summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-15 22:01:13 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-15 22:01:13 +0200
commit78afc4420adba08ac46bb5da55a23b15cb07b3a5 (patch)
treeb5313781ed90f8c74cac21c300b65892a64427a8
parent:bug: fix server bundle (diff)
downloadserver-78afc4420adba08ac46bb5da55a23b15cb07b3a5.tar.xz
delete assets
-rw-r--r--.gitignore2
-rw-r--r--api/assets/0.d1d660cbcbc30384891c.css1101
-rw-r--r--api/assets/042023d8ee73c0c3fd74.js2
-rw-r--r--api/assets/2cbabd9369e777f06572.js2
-rw-r--r--api/assets/2def6ed70cf3dfe8990b.js3
-rw-r--r--api/assets/36bf82052a3121a02046.js3
-rw-r--r--api/assets/49078e599d3842cb6dc8.js2
-rw-r--r--api/assets/4916ca4106799de584bb.js2
-rw-r--r--api/assets/4a5d0d639aefbb9cafca.js2
-rw-r--r--api/assets/51db8e3c2fa79df2bd16.js2
-rw-r--r--api/assets/5eae74fd6acd2647e0b7.js2
-rw-r--r--api/assets/7fbe1e6b1c5663e3a84e.js2
-rw-r--r--api/assets/8c928ce26a3b4d828392.js3
-rw-r--r--api/assets/8da53effd7b0af7e3415.js3
-rw-r--r--api/assets/95efcedbf0bf27cbdbbd.js3
-rw-r--r--api/assets/b94388e26490ecd7f18d.js2
-rw-r--r--api/assets/ba19b6d2d1f3edd4a7eb.js3
-rw-r--r--api/assets/e852c523afaf4768e6bd.js3
-rw-r--r--api/assets/f46fc057b352f07253c7.js2
19 files changed, 2 insertions, 1142 deletions
diff --git a/.gitignore b/.gitignore
index c2636bf1..4f480685 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,5 @@
 db/
 dist/
 node_modules
+api/assets/*.js
+api/assets/*.css
\ No newline at end of file
diff --git a/api/assets/0.d1d660cbcbc30384891c.css b/api/assets/0.d1d660cbcbc30384891c.css
deleted file mode 100644
index 50b70e80..00000000
--- a/api/assets/0.d1d660cbcbc30384891c.css
+++ /dev/null
@@ -1,1101 +0,0 @@
-.ring-13rgEW{position:absolute;display:none;pointer-events:none;background:none;--__adaptive-radius:4px;border-radius:var(--__adaptive-radius);--__adaptive-focus-color:var(--focus-primary);-webkit-box-shadow:0 0 0 4px var(--__adaptive-focus-color);box-shadow:0 0 0 4px var(--__adaptive-focus-color)}.keyboard-mode .ring-13rgEW{display:block;background:none;margin:0;padding:0}
-@-webkit-keyframes spinner-wandering-cubes-1eyF3t{25%{-webkit-transform:translateX(22px) rotate(-90deg) scale(.5);transform:translateX(22px) rotate(-90deg) scale(.5)}50%{-webkit-transform:translateX(22px) translateY(22px) rotate(-180deg);transform:translateX(22px) translateY(22px) rotate(-180deg)}75%{-webkit-transform:translateX(0) translateY(22px) rotate(-270deg) scale(.5);transform:translateX(0) translateY(22px) rotate(-270deg) scale(.5)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}@keyframes spinner-wandering-cubes-1eyF3t{25%{-webkit-transform:translateX(22px) rotate(-90deg) scale(.5);transform:translateX(22px) rotate(-90deg) scale(.5)}50%{-webkit-transform:translateX(22px) translateY(22px) rotate(-180deg);transform:translateX(22px) translateY(22px) rotate(-180deg)}75%{-webkit-transform:translateX(0) translateY(22px) rotate(-270deg) scale(.5);transform:translateX(0) translateY(22px) rotate(-270deg) scale(.5)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}@-webkit-keyframes spinner-chasing-dots-rotate-1WX_VU{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spinner-chasing-dots-rotate-1WX_VU{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes spinner-chasing-dots-bounce-39u8Kf{0%,to{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes spinner-chasing-dots-bounce-39u8Kf{0%,to{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes spinner-pulsing-ellipsis-1qRxRG{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}50%{-webkit-transform:scale(.8);transform:scale(.8);opacity:.3}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes spinner-pulsing-ellipsis-1qRxRG{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}50%{-webkit-transform:scale(.8);transform:scale(.8);opacity:.3}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@-webkit-keyframes spinner-low-motion-kHWo1a{0%{opacity:1}50%{opacity:.6}to{opacity:1}}@keyframes spinner-low-motion-kHWo1a{0%{opacity:1}50%{opacity:.6}to{opacity:1}}@-webkit-keyframes spinner-spinning-circle-rotate-1-ejtM{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spinner-spinning-circle-rotate-1-ejtM{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes spinner-spinning-circle-dash-3G9Wwf{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:130,200}to{stroke-dasharray:130,200;stroke-dashoffset:-124}}@keyframes spinner-spinning-circle-dash-3G9Wwf{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:130,200}to{stroke-dasharray:130,200;stroke-dashoffset:-124}}.spinner-2enMB9{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.inner-1gJC7_{position:relative;display:inline-block;width:32px;height:32px;contain:paint}.wanderingCubesItem-WPXqao{background-color:var(--brand-experiment-400);width:10px;height:10px;position:absolute;top:0;left:0;-webkit-animation:spinner-wandering-cubes-1eyF3t 1.8s ease-in-out infinite;animation:spinner-wandering-cubes-1eyF3t 1.8s ease-in-out infinite}.wanderingCubesItem-WPXqao:last-child{-webkit-animation-delay:-.9s;animation-delay:-.9s}.chasingDots-OdvUfk{-webkit-animation:spinner-chasing-dots-rotate-1WX_VU 2s linear infinite;animation:spinner-chasing-dots-rotate-1WX_VU 2s linear infinite}.chasingDotsItem-2DVNUn{width:60%;height:60%;display:inline-block;position:absolute;top:0;background-color:var(--brand-experiment);border-radius:100%;-webkit-animation:spinner-chasing-dots-bounce-39u8Kf 2s ease-in-out infinite;animation:spinner-chasing-dots-bounce-39u8Kf 2s ease-in-out infinite}.chasingDotsItem-2DVNUn:last-child{top:auto;bottom:0;-webkit-animation-delay:-1s;animation-delay:-1s}.pulsingEllipsis-3YiXRF{height:auto;width:28px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative}.pulsingEllipsisItem-32hhWL{-webkit-animation:spinner-pulsing-ellipsis-1qRxRG 1.4s ease-in-out infinite;animation:spinner-pulsing-ellipsis-1qRxRG 1.4s ease-in-out infinite;width:6px;height:6px;margin-right:2px;background-color:hsl(180,calc(var(--saturation-factor, 1)*7.7%),97.5%);border-radius:3px;display:inline-block;opacity:.3}.pulsingEllipsisItem-32hhWL:nth-of-type(2){-webkit-animation-delay:.2s;animation-delay:.2s}.pulsingEllipsisItem-32hhWL:nth-of-type(3){-webkit-animation-delay:.4s;animation-delay:.4s}.lowMotionItem-1DvHia{-webkit-animation:spinner-low-motion-kHWo1a 1.4s ease-in-out infinite;animation:spinner-low-motion-kHWo1a 1.4s ease-in-out infinite;width:6px;height:6px;margin-right:2px;background-color:var(--interactive-normal);border-radius:3px;display:inline-block;opacity:.3}.lowMotionItem-1DvHia:nth-of-type(2){-webkit-animation-delay:.2s;animation-delay:.2s}.lowMotionItem-1DvHia:nth-of-type(3){-webkit-animation-delay:.4s;animation-delay:.4s}.stopAnimation-1XE1FK .chasingDots-OdvUfk,.stopAnimation-1XE1FK .chasingDotsItem-2DVNUn,.stopAnimation-1XE1FK .circular-2NaZOq,.stopAnimation-1XE1FK .path-92Hmty,.stopAnimation-1XE1FK .pulsingEllipsisItem-32hhWL,.stopAnimation-1XE1FK .wanderingCubesItem-WPXqao,.stop-animation .pulsingEllipsisItem-32hhWL{-webkit-animation:none;animation:none}.spinningCircle-2NAjGW{width:100%}.spinningCircleInner-mbM5zM{-webkit-transform:rotate(280deg);transform:rotate(280deg)}.circular-2NaZOq{-webkit-animation:spinner-spinning-circle-rotate-1-ejtM 2s linear infinite;animation:spinner-spinning-circle-rotate-1-ejtM 2s linear infinite;height:100%;width:100%}.path-92Hmty{-webkit-animation:spinner-spinning-circle-dash-3G9Wwf 2s ease-in-out infinite;animation:spinner-spinning-circle-dash-3G9Wwf 2s ease-in-out infinite;stroke-dasharray:1,200;stroke-dashoffset:0;fill:none;stroke-width:6;stroke-miterlimit:10;stroke-linecap:round}.path2-1q7bG_{-webkit-animation-delay:.15s;animation-delay:.15s}.path3-2l9TIX{-webkit-animation-delay:.23s;animation-delay:.23s}.theme-light .path-92Hmty{stroke:var(--brand-experiment)}.theme-light .path2-1q7bG_{stroke:var(--brand-experiment-300);opacity:.6}.theme-light .path3-2l9TIX{stroke:var(--brand-experiment-100);opacity:.3}.theme-dark .path-92Hmty,.theme-dark .path2-1q7bG_{stroke:var(--brand-experiment)}.theme-dark .path2-1q7bG_{opacity:.6}.theme-dark .path3-2l9TIX{stroke:var(--brand-experiment-800)}
-html.low-saturation .lowSaturationUnderline-3svVxy{text-decoration:underline!important}.desaturate-qhyunI,[data-accessibility*=desaturate]{-webkit-filter:saturate(var(--saturation-factor,1));filter:saturate(var(--saturation-factor,1))}.theme-dark{--brightness:calc(1.5 - var(--saturation-factor, 1)*0.5);--contrast:var(--saturation-factor,1)}.theme-light{--brightness:calc(0.5 + var(--saturation-factor, 1)*0.5);--contrast:var(--saturation-factor,1)}.desaturate-user-colors .desaturateUserColors-1gar-1{-webkit-filter:saturate(var(--saturation-factor,1)) contrast(var(--contrast,1)) brightness(var(--brightness,1));filter:saturate(var(--saturation-factor,1)) contrast(var(--contrast,1)) brightness(var(--brightness,1))}
-.button-38aScr{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;background:none;border:none;border-radius:3px;font-size:14px;font-weight:500;line-height:16px;padding:2px 16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.button-38aScr:disabled{cursor:not-allowed;opacity:.5}.lookFilled-1Gx00P.colorBrand-3pXr91{color:#fff;background-color:var(--brand-experiment)}.lookFilled-1Gx00P.colorBrand-3pXr91:hover{background-color:var(--brand-experiment-560)}.lookFilled-1Gx00P.colorBrand-3pXr91:active{background-color:var(--brand-experiment-600)}.lookFilled-1Gx00P.colorBrand-3pXr91 .spinnerItem-3GlVyU{background-color:#fff}.lookFilled-1Gx00P.colorBrand-3pXr91:disabled{background-color:var(--brand-experiment)}.lookInverted-2D7oAl.colorBrand-3pXr91{color:var(--brand-experiment);background-color:#fff}.lookInverted-2D7oAl.colorBrand-3pXr91:hover{background-color:var(--brand-experiment-100)}.lookInverted-2D7oAl.colorBrand-3pXr91:active{background-color:var(--brand-experiment-200)}.lookInverted-2D7oAl.colorBrand-3pXr91:disabled{background-color:#fff}.lookInverted-2D7oAl.colorBrand-3pXr91 .spinnerItem-3GlVyU{background-color:var(--brand-experiment)}.lookOutlined-3sRXeN.colorBrand-3pXr91{color:var(--brand-experiment);border-color:var(--brand-experiment)}.lookOutlined-3sRXeN.colorBrand-3pXr91:active{background-color:hsla(--brand-experiment,.1)}.lookOutlined-3sRXeN.colorBrand-3pXr91:disabled{background-color:transparent}.lookOutlined-3sRXeN.colorBrand-3pXr91 .spinnerItem-3GlVyU{background-color:var(--brand-experiment)}.lookLink-9FtZy-.colorBrand-3pXr91{color:var(--brand-experiment)}.lookLink-9FtZy-.colorBrand-3pXr91:hover .contents-18-Yxp{background-image:linear-gradient(0deg,transparent,transparent 1px,var(--brand-experiment) 0,var(--brand-experiment) 2px,transparent 0)}.lookLink-9FtZy-.colorBrand-3pXr91:disabled .contents-18-Yxp{background-image:none}.lookLink-9FtZy-.colorBrand-3pXr91 .spinnerItem-3GlVyU{background-color:var(--brand-experiment)}.theme-dark .lookFilled-1Gx00P.hoverBrand-1_Fxlk.hasHover-3X1-zV:hover,.theme-light .lookFilled-1Gx00P.hoverBrand-1_Fxlk.hasHover-3X1-zV:hover{background-color:var(--brand-experiment);color:#fff}.theme-dark .lookFilled-1Gx00P.hoverBrand-1_Fxlk.hasHover-3X1-zV:active,.theme-light .lookFilled-1Gx00P.hoverBrand-1_Fxlk.hasHover-3X1-zV:active{background-color:var(--brand-experiment-560);color:#fff}.theme-dark .lookInverted-2D7oAl.hoverBrand-1_Fxlk.hasHover-3X1-zV:hover,.theme-light .lookInverted-2D7oAl.hoverBrand-1_Fxlk.hasHover-3X1-zV:hover{color:var(--brand-experiment);background-color:var(--brand-experiment-100)}.theme-dark .lookInverted-2D7oAl.hoverBrand-1_Fxlk.hasHover-3X1-zV:active,.theme-light .lookInverted-2D7oAl.hoverBrand-1_Fxlk.hasHover-3X1-zV:active{color:var(--brand-experiment);background-color:var(--brand-experiment-200)}.theme-dark .lookOutlined-3sRXeN.hoverBrand-1_Fxlk.hasHover-3X1-zV:hover,.theme-light .lookOutlined-3sRXeN.hoverBrand-1_Fxlk.hasHover-3X1-zV:hover{color:var(--brand-experiment);border-color:var(--brand-experiment)}.theme-dark .lookOutlined-3sRXeN.hoverBrand-1_Fxlk.hasHover-3X1-zV:active,.theme-light .lookOutlined-3sRXeN.hoverBrand-1_Fxlk.hasHover-3X1-zV:active{color:var(--brand-experiment);background-color:hsla(--brand-experiment,.1);border-color:var(--brand-experiment)}.theme-dark .lookLink-9FtZy-.hoverBrand-1_Fxlk.hasHover-3X1-zV:hover .contents-18-Yxp,.theme-light .lookLink-9FtZy-.hoverBrand-1_Fxlk.hasHover-3X1-zV:hover .contents-18-Yxp{color:var(--brand-experiment);background-image:linear-gradient(0deg,transparent,transparent 1px,var(--brand-experiment) 0,var(--brand-experiment) 2px,transparent 0)}.lookFilled-1Gx00P.colorYellow-2JqYwt{color:#fff;background-color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%)}.lookFilled-1Gx00P.colorYellow-2JqYwt:active,.lookFilled-1Gx00P.colorYellow-2JqYwt:hover{background-color:null}.lookFilled-1Gx00P.colorYellow-2JqYwt .spinnerItem-3GlVyU{background-color:#fff}.lookFilled-1Gx00P.colorYellow-2JqYwt:disabled{background-color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%)}.lookInverted-2D7oAl.colorYellow-2JqYwt{color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%);background-color:#fff}.lookInverted-2D7oAl.colorYellow-2JqYwt:hover{background-color:hsl(38,calc(var(--saturation-factor, 1)*100%),97.8%)}.lookInverted-2D7oAl.colorYellow-2JqYwt:active{background-color:hsl(37,calc(var(--saturation-factor, 1)*95.7%),90.8%)}.lookInverted-2D7oAl.colorYellow-2JqYwt:disabled{background-color:#fff}.lookInverted-2D7oAl.colorYellow-2JqYwt .spinnerItem-3GlVyU{background-color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%)}.lookOutlined-3sRXeN.colorYellow-2JqYwt{color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%);border-color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%)}.lookOutlined-3sRXeN.colorYellow-2JqYwt:active{background-color:hsla(38,calc(var(--saturation-factor, 1)*95.7%),54.1%,.1)}.lookOutlined-3sRXeN.colorYellow-2JqYwt:disabled{background-color:transparent}.lookOutlined-3sRXeN.colorYellow-2JqYwt .spinnerItem-3GlVyU{background-color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%)}.lookLink-9FtZy-.colorYellow-2JqYwt{color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%)}.lookLink-9FtZy-.colorYellow-2JqYwt:hover .contents-18-Yxp{background-image:linear-gradient(0deg,transparent,transparent 1px,hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%) 0,hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%) 2px,transparent 0)}.lookLink-9FtZy-.colorYellow-2JqYwt:disabled .contents-18-Yxp{background-image:none}.lookLink-9FtZy-.colorYellow-2JqYwt .spinnerItem-3GlVyU{background-color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%)}.theme-dark .lookFilled-1Gx00P.hoverYellow-171chs.hasHover-3X1-zV:hover,.theme-light .lookFilled-1Gx00P.hoverYellow-171chs.hasHover-3X1-zV:hover{background-color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%);color:#fff}.theme-dark .lookFilled-1Gx00P.hoverYellow-171chs.hasHover-3X1-zV:active,.theme-light .lookFilled-1Gx00P.hoverYellow-171chs.hasHover-3X1-zV:active{background-color:null;color:#fff}.theme-dark .lookInverted-2D7oAl.hoverYellow-171chs.hasHover-3X1-zV:hover,.theme-light .lookInverted-2D7oAl.hoverYellow-171chs.hasHover-3X1-zV:hover{color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%);background-color:hsl(38,calc(var(--saturation-factor, 1)*100%),97.8%)}.theme-dark .lookInverted-2D7oAl.hoverYellow-171chs.hasHover-3X1-zV:active,.theme-light .lookInverted-2D7oAl.hoverYellow-171chs.hasHover-3X1-zV:active{color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%);background-color:hsl(37,calc(var(--saturation-factor, 1)*95.7%),90.8%)}.theme-dark .lookOutlined-3sRXeN.hoverYellow-171chs.hasHover-3X1-zV:hover,.theme-light .lookOutlined-3sRXeN.hoverYellow-171chs.hasHover-3X1-zV:hover{color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%);border-color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%)}.theme-dark .lookOutlined-3sRXeN.hoverYellow-171chs.hasHover-3X1-zV:active,.theme-light .lookOutlined-3sRXeN.hoverYellow-171chs.hasHover-3X1-zV:active{color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%);background-color:hsla(38,calc(var(--saturation-factor, 1)*95.7%),54.1%,.1);border-color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%)}.theme-dark .lookLink-9FtZy-.hoverYellow-171chs.hasHover-3X1-zV:hover .contents-18-Yxp,.theme-light .lookLink-9FtZy-.hoverYellow-171chs.hasHover-3X1-zV:hover .contents-18-Yxp{color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%);background-image:linear-gradient(0deg,transparent,transparent 1px,hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%) 0,hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%) 2px,transparent 0)}.lookFilled-1Gx00P.colorLink-35jkBc{color:#fff;background-color:var(--text-link)}.lookFilled-1Gx00P.colorLink-35jkBc:active,.lookFilled-1Gx00P.colorLink-35jkBc:hover{background-color:null}.lookFilled-1Gx00P.colorLink-35jkBc .spinnerItem-3GlVyU{background-color:#fff}.lookFilled-1Gx00P.colorLink-35jkBc:disabled{background-color:var(--text-link)}.lookInverted-2D7oAl.colorLink-35jkBc{color:var(--text-link);background-color:#fff}.lookInverted-2D7oAl.colorLink-35jkBc:active,.lookInverted-2D7oAl.colorLink-35jkBc:disabled,.lookInverted-2D7oAl.colorLink-35jkBc:hover{background-color:#fff}.lookInverted-2D7oAl.colorLink-35jkBc .spinnerItem-3GlVyU{background-color:var(--text-link)}.lookOutlined-3sRXeN.colorLink-35jkBc{color:var(--text-link);border-color:var(--text-link)}.lookOutlined-3sRXeN.colorLink-35jkBc:active{background-color:hsla(--text-link,.1)}.lookOutlined-3sRXeN.colorLink-35jkBc:disabled{background-color:transparent}.lookOutlined-3sRXeN.colorLink-35jkBc .spinnerItem-3GlVyU{background-color:var(--text-link)}.lookLink-9FtZy-.colorLink-35jkBc{color:var(--text-link)}.lookLink-9FtZy-.colorLink-35jkBc:hover .contents-18-Yxp{background-image:linear-gradient(0deg,transparent,transparent 1px,var(--text-link) 0,var(--text-link) 2px,transparent 0)}.lookLink-9FtZy-.colorLink-35jkBc:disabled .contents-18-Yxp{background-image:none}.lookLink-9FtZy-.colorLink-35jkBc .spinnerItem-3GlVyU{background-color:var(--text-link)}.theme-dark .lookFilled-1Gx00P.hoverLink-i1fEKS.hasHover-3X1-zV:hover,.theme-light .lookFilled-1Gx00P.hoverLink-i1fEKS.hasHover-3X1-zV:hover{background-color:var(--text-link);color:#fff}.theme-dark .lookFilled-1Gx00P.hoverLink-i1fEKS.hasHover-3X1-zV:active,.theme-light .lookFilled-1Gx00P.hoverLink-i1fEKS.hasHover-3X1-zV:active{background-color:null;color:#fff}.theme-dark .lookInverted-2D7oAl.hoverLink-i1fEKS.hasHover-3X1-zV:active,.theme-dark .lookInverted-2D7oAl.hoverLink-i1fEKS.hasHover-3X1-zV:hover,.theme-light .lookInverted-2D7oAl.hoverLink-i1fEKS.hasHover-3X1-zV:active,.theme-light .lookInverted-2D7oAl.hoverLink-i1fEKS.hasHover-3X1-zV:hover{color:var(--text-link);background-color:#fff}.theme-dark .lookOutlined-3sRXeN.hoverLink-i1fEKS.hasHover-3X1-zV:hover,.theme-light .lookOutlined-3sRXeN.hoverLink-i1fEKS.hasHover-3X1-zV:hover{color:var(--text-link);border-color:var(--text-link)}.theme-dark .lookOutlined-3sRXeN.hoverLink-i1fEKS.hasHover-3X1-zV:active,.theme-light .lookOutlined-3sRXeN.hoverLink-i1fEKS.hasHover-3X1-zV:active{color:var(--text-link);background-color:hsla(--text-link,.1);border-color:var(--text-link)}.theme-dark .lookLink-9FtZy-.hoverLink-i1fEKS.hasHover-3X1-zV:hover .contents-18-Yxp,.theme-light .lookLink-9FtZy-.hoverLink-i1fEKS.hasHover-3X1-zV:hover .contents-18-Yxp{color:var(--text-link);background-image:linear-gradient(0deg,transparent,transparent 1px,var(--text-link) 0,var(--text-link) 2px,transparent 0)}.lookFilled-1Gx00P.colorWhite-rEQuAQ{color:#4f545c;background-color:#fff}.lookFilled-1Gx00P.colorWhite-rEQuAQ:active,.lookFilled-1Gx00P.colorWhite-rEQuAQ:hover{background-color:null}.lookFilled-1Gx00P.colorWhite-rEQuAQ .spinnerItem-3GlVyU{background-color:#4f545c}.lookFilled-1Gx00P.colorWhite-rEQuAQ:disabled{background-color:#fff}.lookInverted-2D7oAl.colorWhite-rEQuAQ{color:#fff;background-color:#4f545c}.lookInverted-2D7oAl.colorWhite-rEQuAQ:active,.lookInverted-2D7oAl.colorWhite-rEQuAQ:hover{background-color:#fff}.lookInverted-2D7oAl.colorWhite-rEQuAQ:disabled{background-color:#4f545c}.lookInverted-2D7oAl.colorWhite-rEQuAQ .spinnerItem-3GlVyU{background-color:#fff}.lookOutlined-3sRXeN.colorWhite-rEQuAQ{color:#fff;border-color:#fff}.lookOutlined-3sRXeN.colorWhite-rEQuAQ:active{background-color:hsla(0,0%,100%,.1)}.lookOutlined-3sRXeN.colorWhite-rEQuAQ:disabled{background-color:transparent}.lookOutlined-3sRXeN.colorWhite-rEQuAQ .spinnerItem-3GlVyU{background-color:#fff}.lookLink-9FtZy-.colorWhite-rEQuAQ{color:#fff}.lookLink-9FtZy-.colorWhite-rEQuAQ:hover .contents-18-Yxp{background-image:linear-gradient(0deg,transparent,transparent 1px,#fff 0,#fff 2px,transparent 0)}.lookLink-9FtZy-.colorWhite-rEQuAQ:disabled .contents-18-Yxp{background-image:none}.lookLink-9FtZy-.colorWhite-rEQuAQ .spinnerItem-3GlVyU{background-color:#fff}.theme-dark .lookFilled-1Gx00P.hoverWhite-2uUmXw.hasHover-3X1-zV:hover,.theme-light .lookFilled-1Gx00P.hoverWhite-2uUmXw.hasHover-3X1-zV:hover{background-color:#fff;color:#4f545c}.theme-dark .lookFilled-1Gx00P.hoverWhite-2uUmXw.hasHover-3X1-zV:active,.theme-light .lookFilled-1Gx00P.hoverWhite-2uUmXw.hasHover-3X1-zV:active{background-color:null;color:#4f545c}.theme-dark .lookInverted-2D7oAl.hoverWhite-2uUmXw.hasHover-3X1-zV:active,.theme-dark .lookInverted-2D7oAl.hoverWhite-2uUmXw.hasHover-3X1-zV:hover,.theme-light .lookInverted-2D7oAl.hoverWhite-2uUmXw.hasHover-3X1-zV:active,.theme-light .lookInverted-2D7oAl.hoverWhite-2uUmXw.hasHover-3X1-zV:hover{color:#fff;background-color:#fff}.theme-dark .lookOutlined-3sRXeN.hoverWhite-2uUmXw.hasHover-3X1-zV:hover,.theme-light .lookOutlined-3sRXeN.hoverWhite-2uUmXw.hasHover-3X1-zV:hover{color:#fff;border-color:#fff}.theme-dark .lookOutlined-3sRXeN.hoverWhite-2uUmXw.hasHover-3X1-zV:active,.theme-light .lookOutlined-3sRXeN.hoverWhite-2uUmXw.hasHover-3X1-zV:active{color:#fff;background-color:hsla(0,0%,100%,.1);border-color:#fff}.theme-dark .lookLink-9FtZy-.hoverWhite-2uUmXw.hasHover-3X1-zV:hover .contents-18-Yxp,.theme-light .lookLink-9FtZy-.hoverWhite-2uUmXw.hasHover-3X1-zV:hover .contents-18-Yxp{color:#fff;background-image:linear-gradient(0deg,transparent,transparent 1px,#fff 0,#fff 2px,transparent 0)}.lookFilled-1Gx00P.colorBrandNew-g5lmBU{color:#fff;background-color:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%)}.lookFilled-1Gx00P.colorBrandNew-g5lmBU:hover{background-color:hsl(235,calc(var(--saturation-factor, 1)*51.4%),52.4%)}.lookFilled-1Gx00P.colorBrandNew-g5lmBU:active{background-color:hsl(235,calc(var(--saturation-factor, 1)*46.7%),44.1%)}.lookFilled-1Gx00P.colorBrandNew-g5lmBU .spinnerItem-3GlVyU{background-color:#fff}.lookFilled-1Gx00P.colorBrandNew-g5lmBU:disabled{background-color:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%)}.lookInverted-2D7oAl.colorBrandNew-g5lmBU{color:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%);background-color:#fff}.lookInverted-2D7oAl.colorBrandNew-g5lmBU:hover{background-color:hsl(240,calc(var(--saturation-factor, 1)*77.8%),98.2%)}.lookInverted-2D7oAl.colorBrandNew-g5lmBU:active{background-color:hsl(236,calc(var(--saturation-factor, 1)*83.3%),92.9%)}.lookInverted-2D7oAl.colorBrandNew-g5lmBU:disabled{background-color:#fff}.lookInverted-2D7oAl.colorBrandNew-g5lmBU .spinnerItem-3GlVyU{background-color:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%)}.lookOutlined-3sRXeN.colorBrandNew-g5lmBU{color:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%);border-color:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%)}.lookOutlined-3sRXeN.colorBrandNew-g5lmBU:active{background-color:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,.1)}.lookOutlined-3sRXeN.colorBrandNew-g5lmBU:disabled{background-color:transparent}.lookOutlined-3sRXeN.colorBrandNew-g5lmBU .spinnerItem-3GlVyU{background-color:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%)}.lookLink-9FtZy-.colorBrandNew-g5lmBU{color:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%)}.lookLink-9FtZy-.colorBrandNew-g5lmBU:hover .contents-18-Yxp{background-image:linear-gradient(0deg,transparent,transparent 1px,hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%) 0,hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%) 2px,transparent 0)}.lookLink-9FtZy-.colorBrandNew-g5lmBU:disabled .contents-18-Yxp{background-image:none}.lookLink-9FtZy-.colorBrandNew-g5lmBU .spinnerItem-3GlVyU{background-color:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%)}.theme-dark .lookFilled-1Gx00P.hoverBrandNew-OURftq.hasHover-3X1-zV:hover,.theme-light .lookFilled-1Gx00P.hoverBrandNew-OURftq.hasHover-3X1-zV:hover{background-color:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%);color:#fff}.theme-dark .lookFilled-1Gx00P.hoverBrandNew-OURftq.hasHover-3X1-zV:active,.theme-light .lookFilled-1Gx00P.hoverBrandNew-OURftq.hasHover-3X1-zV:active{background-color:hsl(235,calc(var(--saturation-factor, 1)*51.4%),52.4%);color:#fff}.theme-dark .lookInverted-2D7oAl.hoverBrandNew-OURftq.hasHover-3X1-zV:hover,.theme-light .lookInverted-2D7oAl.hoverBrandNew-OURftq.hasHover-3X1-zV:hover{color:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%);background-color:hsl(240,calc(var(--saturation-factor, 1)*77.8%),98.2%)}.theme-dark .lookInverted-2D7oAl.hoverBrandNew-OURftq.hasHover-3X1-zV:active,.theme-light .lookInverted-2D7oAl.hoverBrandNew-OURftq.hasHover-3X1-zV:active{color:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%);background-color:hsl(236,calc(var(--saturation-factor, 1)*83.3%),92.9%)}.theme-dark .lookOutlined-3sRXeN.hoverBrandNew-OURftq.hasHover-3X1-zV:hover,.theme-light .lookOutlined-3sRXeN.hoverBrandNew-OURftq.hasHover-3X1-zV:hover{color:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%);border-color:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%)}.theme-dark .lookOutlined-3sRXeN.hoverBrandNew-OURftq.hasHover-3X1-zV:active,.theme-light .lookOutlined-3sRXeN.hoverBrandNew-OURftq.hasHover-3X1-zV:active{color:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%);background-color:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,.1);border-color:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%)}.theme-dark .lookLink-9FtZy-.hoverBrandNew-OURftq.hasHover-3X1-zV:hover .contents-18-Yxp,.theme-light .lookLink-9FtZy-.hoverBrandNew-OURftq.hasHover-3X1-zV:hover .contents-18-Yxp{color:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%);background-image:linear-gradient(0deg,transparent,transparent 1px,hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%) 0,hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%) 2px,transparent 0)}.lookFilled-1Gx00P.colorRed-1TFJan{color:#fff;background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.lookFilled-1Gx00P.colorRed-1TFJan:hover{background-color:hsl(359,calc(var(--saturation-factor, 1)*56.7%),48%)}.lookFilled-1Gx00P.colorRed-1TFJan:active{background-color:hsl(359,calc(var(--saturation-factor, 1)*56.3%),40.4%)}.lookFilled-1Gx00P.colorRed-1TFJan .spinnerItem-3GlVyU{background-color:#fff}.lookFilled-1Gx00P.colorRed-1TFJan:disabled{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.lookInverted-2D7oAl.colorRed-1TFJan{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);background-color:#fff}.lookInverted-2D7oAl.colorRed-1TFJan:hover{background-color:hsl(0,calc(var(--saturation-factor, 1)*80%),98%)}.lookInverted-2D7oAl.colorRed-1TFJan:active{background-color:hsl(358,calc(var(--saturation-factor, 1)*81%),91.8%)}.lookInverted-2D7oAl.colorRed-1TFJan:disabled{background-color:#fff}.lookInverted-2D7oAl.colorRed-1TFJan .spinnerItem-3GlVyU{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.lookOutlined-3sRXeN.colorRed-1TFJan{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);border-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.lookOutlined-3sRXeN.colorRed-1TFJan:active{background-color:hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.1)}.lookOutlined-3sRXeN.colorRed-1TFJan:disabled{background-color:transparent}.lookOutlined-3sRXeN.colorRed-1TFJan .spinnerItem-3GlVyU{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.lookLink-9FtZy-.colorRed-1TFJan{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.lookLink-9FtZy-.colorRed-1TFJan:hover .contents-18-Yxp{background-image:linear-gradient(0deg,transparent,transparent 1px,hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%) 0,hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%) 2px,transparent 0)}.lookLink-9FtZy-.colorRed-1TFJan:disabled .contents-18-Yxp{background-image:none}.lookLink-9FtZy-.colorRed-1TFJan .spinnerItem-3GlVyU{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-dark .lookFilled-1Gx00P.hoverRed-2NoOXI.hasHover-3X1-zV:hover,.theme-light .lookFilled-1Gx00P.hoverRed-2NoOXI.hasHover-3X1-zV:hover{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);color:#fff}.theme-dark .lookFilled-1Gx00P.hoverRed-2NoOXI.hasHover-3X1-zV:active,.theme-light .lookFilled-1Gx00P.hoverRed-2NoOXI.hasHover-3X1-zV:active{background-color:hsl(359,calc(var(--saturation-factor, 1)*56.7%),48%);color:#fff}.theme-dark .lookInverted-2D7oAl.hoverRed-2NoOXI.hasHover-3X1-zV:hover,.theme-light .lookInverted-2D7oAl.hoverRed-2NoOXI.hasHover-3X1-zV:hover{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);background-color:hsl(0,calc(var(--saturation-factor, 1)*80%),98%)}.theme-dark .lookInverted-2D7oAl.hoverRed-2NoOXI.hasHover-3X1-zV:active,.theme-light .lookInverted-2D7oAl.hoverRed-2NoOXI.hasHover-3X1-zV:active{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);background-color:hsl(358,calc(var(--saturation-factor, 1)*81%),91.8%)}.theme-dark .lookOutlined-3sRXeN.hoverRed-2NoOXI.hasHover-3X1-zV:active,.theme-dark .lookOutlined-3sRXeN.hoverRed-2NoOXI.hasHover-3X1-zV:hover,.theme-light .lookOutlined-3sRXeN.hoverRed-2NoOXI.hasHover-3X1-zV:active,.theme-light .lookOutlined-3sRXeN.hoverRed-2NoOXI.hasHover-3X1-zV:hover{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);border-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-dark .lookOutlined-3sRXeN.hoverRed-2NoOXI.hasHover-3X1-zV:active,.theme-light .lookOutlined-3sRXeN.hoverRed-2NoOXI.hasHover-3X1-zV:active{background-color:hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.1)}.theme-dark .lookLink-9FtZy-.hoverRed-2NoOXI.hasHover-3X1-zV:hover .contents-18-Yxp,.theme-light .lookLink-9FtZy-.hoverRed-2NoOXI.hasHover-3X1-zV:hover .contents-18-Yxp{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);background-image:linear-gradient(0deg,transparent,transparent 1px,hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%) 0,hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%) 2px,transparent 0)}.lookFilled-1Gx00P.colorGreen-29iAKY{color:#fff;background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.lookFilled-1Gx00P.colorGreen-29iAKY:hover{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.1%),33.3%)}.lookFilled-1Gx00P.colorGreen-29iAKY:active{background-color:hsl(138,calc(var(--saturation-factor, 1)*47%),25.9%)}.lookFilled-1Gx00P.colorGreen-29iAKY .spinnerItem-3GlVyU{background-color:#fff}.lookFilled-1Gx00P.colorGreen-29iAKY:disabled{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.lookInverted-2D7oAl.colorGreen-29iAKY{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);background-color:#fff}.lookInverted-2D7oAl.colorGreen-29iAKY:hover{background-color:hsl(139,calc(var(--saturation-factor, 1)*83.8%),92.7%)}.lookInverted-2D7oAl.colorGreen-29iAKY:active{background-color:hsl(138,calc(var(--saturation-factor, 1)*86.1%),85.9%)}.lookInverted-2D7oAl.colorGreen-29iAKY:disabled{background-color:#fff}.lookInverted-2D7oAl.colorGreen-29iAKY .spinnerItem-3GlVyU{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.lookOutlined-3sRXeN.colorGreen-29iAKY{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);border-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.lookOutlined-3sRXeN.colorGreen-29iAKY:active{background-color:hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,.1)}.lookOutlined-3sRXeN.colorGreen-29iAKY:disabled{background-color:transparent}.lookOutlined-3sRXeN.colorGreen-29iAKY .spinnerItem-3GlVyU{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.lookLink-9FtZy-.colorGreen-29iAKY{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.lookLink-9FtZy-.colorGreen-29iAKY:hover .contents-18-Yxp{background-image:linear-gradient(0deg,transparent,transparent 1px,hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%) 0,hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%) 2px,transparent 0)}.lookLink-9FtZy-.colorGreen-29iAKY:disabled .contents-18-Yxp{background-image:none}.lookLink-9FtZy-.colorGreen-29iAKY .spinnerItem-3GlVyU{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.theme-dark .lookFilled-1Gx00P.hoverGreen-1gjdJc.hasHover-3X1-zV:hover,.theme-light .lookFilled-1Gx00P.hoverGreen-1gjdJc.hasHover-3X1-zV:hover{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);color:#fff}.theme-dark .lookFilled-1Gx00P.hoverGreen-1gjdJc.hasHover-3X1-zV:active,.theme-light .lookFilled-1Gx00P.hoverGreen-1gjdJc.hasHover-3X1-zV:active{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.1%),33.3%);color:#fff}.theme-dark .lookInverted-2D7oAl.hoverGreen-1gjdJc.hasHover-3X1-zV:hover,.theme-light .lookInverted-2D7oAl.hoverGreen-1gjdJc.hasHover-3X1-zV:hover{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);background-color:hsl(139,calc(var(--saturation-factor, 1)*83.8%),92.7%)}.theme-dark .lookInverted-2D7oAl.hoverGreen-1gjdJc.hasHover-3X1-zV:active,.theme-light .lookInverted-2D7oAl.hoverGreen-1gjdJc.hasHover-3X1-zV:active{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);background-color:hsl(138,calc(var(--saturation-factor, 1)*86.1%),85.9%)}.theme-dark .lookOutlined-3sRXeN.hoverGreen-1gjdJc.hasHover-3X1-zV:active,.theme-dark .lookOutlined-3sRXeN.hoverGreen-1gjdJc.hasHover-3X1-zV:hover,.theme-light .lookOutlined-3sRXeN.hoverGreen-1gjdJc.hasHover-3X1-zV:active,.theme-light .lookOutlined-3sRXeN.hoverGreen-1gjdJc.hasHover-3X1-zV:hover{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);border-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.theme-dark .lookOutlined-3sRXeN.hoverGreen-1gjdJc.hasHover-3X1-zV:active,.theme-light .lookOutlined-3sRXeN.hoverGreen-1gjdJc.hasHover-3X1-zV:active{background-color:hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,.1)}.theme-dark .lookLink-9FtZy-.hoverGreen-1gjdJc.hasHover-3X1-zV:hover .contents-18-Yxp,.theme-light .lookLink-9FtZy-.hoverGreen-1gjdJc.hasHover-3X1-zV:hover .contents-18-Yxp{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);background-image:linear-gradient(0deg,transparent,transparent 1px,hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%) 0,hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%) 2px,transparent 0)}.theme-dark .lookFilled-1Gx00P.colorGrey-2DXtkV{color:#fff;background-color:#4f545c}.theme-dark .lookFilled-1Gx00P.colorGrey-2DXtkV:hover{background-color:#5d6269}.theme-dark .lookFilled-1Gx00P.colorGrey-2DXtkV:active{background-color:#72767d}.theme-dark .lookFilled-1Gx00P.colorGrey-2DXtkV .spinnerItem-3GlVyU{background-color:#fff}.theme-dark .lookFilled-1Gx00P.colorGrey-2DXtkV:disabled{background-color:#4f545c}.theme-dark .lookInverted-2D7oAl.colorGrey-2DXtkV{color:#4f545c;background-color:#fff}.theme-dark .lookInverted-2D7oAl.colorGrey-2DXtkV:hover{background-color:#f6f6f7}.theme-dark .lookInverted-2D7oAl.colorGrey-2DXtkV:active{background-color:#dcddde}.theme-dark .lookInverted-2D7oAl.colorGrey-2DXtkV:disabled{background-color:#fff}.theme-dark .lookInverted-2D7oAl.colorGrey-2DXtkV .spinnerItem-3GlVyU{background-color:#4f545c}.theme-dark .lookOutlined-3sRXeN.colorGrey-2DXtkV{color:#4f545c;border-color:#4f545c}.theme-dark .lookOutlined-3sRXeN.colorGrey-2DXtkV:active{background-color:rgba(79,84,92,.1)}.theme-dark .lookOutlined-3sRXeN.colorGrey-2DXtkV:disabled{background-color:transparent}.theme-dark .lookOutlined-3sRXeN.colorGrey-2DXtkV .spinnerItem-3GlVyU{background-color:#4f545c}.theme-dark .lookLink-9FtZy-.colorGrey-2DXtkV{color:#4f545c}.theme-dark .lookLink-9FtZy-.colorGrey-2DXtkV:hover .contents-18-Yxp{background-image:linear-gradient(0deg,transparent,transparent 1px,#4f545c 0,#4f545c 2px,transparent 0)}.theme-dark .lookLink-9FtZy-.colorGrey-2DXtkV:disabled .contents-18-Yxp{background-image:none}.theme-dark .lookLink-9FtZy-.colorGrey-2DXtkV .spinnerItem-3GlVyU{background-color:#4f545c}.theme-dark .theme-dark .lookFilled-1Gx00P.hoverGrey-2CBXu0.hasHover-3X1-zV:hover,.theme-dark .theme-light .lookFilled-1Gx00P.hoverGrey-2CBXu0.hasHover-3X1-zV:hover{background-color:#4f545c;color:#fff}.theme-dark .theme-dark .lookFilled-1Gx00P.hoverGrey-2CBXu0.hasHover-3X1-zV:active,.theme-dark .theme-light .lookFilled-1Gx00P.hoverGrey-2CBXu0.hasHover-3X1-zV:active{background-color:#5d6269;color:#fff}.theme-dark .theme-dark .lookInverted-2D7oAl.hoverGrey-2CBXu0.hasHover-3X1-zV:hover,.theme-dark .theme-light .lookInverted-2D7oAl.hoverGrey-2CBXu0.hasHover-3X1-zV:hover{color:#4f545c;background-color:#f6f6f7}.theme-dark .theme-dark .lookInverted-2D7oAl.hoverGrey-2CBXu0.hasHover-3X1-zV:active,.theme-dark .theme-light .lookInverted-2D7oAl.hoverGrey-2CBXu0.hasHover-3X1-zV:active{color:#4f545c;background-color:#dcddde}.theme-dark .theme-dark .lookOutlined-3sRXeN.hoverGrey-2CBXu0.hasHover-3X1-zV:hover,.theme-dark .theme-light .lookOutlined-3sRXeN.hoverGrey-2CBXu0.hasHover-3X1-zV:hover{color:#4f545c;border-color:#4f545c}.theme-dark .theme-dark .lookOutlined-3sRXeN.hoverGrey-2CBXu0.hasHover-3X1-zV:active,.theme-dark .theme-light .lookOutlined-3sRXeN.hoverGrey-2CBXu0.hasHover-3X1-zV:active{color:#4f545c;background-color:rgba(79,84,92,.1);border-color:#4f545c}.theme-dark .theme-dark .lookLink-9FtZy-.hoverGrey-2CBXu0.hasHover-3X1-zV:hover .contents-18-Yxp,.theme-dark .theme-light .lookLink-9FtZy-.hoverGrey-2CBXu0.hasHover-3X1-zV:hover .contents-18-Yxp{color:#4f545c;background-image:linear-gradient(0deg,transparent,transparent 1px,#4f545c 0,#4f545c 2px,transparent 0)}.theme-dark .lookFilled-1Gx00P.colorPrimary-3b3xI6{color:#f6f6f7;background-color:#4f545c}.theme-dark .lookFilled-1Gx00P.colorPrimary-3b3xI6:active,.theme-dark .lookFilled-1Gx00P.colorPrimary-3b3xI6:hover{background-color:#72767d}.theme-dark .lookFilled-1Gx00P.colorPrimary-3b3xI6 .spinnerItem-3GlVyU{background-color:#f6f6f7}.theme-dark .lookFilled-1Gx00P.colorPrimary-3b3xI6:disabled{background-color:#4f545c}.theme-dark .lookInverted-2D7oAl.colorPrimary-3b3xI6{color:#4f545c;background-color:#f6f6f7}.theme-dark .lookInverted-2D7oAl.colorPrimary-3b3xI6:hover{background-color:#f6f6f7}.theme-dark .lookInverted-2D7oAl.colorPrimary-3b3xI6:active{background-color:#dcddde}.theme-dark .lookInverted-2D7oAl.colorPrimary-3b3xI6:disabled{background-color:#f6f6f7}.theme-dark .lookInverted-2D7oAl.colorPrimary-3b3xI6 .spinnerItem-3GlVyU{background-color:#4f545c}.theme-dark .lookOutlined-3sRXeN.colorPrimary-3b3xI6{color:#fff;border-color:#fff}.theme-dark .lookOutlined-3sRXeN.colorPrimary-3b3xI6:active{background-color:hsla(0,0%,100%,.1)}.theme-dark .lookOutlined-3sRXeN.colorPrimary-3b3xI6:disabled{background-color:transparent}.theme-dark .lookOutlined-3sRXeN.colorPrimary-3b3xI6 .spinnerItem-3GlVyU{background-color:#fff}.theme-dark .lookLink-9FtZy-.colorPrimary-3b3xI6{color:#fff}.theme-dark .lookLink-9FtZy-.colorPrimary-3b3xI6:hover .contents-18-Yxp{background-image:linear-gradient(0deg,transparent,transparent 1px,#fff 0,#fff 2px,transparent 0)}.theme-dark .lookLink-9FtZy-.colorPrimary-3b3xI6:disabled .contents-18-Yxp{background-image:none}.theme-dark .lookLink-9FtZy-.colorPrimary-3b3xI6 .spinnerItem-3GlVyU{background-color:#fff}.theme-dark .theme-dark .lookFilled-1Gx00P.hoverPrimary-2D1j2r.hasHover-3X1-zV:hover,.theme-dark .theme-light .lookFilled-1Gx00P.hoverPrimary-2D1j2r.hasHover-3X1-zV:hover{background-color:#4f545c;color:#f6f6f7}.theme-dark .theme-dark .lookFilled-1Gx00P.hoverPrimary-2D1j2r.hasHover-3X1-zV:active,.theme-dark .theme-light .lookFilled-1Gx00P.hoverPrimary-2D1j2r.hasHover-3X1-zV:active{background-color:#72767d;color:#f6f6f7}.theme-dark .theme-dark .lookInverted-2D7oAl.hoverPrimary-2D1j2r.hasHover-3X1-zV:hover,.theme-dark .theme-light .lookInverted-2D7oAl.hoverPrimary-2D1j2r.hasHover-3X1-zV:hover{color:#4f545c;background-color:#f6f6f7}.theme-dark .theme-dark .lookInverted-2D7oAl.hoverPrimary-2D1j2r.hasHover-3X1-zV:active,.theme-dark .theme-light .lookInverted-2D7oAl.hoverPrimary-2D1j2r.hasHover-3X1-zV:active{color:#4f545c;background-color:#dcddde}.theme-dark .theme-dark .lookOutlined-3sRXeN.hoverPrimary-2D1j2r.hasHover-3X1-zV:hover,.theme-dark .theme-light .lookOutlined-3sRXeN.hoverPrimary-2D1j2r.hasHover-3X1-zV:hover{color:#fff;border-color:#fff}.theme-dark .theme-dark .lookOutlined-3sRXeN.hoverPrimary-2D1j2r.hasHover-3X1-zV:active,.theme-dark .theme-light .lookOutlined-3sRXeN.hoverPrimary-2D1j2r.hasHover-3X1-zV:active{color:#fff;background-color:hsla(0,0%,100%,.1);border-color:#4f545c}.theme-dark .theme-dark .lookLink-9FtZy-.hoverPrimary-2D1j2r.hasHover-3X1-zV:hover .contents-18-Yxp,.theme-dark .theme-light .lookLink-9FtZy-.hoverPrimary-2D1j2r.hasHover-3X1-zV:hover .contents-18-Yxp{color:#fff;background-image:linear-gradient(0deg,transparent,transparent 1px,#fff 0,#fff 2px,transparent 0)}.theme-dark .lookFilled-1Gx00P.colorTransparent-1ewNp9{color:#f6f6f7;background-color:hsla(0,0%,100%,.1)}.theme-dark .lookFilled-1Gx00P.colorTransparent-1ewNp9:hover{background-color:hsla(0,0%,100%,.05)}.theme-dark .lookFilled-1Gx00P.colorTransparent-1ewNp9:active{background-color:hsla(0,0%,100%,.01)}.theme-dark .lookFilled-1Gx00P.colorTransparent-1ewNp9 .spinnerItem-3GlVyU{background-color:#f6f6f7}.theme-dark .lookFilled-1Gx00P.colorTransparent-1ewNp9:disabled{background-color:hsla(0,0%,100%,.1)}.theme-dark .lookInverted-2D7oAl.colorTransparent-1ewNp9{color:hsla(0,0%,100%,.1);background-color:#f6f6f7}.theme-dark .lookInverted-2D7oAl.colorTransparent-1ewNp9:hover{background-color:hsla(0,0%,100%,.05)}.theme-dark .lookInverted-2D7oAl.colorTransparent-1ewNp9:active{background-color:hsla(0,0%,100%,.1)}.theme-dark .lookInverted-2D7oAl.colorTransparent-1ewNp9:disabled{background-color:#f6f6f7}.theme-dark .lookInverted-2D7oAl.colorTransparent-1ewNp9 .spinnerItem-3GlVyU{background-color:hsla(0,0%,100%,.1)}.theme-dark .lookOutlined-3sRXeN.colorTransparent-1ewNp9{color:#dcddde;border-color:#dcddde}.theme-dark .lookOutlined-3sRXeN.colorTransparent-1ewNp9:active{background-color:rgba(220,221,222,.1)}.theme-dark .lookOutlined-3sRXeN.colorTransparent-1ewNp9:disabled{background-color:transparent}.theme-dark .lookOutlined-3sRXeN.colorTransparent-1ewNp9 .spinnerItem-3GlVyU{background-color:#dcddde}.theme-dark .lookLink-9FtZy-.colorTransparent-1ewNp9{color:#dcddde}.theme-dark .lookLink-9FtZy-.colorTransparent-1ewNp9:hover .contents-18-Yxp{background-image:linear-gradient(0deg,transparent,transparent 1px,#dcddde 0,#dcddde 2px,transparent 0)}.theme-dark .lookLink-9FtZy-.colorTransparent-1ewNp9:disabled .contents-18-Yxp{background-image:none}.theme-dark .lookLink-9FtZy-.colorTransparent-1ewNp9 .spinnerItem-3GlVyU{background-color:#dcddde}.theme-dark .theme-dark .lookFilled-1Gx00P.hoverTransparent-2Lz5CN.hasHover-3X1-zV:hover,.theme-dark .theme-light .lookFilled-1Gx00P.hoverTransparent-2Lz5CN.hasHover-3X1-zV:hover{background-color:hsla(0,0%,100%,.1);color:#f6f6f7}.theme-dark .theme-dark .lookFilled-1Gx00P.hoverTransparent-2Lz5CN.hasHover-3X1-zV:active,.theme-dark .theme-light .lookFilled-1Gx00P.hoverTransparent-2Lz5CN.hasHover-3X1-zV:active{background-color:hsla(0,0%,100%,.05);color:#f6f6f7}.theme-dark .theme-dark .lookInverted-2D7oAl.hoverTransparent-2Lz5CN.hasHover-3X1-zV:hover,.theme-dark .theme-light .lookInverted-2D7oAl.hoverTransparent-2Lz5CN.hasHover-3X1-zV:hover{color:hsla(0,0%,100%,.1);background-color:hsla(0,0%,100%,.05)}.theme-dark .theme-dark .lookInverted-2D7oAl.hoverTransparent-2Lz5CN.hasHover-3X1-zV:active,.theme-dark .theme-light .lookInverted-2D7oAl.hoverTransparent-2Lz5CN.hasHover-3X1-zV:active{color:hsla(0,0%,100%,.1);background-color:hsla(0,0%,100%,.1)}.theme-dark .theme-dark .lookOutlined-3sRXeN.hoverTransparent-2Lz5CN.hasHover-3X1-zV:hover,.theme-dark .theme-light .lookOutlined-3sRXeN.hoverTransparent-2Lz5CN.hasHover-3X1-zV:hover{color:#dcddde;border-color:#dcddde}.theme-dark .theme-dark .lookOutlined-3sRXeN.hoverTransparent-2Lz5CN.hasHover-3X1-zV:active,.theme-dark .theme-light .lookOutlined-3sRXeN.hoverTransparent-2Lz5CN.hasHover-3X1-zV:active{color:#dcddde;background-color:rgba(220,221,222,.1);border-color:hsla(0,0%,100%,.1)}.theme-dark .theme-dark .lookLink-9FtZy-.hoverTransparent-2Lz5CN.hasHover-3X1-zV:hover .contents-18-Yxp,.theme-dark .theme-light .lookLink-9FtZy-.hoverTransparent-2Lz5CN.hasHover-3X1-zV:hover .contents-18-Yxp{color:#dcddde;background-image:linear-gradient(0deg,transparent,transparent 1px,#dcddde 0,#dcddde 2px,transparent 0)}.theme-light .lookFilled-1Gx00P.colorGrey-2DXtkV{color:#fff;background-color:#747f8d}.theme-light .lookFilled-1Gx00P.colorGrey-2DXtkV:hover{background-color:#5e6772}.theme-light .lookFilled-1Gx00P.colorGrey-2DXtkV:active{background-color:#4f5660}.theme-light .lookFilled-1Gx00P.colorGrey-2DXtkV .spinnerItem-3GlVyU{background-color:#fff}.theme-light .lookFilled-1Gx00P.colorGrey-2DXtkV:disabled{background-color:#747f8d}.theme-light .lookInverted-2D7oAl.colorGrey-2DXtkV{color:#747f8d;background-color:#fff}.theme-light .lookInverted-2D7oAl.colorGrey-2DXtkV:hover{background-color:#f8f9f9}.theme-light .lookInverted-2D7oAl.colorGrey-2DXtkV:active{background-color:#e3e5e8}.theme-light .lookInverted-2D7oAl.colorGrey-2DXtkV:disabled{background-color:#fff}.theme-light .lookInverted-2D7oAl.colorGrey-2DXtkV .spinnerItem-3GlVyU{background-color:#747f8d}.theme-light .lookOutlined-3sRXeN.colorGrey-2DXtkV{color:#747f8d;border-color:#747f8d}.theme-light .lookOutlined-3sRXeN.colorGrey-2DXtkV:active{background-color:rgba(116,127,141,.1)}.theme-light .lookOutlined-3sRXeN.colorGrey-2DXtkV:disabled{background-color:transparent}.theme-light .lookOutlined-3sRXeN.colorGrey-2DXtkV .spinnerItem-3GlVyU{background-color:#747f8d}.theme-light .lookLink-9FtZy-.colorGrey-2DXtkV{color:#747f8d}.theme-light .lookLink-9FtZy-.colorGrey-2DXtkV:hover .contents-18-Yxp{background-image:linear-gradient(0deg,transparent,transparent 1px,#747f8d 0,#747f8d 2px,transparent 0)}.theme-light .lookLink-9FtZy-.colorGrey-2DXtkV:disabled .contents-18-Yxp{background-image:none}.theme-light .lookLink-9FtZy-.colorGrey-2DXtkV .spinnerItem-3GlVyU{background-color:#747f8d}.theme-light .theme-dark .lookFilled-1Gx00P.hoverGrey-2CBXu0.hasHover-3X1-zV:hover,.theme-light .theme-light .lookFilled-1Gx00P.hoverGrey-2CBXu0.hasHover-3X1-zV:hover{background-color:#747f8d;color:#fff}.theme-light .theme-dark .lookFilled-1Gx00P.hoverGrey-2CBXu0.hasHover-3X1-zV:active,.theme-light .theme-light .lookFilled-1Gx00P.hoverGrey-2CBXu0.hasHover-3X1-zV:active{background-color:#5e6772;color:#fff}.theme-light .theme-dark .lookInverted-2D7oAl.hoverGrey-2CBXu0.hasHover-3X1-zV:hover,.theme-light .theme-light .lookInverted-2D7oAl.hoverGrey-2CBXu0.hasHover-3X1-zV:hover{color:#747f8d;background-color:#f8f9f9}.theme-light .theme-dark .lookInverted-2D7oAl.hoverGrey-2CBXu0.hasHover-3X1-zV:active,.theme-light .theme-light .lookInverted-2D7oAl.hoverGrey-2CBXu0.hasHover-3X1-zV:active{color:#747f8d;background-color:#e3e5e8}.theme-light .theme-dark .lookOutlined-3sRXeN.hoverGrey-2CBXu0.hasHover-3X1-zV:hover,.theme-light .theme-light .lookOutlined-3sRXeN.hoverGrey-2CBXu0.hasHover-3X1-zV:hover{color:#747f8d;border-color:#747f8d}.theme-light .theme-dark .lookOutlined-3sRXeN.hoverGrey-2CBXu0.hasHover-3X1-zV:active,.theme-light .theme-light .lookOutlined-3sRXeN.hoverGrey-2CBXu0.hasHover-3X1-zV:active{color:#747f8d;background-color:rgba(116,127,141,.1);border-color:#747f8d}.theme-light .theme-dark .lookLink-9FtZy-.hoverGrey-2CBXu0.hasHover-3X1-zV:hover .contents-18-Yxp,.theme-light .theme-light .lookLink-9FtZy-.hoverGrey-2CBXu0.hasHover-3X1-zV:hover .contents-18-Yxp{color:#747f8d;background-image:linear-gradient(0deg,transparent,transparent 1px,#747f8d 0,#747f8d 2px,transparent 0)}.theme-light .lookFilled-1Gx00P.colorPrimary-3b3xI6{color:#fff;background-color:#747f8d}.theme-light .lookFilled-1Gx00P.colorPrimary-3b3xI6:hover{background-color:#9099a4}.theme-light .lookFilled-1Gx00P.colorPrimary-3b3xI6:active{background-color:#e3e5e8}.theme-light .lookFilled-1Gx00P.colorPrimary-3b3xI6 .spinnerItem-3GlVyU{background-color:#fff}.theme-light .lookFilled-1Gx00P.colorPrimary-3b3xI6:disabled{background-color:#747f8d}.theme-light .lookInverted-2D7oAl.colorPrimary-3b3xI6{color:#747f8d;background-color:#fff}.theme-light .lookInverted-2D7oAl.colorPrimary-3b3xI6:hover{background-color:#4f5660}.theme-light .lookInverted-2D7oAl.colorPrimary-3b3xI6:active{background-color:#2e3338}.theme-light .lookInverted-2D7oAl.colorPrimary-3b3xI6:disabled{background-color:#fff}.theme-light .lookInverted-2D7oAl.colorPrimary-3b3xI6 .spinnerItem-3GlVyU{background-color:#747f8d}.theme-light .lookOutlined-3sRXeN.colorPrimary-3b3xI6{color:#747f8d;border-color:#747f8d}.theme-light .lookOutlined-3sRXeN.colorPrimary-3b3xI6:active{background-color:rgba(116,127,141,.1)}.theme-light .lookOutlined-3sRXeN.colorPrimary-3b3xI6:disabled{background-color:transparent}.theme-light .lookOutlined-3sRXeN.colorPrimary-3b3xI6 .spinnerItem-3GlVyU{background-color:#747f8d}.theme-light .lookLink-9FtZy-.colorPrimary-3b3xI6{color:#747f8d}.theme-light .lookLink-9FtZy-.colorPrimary-3b3xI6:hover .contents-18-Yxp{background-image:linear-gradient(0deg,transparent,transparent 1px,#747f8d 0,#747f8d 2px,transparent 0)}.theme-light .lookLink-9FtZy-.colorPrimary-3b3xI6:disabled .contents-18-Yxp{background-image:none}.theme-light .lookLink-9FtZy-.colorPrimary-3b3xI6 .spinnerItem-3GlVyU{background-color:#747f8d}.theme-light .theme-dark .lookFilled-1Gx00P.hoverPrimary-2D1j2r.hasHover-3X1-zV:hover,.theme-light .theme-light .lookFilled-1Gx00P.hoverPrimary-2D1j2r.hasHover-3X1-zV:hover{background-color:#747f8d;color:#fff}.theme-light .theme-dark .lookFilled-1Gx00P.hoverPrimary-2D1j2r.hasHover-3X1-zV:active,.theme-light .theme-light .lookFilled-1Gx00P.hoverPrimary-2D1j2r.hasHover-3X1-zV:active{background-color:#9099a4;color:#fff}.theme-light .theme-dark .lookInverted-2D7oAl.hoverPrimary-2D1j2r.hasHover-3X1-zV:hover,.theme-light .theme-light .lookInverted-2D7oAl.hoverPrimary-2D1j2r.hasHover-3X1-zV:hover{color:#747f8d;background-color:#4f5660}.theme-light .theme-dark .lookInverted-2D7oAl.hoverPrimary-2D1j2r.hasHover-3X1-zV:active,.theme-light .theme-light .lookInverted-2D7oAl.hoverPrimary-2D1j2r.hasHover-3X1-zV:active{color:#747f8d;background-color:#2e3338}.theme-light .theme-dark .lookOutlined-3sRXeN.hoverPrimary-2D1j2r.hasHover-3X1-zV:hover,.theme-light .theme-light .lookOutlined-3sRXeN.hoverPrimary-2D1j2r.hasHover-3X1-zV:hover{color:#747f8d;border-color:#747f8d}.theme-light .theme-dark .lookOutlined-3sRXeN.hoverPrimary-2D1j2r.hasHover-3X1-zV:active,.theme-light .theme-light .lookOutlined-3sRXeN.hoverPrimary-2D1j2r.hasHover-3X1-zV:active{color:#747f8d;background-color:rgba(116,127,141,.1);border-color:#747f8d}.theme-light .theme-dark .lookLink-9FtZy-.hoverPrimary-2D1j2r.hasHover-3X1-zV:hover .contents-18-Yxp,.theme-light .theme-light .lookLink-9FtZy-.hoverPrimary-2D1j2r.hasHover-3X1-zV:hover .contents-18-Yxp{color:#747f8d;background-image:linear-gradient(0deg,transparent,transparent 1px,#747f8d 0,#747f8d 2px,transparent 0)}.theme-light .lookFilled-1Gx00P.colorTransparent-1ewNp9{color:#747f8d;background-color:rgba(116,127,141,.01)}.theme-light .lookFilled-1Gx00P.colorTransparent-1ewNp9:hover{background-color:rgba(116,127,141,.2)}.theme-light .lookFilled-1Gx00P.colorTransparent-1ewNp9:active{background-color:rgba(116,127,141,.25)}.theme-light .lookFilled-1Gx00P.colorTransparent-1ewNp9 .spinnerItem-3GlVyU{background-color:#747f8d}.theme-light .lookFilled-1Gx00P.colorTransparent-1ewNp9:disabled{background-color:rgba(116,127,141,.01)}.theme-light .lookInverted-2D7oAl.colorTransparent-1ewNp9{color:rgba(116,127,141,.01);background-color:#747f8d}.theme-light .lookInverted-2D7oAl.colorTransparent-1ewNp9:hover{background-color:rgba(116,127,141,.2)}.theme-light .lookInverted-2D7oAl.colorTransparent-1ewNp9:active{background-color:rgba(116,127,141,.25)}.theme-light .lookInverted-2D7oAl.colorTransparent-1ewNp9:disabled{background-color:#747f8d}.theme-light .lookInverted-2D7oAl.colorTransparent-1ewNp9 .spinnerItem-3GlVyU{background-color:rgba(116,127,141,.01)}.theme-light .lookOutlined-3sRXeN.colorTransparent-1ewNp9{color:#747f8d;border-color:#747f8d}.theme-light .lookOutlined-3sRXeN.colorTransparent-1ewNp9:active{background-color:rgba(116,127,141,.1)}.theme-light .lookOutlined-3sRXeN.colorTransparent-1ewNp9:disabled{background-color:transparent}.theme-light .lookOutlined-3sRXeN.colorTransparent-1ewNp9 .spinnerItem-3GlVyU{background-color:#747f8d}.theme-light .lookLink-9FtZy-.colorTransparent-1ewNp9{color:#747f8d}.theme-light .lookLink-9FtZy-.colorTransparent-1ewNp9:hover .contents-18-Yxp{background-image:linear-gradient(0deg,transparent,transparent 1px,#747f8d 0,#747f8d 2px,transparent 0)}.theme-light .lookLink-9FtZy-.colorTransparent-1ewNp9:disabled .contents-18-Yxp{background-image:none}.theme-light .lookLink-9FtZy-.colorTransparent-1ewNp9 .spinnerItem-3GlVyU{background-color:#747f8d}.theme-light .theme-dark .lookFilled-1Gx00P.hoverTransparent-2Lz5CN.hasHover-3X1-zV:hover,.theme-light .theme-light .lookFilled-1Gx00P.hoverTransparent-2Lz5CN.hasHover-3X1-zV:hover{background-color:rgba(116,127,141,.01);color:#747f8d}.theme-light .theme-dark .lookFilled-1Gx00P.hoverTransparent-2Lz5CN.hasHover-3X1-zV:active,.theme-light .theme-light .lookFilled-1Gx00P.hoverTransparent-2Lz5CN.hasHover-3X1-zV:active{background-color:rgba(116,127,141,.2);color:#747f8d}.theme-light .theme-dark .lookInverted-2D7oAl.hoverTransparent-2Lz5CN.hasHover-3X1-zV:hover,.theme-light .theme-light .lookInverted-2D7oAl.hoverTransparent-2Lz5CN.hasHover-3X1-zV:hover{color:rgba(116,127,141,.01);background-color:rgba(116,127,141,.2)}.theme-light .theme-dark .lookInverted-2D7oAl.hoverTransparent-2Lz5CN.hasHover-3X1-zV:active,.theme-light .theme-light .lookInverted-2D7oAl.hoverTransparent-2Lz5CN.hasHover-3X1-zV:active{color:rgba(116,127,141,.01);background-color:rgba(116,127,141,.25)}.theme-light .theme-dark .lookOutlined-3sRXeN.hoverTransparent-2Lz5CN.hasHover-3X1-zV:hover,.theme-light .theme-light .lookOutlined-3sRXeN.hoverTransparent-2Lz5CN.hasHover-3X1-zV:hover{color:#747f8d;border-color:#747f8d}.theme-light .theme-dark .lookOutlined-3sRXeN.hoverTransparent-2Lz5CN.hasHover-3X1-zV:active,.theme-light .theme-light .lookOutlined-3sRXeN.hoverTransparent-2Lz5CN.hasHover-3X1-zV:active{color:#747f8d;background-color:rgba(116,127,141,.1);border-color:rgba(116,127,141,.01)}.theme-light .theme-dark .lookLink-9FtZy-.hoverTransparent-2Lz5CN.hasHover-3X1-zV:hover .contents-18-Yxp,.theme-light .theme-light .lookLink-9FtZy-.hoverTransparent-2Lz5CN.hasHover-3X1-zV:hover .contents-18-Yxp{color:#747f8d;background-image:linear-gradient(0deg,transparent,transparent 1px,#747f8d 0,#747f8d 2px,transparent 0)}.lookFilled-1Gx00P,.lookInverted-2D7oAl{-webkit-transition:background-color .17s ease,color .17s ease;transition:background-color .17s ease,color .17s ease}.lookOutlined-3sRXeN{-webkit-transition:color .17s ease,background-color .17s ease,border-color .17s ease;transition:color .17s ease,background-color .17s ease,border-color .17s ease;border-width:1px;border-style:solid}.lookBlank-3eh9lL{background:transparent;color:currentColor;border:0;padding:0;margin:0}.sizeTiny-EgeIrh{width:52px;height:24px;min-width:52px;min-height:24px}.sizeSmall-2cSMqn{width:60px;height:32px;min-width:60px;min-height:32px}.sizeMedium-1AC_Sl{width:96px;height:38px;min-width:96px;min-height:38px}.sizeLarge-1vSeWK{width:130px;height:44px;min-width:130px;min-height:44px}.sizeXlarge-2yFAlZ{width:148px;height:50px;min-width:148px;min-height:50px;font-size:16px;line-height:normal;padding:2px 20px}.sizeMin-1mJd1x{display:inline;width:auto;height:auto;padding:2px 4px}.sizeMax-1Mj0eU{width:100%;height:100%;min-width:100%;min-height:100%;font-size:16px}.sizeIcon-1-kvKI{height:auto;padding:4px}.grow-q77ONN,.sizeIcon-1-kvKI{width:auto}.fullWidth-1orjjo{width:100%}.submitting-3qlO9O{pointer-events:none}.lookFilled-1Gx00P .contents-18-Yxp,.lookInverted-2D7oAl .contents-18-Yxp,.lookLink-9FtZy- .contents-18-Yxp,.lookOutlined-3sRXeN .contents-18-Yxp{margin:0 auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.lookLink-9FtZy-{}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.lookFilled-1Gx00P .contents-18-Yxp,.lookInverted-2D7oAl .contents-18-Yxp,.lookLink-9FtZy- .contents-18-Yxp,.lookOutlined-3sRXeN .contents-18-Yxp{margin:0}}.submitting-3qlO9O .contents-18-Yxp{visibility:hidden}.spinner-3a9zLT{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;margin:0}.disabledButtonWrapper-3wH6-b{display:inline-block;position:relative}.disabledButtonOverlay-2DA5FI{cursor:not-allowed;position:absolute;top:0;right:0;bottom:0;left:0;z-index:9}
-.flex-1O1GKY{display:-webkit-box;display:-ms-flexbox;display:flex}.alignStart-H-X2h-{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.alignEnd-1D6PQi{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.alignCenter-1dQNNs{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.alignStretch-DpGPf3{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.alignBaseline-LAQbso{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}.justifyStart-2NDFzi{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.justifyEnd-2E6vba{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.justifyCenter-3D2jYp{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.justifyAround-1n1pnI{-ms-flex-pack:distribute;justify-content:space-around}.justifyBetween-2tTqYu{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.noWrap-3jynv6{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.wrap-ZIn9Iy{-ms-flex-wrap:wrap;flex-wrap:wrap}.wrapReverse-3ssEE3{-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.directionRow-3v3tfG{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.directionRowReverse-m8IjIq{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.directionColumn-35P_nr{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.spacer-1fA9zc{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden}.vertical-V37hAW{}.horizontal-2EEEnY{}.horizontalReverse-3tRjY7{}.horizontal-2EEEnY>.spacer-1fA9zc,.horizontalReverse-3tRjY7>.spacer-1fA9zc,.vertical-V37hAW>.spacer-1fA9zc{min-height:1px}.flexCenter-3_1bcw{}
-.flex-1xMQg5{}.horizontal-1ae9ci{}.horizontalReverse-2eTKWD{}.horizontal-1ae9ci>.flex-1xMQg5,.horizontal-1ae9ci>.flexChild-faoVW3{margin-left:10px;margin-right:10px}.horizontal-1ae9ci>.flex-1xMQg5:first-child,.horizontal-1ae9ci>.flexChild-faoVW3:first-child{margin-left:0}.horizontal-1ae9ci>.flex-1xMQg5:last-child,.horizontal-1ae9ci>.flexChild-faoVW3:last-child{margin-right:0}.horizontalReverse-2eTKWD>.flex-1xMQg5,.horizontalReverse-2eTKWD>.flexChild-faoVW3{margin-left:10px;margin-right:10px}.horizontalReverse-2eTKWD>.flex-1xMQg5:first-child,.horizontalReverse-2eTKWD>.flexChild-faoVW3:first-child{margin-right:0}.horizontalReverse-2eTKWD>.flex-1xMQg5:last-child,.horizontalReverse-2eTKWD>.flexChild-faoVW3:last-child{margin-left:0}.horizontal-1ae9ci>.flexMarginReset-26Y2-5{margin:0}
-.selectable-2GY4I1{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.strong-1TazCs{font-weight:600}.colorStandard-2KCXvj{color:var(--text-normal)}.colorLink-2vG20E{color:var(--text-link)}.colorMuted-HdFt4q{color:var(--text-muted)}.colorError-3RX-d6{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.colorBrand-2tjs5J{color:var(--brand-experiment-500)}.colorHeaderPrimary-26Jzh-{color:var(--header-primary)}.colorHeaderSecondary-3Sp3Ft{color:var(--header-secondary)}.colorStatusYellow-3sKKh2{color:var(--text-warning)}.colorStatusGreen-2saF4_{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.colorStatusRed-1YV2rj{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.colorInteractiveActive-3Ip9Eu{color:var(--interactive-active)}.colorInteractiveNormal-PB7JN3{color:var(--interactive-normal)}
-.size10-tblYdA{font-size:10px;line-height:12px}.size12-3cLvbJ{font-size:12px;line-height:16px}.size14-e6ZScH{font-size:14px;line-height:18px}.size16-1P40sf{font-size:16px;line-height:20px}.size20-17Iy80{font-size:20px;line-height:24px}.size24-RIRrxO{font-size:24px;line-height:30px}.size32-o_H79z{font-size:32px;line-height:40px}
-.title-3sZWYQ{-webkit-box-flex:1;-ms-flex:1;flex:1;cursor:default;font-family:var(--font-display)}.h1-1qdNzo{font-size:20px;line-height:24px}.h1-1qdNzo,.h2-2gWE-o{font-weight:600}.h2-2gWE-o{font-size:16px;line-height:20px;text-transform:uppercase}.h3-3PDeKG{line-height:24px;font-weight:500}.h3-3PDeKG,.h4-AQvcAz{font-size:16px}.h4-AQvcAz{line-height:20px;letter-spacing:.3px}.h4-AQvcAz,.h5-18_1nd{font-weight:600;text-transform:uppercase}.h5-18_1nd{font-size:12px;line-height:16px}.defaultMarginh4-2vWMG5{margin-top:0;margin-bottom:0}.defaultMarginh1-peT3GC,.defaultMarginh2-2LTaUL{margin-bottom:20px}.defaultMarginh3-2iptLs,.defaultMarginh5-2mL-bP{margin-bottom:8px}.disabled-2Dh7SK{opacity:.3;cursor:not-allowed}.required-7sPBq3{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);padding-left:4px}.errorMessage-3Guw2R{font-size:12px;font-weight:500;font-style:italic;text-transform:none}.errorSeparator-30Q6aR{padding-left:4px;padding-right:4px}.defaultColor-1_ajX0{color:var(--header-primary)}.h5-18_1nd{color:var(--channels-default)}.faded-3bns_w{opacity:.8}.error-25JxNp{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.scrollerBase-289Jih{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;min-height:0;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.thin-1ybCId{scrollbar-width:thin}.thin-1ybCId,.thin-1ybCId.fade-2kXiP2:hover,.thin-1ybCId.scrolling-1Cdwk-{scrollbar-color:var(--scrollbar-thin-thumb) var(--scrollbar-thin-track)}.thin-1ybCId::-webkit-scrollbar{width:8px;height:8px}.thin-1ybCId::-webkit-scrollbar-track{border-color:var(--scrollbar-thin-track);background-color:var(--scrollbar-thin-track);border:2px solid var(--scrollbar-thin-track)}.thin-1ybCId::-webkit-scrollbar-thumb{background-clip:padding-box;border:2px solid transparent;border-radius:4px;background-color:var(--scrollbar-thin-thumb);min-height:40px}.thin-1ybCId::-webkit-scrollbar-corner{background-color:transparent}.auto-Ge5KZx{scrollbar-width:auto}.auto-Ge5KZx,.auto-Ge5KZx.fade-2kXiP2:hover,.auto-Ge5KZx.scrolling-1Cdwk-{scrollbar-color:var(--scrollbar-auto-scrollbar-color-thumb) var(--scrollbar-auto-scrollbar-color-track)}.auto-Ge5KZx::-webkit-scrollbar{width:16px;height:16px}.auto-Ge5KZx::-webkit-scrollbar-track{background-color:var(--scrollbar-auto-track)}.auto-Ge5KZx::-webkit-scrollbar-thumb,.auto-Ge5KZx::-webkit-scrollbar-track{border:4px solid transparent;background-clip:padding-box;border-radius:8px}.auto-Ge5KZx::-webkit-scrollbar-thumb{background-color:var(--scrollbar-auto-thumb);min-height:40px}.auto-Ge5KZx::-webkit-scrollbar-corner{background-color:transparent}.none-2Eo-qx{scrollbar-width:none}.none-2Eo-qx::-webkit-scrollbar{width:0;height:0}.fade-2kXiP2{scrollbar-color:transparent transparent}.fade-2kXiP2::-webkit-scrollbar-thumb,.fade-2kXiP2::-webkit-scrollbar-track{visibility:hidden}.fade-2kXiP2:hover::-webkit-scrollbar-thumb,.fade-2kXiP2:hover::-webkit-scrollbar-track{visibility:visible}.content-3YMskv{position:relative}.scrolling-1Cdwk- .content-3YMskv{pointer-events:none}.scrolling-1Cdwk-.fade-2kXiP2::-webkit-scrollbar-thumb,.scrolling-1Cdwk-.fade-2kXiP2::-webkit-scrollbar-track{visibility:visible}.disableScrollAnchor-3V9UtP{overflow-anchor:none}
-.backdrop-1wrmKB{position:fixed;top:0;right:0;bottom:0;left:0;-webkit-transform:translateZ(0);transform:translateZ(0)}.backdrop-1wrmKB.withLayer-RoELSG{pointer-events:all}
-.layerContainer-yqaFcK{position:absolute;top:0;left:0;right:0;bottom:0;background:none!important;pointer-events:none;z-index:1002}.layer-v9HyYc{position:absolute;pointer-events:auto}.layerHidden-293Ou1{visibility:hidden}.disabledPointerEvents-1ptgTB{pointer-events:none}
-.backdrop-29yll0{background-color:#000}.backdrop-29yll0,.layer-2KE1M9{position:absolute;top:0;bottom:0;left:0;right:0}.layer-2KE1M9{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:0;padding-top:40px;padding-bottom:40px}
-.scrollbar-3dvm_9::-webkit-scrollbar-corner{border:none;background:none}.scrollbarDefault-3COgCQ{}.scrollbarDefault-3COgCQ::-webkit-scrollbar{width:14px;height:14px}.scrollbarDefault-3COgCQ::-webkit-scrollbar-thumb,.scrollbarDefault-3COgCQ::-webkit-scrollbar-track{border-radius:7px;background-clip:padding-box;border:3px solid transparent}.scrollbarDefault-3COgCQ::-webkit-scrollbar-thumb{background-color:var(--scrollbar-auto-thumb)}.scrollbarDefault-3COgCQ::-webkit-scrollbar-track{background-color:var(--scrollbar-auto-track);border-width:initial}.scrollbarGhost-2F9Zj2{}.scrollbarGhost-2F9Zj2::-webkit-scrollbar{width:14px;height:14px}.scrollbarGhost-2F9Zj2::-webkit-scrollbar-thumb,.scrollbarGhost-2F9Zj2::-webkit-scrollbar-track{border-width:3px;border-radius:7px;background-clip:padding-box;border-style:solid}.scrollbarGhost-2F9Zj2::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4);border-color:transparent}.scrollbarGhost-2F9Zj2::-webkit-scrollbar-track{border-width:initial;border-color:transparent;background-color:rgba(0,0,0,.1)}.scrollbarGhostHairline-1mSOM1{}.scrollbarGhostHairline-1mSOM1::-webkit-scrollbar{width:4px;height:4px}.scrollbarGhostHairline-1mSOM1::-webkit-scrollbar-thumb{background-color:rgba(24,25,28,.6);border-radius:2px;cursor:move}.scrollbarGhostHairline-1mSOM1::-webkit-scrollbar-track{background-color:transparent;border:none}
-.wrapper-3Q5DdO{position:absolute;top:0;left:0;width:100%;height:100%;overflow-y:auto;overflow-x:hidden;z-index:1}.rightSplit-2US0xy{position:fixed;bottom:0;right:0;width:auto;-webkit-transition:opacity .4s ease;transition:opacity .4s ease;opacity:1;pointer-events:none}.embedded-19g94k{position:absolute}.leftSplit-1qOwnR{position:relative;width:100vw;min-height:100vh;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.nonEmbeddedLeftSplit-3z6mge{max-width:1480px}.mobileWave-1vJwyR{position:fixed;left:0;top:0;width:100vh;height:100vh;background:url(/assets/f0c3d9e5c14fde34b3832e9279d156f0.png) 0 0/cover no-repeat fixed;z-index:-1;pointer-events:none}.logo-2niOmb{position:relative;margin:24px auto 0}@media (min-width:830px){.logo-2niOmb{position:fixed;top:24px;left:24px;margin:0}}
-.focusLock-Ns3yie{min-height:0;max-width:100%}.focusLock-Ns3yie,.root-1gCeng{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.root-1gCeng{background-color:#fff;border-radius:5px;margin:0 auto;pointer-events:all;position:relative;max-height:100%}.small-3iVZYw{width:440px;max-height:660px;min-height:200px}.medium-2RE1hE{width:600px;max-height:800px}.large-3lXhLH,.medium-2RE1hE{min-height:400px}.large-3lXhLH{min-width:800px;max-width:960px}@media (max-width:485px){.root-1gCeng{min-width:auto;width:100%}.fullscreenOnMobile-1bD22y{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:0;max-height:none;overflow-y:auto;width:100%}.fullscreenOnMobile-1bD22y .footer-2gL1pp,.fullscreenOnMobile-1bD22y .header-1TKi98{border-radius:0}}.theme-dark .root-1gCeng{background-color:#36393f;-webkit-box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2)}.theme-light .root-1gCeng{background:#fff;-webkit-box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1);box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1)}.footer-2gL1pp,.header-1TKi98{position:relative;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:16px;z-index:1;overflow-x:hidden}.header-1TKi98{border-radius:5px 5px 0 0;-webkit-transition:-webkit-box-shadow .1s ease-out;transition:-webkit-box-shadow .1s ease-out;transition:box-shadow .1s ease-out;transition:box-shadow .1s ease-out,-webkit-box-shadow .1s ease-out;word-wrap:break-word}.footer-2gL1pp{border-radius:0 0 5px 5px}.theme-dark .separator-2-RRj_{-webkit-box-shadow:0 1px 0 0 rgba(24,25,28,.3),0 1px 2px 0 rgba(24,25,28,.3);box-shadow:0 1px 0 0 rgba(24,25,28,.3),0 1px 2px 0 rgba(24,25,28,.3)}.theme-dark .footer-2gL1pp{background-color:#2f3136;-webkit-box-shadow:inset 0 1px 0 rgba(47,49,54,.6);box-shadow:inset 0 1px 0 rgba(47,49,54,.6)}.theme-light .separator-2-RRj_{-webkit-box-shadow:0 1px 0 0 rgba(185,187,190,.3);box-shadow:0 1px 0 0 rgba(185,187,190,.3)}.theme-light .footer-2gL1pp{background-color:#f6f6f7;-webkit-box-shadow:inset 0 1px 0 rgba(246,246,247,.6);box-shadow:inset 0 1px 0 rgba(246,246,247,.6)}.content-1LAB8Z{position:relative;z-index:0;border-radius:5px 5px 0 0;padding-left:16px;padding-right:16px;overflow-x:hidden}.close-hZ94c6{height:26px;padding:4px;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;opacity:.5;cursor:pointer;border-radius:3px;color:var(--interactive-normal);-webkit-box-sizing:content-box;box-sizing:content-box}.close-hZ94c6:hover{opacity:1;color:var(--interactive-hover)}@media (max-width:485px){.hideOnFullscreen-9ibOM4{display:none}}
-.marginReset-236NPn{margin-top:0;margin-bottom:0}.marginTop4-2BNfKC{margin-top:4px}.marginBottom4-2qk4Hy{margin-bottom:4px}.marginTop8-1DLZ1n{margin-top:8px}.marginBottom8-AtZOdT{margin-bottom:8px}.marginTop20-3TxNs6{margin-top:20px}.marginBottom20-32qID7{margin-bottom:20px}.marginTop40-i-78cZ{margin-top:40px}.marginBottom40-2vIwTv{margin-bottom:40px}.marginTop60-3PGbtK{margin-top:60px}.marginBottom60-Gs8NBA{margin-bottom:60px}.marginCenterHorz-1s41rg{margin-left:auto;margin-right:auto}.marginLeft8-6V8lOs{margin-left:8px}
-.container-14fypd{word-wrap:break-word}.form-26zE04{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.modalContent-1T1Tix{padding-top:20px;padding-bottom:20px}.content-dfabe7{height:100%}.title-18-Ds0{text-align:center}.minorContainer-Oi4S_y{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-top:8px;margin-bottom:-10px;width:100%;cursor:pointer}.minorAction-OVxOke{text-align:center;opacity:.6}.minorAction-OVxOke:hover{text-decoration:underline}.body-Mj9Oxz{text-align:center}.primaryButton-2BsGPp,.secondaryButton-BIo-2g{-webkit-box-flex:1;-ms-flex:1 1 45%;flex:1 1 45%}.gutter-15v0rO{margin-left:10px}
-.wrapper-1sSZUt{margin:0}.base-1x0h_U{font-family:var(--font-display);font-weight:600;color:var(--header-primary)}.selectable-3oBWf0{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.base-1x0h_U.muted-3-7c5L{color:var(--header-secondary)}.uppercase-3VWUQ9{text-transform:uppercase}
-.fullArt-2zAZvG{margin:38px 64px 20px;background:url(/assets/5cead3f236ff233c59ebbf9caeda1b84.svg);width:272px;height:93px;background-position:50%;background-repeat:no-repeat}.header-1X3-pa{text-transform:uppercase}
-.flowerStarContainer-3zDVtj{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative}.flowerStar-1GeTsn{width:100%;height:100%}.childContainer-1wxZNh{position:absolute;top:-.05px;left:.05px;right:0;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;pointer-events:none}
-.tooltip-2QfLtc{position:relative;border-radius:5px;font-weight:500;font-size:14px;line-height:16px;max-width:190px;-webkit-box-sizing:border-box;box-sizing:border-box;word-wrap:break-word;z-index:1002;will-change:opacity,transform}.tooltipDisablePointerEvents-3eaBGN,.tooltipPointer-3ZfirK{pointer-events:none}.tooltipPointer-3ZfirK{width:0;height:0;border:5px solid transparent}.tooltipContent-bqVLWK{padding:8px 12px;overflow:hidden}.tooltipContentAllowOverflow-fFbpe9{overflow:visible}.tooltipTop-XDDSxx{-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tooltipTop-XDDSxx .tooltipPointer-3ZfirK{position:absolute;top:100%;left:50%;margin-left:-5px}.tooltipBottom-3ARrEK,.tooltipCenter-2golRA{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tooltipBottom-3ARrEK .tooltipPointer-3ZfirK,.tooltipCenter-2golRA .tooltipPointer-3ZfirK{position:absolute;bottom:100%;left:50%;margin-left:-5px;border-top-width:5px;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tooltipLeft-3EDOk1{-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tooltipLeft-3EDOk1 .tooltipPointer-3ZfirK{position:absolute;left:100%;top:50%;margin-top:-5px;border-right-width:5px;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tooltipRight-2JM5PQ{-webkit-transform-origin:0 50%;transform-origin:0 50%}.tooltipRight-2JM5PQ .tooltipPointer-3ZfirK{position:absolute;right:100%;top:50%;margin-top:-5px;border-left-width:5px;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.theme-dark .tooltip-2QfLtc,.theme-light .tooltip-2QfLtc{-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high);color:var(--text-normal)}.theme-dark .tooltipPrimary-1d1ph4,.theme-light .tooltipPrimary-1d1ph4{background-color:var(--background-floating)}.theme-dark .tooltipPrimary-1d1ph4 .tooltipPointer-3ZfirK,.theme-light .tooltipPrimary-1d1ph4 .tooltipPointer-3ZfirK{border-top-color:var(--background-floating)}.theme-dark .tooltipBlack-PPG47z,.theme-light .tooltipBlack-PPG47z{background-color:#000;color:#fff}.theme-dark .tooltipBlack-PPG47z .tooltipPointer-3ZfirK,.theme-light .tooltipBlack-PPG47z .tooltipPointer-3ZfirK{border-top-color:#000}.theme-dark .tooltipGrey-1hnvTt,.theme-light .tooltipGrey-1hnvTt{background-color:#202225;color:#fff}.theme-dark .tooltipGrey-1hnvTt .tooltipPointer-3ZfirK,.theme-light .tooltipGrey-1hnvTt .tooltipPointer-3ZfirK{border-top-color:#202225}.theme-dark .tooltipBrand-g03Nz8,.theme-light .tooltipBrand-g03Nz8{color:#fff;background-color:var(--brand-experiment)}.theme-dark .tooltipBrand-g03Nz8 .tooltipPointer-3ZfirK,.theme-light .tooltipBrand-g03Nz8 .tooltipPointer-3ZfirK{border-top-color:var(--brand-experiment)}.theme-dark .tooltipRed-8-9NeP,.theme-light .tooltipRed-8-9NeP{color:#fff;background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-dark .tooltipRed-8-9NeP .tooltipPointer-3ZfirK,.theme-light .tooltipRed-8-9NeP .tooltipPointer-3ZfirK{border-top-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-dark .tooltipGreen-WdeQwd,.theme-light .tooltipGreen-WdeQwd{color:#fff;background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.theme-dark .tooltipGreen-WdeQwd .tooltipPointer-3ZfirK,.theme-light .tooltipGreen-WdeQwd .tooltipPointer-3ZfirK{border-top-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.theme-dark .tooltipYellow-E7eIBE,.theme-light .tooltipYellow-E7eIBE{color:var(--status-warning-text);background-color:var(--status-warning-background)}.theme-dark .tooltipYellow-E7eIBE .tooltipPointer-3ZfirK,.theme-light .tooltipYellow-E7eIBE .tooltipPointer-3ZfirK{border-top-color:var(--status-warning-background)}
-.background-2uufRq{width:16px;height:16px}.hubContainer-2GsMAo{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative}.verified-1eC5dy{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.partnered-3nJayh{color:var(--brand-experiment)}.hub-3tYS7n{}.hub-3tYS7n>.icon-1ihkOt>circle{fill:var(--background-accent)}.verifiedHub-1GBeCT{}.verifiedHub-1GBeCT>.icon-1ihkOt>circle{fill:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.icon-1ihkOt{width:100%;height:100%;color:#fff}
-.size10-39i14u{font-size:10px}.size12-3R0845{font-size:12px}.size14-3iUx6q{font-size:14px}.size16-14cGz5{font-size:16px}.size18-3EXdSj{font-size:18px}.size20-2QkeeC{font-size:20px}.size22-3iBPR6{font-size:22px}.size24-1ONE4K{font-size:24px}.size26-3MdnUv{font-size:26px}.size36-3O_2zN{font-size:36px}
-.noUserDrag-5Mb43F{-webkit-user-drag:none}.userSelectText-1o1dQ7{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.userSelectNone-Iy6XEP{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cursorDefault-331ZcI{cursor:default}.cursorPointer-1tw4YS{cursor:pointer}
-.guildPopout-3CgKqR{width:250px;border-radius:5px;overflow:hidden;max-height:calc(100vh - 20px);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.iconMask-AFPO7u{-webkit-transition:background .2s ease-out,-webkit-box-shadow .2s ease-out,-webkit-transform .2s ease-out;transition:background .2s ease-out,-webkit-box-shadow .2s ease-out,-webkit-transform .2s ease-out;transition:box-shadow .2s ease-out,transform .2s ease-out,background .2s ease-out;transition:box-shadow .2s ease-out,transform .2s ease-out,background .2s ease-out,-webkit-box-shadow .2s ease-out,-webkit-transform .2s ease-out;padding:4px;background-color:var(--activity-card-background)}.unavailableIcon-e1M1SS{margin-bottom:16px;-webkit-transition:-webkit-box-shadow .1s ease-out;transition:-webkit-box-shadow .1s ease-out;transition:box-shadow .1s ease-out;transition:box-shadow .1s ease-out,-webkit-box-shadow .1s ease-out;color:var(--header-secondary)}.iconWithSplash-19l002{position:absolute;top:94.62482px}.avatar-397jYv,.splashImage-3SgZ2f{width:100%;height:100%}.splashImage-3SgZ2f{max-height:140px;-o-object-fit:cover;object-fit:cover}.body-2Enz7L{padding:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.body-2Enz7L.hasSplash-200jeH{padding-top:58px}.guildNameWrapper-1Mauc8{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.guildName-vhRkcC{word-break:break-word;font-weight:600}.badge-3CnxD1{margin-right:4px}.description-2CBrN8{text-align:center;margin-top:8px}.memberInfo-28ncC0{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:16px;font-weight:600;line-height:1.25;color:var(--header-secondary)}.memberCount-2WToxu{margin-right:8px}.memberCount-2WToxu:last-child{margin-right:0}.dot-14zbHU{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:4px;margin-left:4px}.dotOnline-3hjzjw{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.dotOffline-3gYNLJ{background-color:#b9bbbe}.memberText-21jAAz{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.footer-3OAEzG{background-color:var(--background-primary);max-width:100%;padding:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:stretch;align-self:stretch}.emojiHeader-1Mu53U{text-transform:uppercase;margin-bottom:8px}.emojiContainer-3Wqma4{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:16px}.emojiContainer-3Wqma4.withCounter-jpW8Nw{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.emoji-270c6v{margin-right:8px}.emojiCounter-1BHDd2{background-color:var(--background-secondary);height:24px;padding:0 8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:24px}@-webkit-keyframes placeholderPulse-2NB6YJ{0%{opacity:.2}50%{opacity:.5}to{opacity:.2}}@keyframes placeholderPulse-2NB6YJ{0%{opacity:.2}50%{opacity:.5}to{opacity:.2}}.placeholderSkeleton-2WHb-r{border-radius:8px;background:#72767d;opacity:.2;-webkit-animation:placeholderPulse-2NB6YJ 3s ease-in-out infinite;animation:placeholderPulse-2NB6YJ 3s ease-in-out infinite}.splashPlaceholder-3eWUcT{width:250px;height:140.62482px;border-radius:0}.iconPlaceholder-193bRZ{border-radius:50%;width:92px;height:92px;margin-bottom:16px;position:absolute;top:94.62482px}.namePlaceholder-2Ciab4{height:18px;width:170px;-webkit-animation-delay:.2s;animation-delay:.2s}.memberInfoPlaceholder-MpPvk8,.namePlaceholder-2Ciab4{margin:2px 0}.memberInfoPlaceholder-MpPvk8{height:12px;width:70px;-webkit-animation-delay:.3s;animation-delay:.3s}.viewButtonPlaceholder-1C07Fk{height:128px}.unavailableHeader-2yDubR{margin-bottom:8px}.theme-dark .guildPopout-3CgKqR{background-color:#202225;-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2),0 0 0 1px rgba(32,34,37,.6);box-shadow:0 2px 10px 0 rgba(0,0,0,.2),0 0 0 1px rgba(32,34,37,.6)}.theme-dark .guildName-vhRkcC{color:#fff}.theme-light .guildPopout-3CgKqR{background-color:#f6f6f7;-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2),0 0 0 1px rgba(185,187,190,.3);box-shadow:0 2px 10px 0 rgba(0,0,0,.2),0 0 0 1px rgba(185,187,190,.3)}.theme-light .guildName-vhRkcC{color:#4f5660}
-.icon-3o6xvg{position:relative;background-clip:padding-box;background-color:none;background-position:50%;background-size:100% 100%}.icon-3o6xvg .guildIconBadge-1PJHeq{position:absolute;right:-2px;bottom:-2px;width:14px;height:14px}.iconInactive-98JN5i{border-radius:50%}.iconActiveMini-3PzjMn{border-radius:6px}.iconActiveSmall-3IUUtn{border-radius:9px}.iconActiveMedium-1UaEIR{border-radius:12px}.iconActiveLarge-2nzn9z{border-radius:15px}.iconActiveLarger-1L4Joi{border-radius:16px}.iconActiveXLarge-_qKvKn{border-radius:30px}.iconSizeSmol-2Dw61G{width:16px;height:16px}.iconSizeMini-3dKErj{width:20px;height:20px}.iconSizeSmaller-2whVAO{width:24px;height:24px}.iconSizeSmall-3aWgx9{width:30px;height:30px}.iconSizeMedium-2OqPjI{width:40px;height:40px}.iconSizeLarge-161qtT{width:50px;height:50px}.iconSizeLarger-2MnpN2{width:64px;height:64px}.iconSizeXLarge-1AvWOw{width:100px;height:100px}.acronym-1e2Mdt{overflow:hidden;white-space:nowrap;width:100%}.noIcon-1a_FrS{background-color:var(--background-secondary);color:var(--text-normal);text-align:center}.noIcon-1a_FrS.iconSizeSmol-2Dw61G{line-height:16px}.noIcon-1a_FrS.iconSizeMini-3dKErj{line-height:20px}.noIcon-1a_FrS.iconSizeSmaller-2whVAO{line-height:24px}.noIcon-1a_FrS.iconSizeSmall-3aWgx9{line-height:30px}.noIcon-1a_FrS.iconSizeMedium-2OqPjI{line-height:40px}.noIcon-1a_FrS.iconSizeLarge-161qtT{line-height:50px}.noIcon-1a_FrS.iconSizeLarger-2MnpN2{line-height:64px}.noIcon-1a_FrS.iconSizeXLarge-1AvWOw{line-height:100px}.noAcronym-pYLF4V{background-color:var(--background-modifier-accent)}
-.loadingPopout-qYljDW{background-color:var(--background-secondary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:8px}
-.full-motion .translate-2dAEQ6.animatorTop-2Y7x2r{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}.full-motion .translate-2dAEQ6.animatorBottom-fS5rNO{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}.full-motion .translate-2dAEQ6.animatorLeft-1EQxU0{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}.full-motion .translate-2dAEQ6.animatorRight-3i_YPs{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}.full-motion .translate-2dAEQ6.animatorCenter-3Wx6K8{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}.full-motion .translate-2dAEQ6.didRender-33z1u8{-webkit-transition:-webkit-transform .2s ease-out;transition:-webkit-transform .2s ease-out;transition:transform .2s ease-out;transition:transform .2s ease-out,-webkit-transform .2s ease-out;-webkit-transform:translateZ(0);transform:translateZ(0)}.full-motion .scale-3iLZhb{-webkit-transform:scale(.01);transform:scale(.01);opacity:0}.full-motion .scale-3iLZhb.animatorTop-2Y7x2r{-webkit-transform-origin:bottom center;transform-origin:bottom center}.full-motion .scale-3iLZhb.animatorBottom-fS5rNO{-webkit-transform-origin:top center;transform-origin:top center}.full-motion .scale-3iLZhb.animatorLeft-1EQxU0{-webkit-transform-origin:top right;transform-origin:top right}.full-motion .scale-3iLZhb.animatorRight-3i_YPs{-webkit-transform-origin:top left;transform-origin:top left;-webkit-transform-origin:top center;transform-origin:top center}.full-motion .scale-3iLZhb.didRender-33z1u8{-webkit-transition:opacity .12s ease-out,-webkit-transform .12s ease-out;transition:opacity .12s ease-out,-webkit-transform .12s ease-out;transition:transform .12s ease-out,opacity .12s ease-out;transition:transform .12s ease-out,opacity .12s ease-out,-webkit-transform .12s ease-out;-webkit-transform:scale(1);transform:scale(1);opacity:1}.fade-18lLrh{opacity:0}.fade-18lLrh.didRender-33z1u8{-webkit-transition:opacity .08s ease-out;transition:opacity .08s ease-out;opacity:1}
-.container-7Unqij{padding:4px 8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-tertiary);border-radius:12px}.icon-3jQD8H{margin-right:4px;color:var(--header-primary)}
-.dots-3Bkt3k{-webkit-transform:translateZ(0);transform:translateZ(0);pointer-events:none;color:#fff}.dots-3Bkt3k.themed-IQiCm3{color:var(--text-normal)}
-.mask-1qbNWk{display:block}.status-1AY8sU{width:100%;height:100%}
-.wrapper-3t9DeA{position:relative;border-radius:50%}.pointer-2zj-Tb{cursor:pointer}.mask-1l8v16{pointer-events:none;position:relative;display:block;height:100%;width:auto}.status-1eOIMS,.svg-2V3M55{position:absolute}.status-1eOIMS{bottom:0;right:0;height:auto}.cursorDefault-dsQJ1n{cursor:default}.avatarStack-2Dr8S9{display:grid;width:100%;height:100%}.avatar-VxgULZ,.avatarSpeaking-2c8-9i{width:100%;height:100%;grid-area:1/1}.avatar-VxgULZ{display:block;-o-object-fit:cover;object-fit:cover;pointer-events:none}.avatar-VxgULZ:before{content:"";display:block;width:100%;height:100%;background-color:var(--background-modifier-accent)}.avatarSpeaking-2c8-9i{-webkit-box-shadow:inset 0 0 0 2px hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%),inset 0 0 0 3px var(--background-secondary);box-shadow:inset 0 0 0 2px hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%),inset 0 0 0 3px var(--background-secondary);border-radius:50%}.pointerEvents-2zdfdO{pointer-events:auto}
-.grid-3fdl0Y{display:grid;grid-template-columns:1fr 1fr 1fr;grid-auto-flow:row;gap:8px}.speakerContainer-3h4uQU{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.avatar-vQKmqY{height:20px!important;width:20px!important;margin-right:8px}.iconMicrophone-1A2Yqh,.speakerCount-3KijLY{background-color:var(--background-tertiary)}.iconMicrophone-1A2Yqh{height:20px;width:20px;margin-right:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:var(--header-secondary);border-radius:50%}.textInGridContainer-XBWCa-{max-width:164px}.textInGrid-1ba1AD{max-width:124px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:1200px){.textInGrid-1ba1AD{max-width:120px}}
-.contentContainer-r2-Vlj{padding:16px}.contentContainer-r2-Vlj,.headerContainer-5fBDkh{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.guildIcon-21bg7K{margin-right:8px;border-radius:4px}.flexContainerRow-3kqdy5{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.flexContainerRow-3kqdy5,.guildInfoContainer-1dd0zN{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;justify-items:center}.guildInfoContainer-1dd0zN{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.topicText-2H6hYP{margin:8px 0 16px;font-weight:600;-webkit-line-clamp:2}.guildName-UP2boh,.topicText-2H6hYP{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical}.guildName-UP2boh{margin-right:4px;-webkit-line-clamp:1}.guildName-UP2boh:not(.disabled-1hIg7X):hover{text-decoration:underline;color:var(--header-primary)}.featuredTag-2NRwvK{padding:4px 8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--brand-experiment);border-radius:12px;margin-right:12px}.featuredTagText-g04Gzg{color:#fff}.rightJustifiedContent-2QwekV{margin-left:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}
-.card-3Qj_Yx{position:relative;border-width:1px;border-style:solid;border-radius:5px}.card-3Qj_Yx a:hover{text-decoration:underline}.cardBrand-39zmMQ a,.cardDanger-ZurOv3 a,.cardSuccess-3uEYjj a,.cardWarning-2yPNAa a{font-weight:700}.cardDanger-ZurOv3{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.cardDanger-ZurOv3,.cardDangerOutline-3t0Do9{border-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.cardWarning-2yPNAa{background-color:var(--status-warning-background)}.cardWarning-2yPNAa,.cardWarningOutline-1cs56O{border-color:var(--status-warning-background)}.cardSuccess-3uEYjj{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.cardSuccess-3uEYjj,.cardSuccessOutline-1Su_ab{border-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.cardBrand-39zmMQ{background-color:var(--brand-experiment)}.cardBrand-39zmMQ,.cardBrandOutline-3jvFfo{border-color:var(--brand-experiment)}.cardPrimary-1Hv-to,.cardPrimaryEditable-3KtE4g,.cardPrimaryOutline-29Ujqw,.cardPrimaryOutlineEditable-PEnpzz{}.card-3Qj_Yx a{color:var(--text-link)}.cardBrand-39zmMQ a,.cardDanger-ZurOv3 a,.cardSuccess-3uEYjj a,.cardWarning-2yPNAa a{color:#fff}.cardPrimary-1Hv-to{background:var(--deprecated-card-bg)}.cardPrimary-1Hv-to,.cardPrimaryEditable-3KtE4g{border-color:var(--background-tertiary)}.cardPrimaryEditable-3KtE4g{background:var(--deprecated-card-editable-bg)}.cardPrimaryOutline-29Ujqw{border-color:var(--background-tertiary)}
-.inputWrapper-31_8H8{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.input-cIJ7To{font-size:16px;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;border-radius:3px;color:var(--text-normal);background-color:var(--deprecated-text-input-bg);border:1px solid var(--deprecated-text-input-border);-webkit-transition:border-color .2s ease-in-out;transition:border-color .2s ease-in-out}.input-cIJ7To::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:var(--text-muted)}.input-cIJ7To::-moz-placeholder{-moz-user-select:none;user-select:none;color:var(--text-muted)}.input-cIJ7To:-ms-input-placeholder{-ms-user-select:none;user-select:none;color:var(--text-muted)}.input-cIJ7To::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:var(--text-muted)}.input-cIJ7To:hover{border-color:var(--deprecated-text-input-border-hover)}.input-cIJ7To.focused-1mmYsC,.input-cIJ7To:focus{border-color:var(--text-link)}.input-cIJ7To.error-2O5WFJ{border-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.input-cIJ7To.success-2-F980{border-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.input-cIJ7To.disabled-2BKQFm{border-color:var(--deprecated-text-input-border-disabled)}.input-cIJ7To.editable-2UkCu4{background-color:transparent;border-color:transparent}.inputDefault-_djjkz{padding:10px;height:40px}.inputMini-2xQV9P{line-height:16px;padding:4px 7px;height:26px}.disabled-2BKQFm{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:not-allowed;opacity:.5}.focused-1mmYsC{border-color:var(--brand-experiment);opacity:1}.inputPrefix-2VAOGg{font-size:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:absolute;height:40px;padding-top:10px;padding-left:20px;line-height:normal;color:var(--text-muted)}.theme-dark .inputPrefix-2VAOGg{opacity:.5}
-.spacing-28Gjbq{}.error-1IOMCI{}.card-30dMrN{padding:10px}.warning-3KupJ6{color:#fff}
-.container-3LGFk-{padding-top:24px;padding-bottom:24px}.header-3wG9rE{text-align:center}.subtitle-1CVvN5{margin-top:8px}.cancelButton-ZdSh8k{margin-right:8px}.backButton-rfyPNn{margin-right:auto}.listItemContainer-32vont{margin-top:24px;margin-left:16px;margin-right:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.listItemIconContainer-2owYbI{-ms-flex-negative:0;flex-shrink:0}.listItemText-29sr6L{margin-left:16px}.iconContainer-24L2fh{padding:8px;display:-webkit-box;display:-ms-flexbox;display:flex;background-color:var(--background-tertiary);color:var(--interactive-normal);border-radius:50%}.badgeIconBackground-3XEsjB{color:var(--background-tertiary)}.badgeIconForeground-4vowbF{fill:var(--interactive-normal)}.previewCardContainer-QjFNt5{-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-top:24px;padding-left:16px;padding-right:16px}.previewCard-KFE3bt,.previewCardContainer-QjFNt5{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.previewCard-KFE3bt{background-color:var(--background-floating);width:100%;border-radius:8px;z-index:3}.previewCard-KFE3bt,.previewEcho-2ZajcI{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid var(--background-modifier-accent)}.previewEcho-2ZajcI{height:16px;background-color:var(--background-secondary);-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high);border-radius:0 0 8px 8px}.echoContainer-2yWtuv{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%}.firstEcho-3gpmyW{margin:-4px 16px 0;z-index:2}.secondEcho-2NTv8L{margin:-4px 32px 0;opacity:.8;z-index:1}
-.select-2TCrqx.error-3S-7y9 .errorMessage-1Y9q-X{font-size:14px;line-height:20px;margin-top:8px;color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.divider-3573oO{width:100%;height:1px;border-top:thin solid var(--background-modifier-accent)}
-.formText-3fs7AJ a:hover{text-decoration:underline}.formText-3fs7AJ strong{font-weight:600}.default-3nhoK-,.labelDescriptor-1PqHgD,.labelSelected-1I1cDg,.placeholder-1lCpWK{}.labelSelected-1I1cDg{font-weight:400}@media (-webkit-max-device-pixel-ratio:1){.theme-light .labelSelected-1I1cDg{font-weight:500}}.labelBold-1PKEeD{font-weight:600}.description-3_Ncsb{font-size:14px;line-height:20px;font-weight:400}@media (-webkit-max-device-pixel-ratio:1){.theme-light .description-3_Ncsb{font-weight:500}}.modeDefault-3a2Ph1{cursor:default}.modeSelectable-k2b2pa{cursor:text;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.modeDisabled-33Av8D{cursor:not-allowed;opacity:.3}.description-3_Ncsb,.labelDescriptor-1PqHgD{color:var(--header-secondary)}.placeholder-1lCpWK{color:var(--text-muted)}
-.formNotice-2_hHWR{padding:20px;cursor:default}.formNoticeTitle-2KGjDe{margin-bottom:4px}.formNoticeBody-M4JFHP p{letter-spacing:-.39px;margin:0 0 12px}.formNoticeBody-M4JFHP p:last-child{margin-bottom:0}.formNoticeBody-M4JFHP u{text-decoration:none;font-style:italic}.icon-4lJsMQ{-webkit-user-drag:none}.whiteText-2PPsRK,.whiteText-2PPsRK a{color:#fff}
-.children-rWhLdy{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.children-rWhLdy,.sectionTitle-2vauyC{display:-webkit-box;display:-ms-flexbox;display:flex}
-.container-3bTSed{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.title-3Tw-c1{margin-bottom:8px;text-transform:uppercase;font-weight:700;color:var(--interactive-normal)}.inputs-14Hc7m{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:4px}.inputDay-18OXiE{width:100px}.inputMonth-IGgn-0{width:154px}.inputYear-2J502p{width:120px}.errors-ArjaXz{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.modal-20TEfh{width:432px}.content-2Kd1kH{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:16px}.image-3wnQf5{width:148px;height:82px;background-image:url(/assets/f16e718b735205e20139e634cf5bd7de.svg);-ms-flex-item-align:center;align-self:center}.title-2SfZSl{margin-top:20px;text-align:center}.description-24oYBj{margin-top:8px;text-align:center}.description-24oYBj,.formItem-21QgGZ{margin-bottom:16px}
-.formHeader-3ntgeL{overflow:visible;padding:16px 16px 0}.formContent-1vWZEJ{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;justify-items:center;padding-bottom:16px}.formImage-km1xqE{position:absolute;width:88px;height:80px;background-image:url(/assets/793f3e4e608d9cf98d1e9ab2f2644b82.svg)}.formTitle-29Lcxo{margin-bottom:8px;margin-top:95px}.formBody-3pY2Cl{text-align:center}.formBody-3pY2Cl,.formItem-9Gey9h{margin-bottom:16px}.logoutButton-20GYNZ{margin:4px auto auto;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.closeButton-3DtzaH{position:absolute;-webkit-box-sizing:content-box;box-sizing:content-box;top:12px;right:4px}.successContent-3b2Ig4{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.successTitle-2wbpkm{margin-bottom:12px;text-align:center;font-weight:600;color:var(--header-primary)}.successPromotion-3OUqFK{margin-bottom:20px;text-align:center;color:var(--header-secondary)}.successImage-2Tgulb{margin-top:16px;margin-bottom:16px;width:104px;height:80px;background-size:100%;background-repeat:no-repeat;background-position:50%;background-image:url(/assets/c11b1679c24ac7092c23679037575023.svg)}.modalLight-1SNwqJ{background-color:#fff;border-radius:5px}
-.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle,.react-datepicker__month-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow{margin-left:-8px;position:absolute}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow:before,.react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow:before{-webkit-box-sizing:content-box;box-sizing:content-box;position:absolute;border:8px solid transparent;height:0;width:1px}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker__month-read-view--down-arrow:before,.react-datepicker__year-read-view--down-arrow:before{content:"";z-index:-1;border-width:8px;left:-8px;border-bottom-color:#aeaeae}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle{top:0;margin-top:-8px}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{border-top:none;border-bottom-color:#f0f0f0}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{top:-1px;border-bottom-color:#aeaeae}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle,.react-datepicker__month-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow{bottom:0;margin-bottom:-8px}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow:before,.react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow:before{border-bottom:none;border-top-color:#fff}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker__month-read-view--down-arrow:before,.react-datepicker__year-read-view--down-arrow:before{bottom:-1px;border-top-color:#aeaeae}.react-datepicker-wrapper{display:inline-block}.react-datepicker{font-size:.8rem;background-color:#fff;color:#000;border:1px solid #aeaeae;border-radius:.3rem;display:inline-block;position:relative}.react-datepicker__triangle{position:absolute;left:50px}.react-datepicker-popper{z-index:1}.react-datepicker-popper[data-placement^=bottom]{margin-top:10px}.react-datepicker-popper[data-placement^=top]{margin-bottom:6px}.react-datepicker-popper[data-placement^=right]{margin-left:8px}.react-datepicker-popper[data-placement^=right] .react-datepicker__triangle{left:auto;right:42px}.react-datepicker-popper[data-placement^=left]{margin-right:8px}.react-datepicker-popper[data-placement^=left] .react-datepicker__triangle{left:42px;right:auto}.react-datepicker__header{text-align:center;background-color:#f0f0f0;border-bottom:1px solid #aeaeae;border-top-left-radius:.3rem;border-top-right-radius:.3rem;padding-top:8px;position:relative}.react-datepicker__month-dropdown-container--scroll,.react-datepicker__month-dropdown-container--select,.react-datepicker__year-dropdown-container--scroll,.react-datepicker__year-dropdown-container--select{display:inline-block;margin:0 2px}.react-datepicker__current-month{margin-top:0;color:#000;font-weight:700;font-size:.944rem}.react-datepicker__navigation{line-height:1.7rem;text-align:center;cursor:pointer;position:absolute;top:10px;width:0;border:.45rem solid transparent;z-index:1}.react-datepicker__navigation--previous{left:10px;border-right-color:#ccc}.react-datepicker__navigation--previous:hover{border-right-color:#b3b2b2}.react-datepicker__navigation--next{right:10px;border-left-color:#ccc}.react-datepicker__navigation--next:hover{border-left-color:#b3b2b2}.react-datepicker__navigation--years{position:relative;top:0;display:block;margin-left:auto;margin-right:auto}.react-datepicker__navigation--years-previous{top:4px;border-top-color:#ccc}.react-datepicker__navigation--years-previous:hover{border-top-color:#b3b2b2}.react-datepicker__navigation--years-upcoming{top:-4px;border-bottom-color:#ccc}.react-datepicker__navigation--years-upcoming:hover{border-bottom-color:#b3b2b2}.react-datepicker__month-container{display:inline;float:left}.react-datepicker__month{margin:.4rem;text-align:center}.react-datepicker__week-number{color:#ccc;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}.react-datepicker__week-number.react-datepicker__week-number--clickable{cursor:pointer}.react-datepicker__week-number.react-datepicker__week-number--clickable:hover{border-radius:.3rem;background-color:#f0f0f0}.react-datepicker__day,.react-datepicker__day-name{color:#000;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}.react-datepicker__day{cursor:pointer}.react-datepicker__day:hover{border-radius:.3rem;background-color:#f0f0f0}.react-datepicker__day--today{font-weight:700}.react-datepicker__day--highlighted{border-radius:.3rem;background-color:#3dcc4a;color:#fff}.react-datepicker__day--highlighted:hover{background-color:#32be3f}.react-datepicker__day--highlighted-custom-1{color:#f0f}.react-datepicker__day--highlighted-custom-2{color:green}.react-datepicker__day--in-range,.react-datepicker__day--in-selecting-range,.react-datepicker__day--selected{border-radius:.3rem;background-color:#216ba5;color:#fff}.react-datepicker__day--in-range:hover,.react-datepicker__day--in-selecting-range:hover,.react-datepicker__day--selected:hover{background-color:#1d5d90}.react-datepicker__day--keyboard-selected{border-radius:.3rem;background-color:#2a87d0;color:#fff}.react-datepicker__day--keyboard-selected:hover{background-color:#1d5d90}.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range){background-color:rgba(33,107,165,.5)}.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range){background-color:#f0f0f0;color:#000}.react-datepicker__day--disabled{cursor:default;color:#ccc}.react-datepicker__day--disabled:hover{background-color:transparent}.react-datepicker__input-container{position:relative;display:inline-block}.react-datepicker__month-read-view,.react-datepicker__year-read-view{border:1px solid transparent;border-radius:.3rem}.react-datepicker__month-read-view:hover,.react-datepicker__year-read-view:hover{cursor:pointer}.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow{border-top-color:#b3b2b2}.react-datepicker__month-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow{border-top-color:#ccc;float:right;margin-left:20px;top:8px;position:relative;border-width:.45rem}.react-datepicker__month-dropdown,.react-datepicker__year-dropdown{background-color:#f0f0f0;position:absolute;width:50%;left:25%;top:30px;z-index:1;text-align:center;border-radius:.3rem;border:1px solid #aeaeae}.react-datepicker__month-dropdown:hover,.react-datepicker__year-dropdown:hover{cursor:pointer}.react-datepicker__month-dropdown--scrollable,.react-datepicker__year-dropdown--scrollable{height:150px;overflow-y:scroll}.react-datepicker__month-option,.react-datepicker__year-option{line-height:20px;width:100%;display:block;margin-left:auto;margin-right:auto}.react-datepicker__month-option:first-of-type,.react-datepicker__year-option:first-of-type{border-top-left-radius:.3rem;border-top-right-radius:.3rem}.react-datepicker__month-option:last-of-type,.react-datepicker__year-option:last-of-type{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker__month-option:hover,.react-datepicker__year-option:hover{background-color:#ccc}.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming{border-bottom-color:#b3b2b2}.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous{border-top-color:#b3b2b2}.react-datepicker__month-option--selected,.react-datepicker__year-option--selected{position:absolute;left:15px}.react-datepicker__close-icon{background-color:transparent;border:0;cursor:pointer;display:inline-block;height:0;outline:0;padding:0;vertical-align:middle}.react-datepicker__close-icon:after{background-color:#216ba5;border-radius:50%;bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;content:"\D7";cursor:pointer;font-size:12px;height:16px;width:16px;line-height:1;margin:-8px auto 0;padding:2px;position:absolute;right:7px;text-align:center;top:50%}.react-datepicker__today-button{background:#f0f0f0;border-top:1px solid #aeaeae;cursor:pointer;text-align:center;font-weight:700;padding:5px 0;clear:left}.react-datepicker__portal{position:fixed;width:100vw;height:100vh;background-color:rgba(0,0,0,.8);left:0;top:0;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;z-index:2147483647}.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__day-name{width:3rem;line-height:3rem}@media (max-height:550px),(max-width:400px){.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__day-name{width:2rem;line-height:2rem}}.react-datepicker__portal .react-datepicker__current-month{font-size:1.44rem}.react-datepicker__portal .react-datepicker__navigation{border:.81rem solid transparent}.react-datepicker__portal .react-datepicker__navigation--previous{border-right-color:#ccc}.react-datepicker__portal .react-datepicker__navigation--previous:hover{border-right-color:#b3b2b2}.react-datepicker__portal .react-datepicker__navigation--next{border-left-color:#ccc}.react-datepicker__portal .react-datepicker__navigation--next:hover{border-left-color:#b3b2b2}
-.calendarPicker-2yf6Ci .react-datepicker{border:none;padding:20px}.calendarPicker-2yf6Ci .react-datepicker__header{padding-top:0;border-bottom:0}.calendarPicker-2yf6Ci .react-datepicker__current-month{margin:0 0 10px;padding:0 0 20px;border-bottom:1px solid;font-size:13px;line-height:20px;font-weight:600;text-transform:uppercase}.calendarPicker-2yf6Ci .react-datepicker__navigation.react-datepicker__navigation--next,.calendarPicker-2yf6Ci .react-datepicker__navigation.react-datepicker__navigation--previous{top:20px;left:20px;width:18px;height:18px;border:1px solid;border-radius:2px;background-repeat:no-repeat;background-size:6px 12px;background-position:50%;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.calendarPicker-2yf6Ci .react-datepicker__navigation.react-datepicker__navigation--next.react-datepicker__navigation--next,.calendarPicker-2yf6Ci .react-datepicker__navigation.react-datepicker__navigation--previous.react-datepicker__navigation--next{left:auto;right:20px;-webkit-transform:rotate(0deg);transform:rotate(0deg)}.calendarPicker-2yf6Ci .react-datepicker__month{margin:0}.calendarPicker-2yf6Ci .react-datepicker__week:first-of-type>.react-datepicker__day:first-of-type{border-radius:3px 0 0}.calendarPicker-2yf6Ci .react-datepicker__week:first-of-type>.react-datepicker__day:last-of-type{border-radius:0 3px 0 0}.calendarPicker-2yf6Ci .react-datepicker__week:last-of-type>.react-datepicker__day{border-bottom:1px solid #dcddde}.calendarPicker-2yf6Ci .react-datepicker__week:last-of-type>.react-datepicker__day:first-of-type{border-radius:0 0 0 3px}.calendarPicker-2yf6Ci .react-datepicker__week:last-of-type>.react-datepicker__day:last-of-type{border-radius:0 0 3px}.calendarPicker-2yf6Ci .react-datepicker__week>.react-datepicker__day:last-of-type{border-right:1px solid}.calendarPicker-2yf6Ci .react-datepicker__day-names{margin-bottom:10px}.calendarPicker-2yf6Ci .react-datepicker__day-name{width:40px;font-size:13px;font-weight:500;line-height:1em;text-transform:uppercase;margin:0}.calendarPicker-2yf6Ci .react-datepicker__day{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;width:40px;height:40px;line-height:40px;border-top:1px solid;border-left:1px solid}.calendarPicker-2yf6Ci .react-datepicker__day.react-datepicker__day--selected:hover,.calendarPicker-2yf6Ci .react-datepicker__day:hover{border-radius:0}.calendarPicker-2yf6Ci .react-datepicker__day.react-datepicker__day--selected{background:none;border-radius:0}.calendarPicker-2yf6Ci .react-datepicker__day.react-datepicker__day--selected:after{content:"";position:absolute;bottom:0;left:0;width:100%;height:3px}.calendarPicker-2yf6Ci .react-datepicker__day--disabled,.calendarPicker-2yf6Ci .react-datepicker__day--outside-month{font-weight:500}.theme-light .calendarPicker-2yf6Ci .react-datepicker{background-color:#fff}.theme-light .calendarPicker-2yf6Ci .react-datepicker__header{background-color:#fff;border-color:rgba(220,221,222,.2)}.theme-light .calendarPicker-2yf6Ci .react-datepicker__current-month{border-bottom-color:rgba(220,221,222,.2);color:#4f545c}.theme-light .calendarPicker-2yf6Ci .react-datepicker__navigation.react-datepicker__navigation--next,.theme-light .calendarPicker-2yf6Ci .react-datepicker__navigation.react-datepicker__navigation--previous{border-color:#dcddde;background-image:url(/assets/0fce6d7622d8173fcee0397634bff5b5.svg)}.theme-light .calendarPicker-2yf6Ci .react-datepicker__week:last-of-type .react-datepicker__day{border-bottom-color:#dcddde}.theme-light .calendarPicker-2yf6Ci .react-datepicker__week .react-datepicker__day:last-of-type{border-right-color:#dcddde}.theme-light .calendarPicker-2yf6Ci .react-datepicker__day-name{color:rgba(79,84,92,.6)}.theme-light .calendarPicker-2yf6Ci .react-datepicker__day{border-top-color:#dcddde;border-left-color:#dcddde;color:#4f545c}.theme-light .calendarPicker-2yf6Ci .react-datepicker__day.react-datepicker__day--selected:hover,.theme-light .calendarPicker-2yf6Ci .react-datepicker__day:hover{color:#fff;background-color:var(--brand-experiment)}.theme-light .calendarPicker-2yf6Ci .react-datepicker__day.react-datepicker__day--disabled,.theme-light .calendarPicker-2yf6Ci .react-datepicker__day.react-datepicker__day--disabled:hover{background-color:rgba(0,0,0,.05);color:rgba(0,0,0,.2)}.theme-light .calendarPicker-2yf6Ci .react-datepicker__day.react-datepicker__day--selected:after{background-color:var(--brand-experiment)}.theme-light .calendarPicker-2yf6Ci .react-datepicker__day--disabled,.theme-light .calendarPicker-2yf6Ci .react-datepicker__day--outside-month{background-color:#f6f6f7;color:rgba(79,84,92,.3)}.theme-dark .calendarPicker-2yf6Ci .react-datepicker{background-color:#36393f}.theme-dark .calendarPicker-2yf6Ci .react-datepicker__header{background-color:#36393f;border-color:rgba(24,25,28,.2)}.theme-dark .calendarPicker-2yf6Ci .react-datepicker__current-month{border-bottom-color:rgba(24,25,28,.3);color:#f6f6f7}.theme-dark .calendarPicker-2yf6Ci .react-datepicker__navigation.react-datepicker__navigation--next,.theme-dark .calendarPicker-2yf6Ci .react-datepicker__navigation.react-datepicker__navigation--previous{border-color:#18191c;background-image:url(/assets/7619529e87dad31fd2ae83d9b9583e49.svg)}.theme-dark .calendarPicker-2yf6Ci .react-datepicker__week:last-of-type .react-datepicker__day{border-bottom-color:#18191c}.theme-dark .calendarPicker-2yf6Ci .react-datepicker__week .react-datepicker__day:last-of-type{border-right-color:#18191c}.theme-dark .calendarPicker-2yf6Ci .react-datepicker__day-name{color:rgba(246,246,247,.6)}.theme-dark .calendarPicker-2yf6Ci .react-datepicker__day{border-top-color:#18191c;border-left-color:#18191c;color:#f6f6f7}.theme-dark .calendarPicker-2yf6Ci .react-datepicker__day.react-datepicker__day--selected:hover,.theme-dark .calendarPicker-2yf6Ci .react-datepicker__day:hover{color:#fff;background-color:var(--brand-experiment)}.theme-dark .calendarPicker-2yf6Ci .react-datepicker__day.react-datepicker__day--disabled,.theme-dark .calendarPicker-2yf6Ci .react-datepicker__day.react-datepicker__day--disabled:hover{background-color:#2f3136;color:rgba(246,246,247,.3)}.theme-dark .calendarPicker-2yf6Ci .react-datepicker__day.react-datepicker__day--selected:after{background-color:var(--brand-experiment)}.theme-dark .calendarPicker-2yf6Ci .react-datepicker__day--disabled,.theme-dark .calendarPicker-2yf6Ci .react-datepicker__day--outside-month{background-color:#2f3136;color:rgba(246,246,247,.3)}
-.darkElevationLow-DABD7i{-webkit-box-shadow:0 1px 5px 0 rgba(0,0,0,.3);box-shadow:0 1px 5px 0 rgba(0,0,0,.3)}.darkElevationHigh-6iWpWi{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 2px 10px 0 rgba(0,0,0,.2)}.darkElevationBorderLow-39dDV7{-webkit-box-shadow:0 0 0 1px rgba(32,34,37,.6),0 1px 5px 0 rgba(0,0,0,.3);box-shadow:0 0 0 1px rgba(32,34,37,.6),0 1px 5px 0 rgba(0,0,0,.3)}.darkElevationBorderHigh-2U1nXW{-webkit-box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2)}.lightElevationLow-3_Ybxi{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.2);box-shadow:0 1px 5px rgba(0,0,0,.2)}.lightElevationHigh-3usmGv{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.1);box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}.lightElevationBorderLow-3APXjz{-webkit-box-shadow:0 0 0 1px rgba(185,187,190,.3),0 1px 5px rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(185,187,190,.3),0 1px 5px rgba(0,0,0,.2)}.lightElevationBorderHigh-2T98IF{-webkit-box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1);box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1)}.theme-light .elevationLow-2lY09M{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.2);box-shadow:0 1px 5px rgba(0,0,0,.2)}.theme-light .elevationHigh-3A9Xbf{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.1);box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}.theme-light .elevationBorderLow-2qgTRQ{-webkit-box-shadow:0 0 0 1px rgba(185,187,190,.3),0 1px 5px rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(185,187,190,.3),0 1px 5px rgba(0,0,0,.2)}.theme-light .elevationBorderHigh-2WYJ09{-webkit-box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1);box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1)}.theme-dark .elevationLow-2lY09M{-webkit-box-shadow:0 1px 5px 0 rgba(0,0,0,.3);box-shadow:0 1px 5px 0 rgba(0,0,0,.3)}.theme-dark .elevationHigh-3A9Xbf{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 2px 10px 0 rgba(0,0,0,.2)}.theme-dark .elevationBorderLow-2qgTRQ{-webkit-box-shadow:0 0 0 1px rgba(32,34,37,.6),0 1px 5px 0 rgba(0,0,0,.3);box-shadow:0 0 0 1px rgba(32,34,37,.6),0 1px 5px 0 rgba(0,0,0,.3)}.theme-dark .elevationBorderHigh-2WYJ09{-webkit-box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2)}
-.calendarContainer-2ecZWM{}
-.selectableItem-1MP3MQ{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:3px;height:34px;padding:8px 10px;margin:2px 4px 2px 0;cursor:pointer}.selectableItem-1MP3MQ.selected-31soGA{cursor:default}.selectableItemLabel-1RKQjD{font-size:16px;position:relative;top:1px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.theme-light .selectableItem-1MP3MQ{color:#4f545c}.theme-light .selectableItem-1MP3MQ:hover{background-color:#dcddde}.theme-dark .selectableItem-1MP3MQ{color:#f6f6f7}.theme-dark .selectableItem-1MP3MQ:hover{background-color:rgba(32,34,37,.6)}
-.listContainer-19y4Nf{border-radius:5px;padding:10px 5px 10px 10px;background-color:var(--background-primary)}.listScroller-2_n1zI{height:280px;overflow-y:scroll}
-.doubleInput-1W2Xv8{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;position:relative;margin-bottom:16px}.doubleInput-1W2Xv8>div:first-child{margin-right:8px}.doubleInput-1W2Xv8>div:nth-child(2){margin-left:8px}.formSection-1phaI9{padding-top:16px}.link-xxaTRF{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-transition:opacity .2s;transition:opacity .2s;font-size:16px;font-weight:400;color:var(--interactive-active)}.link-xxaTRF:hover{opacity:.8}.addIcon-2phqju{margin-right:8px;color:var(--brand-experiment)}.removeIcon-2ovbtS{margin-right:8px;color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.radioBar-bMNUI-{border-left:3px solid var(--radio-bar-accent-color);border-radius:4px;display:grid;grid-template-columns:auto 1fr;grid-gap:8px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.item-26Dhrx[aria-checked=true]{background-color:var(--background-tertiary);color:var(--interactive-active)}.radioIconForeground-XwlXQN{color:var(--control-brand-foreground)}.item-26Dhrx{background-color:var(--background-secondary);color:var(--interactive-normal);cursor:pointer;border-radius:3px;display:block}.item-26Dhrx:hover:not([aria-checked=true]){background-color:var(--background-modifier-hover);color:var(--interactive-hover)}.item-26Dhrx:active:not([aria-checked=true]){background-color:var(--background-modifier-active);color:var(--interactive-active)}.tooltipWrapper-3VcaN6{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.tooltipWrapper-3VcaN6:last-child{margin:0}.disabled-1FsPTr{opacity:.3;cursor:not-allowed}.info-3LOr12{margin-right:8px;width:100%;display:grid;grid-gap:4px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.title-3BE6m5{font-weight:500}
-.select-2fjwPw{border:1px solid transparent;padding:8px 8px 8px 12px;cursor:pointer;color:var(--text-normal);-webkit-box-sizing:border-box;box-sizing:border-box;display:grid;grid-template-columns:1fr auto;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:4px;font-weight:500}.searchable-1Zl-ns{padding-top:8px;padding-bottom:8px}.searchInput-5YMkDH{cursor:pointer;background:inherit;color:inherit;border:none;font-size:16px;padding:0;font-weight:500}.editing-p4oIUO{font-weight:400}.label-2lO3Xi{position:absolute;top:0;bottom:0;margin:auto;height:16px;left:12px}.open-kZ53_U{border-radius:4px 4px 0 0;border-bottom-color:transparent}.disabled-9453HS{cursor:not-allowed;opacity:.6}.placeholder-ffQ18M{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.measurement-1lxjFG{position:absolute;visibility:hidden;pointer-events:none;border:1px solid transparent;-webkit-box-sizing:border-box;box-sizing:border-box}.lookFilled-22uAsw.select-2fjwPw{background-color:var(--background-secondary);border-color:var(--background-tertiary)}.popout-VcNcHB{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid var(--background-tertiary);background:var(--background-secondary);border-radius:0 0 4px 4px}.lookFilled-22uAsw.popout-VcNcHB{border-radius:0 0 3px 3px}.lookFilled-22uAsw.option-3KoAJB,.lookFilled-22uAsw.select-2fjwPw:hover.option-3KoAJB{border-bottom-color:var(--brand-experiment);border-color:var(--brand-experiment) var(--brand-experiment) var(--background-tertiary)}.option-3KoAJB{padding:12px;cursor:pointer;color:var(--interactive-normal);display:grid;grid-template-columns:1fr auto;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:500;-webkit-box-sizing:border-box;box-sizing:border-box}.option-3KoAJB.focused-1T6PE5,.option-3KoAJB:focus,.option-3KoAJB:hover{background-color:var(--background-secondary-alt);color:var(--interactive-hover)}.option-3KoAJB[aria-selected=true]{color:var(--interactive-active);background-color:var(--background-tertiary)}.selectedIcon-3uS11H{color:var(--brand-experiment)}.icons-2E-yxr{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:4px}.clear-1-31NQ{display:block}
-@-webkit-keyframes outgoing-call-pulse-E6kWPF{0%{opacity:0;-webkit-transform:scaleX(1);transform:scaleX(1)}11.56%{opacity:1}39.02%{opacity:0;-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}39.03%{-webkit-transform:scaleX(1);transform:scaleX(1)}39.04%{opacity:1}66.48%{opacity:0;-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}to{opacity:0;-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes outgoing-call-pulse-E6kWPF{0%{opacity:0;-webkit-transform:scaleX(1);transform:scaleX(1)}11.56%{opacity:1}39.02%{opacity:0;-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}39.03%{-webkit-transform:scaleX(1);transform:scaleX(1)}39.04%{opacity:1}66.48%{opacity:0;-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}to{opacity:0;-webkit-transform:scaleX(1);transform:scaleX(1)}}@-webkit-keyframes incoming-call-pulse-1fX7DI{0%{opacity:0;-webkit-transform:scaleX(1);transform:scaleX(1)}0.7%{opacity:1}25.54%{opacity:0;-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}25.55%{-webkit-transform:scaleX(1);transform:scaleX(1)}25.56%{opacity:1}49.98%{opacity:0;-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}49.99%{-webkit-transform:scaleX(1);transform:scaleX(1)}50%{opacity:1}74.69%{opacity:0;-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}74.70%{-webkit-transform:scaleX(1);transform:scaleX(1)}74.71%{opacity:1}to{opacity:0;-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}}@keyframes incoming-call-pulse-1fX7DI{0%{opacity:0;-webkit-transform:scaleX(1);transform:scaleX(1)}0.7%{opacity:1}25.54%{opacity:0;-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}25.55%{-webkit-transform:scaleX(1);transform:scaleX(1)}25.56%{opacity:1}49.98%{opacity:0;-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}49.99%{-webkit-transform:scaleX(1);transform:scaleX(1)}50%{opacity:1}74.69%{opacity:0;-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}74.70%{-webkit-transform:scaleX(1);transform:scaleX(1)}74.71%{opacity:1}to{opacity:0;-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}}.clickable-1rK_Yk{cursor:pointer}.wrapper-2QE8vf{position:relative}.wrapper-2QE8vf.ringingOutgoing-mbXhhQ:after{-webkit-animation:outgoing-call-pulse-E6kWPF 2.5s ease-out infinite;animation:outgoing-call-pulse-E6kWPF 2.5s ease-out infinite}.wrapper-2QE8vf.ringingIncoming-38YcLn:after,.wrapper-2QE8vf.ringingOutgoing-mbXhhQ:after{content:"";position:absolute;pointer-events:none;left:-3px;top:-3px;width:100%;height:100%;border-radius:100%;background:transparent;border:3px solid var(--interactive-active);-webkit-transform-origin:center;transform-origin:center}.wrapper-2QE8vf.ringingIncoming-38YcLn:after{-webkit-animation:incoming-call-pulse-1fX7DI 5.407s ease-out infinite;animation:incoming-call-pulse-1fX7DI 5.407s ease-out infinite}.status-1WEaea{background-clip:padding-box;border-radius:50%;padding:4px;color:#fff;width:16px;height:16px;position:absolute;right:0;bottom:0;background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.voiceAvatar-14IynY{width:100%;height:100%;border-radius:50%;position:inherit}.voiceAvatar-14IynY.ringingOutgoing-mbXhhQ{opacity:.3}.border-Jn5IOt{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%}.border-Jn5IOt.speaking-B2MXPi{-webkit-box-shadow:inset 0 0 0 2px hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%),inset 0 0 0 3px var(--background-floating);box-shadow:inset 0 0 0 2px hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%),inset 0 0 0 3px var(--background-floating)}.app-focused .border-Jn5IOt{-webkit-transition:-webkit-box-shadow .1s ease-out;transition:-webkit-box-shadow .1s ease-out;transition:box-shadow .1s ease-out;transition:box-shadow .1s ease-out,-webkit-box-shadow .1s ease-out}.overlay-39bWkM{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;background-color:rgba(0,0,0,.6);position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%}.overlayIcon-1kEQWX{width:32px;height:32px;color:#fff}.callAvatarMask-1SLlRi{position:relative;overflow:visible}
-.container-2C7mVN{background-color:var(--background-floating);padding:8px;border-radius:4px;-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high);max-height:300px}.user-2T5PJS{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding:8px}.user-2T5PJS,.username-14V20E{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.avatar-1bMVrA{margin-right:12px;opacity:.5}.blockedNotice-jpy2eh{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:24px}.blockedButton-1dIKR_{font-size:12px;margin-left:4px;font-weight:600;color:var(--text-link);cursor:pointer}.icon-YQXQbN{background-clip:padding-box;border-radius:50%;padding:2px;background-color:var(--background-accent);color:#fff;width:12px;height:12px;position:absolute;right:-2px;top:0}.userInfo-3TMaew{margin-left:12px}
-.content-377gr8{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.banner-2InC54,.content-377gr8{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.banner-2InC54{background-color:var(--brand-experiment);margin:0;height:120px;border-top-left-radius:5px;border-top-right-radius:5px;-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative}.headerTextContainer-3F-06s{padding:16px}.headerTitle-29Z695{max-width:270px;margin-top:8px;text-align:left;font-weight:700}.caption-342S-b{text-align:left;margin-top:4px;color:#fff}.illustration-2FiZg0{position:absolute;right:0;bottom:0}.infoListContainer-1QGkta{margin-top:24px;margin-bottom:24px;padding:16px;background-color:var(--background-secondary);border-radius:8px}.divider-3Iyg3I{margin-top:16px;margin-bottom:16px}.cancelButton-3J7GgY{margin-right:8px}.backButton-HR3hNm{margin-right:auto}
-.modalContent-no-lBy{padding-bottom:24px}.blockedUsersContainer-1f-HNY{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.form-1Rg6af{-ms-flex-item-align:stretch;align-self:stretch}.topicFormItem-32kwOR{width:100%;margin-bottom:16px}.privacyFormItem-3UPvxA{width:100%;margin-top:16px}.channelSelectionFormItem-AU-meU{margin-top:16px}.textInput-2hUaEf{background-color:var(--background-secondary);border-radius:4px;margin-bottom:8px}.cancelButton-280zMn{margin-right:8px}.buttonsContainer-2X9CqD{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.privacyContainer-JsAijK{margin-top:8px;background-color:var(--background-secondary);border-radius:8px;overflow:hidden}.privacyDivider-31pNpm{width:auto;margin-left:56px}.speakerHint-ES6h0I{margin-top:8px}.itemIcon-1ef1gc{-ms-flex-negative:0;flex-shrink:0;color:var(--interactive-normal)}.privacyHelpText-2FmkDT{margin-top:8px}.privacyItemContainer-3nWJyN{padding:12px 18px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer}.privacyItemContainer-3nWJyN:hover:not(.privacyItemDisabled-2FP73k){background-color:var(--background-secondary-alt)}.privacyItemDisabled-2FP73k{opacity:.4;cursor:not-allowed}.privacyItemTextContainer-1_S5aG{margin-left:16px;margin-right:18px}.privacyItemTitleContainer-2_wy-T{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.privacyItemTitle-1epYRE{font-weight:600}.privacyItemRadio-188htN{margin-left:auto;-ms-flex-negative:0;flex-shrink:0}.radioSelected-1B_0_L{color:var(--interactive-active)}.radioNotSelected-8vztX2{color:var(--text-muted)}.radioIconForeground-3RtZiv{color:var(--control-brand-foreground)}.pill-302sLb{padding:2px 4px;margin-left:8px;border-radius:4px;text-transform:uppercase;font-weight:600;background-color:var(--brand-experiment);color:#fff}.channelName-1mXqh4{color:var(--header-primary);font-weight:700}.channelSelection-1MN6q2{margin:8px 0 24px}.label-2fBZzm{margin:24px 0 8px;text-transform:uppercase;font-weight:700}.warning-3P4oqk{margin-bottom:8px}.optionLabel-3J0Zf7{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.optionText-2xKFi5{margin-left:16px}
-.container-3hMea0{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:24px 0}.guildIcon-30yrn3{border-radius:8px;margin-bottom:16px}.subheader-3zcPkA{margin-top:8px}
-.transition-27fFQS{-webkit-transition:-webkit-transform .2s ease;transition:-webkit-transform .2s ease;transition:transform .2s ease;transition:transform .2s ease,-webkit-transform .2s ease}.directionDown-26e7eE{-webkit-transform:rotate3d(0,0,-1,0deg);transform:rotate3d(0,0,-1,0deg)}.directionRight-O8AY4M{-webkit-transform:rotate3d(0,0,-1,90deg);transform:rotate3d(0,0,-1,90deg)}.directionLeft-O8iqia{-webkit-transform:rotate3d(0,0,-1,-90deg);transform:rotate3d(0,0,-1,-90deg)}.directionUp-ZEk-_J{-webkit-transform:rotate3d(0,0,-1,180deg);transform:rotate3d(0,0,-1,180deg)}
-.illustration-3d7_Ms{height:120px;width:100%;position:relative;background-image:url(/assets/589a495db336f153c0ccac216f2ed2fb.svg);background-position:bottom;background-repeat:no-repeat;border-top-left-radius:4px;border-top-right-radius:4px}.headerContainer-BCdGSI,.illustration-3d7_Ms{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.headerContainer-BCdGSI{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:24px 16px}.header-1AQlNL{text-align:center;font-family:var(--font-display);margin-bottom:8px}.subheader-14K0Ir{text-align:center;padding:0 32px}.contentContainer-3MLVEY{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 16px;margin:0}.bulletsContainer-3omDLR{width:408px;background-color:var(--background-secondary);border-radius:8px;overflow:hidden}.scroller-10BisQ{max-height:255px;padding:0 16px}.bulletItem-2v3LOS{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:64px}.clickable-2ebqgo{cursor:pointer}.clickable-2ebqgo:hover{background-color:var(--background-secondary-alt)}.circle-1anBj0{height:40px;width:40px;border-radius:50%;background-color:var(--background-tertiary)}.bulletIcon-2xUIIO,.circle-1anBj0{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.bulletIcon-2xUIIO{width:72px}.bulletContent-F2tMpP{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;height:100%}.borderBottom-cijHjW{border-bottom:1px solid var(--background-modifier-accent)}.guildIcon-3p5gub{border-radius:8px;margin:8px 16px}.guildName-1kFdX0{font-weight:600}.caret-o3b7RH{margin-right:24px;margin-left:auto;-webkit-transform:rotate(270deg);transform:rotate(270deg)}.caret-o3b7RH,.icon-1_RaYT{color:var(--interactive-normal)}.footerContainer-3XZ7Bg{margin-top:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:none}.hint-3J_Cto{text-transform:uppercase;font-weight:600;margin-bottom:8px}.button-1Z6F2y{width:100%}
-.slideContainer-3Z0Qnk{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-height:clamp(200px,calc(100vh - 80px),660px)}
-.content-mK72R6{padding-bottom:20px}
-.container-1rxwlY{display:-webkit-box;display:-ms-flexbox;display:flex}.sparkleIcon-30-odx{height:12px;width:12px}.sparkleTop-2XxWeK{-ms-flex-item-align:start;align-self:flex-start;margin-right:auto}.sparkleBottom-KN5dmN{-ms-flex-item-align:end;align-self:flex-end;margin-left:auto}
-.body-3kE9vV{padding:24px}.headerIconContainer-3zvlVZ{margin-bottom:24px}.iconBackground-1iJ6Oq{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-tertiary);border-radius:50%;height:64px;width:64px}.headerIcon-2HH87Q{color:var(--interactive-normal)}.title-XH3OPd{margin-bottom:8px}.subtitle-2gi0Yl,.title-XH3OPd{text-align:center}
-.content-1-UQqA{padding-top:24px;padding-bottom:24px}.iconBackground-1clSpP{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-tertiary);border-radius:50%;height:64px;width:64px}.headerIcon-3g95os{color:var(--header-primary)}.subtitle-blOBaJ,.title-LSijZn{margin-top:8px;text-align:center}.cancelButton-jTE1F3{margin-right:8px}
-.content-1zA5u9{padding:24px}.header-1ptJZH{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.footer-E3VztE{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.description-CL3kMk{margin-top:8px}.theme-dark .footer-E3VztE{background-color:var(--background-tertiary)}
-.content-2xFTs5{padding-top:40px}.content-2xFTs5,.stageIconBackground-135TMe{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.stageIconBackground-135TMe{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:var(--background-tertiary);border-radius:50%;height:80px;width:80px}.stageIcon-165KZv{color:var(--header-primary)}.headerTitle-lsNnIA{margin-bottom:8px;margin-top:8px}.buttonsContainer-23PQkw,.headerSubtitle-2482V5{margin-bottom:24px}.buttonsContainer-23PQkw{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%}.button-1p2mJ5{margin:4px;width:50%}.icon-1bkaIS,.innerButton-1Y5qJS{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.icon-1bkaIS{margin-right:8px}
-.content-2ftjoC{padding-top:24px}.content-2ftjoC,.stageIconBackground-ljBnA5{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.stageIconBackground-ljBnA5{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:var(--background-tertiary);border-radius:50%;height:60px;width:60px}.stageIcon-21ZFwY{color:var(--header-primary)}.headerTitle-2e-XZw{margin-bottom:8px;margin-top:8px}.headerSubtitle-SjuGNS{margin-bottom:32px}.container-3nHkOQ{height:100%;width:100%}.slideContainer-3JfqTe{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-height:clamp(200px,calc(100vh - 80px),660px)}
-.closeButton-3oHzMa{position:absolute;-webkit-box-sizing:content-box;box-sizing:content-box;top:12px;right:4px}.content-2TX59W{text-align:center}.image-2568Gg{margin-top:24px;height:90px;width:auto}.title-1X2dN-{margin-top:16px;font-weight:700}.subtitle-2ljJ8H{margin-top:8px;margin-bottom:32px}.button-2rjtHF{width:100%}
-.applicationDetails-9QVoka{padding:24px 0}.entry-1btQtX{margin-top:8px;display:-webkit-box;display:-ms-flexbox;display:flex}.entryIcon-wz4L9Q{margin-right:8px;width:16px;height:16px;background-size:16px 16px;background-position:50%;background-repeat:no-repeat;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--text-muted)}.entryInner-2hiMQJ{font-weight:500}
-.scopes-3GJ3xw{border-bottom:1px solid var(--background-modifier-accent);padding:24px 0}.scope-J5Vnxx{margin-top:16px;display:-webkit-box;display:-ms-flexbox;display:flex}.scopeCheck-rUiN1D{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.scopeCheck-rUiN1D,.scopeTimes-7s84Xf{margin-right:12px;width:24px;height:24px;padding:2px;border-radius:50%;-webkit-box-sizing:border-box;box-sizing:border-box}.scopeTimes-7s84Xf{background-color:hsl(214,calc(var(--saturation-factor, 1)*9.9%),50.4%)}.scopeInner-1g9Pzj{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box}.scopeName-JzSRX6{font-weight:500}.sectionLabel-1pA-5F{margin-bottom:16px;font-weight:700;text-transform:uppercase;color:var(--header-secondary)}.icon-1Vf2He{width:20px;height:20px;color:#fff}
-.checkbox-3kaeSU{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.checkbox-3kaeSU.disabled-1hiCMV{opacity:.3;pointer-events:none}.checkbox-3kaeSU .checkboxInner-3yjcPe{width:18px;height:18px;position:relative;vertical-align:top;-ms-flex-negative:0;flex-shrink:0}.checkbox-3kaeSU .checkboxInner-3yjcPe:after,.checkbox-3kaeSU .checkboxInner-3yjcPe:before{content:""}.checkbox-3kaeSU .checkboxInner-3yjcPe span{position:absolute;top:0;left:0;right:0;bottom:0;border:2px solid #cdcdcd;-webkit-transition:.24s;transition:.24s;border-radius:2px;-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-3kaeSU .checkboxInner-3yjcPe+span{margin-left:8px}.checkbox-3kaeSU .checkboxInner-3yjcPe .checkboxElement-1qV33p{display:none}.checkbox-3kaeSU .checkboxInner-3yjcPe .checkboxElement-1qV33p:checked+span{background-color:var(--brand-experiment);border-color:var(--brand-experiment)}.checkbox-3kaeSU .checkboxInner-3yjcPe .checkboxElement-1qV33p:checked+span:after{content:"";position:absolute;top:0;left:4px;display:table;width:4px;height:10px;border-color:#fff;border-style:solid;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.checkbox-3kaeSU .checkboxInner-3yjcPe .checkboxElement-1qV33p:disabled+span{border-color:#cdcdcd;background-color:#f3f3f3;cursor:not-allowed}.checkbox-3kaeSU .checkboxInner-3yjcPe .checkboxElement-1qV33p:checked:disabled+span{background-color:var(--brand-experiment-300);border-color:var(--brand-experiment-300)}.checkbox-3kaeSU .checkboxInner-3yjcPe.alt-6FvZrq .checkboxElement-1qV33p+span{background:#fff;border-color:#fff}.checkbox-3kaeSU .checkboxInner-3yjcPe.alt-6FvZrq .checkboxElement-1qV33p:checked+span:after{border-color:var(--brand-experiment)}.theme-dark .checkbox-3kaeSU .checkboxInner-3yjcPe span{border-color:hsla(0,0%,100%,.2)}
-.botPermissions-1zv5Xg{border-bottom:1px solid var(--background-modifier-accent);padding:16px 0 32px}.permissionsList-B0Dh4s{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.permission-39__Fj,.permissionsList-B0Dh4s{display:-webkit-box;display:-ms-flexbox;display:flex}.permission-39__Fj{font-weight:500;margin:16px 0 0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:2;-ms-flex:2;flex:2}.permissionsLabel-2dXyOx{font-weight:500;margin-top:8px}.disabledPermissionsLabel-uwYfOz{font-weight:500;margin-top:24px}.disabledPermissionIcon-Pm3Yy8{margin-right:8px;width:18px;height:18px;border-radius:10%;background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);-webkit-box-sizing:border-box;box-sizing:border-box}.icon-23g0Dq{width:18px;height:18px;color:#fff}
-.selectorGroup-dJ6TXV{border-bottom:1px solid var(--background-modifier-accent);padding:16px 0 24px}.select-1Hqz5i{margin:8px 0;background-color:var(--background-secondary);border-radius:3px}.label-1ANrVZ{font-weight:500}.sectionLabel-1Qi0HG{font-weight:700;text-transform:uppercase;color:var(--header-secondary)}
-.botTag-2WPJ74{font-size:.625rem;text-transform:uppercase;vertical-align:top;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;text-indent:0}.px-10SIf7.botTag-2WPJ74{height:15px;padding:0 4px;margin-top:1px;border-radius:3px}.rem-2m9HGf.botTag-2WPJ74{height:.9375rem;padding:0 .275rem;margin-top:.075em;border-radius:.1875rem}.botTagRegular-2HEhHi{background:var(--brand-experiment);color:#fff}.botTagInvert-18-95s{background:#fff;color:var(--brand-experiment)}.botTagVerified-1klIIt{display:inline-block}.px-10SIf7 .botTagVerified-1klIIt{width:15px;height:15px;margin-left:-4px}.rem-2m9HGf .botTagVerified-1klIIt{width:.9375rem;height:.9375rem;margin-left:-.25rem}.botText-1526X_{position:relative;font-weight:500}.px-10SIf7 .botText-1526X_{font-size:10px;line-height:15px}.rem-2m9HGf .botText-1526X_{line-height:.9375rem}
-.header-1Gj-ua{padding:32px 0 24px;border-radius:8px 0;border-bottom:1px solid var(--background-modifier-accent);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.applicationName-212NZT{font-weight:700}.label-UzTiGn{margin-bottom:8px}.currentUser-3BMWhF,.label-UzTiGn{font-weight:500}.currentUserTag-1dfMNW{display:inline}.currentUserDiscriminator-2hSQeo{display:inline;color:var(--interactive-normal)}.logoutLink-2hi5Sf{margin-left:8px;color:var(--brand-experiment)}.headerIcons-3eFvs9{-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:24px}.ellipseGroup-3yOSIs,.headerIcons-3eFvs9{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.ellipseGroup-3yOSIs{margin:0 24px}.ellipse-34ZPbW{width:4px;height:4px;margin:0 2px;background-color:var(--header-primary);opacity:.1;border-radius:50%}.botTag-3EBhDH{margin-top:4px!important;margin-left:8px}
-.image-2jyRAK{position:absolute;top:0;left:0;opacity:0;-webkit-transition:opacity .2s linear .2s;transition:opacity .2s linear .2s}.image-2jyRAK.loaded-3PtF_J{opacity:1}
-.logo-2iEHEq{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:130px;height:36px;background:url(/assets/5724892521ce5bc348669e9f1fabe28b.svg) no-repeat}
-.canvas-3XuBXe{-webkit-transform:translateZ(0);transform:translateZ(0)}.canvas-3XuBXe,.fallbackImage-31Sk4m{position:fixed;top:0;left:0;pointer-events:none}.fallbackImage-31Sk4m{width:100%;height:85%;min-width:780px;min-height:780px;max-width:1000px;max-height:1000px;background:url(/assets/c5c565a8b7cb84db7409e4052ead36fe.png) 0 0/contain no-repeat;border:none;opacity:0;-webkit-transition:opacity .4s ease;transition:opacity .4s ease}.visible-JD5pR1{opacity:1}.embedded-30DdwH{position:absolute}
-.oauth2Wrapper-mHbF5q{min-width:280px;max-width:400px;min-height:400px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;border-radius:5px;-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high);background-color:var(--background-floating)}
-.wrapper-L5YRoB{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 16px}.header-3a78__{background-position:50%;background-repeat:no-repeat;display:inline-block}.text-23oMQC{margin-top:24px;text-align:center}.headerSuccess-_KN2IQ{width:158px;height:130px;background:url(/assets/a05716b67c484d76041bb4cc5e01698e.svg) no-repeat}.headerFailure-2bMPeV{width:92px;height:92px;background:url(/assets/65646cba67589d2e1009153620bef94a.svg) no-repeat}.closeButton-2Og9Gm{position:absolute;right:12px;top:12px;opacity:.8}
-.footer-3ZalXG{padding:16px;border-radius:0 0 5px 5px;background-color:var(--background-secondary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}@media (max-width:485px){.footer-3ZalXG{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;padding:0 16px 8px;background-color:transparent}.footer-3ZalXG button{margin-top:8px}}.authorize-3eAFPo{width:100%;height:100%}.authorize-3eAFPo,.captcha-2jlizN{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.captcha-2jlizN{padding-top:28px;padding-bottom:28px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.captchaLabel-16TXZW{font-weight:500;margin-bottom:20px}.recaptcha-16yJSA{height:80px}.content-bHl-Nl{padding:0 16px}.scrollContent-m6ynud{padding:0 8px 0 16px}
-.anchor-3Z-8Bb{color:var(--text-link);text-decoration:none}.low-saturation .anchor-3Z-8Bb{text-decoration:underline;color:var(--text-link-low-saturation)}.anchorUnderlineOnHover-2ESHQB:hover{text-decoration:underline}
-.modal-1630pA{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-sizing:border-box;box-sizing:border-box;width:400px;padding:24px;overflow:visible}.header-2cDml2{margin-bottom:16px}.button-32WdHP{-webkit-box-flex:1;-ms-flex:1 1 50%;flex:1 1 50%}.button-32WdHP:first-child{margin-left:8px}
-.keybindShortcut-1BD6Z1{font-size:12px;line-height:12px;text-transform:uppercase;font-weight:600;margin-bottom:8px;margin-right:10px;display:-webkit-box;display:-ms-flexbox;display:flex}.keybindShortcut-1BD6Z1,.keybindShortcut-1BD6Z1 span{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;height:23px}.keybindShortcut-1BD6Z1 span{background-color:var(--background-accent);border:1px solid var(--background-primary);display:block;padding:3px 6px 4px;margin-right:3px;border-radius:4px;cursor:default;min-width:14px;min-height:14px;text-align:center}.keybindShortcut-1BD6Z1 span .bindArrow-2X3Aom{width:10px;height:10px}.keybindShortcut-1BD6Z1 span .bindArrow-2X3Aom.up-2cOsD2{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.keybindShortcut-1BD6Z1 span .bindArrow-2X3Aom.left-3u1rVI{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.keybindShortcut-1BD6Z1 span .bindArrow-2X3Aom.right-CbUyiH{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.keybindShortcut-1BD6Z1 span:active{-webkit-transform:translateY(2px);transform:translateY(2px);height:21px;padding-bottom:2px}.keybindShortcutQuickSwitcher-1-Xs5c{display:inline-block;margin-right:5px;margin-bottom:0}.keybindShortcutQuickSwitcher-1-Xs5c span{margin-right:0}.keybindShortcutQuickSwitcher-1-Xs5c.up{margin-left:5px}.keybindShortcutTipsNav-1mb0yH{margin-left:4px;margin-right:0}.keybindShortcutTipsNav-1mb0yH:first-of-type{margin-left:0;margin-right:4px}.keybindShortcutTipsNav-1mb0yH:last-of-type{margin-right:4px}.keybindShortcutTipsSelect-HDyfe8:last-of-type{margin-left:16px;position:relative}.keybindShortcutTipsSelect-HDyfe8:last-of-type:before{content:"";position:absolute;top:0;left:-8px;width:1px;height:20px}.theme-light .keybindShortcut-1BD6Z1{color:#fff}.theme-light .keybindShortcut-1BD6Z1 span{border:1px solid #95989d;-webkit-box-shadow:inset 0 -4px 0 #2e3338;box-shadow:inset 0 -4px 0 #2e3338}.theme-light .keybindShortcut-1BD6Z1 span:active{-webkit-box-shadow:inset 0 -2px 0 #4f5660;box-shadow:inset 0 -2px 0 #4f5660;border:1px solid #2e3338;color:#adadad}.theme-light .keybindShortcut-1BD6Z1 span:active g{fill:#adadad}.theme-light .dim-1l4L4y span{background-color:#fff;color:#95989d}.theme-light .dim-1l4L4y span .bindArrow-2X3Aom g{fill:#95989d}.theme-light .dim-1l4L4y span:active{color:#777a7e}.theme-light .dim-1l4L4y span:active .bindArrow-2X3Aom g{fill:#777a7e}.theme-light .dark-2P8byF span{color:#95989d;-webkit-box-shadow:inset 0 -4px 0 #202225;box-shadow:inset 0 -4px 0 #202225;border-color:#202225;background-color:#4f545c}.theme-light .dark-2P8byF span .bindArrow-2X3Aom g{fill:#95989d}.theme-light .dark-2P8byF span:active{color:#777a7e;-webkit-box-shadow:inset 0 -2px 0 #242629;box-shadow:inset 0 -2px 0 #242629}.theme-light .dark-2P8byF span:active .bindArrow-2X3Aom g{fill:#777a7e}.theme-light .keybindShortcutTipsSelect-HDyfe8:last-of-type:before{background-color:#dfe0e2}.theme-dark .keybindShortcut-1BD6Z1{color:#f6f6f7}.theme-dark .keybindShortcut-1BD6Z1 span{color:#f6f6f7;-webkit-box-shadow:inset 0 -4px 0 #202225;box-shadow:inset 0 -4px 0 #202225}.theme-dark .keybindShortcut-1BD6Z1 span .bindArrow-2X3Aom g{fill:#f6f6f7}.theme-dark .keybindShortcut-1BD6Z1 span:active{color:#b9bbbe;-webkit-box-shadow:inset 0 -2px 0 #36393f;box-shadow:inset 0 -2px 0 #36393f;border:1px solid #202225}.theme-dark .keybindShortcut-1BD6Z1 span:active .bindArrow-2X3Aom g{fill:#b9bbbe}.theme-dark .dim-1l4L4y span{background-color:#72767d;color:#b9bbbe}.theme-dark .dim-1l4L4y span .bindArrow-2X3Aom g{fill:#b9bbbe}.theme-dark .dim-1l4L4y span:active{color:null}.theme-dark .dim-1l4L4y span:active .bindArrow-2X3Aom g{fill:null}.theme-dark .keybindShortcutTipsSelect-HDyfe8:last-of-type:before{background-color:#4f545c}.keybindShortcutSearchPopout-1MAfqq{-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;margin:0}.keyboardShortcuts-1s_yPt{margin:0}
-.closeButton-kcmOnx{position:absolute;top:14px;right:14px}.art-1zbbdz{background-size:contain;background-repeat:no-repeat;background-position:50%}.description-1cm6EO{line-height:1.44;margin-bottom:20px}.conflictButton-2TEeJu{height:100px;width:100%;border:1px solid;padding:20px;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.linkButtonSize-228MG-{height:38px;width:auto}.linkButton-26G8CZ{padding:0}.linkButton-26G8CZ:hover{text-decoration:underline}.retryButton-2AYLXs{margin-right:8px}.conflictButtonInner-XZrTV7{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.title-1ao9Am{font-size:12px;text-transform:uppercase;font-weight:700;letter-spacing:.5px}.buttonBody-3cgCL5{line-height:1.25;text-align:left;font-size:16px}.timestamp-2Ur99a{font-weight:700}.choiceWrapper-1m68jk{margin-top:20px;margin-bottom:20px}.choiceLine-BbJN0b{height:1px;width:100%}.choiceTitle-3e5g_W{margin:0 8px}.conflictTitle-201X8O{margin-bottom:4px}.conflictArt-2Lr21j{width:60px;height:60px;margin-right:20px}.conflictDownloadArt-36cpxM,.conflictUploadArt-3V4Em_{}.errorArt-3qzArg{width:220px;height:123px;margin-top:20px;margin-bottom:40px}.theme-dark .modal-1XR4nE{color:#dcddde}.theme-dark .conflictButton-2TEeJu{background-color:#2f3136;border-color:#202225}.theme-dark .conflictButton-2TEeJu:hover{background-color:#4f545c}.theme-dark .title-1ao9Am{color:#b9bbbe}.theme-dark .conflictUploadArt-3V4Em_{background-image:url(/assets/9fefebe24085efe085629513732efd08.svg)}.theme-dark .conflictDownloadArt-36cpxM{background-image:url(/assets/ec92991091f67ad3984517478f7a16e4.svg)}.theme-dark .errorArt-3qzArg{background-image:url(/assets/5ad409a997b726652a95dba012336127.svg)}.theme-dark .buttonBody-3cgCL5{color:#fff}.theme-dark .choiceLine-BbJN0b{background-color:rgba(79,84,92,.6)}.theme-light .modal-1XR4nE{color:#72767d}.theme-light .conflictButton-2TEeJu{background-color:hsl(180,calc(var(--saturation-factor, 1)*7.7%),97.5%);border-color:rgba(220,221,222,.6)}.theme-light .conflictButton-2TEeJu:hover{border-color:rgba(185,187,190,.6);background-color:rgba(220,221,222,.3)}.theme-light .title-1ao9Am{color:#b9bbbe}.theme-light .conflictUploadArt-3V4Em_{background-image:url(/assets/13bb78e752946d8de8634202877a82c2.svg)}.theme-light .conflictDownloadArt-36cpxM{background-image:url(/assets/35bdb177438e5bcf42c06716e31b113b.svg)}.theme-light .errorArt-3qzArg{background-image:url(/assets/2905486d806407b27588a4121422308b.svg)}.theme-light .buttonBody-3cgCL5{color:#4f545c}.theme-light .choiceLine-BbJN0b{background-color:rgba(220,221,222,.6)}
-.theme-dark .svgContentRight-VRT04v{fill:#4f545c}.theme-dark .svgContentLeft-i3sITr{fill:#40444b}.theme-dark .svgContentLines-3hGvN4,.theme-dark .svgDots-2tp4yT{fill:#72767d}.theme-dark .svgTag-3iksEu{fill:#dcddde}.theme-light .svgContentRight-VRT04v{fill:#fff}.theme-light .svgContentLeft-i3sITr,.theme-light .svgContentLines-3hGvN4{fill:#c7ccd1}.theme-light .svgDots-2tp4yT{fill:#ebedef}.theme-light .svgTag-3iksEu{fill:#9099a4}
-.wrapper-3o7UcG{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:4px;padding:16px;width:432px;height:104px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;text-indent:0;background-color:var(--background-secondary)}.titleRegion-1Npsrb,.wrapper-3o7UcG{display:-webkit-box;display:-ms-flexbox;display:flex}.titleRegion-1Npsrb{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:16px;text-transform:uppercase}.infoIcon-1WLE3n,.title-159n91{display:block;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.infoIcon-1WLE3n{width:16px;height:16px;margin-left:4px}.copyLink-2thG89{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:600;padding-right:8px;margin-left:16px;cursor:pointer}.copyLink-2thG89:before{content:"";position:absolute;top:2px;left:-8px;display:block;height:12px;width:1px;margin-right:8px;pointer-events:none}.copyLink-2thG89.copied-1nnTOy{cursor:default}.copyLinkIcon-3vb9Gr{display:block;width:16px;height:16px;margin-right:4px}.content-K0fyfa{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.infoLink-3363PK{cursor:pointer}.buildInfo-2w4mAE{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;padding-right:8px;height:40px}.button-9dbsAI{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.buttonSize-15cg_j{width:80px;height:40px}.subHead-2hL6ji{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:500}.icon-3aYPfm{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;display:block;margin-right:16px}.buildDetails-2mYzfS{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:500;font-size:16px;line-height:20px}.barLoader-2pDp68{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:84%;height:16px;border-radius:8px}.barTitle-1RhSSH{width:45%;margin-top:2px;margin-bottom:4px}.buttonLoader-2kPem2{width:80px;height:40px;border-radius:4px}.theme-dark .infoLink-3363PK{color:#b9bbbe!important}.theme-dark .copyLink-2thG89:before{background-color:#40444b}.theme-dark .buildDetails-2mYzfS,.theme-dark .copyLink-2thG89:hover,.theme-dark .infoLink-3363PK:hover{color:#f6f6f7!important}.theme-dark .copyLink-2thG89.copied-1nnTOy,.theme-dark .copyLink-2thG89.copied-1nnTOy:hover{color:var(--text-positive)}.theme-dark .barLoader-2pDp68,.theme-dark .buttonLoader-2kPem2{background-color:#40444b}.theme-light .infoLink-3363PK{color:#4f5660!important}.theme-light .copyLink-2thG89:before{background-color:#4f5660}.theme-light .buildDetails-2mYzfS,.theme-light .copyLink-2thG89:hover,.theme-light .infoLink-3363PK:hover{color:#23262a!important}.theme-light .copyLink-2thG89.copied-1nnTOy,.theme-light .copyLink-2thG89.copied-1nnTOy:hover{color:var(--text-positive)}.theme-light .barLoader-2pDp68,.theme-light .buttonLoader-2kPem2{background-color:#d2d6da}.theme-light .disabledButtonOverride-3Ntxjs{background-color:#c7ccd1!important}
-.title-3KTIjF{margin-bottom:8px}h1.title-3KTIjF{font-size:20px;line-height:1.2;font-weight:500}h2.title-3KTIjF{font-size:16px;line-height:1.25;font-weight:600}h3.title-3KTIjF{font-size:14px;line-height:1.14}h3.title-3KTIjF,h4.title-3KTIjF,h5.title-3KTIjF,h6.title-3KTIjF{font-weight:600;text-transform:uppercase}h4.title-3KTIjF,h5.title-3KTIjF,h6.title-3KTIjF{font-size:12px;line-height:1.33}.theme-dark h1.title-3KTIjF,.theme-dark h2.title-3KTIjF{color:#fff}.theme-dark h3.title-3KTIjF{color:#dcddde}.theme-dark h4.title-3KTIjF,.theme-dark h5.title-3KTIjF,.theme-dark h6.title-3KTIjF{color:#b9bbbe}.theme-light h1.title-3KTIjF,.theme-light h2.title-3KTIjF{color:#36393f}.theme-light h3.title-3KTIjF,.theme-light h4.title-3KTIjF,.theme-light h5.title-3KTIjF,.theme-light h6.title-3KTIjF{color:#72767d}
-.hljs{display:block;overflow-x:auto;padding:.5em;border-radius:4px;color:var(--header-secondary);-webkit-text-size-adjust:none;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none}.hljs-comment,.hljs-quote{color:var(--interactive-muted)}.hljs-addition,.hljs-keyword,.hljs-selector-tag{color:#859900}.hljs-doctag,.hljs-literal,.hljs-meta .hljs-meta-string,.hljs-number,.hljs-regexp,.hljs-string{color:#2aa198}.hljs-name,.hljs-section,.hljs-selector-class,.hljs-selector-id,.hljs-title{color:#268bd2}.hljs-attr,.hljs-attribute,.hljs-class .hljs-title,.hljs-template-variable,.hljs-type,.hljs-variable{color:#b58900}.hljs-bullet,.hljs-link,.hljs-meta,.hljs-meta .hljs-keyword,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-subst,.hljs-symbol{color:#cb4b16}.hljs-built_in,.hljs-deletion{color:#dc322f}.hljs-formula{background:#073642}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.markdown-11q6EU{font-size:16px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.markdown-11q6EU h1,.markdown-11q6EU h2,.markdown-11q6EU h3,.markdown-11q6EU h4,.markdown-11q6EU h5,.markdown-11q6EU h6,.markdown-11q6EU hr{margin:20px 0 8px}.markdown-11q6EU .blockquote-2-nEPK,.markdown-11q6EU ol,.markdown-11q6EU p,.markdown-11q6EU pre,.markdown-11q6EU table,.markdown-11q6EU ul{margin-top:8px}.markdown-11q6EU :first-child{margin-top:0}.markdown-11q6EU hr,.markdown-11q6EU p{margin-bottom:0}.markdown-11q6EU strong{font-weight:600}.markdown-11q6EU em{font-style:italic}.markdown-11q6EU ol li{list-style-type:decimal;margin-left:20px}.markdown-11q6EU ul{margin:0 0 12px}.markdown-11q6EU ul li{list-style-type:disc;margin:8px 0 0 20px}.markdown-11q6EU ul li:first-child{margin-top:0}.markdown-11q6EU table{border-collapse:collapse}.markdown-11q6EU th{font-weight:600}.markdown-11q6EU td,.markdown-11q6EU th{padding:8px;border-left:1px solid transparent;border-right:1px solid transparent;text-align:left}.markdown-11q6EU tr{border:1px solid transparent}.markdown-11q6EU img{border-radius:3px}.markdown-11q6EU .blockquote-2-nEPK{display:block;padding-left:8px;border-left:4px solid transparent}.markdown-11q6EU .blockquote-2-nEPK p{margin:0}.markdown-11q6EU .codeInline-1FHKS7{padding:.2em}.markdown-11q6EU .paragraph-3Ejjt0{margin-bottom:8px}.theme-dark .markdown-11q6EU{color:#b9bbbe}.theme-dark .markdown-11q6EU th{color:#fff;background-color:#202225;border-color:#4f545c}.theme-dark .markdown-11q6EU td{border-color:#4f545c}.theme-dark .markdown-11q6EU tr{color:#b9bbbe;border-color:#4f545c}.theme-dark .markdown-11q6EU tr:nth-child(2n){background-color:#2f3136}.theme-dark .markdown-11q6EU .blockquote-2-nEPK{border-left-color:#4f545c}.theme-dark .markdown-11q6EU code{background-color:#2f3136}.theme-dark .markdown-11q6EU .codeInline-1FHKS7{color:#dcddde}
-.spinner-2Ubxu6{margin-top:20px}.markdown-38ZvHn{font-size:12px;line-height:16px;padding-bottom:30px}
-.checkboxWrapper-SkhIWG{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;font-size:16px;max-width:100%}.checkboxWrapper-SkhIWG.row-3QHy4I{background-color:var(--background-secondary);padding:10px;border-radius:3px}.checkboxWrapper-SkhIWG.row-3QHy4I.checked-3_4uQ9{background-color:var(--background-tertiary);color:var(--interactive-active)}.checkboxWrapper-SkhIWG.row-3QHy4I:hover:not(.checked-3_4uQ9){background-color:var(--background-modifier-hover);color:var(--interactive-hover)}.checkboxWrapper-SkhIWG.row-3QHy4I:active:not(.checked-3_4uQ9){background-color:var(--background-modifier-active);color:var(--interactive-active)}.checkboxWrapperDisabled-36r8NK{opacity:.6}.checkboxWrapperDisabled-36r8NK.row-3QHy4I{opacity:.3}.alignTop-1ntJ4-{-webkit-box-align:top;-ms-flex-align:top;align-items:top}.alignCenter-MrlN6q{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.input-3ITkQf{position:absolute;top:0;left:0;opacity:0;margin:0;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.inputDefault-3JxKJ2,.inputDisabled-110Jqx{width:100%;height:100%;z-index:1}.inputDefault-3JxKJ2{cursor:pointer}.inputDisabled-110Jqx{cursor:not-allowed}.inputReadonly-rYU97L{cursor:default;width:0;height:0;z-index:-1}.box-mmYMsp{border-radius:3px}.round-2jCFai{border-radius:50%}.checkbox-1ix_J3{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;border-width:1px;border-style:solid;-webkit-box-sizing:border-box;box-sizing:border-box}.label-cywgfr{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-width:0}.labelClickable-11AuB8{cursor:pointer}.labelDisabled-G7bjji{cursor:not-allowed}.labelForward-1wfipV{padding-left:8px}.labelReversed-1RI8G7{padding-right:8px}.theme-light .checkbox-1ix_J3{border-color:#b9bbbe}.theme-light.checked-3_4uQ9{background:#fff}.theme-dark .checkbox-1ix_J3{border-color:#72767d}.theme-dark.checked-3_4uQ9{border-color:#fff;background-color:#fff}
-.formTitle-2sqUuS{margin-bottom:8px}.checkbox-2Yh6o3{margin-bottom:10px}.checkbox-2Yh6o3:last-child{margin-bottom:0}.checkboxLabel-1zn0UC{color:var(--interactive-normal)}.finePrint-RDL9Gx{color:var(--channels-default);font-size:12px;line-height:14px;margin-top:8px}
-.gameIcon-gg34Dz{-webkit-user-drag:none;background-size:100%;border-radius:3px;color:var(--header-primary)}.large-1DtyYQ,.medium-2wqF9d,.small-xOVx-r{-ms-flex-negative:0;flex-shrink:0}.xsmall-18LM5r{width:24px;height:24px}.small-xOVx-r{width:30px;height:30px}.medium-2wqF9d{width:40px;height:40px}.large-1DtyYQ{width:60px;height:60px}.eighty-1Bli46{width:80px;height:80px}
-.error-3iVqOt{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);font-size:14px;font-weight:500;margin-top:4px}
-.splash-9yPB5w{position:absolute;top:0;left:0;right:0;background-position:50%;background-size:cover;height:120px;-webkit-filter:grayscale(100%);filter:grayscale(100%);opacity:.1;-webkit-mask:-webkit-gradient(linear,left top,left bottom,from(#000),to(transparent));-webkit-mask:linear-gradient(#000,transparent);mask:-webkit-gradient(linear,left top,left bottom,from(#000),to(transparent));mask:linear-gradient(#000,transparent)}.gameIcon-ZGZ9aM{margin-right:20px}.gameName-3S4nBI{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;font-size:16px;font-weight:600}.installSize-1eXbBX{border-radius:3px;font-size:14px;font-weight:600;padding:5px 8px;white-space:nowrap}.divider-38zUJA{height:1px;margin:20px 0}.selector-3yEc8N{margin-bottom:20px}.installButton-2kMnvZ{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.premiumIcon-3GPLjg{margin-right:4px}.terms-1QAfrU{margin-bottom:20px}.theme-dark .gameName-3S4nBI{color:#dcddde}.theme-dark .installSize-1eXbBX{background-color:#4f545c;color:#f6f6f7}.theme-dark .divider-38zUJA{background-color:rgba(47,49,54,.6)}.theme-dark .premiumTerms-QoMVGx{color:#dcddde}
-.content-O7cZt5{padding:32px 16px}.header-2MZwao{margin-bottom:8px;text-align:center}.headerShortcut-3Je8yd{display:inline-block;margin:0 4px;-webkit-transform:translateY(-4px);transform:translateY(-4px)}.tips-2V51be{background-color:var(--background-secondary-alt);border-radius:8px;padding:16px;margin:16px 0}.tips-2V51be li{display:grid;grid-template-columns:auto 1fr}
-.wrapper-1prNyd{overflow:hidden;min-height:100vh;background-size:cover;color:var(--text-normal);background-color:var(--background-secondary);background-position:50% 0}.flexWrapper-2EgxO2{height:100vh}.image-3zK3Wt{width:254px;height:154px;margin-bottom:40px;background-size:100% 100%}.text-NLHgOm{width:440px;margin-bottom:20px}.note-450gs3{font-size:16px;color:var(--text-muted)}.note-450gs3,.title-3trS3_{text-align:center}.title-3trS3_{font-size:24px;line-height:8px;margin-bottom:24px;font-weight:600;color:var(--header-primary)}.theme-light .wrapper-1prNyd{background-image:url(/assets/da840b1a6c5d073ca1c6710f8967502a.svg)}.theme-light .image-3zK3Wt{background-image:url(/assets/9c3d15a94528df326eb741af39b9f0a9.svg)}.theme-dark .wrapper-1prNyd{background-image:url(/assets/da840b1a6c5d073ca1c6710f8967502a.svg)}.theme-dark .image-3zK3Wt{background-image:url(/assets/e9baf4b505eb54129f832556ea16538e.svg)}
-.titleBar-AC4pGV{z-index:3001;-webkit-app-region:drag;-ms-flex-negative:0;flex-shrink:0}.withFrame-haYltI{height:18px;margin-top:4px}.typeMacOS-3EmCyP{position:absolute;width:72px}.typeMacOSWithFrame-3R_i5S{}.typeMacOSWithFrame-3R_i5S .macButtons-2MuSAC{margin-top:-2px;margin-right:-70px}.typeWindows-1za-n7{}.wordmark-2iDDfm{pointer-events:none;font-size:0}.wordmarkWindows-1v0lYD{position:absolute;top:0;left:0;padding:4px 9px 3px;color:var(--text-muted)}.wordmarkMacOS-1Ch9T0{margin:0 auto}.winButton-iRh8-Z{position:relative;top:-4px;cursor:pointer;width:28px;height:22px;pointer-events:auto;-webkit-app-region:no-drag}.winButtonMinMax-PBQ2gm{}.winButtonMinMax-PBQ2gm:hover{background-color:var(--background-modifier-hover);color:var(--interactive-hover)}.winButtonMinMax-PBQ2gm:active{background-color:var(--background-modifier-active);color:var(--interactive-active)}.winButtonClose-1HsbF-{}.winButtonClose-1HsbF-:hover{color:#fff;background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.winButton-iRh8-Z{color:var(--interactive-normal)}.macButtons-2MuSAC{-webkit-box-sizing:border-box;box-sizing:border-box;width:70px;padding:10px}.macButtons-2MuSAC svg{display:block;visibility:hidden}.focused-3B0xkw .macButtons-2MuSAC:hover svg{visibility:visible}.macButton-c_Adir{-webkit-box-sizing:border-box;box-sizing:border-box;width:12px;height:12px;border-radius:50%;-webkit-app-region:no-drag}.macButtonClose-MwZ2nf,.macButtonMaximize-2FMHAO,.macButtonMinimize-3EJ6wo{}.macButtonMaximize-2FMHAO{background-color:#34c749}.macButtonMaximize-2FMHAO:active{background-color:#2a9f3a}.macButtonMinimize-3EJ6wo{background-color:#fdbc40}.macButtonMinimize-3EJ6wo:active{background-color:#ca9633}.macButtonClose-MwZ2nf{background-color:#fc615d}.macButtonClose-MwZ2nf:active{background-color:#ca4e4a}.unfocused-1QsMU3 .macButtonClose-MwZ2nf,.unfocused-1QsMU3 .macButtonMaximize-2FMHAO,.unfocused-1QsMU3 .macButtonMinimize-3EJ6wo{background-color:var(--background-modifier-accent)}
-.container-2SuFUc{position:absolute;margin:8px;bottom:0;right:0;padding:8px;white-space:pre;font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace;font-size:10px;background-color:var(--background-secondary);-webkit-box-shadow:var(--elevation-stroke),var(--elevation-high);box-shadow:var(--elevation-stroke),var(--elevation-high);border-radius:3px;pointer-events:all;z-index:1001;min-height:5em;width:320px}.containerMinimized-3FMdcw{width:auto;min-height:auto}.content-3Xc0iT{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;min-height:5em}.contentMinimized-2138DT{display:none}.notTracked-g-p2CU{color:var(--text-muted)}.label-1AJL-4{display:-webkit-box;display:-ms-flexbox;display:flex}.baseIcon-21Qr71{width:12px;height:12px}.iconNotTracked-1vjQS1{color:hsl(210,calc(var(--saturation-factor, 1)*9.8%),80%)}.iconTracked-kluQMo{color:hsl(139,calc(var(--saturation-factor, 1)*85.6%),64.5%)}.minimizeButton-jig842{position:absolute;top:0;right:0;padding:8px;cursor:pointer}.jsonSection-1NbdLM{margin-left:8px;margin-bottom:8px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.stack-e8PBNo{color:var(--text-muted)}.current-26YhOj,.stack-e8PBNo{}
-.downloadApps-wbBFdZ{border-radius:5px;min-width:880px;min-height:387px}.downloadApps-wbBFdZ,.downloadApps-wbBFdZ .contentWrapper-37w9gg{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.downloadApps-wbBFdZ .contentWrapper-37w9gg{text-decoration:none!important}.downloadApps-wbBFdZ .inner-2LETmR{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap;display:-webkit-box;display:-ms-flexbox;display:flex;margin:10px}.downloadApps-wbBFdZ .header-nJMe-Q{text-align:center;text-transform:uppercase;font-weight:700;font-size:22px;padding:20px 0;margin:0;color:#737f8d}.downloadApps-wbBFdZ .footer-1nkeBm{text-align:center;font-size:14px;margin-top:6px;color:#99aab5}.downloadApps-wbBFdZ .footer-1nkeBm a{font-weight:700;color:var(--text-link);text-decoration:none;cursor:pointer}.downloadApps-wbBFdZ .footer-1nkeBm a:hover{text-decoration:underline}.downloadApps-wbBFdZ .platformsWrap-m7IVu3{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;display:-webkit-box;display:-ms-flexbox;display:flex}.downloadApps-wbBFdZ .platforms-28Rb-3{display:-webkit-box;display:-ms-flexbox;display:flex;margin:24px}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236{-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;border:2px solid #99aab5;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-negative:0;flex-shrink:0;border-radius:3px;margin-left:15px}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236 .iconWrap-1pnF3w{position:relative;-ms-flex-item-align:center;align-self:center;margin:25px 0;width:100px;height:100px}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236 .icon-2Pk7pb{-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out;background-repeat:no-repeat;position:absolute;-ms-flex-item-align:center;align-self:center;width:100%;height:100%}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236 .icon-2Pk7pb.active-iLSdWQ{opacity:0}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236 .icon-2Pk7pb.apple-1fKN59{background-image:url(/assets/57568e1cfc37c81cf56db9498b4f128a.svg)}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236 .icon-2Pk7pb.apple-1fKN59.active-iLSdWQ{background-image:url(/assets/7942fed393a5e1b2d9ed25945ab5b4e3.svg)}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236 .icon-2Pk7pb.android-gGrHJu{background-image:url(/assets/d73fd4014c02b360d9529a720ecb7c44.svg)}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236 .icon-2Pk7pb.android-gGrHJu.active-iLSdWQ{background-image:url(/assets/7b3f4d1f611235db197af44d0e11280e.svg)}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236 .icon-2Pk7pb.windows-29yOum{background-image:url(/assets/d6221c5e88f5cb89f125868c077e9859.svg)}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236 .icon-2Pk7pb.windows-29yOum.active-iLSdWQ{background-image:url(/assets/cf7a33d15d4ad22393f6e7e0b7e28494.svg)}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236 .icon-2Pk7pb.linux-15cW1y{background-image:url(/assets/a3bee2061afed80c5bd76ff38cd18f0e.svg)}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236 .icon-2Pk7pb.linux-15cW1y.active-iLSdWQ{background-image:url(/assets/f223a2eb3651bb974abbcf0e4a869932.svg)}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236 .icon-2Pk7pb.ios-Z7K-rr{background-image:url(/assets/0c460e9b848f5c4cc964ae9c62c0f9b9.svg)}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236 .icon-2Pk7pb.ios-Z7K-rr.active-iLSdWQ{background-image:url(/assets/7ec21c56bfc63176a463e1b7e8fdb45c.svg)}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236:first-child{margin-left:0}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236 p{text-transform:uppercase;font-size:13px;margin:5px 0;text-align:center;font-weight:500;color:#99aab5}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236 .downloadButtons-3H1BTc{display:-webkit-box;display:-ms-flexbox;display:flex}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236 .downloadButtons-3H1BTc.list-3wJ7Rg{padding:0 20px}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236 .downloadButtons-3H1BTc.list-3wJ7Rg .downloadButton-1bWXpg{margin:20px 5px;width:65px}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236 .downloadButton-1bWXpg{-webkit-transition:background-color .3s ease-in-out;transition:background-color .3s ease-in-out;background-color:#99aab5;text-decoration:none;text-align:center;border-radius:3px;font-weight:500;font-size:16px;padding:12px 0;color:#fff;width:150px;margin:20px}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236.active-iLSdWQ{-webkit-transform:scale(1.025);transform:scale(1.025);border-color:var(--brand-experiment)}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236.active-iLSdWQ .icon-2Pk7pb{opacity:0}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236.active-iLSdWQ .icon-2Pk7pb.active-iLSdWQ{opacity:1}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236.active-iLSdWQ p{color:var(--brand-experiment)}.downloadApps-wbBFdZ .platforms-28Rb-3 .platform-iik236.active-iLSdWQ .downloadButton-1bWXpg{background-color:var(--brand-experiment)}
-.qrCodeOverlay-3sEnfP{width:100%;height:100%;position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.qrCodeOverlay-3sEnfP img{width:40px;height:40px;image-rendering:crisp-edges}.qrCodeContainer-EYitqX{display:-webkit-box;display:-ms-flexbox;display:flex;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:relative}
-.container-HublYr{gap:16px}.container-HublYr,.mobileContainer-1x7CLQ{display:-webkit-box;display:-ms-flexbox;display:flex}.mobileContainer-1x7CLQ{background-color:#fff;padding:24px;border-radius:8px;gap:24px}.subcontainer-3wtLI-{width:320px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.header-2lqoyd{font-family:var(--font-display);font-size:20px;color:#000;font-weight:700;margin-top:16px}.subheader-AECc1B{margin-top:12px;font-size:16px;color:#4f5660}.buttonContainer-3lQJkz{display:-webkit-box;display:-ms-flexbox;display:flex;gap:12px;margin-top:24px}.downloadButton-2QokFP{height:40px;width:132px}.desktopDownloadButton-u02XQl{width:100%;margin-top:auto;height:40px}.linuxDownloadButtonContainer-3nzYxz{display:-webkit-box;display:-ms-flexbox;display:flex;gap:12px;margin-top:auto;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.linuxDownloadButton-3_MACn{width:60px;height:40px}.desktopButtonContainer-1fgize{display:grid;gap:12px;margin-top:24px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;grid-row:auto auto;grid-template-columns:140px 140px}.desktopDownloadButtonFixed-2YZhzj{min-width:100px;height:40px}.mobileImageContainer-2Tscm0{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.mobileImage-DY1nTe{position:relative;top:24px;width:276px;height:308px}.desktopContainer-spQem0{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#fff;border-radius:8px;padding:24px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:364px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.desktopHeader-1LNLub{font-family:var(--font-display);font-size:20px;color:#000;font-weight:700;margin-top:16px;gap:initial}.desktopSubHeader-3UUZGI{margin-top:12px;color:#4f5660;font-size:16px}.laptopImage-3RG2nk{width:264px;height:158px}.desktopSubcontainer-23BuVt{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%}@media (max-width:1400px){.container-HublYr{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:684px}.desktopContainer-spQem0{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;width:100%;max-width:100%;gap:66px;text-align:initial;padding-right:48px}.header-2lqoyd{font-size:25px}.laptopImage-3RG2nk{width:214px;height:128px}.desktopDownloadButton-u02XQl{width:132px}.desktopHeader-1LNLub{margin-top:0}.desktopButtonContainer-1fgize,.linuxDownloadButtonContainer-3nzYxz{-webkit-box-pack:initial;-ms-flex-pack:initial;justify-content:normal}}
-[data-popout-root],html{--brand-experiment-100:hsl(240,calc(var(--saturation-factor, 1)*77.8%),98.2%);--brand-experiment-130:hsl(236,calc(var(--saturation-factor, 1)*87.5%),96.9%);--brand-experiment-160:hsl(235,calc(var(--saturation-factor, 1)*84.6%),94.9%);--brand-experiment-200:hsl(236,calc(var(--saturation-factor, 1)*83.3%),92.9%);--brand-experiment-230:hsl(236,calc(var(--saturation-factor, 1)*87%),91%);--brand-experiment-260:hsl(235,calc(var(--saturation-factor, 1)*86.2%),88.6%);--brand-experiment-300:hsl(235,calc(var(--saturation-factor, 1)*86.1%),85.9%);--brand-experiment-330:hsl(235,calc(var(--saturation-factor, 1)*85.1%),81.6%);--brand-experiment-360:hsl(235,calc(var(--saturation-factor, 1)*86.1%),77.5%);--brand-experiment-400:hsl(235,calc(var(--saturation-factor, 1)*86.1%),71.8%);--brand-experiment-430:hsl(235,calc(var(--saturation-factor, 1)*85.7%),69.8%);--brand-experiment-460:hsl(235,calc(var(--saturation-factor, 1)*85.5%),67.5%);--brand-experiment:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%);--brand-experiment-500:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%);--brand-experiment-530:hsl(235,calc(var(--saturation-factor, 1)*66.7%),58.8%);--brand-experiment-560:hsl(235,calc(var(--saturation-factor, 1)*51.4%),52.4%);--brand-experiment-600:hsl(235,calc(var(--saturation-factor, 1)*46.7%),44.1%);--brand-experiment-630:hsl(235,calc(var(--saturation-factor, 1)*46.7%),38.2%);--brand-experiment-660:hsl(235,calc(var(--saturation-factor, 1)*47.1%),33.3%);--brand-experiment-700:hsl(235,calc(var(--saturation-factor, 1)*47%),25.9%);--brand-experiment-730:hsl(235,calc(var(--saturation-factor, 1)*46.8%),24.3%);--brand-experiment-760:hsl(234,calc(var(--saturation-factor, 1)*46.9%),22.2%);--brand-experiment-800:hsl(235,calc(var(--saturation-factor, 1)*47.5%),19.4%);--brand-experiment-830:hsl(235,calc(var(--saturation-factor, 1)*47.4%),14.9%);--brand-experiment-860:hsl(235,calc(var(--saturation-factor, 1)*46.9%),9.6%);--brand-experiment-900:hsl(233,calc(var(--saturation-factor, 1)*50%),3.1%);--brand-experiment-05a:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,0.05);--brand-experiment-10a:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,0.1);--brand-experiment-15a:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,0.15);--brand-experiment-20a:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,0.2);--brand-experiment-25a:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,0.25);--brand-experiment-30a:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,0.3);--brand-experiment-35a:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,0.35);--brand-experiment-40a:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,0.4);--brand-experiment-45a:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,0.45);--brand-experiment-50a:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,0.5);--brand-experiment-55a:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,0.55);--brand-experiment-60a:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,0.6);--brand-experiment-65a:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,0.65);--brand-experiment-70a:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,0.7);--brand-experiment-75a:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,0.75);--brand-experiment-80a:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,0.8);--brand-experiment-85a:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,0.85);--brand-experiment-90a:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,0.9);--brand-experiment-95a:hsla(235,calc(var(--saturation-factor, 1)*85.6%),64.7%,0.95);--control-brand-foreground:var(--control-brand-foreground-new)}[data-popout-root].low-saturation,html.low-saturation{--control-brand-foreground:var(--interactive-normal)}
-.root-3R2ngo{position:absolute;top:0;bottom:0;left:0;right:0;contain:strict;pointer-events:all}.enter-1qIQaf,.exit-1xyzxd{-webkit-transition-duration:.15s;transition-duration:.15s;-webkit-transition-property:opacity,-webkit-transform;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.enter-1qIQaf{opacity:0;-webkit-transform:scale(1.1);transform:scale(1.1)}.enterActive-14DLLh,.enterDone-2zvtsK,.exit-1xyzxd{opacity:1;-webkit-transform:scale(1);transform:scale(1)}.exitActive-JZFsGn,.exitDone-2Q591Q{opacity:0;-webkit-transform:scale(1.1);transform:scale(1.1)}
-.errorPage-u8SYh4{width:100%}
-.emoji{-o-object-fit:contain;object-fit:contain;width:1.375em;height:1.375em;vertical-align:bottom}.emoji.jumboable{width:3rem;height:3rem;min-height:3rem}.loading-Ags1CY{position:absolute;width:100%;height:100vh;background:var(--background-secondary);color:var(--text-normal)}
-.modal-3c3bKg{position:fixed;top:0;left:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:100%;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:distribute;align-content:space-around;padding-top:60px;padding-bottom:60px;z-index:1000;opacity:0;pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box}@media (max-height:600px){.modal-3c3bKg{padding-top:20px;padding-bottom:20px}}.inner-1ilYF7{position:relative;pointer-events:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:0}
-.app-1q1i1E,.mobileApp-13Vx-n{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;z-index:auto}.mobileApp-13Vx-n{overflow:auto}
-.modal-yWgWj-{border-radius:5px;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:0}.theme-dark .modal-yWgWj-{background-color:#36393f;-webkit-box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2)}.theme-light .modal-yWgWj-{background:#fff;-webkit-box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1);box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1)}.sizeSmall-1jtLQy{width:440px;max-height:660px;min-height:200px}.sizeMedium-df47zS{width:600px;max-height:800px;min-height:400px}.sizeLarge-2yOtf1{min-width:800px;max-width:960px;min-height:400px}@media (max-width:485px){.sizeLarge-2yOtf1,.sizeMedium-df47zS,.sizeSmall-1jtLQy{min-width:auto;width:96%;-ms-flex-item-align:center;align-self:center;max-height:100vh}.fullscreenOnMobile-1aglG_{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;border-radius:0;overflow-y:auto}.fullscreenOnMobile-1aglG_ .footer-3rDWdC,.fullscreenOnMobile-1aglG_ .header-2tA9Os{border-radius:0}.hideOnFullscreen-2tpqvf{display:none}}
-.app-2rEoOp{position:absolute;top:0;right:0;bottom:0;left:0;background-color:var(--background-tertiary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.app-2rEoOp button{cursor:pointer}.layers-3q14ss{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;min-width:0;min-height:0}
-.art-RyCKMR{width:220px;height:110px;background-position:50%;background-repeat:no-repeat;background-size:contain;margin:16px auto}.theme-dark .art-RyCKMR{background-image:url(/assets/9f670a7821c663913c393f5df62e63d7.svg)}.theme-light .art-RyCKMR{background-image:url(/assets/baf3bb2ef44dd152825ced96e0c8ae3e.svg)}
-a,abbr,acronym,address,applet,big,blockquote,body,caption,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,form,h1,h2,h3,h4,h5,h6,html,iframe,img,ins,kbd,label,legend,li,object,ol,p,pre,q,s,samp,small,span,strike,strong,table,tbody,td,tfoot,th,thead,tr,tt,ul,var{margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-family:inherit;font-size:100%;vertical-align:baseline}a{color:var(--text-link);text-decoration:none;cursor:pointer}a img{border:none}body{line-height:1;margin:0;padding:0;font-family:var(--font-primary);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:transparent}p{margin:14px 0}ol,ul{list-style:none}::-webkit-input-placeholder,input,select,textarea{font-family:var(--font-primary);font-weight:400}::-moz-placeholder,input,select,textarea{font-family:var(--font-primary);font-weight:400}:-ms-input-placeholder,input,select,textarea{font-family:var(--font-primary);font-weight:400}::placeholder,input,select,textarea{font-family:var(--font-primary);font-weight:400}@media (-webkit-max-device-pixel-ratio:1){.theme-light ::-webkit-input-placeholder,.theme-light input,.theme-light select,.theme-light textarea{font-weight:500}.theme-light ::-moz-placeholder,.theme-light input,.theme-light select,.theme-light textarea{font-weight:500}.theme-light :-ms-input-placeholder,.theme-light input,.theme-light select,.theme-light textarea{font-weight:500}.theme-light ::placeholder,.theme-light input,.theme-light select,.theme-light textarea{font-weight:500}}strong{font-weight:600}button{font-family:var(--font-primary);font-weight:500;border:0;cursor:pointer}code{font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace;font-size:14px;line-height:16px}:root{--font-primary:Whitney,"Helvetica Neue",Helvetica,Arial,sans-serif;--font-display:Ginto,"Helvetica Neue",Helvetica,Arial,sans-serif;--font-code:Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;--font-korean:Whitney,"Apple SD Gothic Neo","NanumBarunGothic","\B9D1\C740   \ACE0\B515","Malgun Gothic",Gulim,굴림,Dotum,돋움,"Helvetica Neue",Helvetica,Arial,sans-serif;--font-japanese:Whitney,Hiragino Sans,"\30D2\30E9\30AE\30CE\89D2\30B4   ProN W3","Hiragino Kaku Gothic ProN","\30E1\30A4\30EA\30AA",Meiryo,Osaka,"MS PGothic","Helvetica Neue",Helvetica,Arial,sans-serif;--font-chinese-simplified:Whitney,"Microsoft YaHei New",微软雅黑,"Microsoft Yahei","Microsoft JhengHei",宋体,SimSun,"Helvetica Neue",Helvetica,Arial,sans-serif;--font-chinese-traditional:Whitney,"Microsoft JhengHei",微軟正黑體,"Microsoft JhengHei UI","Microsoft YaHei",微軟雅黑,宋体,SimSun,"Helvetica Neue",Helvetica,Arial,sans-serif}@font-face{font-family:Whitney;font-weight:300;src:url(/assets/6c6374bad0b0b6d204d8d6dc4a18d820.woff) format("woff")}@font-face{font-family:Whitney;font-weight:400;src:url(/assets/e8acd7d9bf6207f99350ca9f9e23b168.woff) format("woff")}@font-face{font-family:Whitney;font-weight:500;src:url(/assets/3bdef1251a424500c1b3a78dea9b7e57.woff) format("woff")}@font-face{font-family:Whitney;font-weight:600;src:url(/assets/be0060dafb7a0e31d2a1ca17c0708636.woff) format("woff")}@font-face{font-family:Whitney;font-weight:700;src:url(/assets/8e12fb4f14d9c4592eb8ec9f22337b04.woff) format("woff")}@font-face{font-family:Ginto;font-weight:300;src:url(/assets/148d0f25ba9c02a9190be23e882c7f87.woff) format("woff")}@font-face{font-family:Ginto;font-weight:400;src:url(/assets/32c4f766e4892c054dfd367dbe0fc6dc.woff) format("woff")}@font-face{font-family:Ginto;font-weight:500;src:url(/assets/32c4f766e4892c054dfd367dbe0fc6dc.woff) format("woff")}@font-face{font-family:Ginto;font-weight:600;src:url(/assets/88055567e3d928bcb1e67e967081572e.woff) format("woff")}@font-face{font-family:Ginto;font-weight:700;src:url(/assets/746a4f241e03deffc59b08c5650cf458.woff) format("woff")}@font-face{font-family:Ginto;font-weight:300;font-style:italic;src:url(/assets/26ec135289ee1c4e5439e30fa7d771b0.woff) format("woff")}@font-face{font-family:Ginto;font-weight:400;font-style:italic;src:url(/assets/7a504226cbb79a1a6990a72266007030.woff) format("woff")}@font-face{font-family:Ginto;font-weight:500;font-style:italic;src:url(/assets/7a504226cbb79a1a6990a72266007030.woff) format("woff")}@font-face{font-family:Ginto;font-weight:600;font-style:italic;src:url(/assets/4ea3faef5f6c0c74eb4d5e1a4a5de0b4.woff) format("woff")}@font-face{font-family:Ginto;font-weight:700;font-style:italic;src:url(/assets/09788e4fa057f2e0067e13209e56c8a7.woff) format("woff")}.theme-dark{--header-primary:#fff;--header-secondary:#b9bbbe;--text-normal:#dcddde;--text-muted:#72767d;--text-link:hsl(197,calc(var(--saturation-factor, 1)*100%),47.8%);--text-link-low-saturation:hsl(197,calc(var(--saturation-factor, 1)*100%),52.9%);--text-positive:hsl(139,calc(var(--saturation-factor, 1)*66.8%),58.6%);--text-warning:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%);--text-danger:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);--interactive-normal:#b9bbbe;--interactive-hover:#dcddde;--interactive-active:#fff;--interactive-muted:#4f545c;--background-primary:#36393f;--background-secondary:#2f3136;--background-secondary-alt:#292b2f;--background-tertiary:#202225;--background-accent:#4f545c;--background-floating:#18191c;--background-mobile-primary:#36393f;--background-mobile-secondary:#2f3136;--background-modifier-hover:rgba(79,84,92,0.16);--background-modifier-active:rgba(79,84,92,0.24);--background-modifier-selected:rgba(79,84,92,0.32);--background-modifier-accent:hsla(0,0%,100%,0.06);--info-positive-text:#fff;--info-warning-text:#fff;--info-danger-text:#fff;--info-help-background:hsla(197,calc(var(--saturation-factor, 1)*100%),47.8%,0.1);--info-help-foreground:hsl(197,calc(var(--saturation-factor, 1)*100%),47.8%);--info-help-text:#fff;--status-warning-text:#000;--scrollbar-thin-thumb:#202225;--scrollbar-thin-track:transparent;--scrollbar-auto-thumb:#202225;--scrollbar-auto-track:hsl(210,calc(var(--saturation-factor, 1)*9.8%),20%);--scrollbar-auto-scrollbar-color-thumb:#202225;--scrollbar-auto-scrollbar-color-track:#2f3136;--elevation-stroke:0 0 0 1px rgba(4,4,5,0.15);--elevation-low:0 1px 0 rgba(4,4,5,0.2),0 1.5px 0 rgba(6,6,7,0.05),0 2px 0 rgba(4,4,5,0.05);--elevation-medium:0 4px 4px rgba(0,0,0,0.16);--elevation-high:0 8px 16px rgba(0,0,0,0.24);--logo-primary:#fff;--control-brand-foreground:hsl(227,calc(var(--saturation-factor, 1)*57.9%),77.6%);--control-brand-foreground-new:hsl(235,calc(var(--saturation-factor, 1)*86.1%),77.5%);--background-mentioned:hsla(38,calc(var(--saturation-factor, 1)*95.7%),54.1%,0.1);--background-mentioned-hover:hsla(38,calc(var(--saturation-factor, 1)*95.7%),54.1%,0.08);--background-message-hover:rgba(4,4,5,0.07);--channels-default:#8e9297;--guild-header-text-shadow:0 1px 1px rgba(0,0,0,0.4);--channeltextarea-background:#40444b;--activity-card-background:#202225;--textbox-markdown-syntax:#8e9297;--deprecated-card-bg:rgba(32,34,37,0.6);--deprecated-card-editable-bg:rgba(32,34,37,0.3);--deprecated-store-bg:#36393f;--deprecated-quickswitcher-input-background:#72767d;--deprecated-quickswitcher-input-placeholder:hsla(0,0%,100%,0.3);--deprecated-text-input-bg:rgba(0,0,0,0.1);--deprecated-text-input-border:rgba(0,0,0,0.3);--deprecated-text-input-border-hover:#040405;--deprecated-text-input-border-disabled:#202225;--deprecated-text-input-prefix:#dcddde}.theme-dark,.theme-light{--info-positive-background:hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,0.1);--info-positive-foreground:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);--info-warning-background:hsla(38,calc(var(--saturation-factor, 1)*95.7%),54.1%,0.1);--info-warning-foreground:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%);--info-danger-background:hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,0.1);--info-danger-foreground:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);--status-positive-background:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);--status-positive-text:#fff;--status-warning-background:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%);--status-danger-background:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);--status-danger-text:#fff;--focus-primary:hsl(197,calc(var(--saturation-factor, 1)*100%),47.8%)}.theme-light{--header-primary:#060607;--header-secondary:#4f5660;--text-normal:#2e3338;--text-muted:#747f8d;--text-link:hsl(212,calc(var(--saturation-factor, 1)*100%),43.9%);--text-link-low-saturation:hsl(212,calc(var(--saturation-factor, 1)*100%),43.9%);--text-positive:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);--text-warning:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%);--text-danger:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);--interactive-normal:#4f5660;--interactive-hover:#2e3338;--interactive-active:#060607;--interactive-muted:#c7ccd1;--background-primary:#fff;--background-secondary:#f2f3f5;--background-secondary-alt:#ebedef;--background-tertiary:#e3e5e8;--background-accent:#747f8d;--background-floating:#fff;--background-mobile-primary:#f8f9f9;--background-mobile-secondary:#fff;--background-modifier-hover:rgba(116,127,141,0.08);--background-modifier-active:rgba(116,127,141,0.16);--background-modifier-selected:rgba(116,127,141,0.24);--background-modifier-accent:rgba(6,6,7,0.08);--info-positive-text:#000;--info-warning-text:#000;--info-danger-text:#000;--info-help-background:hsla(212,calc(var(--saturation-factor, 1)*100%),43.9%,0.1);--info-help-foreground:hsl(212,calc(var(--saturation-factor, 1)*100%),43.9%);--info-help-text:#000;--status-warning-text:#fff;--scrollbar-thin-thumb:rgba(79,84,92,0.3);--scrollbar-thin-track:transparent;--scrollbar-auto-thumb:#ccc;--scrollbar-auto-track:#f2f2f2;--scrollbar-auto-scrollbar-color-thumb:#e3e5e8;--scrollbar-auto-scrollbar-color-track:#f2f3f5;--elevation-stroke:0 0 0 1px rgba(6,6,7,0.08);--elevation-low:0 1px 0 rgba(6,6,7,0.1),0 1.5px 0 rgba(6,6,7,0.025),0 2px 0 rgba(6,6,7,0.025);--elevation-medium:0 4px 4px rgba(0,0,0,0.08);--elevation-high:0 8px 16px rgba(0,0,0,0.16);--logo-primary:hsl(227,calc(var(--saturation-factor, 1)*58.4%),65.1%);--control-brand-foreground:hsl(227,calc(var(--saturation-factor, 1)*58.4%),65.1%);--control-brand-foreground-new:hsl(235,calc(var(--saturation-factor, 1)*85.6%),64.7%);--background-mentioned:hsla(38,calc(var(--saturation-factor, 1)*95.7%),54.1%,0.1);--background-mentioned-hover:hsla(38,calc(var(--saturation-factor, 1)*95.7%),54.1%,0.2);--background-message-hover:rgba(6,6,7,0.02);--channels-default:#6a7480;--guild-header-text-shadow:0 1px 1px hsla(0,0%,100%,0.4);--channeltextarea-background:#ebedef;--activity-card-background:#fff;--textbox-markdown-syntax:#6a7480;--deprecated-card-bg:#f8f9f9;--deprecated-card-editable-bg:rgba(246,246,247,0.6);--deprecated-store-bg:#f8f9f9;--deprecated-quickswitcher-input-background:#fff;--deprecated-quickswitcher-input-placeholder:rgba(79,84,92,0.3);--deprecated-text-input-bg:rgba(79,84,92,0.02);--deprecated-text-input-border:rgba(79,84,92,0.3);--deprecated-text-input-border-hover:#b9bbbe;--deprecated-text-input-border-disabled:#dcddde;--deprecated-text-input-prefix:#b9bbbe}.appMount-3lHmkl,body,html{height:100%;width:100%}.appMount-3lHmkl{position:absolute;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.appMount-3lHmkl,body{background-color:var(--background-tertiary);text-rendering:optimizeLegibility}.overlay .appMount-3lHmkl,.overlay body{background:transparent}::-webkit-input-placeholder,body,button,input,select,textarea{font-family:var(--font-primary);text-rendering:optimizeLegibility}::-moz-placeholder,body,button,input,select,textarea{font-family:var(--font-primary);text-rendering:optimizeLegibility}:-ms-input-placeholder,body,button,input,select,textarea{font-family:var(--font-primary);text-rendering:optimizeLegibility}::placeholder,body,button,input,select,textarea{font-family:var(--font-primary);text-rendering:optimizeLegibility}html:lang(ja) ::-webkit-input-placeholder,html:lang(ja) body,html:lang(ja) button,html:lang(ja) input,html:lang(ja) select,html:lang(ja) textarea,html:lang(ja-JP) ::-webkit-input-placeholder,html:lang(ja-JP) body,html:lang(ja-JP) button,html:lang(ja-JP) input,html:lang(ja-JP) select,html:lang(ja-JP) textarea{font-family:var(--font-japanese)}html:lang(ja) ::-moz-placeholder,html:lang(ja) body,html:lang(ja) button,html:lang(ja) input,html:lang(ja) select,html:lang(ja) textarea,html:lang(ja-JP) ::-moz-placeholder,html:lang(ja-JP) body,html:lang(ja-JP) button,html:lang(ja-JP) input,html:lang(ja-JP) select,html:lang(ja-JP) textarea{font-family:var(--font-japanese)}html:lang(ja) :-ms-input-placeholder,html:lang(ja) body,html:lang(ja) button,html:lang(ja) input,html:lang(ja) select,html:lang(ja) textarea,html:lang(ja-JP) :-ms-input-placeholder,html:lang(ja-JP) body,html:lang(ja-JP) button,html:lang(ja-JP) input,html:lang(ja-JP) select,html:lang(ja-JP) textarea{font-family:var(--font-japanese)}html:lang(ja) ::placeholder,html:lang(ja) body,html:lang(ja) button,html:lang(ja) input,html:lang(ja) select,html:lang(ja) textarea,html:lang(ja-JP) ::placeholder,html:lang(ja-JP) body,html:lang(ja-JP) button,html:lang(ja-JP) input,html:lang(ja-JP) select,html:lang(ja-JP) textarea{font-family:var(--font-japanese)}html:lang(ko) ::-webkit-input-placeholder,html:lang(ko) body,html:lang(ko) button,html:lang(ko) input,html:lang(ko) select,html:lang(ko) textarea{font-family:var(--font-korean)}html:lang(ko) ::-moz-placeholder,html:lang(ko) body,html:lang(ko) button,html:lang(ko) input,html:lang(ko) select,html:lang(ko) textarea{font-family:var(--font-korean)}html:lang(ko) :-ms-input-placeholder,html:lang(ko) body,html:lang(ko) button,html:lang(ko) input,html:lang(ko) select,html:lang(ko) textarea{font-family:var(--font-korean)}html:lang(ko) ::placeholder,html:lang(ko) body,html:lang(ko) button,html:lang(ko) input,html:lang(ko) select,html:lang(ko) textarea{font-family:var(--font-korean)}html:lang(zh-CN) ::-webkit-input-placeholder,html:lang(zh-CN) body,html:lang(zh-CN) button,html:lang(zh-CN) input,html:lang(zh-CN) select,html:lang(zh-CN) textarea{font-family:var(--font-chinese-simplified)}html:lang(zh-CN) ::-moz-placeholder,html:lang(zh-CN) body,html:lang(zh-CN) button,html:lang(zh-CN) input,html:lang(zh-CN) select,html:lang(zh-CN) textarea{font-family:var(--font-chinese-simplified)}html:lang(zh-CN) :-ms-input-placeholder,html:lang(zh-CN) body,html:lang(zh-CN) button,html:lang(zh-CN) input,html:lang(zh-CN) select,html:lang(zh-CN) textarea{font-family:var(--font-chinese-simplified)}html:lang(zh-CN) ::placeholder,html:lang(zh-CN) body,html:lang(zh-CN) button,html:lang(zh-CN) input,html:lang(zh-CN) select,html:lang(zh-CN) textarea{font-family:var(--font-chinese-simplified)}html:lang(zh-HK) ::-webkit-input-placeholder,html:lang(zh-HK) body,html:lang(zh-HK) button,html:lang(zh-HK) input,html:lang(zh-HK) select,html:lang(zh-HK) textarea,html:lang(zh-TW) ::-webkit-input-placeholder,html:lang(zh-TW) body,html:lang(zh-TW) button,html:lang(zh-TW) input,html:lang(zh-TW) select,html:lang(zh-TW) textarea{font-family:var(--font-chinese-traditional)}html:lang(zh-HK) ::-moz-placeholder,html:lang(zh-HK) body,html:lang(zh-HK) button,html:lang(zh-HK) input,html:lang(zh-HK) select,html:lang(zh-HK) textarea,html:lang(zh-TW) ::-moz-placeholder,html:lang(zh-TW) body,html:lang(zh-TW) button,html:lang(zh-TW) input,html:lang(zh-TW) select,html:lang(zh-TW) textarea{font-family:var(--font-chinese-traditional)}html:lang(zh-HK) :-ms-input-placeholder,html:lang(zh-HK) body,html:lang(zh-HK) button,html:lang(zh-HK) input,html:lang(zh-HK) select,html:lang(zh-HK) textarea,html:lang(zh-TW) :-ms-input-placeholder,html:lang(zh-TW) body,html:lang(zh-TW) button,html:lang(zh-TW) input,html:lang(zh-TW) select,html:lang(zh-TW) textarea{font-family:var(--font-chinese-traditional)}html:lang(zh-HK) ::placeholder,html:lang(zh-HK) body,html:lang(zh-HK) button,html:lang(zh-HK) input,html:lang(zh-HK) select,html:lang(zh-HK) textarea,html:lang(zh-TW) ::placeholder,html:lang(zh-TW) body,html:lang(zh-TW) button,html:lang(zh-TW) input,html:lang(zh-TW) select,html:lang(zh-TW) textarea{font-family:var(--font-chinese-traditional)}a,button,div,input,label,select,span,strong,textarea{outline:0}img[alt]{text-indent:-9999px}
-.wrapper-6URcxg{width:100%;height:100%}@media (min-width:486px){.wrapper-6URcxg{position:absolute;top:0;left:0;min-height:580px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}.platform-osx .wrapper-6URcxg:before{content:"";position:fixed;top:0;left:0;right:0;height:32px;z-index:1;-webkit-app-region:drag}
-.platform-osx .splashBackground-1FRCko:before{content:"";position:fixed;top:0;left:0;right:0;height:32px;z-index:1;-webkit-app-region:drag}.platform-win .splashBackground-1FRCko:before{content:"";position:fixed;top:0;right:0;width:84px;height:22px;background:rgba(0,0,0,.3);border-bottom-left-radius:3px;z-index:1;-webkit-transition:background .4s ease .4s;transition:background .4s ease .4s}.platform-win .theme-dark .splashBackground-1FRCko.loggingIn-3Hi-BU:before,.platform-win .theme-light .splashBackground-1FRCko.loggingIn-3Hi-BU:before{background:transparent}.characterBackground-2itjYF{position:relative;width:100vw;min-height:100vh;overflow:auto}.characterBackground-2itjYF .artwork-1adZW0{position:fixed;top:0;left:0;width:100%;height:100%}.characterBackground-2itjYF .logo-1-AbdC{display:block}.characterBackground-2itjYF .logo-1-AbdC,.splashBackground-1FRCko .logo-1-AbdC{position:fixed;top:24px;left:50%;margin-left:-65px;margin-top:0}@media (min-width:830px){.characterBackground-2itjYF .logo-1-AbdC{top:53px;left:48px;margin:0}.splashBackground-1FRCko .logo-1-AbdC{position:fixed;top:24px;left:24px;margin:0}.platform-osx .splashBackground-1FRCko .logo-1-AbdC{top:40px}}
-.spacer-2b8O1V{width:8px}.input-3yHnCz{width:44px;height:44px;border-radius:5px;-webkit-box-sizing:border-box;box-sizing:border-box;border:none;font-size:17px;text-align:center;margin-left:4px;margin-right:4px}.theme-light .input-3yHnCz{background-color:hsl(216,calc(var(--saturation-factor, 1)*9.8%),90%);color:#36393f}.theme-dark .input-3yHnCz{background-color:#4f545c;color:#f6f6f7}
-.authBox-hW6HRx{width:480px;padding:32px;font-size:18px;-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 2px 10px 0 rgba(0,0,0,.2);border-radius:5px;-webkit-box-sizing:border-box;box-sizing:border-box}.authBox-hW6HRx a{color:var(--text-link)}.authBox-hW6HRx a:hover{text-decoration:underline}.authBoxExpanded-2jqaBe{width:784px}.centeringWrapper-2Rs1dR{width:100%;text-align:center}.avatar-1gWJaf{margin-bottom:24px}@media (max-width:485px){.authBox-hW6HRx{position:absolute;top:0;right:0;bottom:0;left:0;padding:70px 16px 40px;width:100%;height:100%;min-height:500px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:-webkit-gradient(linear,right top,left bottom,from(#3d4046),to(#1e1e23));background:linear-gradient(to left bottom,#3d4046,#1e1e23);border-radius:0;overflow:scroll}.authBox-hW6HRx:before{content:"";position:absolute;top:20px;height:36px;width:112px;background:url(/assets/5724892521ce5bc348669e9f1fabe28b.svg) no-repeat}@media (max-width:830px){.authBox-hW6HRx.authBoxExpanded-2jqaBe{max-width:unset}}.authBox-hW6HRx .centeringWrapper-2Rs1dR{position:relative;min-height:540px}}@media (max-width:830px){.authBoxExpanded-2jqaBe{max-width:480px}}.is-mobile .authBox-hW6HRx{position:absolute;top:0;right:0;bottom:0;left:0;padding:70px 16px 20px;width:100%;height:100%;min-height:500px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background:-webkit-gradient(linear,right top,left bottom,from(#3d4046),to(#1e1e23));background:linear-gradient(to left bottom,#3d4046,#1e1e23);border-radius:0;overflow:scroll}.is-mobile .authBox-hW6HRx:before{content:"";position:absolute;top:20px;height:36px;width:112px;background:url(/assets/5724892521ce5bc348669e9f1fabe28b.svg) no-repeat}@media (max-width:830px){.is-mobile .authBox-hW6HRx.authBoxExpanded-2jqaBe{max-width:unset}}.is-mobile .authBox-hW6HRx .centeringWrapper-2Rs1dR{position:relative;min-height:540px}.theme-light.authBox-hW6HRx{color:#747f8d;background:#f8f9f9}.theme-light.authBox-hW6HRx:before{background:url(/assets/0c1f2f5429ac65d7a30636176b42ce8c.svg) no-repeat;width:130px}.theme-dark.authBox-hW6HRx{color:#72767d;background:var(--background-mobile-primary)}.theme-dark.authBox-hW6HRx:before{background:url(/assets/5724892521ce5bc348669e9f1fabe28b.svg) no-repeat;width:130px}.title-jXR8lp{font-weight:600}.subText-1XkjIB{color:var(--text-muted)}.subText-1XkjIB strong{color:rgba(185,187,190,.9);font-weight:600}.pill-1dHPfk{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pillOnline-35Y-7N{margin-right:16px}.pillMessage-1btqlx{font-size:14px;white-space:nowrap;color:var(--header-secondary)}@media (min-height:640px){.pillMessage-1btqlx{font-size:16px}}.pillIcon-BaqtHs{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:4px}.pillIconTotal-1BqTcA{background-color:var(--header-secondary)}.pillIconOnline-2JGlqR{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.pillFlat-1xkgQH{background:transparent}.pillFlat-1xkgQH .pillIconTotal-1BqTcA{background-color:var(--text-muted)}.spinnerVideo-4cbMvj{width:200px;height:200px}.spinnerText-lNRnYJ{font-weight:500;font-size:16px;font-style:italic;color:#fff}.image-2dZWJQ{width:100%;max-width:186px;height:auto;max-height:120px;pointer-events:none}.block-egJnc0{width:100%;text-align:left}.button-3k0cO7{font-size:16px;line-height:24px}.linkButton-wzh5kV{display:block;padding-left:0;padding-right:0}.inviteIcon-DSd8cG{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.inviteLargeIcon-HrAH61{margin-right:0}.inviteSmallIcon-1-yydW{margin-right:8px;margin-top:0;-ms-flex-negative:0;flex-shrink:0}.downloadButtonSubtext-2DRDta{margin-top:8px;text-align:center}.inputError-1PrjdI,.inputError-1PrjdI:focus,.inputError-1PrjdI:hover{border-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.authBoxWithMobileBanner-1Iy9y7{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center;padding:0 16px 40px;height:100vh;overflow:auto}.theme-dark .authBoxWithMobileBanner-1Iy9y7,.theme-light .authBoxWithMobileBanner-1Iy9y7{color:#72767d;background:#36393f}.mobileBannerLogo-2Kb4rf{position:absolute;top:20px;height:36px;width:112px;background:url(/assets/5724892521ce5bc348669e9f1fabe28b.svg) no-repeat}.mobileBanner-3st25I{-ms-flex-negative:0;flex-shrink:0;width:calc(100% + 32px);margin:0 -16px -32px;max-height:100px;overflow:hidden}.mobileBanner-3st25I img{width:100%}@media (min-height:720px){.mobileBanner-3st25I{margin-bottom:-50px;max-height:none}}.description-3iuMrd{margin-top:8px;font-size:12px}.footer-R83Ab3{padding:20px 32px;margin:0 -32px -32px;border-radius:0 0 5px 5px}@media (max-width:485px){.footer-R83Ab3{margin:0}}.theme-dark .footer-R83Ab3{background-color:#2f3136;-webkit-box-shadow:inset 0 1px 0 rgba(47,49,54,.6);box-shadow:inset 0 1px 0 rgba(47,49,54,.6)}@media (max-width:485px){.theme-dark .footer-R83Ab3{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}}.theme-light .footer-R83Ab3{background-color:#dcddde;-webkit-box-shadow:inset 0 1px 0 rgba(220,221,222,.6);box-shadow:inset 0 1px 0 rgba(220,221,222,.6)}@media (max-width:485px){.theme-light .footer-R83Ab3{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}}
-.error-36J3A_{margin-top:8px;color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.subTitle-1-bIFL{margin-bottom:24px}.button-3xPjNA{margin-top:24px}.theme-dark .codeInput-2cYD0k,.theme-light .codeInput-2cYD0k{background-color:var(--deprecated-text-input-bg);border:1px solid var(--deprecated-text-input-border)}.theme-dark .codeInput-2cYD0k:focus,.theme-light .codeInput-2cYD0k:focus{border:1px solid var(--brand-experiment)}
-.avatar-1Mj8bY,.guildIcon-1k02sK{margin-bottom:20px}.container-QZKkpR{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.title-10HEtO{margin-top:2px;color:var(--header-primary);font-size:24px;font-weight:600;line-height:30px}.subtitle-1izn1t{font-size:16px;line-height:20px;text-align:center}.subtitle-1izn1t strong{color:var(--header-primary)}.userText-53oh7E{word-break:break-word}.templateIcon-3f-SZb{vertical-align:middle}.templateIcon-3f-SZb,.usagePill-2WGS4A{color:var(--header-secondary)}.usagePill-2WGS4A{background-color:var(--background-secondary);border-radius:16px;font-size:14px;padding:8px 16px;margin-top:16px}.verifiedIcon-2zGt44,.verifiedNameContainer-HWD4YK{display:inline-block}.verifiedIcon-2zGt44{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);margin:-8px 4px 0 2px;top:3px}.verifiedCheckContainer-3VSuK8{position:relative;top:1px}.verifiedCheck-2Ze-9s{color:#fff}
-.image-1ecFZy{margin-bottom:16px;border-radius:8px;width:100%}.header-a5HgW3{margin-bottom:8px}.usagePill-_nSrnP{background-color:var(--background-primary);display:inline-block}
-.container-cMG81i{border-radius:4px;overflow:hidden;background-color:var(--background-tertiary)}.container-cMG81i,.inner-2P4tQO{-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.inner-2P4tQO{position:relative;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:1px;min-width:0}.disabled-1ytYrN .inner-2P4tQO{opacity:.3}.input-3Xdcic{-webkit-box-sizing:border-box;box-sizing:border-box;background:transparent;border:none;resize:none;-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:48px;margin:1px;-webkit-appearance:none;-moz-appearance:none;appearance:none;color:var(--text-normal)}.input-3Xdcic::-webkit-input-placeholder{color:var(--text-muted);opacity:1}.disabled-1ytYrN .input-3Xdcic{cursor:not-allowed}.tag-2gZFdE{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:2px;text-align:center;margin:1px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;cursor:pointer;-webkit-transition:none;transition:none;background-color:var(--background-primary)}.tag-2gZFdE:hover{text-decoration:none}.small-2oHLgT .input-3Xdcic,.small-2oHLgT .tag-2gZFdE{font-size:14px;font-weight:500;line-height:20px;height:20px;padding:0 4px}.medium-1LLV3p .input-3Xdcic,.medium-1LLV3p .tag-2gZFdE{font-size:16px;line-height:32px;height:30px;padding:0 8px}.large-laZJpW .input-3Xdcic,.large-laZJpW .tag-2gZFdE{font-size:20px;line-height:40px;height:38px;padding:0 16px}.close-365pYL{width:12px;height:12px;margin-left:4px}.close-365pYL,.iconLayout-3OgqU3{-webkit-box-sizing:border-box;box-sizing:border-box}.iconLayout-3OgqU3{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:22px;height:22px;cursor:text}.pointer-aRJXzd{cursor:pointer}.medium-1LLV3p.iconLayout-3OgqU3{width:32px;height:32px}.large-laZJpW.iconLayout-3OgqU3{width:40px;height:40px}.iconContainer-2wXvy1{position:relative;width:16px;height:16px}.medium-1LLV3p .iconContainer-2wXvy1{width:20px;height:20px}.large-laZJpW .iconContainer-2wXvy1{width:24px;height:24px}.icon-1S6UIr{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;top:0;left:0;opacity:0;width:100%;height:100%;z-index:2;-webkit-transition:opacity .1s ease-out,-webkit-transform .1s ease-out;transition:opacity .1s ease-out,-webkit-transform .1s ease-out;transition:transform .1s ease-out,opacity .1s ease-out;transition:transform .1s ease-out,opacity .1s ease-out,-webkit-transform .1s ease-out;-webkit-transform:rotate(90deg);transform:rotate(90deg);color:var(--interactive-normal)}.icon-1S6UIr.visible-3bFCH-{-webkit-transform:rotate(0deg);transform:rotate(0deg);opacity:1}.clear--Eywng{}.iconLayout-3OgqU3:hover .clear--Eywng{color:var(--interactive-hover)}.iconLayout-3OgqU3:active .clear--Eywng{color:var(--interactive-active)}
-.popoutList-T9CKZQ{border-radius:5px;padding:10px 10px 0}.popoutListInput-1l9TUI{width:100%}.popoutListEmpty-voOEBJ{cursor:default;-webkit-box-sizing:border-box;box-sizing:border-box;padding:8px 10px 0;margin:2px 4px 2px 0}.divider-faSUbd{}.theme-light .popoutList-T9CKZQ{background:#fff}.theme-light .popoutListEmpty-voOEBJ{color:#4f545c}.theme-dark .popoutList-T9CKZQ{background:#36393f}.theme-dark .popoutListEmpty-voOEBJ{color:#f6f6f7}
-.phoneFieldPopout-7PzjOO{width:220px;height:240px;position:absolute;top:40px;left:0}.phoneFieldPopout-7PzjOO .phoneFieldScroller-1rORCK{height:196px;padding-bottom:10px}.phoneFieldPopout-7PzjOO .countryItem-2OHkzd{width:100%}.phoneFieldPopout-7PzjOO .countryName-1Qmnov{font-size:13px;line-height:18px;margin-right:8px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.phoneFieldPopout-7PzjOO .countryCode-1zrlUB{font-weight:600;font-size:13px;text-align:right}.theme-light .phoneFieldPopout-7PzjOO .countryName-1Qmnov{color:#72767d}.theme-light .phoneFieldPopout-7PzjOO .countryCode-1zrlUB{color:#4f545c}.theme-dark .phoneFieldPopout-7PzjOO .countryName-1Qmnov{color:#b9bbbe}.theme-dark .phoneFieldPopout-7PzjOO .countryCode-1zrlUB{color:#f6f6f7}
-.outerContainer-2pDY4c{position:relative}.container-1uOKxa{overflow:hidden}.container-1uOKxa,.innerContainer-20_g0H{display:-webkit-box;display:-ms-flexbox;display:flex}.countryCode-2YakYv{padding:9px 8px;line-height:normal;white-space:nowrap}.separator-39gxf1{width:1px;background-color:var(--background-modifier-accent);margin:8px 4px}.popout-NCeqAn{z-index:1}.hidden-2l9u-8{display:none}
-.input-1CjGeR{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.inputWrapper-3aw2Sf{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.inputField-4g7rSQ{border:none;background-color:transparent}
-.applicationIcon-28iDrP{margin-right:8px}
-.container-23z5yI{width:100%}.guildBadge-3vRjwA{position:relative;margin-right:6px;-ms-flex-negative:0;flex-shrink:0;width:25px;height:25px}.appIcon-lZGJcM{display:inline-block}.appIconSize-2ugydl{width:100px;height:100px}.appIcon-lZGJcM,.avatar-2Gi7sV,.guildIcon-1PRDp6{margin-bottom:24px}@media (max-height:720px){.appIcon-lZGJcM,.avatar-2Gi7sV,.guildIcon-1PRDp6{margin-bottom:0;width:64px;height:64px}}.inviteResolvingGuildName-bQULNl{margin-top:8px}.inviteResolvingGuildName-bQULNl,.title-2_aCTw{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.title-2_aCTw{margin-top:4px;color:var(--header-primary);font-weight:600}@media (min-height:640px){.title-2_aCTw{margin-top:8px}}.activityCount-2GgGMq{margin-top:4px}@media (min-height:640px){.activityCount-2GgGMq{margin-top:8px}}.description-1u9Qui{margin:4px 0;color:#b9bbbe;font-size:14px;line-height:18px}@media (min-height:640px){.description-1u9Qui{margin:8px 0}}.guildContainer-3vevW1{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.appIn-_bj_p1{margin:4px 0}.appGuildName-2aGDAZ{color:var(--header-primary)}
-.image-2QWf3Q{margin:20px auto;background-repeat:no-repeat;background-size:cover}.imageUpgrade-moI_hv{width:267px;height:120px}.imageCancel-2x4k_k{width:166px;height:144px}.imageUnclaimed-5nJyYs,.imageUnverified-2NLnW6{width:162px;height:100px}.message-1F58Gs{margin-top:20px;margin-bottom:20px;font-size:16px;line-height:1.44}.theme-dark .message-1F58Gs{color:#b9bbbe}.theme-dark .secondaryButton-197mr8{color:#fff}.theme-dark .imageUpgrade-moI_hv{background-image:url(/assets/81ded87ebac6f9d55e8624a3e5167c8f.svg)}.theme-dark .imageCancel-2x4k_k{background:url(/assets/03863b539aec443327ca2ffc51a89dac.svg)}.theme-dark .imageUnclaimed-5nJyYs{background-image:url(/assets/3b65c741e596bc0979f7ba0c42de6fff.svg)}.theme-dark .imageUnverified-2NLnW6{background-image:url(/assets/e260177e5165e6789e30b9592df75424.svg)}.theme-light .message-1F58Gs{color:#72767d}.theme-light .secondaryButton-197mr8{color:#4f545c}.theme-light .imageUpgrade-moI_hv{background-image:url(/assets/854593608c634a933f26c9c57807ce35.svg)}.theme-light .imageCancel-2x4k_k{background:url(/assets/44eef677f2a490dc0cb23a67e59a6223.svg)}.theme-light .imageUnclaimed-5nJyYs{background-image:url(/assets/4577a7146df5d177b2d61d16927615ec.svg)}.theme-light .imageUnverified-2NLnW6{background-image:url(/assets/a83463d9763516332570b37731572733.svg)}
-.header-3bB_GQ{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-top:24px;padding-bottom:24px}.title-2HFmAi{font-weight:700}.subtitle-8DQCLU,.title-2HFmAi{text-align:center}.subtitle-8DQCLU{margin-top:8px}.modalCloseButton-nA1JXv{position:absolute;top:16px;right:16px}.content-2Cyhe6{padding-bottom:16px}.password-3REpJO{margin-top:16px}.cancel-204y04{margin-right:8px}
-.message-3rf57R{margin-top:20px;margin-bottom:20px}.imageUnverified-1QCPtJ{background-repeat:no-repeat;background-size:cover;height:100px;margin:20px auto;width:162px}.theme-dark .imageUnverified-1QCPtJ{background-image:url(/assets/e260177e5165e6789e30b9592df75424.svg)}.theme-light .imageUnverified-1QCPtJ{background-image:url(/assets/a83463d9763516332570b37731572733.svg)}
-.shinyButton-3uFlM-{overflow:hidden}.buttonShine-1CSUM8{-webkit-animation-delay:.75s;animation-delay:.75s;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-name:Shine-2sIJ1p;animation-name:Shine-2sIJ1p;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;color:hsla(0,0%,100%,.1)}.shineContainer-1HHuZ1{position:absolute;top:-50%;bottom:0;right:0}.shineContainerDefault-2bbFgu{left:-50%}.shineContainerSmall-1MIVgq{left:-100%}.shine-2f1uEU{background-color:currentColor;height:300%;position:relative;top:-100%;-webkit-transform:rotate(30deg);transform:rotate(30deg);width:56px}.shinePaused-1D7eIe{-webkit-animation-play-state:paused;animation-play-state:paused}.shineInner-fWUhvE{background-color:currentColor;height:100%;width:16px}@-webkit-keyframes Shine-2sIJ1p{0%{-webkit-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0)}to{-webkit-transform:translate3d(200%,0,0);transform:translate3d(200%,0,0)}}@keyframes Shine-2sIJ1p{0%{-webkit-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0)}to{-webkit-transform:translate3d(200%,0,0);transform:translate3d(200%,0,0)}}
-.cardIcon-3U4mwZ{position:relative;text-indent:-9999em;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.cardIcon-3U4mwZ:after,.cardIcon-3U4mwZ:before{-webkit-backface-visibility:hidden;backface-visibility:hidden}.cardIcon-3U4mwZ:before{background-image:url(/assets/cd0d0b191b8251c1351a5747038011af.svg);background-size:100% 100%;border-radius:2px;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:rotateY(0deg);transform:rotateY(0deg)}.cardIcon-3U4mwZ:after,.cardIcon-3U4mwZ:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;display:block}.cardIcon-3U4mwZ:after{background:url(/assets/7d1147d903beea4a0654d2b60837a1d6.svg);background-size:100% 100%;-webkit-transform:rotateY(180deg);transform:rotateY(180deg)}.cardIcon-3U4mwZ.visa-wmEUYN:before{background-image:url(/assets/b614d13eb16fbcdbeacd6bad8b63460f.svg)}.cardIcon-3U4mwZ.american-express-2JYHQz:before,.cardIcon-3U4mwZ.amex-34lhch:before{background-image:url(/assets/c1dcb16867925c58352de56605ee348d.svg)}.cardIcon-3U4mwZ.discover-380k9c:before{background-image:url(/assets/f88725d12c605f4875d3d57151c6f691.svg)}.cardIcon-3U4mwZ.master-card-1eMGLE:before,.cardIcon-3U4mwZ.mastercard-2PR9Wc:before{background-image:url(/assets/9a3ebeaac711b37a91b7de9b3ae55b21.svg)}.cardIcon-3U4mwZ.paypal-1_sEH-:before{background-image:url(/assets/b5f7a9a2a7229d09a35be506bac28cfc.svg)}.cardIcon-3U4mwZ.paymentRequest-7yBZCi:before{background-image:url(/assets/9121ee2c33595951f64e9398612a537e.svg)}.cardIcon-3U4mwZ.gPay-23y16H:before{background-image:url(/assets/063c20d352db432fe0b7afa317cf40dc.svg)}.cardIconSmall-2gJ6xX{width:32px;height:22px}.cardIconMedium-1N98Bu{width:64px;height:44px}.cardIconLarge-2Hh3T0{width:96px;height:66px}.cardIconXLarge-1hyB-0{width:128px;height:88px}.flipped-26DCUA{-webkit-transform:rotateY(180deg);transform:rotateY(180deg)}
-.paymentSourceLabel-1lo4Ca{margin-left:8px;line-height:22px}.paymentSourceLabel-1lo4Ca:first-child{margin-left:0}.theme-dark .error-tDF6fl,.theme-light .error-tDF6fl{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.copyInput-2rOSt7{overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;border:1px solid;cursor:pointer;border-radius:3px;height:40px}.copyInputDefault-21sXtF,.copyInputError-WlP8ke{}.copyInputError-WlP8ke{border-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.copyInputSuccess-XZc7BO{border-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.layout-17VGBm{position:absolute;top:0;right:0;bottom:0;left:0}.inputWrapper-2YT_dU{position:relative}.button-38qaLQ{margin:4px 4px 4px 0;padding:2px 20px!important;border-radius:2px;-webkit-transition:background-color .2s ease-in-out,color .2s ease-in-out;transition:background-color .2s ease-in-out,color .2s ease-in-out}.hiddenMessage-1iiFV5,.input-31cgnL{position:relative;font-size:16px;line-height:20px;background-color:transparent;padding:10px 0 10px 10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.input-31cgnL{width:100%;min-width:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;border:none;-webkit-transition:color .15s ease;transition:color .15s ease;cursor:text}.inputDefault-A2ud2y,.inputError-reIyaS{}.inputError-reIyaS{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.inputSuccess-3U9sNd{color:var(--text-positive)}.hiddenMessage-1iiFV5{z-index:0;position:absolute;top:0;left:0;bottom:0;right:0}.inputHidden-1K-bD4{visibility:hidden}.theme-light .copyInput-2rOSt7{background-color:rgba(79,84,92,.02)}.theme-light .copyInputDefault-21sXtF{border-color:rgba(79,84,92,.3)}.theme-light .hiddenMessage-1iiFV5,.theme-light .inputDefault-A2ud2y{color:#4f545c}.theme-light .hiddenMessage-1iiFV5::-webkit-input-placeholder,.theme-light .inputDefault-A2ud2y::-webkit-input-placeholder{color:rgba(79,84,92,.3)}.theme-light .hiddenMessage-1iiFV5::-moz-placeholder,.theme-light .inputDefault-A2ud2y::-moz-placeholder{color:rgba(79,84,92,.3)}.theme-light .hiddenMessage-1iiFV5:-ms-input-placeholder,.theme-light .inputDefault-A2ud2y:-ms-input-placeholder{color:rgba(79,84,92,.3)}.theme-light .hiddenMessage-1iiFV5::placeholder,.theme-light .inputDefault-A2ud2y::placeholder{color:rgba(79,84,92,.3)}.theme-dark .copyInput-2rOSt7{background-color:rgba(0,0,0,.1)}.theme-dark .copyInputDefault-21sXtF{border-color:rgba(0,0,0,.3)}.theme-dark .hiddenMessage-1iiFV5,.theme-dark .inputDefault-A2ud2y{color:#f6f6f7}.theme-dark .hiddenMessage-1iiFV5::-webkit-input-placeholder,.theme-dark .inputDefault-A2ud2y::-webkit-input-placeholder{color:rgba(246,246,247,.3)}.theme-dark .hiddenMessage-1iiFV5::-moz-placeholder,.theme-dark .inputDefault-A2ud2y::-moz-placeholder{color:rgba(246,246,247,.3)}.theme-dark .hiddenMessage-1iiFV5:-ms-input-placeholder,.theme-dark .inputDefault-A2ud2y:-ms-input-placeholder{color:rgba(246,246,247,.3)}.theme-dark .hiddenMessage-1iiFV5::placeholder,.theme-dark .inputDefault-A2ud2y::placeholder{color:rgba(246,246,247,.3)}
-.blurb-143skT{margin-top:10px;font-size:16px;line-height:1.44;text-align:center;max-width:360px}.divider-2rujXH{width:100%;height:1px;margin:20px 0}.subtext-2QfZHv{font-size:12px;line-height:14px;margin-top:8px}.installSelector-1OcF6d,.storeTerms-3G4Jo7{width:100%}.confirmButton-1ktpa8,.header-1fmANI,.icon-3w4Cq1,.storeTerms-3G4Jo7{margin-top:20px}.termsCheckbox-3YWF9A{margin-bottom:10px}.termsCheckbox-3YWF9A:last-child{margin-bottom:0}.header-1fmANI{font-size:20px}.theme-dark .header-1fmANI{color:#fff}.theme-dark .blurb-143skT,.theme-dark .storeTerms-3G4Jo7,.theme-dark .subtext-2QfZHv{color:#b9bbbe}.theme-dark .divider-2rujXH{background-color:rgba(47,49,54,.6)}.theme-light .header-1fmANI{color:#36393f}.theme-light .blurb-143skT,.theme-light .storeTerms-3G4Jo7,.theme-light .subtext-2QfZHv{color:#72767d}.theme-light .divider-2rujXH{background-color:rgba(220,221,222,.6)}
-.error-20ZZpF{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:8px;font-size:14px;line-height:1.3;font-weight:500;padding:8px;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.error-20ZZpF a{color:#fff;font-weight:600}.error-20ZZpF a:hover{text-decoration:underline}.icon-25oV0D{width:24px;height:24px;-ms-flex-negative:0;flex-shrink:0}.text-1ebFA_{margin-left:10px;-webkit-box-flex:1;-ms-flex:1;flex:1}.backgroundRed-2jrPZy{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);color:#fff}.errorClose-19Dwss{cursor:pointer;-ms-flex-item-align:flex-center;align-self:flex-center}.errorClose-19Dwss,.errorCloseIcon-3y2VHJ{width:16px;height:16px}.backgroundTertiary-3PbXb3{background-color:var(--background-tertiary);color:var(--interactive-active)}.backgroundAccent-349kuI{background-color:var(--background-accent);color:#fff}
-.table-39R0Oe{background-color:var(--background-secondary);border-radius:4px;padding:16px}.header-2fYolP{color:var(--interactive-active);font-weight:600;margin-bottom:8px}.header-2fYolP,.rowBase-19ReVc{font-size:16px;line-height:20px}.rowBase-19ReVc{display:-webkit-box;display:-ms-flexbox;display:flex;font-weight:500}.rowBase-19ReVc:not(:last-child){margin-bottom:8px}.row-gSQ6pC{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;color:var(--interactive-normal)}.row-gSQ6pC,.rowAmount-2vWhGc{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.rowAmount-2vWhGc{display:-webkit-box;display:-ms-flexbox;display:flex}.rowPercentDiscount-1Ip6TE{margin-left:8px;background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);color:#fff;padding:2px 4px;border-radius:2px;font-size:12px;line-height:16px}.rowDiscountOriginalPrice-3ZHMbT{color:var(--text-muted);font-size:14px;font-weight:500;line-height:16px;margin:-4px 0 4px;text-align:right;text-decoration:line-through}.entitlementDiscountRow-1PWKPc{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;color:var(--text-positive)}.divider-35lQBz{background-color:var(--background-modifier-accent);height:1px;margin:16px 0}.dividerExtended-3N_mcn{height:4px;margin-left:-16px;margin-right:-16px}.totalRow-br_EPR{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.totalLabel-kW8CA9{color:var(--interactive-normal);font-size:16px;font-weight:500;line-height:20px}.totalAmount-QMwGZT,.totalLabel-kW8CA9 strong{color:var(--interactive-active);font-weight:600}.finePrint-aNvLWf{color:var(--text-normal);font-size:12px;line-height:16px;font-weight:500;margin:16px 0}
-.pricePerInterval-WZc5oR{color:var(--interactive-normal);font-size:16px;font-weight:400;line-height:20px}.pricePerInterval-WZc5oR strong{color:var(--interactive-active);font-size:24px;font-weight:600;line-height:30px}
-.wrapper-3xYGNM{border-radius:4px;-webkit-transition:background-color .2s ease;transition:background-color .2s ease}.wrapperActive-1eM2cQ{background-color:var(--background-modifier-accent)}
-.link-3dHnkW{color:var(--interactive-active);font-size:14px;font-weight:600;line-height:18px}
-.note-3f9OXN{margin-top:20px;position:relative;font-size:12px}.note-3f9OXN~.note-3f9OXN{margin-top:8px}.icon-gt7KBA{-ms-flex-negative:0;flex-shrink:0;margin-right:8px}.large-2kb0Cr{width:20px;height:20px}.small-1Htrse{width:14px;height:14px}.colorWarning-2efEE-{color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%)}.colorError-2vGbJj{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.colorPrimary-3hws2f{color:var(--text-muted)}
-.transitionGroup-aR7y1d{overflow:hidden;position:relative}.measurement-DMxQp7{overflow:hidden}.measurementFill-31KKmO{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.measurementFillStatic-MZ1pNY{height:100%}.animatedNode-5VAmrN{width:100%}
-.breadcrumbs-SOzMJD{overflow:hidden}.breadcrumbWrapper-WmDjgG{font-weight:600;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;color:var(--text-muted)}.activeBreadcrumb-p6aw-F{color:var(--interactive-active)}.breadcrumbClickWrapper-TpEb92,.breadcrumbFinalWrapper-3WqsGi{overflow:hidden}.breadcrumb-OALf_a{font-size:14px}.breadcrumbArrow-1bJVKv{width:18px;height:18px}.interactiveBreadcrumb-3qFng9{cursor:pointer}
-.content-1YdlXf{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:0}.breadcrumbsWrapper-3avBWN{border-bottom:1px solid var(--background-modifier-accent);-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin:0 16px;padding:16px 0}.bodyWrapper-3GGwfp{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;min-height:0;position:relative}.scroller-3tPHw0{height:100%;padding:0 16px 16px}.errorBlockWrapper-1ZfYVz{padding:16px 16px 0}.paymentNote-3NUaTF{padding:0 16px}.loadingBlock-2I2zJI{height:192px}.sequencer-2GXxB2{flex-direction:column}.sequencer-2GXxB2,.sequencerStatic-UthWGP{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column}.sequencerAnimatedNode-GEjG0S,.sequencerStatic-UthWGP{flex-direction:column;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.sequencerAnimatedNode-GEjG0S{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;min-height:0}
-.buttonIcon-1BKzBu{margin-right:8px}.button-1vm4ZO{-webkit-box-flex:1;-ms-flex:1;flex:1}.vertical-2oj55j .button-1vm4ZO{margin-bottom:10px}.vertical-2oj55j .button-1vm4ZO:last-child{margin-bottom:0}.horizonal-2R4X-v .button-1vm4ZO{margin-right:10px}.horizonal-2R4X-v .button-1vm4ZO:last-child{margin-right:0}
-.inputWrapper-2YCfto{position:relative}.paypalIcon-2dBx_b{position:absolute;top:9px;left:8px;z-index:1}.paypalInput-3MddcM{padding-left:48px;cursor:default}.theme-dark .paypalInput-3MddcM,.theme-dark .paypalInput-3MddcM:focus,.theme-dark .paypalInput-3MddcM:hover,.theme-light .paypalInput-3MddcM,.theme-light .paypalInput-3MddcM:focus,.theme-light .paypalInput-3MddcM:hover{border-color:rgba(0,0,0,.3)}
-.row-2grg9k{padding-top:20px}.row-2grg9k:first-child{padding-top:0}.section-1Hw6N9{-webkit-box-sizing:border-box;box-sizing:border-box;padding-left:20px;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.section-1Hw6N9:first-child{padding-left:0}.width100-2aXN2H{width:100%}.width75-3anqmd{width:75%}.width60-1v9DeU{width:60%}.width40-1Gna7C{width:40%}.width30-2P1hBi{width:30%}.width50-23-miv{width:50%}.width25-3DEhbv{width:25%}
-.modal-3Msmb3{overflow-x:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.planSelector-2xxBP_{margin-top:20px}.form-2d3M9m{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-height:660px}.divider-1que2t{position:relative;border-top:1px solid;margin:0 20px}.content-PS26MV{margin-bottom:20px}.giftToggle-3G-6sw{margin-top:16px}.formTitle-1_5gw4{margin:20px 0 10px}.errorBlock-1yXil7,.purchaseTerms-1aF7k1{margin-top:20px}.invalidIcon-1uHQWY{width:18px;height:18px;padding:0 1px}.choosePaymentSourceType-2Q_3qs{margin-top:20px}.buyButtonTooltipWrapper-3ISTfu{position:relative}.buyButtonTooltipTarget-2JtpkN{position:absolute;top:0;left:0;bottom:0;right:0;z-index:1;cursor:not-allowed}.backButtonSize-4hJ3lM{height:38px;width:auto}.backButton-14DZbs{padding:0}.backButton-14DZbs:hover{text-decoration:underline}.modalContent-3rVa23{-webkit-overflow-scrolling:touch}@media (max-width:485px) and (max-height:550px){.form-2d3M9m{display:block}.modalContent-3rVa23{height:auto}}.theme-dark .divider-1que2t{border-color:#2f3136}.theme-dark .backButtonColor-N09dXJ{color:#fff}.theme-dark .checkboxLabel-3WoD3k{color:#b9bbbe}.theme-light .divider-1que2t{border-color:rgba(220,221,222,.6)}.theme-light .backButtonColor-N09dXJ{color:#4f545c}.theme-light .checkboxLabel-3WoD3k{color:#b9bbbe}
-.cardNumberWrapper-2D83Wo{position:relative}.cardIcon-2MnSei{position:absolute;top:9px;left:10px}.cardInput-1hh1N-{padding:10px 9px;border-radius:3px;background-color:var(--deprecated-text-input-bg);border:1px solid var(--deprecated-text-input-border)}.hiddenDiv-3ywgLc{visibility:hidden}.cardNumberInput-3an3uq{padding-left:55px}.cardInputFocused-19S1J3{border-color:var(--text-link)}.cardInputError-1GUPnt{border-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-dark .inputPrefix-2iFFkc{opacity:.5}
-.cardNumberWrapper-3fnAdq{position:relative}.cardIcon-22ZAZn{position:absolute;top:9px;left:10px}.cardIcon-22ZAZn.submitting-1dY48P{-webkit-animation:pulse-2sZk7o .75s ease-in-out infinite alternate;animation:pulse-2sZk7o .75s ease-in-out infinite alternate}.cardNumberInput-1EkDl_{padding-left:55px}@-webkit-keyframes pulse-2sZk7o{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}to{-webkit-transform:scale(.9);transform:scale(.9);opacity:.6}}@keyframes pulse-2sZk7o{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}to{-webkit-transform:scale(.9);transform:scale(.9);opacity:.6}}
-.awaitingAuthenticationStep-3mW1JG,.body-31Cs__{padding-top:16px}
-.skuButtons-3KnDcG{padding:0 8px 0 16px}.button-3Wn6-1{-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:258px;border-radius:8px;padding:24px;position:relative;margin-bottom:16px}.tier2-3pW_6T{background-image:linear-gradient(32deg,#b473f5,#e292aa)}.tier1-UUxEBG{background-image:linear-gradient(32deg,#738ef5,#b3aeff 75.25%)}.tier2Image-1_9GtA{background-image:url(/assets/27ed7eb4a867f79c70615b9e9e68fe5b.svg);height:237px;width:297px}.tier1Image-3ShgQH,.tier2Image-1_9GtA{position:absolute;bottom:0;right:0}.tier1Image-3ShgQH{background-image:url(/assets/fd8340095bf2e0c2b9bf4d5912c02c63.svg);height:234px;width:279px}.tierTitle-24KvK4{margin-bottom:16px}.text-1AMsjB{width:160px;font-size:16px;line-height:20px;font-weight:500}.description-1XiJ8P{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;margin-bottom:16px}.priceWrapper-3ug9CZ{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.price-3ihUyv,.price-3ihUyv strong{color:#fff}
-.subscriptionCostRowAmount-15tMYg{font-weight:500}.subscriptionCostRow-3imIke{color:var(--header-primary)}.invoiceItemLabelWithIcon-1wBD7Y{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.invoiceItemLabelIcon-2DH7qm{color:var(--interactive-normal);margin-left:8px;height:14px;width:14px}.invoiceItemTooltip-2dMGk8{max-width:240px}.invoiceItemTooltip-2dMGk8 p{margin:0}.invoiceItemTooltip-2dMGk8 strong{font-weight:700}.subscriptionDetailsToggle-3dzjj6{color:var(--text-normal);font-size:12px;line-height:16px;font-weight:500;margin:-16px 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:16px 0;cursor:pointer}.subscriptionDetailsToggleCaret-vbWnyU{margin-left:6px;height:16px;width:16px}.subscriptionPeriodResetNotice-b5C4Ac{color:var(--text-normal);font-size:16px;line-height:20px;font-weight:500;margin-bottom:16px}.subscriptionAddedInvoiceItem-2V_n7J{color:var(--text-positive)}
-
-.headerBackground-23gIwK{position:relative;top:-20px;left:-20px;right:-20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:20px;min-height:77px;width:100%}.tier1HeaderBackground-3LjWgU{background-color:var(--brand-experiment)}.tier2HeaderBackground-2BUqcl{background-image:-webkit-gradient(linear,left top,right top,from(hsl(270,calc(var(--saturation-factor, 1)*86.7%),70.6%)),to(hsl(342,calc(var(--saturation-factor, 1)*58%),72.9%)));background-image:linear-gradient(90deg,hsl(270,calc(var(--saturation-factor, 1)*86.7%),70.6%),hsl(342,calc(var(--saturation-factor, 1)*58%),72.9%))}.closeIcon-1Te9hO{opacity:1}.headerTop-Bg0929{position:relative;width:100%}.headerIcon-1OW_re{width:auto;height:22px}.headerIcon-1OW_re.tier1-ObWVGJ{height:35px}.price-1rEl-z{position:relative;margin-top:20px;padding:2px 12px;font-weight:500;font-size:14px;line-height:1.71;color:var(--brand-experiment);background-color:#fff;border-radius:3px;-ms-flex-item-align:end;align-self:flex-end}.closeButton-2PEpYG{color:#fff!important}.closeButton-2PEpYG:hover{background-color:hsla(0,0%,100%,.04)!important}.theme-dark .closeIcon-1Te9hO{color:#f6f6f7}.theme-dark .headerIcon-1OW_re,.theme-light .closeIcon-1Te9hO,.theme-light .headerIcon-1OW_re{color:#fff}
-.wrapper-1P_m9K svg{display:block}
-.tier2Animation-M5D31n{position:relative}.panningAnimation-38NjY9{position:absolute;top:0;left:0;bottom:20px;right:0;overflow:hidden}.panningAnimationInner-2-99fl{position:absolute;top:0;left:0;bottom:0;right:0;background-size:100% 100%}.tier2Background-gCUPNQ{opacity:.2;background-image:url(/assets/8d2cc61d9f06d4b1fb0e3b15b36b2817.svg)}.tier2Foreground-2tYn8P{background-image:url(/assets/88635b43b1f70f094f034b1cce8ab329.svg)}.guildWrapper-13lnzT{position:relative}.guildBackground-3UtSZ2{top:0;left:0;bottom:0;right:0}.guildBackground-3UtSZ2,.guildStar-35l026{position:absolute}
-.modalHeader-1a6oWz{margin-bottom:-20px;padding-bottom:0}.header-jiLdx9{-ms-flex-negative:0;flex-shrink:0}.headerAnimation-pQYQcu{position:absolute;top:0;right:0;bottom:-20px;left:50%;min-width:440px;overflow:hidden;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:100%}
-.header-RSCE0X{color:#fff;overflow-x:visible;position:relative;min-height:77px;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.headerTier1-2Ckjmd{background-color:var(--brand-experiment)}.headerTier2-3FKMxd{background-image:-webkit-gradient(linear,left top,right top,from(hsl(270,calc(var(--saturation-factor, 1)*86.7%),70.6%)),to(hsl(342,calc(var(--saturation-factor, 1)*58%),72.9%)));background-image:linear-gradient(90deg,hsl(270,calc(var(--saturation-factor, 1)*86.7%),70.6%),hsl(342,calc(var(--saturation-factor, 1)*58%),72.9%))}.header-RSCE0X .closeButton-52_sX-{position:absolute;top:16px;right:16px;color:#fff;opacity:.8}.header-RSCE0X .closeButton-52_sX-:hover{opacity:1}.headerLogo-3yYMKQ{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;position:relative;z-index:1}.headerLogoWordmark-3s0bFX{width:auto;height:15px}.headerLogoTier2-K7zsGB{width:auto;height:22px}.headerLogoTier1-tgveOB{width:auto;height:35px}.headerAnimationWrapper-1W2JzL{bottom:-20px;overflow:hidden;z-index:0}.headerAnimation-3SJLN4,.headerAnimationWrapper-1W2JzL{position:absolute;top:0;right:0;width:100%}.headerAnimation-3SJLN4{bottom:0;left:50%;min-width:440px;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.loader-3HXZ2q{margin-top:64px}.invoiceHeader-3VOJTm{margin:16px 0 8px}.invoice-28DmWy{margin-bottom:16px}.paymentSourceWrapper-2dIzE4{margin:16px 0}.paymentSourceOptionalWarning-bonA40{margin-top:16px;color:var(--text-normal)}.authorizationChargeHelp-dzWysI{margin-top:8px}.contentWrapper-2H52F3{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:0}@media (max-width:485px){.shaker-35cz7E{position:absolute;top:0;right:0;bottom:0;left:0;display:-webkit-box;display:-ms-flexbox;display:flex}.root-1ANs48{width:100vw;border-radius:0}}.trialCheckbox-2rz9Q1{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.trialCheckboxLabel-3DxtAL{font-size:14px;line-height:18px}
-.animationContainer-cNePAf,.container-2mdxGH{position:relative;z-index:0}.animationContainer-cNePAf{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border-radius:8px;overflow:hidden}.svgBorder-1CQ67m{position:absolute;top:-1px;left:-1px;height:calc(100% + 2px);width:calc(100% + 2px);z-index:1}.svgCopy-3RgiTa{display:block}.animationContainer-cNePAf{color:var(--header-primary)}.shine-KMI5j7{color:hsla(0,0%,100%,.5)}
-.confirmation-NXinYV{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:64px}.banner-2TeZN0,.text-1F94k4{margin-bottom:16px}.text-1F94k4{color:var(--interactive-normal);font-size:16px;font-weight:500;line-height:20px;text-align:center}
-.shaker-1QVc6p{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;max-height:660px;height:100%}.modalHeader-3heSN8{margin-bottom:-20px;padding-bottom:0}.header-2jljXY{-ms-flex-negative:0;flex-shrink:0}.headerAnimation-2ipCWU{position:absolute;top:0;bottom:-20px;left:calc(50% - 220px);width:440px}.spinner-2UYkNB{position:relative;top:calc(50% - 16px)}.stepBody-1cR8n4{padding-top:16px}.bodyText-1uGqIv{color:var(--interactive-normal);font-size:16px;line-height:20px;font-weight:500;margin-bottom:16px}.selectPlanChooseSubtitle-2QNzXl,.selectPlanChooseTitle-2ClZSL{color:var(--interactive-active);font-size:16px;line-height:20px;margin-bottom:8px}.selectPlanChooseTitle-2ClZSL{font-weight:600}.selectPlanChooseSubtitle-2QNzXl{margin-bottom:18px}.planOption-3m2svN{color:var(--interactive-normal);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:8px 0;cursor:pointer}.planOptionDisabled-JiB80K{opacity:.6}.planOptionClickable-2m4lfF{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.planOptionDisabled-JiB80K .planOptionClickable-2m4lfF{cursor:not-allowed}.planOptionCheckbox-3ik8cg{margin-right:10px}.planOptionInterval-2idEhf{color:var(--interactive-normal);font-weight:500}.optionSelected-1d91jC{color:var(--interactive-active)}.planOptionCurrentPlan-1NIWWm,.planOptionMonthsFree-d4pf3C{margin-left:4px}.planOptionDiscount-cS8uaO{color:#fff;text-transform:uppercase;border-radius:16px;background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);font-size:12px;line-height:16px;padding:2px 8px;font-weight:500;margin-left:8px}.selectPlanDivider-1mx_6q{background-color:var(--background-modifier-accent);height:1px;margin:8px 0 16px}.selectPlanTotalRow-Coq3OB{margin-top:8px}.taxInclusiveNote-2PeWCh{margin-bottom:16px}.renewalInvoiceDate-2NNrkM{color:var(--text-normal);margin-bottom:16px}.invoice-3GWhNe{margin-bottom:16px}.grandfatheredUpgradeNote-3hxZHm,.paymentSourceWrapper-RY23yY{margin:16px 0}@media (max-width:485px){.shaker-1QVc6p{position:absolute;top:0;right:0;bottom:0;left:0;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;max-height:none}.root-2k49pR{width:100vw;border-radius:0}}
-.premiumSubscribeButton-3TowJw{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.premiumIcon-YgHhed{margin-right:4px}.buttonText-3LvUCc{max-width:140px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.giftButton-2uAsFo{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.giftIcon-1DsQ4W{width:16px;height:16px;margin-right:4px}
-.root-3-OKEZ{text-align:center}.root-3-OKEZ p{margin:0 0 16px}.header-1afJj7{margin-bottom:8px}.content-3zS6lm{margin-bottom:32px}.footer-1dAGh4{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.primaryActions-LD_-cb{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.secondaryAction-1rI7Iw{margin-right:8px}.artContainer-1EdHbR{position:relative;margin:-48px auto 24px;border-radius:8px;-webkit-box-shadow:var(--elevation-medium);box-shadow:var(--elevation-medium)}.art-1r1UyT,.artContainer-1EdHbR{width:225px;height:149px}.sparkleBadge-2pfBfb{position:absolute;top:0;left:0;margin-top:-18px;margin-left:-12px;display:block;width:47px;height:34px;-webkit-filter:drop-shadow(0 1px 3px rgba(0,0,0,.3));filter:drop-shadow(0 1px 3px hsla(0,0%,0%,.3))}.newBadge-2wENLF{display:inline-block;vertical-align:middle;margin-top:-2px}.learnMoreLink-2r-LKX{cursor:pointer;color:var(--text-link)}
-.qrLogin-1AOZMt{position:relative;overflow:hidden;width:240px;height:344px}.qrLogin-1AOZMt,.qrLoginInner-c_7ePj{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.qrLoginInner-c_7ePj{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:100%}.qrCode-wG6ZgU{-ms-interpolation-mode:nearest-neighbor;image-rendering:-webkit-optimize-contrast;image-rendering:-moz-crisp-edges;image-rendering:-o-pixelated;image-rendering:pixelated;position:absolute}.qrCodeContainer-3sXarj{width:176px;height:176px;position:relative;margin-bottom:32px}.qrCodeContainer-3sXarj,.qrCodeOverlay-qgtlTP{display:-webkit-box;display:-ms-flexbox;display:flex}.qrCodeOverlay-qgtlTP{width:100%;height:100%;position:absolute;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.qrCodeOverlay-qgtlTP img{width:50px;height:50px;display:-webkit-box;display:-ms-flexbox;display:flex;image-rendering:crisp-edges}.qrAvatar-8_WYAf{margin-bottom:32px}.startOverButton-3q0wUV{color:var(--brand-experiment);margin-top:16px}.verticalSeparator-3huAjp{margin:0 32px;border:1px solid var(--background-modifier-accent)}@media (max-width:830px){.qrLogin-1AOZMt,.verticalSeparator-3huAjp{display:none}}
-.column-3OSB2u{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:32px}.column-3OSB2u:nth-child(odd){background-color:var(--background-secondary)}.column-3OSB2u:nth-child(2n){background-color:var(--background-primary)}.column-3OSB2u:first-child{padding-left:32px}.column-3OSB2u:last-child{padding-right:32px}.container-1WbC0Y{padding:0;overflow:hidden}.content-3vcdXQ{display:-webkit-box;display:-ms-flexbox;display:flex}
-.horizontalAuthBox-18f_tk{width:960px}.needAccount-23l_Wh{font-size:14px;line-height:16px}.smallRegisterLink-2LCrMe{display:inline-block;margin-left:4px;margin-bottom:0;vertical-align:bottom;padding:0}.mainLoginContainer-1ddwnR{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-align:start;-ms-flex-align:start;align-items:start}.mobile-1ryxso{width:100%}
-.modal-1qeMox{overflow-x:hidden;min-height:180px}.form-77IDep{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:0}.content-sp-7A3{height:100%;padding-bottom:20px}.modalTitle-3qb2Mp{margin-bottom:10px}.divider-3WKGWk{border-top:1px solid;margin:0 20px 12px}.errorBlock-3se5QO{margin-bottom:20px}.sequencer-FWouqi{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (max-width:485px) and (max-height:450px){.form-77IDep{display:block}}.theme-light .divider-3WKGWk{border-color:rgba(220,221,222,.6)}.theme-dark .divider-3WKGWk{border-color:#2f3136}
-.pageActions-1SVAnA{border-radius:3px;padding:20px 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.pageButtonNext-V2kUq0,.pageButtonPrev-1Y-47D{padding:14px;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box;width:42px;height:42px;-webkit-transition:all .2s ease;transition:all .2s ease;border:1px solid var(--interactive-normal);color:var(--interactive-normal)}.pageButtonNext-V2kUq0:hover,.pageButtonPrev-1Y-47D:hover{border-color:var(--interactive-hover);color:var(--interactive-hover)}.pageButtonNext-V2kUq0.disabled-BrLY9Y,.pageButtonPrev-1Y-47D.disabled-BrLY9Y{cursor:not-allowed;border-color:var(--interactive-muted);color:var(--interactive-muted)}.pageButtonIcon-27P-7s{width:14px;height:14px}.pageButtonPrev-1Y-47D{border-radius:3px 0 0 3px}.pageButtonNext-V2kUq0{border-radius:0 3px 3px 0}.pageIndicator-1gAbyA{padding:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;border-color:var(--interactive-muted);border-style:solid;border-width:1px 0}
-.assetWrapper-3GNt0z{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.assetWrapperMasked-2tj_Bb{-webkit-mask:url(/assets/7d65d61e6cd25bf1847ec2d3e4a0144d.svg) 0 0/100% 100%;mask:url(/assets/7d65d61e6cd25bf1847ec2d3e4a0144d.svg) 0 0/100% 100%}.stickerAsset-13j1W0{height:100%;left:0;position:absolute;top:0;width:100%}.lottieCanvas-1W7L-f,.pngImage-33yLRP{}.pngImage-33yLRP{display:block;-o-object-fit:contain;object-fit:contain}.roundedMask-3rB_-f{display:block;position:absolute;height:100%;left:0;width:100%;top:0}.errorContent-2z-hpw{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.loadingIndicator-1T4i1D{-webkit-box-sizing:border-box;box-sizing:border-box;cursor:default;display:block;-webkit-mask:url(/assets/7d65d61e6cd25bf1847ec2d3e4a0144d.svg) 0 0/100% 100%;mask:url(/assets/7d65d61e6cd25bf1847ec2d3e4a0144d.svg) 0 0/100% 100%}.error-3sSo0R,.loadingIndicator-1T4i1D{width:100%;height:100%;background-color:var(--background-modifier-active)}.error-3sSo0R{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;font-weight:600;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.errorIcon-16FWDW{color:var(--header-secondary)}.errorText-2KbYvF{margin-top:4px}.overlayWrapper-3SV4ai{pointer-events:none;position:relative;z-index:1}.overlayStickerWrapper-1BxFMK{position:relative;z-index:2}.overlayLabelWrapper-_IUK2r{position:relative;z-index:1}.overlayLabel-1U3AO5{background-color:var(--background-floating);border-radius:20px;font-weight:500;left:50%;margin-top:2px;padding:2px 8px;position:absolute;top:100%;-webkit-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.positionedLayer-rdhj21{pointer-events:none}
-.descriptionWrapper-1YBY_J{margin-left:14px}.subText-V8PTt8{font-size:14px;margin-top:4px}.indicator-2Qs3-E{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:11px;height:14px;padding:0 4px;margin-left:8px;letter-spacing:.4px;text-align:center;border-radius:3px;text-transform:uppercase;font-weight:700}.defaultIndicator-G3c16x,.invalidIndicator-3Buq_-,.premiumIndicator-1XvbfM{}.theme-light .description-HxwDO4,.theme-light .descriptionWrapper-1YBY_J{color:#72767d}.theme-light .defaultIndicator-G3c16x{background-color:#4f545c;color:#fff}.theme-light .premiumIndicator-1XvbfM{background-color:var(--brand-experiment-500);color:#fff}.theme-light .invalidIndicator-3Buq_-{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);color:#fff}.theme-dark .description-HxwDO4{color:#dcddde}.theme-dark .descriptionWrapper-1YBY_J{color:#72767d}.theme-dark .defaultIndicator-G3c16x{background-color:#4f545c;color:#fff}.theme-dark .premiumIndicator-1XvbfM{background-color:var(--brand-experiment-500);color:#fff}.theme-dark .invalidIndicator-3Buq_-{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);color:#fff}
-.payment-xT17Mq{width:100%}.hoverablePayment-Yc6mK7{-webkit-transition:background-color .2s ease;transition:background-color .2s ease}.expandInfo-2ApsVK{padding:20px}.summaryInfo-2QFKUg{cursor:pointer;padding:20px}.expandedInfo-3kfShd{margin:0 20px 20px;padding:20px;border-radius:5px}.paymentHeader-3QlZQi{font-size:16px;font-weight:600;margin-bottom:8px;padding-top:20px;border-top:1px solid;margin-top:20px}.paymentHeader-3QlZQi:first-child{border-top:none;padding-top:0;margin-top:0}.paymentText-2vaF7U{font-size:14px;line-height:1.4}.paymentBreakdown-28CAO8{padding-top:10px}.paymentDetail-aFXa-m{margin-top:12px}.paymentDetail-aFXa-m:first-child,.paymentDetail-aFXa-m:last-child{margin-top:20px}.date-2Qr15l{width:20%}.amount-ukM6w-{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-line-pack:center;align-content:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.statusTag-22YO6d{border-radius:3px;display:block;margin-right:20px;padding:0 4px;overflow:hidden;height:14px;max-width:180px;color:#fff;font-size:11px;font-weight:500;letter-spacing:.4px;line-height:14px;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.statusTagGreen-1YzpdX{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.statusTagRed-2Xg3v3{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.statusTagGrey-2_qq8q{background-color:hsl(214,calc(var(--saturation-factor, 1)*9.9%),50.4%)}.price-2pVkRt{white-space:nowrap}.description-RQzS-K{-webkit-box-flex:1;-ms-flex:1 1 50%;flex:1 1 50%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-right:8px}.descriptionIcon-1UHIIr{margin-right:10px;-ms-flex-negative:0;flex-shrink:0;background-repeat:no-repeat;background-position:50%}.expand-1g95ZR{margin-left:20px;width:24px;height:24px}.refundSubHeader-3hp-GM{text-transform:uppercase;margin:20px 0 8px;font-size:12px;font-weight:600}.refundSelect-JoPzvz{margin-right:12px;-webkit-box-flex:1;-ms-flex:1;flex:1}.refundCriteria-o9V-c2{margin-right:32px}.refundCriteriaIcon-Ta3gtw{width:16px;height:16px;margin-right:8px}.giftIcon-3DRGI6{margin-left:10px;width:16px;height:16px}@media (max-width:800px){.refundCriteria-o9V-c2{margin-right:16px}}.compact-3q6200 .amount-ukM6w-{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;width:20%}.compact-3q6200 .summaryInfo-2QFKUg{padding:16px 20px}.compact-3q6200 .amount-ukM6w-,.compact-3q6200 .date-2Qr15l,.compact-3q6200 .description-RQzS-K{text-transform:unset}.compact-3q6200 .date-2Qr15l{opacity:.6}.compact-3q6200 .descriptionIcon-1UHIIr{width:40px;height:40px}.compact-3q6200 .statusTag-22YO6d{margin:8px 0 0}.compact-3q6200 .expand-1g95ZR{margin-left:8px}.compact-3q6200 .date-2Qr15l{width:unset;font-size:12px;line-height:16px}.compact-3q6200 .description-RQzS-K{text-transform:unset;width:unset;-webkit-box-flex:1;-ms-flex:1 1 55%;flex:1 1 55%}.theme-light .summaryInfo-2QFKUg{color:#4f545c}.theme-light .payment-xT17Mq{background-color:#f6f6f7}.theme-light .paymentHeader-3QlZQi{border-color:#4f545c}.theme-light .expandedInfo-3kfShd{background-color:#dcddde}.theme-light .paymentText-2vaF7U{color:#36393f}.theme-light .giftIcon-3DRGI6{color:#4f545c}.theme-dark .summaryInfo-2QFKUg{color:#f6f6f7}.theme-dark .payment-xT17Mq{background-color:#2f3136;color:#b9bbbe}.theme-dark .hoverablePayment-Yc6mK7:hover{background-color:hsl(214,calc(var(--saturation-factor, 1)*9.1%),15.1%)}.theme-dark .paymentHeader-3QlZQi{color:#fff;border-color:#4f545c}.theme-dark .expandedInfo-3kfShd{background-color:#36393f}.theme-dark .paymentText-2vaF7U{color:#b9bbbe}.theme-dark .giftIcon-3DRGI6{color:#fff;opacity:.6}
-.paymentPane-3bwJ6A{border-radius:5px;overflow:hidden}.paymentRow-2e7VM6{cursor:default}.paymentRowHeader-2sfDdN{font-size:12px;font-weight:600;margin-right:44px;padding:20px}.paymentRowHeaderDescription-4bm8wL{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 50%;flex:1 1 50%;margin-left:8px}.tab-1kx2RU{padding-bottom:12px;margin-left:12px;font-size:14px;font-weight:600}.tab-1kx2RU:first-child{margin-left:0}.externalRow-EXU9l7{display:-webkit-box;display:-ms-flexbox;display:flex;border-radius:5px;margin-bottom:20px;padding:20px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.externalRowHeader-2-8cG6{font-size:16px}.externalRowBody-3PrFmM{font-size:14px;line-height:18px;margin-top:8px;color:var(--text-muted)}.bottomDivider-1K9Gao{border-bottom-width:1px;border-bottom-style:solid}.bottomDivider-1K9Gao:last-child{border-bottom:none}.verticalFit-waKLYN{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.theme-light .paymentPane-3bwJ6A{background-color:#f6f6f7;color:#4f545c}.theme-light .paginator-166-09{background:#f6f6f7;border-top:0;color:#4f545c}.theme-light .bottomDivider-1K9Gao{border-bottom-color:#dcddde}.theme-light .externalRowHeader-2-8cG6{color:#4f545c}.theme-dark .paymentPane-3bwJ6A{background-color:#2f3136;color:#f6f6f7}.theme-dark .paginator-166-09{background:#2f3136}.theme-dark .bottomDivider-1K9Gao{border-bottom-color:#36393f}.theme-dark .tab-1kx2RU{color:#72767d}.theme-dark .externalRowHeader-2-8cG6{color:#dcddde}
-.card-19w55y{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background:#36393f;border-color:#36393f;height:100vh;max-height:100vh}.title-3TRLpl{display:none}@media (min-width:486px){.card-19w55y{margin:16px;padding:20px;max-width:720px;height:auto}.title-3TRLpl{display:block;margin:20px 0 16px}}
-.errorBody-3WviEJ{-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 16px;text-align:center}.errorBody-3WviEJ,.promotionBodyWrapper-JgfKJo{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.errorBody-3WviEJ,.promotionBody-2r_eLH,.promotionBodyWrapper-JgfKJo{display:-webkit-box;display:-ms-flexbox;display:flex}.promotionBody-2r_eLH{-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:200px;margin-top:20px}@media (max-width:485px){.promotionBody-2r_eLH{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:auto;text-align:center}}.promotionImage-1HQo_l{max-height:200px;max-width:160px}@media (min-width:485px){.promotionImage-1HQo_l{margin-right:16px}}@media (max-width:485px){.promotionImage-1HQo_l{margin-top:32px;margin-bottom:32px}}.promotionAccountIdentifier-16Eu6A{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}@media (max-width:485px){.promotionAccountIdentifier-16Eu6A{margin-top:48px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}.promotionAccountIdentifier-16Eu6A a{margin-left:4px}.promotionAccountIdentifierAvatar-1I8Olf{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;margin-left:4px;margin-right:4px}.promotionAccountIdentifierBody-28mJCQ{margin-top:24px}.promotionAccountIdentifierError-3YuTdv{-ms-flex-item-align:start;align-self:flex-start;margin-bottom:8px}.title-9oNsnn{margin-bottom:16px}.bodyText-ThtFMi{font-weight:500;margin-bottom:20px}.errorImage-22tjNJ{margin-top:42px;margin-bottom:12px;height:111px}@media (max-width:485px){.errorFooter-eY2PQo{display:none}}
-.header-1F6gxU{background-image:url(/assets/013c5f80926ca992c0d708af8ff334ea.svg);background-position:top;background-repeat:no-repeat;background-size:cover;-webkit-box-sizing:border-box;box-sizing:border-box;height:132px}.animation-3YKWGa{position:absolute;top:0;left:0;right:0;bottom:0}.headerTitle-1_9Kor{background-image:url(/assets/bb0498a0c697a956f54f2b26216d6a2e.svg);height:28px;width:60px}.header-1F6gxU .closeButton-23VgYF{position:absolute;right:12px;top:12px;color:#fff;opacity:.8}.header-1F6gxU .closeButton-23VgYF:hover{opacity:1}
-.perkRow-4H5Kvz{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;border-bottom:1px solid var(--channeltextarea-background);margin:0 16px;padding:16px 0}.perkRow-4H5Kvz:last-child{border-bottom:none}.perkIconContainer-Pf29_D{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:16px}.perkIcon-XjImOD,.perkIconContainer-Pf29_D{height:24px;width:24px}.perkDescription-2-1vIq{color:var(--interactive-active);font-size:16px;font-weight:500;line-height:20px}
-.content-1tUOTl{padding-top:32px}.closeButton-27-8oX{position:absolute;right:4px;top:12px}.upsellImage-1IzAr4{background-image:url(/assets/a873f632f0c10166704d70d7fb966565.svg);background-size:cover;height:120px;width:265px;margin:0 auto 32px}.bodyText-GzTXXM{color:var(--interactive-normal);font-size:16px;font-weight:500;line-height:20px}.perksList-1vtwXn{background-color:var(--background-secondary);border-radius:8px;margin:16px 0}.perkIconGuild-KLNhuR{color:#ff80f4}.perkIconUpload-1KAE-g{color:#ffe83d}.perkIconStream-7wqAvn{color:#4173da}.perkIconChatPerks-BnKNFh{color:var(--brand-experiment-400)}.backStep-vJugKI{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin-left:-16px}.footerRight-3XUHKU{display:-webkit-box;display:-ms-flexbox;display:flex}
-.value-IR9osW{width:48px}.actions-6rRvry{border-radius:4px;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.value-IR9osW{text-align:center;height:32px;background:var(--background-secondary);border:none;border-radius:0}.iconWrapper-3LVgIo{cursor:pointer}.icon-TYbVk4{display:block;padding:8px;width:32px;height:32px;-webkit-transition:all .2s ease;transition:all .2s ease;color:var(--interactive-normal);-webkit-box-sizing:border-box;box-sizing:border-box}.icon-TYbVk4:active{color:var(--interactive-active)}.icon-TYbVk4:hover{color:var(--interactive-hover);background:var(--background-modifier-hover)}.icon-TYbVk4.disabled-24YXy-,.icon-TYbVk4.disabled-24YXy-:hover{color:var(--interactive-muted);cursor:not-allowed;background:none}.theme-dark .iconWrapper-3LVgIo{background:#72767d}.theme-light .iconWrapper-3LVgIo{background:#e3e5e8}
-.upsellFooter-3coAfO{background-color:var(--background-secondary);border-radius:8px;color:var(--text-normal);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;line-height:18px;margin-top:16px;padding:8px}.upsellFooterIcon-wRsqlH{-ms-flex-negative:0;flex-shrink:0;margin-right:8px;height:24px;width:24px}
-.bodyText-2BAgX2{color:var(--text-normal);font-size:16px;line-height:20px}.planSelectStep-siOMix{padding:16px 0}.planSelectText-27NxQV{margin-bottom:16px}.planSelectRow-2YPEKQ{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:8px auto}.planSelectorWrapper-26xZEm,.planSelectRow-2YPEKQ{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.planSelectorLabel-1aEsuE{color:var(--text-normal);font-size:16px;line-height:20px;margin-left:16px}.planSelectorPreviewPrice-2xDAwc{color:var(--interactive-normal);font-size:16px;line-height:20px}.planSelectDivider-3KU5-l{background-color:var(--background-modifier-accent);height:1px;margin:16px 0}.planSelectorSubtotal-Ze7sIQ{color:var(--interactive-active);font-size:16px;font-weight:600;line-height:20px}.reviewStep-1bHb2j{padding:16px 0}.invoiceTableBottom-ZfxfOm,.paymentSourceWrapper-1k4xvS{margin:16px 0}.taxInclusiveNote-1609LC{margin-top:12px}.confirmationContainer-1TiG5F{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:56px 32px 64px}.confirmationAnimation-23ieIm{width:400px;height:140px;margin-bottom:32px}.confirmationText-1CakOE,.confirmationUpgradedBanner-3CRRar{margin-bottom:16px}.confirmationText-1CakOE{color:var(--interactive-normal);font-size:16px;font-weight:500;line-height:20px;text-align:center}.confirmationText-1CakOE p{margin:0}.confirmationText-1CakOE p+p{margin-top:8px}.existingSlotNotice-1KvWSb{background-color:var(--background-secondary);border-radius:8px;color:var(--text-normal);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;line-height:18px;margin-top:16px;padding:8px;margin-bottom:16px}.existingSlotIcon-zCzuDM{-ms-flex-negative:0;flex-shrink:0;margin-right:8px;height:24px;width:24px}.existingSlotTooltipWarningIcon-3U0NWb{height:16px;width:14px;vertical-align:text-bottom;margin-left:6px;cursor:pointer}
-.contentWrapper-3INYJy{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:0}.content-1AQeZG{overflow:hidden}.breadcrumbsWrapper-1m9gjf{border-bottom:1px solid var(--background-modifier-accent);padding:0 0 16px}.externalErrorBlock-RoYW2L{margin-top:16px}.externalErrorBlock-RoYW2L a{text-decoration:underline}.bodyWrapper-3k1Slb{position:relative}.footerRight-2F0jE7{display:-webkit-box;display:-ms-flexbox;display:flex}.backStep-22G5wh{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin-left:-16px}.copy-3YQ4Eu{color:var(--text-normal)}
-.wrapper-2JeiFF{max-height:100%}.spinnerWrapper-3MQVhb,.wrapper-2JeiFF{display:-webkit-box;display:-ms-flexbox;display:flex}.spinnerWrapper-3MQVhb{width:100%;height:100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}
-.unsupportedBrowser-3LZq46{position:absolute;top:0;left:0;bottom:0;right:0;background:#1b242b;text-align:center}.unsupportedBrowser-3LZq46,.wrap-Ep75jh{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wrap-Ep75jh{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-width:320px;overflow:auto;height:100%}.title-3Lo6gh{font-weight:700;font-size:22px;color:#fff;margin:50px 0 10px;text-transform:uppercase}.message-3vjdjX,.title-3Lo6gh{-ms-flex-negative:0;flex-shrink:0}.message-3vjdjX{font-weight:500;margin:0 auto 30px;line-height:18px;max-width:420px;font-size:14px;padding:0 20px;color:#949494}.browserList-NdGOy7{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-bottom:50px;-ms-flex-wrap:wrap;flex-wrap:wrap;display:-webkit-box;display:-ms-flexbox;display:flex}.browserItem-1mKMYK{padding:20px;width:188px;margin:10px;border:2px solid #282f36;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:3px;-webkit-transition:.1s;transition:.1s;color:#fff}.browserItem-1mKMYK:hover{-webkit-transform:scale(1.04);transform:scale(1.04);border-color:var(--brand-experiment)}.browserItem-1mKMYK:hover .browser-3GMQyB{background-position-y:100px}.browserItem-1mKMYK:hover .btn-3wPLTq{background-color:var(--brand-experiment);border-color:var(--brand-experiment);color:#fff}.browserItemText-1h58O0{text-transform:uppercase;text-align:center;line-height:1.5em;font-weight:500;font-size:12px}.browser-3GMQyB{display:inline-block;width:100px;height:100px;background:url(/assets/5d57632291e09c5bc2b5d6a0b20179fa.png);background-size:400px 200px;margin-bottom:28px}.browserDiscord-mlswz3{background-position-x:0}.browserOpera-3VgIwy{background-position-x:100px}.browserFirefox-3rx2mR{background-position-x:200px}.browserChrome-88x1sG{background-position-x:300px}.btn-3wPLTq{margin-top:28px;font-size:16px;font-weight:500;color:#fff;border:1px solid #282f36;display:block;padding:10px;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;border-radius:3px;-webkit-transition:border .1s,background-color .1s;transition:border .1s,background-color .1s;text-decoration:none;cursor:pointer}.btn-3wPLTq:active{position:relative;top:1px}.theme-dark .btn-3wPLTq,.theme-light .btn-3wPLTq{background:transparent}
-.verifyConnectedAccount-3WFmtE{color:#fff;position:absolute;top:0;left:0;bottom:0;right:0;background:url(/assets/d20e43cdcadf850cfd8d4e953df0f3b4.png) 0 0 repeat;background-color:#282b30}.verifyConnectedAccount-3WFmtE,.verifyConnectedAccount-3WFmtE .logos-pt9vV6{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.verifyConnectedAccount-3WFmtE .logos-pt9vV6{margin-bottom:95px}.verifyConnectedAccount-3WFmtE .logos-pt9vV6 .logosDivider-2K41nn{width:28px;height:28px;margin:0 37px;background-size:28px 28px;background-image:url(/assets/6b22a209e3b29ba0ba06dd0346226460.svg);content:" ";display:inline-block}.verifyConnectedAccount-3WFmtE .logos-pt9vV6 .logo-TOCUPc{width:88px;height:88px;background-size:88px 88px}.verifyConnectedAccount-3WFmtE .logos-pt9vV6 .logoDiscord-3MZDXD{background-image:url(/assets/54a3402f6ce47d7b7e15f590cb37882f.svg)}.verifyConnectedAccount-3WFmtE .message-bWw5KR{text-align:center;font-size:18px}.verifyConnectedAccount-3WFmtE .message-bWw5KR.error-2hdVlS{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.verifyConnectedAccount-3WFmtE .message-bWw5KR strong{font-weight:700}.verifyConnectedAccount-3WFmtE .btn-3HQv6W{margin-top:22px;width:400px;height:60px;-webkit-transition:background-color .2s ease;transition:background-color .2s ease}.verifyConnectedAccount-3WFmtE .btn-3HQv6W .spinnerItem-3hBt_K{background-color:#fff;opacity:.25}.verifyConnectedAccount-3WFmtE .btn-3HQv6W:disabled{cursor:not-allowed;background-color:#2f3136;opacity:1}
-.container-2XeR5Z{-ms-flex-negative:0;flex-shrink:0;border-radius:4px;overflow:hidden;background-color:var(--background-tertiary)}.container-2XeR5Z,.inner-3ErfOT{-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex}.inner-3ErfOT{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:1px}.disabled-jLAJq8 .inner-3ErfOT{opacity:.3}.input-1Rv96N{-webkit-box-sizing:border-box;box-sizing:border-box;background:transparent;border:none;resize:none;-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:48px;margin:1px;-webkit-appearance:none;-moz-appearance:none;appearance:none;color:var(--text-normal)}.input-1Rv96N::-webkit-input-placeholder{color:var(--text-muted);opacity:1}.disabled-jLAJq8 .input-1Rv96N{cursor:not-allowed}.tag-2gHSR7{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:2px;text-align:center;margin:1px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;cursor:pointer;-webkit-transition:none;transition:none;background-color:var(--background-primary);color:var(--text-normal)}.tag-2gHSR7:hover{text-decoration:none;opacity:.9}.small-1lPjda .input-1Rv96N,.small-1lPjda .tag-2gHSR7{font-size:14px;font-weight:500;line-height:20px;height:20px;padding:0 4px}.medium-2-DE5M .input-1Rv96N,.medium-2-DE5M .tag-2gHSR7{font-size:16px;line-height:32px;height:30px;padding:0 8px}.large-3dt_qC .input-1Rv96N,.large-3dt_qC .tag-2gHSR7{font-size:20px;line-height:40px;height:38px;padding:0 16px}.richTag-1rBBz8{background-color:var(--background-secondary-alt)}.medium-2-DE5M .richTag-1rBBz8,.medium-2-DE5M .richTagInput-1GjAv7{margin:3px 0 3px 3px;height:26px;line-height:24px}.large-3dt_qC .richTag-1rBBz8,.large-3dt_qC .richTagInput-1GjAv7{margin:4px 0 4px 4px;height:32px;line-height:30px}.tagLabel-1Kxtxb{padding-left:6px}.tagRoleColor-3ieGvq{height:8px;width:8px;border-radius:50%}.close-3WVtCL{width:12px;height:12px;margin-left:4px}.close-3WVtCL,.iconLayout-1WxHy4{-webkit-box-sizing:border-box;box-sizing:border-box}.iconLayout-1WxHy4{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:22px;height:22px;cursor:text}.medium-2-DE5M.iconLayout-1WxHy4{width:32px;height:32px}.large-3dt_qC.iconLayout-1WxHy4{width:40px;height:40px}.iconContainer-O4O2CN{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;width:16px;height:16px}.medium-2-DE5M .iconContainer-O4O2CN{width:20px;height:20px}.large-3dt_qC .iconContainer-O4O2CN{width:24px;height:24px}.icon-3cZ1F_{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;top:0;left:0;opacity:0;width:100%;height:100%;z-index:2;-webkit-transition:opacity .1s ease-out,-webkit-transform .1s ease-out;transition:opacity .1s ease-out,-webkit-transform .1s ease-out;transition:transform .1s ease-out,opacity .1s ease-out;transition:transform .1s ease-out,opacity .1s ease-out,-webkit-transform .1s ease-out;-webkit-transform:rotate(90deg);transform:rotate(90deg);color:var(--text-muted)}.icon-3cZ1F_.visible-3V0mGj{-webkit-transform:rotate(0deg);transform:rotate(0deg);opacity:1}.clear-1pMieT{-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer}.clear-1pMieT .icon-3cZ1F_{color:var(--interactive-normal)}.clear-1pMieT.iconLayout-1WxHy4:hover .icon-3cZ1F_{color:var(--interactive-hover)}
-.wrapper-21YAQM{width:500px;z-index:1}.header-LyxrPy{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex-1O1GKY;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.closeButton-O0hkB2{position:absolute;top:14px;right:14px;z-index:3}.resultWrapper-2g7r2D{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:3px;margin-right:-10px;padding:7px 10px 7px 8px;height:44px;color:#b9bbbe;font-size:16px}.resultWrapperSelected-3v78W2{color:#fff;background-color:rgba(79,84,92,.3)}.result-2XuU55{overflow:hidden;margin-right:4px;-webkit-box-flex:1;-ms-flex:1;flex:1}.resultAvatar-2lJWaG{margin-right:10px;width:30px!important;height:30px!important}.resultIcon-9dYGgv{-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;width:30px;display:-webkit-box;display:-ms-flexbox;display:flex-1O1GKY;opacity:.6}.resultIconBackground-ar9sVF{opacity:.6}.resultText-LZCb11{font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;-webkit-box-flex:1;-ms-flex:1;flex:1}.resultUsername-1oWpSm{margin-left:4px;opacity:.5;font-weight:300}.resultCategoryName-Heu4ue{font-size:10px;text-transform:uppercase;line-height:16px}.resultCategoryName-Heu4ue,.resultGuildName-1dxVR3{margin-left:4px;opacity:.5;font-weight:500}.resultGuildName-1dxVR3{font-size:14px;margin-right:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.inviteButton-MGrg8b{width:72px;height:32px;-webkit-transition:unset;transition:unset;-webkit-box-flex:0;-ms-flex:none;flex:none}.results-3TZ2t8{height:300px}.noResults-3LFG4E{width:100%;background:url(/assets/0b298968e0a756e25677771fd6b58b34.svg) no-repeat 50% 40%}
-.container-347Bj6{text-align:center;margin-top:16px;margin-bottom:16px}.title-2QMS5Z{margin-bottom:8px}.img-13DOg9{width:149px;height:83px}.birthday-1a5GTD,.confirmContainer-26aFKb,.img-13DOg9{margin-bottom:16px}.confirmContainer-26aFKb{text-align:center;margin-top:24px}.confirmTitle-2NBYVn{margin-bottom:8px}.confirmFooter-3qlQIM{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}
-.container-W_-I6J{text-align:center;margin-top:16px}.title-3Bn9Ug{margin-bottom:8px}.img-32j92f,.subtitle-3Sv-2Y{margin-bottom:16px}.img-32j92f{width:252px;height:168px}
-.container-aP5JfW{text-align:center;margin-top:16px}.title-9DQOZZ{margin-bottom:8px}.img-3KRB1J,.subtitle-3GNI_g{margin-bottom:16px}.img-3KRB1J{width:113px;height:94px}
-.header-1Ijz4R{padding:24px 16px 0}.channelPrompt-1kjOz3{padding:16px;margin-top:8px;margin-bottom:16px;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}.closeButton-miMLYp{position:absolute;top:12px;right:12px}.guildName-1kMlYi{margin-top:8px;font-size:14px;line-height:18px;font-weight:600}.title-z3hreh{font-size:24px;line-height:30px;font-weight:700}.subtitle-2942Dz{margin-top:8px;font-size:16px;line-height:20px}.skipButton-U0dQ2q{margin-right:16px}
-.container-UC8Ug1{border-radius:8px;border:1px solid var(--background-modifier-accent);background-color:var(--background-primary);margin-bottom:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;width:100%;padding:0}.container-UC8Ug1:hover{background-color:var(--background-modifier-hover)}.keyboard-mode .container-UC8Ug1:focus{background-color:var(--background-modifier-selected)}.container-UC8Ug1:active{background-color:var(--background-modifier-active)}.icon-QM5383{margin:8px 8px 8px 16px}.text-1FOLJS{font-weight:700;overflow:hidden;text-overflow:ellipsis}.arrow-hynWUl{margin-left:auto;margin-right:16px}
-.header-1BLHoL{padding:24px 16px 0}.closeButton-_onk93{position:absolute;top:12px;right:12px}.title-LqAd9K{font-weight:700}.subtitle-1Q3BuX,.title-LqAd9K{text-align:center}.subtitle-1Q3BuX{margin-top:8px}.optionsList-3UMAjx{margin-top:24px;padding:0 16px 8px}.backButton-iA7KIs{height:38px;margin-right:auto}.skip-2o6MGG{text-align:center;margin-top:18px;margin-bottom:16px}
-.premiumPromo-3oM7cT{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;padding:0 15px 15px;margin-top:-5px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.content-P4SiGI,.premiumPromo-3oM7cT{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center}.content-P4SiGI{font-size:12px;line-height:16px;color:#fff;cursor:pointer;opacity:.6}.content-P4SiGI:hover{opacity:1}.content-P4SiGI:hover .navArrow-3Q9QPC{-webkit-transform:translate3d(2px,0,0);transform:translate3d(2px,0,0)}.navArrow-3Q9QPC{width:14px;height:14px;-webkit-transition:-webkit-transform .1s ease-in-out;transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out}
-@-webkit-keyframes uploadIconAnimateInLeft-lEUOPh{0%{-webkit-transform:translateZ(0) rotate(0deg);transform:translateZ(0) rotate(0deg);opacity:.6}4.1667%{-webkit-transform:translate3d(0,-1px,0) rotate(0deg);transform:translate3d(0,-1px,0) rotate(0deg);opacity:.68}30.8334%{-webkit-transform:translate3d(-48px,-10px,0) rotate(-36deg);transform:translate3d(-48px,-10px,0) rotate(-36deg);opacity:1}58.3334%{-webkit-transform:translate3d(-41px,-3px,0) rotate(-28deg);transform:translate3d(-41px,-3px,0) rotate(-28deg);opacity:1}75%{-webkit-transform:translate3d(-45px,-8px,0) rotate(-32deg);transform:translate3d(-45px,-8px,0) rotate(-32deg);opacity:1}83.3334%{-webkit-transform:translate3d(-44px,-7px,0) rotate(-30.7deg);transform:translate3d(-44px,-7px,0) rotate(-30.7deg);opacity:1}to{-webkit-transform:translate3d(-44px,-6px,0) rotate(-30deg);transform:translate3d(-44px,-6px,0) rotate(-30deg);opacity:1}}@keyframes uploadIconAnimateInLeft-lEUOPh{0%{-webkit-transform:translateZ(0) rotate(0deg);transform:translateZ(0) rotate(0deg);opacity:.6}4.1667%{-webkit-transform:translate3d(0,-1px,0) rotate(0deg);transform:translate3d(0,-1px,0) rotate(0deg);opacity:.68}30.8334%{-webkit-transform:translate3d(-48px,-10px,0) rotate(-36deg);transform:translate3d(-48px,-10px,0) rotate(-36deg);opacity:1}58.3334%{-webkit-transform:translate3d(-41px,-3px,0) rotate(-28deg);transform:translate3d(-41px,-3px,0) rotate(-28deg);opacity:1}75%{-webkit-transform:translate3d(-45px,-8px,0) rotate(-32deg);transform:translate3d(-45px,-8px,0) rotate(-32deg);opacity:1}83.3334%{-webkit-transform:translate3d(-44px,-7px,0) rotate(-30.7deg);transform:translate3d(-44px,-7px,0) rotate(-30.7deg);opacity:1}to{-webkit-transform:translate3d(-44px,-6px,0) rotate(-30deg);transform:translate3d(-44px,-6px,0) rotate(-30deg);opacity:1}}@-webkit-keyframes uploadIconAnimateInMiddle-3DqCs3{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}30.8334%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}58.3334%{-webkit-transform:translate3d(0,-3px,0);transform:translate3d(0,-3px,0)}75%{-webkit-transform:translate3d(0,-8px,0);transform:translate3d(0,-8px,0)}83.3334%{-webkit-transform:translate3d(0,-7px,0);transform:translate3d(0,-7px,0)}to{-webkit-transform:translate3d(0,-6px,0);transform:translate3d(0,-6px,0)}}@keyframes uploadIconAnimateInMiddle-3DqCs3{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}30.8334%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}58.3334%{-webkit-transform:translate3d(0,-3px,0);transform:translate3d(0,-3px,0)}75%{-webkit-transform:translate3d(0,-8px,0);transform:translate3d(0,-8px,0)}83.3334%{-webkit-transform:translate3d(0,-7px,0);transform:translate3d(0,-7px,0)}to{-webkit-transform:translate3d(0,-6px,0);transform:translate3d(0,-6px,0)}}@-webkit-keyframes uploadIconAnimateInRight-KUAMIW{0%{-webkit-transform:translateZ(0) rotate(0deg);transform:translateZ(0) rotate(0deg);opacity:.6}4.1667%{-webkit-transform:translate3d(0,-1px,0) rotate(0deg);transform:translate3d(0,-1px,0) rotate(0deg);opacity:.68}30.8334%{-webkit-transform:translate3d(48px,-10px,0) rotate(36deg);transform:translate3d(48px,-10px,0) rotate(36deg);opacity:1}58.3334%{-webkit-transform:translate3d(41px,-3px,0) rotate(28deg);transform:translate3d(41px,-3px,0) rotate(28deg);opacity:1}75%{-webkit-transform:translate3d(45px,-8px,0) rotate(32deg);transform:translate3d(45px,-8px,0) rotate(32deg);opacity:1}83.3334%{-webkit-transform:translate3d(44px,-7px,0) rotate(30.7deg);transform:translate3d(44px,-7px,0) rotate(30.7deg);opacity:1}to{-webkit-transform:translate3d(44px,-6px,0) rotate(30deg);transform:translate3d(44px,-6px,0) rotate(30deg);opacity:1}}@keyframes uploadIconAnimateInRight-KUAMIW{0%{-webkit-transform:translateZ(0) rotate(0deg);transform:translateZ(0) rotate(0deg);opacity:.6}4.1667%{-webkit-transform:translate3d(0,-1px,0) rotate(0deg);transform:translate3d(0,-1px,0) rotate(0deg);opacity:.68}30.8334%{-webkit-transform:translate3d(48px,-10px,0) rotate(36deg);transform:translate3d(48px,-10px,0) rotate(36deg);opacity:1}58.3334%{-webkit-transform:translate3d(41px,-3px,0) rotate(28deg);transform:translate3d(41px,-3px,0) rotate(28deg);opacity:1}75%{-webkit-transform:translate3d(45px,-8px,0) rotate(32deg);transform:translate3d(45px,-8px,0) rotate(32deg);opacity:1}83.3334%{-webkit-transform:translate3d(44px,-7px,0) rotate(30.7deg);transform:translate3d(44px,-7px,0) rotate(30.7deg);opacity:1}to{-webkit-transform:translate3d(44px,-6px,0) rotate(30deg);transform:translate3d(44px,-6px,0) rotate(30deg);opacity:1}}@-webkit-keyframes uploadModalShake-1PBhUb{10%,90%{-webkit-transform:translate3d(-1px,0,0);transform:translate3d(-1px,0,0)}20%,80%{-webkit-transform:translate3d(2px,0,0);transform:translate3d(2px,0,0)}30%,50%,70%{-webkit-transform:translate3d(-4px,0,0);transform:translate3d(-4px,0,0)}40%,60%{-webkit-transform:translate3d(4px,0,0);transform:translate3d(4px,0,0)}}@keyframes uploadModalShake-1PBhUb{10%,90%{-webkit-transform:translate3d(-1px,0,0);transform:translate3d(-1px,0,0)}20%,80%{-webkit-transform:translate3d(2px,0,0);transform:translate3d(2px,0,0)}30%,50%,70%{-webkit-transform:translate3d(-4px,0,0);transform:translate3d(-4px,0,0)}40%,60%{-webkit-transform:translate3d(4px,0,0);transform:translate3d(4px,0,0)}}@-webkit-keyframes uploadTextFadeIn-3vkVkM{0%,8.334%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0);opacity:0}45.8%,to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes uploadTextFadeIn-3vkVkM{0%,8.334%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0);opacity:0}45.8%,to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@-webkit-keyframes uploadModalBounceTransition-2UbjF9{0%{-webkit-transform:translateZ(0) scale(.99);transform:translateZ(0) scale(.99)}50%{-webkit-transform:translateZ(0) scale(1.005);transform:translateZ(0) scale(1.005)}to{-webkit-transform:translateZ(0) scale(1);transform:translateZ(0) scale(1)}}@keyframes uploadModalBounceTransition-2UbjF9{0%{-webkit-transform:translateZ(0) scale(.99);transform:translateZ(0) scale(.99)}50%{-webkit-transform:translateZ(0) scale(1.005);transform:translateZ(0) scale(1.005)}to{-webkit-transform:translateZ(0) scale(1);transform:translateZ(0) scale(1)}}@-webkit-keyframes uploadModalBounce-30cglS{0%{-webkit-transform:translateZ(0) scale(.99);transform:translateZ(0) scale(.99)}15%,to{top:-10px;left:-10px;right:-10px;bottom:-10px}33.3334%{-webkit-transform:translateZ(0) scale(1.005);transform:translateZ(0) scale(1.005)}54.1667%{-webkit-transform:translateZ(0) scale(.995);transform:translateZ(0) scale(.995)}70.8334%,to{-webkit-transform:translateZ(0) scale(1);transform:translateZ(0) scale(1)}}@keyframes uploadModalBounce-30cglS{0%{-webkit-transform:translateZ(0) scale(.99);transform:translateZ(0) scale(.99)}15%,to{top:-10px;left:-10px;right:-10px;bottom:-10px}33.3334%{-webkit-transform:translateZ(0) scale(1.005);transform:translateZ(0) scale(1.005)}54.1667%{-webkit-transform:translateZ(0) scale(.995);transform:translateZ(0) scale(.995)}70.8334%,to{-webkit-transform:translateZ(0) scale(1);transform:translateZ(0) scale(1)}}.uploadArea-3QgLtW{position:absolute;top:0;left:0;width:100%;height:100%;visibility:hidden;background:rgba(0,0,0,.8);font-size:36px;color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;opacity:0;z-index:2000}.uploadArea-3QgLtW strong{font-weight:700}.uploadArea-3QgLtW *{pointer-events:none}.uploadArea-3QgLtW.droppable-1orUyP{visibility:visible}.uploadArea-3QgLtW.uploadModalIn-1z07Bv{opacity:1}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc{-webkit-animation:uploadIconAnimateIn-2ME8Vn .25s ease-in-out 0s normal forwards;animation:uploadIconAnimateIn-2ME8Vn .25s ease-in-out 0s normal forwards;width:310px;height:170px;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc .icon-kyxXVr.one-2crnLX{-webkit-animation:uploadIconAnimateInLeft-lEUOPh .8s ease 0s normal forwards;animation:uploadIconAnimateInLeft-lEUOPh .8s ease 0s normal forwards}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc .icon-kyxXVr.two-3BBQI9{-webkit-animation:uploadIconAnimateInMiddle-3DqCs3 .8s ease 0s normal forwards;animation:uploadIconAnimateInMiddle-3DqCs3 .8s ease 0s normal forwards}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc .icon-kyxXVr.three-27ScFD{-webkit-animation:uploadIconAnimateInRight-KUAMIW .8s ease 0s normal forwards;animation:uploadIconAnimateInRight-KUAMIW .8s ease 0s normal forwards}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc .instructions-2Du9gG,.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc .title-2Vtl4y{opacity:0;-webkit-animation:uploadTextFadeIn-3vkVkM 1s ease .175s normal forwards;animation:uploadTextFadeIn-3vkVkM 1s ease .175s normal forwards}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc .instructions-2Du9gG{-webkit-animation-delay:.185s;animation-delay:.185s;-webkit-animation-duration:1.25s;animation-duration:1.25s}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc.error-kKl9o2{background-color:hsl(359,calc(var(--saturation-factor, 1)*66.7%),54.1%);-webkit-animation:uploadModalShake-1PBhUb .82s cubic-bezier(.36,.07,.19,.97) both;animation:uploadModalShake-1PBhUb .82s cubic-bezier(.36,.07,.19,.97) both;-webkit-transform:translateZ(0);transform:translateZ(0);padding:10px;border-radius:10px;-webkit-box-sizing:border-box;box-sizing:border-box;height:auto}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc.error-kKl9o2 .instructions-2Du9gG{margin-bottom:15px}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc.error-kKl9o2 a{cursor:pointer;color:hsla(0,0%,100%,.7)}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc.error-kKl9o2 a:hover{color:#fff}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc.error-kKl9o2 .icon-kyxXVr.one-2crnLX{-webkit-animation-delay:.115s;animation-delay:.115s}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc.error-kKl9o2 .icon-kyxXVr.two-3BBQI9{-webkit-animation-delay:.01s;animation-delay:.01s}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc.error-kKl9o2 .icon-kyxXVr.three-27ScFD{-webkit-animation-delay:.08s;animation-delay:.08s}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc .bgScale-1otPtc{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;border-radius:10px;background:var(--brand-experiment);-webkit-animation:uploadModalBounce-30cglS .8s ease 0s normal forwards;animation:uploadModalBounce-30cglS .8s ease 0s normal forwards}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc .inner-3nWsbo{-webkit-box-flex:1;-ms-flex:1;flex:1;color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:2px dashed hsla(0,0%,100%,.4);border-radius:6px;width:100%}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc .inner-3nWsbo .title-2Vtl4y{font-size:22px;font-weight:700;padding:0 8px;width:100%;color:#fff;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc .inner-3nWsbo .title-2Vtl4y strong{color:#fff}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc .inner-3nWsbo .instructions-2Du9gG{text-align:center;font-size:12px;line-height:16px;margin-top:4px;color:#fff}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc .inner-3nWsbo .icons-1w691d{position:relative;width:100px;height:60px}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc .inner-3nWsbo .wrapOne-14G98n{-webkit-transform:translate3d(0,-70px,0);transform:translate3d(0,-70px,0)}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc .inner-3nWsbo .wrapTwo-mQGI3R{-webkit-transform:translate3d(0,-80px,0);transform:translate3d(0,-80px,0)}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc .inner-3nWsbo .wrapThree-1CNQ42{-webkit-transform:translate3d(0,-70px,0);transform:translate3d(0,-70px,0)}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc .inner-3nWsbo .icon-kyxXVr{position:absolute;-ms-flex-negative:0;flex-shrink:0;width:100px;height:130px;background-repeat:no-repeat;background-position:50%;-webkit-transform:translateZ(0);transform:translateZ(0)}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc .inner-3nWsbo .icon-kyxXVr.one-2crnLX{background-image:url(/assets/3c2ce4428c2c44824b07162f648524f5.svg);opacity:0}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc .inner-3nWsbo .icon-kyxXVr.two-3BBQI9{background-image:url(/assets/2930628f6ae15f3332f9d06e4c967a89.svg);-webkit-filter:drop-shadow(0 0 48px rgba(88,101,242,.5));filter:drop-shadow(0 0 48px rgba(88,101,242,.5))}.uploadModalIn-1z07Bv .uploadDropModal-2kTwbc .inner-3nWsbo .icon-kyxXVr.three-27ScFD{background-image:url(/assets/d6bb78c1d64640ad06cc8cdd1c61b67d.svg);opacity:0}.crossOne-G8l6vW,.crossTwo-aG_i7H,.lightOne-i8nDwl,.lightTwo-3AK5zn,.popOne-33Hy62,.sparkleOne-zvhFgj,.sparkleTwo-R0oeYq{opacity:.95;z-index:1;-webkit-animation-iteration-count:1!important;animation-iteration-count:1!important}.sparkleOne-zvhFgj{bottom:-40px;right:-15px}.sparkleTwo-R0oeYq{top:-67px;right:12px;-webkit-animation-delay:1.2s;animation-delay:1.2s}.lightOne-i8nDwl{top:24px;right:-35px;-webkit-animation-delay:.4s;animation-delay:.4s}.lightTwo-3AK5zn{top:-32px;left:-10px;-webkit-animation-delay:.61s;animation-delay:.61s}.crossOne-G8l6vW{right:100px;bottom:-35px;-webkit-animation-delay:.56s;animation-delay:.56s}.crossTwo-aG_i7H{left:-70px;bottom:50px;-webkit-animation-delay:.8s;animation-delay:.8s}.popOne-33Hy62{bottom:-40px;left:50px;-webkit-animation-delay:.7s;animation-delay:.7s}.uploadModal-2ifh8j{width:530px;min-height:258px;border-radius:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-perspective:1000;perspective:1000;-webkit-filter:blur(0);filter:blur(0)}.uploadModal-2ifh8j.transitioning-jYFzwb{-webkit-animation:uploadModalBounceTransition-2UbjF9 .2s ease 0s normal forwards;animation:uploadModalBounceTransition-2UbjF9 .2s ease 0s normal forwards}.uploadModal-2ifh8j .inner-3nWsbo{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:4px;color:var(--header-primary)}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K{position:relative;height:103px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K.expandable-3khGbD{height:unset;display:block}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K.expandable-3khGbD .description-2ug5H_{padding:16px 16px 24px}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K .icon-kyxXVr{-ms-flex-negative:0;flex-shrink:0;width:100px;height:130px;margin-top:-42px;background-repeat:no-repeat;background-position:50%}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K .icon-kyxXVr.image-2yrs5j{background-color:var(--background-secondary);-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px;-o-object-fit:contain;object-fit:contain;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.4);box-shadow:0 2px 8px rgba(0,0,0,.4)}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K .icon-kyxXVr.video-27RLEH{background-image:url(/assets/81d1e0f3ad7aa06b1a82da2492cf8699.svg)}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K .icon-kyxXVr.acrobat-3K1PC6{background-image:url(/assets/aee87e981ef9acae845ef397c7a034c5.svg)}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K .icon-kyxXVr.ae-1Y5Jq3{background-image:url(/assets/f8e80ba7587764ddfa27aa1e02c6ed54.svg)}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K .icon-kyxXVr.sketch-ZMuo7D{background-image:url(/assets/318ce2f97a8bd1d7a693938d9aff5f08.svg)}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K .icon-kyxXVr.ai-11KAaB{background-image:url(/assets/f1141359084b3b61f3a41adbe541fdbb.svg)}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K .icon-kyxXVr.archive-2hqXug{background-image:url(/assets/4f27cbf7f975daa32fe7c8dec19ce2de.svg)}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K .icon-kyxXVr.code-aoB-kL{background-image:url(/assets/d6bb78c1d64640ad06cc8cdd1c61b67d.svg)}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K .icon-kyxXVr.document-2cvI0u{background-image:url(/assets/3c2ce4428c2c44824b07162f648524f5.svg)}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K .icon-kyxXVr.photoshop-1UWfyZ,.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K .icon-kyxXVr.ps-2T6Jrl{background-image:url(/assets/06d2bb1aa36f4ded097cc069df5ee305.svg)}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K .icon-kyxXVr.spreadsheet-1QuSej{background-image:url(/assets/1939fe07993a754364bf3fee5223428d.svg)}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K .icon-kyxXVr.webcode-22GGLX{background-image:url(/assets/557b6b6b982a8c2b2c97048b86e2e6c3.svg)}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K .icon-kyxXVr.audio-14DQXq{background-image:url(/assets/7674eb0d869afebca7b1f3a5202506c6.svg);margin:-42px 8px 8px}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K .icon-kyxXVr.unknown-3TPTMr{background-image:url(/assets/66084381f55f4238d69e5cbe3b8dc42e.svg)}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K .description-2ug5H_{-webkit-box-sizing:border-box;box-sizing:border-box;padding:16px 16px 0 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K .description-2ug5H_ .filename-ovv3c5{font-size:20px;font-weight:700;height:22px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K .description-2ug5H_ .subtitle-26nRzM{color:var(--header-secondary);font-size:16px;line-height:20px;margin-top:4px}.uploadModal-2ifh8j .inner-3nWsbo .file-34mY5K .description-2ug5H_ .filesize-s2nTZM{margin-top:6px;font-size:10px;opacity:.6}.uploadModal-2ifh8j .inner-3nWsbo .comment-4IWttf{margin:0 18px}.uploadModal-2ifh8j .inner-3nWsbo .comment-4IWttf .label-3aiqT2{text-transform:uppercase;font-size:12px;font-weight:500}.uploadModal-2ifh8j .inner-3nWsbo .comment-4IWttf .label-3aiqT2 .optional--ezibr{color:var(--header-secondary);margin-left:5px}.uploadModal-2ifh8j .inner-3nWsbo .channelTextAreaUpload-3t7EIx{margin-bottom:18px}.uploadModal-2ifh8j .footer-3mqk7D,.uploadModal-2ifh8j .hasSpoilers-1IRtQC{display:-webkit-box;display:-ms-flexbox;display:flex}.uploadModal-2ifh8j .footer-3mqk7D{border-radius:0 0 5px 5px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding:20px;z-index:1;overflow-x:hidden}.uploadModal-2ifh8j .footer-3mqk7D.hasSpoilers-1IRtQC{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.cancelAllButton-16p7ma{margin:0 auto 0 0}.theme-dark .uploadModal-2ifh8j{background-color:#36393f;-webkit-box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2)}.theme-dark .footer-3mqk7D{background-color:#2f3136;-webkit-box-shadow:inset 0 1px 0 rgba(47,49,54,.6);box-shadow:inset 0 1px 0 rgba(47,49,54,.6)}.theme-light .uploadModal-2ifh8j{background:#fff;-webkit-box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1);box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1)}.theme-light .footer-3mqk7D{background-color:#f6f6f7;-webkit-box-shadow:inset 0 1px 0 rgba(246,246,247,.6);box-shadow:inset 0 1px 0 rgba(246,246,247,.6)}.destination-3ZiRO2{margin-top:4px;overflow:hidden;text-overflow:ellipsis}.destination-3ZiRO2 strong{color:var(--header-primary);font-weight:500}
-.slider-1PF9SW{width:100%;height:40px;position:relative}.mini-dmm9yo{height:20px}.mini-dmm9yo .bar-2Qqk5Z{top:17px;height:6px}.mini-dmm9yo .grabber-3mFHz2{width:12px;height:12px;margin-left:-7px;margin-top:3px;border-radius:50%}.disabled-bolDAc{opacity:.6}.disabled-bolDAc .grabber-3mFHz2{cursor:not-allowed}.input-2_ChIk{display:none}.bar-2Qqk5Z{position:relative;top:16px;height:8px;border-radius:4px;display:block;overflow:hidden}.barFill-23-gu-{background:var(--brand-experiment);height:100%}.track-11EASc{position:absolute;top:0;right:5px;bottom:0;left:5px}.grabber-3mFHz2{width:10px;height:24px;margin-left:-5px;top:50%;margin-top:-13px;border-radius:3px;background-color:#fff;border:1px solid #dcddde;-webkit-box-shadow:0 3px 1px 0 rgba(0,0,0,.05),0 2px 2px 0 rgba(0,0,0,.1),0 3px 3px 0 rgba(0,0,0,.05);box-shadow:0 3px 1px 0 rgba(0,0,0,.05),0 2px 2px 0 rgba(0,0,0,.1),0 3px 3px 0 rgba(0,0,0,.05);cursor:ew-resize}.grabber-3mFHz2,.mark-1xjQqt{position:absolute;left:0}.mark-1xjQqt{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:24px;margin-left:-12px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.markAbove-2I4brk{top:-6px}.markBelow-6DH75T{bottom:-12px}.markValue-2DwdXI{padding-left:1px;font-weight:700;font-size:10px;margin-bottom:4px}.markDash-3hAolZ{height:24px;width:2px}.markDashSimple-1vLOGW{margin-top:10px}.theme-light .bar-2Qqk5Z{background:#dcddde}.theme-light .markValue-2DwdXI{color:#b9bbbe}.theme-light .markDash-3hAolZ{background:#dcddde}.theme-dark .bar-2Qqk5Z{background:#4f545c}.theme-dark .markValue-2DwdXI{color:#72767d}.theme-dark .markDash-3hAolZ{background:#4f545c}.defaultValue-3gC7yw .markValue-2DwdXI{color:var(--text-positive)}
-.modalContent-nFuWe-{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-sizing:border-box;box-sizing:border-box}.editingContainer-1iOrsV,.modalContent-nFuWe-{display:-webkit-box;display:-ms-flexbox;display:flex}.editingContainer-1iOrsV{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative;overflow:hidden;background-color:#000;border-radius:4px}.editingContainerAvatar-HyS-Vl{min-height:300px;height:400px;max-height:500px}.editingContainerBanner-OAHy-i{height:300px}.image-1O4VR4{height:100%;pointer-events:all;position:absolute;cursor:-webkit-grab;cursor:grab}.icon-1BtL8T{color:var(--text-normal);padding:0 20px}.overlay-qP93Id{z-index:1;border:5px solid #fff;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none;position:absolute;-webkit-box-shadow:rgba(47,49,54,.6) 0 0 0 9999px;box-shadow:0 0 0 9999px rgba(47,49,54,.6)}.overlayAvatar-1voNS7{border-radius:50%}.overlayAvatar-1voNS7,.overlayBanner-394JZU{}.sliderContainer-2Pbe0z{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:90%;margin:20px auto}.cancelButton-2NwKof{margin-right:12px}.modalFooter-37WjOa{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}
-.iconContainer-2B0ixr{height:80px;position:relative;width:80px}.filledIcon-2eb7eA{background-color:var(--background-secondary-alt);border-radius:80px;height:80px;width:80px}
-.textArea-1Lj-Ns{height:auto;resize:none}.resizeable-3Dlqvo{resize:auto}.inputMaxLength-1vRluy{position:relative}.flex-2mWL14{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.maxLength-39QFBo{position:absolute;bottom:12px;right:14px;font-size:12px;font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace;pointer-events:none;color:#72767d}
-.header-287ONi{padding:24px 24px 0}.closeButton-26zew5{position:absolute;top:12px;right:12px}.title-Z_XiOC{font-weight:700}.subtitle-1KdHaN,.title-Z_XiOC{text-align:center}.subtitle-1KdHaN{margin-top:8px}.createGuild-23lWNm{margin:16px 0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uploadIcon-2IFzZU{padding-top:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:var(--interactive-normal)}.nameInput-2LpnKg{margin-top:24px}.descriptionInput-3XMwZd{margin-top:16px}.guidelines-1NSoht{margin-top:8px;padding-bottom:4px}.creationIntentCheckbox-1rWz6L{margin-top:18px}.creationIntentText-3OlELP{color:var(--interactive-normal)}
-.header-3msK0M{padding:24px 16px 0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}.closeButton-9dkb_x{position:absolute;top:12px;right:12px}.templatesList-2E6rTe{margin-top:24px;padding:0 8px 8px 16px;height:330px}.title-3w8xhj{font-weight:700}.subtitle-Nw1LLR,.title-3w8xhj{text-align:center}.subtitle-Nw1LLR{margin-top:8px}.optionHeader-1-5lcp{margin-top:16px;margin-bottom:8px;font-weight:700;text-transform:uppercase}.footer-1NnaNd{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.footerTitle-2CYZch{margin-bottom:8px}.footerButton-ayFTfX{-ms-flex-item-align:stretch;align-self:stretch}
-.header-1Xr5FO{position:relative;text-align:center}.title-XLSR78{font-weight:700;margin-bottom:8px}.closeButton-1RFOLl{position:absolute;top:12px;right:12px}.inputForm-N3LGqy{margin-bottom:16px}.formTitle-aeXUoN{color:var(--interactive-normal);margin-bottom:8px}.formTitle-aeXUoN.error-kfqhb1{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.input--jS-j2{background-color:var(--background-tertiary)}.inputInner-2akrSS{border:none}.examplesForm-1PzAn-{margin-bottom:16px}.sampleLink-2NLvZg{font-size:14px;line-height:18px;color:var(--header-primary)}.footer-2ZvXOl{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}
-.container-1CE3eW{width:440px;max-height:580px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}
-.root-2IyrUe{border-radius:8px;background:var(--background-secondary);overflow:hidden}.option-3Ztn6N{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--interactive-active);padding:16px;cursor:pointer;border-bottom:1px solid var(--background-modifier-accent)}.option-3Ztn6N:hover{background:var(--background-modifier-hover);border-bottom-color:transparent}.option-3Ztn6N:last-child{border-bottom:none}.text-NjYDzs{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.caret-3iKYZt{color:var(--interactive-normal);width:24px;height:24px;-ms-flex-negative:0;flex-shrink:0;margin-left:8px}
-.headerContainer-3-vFuY{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.simpleHeaderContainer-af-IOe{margin-bottom:16px}.helpdeskLink-1OuOa1{margin-top:8px}.header-B-DcDj{font-weight:700}.header-B-DcDj,.ratingBody-2p2rH4{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:center}.ratingBody-2p2rH4{margin-top:8px;color:var(--text-normal)}.footer-2Bb21C{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.emojis-3mSQwp{width:240px;margin:16px auto 8px}.problemInfo-1qfNLW{margin-bottom:24px}.emoji-1N-wHh{background-position:50%;background-repeat:no-repeat;width:64px;height:64px;cursor:pointer;-webkit-filter:grayscale(100%);filter:grayscale(100%);-webkit-transition:all .2s ease;transition:all .2s ease;-webkit-transition-property:-webkit-transform opacity filter;transition-property:-webkit-transform opacity filter;transition-property:transform opacity filter;transition-property:transform opacity filter,-webkit-transform opacity filter}.emoji-1N-wHh.selected-2jwLHq,.emoji-1N-wHh:hover{-webkit-filter:none;filter:none}.emoji-1N-wHh:hover{-webkit-transform:scale(1.06);transform:scale(1.06)}.emojiSad-1iG7c0{background-image:url(/assets/9bccf834edfbb31d3b8bd3d72e279f6c.svg)}.emojiNeutral-1AAukj{background-image:url(/assets/83942d9e1bfaf1e07b77a68504607b72.svg)}.emojiHappy-1umapU{background-image:url(/assets/d211ec6a4c42a1a38e79323b40511eeb.svg)}.hidden-36kfaz{visibility:hidden}.theme-dark .emoji-1N-wHh{opacity:.4}.theme-dark .emoji-1N-wHh.selected-2jwLHq,.theme-dark .emoji-1N-wHh:hover{opacity:1}.theme-dark .header-B-DcDj{color:#fff}.theme-light .emoji-1N-wHh{opacity:.6}.theme-light .emoji-1N-wHh.selected-2jwLHq,.theme-light .emoji-1N-wHh:hover{opacity:1}.theme-light .header-B-DcDj{color:#23262a}
-.title-3mEw9k{margin:0}
-.fullArt-2izgMA{margin:38px 0 20px;background:url(/assets/5cead3f236ff233c59ebbf9caeda1b84.svg);width:100%;height:93px;background-position:50%;background-repeat:no-repeat}.header-1CDBgT{margin:0}.content-Ulq9NI{font-weight:500}.modalCloseButton-ZynU77{margin:-4px}
-.container-2Am3nq{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.topImage-21TjbH{width:88px;height:80px;background-size:100%;background-repeat:no-repeat;background-position:50%;background-image:url(/assets/09efbaf767dcf69e49f248fa7a06cf52.svg);margin-bottom:16px}.centerText-1GnYII{text-align:center;white-space:pre-wrap}.header-nHeIDA{margin-bottom:8px}.descriptionWidth-3TYcxW{width:352px;margin-bottom:24px}
-.container-b28a_3{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.topImage-3XIXqf{width:200px;height:139px;background-repeat:no-repeat;background-position:50%;background-image:url(/assets/2143d4c782b0230aa33c41d7af45f099.svg);margin-bottom:16px}.centerText-11eOJ3{text-align:center;white-space:pre-wrap}.header-3SR9BS{margin-bottom:8px}.descriptionWidth-29jpzM{width:265px;margin-bottom:24px}.formContent-vPG9mK{width:100%}.formDescription-1mfWR8{margin:8px 0 24px}.submitButton-Ksp7gU{width:100%}.submitText-1O_DKF{color:#fff}
-.container-3V5LK-{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.container-3V5LK-,.iconContainer-2B3yaa{display:-webkit-box;display:-ms-flexbox;display:flex}.iconContainer-2B3yaa{height:48px;width:48px;border-radius:48px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);margin-bottom:16px}.icon-dSKtfO{width:24px;height:24px;background-image:url(/assets/c53886f44f7e19ef8f6a480219fd8982.svg)}.header-C3p2t_{margin-bottom:16px}.description-2OKNsO p:first-child{margin-top:0}
-.modalRoot-3UDJBg{width:720px}.sidebarContainer-7fi3LO{width:256px;background-color:var(--background-secondary)}.contentContainer-rv69OF,.sidebarContainer-7fi3LO{padding:24px;-webkit-box-sizing:border-box;box-sizing:border-box}.contentContainer-rv69OF{width:464px;height:640px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-flex:1;-ms-flex:1;flex:1}.modalContent-VNy92y{padding-left:0;padding-right:0}.container-1cnaJh{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.closeButton-ryIVwg{position:absolute;-webkit-box-sizing:content-box;box-sizing:content-box;top:12px;right:4px}
-.wrapper-2a6GCs{position:relative;word-wrap:break-word;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:16px;min-height:1.375rem}.compact-T3H92H.wrapper-2a6GCs{padding-left:5rem}.compact-T3H92H.wrapper-2a6GCs,.cozy-3raOZG.wrapper-2a6GCs{padding-top:.125rem;padding-bottom:.125rem}.cozy-3raOZG.wrapper-2a6GCs{padding-left:72px}.repliedMessage-VokQwo{--reply-spacing:4px;color:var(--header-secondary);position:relative;white-space:pre;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.executedCommand-2GE3w2,.repliedMessage-VokQwo,.threadMessageAccessory-1pYyA-{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:0.875rem;line-height:1.125rem}.executedCommand-2GE3w2,.threadMessageAccessory-1pYyA-{height:18px;min-width:0}.repliedMessage-VokQwo.latin12CompactTimeStamp-38a8OU{--timestamp-width:2.25rem}.repliedMessage-VokQwo.latin24CompactTimeStamp-2V7XIQ{--timestamp-width:3.1rem}.repliedMessage-VokQwo.asianCompactTimeStamp-1K6-VB{--timestamp-width:4.25rem}.compact-T3H92H .repliedMessage-VokQwo{--text-indent:-4rem;margin-left:calc(var(--timestamp-width) + .25rem + var(--text-indent));padding-left:.625rem}.cozy-3raOZG .repliedMessage-VokQwo{margin-bottom:var(--reply-spacing)}.cozy-3raOZG .repliedMessage-VokQwo:before{--avatar-size:40px;--gutter:16px}.a11y-font-scaled-down .cozy-3raOZG .repliedMessage-VokQwo:before{--avatar-size:2.5rem;--wrapper-padding-left:4.5rem;--avatar-position-left:1rem;--gutter:calc(var(--wrapper-padding-left) - var(--avatar-position-left) - var(--avatar-size))}.compact-T3H92H .repliedMessage-VokQwo:before{--avatar-size:var(--timestamp-width);--gutter:0.25rem}.repliedMessage-VokQwo:before{--spine-width:2px;content:"";display:block;position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;top:50%;right:100%;bottom:0;left:calc(-1*(var(--avatar-size)/2 + var(--gutter)));margin-right:var(--reply-spacing);margin-top:calc(-1*var(--spine-width)/2);margin-left:calc(-1*var(--spine-width)/2);margin-bottom:calc(.125rem - 4px);border-left:var(--spine-width) solid var(--background-accent);border-bottom:0 solid var(--background-accent);border-right:0 solid var(--background-accent);border-top:var(--spine-width) solid var(--background-accent);border-top-left-radius:6px}.compact-T3H92H .repliedMessage-VokQwo:before{right:calc(100% - .625rem)}.executedCommandAvatar-yZ5r9z,.replyAvatar-1K9Wmr,.replyBadge-r1su3o,.threadMessageAccessoryAvatar-2XWCxw{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16px;height:16px;border-radius:50%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin-right:.25rem}.threadMessageAccessoryAvatar-2XWCxw{margin-right:8px}.replyBadge-r1su3o{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:var(--header-secondary);background:var(--background-tertiary)}.replyIcon-1b4Xjp{width:10.8px;height:7.2px}.userJoinSystemMessageIcon-1jNKMz{width:12px;height:12px;margin-right:.25rem}.commandIcon-SBYpgi{width:5px;height:9px}.executedCommand-2GE3w2 .applicationName-1-Uq7y,.executedCommand-2GE3w2 .commandName-1klrjB,.executedCommand-2GE3w2 .username-1A8OIy,.repliedMessage-VokQwo .username-1A8OIy,.threadMessageAccessory-1pYyA- .username-1A8OIy{-ms-flex-negative:0;flex-shrink:0;font-size:inherit;line-height:inherit;margin-right:.25rem;opacity:.64}.executedCommand-2GE3w2 .applicationName-1-Uq7y,.executedCommand-2GE3w2 .commandName-1klrjB,.executedCommand-2GE3w2 .username-1A8OIy{margin-right:0}.executedCommand-2GE3w2 .botTag-1un5a6,.repliedMessage-VokQwo .botTag-1un5a6,.threadMessageAccessory-1pYyA- .botTag-1un5a6{top:0}.executedCommand-2GE3w2 .commandName-1klrjB{font-weight:500;color:var(--text-link)}.executedCommand-2GE3w2 .applicationName-1-Uq7y{font-weight:500;color:var(--header-primary)}.repliedTextPreview-2NBljf,.threadMessageAccessoryPreview-1uSsue{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;overflow:hidden;text-overflow:ellipsis}.threadMessageAccessoryPreview-1uSsue{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.repliedTextPreview-2NBljf.clickable-1bVtEA{cursor:pointer}.repliedTextPreview-2NBljf.clickable-1bVtEA:hover{color:var(--header-primary)}.repliedMessage-VokQwo .repliedTextPreview-2NBljf .repliedTextContent-1R3vnK,.threadMessageAccessory-1pYyA- .threadMessageAccessoryPreview-1uSsue .threadMessageAccessoryContent-1LHM39{color:inherit;font-size:inherit;line-height:inherit;white-space:pre;text-overflow:ellipsis;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.repliedMessage-VokQwo .repliedTextPreview-2NBljf .repliedTextContent-1R3vnK code,.threadMessageAccessory-1pYyA- .threadMessageAccessoryPreview-1uSsue .threadMessageAccessoryContent-1LHM39 code{white-space:pre}.repliedTextPlaceholder-dmN7D1,.threadMessageAccessoryPlaceholder-2pTLxK{font-style:italic;padding-right:2px}.repliedTextContentIcon-1ivTae,.threadMessageAccessoryContentIcon-1QAVEG{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:20px;height:20px;margin-left:4px}.compact-T3H92H .contents-2mQqc9{margin-left:-5rem;padding-left:5rem;text-indent:-4rem}.cozy-3raOZG .contents-2mQqc9{position:static;margin-left:0;padding-left:0;text-indent:0}.zalgo-jN1Ica.compact-T3H92H .messageContent-2qWWxC{overflow:hidden}.compact-T3H92H .header-23xsNx{display:inline}.cozy-3raOZG .header-23xsNx{display:block;position:relative;line-height:1.375rem;min-height:1.375rem;color:var(--text-muted);white-space:break-spaces;word-wrap:pre-wrap}.zalgo-jN1Ica.cozy-3raOZG .header-23xsNx{overflow:hidden}.a11y-font-scaled-down .cozy-3raOZG.wrapper-2a6GCs,.a11y-font-scaled-down .cozy-3raOZG.wrapper-2a6GCs .header-23xsNx{padding-left:4.5rem}.a11y-font-scaled-down .cozy-3raOZG .header-23xsNx{margin-left:-4.5rem}.buttonContainer-DHceWr{position:absolute;top:0;right:0}.systemMessageAccessories-2uCWxo{margin-left:2.5rem}.avatar-1BDn8e{position:absolute;left:16px;margin-top:calc(4px - .125rem);width:40px;height:40px;border-radius:50%;overflow:hidden;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;pointer-events:none;z-index:1}.a11y-font-scaled-down .avatar-1BDn8e{width:2.5rem;height:2.5rem;left:1rem;margin-top:.125rem}.avatar-1BDn8e.clickable-1bVtEA{pointer-events:auto}.full-motion .avatar-1BDn8e.clickable-1bVtEA:hover{-webkit-filter:drop-shadow(var(--elevation-medium));filter:drop-shadow(var(--elevation-medium))}.avatar-1BDn8e.clickable-1bVtEA:active{-webkit-transform:translateY(1px);transform:translateY(1px)}.timestamp-3ZCmNB{display:inline-block;height:1.25rem;cursor:default;pointer-events:none;font-weight:500}.timestampInline-yHQ6fX{margin-left:.25rem}.timestamp-3ZCmNB.latin12CompactTimeStamp-38a8OU{width:2.25rem}.timestamp-3ZCmNB.latin24CompactTimeStamp-2V7XIQ{width:3.1rem}.timestamp-3ZCmNB.asianCompactTimeStamp-1K6-VB{width:4.25rem}.mouse-mode .timestamp-3ZCmNB{pointer-events:auto}.cozy-3raOZG .timestamp-3ZCmNB{font-size:0.75rem;line-height:1.375rem;color:var(--text-muted);vertical-align:baseline}.background-opacity-high .cozy-3raOZG .timestamp-3ZCmNB,.background-opacity-low .cozy-3raOZG .timestamp-3ZCmNB,.background-opacity-medium .cozy-3raOZG .timestamp-3ZCmNB{display:none}.compact-T3H92H .timestamp-3ZCmNB,.cozy-3raOZG .timestamp-3ZCmNB.alt-1uNpEt{text-align:right;font-size:0.6875rem;line-height:1.375rem;margin-right:.25rem;color:var(--text-muted);text-indent:0}.cozy-3raOZG .timestamp-3ZCmNB.alt-1uNpEt{position:absolute;left:0;height:1.375rem;line-height:1.375rem;width:56px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-align:right;z-index:1}.a11y-font-scaled-down .cozy-3raOZG .timestamp-3ZCmNB.alt-1uNpEt{width:3.5rem}.a11y-font-scaled-up .cozy-3raOZG .timestamp-3ZCmNB.alt-1uNpEt{font-size:12Px}.background-opacity-high .compact-T3H92H .timestamp-3ZCmNB,.background-opacity-low .compact-T3H92H .timestamp-3ZCmNB,.background-opacity-medium .compact-T3H92H .timestamp-3ZCmNB{text-shadow:none;color:#f6f6f7}.timestampTooltip-2w2MVG{max-width:none!important;white-space:nowrap}.timestampVisibleOnHover-2bQeI4{opacity:0}.mouse-mode .wrapper-2a6GCs:hover .timestampVisibleOnHover-2bQeI4{opacity:1}.username-1A8OIy{font-size:1rem;font-weight:500;line-height:1.375rem;color:var(--header-primary);display:inline;vertical-align:baseline;position:relative;overflow:hidden;-ms-flex-negative:0;flex-shrink:0}.compact-T3H92H .headerText-3Uvj1Y,.cozy-3raOZG .headerText-3Uvj1Y{margin-right:.25rem}.applicationName-1-Uq7y.clickable-1bVtEA:hover,.commandName-1klrjB.clickable-1bVtEA:hover,.username-1A8OIy.clickable-1bVtEA:hover{cursor:pointer;text-decoration:underline}@media (-webkit-max-device-pixel-ratio:1){.theme-light .username-1A8OIy{font-weight:600}}.background-opacity-high .username-1A8OIy,.background-opacity-low .username-1A8OIy,.background-opacity-medium .username-1A8OIy{text-shadow:0 0 1px #202225,1px 1px 0 #202225}.background-opacity-low .username-1A8OIy,.background-opacity-medium .username-1A8OIy{font-weight:600}.botTag-1un5a6{position:relative;top:.1rem}.botTagCompact-29bCci{margin-right:.25rem}.botTagCozy-1fFsZk{margin-left:.25rem}.replyLink-nOQEG8{color:var(--header-secondary)}.replyLink-nOQEG8.clickable-1bVtEA{cursor:pointer}.replyLink-nOQEG8.clickable-1bVtEA:hover{text-decoration:underline}.separator-2nZzUB{position:absolute;opacity:0;width:0;display:inline-block;font-style:normal}.messageEditorCompact-3Y64ly{margin-left:5rem;margin-right:16px}.messageContent-2qWWxC{text-indent:0}.cozy-3raOZG .messageContent-2qWWxC{position:relative}.cozy-3raOZG.hasThread-2k82W0:after{border-left:2px solid var(--background-accent);border-bottom:2px solid var(--background-accent);border-bottom-left-radius:8px;bottom:29px;content:"";position:absolute}.font-size-24 .cozy-3raOZG.hasThread-2k82W0:after{width:1.25rem;left:1.5rem;top:2rem}.font-size-20 .cozy-3raOZG.hasThread-2k82W0:after{width:1.625rem;left:1.75rem;top:2.375rem}.font-size-18 .cozy-3raOZG.hasThread-2k82W0:after{width:1.75rem;left:2rem;top:2.75rem}.font-size-12 .cozy-3raOZG.hasThread-2k82W0:after,.font-size-14 .cozy-3raOZG.hasThread-2k82W0:after,.font-size-15 .cozy-3raOZG.hasThread-2k82W0:after,.font-size-16 .cozy-3raOZG.hasThread-2k82W0:after{width:2rem;left:2.2rem;top:3rem}.font-size-12 .cozy-3raOZG.hasThread-2k82W0.isSystemMessage-2MkNHd:after,.font-size-14 .cozy-3raOZG.hasThread-2k82W0.isSystemMessage-2MkNHd:after,.font-size-15 .cozy-3raOZG.hasThread-2k82W0.isSystemMessage-2MkNHd:after,.font-size-16 .cozy-3raOZG.hasThread-2k82W0.isSystemMessage-2MkNHd:after,.font-size-18 .cozy-3raOZG.hasThread-2k82W0.isSystemMessage-2MkNHd:after,.font-size-20 .cozy-3raOZG.hasThread-2k82W0.isSystemMessage-2MkNHd:after,.font-size-24 .cozy-3raOZG.hasThread-2k82W0.isSystemMessage-2MkNHd:after{top:1.75rem}.font-size-24 .cozy-3raOZG.hasThread-2k82W0.hasReply-34In-r:after{top:3.25rem}.font-size-20 .cozy-3raOZG.hasThread-2k82W0.hasReply-34In-r:after{top:3.75rem}.font-size-18 .cozy-3raOZG.hasThread-2k82W0.hasReply-34In-r:after{top:4rem}.font-size-15 .cozy-3raOZG.hasThread-2k82W0.hasReply-34In-r:after,.font-size-16 .cozy-3raOZG.hasThread-2k82W0.hasReply-34In-r:after{top:4.375rem}.font-size-14 .cozy-3raOZG.hasThread-2k82W0.hasReply-34In-r:after{top:4.5rem}.font-size-12 .cozy-3raOZG.hasThread-2k82W0.hasReply-34In-r:after{top:4.75rem}.compact-T3H92H .contents-2mQqc9{position:relative}.compact-T3H92H.hasThread-2k82W0 .contents-2mQqc9:before{background-color:var(--background-accent);bottom:0;content:"";position:absolute;width:2px;left:2.5rem;top:1.5rem}.compact-T3H92H.hasThread-2k82W0.isSystemMessage-2MkNHd .contents-2mQqc9:before{left:3rem;top:1.75rem}.zalgo-jN1Ica .messageContent-2qWWxC{overflow:hidden}.messageContent-2qWWxC:empty{display:none}.compact-T3H92H .messageContent-2qWWxC{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;display:inline;word-wrap:break-word}.compact-T3H92H .messageContent-2qWWxC .emoji{position:relative}.compact-T3H92H .messageContent-2qWWxC .emoji.jumboable{width:1.375em;height:1.375em;min-height:1.375em}.compact-T3H92H .messageContent-2qWWxC.markupRtl-26VWXC{display:block;text-indent:0}.cozy-3raOZG .messageContent-2qWWxC{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;margin-left:-72px;padding-left:72px}.isSending-9nvak6{opacity:.5}.isFailed-2MPmD6,.isFailed-2MPmD6 .hljs,.isFailed-2MPmD6 a,.isFailed-2MPmD6 code.inline,.theme-dark .isFailed-2MPmD6,.theme-light .isFailed-2MPmD6{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.cozy-3raOZG .markupRtl-26VWXC{text-align:left;text-indent:0;unicode-bidi:-moz-plaintext;unicode-bidi:plaintext}.edited-3sfAzf{font-size:0.625rem;font-weight:400;line-height:1;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mention{border-radius:3px;padding:0 2px}.background-opacity-low .edited-3sfAzf{color:hsla(0,0%,100%,.6)}.background-opacity-medium .edited-3sfAzf{color:hsla(0,0%,100%,.5)}.background-opacity-high .edited-3sfAzf{color:hsla(0,0%,100%,.4)}
-.overflow-WK9Ogt{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;position:relative}
-.arrow-gKvcEx{-webkit-transition:-webkit-transform .2s ease-out;transition:-webkit-transform .2s ease-out;transition:transform .2s ease-out;transition:transform .2s ease-out,-webkit-transform .2s ease-out}.arrow-gKvcEx.open-2d6eoT{-webkit-transform:translate3d(0,-3px,0) rotate(-180deg);transform:translate3d(0,-3px,0) rotate(-180deg)}
-.gifTag-31zFY8{background-image:url(/assets/97645e390161ce066d6a8d010d4d705c.svg);width:29px;height:22px}
-.imageWrapper-2p5ogY{display:block;position:relative;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;overflow:hidden;border-radius:3px}.imageWrapper-2p5ogY img{position:absolute}.imageWrapperBackground-E_M6Nu{background:rgba(0,0,0,.05)}.imageWrapperInner-3_dNk0{position:absolute;top:0;left:0;right:0;bottom:0}.imageError-2OefUi{width:200px;height:102px;background-image:url(/assets/b5d0fabb4afdf0666f3785f8c1d3beff.svg);background-position:50%;background-repeat:no-repeat;background-size:contain}.imagePlaceholder-1AxUV5{display:block;position:absolute;top:0;left:0;bottom:0;right:0}.imagePlaceholderOverlay-ETNjpn{background-color:rgba(0,0,0,.6)}.imageAccessory-3uSIjZ{position:absolute;top:6px;right:6px;z-index:1}.imageZoom-1n-ADA{cursor:nesw-resize;cursor:-webkit-zoom-in;cursor:zoom-in}.clickable-3Ya1ho{cursor:pointer}.theme-dark .imageError-2OefUi{background-image:url(/assets/e0c782560fd96acd7f01fda1f8c6ff24.svg)}.background-opacity-low .imageWrapper-2p5ogY,.background-opacity-medium .imageWrapper-2p5ogY{opacity:.6}.overlay-unlocked .imageWrapper-2p5ogY{opacity:1}
-.wrapper-2K4Z3k{position:relative}.downloadLink-1ywL9o{position:absolute;top:100%;font-size:14px;font-weight:500;display:inline-block;-ms-flex-item-align:start;align-self:flex-start;color:#fff!important;text-decoration:none;line-height:30px;-webkit-transition:opacity .15s ease;transition:opacity .15s ease;opacity:.5;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}.downloadLink-1ywL9o:hover{opacity:1}
-.modal-qgFCbT{background:transparent!important;-webkit-box-shadow:none!important;box-shadow:none!important}.image-1tIMwV,.modal-qgFCbT{border-radius:0}
-.mediaBarInteraction-37i2O4,.mediaBarInteractionDragging-2QurIZ{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:stretch;align-self:stretch;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;margin:0 7px}.mediaBarInteraction-37i2O4:hover .mediaBarWrapper-3D7r67,.mediaBarInteractionDragging-2QurIZ:hover .mediaBarWrapper-3D7r67{-webkit-box-shadow:0 1px 1px rgba(0,0,0,.3);box-shadow:0 1px 1px rgba(0,0,0,.3)}.mediaBarInteraction-37i2O4:hover .bubble-3qRl2J,.mediaBarInteractionDragging-2QurIZ:hover .bubble-3qRl2J{opacity:1}.mediaBarInteraction-37i2O4:hover .mediaBarGrabber-1FqnbN{-webkit-transform:scale(1);transform:scale(1);background-color:var(--brand-experiment-560)}.mediaBarInteraction-37i2O4:hover .mediaBarPreview-1jfyFs{opacity:.3}.mediaBarInteraction-37i2O4:hover .bubble-3qRl2J,.mediaBarInteractionDragging-2QurIZ .bubble-3qRl2J{opacity:1}.mediaBarInteractionDragging-2QurIZ .mediaBarGrabber-1FqnbN{-webkit-transform:scale(1);transform:scale(1);background-color:var(--brand-experiment-560)}.mediaBarInteractionVolume-3QZqYd{-webkit-box-flex:0;-ms-flex:none;flex:none;-ms-flex-item-align:center;align-self:center;border-radius:8px;background-color:rgba(0,0,0,.7);padding:4px 8px;width:72px;margin:0 4px 0 0}.vertical-1gJnJQ{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transform-origin:top;transform-origin:top;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);height:54px;width:140px}.horizontal-3Sq5iO,.vertical-1gJnJQ{display:-webkit-box;display:-ms-flexbox;display:flex}.horizontal-3Sq5iO{width:100%;-ms-flex-item-align:stretch;align-self:stretch}.fakeEdges-27pgtp{position:relative}.fakeEdges-27pgtp:after,.fakeEdges-27pgtp:before{content:"";position:absolute;top:0;height:100%;width:3px;z-index:1}.fakeEdges-27pgtp:before{left:-3px;border-radius:3px 0 0 3px}.fakeEdges-27pgtp:after{right:-3px;border-radius:0 3px 3px 0}.buffer-26XPkd{position:absolute;top:0;left:0;height:100%;opacity:.3}.buffer-26XPkd,.buffer-26XPkd:after,.buffer-26XPkd:before{background-color:#fff}.mediaBarWrapper-3D7r67{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;height:6px}.mediaBarWrapper-3D7r67,.mediaBarWrapper-3D7r67:after,.mediaBarWrapper-3D7r67:before{background-color:rgba(185,187,190,.3)}.mediaBarWrapperVolume-354-jo{-webkit-box-flex:0;-ms-flex:none;flex:none;display:-webkit-box;display:-ms-flexbox;display:flex;width:72px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.mediaBarPreview-1jfyFs,.mediaBarProgress-1xaPtl{position:absolute;top:0;left:0;height:100%}.mediaBarPreview-1jfyFs{z-index:0;opacity:0}.mediaBarPreview-1jfyFs,.mediaBarPreview-1jfyFs:after,.mediaBarPreview-1jfyFs:before{background-color:#fff}.mediaBarProgress-1xaPtl{z-index:3}.mediaBarGrabber-1FqnbN,.mediaBarProgress-1xaPtl,.mediaBarProgress-1xaPtl:after,.mediaBarProgress-1xaPtl:before{background-color:var(--brand-experiment)}.mediaBarGrabber-1FqnbN{position:absolute;top:50%;right:0;z-index:2;width:10px;height:10px;border-radius:5px;margin-top:-5px;margin-right:-5px;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-transition:background-color .25s linear,-webkit-transform .25s ease-in-out;transition:background-color .25s linear,-webkit-transform .25s ease-in-out;transition:transform .25s ease-in-out,background-color .25s linear;transition:transform .25s ease-in-out,background-color .25s linear,-webkit-transform .25s ease-in-out;cursor:-webkit-grab;cursor:grab}.bubble-3qRl2J{border-radius:3px;top:-28px;padding:0 8px;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:auto;height:18px;line-height:18px;text-align:center;font-weight:600;font-size:12px;color:#f6f6f7;opacity:0;-webkit-transition:opacity .2s ease-out;transition:opacity .2s ease-out;background-color:#000}.bubble-3qRl2J,.bubble-3qRl2J:before{position:absolute;pointer-events:none}.bubble-3qRl2J:before{top:100%;left:50%;content:" ";width:0;height:0;margin-left:-5px;border:5px solid transparent;border-top-color:#000}
-.wrapper-129saQ{-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;padding:12px;height:48px;border-radius:24px;background-color:rgba(0,0,0,.6);color:#fff;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;pointer-events:none}.wrapper-129saQ a:link,.wrapper-129saQ a:visited{pointer-events:auto;cursor:pointer;display:block;color:#fff!important}.wrapperHasPlayText-24Ab80{padding:5px 18px 4px 10px;-webkit-transition:background-color .2s linear;transition:background-color .2s linear}.wrapperHasPlayText-24Ab80:hover{background-color:rgba(0,0,0,.9)}.iconWrapper-21idzA{pointer-events:auto;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;opacity:.6;cursor:pointer;-webkit-transition:opacity .25s,color .25s;transition:opacity .25s,color .25s;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.disableInteractions-31GcUw .iconWrapper-21idzA,.disableInteractions-31GcUw a:link,.disableInteractions-31GcUw a:visited{pointer-events:none}.iconWrapperActive-12kkfE{}.iconWrapperActive-12kkfE:hover{opacity:1}.iconWrapperActive-12kkfE:active{-webkit-transform:translateY(1px);transform:translateY(1px)}.iconWrapperHasPlayText-ksGr18{opacity:1}.text-pPnELr{font-size:16px;padding-left:4px}.icon-3ZFEtL{display:block;width:24px;height:24px}.iconPlay-2kgvwV{margin-left:1px;margin-right:-1px}.iconExternal-NKMKxg,.iconExternalMargins-2v2mzg,.iconPlay-2kgvwV{}.iconExternalMargins-2v2mzg{margin-left:2px;margin-right:4px}
-.volumeButton-2XwKVs{position:relative}.volumeButtonSlider-3U2qy1{position:absolute;bottom:calc(100% + 16px);left:-78px;right:0;display:none;-webkit-app-region:no-drag}.volumeButtonSlider-3U2qy1.sliderVisible-2GQ2wC{display:initial}
-.wrapper-2TxpI8{position:relative;overflow:hidden;border-radius:3px;color:#fff;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.wrapperAudio-1jDe0Q,.wrapperControlsHidden-35Gtol,.wrapperPaused-19pWuK,.wrapperPlaying-1pXOW5{}.wrapperControlsHidden-35Gtol{cursor:default}.wrapperAudio-1jDe0Q{padding:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border-style:solid;border-width:1px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;overflow:visible;max-width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.videoControls-2kcYic{position:absolute;left:0;right:0;bottom:-10px;padding-bottom:10px;height:32px}.audioControls-2HsaU6,.videoControls-2kcYic{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(0,0,0,.6)}.audioControls-2HsaU6{margin-top:4px;border-radius:3px}.controlIcon-3cRbti{display:block;width:24px;height:24px;padding:4px;cursor:pointer;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;opacity:.6}.controlIcon-3cRbti:hover{opacity:1}.controlIcon-3cRbti:active{-webkit-transform:translateY(1px);transform:translateY(1px)}.volumeSliderWrapper-1A8mUw{margin-bottom:4px;margin-left:-4px}.durationTimeWrapper-OugPFt{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin:4px;height:12px}.durationTimeDisplay-jww5fr,.durationTimeSeparator-2_xpJ7{font-weight:500;display:inline-block;font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace;font-size:12px;line-height:12px;vertical-align:text-top}.durationTimeSeparator-2_xpJ7{margin:0 2px}.video-8eMOth{position:relative;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain;border-radius:3px}.video-8eMOth:-webkit-full-screen{z-index:99999}.video-8eMOth::-webkit-media-controls-enclosure{display:none!important}.audio-2-PNle{position:absolute;display:block;width:0;height:0}.audioMetadata-3zOuGv{display:-webkit-box;display:-ms-flexbox;display:flex}.audioMetadata-3zOuGv:before{width:24px;height:40px;content:"";background-image:url(/assets/7674eb0d869afebca7b1f3a5202506c6.svg);background-size:100% auto;background-repeat:no-repeat}.audioMetadata-3zOuGv .metadataContent-3c_ZXw{padding:0 8px}.audioMetadata-3zOuGv .metadataDownload-1fk90V{height:24px;opacity:1}.audioMetadata-3zOuGv .metadataIcon-2FyCKU{color:var(--interactive-normal)}.audioMetadata-3zOuGv .metadataIcon-2FyCKU:hover{color:var(--interactive-hover)}.audioMetadata-3zOuGv .metadataSize-2UOOLK{color:var(--text-muted)}.metadata-13NcHb{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;top:-10px;left:0;right:0;height:80px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;background-image:-webkit-gradient(linear,left bottom,left top,from(transparent),to(rgba(0,0,0,.9)));background-image:linear-gradient(0deg,transparent,rgba(0,0,0,.9));padding:22px 12px 12px;z-index:1}.metadataContent-3c_ZXw{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;white-space:nowrap;overflow:hidden}.metadataName-14STf-{font-size:16px;line-height:20px}.metadataName-14STf-,.metadataSize-2UOOLK{font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.metadataSize-2UOOLK{font-size:12px;line-height:16px;opacity:.7}.metadataDownload-1fk90V{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;opacity:.6}.metadataDownload-1fk90V:hover{opacity:1}.metadataIcon-2FyCKU{width:24px;height:25px;color:#fff}.playCenter-Fe8u3X{top:0;left:0;bottom:0;right:0;z-index:1}.playCenter-Fe8u3X,.playPausePop-RnpJoM{position:absolute;pointer-events:none}.playPausePop-RnpJoM{top:50%;left:50%;margin-left:-23px;margin-top:-23px;padding:12px;width:24px;height:24px;background-color:rgba(0,0,0,.6);color:#fff;border-radius:50%}.playPausePop-RnpJoM .playPausePopIcon-p-D8VH{width:24px;height:24px;display:block}.theme-dark .wrapper-2TxpI8{background-color:#202225}.theme-dark .wrapperAudio-1jDe0Q{border-color:var(--background-secondary-alt);background-color:var(--background-secondary)}.theme-light .wrapper-2TxpI8{background-color:#f6f6f7}.theme-light .wrapperAudio-1jDe0Q{border-color:var(--background-secondary-alt);background-color:var(--background-secondary)}.background-opacity-high .audioControls-2HsaU6,.background-opacity-low .audioControls-2HsaU6,.background-opacity-medium .audioControls-2HsaU6{background-color:rgba(0,0,0,.3)}.background-opacity-high .audioMetadata-3zOuGv:before,.background-opacity-low .audioMetadata-3zOuGv:before,.background-opacity-medium .audioMetadata-3zOuGv:before{opacity:.6}
-.combobox-3V1oCd{overflow:hidden;height:100%}.list-1xE9GQ{list-style:none;height:100%;margin-top:8px}.item-2J2GlB{font-weight:500;border-radius:4px;padding:10px 8px;margin-bottom:4px;color:var(--interactive-normal);cursor:pointer;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;outline:none}.focused-dKLoQt,.item-2J2GlB:hover{background-color:var(--background-modifier-hover);color:var(--interactive-hover)}.itemLabel-38pPIt{width:100%}.itemCheckbox-x25t6M~.itemLabel-38pPIt{margin-left:8px}.empty-1tY4oL{padding:20px;text-align:center;display:grid;grid-gap:12px}.disabled-w6MDKJ{opacity:.3;cursor:not-allowed}.selected-2114Fj{background-color:var(--background-modifier-selected)}.selectedBrand-1UKrSX{background:var(--brand-experiment-500);color:#fff}.selectedBrand-1UKrSX.focused-dKLoQt,.selectedBrand-1UKrSX:hover{background:var(--brand-experiment-600);color:#fff}
-.spinner-2vhCyH{width:100%;height:100%}.container-1pMiXm{width:100%;display:grid}.textContainer-C0szpm{min-height:118px;height:100%;overflow:hidden;background-color:var(--background-secondary);border:1px solid var(--background-secondary-alt);border-radius:4px 4px 0 0}.textContainer-C0szpm,.textContainer-C0szpm pre{-webkit-box-sizing:border-box;box-sizing:border-box}.textContainer-C0szpm pre{border-radius:4px 4px 0 0}.codeView-1JPDeA{font-size:0.875rem;line-height:1rem;min-height:100px}.codeView-1JPDeA::-webkit-scrollbar-track{margin:0 .5em}.expanded-2itZLW{overflow:auto}.footer-2yA7Ep{background-color:var(--background-secondary);-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;height:40px;border:1px solid var(--background-secondary-alt);border-top:0;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:0 0 4px 4px;padding:0 10px;font-size:0.875rem;min-width:0}.footer-2yA7Ep,.toggleExpandSection-3WJYqa{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0}.toggleExpandSection-3WJYqa{cursor:pointer;padding-right:10px}.toggleExpandSection-3WJYqa:hover{color:var(--interactive-hover)}.openFullPreviewSection-DZS30W{cursor:pointer;padding-top:4px}.openFullPreviewSection-DZS30W:hover{color:var(--interactive-hover)}.footerGap-Dnjvue{-webkit-box-flex:200;-ms-flex:200 0 auto;flex:200 0 auto}.downloadSection-3DLWUO{color:var(--interactive-normal)}.downloadSection-3DLWUO:hover{color:var(--interactive-hover);text-decoration:none}.attachmentName-1iFwvb{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:inline-block;text-align:right}.formattedSize-2PXVec{padding-left:2px;color:var(--interactive-muted);text-align:right;-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}.downloadButton-3RfpkU{padding-left:4px}.languageSelector-2LVJrh{margin-top:4px;padding:8px 8px 4px;background-color:var(--background-floating);border-radius:4px;overflow:hidden;max-width:176px;-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high);height:284px}.codeIcon-3YZylx{min-width:24px;padding-left:4px;padding-bottom:4px}.codeIcon-3YZylx:hover{color:var(--interactive-hover)}.modalRoot-2o6FJT{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;height:100%;min-height:auto}.modalContent-3XArPg{display:grid;width:100%;height:100%}.modalTextContainer-ITvzbi{overflow:scroll;background-color:var(--background-secondary);border:1px solid var(--background-secondary-alt);border-radius:4px 4px 0 0}.modalTextContainer-ITvzbi,.modalTextContainer-ITvzbi pre{-webkit-box-sizing:border-box;box-sizing:border-box}.modalTextContainer-ITvzbi pre{border-radius:4px 4px 0 0}
-.barBase-1c2Rfb{position:absolute;left:16px;right:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;z-index:2;min-height:24px;text-transform:capitalize;-webkit-transition:opacity .15s;transition:opacity .15s;opacity:.95;cursor:pointer}.barBase-1c2Rfb:hover{opacity:1}.barButtonBase-2uLO1z{text-align:left;background:none;color:#fff;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-weight:500;padding:0 12px;font-size:14px;line-height:24px;height:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.barButtonIcon-3t4V3d{display:block;position:relative;top:-1px;width:16px;height:16px;margin-left:8px}.jumpToPresentBar-G1R9s6{bottom:0;border-radius:8px 8px 0 0;background-color:var(--background-accent);opacity:.95;padding-bottom:8px}.jumpToPresentBar-G1R9s6:active{margin-bottom:-1px}.jumpToPresentBar-G1R9s6 .spinner-1AwyAQ{padding-right:12px}.jumpToPresentBar-G1R9s6 .spinnerItem-2swXFm{background-color:#fff}.messagesErrorBar-nyJGU7{bottom:0;border-radius:8px 8px 0 0;background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);opacity:.9;padding-bottom:8px}.messagesErrorBar-nyJGU7:active{margin-bottom:-1px}.messagesErrorBar-nyJGU7 .spinner-1AwyAQ{padding-right:12px}.messagesErrorBar-nyJGU7 .spinnerItem-2swXFm{background-color:#fff}.newMessagesBar-265mhP{top:0;border-radius:0 0 8px 8px;background-color:var(--brand-experiment);-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low)}.newMessagesBar-265mhP:active{padding-top:1px;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent}.barButtonMain-3K-jeJ{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;display:block;position:relative}.barButtonMain-3K-jeJ,.span-1mKrMp{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.barButtonAlt-mYL1lj{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;font-weight:600;position:relative}.loadingMore-FEpq89{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.loadingMore-FEpq89 .spinner-1AwyAQ{display:inline-block;margin:0}.hasMore-3POVhk,.loadingMore-FEpq89{margin:16px 6px 16px 16px;height:32px}.hasMore-3POVhk{-webkit-box-shadow:inset 0 0 0 1px var(--background-modifier-accent);box-shadow:inset 0 0 0 1px var(--background-modifier-accent);color:var(--brand-experiment);text-align:center;font-size:12px;line-height:32px;font-weight:500;border-radius:3px;text-transform:uppercase;cursor:pointer}.hasMore-3POVhk:hover{background-color:var(--background-modifier-hover)}.messageGroupBlocked-2lRk_V{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;margin:6px 0;background-color:rgba(0,0,0,.05);color:var(--text-muted);-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.messageGroupBlocked-2lRk_V:last-child{margin-bottom:12px}.messageGroupBlockedBtn-2PRkNr{text-align:center;font-size:12px;font-weight:500;padding:9px 0;text-transform:uppercase;cursor:pointer;margin:0;color:var(--interactive-normal)}.messageGroupBlockedBtn-2PRkNr:hover{background-color:rgba(0,0,0,.05)}.revealed-3K53gX .messageGroupBlockedBtn-2PRkNr{color:var(--interactive-active)}.tooltip-ocNES0{text-align:center}.clickCTA-2B6Kbs{color:#b9bbbe}.popoutContainer-1MXdqN{width:288px;border-radius:8px;overflow:hidden;background-color:var(--background-floating);-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low)}@-webkit-keyframes popout-loading-3ETohm{0%{-webkit-transform:translate3d(-256px,0,0);transform:translate3d(-256px,0,0)}50%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(-256px,0,0);transform:translate3d(-256px,0,0)}}@keyframes popout-loading-3ETohm{0%{-webkit-transform:translate3d(-256px,0,0);transform:translate3d(-256px,0,0)}50%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(-256px,0,0);transform:translate3d(-256px,0,0)}}.popoutLoadingBackground-1dkDdT{-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg%20width%3D%22256%22%20height%3D%2278%22%20viewBox%3D%2232%2024%20256%2078%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M36%2024C33.7909%2024%2032%2025.7909%2032%2028V78C32%2080.2091%2033.7909%2082%2036%2082H86C88.2091%2082%2090%2080.2091%2090%2078V28C90%2025.7909%2088.2091%2024%2086%2024H36ZM110%2024C107.791%2024%20106%2025.7909%20106%2028V38C106%2040.2091%20107.791%2042%20110%2042H179C181.209%2042%20183%2040.2091%20183%2038V28C183%2025.7909%20181.209%2024%20179%2024H110ZM106%2058C106%2055.7909%20107.791%2054%20110%2054H284C286.209%2054%20288%2055.7909%20288%2058V68C288%2070.2091%20286.209%2072%20284%2072H110C107.791%2072%20106%2070.2091%20106%2068V58ZM110%2084C107.791%2084%20106%2085.7909%20106%2088V98C106%20100.209%20107.791%20102%20110%20102H223C225.209%20102%20227%20100.209%20227%2098V88C227%2085.7909%20225.209%2084%20223%2084H110Z%22%20fill%3D%22%23000000%22%20%2F%3E%3C%2Fsvg%3E");mask:url("data:image/svg+xml;utf8,%3Csvg%20width%3D%22256%22%20height%3D%2278%22%20viewBox%3D%2232%2024%20256%2078%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M36%2024C33.7909%2024%2032%2025.7909%2032%2028V78C32%2080.2091%2033.7909%2082%2036%2082H86C88.2091%2082%2090%2080.2091%2090%2078V28C90%2025.7909%2088.2091%2024%2086%2024H36ZM110%2024C107.791%2024%20106%2025.7909%20106%2028V38C106%2040.2091%20107.791%2042%20110%2042H179C181.209%2042%20183%2040.2091%20183%2038V28C183%2025.7909%20181.209%2024%20179%2024H110ZM106%2058C106%2055.7909%20107.791%2054%20110%2054H284C286.209%2054%20288%2055.7909%20288%2058V68C288%2070.2091%20286.209%2072%20284%2072H110C107.791%2072%20106%2070.2091%20106%2068V58ZM110%2084C107.791%2084%20106%2085.7909%20106%2088V98C106%20100.209%20107.791%20102%20110%20102H223C225.209%20102%20227%20100.209%20227%2098V88C227%2085.7909%20225.209%2084%20223%2084H110Z%22%20fill%3D%22%23000000%22%20%2F%3E%3C%2Fsvg%3E");-webkit-mask-size:100%;mask-size:100%;mask-type:luminance;margin:16px;width:256px;height:78px;position:relative;overflow:hidden}.popoutLoadingForeground-2mZT61{position:absolute;top:0;bottom:0;left:0;width:512px;-webkit-animation:popout-loading-3ETohm 4s ease-in-out infinite;animation:popout-loading-3ETohm 4s ease-in-out infinite;background-image:-webkit-gradient(linear,left top,right top,from(#36393f),color-stop(#4f545c),to(#36393f));background-image:linear-gradient(90deg,#36393f,#4f545c,#36393f)}.theme-light .popoutLoadingForeground-2mZT61{background-image:-webkit-gradient(linear,left top,right top,from(#f6f6f7),color-stop(#dcddde),to(#f6f6f7));background-image:linear-gradient(90deg,#f6f6f7,#dcddde,#f6f6f7)}&.background-opacity-high .messageGroupBlocked-2lRk_V,&.background-opacity-low .messageGroupBlocked-2lRk_V,&.background-opacity-medium .messageGroupBlocked-2lRk_V{background-color:rgba(54,57,63,.3);border-color:rgba(47,49,54,.2)}&.background-opacity-high .messageGroupBlocked-2lRk_V .messageGroupBlockedBtn-2PRkNr,&.background-opacity-low .messageGroupBlocked-2lRk_V .messageGroupBlockedBtn-2PRkNr,&.background-opacity-medium .messageGroupBlocked-2lRk_V .messageGroupBlockedBtn-2PRkNr{background-color:transparent;color:#f6f6f7}&.background-opacity-high .messageGroupBlocked-2lRk_V .messageGroupBlockedBtn-2PRkNr:hover,&.background-opacity-low .messageGroupBlocked-2lRk_V .messageGroupBlockedBtn-2PRkNr:hover,&.background-opacity-medium .messageGroupBlocked-2lRk_V .messageGroupBlockedBtn-2PRkNr:hover{background:rgba(54,57,63,.4)}.background-opacity-low .divider-1zpjU3:not(.dividerRed-258GgF){opacity:.8}.background-opacity-low .divider-1zpjU3:not(.dividerRed-258GgF) .dividerContent-178VBO{opacity:.8;color:#fff}.background-opacity-low .divider-1zpjU3:not(.dividerRed-258GgF) .dividerContent-178VBO:before{border-color:currentColor}.background-opacity-medium .divider-1zpjU3{opacity:.8}.background-opacity-medium .divider-1zpjU3:not(.dividerRed-258GgF) .dividerContent-178VBO{color:null}.background-opacity-medium .divider-1zpjU3:not(.dividerRed-258GgF) .dividerContent-178VBO:before{background-color:currentColor;opacity:.8}.background-opacity-high .divider-1zpjU3{opacity:.5}.background-opacity-high .divider-1zpjU3:not(.dividerRed-258GgF) .dividerContent-178VBO{color:null}.background-opacity-high .divider-1zpjU3:not(.dividerRed-258GgF) .dividerContent-178VBO:before{background-color:currentColor;opacity:.8}.disableInteractions-z9ck59.hasMore-3POVhk{visibility:hidden}
-.emoji{-o-object-fit:contain;object-fit:contain;width:1.375em;height:1.375em;vertical-align:bottom}.emoji.jumboable{width:3rem;height:3rem;min-height:3rem}
-.emojiSection-3Fb9ix{padding:16px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.primaryEmoji-3LinDq{min-width:3rem;min-height:3rem;margin-top:4px}.emojiName-27Bjxw{font-weight:600}.ctaButton-fjBGVN{margin:16px auto 0}.guildSection-1EoFKd{padding:16px;background-color:var(--background-secondary-alt)}.guildTitle-2IliYu{color:var(--header-secondary);margin-bottom:8px}.guildIcon-1zxZMV{width:100%;height:100%;cursor:pointer}.guildBadge-2YTIW_{margin-right:4px;min-width:16px}.guildName-nBoMcU{cursor:pointer}.showMoreEmojis-1Xd5A3{color:var(--interactive-normal);cursor:pointer;-webkit-transition:color .125s;transition:color .125s;font-weight:600;margin-top:8px}.showMoreEmojis-1Xd5A3:hover{color:var(--interactive-active)}.showMoreEmojisArrow-PK64BO{position:relative;left:4px;height:16px;width:16px;-webkit-transition:-webkit-transform .1s;transition:-webkit-transform .1s;transition:transform .1s;transition:transform .1s,-webkit-transform .1s}.showMoreEmojisArrow-PK64BO.showMoreEmojisArrowCollapsed-2esWuk{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.otherEmojisContainer-lyudgL{margin-top:4px}.otherEmoji-2IRr39{height:2rem;width:2rem;min-width:2rem;-ms-flex-preferred-size:calc(16.66667% - 4px);flex-basis:calc(16.66667% - 4px);margin:4px 2px}.truncatingText-18osv_{min-width:0}.dotSeparator-2SMscJ{border-radius:50%;width:4px;height:4px;margin:0 8px;-ms-flex-negative:0;flex-shrink:0;background-color:var(--interactive-muted)}.theme-light .popoutContent-33P_eV,.theme-light .popoutLoader-38dq4E{background-color:var(--background-floating);-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high)}
-.emojiContainer-3X8SvE{display:inline-block;cursor:pointer}
-.wrapper-3WhCwL{border-radius:3px;padding:0 2px;font-weight:500;unicode-bidi:-moz-plaintext;unicode-bidi:plaintext;color:var(--brand-experiment-530);background:var(--brand-experiment-15a);position:relative}.theme-dark .wrapper-3WhCwL{background:var(--brand-experiment-30a);color:var(--brand-experiment-200)}.theme-dark.low-contrast .wrapper-3WhCwL{background:var(--brand-experiment-05a);color:var(--brand-experiment-300)}.interactive{-webkit-transition:background-color 50ms ease-out,color 50ms ease-out;transition:background-color 50ms ease-out,color 50ms ease-out;cursor:pointer}.interactive:hover{color:#fff;background-color:var(--brand-experiment)}
-.inlineContent-3ZjPuv{opacity:1;-webkit-transition:all .1s ease;transition:all .1s ease}.spoilerContainer-331r0R{position:relative;-webkit-filter:blur(0);filter:blur(0);border-radius:3px}.spoilerContainer-331r0R.hidden-HHr2R9{cursor:pointer;overflow:hidden}.spoilerWarning-2aAZq1{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);text-transform:uppercase;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:600;cursor:pointer;z-index:1;padding:8px 12px;border-radius:20px;letter-spacing:.5px;font-size:15px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.spoilerWarning-2aAZq1.embed-2Fkp92{margin-left:4px}.spoilerText-3p6IlD{border-radius:3px;-webkit-transition:all .1s ease;transition:all .1s ease}.spoilerText-3p6IlD.codeBlock-2328Tz{display:block;width:90%;border-radius:5px}.spoilerText-3p6IlD.codeBlock-2328Tz pre{max-width:100%}.spoilerText-3p6IlD.quoteBlock-1Ck12r{display:block;width:90%;border-radius:5px}.spoilerText-3p6IlD.quoteBlock-1Ck12r blockquote{max-width:100%}.spoilerText-3p6IlD.hidden-HHr2R9{cursor:pointer}.spoilerText-3p6IlD.hidden-HHr2R9 .inlineContent-3ZjPuv{cursor:pointer;opacity:0;pointer-events:none}.theme-dark .spoilerText-3p6IlD{background-color:hsla(0,0%,100%,.1)}.theme-dark .spoilerText-3p6IlD.hidden-HHr2R9{background-color:#202225}.theme-dark .spoilerText-3p6IlD.hidden-HHr2R9:hover{background-color:rgba(32,34,37,.8)}.theme-dark .spoilerWarning-2aAZq1{color:#dcddde;background-color:rgba(0,0,0,.6)}.theme-dark .spoilerContainer-331r0R:hover .spoilerWarning-2aAZq1{color:#fff;background-color:rgba(0,0,0,.9)}.theme-dark .spoilerContainer-331r0R.hidden-HHr2R9:not(:focus){-webkit-box-shadow:.5px .5px 1px 1px rgba(0,0,0,.1);box-shadow:.5px .5px 1px 1px rgba(0,0,0,.1)}.theme-light .spoilerText-3p6IlD{background-color:rgba(0,0,0,.1)}.theme-light .spoilerText-3p6IlD.hidden-HHr2R9{background-color:#b9bbbe}.theme-light .spoilerText-3p6IlD.hidden-HHr2R9:hover{background-color:rgba(185,187,190,.8)}.theme-light .spoilerWarning-2aAZq1{color:#dcddde;background-color:rgba(0,0,0,.6)}.theme-light .spoilerContainer-331r0R:hover .spoilerWarning-2aAZq1{color:#fff;background-color:rgba(0,0,0,.9)}.theme-light .spoilerContainer-331r0R.hidden-HHr2R9:not(:focus){-webkit-box-shadow:.5px .5px 1px 1px rgba(0,0,0,.1);box-shadow:.5px .5px 1px 1px rgba(0,0,0,.1)}
-.hljs{display:block;overflow-x:auto;padding:.5em;border-radius:4px;color:var(--header-secondary);-webkit-text-size-adjust:none;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none}.hljs-comment,.hljs-quote{color:var(--interactive-muted)}.hljs-addition,.hljs-keyword,.hljs-selector-tag{color:#859900}.hljs-doctag,.hljs-literal,.hljs-meta .hljs-meta-string,.hljs-number,.hljs-regexp,.hljs-string{color:#2aa198}.hljs-name,.hljs-section,.hljs-selector-class,.hljs-selector-id,.hljs-title{color:#268bd2}.hljs-attr,.hljs-attribute,.hljs-class .hljs-title,.hljs-template-variable,.hljs-type,.hljs-variable{color:#b58900}.hljs-bullet,.hljs-link,.hljs-meta,.hljs-meta .hljs-keyword,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-subst,.hljs-symbol{color:#cb4b16}.hljs-built_in,.hljs-deletion{color:#dc322f}.hljs-formula{background:#073642}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}
-.markup-2BOw-j{font-size:1rem;line-height:1.375rem;white-space:pre-wrap;white-space:break-spaces;word-wrap:break-word;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;color:var(--text-normal);font-weight:400}.markup-2BOw-j a{color:var(--text-link);word-break:break-word;text-decoration:none;cursor:pointer}.markup-2BOw-j a:hover{text-decoration:underline}.markup-2BOw-j strong{font-weight:700}.markup-2BOw-j em{font-style:italic}.markup-2BOw-j pre{border-radius:4px;padding:0;font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace;font-size:0.75rem;line-height:1rem;margin-top:6px;white-space:pre-wrap;background-clip:border-box}.markup-2BOw-j blockquote,.markup-2BOw-j pre{-webkit-box-sizing:border-box;box-sizing:border-box;max-width:90%}.markup-2BOw-j blockquote{text-indent:0}.markup-2BOw-j blockquote pre{max-width:100%}.markup-2BOw-j code{font-size:0.875rem;line-height:1.125rem;text-indent:0;white-space:pre-wrap;scrollbar-width:thin;scrollbar-color:var(--background-tertiary) var(--background-secondary);background:var(--background-secondary);border:1px solid var(--background-tertiary)}.markup-2BOw-j code.inline{width:auto;height:auto;padding:.2em;margin:-.2em 0;border-radius:3px;font-size:85%;font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace;text-indent:0;border:none;white-space:pre-wrap}@media (-webkit-max-device-pixel-ratio:1){.theme-light .markup-2BOw-j{font-weight:500}}.blockquoteContainer-U5TVEi{display:-webkit-box;display:-ms-flexbox;display:flex}.blockquoteContainer-U5TVEi .blockquoteDivider-2hH8H6{width:4px;border-radius:4px}.blockquoteContainer-U5TVEi blockquote{padding:0 8px 0 12px;-webkit-box-sizing:border-box;box-sizing:border-box;text-indent:0}.blockquoteDivider-2hH8H6{background-color:var(--interactive-muted)}.slateBlockquoteContainer-u5zDDJ .blockquoteDivider-2hH8H6,.slateBlockquoteContainer-u5zDDJ blockquote{margin:0;border-radius:0}.background-opacity-low .markup-2BOw-j,.background-opacity-medium .markup-2BOw-j{font-weight:400}.background-opacity-low .markup-2BOw-j{color:#fff;text-shadow:0 0 1px #202225,1px 1px 0 #202225}.background-opacity-low .markup-2BOw-j a{color:var(--text-link);text-shadow:0 0 1px rgba(32,34,37,.7),1px 1px 0 rgba(32,34,37,.7)}.background-opacity-medium .markup-2BOw-j{color:#f6f6f7;text-shadow:0 0 1px #36393f,1px 1px 0 #36393f}.background-opacity-medium .markup-2BOw-j a{color:var(--text-link);text-shadow:0 0 1px rgba(32,34,37,.8),1px 1px 0 rgba(32,34,37,.8)}.background-opacity-high .markup-2BOw-j{color:#f6f6f7;text-shadow:0 0 1px #36393f,1px 1px 0 #36393f}.background-opacity-low pre,.background-opacity-medium pre{border-color:rgba(79,84,92,.2)}.background-opacity-high pre,.background-opacity-low pre,.background-opacity-medium pre{background:rgba(47,49,54,.3);border-color:rgba(32,34,37,.1)}.background-opacity-high code,.background-opacity-low code,.background-opacity-medium code{background-color:transparent}.background-opacity-high code.inline,.background-opacity-low code.inline,.background-opacity-medium code.inline{background-color:rgba(47,49,54,.3)}.background-opacity-high .mention,.background-opacity-low .mention,.background-opacity-medium .mention{text-shadow:0 1px 1px var(--brand-experiment-600),0 1px 0 var(--brand-experiment-600)}.overlay-unlocked code,.overlay-unlocked code.inline{background:var(--background-secondary);border-color:var(--background-tertiary)}.channelIcon-Lewl0l{width:1rem;height:1rem;-o-object-fit:contain;object-fit:contain;position:absolute;left:.125rem;top:.125rem}.iconMention-O5BG9X{padding-left:1.25rem!important}.roleMention-2Bj0ju{font-weight:500}.rolePopout-25sKc-{width:240px;background-color:var(--background-secondary);border-radius:8px;max-height:calc(100vh - 20px)}.roleHeader-apnU9D{padding:12px 8px 0 16px;height:40px}.roleScroller-211T6P{margin-top:4px;margin-bottom:8px}.timestamp-1Dd_pn{background-color:var(--background-modifier-accent);border-radius:3px;padding:0 2px}.timestampTooltip-2YTl4z{max-width:unset}
-@-webkit-keyframes placeholderPulse-34GVGw{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes placeholderPulse-34GVGw{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.multiplePlaceholder-M9zbu6,.placeholder-3KRNN9{cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-webkit-animation:placeholderPulse-34GVGw 3s ease-in-out infinite;animation:placeholderPulse-34GVGw 3s ease-in-out infinite}.placeholder-3KRNN9{height:44px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mulitplePlaceholderUsername-pogq9I,.placeholderUsername-2B_OA9{border-radius:8px;height:14px}.mulitplePlaceholderUsername-pogq9I{margin-top:12px}.avatarSmall-2ZCvxB{width:32px;height:32px}.avatarLarge-29Rv8a{width:40px;height:40px}.placeholderAvatar-damqh6{border-radius:50%}.mulitplePlaceholderUsername-pogq9I,.placeholderAvatar-damqh6,.placeholderUsername-2B_OA9{background-color:var(--background-primary)}.avatarMasked-RmBa_y{-webkit-mask-image:url(/assets/2ad33adc723eef7837aa4432d8b8e1be.svg);mask-image:url(/assets/2ad33adc723eef7837aa4432d8b8e1be.svg);-webkit-mask-position:0 0;mask-position:0 0;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;margin-right:-6px}
-.container-2Pjhx-{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;padding:1px 0;border-radius:4px;-webkit-transition:none;transition:none;color:var(--channels-default)}.container-2Pjhx- .muted-3mU76i{color:var(--interactive-muted)}.muted-3mU76i .avatar-3uk_u9{opacity:.3}.clickable-1JJAn8.container-2Pjhx-:hover,.clickable-1JJAn8.container-2Pjhx-:hover .muted-3mU76i{color:var(--interactive-hover)}.clickable-1JJAn8.container-2Pjhx-:hover .avatar-3uk_u9{opacity:1}.clickable-1JJAn8.container-2Pjhx-:active,.highlighted-1gWxXa.container-2Pjhx-,.selected-aXhQR6.container-2Pjhx-{color:var(--interactive-active)}.layout-2DM8Md{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:4px;height:42px;padding:0 8px}.wrappedLayout-3DR7Pk{height:auto;padding:5px 8px}.clickable-1JJAn8:hover .layout-2DM8Md{background-color:var(--background-modifier-hover);cursor:pointer}.clickable-1JJAn8:active .layout-2DM8Md{background-color:var(--background-modifier-active)}.selected-aXhQR6 .layout-2DM8Md{background-color:var(--background-modifier-selected)}.avatar-3uk_u9{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:32px;height:32px;margin-right:12px}.content-3QAtGj{min-width:0;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.content-3QAtGj,.name-uJV0GL{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.name-uJV0GL{font-size:16px;line-height:20px;font-weight:500;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.wrappedName-26qVtL{overflow:none;white-space:normal}.nameAndDecorators-5FJ2dg{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.subText-1KtqkB{margin-top:-2px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.children-gzQq2t{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:8px}
-.icon-15YQ1T{margin-left:2px}.emoji-2cWBLE,.icon-15YQ1T{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.textRuler-wO-qHe{position:absolute;visibility:hidden}
-.member-3-YXUe{position:relative;max-width:224px;margin-left:8px}.offline-3nJYBR{opacity:.3}.offline-3nJYBR:hover{opacity:1}.icon-1A2_vz{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;position:relative;top:1px;width:14px;height:14px;-ms-flex-negative:0;flex-shrink:0}.ownerIcon-2NH9FM{color:var(--text-warning);margin-left:4px}.lostPermission-2pphCL{text-decoration:line-through}.premiumIcon-1rDbWQ{color:hsl(302,calc(var(--saturation-factor, 1)*100%),72.5%);margin-left:3px}.placeholder-3X_lzF{padding:4px 8px}.botTag-3W9SuW{margin-left:4px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.roleColor-rz2vM0{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.activity-2Gy-9S{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:12px;line-height:16px;color:var(--channels-default);font-weight:500}.activityText-yGKsKm{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.activityEmoji-2GDGtF{margin-right:4px;width:14px;height:14px}
-.menu-3sdvDG{position:relative;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;height:auto;cursor:default;max-height:calc(100vh - 32px);-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high);background:var(--background-floating);border-radius:4px}.scroller-3BxosC{padding:6px 8px}.styleFixed-sX-yHV{width:220px}.styleFlexible-wGDiIL{min-width:188px;max-width:320px}.item-1tOPte{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;margin:2px 0;border-radius:2px;font-size:14px;font-weight:500;line-height:18px;cursor:pointer}.item-1tOPte.hideInteraction-1iHO1O{cursor:default}.customItem-a8hq58{color:var(--interactive-normal);border-color:var(--interactive-normal);font-size:14px;font-weight:500;line-height:18px}.labelContainer-1BLJti{-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:32px;padding:6px 8px}.label-22pbtT{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.subtext-13Lvrj{margin-top:2px;white-space:normal}.iconContainer-2-XQPY{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;height:18px;width:18px;margin-left:8px}.iconContainerLeft-3SHzHp{margin-left:0;margin-right:8px}.icon-LYJorE{width:18px;height:18px}.hintContainer-Vai8dx,.imageContainer-2fGqYU{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;max-height:18px;margin-left:8px}.caret-1XEpQV,.image-3v3Wjg{height:18px}.caret-1XEpQV{width:18px;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.disabled-1WRMNA{cursor:pointer;pointer-events:none;opacity:.5}.separator-2I32lJ{-webkit-box-sizing:border-box;box-sizing:border-box;margin:4px;border-bottom:1px solid var(--background-modifier-accent)}.submenuContainer-2gbm7M{position:relative}.submenuPaddingContainer-fiOCHc{padding:0 8px}.submenu-2-ysNh{min-width:188px;max-width:320px}.colorDefault-2K3EoJ{color:var(--interactive-normal);border-color:var(--interactive-normal)}.colorDefault-2K3EoJ .subtext-13Lvrj{color:var(--text-muted);font-size:12px;line-height:16px}.colorDefault-2K3EoJ .checkbox-3s5GYZ,.colorDefault-2K3EoJ .radioSelection-1HmrQS{color:var(--control-brand-foreground)}.colorDefault-2K3EoJ .check-1JyqgN{color:#fff}.colorDefault-2K3EoJ.focused-3afm-j{background-color:var(--brand-experiment-560);color:#fff}.colorDefault-2K3EoJ.focused-3afm-j .checkbox-3s5GYZ,.colorDefault-2K3EoJ.focused-3afm-j .radioSelection-1HmrQS,.colorDefault-2K3EoJ.focused-3afm-j .subtext-13Lvrj{color:#fff}.colorDefault-2K3EoJ.focused-3afm-j .check-1JyqgN{color:var(--brand-experiment-560)}.colorDefault-2K3EoJ:active:not(.hideInteraction-1iHO1O){background-color:var(--brand-experiment-600);color:#fff}.colorBrand-ROmMP1{color:var(--brand-experiment-360)}.theme-light .colorBrand-ROmMP1:not(.focused-3afm-j){color:var(--brand-experiment-500)}.colorDanger-2qLCe1{}.colorDanger-2qLCe1,.colorDanger-2qLCe1 .checkbox-3s5GYZ,.colorDanger-2qLCe1 .radioSelection-1HmrQS{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.colorDanger-2qLCe1.focused-3afm-j{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);color:#fff}.colorDanger-2qLCe1.focused-3afm-j .check-1JyqgN{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.colorDanger-2qLCe1:active:not(.hideInteraction-1iHO1O){background-color:null;color:#fff}.colorPremium-p4p7qO{}.colorPremium-p4p7qO .icon-LYJorE{color:hsl(302,calc(var(--saturation-factor, 1)*100%),72.5%)}.colorPremium-p4p7qO.focused-3afm-j .icon-LYJorE,.colorPremium-p4p7qO:active:not(.hideInteraction-1iHO1O) .icon-LYJorE{color:#fff}.colorGreen-2ZgJka{}.colorGreen-2ZgJka,.colorGreen-2ZgJka .checkbox-3s5GYZ,.colorGreen-2ZgJka .radioSelection-1HmrQS{color:hsl(139,calc(var(--saturation-factor, 1)*85.6%),64.5%)}.colorGreen-2ZgJka.focused-3afm-j{background-color:hsl(139,calc(var(--saturation-factor, 1)*85.6%),64.5%);color:#fff}.colorGreen-2ZgJka.focused-3afm-j .check-1JyqgN{color:hsl(139,calc(var(--saturation-factor, 1)*85.6%),64.5%)}.colorGreen-2ZgJka:active:not(.hideInteraction-1iHO1O){background-color:null;color:#fff}.groupLabel-2t5iuZ{text-transform:uppercase;font-family:var(--font-display);font-weight:700;font-size:12px;padding-top:4px;padding-bottom:0}
-.listWrapper-21hRUc{overflow-x:hidden;overflow-y:scroll;position:absolute;top:0;right:0;bottom:0;left:0}.listHeight-3jP-vC{visibility:hidden}.listItems-1uJgMC{contain:layout;position:absolute}.scroller-3gAZLs{height:100%}
-.image-3wFWIj{width:156px;height:137px}.text-ojZtuK{}.theme-dark .image-3wFWIj{background-image:url(/assets/fb6a21ef85b63dec6e7c01c683904e8f.svg)}.theme-light .image-3wFWIj{background-image:url(/assets/97e866482f43d3ebd2496641cd934904.svg)}
-.avatarUploader-3XDtmn{text-align:center;font-size:12px}.avatarUploader-3XDtmn .removeButton-1hcZyG{margin-top:10px;font-size:14px;font-weight:600;display:block;text-decoration:none;cursor:pointer}.avatarUploader-3XDtmn .sizeInfo-SKMPPw{margin-top:10px;display:block;font-size:10px;color:#87909c}.avatarUploader-3XDtmn .sizeInfo-SKMPPw strong{font-weight:700}.avatarUploader-3XDtmn.disabled-10u2on .avatarUploaderInner-3UNxY3:focus-within,.avatarUploader-3XDtmn.disabled-10u2on .avatarUploaderInner-3UNxY3:hover{-webkit-box-shadow:none;box-shadow:none}.avatarUploaderInner-3UNxY3{display:inline-block;width:138px;height:138px;border-radius:50%;background-color:var(--brand-experiment);background-size:cover;background-position:50%;background-repeat:no-repeat;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:-webkit-box-shadow background-color .1s .1s;transition:-webkit-box-shadow background-color .1s .1s;transition:box-shadow background-color .1s .1s;transition:box-shadow background-color .1s .1s,-webkit-box-shadow background-color .1s .1s;-ms-flex-negative:0;flex-shrink:0}.avatarUploaderInner-3UNxY3>*{position:absolute;top:0;left:0;right:0;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;pointer-events:none;color:#fff}.avatarUploaderInner-3UNxY3 .fileInput-23-d-3,.avatarUploaderInner-3UNxY3 input[type=file]{pointer-events:auto}.avatarUploaderInner-3UNxY3:focus-within,.avatarUploaderInner-3UNxY3:hover{-webkit-box-shadow:inset 0 0 120px rgba(0,0,0,.75);box-shadow:inset 0 0 120px rgba(0,0,0,.75)}.avatarUploaderInner-3UNxY3:focus-within .avatarUploaderAcronym-3SioMc,.avatarUploaderInner-3UNxY3:hover .avatarUploaderAcronym-3SioMc{visibility:hidden}.avatarUploaderInner-3UNxY3:focus-within .avatarUploaderHint-3SN212,.avatarUploaderInner-3UNxY3:hover .avatarUploaderHint-3SN212{visibility:visible}.avatarUploaderAcronym-3SioMc{font-size:40px;overflow:hidden;white-space:nowrap}.avatarUploaderHint-3SN212{visibility:hidden;font-size:10px;font-weight:700;text-transform:uppercase;line-height:12px;white-space:pre}.avatarUploaderIndicator-2G-aIZ{position:absolute;top:0;right:0;left:auto;width:28px;height:28px;background-repeat:no-repeat;background-position:50%;border-radius:50%;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.2);box-shadow:0 2px 4px 0 rgba(0,0,0,.2);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.removeButton-1hcZyG{color:var(--interactive-normal)}.removeButton-1hcZyG:hover{color:var(--interactive-hover)}.theme-light .avatarUploaderIndicator-2G-aIZ{background-color:#fff;background-image:url(/assets/30a3036e40d0f175912ec96c03596e29.svg)}.theme-dark .avatarUploaderIndicator-2G-aIZ{background-color:#dcddde;background-image:url(/assets/d5c25e76af04cea8997e4a060572feae.svg)}
-.base-PmTxvP{-webkit-box-sizing:border-box;box-sizing:border-box;min-width:16px;min-height:16px;font-size:12px;line-height:16px;font-weight:600;color:#fff;text-align:center;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.baseShapeRound-1Mm1YW{border-radius:8px}.baseShapeRoundLeft-ym85l3{border-radius:8px 0 0 8px}.baseShapeRoundRight-1962en{border-radius:0 8px 8px 0}.numberBadge-2s8kKX{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.textBadge-1iylP6{padding:0 6px;font-family:var(--font-display);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.iconBadge-2NuvG9{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:16px;height:16px}.icon-3s6X1M{padding:2px;width:100%;height:100%}
-.card-m0Fl9n{margin-bottom:20px;padding:10px;line-height:20px}.identityDescription-by1_3Z{margin-bottom:16px}.itemGroup-37-G3x{margin-bottom:8px}.perServerAvatarTitle-3nNgfk{margin-top:24px}.modalContent-zY2PZi{padding-bottom:24px}.reset-2Ufv5M{text-transform:capitalize;cursor:pointer;padding-left:0;padding-right:0;margin-top:8px}.reset-2Ufv5M:hover{opacity:1;text-decoration:underline}.avatarError-1eHxQO,.nickError-1fUYT4{margin-top:8px}.warning-sQ81MX{color:#fff}.upsellCard-11CKVn{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:var(--background-tertiary);padding:8px;color:var(--text-normal);border-radius:4px;margin-bottom:8px;cursor:pointer}.upsellIcon-34KLLB{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-right:8px}.upsellText-gVxQL0{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.upsellText-gVxQL0 strong{font-weight:400;color:var(--text-link)}.betaBadge-X2p2Ie{display:inline-block;vertical-align:middle;margin-top:-2px}.avatarUploader-1Y-wly{margin-top:24px}.avatarUploaderInner-KkYu-S{width:80px;height:80px}.disabled-1uvjrp{opacity:.4;position:relative}.disabled-1uvjrp:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0}.serverAvatarPremiumIcon-3asqFR{display:inline-block;margin-right:4px;vertical-align:middle;position:relative;top:-1px}
-.newBadge-34a1Fs{display:inline-block;margin-left:8px;text-transform:uppercase;vertical-align:middle}
-.description-3BvR20{margin-bottom:16px}.input-2suNrw{margin-bottom:8px}.reset-2IwrbI{text-transform:capitalize;cursor:pointer;margin-bottom:20px;padding-left:1px;padding-right:1px;opacity:.6}.reset-2IwrbI:hover{opacity:1;text-decoration:underline}
-.banner-2QYc2d{position:relative;-webkit-transition:background-color .1s;transition:background-color .1s}.banner-2QYc2d:hover .bannerOverlay-1uIerX,.banner-2QYc2d:hover .pencilIcon-XSi-VE{opacity:1}.bannerPremium-2hSAwz{background-repeat:no-repeat;background-position:50%;background-size:cover}.popoutBanner-19WKGg{width:300px;height:60px}.popoutBannerPremium-1n96gg{width:300px;height:120px}.profileBanner-33-uE1{width:600px;height:120px}.profileBannerPremium-35utuo{width:600px;height:240px}.settingsBanner-15-pZk{width:100%;height:100px}.pencilIcon-XSi-VE{position:absolute;color:#fff;opacity:0}.pencilIcon-XSi-VE,.popoutBanner-19WKGg .pencilIcon-XSi-VE,.popoutBannerPremium-1n96gg .pencilIcon-XSi-VE{top:10px;right:12px}.profileBanner-33-uE1 .pencilIcon-XSi-VE,.profileBannerPremium-35utuo .pencilIcon-XSi-VE{top:14px;right:16px}.bannerOverlay-1uIerX{position:absolute;height:100%;width:100%;opacity:0;cursor:pointer;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.bannerOverlayPopout-1clJ34{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2),inset 0 0 120px rgba(0,0,0,.6);box-shadow:0 2px 10px 0 rgba(0,0,0,.2),inset 0 0 120px rgba(0,0,0,.6)}.bannerOverlayProfile-31VOgt{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2),inset 0 0 300px rgba(0,0,0,.8);box-shadow:0 2px 10px 0 rgba(0,0,0,.2),inset 0 0 300px rgba(0,0,0,.8)}.bannerOverlayHidden-3SxVWg{display:none}.premiumIconWrapper-1A-UH5{position:absolute;top:6px;right:8px;z-index:2;opacity:0;-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0);-webkit-transition:opacity .15s ease-out,-webkit-transform .15s ease-out;transition:opacity .15s ease-out,-webkit-transform .15s ease-out;transition:opacity .15s ease-out,transform .15s ease-out;transition:opacity .15s ease-out,transform .15s ease-out,-webkit-transform .15s ease-out}.profileBannerPremium-35utuo .premiumIconWrapper-1A-UH5{top:14px;right:16px}.premiumIcon-2EjK1H{color:#fff;display:block;margin-left:-2px;margin-right:-2px}.reducedMotion-3H6P8E .premiumIconWrapper-1A-UH5{-webkit-transition:none;transition:none}.gifTag-kA7fXf{position:absolute;top:8px;right:8px;opacity:1;z-index:1;pointer-events:none}.profileBannerPremium-35utuo .gifTag-kA7fXf{top:16px;right:16px}.banner-2QYc2d:hover .premiumIconWrapper-1A-UH5{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}.banner-2QYc2d:hover .gifTag-kA7fXf{opacity:0}.clickable-j92RzV{cursor:pointer}
-.container-3XJ8ns{width:250px;overflow:hidden;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;padding:8px;background-color:var(--background-primary);border:1px solid var(--background-modifier-accent)}.list-1MFD7e{height:280px;padding:8px 0}
-.root-3-B5F3{position:relative;margin-top:2px}.role-2irmRk{font-size:12px;font-weight:500;border:1px solid;border-radius:11px;-webkit-box-sizing:border-box;box-sizing:border-box;height:22px;margin:0 4px 4px 0;padding:4px}.roleCircle-3xAZ1j{border-radius:50%;width:12px;height:12px;padding:0;margin-right:4px}.roleRemoveIcon-2-TeGW{display:none;width:10px;height:10px}.role-2irmRk:hover .roleRemoveIcon-2-TeGW,.roleRemoveIconFocused-2ynLxl .roleRemoveIcon-2-TeGW{display:block}.roleName-32vpEy{max-width:200px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-right:4px}.actionButton-VzECiy{font-size:11px;line-height:11px}.overflowButton-1SCpCf{padding:4px 8px}.addButton-pcyyf6{padding:4px 5px}.addButtonIcon-1NMJ8u{cursor:pointer;width:10px;height:10px}.overflowRolesPopout-140n9i{border-radius:3px;padding:8px;width:200px}.overflowRolesPopoutArrowWrapper-2Dx30g{margin-left:-8px;overflow:hidden;width:16px;height:12px}.overflowRolesPopoutArrow-2O66oH{width:8px;height:8px;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.popoutBottom-2BJWty .overflowRolesPopoutArrowWrapper-2Dx30g{position:absolute;bottom:100%;left:50%}.popoutBottom-2BJWty .overflowRolesPopoutArrow-2O66oH{position:absolute;bottom:-4px;left:4px}.popoutTop-1WcJ06 .overflowRolesPopoutArrowWrapper-2Dx30g{position:absolute;top:100%;left:50%}.popoutTop-1WcJ06 .overflowRolesPopoutArrow-2O66oH{position:absolute;top:-4px;left:4px}.overflowRolesPopoutHeader-ciqDLE{margin-bottom:8px}.popoutRoleDot-1XPcoA{width:12px;height:12px;border-radius:50%;margin-right:8px;-ms-flex-negative:0;flex-shrink:0;-webkit-box-sizing:border-box;box-sizing:border-box}.overflowRolesPopoutHeaderIcon-6PNEZA{margin-right:4px;width:12px;height:12px}.overflowRolesPopoutHeaderText-1SW-y3{font-size:12px;font-weight:700;color:#72767d;text-transform:uppercase}.theme-dark .actionButton-VzECiy{border-color:#4f545c;color:#b9bbbe;background:transparent}.theme-dark .overflowRolesPopout-140n9i{color:hsla(0,0%,100%,.8)}.theme-dark .overflowRolesPopout-140n9i,.theme-dark .overflowRolesPopoutArrow-2O66oH{background-color:#36393f;-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2),0 0 0 1px rgba(32,34,37,.6);box-shadow:0 2px 10px 0 rgba(0,0,0,.2),0 0 0 1px rgba(32,34,37,.6)}.theme-light .actionButton-VzECiy{border-color:#b9bbbe;color:#4f545c;background:transparent}.theme-light .overflowRolesPopout-140n9i{color:rgba(79,84,92,.8)}.theme-light .overflowRolesPopout-140n9i,.theme-light .overflowRolesPopoutArrow-2O66oH{background-color:#fff;-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.1),0 0 0 1px rgba(185,187,190,.3);box-shadow:0 2px 10px 0 rgba(0,0,0,.1),0 0 0 1px rgba(185,187,190,.3)}
-.textarea-2r0oV8{background-color:transparent;border:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--text-normal);font-size:12px;line-height:14px;max-height:88px;padding:4px;resize:none;width:100%}.textarea-2r0oV8::-webkit-input-placeholder{color:var(--header-secondary)}.textarea-2r0oV8::-moz-placeholder{color:var(--header-secondary)}.textarea-2r0oV8:-ms-input-placeholder{color:var(--header-secondary)}.textarea-2r0oV8::placeholder{color:var(--header-secondary)}.textarea-2r0oV8:focus{background-color:var(--background-tertiary)}
-.height12-2Ltw-k{line-height:12px}.height14-RAZbc0{line-height:14px}.height16-2Lv3qA{line-height:16px}.height20-mO2eIN{line-height:20px}.height24-3XzeJx{line-height:24px}.height28-3tox65{line-height:28px}.height30-yt7xZf{line-height:30px}.height36-36OHCc{line-height:36px}.height44-GQFvfT{line-height:44px}
-.text-AOoUen{font-weight:500;color:hsla(0,0%,100%,.8)}.textLeft-3EZXG6,.textRight-1XO5Ye{}.bar-3urHkF{background-color:rgba(79,84,92,.16);height:4px;margin-bottom:4px}.bar-3urHkF,.barInner-3NDaY_{border-radius:2px}.barInner-3NDaY_{background-color:#fff;height:100%;min-width:4px}.themed-2aMyTM .textLeft-3EZXG6,.themed-2aMyTM .textRight-1XO5Ye{color:var(--text-normal)}.themed-2aMyTM .barInner-3NDaY_{background-color:var(--text-normal)}.theme-light .newPopoutActivityStyles .barInner-3NDaY_,.theme-light .newProfileActivityStyles .barInner-3NDaY_{background-color:var(--header-primary)}.theme-light .newPopoutActivityStyles .text-AOoUen,.theme-light .newProfileActivityStyles .text-AOoUen{color:var(--header-primary)}
-.ellipsis-1XUmPN{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.headerText-1HLrL7{font-weight:700;text-transform:uppercase}.headerTextNormal-2mGWX3{}.headerTextEmptyBody-1kb9TT{}.body-ZAhrcj{}.bodyAlignCenter-1KzvJk,.bodyNormal-2D39hT{}.assets-VMAukC{position:relative;-ms-flex-item-align:start;align-self:flex-start}.xboxAssets-aGhVw8{-webkit-box-flex:1;-ms-flex:1;flex:1}.assetsLargeMaskStreamPreview-2V7xlA,.assetsLargeMaskUserPopout-12EBBc,.assetsLargeMaskVoiceChannel-2k1oGM{-webkit-mask:url(/assets/3a10988d0f55c63294100b270818207a.svg);mask:url(/assets/3a10988d0f55c63294100b270818207a.svg)}.assetsLargeMaskActivityFeed-3eznI9,.assetsLargeMaskProfile-1Qkfen{-webkit-mask:url(/assets/725244a8d98fc7f9f2c4a3b3257176e6.svg);mask:url(/assets/725244a8d98fc7f9f2c4a3b3257176e6.svg)}.assetsProfile-1qp_pu{max-height:144px}.assetsLargeImage-eYwpTX{border-radius:8px;display:block;-o-object-fit:cover;object-fit:cover}.assetsLargeImageStreamPreview-1A9lfF,.assetsLargeImageUserPopout-3Pp8BK,.assetsLargeImageUserPopoutXbox-2hgKt0{width:60px;height:60px}.assetsLargeImageActivityFeed-25vA7H,.assetsLargeImageActivityFeedXbox-3Tr-tf,.assetsLargeImageProfile-3YXDex{width:90px;height:90px}.assetsLargeImageVoiceChannel-dGmxCi{width:64px;height:64px}.assetsLargeImageActivityFeedTwitch-35IZuj{width:100%;height:260px;-webkit-mask:-webkit-gradient(linear,left bottom,left top,color-stop(10%,transparent),color-stop(80%,#000));-webkit-mask:linear-gradient(0deg,transparent 10%,#000 80%);mask:-webkit-gradient(linear,left bottom,left top,color-stop(10%,transparent),color-stop(80%,#000));mask:linear-gradient(0deg,transparent 10%,#000 80%);border-radius:8px}.assetsLargeImageProfileXbox-1t6G2m{width:60px;height:60px}.assetsLargeImageProfileTwitch-298r77{width:162px;height:90px}.assetsSmallImage-3_3Bzj{border-radius:50%;position:absolute;bottom:-4px;right:-4px}.assetsSmallImageStreamPreview-1Sdyfc,.assetsSmallImageUserPopout-2yc71g,.assetsSmallImageVoiceChannel-19SIVn{width:20px;height:20px}.assetsSmallImageActivityFeed-2LNxrO,.assetsSmallImageProfile-3JcsV1{width:30px;height:30px}.gameIcon-_0rmMm{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.screenshareIcon-Bnlgnp{width:40px;height:40px;background-image:url(/assets/e3846167b8bd847f74dfc567d2c3bb10.svg)}.content-3JfFJh{overflow:hidden}.contentImagesStreamPreview-19sAie,.contentImagesUserPopout-1vLdRA,.contentImagesVoiceChannel-1LLEDQ{margin-left:10px}.contentImagesActivityFeed-2f9veg,.contentImagesProfile-1Mz07W{margin-left:20px}.contentNoImagesProfile-371_Rv,.contentNoImagesStreamPreview-3JDPTV,.contentNoImagesUserPopout-PCCPyZ,.contentNoImagesVoiceChannel-2C-iFg{}.contentNoImagesActivityFeed-FEn3nf,.contentNoImagesProfile-371_Rv{margin-bottom:-4px}.contentGameImageStreamPreview-3FGJd1,.contentGameImageUserPopout-2KWIsz,.contentGameImageVoiceChannel-3-m1X_{margin-bottom:-1px;margin-left:10px}.contentGameImageProfile-WTVbI0{margin-bottom:-2px;margin-left:10px}.textRow-19NEd_{display:block;font-size:14px;line-height:18px}.details-38sfDr,.nameNormal-2lqVQK,.playTime-2uWd1Z,.state-Tt0LO3,.timestamp-VjAZmo{}.detailsWrap-22pigg,.nameWrap-3Z4G_9{}.activityActivityFeed-3xysim .name-29ETJS{display:none}.activityActivityFeed-3xysim .details-38sfDr{font-weight:600}.timeBarUserPopout-AWPFf2{margin-top:12px}.timeBarActivityFeed-24_oBt,.timeBarProfile-10b-fm{margin-top:10px}.timeBarVoiceChannel-1toAIF{margin-top:4px}.activityName-1IaRLn,.nameNormal-2lqVQK,.nameWrap-3Z4G_9{color:#fff}.bodyLink-3A8Buv{}.bodyLink-3A8Buv:hover{text-decoration:underline}.twitchImageContainer-hVw_dv{background:#18191c;position:relative;border-radius:8px}.twitchImageOverlay-CXCd19{position:absolute;left:0;right:0;bottom:0;padding:16px}.twitchBackgroundImage-3iXCea{min-height:260px;display:inline-block}.streamUsername-eO7oss{font-weight:600;font-size:16px;line-height:1.25;color:#dcddde}.streamName-1q4JEo{margin-top:8px;color:#b9bbbe;font-weight:500;font-size:14px}.streamGame-2odMhn{text-transform:uppercase;color:#72767d;font-size:12px;font-weight:600;margin-top:8px}.activityVoiceChannel-OPU-Fm .headerText-1HLrL7{color:var(--interactive-normal)}.activityVoiceChannel-OPU-Fm .activityName-1IaRLn,.activityVoiceChannel-OPU-Fm .name-29ETJS,.activityVoiceChannel-OPU-Fm .nameNormal-2lqVQK,.activityVoiceChannel-OPU-Fm .nameWrap-3Z4G_9{color:var(--header-primary)}.activityVoiceChannel-OPU-Fm .content-3JfFJh,.activityVoiceChannel-OPU-Fm .details-38sfDr,.activityVoiceChannel-OPU-Fm .playTime-2uWd1Z,.activityVoiceChannel-OPU-Fm .state-Tt0LO3,.activityVoiceChannel-OPU-Fm .timestamp-VjAZmo{color:var(--header-secondary)}.spotifyIcon-2J9kSv{display:none}.theme-light .activityActivityFeed-3xysim .content-3JfFJh,.theme-light .activityActivityFeed-3xysim .details-38sfDr{color:#4f545c}.theme-light .activityStreamPreview-3r3GiX .activityName-1IaRLn,.theme-light .activityStreamPreview-3r3GiX .content-3JfFJh,.theme-light .activityStreamPreview-3r3GiX .details-38sfDr,.theme-light .activityStreamPreview-3r3GiX .name-29ETJS,.theme-light .activityStreamPreview-3r3GiX .nameNormal-2lqVQK{color:#23262a}.theme-dark .activityActivityFeed-3xysim .content-3JfFJh,.theme-dark .activityActivityFeed-3xysim .details-38sfDr{color:#dcddde}.theme-dark .activityStreamPreview-3r3GiX .activityName-1IaRLn,.theme-dark .activityStreamPreview-3r3GiX .content-3JfFJh,.theme-dark .activityStreamPreview-3r3GiX .details-38sfDr,.theme-dark .activityStreamPreview-3r3GiX .name-29ETJS,.theme-dark .activityStreamPreview-3r3GiX .nameNormal-2lqVQK{color:#f6f6f7}.theme-dark .activityProfile-2bJRaP .content-3JfFJh,.theme-dark .activityProfile-2bJRaP .details-38sfDr,.theme-dark .activityProfile-2bJRaP .headerText-1HLrL7,.theme-dark .activityProfile-2bJRaP .name-29ETJS,.theme-dark .activityUserPopout-2yItg2 .content-3JfFJh,.theme-dark .activityUserPopout-2yItg2 .details-38sfDr,.theme-dark .activityUserPopout-2yItg2 .headerText-1HLrL7,.theme-dark .activityUserPopout-2yItg2 .name-29ETJS,.theme-light .activityProfile-2bJRaP .content-3JfFJh,.theme-light .activityProfile-2bJRaP .details-38sfDr,.theme-light .activityProfile-2bJRaP .headerText-1HLrL7,.theme-light .activityProfile-2bJRaP .name-29ETJS,.theme-light .activityUserPopout-2yItg2 .content-3JfFJh,.theme-light .activityUserPopout-2yItg2 .details-38sfDr,.theme-light .activityUserPopout-2yItg2 .headerText-1HLrL7,.theme-light .activityUserPopout-2yItg2 .name-29ETJS{color:#fff}.theme-dark .newPopoutActivityStyles .activityName-1IaRLn,.theme-dark .newPopoutActivityStyles .content-3JfFJh,.theme-dark .newPopoutActivityStyles .details-38sfDr,.theme-dark .newPopoutActivityStyles .name-29ETJS,.theme-dark .newPopoutActivityStyles .nameNormal-2lqVQK,.theme-dark .newPopoutActivityStyles .nameWrap-3Z4G_9,.theme-dark .newProfileActivityStyles .activityName-1IaRLn,.theme-dark .newProfileActivityStyles .content-3JfFJh,.theme-dark .newProfileActivityStyles .details-38sfDr,.theme-dark .newProfileActivityStyles .name-29ETJS,.theme-dark .newProfileActivityStyles .nameNormal-2lqVQK,.theme-dark .newProfileActivityStyles .nameWrap-3Z4G_9,.theme-light .newPopoutActivityStyles .activityName-1IaRLn,.theme-light .newPopoutActivityStyles .content-3JfFJh,.theme-light .newPopoutActivityStyles .details-38sfDr,.theme-light .newPopoutActivityStyles .name-29ETJS,.theme-light .newPopoutActivityStyles .nameNormal-2lqVQK,.theme-light .newPopoutActivityStyles .nameWrap-3Z4G_9,.theme-light .newProfileActivityStyles .activityName-1IaRLn,.theme-light .newProfileActivityStyles .content-3JfFJh,.theme-light .newProfileActivityStyles .details-38sfDr,.theme-light .newProfileActivityStyles .name-29ETJS,.theme-light .newProfileActivityStyles .nameNormal-2lqVQK,.theme-light .newProfileActivityStyles .nameWrap-3Z4G_9{color:var(--text-normal)}.theme-dark .newPopoutActivityStyles .headerText-1HLrL7,.theme-dark .newProfileActivityStyles .headerText-1HLrL7,.theme-light .newPopoutActivityStyles .headerText-1HLrL7,.theme-light .newProfileActivityStyles .headerText-1HLrL7{color:var(--header-secondary)}.theme-dark .newPopoutActivityStyles button,.theme-dark .newProfileActivityStyles button,.theme-light .newPopoutActivityStyles button,.theme-light .newProfileActivityStyles button{color:var(--header-primary);border-color:var(--header-primary)}.theme-dark .newPopoutActivityStyles .spotifyIcon-2J9kSv,.theme-light .newPopoutActivityStyles .spotifyIcon-2J9kSv{display:block;position:absolute;top:0;right:0}.theme-dark .newProfileActivityStyles .spotifyIcon-2J9kSv,.theme-light .newProfileActivityStyles .spotifyIcon-2J9kSv{display:block;position:absolute;top:16px;right:16px}
-.button-2IFFQ4{font-size:14px}.buttonSize-AQY2mE{height:32px;min-height:32px}
-.button-2Yen-x{-webkit-box-flex:0;-ms-flex:0;flex:0}.popout-3h7_tF{margin-top:8px}
-.spotifyButtonLogo-3uT57D{width:16px;height:16px;margin-right:8px}.listenAlongIcon-2TkOLH{width:24px;height:24px}.iconButton-3ucJ7a{padding:0}.iconButtonSize-8raSoG{min-width:32px;max-width:32px}
-.streamIcon-2zxjAa{width:16px;height:16px;vertical-align:bottom;margin-right:5px}.iconButton-2sWFo9{padding:0;line-height:0;margin-left:8px}.iconButtonSize-1gzEUL{min-width:32px;max-width:32px}.iconSize-2WDpUJ{width:24px;height:24px}
-.xboxButtonLogo-1udUda{width:16px;height:16px;min-width:16px;margin-right:8px}
-.buttonsWrapper-2spIeK{margin-top:12px;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.buttonsWrapper-2spIeK:empty{margin:0}.horizontal-3fI3M->:not(:first-child){margin-left:8px}.vertical-3w1v88>:not(:first-child){margin-top:8px}
-.actionsStreamPreview-2lARcx{margin-top:10px}.actionsProfile-jEtjVX{margin-left:20px;margin-top:0;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.actionsActivityFeed-1S7uWl{}.errorImage-149OVL{height:135px}.cannotLaunchImage-2h36Tb{}
-.bodyInnerWrapper-26fQXj{background-color:var(--background-floating);color:var(--interactive-active)}.activity-2INFPu{position:relative;padding-bottom:16px}.rolesList-1geHY1{margin-bottom:16px}.rolesList-1geHY1:empty{margin-bottom:8px;margin-top:0}.bodyTitle-1ySSKn{margin-bottom:8px;font-weight:700}.note-1oo11U{margin-left:-4px;margin-right:-4px}
-.contentWarningPopout-n5JsIs{width:440px;min-height:198px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border-radius:5px}.header-2NYWtG{text-transform:uppercase;font-weight:700;letter-spacing:.6px;margin-bottom:4px}.body-3PNusm{min-height:128px;padding:20px;display:-webkit-box;display:-ms-flexbox;display:flex}.body-3PNusm strong{font-weight:600}.animation-1Bst4H{width:210px}.buttonWrapper-wJ7IoA{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex}.buttonContainer-3Jazu9:last-child{margin-left:8px}.button-2RbP7U{max-width:120px}.buttonHint-OwCvKC{margin-top:4px}.buttonHint-OwCvKC strong{text-transform:uppercase}.content-dmqHNi{margin-left:20px;font-size:14px;line-height:20px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.content-dmqHNi,.footer-3N9rgh{display:-webkit-box;display:-ms-flexbox;display:flex}.footer-3N9rgh{font-size:12px;padding:8px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:14px}.footer-3N9rgh strong{font-weight:700}.icon-2RSfUw{margin-right:4px}.theme-dark .contentWarningPopout-n5JsIs{background-color:#36393f;-webkit-box-shadow:0 2px 10px 0 rgba(28,36,43,.6);box-shadow:0 2px 10px 0 rgba(28,36,43,.6)}.theme-dark .header-2NYWtG{color:#fff}.theme-dark .body-3PNusm{color:#b9bbbe}.theme-dark .buttonHint-OwCvKC{color:#72767d}.theme-dark .buttonHint-OwCvKC strong{color:#b9bbbe}.theme-dark .footer-3N9rgh{background-color:rgba(32,34,37,.4);color:#72767d}.theme-dark .footer-3N9rgh strong{color:#b9bbbe}.theme-light .contentWarningPopout-n5JsIs{background-color:#fff;-webkit-box-shadow:0 2px 10px 0 rgba(28,36,43,.6);box-shadow:0 2px 10px 0 rgba(28,36,43,.6)}.theme-light .header-2NYWtG{color:#4f545c}.theme-light .body-3PNusm,.theme-light .buttonHint-OwCvKC,.theme-light .buttonHint-OwCvKC strong{color:#72767d}.theme-light .footer-3N9rgh{background-color:#f6f6f7;border-radius:0 0 5px 5px;color:#72767d}.theme-light .footer-3N9rgh strong{color:#72767d}
-.input-2_SIlA{font-size:14px;background-color:var(--background-secondary-alt)}
-.footer-3UKYOU{padding:0 16px 16px;position:relative;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;background-color:var(--background-floating);color:var(--interactive-active);margin-top:-2px}.wumpusWrapper-2H_Ezt{overflow:hidden;pointer-events:none;position:absolute;bottom:100%}.wumpus-2_mWxc{margin-left:8px;-webkit-transform:translate3d(0,18px,0);transform:translate3d(0,18px,0);-webkit-transition:-webkit-transform .15s cubic-bezier(0,0,.5,2.2) .15s;transition:-webkit-transform .15s cubic-bezier(0,0,.5,2.2) .15s;transition:transform .15s cubic-bezier(0,0,.5,2.2) .15s;transition:transform .15s cubic-bezier(0,0,.5,2.2) .15s,-webkit-transform .15s cubic-bezier(0,0,.5,2.2) .15s;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wumpusShown-1_Tw0E{-webkit-transform:translate3d(0,2px,0);transform:translate3d(0,2px,0)}.wumpusShown-1_Tw0E .wumpusTooltip-3V90tI{opacity:1}.wumpusImage-aCUd8O{display:block;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.wumpusTooltip-3V90tI{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;display:inline-block;position:relative;left:2px;padding:1px 6px;font-size:12px;font-weight:500;border-radius:3px;margin-top:-8px;margin-right:8px;opacity:0;-webkit-transition:opacity .11s linear .17s;transition:opacity .11s linear .17s}.wumpusTooltip-3V90tI:after{content:"";position:absolute;top:50%;left:-6px;margin-top:-3px;border-right-width:3px;border-style:solid;height:0;width:0}.theme-dark .wumpusTooltip-3V90tI{background:#fff;color:#4f545c}.theme-dark .wumpusTooltip-3V90tI:after{border-color:transparent #fff transparent transparent}.theme-light .wumpusTooltip-3V90tI{background:rgba(220,221,222,.6);color:#4f545c}.theme-light .wumpusTooltip-3V90tI:after{border-color:transparent rgba(220,221,222,.6) transparent transparent}
-.nameTag-m8r81H{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;line-height:1.1}.username-2b1r56{-ms-flex:0 1 auto;flex:0 1 auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.bot-2Fta1w,.username-2b1r56{-webkit-box-flex:0;display:block}.bot-2Fta1w{-ms-flex:0 0 auto;flex:0 0 auto;margin-left:1ch}
-.emoji-kdONqz{-ms-flex-negative:0;flex-shrink:0}
-.clamped-IwJfxR{display:-webkit-box;-webkit-line-clamp:6;overflow:hidden;-webkit-box-orient:vertical}
-.container-q03LZO{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-2px;margin-bottom:-2px}.container-q03LZO>*{margin:0 2px 2px 0}.clickable-17BDii{cursor:pointer}.profileBadge-2niAfJ{display:block;background-repeat:no-repeat;background-size:contain;background-position:50%;overflow:hidden;pointer-events:none;-o-object-fit:cover;object-fit:cover}.profileBadge-2niAfJ:active{opacity:.8}.profileBadge-2niAfJ:before{content:"";display:block;width:100%;height:100%;background-color:var(--background-modifier-accent);border-radius:50%}.profileBadge24-179Xm3{width:24px;height:24px}.profileBadge22-LJmn9o{width:22px;height:22px}.profileBadge18-NVHzY4{width:18px;height:18px}
-.nickname-3M3Jfa{word-break:break-word}.headerTag-3GFl76{font-size:14px;font-weight:500;display:block;font-family:var(--font-display)}.headerTagWithNickname-3l_x6x{font-family:var(--font-primary);line-height:18px}.headerTagNoNickname-3qrd77{font-size:20px;line-height:24px;word-break:break-word;white-space:normal;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.headerTagUsernameBase-1NqrY5{overflow:auto;word-break:break-all;text-overflow:unset;white-space:normal;color:var(--header-secondary);vertical-align:top;display:inline}.headerTagUsernameNoNickname-2-Y5Ct{color:var(--interactive-active);font-weight:600}.discrimBase-24vY8o{color:var(--header-secondary);vertical-align:top}.headerTagDiscriminatorNoNickname-D-AYUN{font-weight:600}.headerBotTag-qNEsTk{vertical-align:top;margin-top:5px!important}.headerBotTag-qNEsTk,.headerBotTagWithNickname-3pd2GF{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;line-height:15px}.headerBotTagWithNickname-3pd2GF{margin-bottom:2px!important}.customStatus-oN4ZZY{margin-bottom:10px;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;overflow-wrap:break-word;font-size:14px;line-height:18px;color:var(--text-normal)}.customStatus-oN4ZZY .customStatusEmoji-3a2-Zo{display:block;margin:-1px 4px -1px 0;float:left;width:20px;height:20px}.customStatus-oN4ZZY .customStatusEmoji-3a2-Zo.customStatusSoloEmoji-1tDhmL{float:none;width:48px;height:48px;margin:0}.customStatusText-1vtUsN{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.aboutMeSection-1Fw5Ia{margin-bottom:16px}.aboutMeSection-1Fw5Ia .aboutMeBody-3GuvKk{font-size:14px;line-height:18px}.aboutMeTitle-1IYtPE{display:-webkit-box;display:-ms-flexbox;display:flex;font-weight:700;margin-bottom:8px}.betaBadge-1Xznh1{margin-left:8px}.headerTop-3vNv-a{display:block;-ms-flex-negative:0;flex-shrink:0;padding:64px 16px 16px;overflow:hidden;position:relative}.headerTopWithCustomStatus-1DHAjX{padding-bottom:12px}.profileBadges-ohc0Vu{position:absolute;top:16px;right:16px;max-width:180px;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.headerText-1vVs-U{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.avatarHint-2A3RNb{position:absolute;top:6px;left:6px;opacity:0;-webkit-transition:opacity .1s ease;transition:opacity .1s ease;pointer-events:none}.avatarHintInner-1TvA8u{-webkit-box-sizing:border-box;box-sizing:border-box;font-size:10px;line-height:12px;font-weight:700;width:100%;padding-top:4px;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-transform:uppercase;-webkit-box-shadow:inset 0 0 120px rgba(0,0,0,.75);box-shadow:inset 0 0 120px rgba(0,0,0,.75);color:#fff}.avatar-37jOim{border:6px solid var(--background-floating);background-color:var(--background-floating)}.avatarWrapper-3r9PdD{border-radius:50%;position:absolute;z-index:1;top:80px;left:16px}.avatarWrapperNormal-26WQIb{}.avatarWrapperNormal-26WQIb:hover .avatarHint-2A3RNb{opacity:1}.clickable-1rcWFe{cursor:pointer}.avatarWrapperNonUserBot-3fzpUZ{cursor:default}.avatarPositionNormal-aZjAsn{top:16px}.avatarPositionPremium-3We5Ho{top:76px}.divider-ewBQKj{height:1px;background-color:var(--background-modifier-accent);margin-bottom:12px}
-.userPopout-xaxa6l{-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high);background-color:var(--background-floating);border-radius:8px;overflow:hidden;max-height:calc(100vh - 20px);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.headerNormal-3KXFBt{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.body-3HBlXn{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;min-height:0;padding:0 16px 14px}.body-3HBlXn::-webkit-scrollbar-track{margin-bottom:4px}.divider-3NUv48{width:270px;margin-left:16px;height:1px;background-color:var(--background-modifier-accent);position:-webkit-sticky;position:sticky;top:0}.baseAvatar-3Nvk7n{display:inline-block;vertical-align:top}.largeAvatar-zB5Yn-{line-height:24px;margin-right:8px}.miniAvatar-2CIVlE{line-height:18px;margin-right:4px;margin-top:1px}.setIdentityLink-1t8Ahd{margin-top:8px}.setIdentityLink-1t8Ahd:hover{text-decoration:underline}.scrollerSeparator-3K3Qdv{-webkit-box-shadow:0 -1px 0 var(--background-modifier-accent);box-shadow:0 -1px 0 var(--background-modifier-accent)}
-.spacing-2jY1b4{}
-.spacing-2IUlSR{}
-.mask-2xtthE{display:block}.icon-3Rn_DX{width:32px;height:32px}
-.icon-2VCx8O{color:var(--interactive-normal)}.wrapper-2siovq{border-radius:8px;-webkit-transition:background-color .1s ease-in-out;transition:background-color .1s ease-in-out}.wrapper-2siovq:hover{background-color:var(--background-modifier-hover)}.wrapper-2siovq:hover .icon-2VCx8O{color:var(--interactive-hover)}.selected-3xBBKs,.selected-3xBBKs:hover{background-color:var(--background-primary)}.selected-3xBBKs .icon-2VCx8O,.selected-3xBBKs:hover .icon-2VCx8O{color:var(--interactive-active)}.theme-light .selected-3xBBKs .icon-2VCx8O,.theme-light .selected-3xBBKs:hover .icon-2VCx8O{color:#4f5660}
-.wrapper-3N9-Kx{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:8px 4px;height:16px;border-radius:2px;margin:2px 0}.loadingWrapper-3MIWTZ{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.disabled-2IGvcl{cursor:pointer;pointer-events:none;opacity:.5}.focused-oQNxjC{background-color:var(--brand-experiment-560)}.icon-1UBnv_{margin-right:4px}
-.list-23PQQ_{max-height:500px}
-.roleRow-1iQo_1{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.roleDot-2bTP_S{width:12px;height:12px;border-radius:50%;margin-right:8px;-ms-flex-negative:0;flex-shrink:0;-webkit-box-sizing:border-box;box-sizing:border-box}
-.sliderContainer-2Nrll8{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 8px;overflow:visible}.slider-2zxowp{position:relative;top:-14px}
-.container-2ax-kl{-webkit-box-sizing:border-box;box-sizing:border-box;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-transform:uppercase;font-size:12px;line-height:16px;letter-spacing:.25px;font-family:var(--font-display);font-weight:600;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;color:var(--channels-default)}
-.wrapper-2NZy0S{margin-top:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.icon-xnhh2x{display:block;margin-right:8px}.errorIcon-1gpCtD{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.tile-2OwFgW{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border-radius:5px;-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden;-webkit-transition:background-color .2s ease,-webkit-box-shadow .2s ease;transition:background-color .2s ease,-webkit-box-shadow .2s ease;transition:background-color .2s ease,box-shadow .2s ease;transition:background-color .2s ease,box-shadow .2s ease,-webkit-box-shadow .2s ease;min-height:370px}.tileHorizontal-3eee4N{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;min-height:0;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;width:660px}.title-1rUb9I{font-size:18px;font-weight:600;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;line-height:1.2}.tagline-2nvxi0{line-height:1.3;margin-top:8px;font-size:15px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.actions-3p06E9{margin-top:12px;justify-self:flex-end;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.media-gfq_4j{position:relative}.mediaHorizontal-2Poqtq{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:0;-ms-flex:0 0 305px;flex:0 0 305px}.description-1RsfgZ,.mediaHorizontal-2Poqtq{display:-webkit-box;display:-ms-flexbox;display:flex}.description-1RsfgZ{padding:12px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:relative}.theme-dark .description-1RsfgZ{color:#fff}.theme-dark .tagline-2nvxi0{color:#b9bbbe}.theme-dark .tile-2OwFgW{background-color:#202225;-webkit-box-shadow:0 0 0 rgba(32,34,37,.15);box-shadow:0 0 0 rgba(32,34,37,.15)}.theme-dark .tile-2OwFgW:hover{background-color:#18191c}.theme-light .description-1RsfgZ{color:#202225}.theme-light .tagline-2nvxi0{color:#36393f}.theme-light .tile-2OwFgW{background-color:#fff;-webkit-box-shadow:0 0 0 rgba(32,34,37,.15);box-shadow:0 0 0 rgba(32,34,37,.15)}
-.embedHorizontal-WknQ2-{height:173px}.embedVertical-W5-T0m{width:240px;height:300px}@-webkit-keyframes loading-3l7Cr9{0%{-webkit-transform:translate3d(-271px,0,0);transform:translate3d(-271px,0,0)}50%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(-271px,0,0);transform:translate3d(-271px,0,0)}}@keyframes loading-3l7Cr9{0%{-webkit-transform:translate3d(-271px,0,0);transform:translate3d(-271px,0,0)}50%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(-271px,0,0);transform:translate3d(-271px,0,0)}}.loadingDescription-2Me56S{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-ms-flex:1;flex:1}.loadingBackgroundWrapper-3FpTMQ{position:relative;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='271' height='165'><path fill='#000000' fill-rule='evenodd' d='M5 0h120c2.761424 0 5 2.23857625 5 5v10c0 2.7614237-2.238576 5-5 5H5c-2.76142375 0-5-2.2385763-5-5V5c0-2.76142375 2.23857625-5 5-5zm0 30h244c2.761424 0 5 2.2385763 5 5v10c0 2.7614237-2.238576 5-5 5H5c-2.76142375 0-5-2.2385763-5-5V35c0-2.7614237 2.23857625-5 5-5zm0 30h180c2.761424 0 5 2.2385763 5 5v10c0 2.7614237-2.238576 5-5 5H5c-2.76142375 0-5-2.2385763-5-5V65c0-2.7614237 2.23857625-5 5-5zm-2 60h60c1.6568542 0 3 1.343146 3 3v26c0 1.656854-1.3431458 3-3 3H3c-1.65685425 0-3-1.343146-3-3v-26c0-1.656854 1.34314575-3 3-3z'/></svg>");mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='271' height='165'><path fill='#000000' fill-rule='evenodd' d='M5 0h120c2.761424 0 5 2.23857625 5 5v10c0 2.7614237-2.238576 5-5 5H5c-2.76142375 0-5-2.2385763-5-5V5c0-2.76142375 2.23857625-5 5-5zm0 30h244c2.761424 0 5 2.2385763 5 5v10c0 2.7614237-2.238576 5-5 5H5c-2.76142375 0-5-2.2385763-5-5V35c0-2.7614237 2.23857625-5 5-5zm0 30h180c2.761424 0 5 2.2385763 5 5v10c0 2.7614237-2.238576 5-5 5H5c-2.76142375 0-5-2.2385763-5-5V65c0-2.7614237 2.23857625-5 5-5zm-2 60h60c1.6568542 0 3 1.343146 3 3v26c0 1.656854-1.3431458 3-3 3H3c-1.65685425 0-3-1.343146-3-3v-26c0-1.656854 1.34314575-3 3-3z'/></svg>");-webkit-mask-size:100%;mask-size:100%;width:271px;height:165px;margin-top:16px}.loadingBackgroundWrapperHorizontal-1ajnAO{-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='271' height='141'><g fill='#000000' fill-rule='evenodd'><rect width='130' height='20' rx='5'/><rect width='254' height='20' y='30' rx='5'/><rect width='190' height='20' y='60' rx='5'/><rect width='66' height='32' y='102' rx='3'/></g></svg>");mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='271' height='141'><g fill='#000000' fill-rule='evenodd'><rect width='130' height='20' rx='5'/><rect width='254' height='20' y='30' rx='5'/><rect width='190' height='20' y='60' rx='5'/><rect width='66' height='32' y='102' rx='3'/></g></svg>");width:271px;height:141px;margin-top:8px}.loadingImage-2ouGtu{width:100%;padding-top:56%}.loadingImageHorizontal-QAjd6U{height:100%;padding:0}.loadingBackground-3sVOML{position:absolute;top:0;bottom:0;left:0;width:542px;-webkit-animation:loading-3l7Cr9 4s ease-in-out infinite;animation:loading-3l7Cr9 4s ease-in-out infinite}.theme-dark .loadingBackground-3sVOML{background-image:-webkit-gradient(linear,left top,right top,from(#36393f),color-stop(#4f545c),to(#36393f));background-image:linear-gradient(90deg,#36393f,#4f545c,#36393f)}.theme-dark .loadingImage-2ouGtu{background-color:#2f3136}.theme-light .embedHorizontal-WknQ2-,.theme-light .embedVertical-W5-T0m{background-color:#f6f6f7}.theme-light .loadingBackground-3sVOML{background-image:-webkit-gradient(linear,left top,right top,from(#f6f6f7),color-stop(#dcddde),to(#f6f6f7));background-image:linear-gradient(90deg,#f6f6f7,#dcddde,#f6f6f7)}.theme-light .loadingImage-2ouGtu{background-color:#dcddde}
-.header-1Kydsy{font-size:20px;margin-top:20px}.backSplash-13_XJL{position:absolute;top:0;left:0;bottom:0;right:0;opacity:.15;background-size:cover;background-position:bottom;-webkit-filter:grayscale(100%);filter:grayscale(100%);-webkit-mask:radial-gradient(circle at 50% 0,#000,transparent);mask:radial-gradient(circle at 50% 0,#000,transparent);background-image:url(/assets/ce828de1535235f9a651b1136121d623.png)}.content-1tt1e0{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:60px 20px}.body-32BEO-{margin-top:8px;margin-bottom:20px;text-align:center}.closeButton-2b6skY{position:absolute;top:20px;right:20px}.theme-dark .header-1Kydsy{color:#fff}.theme-dark .body-32BEO-{color:#b9bbbe}.theme-light .header-1Kydsy{color:#202225}.theme-light .body-32BEO-{color:#36393f}
-
-.wrapper-1-Fsb8{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-secondary);-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;height:32px;padding:0 4px;z-index:1}.wrapper-1-Fsb8:after{content:"";background-color:inherit;width:100%;height:3px;position:absolute;left:0;top:-2px}.header-19cWci{color:var(--header-secondary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;font-size:12px;font-weight:600;-webkit-transition:color .125s;transition:color .125s}.interactive-BzuinF:hover{cursor:pointer}.interactive-BzuinF:hover:hover{color:var(--interactive-active)}.headerIcon-1qrXTN{display:contents;height:100%;margin-right:8px}.headerLabel-3dG4M-{overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;margin-right:8px}.headerIcon-1qrXTN+.headerLabel-3dG4M-{margin-left:8px}.headerCollapseIcon-ymwSPR{-webkit-transition:-webkit-transform .1s;transition:-webkit-transform .1s;transition:transform .1s;transition:transform .1s,-webkit-transform .1s}.headerCollapseIconCollapsed-3fap1D{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}
-.autocomplete-1vrmpx{border-radius:5px 5px 0 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;z-index:3}.autocompleteInner-zh20B_{padding-bottom:8px}.autocompleteRow-2OthDa{padding:0 8px;font-size:14px;line-height:16px;font-weight:500}.autocompleteRowVertical-q1K4ky{}.autocompleteRowHorizontal-32jwnH{padding:0}.autocompleteRowContent-1AMstF{-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--interactive-normal);display:-webkit-box;display:-ms-flexbox;display:flex;min-height:16px}.autocompleteRowContentPrimary-238PvP{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.autocompleteRowIcon-2VJmzt{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-right:8px}.autocompleteRowSubheading-WqMMIl{margin-top:2px}.autocompleteRowContentSecondary-1tgI-F{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.base-1pYU8j{border-radius:3px;padding:8px}.selectable-3dP3y-{cursor:pointer}.dividerContainer-3Gjj3b .base-1pYU8j{padding-bottom:0;padding-top:0}.divider-23swzi{padding:8px}.divider-23swzi:after{background-color:var(--background-modifier-accent);content:"";display:block;height:1px;width:100%}.contentTitle-2tG_sM{color:var(--interactive-normal);text-transform:uppercase;padding:4px 0}.contentTitle-2tG_sM strong{text-transform:none}.icon-3ZzoN7{color:var(--interactive-normal);width:16px;height:16px;-o-object-fit:contain;object-fit:contain}.iconForeground-1w5n7R{fill:var(--interactive-normal)}.emojiImage-1_XFkC{-o-object-fit:contain;object-fit:contain;width:20px;height:20px}.emojiRaw-3DHlrS{display:block;font-size:20px}.descriptionDiscriminator-3vUOCc{opacity:.6}.autocompleteRowVerticalSmall-1bvn6e .base-1pYU8j{padding:4px 8px}.theme-light .autocomplete-1vrmpx{background-color:#f8f9f9}.theme-light .selected-1Tbx07{background-color:#dcddde}.theme-light .contentTitle-2tG_sM strong{color:#4f545c}.theme-dark .autocomplete-1vrmpx{background-color:#2f3136}.theme-dark .selected-1Tbx07{background-color:#36393f}.theme-dark .contentTitle-2tG_sM strong{color:#fff}
-.option-1B5ZV8{display:inline-block;border-radius:4px;padding:0 4px;font-weight:400}.theme-light .option-1B5ZV8{background-color:#c7ccd1}.theme-dark .option-1B5ZV8{background-color:#18191c}.inline-3vqbcF{margin-right:4px;padding-bottom:1px}.set-2Zx-DA{opacity:.5}.error-1NcCbc{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.active-2awTSY{background-color:var(--brand-experiment)!important;color:#fff}.clickable-198KJD{cursor:pointer}
-.wrapper-2IKwZK{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:40px}.image-2oOaF4{-ms-flex-item-align:start;align-self:flex-start;justify-self:flex-start;margin-top:4px;margin-right:16px;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}.infoWrapper-3ekLP_{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.source-3DBj4z{margin-left:16px;overflow:hidden;text-overflow:ellipsis;max-width:33%;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0}.usageWrapper-UN_ki6{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.description-QP9Ktn{margin-top:4px;white-space:nowrap}.description-QP9Ktn,.title-38hYfV{overflow:hidden;text-overflow:ellipsis}.title-38hYfV{font-weight:500;-ms-flex-negative:0;flex-shrink:0}.option-2lkyZ_{margin-left:8px}.error-2_oAXi{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.optionalHeader-mLQoIx{text-transform:uppercase;margin-left:8px;border-left:1px solid var(--background-modifier-accent);padding-left:8px;color:var(--text-muted)}.disabled-2hyQpT{opacity:.3}
-.upsell-3e4pPH{margin-top:-4px;margin-bottom:-4px}.emojis-_Nl1cp{display:-webkit-box;display:-ms-flexbox;display:flex}.emojiMask-ezvvQD{left:4px;position:relative}.emojiBackground-2vOvXo{background-color:var(--background-tertiary);border-radius:50%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:24px;width:24px}.emoji-1KOonD{height:16px;width:16px}
-.wrapper-2Gsate{background-color:var(--background-tertiary);position:relative}.list-donH_Z{position:absolute;top:0;right:0;bottom:0;left:0}
-.wrapper-uf3cnO{background-color:var(--background-tertiary);width:56px;padding-bottom:8px;margin-bottom:-16px}.list-A0BHjR{height:100%}.section-Kprrfe{cursor:pointer;border-radius:4px;margin-bottom:8px}.section-Kprrfe:last-child{margin-bottom:0}.builtInSeparator-1ku6s5{margin:8px 0;border:none;border-bottom:1px solid var(--background-modifier-accent)}
-.wrapper-VQ4BER{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:40px;padding:8px}.infoWrapper-1Sn7AX{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.infoWrapper-1Sn7AX,.usageWrapper-3ZU-NG{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.usageWrapper-3ZU-NG{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:16px;border-radius:16px;background:var(--background-accent)}.image-7ErNqd{width:32px;height:32px;border-radius:50%;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-item-align:start;align-self:flex-start;justify-self:flex-start;margin-top:4px;margin-right:16px;background:var(--background-primary)}.description-1dU8lv{margin-top:8px}.description-1dU8lv,.source-10b1ZU{height:16px;border-radius:16px;background:var(--background-primary)}.source-10b1ZU{margin-left:16px;-ms-flex-negative:0;flex-shrink:0}
-.outerWrapper-3-llkA{border-radius:5px;-webkit-box-shadow:var(--elevation-stroke),var(--elevation-high);box-shadow:var(--elevation-stroke),var(--elevation-high);position:absolute;left:0;right:0;bottom:calc(100% + 8px);overflow:hidden}.wrapper-1CvDB0{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;height:420px;padding-bottom:0}.list-17lzo8{height:100%}.rail-2CbP6L{-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-item-align:stretch;align-self:stretch}.content-kh0LTw{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.categoryHeader-O1zU94{position:-webkit-sticky;position:sticky;top:0;padding:0 8px;background-color:#2f3136}.categorySection-231RiR{margin-bottom:16px}.categorySectionLast-2PPrHj{margin-bottom:0}.itemWrapper-14KrHY{padding:0}.theme-light .categoryHeader-O1zU94{background-color:#f8f9f9}
-.stickersHeaderWithEmojiResults-31W8SI{padding-top:0}.emojiStickersDivider-1274av{padding-bottom:0!important}
-.spinner-1n7zxB{padding-top:8px}
-.autocomplete-OOX59Q{border-radius:5px;-webkit-box-shadow:var(--elevation-stroke),var(--elevation-high);box-shadow:var(--elevation-stroke),var(--elevation-high);position:absolute;left:0;right:0;bottom:calc(100% + 8px);overflow:hidden}.autocompleteInner-2mQ2AK{padding-bottom:0}.scroller-lynW5A{padding-bottom:8px}.horizontalAutocompletes-2Au_7M{margin-bottom:-4px;padding:0 8px;scrollbar-width:thin;overflow-x:auto}.horizontalAutocomplete-2eOPOM{margin-bottom:4px}.stickerAutoComplete-8m0OB5{display:grid;grid-template-columns:repeat(auto-fill,116px);grid-template-rows:repeat(auto-fill,116px);grid-gap:8px;padding:8px 16px}.sticker-r2nFri{margin-top:2px;margin-left:2px}.autocompleteLayer-3dCCbQ{position:absolute;max-width:55ch;pointer-events:all}.autocompleteLayer-3dCCbQ .autocomplete-OOX59Q{position:static}
-.container-3Fb-hU{position:relative;height:100%;margin-right:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;overflow:hidden;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.column-33vdru{padding-top:12px;height:auto;-webkit-transform-origin:0 0;transform-origin:0 0;opacity:.1}.gif-J69mz8{background-color:var(--text-link)}.categoryLoader-1UbzZM,.gif-J69mz8{margin-left:12px;margin-bottom:12px;border-radius:5px}.categoryLoader-1UbzZM{height:110px;background-color:#000}
-.wrapper-1GJGVj{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center;height:100%;font-size:14px;font-weight:500}.sadImage-2ph8SI{width:90px;height:90px;background-size:90px;background-repeat:no-repeat;margin-bottom:20px}.theme-dark .wrapper-1GJGVj{color:#72767d}.theme-dark .sadImage-2ph8SI{background-image:url(/assets/e25713e4eba8c1e069ceac8f90262f62.svg)}.theme-dark .forceLightTheme-1nVhlT .wrapper-1GJGVj,.theme-light .wrapper-1GJGVj{color:#99aab5}.theme-dark .forceLightTheme-1nVhlT .sadImage-2ph8SI,.theme-light .sadImage-2ph8SI{background-image:url(/assets/8436f69c3df6453ce7c9c0deefeddfc1.svg)}
-@-webkit-keyframes ripple-N7-maz{0%{-webkit-transform:scale(.4);transform:scale(.4);opacity:1}90%{-webkit-transform:scale(1.4);transform:scale(1.4);opacity:0}to{-webkit-transform:scale(1.6);transform:scale(1.6);opacity:0}}@keyframes ripple-N7-maz{0%{-webkit-transform:scale(.4);transform:scale(.4);opacity:1}90%{-webkit-transform:scale(1.4);transform:scale(1.4);opacity:0}to{-webkit-transform:scale(1.6);transform:scale(1.6);opacity:0}}@-webkit-keyframes bounce-3G6o78{25%{-webkit-transform:scale(.6);transform:scale(.6)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes bounce-3G6o78{25%{-webkit-transform:scale(.6);transform:scale(.6)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}to{-webkit-transform:scale(1);transform:scale(1)}}.size-3rN-gI{width:29px;height:29px}.gifFavoriteButton-3Zycl7{color:#fff}.gifFavoriteButton-3Zycl7:after{-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;content:"";position:absolute;top:0;left:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transform-origin:center;transform-origin:center;opacity:0;z-index:5;width:100%;height:100%;border:2px solid hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%);border-radius:50%;pointer-events:none}.gifFavoriteButton-3Zycl7:hover{color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%);-webkit-transform:none;transform:none}.gifFavoriteButton-3Zycl7.selected-1mBDsA{color:var(--text-warning)}.gifFavoriteButton-3Zycl7.selected-1mBDsA.showPulse-1P_rPG:after{-webkit-animation:ripple-N7-maz .45s ease;animation:ripple-N7-maz .45s ease}.gifFavoriteButton-3Zycl7.selected-1mBDsA.showPulse-1P_rPG .icon-38TLpf{-webkit-animation:bounce-3G6o78 .4s linear;animation:bounce-3G6o78 .4s linear}.icon-38TLpf{display:block;width:100%;height:100%}
-.results-3i9FaE{height:100%}.result-3w1ZcL{position:relative;cursor:pointer;border-radius:5px}.result-3w1ZcL,.result-3w1ZcL:after{-webkit-transition:-webkit-box-shadow .15s ease-out;transition:-webkit-box-shadow .15s ease-out;transition:box-shadow .15s ease-out;transition:box-shadow .15s ease-out,-webkit-box-shadow .15s ease-out}.result-3w1ZcL:after{content:"";display:block;position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:7px;z-index:10;pointer-events:none}.result-3w1ZcL:hover{z-index:2}.result-3w1ZcL:hover .favButton-_fxLew{opacity:1;-webkit-transform:none;transform:none}.result-3w1ZcL.focused-1En8bG,.result-3w1ZcL.focused-1En8bG:after{-webkit-transition:none;transition:none}.gif-1TcNIB{position:relative;display:block;width:100%;-o-object-fit:cover;object-fit:cover;background-color:transparent;border-radius:5px}.endContainer-1ZDW8j{padding-top:32px;padding-bottom:32px;text-align:center}.endContainer-1ZDW8j:after{content:"";height:220px;width:100%;display:block;margin:0 auto;background-size:contain;background-position:bottom;background-repeat:no-repeat}.endText-3SrwuD{font-size:16px;font-weight:500;margin-bottom:8px}.searchSuggestions-1ztAmy{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-bottom:32px}.searchSuggestion-2K8OBX{border-radius:3px;margin-right:4px;margin-top:4px}.noResults-PCM0-U{height:100%}.spinnerContainer-1jOqer{display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.favButton-_fxLew{position:absolute;top:4px;right:4px;z-index:4;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transform:translateY(-10px);transform:translateY(-10px);-webkit-transition:opacity .1s ease,-webkit-transform .2s ease;transition:opacity .1s ease,-webkit-transform .2s ease;transition:transform .2s ease,opacity .1s ease;transition:transform .2s ease,opacity .1s ease,-webkit-transform .2s ease;width:26px;height:26px}.emptyHints-1EYR-5{display:-webkit-box;display:-ms-flexbox;display:flex;margin:6px 0 6px 6px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:distribute;justify-content:space-around}.emptyHint-2ZHXNQ{-webkit-box-flex:1;-ms-flex:1 1 33.33%;flex:1 1 33.33%}.emptyHintCard-2mUdMe{-webkit-box-sizing:border-box;box-sizing:border-box;padding:20px;position:relative;height:160px;border-radius:5px;margin:6px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.emptyHintSpacer-XKHTzr{height:160px}.emptyHintText-1QDF9N{font-size:15px;max-width:180px;line-height:1.6;text-align:center}.emptyHintFavorite-3Bf6b2{position:absolute;top:6px;right:6px;width:29px;height:29px}@-webkit-keyframes loadIN-3GZ05S{0%{-webkit-transform:translate3d(0,24px,0);transform:translate3d(0,24px,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes loadIN-3GZ05S{0%{-webkit-transform:translate3d(0,24px,0);transform:translate3d(0,24px,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.placeholder-1kJjXI{border-radius:5px;opacity:0;width:100%;height:100%;-webkit-animation:loadIN-3GZ05S .6s cubic-bezier(.17,.67,.16,.99);animation:loadIN-3GZ05S .6s cubic-bezier(.17,.67,.16,.99);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;will-change:transform3d,opacity;-webkit-transform:translate3d(0,48px,0);transform:translate3d(0,48px,0)}.theme-dark .focused-1En8bG,.theme-dark .result-3w1ZcL:hover{-webkit-box-shadow:0 11px 22px 1px rgba(4,4,5,.3);box-shadow:0 11px 22px 1px rgba(4,4,5,.3)}.theme-dark .focused-1En8bG:after,.theme-dark .result-3w1ZcL:hover:after{-webkit-box-shadow:inset 0 0 0 2px var(--brand-experiment),inset 0 0 0 3px #2f3136;box-shadow:inset 0 0 0 2px var(--brand-experiment),inset 0 0 0 3px #2f3136}.theme-dark .placeholder-1kJjXI{background:rgba(79,84,92,.6)}.theme-dark .endContainer-1ZDW8j:after{background-image:url(/assets/2052722a3703f91daba4979d8c2effb7.svg)}.theme-dark .endText-3SrwuD{color:#b9bbbe}.theme-dark .searchSuggestion-2K8OBX.searchSuggestion-2K8OBX:hover{color:#fff;background-color:var(--brand-experiment-500);border-color:var(--brand-experiment-500)}.theme-dark .emptyHintCard-2mUdMe{background-color:#36393f;color:#b9bbbe}.theme-dark .emptyHintFavorite-3Bf6b2{color:var(--text-warning)}.theme-light .focused-1En8bG,.theme-light .result-3w1ZcL:hover{-webkit-box-shadow:0 4px 12px 0 rgba(4,4,5,.2);box-shadow:0 4px 12px 0 rgba(4,4,5,.2)}.theme-light .focused-1En8bG:after,.theme-light .result-3w1ZcL:hover:after{-webkit-box-shadow:inset 0 0 0 2px var(--brand-experiment),inset 0 0 0 3px #dcddde;box-shadow:inset 0 0 0 2px var(--brand-experiment),inset 0 0 0 3px #dcddde}.theme-light .placeholder-1kJjXI{background:rgba(220,221,222,.6)}.theme-light .endText-3SrwuD{color:#72767d}.theme-light .endContainer-1ZDW8j:after{background-image:url(/assets/5eb8212fcc48412aed23ebd8850a81e0.svg)}.theme-light .searchSuggestion-2K8OBX.searchSuggestion-2K8OBX:hover{color:#fff;background-color:var(--brand-experiment-500);border-color:var(--brand-experiment-500)}.theme-light .emptyHintCard-2mUdMe{background-color:#dcddde;color:#4f545c}.theme-light .emptyHintFavorite-3Bf6b2{color:var(--text-warning)}
-.container-2jxBbw{height:100%}.categoryFade-2ybR1J,.categoryFadeBlurple-1j72_A{position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;border-radius:4px;-webkit-transition:background-color .15s ease-out;transition:background-color .15s ease-out}.categoryText-2-8pri{position:absolute;top:0;left:0;bottom:0;right:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;z-index:3;font-weight:600;pointer-events:none}.categoryIcon-21RREB{margin-right:4px;width:20px;height:20px}.categoryName-UvMsNp{font-size:16px;line-height:16px;font-weight:600}.spinnerContainer-2MJ3GP{height:100%}.formatSelectors-3aBz_F,.spinnerContainer-2MJ3GP{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.formatSelectors-3aBz_F{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.formatSelectors-3aBz_F select{display:block;margin:0 4px}.theme-dark .categoryFade-2ybR1J,.theme-light .categoryFade-2ybR1J{background-color:rgba(0,0,0,.4)}.theme-dark .categoryFade-2ybR1J:hover,.theme-light .categoryFade-2ybR1J:hover{background-color:rgba(0,0,0,.7)}.theme-dark .categoryFadeBlurple-1j72_A,.theme-light .categoryFadeBlurple-1j72_A{background-color:var(--brand-experiment-80a)}.theme-dark .categoryFadeBlurple-1j72_A:hover,.theme-light .categoryFadeBlurple-1j72_A:hover{background-color:var(--brand-experiment-95a)}.theme-dark .categoryText-2-8pri,.theme-light .categoryText-2-8pri{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.6)}
-.container-3ISnnM{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:relative;width:100%;overflow:hidden;white-space:normal}.container-3ISnnM:after{background-image:-webkit-gradient(linear,left top,left bottom,from(transparent),to(rgba(0,0,0,.1)));background-image:linear-gradient(180deg,transparent,rgba(0,0,0,.1));content:"";height:8px;position:absolute;bottom:0;left:0;right:0;pointer-events:none}.content-ySCtCx{position:relative;z-index:0}.searchBar--fTZYa{width:100%;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.header-1TOWci{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;position:relative;z-index:1;padding:0 16px 12px}.searchHeader-2r8VVk{margin-bottom:0;margin-left:8px}.backButton-JyKGC1{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:28px;cursor:pointer;margin-right:8px}.content-ySCtCx{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.theme-dark .header-1TOWci{-webkit-box-shadow:0 1px 0 0 rgba(24,25,28,.3),0 1px 2px 0 rgba(24,25,28,.3);box-shadow:0 1px 0 0 rgba(24,25,28,.3),0 1px 2px 0 rgba(24,25,28,.3)}.theme-dark .backButton-JyKGC1{color:#b9bbbe}.theme-dark .backButton-JyKGC1:hover{color:#dcddde}.theme-light .container-3ISnnM{background-color:#f6f6f7}.theme-light .header-1TOWci{-webkit-box-shadow:0 1px 0 0 rgba(185,187,190,.3);box-shadow:0 1px 0 0 rgba(185,187,190,.3)}.theme-light .backButton-JyKGC1{color:#72767d}.theme-light .backButton-JyKGC1:hover{color:#4f545c}.theme-light .content-ySCtCx:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:rgba(185,187,190,.3);z-index:100}
-.container-23E4rK{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.icon-1tDorc{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;color:var(--text-muted);width:20px;height:20px;margin-right:8px}.size24-1HlGux .avatarContainer-3CQrif{width:24px;height:24px}.size24-1HlGux .avatarContainerMasked-PIJ-3L{margin-right:-4px;width:24px;height:24px}.size24-1HlGux .clickableAvatar-1wQpeh,.size24-1HlGux .emptyUser-7txhlW{width:24px;height:24px}.size16-NOVQSt .avatarContainer-3CQrif{width:16px;height:16px}.size16-NOVQSt .avatarContainerMasked-PIJ-3L{margin-right:-3px;width:16px;height:16px}.size16-NOVQSt .clickableAvatar-1wQpeh,.size16-NOVQSt .emptyUser-7txhlW{width:16px;height:16px}.clickableAvatar-1wQpeh{border-radius:50%;cursor:pointer}.emptyUser-7txhlW{border-radius:50%;background:var(--background-accent)}.avatar-3bWpYy{width:100%;height:100%;border-radius:50%}.moreUsers-7v8yWY{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--background-tertiary);font-weight:500;color:var(--text-normal)}.size24-1HlGux .moreUsers-7v8yWY{font-size:12px;line-height:24px;text-align:center;height:24px;min-width:24px;border-radius:12px;padding:0 8px}.size16-NOVQSt .moreUsers-7v8yWY{font-size:10px;line-height:16px;text-align:center;height:16px;min-width:16px;border-radius:8px;padding:0 4px}
-.navigationIcon-2S1B5W{display:block;width:48px;height:48px}.badgeIcon-2joE5y{width:12px;height:12px}.guildSeparator-33mFX6{height:2px;width:32px;border-radius:1px;background-color:var(--background-modifier-accent)}.guildsError-g6NwOI{width:48px;height:48px;border-radius:50%;padding:0;font-size:20px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:var(--background-primary);color:var(--text-normal);border:2px solid hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);-webkit-transition:background-color .15s ease-out;transition:background-color .15s ease-out}.errorInner-25THi4{font-weight:700}.guildsError-g6NwOI:hover{text-decoration:none;color:#fff;border-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.circleButtonBase-2DCxIZ{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;width:48px;height:48px;-webkit-transition:color .15s ease-out,background-color .15s ease-out;transition:color .15s ease-out,background-color .15s ease-out}.circleIconButton-1QV--U{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);background-color:var(--background-primary)}.circleIconButton-1QV--U.selected-1JjBPm{color:#fff;background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.nitroUpsell-3LsJnJ{background:linear-gradient(135deg,hsl(270,calc(var(--saturation-factor, 1)*86.7%),70.6%),hsl(342,calc(var(--saturation-factor, 1)*58%),72.9%));color:#fff}.nitroUpsellIcon-2csSJA{stroke:#000 2px}.circleIcon-1-oi1i{width:24px;height:24px}.plus-3X_ngf{position:relative;top:-1px;font-size:40px;line-height:40px;font-weight:300}.createJoinContainer-z7osd4{position:relative;width:50px}.pill-1aYSec{position:absolute;left:0;top:0}.listItem-GuPuDH{position:relative;margin:0 0 8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:72px}.listItemWrapper-KhRmzM:active{-webkit-transform:translateY(1px) translateZ(0);transform:translateY(1px) translateZ(0)}.listItemTooltip-1JmWJ7{max-width:196px;font-size:16px;line-height:20px;font-weight:600;word-wrap:break-word}.placeholderMask-3v3K7P{display:block}.dragInner-Oq_toX{width:48px;height:48px}.iconBadge-3qSJIw{background-color:var(--background-accent)}.iconBadge-3qSJIw.participating-1NvRVd{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.unavailableBadge-20E5O2{background-color:#fff;color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)!important}.dragInner-Oq_toX{background-color:var(--background-primary)}.tutorialContainer-30WoTp{position:relative}.theme-dark .listItemTooltip-1JmWJ7,.theme-light .listItemTooltip-1JmWJ7{color:var(--text-normal)}.upsellTooltip-2A3BlB{display:-webkit-box;display:-ms-flexbox;display:flex}.upsellIcon-33qg4-{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-right:8px;margin-left:-6px}.upsellText-3Q7ST7{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;line-height:22px}
-.row-1c01mR{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.row-1c01mR+.row-1c01mR{margin-top:8px}.rowGuildName-2wU3B_{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.rowIcon-1VZqx4{-ms-flex-negative:0;flex-shrink:0;margin-right:8px}.activityIcon-E-aeJm{width:20px;height:20px}.stageListenerPill-1RXT2G{margin-left:8px;padding:0 8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-tertiary);border-radius:12px;height:24px}.stageListenerCount-2tWHfF{margin-left:4px;font-weight:500}.guildNameText-3Zwx4p{word-wrap:break-word;color:var(--text-normal);min-width:0}.viewAsRolesWarning-20LpeB{margin:8px 0 4px;font-weight:400}.guildNameTextLimitedSize-1C5cx8{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.theme-dark .activityIcon-E-aeJm,.theme-light .activityIcon-E-aeJm{color:#b9bbbe}.muteText-gutGxh{font-weight:500}.muteTextWithActivity-3B8C-B{margin-top:8px}
-.guildIcon-3h-1IH{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-primary);color:var(--text-normal);display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%}.mask-2hO5M8{display:block}.guildAcronym-3B7DuT{font-size:12px;overflow:hidden;text-overflow:ellipsis}.guildIconWithoutImage-2JZx6N{background-color:var(--background-primary)}
-
-.categoryItem-1D0nxC{cursor:pointer}.categoryItemGuildCategory-3MisqI{height:32px;margin-bottom:8px;width:32px}.categoryItemDefaultCategory-aBZ6nJ{border-radius:4px;height:24px;margin-bottom:2px;padding:4px;-webkit-transition:background-color .1s ease-in-out;transition:background-color .1s ease-in-out;width:24px}.categoryItemDefaultCategory-aBZ6nJ:last-child{margin-bottom:0}.categoryItemDefaultCategory-aBZ6nJ:hover{background-color:var(--background-modifier-hover)}.categoryItemDefaultCategory-aBZ6nJ:hover .categoryIcon-1SvUHG{color:var(--interactive-hover)}.categoryItemRecentEmoji-IRN6zY{margin-bottom:8px}.categoryItemDefaultCategorySelected-_HCKoz,.categoryItemDefaultCategorySelected-_HCKoz:hover{background-color:var(--background-primary)}.categoryItemDefaultCategorySelected-_HCKoz .categoryIcon-1SvUHG,.categoryItemDefaultCategorySelected-_HCKoz:hover .categoryIcon-1SvUHG{color:var(--interactive-active)}.categoryIcon-1SvUHG{color:var(--interactive-normal)}.guildCategorySeparator-_An-MP{margin:12px 0;border:none;border-bottom:1px solid var(--background-modifier-accent)}.theme-light .categoryItemDefaultCategorySelected-_HCKoz .categoryIcon-1SvUHG,.theme-light .categoryItemDefaultCategorySelected-_HCKoz:hover .categoryIcon-1SvUHG{color:#4f5660}.unicodeShortcut-15J8Ck{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:inherit;color:var(--interactive-normal);cursor:pointer;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;height:48px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;left:0;opacity:1;position:absolute;-webkit-transition:opacity .1s,-webkit-transform .1s;transition:opacity .1s,-webkit-transform .1s;transition:opacity .1s,transform .1s;transition:opacity .1s,transform .1s,-webkit-transform .1s;width:100%}.unicodeShortcut-15J8Ck:hover{color:var(--interactive-hover)}.unicodeShortcutInvisible-2TqXrS{opacity:0;-webkit-transform:translateY(48px);transform:translateY(48px)}.hideUnicodeShortcut-Sl4Qnw{display:none}
-.diversitySelectorButton-3IE08D{width:24px;height:24px;cursor:pointer}.diversitySelectorOptions-4YM-vX{background-color:var(--background-secondary-alt);position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border-radius:4px;border:1px solid var(--background-tertiary);top:12px;right:7px}.diversitySelectorOptionsInExpressionPicker-T8-itY{top:0;right:11px}.diversityEmojiItem-L6_IXw{width:24px;height:24px;background-position:50%;background-repeat:no-repeat;background-size:contain;padding:4px;cursor:pointer;-webkit-transition:background-color .1s ease-in-out;transition:background-color .1s ease-in-out}.diversityEmojiItem-L6_IXw:hover{background-color:var(--background-modifier-hover)}.diversityEmojiItemImage-2gPNoS{width:24px;height:24px}
-.inspector-S2gM3e{-webkit-box-sizing:border-box;box-sizing:border-box;height:48px;width:100%;padding:0 16px;background-color:var(--background-secondary-alt);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden}.graphicPrimary-1I8l6r{height:28px;width:28px}.graphicSecondary-1zo8ze{height:32px;margin-left:8px;width:32px}.textWrapper-2hGAqu{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:8px;overflow:hidden}.titlePrimary-1jHRGm{font-weight:600}.titlePrimary-1jHRGm,.titleSecondary-3Dh_RZ{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.titleSecondary-3Dh_RZ{color:var(--interactive-normal)}.favorite-2Om6aP{margin-right:3px;margin-bottom:-1px}
-.emoji-AAbs8r{height:100%;-o-object-fit:contain;object-fit:contain;width:100%}.glyphEmoji-2Nc7lq{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;white-space:nowrap}
-.upsell-xFI_Q0{display:-webkit-box;display:-ms-flexbox;display:flex;background-color:var(--background-tertiary);padding:8px;border-radius:4px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.premiumIcon-tkp5dR{margin-right:8px;height:24px;width:24px}.body-2__YKo{-webkit-box-flex:1;-ms-flex:1;flex:1}
-.image-1CmAz0,.imageLoading-bpSr0M{-o-object-fit:contain;object-fit:contain;pointer-events:none;color:transparent}.imageLoading-bpSr0M{background-repeat:no-repeat;-o-object-position:100px;object-position:100px}.theme-dark .imageLoading-bpSr0M{background-image:url(/assets/56b42ec7fdca5d48afd672a7163b9c06.png)}.theme-light .imageLoading-bpSr0M{background-image:url(/assets/9fbc3289310d3e4e6f1bfb668f3e8c63.png)}
-.emojiSpriteImage-TcJnG8{-o-object-fit:contain;object-fit:contain;pointer-events:none}
-@-webkit-keyframes ripple-2PE2Cc{0%{-webkit-transform:scale(.8);transform:scale(.8);opacity:1}to{-webkit-transform:scale(1.6);transform:scale(1.6);opacity:0}}@keyframes ripple-2PE2Cc{0%{-webkit-transform:scale(.8);transform:scale(.8);opacity:1}to{-webkit-transform:scale(1.6);transform:scale(1.6);opacity:0}}.emojiListRow-m_GHp0{display:grid;grid-auto-flow:column}.emojiListRowLargeSize-3QTDek{grid-template-columns:repeat(auto-fill,56px);height:56px}.emojiListRowMediumSize-M_K7-z{grid-template-columns:repeat(auto-fill,40px);height:40px}.emojiItem-14v6tW{border-radius:4px;cursor:pointer;padding:4px;position:relative}.emojiItem-14v6tW,.emojiItem-14v6tW:focus{outline:none}.emojiItem-14v6tW.emojiItemSelected-1aLkfV{background-color:var(--background-accent)}.emojiItem-14v6tW:after{-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;content:"";position:absolute;top:0;left:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transform-origin:center;transform-origin:center;opacity:0;z-index:5;width:100%;height:100%;border:3px solid hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%);border-radius:100%;pointer-events:none}.emojiItem-14v6tW.showPulse-nkOA_h:after{-webkit-animation:ripple-2PE2Cc .25s ease-out 1;animation:ripple-2PE2Cc .25s ease-out 1}.emojiItemLarge-sa0X3P{height:48px;width:48px}.emojiItemMedium-_WAwGB{height:32px;width:32px}.emojiItemDisabled-1FvFuF{-webkit-filter:grayscale(100%);filter:grayscale(100%)}
-.listWrapper-3kgtQ0{position:absolute;top:0;right:0;bottom:0;left:0}.list-6NCENv{height:100%}.noSearchResultsContainer-7llQ5J{position:absolute;top:0;right:0;bottom:0;left:0}.categorySection-2sgp74{margin-bottom:12px}.categorySectionCollapsed-2-lBe9,.categorySectionLast-2ToEwI{margin-bottom:0}.header-ywPcAE{position:-webkit-sticky;position:sticky;top:0}.premiumUpsell-2vHaVa{-webkit-box-sizing:border-box;box-sizing:border-box;height:54px;overflow:hidden;margin-top:16px;margin-right:4px}
-.premiumRetentionNotice-1MsjHe{background-color:var(--background-tertiary);border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;padding:8px;margin:8px 8px 0;font-size:12px;font-weight:500;color:var(--text-normal);line-height:16px}.premiumRetentionNoticeIcon-sESfky{min-width:undefined;height:24px;margin-right:8px;margin-top:2px}.premiumRetentionNoticeClose-2zkMmj{width:16px;height:16px;color:var(--interactive-normal);cursor:pointer}.premiumRetentionNoticeClose-2zkMmj:hover{color:var(--interactive-hover)}.premiumRetentionNoticeContent-2m003l{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}
-.premiumPromo-fVlLu-{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--background-secondary);opacity:.98;z-index:101;border-radius:5px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.premiumPromoClose-1w65km{position:absolute;width:40px;height:40px;top:10px;right:10px;background:url(/assets/f815a774c2b98d3109293a4e2afb733c.svg) 50% 50% no-repeat;overflow:hidden;cursor:pointer;text-indent:-9999em;opacity:.6}.premiumPromoClose-1w65km:hover{opacity:1}.premiumPromoImage-2wS9zo{display:block;margin-bottom:15px;width:124px;height:96px}.premiumPromoTitle-2cKOQe{font-size:18px;line-height:24px;color:var(--header-primary);font-weight:600;margin-bottom:4px}.premiumPromoDescription-QWky-t{margin:0 20px 24px;font-size:16px;line-height:20px;text-align:center;color:var(--header-secondary)}
-.wrapper-1rqM3x{position:relative}.emojiPicker-3PwZFl{background-color:var(--background-secondary);border-radius:5px;-webkit-box-shadow:var(--elevation-stroke),var(--elevation-high);box-shadow:var(--elevation-stroke),var(--elevation-high);display:grid;grid-template-columns:48px auto;grid-template-rows:auto 1fr auto;height:420px;overflow:hidden;width:424px}.emojiPickerInExpressionPicker-3IzIcv .emojiPicker-3PwZFl{background-color:transparent;border-bottom-right-radius:0;border-bottom-left-radius:0;-webkit-box-shadow:none;box-shadow:none;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;grid-template-rows:auto 1fr auto;height:100%;width:auto}.header-8ilj5e{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:grid;grid-column:1/3;grid-column-gap:12px;grid-row:1/2;grid-template-columns:auto 24px;-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low);padding:12px;z-index:100;position:relative}.emojiPickerInExpressionPicker-3IzIcv .header-8ilj5e{padding:0 16px 16px}.searchBar-5di9mG{grid-column:1/2}.diversitySelector-1v4_1A{grid-column:2/3}.categoryList-2Kzf65{border-radius:0 0 0 5px;position:absolute;top:58px;bottom:0;left:0;width:48px;overflow:hidden}.emojiPickerInExpressionPicker-3IzIcv .categoryList-2Kzf65{top:50px}.bodyWrapper-3G0FZZ{display:grid;grid-template-rows:auto 1fr;grid-column:2/3;grid-row:2/3;position:relative}.emojiPickerListWrapper-fz8KNK{grid-row:2/2;overflow:hidden;position:relative}.inspector-3LQtX9{grid-column:2/3;grid-row:3/4}
-.hidden-vu5JrP{visibility:hidden}
-.wrapper-3Qz0Jk{padding-top:32px}.heroImage-ZfsNee{display:block;margin:0 auto 24px;width:250px}.closeButton-3XbOTT{position:absolute;right:4px;top:12px}.heading-2u9L55{margin-bottom:16px}.perks-4HPHN7{background-color:var(--background-secondary);border-radius:8px}.icon-YquWci{height:20px;width:20px}.iconColorLightBlue-2DehaC{color:#aec7ff}.iconColorGreen-1M-tXq{color:#a2fed3}.iconColorOrange-2QDAwl{color:#ff9a15}.iconColorYellow-1s_Bv3{color:#fed648}.iconColorPink-3j7p1M{color:#ff73fa}.iconColorPurple-2SKo10{color:#d09aff}.iconColorDarkBlue-cmUd_u{color:#3e70dd}.iconColorBlue-29w-bn{color:#80a6ff}.footer-3wUBpy{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}
-.unownedStickerLockContainer-1awnDf{border-radius:100%;border:1px solid var(--background-modifier-accent);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:var(--background-accent);position:absolute;right:0;bottom:0}.unownedStickerLockIcon-3vTNpx{color:var(--interactive-normal)}
-
-.row-2psonc{display:grid;margin-bottom:12px;overflow:hidden}.row-2psonc,.sticker-2cpdZp{position:relative}.sticker-2cpdZp{border-radius:4px;padding:2px}.inspectedIndicator-59EII8{height:100%;left:0;-webkit-mask:url(/assets/7d65d61e6cd25bf1847ec2d3e4a0144d.svg) 0 0/100% 100%;mask:url(/assets/7d65d61e6cd25bf1847ec2d3e4a0144d.svg) 0 0/100% 100%;position:absolute;top:0;-webkit-transition:background-color .08s ease-out,color .08s ease-out;transition:background-color .08s ease-out,color .08s ease-out;width:100%;z-index:-1}.stickerInspected-2EM4w- .inspectedIndicator-59EII8{background-color:var(--background-accent)}.stickerPlaceholder-Upqhje{cursor:default}.viewAll-2RLt-n{position:absolute;right:0;top:0}.viewAll-2RLt-n:hover .viewAllButton-I9GJG2,.viewAllInspected-FsmJHj .viewAllButton-I9GJG2{background-color:var(--background-tertiary);color:var(--interactive-hover)}.viewAllButton-I9GJG2{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-secondary-alt);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--interactive-normal);display:grid;font-size:16px;font-weight:600;height:100%;line-height:20px;text-align:center;white-space:pre-line;width:100%}.stickerNode-20m2uy{-webkit-transition:opacity .25s;transition:opacity .25s}.stickerNodeDimmed-3nFXMx{opacity:.3}.stickerNodeHidden-3kXD_k{visibility:hidden}.stickerUnsendable-2q_h2B{-webkit-filter:grayscale(100%);filter:grayscale(100%)}
-.header-1jwfHp{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-sizing:border-box;box-sizing:border-box;height:66px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:12px 4px}.header-1jwfHp,.title-1R2vOK{display:-webkit-box;display:-ms-flexbox;display:flex}.title-1R2vOK{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;-webkit-column-gap:4px;-moz-column-gap:4px;column-gap:4px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;margin-bottom:4px;max-width:100%;white-space:nowrap}.heading-3FTJUH{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;font-size:16px;line-height:20px;min-width:0;overflow:hidden;text-overflow:ellipsis}.count-ZZL8Ce{color:var(--header-secondary);font-size:14px;line-height:18px}.monospace-2wHjP3{font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace}.features-3yHAt3{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}.featuresTooltip-3r0QiF{max-width:260px}.feature-3kpTdS{color:var(--interactive-normal);background-color:var(--background-modifier-accent);border-radius:10px;margin-left:4px}.featureFlushRight-2-VxWs{margin-left:auto}.featureText-169iUC{padding:0 4px}.featureTextIcon-6keZHX{position:relative;top:1px;height:10px;width:10px}.featureIcon-2pfUYw{height:12px;width:12px;padding:2px}.newTag-38ErDv{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);color:#fff;font-size:9px;text-transform:uppercase;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:16px;border-radius:16px;margin-right:4px;padding:0 6px}.theme-dark .timerIcon-3FpAHP{color:#fbb848}.theme-light .timerIcon-3FpAHP{color:#ff8a00}.description-zTR9jp{padding-bottom:4px}
-.headerWithImage-3o0-0O{min-height:100px;overflow:visible;padding:0}.backgroundImage-1fVfmz{border-radius:5px 5px 0 0;position:absolute;top:0;left:0;height:100%;width:100%;background-position:50%;background-size:cover;background-repeat:no-repeat}.closeButton-2Oed-N{height:18px;position:absolute;right:16px;top:16px;width:18px;line-height:0;color:#fff;background:rgba(0,0,0,.6);border-radius:4px;opacity:1;-webkit-transform:none;transform:none;-webkit-transition:background .1s;transition:background .1s}.closeButton-2Oed-N:hover{background:rgba(0,0,0,.8)}.footer-2oNIlz{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.footerEnd-1KDgyA{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.skuPreviewFooterCloseButton-1GsfiB{color:var(--interactive-active);font-size:14px;font-weight:600;line-height:18px}.header-2VKTUL{height:auto}.container-K9goMo{padding:12px 0 0}.containerWithHeader-3tnp74{padding-top:4px}.premiumButtonNitroWheel-28RTr5{margin-right:4px}.premiumButtonInner-qFZiFk{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}
-.categoryList-xW5xXr{bottom:0;left:0;overflow:hidden;position:absolute;width:48px}.categoryListWithoutSearch-2D0q0Q{top:2px}.categoryListWithSearch-1wO0cJ{top:50px}.stickerCategory-3Yz7vN{border-radius:4px;color:var(--interactive-normal);cursor:pointer;height:32px;margin-bottom:8px;width:32px}.premiumCategory-2Kk8IQ:hover{background-color:var(--background-modifier-hover);color:var(--interactive-hover)}.premiumCategorySelected-23oFPJ,.premiumCategorySelected-23oFPJ:hover,.stickerCategoryRecentSelected-2gbLs2,.stickerCategoryRecentSelected-2gbLs2:hover{background-color:var(--background-primary)}.stickerCategoryRecent-1WVWrj{-webkit-box-sizing:border-box;box-sizing:border-box;padding:4px}.stickerCategoryRecent-1WVWrj:hover{background-color:var(--background-primary)}.stickerCategoryRecentDisabled-5KTYkf{cursor:default;color:var(--interactive-muted)}.stickerCategoryRecentDisabled-5KTYkf .stickerCategoryRecentIcon-16VgYU{opacity:.6}.stickerCategoryRecentDisabled-5KTYkf.stickerCategory-3Yz7vN:hover{background-color:transparent;color:var(--interactive-muted)}.stickerPackThumbnail-2yNuP6{display:block;height:100%;width:100%}.guildCategorySeparator-3IdPnM{margin:12px 0;border:none;border-bottom:1px solid var(--background-modifier-accent)}.standardStickerShortcut-3iRT0y{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:inherit;color:var(--interactive-normal);cursor:pointer;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;height:48px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;left:0;opacity:1;position:absolute;-webkit-transition:opacity .1s,-webkit-transform .1s;transition:opacity .1s,-webkit-transform .1s;transition:opacity .1s,transform .1s;transition:opacity .1s,transform .1s,-webkit-transform .1s;width:100%}.standardStickerShortcut-3iRT0y:hover{color:var(--interactive-hover)}.invisibleShortcut-3ZMcFJ{display:none;opacity:0}
-.premiumButtonNitroWheel-1VQbBx{margin-right:4px}.premiumButtonInner-2iZ72U{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.premiumButton-2FO5cR{margin-top:20px}
-.emptyState-39XDT6{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center}.header-WclrWC{margin-top:16px;margin-bottom:8px}.subtitle-oTdNF-{margin-bottom:12px}.stickersRow-22csIr{display:-webkit-box;display:-ms-flexbox;display:flex}.stickersRow-22csIr .sticker-2Ef6Nj{margin:auto 2px}
-.wrapper-OxgYJ1{display:grid;grid-template-rows:1fr auto;height:100%;position:absolute;top:0;right:0;bottom:0;left:0}.footerActions-3KYPyJ{margin-bottom:12px}.packHeader-NLJ7S5{position:-webkit-sticky;position:sticky;top:0}.packHeaderShopWrapper-2OtJtX{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-column-gap:12px;-moz-column-gap:12px;column-gap:12px}.packHeaderShop-1qN3eZ{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.packHeaderShopActions-pPMTPj{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.sticker-3HpuRA{cursor:pointer}.divider-1OSL6X{height:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.shopDivider-sT2XLN{border-top-width:1px;height:1px}.tipWithSearch-1ZG0iW{margin-top:undefined}.searchSuggestions-FrCvef{padding-top:16px;max-width:250px}.searchSuggestion-rlq9uJ{background:var(--background-floating);border-radius:8px;cursor:pointer;display:inline-block;font-weight:400;margin:0 4px 8px;padding:4px 8px}
-.wrapper-3ir_7D{-webkit-box-flex:1;-ms-flex:1;flex:1}
-.upsellWrapper-1utsSD{z-index:2}.upsellBackground-2Nr3j7,.upsellWrapper-1utsSD{position:absolute;top:0;bottom:0;left:0;right:0}.upsellBackground-2Nr3j7{background:var(--background-secondary);opacity:.98}.upsellContent-3fiGMr{text-align:center;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.upsellImage-1uV3MA{height:80px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin-bottom:16px}.upsellTitle-CuDEpB{margin-bottom:8px}.upsellDescription-2Un0aB{margin-bottom:24px;max-width:400px}.upsellClose-3WlWDF{cursor:pointer;position:absolute;top:20px;right:20px;color:var(--interactive-normal)}
-.wrapper-2iFQJ9{position:relative;display:grid;grid-template-columns:48px auto;grid-template-rows:auto 1fr auto}.header-2k4I2o{-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low);grid-column:1/3;grid-row:1/2;min-height:1px;z-index:1;padding:0 16px 16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.loadingIndicator-2ZWpbk{grid-column:1/-1;grid-row:1/-1}.listWrapper-hig339{grid-column:2/2}.emptyState-XDa1Wg,.listWrapper-hig339{grid-row:2/2;overflow:hidden;position:relative}.emptyState-XDa1Wg{grid-column:1/3;margin:0 20px}
-.positionLayer-1KzSAt{left:86px;pointer-events:none;z-index:0}.positionContainer-DEuh7X{width:100%;height:444px;pointer-events:none}.positionContainerOnlyEmoji--VzZ6D{height:396px}.drawerSizingWrapper-17Mss4{height:100%;max-width:100%;pointer-events:all;position:absolute;right:0;width:100%;z-index:1}.contentWrapper-SvZHNd{background-color:var(--background-secondary);border-radius:8px;-webkit-box-shadow:var(--elevation-stroke),var(--elevation-high);box-shadow:var(--elevation-stroke),var(--elevation-high);-webkit-box-sizing:border-box;box-sizing:border-box;display:grid;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;grid-template-rows:24px auto;grid-row-gap:8px;height:100%;overflow:hidden;padding-top:16px;position:relative;z-index:1}.positionContainerOnlyEmoji--VzZ6D .contentWrapper-SvZHNd{grid-template-rows:auto}.nav-7UD0KD{padding:0 16px}.navList-2UtuhC{display:-webkit-box;display:-ms-flexbox;display:flex}.navItem-3Wp_oJ{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.navItem-3Wp_oJ+.navItem-3Wp_oJ{margin-left:8px}.navButton-2gQCx-{border-radius:4px;color:var(--interactive-normal);font-size:16px;font-weight:600;line-height:20px;padding:2px 8px;-webkit-transition:background-color .1s ease-in-out,color .1s ease-in-out;transition:background-color .1s ease-in-out,color .1s ease-in-out}.navButton-2gQCx-:hover{color:var(--interactive-hover)}.navButtonActive-1MkytQ{background-color:var(--background-accent);color:#fff}.navButtonActive-1MkytQ:hover{color:#fff}.resizeHandle-3NRr0z{cursor:ew-resize;height:100%;left:-2px;position:absolute;top:0;width:4px;z-index:2}.introductionWrapper-3JgYlK{text-align:center}.introductionHeader-39IP1Z{font-weight:600;margin-bottom:4px}.introductionSubheader-wYqfJl{margin-bottom:16px}.introductionAction-LbJO-v{color:var(--brand-experiment);font-weight:600}.introductionTooltip-39ymCt{max-width:none;width:280px}.introductionTooltipContent-2CVaCn{padding:16px}.stickersNavItem-g1SJ0f{display:-webkit-box;display:-ms-flexbox;display:flex}.stickersNavItem-g1SJ0f,.stickersUnseenBadge-3f2c9o{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.stickersUnseenBadge-3f2c9o{height:16px;border-radius:8px;min-width:16px;padding:0;margin-left:4px;-webkit-box-shadow:none;box-shadow:none;text-shadow:none;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}
-.container-JHR0NT{bottom:100%;margin-bottom:12px;min-height:16px;position:absolute;-webkit-transition:opacity .125s ease-in,-webkit-transform .125s cubic-bezier(.48,1.93,1,.68);transition:opacity .125s ease-in,-webkit-transform .125s cubic-bezier(.48,1.93,1,.68);transition:opacity .125s ease-in,transform .125s cubic-bezier(.48,1.93,1,.68);transition:opacity .125s ease-in,transform .125s cubic-bezier(.48,1.93,1,.68),-webkit-transform .125s cubic-bezier(.48,1.93,1,.68);opacity:1;will-change:opacity,transform;left:auto;right:40px}.container-JHR0NT.hidden-1Pp_-F{-webkit-transform:translateY(12px);transform:translateY(12px);opacity:0;pointer-events:none}.containerBackground-LlUax5{background-color:var(--background-floating);border:1px solid var(--background-modifier-selected);border-radius:8px;bottom:0;-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high);left:0;min-height:16px;opacity:.95;position:absolute;right:0;top:0;z-index:0}.containerBackground-LlUax5:after{border:7px solid transparent;border-top:7px solid var(--background-floating);content:"";height:0;margin-top:-1px;position:absolute;right:14px;top:100%;width:0}.bottomInformationTextContainer-2lvA_a{z-index:1;position:relative;padding:0 8px 10px;height:24px}.textDivider-3RoZIQ{height:1px;margin:0 0 4px;background-color:var(--background-modifier-accent)}.descriptionText-1ZKuLr{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stickerResults-3HacYG{display:grid;grid-gap:8px;grid-auto-flow:column;grid-template-columns:repeat(auto-fit,48px);padding:8px;position:relative;z-index:1}.keybind-25ROM8{margin:0;display:inline-block}.theme-dark .keybind-25ROM8 span,.theme-light .keybind-25ROM8 span{-webkit-box-shadow:inset 0 -4px 0 rgba(32,34,37,.6);box-shadow:inset 0 -4px 0 rgba(32,34,37,.6)}.suggestedExpression-3HUIrd{cursor:pointer;position:relative}.mask-2VqFZB{bottom:-2px;opacity:0;left:-2px;position:absolute;right:-2px;top:-2px;-webkit-transition:opacity .08s ease-in-out;transition:opacity .08s ease-in-out;z-index:0}.suggestedExpression-3HUIrd:focus .mask-2VqFZB,.suggestedExpressionFocused-23LPyn .mask-2VqFZB{opacity:1}.maskBackground-3LR_np{background-color:var(--background-accent);height:100%;width:100%}.reduce-motion .container-JHR0NT,.reduce-motion .mask-2VqFZB{-webkit-transition:none;transition:none}.theme-light .unownedStickerLockIcon-2GMbV9{color:var(--background-secondary)}.theme-dark .containerBackground-LlUax5{opacity:.95}
-.userTooltip-7qZaHD{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:16px}.avatar-i5C_qp{margin-right:8px}.discriminator-17tNDS{opacity:.5}.channelIcon-kD4rFt{width:1rem;height:1rem;-o-object-fit:contain;object-fit:contain;position:absolute;left:.125rem;top:.125rem}.iconMention-1t7gB7{padding-left:1.25rem}
-.commandBlock-38NGGm{display:inline-block}.commandBlock-38NGGm br{display:none}.commandBlock-38NGGm>span:last-of-type{margin-right:8px}.pill-2pQByF{height:21px;border-radius:4px;padding:0 4px;font-size:16px}.pill-2pQByF .mention{background:none!important}.pill-2pQByF .emoji{max-height:21px;max-width:21px}.theme-light .pill-2pQByF{background-color:#c7ccd1}.theme-dark .pill-2pQByF{background-color:#18191c}.completePill-1I5maV .optionKey-3jd4Vt{margin-right:4px}.erroredPill-3HF4Sc{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.tabButton-1n4gNP{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:.5;vertical-align:text-bottom;color:#fff;margin-bottom:-1px}
-.syntaxAfter-hcA4AH,.syntaxBefore-1YQ9lW{font-weight:600}.codeBlockSyntax-2i-tMA,.syntaxAfter-hcA4AH,.syntaxBefore-1YQ9lW{color:var(--textbox-markdown-syntax)}.codeBlockLang-O_f4hr{color:var(--text-positive)}.after_s-20p8Ev,.after_spoiler-1-p4u9,.after_u-222bSK,.before_s-24KnUy,.before_spoiler-1Aglf8,.before_u-2lCd2i,.syntaxOverride-1uDw7k{font-weight:400}.before_em-9aA_NQ{margin-right:-1px}.after_em-U9Eby7{margin-left:1px}.before_s-24KnUy,.before_u-2lCd2i{margin-right:1px}.after_s-20p8Ev,.after_u-222bSK{margin-left:1px}.after_u-222bSK,.before_u-2lCd2i{text-decoration:underline}.before_inlineCode-1G9rTK{border-radius:3px 0 0 3px}.after_inlineCode-1KfVgj{border-radius:0 3px 3px 0}.bold-36dRGB{font-weight:600}.italics-1CB0-L{font-style:italic}.underline-2dzcvN{text-decoration:underline}.strikethrough-37TnTg{text-decoration:line-through}.fakeLink-26oLcc{color:var(--text-link)}.low-saturation .fakeLink-26oLcc{text-decoration:underline;color:var(--text-link-low-saturation)}.after_inlineCode-1KfVgj,.before_inlineCode-1G9rTK,.inlineCode-2ngu6Y{background:var(--background-secondary);font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace;font-size:85%;line-height:18px;margin:-.2em 0;padding:.2em 0;width:auto;height:auto;text-indent:0;white-space:pre-wrap}.spoiler-2Iew8T{padding:0 .2em;background-color:var(--background-primary)}.codeBlockText-9TnoxQ,.codeLine-14BKbG{color:var(--header-secondary);font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace;font-size:85%;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none}
-.slateContainer-3Qkn2x{position:relative}.slateTextArea-1Mkdgw{caret-color:var(--text-normal);position:absolute;left:0;right:10px;text-align:left;word-break:break-word;white-space:break-spaces!important}.slateTextArea-1Mkdgw pre{max-width:none}.placeholder-37qJjk,.slateTextArea-1Mkdgw .hljs-comment,.slateTextArea-1Mkdgw .hljs-quote{color:var(--text-muted)}.placeholder-37qJjk{left:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;position:absolute;right:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.placeholder-37qJjk,.slateTextArea-1Mkdgw{padding-right:10px}
-.channelTextArea-2VhZ6z{position:relative;width:100%;text-indent:0;border-radius:8px}.channelTextArea-2VhZ6z.highlighted-2eSV1B{-webkit-box-shadow:0 0 0 4px var(--focus-primary);box-shadow:0 0 0 4px var(--focus-primary)}.focusRing-2NImfT{border-radius:8px}.scrollableContainer-2NUZem{overflow-x:hidden;overflow-y:scroll;background-color:var(--channeltextarea-background);max-height:50vh;border-radius:8px;scrollbar-width:none}.sticker-1T9_Bu{display:block}.background-opacity-low .scrollableContainer-2NUZem{background-color:rgba(79,84,92,.5)}.background-opacity-low .scrollableContainer-2NUZem .textArea-12jD-V{color:#fff}.background-opacity-medium .scrollableContainer-2NUZem{background-color:rgba(79,84,92,.7)}.background-opacity-medium .scrollableContainer-2NUZem .textArea-12jD-V{color:#fff}.background-opacity-high .scrollableContainer-2NUZem{background-color:rgba(79,84,92,.9)}.webkit-HjD9Er::-webkit-scrollbar{width:12px;height:12px}.webkit-HjD9Er::-webkit-scrollbar-thumb,.webkit-HjD9Er::-webkit-scrollbar-track{background-clip:padding-box;border:4px solid transparent}.webkit-HjD9Er::-webkit-scrollbar-track{border-width:initial}.webkit-HjD9Er::-webkit-scrollbar-thumb{background-color:rgba(24,25,28,.6);border-radius:8px}.channelTextAreaDisabled-8rmlrp .scrollableContainer-2NUZem{opacity:.5}.hasConnectedBar-1MrFne{border-top-left-radius:0;border-top-right-radius:0}.inner-MADQqc{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.innerDisabled-1YTFPN{cursor:not-allowed}.sansAttachButton-td2irx{padding-left:16px}.sansAttachButtonCreateThread-1UPx8S{padding-left:10px}.attachButton-2dnuIu{margin-left:-16px}.textArea-12jD-V{background-color:transparent;resize:none;border:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box;font-weight:400;font-size:1rem;line-height:1.375rem;width:100%;height:44px;min-height:44px;color:var(--text-normal);padding-left:0;padding-right:10px}.textArea-12jD-V::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--text-muted)}.textArea-12jD-V::-moz-placeholder{-moz-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--text-muted)}.textArea-12jD-V:-ms-input-placeholder{-ms-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--text-muted)}.textArea-12jD-V::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--text-muted)}.textAreaSlate-1ZzRVj{padding:0}.textAreaThreadCreation-3zmvce{min-height:66px}.textAreaWithoutAttachmentButton-qiaiTB{padding-left:16px}@media (-webkit-max-device-pixel-ratio:1){.theme-light .textArea-12jD-V{font-weight:500}}.textAreaDisabled-3-Eq_G{pointer-events:none}.buttons-3JBrkn{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;height:44px;position:-webkit-sticky;position:sticky;top:0;margin-right:4px}.webkit-HjD9Er .buttons-3JBrkn{margin-right:-6px}.buttonContainer-28fw2U{display:-webkit-box;display:-ms-flexbox;display:flex}.button-318s1X{padding:4px;margin-left:4px;margin-right:4px}.emojiButton-pET4wH{}.stickerIcon-3TP7EM{width:20px!important;height:20px!important}.stickerButton-3OEgwj{-webkit-transition:-webkit-transform .2s;transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}.stickerButtonWithNotification-ESXiw0{margin-top:1px;padding-left:2px;padding-right:2px}.stickerButtonTilted-2R4_UZ{-webkit-transform:rotate(12deg) scale(1.05);transform:rotate(12deg) scale(1.05);-webkit-transition:-webkit-transform .15s;transition:-webkit-transform .15s;transition:transform .15s;transition:transform .15s,-webkit-transform .15s}.fontSize12Padding-2x5wK2{padding-bottom:14px;padding-top:14px}.fontSize14Padding-1DhkW_{padding-bottom:12px;padding-top:13px}.fontSize15Padding-2bMrCq{padding-bottom:12px;padding-top:12px}.fontSize16Padding-3Wk7zP{padding-bottom:11px;padding-top:11px}.fontSize18Padding-2RUesG{padding-bottom:9px;padding-top:9px}.fontSize20Padding-18f-TO{padding-bottom:9px;padding-top:8px}.fontSize24Padding-2Tz8jD{padding-bottom:6px;padding-top:5px}.stackedAttachedBar-3A2J3X{border-bottom:1px solid var(--background-secondary-alt)}.attachedBars-tZDmyV{background:var(--background-secondary);border-top-left-radius:8px;border-top-right-radius:8px}.theme-brand .inner-MADQqc{background-color:var(--brand-experiment-400)}.theme-brand .textArea-12jD-V{color:hsla(0,0%,100%,.7)}.theme-brand .textArea-12jD-V::-webkit-input-placeholder{color:hsla(0,0%,100%,.3)}.theme-brand .textArea-12jD-V::-moz-placeholder{color:hsla(0,0%,100%,.3)}.theme-brand .textArea-12jD-V:-ms-input-placeholder{color:hsla(0,0%,100%,.3)}.theme-brand .textArea-12jD-V::placeholder{color:hsla(0,0%,100%,.3)}
-.emojiButton-3uL3Aw{max-height:50px;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.emojiButtonHovered-1rWNal,.emojiButtonNormal-TdumYh{}.sprite-2iCowe{background-image:url(/assets/7e5013a9afc1404b0b89d99aaec0b398.png);background-position:50%;background-repeat:no-repeat;width:22px;height:22px;display:block}
-@-webkit-keyframes pulseIcon-2wem_X{0%,to{-webkit-transform:scale(.85714);transform:scale(.85714)}50%{-webkit-transform:none;transform:none}}@keyframes pulseIcon-2wem_X{0%,to{-webkit-transform:scale(.85714);transform:scale(.85714)}50%{-webkit-transform:none;transform:none}}@-webkit-keyframes pulseButton-37U3Qe{0%,to{opacity:.3}50%{opacity:1}}@keyframes pulseButton-37U3Qe{0%,to{opacity:.3}50%{opacity:1}}@-webkit-keyframes sparkle-326-jL{0%{opacity:0;-webkit-transform:rotate(-50deg) scale(0);transform:rotate(-50deg) scale(0)}20%{opacity:1;-webkit-transform:rotate(0deg) scale(1);transform:rotate(0deg) scale(1)}40%{opacity:0;-webkit-transform:rotate(50deg) scale(0);transform:rotate(50deg) scale(0)}to{opacity:0;-webkit-transform:rotate(-50deg) scale(0);transform:rotate(-50deg) scale(0)}}@keyframes sparkle-326-jL{0%{opacity:0;-webkit-transform:rotate(-50deg) scale(0);transform:rotate(-50deg) scale(0)}20%{opacity:1;-webkit-transform:rotate(0deg) scale(1);transform:rotate(0deg) scale(1)}40%{opacity:0;-webkit-transform:rotate(50deg) scale(0);transform:rotate(50deg) scale(0)}to{opacity:0;-webkit-transform:rotate(-50deg) scale(0);transform:rotate(-50deg) scale(0)}}.buttonWrapper-1ZmCpA{cursor:pointer}.button-3AYNKb{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:var(--interactive-normal)}.button-3AYNKb:hover{color:var(--interactive-hover)}.button-3AYNKb:active{color:var(--interactive-active)}.iconMask-2LbcOd{display:block;width:24px;height:24px}.buttonContent-4lhja2{position:relative}.icon-3D60ES{width:24px;height:24px}.pulseIcon-2wem_X{-webkit-animation:pulseIcon-2wem_X .6s ease;animation:pulseIcon-2wem_X .6s ease}.pulseButton-37U3Qe .buttonWrapper-1ZmCpA{-webkit-animation:pulseButton-37U3Qe .6s ease;animation:pulseButton-37U3Qe .6s ease}.notificationDot-18QulZ{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);border-radius:100%;bottom:0;height:7px;right:0;-webkit-transform:translateY(-5%);transform:translateY(-5%);width:7px}.notificationDot-18QulZ,.sparkleContainer-1FObaU{position:absolute}.sparkleStar-jXNPAp{color:hsl(46,calc(var(--saturation-factor, 1)*100%),54.9%);top:-12px;left:20px}.sparklePlus-T4nasU,.sparkleStar-jXNPAp{position:relative;-webkit-animation:sparkle-326-jL 2.5s ease-in-out infinite;animation:sparkle-326-jL 2.5s ease-in-out infinite}.sparklePlus-T4nasU{opacity:0;color:var(--brand-experiment);top:16px;left:-20px;-webkit-animation-delay:.5s;animation-delay:.5s}.active-23Nm0T .buttonWrapper-1ZmCpA,.buttonWrapper-1ZmCpA:hover{color:var(--interactive-active)}
-.divider-JfaTT5{z-index:1;height:0;border-top:thin solid var(--background-modifier-accent);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;--divider-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.low-saturation .divider-JfaTT5{--divider-color:hsl(359,calc(var(--saturation-factor, 1)*66.7%),54.1%)}.background-opacity-low .divider-JfaTT5,.background-opacity-medium .divider-JfaTT5{opacity:.5}.background-opacity-high .divider-JfaTT5{opacity:.8}.isUnread-3Ef-o9{border-color:var(--divider-color)}.hasContent-1cNJDh{position:relative;left:auto;right:auto}.unreadPill-2HyYtt{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;top:-7px;right:0;font-size:10px;line-height:9px;font-weight:700;padding:0 4px 0 1px;border-radius:0 4px 4px 0;text-transform:uppercase;color:#fff;background-color:var(--divider-color);-webkit-box-sizing:border-box;box-sizing:border-box;border-left:none}.unreadPill-2HyYtt,.unreadPillCap-3_K2q2{position:absolute;height:13px}.unreadPillCap-3_K2q2{display:block;left:-8px;top:0}.unreadPillCapStroke-7rkHbg{color:var(--divider-color);fill:var(--divider-color)}.content-1o0f9g{display:block;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:2px 4px;color:var(--text-muted);background:var(--background-primary);line-height:13px;font-size:12px;margin-top:-1px;font-weight:600;border-radius:8px}.isUnread-3Ef-o9 .content-1o0f9g{color:var(--divider-color)}
-.stickerPreviews-D1UghN{padding:10px 0 10px 16px}.stickerPreviewContainer-3QyrFr{position:relative;display:inline-block}.stickerPreview-9IJY2j{margin-right:4px}.stickerPreviewDivider-2DeHm0{margin-left:16px}.closeButton-1iLzZ3{cursor:pointer;color:var(--interactive-normal);line-height:0;position:absolute;top:0;right:0;z-index:1}.closeButton-1iLzZ3:hover{color:var(--interactive-hover)}.closeIconContainer-2y0XOe{background:var(--channeltextarea-background);border-radius:100%}.closeIcon-2--3zh{width:16px;height:16px}
-.bar-m8LgSC{padding:8px 16px;white-space:nowrap}
-.clipContainer-eeROt0{overflow:hidden;padding-top:3px;margin-top:-3px}.container-2fRDfG{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.replyBar-1YLQ2F,.threadSuggestionBar-2ufK2Z{background:var(--background-secondary);cursor:pointer}.replyBar-1YLQ2F{display:grid;grid-template-columns:1fr auto;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-top-left-radius:8px;border-top-right-radius:8px}.threadSuggestionBar-2ufK2Z{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;border-top:1px solid var(--background-modifier-accent);padding-top:7px;padding-bottom:7px;-webkit-box-shadow:0 3px 0 var(--background-secondary);box-shadow:0 3px 0 var(--background-secondary)}.text-15b_0l{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:16px}.replyLabel-27F26o{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.name-hpTFiv{font-weight:600}.actions-NlfMQc{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.actions-NlfMQc,.mentionButton-3710-W{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mentionButton-3710-W{cursor:pointer;font-weight:700;text-transform:uppercase;padding:8px 12px}.mentionIcon-1UYeiz{width:16px;height:16px;margin-right:4px}.separator-ju-9xl{width:1px;height:20px;background-color:var(--background-modifier-accent)}.closeButton-37O8QC{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;cursor:pointer;color:var(--interactive-normal);line-height:0;padding:8px 12px}.closeButton-37O8QC:hover{color:var(--interactive-hover)}.closeIcon-HLoKft{width:16px;height:16px}.createThreadButton-oQpjNC{font-weight:600;white-space:nowrap;margin-left:8px;margin-right:8px}
-.root-2GkXUO{background:var(--background-secondary);border-radius:4px;padding:4px;display:-webkit-box;display:-ms-flexbox;display:flex;max-width:120px}.premium-1XICKa{margin-right:4px;-ms-flex-negative:0;flex-shrink:0;width:18px;height:18px}
-.characterCount-1cRDo2{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;bottom:12px;color:var(--text-normal);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:absolute;right:14px}.premiumFlair-ogSJ9V{color:var(--interactive-normal)}.premiumFlair-ogSJ9V:not(:last-child){margin-right:4px}.flairContainer-2Txy_E{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:24px}.upsell-34F9Me{margin-top:8px}.theme-dark .error-1M5Do5{color:hsl(359,calc(var(--saturation-factor, 1)*83%),67.6%)}.theme-light .error-1M5Do5{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.toolbar-2bjZV7{background-color:#18191c;border-radius:4px;-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high);display:-webkit-box;display:-ms-flexbox;display:flex;height:32px;pointer-events:all;position:absolute}.toolbar-2bjZV7:before{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #18191c;bottom:-8px;content:"";height:0;left:calc(50% - 8px);position:absolute;width:0}.toolbar-2bjZV7 .button-qqmJ7w:first-of-type{border-top-left-radius:4px;border-bottom-left-radius:4px}.toolbar-2bjZV7 .button-qqmJ7w:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}.divider-24xeUg{border-left:1px solid hsla(0,0%,100%,.06);display:inline-block;height:20px;margin:6px}.button-qqmJ7w{border-radius:0;padding:0;width:32px}.buttonInner-3shTxu,.icon-KgGMGo{height:20px}.icon-KgGMGo{color:#b9bbbe;width:20px}.inactive-3i9Q2Q{background-color:transparent}.active-2HPddW,.hover-28QbSq:hover{background-color:var(--background-modifier-active)}.active-2HPddW .icon-KgGMGo,.hover-28QbSq:hover .icon-KgGMGo{color:#fff}
-.splashBackground-1zhLFw{position:absolute;top:0;left:0;bottom:0;right:0;opacity:.1;background-size:cover;background-position:bottom;-webkit-filter:grayscale(100%);filter:grayscale(100%);-webkit-mask:radial-gradient(circle at 50% 0,#000,transparent);mask:radial-gradient(circle at 50% 0,#000,transparent);background-image:url(/assets/976b56da8d86af63aef4f55afb553a9f.png)}
-.modalSize-32pcp4{max-height:100%}.headerContent-3hty5X{margin-top:20px}.headerContent-3hty5X,.headerHeader-53zx0J{width:100%;position:relative}.applicationName-2QbFHn{margin-left:20px;font-size:16px;font-weight:600}.price-1ynJAt{padding:5px 10px;font-size:14px;line-height:1.71;border-radius:3px}.priceSpinner-20g34L{height:23px}.breadcrumbs-S3tCk9,.errorBlock-13Gsgi{margin-top:20px}.errorBlock-13Gsgi{position:relative}.confirmContent-3zhou3{padding:20px 0 30px}.confirmCloseButton-ear6TV{-ms-flex-item-align:end;align-self:flex-end}.theme-dark .applicationName-2QbFHn{color:#dcddde}.theme-dark .price-1ynJAt{background-color:#4f545c;color:#f6f6f7}.theme-light .applicationName-2QbFHn{color:#36393f}.theme-light .price-1ynJAt{background-color:#4f545c;color:#f6f6f7}
-.applicationBuyButton-2ZS8jB{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.disabledButtonWrapper-oUVnwk{position:relative}.disabledButtonOverlay-1JKAkq{position:absolute;top:0;right:0;bottom:0;left:0}.premiumIcon-3ocHPW{margin-right:4px}
-.playButton-1fMNjH{padding-left:0;padding-right:0}.playButtonContents-1Ww4h5{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.disabledButtonWrapper-3sHPXz{position:relative}.disabledButtonOverlay-2A2OvN{position:absolute;top:0;right:0;bottom:0;left:0}.disabledButtonColor-1aUKuC{background-color:rgba(24,25,28,.5);color:rgba(246,246,247,.5);opacity:1}.buttonText-2DJbpf{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding:2px 16px}.dropdownArrowHitbox-X74v7o{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:32px;height:100%;z-index:2}.arrowSeparator-26ZThQ{width:1px;height:24px;opacity:.2;background-color:currentColor}.dropdownArrow-QYl6LR{-webkit-box-flex:1;-ms-flex:1;flex:1;width:24px;height:24px;opacity:.2;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.dropdownArrowHitbox-X74v7o:hover .dropdownArrow-QYl6LR{opacity:1}
-.progress-2XXRYo{position:relative;overflow:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.progress-2XXRYo,.progressBar-3u8FBM{width:100%}.animating-3Qqqzp{-webkit-transition:-webkit-transform .2s ease-out;transition:-webkit-transform .2s ease-out;transition:transform .2s ease-out;transition:transform .2s ease-out,-webkit-transform .2s ease-out}.xsmall-3czJwD{height:4px}.small-1CUeBa,.xsmall-3czJwD{border-radius:3px}.small-1CUeBa{height:6px}.large-3EPlRk{height:8px;border-radius:4px}.indeterminate-1PKP2P{position:absolute;width:auto;top:0}.indeterminateBar1-1jjKl2{-webkit-animation:indeterminate1-WkD31A 2.1s cubic-bezier(.65,.815,.735,.395) infinite;animation:indeterminate1-WkD31A 2.1s cubic-bezier(.65,.815,.735,.395) infinite;-webkit-animation-play-state:paused;animation-play-state:paused}.indeterminateBar1-1jjKl2.animating-3Qqqzp{-webkit-animation-play-state:running;animation-play-state:running}.indeterminateBar2-2MEvKp{-webkit-animation:indeterminate2-hcYkmM 2.1s cubic-bezier(.165,.84,.44,1) infinite;animation:indeterminate2-hcYkmM 2.1s cubic-bezier(.165,.84,.44,1) infinite;-webkit-animation-delay:1.15s;animation-delay:1.15s;-webkit-animation-play-state:paused;animation-play-state:paused}.indeterminateBar2-2MEvKp.animating-3Qqqzp{-webkit-animation-play-state:running;animation-play-state:running}@-webkit-keyframes indeterminate1-WkD31A{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@keyframes indeterminate1-WkD31A{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@-webkit-keyframes indeterminate2-hcYkmM{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@keyframes indeterminate2-hcYkmM{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}
-.button-1OsvDz{padding:0}html .progress-GjyFoQ{position:absolute;bottom:0;left:0}.disabledButtonWrapper-1EOaAy{position:relative}.disabledButtonOverlay-1vHgFK{position:absolute;top:0;right:0;bottom:0;left:0}.disabledButtonColor-34LjTT{background-color:rgba(24,25,28,.5);color:var(--header-primary);opacity:1}
-.row-hM7TSa{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.icon-Vhk6dD{margin-right:4px;width:20px;height:20px}.salePercentage-TXZz3H{border-radius:3px;color:#fff;background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);padding:4px 6px}.originalAmount-3RtnBh{text-decoration:line-through}.directoryTilePrice-kxTe16{font-size:16px;font-weight:500}.directoryTilePrice-kxTe16 .originalAmount-3RtnBh,.directoryTilePrice-kxTe16 .salePercentage-TXZz3H{margin-right:6px}.directoryHeroPrice-1_MqzA{font-size:16px}.directoryHeroPrice-1_MqzA .originalAmount-3RtnBh,.directoryHeroPrice-1_MqzA .salePercentage-TXZz3H{margin-right:6px}.directoryHeroPricePremium-tR0nU8{font-size:14px;font-weight:500;-ms-flex-wrap:wrap;flex-wrap:wrap}.directoryHeroPricePremium-tR0nU8 .icon-Vhk6dD{width:24px;height:24px;-ms-flex-negative:0;flex-shrink:0}.directorySearchPrice-2Spatv{font-size:14px;line-height:16px;font-weight:500}.directorySearchPrice-2Spatv .icon-Vhk6dD{width:16px;height:16px}.directorySearchPrice-2Spatv .originalAmount-3RtnBh,.directorySearchPrice-2Spatv .salePercentage-TXZz3H{margin-right:6px}.listingPrice-2GiDSc{font-size:32px;line-height:36px;font-weight:500}.listingPrice-2GiDSc .salePercentage-TXZz3H{color:#fff;font-size:16px;margin-left:10px}.listingPrice-2GiDSc .originalAmount-3RtnBh{font-size:15px}.embedPrice-Xy8zoS{font-size:16px;font-weight:500}.embedPrice-Xy8zoS .originalAmount-3RtnBh,.embedPrice-Xy8zoS .salePercentage-TXZz3H{margin-right:6px}.theme-dark .directoryHeroPrice-1_MqzA,.theme-dark .directoryHeroPricePremium-tR0nU8{color:#fff}.theme-dark .directorySearchPrice-2Spatv{color:#b9bbbe}.theme-dark .listingPrice-2GiDSc{color:#f6f6f7}.theme-dark .originalAmount-3RtnBh{color:#b9bbbe}.theme-dark .embedPrice-Xy8zoS{color:#fff}.theme-dark .embedPrice-Xy8zoS .salePercentage-TXZz3H{background-color:#2f3136}.theme-light .directoryHeroPrice-1_MqzA,.theme-light .directoryHeroPricePremium-tR0nU8{color:#36393f}.theme-light .directoryHeroPrice-1_MqzA .originalAmount-3RtnBh,.theme-light .directoryHeroPricePremium-tR0nU8 .originalAmount-3RtnBh,.theme-light .directorySearchPrice-2Spatv{color:#72767d}.theme-light .listingPrice-2GiDSc{color:#f6f6f7}.theme-light .originalAmount-3RtnBh{color:#b9bbbe}.theme-light .embedPrice-Xy8zoS{color:#4f545c}.theme-light .embedPrice-Xy8zoS .salePercentage-TXZz3H{background-color:#b9bbbe}
-.OSSection-27GaV2{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.purchaseUnitOperatingSystem-cnbJPz{margin-left:4px}.theme-dark .purchaseUnitOperatingSystem-cnbJPz,.theme-light .purchaseUnitOperatingSystem-cnbJPz{color:#4f545c}
-.tag-HanR-9{padding:6px 12px}.tag-HanR-9:before{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background-repeat:no-repeat;background-size:cover;background-position:top}.text-1OO51R{position:relative;font-weight:600;font-size:13px;text-transform:uppercase;display:block}.theme-dark .text-1OO51R,.theme-light .text-1OO51R{color:#fff}.theme-dark .tag-HanR-9,.theme-light .tag-HanR-9{background-image:-webkit-gradient(linear,left top,right top,from(hsl(228,calc(var(--saturation-factor, 1)*86.7%),70.6%)),to(hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%)));background-image:linear-gradient(90deg,hsl(228,calc(var(--saturation-factor, 1)*86.7%),70.6%),hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%))}.theme-dark .tag-HanR-9:before,.theme-light .tag-HanR-9:before{background-image:url(/assets/04a2e1509ad72be575b1529b51ea3977.svg)}
-.tag-1mL0R5{padding:6px 12px}.tag-1mL0R5:before{background-image:url(/assets/4fd13d0ae5ddd4d5d3be4568b2090c1a.png);content:"";position:absolute;top:0;left:0;bottom:0;right:0;background-repeat:no-repeat;background-size:cover;background-position:50%}.text-1bqXwz{position:relative;font-weight:600;font-size:13px;text-transform:uppercase;display:block}.theme-dark .text-1bqXwz,.theme-light .text-1bqXwz{color:#fff}
-.centeringContainer-1ssgjB{position:absolute;top:0;left:0;bottom:0;right:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:126px}.titleContainer-15sRy5{font-size:20px;color:#fff;padding:8px 10px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;background-image:url(/assets/976b56da8d86af63aef4f55afb553a9f.png)}.loadingContainer-138F59,.titleContainer-15sRy5{}.slideshowWrapper-146cEe{height:100%}.spinner-2okOH9{position:absolute;top:0;left:0;bottom:0;right:0}.imageLoading-3I2895{visibility:hidden}.splash-3K76bN{-o-object-position:top;object-position:top}.splash-3K76bN,.splashPlaceholder-1ev-9c{position:absolute;top:0;left:0;bottom:0;right:0;-o-object-fit:cover;object-fit:cover;width:100%;vertical-align:middle}.splashPlaceholder-1ev-9c{height:100%}.muteContainer-dXWpxM{background:rgba(0,0,0,.3);border-radius:50%;width:24px;height:24px;margin:0 10px 10px 0;padding:4px;position:absolute;bottom:0;right:0;z-index:2;pointer-events:all;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:opacity .4s ease;transition:opacity .4s ease;opacity:0}.muteContainerPlaying-YRMEea{opacity:1}.muteContainerMediaOverlay-DKYQOo{margin:0 10px 0 0;position:absolute;top:86px;right:0}.mute-3sDXC3{width:20px;height:20px;color:#fff}.theme-dark .loadingContainer-138F59{background-color:rgba(0,0,0,.4)}.theme-light .loadingContainer-138F59{background-color:hsla(0,0%,100%,.4)}.theme-light .spinnerItem-3RXrSb{background-color:#18191c}
-.splashContainer-2UflFm{margin:0;overflow:hidden;position:relative;pointer-events:none;max-height:60%;padding-top:56%}.splashContainerHorizontal-10fJqP{max-height:none;padding-top:0;height:100%;-webkit-box-flex:1;-ms-flex:1;flex:1}.priceOs-WkGZC-{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.platform-3suY7a{opacity:1;-webkit-transition:opacity .4s ease;transition:opacity .4s ease}.exclusiveRegular-2w11vc{position:absolute;left:0;right:0;bottom:0}.exclusivePlaying-1DynG8{-webkit-transition:opacity .4s ease;transition:opacity .4s ease;opacity:0}.splashPlaceholder-WP93xz,.splashVideo-2e4_JV{height:100%}.tileBuyButton-2W4Mu-{position:absolute;left:12px;bottom:12px;-webkit-transition:opacity .2s,-webkit-transform .2s ease;transition:opacity .2s,-webkit-transform .2s ease;transition:opacity .2s,transform .2s ease;transition:opacity .2s,transform .2s ease,-webkit-transform .2s ease;-webkit-transform:translate3d(0,12px,0);transform:translate3d(0,12px,0)}.tileBuyButtonVisible-2QYmxC{-webkit-transform:translateZ(0);transform:translateZ(0)}.tileBuyButton-2W4Mu-,.tileBuyButton-2W4Mu-:disabled{opacity:0}.tileBuyButtonVisible-2QYmxC,.tileBuyButtonVisible-2QYmxC:disabled{opacity:1}.tilePrice-dqknBb{-webkit-transition:opacity .2s;transition:opacity .2s}.tilePriceWithVisibleBuyButton-2-P17I{opacity:0}
-.tileActions-N7Ze1p{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:500}.actionButton-Weawa8{margin-right:8px}
-.metadata-IJDhwB{font-size:12px}.libraryLink-21lIRu{margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.libraryIcon-17zyHD{margin-right:6px}.invalidPoop-pnUbq7{margin:0;overflow:hidden;position:relative;max-height:60%;padding-top:56%;background-repeat:no-repeat;background-position:50% 50%}.invalidPoopHorizontal-3Dfy7T{max-height:none;padding-top:0;height:100%;-webkit-box-flex:1;-ms-flex:1;flex:1}.theme-light .libraryLink-21lIRu,.theme-light .metadata-IJDhwB{color:#72767d}.theme-light .invalidPoop-pnUbq7{background-color:rgba(116,127,141,.3);background-image:url(/assets/b5d0fabb4afdf0666f3785f8c1d3beff.svg)}.theme-dark .libraryLink-21lIRu{color:hsla(0,0%,100%,.6)}.theme-dark .invalidPoop-pnUbq7{background-color:rgba(79,84,92,.3);background-image:url(/assets/e0c782560fd96acd7f01fda1f8c6ff24.svg)}.theme-dark .metadata-IJDhwB{color:#72767d}
-.spacing-2P-ODW{margin-bottom:20px}.spacingTop-3Dhr0L{margin-top:20px}.message-2qRu38{position:relative;border-radius:3px;overflow:hidden;padding-top:10px;padding-bottom:10px;pointer-events:none}.theme-dark .message-2qRu38{background-color:#36393f;-webkit-box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2)}.theme-light .message-2qRu38{background-color:#fff;-webkit-box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1);box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1)}
-.container-2nXavw{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.bumpBox-1r5p3c,.container-2nXavw{-webkit-box-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.bumpBox-1r5p3c{-ms-flex:0 0 max-content;flex:0 0 max-content;-ms-flex-align:center;background-color:var(--background-secondary);border-radius:8px;padding:8px;margin-right:16px}.bumpBox-1r5p3c,.icon-ek0zSM{-webkit-box-flex:0}.icon-ek0zSM{-ms-flex:0 0 16px;flex:0 0 16px;color:var(--text-muted)}.icon-ek0zSM,.publish-10uopb,.tagline-36at0H{margin-right:8px}.hidePermanently-36wWty{cursor:pointer;-webkit-transition:.2s linear;transition:.2s linear;line-height:24px}.hidePermanently-36wWty:focus,.hidePermanently-36wWty:hover{color:var(--text-normal)}.closeIcon-tEzaUY{display:block;color:var(--interactive-muted);cursor:pointer}.closeIcon-tEzaUY:focus,.closeIcon-tEzaUY:hover{color:var(--interactive-hover)}.closeIcon-tEzaUY:active{color:var(--interactive-active)}
-.wrapper-35wsBm{background-color:var(--background-secondary);border-radius:4px;padding:16px;width:432px;-webkit-box-sizing:border-box;box-sizing:border-box}.header-2BTCnc{font-weight:700;margin-bottom:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--interactive-normal)}.content-2U5lSY{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap}.guildIcon-lQ0uiM{background-color:var(--background-primary);margin-right:16px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.applicationIcon-2SXfFQ{width:48px;height:48px}.guildIconJoined-1r7FRE{cursor:pointer}.guildIconImage-3qTk45,.guildIconJoined-1r7FRE{}.guildIconImageJoined-SepVdI{cursor:pointer}.inviteDestination-1fAcY7{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-bottom:2px}.inviteDestinationJoined-3W7Gue{cursor:pointer}.inviteDestinationJoined-3W7Gue:hover{text-decoration:underline}.channel-2hXUOG{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.channelName-3ZF3rq{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;margin-left:4px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.channelIcon-11pgiB{color:var(--text-muted)}.channelIcon-11pgiB,.status-2L8Zc7{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.status-2L8Zc7{display:block;margin-right:4px;width:8px;height:8px;border-radius:50%}.statusOnline-8PnF5L{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.statusOffline-37RKt7{background-color:hsl(214,calc(var(--saturation-factor, 1)*9.9%),50.4%)}.count-30T-5k{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;margin-right:8px;color:var(--interactive-normal);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.count-30T-5k:last-child{margin-right:0}.guildNameWrapper-1RQYer{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.guildName-2hvnt_{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guildBadge-1w1qIy{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-right:8px}.guildInfo-1STtYi{min-width:1px}.guildDetail-1nRKNE{font-size:14px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--interactive-normal);line-height:16px}.statusCounts-2qk4EE{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.inviteSplash-19Jlo6{background-color:var(--background-modifier-accent);border-radius:4px 4px 0 0;height:225px;margin:-16px -16px 16px;overflow:hidden}.inviteSplashImage-O0wmIQ{display:block;-o-object-fit:cover;object-fit:cover;opacity:0;-webkit-transition:opacity .125s;transition:opacity .125s;width:100%;height:100%}.inviteSplashImageLoaded-2ML87V{opacity:1}.button-3To2tQ{-ms-flex-item-align:center;align-self:center;margin-left:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.button-3To2tQ.buttonSize-DbrWhv{height:40px;padding-left:20px;padding-right:20px}.guildIconExpired-2Qcq05{background-color:var(--background-secondary);background-size:50px 26px;background-repeat:no-repeat;border-radius:12px;background-position:50%;width:48px;height:48px}.inviteDestinationExpired-2_1Ava{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.buttonForNonMember-ZsTpwI{display:block;margin-left:0;margin-top:16px;width:100%}@-webkit-keyframes invite-button-resolving-366-1w{0%{-webkit-transform:translate3d(-380px,0,0);transform:translate3d(-380px,0,0)}50%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(-380px,0,0);transform:translate3d(-380px,0,0)}}@keyframes invite-button-resolving-366-1w{0%{-webkit-transform:translate3d(-380px,0,0);transform:translate3d(-380px,0,0)}50%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(-380px,0,0);transform:translate3d(-380px,0,0)}}.resolving-1GhcbM{-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'374'%20height%3D'50'%3E%3Cpath%20fill%3D'%23000000'%20fill-rule%3D'evenodd'%20d%3D'M311%206h60c1.657%200%203%201.343%203%203v32c0%201.657-1.343%203-3%203h-60c-1.657%200-3-1.343-3-3V9c0-1.657%201.343-3%203-3zM62%206h124c1.657%200%203%201.343%203%203v14c0%201.657-1.343%203-3%203H62c-1.657%200-3-1.343-3-3V9c0-1.657%201.343-3%203-3zm0%2024h194c1.657%200%203%201.343%203%203v10c0%201.657-1.343%203-3%203H62c-1.657%200-3-1.343-3-3V33c0-1.657%201.343-3%203-3zM19.23%200h11.54c6.687%200%209.112.696%2011.556%202.003%202.445%201.308%204.363%203.226%205.67%205.67C49.306%2010.12%2050%2012.543%2050%2019.23v11.54c0%206.687-.696%209.112-2.003%2011.556-1.308%202.445-3.226%204.363-5.67%205.67C39.88%2049.306%2037.457%2050%2030.77%2050H19.23c-6.687%200-9.112-.696-11.556-2.003-2.445-1.308-4.363-3.226-5.67-5.67C.694%2039.88%200%2037.457%200%2030.77V19.23c0-6.687.696-9.112%202.003-11.556C3.31%205.23%205.23%203.31%207.673%202.004%2010.12.694%2012.543%200%2019.23%200z'%2F%3E%3C%2Fsvg%3E");mask:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'374'%20height%3D'50'%3E%3Cpath%20fill%3D'%23000000'%20fill-rule%3D'evenodd'%20d%3D'M311%206h60c1.657%200%203%201.343%203%203v32c0%201.657-1.343%203-3%203h-60c-1.657%200-3-1.343-3-3V9c0-1.657%201.343-3%203-3zM62%206h124c1.657%200%203%201.343%203%203v14c0%201.657-1.343%203-3%203H62c-1.657%200-3-1.343-3-3V9c0-1.657%201.343-3%203-3zm0%2024h194c1.657%200%203%201.343%203%203v10c0%201.657-1.343%203-3%203H62c-1.657%200-3-1.343-3-3V33c0-1.657%201.343-3%203-3zM19.23%200h11.54c6.687%200%209.112.696%2011.556%202.003%202.445%201.308%204.363%203.226%205.67%205.67C49.306%2010.12%2050%2012.543%2050%2019.23v11.54c0%206.687-.696%209.112-2.003%2011.556-1.308%202.445-3.226%204.363-5.67%205.67C39.88%2049.306%2037.457%2050%2030.77%2050H19.23c-6.687%200-9.112-.696-11.556-2.003-2.445-1.308-4.363-3.226-5.67-5.67C.694%2039.88%200%2037.457%200%2030.77V19.23c0-6.687.696-9.112%202.003-11.556C3.31%205.23%205.23%203.31%207.673%202.004%2010.12.694%2012.543%200%2019.23%200z'%2F%3E%3C%2Fsvg%3E");-webkit-mask-size:100%;mask-size:100%;mask-type:luminance;width:380px;height:50px;position:relative}.resolvingBackground-351jK_{position:absolute;top:0;bottom:0;left:0;width:760px;-webkit-animation:invite-button-resolving-366-1w 4s ease-in-out infinite;animation:invite-button-resolving-366-1w 4s ease-in-out infinite}.theme-light .guildIconImage-3qTk45{background-color:#fff}.theme-light .guildIconExpired-2Qcq05{background-image:url(/assets/b5d0fabb4afdf0666f3785f8c1d3beff.svg)}.theme-light .resolvingBackground-351jK_{background-image:-webkit-gradient(linear,left top,right top,from(#f6f6f7),color-stop(#dcddde),to(#f6f6f7));background-image:linear-gradient(90deg,#f6f6f7,#dcddde,#f6f6f7)}.theme-dark .guildIconImage-3qTk45{background-color:#36393f}.theme-dark .guildIconExpired-2Qcq05{background-image:url(/assets/e0c782560fd96acd7f01fda1f8c6ff24.svg)}.theme-dark .resolvingBackground-351jK_{background-image:-webkit-gradient(linear,left top,right top,from(#36393f),color-stop(#4f545c),to(#36393f));background-image:linear-gradient(90deg,#36393f,#4f545c,#36393f)}.theme-dark .background-opacity-low .wrapper-35wsBm{background:rgba(47,49,54,.3)}.theme-dark .background-opacity-low .header-2BTCnc{text-shadow:0 0 1px #202225,1px 1px 0 #202225}.theme-dark .background-opacity-low .button-3To2tQ{opacity:.8}.theme-dark .background-opacity-medium .wrapper-35wsBm{background:rgba(47,49,54,.5)}.theme-dark .background-opacity-medium .header-2BTCnc{text-shadow:0 0 1px #36393f,1px 1px 0 #36393f}.theme-dark .background-opacity-medium .guildIcon-lQ0uiM{opacity:.7}.theme-dark .background-opacity-medium .button-3To2tQ{opacity:.9}.theme-dark .background-opacity-high .wrapper-35wsBm{background:rgba(47,49,54,.6)}.theme-dark .overlay-unlocked .wrapper-35wsBm{background-color:var(--background-secondary)}.theme-dark .overlay-unlocked .header-2BTCnc{text-shadow:none}.theme-dark .overlay-unlocked .button-3To2tQ,.theme-dark .overlay-unlocked .guildIcon-lQ0uiM{opacity:1}
-.icon-3U3Ats{-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--header-secondary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-bottom:16px;margin-top:32px}.guidelines-1yD5nc{margin:8px 0}.divider-2gQcba{border:1px solid var(--background-modifier-accent);margin:24px 0}.previewSection-1h_5aj{margin-bottom:32px}.channelsWrapper-2HhUER,.rolesWrapper-2yOx9S{background-color:var(--background-secondary);border-radius:8px}.protip-cfNVNm{margin-top:8px}.protipText-2wXAoo{color:var(--text-positive);font-weight:600;text-transform:uppercase}.sectionHeader-1U00JR{color:var(--header-primary);font-size:20px;padding-bottom:8px;text-align:left}.channelsWrapper-2HhUER{padding:16px}.channel-OaJouZ{-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--channels-default);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;font-size:16px;height:30px;white-space:nowrap;text-overflow:ellipsis}.category-3W3XSi{font-size:12px;font-weight:700;margin-left:-13px;text-transform:uppercase}.category-3W3XSi .channelIcon-2s1R00{height:14px;margin-right:1px;width:14px}.channelIcon-2s1R00{margin-right:8px;width:20px;-ms-flex-negative:0;flex-shrink:0}.channelText-7rGec8{overflow:hidden;text-overflow:ellipsis}.rolesWrapper-2yOx9S{-ms-flex-wrap:wrap;flex-wrap:wrap;padding:8px}.role-3paDXR,.rolesWrapper-2yOx9S{display:-webkit-box;display:-ms-flexbox;display:flex}.role-3paDXR{-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:12px;font-weight:500;border:1px solid;border-radius:11px;-webkit-box-sizing:border-box;box-sizing:border-box;height:22px;margin:0 4px 4px 0;padding:4px}.roleCircle-3DE8xJ{border-radius:50%;width:12px;height:12px;margin-right:4px}.roleName-1JcOmP{color:var(--channels-default);max-width:200px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-right:4px}
-.modalContainer-1jCQhD,.modalSection-3QXz-E{display:-webkit-box;display:-ms-flexbox;display:flex}.modalSection-3QXz-E{width:440px}.ctaSection-izWwhs{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background:var(--background-secondary);border-top-left-radius:5px;min-height:450px}.ctaContainer-2Jtgn2{margin-top:auto;margin-bottom:auto;text-align:center;padding:32px}.formSection-1NFAGI{background:var(--background-primary);border-top-right-radius:5px;position:relative}.formContainer-1VaglF{position:absolute;width:440px;padding:0 16px;height:100%}.modalRoot-LW89o7{border-radius:5px}.modalRoot-LW89o7 .modalFooter-Xu2eIR{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;background:var(--background-tertiary)}.header-2Yglm5{text-align:center;margin-top:32px;margin-bottom:24px}
-.icon-26AID4{color:var(--interactive-normal);margin-right:8px}
-.component-1IAYeC{margin:4px 8px 4px 0}
-.content-2wNArO{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:auto;min-width:32px}.loading-3n285V{position:absolute;left:0;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.textEmoji-2Vv04G{margin-right:4px}.launchIcon-3n9VDY,.textEmoji-2Vv04G{-ms-flex-negative:0;flex-shrink:0}.launchIcon-3n9VDY{margin-left:8px}.hidden-1gw_r7{visibility:hidden}.label-3aEGGA{overflow:hidden;text-overflow:ellipsis;-ms-flex-negative:1;flex-shrink:1}
-.container-2JMhe1{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.125rem 0 .25rem}.select-z0PgeK{width:90%;max-width:400px;margin-right:16px;padding:8px;-webkit-transition:border .2s ease;transition:border .2s ease}.select-z0PgeK:hover{border-color:#040405}.selectOption-46tNpR{padding:8px}.disabled-2yRBrh{opacity:.6}.emoji-2lCmvk{margin-right:8px}.offset-2xmZwD{margin-left:27px}.tag-1hplGn{-ms-flex-negative:0;flex-shrink:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:4px;padding:4px 8px;-webkit-transition:none;transition:none;color:var(--interactive-hover);background-color:var(--interactive-muted);font-weight:400;margin:4px}.tag-1hplGn:hover{text-decoration:none}.labelContainer-3UfOIp{font-size:14px;line-height:18px}.label-3fPy-x{color:var(--header-primary);margin-bottom:4px}.description-nveHXT{color:var(--interactive-normal);display:block}.option-19HP2B{font-size:14px}.option-19HP2B,.value-FbrxsN{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.value-FbrxsN{-ms-flex-wrap:wrap;flex-wrap:wrap}.singleValue-3OF6b1{font-size:16px;gap:0}.indicator-3ZLjUU{-ms-flex-negative:0;flex-shrink:0;margin-left:auto;margin-right:14px;padding-left:14px;font-size:12px}.error-36-C3t{margin-top:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.errorIcon-3sOp0o{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);display:block;margin-right:8px}
-.container-2xsjOj{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.children-2goeSq,.container-2xsjOj{display:-webkit-box;display:-ms-flexbox;display:flex}.children-2goeSq{-ms-flex-wrap:wrap;flex-wrap:wrap}.error-2FxDDG{margin:4px 0}
-.container-1v9gV9{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;overflow:hidden}
-.popoutContent-1rAJey{padding:16px}.packName-1Cps_6{font-size:16px;line-height:20px;cursor:pointer}.packDescription-3drkLS{color:var(--text-normal);font-size:14px;line-height:18px;margin-bottom:8px;margin-top:8px}.packDescription-3drkLS strong{color:var(--header-primary)}.stickersList-Q202uA{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:8px}.stickerWrapper-16sTV0{cursor:pointer}.packActions-2i3SLO{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:8px}.premiumButtonNitroWheel-27R34z{margin-right:4px}.premiumButtonInner-qFK5R7{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.premiumButton-28hSN6{margin-bottom:8px}.theme-dark .countdownIcon-B3jzQN{color:#fbb848}.theme-light .popoutContent-1rAJey,.theme-light .popoutLoader-2HV5kI{background-color:var(--background-floating);-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high)}.theme-light .countdownIcon-B3jzQN{color:#ff8a00}.nonInteractingSticker-2tXsnD{opacity:.5}
-.clickableSticker-3HmpgV{cursor:pointer}.stickerName-37a8JB{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;grid-gap:4px}.stickerIcon-2Tdq9J{height:16px;width:16px;margin-right:2px}
-.modalText-3ayZPW{margin-bottom:20px}
-.spine-5jbOmI{border-bottom-left-radius:8px;border-bottom:2px solid var(--background-accent);border-left:2px solid var(--background-accent);bottom:29px;position:absolute;top:0;left:-2.5rem;width:2.25rem}.spine-5jbOmI.systemMessageSpine-3ZKfiO{bottom:32px;left:-2rem;width:1.75rem}.spine-5jbOmI.cozy-XCy5h_{display:none}.container-3hZ-gs{background-color:var(--background-secondary);border-radius:4px;cursor:pointer;margin-top:8px;max-width:480px;min-width:0;padding:8px}.systemMessageContainer-2ddkN3{margin-top:0}.topLine-1hV9bl{display:-webkit-box;display:-ms-flexbox;display:flex}.name-1qtoQ5{color:var(--header-primary);margin-right:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cta-3MixHV,.name-1qtoQ5{font-size:0.875rem;font-weight:600;line-height:1.125rem}.cta-3MixHV{color:var(--text-link);-ms-flex-negative:0;flex-shrink:0}.container-3hZ-gs:hover .cta-3MixHV{text-decoration:underline}.bottomLine-2qB7L6{-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--header-secondary);display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:2px;white-space:nowrap}.bottomLine-2qB7L6,.timestamp-1Kyoes{font-size:0.875rem;line-height:1.125rem}.timestamp-1Kyoes{color:var(--text-muted);-ms-flex-negative:0;flex-shrink:0;margin-left:8px}.archivedText-120wQz{font-style:italic}.clock-3KKiOw{margin-left:6px}
-.embed-IeVjo6{position:relative;display:grid;max-width:520px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:4px}.embed-IeVjo6 .emoji{width:18px;height:18px}.embed-IeVjo6 pre{max-width:100%;border:none}.embed-IeVjo6 code{border:none;background:var(--background-tertiary);scrollbar-color:var(--background-secondary) var(--background-tertiary)}.embed-IeVjo6 blockquote{max-width:100%}.embedFull-2tM8--{border-left:4px solid var(--background-tertiary);background:var(--background-secondary)}.embedAuthorName-3mnTWj,.embedAuthorNameLink-1gVryT,.embedDescription-1Cuq9a,.embedFieldName-NFrena,.embedFieldValue-nELq2s,.embedFooterText-28V_Wb,.embedLink-1G1K1D,.embedProvider-3k5pfl,.embedTitle-3OXDkz,.embedTitleLink-1Zla9e{unicode-bidi:-moz-plaintext;unicode-bidi:plaintext;text-align:left}.grid-1nZz7S{overflow:hidden;padding:.5rem 1rem 1rem .75rem;display:inline-grid;grid-template-columns:auto;grid-template-rows:auto}.grid-1nZz7S.hasThumbnail-3FJf1w{grid-template-columns:auto -webkit-min-content;grid-template-columns:auto min-content}.embedMargin-UO5XwE{margin-top:8px}.embedLink-1G1K1D{text-decoration:none;cursor:pointer}.embedLink-1G1K1D:hover{text-decoration:underline}.embedSuppressButton-1FonMn{opacity:0;position:absolute;top:-2px;right:-20px;cursor:pointer;padding:2px;color:var(--interactive-normal)}.embed-IeVjo6:focus-within .embedSuppressButton-1FonMn,.embed-IeVjo6:hover .embedSuppressButton-1FonMn{opacity:1}.embedSuppressButton-1FonMn:hover{color:var(--interactive-hover)}.embedProvider-3k5pfl{font-size:0.75rem;line-height:1rem;font-weight:400;grid-column:1/1}@media (-webkit-max-device-pixel-ratio:1){.theme-light .embedProvider-3k5pfl{font-weight:500}}.embedAuthor-3l5luH{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;grid-column:1/1}.embedAuthorName-3mnTWj{font-size:0.875rem;font-weight:600}@media (-webkit-max-device-pixel-ratio:1){.theme-light .embedAuthorName-3mnTWj{font-weight:500}}.embedAuthorNameLink-1gVryT{}.embed-IeVjo6 .embedAuthorNameLink-1gVryT{color:var(--header-primary)}.embedAuthorIcon--1zR3L{margin-right:8px;width:24px;height:24px;-o-object-fit:contain;object-fit:contain;border-radius:50%}.embedTitle-3OXDkz{font-size:1rem;font-weight:600;display:inline-block;grid-column:1/1}.embedTitleLink-1Zla9e{}.embedDescription-1Cuq9a{font-size:0.875rem;line-height:1.125rem;font-weight:400;white-space:pre-line;grid-column:1/1}@media (-webkit-max-device-pixel-ratio:1){.theme-light .embedDescription-1Cuq9a{font-weight:500}}.embedImage-2W1cML,.embedThumbnail-2Y84-K,.embedVideo-3nf0O9{display:block;-o-object-fit:fill;object-fit:fill}.embedImage-2W1cML img,.embedImage-2W1cML video,.embedThumbnail-2Y84-K img,.embedThumbnail-2Y84-K video,.embedVideo-3nf0O9 img,.embedVideo-3nf0O9 video{display:block;border-radius:4px}.embedGalleryImagesWrapper-2Qn2vv{grid-column:1/2;display:grid;grid-template-columns:1fr 1fr;-webkit-column-gap:4px;-moz-column-gap:4px;column-gap:4px;overflow:hidden;border-radius:4px;margin-top:16px}.embedGallerySide-1Hu9Bp{overflow:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.embedGallerySide-1Hu9Bp,.embedGallerySide-1Hu9Bp>a{display:-webkit-box;display:-ms-flexbox;display:flex}.embedGallerySide-1Hu9Bp>a{margin:0;border-radius:0;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-width:100%;max-width:100%;min-height:calc(50% - 2px)}.embedGallerySide-1Hu9Bp>a:only-child{min-height:100%}.embedGallerySide-1Hu9Bp>a:nth-child(2){margin-top:4px}.embedGalleryImageElement-3Vxxsp{position:absolute;-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.embedThumbnail-2Y84-K{grid-row:1/8;grid-column:2/2;margin-left:16px;margin-top:8px;-ms-flex-negative:0;flex-shrink:0;justify-self:end}.embedVideo-3nf0O9{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;background-color:rgba(0,0,0,.05)}.centerContent-1dpMl0,.embedVideoActions-O6vR7W,.embedVideoImageComponent-34z3di{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.embedVideoImageComponent-34z3di{width:100%!important;height:100%!important;max-height:100%;border-radius:0}.embedVideoImageComponentInner-2Ujh_1{width:100%!important;height:100%!important;-o-object-fit:cover;object-fit:cover}.embedVideoActions-O6vR7W{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.embedVideoAction-2BIhKO{width:24px;height:24px;background:none;background-size:24px 24px;display:inline-block;opacity:.6}.embedVideoAction-2BIhKO:hover{opacity:1}.embedIframe-2hcNY5{width:100%;height:100%;display:block}.embedGIFTag-n_mDqR{position:absolute;top:4px;right:4px}.embedFooter-3yVop-{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;grid-row:auto/auto;grid-column:1/1}.hasThumbnail-3FJf1w .embedFooter-3yVop-{grid-column:1/3}.embedFooterText-28V_Wb{font-size:0.75rem;line-height:1rem;font-weight:500;color:var(--text-normal)}@media (-webkit-max-device-pixel-ratio:1){.theme-light .embedFooterText-28V_Wb{font-weight:500}}.embedFooterSeparator-3klTIQ{font-weight:500;color:var(--text-normal);display:inline-block;margin:0 4px}.embedFooterIcon-239O1f{margin-right:8px;width:20px;height:20px;-o-object-fit:contain;object-fit:contain;border-radius:50%}.embedFields-2IPs5Z{display:grid;grid-column:1/1;margin-top:8px;grid-gap:8px}.embedField-1v-Pnh{font-weight:400}.embedField-1v-Pnh,.embedFieldName-NFrena{font-size:0.875rem;line-height:1.125rem;min-width:0}.embedFieldName-NFrena{font-weight:600;margin-bottom:2px}.embedFieldValue-nELq2s{font-size:0.875rem;line-height:1.125rem;font-weight:400;white-space:pre-line;min-width:0}.embedMedia-1guQoW{grid-column:1/1;border-radius:4px;contain:paint}.hasThumbnail-3FJf1w .embedMedia-1guQoW{grid-column:1/3}.embedFull-2tM8-- .embedMedia-1guQoW{margin-top:16px}@media (-webkit-max-device-pixel-ratio:1){.theme-light .embedFieldName-NFrena{font-weight:600}}@media (-webkit-max-device-pixel-ratio:1){.theme-light .embedFieldValue-nELq2s{font-weight:400}}.embedDescription-1Cuq9a,.embedFieldValue-nELq2s{color:var(--text-normal)}.embedProvider-3k5pfl .embedLink-1G1K1D{color:var(--interactive-normal)}.embedProvider-3k5pfl .embedLink-1G1K1D:hover{color:var(--interactive-hover)}.embedAuthorName-3mnTWj,.embedFieldName-NFrena,.embedTitle-3OXDkz{color:var(--header-primary)}.embedAuthor-3l5luH,.embedDescription-1Cuq9a,.embedFields-2IPs5Z,.embedFooter-3yVop-,.embedMedia-1guQoW,.embedProvider-3k5pfl,.embedTitle-3OXDkz{min-width:0}.background-opacity-low .embedFull-2tM8--{background-color:rgba(47,49,54,.2);border-left-color:rgba(32,34,37,.4)!important}.background-opacity-low .embedFull-2tM8-- code{background:rgba(32,34,37,.4)}.background-opacity-low .embedThumbnail-2Y84-K{opacity:.4}.background-opacity-low .embedSpotify-tvxDCr{opacity:.8}.background-opacity-low .embedSpotify-tvxDCr:hover{opacity:1}.background-opacity-low .embedDescription-1Cuq9a,.background-opacity-low .embedFieldValue-nELq2s,.background-opacity-low .embedFooterText-28V_Wb,.background-opacity-low .embedProvider-3k5pfl{color:#fff!important;text-shadow:0 0 1px rgba(0,0,0,.3)}.background-opacity-low .embedTitleLink-1Zla9e{color:var(--text-link)!important;text-shadow:0 0 1px hsla(0,0%,100%,.3),0 0 3px rgba(0,0,0,.6)}.background-opacity-medium .embedFull-2tM8--{background-color:rgba(47,49,54,.2);border-left-color:rgba(32,34,37,.4)!important}.background-opacity-medium .embedFull-2tM8-- code{background:rgba(32,34,37,.4)}.background-opacity-medium .embedThumbnail-2Y84-K{opacity:.4}.background-opacity-medium .embedSpotify-tvxDCr{opacity:.8}.background-opacity-medium .embedSpotify-tvxDCr:hover{opacity:1}.background-opacity-medium .embedDescription-1Cuq9a,.background-opacity-medium .embedFieldValue-nELq2s,.background-opacity-medium .embedFooterText-28V_Wb,.background-opacity-medium .embedProvider-3k5pfl{color:null!important;text-shadow:0 0 1px rgba(0,0,0,.2)}.background-opacity-medium .embedTitleLink-1Zla9e{color:var(--text-link)!important;text-shadow:0 0 1px hsla(0,0%,100%,.2),0 0 3px rgba(0,0,0,.4)}.background-opacity-high .embedFull-2tM8--{background-color:rgba(47,49,54,.2);border-left-color:rgba(32,34,37,.4)!important}.background-opacity-high .embedFull-2tM8-- code{background:rgba(32,34,37,.4)}.background-opacity-high .embedThumbnail-2Y84-K{opacity:.4}.background-opacity-high .embedSpotify-tvxDCr{opacity:.9}.background-opacity-high .embedSpotify-tvxDCr:hover{opacity:1}.background-opacity-high .embedDescription-1Cuq9a,.background-opacity-high .embedFieldValue-nELq2s,.background-opacity-high .embedFooterText-28V_Wb,.background-opacity-high .embedProvider-3k5pfl{text-shadow:0 0 1px rgba(0,0,0,.2)}.background-opacity-high .embedTitleLink-1Zla9e{text-shadow:0 0 1px hsla(0,0%,100%,.2),0 0 3px rgba(0,0,0,.4)}.spoilerEmbed-1fzvzg.hiddenSpoiler-3i0zpa{cursor:pointer;overflow:hidden}.spoilerEmbed-1fzvzg.hiddenSpoiler-3i0zpa .grid-1nZz7S{-webkit-transition:-webkit-filter .1s ease-out;transition:-webkit-filter .1s ease-out;transition:filter .1s ease-out;transition:filter .1s ease-out,-webkit-filter .1s ease-out;-webkit-filter:blur(44px);filter:blur(44px);pointer-events:none}.overlay-unlocked .embedSpotify-tvxDCr,.overlay-unlocked .embedThumbnail-2Y84-K{opacity:1}.spoilerAttachment-1LrKiO.hiddenSpoiler-3i0zpa{-webkit-filter:blur(44px);filter:blur(44px);pointer-events:none;-webkit-transition:-webkit-filter .1s ease;transition:-webkit-filter .1s ease;transition:filter .1s ease;transition:filter .1s ease,-webkit-filter .1s ease}
-.ephemeralMessage-1fEWtQ{margin-top:4px;font-size:12px;font-weight:400;color:var(--text-muted)}.icon-2ZUv7M{margin-right:4px;vertical-align:text-bottom}@media (-webkit-max-device-pixel-ratio:1){.theme-light .ephemeralMessage-1fEWtQ{font-weight:500}}
-.attachment-33OFj0{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:3px;letter-spacing:0;max-width:520px;width:100%;padding:10px;border:1px solid transparent}.attachmentInner-3vEpKt{-webkit-box-flex:1;-ms-flex:1;flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.icon-1kp3fr{width:30px;height:40px;margin-right:8px;-ms-flex-negative:0;flex-shrink:0}.filenameWrapper-1sY0qo{}.filename-3eBB_v{font-weight:400;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@media (-webkit-max-device-pixel-ratio:1){.theme-light .filename-3eBB_v{font-weight:500}}.metadata-3WGS0M{font-weight:300;color:#72767d;margin-right:8px}.rate-1kMjTj{-ms-flex-negative:0;flex-shrink:0;margin-left:8px;min-width:60px;text-align:right}.progressContainer-3ao-eu{height:16px;display:-webkit-box;display:-ms-flexbox;display:flex-1O1GKY;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.progress-3Rbvu0{background-color:rgba(114,118,125,.3)}.cancelButton-3hVEV6,.downloadButton-23tKQp,.size-1Arx_I{margin-left:4px}.cancelButton-3hVEV6,.downloadButton-23tKQp{color:var(--interactive-normal);cursor:pointer}.cancelButton-3hVEV6:hover,.downloadButton-23tKQp:hover{color:var(--interactive-hover)}.downloadWrapper-vhAtLx{display:block;width:24px;height:24px;margin-right:8px}.filenameLinkWrapper-1-14c5{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.fileNameLink-9GuxCo:hover{text-decoration:underline}.attachment-33OFj0{border-color:var(--background-secondary-alt);background-color:var(--background-secondary)}.filename-3eBB_v{color:var(--interactive-active)}.filenameLinkWrapper-1-14c5{color:var(--text-link)}.size-1Arx_I{color:var(--text-muted)}
-.inline-2bgipb{opacity:1;-webkit-transition:all .1s ease;transition:all .1s ease}.inline-2bgipb.hiddenSpoilers-1ksnR6{visibility:hidden}.spoiler-1PPAUc{-webkit-transition:all .1s ease;transition:all .1s ease}.spoiler-1PPAUc.hiddenSpoilers-1ksnR6{-webkit-filter:blur(44px);filter:blur(44px);pointer-events:none}.removeAttachmentButton-2qVPxg{opacity:0;position:absolute;top:-2px;right:-20px;cursor:pointer;color:var(--interactive-normal);padding:2px}.messageAttachment-1aDidq{position:relative}.messageAttachment-1aDidq:focus-within .removeAttachmentButton-2qVPxg,.messageAttachment-1aDidq:hover .removeAttachmentButton-2qVPxg{opacity:1}.removeAttachmentButton-2qVPxg:hover{color:var(--interactive-hover)}
-.learnMoreLink-3H5-aT{cursor:pointer;color:var(--text-link)}
-.separator-3ANTTx{height:1px;margin-top:16px;margin-bottom:16px;background-color:var(--background-modifier-accent)}
-.flex-32dgJs{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.header-3qymWa{text-align:start;margin-top:16px}.header-3qymWa.embed-1cTuq4{margin-top:0}.listeners-qGG-NC{color:var(--interactive-normal)}.live-3pJRI7{color:hsl(139,calc(var(--saturation-factor, 1)*85.6%),64.5%)}.speakers-kEGflI{-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.members-1BI21N,.speakers-kEGflI{display:-webkit-box;display:-ms-flexbox;display:flex}.members-1BI21N{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:12px}.members-1BI21N.embed-1cTuq4{margin-top:8px}.speaker-1HW9IK{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:34%;flex-basis:34%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:4px 8px 4px 0;overflow:hidden}.label-3jnO6p{margin-left:8px}.background-2vw-bh{border-radius:12px;padding:4px 8px}.background-2vw-bh,.icon-1kl4sN{background-color:var(--background-tertiary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.icon-1kl4sN{border-radius:50%;height:20px;width:20px}.icon-1kl4sN.embed-1cTuq4{height:16px;width:16px}.guild-1H1MQY{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;margin:8px 0}.guild-1H1MQY.embed-1cTuq4{margin:12px 0}.guildInfo-3bTId5{margin-left:12px;text-align:start}.dot-38181A{width:8px;height:8px;background-color:hsl(139,calc(var(--saturation-factor, 1)*85.6%),64.5%);border-radius:50%;margin-right:4px}.alignStart-2FQjAH{text-align:start}.avatar-30KUrI{width:20px!important;height:20px!important}.username-3Lwvlv{margin-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:pre}.theme-light .live-3pJRI7{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}
-.container-1qJFPO{position:relative}.iconContainer-1dtWOo{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16px;height:16px;position:relative;margin-right:4px}.icon-2s94H-{position:relative;color:#b9bbbe;width:100%}.foreground-3bBkqt,.icon-2s94H-{opacity:.6}.avatar-1j43gH{margin-right:-4px}.avatarSize-EXG1Is{width:20px!important;height:20px!important}.emptyUser-3FRJaF{width:20px;height:20px;border-radius:50%;background:#4f545c}.avatarMasked-3y6o4j{-webkit-mask-image:url(/assets/2ad33adc723eef7837aa4432d8b8e1be.svg);mask-image:url(/assets/2ad33adc723eef7837aa4432d8b8e1be.svg);-webkit-mask-position:0 0;mask-position:0 0;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.moreUsers-1s5Her{position:relative;background-color:#4f545c;font-size:12px;font-weight:700;color:#b9bbbe;height:20px;line-height:20px;border-radius:10px;padding:0 8px 0 6px}
-.inFront-1tn07g{z-index:2}.invite-18yqGF{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;height:145px;padding:20px;border-radius:5px;overflow:hidden;max-width:400px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid transparent;cursor:default}.fullHeight-24whqn{height:100%}.coverImageWrapper-22d5LB{pointer-events:none;position:absolute;top:0;bottom:0;right:0;z-index:0;width:100%;height:100%;max-width:145px;opacity:.6;border-radius:0 5px 5px 0;overflow:hidden}.coverImage-3cjWkd{width:100%;height:100%;background-size:100%;background-repeat:no-repeat;-webkit-mask:-webkit-gradient(linear,left top,right top,from(transparent),color-stop(60%,hsla(0,0%,100%,.4)));-webkit-mask:linear-gradient(90deg,transparent,hsla(0,0%,100%,.4) 60%);mask:-webkit-gradient(linear,left top,right top,from(transparent),color-stop(60%,hsla(0,0%,100%,.4)));mask:linear-gradient(90deg,transparent,hsla(0,0%,100%,.4) 60%)}.coverImageActionable-1TMryE{}.coverImageActionable-1TMryE.blurred-UUeCTs{-webkit-filter:blur(5px);filter:blur(5px)}.coverImageNotActionable-1MP2Mx{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.coverImageNotActionable-1MP2Mx.blurred-UUeCTs{-webkit-filter:blur(5px) grayscale(100%);filter:blur(5px) grayscale(100%)}.artwork-1vrmJ_{width:100px;height:100px;border-radius:5px;position:relative;z-index:1}.artworkActionable-10hKry{}.artworkNotActionable-3519Nv{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.artworkSpotifySessionEnded-11d_If{background-size:100%;background-repeat:no-repeat;background-position:50%}.header-Hg_qNF{text-transform:uppercase;font-size:12px;line-height:12px;font-weight:700}.partyStatus-6AjDud{font-size:18px}.actionAndParty-3DXneA{margin-right:0;max-height:32px}.actionButton-1Vu3oO{-ms-flex-negative:0;flex-shrink:0}.name-GG2Mcs{font-size:14px;font-weight:600;margin-left:5px;text-align:right;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.partyMembers-fGLW2R{margin-left:20px;overflow:hidden;white-space:nowrap}.partyMember-2WUkBE{position:relative}.partyMemberKnown-2QGebq{cursor:pointer}.partyAvatar-34PPpo{width:22px!important;height:22px!important}.partyMemberEmpty-2iyh5g{width:22px}.moreUsers-1sZP3U,.partyMemberEmpty-2iyh5g{height:22px;border-radius:50%}.moreUsers-1sZP3U{min-width:18px;line-height:22px;text-align:center;padding:0 2px}.helpIcon-2EyVTp{position:absolute;top:8px;right:8px;border-radius:50%;display:none;opacity:.6;width:14px;height:14px;z-index:1;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.helpIcon-2EyVTp:hover{opacity:1}.invite-18yqGF:hover .helpIcon-2EyVTp{display:-webkit-box;display:-ms-flexbox;display:flex}.details-3NqflA,.state-2dqgON{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:240px;font-size:16px;line-height:16px;padding-bottom:4px}.textLink-3aPthL:hover{text-decoration:underline}.theme-dark .invite-18yqGF{background:rgba(47,49,54,.6);border-color:rgba(47,49,54,.9)}.theme-dark .artworkSpotifySessionEnded-11d_If{background-image:url(/assets/fb6a21ef85b63dec6e7c01c683904e8f.svg)}.theme-dark .header-Hg_qNF{color:#72767d}.theme-dark .name-GG2Mcs,.theme-dark .partyStatus-6AjDud{color:#fff}.theme-dark .moreUsers-1sZP3U{background-color:#4f545c}.theme-dark .partyMemberEmpty-2iyh5g{background:#4f545c}.theme-dark .helpIcon-2EyVTp{background-color:#fff}.theme-dark .textLink-3aPthL,.theme-dark .message-group .textLink-3aPthL{color:#fff}.theme-dark .background-opacity-high .invite-18yqGF,.theme-dark .background-opacity-low .invite-18yqGF,.theme-dark .background-opacity-medium .invite-18yqGF{opacity:.4}.theme-dark .overlay-unlocked .invite-18yqGF{opacity:1}.theme-light .invite-18yqGF{background:rgba(246,246,247,.6);border-color:rgba(220,221,222,.3)}.theme-light .artworkSpotifySessionEnded-11d_If{background-image:url(/assets/97e866482f43d3ebd2496641cd934904.svg)}.theme-light .header-Hg_qNF{color:#72767d}.theme-light .name-GG2Mcs,.theme-light .partyStatus-6AjDud{color:#4f545c}.theme-light .moreUsers-1sZP3U{background-color:#dcddde}.theme-light .partyMemberEmpty-2iyh5g{background:#dcddde}.theme-light .helpIcon-2EyVTp{background-color:#4f545c}.theme-light .textLink-3aPthL,.theme-light .message-group .textLink-3aPthL{color:#4f545c}
-.container-o3RxSG{width:100%}
-.darkElevationLow-2CR-wO{-webkit-box-shadow:0 1px 5px 0 rgba(0,0,0,.3);box-shadow:0 1px 5px 0 rgba(0,0,0,.3)}.darkElevationHigh-3atPWj{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 2px 10px 0 rgba(0,0,0,.2)}.darkElevationBorderLow-2_RpRZ{-webkit-box-shadow:0 0 0 1px rgba(32,34,37,.6),0 1px 5px 0 rgba(0,0,0,.3);box-shadow:0 0 0 1px rgba(32,34,37,.6),0 1px 5px 0 rgba(0,0,0,.3)}.darkElevationBorderHigh-eY3zE_{-webkit-box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2)}.lightElevationLow-336Ql0{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.2);box-shadow:0 1px 5px rgba(0,0,0,.2)}.lightElevationHigh-30hdii{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.1);box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}.lightElevationBorderLow-oPAJJ0{-webkit-box-shadow:0 0 0 1px rgba(185,187,190,.3),0 1px 5px rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(185,187,190,.3),0 1px 5px rgba(0,0,0,.2)}.lightElevationBorderHigh-1GVmu6{-webkit-box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1);box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1)}.theme-light .elevationLow-126AxN{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.2);box-shadow:0 1px 5px rgba(0,0,0,.2)}.theme-light .elevationHigh-1PneE4{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.1);box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}.theme-light .elevationBorderLow-2H_Rsq{-webkit-box-shadow:0 0 0 1px rgba(185,187,190,.3),0 1px 5px rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(185,187,190,.3),0 1px 5px rgba(0,0,0,.2)}.theme-light .elevationBorderHigh-2_BGCd{-webkit-box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1);box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1)}.theme-dark .elevationLow-126AxN{-webkit-box-shadow:0 1px 5px 0 rgba(0,0,0,.3);box-shadow:0 1px 5px 0 rgba(0,0,0,.3)}.theme-dark .elevationHigh-1PneE4{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 2px 10px 0 rgba(0,0,0,.2)}.theme-dark .elevationBorderLow-2H_Rsq{-webkit-box-shadow:0 0 0 1px rgba(32,34,37,.6),0 1px 5px 0 rgba(0,0,0,.3);box-shadow:0 0 0 1px rgba(32,34,37,.6),0 1px 5px 0 rgba(0,0,0,.3)}.theme-dark .elevationBorderHigh-2_BGCd{-webkit-box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2)}.container-2VW0UT{padding:10px 10px 10px 16px;overflow:hidden;border-radius:5px}.button-1x2ahC{margin-left:10px}.resetButton-1zF_G8{padding-left:0;padding-right:0}.message-c9-HCF{font-weight:500;font-size:16px;line-height:20px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.theme-light .notice-2mjo_8{background-color:hsla(180,calc(var(--saturation-factor, 1)*7.7%),97.5%,.95)}.theme-dark .notice-2mjo_8{background:rgba(32,34,37,.95)}.theme-dark .message-c9-HCF{color:#fff}
-.slider-2neXMg{position:absolute;left:0;right:0;bottom:0}
-.formItem-2DUsqN{width:100%;padding:0;margin-bottom:24px}.formItem-2DUsqN:last-child{margin-bottom:0}.settingsFormItem-103g1I{width:100%;margin-bottom:16px;border-radius:8px;padding:16px;background-color:var(--background-secondary)}.wrapperBase-x09xGp{border-radius:4px;padding:8px 12px}.formFieldWrapper-malor5{background-color:var(--background-secondary)}.formFieldWrapper-malor5,.settingsFormFieldWrapper-3Y77Pr{border:1px solid var(--background-tertiary)}.settingsFormFieldWrapper-3Y77Pr{background-color:var(--background-secondary-alt)}.verificationIcon-FinFJj{color:var(--interactive-normal);margin-right:8px}.verificationCheckmark-1coNFS{color:var(--text-positive);margin-right:8px;width:16px;height:16px}.termsRow-2dS5nm{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;padding:16px 4px;border-bottom:1px solid var(--background-modifier-accent)}.termsRow-2dS5nm:first-child{padding-top:8px}.termsRow-2dS5nm:last-child{border-bottom:none;padding-bottom:8px}.termsRowContent-24S2LO{padding-left:12px;white-space:pre-wrap;width:calc(100% - 12px);overflow-wrap:break-word}.checkbox-BXy2rz{margin-top:16px;cursor:pointer}.checkboxText-20IXco{font-weight:500}.formItemDescription-1RUg6B{margin-bottom:8px}.verifyConfirmText-c_pBxg{-webkit-box-sizing:border-box;box-sizing:border-box;height:32px;padding:8px}.settingsLink-uq19Vg{margin-top:8px}.radioItem-1lWDqB{border:1px solid var(--background-modifier-accent)}
-.card-3veb4J,.spacing-1QIWht{}.card-3veb4J{padding:10px}.error-3C5PHt{}.warning-1WIX3i{color:#fff}
-.phoneField-38N1bJ{border-radius:5px;padding:2px;position:relative;background-color:var(--background-secondary);border:1px solid var(--deprecated-text-input-border)}.phoneField-38N1bJ .countryButton-3xq3Ts{height:32px;padding-left:8px;padding-right:8px;border-radius:3px;margin:4px}.phoneField-38N1bJ .countryButtonInner-3LEFZi{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.phoneField-38N1bJ .countryCodeContainer-2RZ4jt{padding-left:4px;padding-right:4px}.phoneField-38N1bJ .plusSign-15Cgdh{margin-right:2px;color:#fff}.phoneField-38N1bJ .countryCode-2TeNMX{text-align:center;color:#fff}.phoneField-38N1bJ .phoneFieldExpand-2DzY5G{stroke:#fff}.phoneField-38N1bJ .inputField-aNPXsv{background-color:var(--background-secondary);color:var(--text-normal);-webkit-box-sizing:border-box;box-sizing:border-box;height:40px;padding:10px;border:none;font-size:16px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.phoneField-38N1bJ .sendButton-1Gsc4p{margin-right:4px}
-.phoneVerificationModal-OzcDc3{position:relative;width:440px;min-height:252px;padding:16px}.phoneVerificationModal-OzcDc3 .animationContainer-WJHr_z{position:absolute;top:-150px;left:130px;right:130px}.phoneVerificationModal-OzcDc3 .title-3qNdae{color:var(--header-primary);font-weight:700;font-size:20px;margin-top:auto;padding-top:80px}.phoneVerificationModal-OzcDc3 .description-3JBgvQ{color:var(--text-normal);font-size:16px;text-align:center;line-height:20px}.phoneVerificationModal-OzcDc3 .description-3JBgvQ.error-1E-Ycl{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.phoneVerificationModal-OzcDc3 .field-wKpjTl{-ms-flex-item-align:stretch;align-self:stretch}
-.container-19nk2r{padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;width:720px;height:auto;border-radius:8px}.guildSidebar-2OCzWB{border-top-left-radius:8px;border-bottom-left-radius:8px;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--background-secondary);padding:24px;width:256px;-ms-flex-negative:0;flex-shrink:0}.guildDescription-122n1Y{white-space:pre-wrap}.guildIcon-38Zs0M{border-radius:8px;margin:auto auto 8px;background-color:var(--background-secondary)}.guildName-2TIjNT{margin:16px 0}.emojisContainer-19mZ0z{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.emoji-3C344l{margin-right:8px;-o-object-fit:contain;object-fit:contain;background-position:50%;background-repeat:no-repeat}.emoji-3C344l,.onlineCount-27XuPk{margin-bottom:8px}.dot-14Jva_{border-radius:50%;width:8px;height:8px;margin-right:8px}.dotOnline-2wEpt_{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.dotMembers-1XEUE5{background-color:var(--text-muted)}.divider-2FB3wK{margin:24px 0;border:none;border-bottom:1px solid var(--background-modifier-accent)}.modal-f02hVt{width:100%;overflow-x:hidden;border-top-right-radius:8px;border-bottom-right-radius:8px;background-color:var(--background-primary)}.modal-f02hVt,.sequencer-GH6NxK{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.sequencer-GH6NxK{min-height:100%}.modalContent-1iyOR2::-webkit-scrollbar-track-piece:start{margin-top:4px}.modalContent-1iyOR2::-webkit-scrollbar-track-piece:end{margin-bottom:4px}.content-3wJ8G6{padding:24px 8px;text-align:center}.centerContent-3pbrOl{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.closeButton-1aXUE8{position:absolute;top:8px;right:8px;z-index:2}.applicationIcon-1_YMdt{width:88px}.animationAndSparklesContainer-MGS9s5{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:80px}.sparkleIcon-2uxoYp{height:12px;width:12px}.sparkleTop-qBeDaK{-ms-flex-item-align:start;align-self:flex-start;margin-right:auto}.sparkleBottom-1AUcMi{-ms-flex-item-align:end;align-self:flex-end;margin-left:auto}.animation-vamXOL{height:56px;width:56px;margin-left:4px;margin-top:12px}.header-3WG5kX{margin:8px 0}.verificationForm-lhyAxu{text-align:initial}.footer-1JuRYY{background-color:var(--background-secondary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.submitButton-YEItfy{margin-left:12px}.formItem-LXNO4Q{text-align:initial;margin-bottom:24px}.resendButton-3WkctP{margin:24px auto}.confirmation-2zE9ir{max-width:440px;-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high);text-align:center}.confirmationContent-1LS30-{padding:24px 24px 0}.confirmationButtonRow-2J_xOl{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;background-color:var(--background-secondary);margin-top:24px;padding:12px 8px;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:0 0 4px 4px}.confirmationButton-1s3fqt{width:100%;margin:4px}.confirmationButtonColumn-X0tXMk{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:auto;padding:12px 12px 20px}.notice-3UEAq4{pointer-events:all;position:absolute;bottom:0;left:0;max-width:740px;margin:0 auto 16px}.rejectionReasonLabel-3CSyvn{margin-right:4px}.rejectionReason-31OKzD{color:var(--text-warning)}.theme-dark .footer-1JuRYY,.theme-light .footer-1JuRYY{background-color:var(--background-primary);-webkit-box-shadow:inset 0 1px 0 var(--background-modifier-accent);box-shadow:inset 0 1px 0 var(--background-modifier-accent)}
-.container-2Uhd6d{background-color:var(--background-floating);border-radius:8px;padding:16px;-webkit-box-shadow:var(--elevation-high),var(--elevation-stroke);box-shadow:var(--elevation-high),var(--elevation-stroke);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.content-3MbD2f{margin-left:24px;max-width:320px}.buttonContainer-3CyfSO{margin-top:16px;display:-webkit-box;display:-ms-flexbox;display:flex}.cancel-m57-lx{color:var(--interactive-normal);margin-left:24px}.cancel-m57-lx:hover{color:var(--interactive-hover)}.cancel-m57-lx:active{color:var(--interactive-active)}.image-3OQMFm{width:64px;height:64px}
-.reactions-12N0jA{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-bottom:-.5rem;padding-bottom:.25rem}.icon-2uw6mp,.reactionBtn-3N03Zj{width:1rem;height:1rem}.reactionBtn-3N03Zj{margin-left:.25rem;margin-bottom:.125rem;cursor:pointer;visibility:hidden;color:var(--interactive-normal)}.reactionBtn-3N03Zj:hover .icon-2uw6mp{color:var(--interactive-hover)}.reactionBtn-3N03Zj.active-1pv5EN .icon-2uw6mp,.reactionBtn-3N03Zj:active .icon-2uw6mp{color:var(--interactive-active)}.reactionBtn-3N03Zj.active-1pv5EN,.reactions-12N0jA:hover .reactionBtn-3N03Zj{visibility:visible}.reaction-1hd86g{border-radius:.5rem;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-negative:0;flex-shrink:0;margin-right:.25rem;margin-bottom:.25rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transition:none .1s ease;transition:none .1s ease;-webkit-transition-property:background-color,border-color;transition-property:background-color,border-color;background:var(--background-secondary);border:1px solid transparent}.reaction-1hd86g.reactionReadOnly-bYgwi9{cursor:not-allowed}.reaction-1hd86g .emoji{width:1rem;height:1rem;margin:.125rem 0;min-width:auto;min-height:auto}.reaction-1hd86g .emoji-text{color:var(--text-normal);vertical-align:-.125rem;display:inline-block}.reaction-1hd86g:hover{background-color:var(--background-primary);border-color:hsla(0,0%,100%,.2)}.reaction-1hd86g:hover .reactionCount-2mvXRV{color:var(--interactive-hover)}.reaction-1hd86g:active{background-color:var(--background-secondary-alt);border-color:transparent}.reaction-1hd86g:active .reactionCount-2mvXRV{color:var(--interactive-active)}.reaction-1hd86g.reactionMe-wv5HKu{background-color:var(--brand-experiment-15a);border-color:var(--brand-experiment)}.reaction-1hd86g.reactionMe-wv5HKu .reactionCount-2mvXRV{color:var(--brand-experiment-200)}.low-contrast .reaction-1hd86g.reactionMe-wv5HKu{background-color:var(--brand-experiment-15a);border-color:var(--brand-experiment-50a)}.low-contrast .reaction-1hd86g.reactionMe-wv5HKu .reactionCount-2mvXRV{color:var(--brand-experiment-300)}.reactionInner-15NvIl{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.125rem .375rem}.reactionCount-2mvXRV{font-size:0.875rem;font-weight:500;margin-left:.375rem;text-align:center;color:var(--interactive-normal)}.theme-light .reaction-1hd86g:hover{border-color:rgba(0,0,0,.2)}.theme-light .reaction-1hd86g.reactionMe-wv5HKu{background-color:var(--brand-experiment-160);border-color:var(--brand-experiment)}.theme-light .reaction-1hd86g.reactionMe-wv5HKu .reactionCount-2mvXRV{color:var(--brand-experiment)}.background-opacity-high .reaction-1hd86g,.background-opacity-low .reaction-1hd86g,.background-opacity-medium .reaction-1hd86g{background-color:rgba(41,43,47,.2)}.background-opacity-high .reactionCount-2mvXRV,.background-opacity-low .reactionCount-2mvXRV,.background-opacity-medium .reactionCount-2mvXRV{color:#fff}.background-opacity-high .reaction-1hd86g.reactionMe-wv5HKu,.background-opacity-low .reaction-1hd86g.reactionMe-wv5HKu,.background-opacity-medium .reaction-1hd86g.reactionMe-wv5HKu{background-color:var(--brand-experiment-50a)}.reactionTooltip-3pvwwY{max-width:234px}.reactionTooltipContent-2TwEIL{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:12px;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.reactionTooltipEmoji-3LG0v8{width:32px;height:32px}.reactionTooltipText-u4NWre{margin-left:12px}
-.container-1ov-mD{display:grid;grid-auto-flow:row;grid-row-gap:.25rem;text-indent:0;min-height:0;min-width:0;padding-top:.125rem;padding-bottom:.125rem;position:relative}.container-1ov-mD:empty{display:none}.container-1ov-mD>*{justify-self:start;-ms-flex-item-align:start;align-self:start}.gifFavoriteButton-2SKrBk{display:block;margin:0 0 0 auto;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transform:translateY(-16px);transform:translateY(-16px);-webkit-transition:opacity .1s ease,-webkit-transform .2s ease;transition:opacity .1s ease,-webkit-transform .2s ease;transition:transform .2s ease,opacity .1s ease;transition:transform .2s ease,opacity .1s ease,-webkit-transform .2s ease}.embedWrapper-lXpS3L:hover .gifFavoriteButton-2SKrBk{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.giftCodeContainer-1fbmAS{width:100%}.confirmText-hRazmx{margin-bottom:12px}
-.container-1sFeqf{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.keybind-KpFkfr{margin-top:8px;font-weight:600;font-size:13px;text-align:center}.closeButton-1tv5uR{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:0;-ms-flex:0 0 36px;flex:0 0 36px;border-width:2px;border-style:solid;border-radius:50%;width:36px;height:36px;cursor:pointer}.closeButton-1tv5uR:active{-webkit-transform:translateY(1px);transform:translateY(1px)}.theme-light .keybind-KpFkfr{color:#dcddde}.theme-light .closeButton-1tv5uR{border-color:#dcddde}.theme-light .closeButton-1tv5uR:hover{background-color:#f6f6f7}.theme-dark .keybind-KpFkfr{color:#72767d}.theme-dark .closeButton-1tv5uR{border-color:#72767d}.theme-dark .closeButton-1tv5uR:hover{background-color:rgba(114,118,125,.3)}.theme-dark .keybindBold-1942Wp{color:#b9bbbe}.theme-dark .closeButtonBold-8kKURP{border-color:#b9bbbe}.theme-dark .closeButtonBold-8kKURP:hover{background-color:rgba(185,187,190,.3)}
-.wrapper-3nSjSv{background:-webkit-gradient(linear,left top,right top,from(hsl(221,calc(var(--saturation-factor, 1)*70%),55.5%)),to(hsl(269,calc(var(--saturation-factor, 1)*83.8%),71%))) no-repeat;background:linear-gradient(90deg,hsl(221,calc(var(--saturation-factor, 1)*70%),55.5%),hsl(269,calc(var(--saturation-factor, 1)*83.8%),71%)) no-repeat;border-radius:8px;color:#fff;margin-top:24px;padding:16px 32px;position:relative;text-align:center}.wrapper-3nSjSv:before{position:absolute;top:-44px;right:-82px;background-image:url(/assets/03d37220fc9a402dfc1ac0fc3a0e68f0.svg);background-repeat:no-repeat;content:"";width:168px;height:88px}.heading-4znNKq{color:inherit;margin-bottom:16px}.headingTier1-K4ha7e{margin-bottom:8px}.headingSecondary-3zTbX4{color:inherit;font-size:16px;font-weight:600;margin-bottom:24px}.tiersList-2U0Dkr{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:16px}.tier-1EY-yj{background-color:hsla(0,0%,100%,.06);border-radius:8px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:1;-ms-flex:1 1 50%;flex:1 1 50%;font-size:16px;line-height:20px;padding:16px}.tierVertical-2ePkZj{}.tierVertical-2ePkZj+.tierVertical-2ePkZj{margin-left:16px}.tierVertical-2ePkZj .tierLogo-3qD3yx{margin-bottom:16px}.tierHorizontal-1rquh_{display:-webkit-box;display:-ms-flexbox;display:flex}.tierHorizontal-1rquh_ .tierLogo-3qD3yx{margin-right:36px}.perk-1g1yg-{display:-webkit-box;display:-ms-flexbox;display:flex;font-weight:600;text-align:left}.perk-1g1yg-+.perk-1g1yg-{margin-top:8px}.perkAvailable-2qYI1g{}.perkUnavailable-64O5T5{opacity:.5}.perkAvailabilityIcon-1FFCXW{margin-right:10px;width:16px;height:16px}.perkLabel-3D5r9t{margin-bottom:4px}.perkDescription-l3rPzJ{margin:0}.action-2cD_qI{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}
-.wrapper-1hrFc0{margin:0 auto;max-width:440px;text-align:center}.heading-3VWlBM{margin-bottom:12px}.originalPrice-3YTVmi{text-decoration:line-through;color:var(--text-muted)}
-.singleItemWrapper-1AvlNV{width:100%}.carousel-18mXWH,.singleItemWrapper-1AvlNV{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.carousel-18mXWH{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.item-287JPa{-webkit-box-flex:1;-ms-flex:1 0 100%;flex:1 0 100%}.singleItem-3vMkVo{margin:0 auto}.viewport-W8LvWa{overflow:hidden}
-.progressBar-2Hd4f8{position:relative;height:24px}.bar-_YsHvC{border-radius:4px}.barBackground-2EEiLw{position:absolute;top:10px;left:12px;right:12px;height:4px;overflow:hidden}.barForeground-3KglC8,.barSecondary-3B1aP2{position:absolute;height:100%}.tierMarkerContainer-2BmgqV{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;position:absolute;left:12px;right:12px}.tierMarkerContainer-2BmgqV,.tierMarkerGroup-xg6A1d{display:-webkit-box;display:-ms-flexbox;display:flex}.tierMarkerGroup-xg6A1d{position:relative}.tierMarker-5HkGJ_,.tierMarkerGroup-xg6A1d{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.tierMarker-5HkGJ_{position:absolute;border-radius:50%;width:20px;height:20px;top:2px;left:-10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.tierMarkerAccomplished-2MiXeg,.tierMarkerInProgress-24LMzJ{}.tierMarkerSelectable-3t7r2q{cursor:pointer}.tierMarkerBackground-3q29am{position:absolute;border-radius:50%;width:32px;height:32px;left:-16px;top:-4px}.currentTierIcon-2gcTCn{width:6px;height:10px;pointer-events:none}.tierMarkerLabelContainer-1qM0Ak{margin-top:28px;white-space:nowrap;position:absolute;height:32px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.tierMarkerLabelContainer-1qM0Ak,.tierMarkerLabelText-F_zS1F{font-size:14px;font-weight:600;display:-webkit-box;display:-ms-flexbox;display:flex}.tierMarkerLabelText-F_zS1F{text-align:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:0;padding:4px;color:var(--interactive-normal);-webkit-transition:background-color .2s ease,color .2s ease;transition:background-color .2s ease,color .2s ease;border-radius:4px;background-color:transparent}.selectedTier-1JkO7i .tierMarkerLabelText-F_zS1F{color:var(--interactive-active)}.tierMarkerLabelText-F_zS1F:not(.isAccomplished-2EpZfL):hover{background-color:var(--background-modifier-selected)}.tierMarkerLabelPlusIcon-1OS7E9{margin-left:4px;color:hsl(302,calc(var(--saturation-factor, 1)*100%),72.5%)}.barForeground-3KglC8{background-color:hsl(302,calc(var(--saturation-factor, 1)*100%),72.5%)}.barSecondary-3B1aP2{background-color:var(--interactive-hover)}.theme-dark .barBackground-2EEiLw{background-color:#202225}.theme-dark .tierMarkerBackground-3q29am{background-color:#36393f}.theme-dark .currentTierIcon-2gcTCn,.theme-dark .selectedTier-1JkO7i .tierMarkerLabelText-F_zS1F{color:#fff}.theme-light .barBackground-2EEiLw{background-color:#ebedef}.theme-light .tierMarkerBackground-3q29am{background-color:#fff}.theme-light .tierMarkerInProgress-24LMzJ .currentTierIcon-2gcTCn{color:#4f5660}.theme-light .tierMarkerAccomplished-2MiXeg .currentTierIcon-2gcTCn{color:#fff}.theme-dark .selectedTier-1JkO7i .tierMarker-5HkGJ_,.theme-light .selectedTier-1JkO7i .tierMarker-5HkGJ_{-webkit-box-shadow:0 4px 8px rgba(0,0,0,.24);box-shadow:0 4px 8px rgba(0,0,0,.24)}.theme-dark .tierMarkerInProgress-24LMzJ .currentTierIcon-2gcTCn.tier3Icon-Ku4Ahe,.theme-light .tierMarkerInProgress-24LMzJ .currentTierIcon-2gcTCn.tier3Icon-Ku4Ahe{color:hsl(302,calc(var(--saturation-factor, 1)*100%),72.5%)}
-.icon-3p9T60{}.theme-dark .unlocked-251xRB,.theme-light .unlocked-251xRB{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.theme-dark .emoji-14TyAm,.theme-light .emoji-14TyAm{color:#fed648}.theme-dark .animated-XlVkOl,.theme-light .animated-XlVkOl{color:#b0c8fd}.theme-dark .audio-PN_OoN,.theme-light .audio-PN_OoN{color:#4173da}.theme-dark .customization-1Iu5cE,.theme-light .customization-1Iu5cE{color:#86dcc5}.theme-dark .upload-2-2ZMI,.theme-light .upload-2-2ZMI{color:#ff80f4}.theme-dark .vanity-284TLk,.theme-light .vanity-284TLk{color:#fc964b}.theme-dark .stream-3mNTxK,.theme-light .stream-3mNTxK{color:#80a5fe}.theme-dark .sticker-3_72rM,.theme-light .sticker-3_72rM{color:#d09aff}
-.ctaBar-2UsjF2{background-repeat:no-repeat;background-size:auto 100%;padding:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:4px;background-color:var(--background-secondary)}.guildDetails-oP2_kA{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;margin-right:16px;overflow:hidden}.guildSubscriptionInfo-3cJF-B{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.guildIcon-3raYf3{background-color:var(--background-primary);border-radius:100px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-right:16px}.guildName-39nwo0{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.subscriberCountWrapper-3cfGTE{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:8px}.bageIcon-3Lda3Y,.subscriberCountWrapper-3cfGTE{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.bageIcon-3Lda3Y{margin-right:4px;width:16px;height:16px}.badgeIconWithoutSubscribers-3A9Xol,.badgeIconWithSubscribers-3PlMu9{}.badgeIconWithSubscribers-3PlMu9{color:hsl(302,calc(var(--saturation-factor, 1)*100%),72.5%)}.guildSubscriptionInfoSubscriberCount-sQQL0_{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;font-weight:700}.userSubscriptionCount-3ccreY{color:var(--interactive-normal)}.actions-2fUYl0,.userSubscriptionCount-3ccreY{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.actions-2fUYl0{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.giftAction-yhDLaW{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;margin-top:8px}.giftActionContent-2dKrVJ{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.giftIcon-ZxlWk5{width:16px;height:16px;margin-right:8px;cursor:pointer}.giftIcon-ZxlWk5:hover{opacity:1}.iconButton-3ElKLY{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.getPremiumIcon-3Z-Sl3{width:16px;height:16px;margin-right:4px}.theme-dark .ctaBar-2UsjF2{background-image:url(/assets/94ff6fdc535b6ecb7b1bc54f2dd56a10.svg)}.theme-dark .giftIcon-ZxlWk5{color:#b9bbbe}.theme-dark .badgeIconWithoutSubscribers-3A9Xol{color:#72767d}.theme-light .ctaBar-2UsjF2{background-image:url(/assets/f6af0869894912b0d08e2729fd9c22c9.svg)}.theme-light .giftIcon-ZxlWk5{color:#fff}.theme-light .badgeIconWithoutSubscribers-3A9Xol{color:#9099a4}
-.subscription-3aLGnG{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-secondary);border-radius:8px;padding:16px}.subscriptionInfo-2wfGYJ{margin-left:16px}.tierInfo-tIXZkU{display:-webkit-box;display:-ms-flexbox;display:flex}.tierInfo-tIXZkU,.tierPill-1yRO48{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.tierPill-1yRO48{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-item-align:start;align-self:flex-start;padding:4px 8px 4px 4px;border-radius:11px;font-size:12px;line-height:14px}.tierPillStar-34rvoJ{width:16px;height:16px;margin-right:5px}.guildIcon-bY4Rsy{background-color:var(--background-primary)}.guildName-3Q3DTO{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-bottom:8px;font-size:16px;font-weight:700;line-height:20px;color:var(--header-primary)}.levelIcon-MBl0h_{width:16px;height:16px;margin:0 4px}.levelDownIcon-3eNqAg{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.levelUpIcon-1VeO4o{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.theme-dark .tierPill-1yRO48{background-color:#36393f;color:#fff}.theme-dark .tierPillStar-34rvoJ{color:#fff}.theme-dark .tierPillGem-3zcO2T{color:#4f545c}.theme-light .boost-4xzKsM{background-color:#e3e5e8}.theme-light .guildName-3Q3DTO{color:#4f5660}.theme-light .tierPill-1yRO48{background-color:#fff;color:#4f5660}.theme-light .tierPillStar-34rvoJ{color:#747f8d}.theme-light .tierPillGem-3zcO2T{color:#fff}
-.content-2bjdSf{padding-bottom:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.guildCard-1ZRYY8{margin:16px 0}.image-1kcgs9{background-repeat:no-repeat;background-size:100%;-ms-flex-item-align:center;align-self:center;margin:20px 0;-ms-flex-negative:0;flex-shrink:0}.transferGuildCardHeader-29rebZ{text-transform:uppercase;font-weight:700;margin-top:16px}.activeTransferGuildCardBorder-2jUQ7t{background:-webkit-gradient(linear,right top,left top,from(hsl(269,calc(var(--saturation-factor, 1)*83.8%),71%)),to(hsl(221,calc(var(--saturation-factor, 1)*70%),55.5%)));background:linear-gradient(270deg,hsl(269,calc(var(--saturation-factor, 1)*83.8%),71%),hsl(221,calc(var(--saturation-factor, 1)*70%),55.5%));padding:2px}.activeTransferGuildCardBorder-2jUQ7t,.transferFromGuildCard-2BiPCE{margin-top:8px;border-radius:8px}.transferToGuildCard-1S-m5v{border-radius:8px}.error-3xOMUr{margin:16px}.pendingCancellation-2dWNGg{margin-top:16px;padding:8px 16px;background:var(--info-warning-background);display:-webkit-box;display:-ms-flexbox;display:flex;border-radius:4px;border:1px solid var(--info-warning-foreground);-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pendingCancellationIcon-37Hfji{color:var(--text-warning);-ms-flex-negative:0;flex-shrink:0}.pendingCancellationMessage-3Z1T-5{color:var(--text-normal);margin-left:10px}
-.modal-1xfRX3{overflow:hidden}.selectHeaderContainer-3If65_{z-index:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.selectHeader-1Ge_-Z{margin-bottom:16px}.selectSearch-3Qk9To{width:100%}.selectContent-1Riibb{padding:8px 0}.selectGuild-1Ygl76{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:8px 6px;margin:0 8px;cursor:pointer;border-radius:4px}.selectGuild-1Ygl76:hover{background-color:var(--background-secondary-alt)}.selectGuildName-eFAtJ9{margin-left:12px}.confirmImage-2pGr87{width:264px;height:134px}.transferConfirmImage-1SYwXp{width:216px;height:128px}.successBody-2dH8eB{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-bottom:20px}.successAnimation-1rcoI5{width:300px;height:200px}.quantitySelectorBody-1mRZvy{margin-top:20px}.quantitySelectorDescription-3vuWyD,.quantitySelectorHeader-3yR55s{margin-bottom:16px}.quantitySelectorWrapper-2yl054{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin:32px auto}.quantitySelectorLabel-wVuQrI{line-height:20px;margin-left:16px}.modalCloseButton-2O2UDY{position:absolute;right:12px;top:12px;opacity:.8}.modalCloseButton-2O2UDY:hover{opacity:1}.theme-dark .confirmImage-2pGr87{background-image:url(/assets/19298ddf142a1ceaf0adaeda2f224490.svg)}.theme-dark .transferConfirmImage-1SYwXp{background-image:url(/assets/da122e6ea7c85ec7db00cf1949dad206.svg)}.theme-dark .tierPill-3gJ0eN{background-color:#36393f;color:#fff}.theme-light .confirmImage-2pGr87{background-image:url(/assets/19298ddf142a1ceaf0adaeda2f224490.svg)}.theme-light .transferConfirmImage-1SYwXp{background-image:url(/assets/60a561f293f7769527f40116503320a5.svg)}.theme-light .tierPill-3gJ0eN{background-color:#fff;color:#4f5660}
-.gemSheen-3yIyuX{opacity:.45}
-.perks-3OsGy8{display:grid;grid-gap:16px;grid-template-columns:repeat(3,1fr)}.perk-2WeBWW{border-radius:8px;display:-webkit-box;display:-ms-flexbox;display:flex;padding:16px}.icon-QVoPRH{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-right:8px;width:24px;height:24px}.theme-dark .perk-2WeBWW{background-color:#2f3136}.theme-light .perk-2WeBWW{background-color:#f8f9f9}.theme-dark .icon-QVoPRH,.theme-light .icon-QVoPRH{color:hsl(302,calc(var(--saturation-factor, 1)*100%),72.5%)}
-.perksModal-fSYqOq{background:no-repeat bottom;background-size:100%;height:100%}.perksModalContentWrapper-2HU6uL{padding:64px 0 96px}.closeWrapper-9ScmSq{position:absolute;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-top:32px;z-index:1}.closeContent-I3JbQJ,.closeWrapper-9ScmSq{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.closeContent-I3JbQJ{position:fixed;max-width:660px;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.closeIcon-3_iQ6l{position:relative;right:-120px}.content-2qfHzC{position:relative;max-width:660px;width:100%;margin:0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.headerGraphic-nVhv-X{display:block;margin-bottom:16px;width:95px;height:60px}.headerGraphic-nVhv-X,.headerLogo--hLLAk{-ms-flex-item-align:center;align-self:center}.headerLogo--hLLAk{margin-bottom:24px;width:334px;height:32px}.headerBlurb-1GxBrq{margin-bottom:36px;text-align:center}.progressBarWrapper-15RqAy{margin-top:64px;min-height:24px;opacity:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.progressBarWrapperVisible-3L7cSB{opacity:1}.carouselContainer-2-vIZS{margin:56px 0 24px;position:relative;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.carouselContainerVisible-1JVIpW{opacity:1}.carouselPlaceholder-3pnpOf{width:100%;opacity:0;min-height:286px}.carousel-6MSnEI{height:calc(100% + 24px)}.carouselItem-g4c5Xp{height:100%}.carouselItemSelected-JFUsnG{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.carouselItemClickable-3Corbv{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tierDefaultUnlocked-3OzMTb{margin-bottom:16px}.tierDefaultUnlockedDescription-1w5VQU{margin-top:10px}.tierWrapper-W9ajqp{height:100%;border-radius:4px}.tier-12tKuZ{border-radius:4px;height:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.tier-12tKuZ,.tierHeader---JJFb{display:-webkit-box;display:-ms-flexbox;display:flex}.tierHeader---JJFb{-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:16px;border-radius:4px 4px 0 0;position:relative}.tierHeaderLocked-1s2JJz,.tierHeaderUnlocked-1n-OTI{}.tierIcon-2qSKGj{width:32px;height:32px}.tierTitle-y7BLPl{margin-left:16px;font-size:16px;line-height:20px;-webkit-box-flex:1;-ms-flex:1;flex:1;font-weight:600}.tierLock-3CSxSX{width:30px;height:30px;margin-left:16px}.tierUnlocked-25K6Kv{border-radius:10px;padding:4px 8px;font-size:12px;font-weight:600;text-transform:uppercase}.tierRequirements-dGesMA{font-size:14px}.tierBody-16Chc9{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:16px;border-radius:0 0 4px 4px;-webkit-box-sizing:border-box;box-sizing:border-box;font-weight:500;color:var(--text-normal)}.previousPerks-izQoDD{font-size:14px;line-height:18px;margin-bottom:16px}.perk-7exmS5{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:14px}.perk-7exmS5:first-child{margin-top:0}.newBadge-25C6UM{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:8px;text-transform:uppercase}.perkIcon-3bbUNB{width:20px;height:20px;-ms-flex-negative:0;flex-shrink:0}.perkText-1RKyIP{font-size:14px;line-height:16px;margin-left:8px}.subscriberPerksHeader-2a50UC{margin-bottom:24px;margin-top:32px;text-align:center;font-weight:600}.divider-25_-sM{height:1px;background:var(--background-modifier-accent);margin:32px 0}.slideIn-1PaRPY{margin:0 auto 16px;max-width:660px}.theme-dark .perksModal-fSYqOq{background-image:url(/assets/c486dc65ce2877eeb18e4c39bb49507a.svg);background-color:#36393f}.theme-dark .headerLogo--hLLAk{color:#fff}.theme-dark .tierHeaderLocked-1s2JJz{background-color:#18191c;color:#72767d}.theme-dark .tierLock-3CSxSX{color:#4f545c}.theme-dark .tierBody-16Chc9{background-color:#202225}.theme-light .perksModal-fSYqOq{background-image:url(/assets/8c1fd3ecbbf620ec49cecda2aa53f256.svg);background-color:#fff}.theme-light .headerLogo--hLLAk{color:#23262a}.theme-light .tierHeaderLocked-1s2JJz{background-color:#f8f9f9;color:#9099a4}.theme-light .tierLock-3CSxSX{color:#9099a4}.theme-light .tierBody-16Chc9{background-color:#fff;border:1px solid #ebedef}.theme-dark .tierHeaderUnlocked-1n-OTI,.theme-light .tierHeaderUnlocked-1n-OTI{background-image:-webkit-gradient(linear,left top,right top,from(hsl(221,calc(var(--saturation-factor, 1)*70%),55.5%)),to(hsl(269,calc(var(--saturation-factor, 1)*83.8%),71%)));background-image:linear-gradient(90deg,hsl(221,calc(var(--saturation-factor, 1)*70%),55.5%),hsl(269,calc(var(--saturation-factor, 1)*83.8%),71%));color:#fff}.theme-dark .tierUnlocked-25K6Kv,.theme-light .tierUnlocked-25K6Kv{background-color:#fff;color:var(--brand-experiment)}
-.header-2RyJ0Y,.item-PXvHYJ{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;-ms-flex-negative:0;flex-shrink:0;font-weight:500}.header-2RyJ0Y{font-size:12px;font-weight:700;font-family:var(--font-display);line-height:16px;text-transform:uppercase;color:var(--channels-default)}.item-PXvHYJ{position:relative;font-size:16px;line-height:20px;cursor:pointer}.brand-1Zl8en.item-PXvHYJ,.themed-OHr7kt.item-PXvHYJ{color:var(--interactive-normal)}.brand-1Zl8en.item-PXvHYJ:hover,.themed-OHr7kt.item-PXvHYJ:hover{color:var(--interactive-hover)}.brand-1Zl8en.item-PXvHYJ:active,.themed-OHr7kt.item-PXvHYJ:active{color:var(--interactive-active)}.separator-gCa7yv{background-color:var(--background-modifier-accent)}.selected-3s45Ha.item-PXvHYJ,.selected-3s45Ha.item-PXvHYJ:hover{cursor:default;color:var(--interactive-active)}.selected-3s45Ha{cursor:default}.disabled-1Hwwfb.item-PXvHYJ,.disabled-1Hwwfb.item-PXvHYJ:hover{cursor:default;color:var(--interactive-muted)}.side-8zPYf6{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.side-8zPYf6 .header-2RyJ0Y,.side-8zPYf6 .item-PXvHYJ{padding:6px 10px}.side-8zPYf6 .header-2RyJ0Y:first-child{padding-top:0}.side-8zPYf6 .item-PXvHYJ{padding-top:6px;padding-bottom:6px;margin-bottom:2px;border-radius:4px}.side-8zPYf6 .separator-gCa7yv{margin:8px 10px;height:1px}.top-28JiJ-{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.top-28JiJ- .item-PXvHYJ{border-bottom:2px solid transparent}.top-28JiJ- .disabled-1Hwwfb.item-PXvHYJ{cursor:not-allowed}.top-28JiJ- .themed-OHr7kt.item-PXvHYJ:hover{border-bottom-color:var(--interactive-hover)}.top-28JiJ- .selected-3s45Ha.themed-OHr7kt.item-PXvHYJ,.top-28JiJ- .themed-OHr7kt.item-PXvHYJ:active{border-bottom-color:var(--interactive-active)}.top-28JiJ- .brand-1Zl8en.item-PXvHYJ:hover{border-bottom-color:var(--brand-experiment)}.top-28JiJ- .brand-1Zl8en.item-PXvHYJ:active,.top-28JiJ- .brand-1Zl8en.selected-3s45Ha.item-PXvHYJ{border-bottom-color:var(--control-brand-foreground)}.top-28JiJ- .disabled-1Hwwfb.brand-1Zl8en.item-PXvHYJ:hover,.top-28JiJ- .disabled-1Hwwfb.themed-OHr7kt.item-PXvHYJ:hover{border-bottom-color:transparent}.topPill-30KHOu{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.topPill-30KHOu .item-PXvHYJ{border-radius:4px;margin:0 8px;padding:2px 8px}.topPill-30KHOu .separator-gCa7yv{width:1px}.side-8zPYf6 .themed-OHr7kt.item-PXvHYJ:hover:not(.disabled-1Hwwfb),.topPill-30KHOu .themed-OHr7kt.item-PXvHYJ:hover:not(.disabled-1Hwwfb){background-color:var(--background-modifier-hover)}.side-8zPYf6 .themed-OHr7kt.item-PXvHYJ:active:not(.disabled-1Hwwfb),.topPill-30KHOu .themed-OHr7kt.item-PXvHYJ:active:not(.disabled-1Hwwfb){background-color:var(--background-modifier-active)}.side-8zPYf6 .themed-OHr7kt.selected-3s45Ha.item-PXvHYJ,.topPill-30KHOu .themed-OHr7kt.selected-3s45Ha.item-PXvHYJ{background-color:var(--background-modifier-selected)}
-.container-1KFiob{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;min-height:400px;padding:32px;text-align:center}.iconContainer-2eZPr4{margin-bottom:16px;position:relative}.icon-3pEw1v{background-color:var(--background-primary);border-radius:80px;color:var(--interactive-normal);display:inline-block;padding:22px}.stars-1dLESH{position:absolute;left:-10px}.header-2e3dsI{margin-bottom:8px}.cta-3fjU95{margin-top:24px}
-.container-2I9Hud{background-color:var(--background-primary);border:1px solid var(--background-primary);border-radius:8px;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;height:72px;margin-bottom:8px;padding:15px}.container-2I9Hud:hover{border-color:var(--background-accent)}.left-3P8WCO{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;min-width:0}.authorName-2_A-Lf,.messageContent-19B5yF,.subtext-pjj1kJ,.threadName-2iLyXl{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.facepile-3d8JVS{margin-left:16px;-ms-flex-negative:0;flex-shrink:0}.subtext-pjj1kJ{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.avatar-5gCvH8,.noAvatarIcon-1rVwh9{-ms-flex-negative:0;flex-shrink:0;margin-right:8px}.noAvatarIcon-1rVwh9{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-tertiary);border-radius:16px;display:-webkit-box;display:-ms-flexbox;display:flex;height:16px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:16px}.authorName-2_A-Lf{-ms-flex-negative:0;flex-shrink:0;font-weight:600;max-width:150px}.messageContent-19B5yF{-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--header-secondary);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:1;flex-shrink:1;white-space:pre}.messageContent-19B5yF .inline{white-space:pre!important}.messageContent-19B5yF .mention{pointer-events:none}.messageContentIcon-yzjShp{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:20px;height:20px;margin-left:4px}.bullet-1-Smkp{color:var(--background-accent);padding:0 8px}
-.list-wek7hJ{padding:0 16px}.activeThreadsList-3f7l7U{padding-top:16px}.sectionHeader-17Aate{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;font-weight:700;height:24px;margin-bottom:8px;text-transform:uppercase}.divider-VEsXul{position:relative;height:32px}.divider-VEsXul:before{content:"";position:absolute;background-color:var(--background-modifier-accent);top:16px;left:0;right:0;height:1px}.controls-1kKWv_{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;height:64px}.tabBar-wS4pjJ{height:64px}.tabBar-wS4pjJ,.tabBar-wS4pjJ .tab-17bjMB{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box}.tabBar-wS4pjJ .tab-17bjMB{display:-webkit-box;display:-ms-flexbox;display:flex;height:24px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-left:0;margin-top:0;text-align:center}.theme-dark .list-wek7hJ .tabBar-wS4pjJ .tab-17bjMB.active-3JUHqX{background-color:var(--background-accent)}.moderatorView-1h-CbZ{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.checkbox-Aywj5i{margin-right:4px}.infoIcon-2hKaOh{margin-left:4px;position:relative;top:2px}.spinner-2xn1Ci{margin:64px 0}
-.container-7uh5fX{background-color:var(--background-secondary);border-radius:8px;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:default;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.container-7uh5fX,.header-1VS4tm{display:-webkit-box;display:-ms-flexbox;display:flex}.header-1VS4tm{background-color:var(--background-tertiary);height:48px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:48px;padding:0 16px}.closeIcon-3CcYvY,.divider-mDc_D8,.tabBar-31Wimb,.threadIcon-3XJhLD,.title-wn-Ecb{-ms-flex-negative:0;flex-shrink:0}.threadIcon-3XJhLD{margin-right:8px}.divider-mDc_D8,.tabBar-31Wimb .tab-PQvTH4,.title-wn-Ecb{margin-right:16px}.closeIcon-3CcYvY,.threadIcon-3XJhLD{color:var(--interactive-normal)}.closeIcon-3CcYvY{cursor:pointer}.closeIcon-3CcYvY:hover{color:var(--interactive-hover)}.divider-mDc_D8{width:1px;height:24px;background-color:var(--background-modifier-accent)}.tabBar-31Wimb .tab-PQvTH4{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;height:24px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-left:0;text-align:center}.spacer-3a3inN{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.createButton-nlV8qH{margin-right:16px;padding:2px 8px;height:24px;font-size:16px}.theme-dark .header-1VS4tm .tabBar-31Wimb .tab-PQvTH4.active-30vPlA{background-color:var(--background-accent)}
-.modal-2DCYwU{background-color:var(--background-secondary)!important;border-radius:8px;min-height:400px;height:60vh;width:600px}.browser-27EVtf{overflow:hidden}
-.container-3-pyIM{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;color:var(--channels-default);-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-top:.125rem;padding-bottom:.125rem}.compact-2zYMSo{margin-left:-4ch}.content-2M3n_H{font-weight:400;font-size:1rem;line-height:1.375rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.content-2M3n_H a{cursor:pointer;color:var(--interactive-active);font-weight:500}.content-2M3n_H .actionAnchor-gzc_5z{color:var(--text-link)}.low-saturation .content-2M3n_H a{color:var(--interactive-active);text-decoration:none}@media (-webkit-max-device-pixel-ratio:1){.theme-light .content-2M3n_H{font-weight:500}.theme-light .content-2M3n_H a{font-weight:600}}.iconContainer-3GkGRf{position:absolute;width:2.5rem;right:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-top:.25rem}.compact-2zYMSo .iconContainer-3GkGRf{margin-right:1rem}.font-size-24 .cozy-12TNg0 .iconContainer-3GkGRf{width:3rem}.font-size-20 .cozy-12TNg0 .iconContainer-3GkGRf{width:3.5rem}.font-size-18 .cozy-12TNg0 .iconContainer-3GkGRf{width:4rem}.font-size-12 .cozy-12TNg0 .iconContainer-3GkGRf,.font-size-14 .cozy-12TNg0 .iconContainer-3GkGRf,.font-size-15 .cozy-12TNg0 .iconContainer-3GkGRf,.font-size-16 .cozy-12TNg0 .iconContainer-3GkGRf{width:4.5rem}.compact-2zYMSo .iconContainer-3GkGRf{position:relative;width:auto;right:auto}.icon-2Po-VO{background-repeat:no-repeat;background-size:1rem 1rem}.iconSize-2tmqqh{width:1rem;height:1rem}.action-3CzlXl,.actionAnchor-gzc_5z{margin-left:3px}.actionAnchor-gzc_5z{cursor:pointer}.timestamp-1E3uAL{display:inline-block;font-size:0.75rem;line-height:1.375rem;letter-spacing:0;font-weight:400;text-transform:none;margin-left:6px;color:var(--text-muted)}@media (-webkit-max-device-pixel-ratio:1){.theme-light .timestamp-1E3uAL{font-weight:500}}.background-opacity-low .content-2M3n_H{color:#fff;text-shadow:0 0 1px #202225,1px 1px 0 #202225}.background-opacity-low .content-2M3n_H a{color:var(--interactive-active)}.background-opacity-high .content-2M3n_H,.background-opacity-medium .content-2M3n_H{color:#f6f6f7;text-shadow:0 0 1px #36393f,1px 1px 0 #36393f}.background-opacity-high .content-2M3n_H a,.background-opacity-medium .content-2M3n_H a{color:var(--interactive-active)}.background-opacity-low .timestamp-1E3uAL,.background-opacity-medium .timestamp-1E3uAL{color:#dcddde}.background-opacity-high .timestamp-1E3uAL{color:#b9bbbe}
-.messageApplicationCommand-254pK0{display:block}.messageIconContainer-ATaEy6{padding-top:0;margin:0 auto;width:72px}.messageIconContainer-ATaEy6 svg{width:1.25rem;height:1.25rem}.header-2oHmnr{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;-ms-flex-wrap:wrap;flex-wrap:wrap;color:var(--header-primary)}.username-mkom4A:hover{cursor:pointer;text-decoration:underline}.command-2EsN1V{display:inline-block;color:var(--brand-experiment);font-weight:500;cursor:pointer}.avatar-2zAdlE{width:1.125rem;height:1.125rem;vertical-align:text-top;margin-right:.25rem;border-radius:1rem}.application-C5rmZP{font-weight:500}.spine-1UneWn{--gutter-height:1.5rem;--gutter-width:72px;--spine-padding:2px;--spine-width:2px;position:absolute;width:calc(-1*var(--spine-width)/2 + -1*var(--spine-padding) + var(--gutter-width)/2);height:var(--gutter-height);-webkit-box-sizing:border-box;box-sizing:border-box;bottom:calc(-1*var(--gutter-height) - var(--spine-padding));left:calc((-1*var(--spine-width) + var(--gutter-width))/2);border-left:var(--spine-width) solid var(--background-accent);border-bottom:var(--spine-width) solid var(--background-accent);border-right:0 solid var(--background-accent);border-top:0 solid var(--background-accent);border-bottom-left-radius:6px}.content-2Kddbs{border-radius:.25rem;color:var(--header-secondary);padding:.5rem;margin-top:.25rem}.cozy-3I4Ja9.content-2Kddbs{background-color:var(--background-secondary)}.compact-38pFhv.messageApplicationCommand-254pK0{display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:-4.125rem;margin-bottom:.125rem}.compact-38pFhv .messageIconContainer-ATaEy6{top:0;right:0;margin:0;padding-top:0;width:3.75rem}.compact-38pFhv .content-2Kddbs{padding:0}.compact-38pFhv .spine-1UneWn{--gutter-width:100%;--gutter-height:1rem;margin-left:calc(-1*var(--spine-width))}
-.channelNameChange-1wTsWB{color:var(--header-primary)}
-.messageContent-3iPlyo{display:inline-block}.alertIcon-3BK_0H{color:var(--text-warning);width:16px;height:16px}
-.live-vBWnV6{padding:0 6px;font-weight:600;text-transform:uppercase}.liveShapeRound-32u79-{border-radius:16px}.liveShapeRoundLeft-Fg3Fev{border-radius:16px 0 0 16px}.liveShapeRoundRight-19jrQx{border-radius:0 16px 16px 0}.grey-nh6urR{background-color:var(--interactive-muted);color:var(--interactive-normal)}.liveLarge-3zs2Zq{font-size:14px;line-height:18px}.liveSmall-1dy2uA{font-size:12px;line-height:16px}
-.wrapper-r-6rrt{width:100%;height:100%;max-width:440px;margin-left:auto;margin-right:auto}.image-1GzsFd{background-size:100% 100%}.title-2BxgL2{font-size:17px;line-height:22px;font-weight:600;text-transform:uppercase}.text-GwUZgS,.title-2BxgL2{text-align:center}.text-GwUZgS{font-size:16px;line-height:20px}.theme-light .text-GwUZgS,.theme-light .title-2BxgL2{color:rgba(185,187,190,.9)}.theme-dark .text-GwUZgS,.theme-dark .title-2BxgL2{color:#72767d}
-.container-3auIfb{position:relative;width:40px;height:24px}.container-3auIfb,.input-rwLH4i{border-radius:14px;cursor:pointer}.input-rwLH4i{position:absolute;opacity:0;width:100%;height:100%}.input-rwLH4i[disabled]{cursor:not-allowed;pointer-events:none}.slider-TkfMQL{display:block;position:absolute;left:0;width:28px;height:18px;margin:3px}
-.container-2_Tvc_{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;margin-bottom:20px}.container-2_Tvc_,.labelRow-16e77k{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.labelRow-16e77k{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;width:100%;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.control-2BBjec{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.disabled-2HSEFa{cursor:not-allowed}.disabled-2HSEFa .titleDefault-a8-ZSr,.disabled-2HSEFa .titleMini-pBwj_L{cursor:not-allowed;opacity:.6}.title-31JmR4{-webkit-box-flex:1;-ms-flex:1;flex:1;display:block;overflow:hidden;margin-top:0;margin-bottom:0;color:var(--header-primary);line-height:24px;font-size:16px;font-weight:500;word-wrap:break-word;cursor:pointer}.note-1V3kyJ{margin-top:8px}.dividerDefault-3rvLe-{margin-top:20px}
-.wrapper-O5i5-0{min-height:385px}.scroller-2hZ97C{max-height:200px;padding-top:8px;padding-left:12px}.modal-1k91nT{max-height:645px;min-height:144px}.closeButton-31ta9E{position:absolute;top:14px;right:14px;z-index:3}.header-2Pz98J{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex-1O1GKY;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.inviteRow-2L02ae{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:3px;margin-right:-10px;padding:7px 10px 7px 8px;height:44px}.inviteRowAvatar-EURMT6{margin-top:0;-webkit-box-flex:0;-ms-flex:none;flex:none;margin-right:10px}.inviteRowInfo-I9V9v-{overflow:hidden;margin-right:4px}.inviteRowName-1tVaxu{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.inviteRowButton-3opYo2{height:32px;-webkit-transition:unset;transition:unset;-webkit-box-flex:0;-ms-flex:none;flex:none;width:72px}.inviteNoResultsImage-6yTvc9{height:176px;margin-top:12px;margin-bottom:32px;background-repeat:no-repeat;background-size:100% 100%}.inviteNoResultsImage-6yTvc9.highFive-3ySu5x{background-image:url(/assets/cf3e2e7f108d20c8d804a13c9067f5a6.svg)}.inviteNoResultsImage-6yTvc9.envolope-1uD5SC{background-image:url(/assets/f4a79f584e6e31b4fb6d4d10e6787277.svg)}.noBorder-CTIBpT{border:none}.noPadding-1v11qi{padding-top:0}.content-3CCvMx{width:100%}.content-3CCvMx:before{content:"";width:412px;height:1px;margin-left:-6px;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.copyInput-1T2hfb{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.copyButton-1I8hd3{margin-right:4px;width:75px}.subText-bCySlS{margin-bottom:12px}.noScroll-3xWe_g{overflow:visible!important}.settingsContent-3Pxg5D{z-index:1}.settingsFooter-15L4Xu,.switch-1z4BEm{z-index:0}.switch-1z4BEm{position:relative}.theme-light .inviteRow-2L02ae:hover{background-color:#f6f6f7}.theme-light .footer-1FPmkC{background-color:#fff}.theme-light .content-3CCvMx:before{background-color:rgba(54,57,63,.1)}.theme-light .copied-e3U5bd{border-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.theme-light .checkBoxLabel-4PWfpk,.theme-light .inviteRowName-1tVaxu,.theme-light .subText-bCySlS{color:#4f545c}.theme-dark .inviteRow-2L02ae:hover{background-color:rgba(79,84,92,.3)}.theme-dark .inviteRowName-1tVaxu{color:#f6f6f7}.theme-dark .footer-1FPmkC{background-color:#36393f}.theme-dark .content-3CCvMx:before{background-color:hsla(0,0%,100%,.1)}.theme-dark .copied-e3U5bd{border-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.theme-dark .checkBoxLabel-4PWfpk,.theme-dark .footerText-2a7NxZ,.theme-dark .subText-bCySlS{color:#b9bbbe}.headerContainer-3uxewi{width:100%}.welcomeImage-QDYf6I{display:block;width:auto;height:148px;margin:8px auto 16px}.welcomeHeading-2US2wn{margin:0 0 8px;font-size:24px;line-height:30px;font-weight:700;text-align:center;color:var(--header-primary)}.welcomeSubheading-1gfu4-{margin:0 0 15px;font-size:16px;line-height:20px;font-weight:500;text-align:center;color:var(--text-muted)}
-.iconContainer-4CalaE{width:40px;margin-right:16px}.inviteHeader-3cFuiB{font-weight:600}.inviteContent-2qZKyW,.inviteHeader-3cFuiB{color:var(--header-primary)}.content-uyw0IG{margin-bottom:.125rem}.inviteButton-2fBrOR{margin-top:8px}.manageMessageRow-RX1cCX{margin-top:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.dot-1JLG3l{height:4px;width:4px;border-radius:50%;background-color:var(--text-muted);margin:0 4px}.compact-gkCGQn{padding-left:32px}.compact-gkCGQn .inviteLink-C_E2t3{color:var(--text-link)}
-.icon-1zIRB4{height:1.125rem;width:1.125rem}
-.icon-3cbZZz{height:1.125rem;width:1.125rem}
-.spriteCanvas-3EWky_{position:absolute;width:0;height:0;left:-100%}
-.iconWrapper-2Urb3j{width:1rem;height:1rem}.icon-360yEu{width:100%;height:100%;color:hsl(302,calc(var(--saturation-factor, 1)*100%),72.5%)}.icon-360yEu,.message-o_XyYw{cursor:pointer}.cannon-3Yq1jm,.cannonWrapper-1fCcAD{position:absolute;width:100%;height:100%}.easterEggAnimation-1vLcI9{position:absolute;width:196px;height:196px}.easterEggAnimationTopLeft-jwXGvO{top:0;left:0;-webkit-transform:scale(-1);transform:scale(-1)}.easterEggAnimationTopRight-1KUngj{top:0;right:0;-webkit-transform:scaleY(-1);transform:scaleY(-1)}.easterEggAnimationBottomLeft-3526mm{bottom:0;left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}.easterEggAnimationBottomRight-MAuKgd{bottom:0;right:0}.easterEggAnimationHideLeaf-zpkMGS .userPremiumGuildSubscriptionLeaf,.easterEggAnimationHideLeaf-zpkMGS .userPremiumGuildSubscriptionLeafParent{visibility:hidden}
-.ephemeral-1PsL1r{position:relative;background-color:var(--brand-experiment-05a)}.mentioned-xhSam7{position:relative;background-color:var(--background-mentioned)}.replying-1x3H0T{position:relative;background-color:var(--brand-experiment-05a)}.ephemeral-1PsL1r:before,.mentioned-xhSam7:before,.replying-1x3H0T:before{content:"";position:absolute;display:block;top:0;left:0;bottom:0;pointer-events:none;width:2px}.ephemeral-1PsL1r:before{background-color:var(--brand-experiment)}.mentioned-xhSam7:before{background-color:var(--info-warning-foreground)}.replying-1x3H0T:before{background-color:var(--brand-experiment)}.message-2qnXI6{padding-right:48px!important}.message-2qnXI6.selected-2P5D_Z,.mouse-mode.full-motion .message-2qnXI6:hover{background-color:var(--background-message-hover)}.message-2qnXI6.mentioned-xhSam7.selected-2P5D_Z,.mouse-mode.full-motion .mentioned-xhSam7:hover{background-color:var(--background-mentioned-hover)}.message-2qnXI6.ephemeral-1PsL1r.selected-2P5D_Z,.message-2qnXI6.replying-1x3H0T.selected-2P5D_Z,.mouse-mode.full-motion .ephemeral-1PsL1r:hover,.mouse-mode.full-motion .replying-1x3H0T:hover{background-color:var(--brand-experiment-10a)}.quotedChatMessage-3HzRaD{position:relative}.jump-2-Xh5Z{background-color:var(--background-tertiary);border-radius:3px;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--header-secondary);cursor:pointer;display:none;font-size:12px;font-weight:500;height:24px;line-height:16px;margin-left:6px;padding:4px;position:absolute;right:16px;text-align:center;top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}.quotedChatMessage-3HzRaD:hover .jump-2-Xh5Z{display:block}.jump-2-Xh5Z:hover{color:var(--interactive-hover)}.jump-2-Xh5Z:active{color:var(--interactive-active);-webkit-transform:translate3d(0,1px,0);transform:translate3d(0,1px,0)}.buttons-cl5qTG{opacity:0;pointer-events:none}.message-2qnXI6.selected-2P5D_Z .buttons-cl5qTG,.mouse-mode .message-2qnXI6:hover .buttons-cl5qTG{opacity:1;pointer-events:auto}.cozyMessage-3V1Y8y.groupStart-23k01U{min-height:2.75rem}.systemMessage-1I9LCe.groupStart-23k01U{min-height:1.375rem}.backgroundFlash-24qWLN{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.channelTextArea-3bF57p{margin-top:8px}.divider-3_HH5L{margin-left:1rem;margin-right:.875rem}.disableInteraction-286MMw:after{content:"";display:block;position:absolute;top:0;left:0;bottom:0;right:0}.theme-dark .mentioned-xhSam7 .mention.interactive:hover,.theme-light .mentioned-xhSam7 .mention.interactive:hover{text-decoration:underline}.group-spacing-0 .groupStart-23k01U{margin-top:.0625rem}.group-spacing-0 .divider-3_HH5L{margin-top:0;margin-bottom:-1px}.group-spacing-0 .divider-3_HH5L.hasContent-1_DUdQ{margin-top:1.5rem;margin-bottom:1.5rem}.group-spacing-4 .groupStart-23k01U{margin-top:.3125rem}.group-spacing-4 .divider-3_HH5L{margin-top:-1px;margin-bottom:0}.group-spacing-4 .divider-3_HH5L.beforeGroup-1rH1F0{margin-bottom:-1px;margin-top:0;top:.125rem}.group-spacing-4 .divider-3_HH5L.hasContent-1_DUdQ{margin-top:1.5rem;margin-bottom:1.25rem}.group-spacing-8 .groupStart-23k01U{margin-top:.5625rem}.group-spacing-8 .divider-3_HH5L{margin-top:2px;margin-bottom:2px}.group-spacing-8 .divider-3_HH5L.beforeGroup-1rH1F0{margin-bottom:-1px;margin-top:0;top:.25rem}.group-spacing-8 .divider-3_HH5L.hasContent-1_DUdQ{margin-top:1.5rem;margin-bottom:1rem}.group-spacing-16 .groupStart-23k01U{margin-top:1.0625rem}.group-spacing-16 .divider-3_HH5L{margin-top:4px;margin-bottom:4px}.group-spacing-16 .divider-3_HH5L.beforeGroup-1rH1F0{margin-bottom:-1px;margin-top:0;top:.5rem}.group-spacing-16 .divider-3_HH5L.hasContent-1_DUdQ{margin-top:1.5rem;margin-bottom:.5rem}.group-spacing-24 .groupStart-23k01U{margin-top:1.5625rem}.group-spacing-24 .divider-3_HH5L{margin-top:4px;margin-bottom:4px}.group-spacing-24 .divider-3_HH5L.beforeGroup-1rH1F0{margin-bottom:-1px;margin-top:0;top:.75rem}.group-spacing-24 .divider-3_HH5L.hasContent-1_DUdQ{margin-top:1.5rem;margin-bottom:0}.backgroundFlash-24qWLN .groupStart-23k01U{margin-top:0!important}.interactionSending-1jpOwZ{opacity:.5}
-.modal-3V9_NJ{width:600px}.content-3NxBPP{display:-webkit-box;display:-ms-flexbox;display:flex;text-align:left;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 16px 0 24px}.formItem-1uQUh2{margin-top:16px;width:100%}.modalHeader-1Iiw1t{text-align:center;margin-top:32px}.messageFormItem-3WBJ0C{width:100%}.message-7J476I{position:relative;border-radius:4px;border:1px solid var(--background-tertiary);background-color:var(--background-secondary);max-height:200px}.successModal-3oCWTh{min-width:600px}.successModalContent-3t8pDQ{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:32px;width:600px}.successModalText-iyKCHJ{margin-top:8px;margin-bottom:30px}.footer-sQAWBJ{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-top:32px}.description-sydWb2{margin-top:8px}.descriptionError-3gGZHy{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.headerGuildName-2Ur2UW{color:var(--header-primary)}.headerGuildBadge-1qhaRY{display:inline-block;margin:0 4px 0 2px}.flowerStar-1qlGEL{display:block}.main-3auUui{background:var(--background-primary);border-radius:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:16px;width:440px;position:relative}.close-2do-tr{position:absolute;top:16px;right:16px;padding:0;height:24px}.guildIcon-1F8t_p{margin-top:16px;margin-bottom:16px}.header-QjU-Vz{color:var(--header-secondary);text-align:center}.guildDescription-GPbJqa{margin-top:8px;text-align:center;padding:0 8px}.choiceHeader-3g-iq5{margin-top:32px;-ms-flex-item-align:start;align-self:flex-start}.options-1VK2u9{width:100%;margin-top:8px}.optionContainer-15srkc{margin-top:8px;background:var(--background-secondary);border-radius:8px;padding:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.optionContainer-15srkc:hover{background:var(--background-secondary-alt);cursor:pointer}.optionTextContainer-1WT7xh{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:12px;margin-right:16px}.optionArrow-2L2fza{color:var(--text-normal)}.channelIcon-g61PDh,.optionEmoji-4_u0Ds{width:24px;height:24px}.channelIcon-g61PDh{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--background-tertiary);color:var(--header-secondary);border-radius:4px;padding:4px}.channelDescription-1Vw6Lv{color:var(--interactive-active);font-weight:600}.skip-1vOolA{margin-top:8px}.skipColor-3dV-gy{color:var(--interactive-normal)}.skipColor-3dV-gy:hover{color:var(--interactive-hover)}.skipColor-3dV-gy:active{color:var(--interactive-active)}
-.content-2nLqo5{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 16px;background-color:var(--background-primary)}.logo-38EFJz{width:48px;height:54px;background-image:url(/assets/62e0b0536883668ec230d9d945ba9532.svg);-ms-flex-item-align:center;align-self:center}.title-3qCJ_n{font-weight:700;margin-top:20px;text-align:center}.description-2mNg7U{margin-top:8px;margin-bottom:24px;text-align:center}.formItem-B8CDn8{margin-bottom:16px}.footer-3_fPee{position:absolute;width:100%;bottom:0;left:0}.buttonWrapper--wdcJD{padding:16px}
-.container-1EZLoU{position:relative;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-image:url(/assets/9718abfdabeb0a103626e1be4712fddc.svg);background-size:cover}.title-iH-KoQ{font-weight:700;color:#fff;z-index:2}.subtitle-dIm9FZ{margin-bottom:16px}
-.header-145ozL{position:relative;text-align:center;margin-top:84px}.title-3LCw_L{font-weight:700;margin-bottom:8px}.inputForm-3sTSr-{margin:8px 0}.formTitle-1jo6fC{color:var(--interactive-normal);margin-bottom:8px}.formTitle-1jo6fC.error-_865Sw{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.input-2PqKpj{background-color:var(--background-secondary);border-radius:4px}.inputInner-1nuSZR{border:1px solid var(--background-tertiary);border-radius:4px}.connectCTA-1nCf5Y{margin-top:8px}
-.sidebar-21LluO{width:240px;height:464px;position:relative;background:-webkit-gradient(linear,left bottom,left top,color-stop(-.45%,#7796f7),color-stop(71.18%,#3461df));background:linear-gradient(0deg,#7796f7 -.45%,#3461df 71.18%)}.art-sLtdnk{background-repeat:no-repeat;background-size:contain;position:absolute;width:100%;height:100%}.step12Animation-wbM7wI{-webkit-transition:-webkit-transform .25s ease-in-out;transition:-webkit-transform .25s ease-in-out;transition:transform .25s ease-in-out;transition:transform .25s ease-in-out,-webkit-transform .25s ease-in-out;-webkit-transform:translateX(240px);transform:translateX(240px)}.step12Animation-wbM7wI.show-3s78Xb{-webkit-transform:translateX(0);transform:translateX(0)}.step24Animation-apkz_k{opacity:0;-webkit-transition:opacity .25s ease-in-out,-webkit-transform .25s ease-in-out;transition:opacity .25s ease-in-out,-webkit-transform .25s ease-in-out;transition:opacity .25s ease-in-out,transform .25s ease-in-out;transition:opacity .25s ease-in-out,transform .25s ease-in-out,-webkit-transform .25s ease-in-out;-webkit-transform:translateX(30px);transform:translateX(30px)}.step24Animation-apkz_k.show-3s78Xb{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}.step1-12sD_A{background-image:url(/assets/60a3a8ff696293553bcc514b0eae02b7.svg);-webkit-transition:-webkit-transform .25s ease-in-out;transition:-webkit-transform .25s ease-in-out;transition:transform .25s ease-in-out;transition:transform .25s ease-in-out,-webkit-transform .25s ease-in-out;-webkit-transform:translateX(-240px);transform:translateX(-240px)}.step1-12sD_A.show-3s78Xb{-webkit-transform:translateX(0);transform:translateX(0)}.step24Clouds-2WGevh{background-image:url(/assets/c99189652b9c6e1c3a8750e48816981c.svg)}.step24Base-1Uy1JF,.step24Clouds-2WGevh{}.step24Base-1Uy1JF{background-image:url(/assets/09677c8782eee6e77a0beed92373b3b8.svg)}.step24Ground-3yi8li{background-image:url(/assets/8d905c6991c69d921964637789833c06.svg)}.step2Character-1IAVuz{background-image:url(/assets/8d3a560ac3db3d39bbad373c7bca3bce.svg)}.step2Character-1IAVuz.show-3s78Xb{-webkit-transition:opacity .25s ease-in-out .25s,-webkit-transform .25s ease-in-out .25s;transition:opacity .25s ease-in-out .25s,-webkit-transform .25s ease-in-out .25s;transition:opacity .25s ease-in-out .25s,transform .25s ease-in-out .25s;transition:opacity .25s ease-in-out .25s,transform .25s ease-in-out .25s,-webkit-transform .25s ease-in-out .25s}.step2Base-2s6Yjz{background-image:url(/assets/9ea5cf9d87c1783c5b453cc6d1bb2fa0.svg)}.step34Base-1Qli3t{background-image:url(/assets/ff93d976e8cbf9241334446bd163a788.svg)}.step34Base-1Qli3t,.step34Flag-1XjCQk{}.step34Flag-1XjCQk{background-image:url(/assets/ffc057c7b1ebccbbb90db93e660b237a.svg)}.step3Character-2PT1Yr{background-image:url(/assets/f3f449ab49bd87329b57dbafb83fac08.svg)}.step3Character-2PT1Yr,.step4Character-1Zi7V2{}.step4Character-1Zi7V2{background-image:url(/assets/11afb72833828711da7c651b9d8a0e47.svg)}.step24Foreground-2kT3Vo{background-image:url(/assets/56c955558fa2fb381dd232bf5ec83fb5.svg)}
-.modal-1cHBt6{border-radius:5px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;overflow:hidden;width:680px}.modal-1cHBt6.completed-MZjhOF{background:-webkit-gradient(linear,left top,left bottom,color-stop(6.65%,#4e1bf5),color-stop(69.44%,#5e4eee),color-stop(106.24%,#6668eb));background:linear-gradient(180deg,#4e1bf5 6.65%,#5e4eee 69.44%,#6668eb 106.24%);height:464px;-webkit-animation:completed-MZjhOF .3s ease-in;animation:completed-MZjhOF .3s ease-in}@-webkit-keyframes completed-MZjhOF{0%{opacity:0}to{opacity:1}}@keyframes completed-MZjhOF{0%{opacity:0}to{opacity:1}}.completedTitle-2PltT9{font-weight:700;color:#fff;margin-bottom:16px}.sidebar-ZRpudO{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;border-radius:5px 0 0 5px;background-color:#fff;overflow:hidden}.content-1KT39n{padding:0;height:464px;border-radius:0;background-color:var(--background-primary)}.closeButton-3XUE6o{position:absolute;top:12px;right:8px}.container-3Badw2{height:464px;width:440px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.container-3Badw2.shortFooter-2bmC2G{height:414px}.container-3Badw2.standardFooter-3oKKSX{height:394px}.templates-3g2YRV{padding:16px;margin-top:8px;height:auto}.footer-Sv35jj{position:absolute;width:408px;bottom:0;-webkit-animation:footer-Sv35jj .3s ease-in-out;animation:footer-Sv35jj .3s ease-in-out}.footer-Sv35jj.join-3TAPZ-{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customizeGuildTitle-YVzgel{margin-top:48px}@-webkit-keyframes footer-Sv35jj{0%{opacity:0}to{opacity:1}}@keyframes footer-Sv35jj{0%{opacity:0}to{opacity:1}}.joinCTA-1s7TZx{color:hsl(197,calc(var(--saturation-factor, 1)*100%),47.8%);font-weight:500}
-.tile-2naSqK{position:relative;background-color:#202225;border-radius:8px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.tile-2naSqK.noBorder-PlNIZT{border-radius:0}
-.root-3yg4nC{display:-webkit-box;display:-ms-flexbox;display:flex}.root-3yg4nC .sprite-3_OKOZ{position:relative;-webkit-animation:none;animation:none}.participant-1lOCsd{margin:0 8px}.transition-J10on7{position:relative}.spriteWrapper-3DD_XY{position:absolute;top:0;left:0;bottom:0;right:0}
-.base-18fc34{display:block;position:absolute;background-position:0}.sparkle-1TdrlZ{width:43px;height:43px;background-size:774px 43px;background-position:-731px;-webkit-animation:sparkle-1TdrlZ 1.5s steps(17,start) infinite forwards;animation:sparkle-1TdrlZ 1.5s steps(17,start) infinite forwards}.pop-B2HebP{width:24px;height:24px;background-size:840px 24px;background-position:-816px;-webkit-animation:pop-B2HebP 2.91666666667s steps(34,start) infinite forwards;animation:pop-B2HebP 2.91666666667s steps(34,start) infinite forwards}.light-1RsqT-{width:20px;height:20px;background-size:620px 20px;-webkit-animation:light-1RsqT- 2.58333333333s steps(30,start) infinite forwards;animation:light-1RsqT- 2.58333333333s steps(30,start) infinite forwards}.cross-AT1Amb,.light-1RsqT-{background-position:-600px}.cross-AT1Amb{width:25px;height:25px;background-size:625px 25px;-webkit-animation:cross-AT1Amb 2.083325s steps(23,start) infinite forwards;animation:cross-AT1Amb 2.083325s steps(23,start) infinite forwards}.sparkleBlurple-awNnsZ,.sparkleGrey-1Q5g70,.sparkleWhite-2J-Q68{}.sparkleWhite-2J-Q68{background-image:url(/assets/c7539bb38577495f5021c8ea455c7145.png)}.sparkleGrey-1Q5g70{background-image:url(/assets/22a50c5f66884ef5762f0a0b96d1ef08.png)}.sparkleBlurple-awNnsZ{background-image:url(/assets/a66f45abf930caa0b221315ebbc031de.png)}.popBlurple-27zBE3,.popGrey-2lKfmi,.popWhite-1RZZKg{}.popWhite-1RZZKg{background-image:url(/assets/237a2f9325a83d230fb30b2cd63bbfe6.png)}.popGrey-2lKfmi{background-image:url(/assets/0e773bb475b552235a800e6424e43e6b.png)}.popBlurple-27zBE3{background-image:url(/assets/cf13db31abf9a13e54f5f43599eef59a.png)}.lightBlurple-1mZKpk,.lightGrey-WcSfs7,.lightWhite-2kX5Oc{}.lightWhite-2kX5Oc{background-image:url(/assets/1c20f6ecd2d83c1844a3fd6da306d239.png)}.lightGrey-WcSfs7{background-image:url(/assets/64aaf58241b1f4a6c9655564d0f0b028.png)}.lightBlurple-1mZKpk{background-image:url(/assets/07c7a85ef9cb930a3797629fc9a537cd.png)}.crossBlurple--iGG5Y,.crossGrey-3CNWiK,.crossWhite-2FnCYL{}.crossWhite-2FnCYL{background-image:url(/assets/c13a0b03a798023c27155fad5f0c7a61.png)}.crossGrey-3CNWiK{background-image:url(/assets/eb0e7f0b11970eca575cbdc7718e8482.png)}.crossBlurple--iGG5Y{background-image:url(/assets/18d708afcc8653f148927a308b203be2.png)}@-webkit-keyframes sparkle-1TdrlZ{0%{background-position:0}40%{background-position:-731px}to{background-position:-731px}}@keyframes sparkle-1TdrlZ{0%{background-position:0}40%{background-position:-731px}to{background-position:-731px}}@-webkit-keyframes pop-B2HebP{0%{background-position:0}40%{background-position:-816px}to{background-position:-816px}}@keyframes pop-B2HebP{0%{background-position:0}40%{background-position:-816px}to{background-position:-816px}}@-webkit-keyframes light-1RsqT-{0%{background-position:0}40%{background-position:-600px}to{background-position:-600px}}@keyframes light-1RsqT-{0%{background-position:0}40%{background-position:-600px}to{background-position:-600px}}@-webkit-keyframes cross-AT1Amb{0%{background-position:0}40%{background-position:-600px}to{background-position:-600px}}@keyframes cross-AT1Amb{0%{background-position:0}40%{background-position:-600px}to{background-position:-600px}}
-.controlIcon-35oS15{width:24px;height:24px;color:#b9bbbe;display:-webkit-box;display:-ms-flexbox;display:flex}.controlIcon-35oS15.active-1QRrIS,.controlIcon-35oS15:hover{color:#fff}.controlIcon-35oS15.themeable-3cPzCs{color:var(--interactive-normal)}.controlIcon-35oS15.themeable-3cPzCs.active-1QRrIS,.controlIcon-35oS15.themeable-3cPzCs:hover{color:var(--interactive-active)}.colorable-1bkp8v.red-33-Lnk{background:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.colorable-1bkp8v.red-33-Lnk,.colorable-1bkp8v.red-33-Lnk .centerIcon-2G6o-T{color:#fff}.colorable-1bkp8v.red-33-Lnk.active-1QRrIS,.colorable-1bkp8v.red-33-Lnk:hover{background:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.colorable-1bkp8v.primaryDark-3mSFDl{background:#2f3136}.colorable-1bkp8v.primaryDark-3mSFDl,.colorable-1bkp8v.primaryDark-3mSFDl .centerIcon-2G6o-T{color:#fff}.colorable-1bkp8v.primaryDark-3mSFDl.active-1QRrIS,.colorable-1bkp8v.primaryDark-3mSFDl:hover{background:#202225}.colorable-1bkp8v.primaryLight-1_NQ7Q{background:#f2f3f5}.colorable-1bkp8v.primaryLight-1_NQ7Q,.colorable-1bkp8v.primaryLight-1_NQ7Q .centerIcon-2G6o-T{color:#060607}.colorable-1bkp8v.primaryLight-1_NQ7Q.active-1QRrIS,.colorable-1bkp8v.primaryLight-1_NQ7Q:hover{background:#e3e5e8}.colorable-1bkp8v.activeLight-Z2aUHx{background:#747f8d}.colorable-1bkp8v.activeLight-Z2aUHx,.colorable-1bkp8v.activeLight-Z2aUHx .centerIcon-2G6o-T{color:#fff}.colorable-1bkp8v.activeLight-Z2aUHx.active-1QRrIS,.colorable-1bkp8v.activeLight-Z2aUHx:hover{background:#4f5660}.colorable-1bkp8v.white-3GPOIp{background:#fff}.colorable-1bkp8v.white-3GPOIp,.colorable-1bkp8v.white-3GPOIp .centerIcon-2G6o-T{color:#060607}.colorable-1bkp8v.white-3GPOIp.active-1QRrIS,.colorable-1bkp8v.white-3GPOIp:hover{background:#f2f3f5}.colorable-1bkp8v.green-plH-Mj{background:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.colorable-1bkp8v.green-plH-Mj,.colorable-1bkp8v.green-plH-Mj .centerIcon-2G6o-T{color:#fff}.colorable-1bkp8v.green-plH-Mj.active-1QRrIS,.colorable-1bkp8v.green-plH-Mj:hover{background:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.centerButton-3CaNcJ{border-radius:50%;padding:16px;-webkit-transition:background .15s ease-in-out,color .15s ease-in-out;transition:background .15s ease-in-out,color .15s ease-in-out}.centerButton-3CaNcJ .centerIcon-2G6o-T{-webkit-transition:color .15s ease-in-out;transition:color .15s ease-in-out}@media (max-width:456px){.centerButton-3CaNcJ{padding:8px}.contextMenuContainer-2HlOMK{display:none}}@media (min-width:457px){.unmasked-35qKj5{display:none}}.lineHeightReset-3dQm1W{line-height:0}.contextMenuContainer-2HlOMK{position:relative}.staticButton-1B0rfQ{position:static}.contextMenuNub-3yOOYo{background-clip:padding-box;border-radius:50%;position:absolute;bottom:0;right:0;padding:2px;width:16px;height:16px;background-color:inherit;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:background .15s ease-in-out,color .15s ease-in-out;transition:background .15s ease-in-out,color .15s ease-in-out}.contextMenuCaret-3tjo32{width:16px;height:16px;cursor:pointer;-webkit-transition:none;transition:none}.contextMenuCaret-3tjo32.open-1aCwl_{-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}
-.participantsButton-KYW-IW{border-radius:48px;background:#2f3136;padding:4px}.participantsButton-KYW-IW:hover{background:#202225}.rightCaret-aB8RWK{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.leftCaret-18vKap{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.members-3RE5jX{margin-right:4px}.iconContainer-3DcDKa{display:-webkit-box;display:-ms-flexbox;display:flex}.iconContainer-3DcDKa>svg{color:#fff}
-.outer-s4sY2_{position:relative}.inner-2O5YO7{position:absolute;top:0;right:0;bottom:0;left:0}
-.wrapper-1wyZBN{position:relative;overflow:hidden;background-color:#000}.video-1kutKI,.wrapper-1wyZBN{width:100%;height:100%}.video-1kutKI{position:absolute;top:0;right:0;bottom:0;left:0}.videoCover-LdeT1c{-o-object-fit:cover;object-fit:cover}.videoContain-2ih_gc{-o-object-fit:contain;object-fit:contain}.mirror-1Z13AJ{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.previewWrapper-39cUHY{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-line-pack:center;align-content:center;opacity:0;-webkit-transition:opacity .5s ease;transition:opacity .5s ease}.previewWrapper-39cUHY.loading-35BNuU{opacity:1}.previewImage-1yEFD0{width:100%;-o-object-fit:contain;object-fit:contain;-webkit-filter:blur(10px);filter:blur(10px)}.emptyPreviewWrapper-14RNSK{margin:auto;width:100%}.emptyPreview-2kuSNe{width:100%;height:100%;background:linear-gradient(120deg,#1e1f22,#292b2f);opacity:.6}.spinner-2UBgbJ{position:absolute;width:100%;height:100%}
-.container-1Uz9wr{position:relative}.container-1Uz9wr,.iframe-EFVR4F{width:100%;height:100%}.clickShield-3vjrWO,.splashImage-E7s7bn{position:absolute;top:0;left:0;right:0;bottom:0}.splashImage-E7s7bn{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.splash-25tRrM{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.avatars-1oXtqj,.splash-25tRrM{display:-webkit-box;display:-ms-flexbox;display:flex}.avatars-1oXtqj{margin-bottom:16px}.avatars-1oXtqj.compact-1mV4qT{margin-bottom:8px}.avatar-1r2LXI{margin-left:-20px}.avatar-1r2LXI.compact-1mV4qT{margin-left:-8px}.avatar-1r2LXI:first-child{margin-left:0}.subheader-39JmuR{margin-bottom:4px;color:#b9bbbe}.header-NBw-bG{margin-bottom:16px;font-weight:700;color:#fff}.header-NBw-bG.compact-1mV4qT{margin-bottom:8px}.buttons-2XvbOc{display:-webkit-box;display:-ms-flexbox;display:flex}.button-EVMg5r{margin:0 4px}.overflow-1fucsB{background-color:var(--background-primary);border-radius:50%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-weight:700}.avatarMask-CQKE6y{-webkit-mask-image:url(/assets/2ad33adc723eef7837aa4432d8b8e1be.svg);mask-image:url(/assets/2ad33adc723eef7837aa4432d8b8e1be.svg);-webkit-mask-position:0 0;mask-position:0 0;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
-.root-1i3NKH{position:relative}.image-1npAv8{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.emptyPreviewContainer-1KOcxV{position:absolute;top:0;left:0;right:0;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.emptyPreviewImage-IBznSI{width:80%;height:60%;background-position:50%;background-repeat:no-repeat;margin-bottom:10px}.emptyPreviewText-2IOfAL{color:var(--header-secondary)}.theme-light .emptyPreviewImage-IBznSI{background-image:url(/assets/90886907ea157e9e6a20ecac688b31ae.svg)}.theme-dark .emptyPreviewImage-IBznSI{background-image:url(/assets/b93ef52d62a513a4f2127a6ca0c3208c.svg)}
-.qualityIndicator-mk1mca{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.clickable-2Q9Vaa{cursor:pointer}.qualityIndicatorFullQuality-39Z_0H{color:#fff}.qualityIndicatorLowQuality-3VS_Sh{color:#b9bbbe}.premiumStreamIcon-2oV917{color:#fff;height:14px;width:14px;margin-right:4px}.qualityResolution-2-unm0{margin-right:4px}.streamQualityIndicator-2Te7mW{display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.liveIndicator-3FNmiB{position:relative;overflow:hidden}.liveQualityIndicator-3XCjEU{margin-right:2px}
-.art-3wzoO6{width:100%;background-position:50%;background-repeat:no-repeat;background-size:contain;margin-bottom:16px}.art-3wzoO6.small-3EVRHD{display:none}.art-3wzoO6.medium-2B7Zy5{height:88px}.art-3wzoO6.large-1x1Mum{height:134px}.header-2Zv56X{color:#fff;text-align:center;font-weight:600;margin-bottom:4px}.description-22pzKs{color:#dcddde;text-align:center;font-weight:500}.description-22pzKs p{margin:0}.outerButton-1CWJC-{margin-top:16px}.button-3HqqDX{background-color:#4f545c;color:#fff;border-radius:100px;padding:12px 18px;font-weight:600;font-size:16px}.button-3HqqDX:hover{background-color:#36393f}
-.root-2sELX6{background-color:rgba(0,0,0,.6);position:absolute;top:0;right:0;bottom:0;left:0}
-.cta-3gK0Pu{background-color:#4f545c;color:#fff;border-radius:100px;padding:10px 16px;font-weight:600;z-index:1}.cta-3gK0Pu:hover{background-color:#36393f}.buttonReset-HK81Ef{line-height:0}
-.root-35ow7p{line-height:0}.warningIcon-3rQ5yJ{width:20px;height:20px;color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%)}
-@-webkit-keyframes outgoing-call-pulse-3okVYE{0%{opacity:0;-webkit-transform:scaleX(1);transform:scaleX(1)}11.56%{opacity:1}39.02%{opacity:0;-webkit-transform:scale3d(1.025,1.025,1);transform:scale3d(1.025,1.025,1)}39.03%{-webkit-transform:scaleX(1);transform:scaleX(1)}39.04%{opacity:1}66.48%{opacity:0;-webkit-transform:scale3d(1.025,1.025,1);transform:scale3d(1.025,1.025,1)}to{opacity:0;-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes outgoing-call-pulse-3okVYE{0%{opacity:0;-webkit-transform:scaleX(1);transform:scaleX(1)}11.56%{opacity:1}39.02%{opacity:0;-webkit-transform:scale3d(1.025,1.025,1);transform:scale3d(1.025,1.025,1)}39.03%{-webkit-transform:scaleX(1);transform:scaleX(1)}39.04%{opacity:1}66.48%{opacity:0;-webkit-transform:scale3d(1.025,1.025,1);transform:scale3d(1.025,1.025,1)}to{opacity:0;-webkit-transform:scaleX(1);transform:scaleX(1)}}.wrapper-3BZGuR{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.wrapper-3BZGuR.ringing-1VKjFq{opacity:.3}.wrapper-3BZGuR.ringing-1VKjFq:after{content:"";pointer-events:none;position:absolute;left:-3px;top:-3px;width:100%;height:100%;border-radius:12px;background:transparent;border:3px solid var(--interactive-active);-webkit-animation:outgoing-call-pulse-3okVYE 2.5s ease-out infinite;animation:outgoing-call-pulse-3okVYE 2.5s ease-out infinite;-webkit-transform-origin:center;transform-origin:center}.ripple-3OwEZ-{border-radius:8px;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;-webkit-animation:outgoing-call-pulse-3okVYE 2.429s ease-out infinite;animation:outgoing-call-pulse-3okVYE 2.429s ease-out infinite;background-color:var(--interactive-active)}.ripple0-1oHfER{-webkit-animation-delay:20ms;animation-delay:20ms}.ripple1-1tjFOe{-webkit-animation-delay:145ms;animation-delay:145ms}.ripple2-jei8DL{-webkit-animation-delay:.27s;animation-delay:.27s}.tile-2gi3tr{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 100%;flex:1 1 100%;position:relative;cursor:pointer}.tile-2gi3tr.idle-U-LIlZ,.tile-2gi3tr.noInteraction-2pbsEq{cursor:inherit}.tileChild-31WXi8{-webkit-box-flex:1;-ms-flex:1 1 100%;flex:1 1 100%;display:-webkit-box;display:-ms-flexbox;display:flex}.border-3dQmSY{position:absolute;top:0;left:0;right:0;bottom:0;border-radius:8px;pointer-events:none}.border-3dQmSY.speaking-WDn8Wm{-webkit-box-shadow:inset 0 0 0 2px hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%),inset 0 0 0 3px #000;box-shadow:inset 0 0 0 2px hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%),inset 0 0 0 3px #000}.app-focused .border-3dQmSY{-webkit-transition:-webkit-box-shadow .1s ease-out;transition:-webkit-box-shadow .1s ease-out;transition:box-shadow .1s ease-out;transition:box-shadow .1s ease-out,-webkit-box-shadow .1s ease-out}.noBorder-i2e48Y video{border-radius:0}.noBorder-i2e48Y .border-3dQmSY{display:none;border-radius:0}.videoLayer-3hTtOT video{-discord-video-composition:video-layer}.overlay-1YJlCn{-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;position:absolute;left:0;right:0;bottom:8px;padding:0 8px;pointer-events:none;line-height:0;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.overlay-1YJlCn,.overlayTitle-8IcS01{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;align-items:center}.overlayTitle-8IcS01{border-radius:8px;background:rgba(0,0,0,.3);color:#fff;padding:6px 12px;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;margin-right:8px;-ms-flex-align:center;min-width:0}.overlayTitle-8IcS01.idle-U-LIlZ{opacity:0}.overlayTitleText-2mmQzi{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.titleIcon-2eloVh{width:20px;height:20px;-webkit-box-flex:0;-ms-flex:none;flex:none;margin-right:8px}.statusContainer-1gtabC{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.status-254fhp{width:20px;height:20px;padding:6px;color:#fff;border-radius:50%;margin-left:8px;background-color:rgba(0,0,0,.3)}.status-254fhp.interactive-3JkJV4{pointer-events:all}.status-254fhp.interactive-3JkJV4:hover{background-color:rgba(0,0,0,.6)}.content-2Sfaij{position:absolute;top:0;right:0;bottom:0;left:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden}.streamPreview-3YL8OQ{background:#202225}.streamPreviewOpacity-1IYx2z{opacity:.3}.indicators-3zIm5K{top:8px;right:8px}.indicators-3zIm5K,.selectedScreen-3aLLjg{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.selectedScreen-3aLLjg{background:rgba(0,0,0,.6);-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;top:0;right:0;bottom:0;left:0;pointer-events:none}.toggleMute-1HX2aa{opacity:1;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.hidden-3rERt0{opacity:0}.selectedIcon-1Ihli9{width:32px;height:32px;color:#fff}.localMuteStrikethrough-2BNLRk{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.liveIndicator-3aBbkJ{margin-left:8px}.addStreamIcon-3NjJEC{width:24px;height:24px}.addCTA-372N3j{padding:8px;margin-left:8px}.absoluteFill-145S64{position:absolute;top:0;left:0;right:0;bottom:0}.videoWrapper-2v09vt{background-color:#202225}.blocked-1Hjnsy{border-radius:50%;width:16px;height:16px;background-color:#fff;margin-right:4px}.blockedIcon-1l6uje{width:12px;height:12px;margin:2px}.blockedAvatar-eQvJSd{opacity:.5}
-@-webkit-keyframes pulse-3zYHMZ{0%{border-color:hsla(0,0%,100%,0)}25%{border-color:hsla(0,0%,100%,.16)}50%,to{border-color:hsla(0,0%,100%,0)}}@keyframes pulse-3zYHMZ{0%{border-color:hsla(0,0%,100%,0)}25%{border-color:hsla(0,0%,100%,.16)}50%,to{border-color:hsla(0,0%,100%,0)}}@-webkit-keyframes darkerPulse-3isOlW{0%{border-color:hsla(0,0%,100%,0)}25%{border-color:hsla(0,0%,100%,.32)}50%,to{border-color:hsla(0,0%,100%,0)}}@keyframes darkerPulse-3isOlW{0%{border-color:hsla(0,0%,100%,0)}25%{border-color:hsla(0,0%,100%,.32)}50%,to{border-color:hsla(0,0%,100%,0)}}.innerContainer-1llEA-{border:20px solid hsla(0,0%,100%,0);border-radius:50%}.app-focused .innerContainer-1llEA-{-webkit-animation:darkerPulse-3isOlW 2s linear infinite;animation:darkerPulse-3isOlW 2s linear infinite;-webkit-animation-timing-function:cubic-bezier(.4,0,1,1);animation-timing-function:cubic-bezier(.4,0,1,1)}.outerContainer-3FfmPk{border:20px solid hsla(0,0%,100%,0);border-radius:50%}.app-focused .outerContainer-3FfmPk{-webkit-animation:pulse-3zYHMZ 2s linear infinite;animation:pulse-3zYHMZ 2s linear infinite;-webkit-animation-timing-function:cubic-bezier(.4,0,1,1);animation-timing-function:cubic-bezier(.4,0,1,1);-webkit-animation-delay:.2s;animation-delay:.2s}
-.background-ujHpbY{width:100%;height:100%}.avatarWrapper-29j3CC{border-radius:50%}
-.pictureInPicture-3VocJq{position:absolute;top:0;left:0}.pictureInPictureWindow-1B5qSe{position:absolute;z-index:1000;overflow:hidden}.hidden-SXIIWx{display:none}
-.container-1PWn_0{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.tileContainer-9h8iFI{display:-webkit-box;display:-ms-flexbox;display:flex}.tile-1Qr-N3{width:160px;height:90px;margin-right:8px}.tile-1Qr-N3:last-child{margin-right:0}
-.row-22hXsA{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.row-22hXsA,.tile-kezkfV{display:-webkit-box;display:-ms-flexbox;display:flex}.tile-kezkfV{margin-right:8px;margin-bottom:8px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.tile-kezkfV.noVerticalMargin-1582Xa{margin-bottom:0}.tile-kezkfV.noHorizontalMargin-3pr3HN{margin-right:0}.tile-kezkfV.padColumn-18-JWZ{padding:0 2px}.tileSizer-IwF9xU{width:100%}
-.root-2VTZPJ{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;color:#fff;padding:16px}.text-3FqTR4{font-weight:600;margin-bottom:16px;text-align:center}.buttonText-plGAfz{padding:0 8px}.art-2kj97y{margin-bottom:16px}
-.tile-ME82Od{height:100%}
-.tile-2GMyYQ{height:100%}.tileSizer-3VCNFs{width:220px;margin-bottom:8px}.root-1EVRXA{width:228px;-webkit-box-flex:0;-ms-flex:none;flex:none;max-height:100%;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex}.list-2MscRb{height:auto}
-.voiceCallWrapper-3kPwHm{padding-bottom:24px}.videoGridWrapper-2BDlMX{-ms-flex-item-align:stretch;align-self:stretch}.root-2CDANf{width:100%;height:100%;position:relative}.flexCenter-2Y_vCg{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.videoFrame-3JeHRb{-ms-flex:1;flex:1}.videoFrame-3JeHRb,.videoWrapper-3VC0Ax{-webkit-box-flex:1;position:relative}.videoWrapper-3VC0Ax{-ms-flex:1 1 100%;flex:1 1 100%;margin:0 auto}.videoWrapperAnimated-3SL9U6{position:absolute;top:0;left:0;right:0;bottom:0}.videoGrid-1khsrF{height:100%}.hiddenParticipants-1JaHxS p{margin:0}.videoSizer-14ILv0{width:100%;position:relative}.focusedVideo-AeFhkm{height:100%}.participantsButton-2BYCUL{z-index:1;position:absolute;top:50%;right:8px;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.participantsButton-2BYCUL.idle-l3QaKF{opacity:0}.participantsWrapperAnimated-3yISdv{overflow:hidden;-ms-flex-negative:0;flex-shrink:0;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;right:-228px;top:0}
-.content-1T5kuS{text-align:center;padding:24px 16px 16px}.header-3MQhZN{margin-top:16px;margin-bottom:8px}.footer-1bV9Ez{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}
-.videoHeight-Qp_9vC{position:relative;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.videoHeight-Qp_9vC.animated-UtE465{-webkit-transition:height .35s ease;transition:height .35s ease}.videoHeight-Qp_9vC.normal-1jW0uq{height:50vh}.videoHeight-Qp_9vC.minimum-1pRSEN{height:275px}.videoHeight-Qp_9vC.noChat-3nt48u{height:100vh}.videoHeight-Qp_9vC.fullScreen-lH2Q2c{-webkit-transition:none;transition:none;height:100vh;position:fixed;top:0;right:0;bottom:0;left:0;z-index:100}.platform-win .videoHeight-Qp_9vC.normal-1jW0uq{height:calc(50vh - 22px)}.platform-win .videoHeight-Qp_9vC.noChat-3nt48u{height:calc(100vh - 22px)}.video-1FfuMD{width:100%;height:100%;min-height:275px;overflow:hidden;background-size:100%;background-position:50%;position:relative;cursor:default;background-color:#18191c}.video-1FfuMD.idle-1sRXLT{cursor:none}.video-1FfuMD.fullScreen-lH2Q2c .videoCenter-1nmPrS,.video-1FfuMD.noChat-3nt48u .videoCenter-1nmPrS,.video-1FfuMD.normal-1jW0uq .videoCenter-1nmPrS{-ms-flex-item-align:end;align-self:flex-end}.video-1FfuMD.fullScreen-lH2Q2c .videoBottom-2_HYXG,.video-1FfuMD.noChat-3nt48u .videoBottom-2_HYXG,.video-1FfuMD.normal-1jW0uq .videoBottom-2_HYXG{-webkit-transform:translate3d(0,8px,0);transform:translate3d(0,8px,0);opacity:0;-webkit-transition:opacity .2s ease-in-out,-webkit-transform .2s ease-in-out;transition:opacity .2s ease-in-out,-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out,opacity .2s ease-in-out;transition:transform .2s ease-in-out,opacity .2s ease-in-out,-webkit-transform .2s ease-in-out}.video-1FfuMD.fullScreen-lH2Q2c:not(.idle-1sRXLT) .videoWrapper-2wbLD-.focused-2WuveL .videoBottom-2_HYXG,.video-1FfuMD.fullScreen-lH2Q2c:not(.idle-1sRXLT) .videoWrapper-2wbLD-:hover .videoBottom-2_HYXG,.video-1FfuMD.noChat-3nt48u:not(.idle-1sRXLT) .videoWrapper-2wbLD-.focused-2WuveL .videoBottom-2_HYXG,.video-1FfuMD.noChat-3nt48u:not(.idle-1sRXLT) .videoWrapper-2wbLD-:hover .videoBottom-2_HYXG,.video-1FfuMD.normal-1jW0uq:not(.idle-1sRXLT) .videoWrapper-2wbLD-.focused-2WuveL .videoBottom-2_HYXG,.video-1FfuMD.normal-1jW0uq:not(.idle-1sRXLT) .videoWrapper-2wbLD-:hover .videoBottom-2_HYXG{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}.videoWrapper-2wbLD-{position:relative;border-radius:3px}.videoInner-3OR9J2{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;z-index:1;pointer-events:none}.videoBottom-2_HYXG,.videoCenter-1nmPrS,.videoTop-eOkSPq{pointer-events:all}.videoBackground-3AY_fu,.videoBackgroundTransition-3wpOSl{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.videoBackgroundTransition-3wpOSl{overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.theme-light .video-1FfuMD.minimum-1pRSEN{background-color:#fff;-webkit-box-shadow:inset 0 -1px 0 #e3e5e8;box-shadow:inset 0 -1px 0 #e3e5e8}.theme-light .video-1FfuMD.noChat-3nt48u .videoBackgroundTransition-3wpOSl{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.1);box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}.theme-light .video-1FfuMD.noChat-3nt48u .videoTop-eOkSPq,.theme-light .video-1FfuMD.normal-1jW0uq .videoTop-eOkSPq{background-image:-webkit-gradient(linear,left bottom,left top,from(transparent),to(rgba(0,0,0,.9)));background-image:linear-gradient(0deg,transparent,rgba(0,0,0,.9))}.theme-dark .video-1FfuMD.noChat-3nt48u .videoBackgroundTransition-3wpOSl{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 2px 10px 0 rgba(0,0,0,.2)}.theme-dark .video-1FfuMD.noChat-3nt48u .videoTop-eOkSPq,.theme-dark .video-1FfuMD.normal-1jW0uq .videoTop-eOkSPq{background-image:-webkit-gradient(linear,left bottom,left top,from(transparent),to(rgba(0,0,0,.9)));background-image:linear-gradient(0deg,transparent,rgba(0,0,0,.9))}
-.pictureInPictureVideo-2iKsGg{width:320px;height:180px;background:#18191c;color:#fff;border-radius:5px;overflow:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.videoControls-38i4kP{position:absolute;top:0;right:0;bottom:0;left:0;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;pointer-events:none;padding:8px;background:-webkit-gradient(linear,left top,left bottom,from(#000),color-stop(30%,transparent),color-stop(60%,transparent),to(#000));background:linear-gradient(#000,transparent 30%,transparent 60%,#000)}.bottomControls-2f_UqT,.topControls-1PHLxx{width:100%;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;-webkit-transform:translateZ(0);transform:translateZ(0);pointer-events:all;-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out}.bottomControls-2f_UqT{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.idle-70Gg3H .videoControls-38i4kP{opacity:0}.idle-70Gg3H .topControls-1PHLxx{-webkit-transform:translate3d(0,-8px,0);transform:translate3d(0,-8px,0)}.idle-70Gg3H .bottomControls-2f_UqT{-webkit-transform:translate3d(0,8px,0);transform:translate3d(0,8px,0)}.backButton-3c6fw4{margin-right:2px;color:#b9bbbe;-ms-flex-negative:0;flex-shrink:0}.headerBar-2wGwms{padding:4px 0 0;height:auto}.topControls-1PHLxx .headerBar-2wGwms{-webkit-app-region:no-drag}.headerIdleContainer-16C5Xe{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.headerIdleContainer-16C5Xe,.headerTitle-1Y0ywV{-ms-flex-negative:1;flex-shrink:1;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex}.headerTitle-1Y0ywV{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;color:#fff;border-bottom:1px solid transparent;margin:0;width:-webkit-min-content;width:-moz-min-content;width:min-content;line-height:20px}.headerTitle-1Y0ywV:hover{border-bottom:1px solid #fff;cursor:pointer}.headerTitle-1Y0ywV:hover .backButton-3c6fw4{color:#fff}.headerText-3RxpQn{-ms-flex-negative:1;flex-shrink:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.menuIcon-1dbDwf{cursor:pointer}.keyboard-mode .videoControls-38i4kP{opacity:1}
-.popIn-2stfyU{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}
-.fauxDisabled-3vmIPo{opacity:.5}
-.arrowIcon-3okTyA{height:24px;width:24px;-webkit-transform:rotate(270deg);transform:rotate(270deg)}.arrowIconExpanded-1atW4-{-webkit-transform:rotate(1turn);transform:rotate(1turn)}.rightPipIcon-3kki1l{margin-left:16px}.leftPipIcon-1Syad5{margin-right:16px}.participantsButton-lsd-oF{position:absolute;top:50%;right:16px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pipHeader-ZKirob{position:relative;z-index:2;width:100%;height:12px}.pipHeaderContent-3hKVLC{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;height:12px;padding:0 8px;background-color:#000;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.pipHeaderContentOpen-1f5we5{background:-webkit-gradient(linear,left top,left bottom,from(#000),color-stop(30%,#000),to(transparent));background:linear-gradient(#000,#000 30%,transparent);height:40px;padding:8px;cursor:pointer}.pipHeaderButtonsRight-1TlJRe{display:-webkit-box;display:-ms-flexbox;display:flex}.menuIcon-3GpyA6{color:#fff}.leaveActivityIcon-99HPVj{margin-left:6px;height:24px;width:24px}
-.root-p-00Nk{width:100%;height:100%}.root-p-00Nk.pipMode-3fqyku{width:320px;-webkit-transition:height .2s ease-in-out;transition:height .2s ease-in-out}.root-p-00Nk.pipModeShort-2VZvl9{height:180px}.root-p-00Nk.pipModeTall-rtMxll{height:410px}.root-p-00Nk.hidden-semXgs{width:0;max-height:0;-webkit-transition:none;transition:none}.iframe-_tVdvp{width:100%;height:100%}.iframe-_tVdvp.pipModeShort-2VZvl9{height:180px}.iframe-_tVdvp.pipModeTall-rtMxll{height:410px}.clickShield-3Xe6Ru{position:absolute;top:0;right:0;left:0;bottom:0}
-.avatar-_-TGPX{-ms-flex-negative:0;flex-shrink:0}.memberListItem-2ZX2pl{padding:4px 8px;margin:8px -8px;border-radius:4px}.memberListItem-2ZX2pl:last-child{margin-bottom:4px}.memberListItem-2ZX2pl:not(.popoutDisabled-xucru2):hover{cursor:pointer}.memberListItemTag-2qWLwe{margin-left:8px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.username-1Mmpcp{font-weight:600}.theme-dark .memberListItem-2ZX2pl:not(.popoutDisabled-xucru2):hover{background-color:#202225}.theme-light .memberListItem-2ZX2pl:not(.popoutDisabled-xucru2):hover{background-color:#ebedef}
-.popoutWrapper-3TSaaB{position:relative;left:-30px;width:200px;display:-webkit-box;display:-ms-flexbox;display:flex;max-height:40vh}.scroller-2ymjU1{border-radius:4px;padding:8px 16px;background-color:var(--background-floating)}.viewers-2Dq-Mk{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative}.viewers-2Dq-Mk:hover .popoutWrapper-3TSaaB{visibility:visible;opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}.viewer-sEl8Uz{margin-left:-2px;-webkit-mask:url(/assets/16f17f1916fb411b98e44008b2535a83.svg);mask:url(/assets/16f17f1916fb411b98e44008b2535a83.svg);-webkit-mask-size:100%;mask-size:100%;mask-type:luminance}.viewer-sEl8Uz:last-child{-webkit-mask:none;mask:none}.overflow-1ExsZm{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:-4px;font-size:12px;font-weight:700;letter-spacing:.5px;width:25px;height:25px;border-radius:15px;z-index:2;background-color:#36393f;color:#b9bbbe;-webkit-box-shadow:-1px 0 0 1px #000;box-shadow:-1px 0 0 1px #000}.memberListHeader-c-ghag{margin-top:8px;margin-bottom:12px;text-transform:uppercase;font-weight:600}.memberListHeader-c-ghag,.memberListItemText-Th1aTk{color:var(--header-secondary)}.viewersIcon-15qGwd{width:24px;height:24px;color:#b9bbbe;display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:4px}.viewersIcon-15qGwd.activeButton-A0x-10,.viewersIcon-15qGwd:hover{color:#fff}.viewersTooltipItem-1otSnk{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.memberListItem-3IkoL8:not(.popoutDisabled-161HX0):hover{background-color:var(--background-tertiary)}
-.art-clkMXs{background-position:50%;background-repeat:no-repeat;width:238.48px;height:95.7px;margin:0 auto 20px}.theme-dark .art-clkMXs{background-image:url(/assets/2ceb472e89545af8543aa44b072b910d.svg)}.theme-dark .description-FLRtPT{color:#f6f6f7}.theme-light .art-clkMXs{background-image:url(/assets/0e88c0d5ad220379d8e2438dd6444222.svg)}.theme-light .description-FLRtPT{color:#2e3338}
-.closeButton-30cKQR{position:absolute;top:14px;right:14px}.title-YNu73W{margin:0}.content-2FmSBS{overflow:visible}.content-2FmSBS>*{margin-bottom:24px}
-.avatar-Uq3gXb{width:24px}.avatar-Uq3gXb,.userListOverflow-cTtEue{height:24px;border-radius:50%}.userListOverflow-cTtEue{-webkit-box-sizing:border-box;box-sizing:border-box;font-size:12px;font-weight:700;min-width:24px;line-height:25px;padding:0 5px 0 4px;background-color:var(--background-primary);color:var(--text-normal)}.voiceUserList-3KiWkn{margin-left:5px;margin-right:8px;cursor:default}.channelIcon-2xPHJh{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-right:5px;color:var(--text-muted)}.selected-2rGcKN .channelIcon-2xPHJh{color:var(--interactive-active)}.channelInfo-2OWB9j{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%}.channelName-3_Vb6f{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
-.divider-3upnin{width:100%;position:absolute;bottom:0;left:0;height:1px;opacity:0;z-index:1}.divider-3upnin.separator-19P9q2{opacity:1}.theme-dark .separator-19P9q2{-webkit-box-shadow:0 1px 0 0 rgba(24,25,28,.3),0 1px 2px 0 rgba(24,25,28,.3);box-shadow:0 1px 0 0 rgba(24,25,28,.3),0 1px 2px 0 rgba(24,25,28,.3)}.theme-light .separator-19P9q2{-webkit-box-shadow:0 1px 0 0 rgba(185,187,190,.3);box-shadow:0 1px 0 0 rgba(185,187,190,.3)}
-.modalSize-cqUaws{width:400px}.modalCloseButton-2wzgdr{position:absolute;top:12px;right:12px}.modalBody-u1aNhe{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:relative;overflow:hidden}.formItemTitleSlim-2X22M5{margin-top:12px;margin-bottom:8px}.modalContent-BM7Qeh{padding:0 16px}.modalContent-BM7Qeh:last-child{margin-bottom:20px}.modalHeader-19eoYJ{padding-bottom:0}.marginBottom-3hmv_z{margin-bottom:20px}.formItemTitle-155OC0{margin-top:20px;margin-bottom:8px}.headerText-2j81og{font-weight:700;margin-bottom:8px}.headerDescription--F5XUT{text-align:center;padding:0 32px}.flexGrow-3k1BKf{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.cancelButton-1mlh7b{margin-right:8px}.art-1qgogX{display:inline-block;margin:-60px auto 0;background-size:contain;background-repeat:no-repeat;width:290px;height:112px}.theme-dark .art-1qgogX{background-image:url(/assets/62361315d5e35b7a6b5f0f0833dac5db.svg)}.theme-light .art-1qgogX{background-image:url(/assets/33debfc680a86b77cd72203f1fb4d8a7.svg)}
-.title-Ug2-48{}.scrollerInner-3cKLI1{padding-left:16px;max-height:200px;padding-right:16px;padding-bottom:16px;border-bottom:1px solid hsla(0,0%,100%,0)}.scrollerInner-3cKLI1.bottomSeparator-2I_cet{border-bottom:1px solid hsla(0,0%,100%,.04)}.scrollWrapper-D9dVnd{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;min-height:0;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}
-.channelInfoWrapper-1DPrpu{overflow:hidden;margin-right:0}.channelTitleWrapper-UW6lQz{min-width:0}
-.card-2Mz_4z{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:8px 4px 8px 8px;border-radius:3px;font-size:16px;line-height:16px;color:var(--header-primary);border:1px solid var(--background-tertiary);background-color:var(--background-secondary)}
-.group-2dAfBy{}.group-2dAfBy,.item-3T2z1R{-webkit-box-sizing:border-box;box-sizing:border-box}.item-3T2z1R{padding:0;background:transparent;cursor:pointer;border-width:1px 1px 1px 0;border-style:solid;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.item-3T2z1R:first-child{border-left-width:1px;border-radius:3px 0 0 3px}.item-3T2z1R:last-child{border-radius:0 3px 3px 0}.item-3T2z1R:disabled{opacity:.3;cursor:not-allowed}.theme-light .item-3T2z1R{border-color:#dcddde}.theme-dark .item-3T2z1R{border-color:#18191c}
-.selectorButton-EEUWed{min-width:36px;padding:6px 0;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;background:var(--background-secondary)}.selectorButton-EEUWed:not(.selectorButtonPremiumRequired-mKMbIu):hover{background-color:var(--brand-experiment)}.selectorButton-EEUWed:not(.selectorButtonPremiumRequired-mKMbIu):hover .selectorText-2I7fQU{color:#fff}.selectorButtonSelected-t5V9On{background-color:var(--brand-experiment)}.selectorText-2I7fQU{text-transform:uppercase;font-weight:700;color:var(--interactive-normal)}.selectorTextSelected-1ymya_{color:#fff}.selectorNitroText-GCsvMp{text-transform:uppercase;text-decoration:line-through;font-weight:700;opacity:.3}.settingsGroup-2NaPKC{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;margin-right:16px;margin-bottom:2px}.settingsGroup-2NaPKC:last-child{margin-right:0}.documentModeGroup-1f0PO-{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.documentModeDescription-3mCV_i{min-height:32px}.qualitySettingsContainer-1gOtRJ{border:1px solid #18191c;border-radius:8px;padding:0 8px 8px}
-.selectedIcon-DE5J2w{-ms-flex-negative:0;flex-shrink:0;margin-right:8px;color:var(--interactive-normal)}.ellipsisText-2EszCb{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%;font-weight:500;margin-right:8px}.changeButton-278ZT6{margin-left:auto;margin-top:-4px;margin-bottom:-4px}.changeButton-278ZT6,.warningIcon-1Dw6GH{-ms-flex-negative:0;flex-shrink:0}.warningIcon-1Dw6GH{width:20px;height:20px;margin-right:8px}.warning--qC9N8{padding:8px 16px;color:var(--interactive-normal)}
-.guildScroller-2J_wr3{max-height:290px}.guildRow-26rtE0,.guildScroller-2J_wr3{display:-webkit-box;display:-ms-flexbox;display:flex}.guildRow-26rtE0{-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:8px;margin:0 -8px;border-radius:4px}.guildRow-26rtE0:hover{background-color:var(--background-modifier-accent)}.guildIcon-1N_B__{-ms-flex-negative:0;flex-shrink:0;margin-right:8px}.guildName-2snOC3{-webkit-box-flex:1;-ms-flex:1;flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.guildArrow-MZgyxl{color:var(--interactive-normal);-ms-flex-negative:0;flex-shrink:0}
-.grid-32iiFi{position:relative}.tile-8W93rZ{-webkit-box-sizing:border-box;box-sizing:border-box}
-.item-1TLUig{cursor:pointer;font-size:13px;margin-right:20px;padding-top:20px;padding-bottom:20px}.theme-dark .container-OI6I9q{color:#b9bbbe}.theme-dark .selected-P8xTeN{color:#f6f6f7;border-bottom:2px solid #f6f6f7}.theme-light .container-OI6I9q{color:#72767d}.theme-light .selected-P8xTeN{color:#4f545c;border-bottom:2px solid #4f545c}
-.spinner-nBA_Xz{height:350px}.tile-2w4k5N{cursor:pointer;padding:8px}.tile-2w4k5N:hover .sourceThumbnail-27dolk{-webkit-box-shadow:inset 0 0 0 2px var(--brand-experiment);box-shadow:inset 0 0 0 2px var(--brand-experiment)}.sourceScroller-Pk7YAM{height:300px}.sourceContainer-3LOXkb{padding:8px}.sourceThumbnail-27dolk{width:170px;height:96px;border-radius:4px;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:var(--background-tertiary);-webkit-box-shadow:inset 0 0 0 2px transparent;box-shadow:inset 0 0 0 2px transparent;-webkit-transition:-webkit-box-shadow .15s ease-in-out;transition:-webkit-box-shadow .15s ease-in-out;transition:box-shadow .15s ease-in-out;transition:box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}.sourceThumbnail-27dolk.selected-1nOkyc{-webkit-box-shadow:inset 0 0 0 2px var(--brand-experiment);box-shadow:inset 0 0 0 2px var(--brand-experiment)}.sourceName-1y7Taj{margin-top:8px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:170px;text-align:center;font-weight:600;color:var(--header-primary)}.segmentContainer-3izQ9Z{position:relative}.segmentControl-1bEQH5{padding:0 16px}.segmentControlOption-1vCKaY{padding-bottom:8px;font-size:14px;line-height:20px}
-.button-3HLNXW{line-height:0}.badgeUpgrade-3_4a3F{position:absolute;right:2px;bottom:2px;color:var(--brand-experiment)}
-.mirror-1i_yQY{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.video-xBa92B{position:relative;background-color:#000}.media-ya5FZp,.video-xBa92B{width:100%;height:100%}.media-ya5FZp{-o-object-fit:contain;object-fit:contain}
-.leftTrayIcon-1mCY9j{margin-right:16px}.rightTrayIcon-gMHgPy{margin-left:16px}.embedTarget-xAd1Pd{width:100%;height:100%}.embedTargetHidden-3qHg_F{width:0;height:0;visibility:hidden}
-.popout-3fRpdY{-ms-flex-direction:column;flex-direction:column;height:100vh;background-color:#2f3136}.content-2RRmGk,.popout-3fRpdY{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal}.content-2RRmGk{height:100%;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;min-height:0}
-.quickSelect-3BxO0K{font-size:13px;cursor:default;color:var(--interactive-normal)}.quickSelectClick-1HOWp1{cursor:pointer}.quickSelectValue-lImyM6{margin-left:4px}.quickSelectLabel-2r3iJ_{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--text-muted)}.quickSelectArrow-1QublR{width:10px;height:7px;margin-left:5px}.quickSelectPopout-X1hvgV{border-radius:3px;overflow:hidden}.quickSelectPopoutScroll-2dlvk5{max-height:384px}.quickSelectScroller-2SmdH_{overflow-y:auto}.quickSelectPopoutOption-opKBx9{padding:8px;cursor:pointer}.quickSelectPopoutOption-opKBx9.selected-3RZo5I{background-color:inherit;cursor:default}.quickSelectPopoutOption-opKBx9:focus{background-color:var(--background-modifier-hover);color:var(--interactive-hover)}.theme-light .quickSelectArrow-1QublR{background:url(/assets/8b86f90154cbe38507a14fdd34367f17.svg) 50% no-repeat}.theme-light .quickSelectPopout-X1hvgV{background-color:#fff;color:#4f545c}.theme-light .quickSelectPopoutOption-opKBx9:hover{background-color:#f6f6f7}.theme-dark .quickSelectArrow-1QublR{background:url(/assets/f58cf3b8fc79e9d671ab649ab37651a9.svg) 50% no-repeat}.theme-dark .quickSelectPopout-X1hvgV{background:#2f3136;color:#f6f6f7}.theme-dark .quickSelectPopoutOption-opKBx9:hover{background-color:rgba(79,84,92,.3)}
-.regionSelect-3lf4eE{margin-top:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;height:46px}.regionSelect-3lf4eE.disabled-1PUF94{pointer-events:none;opacity:.25}.regionSelect-3lf4eE.disabled-1PUF94 .regionSelectInner-24f4Ce{border-radius:3px}.regionSelect-3lf4eE.disabled-1PUF94 button{display:none}.regionSelect-3lf4eE.regionSelectLoading-34I21m{border:1px solid #cdcdcd;border-radius:4px;pointer-events:none;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.regionSelect-3lf4eE button{font-family:var(--font-primary);font-weight:500;color:var(--brand-experiment);font-size:14px;border:1px solid #cdcdcd;border-left:none;border-radius:0 4px 4px 0;padding:10px}.regionSelect-3lf4eE .regionSelectInner-24f4Ce{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:7px;-webkit-box-flex:1;-ms-flex:1;flex:1;border:1px solid #cdcdcd;border-radius:4px 0 0 4px}.regionSelect-3lf4eE .regionSelectFlag-3uwFtG{margin-right:16px}.regionSelectFlag-3uwFtG{width:44px;height:30px;background-size:44px 30px;position:relative;-ms-flex-negative:0;flex-shrink:0;border-radius:4px;background-color:var(--brand-experiment)}.vip-1SuRbe:after{position:absolute;bottom:-5px;right:-10px;content:"VIP";background:var(--brand-experiment);color:#fff;border:2px solid #fff;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;font-weight:500;font-size:10px;padding:1px 3px}.regionSelectName-2-2FWh{font-weight:700;font-size:16px;color:#99aab5}.regionSelectModal-12e-57{background:#fff!important;width:700px!important;padding:30px;-webkit-box-sizing:border-box;box-sizing:border-box}.regionSelectModal-12e-57 .regionSelectModalHeader-21khC1{text-align:center;font-weight:700;text-transform:uppercase;color:var(--brand-experiment);font-size:18px;margin-bottom:23px}.regionSelectModal-12e-57 .regionSelectModalFooter-20C5iA{font-size:12px;color:#87909c;text-align:center;margin-top:23px}.regionSelectModal-12e-57 .regionSelectModalOptions-2TWQOB{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.regionSelectModal-12e-57 .regionSelectModalOption-2DSIZ3{border:2px solid #f3f3f3;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#fff;width:114px;height:114px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;cursor:pointer;margin:7px}.regionSelectModal-12e-57 .regionSelectModalOption-2DSIZ3 .regionSelectName-2-2FWh{margin-top:16px;text-align:center;padding:0 4px}.regionSelectModal-12e-57 .regionSelectModalOption-2DSIZ3:hover{border-color:var(--brand-experiment);-webkit-box-shadow:0 1px 0 rgba(0,0,0,.06);box-shadow:0 1px 0 rgba(0,0,0,.06)}.theme-dark .regionSelect-3lf4eE,.theme-dark .regionSelect-3lf4eE button,.theme-light .regionSelect-3lf4eE,.theme-light .regionSelect-3lf4eE button{background-color:transparent}.theme-dark .regionSelect-3lf4eE:hover,.theme-light .regionSelect-3lf4eE:hover{-webkit-box-shadow:0 1px 0 rgba(0,0,0,.06);box-shadow:0 1px 0 rgba(0,0,0,.06)}.theme-dark .regionSelect-3lf4eE:hover .regionSelectInner-24f4Ce,.theme-dark .regionSelect-3lf4eE:hover button,.theme-light .regionSelect-3lf4eE:hover .regionSelectInner-24f4Ce,.theme-light .regionSelect-3lf4eE:hover button{border-color:var(--brand-experiment)}.theme-dark .regionSelect-3lf4eE:hover button,.theme-light .regionSelect-3lf4eE:hover button{background-color:var(--brand-experiment);color:#fff}
-.regionSelectPopout-p9-0_W{direction:rtl;-webkit-box-shadow:0 0 1px rgba(0,0,0,.82),0 1px 4px rgba(0,0,0,.1);box-shadow:0 0 1px rgba(0,0,0,.82),0 1px 4px rgba(0,0,0,.1)}.check-2by_h9{display:block;background:url(/assets/1c0a5d38bdeaaad433b68cf6092ed510.svg);width:16px;height:12px}.regionSelectFlag-1htPow{position:relative;-ms-flex-negative:0;flex-shrink:0;background-color:var(--brand-experiment);width:24px;height:16px;background-size:cover;border-radius:2px}.regionSelectName-c5qL8O{direction:ltr;text-align:right;width:100px;height:16px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:500;font-size:13px;line-height:18px;margin:0 6px}.theme-light .regionSelectName-c5qL8O{color:#72767d}.theme-dark .regionSelectName-c5qL8O{color:#b9bbbe}
-.menu-2wmWSE{max-height:70vh}
-.content-3n1cMX{display:-webkit-box;display:-ms-flexbox;display:flex;padding:16px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.cameraPreview-3VbjBn{position:relative;background:var(--background-secondary-alt);border-radius:4px;overflow:hidden;height:207px;width:368px;margin-bottom:16px}.selector-23Ycqr{margin-bottom:16px;width:100%}.header-1EVHO2{text-align:center;margin-bottom:8px}.subtitle-gARoTt{text-align:center;margin-bottom:16px;color:var(--interactive-normal)}.spinner-2D09Su{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.camera-1WWmPt,.spinner-2D09Su{position:absolute}.camera-1WWmPt{top:0;left:0;right:0;bottom:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}
-.slash-33-IMF{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.controlButton-2MhVEL{margin:0 8px}@media (max-width:456px){.controlButton-2MhVEL{margin:0 4px}}.wrapper-3EGhDO{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}
-.buttonColor-2Nx30V{background-color:#36393f;color:#fff}.buttonColor-2Nx30V:hover{background-color:rgba(79,84,92,.16)}@media (max-width:456px){.textButton-3MS7qa{display:none}}@media (min-width:457px){.iconButton-u_X73A{display:none}}
-.root-217Brm{height:100%;width:100%;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#fff}.root-217Brm.idle-1j3olu{cursor:none}.root-217Brm.idle-1j3olu .gradientContainer-10lXLB{opacity:0}.root-217Brm.idle-1j3olu .topControls-KKImPZ{opacity:0;-webkit-transform:translate3d(0,-8px,0);transform:translate3d(0,-8px,0)}.root-217Brm.idle-1j3olu .bottomControls-lIJyYL{opacity:0;-webkit-transform:translate3d(0,8px,0);transform:translate3d(0,8px,0)}.videoControls-24w7Xp{pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;padding:0 16px 16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.gradientContainer-10lXLB{pointer-events:none;height:160px;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;background-image:-webkit-gradient(linear,left top,left bottom,from(#000),color-stop(19%,rgba(0,0,0,.738)),color-stop(34%,rgba(0,0,0,.541)),color-stop(47%,rgba(0,0,0,.382)),color-stop(56.5%,rgba(0,0,0,.278)),color-stop(65%,rgba(0,0,0,.194)),color-stop(73%,rgba(0,0,0,.126)),color-stop(80.2%,rgba(0,0,0,.075)),color-stop(86.1%,rgba(0,0,0,.042)),color-stop(91%,rgba(0,0,0,.021)),color-stop(95.2%,rgba(0,0,0,.008)),color-stop(98.2%,rgba(0,0,0,.002)),to(transparent));background-image:linear-gradient(#000,rgba(0,0,0,.738) 19%,rgba(0,0,0,.541) 34%,rgba(0,0,0,.382) 47%,rgba(0,0,0,.278) 56.5%,rgba(0,0,0,.194) 65%,rgba(0,0,0,.126) 73%,rgba(0,0,0,.075) 80.2%,rgba(0,0,0,.042) 86.1%,rgba(0,0,0,.021) 91%,rgba(0,0,0,.008) 95.2%,rgba(0,0,0,.002) 98.2%,transparent)}.gradientTop-3UWg3T{top:0}.gradientBottom-3X4SdK,.gradientTop-3UWg3T{position:absolute;right:0;left:0}.gradientBottom-3X4SdK{bottom:0;-webkit-transform:scaleY(-1);transform:scaleY(-1)}.controlSection-2h3cS0{pointer-events:all;-webkit-transition:opacity .2s ease-in-out,-webkit-transform .2s ease-in-out;transition:opacity .2s ease-in-out,-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out,opacity .2s ease-in-out;transition:transform .2s ease-in-out,opacity .2s ease-in-out,-webkit-transform .2s ease-in-out}.bottomControls-lIJyYL,.topControls-KKImPZ{width:100%;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;-webkit-transform:translateZ(0);transform:translateZ(0)}.bottomControls-lIJyYL{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;line-height:0}.screenMessage-2smdgi{background-color:rgba(0,0,0,.6);position:absolute;top:0;right:0;bottom:0;left:0}.title-1gVSym{font-size:24px}.supportingText-Q8rmAI,.title-1gVSym{text-align:center;font-weight:500;line-height:1.25}.supportingText-Q8rmAI{font-size:16px}.theme-dark .title-1gVSym,.theme-light .title-1gVSym{color:#fff}.theme-dark .supportingText-Q8rmAI,.theme-light .supportingText-Q8rmAI{color:#b9bbbe}
-.arrow-3OIjPY{-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out}.up-34qlJU{-webkit-transform:rotate(180deg);transform:rotate(180deg)}
-.platform-osx .container-1r6BKw{-webkit-app-region:drag}.container-1r6BKw{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-width:0;width:100%;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;height:48px;padding:0 8px;font-size:16px;line-height:20px;cursor:default;z-index:2;color:var(--text-normal)}.container-1r6BKw,.container-1r6BKw *{-webkit-box-sizing:border-box;box-sizing:border-box}.container-1r6BKw.themed-ANHk51{background:var(--background-primary)}.container-1r6BKw.transparent-2ZlE3R{background:transparent}.children-19S4PO{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-width:0;overflow:hidden}.children-19S4PO:after{content:"";position:absolute;top:0;right:0;width:8px;height:100%}.theme-dark .children-19S4PO:after{background:-webkit-gradient(linear,left top,right top,from(rgba(54,57,63,0)),to(var(--background-primary)));background:linear-gradient(90deg,rgba(54,57,63,0) 0,var(--background-primary))}.theme-light .children-19S4PO:after{background:-webkit-gradient(linear,left top,right top,from(hsla(0,0%,100%,0)),to(var(--background-primary)));background:linear-gradient(90deg,hsla(0,0%,100%,0) 0,var(--background-primary))}.transparent-2ZlE3R .children-19S4PO:after{display:none}.toolbar-1t6TWx{-ms-flex:0 0 auto;flex:0 0 auto;min-width:0}.title-29uC1r,.toolbar-1t6TWx{-webkit-box-flex:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.title-29uC1r{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;margin:0 8px 0 0;-ms-flex:0 0 auto;flex:0 0 auto;min-width:auto;overflow:hidden;white-space:nowrap}.clickable-3rdHwn{cursor:pointer}.iconWrapper-2OrFZ1{position:relative;height:24px;width:auto;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin:0 8px}.icon-22AiRD{display:block;width:24px;height:24px;-webkit-app-region:no-drag;color:var(--text-muted)}.clickable-3rdHwn .icon-22AiRD{color:var(--interactive-normal)}.clickable-3rdHwn:hover .icon-22AiRD{color:var(--interactive-hover)}.selected-1GqIat .icon-22AiRD{color:var(--interactive-active)}.iconBadge-qZ4Ksk{position:absolute;right:2px;bottom:2px;width:8px;height:8px;border-radius:8px;background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.divider-3FBTu8{width:1px;height:24px;margin:0 8px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;background:var(--background-modifier-accent)}.caret-3W7cBB{color:var(--text-muted);-ms-flex-negative:0;flex-shrink:0;width:10px;margin:0 2px}
-.pro-1T8RK7{text-transform:uppercase}.tip-2ab612{line-height:16px;opacity:.6}.block-2RXqH9 .pro-1T8RK7,.block-2RXqH9 .tip-2ab612,.tip-2ab612{font-size:14px}.inline-136HKr .pro-1T8RK7,.inline-136HKr .tip-2ab612{font-size:12px;display:inline}.inline-136HKr .pro-1T8RK7{margin-right:3px}
-.messagesPopoutWrap-1MQ1bW{background-color:var(--background-secondary);-webkit-box-shadow:var(--elevation-stroke),var(--elevation-high);box-shadow:var(--elevation-stroke),var(--elevation-high);width:420px;min-height:200px;border-radius:4px;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;z-index:0}.messagesPopoutWrap-1MQ1bW .mention{pointer-events:none}.header-ykumBX{position:relative;padding:16px;background-color:var(--background-tertiary);-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low)}.title-3pkaKd{color:var(--header-primary)}.footer-1kmXd4{padding:16px;text-align:center;height:53px;background-color:var(--background-tertiary)}.loadingMore-1cSz09{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:8px}.loadingMore-1cSz09 .spinner-MoOpqm{display:inline-block;margin:0}.hasMore-sul95G,.loadingMore-1cSz09{margin-top:8px;height:32px}.hasMore-sul95G{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 9px 16px 16px}.messagesPopout-24nkyi{padding:8px 0 0 8px}.messageGroupWrapper-o-Zw7G{position:relative;background:var(--background-primary);border:1px solid var(--background-tertiary);border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:0 0 6px;overflow:hidden}.messageGroupWrapper-o-Zw7G .messageGroupCozy-2iY6cT{margin-left:-4px;padding-top:12px;padding-bottom:12px}.scrollingFooterWrap-3FDlMn{position:relative}.emptyPlaceholder-1zh-Eu{margin-top:8px;margin-bottom:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.emptyPlaceholder-1zh-Eu,.emptyPlaceholder-1zh-Eu.bottom-TGnsta{-webkit-box-align:center;align-items:center}.emptyPlaceholder-1zh-Eu.bottom-TGnsta{-ms-flex-align:center;margin-bottom:0}.emptyPlaceholder-1zh-Eu.bottom-TGnsta .image-2JDb81{margin-top:25px}.emptyPlaceholder-1zh-Eu.loadingPlaceholder-2SCYFe{margin-top:100px}.image-2JDb81{width:120px;height:120px;background-size:94px 120px;background-repeat:no-repeat;background-position:50%}.body-bvcIjN{white-space:pre;margin-top:20px;font-size:16px;line-height:20px;font-weight:500;text-align:center;color:var(--text-normal)}.loadingPlaceholder-2SCYFe{margin-top:240px}.channelSeparator-1MxuvT{margin-top:24px;margin-bottom:8px}.channelName-3kBz6H{font-weight:500;font-size:16px;line-height:18px;cursor:pointer;color:var(--header-primary)}.channelName-3kBz6H:hover{text-decoration:underline}.guildName-1Bc3Ta{color:var(--text-muted);font-weight:500;margin-left:4px;font-size:12px;line-height:16px}.channelSeparator-1MxuvT:first-of-type{margin-top:13px}.actionButtons-1sUUug{display:none;position:absolute;top:12px;right:12px}.messageGroupWrapper-o-Zw7G:focus-within .actionButtons-1sUUug,.messageGroupWrapper-o-Zw7G:hover .actionButtons-1sUUug{display:-webkit-box;display:-ms-flexbox;display:flex}.jumpButton-3DTcS_{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:500;line-height:14px;font-size:11px;height:14px;border-radius:3px;text-align:center;padding:2px 8px;margin-right:4px;margin-left:6px;color:var(--interactive-normal);background-color:var(--background-secondary)}.jumpButton-3DTcS_:hover{color:var(--interactive-hover)}.keyboard-mode .jumpButton-3DTcS_:focus{-webkit-box-shadow:0 0 0 4px var(--focus-primary);box-shadow:0 0 0 4px var(--focus-primary)}.jumpButton-3DTcS_ .loading-2bJK5L{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.jumpButton-3DTcS_ .loading-2bJK5L.visible-1PE5Ym{opacity:1}.closeIcon-2Yg8TD{width:16px;height:16px;display:block;cursor:pointer;color:var(--interactive-normal)}.closeIcon-2Yg8TD:hover{color:var(--interactive-hover)}.closeIcon-2Yg8TD:active{color:var(--interactive-active)}
-.button-1-5Aqk{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;border-radius:50%;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer}.full-motion .button-1-5Aqk{-webkit-transition:color .2s ease,background-color .2s ease;transition:color .2s ease,background-color .2s ease}.primary-2McadE{background-color:var(--background-primary);color:var(--header-primary)}.primary-2McadE:hover:not(.disabled-3Njyym){color:var(--interactive-active)}.primary-2McadE:hover:not(.disabled-3Njyym),.secondary-dIudih{background-color:var(--background-secondary)}.secondary-dIudih{color:var(--header-secondary)}.secondary-dIudih:hover:not(.disabled-3Njyym){background-color:var(--background-primary);color:var(--interactive-active)}.tertiary-aMXF0g{background-color:var(--background-tertiary);color:var(--interactive-normal)}.tertiary-aMXF0g:hover:not(.disabled-3Njyym){background-color:var(--background-floating);color:var(--interactive-active)}.size24-12dr1B{padding:4px;width:24px;min-width:24px;height:24px;min-height:24px}.size32-T2BHRe{width:32px;min-width:32px;height:32px;min-height:32px}.size36-1Ff1kn{width:36px;min-width:36px;height:36px;min-height:36px}.disabled-3Njyym{opacity:.3;pointer-events:none}
-.jumpButton-2dvRSC{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-tertiary);border-radius:3px;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;font-weight:500;height:24px;padding:4px;position:absolute;right:0;text-align:center;top:3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}.jumpButton-2dvRSC .text-3KVtey{color:var(--header-secondary)}.jumpButton-2dvRSC:hover .text-3KVtey{color:var(--interactive-hover)}.jumpButton-2dvRSC:active .text-3KVtey{color:var(--interactive-active)}
-.wrapper-232cHJ{display:inline-block;border-radius:3px;background-clip:padding-box;background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);-webkit-box-shadow:0 1px 0 rgba(0,0,0,.25),inset 0 1px 0 hsla(0,0%,100%,.15);box-shadow:0 1px 0 rgba(0,0,0,.25),inset 0 1px 0 hsla(0,0%,100%,.15);color:#fff;font-size:12px;line-height:12px;font-weight:500;padding:3px 6px;text-shadow:0 1px 0 rgba(0,0,0,.25);text-transform:uppercase}
-.channelHeader-3Gd2xq{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-secondary);-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;height:64px;padding-top:12px;padding-bottom:12px;padding-left:16px;position:-webkit-sticky;position:sticky;top:0;z-index:10}.dmIcon-2eU-bE{border-radius:12px;height:40px;width:40px}.dmIcon-2eU-bE,.guildIcon-3Co6k-{cursor:pointer;margin-right:16px;-ms-flex-negative:0;flex-shrink:0}.guildIcon-3Co6k-{background-color:var(--background-secondary-alt)}.channelNameSection-3Vm87D{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-right:16px;overflow:hidden}.badge-2l0o8g{border-radius:20px;-webkit-box-shadow:none;box-shadow:none;margin-left:8px;position:relative;text-shadow:none;top:-2px}.channelName-_v0rI4,.subtext-qy79y1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.channelName-_v0rI4,.guildName-GKOCI8{cursor:pointer;display:inline-block;min-width:0;width:100%}.channelName-_v0rI4:hover,.guildName-GKOCI8:hover{text-decoration:underline}.channelNameHeader-F4hU_R{height:20px}.subtext-qy79y1,.subtextContainer-34z_03{max-height:16px;min-width:0;width:100%}.activityStatus-3EyZw5{display:-webkit-box;display:-ms-flexbox;display:flex}.activityEmoji-3sF2z4{margin-right:4px;width:14px;height:14px}
-.container-3u944p{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;min-height:400px;text-align:center;padding:0 16px}.iconContainer-JbDkvn{margin-bottom:16px;position:relative}.icon-1Itzco{background-color:var(--background-primary);border-radius:80px;color:var(--text-muted);padding:22px}.stars-1YAEQv{position:absolute;left:-10px}.header-2M8_sb{margin-bottom:8px}.protip-283HFv{font-weight:700;text-transform:uppercase}
-.recentMentionsPopout-3rCiI6{width:35vw;max-width:600px;min-width:480px;max-height:80vh}.scroller-2UmRce{padding:0}.container-3iAQ-0{margin-bottom:16px;padding-left:16px;padding-right:9px}.closeButton-1152MI{-ms-flex-negative:0;flex-shrink:0;margin-left:12px}.messageContainer-gbhlwo{background-color:var(--background-primary);border-radius:8px;padding:16px 16px 16px 0;position:relative}.jumpButton-2F6EMx{right:16px;top:19px;opacity:0}.messageContainer-gbhlwo:focus-within .jumpButton-2F6EMx,.messageContainer-gbhlwo:hover .jumpButton-2F6EMx{opacity:1}.message-2DieIs{overflow:hidden;padding-right:0}.messageContainer-gbhlwo .message-2DieIs:first-of-type{margin-top:0}
-.header-2-Imhb{-webkit-box-shadow:none;box-shadow:none;height:56px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;min-height:56px;padding:12px 16px}.header-2-Imhb,.header-2-Imhb .tab-ck0077{-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex}.header-2-Imhb .tab-ck0077{-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:24px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-left:0;margin-top:4px;text-align:center}.theme-dark .header-2-Imhb .tabBar-1kuXvJ .tab-ck0077.active-1MbGPa{background-color:var(--background-accent)}
-.expanded-13sWhZ{background-color:var(--background-message-hover)}.blockedSystemMessage-2Rk1ek{font-size:1rem;line-height:1.375rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-indent:0}.blockedIcon-IrnkVA{width:1rem;height:1rem;display:block;color:var(--text-muted)}.container-3eemR3:hover .blockedIcon-IrnkVA{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.blockedMessageText-1fRjos{color:var(--header-secondary)}.blockedAction-2ZyU8z{color:var(--text-muted);cursor:pointer}.blockedSystemMessage-2Rk1ek:hover .blockedAction-2ZyU8z{color:var(--text-link)}.blockedAction-2ZyU8z:hover{text-decoration:underline}
-.messages-3G3erD{background-color:var(--background-primary);border-radius:8px;padding:16px 16px 16px 0}.messageContainer-1ei2zM{position:relative}.jumpButton-3vBz5U{opacity:0}.messageContainer-1ei2zM:focus-within .jumpButton-3vBz5U,.messageContainer-1ei2zM:hover .jumpButton-3vBz5U{opacity:1}.message-2g38UB{overflow:hidden;padding-right:0}.message-2g38UB .mention{pointer-events:none}.messages-3G3erD .messageContainer-1ei2zM:first-of-type .message-2g38UB{margin-top:0}.divider-39oAwV{margin-top:16px;margin-bottom:16px;margin-left:16px}
-.channel-3pEHab{padding-bottom:16px}.collapseButton-2ZsEjz,.markReadButton-qAjML_{-ms-flex-negative:0;flex-shrink:0}.markReadButton-qAjML_{margin-left:12px}.collapseButton-2ZsEjz{color:var(--interactive-normal);cursor:pointer;position:absolute;left:-6px;width:16px;height:16px;padding:2px}.collapseButton-2ZsEjz.collapsed-S4RKOA{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}
-.divider-EK35Fy{margin-top:48px;margin-bottom:32px}.dividerContent-2S2hYI{background:transparent}
-.container-enaOkj{background-color:var(--background-secondary);-webkit-box-shadow:var(--elevation-stroke),var(--elevation-high);box-shadow:var(--elevation-stroke),var(--elevation-high);border-radius:4px;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;z-index:0}.spinner-3wwZNP{margin-bottom:32px;margin-top:32px}.tutorial-3w5I9h{background-color:var(--background-tertiary);border-radius:8px;padding:16px;margin:16px 0}.tutorial-3w5I9h,.tutorialIcon-3f1miQ{display:-webkit-box;display:-ms-flexbox;display:flex}.tutorialIcon-3f1miQ{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-primary);border-radius:40px;color:var(--interactive-normal);height:40px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:40px;-ms-flex-negative:0;flex-shrink:0;margin-right:16px}.tutorialButton-2wJx1F{margin-top:8px}.scroller-tlc3kG{padding:0 16px}
-.root-2eYTXR.comboIcon-2e1arG{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;width:auto;height:24px}.count-34xWho{line-height:24px;margin-left:4px}.icon--rRIa3{width:24px;height:24px;-ms-flex-negative:0;flex-shrink:0}
-.list-SuzGBZ{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.listDefault-3ir5aS{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.listCollapse-1f19fE,.listDefault-3ir5aS{-webkit-box-direction:normal}.listCollapse-1f19fE{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.voiceUser-1K6Xox{position:relative;cursor:pointer}.content-1Wq3SX{display:-webkit-box;display:-ms-flexbox;display:flex;border-radius:4px;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:1px;margin-bottom:1px}.flipped-2sNWIS{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.userLarge-qiDClb{height:38px}.userSmall-YJ5L9_{height:32px}.listCollapse-1f19fE .content-1Wq3SX{margin-left:8px}.listCollapse-1f19fE .content-1Wq3SX.flipped-2sNWIS{margin-left:0;margin-right:8px}.listDefault-3ir5aS .avatarContainer-28iYmV{margin-right:8px;margin-left:8px}.avatar-3tNQiO{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;border-radius:50%;background-size:100%;background-repeat:no-repeat;background-position:50% 50%;margin-top:3px;margin-bottom:3px}.avatarSmall-1PJoGO{width:24px;height:24px}.avatarLarge-3EQ-HE{width:30px;height:30px}.avatarSpeaking-2IGMRN{-webkit-box-shadow:inset 0 0 0 2px hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%),inset 0 0 0 3px var(--background-secondary);box-shadow:inset 0 0 0 2px hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%),inset 0 0 0 3px var(--background-secondary)}.username-3KYl0N{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.usernameFont-23TX-h{font-size:14px;line-height:18px;font-weight:500}.icons-1dXQdz{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-right:8px}.flipped-2sNWIS .icons-1dXQdz{margin-right:0;margin-left:8px}.icon-2IuuZd{width:16px;height:16px}.iconTooltipContainer-DzbRyh{line-height:0}.iconTooltip-9cG7Fn{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.iconSpacing-3eO9xt{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:4px}.liveIconSpacing-DSnkAT{margin-left:6px}.flipped-2sNWIS .iconSpacing-3eO9xt{margin-left:0;margin-right:4px}.iconPriortySpeaker-3bZlw-{position:absolute;left:-16px;width:6px;height:6px;border-radius:8px}.icon-2IuuZd,.username-3KYl0N{color:var(--channels-default)}.iconServer-Lyg2F4,.strikethrough-3q4FHz{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.listDefault-3ir5aS .clickable-1lCRLF:hover .content-1Wq3SX{background-color:var(--background-modifier-hover)}.listDefault-3ir5aS .clickable-1lCRLF:active .content-1Wq3SX{background-color:var(--background-modifier-active)}.listDefault-3ir5aS .clickable-1lCRLF.selected-3t3Csj .content-1Wq3SX{background-color:var(--background-modifier-selected)}.listDefault-3ir5aS .clickable-1lCRLF:hover .username-3KYl0N{color:var(--interactive-hover)}.listDefault-3ir5aS .clickable-1lCRLF.selected-3t3Csj .username-3KYl0N,.usernameSpeaking-RmltQx{color:var(--interactive-active)}.liveIcon-2TcPbb{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);color:#fff}.iconPriortySpeakerSpeaking-22tQMF{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.iconPriortySpeaker-3bZlw-{background-color:var(--text-muted)}.disabled-o7LSOr{opacity:.5}.disabled-o7LSOr:hover{opacity:1}
-.body-Ogsp8i{padding:10px}.streamPreviewWrapper-2DSWOK{padding-left:16px;opacity:0;-webkit-transition:opacity .15s ease,-webkit-transform 125ms ease-in;transition:opacity .15s ease,-webkit-transform 125ms ease-in;transition:opacity .15s ease,transform 125ms ease-in;transition:opacity .15s ease,transform 125ms ease-in,-webkit-transform 125ms ease-in;position:relative;-webkit-transform:translate3d(8px,0,0) scale(.98);transform:translate3d(8px,0,0) scale(.98);-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.streamPreviewWrapper-2DSWOK.mounted-26niXS{opacity:1;-webkit-transform:translateZ(0) scale(1);transform:translateZ(0) scale(1)}.streamPreview-2-WUWT{width:252px;border-radius:5px;overflow:hidden;-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high)}.previewContainer-12UlHl{width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;height:142px;position:relative}.previewContainer-12UlHl:hover .previewHover-1tGzfF{opacity:1}.previewHover-1tGzfF{-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;opacity:0;position:absolute;top:0;left:0;right:0;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;line-height:18px;font-weight:600}.previewImage-RxVzkZ{width:100%;height:100%}.applicationName-31eLkz{position:absolute;top:8px;left:12px;font-size:14px;line-height:18px}.watchButtonInner-2padQK{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.liveIcon-1hht8V{margin-right:8px}.activityActions-k66mD_{margin-top:0}.protip-3-1FNm{text-align:center;margin-top:10px}.white-WjN64k{color:#fff}.theme-dark .streamPreview-2-WUWT{background-color:#202225}.theme-dark .previewContainer-12UlHl{background-color:#292b2f}.theme-dark .applicationName-31eLkz{color:#f6f6f7;color:#fff}.theme-dark .watchButton-2SbJEo{border-color:#72767d;color:#fff}.theme-dark .watchButton-2SbJEo:not([disabled]):hover{border-color:#fff}.theme-dark .previewHover-1tGzfF{background:rgba(0,0,0,.6)}.theme-light .streamPreview-2-WUWT{background-color:#fff}.theme-light .previewContainer-12UlHl{background-color:#f8f9f9}.theme-light .applicationName-31eLkz{color:#23262a}.theme-light .watchButton-2SbJEo{border-color:#9099a4;color:#23262a}.theme-light .watchButton-2SbJEo:not([disabled]):hover{border-color:#23262a}.theme-light .previewHover-1tGzfF{background:rgba(79,86,96,.6)}
-.draggable-2E_4tJ{position:relative;height:32px}.draggable-2E_4tJ:active{-webkit-transform:translateZ(0);transform:translateZ(0)}
-.list-2luk8a{padding-left:36px;padding-bottom:8px}.collapsed-21_y8I{padding-right:8px}.disableInteraction-3oQqhT{pointer-events:none}
-.root-2QSv-c{background-color:var(--background-floating);border-radius:4px;width:240px;max-height:260px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.root-2QSv-c .voiceUsers-3lwp-W{padding:0}.header-1SPvMo{padding:16px 16px 9px;text-transform:uppercase;font-weight:700;color:var(--interactive-normal)}.scroller-GApUBG{padding:0 16px 16px 8px}
-.button-1xaXFt{margin-left:0}.button-1xaXFt,.divider-T9ghJP{margin-right:16px}.divider-T9ghJP{background:#202225}.speaker-13nFCF{margin-right:8px}.speaker-13nFCF.last-GyWdM0{margin-right:16px}.lastButton-3MuhDM{margin-right:8px}
-.avatar-EDoEQX{margin-right:8px;-ms-flex-negative:0;flex-shrink:0}.divider-36-9JI{background:rgba(79,84,92,.32);margin-right:16px}.playingText-3KIkt6{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#b9bbbe;font-weight:500;margin-right:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}
-.wrapper-2qzCYF{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;background-color:#000;z-index:2}.wrapper-2qzCYF.animated-1N1Pe_{-webkit-transition:height .35s ease;transition:height .35s ease}.wrapper-2qzCYF.normal-1oavYI{height:50%}.wrapper-2qzCYF.minimum-28Z35l{height:240px;background-color:var(--background-floating)}.wrapper-2qzCYF.minimum-28Z35l.video--KPXCT{height:284px}.wrapper-2qzCYF.fullScreen-1tMzXY,.wrapper-2qzCYF.noChat-18KtBD{height:100%}.wrapper-2qzCYF.fullScreen-1tMzXY{width:100%}.wrapper-2qzCYF.popout-1MBou-{height:100%;width:100%}.wrapper-2qzCYF.poppedOut-1U3Bzn{height:154px}.callContainer-36WRfH{overflow:hidden}.callContainer-36WRfH,.centerControls-2E5oVA{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.centerControls-2E5oVA{pointer-events:all;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.leftTrayIcon-vpfJk5{margin-right:16px}.rightTrayIcon-3hFoUP{margin-left:16px}@media (max-width:456px){.leftTrayIcon-vpfJk5{margin-right:8px}.rightTrayIcon-3hFoUP{margin-left:8px}.settingsButton-32Uw6u,.viewersButton-_Zs4UU{display:none}}.iconWrapper-31YWq8{position:relative}.volumeSlider-1yH4yV{margin-top:-16px}.badge-1z4YpW{position:absolute;top:-8px;right:0;pointer-events:none}.headerWrapper-3NUKsd{margin:0 -16px}.resizeHandle-aTgVKr{bottom:-2px;cursor:ns-resize;height:4px;position:absolute;width:100%}
-.background-1vAsyP{padding:12px;margin-left:4px;margin-right:4px;border-radius:50%;background-color:var(--background-tertiary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.foreground-2XBsBU{color:var(--interactive-normal)}
-.container-1EOCj2{width:320px;-ms-flex-negative:0;flex-shrink:0;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;border-top-left-radius:8px;border-bottom-left-radius:8px;background-color:var(--background-primary)}.container-1EOCj2,.headerContainer-3Dbfbk{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.headerContainer-3Dbfbk{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:12px;-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low);color:var(--header-primary)}.headerTitle-34m7pK{margin-left:12px;font-weight:600}.headerClose-3ppwtq{margin-left:auto;cursor:pointer;color:var(--interactive-normal)}.headerClose-3ppwtq:hover{color:var(--interactive-hover)}.headerClose-3ppwtq:active{color:var(--interactive-active)}.contentContainer-3uyIT3{padding-left:16px;padding-right:16px}.selfSpeakerContainer-qt7ckS{padding-top:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;color:var(--interactive-normal)}.selfSpeakerContainer-qt7ckS:hover{color:var(--interactive-hover)}.selfSpeakerContainer-qt7ckS:active{color:var(--interactive-active)}.buttonContainer-38-Et1{height:32px;width:32px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:var(--background-secondary);border-radius:50%;color:var(--interactive-normal)}.buttonContainer-38-Et1:hover{background-color:var(--background-tertiary);color:var(--interactive-hover)}.buttonContainer-38-Et1:active{background-color:var(--background-tertiary);color:var(--interactive-active)}.buttonMargin-3w-apA{margin-left:16px}.selfSpeakerButton-2ZvK-g{background-color:var(--background-tertiary)}.selfSpeakerText-3QjNKH{margin-left:12px}.listTitle-3x9PAq{padding-top:24px;font-weight:700;text-transform:uppercase}.participantRowContainer-2LfSyI{padding-top:16px;height:40px}.participantMemberContainer-3JuhCc,.participantRowContainer-2LfSyI{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.participantMemberContainer-3JuhCc{margin-right:auto;-ms-flex-negative:1;flex-shrink:1;cursor:pointer;overflow:hidden}.participantTextContainer-3ZPeQk{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-left:16px;margin-right:8px}.participantAvatar-2CxvNm{-ms-flex-negative:0;flex-shrink:0}.participantName-1SXKIB{color:var(--header-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.emptyStateContainer-ExQMn0{padding-top:32px;padding-bottom:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center}.emptyStateTitle-3RFcC1{margin-top:16px;font-weight:600}.emptyStateBody-2qGLUo{margin-top:8px}.toggle-3djVTx{padding-top:20px;margin-bottom:0}
-.strikethrough-1s1uEI{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.participants-1e7HCI{color:var(--interactive-normal);padding-left:0;padding-right:0}.icon-1FO5mc{margin-left:0}.settingsButton-2tFGbO{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer}
-.tileBaseContainer-2b4wJM{width:102px;height:98px;margin:auto;display:inline-block;border-radius:8px}.tileContainer-BaRAZF{cursor:pointer;text-align:center;background-color:var(--background-floating)}.tileContainer-BaRAZF:hover{background-color:var(--background-tertiary)}.textContainer-3dhW-4{padding:0 4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.avatarContainer-aPUO5G{margin:8px auto;position:relative;width:56px;height:56px}.avatar-3u7cAV{width:56px;height:56px;border-radius:28px;background-color:var(--background-floating)}.avatar-3u7cAV.faded-br_yZz{opacity:.5}.text-2wY55Y{max-width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;display:inline-block}.singleIcon-1YgZ-K .text-2wY55Y{max-width:calc(100% - 16px)}.doubleIcon-13cAl6 .text-2wY55Y{max-width:calc(100% - 32px)}.boost-3TdRZp{margin-left:4px;width:10px;height:16px;display:inline-block;vertical-align:text-top}.blockedIcon-2tOKiw{margin-right:2px}.blockedIcon-2tOKiw,.icon-3z8ito{width:12px;height:12px}.icon-3z8ito{background-clip:padding-box;border-radius:50%;padding:2px;color:var(--background-floating);background-color:var(--header-primary);border:3px solid var(--background-floating);position:absolute;right:-3px;top:-3px}.icon-3z8ito.invited-2iN9W3{color:var(--header-primary);background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}
-.participants-soO0aD{display:-webkit-box;display:-ms-flexbox;display:flex;height:98px;background-color:var(--background-floating)}
-.roleContainer-8-Ld9g{padding-top:40px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-bottom:8px}.roleName-rabVQI{font-weight:600;text-transform:uppercase}
-.container-2t1JyW{padding-bottom:16px;padding-top:96px;background-color:var(--background-floating)}.title-2eOBcL{font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.subtitle-1ydIDA{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.dotSeparator-3gmT-O{margin:0 8px;height:4px;width:4px;background-color:var(--background-accent);border-radius:50%}.icon-3QjGWS{margin-right:4px}.iconAfterText-3Hl9dX{margin:auto 4px auto 8px}
-.scrollerBase-1X4git{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;min-height:0;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.auto-3V-QBl{scrollbar-width:auto}.auto-3V-QBl,.auto-3V-QBl.fade-3w7yAZ:hover{scrollbar-color:var(--background-floating) var(--background-modifier-accent)}.auto-3V-QBl::-webkit-scrollbar{width:16px;height:16px}.auto-3V-QBl::-webkit-scrollbar-track{background-color:var(--background-floating)}.auto-3V-QBl::-webkit-scrollbar-thumb,.auto-3V-QBl::-webkit-scrollbar-track{border:4px solid var(--background-floating);background-clip:padding-box;border-radius:8px}.auto-3V-QBl::-webkit-scrollbar-thumb{background-color:var(--background-modifier-accent);min-height:40px}.auto-3V-QBl::-webkit-scrollbar-corner{background-color:var(--background-floating)}.fade-3w7yAZ{scrollbar-color:var(--background-floating) var(--background-modifier-accent)}.fade-3w7yAZ::-webkit-scrollbar-thumb,.fade-3w7yAZ::-webkit-scrollbar-track{visibility:hidden}.fade-3w7yAZ:hover::-webkit-scrollbar-thumb,.fade-3w7yAZ:hover::-webkit-scrollbar-track{visibility:visible}
-.container-1KVp62{position:absolute;top:8px;right:8px}
-.tile-2Q7yR_{height:100%}.outerContainer-1_YKxq{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;cursor:pointer}
-.rowContainer-2tYerQ{margin-bottom:8px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:var(--background-floating)}
-.scroller-1SuHJo{padding-left:16px;padding-right:16px;background-color:var(--background-floating)}.grid-1Hwz9O,.scroller-1SuHJo{width:100%;height:100%}.grid-1Hwz9O{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:88px}.spacer-2ne1bb{padding-bottom:88px}.divider-JMvf_l{margin-top:23px;border-bottom:1px solid var(--background-primary);width:100%}
-.header-1VXc2C{padding:24px}.text-1-gY44{text-align:center}.icon-1THB_f{padding:12px;border-radius:50%;background-color:var(--background-tertiary);color:var(--interactive-normal)}
-.container-O91r7V{width:400px;border-radius:12px;background-color:var(--background-secondary);cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box;padding:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.container-O91r7V:hover{background-color:var(--background-primary)}.textContainer-1kAhPI{margin-left:16px}.caret-3mpfk6{margin-left:auto}.icon-188URH{display:-webkit-box;display:-ms-flexbox;display:flex;padding:6px;border-radius:50%}
-.separator-2uO-Ud{margin:16px 0;background-color:var(--background-primary);border:none;height:1px}
-.containerColumn-1Wj-gZ{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.container-2j8dvG,.containerColumn-1Wj-gZ{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.container-2j8dvG{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}.audienceButton-M5mD1c,.makeMeASpeakerButton-2_Cz3b{height:56px;width:56px;border-radius:50%;background-color:var(--background-tertiary)}.audienceButton-M5mD1c{margin-right:16px}.requestToSpeakIcon-1BjGfe{grid-area:icon;margin:auto}.slash-3wynFg{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.leaveQuietlyButton-1yMc0b{height:56px;border-radius:28px}.leaveQuietlyButtonInnerContainer-3RO33o{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.leaveQuietlyIcon-3W16Ig{margin-left:4px;-ms-flex-negative:0;flex-shrink:0}.raiseHandButton-1TZpXJ{margin:4px 4px 4px 16px}.raisedHandButtonIconActive-1_Aqtv{color:#fff;color:#36393f}.buttonSpacing-3apH88{margin-left:16px}.speakerRaiseHandButtonContainer-3VziUu{position:relative}.speakerRaiseHandButton-1-xsvS{position:static}.speakerRaiseHandBadge-kSmEho{padding:0 4px;position:absolute;top:0;right:0;min-width:16px;border-radius:8px;background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);font-weight:600;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center}.eventPrompts-1cvOES{margin-bottom:40px;position:absolute;bottom:40px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;grid-gap:8px}
-.content-ZVP-cK{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:32px}.bulletContainer-BgDh6e{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;margin-bottom:24px}.bulletContainer-BgDh6e,.iconContainer-2aaq6z{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.iconContainer-2aaq6z{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:var(--background-tertiary);border-radius:50%;height:40px;width:40px}.bulletIcon-3bl_jj{color:var(--header-primary);padding:12px}.bulletText-2mfMVi{margin-left:16px}.headerTitle-2xNrT-{text-align:center;margin-bottom:24px}.button-2sIstc{margin-top:8px;width:100%}.icon-3iGRtr{margin-right:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.illustration-2Gd58g{width:300px;margin:auto auto 24px}.red-C3U0Zq{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.iconBackground-31Th5v{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-primary);border-radius:50%;height:64px;width:64px}.icon-AuwN02{color:var(--interactive-active)}.headerContainer-8_4ujj{margin-top:24px;margin-bottom:24px;text-align:center}.eventPrompt-3xGqWj,.subtitle-2DaQ64{margin-top:8px}.separator-1FmzCh{margin-top:24px;margin-bottom:24px;background-color:var(--background-primary);border:none;height:1px}.continueIcon-ll1SZP{color:var(--interactive-normal)}.continueIconContainer-D8CGm_{background-color:var(--background-tertiary)}.audienceSummary-3Y_C4J{margin-top:24px;max-width:400px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.summaryItem-3kLFyc{margin-right:8px}
-.container-pTf0Ly{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.callContainer-3UuV6S,.container-pTf0Ly{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;height:100%;width:100%;background-color:var(--background-floating)}.callContainer-3UuV6S{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.sidebarVisible-F3zEoe{margin-right:8px;border-top-right-radius:8px;border-bottom-right-radius:8px;overflow:hidden}
-.missingEntitlementImage-15q-cx{margin:0 auto 20px;width:400px;height:200px;background-size:contain}.text-Wx6rKQ{margin-bottom:20px}.theme-dark .missingEntitlementImage-15q-cx{background-image:url(/assets/131dcaaa628405e6d0ebee7708111c7a.svg)}.theme-light .missingEntitlementImage-15q-cx{background-image:url(/assets/d0320d29cdef93b8e2baf889a28d32e0.svg)}
-.container-1nZlH6{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;border:1px solid;cursor:pointer;border-radius:3px;height:40px}.layout-eEMo5y{position:absolute;top:0;right:0;bottom:0;left:0}.base-96ewKC{font-size:16px;line-height:22px;background-color:transparent;padding:10px 0 10px 10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;-webkit-transition:color .15s ease;transition:color .15s ease}.hiddenMessage-3287zL{z-index:0;position:absolute;top:0;left:0;bottom:0;right:0}.input-1UhAnY{position:relative;width:100%;z-index:1;min-width:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;border:none;color:var(--header-primary)}.input-1UhAnY::-webkit-input-placeholder{color:var(--text-muted)}.input-1UhAnY::-moz-placeholder{color:var(--text-muted)}.input-1UhAnY:-ms-input-placeholder{color:var(--text-muted)}.input-1UhAnY::placeholder{color:var(--text-muted)}.button-3tQuzi{margin:4px 4px 4px 0;padding:2px 20px;border-radius:2px;-webkit-transition:background-color .2s ease-in-out,color .2s ease-in-out;transition:background-color .2s ease-in-out,color .2s ease-in-out}.disabled-qocNLx{opacity:.3;cursor:not-allowed}.disabled-qocNLx .button-3tQuzi{opacity:1}.theme-light .container-1nZlH6{background-color:rgba(79,84,92,.02);border-color:rgba(79,84,92,.3)}.theme-dark .container-1nZlH6{background-color:rgba(0,0,0,.1);border-color:rgba(0,0,0,.3)}
-.container-CpszHS{-webkit-transition:border .15s ease;transition:border .15s ease}.container-CpszHS *{cursor:pointer}.container-CpszHS.hasValue-3pdcdm .button-34kXw5{width:34px}.container-CpszHS.hasValue-3pdcdm:not(.disabled-29eJ21):focus-within .button-34kXw5,.container-CpszHS.hasValue-3pdcdm:not(.disabled-29eJ21):hover .button-34kXw5{width:128px}.container-CpszHS:not(.disabled-29eJ21):focus-within,.container-CpszHS:not(.disabled-29eJ21):hover{border-color:hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.3)}.disabled-29eJ21{}.disabled-29eJ21,.disabled-29eJ21 *{cursor:not-allowed}.layout-FSaTy9{}.button-34kXw5{width:128px;white-space:nowrap;position:relative;-webkit-transition:background-color .2s ease-in-out,color .2s ease-in-out,width .2s ease-in-out;transition:background-color .2s ease-in-out,color .2s ease-in-out,width .2s ease-in-out;overflow:hidden}.container-CpszHS.recording-1H2dS7{border-color:hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.6);-webkit-box-shadow:0 0 6px hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.3);box-shadow:0 0 6px hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.3);-webkit-animation:shadowPulse-2kjgqQ 1s ease-in infinite;animation:shadowPulse-2kjgqQ 1s ease-in infinite}.container-CpszHS.recording-1H2dS7,.container-CpszHS.recording-1H2dS7 .button-34kXw5{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.container-CpszHS.recording-1H2dS7 .button-34kXw5{background-color:hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.1)}.container-CpszHS.recording-1H2dS7 .input-1G2o7i{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.container-CpszHS.recording-1H2dS7 .input-1G2o7i::-webkit-input-placeholder{color:transparent}.container-CpszHS.recording-1H2dS7 .input-1G2o7i::-moz-placeholder{color:transparent}.container-CpszHS.recording-1H2dS7 .input-1G2o7i:-ms-input-placeholder{color:transparent}.container-CpszHS.recording-1H2dS7 .input-1G2o7i::placeholder{color:transparent}.input-1G2o7i{font-weight:600;font-size:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.editIcon-13gaox{background-image:url(/assets/860396b3ff3fa1c4ae355bebfabadecb.svg);position:absolute;top:50%;left:50%;width:24px;height:24px;margin-left:-12px;margin-top:-12px;opacity:0;-webkit-transition:opacity .2s ease-in-out,-webkit-transform .2s ease-in-out;transition:opacity .2s ease-in-out,-webkit-transform .2s ease-in-out;transition:opacity .2s ease-in-out,transform .2s ease-in-out;transition:opacity .2s ease-in-out,transform .2s ease-in-out,-webkit-transform .2s ease-in-out}.hasValue-3pdcdm .editIcon-13gaox{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}.hasValue-3pdcdm:not(.disabled-29eJ21):focus-within .editIcon-13gaox,.hasValue-3pdcdm:not(.disabled-29eJ21):hover .editIcon-13gaox{opacity:0;-webkit-transform:translate3d(-200%,0,0);transform:translate3d(-200%,0,0)}.text-2sI5Sd{-webkit-transition:opacity .2s ease-in-out,-webkit-transform .2s ease-in-out;transition:opacity .2s ease-in-out,-webkit-transform .2s ease-in-out;transition:opacity .2s ease-in-out,transform .2s ease-in-out;transition:opacity .2s ease-in-out,transform .2s ease-in-out,-webkit-transform .2s ease-in-out;opacity:1}.hasValue-3pdcdm .text-2sI5Sd{opacity:0;-webkit-transform:translate3d(200%,0,0);transform:translate3d(200%,0,0)}.hasValue-3pdcdm:not(.disabled-29eJ21):focus-within .text-2sI5Sd,.hasValue-3pdcdm:not(.disabled-29eJ21):hover .text-2sI5Sd{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes shadowPulse-2kjgqQ{0%{-webkit-box-shadow:0 0 6px hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.3);box-shadow:0 0 6px hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.3)}50%{-webkit-box-shadow:0 0 10px hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.6);box-shadow:0 0 10px hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.6)}to{-webkit-box-shadow:0 0 6px hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.3);box-shadow:0 0 6px hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.3)}}@keyframes shadowPulse-2kjgqQ{0%{-webkit-box-shadow:0 0 6px hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.3);box-shadow:0 0 6px hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.3)}50%{-webkit-box-shadow:0 0 10px hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.6);box-shadow:0 0 10px hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.6)}to{-webkit-box-shadow:0 0 6px hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.3);box-shadow:0 0 6px hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.3)}}
-.theme-dark .title-3pjxZQ{color:#b9bbbe}.theme-light .title-3pjxZQ{color:#72767d}
-.userProfileActivity-Bnt1p_{position:relative;padding:16px}
-.listRow-1iDGel{display:-webkit-box;display:-ms-flexbox;display:flex;font-weight:500;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;line-height:30px;padding:4px;color:var(--text-normal);border-radius:4px;margin:1px 0 1px 8px}.listRow-1iDGel:hover{background-color:var(--background-modifier-hover)}.listRowContent-i8Bizk{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.listName-U3shDM{font-size:16px;line-height:20px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.listAvatar-1BbvHX{margin-right:10px;-ms-flex-negative:0;flex-shrink:0}.listDiscriminator-2AP_Kz{font-size:12px;opacity:.6}.empty-39KnKA{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:1;-ms-flex:1;flex:1;min-height:100%;padding:20px 0}.emptyIcon-1yiM-z{width:240px;height:130px;background-position:50%;background-repeat:no-repeat;background-size:cover}.emptyText-2d2yNp{font-weight:500;font-size:14px;line-height:16px;margin-top:12px;text-transform:uppercase;color:var(--header-secondary)}.listScroller-3GmIYj{padding:8px 0;height:100%}.emptyIconFriends-2l7flK,.emptyIconGuilds-zT7p-8,.emptyIconStreamerMode-1h-oZF{}.theme-dark .emptyIconStreamerMode-1h-oZF{background-image:url(/assets/e18336bc1141d8a5e88379e41e91cacb.svg)}.theme-dark .emptyIconGuilds-zT7p-8{background-image:url(/assets/f49d47ca5489f7d20c6dc53953cfe60c.svg)}.theme-dark .emptyIconFriends-2l7flK{background-image:url(/assets/51dfef72c56e5e77b91109553bdefb76.svg)}.theme-light .emptyIconStreamerMode-1h-oZF{background-image:url(/assets/40311479d87be9ab59aef9571750cd5f.svg)}.theme-light .emptyIconGuilds-zT7p-8{background-image:url(/assets/55df85915c4da9f5d21869db7258c72c.svg)}.theme-light .emptyIconFriends-2l7flK{background-image:url(/assets/f7921d97c0a2b6f01cf58d15a87ef986.svg)}
-.userInfoSection-q_35fn{padding:16px 0}.userInfoSection-q_35fn+.userInfoSection-q_35fn{border-top:1px solid var(--background-modifier-accent)}.userInfoSectionHeader-3TYk6R{font-weight:700;color:var(--header-secondary);margin-bottom:8px}.userBio-3tlrzS{margin-bottom:16px;font-size:14px;line-height:18px}.note-367eZJ{margin:-4px}.note-367eZJ textarea{border-radius:3px;padding:4px;font-size:14px;line-height:18px}.connectedAccounts-QlRa4m{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:-20px}.connectedAccount-2Jb-Z0,.connectedAccounts-QlRa4m{display:-webkit-box;display:-ms-flexbox;display:flex}.connectedAccount-2Jb-Z0{-ms-flex-negative:1;flex-shrink:1;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:3px;margin-top:20px;padding:8px 14px 8px 8px;width:240px;border:1px solid;border-color:var(--background-modifier-accent)}.connectedAccountIcon-3_EQqg{width:30px;height:30px;-ms-flex-negative:0;flex-shrink:0}.connectedAccountNameInner-2q3MVf{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.connectedAccountName-E1KzaT,.connectedAccountNameInner-2q3MVf{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.connectedAccountName-E1KzaT{font-size:16px;font-weight:500;margin-left:10px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;color:var(--text-normal)}.connectedAccountVerifiedIcon-2cA82O{margin:0 5px}.connectedAccountOpenIcon-E5wGF4{-ms-flex-negative:0;flex-shrink:0;width:18px;height:18px;color:var(--interactive-normal);display:block}.connectedAccountOpenIcon-E5wGF4:hover{color:var(--interactive-hover)}.connectedAccountOpenIcon-E5wGF4:active{color:var(--interactive-active)}.infoScroller-1Qu30O{padding:0 20px;height:100%}
-.button-2CgfFz{text-indent:-9999em;overflow:hidden;cursor:pointer;width:24px;height:24px;background-position:50% 50%;background-repeat:no-repeat;border-radius:50%;-webkit-transition:opacity .1s ease-in-out,-webkit-box-shadow .1s ease-in-out,-webkit-transform .2s ease;transition:opacity .1s ease-in-out,-webkit-box-shadow .1s ease-in-out,-webkit-transform .2s ease;transition:opacity .1s ease-in-out,box-shadow .1s ease-in-out,transform .2s ease;transition:opacity .1s ease-in-out,box-shadow .1s ease-in-out,transform .2s ease,-webkit-box-shadow .1s ease-in-out,-webkit-transform .2s ease}.button-2CgfFz:active{-webkit-transform:translateY(1px);transform:translateY(1px)}.default-3oAQTF{background-image:url(/assets/7b3f88ae8e1d67c3c4d2dc825130bfef.svg)}.filled-1iCBCZ{background-image:url(/assets/eb69ec9fdd30653a3ade1ab501a7cd3d.svg);background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.filled-1iCBCZ:hover{background-color:null}.theme-light .button-2CgfFz{-webkit-box-shadow:0 0 0 1px rgba(185,187,190,.3),0 1px 5px rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(185,187,190,.3),0 1px 5px rgba(0,0,0,.2)}.theme-light .button-2CgfFz:hover{-webkit-box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1);box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1)}.theme-light .default-3oAQTF{background-color:#fff}.theme-light .default-3oAQTF:hover{background-color:null}.theme-dark .button-2CgfFz{-webkit-box-shadow:0 0 0 1px rgba(32,34,37,.6),0 1px 5px 0 rgba(0,0,0,.3);box-shadow:0 0 0 1px rgba(32,34,37,.6),0 1px 5px 0 rgba(0,0,0,.3)}.theme-dark .button-2CgfFz:hover{-webkit-box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2)}.theme-dark .default-3oAQTF{background-color:#36393f}.theme-dark .default-3oAQTF:hover{background-color:null}
-.lighten-2aYaaU{opacity:.3}.wrapper-1U5SlS{position:relative;overflow:hidden}.icon-JJBzjE{-ms-flex-item-align:center;align-self:center;min-width:16px}.title-1B76a1{margin:0 4px}.subtitle-2yP_Eh,.title-1B76a1{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.subtitle-2yP_Eh{min-width:48px;text-transform:uppercase;color:var(--text-normal)}
-.spacing-3SKozy{margin-bottom:20px}.smallSpacing-2Dn-1F{margin-bottom:8px}.largeSpacing-304iPU{margin-bottom:40px;margin-top:8px}.lighten-kLb06a{opacity:.6}.marginReset-Mol2dw{margin:0}.checkboxContainer-2vV9zd{position:relative}.checkboxContainer-2vV9zd:before{content:"";position:absolute;top:0;left:-26px;width:1px;height:100%}.checkboxMute-14hTGS{position:relative}.checkboxMute-14hTGS:before{content:"";position:absolute;top:-16px;left:-26px;right:-26px;bottom:-16px;background-color:rgba(0,0,0,.1)}.checkboxContainerMuted-1HFenf{opacity:.3}.muteUntilTitle-2kU0Z4{margin:0}.muteUntilText-2BkKag{color:var(--header-secondary)}.muteTimeSelector-3WrM7K{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%}.checkboxGroup-Z7AmuU{width:300px}.overrideList-Xc_VCf{padding-bottom:12px}.override-2YgiXd,.overrideHighlight-YPcBxt{margin-bottom:8px;position:relative;padding:10px 0 10px 10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-transition:background-color .1s ease-in-out;transition:background-color .1s ease-in-out}.override-2YgiXd:focus-within .removeOverride-2sdvVX,.override-2YgiXd:hover .removeOverride-2sdvVX,.overrideHighlight-YPcBxt:focus-within .removeOverride-2sdvVX,.overrideHighlight-YPcBxt:hover .removeOverride-2sdvVX{opacity:1}.overridePlaceholder-14_rPI{margin-bottom:8px;height:56px;border-radius:3px;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.iconContainer-2h8jYA{height:20px}.icon-IkZExu,.overrideHeader-367JNH{}.overrideHeader-367JNH{font-weight:600}.header-3Uqp87{margin-bottom:8px;color:var(--text-normal)}.headerName-2n9eUZ{margin-left:8px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.headerOption-3qo9Ph{cursor:default;text-align:center;width:75px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.removeOverride-2sdvVX{position:absolute;top:-12px;right:-12px;opacity:0}.channelName-28iMRJ{font-weight:600}.channelNameByline-R73-tU{}.channelNameCategory-mxHe-m{font-weight:500;opacity:.3;text-transform:uppercase;font-size:11px}.theme-dark .channelName-28iMRJ{color:#f6f6f7}.theme-dark .guildName-3WI6ml,.theme-dark .override-2YgiXd,.theme-dark .overrideHighlight-YPcBxt{color:#b9bbbe}.theme-dark .override-2YgiXd:hover{background-color:rgba(32,34,37,.1)}.theme-dark .overrideHighlight-YPcBxt,.theme-dark .overrideHighlight-YPcBxt:hover{background-color:rgba(32,34,37,.3)}.theme-dark .checkboxContainer-2vV9zd:before{background-color:rgba(32,34,37,.6)}.theme-dark .overridePlaceholder-14_rPI{border:1px dashed #18191c}.theme-light .channelName-28iMRJ{color:#4f545c}.theme-light .guildName-3WI6ml,.theme-light .override-2YgiXd,.theme-light .overrideHighlight-YPcBxt{color:#72767d}.theme-light .override-2YgiXd:hover{background-color:rgba(246,246,247,.1)}.theme-light .overrideHighlight-YPcBxt,.theme-light .overrideHighlight-YPcBxt:hover{background-color:rgba(246,246,247,.3)}.theme-light .checkboxContainer-2vV9zd:before{background-color:rgba(220,221,222,.6)}.theme-light .overridePlaceholder-14_rPI{border:1px dashed #b9bbbe}
-.content-191BxG{padding-top:16px}
-.image-3AuVz1{background-position:50%;background-repeat:no-repeat;background-size:cover}.theme-dark .image-3AuVz1{background-image:url(/assets/1eed0d895df6e35f164d8ed5e84037d2.svg)}.theme-light .image-3AuVz1{background-image:url(/assets/f899de04ecfface32db505c74a6fd351.svg)}
-.searchBar-1FaHXw{background-color:var(--background-secondary);border:1px solid var(--background-tertiary);margin-bottom:8px}
-.modalRoot-2m5tXx{height:478px}.button-3dsb8k{margin-left:8px}.header-2TZe19{margin-top:16px}.headerSubtitle-2pkm7y{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.headerSubtitleIcon-35rx5e{padding-right:4px}.content-3JiERV{overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;height:100%}.searchBox-2U8-yR{padding:0 16px 12px}.roleMemberList-3mYYYB{margin:0}.addMemberRow-3-w-9X{margin-left:12px;margin-right:4px;padding:8px 6px;border-radius:4px;cursor:pointer}.addMemberRow-3-w-9X.selectedRow-1QP7qb{background-color:var(--background-modifier-selected)}.checkboxLabel-3ZBKMU{padding-left:8px}.rowHeight-5gIjky{height:24px}.rowLabel-2Ttg81{margin-left:8px;margin-right:4px}.rowTitle-21Ny_7{font-weight:500}.rowLabelSubText-35LqC-{margin-left:4px;-webkit-box-flex:1;-ms-flex:1;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sectionTitle-2PYny6{color:var(--text-normal);padding-top:8px;padding-left:16px}.noResultIcon-1bkvDZ{margin-bottom:16px;width:85px;height:85px}.description-2YaX4y{margin-bottom:24px;padding:0 16px}.theme-dark .scrollSeparator-2w4X2o{-webkit-box-shadow:0 1px 0 0 rgba(24,25,28,.3),0 1px 2px 0 rgba(24,25,28,.3);box-shadow:0 1px 0 0 rgba(24,25,28,.3),0 1px 2px 0 rgba(24,25,28,.3)}.theme-light .scrollSeparator-2w4X2o{-webkit-box-shadow:0 1px 0 0 rgba(185,187,190,.3);box-shadow:0 1px 0 0 rgba(185,187,190,.3)}
-.modalRoot-3CFA4t{height:478px}.header-17bQeH{margin-top:16px}.headerSubtitle-1rLiK5{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.headerSubtitleIcon-1u5vaJ{padding-right:4px}.error-1xqs3z{margin-left:16px;margin-right:16px}
-.container-jSV3OF{display:-webkit-box;display:-ms-flexbox;display:flex;border-radius:4px;font-weight:500;padding:8px;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.fontSize14-1tusjs{font-size:14px;line-height:18px}.fontSize16-2ItDSF{font-size:16px;line-height:20px}.icon-1jlFSw{width:24px;height:24px;-ms-flex-negative:0;flex-shrink:0}.text-2J5crT{margin-left:10px;-webkit-box-flex:1;-ms-flex:1;flex:1;-ms-flex-item-align:center;align-self:center}.text-2J5crT p{margin:0}.text-2J5crT p~p{margin-top:8px}.warning-3C2pOH{background:var(--info-warning-background);border:1px solid var(--info-warning-foreground);color:var(--info-warning-text)}.warning-3C2pOH .icon-1jlFSw{color:var(--info-warning-foreground)}.info-1rdF5A{background:var(--info-help-background);border:1px solid var(--info-help-foreground);color:var(--info-help-text)}.info-1rdF5A .icon-1jlFSw{color:var(--info-help-foreground)}.error-c-8XMu{background:var(--info-danger-background);border:1px solid var(--info-danger-foreground);color:var(--info-danger-text)}.error-c-8XMu .icon-1jlFSw{color:var(--info-danger-foreground)}
-.modal-2VIBV8{width:440px}.modalContent-N6GsWH{max-height:480px}.footer-1oJbSA{padding:20px}.description-zfMhzy,.name-3ChUIO,.type-3aEJ96{}.cloneInfo-1OC_Ee{}.icon-3pNFyS{opacity:.6;margin-right:6px;fill:#b9bbbe}.error-chiOuv{}.header-3nFfBB{margin-top:16px;margin-bottom:16px}.headerSubtitle-KRA6bs{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.headerSubtitleIcon-1fMNRd{padding-right:4px}.closeButton-20eBet{position:absolute;top:-4px;right:8px}.modalTitle-1Ymoer{font-weight:700}.sectionTitle-39SH0_{color:var(--text-normal);margin-bottom:8px}.clone-14QU8p{opacity:.6}.permissionsTitle-2yG7gU{}.foreground-SshK2E{opacity:1}.background-6FOJIb{opacity:.6}.inputWrapper-24Isu7{position:relative}.inputInner-2UxuB6{padding-left:28px}.inputPrefix-1gzNds{position:absolute;top:12px;left:8px;color:var(--text-normal)}.switchIcon-_4Efyi{position:relative;top:2px;width:16px;height:16px;display:inline-block;opacity:.6;margin-right:3px}.channelTypeDescription-7YNNIr,.storeChannelOptionSelector-2rFIBx{margin-bottom:20px}.username-2PcCVD{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-left:8px;font-size:16px;line-height:20px}.emptyRoles-39tqQo{margin-top:16px;margin-bottom:16px}.owner-2uUH68{margin-top:8px}.addMembersContainer-8K9nhE{height:380px;overflow:hidden;padding:0 0 0 8px}.addMemberError-1Rvepg{padding-left:8px;padding-right:8px}.createError-1820x-{margin:16px}.theme-dark .cloneInfo-1OC_Ee strong,.theme-dark .subtitle-3csUrC{color:#b9bbbe}.theme-light .cloneInfo-1OC_Ee strong{color:#36393f}.theme-light .subtitle-3csUrC{color:#72767d}.radioText-3nuXCv{font-weight:500}
-.standardSidebarView-3F1I7i{position:absolute;top:0;left:0;bottom:0;right:0;z-index:101;display:-webkit-box;display:-ms-flexbox;display:flex;background-color:var(--background-primary)}.standardSidebarView-3F1I7i,.standardSidebarView-3F1I7i *{-webkit-box-sizing:border-box;box-sizing:border-box}.platform-win .standardSidebarView-3F1I7i{top:22px}.platform-osx .standardSidebarView-3F1I7i:before{content:"";position:fixed;top:0;left:0;right:0;height:22px;z-index:10;-webkit-app-region:drag}.sidebarRegion-VFTUkN{-ms-flex:1 0 218px;flex:1 0 218px;z-index:1;-ms-flex-pack:end}.sidebarRegion-VFTUkN,.sidebarRegionScroller-3MXcoP{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-box-pack:end;justify-content:flex-end}.sidebarRegionScroller-3MXcoP{-ms-flex:1 0 auto;flex:1 0 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:end;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;background:var(--background-secondary)}.sidebar-CFHs9e{width:218px;padding:60px 6px 60px 20px}.contentTransitionWrap-3hqOEW{-webkit-box-flex:1;-ms-flex:1;flex:1;height:100%}.contentRegionScroller-26nc1e{height:100%;position:static;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;overflow-x:hidden;background-color:var(--background-primary)}.contentRegionScroller-26nc1e .toolsContainer-1edPuj{margin-right:21px}.contentRegionScroller-26nc1e .tools-3-3s-N{position:fixed}.contentRegion-3nDuYy{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 800px;flex:1 1 800px;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;background:var(--background-primary)}.contentColumn-2hrIYH,.customColumn-Rb6toI{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;max-width:740px;min-width:460px;min-height:100%}.contentColumnDefault-1VQkGM{position:relative;padding:60px 40px 80px}.contentColumnMinimal-2iX-kP{padding-right:40px}.customHeader-PhBRGa{padding-top:60px}.customColumn-Rb6toI{padding-bottom:0}.customContainer-1RHXqt{position:absolute;top:0;left:0;bottom:0;right:0;overflow:hidden}.customScroller-26gWhv{position:static;-webkit-box-sizing:border-box;box-sizing:border-box;display:block}.customScroller-26gWhv>div{margin-left:40px;margin-right:97px;max-width:660px;min-width:404px}.noticeRegion-1YviSH{position:absolute;bottom:0;left:0;right:71px;max-width:740px;padding:0 20px 20px;z-index:2}.toolsContainer-1edPuj{position:relative;-webkit-box-flex:0;-ms-flex:0 0 36px;flex:0 0 36px;margin-right:35px;width:60px;padding-top:60px}.theme-light .customContainer-1RHXqt:before{-webkit-box-shadow:0 1px 4px rgba(0,0,0,.1);box-shadow:0 1px 4px rgba(0,0,0,.1);border-bottom:1px solid rgba(0,0,0,.1)}.theme-dark .customContainer-1RHXqt:before{-webkit-box-shadow:0 1px 4px rgba(0,0,0,.2);box-shadow:0 1px 4px rgba(0,0,0,.2);border-bottom:1px solid rgba(0,0,0,.2)}
-.spacing-ApfUws{}.card-3uOWw3{padding:10px;line-height:20px}.error-oCzt6n{}.warning-3AwWn_{color:#fff}
-.pageControlContainer-eP-SVd{bottom:0;width:100%;margin-top:16px}.pageControl-xGOf_S{margin:auto;padding:4px 0}.pageButton-2ruNwd,.pageControl-xGOf_S{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:-webkit-min-content;width:-moz-min-content;width:min-content}.pageButton-2ruNwd{font-weight:600;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:28px;min-width:28px;padding:6px;margin:4px;cursor:pointer;color:var(--header-primary)}.pageButton-2ruNwd:hover{color:var(--interactive-hover);background-color:var(--background-secondary-alt)}.roundButton-CEHyUp{min-width:28px;border-radius:14px}.endButton-m5h5Sr{padding:0 8px}.endButton-m5h5Sr:first-child{padding-right:12px}.endButton-m5h5Sr:last-child{padding-left:12px}.endButtonInner-36a1wi{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.gap-3lIf-M{width:28px;margin:8px 4px;text-align:center;color:var(--text-normal)}.iconCaret-291Y5V{display:inline-block;width:1em;height:1em}.iconCaret-291Y5V:first-child{margin-right:4px}.iconCaret-291Y5V:last-child{margin-left:4px}.jumpToPageInlineInput-1Pcgbd{width:50px}.jumpToPageInlineInput-1Pcgbd+.activeButton-rvKcqq{margin-left:10px}.activeButton-rvKcqq+.jumpToPageInlineInput-1Pcgbd{margin-left:6px}.theme-dark .activeButton-rvKcqq,.theme-dark .activeButton-rvKcqq:hover,.theme-light .activeButton-rvKcqq,.theme-light .activeButton-rvKcqq:hover{color:#fff;background-color:var(--brand-experiment-500)}
-.guildJoinRequestRow-35c262{display:-webkit-box;display:-ms-flexbox;display:flex;padding:16px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-bottom:1px solid var(--background-modifier-accent);cursor:pointer}.guildJoinRequestRow-35c262:hover{background-color:var(--background-secondary);border-radius:4px}.guildJoinRequestRow-35c262:last-of-type{border-bottom:none}.inline-yu1eCu{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.spacer-i52oV7{margin-right:16px}.status-M_uKgm{background-color:var(--background-secondary);padding:2px 8px;border-radius:8px}.status-M_uKgm.approved-1ruTYe{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.status-M_uKgm.rejected-pJ_kU_{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.caret-2lmaKa{background-color:var(--background-tertiary);padding:8px;border-radius:50%;width:32px;height:32px;color:var(--header-secondary)}.search-3VWz2t{margin-bottom:16px}.emptyContainer-yF7VLv{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.emptyContainer-yF7VLv,.emptyIcon-1-fUj8{display:-webkit-box;display:-ms-flexbox;display:flex}.emptyIcon-1-fUj8{height:90px;margin-top:84px;margin-bottom:24px}.checkmark-2JmSeu{background-color:var(--background-tertiary);color:var(--interactive-normal);border-radius:50%;width:80px;height:80px;padding:16px;-ms-flex-item-align:center;align-self:center}.star-eymo6_{color:#ffd01a;width:12px;height:12px;-ms-flex-item-align:end;align-self:flex-end;margin:0 2px}.plus-1EbKzu{color:#5ae6dc;width:20px;height:20px}.emptyBody-GDvh5u{margin-top:8px}.fetchingSpinner-3F97LU{margin-top:48px;margin-bottom:48px}
-.spacedButton-a-GPe4{margin:0 8px}.body-3grkQa{margin-bottom:16px}
-.close-2okGrS{position:absolute;top:16px;right:16px;padding:0;height:24px;z-index:2}.modal-1HIJ4q{min-height:unset;max-height:100%}.headerText-ldXsZJ{margin-bottom:16px}.modalContent-MfAPtc{padding:16px}.addItemButton-1lC30o{margin-top:8px}.dragging-1GRizT{opacity:.6}.draggableInputContainer-2IHkcW{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-right:-8px}.inputWrapper-2a6F8U{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;position:relative;margin-bottom:12px}.inputWrapper-2a6F8U:hover .clearButton-2akzBa{opacity:1}.inputWrapper-2a6F8U:hover .rulesInputNumber-1n2j7c{opacity:0}.rulesInputNumber-1n2j7c{position:absolute;top:11px;left:8px;line-height:24px;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.rulesTextAreaInput-2aGfKB{padding-left:16px;border-radius:4px;background-color:var(--background-secondary-alt);border:1px solid var(--background-tertiary);white-space:pre-wrap}.clearButton-2akzBa{position:absolute;top:12px;left:8px;color:var(--interactive-normal);opacity:0;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;z-index:2}.clearButton-2akzBa:focus,.clearButton-2akzBa:hover{opacity:1}.clearButton-2akzBa:focus~.rulesInputNumber-1n2j7c,.clearButton-2akzBa:hover~.rulesInputNumber-1n2j7c{opacity:0}.clearButtonRight--vP5QI{left:unset;right:8px}.clearIcon-1_xlaH{width:16px;height:16px}.dragContainer-2EVQ7N{padding:8px;cursor:move}.dragIcon-1dICoF{color:var(--interactive-normal)}.divider-3M6rki{height:1px;background-color:var(--background-modifier-accent);margin:16px 0}.exampleRule-32tIs5{cursor:pointer;background-color:var(--background-secondary-alt);border-radius:4px;padding:8px;margin:0 8px 8px 0}.exampleRule-32tIs5.disabled-2Owor3{cursor:not-allowed;opacity:.8}.errorText-2qUDB7{margin-top:8px}.cancelButton-2XkGpw{margin-right:8px}.spacedItem-350nB_{margin-bottom:16px}.characterCount-39ID2T{font-size:12px;right:12px;height:32px}
-.addFieldButtonsContainer-2ecRcx{width:160px;margin-right:32px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.addFieldRow-3_brle{margin:20px 0;font-weight:600}.addFieldButton-LieBLO{cursor:pointer}.disabled-3rsGZ1{opacity:.2}.icon-1CGepy{padding:4px;border-radius:4px;background-color:var(--background-secondary);margin-right:8px;color:var(--interactive-normal)}.iconBackground-2OK4vl{fill:var(--background-secondary)}.previewContainer-12Libf{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:508px}.editableFieldsContainer-1LYE1s{margin-right:-40px;width:508px}.formPreview-JBqQAX{background-color:var(--background-secondary);border-radius:8px;padding:16px}.editableFormFieldWrapper-S6Tyfh{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:8px}.editableFormFieldWrapper-S6Tyfh:hover .editButtonsWrapper-Jj1cFn{visibility:visible}.dragging-3XbwTj{opacity:.5}.draggableWrapper-1MSRt5{z-index:2;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden}.draggableWrapper-1MSRt5 *{cursor:move}.editButtonsWrapper-Jj1cFn{margin-left:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;visibility:hidden}.editButton-1MavoF{cursor:pointer;background-color:var(--background-secondary);padding:8px;border-radius:50%;margin-bottom:8px;color:var(--interactive-normal)}.editButton-1MavoF:focus,.editButton-1MavoF:hover{color:var(--interactive-active)}.editButtonDisabled-1F2FLU{cursor:default}.editButtonDisabled-1F2FLU,.editButtonDisabled-1F2FLU:focus,.editButtonDisabled-1F2FLU:hover{color:var(--interactive-muted)}.getStartedWrapper-2AGgRZ{width:100%;background-color:var(--background-secondary);border-radius:8px;padding:24px 16px;margin:0;text-align:center}.getStartedIcon-3v4RyG,.getStartedSubtitle-260-IP{margin-bottom:16px}.getStartedTitle-2nDca2{margin-bottom:8px}.errorBanner-1EY3-l{margin-bottom:16px}.approvalTypeNotice-sWkFpW{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-bottom:16px}.approvalTypeTitle-3JmBVz{text-transform:uppercase;padding:8px;border-radius:8px 8px 0 0}.autoApprovalTitle-3Suv0U{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.manualApprovalTitle-3aZYAH{background-color:var(--brand-experiment)}.approvalTypeBody-ctYX-S{padding:8px;background-color:var(--background-secondary);border-radius:0 0 8px 8px}
-.settingsSubtitle-14oNNx{color:var(--header-secondary)}.enableContainer-2DIT9Q{padding:16px;background-color:var(--background-secondary-alt);border-radius:4px}.iconCircle-JEgPhb{margin-right:16px;border-radius:50%}@-webkit-keyframes enable-QfV0hb{0%{-webkit-transform:scale(1);transform:scale(1);background-color:var(--interactive-muted)}20%{-webkit-box-shadow:0 0 0 0 hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,.5);box-shadow:0 0 0 0 hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,.5)}60%{-webkit-transform:scale(1.2);transform:scale(1.2);background-color:hsl(139,calc(var(--saturation-factor, 1)*85.6%),64.5%)}to{-webkit-transform:scale(1);transform:scale(1);-webkit-box-shadow:0 0 0 8px hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,0);box-shadow:0 0 0 8px hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,0)}}@keyframes enable-QfV0hb{0%{-webkit-transform:scale(1);transform:scale(1);background-color:var(--interactive-muted)}20%{-webkit-box-shadow:0 0 0 0 hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,.5);box-shadow:0 0 0 0 hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,.5)}60%{-webkit-transform:scale(1.2);transform:scale(1.2);background-color:hsl(139,calc(var(--saturation-factor, 1)*85.6%),64.5%)}to{-webkit-transform:scale(1);transform:scale(1);-webkit-box-shadow:0 0 0 8px hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,0);box-shadow:0 0 0 8px hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,0)}}.activeCircle-15Lt-Q{padding:4px;background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);color:#fff}.activeCircle-15Lt-Q.animate-1KSSuz{-webkit-animation:enable-QfV0hb .6s;animation:enable-QfV0hb .6s}.editCircle-y9c7xP{padding:5px;background-color:var(--interactive-muted);color:var(--interactive-normal)}.enableDescription-32NG7M{margin:0 8px 0 0}.previewButton-1IdhSk{margin-right:8px}.divider-1luoRp{height:1px;background:var(--background-modifier-accent);margin:32px 0}.descriptionWrapper-3AsAaj{margin-top:32px}.introDescription-1J4pmi{margin-bottom:8px}.description-2JL2oB{margin-bottom:16px}.descriptionSpaced-3KimHl{margin-bottom:32px}.switchField-3-keGE{display:-webkit-box;display:-ms-flexbox;display:flex}.switch-2rfDZ3{-ms-flex-negative:0;flex-shrink:0}
-.exampleContainer-3ekFIr{position:relative;background-image:url(/assets/84cb0186fea403acdab164cf005461d1.svg);background-repeat:no-repeat;background-position:0 0;background-size:cover;width:100%;height:auto;background-color:var(--background-floating);border-radius:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.exampleModal-2oh58d{-webkit-transform:scale(.75);transform:scale(.75);width:720px;background-color:var(--background-primary);border-radius:8px;-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high);-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}.exampleWumpus-3QIhvG{position:absolute;top:-30px;right:-20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wumpus-3Q6pSF{-webkit-filter:drop-shadow(var(--elevation-high));filter:drop-shadow(var(--elevation-high))}.tooltip-3oByQd{-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high);background-color:#000;color:#dcddde;border-radius:5px;font-weight:500;font-size:14px;line-height:16px;padding:8px 12px}.tooltipPointer-22Q7m0{width:0;height:0;border:5px solid transparent;border-right-color:#000}.divider-WtgBDD{margin:16px 0;width:100%;border:none;border-bottom:1px solid var(--background-modifier-accent)}.guildSidebar-339BqP{border-top-left-radius:8px;border-bottom-left-radius:8px;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--background-secondary);padding:24px;max-width:256px;-ms-flex-negative:0;flex-shrink:0}.guildInfo-3Co_-d{width:100%}.content-BMIBeK{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border-top-right-radius:8px;border-bottom-right-radius:8px;background-color:var(--background-primary);padding:16px 16px 16px 8px;text-align:center}.formItem-3RbGCz{text-align:left;margin-bottom:12px}.exampleTextSingleLine-1kvErc{background-color:var(--background-accent);height:8px}.spacedSingleLine-284nsO{margin-bottom:8px}.rule-BF256F{margin-left:8px}.checkbox-2nFD7p{margin-top:16px;cursor:default}.fakeButton-kGEmb3{background-color:var(--brand-experiment);border-radius:4px;padding:12px 20px;color:#fff;font-size:14px;margin-top:12px}.applicationIcon-3MMA5L{width:88px;height:80px;-ms-flex-item-align:center;align-self:center;margin-top:4px;margin-bottom:16px}
-.left-3d-3Co{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.right-1C2enk{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.down-15EnQ5{-webkit-transform:rotate(180deg);transform:rotate(180deg)}
-.container-Mx-d44{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding-top:16px}.application-2nEPog{background-color:var(--background-secondary);padding:24px 16px;border-radius:8px;margin-right:32px;width:448px;-ms-flex-negative:0;flex-shrink:0}.sidebar-3eQgYX{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.separator-2GEmcy{background-color:var(--background-modifier-accent);height:1px;border:none}.applicationSeparator-3UMMMN{margin:24px 0}.sidebarSeparator-1CBSKj{margin:16px 0}.username-22hVg7{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;margin-top:16px}.buttonSpacing-16uR9X{margin-top:8px}.statusIcon-2yEPun{border-radius:50%;color:#fff;margin-bottom:16px;padding:4px}.approvedIcon-3I8Nza{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.deniedIcon-3mgLef{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.sidebarTitle-321nV4{text-transform:uppercase}.status-1M9P91{margin-bottom:8px}.rejectionReason-3Qmyd7{margin-bottom:16px}.actionedBy-3V8pD0 strong{color:var(--header-primary)}
-.icon-1OR3gE{color:var(--header-secondary)}.back-_74poR{cursor:pointer}.chevron-1na0X5{width:12px;height:12px}.header-2jSm1D{text-transform:uppercase;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:16px}.header-2jSm1D .back-_74poR{width:24px;height:24px;margin-right:12px}.header-2jSm1D .chevron-1na0X5{margin:0 16px}.navbar-2vZ7h_{margin-top:32px}.navbar-2vZ7h_ .previous-2JMK7C{position:absolute;left:48px}.navbar-2vZ7h_ .next-3x7PPz{position:absolute;right:48px}.navbarTitle-1KluPS{text-align:center}.navButton-1ir_oT{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer}.separator-FnHpRg{background-color:var(--background-modifier-accent);height:1px;border:none;margin:16px 0}.navSpacing-2nV0am{margin-right:4px}
-.introDescription-388hn_{margin-bottom:40px}.description-1wEhe7{margin-bottom:16px}.descriptionSpaced-2gwhpd{margin-bottom:32px}.tabs-3gkT2D{border-bottom:2px solid var(--background-modifier-accent);margin-bottom:32px}.tab-1vbb5p,.tabs-3gkT2D{display:-webkit-box;display:-ms-flexbox;display:flex}.tab-1vbb5p{padding:16px 0;cursor:pointer;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:-2px}.badge-Jd6Xnv{border-radius:8px;background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);height:16px;padding:0 4px;font-weight:600;margin-left:4px;color:#fff}.spacer-3Fy2-T{margin-right:32px}
-.titleContainer-CjPpBt{margin-bottom:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.titleText-1ZIyhl{min-width:0;text-transform:uppercase;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.menu-32AM6u{margin-left:16px;margin-top:-2px;color:var(--header-primary);cursor:pointer}.tabBar-11f3uI{margin-top:16px;margin-bottom:-2px;border-bottom:2px solid var(--background-modifier-accent)}.tabBarItem-2QyJ0U{margin-right:32px;padding-bottom:16px;margin-bottom:-2px}
-.container-2uOrel{margin-bottom:20px}.button-4pFjxG{margin-top:16px}.buttonInner-2qBuz0{display:-webkit-box;display:-ms-flexbox;display:flex}.arrowIcon-3K-V2P{margin-left:4px}
-.scroller-3ZpLaI{height:100%;padding-bottom:60px}.colorPicker-oPcnKj{margin-top:24px}.colorDescription-Pxuojt{margin-bottom:8px}.divider-1QCnvR{margin-top:24px;margin-bottom:24px}.previewContainer-1KQDJS{margin-top:16px;border:1px solid var(--background-modifier-accent);border-radius:4px;overflow:hidden;position:relative}.previewContainer-1KQDJS:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;cursor:default}.messageContainer-1DiFnQ{background-color:var(--background-primary);padding-top:16px;padding-bottom:16px}
-.contentWidth-xLB44s{width:calc(100% - 56px);min-width:228px;max-width:508px;padding-left:24px;padding-right:42px}.header-2mZ9Ov{margin-left:-8px;padding:60px 8px 16px;margin-right:-8px;position:relative;z-index:2;background-color:var(--background-primary)}.stickyHeader-hH_ZLl{position:-webkit-sticky;position:sticky;top:0;margin-bottom:16px}.stickyHeaderElevated-I6QUOA{-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low)}
-.header-2PmrS5{padding-top:32px;padding-bottom:24px;text-align:center}.subtitle-czhBWq{margin-top:8px}.roleContainer-2-Gsum{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.roleName-2fEtyh{margin-left:4px}.contentContainer-I7ebu8{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:0}.searchBar-2Gqdxc{-ms-flex-negative:0;flex-shrink:0;margin-left:16px;margin-right:16px}.list-RIkDLL{height:260px}.rowContainer-3iZ9pN{margin-left:16px;margin-right:16px;margin-bottom:8px;height:32px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.checkBox-3xtnhz{-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0}.memberDetails-1Hi6ko{margin-left:16px;min-width:0}.footer-XFbGBE{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.buttonsRight-2ODBqh,.footer-XFbGBE{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.buttonsRight-2ODBqh{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.backButton-2x86g9{padding-left:0}
-.container-1igeTA{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.avatar-Ktgjkc{-ms-flex-negative:0;flex-shrink:0}.textContainer-2rzLui{color:var(--interactive-normal);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.name-kGw4u8{margin-left:8px;font-weight:600}.botTag-hCPuoz,.userTag-1DX5j2{margin-left:4px}
-.container-1Saj_P{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;min-height:0}.headerContainer-1X2CD8{position:absolute;left:0;right:16px}.header-21q_Ro{margin-left:-8px;padding:60px 8px 16px;margin-right:-8px;position:relative;z-index:1;background-color:var(--background-primary)}.searchContainer-2gy0Sr{margin-top:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.searchWarning-2nIG6E{margin-top:16px}.addButton-3VFK0j{margin-left:16px;-ms-flex-negative:0;flex-shrink:0}.memberRow-1wwtfV{height:40px;padding-top:4px;padding-bottom:4px;padding-left:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:4px;cursor:pointer}.memberRow-1wwtfV:hover{background-color:var(--background-modifier-hover)}.memberRow-1wwtfV:active{background-color:var(--background-modifier-active)}.emptyRowContainer-1OKxeI{color:var(--text-muted)}.emptyRowText-10eIhs{margin-left:8px;font-weight:600}.memberDetails-2a-kJC{min-width:0}.list-3a9fyp{height:100%;min-height:0;padding-bottom:60px}.removeButtonContainer-1YsIy7{margin-left:auto}.removeButton-spUszT{margin-left:8px;margin-right:8px;cursor:pointer;color:var(--interactive-normal);-ms-flex-negative:0;flex-shrink:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.removeButton-spUszT:hover{color:var(--interactive-hover)}.removeButton-spUszT:active{color:var(--interactive-active)}.removeButtonDisabled-5brXxX{cursor:not-allowed}.removeButtonDisabled-5brXxX,.removeButtonDisabled-5brXxX:hover{color:var(--interactive-muted)}.removeTip-2HPwsk{margin-top:12px}
-.group-1WdBVp{display:grid;grid-auto-flow:column;border:1px solid var(--background-tertiary);border-radius:4px;height:28px;width:98px;-webkit-box-sizing:border-box;box-sizing:border-box}.item-1yAxl1{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:var(--background-primary)}.item-1yAxl1:hover{background-color:var(--background-modifier-hover)}.disabled-2dRm6b{opacity:.3;cursor:not-allowed}.allow-1PzSY3{border-top-right-radius:4px;border-bottom-right-radius:4px;color:var(--text-positive)}.allow-1PzSY3.selected-2YhbGh{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);color:#fff}.deny-3nAuT6{border-top-left-radius:4px;border-bottom-left-radius:4px;color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.deny-3nAuT6.selected-2YhbGh{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);color:#fff}.passthrough-1c2ewQ.selected-2YhbGh{background-color:var(--background-accent);color:#fff}
-.title-N34hCG{padding-left:4px}.icon-17zDF5{position:relative;top:3px}.theme-light .icon-17zDF5{fill:#4f545c}.theme-dark .icon-17zDF5{fill:#fff}
-.scroller-Utb7tO{height:100%;padding-bottom:60px}.searchContainer-3pUVEQ{margin-top:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.permissionsWrapper-1amySy{position:relative}.clearButtonWrapper-1WPBSh{position:absolute;top:-4px;right:0;padding:0}.clearButton-3wWY21{font-weight:600;-ms-flex-negative:0;flex-shrink:0;padding:0}.noResultsContainer-1kVGAa{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.noResults-3C-Rr0{margin-bottom:16px;width:85px;height:85px}.permissionsForm-1DoqZ5+.permissionsForm-1DoqZ5{margin-top:32px}
-.sidebarScrollable-1qPI87{position:absolute;top:0;bottom:0;width:232px}.sidebarScrollable-1qPI87+.content-1rPSz4{margin-left:232px;max-width:468px}.scroller-305q3I{overflow-y:auto;overflow-x:hidden;background-color:var(--background-primary);height:100%}
-.clearButton-2sT92t{position:absolute;top:0;right:8px;padding:inputElementsPadding;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;opacity:.6;line-height:0;height:100%}.clearButton-2sT92t:focus,.clearButton-2sT92t:hover{opacity:1}.inputWithClearWrapper-dftAkD{position:relative}.clearIcon-3FDYw9{width:16px;height:16px;color:var(--interactive-normal)}
-.header-3gJGL7{padding:32px 16px 24px;text-align:center}.closeButton-EUhPG4{position:absolute;top:12px;right:12px}.title-3gesol{font-weight:700;margin-bottom:8px}.formItem-3NqgNx{margin-bottom:16px}.formHelpText-21UFgx{font-size:12px;margin:8px 0}.footer-2_uVg4{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.backButton-1uCkrF{padding-left:0}.content-3_5Nbn .colorPicker-3sI_D-{-ms-flex-wrap:nowrap;flex-wrap:nowrap}
-.slider-2SdUeJ{width:300px;margin:0 auto 32px}.sliderBar-2Trjex{height:4px;width:296px}.markWrapper-3eu0Lj{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer}.markDot-1pxsvI{width:4px;height:4px;border-radius:50%;background-color:var(--interactive-normal);margin-bottom:16px;z-index:1}.hiddenMark-1k-TL6{visibility:hidden}.markLabel-3S5ZN1{font-weight:600}.header-XGAw4g{padding:32px 32px 0;text-align:center}.grabber-19Rlpm{width:20px;height:20px;border-radius:50%;border:none}.content-30rr4E{padding:16px 0;margin-right:-8px}.templateWrapper-3og0TJ{padding:16px;border:1px solid var(--background-modifier-accent);border-radius:8px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;height:300px}.templateContent-35Kjz_,.templateWrapper-3og0TJ{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.templateContent-35Kjz_{-ms-flex-line-pack:center;align-content:center}.templateHeader-10U6Y_{-ms-flex-item-align:center;align-self:center;font-weight:700;margin-bottom:16px}.templateDescription-9Qbt8m{margin-bottom:8px}.templatePreface-2fxIY8{margin-top:8px}.permissionItem-2Z8_s6{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:8px}.permissionIcon-3RYwsx{margin-right:8px;width:24px;height:24px}.clickableTemplate-23H9ns{cursor:pointer}
-.sidebar-dLM-kh{min-width:0;height:100vh;-webkit-box-sizing:border-box;box-sizing:border-box;border-right:1px solid var(--background-modifier-accent)}.container-23jqbX{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-height:100%;position:relative}.container-23jqbX,.titleContainer-2CXtJo{display:-webkit-box;display:-ms-flexbox;display:flex}.titleContainer-2CXtJo{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:60px 8px 16px;margin:0 8px 8px 16px;z-index:2;background-color:var(--background-primary)}.titleElevated-c_kdi7{-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low)}.title-3GS0Tf{color:var(--header-secondary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer}.title-3GS0Tf:hover{color:var(--header-primary)}.titleText-1lbERP{margin-left:8px;text-transform:uppercase;font-weight:600}.disabledTitleText-16RDWQ{margin-left:0;color:var(--header-primary)}.addRole-2yzR3B{cursor:pointer;color:var(--header-primary)}.list-I3aHXn{-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;min-height:0;padding:0 16px 96px 40px}.row-3GRgeK{height:34px;margin-left:-6px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;position:relative;overflow:visible}.lock-1sBixy{margin-left:8px;color:var(--interactive-normal)}.roleDot-ZwSovK{width:12px;height:12px;border-radius:50%;-ms-flex-negative:0;flex-shrink:0;-webkit-box-sizing:border-box;box-sizing:border-box}.roleName-2IkRdr{margin-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dragAfter-1ydZtZ:after,.dragBefore-cCyY7J:before{content:"";position:absolute;z-index:1;left:0;right:0;height:4px;background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);border-radius:2px;-webkit-box-shadow:0 0 3px rgba(0,0,0,.4);box-shadow:0 0 3px rgba(0,0,0,.4)}.dragBefore-cCyY7J:before{top:-2px}.dragAfter-1ydZtZ:after{bottom:-2px}.helpSeparator-2mcq4E,.helpText-3Ggj5i{margin-bottom:12px}.helpSeparator-2mcq4E{height:1px;background-color:var(--background-modifier-accent)}.tooltip-1bOkFq{text-align:center}
-.page-3njELR{min-width:460px;max-width:740px;width:100%;height:100%}.container-HnGszW,.page-3njELR{display:-webkit-box;display:-ms-flexbox;display:flex}.container-HnGszW{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;min-height:0}.sidebar-3Wgas9{padding-top:60px;width:195px;-ms-flex-negative:0;flex-shrink:0}.contentContainer-14yMzC,.sidebar-3Wgas9{position:absolute;top:0;bottom:0}.contentContainer-14yMzC{left:232px;right:0}.optionContainer-6JCMvN{margin-left:24px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;min-width:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}
-.container-_phMUq{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-secondary);color:var(--interactive-normal);border-radius:4px;padding:16px 24px 16px 16px;cursor:pointer}.container-_phMUq:hover{background-color:var(--background-modifier-hover);color:var(--interactive-hover)}.container-_phMUq:active{background-color:var(--background-modifier-active);color:var(--interactive-active)}.icon-3_8HGa{width:32px;height:32px;border-radius:50%;background-color:var(--background-primary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.description-3A8idy{margin-left:16px}.label-2gpUAV{font-weight:700;margin-bottom:4px}.arrow-2aE8q8{margin-left:auto}
-.section-1x7Sca{padding-top:60px;padding-bottom:80px}.bannerContainer-1owGn0{position:relative;width:100%;height:240px;margin-top:12px;margin-bottom:32px}.banner-aJsFyZ{position:absolute;width:100%;height:240px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;-webkit-transition:opacity .5s 416ms;transition:opacity .5s 416ms;background-position:50%;background-repeat:no-repeat}.bannerOut-3zi4zc{opacity:0}.bannerClubs-3Xj268{background-image:url(/assets/9029911a540e35e3ac8368346aba681f.svg)}.bannerGaming-2JPrc4{background-image:url(/assets/cddb8f0911be17d5d5aa0e5c06015b51.svg)}.bannerHobbies-1oItTY{background-image:url(/assets/b162bb1c0e75e048c05ee5f45fabe505.svg)}.profileCard-2RGvbu{margin-top:16px;margin-bottom:16px;height:100%;width:180px;border-radius:8px;border:1px solid var(--background-secondary-alt);background-color:var(--background-secondary);-webkit-box-shadow:0 8px 16px rgba(0,0,0,.1);box-shadow:0 8px 16px rgba(0,0,0,.1);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.avatarContainer-2_ceKX{background-color:var(--background-primary);height:120px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:16px}.avatar-vlk88d{width:60px!important;height:60px!important}.avatarName-3m2hgE{font-weight:700;margin-top:8px}.roles-1ti6KV{position:absolute;top:152px;-webkit-filter:drop-shadow(0 8px 16px rgba(0,0,0,.1));filter:drop-shadow(0 8px 16px rgba(0,0,0,.1));opacity:1;-webkit-transition:opacity .25s 1082ms,-webkit-transform .25s 1082ms;transition:opacity .25s 1082ms,-webkit-transform .25s 1082ms;transition:transform .25s 1082ms,opacity .25s 1082ms;transition:transform .25s 1082ms,opacity .25s 1082ms,-webkit-transform .25s 1082ms}.bannerOut-3zi4zc .roles-1ti6KV{-webkit-transition:opacity .25s,-webkit-transform .25s;transition:opacity .25s,-webkit-transform .25s;transition:transform .25s,opacity .25s;transition:transform .25s,opacity .25s,-webkit-transform .25s;-webkit-transform:translateY(24px);transform:translateY(24px);opacity:0}.rolesRow-3feBSR{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.roleTag-D34VFC{background-color:var(--background-primary);border-radius:4px;margin:2px;padding:4px 8px;white-space:nowrap}.roleDot-1AlYXT{height:12px;width:12px;border-radius:50%;margin-top:3px}.roleDot-1AlYXT,.roleText-3gS02L{display:inline-block}.roleText-3gS02L{font-size:14px;line-height:18px;font-weight:600;color:var(--interactive-active);margin-left:8px;vertical-align:top}.container-32E5OD{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center}.button-31sMrX,.introBody-1Obw1p{margin-top:16px}.divider-10WNM8{margin:32px 0}
-.description-2lbkbS{margin-bottom:32px}
-.section-2pJBpl{padding-top:60px;padding-bottom:80px}.helpText-2stV3Z{margin-top:32px}.searchContainer-383_ld{margin-top:32px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.createButton-3hBiU4{margin-left:16px;height:34px}.rolesTable-3622Dd{margin-top:32px}.tableHeader-3x_1oD{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:8px}.tableTitle-36-jum{font-size:12px;color:var(--header-secondary);text-transform:uppercase;font-weight:700}.dragSpacing-3xep_M{-webkit-box-flex:0;-ms-flex:0 0 32px;flex:0 0 32px}.roleNameSpacing-XtjbtV{-webkit-box-flex:0;-ms-flex:0 1 273px;flex:0 1 273px}.memberSpacing-1zJbKJ{-webkit-box-flex:0;-ms-flex:0 0 112px;flex:0 0 112px;margin-left:16px;text-align:right}.buttonsSpacing-3twfdv{-webkit-box-flex:1;-ms-flex:1 0 88px;flex:1 0 88px;margin-left:16px}.emptyRoles-23F3oy{color:var(--text-muted)}.emptyRolesText-gurxgN{margin-left:8px;font-weight:600}.emptyRoles-23F3oy,.roleRow-30TwGe{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-top:1px;height:61px;cursor:pointer}.emptyRoles-23F3oy,.roleRow-30TwGe,.tableHeader-3x_1oD{margin-left:-32px;margin-right:-8px;padding-right:8px}.roleRow-30TwGe{position:relative;border-radius:4px}.roleRow-30TwGe:before{top:0}.roleRow-30TwGe:before,.roleRow-30TwGe:last-child:after{content:"";position:absolute;left:32px;right:8px;height:1px;background-color:var(--background-modifier-accent)}.roleRow-30TwGe:last-child:after{bottom:-1px}.roleRow-30TwGe:hover+.roleRow-30TwGe:before,.roleRow-30TwGe:hover:after,.roleRow-30TwGe:hover:before{background-color:transparent}.roleRowDragging-3mvS_Z{background-color:var(--background-modifier-hover)}.dragIcon-I74byJ{padding:8px;cursor:-webkit-grab;cursor:grab;color:var(--interactive-normal);visibility:hidden}.dragIcon-I74byJ:hover{color:var(--interactive-hover)}.dragIcon-I74byJ:active{cursor:-webkit-grabbing;cursor:grabbing}.roleNameContainer-2o4-eI{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden}.shield-1-PEa-{margin-right:10px}.lock-XkLDU9,.shield-1-PEa-{-ms-flex-negative:0;flex-shrink:0}.lock-XkLDU9{margin-right:4px;color:var(--text-muted)}.roleName-1vjSQR{font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.memberCountContainer-1BJFU2{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;height:100%;color:var(--interactive-normal)}.memberCountContainer-1BJFU2:hover{color:var(--interactive-hover)}.person-36TQaZ{margin-left:4px;-ms-flex-negative:0;flex-shrink:0}.buttonsContainer-bgP7-t{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.editButton-1V012_{visibility:hidden}.circleButton-3RB01i+.circleButton-3RB01i{margin-left:16px}.roleRow-30TwGe:hover:not(.roleRowDisableHover-1HiqqT){background-color:var(--background-modifier-hover)}.roleRow-30TwGe:hover:not(.roleRowDisableHover-1HiqqT) .dragIcon-I74byJ:not(.dragIconHidden-2HNIJ_){visibility:visible}.roleRow-30TwGe:hover:not(.roleRowDisableHover-1HiqqT) .circleButton-3RB01i{background-color:var(--background-tertiary)}.roleRow-30TwGe:hover:not(.roleRowDisableHover-1HiqqT) .editButton-1V012_{visibility:visible}.containerDragAfter-1PIDLd:after,.containerDragBefore-s8CG6h:before{content:"";position:absolute;z-index:1;left:32px;right:8px;height:4px;background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);border-radius:2px;-webkit-box-shadow:0 0 3px rgba(0,0,0,.4);box-shadow:0 0 3px rgba(0,0,0,.4)}.containerDragBefore-s8CG6h:before{top:-2px}.containerDragAfter-1PIDLd:after{bottom:-2px}.tooltip-tUUTZz{text-align:center}
-.notice-3bPHh-{font-size:14px;line-height:36px;font-weight:500;text-align:center;position:relative;padding-left:4px;padding-right:28px;z-index:101;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;border-radius:8px 0 0;-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low)}.notice-3bPHh- strong{font-weight:600}.platform-osx .notice-3bPHh-{-webkit-app-region:drag}.colorDefault-22HBa0{background-color:#f26522;color:#fff}.colorDefault-22HBa0 .button-2DhvE9:hover{color:#f26522}.colorNeutral-3uXvGN{background-color:var(--background-accent);color:#fff}.colorNeutral-3uXvGN .button-2DhvE9:hover{color:#222}.colorDownload-3uiTFS{background-color:var(--brand-experiment);color:#fff}.colorDownload-3uiTFS .button-2DhvE9:hover{color:var(--brand-experiment)}.colorNotification-GG3eAb{background-color:var(--status-positive-background);color:var(--status-positive-text)}.colorNotification-GG3eAb .button-2DhvE9{font-weight:600}.colorNotification-GG3eAb .button-2DhvE9:hover{color:var(--text-positive)}.colorDark-1yVQpk{background-color:#202225;color:#fff}.colorDark-1yVQpk .button-2DhvE9:hover{color:#202225}.colorPremium--X5Fw0{color:#fff}.colorPremiumTier1-3D7SPt{background-image:-webkit-gradient(linear,right top,left top,from(hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%)),to(hsl(228,calc(var(--saturation-factor, 1)*86.7%),70.6%)));background-image:linear-gradient(270deg,hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%),hsl(228,calc(var(--saturation-factor, 1)*86.7%),70.6%))}.colorPremiumTier1-3D7SPt .button-2DhvE9:hover{color:var(--brand-experiment)}.colorPremiumTier2-dCdap5{background-image:-webkit-gradient(linear,right top,left top,from(hsl(342,calc(var(--saturation-factor, 1)*58%),72.9%)),to(hsl(270,calc(var(--saturation-factor, 1)*86.7%),70.6%)));background-image:linear-gradient(270deg,hsl(342,calc(var(--saturation-factor, 1)*58%),72.9%),hsl(270,calc(var(--saturation-factor, 1)*86.7%),70.6%))}.colorPremiumTier2-dCdap5 .button-2DhvE9:hover{color:hsl(342,calc(var(--saturation-factor, 1)*58%),72.9%)}.colorInfo-2URYW5{background-color:#4a90e2;color:#fff}.colorInfo-2URYW5 .button-2DhvE9:hover{color:#4a90e2}.colorSuccess-1hnbW2{background-color:var(--status-positive-background);color:var(--status-positive-text)}.colorSuccess-1hnbW2 .button-2DhvE9:hover{color:var(--text-positive)}.colorDanger-4gmAY0{background-color:var(--status-danger-background);color:var(--status-danger-text)}.colorDanger-4gmAY0 .button-2DhvE9:hover{color:var(--text-danger)}.colorStreamerMode-2SJAUN{background-color:hsl(262,calc(var(--saturation-factor, 1)*46.8%),39.8%);color:#fff}.colorStreamerMode-2SJAUN .button-2DhvE9:hover{color:hsl(262,calc(var(--saturation-factor, 1)*46.8%),39.8%)}.colorSpotify-2L6XRq{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:hsl(141,calc(var(--saturation-factor, 1)*72.9%),42%);color:#fff}.colorSpotify-2L6XRq .platformIcon-cDJOOu{margin-top:0;width:24px;height:24px}.colorSpotify-2L6XRq .button-2DhvE9{top:0;margin-left:20px}.colorSpotify-2L6XRq .button-2DhvE9:hover{color:hsl(141,calc(var(--saturation-factor, 1)*72.9%),42%)}.colorBrand-2zeG8h{background-color:var(--brand-experiment);color:#fff}.colorBrand-2zeG8h .button-2DhvE9:hover{color:var(--brand-experiment)}.colorCustom-1ND3UM{}.colorCustom-1ND3UM .button-2DhvE9:hover{color:#222}.closeButton-3cJIM4{position:absolute;top:0;right:0;width:36px;height:36px;background:url(/assets/7731c77d99babca1a8faec204d98c380.svg) no-repeat;background-position:50% 55%;background-size:10px 10px;opacity:.5;-webkit-transition:opacity .2s;transition:opacity .2s;cursor:pointer;-webkit-app-region:no-drag}.closeButton-3cJIM4:hover{opacity:1}.button-2DhvE9{font-size:14px;font-weight:500;position:relative;top:6px;border:1px solid;color:#fff;border-radius:3px;height:24px;padding:0 10px;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;vertical-align:top;margin-left:10px;line-height:22px;-webkit-transition:background-color .2s ease,color .2s ease,border-color .2s ease;transition:background-color .2s ease,color .2s ease,border-color .2s ease;-webkit-app-region:no-drag}.button-2DhvE9.buttonMinor-3mkvIP{border:none;text-decoration:underline}.theme-dark .button-2DhvE9,.theme-light .button-2DhvE9{border-color:#fff;background-color:transparent}.theme-dark .button-2DhvE9:hover,.theme-light .button-2DhvE9:hover{border-color:#fff;background-color:#fff}
-.container-1eFT6O{margin-top:4px;padding:8px 8px 4px;background-color:var(--background-floating);border-radius:4px;overflow:hidden;max-width:176px;-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high)}.search-wlJhgh{margin:0 8px 8px}.roles-red-Qt{max-height:300px;overflow-y:scroll;padding:0 8px 8px}.role-2-tni0{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:8px;border-radius:4px;cursor:pointer;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}.role-2-tni0:hover{background-color:var(--background-secondary)}.role-2-tni0.disabled-27wPJL{opacity:.5}.role-2-tni0.disabled-27wPJL:hover{background-color:var(--background-floating)}.label-1xpc0t{font-size:14px;line-height:18px;color:var(--text-normal);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-right:8px;font-weight:500}.iconContainer-2SYmeK{display:-webkit-box;display:-ms-flexbox;display:flex;height:16px;width:16px;border:2px solid var(--interactive-normal);border-radius:4px;-ms-flex-negative:0;flex-shrink:0}.iconContainer-2SYmeK.checked-1Gs3_E{background-color:var(--brand-experiment);border-color:var(--brand-experiment)}
-.settingsWrapper-3IlhQx{position:absolute;top:0;right:0;z-index:2000;width:100%;background-color:var(--brand-experiment-600)}.settingsWrapper-3IlhQx.osx-3XyQOT .backButton-3aYUcc{margin-left:76px}.settingsWrapper-3IlhQx.windows-18x0D0{top:22px}.settingsWrapper-3IlhQx.windows-18x0D0 .backButton-3aYUcc{margin-left:0}.notice-18685F{background-color:var(--brand-experiment-600);color:#fff;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;height:40px;padding:0 8px}.notice-18685F,.noticeContents-1WnXD8{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;align-items:center}.noticeContents-1WnXD8{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.noticeText-3SVgPc{font-weight:600;margin-right:16px}.button-2TV-eO{font-size:12px;line-height:16px;font-weight:600;padding:4px 8px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.button-2TV-eO:hover{background-color:var(--brand-experiment-530)}.buttonInner-1XA8a8{display:-webkit-box;display:-ms-flexbox;display:flex}.backArrow-34GvnY{margin-right:8px}.selectCaret-1C_7kQ{margin-left:8px}
-.analyticsCard-qckucw{background-color:var(--background-secondary);padding:16px;border-radius:4px;width:calc(50% - 8px);position:relative;margin-top:16px}.analyticsCard-qckucw:nth-child(2n){margin-left:16px}.analyticsCardTitle-5dObxl{margin-bottom:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.analyticsCardTitle-5dObxl,.infoIcon-3dyWqH{color:var(--interactive-normal)}.infoIcon-3dyWqH{margin-left:4px;-webkit-transition:color .25s;transition:color .25s;cursor:pointer}.infoIcon-3dyWqH:hover{color:var(--interactive-active)}.analyticsCardContent-3ggg9R{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.analyticsCardNumber-2kz4gW{color:var(--interactive-active);margin-right:6px}.analyticsCardNumberNotAvailable-22ULCX{color:var(--interactive-muted);margin-right:6px}.analyticsCardArrowSubText-22xM8F{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:4px}.analyticsCardCornerIcon-3caFpX{color:var(--interactive-muted);position:absolute;right:16px;bottom:16px}.trendingArrow-18JKWi{margin-right:5px}.trendingArrowIconDown-2dxvwE{-webkit-transform:rotate(180deg);transform:rotate(180deg);position:relative;top:2px}
-.developerPortalCtaWrapper-2XNafh{text-align:center;margin:142px auto 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:458px;padding-top:76px;padding-bottom:30px;position:relative;background-color:var(--background-secondary);border-radius:8px}.developerPortalCta-3qs8qH{margin:20px auto 0}.guildAnalyticsDivider-2Pbkq2{margin:24px 0}.overviewData-3-2nKg{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:14px}.placeholderImage-37MstR{background-image:url(/assets/a7071622918d45eac43d07e0fc92d44c.svg);width:282px;height:160px;background-position:50%;background-repeat:no-repeat;position:absolute;top:-100px}.developerPortalCtaText-2-zF1R{margin:0 auto;max-width:350px}.notEnoughMembersError-1KwJkE{padding-right:10px}
-.flex-39btti{display:-webkit-box;display:-ms-flexbox;display:flex}.alignStart-ZXz_qY{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.alignEnd-1nrmHA{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.alignCenter-3LI_0M{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.alignStretch-3HAs0X{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.alignBaseline-1xMxcY{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}.justifyStart-3Z9M1l{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.justifyEnd-2Y2zd6{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.justifyCenter--8YVyf{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.justifyAround-5l5NVB{-ms-flex-pack:distribute;justify-content:space-around}.justifyBetween-18KOrp{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.noWrap-vaXJ4Y{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.wrap-3_59An{-ms-flex-wrap:wrap;flex-wrap:wrap}.wrapReverse-34pPE_{-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.directionRow-CN8UWl{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.directionRowReverse--8wMcO{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.directionColumn-lrTCMt{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.spacer-3cdnkD{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden}.vertical-18__2x{}.horizontal-3AIKkG{}.horizontalReverse-3dqcaY{}.horizontal-3AIKkG>.spacer-3cdnkD,.horizontalReverse-3dqcaY>.spacer-3cdnkD,.vertical-18__2x>.spacer-3cdnkD{min-height:1px}.flexCenter-1-gB-f{}.streamerModeEnabled-2q0Gft{-webkit-box-flex:1;-ms-flex:1;flex:1}.streamerModeEnabledImage-3vynUz{width:440px;height:220px;background-size:100% 100%}.streamerModeEnabledBtn-2ZJ2eq{margin-top:20px;font-weight:700;font-size:18px;color:#fff;background-color:hsl(262,calc(var(--saturation-factor, 1)*46.8%),39.8%);padding:10px 20px;border-radius:3px;line-height:29px;text-transform:uppercase;cursor:pointer}.streamerModeEnabledBtn-2ZJ2eq:hover{background-color:#5a3796}.streamerModeEnabledBtn-2ZJ2eq.disabled-1X7fxl{cursor:default;background-color:#643da7}.theme-light .streamerModeEnabledImage-3vynUz{background-image:url(/assets/f8cb59be6e5a492dc4f98cfea20e6d82.svg)}.theme-dark .streamerModeEnabledImage-3vynUz{background-image:url(/assets/5b7e23080bfec53f966b806abcde8def.svg)}
-.auditLog-3jNbM6{border:1px solid;border-radius:3px}.auditLog-3jNbM6 strong{font-weight:500}.divider-1pnAR2{width:100%;height:1px;background:green}.header-GwIGlr{padding:10px 20px 10px 10px;-webkit-transition:background-color .2s ease;transition:background-color .2s ease;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%}.headerDefault-1wrJcN{cursor:default}.headerClickable-2IVFo9,.headerExpanded-CUEwZ5{cursor:pointer}.timeWrap-2DasL6{max-width:calc(100% - 118px);margin:0 10px}.timestamp-1mruiI{font-size:14px;margin-top:4px}.avatar-_VZUJy{margin-left:10px}.expand-1lx8E1 .expandForeground-1nZ4VR{-webkit-transition:d .2s ease,stroke .2s ease;transition:d .2s ease,stroke .2s ease}.colorHook-1CpiRO{display:inline-block;width:10px;height:10px;border-radius:50%;position:relative;top:-1px}.userHook-3AdCBF{font-weight:500}.discrim-3rYTMj{font-size:12px;line-height:16px}.changeDetails-bk98pu{padding:0 8px 10px}.detail-1BhUh9{margin-top:8px;margin-left:40px}.prefix-24L010{font-size:14px;line-height:16px;font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace;margin-right:0!important}.typeCreate-1kfBMl{color:hsl(139,calc(var(--saturation-factor, 1)*85.6%),64.5%)}.typeDelete-bTXOuk{color:hsl(359,calc(var(--saturation-factor, 1)*83%),67.6%)}.typeUpdate-2bwuHy{color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),63.3%)}.dash-3L29dH{margin:0 0 0 10px}.change-ydJzJx{margin:0;overflow:hidden}.changeStr-12S1vf,.overflowEllipsis-1PBFxQ{text-overflow:ellipsis;overflow:hidden}.overflowEllipsis-1PBFxQ{white-space:nowrap}.subListItem-3Ax2Vo{margin:4px 0}.subListItem-3Ax2Vo:last-child{margin-bottom:0}.icon-RTGJu3{width:24px;height:24px;min-width:24px;position:relative}.icon-RTGJu3:after{content:" ";position:absolute;top:0;left:0;right:0;bottom:0}.typeCreate-1kfBMl:after{background:url(/assets/87fc8330f32b0aeed92eebccc3bd1493.svg)}.typeDelete-bTXOuk:after{background:url(/assets/9e869ac90a09e13d9825044cea88ea78.svg)}.typeUpdate-2bwuHy:after{background:url(/assets/fd7c3b7bb65f185a5d91f5302f30ac0c.svg)}.theme-light .auditLog-3jNbM6{color:#72767d;border-color:#b9bbbe}.theme-light .auditLog-3jNbM6:hover .expandForeground-1nZ4VR{stroke:#72767d}.theme-light .auditLog-3jNbM6 strong{color:#4f545c}.theme-light .headerClickable-2IVFo9,.theme-light .headerDefault-1wrJcN{background-color:rgba(246,246,247,.3)}.theme-light .headerExpanded-CUEwZ5{background-color:#f6f6f7}.theme-light .divider-1pnAR2{background-color:#b9bbbe}.theme-light .userHook-3AdCBF{color:#4f545c}.theme-light .discrim-3rYTMj{opacity:.6}.theme-light .expandForeground-1nZ4VR{stroke:rgba(114,118,125,.6)}.theme-light .timestamp-1mruiI{color:#72767d}.theme-light .changeDetails-bk98pu{background-color:rgba(246,246,247,.3)}.theme-dark .auditLog-3jNbM6{color:#72767d;border-color:#202225}.theme-dark .auditLog-3jNbM6 strong{color:#f6f6f7}.theme-dark .auditLog-3jNbM6:hover .expandForeground-1nZ4VR{stroke:#fff}.theme-dark .headerClickable-2IVFo9,.theme-dark .headerDefault-1wrJcN{background-color:rgba(32,34,37,.3);color:#b9bbbe}.theme-dark .headerExpanded-CUEwZ5{background-color:rgba(32,34,37,.6);color:#b9bbbe}.theme-dark .divider-1pnAR2{background-color:#202225}.theme-dark .userHook-3AdCBF{color:#f6f6f7}.theme-dark .discrim-3rYTMj{opacity:.3}.theme-dark .expandForeground-1nZ4VR{stroke:hsla(0,0%,100%,.6)}.theme-dark .timestamp-1mruiI{color:#72767d}.theme-dark .changeDetails-bk98pu{background-color:rgba(32,34,37,.3)}.themeOverrideLight-3bx_5B.icon-RTGJu3.targetAll-13V3n6,.theme-light .icon-RTGJu3.targetAll-13V3n6{background:url(/assets/2cff836e7866cfd41cf71752ed033f1c.svg)}.themeOverrideLight-3bx_5B.icon-RTGJu3.targetBan-3mbIPL,.theme-light .icon-RTGJu3.targetBan-3mbIPL{background:url(/assets/b5db5aa26e85a4239c15f10eab2031c0.svg)}.themeOverrideLight-3bx_5B.icon-RTGJu3.targetChannel-TrRFlx,.theme-light .icon-RTGJu3.targetChannel-TrRFlx{background:url(/assets/b5061d752abdcf5f44d6f1a217cd0853.svg)}.themeOverrideLight-3bx_5B.icon-RTGJu3.targetGuild-mDWfAV,.theme-light .icon-RTGJu3.targetGuild-mDWfAV{background:url(/assets/601c3d0141413d8eea298446d32ca099.svg)}.themeOverrideLight-3bx_5B.icon-RTGJu3.targetEmoji-3vhPhM,.theme-light .icon-RTGJu3.targetEmoji-3vhPhM{background:url(/assets/53947b826826947323199b1a83733067.svg)}.themeOverrideLight-3bx_5B.icon-RTGJu3.targetSticker-2Z_JhN,.theme-light .icon-RTGJu3.targetSticker-2Z_JhN{background:url(/assets/eaafe7d5337de08baa884b58958ad199.svg)}.themeOverrideLight-3bx_5B.icon-RTGJu3.targetIntegration-3rnyMN,.theme-light .icon-RTGJu3.targetIntegration-3rnyMN{background:url(/assets/ece3d003ce0ffb0cf09a0f7881873075.svg)}.themeOverrideLight-3bx_5B.icon-RTGJu3.targetInvite-1RQBlr,.theme-light .icon-RTGJu3.targetInvite-1RQBlr{background:url(/assets/c428699bc4a1e93837f27f90b12c09e3.svg)}.themeOverrideLight-3bx_5B.icon-RTGJu3.targetMemberRole-jowY3I,.theme-light .icon-RTGJu3.targetMemberRole-jowY3I{background:url(/assets/b4c2db8382a5bfd5dd7155ed1bdbb3b8.svg)}.themeOverrideLight-3bx_5B.icon-RTGJu3.targetMember-2iuwxX,.theme-light .icon-RTGJu3.targetMember-2iuwxX{background:url(/assets/a8bd496e2e9ca833d249a7b18f41efdd.svg)}.themeOverrideLight-3bx_5B.icon-RTGJu3.targetPermission-ZRUN5n,.theme-light .icon-RTGJu3.targetPermission-ZRUN5n{background:url(/assets/22955365220abc3015256c85523bf98e.svg)}.themeOverrideLight-3bx_5B.icon-RTGJu3.targetRole-2MoUny,.theme-light .icon-RTGJu3.targetRole-2MoUny{background:url(/assets/1c1c67aae5a734eecf7a911cc5fde2de.svg)}.themeOverrideLight-3bx_5B.icon-RTGJu3.targetVanityUrl-3OpsYX,.theme-light .icon-RTGJu3.targetVanityUrl-3OpsYX{background:url(/assets/436a2bee259beb0347ee31bb238eb1aa.svg)}.themeOverrideLight-3bx_5B.icon-RTGJu3.targetWebhook-1xS7Z7,.theme-light .icon-RTGJu3.targetWebhook-1xS7Z7{background:url(/assets/bbb590c56a4598276e5ff9270b6c382a.svg)}.themeOverrideLight-3bx_5B.icon-RTGJu3.targetWidget-3hFVSM,.theme-light .icon-RTGJu3.targetWidget-3hFVSM{background:url(/assets/94eccecad8658fe53d1cd37fab50940d.svg)}.themeOverrideLight-3bx_5B.icon-RTGJu3.targetMessage-2kBYMT,.theme-light .icon-RTGJu3.targetMessage-2kBYMT{background:url(/assets/f38704754b1f737d5fa7bf4545bc5bba.svg)}.themeOverrideLight-3bx_5B.icon-RTGJu3.targetStageInstance-29rvVP,.theme-light .icon-RTGJu3.targetStageInstance-29rvVP{background:url(/assets/8a601e97f6e51a5627cbe0d95d6909ed.svg)}.themeOverrideLight-3bx_5B.icon-RTGJu3.targetGuildScheduledEvent-1EbkkW,.theme-light .icon-RTGJu3.targetGuildScheduledEvent-1EbkkW{background:url(/assets/cdf92175218b32fc08092a995fa1e066.svg)}.themeOverrideLight-3bx_5B.icon-RTGJu3.thread-1y5rGU,.theme-light .icon-RTGJu3.thread-1y5rGU{background:url(/assets/45e5899a5815c526d42f6fa1745db946.svg)}.themeOverrideDark-1u5Vo0.icon-RTGJu3.targetAll-13V3n6,.theme-dark .icon-RTGJu3.targetAll-13V3n6{background:url(/assets/fc3f5f9be1a4db14b02336b7cb02e6ce.svg)}.themeOverrideDark-1u5Vo0.icon-RTGJu3.targetBan-3mbIPL,.theme-dark .icon-RTGJu3.targetBan-3mbIPL{background:url(/assets/edb23a53ea40ac60f212ebae66e5c5c7.svg)}.themeOverrideDark-1u5Vo0.icon-RTGJu3.targetChannel-TrRFlx,.theme-dark .icon-RTGJu3.targetChannel-TrRFlx{background:url(/assets/343c9ff4c775c66a7d4af1f8691c34e0.svg)}.themeOverrideDark-1u5Vo0.icon-RTGJu3.targetGuild-mDWfAV,.theme-dark .icon-RTGJu3.targetGuild-mDWfAV{background:url(/assets/30af96a386520760ad107c5b77ba002a.svg)}.themeOverrideDark-1u5Vo0.icon-RTGJu3.targetEmoji-3vhPhM,.theme-dark .icon-RTGJu3.targetEmoji-3vhPhM{background:url(/assets/7a9bf92329dad473ef0383ae75367215.svg)}.themeOverrideDark-1u5Vo0.icon-RTGJu3.targetSticker-2Z_JhN,.theme-dark .icon-RTGJu3.targetSticker-2Z_JhN{background:url(/assets/a4e8185fe5f5aadd2f861bbc9c779298.svg)}.themeOverrideDark-1u5Vo0.icon-RTGJu3.targetIntegration-3rnyMN,.theme-dark .icon-RTGJu3.targetIntegration-3rnyMN{background:url(/assets/da8463a04b4a289801d2516f50eb4c19.svg)}.themeOverrideDark-1u5Vo0.icon-RTGJu3.targetInvite-1RQBlr,.theme-dark .icon-RTGJu3.targetInvite-1RQBlr{background:url(/assets/4b33371531a1a89f99296a73fc9ef588.svg)}.themeOverrideDark-1u5Vo0.icon-RTGJu3.targetMemberRole-jowY3I,.theme-dark .icon-RTGJu3.targetMemberRole-jowY3I{background:url(/assets/a9098042cb36b955c5021259f1d48f91.svg)}.themeOverrideDark-1u5Vo0.icon-RTGJu3.targetMember-2iuwxX,.theme-dark .icon-RTGJu3.targetMember-2iuwxX{background:url(/assets/af043346e036ef7b1aac1cf42cd1e699.svg)}.themeOverrideDark-1u5Vo0.icon-RTGJu3.targetPermission-ZRUN5n,.theme-dark .icon-RTGJu3.targetPermission-ZRUN5n{background:url(/assets/2a37995eb832bae805190a93ba043857.svg)}.themeOverrideDark-1u5Vo0.icon-RTGJu3.targetRole-2MoUny,.theme-dark .icon-RTGJu3.targetRole-2MoUny{background:url(/assets/0176a91b4c44ed05c05af68784e78da8.svg)}.themeOverrideDark-1u5Vo0.icon-RTGJu3.targetVanityUrl-3OpsYX,.theme-dark .icon-RTGJu3.targetVanityUrl-3OpsYX{background:url(/assets/84215a5fec3d9de9960a225143238d74.svg)}.themeOverrideDark-1u5Vo0.icon-RTGJu3.targetWebhook-1xS7Z7,.theme-dark .icon-RTGJu3.targetWebhook-1xS7Z7{background:url(/assets/a6975850d800aa86162b4aa5f18c41ac.svg)}.themeOverrideDark-1u5Vo0.icon-RTGJu3.targetWidget-3hFVSM,.theme-dark .icon-RTGJu3.targetWidget-3hFVSM{background:url(/assets/4ac0e382cc7b8aa0cb1d6d074b0e8ba5.svg)}.themeOverrideDark-1u5Vo0.icon-RTGJu3.targetMessage-2kBYMT,.theme-dark .icon-RTGJu3.targetMessage-2kBYMT{background:url(/assets/8c85e30795486caa8caacd829703459d.svg)}.themeOverrideDark-1u5Vo0.icon-RTGJu3.targetStageInstance-29rvVP,.theme-dark .icon-RTGJu3.targetStageInstance-29rvVP{background:url(/assets/0c3abaf62cd500adbc022c85e06676a7.svg)}.themeOverrideDark-1u5Vo0.icon-RTGJu3.targetGuildScheduledEvent-1EbkkW,.theme-dark .icon-RTGJu3.targetGuildScheduledEvent-1EbkkW{background:url(/assets/adcbafa0017394ce023dd551a67f31c2.svg)}.themeOverrideDark-1u5Vo0.icon-RTGJu3.thread-1y5rGU,.theme-dark .icon-RTGJu3.thread-1y5rGU{background:url(/assets/071cf571ff2467f7fefaa2287c82bc58.svg)}
-.customHeader-f9DEJ_{padding-top:60px}.guildSettingsAuditLogsUserFilterPopout-3Jg5NE{width:264px}.userText-1WdPps{margin-left:10px;max-width:200px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.discriminator-3tYCOD{font-size:12px;line-height:16px;opacity:.6}.guildSettingsAuditLogsActionFilterPopout-3h8ycz{width:264px}.actionItem-11pIwh{height:46px}.scroller-1J_F7B{height:100%}.content-FNlD6K{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding-bottom:60px}.avatar-gPqiLm{width:30px!important;height:30px!important}.theme-dark .auditLogMembersIconFg-2dfgB-{fill:#fff}.theme-light .auditLogMembersIconFg-2dfgB-{fill:#4f545c}.theme-light .selected-38kUfI .auditLogMembersIconFg-2dfgB-{fill:#fff}
-.searchBar-281-wK{width:400px;margin-left:20px}.bannedUser-1IalTM{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:8px 0;-webkit-transition:-webkit-box-shadow .1s ease;transition:-webkit-box-shadow .1s ease;transition:box-shadow .1s ease;transition:box-shadow .1s ease,-webkit-box-shadow .1s ease;cursor:pointer}.bannedUser-1IalTM .bannedUserAvatar-2xQUYe,.bannedUser-1IalTM .username-1b3MVI{z-index:2}.bannedUser-1IalTM .username-1b3MVI{-webkit-box-flex:1;-ms-flex:1 1 100px;flex:1 1 100px;padding-left:10px}.bannedUser-1IalTM .username-1b3MVI .discrim-oGb-FO{padding-left:2px}.bannedUserModal-3RJCOV .header-kk07Uz{padding-top:30px;padding-bottom:40px}.bannedUserModal-3RJCOV .userDiscrim-1D2NlF,.bannedUserModal-3RJCOV .userUsername-W3oZL9{font-size:24px;line-height:20px;font-weight:500}.bannedUserModal-3RJCOV .reasonHeader-2etdjy{text-transform:uppercase;font-weight:500}.bannedUserModal-3RJCOV .content-1x7qW2{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;padding-bottom:20px}.bannedUserModal-3RJCOV .error-tieM06{margin-top:8px}.theme-dark .bannedUser-1IalTM{-webkit-box-shadow:0 1px 0 0 hsla(0,0%,100%,.04);box-shadow:0 1px 0 0 hsla(0,0%,100%,.04)}.theme-dark .bannedUser-1IalTM .username-1b3MVI{color:#fff}.theme-dark .bannedUser-1IalTM .username-1b3MVI .discrim-oGb-FO,.theme-dark .bannedUserModal-3RJCOV .reason-YbfGC6,.theme-dark .bannedUserModal-3RJCOV .userDiscrim-1D2NlF{color:#72767d}.theme-dark .bannedUserModal-3RJCOV .reasonHeader-2etdjy{color:#dcddde}.theme-light .bannedUser-1IalTM{-webkit-box-shadow:0 1px 0 0 rgba(79,84,92,.04);box-shadow:0 1px 0 0 rgba(79,84,92,.04)}.theme-light .bannedUser-1IalTM .username-1b3MVI{color:#4f545c}.theme-light .bannedUser-1IalTM .username-1b3MVI .discrim-oGb-FO{color:#b9bbbe}.theme-light .bannedUserModal-3RJCOV .reason-YbfGC6,.theme-light .bannedUserModal-3RJCOV .userDiscrim-1D2NlF{color:#72767d}.theme-light .bannedUserModal-3RJCOV .reasonHeader-2etdjy{color:#4f545c}
-.card-FDVird{position:relative}.card-FDVird:before{content:"";position:absolute;top:0;right:-20px;bottom:-1px;left:-20px;border-radius:5px;border:1px solid transparent;opacity:0;-webkit-transition:opacity .1s ease;transition:opacity .1s ease}.card-FDVird.active-nvdKfC:before,.card-FDVird:focus-within:before,.card-FDVird:hover:before{opacity:1}.theme-dark .card-FDVird:before{background-color:null;border-color:null}.theme-light .card-FDVird:before{background-color:#f6f6f7;border-color:null}
-.noScroll-1bz0qe{overflow-y:visible!important;padding:0}.container-1AAEHW{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;width:680px;height:auto}.sequencer-3wJRd3{padding:24px 12px}.innerSequencer-3Sw44U,.sequencer-3wJRd3{overflow:unset;overflow-y:visible}.modal-1O3czN{overflow-x:hidden}.modal-1O3czN,.overviewSidebar-auQZeh{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.overviewSidebar-auQZeh{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-preferred-size:192px;flex-basis:192px;-ms-flex-negative:0;flex-shrink:0;border-radius:5px 0 0 5px;background:-webkit-gradient(linear,left top,left bottom,color-stop(6.65%,hsl(254,calc(var(--saturation-factor, 1)*92%),53%)),color-stop(69.44%,hsl(246,calc(var(--saturation-factor, 1)*82%),62%)),to(hsl(239,calc(var(--saturation-factor, 1)*66%),106.24%)));background:linear-gradient(180deg,hsl(254,calc(var(--saturation-factor, 1)*92%),53%) 6.65%,hsl(246,calc(var(--saturation-factor, 1)*82%),62%) 69.44%,hsl(239,calc(var(--saturation-factor, 1)*66%),106.24%));padding:24px;overflow:hidden}.header-3ZTyOR{color:#fff}.closeButton-2qld4J{position:absolute;top:12px;right:0;z-index:2}.footer-23o2Cr{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.overviewSteps-3CfgAC{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.overviewStep-3J-jkA{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:16px}.stepTitle-1gjE2e{color:hsla(0,0%,100%,.6)}.stepIndex-3rtpcw{border-radius:50%;background-color:hsla(0,0%,100%,.3);color:#fff;width:24px;height:24px;margin-right:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.selected-3AsYnC .stepTitle-1gjE2e{opacity:1;color:#fff}.selected-3AsYnC .stepIndex-3rtpcw{color:var(--brand-experiment);background-color:#fff}
-.container-1a0SKt{min-height:500px}.content-8hp7TM{text-align:center}.headerCaption-5VyDgh{color:var(--header-secondary)}.form-Wrv68E{margin-top:24px}.description-1XzlaN{margin-bottom:12px}.icon-12887d{-webkit-transform:translateY(3px);transform:translateY(3px)}.header-1olYNB{margin-top:20px;margin-bottom:8px}.closeButton-2tP-tZ{position:absolute;top:16px;right:12px}.footer-3ZySJx{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.checkboxOption-2KqgnR{margin-top:16px;white-space:pre-line}.disabled-2sOg0h:active{pointer-events:none}.footerImage-2KxOYG{-webkit-transform:translate(60px,20px);transform:translate(60px,20px)}
-.container-39qpSA{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center}.banner-2zWlOa{position:relative;height:236px;width:100%;margin-bottom:20px}@-webkit-keyframes floating-house-1vAUjZ{0%{-webkit-transform:translateY(0);transform:translateY(0)}50%{-webkit-transform:translateY(-12px);transform:translateY(-12px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes floating-house-1vAUjZ{0%{-webkit-transform:translateY(0);transform:translateY(0)}50%{-webkit-transform:translateY(-12px);transform:translateY(-12px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}.image-2Qw4tp{-webkit-animation:floating-house-1vAUjZ 3s ease-in-out infinite;animation:floating-house-1vAUjZ 3s ease-in-out infinite;z-index:1}.sparkles-fvfHK0{position:absolute;top:0;left:0;width:100%;z-index:1}.guildDetails-2p1NmK{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;padding:4px 8px 4px 4px;border-radius:4px;background-color:var(--background-tertiary);-webkit-box-align:center;-ms-flex-align:center;align-items:center}.guildDetails-2p1NmK.faded-1N_mPb{opacity:.4}.guildIcon-nSLcmS{margin-right:8px;border-radius:4px}.body-3H6FDS{margin-top:8px}.separator-3wQM3d{margin:32px 0;width:100%;border:none;height:1px;background-color:var(--header-primary);opacity:.06}.features-2PXC_Z{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:16px;margin-top:32px}.featureCard-1RR4Tl{background-color:var(--background-secondary);border-radius:8px;padding:16px;text-align:start}.featureCard-1RR4Tl em{font-style:italic}.featureIcon-3p1TC_{background-color:var(--background-tertiary);border-radius:50%;width:40px;height:40px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.featureHeader-1xIhkq{margin-top:16px;margin-bottom:8px}.featuredText-kuAtot,.infoIcon-2xnZYY{color:var(--header-primary)}.infoIcon-2xnZYY{-webkit-transform:translateY(3px);transform:translateY(3px)}.button-2X8t6P{margin-top:16px}
-.twoColumnFormSection-3aoF-Y{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.descriptionColumn-1Htn36{-ms-flex-preferred-size:55%;flex-basis:55%}.selectColumn-lfJJas{-ms-flex-preferred-size:45%;flex-basis:45%}.firstSection-1rwP-J{margin-top:12px}.formTitle-3jd5CW{font-size:14px;margin-bottom:8px}.formSelect-28-gtI{margin-left:40px}.divider-2DTmGf{margin:32px 0}.description-29kE_D{margin-bottom:8px}.upsellContainer-L9xv7w{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border-radius:8px;background-color:var(--background-secondary);margin-bottom:20px;position:relative}.upsellContainer-L9xv7w,.upsellContent-1JlpHe{display:-webkit-box;display:-ms-flexbox;display:flex}.upsellContent-1JlpHe{border-radius:8px 8px 0 0;padding:16px 40px 16px 16px}.upsellFooter-ZYsio_{background-color:var(--background-secondary-alt);border-radius:0 0 8px 8px;padding:16px;display:-webkit-box;display:-ms-flexbox;display:flex}.upsellImage-2ZcRsJ{margin-right:16px}.upsellHeader-4x8Gse{margin-bottom:8px}.upsellButton-APvswJ{margin-right:8px}.upsellClose-3kyA8O{position:absolute;top:12px;right:12px;color:var(--interactive-normal);opacity:.5;cursor:pointer}.upsellClose-3kyA8O:hover{opacity:1;color:var(--interactive-hover)}
-.closeButton-4FUxLM{position:absolute;top:12px;right:12px}.modalContents-eAxMSD{padding:0 20px 24px}.headerText-sweXCL{margin-top:16px}.formDescription-30JriC{margin:8px 0 24px}.channelDescriptionWrapper-2-llqU{position:relative}.emojiButtonContainer-1zs7UV{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;left:0;top:0;padding:10px}.emojiButton-RnHnJT.fullOpacity-Aigg8h{opacity:1}.emoji-3oB8pJ{width:20px;height:20px}.input-2mfscc{padding-left:40px;padding-right:36px}.clearButton-2Z4uzf{position:absolute;top:0;right:0;padding:10px;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;opacity:.6;line-height:0;height:100%}.clearButton-2Z4uzf:focus,.clearButton-2Z4uzf:hover{opacity:1}.clearIcon-onVMIA{width:16px;height:16px;color:var(--interactive-normal)}.footer-35uF_2{z-index:-1}.tooltip-2IG5MP{max-width:150px;margin-bottom:2px}
-.enableContainer-6E-puu{margin-top:32px;padding:16px;background-color:var(--background-tertiary);border-top-left-radius:8px;border-top-right-radius:8px}.iconCircle-36YzEX{margin-right:16px;border-radius:50%}@-webkit-keyframes enable-3KjkIW{0%{-webkit-transform:scale(1);transform:scale(1);background-color:var(--interactive-muted)}20%{-webkit-box-shadow:0 0 0 0 hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,.5);box-shadow:0 0 0 0 hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,.5)}60%{-webkit-transform:scale(1.2);transform:scale(1.2);background-color:hsl(139,calc(var(--saturation-factor, 1)*85.6%),64.5%)}to{-webkit-transform:scale(1);transform:scale(1);-webkit-box-shadow:0 0 0 8px hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,0);box-shadow:0 0 0 8px hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,0)}}@keyframes enable-3KjkIW{0%{-webkit-transform:scale(1);transform:scale(1);background-color:var(--interactive-muted)}20%{-webkit-box-shadow:0 0 0 0 hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,.5);box-shadow:0 0 0 0 hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,.5)}60%{-webkit-transform:scale(1.2);transform:scale(1.2);background-color:hsl(139,calc(var(--saturation-factor, 1)*85.6%),64.5%)}to{-webkit-transform:scale(1);transform:scale(1);-webkit-box-shadow:0 0 0 8px hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,0);box-shadow:0 0 0 8px hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,0)}}.activeCircle-1486wp{padding:4px;background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);color:#fff}.activeCircle-1486wp.animate-3_G5qN{-webkit-animation:enable-3KjkIW .6s;animation:enable-3KjkIW .6s}.editCircle-ityklj{padding:5px;background-color:var(--interactive-muted);color:var(--interactive-normal)}.enableDescription-26mbbN{margin:0 8px 0 0}.previewButton-wsoIg2{margin-right:8px}.previewContainer-1SS3uO{padding:16px;border-bottom-left-radius:8px;border-bottom-right-radius:8px;background-color:var(--background-secondary)}.icon-2BoU5V{-ms-flex-item-align:center;align-self:center;border-radius:16px;background-color:var(--background-tertiary);margin:16px}.welcomeHeader-1E6iOW{text-align:center}.welcomeTitle-3SJzU-{margin-bottom:8px;color:var(--header-secondary)}.welcomeTitle-3SJzU- strong{color:var(--header-primary)}.headerGuildBadge-1Dk3k6{display:inline-block;margin:0 4px 0 2px}.flowerStar-lkEoN9{display:block}.descriptionWrapper-1GiGtP{width:100%;max-width:440px;margin:0 auto}.descriptionInput-3b30C8{max-height:64px;background-color:var(--background-tertiary)}.descriptionInput-3b30C8[placeholder]{text-align:center}.divider-27Sb2-{margin:32px 0}.addChannelButton-3j20Ox{margin-top:16px;-ms-flex-item-align:start;align-self:flex-start}.addChannelSubtext-1fWjPy{margin-bottom:8px}.welcomeChannel-1rFrIO{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:move;display:-webkit-box;display:-ms-flexbox;display:flex;border-radius:4px;background-color:var(--background-primary);margin-top:8px;padding:12px 16px}.disabledEmoji-GKRWLi{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.dragging-1NnLa3{opacity:.5}.channelIcon-1eKmlw{background-color:var(--background-tertiary);color:var(--header-secondary);padding:4px}.channelIcon-1eKmlw,.warningIcon-2dFY7P{border-radius:4px}.channelDescriptionWrapper-ml5lTn{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 16px}.channelDescription-3C1p1m{font-weight:600}.theme-dark .channelWarning-3e1Pz4,.theme-dark .warningIcon-2dFY7P{color:var(--text-warning)}.theme-light .channelWarning-3e1Pz4,.theme-light .warningIcon-2dFY7P{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.welcomeDescription-16dYOx{margin-bottom:56px}.exampleContainer-25sB-A{position:relative;background-image:url(/assets/84cb0186fea403acdab164cf005461d1.svg);background-repeat:no-repeat;background-position:50%;background-size:cover;width:100%;height:auto;background-color:var(--background-floating);border-radius:8px}.header-2SLWai{color:var(--header-secondary)}.header-2SLWai strong{color:var(--header-primary)}.exampleModal-2X2Vf8{max-width:440px;margin:57px 80px 57px 120px;background-color:var(--background-primary);padding:16px;border-radius:8px}.optionContainer-1FtykV{margin-top:8px;background:var(--background-secondary);border-radius:8px;padding:12px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.exampleWumpus-1zk2dq,.optionContainer-1FtykV{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.exampleWumpus-1zk2dq{position:absolute;top:-30px;right:-20px}.wumpus-3JzuYd{-webkit-filter:drop-shadow(var(--elevation-high));filter:drop-shadow(var(--elevation-high))}.tooltip-1_vJJI{-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high);background-color:#000;color:#dcddde;border-radius:5px;font-weight:500;font-size:14px;line-height:16px;padding:8px 12px}.tooltipPointer-1awMxk{width:0;height:0;border:5px solid transparent;border-right-color:#000}
-.inputWrapper-2Pwo9_{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:16px;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;border-radius:4px;color:var(--text-normal);background-color:var(--deprecated-text-input-bg);border:1px solid var(--deprecated-text-input-border);-webkit-transition:border-color .2s ease-in-out;transition:border-color .2s ease-in-out;padding:4px 8px}.inputWrapper-2Pwo9_:hover{border-color:var(--deprecated-text-input-border-hover)}.inputWrapper-2Pwo9_:focus-within{border-color:var(--brand-experiment)}.inputOuter-361qTb{-webkit-box-flex:1;-ms-flex:1;flex:1}.inputInner-17tuXL{background:none;border:none;padding:4px;height:unset;min-width:100px}.tag-2S-1By{-ms-flex-negative:0;flex-shrink:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:4px;margin:2px;padding:4px 4px 4px 8px;-webkit-transition:none;transition:none;background-color:var(--background-accent);color:var(--header-primary)}.tag-2S-1By:hover{text-decoration:none}.closeWrapper-18oTVk{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:2px}.close-3skLOj{color:var(--interactive-normal)}.close-3skLOj:active,.close-3skLOj:hover{cursor:pointer;color:var(--interactive-active)}.disabled-3z2_aY{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:not-allowed;opacity:.5}.disabled-3z2_aY,.disabled-3z2_aY:hover{border-color:var(--deprecated-text-input-border-disabled)}.theme-light .tag-2S-1By{background-color:var(--background-tertiary)}
-.modal-28-6oZ{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-sizing:border-box;box-sizing:border-box;width:400px;padding:32px;overflow:visible}.image-3kXKTd{margin-top:-146px;-webkit-animation:discovery-anim-3nsIV0 3s ease-in-out infinite;animation:discovery-anim-3nsIV0 3s ease-in-out infinite}.header-2cTU9t,.title-24-Ern{margin-bottom:16px}.body-3klDhE{margin-bottom:8px}.button-3lMJHb{margin-top:24px}.root-1Kk1RQ{overflow:visible;width:400px}@-webkit-keyframes discovery-anim-3nsIV0{0%{-webkit-transform:translateY(0);transform:translateY(0)}50%{-webkit-transform:translateY(12px);transform:translateY(12px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes discovery-anim-3nsIV0{0%{-webkit-transform:translateY(0);transform:translateY(0)}50%{-webkit-transform:translateY(12px);transform:translateY(12px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}
-.card-3_CqkU{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:258px;width:200px;overflow:hidden;border-radius:8px;position:relative}.card-3_CqkU,.iconMask-30Tvqs{background-color:var(--activity-card-background)}.iconMask-30Tvqs{padding:4px}@-webkit-keyframes placeholderPulse-2_Z4Bq{0%{opacity:.6}50%{opacity:.8}to{opacity:.6}}@keyframes placeholderPulse-2_Z4Bq{0%{opacity:.6}50%{opacity:.8}to{opacity:.6}}.cardPlaceholder-qKtx_A{-webkit-animation:placeholderPulse-2_Z4Bq 1.8s ease-in-out infinite;animation:placeholderPulse-2_Z4Bq 1.8s ease-in-out infinite}.cardHeader-2XrQbx{-webkit-box-flex:0;-ms-flex:0 0 112px;flex:0 0 112px;position:relative;display:block;overflow:visible;margin-bottom:28px}.splash-104Ug5{display:block;position:absolute;top:0;left:0;-webkit-transform:scale(1);transform:scale(1);opacity:0}.splash-104Ug5,.splashImage-352DQ1{width:100%;height:100%}.splashImage-352DQ1{-o-object-fit:cover;object-fit:cover}.splashLoaded-2qGdo9 .splash-104Ug5{opacity:1}.guildIcon-cyDh6h{position:absolute;bottom:-21px;left:12px}.defaultIcon-2NMkWn{background-color:var(--brand-experiment);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:100%;width:100%}.acronym-1X5Hgh{color:#fff}.avatar-_geuXS{width:100%;height:100%}.guildInfo-3Tdx1V{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:stretch;align-content:stretch;padding:0 12px 12px}.guildInfo-3Tdx1V,.title-3NAWNZ{display:-webkit-box;display:-ms-flexbox;display:flex}.title-3NAWNZ{-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;font-weight:600}.verifiedIcon-2NS6OA{-webkit-box-flex:0;-ms-flex:0 0 16px;flex:0 0 16px;width:16px;height:16px;margin-right:4px;margin-left:-2px}.guildName-2z1snm{white-space:nowrap}.description-2myUjD,.guildName-2z1snm{overflow:hidden;text-overflow:ellipsis}.description-2myUjD{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;margin:8px 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.memberInfo-3OSanw{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;justify-self:flex-end}.memberCount-1JulvM,.memberInfo-3OSanw{display:-webkit-box;display:-ms-flexbox;display:flex}.memberCount-1JulvM{font-size:0.75rem;line-height:1rem;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:600;margin-right:16px}.memberCount-1JulvM:last-child{margin-right:0}.memberDot-y8-JHF{border-radius:50%;width:8px;height:8px;margin-right:4px;-ms-flex-negative:0;flex-shrink:0}.dotOnline-pxc5-3{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.dotOffline-2ccHbp{background-color:var(--text-muted)}.cardDisabled-1h1x-Y{opacity:.4;pointer-events:none}.cardSmall-9yl0mw{-webkit-transform:scale(.8);transform:scale(.8)}.theme-dark .card-3_CqkU{-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high)}.theme-dark .iconMask-30Tvqs{background-color:var(--background-secondary-alt)}.theme-light .card-3_CqkU{-webkit-box-shadow:0 0 0 1px rgba(185,187,190,.3),var(--elevation-medium);box-shadow:0 0 0 1px rgba(185,187,190,.3),var(--elevation-medium)}
-.content-4eJCLj{padding:24px}.modalHeader-5MokOG{margin-bottom:16px}.marginAfter-IiM3ZP{margin-bottom:8px}.separator-2dUoVV{width:100%;height:1px;background-color:var(--background-modifier-accent);margin:24px 0}.failingBlock-1afrol{margin-bottom:24px}.closeButton-12xe4v{position:absolute;top:12px;right:12px}.progressWrapper-2feR8-{position:relative;height:8px;margin:16px 0 8px}.progressBackground-2EKw_J{width:100%;background-color:var(--background-secondary)}.progressBackground-2EKw_J,.progressBar-35txIi{position:absolute;height:8px;border-radius:4px}.progressBar-35txIi{-webkit-transition:background-color .2s ease;transition:background-color .2s ease}.labelWrapper-3nyUcr{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.requirement-HjiNzo{text-align:right}.bold-1t9kNq{font-weight:600}
-.container-2w0lh0{border-radius:8px;background-color:var(--background-secondary);overflow:hidden}.loaderContainer-huyPxM{padding:64px 0}.loadingText-2q2gZU{text-align:center;margin-bottom:24px}.header-2Y0-A-{background-color:var(--background-tertiary);padding:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.headerIcon-2S6VR5{margin-right:16px}.checklistItem-37OOck{display:-webkit-box;display:-ms-flexbox;display:flex;padding:16px}.separator-1COOpU{content:"";height:1px;background-color:var(--background-modifier-accent);position:relative;border:none;margin:0 16px;display:block}.checklistIcon-6Kez2J{-webkit-box-flex:0;-ms-flex:0 0 20px;flex:0 0 20px;margin-right:16px}.checklistText-2K8GVA{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.detailsButton-2Vh09u{padding:0;font-weight:400}.doesNot-36YbF_{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.healthPending-22BgqZ{color:var(--text-warning)}.healthFailingDescription-xc0vqi{margin-bottom:8px}
-.background-3FwLDP{position:absolute;top:0;left:0;right:0;bottom:0;background-image:url(/assets/f0d744519439d994a0e123310dece658.svg);background-repeat:no-repeat;pointer-events:none}.discoverySettings-8j0xNl{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;max-width:560px;margin:auto}.image-3rvd0n{height:110px;width:100%;background-image:url(/assets/4bb32037d9d2e8240d1315ddaf4e4b85.svg);background-repeat:no-repeat;background-position:50%;margin:64px 0 32px}.header-bw_a4i{text-align:center;margin-bottom:8px}.description--8OK6G{text-align:center;margin-bottom:24px}.checklist-2PoK4y{border-radius:8px;background-color:var(--background-secondary);overflow:hidden;width:100%}.divider-3ZT-db{height:1px;width:100%;margin:0 16px;background-color:var(--background-modifier-accent)}
-.container-1rn8Cv{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;text-align:center}.sparkles-2XXTZO{position:absolute;top:60px;left:0;width:100%;z-index:1}.header-2MiVco{margin-top:32px;margin-bottom:8px}.byline-3REiHf{margin-bottom:16px}.discoverPreview-3q1szX{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:start}.placeholderCard-3Zu1qO,.previewCard-DOrO3c{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.guidelines-2G-CDd{margin-top:16px}.enableButton-5IUTeW{width:-webkit-min-content;width:-moz-min-content;width:min-content;min-width:210px;margin:auto;font-weight:600}.checklist-3Y6Fqp{text-align:start;margin-top:32px}
-.twoColumnFormSection-2Q7L4a{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.formColumnLeft-133goO{width:50%;margin-right:8px}.formColumnRight-lC16zj{width:50%;margin-left:8px}.noDividerFormSection-vvAlYx{margin-top:32px}.formTitle-1H5isU{font-size:14px;margin-bottom:8px}.formDescription-1M5V7q{margin-bottom:16px;margin-right:16px;max-width:328px}.description-1wCOo3{margin:8px 0}.formSelect-2Fx4ul{margin-left:16px;-ms-flex-preferred-size:50%;flex-basis:50%}.divider-28j0IL{margin:32px 0}.guildCard-1cenlU{min-height:256px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.avatarUploaderInnerSquare-2wsxgt{border-radius:4px;background-size:cover;width:320px;height:180px}.tag-3G5e08{-ms-flex-negative:0;flex-shrink:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:4px;margin:2px;padding:4px 4px 4px 8px;-webkit-transition:none;transition:none;color:var(--header-primary)}.tag-3G5e08:hover{text-decoration:none}.closeWrapper-1ip_nt{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:2px}.close-20aIEG{color:var(--interactive-normal)}.close-20aIEG:active,.close-20aIEG:hover{cursor:pointer;color:var(--interactive-active)}.error-2OpTSs{margin-top:8px}.theme-light .avatarUploaderInnerSquare-2wsxgt{background-image:url(/assets/7b6ed225050df29a07cb5db712d35a73.svg)}.theme-light .tag-3G5e08{background-color:var(--background-tertiary)}.theme-dark .avatarUploaderInnerSquare-2wsxgt{background-image:url(/assets/d03d90cb6f12a7ea06274b278dfa4160.svg)}.theme-dark .tag-3G5e08{background-color:var(--background-accent)}
-.emojiAliasPlaceholder-3H_iZA{position:absolute;top:0;left:0;z-index:0;font-size:16px;line-height:16px;padding-top:6px;padding-left:8px;padding-right:8px;max-width:200px;overflow:hidden}.emojiAliasPlaceholder-3H_iZA:after,.emojiAliasPlaceholder-3H_iZA:before{content:":";position:absolute;font-weight:500;opacity:.3}.emojiAliasPlaceholder-3H_iZA:before{margin-left:-6px}.emojiAliasPlaceholder-3H_iZA:after{margin-left:3px}.emojiAliasInput-1y-NBz{position:relative;z-index:1;width:200px}.emojiAliasOffset-3y9w1z{margin-left:7px}.emojiRow-zIc7ZX{position:relative;height:64px}.emojiRow-zIc7ZX .emojiAliasInput-1y-NBz .emojiInput-1aLNse{-webkit-transition:opacity .1s ease-in-out;transition:opacity .1s ease-in-out;opacity:0}.emojiRow-zIc7ZX .emojiAliasInput-1y-NBz .emojiInput-1aLNse:focus{opacity:1}.emojiRow-zIc7ZX .emojiUploader-1f0pVx{margin-left:10px;position:relative}.emojiRow-zIc7ZX .emojiRemove-1k6MlJ{position:absolute;top:-12px;right:-31px;opacity:0}.emojiRow-zIc7ZX .emojiImage-1hZi2F{width:32px;height:32px;background-size:contain;background-position:0 50%;background-repeat:no-repeat}.emojiRow-zIc7ZX .emojiAliasInput-1y-NBz,.emojiRow-zIc7ZX .emojiImage-1hZi2F{position:relative}.emojiRow-zIc7ZX .emojiRowText-2j4TNM{position:absolute;top:0;left:28px;right:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.emojiRow-zIc7ZX:focus-within .emojiAliasInput-1y-NBz .emojiInput-1aLNse,.emojiRow-zIc7ZX:hover .emojiAliasInput-1y-NBz .emojiInput-1aLNse{opacity:1}.emojiRow-zIc7ZX:focus-within .emojiRemove-1k6MlJ,.emojiRow-zIc7ZX:hover .emojiRemove-1k6MlJ{opacity:1}.emojiDisabled-3hOv8O{opacity:.4}.positionRelative-3HNyhz{position:relative}.avatar-2Hubm8{width:20px!important;height:20px!important}.theme-dark .emojiAliasInput-1y-NBz .emojiInput-1aLNse{background-color:null}.theme-dark .emojiAliasPlaceholder-3H_iZA{color:#fff}.theme-dark .emojiRow-zIc7ZX{-webkit-box-shadow:0 1px 0 0 hsla(0,0%,100%,.04);box-shadow:0 1px 0 0 hsla(0,0%,100%,.04)}.theme-light .emojiAliasInput-1y-NBz .emojiInput-1aLNse{background-color:null}.theme-light .emojiRow-zIc7ZX{-webkit-box-shadow:0 1px 0 0 rgba(79,84,92,.04);box-shadow:0 1px 0 0 rgba(79,84,92,.04)}
-.wrapper-1sov8s{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.header-38iSYi{word-break:break-word;margin-bottom:8px}.secondaryHeader-2oeRPO{word-break:break-word;font-weight:500}.icon-3oSHuZ{color:var(--interactive-normal);width:24px;height:24px}.iconWrapper-lS1uig{-ms-flex-item-align:start;align-self:flex-start;background-color:var(--background-floating);width:48px;height:48px;border-radius:50%}.detailsIcon-2LZ7Bq{margin-right:4px;color:var(--interactive-normal)}.detailsWrapper-3XSaoN{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;margin-top:4px}.headerDetailsWrapper-3vFoyW{margin-right:40px}
-.card-1o0mns{padding:20px 16px;margin-bottom:16px}.iconWrapper-1GmWXs{background-color:var(--background-floating);width:32px;height:32px;border-radius:50%;margin-right:8px}.tag-2tTce6{margin-left:4px}.divider-1Q2f0F{margin-top:16px;margin-bottom:-8px}.permissionHeader-asGFgR{margin-top:24px;margin-bottom:0}.permission-23FtuH{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 0 33.33%;flex:0 0 33.33%;margin-top:8px}.check-2-1yhI{color:var(--text-positive)}.check-2-1yhI,.cross-22YsmA{margin-right:8px;-ms-flex-negative:0;flex-shrink:0}.cross-22YsmA{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-light .rolePills-32B_DQ{color:rgba(79,84,92,.8)}.theme-light .card-1o0mns{border-color:var(--background-tertiary)}.theme-dark .rolePills-32B_DQ{color:hsla(0,0%,100%,.8)}.theme-dark .card-1o0mns{border-color:var(--background-secondary-alt)}
-.card-11DMwv{padding:0;margin-bottom:16px}.header-AEVxpd{padding:20px 16px;cursor:pointer}.body-1URwv3{padding:0 16px 24px}.avatarWrapper-100Zq-{padding-right:12px}.avatarUploaderInner-38krIy{width:100px;height:100px}.topDivider-3L6Fpy{margin-bottom:24px}.bottomDivider-oRTNmX{margin:24px 0}.copyButton-2dlh2G{margin-right:16px}.expandIcon-36eQhw{color:var(--interactive-normal)}.source-2T0ALx{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:-8px;margin-bottom:24px}.sourceName-1A_rmo{color:var(--text-normal);margin:0 8px 0 4px}.sourceIcon-3A2BWe{color:var(--interactive-normal)}.sourceGuildIcon-3FBVzr{border-radius:50%;width:24px;height:24px}.guildSource-zsVqWq{color:var(--text-muted);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0 8px}.removeButton-2mQphS{padding-left:0;padding-right:0}.theme-light .card-11DMwv{border-color:var(--background-tertiary)}.theme-dark .card-11DMwv{border-color:var(--background-secondary-alt)}
-.card-3IImnr{padding:0;margin-bottom:16px}.pulse-3KGsIm{border-width:1px;border-color:transparent;-webkit-animation:pulseBorder-1LZYy9 .8s alternate;animation:pulseBorder-1LZYy9 .8s alternate}@-webkit-keyframes pulseBorder-1LZYy9{0%{border-color:transparent}50%{border-color:var(--brand-experiment)}to{border-color:transparent}}@keyframes pulseBorder-1LZYy9{0%{border-color:transparent}50%{border-color:var(--brand-experiment)}to{border-color:transparent}}.header-146Xl5{padding:20px 16px;cursor:pointer}.body-1zRX82{padding:0 16px 24px}.avatarWrapper-w4yZ79{padding-right:12px}.avatarUploaderInner-2yzhZs{width:100px;height:100px}.topDivider-3G26Ct{margin-bottom:24px}.bottomDivider-2zO9Uj{margin:24px 0}.copyButton-162Uy2{margin-right:16px}.expandIcon-3Ktz7x{color:var(--interactive-normal)}.theme-light .card-3IImnr{border-color:var(--background-tertiary)}.theme-dark .card-3IImnr{border-color:var(--background-secondary-alt)}
-.groupHeader-2HO9n1{margin-top:24px;margin-bottom:16px}.channelName-23gcSM{color:var(--header-primary)}
-.header-1zrK9n{margin-top:20px}.headerDivider-Dg1-HH{margin:32px 0}.headerDescription-1Nd_lF{margin-top:16px}.sectionHeader-3nPONz{margin-bottom:16px;font-weight:500}.sectionIcon-_ETEQ7{color:var(--interactive-normal);margin-right:8px}.section-1vojIX{margin-bottom:32px}.emptyCard-COmm00{padding:36px 16px;text-align:center;border-width:0}
-.updateAvailable-qNqOs7{-webkit-animation:spin-3elCWT 2s linear infinite;animation:spin-3elCWT 2s linear infinite}@-webkit-keyframes spin-3elCWT{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin-3elCWT{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}
-.card-2oHOey{padding:0;margin-bottom:16px}.header-3_1L2a{padding:20px 16px}.expandableHeader-419nXs{cursor:pointer}.body-1_h7ob{padding:0 16px 16px}.topDivider-30ltDi{margin-bottom:24px}.midDivider-1XcdC7{margin:24px 0}.bottomDivider-2vNBIW{margin:24px 0 16px}.description-CJJAf4>a{color:var(--header-secondary)}.syncedRole-ko_ioR>a{color:var(--header-primary)}.emoji-1jNyN9{color:var(--text-muted);min-height:0!important;max-width:28px!important;max-height:28px!important;margin:8px 8px 0 0!important}.switch-3t5-zB{-ms-flex-item-align:center;align-self:center}.expandIcon-h6kd__{color:var(--interactive-normal)}.enabledBadge-2bejG8{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.disableButton-vqsDT_{padding-left:0;padding-right:0}.theme-light .card-2oHOey{border-color:var(--background-tertiary)}.theme-dark .card-2oHOey{border-color:var(--background-secondary-alt)}
-.header-3AX55L{margin-top:20px}.headerDivider-38pm1t{margin:32px 0}.platformIcon-1PGQCy{width:28px;height:28px}.iconWrapper-1CmFNX{background-color:var(--background-floating);width:48px;height:48px;border-radius:50%}.helpText-3pMjkE{margin-top:16px}
-.headerDivider-24Gho9{margin:32px 0}.emptyStateImage-3B9eCS{width:272px;height:145px;margin-top:32px;margin-bottom:24px}.emptyStateButton-1ecMOd{margin-top:12px}.sectionHeader-3mr9j6{margin-top:32px;margin-bottom:16px;color:var(--text-muted);font-weight:500}.channelName-3PKQcf{color:var(--header-primary)}
-.card-o7rAq-{padding:20px 16px;margin-bottom:16px}.caret-Ld-w32{margin-left:8px;color:var(--interactive-normal)}.feature-1kwvmO{margin-right:16px}.featureIcon-3huAlM{color:var(--text-muted)}.clickable-ya6Upc{cursor:pointer}.theme-light .card-o7rAq-{border-color:var(--background-tertiary)}.theme-dark .card-o7rAq-{border-color:var(--background-secondary-alt)}
-.divider-2ArnI_{margin:32px 0}.sectionHeader-roK2A-{margin-bottom:24px}.emptyStateWrapper-1TYbzO{-ms-flex-line-pack:center;align-content:center}.emptyStateImage-1cmrRm{width:256px;height:72px;margin-bottom:-24px;z-index:100}.emptyStateCard-1gakJi{width:100%;min-height:128px;padding-top:24px;z-index:1;border-width:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.footerPlaceholder-3sjNqI{padding-bottom:228px}.footerImage-4UrEF0{position:absolute;bottom:0;left:0;right:0;height:188px;background-size:660px 188px;background-position:50%;background-repeat:no-repeat}.theme-dark .footerImage-4UrEF0{background-image:url(/assets/36d0e0bb009fa362c2533003c0af67b5.svg)}.theme-light .footerImage-4UrEF0{background-image:url(/assets/c9b2eb9473c66578a8e021e9fe46b74b.svg)}.platformIcon-3ewYVp{width:28px;height:28px}
-.headerDivider-imrZvL{margin:32px 0}.createButton-3dZ1z4,.emptyStateImage-3SXmVX{margin-bottom:24px}.emptyStateImage-3SXmVX{width:272px;height:145px}.emptyStateButton-3AtrA7{margin-top:12px}
-.spinner-3PIoVi{margin-top:40px}.backButton-1C0-xm{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:28px;cursor:pointer;margin:-4px 8px -4px 0}.backArrow-yh8dcc{color:var(--text-muted)}.breadcrumbs-313Q_y{margin-bottom:20px}.breadcrumbActive-rzcSnC{color:var(--header-primary)}.breadcrumbInactive--q94Ii{cursor:pointer;color:var(--header-secondary)}.breadcrumbInactive--q94Ii:hover{color:var(--header-primary)}
-.inviteSettingsInviteRow-3p2O-N{height:62px;position:relative;font-size:16px;line-height:20px;color:var(--text-normal)}.headerSection-3-3lNF{padding-bottom:4px}.headerDivider-IXgjKK{margin-bottom:19px}.inviteSettingsInviteRow-3p2O-N:focus-within .revokeInvite-28N8uj,.inviteSettingsInviteRow-3p2O-N:hover .revokeInvite-28N8uj{opacity:1}.text-21vYb9{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.revokeInvite-28N8uj,.text-21vYb9{z-index:2}.username-38XC76{margin-left:8px}.channelName-13-Sm9{margin-left:26px}.countdownColumn-3NPaQ0{margin-right:0}.revokeInvite-28N8uj{position:absolute;top:-12px;right:-31px;opacity:0;-webkit-transition:opacity .1s ease;transition:opacity .1s ease}.inviteCode-202N0U{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace}.textAlignRight-9VxZrl{text-align:right}.countdown-3GoVpq,.uses-mYuoF0{text-align:right;font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace}.user-3x-NP9{display:-webkit-box;display:-ms-flexbox;display:flex;color:var(--header-primary)}.discriminator-uTZ08z{color:var(--header-secondary)}.avatar-1D9RQa{width:20px!important;height:20px!important}.marginBottom20-2iRTVz{margin-bottom:20px}.theme-dark .inviteSettingsInviteRow-3p2O-N{-webkit-box-shadow:0 1px 0 0 hsla(0,0%,100%,.04);box-shadow:0 1px 0 0 hsla(0,0%,100%,.04)}.theme-light .inviteSettingsInviteRow-3p2O-N{-webkit-box-shadow:0 1px 0 0 rgba(79,84,92,.04);box-shadow:0 1px 0 0 rgba(79,84,92,.04)}
-.spacing-10gZNy{margin:8px 0 16px}.pruneDetails-2XW25x{margin:20px 0}.role-3_4ahB{margin:4px 4px 4px 0;color:var(--text-normal)}.content-160bZ2{overflow:unset;overflow-y:visible;padding:0 16px;z-index:2}
-.spacing-3L-47q{}.fromToWrapper-LEJK5w{padding-top:24px;background:no-repeat 50% 0}.from-mPWN2E,.to-2819fF{border-radius:50%}.from-mPWN2E{margin-right:-27px;opacity:.3}.to-2819fF{position:relative;z-index:1}.theme-dark .to-2819fF{-webkit-box-shadow:0 0 0 4px #2f3136;box-shadow:0 0 0 4px #2f3136;background-color:#2f3136}.theme-dark .fromToWrapper-LEJK5w{background-image:url(/assets/7d74fde5c67e7d6dd17ebefedce42c74.svg)}.theme-light .to-2819fF{-webkit-box-shadow:0 0 0 4px #f6f6f7;box-shadow:0 0 0 4px #f6f6f7;background-color:#f6f6f7}.theme-light .fromToWrapper-LEJK5w{background-image:url(/assets/c4fcc96859526eae2dfd060c7eeaa303.svg)}
-.searchBar-1YE5UV{margin-left:10px}.membersHeader-1e_dwe .ui-select-2Wiqwo{width:150px}.pruneLink-3V7wes{opacity:.9}.membersCount-3pDYPB{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.membersFilterPopout-URUUD-{width:240px}.membersFilterPopout-URUUD- .ui-scroller-wrap--ZsVcq{max-height:280px}.member-1q7VfX{padding:16px 0}.member-1q7VfX.active-2lyE_3 .overflowIcon-1qLIlV,.member-1q7VfX:focus-within .overflowIcon-1qLIlV,.member-1q7VfX:focus .overflowIcon-1qLIlV,.member-1q7VfX:hover .overflowIcon-1qLIlV{opacity:.6}.member-1q7VfX.active-2lyE_3 .overflowIcon-1qLIlV:focus,.member-1q7VfX.active-2lyE_3 .overflowIcon-1qLIlV:focus-within,.member-1q7VfX.active-2lyE_3 .overflowIcon-1qLIlV:hover,.member-1q7VfX:focus-within .overflowIcon-1qLIlV:focus,.member-1q7VfX:focus-within .overflowIcon-1qLIlV:focus-within,.member-1q7VfX:focus-within .overflowIcon-1qLIlV:hover,.member-1q7VfX:focus .overflowIcon-1qLIlV:focus,.member-1q7VfX:focus .overflowIcon-1qLIlV:focus-within,.member-1q7VfX:focus .overflowIcon-1qLIlV:hover,.member-1q7VfX:hover .overflowIcon-1qLIlV:focus,.member-1q7VfX:hover .overflowIcon-1qLIlV:focus-within,.member-1q7VfX:hover .overflowIcon-1qLIlV:hover{opacity:1}.member-1q7VfX .nameTag-3wmDUk{min-width:200px;max-width:200px}.member-1q7VfX .nameTag-3wmDUk .name-8yzEIY,.member-1q7VfX .nameTag-3wmDUk .tag-1YGWN9{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;cursor:text;margin-right:.3rem}.member-1q7VfX .ownerHelpIcon-3ItaBx{cursor:default;width:14px;height:14px}.member-1q7VfX .roleWrapper-1Hde_V{overflow:hidden}.member-1q7VfX .overflowButton-D3gjra{width:24px}.member-1q7VfX .overflowIcon-1qLIlV{opacity:0;cursor:pointer;-webkit-transition:opacity .1s ease;transition:opacity .1s ease}.member-1q7VfX .avatar-2tTaT6,.member-1q7VfX .nameTag-3wmDUk,.member-1q7VfX .overflowButton-D3gjra,.member-1q7VfX .roleWrapper-1Hde_V{z-index:1}.tag-1YGWN9{color:var(--text-muted);font-size:14px}.theme-light .pruneLink-3V7wes{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-light .member-1q7VfX{-webkit-box-shadow:0 1px 0 0 rgba(79,84,92,.04);box-shadow:0 1px 0 0 rgba(79,84,92,.04)}.theme-light .member-1q7VfX .name-8yzEIY{color:#4f545c;font-weight:500}.theme-light .member-1q7VfX .roleWrapper-1Hde_V{color:rgba(79,84,92,.8)}.theme-light .member-1q7VfX .overflowIconFg-QMRRFI{fill:#4f545c}.theme-light .member-1q7VfX .ownerHelpIcon-3ItaBx{color:#4f545c}.theme-dark .pruneLink-3V7wes{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-dark .member-1q7VfX{-webkit-box-shadow:0 1px 0 0 hsla(0,0%,100%,.04);box-shadow:0 1px 0 0 hsla(0,0%,100%,.04)}.theme-dark .member-1q7VfX .name-8yzEIY{color:#f6f6f7;font-weight:500}.theme-dark .member-1q7VfX .roleWrapper-1Hde_V{color:hsla(0,0%,100%,.8)}.theme-dark .member-1q7VfX .overflowIconFg-QMRRFI{fill:#fff}.theme-dark .member-1q7VfX .ownerHelpIcon-3ItaBx{color:#f6f6f7}
-.buttonWithTooltip-zc8RdL{width:100%}
-.container-1s4HBn{-webkit-transition:border-color .17s ease;transition:border-color .17s ease}.container-1s4HBn.error-3TKm5F,.container-1s4HBn.error-3TKm5F:hover{border-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.disabled-3R_rEF{}.layout-RmPevB{}.layout-RmPevB .input-1dRteR{padding:0 0 0 8px;overflow:visible;line-height:24px}.input-1dRteR{}.name-3suiPo{margin-left:5px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.flag-16iIBd{position:relative;width:36px;height:24px;background-size:cover;border-radius:3px;margin-right:10px}.vip-3pFIN8:after{position:absolute;bottom:-5px;right:-10px;content:"VIP";background:var(--brand-experiment);color:#fff;border:2px solid;border-radius:3px;-webkit-box-sizing:border-box;box-sizing:border-box;font-weight:500;font-size:10px;padding:2px;height:17px;line-height:10px}.button-cqiy5p{}.theme-dark .container-1s4HBn.hover-2AGf5p{border-color:#040405}.theme-dark .flag-16iIBd.vip-3pFIN8:after{border-color:#36393f}.theme-light .container-1s4HBn.hover-2AGf5p{border-color:#b9bbbe}.theme-light .flag-16iIBd.vip-3pFIN8:after{border-color:#fff}
-.avatarUploader-2yeaMv .avatarUploaderInner-3SDRO_,.avatarUploaderDisabled-310UAf .avatarUploaderInner-3SDRO_{width:100px;height:100px;background-size:100% 100%}.avatarUploader-2yeaMv .avatarUploaderInnerSquare-2UOXj4,.avatarUploaderDisabled-310UAf .avatarUploaderInnerSquare-2UOXj4{border-radius:4px;background-size:cover;width:100%;height:180px}.iconError-3G2IfP{margin-top:8px;text-align:center}.guildSettingsOverviewNotice-2VluqV{border-radius:4px}.divider-3wNib3{margin-top:40px;padding-top:40px;border-top:1px solid transparent}.theme-dark .guildSettingsOverviewNotice-2VluqV{background-color:rgba(32,34,37,.95)}.theme-dark .avatarUploader-2yeaMv .avatarUploaderInner-3SDRO_,.theme-dark .avatarUploaderDisabled-310UAf .avatarUploaderInner-3SDRO_{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 2px 10px 0 rgba(0,0,0,.2)}.theme-dark .avatarUploader-2yeaMv .avatarUploaderInner-3SDRO_:hover{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2),inset 0 0 120px rgba(0,0,0,.6);box-shadow:0 2px 10px 0 rgba(0,0,0,.2),inset 0 0 120px rgba(0,0,0,.6)}.theme-dark .avatarUploaderDisabled-310UAf .avatarUploaderInner-3SDRO_:hover{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 2px 10px 0 rgba(0,0,0,.2)}.theme-dark .error-2JokS1,.theme-dark .iconError-3G2IfP{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-dark .divider-3wNib3{border-color:rgba(114,118,125,.3)}.theme-light .guildSettingsOverviewNotice-2VluqV{background-color:rgba(246,246,247,.95)}.theme-light .avatarUploader-2yeaMv .avatarUploaderInner-3SDRO_,.theme-light .avatarUploaderDisabled-310UAf .avatarUploaderInner-3SDRO_{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.1);box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}.theme-light .avatarUploader-2yeaMv .avatarUploaderInner-3SDRO_:hover{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.1),inset 0 0 120px rgba(0,0,0,.6);box-shadow:0 2px 10px 0 rgba(0,0,0,.1),inset 0 0 120px rgba(0,0,0,.6)}.theme-light .error-2JokS1,.theme-light .iconError-3G2IfP{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-light .avatarUploaderDisabled-310UAf .avatarUploaderInner-3SDRO_:hover{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.1);box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}.theme-light .divider-3wNib3{border-color:rgba(185,187,190,.3)}
-.healthFailingDescription-2i0N_v{margin-bottom:8px}.detailsButton-2DLM6k{padding:0;font-weight:400}.healthPending-2vOXca{color:var(--text-warning)}.doesNot-182rCC{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.separator-Hx_3SF{height:1px;width:100%;background-color:var(--header-primary);opacity:.06;border:none;margin:0}
-.container-1y2SiJ{min-height:480px;-ms-flex-direction:column;flex-direction:column}.centeredContent-2RnY1t,.container-1y2SiJ{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal}.centeredContent-2RnY1t{-webkit-box-flex:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.headerContent-1hkqMb{text-align:center}.header-2iAsQ-{margin-bottom:16px}.headerCaption-dhZYrH,.headerCaptionSecondLine-njznzs{color:var(--header-secondary)}.headerCaptionSecondLine-njznzs{margin-top:16px}.formItem-3caYi-,.twoColumn-3yKVlN{margin-top:24px}.twoColumn-3yKVlN{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.columnItem-P4zi8t{-ms-flex-preferred-size:50%;flex-basis:50%}.spacedColumnItem-2jBOnY{-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-preferred-size:50%;flex-basis:50%;margin-right:16px}.description-1UfJ_A{margin-bottom:8px}.otherDescription-1p-Y0L{margin:8px 0}.tag-3-bjbr{-ms-flex-negative:0;flex-shrink:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:4px;margin:2px;padding:4px 4px 4px 8px;-webkit-transition:none;transition:none;color:var(--header-primary)}.tag-3-bjbr:hover{text-decoration:none}.closeWrapper-1DB17G{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:2px}.close-1WlsZj{width:12px;height:12px;color:var(--interactive-normal)}.close-1WlsZj:active,.close-1WlsZj:hover{cursor:pointer;color:var(--interactive-active)}.theme-light .tag-3-bjbr{background-color:var(--background-tertiary)}.theme-dark .tag-3-bjbr{background-color:var(--background-accent)}
-.wrapper-3JPufy{position:relative}.inner-2Y6JuD{width:52px;height:52px;border:1px solid rgba(153,170,181,.3);border-radius:5px;background-size:36px 36px;background-repeat:no-repeat;background-position:50%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.inner-2Y6JuD:hover{background-color:rgba(153,170,181,.3);cursor:pointer}.inner-2Y6JuD:disabled{opacity:.3;pointer-events:none}.ellipsis-3JqXfv{position:absolute;top:0;right:0;bottom:0;left:0}.spinnerItem-3JjAoz{background-color:#4f545c}.theme-dark .inner-2Y6JuD,.theme-light .inner-2Y6JuD{background-color:transparent}.theme-dark .inner-2Y6JuD:hover,.theme-light .inner-2Y6JuD:hover{border-color:transparent}
-.buttonFlexContainer-3I-FUG{margin:4px 0 0}.buttonWrapper-1AHlq-{position:relative;margin-left:0;margin-right:12px}.buttonWrapper-1AHlq- .oauthButton-1qlQzP{border-radius:4px;border:1px solid var(--background-tertiary);background-color:var(--background-secondary)}.buttonWrapper-1AHlq- .oauthButton-1qlQzP:hover{border-color:var(--background-tertiary);background-color:var(--background-secondary-alt)}.buttonWrapper-1AHlq- .connected-2pJS_z{opacity:.75;border:2px solid var(--brand-experiment)}.buttonWrapper-1AHlq- .connected-2pJS_z:hover{opacity:1;border:2px solid var(--brand-experiment)}.checkmarkCircle-2n4gFf{background-color:var(--brand-experiment);border-radius:50%;width:16px;height:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:-8px;right:-8px}
-.container-3Z2Sia{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;text-align:center}.banner-2AwsUs{width:428px;margin-bottom:40px}.featureCards-3AOp7w{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:16px;margin-bottom:32px}.body-jOLx1x{margin-top:8px;margin-bottom:32px}.separator-2V2oIO{margin:32px 0;height:1px;width:100%;background-color:var(--header-primary);opacity:.06;border:none}.pendingBar-1vOJ9X{background-color:var(--background-tertiary);display:-webkit-box;display:-ms-flexbox;display:flex;padding:16px;border-radius:8px;text-align:start;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0 32px}.paragraph-2_8gFN{margin-bottom:-14px}.requirementsImage-tqIP2X{margin-right:16px}.loadingText-1ki_Yg{margin-bottom:16px}.info-1LuGpo{color:hsl(221,calc(var(--saturation-factor, 1)*70%),55.5%)}.warning-3qyw2h{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.button-3vUWW9{margin-bottom:2px}.applicationPauseWarning-SpLhap{margin-bottom:16px;text-align:start}.checklistContainer-mFJZEJ{background-color:var(--background-secondary);border-radius:8px;text-align:start;margin:0 32px}.checklistHeader-1KWcEY{background-color:var(--background-tertiary);display:-webkit-box;display:-ms-flexbox;display:flex;padding:16px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:8px 8px 0 0}.cooldown-2qfqBs{margin-top:16px}
-.progressBar-3DHbdu{position:relative;width:24px}.bar-3S3dlZ{width:4px;x:10px;rx:4px}.background-3xPPFc,.foreground-2EIns2{}.foreground-2EIns2{color:hsl(302,calc(var(--saturation-factor, 1)*100%),72.5%)}.foregroundTooltipPosition-3-rP__{position:absolute;left:24px}.tier-2c9-hT{position:absolute;left:4px;border-radius:50%;width:16px;height:16px}.tierAccomplished-2eXPdI,.tierCurrent-Lw7-4E,.tierDefault-2qaRkD,.tierInProgress-3mBoXq{}.tierCurrent-Lw7-4E{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.currentTierIcon-EGY5eG{width:10px;height:10px}.foregroundTooltip-_9t78D{max-width:280px}.theme-dark .background-3xPPFc{color:#202225}.theme-dark .tierInProgress-3mBoXq{background-color:#202225}.theme-light .background-3xPPFc{color:#ebedef}.theme-light .tierInProgress-3mBoXq{background-color:#ebedef}.theme-dark .tierAccomplished-2eXPdI,.theme-dark .tierCurrent-Lw7-4E,.theme-dark .tierDefault-2qaRkD,.theme-light .tierAccomplished-2eXPdI,.theme-light .tierCurrent-Lw7-4E,.theme-light .tierDefault-2qaRkD{background:hsl(302,calc(var(--saturation-factor, 1)*100%),72.5%)}.theme-dark .tierCurrent-Lw7-4E,.theme-light .tierCurrent-Lw7-4E{-webkit-box-shadow:0 4px 8px rgba(0,0,0,.24);box-shadow:0 4px 8px rgba(0,0,0,.24)}.theme-dark .currentTierIcon-EGY5eG,.theme-light .currentTierIcon-EGY5eG{color:#fff}.theme-dark .tooltipMuted-26IcoY,.theme-light .tooltipMuted-26IcoY{color:#72767d}
-.content-EpTwk1{display:-webkit-box;display:-ms-flexbox;display:flex}.progress-P0N0qm{position:absolute}.progressWithSubscriptions-1g0lMR{margin-top:7px}.tiers-3eUU7I{margin-left:38px;width:100%}.subscriberCount-11AZJ2{margin-top:8px;margin-bottom:24px}.subscriberCount-11AZJ2 strong{font-weight:500}.subscribers-34Wiok .subscriberMask-2keJDX{margin-right:-8px}.moreSubscribers-XxaiVS{border-radius:50%;height:30px;width:30px;line-height:30px;font-size:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer}.subscribersPopout-3tW0Y9{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;padding:16px;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;max-height:216px}.subscribersPopoutUser-4hhgA8{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;line-height:18px}.subscribersPopoutUsername-1qkpRX{margin-left:8px;max-width:200px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.tierDefaultUnlocked-388I3Z{margin-bottom:16px}.tierDefaultUnlockedDescription-1Hq8Pg{margin-top:10px}.tier-2pEkRl{border-radius:4px}.tierBottomMargin-305env{margin-bottom:24px}.tierHeader-l2pbOh{border-radius:4px 4px 0 0;position:relative}.tierHeaderWithoutCardBody-39Er3Y{border-radius:4px;margin-bottom:16px}.tierHeaderContent-3t3DoO{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:16px;-webkit-transform:translateZ(0);transform:translateZ(0)}.tierHeaderLocked-3S508x{}.tierHeaderUnlocked-3lTDnP{overflow:hidden}.tierHeaderUnlockedBackground-dZ6zLI{position:absolute;top:0;left:0;right:0;bottom:0}.tierIcon-1g5KsI{color:hsl(302,calc(var(--saturation-factor, 1)*100%),72.5%);width:32px;height:32px}.tierTitle-1zWf2L{margin-left:16px;font-size:16px;line-height:20px;-webkit-box-flex:1;-ms-flex:1;flex:1;font-weight:600;color:var(--interactive-normal)}.tierTitleActive-2SvV-i{color:var(--interactive-active)}.tierRequirement-UAxC-l{font-size:16px}.tierLock-3nsR0q{width:30px;height:30px;margin-left:16px;color:var(--interactive-muted)}.tierUnlocked-2H6ULo{background-image:-webkit-gradient(linear,left top,right top,from(hsl(221,calc(var(--saturation-factor, 1)*70%),55.5%)),to(hsl(269,calc(var(--saturation-factor, 1)*83.8%),71%)));background-image:linear-gradient(90deg,hsl(221,calc(var(--saturation-factor, 1)*70%),55.5%),hsl(269,calc(var(--saturation-factor, 1)*83.8%),71%));border-radius:10px;color:#fff;font-size:12px;font-weight:500;padding:4px 8px;text-transform:uppercase}.tierClose-11rsMz{position:absolute;width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.tierCloseMechaWumpus-I5VKyc{height:70px;width:90px}.tierCloseHint-w4yino{position:relative;border-radius:4px;padding:8px 16px;max-width:135px;font-size:12px;line-height:16px;margin-left:16px}.tierCloseHint-w4yino:before{content:"";position:absolute;top:calc(50% - 8px);left:-16px;border:8px solid transparent}.tierCloseClose-iRVkcs{-ms-flex-item-align:start;align-self:flex-start;margin-top:4px;margin-left:4px;cursor:pointer}.tierCloseCloseIcon-1mnX8B{width:16px;height:16px}.hidden-UVFBon{opacity:0;pointer-events:none}.tierBody-3aUxuc{padding:16px;border-radius:0 0 4px 4px;-webkit-box-sizing:border-box;box-sizing:border-box;font-weight:500}.previousPerks-2mqe4t{font-size:14px;line-height:18px;margin-bottom:16px}.perks-32J1d0{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;display:grid;grid-gap:16px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.perk-3tfSmw{display:-webkit-box;display:-ms-flexbox;display:flex}.perkIcon-1y667v{width:20px;height:20px;-ms-flex-negative:0;flex-shrink:0}.perkText-tqMI_-{margin-left:10px;font-size:12px;line-height:16px}.perkTitle-3CUroY{text-transform:uppercase;font-weight:600}.perkDescription-3buU5c{margin-top:4px}.avatar-3C-cz_{width:30px!important;height:30px!important}.theme-dark .moreSubscribers-XxaiVS{background-color:#202225;color:#fff}.theme-dark .subscriberCount-11AZJ2{color:#b9bbbe}.theme-dark .subscriberCount-11AZJ2 strong{font-weight:500;color:#dcddde}.theme-dark .subscribersPopout-3tW0Y9{background:#18191c;-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 2px 10px 0 rgba(0,0,0,.2)}.theme-dark .subscribersPopoutUser-4hhgA8{color:#b9bbbe}.theme-dark .tierHeaderLocked-3S508x{background-color:#202225;color:#b9bbbe}.theme-dark .tierHeaderUnlocked-3lTDnP{background-color:#202225}.theme-dark .tierCloseClose-iRVkcs{color:#fff}.theme-dark .tierBody-3aUxuc{background-color:#2f3136;color:#b9bbbe}.theme-light .moreSubscribers-XxaiVS{background-color:#202225;color:#fff}.theme-light .subscriberCount-11AZJ2{color:#9099a4}.theme-light .subscriberCount-11AZJ2 strong{color:#4f5660}.theme-light .subscribersPopout-3tW0Y9{background:#fff;-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 2px 10px 0 rgba(0,0,0,.2);border:1px solid #ebedef}.theme-light .subscribersPopoutUser-4hhgA8{color:#747f8d}.theme-light .tierHeaderLocked-3S508x{background-color:#f8f9f9;color:#9099a4}.theme-light .tierHeaderUnlocked-3lTDnP{background-color:#f8f9f9}.theme-light .tierCloseClose-iRVkcs{color:#747f8d}.theme-light .tierBody-3aUxuc{background-color:#fff;color:#2e3338;border:1px solid #ebedef}.theme-dark .tierCloseHint-w4yino,.theme-light .tierCloseHint-w4yino{color:#fff;background-color:var(--brand-experiment)}.theme-dark .tierCloseHint-w4yino:before,.theme-light .tierCloseHint-w4yino:before{border-right-color:var(--brand-experiment)}.theme-dark .tierHeaderUnlocked-3lTDnP,.theme-light .tierHeaderUnlocked-3lTDnP{color:#fff}.theme-dark .tierHeaderUnlockedBackground-dZ6zLI,.theme-light .tierHeaderUnlockedBackground-dZ6zLI{background-image:-webkit-gradient(linear,left top,right top,from(hsl(221,calc(var(--saturation-factor, 1)*70%),55.5%)),to(hsl(269,calc(var(--saturation-factor, 1)*83.8%),71%)));background-image:linear-gradient(90deg,hsl(221,calc(var(--saturation-factor, 1)*70%),55.5%),hsl(269,calc(var(--saturation-factor, 1)*83.8%),71%))}
-.crossfade-aWRFUb{position:relative}.icon-2fGOj8{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%}
-.animation-10BpnT{position:relative}.image-2PF0zB{background-repeat:no-repeat;background-size:100%}.wumpus-2ykFc1{position:relative;background-image:url(/assets/c23878305091e47e5c82ac7068fa936d.svg);width:100%;height:100%}.fireWrapper-foRH1S{position:absolute;width:30%;height:20%}.fireTopWrapper-2GkNLP{-webkit-transform:rotate(348deg);transform:rotate(348deg);top:70%;left:0}.fireBottomWrapper-nNfjpr{-webkit-transform:rotate(330deg);transform:rotate(330deg);top:92%;left:8%}.fire-8ekImD{background-image:url(/assets/5c08e6a946c329d6b12a4810547b58de.svg);width:100%;height:100%;-webkit-transform-origin:center right;transform-origin:center right}
-.titleBlurb-2y0XJX{margin-bottom:40px;margin-right:20px}.premiumGuildGracePeriodTitle-GOD9_E{text-transform:uppercase}.divider-Uf0Wob{height:1px;background:var(--background-modifier-accent);margin:32px 0}
-.modal-12IIoS{width:600px;max-height:704px}.modalHeader-2mNR1o{padding:32px 0 16px}.modalHeaderTitle-Z0-97F{margin-bottom:8px}.modalClose-19kmYV{position:absolute;top:16px;right:16px;z-index:1}.formItem-3JVqOJ{margin-bottom:16px}.formItemRow-3YXrt7{display:-webkit-box;display:-ms-flexbox;display:flex}.formItemRow-3YXrt7 .formItemRowChild-2CiJX7{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:100%;flex-basis:100%}.formItemRow-3YXrt7 .formItemRowChild-2CiJX7:first-child{margin-right:16px}.preview-3-zvcN{height:214px;border-radius:8px;border:1px solid var(--background-modifier-accent);overflow:hidden}.preview-3-zvcN,.previewDark-25B6Sg,.previewLight-WgCUFa{display:-webkit-box;display:-ms-flexbox;display:flex}.previewDark-25B6Sg,.previewLight-WgCUFa{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative}.previewDark-25B6Sg{background:#36393f;color:#72767d}.previewLight-WgCUFa{background:#fff;color:#747f8d}.infoIcon-1SsK3R{margin-left:4px;vertical-align:bottom}.fileUpload-3UbVpG{display:-webkit-box;display:-ms-flexbox;display:flex}.fileUploadInput-32_7I1{cursor:default}.fileUploadButton-245ih7{margin:6px;padding:4px 8px}.emojiInputContainer-2U1hDR{position:relative}.emojiButton-3JSdLV{height:100%;left:0;margin:0 10px;position:absolute;top:0}.emoji-2hsoma{height:22px;width:22px}.emojiText-3SwGUS{padding-left:42px;cursor:pointer}
-.wrapper-18yWki{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-secondary);border-radius:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:12px;position:relative;-webkit-transition:background-color .125s;transition:background-color .125s}.wrapper-18yWki:focus-within,.wrapper-18yWki:hover{background-color:var(--background-secondary-alt)}.wrapper-18yWki:focus-within .actions-1gwz6d,.wrapper-18yWki:hover .actions-1gwz6d{opacity:1;visibility:visible}.content-2Ifj11{-webkit-transition:opacity .1s;transition:opacity .1s}.contentRemoving-1evGTQ{opacity:.25}.sticker-20SgX2{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-bottom:8px}.stickerName-2Q3oCj{font-weight:500;text-align:center}.relatedEmoji-29s8wh{height:16px;left:8px;position:absolute;top:8px;width:16px}.wrapperDisabled-JnCH8b .relatedEmoji-29s8wh,.wrapperDisabled-JnCH8b .sticker-20SgX2{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.user-2DANVB{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:4px}.userAvatar-3Qn271{margin-right:4px}.actions-1gwz6d{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;opacity:0;position:absolute;right:-10px;top:-11px;-webkit-transition:opacity .25s,visibility .25s;transition:opacity .25s,visibility .25s;z-index:1;visibility:hidden}.action-Wexk0G,.actions-1gwz6d{display:-webkit-box;display:-ms-flexbox;display:flex}.action-Wexk0G{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-primary);border-radius:24px;-webkit-box-shadow:0 1px 5px 0 rgba(0,0,0,.3),0 0 0 1px rgba(32,34,37,.6);box-shadow:0 1px 5px 0 rgba(0,0,0,.3),0 0 0 1px rgba(32,34,37,.6);color:var(--interactive-normal);cursor:pointer;height:24px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:color .125s;transition:color .125s;width:24px}.action-Wexk0G:focus,.action-Wexk0G:hover{color:var(--interactive-active)}.action-Wexk0G+.action-Wexk0G{margin-top:8px}.actionRemove-HdT_9L,.actionRemove-HdT_9L:focus,.actionRemove-HdT_9L:hover{color:var(--text-danger)}.icon-3CsuzN{height:16px;width:16px}.spinner-2HMkkA{position:absolute;top:0;left:0;width:100%;height:100%}.theme-light .action-Wexk0G{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.2),0 0 0 1px rgba(185,187,190,.3);box-shadow:0 1px 5px rgba(0,0,0,.2),0 0 0 1px rgba(185,187,190,.3)}
-.grid-2oDofK{display:grid;grid-gap:12px;grid-template-columns:repeat(4,minmax(146px,160px));grid-template-rows:160px}.uploadCard-24zwDx{cursor:pointer}.iconWrapper-11Wvjn{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-image:-webkit-gradient(linear,left top,right top,from(hsl(221,calc(var(--saturation-factor, 1)*70%),55.5%)),to(hsl(269,calc(var(--saturation-factor, 1)*83.8%),71%)));background-image:linear-gradient(90deg,hsl(221,calc(var(--saturation-factor, 1)*70%),55.5%),hsl(269,calc(var(--saturation-factor, 1)*83.8%),71%));border-radius:48px;color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:48px;margin-bottom:10px;width:48px}.icon-2U40yC{height:24px;width:24px}.emptyTierWrapper-KMG0PV{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:16px 0}.unlockTierCtaHeading-3Q9aZn{margin-bottom:16px}.tierCardSubheading-IziHG4{font-weight:400}.uploadCardLabel-375Lg_{font-weight:500}
-.upsellContainer-3UlEOE{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:url(/assets/9f2ca884e87fc5cb914a57a87c548b6e.svg),-webkit-gradient(linear,left top,right top,from(hsl(221,calc(var(--saturation-factor, 1)*70%),55.5%)),to(hsl(269,calc(var(--saturation-factor, 1)*83.8%),71%)));background:url(/assets/9f2ca884e87fc5cb914a57a87c548b6e.svg),linear-gradient(90deg,hsl(221,calc(var(--saturation-factor, 1)*70%),55.5%),hsl(269,calc(var(--saturation-factor, 1)*83.8%),71%));border-radius:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:40px 0}.upsellHeader-1hxaKJ{color:#fff;margin-bottom:4px}.upsellDescription-2tl0qd{color:#fff;margin-bottom:24px;max-width:400px;text-align:center}.upsellButtons-2rBMtn{display:-webkit-box;display:-ms-flexbox;display:flex}.upsellButtonPrimary-3wB664{margin-right:16px}.upsellButton-1QHAmZ{color:hsl(227,calc(var(--saturation-factor, 1)*58.4%),65.1%)}.uploadRequirementsList-2CtxQd{list-style:disc;padding:8px 0 8px 24px}.divider-JGc9Sw{margin:24px 0}
-.button-2Nu6xU{width:100%;padding:8px 0;line-height:18px;text-transform:uppercase;border-color:var(--brand-experiment-700);margin-top:8px}
-.descriptionBox-1EKQKL{background-color:var(--background-secondary);border-radius:8px;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:20px;padding:16px}.descriptionSection-3RrpaD{-webkit-box-flex:1;-ms-flex:1 1 50%;flex:1 1 50%}.descriptionRow-m_KyqB{display:-webkit-box;display:-ms-flexbox;display:flex;color:var(--text-normal);font-size:14px;line-height:18px;margin-top:16px}.descriptionIcon-36p1fN{-webkit-box-flex:0;-ms-flex:none;flex:none;height:20px;margin-right:16px;vertical-align:text-bottom;width:20px}.divider-3EPVl6{margin:20px 0}.button-diNJzH:first-of-type{margin-right:16px}.rightButtonContainer-3iAOfD{margin-left:auto;display:-webkit-box;display:-ms-flexbox;display:flex}.lastSync-3w-SGv{color:var(--text-normal);font-size:12px;margin-top:8px}.buttonContainer-30ZaKi{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}
-.dot-2s_oHI{content:"";background:var(--brand-experiment);height:12px;width:12px;border-radius:12px}.container-B6pmO9{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}
-.container-3fU7kz{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;text-align:center}.banner-2G2Kv6{border-radius:8px;margin-bottom:40px;width:440px}.body-2qxsf3{margin-top:8px}.list-12ab-g{list-style-type:disc;margin-left:24px}.button-3fGQs-{margin:8px auto 24px}.divider-28aV-g{margin:24px 0}
-.prefixInput-14nUik{padding:11px;border-width:1px;border-style:solid;border-radius:3px;-webkit-transition:border-color .2s ease;transition:border-color .2s ease;cursor:text}.prefixInputInput-cqxbLV,.prefixInputPrefix-2IUJ4X{font-size:16px}.prefixInputInput-cqxbLV{width:100%;border:0;background:transparent}.theme-light .prefixInput-14nUik{background-color:rgba(79,84,92,.02);border-color:rgba(79,84,92,.3)}.theme-light .prefixInput-14nUik:hover{border-color:rgba(79,84,92,.6)}.theme-light .prefixInput-14nUik.focused-2QzoMt{border-color:var(--brand-experiment)}.theme-light .prefixInput-14nUik.error-6_-E9g{border-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-light .prefixInputInput-cqxbLV{color:#4f545c}.theme-light .prefixInputInput-cqxbLV::-webkit-input-placeholder{color:#b9bbbe}.theme-light .prefixInputInput-cqxbLV::-moz-placeholder{color:#b9bbbe}.theme-light .prefixInputInput-cqxbLV:-ms-input-placeholder{color:#b9bbbe}.theme-light .prefixInputInput-cqxbLV::placeholder{color:#b9bbbe}.theme-light .prefixInputPrefix-2IUJ4X{color:rgba(114,118,125,.6)}.theme-dark .prefixInput-14nUik{background-color:rgba(0,0,0,.1);border-color:rgba(0,0,0,.3)}.theme-dark .prefixInput-14nUik:hover{border-color:rgba(0,0,0,.6)}.theme-dark .prefixInput-14nUik.focused-2QzoMt{border-color:var(--brand-experiment)}.theme-dark .prefixInput-14nUik.error-6_-E9g{border-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-dark .prefixInputInput-cqxbLV{color:#f6f6f7}.theme-dark .prefixInputInput-cqxbLV::-webkit-input-placeholder{color:#72767d}.theme-dark .prefixInputInput-cqxbLV::-moz-placeholder{color:#72767d}.theme-dark .prefixInputInput-cqxbLV:-ms-input-placeholder{color:#72767d}.theme-dark .prefixInputInput-cqxbLV::placeholder{color:#72767d}.theme-dark .prefixInputPrefix-2IUJ4X{color:#72767d}
-.editVanityUrlCard-1ocV41{padding:20px}.removeVanityUrlButton-LmUQ7O{-ms-flex-item-align:start;align-self:flex-start;padding:0}.formTitleField-sjXjUF{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}
-.container-1qX8H5{display:inline-block}.iconWrapper-3dFGl9,.innerContainer-1uResN{display:-webkit-box;display:-ms-flexbox;display:flex}.iconWrapper-3dFGl9{width:64px;height:64px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:var(--background-tertiary);color:var(--interactive-normal);border-radius:50%;margin:8px 0}.star-g655ws{width:16px;margin-right:4px;-ms-flex-item-align:end;align-self:flex-end}.sparkle-3izqUK{width:20px;-ms-flex-item-align:start;align-self:flex-start}
-.intro-mpvfDK{margin-bottom:40px}.enableTicketingDescription-9YWNus{margin-bottom:16px}.selectTeamContainer-9OWk9e{display:-webkit-box;display:-ms-flexbox;display:flex}.teamSelect-2udc2T{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-right:16px}.enableTicketingButton-3d-sfE{height:42px}.divider-2IFoWR{margin:40px 0}.confirmationIcon-EmhJyE{margin:24px 0}.confirmationHeader-37B2BY{margin-bottom:8px;font-weight:600;text-align:center}.confirmationBody-2IHfwu{text-align:center}.error-3x4Tm_{margin-top:8px;color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.ticketingEnabledContainer-2PI7_6{padding:16px;background-color:var(--background-secondary);border-radius:8px;display:-webkit-box;display:-ms-flexbox;display:flex}.ticketingEnabledIcon-3rY6iZ{margin-right:16px;width:64px}.ticketingEnabledTitle-EdBWzb{margin-bottom:8px;font-weight:600}
-.serverBoostTabItem-2hFTIN[aria-selected=true]{color:#fff!important;background-color:var(--brand-experiment)!important}.serverBoostTabItem-2hFTIN[aria-selected=true] .icon-3Povsy{fill:#fff!important}
-.guildAvatar-3YmrtA{margin-right:4px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.guildAvatarWithoutIcon-1s9Pcy{background-color:var(--brand-experiment);color:#fff}.guildNick-kAvTju{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px;line-height:16px;color:var(--text-muted)}
-.actionButton-3vN-m0{min-height:32px}.actionRightButton-L3w65w{margin-left:10px}.pendingIncoming-3Frmjf{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}
-.header-4zuFdR{position:relative}.headerTop-547GTz{position:absolute;top:16px;right:16px;left:160px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.badgeList-1R1WgZ{padding-right:12px}.avatar-AvHqJA{position:absolute;top:-68px;left:16px;border:8px solid var(--background-floating);background-color:var(--background-floating)}.relationshipButtons-pUQVkf{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.nameTag-ECvD8P{position:relative;display:block;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;white-space:normal;word-break:break-word;line-height:24px;font-size:20px;margin-top:76px;margin-left:16px;margin-right:16px;font-weight:600;font-family:var(--font-display)}.nameTagNoCustomStatus-3IWmZC{margin-bottom:20px}.nameTagWithCustomStatus-2kkfrQ{margin-bottom:12px}.customStatusActivity-nmH3DF{padding:0 0 16px 16px}.customStatus-1COQYu .customStatusEmoji-1xY2Yn{width:20px;height:20px}.customStatus-1COQYu .customStatusEmoji-1xY2Yn:not(:last-child){margin-right:8px}.customStatus-1COQYu .customStatusEmoji-1xY2Yn.customStatusSoloEmoji-1RMV7U{width:48px;height:48px}.customStatusText-2opeSw{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.username-FvTBog{display:inline;vertical-align:top;color:var(--header-primary)}.discriminator-1swucG{display:inline-block;vertical-align:top;color:var(--header-secondary)}.botTag-U0I7-9{vertical-align:top;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;position:relative;top:4px}.nameTag-ECvD8P .botTag-U0I7-9,.nameTag-ECvD8P .discriminator-1swucG,.nameTag-ECvD8P .username-FvTBog{white-space:normal}.additionalActionsIcon-365LnQ{cursor:pointer;display:block;width:24px;height:24px;margin-left:8px;opacity:1;color:var(--interactive-normal)}.additionalActionsIcon-365LnQ:hover{color:var(--interactive-hover)}.additionalActionsIcon-365LnQ:active{color:var(--interactive-active)}
-.root-3QyAh1{border-radius:8px;overflow:hidden;position:relative;width:600px;background-color:var(--background-floating);max-height:unset;-webkit-box-shadow:none!important;box-shadow:none!important}.tabBarContainer-37hZsr{border-bottom:1px solid var(--background-modifier-accent);padding-left:20px}.tabBar-3nvOPa{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;height:55px}.tabBar-3nvOPa,.tabBarItem-3dfX8P{display:-webkit-box;display:-ms-flexbox;display:flex}.tabBarItem-3dfX8P{-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-bottom:2px solid transparent;margin-right:40px;font-size:14px}.body-r6_QPy,.topSection-y3p-_D{background-color:var(--background-floating)}.body-r6_QPy{height:240px}.noTabBar-3ZjPNR{border-top:1px solid var(--background-modifier-accent)}
-.verification-3RfWYC{width:100%;height:100%;background-color:var(--background-primary)}.container-1kp68M{width:500px}.image-2LVZ_j{width:400px;height:300px;background-size:80%;background-repeat:no-repeat;background-position:50%}.title-wZCcDo{font-size:24px;line-height:30px}.body-3ROqbj,.title-wZCcDo{text-align:center}.body-3ROqbj{font-size:16px;line-height:24px}.footer-1eZumv{font-size:14px;text-align:center;line-height:18px}.footerBullet-1m59pn{opacity:.3}.footerAction-2ATxbG{font-weight:600;margin-left:12px;margin-right:12px}.logoutButton-1WaAEE{position:relative;bottom:40px}.verificationBlock-1Chfpc{border-radius:3px;padding-left:20px;padding-right:20px;cursor:pointer}.verificationBlock-1Chfpc .image-2LVZ_j{width:180px;height:160px;background-size:80%;background-repeat:no-repeat;background-position:50%}.verificationBlock-1Chfpc .body-3ROqbj{text-transform:uppercase}.theme-light .verification-3RfWYC .image-2LVZ_j{background-image:url(/assets/0e61736c91ee0e76e5d941a808b2dd81.svg)}.theme-light .verification-3RfWYC .title-wZCcDo{color:#4f545c}.theme-light .verification-3RfWYC .body-3ROqbj,.theme-light .verification-3RfWYC .footer-1eZumv{color:#72767d}.theme-light .verificationBlock-1Chfpc{border:1px solid #b9bbbe}.theme-light .verificationBlock-1Chfpc:hover{background-color:#f6f6f7}.theme-light .verificationBlock-1Chfpc .image-2LVZ_j.email-1MPDs-{background-image:url(/assets/890ba09792d4b17f9cffacdd81df6b71.svg)}.theme-light .verificationBlock-1Chfpc .image-2LVZ_j.phone-27MBJz{background-image:url(/assets/5f8406a9cccbd48676551b6250e295e4.svg)}.theme-light .verificationBlock-1Chfpc .body-3ROqbj{color:#72767d}.theme-dark .verification-3RfWYC .image-2LVZ_j{background-image:url(/assets/c290235278e128e94ae5ac37e58c5cbb.svg)}.theme-dark .verification-3RfWYC .title-wZCcDo{color:#fff}.theme-dark .verification-3RfWYC .body-3ROqbj,.theme-dark .verification-3RfWYC .footer-1eZumv{color:#b9bbbe}.theme-dark .verificationBlock-1Chfpc{border:1px solid #202225}.theme-dark .verificationBlock-1Chfpc:hover{background-color:#202225}.theme-dark .verificationBlock-1Chfpc .image-2LVZ_j.email-1MPDs-{background-image:url(/assets/cefc9c14adce616059f519c581331b32.svg)}.theme-dark .verificationBlock-1Chfpc .image-2LVZ_j.phone-27MBJz{background-image:url(/assets/ca452f5271ebcc7132db59f60a2a9cfe.svg)}.theme-dark .verificationBlock-1Chfpc .body-3ROqbj{color:#b9bbbe}
-.emailVerificationModal-3cfLjL{position:relative;width:440px;padding:20px}.emailVerificationModal-3cfLjL .animationContainer-s_1r9o{position:absolute;top:-150px;left:90px;right:90px}.emailVerificationModal-3cfLjL .title-38uBel{font-weight:700;font-size:24px;line-height:30px;margin-top:100px;color:var(--header-primary)}.emailVerificationModal-3cfLjL .body-1_Foxn{font-size:16px;line-height:20px;text-align:center;color:var(--header-secondary)}.emailVerificationModal-3cfLjL .container-2GVxK3{-ms-flex-item-align:stretch;align-self:stretch}.emailVerificationModal-3cfLjL .fullWidthButton-1JDY--{width:100%}
-.neverShow-3xJo1l,.options-1ppfW-{margin-top:20px}.neverShow-3xJo1l{margin-bottom:8px;padding:0;color:var(--text-link)}.cancelButton-3F-H2t{margin-right:20px}
-.modal-1gaP8y{overflow:hidden}.closeIcon-1WWHLZ{position:absolute;top:16px;right:16px;cursor:pointer;color:var(--interactive-normal)}.cancelButton-3ggB4W{padding:0;margin:0 24px}.content-1ZHTI1{padding-bottom:16px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.authenticationFailImage-9Wmybq,.authenticationRequiredImage-2I6f-O,.authenticationSuccessImage-1-XUab{background-position:50%;background-repeat:no-repeat;height:115px;margin-bottom:32px}.theme-dark .authenticationRequiredImage-2I6f-O{background-image:url(/assets/8923d313e1704c4bc45025fc8463affd.svg)}.theme-dark .authenticationSuccessImage-1-XUab{background-image:url(/assets/0c840f9cc846705b725bd89aec58f994.svg)}.theme-dark .authenticationFailImage-9Wmybq{background-image:url(/assets/42c81194eaf9128b942adc5d2a6fd66e.svg)}.theme-light .authenticationRequiredImage-2I6f-O{background-image:url(/assets/7ca3dac0d2be2df1243c9be265d1ba85.svg)}.theme-light .authenticationSuccessImage-1-XUab{background-image:url(/assets/1886d335301dfb2a33bea3d76af6804b.svg)}.theme-light .authenticationFailImage-9Wmybq{background-image:url(/assets/6995a016684f7b81cea3f33964755942.svg)}
-.video-1j0A3v{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:var(--background-tertiary);overflow:hidden}.videoFrame-2gHLyK{position:absolute}.content-gjD8J2{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:24px;text-align:center}.header-wUqZez{margin-bottom:8px}.features-1tMYEH{margin:24px 0}.features-1tMYEH>li{display:-webkit-box;display:-ms-flexbox;display:flex;width:320px;text-align:left;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:24px}.features-1tMYEH>li:last-child{margin-bottom:0}.icon-1HfuQI{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:var(--background-tertiary);border-radius:100%;color:var(--header-secondary);width:40px;height:40px;-ms-flex-negative:0;flex-shrink:0;margin-right:16px}
-.page-10_ecs{background-color:var(--background-floating);width:100%;height:100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.contentWrapper-29ZPQM,.page-10_ecs{display:-webkit-box;display:-ms-flexbox;display:flex}.contentWrapper-29ZPQM{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;max-width:720px;max-height:640px;border-radius:4px;background-color:var(--background-primary)}.platform-osx .dragRegion-1qH1bf{-webkit-app-region:drag}.dragRegion-1qH1bf{position:absolute;top:0;left:0;width:100%;height:100px}
-.container-2gEa-S{padding:16px}.inputWrapper-3hyurs{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.input-3HWDvO{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.button-2B5Hnm{margin-left:8px}.topic-30olbr{display:inline-block;padding:4px;margin-top:8px;margin-right:8px;background-color:var(--background-primary)}
-.container-2XwRXY{padding:16px}
-.avatar-dEJa0g,.container-2Qf5AZ{padding:16px}.avatar-dEJa0g{background-size:100% 100%}.avatarInner-3mvud_{width:100px;height:100px}.uploader-3h82WB{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}
-.container-1RrgbC{padding:16px}.inputWrapper-11yqUG{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.input-1oE3v-{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.noBorder-17NKg0{border:none}.button-3YABwY{margin-left:8px}.footerText-wXVE1x{margin-top:8px}
-.container-1sNGel{background-color:var(--background-primary);width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:32px;overflow-y:scroll}.contentContainer-_92jGi{max-width:600px}.headerText-2y5zna{font-weight:700;color:var(--header-primary)}.headerSubtext-2gLqAi{margin-top:8px;color:var(--header-secondary)}.task-1IBHP3{margin-top:16px;border-radius:8px;overflow:hidden;border:1px solid var(--background-secondary-alt)}.taskHeader-2if9wy{padding:12px;background-color:var(--background-secondary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer}.taskHeader-2if9wy.selected-2JPzZ5,.taskHeader-2if9wy:hover{background-color:var(--background-tertiary)}.checkmarkContainer-enkblC{width:32px;height:32px;border-radius:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;color:var(--text-muted);background-color:var(--background-primary)}.checkmarkContainer-enkblC.completed-erLY7W{color:#fff;background-color:var(--brand-experiment)}.checkmark-1-joJl{width:18px;height:18px}.info-PKsnnj{margin-left:16px;margin-right:16px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.taskTitle-IT51Jy{font-weight:700;color:var(--header-primary)}.taskSubtitle-31kmNc{color:var(--header-secondary);overflow:hidden;max-height:0;-webkit-transition:max-height .2s ease-in-out;transition:max-height .2s ease-in-out}.taskSubtitle-31kmNc.selected-2JPzZ5{max-height:100px}.taskBody-2uk5FP{background-color:var(--background-secondary);max-height:0;-webkit-transition:max-height .2s ease-in-out;transition:max-height .2s ease-in-out}.taskBody-2uk5FP.selected-2JPzZ5{max-height:500px}.expandArrow-3m6ryE{-ms-flex-negative:0;flex-shrink:0;color:var(--interactive-normal)}.complete-3iqMwS{padding:32px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-secondary)}.bodyText-3EF5cF{margin-bottom:8px}.followupItem-2v1ksF{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-tertiary);width:100%;padding:10px;margin-top:8px;border-radius:8px;cursor:pointer}.followupIcon-U59vzj{color:#fff;-ms-flex-negative:0;flex-shrink:0}.followupInfo-2Tagz6{margin-left:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.followupTitle-1ndjVM{font-weight:600}.caret-3WvhKZ{color:var(--header-primary);-webkit-transform:rotate(-90deg);transform:rotate(-90deg);-ms-flex-negative:0;flex-shrink:0}
-.button-1w5pas{position:relative;top:3px;opacity:.8;-webkit-transition:stroke-dasharray .2s ease-out,-webkit-transform .2s ease-out;transition:stroke-dasharray .2s ease-out,-webkit-transform .2s ease-out;transition:transform .2s ease-out,stroke-dasharray .2s ease-out;transition:transform .2s ease-out,stroke-dasharray .2s ease-out,-webkit-transform .2s ease-out;margin-left:4px}.button-1w5pas.open-1Te94t{-webkit-transform:translate3d(0,-3px,0) rotate(-90deg);transform:translate3d(0,-3px,0) rotate(-90deg)}.button-1w5pas.open-1Te94t path{stroke-dasharray:14}.button-1w5pas path{stroke-width:2px;stroke-dasharray:7;stroke-dashoffset:1;-webkit-transition:stroke-dasharray .2s ease;transition:stroke-dasharray .2s ease}
-.popouts-2bnG9Z{top:0;left:0;right:0;z-index:auto}.popout-2iWAc-,.popouts-2bnG9Z{position:absolute}.popout-2iWAc-{padding:0;-webkit-box-shadow:0 0 1px rgba(0,0,0,.82),0 1px 4px rgba(0,0,0,.1);box-shadow:0 0 1px rgba(0,0,0,.82),0 1px 4px rgba(0,0,0,.1);border-radius:5px;z-index:1000;-webkit-filter:blur(0)}.popout-2iWAc-.arrowAlignmentMiddle-NBGtsX:before,.popout-2iWAc-.arrowAlignmentTop-1yftWI:before{border:8px solid transparent;content:" ";width:0;height:0;position:absolute;pointer-events:none}.popout-2iWAc-:after,.popout-2iWAc-:before{border:solid transparent;content:" ";width:0;height:0;position:absolute;pointer-events:none}.popout-2iWAc-:before{border-width:10px}.popout-2iWAc-:after{border-width:8px}.noShadow-3pu20z{-webkit-box-shadow:none!important;box-shadow:none!important}.popoutLeft-3aViER{margin-top:-20px}.popoutLeft-3aViER.arrowAlignmentTop-1yftWI:before{top:12px;left:100%;border-left-color:var(--brand-experiment)}.popoutLeft-3aViER.arrowAlignmentMiddle-NBGtsX:before{top:50%;left:100%;margin-top:-16px}.popoutLeft-3aViER.noArrow-2foL9g{margin-right:10px}.popoutLeft-3aViER.noArrow-2foL9g:before{display:none}.popoutRight-1veHKi{margin-top:-20px}.popoutRight-1veHKi.arrowAlignmentTop-1yftWI:before{top:12px;right:100%;border-right-color:var(--brand-experiment)}.popoutRight-1veHKi.arrowAlignmentMiddle-NBGtsX:before{top:50%;right:100%;margin-top:-16px}.popoutRight-1veHKi.noArrow-2foL9g{margin-left:10px}.popoutRight-1veHKi.noArrow-2foL9g:before{display:none}.popoutBottom-2GAFPg,.popoutBottomLeft-1pG8B4,.popoutBottomRight-2Rno5S{margin-top:14px}.popoutBottom-2GAFPg.arrowAlignmentMiddle-NBGtsX:before,.popoutBottom-2GAFPg.arrowAlignmentTop-1yftWI:before,.popoutBottomLeft-1pG8B4.arrowAlignmentMiddle-NBGtsX:before,.popoutBottomLeft-1pG8B4.arrowAlignmentTop-1yftWI:before,.popoutBottomRight-2Rno5S.arrowAlignmentMiddle-NBGtsX:before,.popoutBottomRight-2Rno5S.arrowAlignmentTop-1yftWI:before{left:50%;bottom:100%;border-bottom-color:var(--brand-experiment);margin-left:-8px}.popoutBottom-2GAFPg.noArrow-2foL9g,.popoutBottomLeft-1pG8B4.noArrow-2foL9g,.popoutBottomRight-2Rno5S.noArrow-2foL9g{margin-top:10px}.popoutTop-3WSJtH,.popoutTopRight-1lc8Mq{margin-top:-14px}.popoutTop-3WSJtH:before,.popoutTopRight-1lc8Mq:before{left:50%;top:100%;margin-left:-10px}.popoutTop-3WSJtH:after,.popoutTopRight-1lc8Mq:after{left:50%;top:100%;margin-left:-8px}.popoutTop-3WSJtH.noArrow-2foL9g,.popoutTopRight-1lc8Mq.noArrow-2foL9g{margin-bottom:10px}.popoutTopLeft-3B0mFf{margin-top:-14px}.popoutTopLeft-3B0mFf:before{right:50%;top:100%;margin-left:-10px}.popoutTopLeft-3B0mFf:after{right:50%;top:100%;margin-left:-8px}.popoutTopLeft-3B0mFf.noArrow-2foL9g{margin-bottom:10px}.theme-light .popout-2iWAc-{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.1);box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}.theme-light .popoutRight-1veHKi.arrowAlignmentMiddle-NBGtsX:before{border-right-color:#fff}.theme-light .popoutLeft-3aViER.arrowAlignmentMiddle-NBGtsX:before{border-left-color:#fff}.theme-light .popoutBottom-2GAFPg.arrowAlignmentMiddle-NBGtsX:before,.theme-light .popoutBottom-2GAFPg.arrowAlignmentTop-1yftWI:before,.theme-light .popoutBottomLeft-1pG8B4.arrowAlignmentMiddle-NBGtsX:before,.theme-light .popoutBottomLeft-1pG8B4.arrowAlignmentTop-1yftWI:before,.theme-light .popoutBottomRight-2Rno5S.arrowAlignmentMiddle-NBGtsX:before,.theme-light .popoutBottomRight-2Rno5S.arrowAlignmentTop-1yftWI:before{border-bottom-color:#fff}.theme-light .popoutTop-3WSJtH:before,.theme-light .popoutTopLeft-3B0mFf:before,.theme-light .popoutTopRight-1lc8Mq:before{border-top-color:rgba(0,0,0,.08)}.theme-light .popoutTop-3WSJtH:after,.theme-light .popoutTopLeft-3B0mFf:after,.theme-light .popoutTopRight-1lc8Mq:after{border-top-color:#fff}.theme-dark .popoutRight-1veHKi.arrowAlignmentMiddle-NBGtsX:before{border-right-color:#18191c}.theme-dark .popoutLeft-3aViER.arrowAlignmentMiddle-NBGtsX:before{border-left-color:#18191c}.theme-dark .popoutBottom-2GAFPg.arrowAlignmentMiddle-NBGtsX:before,.theme-dark .popoutBottom-2GAFPg.arrowAlignmentTop-1yftWI:before,.theme-dark .popoutBottomLeft-1pG8B4.arrowAlignmentMiddle-NBGtsX:before,.theme-dark .popoutBottomLeft-1pG8B4.arrowAlignmentTop-1yftWI:before,.theme-dark .popoutBottomRight-2Rno5S.arrowAlignmentMiddle-NBGtsX:before,.theme-dark .popoutBottomRight-2Rno5S.arrowAlignmentTop-1yftWI:before{border-bottom-color:#18191c}.theme-dark .popoutTop-3WSJtH:before,.theme-dark .popoutTopLeft-3B0mFf:before,.theme-dark .popoutTopRight-1lc8Mq:before{border-top-color:rgba(0,0,0,.1)}.theme-dark .popoutTop-3WSJtH:after,.theme-dark .popoutTopLeft-3B0mFf:after,.theme-dark .popoutTopRight-1lc8Mq:after{border-top-color:#18191c}.theme-light.popoutRight-1veHKi.arrowAlignmentMiddle-NBGtsX:before{border-right-color:#fff}.theme-light.popoutLeft-3aViER.arrowAlignmentMiddle-NBGtsX:before{border-left-color:#fff}.theme-light.popoutBottom-2GAFPg.arrowAlignmentMiddle-NBGtsX:before,.theme-light.popoutBottom-2GAFPg.arrowAlignmentTop-1yftWI:before,.theme-light.popoutBottomLeft-1pG8B4.arrowAlignmentMiddle-NBGtsX:before,.theme-light.popoutBottomLeft-1pG8B4.arrowAlignmentTop-1yftWI:before,.theme-light.popoutBottomRight-2Rno5S.arrowAlignmentMiddle-NBGtsX:before,.theme-light.popoutBottomRight-2Rno5S.arrowAlignmentTop-1yftWI:before{border-bottom-color:var(--brand-experiment)}.theme-light.popoutTop-3WSJtH:before,.theme-light.popoutTopLeft-3B0mFf:before,.theme-light.popoutTopRight-1lc8Mq:before{border-top-color:rgba(0,0,0,.08)}.theme-light.popoutTop-3WSJtH:after,.theme-light.popoutTopLeft-3B0mFf:after,.theme-light.popoutTopRight-1lc8Mq:after{border-top-color:#fff}.theme-dark.popoutRight-1veHKi.arrowAlignmentMiddle-NBGtsX:before{border-right-color:#18191c}.theme-dark.popoutLeft-3aViER.arrowAlignmentMiddle-NBGtsX:before{border-left-color:#18191c}.theme-dark.popoutBottom-2GAFPg.arrowAlignmentMiddle-NBGtsX:before,.theme-dark.popoutBottom-2GAFPg.arrowAlignmentTop-1yftWI:before,.theme-dark.popoutBottomLeft-1pG8B4.arrowAlignmentMiddle-NBGtsX:before,.theme-dark.popoutBottomLeft-1pG8B4.arrowAlignmentTop-1yftWI:before,.theme-dark.popoutBottomRight-2Rno5S.arrowAlignmentMiddle-NBGtsX:before,.theme-dark.popoutBottomRight-2Rno5S.arrowAlignmentTop-1yftWI:before{border-bottom-color:#18191c}.theme-dark.popoutTop-3WSJtH:before,.theme-dark.popoutTopLeft-3B0mFf:before,.theme-dark.popoutTopRight-1lc8Mq:before{border-top-color:rgba(0,0,0,.1)}.theme-dark.popoutTop-3WSJtH:after,.theme-dark.popoutTopLeft-3B0mFf:after,.theme-dark.popoutTopRight-1lc8Mq:after{border-top-color:#18191c}.popoutInvert-3TZnzz:not(.popoutBottom-2GAFPg){border-radius:3px 3px 0 0}.popoutInvert-3TZnzz:not(.popoutBottom-2GAFPg)>*{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.popoutInvert-3TZnzz:not(.popoutBottom-2GAFPg).arrowAlignmentMiddle-NBGtsX,.popoutInvert-3TZnzz:not(.popoutBottom-2GAFPg).arrowAlignmentTop-1yftWI{border-radius:0 0 3px 3px}.popoutInvert-3TZnzz:not(.popoutBottom-2GAFPg).popoutTop-3WSJtH,.popoutInvert-3TZnzz:not(.popoutBottom-2GAFPg).popoutTopRight-1lc8Mq{margin-top:-14px}.popoutInvert-3TZnzz:not(.popoutBottom-2GAFPg).popoutTop-3WSJtH.arrowAlignmentMiddle-NBGtsX:before,.popoutInvert-3TZnzz:not(.popoutBottom-2GAFPg).popoutTop-3WSJtH.arrowAlignmentTop-1yftWI:before,.popoutInvert-3TZnzz:not(.popoutBottom-2GAFPg).popoutTopRight-1lc8Mq.arrowAlignmentMiddle-NBGtsX:before,.popoutInvert-3TZnzz:not(.popoutBottom-2GAFPg).popoutTopRight-1lc8Mq.arrowAlignmentTop-1yftWI:before{left:50%;top:100%;border-top-color:var(--brand-experiment);margin-left:-8px}.popoutInvert-3TZnzz:not(.popoutBottom-2GAFPg).popoutTop-3WSJtH:after,.popoutInvert-3TZnzz:not(.popoutBottom-2GAFPg).popoutTopRight-1lc8Mq:after{visibility:hidden}.noArrow-2foL9g:after,.noArrow-2foL9g:before{display:none}
-.hack-3ZLZIE{}.content-1nP7fx{-webkit-box-sizing:border-box;box-sizing:border-box;padding:16px;border-radius:8px}.contentNoMedia-1yP2hn,.contentWithMedia-3YF06_{}.contentNarrowWithMedia--qMz0o{width:280px}.contentNarrowNoMedia-Il01H1{width:280px}.contentWideWithMedia-2q24e5{width:300px}.contentWideNoMedia-22TIu6{width:300px}.theme-dark .content-1nP7fx{background-color:#18191c}.theme-dark .leftArrow-fNTiNn:before{border-right-color:#18191c}.theme-dark .rightArrow-1u-p-_:before{border-left-color:#18191c}.theme-dark .contentNarrowNoMedia-Il01H1.topArrow-1B63md:before,.theme-dark .contentWideNoMedia-22TIu6.topArrow-1B63md:before{border-bottom-color:#fff}.theme-light.content-1nP7fx,.theme-light .content-1nP7fx{background-color:#fff}.theme-light.contentWithMedia-3YF06_,.theme-light .contentWithMedia-3YF06_{border:1px solid rgba(185,187,190,.3)}.theme-light.leftArrow-fNTiNn:before,.theme-light .leftArrow-fNTiNn:before{border-right-color:#fff}.theme-light.rightArrow-1u-p-_:before,.theme-light .rightArrow-1u-p-_:before{border-left-color:#fff}.theme-light.contentNarrowMedia-W7SHxH.topArrow-1B63md:before,.theme-light .contentNarrowNoMedia-Il01H1.topArrow-1B63md:before,.theme-light.contentWideNoMedia-22TIu6.topArrow-1B63md:before,.theme-light .contentWideNoMedia-22TIu6.topArrow-1B63md:before,.theme-light.topArrow-1B63md:before,.theme-light .topArrow-1B63md:before{border-bottom-color:#fff}.mediaContainer-1H1Z_r{position:absolute;top:-40px;width:calc(100% - 32px)}.background-2lsEHp{position:absolute;top:0;left:0;right:0}.theme-dark .background-2lsEHp{color:#fff}.theme-light.background-2lsEHp,.theme-light .background-2lsEHp{color:#000}.title-eQ0ZMf{font-size:16px;line-height:20px;font-weight:600;margin-bottom:4px}&.title-eQ0ZMf,.title-eQ0ZMf{color:var(--header-primary)}.titleCenter-2bwbDI{text-align:center}.titleLeft-2erkAr{text-align:left}.body-2awMwV p,div.body-2awMwV,p.body-2awMwV{font-size:14px;font-weight:500;color:var(--header-secondary);line-height:18px;margin-bottom:16px;margin-top:0}strong{font-weight:600}.buttonSkipCenterAlign-2kUfCH,.buttonSkipLeftAlign-2Oe1kC{padding-left:16px;padding-right:16px;color:var(--text-muted)}.buttonSkipCenterAlign-2kUfCH{margin-left:8px}.bodyCenter-1ilK3X{text-align:center}.bodyLeft-3Dnrhp{text-align:left}.buttonContainer-lZQm0q{margin-top:16px}
-.container-2k0FnA{position:relative;top:-10px}
-.container-1bog4s{position:relative;top:10px}
-.container-om6VJQ{position:relative}.personAvatar-2_BWgA{margin-top:20px}.guildAvatar-335csq{margin-top:-38px;margin-left:193px}.illustration-6eULCC{position:absolute;top:0;left:50px}.avatarSizeOverride-3xEJPs{width:60px!important;height:60px!important}
-.icon-7Z466E{margin:0 2px 4px;vertical-align:middle}.voiceConversationsTitle-2LSHDw{margin-top:32px}.writingMessagesTitle-3jhgwS{margin-top:44px}.organizeByTopicTitle-301ebv{margin-top:40px}.voiceChannelsTitle-3UxkpI{margin-top:24px}.channelsTitle-1-1-6I{margin-top:90px}
-.indicator-1afSc8{position:absolute;z-index:999;pointer-events:auto;display:-webkit-box;display:-ms-flexbox;display:flex}.animationContainer-C1kDfz{position:relative;width:36px;height:36px;-webkit-transition:opacity .2s ease-out;transition:opacity .2s ease-out}.animationContainer-C1kDfz.animating-1Fb05y{opacity:1}.animationContainer-C1kDfz.notAnimating-2EIRej{opacity:0}.top-3fo3zT{position:absolute;background:url(/assets/e1969c99c7929450baa3c88fab8e244c.svg) 50% no-repeat;background-size:contain;width:9px;height:22px;left:18.5px;top:-10px}.top-3fo3zT.animating-1Fb05y{-webkit-animation:exclaim-loop-TJkd9E 1.5s ease-in-out infinite forwards;animation:exclaim-loop-TJkd9E 1.5s ease-in-out infinite forwards}.top-3fo3zT.notAnimating-2EIRej{-webkit-animation:quick-fade-out-3IYyUm .2s forwards;animation:quick-fade-out-3IYyUm .2s forwards}.bottom-UE1eOv{position:absolute;background:url(/assets/91efb70de850b7180044d04def863f07.svg) 50% no-repeat;background-size:contain;width:8px;height:8px;left:14px;top:14px}.bottom-UE1eOv.animating-1Fb05y{-webkit-animation:dot-loop-2Y4ENp 1.5s ease-in-out infinite forwards;animation:dot-loop-2Y4ENp 1.5s ease-in-out infinite forwards}.bottom-UE1eOv.notAnimating-2EIRej{-webkit-animation:quick-fade-out-3IYyUm .2s forwards;animation:quick-fade-out-3IYyUm .2s forwards}.innerCircle-2Tsscg{opacity:.1;position:absolute;background:url(/assets/5d7b0c4b2a82d63d829b6ea591853c22.svg) 50% no-repeat;background-size:contain;width:30px;height:30px;top:3px;left:3px}.innerCircle-2Tsscg.animating-1Fb05y{opacity:.1;-webkit-animation:inner-circle-loop-2ptEJN 1.5s infinite;animation:inner-circle-loop-2ptEJN 1.5s infinite}.innerCircle-2Tsscg.animating-1Fb05y.highPriority-2lg-eA{-webkit-animation:inner-circle-loop-high-priority-2YYlba 1.5s infinite;animation:inner-circle-loop-high-priority-2YYlba 1.5s infinite}.innerCircle-2Tsscg.notAnimating-2EIRej{-webkit-animation:quick-fade-out-3IYyUm .2s forwards;animation:quick-fade-out-3IYyUm .2s forwards}.outerCircle-2K0c82{opacity:.1;position:absolute;background:url(/assets/2cf1ec0c044e0a2bdf7d818a1c8a7101.svg) 50% no-repeat;background-size:contain;width:36px;height:36px}.outerCircle-2K0c82.animating-1Fb05y{opacity:0;-webkit-animation:outer-circle-loop-2tj-Tq 1.5s infinite;animation:outer-circle-loop-2tj-Tq 1.5s infinite}.outerCircle-2K0c82.animating-1Fb05y.highPriority-2lg-eA{-webkit-animation:outer-circle-loop-high-priority-26WkDY 1.5s infinite;animation:outer-circle-loop-high-priority-26WkDY 1.5s infinite}.outerCircle-2K0c82.notAnimating-2EIRej{-webkit-animation:quick-fade-out-3IYyUm .2s forwards;animation:quick-fade-out-3IYyUm .2s forwards}@-webkit-keyframes exclaim-loop-TJkd9E{0%{top:-10px}21%{top:-14px}46%,51%{top:-10px}72%{top:-14px}to{top:-10px}}@keyframes exclaim-loop-TJkd9E{0%{top:-10px}21%{top:-14px}46%,51%{top:-10px}72%{top:-14px}to{top:-10px}}@-webkit-keyframes dot-loop-2Y4ENp{0%{top:14px}19%{top:9px}44%,49%{top:14px}70%{top:9px}95%,to{top:14px}}@keyframes dot-loop-2Y4ENp{0%{top:14px}19%{top:9px}44%,49%{top:14px}70%{top:9px}95%,to{top:14px}}@-webkit-keyframes inner-circle-loop-2ptEJN{0%{opacity:.1;-webkit-transform:scale(1.1);transform:scale(1.1)}42%{opacity:.25;-webkit-transform:scale(.9);transform:scale(.9)}to{opacity:.1;-webkit-transform:scale(1.1);transform:scale(1.1)}}@keyframes inner-circle-loop-2ptEJN{0%{opacity:.1;-webkit-transform:scale(1.1);transform:scale(1.1)}42%{opacity:.25;-webkit-transform:scale(.9);transform:scale(.9)}to{opacity:.1;-webkit-transform:scale(1.1);transform:scale(1.1)}}@-webkit-keyframes outer-circle-loop-2tj-Tq{0%{opacity:0;-webkit-transform:scale(1.1);transform:scale(1.1)}51%{opacity:.2;-webkit-transform:scale(.9);transform:scale(.9)}to{opacity:0;-webkit-transform:scale(1.1);transform:scale(1.1)}}@keyframes outer-circle-loop-2tj-Tq{0%{opacity:0;-webkit-transform:scale(1.1);transform:scale(1.1)}51%{opacity:.2;-webkit-transform:scale(.9);transform:scale(.9)}to{opacity:0;-webkit-transform:scale(1.1);transform:scale(1.1)}}@-webkit-keyframes inner-circle-loop-high-priority-2YYlba{0%{opacity:.1;-webkit-transform:scale(1.1);transform:scale(1.1)}42%{opacity:.5;-webkit-transform:scale(.9);transform:scale(.9)}to{opacity:.1;-webkit-transform:scale(1.1);transform:scale(1.1)}}@keyframes inner-circle-loop-high-priority-2YYlba{0%{opacity:.1;-webkit-transform:scale(1.1);transform:scale(1.1)}42%{opacity:.5;-webkit-transform:scale(.9);transform:scale(.9)}to{opacity:.1;-webkit-transform:scale(1.1);transform:scale(1.1)}}@-webkit-keyframes outer-circle-loop-high-priority-26WkDY{0%{opacity:0;-webkit-transform:scale(1.1);transform:scale(1.1)}51%{opacity:.4;-webkit-transform:scale(.9);transform:scale(.9)}to{opacity:0;-webkit-transform:scale(1.1);transform:scale(1.1)}}@keyframes outer-circle-loop-high-priority-26WkDY{0%{opacity:0;-webkit-transform:scale(1.1);transform:scale(1.1)}51%{opacity:.4;-webkit-transform:scale(.9);transform:scale(.9)}to{opacity:0;-webkit-transform:scale(1.1);transform:scale(1.1)}}@-webkit-keyframes quick-fade-out-3IYyUm{to{opacity:0}}@keyframes quick-fade-out-3IYyUm{to{opacity:0}}
-.header-3EwbJF{padding:16px 24px 0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}.closeButton-4LBYOH{position:absolute;top:12px;right:9px}.tabBar-3MtEvO{width:calc(100% + 12px);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:20px;border-bottom:2px solid var(--background-modifier-accent)}.tabBarItem-2sxElp{padding:0 0 12px;margin:0 16px -2px}.selectedTab-29dwYe{font-weight:600}.guildList-2TgSqd{margin-top:20px;padding:0 8px 8px 16px;height:276px}.title-1trl6A{font-weight:700}.subtitle-2Zhgtc,.title-1trl6A{margin-top:8px;text-align:center}.guildRow-35jjhr{margin-bottom:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;border-radius:8px;border:1px solid var(--background-modifier-accent);background-color:var(--background-primary);padding:12px 16px 12px 12px}.clickableGuildRow-31yQQo{cursor:pointer}.clickableGuildRow-31yQQo:hover{background-color:var(--background-modifier-hover)}.clickableGuildRow-31yQQo:active{background-color:var(--background-modifier-active)}.guildName-GeVAOH{margin-left:16px;-webkit-box-flex:1;-ms-flex:1;flex:1;font-weight:600}.footer-2pLi9a{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.footerTitle-1XVXdA{margin-bottom:8px}.footerButton-3ZBvhg{-ms-flex-item-align:stretch;align-self:stretch}.emptyContainer-3igXli{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.emptyImage-3_Eu72{height:96px}.emptyText-1yC1e0{margin:24px 0}.trashIcon-16rdgr{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;color:var(--interactive-normal)}.trashIcon-16rdgr:hover{color:var(--interactive-hover)}.trashIcon-16rdgr:active{color:var(--interactive-active)}
-.header-2BScRX{padding:32px;text-align:center}.closeButton-1CBhme{position:absolute;top:12px;right:9px}.title-34N6Ti{font-weight:700;margin-top:24px}.subTitle-3SyDmm{margin-top:8px}.buttonRow-1nlKdZ{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.addConfirmButton-3_2SPy{width:100%}.createConfirmButton-3njwP8,.createSecondaryButton-2oxrEp{-webkit-box-flex:1;-ms-flex:1;flex:1}.createSecondaryButton-2oxrEp{margin-right:8px}
-.header-lpMT0b{padding:16px 24px 0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}.closeButton-3B3L2u{position:absolute;top:12px;right:9px}.templatesList-2GYOU6{margin-top:16px;padding:0 8px 8px 16px;height:330px}.title-1hTJEU{font-weight:700}.subtitle-VsQq8b,.title-1hTJEU{margin-top:8px;text-align:center}.optionHeader-Sc3x4H{margin-top:16px;margin-bottom:8px;font-weight:700;text-transform:uppercase}.footer-fKFJXi{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:24px 16px}
-.container-1O4ciH{width:440px;max-height:580px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}
-.optionItem-2VncuF{margin-left:8px}.joinServerOption-3ClG5j{background:var(--brand-experiment);color:#fff}.joinServerOption-3ClG5j.selectedOptionItem-3v62YZ{color:#fff}.joinServerOption-3ClG5j.selectedOptionItem-3v62YZ .itemInner-UDJ4Ex{background-color:var(--brand-experiment)}.addServerOption-tmqhXn,.inviteMemberOption-EyS6vC{color:var(--header-secondary)}.scroller-1NK8Yn{margin:14px 0 0}
-.message-15tBk4{cursor:default}.message-15tBk4 strong{color:var(--brand-experiment-530);background:var(--brand-experiment-15a);padding:0 2px;border-radius:3px;font-weight:500;unicode-bidi:-moz-plaintext;unicode-bidi:plaintext}.theme-dark .message-15tBk4 strong{background:var(--brand-experiment-30a);color:var(--brand-experiment-200)}.buttonSpacing-t6MPeJ{margin-left:10px}
-.containerDefault-3tr_sE,.containerDragAfter-Zk9oyx,.containerDragBefore-1YqewQ,.containerUserOver-98-yc7{position:relative;padding-top:16px}.containerDefault-3tr_sE:active,.containerDragAfter-Zk9oyx:active,.containerDragBefore-1YqewQ:active,.containerUserOver-98-yc7:active{-webkit-transform:translateZ(0);transform:translateZ(0)}.containerDragAfter-Zk9oyx:before,.containerDragBefore-1YqewQ:before{content:"";position:absolute;z-index:1;left:8px;right:0;height:4px;background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);border-radius:2px;-webkit-box-shadow:0 0 3px rgba(0,0,0,.4);box-shadow:0 0 3px rgba(0,0,0,.4)}.containerDragBefore-1YqewQ:before{top:-2px}.containerDragAfter-Zk9oyx:before{bottom:-2px}.containerUserOver-98-yc7:after{-webkit-box-sizing:border-box;box-sizing:border-box;content:"";position:absolute;top:0;right:0;bottom:0;left:8px;border-radius:4px;z-index:1;background-color:hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,.1);border:2px solid hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,.5)}.disableClick-2cV7sZ{pointer-events:none}.addButton-3bLyEA{width:18px;height:18px;display:none}.addButton-3bLyEA.forceVisible-2L54of,.iconVisibility-fhcwiH:hover .addButton-3bLyEA{display:block}.addButton-3bLyEA:focus,.addButton-3bLyEA:focus-within{display:block;position:relative}.addButtonIcon-2CbG1X:hover{color:var(--interactive-hover)}.addButtonIcon-2CbG1X:active{-webkit-transform:translateY(.5px);transform:translateY(.5px);color:var(--interactive-active)}.wrapper-PY0fhH{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;height:24px;padding-right:8px;padding-left:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;cursor:default;color:var(--channels-default)}.clickable-536fPF{cursor:pointer}.children-L002ao{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.children-L002ao:empty{display:none}.mainContent-2h-GEV{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.mainContent-2h-GEV:before{content:"";display:block;position:absolute;top:0;right:0;bottom:0;left:0}.icon-2yIBmh{position:absolute;left:2px;top:6px;width:12px;height:12px}.collapsed-2-tg8y .icon-2yIBmh{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.wrapper-PY0fhH.muted-2JBAyG,.wrapper-PY0fhH.muted-2JBAyG .name-3l27Hl{color:var(--interactive-muted)}.wrapper-PY0fhH.muted-2JBAyG:hover .icon-2yIBmh,.wrapper-PY0fhH.muted-2JBAyG:hover .name-3l27Hl,.wrapper-PY0fhH:hover .icon-2yIBmh,.wrapper-PY0fhH:hover .name-3l27Hl{color:var(--interactive-hover)}
-.containerDefault--pIXnN,.containerDragAfter-3Fp7LC,.containerDragBefore-3iTCc7,.containerUserOver-2mv1jO{position:relative;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.containerDragAfter-3Fp7LC:after,.containerDragBefore-3iTCc7:before{content:"";position:absolute;z-index:1;left:8px;right:0;height:4px;background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);border-radius:2px;-webkit-box-shadow:0 0 3px rgba(0,0,0,.4);box-shadow:0 0 3px rgba(0,0,0,.4)}.containerDragBefore-3iTCc7:before{top:-2px}.containerDragAfter-3Fp7LC:after{bottom:-2px}.containerUserOver-2mv1jO:after{-webkit-box-sizing:border-box;box-sizing:border-box;content:"";position:absolute;top:0;right:0;bottom:0;left:8px;border-radius:4px;z-index:1;background-color:hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,.1);border:2px solid hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,.5)}.iconBase-3LOlfs{position:relative;margin-left:4px;line-height:0}.iconItem-F7GRxr{display:none}.mentionsBadge-3tC7Mi{pointer-events:none}.containerDefault--pIXnN.selected-3LIHYU .iconItem-F7GRxr,.iconVisibility-sTNpHs:focus-within .iconItem-F7GRxr,.iconVisibility-sTNpHs:focus .iconItem-F7GRxr,.iconVisibility-sTNpHs:hover .iconItem-F7GRxr{display:block}.iconItem-F7GRxr:focus,.iconItem-F7GRxr:focus-within{display:block;position:relative}.disableClick-2FmYNV{pointer-events:none}.disabled-33BAPP>div{opacity:.3}.actionIcon-PgcMM2{width:16px;height:16px;cursor:pointer;display:block}.actionIcon-PgcMM2:active{-webkit-transform:translateY(.5px);transform:translateY(.5px)}.userLimit-3aerPX{display:block}.containerDefault--pIXnN.selected-3LIHYU .userLimit-3aerPX,.iconVisibility-sTNpHs:focus-within .userLimit-3aerPX,.iconVisibility-sTNpHs:focus .userLimit-3aerPX,.iconVisibility-sTNpHs:hover .userLimit-3aerPX{display:none}.actionIcon-PgcMM2{color:var(--interactive-normal)}.actionIcon-PgcMM2:hover{color:var(--interactive-hover)}.actionIcon-PgcMM2:active{color:var(--interactive-active)}
-.wrapper-2jXpOf{padding:1px 0;overflow:visible;position:relative}.typeThread-3ESTm- .content-1x5b-n{margin-left:36px;padding:0 6px}.wrapper-2jXpOf.modeSelected-346R90{cursor:default}.wrapper-2jXpOf.modeLocked-25wLHj{cursor:not-allowed}.icon-1DeIlz{display:block;width:20px;height:20px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.iconContainer-1BBaeJ{position:relative;margin-right:6px}.content-1x5b-n{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 8px;margin-left:8px;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.content-1x5b-n:active{-webkit-transform:translateZ(0);transform:translateZ(0)}.mainContent-u_9PKf{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-width:0;padding:6px 0;cursor:pointer}.mainContent-u_9PKf:before{content:"";display:block;position:absolute;top:-1px;right:0;bottom:-1px;left:0}.name-23GUGE{font-size:16px;line-height:20px;font-weight:500;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;white-space:normal}.channelName-2YrOjO,.subtitle-3V1p2E{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unread-2lAfLh{position:absolute;height:8px;width:4px;border-radius:0 4px 4px 0;top:50%;left:0;margin-top:-4px}.children-3rEycc{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.modeMuted-onO3r- .icon-1DeIlz,.modeMuted-onO3r- .name-23GUGE{color:var(--interactive-muted)}.modeSelected-346R90 .icon-1DeIlz,.modeSelected-346R90:hover .icon-1DeIlz,.modeUnread-1qO3K1 .icon-1DeIlz,.modeUnread-1qO3K1:hover .icon-1DeIlz{color:var(--text-muted)}.wrapper-2jXpOf:hover .content-1x5b-n{background-color:var(--background-modifier-hover)}.wrapper-2jXpOf:active .content-1x5b-n{background-color:var(--background-modifier-active)}.modeSelected-346R90 .content-1x5b-n,.modeSelected-346R90:hover .content-1x5b-n{background-color:var(--background-modifier-selected)}.icon-1DeIlz{color:var(--text-muted)}.name-23GUGE{color:var(--channels-default)}.modeMuted-onO3r-:hover .name-23GUGE,.wrapper-2jXpOf:hover .name-23GUGE{color:var(--interactive-hover)}.modeConnected-3IsKId .name-23GUGE,.modeConnected-3IsKId:hover .name-23GUGE,.modeSelected-346R90 .name-23GUGE,.modeSelected-346R90:hover .name-23GUGE,.modeUnread-1qO3K1 .name-23GUGE,.modeUnread-1qO3K1:hover .name-23GUGE,.notInteractive-1X92pj.modeConnected-3IsKId .name-23GUGE,.notInteractive-1X92pj.modeSelected-346R90 .name-23GUGE{color:var(--interactive-active)}.unread-2lAfLh{background-color:var(--interactive-active)}
-.container-3JKcAb{position:relative}.spine--Wla_O{color:var(--background-accent);left:22px;position:absolute;top:8px}
-.actionButton-1V43zQ{margin-left:auto}
-.container-Z1e__-{margin-bottom:24px}.breadcrumbContainer-17YEk8{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.breadcrumbContainer-17YEk8:not(:last-child){margin-bottom:8px}.breadcrumbContainer-17YEk8:not(:last-child):after{position:absolute;background-color:var(--background-tertiary);width:2px;height:calc(100% + 4px);top:.5em;left:1px;content:"";z-index:-1}.breadcrumbDot-3eLOAX{margin-right:8px;border-radius:2px;width:4px;height:4px;background-color:hsl(227,calc(var(--saturation-factor, 1)*58.4%),65.1%);-ms-flex-negative:0;flex-shrink:0;position:relative;top:.5em}.breadcrumbsHeader-mUTUau{margin-bottom:8px;color:var(--header-secondary)}.breadcrumbText-2ke9Y5{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
-.childButton-1YQj1L{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;margin-bottom:8px;padding:0;border-radius:4px;background-color:var(--background-secondary);min-height:64px}.childButton-1YQj1L:hover{background-color:var(--background-modifier-hover)}.keyboard-mode .childButton-1YQj1L:focus{background-color:var(--background-modifier-selected)}.childButton-1YQj1L:active{background-color:var(--background-modifier-active)}.childText-14xafo{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:8px 0 8px 16px;font-weight:600}.childIcon-Igk31A{color:var(--interactive-normal);width:24px;height:24px;-ms-flex-negative:0;flex-shrink:0;margin:0 16px 0 8px}
-.errorContainer-5JZJqd{position:-webkit-sticky;position:sticky;bottom:0;left:0;right:0;background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);padding:8px 32px 8px 8px;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;font-weight:600;-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high)}.errorIcon-2Ju191{color:#fff;margin-right:8px;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}.closeIcon-3JDh8t{position:absolute;right:8px;top:8px;height:16px;width:16px;background:url(/assets/7731c77d99babca1a8faec204d98c380.svg) no-repeat;background-position:50% 55%;background-size:10px 10px;cursor:pointer;color:#fff;opacity:.5;-webkit-transition:opacity .2s;transition:opacity .2s}.closeIcon-3JDh8t:hover{opacity:1}.errorText-2qrOUj{color:#fff}
-.headerContainer-1_v1NT{padding:0 16px;text-align:center}.headerContainer-1_v1NT>:not(:last-child){margin-bottom:8px}
-.infoBox-3cF-U2{margin-top:16px;font-weight:400}
-.checkboxRow-1M3WZu:not(:last-child){margin-bottom:24px}
-.container-TWalHr{margin-bottom:24px}.guildContainer-rLqRwd{padding:16px;border:1px solid var(--background-modifier-accent);border-radius:8px}.header-1AvvVC{margin-bottom:8px;color:var(--header-secondary)}.guildInfo-TdcO_a{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:8px}.guildIcon-3DWgjd{margin-right:8px}.channelTopic-JV8cRZ{font-weight:600}
-.successImg-22YMZM{margin-bottom:16px;height:100px;width:100px}
-.container-29TH31{min-height:240px;max-height:660px;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.closeButton-1i8QXa{position:absolute;top:8px;right:8px;z-index:2}.header-23AbUh{padding:32px 24px 16px}.body-3m34lL{padding:8px 24px 16px}
-.liveIndicator-vaS2et{margin-left:10px;padding-left:4px;padding-right:4px;border-radius:8px;background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);color:#fff;font-weight:600;text-transform:uppercase}.audienceVoiceUserContainer-Ra-ErA{height:32px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.audienceVoiceUserContainer-Ra-ErA,.audienceVoiceUserIconContainer-29oflP{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.audienceVoiceUserIconContainer-29oflP{margin-left:8px;margin-right:8px;padding:4px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:var(--background-tertiary);color:var(--interactive-normal);border-radius:50%}.audienceVoiceUserText-BhGzmw{color:var(--channels-default);font-weight:500}.iconLive-AtZKgD{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)!important}
-.popout-APcvZm{background-color:var(--background-tertiary);border-radius:8px;-webkit-box-sizing:border-box;box-sizing:border-box;left:16px;max-width:300px;min-width:272px;padding:8px 8px 0;position:absolute;top:0}.more-3VADkW,.row-1ImlrZ,.title-3JU2Q6{padding:0 12px}.title-3JU2Q6{font-weight:700;text-transform:uppercase}.row-1ImlrZ,.title-3JU2Q6{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;height:32px}.row-1ImlrZ{border-radius:4px;color:var(--interactive-normal)}.row-1ImlrZ:hover{background-color:var(--brand-experiment);color:#fff;cursor:pointer}.avatar-3oP4LX{-ms-flex-negative:0;flex-shrink:0;height:16px;margin-right:8px;width:16px}.bullet-_MbFpS{margin:0 8px}.timestamp-25yOdb{color:var(--text-muted);-ms-flex-negative:0;flex-shrink:0;white-space:nowrap}.row-1ImlrZ:hover .timestamp-25yOdb{color:#fff}.name-1Rd7lI{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.more-3VADkW{-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-top:1px solid var(--background-modifier-accent);color:var(--text-link);cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;font-weight:600;height:32px}.more-3VADkW:hover{text-decoration:underline}
-.container-35XQWE{position:absolute;z-index:2;overflow:hidden;padding:8px;height:24px;pointer-events:none}.bar-30k2ka{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative;font-size:12px;line-height:16px;font-family:var(--font-display);font-weight:600;color:#fff;height:24px;cursor:pointer;text-transform:uppercase;border-radius:12px;pointer-events:auto;-webkit-box-shadow:0 2px 6px rgba(0,0,0,.24);box-shadow:0 2px 6px rgba(0,0,0,.24);-webkit-app-region:no-drag}.active-1SSsBb:active{top:1px}.unread-1xRYoj{background-color:var(--background-accent);opacity:.9}.unread-1xRYoj:active,.unread-1xRYoj:hover{opacity:1}.mention-1f5kbO{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);opacity:.9}.mention-1f5kbO:hover{opacity:1}.mention-1f5kbO:active{opacity:1;background-color:hsl(359,calc(var(--saturation-factor, 1)*66.7%),54.1%)}.icon-2aINcz,.text-2e2ZyG{display:block}.icon-2aINcz{color:#fff;margin-left:2px;width:12px;height:12px}
-.card-162cZT{background-color:var(--background-secondary);padding:16px;border-radius:8px}.inline-2xsvL9{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.live-1O-Flx{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);margin-bottom:16px}.label-2MR3CA{margin-left:4px}.spacing-3fzqk1{margin-top:16px}.status-uEYj9_{margin-bottom:16px}.dot-3fs7sa{border-radius:50%;background-color:hsl(359,calc(var(--saturation-factor, 1)*83%),67.6%);width:8px;height:8px}.description-2c1SWw{margin-top:8px}
-.header-2MrRa6{background-color:var(--background-tertiary);-webkit-box-align:center;-ms-flex-align:center;align-items:center}.content-1SXGsJ,.header-2MrRa6{display:-webkit-box;display:-ms-flexbox;display:flex}.content-1SXGsJ{margin:16px 0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;grid-gap:16px}.icon-mQDO2w{color:var(--header-secondary);margin-right:8px}.divider-2XFZvB{margin:0 16px;color:var(--background-modifier-accent)}
-.container-1JlpAi{background-color:var(--background-floating);border-radius:8px;padding:16px;-webkit-box-shadow:var(--elevation-high),var(--elevation-stroke);box-shadow:var(--elevation-high),var(--elevation-stroke);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.content-yRQWBL{margin-left:24px;max-width:320px}.buttonContainer-15ADiW{margin-top:16px;display:-webkit-box;display:-ms-flexbox;display:flex}.primaryButton-1cpVhw{margin-right:24px}.cancel-2CYseG{color:var(--interactive-normal)}.cancel-2CYseG:hover{color:var(--interactive-hover)}.cancel-2CYseG:active{color:var(--interactive-active)}.image-3gx4Uc{width:64px;height:64px}
-.container-2dqNWc{width:284px;border-radius:5px;margin-left:16px;padding:16px;max-height:348px;-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high);background-color:var(--background-floating)}.activity-3jdl2U+.activity-3jdl2U{padding-top:16px;margin-top:16px;border-top:1px solid var(--background-modifier-accent)}.partyMembers-3pB2CJ{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.partyAvatar-1Bvt5q{cursor:default}.morePartyMembers-3ByVZj{z-index:2;font-size:8px;height:16px;min-width:16px;line-height:16px;text-align:center;border-radius:8px;padding:0 6px;-webkit-box-sizing:border-box;box-sizing:border-box}.button-uXr0L2{color:var(--interactive-active);border-color:var(--interactive-muted);border-radius:4px}.button-uXr0L2:not([disabled]):hover{border-color:var(--interactive-active)}
-.wrapper-2tAnRe{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;font-size:12px;line-height:20px;font-weight:500;height:20px;border-radius:10px;overflow:hidden;color:var(--channels-default)}.total-i6us2n,.users-3kndPl{display:block;text-align:center}.users-3kndPl{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;width:28px;padding:0 8px 0 6px;background-color:var(--background-primary)}.users-3kndPl.video-35SpgT{width:48px}.users-3kndPl.video-35SpgT.extraLong-3WkB9d{width:56px}.users-3kndPl.extraLong-3WkB9d{width:36px}.total-i6us2n{-webkit-box-sizing:border-box;box-sizing:border-box;width:20px;position:relative;padding:0 6px 0 0;background-color:var(--background-tertiary)}.total-i6us2n.extraLong-3WkB9d{width:28px}.total-i6us2n:after{content:"";position:absolute;top:0;left:-8px;width:0;height:0;border-top:20px solid transparent;border-bottom:0 solid transparent;border-right:8px solid transparent;border-right-color:var(--background-tertiary)}.videoIcon-2ZdSMk{width:16px;height:16px;margin-right:4px}
-.scroller-RmtA4e{z-index:1;padding-right:8px}.unread-15xhX5{left:0;right:0}.unreadBar-3t3sYc:before{content:"";position:absolute;top:0;left:-8px;right:-8px;bottom:0}.unreadBottom-1_LF_w{bottom:0}.unreadBottom-1_LF_w .unreadBar-3t3sYc:before{bottom:-8px}.positionedContainer-3LNR6L{position:relative}.unreadTop-3rAB3r{top:0}.unreadTop-3rAB3r .unreadBar-3t3sYc:before{top:-8px}.voiceUserSummary-2X_2vp{-webkit-box-sizing:border-box;box-sizing:border-box;height:34px;padding-left:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}
-.container-1taM1r{position:relative}.clickable-25tGDB{cursor:pointer}.animatedContainer-1NSq4T{width:100%;overflow:hidden;background-color:var(--background-modifier-active);-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low)}.animatedContainer-1NSq4T,.bannerImage-3KhIJ6{position:absolute;height:135px;top:0;left:0}.bannerImage-3KhIJ6{background-repeat:no-repeat;background-position:50%;background-size:cover;width:240px}.bannerImage-3KhIJ6:before{content:"";position:absolute;top:0;left:0;width:100%;height:58px;background:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.4)),to(transparent));background:linear-gradient(180deg,rgba(0,0,0,.4) 0,transparent)}.header-2V-4Sw{position:relative;font-family:var(--font-display);font-weight:500;padding:0 16px;height:48px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;z-index:3;-webkit-transition:background-color .1s linear;transition:background-color .1s linear;color:var(--header-primary);-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low)}.bannerVisible-2ZE_qG .header-2V-4Sw{color:#fff;-webkit-filter:drop-shadow(0 1px 1px rgba(0,0,0,.8));filter:drop-shadow(0 1px 1px hsla(0,0%,0%,.8))}.clickable-25tGDB .header-2V-4Sw:hover,.selected-31Nl7x .header-2V-4Sw{background-color:var(--background-modifier-hover)}.hasBanner-2SrLR3 .header-2V-4Sw,.hasBanner-2SrLR3 .header-2V-4Sw:hover{-webkit-box-shadow:none;box-shadow:none;background-color:transparent}.clickable-25tGDB .header-2V-4Sw{cursor:pointer}.bannerVisible-2ZE_qG .dropdown-2kjUTJ{opacity:1}.guildIconContainer-2FW_iA{margin-right:4px}.name-1jkAdW{font-size:15px;line-height:20px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;-webkit-box-flex:1;-ms-flex:1;flex:1}.name-1jkAdW,.tierTooltipTitle-3AtaZT{font-weight:600}.guildBadge-3IDi4U,.premiumGuildIconGem-DAxGL7{-webkit-transition:color .1s linear;transition:color .1s linear}.premiumGuildIconGem-DAxGL7{height:10px}.iconTierNone-38r4c_{color:hsla(0,0%,100%,.2)}.disableColor-2z9rkr,.iconBackgroundTierNone-3ZkOsa,.iconBackgroundTierOne-2OQMBY,.iconBackgroundTierThree-FWlUL9,.iconBackgroundTierTwo-Eab9L6{color:var(--background-accent)}.bannerVisible-2ZE_qG .iconBackgroundTierOne-2OQMBY,.bannerVisible-2ZE_qG .iconBackgroundTierThree-FWlUL9,.bannerVisible-2ZE_qG .iconBackgroundTierTwo-Eab9L6,.iconTierOne-s_oiRb,.iconTierTwo-1JOWNK{color:#fff}.bannerVisible-2ZE_qG .iconTierOne-s_oiRb,.bannerVisible-2ZE_qG .iconTierTwo-1JOWNK{color:var(--text-muted)}.iconTierThree-3EAOB7{color:hsl(302,calc(var(--saturation-factor, 1)*100%),72.5%)}
-.channelNotice-2bJINM{margin-left:16px;margin-right:16px;margin-top:16px;padding-bottom:16px;border-bottom:1px solid var(--background-primary)}.textBlock-2FWDjE{margin:4px auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center;white-space:nowrap}.liveNowText-1y0h6H{text-transform:uppercase;font-weight:700;margin-left:4px}.eventName-2YgbEu{margin-bottom:4px;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.channelName-JY9Cr0,.eventName-2YgbEu{overflow:hidden;text-overflow:ellipsis}.dotDivider-1W5oqM{margin-left:4px;margin-right:4px}.liveIndicator-11vCOL{width:8px;height:8px;border-radius:8px;background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.stageIcon-3DmINn{color:var(--header-secondary);margin-right:4px}.userNames-3GptEj{margin-left:4px;overflow:hidden;text-overflow:ellipsis}.joinButton-7Fa-WN{margin-top:12px}
-.purchaseButton-1KDZuK{background:-webkit-gradient(linear,left top,right top,from(#40c1a2),to(#4697c4));background:linear-gradient(90deg,#40c1a2,#4697c4);-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.purchaseButton-1KDZuK:hover{opacity:.8}.purchaseButtonContent-EkeaFd{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.buyButtonDotSeparator-2qyBqa{width:3px;height:3px;border-radius:50%;opacity:.5;background-color:#fff;margin:0 4px;display:inline-block}
-.purchaseButton-3oy5i0{margin-top:12px;width:100%}
-.channelNotice-1-XFjC{position:relative;text-align:center;padding:73px 20px 20px;-webkit-box-shadow:inset 0 -1px 0 var(--background-modifier-accent);box-shadow:inset 0 -1px 0 var(--background-modifier-accent)}.channelNotice-1-XFjC.guildMFAWarning-3GEzs8{background:url(/assets/916a384814e3bbd2a84e2a1b352a17c3.svg) no-repeat center 20px}.channelNotice-1-XFjC.guildMFAWarning-3GEzs8 .message-3SOT5P{margin:10px 0}.channelNotice-1-XFjC.invite-OjTXrW{background:url(/assets/a754cd435d96674599cfe9459c2dd7ec.svg) no-repeat center 20px}.channelNotice-1-XFjC.publicUpsell-31ZSJ8{background:url(/assets/3c60587d692de83d0352a0596cc3baa7.svg) no-repeat 50% 12px;background-size:176px;padding:116px 16px 16px}.channelNotice-1-XFjC.quickswitcher-35bYg4{background:url(/assets/e24b0f874ec751ee525ffa7f64190cb1.svg) no-repeat center 35px;padding:100px 20px 20px}.channelNotice-1-XFjC.quickswitcher-35bYg4 .btn-11C5_u{text-transform:uppercase;font-weight:500}.channelNotice-1-XFjC.premiumGuildSubscription-3oKecP{background:url(/assets/ccd6ad0b6897a9f4fb5cc82de4c26317.svg) no-repeat center 23px;padding:116px 20px 20px}.channelNotice-1-XFjC.premiumGuildSubscription-3oKecP .message-3SOT5P .btn-11C5_u{font-weight:500;margin-top:20px}.channelNotice-1-XFjC.premiumGuildSubscription-3oKecP .textLargeGuild-3s_k9p{margin-left:1px;margin-right:1px}.channelNotice-1-XFjC.maxMembersCount-3E4zND{background:url(/assets/2fd338450d8f13d007c4cd7979e624f9.svg) no-repeat center 16px;padding:112px 16px 16px}.channelNotice-1-XFjC a,.close-relY5R{cursor:pointer}.close-relY5R{position:absolute;right:16px;top:12px;width:18px;height:18px;color:var(--interactive-normal)}.close-relY5R:hover{color:var(--interactive-hover)}.closeIcon-2eaC4U{width:18px;height:18px}.message-3SOT5P{font-size:14px;line-height:18px;color:var(--text-normal);margin-top:8px}.message-3SOT5P .btn-11C5_u{margin:16px auto 0}
-.channelNotice-3DDmsB{background-position:center top 20px;background-repeat:no-repeat;background-size:153px;-webkit-box-shadow:inset 0 -1px 0 var(--background-modifier-accent);box-shadow:inset 0 -1px 0 var(--background-modifier-accent);padding:20px;position:relative}.close-jnIfru{color:var(--interactive-normal);cursor:pointer;position:absolute;right:16px;width:18px;height:18px;top:16px;z-index:1}.close-jnIfru:hover{color:var(--interactive-hover)}.closeIcon-1zVtdw{width:18px;height:18px}.message-39hdqk{color:var(--text-normal);font-size:14px;left:-10px;line-height:18px;margin-top:86px;position:relative;text-align:center;width:220px}.checkStatusButton-2voZW3{margin-top:20px}.channelNotice-3DDmsB{background-image:url(/assets/1858873f28bdc62dfb3a1f4b67d459bf.svg)}
-.channelNotice-3hkOiI{background-repeat:no-repeat;background-position:center top 22px;background-size:220px;padding:20px;position:relative;-webkit-box-shadow:inset 0 -1px 0 var(--background-modifier-accent);box-shadow:inset 0 -1px 0 var(--background-modifier-accent)}.close-ZKR0Rw{position:absolute;right:16px;top:12px;width:18px;height:18px;cursor:pointer;color:var(--interactive-normal);z-index:1}.close-ZKR0Rw:hover{color:var(--interactive-hover)}.closeIcon-yoh58h{width:18px;height:18px}.message-Gpd3zh{font-size:14px;line-height:18px;color:var(--text-normal);margin-top:8px;text-align:center}.guildAffinityPremiumSubscriptionButton-3dyYEq{margin-top:16px}.premiumGuildAnimationWrapper-14ilC1{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;height:100px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;width:100%;z-index:0}.premiumGuildAnimation-RcsCE4{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;height:90px;width:350px}.theme-light .channelNotice-3hkOiI{background-image:url(/assets/a2a883ede6f286c9952eef1ce4b97644.svg)}.theme-dark .channelNotice-3hkOiI{background-image:url(/assets/7065587bd42fd829925bf6aa4b36f5e2.svg)}
-.cannon-1IwVJw{position:absolute;width:100%;height:100%}
-.container-1i59-c{padding:16px;position:relative;background-color:var(--background-secondary-alt)}.container-1i59-c:focus-within .dismiss-SxmMd_,.container-1i59-c:hover .dismiss-SxmMd_{opacity:1}.title-2UdzTY{font-weight:600}.dismiss-SxmMd_{position:absolute;right:12px;top:12px;width:16px;height:16px;cursor:pointer;color:var(--interactive-muted);opacity:1;-webkit-transition:opacity .1s ease-in;transition:opacity .1s ease-in}.dismiss-SxmMd_:focus-within,.dismiss-SxmMd_:hover{color:var(--interactive-hover)}.dismissIcon-1MhmFW{width:16px;height:16px}.progressContainer-1gEwYE{margin-top:8px;cursor:pointer}.progress-9E5msn{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin-right:8px}.footer-3Q8DAh{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:8px}.questIcon-3lYg63{width:16px;height:16px;color:var(--header-secondary)}.subtitle-1cSkax{margin-left:4px}.step-3ABmgA,.subtitle-1cSkax{text-transform:uppercase;font-weight:700}.step-3ABmgA{margin-left:auto}
-@-webkit-keyframes pulse-30Y3VU{0%{opacity:.7}to{opacity:1}}@keyframes pulse-30Y3VU{0%{opacity:.7}to{opacity:1}}.container-JPloBS{padding:16px 8px;-webkit-animation:pulse-30Y3VU 5s ease-in-out infinite alternate;animation:pulse-30Y3VU 5s ease-in-out infinite alternate;height:100%;overflow:hidden}.bannerPadding-NA0hyi{padding-top:104px}.category-2SZJwK{height:16px;width:77px;border-radius:4px;margin-bottom:18px;background-color:var(--background-accent)}.spacer-No5vWQ{height:1px;width:100px;margin:16px 0}.channel-2UjLhw{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:18px}.channelIcon-CCo35e{width:16px;border-radius:16px;margin:0 8px}.channelIcon-CCo35e,.channelName-3y9uE0{height:16px;background-color:var(--background-accent)}.channelName-3y9uE0{border-radius:8px}
-.container-3w7J-x{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-height:0;position:relative;background-color:var(--background-secondary)}.subscribeTooltipHeader-Cf_Izr,.subscribeTooltipText-3d3QxF{color:#fff;text-align:center}.subscribeTooltipText-3d3QxF{margin-top:4px;font-weight:400}.subscribeTooltipButton-rIF3w3{margin:16px auto 0;width:100%}.subscribeTooltipWrapper-1JoUuw{max-width:280px;padding:16px;background-color:var(--brand-experiment);border-radius:4px;-webkit-box-shadow:var(--elevation-medium);box-shadow:var(--elevation-medium)}.subscribeTooltipWrapper-1JoUuw:after{content:" ";position:absolute;bottom:100%;left:50%;margin-left:-8px;border:8px solid transparent;border-bottom:8px solid var(--brand-experiment)}.varUpsellTooltip-1P8Jpo{max-width:220px}.varUpsell-3rw6f_{padding:8px 0}.varUpsellTitle-2TnDwT{font-weight:700;margin-bottom:8px}.varUpsellBody-1SRfWC{text-align:center}.tooltip-1Il2gT p{margin:12px 0}.tooltip-1Il2gT p:first-of-type{margin-top:0}.tooltip-1Il2gT p:last-of-type{margin-bottom:0}.tooltipAvatarAsset-3Ycoah{display:block;margin:0 auto 8px;width:208px;height:88px}
-.searchAnswer-3Dz2-q{padding:0 2px;margin-right:2px;margin-left:-2px;border-radius:0 2px 2px 0}.searchFilter-2ESiM3{padding:0 2px;border-radius:2px 0 0 2px}.searchFilter-2ESiM3+.searchFilter-2ESiM3{margin-left:2px}.searchFilter-2ESiM3:first-child{margin-left:-2px}.searchAnswer-3Dz2-q,.searchFilter-2ESiM3{display:inline-block;height:20px;color:#fff}.theme-light .searchAnswer-3Dz2-q,.theme-light .searchFilter-2ESiM3{background-color:#72767d}.theme-dark .searchAnswer-3Dz2-q,.theme-dark .searchFilter-2ESiM3{background-color:#34383d}
-.container-3ayLPN{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:3px;overflow:hidden}.container-3ayLPN:empty{-webkit-box-shadow:none;box-shadow:none}.queryContainer-RKFJW-{padding:15px;display:-webkit-box;display:-ms-flexbox;display:flex;cursor:pointer;border-bottom:1px solid}.queryShortcut-hJIQMF{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.queryText-3xoOY7{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;line-height:24px;font-size:12px;text-transform:uppercase}.queryText-3xoOY7 strong{font-size:15px;text-transform:none}.theme-dark .container-3ayLPN{background-color:#36393f}.theme-dark .queryContainer-RKFJW-{color:#b9bbbe;border-bottom-color:hsla(214,calc(var(--saturation-factor, 1)*9.1%),15.1%,.3)}.theme-dark .queryContainer-RKFJW- strong{color:#fff}.theme-dark .focused-2bY0OD{background-color:hsl(214,calc(var(--saturation-factor, 1)*9.1%),15.1%)}.theme-light .container-3ayLPN{background-color:#fff}.theme-light .queryContainer-RKFJW-{color:#72767d;border-bottom-color:#dcddde}.theme-light .queryContainer-RKFJW- strong{color:#4f545c}.theme-light .focused-2bY0OD{background-color:#f6f6f7}
-.resultsGroup-r_nuzN{position:relative;padding-top:10px;padding-bottom:10px;margin-top:-1px}.resultsGroup-r_nuzN .searchClearHistory-2cSSMO,.resultsGroup-r_nuzN .searchLearnMore-3SQUAj{opacity:.6}.resultsGroup-r_nuzN:before{content:"";display:block;position:relative;top:-10px;margin:0 20px}.resultsGroup-r_nuzN .header-2N-gMV{font-weight:500;font-size:12px;text-transform:uppercase;padding:5px 20px 10px}.resultsGroup-r_nuzN .searchClearHistory-2cSSMO,.resultsGroup-r_nuzN .searchLearnMore-3SQUAj{position:absolute;top:12px;width:16px;height:16px;cursor:pointer;opacity:.8}.resultsGroup-r_nuzN .searchClearHistory-2cSSMO:hover,.resultsGroup-r_nuzN .searchLearnMore-3SQUAj:hover{opacity:1}.resultsGroup-r_nuzN .searchClearHistory-2cSSMO svg,.resultsGroup-r_nuzN .searchLearnMore-3SQUAj svg{width:16px;height:16px}.resultsGroup-r_nuzN .searchLearnMore-3SQUAj{right:17px}.resultsGroup-r_nuzN .searchClearHistory-2cSSMO{right:16px}.resultsGroup-r_nuzN .searchLearnMore-3SQUAj a{display:block;width:100%;height:100%;overflow:hidden}.option-96V44q,.resultsGroup-r_nuzN .searchClearHistory-2cSSMO{overflow:hidden}.option-96V44q{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:16px;margin:0 10px;padding:0 10px;height:34px;border-radius:3px;cursor:pointer}.option-96V44q:after{z-index:1;content:"";position:absolute;top:0;right:0;height:100%;width:30px}.option-96V44q.selected-rZcOL- .plusIcon-v0BTrL{display:block}.option-96V44q.selected-rZcOL-:before{z-index:2;content:"";position:absolute;top:0;right:0;height:34px;width:24px}.option-96V44q.selected-rZcOL-:after{width:60px}.option-96V44q span{-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.option-96V44q .nonText-3CRkO0{margin:0 4px}.option-96V44q .filter-3Y_im-{margin:0 2px 0 4px}.option-96V44q .answer-1n6g43{margin:0 4px 0 2px;font-weight:500}.option-96V44q strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.option-96V44q .filter-3Y_im-{margin-right:4px}.option-96V44q>:first-child{margin-left:0}.option-96V44q.user-O3Czj0 .displayAvatar-1wWlVM{-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;width:18px;height:18px;border-radius:50%;display:inline-block}.option-96V44q.user-O3Czj0 .displayedNick-3xxvzU{font-weight:500;margin:0 5px}.option-96V44q.user-O3Czj0 .displayUsername-Qekxml{font-weight:500}.option-96V44q.linkSource-1-3cE_ strong{text-transform:capitalize}.searchOption-zQ-1l6 .filter-3Y_im-{font-weight:500;margin:0 4px 0 0}.searchOption-zQ-1l6 .answer-1n6g43{font-weight:500}.datePicker--XZbmJ{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-shadow:none;box-shadow:none;border-radius:0}.datePicker--XZbmJ,.datePicker--XZbmJ .datePickerHint-3Q1Udw{display:-webkit-box;display:-ms-flexbox;display:flex}.datePicker--XZbmJ .datePickerHint-3Q1Udw{padding:20px 0;margin:0 20px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.datePicker--XZbmJ .datePickerHint-3Q1Udw .hint-165cR4{font-size:16px}.datePicker--XZbmJ .datePickerHint-3Q1Udw .hintValue-29ny8Z{font-size:14px;line-height:22px;padding:0 3px;border-radius:3px;font-weight:500;cursor:pointer}.searchResultChannelIcon-1DnTme{vertical-align:top;margin-right:4px;-ms-flex-negative:0;flex-shrink:0;width:16px;height:16px}.searchResultChannelCategory-1l0lSn{position:relative;text-transform:uppercase;font-size:10px;font-weight:600;margin-left:4px;-ms-flex-negative:1;flex-shrink:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;top:2px}.plusIcon-v0BTrL{position:absolute;top:8px;right:8px;z-index:2;display:none;opacity:.6}.theme-dark .resultsGroup-r_nuzN:before{border-top:1px solid hsla(214,calc(var(--saturation-factor, 1)*9.1%),15.1%,.3)}.theme-dark .resultsGroup-r_nuzN .header-2N-gMV,.theme-dark .resultsGroup-r_nuzN .plusIcon-v0BTrL,.theme-dark .resultsGroup-r_nuzN .searchClearHistory-2cSSMO,.theme-dark .resultsGroup-r_nuzN .searchLearnMore-3SQUAj a{color:#cacbce}.theme-dark .option-96V44q:after{background:-webkit-gradient(linear,left top,right top,from(rgba(54,57,63,0)),color-stop(80%,#36393f));background:linear-gradient(90deg,rgba(54,57,63,0),#36393f 80%)}.theme-dark .option-96V44q.selected-rZcOL-{background-color:hsl(214,calc(var(--saturation-factor, 1)*9.1%),15.1%)}.theme-dark .option-96V44q.selected-rZcOL-:after{background:-webkit-gradient(linear,left top,right top,from(hsla(214,calc(var(--saturation-factor, 1)*9.1%),15.1%,0)),color-stop(50%,hsl(214,calc(var(--saturation-factor, 1)*9.1%),15.1%)));background:linear-gradient(90deg,hsla(214,calc(var(--saturation-factor, 1)*9.1%),15.1%,0),hsl(214,calc(var(--saturation-factor, 1)*9.1%),15.1%) 50%)}.theme-dark .option-96V44q .answer-1n6g43,.theme-dark .option-96V44q .nonText-3CRkO0,.theme-dark .option-96V44q strong{color:#caccce}.theme-dark .option-96V44q .filter-3Y_im-{color:#72767d}.theme-dark .option-96V44q.user-O3Czj0 .displayedNick-3xxvzU{color:#caccce}.theme-dark .option-96V44q.user-O3Czj0 .displayUsername-Qekxml{color:#5e636a}.theme-dark .searchOption-zQ-1l6 .filter-3Y_im-{color:#caccce}.theme-dark .searchOption-zQ-1l6 .answer-1n6g43{color:#72767d}.theme-dark .datePicker--XZbmJ{border-top:none}.theme-dark .datePicker--XZbmJ .datePickerHint-3Q1Udw{border-top:1px solid hsla(214,calc(var(--saturation-factor, 1)*9.1%),15.1%,.3)}.theme-dark .datePicker--XZbmJ .datePickerHint-3Q1Udw .hint-165cR4{color:#caccce}.theme-dark .datePicker--XZbmJ .datePickerHint-3Q1Udw .hintValue-29ny8Z{color:#fff;background-color:var(--brand-experiment)}.theme-dark .datePicker--XZbmJ .datePickerHint-3Q1Udw .hintValue-29ny8Z:hover{background-color:var(--brand-experiment-430)}.theme-dark .searchResultChannelCategory-1l0lSn,.theme-dark .searchResultChannelIcon-1DnTme{color:#72767d}.theme-dark .searchResultChannelIconBackground-7ncwtC{opacity:.6}.resultChannel-3BYgHX{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.theme-light .resultsGroup-r_nuzN:before{border-top:1px solid #dcddde}.theme-light .resultsGroup-r_nuzN .header-2N-gMV,.theme-light .resultsGroup-r_nuzN .plusIcon-v0BTrL,.theme-light .resultsGroup-r_nuzN .searchClearHistory-2cSSMO,.theme-light .resultsGroup-r_nuzN .searchLearnMore-3SQUAj a{color:#cacbce}.theme-light .option-96V44q:after{background:-webkit-gradient(linear,left top,right top,from(hsla(0,0%,100%,0)),color-stop(80%,#fff));background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 80%)}.theme-light .option-96V44q.selected-rZcOL-{background-color:#f6f6f7}.theme-light .option-96V44q.selected-rZcOL-:after{background:-webkit-gradient(linear,left top,right top,from(rgba(246,246,247,0)),color-stop(50%,#f6f6f7));background:linear-gradient(90deg,rgba(246,246,247,0),#f6f6f7 50%)}.theme-light .option-96V44q .nonText-3CRkO0{color:#5e636a}.theme-light .option-96V44q .filter-3Y_im-{color:#caccce}.theme-light .option-96V44q .answer-1n6g43,.theme-light .option-96V44q strong{color:#4f545c}.theme-light .option-96V44q.user-O3Czj0 .displayedNick-3xxvzU{color:#5e636a}.theme-light .option-96V44q.user-O3Czj0 .displayUsername-Qekxml{color:#caccce}.theme-light .searchOption-zQ-1l6 .filter-3Y_im-{color:#4f545c}.theme-light .searchOption-zQ-1l6 .answer-1n6g43{color:#caccce}.theme-light .datePicker--XZbmJ,.theme-light .datePicker--XZbmJ .datePickerHint-3Q1Udw{border-top:1px solid #dcddde}.theme-light .datePicker--XZbmJ .datePickerHint-3Q1Udw .hint-165cR4{color:#caccce}.theme-light .datePicker--XZbmJ .datePickerHint-3Q1Udw .hintValue-29ny8Z{color:#fff;background-color:var(--brand-experiment)}.theme-light .datePicker--XZbmJ .datePickerHint-3Q1Udw .hintValue-29ny8Z:hover{background-color:var(--brand-experiment-430)}.theme-light .searchResultChannelCategory-1l0lSn,.theme-light .searchResultChannelIcon-1DnTme{color:#b9bbbe}.theme-light .searchResultChannelIconBackground-7ncwtC{opacity:.6}
-.search-2oPWTC{position:relative;overflow:visible;z-index:100;-webkit-app-region:no-drag}.search-2oPWTC .DraftEditor-root{-webkit-box-flex:1;-ms-flex:1;flex:1;font-size:14px;font-weight:500;line-height:20px;overflow:hidden;padding:2px 0}.search-2oPWTC .DraftEditor-root .DraftEditor-editorContainer{border:none;overflow:hidden;border-radius:2px;height:20px}.search-2oPWTC .DraftEditor-root .public-DraftEditor-content,.search-2oPWTC .DraftEditor-root .public-DraftEditorPlaceholder-root{-webkit-box-sizing:content-box;box-sizing:content-box;padding-bottom:20px;padding-left:2px;padding-right:2px}.search-2oPWTC .DraftEditor-root .public-DraftEditorPlaceholder-root{color:var(--text-muted);padding-left:4px}.search-2oPWTC .DraftEditor-root .public-DraftEditor-content{overflow-x:auto;overflow-y:hidden}.search-2oPWTC .DraftEditor-root .public-DraftStyleDefault-block{display:inline-block;min-width:1px;white-space:pre}.search-2oPWTC .DraftEditor-root .public-DraftStyleDefault-block span{min-width:1px}.searchBar-3dMhjb{-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;height:24px;width:144px;border-radius:4px;-webkit-box-shadow:none;box-shadow:none;cursor:text;overflow:hidden;padding:0 2px;color:var(--text-normal);background-color:var(--background-tertiary)}.searchBar-3dMhjb .icon-38sknP{width:24px;height:24px}.focused-31_ccS .searchBar-3dMhjb,.open-6_Y_aH .searchBar-3dMhjb{width:240px}
-.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:hsla(0,0%,100%,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;z-index:1}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1,lower-alpha) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2,lower-roman) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4,lower-alpha) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}
-
-@-webkit-keyframes arrowBounce-1NRiP8{0%{-webkit-transform:translate3d(0,-2px,0);transform:translate3d(0,-2px,0)}50%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,-2px,0);transform:translate3d(0,-2px,0)}}@keyframes arrowBounce-1NRiP8{0%{-webkit-transform:translate3d(0,-2px,0);transform:translate3d(0,-2px,0)}50%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,-2px,0);transform:translate3d(0,-2px,0)}}.children-3Bo2Aw{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.back-38bAq5{margin-right:12px;opacity:.6}.back-38bAq5:active,.back-38bAq5:hover{opacity:.8}.back-38bAq5:disabled{opacity:.2}.updateIconForeground-3tnNZn{fill:hsl(139,calc(var(--saturation-factor, 1)*51.6%),52.2%)}.search-36MZv-{margin:0 8px}.toolbar-1ZLc8T{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.downloadArrow-BfJJjn{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);-webkit-animation:arrowBounce-1NRiP8 2s ease-in-out infinite;animation:arrowBounce-1NRiP8 2s ease-in-out infinite}.theme-light .back-38bAq5{color:#4f545c}.theme-light .cloud-31LAb8{color:#9099a4}.theme-dark .back-38bAq5{color:#fff}.theme-dark .cloud-31LAb8{color:#72767d}@media (min-width:849px){.headerBarLoggedOut-1Txau0{padding:0 30px}}
-.modal-3i71Y-.modal-3i71Y-{width:440px}.formErrorContainer-3TG4vh{padding:16px 16px 6px}.formError-2RIrn5{background-color:hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.1);border:1px solid hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);border-radius:4px}.formErrorIcon-2Eelfy{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-dark .modal-3i71Y-.modal-3i71Y-{background-color:var(--background-secondary)}.modalHeader-3mawsN{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.modalHeaderText-2Pdk3O{font-weight:500;color:var(--interactive-active)}.modalContent-1pV-V4{padding:16px;max-height:480px;position:relative}.modalFooter-1yBXf6.modalFooter-1yBXf6{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;background-color:var(--background-secondary-alt)}.divider-1DkfaP{width:calc(100% - 32px);margin:auto}.footer-2BNy-D{padding:20px}.modalHeadline-Qk7jey{font-size:24px;line-height:30px;text-align:center;font-weight:600;color:var(--header-primary);margin-bottom:8px}.modalSubheadline-1rAcuQ{font-size:14px;line-height:18px;text-align:center;color:var(--header-secondary);margin-bottom:16px}.linkButtonContent-2It2a5{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-transition:color .2s;transition:color .2s;color:var(--interactive-active)}.linkButtonContent-2It2a5:hover{color:var(--interactive-normal)}.linkButtonIcon-WaDi9L{margin-right:5px}.breadCrumbsContainer-2Qg9Yk{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;display:-webkit-box;display:-ms-flexbox;display:flex}.breadCrumbItem-2wlqgA{font-weight:500}.breadCrumbArrow-1EyA1a{color:var(--text-muted);margin-left:4px;margin-right:4px;width:9px;height:9px}.closeButton-3NEDt7{padding:0;height:24px}.closeButton-3NEDt7>div{height:24px}
-.container-o3XOLd{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;background-color:var(--background-primary);cursor:pointer}.container-o3XOLd:first-child{border-top-right-radius:8px;border-top-left-radius:8px}.container-o3XOLd:last-child{border-bottom-right-radius:8px;border-bottom-left-radius:8px}.container-o3XOLd:last-child .content-35nNsa{padding:12px 0;border-bottom:none}.content-35nNsa{border-bottom:1px solid var(--background-modifier-accent);padding:12px 0 11px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.content-35nNsa,.labelContainer-bDrlK8{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-ms-flex:1;flex:1}.label-1XBspN{color:var(--interactive-active);font-size:16px;line-height:20px;font-weight:500}.labelInactive-1au5ww{font-weight:400;color:var(--text-normal)}.description-2gt-GY{color:var(--header-secondary);font-size:12px;margin-top:2px;line-height:16px}.icon-3MZ9WG{color:var(--interactive-normal);margin-right:16px}.radioIconSelectedForeground-1NpjFJ{color:var(--control-brand-foreground)}
-.guildIcon-27QNA6{margin:12px 16px;border-radius:8px}
-.iconContainer-1C-7sg{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:12px 16px}.icon-oqs0j0{color:var(--interactive-normal)}
-.container-22UyA2{width:72px;height:72px;border-radius:8px;background-color:var(--background-tertiary);background-size:cover;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative}.uploadIconContainer-srTNzu{width:22px;height:22px;background-repeat:no-repeat;background-size:cover}.uploadIcon-3EO47A{color:#b9bbbe}.pencilIconContainer-2XYqVg{position:absolute;background-color:var(--background-secondary);width:32px;height:32px;border-radius:50%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;bottom:-8px;left:-8px}.pencilIcon-XNDl4u{color:var(--interactive-normal)}
-.label-1Baaex{margin-top:8px}
-.titleImageContainer-2eyae1{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:16px}.titleContainer-3E5LPu{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-right:16px}.titleInput-2spVRT{resize:none;overflow:hidden;min-height:49px;font-size:20px;line-height:24px;color:var(--interactive-active);background-color:transparent;font-weight:600;border:none;width:100%;margin-bottom:1px;padding:0}.titleInput-2spVRT::-webkit-input-placeholder{font-weight:600;color:var(--text-muted)}.titleInput-2spVRT::-moz-placeholder{font-weight:600;color:var(--text-muted)}.titleInput-2spVRT:-ms-input-placeholder{font-weight:600;color:var(--text-muted)}.titleInput-2spVRT::placeholder{font-weight:600;color:var(--text-muted)}.descriptionInput-1VmPTl{resize:none;overflow:hidden;font-size:16px;line-height:20px;color:var(--interactive-active);background-color:var(--background-secondary-alt);border:1px solid var(--background-tertiary);width:100%;padding:10px 8px;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box}.descriptionInput-1VmPTl::-webkit-input-placeholder{color:var(--text-muted)}.descriptionInput-1VmPTl::-moz-placeholder{color:var(--text-muted)}.descriptionInput-1VmPTl:-ms-input-placeholder{color:var(--text-muted)}.descriptionInput-1VmPTl::placeholder{color:var(--text-muted)}.descriptionContainer-2dlTDZ{margin-bottom:16px}.descriptionContainerTitle-3pgcGU,.titleContainerTitle-15KIbF{display:inline-block;margin-bottom:8px}.doubleInputContainer-2ZMSd8{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;position:relative;margin-bottom:16px}.doubleInputContainer-2ZMSd8>div:first-child{margin-right:8px}.doubleInputContainer-2ZMSd8>div:nth-child(2){margin-left:8px}.formSection-PJ3Ins{border-radius:4px;padding:16px}.theme-dark .formSection-PJ3Ins{background-color:var(--background-primary)}.theme-light .formSection-PJ3Ins{background-color:var(--background-secondary);border:1px solid #e3e5e8}.theme-light .sectionFormInput-3KUOqh{background-color:var(--background-primary)}.pricePickerLabel-20jheI{margin-top:8px}.ticketCard-jy5i_l{margin:16px auto 32px}.ticketPhotoInputContainer-2nNuo-{display:-webkit-box;display:-ms-flexbox;display:flex}.divider-2r4iPz{margin:16px 0}.ticketPhotoInputLabel-2unwVL{margin-right:32px;-webkit-box-flex:1;-ms-flex:1;flex:1}.colorContainer-P9SGS6.colorContainer-P9SGS6{max-width:none}.linkButton-2u0lAG{padding:0}.linkButtonContent-Y5ZVpB{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-transition:opacity .2s;transition:opacity .2s;color:var(--interactive-active)}.linkButtonContent-Y5ZVpB:hover{opacity:.8}.addEndDateIcon-1oK-r1{color:var(--brand-experiment);margin-right:8px}.removeEndDateIcon-vMxhG7{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);margin-right:10px}.addEndDateText-2KOFke{padding-top:2px}.removeEndDateText-346lpZ{padding-top:1px}.charLimitIndicator-qMgwkh{margin-left:8px;font-size:12px;line-height:16px;font-weight:500;color:var(--text-muted)}.charLimitIndicatorError-3dA-rW{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.maskWrapper-3AhPKj{-webkit-filter:drop-shadow(0 8px 16px rgba(0,0,0,.2));filter:drop-shadow(0 8px 16px rgba(0,0,0,.2));display:block}.container-3Ii8lg{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;width:100%;height:100%}.gradientBackground-an9hmq{background:linear-gradient(45deg,#40c1a2,#4697c4)}.textContainerOverlay-1KaxP7{width:50%}.textContainer-1O-Zsv{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding:16px;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:100%}.date-1NEiZG{font-size:12px;line-height:16px;opacity:.8}.date-1NEiZG,.title-1PPUS_{color:#fff;margin-bottom:8px}.title-1PPUS_{font-size:16px;line-height:20px;font-weight:600}.serverName-2KX7L1{font-size:14px;line-height:16px;color:#fff;opacity:.8}.imageContainer-2f6msW{-webkit-box-sizing:border-box;box-sizing:border-box;width:50%;background-color:var(--background-primary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;background-size:cover}.guildIconBottomRight-19Yw1U{margin:4px;border-radius:8px}.guildIconEmptyState-QLMStC{border:1px solid #fff;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 8px 16px rgba(0,0,0,.2);box-shadow:0 8px 16px rgba(0,0,0,.2)}.circles-uxNXgF{border-radius:50%;background-color:hsla(0,0%,100%,.15);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.circlesContainer-o5Y8PQ{height:100%;width:50%;overflow:hidden}.circlesOverlay-1cKWQa{background-color:hsla(0,0%,100%,.15);margin-left:-20px;margin-top:-20px}
-.confButton-1Lq9Vv,.ticketCard-1Y0W0u{margin-top:32px}.confButton-1Lq9Vv{margin-bottom:32px;min-width:70px}.title-2Gy9TQ{margin-top:32px;font-weight:600}.subtitle-32r7v2,.title-2Gy9TQ{text-align:center}.subtitle-32r7v2{margin-top:8px;line-height:20px}.confirmationModalContent-3CvlPX{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.confirmationModal-2JaxdL,.confirmationModalContent-3CvlPX{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.closeButton-3KJwtx{-ms-flex-item-align:end;align-self:flex-end;margin-top:16px;margin-right:4px}
-.container-2zc9_e{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.activeTicketPriceContainer-igA4KD{background:-webkit-gradient(linear,left top,right top,from(#40c1a2),to(#4697c4));background:linear-gradient(90deg,#40c1a2,#4697c4)}.purchaseTicketPriceContainer-MEAedJ{background:var(--background-accent);display:-webkit-box;display:-ms-flexbox;display:flex}.soldOutText-2kGL-m{color:var(--text-muted);text-transform:uppercase;font-weight:500}.activeTicketPriceContainer-igA4KD,.outlineContainer-2-1kG5,.purchaseTicketPriceContainer-MEAedJ{margin-left:8px;padding-left:6px;padding-right:6px;border-radius:8px}.outlineContainer-2-1kG5{border:1px solid var(--text-muted)}.ticketPrice-3vZafl{font-weight:500;color:#fff}.date-1uEAAd{font-weight:500;text-transform:uppercase}.checkmark-3NDhqH{color:var(--interactive-active)}
-.container-u129MH{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.guildName-3gxEXJ{margin-left:8px}.guildIcon-Tm_O2I{border-radius:4px}
-.container-ncCfeh{background-color:var(--background-tertiary)}.titleContainer-2-JyA9{margin-top:2px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-item-align:normal;align-self:normal}.divider-3AbmZG,.titleContainer-2-JyA9{margin-bottom:16px}.contentContainer-YZWqPt{display:-webkit-box;display:-ms-flexbox;display:flex}.eventImage-2yamHs{width:88px;height:88px;border-radius:8px}.headerDetail-jNduT3{margin-left:16px}.closeButton-3IpryR{position:absolute;right:12px;top:12px;color:#fff;opacity:.8}.closeButton-3IpryR:hover{opacity:1}.title-2lTPXA{font-weight:500}.guildInfo-vaBrWw,.title-2lTPXA{margin-top:8px}.eventDateContainer-2NsTkF{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}.guildIconContainer-VROBqJ,.guildIconInnerCircle-QPbrpv,.guildIconOuterCircle-hqFsIz{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.guildIconContainer-VROBqJ{width:88px;height:88px;border-radius:8px;background-color:hsla(0,0%,100%,.1)}.theme-light .guildIconContainer-VROBqJ{background-color:rgba(0,0,0,.1)}.guildIconInnerCircle-QPbrpv{width:56px;height:56px;border-radius:28px;background-color:hsla(0,0%,100%,.4)}.guildIconOuterCircle-hqFsIz{width:72px;height:72px;border-radius:36px;background-color:hsla(0,0%,100%,.2)}
-.invoice-2apAtq{margin-top:8px}.bodyContentWrapper-3MN60P,.reviewBodyHeader-22kBpf{margin-top:16px}.paymentSourceDropdown-31HZ2A{margin-top:8px;margin-bottom:16px}
-.modal-3xbZrE.modal-3xbZrE{background-color:var(--background-primary)}.modalContentForm-1yCtGA{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:0}
-.container-1zIh5b{height:88px;width:88px;border-radius:8px;position:relative}.container-1zIh5b,.innerContainer-v408KG{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.innerContainer-v408KG{height:56px;width:56px;background-color:hsla(0,0%,100%,.32);border-radius:50%}.outerContainer-f2YWxd{height:56px;width:56px;border:8px solid hsla(0,0%,100%,.16);border-radius:50%}.guildIcon-3-9C1R{border-radius:0}.border-f4g_1z{height:36px;width:36px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border:2px solid #fff;border-radius:8px;contain:content;overflow:hidden}.speakerContainer-3Pc8T5{height:80px;width:80px;position:absolute}.speaker-2ccgwP{position:absolute;border:2px solid #fff}.firstSpeaker-3wmgPS{top:12px;left:12px}.secondSpeaker-2ykxBJ{right:12px;bottom:12px}
-.container-3Z2M46{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding-top:16px;padding-left:8px;padding-right:8px}.description-15WvSK,.header-1h7oGJ{text-align:center}.header-1h7oGJ{margin-top:24px;font-weight:700}.description-15WvSK{margin-top:8px}.addModeratorsHeader-2dxHdN{margin-top:16px;margin-bottom:16px}.addModeratorsHeaderSubtitle-1FRERx{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.addModeratorsHeaderSubtitleIcon-1-qX50{padding-right:4px}.addModeratorsCloseButton-2CiwMN{position:absolute;top:-4px;right:8px}.confirmModalContainer-1LGyKn{position:relative}.confirmModalContent-2Ldh1k{padding-bottom:20px}.confirmModalPositiveButtonsContainer-3O9fTV{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.confirmModalFooter-3Bc2vB{position:relative}.addModeratorsButton-a-kh9z{margin-right:8px;margin-left:8px}.cancelButton-2759sk{margin-left:-16px}
-.container-1a8CVa{margin:8px;width:262px;height:345px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px}.container-1a8CVa,.contentContainer-Iqyavt{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.contentContainer-Iqyavt{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding:12px 16px 16px}.theme-dark .container-1a8CVa{background-color:var(--background-secondary)}.theme-light .container-1a8CVa{background-color:var(--background-primary);border:1px solid var(--background-modifier-accent);-webkit-box-shadow:0 4px 4px rgba(0,0,0,.08);box-shadow:0 4px 4px rgba(0,0,0,.08)}.eventDate-CgpLVj{font-weight:500;text-transform:uppercase}.liveTag-15JGLR,.liveTagContainer-19d-Ru{display:inline}.liveTag-15JGLR{text-transform:uppercase;font-weight:700;margin-left:4px}.liveTagDot-2HiQ-Z{display:inline-block;height:8px;width:8px;background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);border-radius:50%}.divider-28O2Pn{margin-top:12px}.speakerCount-3UB5IW{margin-top:36px}.rsvpCount-2nLxCm{margin-top:8px}.eventImageContainer-12g4kq{margin-top:12px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.eventImage-1NyWox{width:88px;height:88px;border-radius:8px}.overflowMenu-1e2rF1{width:100%;justify-self:flex-end;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;justify-items:flex-end;display:-webkit-box;display:-ms-flexbox;display:flex;z-index:2;pointer-events:all}.overflowMenuIcon-1pMqUL{color:#b9bbbe}.eventDescription-3nCIaw,.eventName-25VCA5{overflow:hidden;text-overflow:ellipsis}.eventName-25VCA5{max-height:40px;font-weight:600;margin-top:16px}.eventDescription-3nCIaw{max-height:72px;font-weight:500;margin-top:8px}.loadingIndicatorContainer-3RNohL{position:absolute;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;display:-webkit-box;display:-ms-flexbox;display:flex;top:0;left:0;bottom:0;right:0;background-color:rgba(0,0,0,.85);-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;z-index:2}.loadingIndicatorText-3ItvDk{margin-top:32px;font-weight:700;color:#fff}.buttonContainer-2t5kSu{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;margin-left:16px;margin-right:16px;margin-bottom:16px}.button-8AyiKg{padding-left:0;padding-right:0;-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:8px}.button-8AyiKg:first-child{margin-left:0}.wrappedButton-3tUJ7L{width:100%}.disabledOutlinedButton-30Ft7j{color:var(--background-accent)}.buttonCheckmarkContainer-1_fgjw{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--interactive-normal)}.buttonCheckmark-DDE8zP{margin-left:4px}
-.container-3wcyUB{width:100%;background-color:var(--background-primary);padding-top:8px;padding-bottom:8px}.container-3wcyUB,.listContainer-1Z1G48{height:100%}.row-22UCsi{padding:0 8px;height:361px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.spinner-YJxHhe{margin-top:20px}.sectionName-3WMyjJ{padding:16px;font-weight:700}.divider-1iPZwW{margin-bottom:16px;margin-left:16px;margin-right:16px}.emptyStateTitle-1RNB2R{margin-top:16px;font-weight:600;color:var(--header-primary)}.emptyStateSubTitle-DMzpTu{margin-top:8px;color:var(--header-secondary);white-space:pre;text-align:center}.emptyStateButton-3ZkZuh{margin-top:16px}.emptyStateContainer-ahj4wN{max-width:100%}
-.container-38RxSG{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.container-38RxSG,.headerBarContainer-2Ibuqb{background-color:var(--background-primary)}.headerBarContainer-2Ibuqb{-webkit-box-shadow:0 1px 1px rgba(0,0,0,.2);box-shadow:0 1px 1px rgba(0,0,0,.2)}.spinnerContainer-LvJPRv{background-color:var(--background-primary);display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;height:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}
-.progressCircle-1hzs_b{position:relative;width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:hsl(197,calc(var(--saturation-factor, 1)*100%),47.8%)}.circle-vWlbvd{position:absolute;top:0;left:0;bottom:0;right:0}.circleBackgroundAlt-Eohdst{fill:rgba(0,0,0,.2)}.circleBackground-OqqxHM{fill:var(--background-accent)}.circleProgress-1EBmVn{fill:none}.circleOverlay-2WHDjO{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}
-.progressContainer-GRWlbC{width:20px;height:20px;position:relative}.downloadIcon-3TWA3B{position:relative;color:#fff;width:100%;height:100%;padding:4px}
-.wrapper-sa6paO{position:relative;overflow:hidden;width:8px;height:48px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;contain:layout size}.item-2hkk8m{position:absolute;display:block;width:8px;border-radius:0 4px 4px 0;margin-left:-4px;background-color:var(--header-primary)}
-.wrapper-25eVIn{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;width:48px;height:48px;cursor:pointer}.wrapperSimple-19ogV2{border-radius:50%;overflow:hidden}.svg-1X37T1{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;top:0;left:0;width:48px;height:48px}.lowerBadge-29hYVK{bottom:0}.lowerBadge-29hYVK,.upperBadge-2XnnGB{pointer-events:none;position:absolute;right:0}.upperBadge-2XnnGB{top:0}.focusStroke-1ApElc{stroke:transparent;stroke-width:0}.focusFill-3Y4YuU,.focusStroke-1ApElc{fill:transparent}.keyboard-mode .focusStroke-1ApElc{fill:var(--focus-primary);stroke:var(--focus-primary);stroke-width:8px}.keyboard-mode .focusFill-3Y4YuU{fill:var(--background-tertiary)}.keyboard-mode .simpleFocused-1xIlHX{-webkit-box-shadow:0 0 0 4px var(--focus-primary);box-shadow:0 0 0 4px var(--focus-primary)}
-.wrapper-2q53zr{position:absolute;top:0;bottom:0;left:0;right:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;pointer-events:none}.half-2cquxE{-ms-flex-preferred-size:50%;flex-basis:50%}.edge-1lOOiT{-ms-flex-preferred-size:25%;flex-basis:25%}.middle-2H7H6R{-webkit-box-flex:1;-ms-flex:1;flex:1}.higher-qTpvVk{margin-top:-20px}.autoPointerEvents-3UGDkq{pointer-events:auto}
-.wrapper-1BJsBx{-webkit-transition:background-color .1s ease-out,color .1s ease-out;transition:background-color .1s ease-out,color .1s ease-out}.childWrapper-anI2G9,.wrapper-1BJsBx{display:-webkit-box;display:-ms-flexbox;display:flex;width:48px;height:48px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.childWrapper-anI2G9{-webkit-transition:background-color .15s ease-out,color .15s ease-out;transition:background-color .15s ease-out,color .15s ease-out;background-color:var(--background-primary);color:var(--text-normal)}.wrapper-1BJsBx.selected-bZ3Lue .childWrapper-anI2G9,.wrapper-1BJsBx:hover .childWrapper-anI2G9{color:#fff;background-color:var(--brand-experiment)}.acronym-2mOFsV{font-weight:500;line-height:1.2em;white-space:nowrap}.icon-27yU2q{display:block;width:48px;height:48px;-o-object-fit:cover;object-fit:cover;pointer-events:none}
-.wrapper-3Njo_c{position:relative;width:72px}.wrapper-3Njo_c:active{-webkit-transform:translateZ(0);transform:translateZ(0)}.expandedFolderBackground-1cujaW{position:absolute;top:0;left:12px;bottom:8px;width:48px;border-radius:24px;-webkit-transition:background-color .15s ease-out;transition:background-color .15s ease-out;background-color:var(--background-secondary)}.expandedFolderBackground-1cujaW.collapsed-2ZrjoL,.expandedFolderBackground-1cujaW.collapsed-2ZrjoL.hover-qTxTR_{background-color:transparent}.folderIconWrapper-1_bOZe{border-radius:16px;overflow:hidden}.folder-1hbNCn,.folderIconWrapper-1_bOZe{width:48px;height:48px;-webkit-transition:background-color .15s ease-out;transition:background-color .15s ease-out}.folder-1hbNCn{cursor:pointer;background-color:var(--background-secondary)}.folder-1hbNCn.hover-qTxTR_{background-color:var(--background-primary)}.closedFolderIconWrapper-2sTcE6{width:48px;height:48px;padding:4px;-webkit-box-sizing:border-box;box-sizing:border-box;display:grid;grid-template:1fr 1fr/1fr 1fr;justify-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.folderIconPreview-3LyASS{border-radius:50%}.folderIconPreview-3LyASS .guildIcon-2Tpnad{background-color:transparent}.miniPlaceholder-25s1hF{width:15px;height:15px}.expandedFolderIconWrapper-Huv7rA{width:48px;height:48px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.guildIcon-2Tpnad{overflow:hidden;position:static}.guildIconUnavailable-3IYARS{width:16px;height:16px;border-radius:50%;font-size:8px;font-weight:700;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background:var(--background-primary);color:var(--header-primary);border:1px solid hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.blobContainer-pmnxKB:active{position:relative;-webkit-transform:translateY(1px) translateZ(0);transform:translateY(1px) translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.pill-1z4sAY{position:absolute;left:0;top:0}.sorting-3qFM8m{pointer-events:none}@-webkit-keyframes wobble-3KAYb_{0%,to{-webkit-transform:rotate(0);transform:rotate(0)}25%{-webkit-transform:rotate(2deg);transform:rotate(2deg)}75%{-webkit-transform:rotate(-2deg);transform:rotate(-2deg)}}@keyframes wobble-3KAYb_{0%,to{-webkit-transform:rotate(0);transform:rotate(0)}25%{-webkit-transform:rotate(2deg);transform:rotate(2deg)}75%{-webkit-transform:rotate(-2deg);transform:rotate(-2deg)}}.wobble-3KAYb_{-webkit-animation-name:wobble-3KAYb_;animation-name:wobble-3KAYb_;-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-transform-origin:50% 30%;transform-origin:50% 30%}
-.container-2QQFFz{padding:0 20px}.row-35Mhio{height:62px;position:relative;font-size:16px;line-height:20px}.row-35Mhio:hover .revokeInvite-2KlrFs{opacity:1}.row-35Mhio:after{content:"";position:absolute;bottom:-1px;left:-18px;right:-18px;height:1px;z-index:-1}.boostZIndex-15qgGS{z-index:2}.userColumn-3TGvQA{width:280px}.code-16ahh6{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;opacity:.6;font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace}.code-16ahh6,.username-xgZTi8{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.username-xgZTi8{font-weight:500;margin-left:8px}.avatar-Tg15I6{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:20px!important;height:20px!important}.discrimClass-dYDxPL{opacity:.6}.revokeInvite-2KlrFs{z-index:2;position:absolute;top:-12px;right:-31px;opacity:0;-webkit-transition:opacity .1s ease;transition:opacity .1s ease}.alignRight-1lRNxs{text-align:right}.countdown-2VKTMl{font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace}.theme-dark .row-35Mhio{color:#f6f6f7}.theme-dark .row-35Mhio:after{background-color:hsla(0,0%,100%,.04)}.theme-light .row-35Mhio{color:#4f545c}.theme-light .row-35Mhio:after{background-color:rgba(79,84,92,.04)}
-.pill-1Z5PKm{position:absolute;top:0;left:0}
-.modal-2Lmpu0{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;width:700px}.information-34_WSh{padding:20px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.body-3LnUjB{line-height:20px;margin-top:20px}.card-8mY5hz{padding:0 20px 20px;-ms-flex-negative:0;flex-shrink:0;width:400px;height:100%;background-color:#2f3136;border-radius:0 5px 5px 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:distribute;justify-content:space-around}.image-23YBsm{position:absolute;bottom:0;left:0;width:300px}
-.title-2sg2wH{margin-bottom:8px}.subtitle-1tsRgk{margin-bottom:24px}.img-14RJ4C{margin-bottom:20px;width:252px;height:168px}
-.checkbox-2isuxc{margin-right:8px}.errorMessage-1Zosc1{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.smsVerifyErrorMessage-1tY1Rc{margin:20px 0}.createAccountTemplateHeader-2nHsFv{color:var(--header-primary);font-size:24px;font-weight:600}.horizontalAuthBox-3g0z2L{width:960px}.flex-3GtgJ6{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.theme-light .smsVerifyCodeBox-gId9DB{color:#c7ccd1;background:#f8f9f9}.theme-dark .smsVerifyCodeBox-gId9DB{color:#b9bbbe;background:var(--background-mobile-primary)}.segmentControl-3pvqPk{margin-bottom:16px}.segmentControl-3pvqPk .segmentControlOptionSelected-3OpUdZ{border-bottom:2px solid var(--brand-experiment);font-weight:500}.theme-light .segmentControl-3pvqPk{border-bottom:2px solid #c7ccd1}.theme-dark .segmentControl-3pvqPk{border-bottom:2px solid #40444b}.segmentControlOption-qN207-{padding-bottom:16px;font-size:16px;position:relative;top:2px}.subtleLoginSwitcher-1nGw3h{margin-top:8px}
-.pill-3N7f9r{position:absolute;top:0;left:0}.downloadProgress-1G7zLO{position:relative;top:-2px;right:-2px}.homeIcon-FuNwkv{display:block;width:28px;height:20px}.tutorialContainer-2sGCg9{position:relative}
-.pendingIcon-3a0BH-{color:var(--text-normal)}
-.wrapper-3NnKdC{overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;width:72px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-negative:0;flex-shrink:0;position:relative;background-color:var(--background-tertiary)}.wrapper-3NnKdC.hidden-3dXt4k{width:0;visibility:hidden}.platform-osx .wrapper-3NnKdC{margin-top:32px}.tree-2wKJdG{display:-webkit-box;display:-ms-flexbox;display:flex;height:100%}.scroller-1Bvpku{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:12px 0 0;background-color:var(--background-tertiary);contain:layout size}.scroller-1Bvpku.scrolling-3wBKsn>*{pointer-events:none}.platform-win .scroller-1Bvpku{padding-top:4px}.platform-osx .scroller-1Bvpku{padding-top:0}.platform-overlay .scroller-1Bvpku{padding-top:12px}.unreadMentionsIndicatorBottom-2mDYbI,.unreadMentionsIndicatorTop-2-tcdU{position:absolute;left:0;right:0;z-index:10;overflow:hidden;padding:8px;height:40px;pointer-events:none;width:72px;-webkit-box-sizing:border-box;box-sizing:border-box}.unreadMentionsIndicatorTop-2-tcdU{padding-top:8px}.unreadMentionsIndicatorBottom-2mDYbI{padding-bottom:8px}.unreadMentionsBar-1Bu1dC:before{position:absolute;top:0;left:-8px;right:-8px;bottom:0;content:""}.unreadMentionsIndicatorTop-2-tcdU{top:0}.unreadMentionsIndicatorTop-2-tcdU .unreadMentionsBar-1Bu1dC:before{top:-8px}.unreadMentionsIndicatorBottom-2mDYbI{bottom:0}.unreadMentionsIndicatorBottom-2mDYbI .unreadMentionsBar-1Bu1dC:before{bottom:-8px}
-.page-AM7215{background-color:var(--background-floating);width:100%;height:100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.contentWrapper-3eBBQ_,.page-AM7215{display:-webkit-box;display:-ms-flexbox;display:flex}.contentWrapper-3eBBQ_{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;max-width:720px;max-height:640px;border-radius:4px;background-color:var(--background-primary)}.platform-osx .dragRegion-3YSHSw{-webkit-app-region:drag}.dragRegion-3YSHSw{position:absolute;top:0;left:0;width:100%;height:100px}
-.friendWrapper-2SrUFF{cursor:pointer;padding:1px 0;margin:0 4px 0 12px}.friend-3KALPe{border-radius:3px;-webkit-box-sizing:border-box;box-sizing:border-box;height:40px;padding:6px 8px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:15px;font-weight:500}.friend-3KALPe .avatar-vr5NCN{-ms-flex-negative:0;flex-shrink:0;margin:0}.friend-3KALPe .checkbox-22U-7-{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.friend-3KALPe .match-23yWrF{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.friend-3KALPe .nickname-O95uts{margin-right:4px}.friend-3KALPe .discordTag-X7dpau{opacity:.5}.theme-dark .friend-3KALPe{color:#b9bbbe}.theme-dark .friendSelected-1sa4bG{background-color:rgba(79,84,92,.3);color:#fff}.theme-light .friend-3KALPe{color:#72767d}.theme-light .friendSelected-1sa4bG{background-color:rgba(220,221,222,.3);color:#000}
-.popout-103y-5{width:440px}.searchBar-1Vaz-O .searchBarComponent-yxeVIL{-webkit-box-shadow:none;box-shadow:none;-webkit-box-flex:1;-ms-flex:1;flex:1}.searchBar-1Vaz-O .addButton-tsPCpZ{margin-left:8px}.subtitleWarning-11fCy8{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)!important}.noResults-ZTbl5V,.scroller-hUf6zQ{max-height:190px}.copyInput-fU5OcD{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.noBorder-3d42mF{border:none}.copyButton-1r9_ji{margin-right:4px;width:75px}.errorState-KkUH_2{padding:20px 20px 40px;font-weight:500;font-size:16px;line-height:20px;text-align:center}.errorState-KkUH_2.noResults-ZTbl5V{padding:0 48px}.errorStateIcon-3fNXE5{background-repeat:no-repeat;background-position:50%;background-size:cover}.notFriends-SkjxV- .errorStateIcon-3fNXE5{width:300px;height:129px}.noFriends-1fVUuM .errorStateIcon-3fNXE5{width:171px;height:86px}.partyFull-35IpOX .errorStateIcon-3fNXE5{width:181px;height:82px}.noResults-ZTbl5V .errorStateIcon-3fNXE5{width:85px;height:85px}.footerSeparator-M9dQY1{height:1px;margin:0 10px}.footer-1eyGBa{padding:20px}.weightMedium-3CtpYl{font-weight:500}.selectExistingFormHeader-2lvZyI{margin-top:16px;margin-bottom:8px}.confirmChannelItemContainer-26y0vz{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:8px;border-radius:4px}.confirmChannelName-2B0Rjy{font-weight:500;font-size:14px;margin-left:8px;color:var(--header-primary)}.lastActiveTimestamp-WmAhFE{margin-left:8px;color:var(--text-muted);font-size:12px;margin-top:2px}.confirmInviteScroller-2IX49p{max-height:160px;height:auto;margin-left:-8px}.confirmChannelItemContainer-26y0vz:hover{cursor:pointer;background-color:var(--background-modifier-hover)}.theme-dark .subtitle-2P4u9v{color:#b9bbbe}.theme-dark .errorState-KkUH_2{color:#72767d}.theme-dark .notFriends-SkjxV- .errorStateIcon-3fNXE5{background-image:url(/assets/4f86d7f58df32580164fc595377c0169.svg)}.theme-dark .noFriends-1fVUuM .errorStateIcon-3fNXE5{background-image:url(/assets/16bd6f7e8c2feedd7fa44d25013e687f.svg)}.theme-dark .partyFull-35IpOX .errorStateIcon-3fNXE5{background-image:url(/assets/f690b8a9cd33cda18e431d4717fff5ab.svg)}.theme-dark .noResults-ZTbl5V .errorStateIcon-3fNXE5{background-image:url(/assets/1eed0d895df6e35f164d8ed5e84037d2.svg)}.theme-dark .footerSeparator-M9dQY1{-webkit-box-shadow:0 -1px 0 hsla(0,0%,100%,.04);box-shadow:0 -1px 0 hsla(0,0%,100%,.04)}.theme-dark .footerText-3w69ae{color:#b9bbbe}.theme-light .subtitle-2P4u9v{color:#72767d}.theme-light .errorState-KkUH_2{color:rgba(185,187,190,.9)}.theme-light .notFriends-SkjxV- .errorStateIcon-3fNXE5{background-image:url(/assets/f93ba18cdc453c1237a7f26f418c07a7.svg)}.theme-light .noFriends-1fVUuM .errorStateIcon-3fNXE5{background-image:url(/assets/0e17b389a91d9a6394adf634360a8843.svg)}.theme-light .partyFull-35IpOX .errorStateIcon-3fNXE5{background-image:url(/assets/45f8f2fff41b2fb694ff780810fa3a96.svg)}.theme-light .noResults-ZTbl5V .errorStateIcon-3fNXE5{background-image:url(/assets/f899de04ecfface32db505c74a6fd351.svg)}.theme-light .footerSeparator-M9dQY1{-webkit-box-shadow:0 -1px 0 rgba(54,57,63,.1);box-shadow:0 -1px 0 rgba(54,57,63,.1)}.theme-light .footerText-3w69ae{color:#72767d}
-.inset-3sAvek,.outer-1AjyKL{border-radius:4px}.outer-1AjyKL{background-color:var(--activity-card-background)}.padded-302COx{padding:16px}.padded-302COx.inset-3sAvek{padding:12px}.interactive-3B9GmY{cursor:pointer}.theme-dark .outer-1AjyKL.active-1xchHY,.theme-dark .outer-1AjyKL.interactive-3B9GmY:hover{background-color:#18191c}.theme-dark .inset-3sAvek{background-color:#2f3136}.theme-light .inset-3sAvek{background-color:#ebedef}
-.card-2qZngs{text-align:center}.header-nbFv8R{margin-bottom:4px}.buttonContainer-3S4iWT{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:16px}.buttonContainer-3S4iWT>*{margin-bottom:8px}.buttonContainer-3S4iWT>:last-child{margin-bottom:0}
-.wrapper-3D2qGf{background-color:var(--background-secondary);border:1px solid var(--background-modifier-accent)}.overlay-2SwBN8{position:absolute;top:-1px;bottom:-1px;right:0;display:none;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:50px;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%}.overlay-2SwBN8:empty{padding-left:0}.headerOverlay-2mAFik,.sectionOverlay-2i3R5I,.twitchOverlay-CYlF3G{}.headerOverlay-2mAFik{right:32px}.section-2gLsgF{position:relative;padding:12px;border-radius:8px;background-color:var(--background-primary)}.clickableIcon-32gFJk{cursor:pointer}.sectionTitle-b-eawy{font-weight:600}.textContent-3N7xXx{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.separator-XqIyoz{height:1px}.separator-XqIyoz.inset-2ML61G{margin-left:12px;margin-right:12px}.header-211Syv{position:relative;display:grid;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:36px;grid-gap:12px}.headerFull-1dyyvV{grid-template-columns:32px minmax(20px,auto) 24px}.headerSimple-2n13P7{grid-template-columns:32px minmax(20px,auto)}.headerAvatar-2MDZJn{cursor:pointer}.headerIcon-10Jegm,.multipleIconWrapper-DfGWrz{display:block;width:24px;height:24px;justify-self:end;border-radius:8px}.multipleIconWrapper-DfGWrz{border-radius:50%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.multipleIcon-1oJINS{width:18px;height:18px}.body-1ld4H7{margin-top:12px;border-radius:8px}.body-1ld4H7 .separator-XqIyoz{margin-top:0;margin-bottom:0}.voiceSection-1uiU7a{display:grid;grid-template-columns:32px minmax(20px,auto) -webkit-max-content;grid-template-columns:32px minmax(20px,auto) max-content;grid-gap:12px}.voiceSection-1uiU7a,.voiceSectionAssets-1gjfmz{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.voiceSectionAssets-1gjfmz{position:relative;width:32px;height:32px;border-radius:50%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.voiceSectionDetails-2DQTfs{cursor:pointer}.voiceSectionDetails-2DQTfs:hover .voiceSectionText-vrWR1s{text-decoration:underline}.voiceSectionGuildImage-3HwnfL,.voiceSectionNoGuildImageWrapper-TicZR3{width:32px;height:32px;border-radius:50%;-webkit-mask:url(/assets/43ef95a06d48914382c9350e6e31ce1e.svg);mask:url(/assets/43ef95a06d48914382c9350e6e31ce1e.svg);-webkit-mask-size:100%;mask-size:100%;mask-type:luminance;cursor:pointer}.voiceSectionNoGuildImageWrapper-TicZR3{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.voiceSectionNoGuildImage-DSaGg-{display:inline-block;overflow:hidden}.voiceSectionIconWrapper-FO7UEY{width:16px;height:16px;border-radius:50%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;bottom:-2px;right:-2px}.voiceSectionIcon-1b3cOo{width:10px;height:10px}.applicationStreamingSection-1YWLV7{display:grid;grid-template-columns:32px minmax(20px,auto) -webkit-max-content;grid-template-columns:32px minmax(20px,auto) max-content;grid-gap:12px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.applicationStreamingAvatar-2iYCcz{cursor:pointer}.applicationStreamingPreviewWrapper-8QqvVY{margin-top:12px;cursor:pointer;border-radius:4px}.applicationStreamingPreviewWrapper-8QqvVY:hover .applicationStreamingHoverWrapper-31lOYj{opacity:1}.applicationStreamingPreviewSize-3NIvhL{height:100%;width:100%}.applicationStreamingHoverWrapper-31lOYj{-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;opacity:0;position:absolute;top:0;left:0;right:0;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer}.applicationStreamingHoverText-IEVyfS{background:rgba(0,0,0,.6);color:#fff;font-size:16px;font-weight:600;line-height:20px;padding:8px 20px;border-radius:20px}.xboxSection-Lw6vjc{display:grid;grid-template-columns:32px minmax(20px,auto);grid-gap:12px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.xboxSectionIcon-1Y8MqF{width:28px;height:28px;padding:2px}.twitchSection-1igfBl{min-height:32px}.twitchSectionHeader-2QggTa{position:relative;display:grid;grid-gap:12px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.twitchSectionSimple-3r5e1V{grid-template-columns:32px minmax(20px,auto)}.twitchSectionFull-2gHsjm{grid-template-columns:32px minmax(20px,auto) 24px}.twitchSectionIcon-3Vs9SA{width:32px;height:32px}.twitchSectionPlayButton-29EKzF{position:absolute;left:calc(50% - 16px);top:calc(50% - 16px);opacity:.75;cursor:pointer}.twitchSectionAvatar-lHNqxc{justify-self:end}.twitchSectionPreviewWrapper-28s2_4{margin-top:12px;cursor:pointer}.twitchSectionPreviewWrapper-28s2_4:hover .twitchSectionPlayButton-29EKzF{opacity:1}.twitchSectionPreview-Fjjwbv{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.gameSection-DL895r{display:grid;grid-template-columns:32px minmax(20px,auto) -webkit-max-content;grid-template-columns:32px minmax(20px,auto) max-content;grid-gap:12px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.gameSectionIcon-Q7MbAx{width:32px;height:32px;cursor:pointer}.activitySection-cEg8ae{display:grid;grid-template-columns:32px minmax(20px,auto);grid-gap:12px;-webkit-box-align:start;-ms-flex-align:start;align-items:start}.activitySectionAssets-32WyHu{position:relative;display:grid;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.activitySectionAssets-32WyHu .largeImageMask-KlyeCi{-webkit-mask:url(/assets/4ff8cb6b5b46bca3c6882c4f6d1c7390.svg);mask:url(/assets/4ff8cb6b5b46bca3c6882c4f6d1c7390.svg);-webkit-mask-size:100%;mask-size:100%;mask-type:luminance}.activitySectionAssets-32WyHu .largeImage-DLXk-f{width:32px;height:32px;border-radius:4px;-o-object-fit:cover;object-fit:cover}.activitySectionAssets-32WyHu .smallImage-1p6VYD{width:16px;height:16px;border-radius:50%;position:absolute;bottom:-4px;right:-4px}.spotifySection-2-AVOl{grid-template-columns:32px minmax(20px,auto) -webkit-max-content;grid-template-columns:32px minmax(20px,auto) max-content}.theme-dark .multipleIconWrapper-DfGWrz{background-color:#2f3136}.theme-dark .separator-XqIyoz{background-color:#292b2f}.theme-dark .voiceSectionNoGuildImageWrapper-TicZR3{background:#202225;color:#fff}.theme-dark .voiceSectionIconWrapper-FO7UEY{background-color:#18191c}.theme-dark .voiceSectionIcon-1b3cOo,.theme-dark .xboxSectionIcon-1Y8MqF{color:#b9bbbe}.theme-dark .applicationStreamingPreviewWrapper-8QqvVY{background-color:#292b2f}.theme-light .voiceSectionNoGuildImageWrapper-TicZR3{background:#9099a4;color:#fff}.theme-light .multipleIconWrapper-DfGWrz,.theme-light .separator-XqIyoz{background-color:hsl(210,calc(var(--saturation-factor, 1)*11.1%),92.9%)}.theme-light .voiceSectionIconWrapper-FO7UEY{background:hsl(210,calc(var(--saturation-factor, 1)*9.8%),80%)}.theme-light .voiceSectionIcon-1b3cOo{color:hsl(215,calc(var(--saturation-factor, 1)*9.7%),34.3%)}.theme-light .xboxSectionIcon-1Y8MqF{color:#b9bbbe}.theme-light .applicationStreamingPreviewWrapper-8QqvVY{background-color:#f8f9f9}
-.wrapper-3m_mRm{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.partyMembers-id_l4H,.wrapper-3m_mRm{display:-webkit-box;display:-ms-flexbox;display:flex;height:24px}.partyMember-1CzxeX{width:24px;height:24px;display:inline-block;margin-left:-2px;-webkit-mask:url(/assets/16f17f1916fb411b98e44008b2535a83.svg);mask:url(/assets/16f17f1916fb411b98e44008b2535a83.svg);-webkit-mask-size:100%;mask-size:100%;mask-type:luminance}.partyMemberKnown-3Ee9hc{cursor:pointer}.partyMember-1CzxeX:first-child{margin-left:0}.partyMember-1CzxeX:last-child{-webkit-mask:none;mask:none}.partyMemberEmpty-ra2xl3,.partyMemberUnknown-fwK2DC{}.partyMemberUnknown-fwK2DC{width:24px;height:24px;border-radius:50%;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.partyMemberUnknownIcon-1eDbV6{width:16px;height:16px;border-radius:50%}.partyMemberOverflow-lXnzvu{height:24px;min-width:24px;padding:0 4px;margin-left:-2px;font-weight:600;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:12px;color:var(--header-secondary);background-color:var(--background-secondary)}.theme-dark .partyMemberBackground-3XOgDv,.theme-dark .partyMemberUnknown-fwK2DC{background-color:#4f545c}.theme-dark .partyMemberUnknownIcon-1eDbV6{color:#72767d}.theme-light .partyMemberBackground-3XOgDv,.theme-light .partyMemberUnknown-fwK2DC{background-color:#ebedef}.theme-light .partyMemberUnknownIcon-1eDbV6{color:#c7ccd1}
-.memberItem-3VdCg9{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:6px 8px;min-height:24px}.avatar-2Gkk10{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-right:8px}.avatar-2Gkk10,.unknown-1xMjV9{width:24px;height:24px}.unknown-1xMjV9{background-size:24px 24px}.theme-dark .unknown-1xMjV9{background-image:url(/assets/c2e09a95e595bfb12fa040d56ca27db5.svg)}.theme-light .unknown-1xMjV9{background-image:url(/assets/ae64c288e355d4d6aff832d4c16b5662.svg)}
-.itemCard-v9viV7{margin-top:8px;border-radius:8px}.itemCard-v9viV7:first-of-type{margin-top:0}.homepagePadding-hWnsD8{padding-left:16px;padding-top:16px;font-weight:700}.emptyCard-1RJw8n{background:var(--background-primary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border-radius:8px;padding:16px}.emptyHeader-3lmLcs{margin-bottom:4px}.emptyText-2zjpZr{color:var(--interactive-normal)}.popout-38lTFE{width:200px;height:auto;border-radius:8px;padding:8px 16px}.theme-light .popout-38lTFE{background-color:#fff;border:1px solid #e3e5e8;-webkit-box-shadow:inset 0 0 0 0 #e3e5e8,0 8px 16px rgba(0,0,0,.16);box-shadow:inset 0 0 0 0 #e3e5e8,0 8px 16px rgba(0,0,0,.16)}.theme-dark .popout-38lTFE{background-color:#18191c;-webkit-box-shadow:0 8px 16px rgba(0,0,0,.24);box-shadow:0 8px 16px rgba(0,0,0,.24)}
-.scroller-2ZPeAD{padding:16px;height:100%;border-left:1px solid var(--background-modifier-accent);margin-left:2px}.container-lRFx4q{background-color:var(--background-primary);height:100%}.header-2SF4Nh{font-family:var(--font-display);margin:8px 0 16px;font-weight:700}
-.wrapper-1cBijl{margin:13px 0;position:relative;border-radius:8px;border:1px solid var(--deprecated-text-input-border);background-color:var(--deprecated-text-input-bg);padding:0 16px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:52px}.wrapper-1cBijl .btn{margin:0!important;padding:7px 16px!important}.wrapper-1cBijl .btn:disabled{background-color:var(--brand-experiment);color:#fff;opacity:.5;pointer-events:none}.addFriendInput-4bcerK{-webkit-box-flex:1;-ms-flex:1;flex:1;color:var(--text-normal);padding:0;border:none;margin-right:16px;z-index:1;line-height:52px}.addFriendInput-4bcerK::-webkit-input-placeholder{color:var(--interactive-muted)}.addFriendHint-3Y70FX{cursor:text;color:var(--interactive-muted);position:absolute;top:0;left:16px;line-height:52px;pointer-events:none}.addFriendHint-3Y70FX,.addFriendInput-4bcerK{font-size:16px;font-weight:500;letter-spacing:.04em;white-space:pre;background-color:transparent}.ring-1u5L9a{border-radius:8px}
-.friendsEmpty-1K9B4k{position:absolute;top:0;bottom:0;left:0;right:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}
-.sectionHeader-20RGqu{-webkit-box-flex:row;-ms-flex:row;flex:row}.addInputWrapper-1BOZ3d,.sectionHeader-20RGqu{display:-webkit-box;display:-ms-flexbox;display:flex}.addInputWrapper-1BOZ3d{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:8px 30px;-ms-flex-negative:0;flex-shrink:0}.header-1-dBpZ{font-weight:700;font-size:16px;text-transform:uppercase;margin:9px 0;color:var(--header-primary)}.emptyState-2i1-FW{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.description-1EvxpH{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:5px 0;font-size:14px;font-weight:500;line-height:17px;color:var(--text-normal);-webkit-box-flex:1;-ms-flex:1;flex:1}.theme-dark .description-1EvxpH.error-3T-E-_,.theme-light .description-1EvxpH.error-3T-E-_{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-dark .description-1EvxpH.success-t0oxXf,.theme-light .description-1EvxpH.success-t0oxXf{color:var(--text-positive)}.theme-dark .sectionHeader-20RGqu{border-bottom:1px solid rgba(0,0,0,.2)}.theme-light .sectionHeader-20RGqu{border-bottom:1px solid rgba(0,0,0,.1)}
-.actionButton-uPB8Fs{cursor:pointer;width:36px;height:36px;border-radius:50%;color:var(--interactive-normal);background-color:var(--background-secondary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-left:10px}.actionButton-uPB8Fs.highlight-Lf97TE{background-color:var(--background-tertiary)}.actionButton-uPB8Fs:first-child{margin-left:0}.actionButton-uPB8Fs:hover{color:var(--interactive-hover)}.actionButton-uPB8Fs:active{background-color:var(--background-modifier-active);color:var(--interactive-active)}.actionButton-uPB8Fs.disabled-CPGw4b{opacity:.3;pointer-events:none}.actionButton-uPB8Fs.actionAccept-LV-szU:hover{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)!important}.actionButton-uPB8Fs.actionDeny-de_uKj:hover{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)!important}.icon-35-fSh{width:20px;height:20px}
-.peopleListItem-2nzedh{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-left:30px;margin-right:20px;font-weight:500;font-size:16px;line-height:20px;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;border-top:1px solid var(--background-modifier-accent)}.peopleListItem-2nzedh.active-rhSpJJ+.peopleListItem-2nzedh,.peopleListItem-2nzedh:hover+.peopleListItem-2nzedh{border-color:transparent}.peopleListItem-2nzedh.active-rhSpJJ,.peopleListItem-2nzedh:hover{background:var(--background-modifier-hover);-webkit-box-shadow:none;box-shadow:none;border-radius:8px;border-color:transparent;margin:0 10px 0 20px;padding:16px 10px}
-.userInfo-2zN2z8{display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.avatar-3W3CeO{margin:0 12px 0 0;-ms-flex-negative:0;flex-shrink:0}.text-37NqbO{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.subtext-24R4-w{color:var(--header-secondary);font-size:12px}.discordTag-2_tqUA{overflow:hidden;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.username-31C1TQ{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--header-primary);font-weight:600}.discriminator-22Okc1{font-size:14px;line-height:16px;visibility:hidden;color:var(--header-secondary)}.hovered-15FzL3 .discriminator-22Okc1{visibility:visible}
-.listItemContents-BUaJR_{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 1 100%;flex:0 1 100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}
-.activity-2myFBH{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.text-3MU_QQ{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:14px}.customStatusEmoji-1o3-7b{margin-right:4px;width:16px;height:16px}
-.listItemContents-95HL3L{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;max-width:100%}.actions-1SQwjn,.listItemContents-95HL3L{display:-webkit-box;display:-ms-flexbox;display:flex}.actions-1SQwjn{margin-left:8px}
-.listItemContents-2w6nwE{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 1 100%;flex:0 1 100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.userInfo-3bsjnc{-webkit-box-flex:0;-ms-flex:0 0 260px;flex:0 0 260px}.tableHeader-2HiNhG{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;border-bottom:1px solid var(--background-secondary);padding:16px 30px 8px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0}.tableHeaderText-lC53gO{color:var(--header-secondary)}.mutualGuilds-2fYAPr{display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:13px;width:200px}@media (max-width:1040px){.mutualGuilds-2fYAPr{display:none}}.mutualGuilds-2fYAPr a+a{margin-left:6px}.moreMutualGuildsBtn-2jTflt{width:30px;height:30px;border-radius:50%;-ms-flex-negative:0;flex-shrink:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--header-secondary);-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:6px;font-size:11px;font-weight:700;cursor:pointer}.actions-FAbeWr,.moreMutualGuildsBtn-2jTflt{display:-webkit-box;display:-ms-flexbox;display:flex}.actions-FAbeWr{margin-left:auto}.theme-dark .moreMutualGuildsBtn-2jTflt:hover{color:#fff;border-color:hsla(0,0%,100%,.6)}.theme-light .moreMutualGuildsBtn-2jTflt:hover{color:#000;border-color:rgba(0,0,0,.6)}
-.title-30qZAO{margin:16px 20px 8px 30px;color:var(--header-secondary)}
-.emptyStateContainer-2HsLQm{position:relative;width:100%;height:100%}.peopleList-3c4jOR{padding-bottom:8px;margin-top:8px}
-.container-1D34oG{width:100%;overflow:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.container-1D34oG,.inviteToolbar-3F-l2g{display:-webkit-box;display:-ms-flexbox;display:flex}@media (max-width:940px){.inviteToolbar-3F-l2g{display:none}}.peopleColumn-29fq28{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.nowPlayingColumn-2sl4cE{-webkit-box-flex:0;-ms-flex:0 1 30%;flex:0 1 30%;min-width:360px;max-width:420px;background:var(--background-secondary)}.nowPlayingScroller-2XrVUt{padding:16px;max-height:100%}.consentCard-1iSxB_{margin-bottom:16px}.tabBar-ZmDY9v .badge-1Skb69{margin-left:8px}.tabBar-ZmDY9v .item-3HknzM{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center;min-width:40px;-webkit-app-region:no-drag}.tabBar-ZmDY9v .item-3HknzM,.tabBody-3YRQ8W{display:-webkit-box;display:-ms-flexbox;display:flex}.tabBody-3YRQ8W{height:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;position:relative;overflow:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.tabBody-3YRQ8W:before{content:"";position:absolute;display:block;top:-1px;left:0;right:0;height:1px;-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low);z-index:1;pointer-events:none}@media (max-width:1200px){.nowPlayingColumn-2sl4cE{display:none}}.theme-dark .container-1D34oG{background-color:#36393f}.theme-light .container-1D34oG{background-color:#fff}
-.container-G4Iil7{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-bottom:1px solid var(--background-modifier-accent)}.avatar-3FSiro{height:20px!important;width:20px!important;margin:8px 8px 8px 16px}
-.container-3yC5sj{padding:0 8px;height:48px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-top:1px solid var(--background-modifier-accent);border-bottom-left-radius:8px;border-bottom-right-radius:8px}.icon-29krgh{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.icon-29krgh,.listeningText-2DLvOV{margin-left:8px}.connectingText-1X2DnX{margin-left:8px;font-weight:600}.leaveButton-3Z5D-N{margin-left:auto;margin-right:8px}
-.theme-dark .container-S9SaVf{background-color:var(--background-secondary)}.theme-light .container-S9SaVf{background-color:var(--background-primary);-webkit-box-shadow:0 4px 4px rgba(0,0,0,.08);box-shadow:0 4px 4px rgba(0,0,0,.08)}.container-S9SaVf{margin:8px;max-width:640px;width:90%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:8px;cursor:pointer;border:1px solid var(--background-modifier-accent);-webkit-transition:border-color .5s;transition:border-color .5s}.container-S9SaVf:hover{background-color:var(--background-secondary-alt)}@-webkit-keyframes placeholderPulse-3MG86Y{0%{opacity:1}50%{opacity:.2}to{opacity:1}}@keyframes placeholderPulse-3MG86Y{0%{opacity:1}50%{opacity:.2}to{opacity:1}}.loading-2PktB_{-webkit-animation:placeholderPulse-3MG86Y 1s ease-in-out infinite;animation:placeholderPulse-3MG86Y 1s ease-in-out infinite;background-color:var(--background-tertiary);min-height:140px;border:none}.connected-2MF1ew{border-color:var(--status-positive-background)}
-.container-1WCE6w{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:32px}.container-1WCE6w,.icons-2wALEG{display:-webkit-box;display:-ms-flexbox;display:flex}.icons-2wALEG{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.star-2uNoZO{-ms-flex-item-align:end;align-self:flex-end}.stage-2UKqZE{background-color:var(--background-tertiary);color:var(--interactive-active);border-radius:8px;padding:8px;margin:8px}.plus-GIkx48{-ms-flex-item-align:start;align-self:flex-start}.title-2TmeU7{margin-bottom:4px}.button-1h8W6d,.title-2TmeU7{margin-top:16px}
-.container-2rNpDV{background-color:#4a55cb;width:90%;max-width:640px;border-radius:8px;margin:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative}.illustration-h6_gtD{max-width:280px;width:50%;height:auto;border-radius:8px;-ms-flex-item-align:end;align-self:flex-end}.content-1cqZ_C{padding:32px 32px 32px 0;width:55%}.body-3MGQWc{margin-top:12px;color:#fff;white-space:pre-wrap}.body-3MGQWc,.header-3g0E_g{text-align:end}.icon-xp84qZ{right:16px;top:16px;position:absolute;cursor:pointer}@media (max-width:1000px){.illustration-h6_gtD{width:40%}}
-.container-3u4ndt{height:100%;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.header-3YnDzJ{font-weight:700;margin:8px 0 4px}.subheader-2RpfyZ{margin-bottom:8px}
-.container-24CyRY{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.headerContainer-1Wluzl{margin:24px 16px 8px;max-width:640px;width:90%}.pageHeader-3nuK1W{font-weight:700;font-family:var(--font-display);text-align:left}.inNetworkFooter-1Ar7aa{margin:0 20px;border-bottom:1px solid var(--background-modifier-accent)}
-.container-1a3EgQ{width:100%;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.headerBarContainer-31FKNA{background-color:var(--background-primary);-webkit-box-shadow:0 1px 1px rgba(0,0,0,.2);box-shadow:0 1px 1px rgba(0,0,0,.2)}.button-3r13ck{margin-left:8px}.pageContent-1xgXch{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;width:100%;height:100%}.pageContent-1xgXch,.stageSection-3mAD8V{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;overflow:hidden}.stageSection-3mAD8V{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;background:var(--background-primary)}.nowPlayingSidebar-2OFn0o{-webkit-box-flex:0;-ms-flex:0 1 30%;flex:0 1 30%;min-width:360px;max-width:420px}@media (max-width:1200px){.nowPlayingSidebar-2OFn0o{display:none}}
-.wrapper-1vl07G{padding:16px 240px 16px 70px;width:100%;position:fixed;bottom:0;left:0;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:1;margin:0;height:90px}.content-xg2sa4,.wrapper-1vl07G{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.subHeader-2Z2O3W{margin-top:8px}.image-13pySt{height:110px;margin-left:-10px;margin-right:16px;margin-bottom:16px}.buttonContainer-2bppvf{display:-webkit-box;display:-ms-flexbox;display:flex}.button-1MWE0_{-ms-flex-negative:0;flex-shrink:0;margin-left:12px}@media (max-width:1000px){.image-13pySt{display:none}.wrapper-1vl07G{padding:16px 70px}}@media (max-width:550px){.subHeader-2Z2O3W{display:none}}.theme-dark .wrapper-1vl07G{background-color:rgba(4,4,5,.8);color:#b9bbbe}.theme-dark .header-jCWbCG{color:#f6f6f7}.theme-light .wrapper-1vl07G{background-color:rgba(246,246,247,.8);color:#4f545c}.theme-light .header-jCWbCG{color:#2e3338}
-.modal-3SaIF0{white-space:pre-wrap;word-wrap:break-word;margin-top:16px;width:calc(100% - 20px);height:calc(100% - 32px);border-radius:8px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}@media (min-width:600px){.modal-3SaIF0{margin-top:32px;max-width:780px;width:calc(100% - 80px);height:calc(100% - 64px);max-height:800px;margin-right:22px}}.header-2BX45q{padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.closeButton-3sommQ{position:absolute;top:6px;right:0;z-index:1;width:32px;height:32px;color:var(--interactive-normal);cursor:pointer}.closeButton-3sommQ:hover{color:var(--interactive-hover)}.closeButton-3sommQ:active{color:var(--interactive-active)}.updateBadge-3EKJEV{display:none;position:absolute;top:-19px;left:-44px;width:88px;height:88px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-weight:700;background:url(/assets/2da087637693ad611a1ac582115eea91.svg)}@media (min-width:600px){.updateBadge-3EKJEV{display:-webkit-box;display:-ms-flexbox;display:flex}}.updateBadgeText-f1PbSt{color:#000;-webkit-transform:rotate(-30deg);transform:rotate(-30deg)}.content-RXzE-X{border-bottom-left-radius:8px;border-bottom-right-radius:8px;padding:32px;color:var(--text-normal);font-size:16px;line-height:20px}.content-RXzE-X .emoji{-o-object-fit:contain;object-fit:contain;width:22px;height:22px}.content-RXzE-X h1{margin-top:32px;line-height:30px;font-size:24px;color:var(--header-primary)}.content-RXzE-X h1,.content-RXzE-X h2,.content-RXzE-X strong{font-weight:700;color:var(--header-primary)}.content-RXzE-X h4{font-size:20px;line-height:24px;margin-top:32px;color:var(--header-primary)}.content-RXzE-X em,.content-RXzE-X h4,.content-RXzE-X i{font-style:italic}.content-RXzE-X p+p{margin-top:10px}.content-RXzE-X ol{margin:16px 0 16px 16px}.content-RXzE-X ol li{color:var(--text-normal);font-size:16px;line-height:20px;list-style-type:decimal;margin-bottom:8px;margin-left:20px}.content-RXzE-X ul{margin:20px 0 8px 20px}.content-RXzE-X ul ul{margin-top:8px}.content-RXzE-X ul li{color:var(--text-normal);font-size:16px;line-height:20px;position:relative;list-style:none;margin-bottom:8px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.content-RXzE-X ul li:last-child{margin-bottom:0}.content-RXzE-X ul li:before{content:"";position:absolute;top:10px;left:-15px;width:6px;height:6px;margin-top:-4px;margin-left:-3px;border-radius:50%;opacity:.3}.content-RXzE-X ul li li:before{top:12px;height:2px;border-radius:0}.content-RXzE-X img{width:100%}.content-RXzE-X a{color:var(--text-link);-webkit-transition:.05s;transition:.05s;text-decoration:none}.content-RXzE-X a:hover{text-decoration:underline}.content-RXzE-X::-webkit-scrollbar-track-piece:start{margin-top:6px}.content-RXzE-X::-webkit-scrollbar-track-piece:end{margin-bottom:6px}@media (min-width:600px){.content-RXzE-X{padding:32px}}.theme-dark .modal-3SaIF0{background-color:#2e3338}.theme-dark .content-RXzE-X ul li:before{background-color:#e3e5e8}.theme-light .content-RXzE-X ul li:before{background-color:#72767d}
-.container-3icKsq p>img,.image-17cWYY{border-radius:5px}.video-3XTjG6{margin:-40px auto 24px;-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high)}.header-2DNSXx,.video-3XTjG6,.video-3XTjG6>a,.video-3XTjG6>iframe{border-radius:8px}.header-2DNSXx{-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}@media (min-width:768px){.header-2DNSXx{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}.headerGraphic-2iKD27{min-width:650px;width:100%}.headerGraphic-2iKD27:after{background:url(/assets/f3406f9daf47b7e260971de90b01edbb.png) 50%/contain no-repeat;content:"";display:block;height:0;padding-bottom:33.43465%}.headerContent-2ePP2Q{left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.headerText-ZVZ4bX{font-weight:700}.dateText-DM8xBj,.headerText-ZVZ4bX{color:#fff;position:relative}.dateText-DM8xBj{margin-top:2px;font-style:italic}.headerLeftImage-3O0NaS{left:0;background:url(/assets/df8ac223535f4aaca900e0dfd4c06516.png) 50%/contain no-repeat;border-bottom-left-radius:8px}.headerLeftImage-3O0NaS,.headerRightImage-2PAuBe{position:absolute;bottom:0;width:180px;height:220px}.headerRightImage-2PAuBe{right:0;background:url(/assets/7257dc66059fff2be1bc43c379edefda.png) 50%/contain no-repeat;border-bottom-right-radius:8px}.footer-1lnhms{background:var(--background-floating) url(/assets/6812ba2237fb14b9fe6eb53134874f5c.png) no-repeat bottom/343px 78px;margin:32px 16px 16px;padding:16px 16px 142px;border-radius:9px;-webkit-box-shadow:0 8px 16px rgba(0,0,0,.1);box-shadow:0 8px 16px rgba(0,0,0,.1);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}@media (min-width:768px){.footer-1lnhms{background:var(--background-floating) url(/assets/ef3f462cc3c68b5b86ae1c296799370f.png) no-repeat 100% 100%/238px 220px;min-height:208px;margin:32px 28px 16px;padding:16px;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;text-align:left}}.footerCTAFallbackText-3fRBqA,.footerCTAFallbackText-3fRBqA a{color:var(--text-normal)}a.ctaAnchor-3-8I3v:hover{text-decoration:none}.copyButton-IOQPbV .ctaAnchor-3-8I3v{color:#fff}.inviteCTAHeader-2FN3Cg{font-weight:700;color:var(--header-primary)}@media (min-width:768px){.inviteCTAHeader-2FN3Cg{max-width:320px}}.inviteCTABody-aBkXvh{margin-top:8px;margin-bottom:16px;max-width:296px;color:var(--text-normal)}@media (min-width:768px){.inviteCTABody-aBkXvh{max-width:320px}}.body-2hl0pA{margin:0 16px}@media (min-width:600px){.body-2hl0pA{margin:0 28px}}.urlToCopy-2HOnvi{margin-top:8px}
-.modal-3O0aXp{font-size:13px;white-space:pre-wrap;word-wrap:break-word;width:490px;max-height:800px}.content-s2SEQO{font-size:16px;line-height:20px}.content-s2SEQO .emoji{-o-object-fit:contain;object-fit:contain;width:22px;height:22px}.content-s2SEQO h1{line-height:20px;font-size:16px}.content-s2SEQO h1,.content-s2SEQO h2,.content-s2SEQO strong{font-weight:700}.content-s2SEQO em,.content-s2SEQO i{font-style:italic}.content-s2SEQO p+p{margin-top:10px}.content-s2SEQO ol{margin:16px 0 16px 16px}.content-s2SEQO ol li{list-style-type:decimal;margin-bottom:8px;margin-left:20px}.content-s2SEQO ul{margin:20px 0 8px 20px}.content-s2SEQO ul ul{margin-top:8px}.content-s2SEQO ul li{position:relative;list-style:none;margin-bottom:8px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.content-s2SEQO ul li:last-child{margin-bottom:0}.content-s2SEQO ul li:before{content:"";position:absolute;top:10px;left:-15px;width:6px;height:6px;margin-top:-4px;margin-left:-3px;border-radius:50%;opacity:.3}.content-s2SEQO ul li li:before{top:12px;height:2px;border-radius:0}.content-s2SEQO img{width:100%}.content-s2SEQO a{color:hsl(197,calc(var(--saturation-factor, 1)*100%),47.8%);-webkit-transition:.05s;transition:.05s;text-decoration:none}.content-s2SEQO a:hover{text-decoration:underline}.theme-dark .content-s2SEQO ol,.theme-dark .content-s2SEQO p,.theme-dark .content-s2SEQO ul li{color:#b9bbbe}.theme-dark .content-s2SEQO ul li:before{background-color:#dcddde}.theme-light .content-s2SEQO ol,.theme-light .content-s2SEQO p,.theme-light .content-s2SEQO ul li{color:#72767d}.theme-light .content-s2SEQO ul li:before{background-color:#72767d}
-.video-1FESK-{border-radius:3px}.container-1_ClKi{padding-bottom:20px}.container-1_ClKi p>img,.image-2WjK2f{border-radius:5px}.title-18Xx5z{font-weight:700;font-size:16px;line-height:20px;text-transform:uppercase}.lead-EXTwq7{margin-bottom:20px;border-radius:5px}.added-2hLRj3,.fixed-3zCC84,.improved-1NJK-y,.progress-YsDrV-{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:40px}.added-2hLRj3.marginTop-2incQ6,.fixed-3zCC84.marginTop-2incQ6,.improved-1NJK-y.marginTop-2incQ6,.progress-YsDrV-.marginTop-2incQ6{margin-top:20px}.added-2hLRj3:after,.fixed-3zCC84:after,.improved-1NJK-y:after,.progress-YsDrV-:after{content:"";height:1px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;margin-left:4px;opacity:.6}.added-2hLRj3{color:var(--text-positive)}.added-2hLRj3:after{background-color:var(--info-positive-foreground)}.fixed-3zCC84{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.fixed-3zCC84:after{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.progress-YsDrV-{color:var(--text-warning)}.progress-YsDrV-:after{background-color:var(--info-warning-foreground)}.improved-1NJK-y{color:hsl(227,calc(var(--saturation-factor, 1)*58.4%),65.1%)}.improved-1NJK-y:after{background-color:hsl(227,calc(var(--saturation-factor, 1)*58.4%),65.1%)}.footer-SqIiQ_{display:-webkit-box;display:-ms-flexbox;display:flex}.socialLink-3n2n25{margin-right:16px}.premiumBanner-rP6H1S{background-image:-webkit-gradient(linear,right top,left top,from(hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%)),to(hsl(228,calc(var(--saturation-factor, 1)*86.7%),70.6%)));background-image:linear-gradient(270deg,hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%),hsl(228,calc(var(--saturation-factor, 1)*86.7%),70.6%));color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:5px;font-size:16px;line-height:18px;padding:16px}.premiumBanner-rP6H1S .premiumIcon-2tjl0P{-ms-flex-negative:0;flex-shrink:0;margin-right:16px;width:36px;height:36px}.theme-dark .date-1k6kG2{color:#b9bbbe}.theme-dark .video-1FESK-{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 2px 10px 0 rgba(0,0,0,.2)}.theme-dark .socialLink-3n2n25{color:#b9bbbe}.theme-dark .improved-1NJK-y{color:hsl(227,calc(var(--saturation-factor, 1)*57.9%),77.6%)}.theme-dark .improved-1NJK-y:after{background-color:hsl(227,calc(var(--saturation-factor, 1)*57.9%),77.6%)}.theme-light .date-1k6kG2{color:#72767d}.theme-light .video-1FESK-{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.1);box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}.theme-light .socialLink-3n2n25{color:#4f5660}
-.container-3RCQyg{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;border-width:0;border-bottom:1px solid;border-color:var(--background-modifier-accent);padding-bottom:16px;margin:16px}.header-3uLluP{font-weight:700;margin:8px 0}.description-1sDbzZ{color:var(--header-secondary)}.emptyChannelIcon-cc932w{width:68px;height:68px;margin-top:16px;border-radius:50%;background-color:var(--background-accent);background-image:url(/assets/a9847a74a2dac6e2b2958b195a8dad96.svg);background-repeat:no-repeat;background-position:50%}.emptyChannelIcon-cc932w.locked-1jf7pL{background-image:url(/assets/5551facc96157d81da521c30c5859850.svg)}
-.container-3zqIcM{padding:16px 16px 0}.container-3zqIcM,.inner-3GZ54g{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.inner-3GZ54g{max-width:400px}.titleName-3-Lp3Z{text-align:center;font-weight:700}.titleName-3-Lp3Z p{margin:0}.subtitle-2UIIw0{margin-top:8px;margin-bottom:12px;text-align:center}.subtitle-2UIIw0.noChildren-1pQQQE{margin-bottom:0}.cardWrapper-2R6-SX{-ms-flex-item-align:stretch;align-self:stretch}.card-3RzMcx{margin-top:8px;padding:16px;border-radius:8px;background-color:var(--background-secondary-alt);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;cursor:pointer;-webkit-transition:background-color .1s ease-in-out;transition:background-color .1s ease-in-out}.card-3RzMcx:hover{background-color:var(--background-modifier-hover)}.completed-13TrxW .cardHeader-2Wz67Q,.completed-13TrxW .icon-2ou77m,.completed-13TrxW .playCircleWrapper-2wNttI{opacity:.6}.icon-2ou77m{width:40px;height:40px;min-width:40px;min-height:40px;background-size:contain;background-repeat:no-repeat}.playCircleWrapper-2wNttI{background-color:var(--brand-experiment);border-radius:50%;display:-webkit-box;display:-ms-flexbox;display:flex;width:24px;height:24px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:6px 5px 6px 7px;margin:2px}.playCircleIcon-274lgc{width:26px;height:26px}.cardHeader-2Wz67Q{margin-left:16px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;font-weight:600}.checkmark-3rush5{padding:4px;border-radius:50%;background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);color:#fff}.checkmark-3rush5.animate-_rBhnd{-webkit-animation:completed-13TrxW .8s;animation:completed-13TrxW .8s}@-webkit-keyframes completed-13TrxW{0%{-webkit-transform:scale(.8);transform:scale(.8);background-color:var(--interactive-muted)}20%{-webkit-box-shadow:0 0 0 0 hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,.5);box-shadow:0 0 0 0 hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,.5)}60%{-webkit-transform:scale(1.2);transform:scale(1.2);background-color:hsl(139,calc(var(--saturation-factor, 1)*85.6%),64.5%)}to{-webkit-transform:scale(1);transform:scale(1);-webkit-box-shadow:0 0 0 8px hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,0);box-shadow:0 0 0 8px hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,0)}}@keyframes completed-13TrxW{0%{-webkit-transform:scale(.8);transform:scale(.8);background-color:var(--interactive-muted)}20%{-webkit-box-shadow:0 0 0 0 hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,.5);box-shadow:0 0 0 0 hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,.5)}60%{-webkit-transform:scale(1.2);transform:scale(1.2);background-color:hsl(139,calc(var(--saturation-factor, 1)*85.6%),64.5%)}to{-webkit-transform:scale(1);transform:scale(1);-webkit-box-shadow:0 0 0 8px hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,0);box-shadow:0 0 0 8px hsla(139,calc(var(--saturation-factor, 1)*47.3%),43.9%,0)}}.arrow-3bRNiS{justify-self:flex-end;color:var(--interactive-normal)}
-.emptyWrapper-NIq2Vh{max-width:340px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:auto}.emptyImage-3vux8F{width:200px}.emptyTitle-30_Om3{text-align:center;margin:16px 0 8px}.emptySubtitle-B4JMbX{text-align:center;margin-bottom:16px}.emptyCTA-5YWKYX{padding:12px 16px}
-.searchBox-3Y2Vi7{position:relative;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:18px;padding-right:16px;border-radius:3px;border:1px solid transparent}.searchBox-3Y2Vi7:focus,.searchBox-3Y2Vi7:focus-within{border-color:var(--brand-experiment)}.searchBox-3Y2Vi7 .searchBoxInput-uJtBcv{border:none;font-size:18px;font-weight:500;padding:12px;background:transparent;height:auto}.searchBox-3Y2Vi7 .searchBoxInput-uJtBcv::-webkit-input-placeholder{font-weight:500}.searchBox-3Y2Vi7 .searchBoxInput-uJtBcv::-moz-placeholder{font-weight:500}.searchBox-3Y2Vi7 .searchBoxInput-uJtBcv:-ms-input-placeholder{font-weight:500}.searchBox-3Y2Vi7 .searchBoxInput-uJtBcv::placeholder{font-weight:500}.searchBoxInputWrapper-nKncfu{-webkit-box-flex:1;-ms-flex:1;flex:1}.cta-BiH9zX{margin-right:8px}.clear-U3WkKp{line-height:0}.clearIcon-2N9YIn{cursor:pointer;-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate(90deg);transform:rotate(90deg);color:var(--interactive-normal)}.clearIcon-2N9YIn:hover{color:var(--interactive-hover)}.clear-U3WkKp:focus,.clearIcon-2N9YIn:focus{color:var(--interactive-active)}.searchIcon-1a1-yA{-ms-flex-negative:0;flex-shrink:0;-webkit-transition:color .2s ease;transition:color .2s ease}.clearIcon-2N9YIn,.searchIcon-1a1-yA{width:1.4em;height:1.4em}.theme-light .searchBox-3Y2Vi7{background-color:#fff;-webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,.2);box-shadow:0 2px 5px 0 rgba(0,0,0,.2)}.theme-light .searchBox-3Y2Vi7 .searchBoxInput-uJtBcv::-webkit-input-placeholder{color:#72767d}.theme-light .searchBox-3Y2Vi7 .searchBoxInput-uJtBcv::-moz-placeholder{color:#72767d}.theme-light .searchBox-3Y2Vi7 .searchBoxInput-uJtBcv:-ms-input-placeholder{color:#72767d}.theme-light .searchBox-3Y2Vi7 .searchBoxInput-uJtBcv::placeholder{color:#72767d}.theme-light .searchIcon-1a1-yA{color:rgba(79,84,92,.6)}.theme-light .filterLabel-2yQNPl{color:#000}.theme-dark .searchBox-3Y2Vi7{background-color:#4f545c;-webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,.2);box-shadow:0 2px 5px 0 rgba(0,0,0,.2)}.theme-dark .searchBox-3Y2Vi7 .searchBoxInput-uJtBcv::-webkit-input-placeholder{color:hsla(0,0%,100%,.3)}.theme-dark .searchBox-3Y2Vi7 .searchBoxInput-uJtBcv::-moz-placeholder{color:hsla(0,0%,100%,.3)}.theme-dark .searchBox-3Y2Vi7 .searchBoxInput-uJtBcv:-ms-input-placeholder{color:hsla(0,0%,100%,.3)}.theme-dark .searchBox-3Y2Vi7 .searchBoxInput-uJtBcv::placeholder{color:hsla(0,0%,100%,.3)}.theme-dark .searchIcon-1a1-yA{color:hsla(0,0%,100%,.3)}.theme-dark .filterLabel-2yQNPl{color:#b9bbbe}
-.card-Rhm0MB{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1;flex:1;height:260px;overflow:hidden;border-radius:8px;position:relative;background-color:var(--background-secondary)}.addEntryCard-11Q874{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--background-primary);border:2px dashed var(--text-muted);border-radius:4px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer}.addEntryCard-11Q874:hover{background-color:var(--background-modifier-hover)}.addEntryCard-11Q874:active{background-color:var(--background-modifier-active)}.addServerText-2TmEN2{margin-top:8px;font-weight:600}.cardHeader-3v6rH5{height:40px;position:relative;display:block;overflow:visible;margin-bottom:36px}.splash-1FJLsm{display:block;position:absolute;top:0;left:0;background-color:var(--background-secondary-alt)}.splash-1FJLsm,.splashImage-1C2uTN{width:100%;height:100%}.splashImage-1C2uTN{-o-object-fit:cover;object-fit:cover}.guildIcon-1AUMvx{position:absolute;top:20px;left:12px}.icon-36l7g2{background-color:var(--background-primary)}.overflowMenu-2UV1_r{cursor:pointer;color:var(--interactive-normal);position:absolute;right:16px;bottom:-24px}.overflowMenu-2UV1_r:hover{color:var(--interactive-hover)}.overflowMenu-2UV1_r:active{color:var(--interactive-active)}.iconMask-IeE9AR{padding:4px;background-color:var(--background-secondary)}.avatar-2WIa21{width:100%;height:100%}.guildInfo-3-Pgjr{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:stretch;align-content:stretch;padding:0 16px 16px;overflow:hidden}.guildInfo-3-Pgjr,.title-2oCVO0{display:-webkit-box;display:-ms-flexbox;display:flex}.title-2oCVO0{-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;font-weight:600}.guildBadge-1RgyZQ{-webkit-box-flex:0;-ms-flex:0 0 16px;flex:0 0 16px;width:16px;height:16px;margin-right:4px;margin-left:-2px}.guildName-2Ipq5G{white-space:nowrap}.description-1_YF9b,.guildName-2Ipq5G{overflow:hidden;text-overflow:ellipsis}.description-1_YF9b{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;margin:4px 0 16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.memberInfo-2WkeNQ{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.memberCount-2ZlGu3,.memberInfo-2WkeNQ{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.memberCount-2ZlGu3{font-size:12px;line-height:16px;margin-right:16px}.memberCount-2ZlGu3:last-child{margin-right:0}.statusDot-K0W5Iz{border-radius:50%;width:8px;height:8px;margin-right:4px;-ms-flex-negative:0;flex-shrink:0}.dotOnline-1Bn2aj{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.dotOffline-1OauLD{background-color:#b9bbbe}.joinButton-1EMfcs{margin-top:16px}
-.pageContainer-1x6lGh{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:var(--background-primary)}.scroller-1m6Rtg{padding:32px}.cardsContainer-1FCJbh{padding:24px 0;display:grid;grid-gap:16px;grid-template-columns:repeat(auto-fill,minmax(248px,1fr))}.spinner-eESxPG{margin-top:56px}
-.header-1PwRG9{position:relative;text-align:center;min-width:650px;min-height:200px}.headerImage-3pwkCG{display:inherit;border-radius:8px;width:100%;-o-object-fit:contain;object-fit:contain;min-width:650px}.searchTitle-3LfThw{color:#fff}.searchSubtitle-2qRUsG{color:#fff;margin-top:8px;margin-bottom:8px}.headerContentWrapper-2kkRy-{position:absolute;top:0;left:0;bottom:0;right:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.headerContent-1HfSPQ{width:100%;min-width:360px;max-width:720px;margin:0 240px}.headerContent-1HfSPQ .searchBox-2R4IbA{border-radius:8px;background-color:#fff;padding-right:8px}.headerContent-1HfSPQ .searchBox-2R4IbA:focus,.headerContent-1HfSPQ .searchBox-2R4IbA:focus-within{-webkit-box-shadow:0 0 0 1px hsl(227,calc(var(--saturation-factor, 1)*58.4%),65.1%),0 0 0 2px hsl(227,calc(var(--saturation-factor, 1)*58.4%),65.1%),0 0 0 3px hsl(227,calc(var(--saturation-factor, 1)*58.4%),65.1%);box-shadow:0 0 0 1px hsl(227,calc(var(--saturation-factor, 1)*58.4%),65.1%),0 0 0 2px hsl(227,calc(var(--saturation-factor, 1)*58.4%),65.1%),0 0 0 3px hsl(227,calc(var(--saturation-factor, 1)*58.4%),65.1%);border-color:transparent}.headerContent-1HfSPQ .searchBox-2R4IbA .searchBoxInput-E9B4FK{font-size:16px;padding:8px;color:#2e3338}.headerContent-1HfSPQ .searchBox-2R4IbA .searchBoxInput-E9B4FK::-webkit-input-placeholder{color:hsl(214,calc(var(--saturation-factor, 1)*9.9%),50.4%)}.headerContent-1HfSPQ .searchBox-2R4IbA .searchBoxInput-E9B4FK::-webkit-input-placeholder,.headerContent-1HfSPQ .searchBox-2R4IbA .searchBoxInput-E9B4FK::placeholder{color:hsl(214,calc(var(--saturation-factor, 1)*9.9%),50.4%)}.searchBox-2R4IbA .closeIcon-gJtlxl{color:#4f5660;width:24px;height:24px}.searchBox-2R4IbA .closeIcon-gJtlxl:hover{color:#2e3338}.searchBox-2R4IbA .closeIcon-gJtlxl:focus{color:#060607}.searchBox-2R4IbA .searchIcon-1EWivs{color:rgba(79,84,92,.6)}
-.searchHeader-1FrjMT{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.searchHeader-1FrjMT .searchPageBox-2SLwyN{-webkit-box-sizing:border-box;box-sizing:border-box;margin-top:16px;width:100%;background-color:var(--background-tertiary);border-radius:8px}.searchPageBox-2SLwyN .searchPageInput-1Tzz2-{padding:8px}.headerTitleWrapper-EsTOCE{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.arrow-18xGWB{cursor:pointer;color:var(--interactive-normal)}.arrow-18xGWB:hover{color:var(--interactive-hover)}.arrow-18xGWB:focus{color:var(--interactive-active)}.searchPageTitle-2dL153{margin-left:12px;color:var(--text-muted)}.searchPageTitle-2dL153 strong{color:var(--header-primary)}.emptySearchWrapper-33LoYA{-webkit-box-flex:1;-ms-flex:1;flex:1;background-color:var(--background-secondary);border-radius:8px;margin:24px 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:92px 0}.emptySearchImage-3P2xTj{width:120px}.emptySearchTitle-2kwsQd{margin-top:28px}.emptySearchSubtitle-3OQvxA{margin-top:8px}
-.formHeaderContainer-3q1-XI{padding:24px 16px 0;overflow:visible;text-align:center;white-space:break-spaces}.formContent-2H_v0k{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;justify-items:center;padding:24px 0 0}.formFooter-1gE60f{margin:20px 0 0}.formImage-1w5Q-K{width:80px;height:80px;background-size:100%;background-repeat:no-repeat;background-position:50%;background-image:url(/assets/5338d8f3fef87e5052ac24789aa46453.svg)}.formSubHeader-3VaaCi{margin:8px 0 0}.formHeader-2pj06R{margin:16px 0 0}
-.searchIndexAnimation-UMrQlU{position:relative;width:320px;height:280px}.searchIndexBackground-HQa_J9,.searchIndexForeground-2JZI-e{position:absolute;top:0;left:0;width:100%;height:100%}.background-3L9vjg,.magnifyingGlass-2UrCit,.mask-2MEvVp{-webkit-transform-origin:center;transform-origin:center}.mask-2MEvVp{width:80px;height:80px}.theme-light .searchIndexBackground-HQa_J9{background-image:url(/assets/f9b7cc1482468c130d968400ba20f598.svg)}.theme-dark .searchIndexBackground-HQa_J9{background-image:url(/assets/e695cb4a18202a6053674a346e6ba4c2.svg)}
-.searchHeader-2XoQg7{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-tertiary);-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;height:56px;padding:16px;position:relative;z-index:2}.helpdeskLink-3VCFM5{color:var(--interactive-normal)}.helpdeskLink-3VCFM5:hover{color:var(--interactive-hover);text-decoration:underline}.totalResults--dyAxF,.totalResultsWrapper-1nPIgl{display:-webkit-box;display:-ms-flexbox;display:flex}.totalResults--dyAxF{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;font-weight:600;padding-right:1px}.spinnerWrapper-3hIs5I{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0;flex:0;height:16px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-left:8px;stroke:var(--text-normal);width:16px}.spinner-1E004m{height:100%;width:100%}.spinnerPath-2gCaLq{stroke:var(--text-normal)}.tab-2j5AEF{-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--interactive-normal);cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;font-weight:500;height:24px;margin-right:8px;padding:0 8px;text-align:center}.tab-2j5AEF:hover{background-color:var(--background-modifier-hover)}.tab-2j5AEF:active,.tab-2j5AEF:hover{color:var(--interactive-active)}.tab-2j5AEF:active{background-color:var(--background-modifier-active)}.tab-2j5AEF.selected-2LAck8{background-color:var(--background-modifier-selected);color:var(--interactive-active)}.tab-2j5AEF:last-of-type{margin-right:0}.theme-dark .tab-2j5AEF.selected-2LAck8{background-color:var(--background-accent)}
-.container-NdaZbY{color:var(--header-primary)}
-.container-2j2llN{position:relative}.searchResult-9tQ1uo{background-color:var(--background-primary);border-radius:8px;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;margin-bottom:8px;overflow:hidden}.message-1Ng5AR{padding:6px 0}.buttonsContainer-7PA8hy{display:none;position:absolute;right:8px;top:8px}.container-2j2llN:focus-within .buttonsContainer-7PA8hy,.container-2j2llN:hover .buttonsContainer-7PA8hy{display:-webkit-box;display:-ms-flexbox;display:flex}.button-11zvza{background-color:var(--background-tertiary);border-radius:3px;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--header-secondary);cursor:pointer;font-size:12px;font-weight:500;height:24px;line-height:16px;margin-left:6px;padding:4px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}.button-11zvza:hover{color:var(--interactive-hover)}.button-11zvza:active{color:var(--interactive-active);-webkit-transform:translate3d(0,1px,0);transform:translate3d(0,1px,0)}
-.searchResultGroup-1DphGG{margin-bottom:24px}.channelName-1JRO3C{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:var(--background-secondary);color:var(--header-primary);cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;font-weight:600;margin-bottom:8px;overflow:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;z-index:1}.channelName-1JRO3C:hover{text-decoration:underline}.channelNameIcon-27Cx1g{-ms-flex-negative:0;flex-shrink:0;padding-right:4px}.resultsBlocked-3a77lQ{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-secondary-alt);border-radius:3px;border:1px solid var(--background-tertiary);color:var(--text-muted);cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:14px;padding:6px 18px}.resultsBlocked-3a77lQ:hover{color:var(--text-normal)}.resultsBlockedImage-2aDVMx{height:32px;margin-right:20px;width:32px}.theme-dark .resultsBlockedImage-2aDVMx{background-image:url(/assets/7490848d1fcddf075abeb71e2d1aaff3.svg)}.theme-light .resultsBlockedImage-2aDVMx{background-image:url(/assets/5394ee87ee70ed19baa541daa689210c.svg)}
-.searchResultsWrap-3-pOjs{width:418px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:relative;overflow:hidden;background-color:var(--background-secondary)}.scroller-3GIiMh{padding:16px 16px 0}.emptyResultsWrap-G931-Q{-webkit-box-flex:1;-ms-flex:1;flex:1;height:100%;-webkit-box-sizing:border-box;box-sizing:border-box;padding:20px;font-size:16px;font-weight:500;line-height:24px;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--text-normal)}.emptyResultsContent-3ez0g8{margin:auto;position:relative;padding-bottom:40px}.emptyResultsText-3mouZA{margin:40px auto 0;font-size:16px;font-weight:500}.stillIndexing-K2usQX{width:300px}.noResultsImage-3Y0eCI{}.errorImage-12Q43V,.noResultsImage-3Y0eCI{width:160px;height:160px;margin:0 auto}.errorMessage-3TqJbP{width:300px}.noResults-sW1yWR{width:280px}.noResults-sW1yWR.alt-3EpRdH{width:200px}.theme-dark .noResultsImage-3Y0eCI{background-image:url(/assets/af4424ffab53593f696947192ff1854a.svg)}.theme-dark .noResultsImage-3Y0eCI.alt-3EpRdH{background-image:url(/assets/f0a2cc54695a7064a1f02e5ca8b95ccc.svg)}.theme-dark .errorImage-12Q43V{background-image:url(/assets/29462d0b6c33d2ed874aa982f6f99326.svg)}.theme-light .noResultsImage-3Y0eCI{background-image:url(/assets/3e0be9639d8d4f7fee2266ec79a9af90.svg)}.theme-light .noResultsImage-3Y0eCI.alt-3EpRdH{background-image:url(/assets/53a5882c841b71e9786d6f84c21f8018.svg)}.theme-light .errorImage-12Q43V{background:url(/assets/a96ad48450382ff5df965439222d1459.svg)}
-.base-gE7OpD{position:absolute;bottom:1px;left:16px;right:16px;height:24px;font-size:14px;font-weight:500;line-height:24px;resize:none;overflow-y:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--text-normal)}.base-gE7OpD strong{font-weight:700}.base-gE7OpD .text-1y-e8-{display:block;min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-left:4px}.base-gE7OpD .ellipsis-19qdx6{display:block;margin-left:9px}.base-gE7OpD .cooldownWrapper-3joyFc{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:auto;white-space:nowrap;overflow:hidden}.base-gE7OpD .slowModeIcon-1BPDC_{display:block;margin-left:4px}.typing-2GQL18{}.activityInviteEducation-8C0Czp{opacity:0;z-index:1}.activityInviteEducationFadeIn-1MAMAO{opacity:1}.activityInviteEducationArrow-3DEpKU{background-repeat:no-repeat;background-size:12px 10px;display:inline-block;margin:0 2px 0 24px;width:15px;height:15px}.theme-dark .activityInviteEducationArrow-3DEpKU{background-image:url(/assets/ba018cf9baa19824316dc4c2beb080a4.svg)}.theme-light .activityInviteEducationArrow-3DEpKU{background-image:url(/assets/4b89ef91230382c6b96b00748a084c75.svg)}
-.applicationCommandEducation-2jAJ0B{opacity:0;z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.applicationCommandEducationFadeIn-1g7fXy{opacity:1}.applicationCommandEducationPrompt-1IxFoc{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.applicationCommandEducationArrow-1DVDdr{background-size:12px 10px;margin:0 2px 0 58px;width:15px;height:15px}.applicationCommandEducationArrow-1DVDdr,.applicationCommandEducationInfo-2QWJXK{background-repeat:no-repeat;display:inline-block;-webkit-box-flex:0;-ms-flex:none;flex:none}.applicationCommandEducationInfo-2QWJXK{background-size:13px;margin-right:2px;width:13px;height:13px}.theme-dark .applicationCommandEducationArrow-1DVDdr{background-image:url(/assets/ba018cf9baa19824316dc4c2beb080a4.svg)}.theme-dark .applicationCommandEducationInfo-2QWJXK{background-image:url(/assets/15d29d2bd92671eb08d3c54a4b2fa0f1.svg)}.theme-light .applicationCommandEducationArrow-1DVDdr{background-image:url(/assets/4b89ef91230382c6b96b00748a084c75.svg)}.theme-light .applicationCommandEducationInfo-2QWJXK{background-image:url(/assets/c50e2c5c57a6a8baf28a543c9dfbe52a.svg)}
-.chat-1cCjJ5{min-width:0;min-height:0;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;position:relative}.chat-1cCjJ5:before{content:"";position:absolute;display:block;top:-1px;left:0;right:0;height:1px;-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low);z-index:1;pointer-events:none}.messagesWrapper-2Nta7M{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-height:0;min-width:0;z-index:0}.messagesWrapper-2Nta7M,.scroller-36cuUh{display:-webkit-box;display:-ms-flexbox;display:flex}.scroller-36cuUh{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.scrollerInner-1JzK65{min-height:0}.formSection-33c8Tg{margin-top:16px}.checkbox-2db6gx{color:var(--interactive-normal)}.checkbox-2db6gx:hover{color:var(--interactive-hover)}.checkbox-2db6gx:active{color:var(--interactive-active)}.privateThreadDescription-3_57Hi{margin-top:8px}.chat-1cCjJ5 .select-25Azxp{display:inline-grid;padding:0 2px 0 4px;background-color:var(--background-tertiary);border:none}.chat-1cCjJ5 .select-25Azxp>svg{background-color:var(--background-primary);border-radius:4px;height:18px;margin-left:8px;width:18px}.form-3eU9kJ{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:0;position:relative;width:100%}.channelTextArea-3O-WhA{background-color:var(--background-primary)}.channelTextAreaInner-1WnnRS{background-color:var(--deprecated-text-input-bg);border:1px solid var(--deprecated-text-input-border);border-radius:3px;max-height:none}.submitContainer-g72mF-{-ms-flex-negative:0;flex-shrink:0}.submitButton-10dlpk{height:44px;margin:0 16px 24px;width:calc(100% - 32px)}.messagePreview-3WlsGw{padding-bottom:24px!important}
-.iconWrapper-L3hQuc{width:64px;height:64px;margin-top:16px;border-radius:50%;background-color:var(--background-accent);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.icon-3kbkI0{color:#fff;width:32px;height:32px}.subtitle-1pSyEh{margin-bottom:2px}.threadCreatorName-2hRnz-{color:var(--header-primary);font-weight:600}.threadCreatorName-2hRnz-:hover{cursor:pointer;text-decoration:underline}.autoArchiveDuration-3TU5Qi{color:var(--header-primary)}.textDivider-2fG1vS{display:inline-block;margin:0 8px;width:4px;height:4px;border-radius:50%;background-color:var(--background-accent);vertical-align:middle}
-.icon-iDUzSK{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.count-bFJRJm{margin-left:4px}.icon-iDUzSK:hover .count-bFJRJm{color:var(--interactive-hover)}.browser-2NpbWS{-webkit-box-shadow:var(--elevation-stroke),var(--elevation-high);box-shadow:var(--elevation-stroke),var(--elevation-high);min-height:400px;max-height:80vh;max-width:600px;min-width:480px;width:35vw;overflow:hidden}
-.strikethrough-otdQWt{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.subHeader-27gFHC{font-weight:700;font-size:12px;text-transform:uppercase}.preview-yX6Nx7{border:1px solid;pointer-events:none}.textArea-1ZhGKi{}.theme-dark .subHeader-27gFHC{color:#72767d}.theme-dark .preview-yX6Nx7{border-color:#202225}.theme-light .subHeader-27gFHC{color:#72767d}.theme-light .preview-yX6Nx7{border-color:#dcddde}
-.menu-1NyPgn{min-width:200px;max-width:none}.optionLabel-gOA3fK{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:-webkit-min-content;width:-moz-min-content;width:min-content;font-size:12px}.optionIcon-1HDcpY{width:24px;height:24px}.optionName-uM5yH-{margin-left:8px}.tipSubtext-10zY2N{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.tipIcon-1pF2H_{margin:0 4px}
-.attachWrapper-2TRKBi{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-item-align:stretch;align-self:stretch}.attachButton-2WznTc,.attachWrapper-2TRKBi{position:-webkit-sticky;position:sticky}.attachButton-2WznTc{height:44px;padding:10px 16px;top:0}.attachButtonInner-PQjIyk{height:24px}.attachButtonPlus-jWVFah{-webkit-transform-origin:50% 50%;transform-origin:50% 50%;width:24px;height:24px;fill:var(--interactive-normal)}.attachButton-2WznTc:hover .attachButtonPlus-jWVFah{fill:var(--interactive-hover)}.attachButtonPlay-3iJ0mf{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.attachPopout-36hjtN{border-radius:8px;min-width:200px;padding:8px;font-size:0.75rem;font-weight:500;background-color:var(--background-floating);-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high)}.attachPopoutRow-3iqqu1{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:8px;cursor:pointer;border-radius:3px;-webkit-transition:background-color .2s ease;transition:background-color .2s ease;color:var(--interactive-normal)}.attachPopoutRow-3iqqu1:hover{color:var(--interactive-hover);background-color:var(--background-modifier-hover)}.attachPopoutRowText-2R5RC2{margin-left:8px}.attachPopoutIcon-1QXhWW{width:24px;height:24px}.uploadInput-1XtQef{position:relative;width:0;height:0;pointer-events:none}
-.wrapper-1F5TKx{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;word-wrap:break-word;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:1rem;background-color:var(--background-primary);contain:paint layout;overflow:hidden}.compact-3Dy1Ya.wrapper-1F5TKx{padding-top:.125rem;padding-bottom:.125rem}.cozy-12kSNU.wrapper-1F5TKx{padding-left:4.5rem}.a11y-font-scaled-up .cozy-12kSNU.wrapper-1F5TKx{padding-left:72px}.compact-3Dy1Ya .contents-1R-xLu{display:-webkit-box;display:-ms-flexbox;display:flex;height:1.375rem;overflow:hidden;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-left:5rem}.compact-3Dy1Ya .contents-1R-xLu .content-2LZomT{display:contents}.cozy-12kSNU .content-2LZomT{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:1.375rem;overflow:hidden;-ms-flex-wrap:wrap;flex-wrap:wrap;text-indent:0}.compact-3Dy1Ya .content-2LZomT{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;display:inline}.blob-2w7iIK{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;height:1rem;line-height:1.375rem;vertical-align:middle;margin-top:.1875rem}.cozy-12kSNU .blob-2w7iIK{display:block}.hidden-3F3FRy{visibility:hidden}.compact-3Dy1Ya .blob-2w7iIK{display:inline-block}.cozy-12kSNU .header-1oLBbW{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:1.375rem;overflow:hidden;-ms-flex-wrap:wrap;flex-wrap:wrap;line-height:1.375rem}.compact-3Dy1Ya .header-1oLBbW{margin-right:.5rem}.attachmentContainer-2BK1nK{padding-top:.125rem;padding-bottom:.125rem}.compact-3Dy1Ya .attachmentContainer-2BK1nK{margin-top:.25rem}.attachment-2p5mHK{margin-top:.125rem;height:120px;width:240px}.compact-3Dy1Ya .attachment-2p5mHK{margin-left:5rem}.blob-2w7iIK+.blob-2w7iIK{margin-left:.25rem}.header-1oLBbW .blob-2w7iIK+.blob-2w7iIK{margin-left:.5rem}.blob-2w7iIK{border-radius:.5rem}.attachment-2p5mHK{border-radius:6px}.attachment-2p5mHK,.avatar-2daVqv,.blob-2w7iIK{background-color:var(--text-normal)}.avatar-2daVqv{position:absolute;left:1rem;top:.25rem;width:2.5rem;height:2.5rem;max-width:40px;max-height:40px;border-radius:50%;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.a11y-font-scaled-up .avatar-2daVqv{left:16px;top:4px}.compactTimestamp-1eheHm{margin-left:-4rem;margin-right:.25rem}
-.wrapper-3vR61M{background-color:var(--background-primary);contain:strict;overflow:hidden}
-.wrapper-3_530D{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:1fr;justify-items:center;padding:4px 0 6px 2px}.button-F9qN4n,.wrapper-3_530D{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.button-F9qN4n{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:32px;height:32px;padding:4px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;cursor:pointer;border-radius:50%;background-color:var(--background-tertiary)}.button-F9qN4n:hover,.keyboard-mode .button-F9qN4n.focused-3ZzkKr{background-color:var(--background-secondary-alt)}.keyboard-mode .button-F9qN4n.focused-3ZzkKr{-webkit-box-shadow:0 0 0 2px var(--focus-primary);box-shadow:0 0 0 2px var(--focus-primary)}.icon-QGKz8T{width:20px;height:20px;display:block;-o-object-fit:contain;object-fit:contain}
-.container-1If-HZ{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;overflow:hidden;width:500px;height:440px}.container-1If-HZ,.scroller-1-nKid{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.scroller-1-nKid{padding:8px;width:90px}.reactors-Blmlhw{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:410px}.reactionDefault-GBA58K,.reactionSelected-1pqISm{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:1px;border-radius:2px;padding:0 4px;overflow:hidden}.reactionDefault-GBA58K{cursor:pointer}.emoji-236_Ij{padding:6px;width:1rem;height:1rem;min-width:auto;min-height:auto;vertical-align:middle;-o-object-fit:contain;object-fit:contain}.emojiText-271HfV{vertical-align:-3px;display:inline-block}.spinner-j8Y2Rh{width:100%;height:440px}.spinnerMore-3kGpfg{width:100%;height:44px}.reactor-3UBcOI{-webkit-box-sizing:border-box;box-sizing:border-box;height:44px;margin-left:10px;margin-right:2px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.reactorDefault-1IUqMZ,.reactorFinal-3Q2B0w{}.name-1ug6d4{text-overflow:ellipsis;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.nickname-miBZxb{line-height:17px}.username-Af3M5Y{font-weight:500}.tagFaded-WP86yt{padding-left:6px;opacity:.6}.discriminator-byOsvi{font-size:12px;-ms-flex-item-align:end;align-self:flex-end}.remove-3V-yj8{cursor:pointer;display:none;font-size:16px;opacity:.3;padding:3px;border-radius:3px}.remove-3V-yj8:hover{opacity:1}.reactor-3UBcOI:hover .remove-3V-yj8{display:inline-block}.theme-dark .container-1If-HZ,.theme-dark .reactors-Blmlhw{background-color:#36393f}.theme-dark .remove-3V-yj8{color:#b9bbbe}.theme-dark .remove-3V-yj8:hover{background-color:rgba(185,187,190,.1)}.theme-dark .scroller-1-nKid{background:#2f3136}.theme-dark .reactionSelected-1pqISm{background-color:rgba(79,84,92,.3)}.theme-dark .reactionDefault-GBA58K:hover{background-color:rgba(79,84,92,.1)}.theme-dark .reactorDefault-1IUqMZ{-webkit-box-shadow:inset 0 -1px 0 rgba(79,84,92,.3);box-shadow:inset 0 -1px 0 rgba(79,84,92,.3)}.theme-dark .discriminator-byOsvi{color:#72767d}.theme-light .container-1If-HZ,.theme-light .reactors-Blmlhw{background-color:#fff}.theme-light .remove-3V-yj8{color:#72767d}.theme-light .remove-3V-yj8:hover{background-color:rgba(114,118,125,.1)}.theme-light .scroller-1-nKid{background:null}.theme-light .reactionSelected-1pqISm{background-color:#dcddde}.theme-light .reactionDefault-GBA58K:hover{background-color:rgba(220,221,222,.3)}.theme-light .reactorDefault-1IUqMZ{-webkit-box-shadow:inset 0 -1px 0 rgba(185,187,190,.3);box-shadow:inset 0 -1px 0 rgba(185,187,190,.3)}.theme-light .discriminator-byOsvi{color:#b9bbbe}
-.wrapper-2aW0bm{background-color:var(--background-primary);-webkit-box-shadow:var(--elevation-stroke);box-shadow:var(--elevation-stroke);display:grid;grid-auto-flow:column;-webkit-box-sizing:border-box;box-sizing:border-box;height:32px;border-radius:4px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transition:-webkit-box-shadow .1s ease-out;transition:-webkit-box-shadow .1s ease-out;transition:box-shadow .1s ease-out;transition:box-shadow .1s ease-out,-webkit-box-shadow .1s ease-out;position:relative;overflow:hidden}.full-motion .wrapper-2aW0bm:hover{-webkit-box-shadow:var(--elevation-stroke),var(--elevation-medium);box-shadow:var(--elevation-stroke),var(--elevation-medium)}.button-1ZiXG9{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:24px;padding:4px;min-width:24px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;color:var(--interactive-normal);cursor:pointer;position:relative}.button-1ZiXG9:hover{color:var(--interactive-hover);background-color:var(--background-modifier-hover)}.button-1ZiXG9:active{padding-top:5px;padding-bottom:3px;color:var(--interactive-active);background-color:var(--background-modifier-active)}.button-1ZiXG9.selected-LCBEAU{color:var(--interactive-active);background-color:var(--background-modifier-selected)}.separator-42rNt0{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:1px;margin:0 4px;height:100%;background-color:var(--background-modifier-accent)}.button-1ZiXG9.disabled-1RZyKz,.button-1ZiXG9.disabled-1RZyKz:active,.button-1ZiXG9.disabled-1RZyKz:hover{opacity:.5;padding:4px;color:var(--interactive-normal);background-color:transparent;cursor:default}.button-1ZiXG9.dangerous-2r8KxV{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.button-1ZiXG9.dangerous-2r8KxV:hover{color:hsl(359,calc(var(--saturation-factor, 1)*82.2%),62.5%)}
-.container-3npvBV{position:absolute;right:0;z-index:1;top:-25px;padding:0 14px 0 32px}.isHeader-2dII4U{top:-16px}.icon-3Gkjwa{width:20px;height:20px;display:block;-o-object-fit:contain;object-fit:contain}
-.popout-6p6fkZ{-webkit-box-sizing:border-box;box-sizing:border-box;width:240px;padding:24px 16px;border-radius:8px;overflow:hidden;line-height:20px;text-align:center}.staffBadge-3NsEoM{background-image:url(/assets/2fe352b812131873800dd235dfcadfb2.svg);background-repeat:no-repeat;background-size:contain;background-position:50%;width:8px;height:8px}.nameWrapper-2D9_np{margin-top:16px}.header-NC1A_A{margin-left:8px}.description-1u26oc{margin-top:8px}.avatar-Ylrxl9{width:100px;height:100px;border-radius:16px}.theme-dark .popout-6p6fkZ{background-color:#202225;-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2),0 0 0 1px rgba(32,34,37,.6);box-shadow:0 2px 10px 0 rgba(0,0,0,.2),0 0 0 1px rgba(32,34,37,.6)}.theme-light .popout-6p6fkZ{background-color:#f8f9f9;-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2),0 0 0 1px rgba(185,187,190,.3);box-shadow:0 2px 10px 0 rgba(0,0,0,.2),0 0 0 1px rgba(185,187,190,.3)}
-.operations-36ENbA{padding:7px 0;font-size:12px;font-weight:400;text-indent:0;color:var(--text-normal)}.operations-36ENbA>a{color:var(--text-link);-webkit-transition:.05s;transition:.05s;text-decoration:none;cursor:pointer}.operations-36ENbA>a:hover{text-decoration:underline}@media (-webkit-max-device-pixel-ratio:1){.theme-light .operations-36ENbA{font-weight:500}}
-.container--XcPWC{max-width:350px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.tooltip-BPhxJN{-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high);background-color:var(--background-floating);color:#dcddde;border-radius:5px;font-size:16px;line-height:20px;padding:8px 12px;overflow-wrap:break-word}.tooltipPointer-lElcog{width:0;height:0;border:5px solid transparent;border-top:5px solid var(--background-floating);pointer-events:none;position:absolute;top:100%;left:50%;margin-left:-5px}.clickable-3AL_3x{cursor:pointer}.mention-z5tRxB{background:none;padding:0}.spinner-2_i11Y{width:16px;height:16px}
-.avatar-3z61ij{border-radius:50%}.avatar-3z61ij,.avatarMask-2SqW1n{width:24px;height:24px}.avatarMask-2SqW1n{margin-right:-4px}.avatarContainer-3cVycu{margin-right:8px}.avatarContainer-3cVycu,.container-1fnzfI{display:-webkit-box;display:-ms-flexbox;display:flex}.container-1fnzfI{margin-top:16px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.divider-3yU4s2{width:4px;height:4px;margin:0 16px;border-radius:50%;background-color:var(--background-accent)}.action-26D6fg{margin-right:8px}.mutualGuilds-3ESEpu{cursor:pointer;color:var(--interactive-normal)}.mutualGuilds-3ESEpu:hover{color:var(--interactive-hover)}.mutualGuilds-3ESEpu:active{color:var(--interactive-active)}
-.role-1P70N6{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:auto;padding:4px 8px;font-size:12px;line-height:16px;color:var(--interactive-active);background-color:var(--background-secondary-alt);border-radius:4px}.roleColor-fHISxl{display:inline-block;height:8px;width:8px;margin-right:4px;border-radius:50%}
-.button-Y95Muf{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.role-3UN8jj:hover{background-color:var(--background-modifier-hover)}.removeRole-qIOFzq{margin-left:6px}.removeRoleIcon-3cxu5j{fill:var(--interactive-normal);width:6px;height:6px}.role-3UN8jj:hover .removeRoleIcon-3cxu5j{fill:var(--interactive-hover)}
-.button-18p_f6{color:var(--text-link);margin-right:8px;padding:6px;border-radius:4px}.button-18p_f6:hover{background-color:var(--background-modifier-hover)}.buttonIcon-3PejT5{margin-right:6px}
-.popoutWrapper-2iuzmw{position:relative;left:-30px;width:200px;display:-webkit-box;display:-ms-flexbox;display:flex;max-height:40vh}.scroller-12C_OJ{border-radius:4px;padding:8px 16px;background-color:var(--background-floating)}.avatars-1uE2Po{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative}.avatar-Nt40nT{margin-left:-2px;-webkit-mask:url(/assets/c3101ba196157558e6bb60cdc66e13ad.svg);mask:url(/assets/c3101ba196157558e6bb60cdc66e13ad.svg);-webkit-mask-size:100%;mask-size:100%;mask-type:alpha}.avatar-Nt40nT:first-child{margin-left:0}.avatar-Nt40nT:last-child{-webkit-mask:none;mask:none}.overflow-zcSaC_{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 8px;font-size:12px;line-height:16px;width:auto;height:24px;border-radius:16px;background-color:var(--background-tertiary);color:var(--interactive-normal)}
-.members-2iaVuN{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:16px}.avatars-kJA12W,.members-2iaVuN{display:-webkit-box;display:-ms-flexbox;display:flex}.avatars-kJA12W{-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-right:12px;margin-bottom:6px}.singleUserName-3vezsa{margin-left:8px}.role-78i2xt{margin-right:6px;margin-bottom:6px}.role-78i2xt.last-2Vmb4e{margin-right:12px}.editRoleButton-3CjAQv{margin-bottom:6px}.editRoleButtonInner-1eZ2Nf{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:16px;color:var(--interactive-normal)}.channelSettingButtons-23CIRg{margin-top:16px}
-.buttonContainer-2GVjL_{margin-top:8px}
-.containerExpanded-3MGTRr{margin:20px;width:232px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.button-3QRWIM{width:100%;margin-top:24px}.containerCompact-18xElE{margin:20px 16px 0;text-align:center}.compactButton-195WSV,.compactButtonDisabled-1WXLm6,.containerCompact-18xElE{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.compactButton-195WSV,.compactButtonDisabled-1WXLm6{padding:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-tertiary);color:var(--header-primary);border-radius:32px}.compactButton-195WSV:hover{cursor:pointer;background-color:var(--background-secondary-alt)}.compactButtonDisabled-1WXLm6{cursor:not-allowed;opacity:.6}.text-3iVxFB{margin-inline:8px;font-weight:500}.error-2FUaRj{margin-top:8px}
-.messagesWrapper-1sRNjr{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-height:0;min-width:0;z-index:0}.messagesWrapper-1sRNjr,.scrollerContent-WzeG7R{display:-webkit-box;display:-ms-flexbox;display:flex}.scrollerContent-WzeG7R{overflow-anchor:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;min-height:100%}.scroller-2LSbBU{position:absolute;top:0;bottom:0;left:0;right:0}.scroller-2LSbBU::-webkit-scrollbar-track{margin-bottom:8px}.overlay .scroller-2LSbBU::-webkit-scrollbar-track{margin-bottom:0}.scrollerInner-2YIMLh{min-height:0}.scrollerSpacer-avRLaA{display:block;height:30px;width:1px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;pointer-events:none}.scrollerSpacer-avRLaA.empty-6MGttt{height:16px}.navigationDescription-3hiGKr{display:none}.overlay .scroller-2LSbBU:after{height:20px}.messages-2A2jgy{margin:0;overflow-x:hidden;background-color:var(--background-primary);contain:size}.scrollerWrap-3tDLUn{overflow:hidden;height:auto}.divider-2iuYRE+.messageGroupBlocked-18d86s{margin-top:12px}.highlight{background:hsla(38,calc(var(--saturation-factor, 1)*95.7%),54.1%,.3)}
-.chatHeaderBar-4vZS1x{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-secondary-alt);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:8px 16px}.narrow-1f-G-z{padding:12px 16px}.chatHeaderBarText-1_O_1M{-webkit-box-flex:1;-ms-flex:1;flex:1}.narrow-1f-G-z .nudgeBarText-H913yL{max-width:325px}.chatHeaderBarButton-UiIh3z{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:16px}.nudgeAction-3AY7i2:hover{cursor:pointer;text-decoration:underline}
-.wrapper-39oAo3{position:relative;z-index:1;border-radius:5px;margin-bottom:24px;padding:16px 0;width:100%;background-color:var(--background-tertiary)}.content-c_0cLD,.wrapper-39oAo3{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:20px}.content-c_0cLD{margin-left:16px}.image-3XsqGc{height:40px;margin-right:12px;margin-bottom:-8px;-ms-flex-item-align:end;align-self:flex-end}.animation-10aT2_{height:50px;width:50px;margin-top:4px;margin-left:-8px;margin-right:4px;-ms-flex-item-align:center;align-self:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-line-pack:center;align-content:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.text-2yjo70{max-height:40px}.text-2yjo70,.title-FVgbgL{overflow:hidden}.title-FVgbgL{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.button-1YxJv4{-ms-flex-negative:0;flex-shrink:0;margin-left:12px}.buttonContainer-3AU1Ij{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-right:12px}.countdown-1saXFt{color:var(--text-muted);margin-right:16px}
-.animationLeft-fJlcCc{position:absolute;height:auto;width:160px;left:-130px;top:-24px}.animationMiddle-ZfETtz{position:absolute;height:288px;width:295px;top:-200px;left:60px}.animationRight-dw5zDz{position:absolute;height:auto;width:140px;top:-60px;right:-75px}.animationContainer-WR_1ku{width:440px;position:relative}.header-2PVxw-{margin:108px 12px 12px 8px;text-align:center}.container-OhOeuR{margin-left:24px;margin-right:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.button-152dkf{margin:24px}
-.modal-SN2Box{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-sizing:border-box;box-sizing:border-box;width:400px;padding:32px;overflow:visible}.followSuccessHeader-1Lfr8S{font-weight:700}.image-1XD_iw{width:280px;margin-top:-96px;margin-bottom:0}.body-2EgyBy{margin:16px 0 32px;font-weight:500}.root-3izi7w{overflow:visible;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}
-.bottomMargin-3rKQFe{margin-bottom:16px}.topMargin-BmjSYK{margin-top:8px}.body-1nWvdt{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;text-align:center}.body-1nWvdt,.header-1pGpFt{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.header-1pGpFt{background-color:var(--background-tertiary);background-size:cover;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-top-right-radius:4px;border-top-left-radius:4px}.formMargin-f9sZDL{margin-bottom:24px}.noScroll-38vYzX{overflow:visible!important}.content-wjJP6h{z-index:2;padding-top:32px;font-weight:500}.guildOption-dBe3l5{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:500}.icon-n8WYF4{margin-right:8px;margin-left:2px}.channelContainer-1x3D6I{background-color:var(--background-secondary);border-radius:4px;margin-left:16px;max-width:320px;overflow:hidden}.channel-2PJTLY{background-color:var(--background-modifier-selected);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:8px}.channelName-2HcGlq{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:500}.channelIcon-3ci4bV{min-width:16px;color:var(--text-muted)}.theme-dark .header-1pGpFt{background-image:url(/assets/8ff5fffe28b93f25102eaf42da4e6e3b.svg)}.theme-light .header-1pGpFt{background-image:url(/assets/cfd069bf842ae4234bcab2096b34f331.svg)}
-.clickableChannelTextArea-390-mS{cursor:pointer}
-.chat-3bRxxu,.threadSidebar-1o3BTy{min-width:0;min-height:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:relative;overflow:hidden;background:var(--background-primary)}.chat-3bRxxu{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.chat-3bRxxu .uploadArea-1qnBZm{position:fixed}.chat-3bRxxu.threadSidebarOpen-vdkwIh{border-radius:0 8px 8px 0}.chat-3bRxxu.threadSidebarOpen-vdkwIh .uploadArea-1qnBZm{right:max(calc(29vw + 8px),400px + 8px);width:auto;border-radius:0 8px 8px 0}.threadSidebar-1o3BTy{width:29vw;min-width:400px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:8px;border-radius:8px 0 0 8px}@media (max-width:1150px){.threadSidebar-1o3BTy{position:absolute;top:0;right:0;bottom:0;z-index:100;border-left:1px solid var(--background-secondary);-webkit-filter:drop-shadow(0 8px 40px rgba(0,0,0,.32));filter:drop-shadow(0 8px 40px hsla(0,0%,0%,.32))}.chat-3bRxxu.threadSidebarOpen-vdkwIh .uploadArea-1qnBZm{right:400px;border-radius:0}}.form-2fGMdU{position:relative;-ms-flex-negative:0;flex-shrink:0;padding-left:16px;padding-right:16px;margin-top:-8px}.form-2fGMdU:before{content:"";position:absolute;top:0;left:0;height:.5rem;width:1.25rem}.theme-dark .form-2fGMdU:before{background:-webkit-gradient(linear,left top,left bottom,from(rgba(54,57,63,0)),to(var(--background-primary)));background:linear-gradient(180deg,rgba(54,57,63,0) 0,var(--background-primary))}.theme-light .form-2fGMdU:before{background:-webkit-gradient(linear,left top,left bottom,from(hsla(0,0%,100%,0)),to(var(--background-primary)));background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,var(--background-primary))}.chatContent-a9vAAp{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-width:0;min-height:0;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.cursorPointer-1j7DL8{cursor:pointer}.content-yTz4x3{min-width:0;min-height:0;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;position:relative}.content-yTz4x3.noChat-9aipKz{overflow:hidden}.content-yTz4x3:before{content:"";position:absolute;display:block;top:-1px;left:0;right:0;height:1px;-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low);z-index:1;pointer-events:none}.channelTextArea-rNsIhG{margin-bottom:24px;background-color:var(--background-primary)}.titleWrapper-1l0xT9{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden}.editPartyIcon-1GA5r3{margin-right:4px;cursor:pointer;opacity:.6;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.editPartyIcon-1GA5r3:hover{opacity:1}.channelName-3stJzi{margin:0 8px}.parentChannelName-1C2HEo{color:var(--header-secondary)}.parentChannelName-1C2HEo:hover{color:var(--header-primary)}.title-3qD0b-{position:relative;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;z-index:100}.followButton-L6L-Us{padding:4px 8px;margin-right:8px}.status-1XNdyw{margin-right:8px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.stop-animations .title-3qD0b-{-webkit-app-region:no-drag}
-.disableFlex-2QuzIB{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}
-.akaBadge-1M-1Gw{margin-left:8px;background-color:var(--background-secondary)}.akaBadge-1M-1Gw,.nicknames-1XK4Zt{color:var(--header-secondary)}.nicknames-1XK4Zt{width:100%;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-width:0;margin:0 0 0 8px;font-size:14px;line-height:18px;font-weight:500}.nicknames-1XK4Zt span{cursor:pointer}.avatars-2Vu8nT{margin-left:8px}.avatar-3Bhz0p{display:block;border-radius:50%;width:16px;height:16px;cursor:pointer}.tooltip-2ADRCz{display:inline}.spacer-3kEb8l{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.moreAvatars-DvjcrZ{-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--interactive-normal);width:16px;height:16px;cursor:pointer;overflow:hidden}.moreAvatars-DvjcrZ:hover{color:var(--interactive-hover)}.plusIcon-1tBDmr{display:block;margin-top:-1px;margin-left:-1px;width:18px;height:18px}
-.container-1MGX4D{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;position:relative}.container-1MGX4D,.container-1MGX4D *,.input-2A_zIr{-webkit-box-sizing:border-box;box-sizing:border-box}.input-2A_zIr{font-size:16px;line-height:32px;height:32px;padding:0 6px;border:none;text-overflow:ellipsis;overflow:hidden;white-space:pre;border-radius:3px;-webkit-app-region:no-drag;background:transparent;color:var(--text-normal)}.input-2A_zIr:focus,.outer-o9SjPm:hover .input-2A_zIr{-webkit-box-shadow:inset 0 0 0 1px var(--background-tertiary);box-shadow:inset 0 0 0 1px var(--background-tertiary)}.input-2A_zIr:focus{background-color:var(--background-secondary)}
-.container-3FPLD3{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.channelName-qsg_a_,.container-3FPLD3{position:relative;min-width:0}.channelName-qsg_a_{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;padding:0 4px 0 0;max-width:100%;margin-left:-6px}.channelName-qsg_a_ div,.channelName-qsg_a_ input{font-family:var(--font-display);font-weight:600}
-.topic-TCb_qw{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-width:0;margin:0 0 0 8px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:14px;line-height:18px;color:var(--header-secondary)}.topic-TCb_qw a{color:var(--text-link)}.topic-TCb_qw a:hover{text-decoration:underline}@media (-webkit-max-device-pixel-ratio:1){.theme-light .topic-TCb_qw{font-weight:400}}.topic-TCb_qw.expandable-9fI_e3{cursor:pointer}.content-38qMG0{padding-bottom:20px}
-.chat-15Vmww{min-width:0;min-height:0;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;position:relative}.chat-15Vmww:before{content:"";position:absolute;display:block;top:-1px;left:0;right:0;height:1px;-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low);z-index:1;pointer-events:none}
-@-webkit-keyframes placeholderPulse-2rZrru{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes placeholderPulse-2rZrru{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.membersWrap-2h-GB4{min-width:240px;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.members-1998pB{width:240px;padding:0 0 20px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;height:auto}.members-1998pB,.members-1998pB>div{background-color:var(--background-secondary)}.membersGroup-v9BXpm{padding:24px 8px 0 16px;height:40px}.hiddenMembers-2dcs_q{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.hiddenText-1XVQBb{-ms-flex-item-align:center;align-self:center}.memberGroupsPlaceholder-3mwPub{border-radius:8px;background-color:var(--background-primary);height:12px;width:40%;-webkit-animation:placeholderPulse-2rZrru 3s ease-in-out infinite;animation:placeholderPulse-2rZrru 3s ease-in-out infinite}.addMembersButton-1eG9YC{padding-top:8px;padding-left:8px}.addMembersIcon-1Bz_VS{background-color:var(--background-secondary-alt);border-radius:50%;height:32px;width:32px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}
-.container-2Bfwy4{-ms-flex-direction:column;flex-direction:column}.container-2Bfwy4,.content-MLh4nU{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal}.content-MLh4nU{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-primary)}.splashImage-13vBzp{width:400px;margin-bottom:24px}.splashHeader-ehL7gZ{color:var(--header-primary);margin-bottom:8px}.splashHeader-ehL7gZ,.splashText-3jk87t{width:580px;text-align:center}
-.noChannel-3LgMRp{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;position:relative}
-.divider-3zoCmA{background-color:var(--background-modifier-accent)!important;height:1px;margin:16px 16px 0}.private-1mt6w1{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;font-weight:700;padding:16px 16px 8px;text-transform:uppercase}.instructions-O3OCc7{padding:0 16px}.emptyState-2KU9WW{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding:16px;text-align:center}.emptyStateHeader-W2ruuN{font-weight:700;text-align:left;text-transform:uppercase}.emptyStateIcon-1JWNn4{border-radius:100%;background-color:var(--background-tertiary);color:var(--interactive-normal);height:56px;width:56px}.emptyStateIcon-1JWNn4,.emptyStateIconContainer-3CFwua{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.emptyStateIconContainer-3CFwua{margin:32px 0;position:relative}.emptyStateStars-3H0CeG{margin:0 auto;position:absolute;top:-13px}.emptyStateSubtext-2G0UeF{margin-top:8px}
-.strikethrough-3Wiitd{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.gatedContent-3-B7qB{width:100%;height:100%;margin-left:auto;margin-right:auto;padding-left:20px;padding-right:20px;padding-bottom:20px;-webkit-box-sizing:border-box;box-sizing:border-box}.image-2LqJex{width:250px;height:250px;background-size:100% 100%;background-repeat:no-repeat;background-position:50%}.title-1VcOOr{font-size:24px;line-height:28px;font-weight:600;max-width:640px;padding:0 20px;text-align:center}.description-2ydcYn{font-size:16px;line-height:1.4;max-width:440px;text-align:center}.description-2ydcYn a,.title-1VcOOr a{color:var(--text-link)}.separator-2IZ9ro{width:100px;height:1px;background-color:#4f545c}.action-yrVND8{margin-left:8px;margin-right:8px}.actionRed-gYn8D3{color:#fff;background-color:hsl(359,calc(var(--saturation-factor, 1)*56.3%),40.4%)}.actionRed-gYn8D3:active,.actionRed-gYn8D3:hover{background-color:null}.theme-light .image-2LqJex{background-image:url(/assets/c834f632477ae77b1e4b36c14e32c400.svg)}.theme-light .title-1VcOOr{color:#4f545c}.theme-light .description-2ydcYn{color:#72767d}.theme-dark .image-2LqJex{background-image:url(/assets/a36505883459aecf5df0ae54c6d7495f.svg)}.theme-dark .title-1VcOOr{color:#fff}.theme-dark .description-2ydcYn{color:#b9bbbe}.theme-dark .background-opacity-low .description-2ydcYn,.theme-dark .background-opacity-low .title-1VcOOr{color:#fff;text-shadow:0 0 1px #36393f,1px 1px 0 #36393f}.theme-dark .background-opacity-low .description-2ydcYn a,.theme-dark .background-opacity-low .title-1VcOOr a{text-shadow:0 0 1px rgba(54,57,63,.7),1px 1px 0 rgba(54,57,63,.7)}.theme-dark .background-opacity-low .separator-2IZ9ro{background-color:#dcddde}.theme-dark .background-opacity-medium .description-2ydcYn,.theme-dark .background-opacity-medium .title-1VcOOr{color:#f6f6f7;text-shadow:0 0 1px #36393f,1px 1px 0 #36393f}.theme-dark .background-opacity-medium .description-2ydcYn a,.theme-dark .background-opacity-medium .title-1VcOOr a{text-shadow:0 0 1px rgba(32,34,37,.8),1px 1px 0 rgba(32,34,37,.8)}.theme-dark .background-opacity-medium .separator-2IZ9ro{background-color:#b9bbbe}.theme-dark .background-opacity-high .description-2ydcYn,.theme-dark .background-opacity-high .title-1VcOOr{color:#f6f6f7;text-shadow:0 0 1px #36393f,1px 1px 0 #36393f}
-.scroller-11cdZM{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-width:1px;min-height:1px;height:auto}.wrapper-3V1W3E{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;margin:auto;height:100%;width:100%}.ageGatedImage-ZIiHiE{width:250px;height:210px}.theme-dark .ageGatedImage-ZIiHiE,.theme-light .ageGatedImage-ZIiHiE{background-image:url(/assets/4b25b64915cb0e74934b6b749445def2.svg)}
-.finePrintWithOverheadSeparator-3Ck7zO{border-top:1px solid var(--background-modifier-accent);margin-top:32px;padding-top:32px;line-height:1.4}.finePrint-ULGqdp{line-height:1.4}
-.button-G2dHuB:active,.button-G2dHuB:hover{background-color:#fff!important}.button-G2dHuB:active{-webkit-transform:translateY(1px);transform:translateY(1px)}
-.body-o4R7g3{color:var(--text-normal);font-size:16px;line-height:20px;padding-bottom:16px}.invoiceTable-uozjUU{margin:16px 0}.errorBlock-148auo{margin-bottom:16px}.cancelImage-BuMJnt{width:166px;height:144px;margin:0 auto 24px}.previewStep-3m8dMV{padding-top:16px}.loading-n5I-9N{height:200px}.renewalInvoiceDate-3Dk4xC{margin-bottom:16px}html .invoiceCancelRow-1YYT42{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-dark .cancelImage-BuMJnt{background:url(/assets/03863b539aec443327ca2ffc51a89dac.svg)}.theme-light .cancelImage-BuMJnt{background:url(/assets/44eef677f2a490dc0cb23a67e59a6223.svg)}
-.banner-3Kac2g{position:relative;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;padding:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;max-width:660px;color:#fff;background-repeat:no-repeat;background-position:0 0}.bannerBackgroundImage-1DMjWi{position:absolute;top:0;bottom:0;left:0;right:0;background-repeat:no-repeat;background-image:url(/assets/849b82ae5737d6bc9e2e9aa775ae824e.svg)}.image-S2twTr{background-size:100% 100%;height:68px;width:96px;-ms-flex-negative:0;flex-shrink:0;margin-right:8px}.details-nLuvoA,.image-S2twTr{position:relative}.tierGrandfathered-R6zrrD.banner-3Kac2g{background-image:-webkit-gradient(linear,left top,right top,from(hsl(228,calc(var(--saturation-factor, 1)*86.7%),70.6%)),color-stop(75.25%,hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%)));background-image:linear-gradient(90deg,hsl(228,calc(var(--saturation-factor, 1)*86.7%),70.6%),hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%) 75.25%)}.tierGrandfathered-R6zrrD .image-S2twTr{background-image:url(/assets/20dd85a827abd406dc6d642e0b8f8318.svg)}.tierGrandfathered-R6zrrD .planName-1SYoJ1{width:77px;height:32px}.tier1-1ttHRY.banner-3Kac2g{background-image:linear-gradient(8.62deg,hsl(228,calc(var(--saturation-factor, 1)*86.7%),70.6%),hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%) 75.25%)}.tier1-1ttHRY .image-S2twTr{background-image:url(/assets/20dd85a827abd406dc6d642e0b8f8318.svg)}.tier1-1ttHRY .discordWordmark-1QjTBy{width:41px;height:16px}.tier1-1ttHRY .classicWordmark-3t6v0a{background-image:url(/assets/5b4617d4c019fb25a90cb2d9d687f684.svg);width:185px;height:19px}.tier1-1ttHRY .details-nLuvoA{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;height:100%}.tier1-1ttHRY.canceled-nz3kfr .image-S2twTr,.tier1-1ttHRY.failedPayment-31_H4y .image-S2twTr{background-image:url(/assets/38b74213be1746737de58cc497333709.svg)}.tier2-3hSil0.banner-3Kac2g{background-image:-webkit-gradient(linear,left top,right top,from(hsl(270,calc(var(--saturation-factor, 1)*86.7%),70.6%)),to(hsl(342,calc(var(--saturation-factor, 1)*58%),72.9%)));background-image:linear-gradient(90deg,hsl(270,calc(var(--saturation-factor, 1)*86.7%),70.6%),hsl(342,calc(var(--saturation-factor, 1)*58%),72.9%))}.tier2-3hSil0 .image-S2twTr{background-image:url(/assets/7558b67985f4035ed2b2cf9e3072d81f.svg);height:68px}.tier2-3hSil0 .planName-1SYoJ1{width:77px;height:32px}.tier2-3hSil0.canceled-nz3kfr .image-S2twTr,.tier2-3hSil0.failedPayment-31_H4y .image-S2twTr{background-image:url(/assets/86d242e991560f6cd1f9d2c453d622e8.svg)}.canceled-nz3kfr.banner-3Kac2g{background-image:-webkit-gradient(linear,left top,right top,from(#f18623),color-stop(56%,#f6a12a),to(#fab930));background-image:linear-gradient(90deg,#f18623,#f6a12a 56%,#fab930)}.failedPayment-31_H4y.banner-3Kac2g{background-image:-webkit-gradient(linear,left top,right top,from(#f25a5d),color-stop(77%,#f14e76),to(#f04a7f));background-image:linear-gradient(90deg,#f25a5d,#f14e76 77%,#f04a7f)}.planInfo-1bDJtx{font-size:16px;line-height:20px;margin-top:8px}.buttons-2FmDnk{position:absolute;top:16px;right:20px}.buttons-2FmDnk,.toolsButtons-PF_TzW{display:-webkit-box;display:-ms-flexbox;display:flex}.toolsButton-9wOG4D{position:relative;margin-left:16px}.externalButton-24IwRV{text-transform:uppercase}
-.header-3VTydC{margin-bottom:8px}.dropdown-2fxkrS{max-width:400px}.externalContainer-20zADp{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.externalLink-ExuH7J{width:100%}.finePrint-2QTm37{font-size:12px;line-height:16px;font-weight:500;color:var(--text-muted);margin-top:4px}.theme-dark .container-2Zlzt0{background-color:#2f3136}.theme-light .container-2Zlzt0{background-color:rgba(246,246,247,.6)}
-.root-22W39p{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-secondary);border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:14px;line-height:18px;padding:8px 16px}.infoIcon-1hgep4{margin-right:6px;width:14px;height:14px}.infoIcon-1hgep4,.text-28SVqU{color:var(--interactive-normal)}.text-28SVqU{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.cancelLink-3dTqoc{color:hsl(197,calc(var(--saturation-factor, 1)*100%),47.8%);font-weight:600;white-space:nowrap}.modalBody-1Fnupy{color:var(--interactive-normal);font-size:16px;line-height:20px;margin-bottom:16px}
-.section-3sEseC{margin-bottom:20px}.renewalMutationNotice-2JLeAG{margin-bottom:16px}.grandfatheredMessage-1BnHtv{border-radius:3px;font-size:12px;line-height:1.25;padding:8px 16px 8px 8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-image:-webkit-gradient(linear,right top,left top,from(hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%)),to(hsl(228,calc(var(--saturation-factor, 1)*86.7%),70.6%)));background-image:linear-gradient(270deg,hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%),hsl(228,calc(var(--saturation-factor, 1)*86.7%),70.6%));color:#fff;margin-bottom:16px}.grandfatheredMessageText-mSdgqp{margin-right:16px;-webkit-box-flex:1;-ms-flex:1;flex:1}.grandfatheredIcon-18y60L{width:24px;height:24px;margin-right:8px;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start}.subscriptionRows-1fgok1{margin-bottom:32px}.guildSubscriptionRow-2S89Tf{margin-top:16px}.premiumGuildSubscriptionRow-2IqHyL{border-radius:4px;color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;font-size:16px;line-height:20px;padding:16px;position:relative}.premiumGuildSubscriptionRowActive-1WxLXI{background-image:-webkit-gradient(linear,left top,right top,from(hsl(221,calc(var(--saturation-factor, 1)*70%),55.5%)),to(hsl(269,calc(var(--saturation-factor, 1)*83.8%),71%)));background-image:linear-gradient(90deg,hsl(221,calc(var(--saturation-factor, 1)*70%),55.5%),hsl(269,calc(var(--saturation-factor, 1)*83.8%),71%))}.premiumGuildSubscriptionRowActive-1WxLXI .premiumGuildSubscriptionRowBackground-1prHMc{background-image:url(/assets/1550b30e889297c2a911c7d65428018f.svg)}.premiumGuildSubscriptionRowActive-1WxLXI .premiumGuildImage-ead1A0{background-image:url(/assets/49fd891b6dc505a4634b8521c8206359.svg)}.premiumGuildSubscriptionRowCanceled-1bb7tg{background-image:-webkit-gradient(linear,left top,right top,from(#f18623),color-stop(56%,#f6a12a),to(#fab930));background-image:linear-gradient(90deg,#f18623,#f6a12a 56%,#fab930)}.premiumGuildSubscriptionRowCanceled-1bb7tg .premiumGuildSubscriptionRowBackground-1prHMc{background-image:url(/assets/a53a3ab0bb359e4daafa5fab1b627367.svg)}.premiumGuildSubscriptionRowCanceled-1bb7tg .premiumGuildImage-ead1A0{background-image:url(/assets/985fa38ded6c8b4030cb8f7c814a333b.svg)}.premiumGuildSubscriptionRowFailedPayment-2jUagX{background-image:-webkit-gradient(linear,left top,right top,from(#f25a5d),color-stop(77%,#f14e76),to(#f04a7f));background-image:linear-gradient(90deg,#f25a5d,#f14e76 77%,#f04a7f)}.premiumGuildSubscriptionRowFailedPayment-2jUagX .premiumGuildSubscriptionRowBackground-1prHMc{background-image:url(/assets/d74ea2377c663a5d74789b87e07c657b.svg)}.premiumGuildSubscriptionRowFailedPayment-2jUagX .premiumGuildImage-ead1A0{background-image:url(/assets/2ec655685c2de6476c4a05ac51878429.svg)}.sectionTitle-Q8N7Yv{margin-bottom:16px}.sectionDescription-3uMpPK{color:var(--text-normal);line-height:20px;margin-bottom:16px;margin-top:0}.premiumGuildSubscriptionRowBackground-1prHMc{background-position:bottom;position:absolute;top:0;bottom:0;left:0;right:0;background-repeat:no-repeat;border-radius:4px}.premiumGuildImage-ead1A0{width:96px;height:54px;-ms-flex-negative:0;flex-shrink:0;margin-right:8px;position:relative}.premiumGuildSubscriptionRowBody-2wCdzk{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;position:relative}.premiumGuildWordmark-1mlAhH{background-image:url(/assets/5a13aa1ab6e6de3a7464e297fd66f5ea.svg);width:184px;height:17px;margin-bottom:16px}.details-1YZMDP{display:-webkit-box;display:-ms-flexbox;display:flex}.detailsBlock-FoDTGA{-ms-flex-preferred-size:50%;flex-basis:50%;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin-right:16px;background-color:var(--background-secondary);border-radius:5px;padding:16px}.detailsBlock-FoDTGA:last-child{margin-right:0}.detailBlockHeader-UY8ynz{margin-bottom:8px}.billingInformation-1MZXzx{color:var(--text-normal);font-size:14px;line-height:18px}.finePrint-xGGTK5{margin-top:16px;line-height:1.4;color:var(--text-muted)}.cardText-1Z_Qur{padding-left:8px}.noItemsCard-153Tex{font-size:16px;font-weight:500;line-height:20px;margin-top:16px;padding:16px 19px;border:none;color:var(--interactive-active);background-color:var(--background-secondary)}.theme-dark .noItemsIcon-21jJYT{background:#4f545c}
-.banner-338jRj{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-image:linear-gradient(4.5deg,hsl(270,calc(var(--saturation-factor, 1)*86.7%),70.6%),hsl(342,calc(var(--saturation-factor, 1)*58%),72.9%));border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:30px;padding:16px}.description-1vL0_0{color:#fff;font-weight:500}.button-2xO-dU{border-radius:4px;min-width:auto;padding-left:20px;padding-right:20px;margin-left:16px}.button-2xO-dU+.button-2xO-dU{margin-left:8px}
-.container-1KLQDM{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-sizing:border-box;box-sizing:border-box}.container-1KLQDM,.loading-3kzdRC{display:-webkit-box;display:-ms-flexbox;display:flex}.loading-3kzdRC{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:520px}.background-3NP2Rg{position:absolute;top:0;left:0;bottom:0;right:0;background-repeat:no-repeat}.content-2c3hgM{position:relative}.sectionTier2-mtdT6c{text-align:center;margin-top:32px}.marketingRefreshTier2Intro-2L26Rm{max-width:325px}.marketingRefreshTitle-3pOyQb{color:var(--header-primary);font-size:24px;font-weight:600;line-height:30px;margin-bottom:8px;margin-top:0}.marketingRefreshSubtitle-3jft-o{color:var(--text-normal);font-size:16px;line-height:20px;margin:0}.marketingRefreshHeaderAnimation-KQPxGl{width:332px;margin-left:16px}.marketingRefreshTier2Cta-bw9Vyc{text-align:center;margin-top:48px}.marketingRefreshSectionTier1-dRwS-6{color:var(--text-normal);display:-webkit-box;display:-ms-flexbox;display:flex;border-top:1px solid var(--background-modifier-accent);margin-top:48px;padding-top:48px}.marketingRefreshTier1Graphic-9B12wx{display:block;height:148px;margin-right:60px;width:175px;-ms-flex-negative:0;flex-shrink:0}@media (max-width:920px){.marketingRefreshTier1Graphic-9B12wx{display:none}}.marketingRefreshTier1Logo-sY6Lgd{color:var(--header-primary);display:block;height:20px;margin-bottom:8px;width:194px}.marketingRefreshDescription-UL0ZTA{font-size:16px;line-height:20px;margin:0 0 16px}.tier1InfoTooltipList-1tVi94{list-style-type:disc;padding-left:15px}.tier1InfoTooltipListItem-HtMMGF{padding:2px}.tier1InfoTooltipListItemOffsetItem-17hZH2{position:relative;left:-5px}.tier1InfoIcon-3Voc4Y{width:10px;height:10px}.tier2Buttons-RBEMRE{margin-top:24px}.subSectionHeader-32l16N{text-transform:uppercase}.sectionAccountCredit-1uNhnJ,.subscriptionDetails-1dUmjl{padding-bottom:40px;margin-bottom:40px;border-bottom:1px solid}.accountCredit-2hUNux{margin-top:16px}.accountCreditTitle-2MXzx-{margin-bottom:16px}.accountCreditDescription-g6Pzho{color:var(--text-normal);line-height:20px;margin-bottom:16px;margin-top:0}.marketingRefreshTier2PlanWrapper-21Joud,.tier2Plan-39BBFB{display:-webkit-box;display:-ms-flexbox;display:flex}.marketingRefreshTier2PlanWrapper-21Joud{margin-bottom:48px}.marketingRefreshTier2PlanName-2O-mVv{color:var(--logo-primary);display:block;height:60px;margin-bottom:32px;width:auto}.theme-light .sectionAccountCredit-1uNhnJ,.theme-light .subscriptionDetails-1dUmjl{border-color:rgba(185,187,190,.3)}.theme-light .tier1Banner-1BTgv0{background-image:url(/assets/d1d0faaade7858d1e36fe8b959a1759d.svg);background-color:#f6f6f7;color:#72767d}.theme-dark .sectionAccountCredit-1uNhnJ,.theme-dark .subscriptionDetails-1dUmjl{border-color:rgba(114,118,125,.3)}.theme-dark .tier1Banner-1BTgv0{background-image:url(/assets/cb89c31c79a62ae99ec12351c1efb277.svg);background-color:#2f3136;color:#f6f6f7}.trialBanner-1l29Ev{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-image:linear-gradient(4.5deg,hsl(270,calc(var(--saturation-factor, 1)*86.7%),70.6%),hsl(342,calc(var(--saturation-factor, 1)*58%),72.9%));border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:30px;padding:16px}.trialIcon-3uSjEK{-ms-flex-item-align:start;align-self:flex-start;color:#fff;min-width:24px;margin-right:8px}.trialDescription-240N1y{color:#fff;font-weight:500}.trialButton-3QE_RI{border-radius:4px;min-width:auto;padding-left:20px;padding-right:20px;margin-left:16px}.perkList-2pAPzu,.perkListItem-1BjVlm{margin-bottom:16px}.perkListItem-1BjVlm{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.perkListItem-1BjVlm:last-child{margin-bottom:0}.perkListItemIcon-2B4aA2{width:20px;height:20px;-ms-flex-negative:0;flex-shrink:0;margin-right:16px;color:var(--header-secondary)}.perkListItemIcon-2B4aA2.hasPerkIcon-JJ5Ezo{color:var(--brand-experiment)}.classicPerkGrid-2izruP{display:grid;-webkit-column-gap:16px;-moz-column-gap:16px;column-gap:16px;grid-template-columns:190px 190px}
-.buttons-2-EdE8{display:-webkit-box;display:-ms-flexbox;display:flex}.buttonsCenter-11FqDP{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.button-1PXUl0{margin-left:20px}.button-1PXUl0:first-child{margin-left:0}
-.hero-EvfTTA{background-image:url(/assets/c7c0a638f8e8e45dc18c686359defbb7.svg);background-position:50%;background-repeat:no-repeat;max-width:660px;height:464px;border-radius:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.featureImage-2L9kA0,.featureTitle-W5O6R1,.hero-EvfTTA{}.heroIcon-3QgOM5{margin-top:48px;width:149px;height:60px;color:#fff}.hero-EvfTTA .heroHeader-IulZgg{color:#fff;margin-top:16px}.heroBody-2P4UF5{color:#fff;margin-top:4px;max-width:312px;text-align:center}.heroButtons-2NvgKB{margin-top:16px}.featuresHeader-4YwLcc{margin-top:32px}.featureGrid-3-fNl-{display:grid;grid-gap:16px;grid-template-columns:repeat(auto-fill,206px);-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:16px}.feature-2w65J5{border-radius:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:233px;padding:16px 16px 0;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative}.feature-2w65J5 .featureNewBadge-24rCe6{top:-4px;left:-4px;position:absolute}.featureDescription-1wp-zJ{margin-top:4px}.featureChildrenWrapper-smz30S,.featureImageWrapper-pPDLjm{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1}.featureEmoji-3pTtR2 .featureImageWrapper-pPDLjm{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.featureEmoji-3pTtR2 .featureImage-2L9kA0{width:172px}.featureProfile-tTo0C- .featureImageWrapper-pPDLjm{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.featureProfile-tTo0C- .featureImage-2L9kA0{width:144px}.featurePremiumGuild-2KpCr6 .featureTitle-W5O6R1{color:#5c87ff}.featurePremiumGuild-2KpCr6 .featureImageWrapper-pPDLjm{-ms-flex-item-align:start;align-self:flex-start;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.featurePremiumGuild-2KpCr6 .featureImage-2L9kA0{width:190px}.featureBadge-3ZA-Ca .featureImageWrapper-pPDLjm{-ms-flex-item-align:start;align-self:flex-start;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.featureBadge-3ZA-Ca .featureImage-2L9kA0{width:190px}.featureUploadSize-2CAVFL .featureTitle-W5O6R1{color:#776bff}.featureUploadSize-2CAVFL .featureImageWrapper-pPDLjm{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.featureUploadSize-2CAVFL .featureImage-2L9kA0{width:172px}.featureGoLive-30cvVw .featureTitle-W5O6R1{color:#fa4e89}.featureGoLive-30cvVw .featureImageWrapper-pPDLjm{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.featureGoLive-30cvVw .featureImage-2L9kA0{width:172px}.newBadge-1Is7Nf{background-color:var(--brand-experiment);font-size:12px;line-height:16px;padding:0 4px}.newBadgeContainer-3wCcs5{position:relative;display:inline-block;text-transform:uppercase}.sparkle-1qyWC9{position:absolute}.sparkleStarTopRight-1uWZTi{bottom:calc(100% - 4px);left:calc(100% - 5px);width:12.75px;height:12.75px}.sparkleStarRight-3STViN{bottom:3px;left:calc(100% + 1.31px)}.sparkleStarBottomLeft-3dycVF,.sparkleStarRight-3STViN{height:7.44px;width:7.44px}.sparkleStarBottomLeft-3dycVF{top:calc(100% + .56px);left:-1px}.learnMoreLink-21wlRq{cursor:pointer;text-decoration:underline}.itemInfoIcon-3tr1nj{width:12px;height:12px;position:relative;top:1px}.featureMoreServers-14Thw5 .featureImage-2L9kA0,.featurePerGuildAvatar-2_iyrl .featureImage-2L9kA0{display:block;margin:0 auto}.featureMoreServers-14Thw5 .featureImage-2L9kA0{width:132px;height:132px;margin-top:8px}.featurePerGuildAvatar-2_iyrl .featureImage-2L9kA0{width:176px;height:80px;margin-top:32px}.featureLongerMessageContent-1RADxx .featureImage-2L9kA0{width:100%}.stickers-1O9_W6 .featureTitle-W5O6R1{color:#5c87ff}.stickers-1O9_W6 .featureImage-2L9kA0{width:177px;height:88px;margin-top:7px;margin-bottom:16px}.newSparkles-1I8M41{display:inline-block;width:47px;height:34px;vertical-align:middle;margin:-12px 4px -4px -8px}.theme-light .feature-2w65J5{background-color:#fff;-webkit-box-shadow:var(--elevation-medium);box-shadow:var(--elevation-medium);border:1px solid var(--background-modifier-accent)}.theme-light .sparkleStarTopRight-1uWZTi{color:#83ddc5}.theme-light .sparkleStarRight-3STViN{color:#e15be1}.theme-light .sparkleStarBottomLeft-3dycVF{color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),63.3%)}.theme-light .featureLongerMessageContent-1RADxx .featureTitle-W5O6R1{color:#2e3338}.theme-light .featureEmoji-3pTtR2 .featureTitle-W5O6R1{color:#d0820c}.theme-light .featureProfile-tTo0C- .featureTitle-W5O6R1{color:#22a777}.theme-light .featureMoreServers-14Thw5 .featureTitle-W5O6R1{color:#a57ef8}.theme-light .featureBadge-3ZA-Ca .featureTitle-W5O6R1{color:#e15be1}.theme-dark .feature-2w65J5{background-color:var(--background-secondary-alt)}.theme-dark .featureLongerMessageContent-1RADxx .featureTitle-W5O6R1{color:#ffd836}.theme-dark .featureEmoji-3pTtR2 .featureTitle-W5O6R1{color:#ffa600}.theme-dark .featureProfile-tTo0C- .featureTitle-W5O6R1{color:#00e0a7}.theme-dark .featureMoreServers-14Thw5 .featureTitle-W5O6R1{color:#a57ef8}.theme-dark .featureBadge-3ZA-Ca .featureTitle-W5O6R1{color:#ffafff}.theme-dark .sparkle-1qyWC9{color:#fff}
-.premiumSubscriptionAccountCredit-25i0tQ{border-radius:5px;padding:8px 0;background-color:var(--background-secondary)}.accountCreditRow-SHgyi0{display:-webkit-box;display:-ms-flexbox;display:flex;padding:8px 16px}.accountCreditRow-SHgyi0:not(:last-child){padding-bottom:16px;border-bottom:1px solid var(--background-modifier-accent)}.iconBackground-31rJvE{padding:4px;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center}.iconBackgroundTier1-2GOcU8{background-image:linear-gradient(45deg,hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%),hsl(228,calc(var(--saturation-factor, 1)*86.7%),70.6%))}.iconBackgroundTier2-2TeI3a{background-image:linear-gradient(45deg,hsl(270,calc(var(--saturation-factor, 1)*86.7%),70.6%),hsl(342,calc(var(--saturation-factor, 1)*58%),72.9%))}.icon-3sGKXp{width:24px;height:24px;color:#fff}.rowDetails-1SvMsB{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 8px}.rowApplied-3NfPr1{font-weight:400}.rowCreditCount-DCSjaQ{-ms-flex-item-align:center;align-self:center;font-weight:600;color:var(--interactive-normal)}
-.container-3hJah8{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-sizing:border-box;box-sizing:border-box}.container-3hJah8,.loading-2h_lbn{display:-webkit-box;display:-ms-flexbox;display:flex}.loading-2h_lbn{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:520px}.background-1x1RRp{position:absolute;top:0;left:0;bottom:0;right:0;background-repeat:no-repeat}.content-2rHwqL{position:relative}.subSectionHeader-N-hnka{text-transform:uppercase}.sectionAccountCredit-2-BmhN,.subscriptionDetails-1pYrMz{padding-bottom:40px;margin-bottom:40px;border-bottom:1px solid}.accountCredit-3kfYY9{margin-top:16px}.accountCreditTitle-Gprf_B{margin-bottom:16px}.accountCreditDescription-iqLTBT{color:var(--text-normal);line-height:20px;margin-bottom:16px;margin-top:0}.cardText-2rQaHq{padding-left:8px}.noItemsCard-3TSAgO{font-size:16px;font-weight:500;line-height:20px;margin-top:16px;padding:16px 19px;border:none;color:var(--interactive-active);background-color:var(--background-secondary)}.theme-light .sectionAccountCredit-2-BmhN,.theme-light .subscriptionDetails-1pYrMz{border-color:rgba(185,187,190,.3)}.theme-dark .sectionAccountCredit-2-BmhN,.theme-dark .subscriptionDetails-1pYrMz{border-color:rgba(114,118,125,.3)}.theme-dark .noItemsIcon-ygEH8z{background:#4f545c}
-.container-xm7Ad0:before{content:"";position:absolute;display:block;top:-1px;left:0;right:0;height:1px;-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low);z-index:1;pointer-events:none}.homeBody-3SD9SR{-webkit-box-sizing:border-box;box-sizing:border-box;max-width:1245px;padding:0 20px;width:100%;margin:0 auto}.scroller-9moviB{background-color:var(--background-primary);contain:layout size}.categoryHeader-1D7Tqy{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border-bottom-width:1px;border-style:solid;padding-bottom:10px;margin:32px 0 20px;font-weight:500;font-size:16px}.categoryHeader-1D7Tqy,.viewAllGamesButton-bY6nOl{display:-webkit-box;display:-ms-flexbox;display:flex}.viewAllGamesButton-bY6nOl{margin:20px auto 40px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.viewAllGamesButton-bY6nOl:hover .viewAllIcon-1NItEP{-webkit-transform:rotate(-90deg) translateY(3px);transform:rotate(-90deg) translateY(3px)}.viewAllGames-3LNpt1,.viewAllGamesButtonInner-2z4OXI,.viewAllNitroGames-3v3cAi{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.viewAllGames-3LNpt1,.viewAllNitroGames-3v3cAi{font-size:16px;cursor:pointer;-webkit-transition:-webkit-transform .2s ease;transition:-webkit-transform .2s ease;transition:transform .2s ease;transition:transform .2s ease,-webkit-transform .2s ease}.viewAllGames-3LNpt1:hover .viewAllIcon-1NItEP,.viewAllNitroGames-3v3cAi:hover .viewAllIcon-1NItEP{-webkit-transform:rotate(-90deg) translateY(3px);transform:rotate(-90deg) translateY(3px)}.viewAllIcon-1NItEP{width:20px;height:20px}.homeTile-3qVuGa{margin:0 10px}.homeTile-3qVuGa:first-child{margin-left:0}.homeTile-3qVuGa:last-child{margin-right:0}.spinner-3POzOM{margin-top:40px;margin-bottom:40px}.homeWrapper-3-Wh5T{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.homeWrapperNormal-2KSUEa{height:100%}.marketingWrapper-2TD9Zv{-ms-flex-negative:0;flex-shrink:0}.premiumApplicationsHeader-Zmkm5e{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border-bottom-width:1px;border-style:solid;padding-bottom:10px;margin:32px 0 20px;font-weight:500;font-size:16px}.headerBar-1YYOfi{-webkit-transform:translateZ(0);transform:translateZ(0)}.premiumContainer-2Iux5m{position:relative;padding:60px 40px 80px;max-width:660px;min-width:460px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;margin:0 auto}.theme-dark .categoryHeader-1D7Tqy,.theme-dark .premiumApplicationsHeader-Zmkm5e{color:#fff;border-color:#4f545c}.theme-dark .viewAllGames-3LNpt1{color:#fff}.theme-light .categoryHeader-1D7Tqy,.theme-light .premiumApplicationsHeader-Zmkm5e{color:#000;border-color:#dcddde}.theme-light .viewAllGames-3LNpt1{color:#000}@media (min-width:849px){.categoryHeader-1D7Tqy,.premiumApplicationsHeader-Zmkm5e{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-line-pack:center;align-content:center}}
-.divider-21LyPb{border-bottom:1px solid;margin-bottom:20px}.theme-light .divider-21LyPb{border-color:rgba(220,221,222,.6)}.theme-dark .divider-21LyPb{border-color:rgba(47,49,54,.6)}
-.contentRating-vVpg2G{-ms-flex-negative:0;flex-shrink:0;background-size:cover;background-repeat:no-repeat;background-position:50%}.esrb-3wYCg9{width:40px;height:54px}.pegi-1o7c-g{width:40px;height:49px}.esrbEveryone-1dzGF6{background-image:url(/assets/92e2f3456fe16b595b25e0bf8e307424.svg)}.esrbEveryoneTenPlus-2ZAnky{background-image:url(/assets/63057dec1b09e97582380bf060ac96f0.svg)}.esrbTeen-2h1lXd{background-image:url(/assets/4d4bb237c6ab7d39ae86316402a5bd64.svg)}.esrbMature-2jZOEq{background-image:url(/assets/f2d64bbdd91ed21362225050574bc871.svg)}.esrbAdult-qtxzsD{background-image:url(/assets/dabe44acadaefe22357acd28244b1933.svg)}.esrbRatingPending-jFYtJn{width:40px;height:60px;background-image:url(/assets/0f70ca2871644a7088a012669e07299c.svg)}.pegiThree-2dnjtY{background-image:url(/assets/d0dfff59c4724575857f24869cbdeb26.svg)}.pegiSeven-3AFD82{background-image:url(/assets/01087a6958e516f107294541e197693f.svg)}.pegiTwelve-1JqdtA{background-image:url(/assets/3b731e42a2a9fd6b25dbbaab63fd1c4f.svg)}.pegiSixteen-2LI_Mq{background-image:url(/assets/b3c1fa853d8ee7e926104cb3c94c16c0.svg)}.pegiEighteen-3WQT17{background-image:url(/assets/08e84d2915ec96159597ba85fd7c5793.svg)}
-.content-1zhNsr{font-size:12px;line-height:1.5;margin-right:20px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;-webkit-box-flex:1;-ms-flex:1;flex:1}.rating-3zQia4{margin-right:12px}.theme-dark .content-1zhNsr{color:#72767d}.theme-light .content-1zhNsr{color:#b9bbbe}
-.collapsed-1454et{max-height:300px;overflow:hidden;-webkit-mask:linear-gradient(#000 240px,transparent);mask:linear-gradient(#000 240px,transparent)}.blurb-1iBKJy{font-size:16px;line-height:20px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.description-1AwRKJ{margin-top:20px;font-size:15px;line-height:1.4}.toggleCollapseButton-2wffKu{width:100%;margin-top:20px}.assetWrapper-2Qw_5D{border-radius:3px;margin:20px 0;overflow:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.assetWrapper-2Qw_5D img{border-radius:0}.asset-3V-FUM{max-width:100%;display:block;margin:0 auto}.theme-dark .blurb-1iBKJy{color:#dcddde}.theme-dark .description-1AwRKJ{color:#b9bbbe}.theme-light .blurb-1iBKJy{color:#36393f}.theme-light .description-1AwRKJ{color:#72767d}@media (min-width:640px){.toggleCollapseButton-2wffKu{width:inherit}}
-.features-_IOqVv{margin-bottom:40px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.row-1bU71H{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:15px;line-height:16px;padding:8px;border-radius:3px;margin-bottom:2px}.row-1bU71H:last-child{margin-bottom:0}.checkmarkIcon-2EnYwn,.featureIcon-1f78KU{width:24px;height:24px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.featureText-2crhND{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 8px}.checkmarkIcon-2EnYwn{color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.theme-dark .row-1bU71H{background-color:#2f3136;color:#b9bbbe}.theme-dark .featureIcon-1f78KU{color:#b9bbbe}.theme-light .row-1bU71H{background-color:#fff;color:#72767d}.theme-light .featureIcon-1f78KU{color:#72767d}
-.content-3FEARf{font-size:12px;line-height:1.5;margin-right:20px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;-webkit-box-flex:1;-ms-flex:1;flex:1}.theme-dark .content-3FEARf{color:#72767d}.theme-light .content-3FEARf{color:#b9bbbe}
-.right-3LuawF{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.down-d6yAn2{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.left-1sNJYj{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}
-.alignCenter-2ks2JT{margin:0 auto}.alignLeft-3BQquR{margin:0}.horizontalPaginationItemContainer-26FwrR{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:initial;-ms-flex:initial;flex:initial;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow-y:hidden;overflow-x:auto}.verticalPaginationItemContainer-3buRwR{overflow-y:hidden}.arrow-2ZP1wS{width:26px;height:26px}.arrow-2ZP1wS,.arrowContainer-10m4Cy{pointer-events:all;-webkit-box-sizing:border-box;box-sizing:border-box}.arrowContainer-10m4Cy{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:50px;height:50px;color:#f6f6f7;line-height:0;cursor:pointer;font-size:0}.prevButtonContainer-Rc83MJ{left:4px}.nextButtonContainer-30eXDb{right:4px}@media (max-width:600px){.prevButtonContainer-Rc83MJ{left:5%}.nextButtonContainer-30eXDb{right:5%}}
-.item-3V15ea{font-size:3em;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:100%;cursor:pointer;-webkit-transition:-webkit-filter .2s ease;transition:-webkit-filter .2s ease;transition:filter .2s ease;transition:filter .2s ease,-webkit-filter .2s ease;border-radius:3px;overflow:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.currentItem-UAeoVQ{cursor:default}.itemImage-2Y74no{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.currentImage-3bYzZH{cursor:-webkit-zoom-in;cursor:zoom-in}.itemImageWrapper-1ig0yT{width:100%;height:100%}.itemVideo-1NRzca{cursor:pointer}.paginationItem-3-iI7C{width:130px;height:73px;margin-right:20px;position:relative;opacity:.6;-ms-touch-action:manipulation;touch-action:manipulation}.paginationItem-3-iI7C:last-child{margin-right:0}.storePaginationImg-2P8SMo{width:130px;height:73px;-o-object-fit:cover;object-fit:cover;border-radius:3px}.selectedStorePaginationItem-2t23h9{opacity:1}.unselectedStorePaginationItem-3alXda:hover{opacity:.8;-webkit-transition:opacity .3s ease;transition:opacity .3s ease;cursor:pointer}.overlappingBorder-1-XPGl{border:3px solid var(--brand-experiment-500);border-radius:3px}.overlappingBorder-1-XPGl,.paginationVideoOverlay-2gIa1v{position:absolute;top:0;left:0;right:0;bottom:0}.paginationVideoOverlay-2gIa1v{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.paginationVideoPlayPill-2lM3nS{padding:8px;height:40px;border-radius:50%}.pagination-1iCa-F{margin:20px auto;padding:0 20px;max-width:920px;-webkit-box-sizing:border-box;box-sizing:border-box}.carouselButtonsContainer-Rba2-D{position:relative;color:#f6f6f7}.arrow-3jRqK8{background-color:#18191c;border-radius:50%;padding:12px;opacity:.4;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.arrow-3jRqK8:hover,.arrowHovered-3mk8lq{opacity:.6}.scroller--qpKGq{padding-bottom:24px}.video-38qD3Y{background:#000}.mediaPlayer-3r_SRR,.video-38qD3Y,.videoWrapper-2nTcpi{width:100%!important;height:100%!important}.theme-dark .item-3V15ea,.theme-light .item-3V15ea{background-color:#000}
-.wrapper-Dh-cqn{top:60px;bottom:60px;left:110px;right:110px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-ms-flex-line-pack:stretch;align-content:stretch;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:-webkit-zoom-out;cursor:zoom-out}.slide-2-GJd5,.wrapper-Dh-cqn{position:absolute}.slide-2-GJd5{top:0;left:0;z-index:0;width:100%;height:100%;-o-object-fit:scale-down;object-fit:scale-down}.nav-i0puL6{z-index:1;opacity:.6}.nav-i0puL6:hover{opacity:1}.nav-i0puL6:active{margin-top:1px}.navPrev-2EwaYx{margin-left:-100px}.navNext-26RXCD{margin-right:-100px}
-.animator-US5i9g{position:relative;display:block}.item-5R5nmE{position:absolute;left:0;top:0;right:0;bottom:0}
-.root-3tU4d2{position:relative;overflow:hidden}.carousel-22Gq5X{z-index:0;height:100%}.carouselItem-RHizth{position:absolute;left:0;top:0;right:0;bottom:0}.pagination-20ouY7{height:64px;pointer-events:none}.themedPagination-3v0Dnu{}.arrowHitbox-2_hxtQ{background:transparent;pointer-events:all;cursor:pointer}.arrowHitbox-2_hxtQ:active .arrow-vOpU7R,.arrowHitbox-2_hxtQ:hover .arrow-vOpU7R{opacity:1}.arrowHitboxPadding-2stwpJ{line-height:0;padding:20px}.arrow-vOpU7R{color:#fff;position:relative;opacity:.5;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.dots-3VxbPX{-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}.dot-2Q_mMZ{width:8px;height:8px;margin-right:8px;padding:0;background-color:#fff;border-radius:4px;cursor:pointer;pointer-events:all;-webkit-transform:translateZ(0);transform:translateZ(0)}.dotNormal-9wUKKy{opacity:.6}.dotNormal-9wUKKy:hover{opacity:.8}.dotSelected-3RYKgX{opacity:1}.theme-dark .themedPagination-3v0Dnu .arrow-vOpU7R{color:#fff}.theme-dark .themedPagination-3v0Dnu .dot-2Q_mMZ{background-color:#fff}.theme-light .themedPagination-3v0Dnu .arrow-vOpU7R{color:#4f545c}.theme-light .themedPagination-3v0Dnu .dot-2Q_mMZ{background-color:#4f545c}
-.smallCarousel-2e0IQc,.smallCarouselItem-1rfKEJ{border-radius:5px 5px 0 0;overflow:hidden}.smallCarousel-2e0IQc{background-color:#000}.smallCarouselItem-1rfKEJ{height:100%}.smallCarouselImage-2Qvg9S{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;cursor:-webkit-zoom-in;cursor:zoom-in}.embedContainer-26S24y{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:#18191c}.sizedToParent-3arRUS{width:100%!important;height:100%!important}.sizedToParent-3arRUS,.sizedToParent-3arRUS>video{border-radius:0}
-.matureListing-3tyHbV{position:relative;height:100%;padding-bottom:60px}.matureListing-3tyHbV:before{content:"";position:absolute;display:block;top:-1px;left:0;right:0;height:1px;-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low);z-index:1;pointer-events:none}.theme-light .matureListing-3tyHbV{background-color:#fff}.theme-dark .matureListing-3tyHbV{background-color:transparent}
-.countdown-2AUg9c,.unit-1m8KS3{display:-webkit-box;display:-ms-flexbox;display:flex}.unit-1m8KS3{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border:1px solid;-webkit-box-flex:1;-ms-flex:1;flex:1;border-radius:3px;padding:4px}.unit-1m8KS3:not(:first-child){margin-left:8px}.unitClose-3p7axD,.unitNormal-S1JDT-{}.unitClose-3p7axD{border-image-slice:1}.duration-38ZM7M{width:100%;text-align:center;font-size:24px;line-height:30px;letter-spacing:-.02em;-webkit-mask:-webkit-gradient(linear,left bottom,left top,color-stop(0,transparent),color-stop(25%,#000),color-stop(75%,#000),to(transparent));-webkit-mask:linear-gradient(0deg,transparent,#000 25%,#000 75%,transparent);mask:-webkit-gradient(linear,left bottom,left top,color-stop(0,transparent),color-stop(25%,#000),color-stop(75%,#000),to(transparent));mask:linear-gradient(0deg,transparent,#000 25%,#000 75%,transparent)}.header-11pEmr{line-height:16px;font-size:12px;text-transform:uppercase;opacity:.6}.theme-dark .unitNormal-S1JDT-,.theme-light .unitNormal-S1JDT-{border-color:#2f3136}.theme-dark .unitClose-3p7axD,.theme-light .unitClose-3p7axD{-o-border-image:linear-gradient(90deg,hsl(228,calc(var(--saturation-factor, 1)*86.7%),70.6%),hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%));border-image:-webkit-gradient(linear,left top,right top,from(hsl(228,calc(var(--saturation-factor, 1)*86.7%),70.6%)),to(hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%)));border-image:linear-gradient(90deg,hsl(228,calc(var(--saturation-factor, 1)*86.7%),70.6%),hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%))}.theme-dark .duration-38ZM7M,.theme-light .duration-38ZM7M{color:#fff}.theme-dark .header-11pEmr,.theme-light .header-11pEmr{color:#b9bbbe}
-.alternativeSkus-1IZIkB{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:-4px}.alternativeSku-2r0c9j,.alternativeSkus-1IZIkB{display:-webkit-box;display:-ms-flexbox;display:flex}.alternativeSku-2r0c9j{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:4px 8px;font-size:12px;line-height:16px;border-radius:4px;cursor:pointer;margin:4px 4px 0 0}.alternativeSkuDefault-1yqWuK,.alternativeSkuSelected-3Qhw9n{}.selectedIcon-1VX7G3{width:16px;height:16px;margin-right:4px;-ms-flex-negative:0;flex-shrink:0}.theme-dark .alternativeSku-2r0c9j,.theme-light .alternativeSku-2r0c9j{color:#fff}.theme-dark .alternativeSkuSelected-3Qhw9n,.theme-light .alternativeSkuSelected-3Qhw9n{background-color:var(--brand-experiment)}.theme-dark .alternativeSkuDefault-1yqWuK,.theme-light .alternativeSkuDefault-1yqWuK{background-color:#4f545c}.theme-dark .alternativeSkuDefault-1yqWuK:hover,.theme-light .alternativeSkuDefault-1yqWuK:hover{background-color:#292b2f}
-.info-1Emy1X{margin-left:5px}.details-31ROOk{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;font-size:15px;font-weight:500}.row--Szcq7{margin-top:8px;line-height:1.2}.theme-light h3.contentHeader-1R8tQ_{color:#dcddde}.theme-dark .label-13UUcd,.theme-light .label-13UUcd{color:#72767d}.theme-dark .info-1Emy1X,.theme-light .info-1Emy1X{color:#dcddde}
-.warning-n1YvYR{padding:20px;border-radius:3px;border:1px solid}.warning-n1YvYR:not(:first-child){margin-top:20px}.title-3zfWaO{font-size:20px;font-weight:600;line-height:1.2}.description-Gcecy9{font-size:15px;line-height:1.33;color:#b9bbbe;margin-top:8px}.description-Gcecy9 .link-249fAx,.description-Gcecy9 a{color:var(--text-link)}.description-Gcecy9 .link-249fAx:hover,.description-Gcecy9 a:hover{text-decoration:underline}.theme-dark .red-2ChJaa,.theme-light .red-2ChJaa{border-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-dark .red-2ChJaa .title-3zfWaO,.theme-light .red-2ChJaa .title-3zfWaO{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-dark .yellow-2DRjXu,.theme-light .yellow-2DRjXu{border-color:hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%)}.theme-dark .yellow-2DRjXu .title-3zfWaO,.theme-light .yellow-2DRjXu .title-3zfWaO{color:var(--text-warning)}
-.title-2xCQKy{font-size:14px;font-weight:600;line-height:1.14;text-transform:uppercase;padding-top:20px;margin-bottom:12px}.title-2xCQKy:first-child{padding-top:0}.sku-epQEb_{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:8px 0;cursor:pointer}.skuNormal-3h1es-{border-bottom:1px solid transparent}.skuLast-WnrIv2,.skuNormal-3h1es-{}.name-u2zgy7{font-size:15px;font-weight:600;line-height:1.24}.price-NUANu6{font-size:14px;line-height:1.71;padding:2px 8px;margin-left:20px;border-radius:3px}.collapseButton-32NMMH{margin-top:20px}.theme-dark .title-2xCQKy,.theme-light .title-2xCQKy{color:#f6f6f7}.theme-dark .skuNormal-3h1es-,.theme-light .skuNormal-3h1es-{border-bottom-color:#36393f}.theme-dark .sku-epQEb_:hover .name-u2zgy7,.theme-light .sku-epQEb_:hover .name-u2zgy7{color:#f6f6f7}.theme-dark .name-u2zgy7,.theme-light .name-u2zgy7{color:#b9bbbe}.theme-dark .price-NUANu6,.theme-light .price-NUANu6{color:#f6f6f7;background-color:#4f545c}
-.section-foaVwT:first-child{border-radius:3px 3px 0 0}.section-foaVwT:last-child{border-radius:0 0 3px 3px}.header-2Fr7dn{font-size:20px;font-weight:500;border-radius:3px 3px 0 0}.header-2Fr7dn+.bodySection-jqkkIP{border-top:none}.entitledHeader-3LRNDT{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px;cursor:pointer}.entitledHeaderIcon-nxWD70{margin-right:10px}.headerFancy-1AcCLF{}.exclusiveHeader-1vnEtm{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;padding:16px}.exclusiveHeaderExclusive-2pT9JV{font-size:8px;font-weight:500;text-transform:uppercase}.exclusiveHeaderIcon-1v3uvk{width:auto;height:24px}.premiumHeader-3aB1ow{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:20px}.premiumHeaderIcon-bTc_nQ{width:auto;height:18px;padding:4px 2px}.premiumHeaderPrice-1F1CMD{font-size:14px;font-weight:600;line-height:1.7;padding:0 8px;border-radius:3px}.bodySection-jqkkIP{-webkit-box-sizing:border-box;box-sizing:border-box;padding:20px;border-top:1px solid}.bodySection-jqkkIP:first-child{border-top:none}.bodySection-jqkkIP:empty{padding:0;border-top:none}.alternativeSkus-1Av0rq{margin:10px 0}.countdownSection-8BWHXa{margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid}.headerBar-3cOLpD{margin-bottom:4px}.actionText-3EKWER{font-size:14px;font-weight:500;line-height:1.14;text-transform:uppercase}.countdownHeader-latdKn{margin-bottom:8px}.releaseDate-28xyN1{margin-top:12px;font-size:14px;line-height:18px}.price-4PDWNj{margin-bottom:16px}.priceRow-2AWjHv{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.priceSalePercentage-1WxDsw{border-radius:3px;color:#fff;font-size:16px;background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);padding:4px 6px;margin-left:10px}.priceOriginalAmount-2ylj9i{text-decoration:line-through;font-size:15px;color:#b9bbbe}.warning-2DA6zZ{margin-top:20px}.dlcSection-jvKaVf{margin-top:40px}.purchaseError-3jQvJF{font-size:14px;line-height:20px;margin-top:8px}.secondaryBuyButton-2c9gx_{margin-top:8px}.theme-dark .entitledHeader-3LRNDT,.theme-light .entitledHeader-3LRNDT{background-color:#4f545c;color:#dcddde}.theme-dark .entitledHeader-3LRNDT:hover,.theme-light .entitledHeader-3LRNDT:hover{color:#fff}.theme-dark .purchaseError-3jQvJF,.theme-light .purchaseError-3jQvJF{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-dark .headerFancy-1AcCLF,.theme-light .headerFancy-1AcCLF{background-image:url(/assets/b44da97e40cc628c39b0a0441c356e2d.svg),-webkit-gradient(linear,right top,left top,from(hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%)),to(hsl(228,calc(var(--saturation-factor, 1)*86.7%),70.6%)));background-image:url(/assets/b44da97e40cc628c39b0a0441c356e2d.svg),linear-gradient(270deg,hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%),hsl(228,calc(var(--saturation-factor, 1)*86.7%),70.6%));color:#fff}.theme-dark .premiumHeaderPrice-1F1CMD,.theme-light .premiumHeaderPrice-1F1CMD{color:var(--brand-experiment);background-color:#fff}.theme-dark .bodySection-jqkkIP,.theme-light .bodySection-jqkkIP{background-color:#202225;border-top-color:rgba(47,49,54,.6)}.theme-dark .countdownSection-8BWHXa,.theme-light .countdownSection-8BWHXa{border-bottom-color:#36393f}.theme-dark .actionText-3EKWER,.theme-light .actionText-3EKWER{color:#dcddde}.theme-dark .price-4PDWNj,.theme-light .price-4PDWNj{color:#f6f6f7}.theme-dark .releaseDate-28xyN1,.theme-light .releaseDate-28xyN1{color:#b9bbbe}
-.recommendationReason-21q3aC{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:15px}.circle-1nK_79{border-radius:50%;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-negative:0;flex-shrink:0;margin-right:12px;padding:8px;width:32px;height:32px}.icon-2qcd9w{width:100%;height:100%}.iconCircle-1dlYo0{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.earlyAccess-HnHc6a{padding:11px}.premiumCircle-3jgziV{background-image:-webkit-gradient(linear,right top,left top,from(#d589c0),to(#bf7be3));background-image:linear-gradient(270deg,#d589c0,#bf7be3)}.smallHeader-2h-9-U{font-size:12px;font-weight:500;margin-bottom:2px}.text-1Z3P6i{font-size:14px;font-weight:500;line-height:1.3}.description-2jnn3p{-webkit-box-flex:1;-ms-flex:1;flex:1}.theme-dark .circle-1nK_79{color:#f6f6f7}.theme-dark .iconCircle-1dlYo0{background-color:#4f545c}.theme-dark .smallHeader-2h-9-U{color:#b9bbbe}.theme-dark .text-1Z3P6i{color:#fff}.theme-dark .staffIcon-2MB1se{background-color:var(--brand-experiment)}.theme-dark .nitroIcon-2uS3VJ{background:-webkit-gradient(linear,right top,left top,from(hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%)),to(var(--brand-experiment-500)));background:linear-gradient(270deg,hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%),var(--brand-experiment-500))}.theme-light .circle-1nK_79{color:#f6f6f7}.theme-light .iconCircle-1dlYo0{background-color:#4f545c}.theme-light .smallHeader-2h-9-U{color:#b9bbbe}.theme-light .text-1Z3P6i{color:#36393f}.theme-light .staffIcon-2MB1se{background-color:var(--brand-experiment)}.theme-light .nitroIcon-2uS3VJ{background:-webkit-gradient(linear,right top,left top,from(hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%)),to(var(--brand-experiment-500)));background:linear-gradient(270deg,hsl(244,calc(var(--saturation-factor, 1)*100%),84.1%),var(--brand-experiment-500))}
-.recommendationActivity-EJN6Ps{display:-webkit-box;display:-ms-flexbox;display:flex}.players-2Tcfos{margin-right:8px;margin-bottom:12px}.playerAvatar-3EAx5P{margin-right:4px;cursor:pointer}.avatarMasked-1s1eiJ{-webkit-mask-image:url(/assets/71e404e665541ef97f99fe9af6593aca.svg);mask-image:url(/assets/71e404e665541ef97f99fe9af6593aca.svg);-webkit-mask-position:0 0;mask-position:0 0;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;margin-right:-16px}.playerOverflow-2Hf77M{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:12px;font-weight:700;height:32px;min-width:32px;line-height:32px;border-radius:50%;padding:0 8px}.description-2Ifi6N{font-size:14px;font-weight:500;line-height:20px}.username-2gp_Xw:hover{text-decoration:underline;cursor:pointer}.tooltip-18WADv{text-align:center}.tooltipTimestamp-3tv3H9{opacity:.6}.theme-light .description-2Ifi6N{color:#72767d}.theme-light .playerOverflow-2Hf77M{background-color:#f6f6f7;color:#72767d}.theme-light .description-2Ifi6N strong,.theme-light .discriminator-2q6SFg strong,.theme-light .username-2gp_Xw{color:#36393f}.theme-dark .description-2Ifi6N{color:#b9bbbe}.theme-dark .playerOverflow-2Hf77M{background-color:#4f545c;color:#b9bbbe}.theme-dark .description-2Ifi6N strong,.theme-dark .username-2gp_Xw{color:#fff}
-.header-3BlBga{margin-bottom:12px}.staffReviewHeader-r0iDCy{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.headerText-34JZSx{margin-left:12px}.label-2zCFFs{font-size:12px;font-weight:500;margin-bottom:4px}.username-Ga9-tM{font-size:14px;font-weight:600}.notes-3hkVr0{font-size:14px;font-style:italic;font-weight:500;line-height:1.33}.notes-3hkVr0:before{content:"\201C"}.notes-3hkVr0:after{content:"\201D"}.theme-dark .label-2zCFFs{color:#72767d}.theme-dark .username-Ga9-tM{color:#f6f6f7}.theme-dark .notes-3hkVr0,.theme-light .label-2zCFFs{color:#b9bbbe}.theme-light .username-Ga9-tM{color:#36393f}.theme-light .notes-3hkVr0{color:#72767d}
-.root-1bFE0x{border-radius:3px;overflow:hidden;padding:20px 20px 0;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.header-3HFF3R{font-size:20px;font-weight:500;margin-bottom:20px}.section-7tu4tu:not(:last-child){border-bottom:1px solid transparent;margin-bottom:20px}.sectionContent-1_X7BG{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-20px}.unit-2r571b{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:1;-ms-flex:1 1 50%;flex:1 1 50%;min-width:240px;margin-bottom:20px;padding-right:20px}.review-1hG2hB{padding-bottom:20px}.theme-dark .root-1bFE0x{background-color:#2f3136}.theme-dark .header-3HFF3R{color:#fff}.theme-dark .section-7tu4tu{border-bottom-color:#36393f}.theme-light .root-1bFE0x{background-color:#fff}.theme-light .header-3HFF3R{color:#36393f}.theme-light .section-7tu4tu{border-bottom-color:rgba(220,221,222,.6)}
-.breadcrumb-22XhB5{cursor:pointer}.breadcrumb-22XhB5:hover{text-decoration:underline}.theme-dark .breadcrumb-22XhB5:hover{color:#fff}.theme-light .breadcrumb-22XhB5:hover{color:#747f8d}
-.tabs-cN0XDH{position:relative}.separator-1tvx79{height:1px;position:absolute;bottom:0;left:0;right:0}.tab-3lcWsW{margin-left:8px;padding-bottom:4px;border-bottom:2px solid transparent;border-radius:0}.tab-3lcWsW:first-child{margin-left:0}.tabPageLarge-1iyX69{padding-left:8px;padding-right:8px}.tabPageSmall-2uu0KD{}.tabNotSelected-1l9_nl{-webkit-transition:color .17s;transition:color .17s}.sectionTitle-Zi_w7u{font-size:12px;font-weight:600;margin-bottom:8px;text-transform:uppercase}.requirementsContainer-3N-apS{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:10px}.requirements-dEriwm{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:1;-ms-flex:1 0 50%;flex:1 0 50%;margin-bottom:16px;padding-right:20px;min-width:260px}.requirement-2guSgu{margin:6px 0;font-size:15px;line-height:18px}.requirementKey-14DT2D{margin-right:4px;white-space:nowrap}.theme-dark .separator-1tvx79{background-color:rgba(47,49,54,.6)}.theme-dark .tabNotSelectedColor-3P16F-{color:#b9bbbe}.theme-dark .tabNotSelectedColor-3P16F-:hover,.theme-dark .tabSelectedColor-2b3xO9{color:#fff}.theme-dark .tabSelected-3IK-Xf{border-bottom-color:#fff}.theme-dark .sectionTitle-Zi_w7u{color:#b9bbbe}.theme-dark .requirementKey-14DT2D{color:#72767d}.theme-dark .requirements-dEriwm{color:#dcddde}.theme-light .separator-1tvx79{background-color:rgba(220,221,222,.6)}.theme-light .tabNotSelectedColor-3P16F-{color:#72767d}.theme-light .tabNotSelectedColor-3P16F-:hover,.theme-light .tabSelectedColor-2b3xO9{color:#36393f}.theme-light .tabSelected-3IK-Xf{border-bottom-color:#36393f}.theme-light .sectionTitle-Zi_w7u{color:#72767d}.theme-light .requirementKey-14DT2D{color:#b9bbbe}.theme-light .requirements-dEriwm{color:#72767d}
-.dropdownArrowHitbox-1-jUwM{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.dropdownArrowHitbox-1-jUwM:hover .dropdownArrow-3hUdu6{opacity:1}.dropdownArrow-3hUdu6{-webkit-box-flex:1;-ms-flex:1;flex:1;opacity:.2;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.arrowSeparator-ZLk2V2{width:1px;opacity:.2;background-color:currentColor}.dropdownSmall-2nM_vD{width:16px + 8px}.dropdownSmall-2nM_vD .arrowSeparator-ZLk2V2{height:16px - 4px}.dropdownSmall-2nM_vD .dropdownArrow-3hUdu6{width:16px;height:16px}.dropdownMedium-32DQxh{width:24px + 8px}.dropdownMedium-32DQxh .arrowSeparator-ZLk2V2{height:24px - 4px}.dropdownMedium-32DQxh .dropdownArrow-3hUdu6{width:24px;height:24px}.dropdownLarge-3n2kcQ{width:32px + 8px}.dropdownLarge-3n2kcQ .arrowSeparator-ZLk2V2{height:32px - 4px}.dropdownLarge-3n2kcQ .dropdownArrow-3hUdu6{width:32px;height:32px}
-.inviteSmall-1mi1Fc .content-35aVm0{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.inviteSmall-1mi1Fc .info-3hEr5J{margin-bottom:12px}.inviteLarge-37aL4C .content-35aVm0{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.content-35aVm0{border-radius:5px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:16px}.guildIcon-3du51s{-ms-flex-negative:0;flex-shrink:0}.info-3hEr5J{max-width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.infoText-2DvX0j{min-width:0;margin-left:20px}.name-3TBxUq{font-size:16px;line-height:1.25}.memberInfo-1TAaKC{margin-top:4px;font-size:14px}.dot-33s_8n{border-radius:50%;width:8px;height:8px;margin-right:4px;margin-left:8px;-ms-flex-negative:0;flex-shrink:0}.dot-33s_8n:first-child{margin-left:0}.dotOnline-3qrf96{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.dotOffline-1PVTuj,.dotOnline-3qrf96{}.memberText-14Qowr{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.actionButton-2Pkgbp{margin-top:16px}.joinedCheckmark-1cdXz7{width:18px;height:18px;margin-left:8px}.theme-dark .content-35aVm0{background-color:#2f3136}.theme-dark .buttonColorInGuild-2hfayS{color:#fff}.theme-dark .name-3TBxUq{color:#b9bbbe}.theme-dark .memberInfo-1TAaKC{color:#72767d}.theme-dark .dotOffline-1PVTuj{background-color:#72767d}.theme-light .content-35aVm0{background-color:#fff}.theme-light .buttonColorInGuild-2hfayS,.theme-light .name-3TBxUq{color:#72767d}.theme-light .memberInfo-1TAaKC{color:#b9bbbe}.theme-light .dotOffline-1PVTuj{background-color:#72767d}
-.listingWrapper-329f74{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.outerScroller-1W6jP0:before{content:"";position:absolute;display:block;top:-1px;left:0;right:0;height:1px;-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low);z-index:1;pointer-events:none}.scroller-1JpcIc{background-color:var(--deprecated-store-bg);contain:layout size}.noHeaderSpacer-321X3p{padding-top:20px}.headerAssets-2CL92w{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;height:100px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0 auto;max-width:880px;position:relative}.headerBackground-3Sjqjz{position:absolute;top:0;right:0;bottom:0;left:0;background-position:50%;background-size:cover;-webkit-mask:radial-gradient(ellipse 50% 100% at 50% 0,#000,transparent);mask:radial-gradient(ellipse 50% 100% at 50% 0,#000,transparent);opacity:.3}.headerLogo-2O9XZd{background-size:contain;height:60px;-o-object-fit:contain;object-fit:contain;position:relative}.link-2T7oYD{margin-left:6px;margin-right:6px;cursor:pointer;opacity:.6}.link-2T7oYD:hover{opacity:.8}.link-2T7oYD:disabled{opacity:.2}.linkIcon-PzfbqY{width:24px;height:24px;display:block}.spinner-3N25TF{margin-top:40px;margin-bottom:40px}.listing-2nUQ4d{margin:0 auto}.gatedListing-3Ry5Oi{visibility:hidden;position:absolute;z-index:-2}.contentRating-W0e7H-,.description-3z5Lb3,.guildInvite-3fvAbr,.legalInfo-lVTrbD,.news-27xNIP,.premiumPerks-zFst3i,.purchaseUnit-2lxci3,.whyYouMightLikeIt-2zZIIj{margin-bottom:40px}.systemRequirements-1L5nPd{margin-bottom:20px}.marketingHeader-3in4BD{background-color:#202225}.headerBarListing-3DL3sL{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.headerBarListing-3DL3sL,.headerPurchase-2z_nch,.headerSection-VnaiAo{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.headerPurchase-2z_nch{font-size:14px;opacity:0;-webkit-transform:translateY(45px);transform:translateY(45px);-webkit-transition-duration:.4s;transition-duration:.4s;-webkit-transition-property:opacity,-webkit-transform;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform;-webkit-transition-timing-function:ease;transition-timing-function:ease}.headerPurchase-2z_nch.active-MpmWDn{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.testModeSelectButton-3Tz96u{margin-left:16px;padding:4px 4px 4px 8px}@media (max-width:900px){.headerPurchase-2z_nch{display:none}}.headerActionButton-24JFAX{margin-left:12px;margin-right:6px}.listingLarge-3Rix7u{max-width:880px;margin:0 auto;padding:0 20px}.listingLarge-3Rix7u .body-1HEBKj{display:-webkit-box;display:-ms-flexbox;display:flex}.listingLarge-3Rix7u .leftColumn-1scUu2{width:66.67%}.listingLarge-3Rix7u .rightColumn-2YXQ85{margin-left:40px;width:33.33%}.listingSmall-d9e5gC{padding-left:20px;padding-right:20px}.listingSmall-d9e5gC .headerAssets-2CL92w{height:80px}.listingSmall-d9e5gC .headerLogo-2O9XZd{height:40px}.listingSmall-d9e5gC .purchaseUnit-2lxci3{margin-top:20px;margin-bottom:20px}.purchaseError-1fA5nO{font-size:14px;margin-left:8px}.theme-light .listing-2nUQ4d{color:#36393f}.theme-light .purchaseError-1fA5nO{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-light .link-2T7oYD{color:#36393f}.theme-dark .listing-2nUQ4d{color:#f6f6f7}.theme-dark .purchaseError-1fA5nO{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-dark .link-2T7oYD{color:#f6f6f7}
-.applicationStore-1pNvnv{overflow-x:hidden;overflow-y:auto;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-overflow-scrolling:touch;background-color:var(--deprecated-store-bg)}.navigation-1d6CXm{margin:40px 35px}.marketingHeader-2Iq7qk{background-color:#202225}.marketingFooter-1ZdZyI{overflow:visible!important}
-.notice-3uyY6c{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:40px;padding:0 8px;-webkit-box-shadow:none;box-shadow:none;background-color:var(--brand-experiment-600);color:#fff}.notice-3uyY6c.error-10-hkY{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.button-gP4R86{font-weight:600;padding:4px 8px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.button-gP4R86:hover{background-color:var(--brand-experiment-530)}.error-10-hkY>.button-gP4R86:hover{background-color:hsl(359,calc(var(--saturation-factor, 1)*66.7%),54.1%)}.header-2QVqxD{color:#fff;display:inline;margin-right:16px}
-.notice-2X5hT5{background-color:var(--brand-experiment-600);color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:40px;padding:0 8px}.button-2PWmas,.notice-2X5hT5{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.button-2PWmas{font-weight:600;padding:4px 8px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.button-2PWmas:hover{background-color:var(--brand-experiment-530)}.back-1Ess-_{position:absolute;left:8px;margin:auto;top:0;bottom:0;height:24px}.iconButton-2_z05_{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.arrow-18Rpsc{margin-right:8px}.header-1g25vm{display:inline;margin-right:16px;color:#fff}
-.premiumIcon-2lve6h{position:relative;top:6px;margin-right:8px;width:24px;height:24px}.platformIcon-2NdO9F{display:inline-block;width:28px;height:28px;margin-top:-4px;margin-right:10px;vertical-align:middle;position:relative}.platformIcon-2NdO9F+.platformIcon-2NdO9F{margin-left:-10px}.icon-KgjVwm{display:inline-block;width:20px;height:20px;vertical-align:middle;margin-left:10px;margin-top:-3px;position:relative}.icon-KgjVwm+.icon-KgjVwm{margin-left:6px}.iconWindows-1KG_XN{background-image:url(/assets/24b843ed68d70abffbf4fdab9b400cc9.svg)}.iconApple-1hp9Sq{background-image:url(/assets/ca511da5c9b326e5cb3f6befab1a3143.svg)}.iconAndroid-3HTSwF{background-image:url(/assets/296aebeec33f5ce47db9ebbee9ccf1fc.svg)}.iconUSFlag-2aEzZR{background-image:url(/assets/7b2d27f93d5984aeb6111c044c9b7b43.png);background-size:85%;background-position:top;background-repeat:no-repeat;margin-right:7px;margin-top:0}.icon-KgjVwm+.btn-2o56RF{margin-left:20px}.textLink-27KAGV{color:#fff;text-decoration:underline;padding-left:10px;-webkit-app-region:no-drag}.textLinkSmall-1iFB8H{font-size:12px}.testModeSKUSelector-1z7rGh{margin-left:16px;height:24px}.premiumLogo-30dge3{display:inline-block;position:relative;top:2px;width:51px;height:13px;margin-right:20px;background-image:url(/assets/9328a2df4b542ac8725b57010a52f73b.svg);background-size:100%;background-repeat:no-repeat}.premiumText-C5NcRe{font-weight:500}.premiumAction-3Tcani{margin-left:20px}.ellipsis-AB-iKn{margin-left:7px}
-.container-_xSQEe{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.acceptButton-1w0WVo{margin-left:16px;padding:4px 8px}.acceptText-j9fxRL{color:hsl(138,calc(var(--saturation-factor, 1)*47%),25.9%)}.declineButton-3AjV5l{margin-left:8px;padding:3px 7px}.declineText-awkkNG{color:#fff}.blocked-v_WYd3{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.blockedIcon-1j8HfR{margin-right:4px;margin-left:12px}.blockedText-18I_XK{font-size:12px;font-weight:400}
-.errorLabel-7OAe-A,.supportCallToAction-7lpXkq{margin-top:20px}.errorLabel-7OAe-A{font-size:12px;font-weight:700;letter-spacing:.5px;text-transform:uppercase}.errorDetails-qKU8eS{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:2px;border-style:solid;border-radius:5px;font-size:14px;line-height:16px;margin-top:10px;margin-bottom:20px;padding:12px;font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;white-space:pre}.theme-dark .body-3AvtFJ{color:#dcddde}.theme-dark .errorLabel-7OAe-A{color:#b9bbbe}.theme-dark .errorDetails-qKU8eS{background:#2f3136;border-color:rgba(32,34,37,.3);color:#fff}.theme-dark .closeLink-2MRAUp{color:#fff}.theme-light .body-3AvtFJ{color:#4f545c}.theme-light .errorLabel-7OAe-A{color:#72767d}.theme-light .errorDetails-qKU8eS{background:hsl(180,calc(var(--saturation-factor, 1)*7.7%),97.5%);border-color:hsla(216,calc(var(--saturation-factor, 1)*9.8%),90%,.6);color:hsl(214,calc(var(--saturation-factor, 1)*9.9%),50.4%)}.theme-light .closeLink-2MRAUp{color:var(--brand-experiment)}
-.channel-2QD9_O{position:relative;max-width:224px;margin-left:8px}.channel-2QD9_O:hover .closeButton-2GCmT5{display:block}.linkButtonIcon-Mlm5d6{width:24px;height:24px}.closeButton-2GCmT5{display:none;width:16px;height:16px;opacity:.7;margin:2px}.closeButton-2GCmT5:hover{opacity:1}.closeIcon-rycxaQ{display:block;width:16px;height:16px}.subtext-1RtU34{font-size:12px;line-height:16px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.activity-525YDR{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.activityText-OW8WYb{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.activityEmoji-1AR8K6{margin-right:4px;width:14px;height:14px}.decorator-3MaMCZ{margin-left:4px}
-.empty-388osJ{fill:var(--background-primary);padding:16px}.scroller-1JbKMe{background-color:var(--background-secondary)}.headerText-2F0828{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis}.privateChannelsHeaderContainer-3NB1K1{display:-webkit-box;display:-ms-flexbox;display:flex;padding:18px 8px 4px 18px;height:40px}.privateChannelsHeaderContainer-3NB1K1:hover{color:var(--interactive-hover)}.privateChannelRecipientsInviteButtonIcon-3A3uTc{-webkit-box-flex:0;-ms-flex:0;flex:0;width:16px;height:16px;margin-left:0;margin-right:2px}
-html .tabBadge-3smxHS{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.downloadProgressCircle-3_wgim{width:24px;height:24px;margin-left:8px;opacity:1;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.hideGameUpdateProgressIndicator-YAQq-w{opacity:0;pointer-events:none}.privateChannels-1nO12o{-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:var(--background-secondary)}.privateChannels-1nO12o,.searchBar-6Kv8R2{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.searchBar-6Kv8R2{z-index:2;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:0 10px;height:48px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low)}.searchBar-6Kv8R2 .searchBarComponent-32dTOx{width:100%;height:28px;overflow:hidden;border-radius:4px;background-color:var(--background-tertiary);-webkit-box-shadow:none;box-shadow:none;color:var(--text-muted);text-align:left;text-overflow:ellipsis;font-size:14px;font-weight:500;line-height:24px;white-space:nowrap}
-.libraryFilter-31ZUa2{margin-right:8px;position:relative;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:144px}.libraryFilter-31ZUa2.focused-2eiV0o{width:240px}.searchBar-TUoVPN{width:100%;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}
-.libraryHeader-3g95kE{z-index:3}.libraryHeader-3g95kE:before{content:"";position:absolute;display:block;top:47px;left:0;right:0;height:1px;-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low);z-index:1;pointer-events:none;contain:paint}
-.row-1Lmx44{display:-webkit-box;display:-ms-flexbox;display:flex}.clickable-VxMZ3b{cursor:pointer;color:var(--interactive-normal)}.clickable-VxMZ3b:hover{color:var(--interactive-hover)}.headerCell-2jGIdL,.headerCellContent-1pLtOr{display:-webkit-box;display:-ms-flexbox;display:flex}.headerCellContent-1pLtOr{-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:18px}.stickyHeader-r2k9DK{position:fixed;top:0;left:0;z-index:2}.spacerHeader-3eoEE2{visibility:hidden}.sortIcon-3wW2NW{width:18px;height:18px;margin-left:4px}.theme-dark .headerCellSorted-1JR4Ny{color:#fff}.theme-light .headerCellSorted-1JR4Ny{color:#4f545c}
-.table-1tDS6w{width:100%}.table-1tDS6w:only-child{margin-bottom:20px}.header-39GIC8{padding:20px 34px 8px;font-size:12px;font-weight:600;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--background-primary);border-bottom:1px solid var(--background-modifier-accent)}.nameCell-3_ThYZ{width:30%}.nameCellText-1mpqtF{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--header-primary);font-weight:600}.icon-1IKq3C{width:20px;height:20px;color:var(--interactive-muted)}.nitroIcon-2_2ZKS{margin-left:8px;-ms-flex-negative:0;flex-shrink:0}.lastPlayedCell-2arbtc,.platformCell-XyBBs6{width:20%;color:var(--text-muted)}.actionsCell-1awtNi{width:30%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-width:0;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.stickyHeader-1pqx0j{width:calc(100% - 16px)}.headerCell-3L6rFG{text-transform:uppercase;border-left:1px solid var(--background-modifier-accent);-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 12px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.headerCell-3L6rFG:first-child{border-left:none;padding-left:0}.headerCellSorted-3a5AzJ,.headerCellSorted-3a5AzJ:hover{color:var(--interactive-active)}.rowWrapper-2fB6P0{border-radius:8px;margin:0 18px;cursor:pointer;position:relative}.rowWrapper-2fB6P0+.rowWrapper-2fB6P0 .row-ZLfFhY{border-top:1px solid var(--background-modifier-accent)}.rowWrapperActive-2L7i9f{padding-bottom:1px;margin-bottom:-1px;z-index:1;background-color:var(--background-modifier-hover)}.rowWrapperActive-2L7i9f,.rowWrapperGlow-w1rbPJ{}@-webkit-keyframes glow-3kkOpg{0%{opacity:1}20%{opacity:1}to{opacity:0}}@keyframes glow-3kkOpg{0%{opacity:1}20%{opacity:1}to{opacity:0}}.row-ZLfFhY{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0 8px;min-height:62px;color:var(--header-secondary)}.rowBackground-3MeNoN{position:absolute;top:0;left:0;bottom:0;width:272px;background-repeat:no-repeat;-webkit-filter:grayscale(100%);filter:grayscale(100%);background-size:cover;-webkit-mask:radial-gradient(100% 100% at top left,hsla(0,0%,100%,.3) 0,hsla(0,0%,100%,0) 100%);mask:radial-gradient(100% 100% at top left,hsla(0,0%,100%,.3) 0,hsla(0,0%,100%,0) 100%);border-radius:8px}.bodyCell-9xKjWE{-webkit-box-sizing:border-box;box-sizing:border-box;padding:8px 8px 8px 15px;line-height:1.25;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.textCell-1aBIUP{-ms-flex-item-align:stretch;align-self:stretch;display:-webkit-box;display:-ms-flexbox;display:flex;color:var(--text-muted)}.nameBodyCell-3JOlnK{font-weight:500;padding-left:8px}.nameCellInfo-11WjkQ{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.lastPlayedCellNew-3twqHQ{font-weight:600;color:var(--text-warning);text-transform:uppercase}.gameIcon-3XJ9fu{margin-right:20px}.actionButtonSize-1Znp1q{height:32px;min-width:120px}.hidden-QHDCKo{visibility:hidden}.settingIcons-3QYa5E{display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:26px;min-width:56px}.settingIcon-1nXguX{min-width:20px;margin-right:20px}.settingIcon-1nXguX:last-child{margin-right:0}.emptyState-1pmlaK{padding-bottom:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.emptyStateText-1CEHF_{margin:20px 20px 0;text-align:center}.emptyStateHeader-3CJtAy{margin-bottom:8px;font-size:24px;color:var(--header-primary)}.emptyStateDescription-2IePen{line-height:1.25;font-size:16px;color:var(--header-secondary)}.emptyStateButtons-2u6vlI{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.emptyStateButton-ab82qi{min-width:125px;margin-top:20px;margin-right:20px}.emptyStateButton-ab82qi:last-child{margin-right:0}.emptyWumpus-12J3jI{width:404px;height:202px;-ms-flex-negative:0;flex-shrink:0}.emptyStateLarge-1nQX5A{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.emptyStateSmall-2Ttdgm{padding-top:39px;border-top:1px solid var(--background-modifier-accent)}.emptyStateSmall-2Ttdgm .emptyStateText-1CEHF_{text-align:left;margin-left:0}.emptyStateSmall-2Ttdgm .emptyWumpus-12J3jI{margin-left:50px;margin-right:40px}.emptyStateSmall-2Ttdgm .emptyStateButtons-2u6vlI{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.rowWrapperDim-2Y1SDG .nameBodyCell-3JOlnK,.rowWrapperDim-2Y1SDG .settingIcon-1nXguX,.rowWrapperDim-2Y1SDG .textCell-1aBIUP{opacity:.2}.rowWrapper-2fB6P0+.rowWrapperActive-2L7i9f .row-ZLfFhY,.rowWrapperActive-2L7i9f+.rowWrapper-2fB6P0 .row-ZLfFhY{border-top-color:transparent}.theme-dark .emptyWumpus-12J3jI{background:url(/assets/131dcaaa628405e6d0ebee7708111c7a.svg)}.theme-light .emptyWumpus-12J3jI{background:url(/assets/d0320d29cdef93b8e2baf889a28d32e0.svg)}@media (max-width:1200px){.settingIcons-3QYa5E{display:none}.emptyStateSmall-2Ttdgm{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.emptyStateSmall-2Ttdgm .emptyStateText-1CEHF_{text-align:center;margin-left:20px}.emptyStateSmall-2Ttdgm .emptyWumpus-12J3jI{margin-left:0;margin-right:0}.emptyStateSmall-2Ttdgm .emptyStateButtons-2u6vlI{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}@media (max-width:980px){.platformCell-XyBBs6{display:none}}@media (max-width:860px){.lastPlayedCell-2arbtc{display:none}}@media (max-width:780px){.rowWrapper-2fB6P0{margin:0 8px}.header-39GIC8{padding:0 24px 8px}}
-.progress-5tMCVk{position:relative;width:100%;overflow:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.progressBar-3zryPV{position:absolute;width:100%}.animating-LLJeAN{-webkit-transition:-webkit-transform .2s ease-out;transition:-webkit-transform .2s ease-out;transition:transform .2s ease-out;transition:transform .2s ease-out,-webkit-transform .2s ease-out}.xsmall-2LuBKD{height:4px}.small-4dgL9e,.xsmall-2LuBKD{border-radius:3px}.small-4dgL9e{height:6px}.large-2ObtSP{height:8px;border-radius:4px}
-.canvas-vcIIha{width:100%;height:100%}
-.monitor-16FZmL{width:100%;height:24px}.overflowContainer-3Px9Jk{-webkit-mask:-webkit-gradient(linear,left top,right top,color-stop(0,transparent),color-stop(50%,#000),color-stop(97%,#000),to(transparent));-webkit-mask:linear-gradient(90deg,transparent,#000 50%,#000 97%,transparent);mask:-webkit-gradient(linear,left top,right top,color-stop(0,transparent),color-stop(50%,#000),color-stop(97%,#000),to(transparent));mask:linear-gradient(90deg,transparent,#000 50%,#000 97%,transparent);overflow:hidden;width:100%}.text-UALi1A{font-size:10px;line-height:12px;text-transform:uppercase;white-space:nowrap;width:70px;margin-right:0}.title-1rXJ86{font-weight:600;color:currentColor}.rate-1Gat8e{font-weight:500}.sparkChart-1mzaPT{height:24px}.theme-dark .rate-1Gat8e{color:#72767d}
-.table-2BOVTY{width:100%}.gameUpdates-2GPqBU{-webkit-transform:translateZ(0);transform:translateZ(0);background-color:var(--background-tertiary)}.headerRow-2xTwL8{padding:20px 28px 12px;display:-webkit-box;display:-ms-flexbox;display:flex}.headerCell-1ucI8T{-webkit-box-sizing:border-box;box-sizing:border-box;margin-right:40px}.headerCell-1ucI8T:last-child{margin-right:0}.diskProgress-37-Sik{color:var(--text-link)}.networkProgress-2auspD{color:var(--text-positive)}.row-2X_kYI{border-bottom:1px solid var(--background-modifier-accent);margin:0 28px;padding:16px 0 10px}.row-2X_kYI:last-child{border-bottom:none}.cell-nWKOx7{-webkit-box-sizing:border-box;box-sizing:border-box;padding:8px 8px 8px 20px}.nameCell-bbdv8D{cursor:pointer;width:30%;-ms-flex-negative:0;flex-shrink:0;padding-left:8px}.progressCell-3JFYxP{width:60%}.actionsCell-31fBWo{width:10%;min-width:98px;padding-right:12px;padding-left:12px}.nameCellHeader-3ioEGH{font-size:18px}.nameCellText-Ubz8FY{font-weight:600;margin-left:20px;line-height:1.25;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--header-primary)}.progressCellHeader-2-7Z16{display:block;padding:8px 8px 8px 20px}.progressCellBody-1PZmFW{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:13px}.progressCellText-3avmMz{margin-top:4px;font-size:12px;font-weight:500;text-transform:uppercase;color:var(--text-muted)}.infoIcon-2h6crV{opacity:.3;width:24px;height:24px}.actionButton-4w4-EY{margin-left:8px}.actionButton-4w4-EY:first-child{margin-left:0}.actionButton-4w4-EY .actionButtonContents-1bdeMq{display:-webkit-box;display:-ms-flexbox;display:flex}.gameActionButton-1PpUxH{min-width:72px}.actionIcon-3Pm3FL{width:24px;height:24px;opacity:.6}
-.container-19hC9u{position:relative}.scroller-1IIF0A{background-color:var(--background-primary);contain:layout size}.stickyScroller-24zUyY{-webkit-transform:translateZ(0);transform:translateZ(0)}
-.wrapper-1u09nF{position:relative;width:50px;height:50px;-ms-flex-negative:0;flex-shrink:0}.svg-3yO_hc{-webkit-transform:rotate(-86deg);transform:rotate(-86deg)}.path-3H_ZFA{fill:none;stroke-width:4px}.background-yZEZik,.foreground-2aE44H{}.foreground-2aE44H{stroke-dashoffset:0;stroke-miterlimit:10;stroke-linecap:round;-webkit-transition:stroke .3s ease,stroke-dasharray .3s ease-out;transition:stroke .3s ease,stroke-dasharray .3s ease-out}.usageInfo-2WQAwr{position:absolute;top:19px;left:11px;width:30px;font-size:12px;font-weight:600;line-height:12px;text-align:center;overflow:hidden}.theme-dark .background-yZEZik{stroke:#4f545c}.theme-dark .usageInfo-2WQAwr{color:#b9bbbe}.theme-light .background-yZEZik{stroke:#dcddde}.theme-light .usageInfo-2WQAwr{color:#4f545c}
-.hoverRoll-YK53gQ{display:inline-block;vertical-align:top;cursor:default;text-align:left;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;width:100%;contain:paint}.hoverRoll-YK53gQ.forceHover-10IIq8:not(.disabled-3Vq5Ov) .default-3sgIpy,.hoverRoll-YK53gQ:hover:not(.disabled-3Vq5Ov) .default-3sgIpy{-webkit-transform:translate3d(0,-107%,0);transform:translate3d(0,-107%,0);opacity:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.hoverRoll-YK53gQ.forceHover-10IIq8:not(.disabled-3Vq5Ov) .hovered-d5PMVU,.hoverRoll-YK53gQ:hover:not(.disabled-3Vq5Ov) .hovered-d5PMVU{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}.default-3sgIpy,.hovered-d5PMVU{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;-webkit-transition:all .22s ease;transition:all .22s ease;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;pointer-events:none;width:100%}.hovered-d5PMVU{opacity:0;-webkit-transform:translate3d(0,107%,0);transform:translate3d(0,107%,0);position:absolute;top:0;left:0;bottom:0;right:0}
-.wrapper-3Lw29Y{margin-top:60px}.installationPath-3cStrB{padding:20px 0}.installationPathEditing-1ecsKV{padding:19px;margin-left:-20px;margin-right:-20px}.separator-3JyZKG{margin-top:20px;margin-bottom:20px}.defaultIndicator-3WqGFB{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:11px;height:14px;padding:0 4px;margin-left:8px;letter-spacing:.4px;text-align:center;border-radius:3px;text-transform:uppercase;font-weight:700}.rowBody-3dJTTZ{margin-top:4px;font-size:14px;height:16px}.buttonRowWrapper-3taTnj{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.defaultLocationCheckbox-3HMIPO{margin-top:20px}.theme-dark .installationPath-3cStrB{-webkit-box-shadow:0 1px 0 0 #4f545c;box-shadow:0 1px 0 0 #4f545c}.theme-dark .rowTitle-1KYtY7{color:#dcddde}.theme-dark .rowBody-3dJTTZ{color:#72767d}.theme-dark .defaultLocationCheckbox-3HMIPO{color:#f6f6f7}.theme-dark .defaultIndicator-3WqGFB{background-color:#4f545c;color:#fff}.theme-light .installationPath-3cStrB{-webkit-box-shadow:0 1px 0 0 #dcddde;box-shadow:0 1px 0 0 #dcddde}.theme-light .rowTitle-1KYtY7{color:#4f545c}.theme-light .rowBody-3dJTTZ{color:rgba(114,118,125,.6)}.theme-light .defaultLocationCheckbox-3HMIPO{color:#4f545c}.theme-light .defaultIndicator-3WqGFB{background-color:#4f545c;color:#fff}
-.scroller-2XE8rp{background-color:var(--background-primary);contain:layout size}.body-3s3lDR{max-width:660px;margin:0 auto;padding:40px 0}.hiddenLibraryApplications-2C70Ov{margin-top:60px}.hiddenLibraryApplications-2C70Ov:first-child{margin-top:20px}.hiddenLibraryApplicationContent-2Q-kwE{z-index:1}.hiddenLibraryApplicationsTitle-xEDJHH{margin-bottom:8px}.hiddenLibraryApplication-T6N3U1{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;padding:20px 0;border-top:1px solid}.hiddenLibraryApplication-T6N3U1:last-of-type{border-bottom:1px solid}.hiddenLibraryApplication-T6N3U1:last-of-type:hover{border-bottom-color:transparent}.hiddenLibraryApplication-T6N3U1:hover .restoreButton-3jU0Z6{opacity:1}.restoreButton-3jU0Z6{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:24px;height:24px;padding:0;opacity:0;-webkit-transition:opacity .1s ease;transition:opacity .1s ease;position:absolute;top:-12px;right:-31px;border-radius:50%;min-height:0;min-width:0;cursor:pointer}.restoreIcon-28gQmF{width:11px;height:11px}.applicationName-2toV6z{font-size:16px;font-weight:600;line-height:22px}.applicationSubText-2V8LSK{margin-top:2px;font-size:14px;font-weight:500;line-height:16px}.theme-dark .applicationName-2toV6z{color:#f6f6f7}.theme-dark .applicationSubText-2V8LSK{color:#72767d}.theme-dark .hiddenLibraryApplication-T6N3U1{border-color:#4f545c}.theme-dark .hiddenLibraryApplication-T6N3U1:first-of-type,.theme-dark .hiddenLibraryApplication-T6N3U1:hover,.theme-dark .hiddenLibraryApplication-T6N3U1:hover+.hiddenLibraryApplication-T6N3U1{border-top-color:transparent}.theme-dark .hiddenLibraryApplication-T6N3U1:before{background:rgba(32,34,37,.3);border-color:#202225}.theme-dark .restoreButton-3jU0Z6{background:#36393f;-webkit-box-shadow:0 0 0 1px rgba(32,34,37,.6),0 1px 5px 0 rgba(0,0,0,.3);box-shadow:0 0 0 1px rgba(32,34,37,.6),0 1px 5px 0 rgba(0,0,0,.3)}.theme-dark .restoreButton-3jU0Z6:hover{background:#2f3136;-webkit-box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2)}.theme-dark .restoreIcon-28gQmF{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-light .applicationName-2toV6z{color:#4f545c}.theme-light .applicationSubText-2V8LSK{color:rgba(114,118,125,.6)}.theme-light .hiddenLibraryApplication-T6N3U1{border-color:rgba(185,187,190,.3)}.theme-light .hiddenLibraryApplication-T6N3U1:first-of-type,.theme-light .hiddenLibraryApplication-T6N3U1:hover,.theme-light .hiddenLibraryApplication-T6N3U1:hover+.hiddenLibraryApplication-T6N3U1{border-top-color:transparent}.theme-light .hiddenLibraryApplication-T6N3U1:before{background-color:rgba(246,246,247,.6);border-color:#dcddde}.theme-light .restoreButton-3jU0Z6{background:#fff;-webkit-box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 5px 0 rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 5px 0 rgba(0,0,0,.2)}.theme-light .restoreButton-3jU0Z6:hover{background:#f6f6f7;-webkit-box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1);box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1)}.theme-light .restoreIcon-28gQmF{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.container-3Mxszk{overflow:hidden;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}
-.card-3DjzTQ{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:320px;width:100%;overflow:hidden;border-radius:8px;position:relative;-webkit-transition:background .2s ease-out,opacity .2s ease-in,-webkit-box-shadow .2s ease-out,-webkit-transform .2s ease-out;transition:background .2s ease-out,opacity .2s ease-in,-webkit-box-shadow .2s ease-out,-webkit-transform .2s ease-out;transition:box-shadow .2s ease-out,transform .2s ease-out,background .2s ease-out,opacity .2s ease-in;transition:box-shadow .2s ease-out,transform .2s ease-out,background .2s ease-out,opacity .2s ease-in,-webkit-box-shadow .2s ease-out,-webkit-transform .2s ease-out;cursor:pointer;background-color:var(--activity-card-background)}.iconMask-3b8GzQ{-webkit-transition:background .2s ease-out,-webkit-box-shadow .2s ease-out,-webkit-transform .2s ease-out;transition:background .2s ease-out,-webkit-box-shadow .2s ease-out,-webkit-transform .2s ease-out;transition:box-shadow .2s ease-out,transform .2s ease-out,background .2s ease-out;transition:box-shadow .2s ease-out,transform .2s ease-out,background .2s ease-out,-webkit-box-shadow .2s ease-out,-webkit-transform .2s ease-out}.card-3DjzTQ:focus,.card-3DjzTQ:hover{-webkit-transform:translateY(-1px);transform:translateY(-1px);-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high)}.card-3DjzTQ:focus .splash-3N0nhD,.card-3DjzTQ:hover .splash-3N0nhD{-webkit-transform:scale(1.01) translateZ(0);transform:scale(1.01) translateZ(0)}@-webkit-keyframes placeholderPulse-3szywu{0%{opacity:.6}50%{opacity:.8}to{opacity:.6}}@keyframes placeholderPulse-3szywu{0%{opacity:.6}50%{opacity:.8}to{opacity:.6}}.cardPlaceholder-1zrbbe{-webkit-animation:placeholderPulse-3szywu 1.8s ease-in-out infinite;animation:placeholderPulse-3szywu 1.8s ease-in-out infinite;background-color:var(--background-tertiary)}.cardHeader-Int16m{height:143px;position:relative;display:block;overflow:visible;margin-bottom:32px}.splash-3N0nhD{display:block;position:absolute;top:0;left:0;-webkit-transition:opacity .2s,-webkit-transform .2s ease-out;transition:opacity .2s,-webkit-transform .2s ease-out;transition:opacity .2s,transform .2s ease-out;transition:opacity .2s,transform .2s ease-out,-webkit-transform .2s ease-out;-webkit-transform:scale(1);transform:scale(1);opacity:0}.splash-3N0nhD,.splashImage-1wJ3Sk{width:100%;height:100%}.splashImage-1wJ3Sk{-o-object-fit:cover;object-fit:cover}.loaded-1eBnjq{position:relative}.loaded-1eBnjq .splash-3N0nhD{opacity:1}.guildIcon-3W0pfo{position:absolute;bottom:-21px;left:12px}.iconMask-3b8GzQ{padding:4px;background-color:var(--activity-card-background)}.avatar-22otdK{width:100%;height:100%}.guildInfo-2wGKIg{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:stretch;align-content:stretch;padding:0 16px 16px;overflow:hidden}.guildInfo-2wGKIg,.title-OqQvkN{display:-webkit-box;display:-ms-flexbox;display:flex}.title-OqQvkN{-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;font-weight:600}.guildBadge-RlDbED{-webkit-box-flex:0;-ms-flex:0 0 16px;flex:0 0 16px;width:16px;height:16px;margin-right:4px;margin-left:-2px}.guildName-1yURO5{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.description-2QALGo{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;margin:4px 0 16px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical}.memberInfo-3r4FKx{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.memberCount-1a8ALW,.memberInfo-3r4FKx{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.memberCount-1a8ALW{font-size:0.75rem;line-height:1rem;margin-right:16px}.memberCount-1a8ALW:last-child{margin-right:0}.dotOnline-8Ag7EB{border-radius:50%;width:8px;height:8px;margin-right:4px;-ms-flex-negative:0;flex-shrink:0;background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.dotOffline-3DXoDy{background-color:#b9bbbe}.loading-17PYl_{position:relative;border-radius:5px;background-color:var(--channeltextarea-background)}.submitting-1aI0iz{opacity:.5;pointer-events:none}.spinner-3lb-NU{width:48px;height:48px;border-radius:8px;background-color:#18191c;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);position:absolute;z-index:1}.theme-dark .card-3DjzTQ,.theme-dark .iconMask-3b8GzQ{background-color:var(--background-secondary-alt)}.theme-dark .card-3DjzTQ:hover,.theme-dark .card-3DjzTQ:hover .iconMask-3b8GzQ,.theme-dark .iconMask-3b8GzQ:hover,.theme-dark .iconMask-3b8GzQ:hover .iconMask-3b8GzQ{background-color:var(--background-tertiary)}.theme-light .card-3DjzTQ{-webkit-box-shadow:0 0 0 1px rgba(185,187,190,.3),var(--elevation-medium);box-shadow:0 0 0 1px rgba(185,187,190,.3),var(--elevation-medium)}.theme-light .card-3DjzTQ:focus,.theme-light .card-3DjzTQ:hover{-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high)}
-.guildListSection-2CS8vH{width:100%;margin-bottom:32px;min-width:580px}.subtitle-160Q0A{margin-top:4px}.guildList-3cJX3d{margin-top:16px;display:grid;grid-gap:16px;grid-template-columns:repeat(auto-fill,minmax(248px,1fr))}
-.container-V70vZ2{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;margin-top:16px}.container-V70vZ2.searchPage-3GKAdT{margin-bottom:16px;margin-top:0}.search-1iTphC{width:100%;max-width:560px;position:relative;margin:auto auto 16px}.search-1iTphC .searchBox-2_mAlO{z-index:2;border-radius:8px;background-color:#fff;padding-right:8px}.search-1iTphC .searchBox-2_mAlO:focus,.search-1iTphC .searchBox-2_mAlO:focus-within{-webkit-box-shadow:0 0 0 1px #5b43f0,0 0 0 2px #bdb3f9,0 0 0 3px #bdb3f9;box-shadow:0 0 0 1px #5b43f0,0 0 0 2px #bdb3f9,0 0 0 3px #bdb3f9;border-color:transparent}.search-1iTphC .searchBox-2_mAlO .searchBoxInput-K6mkng{font-size:16px;padding:8px;color:#2e3338}.search-1iTphC .searchBox-2_mAlO .searchBoxInput-K6mkng::-webkit-input-placeholder{color:#72767d}.search-1iTphC .searchBox-2_mAlO .searchBoxInput-K6mkng::-moz-placeholder{color:#72767d}.search-1iTphC .searchBox-2_mAlO .searchBoxInput-K6mkng:-ms-input-placeholder{color:#72767d}.search-1iTphC .searchBox-2_mAlO .searchBoxInput-K6mkng::placeholder{color:#72767d}.search-1iTphC .searchBox-2_mAlO .closeIcon-2WLZc1{color:#4f5660;width:24px;height:24px}.search-1iTphC .searchBox-2_mAlO .closeIcon-2WLZc1:hover{color:#2e3338}.search-1iTphC .searchBox-2_mAlO .closeIcon-2WLZc1:focus{color:#060607}.search-1iTphC .searchBox-2_mAlO .searchIcon-6ljH-4{color:rgba(79,84,92,.6)}.searchPage-3GKAdT .search-1iTphC{width:auto;-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2;margin:0;max-width:720px}.searchPage-3GKAdT .search-1iTphC .searchBox-2_mAlO{background-color:var(--background-tertiary);-webkit-box-shadow:none;box-shadow:none}.searchPage-3GKAdT .search-1iTphC .searchBox-2_mAlO:focus,.searchPage-3GKAdT .search-1iTphC .searchBox-2_mAlO:focus-within{-webkit-box-shadow:none;box-shadow:none;border-color:var(--brand-experiment);-webkit-transform:none;transform:none}.searchPage-3GKAdT .search-1iTphC .searchBox-2_mAlO .searchBoxInput-K6mkng{color:var(--text-normal)}.searchPage-3GKAdT .search-1iTphC .searchBox-2_mAlO .closeIcon-2WLZc1:focus,.searchPage-3GKAdT .search-1iTphC .searchBox-2_mAlO .closeIcon-2WLZc1:hover{color:var(--interactive-active)}.searchPage-3GKAdT .search-1iTphC .searchBox-2_mAlO .closeIcon-2WLZc1{color:var(--interactive-normal);width:24px;height:24px}.languageSelector-LEtpHP{-webkit-box-flex:0;-ms-flex:0 0 106px;flex:0 0 106px;margin-left:8px}.categories-1ywIbh{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:20px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;max-width:848px}.categoryPill-34fszg{margin-right:8px;margin-bottom:4px;padding:4px 8px;text-align:center;cursor:pointer;border-radius:8px}.categoryPill-34fszg .categoryLabel-2G3r2V{color:var(--text-muted);font-weight:600}.categoryPill-34fszg:hover:not(.selected-1dONk0){background-color:var(--background-modifier-hover)}.categoryPill-34fszg.selected-1dONk0{background-color:var(--brand-experiment);color:#fff}.categoryPill-34fszg.selected-1dONk0 .categoryLabel-2G3r2V{color:#fff}
-.card-Lnpy-k{position:relative}.container-2zflaQ{display:-webkit-box;display:-ms-flexbox;display:flex;cursor:pointer;-webkit-transition:opacity .2s ease-in;transition:opacity .2s ease-in}.content-1BENPf{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;height:135px}.content-1BENPf,.header-17VJwP{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.header-17VJwP{-webkit-box-align:start;-ms-flex-align:start;align-items:start}.splashContainer-1rUZiJ{height:135px;border-radius:8px;margin-right:16px;overflow:hidden;-ms-flex-negative:0;flex-shrink:0}.splashImage-37Y0AL{height:100%;-o-object-fit:cover;object-fit:cover;-webkit-transition:-webkit-transform .2s ease-out;transition:-webkit-transform .2s ease-out;transition:transform .2s ease-out;transition:transform .2s ease-out,-webkit-transform .2s ease-out}.avatar-1izvHm{width:100%;height:100%;cursor:pointer}.headerName-2_tRB0{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:8px}.hover-5Ebo7F .splashImage-37Y0AL{-webkit-transform:scale(1.05);transform:scale(1.05)}.guildBadge-3eWG1R{margin-right:4px}.description-2gqdJO{margin-top:8px}.memberInfo-1YVMA9{margin-top:auto}.memberCount-3waKfJ,.memberInfo-1YVMA9{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.memberCount-3waKfJ{font-size:12px;line-height:16px}.dotSeparator-vID2Hz{border-radius:50%;width:4px;height:4px;margin:0 8px;-ms-flex-negative:0;flex-shrink:0;background-color:var(--interactive-muted)}.separator-2xbLUz{width:100%;height:0;display:block;border:none;border-top:1px solid var(--background-modifier-accent)}@-webkit-keyframes placeholderPulse-19E6RQ{0%{opacity:.6}50%{opacity:.8}to{opacity:.6}}@keyframes placeholderPulse-19E6RQ{0%{opacity:.6}50%{opacity:.8}to{opacity:.6}}.placeholder-2erB-x{height:136px;border-radius:8px;-webkit-animation:placeholderPulse-19E6RQ 1.8s ease-in-out infinite;animation:placeholderPulse-19E6RQ 1.8s ease-in-out infinite;background-color:var(--background-tertiary)}.submitting-IZmnHL{opacity:.5;pointer-events:none}.spinner-2OWD4A{width:48px;height:48px;border-radius:8px;background-color:#18191c;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);position:absolute;z-index:1}
-.pageWrapper-1PgVDX{width:100%;position:relative}.platform-osx .pageHeaderDrag-OPlmbm{-webkit-app-region:drag}.viewWrapper-8-8h4T{width:100%;height:100%;max-width:1608px;margin:0 auto}.viewWrapper-8-8h4T.searchPage-3m5ssC{margin:0}.scroller-1d5FgU{padding:16px;height:100%}@media (min-width:1129px){.scroller-1d5FgU{padding:32px}}.dragRegion-1CaXN-{position:absolute;top:0;left:0;width:100%;height:100px}.dragRegion-1CaXN-.searchPageDrag-3TmAeh{height:50px}.searchHeader-2I26nG{position:relative;text-align:center;margin-bottom:32px;min-height:200px}.headerImage-3X1tyY{display:inherit;border-radius:8px;width:100%;height:auto}.headerContentWrapper-2u32yq{position:absolute;top:0;left:0;bottom:0;right:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.headerContent-2gImvv{width:100%;min-width:360px;max-width:720px;margin:0 240px}.searchTitle-36D1cB{color:#fff}.searchSubtitle-2jsC5X{color:#fff;margin-top:8px}.guildList-1ItbxP{display:grid;grid-gap:16px;grid-template-columns:auto;grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;max-width:760px;margin:0}@media (max-width:1265px){.searchSubtitle-2jsC5X{font-size:14px}}.footer-2jdoRS{margin:32px 0;text-align:center}.footerImage-1CwWjz{margin-bottom:8px}.theme-dark .pageWrapper-1PgVDX{background-color:#36393f;color:#fff}.theme-light .pageWrapper-1PgVDX{background-color:#fff;color:#4f545c}
-.container-1A4qMb{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%}.container-1A4qMb,.searchHeader-14dJfk{display:-webkit-box;display:-ms-flexbox;display:flex}.searchHeader-14dJfk{-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:16px}.header-1URtb6{color:var(--header-secondary);margin-left:20px}.header-1URtb6 strong{color:var(--header-primary)}.arrow-3Qp2S8{cursor:pointer;color:var(--interactive-normal)}.arrow-3Qp2S8:hover{color:var(--interactive-hover)}.arrow-3Qp2S8:focus{color:var(--interactive-active)}.results-2a-SSB{max-width:720px;padding-bottom:32px}.emptyContainer-1_gwCl{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:var(--background-secondary);padding:80px 0;max-width:720px;border-radius:8px}.emptyImage-1ABqhB{width:314px;height:145px;background-image:url(/assets/4bb32037d9d2e8240d1315ddaf4e4b85.svg)}.emptyImage-1ABqhB,.errorImage-1StK2r{background-repeat:no-repeat;background-size:contain}.errorImage-1StK2r{width:80px;height:80px;background-image:url(/assets/c4e2488e2b572c805ffc3cce9ca92376.svg)}.emptyHeader-3hf8Hv{margin-top:32px;margin-bottom:8px}
-.container-3WrP6S{padding:16px;border-radius:8px;background-color:var(--background-secondary);-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.container-3WrP6S,.iconContainer-27DuH-{display:-webkit-box;display:-ms-flexbox;display:flex}.iconContainer-27DuH-{height:48px;width:48px;border-radius:48px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);margin-bottom:16px}.icon-3rDfhS{width:24px;height:24px;background-image:url(/assets/c53886f44f7e19ef8f6a480219fd8982.svg)}.header-1d65jP{margin-bottom:16px}.gap-rZ5eV1{-webkit-box-flex:1;-ms-flex:1;flex:1}.addButton-1YFqaW{font-weight:600;color:#fff}
-.container-1EB6d8{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;height:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.content-1b25Wt{-webkit-box-flex:1;-ms-flex:1;flex:1;background-color:var(--background-primary);height:100%}.contentScroll-3SDmjo{height:100%}.contentContainer-23x-Xa,.contentScroll-3SDmjo{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.contentContainer-23x-Xa{-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:408px;margin-top:-100px}.sidebar-1Lipg4{-webkit-box-flex:0;-ms-flex:0 1 30%;flex:0 1 30%;min-width:360px;max-width:420px;background-color:var(--background-secondary);height:100%}.sidebarScroll-1fj_gW{height:100%;-webkit-box-sizing:border-box;box-sizing:border-box;padding:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media (max-width:1200px){.sidebar-1Lipg4{display:none}}.scroller-3Vjo4T{padding:16px;height:100%;background-color:var(--background-primary)}@media (min-width:1129px){.scroller-3Vjo4T{padding:32px}}.headerImage-1vDSE3{display:inherit;border-radius:8px;width:100%;height:auto;margin-bottom:32px}.headerContainer-356ZSf{position:relative}.headerContent-WpYuS6{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;top:0;bottom:0;left:0;right:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.headerText-lI2ujL{font-weight:700;margin-bottom:8px;color:#fff}.headerDescription-2XFueT{color:#fff}.divider-3W3RCQ{margin-top:32px;margin-bottom:32px;height:1px;background-color:var(--background-modifier-accent)}.footerDescription-3tQBQ3{white-space:pre-wrap}
-.categoryItem-1QIroW{color:var(--header-secondary);margin-left:8px}.categoryItem-1QIroW.selectedCategoryItem-FHKU_o{color:#fff}.categoryItem-1QIroW.selectedCategoryItem-FHKU_o .itemInner-gPkiWb{background-color:var(--brand-experiment)}.hubIcon-12dQt1{width:24px;height:24px;background-image:url(/assets/c53886f44f7e19ef8f6a480219fd8982.svg)}.new-2Mtscr{border-radius:8px;padding-left:8px;padding-right:8px;background-color:var(--background-accent)}.newText-2sy7A0{color:#fff;text-transform:uppercase}
-.discoverHeader-Ijkm_M{margin:16px 0 16px 16px;font-weight:700}
-.formGroup-2hEDrJ{margin-bottom:20px}.formDivider-MjIVc7{margin-bottom:16px}.modalRoot-1Kx4Hb{overflow:visible}.inputContainer-1SpwlU{position:relative}.modalCloseButton-3ztS-g{position:absolute;top:12px;right:12px}.headerText-2uyvpY{font-size:20px;line-height:24px;font-weight:600;color:var(--interactive-active)}.emojiButton-2NpAb3.fullOpacity-mggU2C{opacity:1}.emojiButtonContainer-3d6DFV{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;left:0;top:0;margin:0 10px;height:100%}.emoji-MCvpgl{width:22px;height:22px}.input-1GLP_D{padding-left:42px;padding-right:36px}.clearButton-13g8ju{position:absolute;top:0;right:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;line-height:0;opacity:.6}.clearButton-13g8ju:focus,.clearButton-13g8ju:hover{opacity:1}.clearIcon-xXwSFS{width:16px;height:16px;color:var(--interactive-normal)}.headerContainer-3N-yWX{overflow:visible;position:relative}.header-3C6qT5{padding-top:52px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.art-347BZj{background-size:contain;background-repeat:no-repeat;position:absolute;top:0;left:50%;-webkit-transform:translateY(-50%) translateX(-50%);transform:translateY(-50%) translateX(-50%);width:200px;height:120px;background-image:url(/assets/c65bdfef89fe3a7456a727a4cf58933c.svg)}.cancelButton-2O3h8t{color:var(--interactive-active)}.cancelButton-2O3h8t:hover{text-decoration:underline}.statusOptionItem-Yx4fei{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.statusIcon-17SurO{margin-right:8px}
-.statusItem-33LqPf{-webkit-box-sizing:border-box;box-sizing:border-box;display:grid;grid-template-areas:"icon status" ". description";grid-template-rows:24px 1fr;grid-template-columns:24px 1fr;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;padding:4px 8px;min-height:24px}.status-1fhblQ{grid-area:status span 2}.icon-1IxfJ2{grid-area:icon}.description-2L932D{grid-area:description;color:currentColor;margin-bottom:2px;font-size:12px;line-height:16px;white-space:normal}.customStatusItem-1TTIxM{grid-template-areas:"status clear";grid-template-columns:1fr 20px}.customStatusItem-1TTIxM,.customStatusWithEmoji-8-XZ8I{grid-template-rows:24px}.customStatusWithEmoji-8-XZ8I{grid-template-areas:"icon status clear";grid-template-columns:24px 1fr 20px}.customEmoji-2_2FwB{grid-area:icon;margin-left:-2px;width:16px;height:16px}.customEmojiPlaceholder-37iZ_j{background-image:url(/assets/25acad70d165d46b460754aacfdc388b.svg);background-size:contain;background-repeat:no-repeat}.customText-tY5LJn{grid-area:status;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clearStatusButton-1Mxs1q{grid-area:clear;line-height:0}.clearStatusButton-1Mxs1q:hover{color:var(--interactive-hover)}.clearStatusIcon-3-MDNF{width:16px;height:16px;margin-left:4px}
-.content-23Vf0N{background:var(--brand-experiment);position:relative;text-align:center;padding:32px 10px 16px;max-width:280px;border-radius:8px}.art-1f2nmf{background-size:contain;background-repeat:no-repeat;position:absolute;top:0;left:50%;-webkit-transform:translateY(-85%) translateX(-50%);transform:translateY(-85%) translateX(-50%);width:248px;height:153.21px;background-image:url(/assets/d8b0839b664fcfcfebad6a4c2a622872.png)}.headerText-21DDzl{color:#fff;font-weight:600;margin-top:3px}.bodyText-2tDiRp{color:#fff;margin-top:4px}.button-1wP1OV{margin-top:16px;height:32px}.content-23Vf0N .button-1wP1OV{color:var(--brand-experiment)}.pointer-2uxyAa{width:0;height:0;border:5px solid transparent;border-top:5px solid var(--brand-experiment);pointer-events:none;position:absolute;top:100%;left:50%;margin-left:-5px}
-.group-2TdL0v{}.title-21ph07{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.experimentDate-1aRats{color:var(--channels-default)}.emptyState-hkJPHr{margin-top:36px;text-align:center}
-.modalContent-2ParpD{padding-top:30px;text-align:center}.header-2BYOHT{padding:42px 0 4px}.promo--BLWHF{display:-webkit-box;display:-ms-flexbox;display:flex;padding:16px;margin:20px 0 8px;background-color:var(--background-secondary);border-radius:5px;-ms-flex-line-pack:center;align-content:center;text-align:left}.promoText-2pe0yR{font-weight:600;margin-right:16px;-webkit-box-flex:1;-ms-flex:1;flex:1}.avatar-2IUHRM{position:absolute;top:-60px;left:160px}.cancelButton-2i5eJ4{margin-right:12px}.modalFooter-mcRLvN{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.modalFooter-mcRLvN,.modalFooterActions-1prWEU{display:-webkit-box;display:-ms-flexbox;display:flex}.modalFooterActions-1prWEU{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}
-.fakeActivityTitle-3Yf28p{font-weight:700}.fakeActivityLayout-3f8wLm{margin-top:8px}.fakeActivityIcon-30ykyj,.fakeActivityLayout-3f8wLm{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.fakeActivityIcon-30ykyj{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:64px;height:64px;border-radius:8px;background-color:var(--brand-experiment-600);margin-right:16px}.fakeActivityPencil-16MrMa{display:block;width:48px;height:48px}.fakeActivityContent-3sb3Tg{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.fakeActivityTimeValues-1FwoxE{font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace}
-.profileBannerPreview-3_l0Wd{position:relative;width:300px;min-width:300px;min-height:280px;background-color:var(--background-floating);border-radius:8px;overflow:hidden;-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high);margin-top:16px}.banner-hcPdsd{border-radius:8px 8px 0 0;width:100%}.bannerUploader-3AZuN1{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.gifTag-1Jm8FJ{position:absolute;top:8px;right:8px;pointer-events:none}.bannerUploaderInnerSquare-1ddxpx{background-size:cover;height:120px}.bannerNormal-22rPhb{height:60px}.bannerNitroUpsell-3f4I57{opacity:0;background-color:rgba(0,0,0,.4);-webkit-transition:opacity .2s ease;transition:opacity .2s ease;cursor:pointer;height:100%;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.bannerNitroUpsell-3f4I57:hover{opacity:1}.bannerNitroUpsellText-1kWpxG{color:#fff;width:50px;font-weight:700}.popoutInfo-pKbpvG{padding:0 16px 16px}.avatarUploader-2UF9NL{position:absolute;z-index:1;left:16px}.avatarUploaderNormal-zvplUn{top:16px}.avatarUploaderPremium-2K8j_T{top:76px}.avatarUploaderInner-Oiob_P{width:80px;height:80px;border:6px solid var(--background-floating);background-color:var(--background-floating);-webkit-box-sizing:content-box;box-sizing:content-box}
-.customizationSection-2ns2M6{margin-bottom:40px}.sectionDescription-3KkObU{margin-bottom:16px}.errorMessage-2cMV3U{margin-top:8px}
-.buttonsContainer-2EXVdN{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:16px}.removeButton-1skX4E{margin-left:4px}
-.nitroUpsellButtonInner-zjGzQV{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.nitroUpsellButtonWheel-3DQNDA,.nitroWheel-3ABMax{margin-right:4px}.nitroWheel-3ABMax{width:16px;height:16px;vertical-align:sub}.buttonsContainer-J9EyRh{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:16px}.removeButton-2AWwlf{margin-left:4px}
-.wrapper-2AQieU{width:auto}.saturation-1FDvtn{position:relative;width:auto;height:150px}.saturation-1FDvtn>div,.saturation-1FDvtn>div>div{border-radius:3px}.hue-13HAGb{height:8px;margin:8px 0;position:relative}.hue-13HAGb>div>div{border-radius:3px}.hue-13HAGb>div>div>div>div{height:16px!important;width:8px!important;margin-top:-3px!important;border-radius:3px!important}
-.container-3sNMIc{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:-10px;margin-right:-10px}.customContainer-3fZxdw,.defaultContainer-Z8qCJn{margin-top:10px;margin-right:10px;-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:60px;max-width:70px}.custom-2SJn4n .preset-10Y8Fc{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:vertical;flex-direction:vertical}.colorPickerCustom-2CWBn2,.custom-2SJn4n .preset-10Y8Fc{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal}.colorPickerCustom-2CWBn2{-ms-flex-direction:column;flex-direction:column;padding:10px;border:1px solid transparent;width:220px}.colorPickerCustom-2CWBn2 .customColorPickerInput-14pB0r .input-GfazGc{text-transform:uppercase;height:24px}.colorPickerRow-1LgLnl{margin-top:10px;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow:hidden}.colorPickerRow-1LgLnl,.colorPickerSwatch-5GX3Ve{display:-webkit-box;display:-ms-flexbox;display:flex;height:20px}.colorPickerSwatch-5GX3Ve{background-color:transparent;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;width:20px;border-radius:3px;margin-right:10px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid transparent;cursor:pointer;padding:0}.colorPickerSwatch-5GX3Ve.custom-2SJn4n,.colorPickerSwatch-5GX3Ve.default-cS_caM{margin-right:0;width:100%;height:50px;border-radius:4px}.colorPickerSwatch-5GX3Ve.disabled-1C4eHl{opacity:.3;cursor:not-allowed;pointer-events:none}.colorPickerSwatch-5GX3Ve .colorPickerDropper-3c2mIf{position:absolute;top:4px;right:4px}.theme-dark .colorPickerSwatch-5GX3Ve.noColor-1pdBDm{border-color:hsla(0,0%,100%,.1)}.theme-dark .colorPickerSwatch-5GX3Ve.noColor-1pdBDm .colorPickerDropperFg-3jYKWI{fill:#fff}.theme-dark .colorPickerCustom-2CWBn2{background:#36393f;border-color:#202225}.theme-light .colorPickerSwatch-5GX3Ve.noColor-1pdBDm{border-color:rgba(79,84,92,.1)}.theme-light .colorPickerSwatch-5GX3Ve.noColor-1pdBDm .colorPickerDropperFg-3jYKWI{fill:#4f545c}.theme-light .colorPickerCustom-2CWBn2{background:#fff;border-color:#dcddde}
-.buttonsContainer-1Stjd1{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:16px}.colorSwatch-3g4qA8{text-align:center;margin-right:16px}.swatchDescription-1OGz4Y{margin-top:4px}.swatch-3mFIiP{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:69px;height:50px;border-radius:4px;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box}.customSwatch-1axV7B{padding:0;min-height:unset;min-width:unset;position:relative;border:1px solid}.defaultSwatch-2nDSvP{border:1px solid var(--background-modifier-accent)}.dropperIcon-3Cwhnk{position:absolute;top:4px;right:4px}.profileColorTitle-1i-vxM{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.betaBadge-1VY8Cw{margin-left:8px;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}
-.userProfileCustomizationSection-8Vpo48{position:relative}.userProfileCustomizationSection-8Vpo48 p{margin-top:0}.baseLayout-2GkbfB{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.preview-yzOwK1{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:20px}
-.info-1VyQPT{padding:8px 10px;text-transform:capitalize;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.line-3ColD0{display:inline-block;width:100%}.versionHash-2gXjIB{text-transform:none}
-.socialLinks-3jqNFy{padding:8px 10px;font-size:12px;line-height:16px}.link-1IoFq-{padding:0 2px;margin-right:8px}.foreground-26ym5y{-webkit-transition:fill .15s ease;transition:fill .15s ease}.theme-light .foreground-26ym5y{fill:#b9bbbe}.theme-light .link-1IoFq-:hover .foreground-26ym5y{fill:#72767d}.theme-dark .foreground-26ym5y{fill:#adadad}.theme-dark .link-1IoFq-:hover .foreground-26ym5y{fill:#fff}
-.preview-2Vkbi6{background-color:var(--background-secondary);padding:16px}.previewMessage-1ZN7YG{padding:8px;border-radius:4px;margin-top:16px;background-color:var(--background-primary)}.previewHeader-14xJxw{display:-webkit-box;display:-ms-flexbox;display:flex}.previewAvatars-2J1R8v{margin-left:8px;display:grid;grid-auto-flow:column;gap:8px}
-.description-31A0cy{margin-bottom:16px}.buttonContainer-1zBNxN{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.disableButton-220a9y{margin-right:16px}
-.header-3ydO_m{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-top:24px;padding-bottom:24px}.title-33m_XM{font-weight:700}.subtitle-1DRiTc,.title-33m_XM{text-align:center}.subtitle-1DRiTc{margin-top:8px}.modalCloseButton-3aEy9o{position:absolute;top:16px;right:16px}.content-1AKki_{padding-bottom:16px}.password-7h0m3y{margin-top:16px}.cancel-3ncp2g{margin-right:8px}.multiInput-2AiDV2{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.multiInputFirst-2aPTwX{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.multiInputField-3K361B{border:none;background-color:transparent}.multiInputLast-33BbRU input{width:100px;padding-left:32px;font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace}.multiInputLast-33BbRU:before{width:1px;height:30px;content:"";position:absolute;margin-top:5px;border-width:1px;border-right-style:solid;opacity:.1}.questionMark-3qBhGj{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:32px;height:32px;border-radius:2px;margin-right:4px;padding:0;min-width:0;min-height:0;background-color:var(--brand-experiment)}.questionMark-3qBhGj .icon-3zLVMD{width:24px;height:24px;cursor:pointer;-webkit-app-region:no-drag;color:#f6f6f7}.discriminatorChangeWarning-3Aw70V{margin-top:8px}
-.accountProfileCard-1XCH88{background-color:var(--background-tertiary);border-radius:8px;position:relative;overflow:hidden}.userInfo-iCloHO{height:72px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:16px 16px 0 120px}.avatar-1uQSZT{border:7px solid var(--background-tertiary);background-color:var(--background-tertiary);position:absolute;top:76px;left:16px;-webkit-box-sizing:content-box;box-sizing:content-box}.profileCardUsernameRow-1koz7u{display:-webkit-box;display:-ms-flexbox;display:flex}.overflowMenuButton-1U2jMB{margin-left:8px;cursor:pointer}.overflowMenuIcon-1h7e8s{color:var(--interactive-normal)}.userTag-1PLzkC{margin-bottom:6px;font-family:var(--font-display);color:var(--header-primary);font-size:20px;line-height:24px;font-weight:600}.discriminator-2C3qJO{color:var(--header-secondary)}.background-1QDuV2{border-radius:8px;background-color:var(--background-secondary);padding:16px;margin:8px 16px 16px}.profile-1eT9hT{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.avatarUploaderInner-2EvNMg{width:80px;height:80px}.details-2fkb7l{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:auto;margin-bottom:auto;margin-left:16px;overflow:hidden}.detailsInner-1VPlWl{overflow:hidden;text-overflow:ellipsis;color:var(--header-primary)}.username-1fQw19{font-weight:600}.badgeList-HtCfKd{margin-top:4px}.fieldList-21DyL8{border-radius:8px;background-color:var(--background-secondary)}.field-1HUseB{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.fieldSpacer-wgewFh{margin-top:24px}.fieldTitle-3h2iLW{margin-bottom:4px}.fieldButtonList-16Wn0S{display:-webkit-box;display:-ms-flexbox;display:flex}.fieldButton-27bJrp{margin-top:auto;margin-bottom:auto}.removeButton-3vophT{margin-right:8px}.menu-319q29,.uploadButton-3kjtMm{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-left:auto;-ms-flex-negative:0;flex-shrink:0}.menu-319q29{margin-right:16px;color:var(--interactive-normal);cursor:pointer}.avatarError-10Cg1R{margin-top:8px}.constrainedRow-2GB6Ki{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;margin-right:16px}.usernameRow-2Lu_-c{overflow:hidden}.usernameInnerRow-ZlFnET{overflow:hidden;color:var(--header-primary);text-overflow:ellipsis}
-.header-2xfEYR{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-top:24px;padding-bottom:24px}.title-7KIelA{font-weight:700}.subtitle-2RGT-H,.title-7KIelA{text-align:center}.subtitle-2RGT-H{margin-top:8px}.modalCloseButton-1tQPZJ{position:absolute;top:16px;right:16px}.content-39mg13{padding-bottom:16px}.newPassword-2xUoju{margin-top:16px}.cancel-3-Mvz6{margin-right:8px}
-.spacing-1KPMm9{}.headerSpacing-VC8KSy{margin-bottom:0}.topSpacing-1zJ_nL{}.inputContainer-3J8c1k{}.input-1yeenJ{width:100%}.customWidth-hekRLH{width:520px}.divider-2iVRnS{}.image-zE4JEH{width:128px}.secret-VW-wXa{font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace}.theme-dark .subHeader-3TFIST{color:#b9bbbe}.theme-light .subHeader-3TFIST{color:#72767d}
-.modal-IZS9Va{width:450px}.modalInner-H7DVez{padding-bottom:20px}.header-26_H9C img{vertical-align:bottom}.divider-1F2Yxh{}.sectionBody-DUrZPU{}.phoneNumber-1Sn5tB{font-weight:600;padding-right:4px}.linkButton-2seBb6{padding-left:0;font-size:16px}.theme-dark .sectionBody-DUrZPU,.theme-dark .subHeader-3FXnUc{color:#b9bbbe}.theme-light .sectionBody-DUrZPU,.theme-light .subHeader-3FXnUc{color:#72767d}
-.lockIcon-2Hj8Tq{}.btn-1PnLxm{padding:10px 20px;font-size:14px;line-height:16px;font-weight:500;-webkit-transition:background-color .2s ease;transition:background-color .2s ease;position:relative;text-align:center;cursor:pointer}.btn-1PnLxm+.btn-1PnLxm{margin-left:8px}.btn-1PnLxm:disabled{cursor:not-allowed;opacity:.3}.btn-1PnLxm.btnPrimary-1jluZW{color:#fff;background-color:var(--brand-experiment);border-radius:3px;padding:8px 16px}.btn-1PnLxm.btnPrimary-1jluZW:hover:not(:disabled){background-color:var(--brand-experiment-600)}.userSettingsSecurityImage-21pI_Q{width:100%;opacity:1;-webkit-transition:opacity .3s ease;transition:opacity .3s ease}@media (max-width:840px){.userSettingsSecurityImage-21pI_Q{opacity:0}}.userSettingsSecurity-3IYeMF .isEnabled-24g9qA{color:var(--text-positive)}.userSettingsSecurity-3IYeMF .lockIcon-2Hj8Tq{margin-right:4px;width:10px;height:14px;position:relative;top:2px}.userSettingsSecurity-3IYeMF .checkboxGroup-3_9osm .code-2d9-2m{font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;font-size:14px;line-height:28px;cursor:text}.phoneRevealer-3-Mv3e{margin-left:4px}.changePasswordButton-1LGVWT{margin-bottom:28px}.accountWarningBodyText-3_2oAj{margin-bottom:16px}.backupCode-1iCDnI{outline:none;display:inline-block}.theme-light .userSettingsSecurity-3IYeMF .codeCheckbox-1T0TTy{color:#4f545c}.theme-dark .userSettingsSecurity-3IYeMF .codeCheckbox-1T0TTy{color:#dcddde}.userProfileCustomizationSection-3nHZ-9{margin-top:40px;position:relative}.nitroIcon-1oDfAa{color:var(--header-primary);margin-right:6px;position:relative;top:-3px}.customizationTitle-1mlo_w{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.betaTag-2ZuBkl{margin-left:8px;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;text-transform:uppercase;font-weight:400}
-.modalContent-Kx1eDz{padding-bottom:20px}.inputWrapper-1WF_fw{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin-right:10px;width:100%;margin-bottom:20px}
-.preview-2nSL_2{position:relative;height:180px;overflow:hidden;background-color:var(--background-secondary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.preview-2nSL_2:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;cursor:default}.firstMessage-2wgPU_{margin-top:-.8rem!important}.compactPreview-uctQ4t .firstMessage-2wgPU_{margin-top:0!important}
-.authedApp-mj2Hmd{padding:20px}.authedApp-mj2Hmd:focus-within .deleteApp-dtfZIe,.authedApp-mj2Hmd:hover .deleteApp-dtfZIe{opacity:1}.deleteApp-dtfZIe{opacity:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.headerInfo-30WFqE{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.appAvatar-3bgkQ9{width:32px;height:32px;border-radius:50%;-webkit-user-drag:none}.permission-1gtoyP{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:18px}.permissionCheckmark-1SeKr2{background:url(/assets/718074e12775def7df7e2a01d6bf2bf8.svg) no-repeat;background-size:18px 18px;display:inline-block;width:23px;height:18px}
-.cardNumberWrapper-3YhV1H{position:relative}.cardIcon-8A8yRg{position:absolute;top:9px;left:10px}.cardNumberInput-3vDUEy{padding-left:55px}
-.formError-2HK0A5{margin-bottom:20px}.card-VoqMMK{padding:20px}.addressSection-3LwW_f,.formActions-34l65m{margin-top:20px}.defaultSection-2hDX5u{margin:20px 0}.defaultCheckboxLabel-380vsp{margin-left:4px}.sectionHeader-1068cF{margin-bottom:10px}.subText-1Lf-cY{font-size:14px;margin-top:20px;color:var(--text-muted)}.errorSubText-E6nFXO{}.disabledTooltipWrapper-pcjnN3{position:relative}.disabledTooltipTarget-1M3ydP{position:absolute;top:0;left:0;bottom:0;right:0;z-index:1;cursor:not-allowed}.theme-light .sectionHeader-1068cF{color:#72767d}.theme-light .errorSubText-E6nFXO{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.theme-dark .sectionHeader-1068cF{color:#b9bbbe}.theme-dark .errorSubText-E6nFXO{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.paymentSourceRow-3FbcL_{margin:16px 0}.header-3HBlrs{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.subText-2Zhkkh{font-size:14px;margin-top:4px}.footer-TVTShO{margin-top:20px}.lockIcon-1UaIyp{margin-right:8px;width:20px;height:20px}.theme-dark .subText-2Zhkkh,.theme-light .subText-2Zhkkh{color:#72767d}
-.syncing-q4sYw9{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:300px}.paymentHistory-2FXzro{margin-top:40px}.codeRedemptionRedirect-1wVR4b{font-size:14px;line-height:18px;margin-top:40px;padding:16px 22px}.theme-dark .codeRedemptionRedirect-1wVR4b{color:#fff;background-color:#2f3136;border-color:#202225}.theme-light .codeRedemptionRedirect-1wVR4b{color:#4f545c;background-color:#f6f6f7;border-color:#dcddde}
-.accountList-33MS45{padding:20px 20px 12px;background-color:var(--background-secondary-alt);border-radius:8px}.accountBtn-2Nozo3{margin-right:8px;margin-bottom:8px}.accountBtn-2Nozo3:last-child{margin-right:0}.accountBtn-2Nozo3 .accountBtnInner-sj5jLs{background-color:var(--background-secondary);border:none}.accountBtn-2Nozo3 .accountBtnInner-sj5jLs:hover{background-color:var(--background-modifier-hover)}.connectionList-3pzR-1{display:grid;grid-gap:24px}.connection-1fbD7X{background-color:var(--background-secondary);width:100%;border-radius:8px}.connectionHeader-2MDqhu{position:relative;display:grid;grid-template-columns:auto 1fr auto;padding:20px;background:var(--background-secondary-alt);border-radius:8px 8px 0 0}.connectionHeader-2MDqhu .connectionAccountValue-3VdBGs{color:var(--header-primary);margin-left:20px}.connectionAccountLabel-1DiK0A{margin-left:20px;font-size:12px;line-height:14px;color:var(--header-secondary)}.connectionIcon-2ElzVe{width:32px;height:32px}.connectionOptionsWrapper-3KIj1Z{padding:20px 10px 0}.connectionOptionsWrapper-3KIj1Z .connectionOptionSwitch-3KNn-E h3{color:#fff;font-weight:500}.connectionOptionSwitch-3KNn-E{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding-left:10px;padding-right:10px}.connectionOptions-YE9FAM{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.integrationsWrapper-VkM_zO{padding:20px}.integrationsWrapper-VkM_zO a{color:var(--text-normal)}.integration-3kMeY4{border-radius:8px;background:var(--background-secondary-alt);padding:16px 10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.integration-3kMeY4 .guildIcon-YCs9He{margin:0 10px 0 0;float:left}.integrationInner-3SUFBs{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.integrationInner-3SUFBs .channelLink-2TxEu3{color:var(--header-secondary);font-size:12px}.integrationInner-3SUFBs .integrationName-2tSCoY{color:var(--header-primary)}.warning-1XxEC9{color:var(--text-warning)}.connectedAccounts-2-XP1G{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.connectionDelete-2Odoln{cursor:pointer;color:var(--interactive-normal);-ms-flex-item-align:center;align-self:center}.connectionDelete-2Odoln:hover{color:var(--interactive-hover)}.connectedAccountSeparator-2EgLhW{margin-left:20px;margin-right:20px;width:auto}.subEnabledTitle-2ElRo_{color:var(--text-normal)}
-.item-3q5jTx{position:relative}.removeBuildOverride-1P8xc1{opacity:0;position:absolute;top:-12px;right:-31px}.buildOverrideGroup-2x3Fda{position:relative;padding-top:20px;padding-bottom:20px;margin-top:-1px}.buildOverrideGroup-2x3Fda:hover .removeBuildOverride-1P8xc1{opacity:1}.theme-dark .codebox-1FquOa,.theme-light .codebox-1FquOa{height:230px;max-height:230px;background:none}.removeBuildOverrideDisabled-3-pn2T{opacity:.75;-webkit-filter:grayscale(100%);filter:grayscale(100%);cursor:not-allowed}.theme-light .row-2o2DzQ{-webkit-box-shadow:inset 0 -1px 0 rgba(185,187,190,.3);box-shadow:inset 0 -1px 0 rgba(185,187,190,.3)}.theme-dark .row-2o2DzQ{-webkit-box-shadow:inset 0 -1px 0 rgba(114,118,125,.3);box-shadow:inset 0 -1px 0 rgba(114,118,125,.3)}
-.notDetected-33MY4s,.nowPlaying-284llR{width:100%;padding:16px;-webkit-animation:none;animation:none;margin-top:0;border-radius:3px}.notDetected-33MY4s .overlayStatusText-L2IACa,.notDetected-33MY4s .overlayWarningIcon-3fZsZE,.nowPlaying-284llR .overlayStatusText-L2IACa,.nowPlaying-284llR .overlayWarningIcon-3fZsZE{opacity:1}.nowPlayingAdd-1Kdmh_{-ms-flex-item-align:start;align-self:flex-start;margin-left:0;font-size:14px}.game-1ipmAa{position:relative;padding:20px 0}.game-1ipmAa .removeGame-2JFGPn{position:absolute;top:-12px;right:-31px;opacity:0}.game-1ipmAa:focus-within .overlayStatusText-L2IACa,.game-1ipmAa:focus-within .overlayWarningIcon-3fZsZE,.game-1ipmAa:focus-within .removeGame-2JFGPn,.game-1ipmAa:hover .overlayStatusText-L2IACa,.game-1ipmAa:hover .overlayWarningIcon-3fZsZE,.game-1ipmAa:hover .removeGame-2JFGPn{opacity:1}.activeGame-14JI7o{position:relative}.activeGame-14JI7o .removeGame-2JFGPn{position:absolute;top:-12px;right:-12px;opacity:0}.activeGame-14JI7o:focus-within .removeGame-2JFGPn,.activeGame-14JI7o:hover .removeGame-2JFGPn{opacity:1}.gameName-1RiWHm,.gameNameInput-385LoS,.gameVerifiedIcon-2dGGa5,.lastPlayed-3bQ7Bo,.overlayStatusText-L2IACa,.overlayToggleIcon-2liB3r{z-index:1}.gameNameLastPlayed-3LJo8n{-webkit-box-flex:1;-ms-flex:1;flex:1}.gameVerifiedIcon-2dGGa5{margin-left:8px}.gameName-1RiWHm{font-size:16px;font-weight:600;line-height:22px}.gameNameInput-385LoS{border:1px solid transparent;border-radius:3px;background-color:transparent;padding:0 4px;margin-left:-5px;width:240px}.lastPlayed-3bQ7Bo{color:#72767d;font-size:14px}.overlayStatusText-L2IACa{width:100px;margin-right:4px;text-transform:uppercase;font-size:14px;opacity:0}.overlayToggleIcon-2liB3r{cursor:pointer}.overlayToggleIconOff-1kT42w .fill-1ugeBG{fill:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.overlayWarningIcon-3fZsZE{background:url(/assets/afc17a02f2ea7406b0ee518c28414f7c.svg) no-repeat;width:16px;height:16px;margin-right:20px;opacity:0}.addGamePopout-2RY8Ju{padding:10px;width:300px;border-radius:3px}.addGamePopout-2RY8Ju .actions-3wcPyD{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.detectedApplication-1qfUIv{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.theme-light .nowPlayingAdd-1Kdmh_{color:#b9bbbe}.theme-light .game-1ipmAa{-webkit-box-shadow:0 1px 0 0 #dcddde;box-shadow:0 1px 0 0 #dcddde}.theme-light .gameName-1RiWHm{color:#4f545c}.theme-light .gameNameInput-385LoS:focus,.theme-light .gameNameInput-385LoS:hover{border-color:rgba(79,84,92,.3);background-color:#fff}.theme-light .lastPlayed-3bQ7Bo{color:#72767d}.theme-light .overlayStatusText-L2IACa{color:#b9bbbe}.theme-light .overlayToggleIconOn-3UNmty .fill-1ugeBG{fill:#b9bbbe}.theme-light .addGamePopout-2RY8Ju{background-color:#fff}.theme-dark .nowPlayingAdd-1Kdmh_{color:#72767d}.theme-dark .game-1ipmAa{-webkit-box-shadow:0 1px 0 0 #4f545c;box-shadow:0 1px 0 0 #4f545c}.theme-dark .gameName-1RiWHm{color:#f6f6f7}.theme-dark .gameNameInput-385LoS:focus,.theme-dark .gameNameInput-385LoS:hover{border-color:rgba(79,84,92,.3);background-color:#36393f}.theme-dark .lastPlayed-3bQ7Bo,.theme-dark .overlayStatusText-L2IACa{color:#72767d}.theme-dark .overlayToggleIconOn-3UNmty .fill-1ugeBG{fill:#72767d}.theme-dark .addGamePopout-2RY8Ju{background-color:#36393f}.theme-dark .addGamePopout-2RY8Ju .cancelButton-10XRsm{color:#fff}.theme-dark .nowPlayingAdd-1Kdmh_,.theme-light .nowPlayingAdd-1Kdmh_{color:#b9bbbe}.theme-dark .nowPlaying-284llR,.theme-light .nowPlaying-284llR{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.theme-dark .nowPlaying-284llR .gameName-1RiWHm,.theme-light .nowPlaying-284llR .gameName-1RiWHm{color:hsl(139,calc(var(--saturation-factor, 1)*83.8%),92.7%)}.theme-dark .nowPlaying-284llR .gameNameInput-385LoS:focus,.theme-dark .nowPlaying-284llR .gameNameInput-385LoS:hover,.theme-light .nowPlaying-284llR .gameNameInput-385LoS:focus,.theme-light .nowPlaying-284llR .gameNameInput-385LoS:hover{border-color:hsl(139,calc(var(--saturation-factor, 1)*47.5%),19.4%);background-color:hsla(139,calc(var(--saturation-factor, 1)*47.5%),19.4%,.3)}.theme-dark .nowPlaying-284llR .lastPlayed-3bQ7Bo,.theme-dark .nowPlaying-284llR .overlayStatusText-L2IACa,.theme-light .nowPlaying-284llR .lastPlayed-3bQ7Bo,.theme-light .nowPlaying-284llR .overlayStatusText-L2IACa{color:#fff}.theme-dark .nowPlaying-284llR .overlayToggleIconOff-1kT42w .fill-1ugeBG,.theme-dark .nowPlaying-284llR .overlayToggleIconOn-3UNmty .fill-1ugeBG,.theme-light .nowPlaying-284llR .overlayToggleIconOff-1kT42w .fill-1ugeBG,.theme-light .nowPlaying-284llR .overlayToggleIconOn-3UNmty .fill-1ugeBG{fill:hsl(138,calc(var(--saturation-factor, 1)*86.1%),71.8%)}.theme-dark .notDetected-33MY4s,.theme-light .notDetected-33MY4s{background-color:hsl(214,calc(var(--saturation-factor, 1)*9.9%),50.4%)}.theme-dark .notDetected-33MY4s .gameName-1RiWHm,.theme-light .notDetected-33MY4s .gameName-1RiWHm{color:hsl(180,calc(var(--saturation-factor, 1)*7.7%),97.5%)}.theme-dark .notDetected-33MY4s .lastPlayed-3bQ7Bo,.theme-light .notDetected-33MY4s .lastPlayed-3bQ7Bo{color:hsl(210,calc(var(--saturation-factor, 1)*9.8%),80%)}
-.feature-BGH8y4{padding-top:20px}.featureBorder-7j4v58{border-top:1px solid var(--background-modifier-accent)}.title-PMZpEi{font-size:20px;color:var(--header-primary)}.description-1W0DiL{font-size:16px;line-height:20px;color:var(--text-normal)}.icon-3j1dJB{width:120px;height:80px;background-size:100% 100%;background-repeat:no-repeat;margin-right:20px;-ms-flex-negative:0;flex-shrink:0}
-.videoWrapper-3YdgHH{background-color:var(--background-primary);border-radius:5px;overflow:hidden}.video-2aTfcg{display:block;width:100%;height:100%}
-.features-2npk2D{margin-bottom:20px}.video-34IsHk{margin:0 auto 40px}.perksHeading-3oxU3I{text-align:center;text-transform:uppercase;color:var(--text-normal)}.perkIcon-2bvvgO{background-position:50%;background-size:contain}.perkNewsletter-2lxlA1{background-image:url(/assets/c970061def69b8226617841ca3089219.svg)}.perkBadge-2la1kc{background-image:url(/assets/46b24114f7276738329be3ae84e22da4.svg)}.perkChallenges-19qHzw{background-image:url(/assets/b13ade832d7f19e30c5d2452b6cbdd53.svg)}
-.wrapper-2K37PN{width:100%}.contentWrapper-1VyP0K{padding-bottom:20px}
-.prompt-kcCNXs{}.selectYourAnswer-2lDJj_{}.separator-PE-_y1{border:0;background-color:hsl(215,calc(var(--saturation-factor, 1)*9.7%),34.3%);height:1px;margin:0}.theme-light .prompt-kcCNXs{color:#040405}.theme-light .selectYourAnswer-2lDJj_{color:hsl(213,calc(var(--saturation-factor, 1)*9.9%),60.4%)}.theme-light .separator-PE-_y1{background-color:hsl(216,calc(var(--saturation-factor, 1)*9.8%),90%)}.theme-dark .prompt-kcCNXs{color:#fff}.theme-dark .selectYourAnswer-2lDJj_{color:hsl(213,calc(var(--saturation-factor, 1)*9.9%),60.4%)}.theme-dark .separator-PE-_y1{background-color:hsl(215,calc(var(--saturation-factor, 1)*9.7%),34.3%)}
-.outerContentWrapper-2YH49P{overflow:hidden;position:relative}.innerContentWrapper-1OlqRR,.outerContentWrapper-2YH49P{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.quizResultHeading-2_7tfJ{margin-bottom:24px;text-align:center;color:var(--text-normal)}.inputFirstName-1ssgZ2,.nameFormPreface-H-3UVQ{margin-bottom:20px}.quizResultBody-2x52di{line-height:18px}.quizResultLogoWrapper-1A5Eb1{border-radius:100%;margin-left:auto;margin-right:auto;position:relative;width:160px;height:160px}.quizResultLogo-QNVISZ{position:absolute;top:50%;left:50%;width:115px;height:115px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.quizResultLogoWrapperHouse1-3FV1ry{background-color:hsl(253,calc(var(--saturation-factor, 1)*77%),72.7%)}.quizResultLogoWrapperHouse1-3FV1ry .quizResultLogo-QNVISZ{-webkit-transform:translate(-50%,-45%);transform:translate(-50%,-45%)}.quizResultLogoWrapperHouse2-3yrRO9{background-color:hsl(9,calc(var(--saturation-factor, 1)*86.5%),68%)}.quizResultLogoWrapperHouse3-2oQS9n{background-color:hsl(169,calc(var(--saturation-factor, 1)*69.1%),56.9%)}
-.membershipDialog-rVL-t_{border-radius:3px;margin-bottom:30px;overflow:hidden;padding:30px;position:relative}.membershipDialog-rVL-t_:after{position:absolute;top:0;left:0;background-image:url(/assets/c48ff253859d29a8825ddb00b59a4565.svg);background-position:bottom;background-repeat:no-repeat;background-size:cover;content:"";opacity:.15;width:100%;height:100%;z-index:0}.membershipDialogContent-3zv-XB{position:relative;z-index:1}.membershipDialogHeading-3y8iIr{margin-bottom:16px;text-transform:uppercase}.membershipDialogHouseName-ezTTJ9{font-size:24px;margin-bottom:8px}.membershipDialogHouseDescription-1GaVtg{margin-bottom:20px}.membershipDialogSwitchHouses-1K8L1U{border-top:1px solid hsla(0,0%,100%,.1);padding-top:26px;text-align:center}.membershipDialogSwitchHousesAction-2a3eDg{color:hsla(0,0%,100%,.7);cursor:pointer;display:inline-block;margin-left:4px;-webkit-transition:color .1s;transition:color .1s}.membershipDialogHeading-3y8iIr,.membershipDialogHouseDescription-1GaVtg,.membershipDialogHouseName-ezTTJ9,.membershipDialogSwitchHouses-1K8L1U,.membershipDialogSwitchHousesAction-2a3eDg:hover{color:#fff}.joinCTAWrapper-2BaVvb{margin-bottom:40px}.joinCTA-FN-DEn{margin-bottom:20px}.newsletterWarning-UKgyLB{font-size:14px;line-height:18px;opacity:.7;text-align:center}.membershipDialogHouse1-3KhKE-{background-color:hsl(253,calc(var(--saturation-factor, 1)*77%),72.7%)}.membershipDialogHouse2-35h9SY{background-color:hsl(9,calc(var(--saturation-factor, 1)*86.5%),68%)}.membershipDialogHouse3-15OBIQ{background-color:hsl(169,calc(var(--saturation-factor, 1)*69.1%),56.9%)}.houseLogoWrapper-3XZ6yo{background:#fff;border-radius:100%;position:relative;width:100px;height:100px}.houseLogo-2MU96l{position:absolute;top:50%;left:50%;width:70px;height:70px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.houseLogoHouse1-2LEurl{-webkit-transform:translate(-50%,-45%);transform:translate(-50%,-45%)}
-.leaveActionWrapper-34XGz6{border-top:1px solid var(--background-modifier-accent);margin-bottom:40px;padding-top:40px;text-align:center}.leaveButton-2ml9zB{cursor:pointer;display:inline-block;margin-left:4px;padding:0;position:relative}.error-2netMa{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);margin-bottom:20px}
-.wrapper-2lwZNm{padding:20px;text-align:center}.image-3bKszV{background:none 50%/contain no-repeat;width:120px;height:107px}.content-M_iuTu{}.theme-dark .image-3bKszV{background-image:url(/assets/cefc9c14adce616059f519c581331b32.svg)}.theme-light .image-3bKszV{background-image:url(/assets/890ba09792d4b17f9cffacdd81df6b71.svg)}
-.intro-325xRx{margin-bottom:40px;text-align:center}.introHeader-4MPach{font-weight:700;margin-bottom:8px}.verificationNotice-3n1EX6{margin-bottom:40px}.attendeeCTA-3ZZQWt{color:var(--text-normal);font-size:14px;line-height:18px;margin-top:40px;padding:16px 22px}.attendeeCTA-3ZZQWt a{font-weight:inherit}
-.codeRedemptionInput-3JOJea{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin-right:20px}.confirmBackgroundImage-2lmx3s{position:absolute;top:0;left:0;bottom:0;right:0;background-size:cover;background-position:bottom;-webkit-filter:grayscale(100%);filter:grayscale(100%);-webkit-mask:radial-gradient(circle at 50% 0,#000,transparent);mask:radial-gradient(circle at 50% 0,#000,transparent)}.confirmEntitlementBackground-2xwrrr{opacity:.1}.confirmPremiumBackground-Y8tSCm{background-image:url(/assets/6a737f7b8384b26ac45e389dbab5b43b.svg);background-size:cover;opacity:.2}.confirmPremiumIcon-26GX5Y{background-image:url(/assets/95a99c20457b563a45238e98545c2744.svg);background-size:cover;border-radius:5px;margin-bottom:20px;width:80px;height:80px}.confirmCloseButton-1LOHfq{-ms-flex-item-align:end;align-self:flex-end;margin-right:10px;margin-bottom:10px}.confirmContent-GnT1qw{padding:20px 0 50px}.confirmTitle-1K9S8K{font-size:24px;line-height:1.25}.confirmButton-1VXU_S,.confirmTitle-1K9S8K{margin-top:20px}.confirmBlurb-2LiLkM{margin-top:10px;font-size:16px;line-height:1.44;text-align:center;max-width:360px}.theme-dark .confirmTitle-1K9S8K{color:#fff}.theme-dark .confirmBlurb-2LiLkM{color:#b9bbbe}.theme-light .confirmTitle-1K9S8K{color:#36393f}.theme-light .confirmBlurb-2LiLkM{color:#72767d}
-.loading-RBMycv{margin-top:48px}.maybeLaterButton-2GCoPp{color:var(--header-primary);margin-right:8px}.maybeLaterButton-2GCoPp:hover{text-decoration:underline}.bodyText-9sDIid{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.formDivider-2YpN2v{margin:16px 0}.formSection-18ae0i{margin-bottom:16px}.confirmationText-zJQc0M{margin-top:8px}.textInput-3M0tLo{color:red}.headerContainer-2oa3uf{padding:0 0 8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:-60px}.art-UTc0S4{height:120px;width:240px;background-image:url(/assets/272d7742477b424d154f9e02beb5da80.svg)}.art-UTc0S4,.errorArt-nd3oB9{margin-bottom:16px}.errorArt-nd3oB9{height:99px;width:141px;background-image:url(/assets/391ebe29636351dc6f7802e9f747b79d.svg)}.errorHeader-1WNSiu{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.errorBody-3ofSBw{padding-bottom:32px}
-.card-7JP0BX{border-radius:5px;overflow:hidden;cursor:default;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transform:translateZ(0);transform:translateZ(0)}.header-1RC2Wb{position:relative;padding:20px}.headerButtonColor-G7_f-V{background:#4f545c;color:#fff}.coverArtPosition-1EkmxA{position:absolute;top:0;left:0;bottom:0;background-position-y:40%;background-position-x:50%;background-repeat:no-repeat;background-size:cover;pointer-events:none;border-radius:5px;overflow:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.splashArt-3yFzRe{width:300px;-webkit-filter:grayscale(100%);filter:grayscale(100%);opacity:.3;-webkit-mask:radial-gradient(100% 100% at top left,hsla(0,0%,100%,.6) 0,hsla(0,0%,100%,0) 100%);mask:radial-gradient(100% 100% at top left,hsla(0,0%,100%,.6) 0,hsla(0,0%,100%,0) 100%)}.body-SKIE6r{background-color:var(--background-secondary)}.header-1RC2Wb{background-color:var(--background-tertiary);color:var(--header-primary)}.header-1RC2Wb:hover{background-color:var(--background-modifier-hover)}.theme-dark .card-7JP0BX{color:#f6f6f7}.theme-light .card-7JP0BX{color:#36393f}
-.card-3S2buc{cursor:pointer}.subText-2dcuEX{font-size:12px;line-height:16px}.subTextHeader-1m8dpJ,.subTextRow-2vP_Z7{}.subTextHeader-1m8dpJ{font-weight:600}.codeText-yBpp9D{margin-bottom:8px}.headerText-1hVFSC{margin-left:20px}.cardHeader-oG4l4I{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.giftCodeRow-24nTuI{padding:20px 0 19px;margin:0 20px;border-bottom:1px solid transparent}.giftCodeRow-24nTuI:last-child{border-bottom:none}.generateCodeRow-U1iNgl{padding:22px 0}.gameName-2LhX55{line-height:19px}.expandIcon-3v5EV8{margin-left:8px;cursor:pointer}.spinner-3abdbi{padding:20px}.theme-dark .subTextHeader-1m8dpJ{color:#72767d}.theme-dark .subTextRow-2vP_Z7{color:#b9bbbe}.theme-dark .giftCodeRow-24nTuI{border-color:rgba(79,84,92,.6)}.theme-dark .bodyButtonColor-ptbdFu{background:#36393f;color:#fff}.theme-dark .bodyButtonColor-ptbdFu:hover{background:#4f545c}.theme-dark .bodyButtonColor-ptbdFu:active{background:#72767d}.theme-light .subTextHeader-1m8dpJ{color:#72767d}.theme-light .subTextRow-2vP_Z7{color:#b9bbbe}.theme-light .bodyButtonColor-ptbdFu{background:#f6f6f7}.theme-light .bodyButtonColor-ptbdFu:hover{background:#dcddde}.theme-light .bodyButtonColor-ptbdFu:active{background:#b9bbbe}
-.skuCard-i0Kf67{margin-bottom:20px}.emptyState-1C8By3{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.emptyStateHeader-248f_b{margin-top:20px;font-size:24px;line-height:1.17}.emptyStateSubtext-2hdA9c{margin-top:8px;line-height:1.25}.emptyStateImage-2MrSNs{margin-top:120px;width:404px;height:202px}.loading-3DDmD5{margin-top:40px}.promotionCardDescriptionWithCode-3YtJQp{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;cursor:text}.promotionCard-2IP574{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;padding:20px;border-radius:4px;background-color:var(--background-tertiary)}.mainPromotionCardContainer-3N9-1a,.promotionCard-2IP574{display:-webkit-box;display:-ms-flexbox;display:flex}.mainPromotionCardContainer-3N9-1a{width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.promotionCardLeftContainer-2wXBFs,.promotionIcon-3FDeSa{display:-webkit-box;display:-ms-flexbox;display:flex}.promotionIcon-3FDeSa{width:40px;height:40px;margin-right:10px;-ms-flex-negative:0;flex-shrink:0;border-radius:4px;-ms-flex-item-align:start;align-self:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.promotionIconImage-ZC2m_f{max-width:36px;max-height:36px}.promotionLegalese-3EeK1U{border-top:1px solid var(--background-modifier-accent);margin-top:8px;padding-top:8px;margin-left:52px;font-size:12px;line-height:16px;margin-bottom:0}.promotionLegalese-3EeK1U em{font-style:italic}.promotionText-1zV1RS{font-weight:500}.theme-dark .emptyStateHeader-248f_b{color:#fff}.theme-dark .emptyStateSubtext-2hdA9c{color:#b9bbbe}.theme-dark .emptyStateImage-2MrSNs{background:url(/assets/131dcaaa628405e6d0ebee7708111c7a.svg)}.theme-dark .promotionIcon-3FDeSa{background-color:#000}.theme-light .emptyStateHeader-248f_b{color:#4f545c}.theme-light .emptyStateSubtext-2hdA9c{color:#72767d}.theme-light .emptyStateImage-2MrSNs{background:url(/assets/d0320d29cdef93b8e2baf889a28d32e0.svg)}.theme-light .promotionIcon-3FDeSa{background-color:#fff}
-.divider-1Jfi9s{margin:32px 0}
-.item-rJ_Cmt,.keybindMessage-20JT9A{position:relative}.item-rJ_Cmt a,.keybindMessage-20JT9A a{color:inherit;text-decoration:underline}.ghostPill-2-KUPM{color:hsl(240,calc(var(--saturation-factor, 1)*7.7%),2.5%);background-color:hsl(37,calc(var(--saturation-factor, 1)*95.7%),90.8%);border:1px solid hsl(38,calc(var(--saturation-factor, 1)*95.7%),54.1%);display:inline-grid;-webkit-box-align:center;-ms-flex-align:center;align-items:center;grid-template-columns:auto 1fr;padding:10px;grid-gap:10px;font-size:14px;border-radius:4px}.removeKeybind-39dSFj{opacity:0;position:absolute;top:-12px;right:-31px}.keybindGroup-JQs9x_{position:relative;padding-top:20px;padding-bottom:20px;margin-top:-1px}.keybindGroup-JQs9x_:hover .removeKeybind-39dSFj{opacity:1}.keyboard-mode .keybindGroup-JQs9x_:focus-within .removeKeybind-39dSFj{opacity:1}.defaultKeybind-2coG8W{display:grid;grid-template-columns:1fr auto;padding:14px 0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:500;height:80px;-webkit-box-sizing:border-box;box-sizing:border-box}.defaultKeybindGroup-X6nhBr{margin:40px 0 24px}.defaultKeybindShortcutGroup-gWLCis{display:grid;grid-gap:4px}.defaultKeybindGroupHeader-3fMhcS{text-transform:uppercase;margin-bottom:24px}.defaultKeybindGroupWithDescription-3YceEh{margin-bottom:4px}.defaultKeybindGroupDescription-1bMdWe{margin-bottom:20px}.defaultKeybindShortcut-14Z6f4{margin:0}.browserNotice-cefwll a{color:inherit;text-decoration:underline}.theme-light .row-2okwlC{-webkit-box-shadow:inset 0 -1px 0 rgba(185,187,190,.3);box-shadow:inset 0 -1px 0 rgba(185,187,190,.3)}.theme-dark .row-2okwlC{-webkit-box-shadow:inset 0 -1px 0 rgba(114,118,125,.3);box-shadow:inset 0 -1px 0 rgba(114,118,125,.3)}
-.option-2Mjq18{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.localeName-2oaRo4{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.localizedName-2dYMQh{font-size:14px;line-height:20px;font-weight:400}.flag-Ve4YnP,.localizedName-2dYMQh{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.flagImage-3Wbkq4{display:block;margin-left:8px;width:27px;height:18px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
-.notificationSound-3D6eyn{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.soundName-23hgAT{margin-right:8px}.soundIcon-2ketvd,.soundName-23hgAT{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.soundIcon-2ketvd{opacity:0;height:24px;padding:4px;margin-top:-1px;-webkit-transition:opacity .1s linear;transition:opacity .1s linear}.soundIcon-2ketvd:active{opacity:1}.soundRow-7krrdT:focus-within .soundIcon-2ketvd,.soundRow-7krrdT:hover .soundIcon-2ketvd{opacity:.6}.icon-GiGwrE{width:16px;height:16px}
-.wrapper-3jrx9n{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;background-color:rgba(0,0,0,.1);padding-bottom:56.25%;border-radius:8px;border:2px solid var(--brand-experiment)}.wrapper-3jrx9n.disabledSelected-2Kf0yZ{border:2px solid hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.option-n0icdO{position:absolute;width:24%;height:24%;margin:6px;border-radius:3px;opacity:.6;background-color:#72767d;cursor:pointer;overflow:hidden;text-indent:-999em;font-size:0;line-height:0}.option-n0icdO:hover{background-color:var(--brand-experiment);-webkit-box-shadow:0 2px 0 rgba(0,0,0,.3);box-shadow:0 2px 0 rgba(0,0,0,.3);opacity:.8}.hiddenInput-AN-Xon{opacity:0;position:absolute;top:0;cursor:pointer}.bottomLeft-39-xss,.bottomRight-1T56wW,.topLeft-3buHIc,.topRight-3GKDeL{}.topRight-3GKDeL{top:0;right:0}.topLeft-3buHIc{top:0;left:0}.bottomRight-1T56wW{bottom:0;right:0}.bottomLeft-39-xss{bottom:0;left:0}.disabled-3I9jyo{position:absolute;top:50%;left:50%;width:15%;height:auto;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);opacity:.6;cursor:pointer;color:#72767d;overflow:hidden;text-indent:-999em;font-size:0;line-height:0}.disabled-3I9jyo:hover{opacity:.8;color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.disabledIcon-9QatvX{display:block;width:100%;height:100%}.selected-mKYnfr.option-n0icdO{background-color:var(--brand-experiment);border-color:var(--brand-experiment);-webkit-box-shadow:0 2px 0 rgba(0,0,0,.3);box-shadow:0 2px 0 rgba(0,0,0,.3);opacity:1}.selected-mKYnfr.disabled-3I9jyo{opacity:1;color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.notificationSettings-1NQKPR{max-width:75%}
-.features-3EmM1p{display:grid;grid-gap:20px;margin-top:20px}.feature-1Q4U_R{display:-webkit-box;display:-ms-flexbox;display:flex}.icon-3GaxIC{width:24px;height:24px;-ms-flex-negative:0;flex-shrink:0;margin-right:10px}.title-3IUNJ6{font-size:12px;line-height:16px;font-weight:600;text-transform:uppercase;margin-bottom:4px;color:var(--header-primary)}.description-yMw5z0{font-size:14px;line-height:18px;color:var(--header-secondary)}.descriptionStandalone-3aMqwN{font-size:16px;line-height:20px;color:var(--header-primary)}
-.gemIndicatorProgressCircle-3wDFa1{width:70px;height:70px;color:hsl(302,calc(var(--saturation-factor, 1)*100%),72.5%)}.progressBackground-8KV71U{stroke:transparent;fill:transparent}.gemIndicatorContainer-2jdECl{border-radius:50%;width:64px;height:64px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.gemWithLabel-2aecE_,.gemWithoutLabel-7-ZvB_{width:24px;height:24px}.gemWithLabel-2aecE_{color:hsl(302,calc(var(--saturation-factor, 1)*100%),72.5%)}.tierLabel-39IsmN{font-weight:700;font-size:12px;line-height:16px;text-align:center;margin-top:2px}.theme-light .gemIndicatorContainer-2jdECl{background-color:#fff}.theme-light .gemWithoutLabel-7-ZvB_{color:#e3e5e8}.theme-light .tierLabel-39IsmN{color:#4f545c}.theme-dark .gemIndicatorContainer-2jdECl{background-color:#18191c}.theme-dark .gemWithoutLabel-7-ZvB_{color:#36393f}.theme-dark .tierLabel-39IsmN{color:#fff}
-.body-qqMTVX{color:var(--text-normal);font-size:16px;line-height:20px;padding-bottom:16px}.invoiceTable-SpU-mf{margin:16px 0}.cancelImage-2DN4YK{background-image:url(/assets/757364bd612744e9d9f500828124f03c.svg);width:270px;height:128px;margin:0 auto 24px}html .invoiceCancelRow-3mYhFX{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.body-3oHYJD{color:var(--text-normal);font-size:16px;line-height:20px;padding-bottom:16px}.uncancelImage-2OizbG{background-image:url(/assets/b21efa6180f92568fade7f05cbb4f872.svg);width:234px;height:128px;margin:0 auto 24px}
-.blurb-1D7mK2{margin-bottom:40px}.guild-Hq0WWA{border-radius:4px;overflow:hidden;margin-bottom:8px}.guild-Hq0WWA:last-child{margin-bottom:0}.guildHeader-3nh5RK{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-tertiary);position:relative}.guildHeaderBackground-1G51bM{position:absolute;right:0;background-size:cover;background-position:50%;background-repeat:no-repeat;opacity:.4;-webkit-mask:-webkit-gradient(linear,right top,left top,from(#000),to(transparent));-webkit-mask:linear-gradient(270deg,#000,transparent);mask:-webkit-gradient(linear,right top,left top,from(#000),to(transparent));mask:linear-gradient(270deg,#000,transparent);-webkit-filter:grayscale(100%);filter:grayscale(100%);width:300px;height:100%}.guildHeaderContent-1vpxhX{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1;flex:1;padding:16px}.guildHeaderContent-1vpxhX,.guildIcon-c10VUR{-ms-flex-item-align:start;align-self:flex-start}.guildIcon-c10VUR{margin:16px 0 16px 16px}.guildName-1B3vm5{overflow:hidden;text-overflow:ellipsis;margin-bottom:4px;color:var(--interactive-active)}.guildSubscriberCount-2lXrmh{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:4px;color:var(--interactive-active)}.guildSubscriberCountIcon-6Fo5EK{width:12px;height:12px;color:hsl(302,calc(var(--saturation-factor, 1)*100%),72.5%);margin-right:2px}.guildSubscribeButton-3fKux2{padding-left:8px}.guildGemIndicatorContainer-3Ie0ga{margin:13px 13px 13px 0;cursor:pointer}.guildSubscriptionSlots-JPXXvN{padding:16px;background-color:var(--background-secondary)}.guildSubscriptionSlot-1XGRPI{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:16px 0;border-bottom:1px solid var(--background-modifier-accent)}.guildSubscriptionSlot-1XGRPI:first-child{padding-top:0}.guildSubscriptionSlot-1XGRPI:last-child{padding-bottom:0;border-bottom:none}.guildSubscriptionSlotIcon-EVE04u{width:18px;height:18px;color:hsl(302,calc(var(--saturation-factor, 1)*100%),72.5%);margin-right:8px}.guildSubscriptionSlotIconCanceled-18TSCf{color:var(--text-warning)}.guildSubscriptionSlotContent-13Z3VB{margin-right:auto}.guildSubscriptionSlotMenuIcon-uzNhjL{width:24px;height:24px;cursor:pointer}.guildSubscriptionDuration-z1eXWb,.guildSubscriptionSlotMenuIcon-uzNhjL{color:var(--interactive-normal)}.guildSubscriptionCreationDate-2b_pKA{color:var(--interactive-active)}.sectionHeader-2_ZES3{font-weight:700;text-transform:uppercase}.subSectionHeader-1bsAit{text-transform:uppercase;margin:32px 0 16px;color:var(--header-secondary)}.theme-dark .guildHeaderBackground-1G51bM{background-image:url(/assets/d03d90cb6f12a7ea06274b278dfa4160.svg)}.theme-light .guildHeaderBackground-1G51bM{background-image:url(/assets/7b6ed225050df29a07cb5db712d35a73.svg)}
-.container-ZsrEn9{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-sizing:border-box;box-sizing:border-box}.container-ZsrEn9,.loading-3FyPco{display:-webkit-box;display:-ms-flexbox;display:flex}.loading-3FyPco{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:520px}.guildsSection-3AvK09{border-top:1px solid var(--background-modifier-accent);margin-bottom:60px;margin-top:32px;padding-top:32px}.guildsBlurb-2AgVCC{margin-top:16px}.guilds-3A5wi_{display:grid;grid:auto/50% 50%;grid-gap:16px;margin-top:24px}@media (max-width:1024px){.guilds-3A5wi_{grid:auto/100%}}.emptyGuilds-14hOr4{margin:32px auto 0;width:177px;height:112px}.emptyGuildsTitle-VAg42p{color:var(--header-primary);font-weight:700;text-align:center;margin-top:16px}.emptyGuildsText-2KAlgb{text-align:center;margin-top:4px}.cardWrapper-2Min21{background:var(--background-tertiary);border-radius:4px}.card-3AyPWq{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;background-color:transparent}.card-3AyPWq:hover{background-color:var(--background-modifier-hover)}.guildInfo-1zLiSL{margin:0 16px;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden}.guildName-13lmy3,.subscriberCount-3PSK6x{color:var(--header-primary);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.subscriptionInfo-14cju1{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:8px}.premiumGuildIcon-13KUPa{color:hsl(302,calc(var(--saturation-factor, 1)*100%),72.5%);width:12px;height:12px;margin-right:4px}.background-1PZEsB{position:absolute;top:0;left:0;bottom:0;right:0;background-repeat:no-repeat}.content-3BhRLj{position:relative}.divider-J3ken9{margin:40px 0;height:1px;background-color:var(--background-modifier-accent)}.marketingLogo-1D8DV6{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.marketingLogoIcon-3bZq9h{color:var(--header-primary);width:327px;height:32px}.marketingLogoImage-2SzXIR{background-image:url(/assets/4dbcadc3cf1d0619a4eddb452b72a74d.svg);width:95px;height:60px;margin-left:24px}.marketingHeader-d16BX1{margin:8px 0 16px}.featureHeaderTop-1-N6Nb{margin-top:32px;font-weight:400}.featureHeader-TxFp47{margin-top:16px;font-weight:400}.memberBadgeIcon-1hpSQc{color:hsl(302,calc(var(--saturation-factor, 1)*100%),72.5%)}.profileBadgeIcon-_ctnKj{background-image:url(/assets/556158300f0dca136d3c902586ff1316.svg)}.roleIcon-F8XDd3{color:var(--text-warning)}.emojiIcon-2xOPMD{color:var(--brand-experiment-400)}.stickerIcon-8Kieoz{color:#d09aff;height:24px;width:24px}.audioQualityIcon-1KNkhv{color:hsl(206,calc(var(--saturation-factor, 1)*67%),51%)}.uploadSizeIcon-2HNa5p{color:hsl(305,calc(var(--saturation-factor, 1)*100%),75%)}.guildSubscriptionHeading-mJn036{max-width:none;text-align:left}.guildFullFeatures-hLeUPO{margin-top:24px}.theme-dark .emptyGuilds-14hOr4{background-image:url(/assets/e500b2fe39bd0080b48e740d9d96e240.svg)}.theme-light .emptyGuilds-14hOr4{background-image:url(/assets/0e7920033898f01ae5de8497f6371f4b.svg)}
-.list-1QISSx{list-style-type:disc;margin-left:30px}.list-1QISSx li,.status-1pzkam{margin-bottom:8px}.card-KeAWkA{padding:20px;margin-bottom:20px}.requestNote-2SdnVH strong{font-weight:700}.theme-dark .requestNoteColor-1c4OfD,.theme-light .requestNoteColor-1c4OfD{color:#72767d}
-@media (max-width:900px){.container-1-STTv .noticeIcon-1phvR2{display:none}}
-.wrapper-3Z-vWm{width:100%;height:20px}.container-3PXSwK{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;overflow:hidden}.notches-1sAcEM,.progress-1IcQ3A{position:absolute;top:0;right:0;bottom:0;left:0}.notches-1sAcEM{background-repeat:repeat-x}.theme-dark .progress-1IcQ3A{background-color:#72767d}.theme-dark .notches-1sAcEM.black-1D3qCv{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='20' fill='hsl(225, 7.7%25, 10.2%25)'%3E%3Cpath fill-rule='evenodd' d='M0 0h8v20H0V0zm4 2a2 2 0 00-2 2v12a2 2 0 104 0V4a2 2 0 00-2-2z'/%3E%3C/svg%3E")}.theme-dark .notches-1sAcEM.gray-3_LNYR{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='20' fill='hsl(220, 7.7%25, 22.9%25)'%3E%3Cpath fill-rule='evenodd' d='M0 0h8v20H0V0zm4 2a2 2 0 00-2 2v12a2 2 0 104 0V4a2 2 0 00-2-2z'/%3E%3C/svg%3E")}.theme-light .progress-1IcQ3A{background-color:#dcddde}.theme-light .notches-1sAcEM{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='20' fill='hsl(0, 0%25, 100%25)'%3E%3Cpath fill-rule='evenodd' d='M0 0h8v20H0V0zm4 2a2 2 0 00-2 2v12a2 2 0 104 0V4a2 2 0 00-2-2z'/%3E%3C/svg%3E")}
-.micTest-2C-tpt{position:relative}.micTestCaption-2xsa4I{font-size:12px;line-height:16px;position:absolute;top:27px;left:100px}
-.userSettingsVoice-iwdUCU .sensitivity-3XxR4A{min-height:120px}.userSettingsVoice-iwdUCU .sliderBar-3DezvM.speaking-2bFhO4{background-color:hsl(139,calc(var(--saturation-factor, 1)*85.6%),64.5%)}.userSettingsVoice-iwdUCU .inputSensitivityToggle-2LKb8o .sliderBar-3DezvM{-webkit-transition:background-color .2s linear;transition:background-color .2s linear}.userSettingsVoice-iwdUCU .inputSensitivityToggle-2LKb8o.manual-36Evg9 .microphone-2rtdHw{position:absolute;top:16px;width:100%}.userSettingsVoice-iwdUCU .inputSensitivityToggle-2LKb8o.manual-36Evg9 .microphone-2rtdHw .fill-3eUagR{-webkit-transition:width 35ms ease;transition:width 35ms ease;height:100%;background-color:rgba(0,0,0,.25)}.userSettingsVoice-iwdUCU .pttTools-1VaVZH{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.userSettingsVoice-iwdUCU .pttTools-1VaVZH>div{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.userSettingsVoice-iwdUCU .pttToolsMessage-3uc-Td{margin-top:28px}.userSettingsVoice-iwdUCU .pttToolsMessage-3uc-Td.pttToolsWarning-7imHBv,.userSettingsVoice-iwdUCU .pttToolsMessage-3uc-Td.pttToolsWarning-7imHBv a{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.userSettingsVoice-iwdUCU .pttToolsMessage-3uc-Td.pttToolsWarning-7imHBv a{font-weight:700}.userSettingsVoice-iwdUCU .inputDisabledWarning-3vvc9B,.userSettingsVoice-iwdUCU .inputDisabledWarning-3vvc9B a{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.userSettingsVoice-iwdUCU .inputDisabledWarning-3vvc9B a{font-weight:700}.userSettingsVoice-iwdUCU .previewContainer-37c2Si{position:relative;overflow:hidden;height:180px;width:320px}.userSettingsVoice-iwdUCU .media-engine-video{background-color:#000;border-radius:3px;-webkit-transform:scaleX(-1);transform:scaleX(-1);-o-object-fit:cover;object-fit:cover}.userSettingsVoice-iwdUCU .previewOverlay-2O7_KC{border-radius:3px;border-style:solid;border-width:1px;width:320px;height:180px;position:absolute;top:0;right:0;bottom:0;left:0}.userSettingsVoice-iwdUCU .previewOverlay-2O7_KC.dismiss-3tPbRc{-webkit-transform:scale(2);transform:scale(2);-webkit-transition:background-color .4s ease-in,-webkit-transform .4s ease-in;transition:background-color .4s ease-in,-webkit-transform .4s ease-in;transition:transform .4s ease-in,background-color .4s ease-in;transition:transform .4s ease-in,background-color .4s ease-in,-webkit-transform .4s ease-in}.userSettingsVoice-iwdUCU .previewOverlay-2O7_KC .previewOverlayInner-1WXURq.dismiss-3tPbRc{opacity:0;-webkit-transition:opacity .1s ease-in;transition:opacity .1s ease-in}.deviceOption-o4yLlI{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;overflow:hidden}.deviceOptionLabel-22FM_u{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-right:8px}.deviceOptionCertified-38nQb8{width:84px;height:20px;-ms-flex-negative:0;flex-shrink:0}.micTest-cP1_6S{margin-bottom:16px}.micTestHelpLink-2tQuwD{margin-left:4px}.micTestButton-2Vwk4_{width:90px;padding:0 4px;-ms-flex-negative:0;flex-shrink:0;margin-right:8px}.Select-value-label .deviceOptionLabel-22FM_u{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-right:20px}.Select-value-label .deviceOptionCertified-38nQb8{margin-right:20px}.theme-light .userSettingsVoice-iwdUCU .inputSensitivityToggle-2LKb8o.manual-36Evg9 .microphone-2rtdHw{background-color:transparent}.theme-light .userSettingsVoice-iwdUCU .previewOverlay-2O7_KC{background-color:#f6f6f7;border-color:#dcddde}.theme-light .userSettingsVoice-iwdUCU .previewOverlay-2O7_KC.dismiss-3tPbRc{background-color:transparent}.beta-1WAFgA{color:var(--header-secondary);font-size:12px;text-transform:uppercase;margin-left:2px}.theme-dark .userSettingsVoice-iwdUCU .inputSensitivityToggle-2LKb8o.manual-36Evg9 .microphone-2rtdHw{background-color:transparent}.theme-dark .userSettingsVoice-iwdUCU .previewOverlay-2O7_KC{background-color:#2f3136;border-color:#202225}.theme-dark .userSettingsVoice-iwdUCU .previewOverlay-2O7_KC.dismiss-3tPbRc{background-color:transparent}
-.premiumTabItem-1QTfBr[aria-selected=true]{color:#fff!important;background-color:var(--brand-experiment)!important}.premiumTabItem-1QTfBr[aria-selected=true] .icon-Zc-uZZ{fill:#fff!important}
-.container-1S6Mlq{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:4px;padding:4px;margin:4px 2px;background-color:var(--background-tertiary)}.input-1lKksk{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-sizing:border-box;box-sizing:border-box;min-width:48px;height:20px;padding:2px 4px;color:var(--text-normal);background:transparent;border:none;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:14px;font-weight:500;line-height:20px}.input-1lKksk::-webkit-input-placeholder{color:var(--text-muted);opacity:1}.iconContainer-gnSl8w{position:relative;margin-right:3px}.icon-1T3XuV,.iconContainer-gnSl8w{height:18px;width:18px}.iconClickable-3ZfMci{cursor:pointer}
-.button-14-BFJ{line-height:0;width:32px;height:32px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:4px;position:relative;color:var(--interactive-normal)}.button-14-BFJ.enabled-2cQ-u7:hover{color:var(--interactive-hover);background-color:var(--background-modifier-selected)}.button-14-BFJ.disabled-2iW-fm{opacity:.4}
-.subtext-3CDbHg{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--header-secondary);line-height:13px}
-.title-eS5yk3{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--header-primary);line-height:18px;font-weight:600}
-.container-3baos1{height:52px;font-size:14px;font-weight:500;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 8px;margin-bottom:1px}.container-3baos1,.container-3baos1 .avatar-SmRMf2{-ms-flex-negative:0;flex-shrink:0}.container-3baos1 .avatar-SmRMf2{cursor:pointer}.container-3baos1 .avatar-SmRMf2:hover{opacity:.8}.container-3baos1 .redIcon-2uP7Ej{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.avatarWrapper-2yR4wp{margin-right:8px}.nameTag-3uD-yy{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin-right:4px;min-width:0}.nameTag-3uD-yy.canCopy-2VBT7N{cursor:pointer}.hasBuildOverride-dDIqaT{position:absolute;bottom:0;right:0;border-radius:50%}.buildOverrideButton-1zWkwo{position:relative}.usernameContainer-1fp4nu{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.copySuccess-2x83fA{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.copySuccess-2x83fA.godlike-2WYNj-{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.statusTooltip-Zz6T1q{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.customStatus-3tC2ig{overflow:hidden;text-overflow:ellipsis}.strikethrough-1n4ekb{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.emoji-1PSQtY{width:14px;height:14px;margin-right:4px}
-.result-oB0z--{position:relative;border-radius:3px;font-weight:500;font-size:16px;cursor:pointer;overflow:hidden;height:34px}.resultDefault-1ymv3u,.resultFocused-3aIoYe{}.resultFocused-3aIoYe{background:var(--background-modifier-selected)}.content-1jxX5g{padding:0 10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;height:34px;line-height:34px;overflow:hidden}.contentDefault-16dKSY,.contentUnread-3gTHvA{}.contentDefault-16dKSY{color:var(--interactive-normal)}.contentUnread-3gTHvA{color:var(--header-primary)}.iconContainer-3UxHn2{width:20px;margin-right:5px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.gameIcon-2hcrAo,.iconContainer-3UxHn2{-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}.gameIconSize-1Kq-T4{width:20px;height:20px}.icon-30q1Or{display:block;color:var(--interactive-normal)}.name-2NBmhj{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;-ms-flex-align:center}.misc-1CT3G7,.name-2NBmhj{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;align-items:center}.misc-1CT3G7{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:center;max-width:140px;margin-left:4px;color:var(--interactive-normal)}.match-38WbBN{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.badge-36LyGI,.match-38WbBN{margin-right:4px}.note-S--UP5{font-size:10px;line-height:14px;font-weight:600;text-transform:uppercase;margin-top:4px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--text-muted)}.username-2hHyRL{font-weight:300;opacity:.6}.header-13MUnb{font-size:12px;text-transform:uppercase;letter-spacing:.025em;font-weight:600;line-height:30px;margin-top:4px;color:var(--interactive-normal)}.dmIconContainer-2yFeX3,.guildIconContainer-1M95yt{}.dmIconContainer-2yFeX3 .guildIcon-Ripiyt,.guildIconContainer-1M95yt .guildIcon-Ripiyt{background-size:100% 100%;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;display:block;margin:0;line-height:20px;text-align:center;overflow:hidden;border-radius:3px}.avatarSizeOverride-2KySyz{width:20px!important;height:20px!important}.score-HzQK9w{position:absolute;top:2px;right:2px;bottom:2px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-left:8px;padding-right:8px;border-radius:2px;background-color:rgba(0,0,0,.2);font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace}
-.wrapper-EG0WaC{z-index:1;width:500px;height:400px}.modalSize-FMC6FT{width:500px;height:auto;max-height:400px}.header-1DHqOG{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.closeButton-3-P7ti{position:absolute;top:14px;right:14px;z-index:3}.noResults-24KNHj{height:200px;background:no-repeat 50% 40%}.queryInput-1mXTvF{margin-top:4px}.miscContainer-2uOgaa{font-weight:500;opacity:.6;font-size:14px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.theme-dark .noResults-24KNHj{background-image:url(/assets/0b298968e0a756e25677771fd6b58b34.svg)}.theme-light .noResults-24KNHj{background-image:url(/assets/0900c33038a1b28283644e5870de552f.svg)}
-.modal-LD5FRI{padding-bottom:20px}
-.icon-3Oovq9{position:relative;-ms-flex-negative:0;flex-shrink:0;text-transform:uppercase;text-align:center;line-height:34px;width:32px;height:32px;border-radius:3px;font-weight:700;color:#fff}.badge-1JXQev{position:absolute;bottom:-4px;right:-4px;width:14px;height:14px;padding:2px;background-color:var(--background-secondary-alt);color:var(--header-primary);border-radius:50%}
-.panel-24C3ux{padding:8px;border-bottom:1px solid var(--background-modifier-accent);-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.body-GmmuPm{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.liveBadge-yuNuMC{position:absolute;bottom:-4px;right:-4px;width:14px;height:14px;padding:2px;background-color:var(--background-secondary-alt);color:var(--header-primary);border-radius:50%}.gameWrapper-1jIQAX{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-width:0}.gameWrapper-1jIQAX .liveIndicator-3ALYHg{padding:0 4px}.clickableGameWrapper-2fpjdx{cursor:pointer}.gameIconWrapper-1YByCI{position:relative}.gameIcon-2YB8Et{width:32px;height:32px}.info-WdNIDE{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-left:8px}.clickableGameWrapper-2fpjdx:hover .gameName-13va7o{color:var(--interactive-active)}.actions-aUdUfC{margin-left:4px;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}
-.userList-1kLH8B{position:relative;border:1px solid;min-width:250px;border-radius:3px}.userList-1kLH8B:before{content:"";width:8px;height:8px;position:absolute;top:100%;left:50%;margin-left:-8px;-webkit-transform:translate3d(4px,-4px,0) rotate(45deg);transform:translate3d(4px,-4px,0) rotate(45deg);border:1px solid;-webkit-box-shadow:2px 2px 4px rgba(0,0,0,.2);box-shadow:2px 2px 4px rgba(0,0,0,.2)}.header-2B7Ri8{font-weight:600;text-transform:uppercase;text-align:center;padding:12px}.content-2KAjC9{max-height:260px}.user-3rmWHs{padding:10px}.discriminator-1fGEDN,.user-3rmWHs{}.tag-2S-Z1b{margin-left:8px}.avatar-2snyZH{width:20px!important;height:20px!important}.theme-dark .userList-1kLH8B{border-color:#202225}.theme-dark .userList-1kLH8B:before{background-color:#2f3136;border-color:transparent #202225 #202225 transparent}.theme-dark .header-2B7Ri8{background-color:#202225;color:#fff}.theme-dark .content-2KAjC9{background-color:#2f3136}.theme-dark .username-2lEtrk{color:#dcddde}.theme-dark .discriminator-1fGEDN{color:#72767d}.theme-light .userList-1kLH8B{border-color:#f6f6f7}.theme-light .userList-1kLH8B:before{background-color:#fff;border-color:transparent #f6f6f7 #f6f6f7 transparent}.theme-light .header-2B7Ri8{background-color:#f6f6f7;color:#4f545c}.theme-light .content-2KAjC9{background-color:#fff}.theme-light .username-2lEtrk{color:#4f545c}.theme-light .discriminator-1fGEDN{color:#b9bbbe}
-.listeningAlong-30wH70{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom:1px solid var(--background-modifier-accent);padding:8px;-ms-flex-negative:0;flex-shrink:0}.party-2cIOyb{margin-left:8px}.overflow-1VTquN{cursor:pointer}.icons-2uekgw{display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:4px}.avatar-2fD4wn{width:20px!important;height:20px!important;cursor:pointer}
-.container-2x5lvQ{width:250px;border-radius:4px;-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high);background:var(--background-primary)}.container-2x5lvQ section{padding:14px 20px}.container-2x5lvQ section p{font-size:14px;line-height:18px;margin-bottom:0;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.container-2x5lvQ section p strong{font-weight:700}.container-2x5lvQ section p+p{margin-top:3px}.container-2x5lvQ section a{color:var(--text-link);text-decoration:none}.container-2x5lvQ section a:hover{text-decoration:underline}.container-2x5lvQ hr{border-bottom:none;margin:14px -15px}.container-2x5lvQ .debugButton-1Zec0y{font-size:12px;cursor:pointer;font-weight:500}.header-2C89wJ{color:#fff;padding:13px;font-weight:500;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;border-radius:3px 3px 0 0}.header-2C89wJ:last-child{border-radius:3px}.theme-light .header-2C89wJ{background-color:var(--brand-experiment)}.secured-1Yihly{font-size:12px;font-weight:500;-webkit-box-flex:1;-ms-flex:1;flex:1}.secured-1Yihly:before{content:" ";background:url(/assets/9d817c6b23267c30d63b2979684a42c2.svg) 50% no-repeat;width:9px;height:12px;background-size:9px 12px;display:inline-block;margin-right:4px;vertical-align:bottom}.popoutBottom-31rU82{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:14px}.theme-light .container-2x5lvQ section{background-color:#fff}.theme-light .container-2x5lvQ section p{color:#8a8e94}.theme-light .container-2x5lvQ hr{border:1px solid #f0f0f0}.theme-light .debugButton-1Zec0y{color:#99aab5}.theme-light .secured-1Yihly{color:var(--text-positive)}.theme-dark .container-2x5lvQ section{background-color:#36393f}.theme-dark .container-2x5lvQ section p{color:hsla(0,0%,100%,.4)}.theme-dark .container-2x5lvQ section strong{color:#b9bbbe}.theme-dark .container-2x5lvQ section:after{border-top-color:#36393f}.theme-dark .container-2x5lvQ .header-2C89wJ{background-color:#2f3136}.theme-dark .container-2x5lvQ hr{border:none}.theme-dark .debugButton-1Zec0y{color:#99aab5}.theme-dark .secured-1Yihly{color:var(--text-positive)}
-.ping-2NgC8E{width:16px;height:16px;display:block;margin-right:4px;margin-left:0;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;color:var(--text-muted)}.ping-2NgC8E.smallPing-R4na2o{width:14px;height:14px}.rtcConnectionStatus-2-jIsi{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding-bottom:2px}.rtcConnectionStatusLabel-1wk4tH{font-weight:600}.rtcConnectionStatusConnected-VRZDjy{color:var(--text-positive)}.rtcConnectionStatusConnecting-3322Pa{color:var(--text-warning)}.rtcConnectionStatusError-2hLzrL{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.rtcConnectionQualityFine-2J6i8z .pingForeground-2uAOZ3{color:var(--text-positive)}.rtcConnectionQualityAverage-3KV0u- .pingForeground-2uAOZ3:not(:last-child){color:var(--text-warning)}.rtcConnectionQualityBad-1J7mUU .pingForeground-2uAOZ3:first-child{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.labelWrapper-Pniq53{overflow:hidden}
-.menu-1O51-Y{width:200px}.activityItem-1pRGhE{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;border-radius:2px;padding:8px;margin:2px 0}.activityItem-1pRGhE:hover{background:var(--background-modifier-hover)}.activityIcon-1bhjuo{width:36px;height:36px;border-radius:4px;margin-right:10px}.activityHeader-6FCdZD{font-weight:600;color:var(--interactive-active)}.subtitle-2yubBS{color:var(--interactive-normal)}.beta-1zTBai{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:8px;margin-bottom:2px}.betaTag-F_ncuo{margin-right:10px}
-.content-2tpvCi{background:var(--brand-experiment);position:relative;text-align:center;padding:32px 10px 16px;max-width:280px;border-radius:8px}.art-OwuVY4{background-size:contain;background-repeat:no-repeat;position:absolute;top:0;left:50%;-webkit-transform:translateY(-65%) translateX(-50%);transform:translateY(-65%) translateX(-50%);width:259px;height:126px;background-image:url(/assets/3fdc74526ba7d5f23c59d9e6642c7663.svg)}.headerText-3gIyzb{color:#fff;font-weight:600;margin-top:24px}.bodyText-Qx99aN{color:#fff;margin-top:4px}.button-1ojJ0N{margin-top:16px;height:32px}.content-2tpvCi .button-1ojJ0N{color:var(--brand-experiment)}.pointer-3iL_va{width:0;height:0;border:5px solid transparent;border-top:5px solid var(--brand-experiment);pointer-events:none;position:absolute;top:100%;left:50%;margin-left:-5px}
-.scroller-2n3G0k{margin-left:-3px;margin-right:-7px;padding:4px 0 4px 4px;min-height:24px;max-height:132px}.scroller-2n3G0k.expanded-1DTre4{margin-bottom:4px}.voiceUsers-2V7vuh{display:grid;grid-template-columns:repeat(8,24px);gap:4px;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.expandButton-2hkuXA{grid-row:1;grid-column:8}.avatarContainer-2LLZwy{border-radius:50%;overflow:hidden}.avatar-3Heyg_{display:block;width:24px;height:24px;background-size:100%;border-radius:50%;cursor:pointer}.speaking-3dBKhR{-webkit-box-shadow:inset 0 0 0 2px hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%),inset 0 0 0 3px var(--background-secondary);box-shadow:inset 0 0 0 2px hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%),inset 0 0 0 3px var(--background-secondary)}.avatarIconOverlay-2nbU5G{padding:4px;background-color:rgba(0,0,0,.3);color:#fff}.avatarIconRed-2sn-Up{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.container-1giJp5{color:var(--header-primary);font-size:14px;font-weight:500;padding:8px;-ms-flex-negative:0;flex-shrink:0;border-bottom:1px solid var(--background-modifier-accent)}.inner-tyMogq{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0}.channel-1TmDQ6:hover{text-decoration:underline}.statusWithPopout-3ZfFol{cursor:pointer}.statusWithPopout-3ZfFol:hover{text-decoration:underline}.hotspot-2bOhC8{position:absolute;top:1px;right:1px}.customStatusContainer-3MngWi{position:relative}.noiseCancellationPopout-iRK2A0{background:var(--background-floating);-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high);width:239px;border-radius:4px;padding:16px}.noiseCancellationTooltip-h4yuQJ{max-width:150px;text-align:center}.krispLogo-a9msDI{width:44px;height:20px;background-size:contain;background-repeat:no-repeat;background-position:50%}.krispLink-2mtfLU{font-size:14px}.micTestButton-m2rQFo{width:60px;padding:0 4px;-ms-flex-negative:0;flex-shrink:0;margin-right:8px}.beta-27QNCS{color:var(--header-secondary);font-size:12px;text-transform:uppercase;margin-left:2px}.connection-3KRENF,.voiceUsers-YsH5Db{padding-bottom:4px}.voiceUsers-YsH5Db{padding-top:2px}.actionButtons-14eAc_{display:-webkit-box;display:-ms-flexbox;display:flex;padding-top:4px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.actionButtons-14eAc_>*{margin:0 4px}.actionButtons-14eAc_>:last-child{margin-right:0}.actionButtons-14eAc_>:first-child{margin-left:0}.button-1YfofB{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-width:auto}.button-1YfofB.disabled-158sUq{width:100%}.button-1YfofB.buttonColor-7qQbGO,.button-1YfofB .buttonColor-7qQbGO{background-color:var(--background-primary);color:var(--interactive-active)}.button-1YfofB.buttonColor-7qQbGO:hover,.button-1YfofB .buttonColor-7qQbGO:hover{background-color:var(--background-secondary)}.button-1YfofB.buttonColor-7qQbGO.buttonActive-3FrkXp,.button-1YfofB .buttonColor-7qQbGO.buttonActive-3FrkXp{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%);color:#fff}.button-1YfofB.buttonColor-7qQbGO.buttonActive-3FrkXp:hover,.button-1YfofB .buttonColor-7qQbGO.buttonActive-3FrkXp:hover{background-color:hsl(139,calc(var(--saturation-factor, 1)*51.6%),52.2%)}.button-1YfofB.buttonColor-7qQbGO.fauxDisabled-2ik0Vw,.button-1YfofB .buttonColor-7qQbGO.fauxDisabled-2ik0Vw,.button-1YfofB.buttonColor-7qQbGO:disabled,.button-1YfofB .buttonColor-7qQbGO:disabled{background-color:var(--background-primary);color:var(--interactive-active);opacity:.3}.buttonIcon-Od8mYw{width:20px;height:20px}.buttonIcon-Od8mYw.withText-10pQhr{margin-right:8px;-ms-flex-negative:0;flex-shrink:0}.voicePanelIntroductionHeader-1R3enj,.voicePanelIntroductionText-ruw2P6{text-align:center}.voicePanelIntroductionHeader-1R3enj{color:var(--header-primary)}.voicePanelIntroductionText-ruw2P6{margin-top:4px;font-weight:400;color:var(--header-secondary)}.voicePanelIntroductionButton-LMjabZ{margin:16px auto 0;width:100%}.voicePanelIntroductionWrapper-jPLJ0T{max-width:280px;padding:16px;background-color:#fff;border-radius:4px;-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high)}.voicePanelIntroductionWrapper-jPLJ0T:after{content:" ";position:absolute;top:100%;left:50%;margin-left:-8px;border:8px solid transparent;border-top-color:#fff}.wrapper-24pKcD{position:relative;overflow:visible}.viewAsRolesWarning-11eD70{position:absolute;bottom:96px;left:6px;z-index:1000;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center;border-radius:4px;background-color:var(--background-floating);padding:16px;max-width:196px}.viewAsRolesWarning-11eD70 .viewAsRolesWarningText-2rok0U{margin-bottom:16px}.viewAsRolesWarning-11eD70 .viewAsRolesWarningButton-2LQjqD{padding:8px 16px}.theme-light .krispLogo-a9msDI{background-image:url(/assets/ebfb23f0cdb11b1871ed8beb3f9ec0ee.svg)}.theme-dark .krispLogo-a9msDI{background-image:url(/assets/c28317e203e00b2d7390d5ece2399228.svg)}
-.container-2lgZY8{position:relative;overflow:hidden;width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.downloadProgressCircle-2hBlsA{width:24px;height:24px;opacity:1;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.guilds-1SWlCJ{position:relative;width:72px;-ms-flex-negative:0;flex-shrink:0}.base-3dtUhz{flex-direction:column;position:relative;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.base-3dtUhz,.sidebar-2K8pFh{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;overflow:hidden}.sidebar-2K8pFh{flex-direction:column;min-height:0;width:240px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;background:var(--background-secondary)}.sidebar-2K8pFh.hidden-3iamF5{width:0;visibility:hidden}.platform-win .sidebar-2K8pFh{border-radius:8px 0 0;overflow:hidden}.sidebar-2K8pFh.hasNotice-1XRy4h,.platform-win .sidebar-2K8pFh.hasNotice-1XRy4h{border-radius:0}.panels-j1Uci_{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;background-color:var(--background-secondary-alt);z-index:1}.content-98HsJk{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;min-width:0;min-height:0;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.activityPanel-28dQGo{border-bottom:1px solid var(--background-modifier-accent)}@media (max-width:760px){.hiddenOnMobileStore-1DIxbw{display:none}}
-.root-3JVdIJ{border-radius:8px;padding:16px;background:var(--background-floating);-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high);min-width:232px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.root-3JVdIJ,.root-3JVdIJ.previewCamera-3PmGhD{-webkit-box-orient:vertical}.root-3JVdIJ.previewCamera-3PmGhD{-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;overflow:hidden}.previewRoot-14s8Ig{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background:var(--background-secondary-alt)}.preview-376i63,.preview-376i63:after,.previewRoot-14s8Ig{position:absolute;top:0;left:0;right:0;bottom:0}.preview-376i63:after{content:"";background:linear-gradient(#18191c,transparent 84px,transparent 183px,#18191c)}.mainChannelInfo-1vd795{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;max-width:100%}.mainChannelInfo-1vd795 .titleGroup-1ZtXoq{max-width:100%}.mainChannelInfo-1vd795 .icon-16X0RM{margin:16px 0}.mainChannelInfo-1vd795 .subtitle-1rNV3n,.mainChannelInfo-1vd795 .title-8sgFLx{text-align:center}.mainChannelInfo-1vd795 .title-8sgFLx{margin-bottom:2px;color:var(--header-primary);min-width:0;-ms-flex-negative:1;flex-shrink:1;overflow-wrap:break-word}.mainChannelInfo-1vd795 .subtitle-1rNV3n{margin-bottom:24px;color:var(--header-secondary)}.previewChannelHeader-1TL6h2{position:absolute;top:16px;left:0;padding-left:16px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;max-width:100%}.previewChannelHeader-1TL6h2 .titleGroup-1ZtXoq{-ms-flex-negative:1;flex-shrink:1;min-width:0}.previewChannelHeader-1TL6h2 .icon-16X0RM{margin-right:16px}.previewChannelHeader-1TL6h2 .subtitle-1rNV3n,.previewChannelHeader-1TL6h2 .title-8sgFLx{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--header-primary)}.wrapper-3lJCnD{z-index:10;pointer-events:all}.title-8sgFLx{font-weight:600}.actions-19uIvN{display:-webkit-box;display:-ms-flexbox;display:flex}.actionButton-3CLkPB{margin-right:16px;line-height:0}.actionButton-3CLkPB.last-3WKR_s{margin-right:0}.previewButton-1vdHBp{margin-top:16px}
-.container-VSDcQc{border-radius:5px;width:250px;overflow:hidden}.container-VSDcQc .sectionTag-pXyto9{padding:0}.container-VSDcQc .sectionTag-pXyto9:before{display:none}.container-VSDcQc .headerText-3i6A8K{color:var(--header-secondary);font-size:14px;text-transform:uppercase;font-weight:700;padding:0;margin-right:5px}.container-VSDcQc .input-1ppKdn{font-size:16px;font-weight:500;border:none;background:none;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1;margin-bottom:1px}.container-VSDcQc .header-2bNvm4{background-color:transparent;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:54px;padding:0 20px;position:relative}.container-VSDcQc .header-2bNvm4:before{display:none}.autocompleteShadow-iiGWFU{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:5px;overflow:hidden}.autocompleteArrowWrapper-3Z7OuM{position:absolute;margin-left:-8px;overflow:hidden;width:16px;height:12px;-webkit-transform:rotate(180deg);transform:rotate(180deg);left:50%}.autocompleteArrow-Zxoy9H{width:8px;height:8px;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.autocompleteHeaderBackground-30T70q{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:5px 5px 0 0;overflow:hidden;z-index:-1}.autocompleteScroller-iInVqR{height:280px;padding:8px 0}.empty-3hoe1g,.section-sfKw6q{padding:0 20px;line-height:44px}.empty-3hoe1g:last-of-type,.section-sfKw6q:last-of-type{border-radius:0 0 3px 3px}.section-sfKw6q{text-transform:uppercase;font-size:11px;font-weight:700}.row-rrHHJU{color:var(--interactive-normal);cursor:pointer;font-size:16px;font-weight:500;padding:0 0 0 8px}.row-rrHHJU:focus .rowInner-1vvRiF,.row-rrHHJU:hover .rowInner-1vvRiF{background-color:var(--background-modifier-hover);color:var(--interactive-hover)}.row-rrHHJU.selected-1pIgLL .rowInner-1vvRiF{background-color:var(--background-modifier-selected);color:var(--interactive-active)}.rowInner-1vvRiF{border-radius:4px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:12px}.empty-3hoe1g .noResultsHeader-pqW4H-{font-size:16px;font-weight:700;text-align:center;margin:15px 0 0}.empty-3hoe1g p{font-size:16px;text-align:center;margin:-20px 0 18px}.positionBottom-3oo9L9 .autocompleteArrowWrapper-3Z7OuM{top:0;-webkit-transform-origin:top;transform-origin:top}.positionBottom-3oo9L9 .autocompleteArrow-Zxoy9H{position:absolute;top:-4px;left:4px}.positionTop-3e-X1p .autocompleteArrowWrapper-3Z7OuM{bottom:0;-webkit-transform-origin:bottom;transform-origin:bottom}.positionTop-3e-X1p .autocompleteArrow-Zxoy9H{position:absolute;bottom:-4px;left:4px}.positionTop-3e-X1p .autocompleteHeaderBackground-30T70q{border-radius:0 0 5px 5px}.positionTop-3e-X1p .sectionTag-pXyto9{border-radius:5px 5px 0 0;overflow:hidden}.theme-dark .container-VSDcQc .input-1ppKdn{color:#f6f6f7}.theme-dark .container-VSDcQc .input-1ppKdn::-webkit-input-placeholder{color:#72767d}.theme-dark .container-VSDcQc .input-1ppKdn::-moz-placeholder{color:#72767d}.theme-dark .container-VSDcQc .input-1ppKdn:-ms-input-placeholder{color:#72767d}.theme-dark .container-VSDcQc .input-1ppKdn::placeholder{color:#72767d}.theme-dark .container-VSDcQc .sectionTag-pXyto9{background-color:#2f3136;color:#72767d}.theme-dark .autocompleteArrow-Zxoy9H,.theme-dark .autocompleteShadow-iiGWFU{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2),0 0 0 1px rgba(32,34,37,.6);box-shadow:0 2px 10px 0 rgba(0,0,0,.2),0 0 0 1px rgba(32,34,37,.6)}.theme-dark .autocompleteArrow-Zxoy9H,.theme-dark .header-2bNvm4{background-color:#202225}.theme-dark .empty-3hoe1g .noResultsHeader-pqW4H-{color:#b9bbbe}.theme-dark .empty-3hoe1g p{color:#72767d}.theme-light .container-VSDcQc .input-1ppKdn{color:#4f545c}.theme-light .container-VSDcQc .input-1ppKdn::-webkit-input-placeholder{color:#b9bbbe}.theme-light .container-VSDcQc .input-1ppKdn::-moz-placeholder{color:#b9bbbe}.theme-light .container-VSDcQc .input-1ppKdn:-ms-input-placeholder{color:#b9bbbe}.theme-light .container-VSDcQc .input-1ppKdn::placeholder{color:#b9bbbe}.theme-light .container-VSDcQc .sectionTag-pXyto9{background-color:#fff;color:#72767d}.theme-light .autocompleteArrow-Zxoy9H,.theme-light .autocompleteShadow-iiGWFU{-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.1),0 0 0 1px rgba(185,187,190,.3);box-shadow:0 2px 10px 0 rgba(0,0,0,.1),0 0 0 1px rgba(185,187,190,.3)}.theme-light .autocompleteArrow-Zxoy9H,.theme-light .header-2bNvm4{background-color:#f6f6f7}.theme-light .empty-3hoe1g .noResultsHeader-pqW4H-{color:#72767d}.theme-light .empty-3hoe1g p{color:#b9bbbe}
-.iconButton-3V4WS5{position:relative;cursor:pointer;background-size:100%;background-color:transparent}.iconButton-3V4WS5:disabled{pointer-events:none}.iconButtonDefault-2cKx7-{opacity:.6}.iconButtonDefault-2cKx7-:hover{opacity:1}.iconButtonDefault-2cKx7-:disabled{opacity:.3}.iconButtonStatic-2cPMA6{opacity:1}.iconButtonStatic-2cPMA6:disabled{opacity:.6}.large-35qh5U{width:36px;height:36px}.medium-2JR8YY{width:24px;height:24px}.small--aHOfS{width:18px;height:18px}.xsmall-2ObGoR{width:12px;height:12px}
-.role-3wi9Tf{height:32px;margin-top:0;margin-bottom:0!important}.role-3wi9Tf:focus-within .roleOverflow-1zjC9k,.role-3wi9Tf:hover .roleOverflow-1zjC9k{visibility:visible}.roleInner-1C_Scc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.roleOverflow-1zjC9k{width:20px;height:20px;-ms-flex-negative:0;flex-shrink:0;margin-left:8px;color:var(--interactive-normal);visibility:hidden;cursor:pointer}.roleOverflow-1zjC9k.open-1HQpYy{visibility:visible}.lock-2Nag5p{position:relative;top:-1px;margin-right:4px;width:18px;height:18px}.dragged-2XvZ89{height:32px;background-size:100% 100%}.theme-light .dragged-2XvZ89{background-image:url(/assets/5938438b22779696a9039caf262ff72b.svg)}.theme-dark .dragged-2XvZ89{background-image:url(/assets/a8564dac0d728add0025be388f5ad7a2.svg)}
-.container-SDBvD6{min-height:100vh;position:relative}.sidebarHeader-2uiNOo{opacity:.9;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.sidebarHeader-2uiNOo:hover,.sidebarHeader-2uiNOo:hover .addRoleIcon-1LaDEA{opacity:1}.layoutStyle-2tuE18{position:relative;padding:24px 15px 80px 0;color:var(--text-normal)}.xsmallAvatar-3MTKjd{width:20px!important;height:20px!important}.smallAvatar-3ws-Fs{width:30px!important;height:30px!important}.sidebarHeaderDefault-euM02r{cursor:pointer}.sidebarHeaderLocked-3vDCdm{cursor:default}.addRoleIcon-1LaDEA{opacity:.8;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.username-1pvYDh{margin-left:8px}.description-3wo_Uh{}.button-_5Uniy{margin:0 auto}
-.advancedModeDivider-GJCGg1{margin:40px 0 31px}.advancedTitle-1CFkcU{cursor:pointer}.titleCaret-3b138P{vertical-align:bottom;margin-left:14px}
-.cardContent-qqqwo8{padding:16px}.cardTitle-3TvHmZ{font-weight:600}.cardDescription-1YvO0X{padding-top:8px;padding-left:4px}
-.card-4s8auQ{background:var(--background-secondary);border:none;border-radius:8px;padding:16px;margin-top:16px}.label-1M1EWS{margin:0 10px;-webkit-box-flex:1;-ms-flex:1;flex:1}
-.easyModeContainer-27mxag{padding:0}.settingCard-3w2mVL{margin-top:16px;background:var(--background-secondary);border-radius:8px}.settingCard-3w2mVL.active-1ytUzX{background:var(--background-secondary-alt)}.cardIcon-3mLabf{color:var(--text-normal)}.cardFolder-28dwxo{background:var(--background-secondary);border-bottom-left-radius:8px;border-bottom-right-radius:8px}.adminWarning-3Ie8tf,.folderHeader-3eAh2M{padding:16px}.folderTitle-1J5dgw{margin:0;color:var(--text-normal)}.sectionTitle-3RJoUp{padding-bottom:16px}.roleMemberList-3aPmJW{max-height:400px;padding:0 16px 8px}.divider-1O4dNT{padding-bottom:16px}.memberRow-1LB6aT{padding:0 4px 16px}.rowHeight-3zP7dP{height:24px}.rowLabel-30ico_{margin-left:8px}.rowBotTag-2BdvS8{margin-left:4px}.rowLabelSubText-2yGOLI{margin-left:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:250px}.removeIconContainer-1paNBn{margin-left:8px}.removeIcon-2httxG{width:16px;height:16px;color:var(--interactive-normal);cursor:pointer}.disabledRemoveIcon-32MyIO{color:var(--interactive-muted);cursor:auto}
-.category-2ux-7P{margin-left:4px;font-size:10px;opacity:.6;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-wrap:nowrap}.channelIcon-3IJ4o7{position:relative;margin-right:2px;display:inline;vertical-align:top;top:2px}.background-2EVvmU{opacity:.6}
-.channelName-1SzRNb{margin:0 0 8px 8px}.username-34pxWC{padding-left:4px}.item-30Gz8g{}.itemValue-JNy0LV{}.valueIcon-2LbNu6{float:left;position:relative;top:-1px}.theme-dark .item-30Gz8g{color:#f6f6f7}.theme-dark .itemValue-JNy0LV{color:#b9bbbe}.theme-light .item-30Gz8g{color:#4f545c}.theme-light .itemValue-JNy0LV{color:#72767d}.title-3CR76z{font-weight:600;-webkit-box-flex:1;-ms-flex:1;flex:1;cursor:default;overflow:hidden;word-wrap:break-word}.graph-2xSPwT{}.divider-3kJiJM{}.videoWrapper-3XDj-F{width:320px;height:180px}.allowSelection-uK1q4t{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.channelItem-36SV7x{margin-left:-8px;margin-bottom:8px}.avatar-1eTZ8m{width:20px!important;height:20px!important}.theme-dark .videoPreview-22khDR{background-color:#2f3136;border:1px solid #202225}.theme-light .videoPreview-22khDR{background-color:#f6f6f7;border:1px solid #dcddde}
-.layers-3iHuyZ{position:relative;overflow:hidden}.layers-3iHuyZ>.layer-3QrUeG{position:absolute;top:0;right:0;bottom:0;left:0;display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.layers-3iHuyZ>.layer-3QrUeG.animating-rRxada{pointer-events:none;will-change:transform,opacity}.layers-3iHuyZ>.layer-3QrUeG.animating-rRxada *{pointer-events:none!important}.bg-h5JY_x{background-color:var(--background-tertiary);position:absolute;top:0;left:0;bottom:0;right:0}.platform-win .layer-3QrUeG{top:-22px;padding-top:22px}.platform-win .bg-h5JY_x{top:-22px}.stop-animations *{-webkit-transition-property:none!important;transition-property:none!important;-webkit-animation:none!important;animation:none!important}.layer-3QrUeG{background-color:var(--background-primary)}.layer-3QrUeG.baseLayer-35bLyl{background-color:transparent}
-.firefoxFixScrollFlex-cnI2ix{min-height:0}.fixClipping-3qAKRb{-webkit-transform:translateZ(0);transform:translateZ(0)}
-.container-16j22k{position:absolute;top:0;right:0;bottom:0;left:0;background-color:var(--background-secondary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;z-index:3000;overflow:hidden}.container-16j22k img,.container-16j22k video{width:200px;height:200px}.container-16j22k video{visibility:hidden}.container-16j22k video.ready-36e6Vk{visibility:visible}.platform-win .container-16j22k{padding-top:22px;top:-22px}.content-1-zrf2{text-align:center}.problems-3mgf6w{color:var(--header-primary);padding-bottom:32px;position:absolute;left:0;right:0;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transition:-webkit-transform .2s ease-out;transition:-webkit-transform .2s ease-out;transition:transform .2s ease-out;transition:transform .2s ease-out,-webkit-transform .2s ease-out;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.problems-3mgf6w.slideIn-sCvzGz{-webkit-transform:translateZ(0);transform:translateZ(0)}.problemsText-1Yx-Kl{font-size:14px;color:var(--header-secondary);margin-bottom:8px}.links-3Ldd4A{font-weight:500;font-size:16px;line-height:16px}.links-3Ldd4A:hover{opacity:.8}.links-3Ldd4A:before{display:inline-block;content:"";margin-right:6px;vertical-align:bottom}.statusLink-gFXhrL,.twitterLink-3NsWMp{}.statusLink-gFXhrL{margin-left:20px}.icon-3N9Bhy{display:inline-block;vertical-align:middle;width:16px;height:auto;color:var(--text-link);margin-right:4px}.contentBase-11jeVK{color:var(--header-secondary);font-size:12px;font-weight:500;text-transform:uppercase;max-width:600px;line-height:16px}.text-3c9Zq1{position:relative;top:-20px}.tipTitle-GL9qAt{color:var(--header-primary);font-size:12px;font-weight:600;text-transform:uppercase;line-height:16px;margin-bottom:8px}.tip-2cgoli,.tipTitle-GL9qAt{max-width:300px}.tip-2cgoli{color:var(--text-normal);font-size:16px;line-height:20px}.keybind-2jbzrT{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;margin-right:-2px;margin-bottom:0;-webkit-transform:translateY(-1px);transform:translateY(-1px)}.body-2Vra9D,.title-3JMOhC{}.title-3JMOhC{margin-bottom:10px;color:var(--header-primary);font-style:italic;font-size:16px;line-height:20px}
-.logo-JKbOAV{width:64px;height:64px}.container-2ed4dF{text-align:center}.inner-2LhM-m{margin-left:auto;margin-right:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.downloadButton-3jZj_S{height:40px;width:100%}.title-1_r4Id{margin-top:16px;margin-bottom:16px;font-family:var(--font-display);font-size:24px;font-weight:700;color:var(--header-primary)}.subtitle-fYi1f6{margin-bottom:24px;font-weight:500;color:var(--header-secondary);font-size:14px}.closeButton-1Xwe8N{position:absolute;top:-40px;right:20px;cursor:pointer;color:var(--interactive-normal)}.skip-3Pgm8h{font-size:14px;font-weight:500;margin-top:24px;color:var(--header-secondary)}.fullscreen-2BFgBh{height:100vh;width:100vw;margin-top:-60px;margin-bottom:-60px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-primary)}
-.ragingDemon-bDcoXE{position:fixed;top:0;left:0;width:100%;height:100%;color:#fff}.symbol-3ffeCr{position:absolute;top:0;left:0;width:100vw;height:100vh;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.symbol-3ffeCr img{position:relative;max-height:60vh;max-width:80vw;width:80%;height:auto;-o-object-fit:contain;object-fit:contain;opacity:0;-webkit-animation:symbolFadeIn-wkjQKf .3s ease-out forwards;animation:symbolFadeIn-wkjQKf .3s ease-out forwards}.symbolBackground-1w6i-M{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:#fff;opacity:0;-webkit-animation:symbolBgFadeOut-YosnTk .3s ease-out;animation:symbolBgFadeOut-YosnTk .3s ease-out}.container-2Cu1o9{position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}.explosion-379HJd{position:absolute;-webkit-transform-origin:50%;transform-origin:50%;-webkit-transform:translateZ(0);transform:translateZ(0)}.explosion-379HJd img{position:absolute;-webkit-transform-origin:50%;transform-origin:50%}.animate-2Dk3Iw .circleInner-1vlodX{-webkit-animation:explCircleInner-4eTA27 .3s ease-out .15s 1 forwards;animation:explCircleInner-4eTA27 .3s ease-out .15s 1 forwards;opacity:0}.animate-2Dk3Iw .circleOuter-2XG8_d{-webkit-animation:explCircleOuter-20lecN .45s ease-out 1 forwards;animation:explCircleOuter-20lecN .45s ease-out 1 forwards;opacity:0}.animate-2Dk3Iw .linesSecondary-2f45rn{-webkit-animation:explLinesSecondary-1Eag-K .375s ease-out .225s 1 forwards;animation:explLinesSecondary-1Eag-K .375s ease-out .225s 1 forwards;opacity:0}.animate-2Dk3Iw .linesMain-3dQGy0{-webkit-animation:explLinesMain-1D2qvD .3s ease-out .15s 1 forwards;animation:explLinesMain-1D2qvD .3s ease-out .15s 1 forwards;opacity:0}.primaryExplosion-lHCiHZ{width:178px;height:175px;margin-left:-77px;margin-top:-102px}.primaryExplosion-lHCiHZ .circleInner-1vlodX{top:69px;left:43px}.primaryExplosion-lHCiHZ .circleOuter-2XG8_d{top:56px;left:30px}.primaryExplosion-lHCiHZ .linesSecondary-2f45rn{top:59px;left:0;-webkit-transform-origin:77px 43px;transform-origin:77px 43px}.primaryExplosion-lHCiHZ .linesMain-3dQGy0{top:0;left:71px;-webkit-transform-origin:3px 110px;transform-origin:3px 110px}.secondaryExplosion-3nb9j5{width:170px;height:300px;margin-left:-88px;margin-top:-156px}.secondaryExplosion-3nb9j5 .circleInner-1vlodX{top:130px;left:58px;-webkit-transform-origin:30.5px 27.5px;transform-origin:30.5px 27.5px}.secondaryExplosion-3nb9j5 .circleOuter-2XG8_d{top:115px;left:46px}.secondaryExplosion-3nb9j5 .linesSecondary-2f45rn{top:68px;left:19px;-webkit-transform-origin:70px 91px;transform-origin:70px 91px}.secondaryExplosion-3nb9j5 .linesMain-3dQGy0{top:6px;left:5px;-webkit-transform-origin:87px 150px;transform-origin:87px 150px}@-webkit-keyframes symbolFadeIn-wkjQKf{0%{opacity:0}25%{opacity:1}to{opacity:1}}@keyframes symbolFadeIn-wkjQKf{0%{opacity:0}25%{opacity:1}to{opacity:1}}@-webkit-keyframes symbolBgFadeOut-YosnTk{0%{opacity:0}25%{opacity:1}to{opacity:0}}@keyframes symbolBgFadeOut-YosnTk{0%{opacity:0}25%{opacity:1}to{opacity:0}}@-webkit-keyframes explCircleInner-4eTA27{0%{-webkit-transform:scale(.2) translateZ(0);transform:scale(.2) translateZ(0);opacity:0}10%{opacity:1}70%{opacity:1}to{-webkit-transform:scale(.8) translateZ(0);transform:scale(.8) translateZ(0);opacity:0}}@keyframes explCircleInner-4eTA27{0%{-webkit-transform:scale(.2) translateZ(0);transform:scale(.2) translateZ(0);opacity:0}10%{opacity:1}70%{opacity:1}to{-webkit-transform:scale(.8) translateZ(0);transform:scale(.8) translateZ(0);opacity:0}}@-webkit-keyframes explCircleOuter-20lecN{0%{-webkit-transform:scale(.2) translateZ(0);transform:scale(.2) translateZ(0);opacity:0}10%{opacity:1}70%{opacity:1}to{-webkit-transform:scale(.9) translateZ(0);transform:scale(.9) translateZ(0);opacity:0}}@keyframes explCircleOuter-20lecN{0%{-webkit-transform:scale(.2) translateZ(0);transform:scale(.2) translateZ(0);opacity:0}10%{opacity:1}70%{opacity:1}to{-webkit-transform:scale(.9) translateZ(0);transform:scale(.9) translateZ(0);opacity:0}}@-webkit-keyframes explLinesSecondary-1Eag-K{0%{-webkit-transform:scale(0) translateZ(0);transform:scale(0) translateZ(0);opacity:0}20%{opacity:1}50%{opacity:1}to{-webkit-transform:scale(1) translateZ(0);transform:scale(1) translateZ(0);opacity:0}}@keyframes explLinesSecondary-1Eag-K{0%{-webkit-transform:scale(0) translateZ(0);transform:scale(0) translateZ(0);opacity:0}20%{opacity:1}50%{opacity:1}to{-webkit-transform:scale(1) translateZ(0);transform:scale(1) translateZ(0);opacity:0}}@-webkit-keyframes explLinesMain-1D2qvD{0%{-webkit-transform:scale(0) translateZ(0);transform:scale(0) translateZ(0);opacity:0}30%{opacity:1}50%{opacity:1}to{-webkit-transform:scale(1) translateZ(0);transform:scale(1) translateZ(0);opacity:0}}@keyframes explLinesMain-1D2qvD{0%{-webkit-transform:scale(0) translateZ(0);transform:scale(0) translateZ(0);opacity:0}30%{opacity:1}50%{opacity:1}to{-webkit-transform:scale(1) translateZ(0);transform:scale(1) translateZ(0);opacity:0}}
-.keyboardShortcutsModal-3piNz7{position:relative;width:80vw;max-height:80vh;max-width:950px;min-width:800px;border-radius:4px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.keyboardShortcutsModal-3piNz7,.modalTitle-37O4n6{display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.modalTitle-37O4n6{margin:0 0 5px;padding:20px 40px 0;font-size:26px;line-height:34px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:0;-ms-flex:0 0;flex:0 0}.modalTitle-37O4n6 .content-2Add9f{margin-right:20px}.modalSubtitle-1Pj5nv{padding:0 40px 20px;font-size:16px;line-height:20px;-webkit-box-flex:0;-ms-flex:0 0;flex:0 0}.ddrArrows-lSnH7P{position:absolute;overflow:hidden;top:22px;right:40px}.ddrArrows-lSnH7P .arrow-2enltQ{margin:4px;width:50px;height:50px;float:left;overflow:hidden;text-indent:-9999em}.ddrArrows-lSnH7P .arrow-2enltQ.active-2X6Ewx{-webkit-animation:arrow-2enltQ .2s steps(2) 1;animation:arrow-2enltQ .2s steps(2) 1;background-position:0 -100px}.ddrArrows-lSnH7P .arrow-2enltQ.left-21PxOi{background-image:url(/assets/743ca46af146337e82c2873bfac05c03.svg)}.ddrArrows-lSnH7P .arrow-2enltQ.down-2Ju7Q_{background-image:url(/assets/41b546a5b2935c29e058414aa65cecf9.svg)}.ddrArrows-lSnH7P .arrow-2enltQ.up-fkTose{background-image:url(/assets/81b7cbf80a447e4b8cdb0a00b9b63aca.svg)}.ddrArrows-lSnH7P .arrow-2enltQ.right-1AEPK3{background-image:url(/assets/02435ae88c6d1605bfd3a0fa6620ab1d.svg)}.keybindGroupDescription-3vhN3p,.keybindGroupDivider-1t_8zX{margin:8px 0}.keyboardShortcutList-13cQ-8{padding:40px 20px 20px;-webkit-column-count:3;-moz-column-count:3;column-count:3;-webkit-column-gap:12px;-moz-column-gap:12px;column-gap:12px}.keyboardShortcutList-13cQ-8 .keybindGroup--6Qp-w{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 20px 8px;overflow:hidden;-webkit-column-break-inside:avoid;page-break-inside:avoid;break-inside:avoid}.keyboardShortcutList-13cQ-8 .keybindGroup--6Qp-w.groupEnd-1cdweh{margin-bottom:40px}.keyboardShortcutList-13cQ-8 .keybindGroup--6Qp-w .keybindDescription-2RDbC2{font-weight:700;font-size:12px;line-height:18px;text-transform:uppercase;margin-bottom:4px}.keyboardShortcutListGroup-1jHSlZ{padding:8px;margin:8px 0}.theme-dark .keyboardShortcutsModal-3piNz7{background-color:#36393f}.theme-dark .modalTitle-37O4n6{color:#fff}.theme-dark .modalSubtitle-1Pj5nv{border-bottom:1px solid rgba(0,0,0,.1);color:#dcddde}.theme-dark .keyboardShortcutList-13cQ-8 .keybindGroup--6Qp-w .keybindDescription-2RDbC2{color:#b9bbbe;font-weight:600}.firstGroup-2QOPL9{margin-top:0;padding-top:0}.theme-light .keyboardShortcutsModal-3piNz7{background-color:#fff}.theme-light .modalTitle-37O4n6{color:#4f545c}.theme-light .modalSubtitle-1Pj5nv{border-bottom:1px solid rgba(0,0,0,.1);color:#737f8d}.theme-light .keyboardShortcutList-13cQ-8 .keybindGroup--6Qp-w .keybindDescription-2RDbC2{color:#4f545c}@-webkit-keyframes arrow-2enltQ{0%{background-position:0 -50px}to{background-position:0 -150px}}@keyframes arrow-2enltQ{0%{background-position:0 -50px}to{background-position:0 -150px}}
-.container-2Yth53{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}@media (max-height:600px){.container-2Yth53{margin-top:-20px}}.contentWrapper-3WC1ID{border-radius:5px 0 0 5px;height:100%}.contentWrapper-3WC1ID:only-child{border-radius:5px}@media (max-width:720px){.contentWrapper-3WC1ID{border-radius:5px}}.theme-dark .contentWrapper-3WC1ID{background:#36393f}.theme-light .contentWrapper-3WC1ID{background:#f6f6f7}.scroller-3__pG8{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;width:400px;padding:32px}.noThanksButton-3mqg48{height:32px}.stage-3yqMwJ{background-color:var(--background-secondary);padding:16px;border-radius:8px}.inviteContent-3R63XV{position:relative;min-height:380px;text-align:center}.inviteSplash-40aHus{width:520px;background-size:cover;background-position:100%;border-radius:0 5px 5px 0}@media (max-width:940px){.inviteSplash-40aHus{width:300px}}@media (max-width:720px){.inviteSplash-40aHus{display:none}}.buttonGroup-276hcG{display:-webkit-box;display:-ms-flexbox;display:flex}.buttonGroup-276hcG>*{margin:4px}.experimentUpsellError-1B_dtk{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-tertiary);padding:8px;margin-bottom:8px;border-radius:4px;cursor:pointer;margin-top:-6px}.experimentUpsellError-1B_dtk:hover{background-color:var(--background-floating)}.experimentUpsellIcon-3G0C9_{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-right:8px;min-width:0}.experimentUpsellText-33hEF0{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:left;min-width:0;color:var(--text-normal)}.experimentGetNitro-2umQa7,.experimentUpsellText-33hEF0{display:block;font-size:12px;line-height:16px}.experimentGetNitro-2umQa7{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;max-width:106px;margin-left:12px;color:var(--text-link);padding:0 8px}
-.tutorial-3igfYb{position:absolute;top:-70px;left:-60px;right:-60px;opacity:0;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.tutorial-3igfYb.shown-3PNP1p{opacity:1}.arrowGroup-2imezz{position:absolute;top:0;left:0;-webkit-transform-origin:0 0;transform-origin:0 0}.arrowGroup-2imezz.right-xllYXb{right:0;left:auto;-webkit-transform:scaleX(-1);transform:scaleX(-1)}.arrowContainer-17eG6u{position:absolute;top:0;left:0;-webkit-transform-origin:0 0;transform-origin:0 0;opacity:1;-webkit-transition:opacity .2s ease-in-out,-webkit-transform .2s ease-in-out;transition:opacity .2s ease-in-out,-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out,opacity .2s ease-in-out;transition:transform .2s ease-in-out,opacity .2s ease-in-out,-webkit-transform .2s ease-in-out}.horizontal-3uU00t{top:118px;-webkit-transition:none;transition:none}.diag1-2VcglJ{-webkit-transform:translate3d(10px,24px,0) rotate(40deg);transform:translate3d(10px,24px,0) rotate(40deg)}.diag2-3iVToU{-webkit-transform:translate3d(85px,0,0) rotate(70deg);transform:translate3d(85px,0,0) rotate(70deg)}.arrowIcon-1EMN73{-webkit-animation:arrow-pulse-2BHQjw .82s ease-in-out infinite;animation:arrow-pulse-2BHQjw .82s ease-in-out infinite}.tutorialMessages-12mfId{color:#fff;position:relative;top:10px;text-align:center;font-size:18px;line-height:24px;font-weight:500;padding-top:30px;height:60px;overflow:hidden}.message-3WE_vQ{position:absolute;width:100%;-webkit-transition:opacity .15s ease-in-out,-webkit-transform .15s ease-in-out;transition:opacity .15s ease-in-out,-webkit-transform .15s ease-in-out;transition:opacity .15s ease-in-out,transform .15s ease-in-out;transition:opacity .15s ease-in-out,transform .15s ease-in-out,-webkit-transform .15s ease-in-out}.searchMessage-2dNwh2{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}.selectMessage-24T7Qk{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.hasQuery-2sgtk4 .diag1-2VcglJ,.hasQuery-2sgtk4 .diag2-3iVToU{opacity:0}.hasQuery-2sgtk4 .diag1-2VcglJ{-webkit-transform:translate3d(0,12px,0) rotate(40deg);transform:translate3d(0,12px,0) rotate(40deg)}.hasQuery-2sgtk4 .diag2-3iVToU{-webkit-transform:translate3d(85px,-10px,0) rotate(70deg);transform:translate3d(85px,-10px,0) rotate(70deg)}.hasQuery-2sgtk4 .searchMessage-2dNwh2{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}.hasQuery-2sgtk4 .selectMessage-24T7Qk{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes arrow-pulse-2BHQjw{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}50%{-webkit-transform:translate3d(3px,0,0);transform:translate3d(3px,0,0)}}@keyframes arrow-pulse-2BHQjw{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}50%{-webkit-transform:translate3d(3px,0,0);transform:translate3d(3px,0,0)}}
-.container-3qKHyN{width:570px;height:365px}.quickswitcher-3JagVE{position:relative;width:570px;border-radius:8px;padding:20px 20px 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-shadow:0 2px 10px rgba(0,0,0,.2),0 0 0 1px rgba(28,36,43,.6);box-shadow:0 2px 10px rgba(0,0,0,.2),0 0 0 1px rgba(28,36,43,.6);background-color:var(--background-secondary);color:var(--text-normal)}.quickswitcher-3JagVE,.quickswitcher-3JagVE *{-webkit-box-sizing:border-box;box-sizing:border-box}.input-2VB9rf{position:relative;z-index:1;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;display:block;padding:0 12px;font-size:22px;border-radius:5px;border:none;height:70px;line-height:70px;background-color:var(--deprecated-quickswitcher-input-background);color:var(--text-normal);-webkit-box-shadow:var(--elevation-high);box-shadow:var(--elevation-high)}.input-2VB9rf::-webkit-input-placeholder{color:var(--deprecated-quickswitcher-input-placeholder)}.input-2VB9rf::-moz-placeholder{color:var(--deprecated-quickswitcher-input-placeholder)}.input-2VB9rf:-ms-input-placeholder{color:var(--deprecated-quickswitcher-input-placeholder)}.input-2VB9rf::placeholder{color:var(--deprecated-quickswitcher-input-placeholder)}.autocompleteQuerySymbol-1kyGZ5{background-color:var(--background-tertiary);padding:2px;border-radius:4px;font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace}.scroller-zPkAnE{z-index:0;margin-right:-17px;margin-top:-5px;max-height:236px;background-color:var(--background-secondary)}.scroller-zPkAnE::-webkit-scrollbar-track{background-color:var(--background-secondary-alt)!important}.protip-1b9XPC{padding:10px 0;border-top:1px solid var(--background-modifier-accent)}.emptyState-2gL-9T{padding-top:150px;padding-bottom:20px;background:no-repeat 50% 20px;text-align:center;font-weight:500}.emptyStateNote-ZYTetQ{font-size:16px;line-height:20px;color:var(--text-muted)}.emptyStateCTA-veJ2Cu{font-size:14px;line-height:16px;opacity:.6}.emptyStateCTA-veJ2Cu:hover{opacity:1}.miscContainer-2ptJ_C{font-weight:500;opacity:.6;font-size:14px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.theme-dark .emptyState-2gL-9T{background-image:url(/assets/0b298968e0a756e25677771fd6b58b34.svg)}.theme-light .emptyState-2gL-9T{background-image:url(/assets/0900c33038a1b28283644e5870de552f.svg)}
-.modal-DRZfgq{width:520px;border-radius:5px;position:relative;background-color:#fff;overflow:hidden;-webkit-box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1);box-shadow:0 0 0 1px rgba(185,187,190,.3),0 2px 10px 0 rgba(0,0,0,.1)}.container-1nPf-D{margin:32px 40px}.title-3Fa4Po{font-weight:700;color:var(--brand-experiment-500);text-transform:uppercase}.description-vvVtO_{margin-left:40px;margin-right:40px}.link-1q2Osy{}.ack-2yIUvY{color:#4f545c}.buttonContainer-3S_miP{background-color:#f9f9f9;padding-right:30px}.button-1TiC1S{}
-.gamepadButtonText-3oiVZ3{font-size:20px;font-weight:500;color:#fff;margin-right:30px}.gamepadButtonContainer-1LwN57{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}
-.leftPanel-9cRl50{-webkit-box-sizing:border-box;box-sizing:border-box;padding-left:100px;width:40%;max-width:650px;padding-top:36px;margin:auto 0}.sectionTitle-337Owh{font-size:48px;font-weight:700;color:#fff}.sectionSubtitle-3oof5F{font-size:32px;margin-top:32px;font-weight:300;line-height:1.25;color:#fff}@media (max-height:720px){.sectionTitle-337Owh{font-size:32px}.sectionSubtitle-3oof5F{font-size:24px;margin-top:20px}}
-.pageWrapper-3F6owx{width:100vw;height:100vh;background-image:linear-gradient(114deg,hsl(228,calc(var(--saturation-factor, 1)*86.7%),70.6%),#9295e2);overflow:auto}.container-1r0Ael{height:100%;width:100%}.logo-2apZa6{height:80px;margin-left:94px;margin-top:40px;position:absolute}.linkButton-3aQMjF{height:auto;font-size:20px;margin-top:20px;padding:16px 40px}.rightPanel-3v0DYb{position:relative;width:60%;overflow:hidden;padding-top:15%}.image-22sO6Y{width:70%;height:auto;position:fixed;right:-11%;z-index:0;pointer-events:none}.xboxButtonContainer-1fnVjR{display:-webkit-box;display:-ms-flexbox;display:flex;position:absolute;bottom:40px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.gamepadButton-_uzDVK{margin-right:8px;width:30px;height:30px}.errorMessageContainer-3tPaYl{border-radius:5px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#f6f6f7;border:1px solid #dcddde;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px}.errorMessage-3H97Nb{color:#4f545c}.errorMessageIcon-1ToWng{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%);width:24px;height:24px;margin-right:8px}@media (max-height:720px){.logo-2apZa6{height:46px}.linkButton-3aQMjF{font-size:16px;padding:2px 24px}.gamepadButton-_uzDVK{width:30px;height:30px}.errorMessageIcon-1ToWng{width:24px;height:24px}}
-.leftPanel-2l1T5i{-webkit-box-sizing:border-box;box-sizing:border-box;padding-left:100px;width:40%;margin:auto 0}.sectionTitle-2nPEF4{font-size:32px;margin-bottom:20px;margin-top:48px;color:#fff}.sectionSubheader-rwzZ1d{margin-bottom:4px}.sectionSubheader-rwzZ1d,.sectionSubtitle-c6uxj-{font-size:24px;line-height:1.25;color:#fff}.sectionSubtitle-c6uxj-{margin-top:0;margin-bottom:8px;font-weight:300}.pinNumber-2Y-fxV{font-size:80px;line-height:1.25;letter-spacing:6px;margin-top:60px;color:#fff;font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace;font-weight:300}.pinExpiresText-2kOhgQ{font-size:20px;margin-top:13px;color:#fff}@media (max-height:720px){.pinNumber-2Y-fxV{font-size:60px;margin-top:60px}.pinExpiresText-2kOhgQ{font-size:16px;margin-top:12px}.sectionTitle-2nPEF4{font-size:24px;margin-bottom:16px;margin-top:24px}.sectionSubheader-rwzZ1d{font-size:20px;line-height:1.25;margin-bottom:4px}.sectionSubtitle-c6uxj-{font-size:18px;margin-bottom:4px}.linkButton-c8TCnB{font-size:16px;padding:2px 24px}}
-.elevated-26QCAo{-webkit-box-shadow:0 2px 10px 0 rgba(4,4,5,.2),0 0 0 1px #202225;box-shadow:0 2px 10px 0 rgba(4,4,5,.2),0 0 0 1px #202225}.button-2nxwjH{margin:12px auto 20px;width:85%}.buttonTitle-3i-bDM{text-align:center;margin:20px 20px 0}.text-YvEHPh{text-align:left}.buttonLogin-2oCPEH{font-weight:600;font-size:12px}.card-naSvY_{margin:16px;background:#202225;border-color:#202225}.cardContents-3WbWvB{max-width:400px;margin:0 auto}.cardAccentLeft-21rdcy{left:0}.cardAccentLeft-21rdcy,.cardAccentRight-2fDjxG{position:absolute;bottom:0;opacity:.3}.cardAccentRight-2fDjxG{right:0}
-.clock-bm1xfG{margin-right:8px}.container-zpj2Le{margin-top:16px}.container-zpj2Le,.expirationContainer-2kThAV{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.expirationContainer-2kThAV{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;border-radius:100px;padding:8px 16px;background-color:var(--background-tertiary)}
-.acceptButton-1JKJrE{margin-top:8px}@media (min-height:720px){.acceptButton-1JKJrE{margin-top:12px}}@media (min-height:960px){.acceptButton-1JKJrE{margin-top:24px}}.valueProps-MQU5k3{-ms-flex-item-align:stretch;align-self:stretch;margin:8px 0;padding:0 16px;border-radius:8px;background:#2f3136}@media (min-height:720px){.valueProps-MQU5k3{margin:12px 0}}@media (min-height:960px){.valueProps-MQU5k3{margin:24px 0}}.valuePropItem-2ampWu{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:8px 0;text-align:left;border-bottom:1px solid var(--background-modifier-accent)}.valuePropItem-2ampWu:last-child{border-bottom:none}@media (min-height:640px){.valuePropItem-2ampWu{padding:12px 0}}.valuePropIcon-1Hgw0u{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background:#202225;width:32px;height:32px;border-radius:50%;margin-left:-4px;margin-right:12px}.valuePropLabel-29Vitw{display:block;-webkit-box-flex:1;-ms-flex:1;flex:1;font-size:16px;line-height:20px;color:#b9bbbe}.valuePropLabel-29Vitw strong{color:#fff;font-weight:600}.expirationNotice-2HQEq8{margin-top:16px}
-.container-I6Klu5{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.guildBadge-2loz2D{position:relative;margin-right:6px;-ms-flex-negative:0;flex-shrink:0;width:25px;height:25px}.appIcon-8pI_Ye{display:inline-block}.appIconSize-1WQ9nz{width:100px;height:100px}.appIcon-8pI_Ye,.avatar-5lWvma,.guildIcon-3w0Hwc{margin-top:24px;margin-bottom:24px;border-radius:16px}.title-36_Qng{margin-top:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:var(--header-primary);font-weight:600}@media (min-height:640px){.title-36_Qng{margin-top:8px}}.activityCount-A89d7s{margin-top:4px}@media (min-height:640px){.activityCount-A89d7s{margin-top:8px}}.description-1Rx3bM{margin:4px 0;color:#b9bbbe;font-size:14px;line-height:18px}@media (min-height:640px){.description-1Rx3bM{margin:8px 0}}.guildContainer-3U-BXz{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.appIn-3Fa6lj{margin:4px 0}.appGuildName-3nA7vq{color:var(--header-primary)}.inviteJoinContainer-3XnqFF{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.inviterIconWrapper-ti3YTR{padding-right:8px}.inviteJoinText-3CUNHu{color:var(--header-secondary)}.acceptButton-3IVn3J{margin-top:28px;width:100%}
-.splashBackground-1xe4jJ{--background-mobile-primary:#202225 center/cover no-repeat url(/assets/a49f55e96d5786e4da4935a993d7f796.png);width:100%;height:100%}.centerFlex-2UU8gh,.splashBackground-1xe4jJ{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.centerAuthBoxContent-2AJUs_{margin-top:-50px}.inviteCard-bGLA09{border-radius:8px;background:var(--background-primary);width:calc(100vw - 72px);max-width:480px;min-height:200px;-webkit-box-shadow:0 8px 16px rgba(0,0,0,.2);box-shadow:0 8px 16px rgba(0,0,0,.2);padding:20px;margin:auto 8px}@media (max-height:640px){.inviteCard-bGLA09{width:100vw;padding:16px;margin:0}}.inviteCardInner-2QLrMQ{-ms-flex-direction:column;flex-direction:column;-webkit-box-sizing:border-box;box-sizing:border-box}.inviteCardInner-2QLrMQ,.inviteCardInnerError-2yrg2f{-webkit-box-orient:vertical;-webkit-box-direction:normal}.inviteCardInnerError-2yrg2f{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;-webkit-box-sizing:content-box;box-sizing:content-box;margin:0 -4px;padding-bottom:0;padding-top:24px}@media (max-height:640px){.inviteCardInnerError-2yrg2f{padding:0;margin:0 -12px}}.inviteCardInnerLoading-X5GXa7{-webkit-box-flex:1;-ms-flex:1;flex:1;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.expirationNotice-2aFd-k{margin-top:32px}
-.mobileTitle-1_6zCu{margin-top:32px;margin-bottom:8px}.desktopSubtitle-2zsIZ_{margin-top:8px;margin-bottom:40px}
-.image-1Y4rBl{height:100px}.image-1Y4rBl,.subtitle-38CTOi,.title-1J36e_{margin-bottom:8px}.spacedButton-2nC4W5{margin-top:24px}
-.authBox-OtSo8z{width:960px}.createButton-2XJ7jN{margin-top:12px}.header-2tghzW{text-align:center;margin-bottom:32px}.formContainer-2ZWoPq{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:start}
-.image-vn9QOh{height:100px}
-.wrapper-1V4Ofx{background:repeat 108% 103% url(/assets/8eba753f8b6d02be1013c5e659b0fc2f.png);width:100vw;height:100vh;background-color:#202225;overflow:auto}
-.key-3j3-mG{display:inline-block;background-color:var(--brand-experiment-500);color:#fff;border-bottom:2px solid var(--brand-experiment-600);border-radius:3px;padding:3px 9px;margin-left:8px;margin-right:8px}
-.container-fEIfjO{position:relative;color:#fff;border-radius:5px;width:300px;padding:12px;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:14px;line-height:1.3}.container-fEIfjO+.container-fEIfjO{margin-top:8px}.clickBlocker-fnG15u{position:absolute;top:0;left:0;bottom:0;right:0;z-index:100;cursor:auto}.content-15zTcI{-webkit-box-align:top;-ms-flex-align:top;align-items:top}.content-15zTcI,.details-2gEcEs{display:-webkit-box;display:-ms-flexbox;display:flex}.details-2gEcEs{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.hintText-2g1c9G{font-weight:500;text-align:center}.clickable-2NoTM3{cursor:pointer}.dismissButton-AdNfLV{position:absolute;width:24px;height:24px;top:5px;right:5px;line-height:0;visibility:hidden;cursor:pointer}.dismissButton-AdNfLV .dismissIcon-37THWD{opacity:.5}.dismissButton-AdNfLV:hover .dismissIcon-37THWD{opacity:1}.container-fEIfjO:hover .dismissButton-AdNfLV,.dismissButton-AdNfLV:hover{visibility:visible}.buttonContainer-1OF5r4{display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:-5px;margin-right:-5px}.button-1_corF{margin-left:5px;margin-right:5px}.avatar-2DTGCj{margin-right:10px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.title-IU0YL0{font-size:16px;overflow:hidden;-webkit-line-clamp:2}.body-3iVSWA,.title-IU0YL0{text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical}.body-3iVSWA{overflow-wrap:break-word}.divider-2SJIXw{width:100%;height:1px;margin-top:12px;margin-bottom:12px;position:relative}.footer-29jAtw{color:#b9bbbe}.keybindMessage-27rgH4{font-weight:500}.keybindMessage-27rgH4 .keybind-3thb0I{font-size:13px;line-height:14px;font-weight:500;margin-left:6px;margin-right:6px}.hintSubtleText-mZJcbW{text-align:center;font-size:12px}.themePrimary-18HFsc.container-fEIfjO{background-color:rgba(54,57,63,.95)}.themePrimary-18HFsc.container-fEIfjO.clickable-2NoTM3:hover{background-color:#36393f}.themePrimary-18HFsc.container-fEIfjO.clickable-2NoTM3:hover .hintText-2g1c9G{color:#fff}.themePrimary-18HFsc .body-3iVSWA,.themePrimary-18HFsc .hintSubtleText-mZJcbW,.themePrimary-18HFsc .hintText-2g1c9G,.themePrimary-18HFsc .keybindMessage-27rgH4{color:#b9bbbe}.themePrimary-18HFsc .divider-2SJIXw{background-color:#4f545c}.themePrimary-18HFsc .dismissButton-AdNfLV{background-color:#36393f;-webkit-box-shadow:0 0 7px 3px #36393f;box-shadow:0 0 7px 3px #36393f}.themeBrand-2qTyWV.container-fEIfjO{background-color:var(--brand-experiment-95a)}.themeBrand-2qTyWV.container-fEIfjO.clickable-2NoTM3:hover{background-color:var(--brand-experiment-500)}.themeBrand-2qTyWV.container-fEIfjO.clickable-2NoTM3:hover .hintText-2g1c9G{color:#fff}.themeBrand-2qTyWV .body-3iVSWA,.themeBrand-2qTyWV .hintText-2g1c9G,.themeBrand-2qTyWV .keybindMessage-27rgH4{color:var(--brand-experiment-200)}.themeBrand-2qTyWV .footer-29jAtw{color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.themeBrand-2qTyWV .divider-2SJIXw{background-color:hsla(0,0%,100%,.15)}.themeBrand-2qTyWV .dismissButton-AdNfLV{background-color:var(--brand-experiment-500);-webkit-box-shadow:0 0 7px 3px var(--brand-experiment-500);box-shadow:0 0 7px 3px var(--brand-experiment-500)}.themeBrand-2qTyWV .keybind-3thb0I{background-color:#fff;border-bottom-color:var(--brand-experiment-300)}.themeBrand-2qTyWV .button-1_corF .innerText-2pcwrI,.themeBrand-2qTyWV .keybind-3thb0I{color:var(--brand-experiment-500)}.themeDanger-2d-qs2.container-fEIfjO{background-color:hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.95)}.themeDanger-2d-qs2.container-fEIfjO.clickable-2NoTM3:hover{background-color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}.themeDanger-2d-qs2.container-fEIfjO.clickable-2NoTM3:hover .hintText-2g1c9G{color:#fff}.themeDanger-2d-qs2 .body-3iVSWA,.themeDanger-2d-qs2 .hintText-2g1c9G,.themeDanger-2d-qs2 .keybindMessage-27rgH4{color:hsl(358,calc(var(--saturation-factor, 1)*81%),91.8%)}.themeDanger-2d-qs2 .footer-29jAtw{color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.themeDanger-2d-qs2 .divider-2SJIXw{background-color:hsl(359,calc(var(--saturation-factor, 1)*83%),67.6%)}.themeDanger-2d-qs2 .dismissButton-AdNfLV{background-color:hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.8);-webkit-box-shadow:0 0 7px 3px hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.8);box-shadow:0 0 7px 3px hsla(359,calc(var(--saturation-factor, 1)*82.6%),59.4%,.8)}.themeDanger-2d-qs2 .dismissButton-AdNfLV .dismissIcon-37THWD{opacity:.8;color:#fff}.themeDanger-2d-qs2 .dismissButton-AdNfLV:hover .dismissIcon-37THWD{opacity:1}.themeDanger-2d-qs2 .keybind-3thb0I{background-color:#fff;border-bottom-color:hsl(358,calc(var(--saturation-factor, 1)*83.1%),83.7%)}.themeDanger-2d-qs2 .button-1_corF .innerText-2pcwrI,.themeDanger-2d-qs2 .keybind-3thb0I{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.content-3NKj2i{display:-webkit-box;display:-ms-flexbox;display:flex}.staticSize-60Tgeg{-ms-flex-negative:0;flex-shrink:0}.widget-2M7wFU{color:#fff;position:relative;z-index:1;-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 2px 10px 0 rgba(0,0,0,.2);max-height:100vh;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border-radius:5px}.widget-2M7wFU.inGame-2jyo39,.widget-2M7wFU.inGameActive-2sV6GI,.widget-2M7wFU.inGameText-O5ZnCQ{-webkit-box-shadow:none;box-shadow:none}.widget-2M7wFU.default-3DQdjh{background-color:#2f3136}.widget-2M7wFU.unpinned-yEO9eb{background-color:#36393f}.bar-223pc1{font-size:16px;line-height:1.25;padding:12px;color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;height:20px;-ms-flex-negative:0;flex-shrink:0;background-color:rgba(54,57,63,.85)}.bar-223pc1,.bar-223pc1 .content-3NKj2i{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.bar-223pc1 .content-3NKj2i{-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:600}.bar-223pc1:first-child{border-radius:5px 5px 0 0;-webkit-box-shadow:inset 0 -1px 0 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 0 rgba(0,0,0,.1)}.background-opacity-low .bar-223pc1:first-child{-webkit-box-shadow:inset 0 -1px 0 0 hsla(0,0%,100%,.1);box-shadow:inset 0 -1px 0 0 hsla(0,0%,100%,.1)}.bar-223pc1:last-child{border-radius:0 0 5px 5px;-webkit-box-shadow:inset 0 1px 0 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 0 rgba(0,0,0,.1)}.bar-223pc1:last-child.inGame-2jyo39,.bar-223pc1:last-child.inGameActive-2sV6GI,.bar-223pc1:last-child.inGameText-O5ZnCQ{-webkit-box-shadow:none;box-shadow:none}.bar-223pc1.default-3DQdjh{background-color:#282b30}.bar-223pc1.unpinned-yEO9eb{background-color:#36393f}.body-Mv1Pg8{font-size:16px;line-height:1.25;padding:4px 0 4px 4px;color:#fff}.body-Mv1Pg8:first-child{border-radius:5px 5px 0 0}.body-Mv1Pg8:last-child{border-radius:0 0 5px 5px}.body-Mv1Pg8.default-3DQdjh{background-color:#2f3136}.body-Mv1Pg8.unpinned-yEO9eb{background-color:#36393f}.body-Mv1Pg8.pinned-3n-jtZ{background-color:rgba(54,57,63,.75)}.body-Mv1Pg8.inGame-2jyo39{background-color:hsla(0,0%,100%,0)}.icon-15v2QJ{color:#fff;opacity:.6;margin-left:8px;cursor:pointer}.icon-15v2QJ.toggledIconOn-1A0KDh,.icon-15v2QJ:hover{opacity:1}.tutorialTip-3dJd0e{text-align:center}
-.container-3DGuwk{position:fixed;top:0;left:0;padding:10px}.stackTrace-1C2h4v{position:absolute;left:10px;top:140px}.stackTraceCode-h5MUsb{font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace}.code-1Y2ppX{padding:15px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.errorMessage-1N2oXW{font-weight:600;margin-left:30px;font-size:18px}.notificationButton-2FRzIZ{border:1px solid #fff}.notificationIcon-iCU6Y0{fill:#fff}
-.footer-33N2Qf{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-line-pack:center;align-content:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ctaButton-3WP2JB{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}
-.animationContainer-1cdP1K{position:absolute;padding:10px}
-.container-O6k7qM{position:absolute;z-index:100}.topLeft-2Lcaww{top:0;left:0}.topRight-3gPcod{top:0;right:0}.bottomLeft-t5CsTb{bottom:0;left:0}.bottomRight-1T9V4C{bottom:0;right:0}
-.wrapper-3GhqwF{position:absolute}.wrapper-3GhqwF,.wrapper-3GhqwF>*{-webkit-box-sizing:border-box;box-sizing:border-box}.wrapper-3GhqwF>*{position:relative;width:100%;height:100%}.operation-3mRRRz>*{pointer-events:none}.handle-uxnyYH{position:absolute;top:0;left:0;bottom:0;right:0;z-index:1}.resizeNorth-1rGeFd{top:2px - 8px;bottom:auto}.resizeNorth-1rGeFd,.resizeSouth-OBIjD0{height:8px}.resizeSouth-OBIjD0{bottom:2px - 8px;top:auto}.resizeNSCursor-1lS9F0{cursor:ns-resize}.resizeWest-1E67qS{left:2px - 8px;right:auto}.resizeEast-2-Ljsv,.resizeWest-1E67qS{width:8px;cursor:ew-resize}.resizeEast-2-Ljsv{right:2px - 8px;left:auto}.resizeEWCursor-ARVQXd{cursor:ew-resize}.resizeNorthWest-3Q21ZU{left:2px - 8px;right:auto;cursor:nwse-resize}.resizeNorthEast-2gXday,.resizeNorthWest-3Q21ZU{width:16px;height:16px;top:2px - 8px;bottom:auto}.resizeNorthEast-2gXday{right:2px - 8px;left:auto;cursor:nesw-resize}.resizeSouthWest-mlbRRD{left:2px - 8px;right:auto;cursor:nesw-resize}.resizeSouthEast-385fJH,.resizeSouthWest-mlbRRD{width:16px;height:16px;bottom:2px - 8px;top:auto}.resizeSouthEast-385fJH{right:2px - 8px;left:auto}.resizeNWSECursor-2mXwZU,.resizeSouthEast-385fJH{cursor:nwse-resize}.resizeNESWCursor-1EQZf_{cursor:nesw-resize}
-.header-GGVVMy{padding:14px 20px 0;z-index:1;-webkit-box-shadow:0 1px 0 0 rgba(24,25,28,.3),0 1px 2px 0 rgba(24,25,28,.3);box-shadow:0 1px 0 0 rgba(24,25,28,.3),0 1px 2px 0 rgba(24,25,28,.3)}.headerTitle-7BNint{font-size:14px}.headerClose-2ZfpDO{right:-7px}.tabBarItem-3HJRqN{font-size:14px;line-height:16px;letter-spacing:-.2px;padding:13px 0}.tabBarItem-3HJRqN+.tabBarItem-3HJRqN{margin-left:12px}.content-2PHP2E{padding-top:20px}
-.sidebar-sfP6x6{width:240px;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;overflow:hidden;background:var(--background-secondary)}.children-kVL7da,.sidebar-sfP6x6{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;min-height:0}.children-kVL7da{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}.header-3UON5h{position:relative;-ms-flex-negative:0;flex-shrink:0;height:48px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:0!important;z-index:2;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--background-secondary)!important}.sidebar-sfP6x6 .header-3UON5h{-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low)}.draggableStartArea-37VeBj{cursor:move}.headerTitle-2YD2DN{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;-ms-flex-negative:1;flex-shrink:1}
-.guildHeader-1aEy0W{cursor:move}.guildHeaderInner-TcEnyk{padding:12px}.panels-Etdz3E{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;background-color:var(--background-secondary-alt)}
-.privateChannels-1ysLLR{-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.privateChannels-1ysLLR,.searchBar-12D2Sr{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.searchBar-12D2Sr{z-index:2;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:0 10px;height:48px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-shadow:var(--elevation-low);box-shadow:var(--elevation-low)}.searchBar-12D2Sr .searchBarComponent-3Wvrbl{width:100%;height:28px;overflow:hidden;border-radius:4px;background-color:var(--background-tertiary);-webkit-box-shadow:none;box-shadow:none;color:var(--text-muted);text-align:left;text-overflow:ellipsis;font-size:14px;font-weight:500;line-height:24px;white-space:nowrap}.panels-Iu7NZz{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;background-color:var(--background-secondary-alt)}
-.base-zsjlUl{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;width:312px;background:var(--background-tertiary)!important}.widget-1O6tyl{border-radius:5px!important;overflow:hidden}
-.container-pkXooo{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-top:2px}.title-2zTLTo{margin-right:10px;margin-left:2px}.sliderContainer-1ypX9f{width:200px;padding-right:10px;position:relative;top:-12px}
-.contained-1li2eZ{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#36393f;overflow:hidden;min-width:0}.contained-1li2eZ,.header-2yGCVu{display:-webkit-box;display:-ms-flexbox;display:flex}.header-2yGCVu{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.headerDefault-1qHUFF{background-color:#36393f}.activateContainer-2X6KOg{height:68px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.activateKeybind-1oKNW5{padding:10px 16px;border-radius:5px;line-height:20px;font-weight:600;text-shadow:0 0 1px #4f545c,1px 1px 0 #4f545c}.inGame-2RplaV .headerDefault-1qHUFF{background-color:rgba(54,57,63,.2)}.inGameActive-36BUM7{pointer-events:auto}.inGameActive-36BUM7 .footerContent-2Hkx-f{visibility:visible}.inGameActive-36BUM7 .messages-3lF2UY{border-radius:5px 5px 0 0}.headerPinned-93Uwgl{background-color:rgba(54,57,63,.3)}.widget-Ap3cJh{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:auto;height:100%}.widget-Ap3cJh:after{border:none}.widgetWrapper-1EaQdn,.widgetWrapperPinned-_8KLrR{}.draggableStartArea-1UY-rN{cursor:move}.footer-2Ijhzu{height:auto}.typingWrapper-24QP4N{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;white-space:nowrap;text-overflow:ellipsis;margin-right:-8px;margin-left:-16px}.typing-hkqjXx,.typingWrapper-24QP4N{height:24px;overflow:hidden}.typing-hkqjXx{background:none}.messagesContainer-2i76Bw{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-height:0}.messagesContainer-2i76Bw.disableHoverStates-2pKqy8{pointer-events:none}.background-opacity-low .isDragging-RjSza0{-webkit-box-shadow:inset 0 0 2px hsla(0,0%,100%,.5);box-shadow:inset 0 0 2px hsla(0,0%,100%,.5)}.theme-dark .pinned-3CXiuy:not(.locked-e70j-9) .footerContent-2Hkx-f,.theme-dark .pinned-3CXiuy:not(.locked-e70j-9) .messages-3lF2UY,.theme-dark .pinned-3CXiuy:not(.locked-e70j-9) .typing-hkqjXx{background-color:transparent}.theme-dark .pinned-3CXiuy:not(.locked-e70j-9) .footerContent-2Hkx-f,.theme-dark .pinned-3CXiuy:not(.locked-e70j-9) .messagesContainer-2i76Bw{background-color:rgba(54,57,63,.8)}.theme-dark .scroller-3t2qeU::-webkit-scrollbar{width:0;height:0}.theme-dark .inGame-2RplaV .footerContentPinned-2M6JEM{display:inline-block;padding:8px 16px;border-radius:5px;position:absolute;top:8px;text-shadow:0 1px 1px #72767d,0 1px 0 #72767d;font-weight:500}.theme-dark .inGame-2RplaV:not(.inGameActive-36BUM7) .messages-3lF2UY,.theme-dark .inGame-2RplaV:not(.inGameActive-36BUM7) .messages-3lF2UY .scroller-3t2qeU{background-color:transparent}.theme-dark .inGame-2RplaV:not(.inGameActive-36BUM7) .footerContent-2Hkx-f{background-color:transparent;padding:0;border-radius:5px}.theme-dark .inGame-2RplaV:not(.inGameActive-36BUM7) .draggableStartArea-1UY-rN{cursor:default}.theme-dark .inGame-2RplaV:not(.inGameActive-36BUM7) .messagesContainer-2i76Bw:not(.looksLocked-1Mis4S){border-radius:0 0 5px 5px}.theme-dark .inGame-2RplaV:not(.inGameActive-36BUM7) .footer-2Ijhzu:before,.theme-dark .inGame-2RplaV:not(.inGameActive-36BUM7) .footerContent-2Hkx-f:before,.theme-dark .inGame-2RplaV:not(.inGameActive-36BUM7) .typing-hkqjXx:before{content:none}.theme-dark .inGameActive-36BUM7 .messagesContainer-2i76Bw{background-color:rgba(54,57,63,.4)}.theme-dark .inGameActive-36BUM7 .messages-3lF2UY .scroller-3t2qeU::-webkit-scrollbar-thumb{background-color:#36393f;border-color:transparent}.theme-dark .inGameActive-36BUM7 .messages-3lF2UY .scroller-3t2qeU::-webkit-scrollbar-track-piece{background-color:rgba(47,49,54,.3);border-color:transparent}.footer-2Ijhzu{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;position:relative;padding:0 16px;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:default;border-radius:0 0 5px 5px}.footer-2Ijhzu,.footerContent-2Hkx-f{display:-webkit-box;display:-ms-flexbox;display:flex}.footerContent-2Hkx-f{background-color:#36393f;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding-bottom:0}.resizeIcon-2xSgbl{position:absolute;right:-4px;bottom:-4px;width:24px;height:24px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:url(/assets/424e19296e4f30c0c8424f8407512b94.svg);background-size:16px;background-repeat:no-repeat;cursor:nwse-resize;z-index:1}
-.headerContainer-1FBNKq{position:relative;z-index:2;border-radius:5px 5px 0 0;-webkit-box-shadow:0 1px 0 rgba(32,34,37,.7),0 2px 0 rgba(0,0,0,.06);box-shadow:0 1px 0 rgba(32,34,37,.7),0 2px 0 rgba(0,0,0,.06)}.background-opacity-high .headerContainer-1FBNKq{-webkit-box-shadow:0 1px 0 rgba(32,34,37,.4);box-shadow:0 1px 0 rgba(32,34,37,.4)}.background-opacity-medium .headerContainer-1FBNKq{-webkit-box-shadow:0 1px 0 rgba(32,34,37,.2);box-shadow:0 1px 0 rgba(32,34,37,.2)}.background-opacity-low .headerContainer-1FBNKq{-webkit-box-shadow:0 1px 0 rgba(32,34,37,.05);box-shadow:0 1px 0 rgba(32,34,37,.05)}.opacityHeader-1wUrEK{height:25px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#36393f;-webkit-box-shadow:0 1px 0 rgba(32,34,37,.7),0 2px 0 rgba(0,0,0,.06);box-shadow:0 1px 0 rgba(32,34,37,.7),0 2px 0 rgba(0,0,0,.06);overflow:visible;cursor:default}.leaveCall-3Dgc1L{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.status-m0kzwG{margin-left:4px}.dragIcon-29nDeZ{color:#b9bbbe;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}
-.wrapper-3K6RqB{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;overflow:hidden;-webkit-box-shadow:0 2px 10px 0 rgba(0,0,0,.2);box-shadow:0 2px 10px 0 rgba(0,0,0,.2)}
-.controls-2NrGNJ{background:rgba(32,34,37,.85);color:#fff;font-size:14px;font-weight:500;padding:16px 12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;border-radius:0 0 5px}.controls-2NrGNJ.unpinned-1hnzhe{background:#202225}.content-3AhxhY{-webkit-box-flex:1;-ms-flex:1;flex:1}.strikethrough-jo9Zr4{color:hsl(359,calc(var(--saturation-factor, 1)*82.6%),59.4%)}
-.icon-2v7mcp{width:16px;height:16px;padding:2px 0;margin-left:3px}.icon-2v7mcp,.voiceIcon-1DSD_T{display:block;-ms-flex-negative:0;flex-shrink:0}.voiceIcon-1DSD_T{color:var(--interactive-hover);padding:2px}.voiceList-2_nc4r{padding:4px 0 4px 4px}.dragIcon-1tH5OP{margin-right:4px;margin-left:-4px}.draggableStartArea-3BsD3u{cursor:move}.content-27MLsY{-webkit-box-flex:1;-ms-flex:1;flex:1}.speakerIcon-XtTKrG{margin-right:3px}.interactive-2o5ouo:hover{opacity:1}.username-2FGs2B{margin:0;font-size:14px;line-height:16px;font-weight:500;padding:2px 4px;max-width:158px}.voiceUserWrapper-1eV-Yy .username-2FGs2B{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.locked-3PIhFd{border-radius:4px}.theme-dark .username-2FGs2B,.theme-light .username-2FGs2B{color:#fff}.theme-dark .locked-3PIhFd,.theme-light .locked-3PIhFd{background-color:rgba(0,0,0,.4);color:#fff}.faded-NBF6ah{opacity:.6}.draggingHeader-QORSVE{opacity:.4}.preview-2iPwI6{opacity:.3}.hidden-1HFzIV{display:none}.priority-20RaiF{width:10px;height:10px;border-radius:50%;background-color:#72767d;margin-top:3px;margin-left:3px}.prioritySpeaking-2lsGo-{background-color:hsl(139,calc(var(--saturation-factor, 1)*47.3%),43.9%)}.topMargin-3X2K9E{margin-top:20px + 24px}.bottomMargin-28bbBf{margin-bottom:52px}.title-2njKBu{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.voiceUserList-13SpfF{width:272px}.streamerControls-3DE0AK{background:rgba(32,34,37,.85);color:#fff;font-size:14px;font-weight:500;padding:16px 12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;border-bottom:1px solid #36393f}.streamerControls-3DE0AK.hidden-1HFzIV{display:none}.streamerControls-3DE0AK.unpinned-2Bknns{background:#202225}.streamerContent-Y2-D91{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.streamerInner-2PhE1d{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0}.gameIcon-3N9FYK{width:30px;height:30px}.streamerInfo-3bsfw3{margin-left:8px;overflow:hidden}.streaming-2y5EXU{font-size:14px;line-height:16px;color:#f6f6f7}.streamerIconWrapper-HkFRbT{width:32px;height:32px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.streamerIcon-urajq1,.streamerIconWrapper-HkFRbT{display:-webkit-box;display:-ms-flexbox;display:flex}.streamerIcon-urajq1{width:20px;height:20px;color:#b9bbbe;opacity:.9}.streamerIcon-urajq1:hover{color:#fff}
-.videoDev-1wRRjc{position:absolute;z-index:-1}.overlay-2zxlBT,.videoDev-1wRRjc{top:0;left:0;right:0;bottom:0}.overlay-2zxlBT{position:fixed;cursor:auto;color:#fff}.overlayBackground-2Ja_LP{position:absolute;top:0;left:0;bottom:0;right:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.overlayActive-1zNgFQ{background-color:hsla(215,calc(var(--saturation-factor, 1)*9.7%),34.3%,.8)}.overlayLocked-KYWBH4{z-index:1}.previewMode-1ZDwlY{opacity:0}.closeContainer-2Bq3S5{position:absolute;top:26px;right:26px;z-index:1}.invalidContainer-3NuUTB{background-color:hsla(215,calc(var(--saturation-factor, 1)*9.7%),34.3%,.8);position:absolute;top:0;left:0;bottom:0;right:0}.inactiveContainer-3yv21J{text-align:center;width:300px;background-color:#202225;border-radius:5px;padding:20px 20px 25px;font-size:18px;line-height:30px}.layoutLocked-1ID4te{position:absolute;top:0;left:0;pointer-events:none}.layoutLocked-1ID4te>*{pointer-events:auto}.layoutUnlocked-1DzZ9H{pointer-events:none}.layoutUnlocked-1DzZ9H>*{pointer-events:auto}.previewingInGameHeader-2cMdLJ{width:33.33333vw;position:absolute;top:0;left:33.33333vw;padding-top:1rem;padding-bottom:1rem;font-size:1.6rem;font-weight:500;letter-spacing:-.1px;text-align:center;color:#fff;background-color:rgba(32,34,37,.9);border-radius:0 0 10px 10px;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}
-.footer-je22K2{position:relative;padding:80px 160px 48px;font-weight:400;overflow:hidden}.footerPrimary-KxrtlY{background:#18191c}.footerBackgroundPrimary-3ouTtT{position:absolute;bottom:0;left:0;width:100%}.footerBackgroundAnimate-1CHJYi{-webkit-animation:footer-blob-animation-_I95Dt 100s linear infinite alternate;animation:footer-blob-animation-_I95Dt 100s linear infinite alternate}.footerBackgroundPaused-1Qgmbn{-webkit-animation-play-state:paused;animation-play-state:paused}.footerBackgroundPlay-YykCNn{-webkit-animation-play-state:running;animation-play-state:running}.footerContent-_U2enW{position:relative;max-width:1600px;margin:0 auto}.navigation-18zSA-{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.navigationHeader-2Vp4n_{color:#fff;font-size:14px;margin-bottom:13px}.route-MFNjyu{color:hsla(0,0%,100%,.6);font-size:14px;line-height:20px}.route-MFNjyu:hover{color:#fff}.navigationSection-1CjCJZ{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:0 16px}.logo-28n2Vu,.logoWrap-1rGDvB{width:36px;height:36px}.separator-xZsY5U{height:1px;width:100%;background:url(/assets/ffa0a8d74568beaa8ec72dd51951685c.svg);opacity:.1;margin:34px 0}.joinDiscord-3gZEG_{display:-webkit-box;display:-ms-flexbox;display:flex}.stats-2t3ZLa{-webkit-box-flex:1;-ms-flex:1;flex:1}.readyToJoin-3kZFcp{font-size:26px;color:#fff;line-height:34px}.joinOtherPlayers-370EmJ{font-size:14px;color:hsla(0,0%,100%,.6);font-weight:500;margin-top:4px}.button-2A8AGi{position:relative;padding:16px;height:15px;border-radius:3px;font-size:15px;line-height:15px;cursor:pointer}.button-2A8AGi:hover{top:-1px;-webkit-box-shadow:0 4px 14px 0 rgba(28,30,34,.4);box-shadow:0 4px 14px 0 rgba(28,30,34,.4)}.button-2A8AGi:active{top:1px}.buttonPrimary-3RahU_{background-color:hsl(227,calc(var(--saturation-factor, 1)*58.4%),65.1%);color:#fff}.buttonPrimary-3RahU_:hover{color:#fff}.buttonBlurple-1kuusH{background:#fff;color:hsl(227,calc(var(--saturation-factor, 1)*58.4%),65.1%)}.footerBackgroundBlurple-3m2rFK{}.footerBackgroundBlurple-3m2rFK>path{fill:rgba(106,127,203,.6)}.footerBlurple-1BSoUN{background:hsl(227,calc(var(--saturation-factor, 1)*58.4%),65.1%)}@media screen and (max-width:848px){.footer-je22K2{padding-left:8px;padding-right:8px}.footerBackgroundPrimary-3ouTtT{display:none;-webkit-animation:none;animation:none}.navigation-18zSA-{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-pack:distribute;justify-content:space-around}.navigationSection-1CjCJZ{text-align:center;margin:16px 0;width:45%}.joinDiscord-3gZEG_{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;text-align:center}.logoWrap-1rGDvB{width:45%;display:-webkit-box;display:-ms-flexbox;display:flex;margin:16px 0}.logo-28n2Vu{margin:0 auto;width:50px;height:50px}.button-2A8AGi{background-color:#fff;margin-top:16px;-ms-flex-item-align:center;align-self:center}.button-2A8AGi,.button-2A8AGi:hover{color:hsl(227,calc(var(--saturation-factor, 1)*58.4%),65.1%)}}@-webkit-keyframes footer-blob-animation-_I95Dt{0%{d:path("M140.881198,194.260295 C257.600568,129.32862 342.939626,119.84993 418.009939,203.154617 C493.080251,286.459305 545.728689,70.9046172 636.439626,63.9593047 C727.150564,57.0139922 768.99822,139.670242 858.802907,119.431961 C948.607595,99.1936797 1071.91228,-32.9977266 1243.91228,7.75227342 C1415.91228,48.5022734 1404.10369,208.584305 1508.27166,178.709305 C1612.43963,148.834305 1633.73291,79.913472 1711.63588,98.8569055 C1776.28676,114.577866 1819.96778,221.391836 1889.37253,185.808108 C2017.32661,120.206212 2004.01952,336.769569 2004.01952,336.769569 L271.635881,337 L-149.063338,337 C-149.063338,337 -245.850307,175.637635 -58.0633382,228.867188 C33.8652851,254.92501 64.1722713,236.933925 140.881198,194.260295 Z")}50%{d:path("M-60.13579,199.189799 C-33.8674767,-71.7287911 170.194454,11.9640675 274.985105,83.0972992 C379.775756,154.230531 409.072181,161.653171 521.54913,124.460269 C634.026079,87.2673683 645.348165,219.42808 735.152853,199.189799 C824.95754,178.951518 948.262228,46.7601116 1120.26223,87.5101116 C1292.26223,128.260112 1309.89513,321.347957 1414.0631,291.472957 C1518.23106,261.597957 1580.53259,89.5639434 1732.07052,88.5665294 C1892.57296,87.5101116 1897.70372,225.708266 2049.59054,199.189799 C2201.47736,172.671332 2002.94707,336.794682 2002.94707,336.794682 L270.563429,337.025114 L-60.13579,337.025114 C-60.13579,337.025114 -469.886827,134.917309 -282.099858,188.146862 C-190.171235,214.204685 -65.9645849,259.30515 -60.13579,199.189799 Z")}to{d:path("M-160.553381,263.533987 C-124.4955,243.377988 -18.6139605,181.080724 56.456352,264.385412 C131.526664,347.690099 165.148428,226.409513 223.668826,168.5 C282.189224,110.590487 372.68516,208.331261 462.489847,188.09298 C552.294535,167.854699 723.262827,-40.1656225 847.424394,40.7522734 C971.58596,121.670169 1156.59375,252.295176 1300.40314,228.958726 C1444.21253,205.622277 1478.90991,106.221579 1563.51957,124.699258 C1655.80276,144.85274 1595.69955,250.007434 1832.41793,206.740235 C2069.1363,163.473036 2002.94707,336.794682 2002.94707,336.794682 L270.563429,337.025114 L-60.13579,337.025114 C-60.13579,337.025114 -495.794798,256.512987 -308.007829,309.74254 C-216.079206,335.800362 -208.740043,290.469854 -160.553381,263.533987 Z")}}@keyframes footer-blob-animation-_I95Dt{0%{d:path("M140.881198,194.260295 C257.600568,129.32862 342.939626,119.84993 418.009939,203.154617 C493.080251,286.459305 545.728689,70.9046172 636.439626,63.9593047 C727.150564,57.0139922 768.99822,139.670242 858.802907,119.431961 C948.607595,99.1936797 1071.91228,-32.9977266 1243.91228,7.75227342 C1415.91228,48.5022734 1404.10369,208.584305 1508.27166,178.709305 C1612.43963,148.834305 1633.73291,79.913472 1711.63588,98.8569055 C1776.28676,114.577866 1819.96778,221.391836 1889.37253,185.808108 C2017.32661,120.206212 2004.01952,336.769569 2004.01952,336.769569 L271.635881,337 L-149.063338,337 C-149.063338,337 -245.850307,175.637635 -58.0633382,228.867188 C33.8652851,254.92501 64.1722713,236.933925 140.881198,194.260295 Z")}50%{d:path("M-60.13579,199.189799 C-33.8674767,-71.7287911 170.194454,11.9640675 274.985105,83.0972992 C379.775756,154.230531 409.072181,161.653171 521.54913,124.460269 C634.026079,87.2673683 645.348165,219.42808 735.152853,199.189799 C824.95754,178.951518 948.262228,46.7601116 1120.26223,87.5101116 C1292.26223,128.260112 1309.89513,321.347957 1414.0631,291.472957 C1518.23106,261.597957 1580.53259,89.5639434 1732.07052,88.5665294 C1892.57296,87.5101116 1897.70372,225.708266 2049.59054,199.189799 C2201.47736,172.671332 2002.94707,336.794682 2002.94707,336.794682 L270.563429,337.025114 L-60.13579,337.025114 C-60.13579,337.025114 -469.886827,134.917309 -282.099858,188.146862 C-190.171235,214.204685 -65.9645849,259.30515 -60.13579,199.189799 Z")}to{d:path("M-160.553381,263.533987 C-124.4955,243.377988 -18.6139605,181.080724 56.456352,264.385412 C131.526664,347.690099 165.148428,226.409513 223.668826,168.5 C282.189224,110.590487 372.68516,208.331261 462.489847,188.09298 C552.294535,167.854699 723.262827,-40.1656225 847.424394,40.7522734 C971.58596,121.670169 1156.59375,252.295176 1300.40314,228.958726 C1444.21253,205.622277 1478.90991,106.221579 1563.51957,124.699258 C1655.80276,144.85274 1595.69955,250.007434 1832.41793,206.740235 C2069.1363,163.473036 2002.94707,336.794682 2002.94707,336.794682 L270.563429,337.025114 L-60.13579,337.025114 C-60.13579,337.025114 -495.794798,256.512987 -308.007829,309.74254 C-216.079206,335.800362 -208.740043,290.469854 -160.553381,263.533987 Z")}}
-.flexVertical-3UlyGp{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.flexVertical-3UlyGp>.flexSpacer-GrNT7f{min-height:1px}.flexHorizontal-2e8SIr{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.flexHorizontal-2e8SIr>.flexSpacer-GrNT7f{min-width:1px}.flexHorizontalReverse-yA5GP2{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.flexHorizontalReverse-yA5GP2>.flexSpacer-GrNT7f{min-width:1px}.flexSpacer-GrNT7f{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden}.flexCenter-OeefPj{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.flexAlignStart-2qRj5J{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.flexAlignEnd-3h-_AZ{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.flexAlignCenter-3u30b3{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.flexAlignStretch-2lwI1M{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.flexJustifyStart-3Hopvt{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.flexJustifyEnd-39vIgk{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.flexJustifyCenter-1QqCti{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.flexJustifyAround-duP4ew{-ms-flex-pack:distribute;justify-content:space-around}.flexJustifyBetween-1E8--m{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.flexNowrap-2g1HIq{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.flexWrap-2YuKQk{-ms-flex-wrap:wrap;flex-wrap:wrap}.flexWrapReverse-2yt1q9{-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}
-.flex-21ywRf{display:-webkit-box;display:-ms-flexbox;display:flex}.flex-21ywRf,.flex-21ywRf .flexChild-FMspoG{-webkit-box-sizing:border-box;box-sizing:border-box}.flex-21ywRf .flexChild-FMspoG{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.flex-21ywRf.flexGutterSmall-qcUxro{margin-left:-10px;margin-right:-10px}.flex-21ywRf.flexGutterSmall-qcUxro .flexChild-FMspoG{padding:0 10px}.flex-21ywRf.flexGutterLarge-2kUiyw{margin-left:-30px;margin-right:-30px}.flex-21ywRf.flexGutterLarge-2kUiyw .flexChild-FMspoG{padding:0 30px}
-
-.logo-1U_ovC{fill:#fff}.clyde-2-VPBZ{width:33px}.clyde-2-VPBZ,.type-1G6S2n{height:36px}.type-1G6S2n{width:98px}@media screen and (max-width:1024px){.type-1G6S2n{display:none}}
-
-.localePicker-25NM64{position:relative;padding:13px 0}.opener-eS3TVz{opacity:.8}.opener-eS3TVz:hover,.openerOpen-3j31zR{opacity:1}.line-eyazOv{width:2px;height:14px;border-radius:1px;background-color:hsla(0,0%,100%,.2);margin-right:12px}.icon-1xPIw1{margin-left:5px}.arrowIcon-1LteCS,.localeIcon-1lzrRW{}.hr-2P0HM7{opacity:.1}.localeList-4Zmfi9{position:absolute;top:46px;right:-14px;background-color:#fff;border-radius:4px;-webkit-box-shadow:rgba(0,0,0,.1) 0 1px 3px;box-shadow:0 1px 3px rgba(0,0,0,.1);min-width:170px;max-height:320px;overflow-x:hidden;overflow-y:auto}.localeListClosed-2T1kCH{display:none}.localeListOpen-3UmwZe{display:block}.localeBase-27bssN{margin:4px;padding:10px 5px;color:hsl(213,calc(var(--saturation-factor, 1)*9.9%),60.4%);opacity:.8;border-radius:3px;cursor:pointer;-webkit-transition:background-color .2s,color .2s;transition:background-color .2s,color .2s}.localeBase-27bssN a{color:inherit}.localeBase-27bssN:hover{opacity:1;background-color:#f2f2f2}.locale-2fVnrF{opacity:.8}.localeCurrent-3CaiIC{opacity:1}.localeImage-3HPI4s{width:24px;height:16px;margin-right:8px}@media screen and (max-width:848px){.line-eyazOv{display:none}.localeIcon-1lzrRW{margin-left:0}.opener-eS3TVz,.openerOpen-3j31zR{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.localePicker-25NM64{cursor:pointer}.localeList-4Zmfi9{left:50%;right:auto;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.locale-2fVnrF{padding:10px;font-size:14px;opacity:.8;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.select-3Go1Du{position:absolute;left:10px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;text-indent:-10000px;border:none;outline:none;cursor:pointer;height:calc(100% - 20px);width:calc(100% - 20px)}.localeImage-3HPI4s{width:18px;height:14px;margin-right:8px}}
-.divider-35ot9S{opacity:.1}.moreList-29ir-q{position:absolute;top:30px;left:0;font-size:13px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1);overflow:hidden;min-width:122px;background:#fff;border-radius:4px;padding:2px 0;-webkit-transform-origin:50% 0;transform-origin:50% 0;-webkit-transition:opacity .125s,visibility .125s,-webkit-transform .125s;transition:opacity .125s,visibility .125s,-webkit-transform .125s;transition:opacity .125s,transform .125s,visibility .125s;transition:opacity .125s,transform .125s,visibility .125s,-webkit-transform .125s}.moreListOpen-1gGlf8{opacity:1;-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0);visibility:visible}.moreListClosed-2sZtk3{opacity:0;pointer-events:none;-webkit-transform:scale(.9) translateY(-10px);transform:scale(.9) translateY(-10px);visibility:hidden}.moreListItem-2_Z3Je{background-color:#fff;font-weight:400;display:block}.moreListItemInactive-1v7PjS{}.moreListItemInactive-1v7PjS .moreListLink-3U23th{color:hsl(213,calc(var(--saturation-factor, 1)*9.9%),60.4%)}.moreListItemActive-MIosDj{}.moreListItemActive-MIosDj .moreListLink-3U23th{color:#4f545c}.moreListLink-3U23th{display:block;padding:2px 4px}.moreListLink-3U23th:focus-within .moreListLinkCopy-1NEMj_,.moreListLink-3U23th:focus .moreListLinkCopy-1NEMj_,.moreListLink-3U23th:hover .moreListLinkCopy-1NEMj_{background-color:#f2f2f2;color:#4f545c}.moreListLinkCopy-1NEMj_{border-radius:3px;display:block;padding:5px 10px;-webkit-transition:background-color .2s,color .2s;transition:background-color .2s,color .2s}@media screen and (max-width:848px){.moreList-29ir-q{display:none}}
-.mobileMenuItem-z_D6aZ{cursor:pointer;display:block;padding:17px 10px;font-size:15px;text-decoration:none;-webkit-transition:opacity .2s;transition:opacity .2s;text-align:center;opacity:.8;border-radius:2px;border-top:1px solid rgba(79,84,92,.4)}.mobileMenuItem-z_D6aZ:focus,.mobileMenuItem-z_D6aZ:focus-within,.mobileMenuItem-z_D6aZ:hover{opacity:1}.mobileHeaderSubMenu-1ECibN{position:relative;margin:0}.mobileSubMenuOpen-1H6ij6{top:0;display:initial}.mobileSubMenuClosed-DSXPlm{top:-500px;display:none}.subListItem-2vz0O6{display:block;font-size:15px;text-decoration:none;-webkit-transition:opacity .2s;transition:opacity .2s;text-align:center}.subListItem-2vz0O6:focus+.subListItem-2vz0O6 .subListItemLink-qR-Pa1,.subListItem-2vz0O6:focus-within+.subListItem-2vz0O6 .subListItemLink-qR-Pa1,.subListItem-2vz0O6:hover+.subListItem-2vz0O6 .subListItemLink-qR-Pa1{border-top:1px solid hsla(0,0%,100%,.06)}.subListItemActive-2nnyFs{}.subListItemActive-2nnyFs .subListItemLink-qR-Pa1{color:#fff}.subListItemInactive-2wcecZ{}.subListItemInactive-2wcecZ .subListItemLink-qR-Pa1{color:#dcddde}.subListItemLink-qR-Pa1{background-color:#18191c;border-top:1px solid hsla(0,0%,100%,.03);color:#dcddde;display:block;padding:17px 10px;-webkit-transition:background-color .2s,border-color .2s,color .2s;transition:background-color .2s,border-color .2s,color .2s}.subListItemLink-qR-Pa1:focus,.subListItemLink-qR-Pa1:focus-within,.subListItemLink-qR-Pa1:hover{background-color:#202225;color:#f6f6f7}.desktopSubMenuItem-1fMXMo{cursor:default;-webkit-font-smoothing:subpixel-antialiased;opacity:.8;position:relative;-webkit-transition:opacity .125s;transition:opacity .125s;will-change:opacity}.desktopSubMenuItem-1fMXMo:focus,.desktopSubMenuItem-1fMXMo:focus-within,.desktopSubMenuItem-1fMXMo:hover{opacity:1}.desktopMenuMore-351jZB{color:#fff;text-decoration:none;font-weight:400;-webkit-transition:opacity .2s;transition:opacity .2s;padding:15px 10px}.iconArrow-1Wc1CT{margin-left:5px;position:relative;top:-1px}
-.header-1Zm1at{-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:14px;font-weight:400;height:72px;padding:8px 0;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%;z-index:56}.headerInner-3WwzEA{margin:0 auto;padding:0 30px;position:relative;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;max-width:1600px;-ms-flex-wrap:wrap;flex-wrap:wrap}.headerLogo-TcWpbY{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;position:relative;margin-right:12px;margin-top:4px}.skipToContent-2u59mW{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;margin-top:1em;padding:4px;color:#fff;font-size:16px}.skipToContent-2u59mW:focus{left:0;width:auto;height:auto;opacity:1}.logo-BkKbcr{width:130px;height:36px}.headerNav-IBNU4s{-webkit-box-align:center;-ms-flex-align:center;align-items:center;list-style:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;padding:0;margin:0;min-height:56px}.headerNav-IBNU4s:after{content:"";display:block;min-height:inherit;font-size:0}.headerNavRight-yKnar8{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;margin-left:auto}.listItem-1ra-Bk{display:inline-block;-webkit-font-smoothing:subpixel-antialiased;position:relative;-webkit-transition:opacity .125s;transition:opacity .125s;will-change:opacity}.listItemInactive-396Xk8{cursor:pointer;opacity:.8}.listItemInactive-396Xk8:focus,.listItemInactive-396Xk8:focus-within,.listItemInactive-396Xk8:hover{opacity:1}.listItemActive-3Vb7bW{opacity:1}.navLink-DPGG6D{color:#fff;font-weight:400;text-decoration:none;position:relative}.mainNavLink-Z3uwQ7{padding:15px 10px}.mainNavLink-Z3uwQ7,.rightNavLink-5uvsNo{margin-right:8px}.rightNavLink-5uvsNo{top:3px;padding:15px 10px 15px 0}.appButton-3GZ9-9{color:#fff;top:0;border:2px solid hsla(0,0%,100%,.8);padding:5px 17px 7px;border-radius:20px;line-height:24px;margin-right:18px}.desktopSubMenuItem-2CCvU9{position:relative;opacity:.8}.desktopSubMenuItem-2CCvU9:focus,.desktopSubMenuItem-2CCvU9:focus-within,.desktopSubMenuItem-2CCvU9:hover{opacity:1}.desktopMenuMore-vBoGnq{color:#fff;text-decoration:none;font-weight:400;padding:15px 10px}.iconArrow-3tdk9V{margin-left:5px;position:relative;top:-1px}@media screen and (max-width:1024px){.listItemSocialMedia-RWHjN1{display:none}}
-.btnHamburger-3grAP3{width:60px;height:45px;position:relative;cursor:pointer;background:transparent;-webkit-transform:scale(.3);transform:scale(.3);margin-right:-20px;padding:8px}.btnHamburger-3grAP3 span{display:block;position:absolute;height:9px;width:50%;background:#fff;opacity:1;-webkit-transform:rotate(0deg);transform:rotate(0deg);-webkit-transition:.25s ease-in-out;transition:.25s ease-in-out}.btnHamburger-3grAP3 span:nth-child(2n){left:50%;border-radius:0 9px 9px 0}.btnHamburger-3grAP3 span:nth-child(odd){left:0;border-radius:9px 0 0 9px}.btnHamburger-3grAP3 span:first-child,.btnHamburger-3grAP3 span:nth-child(2){top:0}.btnHamburger-3grAP3 span:nth-child(3),.btnHamburger-3grAP3 span:nth-child(4){top:18px}.btnHamburger-3grAP3 span:nth-child(5),.btnHamburger-3grAP3 span:nth-child(6){top:36px}.btnHamburgerOpen-5Ig7r6 span:first-child,.btnHamburgerOpen-5Ig7r6 span:nth-child(6){-webkit-transform:rotate(45deg);transform:rotate(45deg)}.btnHamburgerOpen-5Ig7r6 span:nth-child(2),.btnHamburgerOpen-5Ig7r6 span:nth-child(5){-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.btnHamburgerOpen-5Ig7r6 span:first-child{left:5px;top:7px}.btnHamburgerOpen-5Ig7r6 span:nth-child(2){left:calc(50% - 5px);top:7px}.btnHamburgerOpen-5Ig7r6 span:nth-child(3){left:-50%;opacity:0}.btnHamburgerOpen-5Ig7r6 span:nth-child(4){left:100%;opacity:0}.btnHamburgerOpen-5Ig7r6 span:nth-child(5){left:5px;top:29px}.btnHamburgerOpen-5Ig7r6 span:nth-child(6){left:calc(50% - 5px);top:29px}
-.header-3aRurq{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:14px;font-weight:400;min-height:40px;height:40px;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;margin:0 auto;padding:4px 10px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%;z-index:56}.header-3aRurq,.headerInner-2w4ICT{display:-webkit-box;display:-ms-flexbox;display:flex}.headerInner-2w4ICT{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.hamburgerButton-3ewXOy,.headerLogo-tb03Nu{position:relative;z-index:70}.headerLogo-tb03Nu{image-rendering:crisp-edges}.logoWrapper-3agQ6A{display:block;-webkit-transform:translateY(2px);transform:translateY(2px)}.logo-3FcuSx{width:86px;height:24px}.headerNav-QStAAj{position:absolute;top:-2px;right:0;left:0;background-color:#000;list-style:none;margin:0;opacity:0;padding:40px 0 0;-webkit-transform:translateY(-100%);transform:translateY(-100%);-webkit-transition:opacity .2s,-webkit-transform .2s;transition:opacity .2s,-webkit-transform .2s;transition:opacity .2s,transform .2s;transition:opacity .2s,transform .2s,-webkit-transform .2s;z-index:55}.headerNavOpen-3-xIDP{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.headerSubNavOpen-46T5Q_{position:relative;display:block;opacity:1;z-index:55;margin-top:8px}.mainNavLink-1SwQrC{color:#dcddde;display:block;padding:17px 10px;font-size:15px;text-decoration:none;-webkit-transition:color .2s;transition:color .2s;text-align:center;border-radius:2px;border-top:1px solid rgba(79,84,92,.4)}.mainNavLink-1SwQrC:hover{color:#f6f6f7}.localePicker-2GReqC{border-top:1px solid rgba(79,84,92,.4)}
-.mobileHeader-2xB92D{display:none}.desktopHeader-3za0nJ{display:block}@media (max-width:848px){.mobileHeader-2xB92D{display:-webkit-box;display:-ms-flexbox;display:flex}.desktopHeader-3za0nJ{display:none}}
-
-/*# sourceMappingURL=0.d1d660cbcbc30384891c.css.map*/
\ No newline at end of file
diff --git a/api/assets/042023d8ee73c0c3fd74.js b/api/assets/042023d8ee73c0c3fd74.js
deleted file mode 100644
index ac921492..00000000
--- a/api/assets/042023d8ee73c0c3fd74.js
+++ /dev/null
@@ -1,2 +0,0 @@
-!function(e){function c(c){for(var a,f,r=c[0],n=c[1],o=c[2],u=0,l=[];u<r.length;u++)f=r[u],Object.prototype.hasOwnProperty.call(b,f)&&b[f]&&l.push(b[f][0]),b[f]=0;for(a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);for(i&&i(c);l.length;)l.shift()();return t.push.apply(t,o||[]),d()}function d(){for(var e,c=0;c<t.length;c++){for(var d=t[c],a=!0,f=1;f<d.length;f++){var n=d[f];0!==b[n]&&(a=!1)}a&&(t.splice(c--,1),e=r(r.s=d[0]))}return e}var a={},f={1:0},b={1:0},t=[];function r(c){if(a[c])return a[c].exports;var d=a[c]={i:c,l:!1,exports:{}};return e[c].call(d.exports,d,d.exports,r),d.l=!0,d.exports}r.e=function(e){var c=[];f[e]?c.push(f[e]):0!==f[e]&&{0:1}[e]&&c.push(f[e]=new Promise((function(c,d){for(var a=e+"."+{0:"d1d660cbcbc30384891c",2:"31d6cfe0d16ae931b73c",3:"31d6cfe0d16ae931b73c",4:"31d6cfe0d16ae931b73c",5:"31d6cfe0d16ae931b73c",6:"31d6cfe0d16ae931b73c",7:"31d6cfe0d16ae931b73c",8:"31d6cfe0d16ae931b73c",9:"31d6cfe0d16ae931b73c",10:"31d6cfe0d16ae931b73c",11:"31d6cfe0d16ae931b73c",12:"31d6cfe0d16ae931b73c",13:"31d6cfe0d16ae931b73c",14:"31d6cfe0d16ae931b73c",15:"31d6cfe0d16ae931b73c",16:"31d6cfe0d16ae931b73c",17:"31d6cfe0d16ae931b73c",18:"31d6cfe0d16ae931b73c",19:"31d6cfe0d16ae931b73c",20:"31d6cfe0d16ae931b73c",21:"31d6cfe0d16ae931b73c",22:"31d6cfe0d16ae931b73c",23:"31d6cfe0d16ae931b73c",24:"31d6cfe0d16ae931b73c",25:"31d6cfe0d16ae931b73c",26:"31d6cfe0d16ae931b73c",27:"31d6cfe0d16ae931b73c",28:"31d6cfe0d16ae931b73c",29:"31d6cfe0d16ae931b73c",30:"31d6cfe0d16ae931b73c",31:"31d6cfe0d16ae931b73c",32:"31d6cfe0d16ae931b73c",33:"31d6cfe0d16ae931b73c",35:"31d6cfe0d16ae931b73c",37:"31d6cfe0d16ae931b73c",38:"31d6cfe0d16ae931b73c",39:"31d6cfe0d16ae931b73c",40:"31d6cfe0d16ae931b73c",41:"31d6cfe0d16ae931b73c",42:"31d6cfe0d16ae931b73c",43:"31d6cfe0d16ae931b73c",44:"31d6cfe0d16ae931b73c",45:"31d6cfe0d16ae931b73c",46:"31d6cfe0d16ae931b73c",47:"31d6cfe0d16ae931b73c",48:"31d6cfe0d16ae931b73c",49:"31d6cfe0d16ae931b73c",50:"31d6cfe0d16ae931b73c",51:"31d6cfe0d16ae931b73c",52:"31d6cfe0d16ae931b73c",53:"31d6cfe0d16ae931b73c",54:"31d6cfe0d16ae931b73c",55:"31d6cfe0d16ae931b73c",56:"31d6cfe0d16ae931b73c",57:"31d6cfe0d16ae931b73c",58:"31d6cfe0d16ae931b73c",59:"31d6cfe0d16ae931b73c",60:"31d6cfe0d16ae931b73c",61:"31d6cfe0d16ae931b73c",62:"31d6cfe0d16ae931b73c",63:"31d6cfe0d16ae931b73c",64:"31d6cfe0d16ae931b73c",65:"31d6cfe0d16ae931b73c",68:"31d6cfe0d16ae931b73c",69:"31d6cfe0d16ae931b73c",70:"31d6cfe0d16ae931b73c",71:"31d6cfe0d16ae931b73c",72:"31d6cfe0d16ae931b73c",73:"31d6cfe0d16ae931b73c",76:"31d6cfe0d16ae931b73c",77:"31d6cfe0d16ae931b73c",78:"31d6cfe0d16ae931b73c",79:"31d6cfe0d16ae931b73c",80:"31d6cfe0d16ae931b73c",81:"31d6cfe0d16ae931b73c",82:"31d6cfe0d16ae931b73c"}[e]+".css",f=r.p+a,b=document.getElementsByTagName("link"),t=0;t<b.length;t++){var n=(u=b[t]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(n===a||n===f))return c()}var o=document.getElementsByTagName("style");for(t=0;t<o.length;t++){var u;if((n=(u=o[t]).getAttribute("data-href"))===a||n===f)return c()}var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.onload=c,i.onerror=function(c){var a=c&&c.target&&c.target.src||f,b=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");b.request=a,d(b)},i.href=f,document.getElementsByTagName("head")[0].appendChild(i)})).then((function(){f[e]=0})));var d=b[e];if(0!==d)if(d)c.push(d[2]);else{var a=new Promise((function(c,a){d=b[e]=[c,a]}));c.push(d[2]=a);var t,n=document.createElement("script");n.charset="utf-8",n.timeout=120,r.nc&&n.setAttribute("nonce",r.nc),n.src=function(e){return r.p+""+{0:"4a5d0d639aefbb9cafca",2:"f46fc057b352f07253c7",3:"5eae74fd6acd2647e0b7",4:"8c928ce26a3b4d828392",5:"3b390dc821b6b00117ff",6:"2def6ed70cf3dfe8990b",7:"ce7a23f97b48231e05b3",8:"186a6b1c978bd360c84e",9:"51db8e3c2fa79df2bd16",10:"ba19b6d2d1f3edd4a7eb",11:"e852c523afaf4768e6bd",12:"580c384596b14cd9cd96",13:"e2a5b99ab3e33a4900bd",14:"6d53aae32dede1a81b1b",15:"84394acae77f1ee935f0",16:"b94388e26490ecd7f18d",17:"1d9a7ba62d2ff9f784a3",18:"a671d972fd776709a7d6",19:"c4c007b3e8154257c029",20:"491f1477442a7345f935",21:"e0084b018128789c28c2",22:"a0f004c7053eca3a9715",23:"b04ae11b4cf73b17934b",24:"4916ca4106799de584bb",25:"ce6f2f1b363195b6ba35",26:"1715cbbdd6343adeee26",27:"80836862f63975587223",28:"ab7c692d8e328a43026c",29:"dab168f318327d97d361",30:"7fbe1e6b1c5663e3a84e",31:"da05677a3f014f35d081",32:"52e607b6d9036907695e",33:"34e9ac0a034a7d61fa89",35:"b12b015152b96e6d5512",37:"928f2cf98d8e31e53110",38:"28f7ddf34501e39e490f",39:"88c489aa27e55709a459",40:"6ade88af9ca81c106c9f",41:"9c88e2a5aef84d132336",42:"49078e599d3842cb6dc8",43:"911f180d5623a5e9b5c1",44:"c0e0385f238480fbcd94",45:"6e689c33e084426f5c5d",46:"f6454d7e2553d8bd7e46",47:"b8574d46121cefde31b8",48:"ae5e928ce2b759147cfe",49:"9ae38d1b735648c63755",50:"c22c58e11284b2172243",51:"e6f4eba30a3427fe54b2",52:"17a9f6c9377f3b0a4a93",53:"ed13ed320d5c4bac5ac8",54:"f0a84894c6050a2c0422",55:"868e63932221f6062565",56:"cef6bce44cbd08de49e2",57:"7474bcdf761474bf3088",58:"78902d6a1f923b23205f",59:"ab55ff9a7f47c1c5b8eb",60:"7e6eccd18d4b30ff19fa",61:"ba2ecea1be110792e62a",62:"e3163a66c471e7c3d3ff",63:"a8b70b305658969e207a",64:"b765b783b0533f812626",65:"215f7acfcd56d684cef4",68:"62025fb0020a15fc85f4",69:"e7d4d81a8581ec843307",70:"2e24fdcd3b93eb340e1d",71:"6f36b234919cc94999a2",72:"36bf82052a3121a02046",73:"042f20f53bfe4e7a3ed0",76:"5d9c0363df762090f714",77:"3a1fe7e7c3a97672081e",78:"463ce480c38b1b86005e",79:"712d27102637586a8839",80:"a41f6061709f0b0ddee7",81:"9ae57f174cb63cab57f4",82:"2cbabd9369e777f06572"}[e]+".js"}(e);var o=new Error;t=function(c){n.onerror=n.onload=null,clearTimeout(u);var d=b[e];if(0!==d){if(d){var a=c&&("load"===c.type?"missing":c.type),f=c&&c.target&&c.target.src;o.message="Loading chunk "+e+" failed.\n("+a+": "+f+")",o.name="ChunkLoadError",o.type=a,o.request=f,d[1](o)}b[e]=void 0}};var u=setTimeout((function(){t({type:"timeout",target:n})}),12e4);n.onerror=n.onload=t,document.head.appendChild(n)}return Promise.all(c)},r.m=e,r.c=a,r.d=function(e,c,d){r.o(e,c)||Object.defineProperty(e,c,{enumerable:!0,get:d})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,c){if(1&c&&(e=r(e)),8&c)return e;if(4&c&&"object"==typeof e&&e&&e.__esModule)return e;var d=Object.create(null);if(r.r(d),Object.defineProperty(d,"default",{enumerable:!0,value:e}),2&c&&"string"!=typeof e)for(var a in e)r.d(d,a,function(c){return e[c]}.bind(null,a));return d},r.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(c,"a",c),c},r.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},r.p="/assets/",r.oe=function(e){throw console.error(e),e};var n=this.webpackJsonp=this.webpackJsonp||[],o=n.push.bind(n);n.push=c,n=n.slice();for(var u=0;u<n.length;u++)c(n[u]);var i=o;d()}([]);
-//# sourceMappingURL=042023d8ee73c0c3fd74.js.map
\ No newline at end of file
diff --git a/api/assets/2cbabd9369e777f06572.js b/api/assets/2cbabd9369e777f06572.js
deleted file mode 100644
index f1696355..00000000
--- a/api/assets/2cbabd9369e777f06572.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(this.webpackJsonp=this.webpackJsonp||[]).push([[82],{7924:function(n,e,o){n.exports=function(){return new Worker(o.p+"9316137ca25a60d7180c.worker.js")}}}]);
-//# sourceMappingURL=2cbabd9369e777f06572.js.map
\ No newline at end of file
diff --git a/api/assets/2def6ed70cf3dfe8990b.js b/api/assets/2def6ed70cf3dfe8990b.js
deleted file mode 100644
index e1e7d878..00000000
--- a/api/assets/2def6ed70cf3dfe8990b.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/*! For license information please see 2def6ed70cf3dfe8990b.js.LICENSE.txt */
-(this.webpackJsonp=this.webpackJsonp||[]).push([[6],{1e4:function(e,t,n){"use strict";var r=n(0),o=n(8696),i=(0,n(8269).Map)({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:r.createElement("ul",{className:o("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:r.createElement("ol",{className:o("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:r.createElement("pre",{className:o("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});e.exports=i},10001:function(e,t,n){"use strict";var r=n(11179);e.exports=function e(t,n){return!(!t||!n)&&(t===n||!r(t)&&(r(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}},10002:function(e,t,n){"use strict";function r(e,t){return!!t&&(e===t.documentElement||e===t.body)}var o={getTop:function(e){var t=e.ownerDocument;return r(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;r(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return r(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;r(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}};e.exports=o},10003:function(e,t,n){"use strict";n(10004);e.exports=function(e,t){var n=e.getSelection(),r=e.getCurrentContent(),o=n.getStartKey(),i=n.getStartOffset(),a=o,s=0;if(t>i){var u=r.getKeyBefore(o);if(null==u)a=o;else a=u,s=r.getBlockForKey(u).getText().length}else s=i-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}},10004:function(e,t,n){"use strict";var r=n(10418);e.exports=r},10005:function(e,t,n){"use strict";var r=n(8402),o=n(11206),i=r.isPlatform("Mac OS X"),a={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return i&&e.altKey},usesMacOSHeuristics:function(){return i},hasCommandModifier:function(e){return i?!!e.metaKey&&!e.altKey:a.isCtrlKeyCommand(e)},isSoftNewlineEvent:o};e.exports=a},10006:function(e,t,n){"use strict";var r=n(8284),o=n(11208),i=n(10407),a=n(10003),s=n(9032);e.exports=function(e,t){var n=s(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return a(e,1);var r=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=o(r),i(e,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:r.push(e,n,"remove-range")}},10007:function(e,t,n){"use strict";var r=n(10422),o=n(8284),i=n(10003),a=n(9032);e.exports=function(e){var t=a(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return i(e,1);var o=t.getStartKey(),a=e.getCurrentContent().getBlockForKey(o).getText().slice(0,n),s=r.getBackward(a);return i(e,s.length||1)}),"backward");return t===e.getCurrentContent()?e:o.push(e,t,"remove-range")}},10008:function(e,t,n){"use strict";var r=n(10422),o=n(8284),i=n(10423),a=n(9032);e.exports=function(e){var t=a(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),o=t.getStartKey(),a=e.getCurrentContent().getBlockForKey(o).getText().slice(n),s=r.getForward(a);return i(e,s.length||1)}),"forward");return t===e.getCurrentContent()?e:o.push(e,t,"remove-range")}},10009:function(e,t,n){"use strict";var r=n(8284);e.exports=function(e){var t=e.getSelection(),n=t.getEndKey(),o=e.getCurrentContent().getBlockForKey(n).getLength();return r.set(e,{selection:t.merge({anchorKey:n,anchorOffset:o,focusKey:n,focusOffset:o,isBackward:!1}),forceSelection:!0})}},10010:function(e,t,n){"use strict";var r=n(8284);e.exports=function(e){var t=e.getSelection(),n=t.getStartKey();return r.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})}},10011:function(e,t,n){"use strict";var r=n(8284),o=n(8698),i=n(10423),a=n(9032);e.exports=function(e){var t=a(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),a=t.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a];return i(e,s?o.getUTF16Length(s,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return r.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")}},10012:function(e,t,n){"use strict";var r=n(8371),o=n(8284),i=n(9194);e.exports=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var a,s,u=t.getAnchorKey(),c=e.getCurrentContent(),l=c.getBlockForKey(u).getLength();if(l<=1)return e;n===l?(a=t.set("anchorOffset",n-1),s=t):s=(a=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var f=i(c,a),d=r.removeRange(c,a,"backward"),p=d.getSelectionAfter(),h=p.getAnchorOffset()-1,v=p.merge({anchorOffset:h,focusOffset:h}),y=r.replaceWithFragment(d,v,f),g=o.push(e,y,"insert-fragment");return o.acceptSelection(g,s)}},10312:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||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},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),a=f(i),s=f(n(17)),u=f(n(67)),c=f(n(10821)),l=f(n(23));function f(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.state={initiated:!1},e.onResize=e.onResize.bind(e),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"getDomNodeDimensions",value:function(e){var t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}}}]),o(t,[{key:"componentDidMount",value:function(){this.parentNode=u.default.findDOMNode(this).parentNode,this.elementResizeDetector=(0,c.default)({strategy:"scroll",callOnAdd:!1}),this.elementResizeDetector.listenTo(this.parentNode,this.onResize),this.componentIsMounted=!0,this.onResize()}},{key:"componentWillUnmount",value:function(){this.componentIsMounted=!1,this.elementResizeDetector.uninstall(this.parentNode)}},{key:"onResize",value:function(){var e=t.getDomNodeDimensions(this.parentNode);this.componentIsMounted&&this.setState(r({initiated:!0},e))}},{key:"render",value:function(){if((0,l.default)(this.props.children,"Expected children to be one of function or React.Element"),!this.state.initiated)return a.default.createElement("div",null);if("function"==typeof this.props.children){var e=this.props.children(this.state);return e&&i.Children.only(e)}return i.Children.only(a.default.cloneElement(this.props.children,this.state))}}]),t}(i.Component);d.propTypes={children:s.default.oneOfType([s.default.element,s.default.func]).isRequired},t.default=d},10313:function(e,t,n){"use strict";(e.exports={}).forEach=function(e,t){for(var n=0;n<e.length;n++){var r=t(e[n]);if(r)return r}}},10314:function(e,t,n){"use strict";var r=e.exports={};r.isIE=function(e){return(-1!==(t=navigator.userAgent.toLowerCase()).indexOf("msie")||-1!==t.indexOf("trident")||-1!==t.indexOf(" edge/"))&&(!e||e===function(){var e=3,t=document.createElement("div"),n=t.getElementsByTagName("i");do{t.innerHTML="\x3c!--[if gt IE "+ ++e+"]><i></i><![endif]--\x3e"}while(n[0]);return e>4?e:void 0}());var t},r.isLegacyOpera=function(){return!!window.opera}},10315:function(e){e.exports=JSON.parse('{"v":"5.1.1","fr":30,"ip":0,"op":55,"w":200,"h":205,"nm":"warning_wump_dark","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"circle Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":0,"s":[0],"e":[90]},{"t":54}],"ix":10},"p":{"a":0,"k":[165.635,79.535,0],"ix":2},"a":{"a":0,"k":[165.635,79.535,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.832,0],[0,-0.832],[-0.832,0],[0,0.833]],"o":[[-0.832,0],[0,0.833],[0.832,0],[0,-0.832]],"v":[[0,-1.51],[-1.51,0],[0,1.51],[1.51,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[1.936,0],[0,1.935],[-1.936,0],[0,-1.935]],"o":[[-1.936,0],[0,-1.935],[1.936,0],[0,1.935]],"v":[[0,3.51],[-3.51,0],[0,-3.51],[3.51,0]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.125,0.13300000359,0.144999994016,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[165.635,79.535],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"pop mid Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":0,"s":[0],"e":[90]},{"t":54}],"ix":10},"p":{"a":0,"k":[84.606,25.658,0],"ix":2},"a":{"a":0,"k":[84.606,25.658,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.256,0],[0.195,0.195],[-0.391,0.391],[0,0],[-0.391,-0.39],[0.39,-0.39],[0,0]],"o":[[-0.256,0],[-0.391,-0.391],[0,0],[0.39,-0.39],[0.39,0.391],[0,0],[-0.195,0.195]],"v":[[-0.591,1.641],[-1.298,1.348],[-1.298,-0.066],[-0.115,-1.251],[1.3,-1.251],[1.3,0.164],[0.116,1.348]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.125,0.13300000359,0.144999994016,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[87.564,22.651],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.256,0],[0.195,0.195],[-0.391,0.391],[0,0],[-0.391,-0.39],[0.39,-0.39],[0,0]],"o":[[-0.256,0],[-0.391,-0.391],[0,0],[0.39,-0.39],[0.39,0.391],[0,0],[-0.195,0.195]],"v":[[-0.591,1.64],[-1.298,1.347],[-1.298,-0.067],[-0.115,-1.25],[1.299,-1.25],[1.299,0.164],[0.116,1.347]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.125,0.13300000359,0.144999994016,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[81.648,28.568],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.256,0],[0.195,0.195],[0,0],[-0.39,0.391],[-0.39,-0.39],[0,0],[0.391,-0.391]],"o":[[-0.256,0],[0,0],[-0.39,-0.389],[0.391,-0.39],[0,0],[0.391,0.39],[-0.195,0.195]],"v":[[0.592,1.64],[-0.116,1.347],[-1.3,0.164],[-1.3,-1.25],[0.115,-1.25],[1.298,-0.067],[1.298,1.347]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.125,0.13300000359,0.144999994016,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[87.565,28.568],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":2,"cix":2,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.256,0],[0.195,0.195],[0,0],[-0.39,0.39],[-0.39,-0.39],[0,0],[0.391,-0.39]],"o":[[-0.256,0],[0,0],[-0.39,-0.39],[0.391,-0.39],[0,0],[0.391,0.391],[-0.195,0.195]],"v":[[0.591,1.641],[-0.116,1.348],[-1.299,0.164],[-1.299,-1.251],[0.115,-1.251],[1.298,-0.066],[1.298,1.348]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.125,0.13300000359,0.144999994016,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[81.648,22.651],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 4","np":2,"cix":2,"ix":4,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"shine l Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":0,"s":[0],"e":[90]},{"t":54}],"ix":10},"p":{"a":0,"k":[20.178,58.191,0],"ix":2},"a":{"a":0,"k":[20.178,58.191,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.552,0],[0,0],[0,0.829],[0,0],[0.552,0],[0,-0.552],[0,0],[0.828,0],[0,0],[0,-0.552],[-0.552,0],[0,0],[0,-0.829],[0,0],[-0.553,0],[0,0.552],[0,0],[-0.828,0],[0,0],[0,0.552]],"o":[[0,0],[-0.828,0],[0,0],[0,-0.552],[-0.553,0],[0,0],[0,0.829],[0,0],[-0.552,0],[0,0.552],[0,0],[0.828,0],[0,0],[0,0.552],[0.552,0],[0,0],[0,-0.829],[0,0],[0.552,0],[0,-0.552]],"v":[[2.51,-1],[2.501,-1],[1.001,-2.5],[1.001,-2.51],[0.001,-3.51],[-0.999,-2.51],[-0.999,-2.5],[-2.499,-1],[-2.51,-1],[-3.51,0],[-2.51,1],[-2.499,1],[-0.999,2.5],[-0.999,2.51],[0.001,3.51],[1.001,2.51],[1.001,2.5],[2.501,1],[2.51,1],[3.51,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.125,0.13300000359,0.144999994016,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[20.178,58.191],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"shine r Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":0,"s":[0],"e":[90]},{"t":54}],"ix":10},"p":{"a":0,"k":[183.434,42.191,0],"ix":2},"a":{"a":0,"k":[183.434,42.191,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.553,0],[0,0],[0,0.829],[0,0],[0.553,0],[0,-0.552],[0,0],[0.829,0],[0,0],[0,-0.552],[-0.552,0],[0,0],[0,-0.829],[0,0],[-0.552,0],[0,0.552],[0,0],[-0.828,0],[0,0],[0,0.552]],"o":[[0,0],[-0.828,0],[0,0],[0,-0.552],[-0.552,0],[0,0],[0,0.829],[0,0],[-0.552,0],[0,0.552],[0,0],[0.829,0],[0,0],[0,0.552],[0.553,0],[0,0],[0,-0.829],[0,0],[0.553,0],[0,-0.552]],"v":[[2.51,-1],[2.499,-1],[0.999,-2.5],[0.999,-2.51],[-0.001,-3.51],[-1.001,-2.51],[-1.001,-2.5],[-2.501,-1],[-2.511,-1],[-3.511,0],[-2.511,1],[-2.501,1],[-1.001,2.5],[-1.001,2.51],[-0.001,3.51],[0.999,2.51],[0.999,2.5],[2.499,1],[2.51,1],[3.51,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.125,0.13300000359,0.144999994016,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[183.434,42.191],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"big bolt Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":33,"s":[100],"e":[0]},{"t":39}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[100.58,95.718,0],"ix":2},"a":{"a":0,"k":[98.023,91.246,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":14,"s":[0,0,100],"e":[101.882,102.079,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":18,"s":[101.882,102.079,100],"e":[90,90,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":21,"s":[90,90,100],"e":[100,100,100]},{"t":24}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.261,-0.024],[0.21,0.168],[-0.345,0.432],[0,0],[-0.278,0.034],[-0.205,-0.182],[0,0],[-1.464,3.955],[0,0],[1.389,-1.835],[0,0],[0.275,-0.029],[0.209,0.181],[0,0],[0.66,-2.047],[0,0],[0.523,0.167],[-0.169,0.526],[0,0],[-0.323,0.091],[-0.253,-0.219],[0,0],[-1.046,1.384],[0,0],[-0.436,-0.238],[0.173,-0.465],[0,0],[0.32,-0.08],[0.249,0.219],[0,0],[1.069,-1.345],[0,0]],"o":[[-0.248,0.023],[-0.432,-0.344],[0,0],[0.171,-0.215],[0.273,-0.024],[0,0],[3.16,2.793],[0,0],[0.799,-2.159],[0,0],[-0.168,0.22],[-0.284,0.039],[0,0],[-1.626,-1.408],[0,0],[-0.169,0.526],[-0.526,-0.169],[0,0],[0.102,-0.32],[0.325,-0.09],[0,0],[1.311,1.136],[0,0],[0.301,-0.396],[0.434,0.238],[0,0],[-0.114,0.31],[-0.317,0.082],[0,0],[-1.287,-1.138],[0,0],[-0.176,0.222]],"v":[[-32.511,44.29],[-33.226,44.077],[-33.386,42.673],[-8.593,11.495],[-7.897,11.12],[-7.147,11.368],[0.242,17.902],[9.845,15.49],[24.64,-24.507],[21.169,-26.408],[1.052,0.178],[0.359,0.57],[-0.4,0.331],[-10.522,-8.436],[-15.343,-7.087],[-21.754,12.839],[-23.011,13.484],[-23.657,12.226],[-15.392,-13.458],[-14.711,-14.115],[-13.787,-13.908],[-2.321,-3.979],[2.035,-4.436],[31.822,-43.801],[33.101,-44.076],[33.558,-42.852],[8.174,25.769],[7.48,26.392],[6.573,26.171],[-5.315,15.658],[-9.65,16.038],[-31.822,43.917]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.125,0.13300000359,0.144999994016,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[132.014,46.198],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"med bolt Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":16,"s":[0],"e":[100]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":19,"s":[100],"e":[100]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":35,"s":[100],"e":[0]},{"t":41}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":8,"s":[114.16],"e":[55.723]},{"t":27}],"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":8,"s":[142.993],"e":[34.4]},{"t":27}],"ix":4}},"a":{"a":0,"k":[50.12,38.491,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":17,"s":[24.973,25.021,100],"e":[99.893,100.085,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":20,"s":[99.893,100.085,100],"e":[99.893,100.085,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":37,"s":[99.893,100.085,100],"e":[0,0,100]},{"t":40}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.892,-0.97],[0,0],[0.455,1.035],[0,0],[-0.495,0.229],[0,0],[0.966,0.988],[0,0],[-0.403,-1.015],[0,0],[0.455,-0.236],[0,0]],"o":[[0,0],[0.765,0.832],[0,0],[-0.219,-0.499],[0,0],[1.254,-0.58],[0,0],[-0.764,-0.781],[0,0],[0.189,0.477],[0,0],[-1.17,0.607]],"v":[[-8.878,2.781],[1.945,14.552],[3.596,13.472],[-0.492,4.18],[0.005,2.869],[7.99,-0.826],[8.579,-4.04],[-3.301,-16.18],[-4.945,-15.112],[-0.995,-5.167],[-1.463,-3.911],[-8.327,-0.348]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0.189,0],[0.196,0.212],[0,0],[-0.054,0.307],[-0.276,0.143],[0,0],[0,0],[-0.399,0.26],[-0.333,-0.34],[0,0],[0.059,-0.32],[0.295,-0.136],[0,0],[0,0],[0.409,-0.268]],"o":[[-0.272,0],[0,0],[-0.211,-0.229],[0.054,-0.306],[0,0],[0,0],[-0.176,-0.443],[0.4,-0.26],[0,0],[0.227,0.232],[-0.059,0.32],[0,0],[0,0],[0.197,0.448],[-0.168,0.11]],"v":[[9.363,25.096],[8.626,24.773],[-13.005,1.248],[-13.253,0.398],[-12.73,-0.316],[-3.188,-5.27],[-10.479,-23.628],[-10.094,-24.836],[-8.835,-24.697],[12.98,-2.402],[13.249,-1.522],[12.685,-0.795],[1.734,4.273],[10.277,23.693],[9.91,24.933]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.125,0.13300000359,0.144999994016,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[50.122,38.442],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[12.267,-1.752],[0.426,3.728],[9.364,24.047],[-12.267,0.523],[-1.922,-4.848],[-9.547,-24.047]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.310000011968,0.328999986836,0.361000001197,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[50.12,38.491],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":7,"ty":4,"nm":"smol bolt Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":0,"s":[0],"e":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":14,"s":[0],"e":[100]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":17,"s":[100],"e":[100]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":32,"s":[100],"e":[0]},{"t":38}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":1,"k":[{"i":{"x":[0.579],"y":[1]},"o":{"x":[0.702],"y":[-0.011]},"n":["0p579_1_0p702_-0p011"],"t":5,"s":[107.048],"e":[34.625]},{"t":24}],"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.579],"y":[1]},"o":{"x":[0.702],"y":[-0.029]},"n":["0p579_1_0p702_-0p029"],"t":5,"s":[109.726],"e":[81.702]},{"t":24}],"ix":4}},"a":{"a":0,"k":[28.161,86.796,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":15,"s":[24.973,25.021,100],"e":[99.893,100.085,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":18,"s":[99.893,100.085,100],"e":[99.893,100.085,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":33,"s":[99.893,100.085,100],"e":[0,0,100]},{"t":36}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[-0.396,0.207],[-0.406,-0.187],[0,0],[0,0],[0,0],[0.396,-0.207],[0.406,0.186]],"o":[[0,0],[0,0],[0.08,-0.441],[0.396,-0.207],[0,0],[0,0],[0,0],[-0.081,0.44],[-0.397,0.208],[0,0]],"v":[[-6.74,-2.275],[0.295,4.715],[0.846,1.651],[1.595,0.632],[2.858,0.6],[6.74,2.37],[-0.294,-4.62],[-0.845,-1.556],[-1.594,-0.538],[-2.857,-0.504]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0.104,5.771],[0.104,5.772]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0.145,0],[0.274,0.272],[0,0],[-0.059,0.323],[0,0],[-0.274,0.143],[-0.28,-0.128],[0,0],[0,0],[-0.511,0.162],[-0.38,-0.377],[0,0],[0.058,-0.323],[0,0],[0.274,-0.143],[0.282,0.13],[0,0],[0,0],[0.511,-0.161]],"o":[[-0.374,0],[0,0],[-0.233,-0.232],[0,0],[0.055,-0.304],[0.273,-0.141],[0,0],[0,0],[0.096,-0.528],[0.511,-0.161],[0,0],[0.232,0.232],[0,0],[-0.054,0.304],[-0.273,0.145],[0,0],[0,0],[-0.094,0.527],[-0.143,0.045]],"v":[[0.657,7.308],[-0.355,6.89],[-11.54,-4.225],[-11.819,-5.112],[-11.768,-5.396],[-11.247,-6.105],[-10.369,-6.128],[-2.686,-2.624],[-2.073,-6.03],[-1.09,-7.147],[0.355,-6.795],[11.541,4.32],[11.82,5.206],[11.769,5.49],[11.249,6.199],[10.37,6.223],[2.686,2.719],[2.073,6.125],[1.091,7.241]],"c":true},"ix":2},"nm":"Path 3","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.125,0.13300000359,0.144999994016,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[28.16,86.749],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0.063,-0.346],[0,0],[0.259,0.118],[0,0],[0,0],[0,0],[-0.062,0.347],[0,0],[-0.259,-0.119],[0,0]],"o":[[0,0],[-0.25,-0.249],[0,0],[-0.05,0.281],[0,0],[0,0],[0,0],[0.25,0.248],[0,0],[0.05,-0.281],[0,0],[0,0]],"v":[[10.835,4.982],[-0.351,-6.133],[-1.089,-5.9],[-1.831,-1.781],[-2.441,-1.46],[-10.785,-5.266],[-10.835,-4.982],[0.35,6.133],[1.089,5.901],[1.831,1.782],[2.441,1.462],[10.785,5.267]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.125,0.13300000359,0.144999994016,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[28.161,86.796],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"Eye/warning_wump_dark Outlines","parent":16,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[70.953,31.661,0],"ix":2},"a":{"a":0,"k":[5,5,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":31,"s":[100,39,100],"e":[100,100,100]},{"t":34}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.357,0],[0,0],[0,-2.357],[0,0],[-2.358,0],[0,0],[0,2.357],[0,0]],"o":[[0,0],[-2.358,0],[0,0],[0,2.357],[0,0],[2.357,0],[0,0],[0,-2.357]],"v":[[0.214,-4.5],[-0.214,-4.5],[-4.5,-0.214],[-4.5,0.214],[-0.214,4.5],[0.214,4.5],[4.5,0.214],[4.5,-0.214]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.125,0.13300000359,0.144999994016,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[4.75,4.75],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":31,"op":55,"st":24,"bm":0},{"ddd":0,"ind":9,"ty":4,"nm":"Blink/warning_wump_dark Outlines","parent":16,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[70.953,31.161,0],"ix":2},"a":{"a":0,"k":[10.5,9,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":14,"s":[100,39,100],"e":[100,100,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":15,"s":[100,100,100],"e":[100,100,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":29,"s":[100,100,100],"e":[100,70,100]},{"t":32}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[4.606,-3.56],[-5.165,1.047],[5.165,3.56]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.125,0.13300000359,0.144999994016,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":2,"lj":2,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[10.165,8.559],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":14,"op":32,"st":-6,"bm":0},{"ddd":0,"ind":10,"ty":4,"nm":"Eye/warning_wump_dark Outlines","parent":16,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[70.953,31.661,0],"ix":2},"a":{"a":0,"k":[5,5,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":13,"s":[100,100,100],"e":[100,70,100]},{"t":14}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.357,0],[0,0],[0,-2.357],[0,0],[-2.358,0],[0,0],[0,2.357],[0,0]],"o":[[0,0],[-2.358,0],[0,0],[0,2.357],[0,0],[2.357,0],[0,0],[0,-2.357]],"v":[[0.214,-4.5],[-0.214,-4.5],[-4.5,-0.214],[-4.5,0.214],[-0.214,4.5],[0.214,4.5],[4.5,0.214],[4.5,-0.214]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.125,0.13300000359,0.144999994016,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[4.75,4.75],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":15,"st":-4,"bm":0},{"ddd":0,"ind":11,"ty":4,"nm":"Tail Outlines 2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":4,"s":[0],"e":[-7]},{"i":{"x":[0.358],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p358_1_0p333_0"],"t":13,"s":[-7],"e":[16.254]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.62],"y":[0]},"n":["0p667_1_0p62_0"],"t":24,"s":[16.254],"e":[-7]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":35,"s":[-7],"e":[3]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":42,"s":[3],"e":[-2]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":48,"s":[-2],"e":[0]},{"t":54}],"ix":10},"p":{"a":0,"k":[166.409,148.271,0],"ix":2},"a":{"a":0,"k":[0,29,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.049,0],[0.197,-0.015],[0.898,-3.082],[0,0],[-0.094,-0.093],[-0.383,0.11],[0,0],[-0.243,3.201],[1.601,1.601]],"o":[[-0.196,0],[-3.202,0.244],[0,0],[-0.112,0.381],[0.093,0.094],[0,0],[3.083,-0.899],[0.172,-2.258],[-1.46,-1.46]],"v":[[1.618,-9.443],[1.027,-9.421],[-5.827,-3.86],[-9.406,8.411],[-9.219,9.145],[-8.486,9.333],[3.786,5.754],[9.346,-1.101],[7.098,-7.172]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.447000002394,0.463000009574,0.490000017952,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[14.518,14.443],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.1254902035,0.133333340287,0.145098045468,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":4,"ix":5},"lc":2,"lj":2,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":13,"ty":4,"nm":"Wires Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[127.835,200.82,0],"ix":2},"a":{"a":0,"k":[10,97,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.28,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p28_1_0p333_0","0p667_1_0p333_0"],"t":0,"s":[100,100,100],"e":[100,104,100]},{"i":{"x":[0.667,0.502,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.69,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p502_1_0p69_0","0p667_1_0p333_0"],"t":9,"s":[100,104,100],"e":[100,98,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.405,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p405_0","0p667_1_0p333_0"],"t":19,"s":[100,98,100],"e":[100,102.119,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":30,"s":[100,102.119,100],"e":[100,99.421,100]},{"i":{"x":[0.667,0.596,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p596_1_0p333_0","0p667_1_0p333_0"],"t":36,"s":[100,99.421,100],"e":[100,100,100]},{"t":40}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.124,0.336],[0.515,-0.193],[-0.192,-0.517],[-0.563,-16.565],[0.121,1.408],[0.088,0.24],[0.518,-0.19],[-0.191,-0.518],[3.215,-36.749],[6.981,-11.601],[-0.474,-0.285],[-0.175,0],[-0.188,0.312],[-2.259,5.483],[0.14,-0.715],[1.577,-5.301],[-0.529,-0.157],[-0.094,0],[-0.129,0.434],[-0.935,10.633]],"o":[[-0.193,-0.519],[-0.518,0.192],[0.08,0.216],[0.057,1.665],[-1.782,-20.657],[-0.192,-0.518],[-0.518,0.191],[0.124,0.338],[-2.561,10.575],[-0.285,0.473],[0.161,0.097],[0.339,0],[3.398,-5.648],[0.278,-0.674],[-0.999,5.077],[-0.158,0.529],[0.095,0.029],[0.432,0],[3.559,-11.957],[7.965,-33.188]],"v":[[2.773,-43.727],[1.487,-44.315],[0.898,-43.03],[5.312,-15.47],[4.145,-15.147],[-2.414,-49.247],[-3.698,-49.838],[-4.29,-48.555],[2.105,14.961],[-11.765,48.512],[-11.424,49.885],[-10.91,50.028],[-10.052,49.544],[-1.615,32.816],[-0.468,33.16],[-4.31,48.743],[-3.637,49.986],[-3.352,50.028],[-2.394,49.313],[4.085,15.244]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.125,0.13300000359,0.144999994016,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[12.3,50.278],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":16,"ty":4,"nm":"Wumpus Head Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":65.5,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":3,"s":[157.25],"e":[155.25]},{"i":{"x":[0.331],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p331_1_0p333_0"],"t":10,"s":[155.25],"e":[161.25]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.666],"y":[0]},"n":["0p667_1_0p666_0"],"t":22,"s":[161.25],"e":[156.285]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":34,"s":[156.285],"e":[158.25]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":39.993,"s":[158.25],"e":[157.25]},{"t":47}],"ix":4}},"a":{"a":0,"k":[59.919,36.149,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":0,"s":[100,100,100],"e":[100,100,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":14,"s":[100,100,100],"e":[102,98,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":22,"s":[102,98,100],"e":[100,100,100]},{"t":30}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[4.419,0],[0,0],[0,-0.552],[-0.552,0],[0,0],[1.043,-4.336],[0.577,-0.75],[5.49,0],[0,0],[2.809,5.514],[-2.045,-0.518],[-1.604,0],[0,0],[0,10.493],[0,0],[4.528,0],[0,0],[0,-0.552],[-0.552,0],[0,0],[0,-3.424],[0,0],[9.389,0],[0,0],[0,9.389],[0,0],[-3.424,0],[0,0],[0,0.552],[0.552,0],[0,0],[0.706,1.812],[0,0],[-9.388,0],[0,0],[-1.73,-7.55],[0.981,0],[0,0],[0,-0.552],[-0.552,0],[0,0],[0,-4.418]],"o":[[0,4.418],[0,0],[-0.552,0],[0,0.552],[0,0],[4.459,0],[-0.313,1.299],[-3.108,4.038],[0,0],[-6.602,0],[-0.957,-1.88],[1.488,0.377],[0,0],[10.494,0],[0,0],[0,-4.528],[0,0],[-0.552,0],[0,0.552],[0,0],[3.425,0],[0,0],[0,9.389],[0,0],[-9.389,0],[0,0],[0,-3.423],[0,0],[0.552,0],[0,-0.552],[0,0],[-1.945,-0.023],[0,0],[0,-9.389],[0,0],[8.068,0],[0.219,0.957],[0,0],[-0.552,0],[0,0.552],[0,0],[4.419,0],[0,0]],"v":[[57.669,5.566],[49.669,13.566],[35.068,13.566],[34.068,14.566],[35.068,15.566],[39.717,15.566],[46.512,24.055],[45.197,27.26],[31.717,33.9],[-32.975,33.9],[-48.109,24.598],[-45.32,21.124],[-40.669,21.701],[-21.469,21.701],[-2.469,2.701],[-2.469,-5.101],[-10.667,-13.299],[-21.469,-13.299],[-22.469,-12.299],[-21.469,-11.299],[-10.669,-11.299],[-4.469,-5.1],[-4.469,2.701],[-21.469,19.701],[-40.669,19.701],[-57.669,2.701],[-57.669,-5.101],[-51.469,-11.299],[-33.021,-11.299],[-32.021,-12.299],[-33.021,-13.299],[-45.426,-13.451],[-49.812,-16.486],[-49.975,-16.9],[-32.975,-33.9],[31.717,-33.9],[48.281,-20.699],[46.764,-18.833],[35.068,-18.833],[34.068,-17.833],[35.068,-16.833],[49.669,-16.833],[57.669,-8.833]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[2.548,0.243],[9.84,0],[0,0],[0,-10.493],[0,0],[0,-4.35],[0,0],[-4.689,-3.463],[-10.113,0],[0,0],[0,10.494],[0,0],[0,5.16],[0,0]],"o":[[-1.63,-1.795],[-0.949,-9.594],[0,0],[-10.493,0],[0,0],[-4.285,0.263],[0,0],[0,6.263],[0.563,9.975],[0,0],[10.493,0],[0,0],[5.022,-0.526],[0,0],[0,-4.249]],"v":[[57.064,-15.542],[50.622,-18.786],[31.717,-35.9],[-32.975,-35.9],[-51.975,-16.9],[-51.975,-13.273],[-59.669,-5.101],[-59.669,2.701],[-51.919,17.975],[-32.975,35.9],[31.717,35.9],[50.717,16.9],[50.717,15.51],[59.669,5.566],[59.669,-8.833]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.125,0.13300000359,0.144999994016,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[59.918,36.149],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-1.616],[1.616,0],[0,0],[0,1.616],[-1.617,0],[0,0]],"o":[[0,1.616],[0,0],[-1.617,0],[0,-1.616],[0,0],[1.616,0]],"v":[[9.807,5.813],[6.868,8.751],[0.992,8.751],[-1.947,5.813],[0.992,2.874],[6.868,2.874]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,1.616],[-1.617,0],[0,0],[0,-1.616],[1.616,0],[0,0]],"o":[[0,-1.616],[0,0],[1.616,0],[0,1.616],[0,0],[-1.617,0]],"v":[[-16.02,5.813],[-13.081,2.874],[-9.555,2.874],[-6.617,5.813],[-9.555,8.751],[-13.081,8.751]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,0],[0.553,0],[0,0],[0,-3.418],[0,0],[-9.374,0],[0,0],[0,7.853],[0,0],[2.127,1.255],[0,0],[0,0.552]],"o":[[0,0.552],[0,0],[-3.419,0],[0,0],[0,9.374],[0,0],[7.049,-2.444],[0,0],[0,-2.636],[0,0],[-0.553,0],[0,0]],"v":[[2.747,-16],[1.747,-15],[-16.699,-15],[-22.9,-8.801],[-22.9,-1],[-5.9,16],[10.747,16],[22.9,-1],[22.9,-8.8],[19.335,-15],[13.301,-15],[12.301,-16]],"c":true},"ix":2},"nm":"Path 3","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.725,0.732999973671,0.745000023935,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[25.151,39.85],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":4,"cix":2,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,-0.552],[0,0],[-0.552,0],[0,0],[0,2.761],[0,0],[2.761,0]],"o":[[-0.552,0],[0,0],[0,0.552],[0,0],[2.761,0],[0,0],[0,-2.762],[0,0]],"v":[[-5.8,-11.2],[-6.8,-10.2],[-6.8,10.2],[-5.8,11.2],[1.8,11.2],[6.8,6.2],[6.8,-6.2],[1.8,-11.2]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.310000011968,0.328999986836,0.361000001197,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[103.787,34.517],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":2,"cix":2,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[7.049,-2.444],[0,0],[0,9.374],[0,0],[0,0]],"o":[[0,7.853],[0,0],[9.374,0],[0,0],[0,0],[0,0]],"v":[[1.577,-7.833],[-10.577,9.167],[-6.424,9.167],[10.577,-7.833],[10.577,-9.167],[1.577,-9.167]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.310000011968,0.328999986836,0.361000001197,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[98.059,60.883],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 4","np":2,"cix":2,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.757,-7.007],[0,0],[8.72,0],[0,0]],"o":[[0,0],[-0.964,-8.465],[0,0],[6.462,2.24]],"v":[[1.527,7.533],[10.518,7.533],[-6.365,-7.533],[-10.518,-7.533]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.310000011968,0.328999986836,0.361000001197,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[98,9.783],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 5","np":2,"cix":2,"ix":5,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,1.616],[1.616,0],[0,0],[0,-1.617],[-1.617,0]],"o":[[1.616,0],[0,-1.617],[0,0],[-1.617,0],[0,1.616],[0,0]],"v":[[1.763,2.939],[4.702,0.001],[1.763,-2.939],[-1.763,-2.939],[-4.702,0.001],[-1.763,2.939]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.447000002394,0.463000009574,0.490000017952,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[13.832,45.663],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 6","np":2,"cix":2,"ix":6,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,1.616],[1.616,0],[0,0],[0,-1.617],[-1.617,0]],"o":[[1.616,0],[0,-1.617],[0,0],[-1.617,0],[0,1.616],[0,0]],"v":[[2.939,2.939],[5.878,0.001],[2.939,-2.939],[-2.939,-2.939],[-5.878,0.001],[-2.939,2.939]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.447000002394,0.463000009574,0.490000017952,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[29.081,45.663],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 7","np":2,"cix":2,"ix":7,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.411,0],[0,0],[0,0.552],[-0.552,0],[0,0],[6.462,2.24],[0,0],[0,-9.374],[0,0],[0,0],[0,-0.553],[0,0],[-0.552,0],[0,0],[0,-4.521],[0,0],[10.477,0],[0,0],[2.706,1.484],[-8.533,0],[0,0],[0,7.853],[0,0],[0,0],[0,0.552],[-0.552,0],[0,0],[0,4.411],[0,0]],"o":[[0,0],[-0.552,0],[0,-0.552],[0,0],[-0.757,-7.007],[0,0],[-9.374,0],[0,0],[0,0],[0.552,0],[0,0],[0,-0.553],[0,0],[4.522,0],[0,0],[0,10.476],[0,0],[-3.297,0],[1.202,8.205],[0,0],[7.048,-2.443],[0,0],[0,0],[-0.552,0],[0,-0.552],[0,0],[4.411,0],[0,0],[0,-4.411]],"v":[[45.822,-16.834],[31.22,-16.834],[30.22,-17.834],[31.22,-18.834],[35.761,-18.834],[23.717,-33.9],[-36.822,-33.9],[-53.822,-16.9],[-53.822,-13.299],[-36.868,-13.299],[-35.868,-12.299],[-26.316,-12.299],[-25.316,-13.299],[-14.516,-13.299],[-6.316,-5.101],[-6.316,2.701],[-25.316,21.701],[-44.516,21.701],[-53.62,19.369],[-36.822,33.9],[23.717,33.9],[35.87,16.9],[35.87,15.566],[31.22,15.566],[30.22,14.566],[31.22,13.566],[45.822,13.566],[53.822,5.566],[53.822,-8.834]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.447000002394,0.463000009574,0.490000017952,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[63.765,36.15],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 8","np":2,"cix":2,"ix":8,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[7.049,-2.443],[0,0],[0,9.374],[0,0],[3.419,0],[0,0],[0,-2.635],[0,0]],"o":[[0,0],[9.374,0],[0,0],[0,-3.419],[0,0],[2.127,1.255],[0,0],[0,7.853]],"v":[[-9.777,15.5],[-7.223,15.5],[9.777,-1.5],[9.777,-9.3],[3.576,-15.5],[-1.189,-15.5],[2.378,-9.3],[2.378,-1.5]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.447000002394,0.463000009574,0.490000017952,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[45.674,40.35],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 9","np":2,"cix":2,"ix":9,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":17,"ty":4,"nm":"Wumpus Body Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[112.51,170.723,0],"ix":2},"a":{"a":0,"k":[76.427,31.074,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.488,3.801],[3.168,0],[0,0],[0,0],[11.648,0],[0,0],[4.865,0.015],[-0.902,-0.649],[0.068,0.129],[0,0],[0,-10.544],[0,0],[0.82,0],[0,0.821],[0,0],[0.553,0],[0,-0.552],[0,0],[-0.551,0],[0,0],[-0.214,-2.199],[2.474,0],[0,0],[0,2.659],[0,0],[0.553,0],[0,-0.552],[0,0],[-1.962,-1.197],[-1.295,0],[0,0]],"o":[[-0.403,-3.141],[0,0],[0,0],[0,-11.647],[0,0],[-0.014,-0.015],[-1.112,-0.003],[0.118,0.085],[0,0],[10.544,0],[0,0],[0,0.821],[-0.822,0],[0,0],[0,-0.552],[-0.552,0],[0,0],[0,0.552],[0,0],[2.21,0],[0.246,2.523],[0,0],[-2.659,0],[0,0],[0,-0.552],[-0.552,0],[0,0],[0,2.462],[1.032,0.631],[0,0],[3.707,0]],"v":[[51.728,23.77],[45.331,18.359],[36.435,18.359],[36.435,-9.687],[15.345,-30.777],[-13.443,-30.777],[-50.591,-30.82],[-51.314,-28.732],[-51.213,-28.777],[15.344,-28.777],[34.435,-9.686],[34.435,16.872],[32.95,18.359],[31.463,16.872],[31.463,15.501],[30.463,14.501],[29.463,15.501],[29.463,19.359],[30.463,20.359],[45.36,20.359],[49.76,24.169],[45.548,28.824],[9.859,28.824],[5.044,24.01],[5.044,6.568],[4.044,5.568],[3.044,6.568],[3.044,24.01],[6.324,29.824],[9.859,30.824],[45.548,30.824]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.125,0.13300000359,0.144999994016,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[100.388,31.073],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.659,0],[0,0],[0.171,2.24],[-0.007,0.165],[-2.138,0],[0,0],[0.274,-0.567],[0,-0.969],[-0.477,-0.878]],"o":[[0,0],[-2.247,0],[-0.013,-0.169],[0.086,-2.136],[0,0],[0.63,0],[-0.397,0.818],[0,1.068],[0.314,0.579]],"v":[[-28.067,4.079],[-42.181,4.079],[-46.603,0.177],[-46.612,-0.325],[-42.485,-4.079],[-28.226,-4.079],[-27.459,-2.857],[-28.079,-0.153],[-27.329,2.798]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0.553,0],[0,0],[0.171,2.24],[-1.658,0.661],[0,0],[0,0.552],[0.552,0],[0,0],[-0.274,-2.596],[-3.167,0],[0,0],[0,0.552]],"o":[[0,0],[-2.247,0],[-0.147,-1.922],[0,0],[0.552,0],[0,-0.552],[0,0],[-5.041,0],[0.332,3.149],[0,0],[0.553,0],[0,-0.552]],"v":[[47.836,4.079],[-20.644,4.079],[-25.066,0.177],[-22.407,-4.079],[11.052,-4.079],[12.052,-5.079],[11.052,-6.079],[-42.67,-6.079],[-48.562,0.67],[-42.162,6.079],[47.836,6.079],[48.836,5.079]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.125,0.13300000359,0.144999994016,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[49.086,55.818],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":3,"cix":2,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.873,1.073],[0,0],[0,-1.782],[-2.334,0],[0,0],[0,1.635]],"o":[[0,0],[-1.562,0.624],[0,2.334],[0,0],[-1.033,-1.113],[0,-1.488]],"v":[[9.831,-4.079],[-7.432,-4.079],[-10.104,-0.153],[-5.872,4.079],[10.104,4.079],[8.433,-0.153]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.310000011968,0.328999986836,0.361000001197,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[12.574,55.818],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":2,"cix":2,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.334,0],[0,0],[0,0.552],[0,0],[-0.553,0],[0,-0.553],[0,0],[0,0],[0,0],[10.526,0],[0,0],[10.477,0],[0,0],[0,-1.782],[-2.334,0],[0,0],[0,0],[0,-0.552],[0,0],[0,2.462],[0,0],[-0.553,0],[0,-0.552],[0,0],[-2.655,0],[0,0],[0,2.334]],"o":[[0,0],[-0.553,0],[0,0],[0,-0.553],[0.553,0],[0,0],[0,0],[0,0],[0,-10.526],[0,0],[0.753,1.405],[0,0],[-1.562,0.624],[0,2.334],[0,0],[0,0],[0.553,0],[0,0],[-1.962,-1.197],[0,0],[0,-0.552],[0.553,0],[0,0],[0,2.655],[0,0],[2.334,0],[0,-2.334]],"v":[[59.349,19.835],[44.264,19.835],[43.264,18.835],[43.264,14.979],[44.264,13.979],[45.264,14.979],[45.264,17.835],[48.236,17.835],[48.236,-10.21],[29.145,-29.3],[-31.005,-29.3],[-33.087,20.142],[-60.909,20.142],[-63.581,24.068],[-59.348,28.3],[-55.818,28.3],[10.335,28.3],[11.335,29.3],[20.124,29.3],[16.844,23.486],[16.844,6.044],[17.844,5.044],[18.844,6.044],[18.844,23.486],[23.66,28.3],[59.349,28.3],[63.581,24.068]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.310000011968,0.328999986836,0.361000001197,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[86.588,31.597],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 4","np":2,"cix":2,"ix":4,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":18,"ty":4,"nm":"Horn Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[151.65,140.352,0],"ix":2},"a":{"a":0,"k":[102.277,71.956,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.4,0.397,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p4_1_0p333_0","0p397_1_0p333_0","0p667_1_0p333_0"],"t":0,"s":[100,100,100],"e":[95,107,100]},{"i":{"x":[0,0,0.667],"y":[1,1,1]},"o":{"x":[0.577,0.632,0.333],"y":[0,0,0]},"n":["0_1_0p577_0","0_1_0p632_0","0p667_1_0p333_0"],"t":11,"s":[95,107,100],"e":[105,96,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.537,0.535,0.333],"y":[0,0,0]},"n":["0p667_1_0p537_0","0p667_1_0p535_0","0p667_1_0p333_0"],"t":22,"s":[105,96,100],"e":[97.483,102.172,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":30,"s":[97.483,102.172,100],"e":[100.813,99.045,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":36,"s":[100.813,99.045,100],"e":[99.587,100.329,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":42,"s":[99.587,100.329,100],"e":[100,100,100]},{"t":48}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-3.439,8.287],[-5.524,4.546],[-3.389,0],[-1.121,-0.466],[-0.787,-0.705],[0,0],[-0.486,-5.081],[3.44,-8.287],[5.523,-4.546],[4.132,1.714],[0.66,6.896]],"o":[[3.438,-8.287],[3.898,-3.208],[1.261,0],[0.951,0.394],[0,0],[2.438,2.392],[0.683,7.121],[-3.438,8.287],[-5.349,4.402],[-4.129,-1.713],[-0.683,-7.122]],"v":[[-47.048,-13.779],[-33.15,-33.678],[-22.035,-38.542],[-18.451,-37.848],[-15.845,-36.186],[-15.512,-35.876],[-11.025,-24.497],[-15.3,-0.604],[-29.197,19.296],[-43.897,23.465],[-51.323,10.115]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0.529,-1.273],[0,0],[1.268,0.526],[0,0],[0.256,0.618],[-0.254,0.612],[0,0],[0.511,0.212],[0.212,-0.51],[0,0],[2.081,0.253],[0,0],[-1.982,1.622],[-0.023,0.019],[-3.563,8.584],[0.713,7.442],[0,0],[-1.437,-1.336],[0,0],[0.46,-1.111],[-0.511,-0.212],[-0.213,0.511],[0,0],[-1.274,-0.53],[0,0]],"o":[[0,0],[-0.527,1.27],[0,0],[-0.611,-0.254],[-0.255,-0.619],[0,0],[0.212,-0.51],[-0.509,-0.21],[0,0],[-0.803,1.937],[0,0],[-2.542,-0.31],[0.023,-0.019],[5.773,-4.751],[3.562,-8.584],[0,0],[-0.189,-1.955],[0,0],[0.88,0.819],[-0.212,0.51],[0.506,0.21],[0,0],[0.529,-1.274],[0,0],[1.272,0.53]],"v":[[51.229,19.764],[43.593,38.166],[40.332,39.514],[40.068,39.405],[38.723,38.053],[38.721,36.145],[42.627,26.731],[42.086,25.424],[40.779,25.964],[38.872,30.561],[33.993,33.408],[-26.556,26.02],[-27.996,20.898],[-27.927,20.841],[-13.452,0.162],[-9.033,-24.689],[-9.04,-24.758],[-5.465,-26.527],[42.148,17.777],[42.846,20.986],[43.387,22.293],[44.693,21.752],[46.358,17.74],[49.622,16.393],[49.882,16.5]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[2.289,0.95],[0,0],[0.951,-2.289],[0,0],[0,0],[0.129,0.113],[0,0],[0.007,0.006],[1.11,0.46],[5.946,-4.894],[3.563,-8.584],[-0.712,-7.441],[-4.846,-2.011],[-1.42,-0.033],[-0.196,-0.024],[0,0],[-0.408,-0.988],[-1.106,-0.458],[0,0],[-0.573,0],[-0.717,1.727],[0,0]],"o":[[0,0],[-2.285,-0.947],[0,0],[0,0],[-0.125,-0.12],[0,0],[-0.007,-0.006],[-0.917,-0.797],[-4.843,-2.01],[-5.772,4.751],[-3.562,8.584],[0.735,7.667],[1.285,0.533],[0.142,0.117],[0,0],[-0.316,1.002],[0.46,1.112],[0,0],[0.562,0.233],[1.764,-0.001],[0,0],[0.949,-2.289]],"v":[[50.648,14.653],[50.385,14.544],[44.511,16.972],[44.43,17.167],[-14.182,-37.37],[-14.561,-37.723],[-14.624,-37.781],[-14.647,-37.796],[-17.686,-39.695],[-34.421,-35.223],[-48.896,-14.546],[-53.315,10.305],[-44.662,25.313],[-40.592,26.149],[-40.09,26.383],[36.758,35.759],[36.875,38.817],[39.303,41.252],[39.565,41.362],[41.282,41.705],[45.44,38.934],[53.078,20.527]],"c":true},"ix":2},"nm":"Path 3","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.125,0.13300000359,0.144999994016,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[54.277,41.956],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":5,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-4.129,-1.713],[-5.348,4.402],[-3.439,8.287],[0.683,7.121],[2.439,2.392],[0,0],[0.951,0.394],[1.262,0],[3.898,-3.207],[3.438,-8.287],[-0.682,-7.122]],"o":[[4.132,1.714],[5.524,-4.546],[3.439,-8.287],[-0.486,-5.081],[0,0],[-0.787,-0.705],[-1.121,-0.466],[-3.388,0],[-5.524,4.546],[-3.44,8.286],[0.66,6.895]],"v":[[-12.723,30.147],[1.976,25.978],[15.874,6.078],[20.149,-17.816],[15.661,-29.194],[15.329,-29.504],[12.722,-31.166],[9.138,-31.861],[-1.976,-26.998],[-15.874,-7.097],[-20.15,16.797]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.211999990426,0.224000010771,0.243000000598,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[23.103,35.274],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":19,"ty":4,"nm":"blob background Outlines","sr":1,"ks":{"o":{"a":0,"k":30,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[95.735,95.704,0],"ix":2},"a":{"a":0,"k":[95.735,97.454,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-7.611,0],[0,0],[0,-7.612],[0,0],[7.611,0],[0,7.611],[0,0]],"o":[[0,0],[7.611,0],[0,0],[0,7.611],[-7.611,0],[0,0],[0,-7.612]],"v":[[0,-15.439],[0,-15.439],[13.782,-1.657],[13.782,1.658],[0,15.44],[-13.782,1.658],[-13.782,-1.657]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.310000011968,0.328999986836,0.361000001197,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[169.652,48.229],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-5.838,0],[0,0],[0,-5.838],[5.838,0],[0,0],[0,5.838]],"o":[[0,0],[5.838,0],[0,5.838],[0,0],[-5.838,0],[0,-5.838]],"v":[[-30.48,-10.571],[30.48,-10.571],[41.051,-0.001],[30.48,10.57],[-30.48,10.57],[-41.05,-0.001]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.310000011968,0.328999986836,0.361000001197,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[144.384,180.255],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-20.005,0],[0,0],[0,-23.636],[0,0],[-9.578,0],[0,-20.197],[20.197,0],[0,0],[0,0],[0,13.3],[-13.301,0],[0,0],[0,7.776],[0,0],[7.776,0],[0,0],[0,20.006]],"o":[[0,0],[23.635,0],[0,0],[0,9.579],[20.197,0],[0,20.197],[0,0],[0,0],[-13.301,0],[0,-13.301],[0,0],[7.776,0],[0,0],[0,-7.776],[0,0],[-20.005,0],[0,-20.006]],"v":[[-58.511,-77.889],[-1.974,-77.889],[40.823,-35.091],[40.823,-12.592],[58.165,4.751],[94.735,41.32],[58.165,77.889],[38.898,77.889],[-61.256,77.889],[-85.339,53.807],[-61.256,29.724],[-47.948,29.724],[-33.868,15.643],[-33.868,8.638],[-47.948,-5.443],[-58.511,-5.443],[-94.734,-41.665]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.310000011968,0.328999986836,0.361000001197,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[95.735,81.97],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":2,"cix":2,"ix":3,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0}],"markers":[]}')},10316:function(e){e.exports=JSON.parse('{"v":"5.1.1","fr":30,"ip":0,"op":55,"w":200,"h":205,"nm":"warning_wump_light","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"circle Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[100,103.252,0],"ix":2},"a":{"a":0,"k":[100,103.252,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.832,0],[0,-0.833],[-0.832,0],[0,0.832]],"o":[[-0.832,0],[0,0.832],[0.832,0],[0,-0.833]],"v":[[0,-1.51],[-1.51,0.001],[0,1.511],[1.51,0.001]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[1.936,0],[0,1.934],[-1.936,0],[0,-1.936]],"o":[[-1.936,0],[0,-1.936],[1.936,0],[0,1.934]],"v":[[0,3.511],[-3.51,0.001],[0,-3.51],[3.51,0.001]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.725,0.732999973671,0.745000023935,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[165.635,79.535],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"mid sparkle Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":0,"s":[0],"e":[90]},{"t":54}],"ix":10},"p":{"a":0,"k":[84.606,25.658,0],"ix":2},"a":{"a":0,"k":[84.606,25.658,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.256,0],[0.195,0.195],[-0.391,0.391],[0,0],[-0.391,-0.39],[0.39,-0.39],[0,0]],"o":[[-0.256,0],[-0.391,-0.391],[0,0],[0.39,-0.39],[0.39,0.391],[0,0],[-0.195,0.195]],"v":[[-0.591,1.641],[-1.298,1.348],[-1.298,-0.066],[-0.115,-1.251],[1.3,-1.251],[1.3,0.164],[0.116,1.348]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.725,0.732999973671,0.745000023935,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[87.564,22.651],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.256,0],[0.195,0.195],[-0.391,0.391],[0,0],[-0.391,-0.39],[0.39,-0.39],[0,0]],"o":[[-0.256,0],[-0.391,-0.391],[0,0],[0.39,-0.39],[0.39,0.391],[0,0],[-0.195,0.195]],"v":[[-0.591,1.64],[-1.298,1.347],[-1.298,-0.067],[-0.115,-1.25],[1.299,-1.25],[1.299,0.164],[0.116,1.347]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.725,0.732999973671,0.745000023935,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[81.648,28.567],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.256,0],[0.195,0.195],[0,0],[-0.39,0.391],[-0.39,-0.39],[0,0],[0.391,-0.391]],"o":[[-0.256,0],[0,0],[-0.39,-0.389],[0.391,-0.39],[0,0],[0.391,0.39],[-0.195,0.195]],"v":[[0.592,1.64],[-0.116,1.347],[-1.3,0.164],[-1.3,-1.25],[0.115,-1.25],[1.298,-0.067],[1.298,1.347]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.725,0.732999973671,0.745000023935,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[87.565,28.567],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":2,"cix":2,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.256,0],[0.195,0.195],[0,0],[-0.39,0.39],[-0.39,-0.39],[0,0],[0.391,-0.39]],"o":[[-0.256,0],[0,0],[-0.39,-0.39],[0.391,-0.39],[0,0],[0.391,0.391],[-0.195,0.195]],"v":[[0.591,1.641],[-0.116,1.348],[-1.299,0.164],[-1.299,-1.251],[0.115,-1.251],[1.298,-0.066],[1.298,1.348]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.725,0.732999973671,0.745000023935,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[81.648,22.651],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 4","np":2,"cix":2,"ix":4,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"l sparkle Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":0,"s":[0],"e":[90]},{"t":54}],"ix":10},"p":{"a":0,"k":[20.178,58.191,0],"ix":2},"a":{"a":0,"k":[20.178,58.191,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.552,0],[0,0],[0,0.828],[0,0],[0.552,0],[0,-0.552],[0,0],[0.828,0],[0,0],[0,-0.552],[-0.552,0],[0,0],[0,-0.828],[0,0],[-0.553,0],[0,0.551],[0,0],[-0.828,0],[0,0],[0,0.553]],"o":[[0,0],[-0.828,0],[0,0],[0,-0.552],[-0.553,0],[0,0],[0,0.828],[0,0],[-0.552,0],[0,0.553],[0,0],[0.828,0],[0,0],[0,0.551],[0.552,0],[0,0],[0,-0.828],[0,0],[0.552,0],[0,-0.552]],"v":[[2.51,-1.001],[2.501,-1.001],[1.001,-2.501],[1.001,-2.51],[0.001,-3.51],[-0.999,-2.51],[-0.999,-2.501],[-2.499,-1.001],[-2.51,-1.001],[-3.51,-0.001],[-2.51,0.999],[-2.499,0.999],[-0.999,2.499],[-0.999,2.51],[0.001,3.51],[1.001,2.51],[1.001,2.499],[2.501,0.999],[2.51,0.999],[3.51,-0.001]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.725,0.732999973671,0.745000023935,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[20.178,58.191],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"r sparkle Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":0,"s":[0],"e":[90]},{"t":54}],"ix":10},"p":{"a":0,"k":[183.434,42.191,0],"ix":2},"a":{"a":0,"k":[183.434,42.191,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.553,0],[0,0],[0,0.828],[0,0],[0.553,0],[0,-0.552],[0,0],[0.829,0],[0,0],[0,-0.552],[-0.552,0],[0,0],[0,-0.828],[0,0],[-0.552,0],[0,0.551],[0,0],[-0.828,0],[0,0],[0,0.553]],"o":[[0,0],[-0.828,0],[0,0],[0,-0.552],[-0.552,0],[0,0],[0,0.828],[0,0],[-0.552,0],[0,0.553],[0,0],[0.829,0],[0,0],[0,0.551],[0.553,0],[0,0],[0,-0.828],[0,0],[0.553,0],[0,-0.552]],"v":[[2.51,-1.001],[2.499,-1.001],[0.999,-2.501],[0.999,-2.51],[-0.001,-3.51],[-1.001,-2.51],[-1.001,-2.501],[-2.501,-1.001],[-2.511,-1.001],[-3.511,-0.001],[-2.511,0.999],[-2.501,0.999],[-1.001,2.499],[-1.001,2.51],[-0.001,3.51],[0.999,2.51],[0.999,2.499],[2.499,0.999],[2.51,0.999],[3.51,-0.001]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.725,0.732999973671,0.745000023935,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[183.434,42.191],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"big bolt Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":33,"s":[100],"e":[0]},{"t":39}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[99,88.752,0],"ix":2},"a":{"a":0,"k":[99,88.752,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":14,"s":[0,0,100],"e":[101.882,102.079,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":18,"s":[101.882,102.079,100],"e":[90,90,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":21,"s":[90,90,100],"e":[100,100,100]},{"t":24}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.261,-0.024],[0.21,0.168],[-0.345,0.431],[0,0],[-0.278,0.034],[-0.205,-0.181],[0,0],[-1.464,3.955],[0,0],[1.389,-1.836],[0,0],[0.275,-0.029],[0.209,0.181],[0,0],[0.66,-2.047],[0,0],[0.523,0.167],[-0.169,0.525],[0,0],[-0.323,0.09],[-0.253,-0.22],[0,0],[-1.046,1.384],[0,0],[-0.436,-0.238],[0.173,-0.464],[0,0],[0.32,-0.081],[0.249,0.22],[0,0],[1.069,-1.345],[0,0]],"o":[[-0.248,0.023],[-0.432,-0.344],[0,0],[0.171,-0.215],[0.273,-0.024],[0,0],[3.16,2.793],[0,0],[0.799,-2.158],[0,0],[-0.168,0.22],[-0.284,0.039],[0,0],[-1.626,-1.408],[0,0],[-0.169,0.526],[-0.526,-0.169],[0,0],[0.102,-0.319],[0.325,-0.091],[0,0],[1.311,1.136],[0,0],[0.301,-0.396],[0.434,0.238],[0,0],[-0.114,0.309],[-0.317,0.082],[0,0],[-1.287,-1.138],[0,0],[-0.176,0.222]],"v":[[-32.511,44.29],[-33.226,44.077],[-33.386,42.674],[-8.593,11.495],[-7.897,11.121],[-7.147,11.368],[0.242,17.903],[9.845,15.49],[24.64,-24.508],[21.169,-26.408],[1.052,0.179],[0.359,0.569],[-0.4,0.332],[-10.522,-8.436],[-15.343,-7.087],[-21.754,12.839],[-23.011,13.484],[-23.657,12.227],[-15.392,-13.459],[-14.711,-14.114],[-13.787,-13.908],[-2.321,-3.979],[2.035,-4.437],[31.822,-43.802],[33.101,-44.076],[33.558,-42.852],[8.174,25.77],[7.48,26.393],[6.573,26.171],[-5.315,15.658],[-9.65,16.038],[-31.822,43.918]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.725,0.732999973671,0.745000023935,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[132.014,46.198],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"medium bolt Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":16,"s":[0],"e":[100]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":19,"s":[100],"e":[100]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":35,"s":[100],"e":[0]},{"t":41}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":8,"s":[114.16],"e":[55.723]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"n":["0p833_1_0p167_0"],"t":27,"s":[55.723],"e":[55.723]},{"t":40}],"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":8,"s":[142.993],"e":[34.4]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"n":["0p833_1_0p167_0"],"t":27,"s":[34.4],"e":[34.4]},{"t":40}],"ix":4}},"a":{"a":0,"k":[50.12,38.491,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":17,"s":[24.973,25.021,100],"e":[99.893,100.085,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":20,"s":[99.893,100.085,100],"e":[99.893,100.085,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":37,"s":[99.893,100.085,100],"e":[0,0,100]},{"t":40}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.892,-0.97],[0,0],[0.455,1.035],[0,0],[-0.495,0.229],[0,0],[0.966,0.987],[0,0],[-0.403,-1.014],[0,0],[0.455,-0.237],[0,0]],"o":[[0,0],[0.765,0.832],[0,0],[-0.219,-0.499],[0,0],[1.254,-0.58],[0,0],[-0.764,-0.78],[0,0],[0.189,0.476],[0,0],[-1.17,0.607]],"v":[[-8.878,2.781],[1.945,14.553],[3.596,13.473],[-0.492,4.18],[0.005,2.87],[7.99,-0.826],[8.579,-4.04],[-3.301,-16.18],[-4.945,-15.113],[-0.995,-5.167],[-1.463,-3.91],[-8.327,-0.348]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0.189,0],[0.196,0.213],[0,0],[-0.054,0.307],[-0.276,0.144],[0,0],[0,0],[-0.399,0.26],[-0.333,-0.34],[0,0],[0.059,-0.32],[0.295,-0.137],[0,0],[0,0],[0.409,-0.267]],"o":[[-0.272,0],[0,0],[-0.211,-0.229],[0.054,-0.306],[0,0],[0,0],[-0.176,-0.444],[0.4,-0.26],[0,0],[0.227,0.232],[-0.059,0.32],[0,0],[0,0],[0.197,0.447],[-0.168,0.111]],"v":[[9.363,25.096],[8.626,24.773],[-13.005,1.249],[-13.253,0.398],[-12.73,-0.316],[-3.188,-5.27],[-10.479,-23.628],[-10.094,-24.835],[-8.835,-24.697],[12.98,-2.402],[13.249,-1.521],[12.685,-0.794],[1.734,4.273],[10.277,23.693],[9.91,24.932]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.725,0.732999973671,0.745000023935,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[50.122,38.441],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[12.267,-1.752],[0.426,3.728],[9.364,24.047],[-12.267,0.522],[-1.922,-4.848],[-9.547,-24.047]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.862999949736,0.866999966491,0.870999983245,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[50.12,38.491],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":7,"ty":4,"nm":"small bolt Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":0,"s":[0],"e":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":14,"s":[0],"e":[100]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":17,"s":[100],"e":[100]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":32,"s":[100],"e":[0]},{"t":38}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":1,"k":[{"i":{"x":[0.579],"y":[1]},"o":{"x":[0.702],"y":[-0.011]},"n":["0p579_1_0p702_-0p011"],"t":5,"s":[107.048],"e":[34.625]},{"t":24}],"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.579],"y":[1]},"o":{"x":[0.702],"y":[-0.029]},"n":["0p579_1_0p702_-0p029"],"t":5,"s":[109.726],"e":[81.702]},{"t":24}],"ix":4}},"a":{"a":0,"k":[28.161,86.796,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":15,"s":[24.973,25.021,100],"e":[99.893,100.085,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":18,"s":[99.893,100.085,100],"e":[99.893,100.085,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":33,"s":[99.893,100.085,100],"e":[0,0,100]},{"t":36}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[-0.396,0.207],[-0.406,-0.186],[0,0],[0,0],[0,0],[0.396,-0.207],[0.406,0.186]],"o":[[0,0],[0,0],[0.08,-0.441],[0.396,-0.207],[0,0],[0,0],[0,0],[-0.081,0.44],[-0.397,0.207],[0,0]],"v":[[-6.74,-2.275],[0.295,4.715],[0.846,1.651],[1.595,0.632],[2.858,0.599],[6.74,2.37],[-0.294,-4.621],[-0.845,-1.556],[-1.594,-0.538],[-2.857,-0.504]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0.104,5.771],[0.104,5.772]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0.145,0],[0.274,0.273],[0,0],[-0.059,0.324],[0,0],[-0.274,0.143],[-0.28,-0.127],[0,0],[0,0],[-0.511,0.161],[-0.38,-0.377],[0,0],[0.058,-0.323],[0,0],[0.274,-0.144],[0.282,0.13],[0,0],[0,0],[0.511,-0.162]],"o":[[-0.374,0],[0,0],[-0.233,-0.233],[0,0],[0.055,-0.304],[0.273,-0.142],[0,0],[0,0],[0.096,-0.527],[0.511,-0.161],[0,0],[0.232,0.231],[0,0],[-0.054,0.303],[-0.273,0.144],[0,0],[0,0],[-0.094,0.527],[-0.143,0.045]],"v":[[0.657,7.308],[-0.355,6.889],[-11.54,-4.225],[-11.819,-5.113],[-11.768,-5.396],[-11.247,-6.105],[-10.369,-6.129],[-2.686,-2.625],[-2.073,-6.031],[-1.09,-7.147],[0.355,-6.795],[11.541,4.32],[11.82,5.205],[11.769,5.49],[11.249,6.199],[10.37,6.223],[2.686,2.719],[2.073,6.125],[1.091,7.241]],"c":true},"ix":2},"nm":"Path 3","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.725,0.732999973671,0.745000023935,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[28.16,86.749],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0.063,-0.347],[0,0],[0.259,0.118],[0,0],[0,0],[0,0],[-0.062,0.347],[0,0],[-0.259,-0.118],[0,0]],"o":[[0,0],[-0.25,-0.249],[0,0],[-0.05,0.281],[0,0],[0,0],[0,0],[0.25,0.249],[0,0],[0.05,-0.281],[0,0],[0,0]],"v":[[10.835,4.982],[-0.351,-6.133],[-1.089,-5.9],[-1.831,-1.781],[-2.441,-1.46],[-10.785,-5.266],[-10.835,-4.982],[0.35,6.133],[1.089,5.901],[1.831,1.782],[2.441,1.461],[10.785,5.266]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.725,0.732999973671,0.745000023935,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[28.161,86.796],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"Eye/warning_wump_light Outlines","parent":13,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[70.953,31.661,0],"ix":2},"a":{"a":0,"k":[5,5,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":31,"s":[100,39,100],"e":[100,100,100]},{"t":34}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.357,0],[0,0],[0,-2.357],[0,0],[-2.358,0],[0,0],[0,2.357],[0,0]],"o":[[0,0],[-2.358,0],[0,0],[0,2.357],[0,0],[2.357,0],[0,0],[0,-2.357]],"v":[[0.214,-4.5],[-0.214,-4.5],[-4.5,-0.214],[-4.5,0.214],[-0.214,4.5],[0.214,4.5],[4.5,0.214],[4.5,-0.214]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.725,0.732999973671,0.745000023935,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[4.75,4.75],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":31,"op":55,"st":24,"bm":0},{"ddd":0,"ind":9,"ty":4,"nm":"Blink/warning_wump_light Outlines","parent":13,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[70.953,31.161,0],"ix":2},"a":{"a":0,"k":[10.5,9,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":14,"s":[100,39,100],"e":[100,100,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":15,"s":[100,100,100],"e":[100,100,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":29,"s":[100,100,100],"e":[100,70,100]},{"t":32}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[4.606,-3.56],[-5.165,1.047],[5.165,3.56]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.725,0.732999973671,0.745000023935,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":2,"lj":2,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[10.165,8.559],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":14,"op":32,"st":-6,"bm":0},{"ddd":0,"ind":10,"ty":4,"nm":"Eye/warning_wump_light Outlines","parent":13,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[70.953,31.661,0],"ix":2},"a":{"a":0,"k":[5,5,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":13,"s":[100,100,100],"e":[100,70,100]},{"t":14}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.357,0],[0,0],[0,-2.357],[0,0],[-2.358,0],[0,0],[0,2.357],[0,0]],"o":[[0,0],[-2.358,0],[0,0],[0,2.357],[0,0],[2.357,0],[0,0],[0,-2.357]],"v":[[0.214,-4.5],[-0.214,-4.5],[-4.5,-0.214],[-4.5,0.214],[-0.214,4.5],[0.214,4.5],[4.5,0.214],[4.5,-0.214]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.725,0.732999973671,0.745000023935,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[4.75,4.75],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":15,"st":-4,"bm":0},{"ddd":0,"ind":11,"ty":4,"nm":"Tail Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":4,"s":[0],"e":[-7]},{"i":{"x":[0.358],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p358_1_0p333_0"],"t":13,"s":[-7],"e":[16.254]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.62],"y":[0]},"n":["0p667_1_0p62_0"],"t":24,"s":[16.254],"e":[-7]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":35,"s":[-7],"e":[3]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":42,"s":[3],"e":[-2]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":48,"s":[-2],"e":[0]},{"t":54}],"ix":10},"p":{"a":0,"k":[166.409,147.521,0],"ix":2},"a":{"a":0,"k":[0,29,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.049,0],[0.197,-0.015],[0.898,-3.082],[0,0],[-0.094,-0.093],[-0.383,0.11],[0,0],[-0.243,3.201],[1.601,1.601]],"o":[[-0.196,0],[-3.202,0.244],[0,0],[-0.112,0.381],[0.093,0.094],[0,0],[3.083,-0.899],[0.172,-2.258],[-1.46,-1.46]],"v":[[1.618,-9.443],[1.027,-9.421],[-5.827,-3.86],[-9.406,8.411],[-9.219,9.145],[-8.486,9.333],[3.786,5.754],[9.346,-1.101],[7.098,-7.172]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.964999988032,0.964999988032,0.969000004787,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[14.518,14.443],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.72549021244,0.733333349228,0.745098054409,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":4,"ix":5},"lc":2,"lj":2,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":12,"ty":4,"nm":"Wires Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[127.835,200.07,0],"ix":2},"a":{"a":0,"k":[10,97,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.28,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p28_1_0p333_0","0p667_1_0p333_0"],"t":0,"s":[100,100,100],"e":[100,104,100]},{"i":{"x":[0.667,0.502,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.69,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p502_1_0p69_0","0p667_1_0p333_0"],"t":9,"s":[100,104,100],"e":[100,98,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.405,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p405_0","0p667_1_0p333_0"],"t":19,"s":[100,98,100],"e":[100,102.119,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":30,"s":[100,102.119,100],"e":[100,99.421,100]},{"i":{"x":[0.667,0.596,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p596_1_0p333_0","0p667_1_0p333_0"],"t":36,"s":[100,99.421,100],"e":[100,100,100]},{"t":40}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.124,0.336],[0.515,-0.193],[-0.192,-0.517],[-0.563,-16.565],[0.121,1.408],[0.088,0.24],[0.518,-0.19],[-0.191,-0.518],[3.215,-36.749],[6.981,-11.601],[-0.474,-0.285],[-0.175,0],[-0.188,0.312],[-2.259,5.483],[0.14,-0.715],[1.577,-5.301],[-0.529,-0.157],[-0.094,0],[-0.129,0.434],[-0.935,10.633]],"o":[[-0.193,-0.519],[-0.518,0.192],[0.08,0.216],[0.057,1.665],[-1.782,-20.657],[-0.192,-0.518],[-0.518,0.191],[0.124,0.338],[-2.561,10.575],[-0.285,0.473],[0.161,0.097],[0.339,0],[3.398,-5.648],[0.278,-0.674],[-0.999,5.077],[-0.158,0.529],[0.095,0.029],[0.432,0],[3.559,-11.957],[7.965,-33.188]],"v":[[2.773,-43.727],[1.487,-44.315],[0.898,-43.03],[5.312,-15.47],[4.145,-15.147],[-2.414,-49.247],[-3.698,-49.838],[-4.29,-48.555],[2.105,14.961],[-11.765,48.512],[-11.424,49.885],[-10.91,50.028],[-10.052,49.544],[-1.615,32.816],[-0.468,33.16],[-4.31,48.743],[-3.637,49.986],[-3.352,50.028],[-2.394,49.313],[4.085,15.244]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.725,0.732999973671,0.745000023935,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[12.3,50.278],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":13,"ty":4,"nm":"Wumpus Head Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":65.5,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":3,"s":[156.5],"e":[154.5]},{"i":{"x":[0.331],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p331_1_0p333_0"],"t":10,"s":[154.5],"e":[160.5]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.666],"y":[0]},"n":["0p667_1_0p666_0"],"t":22,"s":[160.5],"e":[155.535]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":34,"s":[155.535],"e":[157.5]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":39.993,"s":[157.5],"e":[156.5]},{"t":47}],"ix":4}},"a":{"a":0,"k":[59.919,36.149,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":0,"s":[100,100,100],"e":[100,100,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":14,"s":[100,100,100],"e":[102,98,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":22,"s":[102,98,100],"e":[100,100,100]},{"t":30}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[4.419,0],[0,0],[0,-0.552],[-0.552,0],[0,0],[1.043,-4.336],[0.577,-0.75],[5.49,0],[0,0],[2.809,5.514],[-2.045,-0.518],[-1.604,0],[0,0],[0,10.493],[0,0],[4.528,0],[0,0],[0,-0.552],[-0.552,0],[0,0],[0,-3.424],[0,0],[9.389,0],[0,0],[0,9.389],[0,0],[-3.424,0],[0,0],[0,0.552],[0.552,0],[0,0],[0.706,1.812],[0,0],[-9.388,0],[0,0],[-1.73,-7.55],[0.981,0],[0,0],[0,-0.552],[-0.552,0],[0,0],[0,-4.418]],"o":[[0,4.418],[0,0],[-0.552,0],[0,0.552],[0,0],[4.459,0],[-0.313,1.299],[-3.108,4.038],[0,0],[-6.602,0],[-0.957,-1.88],[1.488,0.377],[0,0],[10.494,0],[0,0],[0,-4.528],[0,0],[-0.552,0],[0,0.552],[0,0],[3.425,0],[0,0],[0,9.389],[0,0],[-9.389,0],[0,0],[0,-3.423],[0,0],[0.552,0],[0,-0.552],[0,0],[-1.945,-0.023],[0,0],[0,-9.389],[0,0],[8.068,0],[0.219,0.957],[0,0],[-0.552,0],[0,0.552],[0,0],[4.419,0],[0,0]],"v":[[57.669,5.566],[49.669,13.566],[35.068,13.566],[34.068,14.566],[35.068,15.566],[39.717,15.566],[46.512,24.055],[45.197,27.26],[31.717,33.9],[-32.975,33.9],[-48.109,24.598],[-45.32,21.124],[-40.669,21.701],[-21.469,21.701],[-2.469,2.701],[-2.469,-5.101],[-10.667,-13.299],[-21.469,-13.299],[-22.469,-12.299],[-21.469,-11.299],[-10.669,-11.299],[-4.469,-5.1],[-4.469,2.701],[-21.469,19.701],[-40.669,19.701],[-57.669,2.701],[-57.669,-5.101],[-51.469,-11.299],[-33.021,-11.299],[-32.021,-12.299],[-33.021,-13.299],[-45.426,-13.451],[-49.812,-16.486],[-49.975,-16.9],[-32.975,-33.9],[31.717,-33.9],[48.281,-20.699],[46.764,-18.833],[35.068,-18.833],[34.068,-17.833],[35.068,-16.833],[49.669,-16.833],[57.669,-8.833]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[2.548,0.243],[9.84,0],[0,0],[0,-10.493],[0,0],[0,-4.35],[0,0],[-4.689,-3.463],[-10.113,0],[0,0],[0,10.494],[0,0],[0,5.16],[0,0]],"o":[[-1.63,-1.795],[-0.949,-9.594],[0,0],[-10.493,0],[0,0],[-4.285,0.263],[0,0],[0,6.263],[0.563,9.975],[0,0],[10.493,0],[0,0],[5.022,-0.526],[0,0],[0,-4.249]],"v":[[57.064,-15.542],[50.622,-18.786],[31.717,-35.9],[-32.975,-35.9],[-51.975,-16.9],[-51.975,-13.273],[-59.669,-5.101],[-59.669,2.701],[-51.919,17.975],[-32.975,35.9],[31.717,35.9],[50.717,16.9],[50.717,15.51],[59.669,5.566],[59.669,-8.833]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.725,0.732999973671,0.745000023935,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[59.918,36.149],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-1.616],[1.616,0],[0,0],[0,1.616],[-1.617,0],[0,0]],"o":[[0,1.616],[0,0],[-1.617,0],[0,-1.616],[0,0],[1.616,0]],"v":[[9.807,5.813],[6.868,8.751],[0.992,8.751],[-1.947,5.813],[0.992,2.874],[6.868,2.874]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,1.616],[-1.617,0],[0,0],[0,-1.616],[1.616,0],[0,0]],"o":[[0,-1.616],[0,0],[1.616,0],[0,1.616],[0,0],[-1.617,0]],"v":[[-16.02,5.813],[-13.081,2.874],[-9.555,2.874],[-6.617,5.813],[-9.555,8.751],[-13.081,8.751]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,0],[0.553,0],[0,0],[0,-3.418],[0,0],[-9.374,0],[0,0],[0,7.853],[0,0],[2.127,1.255],[0,0],[0,0.552]],"o":[[0,0.552],[0,0],[-3.419,0],[0,0],[0,9.374],[0,0],[7.049,-2.444],[0,0],[0,-2.636],[0,0],[-0.553,0],[0,0]],"v":[[2.747,-16],[1.747,-15],[-16.699,-15],[-22.9,-8.801],[-22.9,-1],[-5.9,16],[10.747,16],[22.9,-1],[22.9,-8.8],[19.335,-15],[13.301,-15],[12.301,-16]],"c":true},"ix":2},"nm":"Path 3","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[25.151,39.85],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":5,"cix":2,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,-0.552],[0,0],[-0.552,0],[0,0],[0,2.761],[0,0],[2.761,0]],"o":[[-0.552,0],[0,0],[0,0.552],[0,0],[2.761,0],[0,0],[0,-2.762],[0,0]],"v":[[-5.8,-11.2],[-6.8,-10.2],[-6.8,10.2],[-5.8,11.2],[1.8,11.2],[6.8,6.2],[6.8,-6.2],[1.8,-11.2]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.862999949736,0.866999966491,0.870999983245,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[103.787,34.517],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":2,"cix":2,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[7.049,-2.444],[0,0],[0,9.374],[0,0],[0,0]],"o":[[0,7.853],[0,0],[9.374,0],[0,0],[0,0],[0,0]],"v":[[1.577,-7.833],[-10.577,9.167],[-6.424,9.167],[10.577,-7.833],[10.577,-9.167],[1.577,-9.167]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.862999949736,0.866999966491,0.870999983245,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[98.059,60.883],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 4","np":2,"cix":2,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.757,-7.007],[0,0],[8.72,0],[0,0]],"o":[[0,0],[-0.964,-8.465],[0,0],[6.462,2.24]],"v":[[1.527,7.533],[10.518,7.533],[-6.365,-7.533],[-10.518,-7.533]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.862999949736,0.866999966491,0.870999983245,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[98,9.783],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 5","np":2,"cix":2,"ix":5,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,1.616],[1.616,0],[0,0],[0,-1.617],[-1.617,0]],"o":[[1.616,0],[0,-1.617],[0,0],[-1.617,0],[0,1.616],[0,0]],"v":[[1.763,2.939],[4.702,0.001],[1.763,-2.939],[-1.763,-2.939],[-4.702,0.001],[-1.763,2.939]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.862999949736,0.866999966491,0.870999983245,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[13.832,45.663],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 6","np":2,"cix":2,"ix":6,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,1.616],[1.616,0],[0,0],[0,-1.617],[-1.617,0]],"o":[[1.616,0],[0,-1.617],[0,0],[-1.617,0],[0,1.616],[0,0]],"v":[[2.939,2.939],[5.878,0.001],[2.939,-2.939],[-2.939,-2.939],[-5.878,0.001],[-2.939,2.939]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.862999949736,0.866999966491,0.870999983245,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[29.081,45.663],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 7","np":2,"cix":2,"ix":7,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.411,0],[0,0],[0,0.552],[-0.552,0],[0,0],[6.462,2.24],[0,0],[0,-9.374],[0,0],[0,0],[0,-0.553],[0,0],[-0.552,0],[0,0],[0,-4.521],[0,0],[10.477,0],[0,0],[2.706,1.484],[-8.533,0],[0,0],[0,7.853],[0,0],[0,0],[0,0.552],[-0.552,0],[0,0],[0,4.411],[0,0]],"o":[[0,0],[-0.552,0],[0,-0.552],[0,0],[-0.757,-7.007],[0,0],[-9.374,0],[0,0],[0,0],[0.552,0],[0,0],[0,-0.553],[0,0],[4.522,0],[0,0],[0,10.476],[0,0],[-3.297,0],[1.202,8.205],[0,0],[7.048,-2.443],[0,0],[0,0],[-0.552,0],[0,-0.552],[0,0],[4.411,0],[0,0],[0,-4.411]],"v":[[45.822,-16.834],[31.22,-16.834],[30.22,-17.834],[31.22,-18.834],[35.761,-18.834],[23.717,-33.9],[-36.822,-33.9],[-53.822,-16.9],[-53.822,-13.299],[-36.868,-13.299],[-35.868,-12.299],[-26.316,-12.299],[-25.316,-13.299],[-14.516,-13.299],[-6.316,-5.101],[-6.316,2.701],[-25.316,21.701],[-44.516,21.701],[-53.62,19.369],[-36.822,33.9],[23.717,33.9],[35.87,16.9],[35.87,15.566],[31.22,15.566],[30.22,14.566],[31.22,13.566],[45.822,13.566],[53.822,5.566],[53.822,-8.834]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.964999988032,0.964999988032,0.969000004787,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[63.765,36.15],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 8","np":2,"cix":2,"ix":8,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[7.049,-2.443],[0,0],[0,9.374],[0,0],[3.419,0],[0,0],[0,-2.635],[0,0]],"o":[[0,0],[9.374,0],[0,0],[0,-3.419],[0,0],[2.127,1.255],[0,0],[0,7.853]],"v":[[-9.777,15.5],[-7.223,15.5],[9.777,-1.5],[9.777,-9.3],[3.576,-15.5],[-1.189,-15.5],[2.378,-9.3],[2.378,-1.5]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.964999988032,0.964999988032,0.969000004787,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[45.674,40.35],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 9","np":2,"cix":2,"ix":9,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":14,"ty":4,"nm":"Wumpus Body Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[112.51,169.973,0],"ix":2},"a":{"a":0,"k":[76.427,31.074,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.488,3.801],[3.168,0],[0,0],[0,0],[11.648,0],[0,0],[4.865,0.015],[-0.902,-0.649],[0.068,0.129],[0,0],[0,-10.544],[0,0],[0.82,0],[0,0.821],[0,0],[0.553,0],[0,-0.552],[0,0],[-0.551,0],[0,0],[-0.214,-2.199],[2.474,0],[0,0],[0,2.659],[0,0],[0.553,0],[0,-0.552],[0,0],[-1.962,-1.197],[-1.295,0],[0,0]],"o":[[-0.403,-3.141],[0,0],[0,0],[0,-11.647],[0,0],[-0.014,-0.015],[-1.112,-0.003],[0.118,0.085],[0,0],[10.544,0],[0,0],[0,0.821],[-0.822,0],[0,0],[0,-0.552],[-0.552,0],[0,0],[0,0.552],[0,0],[2.21,0],[0.246,2.523],[0,0],[-2.659,0],[0,0],[0,-0.552],[-0.552,0],[0,0],[0,2.462],[1.032,0.631],[0,0],[3.707,0]],"v":[[51.728,23.77],[45.331,18.359],[36.435,18.359],[36.435,-9.687],[15.345,-30.777],[-13.443,-30.777],[-50.591,-30.82],[-51.314,-28.732],[-51.213,-28.777],[15.344,-28.777],[34.435,-9.686],[34.435,16.872],[32.95,18.359],[31.463,16.872],[31.463,15.501],[30.463,14.501],[29.463,15.501],[29.463,19.359],[30.463,20.359],[45.36,20.359],[49.76,24.169],[45.548,28.824],[9.859,28.824],[5.044,24.01],[5.044,6.568],[4.044,5.568],[3.044,6.568],[3.044,24.01],[6.324,29.824],[9.859,30.824],[45.548,30.824]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.725,0.732999973671,0.745000023935,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[100.388,31.073],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.659,0],[0,0],[0.171,2.24],[-0.007,0.165],[-2.138,0],[0,0],[0.274,-0.567],[0,-0.969],[-0.477,-0.878]],"o":[[0,0],[-2.247,0],[-0.013,-0.169],[0.086,-2.136],[0,0],[0.63,0],[-0.397,0.818],[0,1.068],[0.314,0.579]],"v":[[-28.067,4.079],[-42.181,4.079],[-46.603,0.177],[-46.612,-0.325],[-42.485,-4.079],[-28.226,-4.079],[-27.459,-2.857],[-28.079,-0.153],[-27.329,2.798]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0.553,0],[0,0],[0.171,2.24],[-1.658,0.661],[0,0],[0,0.552],[0.552,0],[0,0],[-0.274,-2.596],[-3.167,0],[0,0],[0,0.552]],"o":[[0,0],[-2.247,0],[-0.147,-1.922],[0,0],[0.552,0],[0,-0.552],[0,0],[-5.041,0],[0.332,3.149],[0,0],[0.553,0],[0,-0.552]],"v":[[47.836,4.079],[-20.644,4.079],[-25.066,0.177],[-22.407,-4.079],[11.052,-4.079],[12.052,-5.079],[11.052,-6.079],[-42.67,-6.079],[-48.562,0.67],[-42.162,6.079],[47.836,6.079],[48.836,5.079]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.725,0.732999973671,0.745000023935,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[49.086,55.818],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":4,"cix":2,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.873,1.073],[0,0],[0,-1.782],[-2.334,0],[0,0],[0,1.635]],"o":[[0,0],[-1.562,0.624],[0,2.334],[0,0],[-1.033,-1.113],[0,-1.488]],"v":[[9.831,-4.079],[-7.432,-4.079],[-10.104,-0.153],[-5.872,4.079],[10.104,4.079],[8.433,-0.153]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.862999949736,0.866999966491,0.870999983245,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[12.574,55.818],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":2,"cix":2,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.334,0],[0,0],[0,0.552],[0,0],[-0.553,0],[0,-0.553],[0,0],[0,0],[0,0],[10.526,0],[0,0],[10.477,0],[0,0],[0,-1.782],[-2.334,0],[0,0],[0,0],[0,-0.552],[0,0],[0,2.462],[0,0],[-0.553,0],[0,-0.552],[0,0],[-2.655,0],[0,0],[0,2.334]],"o":[[0,0],[-0.553,0],[0,0],[0,-0.553],[0.553,0],[0,0],[0,0],[0,0],[0,-10.526],[0,0],[0.753,1.405],[0,0],[-1.562,0.624],[0,2.334],[0,0],[0,0],[0.553,0],[0,0],[-1.962,-1.197],[0,0],[0,-0.552],[0.553,0],[0,0],[0,2.655],[0,0],[2.334,0],[0,-2.334]],"v":[[59.349,19.835],[44.264,19.835],[43.264,18.835],[43.264,14.979],[44.264,13.979],[45.264,14.979],[45.264,17.835],[48.236,17.835],[48.236,-10.21],[29.145,-29.3],[-31.005,-29.3],[-33.087,20.142],[-60.909,20.142],[-63.581,24.068],[-59.348,28.3],[-55.818,28.3],[10.335,28.3],[11.335,29.3],[20.124,29.3],[16.844,23.486],[16.844,6.044],[17.844,5.044],[18.844,6.044],[18.844,23.486],[23.66,28.3],[59.349,28.3],[63.581,24.068]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.862999949736,0.866999966491,0.870999983245,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[86.588,31.597],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 4","np":2,"cix":2,"ix":4,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":15,"ty":4,"nm":"Horn Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[151.65,139.602,0],"ix":2},"a":{"a":0,"k":[102.277,71.956,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.4,0.397,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p4_1_0p333_0","0p397_1_0p333_0","0p667_1_0p333_0"],"t":0,"s":[100,100,100],"e":[95,107,100]},{"i":{"x":[0,0,0.667],"y":[1,1,1]},"o":{"x":[0.577,0.632,0.333],"y":[0,0,0]},"n":["0_1_0p577_0","0_1_0p632_0","0p667_1_0p333_0"],"t":11,"s":[95,107,100],"e":[105,96,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.537,0.535,0.333],"y":[0,0,0]},"n":["0p667_1_0p537_0","0p667_1_0p535_0","0p667_1_0p333_0"],"t":22,"s":[105,96,100],"e":[97.483,102.172,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":30,"s":[97.483,102.172,100],"e":[100.813,99.045,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":36,"s":[100.813,99.045,100],"e":[99.587,100.329,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"n":["0p667_1_0p333_0","0p667_1_0p333_0","0p667_1_0p333_0"],"t":42,"s":[99.587,100.329,100],"e":[100,100,100]},{"t":48}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[1.271,0.527],[0,0],[0.527,-1.27],[0,0],[0.507,0.211],[-0.212,0.511],[0,0],[0,0],[-0.226,-2.366],[3.562,-8.584],[5.772,-4.75],[2.246,-0.886],[0,0],[0,0],[-0.509,-0.209],[0.212,-0.51],[0,0],[-0.256,-0.618],[-0.612,-0.253],[0,0],[-0.526,1.27],[0,0]],"o":[[0,0],[-1.271,-0.529],[0,0],[-0.213,0.511],[-0.511,-0.211],[0,0],[0,0],[0.655,1.891],[0.713,7.441],[-3.563,8.584],[-2.312,1.903],[0,0],[0,0],[0.212,-0.51],[0.511,0.212],[0,0],[-0.254,0.611],[0.256,0.618],[0,0],[1.269,0.526],[0,0],[0.527,-1.27]],"v":[[41.4,12.023],[41.137,11.915],[37.877,13.262],[36.212,17.276],[34.905,17.816],[34.364,16.508],[35.129,14.661],[-18.848,-35.564],[-17.516,-29.165],[-21.934,-4.314],[-36.409,16.364],[-43.276,20.536],[29.031,29.359],[32.297,21.488],[33.604,20.947],[34.145,22.254],[30.239,31.669],[30.242,33.576],[31.587,34.928],[31.85,35.038],[35.111,33.689],[42.749,15.284]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.964999988032,0.964999988032,0.969000004787,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[62.892,46.278],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-3.439,8.287],[-5.524,4.546],[-3.389,0],[-1.121,-0.466],[-0.787,-0.705],[0,0],[-0.486,-5.081],[3.44,-8.287],[5.523,-4.546],[4.132,1.714],[0.66,6.896]],"o":[[3.438,-8.287],[3.898,-3.208],[1.261,0],[0.951,0.394],[0,0],[2.438,2.392],[0.683,7.121],[-3.438,8.287],[-5.349,4.402],[-4.129,-1.713],[-0.683,-7.122]],"v":[[-47.048,-13.779],[-33.15,-33.678],[-22.035,-38.542],[-18.451,-37.848],[-15.845,-36.186],[-15.512,-35.876],[-11.025,-24.497],[-15.3,-0.604],[-29.197,19.296],[-43.897,23.465],[-51.323,10.115]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0.529,-1.273],[0,0],[1.268,0.526],[0,0],[0.256,0.618],[-0.254,0.612],[0,0],[0.511,0.212],[0.212,-0.51],[0,0],[2.081,0.253],[0,0],[-1.982,1.622],[-0.023,0.019],[-3.563,8.584],[0.713,7.442],[0,0],[-1.437,-1.336],[0,0],[0.46,-1.111],[-0.511,-0.212],[-0.213,0.511],[0,0],[-1.274,-0.53],[0,0]],"o":[[0,0],[-0.527,1.27],[0,0],[-0.611,-0.254],[-0.255,-0.619],[0,0],[0.212,-0.51],[-0.509,-0.21],[0,0],[-0.803,1.937],[0,0],[-2.542,-0.31],[0.023,-0.019],[5.773,-4.751],[3.562,-8.584],[0,0],[-0.189,-1.955],[0,0],[0.88,0.819],[-0.212,0.51],[0.506,0.21],[0,0],[0.529,-1.274],[0,0],[1.272,0.53]],"v":[[51.229,19.764],[43.593,38.166],[40.332,39.514],[40.068,39.405],[38.723,38.053],[38.721,36.145],[42.627,26.731],[42.086,25.424],[40.779,25.964],[38.872,30.561],[33.993,33.408],[-26.556,26.02],[-27.996,20.898],[-27.927,20.841],[-13.452,0.162],[-9.033,-24.689],[-9.04,-24.758],[-5.465,-26.527],[42.148,17.777],[42.846,20.986],[43.387,22.293],[44.693,21.752],[46.358,17.74],[49.622,16.393],[49.882,16.5]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[2.289,0.95],[0,0],[0.951,-2.289],[0,0],[0,0],[0.129,0.113],[0,0],[0.007,0.006],[1.11,0.46],[5.946,-4.894],[3.563,-8.584],[-0.712,-7.441],[-4.846,-2.011],[-1.42,-0.033],[-0.196,-0.024],[0,0],[-0.408,-0.988],[-1.106,-0.458],[0,0],[-0.573,0],[-0.717,1.727],[0,0]],"o":[[0,0],[-2.285,-0.947],[0,0],[0,0],[-0.125,-0.12],[0,0],[-0.007,-0.006],[-0.917,-0.797],[-4.843,-2.01],[-5.772,4.751],[-3.562,8.584],[0.735,7.667],[1.285,0.533],[0.142,0.117],[0,0],[-0.316,1.002],[0.46,1.112],[0,0],[0.562,0.233],[1.764,-0.001],[0,0],[0.949,-2.289]],"v":[[50.648,14.653],[50.385,14.544],[44.511,16.972],[44.43,17.167],[-14.182,-37.37],[-14.561,-37.723],[-14.624,-37.781],[-14.647,-37.796],[-17.686,-39.695],[-34.421,-35.223],[-48.896,-14.546],[-53.315,10.305],[-44.662,25.313],[-40.592,26.149],[-40.09,26.383],[36.758,35.759],[36.875,38.817],[39.303,41.252],[39.565,41.362],[41.282,41.705],[45.44,38.934],[53.078,20.527]],"c":true},"ix":2},"nm":"Path 3","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.725,0.732999973671,0.745000023935,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[54.277,41.956],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":5,"cix":2,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-4.129,-1.713],[-5.348,4.402],[-3.439,8.287],[0.683,7.121],[2.439,2.392],[0,0],[0.951,0.394],[1.262,0],[3.898,-3.207],[3.438,-8.287],[-0.682,-7.122]],"o":[[4.132,1.714],[5.524,-4.546],[3.439,-8.287],[-0.486,-5.081],[0,0],[-0.787,-0.705],[-1.121,-0.466],[-3.388,0],[-5.524,4.546],[-3.44,8.286],[0.66,6.895]],"v":[[-12.723,30.147],[1.976,25.978],[15.874,6.078],[20.149,-17.816],[15.661,-29.194],[15.329,-29.504],[12.722,-31.166],[9.138,-31.861],[-1.976,-26.998],[-15.874,-7.097],[-20.15,16.797]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[23.103,35.274],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":2,"cix":2,"ix":3,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0},{"ddd":0,"ind":16,"ty":4,"nm":"blob Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[100,103.252,0],"ix":2},"a":{"a":0,"k":[100,103.252,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-7.611,0],[0,0],[0,-7.611],[0,0],[7.611,0],[0,7.611],[0,0]],"o":[[0,0],[7.611,0],[0,0],[0,7.611],[-7.611,0],[0,0],[0,-7.611]],"v":[[0,-15.44],[0,-15.44],[13.782,-1.658],[13.782,1.658],[0,15.439],[-13.782,1.658],[-13.782,-1.658]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.964999988032,0.964999988032,0.969000004787,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[169.652,48.229],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-5.838,0],[0,0],[0,-5.838],[5.838,0],[0,0],[0,5.838]],"o":[[0,0],[5.838,0],[0,5.838],[0,0],[-5.838,0],[0,-5.838]],"v":[[-30.48,-10.57],[30.48,-10.57],[41.051,0],[30.48,10.571],[-30.48,10.571],[-41.05,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.964999988032,0.964999988032,0.969000004787,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[144.384,180.255],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-20.005,0],[0,0],[0,-23.637],[0,0],[-9.578,0],[0,-20.196],[20.197,0],[0,0],[0,0],[0,13.301],[-13.301,0],[0,0],[0,7.776],[0,0],[7.776,0],[0,0],[0,20.005],[0,0]],"o":[[0,0],[23.635,0],[0,0],[0,9.578],[20.197,0],[0,20.196],[0,0],[0,0],[-13.301,0],[0,-13.3],[0,0],[7.776,0],[0,0],[0,-7.776],[0,0],[-20.005,0],[0,0],[0,-20.005]],"v":[[-58.511,-77.889],[-1.974,-77.889],[40.823,-35.09],[40.823,-12.592],[58.165,4.751],[94.735,41.32],[58.165,77.889],[38.898,77.889],[-61.256,77.889],[-85.339,53.806],[-61.256,29.724],[-47.948,29.724],[-33.868,15.643],[-33.868,8.638],[-47.948,-5.443],[-58.511,-5.443],[-94.734,-41.665],[-94.734,-41.665]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.964999988032,0.964999988032,0.969000004787,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[95.735,81.97],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":2,"cix":2,"ix":3,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":55,"st":0,"bm":0}],"markers":[]}')},10317:function(e,t){var n=1e3,r=6e4,o=60*r,i=24*o;function a(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,t){t=t||{};var s=typeof e;if("string"===s&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===s&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=i)return a(e,t,i,"day");if(t>=o)return a(e,t,o,"hour");if(t>=r)return a(e,t,r,"minute");if(t>=n)return a(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=i)return Math.round(e/i)+"d";if(t>=o)return Math.round(e/o)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},10318:function(e,t,n){var r=n(737),o=n(406);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},10319:function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},10320:function(e,t,n){var r=n(10321);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},10321:function(e,t,n){var r=n(8616),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},10322:function(e,t,n){var r=n(10864),o=n(10865);e.exports=function(e,t){return null!=e&&o(e,t,r)}},10323:function(e,t,n){var r=n(760),o=n(10866),i=n(10868);e.exports=function(e){return i(o(e,void 0,r),e+"")}},10324:function(e,t,n){var r=n(1328),o=n(10325),i=n(10906),a=n(8737),s=n(8840),u=n(10909),c=n(10323),l=n(10336),f=c((function(e,t){var n={};if(null==e)return n;var c=!1;t=r(t,(function(t){return t=a(t,e),c||(c=t.length>1),t})),s(e,l(e),n),c&&(n=o(n,7,u));for(var f=t.length;f--;)i(n,t[f]);return n}));e.exports=f},10325:function(e,t,n){var r=n(9384),o=n(10326),i=n(9381),a=n(10877),s=n(10883),u=n(10886),c=n(10331),l=n(10887),f=n(10889),d=n(10334),p=n(10336),h=n(9123),v=n(10894),y=n(10895),g=n(10900),m=n(711),k=n(9385),x=n(10902),_=n(406),b=n(10904),w=n(8739),S={};S["[object Arguments]"]=S["[object Array]"]=S["[object ArrayBuffer]"]=S["[object DataView]"]=S["[object Boolean]"]=S["[object Date]"]=S["[object Float32Array]"]=S["[object Float64Array]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Map]"]=S["[object Number]"]=S["[object Object]"]=S["[object RegExp]"]=S["[object Set]"]=S["[object String]"]=S["[object Symbol]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S["[object Error]"]=S["[object Function]"]=S["[object WeakMap]"]=!1,e.exports=function e(t,n,A,E,O,C){var T,D=1&n,B=2&n,N=4&n;if(A&&(T=O?A(t,E,O,C):A(t)),void 0!==T)return T;if(!_(t))return t;var F=m(t);if(F){if(T=v(t),!D)return c(t,T)}else{var P=h(t),I="[object Function]"==P||"[object GeneratorFunction]"==P;if(k(t))return u(t,D);if("[object Object]"==P||"[object Arguments]"==P||I&&!O){if(T=B||I?{}:g(t),!D)return B?f(t,s(T,t)):l(t,a(T,t))}else{if(!S[P])return O?t:{};T=y(t,P,D)}}C||(C=new r);var j=C.get(t);if(j)return j;C.set(t,T),b(t)?t.forEach((function(r){T.add(e(r,n,A,r,t,C))})):x(t)&&t.forEach((function(r,o){T.set(o,e(r,n,A,o,t,C))}));var M=N?B?p:d:B?keysIn:w,R=F?void 0:M(t);return o(R||t,(function(r,o){R&&(r=t[o=r]),i(T,o,e(r,n,A,o,t,C))})),T}},10326:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},10327:function(e,t,n){var r=n(10878),o=n(1356),i=n(711),a=n(9385),s=n(9122),u=n(10328),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&o(e),f=!n&&!l&&a(e),d=!n&&!l&&!f&&u(e),p=n||l||f||d,h=p?r(e.length,String):[],v=h.length;for(var y in e)!t&&!c.call(e,y)||p&&("length"==y||f&&("offset"==y||"parent"==y)||d&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,v))||h.push(y);return h}},10328:function(e,t,n){var r=n(10880),o=n(9386),i=n(9387),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},10329:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},10330:function(e,t,n){var r=n(10327),o=n(10884),i=n(8841);e.exports=function(e){return i(e)?r(e,!0):o(e)}},10331:function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},10332:function(e,t){e.exports=function(){return[]}},10333:function(e,t,n){var r=n(1355),o=n(9390),i=n(9389),a=n(10332),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},10334:function(e,t,n){var r=n(10335),o=n(9389),i=n(8739);e.exports=function(e){return r(e,i,o)}},10335:function(e,t,n){var r=n(1355),o=n(711);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},10336:function(e,t,n){var r=n(10335),o=n(10333),i=n(10330);e.exports=function(e){return r(e,i,o)}},10337:function(e,t,n){var r=n(720).Uint8Array;e.exports=r},10338:function(e,t){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},10339:function(e,t,n){var r=n(737),o=n(9390),i=n(408),a=Function.prototype,s=Object.prototype,u=a.toString,c=s.hasOwnProperty,l=u.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==l}},10340:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(){function e(e,t){this._elements=[],this._createElement=e,this._cleanElement=t}var t=e.prototype;return t.getElement=function(){return 0===this._elements.length?this._createElement():this._elements.pop()},t.poolElement=function(e){this._cleanElement(e),this._elements.push(e)},t.clearPool=function(){this._elements.length=0},e}();t.default=r},10341:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",o=!1,i=arguments.length-1;i>=-1&&!o;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,o="/"===a.charAt(0))}return(o?"/":"")+(t=n(r(t.split("/"),(function(e){return!!e})),!o).join("/"))||"."},t.normalize=function(e){var i=t.isAbsolute(e),a="/"===o(e,-1);return(e=n(r(e.split("/"),(function(e){return!!e})),!i).join("/"))||i||(e="."),e&&a&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),i=r(n.split("/")),a=Math.min(o.length,i.length),s=a,u=0;u<a;u++)if(o[u]!==i[u]){s=u;break}var c=[];for(u=s;u<o.length;u++)c.push("..");return(c=c.concat(i.slice(s))).join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!=typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,o=!0,i=e.length-1;i>=1;--i)if(47===(t=e.charCodeAt(i))){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=function(e){"string"!=typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,i=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===r&&(o=!1,r=a+1),46===s?-1===t?t=a:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){n=a+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":e.slice(t,r)};var o="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n(100))},10342:function(e,t,n){"use strict";e.exports=function(e){if(e=String(e||""),o.test(e))return"rtl";if(i.test(e))return"ltr";return"neutral"};var r="A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿",o=new RegExp("^[^"+r+"]*[֑-߿יִ-﷽ﹰ-ﻼ]"),i=new RegExp("^[^֑-߿יִ-﷽ﹰ-ﻼ]*["+r+"]")},10393:function(e,t,n){"use strict";var r=n(8418),o=n(8486),i=n(8269).OrderedMap;e.exports=function(e){return e.first()instanceof r?function(e){var t,n={};return i(e.withMutations((function(e){e.forEach((function(r,i){var a=r.getKey(),s=r.getNextSiblingKey(),u=r.getPrevSiblingKey(),c=r.getChildKeys(),l=r.getParentKey(),f=o();(n[a]=f,s)&&(e.get(s)?e.setIn([s,"prevSibling"],f):e.setIn([a,"nextSibling"],null));u&&(e.get(u)?e.setIn([u,"nextSibling"],f):e.setIn([a,"prevSibling"],null));if(l&&e.get(l)){var d=e.get(l).getChildKeys();e.setIn([l,"children"],d.set(d.indexOf(r.getKey()),f))}else e.setIn([a,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],f),e.setIn([a,"prevSibling"],n[t.getKey()])),t=e.get(a);c.forEach((function(t){e.get(t)?e.setIn([t,"parent"],f):e.setIn([a,"children"],r.getChildKeys().filter((function(e){return e!==t})))}))}))})).toArray().map((function(e){return[n[e.getKey()],e.set("key",n[e.getKey()])]})))}(e):function(e){return i(e.toArray().map((function(e){var t=o();return[t,e.set("key",t)]})))}(e)}},10394:function(e,t,n){"use strict";var r=n(8417),o=n(9029),i=n(8275);function a(e,t,n){var a=t.getCharacterList(),s=n>0?a.get(n-1):void 0,u=n<a.count()?a.get(n):void 0,c=s?s.getEntity():void 0,l=u?u.getEntity():void 0;if(l&&l===c&&"MUTABLE"!==e.__get(l).getMutability()){for(var f,d=function(e,t,n){var r;return o(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===t}),(function(e,t){e<=n&&t>=n&&(r={start:e,end:t})})),"object"!=typeof r&&i(!1),r}(a,l,n),p=d.start,h=d.end;p<h;)f=a.get(p),a=a.set(p,r.applyEntity(f,null)),p++;return t.set("characterList",a)}return t}e.exports=function(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),o={},i=t.getStartKey(),s=t.getStartOffset(),u=n.get(i),c=a(r,u,s);c!==u&&(o[i]=c);var l=t.getEndKey(),f=t.getEndOffset(),d=n.get(l);i===l&&(d=c);var p=a(r,d,f);return p!==d&&(o[l]=p),Object.keys(o).length?e.merge({blockMap:n.merge(o),selectionAfter:t}):e.set("selectionAfter",t)}},10395:function(e,t,n){"use strict";e.exports=function(e,t,n){var r=e;if(n===r.count())t.forEach((function(e){r=r.push(e)}));else if(0===n)t.reverse().forEach((function(e){r=r.unshift(e)}));else{var o=r.slice(0,n),i=r.slice(n);r=o.concat(t,i).toList()}return r}},10396:function(e,t,n){"use strict";var r=n(8269).Map;e.exports=function(e,t,n){var o=t.getStartKey(),i=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===i})).concat(r([[i,a.get(i)]])).map(n);return e.merge({blockMap:a.merge(s),selectionBefore:t,selectionAfter:t})}},10397:function(e,t,n){"use strict";var r=n(8418);e.exports=function(e,t){if(!(e instanceof r))return null;var n=e.getNextSiblingKey();if(n)return n;var o=e.getParentKey();if(!o)return null;for(var i=t.get(o);i&&!i.getNextSiblingKey();){var a=i.getParentKey();i=a?t.get(a):null}return i?i.getNextSiblingKey():null}},10398:function(e,t,n){"use strict";var r=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.getType=function(){return this.get("type")},o.getMutability=function(){return this.get("mutability")},o.getData=function(){return this.get("data")},r}((0,n(8269).Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object}));e.exports=r},10399:function(e,t,n){"use strict";var r=new RegExp("\r","g");e.exports=function(e){return e.replace(r,"")}},10400:function(e,t,n){"use strict";e.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},10401:function(e,t,n){"use strict";var r=n(8697);e.exports=function e(t){if(r(t)){var n=t,o=n.getAttribute("data-offset-key");if(o)return o;for(var i=0;i<n.childNodes.length;i++){var a=e(n.childNodes[i]);if(a)return a}}return null}},10402:function(e,t,n){"use strict";e.exports=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}},10403:function(e,t,n){"use strict";var r=n(10404),o=n(8284),i=n(10405),a=n(10406);e.exports=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();r.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,s=a(n,i(e)),u=s.selectionState;u!==n.getSelection()&&(n=s.needsRecovery?o.forceSelection(n,u):o.acceptSelection(n,u),e.update(n))}}},10404:function(e,t,n){"use strict";e.exports={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}}},10405:function(e,t,n){"use strict";var r=n(8275),o=n(9030);e.exports=function(e){var t=e.editorContainer;return t||r(!1),o(t.firstChild)||r(!1),t.firstChild}},10406:function(e,t,n){"use strict";var r=n(10407);e.exports=function(e,t){var n=t.ownerDocument.defaultView.getSelection();return 0===n.rangeCount?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:r(e,t,n.anchorNode,n.anchorOffset,n.focusNode,n.focusOffset)}},10407:function(e,t,n){"use strict";var r=n(9198),o=n(10401),i=n(10408),a=n(8275),s=n(8697),u=n(8372);function c(e,t,n){var i=t,c=r(i);(null!=c||e&&(e===i||e.firstChild===i)||a(!1),e===i)&&(i=i.firstChild,s(i)||a(!1),"true"!==(i=i).getAttribute("data-contents")&&a(!1),n>0&&(n=i.childNodes.length));if(0===n){var f=null;if(null!=c)f=c;else{var d=function(e){for(;e.firstChild&&(s(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||o(e.firstChild));)e=e.firstChild;return e}(i);f=u(o(d))}return{key:f,offset:0}}var p=i.childNodes[n-1],h=null,v=null;if(o(p)){var y=function(e){for(;e.lastChild&&(s(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||o(e.lastChild));)e=e.lastChild;return e}(p);h=u(o(y)),v=l(y)}else h=u(c),v=l(p);return{key:h,offset:v}}function l(e){var t=e.textContent;return"\n"===t?0:t.length}e.exports=function(e,t,n,o,a,s){var l=n.nodeType===Node.TEXT_NODE,f=a.nodeType===Node.TEXT_NODE;if(l&&f)return{selectionState:i(e,u(r(n)),o,u(r(a)),s),needsRecovery:!1};var d=null,p=null,h=!0;return l?(d={key:u(r(n)),offset:o},p=c(t,a,s)):f?(p={key:u(r(a)),offset:s},d=c(t,n,o)):(d=c(t,n,o),p=c(t,a,s),n===a&&o===s&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:i(e,d.key,d.offset,p.key,p.offset),needsRecovery:h}}},10408:function(e,t,n){"use strict";var r=n(8539),o=n(8372);e.exports=function(e,t,n,i,a){var s=o(e.getSelection()),u=r.decode(t),c=u.blockKey,l=e.getBlockTree(c),f=l&&l.getIn([u.decoratorKey,"leaves",u.leafKey]),d=r.decode(i),p=d.blockKey,h=e.getBlockTree(p),v=h&&h.getIn([d.decoratorKey,"leaves",d.leafKey]);if(!f||!v)return s;var y=f.get("start"),g=v.get("start"),m=f?y+n:null,k=v?g+a:null;if(s.getAnchorKey()===c&&s.getAnchorOffset()===m&&s.getFocusKey()===p&&s.getFocusOffset()===k)return s;var x=!1;if(c===p){var _=f.get("end"),b=v.get("end");x=g===y&&b===_?a<n:g<y}else{x=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===c||e===p})).first()===p}return s.merge({anchorKey:c,anchorOffset:m,focusKey:p,focusOffset:k,isBackward:x})}},10409:function(e,t,n){"use strict";e.exports={notEmptyKey:function(e){return null!=e&&""!=e}}},10410:function(e,t,n){"use strict";var r=n(367);function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=n(11177),s=n(0),u=n(8275),c=n(10411),l=n(11178).setDraftEditorSelection,f=function(e){var t,n;function f(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return i(o(t=e.call.apply(e,[this].concat(r))||this),"leaf",void 0),t}n=e,(t=f).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var d=f.prototype;return d._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,r=t.start,o=t.text,i=n.getKey(),a=r+o.length;if(e.hasEdgeWithin(i,r,a)){var s=this.leaf;s||u(!1);var f,d=s.firstChild;d||u(!1),d.nodeType===Node.TEXT_NODE?f=d:c(d)?f=s:(f=d.firstChild)||u(!1),l(e,f,i,r,a)}}},d.shouldComponentUpdate=function(e){var t=this.leaf;return t||u(!1),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},d.componentDidUpdate=function(){this._setSelection()},d.componentDidMount=function(){this._setSelection()},d.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var o=this.props,i=o.customStyleMap,u=o.customStyleFn,c=o.offsetKey,l=o.styleSet,f=l.reduce((function(e,t){var n={},o=i[t];return void 0!==o&&e.textDecoration!==o.textDecoration&&(n.textDecoration=[e.textDecoration,o.textDecoration].join(" ").trim()),r(e,o,n)}),{});if(u){var d=u(l,t);f=r(f,d)}return s.createElement("span",{"data-offset-key":c,ref:function(t){return e.leaf=t},style:f},s.createElement(a,null,n))},f}(s.Component);e.exports=f},10411:function(e,t,n){"use strict";var r=n(8697);e.exports=function(e){return!(!e||!e.ownerDocument)&&(r(e)&&"BR"===e.nodeName)}},10412:function(e,t,n){"use strict";e.exports={initODS:function(){},handleExtensionCausedError:function(){}}},10413:function(e,t,n){"use strict";e.exports=function(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}},10414:function(e,t,n){"use strict";var r=n(11184);e.exports=function(e){var t=r(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}}},10415:function(e,t,n){"use strict";function r(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function o(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function i(){return{width:window.innerWidth||r(),height:window.innerHeight||o()}}i.withoutScrollbars=function(){return{width:r(),height:o()}},e.exports=i},10416:function(e,t,n){"use strict";var r=n(367);function o(){return(o=r||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}).apply(this,arguments)}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=n(10410),u=n(8539),c=n(0),l=n(10002),f=n(9201),d=n(9999),p=n(9197),h=n(8696),v=n(10414),y=n(9202),g=n(10415),m=n(8275),k=n(9030),x=n(8372),_=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},b=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return a(i(t=e.call.apply(e,[this].concat(r))||this),"_node",void 0),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var b=r.prototype;return b.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||_(e.selection,e.block.getKey())&&e.forceSelection},b.componentDidMount=function(){if(!this.props.preventScroll){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this._node;if(null!=n){var r,o=f.getScrollParent(n),i=y(o);if(o===window){var a=v(n);(r=a.y+a.height-g().height)>0&&window.scrollTo(i.x,i.y+r+10)}else{k(n)||m(!1),(r=n.offsetHeight+n.offsetTop-(o.offsetTop+o.offsetHeight+i.y))>0&&l.setTop(o,l.getTop(o)+r+10)}}}}},b._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),r=t.getText(),i=this.props.tree.size-1,a=_(this.props.selection,n);return this.props.tree.map((function(l,f){var h=l.get("leaves");if(0===h.size)return null;var v=h.size-1,y=h.map((function(o,l){var d=u.encode(n,f,l),p=o.get("start"),h=o.get("end");return c.createElement(s,{key:d,offsetKey:d,block:t,start:p,selection:a?e.props.selection:null,forceSelection:e.props.forceSelection,text:r.slice(p,h),styleSet:t.getInlineStyleAt(p),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:f===i&&l===v})})).toArray(),g=l.get("decoratorKey");if(null==g)return y;if(!e.props.decorator)return y;var m=x(e.props.decorator),k=m.getComponentForKey(g);if(!k)return y;var _=m.getPropsForKey(g),b=u.encode(n,f,0),w=h.first().get("start"),S=h.last().get("end"),A=r.slice(w,S),E=t.getEntityAt(l.get("start")),O=p.getHTMLDirIfDifferent(d.getDirection(A),e.props.direction),C={contentState:e.props.contentState,decoratedText:A,dir:O,start:w,end:S,blockKey:n,entityKey:E,offsetKey:b};return c.createElement(k,o({},_,C,{key:b}),y)})).toArray()},b.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,o=h({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return c.createElement("div",{"data-offset-key":r,className:o,ref:function(t){return e._node=t}},this._renderChildren())},r}(c.Component);e.exports=b},10417:function(e,t,n){"use strict";var r=n(11190),o=n(11191),i=n(10418),a=new RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function u(e){if("file"==e.kind)return e.getAsFile()}var c=function(){function e(e){this.data=e,this.types=e.types?o(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return s[e]}))},t.getText=function(){var e;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(e=this.data.getData("text/plain")):e=this.data.getData("Text")),e?e.replace(a,"\n"):null},t.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},t.isLink=function(){return this.types.some((function(e){return-1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")}))},t.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},t.isImage=function(){var e=this.types.some((function(e){return-1!=e.indexOf("application/x-moz-file")}));if(e)return!0;for(var t=this.getFiles(),n=0;n<t.length;n++){var o=t[n].type;if(!r.isImage(o))return!1}return!0},t.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},t.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(u).filter(i.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}();e.exports=c},10418:function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},10419:function(e,t,n){"use strict";(function(t){var r=n(8275),o=/\.textClipping$/,i={"text/plain":!0,"text/html":!0,"text/rtf":!0};e.exports=function(e,n){var a=0,s=[];e.forEach((function(u){!function(e,n){if(!t.FileReader||e.type&&!(e.type in i))return void n("");if(""===e.type){var a="";return o.test(e.name)&&(a=e.name.replace(o,"")),void n(a)}var s=new FileReader;s.onload=function(){var e=s.result;"string"!=typeof e&&r(!1),n(e)},s.onerror=function(){n("")},s.readAsText(e)}(u,(function(t){a++,t&&s.push(t.slice(0,5e3)),a==e.length&&n(s.join("\r"))}))}))}}).call(this,n(44))},10420:function(e,t,n){"use strict";var r=n(9194);e.exports=function(e){var t=e.getSelection();return t.isCollapsed()?null:r(e.getCurrentContent(),t)}},10421:function(e,t,n){"use strict";var r=n(8402),o=n(8275);var i=r.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],r=e.endContainer;null!=r;r=r.parentNode){var i=r===e.commonAncestorContainer;i?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var a,s=Array.from(t.getClientRects());if(n.push(s),i)return n.reverse(),(a=[]).concat.apply(a,n);t.setEndBefore(r)}o(!1)}:function(e){return Array.from(e.getClientRects())};e.exports=i},10422:function(e,t,n){"use strict";var r="\\s|(?![_])"+n(11209).getPunctuation(),o=new RegExp("^(?:"+r+")*(?:['‘’]|(?!"+r+").)*(?:(?!"+r+").)"),i=new RegExp("(?:(?!"+r+").)(?:['‘’]|(?!"+r+").)*(?:"+r+")*$");function a(e,t){var n=t?i.exec(e):o.exec(e);return n?n[0]:e}var s={getBackward:function(e){return a(e,!0)},getForward:function(e){return a(e,!1)}};e.exports=s},10423:function(e,t,n){"use strict";n(10004);e.exports=function(e,t){var n,r=e.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=e.getCurrentContent(),s=o;return t>a.getBlockForKey(o).getText().length-i?(s=a.getKeyAfter(o),n=0):n=i+t,r.merge({focusKey:s,focusOffset:n})}},10424:function(e,t,n){"use strict";var r;function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){i(e,t,n[t])}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=n(8417),s=n(8695),u=n(8418),c=n(1e4),l=n(9195),f=n(11214),d=n(8696),p=n(8486),h=n(10425),v=n(8580),y=n(8269),g=y.List,m=y.Map,k=y.OrderedSet,x=n(11215),_=n(10411),b=n(9030),w=n(11216),S=v("draft_tree_data_support"),A=new RegExp("\r","g"),E=new RegExp("\n","g"),O=new RegExp("^\n","g"),C=new RegExp("&nbsp;","g"),T=new RegExp("&#13;?","g"),D=new RegExp("&#8203;?","g"),B=["bold","bolder","500","600","700","800","900"],N=["light","lighter","normal","100","200","300","400"],F=["className","href","rel","target","title"],P=["alt","className","height","src","width"],I=(i(r={},d("public/DraftStyleDefault/depth0"),0),i(r,d("public/DraftStyleDefault/depth1"),1),i(r,d("public/DraftStyleDefault/depth2"),2),i(r,d("public/DraftStyleDefault/depth3"),3),i(r,d("public/DraftStyleDefault/depth4"),4),r),j=m({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),M=function(e){var t={};return e.mapKeys((function(e,n){var r=[n.element];void 0!==n.aliasedElements&&r.push.apply(r,n.aliasedElements),r.forEach((function(n){void 0===t[n]?t[n]=e:"string"==typeof t[n]?t[n]=[t[n],e]:t[n].push(e)}))})),m(t)},R=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(I).some((function(n){e.classList.contains(n)&&(t=I[n])})),t},L=function(e){if(!x(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol)},K=function(e){if(!w(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},z=function(e,t){if(!b(e))return t;var n=e,r=n.style.fontWeight,o=n.style.fontStyle,i=n.style.textDecoration;return t.withMutations((function(e){B.indexOf(r)>=0?e.add("BOLD"):N.indexOf(r)>=0&&e.remove("BOLD"),"italic"===o?e.add("ITALIC"):"normal"===o&&e.remove("ITALIC"),"underline"===i&&e.add("UNDERLINE"),"line-through"===i&&e.add("STRIKETHROUGH"),"none"===i&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},G=function(e){return"ul"===e||"ol"===e},V=function(){function e(e,t){i(this,"characterList",g()),i(this,"currentBlockType","unstyled"),i(this,"currentDepth",0),i(this,"currentEntity",null),i(this,"currentText",""),i(this,"wrapper",null),i(this,"blockConfigs",[]),i(this,"contentBlocks",[]),i(this,"entityMap",l),i(this,"blockTypeMap",void 0),i(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=g(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=l,this.wrapper=null,this.contentBlocks=[]},t.addDOMNode=function(e){var t;return this.contentBlocks=[],this.currentDepth=0,(t=this.blockConfigs).push.apply(t,this._toBlockConfigs([e],k())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(S?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},t._makeBlockConfig=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.key||p(),n=o({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:g(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=g(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],r=0;r<e.length;r++){var o=e[r],i=o.nodeName.toLowerCase();if("body"===i||G(i)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;G(i)&&(this.wrapper=i,G(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(o.childNodes),t)),this.currentDepth=a,this.wrapper=s}else{var u=this.blockTypeMap.get(i);if(void 0===u)if("#text"!==i)if("br"!==i)if(K(o))this._addImgNode(o,t);else if(L(o))this._addAnchorNode(o,n,t);else{var c=t;j.has(i)&&(c=c.add(j.get(i))),c=z(o,c),n.push.apply(n,this._toBlockConfigs(Array.from(o.childNodes),c))}else this._addBreakNode(o,t);else this._addTextNode(o,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var l=this.currentDepth,f=this.wrapper;if(this.wrapper="pre"===i?"pre":this.wrapper,"string"!=typeof u&&(u=this.disambiguate(i,this.wrapper)||u[0]||"unstyled"),!S&&b(o)&&("unordered-list-item"===u||"ordered-list-item"===u)){var d=o;this.currentDepth=R(d,this.currentDepth)}var h=p(),v=this._toBlockConfigs(Array.from(o.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:h,childConfigs:v,type:u})),this.currentDepth=l,this.wrapper=f}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var r=a.create({style:t,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(e.length).fill(r))},t._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,r=this.characterList.findEntry((function(e){return null!==e.getEntity()}));(t=void 0!==r?Math.min(t,r[0]):t)>(n=void 0!==(r=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})))?Math.max(n,e-r[0]):n)?(this.currentText="",this.characterList=g()):(this.currentText=this.currentText.slice(t,n),this.characterList=this.characterList.slice(t,n))},t._addTextNode=function(e,t){var n=e.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(O,"")).replace(E," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){_(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(w(e)){var n=e,r={};P.forEach((function(e){var t=n.getAttribute(e);t&&(r[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),v("draftjs_fix_paste_for_img")?"presentation"!==n.getAttribute("role")&&this._appendText("📷",t):this._appendText("📷",t),this.currentEntity=null}},t._addAnchorNode=function(e,t,n){if(x(e)){var r=e,o={};F.forEach((function(e){var t=r.getAttribute(e);t&&(o[e]=t)})),o.url=new f(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",o||{}),t.push.apply(t,this._toBlockConfigs(Array.from(e.childNodes),n)),this.currentEntity=null}},t._toContentBlocks=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.length-1,r=0;r<=n;r++){var i=e[r];i.parent=t,i.prevSibling=r>0?e[r-1].key:null,i.nextSibling=r<n?e[r+1].key:null,i.children=g(i.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new u(o({},i))),this._toContentBlocks(i.childConfigs,i.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return g(e).flatMap((function(e){return"unstyled"!==e.type||""!==e.text?[e]:t._hoistContainersInBlockConfigs(e.childConfigs)}))},t._toFlatContentBlocks=function(e){var t=this;this._hoistContainersInBlockConfigs(e).forEach((function(e){var n=t._extractTextFromBlockConfigs(e.childConfigs),r=n.text,i=n.characterList;t.contentBlocks.push(new s(o({},e,{text:e.text+r,characterList:e.characterList.concat(i)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",r=g(),o=0;o<=t;o++){var i=e[o];n+=i.text,r=r.concat(i.characterList),""!==n&&"unstyled"!==i.type&&(n+="\n",r=r.push(r.last()));var a=this._extractTextFromBlockConfigs(i.childConfigs);n+=a.text,r=r.concat(a.characterList)}return{text:n,characterList:r}},e}();e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,r=t(e=e.trim().replace(A,"").replace(C," ").replace(T,"").replace(D,""));if(!r)return null;var o=M(n),i=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new V(o,i).addDOMNode(r).getContentBlocks()}},10425:function(e,t,n){"use strict";var r=n(8402),o=n(8275),i=r.isBrowser("IE <= 9");e.exports=function(e){var t,n=null;return!i&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||o(!1),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n}},10426:function(e,t,n){"use strict";var r=n(8371),o=n(8284),i=n(11217),a=n(8372),s={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===r.__get(t).getType()}))},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t,n){switch(t){case"bold":return s.toggleInlineStyle(e,"BOLD");case"italic":return s.toggleInlineStyle(e,"ITALIC");case"underline":return s.toggleInlineStyle(e,"UNDERLINE");case"code":return s.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=r.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=o.push(e,t,"insert-characters");return o.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var a=n.getBlockMap().delete(i.getKey()),u=n.merge({blockMap:a,selectionAfter:t});if(u!==n)return o.push(e,u,"remove-range")}var c=s.tryToRemoveBlockStyle(e);return c?o.push(e,c,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),i=t.getStartKey(),a=n.getBlockForKey(i).getLength();if(t.getStartOffset()<a)return null;var s=n.getBlockAfter(i);if(!s||"atomic"!==s.getType())return null;var u=t.merge({focusKey:s.getKey(),focusOffset:s.getLength()}),c=r.removeRange(n,u,"forward");return c!==n?o.push(e,c,"remove-range"):null},onTab:function(e,t,n){var r=t.getSelection(),a=r.getAnchorKey();if(a!==r.getFocusKey())return t;var s=t.getCurrentContent(),u=s.getBlockForKey(a),c=u.getType();if("unordered-list-item"!==c&&"ordered-list-item"!==c)return t;e.preventDefault();var l=u.getDepth();if(!e.shiftKey&&l===n)return t;var f=i(s,r,e.shiftKey?-1:1,n);return o.push(t,f,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),i=n.getStartKey(),s=n.getEndKey(),u=e.getCurrentContent(),c=n;if(i!==s&&0===n.getEndOffset()){var l=a(u.getBlockBefore(s));s=l.getKey(),c=c.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:s,focusOffset:l.getLength(),isBackward:!1})}if(u.getBlockMap().skipWhile((function(e,t){return t!==i})).reverse().skipWhile((function(e,t){return t!==s})).some((function(e){return"atomic"===e.getType()})))return e;var f=u.getBlockForKey(i).getType()===t?"unstyled":t;return o.push(e,r.setBlockType(u,c,f),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?s.toggleBlockType(e,"code-block"):s.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return o.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var a,s=e.getCurrentContent();return a=i.has(t)?r.removeInlineStyle(s,n,t):r.applyInlineStyle(s,n,t),o.push(e,a,"change-inline-style")},toggleLink:function(e,t,n){var i=r.applyEntity(e.getCurrentContent(),t,n);return o.push(e,i,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var o=t.getAnchorKey(),i=e.getCurrentContent(),a=i.getBlockForKey(o).getType(),s=i.getBlockBefore(o);if("code-block"===a&&s&&"code-block"===s.getType()&&0!==s.getLength())return null;if("unstyled"!==a)return r.setBlockType(i,t,"unstyled")}return null}};e.exports=s},10427:function(e,t,n){"use strict";var r={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}};e.exports=r},10582:function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a="object"===("undefined"==typeof window?"undefined":i(window))&&"object"===("undefined"==typeof document?"undefined":i(document))&&9===document.nodeType,s=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},u=void 0;if(a){var c=!0,l=!1,f=void 0;try{for(var d,p=[["edge",/Edge\/([0-9\._]+)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)$/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+)\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["android",/Android\s([0-9\.]+)/],["safari",/Version\/([0-9\._]+).*Safari/]][Symbol.iterator]();!(c=(d=p.next()).done);c=!0){var h=d.value,v=s(h,2),y=v[0];if(v[1].test(window.navigator.userAgent)){u=y;break}}}catch(e){l=!0,f=e}finally{try{!c&&p.return&&p.return()}finally{if(l)throw f}}}var g=void 0;if(a){var m=!0,k=!1,x=void 0;try{for(var _,b=[["ios",/os ([\.\_\d]+) like mac os/i],["macos",/mac os x/i],["android",/android/i],["firefoxos",/mozilla\/[a-z\.\_\d]+ \((?:mobile)|(?:tablet)/i],["windows",/windows\s*(?:nt)?\s*([\.\_\d]+)/i]][Symbol.iterator]();!(m=(_=b.next()).done);m=!0){var w=_.value,S=s(w,2),A=S[0];if(S[1].test(window.navigator.userAgent)){g=A;break}}}catch(e){k=!0,x=e}finally{try{!m&&b.return&&b.return()}finally{if(k)throw x}}}var E=[];if(a){var O=!0,C=!1,T=void 0;try{for(var D,B=[["inputeventslevel1",function(e){return"inputType"in(e.InputEvent?new e.InputEvent("input"):{})}],["inputeventslevel2",function(e){var t=e.document.createElement("div");return t.contentEditable=!0,"onbeforeinput"in t}]][Symbol.iterator]();!(O=(D=B.next()).done);O=!0){var N=D.value,F=s(N,2),P=F[0];(0,F[1])(window)&&E.push(P)}}catch(e){C=!0,T=e}finally{try{!O&&B.return&&B.return()}finally{if(C)throw T}}}var I=[[/^9([.]0|)/,28],[/^8[.]1/,27],[/^8([.]0|)/,26],[/^7[.]1/,25],[/^7([.]0|)/,24],[/^6([.]0|)/,23],[/^5[.]1/,22],[/^5([.]0|)/,21],[/^4[.]4/,20]];var j="firefox"===u,M="safari"===u,R="ie"===u,L="edge"===u,K="android"===g,z="ios"===g,G="macos"===g,V=function(){if("android"!==g)return null;var e=window.navigator.userAgent.match(/Android\s([0-9\.]+)/);if(null==e)return null;var t=e[1],n=!0,r=!1,o=void 0;try{for(var i,a=I[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var u=i.value,c=s(u,2),l=c[0],f=c[1];if(t.match(l))return f}}catch(e){r=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(r)throw o}}return null}(),U=(E.includes("inputeventslevel1"),E.includes("inputeventslevel2")||K&&(28===V||null===V)),q=n(8315),W=n(10912),J=n.n(W),H=n(10915),Y=n.n(H),$=n(10916),X=n.n($),Z=n(17),Q=n.n(Z),ee=function(e,t){0},te=n(1243),ne=n.n(te),re=n(10324),oe=n.n(re),ie=n(10918),ae={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:["delete"],extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",splitBlock:"shift?+enter",undo:"mod+z"},se={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["shift?+delete","ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},ue={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},ce={},le=z||G,fe=!le;[].concat(Object.keys(ae)).concat(Object.keys(se)).concat(Object.keys(ue)).forEach((function(e){var t="is"+e[0].toUpperCase()+e.slice(1);if(!ce[t]){var n=ae[e],r=se[e],o=ue[e],i=n&&Object(ie.isKeyHotkey)(n),a=r&&Object(ie.isKeyHotkey)(r),s=o&&Object(ie.isKeyHotkey)(o);ce[t]=function(e){return!(!i||!i(e))||(!!(le&&a&&a(e))||!!(fe&&s&&s(e)))}}}));var de=ce,pe=n(10919);function he(e){var t=JSON.stringify(e);return Object(pe.btoa)(encodeURIComponent(t))}function ve(e){var t=decodeURIComponent(Object(pe.atob)(e));return JSON.parse(t)}var ye={deserialize:function(e,t){var n=ve(e);return q.Value.fromJSON(n,t)},deserializeNode:function(e,t){var n=ve(e);return q.Node.fromJSON(n,t)},serialize:function(e,t){return he(e.toJSON(t))},serializeNode:function(e,t){return he(e.toJSON(t))}},ge=n(8325),me=n(103),ke=function(e,t){if(!e)throw new Error("Invariant failed: "+(t||""))},xe=Object.assign||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},_e=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},be=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},we=0;var Se=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=we++,n=e.placeholder,r=e.when,i=e.style,a=void 0===i?{}:i;function s(e,n,o){if(!n.query(r,e))return o();var i=o(),a=e.texts(),s=_e(a,1)[0],u=e.texts({direction:"backward"}),c=_e(u,1)[0],l=_e(s,2),f=l[0],d=l[1],p=_e(c,2),h=p[0],v=p[1],y={type:"placeholder",data:{key:t},anchor:{key:f.key,offset:0,path:d},focus:{key:h.key,offset:h.text.length,path:v}};return[].concat(be(i),[y])}function u(e,r,i){var s=e.children,u=e.decoration;if("placeholder"===u.type&&u.data.get("key")===t){var c=xe({pointerEvents:"none",display:"inline-block",width:"0",maxWidth:"100%",whiteSpace:"nowrap",opacity:"0.333",verticalAlign:"text-top"},a);return o.a.createElement("span",null,o.a.createElement("span",{contentEditable:!1,style:c},n),s)}return i()}return ke("string"==typeof n,"You must pass `SlateReactPlaceholder` an `options.placeholder` string."),ke("string"==typeof r||"function"==typeof r,"You must pass `SlateReactPlaceholder` an `options.when` query."),{decorateNode:s,renderDecoration:u}};function Ae(e,t){function n(n,r,o,i,a){var s=r[o];return null!=s||n?null==s&&n?new Error("The "+a+" `"+o+"` is marked as required in `"+i+"`, but it was not supplied."):t(s)?null:new Error("Invalid "+a+" `"+o+"` supplied to `"+i+"`, expected a Slate `"+e+"` but received: "+s):null}function r(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,[!1].concat(t))}return r.isRequired=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,[!0].concat(t))},r}var Ee={block:Ae("Block",(function(e){return q.Block.isBlock(e)})),blocks:Ae("List<Block>",(function(e){return q.Block.isBlockList(e)})),change:Ae("Change",(function(e){return q.Change.isChange(e)})),data:Ae("Data",(function(e){return q.Data.isData(e)})),document:Ae("Document",(function(e){return q.Document.isDocument(e)})),inline:Ae("Inline",(function(e){return q.Inline.isInline(e)})),inlines:Ae("Inline",(function(e){return q.Inline.isInlineList(e)})),leaf:Ae("Leaf",(function(e){return q.Leaf.isLeaf(e)})),leaves:Ae("List<Leaf>",(function(e){return q.Leaf.isLeafList(e)})),mark:Ae("Mark",(function(e){return q.Mark.isMark(e)})),marks:Ae("Set<Mark>",(function(e){return q.Mark.isMarkSet(e)})),node:Ae("Node",(function(e){return q.Node.isNode(e)})),nodes:Ae("List<Node>",(function(e){return q.Node.isNodeList(e)})),range:Ae("Range",(function(e){return q.Range.isRange(e)})),ranges:Ae("List<Range>",(function(e){return q.Range.isRangeList(e)})),selection:Ae("Selection",(function(e){return q.Selection.isSelection(e)})),value:Ae("Value",(function(e){return q.Value.isValue(e)})),text:Ae("Text",(function(e){return q.Text.isText(e)})),texts:Ae("List<Text>",(function(e){return q.Text.isTextList(e)}))},Oe=function(e,t){return e===t};var Ce=function(e,t){var n;void 0===t&&(t=Oe);var r,o=[],i=!1,a=function(e,n){return t(e,o[n],n)};return function(){for(var t=arguments.length,s=new Array(t),u=0;u<t;u++)s[u]=arguments[u];return i&&n===this&&s.length===o.length&&s.every(a)||(r=e.apply(this,s),i=!0,n=this,o=s),r}};n.d(t,"Editor",(function(){return Qt})),n.d(t,"cloneFragment",(function(){return At})),n.d(t,"findDOMNode",(function(){return Rt})),n.d(t,"findDOMPoint",(function(){return en})),n.d(t,"findDOMRange",(function(){return tn})),n.d(t,"findNode",(function(){return nn})),n.d(t,"findPath",(function(){return rn})),n.d(t,"findPoint",(function(){return on})),n.d(t,"findRange",(function(){return sn})),n.d(t,"getEventRange",(function(){return un})),n.d(t,"getEventTransfer",(function(){return Nt})),n.d(t,"setEventTransfer",(function(){return It})),n.d(t,"ReactPlugin",(function(){return Xt}));var Te=["onBeforeInput","onBlur","onClick","onContextMenu","onCompositionEnd","onCompositionUpdate","onCompositionStart","onCopy","onCut","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onInput","onFocus","onKeyDown","onKeyUp","onMouseDown","onMouseUp","onPaste","onSelect"],De="data-slate-editor",Be="data-slate-fragment",Ne="data-key",Fe="data-slate-leaf",Pe="data-slate-length",Ie="data-slate-object",je="data-offset-key",Me="data-slate-spacer",Re="data-slate-string",Le="data-slate-zero-width",Ke={BLOCK:"["+Ie+'="block"]',EDITOR:"["+De+"]",INLINE:"["+Ie+'="inline"]',KEY:"["+Ne+"]",LEAF:"["+Fe+"]",OBJECT:"["+Ie+"]",STRING:"["+Re+"]",TEXT:"["+Ie+'="text"]',VOID:"["+"data-slate-void"+"]",ZERO_WIDTH:"["+Le+"]"},ze=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Ge=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Ve=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},Ue=Object.assign||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},qe=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},We=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},Je=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},He=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},Ye=/^([\w-]+)(?::(\d+))?$/;var $e={parse:function(e){var t=Ye.exec(e);if(!t)throw new Error('Invalid offset key string "'+e+'".');var n=Je(t,3),r=(n[0],n[1]),o=n[2];return{key:r,index:parseInt(o,10)}},stringify:function(e){return e.key+":"+e.index}},Xe=function(e){function t(e){ze(this,t);var n=We(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.ref=o.a.createRef(),n.forceUpdateFlag=!1,n}return qe(t,e),Ge(t,[{key:"shouldComponentUpdate",value:function(e){var t=""===e.text,n=this.ref.current,r=n.textContent;if(r!==(t?"\ufeff":e.text))return!0;if(this.props.decorations.map((function(e){return e.type})).join(" ")!==e.decorations.map((function(e){return e.type})).join(" "))return!0;if(t&&""!==r.replace(/[\uFEFF]/g,""))return!0;var o=1===e.parent.nodes.size&&1===e.leaves.length,i=!j&&o;if(t?(n.hasAttribute(Le)||n.setAttribute(Le,"n"),n.hasAttribute(Pe)||n.setAttribute(Pe,"0"),n.hasAttribute(Re)&&n.removeAttribute(Re,"true")):(n.hasAttribute(Le)&&n.removeAttribute(Le),n.hasAttribute(Pe)&&n.removeAttribute(Pe),n.hasAttribute(Re)||n.setAttribute(Re,"true")),i){var a=!1,s=!0,u=!1,c=void 0;try{for(var l,f=n.childNodes[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){if("BR"===l.value.tagName){a=!0;break}}}catch(e){u=!0,c=e}finally{try{!s&&f.return&&f.return()}finally{if(u)throw c}}a||n.appendChild(window.document.createElement("br"))}else{var d=!0,p=!1,h=void 0;try{for(var v,y=n.childNodes[Symbol.iterator]();!(d=(v=y.next()).done);d=!0){var g=v.value;"BR"===g.tagName&&n.removeChild(g)}}catch(e){p=!0,h=e}finally{try{!d&&y.return&&y.return()}finally{if(p)throw h}}}return!1}},{key:"componentDidMount",value:function(){this.forceUpdateFlag=!this.forceUpdateFlag}},{key:"componentDidUpdate",value:function(){this.forceUpdateFlag=!this.forceUpdateFlag}},{key:"render",value:function(){var e,t,n=this.props,r=n.decorations,i=n.node,a=n.index,s=n.offset,u=n.text,c=n.editor,l=n.parent,f=n.leaves,d=$e.stringify({key:i.key,index:a}),p=1===l.nodes.size&&1===f.length,h=""===u,v=!j&&p,y=(Ve(e={},Fe,!0),Ve(e,je,d),Ve(e,"key",this.forceUpdateFlag?"A":"B"),e),g=h?o.a.createElement("span",Ue({ref:this.ref},(Ve(t={},Le,"z"),Ve(t,Pe,0),t)),"\ufeff",v?o.a.createElement("br",null):null):o.a.createElement("span",Ue({ref:this.ref},Ve({},Re,!0)),u,v?o.a.createElement("br",null):null);if(""!==u){var m=!0,k=!1,x=void 0;try{for(var _,b=r[Symbol.iterator]();!(m=(_=b.next()).done);m=!0){var w=_.value,S=c.run("renderDecoration",{editor:c,decorations:r,node:i,offset:s,text:u,decoration:w,children:g,attributes:Ve({},Ie,"decoration")});S&&(g=S)}}catch(e){k=!0,x=e}finally{try{!m&&b.return&&b.return()}finally{if(k)throw x}}}return o.a.createElement("span",y,g)}}]),t}(o.a.Component),Ze=o.a.forwardRef((function(e,t){var n,r=e.decorations,i=e.node,a=e.parent,s=e.editor,u=e.style,c=i.key,l=i.getLeaves(r),f=0;return o.a.createElement("span",Ue({ref:t,style:u},(Ve(n={},Ie,i.object),Ve(n,Ne,c),n)),l.map((function(e,t){var n=e.text,r=f;return f+=n.length,o.a.createElement(Xe,{key:i.key+"-"+t,block:a,editor:s,index:t,decorations:e.decorations,node:i,offset:r,parent:a,leaves:l,text:n})})))})),Qe=function(e){function t(){var e,n,r;ze(this,t);for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return n=r=We(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.tmp={nodeRefs:{}},r.ref=o.a.createRef(),We(r,n)}return qe(t,e),Ge(t,[{key:"shouldComponentUpdate",value:function(e){return this.props.node!==e.node}},{key:"render",value:function(){var e,n=this,r=this.props,i=r.editor,a=r.node,s=r.parent,u=a.getDecorations(i),c=[];if(a.nodes.size>1||1===a.nodes.size&&" "!==a.nodes.first().text){var l=function(e){var r=c.length,s=function(e){e?n.tmp.nodeRefs[r]=e:delete n.tmp.nodeRefs[r]};if("inline"===e.object)c.push(o.a.createElement(t,{ref:s,key:e.key,editor:i,node:e,parent:a}));else{var l=u.map((function(e){return tt(a,r,e)})).filter((function(e){return e}));c.push(o.a.createElement(Ze,{ref:s,key:e.key,editor:i,node:e,parent:a,decorations:l}))}},f=!0,d=!1,p=void 0;try{for(var h,v=a.nodes[Symbol.iterator]();!(f=(h=v.next()).done);f=!0){l(h.value)}}catch(e){d=!0,p=e}finally{try{!f&&v.return&&v.return()}finally{if(d)throw p}}}var y=(Ve(e={},Ie,a.object),Ve(e,Ne,a.key),Ve(e,"ref",this.ref),e);return i.run("renderInline",{attributes:y,children:c,editor:i,node:a,parent:s})}}]),t}(o.a.Component),et=function(e){function t(){var e,n,r;ze(this,t);for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return n=r=We(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.tmp={nodeRefs:{}},r.ref=o.a.createRef(),We(r,n)}return qe(t,e),Ge(t,[{key:"shouldComponentUpdate",value:function(e){return this.props.node!==e.node}},{key:"render",value:function(){var e,n=this,r=this.props,i=r.editor,a=r.node,s=r.parent,u=a.getDecorations(i),c=[],l=function(e){var r=c.length,s=function(e){e?n.tmp.nodeRefs[r]=e:delete n.tmp.nodeRefs[r]};if("block"===e.object)c.push(o.a.createElement(t,{ref:s,key:e.key,editor:i,node:e,parent:a}));else if("inline"===e.object)c.push(o.a.createElement(Qe,{ref:s,key:e.key,editor:i,node:e,parent:a}));else{var l=u.map((function(e){return tt(a,r,e)})).filter((function(e){return e}));c.push(o.a.createElement(Ze,{ref:s,key:e.key,editor:i,node:e,parent:a,decorations:l}))}},f=!0,d=!1,p=void 0;try{for(var h,v=a.nodes[Symbol.iterator]();!(f=(h=v.next()).done);f=!0){l(h.value)}}catch(e){d=!0,p=e}finally{try{!f&&v.return&&v.return()}finally{if(d)throw p}}var y=(Ve(e={},Ie,a.object),Ve(e,Ne,a.key),Ve(e,"ref",this.ref),e);a.isLeafBlock()&&("rtl"===a.getTextDirection()&&(y.dir="rtl"));return i.run("renderBlock",{attributes:y,children:c,editor:i,node:a,parent:s})}}]),t}(o.a.Component);function tt(e,t,n){if(n.isUnset)return null;var r=e.nodes.get(t),o=n,i=o.start,a=o.end,s=i.path,u=a.path,c=s.first(),l=u.first();if(c===t)i=i.setPath(s.rest());else if(c<t&&t<=l)if("text"===r.object)i=i.moveTo(q.PathUtils.create([t]),0).setKey(r.key);else{var f=r.texts(),d=Je(f,1)[0],p=Je(d,2),h=p[0],v=p[1];i=i.moveTo(v,0).setKey(h.key)}else i=null;if(l===t)a=a.setPath(u.rest());else if(c<=t&&t<l)if("text"===r.object){var y=r.text.length;a=a.moveTo(q.PathUtils.create([t]),y).setKey(r.key)}else{var g=r.texts({direction:"backward"}),m=Je(g,1)[0],k=Je(m,2),x=k[0],_=k[1];a=a.moveTo(_,x.text.length).setKey(x.key)}else a=null;return i&&a?n=(n=n.setAnchor(i)).setFocus(a):null}var nt=function(e){function t(){var e,n,r;ze(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=We(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.tmp={nodeRefs:{}},We(r,n)}return qe(t,e),Ge(t,[{key:"shouldComponentUpdate",value:function(e){return this.props.node!==e.node}},{key:"render",value:function(){var e=this,t=this.props,n=t.editor,r=t.node,i=[],a=function(t){var a="text"===t.object?Ze:"block"===t.object?et:Qe,s=i.length;i.push(o.a.createElement(a,{key:t.key,editor:n,node:t,parent:r,ref:function(t){t?e.tmp.nodeRefs[s]=t:delete e.tmp.nodeRefs[s]}}))},s=!0,u=!1,c=void 0;try{for(var l,f=r.nodes[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){a(l.value)}}catch(e){u=!0,c=e}finally{try{!s&&f.return&&f.return()}finally{if(u)throw c}}return i}}]),t}(o.a.Component),rt=["auto","overlay","scroll"],ot=z&&!!window.navigator.userAgent.match(/os 11_/i);function it(e){if(!ot&&e.anchorNode){var t=J()(e.anchorNode),n=function(e,t){for(var n=e.parentNode,r=void 0;!r&&n.parentNode;){var o=t.getComputedStyle(n).overflowY;if(rt.includes(o)){r=n;break}n=n.parentNode}return r||t.document.body}(e.anchorNode,t),r=n===t.document.body||n===t.document.documentElement,o=Y()(e),i=e.getRangeAt(0).cloneRange();i.collapse(o);var a=i.getBoundingClientRect();M&&i.collapsed&&0===a.top&&0===a.height&&(0===i.startOffset?i.setEnd(i.endContainer,1):i.setStart(i.startContainer,i.startOffset-1),0===(a=i.getBoundingClientRect()).top&&0===a.height&&i.getClientRects().length&&(a=i.getClientRects()[0]));var s=void 0,u=void 0,c=void 0,l=void 0,f=0,d=0,p=0,h=0,v=0,y=0,g=0,m=0;if(r){s=t.innerWidth,u=t.innerHeight,c=t.pageYOffset,l=t.pageXOffset}else{var k=n.offsetWidth,x=n.offsetHeight,_=n.scrollTop,b=n.scrollLeft,w=t.getComputedStyle(n),S=w.borderTopWidth,A=w.borderBottomWidth,E=w.borderLeftWidth,O=w.borderRightWidth,C=w.paddingTop,T=w.paddingBottom,D=w.paddingLeft,B=w.paddingRight,N=n.getBoundingClientRect();s=k,u=x,f=N.top+parseInt(S,10),d=N.left+parseInt(E,10),p=parseInt(S,10)+parseInt(A,10),h=parseInt(E,10)+parseInt(O,10),v=parseInt(C,10),y=parseInt(T,10),g=parseInt(D,10),m=parseInt(B,10),c=_,l=b}var F=a.top+c-f,P=a.left+l-d,I=l,j=c;P<l?I=P-g:P+a.width+h>l+s&&(I=P+h+m-s),F<c?j=F-v:F+a.height+p>c+u&&(j=F+p+y+a.height-u),r?t.scrollTo(I,j):(n.scrollTop=j,n.scrollLeft=I)}}function at(e){if(R){var t=window.document.body.createTextRange();t.collapse(),t.select()}else e.removeAllRanges()}var st=/Permission denied to access property "nodeType"/,ut=X()("slate:content");ut.update=X()("slate:update");var ct=function(e){function t(){var e,n,r;ze(this,t);for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return n=r=We(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.tmp={isUpdatingSelection:!1,nodeRef:o.a.createRef(),nodeRefs:{},contentKey:0,nativeSelection:{}},r.ref=o.a.createRef(),r.setRef=function(e){r.ref.current=e,r.props.editor.el=e,r.props.domRef&&r.props.domRef(e)},r.handlers=Te.reduce((function(e,t){return e[t]=function(e){return r.onEvent(t,e)},e}),{}),r.updateSelection=function(){if(r.ref.current){var e=r.props.editor;if(!e.isComposing()||!U){var t=e.value.selection,n=t.isBackward,o=window.getSelection(),i=window.document.activeElement;if(ut.update.enabled&&ut.update("updateSelection",{selection:t.toJSON()}),o){var a=o.rangeCount,s=o.anchorNode,u=!1;t.isBlurred&&i===r.ref.current&&(r.ref.current.blur(),u=!0);var c=!0,l=!0,f=!1,d=void 0;try{for(var p,h=["anchorNode","anchorOffset","focusNode","focusOffset","isCollapsed","rangeCount","type"][Symbol.iterator]();!(l=(p=h.next()).done);l=!0){var v=p.value;r.tmp.nativeSelection[v]!==o[v]&&(c=!1)}}catch(e){f=!0,d=e}finally{try{!l&&h.return&&h.return()}finally{if(f)throw d}}if(t.isUnset&&a&&r.isInEditor(s)&&c&&(at(o),u=!0),t.isFocused&&i!==r.ref.current&&(r.ref.current.focus({preventScroll:!0}),u=!0),t.isFocused&&t.isSet){var y=!!o.rangeCount&&o.getRangeAt(0),g=lt(e,t);if(!g)return void ee(!1,"Unable to find a native DOM range from the current selection.");var m=g.startContainer,k=g.startOffset,x=g.endContainer,_=g.endOffset;if(y&&(m===y.startContainer&&k===y.startOffset&&x===y.endContainer&&_===y.endOffset||m===y.endContainer&&k===y.endOffset&&x===y.startContainer&&_===y.startOffset))return;u=!0,r.tmp.isUpdatingSelection=!0,at(o),o.setBaseAndExtent?n?o.setBaseAndExtent(g.endContainer,g.endOffset,g.startContainer,g.startOffset):o.setBaseAndExtent(g.startContainer,g.startOffset,g.endContainer,g.endOffset):o.addRange(g),!0===e.userActionPerformed()&&it(o),setTimeout((function(){j&&r.ref.current&&r.ref.current.focus(),r.tmp.isUpdatingSelection=!1,ut.update("updateSelection:setTimeout",{anchorOffset:window.getSelection().anchorOffset})}))}u&&(ut.enabled||ut.update.enabled)&&(ut("updateSelection",{selection:t,native:o,activeElement:i}),ut.update("updateSelection:applied",{selection:t.toJSON(),native:{anchorOffset:o.anchorOffset,focusOffset:o.focusOffset}}))}}}},r.isInEditor=function(e){var t=void 0;try{if(8===e.nodeType)return!1;t=3===e.nodeType?e.parentNode:e}catch(e){if(j&&st.test(e.message))return!1;throw e}return t.isContentEditable&&(t===r.ref.current||t.closest(Ke.EDITOR)===r.ref.current)},r.onNativeSelectionChange=ne()((function(e){if(!r.props.readOnly){var t=window.document.activeElement,n=window.getSelection();ut.update("onNativeSelectionChange",{anchorOffset:n.anchorOffset}),t===r.ref.current&&(r.tmp.nativeSelection={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset,isCollapsed:n.isCollapsed,rangeCount:n.rangeCount,type:n.type},r.props.onEvent("onSelect",e))}}),100),We(r,n)}return qe(t,e),Ge(t,[{key:"componentDidCatch",value:function(e,t){console.error("!!  COMPONENT DID CATCH"),console.error(e),console.error(t),ut("componentDidCatch",{error:e,info:t}),this.setState({})}},{key:"componentDidMount",value:function(){window.document.addEventListener("selectionchange",this.onNativeSelectionChange),U&&this.ref.current&&this.ref.current.addEventListener("beforeinput",this.handlers.onBeforeInput),this.updateSelection(),this.props.onEvent("onComponentDidMount")}},{key:"componentWillUnmount",value:function(){window&&window.document.removeEventListener("selectionchange",this.onNativeSelectionChange),U&&this.ref.current.removeEventListener("beforeinput",this.handlers.onBeforeInput),this.props.onEvent("onComponentWillUnmount")}},{key:"componentDidUpdate",value:function(){ut.update("componentDidUpdate"),this.updateSelection(),this.props.editor.clearUserActionPerformed(),this.props.onEvent("onComponentDidUpdate")}},{key:"onEvent",value:function(e,t){ut("onEvent",e);var n=t.nativeEvent||t,r="keydown"===t.type&&(de.isUndo(n)||de.isRedo(n));if(!this.tmp.isUpdatingSelection&&!r||"onSelect"!==e&&"onBlur"!==e&&"onFocus"!==e){if(!K&&"onSelect"===e){var o=this.props.editor,i=o.value.selection,a=window.getSelection(),s=o.findRange(a);if(s&&s.equals(i.toRange()))return void this.updateSelection()}if("onDragEnd"===e||"onDragEnter"===e||"onDragExit"===e||"onDragLeave"===e||"onDragOver"===e||"onDragStart"===e||"onDrop"===e)if(t.target.closest(Ke.EDITOR)!==this.ref.current)return;("onBeforeInput"!==e&&"onBlur"!==e&&"onCompositionEnd"!==e&&"onCompositionUpdate"!==e&&"onCompositionStart"!==e&&"onCopy"!==e&&"onCut"!==e&&"onFocus"!==e&&"onInput"!==e&&"onKeyDown"!==e&&"onKeyUp"!==e&&"onPaste"!==e&&"onSelect"!==e||this.isInEditor(t.target))&&this.props.onEvent(e,t)}}},{key:"render",value:function(){var e,n=this.props,r=this.handlers,i=n.id,a=n.className,s=n.readOnly,u=n.editor,c=n.tabIndex,l=n.role,f=n.tagName,d=n.spellCheck,p=n.onContextMenu,h=f,v=u.value.document,y=Ue({outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},s?{}:{WebkitUserModify:"read-write-plaintext-only"},n.style);ut("render",{props:n}),ut.update("render",this.tmp.contentKey,v.text),this.props.onEvent("onRender");var g=(Ve(e={},De,!0),Ve(e,Ne,v.key),e),m=oe()(this.props,Object.keys(t.__propTypes));return o.a.createElement(h,Ue({},m,{key:this.tmp.contentKey},r,g,{ref:this.setRef,contentEditable:!s||null,suppressContentEditableWarning:!0,id:i,className:a,autoCorrect:n.autoCorrect?"on":"off",spellCheck:d,style:y,role:s?null:l||"textbox",tabIndex:c,onContextMenu:p,"data-gramm":!!m["data-gramm"]&&void 0}),o.a.createElement(nt,{editor:u,node:v,ref:this.tmp.nodeRef}))}}]),t}(o.a.Component);function lt(e,t){try{return e.findDOMRange(t)}catch(e){console.error(e)}}ct.__propTypes={autoCorrect:Q.a.bool.isRequired,className:Q.a.string,contentKey:Q.a.number,editor:Q.a.object.isRequired,id:Q.a.string,onContextMenu:Q.a.func,onEvent:Q.a.func.isRequired,domRef:Q.a.func,readOnly:Q.a.bool.isRequired,role:Q.a.string,spellCheck:Q.a.bool.isRequired,style:Q.a.object,tabIndex:Q.a.number,tagName:Q.a.string},ct.defaultProps={style:{},tagName:"div"};var ft=[].concat(He(Te),["commands","decorateNode","queries","renderAnnotation","renderBlock","renderDecoration","renderDocument","renderEditor","renderInline","renderMark","schema"]);function dt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=ft.reduce((function(t,n){return n in e&&(t[n]=e[n]),t}),{});return t}function pt(){return{decorateNode:function(){return[]},renderAnnotation:function(e){var t=e.attributes,n=e.children;return o.a.createElement("span",t,n)},renderBlock:function(e){var t=e.attributes,n=e.children;return o.a.createElement("div",Ue({},t,{style:{position:"relative"}}),n)},renderDecoration:function(e){var t=e.attributes,n=e.children;return o.a.createElement("span",t,n)},renderDocument:function(e){return e.children},renderEditor:function(e){return e.children},renderInline:function(e){var t=e.attributes,n=e.children;return o.a.createElement("span",Ue({},t,{style:{position:"relative"}}),n)},renderMark:function(e){var t=e.attributes,n=e.children;return o.a.createElement("span",t,n)}}}function ht(e){return null==e?null:(null==e.closest&&(e=e.parentElement),e.hasAttribute(Ke.KEY)?e:e.closest(Ke.KEY))}function vt(e,t,n){try{return{failed:!1,value:n()}}catch(n){console.warn("Safely handling caught error, reconciling dom",n);var r=ht(t);if(null==r)return{failed:!0};var o=r.getAttribute(Ne),i=e.value.document.getNode(o);if(null==i)return{failed:!0};var a="block"===i.object?i:e.value.document.getClosestBlock(i.key);if(null==a)return{failed:!0};var s=e.value.document.nodes.indexOf(a),u=window.getSelection();if(null!=u&&u.isCollapsed&&a===i&&s>=0&&"DIV"===r.tagName&&1===r.childNodes.length&&(r.childNodes[0]===u.anchorNode||r===u.anchorNode)){console.log("    replacing entire line via dom text"),e.replaceNodeByKey(a.key,q.Block.create({type:"line",nodes:[q.Text.create({text:r.textContent})]}));var c={key:e.value.document.nodes.get(s).nodes.first().key,offset:u.anchorOffset};e.select(q.Range.create({anchor:c,focus:c}))}else console.log("    replacing entire line"),e.replaceNodeByKey(a.key,q.Block.create(a.toJSON()));return{failed:!0}}}function yt(e,t){var n=e.value,r=n.document,o=n.selection,i=r.getPath(t.key),a=e.findDOMNode(i),s=r.getClosestBlock(i),u=t.text,c=a.textContent,l=s.nodes.last()===t,f=c.charAt(c.length-1);if(l&&"\n"===f&&(c=c.slice(0,-1)),u.replace(/[\uFEFF\b]/g,"")!==c.replace(/[\uFEFF\b]/g,"")){var d=o.moveAnchorTo(i,0).moveFocusTo(i,u.length);d=r.resolveRange(d),console.warn("!!  Forced to reconcile dom node :(("),e.insertTextAtRange(d,c.replace(/[\uFEFF\b]/g,""),t.marks)}}function gt(e,t){return vt(e,t,(function(){var n=t.parentElement.closest("[data-key]"),r=e.findNode(n);yt(e,r)})).value}function mt(){return{commands:{reconcileNode:yt,reconcileDOMNode:gt}}}function kt(){function e(e,t){t=q.PathUtils.create(t);var n=e.tmp.contentRef.current;if(!n)return null;if(!t.size)return n.ref.current||null;return function e(t,n){if(!t)return null;if(!n.size)return t.ref?t.ref.current||null:t||null;var r=n.first(),o=n.rest();return e(t.tmp.nodeRefs[r],o)}(n.tmp.nodeRef.current,t)}function t(t,n){var r=e(t,n.path),o=0;if(!r)return null;var i=Array.from(r.querySelectorAll(Ke.STRING+", "+Ke.ZERO_WIDTH)),a=!0,s=!1,u=void 0;try{for(var c,l=i[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value,d=f.childNodes[0],p=d.textContent.length,h=p;f.hasAttribute(Pe)&&(h=parseInt(f.getAttribute(Pe),10));var v=o+h;if(n.offset<=v)return{node:d,offset:Math.min(p,Math.max(0,n.offset-o))};o=v}}catch(e){s=!0,u=e}finally{try{!a&&l.return&&l.return()}finally{if(s)throw u}}return null}function n(e,t){var n=e.tmp.contentRef.current,r=t;r.hasAttribute(Ne)||(r=r.closest(Ke.KEY));var o=null==r?null:r.getAttribute(Ne);if(!r||!o)return null;if(r===n.ref.current)return q.PathUtils.create([]);var i=e.value.document.getPath(o);if(i)return i;var a=function e(t,n){if(r===t)return n;if(!t.ref)return null;if(r===t.ref.current)return n;if(!t.tmp)return null;var o=t.tmp.nodeRefs,i=Object.keys(o),a=!0,s=!1,u=void 0;try{for(var c,l=i[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value,d=o[f],p=parseInt(f,10),h=e(d,[].concat(He(n),[p]));if(h)return h}}catch(e){s=!0,u=e}finally{try{!a&&l.return&&l.return()}finally{if(s)throw u}}return null}(n.tmp.nodeRef.current,[]);return a?q.PathUtils.create(a):null}function r(e,t,r){var o=function(e,t){if(1===e.nodeType&&e.childNodes.length){var n=0===t,r=n?"forward":"backward";for(e=xt(e,n?t:t-1,r);1===e.nodeType&&e.childNodes.length;){var o=n?0:e.childNodes.length-1;e=xt(e,o,r)}t=n?0:e.textContent.length}return{node:e,offset:t}}(t,r),i=o.node,a=o.offset,s=J()(t),u=i.parentNode,c=u.closest(Ke.LEAF),l=void 0,f=void 0,d=void 0;if(c){l=c.closest(Ke.TEXT);var p=s.document.createRange();p.setStart(l,0),p.setEnd(i,a);var h=p.cloneContents(),v=h.querySelectorAll(Ke.ZERO_WIDTH);Array.from(v).forEach((function(e){e.parentNode.removeChild(e)})),f=h.textContent.length,d=l}else{var y=u.closest(Ke.VOID);if(!y)return null;if(!(c=y.querySelector(Ke.LEAF)))return null;l=c.closest(Ke.TEXT),f=(d=c).textContent.length}f===d.textContent.length&&u.hasAttribute(Le)&&f--;var g=n(e,l);return g?e.value.document.createPoint({path:g,offset:f}):null}function o(e,t){var n=t.anchorNode||t.startContainer;if(!n)return null;var o=J()(n);(t instanceof o.Range||o.StaticRange&&t instanceof o.StaticRange)&&(t={anchorNode:t.startContainer,anchorOffset:t.startOffset,focusNode:t.endContainer,focusOffset:t.endOffset});var i=t,a=i.anchorNode,s=i.anchorOffset,u=i.focusNode,c=i.focusOffset,l=i.isCollapsed,f=e.value,d=r(e,a,s),p=l?d:r(e,u,c);return d&&p?f.document.createRange({anchor:d,focus:p}):null}return{queries:{findDOMNode:e,findDOMPoint:t,findDOMRange:function(e,n){var r=n.anchor,o=n.focus,i=n.isBackward,a=n.isCollapsed,s=t(e,r),u=a?s:t(e,o);if(!s||!u)return null;var c=J()(s.node).document.createRange(),l=i?u:s,f=i?s:u;return c.setStart(l.node,l.offset),c.setEnd(f.node,f.offset),c},findEventRange:function(e,t){t.nativeEvent&&(t=t.nativeEvent);var r=t,i=r.clientX,a=r.clientY,s=r.target;if(null==i||null==a)return null;var u=e.value.document,c=n(e,t.target);if(!c)return null;var l=u.getNode(c);if(e.isVoid(l)){var f=s.getBoundingClientRect(),d="inline"===l.object?i-f.left<f.left+f.width-i:a-f.top<f.top+f.height-a,p=u.createRange(),h=d?"moveToEndOfNode":"moveToStartOfNode",v=u[d?"getPreviousText":"getNextText"](c);return v?p[h](v):null}var y=J()(s),g=void 0;if(y.document.caretRangeFromPoint)g=y.document.caretRangeFromPoint(i,a);else if(y.document.caretPositionFromPoint){var m=y.document.caretPositionFromPoint(i,a);(g=y.document.createRange()).setStart(m.offsetNode,m.offset),g.setEnd(m.offsetNode,m.offset)}else if(y.document.body.createTextRange){g=y.document.body.createTextRange();try{g.moveToPoint(i,a)}catch(e){return null}}return o(e,g)},findNode:function(e,t){var r=n(e,t);return r?e.value.document.getNode(r):null},findPath:n,findPoint:r,findRange:o,findSelection:function(e,t){var n=e.value,r=n.document;if(!t.rangeCount)return null;var i=o(e,t);if(!i)return null;var a=i,s=a.anchor,u=a.focus,c=r.getNode(s.path),l=r.getNode(u.path),f=r.getClosestInline(s.path),d=r.getClosestInline(u.path),p=r.getClosestBlock(u.path),h=r.getClosestBlock(s.path);if(h&&!e.isVoid(h)&&0===s.offset&&p&&e.isVoid(p)&&0!==u.offset&&(i=i.setFocus(u.setOffset(0))),f&&!e.isVoid(f)&&s.offset===c.text.length){var v=r.getClosestBlock(s.path),y=r.getDepth(v.key),g=q.PathUtils.drop(s.path,y),m=v.texts({path:g}),k=Je(m,1)[0];if(k){var x=Je(k,2)[1],_=s.path.slice(0,y).concat(x);i=i.moveAnchorTo(_,0)}}if(d&&!e.isVoid(d)&&u.offset===l.text.length){var b=r.getClosestBlock(u.path),w=r.getDepth(b.key),S=q.PathUtils.drop(u.path,w),A=b.texts({path:S}),E=Je(A,1)[0];if(E){var O=Je(E,2)[1],C=u.path.slice(0,w).concat(O);i=i.moveFocusTo(C,0)}}var T=r.createSelection(i);return T=(T=T.setIsFocused(!0)).set("marks",n.selection.marks)}}}}function xt(e,t,n){for(var r=e.childNodes,o=r[t],i=t,a=!1,s=!1;(8===o.nodeType||1===o.nodeType&&0===o.childNodes.length||1===o.nodeType&&"false"===o.getAttribute("contenteditable"))&&(!a||!s);)i>=r.length?(a=!0,i=t-1,n="backward"):i<0?(s=!0,i=t+1,n="forward"):(o=r[i],"forward"===n&&i++,"backward"===n&&i--);return o||null}var _t={FRAGMENT:"application/x-slate-fragment",HTML:"text/html",NODE:"application/x-slate-node",RICH:"text/rtf",TEXT:"text/plain"},bt=_t.FRAGMENT,wt=_t.HTML,St=_t.TEXT;function At(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};Object(me.default)(!q.Value.isValue(t),"As of Slate 0.42.0, the `cloneFragment` utility takes an `editor` instead of a `value`.");var r=J()(e.target),o=r.getSelection(),i=t.value,a=i.document,s=i.fragment,u=i.selection,c=u.start,l=u.end,f=a.getClosestVoid(c.path,t),d=a.getClosestVoid(l.path,t);if(!o.isCollapsed||f){var p=ye.serializeNode(s),h=o.getRangeAt(0),v=h.cloneContents(),y=v.childNodes[0];if(v.childNodes.forEach((function(e){e.textContent&&""!==e.textContent.trim()&&(y=e)})),d){var g=h.cloneRange(),m=a.getPath(d.key);if(m){var k=t.findDOMNode(m);g.setEndAfter(k),v=g.cloneContents()}}if(f&&(y=v.childNodes[0].childNodes[1].firstChild),[].slice.call(v.querySelectorAll(Ke.ZERO_WIDTH)).forEach((function(e){var t="n"===e.getAttribute(Le);e.textContent=t?"\n":""})),3===y.nodeType){var x=r.document.createElement("span");x.style.whiteSpace="pre",x.appendChild(y),v.appendChild(x),y=x}y.setAttribute(Be,p);var _=q.Value.create({document:s}),b=ge.default.serialize(_),w=r.document.createElement("div");if(w.appendChild(v),e.clipboardData&&e.clipboardData.setData&&!R)return e.preventDefault(),e.clipboardData.setData(St,b),e.clipboardData.setData(bt,p),e.clipboardData.setData(wt,w.innerHTML),void n();var S=e.target.closest(Ke.EDITOR);w.setAttribute("contenteditable",!0),w.style.position="absolute",w.style.left="-9999px",S.appendChild(w),o.selectAllChildren(w),r.requestAnimationFrame((function(){S.removeChild(w),at(o),o.addRange(h),n()}))}}var Et=_t.FRAGMENT,Ot=_t.HTML,Ct=_t.NODE,Tt=_t.RICH,Dt=_t.TEXT,Bt=/ data-slate-fragment="([^\s"]+)"/;function Nt(e){!R&&e.nativeEvent&&(e=e.nativeEvent);var t=e.dataTransfer||e.clipboardData,n=Ft(t,Et),r=Ft(t,Ct),o=Ft(t,Ot),i=Ft(t,Tt),a=Ft(t,Dt),s=void 0;if(!n&&o&&~o.indexOf(" "+Be+'="')){var u=Bt.exec(o),c=Je(u,2),l=(c[0],c[1]);l&&(n=l)}if(a){var f=function(e){var t="SLATE-DATA-EMBED::";if(e.substring(0,t.length)!==t)return{TEXT:e};try{return JSON.parse(e.substring(t.length))}catch(e){throw new Error("Unable to parse custom Slate drag event data.")}}(a);f[Et]&&(n=f[Et]),f[Ct]&&(r=f[Ct]),f[Dt]&&(a=f[Dt])}n&&(n=ye.deserializeNode(n)),r&&(r=ye.deserializeNode(r));try{t.items&&t.items.length?s=Array.from(t.items).map((function(e){return"file"===e.kind?e.getAsFile():null})).filter((function(e){return e})):t.files&&t.files.length&&(s=Array.from(t.files))}catch(e){t.files&&t.files.length&&(s=Array.from(t.files))}var d={files:s,fragment:n,html:o,node:r,rich:i,text:a};return d.type=function(e){return e.fragment?"fragment":e.node?"node":e.rich&&e.html?"html":e.rich&&e.text?"text":e.files&&e.files.length?"files":e.html?"html":e.text?"text":"unknown"}(d),d}function Ft(e,t){return e.types&&e.types.length?-1!==Array.from(e.types).indexOf(t)&&e.getData(t)||null:t===Dt&&e.getData("Text")||null}var Pt=_t.TEXT;function It(e,t,n){var r=_t[t.toUpperCase()];if(!r)throw new Error('Cannot set unknown transfer type "'+r+'".');e.nativeEvent&&(e=e.nativeEvent);var o=e.dataTransfer||e.clipboardData;try{o.setData(r,n),o.setData("text",o.getData("text"))}catch(e){var i="SLATE-DATA-EMBED::",a=o.getData(Pt),s={};if(a.substring(0,i.length)===i)try{s=JSON.parse(a.substring(i.length))}catch(e){throw new Error("Failed to parse Slate data from `DataTransfer` object.")}else s[Pt]=a;s[r]=n;var u=""+i+JSON.stringify(s);o.setData(Pt,u)}}var jt=X()("slate:after");function Mt(){var e=null,t=!1;return{onBeforeInput:function(e,t,n){var r=t.value,o=e.getTargetRanges(),i=Je(o,1)[0];if(!i)return n();jt("onBeforeInput",{event:e}),e.preventDefault();var a=r.document,s=r.selection,u=t.findRange(i);switch(e.inputType){case"deleteByDrag":case"deleteByCut":case"deleteContent":case"deleteContentBackward":case"deleteContentForward":t.deleteAtRange(u);break;case"deleteWordBackward":t.deleteWordBackwardAtRange(u);break;case"deleteWordForward":t.deleteWordForwardAtRange(u);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":t.deleteLineBackwardAtRange(u);break;case"deleteSoftLineForward":case"deleteHardLineForward":t.deleteLineForwardAtRange(u);break;case"insertLineBreak":case"insertParagraph":a.hasVoidParent(s.start.path,t)?t.moveToStartOfNextText():t.splitBlockAtRange(u);break;case"insertFromYank":case"insertReplacementText":case"insertText":var c=null==e.data?e.dataTransfer.getData("text/plain"):e.data;if(null==c)break;t.insertTextAtRange(u,c,s.marks),s.marks&&r.document!==t.value.document&&t.select({marks:null})}n()},onBlur:function(e,t,n){jt("onBlur",{event:e}),t.blur(),n()},onClick:function(e,t,n){if(t.readOnly)return n();var r=t.value.document,o=t.findPath(e.target);if(!o)return n();jt("onClick",{event:e});var i=r.getNode(o),a=r.getAncestors(o);i&&(t.isVoid(i)||a.some((function(e){return t.isVoid(e)})))&&t.focus().moveToEndOfNode(i),n()},onCopy:function(e,t,n){jt("onCopy",{event:e}),At(e,t),n()},onCut:function(e,t,n){jt("onCut",{event:e}),At(e,t,(function(){var e=t.value,n=e.document,r=e.selection,o=r.end,i=void 0;if(r.isCollapsed){var a=!0,s=!1,u=void 0;try{for(var c,l=n.ancestors(o.path)[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value,d=Je(f,2),p=d[0],h=d[1];if(t.isVoid(p)){i=h;break}}}catch(e){s=!0,u=e}finally{try{!a&&l.return&&l.return()}finally{if(s)throw u}}}i?t.removeNodeByKey(i):t.delete()})),n()},onDragEnd:function(t,n,r){jt("onDragEnd",{event:t}),e=null,r()},onDragStart:function(t,n,r){jt("onDragStart",{event:t}),e=!0;var o=n.value,i=o.document,a=n.findPath(t.target),s=i.getNode(a),u=i.getAncestors(a),c=s&&(n.isVoid(s)||u.some((function(e){return n.isVoid(e)}))),l=o.blocks.some((function(e){return e===s}));c&&!l&&n.moveToRangeOfNode(s);var f=n.value.fragment;It(t,"fragment",ye.serializeNode(f)),r()},onDrop:function(t,n,r){var o=n.value,i=o.document,a=o.selection,s=J()(t.target),u=n.findEventRange(t);if(!u)return r();jt("onDrop",{event:t});var c=Nt(t),l=c.type,f=c.fragment,d=c.text;n.focus();var p=n.findDOMNode(u.focus.path);p&&p.dispatchEvent(new MouseEvent("mouseup",{view:s,bubbles:!0,cancelable:!0}));var h=a;if(n.select(u),e&&n.deleteAtRange(h),"text"===l||"html"===l){var v=u.anchor,y=i.hasVoidParent(v.path,n);if(y){for(var g=v.path,m=i.getNode(v.path);y;){var k=i.texts({path:g}),x=Je(k,1)[0];if(!x)break;var _=Je(x,2);m=_[0],g=_[1],y=i.hasVoidParent(g,n)}m&&n.moveToStartOfNode(m)}d&&d.split("\n").forEach((function(e,t){t>0&&n.splitBlock(),n.insertText(e)}))}"fragment"===l&&n.insertFragment(f),r()},onFocus:function(e,n,r){jt("onFocus",{event:e}),!t||R||L?n.focus():n.deselect().focus(),r()},onInput:function(e,t,n){jt("onInput");var r=J()(e.target),o=r.getSelection(),i=t.findSelection(o);i?t.select(i):t.blur(),r.ENABLE_SLATE_LOGGING&&console.log("    flush selAfterOnInput:",JSON.stringify(t.value.selection.toJSON()));var a=o.anchorNode;t.reconcileDOMNode(a),r.ENABLE_SLATE_LOGGING&&console.log("    flush selAfterReconci:",JSON.stringify(t.value.selection.toJSON())),r.ENABLE_SLATE_LOGGING&&console.log("    editor: len: "+t.value.document.text.length+" selSlate: "+t.value.selection.anchor.offset+" selNative: "+r.getSelection().anchorOffset+" document: "+JSON.stringify(t.value.document.toJSON())),n()},onKeyDown:function(e,t,n){jt("onKeyDown",{event:e});var r=t.value,o=r.document,i=r.selection,a=i.start,s=o.getClosestBlock(a.path),u=null!=s&&"rtl"===s.getTextDirection();return de.isDeleteBackward(e)&&!z?t.deleteCharBackward():de.isDeleteForward(e)&&!z?t.deleteCharForward():de.isDeleteLineBackward(e)?t.deleteLineBackward():de.isDeleteLineForward(e)?t.deleteLineForward():de.isDeleteWordBackward(e)?t.deleteWordBackward():de.isDeleteWordForward(e)?t.deleteWordForward():de.isRedo(e)?t.redo():de.isUndo(e)?t.undo():de.isMoveLineBackward(e)?(e.preventDefault(),u?t.moveToEndOfBlock():t.moveToStartOfBlock()):de.isMoveLineForward(e)?(e.preventDefault(),u?t.moveToStartOfBlock():t.moveToEndOfBlock()):de.isExtendLineBackward(e)?(e.preventDefault(),u?t.moveFocusToEndOfBlock():t.moveFocusToStartOfBlock()):de.isExtendLineForward(e)?(e.preventDefault(),u?t.moveFocusToStartOfBlock():t.moveFocusToEndOfBlock()):de.isMoveBackward(e)?(e.preventDefault(),i.isCollapsed?u?t.moveForward():t.moveBackward():u?t.moveToEnd():t.moveToStart()):de.isMoveForward(e)?(e.preventDefault(),i.isCollapsed?u?t.moveBackward():t.moveForward():u?t.moveToStart():t.moveToEnd()):de.isMoveWordBackward(e)?(e.preventDefault(),u?t.moveWordForward():t.moveWordBackward()):de.isMoveWordForward(e)?(e.preventDefault(),u?t.moveWordBackward():t.moveWordForward()):!u&&de.isExtendBackward(e)||u&&de.isExtendForward(e)?(e.preventDefault(),t.moveFocusBackward()):!u&&de.isExtendForward(e)||u&&de.isExtendBackward(e)?(e.preventDefault(),t.moveFocusForward()):void n()},onMouseDown:function(e,n,r){jt("onMouseDown",{event:e}),t=!0,r()},onMouseUp:function(e,n,r){jt("onMouseUp",{event:e}),t=!1,r()},onPaste:function(e,t,n){jt("onPaste",{event:e});var r=t.value,o=Nt(e),i=o.type,a=o.fragment,s=o.text;if("fragment"===i&&t.insertFragment(a),"text"===i||"html"===i){if(!s)return n();var u=r.document,c=r.selection,l=r.startBlock;if(t.isVoid(l))return n();var f=l,d=u.getInsertMarksAtRange(c),p=ge.default.deserialize(s,{defaultBlock:f,defaultMarks:d}).document;t.insertFragment(p)}n()},onSelect:function(e,n,r){jt("onSelect",{event:e});var o=J()(e.target),i=o.getSelection(),a=n.findSelection(i);o.ENABLE_SLATE_LOGGING&&i&&n.value.selection.anchor&&a&&a.anchor&&console.log("!! onSelect domOffset:"+i.anchorOffset+" oldSlate: "+n.value.selection.anchor.offset+" newSlate: "+a.anchor.offset),a?n.select(a):n.blur(),t=!1,r()}}}function Rt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;q.Node.isNode(e)&&(e=e.key);var n=t.document.querySelector("["+Ne+'="'+e+'"]');if(!n)throw new Error('Unable to find a DOM node for "'+e+'". This is often because of forgetting to add `props.attributes` to a custom component.');return n}var Lt=X()("slate:before");function Kt(){var e=null,t=!1,n=!1,r=!1,o=!1,i=null,a=null;function s(e){window.ENABLE_SLATE_LOGGING&&console.log("!! syncDomToSlateAst");var t=i||[];if(i=null,f(e,t),0===t.length)return!1;var n=window.getSelection(),r=n.anchorNode,o=n.anchorOffset;window.ENABLE_SLATE_LOGGING&&console.log("    textNode: "+r.textContent+" "+r.textContent.length);var a=!1,s=function(t){vt(e,t,(function(){return function(e,t){var n=t.getAttribute(Ne);t=Rt(n);var r=e.value.document.getPath(n),o=e.value.document.getNode(n);(function(e,t){var n=t.querySelectorAll(Ke.STRING+", "+Ke.ZERO_WIDTH),r=!0,o=!1,i=void 0;try{for(var a,s=n[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value,c=u.hasAttribute(Re),l=u.hasAttribute(Le);if(c||l){var f=u.textContent.indexOf("\ufeff")>=0;(c&&f||l&&"\ufeff"!==u.textContent)&&(window.ENABLE_SLATE_LOGGING&&console.log("    REPLACING "+u.childNodes.length),function e(t,n){var r=!0,o=!1,i=void 0;try{for(var a,s=t.childNodes[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;1===u.nodeType?e(u,n):3===u.nodeType&&n(u)}}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}}(u,(function(e){for(;;){var t=e.textContent.indexOf("\ufeff");if(-1===t)break;e.deleteData(t,1)}})),u.removeAttribute(Le),u.removeAttribute(Pe))}}}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}})(0,t),window.ENABLE_SLATE_LOGGING&&console.log("    slateDomSpan: "+t.textContent+" "+t.textContent.length);window.ENABLE_SLATE_LOGGING&&console.log("    slateAstNode: "+o.text+" "+o.text.length);window.ENABLE_SLATE_LOGGING&&console.log("    flush selBeforeInsert:",JSON.stringify(e.value.selection.toJSON()));window.ENABLE_SLATE_LOGGING&&console.log("    editor: len: "+e.value.document.text.length+" selSlate: "+e.value.selection.anchor.offset+" selNative: "+window.getSelection().anchorOffset+" document: "+JSON.stringify(e.value.document.toJSON()));var i=t.textContent.replace(/[\uFEFF\b]/g,"");!function(e,t,n,r){var o=t.text;if(r===o)return;var i=t.key,a=function(e,t){for(var n=0;n<e.length&&n<t.length;n++)if(e[n]!==t[n])return n;return Math.min(e.length,t.length)}(r,o),s=function(e,t){for(var n=e.length,r=t.length,o=0;o<n&&o<r;o++)if(e[n-o-1]!==t[r-o-1])return o;return Math.min(n,r)}(r.substring(a),o.substring(a));if(a+s!==o.length)e.insertTextAtRange(q.Range.create({anchor:{path:n,key:i,offset:0},focus:{path:n,key:i,offset:t.text.length}}),r);else{var u=r.substring(a,r.length-s);e.controller.fastInsertText(n,a,u,null)}}(e,o,r,i)}(e,t)})).failed&&(a=!0)},u=!0,c=!1,l=void 0;try{for(var d,p=t[Symbol.iterator]();!(u=(d=p.next()).done);u=!0){s(d.value)}}catch(e){c=!0,l=e}finally{try{!u&&p.return&&p.return()}finally{if(c)throw l}}return window.ENABLE_SLATE_LOGGING&&console.log("    flush selAfterInsert :",JSON.stringify(e.value.selection.toJSON())),window.ENABLE_SLATE_LOGGING&&console.log("    editor: len: "+e.value.document.text.length+" selSlate: "+e.value.selection.anchor.offset+" selNative: "+o+" document: "+JSON.stringify(e.value.document.toJSON())),a?void 0:(vt(e,r,(function(){return function(e,t,n){var r=Math.min(t.textContent.length,n),o=e.findPoint(t,r);if(null==o)throw Error("Unable to translate dom position to slate position!");(function(e,t,n,r){var o=e.value.selection;if(!o.isCollapsed||o.anchor.key!==n||o.anchor.offset!==r){var i={path:t,key:n,offset:r};e.select(q.Range.create({anchor:i,focus:i}))}})(e,o.path,o.key,o.offset),window.ENABLE_SLATE_LOGGING&&console.log("    flush selAfterSelect1:",JSON.stringify(e.value.selection.toJSON()));!function(e,t){var n=window.getSelection();null!=n&&n.anchorNode===e&&n.focusNode===e&&n.anchorOffset===t&&n.focusOffset===t||n.collapse(e,t)}(t,r)}(e,r,o)})),window.ENABLE_SLATE_LOGGING&&console.log("    flush selAfterSelect2:",JSON.stringify(e.value.selection.toJSON())),gt(e,r),window.ENABLE_SLATE_LOGGING&&console.log("    flush selAfterReconci:",JSON.stringify(e.value.selection.toJSON())),window.ENABLE_SLATE_LOGGING&&console.log("    editor: len: "+e.value.document.text.length+" selSlate: "+e.value.selection.anchor.offset+" selNative: "+window.getSelection().anchorOffset+" document: "+JSON.stringify(e.value.document.toJSON())),!0)}function u(e){i||(i=[]),f(e,i)}function c(){var e=window.getSelection();a=null==e?null:e.anchorNode}function l(){return t&&(null==a&&(t=!1),window.document.body.contains(a)||(console.warn("Aborting composition because previously selection node is no longer in the dom!"),t=!1)),t}function f(e,t){var n=ht(window.getSelection().anchorNode);-1===t.indexOf(n)&&t.push(n)}return{onBeforeInput:function(e,t,n){if(t.ensureSelection(),window.ENABLE_SLATE_LOGGING&&console.log("!! onBeforeInput with data:"+JSON.stringify(e.data)+" inputType:"+e.inputType+" has2:"+U+" isSynthetic:"+!!e.nativeEvent),!l()){var r=!!e.nativeEvent;if(!t.readOnly&&(o=!0,!r||!U))if(r){var i=t.value.selection.isCollapsed;i||t.delete();var a=(e.data||"").replace(/\n\r/g,"\n").replace(/\r/g,"\n"),s=a.indexOf("\n")>=0;if(i&&!s)u(t);else if(e.preventDefault(),s){var c=a.split("\n");c.map((function(e,n){0!==e.length&&(window.ENABLE_SLATE_LOGGING&&console.log("    insert: |"+JSON.stringify(e)+"|"),t.insertText(e,null,!1)),n!==c.length-1&&(window.ENABLE_SLATE_LOGGING&&console.log("    inserting line break"),t.splitBlock())}))}else t.insertText(e.data,null,!1)}else Lt("onBeforeInput",{event:e}),n()}},onBlur:function(t,r,o){if(!n&&!r.readOnly){var i=t.relatedTarget,a=t.target,s=J()(a);if(e!==s.document.activeElement){if(i){var u=r.findDOMNode([]);if(i===u)return;if(i.hasAttribute(Me))return;var c=r.findNode(i);if(null!=u&&u.contains(i)&&c&&!r.isVoid(c))return}Lt("onBlur",{event:t}),o()}}},onClick:function(e,t,n){Lt("onClick",{event:e}),o=!0,n()},onCompositionEnd:function(e,n,r){window.ENABLE_SLATE_LOGGING&&console.log("!! onCompositionEnd isComposing:"+t),o=!0,t=!1,c(),u(n),s(n),Lt("onCompositionEnd",{event:e}),r()},onCompositionUpdate:function(){window.ENABLE_SLATE_LOGGING&&console.log("!! onCompositionUpdate isComposing:"+t),t=!0,c()},onCompositionStart:function(e,n,r){n.ensureSelection(),window.ENABLE_SLATE_LOGGING&&console.log("!! onCompositionStart isComposing:"+t+" isCollapsed:"+n.value.selection.isCollapsed),t=!0;var i=n.value.selection;o=!0,i.isCollapsed||n.delete(),c(),u(n),Lt("onCompositionStart",{event:e}),r()},onCopy:function(e,t,r){var o=J()(e.target);n=!0,o.requestAnimationFrame((function(){return n=!1})),Lt("onCopy",{event:e}),r()},onCut:function(e,t,r){if(!t.readOnly){var o=J()(e.target);n=!0,o.requestAnimationFrame((function(){return n=!1})),Lt("onCut",{event:e}),r()}},onDragEnd:function(e,t,n){r=!1,Lt("onDragEnd",{event:e}),n()},onDragEnter:function(e,t,n){Lt("onDragEnter",{event:e}),n()},onDragExit:function(e,t,n){Lt("onDragExit",{event:e}),n()},onDragLeave:function(e,t,n){Lt("onDragLeave",{event:e}),n()},onDragOver:function(e,t,n){var o=t.findNode(e.target);o&&!t.isVoid(o)||e.preventDefault(),R&&e.preventDefault(),r||(r=!0,R||(e.nativeEvent.dataTransfer.dropEffect="move")),Lt("onDragOver",{event:e}),n()},onDragStart:function(e,t,n){r=!0,Lt("onDragStart",{event:e}),n()},onDrop:function(e,t,n){t.readOnly||(o=!0,e.preventDefault(),Lt("onDrop",{event:e}),n())},onFocus:function(t,r,o){if(!n&&!r.readOnly){var i=r.findDOMNode([]),a=J()(t.target);e=a.document.activeElement,j&&null!=t&&null!=i&&t.target!==i?i.focus():(Lt("onFocus",{event:t}),o())}},onInput:function(e,n,r){if(n.ensureSelection(),window.ENABLE_SLATE_LOGGING&&console.log("!! onInput isComposing:"+t+" hasOp:"+!!i),l()){if(U)return;return u(n),void s(n)}s(n)||n.value.selection.isBlurred||(o=!0,Lt("onInput",{event:e}),r())},onKeyDown:function(e,n,r){if(!n.readOnly)if(n.ensureSelection(),window.ENABLE_SLATE_LOGGING&&console.log("!! onKeyDown isComposing:"+t+" hasOp:"+!!i+" mods:"+(e.ctrlKey?"ctrl-":"")+(e.altKey?"alt-":"")+(e.shiftKey?"shift-":"")+(e.metaKey?"meta-":"")+" key:"+e.key+" which:"+e.which),l())de.isCompose(e)&&e.preventDefault();else{if(!(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||null==e.key))switch(e.key.toLowerCase()){case"arrowdown":case"arrowleft":case"arrowright":case"arrowup":case"pageup":case"pagedown":case"backspace":case"delete":case"insert":case"home":case"end":case"enter":case"tab":case"space":break;default:return}!z&&(de.isBold(e)||de.isDeleteBackward(e)||de.isDeleteForward(e)||de.isDeleteLineBackward(e)||de.isDeleteLineForward(e)||de.isDeleteWordBackward(e)||de.isDeleteWordForward(e)||de.isItalic(e)||de.isRedo(e)||de.isTransposeCharacter(e)||de.isUndo(e))&&e.preventDefault(),o=!0,Lt("onKeyDown",{event:e}),r()}},onPaste:function(e,t,n){t.readOnly||(o=!0,e.preventDefault(),Lt("onPaste",{event:e}),n())},onSelect:function(t,r,i){if(!n&&!(r.readOnly||l()&&U)){var a=J()(t.target);e=a.document.activeElement,o=!0,Lt("onSelect",{event:t}),i()}},queries:{userActionPerformed:function(){return o},isComposing:l},commands:{clearUserActionPerformed:function(){return o=!1,null}}}}function zt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.plugins,n=void 0===t?[]:t;return[Kt()].concat(He(n),[Mt()])}function Gt(e){var t=e.nativeEvent||e;switch(t.type){case"keydown":return t.type+" "+JSON.stringify(t.key);case"input":case"beforeinput":case"textInput":return t.type+":"+t.inputType+" "+JSON.stringify(t.data);default:return t.type}}var Vt=X()("slate:events");function Ut(){var e={},t=!0,n=!1,r=void 0;try{for(var o,i=Te[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){e[o.value]=function(e,t,n){var r=Gt(e);Vt(r),n()}}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}return e}var qt=X()("slate:batch-events");function Wt(){var e=null,t=null,n=[];function r(){qt("\n"+n.join("\n")),n.length=0}function o(o){0===n.length&&(e=new Date);var i=Gt(o),a=new Date;n.push("- "+(a-e)+" - "+i),clearTimeout(t),t=setTimeout(r,2e3)}var i={},a=!0,s=!1,u=void 0;try{for(var c,l=Te[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){i[c.value]=function(e,t,n){o(e),n()}}}catch(e){s=!0,u=e}finally{try{!a&&l.return&&l.return()}finally{if(s)throw u}}return i}var Jt=X()("slate:mutations"),Ht=["type","oldValue","target","addedNodes","removedNodes","attributeName","attributeNamespace","nextSibling","previousSibling"];function Yt(e){if(e.nodeType===window.Node.TEXT_NODE)return e.textContent;if(e.nodeType===window.Node.ELEMENT_NODE){var t=e.outerHTML,n=e.innerHTML;return null==t?JSON.stringify(e.textContent):t.slice(0,t.indexOf(n))}return"Node(type="+e.nodeType}function $t(){var e=new window.MutationObserver((function(e){var t=Array.from(e).map((function(e){var t={};return Ht.forEach((function(n){var r=e[n];if(null!=r)if(r instanceof window.NodeList){if(0===r.length)return;t[n]=Array.from(r).map(Yt).join(", ")}else r instanceof window.Node&&(r=Yt(r)),t[n]=r})),t}));Jt.apply(void 0,[t.length+" Mutations"].concat(He(t)))})),t=null;function n(n,r,o){var i=r.findDOMNode([]);if(i===t)return o();Jt("start"),e.observe(i,{childList:!0,characterData:!0,attributes:!0,subtree:!0,characterDataOldValue:!0}),t=i,o()}return{onComponentDidMount:n,onComponentDidUpdate:n,onComponentWillUnmount:function(n,r,o){Jt("stop"),e.disconnect(),t=null,o()}}}function Xt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.placeholder,n=void 0===t?"":t,r=X.a.enabled("slate:events")?Ut():null,o=X.a.enabled("slate:batch-events")?Wt():null,i=X.a.enabled("slate:mutations")?$t():null,a=pt(),s=mt(),u=kt(),c=dt(e),l=zt(e),f={commands:{restoreDOM:function(e){var t=e.tmp.contentRef.current.tmp;t.contentKey=t.contentKey+1}}},d=K||null===n?null:Se({placeholder:n,when:function(e,t){return"document"===t.object&&""===t.text&&1===t.nodes.size&&1===Array.from(t.texts()).length}});return[r,o,i,c,l,f,d,a,s,u]}var Zt=X()("slate:editor"),Qt=function(e){function t(){var e,n,r;ze(this,t);for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return n=r=We(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.state={value:r.props.defaultValue,contentKey:0},r.tmp={mounted:!1,change:null,resolves:0,updates:0,contentRef:o.a.createRef()},r.resolveController=Ce((function(){var e=arguments[5];ee(r.tmp.resolves<5||r.tmp.resolves!==r.tmp.updates,"A Slate <Editor> component is re-resolving the `plugins`, `schema`, `commands`, `queries` or `placeholder` prop on each update, which leads to poor performance. This is often due to passing in a new references for these props with each render by declaring them inline in your render function. Do not do this! Declare them outside your render function, or memoize them instead."),r.tmp.resolves++;var t=e(Ue({},r.props,{editor:r,value:r.props.value||r.state.value})),n=function(e){r.tmp.mounted?r.handleChange(e):r.tmp.change=e};r.controller=new q.Editor({plugins:[t],onChange:n},{controller:r,construct:!1}),r.controller.run("onConstruct")})),We(r,n)}return qe(t,e),Ge(t,[{key:"componentDidMount",value:function(){this.tmp.mounted=!0,this.tmp.updates++,this.props.autoFocus&&this.focus(),this.tmp.change&&(this.handleChange(this.tmp.change),this.tmp.change=null)}},{key:"componentDidUpdate",value:function(){this.tmp.updates++,this.tmp.change&&(this.handleChange(this.tmp.change),this.tmp.change=null)}},{key:"componentWillUnmount",value:function(){this.tmp.mounted=!1}},{key:"render",value:function(){var e=this;Zt("render",this);var n=this.props,r=n.commands,i=n.placeholder,a=n.plugins,s=n.queries,u=n.schema;this.resolveController(a,u,r,s,i,Xt);var c=this.props,l=c.options,f=c.readOnly,d=c.value,p=this.state.value,h=d||p,v=this.state.contentKey;this.controller.setReadOnly(f),this.controller.setValue(h,l);var y=this.props,g=y.autoCorrect,m=y.className,k=y.id,x=y.role,_=y.spellCheck,b=y.tabIndex,w=y.style,S=y.tagName,A=y.onContextMenu,E=oe()(this.props,Object.keys(t.__propTypes)),O=o.a.createElement(ct,Ue({},E,{ref:this.tmp.contentRef,autoCorrect:g,className:m,contentKey:v,editor:this,id:k,onContextMenu:A,onEvent:function(t,n){return e.run(t,n)},readOnly:f,role:x,spellCheck:_,style:w,tabIndex:b,tagName:S}));return this.controller.run("renderEditor",Ue({},this.props,{editor:this,children:O}))}},{key:"handleChange",value:function(e){var t=this.props.onChange;this.state.value&&this.setState({value:e.value}),t(e)}},{key:"applyOperation",value:function(){var e;return(e=this.controller).applyOperation.apply(e,arguments)}},{key:"command",value:function(){var e;return(e=this.controller).command.apply(e,arguments)}},{key:"hasCommand",value:function(){var e;return(e=this.controller).hasCommand.apply(e,arguments)}},{key:"hasQuery",value:function(){var e;return(e=this.controller).hasQuery.apply(e,arguments)}},{key:"normalize",value:function(){var e;return(e=this.controller).normalize.apply(e,arguments)}},{key:"query",value:function(){var e;return(e=this.controller).query.apply(e,arguments)}},{key:"registerCommand",value:function(){var e;return(e=this.controller).registerCommand.apply(e,arguments)}},{key:"registerQuery",value:function(){var e;return(e=this.controller).registerQuery.apply(e,arguments)}},{key:"run",value:function(){var e;return(e=this.controller).run.apply(e,arguments)}},{key:"withoutNormalizing",value:function(){var e;return(e=this.controller).withoutNormalizing.apply(e,arguments)}},{key:"call",value:function(){var e;return(e=this.controller).call.apply(e,arguments)}},{key:"change",value:function(){var e;return(e=this.controller).change.apply(e,arguments)}},{key:"onChange",value:function(){var e;return(e=this.controller).onChange.apply(e,arguments)}},{key:"applyOperations",value:function(){var e;return(e=this.controller).applyOperations.apply(e,arguments)}},{key:"setOperationFlag",value:function(){var e;return(e=this.controller).setOperationFlag.apply(e,arguments)}},{key:"getFlag",value:function(){var e;return(e=this.controller).getFlag.apply(e,arguments)}},{key:"unsetOperationFlag",value:function(){var e;return(e=this.controller).unsetOperationFlag.apply(e,arguments)}},{key:"withoutNormalization",value:function(){var e;return(e=this.controller).withoutNormalization.apply(e,arguments)}},{key:"operations",get:function(){return this.controller.operations}},{key:"readOnly",get:function(){return this.controller.readOnly}},{key:"value",get:function(){return this.controller.value}},{key:"editor",get:function(){return this.controller.editor}},{key:"schema",get:function(){Object(me.default)(!1,"As of Slate 0.42, the `editor.schema` property no longer exists, and its functionality has been folded into the editor itself. Use the `editor` instead.")}},{key:"stack",get:function(){Object(me.default)(!1,"As of Slate 0.42, the `editor.stack` property no longer exists, and its functionality has been folded into the editor itself. Use the `editor` instead.")}}]),t}(o.a.Component);function en(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;ee(!1,"As of slate-react@0.22 the `findDOMPoint(point)` helper is deprecated in favor of `editor.findDOMPoint(point)`.");var n=Rt(e.key,t),r=0,o=Array.from(n.querySelectorAll(Ke.STRING+", "+Ke.ZERO_WIDTH)),i=!0,a=!1,s=void 0;try{for(var u,c=o[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var l=u.value,f=l.childNodes[0],d=f.textContent.length,p=d;l.hasAttribute(Pe)&&(p=parseInt(l.getAttribute(Pe),10));var h=r+p;if(e.offset<=h){var v=Math.min(d,Math.max(0,e.offset-r));return{node:f,offset:v}}r=h}}catch(e){a=!0,s=e}finally{try{!i&&c.return&&c.return()}finally{if(a)throw s}}return null}function tn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;ee(!1,"As of slate-react@0.22 the `findDOMRange(range)` helper is deprecated in favor of `editor.findDOMRange(range)`.");var n=e.anchor,r=e.focus,o=e.isBackward,i=e.isCollapsed,a=en(n,t),s=i?a:en(r,t);if(!a||!s)return null;var u=t.document.createRange(),c=o?s:a,l=o?a:s;return u.setStart(c.node,c.offset),u.setEnd(l.node,l.offset),u}function nn(e,t){ee(!1,"As of slate-react@0.22 the `findNode(element)` helper is deprecated in favor of `editor.findNode(element)`."),Object(me.default)(!q.Value.isValue(t),"As of Slate 0.42.0, the `findNode` utility takes an `editor` instead of a `value`.");var n=e.closest(Ke.KEY);if(!n)return null;var r=n.getAttribute(Ne);return r&&t.value.document.getNode(r)||null}function rn(e,t){ee(!1,"As of slate-react@0.22 the `findPath(element)` helper is deprecated in favor of `editor.findPath(element)`.");var n=nn(e,t);return n?t.value.document.getPath(n):null}function on(e,t,n){ee(!1,"As of slate-react@0.22 the `findPoint(node, offset)` helper is deprecated in favor of `editor.findPoint(node, offset)`."),Object(me.default)(!q.Value.isValue(n),"As of Slate 0.42.0, the `findPoint` utility takes an `editor` instead of a `value`.");var r=function(e,t){if(1===e.nodeType&&e.childNodes.length){var n=t===e.childNodes.length,r=n?"backward":"forward";for(e=an(e,n?t-1:t,r);1===e.nodeType&&e.childNodes.length;){var o=n?e.childNodes.length-1:0;e=an(e,o,r)}t=n?e.textContent.length:0}return{node:e,offset:t}}(e,t),o=r.node,i=r.offset,a=J()(e),s=o.parentNode,u=s.closest(Ke.LEAF),c=void 0,l=void 0;if(u){var f=a.document.createRange(),d=u.closest(Ke.TEXT);f.setStart(d,0),f.setEnd(o,i),l=d;var p=f.cloneContents(),h=p.querySelectorAll("["+Le+"]");c=p.textContent.length-h.length}else{var v=s.closest(Ke.VOID);if(!v)return null;if(!(u=v.querySelector(Ke.LEAF)))return null;c=(l=u).textContent.length}c===l.textContent.length&&s.hasAttribute(Le)&&c--;var y=u.getAttribute(je);if(!y)return null;var g=$e.parse(y).key,m=n.value;return m.document.hasDescendant(g)?m.document.createPoint({key:g,offset:c}):null}function an(e,t,n){for(var r=e.childNodes,o=r[t],i=t,a=!1,s=!1;(8===o.nodeType||1===o.nodeType&&0===o.childNodes.length||1===o.nodeType&&"false"===o.getAttribute("contenteditable"))&&(!a||!s);)i>=r.length?(a=!0,i=t-1,n="backward"):i<0?(s=!0,i=t+1,n="forward"):(o=r[i],"forward"===n&&i++,"backward"===n&&i--);return o||null}function sn(e,t){ee(!1,"As of slate-react@0.22 the `findRange(selection)` helper is deprecated in favor of `editor.findRange(selection)`."),Object(me.default)(!q.Value.isValue(t),"As of Slate 0.42.0, the `findNode` utility takes an `editor` instead of a `value`.");var n=e.anchorNode||e.startContainer;if(!n)return null;var r=J()(n);(e instanceof r.Range||r.StaticRange&&e instanceof r.StaticRange)&&(e={anchorNode:e.startContainer,anchorOffset:e.startOffset,focusNode:e.endContainer,focusOffset:e.endOffset});var o=e,i=o.anchorNode,a=o.anchorOffset,s=o.focusNode,u=o.focusOffset,c=o.isCollapsed,l=t.value,f=on(i,a,t),d=c?f:on(s,u,t);return f&&d?l.document.createRange({anchor:f,focus:d}):null}function un(e,t){ee(!1,"As of slate-react@0.22 the `getEventRange(event, editor)` helper is deprecated in favor of `editor.findEventRange(event)`."),Object(me.default)(!q.Value.isValue(t),"As of Slate 0.42.0, the `findNode` utility takes an `editor` instead of a `value`."),e.nativeEvent&&(e=e.nativeEvent);var n=e,r=n.clientX,o=n.clientY,i=n.target;if(null==r||null==o)return null;var a=t.value.document,s=rn(e.target,t);if(!s)return null;var u=a.getNode(s);if(t.isVoid(u)){var c=i.getBoundingClientRect(),l="inline"===u.object?r-c.left<c.left+c.width-r:o-c.top<c.top+c.height-o,f=a.createRange(),d=l?"moveToEndOfNode":"moveToStartOfNode",p=a[l?"getPreviousText":"getNextText"](s);return p?f[d](p):null}var h=J()(i),v=void 0;if(h.document.caretRangeFromPoint)v=h.document.caretRangeFromPoint(r,o);else if(h.document.caretPositionFromPoint){var y=h.document.caretPositionFromPoint(r,o);(v=h.document.createRange()).setStart(y.offsetNode,y.offset),v.setEnd(y.offsetNode,y.offset)}else if(h.document.body.createTextRange){v=h.document.body.createTextRange();try{v.moveToPoint(r,o)}catch(e){return null}}var g=sn(v,t);return g||null}Qt.__propTypes=Ue({autoCorrect:Q.a.bool,autoFocus:Q.a.bool,className:Q.a.string,defaultValue:Ee.value,id:Q.a.string,onChange:Q.a.func,onContextMenu:Q.a.func,options:Q.a.object,placeholder:Q.a.any,plugins:Q.a.array,readOnly:Q.a.bool,role:Q.a.string,schema:Q.a.object,spellCheck:Q.a.bool,style:Q.a.object,tabIndex:Q.a.number,value:Ee.value},Te.reduce((function(e,t){return e[t]=Q.a.func,e}),{}),["decorateNode","renderAnnotation","renderBlock","renderDecoration","renderDocument","renderEditor","renderInline","renderMark"].reduce((function(e,t){return e[t]=Q.a.func,e}),{})),Qt.defaultProps={autoFocus:!1,autoCorrect:!0,onChange:function(){},options:{},placeholder:"",plugins:[],readOnly:!1,schema:{},spellCheck:!0};var cn={Editor:Qt,cloneFragment:At,findDOMNode:Rt,findDOMPoint:en,findDOMRange:tn,findNode:nn,findPath:rn,findPoint:on,findRange:sn,getEventRange:un,getEventTransfer:Nt,setEventTransfer:It,ReactPlugin:Xt};t.default=cn},10821:function(e,t,n){"use strict";var r=n(10313).forEach,o=n(10822),i=n(10823),a=n(10824),s=n(10825),u=n(10826),c=n(10314),l=n(10827),f=n(10829),d=n(10830),p=n(10831);function h(e){return Array.isArray(e)||void 0!==e.length}function v(e){if(Array.isArray(e))return e;var t=[];return r(e,(function(e){t.push(e)})),t}function y(e){return e&&1===e.nodeType}function g(e,t,n){var r=e[t];return null==r&&void 0!==n?n:r}e.exports=function(e){var t;if((e=e||{}).idHandler)t={get:function(t){return e.idHandler.get(t,!0)},set:e.idHandler.set};else{var n=a(),m=s({idGenerator:n,stateHandler:f});t=m}var k=e.reporter;k||(k=u(!1===k));var x=g(e,"batchProcessor",l({reporter:k})),_={};_.callOnAdd=!!g(e,"callOnAdd",!0),_.debug=!!g(e,"debug",!1);var b,w=i(t),S=o({stateHandler:f}),A=g(e,"strategy","object"),E=g(e,"important",!1),O={reporter:k,batchProcessor:x,stateHandler:f,idHandler:t,important:E};if("scroll"===A&&(c.isLegacyOpera()?(k.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),A="object"):c.isIE(9)&&(k.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),A="object")),"scroll"===A)b=p(O);else{if("object"!==A)throw new Error("Invalid strategy name: "+A);b=d(O)}var C={};return{listenTo:function(e,n,o){function i(e){var t=w.get(e);r(t,(function(t){t(e)}))}function a(e,t,n){w.add(t,n),e&&n(t)}if(o||(o=n,n=e,e={}),!n)throw new Error("At least one element required.");if(!o)throw new Error("Listener required.");if(y(n))n=[n];else{if(!h(n))return k.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");n=v(n)}var s=0,u=g(e,"callOnAdd",_.callOnAdd),c=g(e,"onReady",(function(){})),l=g(e,"debug",_.debug);r(n,(function(e){f.getState(e)||(f.initState(e),t.set(e));var d=t.get(e);if(l&&k.log("Attaching listener to element",d,e),!S.isDetectable(e))return l&&k.log(d,"Not detectable."),S.isBusy(e)?(l&&k.log(d,"System busy making it detectable"),a(u,e,o),C[d]=C[d]||[],void C[d].push((function(){++s===n.length&&c()}))):(l&&k.log(d,"Making detectable..."),S.markBusy(e,!0),b.makeDetectable({debug:l,important:E},e,(function(e){if(l&&k.log(d,"onElementDetectable"),f.getState(e)){S.markAsDetectable(e),S.markBusy(e,!1),b.addListener(e,i),a(u,e,o);var t=f.getState(e);if(t&&t.startSize){var p=e.offsetWidth,h=e.offsetHeight;t.startSize.width===p&&t.startSize.height===h||i(e)}C[d]&&r(C[d],(function(e){e()}))}else l&&k.log(d,"Element uninstalled before being detectable.");delete C[d],++s===n.length&&c()})));l&&k.log(d,"Already detecable, adding listener."),a(u,e,o),s++})),s===n.length&&c()},removeListener:w.removeListener,removeAllListeners:w.removeAllListeners,uninstall:function(e){if(!e)return k.error("At least one element is required.");if(y(e))e=[e];else{if(!h(e))return k.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");e=v(e)}r(e,(function(e){w.removeAllListeners(e),b.uninstall(e),f.cleanState(e)}))},initDocument:function(e){b.initDocument&&b.initDocument(e)}}}},10822:function(e,t,n){"use strict";e.exports=function(e){var t=e.stateHandler.getState;return{isDetectable:function(e){var n=t(e);return n&&!!n.isDetectable},markAsDetectable:function(e){t(e).isDetectable=!0},isBusy:function(e){return!!t(e).busy},markBusy:function(e,n){t(e).busy=!!n}}}},10823:function(e,t,n){"use strict";e.exports=function(e){var t={};function n(n){var r=e.get(n);return void 0===r?[]:t[r]||[]}return{get:n,add:function(n,r){var o=e.get(n);t[o]||(t[o]=[]),t[o].push(r)},removeListener:function(e,t){for(var r=n(e),o=0,i=r.length;o<i;++o)if(r[o]===t){r.splice(o,1);break}},removeAllListeners:function(e){var t=n(e);t&&(t.length=0)}}}},10824:function(e,t,n){"use strict";e.exports=function(){var e=1;return{generate:function(){return e++}}}},10825:function(e,t,n){"use strict";e.exports=function(e){var t=e.idGenerator,n=e.stateHandler.getState;return{get:function(e){var t=n(e);return t&&void 0!==t.id?t.id:null},set:function(e){var r=n(e);if(!r)throw new Error("setId required the element to have a resize detection state.");var o=t.generate();return r.id=o,o}}}},10826:function(e,t,n){"use strict";e.exports=function(e){function t(){}var n={log:t,warn:t,error:t};if(!e&&window.console){var r=function(e,t){e[t]=function(){var e=console[t];if(e.apply)e.apply(console,arguments);else for(var n=0;n<arguments.length;n++)e(arguments[n])}};r(n,"log"),r(n,"warn"),r(n,"error")}return n}},10827:function(e,t,n){"use strict";var r=n(10828);function o(){var e={},t=0,n=0,r=0;return{add:function(o,i){i||(i=o,o=0),o>n?n=o:o<r&&(r=o),e[o]||(e[o]=[]),e[o].push(i),t++},process:function(){for(var t=r;t<=n;t++)for(var o=e[t],i=0;i<o.length;i++){(0,o[i])()}},size:function(){return t}}}e.exports=function(e){var t=(e=e||{}).reporter,n=r.getOption(e,"async",!0),i=r.getOption(e,"auto",!0);i&&!n&&(t&&t.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),n=!0);var a,s=o(),u=!1;function c(){for(u=!0;s.size();){var e=s;s=o(),e.process()}u=!1}function l(){var e;e=c,a=setTimeout(e,0)}return{add:function(e,t){!u&&i&&n&&0===s.size()&&l(),s.add(e,t)},force:function(e){u||(void 0===e&&(e=n),a&&(clearTimeout(a),a=null),e?l():c())}}}},10828:function(e,t,n){"use strict";(e.exports={}).getOption=function(e,t,n){var r=e[t];if(null==r&&void 0!==n)return n;return r}},10829:function(e,t,n){"use strict";function r(e){return e._erd}e.exports={initState:function(e){return e._erd={},r(e)},getState:r,cleanState:function(e){delete e._erd}}},10830:function(e,t,n){"use strict";var r=n(10314);e.exports=function(e){var t=(e=e||{}).reporter,n=e.batchProcessor,o=e.stateHandler.getState;if(!t)throw new Error("Missing required dependency: reporter.");function i(t){var n=e.important?" !important; ":"; ";return(t.join(n)+n).trim()}function a(e){return o(e).object}return{makeDetectable:function(e,a,s){s||(s=a,a=e,e=null),(e=e||{}).debug,r.isIE(8)?s(a):function(a,s){var u=i(["display: block","position: absolute","top: 0","left: 0","width: 100%","height: 100%","border: none","padding: 0","margin: 0","opacity: 0","z-index: -1000","pointer-events: none"]),c=!1,l=window.getComputedStyle(a),f=a.offsetWidth,d=a.offsetHeight;function p(){function n(){if("static"===l.position){a.style.setProperty("position","relative",e.important?"important":"");var n=function(t,n,r,o){var i=r[o];"auto"!==i&&"0"!==function(e){return e.replace(/[^-\d\.]/g,"")}(i)&&(t.warn("An element that is positioned static has style."+o+"="+i+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+o+" will be set to 0. Element: ",n),n.style.setProperty(o,"0",e.important?"important":""))};n(t,a,l,"top"),n(t,a,l,"right"),n(t,a,l,"bottom"),n(t,a,l,"left")}}""!==l.position&&(n(),c=!0);var i=document.createElement("object");i.style.cssText=u,i.tabIndex=-1,i.type="text/html",i.setAttribute("aria-hidden","true"),i.onload=function(){c||n(),function e(t,n){if(!t.contentDocument){var r=o(t);return r.checkForObjectDocumentTimeoutId&&window.clearTimeout(r.checkForObjectDocumentTimeoutId),void(r.checkForObjectDocumentTimeoutId=setTimeout((function(){r.checkForObjectDocumentTimeoutId=0,e(t,n)}),100))}n(t.contentDocument)}(this,(function(e){s(a)}))},r.isIE()||(i.data="about:blank"),o(a)&&(a.appendChild(i),o(a).object=i,r.isIE()&&(i.data="about:blank"))}o(a).startSize={width:f,height:d},n?n.add(p):p()}(a,s)},addListener:function(e,t){function n(){t(e)}if(r.isIE(8))o(e).object={proxy:n},e.attachEvent("onresize",n);else{var i=a(e);if(!i)throw new Error("Element is not detectable by this strategy.");i.contentDocument.defaultView.addEventListener("resize",n)}},uninstall:function(e){if(o(e)){var t=a(e);t&&(r.isIE(8)?e.detachEvent("onresize",t.proxy):e.removeChild(t),o(e).checkForObjectDocumentTimeoutId&&window.clearTimeout(o(e).checkForObjectDocumentTimeoutId),delete o(e).object)}}}}},10831:function(e,t,n){"use strict";var r=n(10313).forEach;e.exports=function(e){var t=(e=e||{}).reporter,n=e.batchProcessor,o=e.stateHandler.getState,i=(e.stateHandler.hasState,e.idHandler);if(!n)throw new Error("Missing required dependency: batchProcessor");if(!t)throw new Error("Missing required dependency: reporter.");var a=function(){var e=document.createElement("div");e.style.cssText=u(["position: absolute","width: 1000px","height: 1000px","visibility: hidden","margin: 0","padding: 0"]);var t=document.createElement("div");t.style.cssText=u(["position: absolute","width: 500px","height: 500px","overflow: scroll","visibility: none","top: -1500px","left: -1500px","visibility: hidden","margin: 0","padding: 0"]),t.appendChild(e),document.body.insertBefore(t,document.body.firstChild);var n=500-t.clientWidth,r=500-t.clientHeight;return document.body.removeChild(t),{width:n,height:r}}();function s(e){!function(e,t,n){if(!e.getElementById(t)){var r=n+"_animation",o=n+"_animation_active",i="/* Created by the element-resize-detector library. */\n";i+="."+n+" > div::-webkit-scrollbar { "+u(["display: none"])+" }\n\n",i+="."+o+" { "+u(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+r,"animation-name: "+r])+" }\n",i+="@-webkit-keyframes "+r+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n",function(n,r){r=r||function(t){e.head.appendChild(t)};var o=e.createElement("style");o.innerHTML=n,o.id=t,r(o)}(i+="@keyframes "+r+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }")}}(e,"erd_scroll_detection_scrollbar_style","erd_scroll_detection_container")}function u(t){var n=e.important?" !important; ":"; ";return(t.join(n)+n).trim()}function c(e,n,r){if(e.addEventListener)e.addEventListener(n,r);else{if(!e.attachEvent)return t.error("[scroll] Don't know how to add event listeners.");e.attachEvent("on"+n,r)}}function l(e,n,r){if(e.removeEventListener)e.removeEventListener(n,r);else{if(!e.detachEvent)return t.error("[scroll] Don't know how to remove event listeners.");e.detachEvent("on"+n,r)}}function f(e){return o(e).container.childNodes[0].childNodes[0].childNodes[0]}function d(e){return o(e).container.childNodes[0].childNodes[0].childNodes[1]}return s(window.document),{makeDetectable:function(e,s,l){function p(){if(e.debug){var n=Array.prototype.slice.call(arguments);if(n.unshift(i.get(s),"Scroll: "),t.log.apply)t.log.apply(null,n);else for(var r=0;r<n.length;r++)t.log(n[r])}}function h(e){var t=o(e).container.childNodes[0],n=window.getComputedStyle(t);return!n.width||-1===n.width.indexOf("px")}function v(){var e=window.getComputedStyle(s),t={};return t.position=e.position,t.width=s.offsetWidth,t.height=s.offsetHeight,t.top=e.top,t.right=e.right,t.bottom=e.bottom,t.left=e.left,t.widthCSS=e.width,t.heightCSS=e.height,t}function y(){if(p("storeStyle invoked."),o(s)){var e=v();o(s).style=e}else p("Aborting because element has been uninstalled")}function g(e,t,n){o(e).lastWidth=t,o(e).lastHeight=n}function m(){return 2*a.width+1}function k(){return 2*a.height+1}function x(e){return e+10+m()}function _(e){return e+10+k()}function b(e,t,n){var r=f(e),o=d(e),i=x(t),a=_(n),s=function(e){return 2*e+m()}(t),u=function(e){return 2*e+k()}(n);r.scrollLeft=i,r.scrollTop=a,o.scrollLeft=s,o.scrollTop=u}function w(){var e=o(s).container;if(!e){(e=document.createElement("div")).className="erd_scroll_detection_container",e.style.cssText=u(["visibility: hidden","display: inline","width: 0px","height: 0px","z-index: -1","overflow: hidden","margin: 0","padding: 0"]),o(s).container=e,function(e){e.className+=" erd_scroll_detection_container_animation_active"}(e),s.appendChild(e);var t=function(){o(s).onRendered&&o(s).onRendered()};c(e,"animationstart",t),o(s).onAnimationStart=t}return e}function S(){if(p("Injecting elements"),o(s)){!function(){var n=o(s).style;if("static"===n.position){s.style.setProperty("position","relative",e.important?"important":"");var r=function(e,t,n,r){var o=n[r];"auto"!==o&&"0"!==function(e){return e.replace(/[^-\d\.]/g,"")}(o)&&(e.warn("An element that is positioned static has style."+r+"="+o+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+r+" will be set to 0. Element: ",t),t.style[r]=0)};r(t,s,n,"top"),r(t,s,n,"right"),r(t,s,n,"bottom"),r(t,s,n,"left")}}();var n=o(s).container;n||(n=w());var r,i,l,f,d=a.width,h=a.height,v=u(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden","width: 100%","height: 100%","left: 0px","top: 0px"]),y=u(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden"].concat(["left: "+(r=(r=-(1+d))?r+"px":"0"),"top: "+(i=(i=-(1+h))?i+"px":"0"),"right: "+(f=(f=-d)?f+"px":"0"),"bottom: "+(l=(l=-h)?l+"px":"0")])),g=u(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),m=u(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),k=u(["position: absolute","left: 0","top: 0"]),x=u(["position: absolute","width: 200%","height: 200%"]),_=document.createElement("div"),b=document.createElement("div"),S=document.createElement("div"),A=document.createElement("div"),E=document.createElement("div"),O=document.createElement("div");_.dir="ltr",_.style.cssText=v,_.className="erd_scroll_detection_container",b.className="erd_scroll_detection_container",b.style.cssText=y,S.style.cssText=g,A.style.cssText=k,E.style.cssText=m,O.style.cssText=x,S.appendChild(A),E.appendChild(O),b.appendChild(S),b.appendChild(E),_.appendChild(b),n.appendChild(_),c(S,"scroll",C),c(E,"scroll",T),o(s).onExpandScroll=C,o(s).onShrinkScroll=T}else p("Aborting because element has been uninstalled");function C(){o(s).onExpand&&o(s).onExpand()}function T(){o(s).onShrink&&o(s).onShrink()}}function A(){function a(t,n,r){var o=function(e){return f(e).childNodes[0]}(t),i=x(n),a=_(r);o.style.setProperty("width",i+"px",e.important?"important":""),o.style.setProperty("height",a+"px",e.important?"important":"")}function u(r){var u=s.offsetWidth,l=s.offsetHeight,f=u!==o(s).lastWidth||l!==o(s).lastHeight;p("Storing current size",u,l),g(s,u,l),n.add(0,(function(){if(f)if(o(s))if(c()){if(e.debug){var n=s.offsetWidth,r=s.offsetHeight;n===u&&r===l||t.warn(i.get(s),"Scroll: Size changed before updating detector elements.")}a(s,u,l)}else p("Aborting because element container has not been initialized");else p("Aborting because element has been uninstalled")})),n.add(1,(function(){o(s)?c()?b(s,u,l):p("Aborting because element container has not been initialized"):p("Aborting because element has been uninstalled")})),f&&r&&n.add(2,(function(){o(s)?c()?r():p("Aborting because element container has not been initialized"):p("Aborting because element has been uninstalled")}))}function c(){return!!o(s).container}function l(){p("notifyListenersIfNeeded invoked");var e=o(s);return void 0===o(s).lastNotifiedWidth&&e.lastWidth===e.startSize.width&&e.lastHeight===e.startSize.height?p("Not notifying: Size is the same as the start size, and there has been no notification yet."):e.lastWidth===e.lastNotifiedWidth&&e.lastHeight===e.lastNotifiedHeight?p("Not notifying: Size already notified"):(p("Current size not notified, notifying..."),e.lastNotifiedWidth=e.lastWidth,e.lastNotifiedHeight=e.lastHeight,void r(o(s).listeners,(function(e){e(s)})))}function v(){p("Scroll detected."),h(s)?p("Scroll event fired while unrendered. Ignoring..."):u(l)}if(p("registerListenersAndPositionElements invoked."),o(s)){o(s).onRendered=function(){if(p("startanimation triggered."),h(s))p("Ignoring since element is still unrendered...");else{p("Element rendered.");var e=f(s),t=d(s);0!==e.scrollLeft&&0!==e.scrollTop&&0!==t.scrollLeft&&0!==t.scrollTop||(p("Scrollbars out of sync. Updating detector elements..."),u(l))}},o(s).onExpand=v,o(s).onShrink=v;var y=o(s).style;a(s,y.width,y.height)}else p("Aborting because element has been uninstalled")}function E(){if(p("finalizeDomMutation invoked."),o(s)){var e=o(s).style;g(s,e.width,e.height),b(s,e.width,e.height)}else p("Aborting because element has been uninstalled")}function O(){l(s)}function C(){var e;p("Installing..."),o(s).listeners=[],e=v(),o(s).startSize={width:e.width,height:e.height},p("Element start size",o(s).startSize),n.add(0,y),n.add(1,S),n.add(2,A),n.add(3,E),n.add(4,O)}l||(l=s,s=e,e=null),e=e||{},p("Making detectable..."),!function(e){return!function(e){return e===e.ownerDocument.body||e.ownerDocument.body.contains(e)}(e)||null===window.getComputedStyle(e)}(s)?C():(p("Element is detached"),w(),p("Waiting until element is attached..."),o(s).onRendered=function(){p("Element is now attached"),C()})},addListener:function(e,t){if(!o(e).listeners.push)throw new Error("Cannot add listener to an element that is not detectable.");o(e).listeners.push(t)},uninstall:function(e){var t=o(e);t&&(t.onExpandScroll&&l(f(e),"scroll",t.onExpandScroll),t.onShrinkScroll&&l(d(e),"scroll",t.onShrinkScroll),t.onAnimationStart&&l(t.container,"animationstart",t.onAnimationStart),t.container&&e.removeChild(t.container))},initDocument:s}}},10832:function(e,t,n){"use strict";var r=n(10833);function o(e){return!0===r(e)&&"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){var t,n;return!1!==o(e)&&("function"==typeof(t=e.constructor)&&(!1!==o(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")))}},10833:function(e,t,n){"use strict";e.exports=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}},10834:function(e,t,n){"use strict";(function(r){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":o(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(10835)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,n(100))},10835:function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function a(){if(a.enabled){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var i=a,s=Number(new Date),u=s-(n||s);i.diff=u,i.prev=n,i.curr=s,n=s,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var c=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;c++;var o=r.formatters[n];if("function"==typeof o){var a=t[c];e=o.call(i,a),t.splice(c,1),c--}return e})),r.formatArgs.call(i,t);var l=i.log||r.log;l.apply(i,t)}}return a.namespace=e,a.enabled=r.enabled(e),a.useColors=r.useColors(),a.color=t(e),a.destroy=o,a.extend=i,"function"==typeof r.init&&r.init(a),r.instances.push(a),a}function o(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function i(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(t=0;t<o;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var i=r.instances[t];i.enabled=r.enabled(i.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(10317),Object.keys(e).forEach((function(t){r[t]=e[t]})),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},10836:function(e,t,n){(function(e,r){var o;!function(i){var a=t,s=(e&&e.exports,"object"==typeof r&&r);s.global!==s&&s.window;var u=/([\0-\u02FF\u0370-\u1AAF\u1B00-\u1DBF\u1E00-\u20CF\u2100-\uD7FF\uE000-\uFE1F\uFE30-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])([\u0300-\u036F\u1AB0-\u1AFF\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]+)/g,c=/([\uD800-\uDBFF])([\uDC00-\uDFFF])/g,l=function(e){for(var t="",n=(e=e.replace(u,(function(e,t,n){return l(n)+t})).replace(c,"$2$1")).length;n--;)t+=e.charAt(n);return t},f={version:"0.2.0",reverse:l};void 0===(o=function(){return f}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(209)(e),n(44))},10837:function(e,t,n){var r=n(10838),o=n(10323)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},10838:function(e,t,n){var r=n(10839),o=n(10322);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},10839:function(e,t,n){var r=n(9115),o=n(10863),i=n(8737);e.exports=function(e,t,n){for(var a=-1,s=t.length,u={};++a<s;){var c=t[a],l=r(e,c);n(l,c)&&o(u,i(c,e),l)}return u}},10840:function(e,t,n){var r=n(10841),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},10841:function(e,t,n){var r=n(9116);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},10842:function(e,t,n){var r=n(10843),o=n(9118),i=n(9380);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},10843:function(e,t,n){var r=n(10844),o=n(10849),i=n(10850),a=n(10851),s=n(10852);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},10844:function(e,t,n){var r=n(9117);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},10845:function(e,t,n){var r=n(10318),o=n(10846),i=n(406),a=n(10319),s=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:s).test(a(e))}},10846:function(e,t,n){var r,o=n(10847),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},10847:function(e,t,n){var r=n(720)["__core-js_shared__"];e.exports=r},10848:function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},10849:function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},10850:function(e,t,n){var r=n(9117),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},10851:function(e,t,n){var r=n(9117),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},10852:function(e,t,n){var r=n(9117);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},10853:function(e,t){e.exports=function(){this.__data__=[],this.size=0}},10854:function(e,t,n){var r=n(9119),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},10855:function(e,t,n){var r=n(9119);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},10856:function(e,t,n){var r=n(9119);e.exports=function(e){return r(this.__data__,e)>-1}},10857:function(e,t,n){var r=n(9119);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},10858:function(e,t,n){var r=n(9121);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},10859:function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},10860:function(e,t,n){var r=n(9121);e.exports=function(e){return r(this,e).get(e)}},10861:function(e,t,n){var r=n(9121);e.exports=function(e){return r(this,e).has(e)}},10862:function(e,t,n){var r=n(9121);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},10863:function(e,t,n){var r=n(9381),o=n(8737),i=n(9122),a=n(406),s=n(8738);e.exports=function(e,t,n,u){if(!a(e))return e;for(var c=-1,l=(t=o(t,e)).length,f=l-1,d=e;null!=d&&++c<l;){var p=s(t[c]),h=n;if(c!=f){var v=d[p];void 0===(h=u?u(v,p,d):void 0)&&(h=a(v)?v:i(t[c+1])?[]:{})}r(d,p,h),d=d[p]}return e}},10864:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},10865:function(e,t,n){var r=n(8737),o=n(1356),i=n(711),a=n(9122),s=n(9382),u=n(8738);e.exports=function(e,t,n){for(var c=-1,l=(t=r(t,e)).length,f=!1;++c<l;){var d=u(t[c]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++c!=l?f:!!(l=null==e?0:e.length)&&s(l)&&a(d,l)&&(i(e)||o(e))}},10866:function(e,t,n){var r=n(10867),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),u=Array(s);++a<s;)u[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(u),r(e,this,c)}}},10867:function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},10868:function(e,t,n){var r=n(10869),o=n(10871)(r);e.exports=o},10869:function(e,t,n){var r=n(10870),o=n(10321),i=n(9383),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},10870:function(e,t){e.exports=function(e){return function(){return e}}},10871:function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},10872:function(e,t,n){var r=n(9118);e.exports=function(){this.__data__=new r,this.size=0}},10873:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},10874:function(e,t){e.exports=function(e){return this.__data__.get(e)}},10875:function(e,t){e.exports=function(e){return this.__data__.has(e)}},10876:function(e,t,n){var r=n(9118),o=n(9380),i=n(9379);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},10877:function(e,t,n){var r=n(8840),o=n(8739);e.exports=function(e,t){return e&&r(t,o(t),e)}},10878:function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},10879:function(e,t){e.exports=function(){return!1}},10880:function(e,t,n){var r=n(737),o=n(9382),i=n(408),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},10881:function(e,t,n){var r=n(9388),o=n(10882),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},10882:function(e,t,n){var r=n(10329)(Object.keys,Object);e.exports=r},10883:function(e,t,n){var r=n(8840),o=n(10330);e.exports=function(e,t){return e&&r(t,o(t),e)}},10884:function(e,t,n){var r=n(406),o=n(9388),i=n(10885),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},10885:function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},10886:function(e,t,n){(function(e){var r=n(720),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(209)(e))},10887:function(e,t,n){var r=n(8840),o=n(9389);e.exports=function(e,t){return r(e,o(e),t)}},10888:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},10889:function(e,t,n){var r=n(8840),o=n(10333);e.exports=function(e,t){return r(e,o(e),t)}},10890:function(e,t,n){var r=n(8616)(n(720),"DataView");e.exports=r},10891:function(e,t,n){var r=n(8616)(n(720),"Promise");e.exports=r},10892:function(e,t,n){var r=n(8616)(n(720),"Set");e.exports=r},10893:function(e,t,n){var r=n(8616)(n(720),"WeakMap");e.exports=r},10894:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},10895:function(e,t,n){var r=n(9391),o=n(10896),i=n(10897),a=n(10898),s=n(10899);e.exports=function(e,t,n){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return i(e);case"[object Set]":return new u;case"[object Symbol]":return a(e)}}},10896:function(e,t,n){var r=n(9391);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},10897:function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},10898:function(e,t,n){var r=n(309),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},10899:function(e,t,n){var r=n(9391);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},10900:function(e,t,n){var r=n(10901),o=n(9390),i=n(9388);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},10901:function(e,t,n){var r=n(406),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},10902:function(e,t,n){var r=n(10903),o=n(9386),i=n(9387),a=i&&i.isMap,s=a?o(a):r;e.exports=s},10903:function(e,t,n){var r=n(9123),o=n(408);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},10904:function(e,t,n){var r=n(10905),o=n(9386),i=n(9387),a=i&&i.isSet,s=a?o(a):r;e.exports=s},10905:function(e,t,n){var r=n(9123),o=n(408);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},10906:function(e,t,n){var r=n(8737),o=n(10907),i=n(10908),a=n(8738);e.exports=function(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},10907:function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},10908:function(e,t,n){var r=n(9115),o=n(10338);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},10909:function(e,t,n){var r=n(10339);e.exports=function(e){return r(e)?void 0:e}},10910:function(e,t,n){"use strict";var r,o;r=new RegExp("^[^֑-߿יִ-﷽ﹰ-ﻼ]*[A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿]"),o=new RegExp("^[^A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿]*[֑-߿יִ-﷽ﹰ-ﻼ]"),e.exports=function(e){return e=e.toString(),o.test(e)?"rtl":r.test(e)?"ltr":"neutral"}},10911:function(e,t,n){"use strict";t.a=function(e,t){0}},10912:function(e,t,n){var r=n(10913);e.exports=function(e){if(t=e,t&&t.window===t)return e;var t;var n=r(e);if(o){n.parentWindow.execScript("document._parentWindow = window;","Javascript");var i=n._parentWindow;return n._parentWindow=null,i}return n.defaultView||n.parentWindow};var o=n(10914)},10913:function(e,t){e.exports=function e(t){if(n(t))return t;if(n(t.ownerDocument))return t.ownerDocument;if(n(t.document))return t.document;if(t.parentNode)return e(t.parentNode);if(t.commonAncestorContainer)return e(t.commonAncestorContainer);if(t.startContainer)return e(t.startContainer);if(t.anchorNode)return e(t.anchorNode)};function n(e){return e&&9===e.nodeType}},10914:function(e,t){e.exports=!!document.attachEvent&&window!==document.parentWindow},10915:function(e,t){e.exports=function(e){var t=e.anchorNode,n=e.anchorOffset,r=e.focusNode,o=e.focusOffset,i=t.compareDocumentPosition(r);return!(4===i||0===i&&n<o)}},10916:function(e,t,n){"use strict";(function(r){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":o(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(10917)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,n(100))},10917:function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function a(){if(a.enabled){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var i=a,s=Number(new Date),u=s-(n||s);i.diff=u,i.prev=n,i.curr=s,n=s,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var c=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;c++;var o=r.formatters[n];if("function"==typeof o){var a=t[c];e=o.call(i,a),t.splice(c,1),c--}return e})),r.formatArgs.call(i,t);var l=i.log||r.log;l.apply(i,t)}}return a.namespace=e,a.enabled=r.enabled(e),a.useColors=r.useColors(),a.color=t(e),a.destroy=o,a.extend=i,"function"==typeof r.init&&r.init(a),r.instances.push(a),a}function o(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function i(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(t=0;t<o;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var i=r.instances[t];i.enabled=r.enabled(i.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(10317),Object.keys(e).forEach((function(t){r[t]=e[t]})),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},10918:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});for(var r="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),o={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},i={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:r?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},a={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},s=1;s<20;s++)a["f"+s]=111+s;function u(e,t,n){t&&!("byKey"in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map((function(e){return c(e,t)})),o=function(e){return r.some((function(t){return l(t,e)}))};return null==n?o:o(n)}function c(e,t){var n=t&&t.byKey,r={},i=(e=e.replace("++","+add")).split("+"),a=i.length;for(var s in o)r[o[s]]=!1;var u=!0,c=!1,l=void 0;try{for(var p,h=i[Symbol.iterator]();!(u=(p=h.next()).done);u=!0){var v=p.value,y=v.endsWith("?")&&v.length>1;y&&(v=v.slice(0,-1));var g=d(v),m=o[g];1!==a&&m||(n?r.key=g:r.which=f(v)),m&&(r[m]=!y||null)}}catch(e){c=!0,l=e}finally{try{!u&&h.return&&h.return()}finally{if(c)throw l}}return r}function l(e,t){for(var n in e){var r=e[n],o=void 0;if(null!=r&&((null!=(o="key"===n&&null!=t.key?t.key.toLowerCase():"which"===n?91===r&&93===t.which?91:t.which:t[n])||!1!==r)&&o!==r))return!1}return!0}function f(e){return e=d(e),a[e]||e.toUpperCase().charCodeAt(0)}function d(e){return e=e.toLowerCase(),e=i[e]||e}t.default=u,t.isHotkey=u,t.isCodeHotkey=function(e,t){return u(e,t)},t.isKeyHotkey=function(e,t){return u(e,{byKey:!0},t)},t.parseHotkey=c,t.compareHotkey=l,t.toKeyCode=f,t.toKeyName=d},10919:function(e,t,n){"use strict";t.atob=self.atob.bind(self),t.btoa=self.btoa.bind(self)},11148:function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(9028),a=n(8417),s=n(8695),u=n(8418),c=n(8371),l=n(8284),f=n(8486),d=n(8580),p=n(8269),h=n(11162),v=d("draft_tree_data_support"),y=v?u:s,g=p.List,m=p.Repeat,k={insertAtomicBlock:function(e,t,n){var o=e.getCurrentContent(),s=e.getSelection(),u=c.removeRange(o,s,"backward"),d=u.getSelectionAfter(),p=c.splitBlock(u,d),h=p.getSelectionAfter(),k=c.setBlockType(p,h,"atomic"),x=a.create({entity:t}),_={key:f(),type:"atomic",text:n,characterList:g(m(x,n.length))},b={key:f(),type:"unstyled"};v&&(_=r({},_,{nextSibling:b.key}),b=r({},b,{prevSibling:_.key}));var w=[new y(_),new y(b)],S=i.createFromArray(w),A=c.replaceWithFragment(k,h,S),E=A.merge({selectionBefore:s,selectionAfter:A.getSelectionAfter().set("hasFocus",!0)});return l.push(e,E,"insert-fragment")},moveAtomicBlock:function(e,t,n,r){var o,i=e.getCurrentContent(),a=e.getSelection();if("before"===r||"after"===r){var s=i.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());o=h(i,t,s,r)}else{var u=c.removeRange(i,n,"backward"),f=u.getSelectionAfter(),d=u.getBlockForKey(f.getFocusKey());if(0===f.getStartOffset())o=h(u,t,d,"before");else if(f.getEndOffset()===d.getLength())o=h(u,t,d,"after");else{var p=c.splitBlock(u,f),v=p.getSelectionAfter(),y=p.getBlockForKey(v.getFocusKey());o=h(p,t,y,"before")}}var g=o.merge({selectionBefore:a,selectionAfter:o.getSelectionAfter().set("hasFocus",!0)});return l.push(e,g,"move-block")}};e.exports=k},11149:function(e,t,n){"use strict";var r=n(8417),o=n(8269).Map,i={add:function(e,t,n){return a(e,t,n,!0)},remove:function(e,t,n){return a(e,t,n,!1)}};function a(e,t,n,i){var a=e.getBlockMap(),s=t.getStartKey(),u=t.getStartOffset(),c=t.getEndKey(),l=t.getEndOffset(),f=a.skipUntil((function(e,t){return t===s})).takeUntil((function(e,t){return t===c})).concat(o([[c,a.get(c)]])).map((function(e,t){var o,a;s===c?(o=u,a=l):(o=t===s?u:0,a=t===c?l:e.getLength());for(var f,d=e.getCharacterList();o<a;)f=d.get(o),d=d.set(o,i?r.applyStyle(f,n):r.removeStyle(f,n)),o++;return e.set("characterList",d)}));return e.merge({blockMap:a.merge(f),selectionBefore:t,selectionAfter:t})}e.exports=i},11150:function(e,t,n){"use strict";var r=n(11151),o=n(8269);e.exports=function(e,t,n){var i=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),u=t.getEndKey(),c=t.getEndOffset(),l=i.skipUntil((function(e,t){return t===a})).takeUntil((function(e,t){return t===u})).toOrderedMap().merge(o.OrderedMap([[u,i.get(u)]])).map((function(e,t){var o=t===a?s:0,i=t===u?c:e.getLength();return r(e,o,i,n)}));return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})}},11151:function(e,t,n){"use strict";var r=n(8417);e.exports=function(e,t,n,o){for(var i=t,a=e.getCharacterList();i<n;)a=a.set(i,r.applyEntity(a.get(i),o)),i++;return e.set("characterList",a)}},11152:function(e,t,n){"use strict";var r=n(11153),o=n(11154),i=n(8275);function a(e,t,n,a,s,u,c){var l=n.getStartOffset(),f=n.getEndOffset(),d=e.__get(s).getMutability(),p=c?l:f;if("MUTABLE"===d)return n;var h=o(t,s).filter((function(e){return p<=e.end&&p>=e.start}));1!=h.length&&i(!1);var v=h[0];if("IMMUTABLE"===d)return n.merge({anchorOffset:v.start,focusOffset:v.end,isBackward:!1});u||(c?f=v.end:l=v.start);var y=r.getRemovalRange(l,f,t.getText().slice(v.start,v.end),v.start,a);return n.merge({anchorOffset:y.start,focusOffset:y.end,isBackward:!1})}e.exports=function(e,t,n,r,o){var i=r.getStartOffset(),s=r.getEndOffset(),u=t.getEntityAt(i),c=n.getEntityAt(s-1);if(!u&&!c)return r;var l=r;if(u&&u===c)l=a(e,t,l,o,u,!0,!0);else if(u&&c){var f=a(e,t,l,o,u,!1,!0),d=a(e,n,l,o,c,!1,!1);l=l.merge({anchorOffset:f.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(u){var p=a(e,t,l,o,u,!1,!0);l=l.merge({anchorOffset:p.getStartOffset(),isBackward:!1})}else if(c){var h=a(e,n,l,o,c,!1,!1);l=l.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return l}},11153:function(e,t,n){"use strict";e.exports={getRemovalRange:function(e,t,n,r,o){var i=n.split(" ");i=i.map((function(e,t){if("forward"===o){if(t>0)return" "+e}else if(t<i.length-1)return e+" ";return e}));for(var a,s=r,u=null,c=null,l=0;l<i.length;l++){if(e<(a=s+i[l].length)&&s<t)null!==u||(u=s),c=a;else if(null!==u)break;s=a}var f=r+n.length,d=u===r,p=c===f;return(!d&&p||d&&!p)&&("forward"===o?c!==f&&c++:u!==r&&u--),{start:u,end:c}}}},11154:function(e,t,n){"use strict";var r=n(8275);e.exports=function(e,t){var n=[];return e.findEntityRanges((function(e){return e.getEntity()===t}),(function(e,t){n.push({start:e,end:t})})),n.length||r(!1),n}},11155:function(e,t,n){"use strict";var r=n(9028),o=n(8418),i=n(8269),a=n(10395),s=n(8275),u=n(10393),c=i.List,l=function(e,t,n,r,o,i){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",u=n.get(o),c=u.getText(),l=u.getCharacterList(),f=o,d=i+r.getText().length,p=null;switch(s){case"MERGE_OLD_DATA_TO_NEW_DATA":p=r.getData().merge(u.getData());break;case"REPLACE_WITH_NEW_DATA":p=r.getData()}var h=u.merge({text:c.slice(0,i)+r.getText()+c.slice(i),characterList:a(l,r.getCharacterList(),i),data:p});return e.merge({blockMap:n.set(o,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:f,anchorOffset:d,focusKey:f,focusOffset:d,isBackward:!1})})},f=function(e,t,n,i,a,s){var u=n.first()instanceof o,l=[],f=i.size,d=n.get(a),p=i.first(),h=i.last(),v=h.getLength(),y=h.getKey(),g=u&&(!d.getChildKeys().isEmpty()||!p.getChildKeys().isEmpty());n.forEach((function(e,t){t===a?(g?l.push(e):l.push(function(e,t,n){var r=e.getText(),o=e.getCharacterList(),i=r.slice(0,t),a=o.slice(0,t),s=n.first();return e.merge({text:i+s.getText(),characterList:a.concat(s.getCharacterList()),type:i?e.getType():s.getType(),data:s.getData()})}(e,s,i)),i.slice(g?0:1,f-1).forEach((function(e){return l.push(e)})),l.push(function(e,t,n){var r=e.getText(),o=e.getCharacterList(),i=r.length,a=r.slice(t,i),s=o.slice(t,i),u=n.last();return u.merge({text:u.getText()+a,characterList:u.getCharacterList().concat(s),data:u.getData()})}(e,s,i))):l.push(e)}));var m=r.createFromArray(l);return u&&(m=function(e,t,n,r){return e.withMutations((function(t){var o=n.getKey(),i=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),u=function(e,t){var n=e.getKey(),r=e,o=[];for(t.get(n)&&o.push(n);r&&r.getNextSiblingKey();){var i=r.getNextSiblingKey();if(!i)break;o.push(i),r=t.get(i)}return o}(r,e),l=u[u.length-1];if(t.get(i)?(t.setIn([o,"nextSibling"],i),t.setIn([i,"prevSibling"],o)):(t.setIn([o,"nextSibling"],r.getNextSiblingKey()),t.setIn([r.getNextSiblingKey(),"prevSibling"],o)),t.setIn([l,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],l),u.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var f=e.get(s).getChildKeys(),d=f.indexOf(o)+1,p=f.toArray();p.splice.apply(p,[d,0].concat(u)),t.setIn([s,"children"],c(p))}}))}(m,0,d,p)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:y,anchorOffset:v,focusKey:y,focusOffset:v,isBackward:!1})})};e.exports=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||s(!1);var i=e.getBlockMap(),a=u(n),c=t.getStartKey(),d=t.getStartOffset(),p=i.get(c);return p instanceof o&&(p.getChildKeys().isEmpty()||s(!1)),1===a.size?l(e,t,i,a.first(),c,d,r):f(e,t,i,a,c,d)}},11156:function(e,t,n){"use strict";var r=n(8269),o=n(10395),i=n(8275),a=r.Repeat;e.exports=function(e,t,n,r){t.isCollapsed()||i(!1);var s=null;if(null!=n&&(s=n.length),null==s||0===s)return e;var u=e.getBlockMap(),c=t.getStartKey(),l=t.getStartOffset(),f=u.get(c),d=f.getText(),p=f.merge({text:d.slice(0,l)+n+d.slice(l,f.getLength()),characterList:o(f.getCharacterList(),a(r,s).toList(),l)}),h=l+s;return e.merge({blockMap:u.set(c,p),selectionAfter:t.merge({anchorOffset:h,focusOffset:h})})}},11157:function(e,t,n){"use strict";var r=n(8418),o=n(10397),i=n(8269),a=(i.List,i.Map),s=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},u=function(e,t){var n=[];if(!e)return n;for(var r=t.get(e);r&&r.getParentKey();){var o=r.getParentKey();o&&n.push(o),r=o?t.get(o):null}return n},c=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getNextSiblingKey();r&&!t.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},l=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getPrevSiblingKey();r&&!t.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r},f=function(e,t,n,r){return e.withMutations((function(i){if(s(t.getKey(),i,(function(e){return e.merge({nextSibling:c(e,i,r),prevSibling:l(e,i,r)})})),s(n.getKey(),i,(function(e){return e.merge({nextSibling:c(e,i,r),prevSibling:l(e,i,r)})})),u(t.getKey(),r).forEach((function(e){return s(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:c(e,i,r),prevSibling:l(e,i,r)})}))})),s(t.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),s(t.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:c(e,i,r)})})),s(n.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:l(e,i,r)})})),s(n.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),u(n.getKey(),r).forEach((function(e){s(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:c(e,i,r),prevSibling:l(e,i,r)})}))})),function(e,t){var n=[];if(!e)return n;for(var r=o(e,t);r&&t.get(r);){var i=t.get(r);n.push(r),r=i.getParentKey()?o(i,t):null}return n}(n,r).forEach((function(e){return s(e,i,(function(e){return e.merge({nextSibling:c(e,i,r),prevSibling:l(e,i,r)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var a=t.getPrevSiblingKey();s(n.getKey(),i,(function(e){return e.merge({prevSibling:a})})),s(a,i,(function(e){return e.merge({nextSibling:n.getKey()})}));var f=a?e.get(a):null,d=f?f.getParentKey():null;if(t.getChildKeys().forEach((function(e){s(e,i,(function(e){return e.merge({parent:d})}))})),null!=d){var p=e.get(d);s(d,i,(function(e){return e.merge({children:p.getChildKeys().concat(t.getChildKeys())})}))}s(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),i,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},d=function(e,t,n){if(0===t)for(;t<n;)e=e.shift(),t++;else if(n===e.count())for(;n>t;)e=e.pop(),n--;else{var r=e.slice(0,t),o=e.slice(n);e=r.concat(o).toList()}return e};e.exports=function(e,t){if(t.isCollapsed())return e;var n,i=e.getBlockMap(),s=t.getStartKey(),c=t.getStartOffset(),l=t.getEndKey(),p=t.getEndOffset(),h=i.get(s),v=i.get(l),y=h instanceof r,g=[];if(y){var m=v.getChildKeys(),k=u(l,i);v.getNextSiblingKey()&&(g=g.concat(k)),m.isEmpty()||(g=g.concat(k.concat([l]))),g=g.concat(u(o(v,i),i))}n=h===v?d(h.getCharacterList(),c,p):h.getCharacterList().slice(0,c).concat(v.getCharacterList().slice(p));var x=h.merge({text:h.getText().slice(0,c)+v.getText().slice(p),characterList:n}),_=y&&0===c&&0===p&&v.getParentKey()===s&&null==v.getPrevSiblingKey()?a([[s,null]]):i.toSeq().skipUntil((function(e,t){return t===s})).takeUntil((function(e,t){return t===l})).filter((function(e,t){return-1===g.indexOf(t)})).concat(a([[l,null]])).map((function(e,t){return t===s?x:null})),b=i.merge(_).filter((function(e){return!!e}));return y&&h!==v&&(b=f(b,h,v,i)),e.merge({blockMap:b,selectionBefore:t,selectionAfter:t.merge({anchorKey:s,anchorOffset:c,focusKey:s,focusOffset:c,isBackward:!1})})}},11158:function(e,t,n){"use strict";var r=n(8418),o=n(8486),i=n(8269),a=n(8275),s=n(10396),u=i.List,c=i.Map,l=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}};e.exports=function(e,t){t.isCollapsed()||a(!1);var n=t.getAnchorKey(),i=e.getBlockMap(),f=i.get(n),d=f.getText();if(!d){var p=f.getType();if("unordered-list-item"===p||"ordered-list-item"===p)return s(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var h=t.getAnchorOffset(),v=f.getCharacterList(),y=o(),g=f instanceof r,m=f.merge({text:d.slice(0,h),characterList:v.slice(0,h)}),k=m.merge({key:y,text:d.slice(h),characterList:v.slice(h),data:c()}),x=i.toSeq().takeUntil((function(e){return e===f})),_=i.toSeq().skipUntil((function(e){return e===f})).rest(),b=x.concat([[n,m],[y,k]],_).toOrderedMap();return g&&(f.getChildKeys().isEmpty()||a(!1),b=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),o=n.getKey();l(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(r)+1,i=t.toArray();return i.splice(n,0,o),e.merge({children:u(i)})})),l(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:o})})),l(r,e,(function(e){return e.merge({nextSibling:o})})),l(o,e,(function(e){return e.merge({prevSibling:r})}))}))}(b,m,k)),e.merge({blockMap:b,selectionBefore:t,selectionAfter:t.merge({anchorKey:y,anchorOffset:0,focusKey:y,focusOffset:0,isBackward:!1})})}},11159:function(e,t,n){"use strict";var r=n(9029),o=n(8269),i=o.List,a=o.Repeat,s=o.Record,u=function(){return!0},c=s({start:null,end:null}),l=s({start:null,end:null,decoratorKey:null,leaves:null}),f={generate:function(e,t,n){var o=t.getLength();if(!o)return i.of(new l({start:0,end:0,decoratorKey:null,leaves:i.of(new c({start:0,end:0}))}));var s=[],f=n?n.getDecorations(t,e):i(a(null,o)),h=t.getCharacterList();return r(f,p,u,(function(e,t){s.push(new l({start:e,end:t,decoratorKey:f.get(e),leaves:d(h.slice(e,t).toList(),e)}))})),i(s)}};function d(e,t){var n=[],o=e.map((function(e){return e.getStyle()})).toList();return r(o,p,u,(function(e,r){n.push(new c({start:e+t,end:r+t}))})),i(n)}function p(e,t){return e===t}e.exports=f},11160:function(e,t,n){"use strict";var r,o=n(11161),i=n(8269),a=n(8372),s=i.OrderedMap,u={getDirectionMap:function(e,t){r?r.reset():r=new o;var n=e.getBlockMap(),u=n.valueSeq().map((function(e){return a(r).getDirection(e.getText())})),c=s(n.keySeq().zip(u));return null!=t&&i.is(t,c)?t:c}};e.exports=u},11161:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(9999),i=n(9197),a=n(8275),s=function(){function e(e){r(this,"_defaultDir",void 0),r(this,"_lastDir",void 0),e?i.isStrong(e)||a(!1):e=i.getGlobalDir(),this._defaultDir=e,this.reset()}var t=e.prototype;return t.reset=function(){this._lastDir=this._defaultDir},t.getDirection=function(e){return this._lastDir=o.getDirection(e,this._lastDir),this._lastDir},e}();e.exports=s},11162:function(e,t,n){"use strict";var r=n(8418),o=n(10397),i=n(8269),a=n(8275),s=i.OrderedMap,u=i.List,c=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},l=function(e,t,n,r,o){if(!o)return e;var i="after"===r,a=t.getKey(),s=n.getKey(),l=t.getParentKey(),f=t.getNextSiblingKey(),d=t.getPrevSiblingKey(),p=n.getParentKey(),h=i?n.getNextSiblingKey():s,v=i?s:n.getPrevSiblingKey();return e.withMutations((function(e){c(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),c(d,e,(function(e){return e.merge({nextSibling:f})})),c(f,e,(function(e){return e.merge({prevSibling:d})})),c(h,e,(function(e){return e.merge({prevSibling:a})})),c(v,e,(function(e){return e.merge({nextSibling:a})})),c(p,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),r=i?n+1:0!==n?n-1:0,o=t.toArray();return o.splice(r,0,a),e.merge({children:u(o)})})),c(a,e,(function(e){return e.merge({nextSibling:h,prevSibling:v,parent:p})}))}))};e.exports=function(e,t,n,i){"replace"===i&&a(!1);var u=n.getKey(),c=t.getKey();c===u&&a(!1);var f=e.getBlockMap(),d=t instanceof r,p=[t],h=f.delete(c);d&&(p=[],h=f.withMutations((function(e){var n=t.getNextSiblingKey(),r=o(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===c})).takeWhile((function(e){var t=e.getKey(),o=t===c,i=n&&t!==n,a=!n&&e.getParentKey()&&(!r||t!==r);return!!(o||i||a)})).forEach((function(t){p.push(t),e.delete(t.getKey())}))})));var v=h.toSeq().takeUntil((function(e){return e===n})),y=h.toSeq().skipUntil((function(e){return e===n})).skip(1),g=p.map((function(e){return[e.getKey(),e]})),m=s();if("before"===i){var k=e.getBlockBefore(u);k&&k.getKey()===t.getKey()&&a(!1),m=v.concat([].concat(g,[[u,n]]),y).toOrderedMap()}else if("after"===i){var x=e.getBlockAfter(u);x&&x.getKey()===c&&a(!1),m=v.concat([[u,n]].concat(g),y).toOrderedMap()}return e.merge({blockMap:l(m,t,n,i,d),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:c,focusKey:c})})}},11163:function(e,t,n){"use strict";var r=n(8269).List,o=function(){function e(e){var t,n,r;r=void 0,(n="_decorators")in(t=this)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,this._decorators=e.slice()}var t=e.prototype;return t.getDecorations=function(e,t){var n=Array(e.getText().length).fill(null);return this._decorators.forEach((function(r,o){var i=0;(0,r.strategy)(e,(function(e,t){(function(e,t,n){for(var r=t;r<n;r++)if(null!=e[r])return!1;return!0})(n,e,t)&&(!function(e,t,n,r){for(var o=t;o<n;o++)e[o]=r}(n,e,t,o+"."+i),i++)}),t)})),r(n)},t.getComponentForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].component},t.getPropsForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].props},e}();e.exports=o},11164:function(e,t,n){"use strict";(function(t){var r=n(367);function o(){return(o=r||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}).apply(this,arguments)}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){s(e,t,n[t])}))}return e}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var c=n(1e4),l=n(10400),f=n(11165),d=n(11172),p=n(11189),h=n(11192),v=n(11219),y=n(11220),g=n(10412),m=n(8284),k=n(0),x=n(10002),_=n(9201),b=n(8402),w=n(8696),S=n(8486),A=n(9205),E=n(9202),O=n(8580),C=n(8275),T=n(9030),D=n(8372),B=b.isBrowser("IE"),N=!B,F={edit:h,composite:f,drag:p,cut:null,render:null},P=!1,I=function(e){function t(){return e.apply(this,arguments)||this}u(t,e);var n=t.prototype;return n.render=function(){return null},n.componentDidMount=function(){this._update()},n.componentDidUpdate=function(){this._update()},n._update=function(){var e=this.props.editor;e._latestEditorState=this.props.editorState,e._blockSelectEvents=!0},t}(k.Component),j=function(e){function n(t){var n;return s(a(n=e.call(this,t)||this),"_blockSelectEvents",void 0),s(a(n),"_clipboard",void 0),s(a(n),"_handler",void 0),s(a(n),"_dragCount",void 0),s(a(n),"_internalDrag",void 0),s(a(n),"_editorKey",void 0),s(a(n),"_placeholderAccessibilityID",void 0),s(a(n),"_latestEditorState",void 0),s(a(n),"_latestCommittedEditorState",void 0),s(a(n),"_pendingStateFromBeforeInput",void 0),s(a(n),"_onBeforeInput",void 0),s(a(n),"_onBlur",void 0),s(a(n),"_onCharacterData",void 0),s(a(n),"_onCompositionEnd",void 0),s(a(n),"_onCompositionStart",void 0),s(a(n),"_onCopy",void 0),s(a(n),"_onCut",void 0),s(a(n),"_onDragEnd",void 0),s(a(n),"_onDragOver",void 0),s(a(n),"_onDragStart",void 0),s(a(n),"_onDrop",void 0),s(a(n),"_onInput",void 0),s(a(n),"_onFocus",void 0),s(a(n),"_onKeyDown",void 0),s(a(n),"_onKeyPress",void 0),s(a(n),"_onKeyUp",void 0),s(a(n),"_onMouseDown",void 0),s(a(n),"_onMouseUp",void 0),s(a(n),"_onPaste",void 0),s(a(n),"_onSelect",void 0),s(a(n),"editor",void 0),s(a(n),"editorContainer",void 0),s(a(n),"focus",void 0),s(a(n),"blur",void 0),s(a(n),"setMode",void 0),s(a(n),"exitCurrentMode",void 0),s(a(n),"restoreEditorDOM",void 0),s(a(n),"setClipboard",void 0),s(a(n),"getClipboard",void 0),s(a(n),"getEditorKey",void 0),s(a(n),"update",void 0),s(a(n),"onDragEnter",void 0),s(a(n),"onDragLeave",void 0),s(a(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),s(a(n),"focus",(function(e){var t=n.props.editorState,r=t.getSelection().getHasFocus(),o=n.editor;if(o){var i=_.getScrollParent(o),a=e||E(i),s=a.x,u=a.y;T(o)||C(!1),o.focus(),i===window?window.scrollTo(s,u):x.setTop(i,u),r||n.update(m.forceSelection(t,t.getSelection()))}})),s(a(n),"blur",(function(){var e=n.editor;e&&(T(e)||C(!1),e.blur())})),s(a(n),"setMode",(function(e){var t=n.props,r=t.onPaste,o=t.onCut,a=t.onCopy,s=i({},F.edit);r&&(s.onPaste=r),o&&(s.onCut=o),a&&(s.onCopy=a);var u=i({},F,{edit:s});n._handler=u[e]})),s(a(n),"exitCurrentMode",(function(){n.setMode("edit")})),s(a(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),s(a(n),"setClipboard",(function(e){n._clipboard=e})),s(a(n),"getClipboard",(function(){return n._clipboard})),s(a(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),s(a(n),"onDragEnter",(function(){n._dragCount++})),s(a(n),"onDragLeave",(function(){n._dragCount--,0===n._dragCount&&n.exitCurrentMode()})),n._blockSelectEvents=!1,n._clipboard=null,n._handler=null,n._dragCount=0,n._editorKey=t.editorKey||S(),n._placeholderAccessibilityID="placeholder-"+n._editorKey,n._latestEditorState=t.editorState,n._latestCommittedEditorState=t.editorState,n._onBeforeInput=n._buildHandler("onBeforeInput"),n._onBlur=n._buildHandler("onBlur"),n._onCharacterData=n._buildHandler("onCharacterData"),n._onCompositionEnd=n._buildHandler("onCompositionEnd"),n._onCompositionStart=n._buildHandler("onCompositionStart"),n._onCopy=n._buildHandler("onCopy"),n._onCut=n._buildHandler("onCut"),n._onDragEnd=n._buildHandler("onDragEnd"),n._onDragOver=n._buildHandler("onDragOver"),n._onDragStart=n._buildHandler("onDragStart"),n._onDrop=n._buildHandler("onDrop"),n._onInput=n._buildHandler("onInput"),n._onFocus=n._buildHandler("onFocus"),n._onKeyDown=n._buildHandler("onKeyDown"),n._onKeyPress=n._buildHandler("onKeyPress"),n._onKeyUp=n._buildHandler("onKeyUp"),n._onMouseDown=n._buildHandler("onMouseDown"),n._onMouseUp=n._buildHandler("onMouseUp"),n._onPaste=n._buildHandler("onPaste"),n._onSelect=n._buildHandler("onSelect"),n.getEditorKey=function(){return n._editorKey},n.state={contentsKey:0},n}u(n,e);var r=n.prototype;return r._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var r=t._handler&&t._handler[e];r&&(v?v((function(){return r(t,n)})):r(t,n))}}},r._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},r._renderPlaceholder=function(){if(this._showPlaceholder()){var e={text:D(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return k.createElement(y,e)}return null},r.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,a=e.customStyleFn,s=e.customStyleMap,u=e.editorState,c=e.preventScroll,f=e.readOnly,p=e.textAlignment,h=e.textDirectionality,v=w({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===p,"DraftEditor/alignRight":"right"===p,"DraftEditor/alignCenter":"center"===p}),y=this.props.role||"textbox",g="combobox"===y?!!this.props.ariaExpanded:null,m={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,customStyleMap:i({},l,s),customStyleFn:a,editorKey:this._editorKey,editorState:u,preventScroll:c,textDirectionality:h};return k.createElement("div",{className:v},this._renderPlaceholder(),k.createElement("div",{className:w("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},k.createElement("div",{"aria-activedescendant":f?null:this.props.ariaActiveDescendantID,"aria-autocomplete":f?null:this.props.ariaAutoComplete,"aria-controls":f?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":f?null:g,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":f?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:w({notranslate:!f,"public/DraftEditor/content":!0}),contentEditable:!f,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:f?null:y,spellCheck:N&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},k.createElement(I,{editor:this,editorState:u}),k.createElement(d,o({},m,{key:"contents"+this.state.contentsKey})))))},r.componentDidMount=function(){this._blockSelectEvents=!1,!P&&O("draft_ods_enabled")&&(P=!0,g.initODS()),this.setMode("edit"),B&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):t.execCommand("AutoUrlDetect",!1,!1))},r.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},n}(k.Component);s(j,"defaultProps",{blockRenderMap:c,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:A,readOnly:!1,spellCheck:!1,stripPastedStyles:!1}),e.exports=j}).call(this,n(44))},11165:function(e,t,n){"use strict";var r=n(11166),o=n(8371),i=n(8539),a=n(8284),s=n(9200),u=n(10403),c=n(10405),l=n(10406),f=n(9031),d=n(8372),p=!1,h=!1,v=null;var y={onCompositionStart:function(e){h=!0,function(e){v||(v=new r(c(e))).start()}(e)},onCompositionEnd:function(e){p=!1,h=!1,setTimeout((function(){p||y.resolveComposition(e)}),20)},onSelect:u,onKeyDown:function(e,t){if(!h)return y.resolveComposition(e),void e._onKeyDown(t);t.which!==s.RIGHT&&t.which!==s.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===s.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!h){var t=d(v).stopAndFlushMutations();v=null,p=!0;var n=a.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var r=n.getCurrentContent();t.forEach((function(e,t){var s=i.decode(t),u=s.blockKey,c=s.decoratorKey,l=s.leafKey,d=n.getBlockTree(u).getIn([c,"leaves",l]),p=d.start,h=d.end,v=n.getSelection().merge({anchorKey:u,focusKey:u,anchorOffset:p,focusOffset:h,isBackward:!1}),y=f(r,v),g=r.getBlockForKey(u).getInlineStyleAt(p);r=o.replaceText(r,v,e,g,y),n=a.set(n,{currentContent:r})}));var s=l(n,c(e)).selectionState;e.restoreEditorDOM();var u=a.acceptSelection(n,s);e.update(a.push(u,r,"insert-characters"))}else e.update(n)}}};e.exports=y},11166:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(8402),i=n(9198),a=n(10402),s=n(8269),u=n(8275),c=n(8372),l=s.Map,f={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},d=o.isBrowser("IE <= 11"),p=function(){function e(e){var t=this;r(this,"observer",void 0),r(this,"container",void 0),r(this,"mutations",void 0),r(this,"onCharData",void 0),this.container=e,this.mutations=l();var n=a(e);n.MutationObserver&&!d?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||u(!1),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,f):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},t.stopAndFlushMutations=function(){var e=this.observer;e?(this.registerMutations(e.takeRecords()),e.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var t=this.mutations;return this.mutations=l(),t},t.registerMutations=function(e){for(var t=0;t<e.length;t++)this.registerMutation(e[t])},t.getMutationTextContent=function(e){var t=e.type,n=e.target,r=e.removedNodes;if("characterData"===t){if(""!==n.textContent)return d?n.textContent.replace("\n",""):n.textContent}else if("childList"===t){if(r&&r.length)return"";if(""!==n.textContent)return n.textContent}return null},t.registerMutation=function(e){var t=this.getMutationTextContent(e);if(null!=t){var n=c(i(e.target));this.mutations=this.mutations.set(n,t)}},e}();e.exports=p},11167:function(e,t,n){"use strict";var r=n(11168),o="Unknown",i={"Mac OS":"Mac OS X"};var a,s=(new r).getResult(),u=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(s.browser.version),c={browserArchitecture:s.cpu.architecture||o,browserFullVersion:s.browser.version||o,browserMinorVersion:u.minor||o,browserName:s.browser.name||o,browserVersion:s.browser.major||o,deviceName:s.device.model||o,engineName:s.engine.name||o,engineVersion:s.engine.version||o,platformArchitecture:s.cpu.architecture||o,platformName:(a=s.os.name,i[a]||a||o),platformVersion:s.os.version||o,platformFullVersion:s.os.version||o};e.exports=c},11168:function(e,t,n){var r;!function(o,i){"use strict";var a="model",s="name",u="type",c="vendor",l="version",f="mobile",d="tablet",p="smarttv",h={extend:function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},has:function(e,t){return"string"==typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return"string"==typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:void 0},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},v={rgx:function(e,t){for(var n,r,o,i,a,s,u=0;u<t.length&&!a;){var c=t[u],l=t[u+1];for(n=r=0;n<c.length&&!a;)if(a=c[n++].exec(e))for(o=0;o<l.length;o++)s=a[++r],"object"==typeof(i=l[o])&&i.length>0?2==i.length?"function"==typeof i[1]?this[i[0]]=i[1].call(this,s):this[i[0]]=i[1]:3==i.length?"function"!=typeof i[1]||i[1].exec&&i[1].test?this[i[0]]=s?s.replace(i[1],i[2]):void 0:this[i[0]]=s?i[1].call(this,s,i[2]):void 0:4==i.length&&(this[i[0]]=s?i[3].call(this,s.replace(i[1],i[2])):void 0):this[i]=s||void 0;u+=2}},str:function(e,t){for(var n in t)if("object"==typeof t[n]&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(h.has(t[n][r],e))return"?"===n?void 0:n}else if(h.has(t[n],e))return"?"===n?void 0:n;return e}},y={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},g={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[s,l],[/(opios)[\/\s]+([\w\.]+)/i],[[s,"Opera Mini"],l],[/\s(opr)\/([\w\.]+)/i],[[s,"Opera"],l],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i,/(bidubrowser|baidubrowser)[\/\s]?([\w\.]+)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i],[s,l],[/(konqueror)\/([\w\.]+)/i],[[s,"Konqueror"],l],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[s,"IE"],l],[/(edge|edgios|edga|edg)\/((\d+)?[\w\.]+)/i],[[s,"Edge"],l],[/(yabrowser)\/([\w\.]+)/i],[[s,"Yandex"],l],[/(Avast)\/([\w\.]+)/i],[[s,"Avast Secure Browser"],l],[/(AVG)\/([\w\.]+)/i],[[s,"AVG Secure Browser"],l],[/(puffin)\/([\w\.]+)/i],[[s,"Puffin"],l],[/(focus)\/([\w\.]+)/i],[[s,"Firefox Focus"],l],[/(opt)\/([\w\.]+)/i],[[s,"Opera Touch"],l],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[s,"UCBrowser"],l],[/(comodo_dragon)\/([\w\.]+)/i],[[s,/_/g," "],l],[/(windowswechat qbcore)\/([\w\.]+)/i],[[s,"WeChat(Win) Desktop"],l],[/(micromessenger)\/([\w\.]+)/i],[[s,"WeChat"],l],[/(brave)\/([\w\.]+)/i],[[s,"Brave"],l],[/(qqbrowserlite)\/([\w\.]+)/i],[s,l],[/(QQ)\/([\d\.]+)/i],[s,l],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[s,l],[/(baiduboxapp)[\/\s]?([\w\.]+)/i],[s,l],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[s,l],[/(MetaSr)[\/\s]?([\w\.]+)/i],[s],[/(LBBROWSER)/i],[s],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[l,[s,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[l,[s,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/android.+(line)\/([\w\.]+)\/iab/i],[s,l],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[l,[s,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[s,/(.+)/,"$1 WebView"],l],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[s,/(.+(?:g|us))(.+)/,"$1 $2"],l],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[l,[s,"Android Browser"]],[/(sailfishbrowser)\/([\w\.]+)/i],[[s,"Sailfish Browser"],l],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[s,l],[/(dolfin)\/([\w\.]+)/i],[[s,"Dolphin"],l],[/(qihu|qhbrowser|qihoobrowser|360browser)/i],[[s,"360 Browser"]],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[s,"Chrome"],l],[/(coast)\/([\w\.]+)/i],[[s,"Opera Coast"],l],[/fxios\/([\w\.-]+)/i],[l,[s,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[l,[s,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[l,s],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[s,"GSA"],l],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[s,[l,v.str,y.browser.oldsafari.version]],[/(webkit|khtml)\/([\w\.]+)/i],[s,l],[/(navigator|netscape)\/([\w\.-]+)/i],[[s,"Netscape"],l],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[s,l]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",h.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/windows\s(ce|mobile);\sppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[["architecture",/ower/,"",h.lowerize]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+[;l]))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[["architecture",h.lowerize]]],device:[[/\((ipad|playbook);[\w\s\),;-]+(rim|apple)/i],[a,c,[u,d]],[/applecoremedia\/[\w\.]+ \((ipad)/],[a,[c,"Apple"],[u,d]],[/(apple\s{0,1}tv)/i],[[a,"Apple TV"],[c,"Apple"],[u,p]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[c,a,[u,d]],[/(kf[A-z]+)\sbuild\/.+silk\//i],[a,[c,"Amazon"],[u,d]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[a,v.str,y.device.amazon.model],[c,"Amazon"],[u,f]],[/android.+aft([bms])\sbuild/i],[a,[c,"Amazon"],[u,p]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[a,c,[u,f]],[/\((ip[honed|\s\w*]+);/i],[a,[c,"Apple"],[u,f]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[c,a,[u,f]],[/\(bb10;\s(\w+)/i],[a,[c,"BlackBerry"],[u,f]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone|p00c)/i],[a,[c,"Asus"],[u,d]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[c,"Sony"],[a,"Xperia Tablet"],[u,d]],[/android.+\s([c-g]\d{4}|so[-l]\w+)(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[a,[c,"Sony"],[u,f]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[c,a,[u,"console"]],[/android.+;\s(shield)\sbuild/i],[a,[c,"Nvidia"],[u,"console"]],[/(playstation\s[34portablevi]+)/i],[a,[c,"Sony"],[u,"console"]],[/(sprint\s(\w+))/i],[[c,v.str,y.device.sprint.vendor],[a,v.str,y.device.sprint.model],[u,f]],[/(htc)[;_\s-]+([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[c,[a,/_/g," "],[u,f]],[/(nexus\s9)/i],[a,[c,"HTC"],[u,d]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p|vog-l29|ane-lx1|eml-l29)/i],[a,[c,"Huawei"],[u,f]],[/android.+(bah2?-a?[lw]\d{2})/i],[a,[c,"Huawei"],[u,d]],[/(microsoft);\s(lumia[\s\w]+)/i],[c,a,[u,f]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[a,[c,"Microsoft"],[u,"console"]],[/(kin\.[onetw]{3})/i],[[a,/\./g," "],[c,"Microsoft"],[u,f]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[a,[c,"Motorola"],[u,f]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[a,[c,"Motorola"],[u,d]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[c,h.trim],[a,h.trim],[u,p]],[/hbbtv.+maple;(\d+)/i],[[a,/^/,"SmartTV"],[c,"Samsung"],[u,p]],[/\(dtv[\);].+(aquos)/i],[a,[c,"Sharp"],[u,p]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[c,"Samsung"],a,[u,d]],[/smart-tv.+(samsung)/i],[c,[u,p],a],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[c,"Samsung"],a,[u,f]],[/sie-(\w*)/i],[a,[c,"Siemens"],[u,f]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[c,"Nokia"],a,[u,f]],[/android[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[a,[c,"Acer"],[u,d]],[/android.+([vl]k\-?\d{3})\s+build/i],[a,[c,"LG"],[u,d]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[c,"LG"],a,[u,d]],[/(lg) netcast\.tv/i],[c,a,[u,p]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[a,[c,"LG"],[u,f]],[/(lenovo)\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+))/i],[c,a,[u,d]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[a,[c,"Lenovo"],[u,d]],[/(lenovo)[_\s-]?([\w-]+)/i],[c,a,[u,f]],[/linux;.+((jolla));/i],[c,a,[u,f]],[/((pebble))app\/[\d\.]+\s/i],[c,a,[u,"wearable"]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[c,a,[u,f]],[/crkey/i],[[a,"Chromecast"],[c,"Google"],[u,p]],[/android.+;\s(glass)\s\d/i],[a,[c,"Google"],[u,"wearable"]],[/android.+;\s(pixel c)[\s)]/i],[a,[c,"Google"],[u,d]],[/android.+;\s(pixel( [23])?( xl)?)[\s)]/i],[a,[c,"Google"],[u,f]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:a\d|one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],[[a,/_/g," "],[c,"Xiaomi"],[u,f]],[/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],[[a,/_/g," "],[c,"Xiaomi"],[u,d]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[a,[c,"Meizu"],[u,f]],[/(mz)-([\w-]{2,})/i],[[c,"Meizu"],a,[u,f]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})[\s)]/i],[a,[c,"OnePlus"],[u,f]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[a,[c,"RCA"],[u,d]],[/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],[a,[c,"Dell"],[u,d]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[a,[c,"Verizon"],[u,d]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[c,"Barnes & Noble"],a,[u,d]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[a,[c,"NuVision"],[u,d]],[/android.+;\s(k88)\sbuild/i],[a,[c,"ZTE"],[u,d]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[a,[c,"Swiss"],[u,f]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[a,[c,"Swiss"],[u,d]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[a,[c,"Zeki"],[u,d]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[c,"Dragon Touch"],a,[u,d]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[a,[c,"Insignia"],[u,d]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[a,[c,"NextBook"],[u,d]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[c,"Voice"],a,[u,f]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[c,"LvTel"],a,[u,f]],[/android.+;\s(PH-1)\s/i],[a,[c,"Essential"],[u,f]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[a,[c,"Envizen"],[u,d]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[c,a,[u,d]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[a,[c,"MachSpeed"],[u,d]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[c,a,[u,d]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[a,[c,"Rotor"],[u,d]],[/android.+(KS(.+))\s+build/i],[a,[c,"Amazon"],[u,d]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[c,a,[u,d]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[u,h.lowerize],c,a],[/[\s\/\(](smart-?tv)[;\)]/i],[[u,p]],[/(android[\w\.\s\-]{0,9});.+build/i],[a,[c,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[l,[s,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[l,[s,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[s,l],[/rv\:([\w\.]{1,9}).+(gecko)/i],[l,s]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[s,l],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[s,[l,v.str,y.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[s,"Windows"],[l,v.str,y.os.windows.version]],[/\((bb)(10);/i],[[s,"BlackBerry"],l],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen|kaios)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i],[s,l],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[s,"Symbian"],l],[/\((series40);/i],[s],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[s,"Firefox OS"],l],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[s,l],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[s,"Chromium OS"],l],[/(sunos)\s?([\w\.\d]*)/i],[[s,"Solaris"],l],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[s,l],[/(haiku)\s(\w+)/i],[s,l],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[l,/_/g,"."],[s,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[s,"Mac OS"],[l,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[s,l]]},m=function(e,t){if("object"==typeof e&&(t=e,e=void 0),!(this instanceof m))return new m(e,t).getResult();var n=e||(o&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:""),r=t?h.extend(g,t):g;return this.getBrowser=function(){var e={name:void 0,version:void 0};return v.rgx.call(e,n,r.browser),e.major=h.major(e.version),e},this.getCPU=function(){var e={architecture:void 0};return v.rgx.call(e,n,r.cpu),e},this.getDevice=function(){var e={vendor:void 0,model:void 0,type:void 0};return v.rgx.call(e,n,r.device),e},this.getEngine=function(){var e={name:void 0,version:void 0};return v.rgx.call(e,n,r.engine),e},this.getOS=function(){var e={name:void 0,version:void 0};return v.rgx.call(e,n,r.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=e,this},this};m.VERSION="0.7.21",m.BROWSER={NAME:s,MAJOR:"major",VERSION:l},m.CPU={ARCHITECTURE:"architecture"},m.DEVICE={MODEL:a,VENDOR:c,TYPE:u,CONSOLE:"console",MOBILE:f,SMARTTV:p,TABLET:d,WEARABLE:"wearable",EMBEDDED:"embedded"},m.ENGINE={NAME:s,VERSION:l},m.OS={NAME:s,VERSION:l},void 0!==t?(void 0!==e&&e.exports&&(t=e.exports=m),t.UAParser=m):void 0===(r=function(){return m}.call(t,n,t,e))||(e.exports=r);var k=o&&(o.jQuery||o.Zepto);if(k&&!k.ua){var x=new m;k.ua=x.getResult(),k.ua.get=function(){return x.getUA()},k.ua.set=function(e){x.setUA(e);var t=x.getResult();for(var n in t)k.ua[n]=t[n]}}}("object"==typeof window?window:this)},11169:function(e,t,n){"use strict";var r=n(8275),o=/\./,i=/\|\|/,a=/\s+\-\s+/,s=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,u=/^(\d*)(.*)/;function c(e,t){var n=e.split(i);return n.length>1?n.some((function(e){return x.contains(e,t)})):function(e,t){var n=e.split(a);if(n.length>0&&n.length<=2||r(!1),1===n.length)return l(n[0],t);var o=n[0],i=n[1];return v(o)&&v(i)||r(!1),l(">="+o,t)&&l("<="+i,t)}(e=n[0].trim(),t)}function l(e,t){if(""===(e=e.trim()))return!0;var n,r=t.split(o),i=p(e),a=i.modifier,s=i.rangeComponents;switch(a){case"<":return f(r,s);case"<=":return-1===(n=k(r,s))||0===n;case">=":return d(r,s);case">":return function(e,t){return 1===k(e,t)}(r,s);case"~":case"~>":return function(e,t){var n=t.slice(),r=t.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);h(i)&&(r[o]=i+1+"");return d(e,n)&&f(e,r)}(r,s);default:return function(e,t){return 0===k(e,t)}(r,s)}}function f(e,t){return-1===k(e,t)}function d(e,t){var n=k(e,t);return 1===n||0===n}function p(e){var t=e.split(o),n=t[0].match(s);return n||r(!1),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function h(e){return!isNaN(e)&&isFinite(e)}function v(e){return!p(e).modifier}function y(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function g(e,t){var n=e.match(u)[1],r=t.match(u)[1],o=parseInt(n,10),i=parseInt(r,10);return h(o)&&h(i)&&o!==i?m(o,i):m(e,t)}function m(e,t){return typeof e!=typeof t&&r(!1),e>t?1:e<t?-1:0}function k(e,t){for(var n=function(e,t){y(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var r=t[n].match(/^[x*]$/i);if(r&&(t[n]=e[n]="0","*"===r[0]&&n===t.length-1))for(var o=n;o<e.length;o++)e[o]="0"}return y(t,e.length),[e,t]}(e,t),r=n[0],o=n[1],i=0;i<o.length;i++){var a=g(r[i],o[i]);if(a)return a}return 0}var x={contains:function(e,t){return c(e.trim(),t.trim())}};e.exports=x},11170:function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){if(!e)return null;var o={};for(var i in e)r.call(e,i)&&(o[i]=t.call(n,e[i],i,e));return o}},11171:function(e,t,n){"use strict";e.exports=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}},11172:function(e,t,n){"use strict";var r=n(8580)("draft_tree_data_support");e.exports=n(r?11173:11187)},11173:function(e,t,n){"use strict";var r=n(367);function o(){return(o=r||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}).apply(this,arguments)}var i=n(11174),a=n(8539),s=n(0),u=n(8372),c=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var c=r.prototype;return c.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=t.isInCompositionMode(),i=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),u=t.getDecorator(),c=n.getDecorator();return o!==i||a!==s||u!==c||n.mustForceSelection()},c.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,c=e.customStyleMap,l=e.customStyleFn,f=e.editorState,d=e.editorKey,p=e.textDirectionality,h=f.getCurrentContent(),v=f.getSelection(),y=f.mustForceSelection(),g=f.getDecorator(),m=u(f.getDirectionMap()),k=[],x=h.getBlocksAsArray()[0];x;){var _=x.getKey(),b={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,contentState:h,customStyleFn:l,customStyleMap:c,decorator:g,editorKey:d,editorState:f,forceSelection:y,selection:v,block:x,direction:p||m.get(_),tree:f.getBlockTree(_)},w=(t.get(x.getType())||t.get("unstyled")).wrapper;k.push({block:s.createElement(i,o({key:_},b)),wrapperTemplate:w,key:_,offsetKey:a.encode(_,0,0)});var S=x.getNextSiblingKey();x=S?h.getBlockForKey(S):null}for(var A=[],E=0;E<k.length;){var O=k[E];if(O.wrapperTemplate){var C=[];do{C.push(k[E].block),E++}while(E<k.length&&k[E].wrapperTemplate===O.wrapperTemplate);var T=s.cloneElement(O.wrapperTemplate,{key:O.key+"-wrap","data-offset-key":O.offsetKey},C);A.push(T)}else A.push(O.block),E++}return s.createElement("div",{"data-contents":"true"},A)},r}(s.Component);e.exports=c},11174:function(e,t,n){"use strict";var r=n(367);function o(){return(o=r||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}).apply(this,arguments)}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){s(e,t,n[t])}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=n(11175),c=n(8539),l=n(0),f=n(10002),d=n(9201),p=n(10414),h=n(9202),v=n(10415),y=n(8269),g=n(8275),m=n(9030),k=(y.List,function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t}),x=function(e,t){var n=t.get(e.getType())||t.get("unstyled"),r=n.wrapper;return{Element:n.element||t.get("unstyled").element,wrapperTemplate:r}},_=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},b=function(e,t,n,r,o,i){var s={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:i},u=r(e);return u&&(s.className=u),void 0!==o.customEditable&&(s=a({},s,{contentEditable:o.customEditable,suppressContentEditableWarning:!0})),s},w=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return s(i(t=e.call.apply(e,[this].concat(r))||this),"wrapperRef",l.createRef()),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var y=r.prototype;return y.shouldComponentUpdate=function(e){var t=this.props,n=t.block,r=t.direction,o=t.tree,i=!n.getChildKeys().isEmpty(),a=n!==e.block||o!==e.tree||r!==e.direction||k(e.selection,e.block.getKey())&&e.forceSelection;return i||a},y.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var r,o=d.getScrollParent(n),i=h(o);if(o===window){var a=p(n);(r=a.y+a.height-v().height)>0&&window.scrollTo(i.x,i.y+r+10)}else{m(n)||g(!1);var s=n;(r=s.offsetHeight+s.offsetTop-(o.offsetHeight+i.y))>0&&f.setTop(o,f.getTop(o)+r+10)}}}},y.render=function(){var e=this,t=this.props,n=t.block,i=t.blockRenderMap,s=t.blockRendererFn,f=t.blockStyleFn,d=t.contentState,p=t.decorator,h=t.editorKey,v=t.editorState,y=t.customStyleFn,g=t.customStyleMap,m=t.direction,w=t.forceSelection,S=t.selection,A=t.tree,E=null;n.children.size&&(E=n.children.reduce((function(t,n){var o=c.encode(n,0,0),u=d.getBlockForKey(n),p=_(u,s),y=p.CustomComponent||r,g=x(u,i),m=g.Element,k=g.wrapperTemplate,w=b(u,h,o,f,p,null),S=a({},e.props,{tree:v.getBlockTree(n),blockProps:p.customProps,offsetKey:o,block:u});return t.push(l.createElement(m,w,l.createElement(y,S))),!k||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(u,d)||function(e,t,n){var r=[],o=!0,i=!1,a=void 0;try{for(var s,u=n.reverse()[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var f=s.value;if(f.type!==t)break;r.push(f)}}catch(e){i=!0,a=e}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}n.splice(n.indexOf(r[0]),r.length+1);var d=r.reverse(),p=d[0].key;n.push(l.cloneElement(e,{key:"".concat(p,"-wrap"),"data-offset-key":c.encode(p,0,0)},d))}(k,m,t),t}),[]));var O=n.getKey(),C=c.encode(O,0,0),T=_(n,s),D=T.CustomComponent,B=null!=D?l.createElement(D,o({},this.props,{tree:v.getBlockTree(O),blockProps:T.customProps,offsetKey:C,block:n})):l.createElement(u,{block:n,children:E,contentState:d,customStyleFn:y,customStyleMap:g,decorator:p,direction:m,forceSelection:w,hasSelection:k(S,O),selection:S,tree:A});if(n.getParentKey())return B;var N=x(n,i).Element,F=b(n,h,C,f,T,this.wrapperRef);return l.createElement(N,F,B)},r}(l.Component);e.exports=w},11175:function(e,t,n){"use strict";var r=n(11176),o=n(10410),i=n(8539),a=n(8269),s=n(0),u=n(8696),c=(a.List,function(e){var t,n;function a(){return e.apply(this,arguments)||this}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,a=e.customStyleFn,c=e.customStyleMap,l=e.decorator,f=e.direction,d=e.forceSelection,p=e.hasSelection,h=e.selection,v=e.tree,y=t.getKey(),g=t.getText(),m=v.size-1,k=this.props.children||v.map((function(e,u){var v=e.get("decoratorKey"),k=e.get("leaves"),x=k.size-1,_=k.map((function(e,n){var r=i.encode(y,u,n),l=e.get("start"),f=e.get("end");return s.createElement(o,{key:r,offsetKey:r,block:t,start:l,selection:p?h:null,forceSelection:d,text:g.slice(l,f),styleSet:t.getInlineStyleAt(l),customStyleMap:c,customStyleFn:a,isLast:v===m&&n===x})})).toArray();return v&&l?s.createElement(r,{block:t,children:_,contentState:n,decorator:l,decoratorKey:v,direction:f,leafSet:e,text:g,key:u}):_})).toArray();return s.createElement("div",{"data-offset-key":i.encode(y,0,0),className:u({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===f,"public/DraftStyleDefault/rtl":"RTL"===f})},k)},a}(s.Component));e.exports=c},11176:function(e,t,n){"use strict";var r=n(367);function o(){return(o=r||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}).apply(this,arguments)}var i=n(8539),a=n(0),s=n(9999),u=n(9197),c=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.block,n=e.children,r=e.contentState,c=e.decorator,l=e.decoratorKey,f=e.direction,d=e.leafSet,p=e.text,h=t.getKey(),v=d.get("leaves"),y=c.getComponentForKey(l),g=c.getPropsForKey(l),m=i.encode(h,parseInt(l,10),0),k=p.slice(v.first().get("start"),v.last().get("end")),x=u.getHTMLDirIfDifferent(s.getDirection(k),f);return a.createElement(y,o({},g,{contentState:r,decoratedText:k,dir:x,key:m,entityKey:t.getEntityAt(d.get("start")),offsetKey:m}),n)},r}(a.Component);e.exports=c},11177:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(0),a=n(8402),s=n(8275),u=n(8697),c=a.isBrowser("IE <= 11");var l=function(e){var t,n;function a(t){var n;return o(r(n=e.call(this,t)||this),"_forceFlag",void 0),o(r(n),"_node",void 0),n._forceFlag=!1,n}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var l=a.prototype;return l.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;u(t)||s(!1);var r=t;return n?!function(e){return c?"\n"===e.textContent:"BR"===e.tagName}(r):r.textContent!==e.children},l.componentDidMount=function(){this._forceFlag=!this._forceFlag},l.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},l.render=function(){var e=this;return""===this.props.children?this._forceFlag?function(e){return c?i.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):i.createElement("br",{key:"A","data-text":"true",ref:e})}((function(t){return e._node=t})):function(e){return c?i.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):i.createElement("br",{key:"B","data-text":"true",ref:e})}((function(t){return e._node=t})):i.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(t){return e._node=t}},this.props.children)},a}(i.Component);e.exports=l},11178:function(e,t,n){"use strict";var r=n(10412),o=n(10404),i=n(8402),a=n(10001),s=n(10413),u=n(9199),c=n(8275),l=n(8697),f=i.isBrowser("IE");function d(e,t){if(!e)return"[empty]";var n=function e(t,n){var r=void 0!==n?n(t):[];if(t.nodeType===Node.TEXT_NODE){var o=t.textContent.length;return u(t).createTextNode("[text "+o+(r.length?" | "+r.join(", "):"")+"]")}var i=t.cloneNode();1===i.nodeType&&r.length&&i.setAttribute("data-labels",r.join(", "));for(var a=t.childNodes,s=0;s<a.length;s++)i.appendChild(e(a[s],n));return i}(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(l(n)||c(!1),n.outerHTML)}function p(e,t){for(var n=e,r=n;n;){if(l(n)&&r.hasAttribute("contenteditable"))return d(n,t);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function h(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function v(e,t,n,r){var i=s();if(e.extend&&a(i,t)){n>h(t)&&o.logSelectionStateFailure({anonymizedDom:p(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var u=t===e.focusNode;try{e.extend(t,n)}catch(a){throw o.logSelectionStateFailure({anonymizedDom:p(t,(function(t){var n=[];return t===i&&n.push("active element"),t===e.anchorNode&&n.push("selection anchor node"),t===e.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:i?i.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:u,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(r.toJS(),null,2)}),a}}else if(e.rangeCount>0){var c=e.getRangeAt(0);c.setEnd(t,n),e.addRange(c.cloneRange())}}function y(e,t,n,i){var a=u(t).createRange();if(n>h(t)&&(o.logSelectionStateFailure({anonymizedDom:p(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.handleExtensionCausedError()),a.setStart(t,n),f)try{e.addRange(a)}catch(e){0}else e.addRange(a)}e.exports={setDraftEditorSelection:function(e,t,n,r,o){var i=u(t);if(a(i.documentElement,t)){var s=i.defaultView.getSelection(),c=e.getAnchorKey(),l=e.getAnchorOffset(),f=e.getFocusKey(),d=e.getFocusOffset(),p=e.getIsBackward();if(!s.extend&&p){var h=c,g=l;c=f,l=d,f=h,d=g,p=!1}var m=c===n&&r<=l&&o>=l,k=f===n&&r<=d&&o>=d;if(m&&k)return s.removeAllRanges(),y(s,t,l-r,e),void v(s,t,d-r,e);if(p){if(k&&(s.removeAllRanges(),y(s,t,d-r,e)),m){var x=s.focusNode,_=s.focusOffset;s.removeAllRanges(),y(s,t,l-r,e),v(s,x,_,e)}}else m&&(s.removeAllRanges(),y(s,t,l-r,e)),k&&v(s,t,d-r,e)}},addFocusToSelection:v}},11179:function(e,t,n){"use strict";var r=n(11180);e.exports=function(e){return r(e)&&3==e.nodeType}},11180:function(e,t,n){"use strict";e.exports=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}},11181:function(e,t,n){"use strict";var r=n(11182),o=n(11183);function i(e){return null==e?e:String(e)}e.exports=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return i(n.getPropertyValue(o(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return i(n.getPropertyValue(o(t)));if("display"===t)return"none"}return e.currentStyle?i("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[r(t)]):i(e.style&&e.style[r(t)])}},11182:function(e,t,n){"use strict";var r=/-(.)/g;e.exports=function(e){return e.replace(r,(function(e,t){return t.toUpperCase()}))}},11183:function(e,t,n){"use strict";var r=/([A-Z])/g;e.exports=function(e){return e.replace(r,"-$1").toLowerCase()}},11184:function(e,t,n){"use strict";var r=n(10001);e.exports=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!r(t,e))return{left:0,right:0,top:0,bottom:0};var n=e.getBoundingClientRect();return{left:Math.round(n.left)-t.clientLeft,right:Math.round(n.right)-t.clientLeft,top:Math.round(n.top)-t.clientTop,bottom:Math.round(n.bottom)-t.clientTop}}},11185:function(e,t,n){"use strict";var r="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;e.exports=function(e){return(e=e||document).scrollingElement?e.scrollingElement:r||"CSS1Compat"!==e.compatMode?e.body:e.documentElement}},11186:function(e,t,n){"use strict";e.exports=function(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}},11187:function(e,t,n){"use strict";var r=n(367);function o(){return(o=r||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}).apply(this,arguments)}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){a(e,t,n[t])}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=n(10416),u=n(8539),c=n(0),l=n(8696),f=n(11188),d=n(8372),p=function(e,t,n,r){return l({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===e,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===e,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===t,"public/DraftStyleDefault/depth1":1===t,"public/DraftStyleDefault/depth2":2===t,"public/DraftStyleDefault/depth3":3===t,"public/DraftStyleDefault/depth4":t>=4,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},h=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=r.prototype;return a.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=t.isInCompositionMode(),i=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),u=t.getDecorator(),c=n.getDecorator();return o!==i||a!==s||u!==c||n.mustForceSelection()},a.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,a=e.customStyleMap,l=e.customStyleFn,h=e.editorState,v=e.editorKey,y=e.preventScroll,g=e.textDirectionality,m=h.getCurrentContent(),k=h.getSelection(),x=h.mustForceSelection(),_=h.getDecorator(),b=d(h.getDirectionMap()),w=m.getBlocksAsArray(),S=[],A=null,E=null,O=0;O<w.length;O++){var C=w[O],T=C.getKey(),D=C.getType(),B=n(C),N=void 0,F=void 0,P=void 0;B&&(N=B.component,F=B.props,P=B.editable);var I=g||b.get(T),j=u.encode(T,0,0),M={contentState:m,block:C,blockProps:F,blockStyleFn:r,customStyleMap:a,customStyleFn:l,decorator:_,direction:I,forceSelection:x,offsetKey:j,preventScroll:y,selection:k,tree:h.getBlockTree(T)},R=t.get(D)||t.get("unstyled"),L=R.wrapper,K=R.element||t.get("unstyled").element,z=C.getDepth(),G="";if(r&&(G=r(C)),"li"===K)G=f(G,p(D,z,E!==L||null===A||z>A,I));var V=N||s,U={className:G,"data-block":!0,"data-editor":v,"data-offset-key":j,key:T};void 0!==P&&(U=i({},U,{contentEditable:P,suppressContentEditableWarning:!0}));var q=c.createElement(K,U,c.createElement(V,o({},M,{key:T})));S.push({block:q,wrapperTemplate:L,key:T,offsetKey:j}),A=L?C.getDepth():null,E=L}for(var W=[],J=0;J<S.length;){var H=S[J];if(H.wrapperTemplate){var Y=[];do{Y.push(S[J].block),J++}while(J<S.length&&S[J].wrapperTemplate===H.wrapperTemplate);var $=c.cloneElement(H.wrapperTemplate,{key:H.key+"-wrap","data-offset-key":H.offsetKey},Y);W.push($)}else W.push(H.block),J++}return c.createElement("div",{"data-contents":"true"},W)},r}(c.Component);e.exports=h},11188:function(e,t,n){"use strict";e.exports=function(e){var t=e||"",n=arguments.length;if(n>1)for(var r=1;r<n;r++){var o=arguments[r];o&&(t=(t?t+" ":"")+o)}return t}},11189:function(e,t,n){"use strict";var r=n(10417),o=n(8371),i=n(8284),a=n(9198),s=n(9199),u=n(10419),c=n(10408),l=n(10402),f=n(9203),d=n(8372);var p={onDragEnd:function(e){e.exitCurrentMode(),h(e)},onDrop:function(e,t){var n=new r(t.nativeEvent.dataTransfer),l=e._latestEditorState,p=function(e,t){var n=null,r=null,o=s(e.currentTarget);if("function"==typeof o.caretRangeFromPoint){var i=o.caretRangeFromPoint(e.x,e.y);n=i.startContainer,r=i.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,r=e.rangeOffset}n=d(n),r=d(r);var u=d(a(n));return c(t,u,r,u,r)}(t.nativeEvent,l);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=p){var y=n.getFiles();if(y.length>0){if(e.props.handleDroppedFiles&&f(e.props.handleDroppedFiles(p,y)))return;u(y,(function(t){t&&e.update(v(l,p,t))}))}else{var g=e._internalDrag?"internal":"external";e.props.handleDrop&&f(e.props.handleDrop(p,n,g))||(e._internalDrag?e.update(function(e,t){var n=o.moveText(e.getCurrentContent(),e.getSelection(),t);return i.push(e,n,"insert-fragment")}(l,p)):e.update(v(l,p,n.getText()))),h(e)}}}};function h(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:l(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function v(e,t,n){var r=o.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return i.push(e,r,"insert-fragment")}e.exports=p},11190:function(e,t,n){"use strict";var r={isImage:function(e){return"image"===o(e)[0]},isJpeg:function(e){var t=o(e);return r.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function o(e){return e.split("/")}e.exports=r},11191:function(e,t,n){"use strict";var r=n(8275);e.exports=function(e){return function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}(e)?Array.isArray(e)?e.slice():function(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&r(!1),"number"!=typeof t&&r(!1),0===t||t-1 in e||r(!1),"function"==typeof e.callee&&r(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),o=0;o<t;o++)n[o]=e[o];return n}(e):[e]}},11192:function(e,t,n){"use strict";var r=n(8402),o=n(11193),i=n(11196),a=n(11197),s=n(11198),u=n(11199),c=n(11201),l=n(11202),f=n(11203),d=n(11204),p=n(11205),h=n(11212),v=n(10403),y=r.isBrowser("Chrome")?v:function(e){},g={onBeforeInput:o,onBlur:i,onCompositionStart:a,onCopy:s,onCut:u,onDragOver:c,onDragStart:l,onFocus:f,onInput:d,onKeyDown:p,onPaste:h,onSelect:v,onMouseUp:y,onKeyUp:y};e.exports=g},11193:function(e,t,n){"use strict";var r=n(8371),o=n(8284),i=n(8402),a=n(9031),s=n(9203),u=n(11194),c=n(8372),l=n(11195),f=i.isBrowser("Firefox");function d(e,t,n,i,a){var s=r.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return o.push(e,s,"insert-characters",a)}e.exports=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e._latestEditorState,r=t.data;if(r)if(e.props.handleBeforeInput&&s(e.props.handleBeforeInput(r,n,t.timeStamp)))t.preventDefault();else{var i=n.getSelection(),p=i.getStartOffset(),h=i.getAnchorKey();if(!i.isCollapsed())return t.preventDefault(),void e.update(d(n,r,n.getCurrentInlineStyle(),a(n.getCurrentContent(),n.getSelection()),!0));var v,y=d(n,r,n.getCurrentInlineStyle(),a(n.getCurrentContent(),n.getSelection()),!1),g=!1;if(g||(g=u(e._latestCommittedEditorState)),!g){var m=n.getBlockTree(h),k=y.getBlockTree(h);g=m.size!==k.size||m.zip(k).some((function(e){var t=e[0],n=e[1],o=t.get("start"),i=o+(o>=p?r.length:0),a=t.get("end"),s=a+(a>=p?r.length:0),u=n.get("start"),c=n.get("end"),l=n.get("decoratorKey");return t.get("decoratorKey")!==l||t.get("leaves").size!==n.get("leaves").size||i!==u||s!==c||null!=l&&c-u!=a-o}))}if(g||(v=r,g=f&&("'"==v||"/"==v)),g||(g=c(y.getDirectionMap()).get(h)!==c(n.getDirectionMap()).get(h)),g)return t.preventDefault(),y=o.set(y,{forceSelection:!0}),void e.update(y);y=o.set(y,{nativelyRenderedContent:y.getCurrentContent()}),e._pendingStateFromBeforeInput=y,l((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}}},11194:function(e,t,n){"use strict";e.exports=function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),o=t.getStartOffset(),i=!1;return r.some((function(e){return o===e.get("start")?(i=!0,!0):o<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return o===t&&(i=!0,!0)}))})),i}},11195:function(e,t,n){"use strict";(function(t){n(1399),e.exports=t.setImmediate}).call(this,n(44))},11196:function(e,t,n){"use strict";var r=n(8284),o=n(10001),i=n(10413);e.exports=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&i(n)===n.body){var a=n.defaultView.getSelection(),s=e.editor;1===a.rangeCount&&o(s,a.anchorNode)&&o(s,a.focusNode)&&a.removeAllRanges()}var u=e._latestEditorState,c=u.getSelection();if(c.getHasFocus()){var l=c.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(r.acceptSelection(u,l))}}},11197:function(e,t,n){"use strict";var r=n(8284);e.exports=function(e,t){e.setMode("composite"),e.update(r.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)}},11198:function(e,t,n){"use strict";var r=n(10420);e.exports=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(r(e._latestEditorState))}},11199:function(e,t,n){"use strict";var r=n(8371),o=n(8284),i=n(9201),a=n(10420),s=n(9202),u=n(11200);e.exports=function(e,t){var n,c=e._latestEditorState,l=c.getSelection(),f=t.target;if(l.isCollapsed())t.preventDefault();else{if(u(f)){var d=f;n=s(i.getScrollParent(d))}var p=a(c);e.setClipboard(p),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=r.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return o.push(e,t,"remove-range")}(c))}),0)}}},11200:function(e,t,n){"use strict";e.exports=function(e){if(!e||!("ownerDocument"in e))return!1;if("ownerDocument"in e){var t=e;if(!t.ownerDocument.defaultView)return t instanceof Node;if(t instanceof t.ownerDocument.defaultView.Node)return!0}return!1}},11201:function(e,t,n){"use strict";e.exports=function(e,t){e.setMode("drag"),t.preventDefault()}},11202:function(e,t,n){"use strict";e.exports=function(e){e._internalDrag=!0,e.setMode("drag")}},11203:function(e,t,n){"use strict";var r=n(8284),o=n(8402);e.exports=function(e,t){var n=e._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var a=i.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),o.isBrowser("Chrome < 60.0.3081.0")?e.update(r.forceSelection(n,a)):e.update(r.acceptSelection(n,a))}}},11204:function(e,t,n){"use strict";var r=n(8371),o=n(8539),i=n(8284),a=n(8402),s=n(10409).notEmptyKey,u=n(9198),c=n(9204),l=n(8372),f=a.isEngine("Gecko");e.exports=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),a=n.anchorNode,d=n.isCollapsed;if(!((null==a?void 0:a.nodeType)!==Node.TEXT_NODE&&(null==a?void 0:a.nodeType)!==Node.ELEMENT_NODE)){if(a.nodeType===Node.TEXT_NODE&&(null!==a.previousSibling||null!==a.nextSibling)){var p=a.parentNode;a.nodeValue=p.textContent;for(var h=p.firstChild;null!==h;h=h.nextSibling)h!==a&&p.removeChild(h)}var v=a.textContent,y=e._latestEditorState,g=l(u(a)),m=o.decode(g),k=m.blockKey,x=m.decoratorKey,_=m.leafKey,b=y.getBlockTree(k).getIn([x,"leaves",_]),w=b.start,S=b.end,A=y.getCurrentContent(),E=A.getBlockForKey(k),O=E.getText().slice(w,S);if(v.endsWith("\n\n")&&(v=v.slice(0,-1)),v!==O){var C,T,D,B,N=y.getSelection(),F=N.merge({anchorOffset:w,focusOffset:S,isBackward:!1}),P=E.getEntityAt(w),I=s(P)?A.getEntity(P):null,j="MUTABLE"===(null!=I?I.getMutability():null),M=j?"spellcheck-change":"apply-entity",R=r.replaceText(A,F,v,E.getInlineStyleAt(w),j?E.getEntityAt(w):null);if(f)C=n.anchorOffset,T=n.focusOffset,B=(D=w+Math.min(C,T))+Math.abs(C-T),C=D,T=B;else{var L=v.length-O.length;D=N.getStartOffset(),B=N.getEndOffset(),C=d?B+L:D,T=B+L}var K=R.merge({selectionBefore:A.getSelectionAfter(),selectionAfter:N.merge({anchorOffset:C,focusOffset:T})});e.update(i.push(y,K,M))}else{var z=t.nativeEvent.inputType;if(z){var G=function(e,t){switch(e){case"deleteContentBackward":return c(t)}return t}(z,y);if(G!==y)return e.restoreEditorDOM(),void e.update(G)}}}}},11205:function(e,t,n){"use strict";var r=n(8371),o=n(8284),i=n(10005),a=n(9200),s=n(11207),u=n(8402),c=n(9203),l=n(10006),f=n(10007),d=n(10008),p=n(11210),h=n(10009),v=n(10010),y=n(9204),g=n(10011),m=n(10012),k=n(11211),x=i.isOptionKeyCommand,_=u.isBrowser("Chrome");e.exports=function(e,t){var n=t.which,i=e._latestEditorState;function u(n){var r=e.props[n];return!!r&&(r(t),!0)}switch(n){case a.RETURN:if(t.preventDefault(),e.props.handleReturn&&c(e.props.handleReturn(t,i)))return;break;case a.ESC:if(t.preventDefault(),u("onEscape"))return;break;case a.TAB:if(u("onTab"))return;break;case a.UP:if(u("onUpArrow"))return;break;case a.RIGHT:if(u("onRightArrow"))return;break;case a.DOWN:if(u("onDownArrow"))return;break;case a.LEFT:if(u("onLeftArrow"))return;break;case a.SPACE:_&&x(t)&&t.preventDefault()}var b=e.props.keyBindingFn(t);if(null!=b&&""!==b)if("undo"!==b){if(t.preventDefault(),!e.props.handleKeyCommand||!c(e.props.handleKeyCommand(b,i,t.timeStamp))){var w=function(e,t,n){switch(e){case"redo":return o.redo(t);case"delete":return g(t);case"delete-word":return d(t);case"backspace":return y(t);case"backspace-word":return f(t);case"backspace-to-start-of-line":return l(t,n);case"split-block":return p(t);case"transpose-characters":return m(t);case"move-selection-to-start-of-block":return v(t);case"move-selection-to-end-of-block":return h(t);case"secondary-cut":return s.cut(t);case"secondary-paste":return s.paste(t);default:return t}}(b,i,t);w!==i&&e.update(w)}}else k(t,i,e.update);else if(n===a.SPACE&&_&&x(t)){var S=r.replaceText(i.getCurrentContent(),i.getSelection()," ");e.update(o.push(i,S,"insert-characters"))}}},11206:function(e,t,n){"use strict";var r=n(9200);e.exports=function(e){return e.which===r.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))}},11207:function(e,t,n){"use strict";var r=n(8371),o=n(8284),i=n(9194),a=n(8372),s=null,u={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),u=null;if(n.isCollapsed()){var c=n.getAnchorKey(),l=t.getBlockForKey(c).getLength();if(l===n.getAnchorOffset()){var f=t.getKeyAfter(c);if(null==f)return e;u=n.set("focusKey",f).set("focusOffset",0)}else u=n.set("focusOffset",l)}else u=n;u=a(u),s=i(t,u);var d=r.removeRange(t,u,"forward");return d===t?e:o.push(e,d,"remove-range")},paste:function(e){if(!s)return e;var t=r.replaceWithFragment(e.getCurrentContent(),e.getSelection(),s);return o.push(e,t,"insert-fragment")}};e.exports=u},11208:function(e,t,n){"use strict";var r=n(8698),o=n(9199),i=n(10421),a=n(8275);function s(e,t){for(var n=1/0,r=1/0,o=-1/0,i=-1/0,a=0;a<e.length;a++){var s=e[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),r=Math.min(r,s.bottom),o=Math.max(o,s.top),i=Math.max(i,s.bottom))}return o<=r&&o-n<t&&i-r<t}function u(e){switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return e.length;default:return e.childNodes.length}}e.exports=function(e){e.collapsed||a(!1);var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=o(e),r=n.createElement("div");r.style.fontFamily=t.fontFamily,r.style.fontSize=t.fontSize,r.style.fontStyle=t.fontStyle,r.style.fontWeight=t.fontWeight,r.style.lineHeight=t.lineHeight,r.style.position="absolute",r.textContent="M";var i=n.body;i||a(!1),i.appendChild(r);var s=r.getBoundingClientRect();return i.removeChild(r),s.height}(t),c=e.endContainer,l=e.endOffset;for(e.setStart(e.startContainer,0);s(i(e),n)&&(c=e.startContainer,l=e.startOffset,c.parentNode||a(!1),e.setStartBefore(c),1!==c.nodeType||"inline"===getComputedStyle(c).display););for(var f=c,d=l-1;;){for(var p=f.nodeValue,h=d;h>=0;h--)if(!(null!=p&&h>0&&r.isSurrogatePair(p,h-1))){if(e.setStart(f,h),!s(i(e),n))break;c=f,l=h}if(-1===h||0===f.childNodes.length)break;d=u(f=f.childNodes[h])}return e.setStart(c,l),e}},11209:function(e,t,n){"use strict";e.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},11210:function(e,t,n){"use strict";var r=n(8371),o=n(8284);e.exports=function(e){var t=r.splitBlock(e.getCurrentContent(),e.getSelection());return o.push(e,t,"split-block")}},11211:function(e,t,n){"use strict";var r=n(8284);e.exports=function(e,t,n){var o=r.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(r.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(o)}),0)):n(o);else{var i=o.getCurrentContent();n(r.set(o,{nativelyRenderedContent:i}))}}},11212:function(e,t,n){"use strict";var r=n(9028),o=n(8417),i=n(10417),a=n(8371),s=n(11213),u=n(8284),c=n(10426),l=n(9031),f=n(10419),d=n(9203),p=n(11218);function h(e,t,n){var r=a.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return u.push(e,r.set("entityMap",n),"insert-fragment")}e.exports=function(e,t){t.preventDefault();var n=new i(t.clipboardData);if(!n.isRichText()){var v=n.getFiles(),y=n.getText();if(v.length>0){if(e.props.handlePastedFiles&&d(e.props.handlePastedFiles(v)))return;return void f(v,(function(t){if(t=t||y){var n=e._latestEditorState,i=p(t),f=o.create({style:n.getCurrentInlineStyle(),entity:l(n.getCurrentContent(),n.getSelection())}),d=c.getCurrentBlockType(n),h=s.processText(i,f,d),v=r.createFromArray(h),g=a.replaceWithFragment(n.getCurrentContent(),n.getSelection(),v);e.update(u.push(n,g,"insert-fragment"))}}))}}var g=[],m=n.getText(),k=n.getHTML(),x=e._latestEditorState;if(!e.props.handlePastedText||!d(e.props.handlePastedText(m,k,x))){if(m&&(g=p(m)),!e.props.stripPastedStyles){var _=e.getClipboard();if(n.isRichText()&&_){if(-1!==k.indexOf(e.getEditorKey())||1===g.length&&1===_.size&&_.first().getText()===m)return void e.update(h(e._latestEditorState,_))}else if(_&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(g,_))return void e.update(h(e._latestEditorState,_));if(k){var b=s.processHTML(k,e.props.blockRenderMap);if(b){var w=b.contentBlocks,S=b.entityMap;if(w){var A=r.createFromArray(w);return void e.update(h(e._latestEditorState,A,S))}}}e.setClipboard(null)}if(g.length){var E=o.create({style:x.getCurrentInlineStyle(),entity:l(x.getCurrentContent(),x.getSelection())}),O=c.getCurrentBlockType(x),C=s.processText(g,E,O),T=r.createFromArray(C);e.update(h(e._latestEditorState,T))}}}},11213:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(8695),i=n(8418),a=n(10424),s=n(8486),u=n(10425),c=n(8580),l=n(8269),f=n(10399),d=l.List,p=l.Repeat,h=c("draft_tree_data_support"),v=h?i:o,y={processHTML:function(e,t){return a(e,u,t)},processText:function(e,t,n){return e.reduce((function(e,o,i){o=f(o);var a=s(),u={key:a,type:n,text:o,characterList:d(p(t,o.length))};if(h&&0!==i){var c=i-1;u=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}({},u,{prevSibling:(e[c]=e[c].merge({nextSibling:a})).getKey()})}return e.push(new v(u)),e}),[])}};e.exports=y},11214:function(e,t,n){"use strict";var r=function(){function e(e){var t,n,r;r=void 0,(n="_uri")in(t=this)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,this._uri=e}return e.prototype.toString=function(){return this._uri},e}();e.exports=r},11215:function(e,t,n){"use strict";var r=n(8697);e.exports=function(e){return!(!e||!e.ownerDocument)&&(r(e)&&"A"===e.nodeName)}},11216:function(e,t,n){"use strict";var r=n(8697);e.exports=function(e){return!(!e||!e.ownerDocument)&&(r(e)&&"IMG"===e.nodeName)}},11217:function(e,t,n){"use strict";e.exports=function(e,t,n,r){var o=t.getStartKey(),i=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===i})).concat([[i,a.get(i)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,r)),e.set("depth",t)}));return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})}},11218:function(e,t,n){"use strict";var r=/\r\n?|\n/g;e.exports=function(e){return e.split(r)}},11219:function(e,t,n){"use strict";var r=n(67).unstable_flushControlled;e.exports=r},11220:function(e,t,n){"use strict";var r=n(0),o=n(8696),i=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=i.prototype;return a.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},a.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=o({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return r.createElement("div",{className:t},r.createElement("div",{className:o("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}(r.Component);e.exports=i},11221:function(e,t,n){},11222:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(8695),i=n(8418),a=n(10427),s=n(11223),u=n(11224),c=n(8275),l=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:u(e),entityRanges:s(e,t),data:e.getData().toObject()}},f=function(e,t,n,a){if(e instanceof o)n.push(l(e,t));else{e instanceof i||c(!1);var s=e.getParentKey(),u=a[e.getKey()]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}({},l(e,t),{children:[]});s?a[s].children.push(u):n.push(u)}};e.exports=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,r=[],o={},i={},s=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var r=e.getEntityAt(t),o=a.stringify(r);i[o]||(i[o]=r,n[o]="".concat(s),s++)})),f(e,n,r,o)})),{blocks:r,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,r=t.entityMap,o={};return Object.keys(r).forEach((function(t,n){var r=e.getEntity(a.unstringify(t));o[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:o}}(e,t)}},11223:function(e,t,n){"use strict";var r=n(10427),o=n(8698).strlen;e.exports=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(i,a){var s=e.getText(),u=e.getEntityAt(i);n.push({offset:o(s.slice(0,i)),length:o(s.slice(i,a)),key:Number(t[r.stringify(u)])})})),n}},11224:function(e,t,n){"use strict";var r=n(8698),o=n(9029),i=function(e,t){return e===t},a=function(e){return!!e},s=[];e.exports=function(e){var t=e.getCharacterList().map((function(e){return e.getStyle()})).toList(),n=t.flatten().toSet().map((function(n){return function(e,t,n){var s=[],u=t.map((function(e){return e.has(n)})).toList();return o(u,i,a,(function(t,o){var i=e.getText();s.push({offset:r.strlen(i.slice(0,t)),length:r.strlen(i.slice(t,o)),style:n})})),s}(e,t,n)}));return Array.prototype.concat.apply(s,n.toJS())}},11225:function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(8695),a=n(8418),s=n(9998),u=n(9195),c=n(11226),l=(n(11227),n(9196)),f=n(11228),d=n(11229),p=n(11230),h=n(8486),v=n(8580),y=n(8269),g=n(8275),m=v("draft_tree_data_support"),k=y.List,x=y.Map,_=y.OrderedMap,b=function(e,t){var n=e.key,r=e.type,o=e.data;return{text:e.text,depth:e.depth||0,type:r||"unstyled",key:n||h(),data:x(o),characterList:w(e,t)}},w=function(e,t){var n=e.text,o=e.entityRanges,i=e.inlineStyleRanges,a=o||[];return f(p(n,i||[]),d(n,a.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return r({},e,{key:t[e.key]})}))))},S=function(e){return r({},e,{key:e.key||h()})},A=function(e,t,n){var o=t.map((function(e){return r({},e,{parentRef:n})}));return e.concat(o.reverse())},E=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),o=m&&!n?c.fromRawStateToRawTreeState(e).blocks:e.blocks;return m?function(e,t){return e.map(S).reduce((function(n,o,i){Array.isArray(o.children)||g(!1);var s=o.children.map(S),u=new a(r({},b(o,t),{prevSibling:0===i?null:e[i-1].key,nextSibling:i===e.length-1?null:e[i+1].key,children:k(s.map((function(e){return e.key})))}));n=n.set(u.getKey(),u);for(var c=A([],s,u);c.length>0;){var l=c.pop(),f=l.parentRef,d=f.getChildKeys(),p=d.indexOf(l.key),h=Array.isArray(l.children);if(!h){h||g(!1);break}var v=l.children.map(S),y=new a(r({},b(l,t),{parent:f.getKey(),children:k(v.map((function(e){return e.key}))),prevSibling:0===p?null:d.get(p-1),nextSibling:p===d.size-1?null:d.get(p+1)}));n=n.set(y.getKey(),y),c=A(c,v,y)}return n}),_())}(o,t):function(e,t){return _(e.map((function(e){var n=new i(b(e,t));return[n.getKey(),n]})))}(n?c.fromRawTreeStateToRawState(e).blocks:o,t)};e.exports=function(e){Array.isArray(e.blocks)||g(!1);var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var r=t[e],o=r.type,i=r.mutability,a=r.data;n[e]=u.__create(o,i,a||{})})),n}(e),n=E(e,t),r=n.isEmpty()?new l:l.createEmpty(n.first().getKey());return new s({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})}},11226:function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(8486),a=n(8275),s=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},u={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||a(!1),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var r=n.pop();t(r);var o=r.children;Array.isArray(o)||a(!1),n=n.concat([].concat(o.reverse()))}}(t,(function(e){var t=r({},e);s(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?r({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,r({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var o=s(e),a=e.depth||0,u=r({},e,{children:[]});if(o){var c=n[0];if(null==c&&0===a)t.push(u);else if(null==c||c.depth<a-1){var l={key:i(),text:"",depth:a-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(l),1===a?t.push(l):null!=c&&c.children.push(l),l.children.push(u)}else if(c.depth===a-1)c.children.push(u);else{for(;null!=c&&c.depth>=a;)n.shift(),c=n[0];a>0?c.children.push(u):t.push(u)}}else t.push(u)})),r({},e,{blocks:t})}};e.exports=u},11227:function(e,t,n){"use strict";n(10004);var r={isValidBlock:function(e,t){var n=e.getKey(),r=e.getParentKey();if(null!=r&&!t.get(r).getChildKeys().includes(n))return!1;if(!e.getChildKeys().map((function(e){return t.get(e)})).every((function(e){return e.getParentKey()===n})))return!1;var o=e.getPrevSiblingKey();if(null!=o&&t.get(o).getNextSiblingKey()!==n)return!1;var i=e.getNextSiblingKey();if(null!=i&&t.get(i).getPrevSiblingKey()!==n)return!1;return(null===i||null===o||o!==i)&&!(""!=e.text&&e.getChildKeys().size>0)},isConnectedTree:function(e){var t=e.toArray().filter((function(e){return null==e.getParentKey()&&null==e.getPrevSiblingKey()}));if(1!==t.length)return!1;for(var n=0,r=t.shift().getKey(),o=[];null!=r;){var i=e.get(r),a=i.getChildKeys(),s=i.getNextSiblingKey();if(a.size>0){null!=s&&o.unshift(s);var u=a.map((function(t){return e.get(t)})).find((function(e){return null==e.getPrevSiblingKey()}));if(null==u)return!1;r=u.getKey()}else r=null!=i.getNextSiblingKey()?i.getNextSiblingKey():o.shift();n++}return n===e.size},isValidTree:function(e){var t=this;return!!e.toArray().every((function(n){return t.isValidBlock(n,e)}))&&this.isConnectedTree(e)}};e.exports=r},11228:function(e,t,n){"use strict";var r=n(8417),o=n(8269).List;e.exports=function(e,t){var n=e.map((function(e,n){var o=t[n];return r.create({style:e,entity:o})}));return o(n)}},11229:function(e,t,n){"use strict";var r=n(8698).substr;e.exports=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var o=r(e,0,t.offset).length,i=o+r(e,t.offset,t.length).length,a=o;a<i;a++)n[a]=t.key})),n}},11230:function(e,t,n){"use strict";var r=n(8698),o=n(8269).OrderedSet,i=r.substr,a=o();e.exports=function(e,t){var n=Array(e.length).fill(a);return t&&t.forEach((function(t){for(var r=i(e,0,t.offset).length,o=r+i(e,t.offset,t.length).length;r<o;)n[r]=n[r].add(t.style),r++})),n}},11231:function(e,t,n){"use strict";var r=n(11232);e.exports=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),o=r(n),i=o.top,a=o.right,s=o.bottom,u=o.left;return 0===i&&0===a&&0===s&&0===u?null:o}},11232:function(e,t,n){"use strict";var r=n(10421);e.exports=function(e){var t=r(e),n=0,o=0,i=0,a=0;if(t.length){if(t.length>1&&0===t[0].width){var s=t[1];n=s.top,o=s.right,i=s.bottom,a=s.left}else{var u=t[0];n=u.top,o=u.right,i=u.bottom,a=u.left}for(var c=1;c<t.length;c++){var l=t[c];0!==l.height&&0!==l.width&&(n=Math.min(n,l.top),o=Math.max(o,l.right),i=Math.max(i,l.bottom),a=Math.min(a,l.left))}}return{top:n,right:o,bottom:i,left:a,width:o-a,height:i-n}}},5860:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(67),o={root:null,rootMargin:"0px",threshold:.5},i=function(){function e(e){var t=this;void 0===e&&(e=o),this._nodes=new WeakMap,this._components=new WeakMap,this._visibleComponents=new WeakSet,this._handleEntries=function(e){e.forEach((function(e){var n;if(null!=e.isIntersecting)n=e.isIntersecting;else{var r=t._options.threshold;n=null==r?e.intersectionRatio>0:Array.isArray(r)?r.some((function(t){return e.intersectionRatio>t})):e.intersectionRatio>r}var o=t._nodes.get(e.target);if(null!=o){var i=!1;n?t._visibleComponents.has(o)||(t._visibleComponents.add(o),i=!0):t._visibleComponents.has(o)&&(t._visibleComponents.delete(o),i=!0),i&&o.forceUpdate()}}))},this._options=e,null!=window.IntersectionObserver&&(this._observer=new window.IntersectionObserver(this._handleEntries,e))}var t=e.prototype;return t.isVisible=function(e){return null==this._observer||this._visibleComponents.has(e)},t.observe=function(e){var t=this._observer;if(null!=t){this.unobserve(e);var n=(0,r.findDOMNode)(e);n instanceof HTMLElement&&(this._nodes.set(n,e),this._components.set(e,n),t.observe(n))}},t.unobserve=function(e){var t=this._observer;if(null!=t){var n=this._components.get(e);null!=n&&(this._nodes.delete(n),this._components.delete(e),this._visibleComponents.delete(e),t.unobserve(n))}},e}();t.default=i},5965:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VisibilityObserver",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"VisibilitySensor",{enumerable:!0,get:function(){return o.default}}),n(6115);var r=i(n(5860)),o=i(n(6116));function i(e){return e&&e.__esModule?e:{default:e}}},6054:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(98))&&r.__esModule?r:{default:r},i=n(6114),a=n(6055);function s(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,o)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){l(i,r,o,a,s,"next",e)}function s(e){l(i,r,o,a,s,"throw",e)}a(void 0)}))}}var d,p,h=Math.min(4,Math.ceil(navigator.hardwareConcurrency/2)),v="undefined"!=typeof OffscreenCanvas,y=[],g=new Map,m=new Map,k=(0,a.createQueuedAsyncInitializer)(f(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.e(82).then(n.t.bind(null,7924,7));case 2:for(t=e.sent,p=t.default,r=0;r<h;r++)y.push({worker:new p,numActive:0});case 5:case"end":return e.stop()}}),e)})))),x=(0,a.createQueuedAsyncInitializer)(f(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.e(77).then(n.t.bind(null,7925,7));case 2:t=e.sent,d=t.default;case 4:case"end":return e.stop()}}),e)}))));v?k():x();var _=function(){function e(e){var t=this,n=e.canvas,r=e.animationId,a=e.assetUrl,s=e.assetData,u=e.onInitialDraw,c=e.onError;this.isVisible=!1,this.shouldAnimate=!1,this.handleVisibilityChange=function(e){var n,r,o=e[e.length-1].isIntersecting;o!==t.isVisible&&(t.isVisible=o,v?null===(n=t.worker)||void 0===n||n.postMessage({canvasId:t.canvasId,type:i.MessageTypes.VISIBILITY_CHANGE,isVisible:o}):null===(r=t.lottieView)||void 0===r||r.setVisibility(o))},this.handleMessage=function(e){var n,r;e.data.type===i.MessageTypes.FIRST_DRAW&&(null===(n=t.onInitialDraw)||void 0===n||n.call(t));e.data.type===i.MessageTypes.ERROR&&(null===(r=t.onError)||void 0===r||r.call(t))},this.handleError=function(e){var n;null===(n=t.onError)||void 0===n||n.call(t,e)},this.canvasId=o.default.v4(),this.assetUrl=a,this.assetData=s,this.onInitialDraw=u,this.onError=c,this.observer=new IntersectionObserver(this.handleVisibilityChange),this.observer.observe(n),v?k().then((function(){var e,o,u;null===(e=t.worker)||void 0===e||e.addEventListener("message",t.handleMessage),null===(o=t.worker)||void 0===o||o.addEventListener("error",t.handleError);var c=n.transferControlToOffscreen();null===(u=t.worker)||void 0===u||u.postMessage({type:i.MessageTypes.INITIALIZE,animationId:r,assetUrl:a,assetData:s,canvas:c,canvasId:t.canvasId,isVisible:t.isVisible,shouldAnimate:t.shouldAnimate},[c])})):x().then((function(){t.lottieView=new d({canvas:n,id:r,assetUrl:a,assetData:s,isVisible:t.isVisible,shouldAnimate:t.shouldAnimate,onInitialDraw:u,onError:c})}))}var t,n,r,a=e.prototype;return a.drop=function(){if(v){var e,t,n;null===(e=this.worker)||void 0===e||e.removeEventListener("message",this.handleMessage),null===(t=this.worker)||void 0===t||t.removeEventListener("error",this.handleError),null===(n=this.worker)||void 0===n||n.postMessage({canvasId:this.canvasId,type:i.MessageTypes.DROP});var r=g.get(this.canvasId);if(null==r)throw new Error("No worker index assigned for asset "+this.canvasId);g.delete(this.canvasId),y[r].numActive--}else{var o;null===(o=this.lottieView)||void 0===o||o.drop()}this.observer.disconnect()},a.setState=function(e,t){var n,r;(this.shouldAnimate=e,v)?null===(n=this.worker)||void 0===n||n.postMessage({canvasId:this.canvasId,type:i.MessageTypes.STATE_CHANGE,shouldAnimate:e,nextFrame:t}):null===(r=this.lottieView)||void 0===r||r.setState(e,t)},t=e,(n=[{key:"workerIndex",get:function(){var e=g.get(this.canvasId);if(null==e){var t=m.get(this.assetUrl);if(null!=t)e=t;else{for(var n,r,o,i=null!==(n=null===(r=y[0])||void 0===r?void 0:r.numActive)&&void 0!==n?n:0,a=s(y.entries());!(o=a()).done;){var u=o.value,c=u[0],l=u[1];l.numActive<=i&&(i=l.numActive,e=c)}m.set(this.assetUrl,e)}g.set(this.canvasId,e),y[e].numActive++}return e}},{key:"worker",get:function(){var e=this.workerIndex;if(null==y[e])throw new Error("No worker in pool at index "+e);return y[e].worker}}])&&c(t.prototype,n),r&&c(t,r),e}();t.default=_},6055:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,o)}var o;Object.defineProperty(t,"__esModule",{value:!0}),t.createQueuedAsyncInitializer=function(e){var t=o.UNINITIALIZED,n=[];return function(){var i,a=(i=regeneratorRuntime.mark((function r(){var i;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t!==o.READY){r.next=2;break}return r.abrupt("return");case 2:if(t!==o.INITIALIZING){r.next=4;break}return r.abrupt("return",new Promise((function(e){n.push(e)})));case 4:return t=o.INITIALIZING,r.next=7,e();case 7:for(t=o.READY;n.length>0;)null===(i=n.shift())||void 0===i||i();case 9:case"end":return r.stop()}}),r)})),function(){var e=this,t=arguments;return new Promise((function(n,o){var a=i.apply(e,t);function s(e){r(a,n,o,s,u,"next",e)}function u(e){r(a,n,o,s,u,"throw",e)}s(void 0)}))});return function(){return a.apply(this,arguments)}}()},function(e){e[e.UNINITIALIZED=0]="UNINITIALIZED",e[e.INITIALIZING=1]="INITIALIZING",e[e.READY=2]="READY"}(o||(o={}))},6114:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.MessageTypes=void 0,t.MessageTypes=r,function(e){e[e.DROP=0]="DROP",e[e.INITIALIZE=1]="INITIALIZE",e[e.VISIBILITY_CHANGE=2]="VISIBILITY_CHANGE",e[e.STATE_CHANGE=3]="STATE_CHANGE",e[e.FIRST_DRAW=4]="FIRST_DRAW",e[e.ERROR=5]="ERROR"}(r||(t.MessageTypes=r={}))},6115:function(e,t){!function(e,t){"use strict";if("IntersectionObserver"in e&&"IntersectionObserverEntry"in e&&"intersectionRatio"in e.IntersectionObserverEntry.prototype)"isIntersecting"in e.IntersectionObserverEntry.prototype||Object.defineProperty(e.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var n=[];o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},o.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},o.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},o.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},o.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(i(e,"resize",this._checkForIntersections,!0),i(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in e&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},o.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,a(e,"resize",this._checkForIntersections,!0),a(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},o.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),n=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(o){var i=o.element,a=s(i),u=this._rootContainsTarget(i),c=o.entry,l=t&&u&&this._computeTargetAndRootIntersection(i,n),f=o.entry=new r({time:e.performance&&performance.now&&performance.now(),target:i,boundingClientRect:a,rootBounds:n,intersectionRect:l});c?t&&u?this._hasCrossedThreshold(c,f)&&this._queuedEntries.push(f):c&&c.isIntersecting&&this._queuedEntries.push(f):this._queuedEntries.push(f)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},o.prototype._computeTargetAndRootIntersection=function(n,r){if("none"!=e.getComputedStyle(n).display){for(var o,i,a,u,l,f,d,p,h=s(n),v=c(n),y=!1;!y;){var g=null,m=1==v.nodeType?e.getComputedStyle(v):{};if("none"==m.display)return;if(v==this.root||v==t?(y=!0,g=r):v!=t.body&&v!=t.documentElement&&"visible"!=m.overflow&&(g=s(v)),g&&(o=g,i=h,a=void 0,u=void 0,l=void 0,f=void 0,d=void 0,p=void 0,a=Math.max(o.top,i.top),u=Math.min(o.bottom,i.bottom),l=Math.max(o.left,i.left),f=Math.min(o.right,i.right),p=u-a,!(h=(d=f-l)>=0&&p>=0&&{top:a,bottom:u,left:l,right:f,width:d,height:p})))break;v=c(v)}return h}},o.prototype._getRootRect=function(){var e;if(this.root)e=s(this.root);else{var n=t.documentElement,r=t.body;e={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(e)},o.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},o.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var o=0;o<this.thresholds.length;o++){var i=this.thresholds[o];if(i==n||i==r||i<n!=i<r)return!0}},o.prototype._rootIsInDom=function(){return!this.root||u(t,this.root)},o.prototype._rootContainsTarget=function(e){return u(this.root||t,e)},o.prototype._registerInstance=function(){n.indexOf(this)<0&&n.push(this)},o.prototype._unregisterInstance=function(){var e=n.indexOf(this);-1!=e&&n.splice(e,1)},e.IntersectionObserver=o,e.IntersectionObserverEntry=r}function r(e){this.time=e.time,this.target=e.target,this.rootBounds=e.rootBounds,this.boundingClientRect=e.boundingClientRect,this.intersectionRect=e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,o=r.width*r.height;this.intersectionRatio=n?o/n:this.isIntersecting?1:0}function o(e,t){var n,r,o,i=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(i.root&&1!=i.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),r=this.THROTTLE_TIMEOUT,o=null,function(){o||(o=setTimeout((function(){n(),o=null}),r))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(i.rootMargin),this.thresholds=this._initThresholds(i.threshold),this.root=i.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" ")}function i(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function a(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function s(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(e,t){for(var n=t;n;){if(n==e)return!0;n=c(n)}return!1}function c(e){var t=e.parentNode;return t&&11==t.nodeType&&t.host?t.host:t}}(window,document)},6116:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=a(n(98)),i=a(n(5860));function a(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=o.default.v4(),l=new Map,f=new Map,d=function(e){var t,n;function a(t){var n;(n=e.call(this,t)||this).isVisible=!1;var r=t.root,a=t.rootMargin,s=t.threshold;r?l.has(r)?n.elementId=l.get(r)||"":l.set(r,o.default.v4()):n.elementId=c;var u=n.getVisibilityObserverId();return f.has(u)||f.set(u,new i.default({root:r,rootMargin:a,threshold:s})),n}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var s=a.prototype;return s.componentDidMount=function(){if(this.props.active){var e=this.getVisibilityObserver();e.observe(this),this.isVisible=e.isVisible(this)}},s.componentDidUpdate=function(e){var t=this.getVisibilityObserver(),n=t.isVisible(this);this.props.active&&n!==this.isVisible&&this.props.onChange(n),!e.active&&this.props.active?t.observe(this):e.active&&!this.props.active&&t.unobserve(this),this.isVisible=n},s.componentWillUnmount=function(){this.getVisibilityObserver().unobserve(this)},s.getVisibilityObserverId=function(){var e=this.props,t=e.rootMargin,n=e.threshold;return this.elementId+" "+t+" "+n},s.getVisibilityObserver=function(){var e=this.getVisibilityObserverId(),t=f.get(e);if(!t)throw new Error("Visibility sensor with id "+e+" not found.");return t},s.render=function(){return r.Children.only(this.props.children)},a}(r.Component);d.displayName="VisibilitySensor",d.defaultProps={active:!0,children:r.createElement("span"),root:null,rootMargin:"0px 0px 0px 0px",threshold:[0,Number.MIN_VALUE]};var p=d;t.default=p},8269:function(e,t,n){e.exports=function(){"use strict";var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:G(e)}function r(e){return s(e)?e:V(e)}function o(e){return u(e)?e:U(e)}function i(e){return a(e)&&!c(e)?e:q(e)}function a(e){return!(!e||!e[f])}function s(e){return!(!e||!e[d])}function u(e){return!(!e||!e[p])}function c(e){return s(e)||u(e)}function l(e){return!(!e||!e[h])}t(r,n),t(o,n),t(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=u,n.isAssociative=c,n.isOrdered=l,n.Keyed=r,n.Indexed=o,n.Set=i;var f="@@__IMMUTABLE_ITERABLE__@@",d="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",v={},y={value:!1},g={value:!1};function m(e){return e.value=!1,e}function k(e){e&&(e.value=!0)}function x(){}function _(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;o<n;o++)r[o]=e[o+t];return r}function b(e){return void 0===e.size&&(e.size=e.__iterate(S)),e.size}function w(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?b(e)+t:t}function S(){return!0}function A(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function E(e,t){return C(e,t,0)}function O(e,t){return C(e,t,t)}function C(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var T,D,B,N="function"==typeof Symbol&&Symbol.iterator,F=N||"@@iterator";function P(e){this.next=e}function I(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function j(){return{value:void 0,done:!0}}function M(e){return!!K(e)}function R(e){return e&&"function"==typeof e.next}function L(e){var t=K(e);return t&&t.call(e)}function K(e){var t=e&&(N&&e[N]||e["@@iterator"]);if("function"==typeof t)return t}function z(e){return e&&"number"==typeof e.length}function G(e){return null==e?X():a(e)?e.toSeq():function(e){var t=ee(e)||"object"==typeof e&&new J(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}(e)}function V(e){return null==e?X().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():Z(e)}function U(e){return null==e?X():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():Q(e)}function q(e){return(null==e?X():a(e)?s(e)?e.entrySeq():e:Q(e)).toSetSeq()}function W(e){this._array=e,this.size=e.length}function J(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function H(e){this._iterable=e,this.size=e.length||e.size}function Y(e){this._iterator=e,this._iteratorCache=[]}function $(e){return!(!e||!e["@@__IMMUTABLE_SEQ__@@"])}function X(){return T||(T=new W([]))}function Z(e){var t=Array.isArray(e)?new W(e).fromEntrySeq():R(e)?new Y(e).fromEntrySeq():M(e)?new H(e).fromEntrySeq():"object"==typeof e?new J(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function Q(e){var t=ee(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ee(e){return z(e)?new W(e):R(e)?new Y(e):M(e)?new H(e):void 0}function te(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function ne(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,a=0;return new P((function(){var e=o[n?i-a:a];return a++>i?{value:void 0,done:!0}:I(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function re(e,t){return t?function e(t,n,r,o){return Array.isArray(n)?t.call(o,r,U(n).map((function(r,o){return e(t,r,o,n)}))):ie(n)?t.call(o,r,V(n).map((function(r,o){return e(t,r,o,n)}))):n}(t,e,"",{"":e}):oe(e)}function oe(e){return Array.isArray(e)?U(e).map(oe).toList():ie(e)?V(e).map(oe).toMap():e}function ie(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ae(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function se(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||u(e)!==u(t)||l(e)!==l(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(l(e)){var r=e.entries();return t.every((function(e,t){var o=r.next().value;return o&&ae(o[1],e)&&(n||ae(o[0],t))}))&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var i=e;e=t,t=i}var f=!0,d=t.__iterate((function(t,r){if(n?!e.has(t):o?!ae(t,e.get(r,v)):!ae(e.get(r,v),t))return f=!1,!1}));return f&&e.size===d}function ue(e,t){if(!(this instanceof ue))return new ue(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(D)return D;D=this}}function ce(e,t){if(!e)throw new Error(t)}function le(e,t,n){if(!(this instanceof le))return new le(e,t,n);if(ce(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(B)return B;B=this}}function fe(){throw TypeError("Abstract")}function de(){}function pe(){}function he(){}P.prototype.toString=function(){return"[Iterator]"},P.KEYS=0,P.VALUES=1,P.ENTRIES=2,P.prototype.inspect=P.prototype.toSource=function(){return this.toString()},P.prototype[F]=function(){return this},t(G,n),G.of=function(){return G(arguments)},G.prototype.toSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq {","}")},G.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},G.prototype.__iterate=function(e,t){return te(this,e,t,!0)},G.prototype.__iterator=function(e,t){return ne(this,e,t,!0)},t(V,G),V.prototype.toKeyedSeq=function(){return this},t(U,G),U.of=function(){return U(arguments)},U.prototype.toIndexedSeq=function(){return this},U.prototype.toString=function(){return this.__toString("Seq [","]")},U.prototype.__iterate=function(e,t){return te(this,e,t,!1)},U.prototype.__iterator=function(e,t){return ne(this,e,t,!1)},t(q,G),q.of=function(){return q(arguments)},q.prototype.toSetSeq=function(){return this},G.isSeq=$,G.Keyed=V,G.Set=q,G.Indexed=U,G.prototype["@@__IMMUTABLE_SEQ__@@"]=!0,t(W,U),W.prototype.get=function(e,t){return this.has(e)?this._array[w(this,e)]:t},W.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(!1===e(n[t?r-o:o],o,this))return o+1;return o},W.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,o=0;return new P((function(){return o>r?{value:void 0,done:!0}:I(e,o,n[t?r-o++:o++])}))},t(J,V),J.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},J.prototype.has=function(e){return this._object.hasOwnProperty(e)},J.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[t?o-i:i];if(!1===e(n[a],a,this))return i+1}return i},J.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new P((function(){var a=r[t?o-i:i];return i++>o?{value:void 0,done:!0}:I(e,a,n[a])}))},J.prototype[h]=!0,t(H,U),H.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=L(this._iterable),r=0;if(R(n))for(var o;!(o=n.next()).done&&!1!==e(o.value,r++,this););return r},H.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=L(this._iterable);if(!R(n))return new P(j);var r=0;return new P((function(){var t=n.next();return t.done?t:I(e,r++,t.value)}))},t(Y,U),Y.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i<o.length;)if(!1===e(o[i],i++,this))return i;for(;!(n=r.next()).done;){var a=n.value;if(o[i]=a,!1===e(a,i++,this))break}return i},Y.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,o=0;return new P((function(){if(o>=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return I(e,o,r[o++])}))},t(ue,U),ue.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ue.prototype.get=function(e,t){return this.has(e)?this._value:t},ue.prototype.includes=function(e){return ae(this._value,e)},ue.prototype.slice=function(e,t){var n=this.size;return A(e,t,n)?this:new ue(this._value,O(t,n)-E(e,n))},ue.prototype.reverse=function(){return this},ue.prototype.indexOf=function(e){return ae(this._value,e)?0:-1},ue.prototype.lastIndexOf=function(e){return ae(this._value,e)?this.size:-1},ue.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},ue.prototype.__iterator=function(e,t){var n=this,r=0;return new P((function(){return r<n.size?I(e,r++,n._value):{value:void 0,done:!0}}))},ue.prototype.equals=function(e){return e instanceof ue?ae(this._value,e._value):se(e)},t(le,U),le.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},le.prototype.get=function(e,t){return this.has(e)?this._start+w(this,e)*this._step:t},le.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},le.prototype.slice=function(e,t){return A(e,t,this.size)?this:(e=E(e,this.size),(t=O(t,this.size))<=e?new le(0,0):new le(this.get(e,this._end),this.get(t,this._end),this._step))},le.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},le.prototype.lastIndexOf=function(e){return this.indexOf(e)},le.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===e(o,i,this))return i+1;o+=t?-r:r}return i},le.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;return new P((function(){var a=o;return o+=t?-r:r,i>n?{value:void 0,done:!0}:I(e,i++,a)}))},le.prototype.equals=function(e){return e instanceof le?this._start===e._start&&this._end===e._end&&this._step===e._step:se(this,e)},t(fe,n),t(de,fe),t(pe,fe),t(he,fe),fe.Keyed=de,fe.Indexed=pe,fe.Set=he;var ve="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function ye(e){return e>>>1&1073741824|3221225471&e}function ge(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return ye(n)}if("string"===t)return e.length>Ae?function(e){var t=Ce[e];return void 0===t&&(t=me(e),Oe===Ee&&(Oe=0,Ce={}),Oe++,Ce[e]=t),t}(e):me(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return function(e){var t;if(be&&void 0!==(t=ke.get(e)))return t;if(void 0!==(t=e[Se]))return t;if(!_e){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Se]))return t;if(void 0!==(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e)))return t}if(t=++we,1073741824&we&&(we=0),be)ke.set(e,t);else{if(void 0!==xe&&!1===xe(e))throw new Error("Non-extensible objects are not allowed as keys.");if(_e)Object.defineProperty(e,Se,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Se]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Se]=t}}return t}(e);if("function"==typeof e.toString)return me(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function me(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return ye(t)}var ke,xe=Object.isExtensible,_e=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),be="function"==typeof WeakMap;be&&(ke=new WeakMap);var we=0,Se="__immutablehash__";"function"==typeof Symbol&&(Se=Symbol(Se));var Ae=16,Ee=255,Oe=0,Ce={};function Te(e){ce(e!==1/0,"Cannot perform this action with an infinite size.")}function De(e){return null==e?Ue():Be(e)&&!l(e)?e:Ue().withMutations((function(t){var n=r(e);Te(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Be(e){return!(!e||!e[Fe])}t(De,de),De.prototype.toString=function(){return this.__toString("Map {","}")},De.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},De.prototype.set=function(e,t){return qe(this,e,t)},De.prototype.setIn=function(e,t){return this.updateIn(e,v,(function(){return t}))},De.prototype.remove=function(e){return qe(this,e,v)},De.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return v}))},De.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},De.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=function e(t,n,r,o){var i=t===v,a=n.next();if(a.done){var s=i?r:t,u=o(s);return u===s?t:u}ce(i||t&&t.set,"invalid keyPath");var c=a.value,l=i?v:t.get(c,v),f=e(l,n,r,o);return f===l?t:f===v?t.remove(c):(i?Ue():t).set(c,f)}(this,Yt(e),t,n);return r===v?void 0:r},De.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ue()},De.prototype.merge=function(){return Ye(this,void 0,arguments)},De.prototype.mergeWith=function(t){var n=e.call(arguments,1);return Ye(this,t,n)},De.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,Ue(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},De.prototype.mergeDeep=function(){return Ye(this,$e,arguments)},De.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Ye(this,Xe(t),n)},De.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,Ue(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},De.prototype.sort=function(e){return _t(Rt(this,e))},De.prototype.sortBy=function(e,t){return _t(Rt(this,t,e))},De.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},De.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new x)},De.prototype.asImmutable=function(){return this.__ensureOwner()},De.prototype.wasAltered=function(){return this.__altered},De.prototype.__iterator=function(e,t){return new Ke(this,e,t)},De.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},De.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Ve(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},De.isMap=Be;var Ne,Fe="@@__IMMUTABLE_MAP__@@",Pe=De.prototype;function Ie(e,t){this.ownerID=e,this.entries=t}function je(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Me(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Re(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Le(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function Ke(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Ge(e._root)}function ze(e,t){return I(e,t[0],t[1])}function Ge(e,t){return{node:e,index:0,__prev:t}}function Ve(e,t,n,r){var o=Object.create(Pe);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Ue(){return Ne||(Ne=Ve(0))}function qe(e,t,n){var r,o;if(e._root){var i=m(y),a=m(g);if(r=We(e._root,e.__ownerID,0,void 0,t,n,i,a),!a.value)return e;o=e.size+(i.value?n===v?-1:1:0)}else{if(n===v)return e;o=1,r=new Ie(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?Ve(o,r):Ue()}function We(e,t,n,r,o,i,a,s){return e?e.update(t,n,r,o,i,a,s):i===v?e:(k(s),k(a),new Le(t,r,[o,i]))}function Je(e){return e.constructor===Le||e.constructor===Re}function He(e,t,n,r,o){if(e.keyHash===r)return new Re(t,r,[e.entry,o]);var i,a=31&(0===n?e.keyHash:e.keyHash>>>n),s=31&(0===n?r:r>>>n);return new je(t,1<<a|1<<s,a===s?[He(e,t,n+5,r,o)]:(i=new Le(t,r,o),a<s?[e,i]:[i,e]))}function Ye(e,t,n){for(var o=[],i=0;i<n.length;i++){var s=n[i],u=r(s);a(s)||(u=u.map((function(e){return re(e)}))),o.push(u)}return Ze(e,t,o)}function $e(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ae(e,t)?e:t}function Xe(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var o=e(t,n,r);return ae(t,o)?t:o}}function Ze(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var r=t?function(n,r){e.update(r,v,(function(e){return e===v?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},o=0;o<n.length;o++)n[o].forEach(r)})):e.constructor(n[0])}function Qe(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function et(e,t,n,r){var o=r?e:_(e);return o[t]=n,o}Pe[Fe]=!0,Pe.delete=Pe.remove,Pe.removeIn=Pe.deleteIn,Ie.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(ae(n,o[i][0]))return o[i][1];return r},Ie.prototype.update=function(e,t,n,r,o,i,a){for(var s=o===v,u=this.entries,c=0,l=u.length;c<l&&!ae(r,u[c][0]);c++);var f=c<l;if(f?u[c][1]===o:s)return this;if(k(a),(s||!f)&&k(i),!s||1!==u.length){if(!f&&!s&&u.length>=tt)return function(e,t,n,r){e||(e=new x);for(var o=new Le(e,ge(n),[n,r]),i=0;i<t.length;i++){var a=t[i];o=o.update(e,0,void 0,a[0],a[1])}return o}(e,u,r,o);var d=e&&e===this.ownerID,p=d?u:_(u);return f?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,o]:p.push([r,o]),d?(this.entries=p,this):new Ie(e,p)}},je.prototype.get=function(e,t,n,r){void 0===t&&(t=ge(n));var o=1<<(31&(0===e?t:t>>>e)),i=this.bitmap;return 0==(i&o)?r:this.nodes[Qe(i&o-1)].get(e+5,t,n,r)},je.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=ge(r));var s=31&(0===t?n:n>>>t),u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&o===v)return this;var f=Qe(c&u-1),d=this.nodes,p=l?d[f]:void 0,h=We(p,e,t+5,n,r,o,i,a);if(h===p)return this;if(!l&&h&&d.length>=nt)return function(e,t,n,r,o){for(var i=0,a=new Array(32),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[i++]:void 0;return a[r]=o,new Me(e,i+1,a)}(e,d,c,s,h);if(l&&!h&&2===d.length&&Je(d[1^f]))return d[1^f];if(l&&h&&1===d.length&&Je(h))return h;var y=e&&e===this.ownerID,g=l?h?c:c^u:c|u,m=l?h?et(d,f,h,y):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),i=0,a=0;a<r;a++)a===t&&(i=1),o[a]=e[a+i];return o}(d,f,y):function(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var i=new Array(o),a=0,s=0;s<o;s++)s===t?(i[s]=n,a=-1):i[s]=e[s+a];return i}(d,f,h,y);return y?(this.bitmap=g,this.nodes=m,this):new je(e,g,m)},Me.prototype.get=function(e,t,n,r){void 0===t&&(t=ge(n));var o=31&(0===e?t:t>>>e),i=this.nodes[o];return i?i.get(e+5,t,n,r):r},Me.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=ge(r));var s=31&(0===t?n:n>>>t),u=o===v,c=this.nodes,l=c[s];if(u&&!l)return this;var f=We(l,e,t+5,n,r,o,i,a);if(f===l)return this;var d=this.count;if(l){if(!f&&--d<rt)return function(e,t,n,r){for(var o=0,i=0,a=new Array(n),s=0,u=1,c=t.length;s<c;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(o|=u,a[i++]=l)}return new je(e,o,a)}(e,c,d,s)}else d++;var p=e&&e===this.ownerID,h=et(c,s,f,p);return p?(this.count=d,this.nodes=h,this):new Me(e,d,h)},Re.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(ae(n,o[i][0]))return o[i][1];return r},Re.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=ge(r));var s=o===v;if(n!==this.keyHash)return s?this:(k(a),k(i),He(this,e,t,n,[r,o]));for(var u=this.entries,c=0,l=u.length;c<l&&!ae(r,u[c][0]);c++);var f=c<l;if(f?u[c][1]===o:s)return this;if(k(a),(s||!f)&&k(i),s&&2===l)return new Le(e,this.keyHash,u[1^c]);var d=e&&e===this.ownerID,p=d?u:_(u);return f?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,o]:p.push([r,o]),d?(this.entries=p,this):new Re(e,this.keyHash,p)},Le.prototype.get=function(e,t,n,r){return ae(n,this.entry[0])?this.entry[1]:r},Le.prototype.update=function(e,t,n,r,o,i,a){var s=o===v,u=ae(r,this.entry[0]);return(u?o===this.entry[1]:s)?this:(k(a),s?void k(i):u?e&&e===this.ownerID?(this.entry[1]=o,this):new Le(e,this.keyHash,[r,o]):(k(i),He(this,e,t,ge(r),[r,o])))},Ie.prototype.iterate=Re.prototype.iterate=function(e,t){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===e(n[t?o-r:r]))return!1},je.prototype.iterate=Me.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[t?o-r:r];if(i&&!1===i.iterate(e,t))return!1}},Le.prototype.iterate=function(e,t){return e(this.entry)},t(Ke,P),Ke.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,o=t.index++;if(r.entry){if(0===o)return ze(e,r.entry)}else if(r.entries){if(o<=(n=r.entries.length-1))return ze(e,r.entries[this._reverse?n-o:o])}else if(o<=(n=r.nodes.length-1)){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return ze(e,i.entry);t=this._stack=Ge(i,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var tt=8,nt=16,rt=8;function ot(e){var t=ht();if(null==e)return t;if(it(e))return e;var n=o(e),r=n.size;return 0===r?t:(Te(r),r>0&&r<32?pt(0,r,5,null,new ut(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function it(e){return!(!e||!e[at])}t(ot,pe),ot.of=function(){return this(arguments)},ot.prototype.toString=function(){return this.__toString("List [","]")},ot.prototype.get=function(e,t){if((e=w(this,e))>=0&&e<this.size){var n=gt(this,e+=this._origin);return n&&n.array[31&e]}return t},ot.prototype.set=function(e,t){return function(e,t,n){if((t=w(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?mt(e,t).set(0,n):mt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,o=e._root,i=m(g);return t>=xt(e._capacity)?r=vt(r,e.__ownerID,0,t,n,i):o=vt(o,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):pt(e._origin,e._capacity,e._level,o,r):e}(this,e,t)},ot.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},ot.prototype.insert=function(e,t){return this.splice(e,0,t)},ot.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):ht()},ot.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){mt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},ot.prototype.pop=function(){return mt(this,0,-1)},ot.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){mt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},ot.prototype.shift=function(){return mt(this,1)},ot.prototype.merge=function(){return kt(this,void 0,arguments)},ot.prototype.mergeWith=function(t){var n=e.call(arguments,1);return kt(this,t,n)},ot.prototype.mergeDeep=function(){return kt(this,$e,arguments)},ot.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return kt(this,Xe(t),n)},ot.prototype.setSize=function(e){return mt(this,0,e)},ot.prototype.slice=function(e,t){var n=this.size;return A(e,t,n)?this:mt(this,E(e,n),O(t,n))},ot.prototype.__iterator=function(e,t){var n=0,r=dt(this,t);return new P((function(){var t=r();return t===ft?{value:void 0,done:!0}:I(e,n++,t)}))},ot.prototype.__iterate=function(e,t){for(var n,r=0,o=dt(this,t);(n=o())!==ft&&!1!==e(n,r++,this););return r},ot.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?pt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},ot.isList=it;var at="@@__IMMUTABLE_LIST__@@",st=ot.prototype;function ut(e,t){this.array=e,this.ownerID=t}st[at]=!0,st.delete=st.remove,st.setIn=Pe.setIn,st.deleteIn=st.removeIn=Pe.removeIn,st.update=Pe.update,st.updateIn=Pe.updateIn,st.mergeIn=Pe.mergeIn,st.mergeDeepIn=Pe.mergeDeepIn,st.withMutations=Pe.withMutations,st.asMutable=Pe.asMutable,st.asImmutable=Pe.asImmutable,st.wasAltered=Pe.wasAltered,ut.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&31;if(r>=this.array.length)return new ut([],e);var o,i=0===r;if(t>0){var a=this.array[r];if((o=a&&a.removeBefore(e,t-5,n))===a&&i)return this}if(i&&!o)return this;var s=yt(this,e);if(!i)for(var u=0;u<r;u++)s.array[u]=void 0;return o&&(s.array[r]=o),s},ut.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,o=n-1>>>t&31;if(o>=this.array.length)return this;if(t>0){var i=this.array[o];if((r=i&&i.removeAfter(e,t-5,n))===i&&o===this.array.length-1)return this}var a=yt(this,e);return a.array.splice(o+1),r&&(a.array[o]=r),a};var ct,lt,ft={};function dt(e,t){var n=e._origin,r=e._capacity,o=xt(r),i=e._tail;return a(e._root,e._level,0);function a(e,s,u){return 0===s?function(e,a){var s=a===o?i&&i.array:e&&e.array,u=a>n?0:n-a,c=r-a;return c>32&&(c=32),function(){if(u===c)return ft;var e=t?--c:u++;return s&&s[e]}}(e,u):function(e,o,i){var s,u=e&&e.array,c=i>n?0:n-i>>o,l=1+(r-i>>o);return l>32&&(l=32),function(){for(;;){if(s){var e=s();if(e!==ft)return e;s=null}if(c===l)return ft;var n=t?--l:c++;s=a(u&&u[n],o-5,i+(n<<o))}}}(e,s,u)}}function pt(e,t,n,r,o,i,a){var s=Object.create(st);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function ht(){return ct||(ct=pt(0,0,5))}function vt(e,t,n,r,o,i){var a,s=r>>>n&31,u=e&&s<e.array.length;if(!u&&void 0===o)return e;if(n>0){var c=e&&e.array[s],l=vt(c,t,n-5,r,o,i);return l===c?e:((a=yt(e,t)).array[s]=l,a)}return u&&e.array[s]===o?e:(k(i),a=yt(e,t),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function yt(e,t){return t&&e&&t===e.ownerID?e:new ut(e?e.array.slice():[],t)}function gt(e,t){if(t>=xt(e._capacity))return e._tail;if(t<1<<e._level+5){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&31],r-=5;return n}}function mt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new x,o=e._origin,i=e._capacity,a=o+t,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return e;if(a>=s)return e.clear();for(var u=e._level,c=e._root,l=0;a+l<0;)c=new ut(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=5);l&&(a+=l,o+=l,s+=l,i+=l);for(var f=xt(i),d=xt(s);d>=1<<u+5;)c=new ut(c&&c.array.length?[c]:[],r),u+=5;var p=e._tail,h=d<f?gt(e,s-1):d>f?new ut([],r):p;if(p&&d>f&&a<i&&p.array.length){for(var v=c=yt(c,r),y=u;y>5;y-=5){var g=f>>>y&31;v=v.array[g]=yt(v.array[g],r)}v.array[f>>>5&31]=p}if(s<i&&(h=h&&h.removeAfter(r,0,s)),a>=d)a-=d,s-=d,u=5,c=null,h=h&&h.removeBefore(r,0,a);else if(a>o||d<f){for(l=0;c;){var m=a>>>u&31;if(m!==d>>>u&31)break;m&&(l+=(1<<u)*m),u-=5,c=c.array[m]}c&&a>o&&(c=c.removeBefore(r,u,a-l)),c&&d<f&&(c=c.removeAfter(r,u,d-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):pt(a,s,u,c,h)}function kt(e,t,n){for(var r=[],i=0,s=0;s<n.length;s++){var u=n[s],c=o(u);c.size>i&&(i=c.size),a(u)||(c=c.map((function(e){return re(e)}))),r.push(c)}return i>e.size&&(e=e.setSize(i)),Ze(e,t,r)}function xt(e){return e<32?0:e-1>>>5<<5}function _t(e){return null==e?St():bt(e)?e:St().withMutations((function(t){var n=r(e);Te(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function bt(e){return Be(e)&&l(e)}function wt(e,t,n,r){var o=Object.create(_t.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o}function St(){return lt||(lt=wt(Ue(),ht()))}function At(e,t,n){var r,o,i=e._map,a=e._list,s=i.get(t),u=void 0!==s;if(n===v){if(!u)return e;a.size>=32&&a.size>=2*i.size?(r=(o=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=i,o=a.set(s,[t,n])}else r=i.set(t,a.size),o=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):wt(r,o)}function Et(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Ot(e){this._iter=e,this.size=e.size}function Ct(e){this._iter=e,this.size=e.size}function Tt(e){this._iter=e,this.size=e.size}function Dt(e){var t=Wt(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=Jt,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var r=e.__iterator(t,n);return new P((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(1===t?0:1,n)},t}function Bt(e,t,n){var r=Wt(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,v);return i===v?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate((function(e,o,a){return!1!==r(t.call(n,e,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(2,o);return new P((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return I(r,s,t.call(n,a[1],s,e),o)}))},r}function Nt(e,t){var n=Wt(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Dt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=Jt,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function Ft(e,t,n,r){var o=Wt(e);return r&&(o.has=function(r){var o=e.get(r,v);return o!==v&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,v);return i!==v&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return e.__iterate((function(e,i,u){if(t.call(n,e,i,u))return s++,o(e,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=e.__iterator(2,i),s=0;return new P((function(){for(;;){var i=a.next();if(i.done)return i;var u=i.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return I(o,r?c:s++,l,i)}}))},o}function Pt(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),A(t,n,o))return e;var i=E(t,o),a=O(n,o);if(i!=i||a!=a)return Pt(e.toSeq().cacheResult(),t,n,r);var s,u=a-i;u==u&&(s=u<0?0:u);var c=Wt(e);return c.size=0===s?s:e.size&&s||void 0,!r&&$(e)&&s>=0&&(c.get=function(t,n){return(t=w(this,t))>=0&&t<s?e.get(t+i,n):n}),c.__iterateUncached=function(t,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,u=!0,c=0;return e.__iterate((function(e,n){if(!u||!(u=a++<i))return c++,!1!==t(e,r?n:c-1,o)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var o=0!==s&&e.__iterator(t,n),a=0,u=0;return new P((function(){for(;a++<i;)o.next();if(++u>s)return{value:void 0,done:!0};var e=o.next();return r||1===t?e:I(t,u-1,0===t?void 0:e.value[1],e)}))},c}function It(e,t,n,r){var o=Wt(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,u=0;return e.__iterate((function(e,i,c){if(!s||!(s=t.call(n,e,i,c)))return u++,o(e,r?i:u-1,a)})),u},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(2,i),u=!0,c=0;return new P((function(){var e,i,l;do{if((e=s.next()).done)return r||1===o?e:I(o,c++,0===o?void 0:e.value[1],e);var f=e.value;i=f[0],l=f[1],u&&(u=t.call(n,l,i,a))}while(u);return 2===o?e:I(o,i,l,e)}))},o}function jt(e,t){var n=s(e),o=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?Z(e):Q(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===o.length)return e;if(1===o.length){var i=o[0];if(i===e||n&&s(i)||u(e)&&u(i))return i}var c=new W(o);return n?c=c.toKeyedSeq():u(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=o.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function Mt(e,t,n){var r=Wt(e);return r.__iterateUncached=function(r,o){var i=0,s=!1;return function e(u,c){var l=this;u.__iterate((function(o,u){return(!t||c<t)&&a(o)?e(o,c+1):!1===r(o,n?u:i++,l)&&(s=!0),!s}),o)}(e,0),i},r.__iteratorUncached=function(r,o){var i=e.__iterator(r,o),s=[],u=0;return new P((function(){for(;i;){var e=i.next();if(!1===e.done){var c=e.value;if(2===r&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:I(r,u++,c,e);s.push(i),i=c.__iterator(r,o)}else i=s.pop()}return{value:void 0,done:!0}}))},r}function Rt(e,t,n){t||(t=Ht);var r=s(e),o=0,i=e.toSeq().map((function(t,r){return[r,t,o++,n?n(t,r,e):t]})).toArray();return i.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){i[t].length=2}:function(e,t){i[t]=e[1]}),r?V(i):u(e)?U(i):q(i)}function Lt(e,t,n){if(t||(t=Ht),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return Kt(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return Kt(t,e,n)?n:e}))}function Kt(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function zt(e,t,r){var o=Wt(e);return o.size=new W(r).map((function(e){return e.size})).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(1,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var i=r.map((function(e){return e=n(e),L(o?e.reverse():e)})),a=0,s=!1;return new P((function(){var n;return s||(n=i.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:I(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},o}function Gt(e,t){return $(e)?t:e.constructor(t)}function Vt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Ut(e){return Te(e.size),b(e)}function qt(e){return s(e)?r:u(e)?o:i}function Wt(e){return Object.create((s(e)?V:u(e)?U:q).prototype)}function Jt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):G.prototype.cacheResult.call(this)}function Ht(e,t){return e>t?1:e<t?-1:0}function Yt(e){var t=L(e);if(!t){if(!z(e))throw new TypeError("Expected iterable or array-like: "+e);t=L(n(e))}return t}function $t(e,t){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(e);!function(e,t){try{t.forEach(en.bind(void 0,e))}catch(e){}}(o,a),o.size=a.length,o._name=t,o._keys=a,o._defaultValues=e}this._map=De(i)},o=r.prototype=Object.create(Xt);return o.constructor=r,r}t(_t,De),_t.of=function(){return this(arguments)},_t.prototype.toString=function(){return this.__toString("OrderedMap {","}")},_t.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},_t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):St()},_t.prototype.set=function(e,t){return At(this,e,t)},_t.prototype.remove=function(e){return At(this,e,v)},_t.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},_t.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},_t.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},_t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?wt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},_t.isOrderedMap=bt,_t.prototype[h]=!0,_t.prototype.delete=_t.prototype.remove,t(Et,V),Et.prototype.get=function(e,t){return this._iter.get(e,t)},Et.prototype.has=function(e){return this._iter.has(e)},Et.prototype.valueSeq=function(){return this._iter.valueSeq()},Et.prototype.reverse=function(){var e=this,t=Nt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Et.prototype.map=function(e,t){var n=this,r=Bt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Et.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?Ut(this):0,function(o){return e(o,t?--n:n++,r)}),t)},Et.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(1,t),r=t?Ut(this):0;return new P((function(){var o=n.next();return o.done?o:I(e,t?--r:r++,o.value,o)}))},Et.prototype[h]=!0,t(Ot,U),Ot.prototype.includes=function(e){return this._iter.includes(e)},Ot.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Ot.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t),r=0;return new P((function(){var t=n.next();return t.done?t:I(e,r++,t.value,t)}))},t(Ct,q),Ct.prototype.has=function(e){return this._iter.includes(e)},Ct.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Ct.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new P((function(){var t=n.next();return t.done?t:I(e,t.value,t.value,t)}))},t(Tt,V),Tt.prototype.entrySeq=function(){return this._iter.toSeq()},Tt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){Vt(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},Tt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new P((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){Vt(r);var o=a(r);return I(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}}))},Ot.prototype.cacheResult=Et.prototype.cacheResult=Ct.prototype.cacheResult=Tt.prototype.cacheResult=Jt,t($t,de),$t.prototype.toString=function(){return this.__toString(Qt(this)+" {","}")},$t.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},$t.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},$t.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Zt(this,Ue()))},$t.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Qt(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Zt(this,n)},$t.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Zt(this,t)},$t.prototype.wasAltered=function(){return this._map.wasAltered()},$t.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},$t.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},$t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Zt(this,t,e):(this.__ownerID=e,this._map=t,this)};var Xt=$t.prototype;function Zt(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function Qt(e){return e._name||e.constructor.name||"Record"}function en(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){ce(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function tn(e){return null==e?cn():nn(e)&&!l(e)?e:cn().withMutations((function(t){var n=i(e);Te(n.size),n.forEach((function(e){return t.add(e)}))}))}function nn(e){return!(!e||!e[on])}Xt.delete=Xt.remove,Xt.deleteIn=Xt.removeIn=Pe.removeIn,Xt.merge=Pe.merge,Xt.mergeWith=Pe.mergeWith,Xt.mergeIn=Pe.mergeIn,Xt.mergeDeep=Pe.mergeDeep,Xt.mergeDeepWith=Pe.mergeDeepWith,Xt.mergeDeepIn=Pe.mergeDeepIn,Xt.setIn=Pe.setIn,Xt.update=Pe.update,Xt.updateIn=Pe.updateIn,Xt.withMutations=Pe.withMutations,Xt.asMutable=Pe.asMutable,Xt.asImmutable=Pe.asImmutable,t(tn,he),tn.of=function(){return this(arguments)},tn.fromKeys=function(e){return this(r(e).keySeq())},tn.prototype.toString=function(){return this.__toString("Set {","}")},tn.prototype.has=function(e){return this._map.has(e)},tn.prototype.add=function(e){return sn(this,this._map.set(e,!0))},tn.prototype.remove=function(e){return sn(this,this._map.remove(e))},tn.prototype.clear=function(){return sn(this,this._map.clear())},tn.prototype.union=function(){var t=e.call(arguments,0);return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)i(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},tn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return i(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},tn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return i(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},tn.prototype.merge=function(){return this.union.apply(this,arguments)},tn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},tn.prototype.sort=function(e){return ln(Rt(this,e))},tn.prototype.sortBy=function(e,t){return ln(Rt(this,t,e))},tn.prototype.wasAltered=function(){return this._map.wasAltered()},tn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},tn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},tn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},tn.isSet=nn;var rn,on="@@__IMMUTABLE_SET__@@",an=tn.prototype;function sn(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function un(e,t){var n=Object.create(an);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function cn(){return rn||(rn=un(Ue()))}function ln(e){return null==e?vn():fn(e)?e:vn().withMutations((function(t){var n=i(e);Te(n.size),n.forEach((function(e){return t.add(e)}))}))}function fn(e){return nn(e)&&l(e)}an[on]=!0,an.delete=an.remove,an.mergeDeep=an.merge,an.mergeDeepWith=an.mergeWith,an.withMutations=Pe.withMutations,an.asMutable=Pe.asMutable,an.asImmutable=Pe.asImmutable,an.__empty=cn,an.__make=un,t(ln,tn),ln.of=function(){return this(arguments)},ln.fromKeys=function(e){return this(r(e).keySeq())},ln.prototype.toString=function(){return this.__toString("OrderedSet {","}")},ln.isOrderedSet=fn;var dn,pn=ln.prototype;function hn(e,t){var n=Object.create(pn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function vn(){return dn||(dn=hn(St()))}function yn(e){return null==e?bn():gn(e)?e:bn().unshiftAll(e)}function gn(e){return!(!e||!e[kn])}pn[h]=!0,pn.__empty=vn,pn.__make=hn,t(yn,pe),yn.of=function(){return this(arguments)},yn.prototype.toString=function(){return this.__toString("Stack [","]")},yn.prototype.get=function(e,t){var n=this._head;for(e=w(this,e);n&&e--;)n=n.next;return n?n.value:t},yn.prototype.peek=function(){return this._head&&this._head.value},yn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):_n(e,t)},yn.prototype.pushAll=function(e){if(0===(e=o(e)).size)return this;Te(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):_n(t,n)},yn.prototype.pop=function(){return this.slice(1)},yn.prototype.unshift=function(){return this.push.apply(this,arguments)},yn.prototype.unshiftAll=function(e){return this.pushAll(e)},yn.prototype.shift=function(){return this.pop.apply(this,arguments)},yn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):bn()},yn.prototype.slice=function(e,t){if(A(e,t,this.size))return this;var n=E(e,this.size);if(O(t,this.size)!==this.size)return pe.prototype.slice.call(this,e,t);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):_n(r,o)},yn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?_n(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},yn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},yn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new P((function(){if(r){var t=r.value;return r=r.next,I(e,n++,t)}return{value:void 0,done:!0}}))},yn.isStack=gn;var mn,kn="@@__IMMUTABLE_STACK__@@",xn=yn.prototype;function _n(e,t,n,r){var o=Object.create(xn);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function bn(){return mn||(mn=_n(0))}function wn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}xn[kn]=!0,xn.withMutations=Pe.withMutations,xn.asMutable=Pe.asMutable,xn.asImmutable=Pe.asImmutable,xn.wasAltered=Pe.wasAltered,n.Iterator=P,wn(n,{toArray:function(){Te(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Ot(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Et(this,!0)},toMap:function(){return De(this.toKeyedSeq())},toObject:function(){Te(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return _t(this.toKeyedSeq())},toOrderedSet:function(){return ln(s(this)?this.valueSeq():this)},toSet:function(){return tn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Ct(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return yn(s(this)?this.valueSeq():this)},toList:function(){return ot(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){var t=e.call(arguments,0);return Gt(this,jt(this,t))},includes:function(e){return this.some((function(t){return ae(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){Te(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!e.call(t,r,o,i))return n=!1,!1})),n},filter:function(e,t){return Gt(this,Ft(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(r,o,i){if(e.call(t,r,o,i))return n=[o,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Te(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Te(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return Gt(this,Bt(this,e,t))},reduce:function(e,t,n){var r,o;return Te(this.size),arguments.length<2?o=!0:r=t,this.__iterate((function(t,i,a){o?(o=!1,r=t):r=e.call(n,r,t,i,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Gt(this,Nt(this,!0))},slice:function(e,t){return Gt(this,Pt(this,e,t,!0))},some:function(e,t){return!this.every(Cn(e),t)},sort:function(e){return Gt(this,Rt(this,e))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return b(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=De().asMutable();return e.__iterate((function(o,i){r.update(t.call(n,o,i,e),0,(function(e){return e+1}))})),r.asImmutable()}(this,e,t)},equals:function(e){return se(this,e)},entrySeq:function(){var e=this;if(e._cache)return new W(e._cache);var t=e.toSeq().map(On).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Cn(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(S)},flatMap:function(e,t){return Gt(this,function(e,t,n){var r=qt(e);return e.toSeq().map((function(o,i){return r(t.call(n,o,i,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return Gt(this,Mt(this,e,!0))},fromEntrySeq:function(){return new Tt(this)},get:function(e,t){return this.find((function(t,n){return ae(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,o=Yt(e);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,v):v)===v)return t}return r},groupBy:function(e,t){return function(e,t,n){var r=s(e),o=(l(e)?_t():De()).asMutable();e.__iterate((function(i,a){o.update(t.call(n,i,a,e),(function(e){return(e=e||[]).push(r?[a,i]:i),e}))}));var i=qt(e);return o.map((function(t){return Gt(e,i(t))}))}(this,e,t)},has:function(e){return this.get(e,v)!==v},hasIn:function(e){return this.getIn(e,v)!==v},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(En).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return Lt(this,e)},maxBy:function(e,t){return Lt(this,t,e)},min:function(e){return Lt(this,e?Tn(e):Nn)},minBy:function(e,t){return Lt(this,t?Tn(t):Nn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return Gt(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return Gt(this,It(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Cn(e),t)},sortBy:function(e,t){return Gt(this,Rt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return Gt(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return Gt(this,function(e,t,n){var r=Wt(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return e.__iterate((function(e,o,s){return t.call(n,e,o,s)&&++a&&r(e,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=e.__iterator(2,o),s=!0;return new P((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var o=e.value,u=o[0],c=o[1];return t.call(n,c,u,i)?2===r?e:I(r,u,c,e):(s=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Cn(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t=l(e),n=s(e),r=t?1:0;return function(e,t){return t=ve(t,3432918353),t=ve(t<<15|t>>>-15,461845907),t=ve(t<<13|t>>>-13,5),t=ve((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=ye((t=ve(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){r=31*r+Fn(ge(e),ge(t))|0}:function(e,t){r=r+Fn(ge(e),ge(t))|0}:t?function(e){r=31*r+ge(e)|0}:function(e){r=r+ge(e)|0}),r)}(this))}});var Sn=n.prototype;Sn[f]=!0,Sn[F]=Sn.values,Sn.__toJS=Sn.toArray,Sn.__toStringMapper=Dn,Sn.inspect=Sn.toSource=function(){return this.toString()},Sn.chain=Sn.flatMap,Sn.contains=Sn.includes,function(){try{Object.defineProperty(Sn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),wn(r,{flip:function(){return Gt(this,Dt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ae(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ae(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return Gt(this,this.toSeq().map((function(o,i){return e.call(t,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Gt(this,this.toSeq().flip().map((function(r,o){return e.call(t,r,o,n)})).flip())}});var An=r.prototype;function En(e,t){return t}function On(e,t){return[t,e]}function Cn(e){return function(){return!e.apply(this,arguments)}}function Tn(e){return function(){return-e.apply(this,arguments)}}function Dn(e){return"string"==typeof e?JSON.stringify(e):e}function Bn(){return _(arguments)}function Nn(e,t){return e<t?1:e>t?-1:0}function Fn(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return An[d]=!0,An[F]=Sn.entries,An.__toJS=Sn.toObject,An.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+Dn(e)},wn(o,{toKeyedSeq:function(){return new Et(this,!1)},filter:function(e,t){return Gt(this,Ft(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return Gt(this,Nt(this,!1))},slice:function(e,t){return Gt(this,Pt(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=E(e,e<0?this.count():this.size);var r=this.slice(0,e);return Gt(this,1===n?r:r.concat(_(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return Gt(this,Mt(this,e,!1))},get:function(e,t){return(e=w(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=w(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return Gt(this,function(e,t){var n=Wt(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return e.__iterate((function(e,r){return(!i||!1!==n(t,i++,o))&&!1!==n(e,i++,o)}),r),i},n.__iteratorUncached=function(n,r){var o,i=e.__iterator(1,r),a=0;return new P((function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?I(n,a++,t):I(n,a++,o.value,o)}))},n}(this,e))},interleave:function(){var e=[this].concat(_(arguments)),t=zt(this.toSeq(),U.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),Gt(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return Gt(this,It(this,e,t,!1))},zip:function(){var e=[this].concat(_(arguments));return Gt(this,zt(this,Bn,e))},zipWith:function(e){var t=_(arguments);return t[0]=this,Gt(this,zt(this,e,t))}}),o.prototype[p]=!0,o.prototype[h]=!0,wn(i,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=Sn.includes,wn(V,r.prototype),wn(U,o.prototype),wn(q,i.prototype),wn(de,r.prototype),wn(pe,o.prototype),wn(he,i.prototype),{Iterable:n,Seq:G,Collection:fe,Map:De,OrderedMap:_t,List:ot,Stack:yn,Set:tn,OrderedSet:ln,Record:$t,Range:le,Repeat:ue,is:ae,fromJS:re}}()},8275:function(e,t,n){"use strict";var r=function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};e.exports=function(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];if(r(t),!e){var a;if(void 0===t)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=0;(a=new Error(t.replace(/%s/g,(function(){return String(o[s++])})))).name="Invariant Violation"}throw a.framesToPop=1,a}}},8284:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(11159),i=n(9998),a=n(11160),s=n(9196),u=n(8269),c=u.OrderedSet,l=u.Record,f=u.Stack,d=l({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:f(),selection:null,treeMap:null,undoStack:f()}),p=function(){t.createEmpty=function(e){return t.createWithContent(i.createFromText(""),e)},t.createWithContent=function(e,n){if(0===e.getBlockMap().count())return t.createEmpty(n);var r=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:f(),redoStack:f(),decorator:n||null,selection:s.createEmpty(r)})},t.create=function(e){var n=e.currentContent,o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}({},e,{treeMap:v(n,e.decorator),directionMap:a.getDirectionMap(n)});return new t(new d(o))},t.set=function(e,n){return new t(e.getImmutable().withMutations((function(t){var r=t.get("decorator"),i=r;null===n.decorator?i=null:n.decorator&&(i=n.decorator);var a=n.currentContent||e.getCurrentContent();if(i!==r){var s,u=t.get("treeMap");return s=i&&r?function(e,t,n,r,i){return n.merge(t.toSeq().filter((function(t){return r.getDecorations(t,e)!==i.getDecorations(t,e)})).map((function(t){return o.generate(e,t,r)})))}(a,a.getBlockMap(),u,i,r):v(a,i),void t.merge({decorator:i,treeMap:s,nativelyRenderedContent:null})}a!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,r){var i=e.getCurrentContent().set("entityMap",n),a=i.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==a.get(t)})).map((function(e){return o.generate(i,e,r)})))}(e,a.getBlockMap(),a.getEntityMap(),i)),t.merge(n)})))};var e=t.prototype;function t(e){r(this,"_immutable",void 0),this._immutable=e}return e.toJS=function(){return this.getImmutable().toJS()},e.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},e.getCurrentContent=function(){return this.getImmutable().get("currentContent")},e.getUndoStack=function(){return this.getImmutable().get("undoStack")},e.getRedoStack=function(){return this.getImmutable().get("redoStack")},e.getSelection=function(){return this.getImmutable().get("selection")},e.getDecorator=function(){return this.getImmutable().get("decorator")},e.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},e.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},e.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},e.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},e.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},t.setInlineStyleOverride=function(e,n){return t.set(e,{inlineStyleOverride:n})},e.getCurrentInlineStyle=function(){var e=this.getInlineStyleOverride();if(null!=e)return e;var t=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);if(r>0)return o.getInlineStyleAt(r-1);if(o.getLength())return o.getInlineStyleAt(0);return g(e,n)}(t,n):function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);if(r<o.getLength())return o.getInlineStyleAt(r);if(r>0)return o.getInlineStyleAt(r-1);return g(e,n)}(t,n)},e.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},e.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},e.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent().getBlockMap().last(),t=e.getLength();return this.getSelection().hasEdgeWithin(e.getKey(),t,t)},e.getDirectionMap=function(){return this.getImmutable().get("directionMap")},t.acceptSelection=function(e,t){return h(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),h(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),r=n.getKey(),o=n.getLength();return t.acceptSelection(e,new s({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var i=a.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:i,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:null});var s=e.getSelection(),u=e.getCurrentContent(),c=e.getUndoStack(),l=n;s!==u.getSelectionAfter()||y(e,r)?(c=c.push(u),l=l.set("selectionBefore",s)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(l=l.set("selectionBefore",u.getSelectionBefore()));var d=e.getInlineStyleOverride(),p=["adjust-depth","change-block-type","split-block"];-1===p.indexOf(r)&&(d=null);var h={currentContent:l,directionMap:i,undoStack:c,redoStack:f(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:d};return t.set(e,h)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),r=n.peek();if(!r)return e;var o=e.getCurrentContent(),i=a.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:i,undoStack:n.shift(),redoStack:e.getRedoStack().push(o),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:o.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),r=n.peek();if(!r)return e;var o=e.getCurrentContent(),i=a.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:i,undoStack:e.getUndoStack().push(o),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function h(e,t,n){return p.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function v(e,t){return e.getBlockMap().map((function(n){return o.generate(e,n,t)})).toOrderedMap()}function y(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function g(e,t){var n=e.getBlockMap().reverse().skipUntil((function(e,n){return n===t})).skip(1).skipUntil((function(e,t){return e.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):c()}e.exports=p},8312:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(var r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!Object.is(e[n[r]],t[n[r]]))return!1;return!0}},8315:function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"Annotation",(function(){return te})),n.d(t,"Block",(function(){return le})),n.d(t,"Change",(function(){return _e})),n.d(t,"Data",(function(){return V})),n.d(t,"Decoration",(function(){return J})),n.d(t,"Document",(function(){return re})),n.d(t,"Editor",(function(){return bt})),n.d(t,"Inline",(function(){return ie})),n.d(t,"KeyUtils",(function(){return x})),n.d(t,"Leaf",(function(){return Ot})),n.d(t,"Mark",(function(){return q})),n.d(t,"Node",(function(){return ue})),n.d(t,"Operation",(function(){return ke})),n.d(t,"PathUtils",(function(){return K})),n.d(t,"Point",(function(){return G})),n.d(t,"Range",(function(){return Q})),n.d(t,"resetMemoization",(function(){return Rt})),n.d(t,"Selection",(function(){return Y})),n.d(t,"Text",(function(){return se})),n.d(t,"TextUtils",(function(){return Fe})),n.d(t,"useMemoization",(function(){return Lt})),n.d(t,"Value",(function(){return de}));var r=n(8269),o=n(10832),i=n.n(o),a=n(10911),s=n(103),u=n(10834),c=n.n(u),l=n(10836),f=n(10837),d=n.n(f),p=n(10324),h=n.n(p),v=n(10910),y=n.n(v),g=void 0,m=void 0;function k(){g=0,m=function(){return""+g++}}k();var x={create:function(e){if(null==e)return m();if("string"==typeof e)return e;throw new Error("Keys must be strings, but you passed: "+e)},setGenerator:function(e){m=e},resetGenerator:k},_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},w=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),S=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},A=Object.assign||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},E=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},O=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},C=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},T=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},D=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)};function B(e,t){for(var n=L(e,t),r=0;r<n;r++){var o=e.get(r),i=t.get(r);if(o<i)return-1;if(o>i)return 1}return e.size===t.size?0:null}function N(e){if(null==e)return null;if(r.List.isList(e))return e;if(Array.isArray(e))return Object(r.List)(e);throw new Error("Paths can only be created from arrays or lists, but you passed: "+e)}function F(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:L(e,t),r=e.slice(0,n),o=t.slice(0,n);return[r,o]}function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.size-1;return I(e,0-t,n)}function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.size-1,r=e.get(n),o=r+t,i=e.set(n,o);return i}function j(e,t){var n=F(e,t),r=T(n,2),o=r[0],i=r[1];return e.size<t.size&&0===B(o,i)}function M(e,t){return e.equals(t)}function R(e,t){var n=e.size-1,r=F(e,t,n),o=T(r,2),i=o[0],a=o[1],s=e.get(n),u=t.get(n);return M(i,a)&&s<u}function L(e,t){return Math.min(e.size,t.size)}var K={compare:B,create:N,crop:F,decrement:P,getAncestors:function(e){return Object(r.List)().withMutations((function(t){for(var n=0;n<e.size;n++)t.push(e.slice(0,n))}))},increment:I,isAbove:j,isAfter:function(e,t){var n=F(e,t),r=T(n,2);return 1===B(r[0],r[1])},isBefore:function(e,t){var n=F(e,t),r=T(n,2);return-1===B(r[0],r[1])},isEqual:M,isOlder:function(e,t){var n=e.size-1,r=F(e,t,n),o=T(r,2),i=o[0],a=o[1],s=e.get(n),u=t.get(n);return M(i,a)&&s>u},isPath:function(e){return(r.List.isList(e)||Array.isArray(e))&&e.every((function(e){return"number"==typeof e}))},isSibling:function(e,t){if(e.size!==t.size)return!1;var n=e.butLast(),r=t.butLast();return n.equals(r)},isYounger:R,lift:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=e.slice(0,-1*t);return n},drop:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=e.slice(t);return n},max:function(e,t){return Math.max(e.size,t.size)},min:L,relate:function(e,t){for(var n=[],r=0;r<e.size&&r<t.size;r++){var o=e.get(r);if(o!==t.get(r))break;n.push(o)}return N(n)},transform:function(e,t){var n=t.type,o=t.position,i=t.path;if("add_mark"===n||"insert_text"===n||"remove_mark"===n||"remove_text"===n||"set_mark"===n||"set_node"===n||"set_selection"===n||"set_value"===n||"add_annotation"===n||"remove_annotation"===n||"set_annotation"===n||0===e.size)return Object(r.List)([e]);var a=i.size-1,s=M(i,e),u=R(i,e),c=j(i,e);if("insert_node"===n&&(s||u||c)&&(e=I(e,1,a)),"remove_node"===n&&(u?e=P(e,1,a):(s||c)&&(e=[])),"merge_node"===n&&(s||u?e=P(e,1,a):c&&(e=I(e=P(e,1,a),o,a+1))),"split_node"===n&&(s?e=[e,I(e)]:u?e=I(e,1,a):c&&e.get(a+1)>=o&&(e=P(e=I(e,1,a),o,a+1))),"move_node"===n){var l=t.newPath;if(M(i,l))return Object(r.List)([e]);c||s?e=R(i,l)&&i.size<l.size?P(l,1,L(l,i)-1).concat(e.slice(i.size)):l.concat(e.slice(i.size)):(u&&(e=P(e,1,a)),(R(l,e)||M(l,e)||j(l,e))&&(e=I(e,1,l.size-1)))}var f=Array.isArray(e)?e:[e];return Object(r.List)(f)}},z={key:void 0,offset:void 0,path:void 0},G=function(e){function t(){return b(this,t),C(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return E(t,e),w(t,[{key:"isAfterPoint",value:function(e){return!this.isUnset&&(this.key===e.key&&this.offset>e.offset||1===K.compare(this.path,e.path))}},{key:"isAfterRange",value:function(e){return!this.isUnset&&this.isAfterPoint(e.end)}},{key:"isAtEndOfRange",value:function(e){return!this.isUnset&&this.equals(e.end)}},{key:"isAtStartOfRange",value:function(e){return!this.isUnset&&this.equals(e.start)}},{key:"isBeforePoint",value:function(e){return!this.isUnset&&(this.key===e.key&&this.offset<e.offset||-1===K.compare(this.path,e.path))}},{key:"isBeforeRange",value:function(e){return!this.isUnset&&this.isBeforePoint(e.start)}},{key:"isInRange",value:function(e){return!this.isUnset&&(this.equals(e.start)||this.equals(e.end)||this.isAfterPoint(e.start)&&this.isBeforePoint(e.end))}},{key:"isAtEndOfNode",value:function(e){if(this.isUnset)return!1;var t=e.getLastText();return this.key===t.key&&this.offset===t.text.length}},{key:"isAtStartOfNode",value:function(e){if(this.isUnset)return!1;if(0!==this.offset)return!1;var t=e.getFirstText();return this.key===t.key}},{key:"isInNode",value:function(e){return!this.isUnset&&("text"===e.object&&e.key===this.key||!!e.hasNode(this.key))}},{key:"moveBackward",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;if(0===e)return this;if(e<0)return this.moveForward(-e);var t=this.setOffset(this.offset-e);return t}},{key:"moveForward",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;if(0===e)return this;if(e<0)return this.moveBackward(-e);var t=this.setOffset(this.offset+e);return t}},{key:"moveTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.key;"number"==typeof e?(t=e,e=this.path):"string"==typeof e?e=(n=e)===this.key?this.path:null:n=e.equals(this.path)?this.key:null;var r=this.merge({key:n,path:e,offset:t});return r}},{key:"moveToStartOfNode",value:function(e){var t=e.getFirstText();return this.moveTo(t.key,0)}},{key:"moveToEndOfNode",value:function(e){var t=e.getLastText();return this.moveTo(t.key,t.text.length)}},{key:"normalize",value:function(e){if(null==this.key&&null==this.path)return this.setOffset(null);var n=this.key,r=this.offset,o=this.path,i=o&&e.getNode(o);if(!i&&(i=e.getNode(n)))return this.merge({path:e.getPath(n)});if(!i){Object(a.a)(!1,"A point's `path` or `key` invalid and was reset!");var s=e.getFirstText();return s?this.merge({key:s.key,offset:0,path:e.getPath(s.key)}):t.create()}if("text"!==i.object){Object(a.a)(!1,"A point should not reference a non-text node!");var u=i.getTextAtOffset(r),c=i.getOffset(u.key);return this.merge({offset:r-c,key:u.key,path:e.getPath(u.key)})}i&&o&&n&&n!==i.key&&Object(a.a)(!1,"A point's `key` did not match its `path`!");var l=this.merge({key:i.key,path:null==o?e.getPath(i.key):o,offset:null==r?0:Math.min(r,i.text.length)});if(l.offset===i.text.length){var f=e.getClosestBlock(l.path).getNextText();f&&(l=l.merge({key:f.key,path:e.getPath(f.key),offset:0}))}return l}},{key:"setKey",value:function(e){return null!=e&&(e=x.create(e)),this.set("key",e)}},{key:"setOffset",value:function(e){return this.set("offset",e)}},{key:"setPath",value:function(e){return null!=e&&(e=K.create(e)),this.set("path",e)}},{key:"toJSON",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={object:this.object,key:this.key,offset:this.offset,path:this.path&&this.path.toArray()};return e.preserveKeys||delete t.key,t}},{key:"unset",value:function(){return this.merge({key:null,offset:null,path:null})}},{key:"isSet",get:function(){return null!=this.key&&null!=this.offset&&null!=this.path}},{key:"isUnset",get:function(){return!this.isSet}}],[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.isPoint(e))return e;if(i()(e))return t.fromJSON(e);throw new Error("`Point.create` only accepts objects or points, but you passed it: "+e)}},{key:"createProperties",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.isPoint(e))return{key:e.key,offset:e.offset,path:e.path};if(i()(e)){var n={};return"key"in e&&(n.key=e.key),"offset"in e&&(n.offset=e.offset),"path"in e&&(n.path=K.create(e.path)),"path"in e&&!("key"in e)&&(n.key=null),"key"in e&&!("path"in e)&&(n.path=null),n}throw new Error("`Point.createProperties` only accepts objects or points, but you passed it: "+e)}},{key:"fromJSON",value:function(e){var n=e.key,r=void 0===n?null:n,o=e.offset,i=void 0===o?null:o,a=e.path,s=void 0===a?null:a;return new t({key:r,offset:i,path:K.create(s)})}}]),t}(Object(r.Record)(z)),V=function(){function e(){b(this,e)}return w(e,null,[{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(r.Map.isMap(t))return t;if(i()(t))return e.fromJSON(t);throw new Error("`Data.create` only accepts objects or maps, but you passed it: "+t)}},{key:"fromJSON",value:function(e){return new r.Map(e)}}]),e}();V.fromJS=V.fromJSON;var U={data:void 0,type:void 0},q=function(e){function t(){return b(this,t),C(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return E(t,e),w(t,[{key:"toJSON",value:function(){return{object:this.object,type:this.type,data:this.data.toJSON()}}}],[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.isMark(e))return e;if("string"==typeof e&&(e={type:e}),i()(e))return t.fromJSON(e);throw new Error("`Mark.create` only accepts objects, strings or marks, but you passed it: "+e)}},{key:"createSet",value:function(e){if(r.Set.isSet(e)||Array.isArray(e))return new r.Set(e.map(t.create));if(null==e)return Object(r.Set)();throw new Error("`Mark.createSet` only accepts sets, arrays or null, but you passed it: "+e)}},{key:"createProperties",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.isMark(e))return{data:e.data,type:e.type};if("string"==typeof e)return{type:e};if(i()(e)){var n={};return"type"in e&&(n.type=e.type),"data"in e&&(n.data=V.create(e.data)),n}throw new Error("`Mark.createProperties` only accepts objects, strings or marks, but you passed it: "+e)}},{key:"fromJSON",value:function(e){var n=e.data,o=void 0===n?{}:n,i=e.type;if("string"!=typeof i)throw new Error("`Mark.fromJS` requires a `type` string.");return new t({type:i,data:new r.Map(o)})}},{key:"isMarkSet",value:function(e){return r.Set.isSet(e)&&e.every((function(e){return t.isMark(e)}))}}]),t}(Object(r.Record)(U)),W={type:void 0,data:void 0,anchor:void 0,focus:void 0},J=function(e){function t(){return b(this,t),C(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return E(t,e),w(t,[{key:"setProperties",value:function(e){return e=t.createProperties(e),this.merge(e)}},{key:"toJSON",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={object:this.object,type:this.type,data:this.data.toJSON(),anchor:this.anchor.toJSON(e),focus:this.focus.toJSON(e)};return t}}],[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.isDecoration(e))return e;if(Q.isRange(e))return t.fromJSON(Q.createProperties(e));if(i()(e))return t.fromJSON(e);throw new Error("`Decoration.create` only accepts objects or decorations, but you passed it: "+e)}},{key:"createList",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.List.isList(e)||Array.isArray(e)){var n=new r.List(e.map(t.create));return n}throw new Error("`Decoration.createList` only accepts arrays or lists, but you passed it: "+e)}},{key:"createProperties",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.isDecoration(e))return{type:e.type,data:e.data,anchor:G.createProperties(e.anchor),focus:G.createProperties(e.focus),mark:q.create(e.mark)};if(i()(e)){var n={};return"type"in e&&(n.type=e.type),"data"in e&&(n.data=V.create(e.data)),"anchor"in e&&(n.anchor=G.create(e.anchor)),"focus"in e&&(n.focus=G.create(e.focus)),n}throw new Error("`Decoration.createProperties` only accepts objects or decorations, but you passed it: "+e)}},{key:"fromJSON",value:function(e){var n=e.anchor,r=e.focus,o=e.type,i=e.data;if(e.mark&&!o&&(Object(a.a)(!1,"As of slate@0.47 the `decoration.mark` property has been changed to `decoration.type` and `decoration.data` directly."),o=e.mark.type,i=e.mark.data),!o)throw new Error("Decorations must be created with a `type`, but you passed: "+JSON.stringify(e));return new t({type:o,data:V.create(i||{}),anchor:G.fromJSON(n||{}),focus:G.fromJSON(r||{})})}}]),t}(Object(r.Record)(W)),H={anchor:void 0,focus:void 0,isFocused:void 0,marks:void 0},Y=function(e){function t(){return b(this,t),C(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return E(t,e),w(t,[{key:"setIsFocused",value:function(e){return this.set("isFocused",e)}},{key:"setMarks",value:function(e){return this.set("marks",e)}},{key:"setProperties",value:function(e){var n=e=t.createProperties(e),r=n.anchor,o=n.focus,i=O(n,["anchor","focus"]);return r&&(i.anchor=G.create(r)),o&&(i.focus=G.create(o)),this.merge(i)}},{key:"toJSON",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={object:this.object,anchor:this.anchor.toJSON(e),focus:this.focus.toJSON(e),isFocused:this.isFocused,marks:null==this.marks?null:this.marks.toArray().map((function(e){return e.toJSON()}))};return t}},{key:"isBlurred",get:function(){return!this.isFocused}}],[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.isSelection(e))return e;if(Q.isRange(e))return t.fromJSON(Q.createProperties(e));if(i()(e))return t.fromJSON(e);throw new Error("`Selection.create` only accepts objects, ranges or selections, but you passed it: "+e)}},{key:"createProperties",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.isSelection(e))return{anchor:G.createProperties(e.anchor),focus:G.createProperties(e.focus),isFocused:e.isFocused,marks:e.marks};if(Q.isRange(e))return{anchor:G.createProperties(e.anchor),focus:G.createProperties(e.focus)};if(i()(e)){var n={};return"anchor"in e&&(n.anchor=G.create(e.anchor)),"focus"in e&&(n.focus=G.create(e.focus)),"isFocused"in e&&(n.isFocused=e.isFocused),"marks"in e&&(n.marks=null==e.marks?null:q.createSet(e.marks)),n}throw new Error("`Selection.createProperties` only accepts objects, ranges or selections, but you passed it: "+e)}},{key:"fromJSON",value:function(e){var n=e.anchor,o=e.focus,i=e.isFocused,a=void 0!==i&&i,s=e.marks,u=void 0===s?null:s;return new t({anchor:G.fromJSON(n||{}),focus:G.fromJSON(o||{}),isFocused:a,marks:null==u?null:new r.Set(u.map(q.fromJSON))})}}]),t}(Object(r.Record)(H)),$={annotation:"@@__SLATE_ANNOTATION__@@",block:"@@__SLATE_BLOCK__@@",change:"@@__SLATE_CHANGE__@@",decoration:"@@__SLATE_DECORATION__@@",document:"@@__SLATE_DOCUMENT__@@",editor:"@@__SLATE_EDITOR__@@",inline:"@@__SLATE_INLINE__@@",leaf:"@@__SLATE_LEAF__@@",mark:"@@__SLATE_MARK__@@",operation:"@@__SLATE_OPERATION__@@",point:"@@__SLATE_POINT__@@",range:"@@__SLATE_RANGE__@@",selection:"@@__SLATE_SELECTION__@@",text:"@@__SLATE_TEXT__@@",value:"@@__SLATE_VALUE__@@"};function X(e,t){return!(!t||!t[$[e]])}var Z={anchor:void 0,focus:void 0},Q=function(e){function t(){return b(this,t),C(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return E(t,e),w(t,[{key:"toJSON",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={object:this.object,anchor:this.anchor.toJSON(e),focus:this.focus.toJSON(e)};return t}}],[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.isRange(e))return"range"===e.object?e:t.fromJSON(t.createProperties(e));if(i()(e))return t.fromJSON(e);throw new Error("`Range.create` only accepts objects or ranges, but you passed it: "+e)}},{key:"createList",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.List.isList(e)||Array.isArray(e)){var n=new r.List(e.map(t.create));return n}throw new Error("`Range.createList` only accepts arrays or lists, but you passed it: "+e)}},{key:"createProperties",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.isRange(e))return{anchor:G.createProperties(e.anchor),focus:G.createProperties(e.focus)};if(i()(e)){var n={};return"anchor"in e&&(n.anchor=G.create(e.anchor)),"focus"in e&&(n.focus=G.create(e.focus)),n}throw new Error("`Range.createProperties` only accepts objects, annotations, decorations, ranges or selections, but you passed it: "+e)}},{key:"fromJSON",value:function(e){var n=e.anchor,r=e.focus;return new t({anchor:G.fromJSON(n||{}),focus:G.fromJSON(r||{})})}},{key:"isRange",value:function(e){return X("range",e)||J.isDecoration(e)||Y.isSelection(e)}}]),t}(Object(r.Record)(Z)),ee={key:void 0,type:void 0,data:void 0,anchor:void 0,focus:void 0},te=function(e){function t(){return b(this,t),C(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return E(t,e),w(t,[{key:"setProperties",value:function(e){return e=t.createProperties(e),this.merge(e)}},{key:"toJSON",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={object:this.object,key:this.key,type:this.type,data:this.data.toJSON(),anchor:this.anchor.toJSON(e),focus:this.focus.toJSON(e)};return t}}],[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.isAnnotation(e))return e;if(Q.isRange(e))return t.fromJSON(Q.createProperties(e));if(i()(e))return t.fromJSON(e);throw new Error("`Annotation.create` only accepts objects or annotations, but you passed it: "+e)}},{key:"createMap",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.Map.isMap(e))return e;if(i()(e)){var n={};for(var o in e){var a=e[o],s=t.create(a);n[o]=s}return Object(r.Map)(n)}throw new Error("`Annotation.createMap` only accepts arrays or lists, but you passed it: "+e)}},{key:"createProperties",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.isAnnotation(e))return{key:e.key,type:e.type,data:e.data,anchor:G.createProperties(e.anchor),focus:G.createProperties(e.focus)};if(i()(e)){var n={};return"key"in e&&(n.key=e.key),"type"in e&&(n.type=e.type),"data"in e&&(n.data=V.create(e.data)),"anchor"in e&&(n.anchor=G.create(e.anchor)),"focus"in e&&(n.focus=G.create(e.focus)),n}throw new Error("`Annotation.createProperties` only accepts objects or annotations, but you passed it: "+e)}},{key:"fromJSON",value:function(e){var n=e.key,r=e.type,o=e.data,i=e.anchor,a=e.focus;if(!n)throw new Error("Annotations must be created with a `key`, but you passed: "+JSON.stringify(e));if(!r)throw new Error("Annotations must be created with a `type`, but you passed: "+JSON.stringify(e));return new t({key:n,type:r,data:V.create(o||{}),anchor:G.fromJSON(i||{}),focus:G.fromJSON(a||{})})}}]),t}(Object(r.Record)(ee)),ne={data:void 0,key:void 0,nodes:void 0},re=function(e){function t(){return b(this,t),C(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return E(t,e),w(t,[{key:"toJSON",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={object:this.object,data:this.data.toJSON(),nodes:this.nodes.toArray().map((function(t){return t.toJSON(e)}))};return e.preserveKeys&&(t.key=this.key),t}}],[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.isDocument(e))return e;if((r.List.isList(e)||Array.isArray(e))&&(e={nodes:e}),i()(e))return t.fromJSON(e);throw new Error("`Document.create` only accepts objects, arrays, lists or documents, but you passed it: "+e)}},{key:"fromJSON",value:function(e){if(t.isDocument(e))return e;var n=e.data,o=void 0===n?{}:n,i=e.key,a=void 0===i?x.create():i,s=e.nodes,u=void 0===s?[]:s;return new t({key:a,data:new r.Map(o),nodes:ue.createList(u)})}}]),t}(Object(r.Record)(ne)),oe={data:void 0,key:void 0,nodes:void 0,type:void 0},ie=function(e){function t(){return b(this,t),C(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return E(t,e),w(t,[{key:"toJSON",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={object:this.object,type:this.type,data:this.data.toJSON(),nodes:this.nodes.toArray().map((function(t){return t.toJSON(e)}))};return e.preserveKeys&&(t.key=this.key),t}}],[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.isInline(e))return e;if("string"==typeof e&&(e={type:e}),i()(e))return t.fromJSON(e);throw new Error("`Inline.create` only accepts objects, strings or inlines, but you passed it: "+e)}},{key:"createList",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.List.isList(e)||Array.isArray(e)){var n=new r.List(e.map(t.create));return n}throw new Error("`Inline.createList` only accepts arrays or lists, but you passed it: "+e)}},{key:"fromJSON",value:function(e){if(t.isInline(e))return e;var n=e.data,o=void 0===n?{}:n,i=e.key,a=void 0===i?x.create():i,s=e.nodes,u=void 0===s?[]:s,c=e.type;if("string"!=typeof c)throw new Error("`Inline.fromJS` requires a `type` string.");return new t({key:a,type:c,data:new r.Map(o),nodes:ue.createList(u)})}},{key:"isInlineList",value:function(e){return r.List.isList(e)&&e.every((function(e){return t.isInline(e)}))}}]),t}(Object(r.Record)(oe)),ae={key:void 0,marks:void 0,text:void 0},se=function(e){function t(){return b(this,t),C(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return E(t,e),w(t,[{key:"addMark",value:function(e){e=q.create(e);var t=this.marks.add(e);return this.set("marks",t)}},{key:"addMarks",value:function(e){return e=q.createSet(e),this.set("marks",this.marks.union(e))}},{key:"getLeaves",value:function(e){var t=[{text:this.text,marks:this.marks,decorations:[]}],n=function(e,t){return[{text:e.text.slice(0,t),marks:e.marks,decorations:[].concat(D(e.decorations))},{text:e.text.slice(t),marks:e.marks,decorations:[].concat(D(e.decorations))}]},r=e,o=!0,i=!1,a=void 0;try{for(var s,u=r[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value,l=c.start,f=c.end,d=[],p=0,h=!0,v=!1,y=void 0;try{for(var g,m=t[Symbol.iterator]();!(h=(g=m.next()).done);h=!0){var k=g.value,x=k.text.length,_=p;if(p+=x,l.offset<=_&&f.offset>=_+x)k.decorations.push(c),d.push(k);else if(l.offset>_+x||f.offset<_||f.offset===_&&0!==_)d.push(k);else{var b=k,w=void 0,S=void 0;if(f.offset<_+x){var A=n(b,f.offset-_),E=T(A,2);b=E[0],S=E[1]}if(l.offset>_){var O=n(b,l.offset-_),C=T(O,2);w=C[0],b=C[1]}b.decorations.push(c),w&&d.push(w),d.push(b),S&&d.push(S)}}}catch(e){v=!0,y=e}finally{try{!h&&m.return&&m.return()}finally{if(v)throw y}}t=d}}catch(e){i=!0,a=e}finally{try{!o&&u.return&&u.return()}finally{if(i)throw a}}return t}},{key:"insertText",value:function(e,t){var n=this.text,r=n.slice(0,e)+t+n.slice(e);return this.set("text",r)}},{key:"removeMark",value:function(e){e=q.create(e);var t=this.marks.remove(e);return this.set("marks",t)}},{key:"removeText",value:function(e,t){var n=this.text,r=n.slice(0,e)+n.slice(e+t);return this.set("text",r)}},{key:"toJSON",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={object:this.object,text:this.text,marks:this.marks.toArray().map((function(e){return e.toJSON()}))};return e.preserveKeys&&(t.key=this.key),t}},{key:"setMark",value:function(e,t){var n=this.marks,r=q.create(e),o=r.merge(t),i=n.remove(r).add(o);return this.set("marks",i)}},{key:"splitText",value:function(e){var t=this.text;return[this.set("text",t.slice(0,e)),this.set("text",t.slice(e)).regenerateKey()]}},{key:"mergeText",value:function(e){var t=this.text+e.text;return this.set("text",t)}}],[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(t.isText(e))return e;if("string"==typeof e&&(e={text:e}),i()(e))return t.fromJSON(e);throw new Error("`Text.create` only accepts objects, arrays, strings or texts, but you passed it: "+e)}},{key:"createList",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.List.isList(e)||Array.isArray(e)){var n=new r.List(e.map(t.create));return n}throw new Error("`Text.createList` only accepts arrays or lists, but you passed it: "+e)}},{key:"fromJSON",value:function(e){if(t.isText(e))return e;Object(s.default)(null==e.leaves,"As of slate@0.46, the `leaves` property of text nodes has been removed! Each individual leaf should be created as a text node instead.");var n=e.text,r=void 0===n?"":n,o=e.marks,i=void 0===o?[]:o,a=e.key;return new t({key:void 0===a?x.create():a,text:r,marks:q.createSet(i)})}},{key:"isTextList",value:function(e){return r.List.isList(e)&&e.every((function(e){return t.isText(e)}))}}]),t}(Object(r.Record)(ae)),ue=function(){function e(){b(this,e)}return w(e,null,[{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.isNode(t))return t;if(i()(t)){var n=t.object;switch(!n&&t.kind&&(Object(a.a)(!1,"As of slate@0.32.0, the `kind` property of Slate objects has been renamed to `object`."),n=t.kind),n){case"block":return le.create(t);case"document":return re.create(t);case"inline":return ie.create(t);case"text":return se.create(t);default:throw new Error("`Node.create` requires a `object` string.")}}throw new Error("`Node.create` only accepts objects or nodes but you passed it: "+t)}},{key:"createList",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.List.isList(t)||Array.isArray(t)){var n=[];t.forEach((function(t){if(t&&"text"===t.object&&t.leaves&&Array.isArray(t.leaves)){Object(a.a)(!1,"As of slate@0.46, the `leaves` property of Text nodes has been removed. Instead, each text node contains a string of text and a unique set of marks and leaves are unnecessary.");var r=se.createList(t.leaves).toArray();n=n.concat(r)}else{var o=e.create(t);n.push(o)}}));var o=Object(r.List)(n);return o}throw new Error("`Node.createList` only accepts lists or arrays, but you passed it: "+t)}},{key:"createProperties",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(le.isBlock(e)||ie.isInline(e))return{data:e.data,type:e.type};if("string"==typeof e)return{type:e};if(i()(e)){var t={};return"type"in e&&(t.type=e.type),"data"in e&&(t.data=V.create(e.data)),t}throw new Error("`Node.createProperties` only accepts objects, strings, blocks or inlines, but you passed it: "+e)}},{key:"fromJSON",value:function(e){var t=e.object;switch(!t&&e.kind&&(Object(a.a)(!1,"As of slate@0.32.0, the `kind` property of Slate objects has been renamed to `object`."),t=e.kind),t){case"block":return le.fromJSON(e);case"document":return re.fromJSON(e);case"inline":return ie.fromJSON(e);case"text":return se.fromJSON(e);default:throw new Error("`Node.fromJSON` requires an `object` of either 'block', 'document', 'inline' or 'text', but you passed: "+e)}}},{key:"isNode",value:function(e){return le.isBlock(e)||re.isDocument(e)||ie.isInline(e)||se.isText(e)}},{key:"isNodeList",value:function(t){return r.List.isList(t)&&t.every((function(t){return e.isNode(t)}))}}]),e}(),ce={data:void 0,key:void 0,nodes:void 0,type:void 0},le=function(e){function t(){return b(this,t),C(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return E(t,e),w(t,[{key:"toJSON",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={object:this.object,type:this.type,data:this.data.toJSON(),nodes:this.nodes.toArray().map((function(t){return t.toJSON(e)}))};return e.preserveKeys&&(t.key=this.key),t}}],[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.isBlock(e))return e;if("string"==typeof e&&(e={type:e}),i()(e))return t.fromJSON(e);throw new Error("`Block.create` only accepts objects, strings or blocks, but you passed it: "+e)}},{key:"createList",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.List.isList(e)||Array.isArray(e)){var n=new r.List(e.map(t.create));return n}throw new Error("`Block.createList` only accepts arrays or lists, but you passed it: "+e)}},{key:"fromJSON",value:function(e){if(t.isBlock(e))return e;var n=e.data,o=void 0===n?{}:n,i=e.key,a=void 0===i?x.create():i,s=e.nodes,u=void 0===s?[]:s,c=e.type;if("string"!=typeof c)throw new Error("`Block.fromJSON` requires a `type` string.");return new t({key:a,type:c,data:Object(r.Map)(o),nodes:ue.createList(u)})}},{key:"isBlockList",value:function(e){return r.List.isList(e)&&e.every((function(e){return t.isBlock(e)}))}}]),t}(Object(r.Record)(ce)),fe={annotations:void 0,data:void 0,document:void 0,selection:void 0},de=function(e){function t(){return b(this,t),C(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return E(t,e),w(t,[{key:"addAnnotation",value:function(e){e=te.create(e);var t=this,n=t,r=n.annotations,o=n.document,i=e.key;return e=e.updatePoints((function(e){return e.normalize(o)})),r=r.set(i,e),t=t.set("annotations",r)}},{key:"addMark",value:function(e,t){t=q.create(t);var n=this,r=n.document;return r=r.addMark(e,t),n=n.set("document",r)}},{key:"insertNode",value:function(e,t){var n=this,r=n.document;return r=r.insertNode(e,t),n=(n=n.set("document",r)).mapRanges((function(e){return e.updatePoints((function(e){return e.setPath(null)}))}))}},{key:"insertText",value:function(e,t,n){var r=this,o=r.document,i=o.assertNode(e);return o=o.insertText(e,t,n),i=o.assertNode(e),r=(r=r.set("document",o)).mapPoints((function(e){return e.key===i.key&&e.offset>=t?e.setOffset(Math.min(i.text.length,e.offset+n.length)):e}),!0)}},{key:"mergeNode",value:function(e){var t=this,n=t.document,r=n.mergeNode(e);e=n.resolvePath(e);var o=K.decrement(e),i=n.getNode(o),a=n.getNode(e);return t=(t=t.set("document",r)).mapRanges((function(e){if("text"===a.object){var t=i.text.length;e.anchor.key===a.key&&(e=e.moveAnchorTo(i.key,t+e.anchor.offset)),e.focus.key===a.key&&(e=e.moveFocusTo(i.key,t+e.focus.offset))}return e=e.updatePoints((function(e){return e.setPath(null)}))}))}},{key:"moveNode",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=this,o=r,i=o.document;return K.isEqual(e,t)?r:(i=i.moveNode(e,t,n),r=(r=r.set("document",i)).mapPoints((function(e){return e.setPath(null)})))}},{key:"removeAnnotation",value:function(e){e=te.create(e);var t=this,n=t.annotations,r=e.key;return n=n.delete(r),t=t.set("annotations",n)}},{key:"removeMark",value:function(e,t){t=q.create(t);var n=this,r=n.document;return r=r.removeMark(e,t),n=n.set("document",r)}},{key:"removeNode",value:function(e){var t=this,n=t.document,r=n.assertNode(e),o="text"===r.object?r:r.getFirstText()||r,i="text"===r.object?r:r.getLastText()||r,a=n.getPreviousText(o.key),s=n.getNextText(i.key);return n=n.removeNode(e),t=(t=t.set("document",n)).mapRanges((function(e){var t=e,n=t.anchor,o=t.focus;return r.hasNode(n.key)&&(e=a?e.moveAnchorTo(a.key,a.text.length):s?e.moveAnchorTo(s.key,0):e.unset()),r.hasNode(o.key)&&(e=a?e.moveFocusTo(a.key,a.text.length):s?e.moveFocusTo(s.key,0):e.unset()),e=e.updatePoints((function(e){return e.setPath(null)}))}))}},{key:"removeText",value:function(e,t,n){var r=this,o=r.document,i=o.assertNode(e);o=o.removeText(e,t,n),r=r.set("document",o);var a=n.length,s=t,u=t+a;return r=r.mapPoints((function(e){return e.key!==i.key?e:e.offset>=u?e.setOffset(e.offset-a):e.offset>s?e.setOffset(s):e}))}},{key:"setAnnotation",value:function(e,t){t=te.createProperties(t);var n=te.create(e),r=n.merge(t),o=this,i=o.annotations,a=n.key;return i=i.set(a,r),o=o.set("annotations",i)}},{key:"setNode",value:function(e,t){var n=this,r=n.document;return r=r.setNode(e,t),n=n.set("document",r)}},{key:"setMark",value:function(e,t,n){var r=this,o=r.document;return o=o.setMark(e,t,n),r=r.set("document",o)}},{key:"setProperties",value:function(e){var t=this,n=t.document,r=e.data,o=e.annotations,i={};return r&&(i.data=r),o&&(i.annotations=o.map((function(e){return e.isSet?e:n.resolveAnnotation(e)}))),t=t.merge(i)}},{key:"setSelection",value:function(e){var t=this,n=t,r=n.document,o=n.selection,i=o.setProperties(e);return o=r.resolveSelection(i),t=t.set("selection",o)}},{key:"splitNode",value:function(e,t,n){var r=this,o=r.document,i=o.splitNode(e,t,n),a=o.assertNode(e);return r=(r=r.set("document",i)).mapRanges((function(e){var n=i.getNextText(a.key),r=e,o=r.anchor,s=r.focus;return a.key===o.key&&t<=o.offset&&(e=e.moveAnchorTo(n.key,o.offset-t)),a.key===s.key&&t<=s.offset&&(e=e.moveFocusTo(n.key,s.offset-t)),e=e.updatePoints((function(e){return e.setPath(null)}))}))}},{key:"mapRanges",value:function(e,t){var n=this,r=n,o=r.document,i=r.selection,a=r.annotations,s=i.isSet?e(i):i;s||(s=i.unset()),s===i||t||(s=o.createSelection(s)),n=n.set("selection",s);var u=a.map((function(t){var n=t.isSet?e(t):t;return n&&n!==t&&(n=o.createAnnotation(n)),n}));return u=u.filter((function(e){return!!e})),n=n.set("annotations",u)}},{key:"mapPoints",value:function(e,t){return this.mapRanges((function(t){return t.updatePoints(e)}),t)}},{key:"toJSON",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={object:this.object,document:this.document.toJSON(e)};return e.preserveData&&(t.data=this.data.toJSON(e)),e.preserveAnnotations&&(t.annotations=this.annotations.map((function(t){return t.toJSON(e)})).toObject()),e.preserveSelection&&(t.selection=this.selection.toJSON(e)),t}},{key:"change",value:function(){Object(s.default)(!1,"As of Slate 0.42.0, value object are no longer schema-aware, and the `value.change()` method is no longer available. Use the `editor.change()` method on the new `Editor` controller instead.")}},{key:"startBlock",get:function(){return this.selection.start.key&&this.document.getClosestBlock(this.selection.start.key)}},{key:"endBlock",get:function(){return this.selection.end.key&&this.document.getClosestBlock(this.selection.end.key)}},{key:"anchorBlock",get:function(){return this.selection.anchor.key&&this.document.getClosestBlock(this.selection.anchor.key)}},{key:"focusBlock",get:function(){return this.selection.focus.key&&this.document.getClosestBlock(this.selection.focus.key)}},{key:"startInline",get:function(){return this.selection.start.key&&this.document.getClosestInline(this.selection.start.key)}},{key:"endInline",get:function(){return this.selection.end.key&&this.document.getClosestInline(this.selection.end.key)}},{key:"anchorInline",get:function(){return this.selection.anchor.key&&this.document.getClosestInline(this.selection.anchor.key)}},{key:"focusInline",get:function(){return this.selection.focus.key&&this.document.getClosestInline(this.selection.focus.key)}},{key:"startText",get:function(){return this.selection.start.key&&this.document.getDescendant(this.selection.start.key)}},{key:"endText",get:function(){return this.selection.end.key&&this.document.getDescendant(this.selection.end.key)}},{key:"anchorText",get:function(){return this.selection.anchor.key&&this.document.getDescendant(this.selection.anchor.key)}},{key:"focusText",get:function(){return this.selection.focus.key&&this.document.getDescendant(this.selection.focus.key)}},{key:"nextBlock",get:function(){return this.selection.end.key&&this.document.getNextBlock(this.selection.end.key)}},{key:"previousBlock",get:function(){return this.selection.start.key&&this.document.getPreviousBlock(this.selection.start.key)}},{key:"nextInline",get:function(){return this.selection.end.key&&this.document.getNextInline(this.selection.end.key)}},{key:"previousInline",get:function(){return this.selection.start.key&&this.document.getPreviousInline(this.selection.start.key)}},{key:"nextText",get:function(){return this.selection.end.key&&this.document.getNextText(this.selection.end.key)}},{key:"previousText",get:function(){return this.selection.start.key&&this.document.getPreviousText(this.selection.start.key)}},{key:"marks",get:function(){return this.selection.isUnset?new r.Set:this.selection.marks||this.document.getMarksAtRange(this.selection)}},{key:"activeMarks",get:function(){return this.selection.isUnset?new r.Set:this.selection.marks||this.document.getActiveMarksAtRange(this.selection)}},{key:"blocks",get:function(){return this.selection.isUnset?new r.List:this.document.getLeafBlocksAtRange(this.selection)}},{key:"fragment",get:function(){return this.selection.isUnset?re.create():this.document.getFragmentAtRange(this.selection)}},{key:"inlines",get:function(){return this.selection.isUnset?new r.List:this.document.getLeafInlinesAtRange(this.selection)}},{key:"texts",get:function(){return this.selection.isUnset?new r.List:this.document.getTextsAtRange(this.selection)}},{key:"history",get:function(){Object(s.default)(!1,"As of Slate 0.42.0, the `value.history` model no longer exists, and the history is stored in `value.data` instead using plugins.")}}],[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.isValue(e))return e;if(i()(e))return t.fromJSON(e,n);throw new Error("`Value.create` only accepts objects or values, but you passed it: "+e)}},{key:"createProperties",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.isValue(e))return{annotations:e.annotations,data:e.data};if(i()(e)){var n={};return"annotations"in e&&(n.annotations=te.createMap(e.annotations)),"data"in e&&(n.data=V.create(e.data)),n}throw new Error("`Value.createProperties` only accepts objects or values, but you passed it: "+e)}},{key:"fromJSON",value:function(e){var n=e.data,r=void 0===n?{}:n,o=e.annotations,i=void 0===o?{}:o,a=e.document,s=void 0===a?{}:a,u=e.selection,c=void 0===u?{}:u;if(r=V.fromJSON(r),c=(s=re.fromJSON(s)).createSelection(c),i=te.createMap(i),c.isUnset){var l=s.getFirstText();l&&(c=c.moveToStartOfNode(l)),c=s.createSelection(c)}return new t({annotations:i,data:r,document:s,selection:c})}}]),t}(Object(r.Record)(fe)),pe=c()("slate:operation:apply");function he(e,t){var n=(t=ke.create(t)).type;switch(pe(n,t),window.ENABLE_SLATE_LOGGING&&console.log("    apply_operation: "+n+" "+(JSON.stringify(t.toJSON().properties)||"").substring(0,100)),n){case"add_annotation":var r=t.annotation;return e.addAnnotation(r);case"add_mark":var o=t,i=o.path,a=o.mark;return e.addMark(i,a);case"insert_node":var s=t,u=s.path,c=s.node;return e.insertNode(u,c);case"insert_text":var l=t,f=l.path,d=l.offset,p=l.text,h=l.marks;return e.insertText(f,d,p,h);case"merge_node":var v=t.path;return e.mergeNode(v);case"move_node":var y=t,g=y.path,m=y.newPath;return e.moveNode(g,m);case"remove_annotation":var k=t.annotation;return e.removeAnnotation(k);case"remove_mark":var x=t,_=x.path,b=x.mark;return e.removeMark(_,b);case"remove_node":var w=t.path;return e.removeNode(w);case"remove_text":var S=t,A=S.path,E=S.offset,O=S.text;return e.removeText(A,E,O);case"set_annotation":var C=t,T=C.properties,D=C.newProperties;return e.setAnnotation(T,D);case"set_mark":var B=t,N=B.path,F=B.properties,P=B.newProperties;return e.setMark(N,F,P);case"set_node":var I=t,j=I.path,M=I.newProperties;return e.setNode(j,M);case"set_selection":var R=t.newProperties;return e.setSelection(R);case"set_value":var L=t.newProperties;return e.setProperties(L);case"split_node":var K=t,z=K.path,G=K.position,V=K.properties;return e.splitNode(z,G,V);default:throw new Error('Unknown operation type: "'+n+'".')}}var ve=c()("slate:operation:invert");function ye(e){var t=(e=ke.create(e)).type;switch(ve(t,e),t){case"move_node":var n=e,r=n.newPath,o=n.path;if(K.isEqual(r,o))return e;var i=K.transform(o,e).first(),a=K.transform(K.increment(o),e).first();return e.set("path",i).set("newPath",a);case"merge_node":var s=e.path,u=K.decrement(s);return e.set("type","split_node").set("path",u);case"split_node":var c=e.path,l=K.increment(c);return e.set("type","merge_node").set("path",l);case"set_annotation":case"set_node":case"set_value":case"set_selection":case"set_mark":var f=e,d=f.properties,p=f.newProperties;return e.set("properties",p).set("newProperties",d);case"insert_node":case"insert_text":return e.set("type",t.replace("insert_","remove_"));case"remove_node":case"remove_text":return e.set("type",t.replace("remove_","insert_"));case"add_annotation":case"add_mark":return e.set("type",t.replace("add_","remove_"));case"remove_annotation":case"remove_mark":return e.set("type",t.replace("remove_","add_"));default:throw new Error('Unknown operation type: "'+t+'".')}}var ge={add_mark:["path","mark","data"],add_annotation:["annotation","data"],insert_node:["path","node","data"],insert_text:["path","offset","text","data"],merge_node:["path","position","properties","target","data"],move_node:["path","newPath","data"],remove_annotation:["annotation","data"],remove_mark:["path","mark","data"],remove_node:["path","node","data"],remove_text:["path","offset","text","data"],set_annotation:["properties","newProperties","data"],set_mark:["path","properties","newProperties","data"],set_node:["path","properties","newProperties","data"],set_selection:["properties","newProperties","data"],set_value:["properties","newProperties","data"],split_node:["path","position","properties","target","data"]},me={annotation:void 0,data:void 0,length:void 0,mark:void 0,marks:void 0,newPath:void 0,newProperties:void 0,node:void 0,offset:void 0,path:void 0,position:void 0,properties:void 0,target:void 0,text:void 0,type:void 0},ke=function(e){function t(){return b(this,t),C(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return E(t,e),w(t,[{key:"apply",value:function(e){return he(e,this)}},{key:"invert",value:function(){return ye(this)}},{key:"toJSON",value:function(){var e=this.object,t=this.type,n={object:e,type:t},r=ge[t],o=!0,i=!1,a=void 0;try{for(var s,u=r[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value,l=this[c];if("annotation"!==c&&"mark"!==c&&"marks"!==c&&"node"!==c&&"path"!==c&&"newPath"!==c||(l=l.toJSON()),"properties"===c&&"merge_node"===t){var f={};"data"in l&&(f.data=l.data.toJS()),"type"in l&&(f.type=l.type),l=f}if(("properties"===c||"newProperties"===c)&&"set_annotation"===t){var d={};"anchor"in l&&(d.anchor=l.anchor.toJS()),"focus"in l&&(d.focus=l.focus.toJS()),"key"in l&&(d.key=l.key),"data"in l&&(d.data=l.data.toJS()),"type"in l&&(d.type=l.type),l=d}if(("properties"===c||"newProperties"===c)&&"set_mark"===t){var p={};"data"in l&&(p.data=l.data.toJS()),"type"in l&&(p.type=l.type),l=p}if(("properties"===c||"newProperties"===c)&&"set_node"===t){var h={};"data"in l&&(h.data=l.data.toJS()),"type"in l&&(h.type=l.type),l=h}if(("properties"===c||"newProperties"===c)&&"set_selection"===t){var v={};"anchor"in l&&(v.anchor=l.anchor.toJSON()),"focus"in l&&(v.focus=l.focus.toJSON()),"isFocused"in l&&(v.isFocused=l.isFocused),"marks"in l&&(v.marks=l.marks&&l.marks.toJSON()),l=v}if(("properties"===c||"newProperties"===c)&&"set_value"===t){var y={};"data"in l&&(y.data=l.data.toJS()),l=y}if("properties"===c&&"split_node"===t){var g={};"data"in l&&(g.data=l.data.toJS()),"type"in l&&(g.type=l.type),l=g}"data"===c&&(l=l.toJSON()),n[c]=l}}catch(e){i=!0,a=e}finally{try{!o&&u.return&&u.return()}finally{if(i)throw a}}return n}}],[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.isOperation(e))return e;if(i()(e))return t.fromJSON(e);throw new Error("`Operation.create` only accepts objects or operations, but you passed it: "+e)}},{key:"createList",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.List.isList(e)||Array.isArray(e)){var n=new r.List(e.map(t.create));return n}throw new Error("`Operation.createList` only accepts arrays or lists, but you passed it: "+e)}},{key:"fromJSON",value:function(e){if(t.isOperation(e))return e;var n=e.type,o=ge[n],i={type:n};if(!o)throw new Error('`Operation.fromJSON` was passed an unrecognized operation type: "'+n+'"');var a=!0,s=!1,u=void 0;try{for(var c,l=o[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value,d=e[f];if("data"===f&&void 0===d&&(d={}),void 0===d)throw new Error('`Operation.fromJSON` was passed a "'+n+'" operation without the required "'+f+'" attribute.');"annotation"===f&&(d=te.create(d)),"path"!==f&&"newPath"!==f||(d=K.create(d)),"mark"===f&&(d=q.create(d)),"node"===f&&(d=ue.create(d)),"properties"!==f&&"newProperties"!==f||"set_annotation"!==n||(d=te.createProperties(d)),"properties"!==f&&"newProperties"!==f||"set_mark"!==n||(d=q.createProperties(d)),"properties"!==f&&"newProperties"!==f||"set_node"!==n&&"merge_node"!==n&&"split_node"!==n||(d=ue.createProperties(d)),"properties"!==f&&"newProperties"!==f||"set_selection"!==n||(d=Y.createProperties(d)),"properties"!==f&&"newProperties"!==f||"set_value"!==n||(d=de.createProperties(d)),"data"===f&&(d=Object(r.Map)(d)),i[f]=d}}catch(e){s=!0,u=e}finally{try{!a&&l.return&&l.return()}finally{if(s)throw u}}return new t(i)}},{key:"isOperationList",value:function(e){return r.List.isList(e)&&e.every((function(e){return t.isOperation(e)}))}}]),t}(Object(r.Record)(me)),xe={operations:void 0,value:void 0},_e=function(e){function t(){return b(this,t),C(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return E(t,e),w(t,[{key:"toJSON",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={object:this.object,value:this.value.toJSON(e),operations:this.operations.toArray().map((function(t){return t.toJSON(e)}))};return t}}],[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.isChange(e))return e;if(i()(e))return t.fromJSON(e);throw new Error("`Change.create` only accepts objects or changes, but you passed it: "+e)}},{key:"fromJSON",value:function(e){var n=e.value,r=e.operations,o=void 0===r?[]:r;return new t({value:de.create(n),operations:ke.createList(o)})}}]),t}(Object(r.Record)(xe));function be(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};function t(t,n,r){var o=t.type,i=t.args,a=e[o];if(!a)return r();n.command.apply(n,[a].concat(D(i)))}function n(t,n){for(var r in e)t.registerCommand(r);return n()}return{onCommand:t,onConstruct:n}}var we=/\s/,Se=/['\u2018\u2019]/,Ae=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/;function Ee(e){return 55296<=e&&e<=57343}function Oe(e,t,n){if(55356===e){var r=t.charCodeAt(n+1);return r<=57343&&r>=57339}return!1}function Ce(e){return e<=65039&&e>=65024}function Te(e,t){if(we.test(e))return!1;if(Se.test(e)){var n=t.charAt(0),r=De(n);if(Te(n=t.slice(0,r),t.slice(r)))return!0}return!Ae.test(e)}function De(e){return Ee(e.charCodeAt(0))?2:1}function Be(e,t,n){var r,o=0;if(""===e)return 1;for(var i=0;i<t;i++)for(var a=null,s=e.charCodeAt(o);s;)if(Ee(s)){var u=Oe(s,e,o);if(n){if(!u&&a&&"ZWJ"!==a||u&&a&&"SURR"!==a)break}else if("SURR"===a||"BMP"===a)break;o+=2,a=u?"MOD":"SURR",s=e.charCodeAt(o)}else if(8205!==s)if(10084!==(r=s)&&9794!==r&&9792!==r&&9760!==r&&9877!==r&&9992!==r&&9711!==r){if(!Ce(s)){if(n){if(Oe(e.charCodeAt(o+1),e,o+1)){o+=3,a="MOD",s=e.charCodeAt(o);continue}}else if("MOD"===a){o+=1;break}null===a&&(o+=1);break}if(!n&&a&&"ZWJ"!==a)break;o+=1,a="VAR",s=e.charCodeAt(o)}else{if(n&&"VAR"===a||a&&"ZWJ"!==a&&"VAR"!==a)break;o+=1,a="BMP",s=e.charCodeAt(o)}else o+=1,a="ZWJ",s=e.charCodeAt(o);return o}function Ne(e){for(var t=0,n=0,r=!1,o=void 0;o=e.charAt(n);){var i=De(o);if(Te(o=e.slice(n,n+i),e.slice(n+i)))r=!0,t+=i;else{if(r)break;t+=i}n+=i}return t}var Fe={getCharLength:De,getCharOffset:Be,getCharOffsetBackward:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return e=e.slice(0,t),Be(e=Object(l.reverse)(e),n)},getCharOffsetForward:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Be(e=e.slice(t),n,!0)},getWordOffset:Ne,getWordOffsetBackward:function(e,t){return e=e.slice(0,t),Ne(e=Object(l.reverse)(e))},getWordOffsetForward:function(e,t){return Ne(e=e.slice(t))},isSurrogate:Ee,isWord:Te};function Pe(e,t){t.isExpanded&&e.deleteAtRange(t);var n=e.value.document,r=t,o=r.start,i=r.end;return t=n.hasDescendant(o.path)?t.moveToStart():t.moveTo(i.path,0).normalize(n)}var Ie={addMarkAtRange:function(e,t,n){if(!t.isCollapsed){var r=e.value.document,o=t.start,i=t.end,a=r.getTextsAtRange(t);e.withoutNormalizing((function(){a.forEach((function(t){var r=t.key,a=0,s=t.text.length;r===o.key&&(a=o.offset),r===i.key&&(s=i.offset),r===o.key&&r===i.key&&(s=i.offset-o.offset),e.addMarkByKey(r,a,s,n)}))}))}},addMarksAtRange:function(e,t,n){n.forEach((function(n){return e.addMarkAtRange(t,n)}))},deleteAtRange:function(e,t){e.snapshotSelection();var n=e.value,r=t.start,o=t.end,i=r.key,a=r.offset,s=o.key,u=o.offset,c=n.document,l=c.hasVoidParent(i,e),f=c.hasVoidParent(s,e),d=c.getClosestBlock(i),p=c.getClosestBlock(s);if(null!=i||null!=s){var h=0===a&&0===u&&!1===l&&i===d.getFirstText().key&&s===p.getFirstText().key&&i!==s;if(h&&f){var v=c.getPreviousText(s);s=v.key,u=v.text.length,f=c.hasVoidParent(s,e)}e.withoutNormalizing((function(){for(;l;){var t=c.getClosestVoid(i,e),n=c.getNextText(i);if(e.removeNodeByKey(t.key),i===s)return;if(!n)return;c=e.value.document,i=n.key,a=0,l=c.hasVoidParent(i,e)}for(;f;){var r=c.getClosestVoid(s,e),o=c.getPreviousText(s);e.removeNodeByKey(r.key),c=e.value.document,s=o.key,u=o.text.length,f=c.hasVoidParent(s,e)}if(i===s&&h)e.removeNodeByKey(d.key);else if(i!==s){d=c.getClosestBlock(i),p=c.getClosestBlock(s);var v=c.getNode(i),y=c.getNode(s),g=v.text.length-a,m=u,k=c.getCommonAncestor(i,s),x=k.getFurthestChild(i),_=k.getFurthestChild(s),b=c.getParent(d.key),w=b.nodes.indexOf(d),S=b.nodes.indexOf(p),A=void 0;for(A=v;A.key!==x.key;){var E=c.getParent(A.key),O=E.nodes.indexOf(A);E.nodes.slice(O+1).reverse().forEach((function(t){e.removeNodeByKey(t.key)})),A=E}var C=k.nodes.indexOf(x),D=k.nodes.indexOf(_);for(k.nodes.slice(C+1,D).reverse().forEach((function(t){e.removeNodeByKey(t.key)})),A=y;A.key!==_.key;){var B=c.getParent(A.key),N=B.nodes.indexOf(A);B.nodes.slice(0,N).reverse().forEach((function(t){e.removeNodeByKey(t.key)})),A=B}if(0!==g&&e.removeTextByKey(i,a,g),0!==m&&e.removeTextByKey(s,0,u),d.key!==p.key){c=e.value.document;var F=void 0,P=!0,I=!1,j=void 0;try{for(var M,R=c.ancestors(p.key)[Symbol.iterator]();!(P=(M=R.next()).done);P=!0){var L=M.value,K=T(L,1)[0];if(K.nodes.size>1)break;F=K}}catch(e){I=!0,j=e}finally{try{!P&&R.return&&R.return()}finally{if(I)throw j}}S!==w+1&&e.moveNodeByKey(p.key,b.key,w+1),h?e.removeNodeByKey(d.key):e.mergeNodeByKey(p.key),F&&e.removeNodeByKey(F.key)}}else{var z=a,G=u-a;e.removeTextByKey(i,z,G)}}))}},deleteBackwardAtRange:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(0!==n){var r=e.value,o=r.document,i=t,a=i.start,s=i.focus;if(t.isExpanded)e.deleteAtRange(t);else{var u=o.getClosestVoid(a.path,e);if(u)e.removeNodeByKey(u.key);else if(!a.isAtStartOfNode(o)){var c=o.getClosestBlock(a.path);if(1!==o.nodes.size&&c&&""===c.text&&1===c.nodes.size)e.removeNodeByKey(c.key);else{var l=o.getDescendant(a.path);if(a.isAtStartOfNode(l)){var f=o.getPreviousText(l.key),d=o.getClosestInline(l.key);d&&""===f.text&&(f=o.getPreviousText(f.key));var p=o.getClosestBlock(f.key),h=o.getClosestVoid(f.key,e);if(h)return void e.removeNodeByKey(h.key);if(1===n&&p!==c)return t=t.moveAnchorTo(f.key,f.text.length),void e.deleteAtRange(t)}if(n<=s.offset)return t=t.moveFocusBackward(n),void e.deleteAtRange(t);for(var v=l,y=0,g=s.offset;n>g;){if(null==(v=o.getPreviousText(v.key)))return;var m=g+v.text.length;if(n<=m){y=m-n;break}g=m}t=t.moveAnchorTo(v.key,y),e.deleteAtRange(t)}}}}},deleteCharBackwardAtRange:function(e,t){if(t.isExpanded)e.deleteAtRange(t);else{var n=e.value.document,r=t.start,o=n.getClosestBlock(r.path),i=o.getOffset(r.key)+r.offset,a=o.text,s=Fe.getCharOffsetBackward(a,i);e.deleteBackwardAtRange(t,s)}},deleteCharForwardAtRange:function(e,t){if(t.isExpanded)e.deleteAtRange(t);else{var n=e.value.document,r=t.start,o=n.getClosestBlock(r.path);if(null==o){var i=n.getNode(r.path);(null!=i&&"block"===i.object||"document"===i.object)&&(o=i)}var a=o.getOffset(r.key)+r.offset,s=o.text,u=Fe.getCharOffsetForward(s,a);e.deleteForwardAtRange(t,u)}},deleteForwardAtRange:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(0!==n){var r=e.value,o=r.document,i=t,a=i.start,s=i.focus;if(t.isExpanded)e.deleteAtRange(t);else{var u=o.getClosestVoid(a.path,e);if(u)e.removeNodeByKey(u.key);else{var c=o.getClosestBlock(a.path);if(c&&!e.isVoid(c)&&""===c.text&&1!==o.nodes.size){var l=o.getNextBlock(c.key);return e.removeNodeByKey(c.key),void(l&&l.key&&e.moveToStartOfNode(l))}if(!a.isAtEndOfNode(o)){var f=o.getDescendant(a.path);if(a.isAtEndOfNode(f)){var d=o.getNextText(f.key),p=o.getClosestBlock(d.key),h=o.getClosestVoid(d.key,e);if(h)return void e.removeNodeByKey(h.key);if(1===n&&p!==c)return t=t.moveFocusTo(d.key,0),void e.deleteAtRange(t)}if(n<=f.text.length-s.offset)return t=t.moveFocusForward(n),void e.deleteAtRange(t);for(var v=f,y=s.offset,g=f.text.length-s.offset;n>g;){if(null==(v=o.getNextText(v.key)))return;var m=g+v.text.length;if(n<=m){y=n-g;break}g=m}t=t.moveFocusTo(v.key,y),e.deleteAtRange(t)}}}}},deleteLineBackwardAtRange:function(e,t){if(t.isExpanded)e.deleteAtRange(t);else{var n=e.value.document,r=t.start,o=n.getClosestBlock(r.path).getOffset(r.key)+r.offset;e.deleteBackwardAtRange(t,o)}},deleteLineForwardAtRange:function(e,t){if(t.isExpanded)e.deleteAtRange(t);else{var n=e.value.document,r=t.start,o=n.getClosestBlock(r.path),i=o.getOffset(r.key)+r.offset;e.deleteForwardAtRange(t,o.text.length-i)}},deleteWordBackwardAtRange:function(e,t){if(t.isExpanded)e.deleteAtRange(t);else{var n=e.value.document,r=t.start,o=n.getClosestBlock(r.path),i=o.getOffset(r.key),a=i+r.offset,s=o.text,u=s.substring(i,i+r.offset);if(i>0&&0===u.trim().length)e.deleteBackwardAtRange(t,u.length+1);else{var c=0===a?1:Fe.getWordOffsetBackward(s,a);e.deleteBackwardAtRange(t,c)}}},deleteWordForwardAtRange:function(e,t){if(t.isExpanded)e.deleteAtRange(t);else{var n=e.value.document,r=t.start,o=n.getClosestBlock(r.path),i=o.getOffset(r.key),a=o.getNode(r.key),s=i+r.offset,u=o.text,c=a.text.substring(r.offset);if(0===c.trim().length){var l=o.nodes.indexOf(a);if(l+1<o.nodes.size){var f=o.nodes.get(l+1);if(null!=f&&"inline"===f.object)return void e.deleteForwardAtRange(t,c.length+1)}}var d=Fe.getWordOffsetForward(u,s),p=0===d?1:d;e.deleteForwardAtRange(t,p)}},insertBlockAtRange:function(e,t,n){t=Pe(e,t),n=le.create(n);var r=e.value.document,o=t.start,i=o.key,a=o.offset,s=r.getClosestBlock(i),u=r.getClosestInline(i),c=r.getParent(s.key),l=c.nodes.indexOf(s),f=je(e,t);if("before"===f)e.insertNodeByKey(c.key,l,n);else if("behind"===f)e.insertNodeByKey(c.key,l+1,n);else{if(u&&e.isVoid(u)){var d=o.isAtEndOfNode(u),p=d?r.getNextText(i):r.getPreviousText(i),h=d?t.moveToStartOfNode(p):t.moveToEndOfNode(p);i=h.start.key,a=h.start.offset}e.withoutNormalizing((function(){e.splitDescendantsByKey(s.key,i,a),e.insertNodeByKey(c.key,l+1,n)}))}}},je=function(e,t){var n=e.value.document,r=t.start,o=r.key,i=n.getClosestBlock(o),a=n.getClosestInline(o);return e.isVoid(i)?r.isAtEndOfNode(i)?"behind":"before":a||""!==i.text?r.isAtStartOfNode(i)?"before":r.isAtEndOfNode(i)?"behind":"split":"behind"};Ie.insertFragmentAtRange=function(e,t,n){e.withoutNormalizing((function(){if(t=Pe(e,t),n.nodes.size){n=n.mapDescendants((function(e){return e.regenerateKey()}));var o=t.start,i=e.value.document,a=i.getDescendant(o.path),s=i.getClosestBlock(a.key),u=s.getFurthestChild(a.key),c=o.isAtStartOfNode(s),l=i.getParent(s.key),f=l.nodes.indexOf(s),d=n.getBlocks(),p=n.nodes.first(),h=n.nodes.last(),v=d.first(),y=d.last(),g=Me(n,i,s.key);if(v===y&&e.isVoid(v))e.insertBlockAtRange(t,v);else if(g!==n||!p.hasBlockChildren()&&!h.hasBlockChildren()){if(v!==y){var m=g.getFurthest(v.key,(function(e){return 1===e.nodes.size}))||v,k=l.nodes.indexOf(s);g.removeNode(m.key).nodes.forEach((function(t,n){var r=k+n+1;e.insertNodeByKey(l.key,r,t)}))}if(0!==o.offset&&e.splitDescendantsByKey(u.key,o.key,o.offset),a=(i=e.value.document).getDescendant(o.key),u=(s=i.getClosestBlock(o.key)).getFurthestChild(a.key),v!==y){var x=c?u:s.getNextSibling(u.key),_=x?s.nodes.skipUntil((function(e){return e.key===x.key})):Object(r.List)(),b=y.nodes.size;_.forEach((function(t,n){var r=b+n;e.moveNodeByKey(t.key,y.key,r)}))}if(e.isVoid(s)||""!==s.text||s.findDescendant((function(t){return e.isVoid(t)}))){var w=s.getFurthestChild(a.key),S=s.nodes.indexOf(w);v.nodes.forEach((function(t,n){var r=0===o.offset?0:1,i=S+n+r;e.insertNodeByKey(s.key,i,t)}))}else e.removeNodeByKey(s.key),e.insertNodeByKey(l.key,f,v)}else{("before"===je(e,t)?n.nodes:n.nodes.reverse()).forEach((function(n){e.insertBlockAtRange(t,n)}))}}}))};var Me=function(e,t,n){var r=function(e,t){return t.size>=e.size&&e.every((function(e,n){return t.get(n).type===e.type}))},o=function(e,t){return e.getAncestors(t).slice(1).push(e.getNode(t)).reverse()},i=function(e){for(var t=e;1===t.nodes.size&&"block"===t.nodes.first().object;)t=t.nodes.first();return t===e?null:t}(e);return i?function(t,n){var o=t.size-n.size;if(o<0)return e;for(var i=0;i<n.size;i++)for(var a=0;a<=o;a++)if(r(n.slice(i),t.slice(a)))return n.get(i);return e}(o(t,n),o(e,i.key)):e};Ie.insertInlineAtRange=function(e,t,n){n=ie.create(n),e.withoutNormalizing((function(){t=Pe(e,t);var r=e.value.document,o=t.start,i=r.getParent(o.path),a=r.assertDescendant(o.path),s=i.nodes.indexOf(a);e.isVoid(i)||(e.splitNodeByPath(o.path,o.offset),e.insertNodeByKey(i.key,s+1,n))}))},Ie.insertTextAtRange=function(e,t,n,r){e.withoutNormalizing((function(){t=Pe(e,t);var o=e.value.document,i=t.start,a=i.offset,s=o.getParent(i.path);e.isVoid(s)||e.insertTextByPath(i.path,a,n,r)}))},Ie.removeMarkAtRange=function(e,t,n){if(!t.isCollapsed){var r=e.value.document.getTextsAtRange(t),o=t.start,i=t.end;e.withoutNormalizing((function(){r.forEach((function(t){var r=t.key,a=0,s=t.text.length;r===o.key&&(a=o.offset),r===i.key&&(s=i.offset),r===o.key&&r===i.key&&(s=i.offset-o.offset),e.removeMarkByKey(r,a,s,n)}))}))}},Ie.setBlocksAtRange=function(e,t,n){var r=e.value.document,o=r.getLeafBlocksAtRange(t),i=t.start,a=t.end,s=t.isCollapsed,u=r.hasVoidParent(i.path,e),c=r.getClosestBlock(i.path),l=r.getClosestBlock(a.key),f=!1===s&&0===i.offset&&0===a.offset&&!1===u&&i.key===c.getFirstText().key&&a.key===l.getFirstText().key?o.slice(0,-1):o;e.withoutNormalizing((function(){f.forEach((function(t){e.setNodeByKey(t.key,n)}))}))},Ie.setInlinesAtRange=function(e,t,n){var r=e.value.document.getLeafInlinesAtRange(t);e.withoutNormalizing((function(){r.forEach((function(t){e.setNodeByKey(t.key,n)}))}))},Ie.splitBlockAtRange=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=t=Pe(e,t),o=r.start,i=r.end,a=e.value,s=a,u=s.document,c=u.assertDescendant(o.path),l=u.getClosestBlock(c.key),f=0;l&&"block"===l.object&&f<n;)c=l,l=u.getClosestBlock(l.key),f++;e.withoutNormalizing((function(){if(e.splitDescendantsByKey(c.key,o.path,o.offset),a=e.value,u=a.document,t.isExpanded){t.isBackward&&(t=t.flip());var n=u.getNextBlock(c.key);t=(t=t.moveAnchorToStartOfNode(n)).setFocus(t.focus.setPath(null)),o.path.equals(i.path)&&(t=t.moveFocusTo(t.anchor.key,i.offset-o.offset)),t=u.resolveRange(t),e.deleteAtRange(t)}}))},Ie.splitInlineAtRange=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,r=t=Pe(e,t),o=r.start,i=e.value,a=i.document,s=a.assertDescendant(o.path),u=a.getClosestInline(s.key),c=0;u&&"inline"===u.object&&c<n;)s=u,u=a.getClosestInline(u.key),c++;e.splitDescendantsByKey(s.key,o.path,o.offset)},Ie.toggleMarkAtRange=function(e,t,n){t.isCollapsed||(n=q.create(n),e.value.document.getActiveMarksAtRange(t).some((function(e){return e.equals(n)}))?e.removeMarkAtRange(t,n):e.addMarkAtRange(t,n))},Ie.unwrapBlockAtRange=function(e,t,n){n=ue.createProperties(n);var r=e.value.document,o=r.getLeafBlocksAtRange(t),i=o.map((function(e){return r.getClosest(e.key,(function(e){return"block"===e.object&&((null==n.type||e.type===n.type)&&!(null!=n.data&&!e.data.isSuperset(n.data)))}))})).filter((function(e){return e})).toOrderedSet().toList();e.withoutNormalizing((function(){i.forEach((function(t){var n=t.nodes.first(),i=t.nodes.last(),a=e.value.document.getParent(t.key),s=a.nodes.indexOf(t),u=t.nodes.filter((function(e){return o.some((function(t){return e===t||e.hasDescendant(t.key)}))})),c=u.first(),l=u.last();if(n===c&&i===l)t.nodes.forEach((function(t,n){e.moveNodeByKey(t.key,a.key,s+n)})),e.removeNodeByKey(t.key);else if(i===l)t.nodes.skipUntil((function(e){return e===c})).forEach((function(t,n){e.moveNodeByKey(t.key,a.key,s+1+n)}));else if(n===c)t.nodes.takeUntil((function(e){return e===l})).push(l).forEach((function(t,n){e.moveNodeByKey(t.key,a.key,s+n)}));else{var f=c.getFirstText();e.splitDescendantsByKey(t.key,f.key,0),r=e.value.document,u.forEach((function(t,n){if(0===n){var o=t;t=r.getNextBlock(t.key),e.removeNodeByKey(o.key)}e.moveNodeByKey(t.key,a.key,s+1+n)}))}}))}))},Ie.unwrapInlineAtRange=function(e,t,n){n=ue.createProperties(n);var r=e.value.document,o=r.getTextsAtRange(t).map((function(e){return r.getClosest(e.key,(function(e){return"inline"===e.object&&((null==n.type||e.type===n.type)&&!(null!=n.data&&!e.data.isSuperset(n.data)))}))})).filter((function(e){return e})).toOrderedSet().toList();e.withoutNormalizing((function(){o.forEach((function(t){var n=e.value.document.getParent(t.key),r=n.nodes.indexOf(t);t.nodes.forEach((function(t,o){e.moveNodeByKey(t.key,n.key,r+o)})),e.removeNodeByKey(t.key)}))}))},Ie.wrapBlockAtRange=function(e,t,n){n=(n=le.create(n)).set("nodes",n.nodes.clear());var r=e.value.document,o=r.getLeafBlocksAtRange(t),i=o.first(),a=o.last(),s=void 0,u=void 0,c=void 0;if(1===o.length?(s=r.getParent(i.key),u=o):s=r.getClosest(i.key,(function(e){return!!r.getClosest(a.key,(function(t){return e===t}))})),null==s&&(s=r),null==u){var l=s.nodes.reduce((function(e,t,n){return(t===i||t.hasDescendant(i.key))&&(e[0]=n),(t===a||t.hasDescendant(a.key))&&(e[1]=n),e}),[]);c=l[0],u=s.nodes.slice(l[0],l[1]+1)}null==c&&(c=s.nodes.indexOf(u.first())),e.withoutNormalizing((function(){e.insertNodeByKey(s.key,c,n),u.forEach((function(t,r){e.moveNodeByKey(t.key,n.key,r)}))}))},Ie.wrapInlineAtRange=function(e,t,n){var r=e.value.document,o=t.start,i=t.end;if(t.isCollapsed){var a=r.getClosestInline(o.path);if(!a)return;if(!e.isVoid(a))return;return e.wrapInlineByKey(a.key,n)}n=(n=ie.create(n)).set("nodes",n.nodes.clear());var s=r.getLeafBlocksAtRange(t),u=r.getClosestBlock(o.path),c=r.getClosestBlock(i.path),l=r.getClosestInline(o.path),f=r.getClosestInline(i.path),d=u.getFurthestChild(o.key),p=c.getFurthestChild(i.key);e.withoutNormalizing((function(){l&&l===f||(e.splitDescendantsByKey(p.key,i.key,i.offset),e.splitDescendantsByKey(d.key,o.key,o.offset)),r=e.value.document,u=r.getDescendant(u.key),c=r.getDescendant(c.key),d=u.getFurthestChild(o.key),p=c.getFurthestChild(i.key);var a=u.nodes.indexOf(d),h=c.nodes.indexOf(p);if(l&&l===f){var v=u.getTextsAtRange(t).map((function(e){return o.key===e.key&&i.key===e.key?e.splitText(o.offset)[1].splitText(i.offset-o.offset)[0].regenerateKey():o.key===e.key?e.splitText(o.offset)[1].regenerateKey():i.key===e.key?e.splitText(i.offset)[0].regenerateKey():e.regenerateKey()}));n=n.set("nodes",v),e.insertInlineAtRange(t,n)}else if(u===c){r=e.value.document,u=r.getClosestBlock(o.key),d=u.getFurthestChild(o.key);var y=r.getNextSibling(d.key),g=u.nodes.indexOf(y),m=o.key===i.key?y:u.getFurthestChild(i.key),k=u.nodes.skipUntil((function(e){return e===y})).takeUntil((function(e){return e===m})).push(m),x=n.regenerateKey();e.insertNodeByKey(u.key,g,x),k.forEach((function(t,n){e.moveNodeByKey(t.key,x.key,n)}))}else{var _=u.nodes.slice(a+1),b=c.nodes.slice(0,h+1),w=n.regenerateKey(),S=n.regenerateKey();e.insertNodeByKey(u.key,a+1,w),e.insertNodeByKey(c.key,h,S),_.forEach((function(t,n){e.moveNodeByKey(t.key,w.key,n)})),b.forEach((function(t,n){e.moveNodeByKey(t.key,S.key,n)})),s.slice(1,-1).forEach((function(t){var r=n.regenerateKey();e.insertNodeByKey(t.key,0,r),t.nodes.forEach((function(t,n){e.moveNodeByKey(t.key,r.key,n)}))}))}}))},Ie.wrapTextAtRange=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n,o=t.start,i=t.end,a=t.moveToStart(),s=t.moveToEnd();o.path.equals(i.path)&&(s=s.moveForward(n.length)),e.withoutNormalizing((function(){e.insertTextAtRange(a,n),e.insertTextAtRange(s,r)}))};var Re={addMarkByPath:function(e,t,n,r,o){o=q.create(o),e.addMarksByPath(t,n,r,[o])},addMarksByPath:function(e,t,n,r,o){if((o=q.createSet(o)).size){var i=e.value.document.assertNode(t);e.withoutNormalizing((function(){n+r<i.text.length&&e.splitNodeByPath(t,n+r),n>0&&(e.splitNodeByPath(t,n),t=K.increment(t),n=0),o.forEach((function(n){e.applyOperation({type:"add_mark",path:t,mark:q.create(n)})}))}))}},replaceMarksByPath:function(e,t,n,r,o){var i=q.createSet(o),a=e.value.document.assertNode(t);a.marks.equals(i)||e.withoutNormalizing((function(){n+r<a.text.length&&e.splitNodeByPath(t,n+r),n>0&&(e.splitNodeByPath(t,n),t=K.increment(t),n=0);var o=i.subtract(a.marks);a.marks.subtract(i).forEach((function(n){e.applyOperation({type:"remove_mark",path:t,mark:q.create(n)})})),o.forEach((function(n){e.applyOperation({type:"add_mark",path:t,mark:q.create(n)})}))}))},insertFragmentByPath:function(e,t,n,r){r.nodes.forEach((function(r,o){e.insertNodeByPath(t,n+o,r)}))},insertNodeByPath:function(e,t,n,r){e.applyOperation({type:"insert_node",path:t.concat(n),node:r})},insertTextByPath:function(e,t,n,r,o){var i=e.value,a=i.annotations;i.document.assertNode(t),e.withoutNormalizing((function(){var i=!0,s=!1,u=void 0;try{for(var c,l=a.values()[Symbol.iterator]();!(i=(c=l.next()).done);i=!0){var f=c.value,d=f.start,p=f.end;e.isAtomic(f)&&(d.path.equals(t)&&d.offset<n&&(!p.path.equals(t)||p.offset>n)&&e.removeAnnotation(f))}}catch(e){s=!0,u=e}finally{try{!i&&l.return&&l.return()}finally{if(s)throw u}}e.applyOperation({type:"insert_text",path:t,offset:n,text:r}),o&&e.replaceMarksByPath(t,n,r.length,o)}))},mergeNodeByPath:function(e,t){var n=e.value.document,r=n.getDescendant(t),o=n.getPreviousSibling(t);if(!o)throw new Error('Unable to merge node with path "'+t+'", because it has no previous sibling.');var i="text"===o.object?o.text.length:o.nodes.size;e.applyOperation({type:"merge_node",path:t,position:i,properties:{type:r.type,data:r.data},target:null})},moveNodeByPath:function(e,t,n,r){if(K.isEqual(t,n))return e;var o=n.concat(r);if(K.isEqual(t,o))return e;e.applyOperation({type:"move_node",path:t,newPath:o})},removeMarkByPath:function(e,t,n,r,o){o=q.create(o),e.removeMarksByPath(t,n,r,[o])},removeMarksByPath:function(e,t,n,r,o){if((o=q.createSet(o)).size){var i=e.value.document.assertNode(t);o.intersect(i.marks).isEmpty()||e.withoutNormalizing((function(){n+r<i.text.length&&e.splitNodeByPath(t,n+r),n>0&&(e.splitNodeByPath(t,n),t=K.increment(t),n=0),o.forEach((function(o){e.applyOperation({type:"remove_mark",path:t,offset:n,length:r,mark:o})}))}))}},removeAllMarksByPath:function(e,t){var n=e.state.document.assertNode(t);e.withoutNormalizing((function(){if("text"!==n.object){var r=!0,o=!1,i=void 0;try{for(var a,s=n.texts()[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value,c=T(u,2),l=c[0],f=c[1],d=t.concat(f);e.removeMarksByPath(d,0,l.text.length,l.marks)}}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}}else e.removeMarksByPath(t,0,n.text.length,n.marks)}))},removeNodeByPath:function(e,t){var n=e.value.document.assertNode(t);e.applyOperation({type:"remove_node",path:t,node:n})},removeTextByPath:function(e,t,n,r){var o=e.value,i=o.document,a=o.annotations,s=i.assertNode(t).text.slice(n,n+r);e.withoutNormalizing((function(){var r=!0,o=!1,i=void 0;try{for(var u,c=a.values()[Symbol.iterator]();!(r=(u=c.next()).done);r=!0){var l=u.value,f=l.start,d=l.end;e.isAtomic(l)&&(f.path.equals(t)&&f.offset<n&&(!d.path.equals(t)||d.offset>n)&&e.removeAnnotation(l))}}catch(e){o=!0,i=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw i}}e.applyOperation({type:"remove_text",path:t,offset:n,text:s})}))},replaceNodeByPath:function(e,t,n){n=ue.create(n);var r=t.last(),o=K.lift(t);e.withoutNormalizing((function(){e.removeNodeByPath(t),e.insertNodeByPath(o,r,n)}))},replaceTextByPath:function(e,t,n,r,o,i){e.withoutNormalizing((function(){e.removeTextByPath(t,n,r),e.insertTextByPath(t,n,o,i)}))},setMarkByPath:function(e,t,n,r,o,i){o=q.create(o),i=q.createProperties(i);var a=e.value.document.assertNode(t);e.withoutNormalizing((function(){n+r<a.text.length&&e.splitNodeByPath(t,n+r),n>0&&(e.splitNodeByPath(t,n),t=K.increment(t),n=0),e.applyOperation({type:"set_mark",path:t,properties:o,newProperties:i})}))},setNodeByPath:function(e,t,n){var r=e.value.document.assertNode(t);n=ue.createProperties(n);var o=d()(r,Object.keys(n));e.applyOperation({type:"set_node",path:t,properties:o,newProperties:n})},setTextByPath:function(e,t,n,r){var o=e.value.document.assertNode(t).text.length;e.replaceTextByPath(t,0,o,n,r)},splitNodeByPath:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.target,i=void 0===o?null:o,a=e.value,s=a.document,u=s.getDescendant(t);e.applyOperation({type:"split_node",path:t,position:n,target:i,properties:{type:u.type,data:u.data}})},splitDescendantsByPath:function(e,t,n,r){if(t.equals(n))e.splitNodeByPath(n,r);else{var o=e.value.document,i=r,a=n;e.withoutNormalizing((function(){e.splitNodeByKey(n,r);var s=!0,u=!1,c=void 0;try{for(var l,f=o.ancestors(n)[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){var d=l.value,p=T(d,2)[1],h=i;if(i=a.last()+1,a=p,e.splitNodeByPath(p,i,{target:h}),p.equals(t))break}}catch(e){u=!0,c=e}finally{try{!s&&f.return&&f.return()}finally{if(u)throw c}}}))}},unwrapInlineByPath:function(e,t,n){var r=e.value,o=r.document,i=r.selection,a=o.assertNode(t),s=a.getFirstText(),u=a.getLastText(),c=i.moveToRangeOfNode(s,u);e.unwrapInlineAtRange(c,n)},unwrapBlockByPath:function(e,t,n){var r=e.value,o=r.document,i=r.selection,a=o.assertNode(t),s=a.getFirstText(),u=a.getLastText(),c=i.moveToRangeOfNode(s,u);e.unwrapBlockAtRange(c,n)},unwrapNodeByPath:function(e,t){var n=e.value.document;n.assertNode(t);var r=K.lift(t),o=n.assertNode(r),i=t.last(),a=r.last(),s=K.lift(r),u=0===i,c=i===o.nodes.size-1;e.withoutNormalizing((function(){if(1===o.nodes.size)e.moveNodeByPath(t,s,a+1),e.removeNodeByPath(r);else if(u)e.moveNodeByPath(t,s,a);else if(c)e.moveNodeByPath(t,s,a+1);else{var n=K.increment(t,1,r.size-1);n=n.set(n.size-1,0),e.splitNodeByPath(r,i),e.moveNodeByPath(n,s,a+1)}}))},unwrapChildrenByPath:function(e,t){t=K.create(t);var n=e.value.document.assertNode(t),r=K.lift(t),o=t.last(),i=n.nodes;e.withoutNormalizing((function(){i.reverse().forEach((function(n,a){var s=i.size-a-1,u=t.push(s);e.moveNodeByPath(u,r,o+1)})),e.removeNodeByPath(t)}))},wrapBlockByPath:function(e,t,n){n=(n=le.create(n)).set("nodes",n.nodes.clear());var r=K.lift(t),o=t.last(),i=K.increment(t);e.withoutNormalizing((function(){e.insertNodeByPath(r,o,n),e.moveNodeByPath(i,t,0)}))},wrapInlineByPath:function(e,t,n){n=(n=ie.create(n)).set("nodes",n.nodes.clear());var r=K.lift(t),o=t.last(),i=K.increment(t);e.withoutNormalizing((function(){e.insertNodeByPath(r,o,n),e.moveNodeByPath(i,t,0)}))},wrapNodeByPath:function(e,t,n){"block"===(n=ue.create(n)).object?e.wrapBlockByPath(t,n):"inline"===n.object&&e.wrapInlineByPath(t,n)}},Le=function(e){Re[e+"ByKey"]=function(t,n){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];var a=t.value,s=a.document,u=s.assertPath(n);t[e+"ByPath"].apply(t,[u].concat(o))}},Ke=!0,ze=!1,Ge=void 0;try{for(var Ve,Ue=["addMark","insertFragment","insertNode","insertText","mergeNode","removeAllMarks","removeMark","removeNode","removeText","replaceMarks","replaceNode","replaceText","setMark","setNode","setText","splitNode","unwrapBlock","unwrapChildren","unwrapInline","unwrapNode","wrapBlock","wrapInline","wrapNode"][Symbol.iterator]();!(Ke=(Ve=Ue.next()).done);Ke=!0){Le(Ve.value)}}catch(e){ze=!0,Ge=e}finally{try{!Ke&&Ue.return&&Ue.return()}finally{if(ze)throw Ge}}Re.moveNodeByKey=function(e,t,n){for(var r=arguments.length,o=Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];var a=e.value,s=a.document,u=s.assertPath(t),c=s.assertPath(n);e.moveNodeByPath.apply(e,[u,c].concat(o))},Re.splitDescendantsByKey=function(e,t,n){for(var r=arguments.length,o=Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];var a=e.value,s=a.document,u=s.assertPath(t),c=s.assertPath(n);e.splitDescendantsByPath.apply(e,[u,c].concat(o))};var qe={};qe.save=function(e,t){if(!(Date.now()>0)){var n=e.operations,o=e.value.data,i=e.tmp,a=i.save,s=i.merge;if(!1!==a&&function(e){if("set_selection"===e.type){var t=e.newProperties,n=t.isFocused,r=t.anchor,o=t.focus;if(void 0!==n&&!r&&!o)return!1}return!0}(t)){var u,c,l=o.get("undos")||Object(r.List)(),f=l.last(),d=f&&f.last();if(null==s&&(0!==n.size?s=!0:(u=t,s=!!(c=d)&&("set_selection"===u.type&&"set_selection"===c.type||"insert_text"===u.type&&"insert_text"===c.type&&u.offset===c.offset+c.text.length&&u.path.equals(c.path)||"remove_text"===u.type&&"remove_text"===c.type&&u.offset+u.text.length===c.offset&&u.path.equals(c.path)))),s&&f){var p=f.push(t);l=(l=l.pop()).push(p)}else{var h=Object(r.List)([t]);l=l.push(h)}l.size>100&&(l=l.takeLast(100)),e.withoutSaving((function(){var t=Object(r.List)(),n=o.set("undos",l).set("redos",t);e.setData(n)}))}}},qe.redo=function(e){var t=e.value.data,n=t.get("redos")||Object(r.List)(),o=t.get("undos")||Object(r.List)(),i=n.last();i&&e.withoutSaving((function(){e.withoutNormalizing((function(){i.forEach((function(t){var n=t,r=n.type,o=n.newProperties;"set_selection"===r&&(t=t.set("newProperties",h()(o,"isFocused"))),e.applyOperation(t)})),n=n.pop(),o=o.push(i);var r=t.set("undos",o).set("redos",n);e.setData(r)}))}))},qe.undo=function(e){var t=e.value.data,n=t.get("redos")||Object(r.List)(),o=t.get("undos")||Object(r.List)(),i=o.last();i&&e.withoutSaving((function(){e.withoutNormalizing((function(){i.slice().reverse().map((function(e){return e.invert()})).forEach((function(t){var n=t,r=n.type,o=n.newProperties;"set_selection"===r&&(t=t.set("newProperties",h()(o,"isFocused"))),e.applyOperation(t)})),n=n.push(i),o=o.pop();var r=t.set("undos",o).set("redos",n);e.setData(r)}))}))},qe.withoutMerging=function(e,t){var n=e.tmp.merge;e.tmp.merge=!1,t(e),e.tmp.merge=n},qe.withoutSaving=function(e,t){var n=e.tmp.save;e.tmp.save=!1,t(e),e.tmp.save=n};var We={};function Je(e,t){for(var n,r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];var a=(n=e.value.selection)[t].apply(n,o);e.select(a)}function He(e,t,n,r){var o=t.slice(0,1).toUpperCase()+t.slice(1),i=n.slice(0,1).toUpperCase()+n.slice(1),a=r.slice(0,1).toUpperCase()+r.slice(1),s="move"+o+"To"+i+"OfNode",u="text"===r?"getNode":"getClosest"+a,c=e.value,l=c.document,f=c.selection[t],d=l[u](f.key);d&&e[s](d)}function Ye(e,t,n,r,o){var i=t.slice(0,1).toUpperCase()+t.slice(1),a=n.slice(0,1).toUpperCase()+n.slice(1),s=r.slice(0,1).toUpperCase()+r.slice(1),u=o.slice(0,1).toUpperCase()+o.slice(1),c="move"+i+"To"+a+"OfNode",l="text"===o?"getNode":"getClosest"+u,f="get"+s+u,d=e.value,p=d.document,h=d.selection[t],v=p[l](h.key);if(v){var y=p[f](v.key);y&&e[c](y)}}function $e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(0!==n){if(n<0)return Xe(e,t,-n);var r=t.slice(0,1).toUpperCase()+t.slice(1),o=e.value,i=o.document,a=o.selection,s=a[t],u=i.hasVoidParent(s.path,e);if(!u&&s.offset-n>=0){var c=a["move"+r+"Backward"](n);e.select(c)}else{var l=i.getPreviousText(s.path);if(l){var f=i.getClosestBlock(s.path),d=f.hasNode(l.key),p=l&&i.hasVoidParent(l.key,e);if(e["move"+r+"ToEndOfNode"](l),!u&&!p&&d){var h=e.value.selection["move"+r+"Backward"](n);e.select(h)}}}}}function Xe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(0!==n){if(n<0)return $e(e,t,-n);var r=t.slice(0,1).toUpperCase()+t.slice(1),o=e.value,i=o.document,a=o.selection,s=a[t],u=i.getNode(s.path),c=i.hasVoidParent(s.path,e);if(!c&&s.offset+n<=u.text.length){var l=a["move"+r+"Forward"](n);e.select(l)}else{var f=i.getNextText(s.path);if(f){var d=i.getClosestBlock(s.path),p=d.hasNode(f.key),h=i.hasVoidParent(f.key,e);if(e["move"+r+"ToStartOfNode"](f),!c&&!h&&p){var v=e.value.selection["move"+r+"Forward"](n);e.select(v)}}}}}function Ze(e,t){var n=e.value,r=n.document,o=n.selection[t],i=r.getClosestBlock(o.key),a=i.getOffset(o.key)+o.offset,s=i.text,u=Fe.getWordOffsetBackward(s,a);e.command($e,t,u>0?u:1)}function Qe(e,t){var n=e.value,r=n.document,o=n.selection[t],i=r.getClosestBlock(o.key),a=i.getOffset(o.key)+o.offset,s=i.text,u=Fe.getWordOffsetForward(s,a);e.command(Xe,t,u>0?u:1)}We.blur=function(e){e.select({isFocused:!1})},We.deselect=function(e){var t=Y.create();e.select(t)},We.ensureSelection=function(e){var t=e.value,n=t.selection,r=t.document;if(null==n.start||null==n.end||n.start.isUnset||n.end.isUnset){var o=r.getFirstText();if(null!=o){var i={offset:0,key:o.key,path:r.getPath(o.key)};e.select(Q.create({anchor:i,focus:i}))}}},We.focus=function(e){e.select({isFocused:!0})},We.flip=function(e){e.command(Je,"flip")},We.moveAnchorBackward=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[$e,"anchor"].concat(n))},We.moveAnchorWordBackward=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Ze,"anchor"].concat(n))},We.moveAnchorForward=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Xe,"anchor"].concat(n))},We.moveAnchorWordForward=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Qe,"anchor"].concat(n))},We.moveAnchorTo=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Je,"moveAnchorTo"].concat(n))},We.moveAnchorToEndOfBlock=function(e){e.command(He,"anchor","end","block")},We.moveAnchorToEndOfInline=function(e){e.command(He,"anchor","end","inline")},We.moveAnchorToEndOfDocument=function(e){e.moveAnchorToEndOfNode(e.value.document).moveToAnchor()},We.moveAnchorToEndOfNextBlock=function(e){e.command(Ye,"anchor","end","next","block")},We.moveAnchorToEndOfNextInline=function(e){e.command(Ye,"anchor","end","next","inline")},We.moveAnchorToEndOfNextText=function(e){e.command(Ye,"anchor","end","next","text")},We.moveAnchorToEndOfNode=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Je,"moveAnchorToEndOfNode"].concat(n))},We.moveAnchorToEndOfPreviousBlock=function(e){e.command(Ye,"anchor","end","previous","block")},We.moveAnchorToEndOfPreviousInline=function(e){e.command(Ye,"anchor","end","previous","inline")},We.moveAnchorToEndOfPreviousText=function(e){e.command(Ye,"anchor","end","previous","text")},We.moveAnchorToEndOfText=function(e){e.command(He,"anchor","end","text")},We.moveAnchorToStartOfBlock=function(e){e.command(He,"anchor","start","block")},We.moveAnchorToStartOfDocument=function(e){e.moveAnchorToStartOfNode(e.value.document).moveToAnchor()},We.moveAnchorToStartOfInline=function(e){e.command(He,"anchor","start","inline")},We.moveAnchorToStartOfNextBlock=function(e){e.command(Ye,"anchor","start","next","block")},We.moveAnchorToStartOfNextInline=function(e){e.command(Ye,"anchor","start","next","inline")},We.moveAnchorToStartOfNextText=function(e){e.command(Ye,"anchor","start","next","text")},We.moveAnchorToStartOfNode=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Je,"moveAnchorToStartOfNode"].concat(n))},We.moveAnchorToStartOfPreviousBlock=function(e){e.command(Ye,"anchor","start","previous","block")},We.moveAnchorToStartOfPreviousInline=function(e){e.command(Ye,"anchor","start","previous","inline")},We.moveAnchorToStartOfPreviousText=function(e){e.command(Ye,"anchor","start","previous","text")},We.moveAnchorToStartOfText=function(e){e.command(He,"anchor","start","text")},We.moveBackward=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(0!==t){var n=e.value,r=n.document,o=n.selection,i=o.start,a=r.getClosestBlock(i.key),s=a.getOffset(i.key),u=s+i.offset,c=a.text,l=Fe.getCharOffsetBackward(c,u,t);e.moveAnchorBackward(l).moveFocusBackward(l)}},We.moveWordBackward=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.moveFocusWordBackward.apply(e,n).moveToFocus()},We.moveEndBackward=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[$e,"end"].concat(n))},We.moveEndWordBackward=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Ze,"end"].concat(n))},We.moveEndForward=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Xe,"end"].concat(n))},We.moveEndWordForward=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Qe,"end"].concat(n))},We.moveEndTo=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Je,"moveEndTo"].concat(n))},We.moveEndToEndOfBlock=function(e){e.command(He,"end","end","block")},We.moveEndToEndOfDocument=function(e){e.moveEndToEndOfNode(e.value.document).moveToEnd()},We.moveEndToEndOfInline=function(e){e.command(He,"end","end","inline")},We.moveEndToEndOfNextBlock=function(e){e.command(Ye,"end","end","next","block")},We.moveEndToEndOfNextInline=function(e){e.command(Ye,"end","end","next","inline")},We.moveEndToEndOfNextText=function(e){e.command(Ye,"end","end","next","text")},We.moveEndToEndOfNode=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Je,"moveEndToEndOfNode"].concat(n))},We.moveEndToEndOfPreviousBlock=function(e){e.command(Ye,"end","end","previous","block")},We.moveEndToEndOfPreviousInline=function(e){e.command(Ye,"end","end","previous","inline")},We.moveEndToEndOfPreviousText=function(e){e.command(Ye,"end","end","previous","text")},We.moveEndToEndOfText=function(e){e.command(He,"end","end","text")},We.moveEndToStartOfBlock=function(e){e.command(He,"end","start","block")},We.moveEndToStartOfDocument=function(e){e.moveEndToStartOfNode(e.value.document).moveToEnd()},We.moveEndToStartOfInline=function(e){e.command(He,"end","start","inline")},We.moveEndToStartOfNextBlock=function(e){e.command(Ye,"end","start","next","block")},We.moveEndToStartOfNextInline=function(e){e.command(Ye,"end","start","next","inline")},We.moveEndToStartOfNextText=function(e){e.command(Ye,"end","start","next","text")},We.moveEndToStartOfNode=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Je,"moveEndToStartOfNode"].concat(n))},We.moveEndToStartOfPreviousBlock=function(e){e.command(Ye,"end","start","previous","block")},We.moveEndToStartOfPreviousInline=function(e){e.command(Ye,"end","start","previous","inline")},We.moveEndToStartOfPreviousText=function(e){e.command(Ye,"end","start","previous","text")},We.moveEndToStartOfText=function(e){e.command(He,"end","start","text")},We.moveFocusBackward=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[$e,"focus"].concat(n))},We.moveFocusWordBackward=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Ze,"focus"].concat(n))},We.moveFocusForward=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Xe,"focus"].concat(n))},We.moveFocusWordForward=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Qe,"focus"].concat(n))},We.moveFocusTo=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Je,"moveFocusTo"].concat(n))},We.moveFocusToEndOfBlock=function(e){e.command(He,"focus","end","block")},We.moveFocusToEndOfDocument=function(e){e.moveFocusToEndOfNode(e.value.document).moveToFocus()},We.moveFocusToEndOfInline=function(e){e.command(He,"focus","end","inline")},We.moveFocusToEndOfNextBlock=function(e){e.command(Ye,"focus","end","next","block")},We.moveFocusToEndOfNextInline=function(e){e.command(Ye,"focus","end","next","inline")},We.moveFocusToEndOfNextText=function(e){e.command(Ye,"focus","end","next","text")},We.moveFocusToEndOfNode=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Je,"moveFocusToEndOfNode"].concat(n))},We.moveFocusToEndOfPreviousBlock=function(e){e.command(Ye,"focus","end","previous","block")},We.moveFocusToEndOfPreviousInline=function(e){e.command(Ye,"focus","end","previous","inline")},We.moveFocusToEndOfPreviousText=function(e){e.command(Ye,"focus","end","previous","text")},We.moveFocusToEndOfText=function(e){e.command(He,"focus","end","text")},We.moveFocusToStartOfBlock=function(e){e.command(He,"focus","start","block")},We.moveFocusToStartOfDocument=function(e){e.moveFocusToStartOfNode(e.value.document).moveToFocus()},We.moveFocusToStartOfInline=function(e){e.command(He,"focus","start","inline")},We.moveFocusToStartOfNextBlock=function(e){e.command(Ye,"focus","start","next","block")},We.moveFocusToStartOfNextInline=function(e){e.command(Ye,"focus","start","next","inline")},We.moveFocusToStartOfNextText=function(e){e.command(Ye,"focus","start","next","text")},We.moveFocusToStartOfNode=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Je,"moveFocusToStartOfNode"].concat(n))},We.moveFocusToStartOfPreviousBlock=function(e){e.command(Ye,"focus","start","previous","block")},We.moveFocusToStartOfPreviousInline=function(e){e.command(Ye,"focus","start","previous","inline")},We.moveFocusToStartOfPreviousText=function(e){e.command(Ye,"focus","start","previous","text")},We.moveFocusToStartOfText=function(e){e.command(He,"focus","start","text")},We.moveForward=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(0!==t){var n=e.value,r=n.document,o=n.selection,i=o.start,a=r.getClosestBlock(i.path),s=a.getOffset(i.key),u=s+i.offset,c=a.text,l=Fe.getCharOffsetForward(c,u,t);e.moveAnchorForward(l).moveFocusForward(l)}},We.moveWordForward=function(e){for(var t,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];(t=e.moveFocusWordForward.apply(e,r)).moveToFocus.apply(t,r)},We.moveStartBackward=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[$e,"start"].concat(n))},We.moveStartWordBackward=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Ze,"start"].concat(n))},We.moveStartForward=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Xe,"start"].concat(n))},We.moveStartWordForward=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Qe,"start"].concat(n))},We.moveStartTo=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Je,"moveStartTo"].concat(n))},We.moveStartToEndOfBlock=function(e){e.command(He,"start","end","block")},We.moveStartToEndOfDocument=function(e){e.moveStartToEndOfNode(e.value.document).moveToStart()},We.moveStartToEndOfInline=function(e){e.command(He,"start","end","inline")},We.moveStartToEndOfNextBlock=function(e){e.command(Ye,"start","end","next","block")},We.moveStartToEndOfNextInline=function(e){e.command(Ye,"start","end","next","inline")},We.moveStartToEndOfNextText=function(e){e.command(Ye,"start","end","next","text")},We.moveStartToEndOfNode=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Je,"moveStartToEndOfNode"].concat(n))},We.moveStartToEndOfPreviousBlock=function(e){e.command(Ye,"start","end","previous","block")},We.moveStartToEndOfPreviousInline=function(e){e.command(Ye,"start","end","previous","inline")},We.moveStartToEndOfPreviousText=function(e){e.command(Ye,"start","end","previous","text")},We.moveStartToEndOfText=function(e){e.command(He,"start","end","text")},We.moveStartToStartOfBlock=function(e){e.command(He,"start","start","block")},We.moveStartToStartOfDocument=function(e){e.moveStartToStartOfNode(e.value.document).moveToStart()},We.moveStartToStartOfInline=function(e){e.command(He,"start","start","inline")},We.moveStartToStartOfNextBlock=function(e){e.command(Ye,"start","start","next","block")},We.moveStartToStartOfNextInline=function(e){e.command(Ye,"start","start","next","inline")},We.moveStartToStartOfNextText=function(e){e.command(Ye,"start","start","next","text")},We.moveStartToStartOfNode=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Je,"moveStartToStartOfNode"].concat(n))},We.moveStartToStartOfPreviousBlock=function(e){e.command(Ye,"start","start","previous","block")},We.moveStartToStartOfPreviousInline=function(e){e.command(Ye,"start","start","previous","inline")},We.moveStartToStartOfPreviousText=function(e){e.command(Ye,"start","start","previous","text")},We.moveStartToStartOfText=function(e){e.command(He,"start","start","text")},We.moveTo=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Je,"moveTo"].concat(n))},We.moveToAnchor=function(e){e.command(Je,"moveToAnchor")},We.moveToEnd=function(e){e.command(Je,"moveToEnd")},We.moveToEndOfBlock=function(e){e.moveEndToEndOfBlock().moveToEnd()},We.moveToEndOfDocument=function(e){e.moveEndToEndOfNode(e.value.document).moveToEnd()},We.moveToEndOfInline=function(e){e.moveEndToEndOfInline().moveToEnd()},We.moveToEndOfNextBlock=function(e){e.moveEndToEndOfNextBlock().moveToEnd()},We.moveToEndOfNextInline=function(e){e.moveEndToEndOfNextInline().moveToEnd()},We.moveToEndOfNextText=function(e){e.moveEndToEndOfNextText().moveToEnd()},We.moveToEndOfNode=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Je,"moveToEndOfNode"].concat(n))},We.moveToEndOfPreviousBlock=function(e){e.moveStartToEndOfPreviousBlock().moveToStart()},We.moveToEndOfPreviousInline=function(e){e.moveStartToEndOfPreviousInline().moveToStart()},We.moveToEndOfPreviousText=function(e){e.moveStartToEndOfPreviousText().moveToStart()},We.moveToEndOfText=function(e){e.moveEndToEndOfText().moveToEnd()},We.moveToFocus=function(e){e.command(Je,"moveToFocus")},We.moveToRangeOfDocument=function(e){e.moveToRangeOfNode(e.value.document)},We.moveToRangeOfNode=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Je,"moveToRangeOfNode"].concat(n))},We.moveToStart=function(e){e.command(Je,"moveToStart")},We.moveToStartOfBlock=function(e){e.moveStartToStartOfBlock().moveToStart()},We.moveToStartOfDocument=function(e){e.moveStartToStartOfNode(e.value.document).moveToStart()},We.moveToStartOfInline=function(e){e.moveStartToStartOfInline().moveToStart()},We.moveToStartOfNextBlock=function(e){e.moveEndToStartOfNextBlock().moveToEnd()},We.moveToStartOfNextInline=function(e){e.moveEndToStartOfNextInline().moveToEnd()},We.moveToStartOfNextText=function(e){e.moveEndToStartOfNextText().moveToEnd()},We.moveToStartOfNode=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Je,"moveToStartOfNode"].concat(n))},We.moveToStartOfPreviousBlock=function(e){e.moveStartToStartOfPreviousBlock().moveToStart()},We.moveToStartOfPreviousInline=function(e){e.moveStartToStartOfPreviousInline().moveToStart()},We.moveToStartOfPreviousText=function(e){e.moveStartToStartOfPreviousText().moveToStart()},We.moveToStartOfText=function(e){e.moveStartToStartOfText().moveToStart()},We.select=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t=Y.createProperties(t);var o=n.snapshot,i=void 0!==o&&o,a=e.value,s=a.document,u=a.selection,c={},l=u.setProperties(t);for(var f in l=s.resolveSelection(l),t=d()(l,Object.keys(t)))!0!==i&&Object(r.is)(t[f],u[f])||(c[f]=t[f]);if(u.marks&&!c.marks&&(c.anchor||c.focus)&&(c.marks=null),0!==Object.keys(c).length){var p=d()(u.toJSON(),Object.keys(c));e.applyOperation({type:"set_selection",value:a,properties:p,newProperties:c},i?{skip:!1,merge:!1}:{})}},We.setAnchor=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Je,"setAnchor"].concat(n))},We.setEnd=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Je,"setEnd"].concat(n))},We.setFocus=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Je,"setFocus"].concat(n))},We.setStart=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.command.apply(e,[Je,"setStart"].concat(n))},We.snapshotSelection=function(e){e.withoutMerging((function(){e.select(e.value.selection,{snapshot:!0})}))};var et={};function tt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};function t(t,n){for(var r in e)t.registerQuery(r);return n()}function n(t,n,r){var o=t.type,i=t.args,a=e[o];if(!a)return r();var s=a.apply(void 0,[n].concat(D(i)));return void 0===s?r():s}return{onConstruct:t,onQuery:n}}et.setData=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.value,r=de.createProperties({data:t}),o=d()(n,Object.keys(r));e.applyOperation({type:"set_value",properties:o,newProperties:r})},et.addAnnotation=function(e,t){t=te.create(t),e.applyOperation({type:"add_annotation",annotation:t})},et.removeAnnotation=function(e,t){t=te.create(t),e.applyOperation({type:"remove_annotation",annotation:t})},et.setAnnotation=function(e,t,n){t=te.create(t),n=te.createProperties(n),e.applyOperation({type:"set_annotation",properties:t,newProperties:n})},et.setAnnotations=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.value,r=de.createProperties({annotations:t}),o=d()(n,Object.keys(r));e.applyOperation({type:"set_value",properties:o,newProperties:r})};var nt=function(e){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};b(this,t);var r=C(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));for(var o in r.code=e,n)r[o]=n[o];return Error.captureStackTrace?Error.captureStackTrace(r,r.constructor):r.stack=(new Error).stack,r}return E(t,e),t}(Error);function rt(e){var t=e.rules,n=e.document,r=e.blocks,o=e.inlines,i=e.marks,a=e.annotations,s=e.decorations,u=[];if(t&&(u=u.concat(t)),n&&u.push(A({match:[{object:"document"}]},n)),r)for(var c in r)u.push(A({match:[{object:"block",type:c}]},r[c]));if(o)for(var l in o)u.push(A({match:[{object:"inline",type:l}]},o[l]));if(i)for(var f in i)u.push(A({match:[{object:"mark",type:f}]},i[f]));if(a)for(var d in a)u.push(A({match:[{object:"annotation",type:d}]},a[d]));if(s)for(var p in s)u.push(A({match:[{object:"decoration",type:p}]},s[p]));function h(e,t,n){var r=u.filter((function(t){return ot(e,t.match)})),o=it(e,r,u,{every:!0});return o?new nt(o.code,o):n()}return[{normalizeNode:function(e,t,n){var r=h(e,t,(function(){}));return r?function(){var e=r.rule,n=t.operations.size;e.normalize&&e.normalize(t,r),t.operations.size===n&&function(e,t){var n=t.code,r=t.node,o=t.child,i=t.next,a=t.previous,s=t.key,u=t.mark;switch(n){case"child_max_invalid":case"child_object_invalid":case"child_type_invalid":case"child_unknown":case"first_child_object_invalid":case"first_child_type_invalid":case"last_child_object_invalid":case"last_child_type_invalid":return"text"===o.object&&"block"===r.object&&1===r.nodes.size?e.removeNodeByKey(r.key):e.removeNodeByKey(o.key);case"previous_sibling_object_invalid":case"previous_sibling_type_invalid":return"text"===a.object&&"block"===r.object&&1===r.nodes.size?e.removeNodeByKey(r.key):e.removeNodeByKey(a.key);case"next_sibling_object_invalid":case"next_sibling_type_invalid":return"text"===i.object&&"block"===r.object&&1===r.nodes.size?e.removeNodeByKey(r.key):e.removeNodeByKey(i.key);case"child_min_invalid":case"node_text_invalid":case"parent_object_invalid":case"parent_type_invalid":return"document"===r.object?r.nodes.forEach((function(t){return e.removeNodeByKey(t.key)})):e.removeNodeByKey(r.key);case"node_data_invalid":return void 0===r.data.get(s)&&"document"!==r.object?e.removeNodeByKey(r.key):e.setNodeByKey(r.key,{data:r.data.delete(s)});case"node_mark_invalid":return r.getTexts().forEach((function(t){return e.removeMarkByKey(t.key,0,t.text.length,u)}));default:e.removeNodeByKey(r.key)}}(t,r)}:n()},validateNode:h},tt({isAtomic:function(e,t){var n=u.find((function(e){return"isAtomic"in e&&ot(t,e.match)}));return n&&n.isAtomic},isVoid:function(e,t){var n=u.find((function(e){return"isVoid"in e&&ot(t,e.match)}));return n&&n.isVoid}})]}function ot(e,t){return!it(e,t)}function it(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.every,i=void 0!==o&&o,a=r.match,s=void 0===a?null:a;if("function"==typeof t){var u=t(e,s);return u?null:gt("node_invalid",{rule:t,node:e})}if(Array.isArray(t)){var c=t.length?t:[{}],l=void 0,f=!0,d=!1,p=void 0;try{for(var h,v=c[Symbol.iterator]();!(f=(h=v.next()).done);f=!0){var y=h.value,g=it(e,y,n);if(l=l||g,i&&g)return g;if(!i&&!g)return}}catch(e){d=!0,p=e}finally{try{!f&&v.return&&v.return()}finally{if(d)throw p}}return l}var m=at(e,t)||st(e,t)||ut(e,t)||ct(e,t)||lt(e,t)||ft(e,t)||dt(e,t)||pt(e,t,n);return m}function at(e,t){if(null!=t.object&&t.object!==e.object&&("function"!=typeof t.object||!t.object(e.object)))return gt("node_object_invalid",{rule:t,node:e})}function st(e,t){if(null!=t.type&&t.type!==e.type&&("function"!=typeof t.type||!t.type(e.type)))return gt("node_type_invalid",{rule:t,node:e})}function ut(e,t){if(null!=t.data&&null!=e.data){if("function"==typeof t.data){if(t.data(e.data))return;return gt("node_data_invalid",{rule:t,node:e})}for(var n in t.data){var r=t.data[n],o=e.data&&e.data.get(n);if(!("function"==typeof r?r(o):r===o))return gt("node_data_invalid",{rule:t,node:e,key:n,value:o})}}}function ct(e,t){if(null!=t.marks){var n="text"===e.object?e.marks.toArray():e.getMarks().toArray(),r=function(n){return t.marks.some((function(e){return"function"==typeof e.type?e.type(n.type):e.type===n.type}))?"continue":{v:gt("node_mark_invalid",{rule:t,node:e,mark:n})}},o=!0,i=!1,a=void 0;try{for(var s,u=n[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=r(s.value);switch(c){case"continue":continue;default:if("object"===(void 0===c?"undefined":_(c)))return c.v}}}catch(e){i=!0,a=e}finally{try{!o&&u.return&&u.return()}finally{if(i)throw a}}}}function lt(e,t){if(null!=t.text){var n=e.text;if(!("function"==typeof t.text?t.text(n):t.text.test(n)))return gt("node_text_invalid",{rule:t,node:e,text:n})}}function ft(e,t){if(null!=t.first){var n=e.nodes.first();if(n){var r=it(n,t.first);if(r)return r.rule=t,r.node=e,r.child=n,r.code=r.code.replace("node_","first_child_"),r}}}function dt(e,t){if(null!=t.last){var n=e.nodes.last();if(n){var r=it(n,t.last);if(r)return r.rule=t,r.node=e,r.child=n,r.code=r.code.replace("node_","last_child_"),r}}}function pt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(null!=e.nodes){var r=e.nodes,o=null!=t.nodes?t.nodes.slice():[],i=0,a=0,s=null,u=-1,c=null,l=null,f=null,d=null,p=null;for(null!=t.nodes&&g();m();){var h=ht(e,f,n)||vt(e,f,d,u,n)||yt(e,f,p,u,n);if(h)return h;if(null!=t.nodes){if(!c)return gt("child_unknown",{rule:t,node:e,child:f,index:u});if(c.match){var v=it(f,c.match);if(v){if(null!=l&&i-1>l)return k(),gt("child_max_invalid",{rule:t,node:e,index:u,child:r.get(u),count:i,limit:l});var y=s;if(g()){if(a-1>=y){u-=1;continue}return null==it(f,c.match)?(k(),gt("child_min_invalid",{rule:t,node:e,index:u,count:a-1,limit:y})):(v.rule=t,v.node=e,v.child=f,v.index=u,v.code=v.code.replace("node_","child_"),v)}return null!=l&&i>l?gt("child_unknown",{rule:t,node:e,child:f,index:u}):(v.rule=t,v.node=e,v.child=f,v.index=u,v.code=v.code.replace("node_","child_"),v)}}}}if(null!=l&&i>l)return gt("child_max_invalid",{rule:t,node:e,index:u-1,count:i,child:r.get(u-1),limit:l});if(null!=t.nodes)do{if(i<s)return gt("child_min_invalid",{rule:t,node:e,index:u,count:i,limit:s})}while(g())}function g(){return 0!==o.length&&(c=o.shift(),a=i,i=0,s=c.min||null,l=c.max||null,!0)}function m(){return d=(u+=1)?r.get(u-1):null,f=r.get(u),p=r.get(u+1),!!f&&(a=i,i+=1,!0)}function k(){u>0&&(u-=1,i=a)}}function ht(e,t,n){var r=!0,o=!1,i=void 0;try{for(var a,s=n[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;if(null!=u.parent&&ot(t,u.match)){var c=it(e,u.parent);if(c)return c.rule=u,c.parent=e,c.node=t,c.code=c.code.replace("node_","parent_"),c}}}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}}function vt(e,t,n,r,o){if(n){var i=!0,a=!1,s=void 0;try{for(var u,c=o[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var l=u.value;if(null!=l.previous&&ot(t,l.match)){var f=it(n,l.previous);if(f)return f.rule=l,f.node=e,f.child=t,f.index=r,f.previous=n,f.code=f.code.replace("node_","previous_sibling_"),f}}}catch(e){a=!0,s=e}finally{try{!i&&c.return&&c.return()}finally{if(a)throw s}}}}function yt(e,t,n,r,o){if(n){var i=!0,a=!1,s=void 0;try{for(var u,c=o[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var l=u.value;if(null!=l.next&&ot(t,l.match)){var f=it(n,l.next,[],{match:t});if(f)return f.rule=l,f.node=e,f.child=t,f.index=r,f.next=n,f.code=f.code.replace("node_","next_sibling_"),f}}}catch(e){a=!0,s=e}finally{try{!i&&c.return&&c.return()}finally{if(a)throw s}}}}function gt(e,t){return A({code:e},t)}function mt(e){e.value.selection.isExpanded&&e.delete()}var kt={};function xt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.plugins,n=void 0===t?[]:t,r=be(A({},Ie,Re,qe,We,et,kt)),o=tt({isAtomic:function(){return!1},isVoid:function(){return!1}}),i=rt({rules:[{match:{object:"document"},nodes:[{match:{object:"block"}}]},{match:{object:"block",first:{object:"block"}},nodes:[{match:{object:"block"}}]},{match:{object:"block",first:[{object:"inline"},{object:"text"}]},nodes:[{match:[{object:"inline"},{object:"text"}]}]},{match:{object:"inline"},nodes:[{match:[{object:"inline"},{object:"text"}]}]},{match:[{object:"block"},{object:"inline"}],nodes:[{min:1}],normalize:function(e,t){var n=t.code,r=t.node;"child_min_invalid"===n&&r.nodes.isEmpty()&&e.insertNodeByKey(r.key,0,se.create())}},{match:{object:"block"},first:[{object:"block"},{object:"text"}],last:[{object:"block"},{object:"text"}],normalize:function(e,t){var n=t.code,r=t.node,o=se.create(),i=void 0;if("first_child_object_invalid"===n)i=0;else{if("last_child_object_invalid"!==n)return;i=r.nodes.size}e.insertNodeByKey(r.key,i,o)}},{match:{object:"inline"},first:[{object:"block"},{object:"text"}],last:[{object:"block"},{object:"text"}],previous:[{object:"block"},{object:"text"}],next:[{object:"block"},{object:"text"}],normalize:function(e,t){var n=t.code,r=t.node,o=t.index,i=se.create(),a=void 0;if("first_child_object_invalid"===n)a=0;else if("last_child_object_invalid"===n)a=r.nodes.size;else if("previous_sibling_object_invalid"===n)a=o;else{if("next_sibling_object_invalid"!==n)return;a=o+1}e.insertNodeByKey(r.key,a,i)}},{match:{object:"text"},next:function(e,t){return"text"!==e.object||!t.marks.equals(e.marks)},normalize:function(e,t){var n=t.code,r=t.next;"next_sibling_invalid"===n&&e.mergeNodeByKey(r.key)}},{match:{object:"text"},previous:function(e){return"text"!==e.object||""!==e.text},next:function(e){return"text"!==e.object||""!==e.text},normalize:function(e,t){var n=t.code,r=t.next,o=t.previous;"next_sibling_invalid"===n?e.removeNodeByKey(r.key):"previous_sibling_invalid"===n&&e.removeNodeByKey(o.key)}}]});return[i].concat(D(n),[r,o])}kt.addMark=function(e,t){t=q.create(t);var n=e.value,r=n.document,o=n.selection;if(o.isExpanded)e.addMarkAtRange(o,t);else if(o.marks){var i=o.marks.add(t),a=o.set("marks",i);e.select(a)}else{var s=r.getActiveMarksAtRange(o).add(t),u=o.set("marks",s);e.select(u)}},kt.addMarks=function(e,t){t.forEach((function(t){return e.addMark(t)}))},kt.delete=function(e){var t=e.value.selection;e.deleteAtRange(t),e.moveToFocus()},kt.deleteBackward=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=e.value,r=n.selection;r.isExpanded?e.delete():e.deleteBackwardAtRange(r,t)},kt.deleteCharBackward=function(e){var t=e.value.selection;t.isExpanded?e.delete():e.deleteCharBackwardAtRange(t)},kt.deleteLineBackward=function(e){var t=e.value.selection;t.isExpanded?e.delete():e.deleteLineBackwardAtRange(t)},kt.deleteWordBackward=function(e){var t=e.value.selection;t.isExpanded?e.delete():e.deleteWordBackwardAtRange(t)},kt.deleteForward=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=e.value,r=n.selection;r.isExpanded?e.delete():e.deleteForwardAtRange(r,t)},kt.deleteCharForward=function(e){var t=e.value.selection;t.isExpanded?e.delete():e.deleteCharForwardAtRange(t)},kt.deleteLineForward=function(e){var t=e.value.selection;t.isExpanded?e.delete():e.deleteLineForwardAtRange(t)},kt.deleteWordForward=function(e){var t=e.value.selection;t.isExpanded?e.delete():e.deleteWordForwardAtRange(t)},kt.insertBlock=function(e,t){mt(e),t=le.create(t);var n=e.value.selection;e.insertBlockAtRange(n,t);var r=e.value.document.getNode(t.key);r&&e.moveToEndOfNode(r)},kt.insertFragment=function(e,t){if(t.nodes.size){mt(e);var n=e.value,r=n,o=r.document,i=r.selection,a=i.start,s=Array.from(o.texts(),(function(e){return T(e,1)[0].key}));e.insertFragmentAtRange(i,t);var u=(o=(n=e.value).document).getTexts().filter((function(e){return!s.includes(e.key)}));if(0!==u.size){var c=t.text.length,l=o.getNode(a.key)||u.first(),f=u.last()||l;l!==f||e.moveTo(f.key,c)}}},kt.insertInline=function(e,t){mt(e),t=ie.create(t);var n=e.value.selection;e.insertInlineAtRange(n,t);var r=e.value.document.getNode(t.key);r&&e.moveToEndOfNode(r)},kt.insertText=function(e,t,n){mt(e);var r=e.value,o=r.document,i=r.selection;n=n||i.marks||o.getInsertMarksAtRange(i),e.withoutNormalizing((function(){e.insertTextAtRange(i,t,n),i.marks&&o!==e.value.document&&e.select({marks:null})}))},kt.removeMark=function(e,t){t=q.create(t);var n=e.value,r=n.document,o=n.selection;if(o.isExpanded)e.removeMarkAtRange(o,t);else if(o.marks){var i=o.marks.remove(t),a=o.set("marks",i);e.select(a)}else{var s=r.getActiveMarksAtRange(o).remove(t),u=o.set("marks",s);e.select(u)}},kt.replaceMark=function(e,t,n){e.removeMark(t),e.addMark(n)},kt.setBlocks=function(e,t){var n=e.value.selection;e.setBlocksAtRange(n,t)},kt.setInlines=function(e,t){var n=e.value.selection;e.setInlinesAtRange(n,t)},kt.splitBlock=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;mt(e);var n=e.value,r=n.selection,o=n.document,i=r.marks||o.getInsertMarksAtRange(r);e.splitBlockAtRange(r,t).moveToEnd(),i&&0!==i.size&&e.select({marks:i})},kt.splitInline=function(e,t){mt(e);var n=e.value.selection;e.splitInlineAtRange(n,t)},kt.toggleMark=function(e,t){t=q.create(t),e.value.activeMarks.has(t)?e.removeMark(t):e.addMark(t)},kt.unwrapBlock=function(e,t){var n=e.value.selection;e.unwrapBlockAtRange(n,t)},kt.unwrapInline=function(e,t){var n=e.value.selection;e.unwrapInlineAtRange(n,t)},kt.wrapBlock=function(e,t){var n=e.value.selection;e.wrapBlockAtRange(n,t)},kt.wrapInline=function(e,t){var n=e.value.selection;e.wrapInlineAtRange(n,t)},kt.wrapText=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=e.value,o=r.selection;e.wrapTextAtRange(o,t,n),o.isCollapsed&&e.moveStartBackward(t.length),e.moveEndBackward(n.length),o.isForward!==e.value.selection.isForward&&e.flip()};var _t=c()("slate:editor"),bt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};b(this,e);var o=n.controller,i=void 0===o?this:o,a=n.construct,s=void 0===a||a,u=t.onChange,c=void 0===u?function(){}:u,l=t.plugins,f=void 0===l?[]:l,d=t.readOnly,p=void 0!==d&&d,h=t.value,v=void 0===h?de.create():h;this.controller=i,this.middleware={},this.onChange=c,this.operations=Object(r.List)(),this.readOnly=null,this.value=null,this.tmp={dirty:[],flushing:!1,merge:null,normalize:!0,save:!0};var y=xt({plugins:f});At(this,y),s&&(this.run("onConstruct"),this.setReadOnly(p),this.setValue(v,n))}return w(e,[{key:"applyOperation",value:function(e){var t=this,n=this.operations,r=this.controller,o=this.value;i()(e)&&(e=A({},e,{value:o})),e=ke.create(e),this.withoutNormalizing((function(){r.save(e),o=t.value})),_t("apply",{operation:e}),this.value=e.apply(o),this.operations=n.push(e);var a=function(e){var t=e.type,n=e.node,r=e.path,o=e.newPath;switch(t){case"add_mark":case"insert_text":case"remove_mark":case"remove_text":case"set_mark":case"set_node":var i=K.getAncestors(r).toArray();return[].concat(D(i),[r]);case"insert_node":var a=n.getKeysToPathsTable(),s=Object.values(a).map((function(e){return r.concat(e)})),u=K.getAncestors(r).toArray();return[].concat(D(u),[r],D(s));case"split_node":var c=K.getAncestors(r).toArray(),l=K.increment(r);return[].concat(D(c),[r,l]);case"merge_node":var f=K.getAncestors(r).toArray(),d=K.decrement(r);return[].concat(D(f),[d]);case"move_node":if(K.isEqual(r,o))return[];var p=K.getAncestors(r).reduce((function(t,n){return t.push.apply(t,D(K.transform(n,e).toArray())),t}),[]),h=K.getAncestors(o).reduce((function(t,n){return t.push.apply(t,D(K.transform(n,e).toArray())),t}),[]);return[].concat(D(p),D(h));case"remove_node":var v=K.getAncestors(r).toArray();return[].concat(D(v));default:return[]}}(e),s=this.tmp.dirty.map((function(t){return t=K.create(t),K.transform(t,e).toArray()})),u={},c=Array.prototype.concat.apply(a,s);return this.tmp.dirty=[],c.forEach((function(e){var n=e.join(",");u[n]||t.tmp.dirty.push(e),u[n]=!0})),this.tmp.flushing||(this.tmp.flushing=!0,Promise.resolve().then((function(){return t.flush()}))),r}},{key:"fastInsertText",value:function(e,t,n,r){var o=this;return this.value=this.value.insertText(e,t,n,r),this.tmp.flushing||(this.tmp.flushing=!0,Promise.resolve().then((function(){return o.flush()}))),this.controller}},{key:"flush",value:function(){this.run("onChange");var e=this.value,t=this.operations,n=this.controller,o={value:e,operations:t};return this.operations=Object(r.List)(),this.tmp.flushing=!1,this.onChange(o),n}},{key:"command",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=this.controller;if("function"==typeof e)return e.apply(void 0,[o].concat(n)),wt(this),o;_t("command",{type:e,args:n});var i={type:e,args:n};return this.run("onCommand",i),wt(this),o}},{key:"hasCommand",value:function(e){var t=this.controller;return e in t&&t[e].__command}},{key:"hasQuery",value:function(e){var t=this.controller;return e in t&&t[e].__query}},{key:"normalize",value:function(){var e=this.value,t=this.controller,n=e.document,r=n.getKeysToPathsTable(),o=Object.values(r).map(K.create);this.tmp.dirty=this.tmp.dirty.concat(o),wt(this);var i=e.selection;return n=e.document,i.isUnset&&n.nodes.size&&t.moveToStartOfDocument(),t}},{key:"query",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=this.controller;if("function"==typeof e)return e.apply(void 0,[o].concat(n));_t("query",{type:e,args:n});var i={type:e,args:n};return this.run("onQuery",i)}},{key:"registerCommand",value:function(e){var t=this,n=this.controller;if(e in n&&n[e].__command)return n;Object(s.default)(!(e in n),"You cannot register a `"+e+"` command because it would overwrite an existing property of the `Editor`.");var r=function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.command.apply(t,[e].concat(r))};return n[e]=r,r.__command=!0,n}},{key:"registerQuery",value:function(e){var t=this,n=this.controller;if(e in n&&n[e].__query)return n;Object(s.default)(!(e in n),"You cannot register a `"+e+"` query because it would overwrite an existing property of the `Editor`.");var r=function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.query.apply(t,[e].concat(r))};return n[e]=r,r.__query=!0,n}},{key:"run",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=this.controller,i=this.middleware,a=i[e]||[],u=0;function c(){var e=a[u++];if(e){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];r.length&&(n=r);var s=e.apply(void 0,D(n).concat([o,c]));return s}}return Object.defineProperty(c,"change",{get:function(){Object(s.default)(!1,"As of Slate 0.42, the `editor` is no longer passed as the third argument to event handlers. You can access it via `change.editor` instead.")}}),Object.defineProperty(c,"onChange",{get:function(){Object(s.default)(!1,"As of Slate 0.42, the `editor` is no longer passed as the third argument to event handlers. You can access it via `change.editor` instead.")}}),Object.defineProperty(c,"props",{get:function(){Object(s.default)(!1,"As of Slate 0.42, the `editor` is no longer passed as the third argument to event handlers. You can access it via `change.editor` instead.")}}),Object.defineProperty(c,"schema",{get:function(){Object(s.default)(!1,"As of Slate 0.42, the `editor` is no longer passed as the third argument to event handlers. You can access it via `change.editor` instead.")}}),Object.defineProperty(c,"stack",{get:function(){Object(s.default)(!1,"As of Slate 0.42, the `editor` is no longer passed as the third argument to event handlers. You can access it via `change.editor` instead.")}}),c()}},{key:"setReadOnly",value:function(e){return this.readOnly=e,this}},{key:"setValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.normalize,r=void 0===n?e!==this.value:n;return this.value=e,r&&this.normalize(),this}},{key:"withoutNormalizing",value:function(e){var t=this.controller,n=this.tmp.normalize;return this.tmp.normalize=!1,e(t),this.tmp.normalize=n,wt(this),t}},{key:"change",value:function(e){Object(a.a)(!1,"As of Slate 0.43 the `change` object has been replaced with `editor`, so the `editor.change()` method is deprecated.`");for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.apply(void 0,[this.controller].concat(n))}},{key:"call",value:function(e){Object(a.a)(!1,"As of Slate 0.43 the `editor.call(fn)` method has been deprecated, please use `editor.command(fn)` instead.");for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,[this.controller].concat(n)),this.controller}},{key:"applyOperations",value:function(e){var t=this;return Object(a.a)(!1,"As of Slate 0.43 the `applyOperations` method is deprecated, please apply each operation in a loop instead."),e.forEach((function(e){return t.applyOperation(e)})),this.controller}},{key:"setOperationFlag",value:function(e,t){return Object(a.a)(!1,"As of slate@0.41 the `change.setOperationFlag` method has been deprecated."),this.tmp[e]=t,this}},{key:"getFlag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(a.a)(!1,"As of slate@0.41 the `change.getFlag` method has been deprecated."),void 0!==t[e]?t[e]:this.tmp[e]}},{key:"unsetOperationFlag",value:function(e){return Object(a.a)(!1,"As of slate@0.41 the `change.unsetOperationFlag` method has been deprecated."),delete this.tmp[e],this}},{key:"withoutNormalization",value:function(e){return Object(a.a)(!1,"As of slate@0.41 the `change.withoutNormalization` helper has been renamed to `change.withoutNormalizing`."),this.withoutNormalizing(e)}},{key:"editor",get:function(){return Object(a.a)(!1,"As of Slate 0.43 the `change` object has been replaced with `editor`, so you don't need to access `change.editor`."),this.controller}}]),e}();function wt(e){e.tmp.normalize&&e.tmp.dirty.length&&e.withoutNormalizing((function(){for(;e.tmp.dirty.length;){var t=e.tmp.dirty.pop();St(e,t)}}))}function St(e,t){for(var n=e.controller,r=e.value,o=r.document,i=o.assertNode(t),a=0,s=100+("text"===i.object?1:i.nodes.size);i;){var u=i.normalize(n);if(!u)break;u(n),o=(r=e.value).document;var c=i.key,l=o.getDescendant(t);if(l&&l.key===c)i=l;else{if(!(l=o.getDescendant(c)))break;i=l,t=o.getPath(c)}if(++a>s)throw new Error("A schema rule could not be normalized after sufficient iterations. This is usually due to a `rule.normalize` or `plugin.normalizeNode` function of a schema being incorrectly written, causing an infinite loop.")}}function At(e,t){if(Array.isArray(t))t.forEach((function(t){return At(e,t)}));else if(null!=t){var n=t.commands,r=t.queries,o=t.schema,i=O(t,["commands","queries","schema"]);if(n){var a=be(n);At(e,a)}if(r){var s=tt(r);At(e,s)}if(o){var u=rt(o);At(e,u)}for(var c in i){var l=i[c];(e.middleware[c]=e.middleware[c]||[]).push(l)}}}var Et={marks:void 0,text:void 0},Ot=function(e){function t(){return b(this,t),C(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return E(t,e),w(t,[{key:"updateMark",value:function(e,t){var n=this.marks;if(t.equals(e))return this;if(!n.has(e))return this;var r=n.withMutations((function(n){n.remove(e).add(t)}));return this.set("marks",r)}},{key:"addMark",value:function(e){var t=this.marks;return this.set("marks",t.add(e))}},{key:"addMarks",value:function(e){var t=this.marks;return this.set("marks",t.union(e))}},{key:"insertText",value:function(e,t){var n=this.text,r=n.slice(0,e)+t+n.slice(e);return this.set("text",r)}},{key:"removeMark",value:function(e){var t=this.marks;return this.set("marks",t.remove(e))}},{key:"toJSON",value:function(){return{object:this.object,text:this.text,marks:this.marks.toArray().map((function(e){return e.toJSON()}))}}}],[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Object(a.a)(!1,"As of slate@0.47 the `Leaf` model is deprecated."),t.isLeaf(e))return e;if("string"==typeof e&&(e={text:e}),i()(e))return t.fromJSON(e);throw new Error("`Leaf.create` only accepts objects, strings or leaves, but you passed it: "+e)}},{key:"createLeaves",value:function(e){if(e.size<=1)return e;var t=!1,n=Object(r.List)().withMutations((function(n){e.findLast((function(e,r){var o=n.first();if(o){if(o.marks.equals(e.marks))return t=!0,void n.set(0,o.set("text",""+e.text+o.text));if(""===o.text)return t=!0,void n.set(0,e);if(""===e.text)return void(t=!0)}n.unshift(e)}))}));return t?n:e}},{key:"splitLeaves",value:function(e,t){if(t<0)return[Object(r.List)(),e];if(0===e.size)return[Object(r.List)(),Object(r.List)()];var n=0,o=-1,i=void 0,a=void 0;return e.find((function(e){o++;var r=n,s=e.text;if((n+=s.length)<t)return!1;if(r>t)return!1;var u=t-r;return i=e.set("text",s.slice(0,u)),a=e.set("text",s.slice(u)),!0})),i?""===i.text?0===o?[r.List.of(i),e]:[e.take(o),e.skip(o)]:""===a.text?o===e.size-1?[e,r.List.of(a)]:[e.take(o+1),e.skip(o+1)]:[e.take(o).push(i),e.skip(o+1).unshift(a)]:[e,Object(r.List)()]}},{key:"createList",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.List.isList(e)||Array.isArray(e)){var n=new r.List(e.map(t.create));return n}throw new Error("`Leaf.createList` only accepts arrays or lists, but you passed it: "+e)}},{key:"fromJSON",value:function(e){var n=e.text,o=void 0===n?"":n,i=e.marks,a=void 0===i?[]:i;return new t({text:o,marks:Object(r.Set)(a.map(q.fromJSON))})}},{key:"isLeafList",value:function(e){return r.List.isList(e)&&e.every((function(e){return t.isLeaf(e)}))}}]),t}(Object(r.Record)(Et));function Ct(e,t){var n=!0,r=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value,u=!0,c=!1,l=void 0;try{for(var f,d=Object.getOwnPropertyNames(e)[Symbol.iterator]();!(u=(f=d.next()).done);u=!0){var p=f.value;if(!s.hasOwnProperty(p)){var h=Object.getOwnPropertyDescriptor(e,p);try{null==h?(console.log("Property descriptor was undefined for: "+p),s[p]=s[p]):Object.defineProperty(s,p,h)}catch(e){}}}}catch(e){c=!0,l=e}finally{try{!u&&d.return&&d.return()}finally{if(c)throw l}}var v=!0,y=!1,g=void 0;try{for(var m,k=Object.getOwnPropertyNames(e.prototype)[Symbol.iterator]();!(v=(m=k.next()).done);v=!0){var x=m.value;if(!s.prototype.hasOwnProperty(x)){h=Object.getOwnPropertyDescriptor(e.prototype,x);try{null==h?(console.log("Property prototype descriptor was undefined for: "+x),s.prototype[x]=e.prototype[x]):Object.defineProperty(s.prototype,x,h)}catch(e){}}}}catch(e){y=!0,g=e}finally{try{!v&&k.return&&k.return()}finally{if(y)throw g}}}}catch(e){r=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(r)throw o}}}Object.entries({Annotation:te,Block:le,Change:_e,Decoration:J,Document:re,Editor:bt,Inline:ie,Leaf:Ot,Mark:q,Node:ue,Operation:ke,Point:G,Range:Q,Selection:Y,Text:se,Value:de}).forEach((function(e){var t,n,r,o,i=T(e,2),a=i[0],s=i[1];return Ct((t=a.toLowerCase(),n=$[t],r="is"+t.charAt(0).toUpperCase()+t.slice(1),(o=function(){function e(){b(this,e)}return w(e,[{key:"object",get:function(){return t}}]),e}())[r]=X.bind(null,t),o.prototype[n]=!0,o),[s])})),Ct(function(){function e(){b(this,e)}return w(e,[{key:"toJS",value:function(){return this.toJSON.apply(this,arguments)}}],[{key:"fromJS",value:function(){return this.fromJSON.apply(this,arguments)}}]),e}(),[te,le,J,re,ie,Ot,q,ue,ke,G,Q,Y,se,de]);var Tt=!0,Dt=Symbol("LEAF"),Bt=Symbol("STORE_KEY"),Nt=Symbol("undefined"),Ft=Symbol("null"),Pt=new WeakMap;function It(e,t){var n=function(t){var n=e[t];if(!n)throw new Error('Object does not have a property named "'+t+'".');e[t]=function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];if(!Tt)return n.apply(this,r);Pt.has(this)||Pt.set(this,{noArgs:{},hasArgs:{}});var i=Pt.get(this),a=i.noArgs,s=i.hasArgs,u=0!==r.length,c=void 0,l=void 0;if(void 0!==(c=u?jt(s,l=[t].concat(r)):a[t]))return c===Nt?void 0:c;var f=n.apply(this,r),d=void 0===f?Nt:f;return u?Mt(s,l,d):a[t]=d,f}},r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){n(a.value)}}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}}function jt(e,t){var n=!0,r=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;if(void 0===s?s=Nt:null==s&&(s=Ft),void 0===(e="object"===(void 0===s?"undefined":_(s))?e[Bt]&&e[Bt].get(s):e[s]))return}}catch(e){r=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(r)throw o}}return e[Dt]}function Mt(e,t,n){var r=e,o=!0,i=!1,a=void 0;try{for(var s,u=t[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value;if(void 0===c?c=Nt:null==c&&(c=Ft),"object"===(void 0===c?"undefined":_(c)))if(r[Bt]||(r[Bt]=new WeakMap),r[Bt].has(c))r=r[Bt].get(c);else{var l={};r[Bt].set(c,l),r=l}else r[c]||(r[c]={}),r=r[c]}}catch(e){i=!0,a=e}finally{try{!o&&u.return&&u.return()}finally{if(i)throw a}}return r[Dt]=n,e}function Rt(){Pt=new WeakMap}function Lt(e){Tt=e}var Kt=function(){function e(){b(this,e)}return w(e,[{key:"getFirstText",value:function(){if("text"===this.object)return this;var e=null,t=this.nodes.find((function(t){return"text"===t.object||!!(e=t.getFirstText())}));return e||t}},{key:"getKeysToPathsTable",value:function(){var e=S({},this.key,[]);return this.nodes&&this.nodes.forEach((function(t,n){var r=t.getKeysToPathsTable();for(var o in r){var i=r[o];Object(a.a)(!(o in e),'A node with a duplicate key of "'+o+'" was found! Duplicate keys are not allowed, you should use `node.regenerateKey` before inserting if you are reusing an existing node.'),e[o]=[n].concat(D(i))}})),e}},{key:"getLastText",value:function(){if("text"===this.object)return this;var e=null,t=this.nodes.findLast((function(t){return"text"===t.object||(e=t.getLastText())}));return e||t}},{key:"getNode",value:function(e){return(e=this.resolvePath(e))?"text"===this.object&&e.size?null:e.size?this.getDescendant(e):this:null}},{key:"getPath",value:function(e){if(r.List.isList(e))return e;if(ue.isNode(e)&&this.descendants){var t=!0,n=!1,o=void 0;try{for(var i,a=this.descendants()[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var s=i.value,u=T(s,2),c=u[0],l=u[1];if(e===c)return l}}catch(e){n=!0,o=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw o}}}var f=this.getKeysToPathsTable()[e];return f?Object(r.List)(f):null}},{key:"getText",value:function(){return"text"===this.object?this.text:this.nodes.reduce((function(e,t){return e+t.text}),"")}},{key:"hasNode",value:function(e){return!!this.getNode(e)}},{key:"normalize",value:function(e){return e.run("normalizeNode",this)}},{key:"regenerateKey",value:function(){var e=x.create();return this.set("key",e)}},{key:"resolvePath",value:function(e,t){return"string"==typeof e?(e=this.getPath(e),null!=t&&(e=e.concat(t))):e=K.create(e),e}},{key:"validate",value:function(e){return e.run("validateNode",this)}}]),e}();It(Kt.prototype,["getFirstText","getKeysToPathsTable","getLastText","getText","normalize","validate"]),Ct(Kt,[le,re,ie,se]);var zt=void 0!==e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Gt(){return!0}var Vt=function(){function e(){b(this,e)}return w(e,[{key:"addMark",value:function(e,t){e=this.resolvePath(e);var n=this.assertDescendant(e);return n=n.addMark(t),this.replaceNode(e,n)}},{key:"ancestors",value:function(e){return this.createIterable({path:e,direction:null,downward:!1,includeTargetAncestors:!0,includeRoot:!0})}},{key:"blocks",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.onlyLeaves,n=e.onlyRoots,r=e.onlyTypes,o=e.match,i=O(e,["onlyLeaves","onlyRoots","onlyTypes","match"]),a=this.descendants(A({includeDocument:!1,includeInlines:!1,includeTexts:!1},i,{match:function(e,i){return!(r&&!r.includes(e.type))&&((!n||1===i.size)&&(!(t&&!e.isLeafBlock())&&!(o&&!o(e,i))))}}));return a}},{key:"createAnnotation",value:function(e){return e=te.createProperties(e),this.resolveAnnotation(e)}},{key:"createDecoration",value:function(e){return e=J.createProperties(e),this.resolveDecoration(e)}},{key:"createIterable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.direction,n=void 0===t?"forward":t,r=e.downward,o=void 0===r||r,i=e.upward,a=void 0===i||i,s=e.includeBlocks,u=void 0===s||s,c=e.includeDocument,l=void 0===c||c,f=e.includeInlines,d=void 0===f||f,p=e.includeRoot,h=void 0!==p&&p,v=e.includeTarget,y=void 0===v?!!e.range:v,g=e.includeTargetAncestors,m=void 0!==g&&g,k=e.includeTexts,x=void 0===k||k,_=e.match,b=void 0===_?null:_,w=this,A=null,E=null;e.range?(E=w.resolveRange(e.range),A=w.resolvePath(E.start.path)):e.path&&(A=w.resolvePath(e.path));var O=A&&w.assertNode(A),C="undefined"==typeof window?zt.Set:window.Set;return S({},Symbol.iterator,(function(){var e=new C,t=E&&E.start.path,r=E&&E.end.path,i=A,s=O,c=!1,f=!1,p=!1,v=function(){return i&&s?(h||s!==w)&&(u||"block"!==s.object)&&(l||"document"!==s.object)&&(d||"inline"!==s.object)&&(x||"text"!==s.object)?b&&!b(s,i)?g():{value:[s,i],done:!1}:g():{done:!0}},g=function u(){if(!i||!s)return v();if(t&&!f)return p?i.size===t.size-1?(f=!0,i=A,s=O,u()):(i=t.slice(0,i.size+1),s=w.assertNode(i),v()):(p=!0,i=K.create([]),s=w,v());if(y&&!c)return c=!0,v();if(r&&i.equals(r))return s=null,i=null,u();if(o&&s.nodes&&s.nodes.size&&!e.has(s)){e.add(s);var l="forward"===n?0:s.nodes.size-1;return i=i.push(l),s=w.assertNode(i),v()}if("forward"===n){var d=K.increment(i),h=w.getNode(d);if(h)return i=d,s=h,v()}if("backward"===n&&0!==i.last()){var g=K.decrement(i),k=w.getNode(g);if(k)return i=g,s=k,v()}return a&&i.size?(i=K.lift(i),s=w.assertNode(i),e.has(s)?u():(e.add(s),m?v():u())):(i=null,s=null,u())};return{next:g}}))}},{key:"createPoint",value:function(e){return e=G.createProperties(e),this.resolvePoint(e)}},{key:"createRange",value:function(e){return e=Q.createProperties(e),this.resolveRange(e)}},{key:"createSelection",value:function(e){return e=Y.createProperties(e),this.resolveSelection(e)}},{key:"descendants",value:function(e){return this.createIterable(A({path:[]},e))}},{key:"filterDescendants",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Gt,t=[],n=!0,o=!1,i=void 0;try{for(var a,s=this.descendants()[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value,c=T(u,2),l=c[0],f=c[1];e(l,f)&&t.push(l)}}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return Object(r.List)(t)}},{key:"findDescendant",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Gt,t=!0,n=!1,r=void 0;try{for(var o,i=this.descendants()[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=o.value,s=T(a,2),u=s[0],c=s[1];if(e(u,c))return u}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}return null}},{key:"forEachDescendant",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Gt,t=!0,n=!1,r=void 0;try{for(var o,i=this.descendants()[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=o.value,s=e.apply(void 0,D(a));if(!1===s)return}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}}},{key:"getActiveMarksAtRange",value:function(e){if((e=this.resolveRange(e)).isUnset)return Object(r.Set)();if(e.isCollapsed){var t=e.start;return this.getInsertMarksAtPoint(t)}var n=e,o=n.start,i=n.end,a=o.path,s=o.offset,u=i.path,c=i.offset,l=this.getDescendant(a),f=this.getDescendant(u);if(!a.equals(u)){for(;!a.equals(u)&&0===c;){var d=this.texts({path:u,direction:"backward"}),p=T(d,1),h=T(p[0],2);f=h[0],u=h[1],c=f.text.length}for(;!a.equals(u)&&s===l.text.length;){var v=this.texts({path:a}),y=T(v,1),g=T(y[0],2);l=g[0],a=g[1],s=0}}if(a.equals(u))return l.marks;var m=l.marks;if(0===m.size)return Object(r.Set)();var k=f.marks,x=m.intersect(k);if(0===x.size)return x;var _=this.texts({path:a}),b=T(_,1),w=T(b[0],2);for(l=w[0],a=w[1];!a.equals(u);){if(0!==l.text.length&&0===(x=x.intersect(l.marks)).size)return Object(r.Set)();var S=this.texts({path:a}),A=T(S,1),E=T(A[0],2);l=E[0],a=E[1]}return x}},{key:"getAncestors",value:function(e){var t=this.ancestors(e),n=Array.from(t,(function(e){return T(e,1)[0]})).reverse();return Object(r.List)(n)}},{key:"getBlocks",value:function(){var e=this.blocks({onlyLeaves:!0}),t=Array.from(e,(function(e){return T(e,1)[0]}));return Object(r.List)(t)}},{key:"getBlocksByType",value:function(e){var t=this.blocks({onlyLeaves:!0,onlyTypes:[e]}),n=Array.from(t,(function(e){return T(e,1)[0]}));return Object(r.List)(n)}},{key:"getChild",value:function(e){return!(e=this.resolvePath(e))||e.size>1?null:this.nodes.get(e.first())}},{key:"getClosest",value:function(e,t){var n=!0,r=!1,o=void 0;try{for(var i,a=this.ancestors(e)[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value,u=T(s,2),c=u[0];if(t(c,u[1]))return c}}catch(e){r=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(r)throw o}}return null}},{key:"getClosestBlock",value:function(e){return this.getClosest(e,(function(e){return"block"===e.object}))}},{key:"getClosestInline",value:function(e){return this.getClosest(e,(function(e){return"inline"===e.object}))}},{key:"getClosestVoid",value:function(e,t){return Object(s.default)(!de.isValue(t),"As of Slate 0.42.0, the `node.getClosestVoid` method takes an `editor` instead of a `value`."),this.getClosest(e,(function(e){return t.isVoid(e)}))}},{key:"getCommonAncestor",value:function(e,t){if(e=this.resolvePath(e),t=this.resolvePath(t),!e||!t)return null;var n=K.relate(e,t);return this.getNode(n)}},{key:"getDecorations",value:function(e){var t=e.run("decorateNode",this);return t=J.createList(t)}},{key:"getDepth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(!(e=this.resolvePath(e)))return null;var n=this.getNode(e),r=n?e.size-1+t:null;return r}},{key:"getDescendant",value:function(e){if(!(e=this.resolvePath(e))||!e.size)return null;var t=this;return e.forEach((function(e){return!!(t=t.getIn(["nodes",e]))})),t}},{key:"getDescendantsAtRange",value:function(e){var t=this.descendants({range:e}),n=Array.from(t,(function(e){return T(e,1)[0]}));return Object(r.List)(n)}},{key:"getFragmentAtRange",value:function(e){if((e=this.resolveRange(e)).isUnset)return re.create();for(var t=e,n=t.start,r=t.end,o=this,i=r.path,a=r.offset,s="end";i.size;){var u=i.last();o=o.splitNode(i,a),a=u+1,(i=K.lift(i)).size||"end"!==s||(i=n.path,a=n.offset,s="start")}var c=n.path.first()+1,l=r.path.first()+2,f=o.nodes.slice(c,l);return re.create({nodes:f})}},{key:"getFurthest",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Gt,n=this.ancestors(e),r=Array.from(n).reverse(),o=!0,i=!1,a=void 0;try{for(var s,u=r[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value,l=T(c,2),f=l[0],d=l[1];if(t(f,d))return f}}catch(e){i=!0,a=e}finally{try{!o&&u.return&&u.return()}finally{if(i)throw a}}return null}},{key:"getFurthestBlock",value:function(e){return this.getFurthest(e,(function(e){return"block"===e.object}))}},{key:"getFurthestChild",value:function(e){return(e=this.resolvePath(e))&&e.size?this.nodes.get(e.first()):null}},{key:"getFurthestInline",value:function(e){return this.getFurthest(e,(function(e){return"inline"===e.object}))}},{key:"getInlines",value:function(){var e=this.inlines({onlyLeaves:!0}),t=Array.from(e,(function(e){return T(e,1)[0]}));return Object(r.List)(t)}},{key:"getInlinesByType",value:function(e){var t=this.inlines({onlyLeaves:!0,onlyTypes:[e]}),n=Array.from(t,(function(e){return T(e,1)[0]}));return Object(r.List)(n)}},{key:"getInsertMarksAtPoint",value:function(e){var t=e=this.resolvePoint(e),n=t.path,r=t.offset,o=this.getDescendant(n);if(0!==r)return o.marks;var i=void 0,a=void 0,s=!0,u=!1,c=void 0;try{for(var l,f=this.ancestors(n)[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){var d=l.value,p=T(d,2),h=p[0],v=p[1];"block"===h.object&&(i=h,a=v)}}catch(e){u=!0,c=e}finally{try{!s&&f.return&&f.return()}finally{if(u)throw c}}var y=K.drop(n,a.size),g=i.texts({path:y,direction:"backward"}),m=T(g,1)[0];return m?T(m,1)[0].marks:o.marks}},{key:"getInsertMarksAtRange",value:function(e){var t=(e=this.resolveRange(e)).start;return e.isUnset?Object(r.Set)():e.isCollapsed?this.getInsertMarksAtPoint(t):this.getDescendant(t.path).marks}},{key:"getLeafBlocksAtRange",value:function(e){var t=this.blocks({range:e,onlyLeaves:!0}),n=Array.from(t,(function(e){return T(e,1)[0]}));return Object(r.List)(n)}},{key:"getLeafInlinesAtRange",value:function(e){var t=this.inlines({range:e,onlyLeaves:!0}),n=Array.from(t,(function(e){return T(e,1)[0]}));return Object(r.List)(n)}},{key:"getNodesToPathsMap",value:function(){var e="undefined"==typeof window?new zt.Map:new window.Map;return e.set(this,K.create([])),this.forEachDescendant((function(t,n){e.set(t,n)})),e}},{key:"getMarks",value:function(){var e=this.marks(),t=Array.from(e,(function(e){return T(e,1)[0]}));return Object(r.OrderedSet)(t)}},{key:"getMarksAtRange",value:function(e){var t=this.marks({range:e}),n=Array.from(t,(function(e){return T(e,1)[0]}));return Object(r.OrderedSet)(n)}},{key:"getMarksByType",value:function(e){var t=this.marks({onlyTypes:[e]}),n=Array.from(t,(function(e){return T(e,1)[0]}));return Object(r.OrderedSet)(n)}},{key:"getNextBlock",value:function(e){var t=this.blocks({path:e,onlyLeaves:!0}),n=T(t,1)[0];return n?n[0]:null}},{key:"getNextNode",value:function(e){var t=this.createIterable({path:e,downward:!1}),n=T(t,1)[0];return n?n[0]:null}},{key:"getNextSibling",value:function(e){var t=this.siblings(e),n=T(t,1)[0];return n?n[0]:null}},{key:"getNextText",value:function(e){var t=this.texts({path:e}),n=T(t,1)[0];return n?n[0]:null}},{key:"getOffset",value:function(e){e=this.resolvePath(e),this.assertDescendant(e);var t=e.first(),n=this.nodes.slice(0,t).reduce((function(e,t){return e+t.text.length}),0);return 1===e.size?n:n+this.nodes.get(t).getOffset(K.drop(e))}},{key:"getOffsetAtRange",value:function(e){if((e=this.resolveRange(e)).isUnset)throw new Error("The range cannot be unset to calculcate its offset.");if(e.isExpanded)throw new Error("The range must be collapsed to calculcate its offset.");var t=e.start;return this.getOffset(t.path)+t.offset}},{key:"getParent",value:function(e){if(!(e=this.resolvePath(e)))return null;if(!e.size)return null;var t=K.lift(e);return this.getNode(t)}},{key:"getPreviousBlock",value:function(e){var t=this.blocks({path:e,onlyLeaves:!0,direction:"backward"}),n=T(t,1)[0];return n?n[0]:null}},{key:"getPreviousNode",value:function(e){var t=this.createIterable({path:e,downward:!1,direction:"backward"}),n=T(t,1)[0];return n?n[0]:null}},{key:"getPreviousSibling",value:function(e){var t=this.siblings(e,{direction:"backward"}),n=T(t,1)[0];return n?n[0]:null}},{key:"getPreviousText",value:function(e){var t=this.texts({path:e,direction:"backward"}),n=T(t,1)[0];return n?n[0]:null}},{key:"getRootBlocksAtRange",value:function(e){var t=this.blocks({range:e,onlyRoots:!0}),n=Array.from(t,(function(e){return T(e,1)[0]}));return Object(r.List)(n)}},{key:"getRootInlinesAtRange",value:function(e){var t=this.inlines({range:e,onlyRoots:!0}),n=Array.from(t,(function(e){return T(e,1)[0]}));return Object(r.List)(n)}},{key:"getTextAtOffset",value:function(e){if(0===e)return this.getFirstText();if(e===this.text.length)return this.getLastText();if(e<0||e>this.text.length)return null;var t=0,n=!0,r=!1,o=void 0;try{for(var i,a=this.texts()[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value,u=T(s,1)[0];if((t+=u.text.length)>e)return u}}catch(e){r=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(r)throw o}}return null}},{key:"getTextDirection",value:function(){var e=y()(this.text);return"neutral"===e?null:e}},{key:"getTexts",value:function(){var e=this.texts(),t=Array.from(e,(function(e){return T(e,1)[0]}));return Object(r.List)(t)}},{key:"getTextsAtRange",value:function(e){var t=this.texts({range:e}),n=Array.from(t,(function(e){return T(e,1)[0]}));return Object(r.List)(n)}},{key:"hasBlockChildren",value:function(){return!(!this.nodes||!this.nodes.find((function(e){return"block"===e.object})))}},{key:"hasChild",value:function(e){return!!this.getChild(e)}},{key:"hasInlineChildren",value:function(){return!(!this.nodes||!this.nodes.find((function(e){return"inline"===e.object||"text"===e.object})))}},{key:"hasDescendant",value:function(e){return!!this.getDescendant(e)}},{key:"hasVoidParent",value:function(e,t){return Object(s.default)(!de.isValue(t),"As of Slate 0.42.0, the `node.hasVoidParent` method takes an `editor` instead of a `value`."),!!this.getClosestVoid(e,t)}},{key:"inlines",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.onlyLeaves,r=t.onlyRoots,o=t.onlyTypes,i=t.match,a=O(t,["onlyLeaves","onlyRoots","onlyTypes","match"]),s=this.descendants(A({includeBlocks:!1,includeTexts:!1,includeDocument:!1},a,{match:function(t,a){return!(o&&!o.includes(t.type))&&(!(n&&!t.isLeafInline())&&((!r||"block"===e.getParent(a).object)&&!(i&&!i(t,a))))}}));return s}},{key:"insertNode",value:function(e,t){var n=(e=this.resolvePath(e)).last(),r=K.lift(e),o=this.assertNode(r),i=o.nodes.splice(n,0,t);return o=o.set("nodes",i),this.replaceNode(r,o)}},{key:"insertText",value:function(e,t,n){e=this.resolvePath(e);var r=this.assertDescendant(e);return r=r.insertText(t,n),this.replaceNode(e,r)}},{key:"isLeafBlock",value:function(){return"block"===this.object&&!this.nodes.some((function(e){return"block"===e.object}))}},{key:"isLeafInline",value:function(){return"inline"===this.object&&!this.nodes.some((function(e){return"inline"===e.object}))}},{key:"isInRange",value:function(e,t){if(e=this.resolvePath(e),(t=this.resolveRange(t)).isUnset)return!1;var n=K.compare(e,t.start.path),r=K.compare(e,t.end.path),o=-1!==n&&1!==r;return o}},{key:"mapChildren",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Gt,n=this.nodes;n.forEach((function(r,o){var i=t(r,o,e.nodes);i!==r&&(n=n.set(i.key,i))}));var r=this.set("nodes",n);return r}},{key:"mapDescendants",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Gt,n=this.nodes;n.forEach((function(r,o){var i=r;"text"!==i.object&&(i=i.mapDescendants(t)),(i=t(i,o,e.nodes))!==r&&(n=n.set(o,i))}));var r=this.set("nodes",n);return r}},{key:"marks",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.onlyTypes,n=void 0===t?null:t,r=e.match,o=O(e,["onlyTypes","match"]),i=this.texts(o);return S({},Symbol.iterator,(function(){var e=i[Symbol.iterator](),t=null,o=null,a=[];return{next:function i(){if(a.length){var s=a.shift();return n&&!n.includes(s.type)||r&&!r(s,t,o)?i():{value:[s,t,o],done:!1}}var u=e.next(),c=u.value;if(u.done)return{done:!0};var l=T(c,2);return t=l[0],o=l[1],a=t.marks.toArray(),i()}}}))}},{key:"mergeNode",value:function(e){var t=this.assertNode(e);if(0===(e=this.resolvePath(e)).last())throw new Error("Unable to merge node because it has no previous sibling: "+t);var n=K.decrement(e),r=this.assertNode(n);if(r.object!==t.object)throw new Error("Unable to merge two different kinds of nodes: "+r+" and "+t);var o="text"===r.object?r.mergeText(t):r.set("nodes",r.nodes.concat(t.nodes)),i=this;return i=(i=(i=i.removeNode(e)).removeNode(n)).insertNode(n,o)}},{key:"moveNode",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=this.assertNode(e);e=this.resolvePath(e),t=this.resolvePath(t,n);var o=K.lift(t);this.assertNode(o);var i=ke.create({type:"move_node",path:e,newPath:t});t=K.transform(e,i).first();var a=this;return a=(a=a.removeNode(e)).insertNode(t,r)}},{key:"removeMark",value:function(e,t){e=this.resolvePath(e);var n=this.assertDescendant(e);return n=n.removeMark(t),this.replaceNode(e,n)}},{key:"removeNode",value:function(e){this.assertDescendant(e);var t=(e=this.resolvePath(e)).flatMap((function(e){return["nodes",e]}));return this.deleteIn(t)}},{key:"removeText",value:function(e,t,n){var r=this.assertDescendant(e);return r=r.removeText(t,n.length),this.replaceNode(e,r)}},{key:"replaceNode",value:function(e,t){if(!(e=this.resolvePath(e)))throw new Error("Unable to replace a node because it could not be found in the first place: "+e);if(!e.size)return t;this.assertNode(e);var n=e.flatMap((function(e){return["nodes",e]}));return this.setIn(n,t)}},{key:"resolveAnnotation",value:function(e){return e=(e=te.create(e)).normalize(this)}},{key:"resolveDecoration",value:function(e){return e=(e=J.create(e)).normalize(this)}},{key:"resolvePoint",value:function(e){return e=(e=G.create(e)).normalize(this)}},{key:"resolveRange",value:function(e){return e=(e=Q.create(e)).normalize(this)}},{key:"resolveSelection",value:function(e){return e=(e=Y.create(e)).normalize(this)}},{key:"setNode",value:function(e,t){var n=this.assertNode(e);return n=n.merge(t),this.replaceNode(e,n)}},{key:"setMark",value:function(e,t,n){e=this.resolvePath(e);var r=this.assertDescendant(e);return r=r.setMark(t,n),this.replaceNode(e,r)}},{key:"siblings",value:function(e,t){return this.createIterable(A({path:e,upward:!1,downward:!1},t))}},{key:"splitNode",value:function(e,t,n){var r=this.assertNode(e);e=this.resolvePath(e);var o=void 0,i=void 0;if("text"===r.object){var a=r.splitText(t),s=T(a,2);o=s[0],i=s[1]}else{var u=r.nodes.take(t),c=r.nodes.skip(t);o=r.set("nodes",u),i=r.set("nodes",c).regenerateKey()}n&&"text"!==r.object&&(i=i.merge(n));var l=this;return l=(l=(l=l.removeNode(e)).insertNode(e,i)).insertNode(e,o)}},{key:"texts",value:function(e){return this.descendants(A({includeBlocks:!1,includeInlines:!1,includeDocument:!1},e))}},{key:"getBlocksAtRange",value:function(e){return Object(a.a)(!1,"As of slate@0.44 the `node.getBlocksAtRange` method has been renamed to `getLeafBlocksAtRange`."),this.getLeafBlocksAtRange(e)}},{key:"getBlocksAtRangeAsArray",value:function(e){return Object(a.a)(!1,"As of slate@0.44 the `node.getBlocksAtRangeAsArray` method has been renamed to `getLeafBlocksAtRangeAsArray`."),this.getLeafBlocksAtRangeAsArray(e)}},{key:"getInlinesAtRange",value:function(e){return Object(a.a)(!1,"As of slate@0.44 the `node.getInlinesAtRange` method has been renamed to `getLeafInlinesAtRange`."),this.getLeafInlinesAtRange(e)}},{key:"getInlinesAtRangeAsArray",value:function(e){return Object(a.a)(!1,"As of slate@0.44 the `node.getInlinesAtRangeAsArray` method has been renamed to `getLeafInlinesAtRangeAsArray`."),this.getLeafInlinesAtRangeAsArray(e)}},{key:"getNextTextAndPath",value:function(e){return Object(a.a)(!1,"As of slate@0.47, the `getNextTextAndPath` method has been renamed to `getNextTextEntry`."),this.getNextTextEntry(e)}},{key:"getNextDeepMatchingNodeAndPath",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0};Object(a.a)(!1,"As of slate@0.47, the `getNextDeepMatchingNodeAndPath` method is deprecated.");var n=this.getNextMatchingNodeAndPath(e);if(!n)return null;for(var r=T(n,2),o=r[0],i=r[1],s=void 0,u=function(){return s="text"!==o.object&&o.findFirstDescendantAndPath(t,i)};u(s);){var c=s,l=T(c,2);o=l[0],i=l[1]}return o?t(o)?[o,i]:this.getNextDeepMatchingNodeAndPath(n[1],t):null}},{key:"getPreviousTextAndPath",value:function(e){return Object(a.a)(!1,"As of slate@0.47, the `getPreviousTextAndPath` method has been renamed to `getPreviousTextEntry`."),this.getPreviousTextEntry(e)}},{key:"findFirstDescendantAndPath",value:function(e,t){return Object(a.a)(!1,"As of slate@0.47, the `findFirstDescendantAndPath` method is deprecated."),this.findDescendantAndPath(e,t,!1)}},{key:"getPreviousMatchingNodeAndPath",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0};if(Object(a.a)(!1,"As of slate@0.47, the `getPreviousMatchingNodeAndPath` method is deprecated."),!e)return null;for(var n=e.size;n>0;n--){var r=e.slice(0,n);if(0!==r.last()){for(var o=K.decrement(r),i=this.getNode(o);i&&!t(i);)o=K.decrement(o),i=this.getNode(o);if(i)return[i,o]}}return null}},{key:"getPreviousDeepMatchingNodeAndPath",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0};Object(a.a)(!1,"As of slate@0.47, the `getPreviousDeepMatchingNodeAndPath` method is deprecated.");var n=this.getPreviousMatchingNodeAndPath(e);if(!n)return null;for(var r=T(n,2),o=r[0],i=r[1],s=void 0,u=function(){return s="text"!==o.object&&o.findLastDescendantAndPath(t,i)};u(s);){var c=s,l=T(c,2);o=l[0],i=l[1]}return o?t(o)?[o,i]:this.getPreviousDeepMatchingNodeAndPath(n[1],t):null}},{key:"findLastDescendantAndPath",value:function(e,t){return Object(a.a)(!1,"As of slate@0.47, the `findLastDescendantAndPath` method is deprecated."),this.findDescendantAndPath(e,t,!0)}},{key:"findDescendantAndPath",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K.create([]),n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];Object(a.a)(!1,"As of slate@0.47, the `findDescendantAndPath` method is deprecated.");var r=void 0,o=void 0;return this.forEachDescendantWithPath((function(t,n,i){if(e(t,n,i))return r=t,o=n,!1}),t,n),r?[r,o]:null}},{key:"forEachDescendantWithPath",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K.create([]),n=arguments[2];Object(a.a)(!1,"As of slate@0.47, the `forEachDescendantWithPath` method is deprecated.");var r=this.nodes,o=void 0;return n&&(r=r.reverse()),r.forEach((function(i,a){var s=t.concat(a);return!1===e(i,s,r)?(o=!1,!1):"text"!==i.object?o=i.forEachDescendantWithPath(e,s,n):void 0})),o}},{key:"getNextMatchingNodeAndPath",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0};if(Object(a.a)(!1,"As of slate@0.47, the `getNextMatchingNodeAndPath` method is deprecated."),!e)return null;for(var n=e.size;n>0;n--){for(var r=e.slice(0,n),o=K.increment(r),i=this.getNode(o);i&&!t(i);)o=K.increment(o),i=this.getNode(o);if(i)return[i,o]}return null}},{key:"getSelectionIndexes",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Object(a.a)(!1,"As of slate@0.47, the `getSelectionIndexes` method is deprecated.");var n=e.start,r=e.end;if(!t)return null;if(e.isUnset)return null;if(n.path.equals(r.path)){var o=this.getFurthestAncestor(n.path),i=o?this.nodes.indexOf(o):null;return{start:i,end:i+1}}var s=null,u=null;return this.nodes.forEach((function(e,t){return"text"===e.object?(null==s&&e.key===n.key&&(s=t),null==u&&e.key===r.key&&(u=t+1)):(null==s&&e.hasDescendant(n.key)&&(s=t),null==u&&e.hasDescendant(r.key)&&(u=t+1)),null==s||null==u})),t&&null==s&&(s=0),t&&null==u&&(u=this.nodes.size),null==s?null:{start:s,end:u}}},{key:"getTextsBetweenPositionsAsArray",value:function(e,t){return Object(a.a)(!1,"As of slate@0.47, the `getTextsBetweenPositionsAsArray` method is deprecated."),e=this.resolvePath(e),t=this.resolvePath(t),this.getTextsBetweenPathPositionsAsArray(e,t)}},{key:"getOrderedMarksBetweenPositions",value:function(e,t,n,o){Object(a.a)(!1,"As of slate@0.47, the `getOrderedMarksBetweenPositions` method is deprecated."),e=this.resolvePath(e),n=this.resolvePath(n);var i=this.getDescendant(e);if(K.isEqual(e,n))return i.marks;var s=this.getTextsBetweenPathPositionsAsArray(e,n);return Object(r.OrderedSet)().withMutations((function(e){s.forEach((function(t){e.union(t.marks)}))}))}},{key:"getTextsBetweenPathPositionsAsArray",value:function(e,t){if(Object(a.a)(!1,"As of slate@0.47, the `getTextsBetweenPathPositionsAsArray` method is deprecated."),e&&t&&K.isEqual(e,t))return[this.getDescendant(e)];if(!e&&!t)return this.getTextsAsArray();var n=e?e.get(0,0):0,r=t?t.get(0,this.nodes.size-1):this.nodes.size-1,o=[];return this.nodes.slice(n,r+1).forEach((function(i,a){if("text"===i.object)o.push(i);else{var s=e&&0===a?K.drop(e):null,u=t&&a===r-n?K.drop(t):null;o=o.concat(i.getTextsBetweenPathPositionsAsArray(s,u))}})),o}},{key:"getFurthestAncestor",value:function(e){return Object(a.a)(!1,"As of slate@0.47, the `getFurthestAncestor` method has been renamed to `getFurthestChild`."),this.getFurthestChild(e)}},{key:"getLeafBlocksAtRangeAsArray",value:function(e){if(Object(a.a)(!1,"As of slate@0.47, the `getLeafBlocksAtRangeAsArray` method is deprecated."),(e=this.resolveRange(e)).isUnset)return[];var t=e,n=t.start,r=t.end;return this.getLeafBlocksBetweenPathPositionsAsArray(n.path,r.path)}},{key:"getLeafBlocksBetweenPathPositionsAsArray",value:function(e,t){if(Object(a.a)(!1,"As of slate@0.47, the `getLeafBlocksBetweenPathPositionsAsArray` method is deprecated."),e&&t&&K.isEqual(e,t))return[this.getClosestBlock(e)];if(!e&&!t)return this.getBlocksAsArray();var n=e?e.get(0,0):0,r=t?t.get(0,this.nodes.size-1):this.nodes.size-1,o=[];return this.nodes.slice(n,r+1).forEach((function(i,a){if("block"===i.object)if(i.isLeafBlock())o.push(i);else{var s=e&&0===a?K.drop(e):null,u=t&&a===r-n?K.drop(t):null;o=o.concat(i.getLeafBlocksBetweenPathPositionsAsArray(s,u))}})),o}},{key:"getBlocksAsArray",value:function(){Object(a.a)(!1,"As of slate@0.47, the `getBlocksAsArray` method is deprecated.");var e=this.blocks({onlyLeaves:!0});return Array.from(e,(function(e){return T(e,1)[0]}))}},{key:"getBlocksByTypeAsArray",value:function(e){Object(a.a)(!1,"As of slate@0.47, the `getBlocksByTypeAsArray` method is deprecated.");var t=this.blocks({onlyLeaves:!0,onlyTypes:[e]});return Array.from(t,(function(e){return T(e,1)[0]}))}},{key:"getFurthestOnlyChildAncestor",value:function(e){Object(a.a)(!1,"As of slate@0.47, the `getFurthestOnlyChildAncestor` method is deprecated.");var t=this.getAncestors(e);return t&&t.rest().reverse().takeUntil((function(e){return e.nodes.size>1})).last()||null}},{key:"getInlinesAsArray",value:function(){return Object(a.a)(!1,"As of slate@0.47, the `getInlinesAsArray` method is deprecated."),Array.from(this.inlines({onlyLeaves:!0}),(function(e){return T(e,1)[0]}))}},{key:"getInlinesByTypeAsArray",value:function(e){return Object(a.a)(!1,"As of slate@0.47, the `getInlinesByTypeAsArray` method is deprecated."),Array.from(this.inlines({onlyLeaves:!0,onlyTypes:[e]}),(function(e){return T(e,1)[0]}))}},{key:"getLeafInlinesAtRangeAsArray",value:function(e){var t=this;return Object(a.a)(!1,"As of slate@0.47, the `getLeafInlinesAtRangeAsArray` method is deprecated."),(e=this.resolveRange(e)).isUnset?[]:this.getTextsAtRangeAsArray(e).map((function(e){return t.getClosestInline(e.key)})).filter((function(e){return e}))}},{key:"getOrderedMarks",value:function(){return Object(a.a)(!1,"As of slate@0.47, the `getOrderedMarks` method has been folded into `getMarks`, which will now return an ordered set."),this.getMarks()}},{key:"getOrderedMarksAtRange",value:function(e){return Object(a.a)(!1,"As of slate@0.47, the `getOrderedMarksAtRange` method has been folded into `getMarksAtRange`, which will now return an ordered set."),this.getMarksAtRange(e)}},{key:"getOrderedMarksByType",value:function(e){return Object(a.a)(!1,"As of slate@0.47, the `getOrderedMarksByType` method has been folded into `getMarksByType`, which will now return an ordered set."),this.getMarksByType(e)}},{key:"getMarksByTypeAsArray",value:function(e){return Object(a.a)(!1,"As of slate@0.47, the `getMarksByTypeAsArray` method is deprecated."),this.nodes.reduce((function(t,n){return"text"===n.object?t.concat(n.marks.filter((function(t){return t.type===e}))):t.concat(n.getMarksByTypeAsArray(e))}),[])}},{key:"getMarksAsArray",value:function(){var e;Object(a.a)(!1,"As of slate@0.47, the `getMarksAsArray` method is deprecated.");var t=[],n=!0,r=!1,o=void 0;try{for(var i,s=this.texts()[Symbol.iterator]();!(n=(i=s.next()).done);n=!0){var u=i.value,c=T(u,1)[0];t.push(c.marks.toArray())}}catch(e){r=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}return(e=[]).concat.apply(e,t)}},{key:"getRootInlinesAtRangeAsArray",value:function(e){var t=this;return Object(a.a)(!1,"As of slate@0.47, the `getRootInlinesAtRangeAsArray` method is deprecated."),(e=this.resolveRange(e)).isUnset?Object(r.List)():this.getTextsAtRangeAsArray(e).map((function(e){return t.getFurthestInline(e.key)})).filter((function(e){return e}))}},{key:"getTextsAsArray",value:function(){Object(a.a)(!1,"As of slate@0.47, the `getTextsAsArray` method is deprecated.");var e=this.texts();return Array.from(e,(function(e){return T(e,1)[0]}))}},{key:"getTextsAtRangeAsArray",value:function(e){Object(a.a)(!1,"As of slate@0.47, the `getTextsAtRangeAsArray` method is deprecated.");var t=this.texts({range:e});return Array.from(t,(function(e){return T(e,1)[0]}))}},{key:"getMarksAtPosition",value:function(e,t){Object(a.a)(!1,"As of slate@0.47, the `getMarksAtPosition` method is deprecated."),e=this.resolvePath(e);var n=this.getDescendant(e).marks;if(0!==t)return Object(r.OrderedSet)(n);var o=this.getClosestBlock(e);if(""===o.text)return Object(r.OrderedSet)(n);var i=this.texts({path:e,direction:"backward"}),s=T(i,1)[0];if(!s)return Object(r.OrderedSet)();var u=T(s,2),c=u[0],l=u[1];return o.hasDescendant(l)?Object(r.OrderedSet)(c.marks):Object(r.OrderedSet)(n)}},{key:"getNodesAtRange",value:function(e){Object(a.a)(!1,"As of slate@0.47, the `getNodesAtRange` method has been renamed to `getDescendantsAtRange`.");var t=this.descendants({range:e}),n=Array.from(t,(function(e){return T(e,1)[0]}));return Object(r.List)(n)}},{key:"isNodeInRange",value:function(e,t){return Object(a.a)(!1,"As of slate@0.47, the `isNodeInRange` method has been renamed to `isInRange`."),this.isInRange(e,t)}},{key:"text",get:function(){return this.getText()}}]),e}(),Ut=function(e){Vt.prototype["assert"+e]=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var i=this["get"+e].apply(this,[t].concat(r));if(null==i)throw new Error("`Node.assert"+e+"` could not find node with path or key: "+t);return i}},qt=!0,Wt=!1,Jt=void 0;try{for(var Ht,Yt=["Child","Depth","Descendant","Node","Parent","Path"][Symbol.iterator]();!(qt=(Ht=Yt.next()).done);qt=!0){Ut(Ht.value)}}catch(e){Wt=!0,Jt=e}finally{try{!qt&&Yt.return&&Yt.return()}finally{if(Wt)throw Jt}}It(Vt.prototype,["getBlocksAsArray","getBlocksByTypeAsArray","getDecorations","getFragmentAtRange","getInlinesAsArray","getInlinesByTypeAsArray","getInsertMarksAtRange","getLeafBlocksAtRangeAsArray","getLeafBlocksAtRangeAsArray","getLeafInlinesAtRangeAsArray","getMarksAsArray","getMarksAtPosition","getMarksByTypeAsArray","getNextBlock","getNodesAtRange","getNodesToPathsMap","getOffset","getOffsetAtRange","getOrderedMarksBetweenPositions","getPreviousBlock","getRootBlocksAtRange","getRootInlinesAtRangeAsArray","getTextAtOffset","getTextDirection","getTextsAsArray","getTextsBetweenPathPositionsAsArray"]),Ct(Vt,[le,re,ie]),Ct(function(){function e(){b(this,e)}return w(e,[{key:"flip",value:function(){return this.setPoints([this.focus,this.anchor])}},{key:"moveForward",value:function(e){return this.updatePoints((function(t){return t.moveForward(e)}))}},{key:"moveBackward",value:function(e){return this.updatePoints((function(t){return t.moveBackward(e)}))}},{key:"moveAnchorBackward",value:function(e){return this.setAnchor(this.anchor.moveBackward(e))}},{key:"moveAnchorForward",value:function(e){return this.setAnchor(this.anchor.moveForward(e))}},{key:"moveAnchorTo",value:function(e,t){return this.setAnchor(this.anchor.moveTo(e,t))}},{key:"moveAnchorToStartOfNode",value:function(e){return this.setAnchor(this.anchor.moveToStartOfNode(e))}},{key:"moveAnchorToEndOfNode",value:function(e){return this.setAnchor(this.anchor.moveToEndOfNode(e))}},{key:"moveEndBackward",value:function(e){return this.setEnd(this.end.moveBackward(e))}},{key:"moveEndForward",value:function(e){return this.setEnd(this.end.moveForward(e))}},{key:"moveEndTo",value:function(e,t){return this.setEnd(this.end.moveTo(e,t))}},{key:"moveEndToStartOfNode",value:function(e){return this.setEnd(this.end.moveToStartOfNode(e))}},{key:"moveEndToEndOfNode",value:function(e){return this.setEnd(this.end.moveToEndOfNode(e))}},{key:"moveFocusBackward",value:function(e){return this.setFocus(this.focus.moveBackward(e))}},{key:"moveFocusForward",value:function(e){return this.setFocus(this.focus.moveForward(e))}},{key:"moveFocusTo",value:function(e,t){return this.setFocus(this.focus.moveTo(e,t))}},{key:"moveFocusToStartOfNode",value:function(e){return this.setFocus(this.focus.moveToStartOfNode(e))}},{key:"moveFocusToEndOfNode",value:function(e){return this.setFocus(this.focus.moveToEndOfNode(e))}},{key:"moveStartBackward",value:function(e){return this.setStart(this.start.moveBackward(e))}},{key:"moveStartForward",value:function(e){return this.setStart(this.start.moveForward(e))}},{key:"moveStartTo",value:function(e,t){return this.setStart(this.start.moveTo(e,t))}},{key:"moveStartToStartOfNode",value:function(e){return this.setStart(this.start.moveToStartOfNode(e))}},{key:"moveStartToEndOfNode",value:function(e){return this.setStart(this.start.moveToEndOfNode(e))}},{key:"moveTo",value:function(e,t){return this.updatePoints((function(n){return n.moveTo(e,t)}))}},{key:"moveToAnchor",value:function(){return this.setFocus(this.anchor)}},{key:"moveToEnd",value:function(){return this.setStart(this.end)}},{key:"moveToEndOfNode",value:function(e){return this.updatePoints((function(t){return t.moveToEndOfNode(e)}))}},{key:"moveToFocus",value:function(){return this.setAnchor(this.focus)}},{key:"moveToRangeOfNode",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.setPoints([this.anchor.moveToStartOfNode(e),this.focus.moveToEndOfNode(t)]);return n}},{key:"moveToStart",value:function(){return this.setEnd(this.start)}},{key:"moveToStartOfNode",value:function(e){return this.updatePoints((function(t){return t.moveToStartOfNode(e)}))}},{key:"normalize",value:function(e){return this.updatePoints((function(t){return t.normalize(e)}))}},{key:"setAnchor",value:function(e){return this.set("anchor",e)}},{key:"setEnd",value:function(e){return this.isBackward?this.setAnchor(e):this.setFocus(e)}},{key:"setFocus",value:function(e){return this.set("focus",e)}},{key:"setPoints",value:function(e){var t=T(e,2),n=t[0],r=t[1];return this.set("anchor",n).set("focus",r)}},{key:"updatePoints",value:function(e){var t=this.anchor,n=this.focus;return t=e(t),n=e(n),this.merge({anchor:t,focus:n})}},{key:"setStart",value:function(e){return this.isBackward?this.setFocus(e):this.setAnchor(e)}},{key:"setProperties",value:function(e){var t=e=Q.createProperties(e),n=t.anchor,r=t.focus,o=O(t,["anchor","focus"]);return n&&(o.anchor=G.create(n)),r&&(o.focus=G.create(r)),this.merge(o)}},{key:"toJSON",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={object:this.object,anchor:this.anchor.toJSON(e),focus:this.focus.toJSON(e)};return t}},{key:"toRange",value:function(){var e=Q.createProperties(this);return Q.create(e)}},{key:"unset",value:function(){return this.updatePoints((function(e){return e.unset()}))}},{key:"isCollapsed",get:function(){return this.anchor===this.focus||this.anchor.key===this.focus.key&&this.anchor.offset===this.focus.offset}},{key:"isExpanded",get:function(){return!this.isCollapsed}},{key:"isBackward",get:function(){var e=this.isUnset,t=this.anchor,n=this.focus;return e?null:t.key===n.key?t.offset>n.offset:K.isBefore(n.path,t.path)}},{key:"isForward",get:function(){var e=this.isBackward;return null==e?null:!e}},{key:"isUnset",get:function(){var e=this.anchor,t=this.focus;return e.isUnset||t.isUnset}},{key:"isSet",get:function(){return!this.isUnset}},{key:"start",get:function(){return this.isBackward?this.focus:this.anchor}},{key:"end",get:function(){return this.isBackward?this.anchor:this.focus}}]),e}(),[te,J,Q,Y]);var $t={Annotation:te,Block:le,Change:_e,Data:V,Decoration:J,Document:re,Editor:bt,Inline:ie,KeyUtils:x,Leaf:Ot,Mark:q,Node:ue,Operation:ke,PathUtils:K,Point:G,Range:Q,resetMemoization:Rt,Selection:Y,Text:se,TextUtils:Fe,useMemoization:Lt,Value:de};t.default=$t}.call(this,n(44))},8325:function(e,t,n){"use strict";n.r(t);var r=n(8315),o=n(8269),i=Object.assign||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};function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.delimiter,o=void 0===n?"\n":n;return"document"===e.object||"block"===e.object&&r.Block.isBlockList(e.nodes)?e.nodes.map(a).join(o):e.text}var s={deserialize:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.defaultBlock,a=void 0===n?"line":n,s=t.defaultMarks,u=void 0===s?[]:s,c=t.delimiter,l=void 0===c?"\n":c,f=t.toJSON,d=void 0!==f&&f;o.Set.isSet(u)&&(u=u.toArray()),a=r.Node.createProperties(a),u=u.map(r.Mark.createProperties);var p={object:"value",document:{object:"document",data:{},nodes:e.split(l).map((function(e){return i({},a,{object:"block",data:{},nodes:[{object:"text",text:e,marks:u}]})}))}},h=d?p:r.Value.fromJSON(p);return h},serialize:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a(e.document,t)}};t.default=s},8371:function(e,t,n){"use strict";var r=n(8417),o=n(11149),i=n(11150),a=n(11152),s=n(9194),u=n(8269),c=n(11155),l=n(11156),f=n(8275),d=n(10396),p=n(10394),h=n(11157),v=n(11158),y=u.OrderedSet,g={replaceText:function(e,t,n,o,i){var a=p(e,t),s=h(a,t),u=r.create({style:o||y(),entity:i||null});return l(s,s.getSelectionAfter(),n,u)},insertText:function(e,t,n,r,o){return t.isCollapsed()||f(!1),g.replaceText(e,t,n,r,o)},moveText:function(e,t,n){var r=s(e,t),o=g.removeRange(e,t,"backward");return g.replaceWithFragment(o,n,r)},replaceWithFragment:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",o=p(e,t),i=h(o,t);return c(i,i.getSelectionAfter(),n,r)},removeRange:function(e,t,n){var r,o,i,s;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),r=t.getAnchorKey(),o=t.getFocusKey(),i=e.getBlockForKey(r),s=e.getBlockForKey(o);var u=t.getStartOffset(),c=t.getEndOffset(),l=i.getEntityAt(u),f=s.getEntityAt(c-1);if(r===o&&l&&l===f){var d=a(e.getEntityMap(),i,s,t,n);return h(e,d)}var v=p(e,t);return h(v,t)},splitBlock:function(e,t){var n=p(e,t),r=h(n,t);return v(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return o.add(e,t,n)},removeInlineStyle:function(e,t,n){return o.remove(e,t,n)},setBlockType:function(e,t,n){return d(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return d(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return d(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var r=p(e,t);return i(r,t,n)}};e.exports=g},8372:function(e,t,n){"use strict";e.exports=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")}},8402:function(e,t,n){"use strict";var r=n(11167),o=n(11169),i=n(11170),a=n(11171);function s(e,t,n,r){if(e===n)return!0;if(!n.startsWith(e))return!1;var i=n.slice(e.length);return!!t&&(i=r?r(i):i,o.contains(i,t))}function u(e){return"Windows"===r.platformName?e.replace(/^\s*NT/,""):e}var c={isBrowser:function(e){return s(r.browserName,r.browserFullVersion,e)},isBrowserArchitecture:function(e){return s(r.browserArchitecture,null,e)},isDevice:function(e){return s(r.deviceName,null,e)},isEngine:function(e){return s(r.engineName,r.engineVersion,e)},isPlatform:function(e){return s(r.platformName,r.platformFullVersion,e,u)},isPlatformArchitecture:function(e){return s(r.platformArchitecture,null,e)}};e.exports=i(c,a)},8417:function(e,t,n){"use strict";var r=n(8269),o=r.Map,i=r.OrderedSet,a=r.Record,s=i(),u={style:s,entity:null},c=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getStyle=function(){return this.get("style")},i.getEntity=function(){return this.get("entity")},i.hasStyle=function(e){return this.getStyle().includes(e)},r.applyStyle=function(e,t){var n=e.set("style",e.getStyle().add(t));return r.create(n)},r.removeStyle=function(e,t){var n=e.set("style",e.getStyle().remove(t));return r.create(n)},r.applyEntity=function(e,t){var n=e.getEntity()===t?e:e.set("entity",t);return r.create(n)},r.create=function(e){if(!e)return l;var t=o({style:s,entity:null}).merge(e),n=f.get(t);if(n)return n;var i=new r(t);return f=f.set(t,i),i},r}(a(u)),l=new c,f=o([[o(u),l]]);c.EMPTY=l,e.exports=c},8418:function(e,t,n){"use strict";var r=n(8417),o=n(9029),i=n(8269),a=i.List,s=i.Map,u=i.OrderedSet,c=i.Record,l=i.Repeat,f=u(),d={parent:null,characterList:a(),data:s(),depth:0,key:"",text:"",type:"unstyled",children:a(),prevSibling:null,nextSibling:null},p=function(e,t){return e.getStyle()===t.getStyle()},h=function(e,t){return e.getEntity()===t.getEntity()},v=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=a(l(r.EMPTY,n.length))),e},y=function(e){var t,n;function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d;return e.call(this,v(t))||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():f},i.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},i.getChildKeys=function(){return this.get("children")},i.getParentKey=function(){return this.get("parent")},i.getPrevSiblingKey=function(){return this.get("prevSibling")},i.getNextSiblingKey=function(){return this.get("nextSibling")},i.findStyleRanges=function(e,t){o(this.getCharacterList(),p,e,t)},i.findEntityRanges=function(e,t){o(this.getCharacterList(),h,e,t)},r}(c(d));e.exports=y},8486:function(e,t,n){"use strict";var r={},o=Math.pow(2,24);e.exports=function(){for(var e;void 0===e||r.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*o).toString(32);return r[e]=!0,e}},8539:function(e,t,n){"use strict";var r={encode:function(e,t,n){return e+"-"+t+"-"+n},decode:function(e){var t=e.split("-").reverse(),n=t[0],r=t[1];return{blockKey:t.slice(2).reverse().join("-"),decoratorKey:parseInt(r,10),leafKey:parseInt(n,10)}}};e.exports=r},8580:function(e,t,n){"use strict";e.exports=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]}},8616:function(e,t,n){var r=n(10845),o=n(10848);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},8695:function(e,t,n){"use strict";var r=n(8417),o=n(9029),i=n(8269),a=i.List,s=i.Map,u=i.OrderedSet,c=i.Record,l=i.Repeat,f=u(),d=c({key:"",type:"unstyled",text:"",characterList:a(),depth:0,data:s()}),p=function(e){var t,n;function i(t){return e.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=a(l(r.EMPTY,n.length))),e}(t))||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var s=i.prototype;return s.getKey=function(){return this.get("key")},s.getType=function(){return this.get("type")},s.getText=function(){return this.get("text")},s.getCharacterList=function(){return this.get("characterList")},s.getLength=function(){return this.getText().length},s.getDepth=function(){return this.get("depth")},s.getData=function(){return this.get("data")},s.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():f},s.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},s.findStyleRanges=function(e,t){o(this.getCharacterList(),h,e,t)},s.findEntityRanges=function(e,t){o(this.getCharacterList(),v,e,t)},i}(d);function h(e,t){return e.getStyle()===t.getStyle()}function v(e,t){return e.getEntity()===t.getEntity()}e.exports=p},8696:function(e,t,n){"use strict";function r(e){return e.replace(/\//g,"-")}e.exports=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(r).join(" "):Array.prototype.map.call(arguments,r).join(" ")}},8697:function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE}},8698:function(e,t,n){"use strict";var r=n(8275),o=/[\uD800-\uDFFF]/;function i(e){return 55296<=e&&e<=57343}function a(e){return o.test(e)}function s(e,t){return 1+i(e.charCodeAt(t))}function u(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!a(e))return e.substr(t,n);var r=e.length;if(r<=0||t>r||n<=0)return"";var o=0;if(t>0){for(;t>0&&o<r;t--)o+=s(e,o);if(o>=r)return""}else if(t<0){for(o=r;t<0&&0<o;t++)o-=s(e,o-1);o<0&&(o=0)}var i=r;if(n<r)for(i=o;n>0&&i<r;n--)i+=s(e,i);return e.substring(o,i)}var c={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=s(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:s,hasSurrogateUnit:a,isCodeUnitInSurrogateRange:i,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||r(!1),t+1===e.length)return!1;var n=e.charCodeAt(t),o=e.charCodeAt(t+1);return 55296<=n&&n<=56319&&56320<=o&&o<=57343},strlen:function(e){if(!a(e))return e.length;for(var t=0,n=0;n<e.length;n+=s(e,n))t++;return t},substring:function(e,t,n){(t=t||0)<0&&(t=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var r=Math.abs(n-t);return u(e,t=t<n?t:n,r)},substr:u};e.exports=c},8737:function(e,t,n){var r=n(711),o=n(9378),i=n(10840),a=n(1289);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},8738:function(e,t,n){var r=n(756);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},8739:function(e,t,n){var r=n(10327),o=n(10881),i=n(8841);e.exports=function(e){return i(e)?r(e):o(e)}},8840:function(e,t,n){var r=n(9381),o=n(10320);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,u=t.length;++s<u;){var c=t[s],l=i?i(n[c],e[c],c,n,e):void 0;void 0===l&&(l=e[c]),a?o(n,c,l):r(n,c,l)}return n}},8841:function(e,t,n){var r=n(10318),o=n(9382);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},9028:function(e,t,n){"use strict";var r=n(8269).OrderedMap,o={createFromArray:function(e){return r(e.map((function(e){return[e.getKey(),e]})))}};e.exports=o},9029:function(e,t,n){"use strict";e.exports=function(e,t,n,r){if(e.size){var o=0;e.reduce((function(e,i,a){return t(e,i)||(n(e)&&r(o,a),o=a),i})),n(e.last())&&r(o,e.count())}}},9030:function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)}},9031:function(e,t,n){"use strict";var r=n(10409).notEmptyKey;function o(e,t){return r(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}e.exports=function(e,t){var n;if(t.isCollapsed()){var r=t.getAnchorKey(),i=t.getAnchorOffset();return i>0?(n=e.getBlockForKey(r).getEntityAt(i-1))!==e.getBlockForKey(r).getEntityAt(i)?null:o(e.getEntityMap(),n):null}var a=t.getStartKey(),s=t.getStartOffset(),u=e.getBlockForKey(a);return n=s===u.getLength()?null:u.getEntityAt(s),o(e.getEntityMap(),n)}},9032:function(e,t,n){"use strict";var r=n(8371),o=n(8580)("draft_tree_data_support");e.exports=function(e,t,n){var i=e.getSelection(),a=e.getCurrentContent(),s=i,u=i.getAnchorKey(),c=i.getFocusKey(),l=a.getBlockForKey(u);if(o&&"forward"===n&&u!==c)return a;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return a;if(o)if(i.getAnchorOffset()===a.getBlockForKey(u).getLength()){var f=a.getBlockForKey(l.nextSibling);if(!f||0===f.getLength())return a}}else if(e.isSelectionAtStartOfContent())return a;if((s=t(e))===i)return a}return r.removeRange(a,s,n)}},9115:function(e,t,n){var r=n(8737),o=n(8738);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},9116:function(e,t,n){var r=n(9379);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},9117:function(e,t,n){var r=n(8616)(Object,"create");e.exports=r},9118:function(e,t,n){var r=n(10853),o=n(10854),i=n(10855),a=n(10856),s=n(10857);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},9119:function(e,t,n){var r=n(9120);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},9120:function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},9121:function(e,t,n){var r=n(10859);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},9122:function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},9123:function(e,t,n){var r=n(10890),o=n(9380),i=n(10891),a=n(10892),s=n(10893),u=n(737),c=n(10319),l=c(r),f=c(o),d=c(i),p=c(a),h=c(s),v=u;(r&&"[object DataView]"!=v(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=v(new o)||i&&"[object Promise]"!=v(i.resolve())||a&&"[object Set]"!=v(new a)||s&&"[object WeakMap]"!=v(new s))&&(v=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case l:return"[object DataView]";case f:return"[object Map]";case d:return"[object Promise]";case p:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=v},9193:function(e,t,n){"use strict";var r=n(11148),o=n(9028),i=n(8417),a=n(11163),s=n(8695),u=n(9998),c=n(1e4),l=n(10400),f=n(11164),d=n(10416),p=n(9195),h=n(8371),v=n(10398),y=n(8284),g=n(10005),m=n(11221),k=n(10426),x=n(9196),_=n(11222),b=n(11225),w=n(8486),S=n(9205),A=n(11231),E={Editor:f,EditorBlock:d,EditorState:y,CompositeDecorator:a,Entity:p,EntityInstance:v,BlockMapBuilder:o,CharacterMetadata:i,ContentBlock:s,ContentState:u,RawDraftContentState:m,SelectionState:x,AtomicBlockUtils:r,KeyBindingUtil:g,Modifier:h,RichUtils:k,DefaultDraftBlockRenderMap:c,DefaultDraftInlineStyle:l,convertFromHTML:n(10424),convertFromRaw:b,convertToRaw:_,genKey:w,getDefaultKeyBinding:S,getVisibleSelectionRect:A};e.exports=E},9194:function(e,t,n){"use strict";var r=n(10393),o=n(10394);e.exports=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),u=o(e,t).getBlockMap(),c=u.keySeq(),l=c.indexOf(n),f=c.indexOf(a)+1;return r(u.slice(l,f).map((function(e,t){var r=e.getText(),o=e.getCharacterList();return n===a?e.merge({text:r.slice(i,s),characterList:o.slice(i,s)}):t===n?e.merge({text:r.slice(i),characterList:o.slice(i)}):t===a?e.merge({text:r.slice(0,s),characterList:o.slice(0,s)}):e})))}},9195:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(10398),i=n(8269),a=n(8275),s=(0,i.Map)(),u=0;function c(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var l={getLastCreatedEntityKey:function(){return c("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),l.__getLastCreatedEntityKey()},create:function(e,t,n){return c("DraftEntity.create","contentState.createEntity"),l.__create(e,t,n)},add:function(e){return c("DraftEntity.add","contentState.addEntity"),l.__add(e)},get:function(e){return c("DraftEntity.get","contentState.getEntity"),l.__get(e)},mergeData:function(e,t){return c("DraftEntity.mergeData","contentState.mergeEntityData"),l.__mergeData(e,t)},replaceData:function(e,t){return c("DraftEntity.replaceData","contentState.replaceEntityData"),l.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return""+u},__create:function(e,t,n){return l.__add(new o({type:e,mutability:t,data:n||{}}))},__add:function(e){var t=""+ ++u;return s=s.set(t,e),t},__get:function(e){var t=s.get(e);return t||a(!1),t},__mergeData:function(e,t){var n=l.__get(e),o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}({},n.getData(),t),i=n.set("data",o);return s=s.set(e,i),i},__replaceData:function(e,t){var n=l.__get(e).set("data",t);return s=s.set(e,n),n}};e.exports=l},9196:function(e,t,n){"use strict";var r=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},o.getAnchorKey=function(){return this.get("anchorKey")},o.getAnchorOffset=function(){return this.get("anchorOffset")},o.getFocusKey=function(){return this.get("focusKey")},o.getFocusOffset=function(){return this.get("focusOffset")},o.getIsBackward=function(){return this.get("isBackward")},o.getHasFocus=function(){return this.get("hasFocus")},o.hasEdgeWithin=function(e,t,n){var r=this.getAnchorKey(),o=this.getFocusKey();if(r===o&&r===e){var i=this.getStartOffset(),a=this.getEndOffset();return t<=i&&i<=n||t<=a&&a<=n}if(e!==r&&e!==o)return!1;var s=e===r?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},o.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},o.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},o.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},o.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},o.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(e){return new r({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},r}((0,n(8269).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));e.exports=r},9197:function(e,t,n){"use strict";var r=n(8275),o=null;function i(e){return"LTR"===e||"RTL"===e}function a(e){return i(e)||r(!1),"LTR"===e?"ltr":"rtl"}function s(e){o=e}var u={NEUTRAL:"NEUTRAL",LTR:"LTR",RTL:"RTL",isStrong:i,getHTMLDir:a,getHTMLDirIfDifferent:function(e,t){return i(e)||r(!1),i(t)||r(!1),e===t?null:a(e)},setGlobalDir:s,initGlobalDir:function(){s("LTR")},getGlobalDir:function(){return o||this.initGlobalDir(),o||r(!1),o}};e.exports=u},9198:function(e,t,n){"use strict";var r=n(9199),o=n(10401);e.exports=function(e){for(var t=e;t&&t!==r(e).documentElement;){var n=o(t);if(null!=n)return n;t=t.parentNode}return null}},9199:function(e,t,n){"use strict";e.exports=function(e){return e&&e.ownerDocument?e.ownerDocument:document}},9200:function(e,t,n){"use strict";e.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},9201:function(e,t,n){"use strict";function r(e,t){var n=o.get(e,t);return"auto"===n||"scroll"===n}var o={get:n(11181),getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(r(e,"overflow")||r(e,"overflowY")||r(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}};e.exports=o},9202:function(e,t,n){"use strict";var r=n(11185),o=n(11186);e.exports=function(e){var t=r(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=o(e),i=e===t?e.ownerDocument.documentElement:e,a=e.scrollWidth-i.clientWidth,s=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}},9203:function(e,t,n){"use strict";e.exports=function(e){return"handled"===e||!0===e}},9204:function(e,t,n){"use strict";var r=n(8284),o=n(8698),i=n(10003),a=n(9032);e.exports=function(e){var t=a(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),a=t.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a-1];return i(e,s?o.getUTF16Length(s,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return r.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}},9205:function(e,t,n){"use strict";var r=n(10005),o=n(9200),i=n(8402),a=i.isPlatform("Mac OS X"),s=a&&i.isBrowser("Firefox < 29"),u=r.hasCommandModifier,c=r.isCtrlKeyCommand;function l(e){return a&&e.altKey||c(e)}e.exports=function(e){switch(e.keyCode){case 66:return u(e)?"bold":null;case 68:return c(e)?"delete":null;case 72:return c(e)?"backspace":null;case 73:return u(e)?"italic":null;case 74:return u(e)?"code":null;case 75:return a&&c(e)?"secondary-cut":null;case 77:case 79:return c(e)?"split-block":null;case 84:return a&&c(e)?"transpose-characters":null;case 85:return u(e)?"underline":null;case 87:return a&&c(e)?"backspace-word":null;case 89:return c(e)?a?"secondary-paste":"redo":null;case 90:return function(e){return u(e)?e.shiftKey?"redo":"undo":null}(e)||null;case o.RETURN:return"split-block";case o.DELETE:return function(e){return!a&&e.shiftKey?null:l(e)?"delete-word":"delete"}(e);case o.BACKSPACE:return function(e){return u(e)&&a?"backspace-to-start-of-line":l(e)?"backspace-word":"backspace"}(e);case o.LEFT:return s&&u(e)?"move-selection-to-start-of-block":null;case o.RIGHT:return s&&u(e)?"move-selection-to-end-of-block":null;default:return null}}},9378:function(e,t,n){var r=n(711),o=n(756),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},9379:function(e,t,n){var r=n(10842),o=n(10858),i=n(10860),a=n(10861),s=n(10862);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},9380:function(e,t,n){var r=n(8616)(n(720),"Map");e.exports=r},9381:function(e,t,n){var r=n(10320),o=n(9120),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},9382:function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},9383:function(e,t){e.exports=function(e){return e}},9384:function(e,t,n){var r=n(9118),o=n(10872),i=n(10873),a=n(10874),s=n(10875),u=n(10876);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=u,e.exports=c},9385:function(e,t,n){(function(e){var r=n(720),o=n(10879),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,u=(s?s.isBuffer:void 0)||o;e.exports=u}).call(this,n(209)(e))},9386:function(e,t){e.exports=function(e){return function(t){return e(t)}}},9387:function(e,t,n){(function(e){var r=n(1401),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(209)(e))},9388:function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},9389:function(e,t,n){var r=n(10888),o=n(10332),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},9390:function(e,t,n){var r=n(10329)(Object.getPrototypeOf,Object);e.exports=r},9391:function(e,t,n){var r=n(10337);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},9998:function(e,t,n){"use strict";var r=n(9028),o=n(8417),i=n(8695),a=n(8418),s=n(9195),u=n(9196),c=n(8486),l=n(8580),f=n(8269),d=n(10399),p=f.List,h=f.Record,v=f.Repeat,y=function(e){var t,n;function f(){return e.apply(this,arguments)||this}n=e,(t=f).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var h=f.prototype;return h.getEntityMap=function(){return s},h.getBlockMap=function(){return this.get("blockMap")},h.getSelectionBefore=function(){return this.get("selectionBefore")},h.getSelectionAfter=function(){return this.get("selectionAfter")},h.getBlockForKey=function(e){return this.getBlockMap().get(e)},h.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},h.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},h.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},h.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},h.getBlocksAsArray=function(){return this.getBlockMap().toArray()},h.getFirstBlock=function(){return this.getBlockMap().first()},h.getLastBlock=function(){return this.getBlockMap().last()},h.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},h.getLastCreatedEntityKey=function(){return s.__getLastCreatedEntityKey()},h.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},h.createEntity=function(e,t,n){return s.__create(e,t,n),this},h.mergeEntityData=function(e,t){return s.__mergeData(e,t),this},h.replaceEntityData=function(e,t){return s.__replaceData(e,t),this},h.addEntity=function(e){return s.__add(e),this},h.getEntity=function(e){return s.__get(e)},f.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,o=r.createFromArray(n),i=o.isEmpty()?new u:u.createEmpty(o.first().getKey());return new f({blockMap:o,entityMap:t||s,selectionBefore:i,selectionAfter:i})},f.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t),r=n.map((function(e){return e=d(e),new(l("draft_tree_data_support")?a:i)({key:c(),text:e,type:"unstyled",characterList:p(v(o.EMPTY,e.length))})}));return f.createFromBlockArray(r)},f}(h({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}));e.exports=y},9999:function(e,t,n){"use strict";var r=n(9197),o=n(8275),i="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",a="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",s=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+i+a+"]"),u=new RegExp("["+i+a+"]");function c(e){var t=s.exec(e);return null==t?null:t[0]}function l(e){var t=c(e);return null==t?r.NEUTRAL:u.exec(t)?r.RTL:r.LTR}function f(e,t){if(t=t||r.NEUTRAL,!e.length)return t;var n=l(e);return n===r.NEUTRAL?t:n}function d(e,t){return t||(t=r.getGlobalDir()),r.isStrong(t)||o(!1),f(e,t)}var p={firstStrongChar:c,firstStrongCharDir:l,resolveBlockDir:f,getDirection:d,isDirectionLTR:function(e,t){return d(e,t)===r.LTR},isDirectionRTL:function(e,t){return d(e,t)===r.RTL}};e.exports=p}}]);
-//# sourceMappingURL=2def6ed70cf3dfe8990b.js.map
\ No newline at end of file
diff --git a/api/assets/36bf82052a3121a02046.js b/api/assets/36bf82052a3121a02046.js
deleted file mode 100644
index 556e6fc2..00000000
--- a/api/assets/36bf82052a3121a02046.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/*! For license information please see 36bf82052a3121a02046.js.LICENSE.txt */
-(this.webpackJsonp=this.webpackJsonp||[]).push([[72],{10487:function(e,t,n){var o=n(10437);e.exports=function(e,t){var n=-1,i=e.length,r=i-1;for(t=void 0===t?i:t;++n<t;){var a=o(n,r),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}},10954:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(){function e(e,t){this._capacity=e,this._tokenCount=e,this._queue=[],this._intervalPeriod=t/e,this._intervalID=null}var t=e.prototype;return t._processQueue=function(){var e=this;setTimeout((function(){if(e._queue.length>0&&e._tokenCount>0){e._tokenCount--,null==e._intervalID&&(e._intervalID=setInterval((function(){return e._iterate()}),e._intervalPeriod));var t=e._queue.shift();null==t||t(),e._processQueue()}}),0)},t._iterate=function(){this._tokenCount=Math.min(this._capacity,this._tokenCount+1),this._tokenCount>=this._capacity&&null!=this._intervalID&&(clearInterval(this._intervalID),this._intervalID=null),this._processQueue()},t.process=function(){var e=this;return new Promise((function(t){e._queue.push(t),e._processQueue()}))},e}();t.default=o},11103:function(e,t,n){var o,i;i=function(e){"use strict";e=e||{};var t,n,o,i,r,a,s,c,u,l,f,d,h,p,y,g,w={bgColor:"#d00",textColor:"#fff",fontFamily:"sans-serif",fontStyle:"bold",type:"circle",position:"down",animation:"slide",elementId:!1,dataUrl:!1,win:window};(h={}).ff="undefined"!=typeof InstallTrigger,h.chrome=!!window.chrome,h.opera=!!window.opera||navigator.userAgent.indexOf("Opera")>=0,h.ie=!1,h.safari=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0,h.supported=h.chrome||h.ff||h.opera;var x=[];f=function(){},c=d=!1;var m={ready:function(){c=!0,m.reset(),f()},reset:function(){c&&(x=[],u=!1,l=!1,a.clearRect(0,0,i,o),a.drawImage(s,0,0,i,o),E.setIcon(r),window.clearTimeout(p),window.clearTimeout(y))},start:function(){if(c&&!l&&x.length>0){l=!0;var e=function(){["type","animation","bgColor","textColor","fontFamily","fontStyle"].forEach((function(e){e in x[0].options&&(t[e]=x[0].options[e])})),T.run(x[0].options,(function(){u=x[0],l=!1,x.length>0&&(x.shift(),m.start())}),!1)};u?T.run(u.options,(function(){e()}),!0):e()}}},v={},b=function(e){return e.n="number"==typeof e.n?Math.abs(0|e.n):e.n,e.x=i*e.x,e.y=o*e.y,e.w=i*e.w,e.h=o*e.h,e.len=(""+e.n).length,e};function C(e){if(e.paused||e.ended||d)return!1;try{a.clearRect(0,0,i,o),a.drawImage(e,0,0,i,o)}catch(e){}y=setTimeout((function(){C(e)}),T.duration),E.setIcon(r)}v.circle=function(e){var n=!1;2===(e=b(e)).len?(e.x=e.x-.4*e.w,e.w=1.4*e.w,n=!0):e.len>=3&&(e.x=e.x-.65*e.w,e.w=1.65*e.w,n=!0),a.clearRect(0,0,i,o),a.drawImage(s,0,0,i,o),a.beginPath(),a.font=t.fontStyle+" "+Math.floor(e.h*(e.n>99?.85:1))+"px "+t.fontFamily,a.textAlign="center",n?(a.moveTo(e.x+e.w/2,e.y),a.lineTo(e.x+e.w-e.h/2,e.y),a.quadraticCurveTo(e.x+e.w,e.y,e.x+e.w,e.y+e.h/2),a.lineTo(e.x+e.w,e.y+e.h-e.h/2),a.quadraticCurveTo(e.x+e.w,e.y+e.h,e.x+e.w-e.h/2,e.y+e.h),a.lineTo(e.x+e.h/2,e.y+e.h),a.quadraticCurveTo(e.x,e.y+e.h,e.x,e.y+e.h-e.h/2),a.lineTo(e.x,e.y+e.h/2),a.quadraticCurveTo(e.x,e.y,e.x+e.h/2,e.y)):a.arc(e.x+e.w/2,e.y+e.h/2,e.h/2,0,2*Math.PI),a.fillStyle="rgba("+t.bgColor.r+","+t.bgColor.g+","+t.bgColor.b+","+e.o+")",a.fill(),a.closePath(),a.beginPath(),a.stroke(),a.fillStyle="rgba("+t.textColor.r+","+t.textColor.g+","+t.textColor.b+","+e.o+")","number"==typeof e.n&&e.n>999?a.fillText((e.n>9999?9:Math.floor(e.n/1e3))+"k+",Math.floor(e.x+e.w/2),Math.floor(e.y+e.h-.2*e.h)):a.fillText(e.n,Math.floor(e.x+e.w/2),Math.floor(e.y+e.h-.15*e.h)),a.closePath()},v.rectangle=function(e){2===(e=b(e)).len?(e.x=e.x-.4*e.w,e.w=1.4*e.w):e.len>=3&&(e.x=e.x-.65*e.w,e.w=1.65*e.w),a.clearRect(0,0,i,o),a.drawImage(s,0,0,i,o),a.beginPath(),a.font=t.fontStyle+" "+Math.floor(e.h*(e.n>99?.9:1))+"px "+t.fontFamily,a.textAlign="center",a.fillStyle="rgba("+t.bgColor.r+","+t.bgColor.g+","+t.bgColor.b+","+e.o+")",a.fillRect(e.x,e.y,e.w,e.h),a.fillStyle="rgba("+t.textColor.r+","+t.textColor.g+","+t.textColor.b+","+e.o+")","number"==typeof e.n&&e.n>999?a.fillText((e.n>9999?9:Math.floor(e.n/1e3))+"k+",Math.floor(e.x+e.w/2),Math.floor(e.y+e.h-.2*e.h)):a.fillText(e.n,Math.floor(e.x+e.w/2),Math.floor(e.y+e.h-.15*e.h)),a.closePath()};var E={};function I(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,o){return t+t+n+n+o+o}));var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return!!t&&{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}}function R(e,t){var n,o={};for(n in e)o[n]=e[n];for(n in t)o[n]=t[n];return o}E.getIcon=function(){var e=!1;return t.element?e=t.element:t.elementId?(e=g.getElementById(t.elementId)).setAttribute("href",e.getAttribute("src")):!1===(e=function(){for(var e=g.getElementsByTagName("head")[0].getElementsByTagName("link"),t=e.length-1;t>=0;t--)if(/(^|\s)icon(\s|$)/i.test(e[t].getAttribute("rel")))return e[t];return!1}())&&((e=g.createElement("link")).setAttribute("rel","icon"),g.getElementsByTagName("head")[0].appendChild(e)),e.setAttribute("type","image/png"),e},E.setIcon=function(e){var o=e.toDataURL("image/png");if(t.dataUrl&&t.dataUrl(o),t.element)t.element.setAttribute("href",o),t.element.setAttribute("src",o);else if(t.elementId){var i=g.getElementById(t.elementId);i.setAttribute("href",o),i.setAttribute("src",o)}else if(h.ff||h.opera){var r=n;n=g.createElement("link"),h.opera&&n.setAttribute("rel","icon"),n.setAttribute("rel","icon"),n.setAttribute("type","image/png"),g.getElementsByTagName("head")[0].appendChild(n),n.setAttribute("href",o),r.parentNode&&r.parentNode.removeChild(r)}else n.setAttribute("href",o)};var T={duration:40,types:{}};return T.types.fade=[{x:.4,y:.4,w:.6,h:.6,o:0},{x:.4,y:.4,w:.6,h:.6,o:.1},{x:.4,y:.4,w:.6,h:.6,o:.2},{x:.4,y:.4,w:.6,h:.6,o:.3},{x:.4,y:.4,w:.6,h:.6,o:.4},{x:.4,y:.4,w:.6,h:.6,o:.5},{x:.4,y:.4,w:.6,h:.6,o:.6},{x:.4,y:.4,w:.6,h:.6,o:.7},{x:.4,y:.4,w:.6,h:.6,o:.8},{x:.4,y:.4,w:.6,h:.6,o:.9},{x:.4,y:.4,w:.6,h:.6,o:1}],T.types.none=[{x:.4,y:.4,w:.6,h:.6,o:1}],T.types.pop=[{x:1,y:1,w:0,h:0,o:1},{x:.9,y:.9,w:.1,h:.1,o:1},{x:.8,y:.8,w:.2,h:.2,o:1},{x:.7,y:.7,w:.3,h:.3,o:1},{x:.6,y:.6,w:.4,h:.4,o:1},{x:.5,y:.5,w:.5,h:.5,o:1},{x:.4,y:.4,w:.6,h:.6,o:1}],T.types.popFade=[{x:.75,y:.75,w:0,h:0,o:0},{x:.65,y:.65,w:.1,h:.1,o:.2},{x:.6,y:.6,w:.2,h:.2,o:.4},{x:.55,y:.55,w:.3,h:.3,o:.6},{x:.5,y:.5,w:.4,h:.4,o:.8},{x:.45,y:.45,w:.5,h:.5,o:.9},{x:.4,y:.4,w:.6,h:.6,o:1}],T.types.slide=[{x:.4,y:1,w:.6,h:.6,o:1},{x:.4,y:.9,w:.6,h:.6,o:1},{x:.4,y:.9,w:.6,h:.6,o:1},{x:.4,y:.8,w:.6,h:.6,o:1},{x:.4,y:.7,w:.6,h:.6,o:1},{x:.4,y:.6,w:.6,h:.6,o:1},{x:.4,y:.5,w:.6,h:.6,o:1},{x:.4,y:.4,w:.6,h:.6,o:1}],T.run=function(e,n,o,i){var a=T.types[g.hidden||g.msHidden||g.webkitHidden||g.mozHidden?"none":t.animation];i=!0===o?void 0!==i?i:a.length-1:void 0!==i?i:0,n=n||function(){},i<a.length&&i>=0?(v[t.type](R(e,a[i])),p=setTimeout((function(){o?i-=1:i+=1,T.run(e,n,o,i)}),T.duration),E.setIcon(r)):n()},function(){(t=R(w,e)).bgColor=I(t.bgColor),t.textColor=I(t.textColor),t.position=t.position.toLowerCase(),t.animation=T.types[""+t.animation]?t.animation:w.animation,g=t.win.document;var c=t.position.indexOf("up")>-1,u=t.position.indexOf("left")>-1;if(c||u)for(var l=0;l<T.types[""+t.animation].length;l++){var f=T.types[""+t.animation][l];c&&(f.y<.6?f.y=f.y-.4:f.y=f.y-2*f.y+(1-f.w)),u&&(f.x<.6?f.x=f.x-.4:f.x=f.x-2*f.x+(1-f.h)),T.types[""+t.animation][l]=f}t.type=v[""+t.type]?t.type:w.type,n=E.getIcon(),r=document.createElement("canvas"),s=document.createElement("img"),n.hasAttribute("href")?(s.setAttribute("crossOrigin","anonymous"),s.onload=function(){o=s.height>0?s.height:32,i=s.width>0?s.width:32,r.height=o,r.width=i,a=r.getContext("2d"),m.ready()},s.setAttribute("src",n.getAttribute("href"))):(s.onload=function(){o=32,i=32,s.height=o,s.width=i,r.height=o,r.width=i,a=r.getContext("2d"),m.ready()},s.setAttribute("src",""))}(),{badge:function(e,t){t=("string"==typeof t?{animation:t}:t)||{},f=function(){try{if("number"==typeof e?e>0:""!==e){var n={type:"badge",options:{n:e}};if("animation"in t&&T.types[""+t.animation]&&(n.options.animation=""+t.animation),"type"in t&&v[""+t.type]&&(n.options.type=""+t.type),["bgColor","textColor"].forEach((function(e){e in t&&(n.options[e]=I(t[e]))})),["fontStyle","fontFamily"].forEach((function(e){e in t&&(n.options[e]=t[e])})),x.push(n),x.length>100)throw new Error("Too many badges requests in queue.");m.start()}else m.reset()}catch(e){throw new Error("Error setting badge. Message: "+e.message)}},c&&f()},video:function(e){f=function(){try{if("stop"===e)return d=!0,m.reset(),void(d=!1);e.addEventListener("play",(function(){C(this)}),!1)}catch(e){throw new Error("Error setting video. Message: "+e.message)}},c&&f()},image:function(e){f=function(){try{var t=e.width,n=e.height,s=document.createElement("img"),c=t/i<n/o?t/i:n/o;s.setAttribute("crossOrigin","anonymous"),s.onload=function(){a.clearRect(0,0,i,o),a.drawImage(s,0,0,i,o),E.setIcon(r)},s.setAttribute("src",e.getAttribute("src")),s.height=n/c,s.width=t/c}catch(e){throw new Error("Error setting image. Message: "+e.message)}},c&&f()},webcam:function(e){if(window.URL&&window.URL.createObjectURL||(window.URL=window.URL||{},window.URL.createObjectURL=function(e){return e}),h.supported){var t=!1;navigator.getUserMedia=navigator.getUserMedia||navigator.oGetUserMedia||navigator.msGetUserMedia||navigator.mozGetUserMedia||navigator.webkitGetUserMedia,f=function(){try{if("stop"===e)return d=!0,m.reset(),void(d=!1);(t=document.createElement("video")).width=i,t.height=o,navigator.getUserMedia({video:!0,audio:!1},(function(e){t.src=URL.createObjectURL(e),t.play(),C(t)}),(function(){}))}catch(e){throw new Error("Error setting webcam. Message: "+e.message)}},c&&f()}},reset:m.reset,browser:{supported:h.supported}}},void 0===(o=function(){return i}.apply(t,[]))||(e.exports=o)},11371:function(e,t,n){"use strict";e.exports=function(e){var t,n;if((e=String(e).toLowerCase()).length<3)return e;e.charCodeAt(0)===o&&(t=!0,e="Y"+e.substr(1));m.test(e)?e=e.substr(0,e.length-2):x.test(e)&&(e=e.substr(0,e.length-1));(n=w.exec(e))?a.test(n[1])&&(e=e.substr(0,e.length-1)):(n=y.exec(e))&&u.test(n[1])&&(e=n[1],g.test(e)?e+="e":v.test(e)?e=e.substr(0,e.length-1):l.test(e)&&(e+="e"));(n=h.exec(e))&&u.test(n[1])&&(e=n[1]+"i");(n=b.exec(e))&&a.test(n[1])&&(e=n[1]+i[n[2]]);(n=C.exec(e))&&a.test(n[1])&&(e=n[1]+r[n[2]]);(n=E.exec(e))?c.test(n[1])&&(e=n[1]):(n=p.exec(e))&&c.test(n[1])&&(e=n[1]);(n=d.exec(e))&&(c.test(n[1])||s.test(n[1])&&!l.test(n[1]))&&(e=n[1]);f.test(e)&&c.test(e)&&(e=e.substr(0,e.length-1));t&&(e="y"+e.substr(1));return e};var o="y".charCodeAt(0),i={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},r={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},a=new RegExp("^([^aeiou][^aeiouy]*)?([aeiouy][aeiou]*)([^aeiou][^aeiouy]*)"),s=new RegExp("^([^aeiou][^aeiouy]*)?([aeiouy][aeiou]*)([^aeiou][^aeiouy]*)([aeiouy][aeiou]*)?$"),c=new RegExp("^([^aeiou][^aeiouy]*)?(([aeiouy][aeiou]*)([^aeiou][^aeiouy]*)){2,}"),u=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy]"),l=new RegExp("^([^aeiou][^aeiouy]*)[aeiouy][^aeiouwxy]$"),f=/ll$/,d=/^(.+?)e$/,h=/^(.+?)y$/,p=/^(.+?(s|t))(ion)$/,y=/^(.+?)(ed|ing)$/,g=/(at|bl|iz)$/,w=/^(.+?)eed$/,x=/^.+?[^s]s$/,m=/^.+?(ss|i)es$/,v=/([^aeiouylsz])\1$/,b=new RegExp("^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$"),C=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,E=new RegExp("^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$")},11581:function(e,t,n){var o,i=i||function(e){"use strict";if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var t=e.document,n=function(){return e.URL||e.webkitURL||e},o=t.createElementNS("http://www.w3.org/1999/xhtml","a"),i="download"in o,r=/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),a=e.webkitRequestFileSystem,s=e.requestFileSystem||a||e.mozRequestFileSystem,c=function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)},u=0,l=function(e){setTimeout((function(){"string"==typeof e?n().revokeObjectURL(e):e.remove()}),4e4)},f=function(e,t,n){for(var o=(t=[].concat(t)).length;o--;){var i=e["on"+t[o]];if("function"==typeof i)try{i.call(e,n||e)}catch(e){c(e)}}},d=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["",e],{type:e.type}):e},h=function(t,c,h){h||(t=d(t));var p,y,g,w=this,x=t.type,m=!1,v=function(){f(w,"writestart progress write writeend".split(" "))},b=function(){if(y&&r&&"undefined"!=typeof FileReader){var o=new FileReader;return o.onloadend=function(){var e=o.result;y.location.href="data:attachment/file"+e.slice(e.search(/[,;]/)),w.readyState=w.DONE,v()},o.readAsDataURL(t),void(w.readyState=w.INIT)}(!m&&p||(p=n().createObjectURL(t)),y)?y.location.href=p:void 0===e.open(p,"_blank")&&r&&(e.location.href=p);w.readyState=w.DONE,v(),l(p)},C=function(e){return function(){if(w.readyState!==w.DONE)return e.apply(this,arguments)}},E={create:!0,exclusive:!1};if(w.readyState=w.INIT,c||(c="download"),i)return p=n().createObjectURL(t),void setTimeout((function(){var e,t;o.href=p,o.download=c,e=o,t=new MouseEvent("click"),e.dispatchEvent(t),v(),l(p),w.readyState=w.DONE}));e.chrome&&x&&"application/octet-stream"!==x&&(g=t.slice||t.webkitSlice,t=g.call(t,0,t.size,"application/octet-stream"),m=!0),a&&"download"!==c&&(c+=".download"),("application/octet-stream"===x||a)&&(y=e),s?(u+=t.size,s(e.TEMPORARY,u,C((function(e){e.root.getDirectory("saved",E,C((function(e){var n=function(){e.getFile(c,E,C((function(e){e.createWriter(C((function(n){n.onwriteend=function(t){y.location.href=e.toURL(),w.readyState=w.DONE,f(w,"writeend",t),l(e)},n.onerror=function(){var e=n.error;e.code!==e.ABORT_ERR&&b()},"writestart progress write abort".split(" ").forEach((function(e){n["on"+e]=w["on"+e]})),n.write(t),w.abort=function(){n.abort(),w.readyState=w.DONE},w.readyState=w.WRITING})),b)})),b)};e.getFile(c,{create:!1},C((function(e){e.remove(),n()})),C((function(e){e.code===e.NOT_FOUND_ERR?n():b()})))})),b)})),b)):b()},p=h.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t,n){return n||(e=d(e)),navigator.msSaveOrOpenBlob(e,t||"download")}:(p.abort=function(){this.readyState=this.DONE,f(this,"abort")},p.readyState=p.INIT=0,p.WRITING=1,p.DONE=2,p.error=p.onwritestart=p.onprogress=p.onwrite=p.onabort=p.onerror=p.onwriteend=null,function(e,t,n){return new h(e,t,n)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);e.exports?e.exports.saveAs=i:null!==n(11582)&&null!==n(11583)&&(void 0===(o=function(){return i}.apply(t,[]))||(e.exports=o))},11582:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},11583:function(e,t){(function(t){e.exports=t}).call(this,{})},11585:function(e,t,n){var o=n(11586);t.encode=o.encode,t.decode=o.decode},11586:function(e,t,n){(function(e){var n=[255,255,26,27,28,29,30,31,255,255,255,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255];t.encode=function(t){e.isBuffer(t)||(t=new e(t));for(var n,o,i=0,r=0,a=0,s=0,c=new e(8*(n=t,o=Math.floor(n.length/5),n.length%5==0?o:o+1));i<t.length;){var u=t[i];a>3?(s=(s=u&255>>a)<<(a=(a+5)%8)|(i+1<t.length?t[i+1]:0)>>8-a,i++):(s=u>>8-(a+5)&31,0==(a=(a+5)%8)&&i++),c[r]="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".charCodeAt(s),r++}for(i=r;i<c.length;i++)c[i]=61;return c},t.decode=function(t){var o,i=0,r=0,a=0;e.isBuffer(t)||(t=new e(t));for(var s=new e(Math.ceil(5*t.length/8)),c=0;c<t.length&&61!=t[c];c++){var u=t[c]-48;if(!(u<n.length))throw new Error("Invalid input - it is not base32 encoded string");r=n[u],i<=3?0==(i=(i+5)%8)?(o|=r,s[a]=o,a++,o=0):o|=255&r<<8-i:(o|=255&r>>>(i=(i+5)%8),s[a]=o,a++,o=255&r<<8-i)}return s.slice(0,a)}}).call(this,n(396).Buffer)},11608:function(e,t,n){"use strict";var o={},i=["visa","master-card","american-express","diners-club","discover","jcb","unionpay","maestro"];function r(e){var t,n,o;return e?(t=e.prefixPattern.source,n=e.exactPattern.source,(o=JSON.parse(JSON.stringify(e))).prefixPattern=t,o.exactPattern=n,o):null}function a(e){var t,n,a=[],s=[];if(!("string"==typeof e||e instanceof String))return[];for(n=0;n<i.length;n++)t=o[i[n]],0!==e.length?t.exactPattern.test(e)?s.push(r(t)):t.prefixPattern.test(e)&&a.push(r(t)):a.push(r(t));return s.length?s:a}o.visa={niceType:"Visa",type:"visa",prefixPattern:/^4$/,exactPattern:/^4\d*$/,gaps:[4,8,12],lengths:[16],code:{name:"CVV",size:3}},o["master-card"]={niceType:"MasterCard",type:"master-card",prefixPattern:/^(5|5[1-5]|2|22|222|222[1-9]|2[3-6]|27[0-1]|2720)$/,exactPattern:/^(5[1-5]|222[1-9]|2[3-6]|27[0-1]|2720)\d*$/,gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},o["american-express"]={niceType:"American Express",type:"american-express",prefixPattern:/^(3|34|37)$/,exactPattern:/^3[47]\d*$/,isAmex:!0,gaps:[4,10],lengths:[15],code:{name:"CID",size:4}},o["diners-club"]={niceType:"Diners Club",type:"diners-club",prefixPattern:/^(3|3[0689]|30[0-5])$/,exactPattern:/^3(0[0-5]|[689])\d*$/,gaps:[4,10],lengths:[14],code:{name:"CVV",size:3}},o.discover={niceType:"Discover",type:"discover",prefixPattern:/^(6|60|601|6011|65|64|64[4-9])$/,exactPattern:/^(6011|65|64[4-9])\d*$/,gaps:[4,8,12],lengths:[16,19],code:{name:"CID",size:3}},o.jcb={niceType:"JCB",type:"jcb",prefixPattern:/^(2|21|213|2131|1|18|180|1800|3|35)$/,exactPattern:/^(2131|1800|35)\d*$/,gaps:[4,8,12],lengths:[16],code:{name:"CVV",size:3}},o.unionpay={niceType:"UnionPay",type:"unionpay",prefixPattern:/^(6|62)$/,exactPattern:/^62\d*$/,gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVN",size:3}},o.maestro={niceType:"Maestro",type:"maestro",prefixPattern:/^(5|5[06-9]|6\d*)$/,exactPattern:/^5[06-9]\d*$/,gaps:[4,8,12],lengths:[12,13,14,15,16,17,18,19],code:{name:"CVC",size:3}},a.getTypeInfo=function(e){return r(o[e])},a.types={VISA:"visa",MASTERCARD:"master-card",AMERICAN_EXPRESS:"american-express",DINERS_CLUB:"diners-club",DISCOVER:"discover",JCB:"jcb",UNIONPAY:"unionpay",MAESTRO:"maestro"},e.exports=a},11630:function(e,t,n){var o=n(11631),i=n(11632),r=n(711);e.exports=function(e){return(r(e)?o:i)(e)}},11631:function(e,t,n){var o=n(10331),i=n(10487);e.exports=function(e){return i(o(e))}},11632:function(e,t,n){var o=n(10487),i=n(11633);e.exports=function(e){return o(i(e))}},11633:function(e,t,n){var o=n(11634),i=n(8739);e.exports=function(e){return null==e?[]:o(e,i(e))}},11634:function(e,t,n){var o=n(1328);e.exports=function(e,t){return o(t,(function(t){return e[t]}))}}}]);
-//# sourceMappingURL=36bf82052a3121a02046.js.map
\ No newline at end of file
diff --git a/api/assets/49078e599d3842cb6dc8.js b/api/assets/49078e599d3842cb6dc8.js
deleted file mode 100644
index f04605b2..00000000
--- a/api/assets/49078e599d3842cb6dc8.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(this.webpackJsonp=this.webpackJsonp||[]).push([[42],{5867:function(e){e.exports=JSON.parse('{"GUILD_TEMPLATE_MODAL_TITLE_GITHUB_HACKATHON":"Create a server for your hackathon","GUILD_TEMPLATE_MODAL_DESCRIPTION_GITHUB_HACKATHON":"Your hackathon – all together in one place.","GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_ANY_STICKER":"+{adding, number} custom sticker slots (for a total of {total, number})","EVERYONE_POPOUT_BODY_THREAD":"By using **{role}**, you are about to mention {count}+ people in this thread. Are you sure?","USER_SETTINGS_EDIT_PROFILE":"Edit profile","THEME_SYSTEM":"Sync with computer","DEVELOPER_APPLICATION_TEST_MODE_AUTHORIZATION_ERROR":"Not authorised to enable test-mode for this application.","USER_SETTINGS_KEYBINDS_DEFAULT_KEYBINDS_TITLE":"Default keybinds","AUTHORIZED_APPS":"Authorised Apps","NO_AUTHORIZED_APPS":"No Authorised Apps","NO_AUTHORIZED_APPS_NOTE":"Enhance your Discord experience by authorising and integrating third-party services","IP_AUTHORIZATION_SUCCEEDED":"IP Address Authorised","NETWORK_ERROR_CLOUDFLARE_UNAUTHORIZED":"Your IP address is currently blacklisted on CloudFlare.","NETWORK_ERROR_UNAUTHORIZED":"You are unauthorised to perform this request.","DIRECTORY_ENTRY_MENU_LABEL":"Directory entry actions","USER_PROFILE_ACTIVITY":"Activity","USER_PROFILE_ABOUT_ME":"About me","AUTHORIZED":"Authorised","ACCESSIBILITY_SETTINGS_SATURATION_TITLE":"Saturation","ACCESSIBILITY_SETTINGS_SATURATION_DESCRIPTION":"Reduce the colour saturation within the application for those with colour sensitivities. This does not affect the saturation of images, videos, role colours or other user-provided content by default.","ACCESSIBILITY_SETTINGS_SATURATION_CUSTOM_COLORS_LABEL":"Apply to custom colour choices","ACCESSIBILITY_SETTINGS_SATURATION_CUSTOM_COLORS_DESCRIPTION":"Turn on to apply this adjustment to custom colour choices, like role colours","ACCESSIBILITY_SETTINGS_SATURATION_PREVIEW_MESSAGE":"links will look like this https://discord.com/","CHANNEL_MESSAGE_REPLY_A11Y_LABEL":"!!{author}!! replying to !!{repliedAuthor}!!","PREMIUM_CHAT_PERKS_CUSTOM_STICKERS":"Use custom stickers anywhere and access 300 Nitro-exclusive stickers","PREMIUM_MARKETING_FEATURE_STICKERS_TITLE":"Special stickers access","PREMIUM_MARKETING_FEATURE_STICKERS_DESCRIPTION":"Use custom stickers anywhere and access 300 Nitro-exclusive stickers. $[Info](infoHook)","PREMIUM_MARKETING_FEATURE_STICKERS_INFO":"Boosted servers can upload custom stickers through Server settings > Stickers. Nitro users can use custom stickers anywhere.","PROMOTION_ERROR_CLAIMED_BODY":"Sorry, looks like this code has already been redeemed.","PROMOTION_ERROR_NO_CODE_BODY":"Looks like this code didn\'t work. Make sure you have the right code and try again.","PROMOTION_ERROR_NOT_VERIFIED_BODY":"Looks like your email isn\'t verified. Make sure you verify your email before redeeming this code.","PROMOTION_EXISTING_SUBSCRIBER_BODY":"Sorry, looks like you already have a subscription. However, you can give your redemption URL to a friend and send {months, plural, =1 {# month} other {# months}} of free {planName} their way.","PROMOTION_PREVIOUS_SUBSCRIBER_BODY":"Sorry, looks like you\'ve already had Nitro. However, you can give your redemption URL to a friend and send {months, plural, =1 {# month} other {# months}} of free {planName} their way.","PROMOTION_ACCOUNT_IDENTIFIER":"Signed in as $[](avatarHook) {tag}. [Not You?](logoutHook)","BILLING_PAYMENT_AUTHORIZATION_CHARGE":"A small hold may be placed on your payment method. [Learn More]({helpDeskArticle})","PAYPAL_CALLBACK_SUCCESS":"**PayPal** account authorised. Return to **Discord** to complete the transaction.","GUILD_SETTINGS_STICKERS":"Stickers","GUILD_SETTINGS_STICKERS_UPSELL_TITLE":"Get boosted","GUILD_SETTINGS_STICKERS_UPSELL_DESCRIPTION":"Enjoy stickers and more perks by boosting your server to Level 1. Each Level unlocks more sticker slots and new benefits for everyone.","GUILD_SETTINGS_STICKERS_BOOST_SERVER":"Boost server","GUILD_SETTINGS_STICKERS_UPLOAD_HEADING":"Upload requirements","GUILD_SETTINGS_STICKERS_UPLOAD_REQUIREMENTS":"Before uploading your sticker file, make sure you meet the following requirements","GUILD_SETTINGS_STICKERS_UPLOAD_REQUIREMENTS_1":"File type: PNG, APNG, and Lottie (Read more about file types here)","GUILD_SETTINGS_STICKERS_UPLOAD_REQUIREMENTS_2":"File size: {fileSize}","GUILD_SETTINGS_STICKERS_UPLOAD_REQUIREMENTS_3":"Dimensions: 320 x 320","GUILD_SETTINGS_STICKERS_UPLOAD_REQUIREMENTS_4":"Emoji tag: You will be required to select a unicode emoji that is the closest match to your sticker.","GUILD_STICKER_UPLOAD_TITLE":"Upload a file","GUILD_STICKER_UPLOAD_DESCRIPTION":"File should be APNG, PNG, or Lottie (max {fileSize})","GUILD_STICKER_UPLOAD_NAME_TITLE":"Sticker name","GUILD_STICKER_UPLOAD_NAME_PLACEHOLDER":"e.g.: cat hug","GUILD_STICKER_UPLOAD_PREVIEW_TITLE":"Preview","GUILD_STICKER_UPLOAD_FILE_TITLE":"File","GUILD_STICKER_UPLOAD_FILE_TITLE_BLOCKED":"File (This cannot be edited)","GUILD_STICKER_UPLOAD_FILE_PLACEHOLDER":"Choose a file","GUILD_STICKER_UPLOAD_FILE_BUTTON":"Browse","GUILD_STICKER_UPLOAD_RELATED_EMOJI_TITLE":"Related emoji","GUILD_STICKER_UPLOAD_RELATED_EMOJI_PLACEHOLDER":"Click to select","GUILD_STICKER_UPLOAD_DESCRIPTION_TITLE":"Description","GUILD_STICKER_UPLOAD_DESCRIPTION_PLACEHOLDER":"This text will help with screen readers","GUILD_STICKER_UPLOAD_DESCRIPTION_TOOLTIP":"You can add a description, sometimes called alt-text, to your stickers so they’re accessible to even more people, including those who are blind or visually impaired. Good descriptions are concise, but present what’s in your stickers accurately enough to understand their context.","GUILD_STICKER_PREVIEW_IMG_ALT_DARK":"Sticker preview on dark theme","GUILD_STICKER_PREVIEW_IMG_ALT_LIGHT":"Sticker preview on light theme","GUILD_STICKERS_UPDATE":"Update","GUILD_STICKER_GRID_UPLOAD_LABEL":"Upload sticker","GUILD_STICKER_INVALID_STICKER":"Invalid sticker file","GUILD_STICKER_FILE_TOO_BIG":"That sticker was too big! Stickers must be under {maxSize}.","GUILD_STICKER_SETTINGS_ADDITIONAL_SLOTS":"+{numAdditional, plural, =1 {{numAdditional} Sticker slot} other {{numAdditional} Sticker slots}} ({numTotal, number} total)","GUILD_STICKER_SETTINGS_BUY_LEVEL":"Buy level","GUILD_STICKER_UNUSED_TIER":"Upload more stickers to make use of this unlocked level.","GUILD_STICKER_SETTINGS_REMAINING_SLOTS_AVAILABLE":"{numAvailable, number} of {numTotal, plural, =1 {{numTotal} slot} other {{numTotal} slots}} available","LOADING_TIP_20":"You can join up to 100 servers, and up to 200 servers with Nitro!","MANAGE_EMOJIS_AND_STICKERS":"Manage emojis and stickers","ROLE_PERMISSIONS_MANAGE_EMOJIS_AND_STICKERS_DESCRIPTION":"Allows members to add or remove custom emojis and stickers in this server.","START_STAGE_CHANNEL_EVENT_MODAL_SUBTITLE":"Write a topic to start your Stage.","REQUEST_TO_SPEAK_MEMBER_INFO_NEW_TO_DISCORD":"New to Discord","GUILD_EVENTS":"Events","SCHEDULE_EVENT":"Schedule event","SCHEDULE_EVENT_DESCRIPTION":"Create a Stage to be started later.","STAGE_DISCOVERY_LIVE_STAGE_TILE_DISCONNECTING":"Disconnecting...","START_STAGE_MODAL_SERVER_SELECTION_TITLE":"Where do you want to host a Stage?","START_STAGE_MODAL_SERVER_SELECTION_SUBTITLE":"Engage and grow your community by hosting a live audio event with Stage channels.","START_STAGE_MODAL_SERVER_SELECTION_BUTTON_TEXT":"Learn more about Stage channels","START_STAGE_MODAL_SERVER_SELECTION_BULLET_4":"Start your Stage!","START_STAGE_MODAL_SET_TOPIC_SUBTITLE":"Write a topic to start your Stage.","START_STAGE_MODAL_SET_TOPIC_CREATE_CHANNEL":"We will create a Stage channel for you called $[**!!{stageName}!!**](stageHook). You can change the name later.","END_STAGE":"End Stage","END_STAGE_TITLE":"Do you want to end the Stage?","STAGE_DISCOVERY_CONNECTION_ERROR_GENERIC":"We are having problems connecting you to this Stage. Please try later.","STAGE_DISCOVERY_CONNECTION_ERROR_BUTTON_TEXT":"Try again","USER_SETTINGS_USER_PROFILE":"User profile","USER_SETTINGS_CUSTOMIZATION_UPSELL":"Unlock with Nitro","USER_SETTINGS_AVATAR":"Avatar","USER_SETTINGS_PROFILE_BANNER":"Profile Banner","USER_SETTINGS_BANNER_SPECS":"We recommend an image of at least 600x240. You can upload a PNG, JPG or an animated GIF.","USER_SETTINGS_CUSTOMIZE_PROFILE_TITLE":"Customising my profile","USER_SETTINGS_UPLOAD_BANNER":"Upload Banner","USER_SETTINGS_REMOVE_BANNER":"Remove banner","USER_SETTINGS_CHANGE_BANNER_A11Y_LABEL":"Change banner","USER_SETTINGS_CHANGE_PROFILE_BANNER":"Change profile banner","USER_SETTINGS_REMOVE_PROFILE_BANNER":"Remove profile banner","USER_SETTINGS_REMOVE_AVATAR":"Remove avatar","USER_SETTINGS_CHANGE_AVATAR_A11Y_LABEL":"Change avatar","USER_SETTINGS_ABOUT_ME":"About Me","USER_SETTINGS_ABOUT_ME_DESCRIPTION":"Write anything you’d like about yourself — as long as you do it in under {maxLength, number} characters. You can use markdown and links if you’d like.","USER_POPOUT_ABOUT_ME":"About Me","PREMIUM_PROFILE_CUSTOMIZATION_UPSELL_HEADER":"Unlock Profile Customisation","PREMIUM_PROFILE_CUSTOMIZATION_UPSELL_BODY":"Get more customisation with a profile banner, an animated avatar, a custom tag [and more with Discord Nitro!](onLearnMore)","PREMIUM_FEATURES_PROFILE_CUSTOMIZATION_HEADER":"Style Your Profile","PREMIUM_FEATURES_PROFILE_CUSTOMIZATION_SUBHEADER":"Express yourself with an animated avatar, profile banner and custom tag.","PROFILE_CUSTOMIZATION_MARKETING_TOOLTIP_HEADER":"New Profile Customisation!","PROFILE_CUSTOMIZATION_MARKETING_TOOLTIP_BODY":"Express yourself with an ‘about me’ and, if you have Nitro, a profile banner!","PROFILE_CUSTOMIZATION_MARKETING_TOOLTIP_CTA":"Got it","PROFILE_CUSTOMIZATION_BETA_TOOLTIP":"Profile Customisation is currently available to a limited number of people.","PROFILE_BANNER_ICON_TOOLTIP_UPSELL":"Upload your own personalised banner and more with Discord Nitro!","PROFILE_CUSTOMIZATION_BIO_PLACEHOLDER":"Tell the world a little bit about yourself","PROFILE_CUSTOMIZATION_NITRO_ICON_TOOLTIP":"Exclusive to Nitro","MARKETING_PREMIUM_TIER_1_PERK_LIST_OMIT_PROFILE_CUSTOMIZATION":"Does not include profile banner","MARKETING_TIER_1_PERK_LIST_CUSTOM_EMOJI":"Use custom and animated emoji anywhere","MARKETING_TIER_1_PERK_OMIT_STICKERS":"Does not include Nitro sticker perks","DISCORD_U_COMING_SOON_TO_MOBILE":"Coming soon to mobile! For now, head over to desktop to access Discord Hubs","THREADS":"Threads","CREATE_THREAD":"Create thread","EDIT_THREAD":"Edit thread","DELETE_THREAD":"Delete thread","ARCHIVE_THREAD":"Archive thread","UNARCHIVE_THREAD":"Unarchive thread","THREAD_SETTINGS":"Thread settings","ARCHIVE_SETTINGS":"Archive settings","ARCHIVE_NOW":"Archive now","AUTO_ARCHIVE":"Auto-archive","AUTO_ARCHIVE_THREAD_AT":"Auto-archive at {time}","AUTO_ARCHIVE_THREAD_AT_LONG":"This thread will archive: {time}","EMPTY_MESSAGE_PRIVATE_THREAD_INSTRUCTIONS":"@mention users to add them to this private thread.","MEMBER_LIST_PRIVATE_THREAD_INSTRUCTIONS":"Only people you invite and moderators can see this thread.","AUTO_ARCHIVE_THREAD_AFTER":"Archive after {duration} of inactivity","AUTO_ARCHIVE_DURATION_1_HOUR":"1 hour","AUTO_ARCHIVE_DURATION_24_HOURS":"24 hours","AUTO_ARCHIVE_DURATION_3_DAYS":"3 days","AUTO_ARCHIVE_DURATION_1_WEEK":"1 week","ACTIVE_THREADS_POPOUT_HEADER":"More active threads","ACTIVE_THREADS_POPOUT_LINK":"See all","JOIN_THREAD":"Join thread","LEAVE_THREAD":"Leave thread","THREAD_MESSAGE_COUNT":"{count, plural, one {1 message ›} other {{count} messages ›}}","THREAD_MESSAGE_COUNT_MAX":"50+ messages ›","THREAD_MESSAGE_COUNT_MOBILE":"{count} ›","THREAD_MESSAGE_COUNT_MAX_MOBILE":"50+ ›","SEE_THREAD_MOBILE":"›","SEE_THREAD":"See thread ›","THREAD_ARCHIVED":"This thread is archived","NO_THREAD_MESSAGES":"There are no messages in this thread yet.","NO_RECENT_THREAD_MESSAGES":"There are no recent messages in this thread.","THREAD_STARTER_MESSAGE_ORIGINAL_MESSAGE":"Original message from channel","THREAD_STARTER_MESSAGE_NOT_LOADED":"Sorry, we couldn\'t load the first message in this thread","THREAD_STARTED_BY":"Started by $[](usernameHook)","THREAD_BROWSER_MESSAGE_PREVIEW":"$[](usernameHook) $[](messageTextHook)","BEGINNING_THREAD_ARCHIVE_DESCRIPTION":"This thread will archive after $[](autoArchiveDurationHook) of inactivity.","THREAD":"Thread","THREAD_SETTINGS_UPDATED":"Thread settings have been updated.","OPEN_IN_FULL_VIEW":"Open in full view","OPEN_IN_SPLIT_VIEW":"Open in split view","THREAD_HEADER_NOTICE_JOIN":"Join this thread to get notifications and to save in your channel list.","THREAD_HEADER_NOTICE_ARCHIVED":"This thread is archived. You can send a message to unarchive it.","THREAD_HEADER_NOTICE_LOCKED":"This thread was archived by a moderator. Only moderators can unarchive it.","UNARCHIVE":"Unarchive","ARCHIVED_THREAD_REACTIONS_DISABLED_TOAST":"You cannot add or remove reactions in archived threads.","THREAD_BROWSER_TITLE":"Threads","THREAD_BROWSER_ACTIVE":"Active","THREAD_BROWSER_ARCHIVED":"Archived","THREAD_BROWSER_PUBLIC":"Public","THREAD_BROWSER_PRIVATE":"Private","THREAD_BROWSER_STARTED_BY":"Started by $[](authorHook)","THREAD_BROWSER_CREATION_TIME":"Created {time}","THREAD_BROWSER_ARCHIVE_TIME":"Archived {time}","THREAD_BROWSER_PUBLIC_HEADER":"Public threads","THREAD_BROWSER_PRIVATE_HEADER":"Private threads","THREAD_BROWSER_OTHER_HEADER":"{count} other active threads","THREAD_BROWSER_FILTER_CONTENT_DESCRIPTION":"filter archived threads","THREAD_BROWSER_JOINED_HEADER":"{count} joined threads","THREAD_BROWSER_TIMESTAMP_DAYS":"{count}d ago","THREAD_BROWSER_TIMESTAMP_HOURS":"{count}h ago","THREAD_BROWSER_TIMESTAMP_MINUTES":"{count}m ago","THREAD_BROWSER_TIMESTAMP_MORE_THAN_MONTH":">30d ago","THREAD_BROWSER_NO_RECENT_MESSAGES":"No recent messages","THREAD_BROWSER_EMPTY_STATE_ACTIVE_HEADER":"There are no active threads.","THREAD_BROWSER_EMPTY_STATE_ARCHIVED_HEADER":"There are no archived threads.","THREAD_BROWSER_EMPTY_STATE_SUBTEXT":"Stay focused on a conversation with a thread, a temporary text channel.","THREAD_BROWSER_FILTER_SETTINGS_TITLE":"Filter settings","THREAD_BROWSER_FILTER_SETTINGS_VISIBILITY":"Thread visibility","THREAD_MEMBER_WITHOUT_ACCESS":"Cannot view this thread","MODERATOR_VIEW":"Moderator view","MODERATOR_VIEW_DESCRIPTION":"See all private threads created by all users","MODERATOR_VIEW_TOOLTIP":"Moderator view lets you see all private threads, even those created by others.","MODERATOR_VIEW_TOOLTIP_MOBILE":"See all private threads created by all users","NEW_THREAD":"New thread","THREAD_NAME":"Thread name","FORM_THREAD_NAME_PLACEHOLDER":"New thread","FORM_THREAD_NAME_HINT":"Name","FORM_THREAD_NAME_REQUIRED_ERROR":"Thread name is required","FORM_THREAD_AUTO_ARCHIVE_SECTION_LABEL":"Archive after inactivity","FORM_THREAD_STARTER_MESSAGE_SECTION_LABEL":"Starter message","FORM_THREAD_STARTER_MESSAGE_PLACEHOLDER":"Enter a message to start the conversation!","FORM_THREAD_PRIVATE_THREAD_SECTION_LABEL":"Only people you invite and moderators can see","FORM_THREAD_PRIVATE_THREAD_DESCRIPTION":"You can invite new people by @mentioning them.","PRIVATE_THREAD":"Private thread","THREAD_REPLY_SUGGESTION":"Want to make it easier to follow this chain of {count, plural, =1 {# reply} other {# replies}}?","FORM_PRIVATE_THREAD_DESCRIPTION":"Only people you invite and moderators can see this thread.","CREATE_THREAD_HEADER_1":"Send a message to start a thread in this channel!","CREATE_THREAD_HEADER_2":"It will archive after $[](durationHook) of inactivity.","CANNOT_JOIN_THREAD":"Cannot join thread","CANNOT_ADD_USER_TO_THREAD":"Cannot add user to thread","CANNOT_CREATE_THREAD":"Cannot create thread","CANNOT_UNARCHIVE_THREAD":"Cannot unarchive thread","TOO_MANY_MEMBERS_MESSAGE":"This thread has reached the maximum possible number of members.","TOO_MANY_THREADS_MESSAGE":"This server has reached the maximum number of active threads. Free up space by archiving a thread.","TOO_MANY_ANNOUNCEMENT_THREADS_MESSAGE":"This server has reached the maximum number of active announcement threads. Free up space by archiving a thread.","BOT_DM_TOO_MANY_THREADS":"Your message could not be sent because this server has reached the maximum number of threads. Free up space by archiving a thread.","BOT_DM_TOO_MANY_ANNOUNCEMENT_THREADS":"Your message could not be sent because this server has reached the maximum number of announcement threads. Free up space by archiving a thread.","FORM_HELP_DEFAULT_AUTO_ARCHIVE_DURATION":"New threads will be set to archive after the specified duration of inactivity.","FORM_LABEL_DEFAULT_AUTO_ARCHIVE_DURATION_OFF":"No default set.","FORM_HELP_AUTO_ARCHIVE_DURATION":"Threads will archive after the specified duration of inactivity.","UPLOAD_FILE_SUBTEXT":"Tip: double click the $[](icon)","SYSTEM_MESSAGE_THREAD_CREATED":"$[!!{actorName}!!](actorHook) started a thread: **[!!{threadName}!!](threadOnClick)**. See all [threads](viewThreadsOnClick).","SYSTEM_MESSAGE_THREAD_CREATED_MOBILE":"[!!{actorName}!!](actorHook) started a thread: **[!!{threadName}!!](threadOnClick)**.","SYSTEM_MESSAGE_THREAD_MEMBER_ADD":"$[!!{actorName}!!](actorHook) added $[!!{targetName}!!](targetHook) to the thread.","SYSTEM_MESSAGE_THREAD_MEMBER_ADD_MOBILE":"[!!{username}!!](usernameOnClick) added [!!{otherUsername}!!](otherUsernameOnClick) to the thread.","SYSTEM_MESSAGE_THREAD_MEMBER_REMOVE":"$[!!{actorName}!!](actorHook) removed $[!!{targetName}!!](targetHook) from the thread.","SYSTEM_MESSAGE_THREAD_MEMBER_REMOVE_MOBILE":"[!!{username}!!](usernameOnClick) removed [!!{otherUsername}!!](otherUsernameOnClick) from the thread.","SYSTEM_MESSAGE_THREAD_MEMBER_REMOVE_SELF":"$[!!{username}!!](usernameOnClick) left the thread","SYSTEM_MESSAGE_THREAD_MEMBER_REMOVE_SELF_MOBILE":"[!!{username}!!](usernameOnClick) left the thread","REMOVE_USER_FROM_THREAD":"Remove !!{user}!! from thread","KICK_USER_FROM_SERVER":"Kick !!{user}!! from server","BAN_USER_FROM_SERVER":"Ban !!{user}!! from server","MANAGE_THREADS":"Manage threads","ROLE_PERMISSIONS_MANAGE_THREADS_DESCRIPTION":"Allows members to rename, delete, archive/unarchive and turn on slow mode for threads. They can also view private threads.","ROLE_PERMISSIONS_MANAGE_THREADS_DESCRIPTION_TEXT":"Allows members to rename, delete, archive/unarchive and turn on slow mode for threads in this channel. They can also view private threads.","ROLE_PERMISSIONS_MANAGE_THREADS_DESCRIPTION_CATEGORY":"Allows members to rename, delete, archive/unarchive and turn on slow mode for threads in these channels. They can also view private threads.","USE_PUBLIC_THREADS":"Use public threads","ROLE_PERMISSIONS_USE_PUBLIC_THREADS_DESCRIPTION":"Allows members to talk in threads. The “Send messages” permission must be enabled for members to start new threads. If it is disabled, they can only respond to existing threads.","ROLE_PERMISSIONS_USE_PUBLIC_THREADS_DESCRIPTION_TEXT":"Allows members to talk in threads in this channel. The “Send messages” permission must be enabled for members to start new threads; If it is disabled, they can only respond to existing threads.","ROLE_PERMISSIONS_USE_PUBLIC_THREADS_DESCRIPTION_CATEGORY":"Allows members to talk in threads in these channels. The “Send messages” permission must be enabled for members to start new threads. If it is disabled, they can only respond to existing threads.","USE_PRIVATE_THREADS":"Use private threads","ROLE_PERMISSIONS_USE_PRIVATE_THREADS_DESCRIPTION":"Allows members to create and chat in private threads. The “Send messages” permission must be enabled for members to start new private threads. If it is disabled, they can only respond to private threads they’ve been added to.","ROLE_PERMISSIONS_USE_PRIVATE_THREADS_DESCRIPTION_TEXT":"Allows members to create and chat in private threads in this channel. The “Send messages” permission must be enabled for members to start new private threads. If it is disabled, they can only respond to private threads they’ve been added to.","ROLE_PERMISSIONS_USE_PRIVATE_THREADS_DESCRIPTION_CATEGORY":"Allows members to create and chat in private threads in these channels. The “Send messages” permission must be enabled for members to start new private threads. If it is disabled, they can only respond to private threads they’ve been added to.","THREAD_NOTIFICATION_SETTINGS_NUDGE_DESCRIPTION":"Your notification setting is now set to All messages.","THREAD_NOTIFICATION_SETTINGS_NUDGE_CTA":"Change settings","THREAD_NOTIFICATION_SETTINGS_NUDGE_CANCEL":"Don’t show again","DURATION_DAYS_SHORT":"{days, plural, =1 {1d} other {{days}d}}","GUILD_SETTINGS_AUDIT_LOG_CHANNEL_DEFAULT_AUTO_ARCHIVE_DURATION_CREATE":"{newValue, plural, =0 {Removed default archive duration} =1 {Set default archive duration to **# minute**} other {Set default archive duration to **# minutes**}}","GUILD_SETTINGS_AUDIT_LOG_CHANNEL_DEFAULT_AUTO_ARCHIVE_DURATION_CHANGE":"{newValue, plural, =0 {Removed default archive duration} =1 {Changed default archive duration to **# minute**} other {Changed default archive duration to **# minutes** }}","PREMIUM_UTILITY_MARKETING_TOOLTIP_HEADER":"New Nitro perks!","PREMIUM_UTILITY_MARKETING_TOOLTIP_BODY":"You can now join double the number of servers and send longer messages!","PREMIUM_UTILITY_MARKETING_TOOLTIP_CTA":"Got it"}')}}]);
-//# sourceMappingURL=49078e599d3842cb6dc8.js.map
\ No newline at end of file
diff --git a/api/assets/4916ca4106799de584bb.js b/api/assets/4916ca4106799de584bb.js
deleted file mode 100644
index 55044892..00000000
--- a/api/assets/4916ca4106799de584bb.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(this.webpackJsonp=this.webpackJsonp||[]).push([[24],{1347:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,r=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=w();if(e&&e.has(t))return e.get(t);var o={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var i=n?Object.getOwnPropertyDescriptor(t,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=t[r]}o.default=t,e&&e.set(t,o);return o}(o(0)),i=x(o(9)),a=x(o(67)),s=x(o(273)),l=x(o(3)),p=x(o(469)),f=x(o(8309)),u=x(o(719)),c=x(o(690)),d=x(o(1238)),h=x(o(415)),y=o(121),g=o(259),m=o(1),v=x(o(7923)),b=x(o(1193));function x(t){return t&&t.__esModule?t:{default:t}}function w(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return w=function(){return t},t}function O(t,e,o,r){n||(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var i=t&&t.defaultProps,a=arguments.length-3;if(e||0===a||(e={children:void 0}),1===a)e.children=r;else if(a>1){for(var s=new Array(a),l=0;l<a;l++)s[l]=arguments[l+3];e.children=s}if(e&&i)for(var p in i)void 0===e[p]&&(e[p]=i[p]);else e||(e=i||{});return{$$typeof:n,type:t,key:void 0===o?null:""+o,ref:null,props:e,_owner:null}}function k(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,P(t,e)}function P(t,e){return(P=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function C(){return(C=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n])}return t}).apply(this,arguments)}var S,_={left:v.default.popoutLeft,right:v.default.popoutRight,bottom:v.default.popoutBottom,"bottom-right":v.default.popoutBottomRight,"bottom-left":v.default.popoutBottomLeft,"top-left":v.default.popoutTopLeft,"top-right":v.default.popoutTopRight,top:v.default.popoutTop};!function(t){t.TOP="top",t.MIDDLE="middle"}(S||(S={}));var T={top:v.default.arrowAlignmentTop,middle:v.default.arrowAlignmentMiddle};function D(t){switch(t){case"left":return{x:-1,y:0};case"right":return{x:0,y:0};case"bottom":return{x:-.5,y:0};case"bottom-right":return{x:-1,y:0};case"bottom-left":return{x:0,y:0};case"top-left":return{x:0,y:-1};case"top-right":return{x:-1,y:-1};case"top":default:return{x:-.5,y:-1}}}var R=function(){function t(){this.animated=new s.default.ValueXY({x:0,y:0})}var e=t.prototype;return e.run=function(t,e,o){var n=e.position;this.animated.setValue(D(n)),o()},e.getStyle=function(){return s.default.accelerate({transform:[{translateX:this.animated.x.interpolate({inputRange:[-1.05,1.05],outputRange:["-105%","105%"]})},{translateY:this.animated.y.interpolate({inputRange:[-1.05,1.05],outputRange:["-105%","105%"]})}]})},t}(),W=function(){function t(){this.animated=new s.default.ValueXY({x:0,y:0})}var e=t.prototype;return e.computeStyles=function(t){var e,o;switch(t){case"left":e={x:-1.05,y:0},o={x:-1,y:0};break;case"right":e={x:.05,y:0},o={x:0,y:0};break;case"bottom":e={x:-.5,y:.05},o={x:-.5,y:0};break;case"bottom-left":e={x:0,y:.05},o={x:0,y:0};break;case"bottom-right":e={x:0,y:.05},o={x:-1,y:0};break;case"top-left":e={x:0,y:-1.05},o={x:0,y:-1};break;case"top-right":e={x:0,y:-1.05},o={x:-1,y:-1};break;case"top":default:e={x:-.5,y:-1.05},o={x:-.5,y:-1}}return{startStyle:e,endStyle:o}},e.run=function(t,e,o){var n=e.position,r=this.computeStyles(n),i=r.startStyle,a=r.endStyle,l=t.getBoundingClientRect(),p=l.left,f=l.right,u=l.width;p-=10,f+=10;var c=u*a.x;if(f+=c,(p+=c)<0){var d=p/u;a.x+=d,i.x+=d}else if(f>window.innerWidth){var h=(f-window.innerWidth)/u;a.x-=h,i.x-=h}this.animated.setValue(i),s.default.timing(this.animated,{toValue:a,duration:150,easing:s.default.Easing.inOut(s.default.Easing.cubic)}).start(o)},e.getStyle=function(){return s.default.accelerate({transform:[{translateX:this.animated.x.interpolate({inputRange:[-1.05,1.05],outputRange:["-105%","105%"]})},{translateY:this.animated.y.interpolate({inputRange:[-1.05,1.05],outputRange:["-105%","105%"]})}]})},t}(),L=function(){function t(){this.animated=new s.default.Value(0)}var e=t.prototype;return e.run=function(t,e,o){this.animated.setValue(0),s.default.spring(this.animated,{toValue:1,tension:80,friction:8,overshootClamping:!0}).start(o)},e.interpolate=function(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return this.animated.interpolate({inputRange:[0,1],outputRange:e})},e.getStyle=function(t){var e,o=t.position,n=t.height,r=t.width,i=t.x,a=t.offsetX,l=t.clickPos,p=D(o);return n>0&&(e={height:this.interpolate(0,n),width:this.interpolate(0,r),left:this.interpolate(i+l,i+a)}),s.default.accelerate(C({},e,{overflow:"hidden",transform:[{translateY:100*p.y+"%"},{translateX:100*p.x+"%"}]}))},t}(),M=function(t){function e(e){var o,n;switch((o=t.call(this,e)||this).preventNextClose=!1,o.componentWillEnterCallback=function(){},o.close=function(t){if(o.preventNextClose&&u.default.isOpen())o.preventNextClose=!1;else{var e=o.props,n=e.popoutKey,r=e.preventCloseFromModal,i=e.preventClickPropagation,s=e.onClose;if(!r||!c.default.hasModalOpen()){if(null!=t){for(var l=t.target,p=a.default.findDOMNode(k(o));l instanceof Element;){if(l===p)return;if(null!=l.classList&&(l.classList.contains("popout-open")||l.classList.contains(b.default.layer)))return;l=l.parentNode}i&&(t.preventDefault(),t.stopPropagation())}s&&s(),f.default.close(n)}}},o.closeContext=function(t){if(null!=t)for(var e=t.target,n=a.default.findDOMNode(k(o));null!=e;){if(e===n)return void(o.preventNextClose=!0);e=e.parentNode||null}o.preventNextClose&&u.default.isOpen()?o.preventNextClose=!1:f.default.close(o.props.popoutKey)},o.updateOffsets=function(){var t=o.props,e=t.position,n=t.preventInvert,r=t.arrowAlignment,i=a.default.findDOMNode(k(o));if(!(i instanceof HTMLElement))throw new Error("domNode is not instance of HTMLElement");var s=i.offsetWidth,l=i.offsetHeight,p=!1;n||(p="top"===e||"top-right"===e||"top-left"===e?o.props.y<.5*window.innerHeight&&o.props.y-i.offsetHeight<0:o.props.y+o.props.targetHeight+14+l>=window.innerHeight)&&("bottom"===e?e="top":"bottom-left"===e?e="top-left":"bottom-right"===e?e="top-right":"top-right"===e?e="bottom-right":"top-left"===e?e="bottom-left":"top"===e&&(e="bottom"));var f={invert:p,position:e,height:l,width:s,offsetX:0,offsetY:0},u=r===S.MIDDLE?2:.5;switch(e){case"left":f.offsetX=0,f.offsetY=o.props.targetHeight*u;break;case"right":f.offsetX=o.props.targetWidth,f.offsetY=o.props.targetHeight*u;break;case"bottom":f.offsetX=o.props.targetWidth/2,f.offsetY=o.props.targetHeight;break;case"bottom-left":f.offsetX=0,f.offsetY=o.props.targetHeight;break;case"bottom-right":f.offsetX=o.props.targetWidth,f.offsetY=o.props.targetHeight;break;case"top-left":f.offsetX=0,f.offsetY=0;break;case"top-right":f.offsetX=o.props.targetWidth,f.offsetY=0;break;case"top":default:f.offsetX=o.props.targetWidth/2,f.offsetY=0}!p||"right"!==e&&"left"!==e||(o.props.closeOnScroll?f.offsetY-=l-o.props.targetHeight:f.offsetY-=o.props.y+l-window.innerHeight+10),o.setState(f,o._componentWillEnter)},o.props.animationType){case"default":n=new W;break;case"spring":n=new L;break;case"none":default:n=new R}return o.state={width:0,height:0,offsetX:null,offsetY:null,animation:n,position:"",invert:!1},o}E(e,t);var o=e.prototype;return o.componentDidMount=function(){y.ComponentDispatch.subscribe(m.ComponentActions.POPOUT_CLOSE,this.close),document.addEventListener("click",this.close,!0),document.addEventListener("contextmenu",this.closeContext,!0),this.updateOffsets()},o.componentWillEnter=function(t){this.componentWillEnterCallback=t},o._componentWillEnter=function(){if(this.componentWillEnterCallback){var t=this.componentWillEnterCallback;delete this.componentWillEnterCallback;var e=a.default.findDOMNode(this);if(!(e instanceof HTMLElement))throw new Error("node is not an instance of HTMLElement");this.state.animation.run(e,{position:this.state.position,x:this.props.x,y:this.props.y,width:this.state.width,height:this.state.height,targetWidth:this.props.targetWidth,targetHeight:this.props.targetHeight,offsetX:this.state.offsetX,offsetY:this.state.offsetY},t)}},o.componentWillLeave=function(t){t()},o.componentDidUpdate=function(t){var e=t.text,o=t.position,n=t.x,r=t.y,i=t.targetWidth,a=t.targetHeight,s=t.closeOnScroll;this.props.text===e&&this.props.position===o&&this.props.x===n&&this.props.y===r&&this.props.targetWidth===i&&this.props.targetHeight===a&&this.props.closeOnScroll===s||this.updateOffsets(),this.props.needsRerender&&f.default.didRerender(this.props.popoutKey)},o.componentWillUnmount=function(){y.ComponentDispatch.unsubscribe(m.ComponentActions.POPOUT_CLOSE,this.close),document.removeEventListener("click",this.close,!0),document.removeEventListener("contextmenu",this.closeContext,!0)},o.render=function(){var t,e=this.state,o=e.offsetX,n=e.offsetY,r=e.invert,a=e.position,l=e.animation,p=this.props,f=p.zIndexBoost,u=p.closeOnScroll,c=p.x,d=p.y,h=p.popoutKey,y=p.animationType,m=p.clickPos,b=p.render,x=p.containerClass,w=p.arrowAlignment,k=p.showArrow,E=p.forceTheme,P=C({},{left:null===o?null:c+o,top:null==n?null:d+n,zIndex:null!=f?1001+f:null},{},l.getStyle({position:a,width:this.state.width,height:this.state.height,x:c,y:d,offsetX:o,offsetY:n,clickPos:m}));P.visibility||(P.visibility=null==P.transform?"hidden":"visible");var S=((t={})[v.default.popoutInvert]=r&&u,t[v.default.noArrow]=!k,t[v.default.noShadow]=!this.props.shadow||"none"===y,t);return x&&(S[x]=!0),O(s.default.div,{className:(0,i.default)(S,v.default.popout,_[a],T[w],(0,g.getThemeClass)(E),{"force-theme":null!=E}),style:P},void 0,b({popoutKey:h,onClose:this.close,inverted:r,position:a}))},e}(r.PureComponent);M.displayName="Popout",M.defaultProps={animationType:"default",closeOnScroll:!0,preventInvert:!1,preventCloseFromModal:!1,preventClickPropagation:!1,shadow:!0,text:"",offsetX:0,offsetY:0};var N=function(t){function e(){return t.apply(this,arguments)||this}return E(e,t),e.prototype.render=function(){var t=this.props,e=t.className,o=t.popouts,n=o.some((function(t){return t.backdrop})),a=(o.find((function(t){return null!=t.zIndexBoost&&t.zIndexBoost>0}))||{}).zIndexBoost;return O(p.default,{className:(0,i.default)(v.default.popouts,e),component:"div"},void 0,O(h.default,{zIndexBoost:null!=a?a:0,isVisible:n}),o.map((function(t){var e=t.key,o=function(t,e){if(null==t)return{};var o,n,r={},i=Object.keys(t);for(n=0;n<i.length;n++)o=i[n],e.indexOf(o)>=0||(r[o]=t[o]);return r}(t,["key"]);return r.createElement(M,C({popoutKey:String(e)},o,{key:e+"-popout"}))})))},e}(r.PureComponent);N.displayName="Popouts";var Y=l.default.connectStores([d.default],(function(){return{popouts:d.default.getPopouts()}}))(N);e.default=Y},8309:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,r=(n=o(2))&&n.__esModule?n:{default:n},i=o(1);var a={open:function(t){r.default.dirtyDispatch({type:i.ActionTypes.POPOUT_OPEN,popout:t})},close:function(t){r.default.dirtyDispatch({type:i.ActionTypes.POPOUT_CLOSE,key:t})},closeAll:function(){r.default.dirtyDispatch({type:i.ActionTypes.POPOUT_CLOSE_ALL})},rerender:function(t){r.default.dirtyDispatch({type:i.ActionTypes.POPOUT_NEEDS_RERENDER,key:t})},didRerender:function(t){r.default.dirtyDispatch({type:i.ActionTypes.POPOUT_DID_RERENDER,key:t})}};e.default=a}}]);
-//# sourceMappingURL=4916ca4106799de584bb.js.map
\ No newline at end of file
diff --git a/api/assets/4a5d0d639aefbb9cafca.js b/api/assets/4a5d0d639aefbb9cafca.js
deleted file mode 100644
index 1377c00b..00000000
--- a/api/assets/4a5d0d639aefbb9cafca.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(this.webpackJsonp=this.webpackJsonp||[]).push([[0],{1170:function(e,t,o){e.exports={flex:"flex-1O1GKY",alignStart:"alignStart-H-X2h-",alignEnd:"alignEnd-1D6PQi",alignCenter:"alignCenter-1dQNNs",alignStretch:"alignStretch-DpGPf3",alignBaseline:"alignBaseline-LAQbso",justifyStart:"justifyStart-2NDFzi",justifyEnd:"justifyEnd-2E6vba",justifyCenter:"justifyCenter-3D2jYp",justifyAround:"justifyAround-1n1pnI",justifyBetween:"justifyBetween-2tTqYu",noWrap:"noWrap-3jynv6",wrap:"wrap-ZIn9Iy",wrapReverse:"wrapReverse-3ssEE3",directionRow:"directionRow-3v3tfG",directionRowReverse:"directionRowReverse-m8IjIq",directionColumn:"directionColumn-35P_nr",spacer:"spacer-1fA9zc",vertical:"vertical-V37hAW flex-1O1GKY directionColumn-35P_nr",horizontal:"horizontal-2EEEnY flex-1O1GKY directionRow-3v3tfG",horizontalReverse:"horizontalReverse-3tRjY7 flex-1O1GKY directionRowReverse-m8IjIq",flexCenter:"flexCenter-3_1bcw flex-1O1GKY justifyCenter-3D2jYp alignCenter-1dQNNs"}},1193:function(e,t,o){e.exports={layerContainer:"layerContainer-yqaFcK",layer:"layer-v9HyYc",layerHidden:"layerHidden-293Ou1",disabledPointerEvents:"disabledPointerEvents-1ptgTB"}},1205:function(e,t,o){e.exports={size10:"size10-tblYdA",size12:"size12-3cLvbJ",size14:"size14-e6ZScH",size16:"size16-1P40sf",size20:"size20-17Iy80",size24:"size24-RIRrxO",size32:"size32-o_H79z"}},1244:function(e,t,o){e.exports={inputWrapper:"inputWrapper-31_8H8",input:"input-cIJ7To",focused:"focused-1mmYsC",error:"error-2O5WFJ",success:"success-2-F980",disabled:"disabled-2BKQFm",editable:"editable-2UkCu4",inputDefault:"inputDefault-_djjkz input-cIJ7To",inputMini:"inputMini-2xQV9P input-cIJ7To",inputPrefix:"inputPrefix-2VAOGg"}},370:function(e,t,o){e.exports={marginXSmall:"4px",marginSmall:"8px",marginMedium:"20px",marginLarge:"40px",marginXLarge:"60px",marginReset:"marginReset-236NPn",marginTop4:"marginTop4-2BNfKC",marginBottom4:"marginBottom4-2qk4Hy",marginTop8:"marginTop8-1DLZ1n",marginBottom8:"marginBottom8-AtZOdT",marginTop20:"marginTop20-3TxNs6",marginBottom20:"marginBottom20-32qID7",marginTop40:"marginTop40-i-78cZ",marginBottom40:"marginBottom40-2vIwTv",marginTop60:"marginTop60-3PGbtK",marginBottom60:"marginBottom60-Gs8NBA",marginCenterHorz:"marginCenterHorz-1s41rg",marginLeft8:"marginLeft8-6V8lOs"}},381:function(e,t,o){e.exports={scrollerBase:"scrollerBase-289Jih",thin:"thin-1ybCId scrollerBase-289Jih",fade:"fade-2kXiP2",scrolling:"scrolling-1Cdwk-",auto:"auto-Ge5KZx scrollerBase-289Jih",none:"none-2Eo-qx scrollerBase-289Jih",content:"content-3YMskv",disableScrollAnchor:"disableScrollAnchor-3V9UtP"}},471:function(e,t,o){e.exports={responsiveWidthMobile:"485px",responsiveWidthMobileFirst:"486px",responsiveWidthDesktop:"1080px",maxQRLoginWidth:"830px",wrapper:"wrapper-3Q5DdO scrollbarGhost-2F9Zj2 scrollbar-3dvm_9",rightSplit:"rightSplit-2US0xy",embedded:"embedded-19g94k",leftSplit:"leftSplit-1qOwnR",nonEmbeddedLeftSplit:"nonEmbeddedLeftSplit-3z6mge",mobileWave:"mobileWave-1vJwyR",logo:"logo-2niOmb"}},5701:function(e,t,o){e.exports={scrollbar:"scrollbar-3dvm_9",scrollbarDefault:"scrollbarDefault-3COgCQ scrollbar-3dvm_9",scrollbarGhost:"scrollbarGhost-2F9Zj2 scrollbar-3dvm_9",scrollbarGhostHairline:"scrollbarGhostHairline-1mSOM1 scrollbar-3dvm_9"}},5708:function(e,t,o){e.exports={row:"row-2grg9k",section:"section-1Hw6N9",width100:"width100-2aXN2H section-1Hw6N9",width75:"width75-3anqmd section-1Hw6N9",width60:"width60-1v9DeU section-1Hw6N9",width40:"width40-1Gna7C section-1Hw6N9",width30:"width30-2P1hBi section-1Hw6N9",width50:"width50-23-miv section-1Hw6N9",width25:"width25-3DEhbv section-1Hw6N9"}},5710:function(e,t,o){e.exports={keybindShortcut:"keybindShortcut-1BD6Z1",bindArrow:"bindArrow-2X3Aom",up:"up-2cOsD2",left:"left-3u1rVI",right:"right-CbUyiH",keybindShortcutQuickSwitcher:"keybindShortcutQuickSwitcher-1-Xs5c keybindShortcut-1BD6Z1",keybindShortcutTipsNav:"keybindShortcutTipsNav-1mb0yH keybindShortcutQuickSwitcher-1-Xs5c keybindShortcut-1BD6Z1",keybindShortcutTipsSelect:"keybindShortcutTipsSelect-HDyfe8",dim:"dim-1l4L4y",dark:"dark-2P8byF",keybindShortcutSearchPopout:"keybindShortcutSearchPopout-1MAfqq",keyboardShortcuts:"keyboardShortcuts-1s_yPt"}},5711:function(e,t,o){e.exports={responsiveWidthMobile:"485px",header:"header-RSCE0X",headerTier1:"headerTier1-2Ckjmd header-RSCE0X",headerTier2:"headerTier2-3FKMxd header-RSCE0X",closeButton:"closeButton-52_sX-",headerLogo:"headerLogo-3yYMKQ",headerLogoWordmark:"headerLogoWordmark-3s0bFX",headerLogoTier2:"headerLogoTier2-K7zsGB",headerLogoTier1:"headerLogoTier1-tgveOB",headerAnimationWrapper:"headerAnimationWrapper-1W2JzL",headerAnimation:"headerAnimation-3SJLN4",loader:"loader-3HXZ2q",invoiceHeader:"invoiceHeader-3VOJTm",invoice:"invoice-28DmWy",paymentSourceWrapper:"paymentSourceWrapper-2dIzE4",paymentSourceOptionalWarning:"paymentSourceOptionalWarning-bonA40",authorizationChargeHelp:"authorizationChargeHelp-dzWysI",contentWrapper:"contentWrapper-2H52F3",shaker:"shaker-35cz7E",root:"root-1ANs48",trialCheckbox:"trialCheckbox-2rz9Q1",trialCheckboxLabel:"trialCheckboxLabel-3DxtAL"}},5712:function(e,t,o){e.exports={title:"title-3sZWYQ",h1:"h1-1qdNzo title-3sZWYQ",h2:"h2-2gWE-o title-3sZWYQ",h3:"h3-3PDeKG title-3sZWYQ",h4:"h4-AQvcAz title-3sZWYQ",h5:"h5-18_1nd title-3sZWYQ",defaultMarginh4:"defaultMarginh4-2vWMG5",defaultMarginh1:"defaultMarginh1-peT3GC",defaultMarginh2:"defaultMarginh2-2LTaUL",defaultMarginh3:"defaultMarginh3-2iptLs",defaultMarginh5:"defaultMarginh5-2mL-bP",disabled:"disabled-2Dh7SK",required:"required-7sPBq3",errorMessage:"errorMessage-3Guw2R",errorSeparator:"errorSeparator-30Q6aR",defaultColor:"defaultColor-1_ajX0",faded:"faded-3bns_w",error:"error-25JxNp"}},5713:function(e,t,o){e.exports={select:"select-2fjwPw",searchable:"searchable-1Zl-ns",searchInput:"searchInput-5YMkDH",editing:"editing-p4oIUO",label:"label-2lO3Xi",open:"open-kZ53_U",disabled:"disabled-9453HS",placeholder:"placeholder-ffQ18M",measurement:"measurement-1lxjFG",lookFilled:"lookFilled-22uAsw",popout:"popout-VcNcHB",option:"option-3KoAJB",focused:"focused-1T6PE5",selectedIcon:"selectedIcon-3uS11H",icons:"icons-2E-yxr",clear:"clear-1-31NQ"}},5714:function(e,t,o){e.exports={responsiveWidthMobile:"485px",modal:"modal-yWgWj-",sizeSmall:"sizeSmall-1jtLQy",sizeMedium:"sizeMedium-df47zS",sizeLarge:"sizeLarge-2yOtf1",fullscreenOnMobile:"fullscreenOnMobile-1aglG_",footer:"footer-3rDWdC",header:"header-2tA9Os",hideOnFullscreen:"hideOnFullscreen-2tpqvf"}},5716:function(e,t,o){e.exports={ring:"ring-13rgEW"}},5717:function(e,t,o){e.exports={spinner:"spinner-2enMB9",inner:"inner-1gJC7_",wanderingCubesItem:"wanderingCubesItem-WPXqao","spinner-wandering-cubes":"spinner-wandering-cubes-1eyF3t",chasingDots:"chasingDots-OdvUfk","spinner-chasing-dots-rotate":"spinner-chasing-dots-rotate-1WX_VU",chasingDotsItem:"chasingDotsItem-2DVNUn","spinner-chasing-dots-bounce":"spinner-chasing-dots-bounce-39u8Kf",pulsingEllipsis:"pulsingEllipsis-3YiXRF",pulsingEllipsisItem:"pulsingEllipsisItem-32hhWL","spinner-pulsing-ellipsis":"spinner-pulsing-ellipsis-1qRxRG",lowMotionItem:"lowMotionItem-1DvHia","spinner-low-motion":"spinner-low-motion-kHWo1a",stopAnimation:"stopAnimation-1XE1FK",circular:"circular-2NaZOq",path:"path-92Hmty",spinningCircle:"spinningCircle-2NAjGW",spinningCircleInner:"spinningCircleInner-mbM5zM inner-1gJC7_","spinner-spinning-circle-rotate":"spinner-spinning-circle-rotate-1-ejtM","spinner-spinning-circle-dash":"spinner-spinning-circle-dash-3G9Wwf",path2:"path2-1q7bG_",path3:"path3-2l9TIX"}},5718:function(e,t,o){e.exports={lowSaturationUnderline:"lowSaturationUnderline-3svVxy",button:"button-38aScr",lookFilled:"lookFilled-1Gx00P",colorBrand:"colorBrand-3pXr91",spinnerItem:"spinnerItem-3GlVyU",lookInverted:"lookInverted-2D7oAl",lookOutlined:"lookOutlined-3sRXeN",lookLink:"lookLink-9FtZy- lowSaturationUnderline-3svVxy",contents:"contents-18-Yxp",hoverBrand:"hoverBrand-1_Fxlk",hasHover:"hasHover-3X1-zV",colorYellow:"colorYellow-2JqYwt",hoverYellow:"hoverYellow-171chs",colorLink:"colorLink-35jkBc",hoverLink:"hoverLink-i1fEKS",colorWhite:"colorWhite-rEQuAQ",hoverWhite:"hoverWhite-2uUmXw",colorBrandNew:"colorBrandNew-g5lmBU",hoverBrandNew:"hoverBrandNew-OURftq",colorRed:"colorRed-1TFJan",hoverRed:"hoverRed-2NoOXI",colorGreen:"colorGreen-29iAKY",hoverGreen:"hoverGreen-1gjdJc",colorGrey:"colorGrey-2DXtkV",hoverGrey:"hoverGrey-2CBXu0",colorPrimary:"colorPrimary-3b3xI6",hoverPrimary:"hoverPrimary-2D1j2r",colorTransparent:"colorTransparent-1ewNp9",hoverTransparent:"hoverTransparent-2Lz5CN",lookBlank:"lookBlank-3eh9lL",sizeTiny:"sizeTiny-EgeIrh",sizeSmall:"sizeSmall-2cSMqn",sizeMedium:"sizeMedium-1AC_Sl",sizeLarge:"sizeLarge-1vSeWK",sizeXlarge:"sizeXlarge-2yFAlZ",sizeMin:"sizeMin-1mJd1x",sizeMax:"sizeMax-1Mj0eU",sizeIcon:"sizeIcon-1-kvKI",grow:"grow-q77ONN",fullWidth:"fullWidth-1orjjo",submitting:"submitting-3qlO9O",spinner:"spinner-3a9zLT",disabledButtonWrapper:"disabledButtonWrapper-3wH6-b",disabledButtonOverlay:"disabledButtonOverlay-2DA5FI"}},5719:function(e,t,o){e.exports={_flex:"flex-1O1GKY",_horizontal:"horizontal-2EEEnY flex-1O1GKY directionRow-3v3tfG",_horizontalReverse:"horizontalReverse-3tRjY7 flex-1O1GKY directionRowReverse-m8IjIq",flex:"flex-1xMQg5 flex-1O1GKY",horizontal:"horizontal-1ae9ci horizontal-2EEEnY flex-1O1GKY directionRow-3v3tfG",horizontalReverse:"horizontalReverse-2eTKWD horizontalReverse-3tRjY7 flex-1O1GKY directionRowReverse-m8IjIq",flexChild:"flexChild-faoVW3",flexMarginReset:"flexMarginReset-26Y2-5"}},5720:function(e,t,o){e.exports={selectable:"selectable-2GY4I1",strong:"strong-1TazCs",colorStandard:"colorStandard-2KCXvj",colorLink:"colorLink-2vG20E",colorMuted:"colorMuted-HdFt4q",colorError:"colorError-3RX-d6",colorBrand:"colorBrand-2tjs5J",colorHeaderPrimary:"colorHeaderPrimary-26Jzh-",colorHeaderSecondary:"colorHeaderSecondary-3Sp3Ft",colorStatusYellow:"colorStatusYellow-3sKKh2",colorStatusGreen:"colorStatusGreen-2saF4_",colorStatusRed:"colorStatusRed-1YV2rj",colorInteractiveActive:"colorInteractiveActive-3Ip9Eu",colorInteractiveNormal:"colorInteractiveNormal-PB7JN3"}},5721:function(e,t,o){e.exports={backdrop:"backdrop-1wrmKB",withLayer:"withLayer-RoELSG"}},5722:function(e,t,o){e.exports={backdrop:"backdrop-29yll0",layer:"layer-2KE1M9"}},5723:function(e,t,o){e.exports={responsiveWidthMobile:"485px",innerPadding:"16px",focusLock:"focusLock-Ns3yie",root:"root-1gCeng",small:"small-3iVZYw",medium:"medium-2RE1hE",large:"large-3lXhLH",fullscreenOnMobile:"fullscreenOnMobile-1bD22y",footer:"footer-2gL1pp",header:"header-1TKi98",separator:"separator-2-RRj_",content:"content-1LAB8Z",close:"close-hZ94c6",hideOnFullscreen:"hideOnFullscreen-9ibOM4"}},5725:function(e,t,o){e.exports={container:"container-14fypd",form:"form-26zE04",modalContent:"modalContent-1T1Tix",content:"content-dfabe7",title:"title-18-Ds0 marginBottom20-32qID7 marginTop8-1DLZ1n",minorContainer:"minorContainer-Oi4S_y",minorAction:"minorAction-OVxOke",body:"body-Mj9Oxz",primaryButton:"primaryButton-2BsGPp",secondaryButton:"secondaryButton-BIo-2g",gutter:"gutter-15v0rO"}},5726:function(e,t,o){e.exports={wrapper:"wrapper-1sSZUt",base:"base-1x0h_U",selectable:"selectable-3oBWf0",muted:"muted-3-7c5L",uppercase:"uppercase-3VWUQ9"}},5727:function(e,t,o){e.exports={fullArt:"fullArt-2zAZvG",header:"header-1X3-pa"}},5728:function(e,t,o){e.exports={flowerStarContainer:"flowerStarContainer-3zDVtj",flowerStar:"flowerStar-1GeTsn",childContainer:"childContainer-1wxZNh"}},5729:function(e,t,o){e.exports={tooltip:"tooltip-2QfLtc",tooltipDisablePointerEvents:"tooltipDisablePointerEvents-3eaBGN",tooltipPointer:"tooltipPointer-3ZfirK",tooltipContent:"tooltipContent-bqVLWK",tooltipContentAllowOverflow:"tooltipContentAllowOverflow-fFbpe9",tooltipTop:"tooltipTop-XDDSxx",tooltipBottom:"tooltipBottom-3ARrEK",tooltipCenter:"tooltipCenter-2golRA",tooltipLeft:"tooltipLeft-3EDOk1",tooltipRight:"tooltipRight-2JM5PQ",tooltipPrimary:"tooltipPrimary-1d1ph4",tooltipBlack:"tooltipBlack-PPG47z",tooltipGrey:"tooltipGrey-1hnvTt",tooltipBrand:"tooltipBrand-g03Nz8",tooltipRed:"tooltipRed-8-9NeP",tooltipGreen:"tooltipGreen-WdeQwd",tooltipYellow:"tooltipYellow-E7eIBE"}},5730:function(e,t,o){e.exports={background:"background-2uufRq",hubContainer:"hubContainer-2GsMAo background-2uufRq",verified:"verified-1eC5dy background-2uufRq",partnered:"partnered-3nJayh background-2uufRq",hub:"hub-3tYS7n hubContainer-2GsMAo background-2uufRq",icon:"icon-1ihkOt",verifiedHub:"verifiedHub-1GBeCT hubContainer-2GsMAo background-2uufRq"}},5731:function(e,t,o){e.exports={size12:"size12-3R0845",size16:"size16-14cGz5",userSelectText:"userSelectText-1o1dQ7",popoutWidth:"250px",splashRatio:"calc(16/9)",iconSize:"84px",iconPadding:"4px",guildPopout:"guildPopout-3CgKqR",iconMask:"iconMask-AFPO7u",unavailableIcon:"unavailableIcon-e1M1SS",iconWithSplash:"iconWithSplash-19l002",avatar:"avatar-397jYv",splashImage:"splashImage-3SgZ2f",body:"body-2Enz7L",hasSplash:"hasSplash-200jeH",guildNameWrapper:"guildNameWrapper-1Mauc8 userSelectText-1o1dQ7",guildName:"guildName-vhRkcC size16-14cGz5",badge:"badge-3CnxD1",description:"description-2CBrN8",memberInfo:"memberInfo-28ncC0 size12-3R0845",memberCount:"memberCount-2WToxu",dot:"dot-14zbHU",dotOnline:"dotOnline-3hjzjw dot-14zbHU",dotOffline:"dotOffline-3gYNLJ dot-14zbHU",memberText:"memberText-21jAAz",footer:"footer-3OAEzG",emojiHeader:"emojiHeader-1Mu53U",emojiContainer:"emojiContainer-3Wqma4",withCounter:"withCounter-jpW8Nw",emoji:"emoji-270c6v",emojiCounter:"emojiCounter-1BHDd2",placeholderSkeleton:"placeholderSkeleton-2WHb-r",placeholderPulse:"placeholderPulse-2NB6YJ",splashPlaceholder:"splashPlaceholder-3eWUcT placeholderSkeleton-2WHb-r",iconPlaceholder:"iconPlaceholder-193bRZ placeholderSkeleton-2WHb-r",namePlaceholder:"namePlaceholder-2Ciab4 placeholderSkeleton-2WHb-r",memberInfoPlaceholder:"memberInfoPlaceholder-MpPvk8 placeholderSkeleton-2WHb-r",viewButtonPlaceholder:"viewButtonPlaceholder-1C07Fk",unavailableHeader:"unavailableHeader-2yDubR"}},5732:function(e,t,o){e.exports={icon:"icon-3o6xvg",guildIconBadge:"guildIconBadge-1PJHeq",iconInactive:"iconInactive-98JN5i",iconActiveMini:"iconActiveMini-3PzjMn",iconActiveSmall:"iconActiveSmall-3IUUtn",iconActiveMedium:"iconActiveMedium-1UaEIR",iconActiveLarge:"iconActiveLarge-2nzn9z",iconActiveLarger:"iconActiveLarger-1L4Joi",iconActiveXLarge:"iconActiveXLarge-_qKvKn",iconSizeSmol:"iconSizeSmol-2Dw61G",iconSizeMini:"iconSizeMini-3dKErj",iconSizeSmaller:"iconSizeSmaller-2whVAO",iconSizeSmall:"iconSizeSmall-3aWgx9",iconSizeMedium:"iconSizeMedium-2OqPjI",iconSizeLarge:"iconSizeLarge-161qtT",iconSizeLarger:"iconSizeLarger-2MnpN2",iconSizeXLarge:"iconSizeXLarge-1AvWOw",acronym:"acronym-1e2Mdt",noIcon:"noIcon-1a_FrS",noAcronym:"noAcronym-pYLF4V"}},5733:function(e,t,o){e.exports={loadingPopout:"loadingPopout-qYljDW"}},5734:function(e,t,o){e.exports={translate:"translate-2dAEQ6",animatorTop:"animatorTop-2Y7x2r",animatorBottom:"animatorBottom-fS5rNO",animatorLeft:"animatorLeft-1EQxU0",animatorRight:"animatorRight-3i_YPs",animatorCenter:"animatorCenter-3Wx6K8",didRender:"didRender-33z1u8",scale:"scale-3iLZhb",fade:"fade-18lLrh"}},5735:function(e,t,o){e.exports={container:"container-7Unqij",icon:"icon-3jQD8H"}},5736:function(e,t,o){e.exports={dots:"dots-3Bkt3k",themed:"themed-IQiCm3"}},5737:function(e,t,o){e.exports={mask:"mask-1qbNWk",status:"status-1AY8sU"}},5738:function(e,t,o){e.exports={wrapper:"wrapper-3t9DeA",pointer:"pointer-2zj-Tb",mask:"mask-1l8v16",status:"status-1eOIMS",svg:"svg-2V3M55",cursorDefault:"cursorDefault-dsQJ1n",avatarStack:"avatarStack-2Dr8S9",avatar:"avatar-VxgULZ",avatarSpeaking:"avatarSpeaking-2c8-9i",pointerEvents:"pointerEvents-2zdfdO"}},5739:function(e,t,o){e.exports={grid:"grid-3fdl0Y",speakerContainer:"speakerContainer-3h4uQU",avatar:"avatar-vQKmqY",iconMicrophone:"iconMicrophone-1A2Yqh",speakerCount:"speakerCount-3KijLY",textInGridContainer:"textInGridContainer-XBWCa-",textInGrid:"textInGrid-1ba1AD"}},5740:function(e,t,o){e.exports={contentContainer:"contentContainer-r2-Vlj",headerContainer:"headerContainer-5fBDkh",guildIcon:"guildIcon-21bg7K",flexContainerRow:"flexContainerRow-3kqdy5",guildInfoContainer:"guildInfoContainer-1dd0zN",topicText:"topicText-2H6hYP",guildName:"guildName-UP2boh",disabled:"disabled-1hIg7X",featuredTag:"featuredTag-2NRwvK",featuredTagText:"featuredTagText-g04Gzg",rightJustifiedContent:"rightJustifiedContent-2QwekV"}},5741:function(e,t,o){e.exports={card:"card-3Qj_Yx",cardBrand:"cardBrand-39zmMQ card-3Qj_Yx",cardDanger:"cardDanger-ZurOv3 card-3Qj_Yx",cardSuccess:"cardSuccess-3uEYjj card-3Qj_Yx",cardWarning:"cardWarning-2yPNAa card-3Qj_Yx",cardDangerOutline:"cardDangerOutline-3t0Do9 card-3Qj_Yx",cardWarningOutline:"cardWarningOutline-1cs56O card-3Qj_Yx",cardSuccessOutline:"cardSuccessOutline-1Su_ab card-3Qj_Yx",cardBrandOutline:"cardBrandOutline-3jvFfo card-3Qj_Yx",cardPrimary:"cardPrimary-1Hv-to card-3Qj_Yx",cardPrimaryEditable:"cardPrimaryEditable-3KtE4g card-3Qj_Yx",cardPrimaryOutline:"cardPrimaryOutline-29Ujqw card-3Qj_Yx",cardPrimaryOutlineEditable:"cardPrimaryOutlineEditable-PEnpzz card-3Qj_Yx"}},5742:function(e,t,o){e.exports={spacing:"spacing-28Gjbq marginBottom20-32qID7",error:"error-1IOMCI marginTop8-1DLZ1n",card:"card-30dMrN spacing-28Gjbq marginBottom20-32qID7",warning:"warning-3KupJ6"}},5743:function(e,t,o){e.exports={container:"container-3LGFk-",header:"header-3wG9rE",subtitle:"subtitle-1CVvN5",cancelButton:"cancelButton-ZdSh8k",backButton:"backButton-rfyPNn",listItemContainer:"listItemContainer-32vont",listItemIconContainer:"listItemIconContainer-2owYbI",listItemText:"listItemText-29sr6L",iconContainer:"iconContainer-24L2fh",badgeIconBackground:"badgeIconBackground-3XEsjB",badgeIconForeground:"badgeIconForeground-4vowbF",previewCardContainer:"previewCardContainer-QjFNt5",previewCard:"previewCard-KFE3bt",previewEcho:"previewEcho-2ZajcI",echoContainer:"echoContainer-2yWtuv",firstEcho:"firstEcho-3gpmyW",secondEcho:"secondEcho-2NTv8L"}},5744:function(e,t,o){e.exports={select:"select-2TCrqx",error:"error-3S-7y9",errorMessage:"errorMessage-1Y9q-X"}},5745:function(e,t,o){e.exports={divider:"divider-3573oO"}},5746:function(e,t,o){e.exports={formText:"formText-3fs7AJ",default:"default-3nhoK- formText-3fs7AJ",labelDescriptor:"labelDescriptor-1PqHgD formText-3fs7AJ",labelSelected:"labelSelected-1I1cDg formText-3fs7AJ",placeholder:"placeholder-1lCpWK formText-3fs7AJ",labelBold:"labelBold-1PKEeD formText-3fs7AJ",description:"description-3_Ncsb formText-3fs7AJ",modeDefault:"modeDefault-3a2Ph1",modeSelectable:"modeSelectable-k2b2pa",modeDisabled:"modeDisabled-33Av8D"}},5747:function(e,t,o){e.exports={formNotice:"formNotice-2_hHWR",formNoticeTitle:"formNoticeTitle-2KGjDe",formNoticeBody:"formNoticeBody-M4JFHP",icon:"icon-4lJsMQ",whiteText:"whiteText-2PPsRK"}},5748:function(e,t,o){e.exports={children:"children-rWhLdy",sectionTitle:"sectionTitle-2vauyC"}},5749:function(e,t,o){e.exports={container:"container-3bTSed",title:"title-3Tw-c1",inputs:"inputs-14Hc7m",inputDay:"inputDay-18OXiE",inputMonth:"inputMonth-IGgn-0",inputYear:"inputYear-2J502p",errors:"errors-ArjaXz"}},5750:function(e,t,o){e.exports={modal:"modal-20TEfh",content:"content-2Kd1kH",image:"image-3wnQf5",title:"title-2SfZSl",description:"description-24oYBj",formItem:"formItem-21QgGZ"}},5751:function(e,t,o){e.exports={formHeader:"formHeader-3ntgeL",formContent:"formContent-1vWZEJ",formImage:"formImage-km1xqE",formTitle:"formTitle-29Lcxo",formBody:"formBody-3pY2Cl",formItem:"formItem-9Gey9h",logoutButton:"logoutButton-20GYNZ",closeButton:"closeButton-3DtzaH",successContent:"successContent-3b2Ig4",successTitle:"successTitle-2wbpkm",successPromotion:"successPromotion-3OUqFK",successImage:"successImage-2Tgulb",modalLight:"modalLight-1SNwqJ"}},5752:function(e,t,o){},5753:function(e,t,o){e.exports={calendarPicker:"calendarPicker-2yf6Ci"}},5754:function(e,t,o){e.exports={calendarContainer:"calendarContainer-2ecZWM elevationBorderHigh-2WYJ09"}},5755:function(e,t,o){e.exports={selectableItem:"selectableItem-1MP3MQ",selected:"selected-31soGA",selectableItemLabel:"selectableItemLabel-1RKQjD"}},5756:function(e,t,o){e.exports={listContainer:"listContainer-19y4Nf elevationBorderHigh-2WYJ09",listScroller:"listScroller-2_n1zI"}},5757:function(e,t,o){e.exports={doubleInput:"doubleInput-1W2Xv8",formSection:"formSection-1phaI9",link:"link-xxaTRF",addIcon:"addIcon-2phqju",removeIcon:"removeIcon-2ovbtS"}},5758:function(e,t,o){e.exports={marginBottom8:"marginBottom8-AtZOdT",horizontal:"horizontal-2EEEnY flex-1O1GKY directionRow-3v3tfG",radioBar:"radioBar-bMNUI-",item:"item-26Dhrx marginBottom8-AtZOdT horizontal-2EEEnY flex-1O1GKY directionRow-3v3tfG",radioIconForeground:"radioIconForeground-XwlXQN",tooltipWrapper:"tooltipWrapper-3VcaN6 marginBottom8-AtZOdT horizontal-2EEEnY flex-1O1GKY directionRow-3v3tfG",disabled:"disabled-1FsPTr",info:"info-3LOr12",title:"title-3BE6m5"}},5759:function(e,t,o){e.exports={clickable:"clickable-1rK_Yk",wrapper:"wrapper-2QE8vf",ringingOutgoing:"ringingOutgoing-mbXhhQ","outgoing-call-pulse":"outgoing-call-pulse-E6kWPF",ringingIncoming:"ringingIncoming-38YcLn","incoming-call-pulse":"incoming-call-pulse-1fX7DI",status:"status-1WEaea",voiceAvatar:"voiceAvatar-14IynY",border:"border-Jn5IOt",speaking:"speaking-B2MXPi",overlay:"overlay-39bWkM",overlayIcon:"overlayIcon-1kEQWX",callAvatarMask:"callAvatarMask-1SLlRi"}},5760:function(e,t,o){e.exports={container:"container-2C7mVN",user:"user-2T5PJS",username:"username-14V20E",avatar:"avatar-1bMVrA",blockedNotice:"blockedNotice-jpy2eh",blockedButton:"blockedButton-1dIKR_",icon:"icon-YQXQbN",userInfo:"userInfo-3TMaew"}},5761:function(e,t,o){e.exports={content:"content-377gr8",banner:"banner-2InC54",headerTextContainer:"headerTextContainer-3F-06s",headerTitle:"headerTitle-29Z695",caption:"caption-342S-b",illustration:"illustration-2FiZg0",infoListContainer:"infoListContainer-1QGkta",divider:"divider-3Iyg3I",cancelButton:"cancelButton-3J7GgY",backButton:"backButton-HR3hNm"}},5762:function(e,t,o){e.exports={modalContent:"modalContent-no-lBy",blockedUsersContainer:"blockedUsersContainer-1f-HNY",form:"form-1Rg6af",topicFormItem:"topicFormItem-32kwOR",privacyFormItem:"privacyFormItem-3UPvxA",channelSelectionFormItem:"channelSelectionFormItem-AU-meU",textInput:"textInput-2hUaEf",cancelButton:"cancelButton-280zMn",buttonsContainer:"buttonsContainer-2X9CqD",privacyContainer:"privacyContainer-JsAijK",privacyDivider:"privacyDivider-31pNpm",speakerHint:"speakerHint-ES6h0I",itemIcon:"itemIcon-1ef1gc",privacyHelpText:"privacyHelpText-2FmkDT",privacyItemContainer:"privacyItemContainer-3nWJyN",privacyItemDisabled:"privacyItemDisabled-2FP73k",privacyItemTextContainer:"privacyItemTextContainer-1_S5aG",privacyItemTitleContainer:"privacyItemTitleContainer-2_wy-T",privacyItemTitle:"privacyItemTitle-1epYRE",privacyItemRadio:"privacyItemRadio-188htN",radioSelected:"radioSelected-1B_0_L",radioNotSelected:"radioNotSelected-8vztX2",radioIconForeground:"radioIconForeground-3RtZiv",pill:"pill-302sLb",channelName:"channelName-1mXqh4",channelSelection:"channelSelection-1MN6q2",label:"label-2fBZzm",warning:"warning-3P4oqk",optionLabel:"optionLabel-3J0Zf7",optionText:"optionText-2xKFi5"}},5763:function(e,t,o){e.exports={container:"container-3hMea0",guildIcon:"guildIcon-30yrn3",subheader:"subheader-3zcPkA"}},5764:function(e,t,o){e.exports={transition:"transition-27fFQS",directionDown:"directionDown-26e7eE",directionRight:"directionRight-O8AY4M",directionLeft:"directionLeft-O8iqia",directionUp:"directionUp-ZEk-_J"}},5765:function(e,t,o){e.exports={illustration:"illustration-3d7_Ms",headerContainer:"headerContainer-BCdGSI",header:"header-1AQlNL",subheader:"subheader-14K0Ir",contentContainer:"contentContainer-3MLVEY",bulletsContainer:"bulletsContainer-3omDLR",scroller:"scroller-10BisQ",bulletItem:"bulletItem-2v3LOS",clickable:"clickable-2ebqgo",circle:"circle-1anBj0",bulletIcon:"bulletIcon-2xUIIO",bulletContent:"bulletContent-F2tMpP",borderBottom:"borderBottom-cijHjW",guildIcon:"guildIcon-3p5gub",guildName:"guildName-1kFdX0",caret:"caret-o3b7RH",icon:"icon-1_RaYT",footerContainer:"footerContainer-3XZ7Bg",hint:"hint-3J_Cto",button:"button-1Z6F2y"}},5766:function(e,t,o){e.exports={slideContainer:"slideContainer-3Z0Qnk"}},5767:function(e,t,o){e.exports={content:"content-mK72R6"}},5768:function(e,t,o){e.exports={container:"container-1rxwlY",sparkleIcon:"sparkleIcon-30-odx",sparkleTop:"sparkleTop-2XxWeK",sparkleBottom:"sparkleBottom-KN5dmN"}},5769:function(e,t,o){e.exports={body:"body-3kE9vV",headerIconContainer:"headerIconContainer-3zvlVZ",iconBackground:"iconBackground-1iJ6Oq",headerIcon:"headerIcon-2HH87Q",title:"title-XH3OPd",subtitle:"subtitle-2gi0Yl"}},5770:function(e,t,o){e.exports={content:"content-1-UQqA",iconBackground:"iconBackground-1clSpP",headerIcon:"headerIcon-3g95os",subtitle:"subtitle-blOBaJ",title:"title-LSijZn",cancelButton:"cancelButton-jTE1F3"}},5771:function(e,t,o){e.exports={content:"content-1zA5u9",header:"header-1ptJZH",footer:"footer-E3VztE",description:"description-CL3kMk"}},5772:function(e,t,o){e.exports={content:"content-2xFTs5",stageIconBackground:"stageIconBackground-135TMe",stageIcon:"stageIcon-165KZv",headerTitle:"headerTitle-lsNnIA",buttonsContainer:"buttonsContainer-23PQkw",headerSubtitle:"headerSubtitle-2482V5",button:"button-1p2mJ5",icon:"icon-1bkaIS",innerButton:"innerButton-1Y5qJS"}},5773:function(e,t,o){e.exports={content:"content-2ftjoC",stageIconBackground:"stageIconBackground-ljBnA5",stageIcon:"stageIcon-21ZFwY",headerTitle:"headerTitle-2e-XZw",headerSubtitle:"headerSubtitle-SjuGNS",container:"container-3nHkOQ",slideContainer:"slideContainer-3JfqTe"}},5774:function(e,t,o){e.exports={closeButton:"closeButton-3oHzMa",content:"content-2TX59W",image:"image-2568Gg",title:"title-1X2dN-",subtitle:"subtitle-2ljJ8H",button:"button-2rjtHF"}},5775:function(e,t,o){e.exports={applicationDetails:"applicationDetails-9QVoka",entry:"entry-1btQtX",entryIcon:"entryIcon-wz4L9Q",entryInner:"entryInner-2hiMQJ"}},5776:function(e,t,o){e.exports={scopes:"scopes-3GJ3xw",scope:"scope-J5Vnxx",scopeCheck:"scopeCheck-rUiN1D",scopeTimes:"scopeTimes-7s84Xf",scopeInner:"scopeInner-1g9Pzj",scopeName:"scopeName-JzSRX6",sectionLabel:"sectionLabel-1pA-5F",icon:"icon-1Vf2He"}},5777:function(e,t,o){e.exports={checkbox:"checkbox-3kaeSU",disabled:"disabled-1hiCMV",checkboxInner:"checkboxInner-3yjcPe",checkboxElement:"checkboxElement-1qV33p",alt:"alt-6FvZrq"}},5778:function(e,t,o){e.exports={botPermissions:"botPermissions-1zv5Xg",permissionsList:"permissionsList-B0Dh4s",permission:"permission-39__Fj",permissionsLabel:"permissionsLabel-2dXyOx",disabledPermissionsLabel:"disabledPermissionsLabel-uwYfOz",disabledPermissionIcon:"disabledPermissionIcon-Pm3Yy8",icon:"icon-23g0Dq"}},5779:function(e,t,o){e.exports={selectorGroup:"selectorGroup-dJ6TXV",select:"select-1Hqz5i",label:"label-1ANrVZ",sectionLabel:"sectionLabel-1Qi0HG"}},5780:function(e,t,o){e.exports={botTag:"botTag-2WPJ74",px:"px-10SIf7",rem:"rem-2m9HGf",botTagRegular:"botTagRegular-2HEhHi botTag-2WPJ74",botTagInvert:"botTagInvert-18-95s botTag-2WPJ74",botTagVerified:"botTagVerified-1klIIt",botText:"botText-1526X_"}},5781:function(e,t,o){e.exports={header:"header-1Gj-ua",applicationName:"applicationName-212NZT",label:"label-UzTiGn",currentUser:"currentUser-3BMWhF",currentUserTag:"currentUserTag-1dfMNW",currentUserDiscriminator:"currentUserDiscriminator-2hSQeo",logoutLink:"logoutLink-2hi5Sf",headerIcons:"headerIcons-3eFvs9",ellipseGroup:"ellipseGroup-3yOSIs",ellipse:"ellipse-34ZPbW",botTag:"botTag-3EBhDH"}},5782:function(e,t,o){e.exports={image:"image-2jyRAK",loaded:"loaded-3PtF_J"}},5783:function(e,t,o){e.exports={logo:"logo-2iEHEq"}},5784:function(e,t,o){e.exports={canvas:"canvas-3XuBXe",fallbackImage:"fallbackImage-31Sk4m",visible:"visible-JD5pR1",embedded:"embedded-30DdwH"}},5785:function(e,t,o){e.exports={oauth2Wrapper:"oauth2Wrapper-mHbF5q"}},5786:function(e,t,o){e.exports={wrapper:"wrapper-L5YRoB",header:"header-3a78__",text:"text-23oMQC",headerSuccess:"headerSuccess-_KN2IQ",headerFailure:"headerFailure-2bMPeV",closeButton:"closeButton-2Og9Gm"}},5787:function(e,t,o){e.exports={responsiveWidthMobile:"485px",footer:"footer-3ZalXG",authorize:"authorize-3eAFPo",captcha:"captcha-2jlizN",captchaLabel:"captchaLabel-16TXZW",recaptcha:"recaptcha-16yJSA",content:"content-bHl-Nl",scrollContent:"scrollContent-m6ynud"}},5788:function(e,t,o){e.exports={anchor:"anchor-3Z-8Bb",anchorUnderlineOnHover:"anchorUnderlineOnHover-2ESHQB"}},5789:function(e,t,o){e.exports={modal:"modal-1630pA",header:"header-2cDml2",button:"button-32WdHP"}},5790:function(e,t,o){e.exports={closeButton:"closeButton-kcmOnx",art:"art-1zbbdz",description:"description-1cm6EO",conflictButton:"conflictButton-2TEeJu",linkButtonSize:"linkButtonSize-228MG-",linkButton:"linkButton-26G8CZ",retryButton:"retryButton-2AYLXs",conflictButtonInner:"conflictButtonInner-XZrTV7",title:"title-1ao9Am",buttonBody:"buttonBody-3cgCL5",timestamp:"timestamp-2Ur99a",choiceWrapper:"choiceWrapper-1m68jk",choiceLine:"choiceLine-BbJN0b",choiceTitle:"choiceTitle-3e5g_W title-1ao9Am",conflictTitle:"conflictTitle-201X8O title-1ao9Am",conflictArt:"conflictArt-2Lr21j art-1zbbdz",conflictDownloadArt:"conflictDownloadArt-36cpxM conflictArt-2Lr21j art-1zbbdz",conflictUploadArt:"conflictUploadArt-3V4Em_ conflictArt-2Lr21j art-1zbbdz",errorArt:"errorArt-3qzArg art-1zbbdz",modal:"modal-1XR4nE"}},5791:function(e,t,o){e.exports={svgContentRight:"svgContentRight-VRT04v",svgContentLeft:"svgContentLeft-i3sITr",svgContentLines:"svgContentLines-3hGvN4",svgDots:"svgDots-2tp4yT",svgTag:"svgTag-3iksEu"}},5792:function(e,t,o){e.exports={wrapper:"wrapper-3o7UcG",titleRegion:"titleRegion-1Npsrb",infoIcon:"infoIcon-1WLE3n",title:"title-159n91",copyLink:"copyLink-2thG89",copied:"copied-1nnTOy",copyLinkIcon:"copyLinkIcon-3vb9Gr",content:"content-K0fyfa",infoLink:"infoLink-3363PK",buildInfo:"buildInfo-2w4mAE",button:"button-9dbsAI",buttonSize:"buttonSize-15cg_j",subHead:"subHead-2hL6ji",icon:"icon-3aYPfm",buildDetails:"buildDetails-2mYzfS",barLoader:"barLoader-2pDp68",barTitle:"barTitle-1RhSSH",buttonLoader:"buttonLoader-2kPem2",disabledButtonOverride:"disabledButtonOverride-3Ntxjs"}},5793:function(e,t,o){e.exports={title:"title-3KTIjF"}},5794:function(e,t,o){e.exports={markdown:"markdown-11q6EU",blockquote:"blockquote-2-nEPK",codeInline:"codeInline-1FHKS7",paragraph:"paragraph-3Ejjt0"}},5795:function(e,t,o){e.exports={spinner:"spinner-2Ubxu6",markdown:"markdown-38ZvHn"}},5796:function(e,t,o){e.exports={flexCenter:"flexCenter-3_1bcw flex-1O1GKY justifyCenter-3D2jYp alignCenter-1dQNNs",checkboxWrapper:"checkboxWrapper-SkhIWG",row:"row-3QHy4I",checked:"checked-3_4uQ9",checkboxWrapperDisabled:"checkboxWrapperDisabled-36r8NK checkboxWrapper-SkhIWG",alignTop:"alignTop-1ntJ4-",alignCenter:"alignCenter-MrlN6q",input:"input-3ITkQf",inputDefault:"inputDefault-3JxKJ2 input-3ITkQf",inputDisabled:"inputDisabled-110Jqx input-3ITkQf",inputReadonly:"inputReadonly-rYU97L input-3ITkQf",box:"box-mmYMsp",round:"round-2jCFai",checkbox:"checkbox-1ix_J3 flexCenter-3_1bcw flex-1O1GKY justifyCenter-3D2jYp alignCenter-1dQNNs",label:"label-cywgfr",labelClickable:"labelClickable-11AuB8",labelDisabled:"labelDisabled-G7bjji",labelForward:"labelForward-1wfipV",labelReversed:"labelReversed-1RI8G7"}},5797:function(e,t,o){e.exports={formTitle:"formTitle-2sqUuS",checkbox:"checkbox-2Yh6o3",checkboxLabel:"checkboxLabel-1zn0UC",finePrint:"finePrint-RDL9Gx"}},5798:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",gameIcon:"gameIcon-gg34Dz desaturate-qhyunI",large:"large-1DtyYQ",medium:"medium-2wqF9d",small:"small-xOVx-r",xsmall:"xsmall-18LM5r",eighty:"eighty-1Bli46"}},5799:function(e,t,o){e.exports={error:"error-3iVqOt"}},5800:function(e,t,o){e.exports={splash:"splash-9yPB5w",gameIcon:"gameIcon-ZGZ9aM",gameName:"gameName-3S4nBI",installSize:"installSize-1eXbBX",divider:"divider-38zUJA",selector:"selector-3yEc8N",installButton:"installButton-2kMnvZ",premiumIcon:"premiumIcon-3GPLjg",terms:"terms-1QAfrU",premiumTerms:"premiumTerms-QoMVGx"}},5801:function(e,t,o){e.exports={content:"content-O7cZt5",header:"header-2MZwao",headerShortcut:"headerShortcut-3Je8yd",tips:"tips-2V51be"}},5802:function(e,t,o){e.exports={wrapper:"wrapper-1prNyd",flexWrapper:"flexWrapper-2EgxO2",image:"image-3zK3Wt",text:"text-NLHgOm",note:"note-450gs3",title:"title-3trS3_"}},5803:function(e,t,o){e.exports={titleBar:"titleBar-AC4pGV",withFrame:"withFrame-haYltI titleBar-AC4pGV",typeMacOS:"typeMacOS-3EmCyP titleBar-AC4pGV",typeMacOSWithFrame:"typeMacOSWithFrame-3R_i5S withFrame-haYltI titleBar-AC4pGV horizontal-2EEEnY flex-1O1GKY directionRow-3v3tfG justifyBetween-2tTqYu",macButtons:"macButtons-2MuSAC horizontal-2EEEnY flex-1O1GKY directionRow-3v3tfG justifyBetween-2tTqYu alignCenter-1dQNNs",typeWindows:"typeWindows-1za-n7 withFrame-haYltI titleBar-AC4pGV horizontalReverse-3tRjY7 flex-1O1GKY directionRowReverse-m8IjIq justifyStart-2NDFzi alignStretch-DpGPf3",wordmark:"wordmark-2iDDfm",wordmarkWindows:"wordmarkWindows-1v0lYD wordmark-2iDDfm",wordmarkMacOS:"wordmarkMacOS-1Ch9T0 wordmark-2iDDfm",winButton:"winButton-iRh8-Z flexCenter-3_1bcw flex-1O1GKY justifyCenter-3D2jYp alignCenter-1dQNNs",winButtonMinMax:"winButtonMinMax-PBQ2gm winButton-iRh8-Z flexCenter-3_1bcw flex-1O1GKY justifyCenter-3D2jYp alignCenter-1dQNNs",winButtonClose:"winButtonClose-1HsbF- winButton-iRh8-Z flexCenter-3_1bcw flex-1O1GKY justifyCenter-3D2jYp alignCenter-1dQNNs",focused:"focused-3B0xkw",macButton:"macButton-c_Adir",macButtonClose:"macButtonClose-MwZ2nf macButton-c_Adir",macButtonMaximize:"macButtonMaximize-2FMHAO macButton-c_Adir",macButtonMinimize:"macButtonMinimize-3EJ6wo macButton-c_Adir",unfocused:"unfocused-1QsMU3"}},5809:function(e,t,o){e.exports={container:"container-2SuFUc",containerMinimized:"containerMinimized-3FMdcw",content:"content-3Xc0iT",contentMinimized:"contentMinimized-2138DT",notTracked:"notTracked-g-p2CU",label:"label-1AJL-4",baseIcon:"baseIcon-21Qr71",iconNotTracked:"iconNotTracked-1vjQS1 baseIcon-21Qr71",iconTracked:"iconTracked-kluQMo baseIcon-21Qr71",minimizeButton:"minimizeButton-jig842",jsonSection:"jsonSection-1NbdLM",stack:"stack-e8PBNo jsonSection-1NbdLM",current:"current-26YhOj jsonSection-1NbdLM"}},5810:function(e,t,o){e.exports={downloadApps:"downloadApps-wbBFdZ",contentWrapper:"contentWrapper-37w9gg",inner:"inner-2LETmR",header:"header-nJMe-Q",footer:"footer-1nkeBm",platformsWrap:"platformsWrap-m7IVu3",platforms:"platforms-28Rb-3",platform:"platform-iik236",iconWrap:"iconWrap-1pnF3w",icon:"icon-2Pk7pb",active:"active-iLSdWQ",apple:"apple-1fKN59",android:"android-gGrHJu",windows:"windows-29yOum",linux:"linux-15cW1y",ios:"ios-Z7K-rr",downloadButtons:"downloadButtons-3H1BTc",list:"list-3wJ7Rg",downloadButton:"downloadButton-1bWXpg"}},5811:function(e,t,o){e.exports={qrCodeOverlay:"qrCodeOverlay-3sEnfP",qrCodeContainer:"qrCodeContainer-EYitqX"}},5812:function(e,t,o){e.exports={container:"container-HublYr",mobileContainer:"mobileContainer-1x7CLQ",subcontainer:"subcontainer-3wtLI-",header:"header-2lqoyd",subheader:"subheader-AECc1B",buttonContainer:"buttonContainer-3lQJkz",downloadButton:"downloadButton-2QokFP",desktopDownloadButton:"desktopDownloadButton-u02XQl",linuxDownloadButtonContainer:"linuxDownloadButtonContainer-3nzYxz",linuxDownloadButton:"linuxDownloadButton-3_MACn",desktopButtonContainer:"desktopButtonContainer-1fgize",desktopDownloadButtonFixed:"desktopDownloadButtonFixed-2YZhzj",mobileImageContainer:"mobileImageContainer-2Tscm0",mobileImage:"mobileImage-DY1nTe",desktopContainer:"desktopContainer-spQem0",desktopHeader:"desktopHeader-1LNLub",desktopSubHeader:"desktopSubHeader-3UUZGI",laptopImage:"laptopImage-3RG2nk",desktopSubcontainer:"desktopSubcontainer-23BuVt"}},5813:function(e,t,o){},5814:function(e,t,o){e.exports={animationDuration:"150ms",root:"root-3R2ngo",enter:"enter-1qIQaf",exit:"exit-1xyzxd",enterActive:"enterActive-14DLLh",enterDone:"enterDone-2zvtsK",exitActive:"exitActive-JZFsGn",exitDone:"exitDone-2Q591Q"}},5815:function(e,t,o){e.exports={errorPage:"errorPage-u8SYh4"}},5816:function(e,t,o){e.exports={sizeEmoji:"1.375em",sizeJumboEmoji:"3rem",loading:"loading-Ags1CY"}},5817:function(e,t,o){e.exports={modal:"modal-3c3bKg",inner:"inner-1ilYF7"}},5818:function(e,t,o){e.exports={app:"app-1q1i1E",mobileApp:"mobileApp-13Vx-n"}},5820:function(e,t,o){e.exports={appMount:"appMount-3lHmkl"}},5838:function(e,t,o){e.exports={responsiveWidthMobile:"485px",responsiveHeightMobile:"550px",modal:"modal-3Msmb3",planSelector:"planSelector-2xxBP_",form:"form-2d3M9m",divider:"divider-1que2t",content:"content-PS26MV",giftToggle:"giftToggle-3G-6sw",formTitle:"formTitle-1_5gw4",errorBlock:"errorBlock-1yXil7",purchaseTerms:"purchaseTerms-1aF7k1",invalidIcon:"invalidIcon-1uHQWY",choosePaymentSourceType:"choosePaymentSourceType-2Q_3qs",buyButtonTooltipWrapper:"buyButtonTooltipWrapper-3ISTfu",buyButtonTooltipTarget:"buyButtonTooltipTarget-2JtpkN",backButtonSize:"backButtonSize-4hJ3lM",backButton:"backButton-14DZbs",modalContent:"modalContent-3rVa23",backButtonColor:"backButtonColor-N09dXJ",checkboxLabel:"checkboxLabel-3WoD3k"}},5861:function(e,t,o){e.exports={payment:"payment-xT17Mq",hoverablePayment:"hoverablePayment-Yc6mK7 payment-xT17Mq",expandInfo:"expandInfo-2ApsVK",summaryInfo:"summaryInfo-2QFKUg",expandedInfo:"expandedInfo-3kfShd",paymentHeader:"paymentHeader-3QlZQi",paymentText:"paymentText-2vaF7U",paymentBreakdown:"paymentBreakdown-28CAO8",paymentDetail:"paymentDetail-aFXa-m",date:"date-2Qr15l",amount:"amount-ukM6w-",statusTag:"statusTag-22YO6d",statusTagGreen:"statusTagGreen-1YzpdX statusTag-22YO6d",statusTagRed:"statusTagRed-2Xg3v3 statusTag-22YO6d",statusTagGrey:"statusTagGrey-2_qq8q statusTag-22YO6d",price:"price-2pVkRt",description:"description-RQzS-K",descriptionIcon:"descriptionIcon-1UHIIr",expand:"expand-1g95ZR",refundSubHeader:"refundSubHeader-3hp-GM",refundSelect:"refundSelect-JoPzvz",refundCriteria:"refundCriteria-o9V-c2",refundCriteriaIcon:"refundCriteriaIcon-Ta3gtw",giftIcon:"giftIcon-3DRGI6",compact:"compact-3q6200"}},5958:function(e,t,o){e.exports={darkElevationLow:"darkElevationLow-DABD7i",darkElevationHigh:"darkElevationHigh-6iWpWi",darkElevationBorderLow:"darkElevationBorderLow-39dDV7",darkElevationBorderHigh:"darkElevationBorderHigh-2U1nXW",lightElevationLow:"lightElevationLow-3_Ybxi",lightElevationHigh:"lightElevationHigh-3usmGv",lightElevationBorderLow:"lightElevationBorderLow-3APXjz",lightElevationBorderHigh:"lightElevationBorderHigh-2T98IF",elevationLow:"elevationLow-2lY09M",elevationHigh:"elevationHigh-3A9Xbf",elevationBorderLow:"elevationBorderLow-2qgTRQ",elevationBorderHigh:"elevationBorderHigh-2WYJ09"}},6032:function(e,t,o){e.exports={blurb:"blurb-143skT",divider:"divider-2rujXH",subtext:"subtext-2QfZHv",installSelector:"installSelector-1OcF6d",storeTerms:"storeTerms-3G4Jo7",confirmButton:"confirmButton-1ktpa8",header:"header-1fmANI",icon:"icon-3w4Cq1",termsCheckbox:"termsCheckbox-3YWF9A"}},6038:function(e,t,o){e.exports={root:"root-3-OKEZ",header:"header-1afJj7",content:"content-3zS6lm",footer:"footer-1dAGh4",primaryActions:"primaryActions-LD_-cb",secondaryAction:"secondaryAction-1rI7Iw",artContainer:"artContainer-1EdHbR",art:"art-1r1UyT",sparkleBadge:"sparkleBadge-2pfBfb",newBadge:"newBadge-2wENLF",learnMoreLink:"learnMoreLink-2r-LKX"}},6051:function(e,t,o){e.exports={responsiveWidthMobile:"485px",maxQRLoginWidth:"830px",authBoxPadding:"32px",authBox:"authBox-hW6HRx",authBoxExpanded:"authBoxExpanded-2jqaBe authBox-hW6HRx",centeringWrapper:"centeringWrapper-2Rs1dR",avatar:"avatar-1gWJaf",title:"title-jXR8lp",subText:"subText-1XkjIB",pill:"pill-1dHPfk",pillOnline:"pillOnline-35Y-7N",pillMessage:"pillMessage-1btqlx",pillIcon:"pillIcon-BaqtHs",pillIconTotal:"pillIconTotal-1BqTcA pillIcon-BaqtHs",pillIconOnline:"pillIconOnline-2JGlqR pillIcon-BaqtHs",pillFlat:"pillFlat-1xkgQH",spinnerVideo:"spinnerVideo-4cbMvj",spinnerText:"spinnerText-lNRnYJ",image:"image-2dZWJQ",block:"block-egJnc0",button:"button-3k0cO7",linkButton:"linkButton-wzh5kV",inviteIcon:"inviteIcon-DSd8cG",inviteLargeIcon:"inviteLargeIcon-HrAH61 inviteIcon-DSd8cG",inviteSmallIcon:"inviteSmallIcon-1-yydW inviteIcon-DSd8cG",downloadButtonSubtext:"downloadButtonSubtext-2DRDta",inputError:"inputError-1PrjdI",authBoxWithMobileBanner:"authBoxWithMobileBanner-1Iy9y7",mobileBannerLogo:"mobileBannerLogo-2Kb4rf",mobileBanner:"mobileBanner-3st25I",description:"description-3iuMrd",footer:"footer-R83Ab3"}},6062:function(e,t,o){e.exports={spacer:"spacer-2b8O1V",input:"input-3yHnCz"}},6063:function(e,t,o){e.exports={error:"error-36J3A_",subTitle:"subTitle-1-bIFL",button:"button-3xPjNA",codeInput:"codeInput-2cYD0k"}},6064:function(e,t,o){e.exports={avatar:"avatar-1Mj8bY",guildIcon:"guildIcon-1k02sK",container:"container-QZKkpR",title:"title-10HEtO",subtitle:"subtitle-1izn1t",userText:"userText-53oh7E",templateIcon:"templateIcon-3f-SZb",usagePill:"usagePill-2WGS4A",verifiedIcon:"verifiedIcon-2zGt44",verifiedNameContainer:"verifiedNameContainer-HWD4YK",verifiedCheckContainer:"verifiedCheckContainer-3VSuK8",verifiedCheck:"verifiedCheck-2Ze-9s"}},6065:function(e,t,o){e.exports={image:"image-1ecFZy",header:"header-a5HgW3",usagePill:"usagePill-_nSrnP"}},6066:function(e,t,o){e.exports={container:"container-cMG81i",inner:"inner-2P4tQO",disabled:"disabled-1ytYrN",input:"input-3Xdcic",tag:"tag-2gZFdE",small:"small-2oHLgT",medium:"medium-1LLV3p",large:"large-laZJpW",close:"close-365pYL",iconLayout:"iconLayout-3OgqU3",pointer:"pointer-aRJXzd",iconContainer:"iconContainer-2wXvy1",icon:"icon-1S6UIr",visible:"visible-3bFCH-",clear:"clear--Eywng icon-1S6UIr"}},6067:function(e,t,o){e.exports={marginTop8:"marginTop8-1DLZ1n",marginBottom8:"marginBottom8-AtZOdT",size14:"size14-3iUx6q",popoutList:"popoutList-T9CKZQ",popoutListInput:"popoutListInput-1l9TUI size14-3iUx6q",popoutListEmpty:"popoutListEmpty-voOEBJ",divider:"divider-faSUbd marginTop8-1DLZ1n marginBottom8-AtZOdT"}},6068:function(e,t,o){e.exports={phoneFieldPopout:"phoneFieldPopout-7PzjOO",phoneFieldScroller:"phoneFieldScroller-1rORCK",countryItem:"countryItem-2OHkzd",countryName:"countryName-1Qmnov",countryCode:"countryCode-1zrlUB"}},6069:function(e,t,o){e.exports={outerContainer:"outerContainer-2pDY4c",container:"container-1uOKxa",innerContainer:"innerContainer-20_g0H",countryCode:"countryCode-2YakYv",separator:"separator-39gxf1",popout:"popout-NCeqAn",hidden:"hidden-2l9u-8"}},6070:function(e,t,o){e.exports={input:"input-1CjGeR",inputWrapper:"inputWrapper-3aw2Sf",inputField:"inputField-4g7rSQ"}},6071:function(e,t,o){e.exports={applicationIcon:"applicationIcon-28iDrP"}},6072:function(e,t,o){e.exports={container:"container-23z5yI",guildBadge:"guildBadge-3vRjwA",appIcon:"appIcon-lZGJcM",appIconSize:"appIconSize-2ugydl",avatar:"avatar-2Gi7sV",guildIcon:"guildIcon-1PRDp6",inviteResolvingGuildName:"inviteResolvingGuildName-bQULNl",title:"title-2_aCTw",activityCount:"activityCount-2GgGMq",description:"description-1u9Qui",guildContainer:"guildContainer-3vevW1",appIn:"appIn-_bj_p1",appGuildName:"appGuildName-2aGDAZ"}},6073:function(e,t,o){e.exports={image:"image-2QWf3Q",imageUpgrade:"imageUpgrade-moI_hv image-2QWf3Q",imageCancel:"imageCancel-2x4k_k image-2QWf3Q",imageUnclaimed:"imageUnclaimed-5nJyYs image-2QWf3Q",imageUnverified:"imageUnverified-2NLnW6 image-2QWf3Q",message:"message-1F58Gs",secondaryButton:"secondaryButton-197mr8"}},6074:function(e,t,o){e.exports={header:"header-3bB_GQ",title:"title-2HFmAi",subtitle:"subtitle-8DQCLU",modalCloseButton:"modalCloseButton-nA1JXv",content:"content-2Cyhe6",password:"password-3REpJO",cancel:"cancel-204y04"}},6075:function(e,t,o){e.exports={message:"message-3rf57R",imageUnverified:"imageUnverified-1QCPtJ"}},6076:function(e,t,o){e.exports={shinyButton:"shinyButton-3uFlM-",buttonShine:"buttonShine-1CSUM8",Shine:"Shine-2sIJ1p",shineContainer:"shineContainer-1HHuZ1",shineContainerDefault:"shineContainerDefault-2bbFgu shineContainer-1HHuZ1",shineContainerSmall:"shineContainerSmall-1MIVgq shineContainer-1HHuZ1",shine:"shine-2f1uEU",shinePaused:"shinePaused-1D7eIe",shineInner:"shineInner-fWUhvE"}},6077:function(e,t,o){e.exports={cardIcon:"cardIcon-3U4mwZ",visa:"visa-wmEUYN","american-express":"american-express-2JYHQz",amex:"amex-34lhch",discover:"discover-380k9c","master-card":"master-card-1eMGLE",mastercard:"mastercard-2PR9Wc",paypal:"paypal-1_sEH-",paymentRequest:"paymentRequest-7yBZCi",gPay:"gPay-23y16H",cardIconSmall:"cardIconSmall-2gJ6xX cardIcon-3U4mwZ",cardIconMedium:"cardIconMedium-1N98Bu cardIcon-3U4mwZ",cardIconLarge:"cardIconLarge-2Hh3T0 cardIcon-3U4mwZ",cardIconXLarge:"cardIconXLarge-1hyB-0 cardIcon-3U4mwZ",flipped:"flipped-26DCUA"}},6078:function(e,t,o){e.exports={paymentSourceLabel:"paymentSourceLabel-1lo4Ca",error:"error-tDF6fl"}},6079:function(e,t,o){e.exports={copyInput:"copyInput-2rOSt7",copyInputDefault:"copyInputDefault-21sXtF copyInput-2rOSt7",copyInputError:"copyInputError-WlP8ke copyInput-2rOSt7",copyInputSuccess:"copyInputSuccess-XZc7BO copyInput-2rOSt7",layout:"layout-17VGBm",inputWrapper:"inputWrapper-2YT_dU",button:"button-38qaLQ",hiddenMessage:"hiddenMessage-1iiFV5",input:"input-31cgnL",inputDefault:"inputDefault-A2ud2y input-31cgnL",inputError:"inputError-reIyaS input-31cgnL",inputSuccess:"inputSuccess-3U9sNd input-31cgnL",inputHidden:"inputHidden-1K-bD4"}},6080:function(e,t,o){e.exports={error:"error-20ZZpF",icon:"icon-25oV0D",text:"text-1ebFA_",backgroundRed:"backgroundRed-2jrPZy",errorClose:"errorClose-19Dwss",errorCloseIcon:"errorCloseIcon-3y2VHJ",backgroundTertiary:"backgroundTertiary-3PbXb3",backgroundAccent:"backgroundAccent-349kuI"}},6081:function(e,t,o){e.exports={table:"table-39R0Oe",header:"header-2fYolP",rowBase:"rowBase-19ReVc",row:"row-gSQ6pC rowBase-19ReVc",rowAmount:"rowAmount-2vWhGc",rowPercentDiscount:"rowPercentDiscount-1Ip6TE",rowDiscountOriginalPrice:"rowDiscountOriginalPrice-3ZHMbT",entitlementDiscountRow:"entitlementDiscountRow-1PWKPc rowBase-19ReVc",divider:"divider-35lQBz",dividerExtended:"dividerExtended-3N_mcn",totalRow:"totalRow-br_EPR",totalLabel:"totalLabel-kW8CA9",totalAmount:"totalAmount-QMwGZT",finePrint:"finePrint-aNvLWf"}},6082:function(e,t,o){e.exports={pricePerInterval:"pricePerInterval-WZc5oR"}},6083:function(e,t,o){e.exports={wrapper:"wrapper-3xYGNM",wrapperActive:"wrapperActive-1eM2cQ"}},6084:function(e,t,o){e.exports={link:"link-3dHnkW"}},6085:function(e,t,o){e.exports={note:"note-3f9OXN",icon:"icon-gt7KBA",large:"large-2kb0Cr",small:"small-1Htrse",colorWarning:"colorWarning-2efEE-",colorError:"colorError-2vGbJj",colorPrimary:"colorPrimary-3hws2f"}},6086:function(e,t,o){e.exports={transitionGroup:"transitionGroup-aR7y1d",measurement:"measurement-DMxQp7",measurementFill:"measurementFill-31KKmO measurement-DMxQp7",measurementFillStatic:"measurementFillStatic-MZ1pNY",animatedNode:"animatedNode-5VAmrN"}},6087:function(e,t,o){e.exports={breadcrumbs:"breadcrumbs-SOzMJD",breadcrumbWrapper:"breadcrumbWrapper-WmDjgG",activeBreadcrumb:"activeBreadcrumb-p6aw-F",breadcrumbClickWrapper:"breadcrumbClickWrapper-TpEb92",breadcrumbFinalWrapper:"breadcrumbFinalWrapper-3WqsGi",breadcrumb:"breadcrumb-OALf_a",breadcrumbArrow:"breadcrumbArrow-1bJVKv",interactiveBreadcrumb:"interactiveBreadcrumb-3qFng9"}},6088:function(e,t,o){e.exports={content:"content-1YdlXf",breadcrumbsWrapper:"breadcrumbsWrapper-3avBWN",bodyWrapper:"bodyWrapper-3GGwfp",scroller:"scroller-3tPHw0",errorBlockWrapper:"errorBlockWrapper-1ZfYVz",paymentNote:"paymentNote-3NUaTF",loadingBlock:"loadingBlock-2I2zJI",sequencer:"sequencer-2GXxB2",sequencerStatic:"sequencerStatic-UthWGP",sequencerAnimatedNode:"sequencerAnimatedNode-GEjG0S"}},6089:function(e,t,o){e.exports={buttonIcon:"buttonIcon-1BKzBu",button:"button-1vm4ZO",vertical:"vertical-2oj55j",horizonal:"horizonal-2R4X-v"}},6090:function(e,t,o){e.exports={inputWrapper:"inputWrapper-2YCfto",paypalIcon:"paypalIcon-2dBx_b",paypalInput:"paypalInput-3MddcM"}},6091:function(e,t,o){e.exports={cardNumberWrapper:"cardNumberWrapper-2D83Wo",cardIcon:"cardIcon-2MnSei",cardInput:"cardInput-1hh1N-",hiddenDiv:"hiddenDiv-3ywgLc",cardNumberInput:"cardNumberInput-3an3uq",cardInputFocused:"cardInputFocused-19S1J3",cardInputError:"cardInputError-1GUPnt",inputPrefix:"inputPrefix-2iFFkc"}},6092:function(e,t,o){e.exports={cardNumberWrapper:"cardNumberWrapper-3fnAdq",cardIcon:"cardIcon-22ZAZn",submitting:"submitting-1dY48P",pulse:"pulse-2sZk7o",cardNumberInput:"cardNumberInput-1EkDl_"}},6093:function(e,t,o){e.exports={awaitingAuthenticationStep:"awaitingAuthenticationStep-3mW1JG",body:"body-31Cs__"}},6094:function(e,t,o){e.exports={skuButtons:"skuButtons-3KnDcG",button:"button-3Wn6-1",tier2:"tier2-3pW_6T",tier1:"tier1-UUxEBG",tier2Image:"tier2Image-1_9GtA",tier1Image:"tier1Image-3ShgQH",tierTitle:"tierTitle-24KvK4",text:"text-1AMsjB",description:"description-1XiJ8P",priceWrapper:"priceWrapper-3ug9CZ",price:"price-3ihUyv"}},6095:function(e,t,o){e.exports={subscriptionCostRowAmount:"subscriptionCostRowAmount-15tMYg",subscriptionCostRow:"subscriptionCostRow-3imIke",invoiceItemLabelWithIcon:"invoiceItemLabelWithIcon-1wBD7Y",invoiceItemLabelIcon:"invoiceItemLabelIcon-2DH7qm",invoiceItemTooltip:"invoiceItemTooltip-2dMGk8",subscriptionDetailsToggle:"subscriptionDetailsToggle-3dzjj6",subscriptionDetailsToggleCaret:"subscriptionDetailsToggleCaret-vbWnyU",subscriptionPeriodResetNotice:"subscriptionPeriodResetNotice-b5C4Ac",subscriptionAddedInvoiceItem:"subscriptionAddedInvoiceItem-2V_n7J"}},6096:function(e,t,o){e.exports={"premium-gradient":"linear-gradient(to right, hsl(270, calc(var(--saturation-factor, 1) * 86.7%), 70.6%), hsl(342, calc(var(--saturation-factor, 1) * 58%), 72.9%))",headerBackground:"headerBackground-23gIwK",tier1HeaderBackground:"tier1HeaderBackground-3LjWgU headerBackground-23gIwK",tier2HeaderBackground:"tier2HeaderBackground-2BUqcl headerBackground-23gIwK",closeIcon:"closeIcon-1Te9hO",headerTop:"headerTop-Bg0929",headerIcon:"headerIcon-1OW_re",tier1:"tier1-ObWVGJ",price:"price-1rEl-z",closeButton:"closeButton-2PEpYG"}},6097:function(e,t,o){e.exports={wrapper:"wrapper-1P_m9K"}},6098:function(e,t,o){e.exports={tier2Animation:"tier2Animation-M5D31n",panningAnimation:"panningAnimation-38NjY9",panningAnimationInner:"panningAnimationInner-2-99fl",tier2Background:"tier2Background-gCUPNQ panningAnimationInner-2-99fl",tier2Foreground:"tier2Foreground-2tYn8P panningAnimationInner-2-99fl",guildWrapper:"guildWrapper-13lnzT",guildBackground:"guildBackground-3UtSZ2",guildStar:"guildStar-35l026"}},6099:function(e,t,o){e.exports={modalHeader:"modalHeader-1a6oWz",header:"header-jiLdx9",headerAnimation:"headerAnimation-pQYQcu"}},6100:function(e,t,o){e.exports={animationContainer:"animationContainer-cNePAf",container:"container-2mdxGH",svgBorder:"svgBorder-1CQ67m",svgCopy:"svgCopy-3RgiTa",shine:"shine-KMI5j7"}},6101:function(e,t,o){e.exports={confirmation:"confirmation-NXinYV",banner:"banner-2TeZN0",text:"text-1F94k4"}},6102:function(e,t,o){e.exports={responsiveWidthMobile:"485px",shaker:"shaker-1QVc6p",modalHeader:"modalHeader-3heSN8",header:"header-2jljXY",headerAnimation:"headerAnimation-2ipCWU",spinner:"spinner-2UYkNB",stepBody:"stepBody-1cR8n4",bodyText:"bodyText-1uGqIv",selectPlanChooseSubtitle:"selectPlanChooseSubtitle-2QNzXl",selectPlanChooseTitle:"selectPlanChooseTitle-2ClZSL",planOption:"planOption-3m2svN",planOptionDisabled:"planOptionDisabled-JiB80K",planOptionClickable:"planOptionClickable-2m4lfF",planOptionCheckbox:"planOptionCheckbox-3ik8cg",planOptionInterval:"planOptionInterval-2idEhf",optionSelected:"optionSelected-1d91jC",planOptionCurrentPlan:"planOptionCurrentPlan-1NIWWm",planOptionMonthsFree:"planOptionMonthsFree-d4pf3C",planOptionDiscount:"planOptionDiscount-cS8uaO",selectPlanDivider:"selectPlanDivider-1mx_6q",selectPlanTotalRow:"selectPlanTotalRow-Coq3OB",taxInclusiveNote:"taxInclusiveNote-2PeWCh",renewalInvoiceDate:"renewalInvoiceDate-2NNrkM",invoice:"invoice-3GWhNe",grandfatheredUpgradeNote:"grandfatheredUpgradeNote-3hxZHm",paymentSourceWrapper:"paymentSourceWrapper-RY23yY",root:"root-2k49pR"}},6103:function(e,t,o){e.exports={premiumSubscribeButton:"premiumSubscribeButton-3TowJw",premiumIcon:"premiumIcon-YgHhed",buttonText:"buttonText-3LvUCc",giftButton:"giftButton-2uAsFo",giftIcon:"giftIcon-1DsQ4W"}},6104:function(e,t,o){e.exports={maxQRLoginWidth:"830px",qrLogin:"qrLogin-1AOZMt",qrLoginInner:"qrLoginInner-c_7ePj",qrCode:"qrCode-wG6ZgU",qrCodeContainer:"qrCodeContainer-3sXarj",qrCodeOverlay:"qrCodeOverlay-qgtlTP",qrAvatar:"qrAvatar-8_WYAf",startOverButton:"startOverButton-3q0wUV",verticalSeparator:"verticalSeparator-3huAjp"}},6105:function(e,t,o){e.exports={authBoxPadding:"32px",column:"column-3OSB2u",container:"container-1WbC0Y",content:"content-3vcdXQ"}},6106:function(e,t,o){e.exports={horizontalAuthBox:"horizontalAuthBox-18f_tk",needAccount:"needAccount-23l_Wh",smallRegisterLink:"smallRegisterLink-2LCrMe",mainLoginContainer:"mainLoginContainer-1ddwnR",mobile:"mobile-1ryxso"}},6108:function(e,t,o){e.exports={responsiveWidthMobile:"485px",responsiveHeightMobile:"450px",modal:"modal-1qeMox",form:"form-77IDep",content:"content-sp-7A3",modalTitle:"modalTitle-3qb2Mp",divider:"divider-3WKGWk",errorBlock:"errorBlock-3se5QO",sequencer:"sequencer-FWouqi"}},6117:function(e,t,o){e.exports={assetWrapper:"assetWrapper-3GNt0z",assetWrapperMasked:"assetWrapperMasked-2tj_Bb",stickerAsset:"stickerAsset-13j1W0",lottieCanvas:"lottieCanvas-1W7L-f stickerAsset-13j1W0",pngImage:"pngImage-33yLRP stickerAsset-13j1W0",roundedMask:"roundedMask-3rB_-f",errorContent:"errorContent-2z-hpw",loadingIndicator:"loadingIndicator-1T4i1D",error:"error-3sSo0R",errorIcon:"errorIcon-16FWDW",errorText:"errorText-2KbYvF",overlayWrapper:"overlayWrapper-3SV4ai",overlayStickerWrapper:"overlayStickerWrapper-1BxFMK",overlayLabelWrapper:"overlayLabelWrapper-_IUK2r",overlayLabel:"overlayLabel-1U3AO5",positionedLayer:"positionedLayer-rdhj21"}},6119:function(e,t,o){e.exports={header:"header-1F6gxU",animation:"animation-3YKWGa",headerTitle:"headerTitle-1_9Kor",closeButton:"closeButton-23VgYF"}},6120:function(e,t,o){e.exports={perkRow:"perkRow-4H5Kvz",perkIconContainer:"perkIconContainer-Pf29_D",perkIcon:"perkIcon-XjImOD",perkDescription:"perkDescription-2-1vIq"}},6121:function(e,t,o){e.exports={content:"content-1tUOTl",closeButton:"closeButton-27-8oX",upsellImage:"upsellImage-1IzAr4",bodyText:"bodyText-GzTXXM",perksList:"perksList-1vtwXn",perkIconGuild:"perkIconGuild-KLNhuR",perkIconUpload:"perkIconUpload-1KAE-g",perkIconStream:"perkIconStream-7wqAvn",perkIconChatPerks:"perkIconChatPerks-BnKNFh",backStep:"backStep-vJugKI",footerRight:"footerRight-3XUHKU"}},6122:function(e,t,o){e.exports={value:"value-IR9osW",actions:"actions-6rRvry",iconWrapper:"iconWrapper-3LVgIo",icon:"icon-TYbVk4",disabled:"disabled-24YXy-"}},6123:function(e,t,o){e.exports={upsellFooter:"upsellFooter-3coAfO",upsellFooterIcon:"upsellFooterIcon-wRsqlH"}},6124:function(e,t,o){e.exports={bodyText:"bodyText-2BAgX2",planSelectStep:"planSelectStep-siOMix",planSelectText:"planSelectText-27NxQV",planSelectRow:"planSelectRow-2YPEKQ",planSelectorWrapper:"planSelectorWrapper-26xZEm",planSelectorLabel:"planSelectorLabel-1aEsuE",planSelectorPreviewPrice:"planSelectorPreviewPrice-2xDAwc",planSelectDivider:"planSelectDivider-3KU5-l",planSelectorSubtotal:"planSelectorSubtotal-Ze7sIQ",reviewStep:"reviewStep-1bHb2j",invoiceTableBottom:"invoiceTableBottom-ZfxfOm",paymentSourceWrapper:"paymentSourceWrapper-1k4xvS",taxInclusiveNote:"taxInclusiveNote-1609LC",confirmationContainer:"confirmationContainer-1TiG5F",confirmationAnimation:"confirmationAnimation-23ieIm",confirmationText:"confirmationText-1CakOE",confirmationUpgradedBanner:"confirmationUpgradedBanner-3CRRar",existingSlotNotice:"existingSlotNotice-1KvWSb",existingSlotIcon:"existingSlotIcon-zCzuDM",existingSlotTooltipWarningIcon:"existingSlotTooltipWarningIcon-3U0NWb"}},6125:function(e,t,o){e.exports={contentWrapper:"contentWrapper-3INYJy",content:"content-1AQeZG",breadcrumbsWrapper:"breadcrumbsWrapper-1m9gjf",externalErrorBlock:"externalErrorBlock-RoYW2L",bodyWrapper:"bodyWrapper-3k1Slb",footerRight:"footerRight-2F0jE7",backStep:"backStep-22G5wh",copy:"copy-3YQ4Eu"}},6128:function(e,t,o){e.exports={app:"app-2rEoOp",layers:"layers-3q14ss"}},6130:function(e,t,o){e.exports={responsiveWidthDesktop:"1080px",responsiveWidthMobileFirst:"486px",responsiveWidthMobile:"485px",wrapper:"wrapper-6URcxg"}},6131:function(e,t,o){e.exports={maxQRLoginWidth:"830px",responsiveWidthMobile:"485px",splashBackground:"splashBackground-1FRCko",loggingIn:"loggingIn-3Hi-BU",characterBackground:"characterBackground-2itjYF",artwork:"artwork-1adZW0",logo:"logo-1-AbdC"}},6132:function(e,t,o){e.exports={pageActions:"pageActions-1SVAnA",pageButtonNext:"pageButtonNext-V2kUq0",pageButtonPrev:"pageButtonPrev-1Y-47D",disabled:"disabled-BrLY9Y",pageButtonIcon:"pageButtonIcon-27P-7s",pageIndicator:"pageIndicator-1gAbyA"}},6133:function(e,t,o){e.exports={descriptionWrapper:"descriptionWrapper-1YBY_J",subText:"subText-V8PTt8",indicator:"indicator-2Qs3-E",defaultIndicator:"defaultIndicator-G3c16x indicator-2Qs3-E",invalidIndicator:"invalidIndicator-3Buq_- indicator-2Qs3-E",premiumIndicator:"premiumIndicator-1XvbfM indicator-2Qs3-E",description:"description-HxwDO4"}},6134:function(e,t,o){e.exports={paymentPane:"paymentPane-3bwJ6A",paymentRow:"paymentRow-2e7VM6",paymentRowHeader:"paymentRowHeader-2sfDdN",paymentRowHeaderDescription:"paymentRowHeaderDescription-4bm8wL",tab:"tab-1kx2RU",externalRow:"externalRow-EXU9l7",externalRowHeader:"externalRowHeader-2-8cG6",externalRowBody:"externalRowBody-3PrFmM",bottomDivider:"bottomDivider-1K9Gao",verticalFit:"verticalFit-waKLYN",paginator:"paginator-166-09"}},6326:function(e,t,o){e.exports={art:"art-RyCKMR"}},6429:function(e,t,o){e.exports={responsiveWidthMobileFirst:"486px",card:"card-19w55y",title:"title-3TRLpl"}},6432:function(e,t,o){e.exports={responsiveWidthMobile:"485px",errorBody:"errorBody-3WviEJ",promotionBodyWrapper:"promotionBodyWrapper-JgfKJo",promotionBody:"promotionBody-2r_eLH",promotionImage:"promotionImage-1HQo_l",promotionAccountIdentifier:"promotionAccountIdentifier-16Eu6A",promotionAccountIdentifierAvatar:"promotionAccountIdentifierAvatar-1I8Olf",promotionAccountIdentifierBody:"promotionAccountIdentifierBody-28mJCQ",promotionAccountIdentifierError:"promotionAccountIdentifierError-3YuTdv",title:"title-9oNsnn",bodyText:"bodyText-ThtFMi",errorImage:"errorImage-22tjNJ",errorFooter:"errorFooter-eY2PQo"}},6442:function(e,t,o){e.exports={wrapper:"wrapper-2JeiFF",spinnerWrapper:"spinnerWrapper-3MQVhb"}},7340:function(e,t,o){e.exports={menu:"menu-3sdvDG",scroller:"scroller-3BxosC",styleFixed:"styleFixed-sX-yHV",styleFlexible:"styleFlexible-wGDiIL",item:"item-1tOPte",hideInteraction:"hideInteraction-1iHO1O",customItem:"customItem-a8hq58",labelContainer:"labelContainer-1BLJti",label:"label-22pbtT",subtext:"subtext-13Lvrj",iconContainer:"iconContainer-2-XQPY",iconContainerLeft:"iconContainerLeft-3SHzHp iconContainer-2-XQPY",icon:"icon-LYJorE",hintContainer:"hintContainer-Vai8dx",imageContainer:"imageContainer-2fGqYU",caret:"caret-1XEpQV",image:"image-3v3Wjg",disabled:"disabled-1WRMNA",separator:"separator-2I32lJ",submenuContainer:"submenuContainer-2gbm7M",submenuPaddingContainer:"submenuPaddingContainer-fiOCHc",submenu:"submenu-2-ysNh menu-3sdvDG",colorDefault:"colorDefault-2K3EoJ",checkbox:"checkbox-3s5GYZ",radioSelection:"radioSelection-1HmrQS",check:"check-1JyqgN",focused:"focused-3afm-j",colorBrand:"colorBrand-ROmMP1 colorDefault-2K3EoJ",colorDanger:"colorDanger-2qLCe1 colorDefault-2K3EoJ",colorPremium:"colorPremium-p4p7qO colorDefault-2K3EoJ",colorGreen:"colorGreen-2ZgJka colorDefault-2K3EoJ",groupLabel:"groupLabel-2t5iuZ labelContainer-1BLJti"}},7341:function(e,t,o){e.exports={sizeEmoji:"1.375em",desaturateUserColors:"desaturateUserColors-1gar-1",wrapper:"wrapper-2a6GCs",compact:"compact-T3H92H",cozy:"cozy-3raOZG",repliedMessage:"repliedMessage-VokQwo",executedCommand:"executedCommand-2GE3w2",threadMessageAccessory:"threadMessageAccessory-1pYyA-",latin12CompactTimeStamp:"latin12CompactTimeStamp-38a8OU",latin24CompactTimeStamp:"latin24CompactTimeStamp-2V7XIQ",asianCompactTimeStamp:"asianCompactTimeStamp-1K6-VB",executedCommandAvatar:"executedCommandAvatar-yZ5r9z",replyAvatar:"replyAvatar-1K9Wmr",replyBadge:"replyBadge-r1su3o",threadMessageAccessoryAvatar:"threadMessageAccessoryAvatar-2XWCxw",replyIcon:"replyIcon-1b4Xjp",userJoinSystemMessageIcon:"userJoinSystemMessageIcon-1jNKMz",commandIcon:"commandIcon-SBYpgi",applicationName:"applicationName-1-Uq7y",commandName:"commandName-1klrjB",username:"username-1A8OIy desaturateUserColors-1gar-1",botTag:"botTag-1un5a6",repliedTextPreview:"repliedTextPreview-2NBljf",threadMessageAccessoryPreview:"threadMessageAccessoryPreview-1uSsue",clickable:"clickable-1bVtEA",repliedTextContent:"repliedTextContent-1R3vnK",threadMessageAccessoryContent:"threadMessageAccessoryContent-1LHM39",repliedTextPlaceholder:"repliedTextPlaceholder-dmN7D1",threadMessageAccessoryPlaceholder:"threadMessageAccessoryPlaceholder-2pTLxK",repliedTextContentIcon:"repliedTextContentIcon-1ivTae",threadMessageAccessoryContentIcon:"threadMessageAccessoryContentIcon-1QAVEG",contents:"contents-2mQqc9",zalgo:"zalgo-jN1Ica",messageContent:"messageContent-2qWWxC",header:"header-23xsNx",buttonContainer:"buttonContainer-DHceWr",systemMessageAccessories:"systemMessageAccessories-2uCWxo",avatar:"avatar-1BDn8e",timestamp:"timestamp-3ZCmNB",timestampInline:"timestampInline-yHQ6fX",alt:"alt-1uNpEt",timestampTooltip:"timestampTooltip-2w2MVG",timestampVisibleOnHover:"timestampVisibleOnHover-2bQeI4",headerText:"headerText-3Uvj1Y",botTagCompact:"botTagCompact-29bCci botTag-1un5a6",botTagCozy:"botTagCozy-1fFsZk botTag-1un5a6",replyLink:"replyLink-nOQEG8",separator:"separator-2nZzUB",messageEditorCompact:"messageEditorCompact-3Y64ly",hasThread:"hasThread-2k82W0",isSystemMessage:"isSystemMessage-2MkNHd",hasReply:"hasReply-34In-r",markupRtl:"markupRtl-26VWXC",isSending:"isSending-9nvak6",isFailed:"isFailed-2MPmD6",edited:"edited-3sfAzf"}},7342:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",markup:"markup-2BOw-j",blockquoteContainer:"blockquoteContainer-U5TVEi",blockquoteDivider:"blockquoteDivider-2hH8H6",slateBlockquoteContainer:"slateBlockquoteContainer-u5zDDJ",channelIcon:"channelIcon-Lewl0l",iconMention:"iconMention-O5BG9X",roleMention:"roleMention-2Bj0ju desaturate-qhyunI",rolePopout:"rolePopout-25sKc-",roleHeader:"roleHeader-apnU9D",roleScroller:"roleScroller-211T6P",timestamp:"timestamp-1Dd_pn",timestampTooltip:"timestampTooltip-2YTl4z"}},7343:function(e,t,o){e.exports={ephemeral:"ephemeral-1PsL1r",mentioned:"mentioned-xhSam7",replying:"replying-1x3H0T",message:"message-2qnXI6",selected:"selected-2P5D_Z",quotedChatMessage:"quotedChatMessage-3HzRaD",jump:"jump-2-Xh5Z",buttons:"buttons-cl5qTG",cozyMessage:"cozyMessage-3V1Y8y",groupStart:"groupStart-23k01U",systemMessage:"systemMessage-1I9LCe",backgroundFlash:"backgroundFlash-24qWLN",channelTextArea:"channelTextArea-3bF57p",divider:"divider-3_HH5L",disableInteraction:"disableInteraction-286MMw",hasContent:"hasContent-1_DUdQ",beforeGroup:"beforeGroup-1rH1F0",interactionSending:"interactionSending-1jpOwZ"}},7344:function(e,t,o){e.exports={textAreaHeight:"44px",channelTextArea:"channelTextArea-2VhZ6z",highlighted:"highlighted-2eSV1B",focusRing:"focusRing-2NImfT",scrollableContainer:"scrollableContainer-2NUZem",sticker:"sticker-1T9_Bu",textArea:"textArea-12jD-V",webkit:"webkit-HjD9Er",channelTextAreaDisabled:"channelTextAreaDisabled-8rmlrp",hasConnectedBar:"hasConnectedBar-1MrFne",inner:"inner-MADQqc",innerDisabled:"innerDisabled-1YTFPN inner-MADQqc",sansAttachButton:"sansAttachButton-td2irx",sansAttachButtonCreateThread:"sansAttachButtonCreateThread-1UPx8S",attachButton:"attachButton-2dnuIu",textAreaSlate:"textAreaSlate-1ZzRVj",textAreaThreadCreation:"textAreaThreadCreation-3zmvce",textAreaWithoutAttachmentButton:"textAreaWithoutAttachmentButton-qiaiTB",textAreaDisabled:"textAreaDisabled-3-Eq_G textArea-12jD-V",buttons:"buttons-3JBrkn",buttonContainer:"buttonContainer-28fw2U",button:"button-318s1X",emojiButton:"emojiButton-pET4wH button-318s1X",stickerIcon:"stickerIcon-3TP7EM",stickerButton:"stickerButton-3OEgwj",stickerButtonWithNotification:"stickerButtonWithNotification-ESXiw0",stickerButtonTilted:"stickerButtonTilted-2R4_UZ",fontSize12Padding:"fontSize12Padding-2x5wK2",fontSize14Padding:"fontSize14Padding-1DhkW_",fontSize15Padding:"fontSize15Padding-2bMrCq",fontSize16Padding:"fontSize16Padding-3Wk7zP",fontSize18Padding:"fontSize18Padding-2RUesG",fontSize20Padding:"fontSize20Padding-18f-TO",fontSize24Padding:"fontSize24Padding-2Tz8jD",stackedAttachedBar:"stackedAttachedBar-3A2J3X",attachedBars:"attachedBars-tZDmyV"}},7345:function(e,t,o){e.exports={formItem:"formItem-2DUsqN",settingsFormItem:"settingsFormItem-103g1I",wrapperBase:"wrapperBase-x09xGp",formFieldWrapper:"formFieldWrapper-malor5 wrapperBase-x09xGp",settingsFormFieldWrapper:"settingsFormFieldWrapper-3Y77Pr wrapperBase-x09xGp",verificationIcon:"verificationIcon-FinFJj",verificationCheckmark:"verificationCheckmark-1coNFS",termsRow:"termsRow-2dS5nm",termsRowContent:"termsRowContent-24S2LO",checkbox:"checkbox-BXy2rz",checkboxText:"checkboxText-20IXco",formItemDescription:"formItemDescription-1RUg6B",verifyConfirmText:"verifyConfirmText-c_pBxg",settingsLink:"settingsLink-uq19Vg",radioItem:"radioItem-1lWDqB"}},7346:function(e,t,o){e.exports={containerDefault:"containerDefault--pIXnN",containerDragAfter:"containerDragAfter-3Fp7LC",containerDragBefore:"containerDragBefore-3iTCc7",containerUserOver:"containerUserOver-2mv1jO",iconBase:"iconBase-3LOlfs",iconItem:"iconItem-F7GRxr iconBase-3LOlfs",mentionsBadge:"mentionsBadge-3tC7Mi iconBase-3LOlfs",selected:"selected-3LIHYU",iconVisibility:"iconVisibility-sTNpHs",disableClick:"disableClick-2FmYNV",disabled:"disabled-33BAPP",actionIcon:"actionIcon-PgcMM2",userLimit:"userLimit-3aerPX"}},7347:function(e,t,o){e.exports={card:"card-FDVird",active:"active-nvdKfC"}},7348:function(e,t,o){e.exports={innerPadding:"16px",artHeight:"112px",modalSize:"modalSize-cqUaws",modalCloseButton:"modalCloseButton-2wzgdr",modalBody:"modalBody-u1aNhe",formItemTitleSlim:"formItemTitleSlim-2X22M5",modalContent:"modalContent-BM7Qeh",modalHeader:"modalHeader-19eoYJ",marginBottom:"marginBottom-3hmv_z",formItemTitle:"formItemTitle-155OC0",headerText:"headerText-2j81og",headerDescription:"headerDescription--F5XUT",flexGrow:"flexGrow-3k1BKf",cancelButton:"cancelButton-1mlh7b",art:"art-1qgogX"}},7349:function(e,t,o){e.exports={stickersListPaddingTop:"0",stickersListPaddingTopSearchResults:"8px",stickersListPaddingRight:"0",stickersListPaddingBottom:"0",stickersListPaddingLeft:"8px",stickersListDividerHeight:"30px",stickersShopListSectionHeadingHeight:"66px",stickersShopDividerBorderTopWidth:"1px",stickersShopDividerHeight:"1px",stickersShopListSectionFooterHeight:"32px",stickersShopListSectionFooterStackedMargin:"8px",stickerPickerPreviewDimensions:"96px",stickerPickerPreviewDimensionsSmall:"80px",stickerPickerPreviewPadding:"2px",stickerShopModalPreviewDimensions:"72px",stickerPickerPreviewMargin:"12px",stickerPickerPreviewMarginSmall:"4px",stickerPickerPreviewBorderRadius:"4px",stickerCategoryListPadding:"8px",stickerCategoryIconMargin:"8px",stickerCategoryIconSize:"32px",stickerCategoryUnicodeIconSize:"24px",stickerDimension:"160px",stickerPurchasePackPreviewDimensions:"76px",stickerPurchasePackPreviewPadding:"2px",stickerPurchasePackPreviewMargin:"0",stickerPickerBreakpointSmall:"360px",stickerPickerBreakpointMedium:"446px",categorySeparatorSize:"1px",categorySeparatorMarginVertical:"12px"}},7350:function(e,t,o){e.exports={container:"container-19nk2r",guildSidebar:"guildSidebar-2OCzWB",guildDescription:"guildDescription-122n1Y",guildIcon:"guildIcon-38Zs0M",guildName:"guildName-2TIjNT",emojisContainer:"emojisContainer-19mZ0z",emoji:"emoji-3C344l",onlineCount:"onlineCount-27XuPk",dot:"dot-14Jva_",dotOnline:"dotOnline-2wEpt_ dot-14Jva_",dotMembers:"dotMembers-1XEUE5 dot-14Jva_",divider:"divider-2FB3wK",modal:"modal-f02hVt",sequencer:"sequencer-GH6NxK",modalContent:"modalContent-1iyOR2",content:"content-3wJ8G6",centerContent:"centerContent-3pbrOl",closeButton:"closeButton-1aXUE8",applicationIcon:"applicationIcon-1_YMdt",animationAndSparklesContainer:"animationAndSparklesContainer-MGS9s5",sparkleIcon:"sparkleIcon-2uxoYp",sparkleTop:"sparkleTop-qBeDaK",sparkleBottom:"sparkleBottom-1AUcMi",animation:"animation-vamXOL",header:"header-3WG5kX",verificationForm:"verificationForm-lhyAxu",footer:"footer-1JuRYY",submitButton:"submitButton-YEItfy",formItem:"formItem-LXNO4Q",resendButton:"resendButton-3WkctP",confirmation:"confirmation-2zE9ir",confirmationContent:"confirmationContent-1LS30-",confirmationButtonRow:"confirmationButtonRow-2J_xOl",confirmationButton:"confirmationButton-1s3fqt",confirmationButtonColumn:"confirmationButtonColumn-X0tXMk",notice:"notice-3UEAq4",rejectionReasonLabel:"rejectionReasonLabel-3CSyvn",rejectionReason:"rejectionReason-31OKzD"}},7351:function(e,t,o){e.exports={button:"button-2IFFQ4",buttonSize:"buttonSize-AQY2mE"}},7352:function(e,t,o){e.exports={minEmojiPickerWidth:"424px",emojiSizeMedium:"32px",emojiSizeLarge:"48px",emojiContainerPaddingHorizontal:"4px",emojiContainerPaddingVertical:"4px",emojiPickerHeight:"420px",emojiSectionMarginBottom:"12px",emojiListPaddingTop:"0",emojiListPaddingRight:"0",emojiListPaddingBottom:"8px",emojiListPaddingLeft:"8px",emojiListSearchResultsPaddingTop:"8px",unicodeCategoryIconMarginVertical:"2px",unicodeCategoryIconSize:"24px",unicodeCategoryIconPadding:"4px",unicodeCategoryShortcutHeight:"48px",guildCategoryIconSize:"32px",guildCategoryIconMarginVerical:"8px",categorySeparatorSize:"1px",categorySeparatorMarginVertical:"12px",diversityEmojiSize:"24px",emojiPremiumUpsellHeight:"54px",emojiPremiumUpsellMarginTop:"16px"}},7353:function(e,t,o){e.exports={expressionPickerListSectionHeadingHeight:"32px",expressionPickerInspectorBarGraphicPrimaryDimensions:"28px",expressionPickerInspectorBarGraphicSecondaryDimensions:"32px",expressionPickerInspectorBarHeight:"48px"}},7354:function(e,t,o){e.exports={container:"container-1y2SiJ",centeredContent:"centeredContent-2RnY1t",headerContent:"headerContent-1hkqMb",header:"header-2iAsQ-",headerCaption:"headerCaption-dhZYrH",headerCaptionSecondLine:"headerCaptionSecondLine-njznzs",formItem:"formItem-3caYi-",twoColumn:"twoColumn-3yKVlN",columnItem:"columnItem-P4zi8t",spacedColumnItem:"spacedColumnItem-2jBOnY",description:"description-1UfJ_A",otherDescription:"otherDescription-1p-Y0L",tag:"tag-3-bjbr",closeWrapper:"closeWrapper-1DB17G",close:"close-1WlsZj"}},7355:function(e,t,o){e.exports={close:"close-2okGrS",modal:"modal-1HIJ4q",headerText:"headerText-ldXsZJ",modalContent:"modalContent-MfAPtc",addItemButton:"addItemButton-1lC30o",dragging:"dragging-1GRizT",draggableInputContainer:"draggableInputContainer-2IHkcW",inputWrapper:"inputWrapper-2a6F8U",clearButton:"clearButton-2akzBa",rulesInputNumber:"rulesInputNumber-1n2j7c",rulesTextAreaInput:"rulesTextAreaInput-2aGfKB",clearButtonRight:"clearButtonRight--vP5QI clearButton-2akzBa",clearIcon:"clearIcon-1_xlaH",dragContainer:"dragContainer-2EVQ7N",dragIcon:"dragIcon-1dICoF",divider:"divider-3M6rki",exampleRule:"exampleRule-32tIs5",disabled:"disabled-2Owor3",errorText:"errorText-2qUDB7",cancelButton:"cancelButton-2XkGpw",spacedItem:"spacedItem-350nB_",characterCount:"characterCount-39ID2T"}},7356:function(e,t,o){e.exports={contentWidth:"contentWidth-xLB44s",header:"header-2mZ9Ov",stickyHeader:"stickyHeader-hH_ZLl",stickyHeaderElevated:"stickyHeaderElevated-I6QUOA"}},7357:function(e,t,o){e.exports={wrapper:"wrapper-2jXpOf",typeThread:"typeThread-3ESTm-",content:"content-1x5b-n",modeSelected:"modeSelected-346R90",modeLocked:"modeLocked-25wLHj",icon:"icon-1DeIlz",iconContainer:"iconContainer-1BBaeJ",mainContent:"mainContent-u_9PKf",name:"name-23GUGE",channelName:"channelName-2YrOjO",subtitle:"subtitle-3V1p2E",unread:"unread-2lAfLh",children:"children-3rEycc",modeMuted:"modeMuted-onO3r-",modeUnread:"modeUnread-1qO3K1",modeConnected:"modeConnected-3IsKId",notInteractive:"notInteractive-1X92pj"}},7358:function(e,t,o){e.exports={channelNotice:"channelNotice-1-XFjC",guildMFAWarning:"guildMFAWarning-3GEzs8",message:"message-3SOT5P",invite:"invite-OjTXrW",publicUpsell:"publicUpsell-31ZSJ8",quickswitcher:"quickswitcher-35bYg4",btn:"btn-11C5_u",premiumGuildSubscription:"premiumGuildSubscription-3oKecP",textLargeGuild:"textLargeGuild-3s_k9p",maxMembersCount:"maxMembersCount-3E4zND",close:"close-relY5R",closeIcon:"closeIcon-2eaC4U"}},7359:function(e,t,o){e.exports={modal:"modal-3i71Y-",formErrorContainer:"formErrorContainer-3TG4vh",formError:"formError-2RIrn5",formErrorIcon:"formErrorIcon-2Eelfy",modalHeader:"modalHeader-3mawsN",modalHeaderText:"modalHeaderText-2Pdk3O",modalContent:"modalContent-1pV-V4",modalFooter:"modalFooter-1yBXf6",divider:"divider-1DkfaP",footer:"footer-2BNy-D",modalHeadline:"modalHeadline-Qk7jey",modalSubheadline:"modalSubheadline-1rAcuQ",linkButtonContent:"linkButtonContent-2It2a5",linkButtonIcon:"linkButtonIcon-WaDi9L",breadCrumbsContainer:"breadCrumbsContainer-2Qg9Yk",breadCrumbItem:"breadCrumbItem-2wlqgA",breadCrumbArrow:"breadCrumbArrow-1EyA1a",closeButton:"closeButton-3NEDt7"}},7360:function(e,t,o){e.exports={uploadArea:"uploadArea-3QgLtW",droppable:"droppable-1orUyP",uploadModalIn:"uploadModalIn-1z07Bv",uploadDropModal:"uploadDropModal-2kTwbc",uploadIconAnimateIn:"uploadIconAnimateIn-2ME8Vn",icon:"icon-kyxXVr",one:"one-2crnLX",uploadIconAnimateInLeft:"uploadIconAnimateInLeft-lEUOPh",two:"two-3BBQI9",uploadIconAnimateInMiddle:"uploadIconAnimateInMiddle-3DqCs3",three:"three-27ScFD",uploadIconAnimateInRight:"uploadIconAnimateInRight-KUAMIW",instructions:"instructions-2Du9gG",title:"title-2Vtl4y",uploadTextFadeIn:"uploadTextFadeIn-3vkVkM",error:"error-kKl9o2",uploadModalShake:"uploadModalShake-1PBhUb",bgScale:"bgScale-1otPtc",uploadModalBounce:"uploadModalBounce-30cglS",inner:"inner-3nWsbo",icons:"icons-1w691d",wrapOne:"wrapOne-14G98n",wrapTwo:"wrapTwo-mQGI3R",wrapThree:"wrapThree-1CNQ42",crossOne:"crossOne-G8l6vW",crossTwo:"crossTwo-aG_i7H",lightOne:"lightOne-i8nDwl",lightTwo:"lightTwo-3AK5zn",popOne:"popOne-33Hy62",sparkleOne:"sparkleOne-zvhFgj",sparkleTwo:"sparkleTwo-R0oeYq",uploadModal:"uploadModal-2ifh8j",transitioning:"transitioning-jYFzwb",uploadModalBounceTransition:"uploadModalBounceTransition-2UbjF9",file:"file-34mY5K",expandable:"expandable-3khGbD",description:"description-2ug5H_",image:"image-2yrs5j",video:"video-27RLEH",acrobat:"acrobat-3K1PC6",ae:"ae-1Y5Jq3",sketch:"sketch-ZMuo7D",ai:"ai-11KAaB",archive:"archive-2hqXug",code:"code-aoB-kL",document:"document-2cvI0u",photoshop:"photoshop-1UWfyZ",ps:"ps-2T6Jrl",spreadsheet:"spreadsheet-1QuSej",webcode:"webcode-22GGLX",audio:"audio-14DQXq",unknown:"unknown-3TPTMr",filename:"filename-ovv3c5",subtitle:"subtitle-26nRzM",filesize:"filesize-s2nTZM",comment:"comment-4IWttf",label:"label-3aiqT2",optional:"optional--ezibr",channelTextAreaUpload:"channelTextAreaUpload-3t7EIx",footer:"footer-3mqk7D",hasSpoilers:"hasSpoilers-1IRtQC",cancelAllButton:"cancelAllButton-16p7ma",destination:"destination-3ZiRO2"}},7361:function(e,t,o){e.exports={header:"header-287ONi",closeButton:"closeButton-26zew5",title:"title-Z_XiOC",subtitle:"subtitle-1KdHaN",createGuild:"createGuild-23lWNm",uploadIcon:"uploadIcon-2IFzZU",nameInput:"nameInput-2LpnKg",descriptionInput:"descriptionInput-3XMwZd",guidelines:"guidelines-1NSoht",creationIntentCheckbox:"creationIntentCheckbox-1rWz6L",creationIntentText:"creationIntentText-3OlELP"}},7362:function(e,t,o){e.exports={container:"container-b28a_3",topImage:"topImage-3XIXqf",centerText:"centerText-11eOJ3",header:"header-3SR9BS",descriptionWidth:"descriptionWidth-29jpzM",formContent:"formContent-vPG9mK",formDescription:"formDescription-1mfWR8",submitButton:"submitButton-Ksp7gU",submitText:"submitText-1O_DKF"}},7363:function(e,t,o){e.exports={popoutPaddingWidth:"16px",sizeJumboEmoji:"3rem",emojiSection:"emojiSection-3Fb9ix",primaryEmoji:"primaryEmoji-3LinDq",emojiName:"emojiName-27Bjxw",ctaButton:"ctaButton-fjBGVN",guildSection:"guildSection-1EoFKd",guildTitle:"guildTitle-2IliYu",guildIcon:"guildIcon-1zxZMV",guildBadge:"guildBadge-2YTIW_",guildName:"guildName-nBoMcU",showMoreEmojis:"showMoreEmojis-1Xd5A3",showMoreEmojisArrow:"showMoreEmojisArrow-PK64BO",showMoreEmojisArrowCollapsed:"showMoreEmojisArrowCollapsed-2esWuk",otherEmojisContainer:"otherEmojisContainer-lyudgL",otherEmoji:"otherEmoji-2IRr39",truncatingText:"truncatingText-18osv_",dotSeparator:"dotSeparator-2SMscJ",popoutContent:"popoutContent-33P_eV",popoutLoader:"popoutLoader-38dq4E"}},7364:function(e,t,o){e.exports={inlineContent:"inlineContent-3ZjPuv",spoilerContainer:"spoilerContainer-331r0R",hidden:"hidden-HHr2R9",spoilerWarning:"spoilerWarning-2aAZq1",embed:"embed-2Fkp92",spoilerText:"spoilerText-3p6IlD",codeBlock:"codeBlock-2328Tz",quoteBlock:"quoteBlock-1Ck12r"}},7365:function(e,t,o){e.exports={spotifyButtonLogo:"spotifyButtonLogo-3uT57D",listenAlongIcon:"listenAlongIcon-2TkOLH",iconButton:"iconButton-3ucJ7a",iconButtonSize:"iconButtonSize-8raSoG"}},7366:function(e,t,o){e.exports={autocomplete:"autocomplete-1vrmpx",autocompleteInner:"autocompleteInner-zh20B_",autocompleteRow:"autocompleteRow-2OthDa",autocompleteRowVertical:"autocompleteRowVertical-q1K4ky autocompleteRow-2OthDa",autocompleteRowHorizontal:"autocompleteRowHorizontal-32jwnH autocompleteRow-2OthDa",autocompleteRowContent:"autocompleteRowContent-1AMstF",autocompleteRowContentPrimary:"autocompleteRowContentPrimary-238PvP",autocompleteRowIcon:"autocompleteRowIcon-2VJmzt",autocompleteRowSubheading:"autocompleteRowSubheading-WqMMIl",autocompleteRowContentSecondary:"autocompleteRowContentSecondary-1tgI-F",base:"base-1pYU8j",selectable:"selectable-3dP3y-",dividerContainer:"dividerContainer-3Gjj3b",divider:"divider-23swzi",contentTitle:"contentTitle-2tG_sM",icon:"icon-3ZzoN7",iconForeground:"iconForeground-1w5n7R",emojiImage:"emojiImage-1_XFkC",emojiRaw:"emojiRaw-3DHlrS emojiImage-1_XFkC",descriptionDiscriminator:"descriptionDiscriminator-3vUOCc",autocompleteRowVerticalSmall:"autocompleteRowVerticalSmall-1bvn6e",selected:"selected-1Tbx07"}},7367:function(e,t,o){e.exports={listItemWidth:"72px",navigationIcon:"navigationIcon-2S1B5W",badgeIcon:"badgeIcon-2joE5y",guildSeparator:"guildSeparator-33mFX6",guildsError:"guildsError-g6NwOI",errorInner:"errorInner-25THi4",circleButtonBase:"circleButtonBase-2DCxIZ",circleIconButton:"circleIconButton-1QV--U circleButtonBase-2DCxIZ",selected:"selected-1JjBPm",nitroUpsell:"nitroUpsell-3LsJnJ circleButtonBase-2DCxIZ",nitroUpsellIcon:"nitroUpsellIcon-2csSJA",circleIcon:"circleIcon-1-oi1i",plus:"plus-3X_ngf",createJoinContainer:"createJoinContainer-z7osd4",pill:"pill-1aYSec",listItem:"listItem-GuPuDH",listItemWrapper:"listItemWrapper-KhRmzM",listItemTooltip:"listItemTooltip-1JmWJ7",placeholderMask:"placeholderMask-3v3K7P",dragInner:"dragInner-Oq_toX",iconBadge:"iconBadge-3qSJIw",participating:"participating-1NvRVd",unavailableBadge:"unavailableBadge-20E5O2",tutorialContainer:"tutorialContainer-30WoTp",upsellTooltip:"upsellTooltip-2A3BlB",upsellIcon:"upsellIcon-33qg4-",upsellText:"upsellText-3Q7ST7"}},7368:function(e,t,o){e.exports={emojiPickerHeight:"420px",minEmojiPickerWidth:"424px",borderRadius:"5px",wrapper:"wrapper-1rqM3x",emojiPicker:"emojiPicker-3PwZFl",emojiPickerInExpressionPicker:"emojiPickerInExpressionPicker-3IzIcv",header:"header-8ilj5e",searchBar:"searchBar-5di9mG",diversitySelector:"diversitySelector-1v4_1A",categoryList:"categoryList-2Kzf65",bodyWrapper:"bodyWrapper-3G0FZZ",emojiPickerListWrapper:"emojiPickerListWrapper-fz8KNK",inspector:"inspector-3LQtX9"}},7369:function(e,t,o){e.exports={syntaxAfter:"syntaxAfter-hcA4AH",syntaxBefore:"syntaxBefore-1YQ9lW",codeBlockSyntax:"codeBlockSyntax-2i-tMA",codeBlockLang:"codeBlockLang-O_f4hr",after_s:"after_s-20p8Ev",after_spoiler:"after_spoiler-1-p4u9",after_u:"after_u-222bSK",before_s:"before_s-24KnUy",before_spoiler:"before_spoiler-1Aglf8",before_u:"before_u-2lCd2i",syntaxOverride:"syntaxOverride-1uDw7k",before_em:"before_em-9aA_NQ",after_em:"after_em-U9Eby7",before_inlineCode:"before_inlineCode-1G9rTK",after_inlineCode:"after_inlineCode-1KfVgj",bold:"bold-36dRGB",italics:"italics-1CB0-L",underline:"underline-2dzcvN",strikethrough:"strikethrough-37TnTg",fakeLink:"fakeLink-26oLcc",inlineCode:"inlineCode-2ngu6Y",spoiler:"spoiler-2Iew8T",codeBlockText:"codeBlockText-9TnoxQ",codeLine:"codeLine-14BKbG"}},7370:function(e,t,o){e.exports={modalSize:"modalSize-32pcp4 sizeSmall-1jtLQy",headerContent:"headerContent-3hty5X",headerHeader:"headerHeader-53zx0J",applicationName:"applicationName-2QbFHn",price:"price-1ynJAt",priceSpinner:"priceSpinner-20g34L",breadcrumbs:"breadcrumbs-S3tCk9",errorBlock:"errorBlock-13Gsgi",confirmContent:"confirmContent-3zhou3",confirmCloseButton:"confirmCloseButton-ear6TV"}},7371:function(e,t,o){e.exports={row:"row-hM7TSa",icon:"icon-Vhk6dD",salePercentage:"salePercentage-TXZz3H",originalAmount:"originalAmount-3RtnBh",directoryTilePrice:"directoryTilePrice-kxTe16",directoryHeroPrice:"directoryHeroPrice-1_MqzA",directoryHeroPricePremium:"directoryHeroPricePremium-tR0nU8",directorySearchPrice:"directorySearchPrice-2Spatv",listingPrice:"listingPrice-2GiDSc",embedPrice:"embedPrice-Xy8zoS"}},7372:function(e,t,o){e.exports={spacing:"spacing-2P-ODW",spacingTop:"spacingTop-3Dhr0L",message:"message-2qRu38"}},7373:function(e,t,o){e.exports={noUserDrag:"noUserDrag-5Mb43F",userSelectText:"userSelectText-1o1dQ7",userSelectNone:"userSelectNone-Iy6XEP",cursorDefault:"cursorDefault-331ZcI",cursorPointer:"cursorPointer-1tw4YS"}},7374:function(e,t,o){e.exports={container:"container-2Uhd6d",content:"content-3MbD2f",buttonContainer:"buttonContainer-3CyfSO",cancel:"cancel-m57-lx",image:"image-3OQMFm"}},7375:function(e,t,o){e.exports={container:"container-2I9Hud",left:"left-3P8WCO",authorName:"authorName-2_A-Lf",messageContent:"messageContent-19B5yF",subtext:"subtext-pjj1kJ",threadName:"threadName-2iLyXl",facepile:"facepile-3d8JVS",avatar:"avatar-5gCvH8",noAvatarIcon:"noAvatarIcon-1rVwh9",messageContentIcon:"messageContentIcon-yzjShp",bullet:"bullet-1-Smkp"}},7376:function(e,t,o){e.exports={list:"list-wek7hJ",activeThreadsList:"activeThreadsList-3f7l7U",sectionHeader:"sectionHeader-17Aate",divider:"divider-VEsXul",controls:"controls-1kKWv_",tabBar:"tabBar-wS4pjJ",tab:"tab-17bjMB",active:"active-3JUHqX",moderatorView:"moderatorView-1h-CbZ",checkbox:"checkbox-Aywj5i",infoIcon:"infoIcon-2hKaOh",spinner:"spinner-2xn1Ci"}},7377:function(e,t,o){e.exports={headerGuildName:"headerGuildName-2Ur2UW",headerGuildBadge:"headerGuildBadge-1qhaRY",flowerStar:"flowerStar-1qlGEL",main:"main-3auUui",close:"close-2do-tr",guildIcon:"guildIcon-1F8t_p",header:"header-QjU-Vz",guildDescription:"guildDescription-GPbJqa",choiceHeader:"choiceHeader-3g-iq5",options:"options-1VK2u9",optionContainer:"optionContainer-15srkc",optionTextContainer:"optionTextContainer-1WT7xh",optionArrow:"optionArrow-2L2fza",channelIcon:"channelIcon-g61PDh",optionEmoji:"optionEmoji-4_u0Ds",channelDescription:"channelDescription-1Vw6Lv",skip:"skip-1vOolA",skipColor:"skipColor-3dV-gy"}},7378:function(e,t,o){e.exports={flexCenter:"flexCenter-3_1bcw flex-1O1GKY justifyCenter-3D2jYp alignCenter-1dQNNs",pictureInPictureVideo:"pictureInPictureVideo-2iKsGg",videoControls:"videoControls-38i4kP",bottomControls:"bottomControls-2f_UqT",topControls:"topControls-1PHLxx",idle:"idle-70Gg3H",backButton:"backButton-3c6fw4",headerBar:"headerBar-2wGwms",headerIdleContainer:"headerIdleContainer-16C5Xe",headerTitle:"headerTitle-1Y0ywV",headerText:"headerText-3RxpQn",menuIcon:"menuIcon-1dbDwf"}},7379:function(e,t,o){e.exports={expanded:"expanded-13sWhZ",blockedSystemMessage:"blockedSystemMessage-2Rk1ek",blockedIcon:"blockedIcon-IrnkVA",container:"container-3eemR3",blockedMessageText:"blockedMessageText-1fRjos",blockedAction:"blockedAction-2ZyU8z"}},7380:function(e,t,o){e.exports={listRow:"listRow-1iDGel",listRowContent:"listRowContent-i8Bizk",listName:"listName-U3shDM",listAvatar:"listAvatar-1BbvHX",listDiscriminator:"listDiscriminator-2AP_Kz",empty:"empty-39KnKA",emptyIcon:"emptyIcon-1yiM-z",emptyText:"emptyText-2d2yNp",listScroller:"listScroller-3GmIYj",emptyIconFriends:"emptyIconFriends-2l7flK emptyIcon-1yiM-z",emptyIconGuilds:"emptyIconGuilds-zT7p-8 emptyIcon-1yiM-z",emptyIconStreamerMode:"emptyIconStreamerMode-1h-oZF emptyIcon-1yiM-z"}},7381:function(e,t,o){e.exports={sidebarContentWidth:"192px",standardPadding:"20px",sidebarContentScrollbarPadding:"6px",sidebarTotalWidth:"calc(192px + 20px + 6px)",standardSidebarView:"standardSidebarView-3F1I7i",sidebarRegion:"sidebarRegion-VFTUkN",sidebarRegionScroller:"sidebarRegionScroller-3MXcoP",sidebar:"sidebar-CFHs9e",contentTransitionWrap:"contentTransitionWrap-3hqOEW",contentRegionScroller:"contentRegionScroller-26nc1e",toolsContainer:"toolsContainer-1edPuj",tools:"tools-3-3s-N",contentRegion:"contentRegion-3nDuYy",contentColumn:"contentColumn-2hrIYH",customColumn:"customColumn-Rb6toI",contentColumnDefault:"contentColumnDefault-1VQkGM",contentColumnMinimal:"contentColumnMinimal-2iX-kP",customHeader:"customHeader-PhBRGa",customContainer:"customContainer-1RHXqt",customScroller:"customScroller-26gWhv",noticeRegion:"noticeRegion-1YviSH"}},7382:function(e,t,o){e.exports={guildJoinRequestRow:"guildJoinRequestRow-35c262",inline:"inline-yu1eCu",spacer:"spacer-i52oV7",status:"status-M_uKgm spacer-i52oV7",approved:"approved-1ruTYe",rejected:"rejected-pJ_kU_",caret:"caret-2lmaKa",search:"search-3VWz2t",emptyContainer:"emptyContainer-yF7VLv",emptyIcon:"emptyIcon-1-fUj8",checkmark:"checkmark-2JmSeu",star:"star-eymo6_",plus:"plus-1EbKzu",emptyBody:"emptyBody-GDvh5u",fetchingSpinner:"fetchingSpinner-3F97LU"}},7383:function(e,t,o){e.exports={header:"header-3gJGL7",closeButton:"closeButton-EUhPG4",title:"title-3gesol",formItem:"formItem-3NqgNx",formHelpText:"formHelpText-21UFgx",footer:"footer-2_uVg4",backButton:"backButton-1uCkrF",content:"content-3_5Nbn",colorPicker:"colorPicker-3sI_D-"}},7384:function(e,t,o){e.exports={notice:"notice-3bPHh-",colorDefault:"colorDefault-22HBa0",button:"button-2DhvE9",colorNeutral:"colorNeutral-3uXvGN",colorDownload:"colorDownload-3uiTFS",colorNotification:"colorNotification-GG3eAb",colorDark:"colorDark-1yVQpk",colorPremium:"colorPremium--X5Fw0",colorPremiumTier1:"colorPremiumTier1-3D7SPt colorPremium--X5Fw0",colorPremiumTier2:"colorPremiumTier2-dCdap5 colorPremium--X5Fw0",colorInfo:"colorInfo-2URYW5",colorSuccess:"colorSuccess-1hnbW2",colorDanger:"colorDanger-4gmAY0",colorStreamerMode:"colorStreamerMode-2SJAUN",colorSpotify:"colorSpotify-2L6XRq",platformIcon:"platformIcon-cDJOOu",colorBrand:"colorBrand-2zeG8h",colorCustom:"colorCustom-1ND3UM colorInfo-2URYW5",closeButton:"closeButton-3cJIM4",buttonMinor:"buttonMinor-3mkvIP"}},7385:function(e,t,o){e.exports={progressWithSubscriptionsMarginTop:"7px",content:"content-EpTwk1",progress:"progress-P0N0qm",progressWithSubscriptions:"progressWithSubscriptions-1g0lMR progress-P0N0qm",tiers:"tiers-3eUU7I",subscriberCount:"subscriberCount-11AZJ2",subscribers:"subscribers-34Wiok",subscriberMask:"subscriberMask-2keJDX",moreSubscribers:"moreSubscribers-XxaiVS",subscribersPopout:"subscribersPopout-3tW0Y9",subscribersPopoutUser:"subscribersPopoutUser-4hhgA8",subscribersPopoutUsername:"subscribersPopoutUsername-1qkpRX",tierDefaultUnlocked:"tierDefaultUnlocked-388I3Z",tierDefaultUnlockedDescription:"tierDefaultUnlockedDescription-1Hq8Pg",tier:"tier-2pEkRl",tierBottomMargin:"tierBottomMargin-305env",tierHeader:"tierHeader-l2pbOh",tierHeaderWithoutCardBody:"tierHeaderWithoutCardBody-39Er3Y",tierHeaderContent:"tierHeaderContent-3t3DoO",tierHeaderLocked:"tierHeaderLocked-3S508x tierHeader-l2pbOh",tierHeaderUnlocked:"tierHeaderUnlocked-3lTDnP tierHeader-l2pbOh",tierHeaderUnlockedBackground:"tierHeaderUnlockedBackground-dZ6zLI",tierIcon:"tierIcon-1g5KsI",tierTitle:"tierTitle-1zWf2L",tierTitleActive:"tierTitleActive-2SvV-i",tierRequirement:"tierRequirement-UAxC-l",tierLock:"tierLock-3nsR0q",tierUnlocked:"tierUnlocked-2H6ULo",tierClose:"tierClose-11rsMz",tierCloseMechaWumpus:"tierCloseMechaWumpus-I5VKyc",tierCloseHint:"tierCloseHint-w4yino",tierCloseClose:"tierCloseClose-iRVkcs",tierCloseCloseIcon:"tierCloseCloseIcon-1mnX8B",hidden:"hidden-UVFBon",tierBody:"tierBody-3aUxuc",previousPerks:"previousPerks-2mqe4t",perks:"perks-32J1d0",perk:"perk-3tfSmw",perkIcon:"perkIcon-1y667v",perkText:"perkText-tqMI_-",perkTitle:"perkTitle-3CUroY",perkDescription:"perkDescription-3buU5c",avatar:"avatar-3C-cz_"}},7386:function(e,t,o){e.exports={wrapper:"wrapper-18yWki",actions:"actions-1gwz6d",content:"content-2Ifj11",contentRemoving:"contentRemoving-1evGTQ",sticker:"sticker-20SgX2",stickerName:"stickerName-2Q3oCj",relatedEmoji:"relatedEmoji-29s8wh",wrapperDisabled:"wrapperDisabled-JnCH8b",user:"user-2DANVB",userAvatar:"userAvatar-3Qn271",action:"action-Wexk0G",actionRemove:"actionRemove-HdT_9L",icon:"icon-3CsuzN",spinner:"spinner-2HMkkA"}},7387:function(e,t,o){e.exports={mediaQueryMobileHeader:"849px",children:"children-3Bo2Aw",back:"back-38bAq5",updateIconForeground:"updateIconForeground-3tnNZn",search:"search-36MZv-",toolbar:"toolbar-1ZLc8T",downloadArrow:"downloadArrow-BfJJjn",arrowBounce:"arrowBounce-1NRiP8",cloud:"cloud-31LAb8",headerBarLoggedOut:"headerBarLoggedOut-1Txau0"}},7388:function(e,t,o){e.exports={listItemWidth:"72px",animationDuration:"150ms",guildIconSize:"48px",guildIconMargin:"8px",wrapper:"wrapper-3Njo_c",expandedFolderBackground:"expandedFolderBackground-1cujaW",collapsed:"collapsed-2ZrjoL",hover:"hover-qTxTR_",folderIconWrapper:"folderIconWrapper-1_bOZe",folder:"folder-1hbNCn",closedFolderIconWrapper:"closedFolderIconWrapper-2sTcE6",folderIconPreview:"folderIconPreview-3LyASS",guildIcon:"guildIcon-2Tpnad",miniPlaceholder:"miniPlaceholder-25s1hF",expandedFolderIconWrapper:"expandedFolderIconWrapper-Huv7rA",guildIconUnavailable:"guildIconUnavailable-3IYARS"}},7389:function(e,t,o){e.exports={blobContainer:"blobContainer-pmnxKB",pill:"pill-1z4sAY",sorting:"sorting-3qFM8m",wobble:"wobble-3KAYb_"}},7390:function(e,t,o){e.exports={modal:"modal-2Lmpu0",information:"information-34_WSh",body:"body-3LnUjB",card:"card-8mY5hz",image:"image-23YBsm"}},7391:function(e,t,o){e.exports={chat:"chat-3bRxxu",threadSidebar:"threadSidebar-1o3BTy",uploadArea:"uploadArea-1qnBZm",threadSidebarOpen:"threadSidebarOpen-vdkwIh",form:"form-2fGMdU",chatContent:"chatContent-a9vAAp",cursorPointer:"cursorPointer-1j7DL8",content:"content-yTz4x3",noChat:"noChat-9aipKz",channelTextArea:"channelTextArea-rNsIhG",titleWrapper:"titleWrapper-1l0xT9",editPartyIcon:"editPartyIcon-1GA5r3",channelName:"channelName-3stJzi",parentChannelName:"parentChannelName-1C2HEo",title:"title-3qD0b-",followButton:"followButton-L6L-Us",status:"status-1XNdyw"}},7392:function(e,t,o){e.exports={container:"container-1KLQDM",loading:"loading-3kzdRC",background:"background-3NP2Rg",content:"content-2c3hgM",sectionTier2:"sectionTier2-mtdT6c",marketingRefreshTier2Intro:"marketingRefreshTier2Intro-2L26Rm",marketingRefreshTitle:"marketingRefreshTitle-3pOyQb",marketingRefreshSubtitle:"marketingRefreshSubtitle-3jft-o",marketingRefreshHeaderAnimation:"marketingRefreshHeaderAnimation-KQPxGl",marketingRefreshTier2Cta:"marketingRefreshTier2Cta-bw9Vyc",marketingRefreshSectionTier1:"marketingRefreshSectionTier1-dRwS-6",marketingRefreshTier1Graphic:"marketingRefreshTier1Graphic-9B12wx",marketingRefreshTier1Logo:"marketingRefreshTier1Logo-sY6Lgd",marketingRefreshDescription:"marketingRefreshDescription-UL0ZTA",tier1InfoTooltipList:"tier1InfoTooltipList-1tVi94",tier1InfoTooltipListItem:"tier1InfoTooltipListItem-HtMMGF",tier1InfoTooltipListItemOffsetItem:"tier1InfoTooltipListItemOffsetItem-17hZH2",tier1InfoIcon:"tier1InfoIcon-3Voc4Y",tier2Buttons:"tier2Buttons-RBEMRE",subSectionHeader:"subSectionHeader-32l16N",sectionAccountCredit:"sectionAccountCredit-1uNhnJ",subscriptionDetails:"subscriptionDetails-1dUmjl",accountCredit:"accountCredit-2hUNux",accountCreditTitle:"accountCreditTitle-2MXzx-",accountCreditDescription:"accountCreditDescription-g6Pzho",marketingRefreshTier2PlanWrapper:"marketingRefreshTier2PlanWrapper-21Joud",tier2Plan:"tier2Plan-39BBFB",marketingRefreshTier2PlanName:"marketingRefreshTier2PlanName-2O-mVv",tier1Banner:"tier1Banner-1BTgv0",trialBanner:"trialBanner-1l29Ev",trialIcon:"trialIcon-3uSjEK",trialDescription:"trialDescription-240N1y",trialButton:"trialButton-3QE_RI",perkList:"perkList-2pAPzu",perkListItem:"perkListItem-1BjVlm",perkListItemIcon:"perkListItemIcon-2B4aA2",hasPerkIcon:"hasPerkIcon-JJ5Ezo",classicPerkGrid:"classicPerkGrid-2izruP"}},7393:function(e,t,o){e.exports={applicationStore:"applicationStore-1pNvnv",navigation:"navigation-1d6CXm",marketingHeader:"marketingHeader-2Iq7qk",marketingFooter:"marketingFooter-1ZdZyI"}},7394:function(e,t,o){e.exports={height24:"height24-3XzeJx",size16:"size16-14cGz5",marginBottom20:"marginBottom20-32qID7",marginTop8:"marginTop8-1DLZ1n",marginTop20:"marginTop20-3TxNs6",marginTop4:"marginTop4-2BNfKC",marginReset:"marginReset-236NPn",channelName:"channelName-1SzRNb",username:"username-34pxWC",item:"item-30Gz8g marginBottom20-32qID7",itemValue:"itemValue-JNy0LV height24-3XzeJx",valueIcon:"valueIcon-2LbNu6",title:"title-3CR76z marginReset-236NPn size16-14cGz5 height24-3XzeJx",graph:"graph-2xSPwT marginTop4-2BNfKC",divider:"divider-3kJiJM marginTop20-3TxNs6",videoWrapper:"videoWrapper-3XDj-F",allowSelection:"allowSelection-uK1q4t",channelItem:"channelItem-36SV7x",avatar:"avatar-1eTZ8m",videoPreview:"videoPreview-22khDR"}},7395:function(e,t,o){e.exports={elevationHigh:"elevationHigh-3A9Xbf",slider:"slider-1PF9SW",mini:"mini-dmm9yo",bar:"bar-2Qqk5Z",grabber:"grabber-3mFHz2",disabled:"disabled-bolDAc",input:"input-2_ChIk",barFill:"barFill-23-gu-",track:"track-11EASc",mark:"mark-1xjQqt",markAbove:"markAbove-2I4brk",markBelow:"markBelow-6DH75T",markValue:"markValue-2DwdXI",markDash:"markDash-3hAolZ",markDashSimple:"markDashSimple-1vLOGW markDash-3hAolZ",defaultValue:"defaultValue-3gC7yw"}},7396:function(e,t,o){e.exports={emojiSize:"64px",headerContainer:"headerContainer-3-vFuY",simpleHeaderContainer:"simpleHeaderContainer-af-IOe",helpdeskLink:"helpdeskLink-1OuOa1",header:"header-B-DcDj",ratingBody:"ratingBody-2p2rH4",footer:"footer-2Bb21C",emojis:"emojis-3mSQwp",problemInfo:"problemInfo-1qfNLW",emoji:"emoji-1N-wHh",selected:"selected-2jwLHq",emojiSad:"emojiSad-1iG7c0 emoji-1N-wHh",emojiNeutral:"emojiNeutral-1AAukj emoji-1N-wHh",emojiHappy:"emojiHappy-1umapU emoji-1N-wHh",hidden:"hidden-36kfaz"}},7397:function(e,t,o){e.exports={arrow:"arrow-gKvcEx",open:"open-2d6eoT"}},7398:function(e,t,o){e.exports={listWrapper:"listWrapper-21hRUc",listHeight:"listHeight-3jP-vC",listItems:"listItems-1uJgMC",scroller:"scroller-3gAZLs"}},7399:function(e,t,o){e.exports={borderRadius:"16px",live:"live-vBWnV6",liveShapeRound:"liveShapeRound-32u79-",liveShapeRoundLeft:"liveShapeRoundLeft-Fg3Fev",liveShapeRoundRight:"liveShapeRoundRight-19jrQx",grey:"grey-nh6urR",liveLarge:"liveLarge-3zs2Zq",liveSmall:"liveSmall-1dy2uA"}},7400:function(e,t,o){e.exports={modal:"modal-3V9_NJ",content:"content-3NxBPP",formItem:"formItem-1uQUh2",modalHeader:"modalHeader-1Iiw1t",messageFormItem:"messageFormItem-3WBJ0C",message:"message-7J476I",successModal:"successModal-3oCWTh",successModalContent:"successModalContent-3t8pDQ",successModalText:"successModalText-iyKCHJ",footer:"footer-sQAWBJ",description:"description-sydWb2",descriptionError:"descriptionError-3gGZHy"}},7401:function(e,t,o){e.exports={controlIcon:"controlIcon-35oS15",active:"active-1QRrIS",themeable:"themeable-3cPzCs",colorable:"colorable-1bkp8v",red:"red-33-Lnk",centerIcon:"centerIcon-2G6o-T",primaryDark:"primaryDark-3mSFDl",primaryLight:"primaryLight-1_NQ7Q",activeLight:"activeLight-Z2aUHx",white:"white-3GPOIp",green:"green-plH-Mj",centerButton:"centerButton-3CaNcJ colorable-1bkp8v",contextMenuContainer:"contextMenuContainer-2HlOMK",unmasked:"unmasked-35qKj5",lineHeightReset:"lineHeightReset-3dQm1W",staticButton:"staticButton-1B0rfQ",contextMenuNub:"contextMenuNub-3yOOYo colorable-1bkp8v",contextMenuCaret:"contextMenuCaret-3tjo32",open:"open-1aCwl_"}},7402:function(e,t,o){e.exports={borderRadius:"8px",wrapper:"wrapper-3BZGuR",ringing:"ringing-1VKjFq","outgoing-call-pulse":"outgoing-call-pulse-3okVYE",ripple:"ripple-3OwEZ-",ripple0:"ripple0-1oHfER",ripple1:"ripple1-1tjFOe",ripple2:"ripple2-jei8DL",tile:"tile-2gi3tr",idle:"idle-U-LIlZ",noInteraction:"noInteraction-2pbsEq",tileChild:"tileChild-31WXi8",border:"border-3dQmSY",speaking:"speaking-WDn8Wm",noBorder:"noBorder-i2e48Y",videoLayer:"videoLayer-3hTtOT",overlay:"overlay-1YJlCn",overlayTitle:"overlayTitle-8IcS01",overlayTitleText:"overlayTitleText-2mmQzi",titleIcon:"titleIcon-2eloVh",statusContainer:"statusContainer-1gtabC",status:"status-254fhp",interactive:"interactive-3JkJV4",content:"content-2Sfaij",streamPreview:"streamPreview-3YL8OQ",streamPreviewOpacity:"streamPreviewOpacity-1IYx2z",indicators:"indicators-3zIm5K",selectedScreen:"selectedScreen-3aLLjg",toggleMute:"toggleMute-1HX2aa",hidden:"hidden-3rERt0",selectedIcon:"selectedIcon-1Ihli9",localMuteStrikethrough:"localMuteStrikethrough-2BNLRk",liveIndicator:"liveIndicator-3aBbkJ",addStreamIcon:"addStreamIcon-3NjJEC",addCTA:"addCTA-372N3j",absoluteFill:"absoluteFill-145S64",videoWrapper:"videoWrapper-2v09vt",blocked:"blocked-1Hjnsy",blockedIcon:"blockedIcon-1l6uje",blockedAvatar:"blockedAvatar-eQvJSd"}},7403:function(e,t,o){e.exports={emptyStateContainer:"emptyStateContainer-2HsLQm",peopleList:"peopleList-3c4jOR"}},7404:function(e,t,o){e.exports={minCardWidth:"248px",gutterSize:"16px",pageContainer:"pageContainer-1x6lGh",scroller:"scroller-1m6Rtg",cardsContainer:"cardsContainer-1FCJbh",spinner:"spinner-eESxPG"}},7405:function(e,t,o){e.exports={desaturateUserColors:"desaturateUserColors-1gar-1",iconWrapper:"iconWrapper-L3hQuc",icon:"icon-3kbkI0",subtitle:"subtitle-1pSyEh",threadCreatorName:"threadCreatorName-2hRnz- desaturateUserColors-1gar-1",autoArchiveDuration:"autoArchiveDuration-3TU5Qi",textDivider:"textDivider-2fG1vS"}},7406:function(e,t,o){e.exports={membersWrap:"membersWrap-2h-GB4",members:"members-1998pB",membersGroup:"membersGroup-v9BXpm",hiddenMembers:"hiddenMembers-2dcs_q",hiddenText:"hiddenText-1XVQBb",memberGroupsPlaceholder:"memberGroupsPlaceholder-3mwPub",placeholderPulse:"placeholderPulse-2rZrru",addMembersButton:"addMembersButton-1eG9YC",addMembersIcon:"addMembersIcon-1Bz_VS"}},7410:function(e,t,o){e.exports={verifyConnectedAccount:"verifyConnectedAccount-3WFmtE",logos:"logos-pt9vV6",logosDivider:"logosDivider-2K41nn",logo:"logo-TOCUPc",logoDiscord:"logoDiscord-3MZDXD",message:"message-bWw5KR",error:"error-2hdVlS",btn:"btn-3HQv6W",spinnerItem:"spinnerItem-3hBt_K"}},7411:function(e,t,o){e.exports={container:"container-2XeR5Z",inner:"inner-3ErfOT",disabled:"disabled-jLAJq8",input:"input-1Rv96N",tag:"tag-2gHSR7",small:"small-1lPjda",medium:"medium-2-DE5M",large:"large-3dt_qC",richTag:"richTag-1rBBz8",richTagInput:"richTagInput-1GjAv7",tagLabel:"tagLabel-1Kxtxb",tagRoleColor:"tagRoleColor-3ieGvq",close:"close-3WVtCL",iconLayout:"iconLayout-1WxHy4",iconContainer:"iconContainer-O4O2CN",icon:"icon-3cZ1F_",visible:"visible-3V0mGj",clear:"clear-1pMieT"}},7412:function(e,t,o){e.exports={flex:"flex-1O1GKY",alignCenter:"alignCenter-1dQNNs",justifyCenter:"justifyCenter-3D2jYp",justifyBetween:"justifyBetween-2tTqYu",wrapper:"wrapper-21YAQM",header:"header-LyxrPy",closeButton:"closeButton-O0hkB2",resultWrapper:"resultWrapper-2g7r2D flex-1O1GKY alignCenter-1dQNNs justifyBetween-2tTqYu",resultWrapperSelected:"resultWrapperSelected-3v78W2",result:"result-2XuU55 flex-1O1GKY alignCenter-1dQNNs",resultAvatar:"resultAvatar-2lJWaG",resultIcon:"resultIcon-9dYGgv resultAvatar-2lJWaG flex-1O1GKY alignCenter-1dQNNs justifyCenter-3D2jYp",resultIconBackground:"resultIconBackground-ar9sVF",resultText:"resultText-LZCb11",resultUsername:"resultUsername-1oWpSm",resultCategoryName:"resultCategoryName-Heu4ue",resultGuildName:"resultGuildName-1dxVR3",inviteButton:"inviteButton-MGrg8b",results:"results-3TZ2t8",noResults:"noResults-3LFG4E results-3TZ2t8"}},7413:function(e,t,o){e.exports={header:"header-1Ijz4R",channelPrompt:"channelPrompt-1kjOz3",closeButton:"closeButton-miMLYp",guildName:"guildName-1kMlYi",title:"title-z3hreh",subtitle:"subtitle-2942Dz",skipButton:"skipButton-U0dQ2q"}},7414:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",container:"container-UC8Ug1",icon:"icon-QM5383 desaturate-qhyunI",text:"text-1FOLJS",arrow:"arrow-hynWUl"}},7415:function(e,t,o){e.exports={header:"header-1BLHoL",closeButton:"closeButton-_onk93",title:"title-LqAd9K",subtitle:"subtitle-1Q3BuX",optionsList:"optionsList-3UMAjx",backButton:"backButton-iA7KIs",skip:"skip-2o6MGG"}},7416:function(e,t,o){e.exports={premiumPromo:"premiumPromo-3oM7cT",content:"content-P4SiGI",navArrow:"navArrow-3Q9QPC"}},7417:function(e,t,o){e.exports={modalContent:"modalContent-nFuWe-",editingContainer:"editingContainer-1iOrsV",editingContainerAvatar:"editingContainerAvatar-HyS-Vl editingContainer-1iOrsV",editingContainerBanner:"editingContainerBanner-OAHy-i editingContainer-1iOrsV",image:"image-1O4VR4",icon:"icon-1BtL8T",overlay:"overlay-qP93Id",overlayAvatar:"overlayAvatar-1voNS7 overlay-qP93Id",overlayBanner:"overlayBanner-394JZU overlay-qP93Id",sliderContainer:"sliderContainer-2Pbe0z",cancelButton:"cancelButton-2NwKof",modalFooter:"modalFooter-37WjOa"}},7418:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",iconContainer:"iconContainer-2B0ixr desaturate-qhyunI",filledIcon:"filledIcon-2eb7eA"}},7419:function(e,t,o){e.exports={textArea:"textArea-1Lj-Ns",resizeable:"resizeable-3Dlqvo",inputMaxLength:"inputMaxLength-1vRluy",flex:"flex-2mWL14",maxLength:"maxLength-39QFBo"}},7420:function(e,t,o){e.exports={header:"header-3msK0M",closeButton:"closeButton-9dkb_x",templatesList:"templatesList-2E6rTe",title:"title-3w8xhj",subtitle:"subtitle-Nw1LLR",optionHeader:"optionHeader-1-5lcp",footer:"footer-1NnaNd",footerTitle:"footerTitle-2CYZch",footerButton:"footerButton-ayFTfX"}},7421:function(e,t,o){e.exports={header:"header-1Xr5FO",title:"title-XLSR78",closeButton:"closeButton-1RFOLl",inputForm:"inputForm-N3LGqy",formTitle:"formTitle-aeXUoN",error:"error-kfqhb1",input:"input--jS-j2",inputInner:"inputInner-2akrSS",examplesForm:"examplesForm-1PzAn-",sampleLink:"sampleLink-2NLvZg",footer:"footer-2ZvXOl"}},7422:function(e,t,o){e.exports={container:"container-1CE3eW"}},7423:function(e,t,o){e.exports={root:"root-2IyrUe",option:"option-3Ztn6N",text:"text-NjYDzs",caret:"caret-3iKYZt"}},7424:function(e,t,o){e.exports={title:"title-3mEw9k"}},7425:function(e,t,o){e.exports={container:"container-2Am3nq",topImage:"topImage-21TjbH",centerText:"centerText-1GnYII",header:"header-nHeIDA",descriptionWidth:"descriptionWidth-3TYcxW"}},7426:function(e,t,o){e.exports={container:"container-3V5LK-",iconContainer:"iconContainer-2B3yaa",icon:"icon-dSKtfO",header:"header-C3p2t_",description:"description-2OKNsO"}},7427:function(e,t,o){e.exports={modalRoot:"modalRoot-3UDJBg",sidebarContainer:"sidebarContainer-7fi3LO",contentContainer:"contentContainer-rv69OF",modalContent:"modalContent-VNy92y",container:"container-1cnaJh",closeButton:"closeButton-ryIVwg"}},7428:function(e,t,o){e.exports={overflow:"overflow-WK9Ogt"}},7429:function(e,t,o){e.exports={gifTag:"gifTag-31zFY8"}},7430:function(e,t,o){e.exports={flexCenter:"flexCenter-3_1bcw flex-1O1GKY justifyCenter-3D2jYp alignCenter-1dQNNs",imageWrapper:"imageWrapper-2p5ogY",imageWrapperBackground:"imageWrapperBackground-E_M6Nu",imageWrapperInner:"imageWrapperInner-3_dNk0 flexCenter-3_1bcw flex-1O1GKY justifyCenter-3D2jYp alignCenter-1dQNNs",imageError:"imageError-2OefUi",imagePlaceholder:"imagePlaceholder-1AxUV5",imagePlaceholderOverlay:"imagePlaceholderOverlay-ETNjpn imagePlaceholder-1AxUV5",imageAccessory:"imageAccessory-3uSIjZ",imageZoom:"imageZoom-1n-ADA",clickable:"clickable-3Ya1ho"}},7431:function(e,t,o){e.exports={wrapper:"wrapper-2K4Z3k",downloadLink:"downloadLink-1ywL9o"}},7432:function(e,t,o){e.exports={modal:"modal-qgFCbT",image:"image-1tIMwV"}},7433:function(e,t,o){e.exports={mediaBarInteraction:"mediaBarInteraction-37i2O4",mediaBarInteractionDragging:"mediaBarInteractionDragging-2QurIZ",mediaBarWrapper:"mediaBarWrapper-3D7r67 fakeEdges-27pgtp",bubble:"bubble-3qRl2J",mediaBarGrabber:"mediaBarGrabber-1FqnbN",mediaBarPreview:"mediaBarPreview-1jfyFs fakeEdges-27pgtp",mediaBarInteractionVolume:"mediaBarInteractionVolume-3QZqYd",vertical:"vertical-1gJnJQ",horizontal:"horizontal-3Sq5iO",fakeEdges:"fakeEdges-27pgtp",buffer:"buffer-26XPkd fakeEdges-27pgtp",mediaBarWrapperVolume:"mediaBarWrapperVolume-354-jo",mediaBarProgress:"mediaBarProgress-1xaPtl fakeEdges-27pgtp"}},7434:function(e,t,o){e.exports={wrapper:"wrapper-129saQ",wrapperHasPlayText:"wrapperHasPlayText-24Ab80",iconWrapper:"iconWrapper-21idzA",disableInteractions:"disableInteractions-31GcUw",iconWrapperActive:"iconWrapperActive-12kkfE iconWrapper-21idzA",iconWrapperHasPlayText:"iconWrapperHasPlayText-ksGr18",text:"text-pPnELr",icon:"icon-3ZFEtL",iconPlay:"iconPlay-2kgvwV icon-3ZFEtL",iconExternal:"iconExternal-NKMKxg icon-3ZFEtL",iconExternalMargins:"iconExternalMargins-2v2mzg icon-3ZFEtL"}},7435:function(e,t,o){e.exports={vertical:"vertical-V37hAW flex-1O1GKY directionColumn-35P_nr",alignCenter:"alignCenter-1dQNNs",justifyEnd:"justifyEnd-2E6vba",volumeButton:"volumeButton-2XwKVs vertical-V37hAW flex-1O1GKY directionColumn-35P_nr alignCenter-1dQNNs justifyEnd-2E6vba",volumeButtonSlider:"volumeButtonSlider-3U2qy1",sliderVisible:"sliderVisible-2GQ2wC"}},7436:function(e,t,o){e.exports={wrapper:"wrapper-2TxpI8",wrapperAudio:"wrapperAudio-1jDe0Q wrapper-2TxpI8",wrapperControlsHidden:"wrapperControlsHidden-35Gtol wrapper-2TxpI8",wrapperPaused:"wrapperPaused-19pWuK wrapper-2TxpI8",wrapperPlaying:"wrapperPlaying-1pXOW5 wrapper-2TxpI8",videoControls:"videoControls-2kcYic",audioControls:"audioControls-2HsaU6",controlIcon:"controlIcon-3cRbti",volumeSliderWrapper:"volumeSliderWrapper-1A8mUw",durationTimeWrapper:"durationTimeWrapper-OugPFt",durationTimeDisplay:"durationTimeDisplay-jww5fr",durationTimeSeparator:"durationTimeSeparator-2_xpJ7",video:"video-8eMOth",audio:"audio-2-PNle",audioMetadata:"audioMetadata-3zOuGv",metadataContent:"metadataContent-3c_ZXw",metadataDownload:"metadataDownload-1fk90V",metadataIcon:"metadataIcon-2FyCKU",metadataSize:"metadataSize-2UOOLK",metadata:"metadata-13NcHb",metadataName:"metadataName-14STf-",playCenter:"playCenter-Fe8u3X flexCenter-3_1bcw flex-1O1GKY justifyCenter-3D2jYp alignCenter-1dQNNs",playPausePop:"playPausePop-RnpJoM",playPausePopIcon:"playPausePopIcon-p-D8VH"}},7437:function(e,t,o){e.exports={combobox:"combobox-3V1oCd",list:"list-1xE9GQ",item:"item-2J2GlB",focused:"focused-dKLoQt",itemLabel:"itemLabel-38pPIt",itemCheckbox:"itemCheckbox-x25t6M",empty:"empty-1tY4oL",disabled:"disabled-w6MDKJ",selected:"selected-2114Fj",selectedBrand:"selectedBrand-1UKrSX"}},7438:function(e,t,o){e.exports={spinner:"spinner-2vhCyH",container:"container-1pMiXm",textContainer:"textContainer-C0szpm",codeView:"codeView-1JPDeA",expanded:"expanded-2itZLW",footer:"footer-2yA7Ep",toggleExpandSection:"toggleExpandSection-3WJYqa",openFullPreviewSection:"openFullPreviewSection-DZS30W",footerGap:"footerGap-Dnjvue",downloadSection:"downloadSection-3DLWUO",attachmentName:"attachmentName-1iFwvb",formattedSize:"formattedSize-2PXVec",downloadButton:"downloadButton-3RfpkU",languageSelector:"languageSelector-2LVJrh",codeIcon:"codeIcon-3YZylx",modalRoot:"modalRoot-2o6FJT",modalContent:"modalContent-3XArPg",modalTextContainer:"modalTextContainer-ITvzbi"}},7439:function(e,t,o){e.exports={popoutContentWidth:"256px",popoutPaddingWidth:"16px",popoutContainerWidth:"calc(256px + (2 * 16px))",barBase:"barBase-1c2Rfb",barButtonBase:"barButtonBase-2uLO1z",barButtonIcon:"barButtonIcon-3t4V3d",jumpToPresentBar:"jumpToPresentBar-G1R9s6 barBase-1c2Rfb",spinner:"spinner-1AwyAQ",spinnerItem:"spinnerItem-2swXFm",messagesErrorBar:"messagesErrorBar-nyJGU7 barBase-1c2Rfb",newMessagesBar:"newMessagesBar-265mhP barBase-1c2Rfb",barButtonMain:"barButtonMain-3K-jeJ barButtonBase-2uLO1z",span:"span-1mKrMp",barButtonAlt:"barButtonAlt-mYL1lj barButtonBase-2uLO1z",loadingMore:"loadingMore-FEpq89",hasMore:"hasMore-3POVhk",messageGroupBlocked:"messageGroupBlocked-2lRk_V",messageGroupBlockedBtn:"messageGroupBlockedBtn-2PRkNr",revealed:"revealed-3K53gX",tooltip:"tooltip-ocNES0",clickCTA:"clickCTA-2B6Kbs",popoutContainer:"popoutContainer-1MXdqN",popoutLoadingBackground:"popoutLoadingBackground-1dkDdT",popoutLoadingForeground:"popoutLoadingForeground-2mZT61","popout-loading":"popout-loading-3ETohm",divider:"divider-1zpjU3",dividerRed:"dividerRed-258GgF",dividerContent:"dividerContent-178VBO",disableInteractions:"disableInteractions-z9ck59"}},7440:function(e,t,o){e.exports={emojiContainer:"emojiContainer-3X8SvE"}},7441:function(e,t,o){e.exports={wrapper:"wrapper-3WhCwL"}},7442:function(e,t,o){},7443:function(e,t,o){e.exports={multiplePlaceholder:"multiplePlaceholder-M9zbu6",placeholder:"placeholder-3KRNN9",placeholderPulse:"placeholderPulse-34GVGw",mulitplePlaceholderUsername:"mulitplePlaceholderUsername-pogq9I",placeholderUsername:"placeholderUsername-2B_OA9",avatarSmall:"avatarSmall-2ZCvxB",avatarLarge:"avatarLarge-29Rv8a",placeholderAvatar:"placeholderAvatar-damqh6",avatarMasked:"avatarMasked-RmBa_y"}},7444:function(e,t,o){e.exports={container:"container-2Pjhx-",muted:"muted-3mU76i",avatar:"avatar-3uk_u9",clickable:"clickable-1JJAn8",highlighted:"highlighted-1gWxXa",selected:"selected-aXhQR6",layout:"layout-2DM8Md",wrappedLayout:"wrappedLayout-3DR7Pk",content:"content-3QAtGj",name:"name-uJV0GL",wrappedName:"wrappedName-26qVtL",nameAndDecorators:"nameAndDecorators-5FJ2dg",subText:"subText-1KtqkB",children:"children-gzQq2t"}},7445:function(e,t,o){e.exports={icon:"icon-15YQ1T",emoji:"emoji-2cWBLE",textRuler:"textRuler-wO-qHe"}},7446:function(e,t,o){e.exports={desaturateUserColors:"desaturateUserColors-1gar-1",member:"member-3-YXUe",offline:"offline-3nJYBR",icon:"icon-1A2_vz",ownerIcon:"ownerIcon-2NH9FM icon-1A2_vz",lostPermission:"lostPermission-2pphCL",premiumIcon:"premiumIcon-1rDbWQ icon-1A2_vz",placeholder:"placeholder-3X_lzF member-3-YXUe",botTag:"botTag-3W9SuW",roleColor:"roleColor-rz2vM0 desaturateUserColors-1gar-1",activity:"activity-2Gy-9S",activityText:"activityText-yGKsKm",activityEmoji:"activityEmoji-2GDGtF"}},7447:function(e,t,o){e.exports={image:"image-3wFWIj marginTop20-3TxNs6 marginBottom40-2vIwTv",text:"text-ojZtuK marginBottom20-32qID7"}},7448:function(e,t,o){e.exports={avatarUploader:"avatarUploader-3XDtmn",removeButton:"removeButton-1hcZyG",sizeInfo:"sizeInfo-SKMPPw",disabled:"disabled-10u2on",avatarUploaderInner:"avatarUploaderInner-3UNxY3",fileInput:"fileInput-23-d-3",avatarUploaderAcronym:"avatarUploaderAcronym-3SioMc",avatarUploaderHint:"avatarUploaderHint-3SN212",avatarUploaderIndicator:"avatarUploaderIndicator-2G-aIZ"}},7449:function(e,t,o){e.exports={base:"base-PmTxvP",baseShapeRound:"baseShapeRound-1Mm1YW",baseShapeRoundLeft:"baseShapeRoundLeft-ym85l3",baseShapeRoundRight:"baseShapeRoundRight-1962en",numberBadge:"numberBadge-2s8kKX base-PmTxvP",textBadge:"textBadge-1iylP6 base-PmTxvP",iconBadge:"iconBadge-2NuvG9 base-PmTxvP",icon:"icon-3s6X1M"}},7450:function(e,t,o){e.exports={card:"card-m0Fl9n",identityDescription:"identityDescription-by1_3Z",itemGroup:"itemGroup-37-G3x",perServerAvatarTitle:"perServerAvatarTitle-3nNgfk itemGroup-37-G3x",modalContent:"modalContent-zY2PZi",reset:"reset-2Ufv5M",avatarError:"avatarError-1eHxQO",nickError:"nickError-1fUYT4",warning:"warning-sQ81MX",upsellCard:"upsellCard-11CKVn",upsellIcon:"upsellIcon-34KLLB",upsellText:"upsellText-gVxQL0",betaBadge:"betaBadge-X2p2Ie",avatarUploader:"avatarUploader-1Y-wly",avatarUploaderInner:"avatarUploaderInner-KkYu-S",disabled:"disabled-1uvjrp",serverAvatarPremiumIcon:"serverAvatarPremiumIcon-3asqFR"}},7451:function(e,t,o){e.exports={newBadge:"newBadge-34a1Fs"}},7452:function(e,t,o){e.exports={description:"description-3BvR20",input:"input-2suNrw",reset:"reset-2IwrbI"}},7453:function(e,t,o){e.exports={banner:"banner-2QYc2d",bannerOverlay:"bannerOverlay-1uIerX",pencilIcon:"pencilIcon-XSi-VE",bannerPremium:"bannerPremium-2hSAwz",popoutBanner:"popoutBanner-19WKGg",popoutBannerPremium:"popoutBannerPremium-1n96gg bannerPremium-2hSAwz",profileBanner:"profileBanner-33-uE1",profileBannerPremium:"profileBannerPremium-35utuo bannerPremium-2hSAwz",settingsBanner:"settingsBanner-15-pZk bannerPremium-2hSAwz",bannerOverlayPopout:"bannerOverlayPopout-1clJ34 bannerOverlay-1uIerX",bannerOverlayProfile:"bannerOverlayProfile-31VOgt bannerOverlay-1uIerX",bannerOverlayHidden:"bannerOverlayHidden-3SxVWg",premiumIconWrapper:"premiumIconWrapper-1A-UH5",premiumIcon:"premiumIcon-2EjK1H",reducedMotion:"reducedMotion-3H6P8E",gifTag:"gifTag-kA7fXf",clickable:"clickable-j92RzV"}},7454:function(e,t,o){e.exports={container:"container-3XJ8ns",list:"list-1MFD7e"}},7455:function(e,t,o){e.exports={flex:"flex-1O1GKY",alignCenter:"alignCenter-1dQNNs",justifyCenter:"justifyCenter-3D2jYp",wrap:"wrap-ZIn9Iy",desaturateUserColors:"desaturateUserColors-1gar-1",root:"root-3-B5F3 flex-1O1GKY wrap-ZIn9Iy",role:"role-2irmRk flex-1O1GKY alignCenter-1dQNNs desaturateUserColors-1gar-1",roleCircle:"roleCircle-3xAZ1j flex-1O1GKY alignCenter-1dQNNs justifyCenter-3D2jYp",roleRemoveIcon:"roleRemoveIcon-2-TeGW",roleRemoveIconFocused:"roleRemoveIconFocused-2ynLxl",roleName:"roleName-32vpEy",actionButton:"actionButton-VzECiy role-2irmRk flex-1O1GKY alignCenter-1dQNNs desaturateUserColors-1gar-1 justifyCenter-3D2jYp",overflowButton:"overflowButton-1SCpCf actionButton-VzECiy role-2irmRk flex-1O1GKY alignCenter-1dQNNs desaturateUserColors-1gar-1 justifyCenter-3D2jYp",addButton:"addButton-pcyyf6 actionButton-VzECiy role-2irmRk flex-1O1GKY alignCenter-1dQNNs desaturateUserColors-1gar-1 justifyCenter-3D2jYp",addButtonIcon:"addButtonIcon-1NMJ8u",overflowRolesPopout:"overflowRolesPopout-140n9i",overflowRolesPopoutArrowWrapper:"overflowRolesPopoutArrowWrapper-2Dx30g",overflowRolesPopoutArrow:"overflowRolesPopoutArrow-2O66oH",popoutBottom:"popoutBottom-2BJWty",popoutTop:"popoutTop-1WcJ06",overflowRolesPopoutHeader:"overflowRolesPopoutHeader-ciqDLE",popoutRoleDot:"popoutRoleDot-1XPcoA",overflowRolesPopoutHeaderIcon:"overflowRolesPopoutHeaderIcon-6PNEZA",overflowRolesPopoutHeaderText:"overflowRolesPopoutHeaderText-1SW-y3"}},7456:function(e,t,o){e.exports={textarea:"textarea-2r0oV8 inputDefault-_djjkz input-cIJ7To"}},7457:function(e,t,o){e.exports={size12:"size12-3R0845",height12:"height12-2Ltw-k",text:"text-AOoUen size12-3R0845 height12-2Ltw-k",textLeft:"textLeft-3EZXG6 text-AOoUen size12-3R0845 height12-2Ltw-k",textRight:"textRight-1XO5Ye text-AOoUen size12-3R0845 height12-2Ltw-k",bar:"bar-3urHkF",barInner:"barInner-3NDaY_",themed:"themed-2aMyTM"}},7458:function(e,t,o){e.exports={noUserDrag:"noUserDrag-5Mb43F",marginBottom8:"marginBottom8-AtZOdT",flex:"flex-1O1GKY",alignCenter:"alignCenter-1dQNNs",alignStart:"alignStart-H-X2h-",ellipsis:"ellipsis-1XUmPN",headerText:"headerText-1HLrL7 flex-1O1GKY",headerTextNormal:"headerTextNormal-2mGWX3 headerText-1HLrL7 flex-1O1GKY marginBottom8-AtZOdT",headerTextEmptyBody:"headerTextEmptyBody-1kb9TT headerText-1HLrL7 flex-1O1GKY",body:"body-ZAhrcj flex-1O1GKY",bodyAlignCenter:"bodyAlignCenter-1KzvJk body-ZAhrcj flex-1O1GKY alignCenter-1dQNNs",bodyNormal:"bodyNormal-2D39hT body-ZAhrcj flex-1O1GKY alignCenter-1dQNNs",assets:"assets-VMAukC",xboxAssets:"xboxAssets-aGhVw8 assets-VMAukC",assetsLargeMaskStreamPreview:"assetsLargeMaskStreamPreview-2V7xlA",assetsLargeMaskUserPopout:"assetsLargeMaskUserPopout-12EBBc",assetsLargeMaskVoiceChannel:"assetsLargeMaskVoiceChannel-2k1oGM",assetsLargeMaskActivityFeed:"assetsLargeMaskActivityFeed-3eznI9",assetsLargeMaskProfile:"assetsLargeMaskProfile-1Qkfen",assetsProfile:"assetsProfile-1qp_pu assets-VMAukC",assetsLargeImage:"assetsLargeImage-eYwpTX noUserDrag-5Mb43F",assetsLargeImageStreamPreview:"assetsLargeImageStreamPreview-1A9lfF assetsLargeImage-eYwpTX noUserDrag-5Mb43F",assetsLargeImageUserPopout:"assetsLargeImageUserPopout-3Pp8BK assetsLargeImage-eYwpTX noUserDrag-5Mb43F",assetsLargeImageUserPopoutXbox:"assetsLargeImageUserPopoutXbox-2hgKt0 assetsLargeImage-eYwpTX noUserDrag-5Mb43F",assetsLargeImageActivityFeed:"assetsLargeImageActivityFeed-25vA7H assetsLargeImage-eYwpTX noUserDrag-5Mb43F",assetsLargeImageActivityFeedXbox:"assetsLargeImageActivityFeedXbox-3Tr-tf assetsLargeImage-eYwpTX noUserDrag-5Mb43F",assetsLargeImageProfile:"assetsLargeImageProfile-3YXDex assetsLargeImage-eYwpTX noUserDrag-5Mb43F",assetsLargeImageVoiceChannel:"assetsLargeImageVoiceChannel-dGmxCi assetsLargeImage-eYwpTX noUserDrag-5Mb43F",assetsLargeImageActivityFeedTwitch:"assetsLargeImageActivityFeedTwitch-35IZuj assetsLargeImage-eYwpTX noUserDrag-5Mb43F",assetsLargeImageProfileXbox:"assetsLargeImageProfileXbox-1t6G2m assetsLargeImage-eYwpTX noUserDrag-5Mb43F",assetsLargeImageProfileTwitch:"assetsLargeImageProfileTwitch-298r77 assetsLargeImage-eYwpTX noUserDrag-5Mb43F",assetsSmallImage:"assetsSmallImage-3_3Bzj noUserDrag-5Mb43F",assetsSmallImageStreamPreview:"assetsSmallImageStreamPreview-1Sdyfc assetsSmallImage-3_3Bzj noUserDrag-5Mb43F",assetsSmallImageUserPopout:"assetsSmallImageUserPopout-2yc71g assetsSmallImage-3_3Bzj noUserDrag-5Mb43F",assetsSmallImageVoiceChannel:"assetsSmallImageVoiceChannel-19SIVn assetsSmallImage-3_3Bzj noUserDrag-5Mb43F",assetsSmallImageActivityFeed:"assetsSmallImageActivityFeed-2LNxrO assetsSmallImage-3_3Bzj noUserDrag-5Mb43F",assetsSmallImageProfile:"assetsSmallImageProfile-3JcsV1 assetsSmallImage-3_3Bzj noUserDrag-5Mb43F",gameIcon:"gameIcon-_0rmMm",screenshareIcon:"screenshareIcon-Bnlgnp",content:"content-3JfFJh",contentImagesStreamPreview:"contentImagesStreamPreview-19sAie content-3JfFJh",contentImagesUserPopout:"contentImagesUserPopout-1vLdRA content-3JfFJh",contentImagesVoiceChannel:"contentImagesVoiceChannel-1LLEDQ content-3JfFJh",contentImagesActivityFeed:"contentImagesActivityFeed-2f9veg content-3JfFJh",contentImagesProfile:"contentImagesProfile-1Mz07W content-3JfFJh",contentNoImagesProfile:"contentNoImagesProfile-371_Rv content-3JfFJh content-3JfFJh",contentNoImagesStreamPreview:"contentNoImagesStreamPreview-3JDPTV content-3JfFJh",contentNoImagesUserPopout:"contentNoImagesUserPopout-PCCPyZ content-3JfFJh",contentNoImagesVoiceChannel:"contentNoImagesVoiceChannel-2C-iFg content-3JfFJh",contentNoImagesActivityFeed:"contentNoImagesActivityFeed-FEn3nf content-3JfFJh",contentGameImageStreamPreview:"contentGameImageStreamPreview-3FGJd1 content-3JfFJh",contentGameImageUserPopout:"contentGameImageUserPopout-2KWIsz content-3JfFJh",contentGameImageVoiceChannel:"contentGameImageVoiceChannel-3-m1X_ content-3JfFJh",contentGameImageProfile:"contentGameImageProfile-WTVbI0 content-3JfFJh",textRow:"textRow-19NEd_",details:"details-38sfDr ellipsis-1XUmPN textRow-19NEd_",nameNormal:"nameNormal-2lqVQK ellipsis-1XUmPN textRow-19NEd_",playTime:"playTime-2uWd1Z ellipsis-1XUmPN textRow-19NEd_",state:"state-Tt0LO3 ellipsis-1XUmPN textRow-19NEd_",timestamp:"timestamp-VjAZmo ellipsis-1XUmPN textRow-19NEd_",detailsWrap:"detailsWrap-22pigg textRow-19NEd_",nameWrap:"nameWrap-3Z4G_9 textRow-19NEd_",activityActivityFeed:"activityActivityFeed-3xysim",name:"name-29ETJS",timeBarUserPopout:"timeBarUserPopout-AWPFf2",timeBarActivityFeed:"timeBarActivityFeed-24_oBt",timeBarProfile:"timeBarProfile-10b-fm",timeBarVoiceChannel:"timeBarVoiceChannel-1toAIF",activityName:"activityName-1IaRLn",bodyLink:"bodyLink-3A8Buv activityName-1IaRLn",twitchImageContainer:"twitchImageContainer-hVw_dv",twitchImageOverlay:"twitchImageOverlay-CXCd19",twitchBackgroundImage:"twitchBackgroundImage-3iXCea",streamUsername:"streamUsername-eO7oss",streamName:"streamName-1q4JEo",streamGame:"streamGame-2odMhn",activityVoiceChannel:"activityVoiceChannel-OPU-Fm",spotifyIcon:"spotifyIcon-2J9kSv",activityStreamPreview:"activityStreamPreview-3r3GiX",activityProfile:"activityProfile-2bJRaP",activityUserPopout:"activityUserPopout-2yItg2"}},7459:function(e,t,o){e.exports={button:"button-2Yen-x",popout:"popout-3h7_tF"}},7460:function(e,t,o){e.exports={streamIcon:"streamIcon-2zxjAa",iconButton:"iconButton-2sWFo9",iconButtonSize:"iconButtonSize-1gzEUL",iconSize:"iconSize-2WDpUJ"}},7461:function(e,t,o){e.exports={xboxButtonLogo:"xboxButtonLogo-1udUda"}},7462:function(e,t,o){e.exports={buttonsWrapper:"buttonsWrapper-2spIeK",horizontal:"horizontal-3fI3M-",vertical:"vertical-3w1v88"}},7463:function(e,t,o){e.exports={marginTop8:"marginTop8-1DLZ1n",actionsStreamPreview:"actionsStreamPreview-2lARcx",actionsProfile:"actionsProfile-jEtjVX",actionsActivityFeed:"actionsActivityFeed-1S7uWl marginTop8-1DLZ1n",errorImage:"errorImage-149OVL",cannotLaunchImage:"cannotLaunchImage-2h36Tb errorImage-149OVL"}},7464:function(e,t,o){e.exports={bodyInnerWrapper:"bodyInnerWrapper-26fQXj",activity:"activity-2INFPu",rolesList:"rolesList-1geHY1",bodyTitle:"bodyTitle-1ySSKn",note:"note-1oo11U"}},7465:function(e,t,o){e.exports={contentWarningPopout:"contentWarningPopout-n5JsIs",header:"header-2NYWtG",body:"body-3PNusm",animation:"animation-1Bst4H",buttonWrapper:"buttonWrapper-wJ7IoA",buttonContainer:"buttonContainer-3Jazu9",button:"button-2RbP7U",buttonHint:"buttonHint-OwCvKC",content:"content-dmqHNi",footer:"footer-3N9rgh",icon:"icon-2RSfUw"}},7466:function(e,t,o){e.exports={input:"input-2_SIlA"}},7467:function(e,t,o){e.exports={footer:"footer-3UKYOU",wumpusWrapper:"wumpusWrapper-2H_Ezt",wumpus:"wumpus-2_mWxc",wumpusShown:"wumpusShown-1_Tw0E",wumpusTooltip:"wumpusTooltip-3V90tI",wumpusImage:"wumpusImage-aCUd8O"}},7468:function(e,t,o){e.exports={nameTag:"nameTag-m8r81H",username:"username-2b1r56",bot:"bot-2Fta1w"}},7469:function(e,t,o){e.exports={emoji:"emoji-kdONqz"}},7470:function(e,t,o){e.exports={clamped:"clamped-IwJfxR"}},7471:function(e,t,o){e.exports={gridGap:"2px",desaturate:"desaturate-qhyunI",container:"container-q03LZO",clickable:"clickable-17BDii",profileBadge:"profileBadge-2niAfJ desaturate-qhyunI",profileBadge24:"profileBadge24-179Xm3 profileBadge-2niAfJ desaturate-qhyunI",profileBadge22:"profileBadge22-LJmn9o profileBadge-2niAfJ desaturate-qhyunI",profileBadge18:"profileBadge18-NVHzY4 profileBadge-2niAfJ desaturate-qhyunI"}},7472:function(e,t,o){e.exports={nickname:"nickname-3M3Jfa",headerTag:"headerTag-3GFl76",headerTagWithNickname:"headerTagWithNickname-3l_x6x headerTag-3GFl76",headerTagNoNickname:"headerTagNoNickname-3qrd77 headerTag-3GFl76",headerTagUsernameBase:"headerTagUsernameBase-1NqrY5",headerTagUsernameNoNickname:"headerTagUsernameNoNickname-2-Y5Ct headerTagUsernameBase-1NqrY5",discrimBase:"discrimBase-24vY8o",headerTagDiscriminatorNoNickname:"headerTagDiscriminatorNoNickname-D-AYUN discrimBase-24vY8o",headerBotTag:"headerBotTag-qNEsTk",headerBotTagWithNickname:"headerBotTagWithNickname-3pd2GF",customStatus:"customStatus-oN4ZZY",customStatusEmoji:"customStatusEmoji-3a2-Zo",customStatusSoloEmoji:"customStatusSoloEmoji-1tDhmL",customStatusText:"customStatusText-1vtUsN",aboutMeSection:"aboutMeSection-1Fw5Ia",aboutMeBody:"aboutMeBody-3GuvKk",aboutMeTitle:"aboutMeTitle-1IYtPE",betaBadge:"betaBadge-1Xznh1",headerTop:"headerTop-3vNv-a",headerTopWithCustomStatus:"headerTopWithCustomStatus-1DHAjX",profileBadges:"profileBadges-ohc0Vu",headerText:"headerText-1vVs-U",avatarHint:"avatarHint-2A3RNb",avatarHintInner:"avatarHintInner-1TvA8u",avatar:"avatar-37jOim",avatarWrapper:"avatarWrapper-3r9PdD",avatarWrapperNormal:"avatarWrapperNormal-26WQIb avatarWrapper-3r9PdD",clickable:"clickable-1rcWFe",avatarWrapperNonUserBot:"avatarWrapperNonUserBot-3fzpUZ avatarWrapper-3r9PdD",avatarPositionNormal:"avatarPositionNormal-aZjAsn",avatarPositionPremium:"avatarPositionPremium-3We5Ho",divider:"divider-ewBQKj"}},7473:function(e,t,o){e.exports={userPopout:"userPopout-xaxa6l",headerNormal:"headerNormal-3KXFBt",body:"body-3HBlXn",divider:"divider-3NUv48",baseAvatar:"baseAvatar-3Nvk7n",largeAvatar:"largeAvatar-zB5Yn- baseAvatar-3Nvk7n",miniAvatar:"miniAvatar-2CIVlE baseAvatar-3Nvk7n",setIdentityLink:"setIdentityLink-1t8Ahd",scrollerSeparator:"scrollerSeparator-3K3Qdv"}},7474:function(e,t,o){e.exports={spacing:"spacing-2jY1b4 marginBottom20-32qID7"}},7475:function(e,t,o){e.exports={spacing:"spacing-2IUlSR marginBottom20-32qID7"}},7476:function(e,t,o){e.exports={mask:"mask-2xtthE",icon:"icon-3Rn_DX"}},7477:function(e,t,o){e.exports={icon:"icon-2VCx8O",wrapper:"wrapper-2siovq",selected:"selected-3xBBKs"}},7478:function(e,t,o){e.exports={wrapper:"wrapper-3N9-Kx",loadingWrapper:"loadingWrapper-3MIWTZ wrapper-3N9-Kx",disabled:"disabled-2IGvcl",focused:"focused-oQNxjC",icon:"icon-1UBnv_"}},7479:function(e,t,o){e.exports={list:"list-23PQQ_"}},7480:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",roleRow:"roleRow-1iQo_1",roleDot:"roleDot-2bTP_S desaturate-qhyunI"}},7481:function(e,t,o){e.exports={sliderContainer:"sliderContainer-2Nrll8",slider:"slider-2zxowp"}},7482:function(e,t,o){e.exports={container:"container-2ax-kl"}},7483:function(e,t,o){e.exports={wrapper:"wrapper-2NZy0S",icon:"icon-xnhh2x",errorIcon:"errorIcon-1gpCtD"}},7484:function(e,t,o){e.exports={tile:"tile-2OwFgW",tileHorizontal:"tileHorizontal-3eee4N",title:"title-1rUb9I",tagline:"tagline-2nvxi0",actions:"actions-3p06E9",media:"media-gfq_4j",mediaHorizontal:"mediaHorizontal-2Poqtq",description:"description-1RsfgZ"}},7485:function(e,t,o){e.exports={embedHorizontal:"embedHorizontal-WknQ2-",embedVertical:"embedVertical-W5-T0m",loadingDescription:"loadingDescription-2Me56S",loadingBackgroundWrapper:"loadingBackgroundWrapper-3FpTMQ",loadingBackgroundWrapperHorizontal:"loadingBackgroundWrapperHorizontal-1ajnAO",loadingImage:"loadingImage-2ouGtu",loadingImageHorizontal:"loadingImageHorizontal-QAjd6U",loadingBackground:"loadingBackground-3sVOML",loading:"loading-3l7Cr9"}},7486:function(e,t,o){e.exports={header:"header-1Kydsy",backSplash:"backSplash-13_XJL",content:"content-1tt1e0",body:"body-32BEO-",closeButton:"closeButton-2b6skY"}},7487:function(e,t,o){e.exports={expressionPickerListSectionHeadingHeight:"32px",wrapper:"wrapper-1-Fsb8",header:"header-19cWci",interactive:"interactive-BzuinF",headerIcon:"headerIcon-1qrXTN",headerLabel:"headerLabel-3dG4M-",headerCollapseIcon:"headerCollapseIcon-ymwSPR",headerCollapseIconCollapsed:"headerCollapseIconCollapsed-3fap1D"}},7488:function(e,t,o){e.exports={option:"option-1B5ZV8",inline:"inline-3vqbcF",set:"set-2Zx-DA",error:"error-1NcCbc",active:"active-2awTSY",clickable:"clickable-198KJD"}},7489:function(e,t,o){e.exports={wrapper:"wrapper-2IKwZK",image:"image-2oOaF4",infoWrapper:"infoWrapper-3ekLP_",source:"source-3DBj4z",usageWrapper:"usageWrapper-UN_ki6",description:"description-QP9Ktn",title:"title-38hYfV",option:"option-2lkyZ_",error:"error-2_oAXi",optionalHeader:"optionalHeader-mLQoIx",disabled:"disabled-2hyQpT"}},7490:function(e,t,o){e.exports={upsell:"upsell-3e4pPH",emojis:"emojis-_Nl1cp",emojiMask:"emojiMask-ezvvQD",emojiBackground:"emojiBackground-2vOvXo",emoji:"emoji-1KOonD"}},7491:function(e,t,o){e.exports={wrapper:"wrapper-2Gsate",list:"list-donH_Z"}},7492:function(e,t,o){e.exports={wrapper:"wrapper-uf3cnO",list:"list-A0BHjR",section:"section-Kprrfe",builtInSeparator:"builtInSeparator-1ku6s5"}},7493:function(e,t,o){e.exports={wrapper:"wrapper-VQ4BER",infoWrapper:"infoWrapper-1Sn7AX",usageWrapper:"usageWrapper-3ZU-NG",image:"image-7ErNqd",description:"description-1dU8lv",source:"source-10b1ZU"}},7494:function(e,t,o){e.exports={outerWrapper:"outerWrapper-3-llkA",wrapper:"wrapper-1CvDB0",list:"list-17lzo8",rail:"rail-2CbP6L",content:"content-kh0LTw",categoryHeader:"categoryHeader-O1zU94",categorySection:"categorySection-231RiR",categorySectionLast:"categorySectionLast-2PPrHj",itemWrapper:"itemWrapper-14KrHY"}},7495:function(e,t,o){e.exports={stickersHeaderWithEmojiResults:"stickersHeaderWithEmojiResults-31W8SI",emojiStickersDivider:"emojiStickersDivider-1274av"}},7496:function(e,t,o){e.exports={spinner:"spinner-1n7zxB"}},7497:function(e,t,o){e.exports={scrollbarGhostHairline:"scrollbarGhostHairline-1mSOM1 scrollbar-3dvm_9",autocomplete:"autocomplete-OOX59Q",autocompleteInner:"autocompleteInner-2mQ2AK",scroller:"scroller-lynW5A",horizontalAutocompletes:"horizontalAutocompletes-2Au_7M scrollbarGhostHairline-1mSOM1 scrollbar-3dvm_9",horizontalAutocomplete:"horizontalAutocomplete-2eOPOM",stickerAutoComplete:"stickerAutoComplete-8m0OB5",sticker:"sticker-r2nFri",autocompleteLayer:"autocompleteLayer-3dCCbQ"}},7498:function(e,t,o){e.exports={container:"container-3Fb-hU",column:"column-33vdru",gif:"gif-J69mz8",categoryLoader:"categoryLoader-1UbzZM"}},7499:function(e,t,o){e.exports={wrapper:"wrapper-1GJGVj",sadImage:"sadImage-2ph8SI",forceLightTheme:"forceLightTheme-1nVhlT"}},7500:function(e,t,o){e.exports={size:"size-3rN-gI",gifFavoriteButton:"gifFavoriteButton-3Zycl7",selected:"selected-1mBDsA",showPulse:"showPulse-1P_rPG",ripple:"ripple-N7-maz",icon:"icon-38TLpf",bounce:"bounce-3G6o78"}},7501:function(e,t,o){e.exports={desiredItemWidth:"160px",results:"results-3i9FaE",result:"result-3w1ZcL",favButton:"favButton-_fxLew",focused:"focused-1En8bG",gif:"gif-1TcNIB",endContainer:"endContainer-1ZDW8j",endText:"endText-3SrwuD",searchSuggestions:"searchSuggestions-1ztAmy",searchSuggestion:"searchSuggestion-2K8OBX",noResults:"noResults-PCM0-U",spinnerContainer:"spinnerContainer-1jOqer",emptyHints:"emptyHints-1EYR-5",emptyHint:"emptyHint-2ZHXNQ",emptyHintCard:"emptyHintCard-2mUdMe",emptyHintSpacer:"emptyHintSpacer-XKHTzr",emptyHintText:"emptyHintText-1QDF9N",emptyHintFavorite:"emptyHintFavorite-3Bf6b2",placeholder:"placeholder-1kJjXI",loadIN:"loadIN-3GZ05S"}},7502:function(e,t,o){e.exports={container:"container-2jxBbw",categoryFade:"categoryFade-2ybR1J",categoryFadeBlurple:"categoryFadeBlurple-1j72_A",categoryText:"categoryText-2-8pri",categoryIcon:"categoryIcon-21RREB",categoryName:"categoryName-UvMsNp",spinnerContainer:"spinnerContainer-2MJ3GP",formatSelectors:"formatSelectors-3aBz_F"}},7503:function(e,t,o){e.exports={gutterSize:"0 16px 12px 16px",container:"container-3ISnnM",content:"content-ySCtCx",searchBar:"searchBar--fTZYa",header:"header-1TOWci",searchHeader:"searchHeader-2r8VVk",backButton:"backButton-JyKGC1"}},7504:function(e,t,o){e.exports={container:"container-23E4rK",icon:"icon-1tDorc",size24:"size24-1HlGux",avatarContainer:"avatarContainer-3CQrif",avatarContainerMasked:"avatarContainerMasked-PIJ-3L",clickableAvatar:"clickableAvatar-1wQpeh",emptyUser:"emptyUser-7txhlW",size16:"size16-NOVQSt",avatar:"avatar-3bWpYy",moreUsers:"moreUsers-7v8yWY"}},7505:function(e,t,o){e.exports={iconSize:"20px",row:"row-1c01mR",rowGuildName:"rowGuildName-2wU3B_",rowIcon:"rowIcon-1VZqx4",activityIcon:"activityIcon-E-aeJm rowIcon-1VZqx4",stageListenerPill:"stageListenerPill-1RXT2G",stageListenerCount:"stageListenerCount-2tWHfF",guildNameText:"guildNameText-3Zwx4p",viewAsRolesWarning:"viewAsRolesWarning-20LpeB",guildNameTextLimitedSize:"guildNameTextLimitedSize-1C5cx8",muteText:"muteText-gutGxh",muteTextWithActivity:"muteTextWithActivity-3B8C-B"}},7506:function(e,t,o){e.exports={guildIcon:"guildIcon-3h-1IH",mask:"mask-2hO5M8",guildAcronym:"guildAcronym-3B7DuT",guildIconWithoutImage:"guildIconWithoutImage-2JZx6N"}},7507:function(e,t,o){e.exports={unicodeCategoryIconSize:"24px",unicodeCategoryIconPadding:"4px",unicodeCategoryIconMarginVertical:"2px",unicodeCategoryShortcutHeight:"48px",guildCategoryIconSize:"32px",guildCategoryIconMarginVerical:"8px",categorySeparatorSize:"1px",categorySeparatorMarginVertical:"12px",categoryItem:"categoryItem-1D0nxC",categoryItemGuildCategory:"categoryItemGuildCategory-3MisqI categoryItem-1D0nxC",categoryItemDefaultCategory:"categoryItemDefaultCategory-aBZ6nJ categoryItem-1D0nxC",categoryIcon:"categoryIcon-1SvUHG",categoryItemRecentEmoji:"categoryItemRecentEmoji-IRN6zY",categoryItemDefaultCategorySelected:"categoryItemDefaultCategorySelected-_HCKoz",guildCategorySeparator:"guildCategorySeparator-_An-MP",unicodeShortcut:"unicodeShortcut-15J8Ck",unicodeShortcutInvisible:"unicodeShortcutInvisible-2TqXrS",hideUnicodeShortcut:"hideUnicodeShortcut-Sl4Qnw"}},7508:function(e,t,o){e.exports={diversityEmojiSize:"24px",emojiContainerPaddingVertical:"4px",emojiContainerPaddingHorizontal:"4px",diversitySelectorButton:"diversitySelectorButton-3IE08D",diversitySelectorOptions:"diversitySelectorOptions-4YM-vX",diversitySelectorOptionsInExpressionPicker:"diversitySelectorOptionsInExpressionPicker-T8-itY",diversityEmojiItem:"diversityEmojiItem-L6_IXw",diversityEmojiItemImage:"diversityEmojiItemImage-2gPNoS"}},7509:function(e,t,o){e.exports={expressionPickerInspectorBarHeight:"48px",expressionPickerInspectorBarGraphicPrimaryDimensions:"28px",expressionPickerInspectorBarGraphicSecondaryDimensions:"32px",inspector:"inspector-S2gM3e",graphicPrimary:"graphicPrimary-1I8l6r",graphicSecondary:"graphicSecondary-1zo8ze",textWrapper:"textWrapper-2hGAqu",titlePrimary:"titlePrimary-1jHRGm",titleSecondary:"titleSecondary-3Dh_RZ",favorite:"favorite-2Om6aP"}},7510:function(e,t,o){e.exports={emoji:"emoji-AAbs8r",glyphEmoji:"glyphEmoji-2Nc7lq emoji-AAbs8r"}},7511:function(e,t,o){e.exports={upsell:"upsell-xFI_Q0",premiumIcon:"premiumIcon-tkp5dR",body:"body-2__YKo"}},7512:function(e,t,o){e.exports={image:"image-1CmAz0",imageLoading:"imageLoading-bpSr0M"}},7513:function(e,t,o){e.exports={emojiSpriteImage:"emojiSpriteImage-TcJnG8"}},7514:function(e,t,o){e.exports={emojiSizeLarge:"48px",emojiSizeMedium:"32px",emojiContainerPaddingHorizontal:"4px",emojiContainerPaddingVertical:"4px",emojiListRow:"emojiListRow-m_GHp0",emojiListRowLargeSize:"emojiListRowLargeSize-3QTDek",emojiListRowMediumSize:"emojiListRowMediumSize-M_K7-z",emojiItem:"emojiItem-14v6tW",emojiItemSelected:"emojiItemSelected-1aLkfV",showPulse:"showPulse-nkOA_h",ripple:"ripple-2PE2Cc",emojiItemLarge:"emojiItemLarge-sa0X3P",emojiItemMedium:"emojiItemMedium-_WAwGB",emojiItemDisabled:"emojiItemDisabled-1FvFuF"}},7515:function(e,t,o){e.exports={emojiSectionMarginBottom:"12px",emojiPremiumUpsellMarginTop:"16px",emojiPremiumUpsellHeight:"54px",listWrapper:"listWrapper-3kgtQ0",list:"list-6NCENv",noSearchResultsContainer:"noSearchResultsContainer-7llQ5J",categorySection:"categorySection-2sgp74",categorySectionCollapsed:"categorySectionCollapsed-2-lBe9",categorySectionLast:"categorySectionLast-2ToEwI",header:"header-ywPcAE",premiumUpsell:"premiumUpsell-2vHaVa"}},7516:function(e,t,o){e.exports={emojiSize:"undefined",premiumRetentionNotice:"premiumRetentionNotice-1MsjHe",premiumRetentionNoticeIcon:"premiumRetentionNoticeIcon-sESfky",premiumRetentionNoticeClose:"premiumRetentionNoticeClose-2zkMmj",premiumRetentionNoticeContent:"premiumRetentionNoticeContent-2m003l"}},7517:function(e,t,o){e.exports={premiumPromo:"premiumPromo-fVlLu-",premiumPromoClose:"premiumPromoClose-1w65km",premiumPromoImage:"premiumPromoImage-2wS9zo",premiumPromoTitle:"premiumPromoTitle-2cKOQe",premiumPromoDescription:"premiumPromoDescription-QWky-t"}},7518:function(e,t,o){e.exports={hidden:"hidden-vu5JrP"}},7519:function(e,t,o){e.exports={wrapper:"wrapper-3Qz0Jk",heroImage:"heroImage-ZfsNee",closeButton:"closeButton-3XbOTT",heading:"heading-2u9L55",perks:"perks-4HPHN7",icon:"icon-YquWci",iconColorLightBlue:"iconColorLightBlue-2DehaC icon-YquWci",iconColorGreen:"iconColorGreen-1M-tXq icon-YquWci",iconColorOrange:"iconColorOrange-2QDAwl icon-YquWci",iconColorYellow:"iconColorYellow-1s_Bv3 icon-YquWci",iconColorPink:"iconColorPink-3j7p1M icon-YquWci",iconColorPurple:"iconColorPurple-2SKo10 icon-YquWci",iconColorDarkBlue:"iconColorDarkBlue-cmUd_u icon-YquWci",iconColorBlue:"iconColorBlue-29w-bn icon-YquWci",footer:"footer-3wUBpy"}},7520:function(e,t,o){e.exports={unownedStickerLockContainer:"unownedStickerLockContainer-1awnDf",unownedStickerLockIcon:"unownedStickerLockIcon-3vTNpx"}},7521:function(e,t,o){e.exports={stickerPickerPreviewDimensions:"96px",stickerPickerPreviewMargin:"12px",stickerPickerPreviewPadding:"2px",stickerPickerPreviewBorderRadius:"4px",row:"row-2psonc",sticker:"sticker-2cpdZp",inspectedIndicator:"inspectedIndicator-59EII8",stickerInspected:"stickerInspected-2EM4w-",stickerPlaceholder:"stickerPlaceholder-Upqhje sticker-2cpdZp",viewAll:"viewAll-2RLt-n sticker-2cpdZp",viewAllButton:"viewAllButton-I9GJG2 inspectedIndicator-59EII8",viewAllInspected:"viewAllInspected-FsmJHj",stickerNode:"stickerNode-20m2uy",stickerNodeDimmed:"stickerNodeDimmed-3nFXMx",stickerNodeHidden:"stickerNodeHidden-3kXD_k",stickerUnsendable:"stickerUnsendable-2q_h2B"}},7522:function(e,t,o){e.exports={stickersShopListSectionHeadingHeight:"66px",header:"header-1jwfHp",title:"title-1R2vOK",heading:"heading-3FTJUH",count:"count-ZZL8Ce",monospace:"monospace-2wHjP3",features:"features-3yHAt3",featuresTooltip:"featuresTooltip-3r0QiF",feature:"feature-3kpTdS",featureFlushRight:"featureFlushRight-2-VxWs",featureText:"featureText-169iUC feature-3kpTdS",featureTextIcon:"featureTextIcon-6keZHX",featureIcon:"featureIcon-2pfUYw feature-3kpTdS",newTag:"newTag-38ErDv",timerIcon:"timerIcon-3FpAHP",description:"description-zTR9jp"}},7523:function(e,t,o){e.exports={headerWithImage:"headerWithImage-3o0-0O",backgroundImage:"backgroundImage-1fVfmz",closeButton:"closeButton-2Oed-N",footer:"footer-2oNIlz",footerEnd:"footerEnd-1KDgyA",skuPreviewFooterCloseButton:"skuPreviewFooterCloseButton-1GsfiB",header:"header-2VKTUL",container:"container-K9goMo",containerWithHeader:"containerWithHeader-3tnp74",premiumButtonNitroWheel:"premiumButtonNitroWheel-28RTr5",premiumButtonInner:"premiumButtonInner-qFZiFk"}},7524:function(e,t,o){e.exports={stickerCategoryListPadding:"8px",stickerCategoryIconMargin:"8px",stickerCategoryIconSize:"32px",categorySeparatorMarginVertical:"12px",categorySeparatorSize:"1px",categoryList:"categoryList-xW5xXr",categoryListWithoutSearch:"categoryListWithoutSearch-2D0q0Q categoryList-xW5xXr",categoryListWithSearch:"categoryListWithSearch-1wO0cJ categoryList-xW5xXr",stickerCategory:"stickerCategory-3Yz7vN",premiumCategory:"premiumCategory-2Kk8IQ",premiumCategorySelected:"premiumCategorySelected-23oFPJ",stickerCategoryRecentSelected:"stickerCategoryRecentSelected-2gbLs2",stickerCategoryRecent:"stickerCategoryRecent-1WVWrj",stickerCategoryRecentDisabled:"stickerCategoryRecentDisabled-5KTYkf",stickerCategoryRecentIcon:"stickerCategoryRecentIcon-16VgYU",stickerPackThumbnail:"stickerPackThumbnail-2yNuP6",guildCategorySeparator:"guildCategorySeparator-3IdPnM",standardStickerShortcut:"standardStickerShortcut-3iRT0y",invisibleShortcut:"invisibleShortcut-3ZMcFJ"}},7525:function(e,t,o){e.exports={premiumButtonNitroWheel:"premiumButtonNitroWheel-1VQbBx",premiumButtonInner:"premiumButtonInner-2iZ72U",premiumButton:"premiumButton-2FO5cR"}},7526:function(e,t,o){e.exports={emptyState:"emptyState-39XDT6",header:"header-WclrWC",subtitle:"subtitle-oTdNF-",stickersRow:"stickersRow-22csIr",sticker:"sticker-2Ef6Nj"}},7527:function(e,t,o){e.exports={stickersListDividerHeight:"30px",stickerPickerPreviewMargin:"12px",stickersShopDividerBorderTopWidth:"1px",stickersShopDividerHeight:"1px",stickerPickerTipMarginSearchResults:"undefined",wrapper:"wrapper-OxgYJ1",footerActions:"footerActions-3KYPyJ",packHeader:"packHeader-NLJ7S5",packHeaderShopWrapper:"packHeaderShopWrapper-2OtJtX",packHeaderShop:"packHeaderShop-1qN3eZ",packHeaderShopActions:"packHeaderShopActions-pPMTPj",sticker:"sticker-3HpuRA",divider:"divider-1OSL6X",shopDivider:"shopDivider-sT2XLN",tipWithSearch:"tipWithSearch-1ZG0iW",searchSuggestions:"searchSuggestions-FrCvef",searchSuggestion:"searchSuggestion-rlq9uJ"}},7528:function(e,t,o){e.exports={wrapper:"wrapper-3ir_7D"}},7529:function(e,t,o){e.exports={upsellWrapper:"upsellWrapper-1utsSD",upsellBackground:"upsellBackground-2Nr3j7",upsellContent:"upsellContent-3fiGMr",upsellImage:"upsellImage-1uV3MA",upsellTitle:"upsellTitle-CuDEpB",upsellDescription:"upsellDescription-2Un0aB",upsellClose:"upsellClose-3WlWDF"}},7530:function(e,t,o){e.exports={wrapper:"wrapper-2iFQJ9",header:"header-2k4I2o",loadingIndicator:"loadingIndicator-2ZWpbk",listWrapper:"listWrapper-hig339",emptyState:"emptyState-XDa1Wg"}},7531:function(e,t,o){e.exports={positionLayer:"positionLayer-1KzSAt",positionContainer:"positionContainer-DEuh7X",positionContainerOnlyEmoji:"positionContainerOnlyEmoji--VzZ6D",drawerSizingWrapper:"drawerSizingWrapper-17Mss4",contentWrapper:"contentWrapper-SvZHNd",nav:"nav-7UD0KD",navList:"navList-2UtuhC",navItem:"navItem-3Wp_oJ",navButton:"navButton-2gQCx-",navButtonActive:"navButtonActive-1MkytQ",resizeHandle:"resizeHandle-3NRr0z",introductionWrapper:"introductionWrapper-3JgYlK",introductionHeader:"introductionHeader-39IP1Z",introductionSubheader:"introductionSubheader-wYqfJl",introductionAction:"introductionAction-LbJO-v",introductionTooltip:"introductionTooltip-39ymCt",introductionTooltipContent:"introductionTooltipContent-2CVaCn",stickersNavItem:"stickersNavItem-g1SJ0f",stickersUnseenBadge:"stickersUnseenBadge-3f2c9o"}},7532:function(e,t,o){e.exports={containerPadding:"8px",stickerSuggestionSize:"48px",stickerSuggestionMargin:"8px",container:"container-JHR0NT",hidden:"hidden-1Pp_-F",containerBackground:"containerBackground-LlUax5",bottomInformationTextContainer:"bottomInformationTextContainer-2lvA_a",textDivider:"textDivider-3RoZIQ",descriptionText:"descriptionText-1ZKuLr",stickerResults:"stickerResults-3HacYG",keybind:"keybind-25ROM8",suggestedExpression:"suggestedExpression-3HUIrd",mask:"mask-2VqFZB",suggestedExpressionFocused:"suggestedExpressionFocused-23LPyn",maskBackground:"maskBackground-3LR_np",unownedStickerLockIcon:"unownedStickerLockIcon-2GMbV9"}},7533:function(e,t,o){e.exports={userTooltip:"userTooltip-7qZaHD",avatar:"avatar-i5C_qp",discriminator:"discriminator-17tNDS",channelIcon:"channelIcon-kD4rFt",iconMention:"iconMention-1t7gB7"}},7534:function(e,t,o){e.exports={commandBlock:"commandBlock-38NGGm",pill:"pill-2pQByF",completePill:"completePill-1I5maV",optionKey:"optionKey-3jd4Vt",erroredPill:"erroredPill-3HF4Sc",tabButton:"tabButton-1n4gNP"}},7535:function(e,t,o){e.exports={slateContainer:"slateContainer-3Qkn2x",slateTextArea:"slateTextArea-1Mkdgw",placeholder:"placeholder-37qJjk"}},7536:function(e,t,o){e.exports={emojiButton:"emojiButton-3uL3Aw",emojiButtonHovered:"emojiButtonHovered-1rWNal emojiButton-3uL3Aw",emojiButtonNormal:"emojiButtonNormal-TdumYh emojiButton-3uL3Aw",sprite:"sprite-2iCowe"}},7537:function(e,t,o){e.exports={hoverScale:"calc(24 / 28)",buttonWrapper:"buttonWrapper-1ZmCpA",button:"button-3AYNKb",iconMask:"iconMask-2LbcOd",buttonContent:"buttonContent-4lhja2",icon:"icon-3D60ES",pulseIcon:"pulseIcon-2wem_X",pulseButton:"pulseButton-37U3Qe",notificationDot:"notificationDot-18QulZ",sparkleContainer:"sparkleContainer-1FObaU",sparkleStar:"sparkleStar-jXNPAp",sparklePlus:"sparklePlus-T4nasU",sparkle:"sparkle-326-jL",active:"active-23Nm0T"}},7538:function(e,t,o){e.exports={divider:"divider-JfaTT5",isUnread:"isUnread-3Ef-o9",hasContent:"hasContent-1cNJDh",unreadPill:"unreadPill-2HyYtt",unreadPillCap:"unreadPillCap-3_K2q2",unreadPillCapStroke:"unreadPillCapStroke-7rkHbg",content:"content-1o0f9g"}},7539:function(e,t,o){e.exports={stickerPreviews:"stickerPreviews-D1UghN",stickerPreviewContainer:"stickerPreviewContainer-3QyrFr",stickerPreview:"stickerPreview-9IJY2j",stickerPreviewDivider:"stickerPreviewDivider-2DeHm0",closeButton:"closeButton-1iLzZ3",closeIconContainer:"closeIconContainer-2y0XOe",closeIcon:"closeIcon-2--3zh"}},7540:function(e,t,o){e.exports={bar:"bar-m8LgSC"}},7541:function(e,t,o){e.exports={desaturateUserColors:"desaturateUserColors-1gar-1",clipContainer:"clipContainer-eeROt0",container:"container-2fRDfG",replyBar:"replyBar-1YLQ2F",threadSuggestionBar:"threadSuggestionBar-2ufK2Z",text:"text-15b_0l",replyLabel:"replyLabel-27F26o",name:"name-hpTFiv desaturateUserColors-1gar-1",actions:"actions-NlfMQc",mentionButton:"mentionButton-3710-W",mentionIcon:"mentionIcon-1UYeiz",separator:"separator-ju-9xl",closeButton:"closeButton-37O8QC",closeIcon:"closeIcon-HLoKft",createThreadButton:"createThreadButton-oQpjNC"}},7542:function(e,t,o){e.exports={root:"root-2GkXUO",premium:"premium-1XICKa"}},7543:function(e,t,o){e.exports={characterCount:"characterCount-1cRDo2",premiumFlair:"premiumFlair-ogSJ9V",flairContainer:"flairContainer-2Txy_E",upsell:"upsell-34F9Me",error:"error-1M5Do5"}},7544:function(e,t,o){e.exports={toolbar:"toolbar-2bjZV7",button:"button-qqmJ7w",divider:"divider-24xeUg",buttonInner:"buttonInner-3shTxu",icon:"icon-KgGMGo",inactive:"inactive-3i9Q2Q",active:"active-2HPddW",hover:"hover-28QbSq"}},7545:function(e,t,o){e.exports={splashBackground:"splashBackground-1zhLFw"}},7546:function(e,t,o){e.exports={applicationBuyButton:"applicationBuyButton-2ZS8jB",disabledButtonWrapper:"disabledButtonWrapper-oUVnwk",disabledButtonOverlay:"disabledButtonOverlay-1JKAkq",premiumIcon:"premiumIcon-3ocHPW"}},7547:function(e,t,o){e.exports={playButton:"playButton-1fMNjH",playButtonContents:"playButtonContents-1Ww4h5",disabledButtonWrapper:"disabledButtonWrapper-3sHPXz",disabledButtonOverlay:"disabledButtonOverlay-2A2OvN",disabledButtonColor:"disabledButtonColor-1aUKuC",buttonText:"buttonText-2DJbpf",dropdownArrowHitbox:"dropdownArrowHitbox-X74v7o",arrowSeparator:"arrowSeparator-26ZThQ",dropdownArrow:"dropdownArrow-QYl6LR"}},7548:function(e,t,o){e.exports={progress:"progress-2XXRYo",progressBar:"progressBar-3u8FBM",animating:"animating-3Qqqzp",xsmall:"xsmall-3czJwD",small:"small-1CUeBa",large:"large-3EPlRk",indeterminate:"indeterminate-1PKP2P",indeterminateBar1:"indeterminateBar1-1jjKl2 indeterminate-1PKP2P",indeterminate1:"indeterminate1-WkD31A",indeterminateBar2:"indeterminateBar2-2MEvKp indeterminate-1PKP2P",indeterminate2:"indeterminate2-hcYkmM"}},7549:function(e,t,o){e.exports={button:"button-1OsvDz",progress:"progress-GjyFoQ",disabledButtonWrapper:"disabledButtonWrapper-1EOaAy",disabledButtonOverlay:"disabledButtonOverlay-1vHgFK",disabledButtonColor:"disabledButtonColor-34LjTT"}},7550:function(e,t,o){e.exports={OSSection:"OSSection-27GaV2",purchaseUnitOperatingSystem:"purchaseUnitOperatingSystem-cnbJPz"}},7551:function(e,t,o){e.exports={tag:"tag-HanR-9",text:"text-1OO51R"}},7552:function(e,t,o){e.exports={tag:"tag-1mL0R5",text:"text-1bqXwz"}},7553:function(e,t,o){e.exports={centeringContainer:"centeringContainer-1ssgjB",titleContainer:"titleContainer-15sRy5 centeringContainer-1ssgjB",loadingContainer:"loadingContainer-138F59 centeringContainer-1ssgjB",slideshowWrapper:"slideshowWrapper-146cEe",spinner:"spinner-2okOH9",imageLoading:"imageLoading-3I2895",splash:"splash-3K76bN",splashPlaceholder:"splashPlaceholder-1ev-9c",muteContainer:"muteContainer-dXWpxM",muteContainerPlaying:"muteContainerPlaying-YRMEea",muteContainerMediaOverlay:"muteContainerMediaOverlay-DKYQOo",mute:"mute-3sDXC3",spinnerItem:"spinnerItem-3RXrSb"}},7554:function(e,t,o){e.exports={splashContainer:"splashContainer-2UflFm",splashContainerHorizontal:"splashContainerHorizontal-10fJqP",priceOs:"priceOs-WkGZC-",platform:"platform-3suY7a",exclusiveRegular:"exclusiveRegular-2w11vc",exclusivePlaying:"exclusivePlaying-1DynG8",splashPlaceholder:"splashPlaceholder-WP93xz",splashVideo:"splashVideo-2e4_JV",tileBuyButton:"tileBuyButton-2W4Mu-",tileBuyButtonVisible:"tileBuyButtonVisible-2QYmxC tileBuyButton-2W4Mu-",tilePrice:"tilePrice-dqknBb",tilePriceWithVisibleBuyButton:"tilePriceWithVisibleBuyButton-2-P17I tilePrice-dqknBb"}},7555:function(e,t,o){e.exports={tileActions:"tileActions-N7Ze1p",actionButton:"actionButton-Weawa8"}},7556:function(e,t,o){e.exports={metadata:"metadata-IJDhwB",libraryLink:"libraryLink-21lIRu",libraryIcon:"libraryIcon-17zyHD",invalidPoop:"invalidPoop-pnUbq7",invalidPoopHorizontal:"invalidPoopHorizontal-3Dfy7T"}},7557:function(e,t,o){e.exports={container:"container-2nXavw",bumpBox:"bumpBox-1r5p3c",icon:"icon-ek0zSM",publish:"publish-10uopb",tagline:"tagline-36at0H",hidePermanently:"hidePermanently-36wWty",closeIcon:"closeIcon-tEzaUY"}},7558:function(e,t,o){e.exports={userSelectNone:"userSelectNone-Iy6XEP",cursorDefault:"cursorDefault-331ZcI",wrapper:"wrapper-35wsBm userSelectNone-Iy6XEP cursorDefault-331ZcI",header:"header-2BTCnc",content:"content-2U5lSY",guildIcon:"guildIcon-lQ0uiM",applicationIcon:"applicationIcon-2SXfFQ",guildIconJoined:"guildIconJoined-1r7FRE guildIcon-lQ0uiM",guildIconImage:"guildIconImage-3qTk45 guildIcon-lQ0uiM",guildIconImageJoined:"guildIconImageJoined-SepVdI guildIconImage-3qTk45 guildIcon-lQ0uiM",inviteDestination:"inviteDestination-1fAcY7",inviteDestinationJoined:"inviteDestinationJoined-3W7Gue inviteDestination-1fAcY7",channel:"channel-2hXUOG",channelName:"channelName-3ZF3rq",channelIcon:"channelIcon-11pgiB",status:"status-2L8Zc7",statusOnline:"statusOnline-8PnF5L status-2L8Zc7",statusOffline:"statusOffline-37RKt7 status-2L8Zc7",count:"count-30T-5k",guildNameWrapper:"guildNameWrapper-1RQYer",guildName:"guildName-2hvnt_",guildBadge:"guildBadge-1w1qIy",guildInfo:"guildInfo-1STtYi",guildDetail:"guildDetail-1nRKNE",statusCounts:"statusCounts-2qk4EE",inviteSplash:"inviteSplash-19Jlo6",inviteSplashImage:"inviteSplashImage-O0wmIQ",inviteSplashImageLoaded:"inviteSplashImageLoaded-2ML87V",button:"button-3To2tQ height20-mO2eIN",buttonSize:"buttonSize-DbrWhv",guildIconExpired:"guildIconExpired-2Qcq05 guildIcon-lQ0uiM",inviteDestinationExpired:"inviteDestinationExpired-2_1Ava",buttonForNonMember:"buttonForNonMember-ZsTpwI",resolving:"resolving-1GhcbM",resolvingBackground:"resolvingBackground-351jK_","invite-button-resolving":"invite-button-resolving-366-1w"}},7559:function(e,t,o){e.exports={icon:"icon-3U3Ats",guidelines:"guidelines-1yD5nc",divider:"divider-2gQcba",previewSection:"previewSection-1h_5aj",channelsWrapper:"channelsWrapper-2HhUER",rolesWrapper:"rolesWrapper-2yOx9S",protip:"protip-cfNVNm",protipText:"protipText-2wXAoo",sectionHeader:"sectionHeader-1U00JR",channel:"channel-OaJouZ",category:"category-3W3XSi",channelIcon:"channelIcon-2s1R00",channelText:"channelText-7rGec8",role:"role-3paDXR",roleCircle:"roleCircle-3DE8xJ",roleName:"roleName-1JcOmP"}},7560:function(e,t,o){e.exports={modalContainer:"modalContainer-1jCQhD",modalSection:"modalSection-3QXz-E",ctaSection:"ctaSection-izWwhs",ctaContainer:"ctaContainer-2Jtgn2",formSection:"formSection-1NFAGI",formContainer:"formContainer-1VaglF",modalRoot:"modalRoot-LW89o7",modalFooter:"modalFooter-Xu2eIR",header:"header-2Yglm5"}},7561:function(e,t,o){e.exports={icon:"icon-26AID4"}},7562:function(e,t,o){e.exports={component:"component-1IAYeC"}},7563:function(e,t,o){e.exports={content:"content-2wNArO",loading:"loading-3n285V",textEmoji:"textEmoji-2Vv04G",launchIcon:"launchIcon-3n9VDY",hidden:"hidden-1gw_r7",label:"label-3aEGGA"}},7564:function(e,t,o){e.exports={container:"container-2JMhe1",select:"select-z0PgeK",selectOption:"selectOption-46tNpR",disabled:"disabled-2yRBrh",emoji:"emoji-2lCmvk",offset:"offset-2xmZwD",tag:"tag-1hplGn",labelContainer:"labelContainer-3UfOIp",label:"label-3fPy-x",description:"description-nveHXT",option:"option-19HP2B",value:"value-FbrxsN",singleValue:"singleValue-3OF6b1",indicator:"indicator-3ZLjUU",error:"error-36-C3t",errorIcon:"errorIcon-3sOp0o"}},7565:function(e,t,o){e.exports={container:"container-2xsjOj",children:"children-2goeSq",error:"error-2FxDDG"}},7566:function(e,t,o){e.exports={container:"container-1v9gV9"}},7567:function(e,t,o){e.exports={popoutPaddingWidth:"16px",popoutContent:"popoutContent-1rAJey",packName:"packName-1Cps_6",packDescription:"packDescription-3drkLS",stickersList:"stickersList-Q202uA",stickerWrapper:"stickerWrapper-16sTV0",packActions:"packActions-2i3SLO",premiumButtonNitroWheel:"premiumButtonNitroWheel-27R34z",premiumButtonInner:"premiumButtonInner-qFK5R7",premiumButton:"premiumButton-28hSN6",countdownIcon:"countdownIcon-B3jzQN",popoutLoader:"popoutLoader-2HV5kI",nonInteractingSticker:"nonInteractingSticker-2tXsnD"}},7568:function(e,t,o){e.exports={clickableSticker:"clickableSticker-3HmpgV",stickerName:"stickerName-37a8JB",stickerIcon:"stickerIcon-2Tdq9J"}},7569:function(e,t,o){e.exports={modalText:"modalText-3ayZPW"}},7570:function(e,t,o){e.exports={spine:"spine-5jbOmI",systemMessageSpine:"systemMessageSpine-3ZKfiO",cozy:"cozy-XCy5h_",container:"container-3hZ-gs",systemMessageContainer:"systemMessageContainer-2ddkN3",topLine:"topLine-1hV9bl",name:"name-1qtoQ5",cta:"cta-3MixHV",bottomLine:"bottomLine-2qB7L6",timestamp:"timestamp-1Kyoes",archivedText:"archivedText-120wQz",clock:"clock-3KKiOw"}},7571:function(e,t,o){e.exports={spoilerBlurRadius:"44px",embed:"embed-IeVjo6",embedFull:"embedFull-2tM8-- embed-IeVjo6",embedAuthorName:"embedAuthorName-3mnTWj",embedAuthorNameLink:"embedAuthorNameLink-1gVryT embedLink-1G1K1D embedAuthorName-3mnTWj",embedDescription:"embedDescription-1Cuq9a",embedFieldName:"embedFieldName-NFrena",embedFieldValue:"embedFieldValue-nELq2s",embedFooterText:"embedFooterText-28V_Wb",embedLink:"embedLink-1G1K1D",embedProvider:"embedProvider-3k5pfl",embedTitle:"embedTitle-3OXDkz",embedTitleLink:"embedTitleLink-1Zla9e embedLink-1G1K1D embedTitle-3OXDkz",grid:"grid-1nZz7S",hasThumbnail:"hasThumbnail-3FJf1w",embedMargin:"embedMargin-UO5XwE",embedSuppressButton:"embedSuppressButton-1FonMn",embedAuthor:"embedAuthor-3l5luH",embedAuthorIcon:"embedAuthorIcon--1zR3L",embedImage:"embedImage-2W1cML",embedThumbnail:"embedThumbnail-2Y84-K",embedVideo:"embedVideo-3nf0O9",embedGalleryImagesWrapper:"embedGalleryImagesWrapper-2Qn2vv",embedGallerySide:"embedGallerySide-1Hu9Bp",embedGalleryImageElement:"embedGalleryImageElement-3Vxxsp",centerContent:"centerContent-1dpMl0",embedVideoActions:"embedVideoActions-O6vR7W",embedVideoImageComponent:"embedVideoImageComponent-34z3di",embedVideoImageComponentInner:"embedVideoImageComponentInner-2Ujh_1",embedVideoAction:"embedVideoAction-2BIhKO",embedIframe:"embedIframe-2hcNY5",embedGIFTag:"embedGIFTag-n_mDqR",embedFooter:"embedFooter-3yVop-",embedFooterSeparator:"embedFooterSeparator-3klTIQ",embedFooterIcon:"embedFooterIcon-239O1f",embedFields:"embedFields-2IPs5Z",embedField:"embedField-1v-Pnh",embedMedia:"embedMedia-1guQoW",embedSpotify:"embedSpotify-tvxDCr",spoilerEmbed:"spoilerEmbed-1fzvzg",hiddenSpoiler:"hiddenSpoiler-3i0zpa",spoilerAttachment:"spoilerAttachment-1LrKiO"}},7572:function(e,t,o){e.exports={ephemeralMessage:"ephemeralMessage-1fEWtQ",icon:"icon-2ZUv7M"}},7573:function(e,t,o){e.exports={flex:"flex-1O1GKY",horizontal:"horizontal-2EEEnY flex-1O1GKY directionRow-3v3tfG",vertical:"vertical-V37hAW flex-1O1GKY directionColumn-35P_nr",alignCenter:"alignCenter-1dQNNs",alignEnd:"alignEnd-1D6PQi",size12:"size12-3R0845",size16:"size16-14cGz5",height16:"height16-2Lv3qA",attachment:"attachment-33OFj0 horizontal-2EEEnY flex-1O1GKY directionRow-3v3tfG alignCenter-1dQNNs",attachmentInner:"attachmentInner-3vEpKt",icon:"icon-1kp3fr",filenameWrapper:"filenameWrapper-1sY0qo flex-1O1GKY alignEnd-1D6PQi",filename:"filename-3eBB_v size16-14cGz5",metadata:"metadata-3WGS0M size12-3R0845 height16-2Lv3qA",rate:"rate-1kMjTj",progressContainer:"progressContainer-3ao-eu metadata-3WGS0M size12-3R0845 height16-2Lv3qA",progress:"progress-3Rbvu0",cancelButton:"cancelButton-3hVEV6",downloadButton:"downloadButton-23tKQp",size:"size-1Arx_I",downloadWrapper:"downloadWrapper-vhAtLx",filenameLinkWrapper:"filenameLinkWrapper-1-14c5",fileNameLink:"fileNameLink-9GuxCo"}},7574:function(e,t,o){e.exports={spoilerBlurRadius:"44px",inline:"inline-2bgipb",hiddenSpoilers:"hiddenSpoilers-1ksnR6",spoiler:"spoiler-1PPAUc",removeAttachmentButton:"removeAttachmentButton-2qVPxg",messageAttachment:"messageAttachment-1aDidq"}},7575:function(e,t,o){e.exports={learnMoreLink:"learnMoreLink-3H5-aT"}},7576:function(e,t,o){e.exports={separator:"separator-3ANTTx"}},7577:function(e,t,o){e.exports={flex:"flex-32dgJs",header:"header-3qymWa",embed:"embed-1cTuq4",listeners:"listeners-qGG-NC",live:"live-3pJRI7",speakers:"speakers-kEGflI",members:"members-1BI21N",speaker:"speaker-1HW9IK",label:"label-3jnO6p",background:"background-2vw-bh",icon:"icon-1kl4sN",guild:"guild-1H1MQY",guildInfo:"guildInfo-3bTId5",dot:"dot-38181A",alignStart:"alignStart-2FQjAH",avatar:"avatar-30KUrI",username:"username-3Lwvlv"}},7578:function(e,t,o){e.exports={flex:"flex-1O1GKY",alignCenter:"alignCenter-1dQNNs",container:"container-1qJFPO flex-1O1GKY alignCenter-1dQNNs",iconContainer:"iconContainer-1dtWOo",icon:"icon-2s94H-",foreground:"foreground-3bBkqt",avatar:"avatar-1j43gH",avatarSize:"avatarSize-EXG1Is",emptyUser:"emptyUser-3FRJaF",avatarMasked:"avatarMasked-3y6o4j avatar-1j43gH",moreUsers:"moreUsers-1s5Her"}},7579:function(e,t,o){e.exports={elevationLow:"elevationLow-2lY09M",marginTop8:"marginTop8-1DLZ1n",alignCenter:"alignCenter-1dQNNs",justifyCenter:"justifyCenter-3D2jYp",size12:"size12-3R0845",inFront:"inFront-1tn07g",invite:"invite-18yqGF",fullHeight:"fullHeight-24whqn",coverImageWrapper:"coverImageWrapper-22d5LB",coverImage:"coverImage-3cjWkd",coverImageActionable:"coverImageActionable-1TMryE coverImage-3cjWkd",blurred:"blurred-UUeCTs",coverImageNotActionable:"coverImageNotActionable-1MP2Mx coverImage-3cjWkd",artwork:"artwork-1vrmJ_",artworkActionable:"artworkActionable-10hKry artwork-1vrmJ_",artworkNotActionable:"artworkNotActionable-3519Nv artwork-1vrmJ_",artworkSpotifySessionEnded:"artworkSpotifySessionEnded-11d_If artwork-1vrmJ_",header:"header-Hg_qNF inFront-1tn07g",partyStatus:"partyStatus-6AjDud marginTop8-1DLZ1n inFront-1tn07g",actionAndParty:"actionAndParty-3DXneA",actionButton:"actionButton-1Vu3oO inFront-1tn07g",name:"name-GG2Mcs inFront-1tn07g",partyMembers:"partyMembers-fGLW2R",partyMember:"partyMember-2WUkBE inFront-1tn07g",partyMemberKnown:"partyMemberKnown-2QGebq partyMember-2WUkBE inFront-1tn07g",partyAvatar:"partyAvatar-34PPpo",partyMemberEmpty:"partyMemberEmpty-2iyh5g partyMember-2WUkBE inFront-1tn07g partyAvatar-34PPpo",moreUsers:"moreUsers-1sZP3U size12-3R0845 inFront-1tn07g",helpIcon:"helpIcon-2EyVTp alignCenter-1dQNNs justifyCenter-3D2jYp",details:"details-3NqflA",state:"state-2dqgON",textLink:"textLink-3aPthL"}},7580:function(e,t,o){e.exports={container:"container-o3RxSG"}},7581:function(e,t,o){e.exports={darkElevationLow:"darkElevationLow-2CR-wO",darkElevationHigh:"darkElevationHigh-3atPWj",darkElevationBorderLow:"darkElevationBorderLow-2_RpRZ",darkElevationBorderHigh:"darkElevationBorderHigh-eY3zE_",lightElevationLow:"lightElevationLow-336Ql0",lightElevationHigh:"lightElevationHigh-30hdii",lightElevationBorderLow:"lightElevationBorderLow-oPAJJ0",lightElevationBorderHigh:"lightElevationBorderHigh-1GVmu6",elevationLow:"elevationLow-126AxN",elevationHigh:"elevationHigh-1PneE4",elevationBorderLow:"elevationBorderLow-2H_Rsq",elevationBorderHigh:"elevationBorderHigh-2_BGCd",container:"container-2VW0UT elevationHigh-1PneE4",button:"button-1x2ahC",resetButton:"resetButton-1zF_G8 button-1x2ahC",message:"message-c9-HCF",notice:"notice-2mjo_8"}},7582:function(e,t,o){e.exports={slider:"slider-2neXMg"}},7583:function(e,t,o){e.exports={card:"card-3veb4J marginBottom20-32qID7",spacing:"spacing-1QIWht marginBottom20-32qID7",error:"error-3C5PHt marginTop8-1DLZ1n",warning:"warning-1WIX3i"}},7584:function(e,t,o){e.exports={phoneField:"phoneField-38N1bJ",countryButton:"countryButton-3xq3Ts",countryButtonInner:"countryButtonInner-3LEFZi",countryCodeContainer:"countryCodeContainer-2RZ4jt",plusSign:"plusSign-15Cgdh",countryCode:"countryCode-2TeNMX",phoneFieldExpand:"phoneFieldExpand-2DzY5G",inputField:"inputField-aNPXsv",sendButton:"sendButton-1Gsc4p"}},7585:function(e,t,o){e.exports={phoneVerificationModal:"phoneVerificationModal-OzcDc3",animationContainer:"animationContainer-WJHr_z",title:"title-3qNdae",description:"description-3JBgvQ",error:"error-1E-Ycl",field:"field-wKpjTl"}},7586:function(e,t,o){e.exports={reactions:"reactions-12N0jA",icon:"icon-2uw6mp",reactionBtn:"reactionBtn-3N03Zj",active:"active-1pv5EN",reaction:"reaction-1hd86g",reactionReadOnly:"reactionReadOnly-bYgwi9",reactionCount:"reactionCount-2mvXRV",reactionMe:"reactionMe-wv5HKu",reactionInner:"reactionInner-15NvIl",reactionTooltip:"reactionTooltip-3pvwwY",reactionTooltipContent:"reactionTooltipContent-2TwEIL",reactionTooltipEmoji:"reactionTooltipEmoji-3LG0v8",reactionTooltipText:"reactionTooltipText-u4NWre"}},7587:function(e,t,o){e.exports={container:"container-1ov-mD",gifFavoriteButton:"gifFavoriteButton-2SKrBk",embedWrapper:"embedWrapper-lXpS3L",giftCodeContainer:"giftCodeContainer-1fbmAS",confirmText:"confirmText-hRazmx"}},7588:function(e,t,o){e.exports={container:"container-1sFeqf",keybind:"keybind-KpFkfr",closeButton:"closeButton-1tv5uR",keybindBold:"keybindBold-1942Wp",closeButtonBold:"closeButtonBold-8kKURP"}},7589:function(e,t,o){e.exports={wrapper:"wrapper-3nSjSv",heading:"heading-4znNKq",headingTier1:"headingTier1-K4ha7e heading-4znNKq",headingSecondary:"headingSecondary-3zTbX4",tiersList:"tiersList-2U0Dkr",tier:"tier-1EY-yj",tierVertical:"tierVertical-2ePkZj tier-1EY-yj",tierLogo:"tierLogo-3qD3yx",tierHorizontal:"tierHorizontal-1rquh_ tier-1EY-yj",perk:"perk-1g1yg-",perkAvailable:"perkAvailable-2qYI1g perk-1g1yg-",perkUnavailable:"perkUnavailable-64O5T5 perk-1g1yg-",perkAvailabilityIcon:"perkAvailabilityIcon-1FFCXW",perkLabel:"perkLabel-3D5r9t",perkDescription:"perkDescription-l3rPzJ",action:"action-2cD_qI"}},7590:function(e,t,o){e.exports={wrapper:"wrapper-1hrFc0",heading:"heading-3VWlBM",originalPrice:"originalPrice-3YTVmi"}},7591:function(e,t,o){e.exports={singleItemWrapper:"singleItemWrapper-1AvlNV",carousel:"carousel-18mXWH",item:"item-287JPa",singleItem:"singleItem-3vMkVo item-287JPa",viewport:"viewport-W8LvWa"}},7592:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",progressBar:"progressBar-2Hd4f8",bar:"bar-_YsHvC",barBackground:"barBackground-2EEiLw bar-_YsHvC",barForeground:"barForeground-3KglC8 bar-_YsHvC",barSecondary:"barSecondary-3B1aP2 bar-_YsHvC",tierMarkerContainer:"tierMarkerContainer-2BmgqV",tierMarkerGroup:"tierMarkerGroup-xg6A1d",tierMarker:"tierMarker-5HkGJ_ desaturate-qhyunI",tierMarkerAccomplished:"tierMarkerAccomplished-2MiXeg tierMarker-5HkGJ_ desaturate-qhyunI",tierMarkerInProgress:"tierMarkerInProgress-24LMzJ tierMarker-5HkGJ_ desaturate-qhyunI",tierMarkerSelectable:"tierMarkerSelectable-3t7r2q",tierMarkerBackground:"tierMarkerBackground-3q29am",currentTierIcon:"currentTierIcon-2gcTCn",tierMarkerLabelContainer:"tierMarkerLabelContainer-1qM0Ak",tierMarkerLabelText:"tierMarkerLabelText-F_zS1F",selectedTier:"selectedTier-1JkO7i",isAccomplished:"isAccomplished-2EpZfL",tierMarkerLabelPlusIcon:"tierMarkerLabelPlusIcon-1OS7E9",tier3Icon:"tier3Icon-Ku4Ahe"}},7593:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",icon:"icon-3p9T60 desaturate-qhyunI",unlocked:"unlocked-251xRB",emoji:"emoji-14TyAm",animated:"animated-XlVkOl",audio:"audio-PN_OoN",customization:"customization-1Iu5cE",upload:"upload-2-2ZMI",vanity:"vanity-284TLk",stream:"stream-3mNTxK",sticker:"sticker-3_72rM"}},7594:function(e,t,o){e.exports={ctaBar:"ctaBar-2UsjF2",guildDetails:"guildDetails-oP2_kA",guildSubscriptionInfo:"guildSubscriptionInfo-3cJF-B",guildIcon:"guildIcon-3raYf3",guildName:"guildName-39nwo0",subscriberCountWrapper:"subscriberCountWrapper-3cfGTE",bageIcon:"bageIcon-3Lda3Y",badgeIconWithoutSubscribers:"badgeIconWithoutSubscribers-3A9Xol bageIcon-3Lda3Y",badgeIconWithSubscribers:"badgeIconWithSubscribers-3PlMu9 bageIcon-3Lda3Y",guildSubscriptionInfoSubscriberCount:"guildSubscriptionInfoSubscriberCount-sQQL0_",userSubscriptionCount:"userSubscriptionCount-3ccreY",actions:"actions-2fUYl0",giftAction:"giftAction-yhDLaW",giftActionContent:"giftActionContent-2dKrVJ",giftIcon:"giftIcon-ZxlWk5",iconButton:"iconButton-3ElKLY",getPremiumIcon:"getPremiumIcon-3Z-Sl3"}},7595:function(e,t,o){e.exports={subscription:"subscription-3aLGnG",subscriptionInfo:"subscriptionInfo-2wfGYJ",tierInfo:"tierInfo-tIXZkU",tierPill:"tierPill-1yRO48",tierPillStar:"tierPillStar-34rvoJ",guildIcon:"guildIcon-bY4Rsy",guildName:"guildName-3Q3DTO",levelIcon:"levelIcon-MBl0h_",levelDownIcon:"levelDownIcon-3eNqAg levelIcon-MBl0h_",levelUpIcon:"levelUpIcon-1VeO4o levelIcon-MBl0h_",tierPillGem:"tierPillGem-3zcO2T",boost:"boost-4xzKsM"}},7596:function(e,t,o){e.exports={content:"content-2bjdSf",guildCard:"guildCard-1ZRYY8",image:"image-1kcgs9",transferGuildCardHeader:"transferGuildCardHeader-29rebZ",activeTransferGuildCardBorder:"activeTransferGuildCardBorder-2jUQ7t",transferFromGuildCard:"transferFromGuildCard-2BiPCE",transferToGuildCard:"transferToGuildCard-1S-m5v",error:"error-3xOMUr",pendingCancellation:"pendingCancellation-2dWNGg",pendingCancellationIcon:"pendingCancellationIcon-37Hfji",pendingCancellationMessage:"pendingCancellationMessage-3Z1T-5"}},7597:function(e,t,o){e.exports={modal:"modal-1xfRX3",selectHeaderContainer:"selectHeaderContainer-3If65_",selectHeader:"selectHeader-1Ge_-Z",selectSearch:"selectSearch-3Qk9To",selectContent:"selectContent-1Riibb",selectGuild:"selectGuild-1Ygl76",selectGuildName:"selectGuildName-eFAtJ9",confirmImage:"confirmImage-2pGr87",transferConfirmImage:"transferConfirmImage-1SYwXp",successBody:"successBody-2dH8eB",successAnimation:"successAnimation-1rcoI5",quantitySelectorBody:"quantitySelectorBody-1mRZvy",quantitySelectorDescription:"quantitySelectorDescription-3vuWyD",quantitySelectorHeader:"quantitySelectorHeader-3yR55s",quantitySelectorWrapper:"quantitySelectorWrapper-2yl054",quantitySelectorLabel:"quantitySelectorLabel-wVuQrI",modalCloseButton:"modalCloseButton-2O2UDY",tierPill:"tierPill-3gJ0eN"}},7598:function(e,t,o){e.exports={gemSheen:"gemSheen-3yIyuX"}},7599:function(e,t,o){e.exports={perks:"perks-3OsGy8",perk:"perk-2WeBWW",icon:"icon-QVoPRH"}},7600:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",carouselItemHeight:"286px",carouselInactiveOffsetY:"24px",carouselInactiveOffsetYNegative:"-24px",contentMinWidth:"660px",perksModal:"perksModal-fSYqOq",perksModalContentWrapper:"perksModalContentWrapper-2HU6uL",closeWrapper:"closeWrapper-9ScmSq",closeContent:"closeContent-I3JbQJ",closeIcon:"closeIcon-3_iQ6l",content:"content-2qfHzC",headerGraphic:"headerGraphic-nVhv-X desaturate-qhyunI",headerLogo:"headerLogo--hLLAk",headerBlurb:"headerBlurb-1GxBrq",progressBarWrapper:"progressBarWrapper-15RqAy",progressBarWrapperVisible:"progressBarWrapperVisible-3L7cSB",carouselContainer:"carouselContainer-2-vIZS",carouselContainerVisible:"carouselContainerVisible-1JVIpW",carouselPlaceholder:"carouselPlaceholder-3pnpOf carouselContainer-2-vIZS",carousel:"carousel-6MSnEI",carouselItem:"carouselItem-g4c5Xp",carouselItemSelected:"carouselItemSelected-JFUsnG carouselItem-g4c5Xp",carouselItemClickable:"carouselItemClickable-3Corbv carouselItem-g4c5Xp",tierDefaultUnlocked:"tierDefaultUnlocked-3OzMTb",tierDefaultUnlockedDescription:"tierDefaultUnlockedDescription-1w5VQU",tierWrapper:"tierWrapper-W9ajqp",tier:"tier-12tKuZ",tierHeader:"tierHeader---JJFb",tierHeaderLocked:"tierHeaderLocked-1s2JJz tierHeader---JJFb",tierHeaderUnlocked:"tierHeaderUnlocked-1n-OTI tierHeader---JJFb",tierIcon:"tierIcon-2qSKGj",tierTitle:"tierTitle-y7BLPl",tierLock:"tierLock-3CSxSX",tierUnlocked:"tierUnlocked-25K6Kv",tierRequirements:"tierRequirements-dGesMA",tierBody:"tierBody-16Chc9",previousPerks:"previousPerks-izQoDD",perk:"perk-7exmS5",newBadge:"newBadge-25C6UM",perkIcon:"perkIcon-3bbUNB",perkText:"perkText-1RKyIP",subscriberPerksHeader:"subscriberPerksHeader-2a50UC",divider:"divider-25_-sM",slideIn:"slideIn-1PaRPY"}},7601:function(e,t,o){e.exports={header:"header-2RyJ0Y",item:"item-PXvHYJ",brand:"brand-1Zl8en",themed:"themed-OHr7kt",separator:"separator-gCa7yv",selected:"selected-3s45Ha",disabled:"disabled-1Hwwfb",side:"side-8zPYf6",top:"top-28JiJ-",topPill:"topPill-30KHOu"}},7602:function(e,t,o){e.exports={container:"container-1KFiob",iconContainer:"iconContainer-2eZPr4",icon:"icon-3pEw1v",stars:"stars-1dLESH",header:"header-2e3dsI",cta:"cta-3fjU95"}},7603:function(e,t,o){e.exports={container:"container-7uh5fX",header:"header-1VS4tm",closeIcon:"closeIcon-3CcYvY",divider:"divider-mDc_D8",tabBar:"tabBar-31Wimb",threadIcon:"threadIcon-3XJhLD",title:"title-wn-Ecb",tab:"tab-PQvTH4",spacer:"spacer-3a3inN",createButton:"createButton-nlV8qH",active:"active-30vPlA"}},7604:function(e,t,o){e.exports={modal:"modal-2DCYwU",browser:"browser-27EVtf"}},7605:function(e,t,o){e.exports={container:"container-3-pyIM",compact:"compact-2zYMSo",content:"content-2M3n_H",actionAnchor:"actionAnchor-gzc_5z",iconContainer:"iconContainer-3GkGRf",cozy:"cozy-12TNg0",icon:"icon-2Po-VO",iconSize:"iconSize-2tmqqh",action:"action-3CzlXl",timestamp:"timestamp-1E3uAL"}},7606:function(e,t,o){e.exports={messageApplicationCommand:"messageApplicationCommand-254pK0",messageIconContainer:"messageIconContainer-ATaEy6",header:"header-2oHmnr",username:"username-mkom4A",command:"command-2EsN1V",avatar:"avatar-2zAdlE",application:"application-C5rmZP",spine:"spine-1UneWn",content:"content-2Kddbs",cozy:"cozy-3I4Ja9",compact:"compact-38pFhv"}},7607:function(e,t,o){e.exports={channelNameChange:"channelNameChange-1wTsWB"}},7608:function(e,t,o){e.exports={messageContent:"messageContent-3iPlyo",alertIcon:"alertIcon-3BK_0H"}},7609:function(e,t,o){e.exports={wrapper:"wrapper-r-6rrt",image:"image-1GzsFd",title:"title-2BxgL2",text:"text-GwUZgS"}},7610:function(e,t,o){e.exports={container:"container-3auIfb",input:"input-rwLH4i",slider:"slider-TkfMQL"}},7611:function(e,t,o){e.exports={container:"container-2_Tvc_",labelRow:"labelRow-16e77k",control:"control-2BBjec",disabled:"disabled-2HSEFa",titleDefault:"titleDefault-a8-ZSr",titleMini:"titleMini-pBwj_L",title:"title-31JmR4",note:"note-1V3kyJ",dividerDefault:"dividerDefault-3rvLe-"}},7612:function(e,t,o){e.exports={flex:"flex-1O1GKY",alignCenter:"alignCenter-1dQNNs",justifyBetween:"justifyBetween-2tTqYu",wrapper:"wrapper-O5i5-0",scroller:"scroller-2hZ97C",modal:"modal-1k91nT",closeButton:"closeButton-31ta9E",header:"header-2Pz98J",inviteRow:"inviteRow-2L02ae flex-1O1GKY alignCenter-1dQNNs justifyBetween-2tTqYu",inviteRowAvatar:"inviteRowAvatar-EURMT6",inviteRowInfo:"inviteRowInfo-I9V9v- flex-1O1GKY alignCenter-1dQNNs",inviteRowName:"inviteRowName-1tVaxu",inviteRowButton:"inviteRowButton-3opYo2",inviteNoResultsImage:"inviteNoResultsImage-6yTvc9",highFive:"highFive-3ySu5x",envolope:"envolope-1uD5SC",noBorder:"noBorder-CTIBpT",noPadding:"noPadding-1v11qi",content:"content-3CCvMx",copyInput:"copyInput-1T2hfb",copyButton:"copyButton-1I8hd3",subText:"subText-bCySlS",noScroll:"noScroll-3xWe_g",settingsContent:"settingsContent-3Pxg5D noScroll-3xWe_g",settingsFooter:"settingsFooter-15L4Xu",switch:"switch-1z4BEm",footer:"footer-1FPmkC",copied:"copied-e3U5bd",checkBoxLabel:"checkBoxLabel-4PWfpk",footerText:"footerText-2a7NxZ",headerContainer:"headerContainer-3uxewi",welcomeImage:"welcomeImage-QDYf6I",welcomeHeading:"welcomeHeading-2US2wn",welcomeSubheading:"welcomeSubheading-1gfu4-"}},7613:function(e,t,o){e.exports={iconContainer:"iconContainer-4CalaE",inviteHeader:"inviteHeader-3cFuiB",inviteContent:"inviteContent-2qZKyW",content:"content-uyw0IG",inviteButton:"inviteButton-2fBrOR",manageMessageRow:"manageMessageRow-RX1cCX",dot:"dot-1JLG3l",compact:"compact-gkCGQn",inviteLink:"inviteLink-C_E2t3"}},7614:function(e,t,o){e.exports={icon:"icon-1zIRB4"}},7615:function(e,t,o){e.exports={icon:"icon-3cbZZz"}},7616:function(e,t,o){e.exports={spriteCanvas:"spriteCanvas-3EWky_"}},7617:function(e,t,o){e.exports={easterEggSize:"196px",iconWrapper:"iconWrapper-2Urb3j",icon:"icon-360yEu",message:"message-o_XyYw",cannon:"cannon-3Yq1jm",cannonWrapper:"cannonWrapper-1fCcAD",easterEggAnimation:"easterEggAnimation-1vLcI9",easterEggAnimationTopLeft:"easterEggAnimationTopLeft-jwXGvO",easterEggAnimationTopRight:"easterEggAnimationTopRight-1KUngj",easterEggAnimationBottomLeft:"easterEggAnimationBottomLeft-3526mm",easterEggAnimationBottomRight:"easterEggAnimationBottomRight-MAuKgd",easterEggAnimationHideLeaf:"easterEggAnimationHideLeaf-zpkMGS"}},7618:function(e,t,o){e.exports={base:"base-18fc34",sparkle:"sparkle-1TdrlZ base-18fc34",pop:"pop-B2HebP base-18fc34",light:"light-1RsqT- base-18fc34",cross:"cross-AT1Amb base-18fc34",sparkleBlurple:"sparkleBlurple-awNnsZ sparkle-1TdrlZ base-18fc34",sparkleGrey:"sparkleGrey-1Q5g70 sparkle-1TdrlZ base-18fc34",sparkleWhite:"sparkleWhite-2J-Q68 sparkle-1TdrlZ base-18fc34",popBlurple:"popBlurple-27zBE3 pop-B2HebP base-18fc34",popGrey:"popGrey-2lKfmi pop-B2HebP base-18fc34",popWhite:"popWhite-1RZZKg pop-B2HebP base-18fc34",lightBlurple:"lightBlurple-1mZKpk light-1RsqT- base-18fc34",lightGrey:"lightGrey-WcSfs7 light-1RsqT- base-18fc34",lightWhite:"lightWhite-2kX5Oc light-1RsqT- base-18fc34",crossBlurple:"crossBlurple--iGG5Y cross-AT1Amb base-18fc34",crossGrey:"crossGrey-3CNWiK cross-AT1Amb base-18fc34",crossWhite:"crossWhite-2FnCYL cross-AT1Amb base-18fc34"}},7619:function(e,t,o){e.exports={outer:"outer-s4sY2_",inner:"inner-2O5YO7"}},7620:function(e,t,o){e.exports={root:"root-1i3NKH",image:"image-1npAv8",emptyPreviewContainer:"emptyPreviewContainer-1KOcxV",emptyPreviewImage:"emptyPreviewImage-IBznSI",emptyPreviewText:"emptyPreviewText-2IOfAL"}},7621:function(e,t,o){e.exports={avatar:"avatar-_-TGPX",memberListItem:"memberListItem-2ZX2pl",popoutDisabled:"popoutDisabled-xucru2",memberListItemTag:"memberListItemTag-2qWLwe",username:"username-1Mmpcp"}},7622:function(e,t,o){e.exports={art:"art-clkMXs",description:"description-FLRtPT"}},7623:function(e,t,o){e.exports={closeButton:"closeButton-30cKQR",title:"title-YNu73W",content:"content-2FmSBS"}},7624:function(e,t,o){e.exports={title:"title-3BE6m5",avatar:"avatar-Uq3gXb",userListOverflow:"userListOverflow-cTtEue",voiceUserList:"voiceUserList-3KiWkn",channelIcon:"channelIcon-2xPHJh",selected:"selected-2rGcKN",channelInfo:"channelInfo-2OWB9j title-3BE6m5",channelName:"channelName-3_Vb6f"}},7625:function(e,t,o){e.exports={divider:"divider-3upnin",separator:"separator-19P9q2"}},7626:function(e,t,o){e.exports={innerPadding:"16px",modalContent:"modalContent-BM7Qeh",title:"title-Ug2-48 modalContent-BM7Qeh",scrollerInner:"scrollerInner-3cKLI1",bottomSeparator:"bottomSeparator-2I_cet",scrollWrapper:"scrollWrapper-D9dVnd"}},7627:function(e,t,o){e.exports={innerPadding:"16px",channelInfoWrapper:"channelInfoWrapper-1DPrpu",channelTitleWrapper:"channelTitleWrapper-UW6lQz"}},7628:function(e,t,o){e.exports={card:"card-2Mz_4z"}},7629:function(e,t,o){e.exports={flex:"flex-1O1GKY",flexCenter:"flexCenter-3_1bcw flex-1O1GKY justifyCenter-3D2jYp alignCenter-1dQNNs",group:"group-2dAfBy flex-1O1GKY",item:"item-3T2z1R flexCenter-3_1bcw flex-1O1GKY justifyCenter-3D2jYp alignCenter-1dQNNs"}},7630:function(e,t,o){e.exports={selectorButton:"selectorButton-EEUWed",selectorButtonPremiumRequired:"selectorButtonPremiumRequired-mKMbIu",selectorText:"selectorText-2I7fQU",selectorButtonSelected:"selectorButtonSelected-t5V9On selectorButton-EEUWed",selectorTextSelected:"selectorTextSelected-1ymya_ selectorText-2I7fQU",selectorNitroText:"selectorNitroText-GCsvMp",settingsGroup:"settingsGroup-2NaPKC",documentModeGroup:"documentModeGroup-1f0PO-",documentModeDescription:"documentModeDescription-3mCV_i",qualitySettingsContainer:"qualitySettingsContainer-1gOtRJ"}},7631:function(e,t,o){e.exports={selectedIcon:"selectedIcon-DE5J2w",ellipsisText:"ellipsisText-2EszCb",changeButton:"changeButton-278ZT6",warningIcon:"warningIcon-1Dw6GH",warning:"warning--qC9N8"}},7632:function(e,t,o){e.exports={guildScroller:"guildScroller-2J_wr3",guildRow:"guildRow-26rtE0",guildIcon:"guildIcon-1N_B__",guildName:"guildName-2snOC3",guildArrow:"guildArrow-MZgyxl"}},7633:function(e,t,o){e.exports={grid:"grid-32iiFi",tile:"tile-8W93rZ"}},7634:function(e,t,o){e.exports={item:"item-1TLUig",container:"container-OI6I9q",selected:"selected-P8xTeN"}},7635:function(e,t,o){e.exports={spinner:"spinner-nBA_Xz",tile:"tile-2w4k5N",sourceThumbnail:"sourceThumbnail-27dolk",sourceScroller:"sourceScroller-Pk7YAM",sourceContainer:"sourceContainer-3LOXkb",selected:"selected-1nOkyc",sourceName:"sourceName-1y7Taj",segmentContainer:"segmentContainer-3izQ9Z",segmentControl:"segmentControl-1bEQH5",segmentControlOption:"segmentControlOption-1vCKaY"}},7636:function(e,t,o){e.exports={button:"button-3HLNXW",badgeUpgrade:"badgeUpgrade-3_4a3F"}},7637:function(e,t,o){e.exports={quickSelect:"quickSelect-3BxO0K",quickSelectClick:"quickSelectClick-1HOWp1",quickSelectValue:"quickSelectValue-lImyM6",quickSelectLabel:"quickSelectLabel-2r3iJ_",quickSelectArrow:"quickSelectArrow-1QublR",quickSelectPopout:"quickSelectPopout-X1hvgV",quickSelectPopoutScroll:"quickSelectPopoutScroll-2dlvk5",quickSelectScroller:"quickSelectScroller-2SmdH_",quickSelectPopoutOption:"quickSelectPopoutOption-opKBx9",selected:"selected-3RZo5I"}},7638:function(e,t,o){e.exports={regionSelect:"regionSelect-3lf4eE",disabled:"disabled-1PUF94",regionSelectInner:"regionSelectInner-24f4Ce",regionSelectLoading:"regionSelectLoading-34I21m",regionSelectFlag:"regionSelectFlag-3uwFtG",vip:"vip-1SuRbe",regionSelectName:"regionSelectName-2-2FWh",regionSelectModal:"regionSelectModal-12e-57",regionSelectModalHeader:"regionSelectModalHeader-21khC1",regionSelectModalFooter:"regionSelectModalFooter-20C5iA",regionSelectModalOptions:"regionSelectModalOptions-2TWQOB",regionSelectModalOption:"regionSelectModalOption-2DSIZ3"}},7639:function(e,t,o){e.exports={container:"container-1r6BKw",themed:"themed-ANHk51",transparent:"transparent-2ZlE3R",children:"children-19S4PO",toolbar:"toolbar-1t6TWx",title:"title-29uC1r",clickable:"clickable-3rdHwn",iconWrapper:"iconWrapper-2OrFZ1",icon:"icon-22AiRD",selected:"selected-1GqIat",iconBadge:"iconBadge-qZ4Ksk",divider:"divider-3FBTu8",caret:"caret-3W7cBB"}},7640:function(e,t,o){e.exports={pro:"pro-1T8RK7",tip:"tip-2ab612",block:"block-2RXqH9",inline:"inline-136HKr"}},7641:function(e,t,o){e.exports={messagesPopoutWrap:"messagesPopoutWrap-1MQ1bW",header:"header-ykumBX",title:"title-3pkaKd",footer:"footer-1kmXd4",loadingMore:"loadingMore-1cSz09",spinner:"spinner-MoOpqm",hasMore:"hasMore-sul95G",messagesPopout:"messagesPopout-24nkyi",messageGroupWrapper:"messageGroupWrapper-o-Zw7G",messageGroupCozy:"messageGroupCozy-2iY6cT",scrollingFooterWrap:"scrollingFooterWrap-3FDlMn",emptyPlaceholder:"emptyPlaceholder-1zh-Eu",bottom:"bottom-TGnsta",image:"image-2JDb81",loadingPlaceholder:"loadingPlaceholder-2SCYFe",body:"body-bvcIjN",channelSeparator:"channelSeparator-1MxuvT",channelName:"channelName-3kBz6H",guildName:"guildName-1Bc3Ta",actionButtons:"actionButtons-1sUUug",jumpButton:"jumpButton-3DTcS_",loading:"loading-2bJK5L",visible:"visible-1PE5Ym",closeIcon:"closeIcon-2Yg8TD"}},7642:function(e,t,o){e.exports={button:"button-1-5Aqk",primary:"primary-2McadE",disabled:"disabled-3Njyym",secondary:"secondary-dIudih",tertiary:"tertiary-aMXF0g",size24:"size24-12dr1B",size32:"size32-T2BHRe",size36:"size36-1Ff1kn"}},7643:function(e,t,o){e.exports={jumpButton:"jumpButton-2dvRSC",text:"text-3KVtey"}},7644:function(e,t,o){e.exports={wrapper:"wrapper-232cHJ"}},7645:function(e,t,o){e.exports={channelHeader:"channelHeader-3Gd2xq",dmIcon:"dmIcon-2eU-bE",guildIcon:"guildIcon-3Co6k-",channelNameSection:"channelNameSection-3Vm87D",badge:"badge-2l0o8g",channelName:"channelName-_v0rI4",subtext:"subtext-qy79y1",guildName:"guildName-GKOCI8",channelNameHeader:"channelNameHeader-F4hU_R",subtextContainer:"subtextContainer-34z_03",activityStatus:"activityStatus-3EyZw5",activityEmoji:"activityEmoji-3sF2z4"}},7646:function(e,t,o){e.exports={container:"container-3u944p",iconContainer:"iconContainer-JbDkvn",icon:"icon-1Itzco",stars:"stars-1YAEQv",header:"header-2M8_sb",protip:"protip-283HFv"}},7647:function(e,t,o){e.exports={recentMentionsPopout:"recentMentionsPopout-3rCiI6",scroller:"scroller-2UmRce",container:"container-3iAQ-0",closeButton:"closeButton-1152MI",messageContainer:"messageContainer-gbhlwo",jumpButton:"jumpButton-2F6EMx",message:"message-2DieIs"}},7648:function(e,t,o){e.exports={header:"header-2-Imhb",tab:"tab-ck0077",tabBar:"tabBar-1kuXvJ",active:"active-1MbGPa"}},7649:function(e,t,o){e.exports={messages:"messages-3G3erD",messageContainer:"messageContainer-1ei2zM",jumpButton:"jumpButton-3vBz5U",message:"message-2g38UB",divider:"divider-39oAwV"}},7650:function(e,t,o){e.exports={channel:"channel-3pEHab",collapseButton:"collapseButton-2ZsEjz",markReadButton:"markReadButton-qAjML_",collapsed:"collapsed-S4RKOA"}},7651:function(e,t,o){e.exports={divider:"divider-EK35Fy",dividerContent:"dividerContent-2S2hYI"}},7652:function(e,t,o){e.exports={container:"container-enaOkj recentMentionsPopout-3rCiI6",spinner:"spinner-3wwZNP",tutorial:"tutorial-3w5I9h",tutorialIcon:"tutorialIcon-3f1miQ",tutorialButton:"tutorialButton-2wJx1F",scroller:"scroller-tlc3kG"}},7653:function(e,t,o){e.exports={list:"list-SuzGBZ",listDefault:"listDefault-3ir5aS",listCollapse:"listCollapse-1f19fE",voiceUser:"voiceUser-1K6Xox",content:"content-1Wq3SX",flipped:"flipped-2sNWIS",userLarge:"userLarge-qiDClb",userSmall:"userSmall-YJ5L9_",avatarContainer:"avatarContainer-28iYmV",avatar:"avatar-3tNQiO",avatarSmall:"avatarSmall-1PJoGO",avatarLarge:"avatarLarge-3EQ-HE",avatarSpeaking:"avatarSpeaking-2IGMRN",username:"username-3KYl0N",usernameFont:"usernameFont-23TX-h",icons:"icons-1dXQdz",icon:"icon-2IuuZd",iconTooltipContainer:"iconTooltipContainer-DzbRyh",iconTooltip:"iconTooltip-9cG7Fn",iconSpacing:"iconSpacing-3eO9xt",liveIconSpacing:"liveIconSpacing-DSnkAT",iconPriortySpeaker:"iconPriortySpeaker-3bZlw-",iconServer:"iconServer-Lyg2F4",strikethrough:"strikethrough-3q4FHz",clickable:"clickable-1lCRLF",selected:"selected-3t3Csj",usernameSpeaking:"usernameSpeaking-RmltQx",liveIcon:"liveIcon-2TcPbb",iconPriortySpeakerSpeaking:"iconPriortySpeakerSpeaking-22tQMF",disabled:"disabled-o7LSOr"}},7654:function(e,t,o){e.exports={body:"body-Ogsp8i",streamPreviewWrapper:"streamPreviewWrapper-2DSWOK",mounted:"mounted-26niXS",streamPreview:"streamPreview-2-WUWT",previewContainer:"previewContainer-12UlHl",previewHover:"previewHover-1tGzfF",previewImage:"previewImage-RxVzkZ",applicationName:"applicationName-31eLkz",watchButtonInner:"watchButtonInner-2padQK",liveIcon:"liveIcon-1hht8V",activityActions:"activityActions-k66mD_",protip:"protip-3-1FNm",white:"white-WjN64k",watchButton:"watchButton-2SbJEo"}},7655:function(e,t,o){e.exports={draggable:"draggable-2E_4tJ"}},7656:function(e,t,o){e.exports={list:"list-2luk8a",collapsed:"collapsed-21_y8I",disableInteraction:"disableInteraction-3oQqhT"}},7657:function(e,t,o){e.exports={header:"header-1VXc2C",text:"text-1-gY44",icon:"icon-1THB_f"}},7658:function(e,t,o){e.exports={container:"container-CpszHS container-1nZlH6",layout:"layout-FSaTy9 layout-eEMo5y",input:"input-1G2o7i input-1UhAnY base-96ewKC",disabled:"disabled-29eJ21 disabled-qocNLx",button:"button-34kXw5 button-3tQuzi",hasValue:"hasValue-3pdcdm",recording:"recording-1H2dS7",shadowPulse:"shadowPulse-2kjgqQ",editIcon:"editIcon-13gaox",text:"text-2sI5Sd"}},7659:function(e,t,o){e.exports={title:"title-3pjxZQ"}},7660:function(e,t,o){e.exports={button:"button-2CgfFz",default:"default-3oAQTF",filled:"filled-1iCBCZ"}},7661:function(e,t,o){e.exports={lighten:"lighten-2aYaaU",wrapper:"wrapper-1U5SlS",icon:"icon-JJBzjE lighten-2aYaaU",title:"title-1B76a1",subtitle:"subtitle-2yP_Eh lighten-2aYaaU"}},7662:function(e,t,o){e.exports={spacing:"spacing-3SKozy",smallSpacing:"smallSpacing-2Dn-1F",largeSpacing:"largeSpacing-304iPU",lighten:"lighten-kLb06a",marginReset:"marginReset-Mol2dw",checkboxContainer:"checkboxContainer-2vV9zd marginReset-Mol2dw",checkboxMute:"checkboxMute-14hTGS marginReset-Mol2dw",checkboxContainerMuted:"checkboxContainerMuted-1HFenf checkboxContainer-2vV9zd marginReset-Mol2dw",muteUntilTitle:"muteUntilTitle-2kU0Z4",muteUntilText:"muteUntilText-2BkKag",muteTimeSelector:"muteTimeSelector-3WrM7K",checkboxGroup:"checkboxGroup-Z7AmuU marginReset-Mol2dw",overrideList:"overrideList-Xc_VCf",override:"override-2YgiXd",overrideHighlight:"overrideHighlight-YPcBxt",removeOverride:"removeOverride-2sdvVX",overridePlaceholder:"overridePlaceholder-14_rPI",iconContainer:"iconContainer-2h8jYA",icon:"icon-IkZExu lighten-kLb06a",overrideHeader:"overrideHeader-367JNH lighten-kLb06a",header:"header-3Uqp87",headerName:"headerName-2n9eUZ header-3Uqp87",headerOption:"headerOption-3qo9Ph header-3Uqp87",channelName:"channelName-28iMRJ",channelNameByline:"channelNameByline-R73-tU lighten-kLb06a",channelNameCategory:"channelNameCategory-mxHe-m",guildName:"guildName-3WI6ml"}},7663:function(e,t,o){e.exports={content:"content-191BxG"}},7664:function(e,t,o){e.exports={image:"image-3AuVz1"}},7665:function(e,t,o){e.exports={searchBar:"searchBar-1FaHXw"}},7666:function(e,t,o){e.exports={innerPadding:"16px",modalRoot:"modalRoot-2m5tXx",button:"button-3dsb8k",header:"header-2TZe19",headerSubtitle:"headerSubtitle-2pkm7y",headerSubtitleIcon:"headerSubtitleIcon-35rx5e",content:"content-3JiERV",searchBox:"searchBox-2U8-yR",roleMemberList:"roleMemberList-3mYYYB",addMemberRow:"addMemberRow-3-w-9X",selectedRow:"selectedRow-1QP7qb",checkboxLabel:"checkboxLabel-3ZBKMU",rowHeight:"rowHeight-5gIjky",rowLabel:"rowLabel-2Ttg81",rowTitle:"rowTitle-21Ny_7",rowLabelSubText:"rowLabelSubText-35LqC-",sectionTitle:"sectionTitle-2PYny6",noResultIcon:"noResultIcon-1bkvDZ",description:"description-2YaX4y",scrollSeparator:"scrollSeparator-2w4X2o"}},7667:function(e,t,o){e.exports={modalRoot:"modalRoot-3CFA4t",header:"header-17bQeH",headerSubtitle:"headerSubtitle-1rLiK5",headerSubtitleIcon:"headerSubtitleIcon-1u5vaJ",error:"error-1xqs3z"}},7668:function(e,t,o){e.exports={container:"container-jSV3OF",fontSize14:"fontSize14-1tusjs",fontSize16:"fontSize16-2ItDSF",icon:"icon-1jlFSw",text:"text-2J5crT",warning:"warning-3C2pOH",info:"info-1rdF5A",error:"error-c-8XMu"}},7669:function(e,t,o){e.exports={marginBottom20:"marginBottom20-32qID7",marginTop8:"marginTop8-1DLZ1n",marginReset:"marginReset-236NPn",marginTop4:"marginTop4-2BNfKC",modal:"modal-2VIBV8",modalContent:"modalContent-N6GsWH",footer:"footer-1oJbSA",description:"description-zfMhzy marginBottom20-32qID7",name:"name-3ChUIO marginBottom20-32qID7",type:"type-3aEJ96 marginBottom20-32qID7",cloneInfo:"cloneInfo-1OC_Ee marginTop8-1DLZ1n",icon:"icon-3pNFyS",error:"error-chiOuv marginTop8-1DLZ1n",header:"header-3nFfBB",headerSubtitle:"headerSubtitle-KRA6bs",headerSubtitleIcon:"headerSubtitleIcon-1fMNRd",closeButton:"closeButton-20eBet",modalTitle:"modalTitle-1Ymoer",sectionTitle:"sectionTitle-39SH0_",clone:"clone-14QU8p marginTop4-2BNfKC",permissionsTitle:"permissionsTitle-2yG7gU marginBottom20-32qID7",foreground:"foreground-SshK2E",background:"background-6FOJIb",inputWrapper:"inputWrapper-24Isu7",inputInner:"inputInner-2UxuB6",inputPrefix:"inputPrefix-1gzNds",switchIcon:"switchIcon-_4Efyi",channelTypeDescription:"channelTypeDescription-7YNNIr",storeChannelOptionSelector:"storeChannelOptionSelector-2rFIBx",username:"username-2PcCVD",emptyRoles:"emptyRoles-39tqQo",owner:"owner-2uUH68",addMembersContainer:"addMembersContainer-8K9nhE",addMemberError:"addMemberError-1Rvepg",createError:"createError-1820x-",subtitle:"subtitle-3csUrC",radioText:"radioText-3nuXCv"}},7670:function(e,t,o){e.exports={spacing:"spacing-ApfUws marginBottom20-32qID7",card:"card-3uOWw3 spacing-ApfUws marginBottom20-32qID7",error:"error-oCzt6n marginTop8-1DLZ1n",warning:"warning-3AwWn_"}},7671:function(e,t,o){e.exports={roundButtonSize:"28px",roundingSize:"14px",pageControlContainer:"pageControlContainer-eP-SVd",pageControl:"pageControl-xGOf_S",pageButton:"pageButton-2ruNwd",roundButton:"roundButton-CEHyUp pageButton-2ruNwd",endButton:"endButton-m5h5Sr pageButton-2ruNwd",endButtonInner:"endButtonInner-36a1wi",gap:"gap-3lIf-M",iconCaret:"iconCaret-291Y5V",jumpToPageInlineInput:"jumpToPageInlineInput-1Pcgbd",activeButton:"activeButton-rvKcqq"}},7672:function(e,t,o){e.exports={spacedButton:"spacedButton-a-GPe4",body:"body-3grkQa"}},7673:function(e,t,o){e.exports={fixedWidth:"508px",addFieldButtonsContainer:"addFieldButtonsContainer-2ecRcx",addFieldRow:"addFieldRow-3_brle",addFieldButton:"addFieldButton-LieBLO",disabled:"disabled-3rsGZ1",icon:"icon-1CGepy",iconBackground:"iconBackground-2OK4vl",previewContainer:"previewContainer-12Libf",editableFieldsContainer:"editableFieldsContainer-1LYE1s",formPreview:"formPreview-JBqQAX",editableFormFieldWrapper:"editableFormFieldWrapper-S6Tyfh",editButtonsWrapper:"editButtonsWrapper-Jj1cFn",dragging:"dragging-3XbwTj",draggableWrapper:"draggableWrapper-1MSRt5",editButton:"editButton-1MavoF",editButtonDisabled:"editButtonDisabled-1F2FLU",getStartedWrapper:"getStartedWrapper-2AGgRZ",getStartedIcon:"getStartedIcon-3v4RyG",getStartedSubtitle:"getStartedSubtitle-260-IP",getStartedTitle:"getStartedTitle-2nDca2",errorBanner:"errorBanner-1EY3-l",approvalTypeNotice:"approvalTypeNotice-sWkFpW",approvalTypeTitle:"approvalTypeTitle-3JmBVz",autoApprovalTitle:"autoApprovalTitle-3Suv0U approvalTypeTitle-3JmBVz",manualApprovalTitle:"manualApprovalTitle-3aZYAH approvalTypeTitle-3JmBVz",approvalTypeBody:"approvalTypeBody-ctYX-S"}},7674:function(e,t,o){e.exports={settingsSubtitle:"settingsSubtitle-14oNNx",enableContainer:"enableContainer-2DIT9Q",iconCircle:"iconCircle-JEgPhb",activeCircle:"activeCircle-15Lt-Q iconCircle-JEgPhb",animate:"animate-1KSSuz",enable:"enable-QfV0hb",editCircle:"editCircle-y9c7xP iconCircle-JEgPhb",enableDescription:"enableDescription-32NG7M",previewButton:"previewButton-1IdhSk",divider:"divider-1luoRp",descriptionWrapper:"descriptionWrapper-3AsAaj",introDescription:"introDescription-1J4pmi",description:"description-2JL2oB",descriptionSpaced:"descriptionSpaced-3KimHl",switchField:"switchField-3-keGE",switch:"switch-2rfDZ3"}},7675:function(e,t,o){e.exports={exampleContainer:"exampleContainer-3ekFIr",exampleModal:"exampleModal-2oh58d",exampleWumpus:"exampleWumpus-3QIhvG",wumpus:"wumpus-3Q6pSF",tooltip:"tooltip-3oByQd",tooltipPointer:"tooltipPointer-22Q7m0",divider:"divider-WtgBDD",guildSidebar:"guildSidebar-339BqP",guildInfo:"guildInfo-3Co_-d",content:"content-BMIBeK",formItem:"formItem-3RbGCz",exampleTextSingleLine:"exampleTextSingleLine-1kvErc",spacedSingleLine:"spacedSingleLine-284nsO",rule:"rule-BF256F",checkbox:"checkbox-2nFD7p",fakeButton:"fakeButton-kGEmb3",applicationIcon:"applicationIcon-3MMA5L"}},7676:function(e,t,o){e.exports={left:"left-3d-3Co",right:"right-1C2enk",down:"down-15EnQ5"}},7677:function(e,t,o){e.exports={container:"container-Mx-d44",application:"application-2nEPog",sidebar:"sidebar-3eQgYX",separator:"separator-2GEmcy",applicationSeparator:"applicationSeparator-3UMMMN separator-2GEmcy",sidebarSeparator:"sidebarSeparator-1CBSKj separator-2GEmcy",username:"username-22hVg7",buttonSpacing:"buttonSpacing-16uR9X",statusIcon:"statusIcon-2yEPun",approvedIcon:"approvedIcon-3I8Nza statusIcon-2yEPun",deniedIcon:"deniedIcon-3mgLef statusIcon-2yEPun",sidebarTitle:"sidebarTitle-321nV4",status:"status-1M9P91",rejectionReason:"rejectionReason-3Qmyd7",actionedBy:"actionedBy-3V8pD0"}},7678:function(e,t,o){e.exports={icon:"icon-1OR3gE",back:"back-_74poR icon-1OR3gE",chevron:"chevron-1na0X5 icon-1OR3gE",header:"header-2jSm1D",navbar:"navbar-2vZ7h_",previous:"previous-2JMK7C",next:"next-3x7PPz",navbarTitle:"navbarTitle-1KluPS",navButton:"navButton-1ir_oT",separator:"separator-FnHpRg",navSpacing:"navSpacing-2nV0am"}},7679:function(e,t,o){e.exports={introDescription:"introDescription-388hn_",description:"description-1wEhe7",descriptionSpaced:"descriptionSpaced-2gwhpd",tabs:"tabs-3gkT2D",tab:"tab-1vbb5p",badge:"badge-Jd6Xnv",spacer:"spacer-3Fy2-T"}},7680:function(e,t,o){e.exports={titleContainer:"titleContainer-CjPpBt",titleText:"titleText-1ZIyhl",menu:"menu-32AM6u",tabBar:"tabBar-11f3uI",tabBarItem:"tabBarItem-2QyJ0U"}},7681:function(e,t,o){e.exports={container:"container-2uOrel",button:"button-4pFjxG",buttonInner:"buttonInner-2qBuz0",arrowIcon:"arrowIcon-3K-V2P"}},7682:function(e,t,o){e.exports={scroller:"scroller-3ZpLaI",colorPicker:"colorPicker-oPcnKj",colorDescription:"colorDescription-Pxuojt",divider:"divider-1QCnvR",previewContainer:"previewContainer-1KQDJS",messageContainer:"messageContainer-1DiFnQ"}},7683:function(e,t,o){e.exports={header:"header-2PmrS5",subtitle:"subtitle-czhBWq",roleContainer:"roleContainer-2-Gsum",roleName:"roleName-2fEtyh",contentContainer:"contentContainer-I7ebu8",searchBar:"searchBar-2Gqdxc",list:"list-RIkDLL",rowContainer:"rowContainer-3iZ9pN",checkBox:"checkBox-3xtnhz",memberDetails:"memberDetails-1Hi6ko",footer:"footer-XFbGBE",buttonsRight:"buttonsRight-2ODBqh",backButton:"backButton-2x86g9"}},7684:function(e,t,o){e.exports={container:"container-1igeTA",avatar:"avatar-Ktgjkc",textContainer:"textContainer-2rzLui",name:"name-kGw4u8",botTag:"botTag-hCPuoz",userTag:"userTag-1DX5j2"}},7685:function(e,t,o){e.exports={container:"container-1Saj_P",headerContainer:"headerContainer-1X2CD8",header:"header-21q_Ro",searchContainer:"searchContainer-2gy0Sr",searchWarning:"searchWarning-2nIG6E",addButton:"addButton-3VFK0j",memberRow:"memberRow-1wwtfV",emptyRowContainer:"emptyRowContainer-1OKxeI",emptyRowText:"emptyRowText-10eIhs",memberDetails:"memberDetails-2a-kJC",list:"list-3a9fyp",removeButtonContainer:"removeButtonContainer-1YsIy7",removeButton:"removeButton-spUszT",removeButtonDisabled:"removeButtonDisabled-5brXxX",removeTip:"removeTip-2HPwsk"}},7686:function(e,t,o){e.exports={group:"group-1WdBVp",item:"item-1yAxl1",disabled:"disabled-2dRm6b",allow:"allow-1PzSY3",selected:"selected-2YhbGh",deny:"deny-3nAuT6",passthrough:"passthrough-1c2ewQ"}},7687:function(e,t,o){e.exports={title:"title-N34hCG",icon:"icon-17zDF5"}},7688:function(e,t,o){e.exports={scroller:"scroller-Utb7tO",searchContainer:"searchContainer-3pUVEQ",permissionsWrapper:"permissionsWrapper-1amySy",clearButtonWrapper:"clearButtonWrapper-1WPBSh",clearButton:"clearButton-3wWY21",noResultsContainer:"noResultsContainer-1kVGAa",noResults:"noResults-3C-Rr0",permissionsForm:"permissionsForm-1DoqZ5"}},7689:function(e,t,o){e.exports={sidebarScrollable:"sidebarScrollable-1qPI87",content:"content-1rPSz4",scroller:"scroller-305q3I"}},7690:function(e,t,o){e.exports={clearButton:"clearButton-2sT92t",inputWithClearWrapper:"inputWithClearWrapper-dftAkD",clearIcon:"clearIcon-3FDYw9"}},7691:function(e,t,o){e.exports={slider:"slider-2SdUeJ",sliderBar:"sliderBar-2Trjex",markWrapper:"markWrapper-3eu0Lj",markDot:"markDot-1pxsvI",hiddenMark:"hiddenMark-1k-TL6",markLabel:"markLabel-3S5ZN1",header:"header-XGAw4g",grabber:"grabber-19Rlpm",content:"content-30rr4E",templateWrapper:"templateWrapper-3og0TJ",templateContent:"templateContent-35Kjz_",templateHeader:"templateHeader-10U6Y_",templateDescription:"templateDescription-9Qbt8m",templatePreface:"templatePreface-2fxIY8",permissionItem:"permissionItem-2Z8_s6",permissionIcon:"permissionIcon-3RYwsx",clickableTemplate:"clickableTemplate-23H9ns"}},7692:function(e,t,o){e.exports={desaturateUserColors:"desaturateUserColors-1gar-1",sidebar:"sidebar-dLM-kh",container:"container-23jqbX",titleContainer:"titleContainer-2CXtJo",titleElevated:"titleElevated-c_kdi7",title:"title-3GS0Tf",titleText:"titleText-1lbERP",disabledTitleText:"disabledTitleText-16RDWQ",addRole:"addRole-2yzR3B",list:"list-I3aHXn",row:"row-3GRgeK",lock:"lock-1sBixy",roleDot:"roleDot-ZwSovK desaturateUserColors-1gar-1",roleName:"roleName-2IkRdr",dragAfter:"dragAfter-1ydZtZ",dragBefore:"dragBefore-cCyY7J",helpSeparator:"helpSeparator-2mcq4E",helpText:"helpText-3Ggj5i",tooltip:"tooltip-1bOkFq"}},7693:function(e,t,o){e.exports={page:"page-3njELR",container:"container-HnGszW",sidebar:"sidebar-3Wgas9",contentContainer:"contentContainer-14yMzC",optionContainer:"optionContainer-6JCMvN"}},7694:function(e,t,o){e.exports={container:"container-_phMUq",icon:"icon-3_8HGa",description:"description-3A8idy",label:"label-2gpUAV",arrow:"arrow-2aE8q8"}},7695:function(e,t,o){e.exports={section:"section-1x7Sca",bannerContainer:"bannerContainer-1owGn0",banner:"banner-aJsFyZ",bannerOut:"bannerOut-3zi4zc",bannerClubs:"bannerClubs-3Xj268",bannerGaming:"bannerGaming-2JPrc4",bannerHobbies:"bannerHobbies-1oItTY",profileCard:"profileCard-2RGvbu",avatarContainer:"avatarContainer-2_ceKX",avatar:"avatar-vlk88d",avatarName:"avatarName-3m2hgE",roles:"roles-1ti6KV",rolesRow:"rolesRow-3feBSR",roleTag:"roleTag-D34VFC",roleDot:"roleDot-1AlYXT",roleText:"roleText-3gS02L",container:"container-32E5OD",button:"button-31sMrX",introBody:"introBody-1Obw1p",divider:"divider-10WNM8"}},7696:function(e,t,o){e.exports={description:"description-2lbkbS"}},7697:function(e,t,o){e.exports={desaturateUserColors:"desaturateUserColors-1gar-1",section:"section-2pJBpl",helpText:"helpText-2stV3Z",searchContainer:"searchContainer-383_ld",createButton:"createButton-3hBiU4",rolesTable:"rolesTable-3622Dd",tableHeader:"tableHeader-3x_1oD",tableTitle:"tableTitle-36-jum",dragSpacing:"dragSpacing-3xep_M",roleNameSpacing:"roleNameSpacing-XtjbtV",memberSpacing:"memberSpacing-1zJbKJ",buttonsSpacing:"buttonsSpacing-3twfdv",emptyRoles:"emptyRoles-23F3oy",emptyRolesText:"emptyRolesText-gurxgN",roleRow:"roleRow-30TwGe",roleRowDragging:"roleRowDragging-3mvS_Z",dragIcon:"dragIcon-I74byJ",roleNameContainer:"roleNameContainer-2o4-eI",shield:"shield-1-PEa- desaturateUserColors-1gar-1",lock:"lock-XkLDU9",roleName:"roleName-1vjSQR",memberCountContainer:"memberCountContainer-1BJFU2",person:"person-36TQaZ",buttonsContainer:"buttonsContainer-bgP7-t",editButton:"editButton-1V012_",circleButton:"circleButton-3RB01i",roleRowDisableHover:"roleRowDisableHover-1HiqqT",dragIconHidden:"dragIconHidden-2HNIJ_",containerDragAfter:"containerDragAfter-1PIDLd",containerDragBefore:"containerDragBefore-s8CG6h",tooltip:"tooltip-tUUTZz"}},7698:function(e,t,o){e.exports={container:"container-1eFT6O",search:"search-wlJhgh",roles:"roles-red-Qt",role:"role-2-tni0",disabled:"disabled-27wPJL",label:"label-1xpc0t",iconContainer:"iconContainer-2SYmeK",checked:"checked-1Gs3_E"}},7699:function(e,t,o){e.exports={settingsWrapper:"settingsWrapper-3IlhQx",osx:"osx-3XyQOT",backButton:"backButton-3aYUcc",windows:"windows-18x0D0",notice:"notice-18685F",noticeContents:"noticeContents-1WnXD8",noticeText:"noticeText-3SVgPc",button:"button-2TV-eO",buttonInner:"buttonInner-1XA8a8",backArrow:"backArrow-34GvnY",selectCaret:"selectCaret-1C_7kQ"}},7700:function(e,t,o){e.exports={analyticsCard:"analyticsCard-qckucw",analyticsCardTitle:"analyticsCardTitle-5dObxl",infoIcon:"infoIcon-3dyWqH",analyticsCardContent:"analyticsCardContent-3ggg9R",analyticsCardNumber:"analyticsCardNumber-2kz4gW",analyticsCardNumberNotAvailable:"analyticsCardNumberNotAvailable-22ULCX",analyticsCardArrowSubText:"analyticsCardArrowSubText-22xM8F",analyticsCardCornerIcon:"analyticsCardCornerIcon-3caFpX",trendingArrow:"trendingArrow-18JKWi",trendingArrowIconDown:"trendingArrowIconDown-2dxvwE trendingArrow-18JKWi"}},7701:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",developerPortalCtaWrapper:"developerPortalCtaWrapper-2XNafh",developerPortalCta:"developerPortalCta-3qs8qH",guildAnalyticsDivider:"guildAnalyticsDivider-2Pbkq2",overviewData:"overviewData-3-2nKg",placeholderImage:"placeholderImage-37MstR desaturate-qhyunI",developerPortalCtaText:"developerPortalCtaText-2-zF1R",notEnoughMembersError:"notEnoughMembersError-1KwJkE"}},7702:function(e,t,o){e.exports={flex:"flex-39btti",alignStart:"alignStart-ZXz_qY",alignEnd:"alignEnd-1nrmHA",alignCenter:"alignCenter-3LI_0M",alignStretch:"alignStretch-3HAs0X",alignBaseline:"alignBaseline-1xMxcY",justifyStart:"justifyStart-3Z9M1l",justifyEnd:"justifyEnd-2Y2zd6",justifyCenter:"justifyCenter--8YVyf",justifyAround:"justifyAround-5l5NVB",justifyBetween:"justifyBetween-18KOrp",noWrap:"noWrap-vaXJ4Y",wrap:"wrap-3_59An",wrapReverse:"wrapReverse-34pPE_",directionRow:"directionRow-CN8UWl",directionRowReverse:"directionRowReverse--8wMcO",directionColumn:"directionColumn-lrTCMt",spacer:"spacer-3cdnkD",vertical:"vertical-18__2x flex-39btti directionColumn-lrTCMt",horizontal:"horizontal-3AIKkG flex-39btti directionRow-CN8UWl",horizontalReverse:"horizontalReverse-3dqcaY flex-39btti directionRowReverse--8wMcO",flexCenter:"flexCenter-1-gB-f flex-39btti justifyCenter--8YVyf alignCenter-3LI_0M",streamerModeEnabled:"streamerModeEnabled-2q0Gft flexCenter-1-gB-f flex-39btti justifyCenter--8YVyf alignCenter-3LI_0M vertical-18__2x flex-39btti directionColumn-lrTCMt",streamerModeEnabledImage:"streamerModeEnabledImage-3vynUz",streamerModeEnabledBtn:"streamerModeEnabledBtn-2ZJ2eq",disabled:"disabled-1X7fxl"}},7703:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",auditLog:"auditLog-3jNbM6",divider:"divider-1pnAR2",header:"header-GwIGlr",headerDefault:"headerDefault-1wrJcN header-GwIGlr",headerClickable:"headerClickable-2IVFo9 header-GwIGlr",headerExpanded:"headerExpanded-CUEwZ5 header-GwIGlr",timeWrap:"timeWrap-2DasL6",timestamp:"timestamp-1mruiI",avatar:"avatar-_VZUJy",expand:"expand-1lx8E1",expandForeground:"expandForeground-1nZ4VR",colorHook:"colorHook-1CpiRO",userHook:"userHook-3AdCBF",discrim:"discrim-3rYTMj",changeDetails:"changeDetails-bk98pu",detail:"detail-1BhUh9",prefix:"prefix-24L010",typeCreate:"typeCreate-1kfBMl",typeDelete:"typeDelete-bTXOuk",typeUpdate:"typeUpdate-2bwuHy",dash:"dash-3L29dH",change:"change-ydJzJx",changeStr:"changeStr-12S1vf",overflowEllipsis:"overflowEllipsis-1PBFxQ",subListItem:"subListItem-3Ax2Vo",icon:"icon-RTGJu3 desaturate-qhyunI",themeOverrideLight:"themeOverrideLight-3bx_5B",targetAll:"targetAll-13V3n6",targetBan:"targetBan-3mbIPL",targetChannel:"targetChannel-TrRFlx",targetGuild:"targetGuild-mDWfAV",targetEmoji:"targetEmoji-3vhPhM",targetSticker:"targetSticker-2Z_JhN",targetIntegration:"targetIntegration-3rnyMN",targetInvite:"targetInvite-1RQBlr",targetMemberRole:"targetMemberRole-jowY3I",targetMember:"targetMember-2iuwxX",targetPermission:"targetPermission-ZRUN5n",targetRole:"targetRole-2MoUny",targetVanityUrl:"targetVanityUrl-3OpsYX",targetWebhook:"targetWebhook-1xS7Z7",targetWidget:"targetWidget-3hFVSM",targetMessage:"targetMessage-2kBYMT",targetStageInstance:"targetStageInstance-29rvVP",targetGuildScheduledEvent:"targetGuildScheduledEvent-1EbkkW",thread:"thread-1y5rGU",themeOverrideDark:"themeOverrideDark-1u5Vo0"}},7704:function(e,t,o){e.exports={marginBottom8:"marginBottom8-AtZOdT",marginBottom20:"marginBottom20-32qID7",marginTop20:"marginTop20-3TxNs6",marginReset:"marginReset-236NPn",customHeader:"customHeader-f9DEJ_",guildSettingsAuditLogsUserFilterPopout:"guildSettingsAuditLogsUserFilterPopout-3Jg5NE",userText:"userText-1WdPps",discriminator:"discriminator-3tYCOD",guildSettingsAuditLogsActionFilterPopout:"guildSettingsAuditLogsActionFilterPopout-3h8ycz",actionItem:"actionItem-11pIwh",scroller:"scroller-1J_F7B",content:"content-FNlD6K",avatar:"avatar-gPqiLm",auditLogMembersIconFg:"auditLogMembersIconFg-2dfgB-",selected:"selected-38kUfI"}},7705:function(e,t,o){e.exports={searchBar:"searchBar-281-wK",bannedUser:"bannedUser-1IalTM",bannedUserAvatar:"bannedUserAvatar-2xQUYe",username:"username-1b3MVI",discrim:"discrim-oGb-FO",bannedUserModal:"bannedUserModal-3RJCOV",header:"header-kk07Uz",userDiscrim:"userDiscrim-1D2NlF",userUsername:"userUsername-W3oZL9",reasonHeader:"reasonHeader-2etdjy",content:"content-1x7qW2",error:"error-tieM06",reason:"reason-YbfGC6"}},7706:function(e,t,o){e.exports={noScroll:"noScroll-1bz0qe",container:"container-1AAEHW noScroll-1bz0qe",sequencer:"sequencer-3wJRd3",innerSequencer:"innerSequencer-3Sw44U",modal:"modal-1O3czN",overviewSidebar:"overviewSidebar-auQZeh",header:"header-3ZTyOR",closeButton:"closeButton-2qld4J",footer:"footer-23o2Cr",overviewSteps:"overviewSteps-3CfgAC",overviewStep:"overviewStep-3J-jkA",stepTitle:"stepTitle-1gjE2e",stepIndex:"stepIndex-3rtpcw",selected:"selected-3AsYnC"}},7707:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",container:"container-1a0SKt",content:"content-8hp7TM",headerCaption:"headerCaption-5VyDgh",form:"form-Wrv68E",description:"description-1XzlaN",icon:"icon-12887d",header:"header-1olYNB",closeButton:"closeButton-2tP-tZ",footer:"footer-3ZySJx",checkboxOption:"checkboxOption-2KqgnR",disabled:"disabled-2sOg0h",footerImage:"footerImage-2KxOYG desaturate-qhyunI"}},7708:function(e,t,o){e.exports={contentSpacing:"32px",hoverDistance:"-12px",textSpacing:"8px",desaturate:"desaturate-qhyunI",container:"container-39qpSA",banner:"banner-2zWlOa desaturate-qhyunI",image:"image-2Qw4tp","floating-house":"floating-house-1vAUjZ",sparkles:"sparkles-fvfHK0",guildDetails:"guildDetails-2p1NmK",faded:"faded-1N_mPb",guildIcon:"guildIcon-nSLcmS",body:"body-3H6FDS",separator:"separator-3wQM3d",features:"features-2PXC_Z",featureCard:"featureCard-1RR4Tl",featureIcon:"featureIcon-3p1TC_",featureHeader:"featureHeader-1xIhkq",featuredText:"featuredText-kuAtot",infoIcon:"infoIcon-2xnZYY",button:"button-2X8t6P"}},7709:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",twoColumnFormSection:"twoColumnFormSection-3aoF-Y",descriptionColumn:"descriptionColumn-1Htn36",selectColumn:"selectColumn-lfJJas",firstSection:"firstSection-1rwP-J",formTitle:"formTitle-3jd5CW",formSelect:"formSelect-28-gtI",divider:"divider-2DTmGf",description:"description-29kE_D",upsellContainer:"upsellContainer-L9xv7w",upsellContent:"upsellContent-1JlpHe",upsellFooter:"upsellFooter-ZYsio_",upsellImage:"upsellImage-2ZcRsJ desaturate-qhyunI",upsellHeader:"upsellHeader-4x8Gse",upsellButton:"upsellButton-APvswJ",upsellClose:"upsellClose-3kyA8O"}},7710:function(e,t,o){e.exports={emojiSize:"20px",inputElementsPadding:"10px",closeButton:"closeButton-4FUxLM",modalContents:"modalContents-eAxMSD",headerText:"headerText-sweXCL",formDescription:"formDescription-30JriC",channelDescriptionWrapper:"channelDescriptionWrapper-2-llqU",emojiButtonContainer:"emojiButtonContainer-1zs7UV",emojiButton:"emojiButton-RnHnJT",fullOpacity:"fullOpacity-Aigg8h",emoji:"emoji-3oB8pJ",input:"input-2mfscc",clearButton:"clearButton-2Z4uzf",clearIcon:"clearIcon-onVMIA",footer:"footer-35uF_2",tooltip:"tooltip-2IG5MP"}},7711:function(e,t,o){e.exports={enableContainer:"enableContainer-6E-puu",iconCircle:"iconCircle-36YzEX",activeCircle:"activeCircle-1486wp iconCircle-36YzEX",animate:"animate-3_G5qN",enable:"enable-3KjkIW",editCircle:"editCircle-ityklj iconCircle-36YzEX",enableDescription:"enableDescription-26mbbN",previewButton:"previewButton-wsoIg2",previewContainer:"previewContainer-1SS3uO",icon:"icon-2BoU5V",welcomeHeader:"welcomeHeader-1E6iOW",welcomeTitle:"welcomeTitle-3SJzU-",headerGuildBadge:"headerGuildBadge-1Dk3k6",flowerStar:"flowerStar-lkEoN9",descriptionWrapper:"descriptionWrapper-1GiGtP",descriptionInput:"descriptionInput-3b30C8",divider:"divider-27Sb2-",addChannelButton:"addChannelButton-3j20Ox",addChannelSubtext:"addChannelSubtext-1fWjPy",welcomeChannel:"welcomeChannel-1rFrIO",disabledEmoji:"disabledEmoji-GKRWLi",dragging:"dragging-1NnLa3",channelIcon:"channelIcon-1eKmlw",warningIcon:"warningIcon-2dFY7P",channelDescriptionWrapper:"channelDescriptionWrapper-ml5lTn",channelDescription:"channelDescription-3C1p1m",channelWarning:"channelWarning-3e1Pz4"}},7712:function(e,t,o){e.exports={welcomeDescription:"welcomeDescription-16dYOx",exampleContainer:"exampleContainer-25sB-A",header:"header-2SLWai",exampleModal:"exampleModal-2X2Vf8",optionContainer:"optionContainer-1FtykV",exampleWumpus:"exampleWumpus-1zk2dq",wumpus:"wumpus-3JzuYd",tooltip:"tooltip-1_vJJI",tooltipPointer:"tooltipPointer-1awMxk"}},7713:function(e,t,o){e.exports={inputWrapper:"inputWrapper-2Pwo9_",inputOuter:"inputOuter-361qTb",inputInner:"inputInner-17tuXL",tag:"tag-2S-1By",closeWrapper:"closeWrapper-18oTVk",close:"close-3skLOj",disabled:"disabled-3z2_aY"}},7714:function(e,t,o){e.exports={modal:"modal-28-6oZ",image:"image-3kXKTd","discovery-anim":"discovery-anim-3nsIV0",header:"header-2cTU9t",title:"title-24-Ern",body:"body-3klDhE",button:"button-3lMJHb",root:"root-1Kk1RQ"}},7715:function(e,t,o){e.exports={cardHeight:"258px",card:"card-3_CqkU",iconMask:"iconMask-30Tvqs",cardPlaceholder:"cardPlaceholder-qKtx_A",placeholderPulse:"placeholderPulse-2_Z4Bq",cardHeader:"cardHeader-2XrQbx",splash:"splash-104Ug5",splashImage:"splashImage-352DQ1",splashLoaded:"splashLoaded-2qGdo9",guildIcon:"guildIcon-cyDh6h",defaultIcon:"defaultIcon-2NMkWn",acronym:"acronym-1X5Hgh",avatar:"avatar-_geuXS",guildInfo:"guildInfo-3Tdx1V",title:"title-3NAWNZ",verifiedIcon:"verifiedIcon-2NS6OA",guildName:"guildName-2z1snm",description:"description-2myUjD",memberInfo:"memberInfo-3OSanw",memberCount:"memberCount-1JulvM",memberDot:"memberDot-y8-JHF",dotOnline:"dotOnline-pxc5-3 memberDot-y8-JHF",dotOffline:"dotOffline-2ccHbp memberDot-y8-JHF",cardDisabled:"cardDisabled-1h1x-Y",cardSmall:"cardSmall-9yl0mw"}},7716:function(e,t,o){e.exports={content:"content-4eJCLj",modalHeader:"modalHeader-5MokOG",marginAfter:"marginAfter-IiM3ZP",separator:"separator-2dUoVV",failingBlock:"failingBlock-1afrol",closeButton:"closeButton-12xe4v",progressWrapper:"progressWrapper-2feR8-",progressBackground:"progressBackground-2EKw_J",progressBar:"progressBar-35txIi",labelWrapper:"labelWrapper-3nyUcr",requirement:"requirement-HjiNzo",bold:"bold-1t9kNq"}},7717:function(e,t,o){e.exports={container:"container-2w0lh0",loaderContainer:"loaderContainer-huyPxM",loadingText:"loadingText-2q2gZU",header:"header-2Y0-A-",headerIcon:"headerIcon-2S6VR5",checklistItem:"checklistItem-37OOck",separator:"separator-1COOpU",checklistIcon:"checklistIcon-6Kez2J",checklistText:"checklistText-2K8GVA",detailsButton:"detailsButton-2Vh09u",doesNot:"doesNot-36YbF_",healthPending:"healthPending-22BgqZ",healthFailingDescription:"healthFailingDescription-xc0vqi"}},7718:function(e,t,o){e.exports={background:"background-3FwLDP",discoverySettings:"discoverySettings-8j0xNl",image:"image-3rvd0n",header:"header-bw_a4i",description:"description--8OK6G",checklist:"checklist-2PoK4y",divider:"divider-3ZT-db"}},7719:function(e,t,o){e.exports={container:"container-1rn8Cv",sparkles:"sparkles-2XXTZO",header:"header-2MiVco",byline:"byline-3REiHf",discoverPreview:"discoverPreview-3q1szX",placeholderCard:"placeholderCard-3Zu1qO",previewCard:"previewCard-DOrO3c",guidelines:"guidelines-2G-CDd",enableButton:"enableButton-5IUTeW",checklist:"checklist-3Y6Fqp"}},7720:function(e,t,o){e.exports={twoColumnFormSection:"twoColumnFormSection-2Q7L4a",formColumnLeft:"formColumnLeft-133goO",formColumnRight:"formColumnRight-lC16zj",noDividerFormSection:"noDividerFormSection-vvAlYx",formTitle:"formTitle-1H5isU",formDescription:"formDescription-1M5V7q",description:"description-1wCOo3",formSelect:"formSelect-2Fx4ul",divider:"divider-28j0IL",guildCard:"guildCard-1cenlU",avatarUploaderInnerSquare:"avatarUploaderInnerSquare-2wsxgt",tag:"tag-3G5e08",closeWrapper:"closeWrapper-1ip_nt",close:"close-20aIEG",error:"error-2OpTSs"}},7721:function(e,t,o){e.exports={emojiAliasPlaceholder:"emojiAliasPlaceholder-3H_iZA",emojiAliasInput:"emojiAliasInput-1y-NBz",emojiAliasOffset:"emojiAliasOffset-3y9w1z",emojiRow:"emojiRow-zIc7ZX",emojiInput:"emojiInput-1aLNse",emojiUploader:"emojiUploader-1f0pVx",emojiRemove:"emojiRemove-1k6MlJ",emojiImage:"emojiImage-1hZi2F",emojiRowText:"emojiRowText-2j4TNM",emojiDisabled:"emojiDisabled-3hOv8O",positionRelative:"positionRelative-3HNyhz",avatar:"avatar-2Hubm8"}},7722:function(e,t,o){e.exports={wrapper:"wrapper-1sov8s",header:"header-38iSYi",secondaryHeader:"secondaryHeader-2oeRPO",icon:"icon-3oSHuZ",iconWrapper:"iconWrapper-lS1uig",detailsIcon:"detailsIcon-2LZ7Bq",detailsWrapper:"detailsWrapper-3XSaoN",headerDetailsWrapper:"headerDetailsWrapper-3vFoyW"}},7723:function(e,t,o){e.exports={card:"card-1o0mns",iconWrapper:"iconWrapper-1GmWXs",tag:"tag-2tTce6",divider:"divider-1Q2f0F",permissionHeader:"permissionHeader-asGFgR",permission:"permission-23FtuH",check:"check-2-1yhI",cross:"cross-22YsmA",rolePills:"rolePills-32B_DQ"}},7724:function(e,t,o){e.exports={card:"card-11DMwv",header:"header-AEVxpd",body:"body-1URwv3",avatarWrapper:"avatarWrapper-100Zq-",avatarUploaderInner:"avatarUploaderInner-38krIy",topDivider:"topDivider-3L6Fpy",bottomDivider:"bottomDivider-oRTNmX",copyButton:"copyButton-2dlh2G",expandIcon:"expandIcon-36eQhw",source:"source-2T0ALx",sourceName:"sourceName-1A_rmo",sourceIcon:"sourceIcon-3A2BWe",sourceGuildIcon:"sourceGuildIcon-3FBVzr",guildSource:"guildSource-zsVqWq",removeButton:"removeButton-2mQphS"}},7725:function(e,t,o){e.exports={card:"card-3IImnr",pulse:"pulse-3KGsIm",pulseBorder:"pulseBorder-1LZYy9",header:"header-146Xl5",body:"body-1zRX82",avatarWrapper:"avatarWrapper-w4yZ79",avatarUploaderInner:"avatarUploaderInner-2yzhZs",topDivider:"topDivider-3G26Ct",bottomDivider:"bottomDivider-2zO9Uj",copyButton:"copyButton-162Uy2",expandIcon:"expandIcon-3Ktz7x"}},7726:function(e,t,o){e.exports={groupHeader:"groupHeader-2HO9n1",channelName:"channelName-23gcSM"}},7727:function(e,t,o){e.exports={header:"header-1zrK9n",headerDivider:"headerDivider-Dg1-HH",headerDescription:"headerDescription-1Nd_lF",sectionHeader:"sectionHeader-3nPONz",sectionIcon:"sectionIcon-_ETEQ7",section:"section-1vojIX",emptyCard:"emptyCard-COmm00"}},7728:function(e,t,o){e.exports={updateAvailable:"updateAvailable-qNqOs7",spin:"spin-3elCWT"}},7729:function(e,t,o){e.exports={card:"card-2oHOey",header:"header-3_1L2a",expandableHeader:"expandableHeader-419nXs",body:"body-1_h7ob",topDivider:"topDivider-30ltDi",midDivider:"midDivider-1XcdC7",bottomDivider:"bottomDivider-2vNBIW",description:"description-CJJAf4",syncedRole:"syncedRole-ko_ioR",emoji:"emoji-1jNyN9",switch:"switch-3t5-zB",expandIcon:"expandIcon-h6kd__",enabledBadge:"enabledBadge-2bejG8",disableButton:"disableButton-vqsDT_"}},7730:function(e,t,o){e.exports={header:"header-3AX55L",headerDivider:"headerDivider-38pm1t",platformIcon:"platformIcon-1PGQCy",iconWrapper:"iconWrapper-1CmFNX",helpText:"helpText-3pMjkE"}},7731:function(e,t,o){e.exports={headerDivider:"headerDivider-24Gho9",emptyStateImage:"emptyStateImage-3B9eCS",emptyStateButton:"emptyStateButton-1ecMOd",sectionHeader:"sectionHeader-3mr9j6",channelName:"channelName-3PKQcf"}},7732:function(e,t,o){e.exports={card:"card-o7rAq-",caret:"caret-Ld-w32",feature:"feature-1kwvmO",featureIcon:"featureIcon-3huAlM",clickable:"clickable-ya6Upc"}},7733:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",divider:"divider-2ArnI_",sectionHeader:"sectionHeader-roK2A-",emptyStateWrapper:"emptyStateWrapper-1TYbzO",emptyStateImage:"emptyStateImage-1cmrRm desaturate-qhyunI",emptyStateCard:"emptyStateCard-1gakJi",footerPlaceholder:"footerPlaceholder-3sjNqI",footerImage:"footerImage-4UrEF0",platformIcon:"platformIcon-3ewYVp"}},7734:function(e,t,o){e.exports={headerDivider:"headerDivider-imrZvL",createButton:"createButton-3dZ1z4",emptyStateImage:"emptyStateImage-3SXmVX",emptyStateButton:"emptyStateButton-3AtrA7"}},7735:function(e,t,o){e.exports={spinner:"spinner-3PIoVi",backButton:"backButton-1C0-xm",backArrow:"backArrow-yh8dcc",breadcrumbs:"breadcrumbs-313Q_y",breadcrumbActive:"breadcrumbActive-rzcSnC",breadcrumbInactive:"breadcrumbInactive--q94Ii"}},7736:function(e,t,o){e.exports={inviteSettingsInviteRow:"inviteSettingsInviteRow-3p2O-N",headerSection:"headerSection-3-3lNF",headerDivider:"headerDivider-IXgjKK",revokeInvite:"revokeInvite-28N8uj",text:"text-21vYb9",username:"username-38XC76",channelName:"channelName-13-Sm9",countdownColumn:"countdownColumn-3NPaQ0",inviteCode:"inviteCode-202N0U",textAlignRight:"textAlignRight-9VxZrl",countdown:"countdown-3GoVpq",uses:"uses-mYuoF0",user:"user-3x-NP9",discriminator:"discriminator-uTZ08z",avatar:"avatar-1D9RQa",marginBottom20:"marginBottom20-2iRTVz"}},7737:function(e,t,o){e.exports={spacing:"spacing-10gZNy",pruneDetails:"pruneDetails-2XW25x",role:"role-3_4ahB",content:"content-160bZ2"}},7738:function(e,t,o){e.exports={spacing:"spacing-3L-47q marginBottom20-32qID7",fromToWrapper:"fromToWrapper-LEJK5w spacing-3L-47q marginBottom20-32qID7",from:"from-mPWN2E",to:"to-2819fF"}},7739:function(e,t,o){e.exports={searchBar:"searchBar-1YE5UV",membersHeader:"membersHeader-1e_dwe","ui-select":"ui-select-2Wiqwo",pruneLink:"pruneLink-3V7wes",membersCount:"membersCount-3pDYPB",membersFilterPopout:"membersFilterPopout-URUUD-","ui-scroller-wrap":"ui-scroller-wrap--ZsVcq",member:"member-1q7VfX",active:"active-2lyE_3",overflowIcon:"overflowIcon-1qLIlV",nameTag:"nameTag-3wmDUk",name:"name-8yzEIY",tag:"tag-1YGWN9",ownerHelpIcon:"ownerHelpIcon-3ItaBx",roleWrapper:"roleWrapper-1Hde_V",overflowButton:"overflowButton-D3gjra",avatar:"avatar-2tTaT6",overflowIconFg:"overflowIconFg-QMRRFI"}},7740:function(e,t,o){e.exports={buttonWithTooltip:"buttonWithTooltip-zc8RdL"}},7741:function(e,t,o){e.exports={container:"container-1s4HBn container-1nZlH6",layout:"layout-RmPevB layout-eEMo5y",input:"input-1dRteR input-1UhAnY base-96ewKC",disabled:"disabled-3R_rEF disabled-qocNLx",button:"button-cqiy5p button-3tQuzi",error:"error-3TKm5F",name:"name-3suiPo",flag:"flag-16iIBd",vip:"vip-3pFIN8",hover:"hover-2AGf5p"}},7742:function(e,t,o){e.exports={avatarUploader:"avatarUploader-2yeaMv",avatarUploaderInner:"avatarUploaderInner-3SDRO_",avatarUploaderDisabled:"avatarUploaderDisabled-310UAf",avatarUploaderInnerSquare:"avatarUploaderInnerSquare-2UOXj4",iconError:"iconError-3G2IfP",guildSettingsOverviewNotice:"guildSettingsOverviewNotice-2VluqV",divider:"divider-3wNib3",error:"error-2JokS1"}},7743:function(e,t,o){e.exports={healthFailingDescription:"healthFailingDescription-2i0N_v",detailsButton:"detailsButton-2DLM6k",healthPending:"healthPending-2vOXca",doesNot:"doesNot-182rCC",separator:"separator-Hx_3SF"}},7744:function(e,t,o){e.exports={flexCenter:"flexCenter-3_1bcw flex-1O1GKY justifyCenter-3D2jYp alignCenter-1dQNNs",wrapper:"wrapper-3JPufy",inner:"inner-2Y6JuD",ellipsis:"ellipsis-3JqXfv flexCenter-3_1bcw flex-1O1GKY justifyCenter-3D2jYp alignCenter-1dQNNs",spinnerItem:"spinnerItem-3JjAoz"}},7745:function(e,t,o){e.exports={buttonFlexContainer:"buttonFlexContainer-3I-FUG",buttonWrapper:"buttonWrapper-1AHlq-",oauthButton:"oauthButton-1qlQzP",connected:"connected-2pJS_z",checkmarkCircle:"checkmarkCircle-2n4gFf"}},7746:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",contentSpacing:"32px",container:"container-3Z2Sia",banner:"banner-2AwsUs desaturate-qhyunI",featureCards:"featureCards-3AOp7w",body:"body-jOLx1x",separator:"separator-2V2oIO",pendingBar:"pendingBar-1vOJ9X",paragraph:"paragraph-2_8gFN",requirementsImage:"requirementsImage-tqIP2X",loadingText:"loadingText-1ki_Yg",info:"info-1LuGpo",warning:"warning-3qyw2h",button:"button-3vUWW9",applicationPauseWarning:"applicationPauseWarning-SpLhap",checklistContainer:"checklistContainer-mFJZEJ",checklistHeader:"checklistHeader-1KWcEY desaturate-qhyunI",cooldown:"cooldown-2qfqBs"}},7747:function(e,t,o){e.exports={progressBarWidth:"24px",tierMarkerSize:"16px",progressBar:"progressBar-3DHbdu",bar:"bar-3S3dlZ",background:"background-3xPPFc bar-3S3dlZ",foreground:"foreground-2EIns2 bar-3S3dlZ",foregroundTooltipPosition:"foregroundTooltipPosition-3-rP__",tier:"tier-2c9-hT",tierAccomplished:"tierAccomplished-2eXPdI tier-2c9-hT",tierCurrent:"tierCurrent-Lw7-4E tier-2c9-hT",tierDefault:"tierDefault-2qaRkD tier-2c9-hT",tierInProgress:"tierInProgress-3mBoXq tier-2c9-hT",currentTierIcon:"currentTierIcon-EGY5eG",foregroundTooltip:"foregroundTooltip-_9t78D",tooltipMuted:"tooltipMuted-26IcoY"}},7748:function(e,t,o){e.exports={crossfade:"crossfade-aWRFUb",icon:"icon-2fGOj8"}},7749:function(e,t,o){e.exports={animation:"animation-10BpnT",image:"image-2PF0zB",wumpus:"wumpus-2ykFc1 image-2PF0zB",fireWrapper:"fireWrapper-foRH1S",fireTopWrapper:"fireTopWrapper-2GkNLP fireWrapper-foRH1S",fireBottomWrapper:"fireBottomWrapper-nNfjpr fireWrapper-foRH1S",fire:"fire-8ekImD image-2PF0zB"}},7750:function(e,t,o){e.exports={titleBlurb:"titleBlurb-2y0XJX",premiumGuildGracePeriodTitle:"premiumGuildGracePeriodTitle-GOD9_E",divider:"divider-Uf0Wob"}},7751:function(e,t,o){e.exports={input:"input-1UhAnY base-96ewKC",container:"container-1nZlH6",emojiSize:"22px",emojiMargin:"10px",modal:"modal-12IIoS",modalHeader:"modalHeader-2mNR1o",modalHeaderTitle:"modalHeaderTitle-Z0-97F",modalClose:"modalClose-19kmYV",formItem:"formItem-3JVqOJ",formItemRow:"formItemRow-3YXrt7",formItemRowChild:"formItemRowChild-2CiJX7",preview:"preview-3-zvcN",previewDark:"previewDark-25B6Sg",previewLight:"previewLight-WgCUFa",infoIcon:"infoIcon-1SsK3R",fileUpload:"fileUpload-3UbVpG container-1nZlH6",fileUploadInput:"fileUploadInput-32_7I1 input-1UhAnY base-96ewKC",fileUploadButton:"fileUploadButton-245ih7",emojiInputContainer:"emojiInputContainer-2U1hDR",emojiButton:"emojiButton-3JSdLV",emoji:"emoji-2hsoma",emojiText:"emojiText-3SwGUS"}},7752:function(e,t,o){e.exports={grid:"grid-2oDofK",uploadCard:"uploadCard-24zwDx",iconWrapper:"iconWrapper-11Wvjn",icon:"icon-2U40yC",emptyTierWrapper:"emptyTierWrapper-KMG0PV",unlockTierCtaHeading:"unlockTierCtaHeading-3Q9aZn",tierCardSubheading:"tierCardSubheading-IziHG4",uploadCardLabel:"uploadCardLabel-375Lg_"}},7753:function(e,t,o){e.exports={upsellContainer:"upsellContainer-3UlEOE",upsellHeader:"upsellHeader-1hxaKJ",upsellDescription:"upsellDescription-2tl0qd",upsellButtons:"upsellButtons-2rBMtn",upsellButtonPrimary:"upsellButtonPrimary-3wB664",upsellButton:"upsellButton-1QHAmZ",uploadRequirementsList:"uploadRequirementsList-2CtxQd",divider:"divider-JGc9Sw"}},7754:function(e,t,o){e.exports={button:"button-2Nu6xU"}},7755:function(e,t,o){e.exports={descriptionBox:"descriptionBox-1EKQKL",descriptionSection:"descriptionSection-3RrpaD",descriptionRow:"descriptionRow-m_KyqB",descriptionIcon:"descriptionIcon-36p1fN",divider:"divider-3EPVl6",button:"button-diNJzH",rightButtonContainer:"rightButtonContainer-3iAOfD",lastSync:"lastSync-3w-SGv",buttonContainer:"buttonContainer-30ZaKi"}},7756:function(e,t,o){e.exports={dot:"dot-2s_oHI",container:"container-B6pmO9"}},7757:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",container:"container-3fU7kz",banner:"banner-2G2Kv6 desaturate-qhyunI",body:"body-2qxsf3",list:"list-12ab-g",button:"button-3fGQs-",divider:"divider-28aV-g"}},7758:function(e,t,o){e.exports={prefixInput:"prefixInput-14nUik",prefixInputInput:"prefixInputInput-cqxbLV",prefixInputPrefix:"prefixInputPrefix-2IUJ4X",focused:"focused-2QzoMt",error:"error-6_-E9g"}},7759:function(e,t,o){e.exports={marginTop20:"marginTop20-3TxNs6",marginBottom20:"marginBottom20-32qID7",marginBottom8:"marginBottom8-AtZOdT",editVanityUrlCard:"editVanityUrlCard-1ocV41",removeVanityUrlButton:"removeVanityUrlButton-LmUQ7O marginTop20-3TxNs6",formTitleField:"formTitleField-sjXjUF"}},7760:function(e,t,o){e.exports={container:"container-1qX8H5",iconWrapper:"iconWrapper-3dFGl9",innerContainer:"innerContainer-1uResN",star:"star-g655ws",sparkle:"sparkle-3izqUK"}},7761:function(e,t,o){e.exports={intro:"intro-mpvfDK",enableTicketingDescription:"enableTicketingDescription-9YWNus",selectTeamContainer:"selectTeamContainer-9OWk9e",teamSelect:"teamSelect-2udc2T",enableTicketingButton:"enableTicketingButton-3d-sfE",divider:"divider-2IFoWR",confirmationIcon:"confirmationIcon-EmhJyE",confirmationHeader:"confirmationHeader-37B2BY",confirmationBody:"confirmationBody-2IHfwu",error:"error-3x4Tm_",ticketingEnabledContainer:"ticketingEnabledContainer-2PI7_6",ticketingEnabledIcon:"ticketingEnabledIcon-3rY6iZ",ticketingEnabledTitle:"ticketingEnabledTitle-EdBWzb"}},7762:function(e,t,o){e.exports={serverBoostTabItem:"serverBoostTabItem-2hFTIN",icon:"icon-3Povsy"}},7763:function(e,t,o){e.exports={hack:"hack-3ZLZIE undefined",content:"content-1nP7fx",contentNoMedia:"contentNoMedia-1yP2hn content-1nP7fx",contentWithMedia:"contentWithMedia-3YF06_ content-1nP7fx",contentNarrowWithMedia:"contentNarrowWithMedia--qMz0o contentWithMedia-3YF06_ content-1nP7fx",contentNarrowNoMedia:"contentNarrowNoMedia-Il01H1 contentNoMedia-1yP2hn content-1nP7fx",contentWideWithMedia:"contentWideWithMedia-2q24e5 contentWithMedia-3YF06_ content-1nP7fx",contentWideNoMedia:"contentWideNoMedia-22TIu6 contentNoMedia-1yP2hn content-1nP7fx",leftArrow:"leftArrow-fNTiNn",rightArrow:"rightArrow-1u-p-_",topArrow:"topArrow-1B63md",contentNarrowMedia:"contentNarrowMedia-W7SHxH",mediaContainer:"mediaContainer-1H1Z_r",background:"background-2lsEHp",title:"title-eQ0ZMf",titleCenter:"titleCenter-2bwbDI title-eQ0ZMf",titleLeft:"titleLeft-2erkAr title-eQ0ZMf",body:"body-2awMwV",buttonSkipCenterAlign:"buttonSkipCenterAlign-2kUfCH",buttonSkipLeftAlign:"buttonSkipLeftAlign-2Oe1kC",bodyCenter:"bodyCenter-1ilK3X body-2awMwV",bodyLeft:"bodyLeft-3Dnrhp body-2awMwV",buttonContainer:"buttonContainer-lZQm0q"}},7764:function(e,t,o){e.exports={container:"container-2k0FnA"}},7765:function(e,t,o){e.exports={container:"container-1bog4s"}},7766:function(e,t,o){e.exports={container:"container-om6VJQ",personAvatar:"personAvatar-2_BWgA",guildAvatar:"guildAvatar-335csq",illustration:"illustration-6eULCC",avatarSizeOverride:"avatarSizeOverride-3xEJPs"}},7767:function(e,t,o){e.exports={icon:"icon-7Z466E",voiceConversationsTitle:"voiceConversationsTitle-2LSHDw",writingMessagesTitle:"writingMessagesTitle-3jhgwS",organizeByTopicTitle:"organizeByTopicTitle-301ebv",voiceChannelsTitle:"voiceChannelsTitle-3UxkpI",channelsTitle:"channelsTitle-1-1-6I"}},7768:function(e,t,o){e.exports={indicator:"indicator-1afSc8",animationContainer:"animationContainer-C1kDfz",animating:"animating-1Fb05y",notAnimating:"notAnimating-2EIRej",top:"top-3fo3zT","exclaim-loop":"exclaim-loop-TJkd9E","quick-fade-out":"quick-fade-out-3IYyUm",bottom:"bottom-UE1eOv","dot-loop":"dot-loop-2Y4ENp",innerCircle:"innerCircle-2Tsscg","inner-circle-loop":"inner-circle-loop-2ptEJN",highPriority:"highPriority-2lg-eA","inner-circle-loop-high-priority":"inner-circle-loop-high-priority-2YYlba",outerCircle:"outerCircle-2K0c82","outer-circle-loop":"outer-circle-loop-2tj-Tq","outer-circle-loop-high-priority":"outer-circle-loop-high-priority-26WkDY"}},7769:function(e,t,o){e.exports={message:"message-15tBk4 marginBottom20-32qID7",buttonSpacing:"buttonSpacing-t6MPeJ"}},7770:function(e,t,o){e.exports={spaceBeforeCategory:"16px",containerDefault:"containerDefault-3tr_sE",containerDragAfter:"containerDragAfter-Zk9oyx",containerDragBefore:"containerDragBefore-1YqewQ",containerUserOver:"containerUserOver-98-yc7",disableClick:"disableClick-2cV7sZ",addButton:"addButton-3bLyEA",forceVisible:"forceVisible-2L54of",iconVisibility:"iconVisibility-fhcwiH",addButtonIcon:"addButtonIcon-2CbG1X",wrapper:"wrapper-PY0fhH",clickable:"clickable-536fPF",children:"children-L002ao",mainContent:"mainContent-2h-GEV",icon:"icon-2yIBmh",collapsed:"collapsed-2-tg8y",muted:"muted-2JBAyG",name:"name-3l27Hl"}},7771:function(e,t,o){e.exports={container:"container-3JKcAb",spine:"spine--Wla_O"}},7772:function(e,t,o){e.exports={actionButton:"actionButton-1V43zQ"}},7773:function(e,t,o){e.exports={container:"container-Z1e__-",breadcrumbContainer:"breadcrumbContainer-17YEk8",breadcrumbDot:"breadcrumbDot-3eLOAX",breadcrumbsHeader:"breadcrumbsHeader-mUTUau",breadcrumbText:"breadcrumbText-2ke9Y5"}},7774:function(e,t,o){e.exports={childButton:"childButton-1YQj1L",childText:"childText-14xafo",childIcon:"childIcon-Igk31A"}},7775:function(e,t,o){e.exports={errorContainer:"errorContainer-5JZJqd",errorIcon:"errorIcon-2Ju191",closeIcon:"closeIcon-3JDh8t",errorText:"errorText-2qrOUj"}},7776:function(e,t,o){e.exports={headerContainer:"headerContainer-1_v1NT"}},7777:function(e,t,o){e.exports={infoBox:"infoBox-3cF-U2"}},7778:function(e,t,o){e.exports={checkboxRow:"checkboxRow-1M3WZu"}},7779:function(e,t,o){e.exports={container:"container-TWalHr",guildContainer:"guildContainer-rLqRwd",header:"header-1AvvVC",guildInfo:"guildInfo-TdcO_a",guildIcon:"guildIcon-3DWgjd",channelTopic:"channelTopic-JV8cRZ"}},7780:function(e,t,o){e.exports={successImg:"successImg-22YMZM"}},7781:function(e,t,o){e.exports={container:"container-29TH31",closeButton:"closeButton-1i8QXa",header:"header-23AbUh",body:"body-3m34lL"}},7782:function(e,t,o){e.exports={liveIndicator:"liveIndicator-vaS2et",audienceVoiceUserContainer:"audienceVoiceUserContainer-Ra-ErA",audienceVoiceUserIconContainer:"audienceVoiceUserIconContainer-29oflP",audienceVoiceUserText:"audienceVoiceUserText-BhGzmw",iconLive:"iconLive-AtZKgD"}},7783:function(e,t,o){e.exports={popout:"popout-APcvZm",more:"more-3VADkW",row:"row-1ImlrZ",title:"title-3JU2Q6",avatar:"avatar-3oP4LX",bullet:"bullet-_MbFpS",timestamp:"timestamp-25yOdb",name:"name-1Rd7lI"}},7784:function(e,t,o){e.exports={container:"container-35XQWE",bar:"bar-30k2ka",active:"active-1SSsBb",unread:"unread-1xRYoj active-1SSsBb",mention:"mention-1f5kbO active-1SSsBb",icon:"icon-2aINcz",text:"text-2e2ZyG"}},7785:function(e,t,o){e.exports={card:"card-162cZT",inline:"inline-2xsvL9",live:"live-1O-Flx",label:"label-2MR3CA",spacing:"spacing-3fzqk1",status:"status-uEYj9_",dot:"dot-3fs7sa",description:"description-2c1SWw"}},7786:function(e,t,o){e.exports={header:"header-2MrRa6",content:"content-1SXGsJ",icon:"icon-mQDO2w",divider:"divider-2XFZvB"}},7787:function(e,t,o){e.exports={container:"container-1JlpAi",content:"content-yRQWBL",buttonContainer:"buttonContainer-15ADiW",primaryButton:"primaryButton-1cpVhw",cancel:"cancel-2CYseG",image:"image-3gx4Uc"}},7788:function(e,t,o){e.exports={container:"container-2dqNWc",activity:"activity-3jdl2U",partyMembers:"partyMembers-3pB2CJ",partyAvatar:"partyAvatar-1Bvt5q",morePartyMembers:"morePartyMembers-3ByVZj",button:"button-uXr0L2"}},7789:function(e,t,o){e.exports={wrapper:"wrapper-2tAnRe",total:"total-i6us2n",users:"users-3kndPl",video:"video-35SpgT",extraLong:"extraLong-3WkB9d",videoIcon:"videoIcon-2ZdSMk"}},7790:function(e,t,o){e.exports={scroller:"scroller-RmtA4e",unread:"unread-15xhX5 container-35XQWE",unreadBar:"unreadBar-3t3sYc",unreadBottom:"unreadBottom-1_LF_w unread-15xhX5 container-35XQWE",positionedContainer:"positionedContainer-3LNR6L",unreadTop:"unreadTop-3rAB3r unread-15xhX5 container-35XQWE",voiceUserSummary:"voiceUserSummary-2X_2vp"}},7791:function(e,t,o){e.exports={container:"container-1taM1r",clickable:"clickable-25tGDB",animatedContainer:"animatedContainer-1NSq4T",bannerImage:"bannerImage-3KhIJ6",header:"header-2V-4Sw",bannerVisible:"bannerVisible-2ZE_qG",selected:"selected-31Nl7x",hasBanner:"hasBanner-2SrLR3",dropdown:"dropdown-2kjUTJ",guildIconContainer:"guildIconContainer-2FW_iA",name:"name-1jkAdW",tierTooltipTitle:"tierTooltipTitle-3AtaZT",guildBadge:"guildBadge-3IDi4U",premiumGuildIconGem:"premiumGuildIconGem-DAxGL7",iconTierNone:"iconTierNone-38r4c_",disableColor:"disableColor-2z9rkr",iconBackgroundTierNone:"iconBackgroundTierNone-3ZkOsa",iconBackgroundTierOne:"iconBackgroundTierOne-2OQMBY",iconBackgroundTierThree:"iconBackgroundTierThree-FWlUL9",iconBackgroundTierTwo:"iconBackgroundTierTwo-Eab9L6",iconTierOne:"iconTierOne-s_oiRb",iconTierTwo:"iconTierTwo-1JOWNK",iconTierThree:"iconTierThree-3EAOB7"}},7792:function(e,t,o){e.exports={searchAnswer:"searchAnswer-3Dz2-q",searchFilter:"searchFilter-2ESiM3"}},7793:function(e,t,o){e.exports={container:"container-3ayLPN elevationBorderHigh-2WYJ09",queryContainer:"queryContainer-RKFJW-",queryShortcut:"queryShortcut-hJIQMF",queryText:"queryText-3xoOY7",focused:"focused-2bY0OD"}},7794:function(e,t,o){e.exports={resultsGroup:"resultsGroup-r_nuzN",searchClearHistory:"searchClearHistory-2cSSMO",searchLearnMore:"searchLearnMore-3SQUAj",header:"header-2N-gMV",option:"option-96V44q",selected:"selected-rZcOL-",plusIcon:"plusIcon-v0BTrL",nonText:"nonText-3CRkO0",filter:"filter-3Y_im-",answer:"answer-1n6g43",user:"user-O3Czj0",displayAvatar:"displayAvatar-1wWlVM",displayedNick:"displayedNick-3xxvzU",displayUsername:"displayUsername-Qekxml",linkSource:"linkSource-1-3cE_",searchOption:"searchOption-zQ-1l6",datePicker:"datePicker--XZbmJ",datePickerHint:"datePickerHint-3Q1Udw",hint:"hint-165cR4",hintValue:"hintValue-29ny8Z",searchResultChannelIcon:"searchResultChannelIcon-1DnTme",searchResultChannelCategory:"searchResultChannelCategory-1l0lSn",searchResultChannelIconBackground:"searchResultChannelIconBackground-7ncwtC",resultChannel:"resultChannel-3BYgHX"}},7795:function(e,t,o){e.exports={search:"search-2oPWTC",searchBar:"searchBar-3dMhjb",icon:"icon-38sknP",focused:"focused-31_ccS",open:"open-6_Y_aH"}},7796:function(e,t,o){},7797:function(e,t,o){e.exports={progressCircle:"progressCircle-1hzs_b",circle:"circle-vWlbvd",circleBackgroundAlt:"circleBackgroundAlt-Eohdst",circleBackground:"circleBackground-OqqxHM",circleProgress:"circleProgress-1EBmVn",circleOverlay:"circleOverlay-2WHDjO"}},7798:function(e,t,o){e.exports={progressContainer:"progressContainer-GRWlbC",downloadIcon:"downloadIcon-3TWA3B"}},7799:function(e,t,o){e.exports={wrapper:"wrapper-sa6paO",item:"item-2hkk8m"}},7800:function(e,t,o){e.exports={wrapper:"wrapper-25eVIn",wrapperSimple:"wrapperSimple-19ogV2 wrapper-25eVIn",svg:"svg-1X37T1",lowerBadge:"lowerBadge-29hYVK",upperBadge:"upperBadge-2XnnGB",focusStroke:"focusStroke-1ApElc",focusFill:"focusFill-3Y4YuU",simpleFocused:"simpleFocused-1xIlHX"}},7801:function(e,t,o){e.exports={wrapper:"wrapper-2q53zr",half:"half-2cquxE",edge:"edge-1lOOiT",middle:"middle-2H7H6R",higher:"higher-qTpvVk",autoPointerEvents:"autoPointerEvents-3UGDkq"}},7802:function(e,t,o){e.exports={wrapper:"wrapper-1BJsBx",childWrapper:"childWrapper-anI2G9",selected:"selected-bZ3Lue",acronym:"acronym-2mOFsV",icon:"icon-27yU2q"}},7803:function(e,t,o){e.exports={container:"container-2QQFFz",row:"row-35Mhio",revokeInvite:"revokeInvite-2KlrFs",boostZIndex:"boostZIndex-15qgGS",userColumn:"userColumn-3TGvQA boostZIndex-15qgGS",code:"code-16ahh6",username:"username-xgZTi8",avatar:"avatar-Tg15I6",discrimClass:"discrimClass-dYDxPL",alignRight:"alignRight-1lRNxs",countdown:"countdown-2VKTMl alignRight-1lRNxs"}},7804:function(e,t,o){e.exports={pill:"pill-1Z5PKm"}},7805:function(e,t,o){e.exports={title:"title-2sg2wH",subtitle:"subtitle-1tsRgk",img:"img-14RJ4C"}},7806:function(e,t,o){e.exports={checkbox:"checkbox-2isuxc",errorMessage:"errorMessage-1Zosc1",smsVerifyErrorMessage:"smsVerifyErrorMessage-1tY1Rc",createAccountTemplateHeader:"createAccountTemplateHeader-2nHsFv",horizontalAuthBox:"horizontalAuthBox-3g0z2L",flex:"flex-3GtgJ6",smsVerifyCodeBox:"smsVerifyCodeBox-gId9DB",segmentControl:"segmentControl-3pvqPk",segmentControlOptionSelected:"segmentControlOptionSelected-3OpUdZ",segmentControlOption:"segmentControlOption-qN207-",subtleLoginSwitcher:"subtleLoginSwitcher-1nGw3h"}},7807:function(e,t,o){e.exports={pill:"pill-3N7f9r",downloadProgress:"downloadProgress-1G7zLO",homeIcon:"homeIcon-FuNwkv",tutorialContainer:"tutorialContainer-2sGCg9"}},7808:function(e,t,o){e.exports={pendingIcon:"pendingIcon-3a0BH-"}},7809:function(e,t,o){e.exports={wrapper:"wrapper-3NnKdC",hidden:"hidden-3dXt4k",tree:"tree-2wKJdG",scroller:"scroller-1Bvpku",scrolling:"scrolling-3wBKsn",unreadMentionsIndicatorBottom:"unreadMentionsIndicatorBottom-2mDYbI",unreadMentionsIndicatorTop:"unreadMentionsIndicatorTop-2-tcdU",unreadMentionsBar:"unreadMentionsBar-1Bu1dC"}},7810:function(e,t,o){e.exports={friendWrapper:"friendWrapper-2SrUFF",friend:"friend-3KALPe",avatar:"avatar-vr5NCN",checkbox:"checkbox-22U-7-",match:"match-23yWrF",nickname:"nickname-O95uts",discordTag:"discordTag-X7dpau",friendSelected:"friendSelected-1sa4bG"}},7811:function(e,t,o){e.exports={directionColumn:"directionColumn-35P_nr",popout:"popout-103y-5",searchBar:"searchBar-1Vaz-O",searchBarComponent:"searchBarComponent-yxeVIL",addButton:"addButton-tsPCpZ",subtitleWarning:"subtitleWarning-11fCy8",noResults:"noResults-ZTbl5V",scroller:"scroller-hUf6zQ",copyInput:"copyInput-fU5OcD",noBorder:"noBorder-3d42mF",copyButton:"copyButton-1r9_ji",errorState:"errorState-KkUH_2",errorStateIcon:"errorStateIcon-3fNXE5",notFriends:"notFriends-SkjxV-",noFriends:"noFriends-1fVUuM",partyFull:"partyFull-35IpOX",footerSeparator:"footerSeparator-M9dQY1",footer:"footer-1eyGBa",weightMedium:"weightMedium-3CtpYl",selectExistingFormHeader:"selectExistingFormHeader-2lvZyI",confirmChannelItemContainer:"confirmChannelItemContainer-26y0vz",confirmChannelName:"confirmChannelName-2B0Rjy",lastActiveTimestamp:"lastActiveTimestamp-WmAhFE",confirmInviteScroller:"confirmInviteScroller-2IX49p",subtitle:"subtitle-2P4u9v",footerText:"footerText-3w69ae"}},7812:function(e,t,o){e.exports={wrapper:"wrapper-3D2qGf",overlay:"overlay-2SwBN8",headerOverlay:"headerOverlay-2mAFik overlay-2SwBN8",sectionOverlay:"sectionOverlay-2i3R5I overlay-2SwBN8",twitchOverlay:"twitchOverlay-CYlF3G overlay-2SwBN8",section:"section-2gLsgF",clickableIcon:"clickableIcon-32gFJk",sectionTitle:"sectionTitle-b-eawy",textContent:"textContent-3N7xXx",separator:"separator-XqIyoz",inset:"inset-2ML61G",header:"header-211Syv",headerFull:"headerFull-1dyyvV header-211Syv",headerSimple:"headerSimple-2n13P7 header-211Syv",headerAvatar:"headerAvatar-2MDZJn",headerIcon:"headerIcon-10Jegm",multipleIconWrapper:"multipleIconWrapper-DfGWrz",multipleIcon:"multipleIcon-1oJINS",body:"body-1ld4H7",voiceSection:"voiceSection-1uiU7a",voiceSectionAssets:"voiceSectionAssets-1gjfmz",voiceSectionDetails:"voiceSectionDetails-2DQTfs",voiceSectionText:"voiceSectionText-vrWR1s",voiceSectionGuildImage:"voiceSectionGuildImage-3HwnfL",voiceSectionNoGuildImageWrapper:"voiceSectionNoGuildImageWrapper-TicZR3",voiceSectionNoGuildImage:"voiceSectionNoGuildImage-DSaGg-",voiceSectionIconWrapper:"voiceSectionIconWrapper-FO7UEY",voiceSectionIcon:"voiceSectionIcon-1b3cOo",applicationStreamingSection:"applicationStreamingSection-1YWLV7",applicationStreamingAvatar:"applicationStreamingAvatar-2iYCcz",applicationStreamingPreviewWrapper:"applicationStreamingPreviewWrapper-8QqvVY",applicationStreamingHoverWrapper:"applicationStreamingHoverWrapper-31lOYj",applicationStreamingPreviewSize:"applicationStreamingPreviewSize-3NIvhL",applicationStreamingHoverText:"applicationStreamingHoverText-IEVyfS",xboxSection:"xboxSection-Lw6vjc",xboxSectionIcon:"xboxSectionIcon-1Y8MqF",twitchSection:"twitchSection-1igfBl",twitchSectionHeader:"twitchSectionHeader-2QggTa",twitchSectionSimple:"twitchSectionSimple-3r5e1V twitchSectionHeader-2QggTa",twitchSectionFull:"twitchSectionFull-2gHsjm twitchSectionHeader-2QggTa",twitchSectionIcon:"twitchSectionIcon-3Vs9SA",twitchSectionPlayButton:"twitchSectionPlayButton-29EKzF",twitchSectionAvatar:"twitchSectionAvatar-lHNqxc",twitchSectionPreviewWrapper:"twitchSectionPreviewWrapper-28s2_4",twitchSectionPreview:"twitchSectionPreview-Fjjwbv",gameSection:"gameSection-DL895r",gameSectionIcon:"gameSectionIcon-Q7MbAx",activitySection:"activitySection-cEg8ae",activitySectionAssets:"activitySectionAssets-32WyHu",largeImageMask:"largeImageMask-KlyeCi",largeImage:"largeImage-DLXk-f",smallImage:"smallImage-1p6VYD",spotifySection:"spotifySection-2-AVOl activitySection-cEg8ae"}},7813:function(e,t,o){e.exports={modal:"modal-3O0aXp",content:"content-s2SEQO"}},7814:function(e,t,o){e.exports={container:"container-3RCQyg",header:"header-3uLluP",description:"description-1sDbzZ",emptyChannelIcon:"emptyChannelIcon-cc932w",locked:"locked-1jf7pL"}},7815:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",container:"container-3zqIcM",inner:"inner-3GZ54g",titleName:"titleName-3-Lp3Z",subtitle:"subtitle-2UIIw0",noChildren:"noChildren-1pQQQE",cardWrapper:"cardWrapper-2R6-SX",card:"card-3RzMcx",completed:"completed-13TrxW",cardHeader:"cardHeader-2Wz67Q",icon:"icon-2ou77m desaturate-qhyunI",playCircleWrapper:"playCircleWrapper-2wNttI",playCircleIcon:"playCircleIcon-274lgc",checkmark:"checkmark-3rush5",animate:"animate-_rBhnd",arrow:"arrow-3bRNiS"}},7816:function(e,t,o){e.exports={applicationCommandEducation:"applicationCommandEducation-2jAJ0B base-gE7OpD",applicationCommandEducationFadeIn:"applicationCommandEducationFadeIn-1g7fXy",applicationCommandEducationPrompt:"applicationCommandEducationPrompt-1IxFoc",applicationCommandEducationArrow:"applicationCommandEducationArrow-1DVDdr",applicationCommandEducationInfo:"applicationCommandEducationInfo-2QWJXK"}},7817:function(e,t,o){e.exports={base:"base-gE7OpD",text:"text-1y-e8-",ellipsis:"ellipsis-19qdx6",cooldownWrapper:"cooldownWrapper-3joyFc",slowModeIcon:"slowModeIcon-1BPDC_",typing:"typing-2GQL18 base-gE7OpD",activityInviteEducation:"activityInviteEducation-8C0Czp base-gE7OpD",activityInviteEducationFadeIn:"activityInviteEducationFadeIn-1MAMAO",activityInviteEducationArrow:"activityInviteEducationArrow-3DEpKU"}},7818:function(e,t,o){e.exports={marginTop8:"marginTop8-1DLZ1n",marginTop20:"marginTop20-3TxNs6",marginBottom20:"marginBottom20-32qID7",subHeader:"subHeader-27gFHC marginTop20-3TxNs6",preview:"preview-yX6Nx7 marginTop8-1DLZ1n",textArea:"textArea-1ZhGKi marginTop8-1DLZ1n marginBottom20-32qID7"}},7819:function(e,t,o){e.exports={menu:"menu-1NyPgn",optionLabel:"optionLabel-gOA3fK",optionIcon:"optionIcon-1HDcpY",optionName:"optionName-uM5yH-",tipSubtext:"tipSubtext-10zY2N",tipIcon:"tipIcon-1pF2H_"}},7820:function(e,t,o){e.exports={attachWrapper:"attachWrapper-2TRKBi",attachButton:"attachButton-2WznTc",attachButtonInner:"attachButtonInner-PQjIyk",attachButtonPlus:"attachButtonPlus-jWVFah",attachButtonPlay:"attachButtonPlay-3iJ0mf",attachPopout:"attachPopout-36hjtN",attachPopoutRow:"attachPopoutRow-3iqqu1",attachPopoutRowText:"attachPopoutRowText-2R5RC2",attachPopoutIcon:"attachPopoutIcon-1QXhWW",uploadInput:"uploadInput-1XtQef"}},7821:function(e,t,o){e.exports={wrapper:"wrapper-1F5TKx",compact:"compact-3Dy1Ya",cozy:"cozy-12kSNU",contents:"contents-1R-xLu",content:"content-2LZomT",blob:"blob-2w7iIK",hidden:"hidden-3F3FRy",header:"header-1oLBbW",attachmentContainer:"attachmentContainer-2BK1nK",attachment:"attachment-2p5mHK",avatar:"avatar-2daVqv",compactTimestamp:"compactTimestamp-1eheHm"}},7822:function(e,t,o){e.exports={wrapper:"wrapper-3vR61M"}},7823:function(e,t,o){e.exports={wrapper:"wrapper-3_530D",button:"button-F9qN4n",focused:"focused-3ZzkKr",icon:"icon-QGKz8T"}},7824:function(e,t,o){e.exports={container:"container-1If-HZ",scroller:"scroller-1-nKid",reactors:"reactors-Blmlhw",reactionDefault:"reactionDefault-GBA58K",reactionSelected:"reactionSelected-1pqISm",emoji:"emoji-236_Ij",emojiText:"emojiText-271HfV",spinner:"spinner-j8Y2Rh",spinnerMore:"spinnerMore-3kGpfg",reactor:"reactor-3UBcOI",reactorDefault:"reactorDefault-1IUqMZ reactor-3UBcOI",reactorFinal:"reactorFinal-3Q2B0w reactor-3UBcOI",name:"name-1ug6d4",nickname:"nickname-miBZxb",username:"username-Af3M5Y",tagFaded:"tagFaded-WP86yt",discriminator:"discriminator-byOsvi",remove:"remove-3V-yj8"}},7825:function(e,t,o){e.exports={wrapper:"wrapper-2aW0bm",button:"button-1ZiXG9",selected:"selected-LCBEAU",separator:"separator-42rNt0",disabled:"disabled-1RZyKz",dangerous:"dangerous-2r8KxV"}},7826:function(e,t,o){e.exports={container:"container-3npvBV",isHeader:"isHeader-2dII4U",icon:"icon-3Gkjwa"}},7827:function(e,t,o){e.exports={popout:"popout-6p6fkZ",staffBadge:"staffBadge-3NsEoM",nameWrapper:"nameWrapper-2D9_np",header:"header-NC1A_A",description:"description-1u26oc",avatar:"avatar-Ylrxl9"}},7828:function(e,t,o){e.exports={operations:"operations-36ENbA"}},7829:function(e,t,o){e.exports={container:"container--XcPWC",tooltip:"tooltip-BPhxJN",tooltipPointer:"tooltipPointer-lElcog",clickable:"clickable-3AL_3x",mention:"mention-z5tRxB",spinner:"spinner-2_i11Y"}},7830:function(e,t,o){e.exports={avatar:"avatar-3z61ij",avatarMask:"avatarMask-2SqW1n",avatarContainer:"avatarContainer-3cVycu",container:"container-1fnzfI",divider:"divider-3yU4s2",action:"action-26D6fg",mutualGuilds:"mutualGuilds-3ESEpu"}},7831:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",role:"role-1P70N6",roleColor:"roleColor-fHISxl desaturate-qhyunI"}},7832:function(e,t,o){e.exports={button:"button-Y95Muf",role:"role-3UN8jj",removeRole:"removeRole-qIOFzq",removeRoleIcon:"removeRoleIcon-3cxu5j"}},7833:function(e,t,o){e.exports={button:"button-18p_f6",buttonIcon:"buttonIcon-3PejT5"}},7834:function(e,t,o){e.exports={popoutWrapper:"popoutWrapper-2iuzmw",scroller:"scroller-12C_OJ",avatars:"avatars-1uE2Po",avatar:"avatar-Nt40nT",overflow:"overflow-zcSaC_"}},7835:function(e,t,o){e.exports={members:"members-2iaVuN",avatars:"avatars-kJA12W",singleUserName:"singleUserName-3vezsa",role:"role-78i2xt",last:"last-2Vmb4e",editRoleButton:"editRoleButton-3CjAQv",editRoleButtonInner:"editRoleButtonInner-1eZ2Nf",channelSettingButtons:"channelSettingButtons-23CIRg"}},7836:function(e,t,o){e.exports={buttonContainer:"buttonContainer-2GVjL_"}},7837:function(e,t,o){e.exports={containerExpanded:"containerExpanded-3MGTRr",button:"button-3QRWIM",containerCompact:"containerCompact-18xElE",compactButton:"compactButton-195WSV",compactButtonDisabled:"compactButtonDisabled-1WXLm6",text:"text-3iVxFB",error:"error-2FUaRj"}},7838:function(e,t,o){e.exports={messagesWrapper:"messagesWrapper-1sRNjr",scrollerContent:"scrollerContent-WzeG7R",scroller:"scroller-2LSbBU",scrollerInner:"scrollerInner-2YIMLh",scrollerSpacer:"scrollerSpacer-avRLaA",empty:"empty-6MGttt",navigationDescription:"navigationDescription-3hiGKr",messages:"messages-2A2jgy",scrollerWrap:"scrollerWrap-3tDLUn",divider:"divider-2iuYRE",messageGroupBlocked:"messageGroupBlocked-18d86s"}},7839:function(e,t,o){e.exports={chatHeaderBar:"chatHeaderBar-4vZS1x",narrow:"narrow-1f-G-z",chatHeaderBarText:"chatHeaderBarText-1_O_1M",nudgeBarText:"nudgeBarText-H913yL",chatHeaderBarButton:"chatHeaderBarButton-UiIh3z",nudgeAction:"nudgeAction-3AY7i2"}},7840:function(e,t,o){e.exports={wrapper:"wrapper-39oAo3",content:"content-c_0cLD",image:"image-3XsqGc",animation:"animation-10aT2_",text:"text-2yjo70",title:"title-FVgbgL",button:"button-1YxJv4",buttonContainer:"buttonContainer-3AU1Ij",countdown:"countdown-1saXFt"}},7841:function(e,t,o){e.exports={animationLeft:"animationLeft-fJlcCc",animationMiddle:"animationMiddle-ZfETtz",animationRight:"animationRight-dw5zDz",animationContainer:"animationContainer-WR_1ku",header:"header-2PVxw-",container:"container-OhOeuR",button:"button-152dkf"}},7842:function(e,t,o){e.exports={modal:"modal-SN2Box",followSuccessHeader:"followSuccessHeader-1Lfr8S",image:"image-1XD_iw",body:"body-2EgyBy",root:"root-3izi7w"}},7843:function(e,t,o){e.exports={bottomMargin:"bottomMargin-3rKQFe",topMargin:"topMargin-BmjSYK",body:"body-1nWvdt",header:"header-1pGpFt",formMargin:"formMargin-f9sZDL",noScroll:"noScroll-38vYzX",content:"content-wjJP6h noScroll-38vYzX",guildOption:"guildOption-dBe3l5",icon:"icon-n8WYF4",channelContainer:"channelContainer-1x3D6I",channel:"channel-2PJTLY",channelName:"channelName-2HcGlq",channelIcon:"channelIcon-3ci4bV icon-n8WYF4"}},7844:function(e,t,o){e.exports={clickableChannelTextArea:"clickableChannelTextArea-390-mS"}},7845:function(e,t,o){e.exports={disableFlex:"disableFlex-2QuzIB"}},7846:function(e,t,o){e.exports={akaBadge:"akaBadge-1M-1Gw",nicknames:"nicknames-1XK4Zt",avatars:"avatars-2Vu8nT",avatar:"avatar-3Bhz0p",tooltip:"tooltip-2ADRCz",spacer:"spacer-3kEb8l",moreAvatars:"moreAvatars-DvjcrZ",plusIcon:"plusIcon-1tBDmr"}},7847:function(e,t,o){e.exports={container:"container-1MGX4D",input:"input-2A_zIr",outer:"outer-o9SjPm"}},7848:function(e,t,o){e.exports={container:"container-3FPLD3",channelName:"channelName-qsg_a_"}},7849:function(e,t,o){e.exports={topic:"topic-TCb_qw",expandable:"expandable-9fI_e3",content:"content-38qMG0"}},7850:function(e,t,o){e.exports={gatedContent:"gatedContent-3-B7qB",image:"image-2LqJex",title:"title-1VcOOr",description:"description-2ydcYn",separator:"separator-2IZ9ro",action:"action-yrVND8",actionRed:"actionRed-gYn8D3"}},7851:function(e,t,o){e.exports={scroller:"scroller-11cdZM",wrapper:"wrapper-3V1W3E",ageGatedImage:"ageGatedImage-ZIiHiE"}},7852:function(e,t,o){e.exports={finePrintWithOverheadSeparator:"finePrintWithOverheadSeparator-3Ck7zO",finePrint:"finePrint-ULGqdp"}},7853:function(e,t,o){e.exports={button:"button-G2dHuB"}},7854:function(e,t,o){e.exports={body:"body-o4R7g3",invoiceTable:"invoiceTable-uozjUU",errorBlock:"errorBlock-148auo",cancelImage:"cancelImage-BuMJnt",previewStep:"previewStep-3m8dMV",loading:"loading-n5I-9N",renewalInvoiceDate:"renewalInvoiceDate-3Dk4xC",invoiceCancelRow:"invoiceCancelRow-1YYT42"}},7855:function(e,t,o){e.exports={banner:"banner-3Kac2g",bannerBackgroundImage:"bannerBackgroundImage-1DMjWi",image:"image-S2twTr",details:"details-nLuvoA",tierGrandfathered:"tierGrandfathered-R6zrrD",planName:"planName-1SYoJ1",tier1:"tier1-1ttHRY",discordWordmark:"discordWordmark-1QjTBy",classicWordmark:"classicWordmark-3t6v0a",canceled:"canceled-nz3kfr",failedPayment:"failedPayment-31_H4y",tier2:"tier2-3hSil0",planInfo:"planInfo-1bDJtx",buttons:"buttons-2FmDnk",toolsButtons:"toolsButtons-PF_TzW",toolsButton:"toolsButton-9wOG4D",externalButton:"externalButton-24IwRV"}},7856:function(e,t,o){e.exports={header:"header-3VTydC",dropdown:"dropdown-2fxkrS",externalContainer:"externalContainer-20zADp",externalLink:"externalLink-ExuH7J",finePrint:"finePrint-2QTm37",container:"container-2Zlzt0"}},7857:function(e,t,o){e.exports={root:"root-22W39p",infoIcon:"infoIcon-1hgep4",text:"text-28SVqU",cancelLink:"cancelLink-3dTqoc",modalBody:"modalBody-1Fnupy"}},7858:function(e,t,o){e.exports={section:"section-3sEseC",renewalMutationNotice:"renewalMutationNotice-2JLeAG",grandfatheredMessage:"grandfatheredMessage-1BnHtv",grandfatheredMessageText:"grandfatheredMessageText-mSdgqp",grandfatheredIcon:"grandfatheredIcon-18y60L",subscriptionRows:"subscriptionRows-1fgok1",guildSubscriptionRow:"guildSubscriptionRow-2S89Tf",premiumGuildSubscriptionRow:"premiumGuildSubscriptionRow-2IqHyL",premiumGuildSubscriptionRowActive:"premiumGuildSubscriptionRowActive-1WxLXI premiumGuildSubscriptionRow-2IqHyL",premiumGuildSubscriptionRowBackground:"premiumGuildSubscriptionRowBackground-1prHMc",premiumGuildImage:"premiumGuildImage-ead1A0",premiumGuildSubscriptionRowCanceled:"premiumGuildSubscriptionRowCanceled-1bb7tg premiumGuildSubscriptionRow-2IqHyL",premiumGuildSubscriptionRowFailedPayment:"premiumGuildSubscriptionRowFailedPayment-2jUagX premiumGuildSubscriptionRow-2IqHyL",sectionTitle:"sectionTitle-Q8N7Yv",sectionDescription:"sectionDescription-3uMpPK",premiumGuildSubscriptionRowBody:"premiumGuildSubscriptionRowBody-2wCdzk",premiumGuildWordmark:"premiumGuildWordmark-1mlAhH",details:"details-1YZMDP",detailsBlock:"detailsBlock-FoDTGA",detailBlockHeader:"detailBlockHeader-UY8ynz",billingInformation:"billingInformation-1MZXzx",finePrint:"finePrint-xGGTK5",cardText:"cardText-1Z_Qur",noItemsCard:"noItemsCard-153Tex",noItemsIcon:"noItemsIcon-21jJYT"}},7859:function(e,t,o){e.exports={banner:"banner-338jRj",description:"description-1vL0_0",button:"button-2xO-dU"}},7860:function(e,t,o){e.exports={buttons:"buttons-2-EdE8",buttonsCenter:"buttonsCenter-11FqDP",button:"button-1PXUl0"}},7861:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",hero:"hero-EvfTTA desaturate-qhyunI",featureImage:"featureImage-2L9kA0 desaturate-qhyunI",featureTitle:"featureTitle-W5O6R1 desaturate-qhyunI",heroIcon:"heroIcon-3QgOM5",heroHeader:"heroHeader-IulZgg",heroBody:"heroBody-2P4UF5",heroButtons:"heroButtons-2NvgKB",featuresHeader:"featuresHeader-4YwLcc",featureGrid:"featureGrid-3-fNl-",feature:"feature-2w65J5",featureNewBadge:"featureNewBadge-24rCe6",featureDescription:"featureDescription-1wp-zJ",featureChildrenWrapper:"featureChildrenWrapper-smz30S",featureImageWrapper:"featureImageWrapper-pPDLjm",featureEmoji:"featureEmoji-3pTtR2",featureProfile:"featureProfile-tTo0C-",featurePremiumGuild:"featurePremiumGuild-2KpCr6",featureBadge:"featureBadge-3ZA-Ca",featureUploadSize:"featureUploadSize-2CAVFL",featureGoLive:"featureGoLive-30cvVw",newBadge:"newBadge-1Is7Nf",newBadgeContainer:"newBadgeContainer-3wCcs5",sparkle:"sparkle-1qyWC9",sparkleStarTopRight:"sparkleStarTopRight-1uWZTi sparkle-1qyWC9",sparkleStarRight:"sparkleStarRight-3STViN sparkle-1qyWC9",sparkleStarBottomLeft:"sparkleStarBottomLeft-3dycVF sparkle-1qyWC9",learnMoreLink:"learnMoreLink-21wlRq",itemInfoIcon:"itemInfoIcon-3tr1nj",featureMoreServers:"featureMoreServers-14Thw5",featurePerGuildAvatar:"featurePerGuildAvatar-2_iyrl",featureLongerMessageContent:"featureLongerMessageContent-1RADxx",stickers:"stickers-1O9_W6",newSparkles:"newSparkles-1I8M41"}},7862:function(e,t,o){e.exports={premiumSubscriptionAccountCredit:"premiumSubscriptionAccountCredit-25i0tQ",accountCreditRow:"accountCreditRow-SHgyi0",iconBackground:"iconBackground-31rJvE",iconBackgroundTier1:"iconBackgroundTier1-2GOcU8 iconBackground-31rJvE",iconBackgroundTier2:"iconBackgroundTier2-2TeI3a iconBackground-31rJvE",icon:"icon-3sGKXp",rowDetails:"rowDetails-1SvMsB",rowApplied:"rowApplied-3NfPr1",rowCreditCount:"rowCreditCount-DCSjaQ"}},7863:function(e,t,o){e.exports={container:"container-3hJah8",loading:"loading-2h_lbn",background:"background-1x1RRp",content:"content-2rHwqL",subSectionHeader:"subSectionHeader-N-hnka",sectionAccountCredit:"sectionAccountCredit-2-BmhN",subscriptionDetails:"subscriptionDetails-1pYrMz",accountCredit:"accountCredit-3kfYY9",accountCreditTitle:"accountCreditTitle-Gprf_B",accountCreditDescription:"accountCreditDescription-iqLTBT",cardText:"cardText-2rQaHq",noItemsCard:"noItemsCard-3TSAgO",noItemsIcon:"noItemsIcon-ygEH8z"}},7864:function(e,t,o){e.exports={mediaQueryMobileHeader:"849px",storeHomeWidth:"1245px",container:"container-xm7Ad0",homeBody:"homeBody-3SD9SR",scroller:"scroller-9moviB",categoryHeader:"categoryHeader-1D7Tqy",viewAllGamesButton:"viewAllGamesButton-bY6nOl",viewAllIcon:"viewAllIcon-1NItEP",viewAllGames:"viewAllGames-3LNpt1",viewAllGamesButtonInner:"viewAllGamesButtonInner-2z4OXI",viewAllNitroGames:"viewAllNitroGames-3v3cAi",homeTile:"homeTile-3qVuGa",spinner:"spinner-3POzOM",homeWrapper:"homeWrapper-3-Wh5T",homeWrapperNormal:"homeWrapperNormal-2KSUEa homeWrapper-3-Wh5T",marketingWrapper:"marketingWrapper-2TD9Zv homeWrapper-3-Wh5T",premiumApplicationsHeader:"premiumApplicationsHeader-Zmkm5e",headerBar:"headerBar-1YYOfi",premiumContainer:"premiumContainer-2Iux5m"}},7865:function(e,t,o){e.exports={divider:"divider-21LyPb"}},7866:function(e,t,o){e.exports={contentRating:"contentRating-vVpg2G",esrb:"esrb-3wYCg9",pegi:"pegi-1o7c-g",esrbEveryone:"esrbEveryone-1dzGF6 esrb-3wYCg9",esrbEveryoneTenPlus:"esrbEveryoneTenPlus-2ZAnky esrb-3wYCg9",esrbTeen:"esrbTeen-2h1lXd esrb-3wYCg9",esrbMature:"esrbMature-2jZOEq esrb-3wYCg9",esrbAdult:"esrbAdult-qtxzsD esrb-3wYCg9",esrbRatingPending:"esrbRatingPending-jFYtJn",pegiThree:"pegiThree-2dnjtY pegi-1o7c-g",pegiSeven:"pegiSeven-3AFD82 pegi-1o7c-g",pegiTwelve:"pegiTwelve-1JqdtA pegi-1o7c-g",pegiSixteen:"pegiSixteen-2LI_Mq pegi-1o7c-g",pegiEighteen:"pegiEighteen-3WQT17 pegi-1o7c-g"}},7867:function(e,t,o){e.exports={content:"content-1zhNsr",rating:"rating-3zQia4"}},7868:function(e,t,o){e.exports={collapsed:"collapsed-1454et",blurb:"blurb-1iBKJy",description:"description-1AwRKJ",toggleCollapseButton:"toggleCollapseButton-2wffKu",assetWrapper:"assetWrapper-2Qw_5D",asset:"asset-3V-FUM"}},7869:function(e,t,o){e.exports={features:"features-_IOqVv",row:"row-1bU71H",checkmarkIcon:"checkmarkIcon-2EnYwn",featureIcon:"featureIcon-1f78KU",featureText:"featureText-2crhND"}},7870:function(e,t,o){e.exports={content:"content-3FEARf"}},7871:function(e,t,o){e.exports={right:"right-3LuawF",down:"down-d6yAn2",left:"left-1sNJYj"}},7872:function(e,t,o){e.exports={alignCenter:"alignCenter-2ks2JT",alignLeft:"alignLeft-3BQquR",horizontalPaginationItemContainer:"horizontalPaginationItemContainer-26FwrR",verticalPaginationItemContainer:"verticalPaginationItemContainer-3buRwR alignLeft-3BQquR",arrow:"arrow-2ZP1wS",arrowContainer:"arrowContainer-10m4Cy",prevButtonContainer:"prevButtonContainer-Rc83MJ arrowContainer-10m4Cy",nextButtonContainer:"nextButtonContainer-30eXDb arrowContainer-10m4Cy"}},7873:function(e,t,o){e.exports={item:"item-3V15ea",currentItem:"currentItem-UAeoVQ",itemImage:"itemImage-2Y74no",currentImage:"currentImage-3bYzZH itemImage-2Y74no",itemImageWrapper:"itemImageWrapper-1ig0yT",itemVideo:"itemVideo-1NRzca",paginationItem:"paginationItem-3-iI7C",storePaginationImg:"storePaginationImg-2P8SMo",selectedStorePaginationItem:"selectedStorePaginationItem-2t23h9",unselectedStorePaginationItem:"unselectedStorePaginationItem-3alXda",overlappingBorder:"overlappingBorder-1-XPGl",paginationVideoOverlay:"paginationVideoOverlay-2gIa1v",paginationVideoPlayPill:"paginationVideoPlayPill-2lM3nS",pagination:"pagination-1iCa-F",carouselButtonsContainer:"carouselButtonsContainer-Rba2-D",arrow:"arrow-3jRqK8",arrowHovered:"arrowHovered-3mk8lq",scroller:"scroller--qpKGq",video:"video-38qD3Y",mediaPlayer:"mediaPlayer-3r_SRR",videoWrapper:"videoWrapper-2nTcpi"}},7874:function(e,t,o){e.exports={wrapper:"wrapper-Dh-cqn",slide:"slide-2-GJd5",nav:"nav-i0puL6",navPrev:"navPrev-2EwaYx nav-i0puL6",navNext:"navNext-26RXCD nav-i0puL6"}},7875:function(e,t,o){e.exports={animator:"animator-US5i9g",item:"item-5R5nmE"}},7876:function(e,t,o){e.exports={flex:"flex-1O1GKY",directionRow:"directionRow-3v3tfG",root:"root-3tU4d2",carousel:"carousel-22Gq5X",carouselItem:"carouselItem-RHizth",pagination:"pagination-20ouY7",themedPagination:"themedPagination-3v0Dnu pagination-20ouY7",arrowHitbox:"arrowHitbox-2_hxtQ",arrow:"arrow-vOpU7R",arrowHitboxPadding:"arrowHitboxPadding-2stwpJ",dots:"dots-3VxbPX flex-1O1GKY directionRow-3v3tfG",dot:"dot-2Q_mMZ",dotNormal:"dotNormal-9wUKKy dot-2Q_mMZ",dotSelected:"dotSelected-3RYKgX dot-2Q_mMZ"}},7877:function(e,t,o){e.exports={smallCarousel:"smallCarousel-2e0IQc",smallCarouselItem:"smallCarouselItem-1rfKEJ",smallCarouselImage:"smallCarouselImage-2Qvg9S",embedContainer:"embedContainer-26S24y",sizedToParent:"sizedToParent-3arRUS"}},7878:function(e,t,o){e.exports={matureListing:"matureListing-3tyHbV"}},7879:function(e,t,o){e.exports={countdown:"countdown-2AUg9c",unit:"unit-1m8KS3",unitClose:"unitClose-3p7axD unit-1m8KS3",unitNormal:"unitNormal-S1JDT- unit-1m8KS3",duration:"duration-38ZM7M",header:"header-11pEmr"}},7880:function(e,t,o){e.exports={alternativeSkus:"alternativeSkus-1IZIkB",alternativeSku:"alternativeSku-2r0c9j",alternativeSkuDefault:"alternativeSkuDefault-1yqWuK alternativeSku-2r0c9j",alternativeSkuSelected:"alternativeSkuSelected-3Qhw9n alternativeSku-2r0c9j",selectedIcon:"selectedIcon-1VX7G3"}},7881:function(e,t,o){e.exports={info:"info-1Emy1X",details:"details-31ROOk",row:"row--Szcq7",contentHeader:"contentHeader-1R8tQ_",label:"label-13UUcd"}},7882:function(e,t,o){e.exports={warning:"warning-n1YvYR",title:"title-3zfWaO",description:"description-Gcecy9",link:"link-249fAx",red:"red-2ChJaa",yellow:"yellow-2DRjXu"}},7883:function(e,t,o){e.exports={title:"title-2xCQKy",sku:"sku-epQEb_",skuNormal:"skuNormal-3h1es- sku-epQEb_",skuLast:"skuLast-WnrIv2 sku-epQEb_",name:"name-u2zgy7",price:"price-NUANu6",collapseButton:"collapseButton-32NMMH"}},7884:function(e,t,o){e.exports={section:"section-foaVwT",header:"header-2Fr7dn section-foaVwT",bodySection:"bodySection-jqkkIP section-foaVwT",entitledHeader:"entitledHeader-3LRNDT header-2Fr7dn section-foaVwT",entitledHeaderIcon:"entitledHeaderIcon-nxWD70",headerFancy:"headerFancy-1AcCLF header-2Fr7dn section-foaVwT",exclusiveHeader:"exclusiveHeader-1vnEtm headerFancy-1AcCLF header-2Fr7dn section-foaVwT",exclusiveHeaderExclusive:"exclusiveHeaderExclusive-2pT9JV",exclusiveHeaderIcon:"exclusiveHeaderIcon-1v3uvk",premiumHeader:"premiumHeader-3aB1ow headerFancy-1AcCLF header-2Fr7dn section-foaVwT",premiumHeaderIcon:"premiumHeaderIcon-bTc_nQ",premiumHeaderPrice:"premiumHeaderPrice-1F1CMD",alternativeSkus:"alternativeSkus-1Av0rq",countdownSection:"countdownSection-8BWHXa",headerBar:"headerBar-3cOLpD",actionText:"actionText-3EKWER",countdownHeader:"countdownHeader-latdKn actionText-3EKWER",releaseDate:"releaseDate-28xyN1",price:"price-4PDWNj",priceRow:"priceRow-2AWjHv",priceSalePercentage:"priceSalePercentage-1WxDsw",priceOriginalAmount:"priceOriginalAmount-2ylj9i",warning:"warning-2DA6zZ",dlcSection:"dlcSection-jvKaVf",purchaseError:"purchaseError-3jQvJF",secondaryBuyButton:"secondaryBuyButton-2c9gx_"}},7885:function(e,t,o){e.exports={recommendationReason:"recommendationReason-21q3aC",circle:"circle-1nK_79",icon:"icon-2qcd9w",iconCircle:"iconCircle-1dlYo0 circle-1nK_79",earlyAccess:"earlyAccess-HnHc6a",premiumCircle:"premiumCircle-3jgziV",smallHeader:"smallHeader-2h-9-U",text:"text-1Z3P6i",description:"description-2jnn3p",staffIcon:"staffIcon-2MB1se",nitroIcon:"nitroIcon-2uS3VJ"}},7886:function(e,t,o){e.exports={recommendationActivity:"recommendationActivity-EJN6Ps",players:"players-2Tcfos",playerAvatar:"playerAvatar-3EAx5P",avatarMasked:"avatarMasked-1s1eiJ",playerOverflow:"playerOverflow-2Hf77M",description:"description-2Ifi6N",username:"username-2gp_Xw",tooltip:"tooltip-18WADv",tooltipTimestamp:"tooltipTimestamp-3tv3H9",discriminator:"discriminator-2q6SFg"}},7887:function(e,t,o){e.exports={header:"header-3BlBga",staffReviewHeader:"staffReviewHeader-r0iDCy",headerText:"headerText-34JZSx",label:"label-2zCFFs",username:"username-Ga9-tM",notes:"notes-3hkVr0"}},7888:function(e,t,o){e.exports={root:"root-1bFE0x",header:"header-3HFF3R",section:"section-7tu4tu",sectionContent:"sectionContent-1_X7BG",unit:"unit-2r571b",review:"review-1hG2hB"}},7889:function(e,t,o){e.exports={breadcrumb:"breadcrumb-22XhB5"}},7890:function(e,t,o){e.exports={tabs:"tabs-cN0XDH",separator:"separator-1tvx79",tab:"tab-3lcWsW",tabPageLarge:"tabPageLarge-1iyX69 tab-3lcWsW",tabPageSmall:"tabPageSmall-2uu0KD tab-3lcWsW",tabNotSelected:"tabNotSelected-1l9_nl",sectionTitle:"sectionTitle-Zi_w7u",requirementsContainer:"requirementsContainer-3N-apS",requirements:"requirements-dEriwm",requirement:"requirement-2guSgu",requirementKey:"requirementKey-14DT2D",tabNotSelectedColor:"tabNotSelectedColor-3P16F-",tabSelectedColor:"tabSelectedColor-2b3xO9",tabSelected:"tabSelected-3IK-Xf"}},7891:function(e,t,o){e.exports={dropdownArrowHitbox:"dropdownArrowHitbox-1-jUwM",dropdownArrow:"dropdownArrow-3hUdu6",arrowSeparator:"arrowSeparator-ZLk2V2",dropdownSmall:"dropdownSmall-2nM_vD dropdownArrowHitbox-1-jUwM",dropdownMedium:"dropdownMedium-32DQxh dropdownArrowHitbox-1-jUwM",dropdownLarge:"dropdownLarge-3n2kcQ dropdownArrowHitbox-1-jUwM"}},7892:function(e,t,o){e.exports={inviteSmall:"inviteSmall-1mi1Fc",content:"content-35aVm0",info:"info-3hEr5J",inviteLarge:"inviteLarge-37aL4C",guildIcon:"guildIcon-3du51s",infoText:"infoText-2DvX0j",name:"name-3TBxUq",memberInfo:"memberInfo-1TAaKC",dot:"dot-33s_8n",dotOnline:"dotOnline-3qrf96 dot-33s_8n",dotOffline:"dotOffline-1PVTuj dot-33s_8n",memberText:"memberText-14Qowr",actionButton:"actionButton-2Pkgbp",joinedCheckmark:"joinedCheckmark-1cdXz7",buttonColorInGuild:"buttonColorInGuild-2hfayS"}},7893:function(e,t,o){e.exports={listingWrapper:"listingWrapper-329f74",outerScroller:"outerScroller-1W6jP0",scroller:"scroller-1JpcIc",noHeaderSpacer:"noHeaderSpacer-321X3p",headerAssets:"headerAssets-2CL92w",headerBackground:"headerBackground-3Sjqjz",headerLogo:"headerLogo-2O9XZd",link:"link-2T7oYD",linkIcon:"linkIcon-PzfbqY",spinner:"spinner-3N25TF",listing:"listing-2nUQ4d",gatedListing:"gatedListing-3Ry5Oi",contentRating:"contentRating-W0e7H-",description:"description-3z5Lb3",guildInvite:"guildInvite-3fvAbr",legalInfo:"legalInfo-lVTrbD",news:"news-27xNIP",premiumPerks:"premiumPerks-zFst3i",purchaseUnit:"purchaseUnit-2lxci3",whyYouMightLikeIt:"whyYouMightLikeIt-2zZIIj",systemRequirements:"systemRequirements-1L5nPd",marketingHeader:"marketingHeader-3in4BD",headerBarListing:"headerBarListing-3DL3sL",headerPurchase:"headerPurchase-2z_nch",headerSection:"headerSection-VnaiAo",active:"active-MpmWDn",testModeSelectButton:"testModeSelectButton-3Tz96u",headerActionButton:"headerActionButton-24JFAX",listingLarge:"listingLarge-3Rix7u",body:"body-1HEBKj",leftColumn:"leftColumn-1scUu2",rightColumn:"rightColumn-2YXQ85",listingSmall:"listingSmall-d9e5gC",purchaseError:"purchaseError-1fA5nO"}},7894:function(e,t,o){e.exports={premiumIcon:"premiumIcon-2lve6h",platformIcon:"platformIcon-2NdO9F",icon:"icon-KgjVwm",iconWindows:"iconWindows-1KG_XN icon-KgjVwm",iconApple:"iconApple-1hp9Sq icon-KgjVwm",iconAndroid:"iconAndroid-3HTSwF icon-KgjVwm",iconUSFlag:"iconUSFlag-2aEzZR icon-KgjVwm",btn:"btn-2o56RF",textLink:"textLink-27KAGV",textLinkSmall:"textLinkSmall-1iFB8H textLink-27KAGV",testModeSKUSelector:"testModeSKUSelector-1z7rGh",premiumLogo:"premiumLogo-30dge3",premiumText:"premiumText-C5NcRe",premiumAction:"premiumAction-3Tcani",ellipsis:"ellipsis-AB-iKn"}},7895:function(e,t,o){e.exports={channel:"channel-2QD9_O",closeButton:"closeButton-2GCmT5",linkButtonIcon:"linkButtonIcon-Mlm5d6",closeIcon:"closeIcon-rycxaQ",subtext:"subtext-1RtU34",activity:"activity-525YDR subtext-1RtU34",activityText:"activityText-OW8WYb",activityEmoji:"activityEmoji-1AR8K6",decorator:"decorator-3MaMCZ"}},7896:function(e,t,o){e.exports={empty:"empty-388osJ",scroller:"scroller-1JbKMe",headerText:"headerText-2F0828",privateChannelsHeaderContainer:"privateChannelsHeaderContainer-3NB1K1",privateChannelRecipientsInviteButtonIcon:"privateChannelRecipientsInviteButtonIcon-3A3uTc"}},7897:function(e,t,o){e.exports={cardHeight:"320px",minCardWidth:"248px",gutterSize:"16px",guildListSection:"guildListSection-2CS8vH",subtitle:"subtitle-160Q0A",guildList:"guildList-3cJX3d"}},7898:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",gutterSize:"16px",cardWidth:"256px",maxPageWidth:"1608px",pageWrapper:"pageWrapper-1PgVDX",pageHeaderDrag:"pageHeaderDrag-OPlmbm",viewWrapper:"viewWrapper-8-8h4T",searchPage:"searchPage-3m5ssC",scroller:"scroller-1d5FgU",dragRegion:"dragRegion-1CaXN-",searchPageDrag:"searchPageDrag-3TmAeh",searchHeader:"searchHeader-2I26nG",headerImage:"headerImage-3X1tyY desaturate-qhyunI",headerContentWrapper:"headerContentWrapper-2u32yq",headerContent:"headerContent-2gImvv",searchTitle:"searchTitle-36D1cB",searchSubtitle:"searchSubtitle-2jsC5X",guildList:"guildList-1ItbxP",footer:"footer-2jdoRS",footerImage:"footerImage-1CwWjz"}},7899:function(e,t,o){e.exports={categoryItem:"categoryItem-1QIroW",selectedCategoryItem:"selectedCategoryItem-FHKU_o",itemInner:"itemInner-gPkiWb",hubIcon:"hubIcon-12dQt1",new:"new-2Mtscr",newText:"newText-2sy7A0"}},7900:function(e,t,o){e.exports={wrapper:"wrapper-2AQieU",saturation:"saturation-1FDvtn",hue:"hue-13HAGb"}},7901:function(e,t,o){e.exports={container:"container-3sNMIc",customContainer:"customContainer-3fZxdw",defaultContainer:"defaultContainer-Z8qCJn",custom:"custom-2SJn4n",preset:"preset-10Y8Fc",colorPickerCustom:"colorPickerCustom-2CWBn2",customColorPickerInput:"customColorPickerInput-14pB0r",input:"input-GfazGc",colorPickerRow:"colorPickerRow-1LgLnl",colorPickerSwatch:"colorPickerSwatch-5GX3Ve",default:"default-cS_caM",disabled:"disabled-1C4eHl",colorPickerDropper:"colorPickerDropper-3c2mIf",noColor:"noColor-1pdBDm",colorPickerDropperFg:"colorPickerDropperFg-3jYKWI"}},7902:function(e,t,o){e.exports={flexCenter:"flexCenter-3_1bcw flex-1O1GKY justifyCenter-3D2jYp alignCenter-1dQNNs",justifyBetween:"justifyBetween-2tTqYu",alignCenter:"alignCenter-1dQNNs",desaturate:"desaturate-qhyunI",lockIcon:"lockIcon-2Hj8Tq desaturate-qhyunI",btn:"btn-1PnLxm",btnPrimary:"btnPrimary-1jluZW",userSettingsSecurityImage:"userSettingsSecurityImage-21pI_Q",userSettingsSecurity:"userSettingsSecurity-3IYeMF",isEnabled:"isEnabled-24g9qA",checkboxGroup:"checkboxGroup-3_9osm",code:"code-2d9-2m",phoneRevealer:"phoneRevealer-3-Mv3e",changePasswordButton:"changePasswordButton-1LGVWT",accountWarningBodyText:"accountWarningBodyText-3_2oAj",backupCode:"backupCode-1iCDnI",codeCheckbox:"codeCheckbox-1T0TTy",userProfileCustomizationSection:"userProfileCustomizationSection-3nHZ-9",nitroIcon:"nitroIcon-1oDfAa",customizationTitle:"customizationTitle-1mlo_w",betaTag:"betaTag-2ZuBkl"}},7903:function(e,t,o){e.exports={wrapper:"wrapper-3jrx9n",disabledSelected:"disabledSelected-2Kf0yZ",option:"option-n0icdO",hiddenInput:"hiddenInput-AN-Xon",bottomLeft:"bottomLeft-39-xss option-n0icdO",bottomRight:"bottomRight-1T56wW option-n0icdO",topLeft:"topLeft-3buHIc option-n0icdO",topRight:"topRight-3GKDeL option-n0icdO",disabled:"disabled-3I9jyo",disabledIcon:"disabledIcon-9QatvX",selected:"selected-mKYnfr"}},7904:function(e,t,o){e.exports={button:"button-14-BFJ",enabled:"enabled-2cQ-u7",disabled:"disabled-2iW-fm"}},7905:function(e,t,o){e.exports={subtext:"subtext-3CDbHg"}},7906:function(e,t,o){e.exports={title:"title-eS5yk3"}},7907:function(e,t,o){e.exports={result:"result-oB0z--",resultDefault:"resultDefault-1ymv3u result-oB0z--",resultFocused:"resultFocused-3aIoYe result-oB0z--",content:"content-1jxX5g",contentDefault:"contentDefault-16dKSY content-1jxX5g",contentUnread:"contentUnread-3gTHvA content-1jxX5g",iconContainer:"iconContainer-3UxHn2",gameIcon:"gameIcon-2hcrAo",gameIconSize:"gameIconSize-1Kq-T4",icon:"icon-30q1Or",name:"name-2NBmhj",misc:"misc-1CT3G7",match:"match-38WbBN",badge:"badge-36LyGI",note:"note-S--UP5",username:"username-2hHyRL",header:"header-13MUnb",dmIconContainer:"dmIconContainer-2yFeX3 iconContainer-3UxHn2",guildIconContainer:"guildIconContainer-1M95yt iconContainer-3UxHn2",guildIcon:"guildIcon-Ripiyt",avatarSizeOverride:"avatarSizeOverride-2KySyz",score:"score-HzQK9w"}},7908:function(e,t,o){e.exports={modalWidth:"500px",modalHeight:"400px",wrapper:"wrapper-EG0WaC",modalSize:"modalSize-FMC6FT",header:"header-1DHqOG",closeButton:"closeButton-3-P7ti",noResults:"noResults-24KNHj",queryInput:"queryInput-1mXTvF",miscContainer:"miscContainer-2uOgaa"}},7909:function(e,t,o){e.exports={modal:"modal-LD5FRI"}},7910:function(e,t,o){e.exports={icon:"icon-3Oovq9",badge:"badge-1JXQev"}},7911:function(e,t,o){e.exports={panel:"panel-24C3ux",body:"body-GmmuPm",liveBadge:"liveBadge-yuNuMC",gameWrapper:"gameWrapper-1jIQAX",liveIndicator:"liveIndicator-3ALYHg",clickableGameWrapper:"clickableGameWrapper-2fpjdx",gameIconWrapper:"gameIconWrapper-1YByCI",gameIcon:"gameIcon-2YB8Et",info:"info-WdNIDE",gameName:"gameName-13va7o",actions:"actions-aUdUfC"}},7912:function(e,t,o){e.exports={popoutWidth:"250px",container:"container-2x5lvQ",debugButton:"debugButton-1Zec0y",header:"header-2C89wJ",secured:"secured-1Yihly",popoutBottom:"popoutBottom-31rU82"}},7913:function(e,t,o){e.exports={ping:"ping-2NgC8E",smallPing:"smallPing-R4na2o",rtcConnectionStatus:"rtcConnectionStatus-2-jIsi",rtcConnectionStatusLabel:"rtcConnectionStatusLabel-1wk4tH",rtcConnectionStatusConnected:"rtcConnectionStatusConnected-VRZDjy rtcConnectionStatusLabel-1wk4tH",rtcConnectionStatusConnecting:"rtcConnectionStatusConnecting-3322Pa rtcConnectionStatusLabel-1wk4tH",rtcConnectionStatusError:"rtcConnectionStatusError-2hLzrL rtcConnectionStatusLabel-1wk4tH",rtcConnectionQualityFine:"rtcConnectionQualityFine-2J6i8z",pingForeground:"pingForeground-2uAOZ3",rtcConnectionQualityAverage:"rtcConnectionQualityAverage-3KV0u-",rtcConnectionQualityBad:"rtcConnectionQualityBad-1J7mUU",labelWrapper:"labelWrapper-Pniq53"}},7914:function(e,t,o){e.exports={container:"container-1giJp5",inner:"inner-tyMogq",channel:"channel-1TmDQ6",statusWithPopout:"statusWithPopout-3ZfFol",hotspot:"hotspot-2bOhC8",customStatusContainer:"customStatusContainer-3MngWi",noiseCancellationPopout:"noiseCancellationPopout-iRK2A0",noiseCancellationTooltip:"noiseCancellationTooltip-h4yuQJ",krispLogo:"krispLogo-a9msDI",krispLink:"krispLink-2mtfLU",micTestButton:"micTestButton-m2rQFo",beta:"beta-27QNCS",connection:"connection-3KRENF",voiceUsers:"voiceUsers-YsH5Db",actionButtons:"actionButtons-14eAc_",button:"button-1YfofB",disabled:"disabled-158sUq",buttonColor:"buttonColor-7qQbGO",buttonActive:"buttonActive-3FrkXp",fauxDisabled:"fauxDisabled-2ik0Vw",buttonIcon:"buttonIcon-Od8mYw",withText:"withText-10pQhr",voicePanelIntroductionHeader:"voicePanelIntroductionHeader-1R3enj",voicePanelIntroductionText:"voicePanelIntroductionText-ruw2P6",voicePanelIntroductionButton:"voicePanelIntroductionButton-LMjabZ",voicePanelIntroductionWrapper:"voicePanelIntroductionWrapper-jPLJ0T",wrapper:"wrapper-24pKcD",viewAsRolesWarning:"viewAsRolesWarning-11eD70",viewAsRolesWarningText:"viewAsRolesWarningText-2rok0U",viewAsRolesWarningButton:"viewAsRolesWarningButton-2LQjqD"}},7915:function(e,t,o){e.exports={ragingDemon:"ragingDemon-bDcoXE",symbol:"symbol-3ffeCr",symbolFadeIn:"symbolFadeIn-wkjQKf",symbolBackground:"symbolBackground-1w6i-M",symbolBgFadeOut:"symbolBgFadeOut-YosnTk",container:"container-2Cu1o9",explosion:"explosion-379HJd",animate:"animate-2Dk3Iw",circleInner:"circleInner-1vlodX",explCircleInner:"explCircleInner-4eTA27",circleOuter:"circleOuter-2XG8_d",explCircleOuter:"explCircleOuter-20lecN",linesSecondary:"linesSecondary-2f45rn",explLinesSecondary:"explLinesSecondary-1Eag-K",linesMain:"linesMain-3dQGy0",explLinesMain:"explLinesMain-1D2qvD",primaryExplosion:"primaryExplosion-lHCiHZ explosion-379HJd",secondaryExplosion:"secondaryExplosion-3nb9j5 explosion-379HJd"}},7916:function(e,t,o){e.exports={keyboardShortcutsModal:"keyboardShortcutsModal-3piNz7",modalTitle:"modalTitle-37O4n6",content:"content-2Add9f",modalSubtitle:"modalSubtitle-1Pj5nv",ddrArrows:"ddrArrows-lSnH7P",arrow:"arrow-2enltQ",active:"active-2X6Ewx",left:"left-21PxOi",down:"down-2Ju7Q_",up:"up-fkTose",right:"right-1AEPK3",keybindGroupDescription:"keybindGroupDescription-3vhN3p",keybindGroupDivider:"keybindGroupDivider-1t_8zX",keyboardShortcutList:"keyboardShortcutList-13cQ-8",keybindGroup:"keybindGroup--6Qp-w",groupEnd:"groupEnd-1cdweh",keybindDescription:"keybindDescription-2RDbC2",keyboardShortcutListGroup:"keyboardShortcutListGroup-1jHSlZ",firstGroup:"firstGroup-2QOPL9"}},7917:function(e,t,o){e.exports={inviteModalHeight:"420px",smallScreenWidth:"720px",container:"container-2Yth53",contentWrapper:"contentWrapper-3WC1ID",scroller:"scroller-3__pG8",noThanksButton:"noThanksButton-3mqg48",stage:"stage-3yqMwJ",inviteContent:"inviteContent-3R63XV",inviteSplash:"inviteSplash-40aHus",buttonGroup:"buttonGroup-276hcG",experimentUpsellError:"experimentUpsellError-1B_dtk",experimentUpsellIcon:"experimentUpsellIcon-3G0C9_",experimentUpsellText:"experimentUpsellText-33hEF0",experimentGetNitro:"experimentGetNitro-2umQa7"}},7918:function(e,t,o){e.exports={tutorial:"tutorial-3igfYb",shown:"shown-3PNP1p",arrowGroup:"arrowGroup-2imezz",right:"right-xllYXb",arrowContainer:"arrowContainer-17eG6u",horizontal:"horizontal-3uU00t",diag1:"diag1-2VcglJ",diag2:"diag2-3iVToU",arrowIcon:"arrowIcon-1EMN73","arrow-pulse":"arrow-pulse-2BHQjw",tutorialMessages:"tutorialMessages-12mfId",message:"message-3WE_vQ",searchMessage:"searchMessage-2dNwh2 message-3WE_vQ",selectMessage:"selectMessage-24T7Qk message-3WE_vQ",hasQuery:"hasQuery-2sgtk4"}},7919:function(e,t,o){e.exports={container:"container-3qKHyN",quickswitcher:"quickswitcher-3JagVE",input:"input-2VB9rf",autocompleteQuerySymbol:"autocompleteQuerySymbol-1kyGZ5",scroller:"scroller-zPkAnE",protip:"protip-1b9XPC",emptyState:"emptyState-2gL-9T",emptyStateNote:"emptyStateNote-ZYTetQ",emptyStateCTA:"emptyStateCTA-veJ2Cu",miscContainer:"miscContainer-2ptJ_C"}},7920:function(e,t,o){e.exports={gamepadButtonText:"gamepadButtonText-3oiVZ3",gamepadButtonContainer:"gamepadButtonContainer-1LwN57"}},7921:function(e,t,o){e.exports={pageWrapper:"pageWrapper-3F6owx",container:"container-1r0Ael",logo:"logo-2apZa6",linkButton:"linkButton-3aQMjF",rightPanel:"rightPanel-3v0DYb",image:"image-22sO6Y",xboxButtonContainer:"xboxButtonContainer-1fnVjR",gamepadButton:"gamepadButton-_uzDVK",errorMessageContainer:"errorMessageContainer-3tPaYl",errorMessage:"errorMessage-3H97Nb",errorMessageIcon:"errorMessageIcon-1ToWng"}},7922:function(e,t,o){e.exports={mobileTitle:"mobileTitle-1_6zCu",desktopSubtitle:"desktopSubtitle-2zsIZ_"}},7923:function(e,t,o){e.exports={popouts:"popouts-2bnG9Z",popout:"popout-2iWAc-",arrowAlignmentMiddle:"arrowAlignmentMiddle-NBGtsX",arrowAlignmentTop:"arrowAlignmentTop-1yftWI",noShadow:"noShadow-3pu20z",popoutLeft:"popoutLeft-3aViER",noArrow:"noArrow-2foL9g",popoutRight:"popoutRight-1veHKi",popoutBottom:"popoutBottom-2GAFPg",popoutBottomLeft:"popoutBottomLeft-1pG8B4",popoutBottomRight:"popoutBottomRight-2Rno5S",popoutTop:"popoutTop-3WSJtH",popoutTopRight:"popoutTopRight-1lc8Mq",popoutTopLeft:"popoutTopLeft-3B0mFf",popoutInvert:"popoutInvert-3TZnzz"}},7926:function(e,t,o){e.exports={unsupportedBrowser:"unsupportedBrowser-3LZq46",wrap:"wrap-Ep75jh",title:"title-3Lo6gh",message:"message-3vjdjX",browserList:"browserList-NdGOy7",browserItem:"browserItem-1mKMYK",browser:"browser-3GMQyB",btn:"btn-3wPLTq",browserItemText:"browserItemText-1h58O0",browserDiscord:"browserDiscord-mlswz3",browserOpera:"browserOpera-3VgIwy",browserFirefox:"browserFirefox-3rx2mR",browserChrome:"browserChrome-88x1sG"}},7927:function(e,t,o){e.exports={container:"container-347Bj6",title:"title-2QMS5Z",img:"img-13DOg9",birthday:"birthday-1a5GTD",confirmContainer:"confirmContainer-26aFKb",confirmTitle:"confirmTitle-2NBYVn",confirmFooter:"confirmFooter-3qlQIM"}},7928:function(e,t,o){e.exports={container:"container-W_-I6J",title:"title-3Bn9Ug",img:"img-32j92f",subtitle:"subtitle-3Sv-2Y"}},7929:function(e,t,o){e.exports={container:"container-aP5JfW",title:"title-9DQOZZ",img:"img-3KRB1J",subtitle:"subtitle-3GNI_g"}},7930:function(e,t,o){e.exports={fullArt:"fullArt-2izgMA",header:"header-1CDBgT",content:"content-Ulq9NI",modalCloseButton:"modalCloseButton-ZynU77"}},7931:function(e,t,o){e.exports={content:"content-2nLqo5",logo:"logo-38EFJz",title:"title-3qCJ_n",description:"description-2mNg7U",formItem:"formItem-B8CDn8",footer:"footer-3_fPee",buttonWrapper:"buttonWrapper--wdcJD"}},7932:function(e,t,o){e.exports={container:"container-1EZLoU",title:"title-iH-KoQ",subtitle:"subtitle-dIm9FZ"}},7933:function(e,t,o){e.exports={header:"header-145ozL",title:"title-3LCw_L",inputForm:"inputForm-3sTSr-",formTitle:"formTitle-1jo6fC",error:"error-_865Sw",input:"input-2PqKpj",inputInner:"inputInner-1nuSZR",connectCTA:"connectCTA-1nCf5Y"}},7934:function(e,t,o){e.exports={sidebar:"sidebar-21LluO",art:"art-sLtdnk",step12Animation:"step12Animation-wbM7wI",show:"show-3s78Xb",step24Animation:"step24Animation-apkz_k",step1:"step1-12sD_A art-sLtdnk",step24Clouds:"step24Clouds-2WGevh art-sLtdnk step12Animation-wbM7wI",step24Base:"step24Base-1Uy1JF art-sLtdnk step12Animation-wbM7wI",step24Ground:"step24Ground-3yi8li art-sLtdnk step12Animation-wbM7wI",step2Character:"step2Character-1IAVuz art-sLtdnk step24Animation-apkz_k",step2Base:"step2Base-2s6Yjz art-sLtdnk step12Animation-wbM7wI",step34Base:"step34Base-1Qli3t art-sLtdnk step24Animation-apkz_k",step34Flag:"step34Flag-1XjCQk art-sLtdnk step24Animation-apkz_k",step3Character:"step3Character-2PT1Yr art-sLtdnk step24Animation-apkz_k",step4Character:"step4Character-1Zi7V2 art-sLtdnk step24Animation-apkz_k",step24Foreground:"step24Foreground-2kT3Vo art-sLtdnk step12Animation-wbM7wI"}},7935:function(e,t,o){e.exports={modal:"modal-1cHBt6",completed:"completed-MZjhOF",completedTitle:"completedTitle-2PltT9",sidebar:"sidebar-ZRpudO",content:"content-1KT39n",closeButton:"closeButton-3XUE6o",container:"container-3Badw2",shortFooter:"shortFooter-2bmC2G",standardFooter:"standardFooter-3oKKSX",templates:"templates-3g2YRV",footer:"footer-Sv35jj",join:"join-3TAPZ-",customizeGuildTitle:"customizeGuildTitle-YVzgel",joinCTA:"joinCTA-1s7TZx"}},7936:function(e,t,o){e.exports={borderRadius:"8px",tile:"tile-2naSqK",noBorder:"noBorder-PlNIZT"}},7937:function(e,t,o){e.exports={root:"root-3yg4nC",sprite:"sprite-3_OKOZ",participant:"participant-1lOCsd",transition:"transition-J10on7",spriteWrapper:"spriteWrapper-3DD_XY"}},7938:function(e,t,o){e.exports={participantsButton:"participantsButton-KYW-IW",rightCaret:"rightCaret-aB8RWK",leftCaret:"leftCaret-18vKap",members:"members-3RE5jX",iconContainer:"iconContainer-3DcDKa"}},7939:function(e,t,o){e.exports={wrapper:"wrapper-1wyZBN",video:"video-1kutKI",videoCover:"videoCover-LdeT1c",videoContain:"videoContain-2ih_gc",mirror:"mirror-1Z13AJ",previewWrapper:"previewWrapper-39cUHY video-1kutKI",loading:"loading-35BNuU",previewImage:"previewImage-1yEFD0",emptyPreviewWrapper:"emptyPreviewWrapper-14RNSK",emptyPreview:"emptyPreview-2kuSNe",spinner:"spinner-2UBgbJ"}},7940:function(e,t,o){e.exports={container:"container-1Uz9wr",iframe:"iframe-EFVR4F",clickShield:"clickShield-3vjrWO",splashImage:"splashImage-E7s7bn",splash:"splash-25tRrM",avatars:"avatars-1oXtqj",compact:"compact-1mV4qT",avatar:"avatar-1r2LXI",subheader:"subheader-39JmuR",header:"header-NBw-bG",buttons:"buttons-2XvbOc",button:"button-EVMg5r",overflow:"overflow-1fucsB",avatarMask:"avatarMask-CQKE6y"}},7941:function(e,t,o){e.exports={qualityIndicator:"qualityIndicator-mk1mca",clickable:"clickable-2Q9Vaa",qualityIndicatorFullQuality:"qualityIndicatorFullQuality-39Z_0H",qualityIndicatorLowQuality:"qualityIndicatorLowQuality-3VS_Sh",premiumStreamIcon:"premiumStreamIcon-2oV917",qualityResolution:"qualityResolution-2-unm0",streamQualityIndicator:"streamQualityIndicator-2Te7mW",liveIndicator:"liveIndicator-3FNmiB",liveQualityIndicator:"liveQualityIndicator-3XCjEU"}},7942:function(e,t,o){e.exports={art:"art-3wzoO6",small:"small-3EVRHD",medium:"medium-2B7Zy5",large:"large-1x1Mum",header:"header-2Zv56X",description:"description-22pzKs",outerButton:"outerButton-1CWJC-",button:"button-3HqqDX"}},7943:function(e,t,o){e.exports={root:"root-2sELX6"}},7944:function(e,t,o){e.exports={cta:"cta-3gK0Pu",buttonReset:"buttonReset-HK81Ef"}},7945:function(e,t,o){e.exports={root:"root-35ow7p",warningIcon:"warningIcon-3rQ5yJ"}},7946:function(e,t,o){e.exports={innerContainer:"innerContainer-1llEA-",darkerPulse:"darkerPulse-3isOlW",outerContainer:"outerContainer-3FfmPk",pulse:"pulse-3zYHMZ"}},7947:function(e,t,o){e.exports={background:"background-ujHpbY",avatarWrapper:"avatarWrapper-29j3CC"}},7948:function(e,t,o){e.exports={pictureInPicture:"pictureInPicture-3VocJq",pictureInPictureWindow:"pictureInPictureWindow-1B5qSe",hidden:"hidden-SXIIWx"}},7949:function(e,t,o){e.exports={container:"container-1PWn_0",tileContainer:"tileContainer-9h8iFI",tile:"tile-1Qr-N3"}},7950:function(e,t,o){e.exports={row:"row-22hXsA",tile:"tile-kezkfV",noVerticalMargin:"noVerticalMargin-1582Xa",noHorizontalMargin:"noHorizontalMargin-3pr3HN",padColumn:"padColumn-18-JWZ",tileSizer:"tileSizer-IwF9xU"}},7951:function(e,t,o){e.exports={root:"root-2VTZPJ",text:"text-3FqTR4",buttonText:"buttonText-plGAfz",art:"art-2kj97y"}},7952:function(e,t,o){e.exports={tile:"tile-ME82Od"}},7953:function(e,t,o){e.exports={tile:"tile-2GMyYQ",tileSizer:"tileSizer-3VCNFs",root:"root-1EVRXA",list:"list-2MscRb"}},7954:function(e,t,o){e.exports={voiceCallWrapper:"voiceCallWrapper-3kPwHm",videoGridWrapper:"videoGridWrapper-2BDlMX",root:"root-2CDANf",flexCenter:"flexCenter-2Y_vCg",videoFrame:"videoFrame-3JeHRb",videoWrapper:"videoWrapper-3VC0Ax",videoWrapperAnimated:"videoWrapperAnimated-3SL9U6",videoGrid:"videoGrid-1khsrF",hiddenParticipants:"hiddenParticipants-1JaHxS",videoSizer:"videoSizer-14ILv0",focusedVideo:"focusedVideo-AeFhkm",participantsButton:"participantsButton-2BYCUL",idle:"idle-l3QaKF",participantsWrapperAnimated:"participantsWrapperAnimated-3yISdv"}},7955:function(e,t,o){e.exports={content:"content-1T5kuS",header:"header-3MQhZN",footer:"footer-1bV9Ez"}},7956:function(e,t,o){e.exports={videoHeight:"videoHeight-Qp_9vC",animated:"animated-UtE465",normal:"normal-1jW0uq",minimum:"minimum-1pRSEN",noChat:"noChat-3nt48u",fullScreen:"fullScreen-lH2Q2c",video:"video-1FfuMD",idle:"idle-1sRXLT",videoCenter:"videoCenter-1nmPrS",videoBottom:"videoBottom-2_HYXG",videoWrapper:"videoWrapper-2wbLD-",focused:"focused-2WuveL",videoInner:"videoInner-3OR9J2",videoTop:"videoTop-eOkSPq",videoBackground:"videoBackground-3AY_fu",videoBackgroundTransition:"videoBackgroundTransition-3wpOSl"}},7957:function(e,t,o){e.exports={popIn:"popIn-2stfyU"}},7958:function(e,t,o){e.exports={fauxDisabled:"fauxDisabled-3vmIPo"}},7959:function(e,t,o){e.exports={arrowIcon:"arrowIcon-3okTyA",arrowIconExpanded:"arrowIconExpanded-1atW4-",rightPipIcon:"rightPipIcon-3kki1l",leftPipIcon:"leftPipIcon-1Syad5",participantsButton:"participantsButton-lsd-oF",pipHeader:"pipHeader-ZKirob",pipHeaderContent:"pipHeaderContent-3hKVLC",pipHeaderContentOpen:"pipHeaderContentOpen-1f5we5",pipHeaderButtonsRight:"pipHeaderButtonsRight-1TlJRe",menuIcon:"menuIcon-3GpyA6",leaveActivityIcon:"leaveActivityIcon-99HPVj"}},7960:function(e,t,o){e.exports={root:"root-p-00Nk",pipMode:"pipMode-3fqyku",pipModeShort:"pipModeShort-2VZvl9",pipModeTall:"pipModeTall-rtMxll",hidden:"hidden-semXgs",iframe:"iframe-_tVdvp",clickShield:"clickShield-3Xe6Ru"}},7961:function(e,t,o){e.exports={popoutWrapper:"popoutWrapper-3TSaaB",scroller:"scroller-2ymjU1",viewers:"viewers-2Dq-Mk",viewer:"viewer-sEl8Uz",overflow:"overflow-1ExsZm",memberListHeader:"memberListHeader-c-ghag",memberListItemText:"memberListItemText-Th1aTk",viewersIcon:"viewersIcon-15qGwd",activeButton:"activeButton-A0x-10",viewersTooltipItem:"viewersTooltipItem-1otSnk",memberListItem:"memberListItem-3IkoL8",popoutDisabled:"popoutDisabled-161HX0"}},7962:function(e,t,o){e.exports={mirror:"mirror-1i_yQY",video:"video-xBa92B",media:"media-ya5FZp"}},7963:function(e,t,o){e.exports={leftTrayIcon:"leftTrayIcon-1mCY9j",rightTrayIcon:"rightTrayIcon-gMHgPy",embedTarget:"embedTarget-xAd1Pd",embedTargetHidden:"embedTargetHidden-3qHg_F"}},7964:function(e,t,o){e.exports={popout:"popout-3fRpdY",content:"content-2RRmGk"}},7965:function(e,t,o){e.exports={regionSelectPopout:"regionSelectPopout-p9-0_W",check:"check-2by_h9",regionSelectFlag:"regionSelectFlag-1htPow",regionSelectName:"regionSelectName-c5qL8O"}},7966:function(e,t,o){e.exports={menu:"menu-2wmWSE"}},7967:function(e,t,o){e.exports={content:"content-3n1cMX",cameraPreview:"cameraPreview-3VbjBn",selector:"selector-23Ycqr",header:"header-1EVHO2",subtitle:"subtitle-gARoTt",spinner:"spinner-2D09Su",camera:"camera-1WWmPt"}},7968:function(e,t,o){e.exports={slash:"slash-33-IMF"}},7969:function(e,t,o){e.exports={controlButton:"controlButton-2MhVEL",wrapper:"wrapper-3EGhDO"}},7970:function(e,t,o){e.exports={buttonColor:"buttonColor-2Nx30V",textButton:"textButton-3MS7qa",iconButton:"iconButton-u_X73A"}},7971:function(e,t,o){e.exports={root:"root-217Brm",idle:"idle-1j3olu",gradientContainer:"gradientContainer-10lXLB",topControls:"topControls-KKImPZ controlSection-2h3cS0",bottomControls:"bottomControls-lIJyYL controlSection-2h3cS0",videoControls:"videoControls-24w7Xp",gradientTop:"gradientTop-3UWg3T gradientContainer-10lXLB",gradientBottom:"gradientBottom-3X4SdK gradientContainer-10lXLB",controlSection:"controlSection-2h3cS0",screenMessage:"screenMessage-2smdgi",title:"title-1gVSym",supportingText:"supportingText-Q8rmAI"}},7972:function(e,t,o){e.exports={arrow:"arrow-3OIjPY",up:"up-34qlJU"}},7973:function(e,t,o){e.exports={root:"root-2eYTXR",comboIcon:"comboIcon-2e1arG",count:"count-34xWho",icon:"icon--rRIa3"}},7974:function(e,t,o){e.exports={paddingValue:"16px",root:"root-2QSv-c",voiceUsers:"voiceUsers-3lwp-W",header:"header-1SPvMo",scroller:"scroller-GApUBG"}},7975:function(e,t,o){e.exports={button:"button-1xaXFt",divider:"divider-T9ghJP",speaker:"speaker-13nFCF",last:"last-GyWdM0",lastButton:"lastButton-3MuhDM"}},7976:function(e,t,o){e.exports={avatar:"avatar-EDoEQX",divider:"divider-36-9JI",playingText:"playingText-3KIkt6"}},7977:function(e,t,o){e.exports={wrapper:"wrapper-2qzCYF",animated:"animated-1N1Pe_",normal:"normal-1oavYI",minimum:"minimum-28Z35l",video:"video--KPXCT",fullScreen:"fullScreen-1tMzXY",noChat:"noChat-18KtBD",popout:"popout-1MBou-",poppedOut:"poppedOut-1U3Bzn",callContainer:"callContainer-36WRfH",centerControls:"centerControls-2E5oVA",leftTrayIcon:"leftTrayIcon-vpfJk5",rightTrayIcon:"rightTrayIcon-3hFoUP",settingsButton:"settingsButton-32Uw6u",viewersButton:"viewersButton-_Zs4UU",iconWrapper:"iconWrapper-31YWq8",volumeSlider:"volumeSlider-1yH4yV",badge:"badge-1z4YpW",headerWrapper:"headerWrapper-3NUKsd",resizeHandle:"resizeHandle-aTgVKr"}},7978:function(e,t,o){e.exports={background:"background-1vAsyP",foreground:"foreground-2XBsBU"}},7979:function(e,t,o){e.exports={desaturateUserColors:"desaturateUserColors-1gar-1",container:"container-1EOCj2",headerContainer:"headerContainer-3Dbfbk",headerTitle:"headerTitle-34m7pK",headerClose:"headerClose-3ppwtq",contentContainer:"contentContainer-3uyIT3",selfSpeakerContainer:"selfSpeakerContainer-qt7ckS",buttonContainer:"buttonContainer-38-Et1",buttonMargin:"buttonMargin-3w-apA",selfSpeakerButton:"selfSpeakerButton-2ZvK-g",selfSpeakerText:"selfSpeakerText-3QjNKH",listTitle:"listTitle-3x9PAq",participantRowContainer:"participantRowContainer-2LfSyI",participantMemberContainer:"participantMemberContainer-3JuhCc",participantTextContainer:"participantTextContainer-3ZPeQk",participantAvatar:"participantAvatar-2CxvNm",participantName:"participantName-1SXKIB desaturateUserColors-1gar-1",emptyStateContainer:"emptyStateContainer-ExQMn0",emptyStateTitle:"emptyStateTitle-3RFcC1",emptyStateBody:"emptyStateBody-2qGLUo",toggle:"toggle-3djVTx"}},7980:function(e,t,o){e.exports={strikethrough:"strikethrough-1s1uEI"}},7981:function(e,t,o){e.exports={participants:"participants-1e7HCI",icon:"icon-1FO5mc",settingsButton:"settingsButton-2tFGbO"}},7982:function(e,t,o){e.exports={tileBaseContainer:"tileBaseContainer-2b4wJM",tileContainer:"tileContainer-BaRAZF tileBaseContainer-2b4wJM",textContainer:"textContainer-3dhW-4",avatarContainer:"avatarContainer-aPUO5G",avatar:"avatar-3u7cAV",faded:"faded-br_yZz",text:"text-2wY55Y",singleIcon:"singleIcon-1YgZ-K",doubleIcon:"doubleIcon-13cAl6",boost:"boost-3TdRZp",blockedIcon:"blockedIcon-2tOKiw",icon:"icon-3z8ito",invited:"invited-2iN9W3"}},7983:function(e,t,o){e.exports={participants:"participants-soO0aD"}},7984:function(e,t,o){e.exports={roleContainer:"roleContainer-8-Ld9g",roleName:"roleName-rabVQI"}},7985:function(e,t,o){e.exports={container:"container-2t1JyW",title:"title-2eOBcL",subtitle:"subtitle-1ydIDA",dotSeparator:"dotSeparator-3gmT-O",icon:"icon-3QjGWS",iconAfterText:"iconAfterText-3Hl9dX"}},7986:function(e,t,o){e.exports={scrollerBase:"scrollerBase-1X4git",auto:"auto-3V-QBl scrollerBase-1X4git",fade:"fade-3w7yAZ"}},7987:function(e,t,o){e.exports={container:"container-1KVp62"}},7988:function(e,t,o){e.exports={tile:"tile-2Q7yR_",outerContainer:"outerContainer-1_YKxq"}},7989:function(e,t,o){e.exports={rowContainer:"rowContainer-2tYerQ"}},7990:function(e,t,o){e.exports={scroller:"scroller-1SuHJo",grid:"grid-1Hwz9O",spacer:"spacer-2ne1bb",divider:"divider-JMvf_l"}},7991:function(e,t,o){e.exports={container:"container-O91r7V",textContainer:"textContainer-1kAhPI",caret:"caret-3mpfk6",icon:"icon-188URH"}},7992:function(e,t,o){e.exports={separator:"separator-2uO-Ud"}},7993:function(e,t,o){e.exports={containerColumn:"containerColumn-1Wj-gZ",container:"container-2j8dvG",audienceButton:"audienceButton-M5mD1c",makeMeASpeakerButton:"makeMeASpeakerButton-2_Cz3b",requestToSpeakIcon:"requestToSpeakIcon-1BjGfe",slash:"slash-3wynFg",leaveQuietlyButton:"leaveQuietlyButton-1yMc0b",leaveQuietlyButtonInnerContainer:"leaveQuietlyButtonInnerContainer-3RO33o",leaveQuietlyIcon:"leaveQuietlyIcon-3W16Ig",raiseHandButton:"raiseHandButton-1TZpXJ",raisedHandButtonIconActive:"raisedHandButtonIconActive-1_Aqtv",buttonSpacing:"buttonSpacing-3apH88",speakerRaiseHandButtonContainer:"speakerRaiseHandButtonContainer-3VziUu",speakerRaiseHandButton:"speakerRaiseHandButton-1-xsvS",speakerRaiseHandBadge:"speakerRaiseHandBadge-kSmEho",eventPrompts:"eventPrompts-1cvOES"}},7994:function(e,t,o){e.exports={content:"content-ZVP-cK",bulletContainer:"bulletContainer-BgDh6e",iconContainer:"iconContainer-2aaq6z",bulletIcon:"bulletIcon-3bl_jj",bulletText:"bulletText-2mfMVi",headerTitle:"headerTitle-2xNrT-",button:"button-2sIstc",icon:"icon-3iGRtr",illustration:"illustration-2Gd58g",red:"red-C3U0Zq"}},7995:function(e,t,o){e.exports={iconBackground:"iconBackground-31Th5v",icon:"icon-AuwN02",headerContainer:"headerContainer-8_4ujj",eventPrompt:"eventPrompt-3xGqWj",subtitle:"subtitle-2DaQ64",separator:"separator-1FmzCh",continueIcon:"continueIcon-ll1SZP",continueIconContainer:"continueIconContainer-D8CGm_",audienceSummary:"audienceSummary-3Y_C4J",summaryItem:"summaryItem-3kLFyc"}},7996:function(e,t,o){e.exports={container:"container-pTf0Ly",callContainer:"callContainer-3UuV6S",sidebarVisible:"sidebarVisible-F3zEoe"}},7997:function(e,t,o){e.exports={missingEntitlementImage:"missingEntitlementImage-15q-cx",text:"text-Wx6rKQ"}},7998:function(e,t,o){e.exports={userProfileActivity:"userProfileActivity-Bnt1p_"}},7999:function(e,t,o){e.exports={userInfoSection:"userInfoSection-q_35fn",userInfoSectionHeader:"userInfoSectionHeader-3TYk6R",userBio:"userBio-3tlrzS",note:"note-367eZJ",connectedAccounts:"connectedAccounts-QlRa4m",connectedAccount:"connectedAccount-2Jb-Z0",connectedAccountIcon:"connectedAccountIcon-3_EQqg",connectedAccountNameInner:"connectedAccountNameInner-2q3MVf",connectedAccountName:"connectedAccountName-E1KzaT",connectedAccountVerifiedIcon:"connectedAccountVerifiedIcon-2cA82O",connectedAccountOpenIcon:"connectedAccountOpenIcon-E5wGF4",infoScroller:"infoScroller-1Qu30O"}},8e3:function(e,t,o){e.exports={guildAvatar:"guildAvatar-3YmrtA",guildAvatarWithoutIcon:"guildAvatarWithoutIcon-1s9Pcy",guildNick:"guildNick-kAvTju"}},8001:function(e,t,o){e.exports={actionButton:"actionButton-3vN-m0",actionRightButton:"actionRightButton-L3w65w",pendingIncoming:"pendingIncoming-3Frmjf"}},8002:function(e,t,o){e.exports={header:"header-4zuFdR",headerTop:"headerTop-547GTz",badgeList:"badgeList-1R1WgZ",avatar:"avatar-AvHqJA",relationshipButtons:"relationshipButtons-pUQVkf",nameTag:"nameTag-ECvD8P",nameTagNoCustomStatus:"nameTagNoCustomStatus-3IWmZC nameTag-ECvD8P",nameTagWithCustomStatus:"nameTagWithCustomStatus-2kkfrQ nameTag-ECvD8P",customStatusActivity:"customStatusActivity-nmH3DF",customStatus:"customStatus-1COQYu",customStatusEmoji:"customStatusEmoji-1xY2Yn",customStatusSoloEmoji:"customStatusSoloEmoji-1RMV7U",customStatusText:"customStatusText-2opeSw",username:"username-FvTBog",discriminator:"discriminator-1swucG",botTag:"botTag-U0I7-9",additionalActionsIcon:"additionalActionsIcon-365LnQ"}},8003:function(e,t,o){e.exports={root:"root-3QyAh1",tabBarContainer:"tabBarContainer-37hZsr",tabBar:"tabBar-3nvOPa",tabBarItem:"tabBarItem-3dfX8P",body:"body-r6_QPy",topSection:"topSection-y3p-_D",noTabBar:"noTabBar-3ZjPNR"}},8004:function(e,t,o){e.exports={verification:"verification-3RfWYC",container:"container-1kp68M",image:"image-2LVZ_j",title:"title-wZCcDo",body:"body-3ROqbj",footer:"footer-1eZumv",footerBullet:"footerBullet-1m59pn",footerAction:"footerAction-2ATxbG",logoutButton:"logoutButton-1WaAEE",verificationBlock:"verificationBlock-1Chfpc",email:"email-1MPDs-",phone:"phone-27MBJz"}},8005:function(e,t,o){e.exports={emailVerificationModal:"emailVerificationModal-3cfLjL",animationContainer:"animationContainer-s_1r9o",title:"title-38uBel",body:"body-1_Foxn",container:"container-2GVxK3",fullWidthButton:"fullWidthButton-1JDY--"}},8006:function(e,t,o){e.exports={neverShow:"neverShow-3xJo1l",options:"options-1ppfW-",cancelButton:"cancelButton-3F-H2t"}},8007:function(e,t,o){e.exports={modal:"modal-1gaP8y",closeIcon:"closeIcon-1WWHLZ",cancelButton:"cancelButton-3ggB4W",content:"content-1ZHTI1",authenticationFailImage:"authenticationFailImage-9Wmybq",authenticationRequiredImage:"authenticationRequiredImage-2I6f-O",authenticationSuccessImage:"authenticationSuccessImage-1-XUab"}},8008:function(e,t,o){e.exports={video:"video-1j0A3v",videoFrame:"videoFrame-2gHLyK",content:"content-gjD8J2",header:"header-wUqZez",features:"features-1tMYEH",icon:"icon-1HfuQI"}},8009:function(e,t,o){e.exports={page:"page-10_ecs",contentWrapper:"contentWrapper-29ZPQM",dragRegion:"dragRegion-1qH1bf"}},8010:function(e,t,o){e.exports={container:"container-2gEa-S",inputWrapper:"inputWrapper-3hyurs",input:"input-3HWDvO",button:"button-2B5Hnm",topic:"topic-30olbr"}},8011:function(e,t,o){e.exports={container:"container-2XwRXY"}},8012:function(e,t,o){e.exports={avatar:"avatar-dEJa0g",container:"container-2Qf5AZ",avatarInner:"avatarInner-3mvud_",uploader:"uploader-3h82WB"}},8013:function(e,t,o){e.exports={container:"container-1RrgbC",inputWrapper:"inputWrapper-11yqUG",input:"input-1oE3v-",noBorder:"noBorder-17NKg0",button:"button-3YABwY",footerText:"footerText-wXVE1x"}},8014:function(e,t,o){e.exports={container:"container-1sNGel",contentContainer:"contentContainer-_92jGi",headerText:"headerText-2y5zna",headerSubtext:"headerSubtext-2gLqAi",task:"task-1IBHP3",taskHeader:"taskHeader-2if9wy",selected:"selected-2JPzZ5",checkmarkContainer:"checkmarkContainer-enkblC",completed:"completed-erLY7W",checkmark:"checkmark-1-joJl",info:"info-PKsnnj",taskTitle:"taskTitle-IT51Jy",taskSubtitle:"taskSubtitle-31kmNc",taskBody:"taskBody-2uk5FP",expandArrow:"expandArrow-3m6ryE",complete:"complete-3iqMwS",bodyText:"bodyText-3EF5cF",followupItem:"followupItem-2v1ksF",followupIcon:"followupIcon-U59vzj",followupInfo:"followupInfo-2Tagz6",followupTitle:"followupTitle-1ndjVM",caret:"caret-3WvhKZ"}},8015:function(e,t,o){e.exports={button:"button-1w5pas",open:"open-1Te94t"}},8016:function(e,t,o){e.exports={header:"header-3EwbJF",closeButton:"closeButton-4LBYOH",tabBar:"tabBar-3MtEvO",tabBarItem:"tabBarItem-2sxElp",selectedTab:"selectedTab-29dwYe",guildList:"guildList-2TgSqd",title:"title-1trl6A",subtitle:"subtitle-2Zhgtc",guildRow:"guildRow-35jjhr",clickableGuildRow:"clickableGuildRow-31yQQo guildRow-35jjhr",guildName:"guildName-GeVAOH",footer:"footer-2pLi9a",footerTitle:"footerTitle-1XVXdA",footerButton:"footerButton-3ZBvhg",emptyContainer:"emptyContainer-3igXli",emptyImage:"emptyImage-3_Eu72",emptyText:"emptyText-1yC1e0",trashIcon:"trashIcon-16rdgr"}},8017:function(e,t,o){e.exports={header:"header-2BScRX",closeButton:"closeButton-1CBhme",title:"title-34N6Ti",subTitle:"subTitle-3SyDmm",buttonRow:"buttonRow-1nlKdZ",addConfirmButton:"addConfirmButton-3_2SPy",createConfirmButton:"createConfirmButton-3njwP8",createSecondaryButton:"createSecondaryButton-2oxrEp"}},8018:function(e,t,o){e.exports={header:"header-lpMT0b",closeButton:"closeButton-3B3L2u",templatesList:"templatesList-2GYOU6",title:"title-1hTJEU",subtitle:"subtitle-VsQq8b",optionHeader:"optionHeader-Sc3x4H",footer:"footer-fKFJXi"}},8019:function(e,t,o){e.exports={container:"container-1O4ciH"}},8020:function(e,t,o){e.exports={optionItem:"optionItem-2VncuF",joinServerOption:"joinServerOption-3ClG5j",selectedOptionItem:"selectedOptionItem-3v62YZ",itemInner:"itemInner-UDJ4Ex",addServerOption:"addServerOption-tmqhXn",inviteMemberOption:"inviteMemberOption-EyS6vC",scroller:"scroller-1NK8Yn"}},8021:function(e,t,o){e.exports={channelNotice:"channelNotice-2bJINM",textBlock:"textBlock-2FWDjE",liveNowText:"liveNowText-1y0h6H",eventName:"eventName-2YgbEu",channelName:"channelName-JY9Cr0",dotDivider:"dotDivider-1W5oqM",liveIndicator:"liveIndicator-11vCOL",stageIcon:"stageIcon-3DmINn",userNames:"userNames-3GptEj",joinButton:"joinButton-7Fa-WN"}},8022:function(e,t,o){e.exports={purchaseButton:"purchaseButton-1KDZuK",purchaseButtonContent:"purchaseButtonContent-EkeaFd",buyButtonDotSeparator:"buyButtonDotSeparator-2qyBqa"}},8023:function(e,t,o){e.exports={purchaseButton:"purchaseButton-3oy5i0"}},8024:function(e,t,o){e.exports={channelNotice:"channelNotice-3DDmsB",close:"close-jnIfru",closeIcon:"closeIcon-1zVtdw",message:"message-39hdqk",checkStatusButton:"checkStatusButton-2voZW3"}},8025:function(e,t,o){e.exports={channelNotice:"channelNotice-3hkOiI",close:"close-ZKR0Rw",closeIcon:"closeIcon-yoh58h",message:"message-Gpd3zh",guildAffinityPremiumSubscriptionButton:"guildAffinityPremiumSubscriptionButton-3dyYEq",premiumGuildAnimationWrapper:"premiumGuildAnimationWrapper-14ilC1",premiumGuildAnimation:"premiumGuildAnimation-RcsCE4"}},8026:function(e,t,o){e.exports={cannon:"cannon-1IwVJw"}},8027:function(e,t,o){e.exports={container:"container-1i59-c",dismiss:"dismiss-SxmMd_",title:"title-2UdzTY",dismissIcon:"dismissIcon-1MhmFW",progressContainer:"progressContainer-1gEwYE",progress:"progress-9E5msn",footer:"footer-3Q8DAh",questIcon:"questIcon-3lYg63",subtitle:"subtitle-1cSkax",step:"step-3ABmgA"}},8028:function(e,t,o){e.exports={container:"container-JPloBS",pulse:"pulse-30Y3VU",bannerPadding:"bannerPadding-NA0hyi",category:"category-2SZJwK",spacer:"spacer-No5vWQ",channel:"channel-2UjLhw",channelIcon:"channelIcon-CCo35e",channelName:"channelName-3y9uE0"}},8029:function(e,t,o){e.exports={container:"container-3w7J-x",subscribeTooltipHeader:"subscribeTooltipHeader-Cf_Izr",subscribeTooltipText:"subscribeTooltipText-3d3QxF",subscribeTooltipButton:"subscribeTooltipButton-rIF3w3",subscribeTooltipWrapper:"subscribeTooltipWrapper-1JoUuw",varUpsellTooltip:"varUpsellTooltip-1P8Jpo",varUpsell:"varUpsell-3rw6f_",varUpsellTitle:"varUpsellTitle-2TnDwT",varUpsellBody:"varUpsellBody-1SRfWC",tooltip:"tooltip-1Il2gT",tooltipAvatarAsset:"tooltipAvatarAsset-3Ycoah"}},8030:function(e,t,o){e.exports={container:"container-o3XOLd",content:"content-35nNsa",labelContainer:"labelContainer-bDrlK8",label:"label-1XBspN",labelInactive:"labelInactive-1au5ww",description:"description-2gt-GY",icon:"icon-3MZ9WG",radioIconSelectedForeground:"radioIconSelectedForeground-1NpjFJ"}},8031:function(e,t,o){e.exports={guildIcon:"guildIcon-27QNA6"}},8032:function(e,t,o){e.exports={iconContainer:"iconContainer-1C-7sg",icon:"icon-oqs0j0"}},8033:function(e,t,o){e.exports={container:"container-22UyA2",uploadIconContainer:"uploadIconContainer-srTNzu",uploadIcon:"uploadIcon-3EO47A",pencilIconContainer:"pencilIconContainer-2XYqVg",pencilIcon:"pencilIcon-XNDl4u"}},8034:function(e,t,o){e.exports={label:"label-1Baaex"}},8035:function(e,t,o){e.exports={titleImageContainer:"titleImageContainer-2eyae1",titleContainer:"titleContainer-3E5LPu",titleInput:"titleInput-2spVRT",descriptionInput:"descriptionInput-1VmPTl",descriptionContainer:"descriptionContainer-2dlTDZ",descriptionContainerTitle:"descriptionContainerTitle-3pgcGU",titleContainerTitle:"titleContainerTitle-15KIbF",doubleInputContainer:"doubleInputContainer-2ZMSd8",formSection:"formSection-PJ3Ins",sectionFormInput:"sectionFormInput-3KUOqh",pricePickerLabel:"pricePickerLabel-20jheI",ticketCard:"ticketCard-jy5i_l",ticketPhotoInputContainer:"ticketPhotoInputContainer-2nNuo-",divider:"divider-2r4iPz",ticketPhotoInputLabel:"ticketPhotoInputLabel-2unwVL",colorContainer:"colorContainer-P9SGS6",linkButton:"linkButton-2u0lAG",linkButtonContent:"linkButtonContent-Y5ZVpB",addEndDateIcon:"addEndDateIcon-1oK-r1",removeEndDateIcon:"removeEndDateIcon-vMxhG7",addEndDateText:"addEndDateText-2KOFke",removeEndDateText:"removeEndDateText-346lpZ",charLimitIndicator:"charLimitIndicator-qMgwkh",charLimitIndicatorError:"charLimitIndicatorError-3dA-rW"}},8036:function(e,t,o){e.exports={maskWrapper:"maskWrapper-3AhPKj",container:"container-3Ii8lg",gradientBackground:"gradientBackground-an9hmq",textContainerOverlay:"textContainerOverlay-1KaxP7",textContainer:"textContainer-1O-Zsv",date:"date-1NEiZG",title:"title-1PPUS_",serverName:"serverName-2KX7L1",imageContainer:"imageContainer-2f6msW",guildIconBottomRight:"guildIconBottomRight-19Yw1U",guildIconEmptyState:"guildIconEmptyState-QLMStC",circles:"circles-uxNXgF",circlesContainer:"circlesContainer-o5Y8PQ",circlesOverlay:"circlesOverlay-1cKWQa"}},8037:function(e,t,o){e.exports={confButton:"confButton-1Lq9Vv",ticketCard:"ticketCard-1Y0W0u",title:"title-2Gy9TQ",subtitle:"subtitle-32r7v2",confirmationModalContent:"confirmationModalContent-3CvlPX",confirmationModal:"confirmationModal-2JaxdL",closeButton:"closeButton-3KJwtx"}},8038:function(e,t,o){e.exports={container:"container-2zc9_e",activeTicketPriceContainer:"activeTicketPriceContainer-igA4KD",purchaseTicketPriceContainer:"purchaseTicketPriceContainer-MEAedJ",soldOutText:"soldOutText-2kGL-m",outlineContainer:"outlineContainer-2-1kG5",ticketPrice:"ticketPrice-3vZafl",date:"date-1uEAAd",checkmark:"checkmark-3NDhqH"}},8039:function(e,t,o){e.exports={container:"container-u129MH",guildName:"guildName-3gxEXJ",guildIcon:"guildIcon-Tm_O2I"}},8040:function(e,t,o){e.exports={container:"container-ncCfeh",titleContainer:"titleContainer-2-JyA9",divider:"divider-3AbmZG",contentContainer:"contentContainer-YZWqPt",eventImage:"eventImage-2yamHs",headerDetail:"headerDetail-jNduT3",closeButton:"closeButton-3IpryR",title:"title-2lTPXA",guildInfo:"guildInfo-vaBrWw",eventDateContainer:"eventDateContainer-2NsTkF",guildIconContainer:"guildIconContainer-VROBqJ",guildIconInnerCircle:"guildIconInnerCircle-QPbrpv",guildIconOuterCircle:"guildIconOuterCircle-hqFsIz"}},8041:function(e,t,o){e.exports={invoice:"invoice-2apAtq",bodyContentWrapper:"bodyContentWrapper-3MN60P",reviewBodyHeader:"reviewBodyHeader-22kBpf",paymentSourceDropdown:"paymentSourceDropdown-31HZ2A"}},8042:function(e,t,o){e.exports={modal:"modal-3xbZrE",modalContentForm:"modalContentForm-1yCtGA"}},8043:function(e,t,o){e.exports={container:"container-1zIh5b",innerContainer:"innerContainer-v408KG",outerContainer:"outerContainer-f2YWxd",guildIcon:"guildIcon-3-9C1R",border:"border-f4g_1z",speakerContainer:"speakerContainer-3Pc8T5",speaker:"speaker-2ccgwP",firstSpeaker:"firstSpeaker-3wmgPS",secondSpeaker:"secondSpeaker-2ykxBJ"}},8044:function(e,t,o){e.exports={innerPadding:"16px",container:"container-3Z2M46",description:"description-15WvSK",header:"header-1h7oGJ",addModeratorsHeader:"addModeratorsHeader-2dxHdN",addModeratorsHeaderSubtitle:"addModeratorsHeaderSubtitle-1FRERx",addModeratorsHeaderSubtitleIcon:"addModeratorsHeaderSubtitleIcon-1-qX50",addModeratorsCloseButton:"addModeratorsCloseButton-2CiwMN",confirmModalContainer:"confirmModalContainer-1LGyKn",confirmModalContent:"confirmModalContent-2Ldh1k",confirmModalPositiveButtonsContainer:"confirmModalPositiveButtonsContainer-3O9fTV",confirmModalFooter:"confirmModalFooter-3Bc2vB",addModeratorsButton:"addModeratorsButton-a-kh9z",cancelButton:"cancelButton-2759sk"}},8045:function(e,t,o){e.exports={container:"container-1a8CVa",contentContainer:"contentContainer-Iqyavt",eventDate:"eventDate-CgpLVj",liveTag:"liveTag-15JGLR",liveTagContainer:"liveTagContainer-19d-Ru",liveTagDot:"liveTagDot-2HiQ-Z",divider:"divider-28O2Pn",speakerCount:"speakerCount-3UB5IW",rsvpCount:"rsvpCount-2nLxCm",eventImageContainer:"eventImageContainer-12g4kq",eventImage:"eventImage-1NyWox",overflowMenu:"overflowMenu-1e2rF1",overflowMenuIcon:"overflowMenuIcon-1pMqUL",eventDescription:"eventDescription-3nCIaw",eventName:"eventName-25VCA5",loadingIndicatorContainer:"loadingIndicatorContainer-3RNohL",loadingIndicatorText:"loadingIndicatorText-3ItvDk",buttonContainer:"buttonContainer-2t5kSu",button:"button-8AyiKg",wrappedButton:"wrappedButton-3tUJ7L",disabledOutlinedButton:"disabledOutlinedButton-30Ft7j",buttonCheckmarkContainer:"buttonCheckmarkContainer-1_fgjw",buttonCheckmark:"buttonCheckmark-DDE8zP"}},8046:function(e,t,o){e.exports={rowHeight:"361px",container:"container-3wcyUB",listContainer:"listContainer-1Z1G48",row:"row-22UCsi",spinner:"spinner-YJxHhe",sectionName:"sectionName-3WMyjJ",divider:"divider-1iPZwW",emptyStateTitle:"emptyStateTitle-1RNB2R",emptyStateSubTitle:"emptyStateSubTitle-DMzpTu",emptyStateButton:"emptyStateButton-3ZkZuh",emptyStateContainer:"emptyStateContainer-ahj4wN"}},8047:function(e,t,o){e.exports={container:"container-38RxSG",headerBarContainer:"headerBarContainer-2Ibuqb",spinnerContainer:"spinnerContainer-LvJPRv"}},8048:function(e,t,o){e.exports={page:"page-AM7215",contentWrapper:"contentWrapper-3eBBQ_",dragRegion:"dragRegion-3YSHSw"}},8049:function(e,t,o){e.exports={inset:"inset-3sAvek",outer:"outer-1AjyKL",padded:"padded-302COx",interactive:"interactive-3B9GmY",active:"active-1xchHY"}},8050:function(e,t,o){e.exports={card:"card-2qZngs",header:"header-nbFv8R",buttonContainer:"buttonContainer-3S4iWT"}},8051:function(e,t,o){e.exports={size14:"size14-3iUx6q",height16:"height16-2Lv3qA",avatarDiameter:"24px",wrapper:"wrapper-3m_mRm",partyMembers:"partyMembers-id_l4H",partyMember:"partyMember-1CzxeX",partyMemberKnown:"partyMemberKnown-3Ee9hc partyMember-1CzxeX",partyMemberEmpty:"partyMemberEmpty-ra2xl3 partyMember-1CzxeX",partyMemberUnknown:"partyMemberUnknown-fwK2DC partyMember-1CzxeX",partyMemberUnknownIcon:"partyMemberUnknownIcon-1eDbV6",partyMemberOverflow:"partyMemberOverflow-lXnzvu size14-3iUx6q height16-2Lv3qA",partyMemberBackground:"partyMemberBackground-3XOgDv"}},8052:function(e,t,o){e.exports={memberItem:"memberItem-3VdCg9",avatar:"avatar-2Gkk10",unknown:"unknown-1xMjV9"}},8053:function(e,t,o){e.exports={itemCard:"itemCard-v9viV7",homepagePadding:"homepagePadding-hWnsD8",emptyCard:"emptyCard-1RJw8n",emptyHeader:"emptyHeader-3lmLcs",emptyText:"emptyText-2zjpZr",popout:"popout-38lTFE"}},8054:function(e,t,o){e.exports={scroller:"scroller-2ZPeAD",container:"container-lRFx4q",header:"header-2SF4Nh"}},8055:function(e,t,o){e.exports={wrapper:"wrapper-1cBijl",addFriendInput:"addFriendInput-4bcerK",addFriendHint:"addFriendHint-3Y70FX",ring:"ring-1u5L9a"}},8056:function(e,t,o){e.exports={friendsEmpty:"friendsEmpty-1K9B4k"}},8057:function(e,t,o){e.exports={sectionHeader:"sectionHeader-20RGqu",addInputWrapper:"addInputWrapper-1BOZ3d",header:"header-1-dBpZ",emptyState:"emptyState-2i1-FW",description:"description-1EvxpH",error:"error-3T-E-_",success:"success-t0oxXf"}},8058:function(e,t,o){e.exports={actionButton:"actionButton-uPB8Fs",highlight:"highlight-Lf97TE",disabled:"disabled-CPGw4b",actionAccept:"actionAccept-LV-szU",actionDeny:"actionDeny-de_uKj",icon:"icon-35-fSh"}},8059:function(e,t,o){e.exports={peopleListItem:"peopleListItem-2nzedh",active:"active-rhSpJJ"}},8060:function(e,t,o){e.exports={userInfo:"userInfo-2zN2z8",avatar:"avatar-3W3CeO",text:"text-37NqbO",subtext:"subtext-24R4-w",discordTag:"discordTag-2_tqUA",username:"username-31C1TQ",discriminator:"discriminator-22Okc1",hovered:"hovered-15FzL3"}},8061:function(e,t,o){e.exports={listItemContents:"listItemContents-BUaJR_"}},8062:function(e,t,o){e.exports={activity:"activity-2myFBH",text:"text-3MU_QQ",customStatusEmoji:"customStatusEmoji-1o3-7b"}},8063:function(e,t,o){e.exports={listItemContents:"listItemContents-95HL3L",actions:"actions-1SQwjn"}},8064:function(e,t,o){e.exports={listItemContents:"listItemContents-2w6nwE",userInfo:"userInfo-3bsjnc",tableHeader:"tableHeader-2HiNhG",tableHeaderText:"tableHeaderText-lC53gO",mutualGuilds:"mutualGuilds-2fYAPr",moreMutualGuildsBtn:"moreMutualGuildsBtn-2jTflt",actions:"actions-FAbeWr"}},8065:function(e,t,o){e.exports={title:"title-30qZAO"}},8066:function(e,t,o){e.exports={container:"container-1D34oG",inviteToolbar:"inviteToolbar-3F-l2g",peopleColumn:"peopleColumn-29fq28",nowPlayingColumn:"nowPlayingColumn-2sl4cE",nowPlayingScroller:"nowPlayingScroller-2XrVUt",consentCard:"consentCard-1iSxB_",tabBar:"tabBar-ZmDY9v",badge:"badge-1Skb69",item:"item-3HknzM",tabBody:"tabBody-3YRQ8W"}},8067:function(e,t,o){e.exports={container:"container-G4Iil7",avatar:"avatar-3FSiro"}},8068:function(e,t,o){e.exports={container:"container-3yC5sj",icon:"icon-29krgh",listeningText:"listeningText-2DLvOV",connectingText:"connectingText-1X2DnX",leaveButton:"leaveButton-3Z5D-N"}},8069:function(e,t,o){e.exports={container:"container-S9SaVf",loading:"loading-2PktB_",placeholderPulse:"placeholderPulse-3MG86Y",connected:"connected-2MF1ew"}},8070:function(e,t,o){e.exports={container:"container-1WCE6w",icons:"icons-2wALEG",star:"star-2uNoZO",stage:"stage-2UKqZE",plus:"plus-GIkx48",title:"title-2TmeU7",button:"button-1h8W6d"}},8071:function(e,t,o){e.exports={container:"container-2rNpDV",illustration:"illustration-h6_gtD",content:"content-1cqZ_C",body:"body-3MGQWc",header:"header-3g0E_g",icon:"icon-xp84qZ"}},8072:function(e,t,o){e.exports={container:"container-3u4ndt",header:"header-3YnDzJ",subheader:"subheader-2RpfyZ"}},8073:function(e,t,o){e.exports={container:"container-24CyRY",headerContainer:"headerContainer-1Wluzl",pageHeader:"pageHeader-3nuK1W",inNetworkFooter:"inNetworkFooter-1Ar7aa"}},8074:function(e,t,o){e.exports={container:"container-1a3EgQ",headerBarContainer:"headerBarContainer-31FKNA",button:"button-3r13ck",pageContent:"pageContent-1xgXch",stageSection:"stageSection-3mAD8V",nowPlayingSidebar:"nowPlayingSidebar-2OFn0o"}},8075:function(e,t,o){e.exports={barHeight:"90px",wrapper:"wrapper-1vl07G",content:"content-xg2sa4",subHeader:"subHeader-2Z2O3W",image:"image-13pySt",buttonContainer:"buttonContainer-2bppvf",button:"button-1MWE0_",header:"header-jCWbCG"}},8076:function(e,t,o){e.exports={smallBreakPoint:"600px",mediumBreakPoint:"768px",modal:"modal-3SaIF0",header:"header-2BX45q",closeButton:"closeButton-3sommQ",updateBadge:"updateBadge-3EKJEV",updateBadgeText:"updateBadgeText-f1PbSt",content:"content-RXzE-X"}},8077:function(e,t,o){e.exports={smallBreakPoint:"600px",mediumBreakPoint:"768px",container:"container-3icKsq",image:"image-17cWYY",video:"video-3XTjG6",header:"header-2DNSXx",headerGraphic:"headerGraphic-2iKD27",headerContent:"headerContent-2ePP2Q",headerText:"headerText-ZVZ4bX",dateText:"dateText-DM8xBj",headerLeftImage:"headerLeftImage-3O0NaS",headerRightImage:"headerRightImage-2PAuBe",footer:"footer-1lnhms",footerCTAFallbackText:"footerCTAFallbackText-3fRBqA",ctaAnchor:"ctaAnchor-3-8I3v",copyButton:"copyButton-IOQPbV",inviteCTAHeader:"inviteCTAHeader-2FN3Cg",inviteCTABody:"inviteCTABody-aBkXvh",body:"body-2hl0pA",urlToCopy:"urlToCopy-2HOnvi"}},8078:function(e,t,o){e.exports={video:"video-1FESK-",container:"container-1_ClKi",image:"image-2WjK2f",title:"title-18Xx5z",lead:"lead-EXTwq7",added:"added-2hLRj3 title-18Xx5z",fixed:"fixed-3zCC84 title-18Xx5z",improved:"improved-1NJK-y title-18Xx5z",progress:"progress-YsDrV- title-18Xx5z",marginTop:"marginTop-2incQ6",footer:"footer-SqIiQ_",socialLink:"socialLink-3n2n25",premiumBanner:"premiumBanner-rP6H1S",premiumIcon:"premiumIcon-2tjl0P",date:"date-1k6kG2"}},8079:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",emptyWrapper:"emptyWrapper-NIq2Vh",emptyImage:"emptyImage-3vux8F desaturate-qhyunI",emptyTitle:"emptyTitle-30_Om3",emptySubtitle:"emptySubtitle-B4JMbX",emptyCTA:"emptyCTA-5YWKYX"}},8080:function(e,t,o){e.exports={searchBox:"searchBox-3Y2Vi7",searchBoxInput:"searchBoxInput-uJtBcv",searchBoxInputWrapper:"searchBoxInputWrapper-nKncfu",cta:"cta-BiH9zX",clear:"clear-U3WkKp",clearIcon:"clearIcon-2N9YIn",searchIcon:"searchIcon-1a1-yA",filterLabel:"filterLabel-2yQNPl"}},8081:function(e,t,o){e.exports={cardHeight:"260px",card:"card-Rhm0MB",addEntryCard:"addEntryCard-11Q874 card-Rhm0MB",addServerText:"addServerText-2TmEN2",cardHeader:"cardHeader-3v6rH5",splash:"splash-1FJLsm",splashImage:"splashImage-1C2uTN",guildIcon:"guildIcon-1AUMvx",icon:"icon-36l7g2",overflowMenu:"overflowMenu-2UV1_r",iconMask:"iconMask-IeE9AR",avatar:"avatar-2WIa21",guildInfo:"guildInfo-3-Pgjr",title:"title-2oCVO0",guildBadge:"guildBadge-1RgyZQ",guildName:"guildName-2Ipq5G",description:"description-1_YF9b",memberInfo:"memberInfo-2WkeNQ",memberCount:"memberCount-2ZlGu3",statusDot:"statusDot-K0W5Iz",dotOnline:"dotOnline-1Bn2aj statusDot-K0W5Iz",dotOffline:"dotOffline-1OauLD statusDot-K0W5Iz",joinButton:"joinButton-1EMfcs"}},8082:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",minHeaderWidth:"650px",header:"header-1PwRG9",headerImage:"headerImage-3pwkCG desaturate-qhyunI",searchTitle:"searchTitle-3LfThw",searchSubtitle:"searchSubtitle-2qRUsG",headerContentWrapper:"headerContentWrapper-2kkRy-",headerContent:"headerContent-1HfSPQ",searchBox:"searchBox-2R4IbA",searchBoxInput:"searchBoxInput-E9B4FK",closeIcon:"closeIcon-gJtlxl",searchIcon:"searchIcon-1EWivs"}},8083:function(e,t,o){e.exports={searchHeader:"searchHeader-1FrjMT",searchPageBox:"searchPageBox-2SLwyN",searchPageInput:"searchPageInput-1Tzz2-",headerTitleWrapper:"headerTitleWrapper-EsTOCE",arrow:"arrow-18xGWB",searchPageTitle:"searchPageTitle-2dL153",emptySearchWrapper:"emptySearchWrapper-33LoYA",emptySearchImage:"emptySearchImage-3P2xTj",emptySearchTitle:"emptySearchTitle-2kwsQd",emptySearchSubtitle:"emptySearchSubtitle-3OQvxA"}},8084:function(e,t,o){e.exports={formHeaderContainer:"formHeaderContainer-3q1-XI",formContent:"formContent-2H_v0k",formFooter:"formFooter-1gE60f",formImage:"formImage-1w5Q-K",formSubHeader:"formSubHeader-3VaaCi",formHeader:"formHeader-2pj06R"}},8085:function(e,t,o){e.exports={searchIndexAnimation:"searchIndexAnimation-UMrQlU",searchIndexBackground:"searchIndexBackground-HQa_J9",searchIndexForeground:"searchIndexForeground-2JZI-e",background:"background-3L9vjg",magnifyingGlass:"magnifyingGlass-2UrCit",mask:"mask-2MEvVp"}},8086:function(e,t,o){e.exports={searchHeader:"searchHeader-2XoQg7",helpdeskLink:"helpdeskLink-3VCFM5",totalResults:"totalResults--dyAxF",totalResultsWrapper:"totalResultsWrapper-1nPIgl",spinnerWrapper:"spinnerWrapper-3hIs5I",spinner:"spinner-1E004m",spinnerPath:"spinnerPath-2gCaLq",tab:"tab-2j5AEF",selected:"selected-2LAck8"}},8087:function(e,t,o){e.exports={container:"container-NdaZbY"}},8088:function(e,t,o){e.exports={container:"container-2j2llN",searchResult:"searchResult-9tQ1uo",message:"message-1Ng5AR",buttonsContainer:"buttonsContainer-7PA8hy",button:"button-11zvza"}},8089:function(e,t,o){e.exports={searchResultGroup:"searchResultGroup-1DphGG",channelName:"channelName-1JRO3C",channelNameIcon:"channelNameIcon-27Cx1g",resultsBlocked:"resultsBlocked-3a77lQ",resultsBlockedImage:"resultsBlockedImage-2aDVMx"}},8090:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",searchResultsWrap:"searchResultsWrap-3-pOjs",scroller:"scroller-3GIiMh",emptyResultsWrap:"emptyResultsWrap-G931-Q",emptyResultsContent:"emptyResultsContent-3ez0g8",emptyResultsText:"emptyResultsText-3mouZA",stillIndexing:"stillIndexing-K2usQX",noResultsImage:"noResultsImage-3Y0eCI desaturate-qhyunI",errorImage:"errorImage-12Q43V",errorMessage:"errorMessage-3TqJbP",noResults:"noResults-sW1yWR",alt:"alt-3EpRdH"}},8091:function(e,t,o){e.exports={chat:"chat-1cCjJ5",messagesWrapper:"messagesWrapper-2Nta7M",scroller:"scroller-36cuUh",scrollerInner:"scrollerInner-1JzK65",formSection:"formSection-33c8Tg",checkbox:"checkbox-2db6gx",privateThreadDescription:"privateThreadDescription-3_57Hi",select:"select-25Azxp",form:"form-3eU9kJ",channelTextArea:"channelTextArea-3O-WhA",channelTextAreaInner:"channelTextAreaInner-1WnnRS",submitContainer:"submitContainer-g72mF-",submitButton:"submitButton-10dlpk",messagePreview:"messagePreview-3WlsGw"}},8092:function(e,t,o){e.exports={icon:"icon-iDUzSK",count:"count-bFJRJm",browser:"browser-2NpbWS"}},8093:function(e,t,o){e.exports={strikethrough:"strikethrough-otdQWt"}},8094:function(e,t,o){e.exports={chat:"chat-15Vmww"}},8095:function(e,t,o){e.exports={container:"container-2Bfwy4",content:"content-MLh4nU",splashImage:"splashImage-13vBzp",splashHeader:"splashHeader-ehL7gZ",splashText:"splashText-3jk87t"}},8096:function(e,t,o){e.exports={noChannel:"noChannel-3LgMRp"}},8097:function(e,t,o){e.exports={divider:"divider-3zoCmA",private:"private-1mt6w1",instructions:"instructions-O3OCc7",emptyState:"emptyState-2KU9WW",emptyStateHeader:"emptyStateHeader-W2ruuN",emptyStateIcon:"emptyStateIcon-1JWNn4",emptyStateIconContainer:"emptyStateIconContainer-3CFwua",emptyStateStars:"emptyStateStars-3H0CeG",emptyStateSubtext:"emptyStateSubtext-2G0UeF"}},8098:function(e,t,o){e.exports={strikethrough:"strikethrough-3Wiitd"}},8099:function(e,t,o){e.exports={notice:"notice-3uyY6c",error:"error-10-hkY",button:"button-gP4R86",header:"header-2QVqxD"}},8100:function(e,t,o){e.exports={notice:"notice-2X5hT5",button:"button-2PWmas",back:"back-1Ess-_",iconButton:"iconButton-2_z05_",arrow:"arrow-18Rpsc",header:"header-1g25vm"}},8101:function(e,t,o){e.exports={container:"container-_xSQEe",acceptButton:"acceptButton-1w0WVo",acceptText:"acceptText-j9fxRL",declineButton:"declineButton-3AjV5l",declineText:"declineText-awkkNG",blocked:"blocked-v_WYd3",blockedIcon:"blockedIcon-1j8HfR",blockedText:"blockedText-18I_XK"}},8102:function(e,t,o){e.exports={errorLabel:"errorLabel-7OAe-A",supportCallToAction:"supportCallToAction-7lpXkq",errorDetails:"errorDetails-qKU8eS",body:"body-3AvtFJ",closeLink:"closeLink-2MRAUp"}},8103:function(e,t,o){e.exports={tabBadge:"tabBadge-3smxHS",downloadProgressCircle:"downloadProgressCircle-3_wgim",hideGameUpdateProgressIndicator:"hideGameUpdateProgressIndicator-YAQq-w",privateChannels:"privateChannels-1nO12o",searchBar:"searchBar-6Kv8R2",searchBarComponent:"searchBarComponent-32dTOx"}},8104:function(e,t,o){e.exports={libraryFilter:"libraryFilter-31ZUa2",focused:"focused-2eiV0o",searchBar:"searchBar-TUoVPN"}},8105:function(e,t,o){e.exports={libraryHeader:"libraryHeader-3g95kE"}},8106:function(e,t,o){e.exports={row:"row-1Lmx44",clickable:"clickable-VxMZ3b",headerCell:"headerCell-2jGIdL",headerCellContent:"headerCellContent-1pLtOr",stickyHeader:"stickyHeader-r2k9DK",spacerHeader:"spacerHeader-3eoEE2",sortIcon:"sortIcon-3wW2NW",headerCellSorted:"headerCellSorted-1JR4Ny"}},8107:function(e,t,o){e.exports={rowMinHeight:"62px",linkedToGlowDuration:"2000ms",table:"table-1tDS6w",header:"header-39GIC8",nameCell:"nameCell-3_ThYZ",nameCellText:"nameCellText-1mpqtF",icon:"icon-1IKq3C",nitroIcon:"nitroIcon-2_2ZKS icon-1IKq3C",lastPlayedCell:"lastPlayedCell-2arbtc",platformCell:"platformCell-XyBBs6",actionsCell:"actionsCell-1awtNi",stickyHeader:"stickyHeader-1pqx0j header-39GIC8",headerCell:"headerCell-3L6rFG",headerCellSorted:"headerCellSorted-3a5AzJ",rowWrapper:"rowWrapper-2fB6P0",row:"row-ZLfFhY",rowWrapperActive:"rowWrapperActive-2L7i9f rowWrapper-2fB6P0",rowWrapperGlow:"rowWrapperGlow-w1rbPJ rowWrapper-2fB6P0",rowBackground:"rowBackground-3MeNoN",bodyCell:"bodyCell-9xKjWE",textCell:"textCell-1aBIUP",nameBodyCell:"nameBodyCell-3JOlnK",nameCellInfo:"nameCellInfo-11WjkQ",lastPlayedCellNew:"lastPlayedCellNew-3twqHQ",gameIcon:"gameIcon-3XJ9fu",actionButtonSize:"actionButtonSize-1Znp1q",hidden:"hidden-QHDCKo",settingIcons:"settingIcons-3QYa5E",settingIcon:"settingIcon-1nXguX icon-1IKq3C",emptyState:"emptyState-1pmlaK",emptyStateText:"emptyStateText-1CEHF_",emptyStateHeader:"emptyStateHeader-3CJtAy",emptyStateDescription:"emptyStateDescription-2IePen",emptyStateButtons:"emptyStateButtons-2u6vlI",emptyStateButton:"emptyStateButton-ab82qi",emptyWumpus:"emptyWumpus-12J3jI",emptyStateLarge:"emptyStateLarge-1nQX5A emptyState-1pmlaK",emptyStateSmall:"emptyStateSmall-2Ttdgm emptyState-1pmlaK",rowWrapperDim:"rowWrapperDim-2Y1SDG",glow:"glow-3kkOpg"}},8108:function(e,t,o){e.exports={progress:"progress-5tMCVk",progressBar:"progressBar-3zryPV",animating:"animating-LLJeAN",xsmall:"xsmall-2LuBKD",small:"small-4dgL9e",large:"large-2ObtSP"}},8109:function(e,t,o){e.exports={canvas:"canvas-vcIIha"}},8110:function(e,t,o){e.exports={monitor:"monitor-16FZmL",overflowContainer:"overflowContainer-3Px9Jk",text:"text-UALi1A",title:"title-1rXJ86",rate:"rate-1Gat8e",sparkChart:"sparkChart-1mzaPT"}},8111:function(e,t,o){e.exports={table:"table-2BOVTY",gameUpdates:"gameUpdates-2GPqBU",headerRow:"headerRow-2xTwL8",headerCell:"headerCell-1ucI8T",diskProgress:"diskProgress-37-Sik",networkProgress:"networkProgress-2auspD",row:"row-2X_kYI",cell:"cell-nWKOx7",nameCell:"nameCell-bbdv8D",progressCell:"progressCell-3JFYxP",actionsCell:"actionsCell-31fBWo",nameCellHeader:"nameCellHeader-3ioEGH",nameCellText:"nameCellText-Ubz8FY",progressCellHeader:"progressCellHeader-2-7Z16",progressCellBody:"progressCellBody-1PZmFW",progressCellText:"progressCellText-3avmMz",infoIcon:"infoIcon-2h6crV",actionButton:"actionButton-4w4-EY",actionButtonContents:"actionButtonContents-1bdeMq",gameActionButton:"gameActionButton-1PpUxH",actionIcon:"actionIcon-3Pm3FL"}},8112:function(e,t,o){e.exports={container:"container-19hC9u",scroller:"scroller-1IIF0A",stickyScroller:"stickyScroller-24zUyY"}},8113:function(e,t,o){e.exports={wrapper:"wrapper-1u09nF",svg:"svg-3yO_hc",path:"path-3H_ZFA",background:"background-yZEZik path-3H_ZFA",foreground:"foreground-2aE44H path-3H_ZFA",usageInfo:"usageInfo-2WQAwr"}},8114:function(e,t,o){e.exports={hoverRoll:"hoverRoll-YK53gQ",forceHover:"forceHover-10IIq8",disabled:"disabled-3Vq5Ov",default:"default-3sgIpy",hovered:"hovered-d5PMVU"}},8115:function(e,t,o){e.exports={itemPadding:"20px",wrapper:"wrapper-3Lw29Y",installationPath:"installationPath-3cStrB",installationPathEditing:"installationPathEditing-1ecsKV",separator:"separator-3JyZKG",defaultIndicator:"defaultIndicator-3WqGFB",rowBody:"rowBody-3dJTTZ",buttonRowWrapper:"buttonRowWrapper-3taTnj",defaultLocationCheckbox:"defaultLocationCheckbox-3HMIPO",rowTitle:"rowTitle-1KYtY7"}},8116:function(e,t,o){e.exports={card:"card-FDVird",scroller:"scroller-2XE8rp",body:"body-3s3lDR",hiddenLibraryApplications:"hiddenLibraryApplications-2C70Ov",hiddenLibraryApplicationContent:"hiddenLibraryApplicationContent-2Q-kwE",hiddenLibraryApplicationsTitle:"hiddenLibraryApplicationsTitle-xEDJHH",hiddenLibraryApplication:"hiddenLibraryApplication-T6N3U1 card-FDVird",restoreButton:"restoreButton-3jU0Z6",restoreIcon:"restoreIcon-28gQmF",applicationName:"applicationName-2toV6z",applicationSubText:"applicationSubText-2V8LSK"}},8117:function(e,t,o){e.exports={container:"container-3Mxszk"}},8118:function(e,t,o){e.exports={cardHeight:"320px",card:"card-3DjzTQ",iconMask:"iconMask-3b8GzQ",splash:"splash-3N0nhD",cardPlaceholder:"cardPlaceholder-1zrbbe card-3DjzTQ",placeholderPulse:"placeholderPulse-3szywu",cardHeader:"cardHeader-Int16m",splashImage:"splashImage-1wJ3Sk",loaded:"loaded-1eBnjq",guildIcon:"guildIcon-3W0pfo",avatar:"avatar-22otdK",guildInfo:"guildInfo-2wGKIg",title:"title-OqQvkN",guildBadge:"guildBadge-RlDbED",guildName:"guildName-1yURO5",description:"description-2QALGo",memberInfo:"memberInfo-3r4FKx",memberCount:"memberCount-1a8ALW",dotOnline:"dotOnline-8Ag7EB",dotOffline:"dotOffline-3DXoDy dotOnline-8Ag7EB",loading:"loading-17PYl_",submitting:"submitting-1aI0iz",spinner:"spinner-3lb-NU"}},8119:function(e,t,o){e.exports={container:"container-V70vZ2",searchPage:"searchPage-3GKAdT",search:"search-1iTphC",searchBox:"searchBox-2_mAlO",searchBoxInput:"searchBoxInput-K6mkng",closeIcon:"closeIcon-2WLZc1",searchIcon:"searchIcon-6ljH-4",languageSelector:"languageSelector-LEtpHP",categories:"categories-1ywIbh",categoryPill:"categoryPill-34fszg",categoryLabel:"categoryLabel-2G3r2V",selected:"selected-1dONk0"}},8120:function(e,t,o){e.exports={card:"card-Lnpy-k",container:"container-2zflaQ",content:"content-1BENPf",header:"header-17VJwP",splashContainer:"splashContainer-1rUZiJ",splashImage:"splashImage-37Y0AL",avatar:"avatar-1izvHm",headerName:"headerName-2_tRB0",hover:"hover-5Ebo7F",guildBadge:"guildBadge-3eWG1R",description:"description-2gqdJO",memberInfo:"memberInfo-1YVMA9",memberCount:"memberCount-3waKfJ",dotSeparator:"dotSeparator-vID2Hz",separator:"separator-2xbLUz",placeholder:"placeholder-2erB-x container-2zflaQ",placeholderPulse:"placeholderPulse-19E6RQ",submitting:"submitting-IZmnHL",spinner:"spinner-2OWD4A"}},8121:function(e,t,o){e.exports={maxSearchBarWidth:"720px",container:"container-1A4qMb",searchHeader:"searchHeader-14dJfk",header:"header-1URtb6",arrow:"arrow-3Qp2S8",results:"results-2a-SSB",emptyContainer:"emptyContainer-1_gwCl",emptyImage:"emptyImage-1ABqhB",errorImage:"errorImage-1StK2r",emptyHeader:"emptyHeader-3hf8Hv"}},8122:function(e,t,o){e.exports={container:"container-3WrP6S",iconContainer:"iconContainer-27DuH-",icon:"icon-3rDfhS",header:"header-1d65jP",gap:"gap-rZ5eV1",addButton:"addButton-1YFqaW"}},8123:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",container:"container-1EB6d8",content:"content-1b25Wt",contentScroll:"contentScroll-3SDmjo",contentContainer:"contentContainer-23x-Xa",sidebar:"sidebar-1Lipg4",sidebarScroll:"sidebarScroll-1fj_gW",scroller:"scroller-3Vjo4T",headerImage:"headerImage-1vDSE3 desaturate-qhyunI",headerContainer:"headerContainer-356ZSf",headerContent:"headerContent-WpYuS6",headerText:"headerText-lI2ujL",headerDescription:"headerDescription-2XFueT",divider:"divider-3W3RCQ",footerDescription:"footerDescription-3tQBQ3"}},8124:function(e,t,o){e.exports={discoverHeader:"discoverHeader-Ijkm_M"}},8125:function(e,t,o){e.exports={artHeight:"120px",emojiSize:"22px",emojiMargin:"10px",formGroup:"formGroup-2hEDrJ",formDivider:"formDivider-MjIVc7",modalRoot:"modalRoot-1Kx4Hb",inputContainer:"inputContainer-1SpwlU",modalCloseButton:"modalCloseButton-3ztS-g",headerText:"headerText-2uyvpY",emojiButton:"emojiButton-2NpAb3",fullOpacity:"fullOpacity-mggU2C",emojiButtonContainer:"emojiButtonContainer-3d6DFV",emoji:"emoji-MCvpgl",input:"input-1GLP_D",clearButton:"clearButton-13g8ju",clearIcon:"clearIcon-xXwSFS",headerContainer:"headerContainer-3N-yWX",header:"header-3C6qT5",art:"art-347BZj",cancelButton:"cancelButton-2O3h8t",statusOptionItem:"statusOptionItem-Yx4fei",statusIcon:"statusIcon-17SurO"}},8126:function(e,t,o){e.exports={statusItem:"statusItem-33LqPf",status:"status-1fhblQ",icon:"icon-1IxfJ2",description:"description-2L932D",customStatusItem:"customStatusItem-1TTIxM statusItem-33LqPf",customStatusWithEmoji:"customStatusWithEmoji-8-XZ8I statusItem-33LqPf",customEmoji:"customEmoji-2_2FwB",customEmojiPlaceholder:"customEmojiPlaceholder-37iZ_j customEmoji-2_2FwB",customText:"customText-tY5LJn",clearStatusButton:"clearStatusButton-1Mxs1q",clearStatusIcon:"clearStatusIcon-3-MDNF"}},8127:function(e,t,o){e.exports={content:"content-23Vf0N",art:"art-1f2nmf",headerText:"headerText-21DDzl",bodyText:"bodyText-2tDiRp",button:"button-1wP1OV",pointer:"pointer-2uxyAa"}},8128:function(e,t,o){e.exports={marginTop20:"marginTop20-3TxNs6",marginBottom8:"marginBottom8-AtZOdT",group:"group-2TdL0v marginTop20-3TxNs6",title:"title-21ph07 marginBottom8-AtZOdT",experimentDate:"experimentDate-1aRats",emptyState:"emptyState-hkJPHr"}},8129:function(e,t,o){e.exports={modalContent:"modalContent-2ParpD",header:"header-2BYOHT",promo:"promo--BLWHF",promoText:"promoText-2pe0yR",avatar:"avatar-2IUHRM",cancelButton:"cancelButton-2i5eJ4",modalFooter:"modalFooter-mcRLvN",modalFooterActions:"modalFooterActions-1prWEU"}},8130:function(e,t,o){e.exports={fakeActivityTitle:"fakeActivityTitle-3Yf28p",fakeActivityLayout:"fakeActivityLayout-3f8wLm",fakeActivityIcon:"fakeActivityIcon-30ykyj",fakeActivityPencil:"fakeActivityPencil-16MrMa",fakeActivityContent:"fakeActivityContent-3sb3Tg",fakeActivityTimeValues:"fakeActivityTimeValues-1FwoxE"}},8131:function(e,t,o){e.exports={profileBannerPreview:"profileBannerPreview-3_l0Wd",banner:"banner-hcPdsd",bannerUploader:"bannerUploader-3AZuN1",gifTag:"gifTag-1Jm8FJ",bannerUploaderInnerSquare:"bannerUploaderInnerSquare-1ddxpx banner-hcPdsd",bannerNormal:"bannerNormal-22rPhb banner-hcPdsd",bannerNitroUpsell:"bannerNitroUpsell-3f4I57",bannerNitroUpsellText:"bannerNitroUpsellText-1kWpxG",popoutInfo:"popoutInfo-pKbpvG",avatarUploader:"avatarUploader-2UF9NL",avatarUploaderNormal:"avatarUploaderNormal-zvplUn avatarUploader-2UF9NL",avatarUploaderPremium:"avatarUploaderPremium-2K8j_T avatarUploader-2UF9NL",avatarUploaderInner:"avatarUploaderInner-Oiob_P"}},8132:function(e,t,o){e.exports={customizationSection:"customizationSection-2ns2M6",sectionDescription:"sectionDescription-3KkObU",errorMessage:"errorMessage-2cMV3U"}},8133:function(e,t,o){e.exports={buttonsContainer:"buttonsContainer-2EXVdN",removeButton:"removeButton-1skX4E"}},8134:function(e,t,o){e.exports={nitroUpsellButtonInner:"nitroUpsellButtonInner-zjGzQV",nitroUpsellButtonWheel:"nitroUpsellButtonWheel-3DQNDA",nitroWheel:"nitroWheel-3ABMax",buttonsContainer:"buttonsContainer-J9EyRh",removeButton:"removeButton-2AWwlf"}},8135:function(e,t,o){e.exports={buttonsContainer:"buttonsContainer-1Stjd1",colorSwatch:"colorSwatch-3g4qA8",swatchDescription:"swatchDescription-1OGz4Y",swatch:"swatch-3mFIiP",customSwatch:"customSwatch-1axV7B swatch-3mFIiP",defaultSwatch:"defaultSwatch-2nDSvP",dropperIcon:"dropperIcon-3Cwhnk",profileColorTitle:"profileColorTitle-1i-vxM",betaBadge:"betaBadge-1VY8Cw"}},8136:function(e,t,o){e.exports={userProfileCustomizationSection:"userProfileCustomizationSection-8Vpo48",baseLayout:"baseLayout-2GkbfB",preview:"preview-yzOwK1"}},8137:function(e,t,o){e.exports={info:"info-1VyQPT",line:"line-3ColD0",versionHash:"versionHash-2gXjIB"}},8138:function(e,t,o){e.exports={socialLinks:"socialLinks-3jqNFy",link:"link-1IoFq-",foreground:"foreground-26ym5y"}},8139:function(e,t,o){e.exports={preview:"preview-2Vkbi6",previewMessage:"previewMessage-1ZN7YG",previewHeader:"previewHeader-14xJxw",previewAvatars:"previewAvatars-2J1R8v"}},8140:function(e,t,o){e.exports={description:"description-31A0cy",buttonContainer:"buttonContainer-1zBNxN",disableButton:"disableButton-220a9y"}},8141:function(e,t,o){e.exports={header:"header-3ydO_m",title:"title-33m_XM",subtitle:"subtitle-1DRiTc",modalCloseButton:"modalCloseButton-3aEy9o",content:"content-1AKki_",password:"password-7h0m3y",cancel:"cancel-3ncp2g",multiInput:"multiInput-2AiDV2",multiInputFirst:"multiInputFirst-2aPTwX",multiInputField:"multiInputField-3K361B",multiInputLast:"multiInputLast-33BbRU",questionMark:"questionMark-3qBhGj",icon:"icon-3zLVMD",discriminatorChangeWarning:"discriminatorChangeWarning-3Aw70V"}},8142:function(e,t,o){e.exports={accountProfileCard:"accountProfileCard-1XCH88",userInfo:"userInfo-iCloHO",avatar:"avatar-1uQSZT",profileCardUsernameRow:"profileCardUsernameRow-1koz7u",overflowMenuButton:"overflowMenuButton-1U2jMB",overflowMenuIcon:"overflowMenuIcon-1h7e8s",userTag:"userTag-1PLzkC",discriminator:"discriminator-2C3qJO",background:"background-1QDuV2",profile:"profile-1eT9hT",avatarUploaderInner:"avatarUploaderInner-2EvNMg",details:"details-2fkb7l",detailsInner:"detailsInner-1VPlWl",username:"username-1fQw19",badgeList:"badgeList-HtCfKd",fieldList:"fieldList-21DyL8",field:"field-1HUseB",fieldSpacer:"fieldSpacer-wgewFh",fieldTitle:"fieldTitle-3h2iLW",fieldButtonList:"fieldButtonList-16Wn0S",fieldButton:"fieldButton-27bJrp",removeButton:"removeButton-3vophT",menu:"menu-319q29",uploadButton:"uploadButton-3kjtMm",avatarError:"avatarError-10Cg1R",constrainedRow:"constrainedRow-2GB6Ki",usernameRow:"usernameRow-2Lu_-c",usernameInnerRow:"usernameInnerRow-ZlFnET"}},8143:function(e,t,o){e.exports={header:"header-2xfEYR",title:"title-7KIelA",subtitle:"subtitle-2RGT-H",modalCloseButton:"modalCloseButton-1tQPZJ",content:"content-39mg13",newPassword:"newPassword-2xUoju",cancel:"cancel-3-Mvz6"}},8144:function(e,t,o){e.exports={spacing:"spacing-1KPMm9 marginBottom20-32qID7",headerSpacing:"headerSpacing-VC8KSy",topSpacing:"topSpacing-1zJ_nL marginTop20-3TxNs6",inputContainer:"inputContainer-3J8c1k marginTop8-1DLZ1n",input:"input-1yeenJ",customWidth:"customWidth-hekRLH",divider:"divider-2iVRnS marginTop20-3TxNs6 marginBottom20-32qID7",image:"image-zE4JEH",secret:"secret-VW-wXa",subHeader:"subHeader-3TFIST"}},8145:function(e,t,o){e.exports={marginTop20:"marginTop20-3TxNs6",marginBottom20:"marginBottom20-32qID7",modal:"modal-IZS9Va",modalInner:"modalInner-H7DVez",header:"header-26_H9C",divider:"divider-1F2Yxh marginTop20-3TxNs6 marginBottom20-32qID7",sectionBody:"sectionBody-DUrZPU marginBottom20-32qID7",phoneNumber:"phoneNumber-1Sn5tB",linkButton:"linkButton-2seBb6",subHeader:"subHeader-3FXnUc"}},8146:function(e,t,o){e.exports={modalContent:"modalContent-Kx1eDz",inputWrapper:"inputWrapper-1WF_fw"}},8147:function(e,t,o){e.exports={preview:"preview-2nSL_2",firstMessage:"firstMessage-2wgPU_",compactPreview:"compactPreview-uctQ4t"}},8148:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",authedApp:"authedApp-mj2Hmd",deleteApp:"deleteApp-dtfZIe",headerInfo:"headerInfo-30WFqE",appAvatar:"appAvatar-3bgkQ9",permission:"permission-1gtoyP",permissionCheckmark:"permissionCheckmark-1SeKr2 desaturate-qhyunI"}},8149:function(e,t,o){e.exports={cardNumberWrapper:"cardNumberWrapper-3YhV1H",cardIcon:"cardIcon-8A8yRg",cardNumberInput:"cardNumberInput-3vDUEy"}},8150:function(e,t,o){e.exports={formError:"formError-2HK0A5",card:"card-VoqMMK",addressSection:"addressSection-3LwW_f",formActions:"formActions-34l65m",defaultSection:"defaultSection-2hDX5u",defaultCheckboxLabel:"defaultCheckboxLabel-380vsp",sectionHeader:"sectionHeader-1068cF",subText:"subText-1Lf-cY",errorSubText:"errorSubText-E6nFXO subText-1Lf-cY",disabledTooltipWrapper:"disabledTooltipWrapper-pcjnN3",disabledTooltipTarget:"disabledTooltipTarget-1M3ydP"}},8151:function(e,t,o){e.exports={paymentSourceRow:"paymentSourceRow-3FbcL_",header:"header-3HBlrs",subText:"subText-2Zhkkh",footer:"footer-TVTShO",lockIcon:"lockIcon-1UaIyp"}},8152:function(e,t,o){e.exports={syncing:"syncing-q4sYw9",paymentHistory:"paymentHistory-2FXzro",codeRedemptionRedirect:"codeRedemptionRedirect-1wVR4b"}},8153:function(e,t,o){e.exports={marginTop8:"marginTop8-1DLZ1n",marginBottom20:"marginBottom20-32qID7",marginBottom8:"marginBottom8-AtZOdT",flexCenter:"flexCenter-3_1bcw flex-1O1GKY justifyCenter-3D2jYp alignCenter-1dQNNs",elevationLow:"elevationLow-2lY09M",noUserDrag:"noUserDrag-5Mb43F",accountList:"accountList-33MS45",accountBtn:"accountBtn-2Nozo3",accountBtnInner:"accountBtnInner-sj5jLs",connectionList:"connectionList-3pzR-1",connection:"connection-1fbD7X marginBottom8-AtZOdT",connectionHeader:"connectionHeader-2MDqhu",connectionAccountValue:"connectionAccountValue-3VdBGs",connectionAccountLabel:"connectionAccountLabel-1DiK0A",connectionIcon:"connectionIcon-2ElzVe noUserDrag-5Mb43F",connectionOptionsWrapper:"connectionOptionsWrapper-3KIj1Z",connectionOptionSwitch:"connectionOptionSwitch-3KNn-E marginBottom20-32qID7",connectionOptions:"connectionOptions-YE9FAM",integrationsWrapper:"integrationsWrapper-VkM_zO",integration:"integration-3kMeY4 marginTop8-1DLZ1n",guildIcon:"guildIcon-YCs9He",integrationInner:"integrationInner-3SUFBs",channelLink:"channelLink-2TxEu3",integrationName:"integrationName-2tSCoY",warning:"warning-1XxEC9",connectedAccounts:"connectedAccounts-2-XP1G",connectionDelete:"connectionDelete-2Odoln",connectedAccountSeparator:"connectedAccountSeparator-2EgLhW",subEnabledTitle:"subEnabledTitle-2ElRo_"}},8154:function(e,t,o){e.exports={item:"item-3q5jTx",removeBuildOverride:"removeBuildOverride-1P8xc1",buildOverrideGroup:"buildOverrideGroup-2x3Fda",codebox:"codebox-1FquOa",removeBuildOverrideDisabled:"removeBuildOverrideDisabled-3-pn2T",row:"row-2o2DzQ"}},8155:function(e,t,o){e.exports={notDetected:"notDetected-33MY4s",nowPlaying:"nowPlaying-284llR",overlayStatusText:"overlayStatusText-L2IACa",overlayWarningIcon:"overlayWarningIcon-3fZsZE",nowPlayingAdd:"nowPlayingAdd-1Kdmh_",game:"game-1ipmAa",removeGame:"removeGame-2JFGPn",activeGame:"activeGame-14JI7o",gameName:"gameName-1RiWHm",gameNameInput:"gameNameInput-385LoS",gameVerifiedIcon:"gameVerifiedIcon-2dGGa5",lastPlayed:"lastPlayed-3bQ7Bo",overlayToggleIcon:"overlayToggleIcon-2liB3r",gameNameLastPlayed:"gameNameLastPlayed-3LJo8n",overlayToggleIconOff:"overlayToggleIconOff-1kT42w",fill:"fill-1ugeBG",addGamePopout:"addGamePopout-2RY8Ju",actions:"actions-3wcPyD",detectedApplication:"detectedApplication-1qfUIv",overlayToggleIconOn:"overlayToggleIconOn-3UNmty",cancelButton:"cancelButton-10XRsm"}},8156:function(e,t,o){e.exports={feature:"feature-BGH8y4",featureBorder:"featureBorder-7j4v58",title:"title-PMZpEi",description:"description-1W0DiL",icon:"icon-3j1dJB"}},8157:function(e,t,o){e.exports={videoWrapper:"videoWrapper-3YdgHH",video:"video-2aTfcg"}},8158:function(e,t,o){e.exports={features:"features-2npk2D",video:"video-34IsHk",perksHeading:"perksHeading-3oxU3I",perkIcon:"perkIcon-2bvvgO",perkNewsletter:"perkNewsletter-2lxlA1 perkIcon-2bvvgO",perkBadge:"perkBadge-2la1kc perkIcon-2bvvgO",perkChallenges:"perkChallenges-19qHzw perkIcon-2bvvgO"}},8159:function(e,t,o){e.exports={wrapper:"wrapper-2K37PN",contentWrapper:"contentWrapper-1VyP0K"}},8160:function(e,t,o){e.exports={marginBottom8:"marginBottom8-AtZOdT",marginBottom20:"marginBottom20-32qID7",marginTop20:"marginTop20-3TxNs6",prompt:"prompt-kcCNXs marginBottom20-32qID7",selectYourAnswer:"selectYourAnswer-2lDJj_ marginTop20-3TxNs6 marginBottom8-AtZOdT",separator:"separator-PE-_y1"}},8161:function(e,t,o){e.exports={outerContentWrapper:"outerContentWrapper-2YH49P",innerContentWrapper:"innerContentWrapper-1OlqRR",quizResultHeading:"quizResultHeading-2_7tfJ",inputFirstName:"inputFirstName-1ssgZ2",nameFormPreface:"nameFormPreface-H-3UVQ",quizResultBody:"quizResultBody-2x52di",quizResultLogoWrapper:"quizResultLogoWrapper-1A5Eb1",quizResultLogo:"quizResultLogo-QNVISZ",quizResultLogoWrapperHouse1:"quizResultLogoWrapperHouse1-3FV1ry",quizResultLogoWrapperHouse2:"quizResultLogoWrapperHouse2-3yrRO9",quizResultLogoWrapperHouse3:"quizResultLogoWrapperHouse3-2oQS9n"}},8162:function(e,t,o){e.exports={membershipDialog:"membershipDialog-rVL-t_",membershipDialogContent:"membershipDialogContent-3zv-XB",membershipDialogHeading:"membershipDialogHeading-3y8iIr",membershipDialogHouseName:"membershipDialogHouseName-ezTTJ9",membershipDialogHouseDescription:"membershipDialogHouseDescription-1GaVtg",membershipDialogSwitchHouses:"membershipDialogSwitchHouses-1K8L1U",membershipDialogSwitchHousesAction:"membershipDialogSwitchHousesAction-2a3eDg",joinCTAWrapper:"joinCTAWrapper-2BaVvb",joinCTA:"joinCTA-FN-DEn",newsletterWarning:"newsletterWarning-UKgyLB",membershipDialogHouse1:"membershipDialogHouse1-3KhKE-",membershipDialogHouse2:"membershipDialogHouse2-35h9SY",membershipDialogHouse3:"membershipDialogHouse3-15OBIQ",houseLogoWrapper:"houseLogoWrapper-3XZ6yo",houseLogo:"houseLogo-2MU96l",houseLogoHouse1:"houseLogoHouse1-2LEurl"}},8163:function(e,t,o){e.exports={leaveActionWrapper:"leaveActionWrapper-34XGz6",leaveButton:"leaveButton-2ml9zB",error:"error-2netMa"}},8164:function(e,t,o){e.exports={marginTop20:"marginTop20-3TxNs6",wrapper:"wrapper-2lwZNm",image:"image-3bKszV",content:"content-M_iuTu marginTop20-3TxNs6"}},8165:function(e,t,o){e.exports={intro:"intro-325xRx",introHeader:"introHeader-4MPach",verificationNotice:"verificationNotice-3n1EX6",attendeeCTA:"attendeeCTA-3ZZQWt"}},8166:function(e,t,o){e.exports={codeRedemptionInput:"codeRedemptionInput-3JOJea",confirmBackgroundImage:"confirmBackgroundImage-2lmx3s",confirmEntitlementBackground:"confirmEntitlementBackground-2xwrrr confirmBackgroundImage-2lmx3s",confirmPremiumBackground:"confirmPremiumBackground-Y8tSCm confirmBackgroundImage-2lmx3s",confirmPremiumIcon:"confirmPremiumIcon-26GX5Y",confirmCloseButton:"confirmCloseButton-1LOHfq",confirmContent:"confirmContent-GnT1qw",confirmTitle:"confirmTitle-1K9S8K",confirmButton:"confirmButton-1VXU_S",confirmBlurb:"confirmBlurb-2LiLkM"}},8167:function(e,t,o){e.exports={artHeight:"120px",loading:"loading-RBMycv",maybeLaterButton:"maybeLaterButton-2GCoPp",bodyText:"bodyText-9sDIid",formDivider:"formDivider-2YpN2v",formSection:"formSection-18ae0i",confirmationText:"confirmationText-zJQc0M",textInput:"textInput-3M0tLo",headerContainer:"headerContainer-2oa3uf",art:"art-UTc0S4",errorArt:"errorArt-nd3oB9",errorHeader:"errorHeader-1WNSiu",errorBody:"errorBody-3ofSBw"}},8168:function(e,t,o){e.exports={card:"card-7JP0BX",header:"header-1RC2Wb",headerButtonColor:"headerButtonColor-G7_f-V",coverArtPosition:"coverArtPosition-1EkmxA",splashArt:"splashArt-3yFzRe coverArtPosition-1EkmxA",body:"body-SKIE6r"}},8169:function(e,t,o){e.exports={card:"card-3S2buc",subText:"subText-2dcuEX",subTextHeader:"subTextHeader-1m8dpJ subText-2dcuEX",subTextRow:"subTextRow-2vP_Z7 subText-2dcuEX",codeText:"codeText-yBpp9D",headerText:"headerText-1hVFSC",cardHeader:"cardHeader-oG4l4I",giftCodeRow:"giftCodeRow-24nTuI",generateCodeRow:"generateCodeRow-U1iNgl giftCodeRow-24nTuI",gameName:"gameName-2LhX55",expandIcon:"expandIcon-3v5EV8",spinner:"spinner-3abdbi",bodyButtonColor:"bodyButtonColor-ptbdFu"}},8170:function(e,t,o){e.exports={skuCard:"skuCard-i0Kf67",emptyState:"emptyState-1C8By3",emptyStateHeader:"emptyStateHeader-248f_b",emptyStateSubtext:"emptyStateSubtext-2hdA9c",emptyStateImage:"emptyStateImage-2MrSNs",loading:"loading-3DDmD5",promotionCardDescriptionWithCode:"promotionCardDescriptionWithCode-3YtJQp",promotionCard:"promotionCard-2IP574",mainPromotionCardContainer:"mainPromotionCardContainer-3N9-1a",promotionCardLeftContainer:"promotionCardLeftContainer-2wXBFs",promotionIcon:"promotionIcon-3FDeSa",promotionIconImage:"promotionIconImage-ZC2m_f",promotionLegalese:"promotionLegalese-3EeK1U",promotionText:"promotionText-1zV1RS"}},8171:function(e,t,o){e.exports={divider:"divider-1Jfi9s"}},8172:function(e,t,o){e.exports={item:"item-rJ_Cmt",keybindMessage:"keybindMessage-20JT9A",ghostPill:"ghostPill-2-KUPM",removeKeybind:"removeKeybind-39dSFj",keybindGroup:"keybindGroup-JQs9x_",defaultKeybind:"defaultKeybind-2coG8W",defaultKeybindGroup:"defaultKeybindGroup-X6nhBr",defaultKeybindShortcutGroup:"defaultKeybindShortcutGroup-gWLCis",defaultKeybindGroupHeader:"defaultKeybindGroupHeader-3fMhcS",defaultKeybindGroupWithDescription:"defaultKeybindGroupWithDescription-3YceEh",defaultKeybindGroupDescription:"defaultKeybindGroupDescription-1bMdWe",defaultKeybindShortcut:"defaultKeybindShortcut-14Z6f4",browserNotice:"browserNotice-cefwll",row:"row-2okwlC"}},8173:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",option:"option-2Mjq18",localeName:"localeName-2oaRo4",localizedName:"localizedName-2dYMQh",flag:"flag-Ve4YnP",flagImage:"flagImage-3Wbkq4 desaturate-qhyunI"}},8174:function(e,t,o){e.exports={notificationSound:"notificationSound-3D6eyn",soundName:"soundName-23hgAT",soundIcon:"soundIcon-2ketvd",soundRow:"soundRow-7krrdT",icon:"icon-GiGwrE"}},8175:function(e,t,o){e.exports={notificationSettings:"notificationSettings-1NQKPR"}},8176:function(e,t,o){e.exports={features:"features-3EmM1p",feature:"feature-1Q4U_R",icon:"icon-3GaxIC",title:"title-3IUNJ6",description:"description-yMw5z0",descriptionStandalone:"descriptionStandalone-3aMqwN"}},8177:function(e,t,o){e.exports={gemIndicatorProgressCircle:"gemIndicatorProgressCircle-3wDFa1",progressBackground:"progressBackground-8KV71U",gemIndicatorContainer:"gemIndicatorContainer-2jdECl",gemWithLabel:"gemWithLabel-2aecE_",gemWithoutLabel:"gemWithoutLabel-7-ZvB_",tierLabel:"tierLabel-39IsmN"}},8178:function(e,t,o){e.exports={body:"body-qqMTVX",invoiceTable:"invoiceTable-SpU-mf",cancelImage:"cancelImage-2DN4YK",invoiceCancelRow:"invoiceCancelRow-3mYhFX"}},8179:function(e,t,o){e.exports={body:"body-3oHYJD",uncancelImage:"uncancelImage-2OizbG"}},8180:function(e,t,o){e.exports={blurb:"blurb-1D7mK2",guild:"guild-Hq0WWA",guildHeader:"guildHeader-3nh5RK",guildHeaderBackground:"guildHeaderBackground-1G51bM",guildHeaderContent:"guildHeaderContent-1vpxhX",guildIcon:"guildIcon-c10VUR",guildName:"guildName-1B3vm5",guildSubscriberCount:"guildSubscriberCount-2lXrmh",guildSubscriberCountIcon:"guildSubscriberCountIcon-6Fo5EK",guildSubscribeButton:"guildSubscribeButton-3fKux2",guildGemIndicatorContainer:"guildGemIndicatorContainer-3Ie0ga",guildSubscriptionSlots:"guildSubscriptionSlots-JPXXvN",guildSubscriptionSlot:"guildSubscriptionSlot-1XGRPI",guildSubscriptionSlotIcon:"guildSubscriptionSlotIcon-EVE04u",guildSubscriptionSlotIconCanceled:"guildSubscriptionSlotIconCanceled-18TSCf",guildSubscriptionSlotContent:"guildSubscriptionSlotContent-13Z3VB",guildSubscriptionSlotMenuIcon:"guildSubscriptionSlotMenuIcon-uzNhjL",guildSubscriptionDuration:"guildSubscriptionDuration-z1eXWb",guildSubscriptionCreationDate:"guildSubscriptionCreationDate-2b_pKA",sectionHeader:"sectionHeader-2_ZES3",subSectionHeader:"subSectionHeader-1bsAit"}},8181:function(e,t,o){e.exports={desaturate:"desaturate-qhyunI",container:"container-ZsrEn9",loading:"loading-3FyPco",guildsSection:"guildsSection-3AvK09",guildsBlurb:"guildsBlurb-2AgVCC",guilds:"guilds-3A5wi_",emptyGuilds:"emptyGuilds-14hOr4",emptyGuildsTitle:"emptyGuildsTitle-VAg42p",emptyGuildsText:"emptyGuildsText-2KAlgb",cardWrapper:"cardWrapper-2Min21",card:"card-3AyPWq",guildInfo:"guildInfo-1zLiSL",guildName:"guildName-13lmy3",subscriberCount:"subscriberCount-3PSK6x",subscriptionInfo:"subscriptionInfo-14cju1",premiumGuildIcon:"premiumGuildIcon-13KUPa",background:"background-1PZEsB",content:"content-3BhRLj",divider:"divider-J3ken9",marketingLogo:"marketingLogo-1D8DV6",marketingLogoIcon:"marketingLogoIcon-3bZq9h",marketingLogoImage:"marketingLogoImage-2SzXIR desaturate-qhyunI",marketingHeader:"marketingHeader-d16BX1",featureHeaderTop:"featureHeaderTop-1-N6Nb",featureHeader:"featureHeader-TxFp47",memberBadgeIcon:"memberBadgeIcon-1hpSQc",profileBadgeIcon:"profileBadgeIcon-_ctnKj desaturate-qhyunI",roleIcon:"roleIcon-F8XDd3",emojiIcon:"emojiIcon-2xOPMD",stickerIcon:"stickerIcon-8Kieoz",audioQualityIcon:"audioQualityIcon-1KNkhv",uploadSizeIcon:"uploadSizeIcon-2HNa5p",guildSubscriptionHeading:"guildSubscriptionHeading-mJn036",guildFullFeatures:"guildFullFeatures-hLeUPO"}},8182:function(e,t,o){e.exports={list:"list-1QISSx",status:"status-1pzkam",card:"card-KeAWkA",requestNote:"requestNote-2SdnVH",requestNoteColor:"requestNoteColor-1c4OfD"}},8183:function(e,t,o){e.exports={container:"container-1-STTv",noticeIcon:"noticeIcon-1phvR2"}},8184:function(e,t,o){e.exports={notchWidth:"8px",notchHeight:"16px",notchMargin:"2px",wrapper:"wrapper-3Z-vWm",container:"container-3PXSwK",notches:"notches-1sAcEM",progress:"progress-1IcQ3A",black:"black-1D3qCv",gray:"gray-3_LNYR"}},8185:function(e,t,o){e.exports={micTest:"micTest-2C-tpt",micTestCaption:"micTestCaption-2xsa4I"}},8186:function(e,t,o){e.exports={userSettingsVoice:"userSettingsVoice-iwdUCU",sensitivity:"sensitivity-3XxR4A",sliderBar:"sliderBar-3DezvM",speaking:"speaking-2bFhO4",inputSensitivityToggle:"inputSensitivityToggle-2LKb8o",manual:"manual-36Evg9",microphone:"microphone-2rtdHw",fill:"fill-3eUagR",pttTools:"pttTools-1VaVZH",pttToolsMessage:"pttToolsMessage-3uc-Td",pttToolsWarning:"pttToolsWarning-7imHBv",inputDisabledWarning:"inputDisabledWarning-3vvc9B",previewContainer:"previewContainer-37c2Si",previewOverlay:"previewOverlay-2O7_KC",dismiss:"dismiss-3tPbRc",previewOverlayInner:"previewOverlayInner-1WXURq",deviceOption:"deviceOption-o4yLlI",deviceOptionLabel:"deviceOptionLabel-22FM_u",deviceOptionCertified:"deviceOptionCertified-38nQb8",micTest:"micTest-cP1_6S",micTestHelpLink:"micTestHelpLink-2tQuwD",micTestButton:"micTestButton-2Vwk4_",beta:"beta-1WAFgA"}},8187:function(e,t,o){e.exports={premiumTabItem:"premiumTabItem-1QTfBr",icon:"icon-Zc-uZZ"}},8188:function(e,t,o){e.exports={container:"container-1S6Mlq",input:"input-1lKksk",iconContainer:"iconContainer-gnSl8w",icon:"icon-1T3XuV",iconClickable:"iconClickable-3ZfMci"}},8189:function(e,t,o){e.exports={container:"container-3baos1",avatar:"avatar-SmRMf2",redIcon:"redIcon-2uP7Ej",avatarWrapper:"avatarWrapper-2yR4wp",nameTag:"nameTag-3uD-yy",canCopy:"canCopy-2VBT7N",hasBuildOverride:"hasBuildOverride-dDIqaT",buildOverrideButton:"buildOverrideButton-1zWkwo",usernameContainer:"usernameContainer-1fp4nu",copySuccess:"copySuccess-2x83fA",godlike:"godlike-2WYNj-",statusTooltip:"statusTooltip-Zz6T1q",customStatus:"customStatus-3tC2ig",strikethrough:"strikethrough-1n4ekb",emoji:"emoji-1PSQtY"}},8190:function(e,t,o){e.exports={size14:"size14-3iUx6q",userList:"userList-1kLH8B",header:"header-2B7Ri8 size14-3iUx6q",content:"content-2KAjC9",user:"user-3rmWHs size14-3iUx6q",discriminator:"discriminator-1fGEDN size14-3iUx6q",tag:"tag-2S-Z1b",avatar:"avatar-2snyZH",username:"username-2lEtrk"}},8191:function(e,t,o){e.exports={listeningAlong:"listeningAlong-30wH70",party:"party-2cIOyb",overflow:"overflow-1VTquN",icons:"icons-2uekgw",avatar:"avatar-2fD4wn"}},8192:function(e,t,o){e.exports={menu:"menu-1O51-Y",activityItem:"activityItem-1pRGhE",activityIcon:"activityIcon-1bhjuo",activityHeader:"activityHeader-6FCdZD",subtitle:"subtitle-2yubBS",beta:"beta-1zTBai",betaTag:"betaTag-F_ncuo"}},8193:function(e,t,o){e.exports={content:"content-2tpvCi",art:"art-OwuVY4",headerText:"headerText-3gIyzb",bodyText:"bodyText-Qx99aN",button:"button-1ojJ0N",pointer:"pointer-3iL_va"}},8194:function(e,t,o){e.exports={scroller:"scroller-2n3G0k",expanded:"expanded-1DTre4",voiceUsers:"voiceUsers-2V7vuh",expandButton:"expandButton-2hkuXA",avatarContainer:"avatarContainer-2LLZwy",avatar:"avatar-3Heyg_",speaking:"speaking-3dBKhR",avatarIconOverlay:"avatarIconOverlay-2nbU5G",avatarIconRed:"avatarIconRed-2sn-Up"}},8195:function(e,t,o){e.exports={container:"container-2lgZY8",downloadProgressCircle:"downloadProgressCircle-2hBlsA",guilds:"guilds-1SWlCJ",base:"base-3dtUhz",sidebar:"sidebar-2K8pFh",hidden:"hidden-3iamF5",hasNotice:"hasNotice-1XRy4h",panels:"panels-j1Uci_",content:"content-98HsJk",activityPanel:"activityPanel-28dQGo",hiddenOnMobileStore:"hiddenOnMobileStore-1DIxbw"}},8196:function(e,t,o){e.exports={root:"root-3JVdIJ",previewCamera:"previewCamera-3PmGhD",previewRoot:"previewRoot-14s8Ig",preview:"preview-376i63",mainChannelInfo:"mainChannelInfo-1vd795",titleGroup:"titleGroup-1ZtXoq",icon:"icon-16X0RM",subtitle:"subtitle-1rNV3n",title:"title-8sgFLx",previewChannelHeader:"previewChannelHeader-1TL6h2",wrapper:"wrapper-3lJCnD",actions:"actions-19uIvN",actionButton:"actionButton-3CLkPB",last:"last-3WKR_s",previewButton:"previewButton-1vdHBp"}},8197:function(e,t,o){e.exports={container:"container-VSDcQc",sectionTag:"sectionTag-pXyto9",headerText:"headerText-3i6A8K",input:"input-1ppKdn",header:"header-2bNvm4",autocompleteShadow:"autocompleteShadow-iiGWFU",autocompleteArrowWrapper:"autocompleteArrowWrapper-3Z7OuM",autocompleteArrow:"autocompleteArrow-Zxoy9H",autocompleteHeaderBackground:"autocompleteHeaderBackground-30T70q",autocompleteScroller:"autocompleteScroller-iInVqR",empty:"empty-3hoe1g",section:"section-sfKw6q",row:"row-rrHHJU",rowInner:"rowInner-1vvRiF",selected:"selected-1pIgLL",noResultsHeader:"noResultsHeader-pqW4H-",positionBottom:"positionBottom-3oo9L9",positionTop:"positionTop-3e-X1p"}},8198:function(e,t,o){e.exports={iconButton:"iconButton-3V4WS5",iconButtonDefault:"iconButtonDefault-2cKx7- iconButton-3V4WS5",iconButtonStatic:"iconButtonStatic-2cPMA6 iconButton-3V4WS5",large:"large-35qh5U",medium:"medium-2JR8YY",small:"small--aHOfS",xsmall:"xsmall-2ObGoR"}},8199:function(e,t,o){e.exports={role:"role-3wi9Tf",roleOverflow:"roleOverflow-1zjC9k",roleInner:"roleInner-1C_Scc",open:"open-1HQpYy",lock:"lock-2Nag5p",dragged:"dragged-2XvZ89"}},8200:function(e,t,o){e.exports={marginBottom20:"marginBottom20-32qID7",marginTop8:"marginTop8-1DLZ1n",marginBottom8:"marginBottom8-AtZOdT",container:"container-SDBvD6",sidebarHeader:"sidebarHeader-2uiNOo",addRoleIcon:"addRoleIcon-1LaDEA",layoutStyle:"layoutStyle-2tuE18",xsmallAvatar:"xsmallAvatar-3MTKjd",smallAvatar:"smallAvatar-3ws-Fs",sidebarHeaderDefault:"sidebarHeaderDefault-euM02r sidebarHeader-2uiNOo",sidebarHeaderLocked:"sidebarHeaderLocked-3vDCdm sidebarHeader-2uiNOo",username:"username-1pvYDh",description:"description-3wo_Uh marginBottom20-32qID7",button:"button-_5Uniy"}},8201:function(e,t,o){e.exports={advancedModeDivider:"advancedModeDivider-GJCGg1",advancedTitle:"advancedTitle-1CFkcU",titleCaret:"titleCaret-3b138P"}},8202:function(e,t,o){e.exports={cardContent:"cardContent-qqqwo8",cardTitle:"cardTitle-3TvHmZ",cardDescription:"cardDescription-1YvO0X"}},8203:function(e,t,o){e.exports={card:"card-4s8auQ",label:"label-1M1EWS"}},8204:function(e,t,o){e.exports={easyModeContainer:"easyModeContainer-27mxag",settingCard:"settingCard-3w2mVL",active:"active-1ytUzX",cardIcon:"cardIcon-3mLabf",cardFolder:"cardFolder-28dwxo",adminWarning:"adminWarning-3Ie8tf",folderHeader:"folderHeader-3eAh2M",folderTitle:"folderTitle-1J5dgw",sectionTitle:"sectionTitle-3RJoUp",roleMemberList:"roleMemberList-3aPmJW",divider:"divider-1O4dNT",memberRow:"memberRow-1LB6aT",rowHeight:"rowHeight-3zP7dP",rowLabel:"rowLabel-30ico_",rowBotTag:"rowBotTag-2BdvS8",rowLabelSubText:"rowLabelSubText-2yGOLI",removeIconContainer:"removeIconContainer-1paNBn",removeIcon:"removeIcon-2httxG",disabledRemoveIcon:"disabledRemoveIcon-32MyIO"}},8205:function(e,t,o){e.exports={category:"category-2ux-7P",channelIcon:"channelIcon-3IJ4o7",background:"background-2EVvmU"}},8206:function(e,t,o){e.exports={layers:"layers-3iHuyZ",layer:"layer-3QrUeG",animating:"animating-rRxada",bg:"bg-h5JY_x",baseLayer:"baseLayer-35bLyl"}},8207:function(e,t,o){e.exports={container:"container-16j22k fixClipping-3qAKRb",ready:"ready-36e6Vk",content:"content-1-zrf2",problems:"problems-3mgf6w",slideIn:"slideIn-sCvzGz",problemsText:"problemsText-1Yx-Kl",links:"links-3Ldd4A",statusLink:"statusLink-gFXhrL links-3Ldd4A",twitterLink:"twitterLink-3NsWMp links-3Ldd4A",icon:"icon-3N9Bhy",contentBase:"contentBase-11jeVK",text:"text-3c9Zq1",tipTitle:"tipTitle-GL9qAt",tip:"tip-2cgoli",keybind:"keybind-2jbzrT",body:"body-2Vra9D contentBase-11jeVK",title:"title-3JMOhC contentBase-11jeVK"}},8208:function(e,t,o){e.exports={logo:"logo-JKbOAV",container:"container-2ed4dF",inner:"inner-2LhM-m",downloadButton:"downloadButton-3jZj_S",title:"title-1_r4Id",subtitle:"subtitle-fYi1f6",closeButton:"closeButton-1Xwe8N",skip:"skip-3Pgm8h",fullscreen:"fullscreen-2BFgBh"}},8209:function(e,t,o){e.exports={vertical:"vertical-V37hAW flex-1O1GKY directionColumn-35P_nr",marginTop8:"marginTop8-1DLZ1n",marginBottom8:"marginBottom8-AtZOdT",marginTop20:"marginTop20-3TxNs6",marginBottom20:"marginBottom20-32qID7",size14:"size14-3iUx6q",size16:"size16-14cGz5",modal:"modal-DRZfgq vertical-V37hAW flex-1O1GKY directionColumn-35P_nr",container:"container-1nPf-D",title:"title-3Fa4Po size14-3iUx6q container-1nPf-D",description:"description-vvVtO_ marginTop20-3TxNs6",link:"link-1q2Osy marginTop8-1DLZ1n marginBottom8-AtZOdT",ack:"ack-2yIUvY size16-14cGz5",buttonContainer:"buttonContainer-3S_miP",button:"button-1TiC1S marginTop20-3TxNs6 marginBottom20-32qID7"}},8210:function(e,t,o){e.exports={leftPanel:"leftPanel-9cRl50",sectionTitle:"sectionTitle-337Owh",sectionSubtitle:"sectionSubtitle-3oof5F"}},8211:function(e,t,o){e.exports={leftPanel:"leftPanel-2l1T5i",sectionTitle:"sectionTitle-2nPEF4",sectionSubheader:"sectionSubheader-rwzZ1d",sectionSubtitle:"sectionSubtitle-c6uxj-",pinNumber:"pinNumber-2Y-fxV",pinExpiresText:"pinExpiresText-2kOhgQ",linkButton:"linkButton-c8TCnB"}},8212:function(e,t,o){e.exports={elevated:"elevated-26QCAo",button:"button-2nxwjH elevated-26QCAo",buttonTitle:"buttonTitle-3i-bDM",text:"text-YvEHPh",buttonLogin:"buttonLogin-2oCPEH",card:"card-naSvY_ elevated-26QCAo",cardContents:"cardContents-3WbWvB",cardAccentLeft:"cardAccentLeft-21rdcy",cardAccentRight:"cardAccentRight-2fDjxG"}},8213:function(e,t,o){e.exports={clock:"clock-bm1xfG",container:"container-zpj2Le",expirationContainer:"expirationContainer-2kThAV"}},8214:function(e,t,o){e.exports={acceptButton:"acceptButton-1JKJrE",valueProps:"valueProps-MQU5k3",valuePropItem:"valuePropItem-2ampWu",valuePropIcon:"valuePropIcon-1Hgw0u",valuePropLabel:"valuePropLabel-29Vitw",expirationNotice:"expirationNotice-2HQEq8"}},8215:function(e,t,o){e.exports={container:"container-I6Klu5",guildBadge:"guildBadge-2loz2D",appIcon:"appIcon-8pI_Ye",appIconSize:"appIconSize-1WQ9nz",avatar:"avatar-5lWvma",guildIcon:"guildIcon-3w0Hwc",title:"title-36_Qng",activityCount:"activityCount-A89d7s",description:"description-1Rx3bM",guildContainer:"guildContainer-3U-BXz",appIn:"appIn-3Fa6lj",appGuildName:"appGuildName-3nA7vq",inviteJoinContainer:"inviteJoinContainer-3XnqFF",inviterIconWrapper:"inviterIconWrapper-ti3YTR",inviteJoinText:"inviteJoinText-3CUNHu",acceptButton:"acceptButton-3IVn3J"}},8216:function(e,t,o){e.exports={splashBackground:"splashBackground-1xe4jJ",centerFlex:"centerFlex-2UU8gh",centerAuthBoxContent:"centerAuthBoxContent-2AJUs_ centerFlex-2UU8gh",inviteCard:"inviteCard-bGLA09",inviteCardInner:"inviteCardInner-2QLrMQ",inviteCardInnerError:"inviteCardInnerError-2yrg2f",inviteCardInnerLoading:"inviteCardInnerLoading-X5GXa7",expirationNotice:"expirationNotice-2aFd-k"}},8217:function(e,t,o){e.exports={image:"image-1Y4rBl",subtitle:"subtitle-38CTOi",title:"title-1J36e_",spacedButton:"spacedButton-2nC4W5"}},8218:function(e,t,o){e.exports={authBox:"authBox-OtSo8z",createButton:"createButton-2XJ7jN",header:"header-2tghzW",formContainer:"formContainer-2ZWoPq"}},8219:function(e,t,o){e.exports={image:"image-vn9QOh"}},8220:function(e,t,o){e.exports={scrollbarGhost:"scrollbarGhost-2F9Zj2 scrollbar-3dvm_9",wrapper:"wrapper-1V4Ofx scrollbarGhost-2F9Zj2 scrollbar-3dvm_9"}},8221:function(e,t,o){e.exports={spaceAroundKey:"8px",shadowWidth:"2px",verticalPaddingTotalHeight:"8px",appliedVerticalPadding:"calc((8px - 2px) / 2)",key:"key-3j3-mG"}},8222:function(e,t,o){e.exports={spacing:"12px",containerWidth:"300px",spaceAroundDivider:"12px",boxShadowOpacity:"0.8",boxShadowBlurRadius:"7px",boxShadowSpreadRadius:"3px",container:"container-fEIfjO",clickBlocker:"clickBlocker-fnG15u",content:"content-15zTcI",details:"details-2gEcEs",hintText:"hintText-2g1c9G",clickable:"clickable-2NoTM3",dismissButton:"dismissButton-AdNfLV",dismissIcon:"dismissIcon-37THWD",buttonContainer:"buttonContainer-1OF5r4",button:"button-1_corF",avatar:"avatar-2DTGCj",title:"title-IU0YL0",body:"body-3iVSWA",divider:"divider-2SJIXw",footer:"footer-29jAtw",keybindMessage:"keybindMessage-27rgH4",keybind:"keybind-3thb0I",hintSubtleText:"hintSubtleText-mZJcbW",themePrimary:"themePrimary-18HFsc",themeBrand:"themeBrand-2qTyWV",innerText:"innerText-2pcwrI",themeDanger:"themeDanger-2d-qs2"}},8223:function(e,t,o){e.exports={size14:"size14-3iUx6q",elevationHigh:"elevationHigh-3A9Xbf",maxWidgetHeight:"100vh",barPadding:"12px",bodyPadding:"4px",barHeight:"20px",content:"content-3NKj2i",staticSize:"staticSize-60Tgeg",widget:"widget-2M7wFU",inGame:"inGame-2jyo39",inGameActive:"inGameActive-2sV6GI",inGameText:"inGameText-O5ZnCQ",default:"default-3DQdjh",unpinned:"unpinned-yEO9eb",bar:"bar-223pc1",body:"body-Mv1Pg8",pinned:"pinned-3n-jtZ",icon:"icon-15v2QJ",toggledIconOn:"toggledIconOn-1A0KDh",tutorialTip:"tutorialTip-3dJd0e"}},8224:function(e,t,o){e.exports={container:"container-3DGuwk",stackTrace:"stackTrace-1C2h4v",stackTraceCode:"stackTraceCode-h5MUsb",code:"code-1Y2ppX",errorMessage:"errorMessage-1N2oXW",notificationButton:"notificationButton-2FRzIZ",notificationIcon:"notificationIcon-iCU6Y0"}},8225:function(e,t,o){e.exports={footer:"footer-33N2Qf",ctaButton:"ctaButton-3WP2JB"}},8226:function(e,t,o){e.exports={animationContainer:"animationContainer-1cdP1K"}},8227:function(e,t,o){e.exports={elevationBorderLow:"elevationBorderLow-2qgTRQ",container:"container-O6k7qM",topLeft:"topLeft-2Lcaww",topRight:"topRight-3gPcod",bottomLeft:"bottomLeft-t5CsTb",bottomRight:"bottomRight-1T9V4C"}},8228:function(e,t,o){e.exports={wrapper:"wrapper-3GhqwF",operation:"operation-3mRRRz",handle:"handle-uxnyYH",resizeNorth:"resizeNorth-1rGeFd handle-uxnyYH",resizeSouth:"resizeSouth-OBIjD0 handle-uxnyYH",resizeNSCursor:"resizeNSCursor-1lS9F0",resizeWest:"resizeWest-1E67qS handle-uxnyYH",resizeEast:"resizeEast-2-Ljsv handle-uxnyYH",resizeEWCursor:"resizeEWCursor-ARVQXd",resizeNorthWest:"resizeNorthWest-3Q21ZU handle-uxnyYH",resizeNorthEast:"resizeNorthEast-2gXday handle-uxnyYH",resizeSouthWest:"resizeSouthWest-mlbRRD handle-uxnyYH",resizeSouthEast:"resizeSouthEast-385fJH handle-uxnyYH",resizeNWSECursor:"resizeNWSECursor-2mXwZU",resizeNESWCursor:"resizeNESWCursor-1EQZf_"}},8229:function(e,t,o){e.exports={header:"header-GGVVMy",headerTitle:"headerTitle-7BNint",headerClose:"headerClose-2ZfpDO",tabBarItem:"tabBarItem-3HJRqN",content:"content-2PHP2E"}},8230:function(e,t,o){e.exports={sidebar:"sidebar-sfP6x6",children:"children-kVL7da",header:"header-3UON5h",draggableStartArea:"draggableStartArea-37VeBj",headerTitle:"headerTitle-2YD2DN"}},8231:function(e,t,o){e.exports={guildHeader:"guildHeader-1aEy0W",guildHeaderInner:"guildHeaderInner-TcEnyk",panels:"panels-Etdz3E"}},8232:function(e,t,o){e.exports={privateChannels:"privateChannels-1ysLLR",searchBar:"searchBar-12D2Sr",searchBarComponent:"searchBarComponent-3Wvrbl",panels:"panels-Iu7NZz"}},8233:function(e,t,o){e.exports={base:"base-zsjlUl",widget:"widget-1O6tyl"}},8234:function(e,t,o){e.exports={container:"container-pkXooo",title:"title-2zTLTo",sliderContainer:"sliderContainer-1ypX9f"}},8235:function(e,t,o){e.exports={header:"header-2yGCVu",backgroundColorHeaderDefault:"hsl(220, 7.7%, 22.9%)",headerContainer:"headerContainer-1FBNKq",opacityHeader:"opacityHeader-1wUrEK header-2yGCVu",leaveCall:"leaveCall-3Dgc1L",status:"status-m0kzwG",dragIcon:"dragIcon-29nDeZ"}},8236:function(e,t,o){e.exports={barHeight:"20px",barPadding:"12px",backgroundColorHeaderDefault:"hsl(220, 7.7%, 22.9%)",contained:"contained-1li2eZ",header:"header-2yGCVu",headerDefault:"headerDefault-1qHUFF header-2yGCVu",activateContainer:"activateContainer-2X6KOg",activateKeybind:"activateKeybind-1oKNW5",inGame:"inGame-2RplaV",inGameActive:"inGameActive-36BUM7",footerContent:"footerContent-2Hkx-f footer-2Ijhzu",messages:"messages-3lF2UY",headerPinned:"headerPinned-93Uwgl header-2yGCVu",widget:"widget-Ap3cJh",widgetWrapper:"widgetWrapper-1EaQdn widget-Ap3cJh",widgetWrapperPinned:"widgetWrapperPinned-_8KLrR widget-Ap3cJh",draggableStartArea:"draggableStartArea-1UY-rN",footer:"footer-2Ijhzu",typingWrapper:"typingWrapper-24QP4N",typing:"typing-hkqjXx",messagesContainer:"messagesContainer-2i76Bw",disableHoverStates:"disableHoverStates-2pKqy8",isDragging:"isDragging-RjSza0",pinned:"pinned-3CXiuy",locked:"locked-e70j-9",scroller:"scroller-3t2qeU",footerContentPinned:"footerContentPinned-2M6JEM",looksLocked:"looksLocked-1Mis4S",resizeIcon:"resizeIcon-2xSgbl"}},8237:function(e,t,o){e.exports={wrapper:"wrapper-3K6RqB"}},8238:function(e,t,o){e.exports={controls:"controls-2NrGNJ",unpinned:"unpinned-1hnzhe",content:"content-3AhxhY",strikethrough:"strikethrough-jo9Zr4"}},8239:function(e,t,o){e.exports={barHeight:"20px",barPadding:"12px",topMargin:"topMargin-3X2K9E",widgetWidth:"272px",icon:"icon-2v7mcp",voiceIcon:"voiceIcon-1DSD_T",voiceList:"voiceList-2_nc4r",dragIcon:"dragIcon-1tH5OP",draggableStartArea:"draggableStartArea-3BsD3u",content:"content-27MLsY",speakerIcon:"speakerIcon-XtTKrG",interactive:"interactive-2o5ouo",username:"username-2FGs2B",voiceUserWrapper:"voiceUserWrapper-1eV-Yy",locked:"locked-3PIhFd",faded:"faded-NBF6ah",draggingHeader:"draggingHeader-QORSVE",preview:"preview-2iPwI6",hidden:"hidden-1HFzIV",priority:"priority-20RaiF",prioritySpeaking:"prioritySpeaking-2lsGo-",bottomMargin:"bottomMargin-28bbBf",title:"title-2njKBu",voiceUserList:"voiceUserList-13SpfF",streamerControls:"streamerControls-3DE0AK",unpinned:"unpinned-2Bknns",streamerContent:"streamerContent-Y2-D91",streamerInner:"streamerInner-2PhE1d",gameIcon:"gameIcon-3N9FYK",streamerInfo:"streamerInfo-3bsfw3",streaming:"streaming-2y5EXU",streamerIconWrapper:"streamerIconWrapper-HkFRbT",streamerIcon:"streamerIcon-urajq1"}},8240:function(e,t,o){e.exports={videoDev:"videoDev-1wRRjc",overlay:"overlay-2zxlBT",overlayBackground:"overlayBackground-2Ja_LP",overlayActive:"overlayActive-1zNgFQ",overlayLocked:"overlayLocked-KYWBH4",previewMode:"previewMode-1ZDwlY",closeContainer:"closeContainer-2Bq3S5",invalidContainer:"invalidContainer-3NuUTB",inactiveContainer:"inactiveContainer-3yv21J",layoutLocked:"layoutLocked-1ID4te",layoutUnlocked:"layoutUnlocked-1DzZ9H layoutLocked-1ID4te",previewingInGameHeader:"previewingInGameHeader-2cMdLJ"}},8241:function(e,t,o){e.exports={contentWidthRestrictedLimit:"848px",footer:"footer-je22K2",footerPrimary:"footerPrimary-KxrtlY footer-je22K2",footerBackgroundPrimary:"footerBackgroundPrimary-3ouTtT",footerBackgroundAnimate:"footerBackgroundAnimate-1CHJYi","footer-blob-animation":"footer-blob-animation-_I95Dt",footerBackgroundPaused:"footerBackgroundPaused-1Qgmbn footerBackgroundAnimate-1CHJYi",footerBackgroundPlay:"footerBackgroundPlay-YykCNn footerBackgroundAnimate-1CHJYi",footerContent:"footerContent-_U2enW",navigation:"navigation-18zSA-",navigationHeader:"navigationHeader-2Vp4n_",route:"route-MFNjyu",navigationSection:"navigationSection-1CjCJZ",logo:"logo-28n2Vu",logoWrap:"logoWrap-1rGDvB",separator:"separator-xZsY5U",joinDiscord:"joinDiscord-3gZEG_",stats:"stats-2t3ZLa",readyToJoin:"readyToJoin-3kZFcp",joinOtherPlayers:"joinOtherPlayers-370EmJ",button:"button-2A8AGi",buttonPrimary:"buttonPrimary-3RahU_ button-2A8AGi",buttonBlurple:"buttonBlurple-1kuusH button-2A8AGi",footerBackgroundBlurple:"footerBackgroundBlurple-3m2rFK footerBackgroundPrimary-3ouTtT",footerBlurple:"footerBlurple-1BSoUN footer-je22K2"}},8242:function(e,t,o){e.exports={flexVertical:"flexVertical-3UlyGp",flexSpacer:"flexSpacer-GrNT7f",flexHorizontal:"flexHorizontal-2e8SIr",flexHorizontalReverse:"flexHorizontalReverse-yA5GP2",flexCenter:"flexCenter-OeefPj",flexAlignStart:"flexAlignStart-2qRj5J",flexAlignEnd:"flexAlignEnd-3h-_AZ",flexAlignCenter:"flexAlignCenter-3u30b3",flexAlignStretch:"flexAlignStretch-2lwI1M",flexJustifyStart:"flexJustifyStart-3Hopvt",flexJustifyEnd:"flexJustifyEnd-39vIgk",flexJustifyCenter:"flexJustifyCenter-1QqCti",flexJustifyAround:"flexJustifyAround-duP4ew",flexJustifyBetween:"flexJustifyBetween-1E8--m",flexNowrap:"flexNowrap-2g1HIq",flexWrap:"flexWrap-2YuKQk",flexWrapReverse:"flexWrapReverse-2yt1q9"}},8243:function(e,t,o){e.exports={flex:"flex-21ywRf",flexChild:"flexChild-FMspoG",flexGutterSmall:"flexGutterSmall-qcUxro",flexGutterLarge:"flexGutterLarge-2kUiyw"}},8244:function(e,t,o){e.exports={contentWidthFullLimit:"1024px",logo:"logo-1U_ovC",clyde:"clyde-2-VPBZ logo-1U_ovC",type:"type-1G6S2n logo-1U_ovC"}},8245:function(e,t,o){e.exports={borderRadiusSmall:"3px",contentWidthRestrictedLimit:"848px",localePicker:"localePicker-25NM64",opener:"opener-eS3TVz",openerOpen:"openerOpen-3j31zR",line:"line-eyazOv",icon:"icon-1xPIw1",arrowIcon:"arrowIcon-1LteCS icon-1xPIw1",localeIcon:"localeIcon-1lzrRW icon-1xPIw1",hr:"hr-2P0HM7",localeList:"localeList-4Zmfi9",localeListClosed:"localeListClosed-2T1kCH localeList-4Zmfi9",localeListOpen:"localeListOpen-3UmwZe localeList-4Zmfi9",localeBase:"localeBase-27bssN",locale:"locale-2fVnrF localeBase-27bssN",localeCurrent:"localeCurrent-3CaiIC localeBase-27bssN",localeImage:"localeImage-3HPI4s",select:"select-3Go1Du"}},8246:function(e,t,o){e.exports={borderRadiusSmall:"3px",contentWidthRestrictedLimit:"848px",divider:"divider-35ot9S",moreList:"moreList-29ir-q",moreListOpen:"moreListOpen-1gGlf8 moreList-29ir-q",moreListClosed:"moreListClosed-2sZtk3 moreList-29ir-q",moreListItem:"moreListItem-2_Z3Je",moreListItemInactive:"moreListItemInactive-1v7PjS moreListItem-2_Z3Je",moreListLink:"moreListLink-3U23th",moreListItemActive:"moreListItemActive-MIosDj moreListItem-2_Z3Je",moreListLinkCopy:"moreListLinkCopy-1NEMj_"}},8247:function(e,t,o){e.exports={mobileMenuItem:"mobileMenuItem-z_D6aZ",mobileHeaderSubMenu:"mobileHeaderSubMenu-1ECibN",mobileSubMenuOpen:"mobileSubMenuOpen-1H6ij6 mobileHeaderSubMenu-1ECibN",mobileSubMenuClosed:"mobileSubMenuClosed-DSXPlm mobileHeaderSubMenu-1ECibN",subListItem:"subListItem-2vz0O6",subListItemLink:"subListItemLink-qR-Pa1",subListItemActive:"subListItemActive-2nnyFs subListItem-2vz0O6",subListItemInactive:"subListItemInactive-2wcecZ subListItem-2vz0O6",desktopSubMenuItem:"desktopSubMenuItem-1fMXMo",desktopMenuMore:"desktopMenuMore-351jZB",iconArrow:"iconArrow-1Wc1CT"}},8248:function(e,t,o){e.exports={contentWidthFullLimit:"1024px",header:"header-1Zm1at",headerInner:"headerInner-3WwzEA",headerLogo:"headerLogo-TcWpbY",skipToContent:"skipToContent-2u59mW",logo:"logo-BkKbcr",headerNav:"headerNav-IBNU4s",headerNavRight:"headerNavRight-yKnar8",listItem:"listItem-1ra-Bk",listItemInactive:"listItemInactive-396Xk8 listItem-1ra-Bk",listItemActive:"listItemActive-3Vb7bW listItem-1ra-Bk",navLink:"navLink-DPGG6D",mainNavLink:"mainNavLink-Z3uwQ7 navLink-DPGG6D",rightNavLink:"rightNavLink-5uvsNo navLink-DPGG6D",appButton:"appButton-3GZ9-9",desktopSubMenuItem:"desktopSubMenuItem-2CCvU9",desktopMenuMore:"desktopMenuMore-vBoGnq",iconArrow:"iconArrow-3tdk9V",listItemSocialMedia:"listItemSocialMedia-RWHjN1"}},8249:function(e,t,o){e.exports={btnHamburger:"btnHamburger-3grAP3",btnHamburgerOpen:"btnHamburgerOpen-5Ig7r6"}},8250:function(e,t,o){e.exports={header:"header-3aRurq",headerInner:"headerInner-2w4ICT",hamburgerButton:"hamburgerButton-3ewXOy",headerLogo:"headerLogo-tb03Nu",logoWrapper:"logoWrapper-3agQ6A",logo:"logo-3FcuSx",headerNav:"headerNav-QStAAj",headerNavOpen:"headerNavOpen-3-xIDP headerNav-QStAAj",headerSubNavOpen:"headerSubNavOpen-46T5Q_",mainNavLink:"mainNavLink-1SwQrC",localePicker:"localePicker-2GReqC"}},8251:function(e,t,o){e.exports={contentWidthRestrictedLimit:"848px",mobileHeader:"mobileHeader-2xB92D",desktopHeader:"desktopHeader-3za0nJ"}}}]);
-//# sourceMappingURL=4a5d0d639aefbb9cafca.js.map
\ No newline at end of file
diff --git a/api/assets/51db8e3c2fa79df2bd16.js b/api/assets/51db8e3c2fa79df2bd16.js
deleted file mode 100644
index fb98aae7..00000000
--- a/api/assets/51db8e3c2fa79df2bd16.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(this.webpackJsonp=this.webpackJsonp||[]).push([[9],{10229:function(e,t,r){var n=r(737),a=r(711),o=r(408);e.exports=function(e){return"string"==typeof e||!a(e)&&o(e)&&"[object String]"==n(e)}},10230:function(e,t,r){var n=r(10473),a=r(10474);e.exports=function(e,t){return e&&n(e,a(t))}},10232:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(r(11541)),o=n(r(11542)),i=n(r(11543));t.Raised=a.default,t.Tile=o.default,t.Tabs=i.default},10472:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomPicker=t.TwitterPicker=t.SwatchesPicker=t.SliderPicker=t.SketchPicker=t.PhotoshopPicker=t.MaterialPicker=t.HuePicker=t.GithubPicker=t.CompactPicker=t.ChromePicker=t.default=t.CirclePicker=t.BlockPicker=t.AlphaPicker=void 0;var n=r(11487);Object.defineProperty(t,"AlphaPicker",{enumerable:!0,get:function(){return x(n).default}});var a=r(11532);Object.defineProperty(t,"BlockPicker",{enumerable:!0,get:function(){return x(a).default}});var o=r(11534);Object.defineProperty(t,"CirclePicker",{enumerable:!0,get:function(){return x(o).default}});var i=r(11536);Object.defineProperty(t,"ChromePicker",{enumerable:!0,get:function(){return x(i).default}});var l=r(11540);Object.defineProperty(t,"CompactPicker",{enumerable:!0,get:function(){return x(l).default}});var u=r(11548);Object.defineProperty(t,"GithubPicker",{enumerable:!0,get:function(){return x(u).default}});var s=r(11550);Object.defineProperty(t,"HuePicker",{enumerable:!0,get:function(){return x(s).default}});var f=r(11552);Object.defineProperty(t,"MaterialPicker",{enumerable:!0,get:function(){return x(f).default}});var d=r(11553);Object.defineProperty(t,"PhotoshopPicker",{enumerable:!0,get:function(){return x(d).default}});var c=r(11559);Object.defineProperty(t,"SketchPicker",{enumerable:!0,get:function(){return x(c).default}});var p=r(11562);Object.defineProperty(t,"SliderPicker",{enumerable:!0,get:function(){return x(p).default}});var h=r(11566);Object.defineProperty(t,"SwatchesPicker",{enumerable:!0,get:function(){return x(h).default}});var b=r(11569);Object.defineProperty(t,"TwitterPicker",{enumerable:!0,get:function(){return x(b).default}});var g=r(10480);Object.defineProperty(t,"CustomPicker",{enumerable:!0,get:function(){return x(g).default}});var v=x(i);function x(e){return e&&e.__esModule?e:{default:e}}t.default=v.default},10473:function(e,t,r){var n=r(11489),a=r(8739);e.exports=function(e,t){return e&&n(e,t,a)}},10474:function(e,t,r){var n=r(9383);e.exports=function(e){return"function"==typeof e?e:n}},10476:function(e,t,r){var n=r(406);e.exports=function(e){return e==e&&!n(e)}},10477:function(e,t){e.exports=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}},10478:function(e,t,r){var n=r(10473),a=r(11511)(n);e.exports=a},10479:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Checkboard=void 0;var n=i(r(0)),a=i(r(8261)),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(11520));function i(e){return e&&e.__esModule?e:{default:e}}var l=t.Checkboard=function(e){var t=e.white,r=e.grey,i=e.size,l=e.renderers,u=e.borderRadius,s=e.boxShadow,f=(0,a.default)({default:{grid:{borderRadius:u,boxShadow:s,absolute:"0px 0px 0px 0px",background:"url("+o.get(t,r,i,l.canvas)+") center left"}}});return n.default.createElement("div",{style:f.grid})};l.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},t.default=l},10480:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r(0),i=s(o),l=s(r(378)),u=s(r(8544));function s(e){return e&&e.__esModule?e:{default:e}}var f=t.ColorWrap=function(e){var t=function(t){function r(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(r.__proto__||Object.getPrototypeOf(r)).call(this));return t.handleChange=function(e,r){if(u.default.simpleCheckForValidColor(e)){var n=u.default.toState(e,e.h||t.state.oldHue);t.setState(n),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,n,r),t.props.onChange&&t.props.onChange(n,r)}},t.handleSwatchHover=function(e,r){if(u.default.simpleCheckForValidColor(e)){var n=u.default.toState(e,e.h||t.state.oldHue);t.setState(n),t.props.onSwatchHover&&t.props.onSwatchHover(n,r)}},t.state=n({},u.default.toState(e.color,0)),t.debounce=(0,l.default)((function(e,t,r){e(t,r)}),100),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,t),a(r,[{key:"componentWillReceiveProps",value:function(e){this.setState(n({},u.default.toState(e.color,this.state.oldHue)))}},{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),i.default.createElement(e,n({},this.props,this.state,{onChange:this.handleChange},t))}}]),r}(o.PureComponent||o.Component);return t.propTypes=n({},e.propTypes),t.defaultProps=n({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),t};t.default=f},10481:function(e,t,r){"use strict";r.r(t),r.d(t,"red",(function(){return n})),r.d(t,"pink",(function(){return a})),r.d(t,"purple",(function(){return o})),r.d(t,"deepPurple",(function(){return i})),r.d(t,"indigo",(function(){return l})),r.d(t,"blue",(function(){return u})),r.d(t,"lightBlue",(function(){return s})),r.d(t,"cyan",(function(){return f})),r.d(t,"teal",(function(){return d})),r.d(t,"green",(function(){return c})),r.d(t,"lightGreen",(function(){return p})),r.d(t,"lime",(function(){return h})),r.d(t,"yellow",(function(){return b})),r.d(t,"amber",(function(){return g})),r.d(t,"orange",(function(){return v})),r.d(t,"deepOrange",(function(){return x})),r.d(t,"brown",(function(){return y})),r.d(t,"grey",(function(){return m})),r.d(t,"blueGrey",(function(){return w})),r.d(t,"darkText",(function(){return _})),r.d(t,"lightText",(function(){return E})),r.d(t,"darkIcons",(function(){return C})),r.d(t,"lightIcons",(function(){return k})),r.d(t,"white",(function(){return S})),r.d(t,"black",(function(){return O}));var n={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},a={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},o={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},i={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},l={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},u={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},s={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},f={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},d={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},c={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},p={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},h={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},b={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},g={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},v={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},x={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},y={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},m={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},w={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},_={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},E={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},C={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},k={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},S="#ffffff",O="#000000";t.default={red:n,pink:a,purple:o,deepPurple:i,indigo:l,blue:u,lightBlue:s,cyan:f,teal:d,green:c,lightGreen:p,lime:h,yellow:b,amber:g,orange:v,deepOrange:x,brown:y,grey:m,blueGrey:w,darkText:_,lightText:E,darkIcons:C,lightIcons:k,white:S,black:O}},11487:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPicker=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=u(r(0)),o=u(r(8261)),i=r(8285),l=u(r(11531));function u(e){return e&&e.__esModule?e:{default:e}}var s=t.AlphaPicker=function(e){var t=e.rgb,r=e.hsl,l=e.width,u=e.height,s=e.onChange,f=e.direction,d=e.style,c=e.renderers,p=e.pointer,h=(0,o.default)({default:{picker:{position:"relative",width:l,height:u},alpha:{radius:"2px",style:d}}});return a.default.createElement("div",{style:h.picker,className:"alpha-picker"},a.default.createElement(i.Alpha,n({},h.alpha,{rgb:t,hsl:r,pointer:p,renderers:c,onChange:s,direction:f})))};s.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:l.default},t.default=(0,i.ColorWrap)(s)},11488:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var n=l(r(10229)),a=l(r(10230)),o=l(r(10339)),i=l(r(8583));function l(e){return e&&e.__esModule?e:{default:e}}var u=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=[];return(0,i.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return r.push(e)})):(0,o.default)(t)?(0,a.default)(t,(function(e,t){!0===e&&r.push(t),r.push(t+"-"+e)})):(0,n.default)(t)&&r.push(t)})),r};t.default=u},11489:function(e,t,r){var n=r(11490)();e.exports=n},11490:function(e,t){e.exports=function(e){return function(t,r,n){for(var a=-1,o=Object(t),i=n(t),l=i.length;l--;){var u=i[e?l:++a];if(!1===r(o[u],u,o))break}return t}}},11491:function(e,t,r){var n=r(11492),a=r(11505),o=r(9383),i=r(711),l=r(11507);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?i(e)?a(e[0],e[1]):n(e):l(e)}},11492:function(e,t,r){var n=r(11493),a=r(11504),o=r(10477);e.exports=function(e){var t=a(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},11493:function(e,t,r){var n=r(9384),a=r(10231);e.exports=function(e,t,r,o){var i=r.length,l=i,u=!o;if(null==e)return!l;for(e=Object(e);i--;){var s=r[i];if(u&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<l;){var f=(s=r[i])[0],d=e[f],c=s[1];if(u&&s[2]){if(void 0===d&&!(f in e))return!1}else{var p=new n;if(o)var h=o(d,c,f,e,t,p);if(!(void 0===h?a(c,d,3,o,p):h))return!1}}return!0}},11504:function(e,t,r){var n=r(10476),a=r(8739);e.exports=function(e){for(var t=a(e),r=t.length;r--;){var o=t[r],i=e[o];t[r]=[o,i,n(i)]}return t}},11505:function(e,t,r){var n=r(10231),a=r(11506),o=r(10322),i=r(9378),l=r(10476),u=r(10477),s=r(8738);e.exports=function(e,t){return i(e)&&l(t)?u(s(e),t):function(r){var i=a(r,e);return void 0===i&&i===t?o(r,e):n(t,i,3)}}},11506:function(e,t,r){var n=r(9115);e.exports=function(e,t,r){var a=null==e?void 0:n(e,t);return void 0===a?r:a}},11507:function(e,t,r){var n=r(11508),a=r(11509),o=r(9378),i=r(8738);e.exports=function(e){return o(e)?n(i(e)):a(e)}},11508:function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},11509:function(e,t,r){var n=r(9115);e.exports=function(e){return function(t){return n(t,e)}}},11510:function(e,t,r){var n=r(10478),a=r(8841);e.exports=function(e,t){var r=-1,o=a(e)?Array(e.length):[];return n(e,(function(e,n,a){o[++r]=t(e,n,a)})),o}},11511:function(e,t,r){var n=r(8841);e.exports=function(e,t){return function(r,a){if(null==r)return r;if(!n(r))return e(r,a);for(var o=r.length,i=t?o:-1,l=Object(r);(t?i--:++i<o)&&!1!==a(l[i],i,l););return r}}},11512:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var n=i(r(10230)),a=i(r(11513)),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function i(e){return e&&e.__esModule?e:{default:e}}var l=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=e.default&&(0,a.default)(e.default)||{};return t.map((function(t){var a=e[t];return a&&(0,n.default)(a,(function(e,t){r[t]||(r[t]={}),r[t]=o({},r[t],a[t])})),t})),r};t.default=l},11513:function(e,t,r){var n=r(10325);e.exports=function(e){return n(e,5)}},11514:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var n,a=r(10230),o=(n=a)&&n.__esModule?n:{default:n},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};var l={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){var r=t[e];return r||{extend:e}}},u=t.autoprefix=function(e){var t={};return(0,o.default)(e,(function(e,r){var n={};(0,o.default)(e,(function(e,t){var r=l[t];r?n=i({},n,r(e)):n[t]=e})),t[r]=n})),t};t.default=u},11515:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var n,a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=r(0),i=(n=o)&&n.__esModule?n:{default:n};function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,o,s;l(this,n);for(var f=arguments.length,d=Array(f),c=0;c<f;c++)d[c]=arguments[c];return o=s=u(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(d))),s.state={hover:!1},s.handleMouseOver=function(){return s.setState({hover:!0})},s.handleMouseOut=function(){return s.setState({hover:!1})},s.render=function(){return i.default.createElement(t,{onMouseOver:s.handleMouseOver,onMouseOut:s.handleMouseOut},i.default.createElement(e,a({},s.props,s.state)))},u(s,o)}return s(n,r),n}(i.default.Component)};t.default=f},11516:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var n,a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=r(0),i=(n=o)&&n.__esModule?n:{default:n};function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,o,s;l(this,n);for(var f=arguments.length,d=Array(f),c=0;c<f;c++)d[c]=arguments[c];return o=s=u(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(d))),s.state={active:!1},s.handleMouseDown=function(){return s.setState({active:!0})},s.handleMouseUp=function(){return s.setState({active:!1})},s.render=function(){return i.default.createElement(t,{onMouseDown:s.handleMouseDown,onMouseUp:s.handleMouseUp},i.default.createElement(e,a({},s.props,s.state)))},u(s,o)}return s(n,r),n}(i.default.Component)};t.default=f},11517:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t){var r={},n=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];r[e]=t};return 0===e&&n("first-child"),e===t-1&&n("last-child"),(0===e||e%2==0)&&n("even"),1===Math.abs(e%2)&&n("odd"),n("nth-child",e),r}},11518:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Alpha=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r(0),i=f(o),l=f(r(8261)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(11519)),s=f(r(10479));function f(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var p=t.Alpha=function(e){function t(){var e,r,n;d(this,t);for(var a=arguments.length,o=Array(a),i=0;i<a;i++)o[i]=arguments[i];return r=n=c(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),n.handleChange=function(e,t){var r=u.calculateChange(e,t,n.props,n.container);r&&n.props.onChange&&n.props.onChange(r,e)},n.handleMouseDown=function(e){n.handleChange(e,!0),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleChange),window.removeEventListener("mouseup",n.handleMouseUp)},c(n,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,r=(0,l.default)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden"},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n           rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n           rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:n({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return i.default.createElement("div",{style:r.alpha},i.default.createElement("div",{style:r.checkboard},i.default.createElement(s.default,{renderers:this.props.renderers})),i.default.createElement("div",{style:r.gradient}),i.default.createElement("div",{style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i.default.createElement("div",{style:r.pointer},this.props.pointer?i.default.createElement(this.props.pointer,this.props):i.default.createElement("div",{style:r.slider}))))}}]),t}(o.PureComponent||o.Component);t.default=p},11519:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=function(e,t,r,n){e.preventDefault();var a=n.clientWidth,o=n.clientHeight,i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,u=i-(n.getBoundingClientRect().left+window.pageXOffset),s=l-(n.getBoundingClientRect().top+window.pageYOffset);if("vertical"===r.direction){var f=void 0;if(f=s<0?0:s>o?1:Math.round(100*s/o)/100,r.hsl.a!==f)return{h:r.hsl.h,s:r.hsl.s,l:r.hsl.l,a:f,source:"rgb"}}else{var d=void 0;if(d=u<0?0:u>a?1:Math.round(100*u/a)/100,r.a!==d)return{h:r.hsl.h,s:r.hsl.s,l:r.hsl.l,a:d,source:"rgb"}}return null}},11520:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.render=a,t.get=function(e,t,r,o){var i=e+"-"+t+"-"+r+(o?"-server":""),l=a(e,t,r,o);if(n[i])return n[i];return n[i]=l,l};var n={};function a(e,t,r,n){if("undefined"==typeof document&&!n)return null;var a=n?new n:document.createElement("canvas");a.width=2*r,a.height=2*r;var o=a.getContext("2d");return o?(o.fillStyle=e,o.fillRect(0,0,a.width,a.height),o.fillStyle=t,o.fillRect(0,0,r,r),o.translate(r,r),o.fillRect(0,0,r,r),a.toDataURL()):null}},11521:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EditableInput=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(0),o=l(a),i=l(r(8261));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=t.EditableInput=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.handleBlur=function(){r.state.blurValue&&r.setState({value:r.state.blurValue,blurValue:null})},r.handleChange=function(e){r.props.label?r.props.onChange&&r.props.onChange(u({},r.props.label,e.target.value),e):r.props.onChange&&r.props.onChange(e.target.value,e),r.setState({value:e.target.value})},r.handleKeyDown=function(e){var t=String(e.target.value),n=t.indexOf("%")>-1,a=Number(t.replace(/%/g,""));if(!isNaN(a)){var o=r.props.arrowOffset||1;38===e.keyCode&&(null!==r.props.label?r.props.onChange&&r.props.onChange(u({},r.props.label,a+o),e):r.props.onChange&&r.props.onChange(a+o,e),n?r.setState({value:a+o+"%"}):r.setState({value:a+o})),40===e.keyCode&&(null!==r.props.label?r.props.onChange&&r.props.onChange(u({},r.props.label,a-o),e):r.props.onChange&&r.props.onChange(a-o,e),n?r.setState({value:a-o+"%"}):r.setState({value:a-o}))}},r.handleDrag=function(e){if(r.props.dragLabel){var t=Math.round(r.props.value+e.movementX);t>=0&&t<=r.props.dragMax&&r.props.onChange&&r.props.onChange(u({},r.props.label,t),e)}},r.handleMouseDown=function(e){r.props.dragLabel&&(e.preventDefault(),r.handleDrag(e),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.input;e.value!==this.state.value&&(t===document.activeElement?this.setState({blurValue:String(e.value).toUpperCase()}):this.setState({value:String(e.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=(0,i.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return o.default.createElement("div",{style:t.wrap},o.default.createElement("input",{style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label?o.default.createElement("span",{style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(a.PureComponent||a.Component);t.default=s},11522:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hue=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(0),o=u(a),i=u(r(8261)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(11523));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=t.Hue=function(e){function t(){var e,r,n;s(this,t);for(var a=arguments.length,o=Array(a),i=0;i<a;i++)o[i]=arguments[i];return r=n=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),n.handleChange=function(e,t){var r=l.calculateChange(e,t,n.props,n.container);r&&n.props.onChange&&n.props.onChange(r,e)},n.handleMouseDown=function(e){n.handleChange(e,!0),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},f(n,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,r=void 0===t?"horizontal":t,n=(0,i.default)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%"},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===r});return o.default.createElement("div",{style:n.hue},o.default.createElement("div",{className:"hue-"+r,style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},o.default.createElement("style",null,"\n            .hue-horizontal {\n              background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n                33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n              background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n                17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n            }\n\n            .hue-vertical {\n              background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n                #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n              background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n                #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n            }\n          "),o.default.createElement("div",{style:n.pointer},this.props.pointer?o.default.createElement(this.props.pointer,this.props):o.default.createElement("div",{style:n.slider}))))}}]),t}(a.PureComponent||a.Component);t.default=d},11523:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=function(e,t,r,n){e.preventDefault();var a=n.clientWidth,o=n.clientHeight,i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,u=i-(n.getBoundingClientRect().left+window.pageXOffset),s=l-(n.getBoundingClientRect().top+window.pageYOffset);if("vertical"===r.direction){var f=void 0;if(s<0)f=359;else if(s>o)f=0;else{f=360*(-100*s/o+100)/100}if(r.hsl.h!==f)return{h:f,s:r.hsl.s,l:r.hsl.l,a:r.hsl.a,source:"rgb"}}else{var d=void 0;if(u<0)d=0;else if(u>a)d=359;else{d=360*(100*u/a)/100}if(r.hsl.h!==d)return{h:d,s:r.hsl.s,l:r.hsl.l,a:r.hsl.a,source:"rgb"}}return null}},11524:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Saturation=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(0),o=s(a),i=s(r(8261)),l=s(r(1243)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(11525));function s(e){return e&&e.__esModule?e:{default:e}}var f=t.Saturation=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.handleChange=function(e,t){r.props.onChange&&r.throttle(r.props.onChange,u.calculateChange(e,t,r.props,r.container),e)},r.handleMouseDown=function(e){r.handleChange(e,!0),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.throttle=(0,l.default)((function(e,t,r){e(t,r)}),50),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},r=t.color,n=t.white,a=t.black,l=t.pointer,u=t.circle,s=(0,i.default)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n            0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:r,white:n,black:a,pointer:l,circle:u}},{custom:!!this.props.style});return o.default.createElement("div",{style:s.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},o.default.createElement("style",null,"\n          .saturation-white {\n            background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n            background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n          }\n          .saturation-black {\n            background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n            background: linear-gradient(to top, #000, rgba(0,0,0,0));\n          }\n        "),o.default.createElement("div",{style:s.white,className:"saturation-white"},o.default.createElement("div",{style:s.black,className:"saturation-black"}),o.default.createElement("div",{style:s.pointer},this.props.pointer?o.default.createElement(this.props.pointer,this.props):o.default.createElement("div",{style:s.circle}))))}}]),t}(a.PureComponent||a.Component);t.default=f},11525:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=function(e,t,r,n){e.preventDefault();var a=n.getBoundingClientRect(),o=a.width,i=a.height,l="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,u="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=l-(n.getBoundingClientRect().left+window.pageXOffset),f=u-(n.getBoundingClientRect().top+window.pageYOffset);s<0?s=0:s>o?s=o:f<0?f=0:f>i&&(f=i);var d=100*s/o,c=-100*f/i+100;return{h:r.hsl.h,s:d,v:c,a:r.hsl.a,source:"rgb"}}},11526:function(e,t,r){e.exports=r(11527)},11527:function(e,t,r){var n=r(10326),a=r(10478),o=r(10474),i=r(711);e.exports=function(e,t){return(i(e)?n:a)(e,o(t))}},11528:function(e,t,r){var n;!function(){var a=/^[\s,#]+/,o=/\s+$/,i=0,l=Math,u=l.round,s=l.min,f=l.max,d=l.random;function c(e,t){if(t=t||{},(e=e||"")instanceof c)return e;if(!(this instanceof c))return new c(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=!1,i=!1;"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(o,"").toLowerCase();var t,r=!1;if(j[e])e=j[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=W.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=W.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=W.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=W.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=W.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=W.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=W.hex8.exec(e))return{a:(n=t[1],A(n)/255),r:A(t[2]),g:A(t[3]),b:A(t[4]),format:r?"name":"hex8"};var n;if(t=W.hex6.exec(e))return{r:A(t[1]),g:A(t[2]),b:A(t[3]),format:r?"name":"hex"};if(t=W.hex3.exec(e))return{r:A(t[1]+""+t[1]),g:A(t[2]+""+t[2]),b:A(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));if("object"==typeof e){if(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b"))p=e.r,h=e.g,b=e.b,t={r:255*F(p,255),g:255*F(h,255),b:255*F(b,255)},n=!0,i="%"===String(e.r).substr(-1)?"prgb":"rgb";else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("v")){var u=D(e.s,1),d=D(e.v,1);t=function(e,t,r){e=6*F(e,360),t=F(t,100),r=F(r,100);var n=l.floor(e),a=e-n,o=r*(1-t),i=r*(1-a*t),u=r*(1-(1-a)*t),s=n%6;return{r:255*[r,i,o,o,u,r][s],g:255*[u,r,r,i,o,o][s],b:255*[o,o,u,r,r,i][s]}}(e.h,u,d),n=!0,i="hsv"}else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("l")){u=D(e.s);var c=D(e.l);t=function(e,t,r){var n,a,o;function i(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=F(e,360),t=F(t,100),r=F(r,100),0===t)n=a=o=r;else{var l=r<.5?r*(1+t):r+t-r*t,u=2*r-l;n=i(u,l,e+1/3),a=i(u,l,e),o=i(u,l,e-1/3)}return{r:255*n,g:255*a,b:255*o}}(e.h,u,c),n=!0,i="hsl"}e.hasOwnProperty("a")&&(r=e.a)}var p,h,b;return r=B(r),{ok:n,format:e.format||i,r:s(255,f(t.r,0)),g:s(255,f(t.g,0)),b:s(255,f(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=u(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=u(this._r)),this._g<1&&(this._g=u(this._g)),this._b<1&&(this._b=u(this._b)),this._ok=r.ok,this._tc_id=i++}function p(e,t,r){e=F(e,255),t=F(t,255),r=F(r,255);var n,a,o=f(e,t,r),i=s(e,t,r),l=(o+i)/2;if(o==i)n=a=0;else{var u=o-i;switch(a=l>.5?u/(2-o-i):u/(o+i),o){case e:n=(t-r)/u+(t<r?6:0);break;case t:n=(r-e)/u+2;break;case r:n=(e-t)/u+4}n/=6}return{h:n,s:a,l:l}}function h(e,t,r){e=F(e,255),t=F(t,255),r=F(r,255);var n,a,o=f(e,t,r),i=s(e,t,r),l=o,u=o-i;if(a=0===o?0:u/o,o==i)n=0;else{switch(o){case e:n=(t-r)/u+(t<r?6:0);break;case t:n=(r-e)/u+2;break;case r:n=(e-t)/u+4}n/=6}return{h:n,s:a,v:l}}function b(e,t,r,n){var a=[T(u(e).toString(16)),T(u(t).toString(16)),T(u(r).toString(16))];return n&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function g(e,t,r,n){var a;return[T((a=n,Math.round(255*parseFloat(a)).toString(16))),T(u(e).toString(16)),T(u(t).toString(16)),T(u(r).toString(16))].join("")}function v(e,t){t=0===t?0:t||10;var r=c(e).toHsl();return r.s-=t/100,r.s=H(r.s),c(r)}function x(e,t){t=0===t?0:t||10;var r=c(e).toHsl();return r.s+=t/100,r.s=H(r.s),c(r)}function y(e){return c(e).desaturate(100)}function m(e,t){t=0===t?0:t||10;var r=c(e).toHsl();return r.l+=t/100,r.l=H(r.l),c(r)}function w(e,t){t=0===t?0:t||10;var r=c(e).toRgb();return r.r=f(0,s(255,r.r-u(-t/100*255))),r.g=f(0,s(255,r.g-u(-t/100*255))),r.b=f(0,s(255,r.b-u(-t/100*255))),c(r)}function _(e,t){t=0===t?0:t||10;var r=c(e).toHsl();return r.l-=t/100,r.l=H(r.l),c(r)}function E(e,t){var r=c(e).toHsl(),n=(u(r.h)+t)%360;return r.h=n<0?360+n:n,c(r)}function C(e){var t=c(e).toHsl();return t.h=(t.h+180)%360,c(t)}function k(e){var t=c(e).toHsl(),r=t.h;return[c(e),c({h:(r+120)%360,s:t.s,l:t.l}),c({h:(r+240)%360,s:t.s,l:t.l})]}function S(e){var t=c(e).toHsl(),r=t.h;return[c(e),c({h:(r+90)%360,s:t.s,l:t.l}),c({h:(r+180)%360,s:t.s,l:t.l}),c({h:(r+270)%360,s:t.s,l:t.l})]}function O(e){var t=c(e).toHsl(),r=t.h;return[c(e),c({h:(r+72)%360,s:t.s,l:t.l}),c({h:(r+216)%360,s:t.s,l:t.l})]}function P(e,t,r){t=t||6,r=r||30;var n=c(e).toHsl(),a=360/r,o=[c(e)];for(n.h=(n.h-(a*t>>1)+720)%360;--t;)n.h=(n.h+a)%360,o.push(c(n));return o}function M(e,t){t=t||6;for(var r=c(e).toHsv(),n=r.h,a=r.s,o=r.v,i=[],l=1/t;t--;)i.push(c({h:n,s:a,v:o})),o=(o+l)%1;return i}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=B(e),this._roundA=u(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=u(360*e.h),r=u(100*e.s),n=u(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=p(this._r,this._g,this._b),t=u(360*e.h),r=u(100*e.s),n=u(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return b(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(){return g(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:u(this._r),g:u(this._g),b:u(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+u(this._r)+", "+u(this._g)+", "+u(this._b)+")":"rgba("+u(this._r)+", "+u(this._g)+", "+u(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:u(100*F(this._r,255))+"%",g:u(100*F(this._g,255))+"%",b:u(100*F(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+u(100*F(this._r,255))+"%, "+u(100*F(this._g,255))+"%, "+u(100*F(this._b,255))+"%)":"rgba("+u(100*F(this._r,255))+"%, "+u(100*F(this._g,255))+"%, "+u(100*F(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(R[b(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";e&&(r=c(e).toHex8String());return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(m,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(v,arguments)},saturate:function(){return this._applyModification(x,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(E,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(P,arguments)},complement:function(){return this._applyCombination(C,arguments)},monochromatic:function(){return this._applyCombination(M,arguments)},splitcomplement:function(){return this._applyCombination(O,arguments)},triad:function(){return this._applyCombination(k,arguments)},tetrad:function(){return this._applyCombination(S,arguments)}},c.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:D(e[n]));e=r}return c(e,t)},c.equals=function(e,t){return!(!e||!t)&&c(e).toRgbString()==c(t).toRgbString()},c.random=function(){return c.fromRatio({r:d(),g:d(),b:d()})},c.mix=function(e,t,r){r=0===r?0:r||50;var n,a=c(e).toRgb(),o=c(t).toRgb(),i=r/100,l=2*i-1,u=o.a-a.a,s=1-(n=((n=l*u==-1?l:(l+u)/(1+l*u))+1)/2);return c({r:o.r*n+a.r*s,g:o.g*n+a.g*s,b:o.b*n+a.b*s,a:o.a*i+a.a*(1-i)})},c.readability=function(e,t){var r=c(e),n=c(t);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)},c.isReadable=function(e,t,r){var n,a,o=c.readability(e,t);switch(a=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":a=o>=4.5;break;case"AAlarge":a=o>=3;break;case"AAAsmall":a=o>=7}return a},c.mostReadable=function(e,t,r){var n,a,o,i,l=null,u=0;a=(r=r||{}).includeFallbackColors,o=r.level,i=r.size;for(var s=0;s<t.length;s++)(n=c.readability(e,t[s]))>u&&(u=n,l=c(t[s]));return c.isReadable(e,l,{level:o,size:i})||!a?l:(r.includeFallbackColors=!1,c.mostReadable(e,["#fff","#000"],r))};var j=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},R=c.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(j);function B(e){var t=parseFloat(e);return(isNaN(t)||t<0||t>1)&&(t=1),t}function F(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,f(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),l.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function H(e){return s(1,f(0,e))}function A(e){return parseInt(e,16)}function T(e){return 1==e.length?"0"+e:""+e}function D(e,t){return t=t||100,e<=1&&(e=e*t+"%"),e}var L,z,G,W=(z="[\\s|\\(]+("+(L="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+L+")[,|\\s]+("+L+")\\s*\\)?",G="[\\s|\\(]+("+L+")[,|\\s]+("+L+")[,|\\s]+("+L+")[,|\\s]+("+L+")\\s*\\)?",{rgb:new RegExp("rgb"+z),rgba:new RegExp("rgba"+G),hsl:new RegExp("hsl"+z),hsla:new RegExp("hsla"+G),hsv:new RegExp("hsv"+z),hsva:new RegExp("hsva"+G),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});e.exports?e.exports=c:void 0===(n=function(){return c}.call(t,r,t,e))||(e.exports=n)}()},11529:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Swatch=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=u(r(0)),o=u(r(8261)),i=r(11530),l=r(8285);function u(e){return e&&e.__esModule?e:{default:e}}var s=t.Swatch=function(e){var t=e.color,r=e.style,i=e.onClick,u=void 0===i?function(){}:i,s=e.onHover,f=e.title,d=void 0===f?t:f,c=e.children,p=e.focus,h=e.focusStyle,b=void 0===h?{}:h,g="transparent"===t,v=(0,o.default)({default:{swatch:n({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},r,p?b:{})}}),x={};return s&&(x.onMouseOver=function(e){return s(t,e)}),a.default.createElement("div",n({style:v.swatch,onClick:function(e){return u(t,e)},title:d,tabIndex:0,onKeyDown:function(e){return 13===e.keyCode&&u(t,e)}},x),c,g&&a.default.createElement(l.Checkboard,{borderRadius:v.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};t.default=(0,i.handleFocus)(s)},11530:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleFocus=void 0;var n,a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=r(0),i=(n=o)&&n.__esModule?n:{default:n};function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.handleFocus=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,o,s;l(this,n);for(var f=arguments.length,d=Array(f),c=0;c<f;c++)d[c]=arguments[c];return o=s=u(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(d))),s.state={focus:!1},s.handleFocus=function(){return s.setState({focus:!0})},s.handleBlur=function(){return s.setState({focus:!1})},s.render=function(){return i.default.createElement(t,{onFocus:s.handleFocus,onBlur:s.handleBlur},i.default.createElement(e,a({},s.props,s.state)))},u(s,o)}return s(n,r),n}(i.default.Component)}},11531:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPointer=void 0;var n=o(r(0)),a=o(r(8261));function o(e){return e&&e.__esModule?e:{default:e}}var i=t.AlphaPointer=function(e){var t=e.direction,r=(0,a.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return n.default.createElement("div",{style:r.picker})};t.default=i},11532:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Block=void 0;var n=s(r(0)),a=s(r(17)),o=s(r(8261)),i=s(r(8544)),l=r(8285),u=s(r(11533));function s(e){return e&&e.__esModule?e:{default:e}}var f=t.Block=function(e){var t=e.onChange,r=e.onSwatchHover,a=e.hex,s=e.colors,f=e.width,d=e.triangle,c="transparent"===a,p=function(e,r){i.default.isValidHex(e)&&t({hex:e,source:"hex"},r)},h=(0,o.default)({default:{card:{width:f,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:a,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:c?"rgba(0,0,0,0.4)":"#fff",position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+a+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},{"hide-triangle":"hide"===d});return n.default.createElement("div",{style:h.card,className:"block-picker"},n.default.createElement("div",{style:h.triangle}),n.default.createElement("div",{style:h.head},c&&n.default.createElement(l.Checkboard,{borderRadius:"6px 6px 0 0"}),n.default.createElement("div",{style:h.label},a)),n.default.createElement("div",{style:h.body},n.default.createElement(u.default,{colors:s,onClick:p,onSwatchHover:r}),n.default.createElement(l.EditableInput,{style:{input:h.input},value:a,onChange:p})))};f.propTypes={width:a.default.number,colors:a.default.arrayOf(a.default.string),triangle:a.default.oneOf(["top","hide"])},f.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top"},t.default=(0,l.ColorWrap)(f)},11533:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockSwatches=void 0;var n=l(r(0)),a=l(r(8261)),o=l(r(8583)),i=r(8285);function l(e){return e&&e.__esModule?e:{default:e}}var u=t.BlockSwatches=function(e){var t=e.colors,r=e.onClick,l=e.onSwatchHover,u=(0,a.default)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return n.default.createElement("div",{style:u.swatches},(0,o.default)(t,(function(e){return n.default.createElement(i.Swatch,{key:e,color:e,style:u.swatch,onClick:r,onHover:l,focusStyle:{boxShadow:"0 0 4px "+e}})})),n.default.createElement("div",{style:u.clear}))};t.default=u},11534:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Circle=void 0;var n=f(r(0)),a=f(r(17)),o=f(r(8261)),i=f(r(8583)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(10481)),u=r(8285),s=f(r(11535));function f(e){return e&&e.__esModule?e:{default:e}}var d=t.Circle=function(e){var t=e.width,r=e.onChange,a=e.onSwatchHover,l=e.colors,u=e.hex,f=e.circleSize,d=e.circleSpacing,c=(0,o.default)({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-d,marginBottom:-d}}}),p=function(e,t){return r({hex:e,source:"hex"},t)};return n.default.createElement("div",{style:c.card,className:"circle-picker"},(0,i.default)(l,(function(e){return n.default.createElement(s.default,{key:e,color:e,onClick:p,onSwatchHover:a,active:u===e.toLowerCase(),circleSize:f,circleSpacing:d})})))};d.propTypes={width:a.default.number,circleSize:a.default.number,circleSpacing:a.default.number},d.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[l.red[500],l.pink[500],l.purple[500],l.deepPurple[500],l.indigo[500],l.blue[500],l.lightBlue[500],l.cyan[500],l.teal[500],l.green[500],l.lightGreen[500],l.lime[500],l.yellow[500],l.amber[500],l.orange[500],l.deepOrange[500],l.brown[500],l.blueGrey[500]]},t.default=(0,u.ColorWrap)(d)},11535:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CircleSwatch=void 0;var n=l(r(0)),a=r(8261),o=l(a),i=r(8285);function l(e){return e&&e.__esModule?e:{default:e}}var u=t.CircleSwatch=function(e){var t=e.color,r=e.onClick,a=e.onSwatchHover,l=e.hover,u=e.active,s=e.circleSize,f=e.circleSpacing,d=(0,o.default)({default:{swatch:{width:s,height:s,marginRight:f,marginBottom:f,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+s/2+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:l,active:u});return n.default.createElement("div",{style:d.swatch},n.default.createElement(i.Swatch,{style:d.Swatch,color:t,onClick:r,onHover:a,focusStyle:{boxShadow:d.Swatch.boxShadow+", 0 0 5px "+t}}))};u.defaultProps={circleSize:28,circleSpacing:14},t.default=(0,a.handleHover)(u)},11536:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Chrome=void 0;var n=f(r(0)),a=f(r(17)),o=f(r(8261)),i=r(8285),l=f(r(11537)),u=f(r(11538)),s=f(r(11539));function f(e){return e&&e.__esModule?e:{default:e}}var d=t.Chrome=function(e){var t=e.onChange,r=e.disableAlpha,a=e.rgb,f=e.hsl,d=e.hsv,c=e.hex,p=e.renderers,h=(0,o.default)({default:{picker:{background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",width:"225px",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+a.r+", "+a.g+", "+a.b+", "+a.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},{disableAlpha:r});return n.default.createElement("div",{style:h.picker,className:"chrome-picker"},n.default.createElement("div",{style:h.saturation},n.default.createElement(i.Saturation,{style:h.Saturation,hsl:f,hsv:d,pointer:s.default,onChange:t})),n.default.createElement("div",{style:h.body},n.default.createElement("div",{style:h.controls,className:"flexbox-fix"},n.default.createElement("div",{style:h.color},n.default.createElement("div",{style:h.swatch},n.default.createElement("div",{style:h.active}),n.default.createElement(i.Checkboard,{renderers:p}))),n.default.createElement("div",{style:h.toggles},n.default.createElement("div",{style:h.hue},n.default.createElement(i.Hue,{style:h.Hue,hsl:f,pointer:u.default,onChange:t})),n.default.createElement("div",{style:h.alpha},n.default.createElement(i.Alpha,{style:h.Alpha,rgb:a,hsl:f,pointer:u.default,renderers:p,onChange:t})))),n.default.createElement(l.default,{rgb:a,hsl:f,hex:c,onChange:t,disableAlpha:r})))};d.propTypes={disableAlpha:a.default.bool},d.defaultProps={disableAlpha:!1},t.default=(0,i.ColorWrap)(d)},11537:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromeFields=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=u(r(0)),o=u(r(8261)),i=u(r(8544)),l=r(8285);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=t.ChromeFields=function(e){function t(){var e,r,n;s(this,t);for(var a=arguments.length,o=Array(a),l=0;l<a;l++)o[l]=arguments[l];return r=n=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),n.state={view:""},n.toggleViews=function(){"hex"===n.state.view?n.setState({view:"rgb"}):"rgb"===n.state.view?n.setState({view:"hsl"}):"hsl"===n.state.view&&(1===n.props.hsl.a?n.setState({view:"hex"}):n.setState({view:"rgb"}))},n.handleChange=function(e,t){e.hex?i.default.isValidHex(e.hex)&&n.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?n.props.onChange({r:e.r||n.props.rgb.r,g:e.g||n.props.rgb.g,b:e.b||n.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),n.props.onChange({h:n.props.hsl.h,s:n.props.hsl.s,l:n.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&n.props.onChange({h:e.h||n.props.hsl.h,s:e.s&&e.s||n.props.hsl.s,l:e.l&&e.l||n.props.hsl.l,source:"hsl"},t)},n.showHighlight=function(e){e.target.style.background="#eee"},n.hideHighlight=function(e){e.target.style.background="transparent"},f(n,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"componentDidMount",value:function(){1===this.props.hsl.a&&"hex"!==this.state.view?this.setState({view:"hex"}):"rgb"!==this.state.view&&"hsl"!==this.state.view&&this.setState({view:"rgb"})}},{key:"componentWillReceiveProps",value:function(e){1!==e.hsl.a&&"hex"===this.state.view&&this.setState({view:"rgb"})}},{key:"render",value:function(){var e=this,t=(0,o.default)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),r=void 0;return"hex"===this.state.view?r=a.default.createElement("div",{style:t.fields,className:"flexbox-fix"},a.default.createElement("div",{style:t.field},a.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?r=a.default.createElement("div",{style:t.fields,className:"flexbox-fix"},a.default.createElement("div",{style:t.field},a.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),a.default.createElement("div",{style:t.field},a.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),a.default.createElement("div",{style:t.field},a.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),a.default.createElement("div",{style:t.alpha},a.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(r=a.default.createElement("div",{style:t.fields,className:"flexbox-fix"},a.default.createElement("div",{style:t.field},a.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),a.default.createElement("div",{style:t.field},a.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),a.default.createElement("div",{style:t.field},a.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),a.default.createElement("div",{style:t.alpha},a.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),a.default.createElement("div",{style:t.wrap,className:"flexbox-fix"},r,a.default.createElement("div",{style:t.toggle},a.default.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},a.default.createElement("svg",{style:t.svg,viewBox:"0 0 24 24",onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight},a.default.createElement("path",{ref:function(t){return e.iconUp=t},fill:"#333",d:"M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}),a.default.createElement("path",{ref:function(t){return e.iconDown=t},fill:"#333",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15Z"})))))}}]),t}(a.default.Component);t.default=d},11538:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointer=void 0;var n=o(r(0)),a=o(r(8261));function o(e){return e&&e.__esModule?e:{default:e}}var i=t.ChromePointer=function(){var e=(0,a.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return n.default.createElement("div",{style:e.picker})};t.default=i},11539:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointerCircle=void 0;var n=o(r(0)),a=o(r(8261));function o(e){return e&&e.__esModule?e:{default:e}}var i=t.ChromePointerCircle=function(){var e=(0,a.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return n.default.createElement("div",{style:e.picker})};t.default=i},11540:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Compact=void 0;var n=c(r(0)),a=c(r(17)),o=c(r(8261)),i=c(r(8583)),l=c(r(8544)),u=r(10232),s=r(8285),f=c(r(11546)),d=c(r(11547));function c(e){return e&&e.__esModule?e:{default:e}}var p=t.Compact=function(e){var t=e.onChange,r=e.onSwatchHover,a=e.colors,s=e.hex,c=e.rgb,p=(0,o.default)({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}}),h=function(e,r){e.hex?l.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},r):t(e,r)};return n.default.createElement(u.Raised,{style:p.Compact},n.default.createElement("div",{style:p.compact,className:"compact-picker"},n.default.createElement("div",null,(0,i.default)(a,(function(e){return n.default.createElement(f.default,{key:e,color:e,active:e.toLowerCase()===s,onClick:h,onSwatchHover:r})})),n.default.createElement("div",{style:p.clear})),n.default.createElement(d.default,{hex:s,rgb:c,onChange:h})))};p.propTypes={colors:a.default.arrayOf(a.default.string)},p.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"]},t.default=(0,s.ColorWrap)(p)},11541:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=l(r(0)),o=l(r(17)),i=l(r(8261));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var f=function(e){function t(){return u(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"render",value:function(){var e=(0,i.default)({default:{wrap:{position:"relative"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 ${ this.props.zDepth }px ${ this.props.zDepth * 4 }px rgba(0,0,0,.24)",borderRadius:this.props.radius,background:this.props.background}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},this.props);return a.default.createElement("div",{style:e.wrap},a.default.createElement("div",{style:e.bg}),a.default.createElement("div",{style:e.content},this.props.children))}}]),t}(a.default.Component);f.propTypes={background:o.default.string,zDepth:o.default.oneOf(["0","1","2","3","4","5",0,1,2,3,4,5]),radius:o.default.oneOfType([o.default.string,o.default.number])},f.defaultProps={background:"#fff",zDepth:"1",radius:"2px"},t.default=f},11542:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,a=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(n=(i=l.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){a=!0,o=e}finally{try{!n&&l.return&&l.return()}finally{if(a)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=l(r(0)),i=l(r(8261));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var f=function(e){function t(){return u(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=(0,i.default)({default:{tile:{fontSize:"16px",padding:"16px",display:"flex",justifyContent:"space-between",color:this.props.color},primary:{display:"flex",width:"100%"},sidebar:{minWidth:"56px",maxWidth:"56px",flexBasis:"56px"},content:{background:"none",flex:"1",overflow:"auto"},secondary:{flexBasis:"42",textAlign:"center"},sidebarIcon:{marginTop:"-12px",marginLeft:"-12px",marginBottom:"-12px"}},divider:{tile:{boxShadow:"inset 0 -1px 0 rgba(0,0,0,.12)"}},condensed:{tile:{paddingBottom:"0px",paddingTop:"0px",paddingRight:"0px"},sidebar:{minWidth:"28px",maxWidth:"28px",flexBasis:"28px"}}},{clickable:this.props.onClick},this.props),t=n(this.props.children,2),r=t[0],a=t[1];return o.default.createElement("div",{style:e.tile,className:"flexbox-fix"},o.default.createElement("div",{style:e.primary,className:"flexbox-fix"},o.default.createElement("div",{style:e.sidebar,key:"sidebar-#{ sidebar }"},r),o.default.createElement("div",{style:e.content,key:"content-#{ content }"},a)))}}]),t}(o.default.Component);t.default=f},11543:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=s(r(0)),o=s(r(8261)),i=s(r(10229)),l=s(r(11544)),u=s(r(11545));function s(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r,n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r=e.selectedTab<(e.tabs&&e.tabs.length)?e.selectedTab:0,n.state={selectedTab:r},n.handleClick=n.handleClick.bind(n),n.slide=n.slide.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"handleClick",value:function(e){this.props.onChange&&this.props.onChange(e),this.setState({selectedTab:e})}},{key:"slide",value:function(){if(this.props.tabs.length){var e=this.refs.tabs.getDOMNode(),t=e.scrollLeft,r=e.offsetWidth+e.scrollLeft,n=this.refs["tab-"+this.state.selectedTab]&&this.refs["tab-"+this.state.selectedTab].getDOMNode(),a=n&&n.getBoundingClientRect().left-e.getBoundingClientRect().left+e.scrollLeft,o=n&&a+n.offsetWidth;o>r&&(e.scrollLeft+=o-r),a<t&&(e.scrollLeft-=t-a);var i=this.refs.indicator;i.style.left=a+"px",i.style.width=n.offsetWidth+"px",i.style.height="2px"}}},{key:"componentDidMount",value:function(){this.slide()}},{key:"componentWillReceiveProps",value:function(e){e.selectedTab!==this.state.selectedTab&&this.setState({selectedTab:e.selectedTab})}},{key:"componentWillUpdate",value:function(e,t){t.selectedTab>=(e.tabs&&e.tabs.length)&&(t.selectedTab=e.tabs.length-1)}},{key:"componentDidUpdate",value:function(){this.slide()}},{key:"render",value:function(){for(var e=(0,o.default)({default:{tabs:{position:"relative",background:this.props.background},tabWrap:{display:"flex"},tab:{justifyContent:"flex-start",minWidth:"68px",maxWidth:"240px"},Tab:{color:this.props.color,inactive:this.props.inactive,capitalize:this.props.capitalize},indicator:{height:"0",position:"absolute",bottom:"0",left:"0",background:this.props.color,transition:"all 200ms linear"}},scrollable:{tabs:{overflowX:"scroll"},tabWrap:{paddingLeft:"60px",justifyContent:"flex-start",width:"400%"},tab:{width:"auto"}},"align-justify":{tabWrap:{justifyContent:"space-between"},tab:{width:100/this.props.tabs.length+"%"}},"align-left":{tabWrap:{paddingLeft:"60px",justifyContent:"flex-start"},tab:{width:"auto"}},"align-center":{tabWrap:{justifyContent:"center"},tab:{width:"auto"}}},{scrollable:this.props.width/this.props.tabs.length<72},this.props,this.state),t=[],r=0;r<this.props.tabs.length;r++){var n,s,f,d,c=this.props.tabs[r];(0,i.default)(c)?(n=c,s=null):(n=c.label,s=c.onClick,f=c.callbackValue,d=c.newTab),t.push(a.default.createElement("div",{style:e.tab,ref:"tab-"+r,key:r},a.default.createElement(u.default,{onClick:s,callbackValue:f,newTab:d},a.default.createElement(l.default,{style:e.Tab,tab:r,selected:this.state.selectedTab===r,selectable:c.selectable,onClick:this.handleClick},n))))}return a.default.createElement("div",{style:e.tabs,ref:"tabs"},a.default.createElement("div",{style:e.tabWrap,className:"flexbox-fix"},t),a.default.createElement("div",{style:e.indicator,ref:"indicator"}))}}]),t}(a.default.Component);f.defaultProps={selectedTab:0,background:"transparent",color:"#fff"},t.default=f},11544:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=l(r(0)),o=l(r(17)),i=l(r(8261));function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.handleClick=e.handleClick.bind(e),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"handleClick",value:function(){!1!==this.props.selectable&&this.props.onClick(this.props.tab)}},{key:"render",value:function(){var e=(0,i.default)({default:{tab:{color:this.props.inactive||this.props.color,cursor:"pointer",paddingLeft:"12px",paddingRight:"12px",height:"48px",lineHeight:"48px",textAlign:"center",fontSize:"14px",textTransform:!1===this.props.capitalize?"":"uppercase",fontWeight:"500",whiteSpace:"nowrap",opacity:".47",transition:"opacity 100ms linear"}},selected:{tab:{color:this.props.color,opacity:".87"}}},this.props);return a.default.createElement("div",{style:e.tab,onClick:this.handleClick},this.props.children)}}]),t}(a.default.Component);u.propTypes={selected:o.default.bool},u.defaultProps={selected:!1,color:"#fff"},t.default=u},11545:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=i(r(0)),o=i(r(10229));function i(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.handleClick=e.handleClick.bind(e),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"handleClick",value:function(e){this.props.onClick&&this.props.onClick(e,this.props.callbackValue)}},{key:"render",value:function(){return(0,o.default)(this.props.onClick)?a.default.createElement("a",{style:{textDecoration:"none"},href:this.props.onClick,target:this.props.newTab&&"_blank"},this.props.children):a.default.createElement("a",{style:{textDecoration:"none"},onClick:this.handleClick},this.props.children)}}]),t}(a.default.Component);l.defaultProps={newTab:!1},t.default=l},11546:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompactColor=void 0;var n=i(r(0)),a=i(r(8261)),o=r(8285);function i(e){return e&&e.__esModule?e:{default:e}}var l=t.CompactColor=function(e){var t=e.color,r=e.onClick,i=void 0===r?function(){}:r,l=e.onSwatchHover,u=e.active,s=(0,a.default)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:"#fff",borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:u,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return n.default.createElement(o.Swatch,{style:s.color,color:t,onClick:i,onHover:l,focusStyle:{boxShadow:"0 0 4px "+t}},n.default.createElement("div",{style:s.dot}))};t.default=l},11547:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompactFields=void 0;var n=i(r(0)),a=i(r(8261)),o=r(8285);function i(e){return e&&e.__esModule?e:{default:e}}var l=t.CompactFields=function(e){var t=e.hex,r=e.rgb,i=e.onChange,l=(0,a.default)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),u=function(e,t){e.r||e.g||e.b?i({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},t):i({hex:e.hex,source:"hex"},t)};return n.default.createElement("div",{style:l.fields,className:"flexbox-fix"},n.default.createElement("div",{style:l.active}),n.default.createElement(o.EditableInput,{style:{wrap:l.HEXwrap,input:l.HEXinput,label:l.HEXlabel},label:"hex",value:t,onChange:u}),n.default.createElement(o.EditableInput,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"r",value:r.r,onChange:u}),n.default.createElement(o.EditableInput,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"g",value:r.g,onChange:u}),n.default.createElement(o.EditableInput,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"b",value:r.b,onChange:u}))};t.default=l},11548:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Github=void 0;var n=s(r(0)),a=s(r(17)),o=s(r(8261)),i=s(r(8583)),l=r(8285),u=s(r(11549));function s(e){return e&&e.__esModule?e:{default:e}}var f=t.Github=function(e){var t=e.width,r=e.colors,a=e.onChange,l=e.onSwatchHover,s=e.triangle,f=(0,o.default)({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},{"hide-triangle":"hide"===s,"top-left-triangle":"top-left"===s,"top-right-triangle":"top-right"===s,"bottom-right-triangle":"bottom-right"===s}),d=function(e,t){return a({hex:e,source:"hex"},t)};return n.default.createElement("div",{style:f.card,className:"github-picker"},n.default.createElement("div",{style:f.triangleShadow}),n.default.createElement("div",{style:f.triangle}),(0,i.default)(r,(function(e){return n.default.createElement(u.default,{color:e,key:e,onClick:d,onSwatchHover:l})})))};f.propTypes={width:a.default.number,colors:a.default.arrayOf(a.default.string),triangle:a.default.oneOf(["hide","top-left","top-right"])},f.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left"},t.default=(0,l.ColorWrap)(f)},11549:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GithubSwatch=void 0;var n=l(r(0)),a=r(8261),o=l(a),i=r(8285);function l(e){return e&&e.__esModule?e:{default:e}}var u=t.GithubSwatch=function(e){var t=e.hover,r=e.color,a=e.onClick,l=e.onSwatchHover,u={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},s=(0,o.default)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:u}},{hover:t});return n.default.createElement("div",{style:s.swatch},n.default.createElement(i.Swatch,{color:r,onClick:a,onHover:l,focusStyle:u}))};t.default=(0,a.handleHover)(u)},11550:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HuePicker=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=u(r(0)),o=u(r(8261)),i=r(8285),l=u(r(11551));function u(e){return e&&e.__esModule?e:{default:e}}var s=t.HuePicker=function(e){var t=e.width,r=e.height,l=e.onChange,u=e.hsl,s=e.direction,f=e.pointer,d=(0,o.default)({default:{picker:{position:"relative",width:t,height:r},hue:{radius:"2px"}}});return a.default.createElement("div",{style:d.picker,className:"hue-picker"},a.default.createElement(i.Hue,n({},d.hue,{hsl:u,pointer:f,onChange:function(e){return l({a:1,h:e.h,l:.5,s:1})},direction:s})))};s.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:l.default},t.default=(0,i.ColorWrap)(s)},11551:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var n=o(r(0)),a=o(r(8261));function o(e){return e&&e.__esModule?e:{default:e}}var i=t.SliderPointer=function(e){var t=e.direction,r=(0,a.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return n.default.createElement("div",{style:r.picker})};t.default=i},11552:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Material=void 0;var n=u(r(0)),a=u(r(8261)),o=u(r(8544)),i=r(10232),l=r(8285);function u(e){return e&&e.__esModule?e:{default:e}}var s=t.Material=function(e){var t=e.onChange,r=e.hex,u=e.rgb,s=(0,a.default)({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+r,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}}),f=function(e,r){e.hex?o.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},r):(e.r||e.g||e.b)&&t({r:e.r||u.r,g:e.g||u.g,b:e.b||u.b,source:"rgb"},r)};return n.default.createElement(i.Raised,null,n.default.createElement("div",{style:s.material,className:"material-picker"},n.default.createElement(l.EditableInput,{style:{wrap:s.HEXwrap,input:s.HEXinput,label:s.HEXlabel},label:"hex",value:r,onChange:f}),n.default.createElement("div",{style:s.split,className:"flexbox-fix"},n.default.createElement("div",{style:s.third},n.default.createElement(l.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"r",value:u.r,onChange:f})),n.default.createElement("div",{style:s.third},n.default.createElement(l.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"g",value:u.g,onChange:f})),n.default.createElement("div",{style:s.third},n.default.createElement(l.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"b",value:u.b,onChange:f})))))};t.default=(0,l.ColorWrap)(s)},11553:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Photoshop=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=p(r(0)),o=p(r(17)),i=p(r(8261)),l=r(8285),u=p(r(11554)),s=p(r(11555)),f=p(r(11556)),d=p(r(11557)),c=p(r(11558));function p(e){return e&&e.__esModule?e:{default:e}}var h=t.Photoshop=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.state={currentColor:e.hex},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"render",value:function(){var e=(0,i.default)({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}});return a.default.createElement("div",{style:e.picker,className:"photoshop-picker"},a.default.createElement("div",{style:e.head},this.props.header),a.default.createElement("div",{style:e.body,className:"flexbox-fix"},a.default.createElement("div",{style:e.saturation},a.default.createElement(l.Saturation,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:s.default,onChange:this.props.onChange})),a.default.createElement("div",{style:e.hue},a.default.createElement(l.Hue,{direction:"vertical",hsl:this.props.hsl,pointer:f.default,onChange:this.props.onChange})),a.default.createElement("div",{style:e.controls},a.default.createElement("div",{style:e.top,className:"flexbox-fix"},a.default.createElement("div",{style:e.previews},a.default.createElement(c.default,{rgb:this.props.rgb,currentColor:this.state.currentColor})),a.default.createElement("div",{style:e.actions},a.default.createElement(d.default,{label:"OK",onClick:this.props.onAccept,active:!0}),a.default.createElement(d.default,{label:"Cancel",onClick:this.props.onCancel}),a.default.createElement(u.default,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(a.default.Component);h.propTypes={header:o.default.string},h.defaultProps={header:"Color Picker"},t.default=(0,l.ColorWrap)(h)},11554:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPicker=void 0;var n=l(r(0)),a=l(r(8261)),o=l(r(8544)),i=r(8285);function l(e){return e&&e.__esModule?e:{default:e}}var u=t.PhotoshopPicker=function(e){var t=e.onChange,r=e.rgb,l=e.hsv,u=e.hex,s=(0,a.default)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),f=function(e,n){e["#"]?o.default.isValidHex(e["#"])&&t({hex:e["#"],source:"hex"},n):e.r||e.g||e.b?t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},n):(e.h||e.s||e.v)&&t({h:e.h||l.h,s:e.s||l.s,v:e.v||l.v,source:"hsv"},n)};return n.default.createElement("div",{style:s.fields},n.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"h",value:Math.round(l.h),onChange:f}),n.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"s",value:Math.round(100*l.s),onChange:f}),n.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"v",value:Math.round(100*l.v),onChange:f}),n.default.createElement("div",{style:s.divider}),n.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"r",value:r.r,onChange:f}),n.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"g",value:r.g,onChange:f}),n.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"b",value:r.b,onChange:f}),n.default.createElement("div",{style:s.divider}),n.default.createElement(i.EditableInput,{style:{wrap:s.HEXwrap,input:s.HEXinput,label:s.HEXlabel},label:"#",value:u.replace("#",""),onChange:f}),n.default.createElement("div",{style:s.fieldSymbols},n.default.createElement("div",{style:s.symbol},"°"),n.default.createElement("div",{style:s.symbol},"%"),n.default.createElement("div",{style:s.symbol},"%")))};t.default=u},11555:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var n=o(r(0)),a=o(r(8261));function o(e){return e&&e.__esModule?e:{default:e}}var i=t.PhotoshopPointerCircle=function(e){var t=e.hsl,r=(0,a.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return n.default.createElement("div",{style:r.picker})};t.default=i},11556:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var n=o(r(0)),a=o(r(8261));function o(e){return e&&e.__esModule?e:{default:e}}var i=t.PhotoshopPointerCircle=function(){var e=(0,a.default)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return n.default.createElement("div",{style:e.pointer},n.default.createElement("div",{style:e.left},n.default.createElement("div",{style:e.leftInside})),n.default.createElement("div",{style:e.right},n.default.createElement("div",{style:e.rightInside})))};t.default=i},11557:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopBotton=void 0;var n=o(r(0)),a=o(r(8261));function o(e){return e&&e.__esModule?e:{default:e}}var i=t.PhotoshopBotton=function(e){var t=e.onClick,r=e.label,o=e.children,i=e.active,l=(0,a.default)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:i});return n.default.createElement("div",{style:l.button,onClick:t},r||o)};t.default=i},11558:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPreviews=void 0;var n=o(r(0)),a=o(r(8261));function o(e){return e&&e.__esModule?e:{default:e}}var i=t.PhotoshopPreviews=function(e){var t=e.rgb,r=e.currentColor,o=(0,a.default)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:r,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return n.default.createElement("div",null,n.default.createElement("div",{style:o.label},"new"),n.default.createElement("div",{style:o.swatches},n.default.createElement("div",{style:o.new}),n.default.createElement("div",{style:o.current})),n.default.createElement("div",{style:o.label},"current"))};t.default=i},11559:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sketch=void 0;var n=s(r(0)),a=s(r(17)),o=s(r(8261)),i=r(8285),l=s(r(11560)),u=s(r(11561));function s(e){return e&&e.__esModule?e:{default:e}}var f=t.Sketch=function(e){var t=e.width,r=e.rgb,a=e.hex,s=e.hsv,f=e.hsl,d=e.onChange,c=e.onSwatchHover,p=e.disableAlpha,h=e.presetColors,b=e.renderers,g=(0,o.default)({default:{picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+r.r+","+r.g+","+r.b+","+r.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},{disableAlpha:p});return n.default.createElement("div",{style:g.picker,className:"sketch-picker"},n.default.createElement("div",{style:g.saturation},n.default.createElement(i.Saturation,{style:g.Saturation,hsl:f,hsv:s,onChange:d})),n.default.createElement("div",{style:g.controls,className:"flexbox-fix"},n.default.createElement("div",{style:g.sliders},n.default.createElement("div",{style:g.hue},n.default.createElement(i.Hue,{style:g.Hue,hsl:f,onChange:d})),n.default.createElement("div",{style:g.alpha},n.default.createElement(i.Alpha,{style:g.Alpha,rgb:r,hsl:f,renderers:b,onChange:d}))),n.default.createElement("div",{style:g.color},n.default.createElement(i.Checkboard,null),n.default.createElement("div",{style:g.activeColor}))),n.default.createElement(l.default,{rgb:r,hsl:f,hex:a,onChange:d,disableAlpha:p}),n.default.createElement(u.default,{colors:h,onClick:d,onSwatchHover:c}))};f.propTypes={disableAlpha:a.default.bool,width:a.default.number,presetColors:a.default.arrayOf(a.default.string)},f.defaultProps={disableAlpha:!1,width:200,presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]},t.default=(0,i.ColorWrap)(f)},11560:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ShetchFields=void 0;var n=l(r(0)),a=l(r(8261)),o=l(r(8544)),i=r(8285);function l(e){return e&&e.__esModule?e:{default:e}}var u=t.ShetchFields=function(e){var t=e.onChange,r=e.rgb,l=e.hsl,u=e.hex,s=e.disableAlpha,f=(0,a.default)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:s}),d=function(e,n){e.hex?o.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n):e.r||e.g||e.b?t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,a:r.a,source:"rgb"},n):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a=e.a/100,t({h:l.h,s:l.s,l:l.l,a:e.a,source:"rgb"},n))};return n.default.createElement("div",{style:f.fields,className:"flexbox-fix"},n.default.createElement("div",{style:f.double},n.default.createElement(i.EditableInput,{style:{input:f.input,label:f.label},label:"hex",value:u.replace("#",""),onChange:d})),n.default.createElement("div",{style:f.single},n.default.createElement(i.EditableInput,{style:{input:f.input,label:f.label},label:"r",value:r.r,onChange:d,dragLabel:"true",dragMax:"255"})),n.default.createElement("div",{style:f.single},n.default.createElement(i.EditableInput,{style:{input:f.input,label:f.label},label:"g",value:r.g,onChange:d,dragLabel:"true",dragMax:"255"})),n.default.createElement("div",{style:f.single},n.default.createElement(i.EditableInput,{style:{input:f.input,label:f.label},label:"b",value:r.b,onChange:d,dragLabel:"true",dragMax:"255"})),n.default.createElement("div",{style:f.alpha},n.default.createElement(i.EditableInput,{style:{input:f.input,label:f.label},label:"a",value:Math.round(100*r.a),onChange:d,dragLabel:"true",dragMax:"100"})))};t.default=u},11561:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SketchPresetColors=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=u(r(0)),o=u(r(17)),i=u(r(8261)),l=r(8285);function u(e){return e&&e.__esModule?e:{default:e}}var s=t.SketchPresetColors=function(e){var t=e.colors,r=e.onClick,o=void 0===r?function(){}:r,u=e.onSwatchHover,s=(0,i.default)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),f=function(e,t){o({hex:e,source:"hex"},t)};return a.default.createElement("div",{style:s.colors,className:"flexbox-fix"},t.map((function(e){var t="string"==typeof e?{color:e}:e;return a.default.createElement("div",{key:t.color,style:s.swatchWrap},a.default.createElement(l.Swatch,n({},t,{style:s.swatch,onClick:f,onHover:u,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))})))};s.propTypes={colors:o.default.arrayOf(o.default.oneOfType([o.default.string,o.default.shape({color:o.default.string,title:o.default.string})]))},t.default=s},11562:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Slider=void 0;var n=u(r(0)),a=u(r(8261)),o=r(8285),i=u(r(11563)),l=u(r(11565));function u(e){return e&&e.__esModule?e:{default:e}}var s=t.Slider=function(e){var t=e.hsl,r=e.onChange,l=e.pointer,u=(0,a.default)({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}});return n.default.createElement("div",{className:"slider-picker"},n.default.createElement("div",{style:u.hue},n.default.createElement(o.Hue,{style:u.Hue,hsl:t,pointer:l,onChange:r})),n.default.createElement("div",{style:u.swatches},n.default.createElement(i.default,{hsl:t,onClick:r})))};s.defaultProps={pointer:l.default},t.default=(0,o.ColorWrap)(s)},11563:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatches=void 0;var n=i(r(0)),a=i(r(8261)),o=i(r(11564));function i(e){return e&&e.__esModule?e:{default:e}}var l=t.SliderSwatches=function(e){var t=e.onClick,r=e.hsl,i=(0,a.default)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}});return n.default.createElement("div",{style:i.swatches},n.default.createElement("div",{style:i.swatch},n.default.createElement(o.default,{hsl:r,offset:".80",active:Math.round(100*r.l)/100==.8&&Math.round(100*r.s)/100==.5,onClick:t,first:!0})),n.default.createElement("div",{style:i.swatch},n.default.createElement(o.default,{hsl:r,offset:".65",active:Math.round(100*r.l)/100==.65&&Math.round(100*r.s)/100==.5,onClick:t})),n.default.createElement("div",{style:i.swatch},n.default.createElement(o.default,{hsl:r,offset:".50",active:Math.round(100*r.l)/100==.5&&Math.round(100*r.s)/100==.5,onClick:t})),n.default.createElement("div",{style:i.swatch},n.default.createElement(o.default,{hsl:r,offset:".35",active:Math.round(100*r.l)/100==.35&&Math.round(100*r.s)/100==.5,onClick:t})),n.default.createElement("div",{style:i.swatch},n.default.createElement(o.default,{hsl:r,offset:".20",active:Math.round(100*r.l)/100==.2&&Math.round(100*r.s)/100==.5,onClick:t,last:!0})),n.default.createElement("div",{style:i.clear}))};t.default=l},11564:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatch=void 0;var n=o(r(0)),a=o(r(8261));function o(e){return e&&e.__esModule?e:{default:e}}var i=t.SliderSwatch=function(e){var t=e.hsl,r=e.offset,o=e.onClick,i=void 0===o?function(){}:o,l=e.active,u=e.first,s=e.last,f=(0,a.default)({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*r+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:l,first:u,last:s});return n.default.createElement("div",{style:f.swatch,onClick:function(e){return i({h:t.h,s:.5,l:r,source:"hsl"},e)}})};t.default=i},11565:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var n=o(r(0)),a=o(r(8261));function o(e){return e&&e.__esModule?e:{default:e}}var i=t.SliderPointer=function(){var e=(0,a.default)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return n.default.createElement("div",{style:e.picker})};t.default=i},11566:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Swatches=void 0;var n=c(r(0)),a=c(r(17)),o=c(r(8261)),i=c(r(8583)),l=c(r(8544)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(10481)),s=r(8285),f=r(10232),d=c(r(11567));function c(e){return e&&e.__esModule?e:{default:e}}var p=t.Swatches=function(e){var t=e.width,r=e.height,a=e.onChange,u=e.onSwatchHover,s=e.colors,c=e.hex,p=(0,o.default)({default:{picker:{width:t,height:r},overflow:{height:r,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}}),h=function(e,t){l.default.isValidHex(e)&&a({hex:e,source:"hex"},t)};return n.default.createElement("div",{style:p.picker,className:"swatches-picker"},n.default.createElement(f.Raised,null,n.default.createElement("div",{style:p.overflow},n.default.createElement("div",{style:p.body},(0,i.default)(s,(function(e){return n.default.createElement(d.default,{key:e.toString(),group:e,active:c,onClick:h,onSwatchHover:u})})),n.default.createElement("div",{style:p.clear})))))};p.propTypes={width:a.default.number,height:a.default.number,colors:a.default.arrayOf(a.default.arrayOf(a.default.string))},p.defaultProps={width:320,height:240,colors:[[u.red[900],u.red[700],u.red[500],u.red[300],u.red[100]],[u.pink[900],u.pink[700],u.pink[500],u.pink[300],u.pink[100]],[u.purple[900],u.purple[700],u.purple[500],u.purple[300],u.purple[100]],[u.deepPurple[900],u.deepPurple[700],u.deepPurple[500],u.deepPurple[300],u.deepPurple[100]],[u.indigo[900],u.indigo[700],u.indigo[500],u.indigo[300],u.indigo[100]],[u.blue[900],u.blue[700],u.blue[500],u.blue[300],u.blue[100]],[u.lightBlue[900],u.lightBlue[700],u.lightBlue[500],u.lightBlue[300],u.lightBlue[100]],[u.cyan[900],u.cyan[700],u.cyan[500],u.cyan[300],u.cyan[100]],[u.teal[900],u.teal[700],u.teal[500],u.teal[300],u.teal[100]],["#194D33",u.green[700],u.green[500],u.green[300],u.green[100]],[u.lightGreen[900],u.lightGreen[700],u.lightGreen[500],u.lightGreen[300],u.lightGreen[100]],[u.lime[900],u.lime[700],u.lime[500],u.lime[300],u.lime[100]],[u.yellow[900],u.yellow[700],u.yellow[500],u.yellow[300],u.yellow[100]],[u.amber[900],u.amber[700],u.amber[500],u.amber[300],u.amber[100]],[u.orange[900],u.orange[700],u.orange[500],u.orange[300],u.orange[100]],[u.deepOrange[900],u.deepOrange[700],u.deepOrange[500],u.deepOrange[300],u.deepOrange[100]],[u.brown[900],u.brown[700],u.brown[500],u.brown[300],u.brown[100]],[u.blueGrey[900],u.blueGrey[700],u.blueGrey[500],u.blueGrey[300],u.blueGrey[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]]},t.default=(0,s.ColorWrap)(p)},11567:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesGroup=void 0;var n=l(r(0)),a=l(r(8261)),o=l(r(8583)),i=l(r(11568));function l(e){return e&&e.__esModule?e:{default:e}}var u=t.SwatchesGroup=function(e){var t=e.onClick,r=e.onSwatchHover,l=e.group,u=e.active,s=(0,a.default)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return n.default.createElement("div",{style:s.group},(0,o.default)(l,(function(e,a){return n.default.createElement(i.default,{key:e,color:e,active:e.toLowerCase()===u,first:0===a,last:a===l.length-1,onClick:t,onSwatchHover:r})})))};t.default=u},11568:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesColor=void 0;var n=i(r(0)),a=i(r(8261)),o=r(8285);function i(e){return e&&e.__esModule?e:{default:e}}var l=t.SwatchesColor=function(e){var t=e.color,r=e.onClick,i=void 0===r?function(){}:r,l=e.onSwatchHover,u=e.first,s=e.last,f=e.active,d=(0,a.default)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{fill:"#fff",marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{fill:"#333"}},transparent:{check:{fill:"#333"}}},{first:u,last:s,active:f,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return n.default.createElement(o.Swatch,{color:t,style:d.color,onClick:i,onHover:l,focusStyle:{boxShadow:"0 0 4px "+t}},n.default.createElement("div",{style:d.check},n.default.createElement("svg",{style:{width:"24px",height:"24px"},viewBox:"0 0 24 24"},n.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))))};t.default=l},11569:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Twitter=void 0;var n=s(r(0)),a=s(r(17)),o=s(r(8261)),i=s(r(8583)),l=s(r(8544)),u=r(8285);function s(e){return e&&e.__esModule?e:{default:e}}var f=t.Twitter=function(e){var t=e.onChange,r=e.onSwatchHover,a=e.hex,s=e.colors,f=e.width,d=e.triangle,c=(0,o.default)({default:{card:{width:f,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},{"hide-triangle":"hide"===d,"top-left-triangle":"top-left"===d,"top-right-triangle":"top-right"===d}),p=function(e,r){l.default.isValidHex(e)&&t({hex:e,source:"hex"},r)};return n.default.createElement("div",{style:c.card,className:"twitter-picker"},n.default.createElement("div",{style:c.triangleShadow}),n.default.createElement("div",{style:c.triangle}),n.default.createElement("div",{style:c.body},(0,i.default)(s,(function(e,t){return n.default.createElement(u.Swatch,{key:t,color:e,hex:e,style:c.swatch,onClick:p,onHover:r,focusStyle:{boxShadow:"0 0 4px "+e}})})),n.default.createElement("div",{style:c.hash},"#"),n.default.createElement(u.EditableInput,{style:{input:c.input},value:a.replace("#",""),onChange:p}),n.default.createElement("div",{style:c.clear})))};f.propTypes={width:a.default.number,triangle:a.default.oneOf(["hide","top-left","top-right"]),colors:a.default.arrayOf(a.default.string)},f.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left"},t.default=(0,u.ColorWrap)(f)},8261:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var n=s(r(11488)),a=s(r(11512)),o=s(r(11514)),i=s(r(11515)),l=s(r(11516)),u=s(r(11517));function s(e){return e&&e.__esModule?e:{default:e}}t.hover=i.default,t.handleHover=i.default,t.handleActive=l.default,t.loop=u.default;var f=t.ReactCSS=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];var l=(0,n.default)(r),u=(0,a.default)(e,l);return(0,o.default)(u)};t.default=f},8285:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(11518);Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return f(n).default}});var a=r(10479);Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return f(a).default}});var o=r(11521);Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return f(o).default}});var i=r(11522);Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return f(i).default}});var l=r(11524);Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return f(l).default}});var u=r(10480);Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return f(u).default}});var s=r(11529);function f(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return f(s).default}})},8544:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.red=void 0;var n=o(r(11526)),a=o(r(11528));function o(e){return e&&e.__esModule?e:{default:e}}t.default={simpleCheckForValidColor:function(e){var t=0,r=0;return(0,n.default)(["r","g","b","a","h","s","l","v"],(function(n){e[n]&&(t+=1,isNaN(e[n])||(r+=1))})),t===r&&e},toState:function(e,t){var r=e.hex?(0,a.default)(e.hex):(0,a.default)(e),n=r.toHsl(),o=r.toHsv(),i=r.toRgb(),l=r.toHex();return 0===n.s&&(n.h=t||0,o.h=t||0),{hsl:n,hex:"000000"===l&&0===i.a?"transparent":"#"+l,rgb:i,hsv:o,oldHue:e.h||t||n.h,source:e.source}},isValidHex:function(e){return(0,a.default)(e).isValid()}};t.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}}},8583:function(e,t,r){var n=r(1328),a=r(11491),o=r(11510),i=r(711);e.exports=function(e,t){return(i(e)?n:o)(e,a(t,3))}}}]);
-//# sourceMappingURL=51db8e3c2fa79df2bd16.js.map
\ No newline at end of file
diff --git a/api/assets/5eae74fd6acd2647e0b7.js b/api/assets/5eae74fd6acd2647e0b7.js
deleted file mode 100644
index 60a36d83..00000000
--- a/api/assets/5eae74fd6acd2647e0b7.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(this.webpackJsonp=this.webpackJsonp||[]).push([[3],{10583:function(e,t){function n(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((function(t){var a=e[t];"object"!=typeof a||Object.isFrozen(a)||n(a)})),e}var a=n,i=n;a.default=i;class r{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data}ignoreMatch(){this.ignore=!0}}function s(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function o(e,...t){const n=Object.create(null);for(const t in e)n[t]=e[t];return t.forEach((function(e){for(const t in e)n[t]=e[t]})),n}const l=e=>!!e.kind;class c{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=s(e)}openNode(e){if(!l(e))return;let t=e.kind;e.sublanguage||(t=`${this.classPrefix}${t}`),this.span(t)}closeNode(e){l(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}class _{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t={kind:e,children:[]};this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every(e=>"string"==typeof e)?e.children=[e.children.join("")]:e.children.forEach(e=>{_._collapse(e)}))}}class d extends _{constructor(e){super(),this.options=e}addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())}addText(e){""!==e&&this.add(e)}addSublanguage(e,t){const n=e.root;n.kind=t,n.sublanguage=!0,this.add(n)}toHTML(){return new c(this,this.options).value()}finalize(){return!0}}function m(e){return e?"string"==typeof e?e:e.source:null}const u="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",p={begin:"\\\\[\\s\\S]",relevance:0},E={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[p]},g={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[p]},S={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},b=function(e,t,n={}){const a=o({className:"comment",begin:e,end:t,contains:[]},n);return a.contains.push(S),a.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),a},T=b("//","$"),f=b("/\\*","\\*/"),C=b("#","$"),N={className:"number",begin:"\\b\\d+(\\.\\d+)?",relevance:0},R={className:"number",begin:u,relevance:0},O={className:"number",begin:"\\b(0b[01]+)",relevance:0},h={className:"number",begin:"\\b\\d+(\\.\\d+)?(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},I={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[p,{begin:/\[/,end:/\]/,relevance:0,contains:[p]}]}]},v={className:"title",begin:"[a-zA-Z]\\w*",relevance:0},A={className:"title",begin:"[a-zA-Z_]\\w*",relevance:0},y={begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0};var D=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:"[a-zA-Z]\\w*",UNDERSCORE_IDENT_RE:"[a-zA-Z_]\\w*",NUMBER_RE:"\\b\\d+(\\.\\d+)?",C_NUMBER_RE:u,BINARY_NUMBER_RE:"\\b(0b[01]+)",RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=function(...e){return e.map(e=>m(e)).join("")}(t,/.*\b/,e.binary,/\b.*/)),o({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},BACKSLASH_ESCAPE:p,APOS_STRING_MODE:E,QUOTE_STRING_MODE:g,PHRASAL_WORDS_MODE:S,COMMENT:b,C_LINE_COMMENT_MODE:T,C_BLOCK_COMMENT_MODE:f,HASH_COMMENT_MODE:C,NUMBER_MODE:N,C_NUMBER_MODE:R,BINARY_NUMBER_MODE:O,CSS_NUMBER_MODE:h,REGEXP_MODE:I,TITLE_MODE:v,UNDERSCORE_TITLE_MODE:A,METHOD_GUARD:y,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})}});function M(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function x(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=M,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function L(e,t){Array.isArray(e.illegal)&&(e.illegal=function(...e){return"("+e.map(e=>m(e)).join("|")+")"}(...e.illegal))}function w(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function P(e,t){void 0===e.relevance&&(e.relevance=1)}const k=["of","and","for","in","not","or","if","then","parent","list","value"];function U(e,t){return t?Number(t):function(e){return k.includes(e.toLowerCase())}(e)?0:1}function F(e,{plugins:t}){function n(t,n){return new RegExp(m(t),"m"+(e.case_insensitive?"i":"")+(n?"g":""))}class a{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=function(e){return new RegExp(e.toString()+"|").exec("").length-1}(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map(e=>e[1]);this.matcherRe=n(function(e,t="|"){const n=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;let a=0,i="";for(let r=0;r<e.length;r++){a+=1;const s=a;let o=m(e[r]);for(r>0&&(i+=t),i+="(";o.length>0;){const e=n.exec(o);if(null==e){i+=o;break}i+=o.substring(0,e.index),o=o.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?i+="\\"+String(Number(e[1])+s):(i+=e[0],"("===e[0]&&a++)}i+=")"}return i}(e),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex((e,t)=>t>0&&void 0!==e),a=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,a)}}class i{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new a;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language.  See documentation.");return e.classNameAliases=o(e.classNameAliases||{}),function t(a,r){const s=a;if(a.compiled)return s;[w].forEach(e=>e(a,r)),e.compilerExtensions.forEach(e=>e(a,r)),a.__beforeBegin=null,[x,L,P].forEach(e=>e(a,r)),a.compiled=!0;let l=null;if("object"==typeof a.keywords&&(l=a.keywords.$pattern,delete a.keywords.$pattern),a.keywords&&(a.keywords=function e(t,n,a="keyword"){const i={};return"string"==typeof t?r(a,t.split(" ")):Array.isArray(t)?r(a,t):Object.keys(t).forEach((function(a){Object.assign(i,e(t[a],n,a))})),i;function r(e,t){n&&(t=t.map(e=>e.toLowerCase())),t.forEach((function(t){const n=t.split("|");i[n[0]]=[e,U(n[0],n[1])]}))}}(a.keywords,e.case_insensitive)),a.lexemes&&l)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return l=l||a.lexemes||/\w+/,s.keywordPatternRe=n(l,!0),r&&(a.begin||(a.begin=/\B|\b/),s.beginRe=n(a.begin),a.endSameAsBegin&&(a.end=a.begin),a.end||a.endsWithParent||(a.end=/\B|\b/),a.end&&(s.endRe=n(a.end)),s.terminatorEnd=m(a.end)||"",a.endsWithParent&&r.terminatorEnd&&(s.terminatorEnd+=(a.end?"|":"")+r.terminatorEnd)),a.illegal&&(s.illegalRe=n(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map((function(e){return function(e){e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return o(e,{variants:null},t)})));if(e.cachedVariants)return e.cachedVariants;if(function e(t){return!!t&&(t.endsWithParent||e(t.starts))}(e))return o(e,{starts:e.starts?o(e.starts):null});if(Object.isFrozen(e))return o(e);return e}("self"===e?a:e)}))),a.contains.forEach((function(e){t(e,s)})),a.starts&&t(a.starts,r),s.matcher=function(e){const t=new i;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:"begin"})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(s),s}(e)}function B(e){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,s(this.code);let t={};return this.autoDetect?(t=e.highlightAuto(this.code),this.detectedLanguage=t.language):(t=e.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),t.value},autoDetect(){return!this.language||(e=this.autodetect,Boolean(e||""===e));var e},ignoreIllegals:()=>!0},render(e){return e("pre",{},[e("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(e){e.component("highlightjs",t)}}}}const G={"after:highlightBlock":({block:e,result:t,text:n})=>{const a=H(e);if(!a.length)return;const i=document.createElement("div");i.innerHTML=t.value,t.value=function(e,t,n){let a=0,i="";const r=[];function o(){return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset<t[0].offset?e:t:"start"===t[0].event?e:t:e.length?e:t}function l(e){i+="<"+Y(e)+[].map.call(e.attributes,(function(e){return" "+e.nodeName+'="'+s(e.value)+'"'})).join("")+">"}function c(e){i+="</"+Y(e)+">"}function _(e){("start"===e.event?l:c)(e.node)}for(;e.length||t.length;){let t=o();if(i+=s(n.substring(a,t[0].offset)),a=t[0].offset,t===e){r.reverse().forEach(c);do{_(t.splice(0,1)[0]),t=o()}while(t===e&&t.length&&t[0].offset===a);r.reverse().forEach(l)}else"start"===t[0].event?r.push(t[0].node):r.pop(),_(t.splice(0,1)[0])}return i+s(n.substr(a))}(a,H(i),n)}};function Y(e){return e.nodeName.toLowerCase()}function H(e){const t=[];return function e(n,a){for(let i=n.firstChild;i;i=i.nextSibling)3===i.nodeType?a+=i.nodeValue.length:1===i.nodeType&&(t.push({event:"start",offset:a,node:i}),a=e(i,a),Y(i).match(/br|hr|img|input/)||t.push({event:"stop",offset:a,node:i}));return a}(e,0),t}const V=e=>{console.error(e)},q=(e,...t)=>{console.log("WARN: "+e,...t)},z=(e,t)=>{console.log(`Deprecated as of ${e}. ${t}`)},$=s,W=o,Q=Symbol("nomatch");var K=function(e){const t=Object.create(null),n=Object.create(null),i=[];let s=!0;const o=/(^(<[^>]+>|\t|)+|\n)/gm,l="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let _={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:d};function m(e){return _.noHighlightRe.test(e)}function u(e,t,n,a){const i={code:t,language:e};v("before:highlight",i);const r=i.result?i.result:p(i.language,i.code,n,a);return r.code=i.code,v("after:highlight",r),r}function p(e,n,a,o){const c=n;function d(e,t){const n=C.case_insensitive?t[0].toLowerCase():t[0];return Object.prototype.hasOwnProperty.call(e.keywords,n)&&e.keywords[n]}function m(){null!=h.subLanguage?function(){if(""===A)return;let e=null;if("string"==typeof h.subLanguage){if(!t[h.subLanguage])return void v.addText(A);e=p(h.subLanguage,A,!0,I[h.subLanguage]),I[h.subLanguage]=e.top}else e=E(A,h.subLanguage.length?h.subLanguage:null);h.relevance>0&&(y+=e.relevance),v.addSublanguage(e.emitter,e.language)}():function(){if(!h.keywords)return void v.addText(A);let e=0;h.keywordPatternRe.lastIndex=0;let t=h.keywordPatternRe.exec(A),n="";for(;t;){n+=A.substring(e,t.index);const a=d(h,t);if(a){const[e,i]=a;v.addText(n),n="",y+=i;const r=C.classNameAliases[e]||e;v.addKeyword(t[0],r)}else n+=t[0];e=h.keywordPatternRe.lastIndex,t=h.keywordPatternRe.exec(A)}n+=A.substr(e),v.addText(n)}(),A=""}function u(e){return e.className&&v.openNode(C.classNameAliases[e.className]||e.className),h=Object.create(e,{parent:{value:h}}),h}function g(e){return 0===h.matcher.regexIndex?(A+=e[0],1):(x=!0,0)}function S(e){const t=e[0],n=e.rule,a=new r(n),i=[n.__beforeBegin,n["on:begin"]];for(const n of i)if(n&&(n(e,a),a.ignore))return g(t);return n&&n.endSameAsBegin&&(n.endRe=new RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")),n.skip?A+=t:(n.excludeBegin&&(A+=t),m(),n.returnBegin||n.excludeBegin||(A=t)),u(n),n.returnBegin?0:t.length}function b(e){const t=e[0],n=c.substr(e.index),a=function e(t,n,a){let i=function(e,t){const n=e&&e.exec(t);return n&&0===n.index}(t.endRe,a);if(i){if(t["on:end"]){const e=new r(t);t["on:end"](n,e),e.ignore&&(i=!1)}if(i){for(;t.endsParent&&t.parent;)t=t.parent;return t}}if(t.endsWithParent)return e(t.parent,n,a)}(h,e,n);if(!a)return Q;const i=h;i.skip?A+=t:(i.returnEnd||i.excludeEnd||(A+=t),m(),i.excludeEnd&&(A=t));do{h.className&&v.closeNode(),h.skip||h.subLanguage||(y+=h.relevance),h=h.parent}while(h!==a.parent);return a.starts&&(a.endSameAsBegin&&(a.starts.endRe=a.endRe),u(a.starts)),i.returnEnd?0:t.length}let T={};function f(t,n){const i=n&&n[0];if(A+=t,null==i)return m(),0;if("begin"===T.type&&"end"===n.type&&T.index===n.index&&""===i){if(A+=c.slice(n.index,n.index+1),!s){const t=new Error("0 width match regex");throw t.languageName=e,t.badRule=T.rule,t}return 1}if(T=n,"begin"===n.type)return S(n);if("illegal"===n.type&&!a){const e=new Error('Illegal lexeme "'+i+'" for mode "'+(h.className||"<unnamed>")+'"');throw e.mode=h,e}if("end"===n.type){const e=b(n);if(e!==Q)return e}if("illegal"===n.type&&""===i)return 1;if(M>1e5&&M>3*n.index){throw new Error("potential infinite loop, way more iterations than matches")}return A+=i,i.length}const C=O(e);if(!C)throw V(l.replace("{}",e)),new Error('Unknown language: "'+e+'"');const N=F(C,{plugins:i});let R="",h=o||N;const I={},v=new _.__emitter(_);!function(){const e=[];for(let t=h;t!==C;t=t.parent)t.className&&e.unshift(t.className);e.forEach(e=>v.openNode(e))}();let A="",y=0,D=0,M=0,x=!1;try{for(h.matcher.considerAll();;){M++,x?x=!1:h.matcher.considerAll(),h.matcher.lastIndex=D;const e=h.matcher.exec(c);if(!e)break;const t=f(c.substring(D,e.index),e);D=e.index+t}return f(c.substr(D)),v.closeAllNodes(),v.finalize(),R=v.toHTML(),{relevance:Math.floor(y),value:R,language:e,illegal:!1,emitter:v,top:h}}catch(t){if(t.message&&t.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:t.message,context:c.slice(D-100,D+100),mode:t.mode},sofar:R,relevance:0,value:$(c),emitter:v};if(s)return{illegal:!1,relevance:0,value:$(c),emitter:v,language:e,top:h,errorRaised:t};throw t}}function E(e,n){n=n||_.languages||Object.keys(t);const a=function(e){const t={relevance:0,emitter:new _.__emitter(_),value:$(e),illegal:!1,top:c};return t.emitter.addText(e),t}(e),i=n.filter(O).filter(I).map(t=>p(t,e,!1));i.unshift(a);const r=i.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(O(e.language).supersetOf===t.language)return 1;if(O(t.language).supersetOf===e.language)return-1}return 0}),[s,o]=r,l=s;return l.second_best=o,l}const g={"before:highlightBlock":({block:e})=>{_.useBR&&(e.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,"\n"))},"after:highlightBlock":({result:e})=>{_.useBR&&(e.value=e.value.replace(/\n/g,"<br>"))}},S=/^(<[^>]+>|\t)+/gm,b={"after:highlightBlock":({result:e})=>{_.tabReplace&&(e.value=e.value.replace(S,e=>e.replace(/\t/g,_.tabReplace)))}};function T(e){let t=null;const a=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=_.languageDetectRe.exec(t);if(n){const t=O(n[1]);return t||(q(l.replace("{}",n[1])),q("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find(e=>m(e)||O(e))}(e);if(m(a))return;v("before:highlightBlock",{block:e,language:a}),t=e;const i=t.textContent,r=a?u(a,i,!0):E(i);v("after:highlightBlock",{block:e,result:r,text:i}),e.innerHTML=r.value,function(e,t,a){const i=t?n[t]:a;e.classList.add("hljs"),i&&e.classList.add(i)}(e,a,r.language),e.result={language:r.language,re:r.relevance,relavance:r.relevance},r.second_best&&(e.second_best={language:r.second_best.language,re:r.second_best.relevance,relavance:r.second_best.relevance})}const f=()=>{if(f.called)return;f.called=!0,z("10.6.0","initHighlighting() is deprecated.  Use highlightAll() instead.");document.querySelectorAll("pre code").forEach(T)};let C=!1,N=!1;function R(){if(!N)return void(C=!0);document.querySelectorAll("pre code").forEach(T)}function O(e){return e=(e||"").toLowerCase(),t[e]||t[n[e]]}function h(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach(e=>{n[e]=t})}function I(e){const t=O(e);return t&&!t.disableAutodetect}function v(e,t){const n=e;i.forEach((function(e){e[n]&&e[n](t)}))}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function(){N=!0,C&&R()}),!1),Object.assign(e,{highlight:u,highlightAuto:E,highlightAll:R,fixMarkup:function(e){return z("10.2.0","fixMarkup will be removed entirely in v11.0"),z("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),t=e,_.tabReplace||_.useBR?t.replace(o,e=>"\n"===e?_.useBR?"<br>":e:_.tabReplace?e.replace(/\t/g,_.tabReplace):e):t;var t},highlightBlock:T,configure:function(e){e.useBR&&(z("10.3.0","'useBR' will be removed entirely in v11.0"),z("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),_=W(_,e)},initHighlighting:f,initHighlightingOnLoad:function(){z("10.6.0","initHighlightingOnLoad() is deprecated.  Use highlightAll() instead."),C=!0},registerLanguage:function(n,a){let i=null;try{i=a(e)}catch(e){if(V("Language definition for '{}' could not be registered.".replace("{}",n)),!s)throw e;V(e),i=c}i.name||(i.name=n),t[n]=i,i.rawDefinition=a.bind(null,e),i.aliases&&h(i.aliases,{languageName:n})},listLanguages:function(){return Object.keys(t)},getLanguage:O,registerAliases:h,requireLanguage:function(e){z("10.4.0","requireLanguage will be removed entirely in v11."),z("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const t=O(e);if(t)return t;throw new Error("The '{}' language is required, but not loaded.".replace("{}",e))},autoDetection:I,inherit:W,addPlugin:function(e){i.push(e)},vuePlugin:B(e).VuePlugin}),e.debugMode=function(){s=!1},e.safeMode=function(){s=!0},e.versionString="10.6.0";for(const e in D)"object"==typeof D[e]&&a(D[e]);return Object.assign(e,D),e.addPlugin(g),e.addPlugin(G),e.addPlugin(b),e}({});e.exports=K},10584:function(e,t){e.exports=function(e){var t="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",n="далее возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",a="null истина ложь неопределено",i=e.inherit(e.NUMBER_MODE),r={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},s={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},o=e.inherit(e.C_LINE_COMMENT_MODE);return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:t,keyword:n,built_in:"разделительстраниц разделительстрок символтабуляции ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",class:"webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц отображениевремениэлементовпланировщика типфайлаформатированногодокумента обходрезультатазапроса типзаписизапроса видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов доступкфайлу режимдиалогавыборафайла режимоткрытияфайла типизмеренияпостроителязапроса видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",type:"comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",literal:a},contains:[{className:"meta",begin:"#|&",end:"$",keywords:{$pattern:t,"meta-keyword":n+"загрузитьизфайла вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент "},contains:[o]},{className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:t,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:t,keyword:"знач",literal:a},contains:[i,r,s]},o]},e.inherit(e.TITLE_MODE,{begin:t})]},o,{className:"symbol",begin:"~",end:";|:",excludeEnd:!0},i,r,s]}}},10585:function(e,t){function n(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}e.exports=function(e){const t={ruleDeclaration:/^[a-zA-Z][a-zA-Z0-9-]*/,unexpectedChars:/[!@#$^&',?+~`|:]/},a=e.COMMENT(/;/,/$/),i={className:"attribute",begin:n(t.ruleDeclaration,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:t.unexpectedChars,keywords:["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],contains:[i,a,{className:"symbol",begin:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+){0,1}/},{className:"symbol",begin:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+){0,1}/},{className:"symbol",begin:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+){0,1}/},{className:"symbol",begin:/%[si]/},e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}},10586:function(e,t){function n(e){return e?"string"==typeof e?e:e.source:null}function a(...e){return e.map(e=>n(e)).join("")}function i(...e){return"("+e.map(e=>n(e)).join("|")+")"}e.exports=function(e){const t=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:a(/"/,i(...t)),end:/"/,keywords:t,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}},10587:function(e,t){function n(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}e.exports=function(e){const t={className:"rest_arg",begin:/[.]{3}/,end:/[a-zA-Z_$][a-zA-Z0-9_$]*/,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:"as break case catch class const continue default delete do dynamic each else extends final finally for function get if implements import in include instanceof interface internal is namespace native new override package private protected public return set static super switch this throw try typeof use var void while with",literal:"true false null undefined"},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"class",beginKeywords:"package",end:/\{/,contains:[e.TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.TITLE_MODE]},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{"meta-keyword":"import include"}},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t]},{begin:n(/:\s*/,/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/)}]},e.METHOD_GUARD],illegal:/#/}}},10588:function(e,t){e.exports=function(e){const t="[A-Za-z](_?[A-Za-z0-9.])*",n=e.COMMENT("--","$"),a={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:"[]\\{\\}%#'\"",contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:t,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:"abort else new return abs elsif not reverse abstract end accept entry select access exception of separate aliased exit or some all others subtype and for out synchronized array function overriding at tagged generic package task begin goto pragma terminate body private then if procedure type case in protected constant interface is raise use declare range delay limited record when delta loop rem while digits renames with do mod requeue xor",literal:"True False"},contains:[n,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:"\\b(\\d(_|\\d)*#\\w+(\\.\\w+)?#([eE][-+]?\\d(_|\\d)*)?|\\d(_|\\d)*(\\.\\d(_|\\d)*)?([eE][-+]?\\d(_|\\d)*)?)",relevance:0},{className:"symbol",begin:"'"+t},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:"[]\\{\\}%#'\""},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[n,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:"[]\\{\\}%#'\""},a,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:"[]\\{\\}%#'\""}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:"[]\\{\\}%#'\""},a]}}},10589:function(e,t){e.exports=function(e){var t={className:"built_in",begin:"\\b(void|bool|int|int8|int16|int32|int64|uint|uint8|uint16|uint32|uint64|string|ref|array|double|float|auto|dictionary)"},n={className:"symbol",begin:"[a-zA-Z0-9_]+@"},a={className:"keyword",begin:"<",end:">",contains:[t,n]};return t.contains=[a],n.contains=[a],{name:"AngelScript",aliases:["asc"],keywords:"for in|0 break continue while do|0 return if else case switch namespace is cast or and xor not get|0 in inout|10 out override set|0 private public const default|0 final shared external mixin|10 enum typedef funcdef this super import from interface abstract|0 try catch protected explicit property",illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},t,n,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}},10590:function(e,t){e.exports=function(e){const t={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[t,{className:"number",begin:/:\d{1,5}/},e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",{className:"number",begin:/[$%]\d+/}]},t,{className:"number",begin:/\d+/},e.QUOTE_STRING_MODE]}}],illegal:/\S/}}},10591:function(e,t){function n(e){return e?"string"==typeof e?e:e.source:null}function a(...e){return e.map(e=>n(e)).join("")}function i(...e){return"("+e.map(e=>n(e)).join("|")+")"}e.exports=function(e){const t=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),n={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,t]},r=e.COMMENT(/--/,/$/),s=[r,e.COMMENT(/\(\*/,/\*\)/,{contains:["self",r]}),e.HASH_COMMENT_MODE];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name paragraph paragraphs rest reverse running time version weekday word words year"},contains:[t,e.C_NUMBER_MODE,{className:"built_in",begin:a(/\b/,i(/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:a(/\b/,i(/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,n]},...s],illegal:/\/\/|->|=>|\[\[/}}},10592:function(e,t){e.exports=function(e){const t="[A-Za-z_][0-9A-Za-z_]*",n={keyword:"if for while var new function do return void else break",literal:"BackSlash DoubleQuote false ForwardSlash Infinity NaN NewLine null PI SingleQuote Tab TextFormatting true undefined",built_in:"Abs Acos Angle Attachments Area AreaGeodetic Asin Atan Atan2 Average Bearing Boolean Buffer BufferGeodetic Ceil Centroid Clip Console Constrain Contains Cos Count Crosses Cut Date DateAdd DateDiff Day Decode DefaultValue Dictionary Difference Disjoint Distance DistanceGeodetic Distinct DomainCode DomainName Equals Exp Extent Feature FeatureSet FeatureSetByAssociation FeatureSetById FeatureSetByPortalItem FeatureSetByRelationshipName FeatureSetByTitle FeatureSetByUrl Filter First Floor Geometry GroupBy Guid HasKey Hour IIf IndexOf Intersection Intersects IsEmpty IsNan IsSelfIntersecting Length LengthGeodetic Log Max Mean Millisecond Min Minute Month MultiPartToSinglePart Multipoint NextSequenceValue Now Number OrderBy Overlaps Point Polygon Polyline Portal Pow Random Relate Reverse RingIsClockWise Round Second SetGeometry Sin Sort Sqrt Stdev Sum SymmetricDifference Tan Text Timestamp Today ToLocal Top Touches ToUTC TrackCurrentTime TrackGeometryWindow TrackIndex TrackStartTime TrackWindow TypeOf Union UrlEncode Variance Weekday When Within Year "},a={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},i={className:"subst",begin:"\\$\\{",end:"\\}",keywords:n,contains:[]},r={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,i]};i.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,a,e.REGEXP_MODE];const s=i.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",aliases:["arcade"],keywords:n,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},a,{begin:/[{,]\s*/,relevance:0,contains:[{begin:t+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:t,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+t+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,contains:s}]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:t}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:s}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}},10593:function(e,t){function n(e){return function(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}("(",e,")?")}e.exports=function(e){const t="boolean byte word String",a="setup loop KeyboardController MouseController SoftwareSerial EthernetServer EthernetClient LiquidCrystal RobotControl GSMVoiceCall EthernetUDP EsploraTFT HttpClient RobotMotor WiFiClient GSMScanner FileSystem Scheduler GSMServer YunClient YunServer IPAddress GSMClient GSMModem Keyboard Ethernet Console GSMBand Esplora Stepper Process WiFiUDP GSM_SMS Mailbox USBHost Firmata PImage Client Server GSMPIN FileIO Bridge Serial EEPROM Stream Mouse Audio Servo File Task GPRS WiFi Wire TFT GSM SPI SD runShellCommandAsynchronously analogWriteResolution retrieveCallingNumber printFirmwareVersion analogReadResolution sendDigitalPortPair noListenOnLocalhost readJoystickButton setFirmwareVersion readJoystickSwitch scrollDisplayRight getVoiceCallStatus scrollDisplayLeft writeMicroseconds delayMicroseconds beginTransmission getSignalStrength runAsynchronously getAsynchronously listenOnLocalhost getCurrentCarrier readAccelerometer messageAvailable sendDigitalPorts lineFollowConfig countryNameWrite runShellCommand readStringUntil rewindDirectory readTemperature setClockDivider readLightSensor endTransmission analogReference detachInterrupt countryNameRead attachInterrupt encryptionType readBytesUntil robotNameWrite readMicrophone robotNameRead cityNameWrite userNameWrite readJoystickY readJoystickX mouseReleased openNextFile scanNetworks noInterrupts digitalWrite beginSpeaker mousePressed isActionDone mouseDragged displayLogos noAutoscroll addParameter remoteNumber getModifiers keyboardRead userNameRead waitContinue processInput parseCommand printVersion readNetworks writeMessage blinkVersion cityNameRead readMessage setDataMode parsePacket isListening setBitOrder beginPacket isDirectory motorsWrite drawCompass digitalRead clearScreen serialEvent rightToLeft setTextSize leftToRight requestFrom keyReleased compassRead analogWrite interrupts WiFiServer disconnect playMelody parseFloat autoscroll getPINUsed setPINUsed setTimeout sendAnalog readSlider analogRead beginWrite createChar motorsStop keyPressed tempoWrite readButton subnetMask debugPrint macAddress writeGreen randomSeed attachGPRS readString sendString remotePort releaseAll mouseMoved background getXChange getYChange answerCall getResult voiceCall endPacket constrain getSocket writeJSON getButton available connected findUntil readBytes exitValue readGreen writeBlue startLoop IPAddress isPressed sendSysex pauseMode gatewayIP setCursor getOemKey tuneWrite noDisplay loadImage switchPIN onRequest onReceive changePIN playFile noBuffer parseInt overflow checkPIN knobRead beginTFT bitClear updateIR bitWrite position writeRGB highByte writeRed setSpeed readBlue noStroke remoteIP transfer shutdown hangCall beginSMS endWrite attached maintain noCursor checkReg checkPUK shiftOut isValid shiftIn pulseIn connect println localIP pinMode getIMEI display noBlink process getBand running beginSD drawBMP lowByte setBand release bitRead prepare pointTo readRed setMode noFill remove listen stroke detach attach noTone exists buffer height bitSet circle config cursor random IRread setDNS endSMS getKey micros millis begin print write ready flush width isPIN blink clear press mkdir rmdir close point yield image BSSID click delay read text move peek beep rect line open seek fill size turn stop home find step tone sqrt RSSI SSID end bit tan cos sin pow map abs max min get run put",i="DIGITAL_MESSAGE FIRMATA_STRING ANALOG_MESSAGE REPORT_DIGITAL REPORT_ANALOG INPUT_PULLUP SET_PIN_MODE INTERNAL2V56 SYSTEM_RESET LED_BUILTIN INTERNAL1V1 SYSEX_START INTERNAL EXTERNAL DEFAULT OUTPUT INPUT HIGH LOW",r=function(e){const t=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="(decltype\\(auto\\)|"+n("[a-zA-Z_]\\w*::")+"[a-zA-Z_]\\w*"+n("<[^<>]+>")+")",i={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},r={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},s={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},o={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(r,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"},t,e.C_BLOCK_COMMENT_MODE]},l={className:"title",begin:n("[a-zA-Z_]\\w*::")+e.IDENT_RE,relevance:0},c=n("[a-zA-Z_]\\w*::")+e.IDENT_RE+"\\s*\\(",_={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",literal:"true false nullptr NULL"},d=[o,i,t,e.C_BLOCK_COMMENT_MODE,s,r],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:_,contains:d.concat([{begin:/\(/,end:/\)/,keywords:_,contains:d.concat(["self"]),relevance:0}]),relevance:0},u={className:"function",begin:"("+a+"[\\*&\\s]+)+"+c,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:_,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:_,relevance:0},{begin:c,returnBegin:!0,contains:[l],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:[t,e.C_BLOCK_COMMENT_MODE,r,s,i,{begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:["self",t,e.C_BLOCK_COMMENT_MODE,r,s,i]}]},i,t,e.C_BLOCK_COMMENT_MODE,o]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:_,illegal:"</",contains:[].concat(m,u,d,[o,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:_,contains:["self",i]},{begin:e.IDENT_RE+"::",keywords:_},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:o,strings:r,keywords:_}}}(e),s=r.keywords;return s.keyword+=" "+t,s.literal+=" "+i,s.built_in+=" "+a,r.name="Arduino",r.aliases=["ino"],r.supersetOf="cpp",r}},10594:function(e,t){e.exports=function(e){const t={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},t,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}},10595:function(e,t){function n(e){return e?"string"==typeof e?e:e.source:null}function a(e){return i("(?=",e,")")}function i(...e){return e.map(e=>n(e)).join("")}function r(...e){return"("+e.map(e=>n(e)).join("|")+")"}e.exports=function(e){const t=i(/[A-Z_]/,i("(",/[A-Z0-9_.-]*:/,")?"),/[A-Z0-9_.-]*/),n={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},s={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(s,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"meta-string"}),c=e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),_={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[A-Za-z0-9._:-]+/,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[n]},{begin:/'/,end:/'/,contains:[n]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[s,c,l,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[s,o,c,l]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},n,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[_],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[_],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:i(/</,a(i(t,r(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:t,relevance:0,starts:_}]},{className:"tag",begin:i(/<\//,a(i(t,/>/))),contains:[{className:"name",begin:t,relevance:0},{begin:/>/,relevance:0}]}]}}},10596:function(e,t){function n(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}e.exports=function(e){const t=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:n(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],a=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:n(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}];return{name:"AsciiDoc",aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ \t].+?([ \t]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},{className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"},{className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/},...t,...a,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},{begin:"^'{3,}[ \\t]*$",relevance:10},{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}},10597:function(e,t){function n(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}e.exports=function(e){const t="false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else extends implements break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws privileged aspectOf adviceexecution proceed cflowbelow cflow initialization preinitialization staticinitialization withincode target within execution getWithinTypeName handler thisJoinPoint thisJoinPointStaticPart thisEnclosingJoinPointStaticPart declare parents warning error soft precedence thisAspectInstance";return{name:"AspectJ",keywords:t,illegal:/<\/|#/,contains:[e.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:t+" get set args call",excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:n(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:t,illegal:/["\[\]]/,contains:[{begin:n(e.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:t+" get set args call",relevance:0},e.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:t,excludeEnd:!0,contains:[{begin:n(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:t,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}},10598:function(e,t){e.exports=function(e){const t={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[t,e.inherit(e.QUOTE_STRING_MODE,{contains:[t]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}},10599:function(e,t){e.exports=function(e){const t={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},n={begin:"\\$[A-z0-9_]+"},a={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},i={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:"ByRef Case Const ContinueCase ContinueLoop Default Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",built_in:"Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait",literal:"True False And Null Not Or"},contains:[t,n,a,i,{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"comments include include-once NoTrayIcon OnAutoItStartRegister pragma compile RequireAdmin"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{"meta-keyword":"include"},end:"$",contains:[a,{className:"meta-string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},a,t]},{className:"symbol",begin:"@[A-z0-9_]+"},{className:"function",beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:[n,a,i]}]}]}}},10600:function(e,t){e.exports=function(e){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+e.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}},10601:function(e,t){e.exports=function(e){return{name:"Awk",keywords:{keyword:"BEGIN END if else while do for in break continue delete next nextfile function func exit|10"},contains:[{className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.REGEXP_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE]}}},10602:function(e,t){e.exports=function(e){return{name:"X++",aliases:["x++"],keywords:{keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:":",contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]}]}}},10603:function(e,t){function n(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}e.exports=function(e){const t={},a={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[t]}]};Object.assign(t,{className:"variable",variants:[{begin:n(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},a]});const i={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},r={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t,i]};i.contains.push(s);const o={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,t]},l=e.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),c={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[l,e.SHEBANG(),c,o,e.HASH_COMMENT_MODE,r,s,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},t]}}},10604:function(e,t){e.exports=function(e){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:"ABS ASC AND ATN AUTO|0 BEEP BLOAD|10 BSAVE|10 CALL CALLS CDBL CHAIN CHDIR CHR$|10 CINT CIRCLE CLEAR CLOSE CLS COLOR COM COMMON CONT COS CSNG CSRLIN CVD CVI CVS DATA DATE$ DEFDBL DEFINT DEFSNG DEFSTR DEF|0 SEG USR DELETE DIM DRAW EDIT END ENVIRON ENVIRON$ EOF EQV ERASE ERDEV ERDEV$ ERL ERR ERROR EXP FIELD FILES FIX FOR|0 FRE GET GOSUB|10 GOTO HEX$ IF THEN ELSE|0 INKEY$ INP INPUT INPUT# INPUT$ INSTR IMP INT IOCTL IOCTL$ KEY ON OFF LIST KILL LEFT$ LEN LET LINE LLIST LOAD LOC LOCATE LOF LOG LPRINT USING LSET MERGE MID$ MKDIR MKD$ MKI$ MKS$ MOD NAME NEW NEXT NOISE NOT OCT$ ON OR PEN PLAY STRIG OPEN OPTION BASE OUT PAINT PALETTE PCOPY PEEK PMAP POINT POKE POS PRINT PRINT] PSET PRESET PUT RANDOMIZE READ REM RENUM RESET|0 RESTORE RESUME RETURN|0 RIGHT$ RMDIR RND RSET RUN SAVE SCREEN SGN SHELL SIN SOUND SPACE$ SPC SQR STEP STICK STOP STR$ STRING$ SWAP SYSTEM TAB TAN TIME$ TIMER TROFF TRON TO USR VAL VARPTR VARPTR$ VIEW WAIT WHILE WEND WIDTH WINDOW WRITE XOR"},contains:[e.QUOTE_STRING_MODE,e.COMMENT("REM","$",{relevance:10}),e.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}},10605:function(e,t){e.exports=function(e){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin:/</,end:/>/},{begin:/::=/,end:/$/,contains:[{begin:/</,end:/>/},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]}}},10606:function(e,t){e.exports=function(e){const t={className:"literal",begin:/[+-]/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[e.COMMENT("[^\\[\\]\\.,\\+\\-<> \r\n]","[\\[\\]\\.,\\+\\-<> \r\n]",{returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?:\+\+|--)/,contains:[t]},t]}}},10607:function(e,t){function n(e){return function(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}("(",e,")?")}e.exports=function(e){const t=function(e){const t=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="(decltype\\(auto\\)|"+n("[a-zA-Z_]\\w*::")+"[a-zA-Z_]\\w*"+n("<[^<>]+>")+")",i={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},r={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},s={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},o={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(r,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"},t,e.C_BLOCK_COMMENT_MODE]},l={className:"title",begin:n("[a-zA-Z_]\\w*::")+e.IDENT_RE,relevance:0},c=n("[a-zA-Z_]\\w*::")+e.IDENT_RE+"\\s*\\(",_={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",literal:"true false nullptr NULL"},d=[o,i,t,e.C_BLOCK_COMMENT_MODE,s,r],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:_,contains:d.concat([{begin:/\(/,end:/\)/,keywords:_,contains:d.concat(["self"]),relevance:0}]),relevance:0},u={className:"function",begin:"("+a+"[\\*&\\s]+)+"+c,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:_,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:_,relevance:0},{begin:c,returnBegin:!0,contains:[l],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:[t,e.C_BLOCK_COMMENT_MODE,r,s,i,{begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:["self",t,e.C_BLOCK_COMMENT_MODE,r,s,i]}]},i,t,e.C_BLOCK_COMMENT_MODE,o]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:_,illegal:"</",contains:[].concat(m,u,d,[o,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:_,contains:["self",i]},{begin:e.IDENT_RE+"::",keywords:_},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:o,strings:r,keywords:_}}}(e);return t.disableAutodetect=!0,t.aliases=[],e.getLanguage("c")||t.aliases.push("c","h"),e.getLanguage("cpp")||t.aliases.push("cc","c++","h++","hpp","hh","hxx","cxx"),t}},10608:function(e,t){function n(e){return function(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}("(",e,")?")}e.exports=function(e){const t=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="(decltype\\(auto\\)|"+n("[a-zA-Z_]\\w*::")+"[a-zA-Z_]\\w*"+n("<[^<>]+>")+")",i={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},r={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},s={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},o={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(r,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"},t,e.C_BLOCK_COMMENT_MODE]},l={className:"title",begin:n("[a-zA-Z_]\\w*::")+e.IDENT_RE,relevance:0},c=n("[a-zA-Z_]\\w*::")+e.IDENT_RE+"\\s*\\(",_={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",literal:"true false nullptr NULL"},d=[o,i,t,e.C_BLOCK_COMMENT_MODE,s,r],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:_,contains:d.concat([{begin:/\(/,end:/\)/,keywords:_,contains:d.concat(["self"]),relevance:0}]),relevance:0},u={className:"function",begin:"("+a+"[\\*&\\s]+)+"+c,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:_,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:_,relevance:0},{begin:c,returnBegin:!0,contains:[l],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:[t,e.C_BLOCK_COMMENT_MODE,r,s,i,{begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:["self",t,e.C_BLOCK_COMMENT_MODE,r,s,i]}]},i,t,e.C_BLOCK_COMMENT_MODE,o]};return{name:"C",aliases:["c","h"],keywords:_,disableAutodetect:!0,illegal:"</",contains:[].concat(m,u,d,[o,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:_,contains:["self",i]},{begin:e.IDENT_RE+"::",keywords:_},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:o,strings:r,keywords:_}}}},10609:function(e,t){e.exports=function(e){const t="div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to until while with var",n=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],a={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},i={className:"string",begin:/(#\d+)+/},r={className:"function",beginKeywords:"procedure",end:/[:;]/,keywords:"procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[a,i]}].concat(n)},s={className:"class",begin:"OBJECT (Table|Form|Report|Dataport|Codeunit|XMLport|MenuSuite|Page|Query) (\\d+) ([^\\r\\n]+)",returnBegin:!0,contains:[e.TITLE_MODE,r]};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:t,literal:"false true"},illegal:/\/\*/,contains:[a,i,{className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},{className:"string",begin:'"',end:'"'},e.NUMBER_MODE,s,r]}}},10610:function(e,t){e.exports=function(e){return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:"struct enum interface union group import using const annotation extends in of on as with from fixed",built_in:"Void Bool Int8 Int16 Int32 Int64 UInt8 UInt16 UInt32 UInt64 Float32 Float64 Text Data AnyPointer AnyStruct Capability List",literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},{className:"class",beginKeywords:"struct enum",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{className:"class",beginKeywords:"interface",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]}]}}},10611:function(e,t){e.exports=function(e){const t="assembly module package import alias class interface object given value assign void function new of extends satisfies abstracts in out return break continue throw assert dynamic if else switch case for while try catch finally then let this outer super is exists nonempty",n={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:t,relevance:10},a=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[n]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return n.contains=a,{name:"Ceylon",keywords:{keyword:t+" shared abstract formal default actual variable late native deprecated final sealed annotation suppressWarnings small",meta:"doc by license see throws tagged"},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(a)}}},10612:function(e,t){e.exports=function(e){return{name:"Clean",aliases:["clean","icl","dcl"],keywords:{keyword:"if let in with where case of class instance otherwise implementation definition system module from import qualified as special code inline foreign export ccall stdcall generic derive infix infixl infixr",built_in:"Int Real Char Bool",literal:"True False"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}},10613:function(e,t){e.exports=function(e){const t="[a-zA-Z_\\-!.?+*=<>&#'][a-zA-Z_\\-!.?+*=<>&#'0-9/;:]*",n="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",a={$pattern:t,"builtin-name":n+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},i={begin:t,relevance:0},r={className:"number",begin:"[-+]?\\d+(\\.\\d+)?",relevance:0},s=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),o=e.COMMENT(";","$",{relevance:0}),l={className:"literal",begin:/\b(true|false|nil)\b/},c={begin:"[\\[\\{]",end:"[\\]\\}]"},_={className:"comment",begin:"\\^"+t},d=e.COMMENT("\\^\\{","\\}"),m={className:"symbol",begin:"[:]{1,2}"+t},u={begin:"\\(",end:"\\)"},p={endsWithParent:!0,relevance:0},E={keywords:a,className:"name",begin:t,relevance:0,starts:p},g=[u,s,_,d,o,m,c,r,l,i],S={beginKeywords:n,lexemes:t,end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:t,relevance:0,excludeEnd:!0,endsParent:!0}].concat(g)};return u.contains=[e.COMMENT("comment",""),S,E,p],p.contains=g,c.contains=g,d.contains=[c],{name:"Clojure",aliases:["clj"],illegal:/\S/,contains:[u,s,_,d,o,m,c,r,l]}}},10614:function(e,t){e.exports=function(e){return{name:"Clojure REPL",contains:[{className:"meta",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}},10615:function(e,t){e.exports=function(e){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}},10616:function(e,t){const n=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],a=["true","false","null","undefined","NaN","Infinity"],i=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);e.exports=function(e){const t={keyword:n.concat(["then","unless","until","loop","by","when","and","or","is","isnt","not"]).filter((r=["var","const","let","function","static"],e=>!r.includes(e))),literal:a.concat(["yes","no","on","off"]),built_in:i.concat(["npm","print"])};var r;const s="[A-Za-z$_][0-9A-Za-z$_]*",o={className:"subst",begin:/#\{/,end:/\}/,keywords:t},l=[e.BINARY_NUMBER_MODE,e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,o]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,o]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[o,e.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+s},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];o.contains=l;const c=e.inherit(e.TITLE_MODE,{begin:s}),_={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(l)}]};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:t,illegal:/\/\*/,contains:l.concat([e.COMMENT("###","###"),e.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+s+"\\s*=\\s*(\\(.*\\)\\s*)?\\B[-=]>",end:"[-=]>",returnBegin:!0,contains:[c,_]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:"(\\(.*\\)\\s*)?\\B[-=]>",end:"[-=]>",returnBegin:!0,contains:[_]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[c]},c]},{begin:s+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}},10617:function(e,t){e.exports=function(e){return{name:"Coq",keywords:{keyword:"_|0 as at cofix else end exists exists2 fix for forall fun if IF in let match mod Prop return Set then Type using where with Abort About Add Admit Admitted All Arguments Assumptions Axiom Back BackTo Backtrack Bind Blacklist Canonical Cd Check Class Classes Close Coercion Coercions CoFixpoint CoInductive Collection Combined Compute Conjecture Conjectures Constant constr Constraint Constructors Context Corollary CreateHintDb Cut Declare Defined Definition Delimit Dependencies Dependent Derive Drop eauto End Equality Eval Example Existential Existentials Existing Export exporting Extern Extract Extraction Fact Field Fields File Fixpoint Focus for From Function Functional Generalizable Global Goal Grab Grammar Graph Guarded Heap Hint HintDb Hints Hypotheses Hypothesis ident Identity If Immediate Implicit Import Include Inductive Infix Info Initial Inline Inspect Instance Instances Intro Intros Inversion Inversion_clear Language Left Lemma Let Libraries Library Load LoadPath Local Locate Ltac ML Mode Module Modules Monomorphic Morphism Next NoInline Notation Obligation Obligations Opaque Open Optimize Options Parameter Parameters Parametric Path Paths pattern Polymorphic Preterm Print Printing Program Projections Proof Proposition Pwd Qed Quit Rec Record Recursive Redirect Relation Remark Remove Require Reserved Reset Resolve Restart Rewrite Right Ring Rings Save Scheme Scope Scopes Script Search SearchAbout SearchHead SearchPattern SearchRewrite Section Separate Set Setoid Show Solve Sorted Step Strategies Strategy Structure SubClass Table Tables Tactic Term Test Theorem Time Timeout Transparent Type Typeclasses Types Undelimit Undo Unfocus Unfocused Unfold Universe Universes Unset Unshelve using Variable Variables Variant Verbose Visibility where with",built_in:"abstract absurd admit after apply as assert assumption at auto autorewrite autounfold before bottom btauto by case case_eq cbn cbv change classical_left classical_right clear clearbody cofix compare compute congruence constr_eq constructor contradict contradiction cut cutrewrite cycle decide decompose dependent destruct destruction dintuition discriminate discrR do double dtauto eapply eassumption eauto ecase econstructor edestruct ediscriminate eelim eexact eexists einduction einjection eleft elim elimtype enough equality erewrite eright esimplify_eq esplit evar exact exactly_once exfalso exists f_equal fail field field_simplify field_simplify_eq first firstorder fix fold fourier functional generalize generalizing gfail give_up has_evar hnf idtac in induction injection instantiate intro intro_pattern intros intuition inversion inversion_clear is_evar is_var lapply lazy left lia lra move native_compute nia nsatz omega once pattern pose progress proof psatz quote record red refine reflexivity remember rename repeat replace revert revgoals rewrite rewrite_strat right ring ring_simplify rtauto set setoid_reflexivity setoid_replace setoid_rewrite setoid_symmetry setoid_transitivity shelve shelve_unifiable simpl simple simplify_eq solve specialize split split_Rabs split_Rmult stepl stepr subst sum swap symmetry tactic tauto time timeout top transitivity trivial try tryif unfold unify until using vm_compute with"},contains:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}},10618:function(e,t){e.exports=function(e){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cos","cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)</,end:/>/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*</,end:/>\s*>/,subLanguage:"xml"}]}}},10619:function(e,t){function n(e){return function(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}("(",e,")?")}e.exports=function(e){const t=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="(decltype\\(auto\\)|"+n("[a-zA-Z_]\\w*::")+"[a-zA-Z_]\\w*"+n("<[^<>]+>")+")",i={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},r={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},s={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},o={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(r,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"},t,e.C_BLOCK_COMMENT_MODE]},l={className:"title",begin:n("[a-zA-Z_]\\w*::")+e.IDENT_RE,relevance:0},c=n("[a-zA-Z_]\\w*::")+e.IDENT_RE+"\\s*\\(",_={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",literal:"true false nullptr NULL"},d=[o,i,t,e.C_BLOCK_COMMENT_MODE,s,r],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:_,contains:d.concat([{begin:/\(/,end:/\)/,keywords:_,contains:d.concat(["self"]),relevance:0}]),relevance:0},u={className:"function",begin:"("+a+"[\\*&\\s]+)+"+c,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:_,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:_,relevance:0},{begin:c,returnBegin:!0,contains:[l],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:[t,e.C_BLOCK_COMMENT_MODE,r,s,i,{begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:["self",t,e.C_BLOCK_COMMENT_MODE,r,s,i]}]},i,t,e.C_BLOCK_COMMENT_MODE,o]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:_,illegal:"</",contains:[].concat(m,u,d,[o,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:_,contains:["self",i]},{begin:e.IDENT_RE+"::",keywords:_},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:o,strings:r,keywords:_}}}},10620:function(e,t){e.exports=function(e){const t="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\ number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:"primitive rsc_template",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+t.split(" ").join("|")+")\\s+",keywords:t,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"</?",end:"/?>",relevance:0}]}}},10621:function(e,t){e.exports=function(e){const t="(_?[ui](8|16|32|64|128))?",n="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",a={$pattern:"[a-zA-Z_]\\w*[!?=]?",keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},i={className:"subst",begin:/#\{/,end:/\}/,keywords:a},r={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:a};function s(e,t){const n=[{begin:e,end:t}];return n[0].contains=n,n}const o={className:"string",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:s("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:s("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:s(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:s("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},l={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:s("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:s("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:s(/\{/,/\}/)},{begin:"%q<",end:">",contains:s("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},c={begin:"(?!%\\})("+e.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},_=[r,o,l,{className:"regexp",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:"%r\\(",end:"\\)",contains:s("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:s("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:s(/\{/,/\}/)},{begin:"%r<",end:">",contains:s("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},c,{className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"})]},e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})],relevance:2},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[o,{begin:n}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?(_?f(32|64))?(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+t}],relevance:0}];return i.contains=_,r.contains=_.slice(1),{name:"Crystal",aliases:["cr"],keywords:a,contains:_}}},10622:function(e,t){e.exports=function(e){var t={keyword:["abstract","as","base","break","case","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","unit","ushort"],literal:["default","false","null","true"]},n=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),a={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},i={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},r=e.inherit(i,{illegal:/\n/}),s={className:"subst",begin:/\{/,end:/\}/,keywords:t},o=e.inherit(s,{illegal:/\n/}),l={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,o]},c={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},s]},_=e.inherit(c,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},o]});s.contains=[c,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE],o.contains=[_,l,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];var d={variants:[c,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},m={begin:"<",end:">",contains:[{beginKeywords:"in out"},n]},u=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",p={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},d,a,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},n,m,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,m,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"meta-string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+u+"\\s+)+"+e.IDENT_RE+"\\s*(<.+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[{beginKeywords:["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"].join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<.+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,m],relevance:0},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[d,a,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},p]}}},10623:function(e,t){e.exports=function(e){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:"base-uri child-src connect-src default-src font-src form-action frame-ancestors frame-src img-src media-src object-src plugin-types report-uri sandbox script-src style-src"},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}},10624:function(e,t){const n=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],a=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],i=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],r=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],s=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();function o(e){return function(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}("(?=",e,")")}e.exports=function(e){const t=(e=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}}))(e),l=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[e.C_BLOCK_COMMENT_MODE,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},e.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+i.join("|")+")"},{begin:"::("+r.join("|")+")"}]},{className:"attribute",begin:"\\b("+s.join("|")+")\\b"},{begin:":",end:"[;}]",contains:[t.HEXCOLOR,t.IMPORTANT,e.CSS_NUMBER_MODE,...l,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},{className:"built_in",begin:/[\w-]+(?=\()/}]},{begin:o(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:a.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...l,e.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+n.join("|")+")\\b"}]}}},10625:function(e,t){e.exports=function(e){const t={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},n="((0|[1-9][\\d_]*)|0[bB][01_]+|0[xX]([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*))",a="\\\\(['\"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};",i={className:"number",begin:"\\b"+n+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},r={className:"number",begin:"\\b(((0[xX](([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)\\.([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)|\\.?([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*))[pP][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d))|((0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)(\\.\\d*|([eE][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)))|\\d+\\.(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)|\\.(0|[1-9][\\d_]*)([eE][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d))?))([fF]|L|i|[fF]i|Li)?|"+n+"(i|[fF]i|Li))",relevance:0},s={className:"string",begin:"'("+a+"|.)",end:"'",illegal:"."},o={className:"string",begin:'"',contains:[{begin:a,relevance:0}],end:'"[cwd]?'},l=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,l,{className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},o,{className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},{className:"string",begin:"`",end:"`[cwd]?"},{className:"string",begin:'q"\\{',end:'\\}"'},r,i,s,{className:"meta",begin:"^#!",end:"$",relevance:5},{className:"meta",begin:"#(line)",end:"$",relevance:5},{className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"}]}}},10626:function(e,t){function n(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}e.exports=function(e){const t={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},a={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:n(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.+?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},i={className:"strong",contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},r={className:"emphasis",contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]};i.contains.push(r),r.contains.push(i);let s=[t,a];return i.contains=i.contains.concat(s),r.contains=r.contains.concat(s),s=s.concat(i,r),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:s},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:s}]}]},t,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},i,r,{className:"quote",begin:"^>\\s+",contains:s,end:"$"},{className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},a,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}}},10627:function(e,t){e.exports=function(e){const t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},n={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},a={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]}]};n.contains=[e.C_NUMBER_MODE,a];const i=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],r=i.map(e=>e+"?");return{name:"Dart",keywords:{keyword:"abstract as assert async await break case catch class const continue covariant default deferred do dynamic else enum export extends extension external factory false final finally for Function get hide if implements import in inferface is late library mixin new null on operator part required rethrow return set show static super switch sync this throw true try typedef var void while with yield",built_in:i.concat(r).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[a,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}},10628:function(e,t){e.exports=function(e){const t="exports register file shl array record property for mod while set ally label uses raise not stored class safecall var interface or private static exit index inherited to else stdcall override shr asm far resourcestring finalization packed virtual out and protected library do xorwrite goto near function end div overload object unit begin string on inline repeat until destructor write message program with read initialization except default nil if case cdecl in downto threadvar of try pascal const external constructor type public then implementation finally published procedure absolute reintroduce operator as is abstract alias assembler bitpacked break continue cppdecl cvar enumerator experimental platform deprecated unimplemented dynamic export far16 forward generic helper implements interrupt iochecks local name nodefault noreturn nostackframe oldfpccall otherwise saveregisters softfloat specialize strict unaligned varargs ",n=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],a={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},i={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},r={className:"string",begin:/(#\d+)+/},s={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},o={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[i,r,a].concat(n)},a].concat(n)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal","freepascal","lazarus","lpr","lfm"],case_insensitive:!0,keywords:t,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[i,r,e.NUMBER_MODE,{className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},s,o,a].concat(n)}}},10629:function(e,t){e.exports=function(e){return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,variants:[{begin:/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/},{begin:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{begin:/^--- +\d+,\d+ +----$/}]},{className:"comment",variants:[{begin:/Index: /,end:/$/},{begin:/^index/,end:/$/},{begin:/={3,}/,end:/$/},{begin:/^-{3}/,end:/$/},{begin:/^\*{3} /,end:/$/},{begin:/^\+{3}/,end:/$/},{begin:/^\*{15}$/},{begin:/^diff --git/,end:/$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}},10630:function(e,t){e.exports=function(e){const t={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[t],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[t]}]}}},10631:function(e,t){e.exports=function(e){return{name:"DNS Zone",aliases:["bind","zone"],keywords:{keyword:"IN A AAAA AFSDB APL CAA CDNSKEY CDS CERT CNAME DHCID DLV DNAME DNSKEY DS HIP IPSECKEY KEY KX LOC MX NAPTR NS NSEC NSEC3 NSEC3PARAM PTR RRSIG RP SIG SOA SRV SSHFP TA TKEY TLSA TSIG TXT"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}},10632:function(e,t){e.exports=function(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:"from maintainer expose env arg user onbuild stopsignal",contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"}}},10633:function(e,t){e.exports=function(e){const t=e.COMMENT(/^\s*@?rem\b/,/$/,{relevance:10});return{name:"Batch file (DOS)",aliases:["bat","cmd"],case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:"if else goto for in do call exit not exist errorlevel defined equ neq lss leq gtr geq",built_in:"prn nul lpt3 lpt2 lpt1 con com4 com3 com2 com1 aux shift cd dir echo setlocal endlocal set pause copy append assoc at attrib break cacls cd chcp chdir chkdsk chkntfs cls cmd color comp compact convert date dir diskcomp diskcopy doskey erase fs find findstr format ftype graftabl help keyb label md mkdir mode more move path pause print popd pushd promt rd recover rem rename replace restore rmdir shift sort start subst time title tree type ver verify vol ping net ipconfig taskkill xcopy ren del"},contains:[{className:"variable",begin:/%%[^ ]|%[^ ]+?%|![^ ]+?!/},{className:"function",begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",end:"goto:eof",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),t]},{className:"number",begin:"\\b\\d+",relevance:0},t]}}},10634:function(e,t){e.exports=function(e){return{keywords:"dsconfig",contains:[{className:"keyword",begin:"^dsconfig",end:/\s/,excludeEnd:!0,relevance:10},{className:"built_in",begin:/(list|create|get|set|delete)-(\w+)/,end:/\s/,excludeEnd:!0,illegal:"!@#$%^&*()",relevance:10},{className:"built_in",begin:/--(\w+)/,end:/\s/,excludeEnd:!0},{className:"string",begin:/"/,end:/"/},{className:"string",begin:/'/,end:/'/},{className:"string",begin:/[\w\-?]+:\w+/,end:/\W/,relevance:0},{className:"string",begin:/\w+(\-\w+)*/,end:/(?=\W)/,relevance:0},e.HASH_COMMENT_MODE]}}},10635:function(e,t){e.exports=function(e){const t={className:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{begin:'((u8?|U)|L)?"'}),{begin:'(u8?|U)?R"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{begin:"'\\\\?.",end:"'",illegal:"."}]},n={className:"number",variants:[{begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)"},{begin:e.C_NUMBER_RE}],relevance:0},a={className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elif endif define undef ifdef ifndef"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{"meta-keyword":"include"},contains:[e.inherit(t,{className:"meta-string"}),{className:"meta-string",begin:"<",end:">",illegal:"\\n"}]},t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},i={className:"variable",begin:/&[a-z\d_]*\b/},r={className:"meta-keyword",begin:"/[a-z][a-z\\d-]*/"},s={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},o={className:"params",begin:"<",end:">",contains:[n,i]},l={className:"class",begin:/[a-zA-Z_][a-zA-Z\d_@]*\s\{/,end:/[{;=]/,returnBegin:!0,excludeEnd:!0};return{name:"Device Tree",keywords:"",contains:[{className:"class",begin:"/\\s*\\{",end:/\};/,relevance:10,contains:[i,r,s,l,o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,t]},i,r,s,l,o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,t,a,{begin:e.IDENT_RE+"::",keywords:""}]}}},10636:function(e,t){e.exports=function(e){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}}},10637:function(e,t){e.exports=function(e){const t=e.COMMENT(/\(\*/,/\*\)/);return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[t,{className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},{begin:/=/,end:/[.;]/,contains:[t,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]}]}}},10638:function(e,t){e.exports=function(e){const t="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",n={$pattern:t,keyword:"and false then defined module in return redo retry end for true self when next until do begin unless nil break not case cond alias while ensure or include use alias fn quote require import with|0"},a={className:"subst",begin:/#\{/,end:/\}/,keywords:n},i={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[1-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},r={className:"string",begin:"~[a-z](?=[/|([{<\"'])",contains:[{endsParent:!0,contains:[{contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}]}]}]},s={className:"string",begin:"~[A-Z](?=[/|([{<\"'])",contains:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}]},o={className:"string",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},l={className:"function",beginKeywords:"def defp defmacro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:t,endsParent:!0})]},c=e.inherit(l,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),_=[o,s,r,e.HASH_COMMENT_MODE,c,l,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[o,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:"symbol",begin:t+":(?!:)",relevance:0},i,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"},{begin:"->"},{begin:"("+e.RE_STARTERS_RE+")\\s*",contains:[e.HASH_COMMENT_MODE,{begin:/\/: (?=\d+\s*[,\]])/,relevance:0,contains:[i]},{className:"regexp",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}],relevance:0}];return a.contains=_,{name:"Elixir",keywords:n,contains:_}}},10639:function(e,t){e.exports=function(e){const t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},n={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},a={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t]};return{name:"Elm",keywords:"let in if then else case of where module import exposing type alias as infix infixl infixr port effect command subscription",contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[a,t],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[a,t],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[n,a,{begin:/\{/,end:/\}/,contains:a.contains},t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"port",end:"$",keywords:"port",contains:[t]},{className:"string",begin:"'\\\\?.",end:"'",illegal:"."},e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,n,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}],illegal:/;/}}},10640:function(e,t){function n(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}e.exports=function(e){const t="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",a={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor __FILE__",built_in:"proc lambda",literal:"true false nil"},i={className:"doctag",begin:"@[A-Za-z]+"},r={begin:"#<",end:">"},s=[e.COMMENT("#","$",{contains:[i]}),e.COMMENT("^=begin","^=end",{contains:[i],relevance:10}),e.COMMENT("^__END__","\\n$")],o={className:"subst",begin:/#\{/,end:/\}/,keywords:a},l={className:"string",contains:[e.BACKSLASH_ESCAPE,o],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:/<<[-~]?'?(\w+)\n(?:[^\n]*\n)*?\s*\1\b/,returnBegin:!0,contains:[{begin:/<<[-~]?'?/},e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,o]})]}]},c={className:"number",relevance:0,variants:[{begin:"\\b([1-9](_?[0-9])*|0)(\\.([0-9](_?[0-9])*))?([eE][+-]?([0-9](_?[0-9])*)|r)?i?\\b"},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},_={className:"params",begin:"\\(",end:"\\)",endsParent:!0,keywords:a},d=[l,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"}),{begin:"<\\s*",contains:[{begin:"("+e.IDENT_RE+"::)?"+e.IDENT_RE,relevance:0}]}].concat(s)},{className:"function",begin:n(/def\s*/,(m=t+"\\s*(\\(|;|$)",n("(?=",m,")"))),relevance:0,keywords:"def",end:"$|;",contains:[e.inherit(e.TITLE_MODE,{begin:t}),_].concat(s)},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[l,{begin:t}],relevance:0},c,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,relevance:0,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,o],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(r,s),relevance:0}].concat(r,s);var m;o.contains=d,_.contains=d;const u=[{begin:/^\s*=>/,starts:{end:"$",contains:d}},{className:"meta",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+>|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",contains:d}}];return s.unshift(r),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(u).concat(s).concat(d)}}},10641:function(e,t){e.exports=function(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}},10642:function(e,t){function n(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}e.exports=function(e){return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:n(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}},10643:function(e,t){e.exports=function(e){const t="[a-z'][a-zA-Z0-9_']*",n="("+t+":"+t+"|"+t+")",a={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},i=e.COMMENT("%","$"),r={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},s={begin:"fun\\s+"+t+"/\\d+"},o={begin:n+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:n,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},l={begin:/\{/,end:/\}/,relevance:0},c={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},_={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},d={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},m={beginKeywords:"fun receive if try case",end:"end",keywords:a};m.contains=[i,s,e.inherit(e.APOS_STRING_MODE,{className:""}),m,o,e.QUOTE_STRING_MODE,r,l,c,_,d];const u=[i,s,m,o,e.QUOTE_STRING_MODE,r,l,c,_,d];o.contains[1].contains=u,l.contains=u,d.contains[1].contains=u;const p={className:"params",begin:"\\(",end:"\\)",contains:u};return{name:"Erlang",aliases:["erl"],keywords:a,illegal:"(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))",contains:[{className:"function",begin:"^"+t+"\\s*\\(",end:"->",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[p,e.inherit(e.TITLE_MODE,{begin:t})],starts:{end:";|\\.",keywords:a,contains:u}},i,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+e.IDENT_RE,keyword:["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"].map(e=>e+"|1.5").join(" ")},contains:[p]},r,e.QUOTE_STRING_MODE,d,c,_,l,{begin:/\.$/}]}}},10644:function(e,t){e.exports=function(e){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:"ABS ACCRINT ACCRINTM ACOS ACOSH ACOT ACOTH AGGREGATE ADDRESS AMORDEGRC AMORLINC AND ARABIC AREAS ASC ASIN ASINH ATAN ATAN2 ATANH AVEDEV AVERAGE AVERAGEA AVERAGEIF AVERAGEIFS BAHTTEXT BASE BESSELI BESSELJ BESSELK BESSELY BETADIST BETA.DIST BETAINV BETA.INV BIN2DEC BIN2HEX BIN2OCT BINOMDIST BINOM.DIST BINOM.DIST.RANGE BINOM.INV BITAND BITLSHIFT BITOR BITRSHIFT BITXOR CALL CEILING CEILING.MATH CEILING.PRECISE CELL CHAR CHIDIST CHIINV CHITEST CHISQ.DIST CHISQ.DIST.RT CHISQ.INV CHISQ.INV.RT CHISQ.TEST CHOOSE CLEAN CODE COLUMN COLUMNS COMBIN COMBINA COMPLEX CONCAT CONCATENATE CONFIDENCE CONFIDENCE.NORM CONFIDENCE.T CONVERT CORREL COS COSH COT COTH COUNT COUNTA COUNTBLANK COUNTIF COUNTIFS COUPDAYBS COUPDAYS COUPDAYSNC COUPNCD COUPNUM COUPPCD COVAR COVARIANCE.P COVARIANCE.S CRITBINOM CSC CSCH CUBEKPIMEMBER CUBEMEMBER CUBEMEMBERPROPERTY CUBERANKEDMEMBER CUBESET CUBESETCOUNT CUBEVALUE CUMIPMT CUMPRINC DATE DATEDIF DATEVALUE DAVERAGE DAY DAYS DAYS360 DB DBCS DCOUNT DCOUNTA DDB DEC2BIN DEC2HEX DEC2OCT DECIMAL DEGREES DELTA DEVSQ DGET DISC DMAX DMIN DOLLAR DOLLARDE DOLLARFR DPRODUCT DSTDEV DSTDEVP DSUM DURATION DVAR DVARP EDATE EFFECT ENCODEURL EOMONTH ERF ERF.PRECISE ERFC ERFC.PRECISE ERROR.TYPE EUROCONVERT EVEN EXACT EXP EXPON.DIST EXPONDIST FACT FACTDOUBLE FALSE|0 F.DIST FDIST F.DIST.RT FILTERXML FIND FINDB F.INV F.INV.RT FINV FISHER FISHERINV FIXED FLOOR FLOOR.MATH FLOOR.PRECISE FORECAST FORECAST.ETS FORECAST.ETS.CONFINT FORECAST.ETS.SEASONALITY FORECAST.ETS.STAT FORECAST.LINEAR FORMULATEXT FREQUENCY F.TEST FTEST FV FVSCHEDULE GAMMA GAMMA.DIST GAMMADIST GAMMA.INV GAMMAINV GAMMALN GAMMALN.PRECISE GAUSS GCD GEOMEAN GESTEP GETPIVOTDATA GROWTH HARMEAN HEX2BIN HEX2DEC HEX2OCT HLOOKUP HOUR HYPERLINK HYPGEOM.DIST HYPGEOMDIST IF IFERROR IFNA IFS IMABS IMAGINARY IMARGUMENT IMCONJUGATE IMCOS IMCOSH IMCOT IMCSC IMCSCH IMDIV IMEXP IMLN IMLOG10 IMLOG2 IMPOWER IMPRODUCT IMREAL IMSEC IMSECH IMSIN IMSINH IMSQRT IMSUB IMSUM IMTAN INDEX INDIRECT INFO INT INTERCEPT INTRATE IPMT IRR ISBLANK ISERR ISERROR ISEVEN ISFORMULA ISLOGICAL ISNA ISNONTEXT ISNUMBER ISODD ISREF ISTEXT ISO.CEILING ISOWEEKNUM ISPMT JIS KURT LARGE LCM LEFT LEFTB LEN LENB LINEST LN LOG LOG10 LOGEST LOGINV LOGNORM.DIST LOGNORMDIST LOGNORM.INV LOOKUP LOWER MATCH MAX MAXA MAXIFS MDETERM MDURATION MEDIAN MID MIDBs MIN MINIFS MINA MINUTE MINVERSE MIRR MMULT MOD MODE MODE.MULT MODE.SNGL MONTH MROUND MULTINOMIAL MUNIT N NA NEGBINOM.DIST NEGBINOMDIST NETWORKDAYS NETWORKDAYS.INTL NOMINAL NORM.DIST NORMDIST NORMINV NORM.INV NORM.S.DIST NORMSDIST NORM.S.INV NORMSINV NOT NOW NPER NPV NUMBERVALUE OCT2BIN OCT2DEC OCT2HEX ODD ODDFPRICE ODDFYIELD ODDLPRICE ODDLYIELD OFFSET OR PDURATION PEARSON PERCENTILE.EXC PERCENTILE.INC PERCENTILE PERCENTRANK.EXC PERCENTRANK.INC PERCENTRANK PERMUT PERMUTATIONA PHI PHONETIC PI PMT POISSON.DIST POISSON POWER PPMT PRICE PRICEDISC PRICEMAT PROB PRODUCT PROPER PV QUARTILE QUARTILE.EXC QUARTILE.INC QUOTIENT RADIANS RAND RANDBETWEEN RANK.AVG RANK.EQ RANK RATE RECEIVED REGISTER.ID REPLACE REPLACEB REPT RIGHT RIGHTB ROMAN ROUND ROUNDDOWN ROUNDUP ROW ROWS RRI RSQ RTD SEARCH SEARCHB SEC SECH SECOND SERIESSUM SHEET SHEETS SIGN SIN SINH SKEW SKEW.P SLN SLOPE SMALL SQL.REQUEST SQRT SQRTPI STANDARDIZE STDEV STDEV.P STDEV.S STDEVA STDEVP STDEVPA STEYX SUBSTITUTE SUBTOTAL SUM SUMIF SUMIFS SUMPRODUCT SUMSQ SUMX2MY2 SUMX2PY2 SUMXMY2 SWITCH SYD T TAN TANH TBILLEQ TBILLPRICE TBILLYIELD T.DIST T.DIST.2T T.DIST.RT TDIST TEXT TEXTJOIN TIME TIMEVALUE T.INV T.INV.2T TINV TODAY TRANSPOSE TREND TRIM TRIMMEAN TRUE|0 TRUNC T.TEST TTEST TYPE UNICHAR UNICODE UPPER VALUE VAR VAR.P VAR.S VARA VARP VARPA VDB VLOOKUP WEBSERVICE WEEKDAY WEEKNUM WEIBULL WEIBULL.DIST WORKDAY WORKDAY.INTL XIRR XNPV XOR YEAR YEARFRAC YIELD YIELDDISC YIELDMAT Z.TEST ZTEST"},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},e.BACKSLASH_ESCAPE,e.QUOTE_STRING_MODE,{className:"number",begin:e.NUMBER_RE+"(%)?",relevance:0},e.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}},10645:function(e,t){e.exports=function(e){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}},10646:function(e,t){e.exports=function(e){const t={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{literal:"true false",keyword:"case class def else enum if impl import in lat rel index let match namespace switch type yield with"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},{className:"string",variants:[{begin:'"',end:'"'}]},t,e.C_NUMBER_MODE]}}},10647:function(e,t){function n(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}e.exports=function(e){const t={variants:[e.COMMENT("!","$",{relevance:0}),e.COMMENT("^C[ ]","$",{relevance:0}),e.COMMENT("^C$","$",{relevance:0})]},a=/(_[a-z_\d]+)?/,i=/([de][+-]?\d+)?/,r={className:"number",variants:[{begin:n(/\b\d+/,/\.(\d*)/,i,a)},{begin:n(/\b\d+/,i,a)},{begin:n(/\.\d+/,i,a)}],relevance:0},s={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{literal:".False. .True.",keyword:"kind do concurrent local shared while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then block endblock endassociate public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated  c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure impure integer real character complex logical codimension dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image sync change team co_broadcast co_max co_min co_sum co_reduce"},illegal:/\/\*/,contains:[{className:"string",relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},s,{begin:/^C\s*=(?!=)/,relevance:0},t,r]}}},10648:function(e,t){e.exports=function(e){const t={begin:"<",end:">",contains:[e.inherit(e.TITLE_MODE,{begin:/'[a-zA-Z0-9_]+/})]};return{name:"F#",aliases:["fs"],keywords:"abstract and as assert base begin class default delegate do done downcast downto elif else end exception extern false finally for fun function global if in inherit inline interface internal lazy let match member module mutable namespace new null of open or override private public rec return sig static struct then to true try type upcast use val void when while with yield",illegal:/\/\*/,contains:[{className:"keyword",begin:/\b(yield|return|let|do)!/},{className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:'"""',end:'"""'},e.COMMENT("\\(\\*(\\s)","\\*\\)",{contains:["self"]}),{className:"class",beginKeywords:"type",end:"\\(|=|$",excludeEnd:!0,contains:[e.UNDERSCORE_TITLE_MODE,t]},{className:"meta",begin:"\\[<",end:">\\]",relevance:10},{className:"symbol",begin:"\\B('[A-Za-z])\\b",contains:[e.BACKSLASH_ESCAPE]},e.C_LINE_COMMENT_MODE,e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),e.C_NUMBER_MODE]}}},10649:function(e,t){function n(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}e.exports=function(e){const t={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},a={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},i={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},r={begin:"/",end:"/",keywords:t,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},s=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,o={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[i,r,{className:"comment",begin:n(s,(l=n(/[ ]+/,s),n("(",l,")*"))),relevance:0}]};var l;return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:t,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"meta-keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,r,o]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[o]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},a]},e.C_NUMBER_MODE,a]}}},10650:function(e,t){e.exports=function(e){const t={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},n=e.COMMENT("@","@"),a={className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{"meta-keyword":"include"},contains:[{className:"meta-string",begin:'"',end:'"',illegal:"\\n"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n]},i={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},r=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,i]}],s={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},o=function(t,a,i){const o=e.inherit({className:"function",beginKeywords:t,end:a,excludeEnd:!0,contains:[].concat(r)},i||{});return o.contains.push(s),o.contains.push(e.C_NUMBER_MODE),o.contains.push(e.C_BLOCK_COMMENT_MODE),o.contains.push(n),o},l={className:"built_in",begin:"\\b("+t.built_in.split(" ").join("|")+")\\b"},c={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE],relevance:0},_={begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:t,relevance:0,contains:[{beginKeywords:t.keyword},l,{className:"built_in",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},d={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:t.built_in,literal:t.literal},contains:[e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,l,_,c,"self"]};return _.contains.push(d),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:t,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,c,a,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},o("proc keyword",";"),o("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE,n,d]},{variants:[{begin:e.UNDERSCORE_IDENT_RE+"\\."+e.UNDERSCORE_IDENT_RE},{begin:e.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},_,i]}}},10651:function(e,t){e.exports=function(e){const t={$pattern:"[A-Z_][A-Z0-9_.]*",keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},n=e.inherit(e.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+e.C_NUMBER_RE}),a=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\(/,/\)/),n,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[n],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:t,contains:[{className:"meta",begin:"%"},{className:"meta",begin:"([O])([0-9]+)"}].concat(a)}}},10652:function(e,t){e.exports=function(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}},10653:function(e,t){e.exports=function(e){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}},10654:function(e,t){e.exports=function(e){return{name:"GML",aliases:["gml","GML"],case_insensitive:!1,keywords:{keyword:"begin end if then else while do for break continue with until repeat exit and or xor not return mod div switch case default var globalvar enum #macro #region #endregion",built_in:"is_real is_string is_array is_undefined is_int32 is_int64 is_ptr is_vec3 is_vec4 is_matrix is_bool typeof variable_global_exists variable_global_get variable_global_set variable_instance_exists variable_instance_get variable_instance_set variable_instance_get_names array_length_1d array_length_2d array_height_2d array_equals array_create array_copy random random_range irandom irandom_range random_set_seed random_get_seed randomize randomise choose abs round floor ceil sign frac sqrt sqr exp ln log2 log10 sin cos tan arcsin arccos arctan arctan2 dsin dcos dtan darcsin darccos darctan darctan2 degtorad radtodeg power logn min max mean median clamp lerp dot_product dot_product_3d dot_product_normalised dot_product_3d_normalised dot_product_normalized dot_product_3d_normalized math_set_epsilon math_get_epsilon angle_difference point_distance_3d point_distance point_direction lengthdir_x lengthdir_y real string int64 ptr string_format chr ansi_char ord string_length string_byte_length string_pos string_copy string_char_at string_ord_at string_byte_at string_set_byte_at string_delete string_insert string_lower string_upper string_repeat string_letters string_digits string_lettersdigits string_replace string_replace_all string_count string_hash_to_newline clipboard_has_text clipboard_set_text clipboard_get_text date_current_datetime date_create_datetime date_valid_datetime date_inc_year date_inc_month date_inc_week date_inc_day date_inc_hour date_inc_minute date_inc_second date_get_year date_get_month date_get_week date_get_day date_get_hour date_get_minute date_get_second date_get_weekday date_get_day_of_year date_get_hour_of_year date_get_minute_of_year date_get_second_of_year date_year_span date_month_span date_week_span date_day_span date_hour_span date_minute_span date_second_span date_compare_datetime date_compare_date date_compare_time date_date_of date_time_of date_datetime_string date_date_string date_time_string date_days_in_month date_days_in_year date_leap_year date_is_today date_set_timezone date_get_timezone game_set_speed game_get_speed motion_set motion_add place_free place_empty place_meeting place_snapped move_random move_snap move_towards_point move_contact_solid move_contact_all move_outside_solid move_outside_all move_bounce_solid move_bounce_all move_wrap distance_to_point distance_to_object position_empty position_meeting path_start path_end mp_linear_step mp_potential_step mp_linear_step_object mp_potential_step_object mp_potential_settings mp_linear_path mp_potential_path mp_linear_path_object mp_potential_path_object mp_grid_create mp_grid_destroy mp_grid_clear_all mp_grid_clear_cell mp_grid_clear_rectangle mp_grid_add_cell mp_grid_get_cell mp_grid_add_rectangle mp_grid_add_instances mp_grid_path mp_grid_draw mp_grid_to_ds_grid collision_point collision_rectangle collision_circle collision_ellipse collision_line collision_point_list collision_rectangle_list collision_circle_list collision_ellipse_list collision_line_list instance_position_list instance_place_list point_in_rectangle point_in_triangle point_in_circle rectangle_in_rectangle rectangle_in_triangle rectangle_in_circle instance_find instance_exists instance_number instance_position instance_nearest instance_furthest instance_place instance_create_depth instance_create_layer instance_copy instance_change instance_destroy position_destroy position_change instance_id_get instance_deactivate_all instance_deactivate_object instance_deactivate_region instance_activate_all instance_activate_object instance_activate_region room_goto room_goto_previous room_goto_next room_previous room_next room_restart game_end game_restart game_load game_save game_save_buffer game_load_buffer event_perform event_user event_perform_object event_inherited show_debug_message show_debug_overlay debug_event debug_get_callstack alarm_get alarm_set font_texture_page_size keyboard_set_map keyboard_get_map keyboard_unset_map keyboard_check keyboard_check_pressed keyboard_check_released keyboard_check_direct keyboard_get_numlock keyboard_set_numlock keyboard_key_press keyboard_key_release keyboard_clear io_clear mouse_check_button mouse_check_button_pressed mouse_check_button_released mouse_wheel_up mouse_wheel_down mouse_clear draw_self draw_sprite draw_sprite_pos draw_sprite_ext draw_sprite_stretched draw_sprite_stretched_ext draw_sprite_tiled draw_sprite_tiled_ext draw_sprite_part draw_sprite_part_ext draw_sprite_general draw_clear draw_clear_alpha draw_point draw_line draw_line_width draw_rectangle draw_roundrect draw_roundrect_ext draw_triangle draw_circle draw_ellipse draw_set_circle_precision draw_arrow draw_button draw_path draw_healthbar draw_getpixel draw_getpixel_ext draw_set_colour draw_set_color draw_set_alpha draw_get_colour draw_get_color draw_get_alpha merge_colour make_colour_rgb make_colour_hsv colour_get_red colour_get_green colour_get_blue colour_get_hue colour_get_saturation colour_get_value merge_color make_color_rgb make_color_hsv color_get_red color_get_green color_get_blue color_get_hue color_get_saturation color_get_value merge_color screen_save screen_save_part draw_set_font draw_set_halign draw_set_valign draw_text draw_text_ext string_width string_height string_width_ext string_height_ext draw_text_transformed draw_text_ext_transformed draw_text_colour draw_text_ext_colour draw_text_transformed_colour draw_text_ext_transformed_colour draw_text_color draw_text_ext_color draw_text_transformed_color draw_text_ext_transformed_color draw_point_colour draw_line_colour draw_line_width_colour draw_rectangle_colour draw_roundrect_colour draw_roundrect_colour_ext draw_triangle_colour draw_circle_colour draw_ellipse_colour draw_point_color draw_line_color draw_line_width_color draw_rectangle_color draw_roundrect_color draw_roundrect_color_ext draw_triangle_color draw_circle_color draw_ellipse_color draw_primitive_begin draw_vertex draw_vertex_colour draw_vertex_color draw_primitive_end sprite_get_uvs font_get_uvs sprite_get_texture font_get_texture texture_get_width texture_get_height texture_get_uvs draw_primitive_begin_texture draw_vertex_texture draw_vertex_texture_colour draw_vertex_texture_color texture_global_scale surface_create surface_create_ext surface_resize surface_free surface_exists surface_get_width surface_get_height surface_get_texture surface_set_target surface_set_target_ext surface_reset_target surface_depth_disable surface_get_depth_disable draw_surface draw_surface_stretched draw_surface_tiled draw_surface_part draw_surface_ext draw_surface_stretched_ext draw_surface_tiled_ext draw_surface_part_ext draw_surface_general surface_getpixel surface_getpixel_ext surface_save surface_save_part surface_copy surface_copy_part application_surface_draw_enable application_get_position application_surface_enable application_surface_is_enabled display_get_width display_get_height display_get_orientation display_get_gui_width display_get_gui_height display_reset display_mouse_get_x display_mouse_get_y display_mouse_set display_set_ui_visibility window_set_fullscreen window_get_fullscreen window_set_caption window_set_min_width window_set_max_width window_set_min_height window_set_max_height window_get_visible_rects window_get_caption window_set_cursor window_get_cursor window_set_colour window_get_colour window_set_color window_get_color window_set_position window_set_size window_set_rectangle window_center window_get_x window_get_y window_get_width window_get_height window_mouse_get_x window_mouse_get_y window_mouse_set window_view_mouse_get_x window_view_mouse_get_y window_views_mouse_get_x window_views_mouse_get_y audio_listener_position audio_listener_velocity audio_listener_orientation audio_emitter_position audio_emitter_create audio_emitter_free audio_emitter_exists audio_emitter_pitch audio_emitter_velocity audio_emitter_falloff audio_emitter_gain audio_play_sound audio_play_sound_on audio_play_sound_at audio_stop_sound audio_resume_music audio_music_is_playing audio_resume_sound audio_pause_sound audio_pause_music audio_channel_num audio_sound_length audio_get_type audio_falloff_set_model audio_play_music audio_stop_music audio_master_gain audio_music_gain audio_sound_gain audio_sound_pitch audio_stop_all audio_resume_all audio_pause_all audio_is_playing audio_is_paused audio_exists audio_sound_set_track_position audio_sound_get_track_position audio_emitter_get_gain audio_emitter_get_pitch audio_emitter_get_x audio_emitter_get_y audio_emitter_get_z audio_emitter_get_vx audio_emitter_get_vy audio_emitter_get_vz audio_listener_set_position audio_listener_set_velocity audio_listener_set_orientation audio_listener_get_data audio_set_master_gain audio_get_master_gain audio_sound_get_gain audio_sound_get_pitch audio_get_name audio_sound_set_track_position audio_sound_get_track_position audio_create_stream audio_destroy_stream audio_create_sync_group audio_destroy_sync_group audio_play_in_sync_group audio_start_sync_group audio_stop_sync_group audio_pause_sync_group audio_resume_sync_group audio_sync_group_get_track_pos audio_sync_group_debug audio_sync_group_is_playing audio_debug audio_group_load audio_group_unload audio_group_is_loaded audio_group_load_progress audio_group_name audio_group_stop_all audio_group_set_gain audio_create_buffer_sound audio_free_buffer_sound audio_create_play_queue audio_free_play_queue audio_queue_sound audio_get_recorder_count audio_get_recorder_info audio_start_recording audio_stop_recording audio_sound_get_listener_mask audio_emitter_get_listener_mask audio_get_listener_mask audio_sound_set_listener_mask audio_emitter_set_listener_mask audio_set_listener_mask audio_get_listener_count audio_get_listener_info audio_system show_message show_message_async clickable_add clickable_add_ext clickable_change clickable_change_ext clickable_delete clickable_exists clickable_set_style show_question show_question_async get_integer get_string get_integer_async get_string_async get_login_async get_open_filename get_save_filename get_open_filename_ext get_save_filename_ext show_error highscore_clear highscore_add highscore_value highscore_name draw_highscore sprite_exists sprite_get_name sprite_get_number sprite_get_width sprite_get_height sprite_get_xoffset sprite_get_yoffset sprite_get_bbox_left sprite_get_bbox_right sprite_get_bbox_top sprite_get_bbox_bottom sprite_save sprite_save_strip sprite_set_cache_size sprite_set_cache_size_ext sprite_get_tpe sprite_prefetch sprite_prefetch_multi sprite_flush sprite_flush_multi sprite_set_speed sprite_get_speed_type sprite_get_speed font_exists font_get_name font_get_fontname font_get_bold font_get_italic font_get_first font_get_last font_get_size font_set_cache_size path_exists path_get_name path_get_length path_get_time path_get_kind path_get_closed path_get_precision path_get_number path_get_point_x path_get_point_y path_get_point_speed path_get_x path_get_y path_get_speed script_exists script_get_name timeline_add timeline_delete timeline_clear timeline_exists timeline_get_name timeline_moment_clear timeline_moment_add_script timeline_size timeline_max_moment object_exists object_get_name object_get_sprite object_get_solid object_get_visible object_get_persistent object_get_mask object_get_parent object_get_physics object_is_ancestor room_exists room_get_name sprite_set_offset sprite_duplicate sprite_assign sprite_merge sprite_add sprite_replace sprite_create_from_surface sprite_add_from_surface sprite_delete sprite_set_alpha_from_sprite sprite_collision_mask font_add_enable_aa font_add_get_enable_aa font_add font_add_sprite font_add_sprite_ext font_replace font_replace_sprite font_replace_sprite_ext font_delete path_set_kind path_set_closed path_set_precision path_add path_assign path_duplicate path_append path_delete path_add_point path_insert_point path_change_point path_delete_point path_clear_points path_reverse path_mirror path_flip path_rotate path_rescale path_shift script_execute object_set_sprite object_set_solid object_set_visible object_set_persistent object_set_mask room_set_width room_set_height room_set_persistent room_set_background_colour room_set_background_color room_set_view room_set_viewport room_get_viewport room_set_view_enabled room_add room_duplicate room_assign room_instance_add room_instance_clear room_get_camera room_set_camera asset_get_index asset_get_type file_text_open_from_string file_text_open_read file_text_open_write file_text_open_append file_text_close file_text_write_string file_text_write_real file_text_writeln file_text_read_string file_text_read_real file_text_readln file_text_eof file_text_eoln file_exists file_delete file_rename file_copy directory_exists directory_create directory_destroy file_find_first file_find_next file_find_close file_attributes filename_name filename_path filename_dir filename_drive filename_ext filename_change_ext file_bin_open file_bin_rewrite file_bin_close file_bin_position file_bin_size file_bin_seek file_bin_write_byte file_bin_read_byte parameter_count parameter_string environment_get_variable ini_open_from_string ini_open ini_close ini_read_string ini_read_real ini_write_string ini_write_real ini_key_exists ini_section_exists ini_key_delete ini_section_delete ds_set_precision ds_exists ds_stack_create ds_stack_destroy ds_stack_clear ds_stack_copy ds_stack_size ds_stack_empty ds_stack_push ds_stack_pop ds_stack_top ds_stack_write ds_stack_read ds_queue_create ds_queue_destroy ds_queue_clear ds_queue_copy ds_queue_size ds_queue_empty ds_queue_enqueue ds_queue_dequeue ds_queue_head ds_queue_tail ds_queue_write ds_queue_read ds_list_create ds_list_destroy ds_list_clear ds_list_copy ds_list_size ds_list_empty ds_list_add ds_list_insert ds_list_replace ds_list_delete ds_list_find_index ds_list_find_value ds_list_mark_as_list ds_list_mark_as_map ds_list_sort ds_list_shuffle ds_list_write ds_list_read ds_list_set ds_map_create ds_map_destroy ds_map_clear ds_map_copy ds_map_size ds_map_empty ds_map_add ds_map_add_list ds_map_add_map ds_map_replace ds_map_replace_map ds_map_replace_list ds_map_delete ds_map_exists ds_map_find_value ds_map_find_previous ds_map_find_next ds_map_find_first ds_map_find_last ds_map_write ds_map_read ds_map_secure_save ds_map_secure_load ds_map_secure_load_buffer ds_map_secure_save_buffer ds_map_set ds_priority_create ds_priority_destroy ds_priority_clear ds_priority_copy ds_priority_size ds_priority_empty ds_priority_add ds_priority_change_priority ds_priority_find_priority ds_priority_delete_value ds_priority_delete_min ds_priority_find_min ds_priority_delete_max ds_priority_find_max ds_priority_write ds_priority_read ds_grid_create ds_grid_destroy ds_grid_copy ds_grid_resize ds_grid_width ds_grid_height ds_grid_clear ds_grid_set ds_grid_add ds_grid_multiply ds_grid_set_region ds_grid_add_region ds_grid_multiply_region ds_grid_set_disk ds_grid_add_disk ds_grid_multiply_disk ds_grid_set_grid_region ds_grid_add_grid_region ds_grid_multiply_grid_region ds_grid_get ds_grid_get_sum ds_grid_get_max ds_grid_get_min ds_grid_get_mean ds_grid_get_disk_sum ds_grid_get_disk_min ds_grid_get_disk_max ds_grid_get_disk_mean ds_grid_value_exists ds_grid_value_x ds_grid_value_y ds_grid_value_disk_exists ds_grid_value_disk_x ds_grid_value_disk_y ds_grid_shuffle ds_grid_write ds_grid_read ds_grid_sort ds_grid_set ds_grid_get effect_create_below effect_create_above effect_clear part_type_create part_type_destroy part_type_exists part_type_clear part_type_shape part_type_sprite part_type_size part_type_scale part_type_orientation part_type_life part_type_step part_type_death part_type_speed part_type_direction part_type_gravity part_type_colour1 part_type_colour2 part_type_colour3 part_type_colour_mix part_type_colour_rgb part_type_colour_hsv part_type_color1 part_type_color2 part_type_color3 part_type_color_mix part_type_color_rgb part_type_color_hsv part_type_alpha1 part_type_alpha2 part_type_alpha3 part_type_blend part_system_create part_system_create_layer part_system_destroy part_system_exists part_system_clear part_system_draw_order part_system_depth part_system_position part_system_automatic_update part_system_automatic_draw part_system_update part_system_drawit part_system_get_layer part_system_layer part_particles_create part_particles_create_colour part_particles_create_color part_particles_clear part_particles_count part_emitter_create part_emitter_destroy part_emitter_destroy_all part_emitter_exists part_emitter_clear part_emitter_region part_emitter_burst part_emitter_stream external_call external_define external_free window_handle window_device matrix_get matrix_set matrix_build_identity matrix_build matrix_build_lookat matrix_build_projection_ortho matrix_build_projection_perspective matrix_build_projection_perspective_fov matrix_multiply matrix_transform_vertex matrix_stack_push matrix_stack_pop matrix_stack_multiply matrix_stack_set matrix_stack_clear matrix_stack_top matrix_stack_is_empty browser_input_capture os_get_config os_get_info os_get_language os_get_region os_lock_orientation display_get_dpi_x display_get_dpi_y display_set_gui_size display_set_gui_maximise display_set_gui_maximize device_mouse_dbclick_enable display_set_timing_method display_get_timing_method display_set_sleep_margin display_get_sleep_margin virtual_key_add virtual_key_hide virtual_key_delete virtual_key_show draw_enable_drawevent draw_enable_swf_aa draw_set_swf_aa_level draw_get_swf_aa_level draw_texture_flush draw_flush gpu_set_blendenable gpu_set_ztestenable gpu_set_zfunc gpu_set_zwriteenable gpu_set_lightingenable gpu_set_fog gpu_set_cullmode gpu_set_blendmode gpu_set_blendmode_ext gpu_set_blendmode_ext_sepalpha gpu_set_colorwriteenable gpu_set_colourwriteenable gpu_set_alphatestenable gpu_set_alphatestref gpu_set_alphatestfunc gpu_set_texfilter gpu_set_texfilter_ext gpu_set_texrepeat gpu_set_texrepeat_ext gpu_set_tex_filter gpu_set_tex_filter_ext gpu_set_tex_repeat gpu_set_tex_repeat_ext gpu_set_tex_mip_filter gpu_set_tex_mip_filter_ext gpu_set_tex_mip_bias gpu_set_tex_mip_bias_ext gpu_set_tex_min_mip gpu_set_tex_min_mip_ext gpu_set_tex_max_mip gpu_set_tex_max_mip_ext gpu_set_tex_max_aniso gpu_set_tex_max_aniso_ext gpu_set_tex_mip_enable gpu_set_tex_mip_enable_ext gpu_get_blendenable gpu_get_ztestenable gpu_get_zfunc gpu_get_zwriteenable gpu_get_lightingenable gpu_get_fog gpu_get_cullmode gpu_get_blendmode gpu_get_blendmode_ext gpu_get_blendmode_ext_sepalpha gpu_get_blendmode_src gpu_get_blendmode_dest gpu_get_blendmode_srcalpha gpu_get_blendmode_destalpha gpu_get_colorwriteenable gpu_get_colourwriteenable gpu_get_alphatestenable gpu_get_alphatestref gpu_get_alphatestfunc gpu_get_texfilter gpu_get_texfilter_ext gpu_get_texrepeat gpu_get_texrepeat_ext gpu_get_tex_filter gpu_get_tex_filter_ext gpu_get_tex_repeat gpu_get_tex_repeat_ext gpu_get_tex_mip_filter gpu_get_tex_mip_filter_ext gpu_get_tex_mip_bias gpu_get_tex_mip_bias_ext gpu_get_tex_min_mip gpu_get_tex_min_mip_ext gpu_get_tex_max_mip gpu_get_tex_max_mip_ext gpu_get_tex_max_aniso gpu_get_tex_max_aniso_ext gpu_get_tex_mip_enable gpu_get_tex_mip_enable_ext gpu_push_state gpu_pop_state gpu_get_state gpu_set_state draw_light_define_ambient draw_light_define_direction draw_light_define_point draw_light_enable draw_set_lighting draw_light_get_ambient draw_light_get draw_get_lighting shop_leave_rating url_get_domain url_open url_open_ext url_open_full get_timer achievement_login achievement_logout achievement_post achievement_increment achievement_post_score achievement_available achievement_show_achievements achievement_show_leaderboards achievement_load_friends achievement_load_leaderboard achievement_send_challenge achievement_load_progress achievement_reset achievement_login_status achievement_get_pic achievement_show_challenge_notifications achievement_get_challenges achievement_event achievement_show achievement_get_info cloud_file_save cloud_string_save cloud_synchronise ads_enable ads_disable ads_setup ads_engagement_launch ads_engagement_available ads_engagement_active ads_event ads_event_preload ads_set_reward_callback ads_get_display_height ads_get_display_width ads_move ads_interstitial_available ads_interstitial_display device_get_tilt_x device_get_tilt_y device_get_tilt_z device_is_keypad_open device_mouse_check_button device_mouse_check_button_pressed device_mouse_check_button_released device_mouse_x device_mouse_y device_mouse_raw_x device_mouse_raw_y device_mouse_x_to_gui device_mouse_y_to_gui iap_activate iap_status iap_enumerate_products iap_restore_all iap_acquire iap_consume iap_product_details iap_purchase_details facebook_init facebook_login facebook_status facebook_graph_request facebook_dialog facebook_logout facebook_launch_offerwall facebook_post_message facebook_send_invite facebook_user_id facebook_accesstoken facebook_check_permission facebook_request_read_permissions facebook_request_publish_permissions gamepad_is_supported gamepad_get_device_count gamepad_is_connected gamepad_get_description gamepad_get_button_threshold gamepad_set_button_threshold gamepad_get_axis_deadzone gamepad_set_axis_deadzone gamepad_button_count gamepad_button_check gamepad_button_check_pressed gamepad_button_check_released gamepad_button_value gamepad_axis_count gamepad_axis_value gamepad_set_vibration gamepad_set_colour gamepad_set_color os_is_paused window_has_focus code_is_compiled http_get http_get_file http_post_string http_request json_encode json_decode zip_unzip load_csv base64_encode base64_decode md5_string_unicode md5_string_utf8 md5_file os_is_network_connected sha1_string_unicode sha1_string_utf8 sha1_file os_powersave_enable analytics_event analytics_event_ext win8_livetile_tile_notification win8_livetile_tile_clear win8_livetile_badge_notification win8_livetile_badge_clear win8_livetile_queue_enable win8_secondarytile_pin win8_secondarytile_badge_notification win8_secondarytile_delete win8_livetile_notification_begin win8_livetile_notification_secondary_begin win8_livetile_notification_expiry win8_livetile_notification_tag win8_livetile_notification_text_add win8_livetile_notification_image_add win8_livetile_notification_end win8_appbar_enable win8_appbar_add_element win8_appbar_remove_element win8_settingscharm_add_entry win8_settingscharm_add_html_entry win8_settingscharm_add_xaml_entry win8_settingscharm_set_xaml_property win8_settingscharm_get_xaml_property win8_settingscharm_remove_entry win8_share_image win8_share_screenshot win8_share_file win8_share_url win8_share_text win8_search_enable win8_search_disable win8_search_add_suggestions win8_device_touchscreen_available win8_license_initialize_sandbox win8_license_trial_version winphone_license_trial_version winphone_tile_title winphone_tile_count winphone_tile_back_title winphone_tile_back_content winphone_tile_back_content_wide winphone_tile_front_image winphone_tile_front_image_small winphone_tile_front_image_wide winphone_tile_back_image winphone_tile_back_image_wide winphone_tile_background_colour winphone_tile_background_color winphone_tile_icon_image winphone_tile_small_icon_image winphone_tile_wide_content winphone_tile_cycle_images winphone_tile_small_background_image physics_world_create physics_world_gravity physics_world_update_speed physics_world_update_iterations physics_world_draw_debug physics_pause_enable physics_fixture_create physics_fixture_set_kinematic physics_fixture_set_density physics_fixture_set_awake physics_fixture_set_restitution physics_fixture_set_friction physics_fixture_set_collision_group physics_fixture_set_sensor physics_fixture_set_linear_damping physics_fixture_set_angular_damping physics_fixture_set_circle_shape physics_fixture_set_box_shape physics_fixture_set_edge_shape physics_fixture_set_polygon_shape physics_fixture_set_chain_shape physics_fixture_add_point physics_fixture_bind physics_fixture_bind_ext physics_fixture_delete physics_apply_force physics_apply_impulse physics_apply_angular_impulse physics_apply_local_force physics_apply_local_impulse physics_apply_torque physics_mass_properties physics_draw_debug physics_test_overlap physics_remove_fixture physics_set_friction physics_set_density physics_set_restitution physics_get_friction physics_get_density physics_get_restitution physics_joint_distance_create physics_joint_rope_create physics_joint_revolute_create physics_joint_prismatic_create physics_joint_pulley_create physics_joint_wheel_create physics_joint_weld_create physics_joint_friction_create physics_joint_gear_create physics_joint_enable_motor physics_joint_get_value physics_joint_set_value physics_joint_delete physics_particle_create physics_particle_delete physics_particle_delete_region_circle physics_particle_delete_region_box physics_particle_delete_region_poly physics_particle_set_flags physics_particle_set_category_flags physics_particle_draw physics_particle_draw_ext physics_particle_count physics_particle_get_data physics_particle_get_data_particle physics_particle_group_begin physics_particle_group_circle physics_particle_group_box physics_particle_group_polygon physics_particle_group_add_point physics_particle_group_end physics_particle_group_join physics_particle_group_delete physics_particle_group_count physics_particle_group_get_data physics_particle_group_get_mass physics_particle_group_get_inertia physics_particle_group_get_centre_x physics_particle_group_get_centre_y physics_particle_group_get_vel_x physics_particle_group_get_vel_y physics_particle_group_get_ang_vel physics_particle_group_get_x physics_particle_group_get_y physics_particle_group_get_angle physics_particle_set_group_flags physics_particle_get_group_flags physics_particle_get_max_count physics_particle_get_radius physics_particle_get_density physics_particle_get_damping physics_particle_get_gravity_scale physics_particle_set_max_count physics_particle_set_radius physics_particle_set_density physics_particle_set_damping physics_particle_set_gravity_scale network_create_socket network_create_socket_ext network_create_server network_create_server_raw network_connect network_connect_raw network_send_packet network_send_raw network_send_broadcast network_send_udp network_send_udp_raw network_set_timeout network_set_config network_resolve network_destroy buffer_create buffer_write buffer_read buffer_seek buffer_get_surface buffer_set_surface buffer_delete buffer_exists buffer_get_type buffer_get_alignment buffer_poke buffer_peek buffer_save buffer_save_ext buffer_load buffer_load_ext buffer_load_partial buffer_copy buffer_fill buffer_get_size buffer_tell buffer_resize buffer_md5 buffer_sha1 buffer_base64_encode buffer_base64_decode buffer_base64_decode_ext buffer_sizeof buffer_get_address buffer_create_from_vertex_buffer buffer_create_from_vertex_buffer_ext buffer_copy_from_vertex_buffer buffer_async_group_begin buffer_async_group_option buffer_async_group_end buffer_load_async buffer_save_async gml_release_mode gml_pragma steam_activate_overlay steam_is_overlay_enabled steam_is_overlay_activated steam_get_persona_name steam_initialised steam_is_cloud_enabled_for_app steam_is_cloud_enabled_for_account steam_file_persisted steam_get_quota_total steam_get_quota_free steam_file_write steam_file_write_file steam_file_read steam_file_delete steam_file_exists steam_file_size steam_file_share steam_is_screenshot_requested steam_send_screenshot steam_is_user_logged_on steam_get_user_steam_id steam_user_owns_dlc steam_user_installed_dlc steam_set_achievement steam_get_achievement steam_clear_achievement steam_set_stat_int steam_set_stat_float steam_set_stat_avg_rate steam_get_stat_int steam_get_stat_float steam_get_stat_avg_rate steam_reset_all_stats steam_reset_all_stats_achievements steam_stats_ready steam_create_leaderboard steam_upload_score steam_upload_score_ext steam_download_scores_around_user steam_download_scores steam_download_friends_scores steam_upload_score_buffer steam_upload_score_buffer_ext steam_current_game_language steam_available_languages steam_activate_overlay_browser steam_activate_overlay_user steam_activate_overlay_store steam_get_user_persona_name steam_get_app_id steam_get_user_account_id steam_ugc_download steam_ugc_create_item steam_ugc_start_item_update steam_ugc_set_item_title steam_ugc_set_item_description steam_ugc_set_item_visibility steam_ugc_set_item_tags steam_ugc_set_item_content steam_ugc_set_item_preview steam_ugc_submit_item_update steam_ugc_get_item_update_progress steam_ugc_subscribe_item steam_ugc_unsubscribe_item steam_ugc_num_subscribed_items steam_ugc_get_subscribed_items steam_ugc_get_item_install_info steam_ugc_get_item_update_info steam_ugc_request_item_details steam_ugc_create_query_user steam_ugc_create_query_user_ex steam_ugc_create_query_all steam_ugc_create_query_all_ex steam_ugc_query_set_cloud_filename_filter steam_ugc_query_set_match_any_tag steam_ugc_query_set_search_text steam_ugc_query_set_ranked_by_trend_days steam_ugc_query_add_required_tag steam_ugc_query_add_excluded_tag steam_ugc_query_set_return_long_description steam_ugc_query_set_return_total_only steam_ugc_query_set_allow_cached_response steam_ugc_send_query shader_set shader_get_name shader_reset shader_current shader_is_compiled shader_get_sampler_index shader_get_uniform shader_set_uniform_i shader_set_uniform_i_array shader_set_uniform_f shader_set_uniform_f_array shader_set_uniform_matrix shader_set_uniform_matrix_array shader_enable_corner_id texture_set_stage texture_get_texel_width texture_get_texel_height shaders_are_supported vertex_format_begin vertex_format_end vertex_format_delete vertex_format_add_position vertex_format_add_position_3d vertex_format_add_colour vertex_format_add_color vertex_format_add_normal vertex_format_add_texcoord vertex_format_add_textcoord vertex_format_add_custom vertex_create_buffer vertex_create_buffer_ext vertex_delete_buffer vertex_begin vertex_end vertex_position vertex_position_3d vertex_colour vertex_color vertex_argb vertex_texcoord vertex_normal vertex_float1 vertex_float2 vertex_float3 vertex_float4 vertex_ubyte4 vertex_submit vertex_freeze vertex_get_number vertex_get_buffer_size vertex_create_buffer_from_buffer vertex_create_buffer_from_buffer_ext push_local_notification push_get_first_local_notification push_get_next_local_notification push_cancel_local_notification skeleton_animation_set skeleton_animation_get skeleton_animation_mix skeleton_animation_set_ext skeleton_animation_get_ext skeleton_animation_get_duration skeleton_animation_get_frames skeleton_animation_clear skeleton_skin_set skeleton_skin_get skeleton_attachment_set skeleton_attachment_get skeleton_attachment_create skeleton_collision_draw_set skeleton_bone_data_get skeleton_bone_data_set skeleton_bone_state_get skeleton_bone_state_set skeleton_get_minmax skeleton_get_num_bounds skeleton_get_bounds skeleton_animation_get_frame skeleton_animation_set_frame draw_skeleton draw_skeleton_time draw_skeleton_instance draw_skeleton_collision skeleton_animation_list skeleton_skin_list skeleton_slot_data layer_get_id layer_get_id_at_depth layer_get_depth layer_create layer_destroy layer_destroy_instances layer_add_instance layer_has_instance layer_set_visible layer_get_visible layer_exists layer_x layer_y layer_get_x layer_get_y layer_hspeed layer_vspeed layer_get_hspeed layer_get_vspeed layer_script_begin layer_script_end layer_shader layer_get_script_begin layer_get_script_end layer_get_shader layer_set_target_room layer_get_target_room layer_reset_target_room layer_get_all layer_get_all_elements layer_get_name layer_depth layer_get_element_layer layer_get_element_type layer_element_move layer_force_draw_depth layer_is_draw_depth_forced layer_get_forced_depth layer_background_get_id layer_background_exists layer_background_create layer_background_destroy layer_background_visible layer_background_change layer_background_sprite layer_background_htiled layer_background_vtiled layer_background_stretch layer_background_yscale layer_background_xscale layer_background_blend layer_background_alpha layer_background_index layer_background_speed layer_background_get_visible layer_background_get_sprite layer_background_get_htiled layer_background_get_vtiled layer_background_get_stretch layer_background_get_yscale layer_background_get_xscale layer_background_get_blend layer_background_get_alpha layer_background_get_index layer_background_get_speed layer_sprite_get_id layer_sprite_exists layer_sprite_create layer_sprite_destroy layer_sprite_change layer_sprite_index layer_sprite_speed layer_sprite_xscale layer_sprite_yscale layer_sprite_angle layer_sprite_blend layer_sprite_alpha layer_sprite_x layer_sprite_y layer_sprite_get_sprite layer_sprite_get_index layer_sprite_get_speed layer_sprite_get_xscale layer_sprite_get_yscale layer_sprite_get_angle layer_sprite_get_blend layer_sprite_get_alpha layer_sprite_get_x layer_sprite_get_y layer_tilemap_get_id layer_tilemap_exists layer_tilemap_create layer_tilemap_destroy tilemap_tileset tilemap_x tilemap_y tilemap_set tilemap_set_at_pixel tilemap_get_tileset tilemap_get_tile_width tilemap_get_tile_height tilemap_get_width tilemap_get_height tilemap_get_x tilemap_get_y tilemap_get tilemap_get_at_pixel tilemap_get_cell_x_at_pixel tilemap_get_cell_y_at_pixel tilemap_clear draw_tilemap draw_tile tilemap_set_global_mask tilemap_get_global_mask tilemap_set_mask tilemap_get_mask tilemap_get_frame tile_set_empty tile_set_index tile_set_flip tile_set_mirror tile_set_rotate tile_get_empty tile_get_index tile_get_flip tile_get_mirror tile_get_rotate layer_tile_exists layer_tile_create layer_tile_destroy layer_tile_change layer_tile_xscale layer_tile_yscale layer_tile_blend layer_tile_alpha layer_tile_x layer_tile_y layer_tile_region layer_tile_visible layer_tile_get_sprite layer_tile_get_xscale layer_tile_get_yscale layer_tile_get_blend layer_tile_get_alpha layer_tile_get_x layer_tile_get_y layer_tile_get_region layer_tile_get_visible layer_instance_get_instance instance_activate_layer instance_deactivate_layer camera_create camera_create_view camera_destroy camera_apply camera_get_active camera_get_default camera_set_default camera_set_view_mat camera_set_proj_mat camera_set_update_script camera_set_begin_script camera_set_end_script camera_set_view_pos camera_set_view_size camera_set_view_speed camera_set_view_border camera_set_view_angle camera_set_view_target camera_get_view_mat camera_get_proj_mat camera_get_update_script camera_get_begin_script camera_get_end_script camera_get_view_x camera_get_view_y camera_get_view_width camera_get_view_height camera_get_view_speed_x camera_get_view_speed_y camera_get_view_border_x camera_get_view_border_y camera_get_view_angle camera_get_view_target view_get_camera view_get_visible view_get_xport view_get_yport view_get_wport view_get_hport view_get_surface_id view_set_camera view_set_visible view_set_xport view_set_yport view_set_wport view_set_hport view_set_surface_id gesture_drag_time gesture_drag_distance gesture_flick_speed gesture_double_tap_time gesture_double_tap_distance gesture_pinch_distance gesture_pinch_angle_towards gesture_pinch_angle_away gesture_rotate_time gesture_rotate_angle gesture_tap_count gesture_get_drag_time gesture_get_drag_distance gesture_get_flick_speed gesture_get_double_tap_time gesture_get_double_tap_distance gesture_get_pinch_distance gesture_get_pinch_angle_towards gesture_get_pinch_angle_away gesture_get_rotate_time gesture_get_rotate_angle gesture_get_tap_count keyboard_virtual_show keyboard_virtual_hide keyboard_virtual_status keyboard_virtual_height",literal:"self other all noone global local undefined pointer_invalid pointer_null path_action_stop path_action_restart path_action_continue path_action_reverse true false pi GM_build_date GM_version GM_runtime_version  timezone_local timezone_utc gamespeed_fps gamespeed_microseconds  ev_create ev_destroy ev_step ev_alarm ev_keyboard ev_mouse ev_collision ev_other ev_draw ev_draw_begin ev_draw_end ev_draw_pre ev_draw_post ev_keypress ev_keyrelease ev_trigger ev_left_button ev_right_button ev_middle_button ev_no_button ev_left_press ev_right_press ev_middle_press ev_left_release ev_right_release ev_middle_release ev_mouse_enter ev_mouse_leave ev_mouse_wheel_up ev_mouse_wheel_down ev_global_left_button ev_global_right_button ev_global_middle_button ev_global_left_press ev_global_right_press ev_global_middle_press ev_global_left_release ev_global_right_release ev_global_middle_release ev_joystick1_left ev_joystick1_right ev_joystick1_up ev_joystick1_down ev_joystick1_button1 ev_joystick1_button2 ev_joystick1_button3 ev_joystick1_button4 ev_joystick1_button5 ev_joystick1_button6 ev_joystick1_button7 ev_joystick1_button8 ev_joystick2_left ev_joystick2_right ev_joystick2_up ev_joystick2_down ev_joystick2_button1 ev_joystick2_button2 ev_joystick2_button3 ev_joystick2_button4 ev_joystick2_button5 ev_joystick2_button6 ev_joystick2_button7 ev_joystick2_button8 ev_outside ev_boundary ev_game_start ev_game_end ev_room_start ev_room_end ev_no_more_lives ev_animation_end ev_end_of_path ev_no_more_health ev_close_button ev_user0 ev_user1 ev_user2 ev_user3 ev_user4 ev_user5 ev_user6 ev_user7 ev_user8 ev_user9 ev_user10 ev_user11 ev_user12 ev_user13 ev_user14 ev_user15 ev_step_normal ev_step_begin ev_step_end ev_gui ev_gui_begin ev_gui_end ev_cleanup ev_gesture ev_gesture_tap ev_gesture_double_tap ev_gesture_drag_start ev_gesture_dragging ev_gesture_drag_end ev_gesture_flick ev_gesture_pinch_start ev_gesture_pinch_in ev_gesture_pinch_out ev_gesture_pinch_end ev_gesture_rotate_start ev_gesture_rotating ev_gesture_rotate_end ev_global_gesture_tap ev_global_gesture_double_tap ev_global_gesture_drag_start ev_global_gesture_dragging ev_global_gesture_drag_end ev_global_gesture_flick ev_global_gesture_pinch_start ev_global_gesture_pinch_in ev_global_gesture_pinch_out ev_global_gesture_pinch_end ev_global_gesture_rotate_start ev_global_gesture_rotating ev_global_gesture_rotate_end vk_nokey vk_anykey vk_enter vk_return vk_shift vk_control vk_alt vk_escape vk_space vk_backspace vk_tab vk_pause vk_printscreen vk_left vk_right vk_up vk_down vk_home vk_end vk_delete vk_insert vk_pageup vk_pagedown vk_f1 vk_f2 vk_f3 vk_f4 vk_f5 vk_f6 vk_f7 vk_f8 vk_f9 vk_f10 vk_f11 vk_f12 vk_numpad0 vk_numpad1 vk_numpad2 vk_numpad3 vk_numpad4 vk_numpad5 vk_numpad6 vk_numpad7 vk_numpad8 vk_numpad9 vk_divide vk_multiply vk_subtract vk_add vk_decimal vk_lshift vk_lcontrol vk_lalt vk_rshift vk_rcontrol vk_ralt  mb_any mb_none mb_left mb_right mb_middle c_aqua c_black c_blue c_dkgray c_fuchsia c_gray c_green c_lime c_ltgray c_maroon c_navy c_olive c_purple c_red c_silver c_teal c_white c_yellow c_orange fa_left fa_center fa_right fa_top fa_middle fa_bottom pr_pointlist pr_linelist pr_linestrip pr_trianglelist pr_trianglestrip pr_trianglefan bm_complex bm_normal bm_add bm_max bm_subtract bm_zero bm_one bm_src_colour bm_inv_src_colour bm_src_color bm_inv_src_color bm_src_alpha bm_inv_src_alpha bm_dest_alpha bm_inv_dest_alpha bm_dest_colour bm_inv_dest_colour bm_dest_color bm_inv_dest_color bm_src_alpha_sat tf_point tf_linear tf_anisotropic mip_off mip_on mip_markedonly audio_falloff_none audio_falloff_inverse_distance audio_falloff_inverse_distance_clamped audio_falloff_linear_distance audio_falloff_linear_distance_clamped audio_falloff_exponent_distance audio_falloff_exponent_distance_clamped audio_old_system audio_new_system audio_mono audio_stereo audio_3d cr_default cr_none cr_arrow cr_cross cr_beam cr_size_nesw cr_size_ns cr_size_nwse cr_size_we cr_uparrow cr_hourglass cr_drag cr_appstart cr_handpoint cr_size_all spritespeed_framespersecond spritespeed_framespergameframe asset_object asset_unknown asset_sprite asset_sound asset_room asset_path asset_script asset_font asset_timeline asset_tiles asset_shader fa_readonly fa_hidden fa_sysfile fa_volumeid fa_directory fa_archive  ds_type_map ds_type_list ds_type_stack ds_type_queue ds_type_grid ds_type_priority ef_explosion ef_ring ef_ellipse ef_firework ef_smoke ef_smokeup ef_star ef_spark ef_flare ef_cloud ef_rain ef_snow pt_shape_pixel pt_shape_disk pt_shape_square pt_shape_line pt_shape_star pt_shape_circle pt_shape_ring pt_shape_sphere pt_shape_flare pt_shape_spark pt_shape_explosion pt_shape_cloud pt_shape_smoke pt_shape_snow ps_distr_linear ps_distr_gaussian ps_distr_invgaussian ps_shape_rectangle ps_shape_ellipse ps_shape_diamond ps_shape_line ty_real ty_string dll_cdecl dll_stdcall matrix_view matrix_projection matrix_world os_win32 os_windows os_macosx os_ios os_android os_symbian os_linux os_unknown os_winphone os_tizen os_win8native os_wiiu os_3ds  os_psvita os_bb10 os_ps4 os_xboxone os_ps3 os_xbox360 os_uwp os_tvos os_switch browser_not_a_browser browser_unknown browser_ie browser_firefox browser_chrome browser_safari browser_safari_mobile browser_opera browser_tizen browser_edge browser_windows_store browser_ie_mobile  device_ios_unknown device_ios_iphone device_ios_iphone_retina device_ios_ipad device_ios_ipad_retina device_ios_iphone5 device_ios_iphone6 device_ios_iphone6plus device_emulator device_tablet display_landscape display_landscape_flipped display_portrait display_portrait_flipped tm_sleep tm_countvsyncs of_challenge_win of_challen ge_lose of_challenge_tie leaderboard_type_number leaderboard_type_time_mins_secs cmpfunc_never cmpfunc_less cmpfunc_equal cmpfunc_lessequal cmpfunc_greater cmpfunc_notequal cmpfunc_greaterequal cmpfunc_always cull_noculling cull_clockwise cull_counterclockwise lighttype_dir lighttype_point iap_ev_storeload iap_ev_product iap_ev_purchase iap_ev_consume iap_ev_restore iap_storeload_ok iap_storeload_failed iap_status_uninitialised iap_status_unavailable iap_status_loading iap_status_available iap_status_processing iap_status_restoring iap_failed iap_unavailable iap_available iap_purchased iap_canceled iap_refunded fb_login_default fb_login_fallback_to_webview fb_login_no_fallback_to_webview fb_login_forcing_webview fb_login_use_system_account fb_login_forcing_safari  phy_joint_anchor_1_x phy_joint_anchor_1_y phy_joint_anchor_2_x phy_joint_anchor_2_y phy_joint_reaction_force_x phy_joint_reaction_force_y phy_joint_reaction_torque phy_joint_motor_speed phy_joint_angle phy_joint_motor_torque phy_joint_max_motor_torque phy_joint_translation phy_joint_speed phy_joint_motor_force phy_joint_max_motor_force phy_joint_length_1 phy_joint_length_2 phy_joint_damping_ratio phy_joint_frequency phy_joint_lower_angle_limit phy_joint_upper_angle_limit phy_joint_angle_limits phy_joint_max_length phy_joint_max_torque phy_joint_max_force phy_debug_render_aabb phy_debug_render_collision_pairs phy_debug_render_coms phy_debug_render_core_shapes phy_debug_render_joints phy_debug_render_obb phy_debug_render_shapes  phy_particle_flag_water phy_particle_flag_zombie phy_particle_flag_wall phy_particle_flag_spring phy_particle_flag_elastic phy_particle_flag_viscous phy_particle_flag_powder phy_particle_flag_tensile phy_particle_flag_colourmixing phy_particle_flag_colormixing phy_particle_group_flag_solid phy_particle_group_flag_rigid phy_particle_data_flag_typeflags phy_particle_data_flag_position phy_particle_data_flag_velocity phy_particle_data_flag_colour phy_particle_data_flag_color phy_particle_data_flag_category  achievement_our_info achievement_friends_info achievement_leaderboard_info achievement_achievement_info achievement_filter_all_players achievement_filter_friends_only achievement_filter_favorites_only achievement_type_achievement_challenge achievement_type_score_challenge achievement_pic_loaded  achievement_show_ui achievement_show_profile achievement_show_leaderboard achievement_show_achievement achievement_show_bank achievement_show_friend_picker achievement_show_purchase_prompt network_socket_tcp network_socket_udp network_socket_bluetooth network_type_connect network_type_disconnect network_type_data network_type_non_blocking_connect network_config_connect_timeout network_config_use_non_blocking_socket network_config_enable_reliable_udp network_config_disable_reliable_udp buffer_fixed buffer_grow buffer_wrap buffer_fast buffer_vbuffer buffer_network buffer_u8 buffer_s8 buffer_u16 buffer_s16 buffer_u32 buffer_s32 buffer_u64 buffer_f16 buffer_f32 buffer_f64 buffer_bool buffer_text buffer_string buffer_surface_copy buffer_seek_start buffer_seek_relative buffer_seek_end buffer_generalerror buffer_outofspace buffer_outofbounds buffer_invalidtype  text_type button_type input_type ANSI_CHARSET DEFAULT_CHARSET EASTEUROPE_CHARSET RUSSIAN_CHARSET SYMBOL_CHARSET SHIFTJIS_CHARSET HANGEUL_CHARSET GB2312_CHARSET CHINESEBIG5_CHARSET JOHAB_CHARSET HEBREW_CHARSET ARABIC_CHARSET GREEK_CHARSET TURKISH_CHARSET VIETNAMESE_CHARSET THAI_CHARSET MAC_CHARSET BALTIC_CHARSET OEM_CHARSET  gp_face1 gp_face2 gp_face3 gp_face4 gp_shoulderl gp_shoulderr gp_shoulderlb gp_shoulderrb gp_select gp_start gp_stickl gp_stickr gp_padu gp_padd gp_padl gp_padr gp_axislh gp_axislv gp_axisrh gp_axisrv ov_friends ov_community ov_players ov_settings ov_gamegroup ov_achievements lb_sort_none lb_sort_ascending lb_sort_descending lb_disp_none lb_disp_numeric lb_disp_time_sec lb_disp_time_ms ugc_result_success ugc_filetype_community ugc_filetype_microtrans ugc_visibility_public ugc_visibility_friends_only ugc_visibility_private ugc_query_RankedByVote ugc_query_RankedByPublicationDate ugc_query_AcceptedForGameRankedByAcceptanceDate ugc_query_RankedByTrend ugc_query_FavoritedByFriendsRankedByPublicationDate ugc_query_CreatedByFriendsRankedByPublicationDate ugc_query_RankedByNumTimesReported ugc_query_CreatedByFollowedUsersRankedByPublicationDate ugc_query_NotYetRated ugc_query_RankedByTotalVotesAsc ugc_query_RankedByVotesUp ugc_query_RankedByTextSearch ugc_sortorder_CreationOrderDesc ugc_sortorder_CreationOrderAsc ugc_sortorder_TitleAsc ugc_sortorder_LastUpdatedDesc ugc_sortorder_SubscriptionDateDesc ugc_sortorder_VoteScoreDesc ugc_sortorder_ForModeration ugc_list_Published ugc_list_VotedOn ugc_list_VotedUp ugc_list_VotedDown ugc_list_WillVoteLater ugc_list_Favorited ugc_list_Subscribed ugc_list_UsedOrPlayed ugc_list_Followed ugc_match_Items ugc_match_Items_Mtx ugc_match_Items_ReadyToUse ugc_match_Collections ugc_match_Artwork ugc_match_Videos ugc_match_Screenshots ugc_match_AllGuides ugc_match_WebGuides ugc_match_IntegratedGuides ugc_match_UsableInGame ugc_match_ControllerBindings  vertex_usage_position vertex_usage_colour vertex_usage_color vertex_usage_normal vertex_usage_texcoord vertex_usage_textcoord vertex_usage_blendweight vertex_usage_blendindices vertex_usage_psize vertex_usage_tangent vertex_usage_binormal vertex_usage_fog vertex_usage_depth vertex_usage_sample vertex_type_float1 vertex_type_float2 vertex_type_float3 vertex_type_float4 vertex_type_colour vertex_type_color vertex_type_ubyte4 layerelementtype_undefined layerelementtype_background layerelementtype_instance layerelementtype_oldtilemap layerelementtype_sprite layerelementtype_tilemap layerelementtype_particlesystem layerelementtype_tile tile_rotate tile_flip tile_mirror tile_index_mask kbv_type_default kbv_type_ascii kbv_type_url kbv_type_email kbv_type_numbers kbv_type_phone kbv_type_phone_name kbv_returnkey_default kbv_returnkey_go kbv_returnkey_google kbv_returnkey_join kbv_returnkey_next kbv_returnkey_route kbv_returnkey_search kbv_returnkey_send kbv_returnkey_yahoo kbv_returnkey_done kbv_returnkey_continue kbv_returnkey_emergency kbv_autocapitalize_none kbv_autocapitalize_words kbv_autocapitalize_sentences kbv_autocapitalize_characters",symbol:"argument_relative argument argument0 argument1 argument2 argument3 argument4 argument5 argument6 argument7 argument8 argument9 argument10 argument11 argument12 argument13 argument14 argument15 argument_count x|0 y|0 xprevious yprevious xstart ystart hspeed vspeed direction speed friction gravity gravity_direction path_index path_position path_positionprevious path_speed path_scale path_orientation path_endaction object_index id solid persistent mask_index instance_count instance_id room_speed fps fps_real current_time current_year current_month current_day current_weekday current_hour current_minute current_second alarm timeline_index timeline_position timeline_speed timeline_running timeline_loop room room_first room_last room_width room_height room_caption room_persistent score lives health show_score show_lives show_health caption_score caption_lives caption_health event_type event_number event_object event_action application_surface gamemaker_pro gamemaker_registered gamemaker_version error_occurred error_last debug_mode keyboard_key keyboard_lastkey keyboard_lastchar keyboard_string mouse_x mouse_y mouse_button mouse_lastbutton cursor_sprite visible sprite_index sprite_width sprite_height sprite_xoffset sprite_yoffset image_number image_index image_speed depth image_xscale image_yscale image_angle image_alpha image_blend bbox_left bbox_right bbox_top bbox_bottom layer background_colour  background_showcolour background_color background_showcolor view_enabled view_current view_visible view_xview view_yview view_wview view_hview view_xport view_yport view_wport view_hport view_angle view_hborder view_vborder view_hspeed view_vspeed view_object view_surface_id view_camera game_id game_display_name game_project_name game_save_id working_directory temp_directory program_directory browser_width browser_height os_type os_device os_browser os_version display_aa async_load delta_time webgl_enabled event_data iap_data phy_rotation phy_position_x phy_position_y phy_angular_velocity phy_linear_velocity_x phy_linear_velocity_y phy_speed_x phy_speed_y phy_speed phy_angular_damping phy_linear_damping phy_bullet phy_fixed_rotation phy_active phy_mass phy_inertia phy_com_x phy_com_y phy_dynamic phy_kinematic phy_sleeping phy_collision_points phy_collision_x phy_collision_y phy_col_normal_x phy_col_normal_y phy_position_xprevious phy_position_yprevious"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}},10655:function(e,t){e.exports=function(e){const t={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"true false iota nil",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{name:"Go",aliases:["golang"],keywords:t,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:e.C_NUMBER_RE+"[i]",relevance:1},e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,illegal:/["']/}]}]}}},10656:function(e,t){e.exports=function(e){return{name:"Golo",keywords:{keyword:"println readln print import module function local return let var while for foreach times in case when match with break continue augment augmentation each find filter reduce if then else otherwise try catch finally raise throw orIfNull DynamicObject|10 DynamicVariable struct Observable map set vector list array",literal:"true false null"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}},10657:function(e,t){e.exports=function(e){return{name:"Gradle",case_insensitive:!0,keywords:{keyword:"task project allprojects subprojects artifacts buildscript configurations dependencies repositories sourceSets description delete from into include exclude source classpath destinationDir includes options sourceCompatibility targetCompatibility group flatDir doLast doFirst flatten todir fromdir ant def abstract break case catch continue default do else extends final finally for if implements instanceof native new private protected public return static switch synchronized throw throws transient try volatile while strictfp package import false null super this true antlrtask checkstyle codenarc copy boolean byte char class double float int interface long short void compile runTime file fileTree abs any append asList asWritable call collect compareTo count div dump each eachByte eachFile eachLine every find findAll flatten getAt getErr getIn getOut getText grep immutable inject inspect intersect invokeMethods isCase join leftShift minus multiply newInputStream newOutputStream newPrintWriter newReader newWriter next plus pop power previous print println push putAt read readBytes readLines reverse reverseEach round size sort splitEachLine step subMap times toInteger toList tokenize upto waitForOrKill withPrintWriter withReader withStream withWriter withWriterAppend write writeLine"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.REGEXP_MODE]}}},10658:function(e,t){function n(e){return function(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}("(?=",e,")")}function a(e,t={}){return t.variants=e,t}e.exports=function(e){const t=a([e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),i={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[e.BACKSLASH_ESCAPE]},r=a([e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]),s=a([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE],{className:"string"});return{name:"Groovy",keywords:{built_in:"this super",literal:"true false null",keyword:"byte short char int long boolean float double void def as in assert trait abstract static volatile transient public private protected synchronized final class interface enum if else for while switch case break default continue throw throws try catch finally implements extends new import package return instanceof"},contains:[e.SHEBANG({binary:"groovy",relevance:10}),t,s,i,r,{className:"class",beginKeywords:"class interface trait enum",end:/\{/,illegal:":",contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:"[A-Za-z0-9_$]+[ \t]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[t,s,i,r,"self"]},{className:"symbol",begin:"^[ \t]*"+n("[A-Za-z0-9_$]+:"),excludeBegin:!0,end:"[A-Za-z0-9_$]+:",relevance:0}],illegal:/#|<\//}}},10659:function(e,t){e.exports=function(e){return{name:"HAML",case_insensitive:!0,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},e.COMMENT("^\\s*(!=#|=#|-#|/).*$",!1,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",starts:{end:"\\n",subLanguage:"ruby"}},{className:"tag",begin:"^\\s*%",contains:[{className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:/\{\s*/,end:/\s*\}/,contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,starts:{end:/\}/,subLanguage:"ruby"}}]}}},10660:function(e,t){function n(e){return e?"string"==typeof e?e:e.source:null}function a(...e){return e.map(e=>n(e)).join("")}e.exports=function(e){const t={"builtin-name":["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},i=/\[\]|\[[^\]]+\]/,r=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,s=function(...e){return"("+e.map(e=>n(e)).join("|")+")"}(/""|"[^"]+"/,/''|'[^']+'/,i,r),o=a(a("(",/\.|\.\/|\//,")?"),s,function(e){return a("(",e,")*")}(a(/(\.|\/)/,s))),l=a("(",i,"|",r,")(?==)"),c={begin:o,lexemes:/[\w.\/]+/},_=e.inherit(c,{keywords:{literal:["true","false","undefined","null"]}}),d={begin:/\(/,end:/\)/},m={className:"attr",begin:l,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,_,d]}}},u={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},m,_,d],returnEnd:!0},p=e.inherit(c,{className:"name",keywords:t,starts:e.inherit(u,{end:/\)/})});d.contains=[p];const E=e.inherit(c,{keywords:t,className:"name",starts:e.inherit(u,{end:/\}\}/})}),g=e.inherit(c,{keywords:t,className:"name"}),S=e.inherit(c,{className:"name",keywords:t,starts:e.inherit(u,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[E],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[g]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[E]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[g]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[S]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[S]}]}}},10661:function(e,t){e.exports=function(e){const t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},n={className:"meta",begin:/\{-#/,end:/#-\}/},a={className:"meta",begin:"^#",end:"$"},i={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},r={begin:"\\(",end:"\\)",illegal:'"',contains:[n,a,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),t]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[r,t],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[r,t],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[i,r,t]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[n,i,r,{begin:/\{/,end:/\}/,contains:r.contains},t]},{beginKeywords:"default",end:"$",contains:[i,r,t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[i,e.QUOTE_STRING_MODE,t]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},n,a,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,i,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}]}}},10662:function(e,t){e.exports=function(e){return{name:"Haxe",aliases:["hx"],keywords:{keyword:"break case cast catch continue default do dynamic else enum extern for function here if import in inline never new override package private get set public return static super switch this throw trace try typedef untyped using var while Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"},{className:"subst",begin:"\\$",end:/\W\}/}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"@:",end:"$"},{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elseif end error"}},{className:"type",begin:":[ \t]*",end:"[^A-Za-z0-9_ \t\\->]",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:":[ \t]*",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"new *",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"class",beginKeywords:"enum",end:"\\{",contains:[e.TITLE_MODE]},{className:"class",beginKeywords:"abstract",end:"[\\{$]",contains:[{className:"type",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"from +",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"to +",end:"\\W",excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"class",begin:"\\b(class|interface) +",end:"[\\{$]",excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:"\\b(extends|implements) +",keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"function",beginKeywords:"function",end:"\\(",excludeEnd:!0,illegal:"\\S",contains:[e.TITLE_MODE]}],illegal:/<\//}}},10663:function(e,t){e.exports=function(e){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),e.NUMBER_MODE,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},e.NUMBER_MODE,e.C_NUMBER_MODE]}}},10664:function(e,t){function n(e){return e?"string"==typeof e?e:e.source:null}function a(...e){return e.map(e=>n(e)).join("")}function i(e){const t={"builtin-name":["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},i=/\[\]|\[[^\]]+\]/,r=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,s=function(...e){return"("+e.map(e=>n(e)).join("|")+")"}(/""|"[^"]+"/,/''|'[^']+'/,i,r),o=a(a("(",/\.|\.\/|\//,")?"),s,function(e){return a("(",e,")*")}(a(/(\.|\/)/,s)));const l=a("(",i,"|",r,")(?==)"),c={begin:o,lexemes:/[\w.\/]+/},_=e.inherit(c,{keywords:{literal:["true","false","undefined","null"]}}),d={begin:/\(/,end:/\)/},m={className:"attr",begin:l,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,_,d]}}},u={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},m,_,d],returnEnd:!0},p=e.inherit(c,{className:"name",keywords:t,starts:e.inherit(u,{end:/\)/})});d.contains=[p];const E=e.inherit(c,{keywords:t,className:"name",starts:e.inherit(u,{end:/\}\}/})}),g=e.inherit(c,{keywords:t,className:"name"}),S=e.inherit(c,{className:"name",keywords:t,starts:e.inherit(u,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[E],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[g]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[E]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[g]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[S]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[S]}]}}e.exports=function(e){const t=i(e);return t.name="HTMLbars",e.getLanguage("handlebars")&&(t.disableAutodetect=!0),t}},10665:function(e,t){function n(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}e.exports=function(e){const t="HTTP/(2|1\\.[01])",a=[{className:"attribute",begin:n("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+t+" \\d{3})",end:/$/,contains:[{className:"meta",begin:t},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:a}},{begin:"(?=^[A-Z]+ (.*?) "+t+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:t},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:a}}]}}},10666:function(e,t){e.exports=function(e){var t="[a-zA-Z_\\-!.?+*=<>&#'][a-zA-Z_\\-!.?+*=<>&#'0-9/;:]*",n={$pattern:t,"builtin-name":"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},a={begin:t,relevance:0},i={className:"number",begin:"[-+]?\\d+(\\.\\d+)?",relevance:0},r=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),s=e.COMMENT(";","$",{relevance:0}),o={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},l={begin:"[\\[\\{]",end:"[\\]\\}]"},c={className:"comment",begin:"\\^"+t},_=e.COMMENT("\\^\\{","\\}"),d={className:"symbol",begin:"[:]{1,2}"+t},m={begin:"\\(",end:"\\)"},u={endsWithParent:!0,relevance:0},p={className:"name",relevance:0,keywords:n,begin:t,starts:u},E=[m,r,c,_,s,d,l,i,o,a];return m.contains=[e.COMMENT("comment",""),p,u],u.contains=E,l.contains=E,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[e.SHEBANG(),m,r,c,_,s,d,l,i,o]}}},10667:function(e,t){e.exports=function(e){return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:"\\[",end:"\\]"}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:"\\[",end:"\\]",contains:["self"]}]}}},10668:function(e,t){function n(e){return e?"string"==typeof e?e:e.source:null}function a(...e){return e.map(e=>n(e)).join("")}e.exports=function(e){const t={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},i=e.COMMENT();i.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const r={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},s={className:"literal",begin:/\bon|off|true|false|yes|no\b/},o={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},l={begin:/\[/,end:/\]/,contains:[i,s,r,o,t,"self"],relevance:0},c=function(...e){return"("+e.map(e=>n(e)).join("|")+")"}(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[i,{className:"section",begin:/\[+/,end:/\]+/},{begin:a(c,"(\\s*\\.\\s*",c,")*",a("(?=",/\s*=\s*[^#\s]/,")")),className:"attr",starts:{end:/$/,contains:[i,l,s,r,o,t]}}]}}},10669:function(e,t){function n(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}e.exports=function(e){const t=/(_[a-z_\d]+)?/,a=/([de][+-]?\d+)?/,i={className:"number",variants:[{begin:n(/\b\d+/,/\.(\d*)/,a,t)},{begin:n(/\b\d+/,a,t)},{begin:n(/\.\d+/,a,t)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated  c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),i]}}},10670:function(e,t){e.exports=function(e){const t="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",n={className:"number",begin:e.NUMBER_RE,relevance:0},a={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},i={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},r={variants:[{className:"comment",begin:"//",end:"$",relevance:0,contains:[e.PHRASAL_WORDS_MODE,i]},{className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[e.PHRASAL_WORDS_MODE,i]}]},s={$pattern:t,keyword:"and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",built_in:"SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING  SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE smHidden smMaximized smMinimized smNormal wmNo wmYes COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID RESULT_VAR_NAME RESULT_VAR_NAME_ENG AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ISBL_SYNTAX NO_SYNTAX XML_SYNTAX WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP atUser atGroup atRole aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty apBegin apEnd alLeft alRight asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways cirCommon cirRevoked ctSignature ctEncode ctSignatureEncode clbUnchecked clbChecked clbGrayed ceISB ceAlways ceNever ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob cfInternal cfDisplay ciUnspecified ciWrite ciRead ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton cctDate cctInteger cctNumeric cctPick cctReference cctString cctText cltInternal cltPrimary cltGUI dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange dssEdit dssInsert dssBrowse dssInActive dftDate dftShortDate dftDateTime dftTimeStamp dotDays dotHours dotMinutes dotSeconds dtkndLocal dtkndUTC arNone arView arEdit arFull ddaView ddaEdit emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ecotFile ecotProcess eaGet eaCopy eaCreate eaCreateStandardRoute edltAll edltNothing edltQuery essmText essmCard esvtLast esvtLastActive esvtSpecified edsfExecutive edsfArchive edstSQLServer edstFile edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile vsDefault vsDesign vsActive vsObsolete etNone etCertificate etPassword etCertificatePassword ecException ecWarning ecInformation estAll estApprovingOnly evtLast evtLastActive evtQuery fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch grhAuto grhX1 grhX2 grhX3 hltText hltRTF hltHTML iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG im8bGrayscale im24bRGB im1bMonochrome itBMP itJPEG itWMF itPNG ikhInformation ikhWarning ikhError ikhNoIcon icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler isShow isHide isByUserSettings jkJob jkNotice jkControlJob jtInner jtLeft jtRight jtFull jtCross lbpAbove lbpBelow lbpLeft lbpRight eltPerConnection eltPerUser sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac sfsItalic sfsStrikeout sfsNormal ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom vtEqual vtGreaterOrEqual vtLessOrEqual vtRange rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth rdWindow rdFile rdPrinter rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument reOnChange reOnChangeValues ttGlobal ttLocal ttUser ttSystem ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal smSelect smLike smCard stNone stAuthenticating stApproving sctString sctStream sstAnsiSort sstNaturalSort svtEqual svtContain soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown tarAbortByUser tarAbortByWorkflowException tvtAllWords tvtExactPhrase tvtAnyWord usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected btAnd btDetailAnd btOr btNotOr btOnly vmView vmSelect vmNavigation vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection wfatPrevious wfatNext wfatCancel wfatFinish wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 wfetQueryParameter wfetText wfetDelimiter wfetLabel wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal waAll waPerformers waManual wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection wiLow wiNormal wiHigh wrtSoft wrtHard wsInit wsRunning wsDone wsControlled wsAborted wsContinued wtmFull wtmFromCurrent wtmOnlyCurrent ",class:"AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",literal:"null true false nil "},o={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,keywords:s,relevance:0},l={className:"type",begin:":[ \\t]*("+"IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ".trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},c={className:"variable",keywords:s,begin:t,relevance:0,contains:[l,o]};return{name:"ISBL",aliases:["isbl"],case_insensitive:!0,keywords:s,illegal:"\\$|\\?|%|,|;$|~|#|@|</",contains:[{className:"function",begin:"[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*\\(",end:"\\)$",returnBegin:!0,keywords:s,illegal:"[\\[\\]\\|\\$\\?%,~#@]",contains:[{className:"title",keywords:{$pattern:t,built_in:"AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр "},begin:"[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*\\(",end:"\\(",returnBegin:!0,excludeEnd:!0},o,c,a,n,r]},l,o,c,a,n,r]}}},10671:function(e,t){var n="\\.([0-9](_*[0-9])*)",a="[0-9a-fA-F](_*[0-9a-fA-F])*",i={className:"number",variants:[{begin:`(\\b([0-9](_*[0-9])*)((${n})|\\.)?|(${n}))[eE][+-]?([0-9](_*[0-9])*)[fFdD]?\\b`},{begin:`\\b([0-9](_*[0-9])*)((${n})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${n})[fFdD]?\\b`},{begin:"\\b([0-9](_*[0-9])*)[fFdD]\\b"},{begin:`\\b0[xX]((${a})\\.?|(${a})?\\.(${a}))[pP][+-]?([0-9](_*[0-9])*)[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${a})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};e.exports=function(e){var t="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",n="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",a={className:"meta",begin:"@"+t,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]};const r=i;return{name:"Java",aliases:["jsp"],keywords:n,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface enum",end:/[{;=]/,excludeEnd:!0,relevance:1,keywords:"class interface enum",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"class",begin:"record\\s+"+e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,excludeEnd:!0,end:/[{;=]/,keywords:n,contains:[{beginKeywords:"record"},{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:n,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"function",begin:"([À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(<[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(\\s*,\\s*[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*)*>)?\\s+)+"+e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:n,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:n,relevance:0,contains:[a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},r,a]}}},10672:function(e,t){const n=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],a=["true","false","null","undefined","NaN","Infinity"],i=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function r(e){return s("(?=",e,")")}function s(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}e.exports=function(e){const t="[A-Za-z$_][0-9A-Za-z$_]*",o="<>",l="</>",c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const n=e[0].length+e.index,a=e.input[n];"<"!==a?">"===a&&(((e,{after:t})=>{const n="</"+e[0].slice(1);return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch()):t.ignoreMatch()}},_={$pattern:"[A-Za-z$_][0-9A-Za-z$_]*",keyword:n,literal:a,built_in:i},d="\\.([0-9](_?[0-9])*)",m={className:"number",variants:[{begin:`(\\b(0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*)((${d})|\\.)?|(${d}))[eE][+-]?([0-9](_?[0-9])*)\\b`},{begin:`\\b(0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*)\\b((${d})\\b|\\.)?|(${d})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:_,contains:[]},p={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},E={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},g={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},S={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:t+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},b=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,E,g,m,e.REGEXP_MODE];u.contains=b.concat({begin:/\{/,end:/\}/,keywords:_,contains:["self"].concat(b)});const T=[].concat(S,u.contains),f=T.concat([{begin:/\(/,end:/\)/,keywords:_,contains:["self"].concat(T)}]),C={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:f};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:_,exports:{PARAMS_CONTAINS:f},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,E,g,S,m,{begin:s(/[{,\n]\s*/,r(s(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,t+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:t+r("\\s*:"),relevance:0}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[S,e.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:f}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:o,end:l},{begin:c.begin,"on:begin":c.isTrulyOpeningTag,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:_,contains:["self",e.inherit(e.TITLE_MODE,{begin:t}),C],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[C,e.inherit(e.TITLE_MODE,{begin:t})]},{variants:[{begin:"\\."+t},{begin:"\\$"+t}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:t}),"self",C]},{begin:"(get|set)\\s+(?="+t+"\\()",end:/\{/,keywords:"get set",contains:[e.inherit(e.TITLE_MODE,{begin:t}),{begin:/\(\)/},C]},{begin:/\$[(.]/}]}}},10673:function(e,t){e.exports=function(e){const t={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"params",begin:/--[\w\-=\/]+/},{className:"function",begin:/:[\w\-.]+/,relevance:0},{className:"string",begin:/\B([\/.])[\w\-.\/=]+/},t]}}},10674:function(e,t){e.exports=function(e){const t={literal:"true false null"},n=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],a=[e.QUOTE_STRING_MODE,e.C_NUMBER_MODE],i={end:",",endsWithParent:!0,excludeEnd:!0,contains:a,keywords:t},r={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE],illegal:"\\n"},e.inherit(i,{begin:/:/})].concat(n),illegal:"\\S"},s={begin:"\\[",end:"\\]",contains:[e.inherit(i)],illegal:"\\S"};return a.push(r,s),n.forEach((function(e){a.push(e)})),{name:"JSON",contains:a,keywords:t,illegal:"\\S"}}},10675:function(e,t){e.exports=function(e){var t="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",n={$pattern:t,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},a={keywords:n,illegal:/<\//},i={className:"subst",begin:/\$\(/,end:/\)/,keywords:n},r={className:"variable",begin:"\\$"+t},s={className:"string",contains:[e.BACKSLASH_ESCAPE,i,r],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},o={className:"string",contains:[e.BACKSLASH_ESCAPE,i,r],begin:"`",end:"`"},l={className:"meta",begin:"@"+t};return a.name="Julia",a.contains=[{className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},{className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},s,o,l,{className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]},e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],i.contains=a.contains,a}},10676:function(e,t){e.exports=function(e){return{name:"Julia REPL",contains:[{className:"meta",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"},aliases:["jldoctest"]}]}}},10677:function(e,t){var n="\\.([0-9](_*[0-9])*)",a="[0-9a-fA-F](_*[0-9a-fA-F])*",i={className:"number",variants:[{begin:`(\\b([0-9](_*[0-9])*)((${n})|\\.)?|(${n}))[eE][+-]?([0-9](_*[0-9])*)[fFdD]?\\b`},{begin:`\\b([0-9](_*[0-9])*)((${n})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${n})[fFdD]?\\b`},{begin:"\\b([0-9](_*[0-9])*)[fFdD]\\b"},{begin:`\\b0[xX]((${a})\\.?|(${a})?\\.(${a}))[pP][+-]?([0-9](_*[0-9])*)[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${a})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};e.exports=function(e){const t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},n={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},a={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},r={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},s={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[r,a]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,r,a]}]};a.contains.push(s);const o={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},l={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(s,{className:"meta-string"})]}]},c=i,_=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),d={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},m=d;return m.variants[1].contains=[d],d.variants[1].contains=[m],{name:"Kotlin",aliases:["kt"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,_,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},n,o,l,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[d,e.C_LINE_COMMENT_MODE,_],relevance:0},e.C_LINE_COMMENT_MODE,_,o,l,s,e.C_NUMBER_MODE]},_]},{className:"class",beginKeywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,]|$/,excludeBegin:!0,returnEnd:!0},o,l]},s,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},c]}}},10678:function(e,t){e.exports=function(e){const t="\\]|\\?>",n={$pattern:"[a-zA-Z_][\\w.]*|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},a=e.COMMENT("\x3c!--","--\x3e",{relevance:0}),i={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[a]}},r={className:"meta",begin:"\\[/noprocess|<\\?(lasso(script)?|=)"},s={className:"symbol",begin:"'[a-zA-Z_][\\w.]*'"},o=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$][a-zA-Z_][\\w.]*"},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:"[a-zA-Z_][\\w.]*",illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)[a-zA-Z_][\\w.]*",relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[s]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z_][\\w.]*(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:n,contains:[{className:"meta",begin:t,relevance:0,starts:{end:"\\[|<\\?(lasso(script)?|=)",returnEnd:!0,relevance:0,contains:[a]}},i,r,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:n,contains:[{className:"meta",begin:t,relevance:0,starts:{end:"\\[noprocess\\]|<\\?(lasso(script)?|=)",returnEnd:!0,contains:[a]}},i,r].concat(o)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(o)}}},10679:function(e,t){e.exports=function(e){const t=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],n=[{className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:function(...e){return"("+e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("|")+")"}(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(e=>e+"(?![a-zA-Z@:_])"))},{endsParent:!0,begin:new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(e=>e+"(?![a-zA-Z:_])").join("|"))},{endsParent:!0,variants:t},{endsParent:!0,relevance:0,variants:[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}]}]},{className:"params",relevance:0,begin:/#+\d?/},{variants:t},{className:"built_in",relevance:0,begin:/[$&^_]/},{className:"meta",begin:"% !TeX",end:"$",relevance:10},e.COMMENT("%","$",{relevance:0})],a={begin:/\{/,end:/\}/,relevance:0,contains:["self",...n]},i=e.inherit(a,{relevance:0,endsParent:!0,contains:[a,...n]}),r={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[a,...n]},s={begin:/\s+/,relevance:0},o=[i],l=[r],c=function(e,t){return{contains:[s],starts:{relevance:0,contains:e,starts:t}}},_=function(e,t){return{begin:"\\\\"+e+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+e},relevance:0,contains:[s],starts:t}},d=function(t,n){return e.inherit({begin:"\\\\begin(?=[ \t]*(\\r?\\n[ \t]*)?\\{"+t+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},c(o,n))},m=(t="string")=>e.END_SAME_AS_BEGIN({className:t,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),u=function(e){return{className:"string",end:"(?=\\\\end\\{"+e+"\\})"}},p=(e="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:e,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}});return{name:"LaTeX",aliases:["TeX"],contains:[...[...["verb","lstinline"].map(e=>_(e,{contains:[m()]})),_("mint",c(o,{contains:[m()]})),_("mintinline",c(o,{contains:[p(),m()]})),_("url",{contains:[p("link"),p("link")]}),_("hyperref",{contains:[p("link")]}),_("href",c(l,{contains:[p("link")]})),...[].concat(...["","\\*"].map(e=>[d("verbatim"+e,u("verbatim"+e)),d("filecontents"+e,c(o,u("filecontents"+e))),...["","B","L"].map(t=>d(t+"Verbatim"+e,c(l,u(t+"Verbatim"+e))))])),d("minted",c(l,c(o,u("minted"))))],...n]}}},10680:function(e,t){e.exports=function(e){return{name:"LDIF",contains:[{className:"attribute",begin:"^dn",end:": ",excludeEnd:!0,starts:{end:"$",relevance:0},relevance:10},{className:"attribute",begin:"^\\w",end:": ",excludeEnd:!0,starts:{end:"$",relevance:0}},{className:"literal",begin:"^-",end:"$"},e.HASH_COMMENT_MODE]}}},10681:function(e,t){e.exports=function(e){return{name:"Leaf",contains:[{className:"function",begin:"#+[A-Za-z_0-9]*\\(",end:/ \{/,returnBegin:!0,excludeEnd:!0,contains:[{className:"keyword",begin:"#+"},{className:"title",begin:"[A-Za-z_][A-Za-z_0-9]*"},{className:"params",begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"string",begin:'"',end:'"'},{className:"variable",begin:"[A-Za-z_][A-Za-z_0-9]*"}]}]}]}}},10682:function(e,t){const n=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],a=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],i=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],r=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],s=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse(),o=i.concat(r);e.exports=function(e){const t=(e=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}}))(e),l=o,c=[],_=[],d=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},m=function(e,t,n){return{className:e,begin:t,relevance:n}},u={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:a.join(" ")},p={begin:"\\(",end:"\\)",contains:_,keywords:u,relevance:0};_.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,d("'"),d('"'),e.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,p,m("variable","@@?[\\w-]+",10),m("variable","@\\{[\\w-]+\\}"),m("built_in","~?`[^`]*?`"),{className:"attribute",begin:"[\\w-]+\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT);const E=_.concat({begin:/\{/,end:/\}/,contains:c}),g={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(_)},S={begin:"([\\w-]+|@\\{[\\w-]+\\})\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},{className:"attribute",begin:"\\b("+s.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:_}}]},b={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:u,returnEnd:!0,contains:_,relevance:0}},T={className:"variable",variants:[{begin:"@[\\w-]+\\s*:",relevance:15},{begin:"@[\\w-]+"}],starts:{end:"[;}]",returnEnd:!0,contains:E}},f={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:"([\\w-]+|@\\{[\\w-]+\\})",end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,g,m("keyword","all\\b"),m("variable","@\\{[\\w-]+\\}"),{begin:"\\b("+n.join("|")+")\\b",className:"selector-tag"},m("selector-tag","([\\w-]+|@\\{[\\w-]+\\})%?",0),m("selector-id","#([\\w-]+|@\\{[\\w-]+\\})"),m("selector-class","\\.([\\w-]+|@\\{[\\w-]+\\})",0),m("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+i.join("|")+")"},{className:"selector-pseudo",begin:"::("+r.join("|")+")"},{begin:"\\(",end:"\\)",contains:E},{begin:"!important"}]},C={begin:`[\\w-]+:(:)?(${l.join("|")})`,returnBegin:!0,contains:[f]};return c.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,b,T,C,S,f),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:c}}},10683:function(e,t){e.exports=function(e){var t="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",n="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",a={className:"literal",begin:"\\b(t{1}|nil)\\b"},i={className:"number",variants:[{begin:n,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+n+" +"+n,end:"\\)"}]},r=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),s=e.COMMENT(";","$",{relevance:0}),o={begin:"\\*",end:"\\*"},l={className:"symbol",begin:"[:&]"+t},c={begin:t,relevance:0},_={begin:"\\|[^]*?\\|"},d={contains:[i,r,o,l,{begin:"\\(",end:"\\)",contains:["self",a,r,i,c]},c],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'\\|[^]*?\\|"}]},m={variants:[{begin:"'"+t},{begin:"#'"+t+"(::"+t+")*"}]},u={begin:"\\(\\s*",end:"\\)"},p={endsWithParent:!0,relevance:0};return u.contains=[{className:"name",variants:[{begin:t,relevance:0},{begin:"\\|[^]*?\\|"}]},p],p.contains=[d,m,u,a,i,r,s,o,l,_,c],{name:"Lisp",illegal:/\S/,contains:[i,e.SHEBANG(),a,r,s,d,m,u,c]}}},10684:function(e,t){e.exports=function(e){const t={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},n=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],a=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),i=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,a]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[i,a],relevance:0},{beginKeywords:"command on",end:"$",contains:[t,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,a]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,a].concat(n),illegal:";$|^\\[|^=|&|\\{"}}},10685:function(e,t){const n=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],a=["true","false","null","undefined","NaN","Infinity"],i=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);e.exports=function(e){const t={keyword:n.concat(["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"]),literal:a.concat(["yes","no","on","off","it","that","void"]),built_in:i.concat(["npm","print"])},r="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",s=e.inherit(e.TITLE_MODE,{begin:r}),o={className:"subst",begin:/#\{/,end:/\}/,keywords:t},l={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:t},c=[e.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,o,l]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,o,l]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[o,e.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+r},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];o.contains=c;const _={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(c)}]};return{name:"LiveScript",aliases:["ls"],keywords:t,illegal:/\/\*/,contains:c.concat([e.COMMENT("\\/\\*","\\*\\/"),e.HASH_COMMENT_MODE,{begin:"(#=>|=>|\\|>>|-?->|!->)"},{className:"function",contains:[s,_],returnBegin:!0,variants:[{begin:"("+r+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+r+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+r+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[s]},s]},{begin:r+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}},10686:function(e,t){function n(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}e.exports=function(e){const t=/([-a-zA-Z$._][\w$.-]*)/,a={className:"variable",variants:[{begin:n(/%/,t)},{begin:/%\d+/},{begin:/#\d+/}]},i={className:"title",variants:[{begin:n(/@/,t)},{begin:/@\d+/},{begin:n(/!/,t)},{begin:n(/!\d+/,t)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[{className:"type",begin:/\bi\d+(?=\s|\b)/},e.COMMENT(/;\s*$/,null,{relevance:0}),e.COMMENT(/;/,/$/),e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:/"/,end:/[^\\]"/}]},i,{className:"punctuation",relevance:0,begin:/,/},{className:"operator",relevance:0,begin:/=/},a,{className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},{className:"number",variants:[{begin:/0[xX][a-fA-F0-9]+/},{begin:/-?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0}]}}},10687:function(e,t){e.exports=function(e){var t={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},n={className:"number",relevance:0,begin:e.C_NUMBER_RE};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[t,{className:"comment",variants:[e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/")],relevance:0},n,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},{className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"},{className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}},10688:function(e,t){e.exports=function(e){const t={begin:"\\[=*\\[",end:"\\]=*\\]",contains:["self"]},n=[e.COMMENT("--(?!\\[=*\\[)","$"),e.COMMENT("--\\[=*\\[","\\]=*\\]",{contains:[t],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:n.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:n}].concat(n)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\[=*\\[",end:"\\]=*\\]",contains:[t],relevance:5}])}}},10689:function(e,t){e.exports=function(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},a={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t]},i={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},r={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,t,n,a,i,{className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,"meta-keyword":".PHONY"}},r]}}},10690:function(e,t){const n=["AASTriangle","AbelianGroup","Abort","AbortKernels","AbortProtect","AbortScheduledTask","Above","Abs","AbsArg","AbsArgPlot","Absolute","AbsoluteCorrelation","AbsoluteCorrelationFunction","AbsoluteCurrentValue","AbsoluteDashing","AbsoluteFileName","AbsoluteOptions","AbsolutePointSize","AbsoluteThickness","AbsoluteTime","AbsoluteTiming","AcceptanceThreshold","AccountingForm","Accumulate","Accuracy","AccuracyGoal","ActionDelay","ActionMenu","ActionMenuBox","ActionMenuBoxOptions","Activate","Active","ActiveClassification","ActiveClassificationObject","ActiveItem","ActivePrediction","ActivePredictionObject","ActiveStyle","AcyclicGraphQ","AddOnHelpPath","AddSides","AddTo","AddToSearchIndex","AddUsers","AdjacencyGraph","AdjacencyList","AdjacencyMatrix","AdjacentMeshCells","AdjustmentBox","AdjustmentBoxOptions","AdjustTimeSeriesForecast","AdministrativeDivisionData","AffineHalfSpace","AffineSpace","AffineStateSpaceModel","AffineTransform","After","AggregatedEntityClass","AggregationLayer","AircraftData","AirportData","AirPressureData","AirTemperatureData","AiryAi","AiryAiPrime","AiryAiZero","AiryBi","AiryBiPrime","AiryBiZero","AlgebraicIntegerQ","AlgebraicNumber","AlgebraicNumberDenominator","AlgebraicNumberNorm","AlgebraicNumberPolynomial","AlgebraicNumberTrace","AlgebraicRules","AlgebraicRulesData","Algebraics","AlgebraicUnitQ","Alignment","AlignmentMarker","AlignmentPoint","All","AllowAdultContent","AllowedCloudExtraParameters","AllowedCloudParameterExtensions","AllowedDimensions","AllowedFrequencyRange","AllowedHeads","AllowGroupClose","AllowIncomplete","AllowInlineCells","AllowKernelInitialization","AllowLooseGrammar","AllowReverseGroupClose","AllowScriptLevelChange","AllowVersionUpdate","AllTrue","Alphabet","AlphabeticOrder","AlphabeticSort","AlphaChannel","AlternateImage","AlternatingFactorial","AlternatingGroup","AlternativeHypothesis","Alternatives","AltitudeMethod","AmbientLight","AmbiguityFunction","AmbiguityList","Analytic","AnatomyData","AnatomyForm","AnatomyPlot3D","AnatomySkinStyle","AnatomyStyling","AnchoredSearch","And","AndersonDarlingTest","AngerJ","AngleBisector","AngleBracket","AnglePath","AnglePath3D","AngleVector","AngularGauge","Animate","AnimationCycleOffset","AnimationCycleRepetitions","AnimationDirection","AnimationDisplayTime","AnimationRate","AnimationRepetitions","AnimationRunning","AnimationRunTime","AnimationTimeIndex","Animator","AnimatorBox","AnimatorBoxOptions","AnimatorElements","Annotate","Annotation","AnnotationDelete","AnnotationKeys","AnnotationRules","AnnotationValue","Annuity","AnnuityDue","Annulus","AnomalyDetection","AnomalyDetector","AnomalyDetectorFunction","Anonymous","Antialiasing","AntihermitianMatrixQ","Antisymmetric","AntisymmetricMatrixQ","Antonyms","AnyOrder","AnySubset","AnyTrue","Apart","ApartSquareFree","APIFunction","Appearance","AppearanceElements","AppearanceRules","AppellF1","Append","AppendCheck","AppendLayer","AppendTo","Apply","ApplySides","ArcCos","ArcCosh","ArcCot","ArcCoth","ArcCsc","ArcCsch","ArcCurvature","ARCHProcess","ArcLength","ArcSec","ArcSech","ArcSin","ArcSinDistribution","ArcSinh","ArcTan","ArcTanh","Area","Arg","ArgMax","ArgMin","ArgumentCountQ","ARIMAProcess","ArithmeticGeometricMean","ARMAProcess","Around","AroundReplace","ARProcess","Array","ArrayComponents","ArrayDepth","ArrayFilter","ArrayFlatten","ArrayMesh","ArrayPad","ArrayPlot","ArrayQ","ArrayResample","ArrayReshape","ArrayRules","Arrays","Arrow","Arrow3DBox","ArrowBox","Arrowheads","ASATriangle","Ask","AskAppend","AskConfirm","AskDisplay","AskedQ","AskedValue","AskFunction","AskState","AskTemplateDisplay","AspectRatio","AspectRatioFixed","Assert","AssociateTo","Association","AssociationFormat","AssociationMap","AssociationQ","AssociationThread","AssumeDeterministic","Assuming","Assumptions","AstronomicalData","Asymptotic","AsymptoticDSolveValue","AsymptoticEqual","AsymptoticEquivalent","AsymptoticGreater","AsymptoticGreaterEqual","AsymptoticIntegrate","AsymptoticLess","AsymptoticLessEqual","AsymptoticOutputTracker","AsymptoticProduct","AsymptoticRSolveValue","AsymptoticSolve","AsymptoticSum","Asynchronous","AsynchronousTaskObject","AsynchronousTasks","Atom","AtomCoordinates","AtomCount","AtomDiagramCoordinates","AtomList","AtomQ","AttentionLayer","Attributes","Audio","AudioAmplify","AudioAnnotate","AudioAnnotationLookup","AudioBlockMap","AudioCapture","AudioChannelAssignment","AudioChannelCombine","AudioChannelMix","AudioChannels","AudioChannelSeparate","AudioData","AudioDelay","AudioDelete","AudioDevice","AudioDistance","AudioEncoding","AudioFade","AudioFrequencyShift","AudioGenerator","AudioIdentify","AudioInputDevice","AudioInsert","AudioInstanceQ","AudioIntervals","AudioJoin","AudioLabel","AudioLength","AudioLocalMeasurements","AudioLooping","AudioLoudness","AudioMeasurements","AudioNormalize","AudioOutputDevice","AudioOverlay","AudioPad","AudioPan","AudioPartition","AudioPause","AudioPitchShift","AudioPlay","AudioPlot","AudioQ","AudioRecord","AudioReplace","AudioResample","AudioReverb","AudioReverse","AudioSampleRate","AudioSpectralMap","AudioSpectralTransformation","AudioSplit","AudioStop","AudioStream","AudioStreams","AudioTimeStretch","AudioTracks","AudioTrim","AudioType","AugmentedPolyhedron","AugmentedSymmetricPolynomial","Authenticate","Authentication","AuthenticationDialog","AutoAction","Autocomplete","AutocompletionFunction","AutoCopy","AutocorrelationTest","AutoDelete","AutoEvaluateEvents","AutoGeneratedPackage","AutoIndent","AutoIndentSpacings","AutoItalicWords","AutoloadPath","AutoMatch","Automatic","AutomaticImageSize","AutoMultiplicationSymbol","AutoNumberFormatting","AutoOpenNotebooks","AutoOpenPalettes","AutoQuoteCharacters","AutoRefreshed","AutoRemove","AutorunSequencing","AutoScaling","AutoScroll","AutoSpacing","AutoStyleOptions","AutoStyleWords","AutoSubmitting","Axes","AxesEdge","AxesLabel","AxesOrigin","AxesStyle","AxiomaticTheory","Axis","BabyMonsterGroupB","Back","Background","BackgroundAppearance","BackgroundTasksSettings","Backslash","Backsubstitution","Backward","Ball","Band","BandpassFilter","BandstopFilter","BarabasiAlbertGraphDistribution","BarChart","BarChart3D","BarcodeImage","BarcodeRecognize","BaringhausHenzeTest","BarLegend","BarlowProschanImportance","BarnesG","BarOrigin","BarSpacing","BartlettHannWindow","BartlettWindow","BaseDecode","BaseEncode","BaseForm","Baseline","BaselinePosition","BaseStyle","BasicRecurrentLayer","BatchNormalizationLayer","BatchSize","BatesDistribution","BattleLemarieWavelet","BayesianMaximization","BayesianMaximizationObject","BayesianMinimization","BayesianMinimizationObject","Because","BeckmannDistribution","Beep","Before","Begin","BeginDialogPacket","BeginFrontEndInteractionPacket","BeginPackage","BellB","BellY","Below","BenfordDistribution","BeniniDistribution","BenktanderGibratDistribution","BenktanderWeibullDistribution","BernoulliB","BernoulliDistribution","BernoulliGraphDistribution","BernoulliProcess","BernsteinBasis","BesselFilterModel","BesselI","BesselJ","BesselJZero","BesselK","BesselY","BesselYZero","Beta","BetaBinomialDistribution","BetaDistribution","BetaNegativeBinomialDistribution","BetaPrimeDistribution","BetaRegularized","Between","BetweennessCentrality","BeveledPolyhedron","BezierCurve","BezierCurve3DBox","BezierCurve3DBoxOptions","BezierCurveBox","BezierCurveBoxOptions","BezierFunction","BilateralFilter","Binarize","BinaryDeserialize","BinaryDistance","BinaryFormat","BinaryImageQ","BinaryRead","BinaryReadList","BinarySerialize","BinaryWrite","BinCounts","BinLists","Binomial","BinomialDistribution","BinomialProcess","BinormalDistribution","BiorthogonalSplineWavelet","BipartiteGraphQ","BiquadraticFilterModel","BirnbaumImportance","BirnbaumSaundersDistribution","BitAnd","BitClear","BitGet","BitLength","BitNot","BitOr","BitSet","BitShiftLeft","BitShiftRight","BitXor","BiweightLocation","BiweightMidvariance","Black","BlackmanHarrisWindow","BlackmanNuttallWindow","BlackmanWindow","Blank","BlankForm","BlankNullSequence","BlankSequence","Blend","Block","BlockchainAddressData","BlockchainBase","BlockchainBlockData","BlockchainContractValue","BlockchainData","BlockchainGet","BlockchainKeyEncode","BlockchainPut","BlockchainTokenData","BlockchainTransaction","BlockchainTransactionData","BlockchainTransactionSign","BlockchainTransactionSubmit","BlockMap","BlockRandom","BlomqvistBeta","BlomqvistBetaTest","Blue","Blur","BodePlot","BohmanWindow","Bold","Bond","BondCount","BondList","BondQ","Bookmarks","Boole","BooleanConsecutiveFunction","BooleanConvert","BooleanCountingFunction","BooleanFunction","BooleanGraph","BooleanMaxterms","BooleanMinimize","BooleanMinterms","BooleanQ","BooleanRegion","Booleans","BooleanStrings","BooleanTable","BooleanVariables","BorderDimensions","BorelTannerDistribution","Bottom","BottomHatTransform","BoundaryDiscretizeGraphics","BoundaryDiscretizeRegion","BoundaryMesh","BoundaryMeshRegion","BoundaryMeshRegionQ","BoundaryStyle","BoundedRegionQ","BoundingRegion","Bounds","Box","BoxBaselineShift","BoxData","BoxDimensions","Boxed","Boxes","BoxForm","BoxFormFormatTypes","BoxFrame","BoxID","BoxMargins","BoxMatrix","BoxObject","BoxRatios","BoxRotation","BoxRotationPoint","BoxStyle","BoxWhiskerChart","Bra","BracketingBar","BraKet","BrayCurtisDistance","BreadthFirstScan","Break","BridgeData","BrightnessEqualize","BroadcastStationData","Brown","BrownForsytheTest","BrownianBridgeProcess","BrowserCategory","BSplineBasis","BSplineCurve","BSplineCurve3DBox","BSplineCurve3DBoxOptions","BSplineCurveBox","BSplineCurveBoxOptions","BSplineFunction","BSplineSurface","BSplineSurface3DBox","BSplineSurface3DBoxOptions","BubbleChart","BubbleChart3D","BubbleScale","BubbleSizes","BuildingData","BulletGauge","BusinessDayQ","ButterflyGraph","ButterworthFilterModel","Button","ButtonBar","ButtonBox","ButtonBoxOptions","ButtonCell","ButtonContents","ButtonData","ButtonEvaluator","ButtonExpandable","ButtonFrame","ButtonFunction","ButtonMargins","ButtonMinHeight","ButtonNote","ButtonNotebook","ButtonSource","ButtonStyle","ButtonStyleMenuListing","Byte","ByteArray","ByteArrayFormat","ByteArrayQ","ByteArrayToString","ByteCount","ByteOrdering","C","CachedValue","CacheGraphics","CachePersistence","CalendarConvert","CalendarData","CalendarType","Callout","CalloutMarker","CalloutStyle","CallPacket","CanberraDistance","Cancel","CancelButton","CandlestickChart","CanonicalGraph","CanonicalizePolygon","CanonicalizePolyhedron","CanonicalName","CanonicalWarpingCorrespondence","CanonicalWarpingDistance","CantorMesh","CantorStaircase","Cap","CapForm","CapitalDifferentialD","Capitalize","CapsuleShape","CaptureRunning","CardinalBSplineBasis","CarlemanLinearize","CarmichaelLambda","CaseOrdering","Cases","CaseSensitive","Cashflow","Casoratian","Catalan","CatalanNumber","Catch","CategoricalDistribution","Catenate","CatenateLayer","CauchyDistribution","CauchyWindow","CayleyGraph","CDF","CDFDeploy","CDFInformation","CDFWavelet","Ceiling","CelestialSystem","Cell","CellAutoOverwrite","CellBaseline","CellBoundingBox","CellBracketOptions","CellChangeTimes","CellContents","CellContext","CellDingbat","CellDynamicExpression","CellEditDuplicate","CellElementsBoundingBox","CellElementSpacings","CellEpilog","CellEvaluationDuplicate","CellEvaluationFunction","CellEvaluationLanguage","CellEventActions","CellFrame","CellFrameColor","CellFrameLabelMargins","CellFrameLabels","CellFrameMargins","CellGroup","CellGroupData","CellGrouping","CellGroupingRules","CellHorizontalScrolling","CellID","CellLabel","CellLabelAutoDelete","CellLabelMargins","CellLabelPositioning","CellLabelStyle","CellLabelTemplate","CellMargins","CellObject","CellOpen","CellPrint","CellProlog","Cells","CellSize","CellStyle","CellTags","CellularAutomaton","CensoredDistribution","Censoring","Center","CenterArray","CenterDot","CentralFeature","CentralMoment","CentralMomentGeneratingFunction","Cepstrogram","CepstrogramArray","CepstrumArray","CForm","ChampernowneNumber","ChangeOptions","ChannelBase","ChannelBrokerAction","ChannelDatabin","ChannelHistoryLength","ChannelListen","ChannelListener","ChannelListeners","ChannelListenerWait","ChannelObject","ChannelPreSendFunction","ChannelReceiverFunction","ChannelSend","ChannelSubscribers","ChanVeseBinarize","Character","CharacterCounts","CharacterEncoding","CharacterEncodingsPath","CharacteristicFunction","CharacteristicPolynomial","CharacterName","CharacterNormalize","CharacterRange","Characters","ChartBaseStyle","ChartElementData","ChartElementDataFunction","ChartElementFunction","ChartElements","ChartLabels","ChartLayout","ChartLegends","ChartStyle","Chebyshev1FilterModel","Chebyshev2FilterModel","ChebyshevDistance","ChebyshevT","ChebyshevU","Check","CheckAbort","CheckAll","Checkbox","CheckboxBar","CheckboxBox","CheckboxBoxOptions","ChemicalData","ChessboardDistance","ChiDistribution","ChineseRemainder","ChiSquareDistribution","ChoiceButtons","ChoiceDialog","CholeskyDecomposition","Chop","ChromaticityPlot","ChromaticityPlot3D","ChromaticPolynomial","Circle","CircleBox","CircleDot","CircleMinus","CirclePlus","CirclePoints","CircleThrough","CircleTimes","CirculantGraph","CircularOrthogonalMatrixDistribution","CircularQuaternionMatrixDistribution","CircularRealMatrixDistribution","CircularSymplecticMatrixDistribution","CircularUnitaryMatrixDistribution","Circumsphere","CityData","ClassifierFunction","ClassifierInformation","ClassifierMeasurements","ClassifierMeasurementsObject","Classify","ClassPriors","Clear","ClearAll","ClearAttributes","ClearCookies","ClearPermissions","ClearSystemCache","ClebschGordan","ClickPane","Clip","ClipboardNotebook","ClipFill","ClippingStyle","ClipPlanes","ClipPlanesStyle","ClipRange","Clock","ClockGauge","ClockwiseContourIntegral","Close","Closed","CloseKernels","ClosenessCentrality","Closing","ClosingAutoSave","ClosingEvent","ClosingSaveDialog","CloudAccountData","CloudBase","CloudConnect","CloudConnections","CloudDeploy","CloudDirectory","CloudDisconnect","CloudEvaluate","CloudExport","CloudExpression","CloudExpressions","CloudFunction","CloudGet","CloudImport","CloudLoggingData","CloudObject","CloudObjectInformation","CloudObjectInformationData","CloudObjectNameFormat","CloudObjects","CloudObjectURLType","CloudPublish","CloudPut","CloudRenderingMethod","CloudSave","CloudShare","CloudSubmit","CloudSymbol","CloudUnshare","CloudUserID","ClusterClassify","ClusterDissimilarityFunction","ClusteringComponents","ClusteringTree","CMYKColor","Coarse","CodeAssistOptions","Coefficient","CoefficientArrays","CoefficientDomain","CoefficientList","CoefficientRules","CoifletWavelet","Collect","Colon","ColonForm","ColorBalance","ColorCombine","ColorConvert","ColorCoverage","ColorData","ColorDataFunction","ColorDetect","ColorDistance","ColorFunction","ColorFunctionScaling","Colorize","ColorNegate","ColorOutput","ColorProfileData","ColorQ","ColorQuantize","ColorReplace","ColorRules","ColorSelectorSettings","ColorSeparate","ColorSetter","ColorSetterBox","ColorSetterBoxOptions","ColorSlider","ColorsNear","ColorSpace","ColorToneMapping","Column","ColumnAlignments","ColumnBackgrounds","ColumnForm","ColumnLines","ColumnsEqual","ColumnSpacings","ColumnWidths","CombinedEntityClass","CombinerFunction","CometData","CommonDefaultFormatTypes","Commonest","CommonestFilter","CommonName","CommonUnits","CommunityBoundaryStyle","CommunityGraphPlot","CommunityLabels","CommunityRegionStyle","CompanyData","CompatibleUnitQ","CompilationOptions","CompilationTarget","Compile","Compiled","CompiledCodeFunction","CompiledFunction","CompilerOptions","Complement","ComplementedEntityClass","CompleteGraph","CompleteGraphQ","CompleteKaryTree","CompletionsListPacket","Complex","ComplexContourPlot","Complexes","ComplexExpand","ComplexInfinity","ComplexityFunction","ComplexListPlot","ComplexPlot","ComplexPlot3D","ComplexRegionPlot","ComplexStreamPlot","ComplexVectorPlot","ComponentMeasurements","ComponentwiseContextMenu","Compose","ComposeList","ComposeSeries","CompositeQ","Composition","CompoundElement","CompoundExpression","CompoundPoissonDistribution","CompoundPoissonProcess","CompoundRenewalProcess","Compress","CompressedData","CompressionLevel","ComputeUncertainty","Condition","ConditionalExpression","Conditioned","Cone","ConeBox","ConfidenceLevel","ConfidenceRange","ConfidenceTransform","ConfigurationPath","ConformAudio","ConformImages","Congruent","ConicHullRegion","ConicHullRegion3DBox","ConicHullRegionBox","ConicOptimization","Conjugate","ConjugateTranspose","Conjunction","Connect","ConnectedComponents","ConnectedGraphComponents","ConnectedGraphQ","ConnectedMeshComponents","ConnectedMoleculeComponents","ConnectedMoleculeQ","ConnectionSettings","ConnectLibraryCallbackFunction","ConnectSystemModelComponents","ConnesWindow","ConoverTest","ConsoleMessage","ConsoleMessagePacket","Constant","ConstantArray","ConstantArrayLayer","ConstantImage","ConstantPlusLayer","ConstantRegionQ","Constants","ConstantTimesLayer","ConstellationData","ConstrainedMax","ConstrainedMin","Construct","Containing","ContainsAll","ContainsAny","ContainsExactly","ContainsNone","ContainsOnly","ContentFieldOptions","ContentLocationFunction","ContentObject","ContentPadding","ContentsBoundingBox","ContentSelectable","ContentSize","Context","ContextMenu","Contexts","ContextToFileName","Continuation","Continue","ContinuedFraction","ContinuedFractionK","ContinuousAction","ContinuousMarkovProcess","ContinuousTask","ContinuousTimeModelQ","ContinuousWaveletData","ContinuousWaveletTransform","ContourDetect","ContourGraphics","ContourIntegral","ContourLabels","ContourLines","ContourPlot","ContourPlot3D","Contours","ContourShading","ContourSmoothing","ContourStyle","ContraharmonicMean","ContrastiveLossLayer","Control","ControlActive","ControlAlignment","ControlGroupContentsBox","ControllabilityGramian","ControllabilityMatrix","ControllableDecomposition","ControllableModelQ","ControllerDuration","ControllerInformation","ControllerInformationData","ControllerLinking","ControllerManipulate","ControllerMethod","ControllerPath","ControllerState","ControlPlacement","ControlsRendering","ControlType","Convergents","ConversionOptions","ConversionRules","ConvertToBitmapPacket","ConvertToPostScript","ConvertToPostScriptPacket","ConvexHullMesh","ConvexPolygonQ","ConvexPolyhedronQ","ConvolutionLayer","Convolve","ConwayGroupCo1","ConwayGroupCo2","ConwayGroupCo3","CookieFunction","Cookies","CoordinateBoundingBox","CoordinateBoundingBoxArray","CoordinateBounds","CoordinateBoundsArray","CoordinateChartData","CoordinatesToolOptions","CoordinateTransform","CoordinateTransformData","CoprimeQ","Coproduct","CopulaDistribution","Copyable","CopyDatabin","CopyDirectory","CopyFile","CopyTag","CopyToClipboard","CornerFilter","CornerNeighbors","Correlation","CorrelationDistance","CorrelationFunction","CorrelationTest","Cos","Cosh","CoshIntegral","CosineDistance","CosineWindow","CosIntegral","Cot","Coth","Count","CountDistinct","CountDistinctBy","CounterAssignments","CounterBox","CounterBoxOptions","CounterClockwiseContourIntegral","CounterEvaluator","CounterFunction","CounterIncrements","CounterStyle","CounterStyleMenuListing","CountRoots","CountryData","Counts","CountsBy","Covariance","CovarianceEstimatorFunction","CovarianceFunction","CoxianDistribution","CoxIngersollRossProcess","CoxModel","CoxModelFit","CramerVonMisesTest","CreateArchive","CreateCellID","CreateChannel","CreateCloudExpression","CreateDatabin","CreateDataStructure","CreateDataSystemModel","CreateDialog","CreateDirectory","CreateDocument","CreateFile","CreateIntermediateDirectories","CreateManagedLibraryExpression","CreateNotebook","CreatePacletArchive","CreatePalette","CreatePalettePacket","CreatePermissionsGroup","CreateScheduledTask","CreateSearchIndex","CreateSystemModel","CreateTemporary","CreateUUID","CreateWindow","CriterionFunction","CriticalityFailureImportance","CriticalitySuccessImportance","CriticalSection","Cross","CrossEntropyLossLayer","CrossingCount","CrossingDetect","CrossingPolygon","CrossMatrix","Csc","Csch","CTCLossLayer","Cube","CubeRoot","Cubics","Cuboid","CuboidBox","Cumulant","CumulantGeneratingFunction","Cup","CupCap","Curl","CurlyDoubleQuote","CurlyQuote","CurrencyConvert","CurrentDate","CurrentImage","CurrentlySpeakingPacket","CurrentNotebookImage","CurrentScreenImage","CurrentValue","Curry","CurryApplied","CurvatureFlowFilter","CurveClosed","Cyan","CycleGraph","CycleIndexPolynomial","Cycles","CyclicGroup","Cyclotomic","Cylinder","CylinderBox","CylindricalDecomposition","D","DagumDistribution","DamData","DamerauLevenshteinDistance","DampingFactor","Darker","Dashed","Dashing","DatabaseConnect","DatabaseDisconnect","DatabaseReference","Databin","DatabinAdd","DatabinRemove","Databins","DatabinUpload","DataCompression","DataDistribution","DataRange","DataReversed","Dataset","DatasetDisplayPanel","DataStructure","DataStructureQ","Date","DateBounds","Dated","DateDelimiters","DateDifference","DatedUnit","DateFormat","DateFunction","DateHistogram","DateInterval","DateList","DateListLogPlot","DateListPlot","DateListStepPlot","DateObject","DateObjectQ","DateOverlapsQ","DatePattern","DatePlus","DateRange","DateReduction","DateString","DateTicksFormat","DateValue","DateWithinQ","DaubechiesWavelet","DavisDistribution","DawsonF","DayCount","DayCountConvention","DayHemisphere","DaylightQ","DayMatchQ","DayName","DayNightTerminator","DayPlus","DayRange","DayRound","DeBruijnGraph","DeBruijnSequence","Debug","DebugTag","Decapitalize","Decimal","DecimalForm","DeclareKnownSymbols","DeclarePackage","Decompose","DeconvolutionLayer","Decrement","Decrypt","DecryptFile","DedekindEta","DeepSpaceProbeData","Default","DefaultAxesStyle","DefaultBaseStyle","DefaultBoxStyle","DefaultButton","DefaultColor","DefaultControlPlacement","DefaultDuplicateCellStyle","DefaultDuration","DefaultElement","DefaultFaceGridsStyle","DefaultFieldHintStyle","DefaultFont","DefaultFontProperties","DefaultFormatType","DefaultFormatTypeForStyle","DefaultFrameStyle","DefaultFrameTicksStyle","DefaultGridLinesStyle","DefaultInlineFormatType","DefaultInputFormatType","DefaultLabelStyle","DefaultMenuStyle","DefaultNaturalLanguage","DefaultNewCellStyle","DefaultNewInlineCellStyle","DefaultNotebook","DefaultOptions","DefaultOutputFormatType","DefaultPrintPrecision","DefaultStyle","DefaultStyleDefinitions","DefaultTextFormatType","DefaultTextInlineFormatType","DefaultTicksStyle","DefaultTooltipStyle","DefaultValue","DefaultValues","Defer","DefineExternal","DefineInputStreamMethod","DefineOutputStreamMethod","DefineResourceFunction","Definition","Degree","DegreeCentrality","DegreeGraphDistribution","DegreeLexicographic","DegreeReverseLexicographic","DEigensystem","DEigenvalues","Deinitialization","Del","DelaunayMesh","Delayed","Deletable","Delete","DeleteAnomalies","DeleteBorderComponents","DeleteCases","DeleteChannel","DeleteCloudExpression","DeleteContents","DeleteDirectory","DeleteDuplicates","DeleteDuplicatesBy","DeleteFile","DeleteMissing","DeleteObject","DeletePermissionsKey","DeleteSearchIndex","DeleteSmallComponents","DeleteStopwords","DeleteWithContents","DeletionWarning","DelimitedArray","DelimitedSequence","Delimiter","DelimiterFlashTime","DelimiterMatching","Delimiters","DeliveryFunction","Dendrogram","Denominator","DensityGraphics","DensityHistogram","DensityPlot","DensityPlot3D","DependentVariables","Deploy","Deployed","Depth","DepthFirstScan","Derivative","DerivativeFilter","DerivedKey","DescriptorStateSpace","DesignMatrix","DestroyAfterEvaluation","Det","DeviceClose","DeviceConfigure","DeviceExecute","DeviceExecuteAsynchronous","DeviceObject","DeviceOpen","DeviceOpenQ","DeviceRead","DeviceReadBuffer","DeviceReadLatest","DeviceReadList","DeviceReadTimeSeries","Devices","DeviceStreams","DeviceWrite","DeviceWriteBuffer","DGaussianWavelet","DiacriticalPositioning","Diagonal","DiagonalizableMatrixQ","DiagonalMatrix","DiagonalMatrixQ","Dialog","DialogIndent","DialogInput","DialogLevel","DialogNotebook","DialogProlog","DialogReturn","DialogSymbols","Diamond","DiamondMatrix","DiceDissimilarity","DictionaryLookup","DictionaryWordQ","DifferenceDelta","DifferenceOrder","DifferenceQuotient","DifferenceRoot","DifferenceRootReduce","Differences","DifferentialD","DifferentialRoot","DifferentialRootReduce","DifferentiatorFilter","DigitalSignature","DigitBlock","DigitBlockMinimum","DigitCharacter","DigitCount","DigitQ","DihedralAngle","DihedralGroup","Dilation","DimensionalCombinations","DimensionalMeshComponents","DimensionReduce","DimensionReducerFunction","DimensionReduction","Dimensions","DiracComb","DiracDelta","DirectedEdge","DirectedEdges","DirectedGraph","DirectedGraphQ","DirectedInfinity","Direction","Directive","Directory","DirectoryName","DirectoryQ","DirectoryStack","DirichletBeta","DirichletCharacter","DirichletCondition","DirichletConvolve","DirichletDistribution","DirichletEta","DirichletL","DirichletLambda","DirichletTransform","DirichletWindow","DisableConsolePrintPacket","DisableFormatting","DiscreteAsymptotic","DiscreteChirpZTransform","DiscreteConvolve","DiscreteDelta","DiscreteHadamardTransform","DiscreteIndicator","DiscreteLimit","DiscreteLQEstimatorGains","DiscreteLQRegulatorGains","DiscreteLyapunovSolve","DiscreteMarkovProcess","DiscreteMaxLimit","DiscreteMinLimit","DiscretePlot","DiscretePlot3D","DiscreteRatio","DiscreteRiccatiSolve","DiscreteShift","DiscreteTimeModelQ","DiscreteUniformDistribution","DiscreteVariables","DiscreteWaveletData","DiscreteWaveletPacketTransform","DiscreteWaveletTransform","DiscretizeGraphics","DiscretizeRegion","Discriminant","DisjointQ","Disjunction","Disk","DiskBox","DiskMatrix","DiskSegment","Dispatch","DispatchQ","DispersionEstimatorFunction","Display","DisplayAllSteps","DisplayEndPacket","DisplayFlushImagePacket","DisplayForm","DisplayFunction","DisplayPacket","DisplayRules","DisplaySetSizePacket","DisplayString","DisplayTemporary","DisplayWith","DisplayWithRef","DisplayWithVariable","DistanceFunction","DistanceMatrix","DistanceTransform","Distribute","Distributed","DistributedContexts","DistributeDefinitions","DistributionChart","DistributionDomain","DistributionFitTest","DistributionParameterAssumptions","DistributionParameterQ","Dithering","Div","Divergence","Divide","DivideBy","Dividers","DivideSides","Divisible","Divisors","DivisorSigma","DivisorSum","DMSList","DMSString","Do","DockedCells","DocumentGenerator","DocumentGeneratorInformation","DocumentGeneratorInformationData","DocumentGenerators","DocumentNotebook","DocumentWeightingRules","Dodecahedron","DomainRegistrationInformation","DominantColors","DOSTextFormat","Dot","DotDashed","DotEqual","DotLayer","DotPlusLayer","Dotted","DoubleBracketingBar","DoubleContourIntegral","DoubleDownArrow","DoubleLeftArrow","DoubleLeftRightArrow","DoubleLeftTee","DoubleLongLeftArrow","DoubleLongLeftRightArrow","DoubleLongRightArrow","DoubleRightArrow","DoubleRightTee","DoubleUpArrow","DoubleUpDownArrow","DoubleVerticalBar","DoublyInfinite","Down","DownArrow","DownArrowBar","DownArrowUpArrow","DownLeftRightVector","DownLeftTeeVector","DownLeftVector","DownLeftVectorBar","DownRightTeeVector","DownRightVector","DownRightVectorBar","Downsample","DownTee","DownTeeArrow","DownValues","DragAndDrop","DrawEdges","DrawFrontFaces","DrawHighlighted","Drop","DropoutLayer","DSolve","DSolveValue","Dt","DualLinearProgramming","DualPolyhedron","DualSystemsModel","DumpGet","DumpSave","DuplicateFreeQ","Duration","Dynamic","DynamicBox","DynamicBoxOptions","DynamicEvaluationTimeout","DynamicGeoGraphics","DynamicImage","DynamicLocation","DynamicModule","DynamicModuleBox","DynamicModuleBoxOptions","DynamicModuleParent","DynamicModuleValues","DynamicName","DynamicNamespace","DynamicReference","DynamicSetting","DynamicUpdating","DynamicWrapper","DynamicWrapperBox","DynamicWrapperBoxOptions","E","EarthImpactData","EarthquakeData","EccentricityCentrality","Echo","EchoFunction","EclipseType","EdgeAdd","EdgeBetweennessCentrality","EdgeCapacity","EdgeCapForm","EdgeColor","EdgeConnectivity","EdgeContract","EdgeCost","EdgeCount","EdgeCoverQ","EdgeCycleMatrix","EdgeDashing","EdgeDelete","EdgeDetect","EdgeForm","EdgeIndex","EdgeJoinForm","EdgeLabeling","EdgeLabels","EdgeLabelStyle","EdgeList","EdgeOpacity","EdgeQ","EdgeRenderingFunction","EdgeRules","EdgeShapeFunction","EdgeStyle","EdgeTaggedGraph","EdgeTaggedGraphQ","EdgeTags","EdgeThickness","EdgeWeight","EdgeWeightedGraphQ","Editable","EditButtonSettings","EditCellTagsSettings","EditDistance","EffectiveInterest","Eigensystem","Eigenvalues","EigenvectorCentrality","Eigenvectors","Element","ElementData","ElementwiseLayer","ElidedForms","Eliminate","EliminationOrder","Ellipsoid","EllipticE","EllipticExp","EllipticExpPrime","EllipticF","EllipticFilterModel","EllipticK","EllipticLog","EllipticNomeQ","EllipticPi","EllipticReducedHalfPeriods","EllipticTheta","EllipticThetaPrime","EmbedCode","EmbeddedHTML","EmbeddedService","EmbeddingLayer","EmbeddingObject","EmitSound","EmphasizeSyntaxErrors","EmpiricalDistribution","Empty","EmptyGraphQ","EmptyRegion","EnableConsolePrintPacket","Enabled","Encode","Encrypt","EncryptedObject","EncryptFile","End","EndAdd","EndDialogPacket","EndFrontEndInteractionPacket","EndOfBuffer","EndOfFile","EndOfLine","EndOfString","EndPackage","EngineEnvironment","EngineeringForm","Enter","EnterExpressionPacket","EnterTextPacket","Entity","EntityClass","EntityClassList","EntityCopies","EntityFunction","EntityGroup","EntityInstance","EntityList","EntityPrefetch","EntityProperties","EntityProperty","EntityPropertyClass","EntityRegister","EntityStore","EntityStores","EntityTypeName","EntityUnregister","EntityValue","Entropy","EntropyFilter","Environment","Epilog","EpilogFunction","Equal","EqualColumns","EqualRows","EqualTilde","EqualTo","EquatedTo","Equilibrium","EquirippleFilterKernel","Equivalent","Erf","Erfc","Erfi","ErlangB","ErlangC","ErlangDistribution","Erosion","ErrorBox","ErrorBoxOptions","ErrorNorm","ErrorPacket","ErrorsDialogSettings","EscapeRadius","EstimatedBackground","EstimatedDistribution","EstimatedProcess","EstimatorGains","EstimatorRegulator","EuclideanDistance","EulerAngles","EulerCharacteristic","EulerE","EulerGamma","EulerianGraphQ","EulerMatrix","EulerPhi","Evaluatable","Evaluate","Evaluated","EvaluatePacket","EvaluateScheduledTask","EvaluationBox","EvaluationCell","EvaluationCompletionAction","EvaluationData","EvaluationElements","EvaluationEnvironment","EvaluationMode","EvaluationMonitor","EvaluationNotebook","EvaluationObject","EvaluationOrder","Evaluator","EvaluatorNames","EvenQ","EventData","EventEvaluator","EventHandler","EventHandlerTag","EventLabels","EventSeries","ExactBlackmanWindow","ExactNumberQ","ExactRootIsolation","ExampleData","Except","ExcludedForms","ExcludedLines","ExcludedPhysicalQuantities","ExcludePods","Exclusions","ExclusionsStyle","Exists","Exit","ExitDialog","ExoplanetData","Exp","Expand","ExpandAll","ExpandDenominator","ExpandFileName","ExpandNumerator","Expectation","ExpectationE","ExpectedValue","ExpGammaDistribution","ExpIntegralE","ExpIntegralEi","ExpirationDate","Exponent","ExponentFunction","ExponentialDistribution","ExponentialFamily","ExponentialGeneratingFunction","ExponentialMovingAverage","ExponentialPowerDistribution","ExponentPosition","ExponentStep","Export","ExportAutoReplacements","ExportByteArray","ExportForm","ExportPacket","ExportString","Expression","ExpressionCell","ExpressionGraph","ExpressionPacket","ExpressionUUID","ExpToTrig","ExtendedEntityClass","ExtendedGCD","Extension","ExtentElementFunction","ExtentMarkers","ExtentSize","ExternalBundle","ExternalCall","ExternalDataCharacterEncoding","ExternalEvaluate","ExternalFunction","ExternalFunctionName","ExternalIdentifier","ExternalObject","ExternalOptions","ExternalSessionObject","ExternalSessions","ExternalStorageBase","ExternalStorageDownload","ExternalStorageGet","ExternalStorageObject","ExternalStoragePut","ExternalStorageUpload","ExternalTypeSignature","ExternalValue","Extract","ExtractArchive","ExtractLayer","ExtractPacletArchive","ExtremeValueDistribution","FaceAlign","FaceForm","FaceGrids","FaceGridsStyle","FacialFeatures","Factor","FactorComplete","Factorial","Factorial2","FactorialMoment","FactorialMomentGeneratingFunction","FactorialPower","FactorInteger","FactorList","FactorSquareFree","FactorSquareFreeList","FactorTerms","FactorTermsList","Fail","Failure","FailureAction","FailureDistribution","FailureQ","False","FareySequence","FARIMAProcess","FeatureDistance","FeatureExtract","FeatureExtraction","FeatureExtractor","FeatureExtractorFunction","FeatureNames","FeatureNearest","FeatureSpacePlot","FeatureSpacePlot3D","FeatureTypes","FEDisableConsolePrintPacket","FeedbackLinearize","FeedbackSector","FeedbackSectorStyle","FeedbackType","FEEnableConsolePrintPacket","FetalGrowthData","Fibonacci","Fibonorial","FieldCompletionFunction","FieldHint","FieldHintStyle","FieldMasked","FieldSize","File","FileBaseName","FileByteCount","FileConvert","FileDate","FileExistsQ","FileExtension","FileFormat","FileHandler","FileHash","FileInformation","FileName","FileNameDepth","FileNameDialogSettings","FileNameDrop","FileNameForms","FileNameJoin","FileNames","FileNameSetter","FileNameSplit","FileNameTake","FilePrint","FileSize","FileSystemMap","FileSystemScan","FileTemplate","FileTemplateApply","FileType","FilledCurve","FilledCurveBox","FilledCurveBoxOptions","Filling","FillingStyle","FillingTransform","FilteredEntityClass","FilterRules","FinancialBond","FinancialData","FinancialDerivative","FinancialIndicator","Find","FindAnomalies","FindArgMax","FindArgMin","FindChannels","FindClique","FindClusters","FindCookies","FindCurvePath","FindCycle","FindDevices","FindDistribution","FindDistributionParameters","FindDivisions","FindEdgeCover","FindEdgeCut","FindEdgeIndependentPaths","FindEquationalProof","FindEulerianCycle","FindExternalEvaluators","FindFaces","FindFile","FindFit","FindFormula","FindFundamentalCycles","FindGeneratingFunction","FindGeoLocation","FindGeometricConjectures","FindGeometricTransform","FindGraphCommunities","FindGraphIsomorphism","FindGraphPartition","FindHamiltonianCycle","FindHamiltonianPath","FindHiddenMarkovStates","FindImageText","FindIndependentEdgeSet","FindIndependentVertexSet","FindInstance","FindIntegerNullVector","FindKClan","FindKClique","FindKClub","FindKPlex","FindLibrary","FindLinearRecurrence","FindList","FindMatchingColor","FindMaximum","FindMaximumCut","FindMaximumFlow","FindMaxValue","FindMeshDefects","FindMinimum","FindMinimumCostFlow","FindMinimumCut","FindMinValue","FindMoleculeSubstructure","FindPath","FindPeaks","FindPermutation","FindPostmanTour","FindProcessParameters","FindRepeat","FindRoot","FindSequenceFunction","FindSettings","FindShortestPath","FindShortestTour","FindSpanningTree","FindSystemModelEquilibrium","FindTextualAnswer","FindThreshold","FindTransientRepeat","FindVertexCover","FindVertexCut","FindVertexIndependentPaths","Fine","FinishDynamic","FiniteAbelianGroupCount","FiniteGroupCount","FiniteGroupData","First","FirstCase","FirstPassageTimeDistribution","FirstPosition","FischerGroupFi22","FischerGroupFi23","FischerGroupFi24Prime","FisherHypergeometricDistribution","FisherRatioTest","FisherZDistribution","Fit","FitAll","FitRegularization","FittedModel","FixedOrder","FixedPoint","FixedPointList","FlashSelection","Flat","Flatten","FlattenAt","FlattenLayer","FlatTopWindow","FlipView","Floor","FlowPolynomial","FlushPrintOutputPacket","Fold","FoldList","FoldPair","FoldPairList","FollowRedirects","Font","FontColor","FontFamily","FontForm","FontName","FontOpacity","FontPostScriptName","FontProperties","FontReencoding","FontSize","FontSlant","FontSubstitutions","FontTracking","FontVariations","FontWeight","For","ForAll","ForceVersionInstall","Format","FormatRules","FormatType","FormatTypeAutoConvert","FormatValues","FormBox","FormBoxOptions","FormControl","FormFunction","FormLayoutFunction","FormObject","FormPage","FormTheme","FormulaData","FormulaLookup","FortranForm","Forward","ForwardBackward","Fourier","FourierCoefficient","FourierCosCoefficient","FourierCosSeries","FourierCosTransform","FourierDCT","FourierDCTFilter","FourierDCTMatrix","FourierDST","FourierDSTMatrix","FourierMatrix","FourierParameters","FourierSequenceTransform","FourierSeries","FourierSinCoefficient","FourierSinSeries","FourierSinTransform","FourierTransform","FourierTrigSeries","FractionalBrownianMotionProcess","FractionalGaussianNoiseProcess","FractionalPart","FractionBox","FractionBoxOptions","FractionLine","Frame","FrameBox","FrameBoxOptions","Framed","FrameInset","FrameLabel","Frameless","FrameMargins","FrameRate","FrameStyle","FrameTicks","FrameTicksStyle","FRatioDistribution","FrechetDistribution","FreeQ","FrenetSerretSystem","FrequencySamplingFilterKernel","FresnelC","FresnelF","FresnelG","FresnelS","Friday","FrobeniusNumber","FrobeniusSolve","FromAbsoluteTime","FromCharacterCode","FromCoefficientRules","FromContinuedFraction","FromDate","FromDigits","FromDMS","FromEntity","FromJulianDate","FromLetterNumber","FromPolarCoordinates","FromRomanNumeral","FromSphericalCoordinates","FromUnixTime","Front","FrontEndDynamicExpression","FrontEndEventActions","FrontEndExecute","FrontEndObject","FrontEndResource","FrontEndResourceString","FrontEndStackSize","FrontEndToken","FrontEndTokenExecute","FrontEndValueCache","FrontEndVersion","FrontFaceColor","FrontFaceOpacity","Full","FullAxes","FullDefinition","FullForm","FullGraphics","FullInformationOutputRegulator","FullOptions","FullRegion","FullSimplify","Function","FunctionCompile","FunctionCompileExport","FunctionCompileExportByteArray","FunctionCompileExportLibrary","FunctionCompileExportString","FunctionDomain","FunctionExpand","FunctionInterpolation","FunctionPeriod","FunctionRange","FunctionSpace","FussellVeselyImportance","GaborFilter","GaborMatrix","GaborWavelet","GainMargins","GainPhaseMargins","GalaxyData","GalleryView","Gamma","GammaDistribution","GammaRegularized","GapPenalty","GARCHProcess","GatedRecurrentLayer","Gather","GatherBy","GaugeFaceElementFunction","GaugeFaceStyle","GaugeFrameElementFunction","GaugeFrameSize","GaugeFrameStyle","GaugeLabels","GaugeMarkers","GaugeStyle","GaussianFilter","GaussianIntegers","GaussianMatrix","GaussianOrthogonalMatrixDistribution","GaussianSymplecticMatrixDistribution","GaussianUnitaryMatrixDistribution","GaussianWindow","GCD","GegenbauerC","General","GeneralizedLinearModelFit","GenerateAsymmetricKeyPair","GenerateConditions","GeneratedCell","GeneratedDocumentBinding","GenerateDerivedKey","GenerateDigitalSignature","GenerateDocument","GeneratedParameters","GeneratedQuantityMagnitudes","GenerateFileSignature","GenerateHTTPResponse","GenerateSecuredAuthenticationKey","GenerateSymmetricKey","GeneratingFunction","GeneratorDescription","GeneratorHistoryLength","GeneratorOutputType","Generic","GenericCylindricalDecomposition","GenomeData","GenomeLookup","GeoAntipode","GeoArea","GeoArraySize","GeoBackground","GeoBoundingBox","GeoBounds","GeoBoundsRegion","GeoBubbleChart","GeoCenter","GeoCircle","GeoContourPlot","GeoDensityPlot","GeodesicClosing","GeodesicDilation","GeodesicErosion","GeodesicOpening","GeoDestination","GeodesyData","GeoDirection","GeoDisk","GeoDisplacement","GeoDistance","GeoDistanceList","GeoElevationData","GeoEntities","GeoGraphics","GeogravityModelData","GeoGridDirectionDifference","GeoGridLines","GeoGridLinesStyle","GeoGridPosition","GeoGridRange","GeoGridRangePadding","GeoGridUnitArea","GeoGridUnitDistance","GeoGridVector","GeoGroup","GeoHemisphere","GeoHemisphereBoundary","GeoHistogram","GeoIdentify","GeoImage","GeoLabels","GeoLength","GeoListPlot","GeoLocation","GeologicalPeriodData","GeomagneticModelData","GeoMarker","GeometricAssertion","GeometricBrownianMotionProcess","GeometricDistribution","GeometricMean","GeometricMeanFilter","GeometricOptimization","GeometricScene","GeometricTransformation","GeometricTransformation3DBox","GeometricTransformation3DBoxOptions","GeometricTransformationBox","GeometricTransformationBoxOptions","GeoModel","GeoNearest","GeoPath","GeoPosition","GeoPositionENU","GeoPositionXYZ","GeoProjection","GeoProjectionData","GeoRange","GeoRangePadding","GeoRegionValuePlot","GeoResolution","GeoScaleBar","GeoServer","GeoSmoothHistogram","GeoStreamPlot","GeoStyling","GeoStylingImageFunction","GeoVariant","GeoVector","GeoVectorENU","GeoVectorPlot","GeoVectorXYZ","GeoVisibleRegion","GeoVisibleRegionBoundary","GeoWithinQ","GeoZoomLevel","GestureHandler","GestureHandlerTag","Get","GetBoundingBoxSizePacket","GetContext","GetEnvironment","GetFileName","GetFrontEndOptionsDataPacket","GetLinebreakInformationPacket","GetMenusPacket","GetPageBreakInformationPacket","Glaisher","GlobalClusteringCoefficient","GlobalPreferences","GlobalSession","Glow","GoldenAngle","GoldenRatio","GompertzMakehamDistribution","GoochShading","GoodmanKruskalGamma","GoodmanKruskalGammaTest","Goto","Grad","Gradient","GradientFilter","GradientOrientationFilter","GrammarApply","GrammarRules","GrammarToken","Graph","Graph3D","GraphAssortativity","GraphAutomorphismGroup","GraphCenter","GraphComplement","GraphData","GraphDensity","GraphDiameter","GraphDifference","GraphDisjointUnion","GraphDistance","GraphDistanceMatrix","GraphElementData","GraphEmbedding","GraphHighlight","GraphHighlightStyle","GraphHub","Graphics","Graphics3D","Graphics3DBox","Graphics3DBoxOptions","GraphicsArray","GraphicsBaseline","GraphicsBox","GraphicsBoxOptions","GraphicsColor","GraphicsColumn","GraphicsComplex","GraphicsComplex3DBox","GraphicsComplex3DBoxOptions","GraphicsComplexBox","GraphicsComplexBoxOptions","GraphicsContents","GraphicsData","GraphicsGrid","GraphicsGridBox","GraphicsGroup","GraphicsGroup3DBox","GraphicsGroup3DBoxOptions","GraphicsGroupBox","GraphicsGroupBoxOptions","GraphicsGrouping","GraphicsHighlightColor","GraphicsRow","GraphicsSpacing","GraphicsStyle","GraphIntersection","GraphLayout","GraphLinkEfficiency","GraphPeriphery","GraphPlot","GraphPlot3D","GraphPower","GraphPropertyDistribution","GraphQ","GraphRadius","GraphReciprocity","GraphRoot","GraphStyle","GraphUnion","Gray","GrayLevel","Greater","GreaterEqual","GreaterEqualLess","GreaterEqualThan","GreaterFullEqual","GreaterGreater","GreaterLess","GreaterSlantEqual","GreaterThan","GreaterTilde","Green","GreenFunction","Grid","GridBaseline","GridBox","GridBoxAlignment","GridBoxBackground","GridBoxDividers","GridBoxFrame","GridBoxItemSize","GridBoxItemStyle","GridBoxOptions","GridBoxSpacings","GridCreationSettings","GridDefaultElement","GridElementStyleOptions","GridFrame","GridFrameMargins","GridGraph","GridLines","GridLinesStyle","GroebnerBasis","GroupActionBase","GroupBy","GroupCentralizer","GroupElementFromWord","GroupElementPosition","GroupElementQ","GroupElements","GroupElementToWord","GroupGenerators","Groupings","GroupMultiplicationTable","GroupOrbits","GroupOrder","GroupPageBreakWithin","GroupSetwiseStabilizer","GroupStabilizer","GroupStabilizerChain","GroupTogetherGrouping","GroupTogetherNestedGrouping","GrowCutComponents","Gudermannian","GuidedFilter","GumbelDistribution","HaarWavelet","HadamardMatrix","HalfLine","HalfNormalDistribution","HalfPlane","HalfSpace","HalftoneShading","HamiltonianGraphQ","HammingDistance","HammingWindow","HandlerFunctions","HandlerFunctionsKeys","HankelH1","HankelH2","HankelMatrix","HankelTransform","HannPoissonWindow","HannWindow","HaradaNortonGroupHN","HararyGraph","HarmonicMean","HarmonicMeanFilter","HarmonicNumber","Hash","HatchFilling","HatchShading","Haversine","HazardFunction","Head","HeadCompose","HeaderAlignment","HeaderBackground","HeaderDisplayFunction","HeaderLines","HeaderSize","HeaderStyle","Heads","HeavisideLambda","HeavisidePi","HeavisideTheta","HeldGroupHe","HeldPart","HelpBrowserLookup","HelpBrowserNotebook","HelpBrowserSettings","Here","HermiteDecomposition","HermiteH","HermitianMatrixQ","HessenbergDecomposition","Hessian","HeunB","HeunBPrime","HeunC","HeunCPrime","HeunD","HeunDPrime","HeunG","HeunGPrime","HeunT","HeunTPrime","HexadecimalCharacter","Hexahedron","HexahedronBox","HexahedronBoxOptions","HiddenItems","HiddenMarkovProcess","HiddenSurface","Highlighted","HighlightGraph","HighlightImage","HighlightMesh","HighpassFilter","HigmanSimsGroupHS","HilbertCurve","HilbertFilter","HilbertMatrix","Histogram","Histogram3D","HistogramDistribution","HistogramList","HistogramTransform","HistogramTransformInterpolation","HistoricalPeriodData","HitMissTransform","HITSCentrality","HjorthDistribution","HodgeDual","HoeffdingD","HoeffdingDTest","Hold","HoldAll","HoldAllComplete","HoldComplete","HoldFirst","HoldForm","HoldPattern","HoldRest","HolidayCalendar","HomeDirectory","HomePage","Horizontal","HorizontalForm","HorizontalGauge","HorizontalScrollPosition","HornerForm","HostLookup","HotellingTSquareDistribution","HoytDistribution","HTMLSave","HTTPErrorResponse","HTTPRedirect","HTTPRequest","HTTPRequestData","HTTPResponse","Hue","HumanGrowthData","HumpDownHump","HumpEqual","HurwitzLerchPhi","HurwitzZeta","HyperbolicDistribution","HypercubeGraph","HyperexponentialDistribution","Hyperfactorial","Hypergeometric0F1","Hypergeometric0F1Regularized","Hypergeometric1F1","Hypergeometric1F1Regularized","Hypergeometric2F1","Hypergeometric2F1Regularized","HypergeometricDistribution","HypergeometricPFQ","HypergeometricPFQRegularized","HypergeometricU","Hyperlink","HyperlinkAction","HyperlinkCreationSettings","Hyperplane","Hyphenation","HyphenationOptions","HypoexponentialDistribution","HypothesisTestData","I","IconData","Iconize","IconizedObject","IconRules","Icosahedron","Identity","IdentityMatrix","If","IgnoreCase","IgnoreDiacritics","IgnorePunctuation","IgnoreSpellCheck","IgnoringInactive","Im","Image","Image3D","Image3DProjection","Image3DSlices","ImageAccumulate","ImageAdd","ImageAdjust","ImageAlign","ImageApply","ImageApplyIndexed","ImageAspectRatio","ImageAssemble","ImageAugmentationLayer","ImageBoundingBoxes","ImageCache","ImageCacheValid","ImageCapture","ImageCaptureFunction","ImageCases","ImageChannels","ImageClip","ImageCollage","ImageColorSpace","ImageCompose","ImageContainsQ","ImageContents","ImageConvolve","ImageCooccurrence","ImageCorners","ImageCorrelate","ImageCorrespondingPoints","ImageCrop","ImageData","ImageDeconvolve","ImageDemosaic","ImageDifference","ImageDimensions","ImageDisplacements","ImageDistance","ImageEffect","ImageExposureCombine","ImageFeatureTrack","ImageFileApply","ImageFileFilter","ImageFileScan","ImageFilter","ImageFocusCombine","ImageForestingComponents","ImageFormattingWidth","ImageForwardTransformation","ImageGraphics","ImageHistogram","ImageIdentify","ImageInstanceQ","ImageKeypoints","ImageLabels","ImageLegends","ImageLevels","ImageLines","ImageMargins","ImageMarker","ImageMarkers","ImageMeasurements","ImageMesh","ImageMultiply","ImageOffset","ImagePad","ImagePadding","ImagePartition","ImagePeriodogram","ImagePerspectiveTransformation","ImagePosition","ImagePreviewFunction","ImagePyramid","ImagePyramidApply","ImageQ","ImageRangeCache","ImageRecolor","ImageReflect","ImageRegion","ImageResize","ImageResolution","ImageRestyle","ImageRotate","ImageRotated","ImageSaliencyFilter","ImageScaled","ImageScan","ImageSize","ImageSizeAction","ImageSizeCache","ImageSizeMultipliers","ImageSizeRaw","ImageSubtract","ImageTake","ImageTransformation","ImageTrim","ImageType","ImageValue","ImageValuePositions","ImagingDevice","ImplicitRegion","Implies","Import","ImportAutoReplacements","ImportByteArray","ImportOptions","ImportString","ImprovementImportance","In","Inactivate","Inactive","IncidenceGraph","IncidenceList","IncidenceMatrix","IncludeAromaticBonds","IncludeConstantBasis","IncludeDefinitions","IncludeDirectories","IncludeFileExtension","IncludeGeneratorTasks","IncludeHydrogens","IncludeInflections","IncludeMetaInformation","IncludePods","IncludeQuantities","IncludeRelatedTables","IncludeSingularTerm","IncludeWindowTimes","Increment","IndefiniteMatrixQ","Indent","IndentingNewlineSpacings","IndentMaxFraction","IndependenceTest","IndependentEdgeSetQ","IndependentPhysicalQuantity","IndependentUnit","IndependentUnitDimension","IndependentVertexSetQ","Indeterminate","IndeterminateThreshold","IndexCreationOptions","Indexed","IndexEdgeTaggedGraph","IndexGraph","IndexTag","Inequality","InexactNumberQ","InexactNumbers","InfiniteFuture","InfiniteLine","InfinitePast","InfinitePlane","Infinity","Infix","InflationAdjust","InflationMethod","Information","InformationData","InformationDataGrid","Inherited","InheritScope","InhomogeneousPoissonProcess","InitialEvaluationHistory","Initialization","InitializationCell","InitializationCellEvaluation","InitializationCellWarning","InitializationObjects","InitializationValue","Initialize","InitialSeeding","InlineCounterAssignments","InlineCounterIncrements","InlineRules","Inner","InnerPolygon","InnerPolyhedron","Inpaint","Input","InputAliases","InputAssumptions","InputAutoReplacements","InputField","InputFieldBox","InputFieldBoxOptions","InputForm","InputGrouping","InputNamePacket","InputNotebook","InputPacket","InputSettings","InputStream","InputString","InputStringPacket","InputToBoxFormPacket","Insert","InsertionFunction","InsertionPointObject","InsertLinebreaks","InsertResults","Inset","Inset3DBox","Inset3DBoxOptions","InsetBox","InsetBoxOptions","Insphere","Install","InstallService","InstanceNormalizationLayer","InString","Integer","IntegerDigits","IntegerExponent","IntegerLength","IntegerName","IntegerPart","IntegerPartitions","IntegerQ","IntegerReverse","Integers","IntegerString","Integral","Integrate","Interactive","InteractiveTradingChart","Interlaced","Interleaving","InternallyBalancedDecomposition","InterpolatingFunction","InterpolatingPolynomial","Interpolation","InterpolationOrder","InterpolationPoints","InterpolationPrecision","Interpretation","InterpretationBox","InterpretationBoxOptions","InterpretationFunction","Interpreter","InterpretTemplate","InterquartileRange","Interrupt","InterruptSettings","IntersectedEntityClass","IntersectingQ","Intersection","Interval","IntervalIntersection","IntervalMarkers","IntervalMarkersStyle","IntervalMemberQ","IntervalSlider","IntervalUnion","Into","Inverse","InverseBetaRegularized","InverseCDF","InverseChiSquareDistribution","InverseContinuousWaveletTransform","InverseDistanceTransform","InverseEllipticNomeQ","InverseErf","InverseErfc","InverseFourier","InverseFourierCosTransform","InverseFourierSequenceTransform","InverseFourierSinTransform","InverseFourierTransform","InverseFunction","InverseFunctions","InverseGammaDistribution","InverseGammaRegularized","InverseGaussianDistribution","InverseGudermannian","InverseHankelTransform","InverseHaversine","InverseImagePyramid","InverseJacobiCD","InverseJacobiCN","InverseJacobiCS","InverseJacobiDC","InverseJacobiDN","InverseJacobiDS","InverseJacobiNC","InverseJacobiND","InverseJacobiNS","InverseJacobiSC","InverseJacobiSD","InverseJacobiSN","InverseLaplaceTransform","InverseMellinTransform","InversePermutation","InverseRadon","InverseRadonTransform","InverseSeries","InverseShortTimeFourier","InverseSpectrogram","InverseSurvivalFunction","InverseTransformedRegion","InverseWaveletTransform","InverseWeierstrassP","InverseWishartMatrixDistribution","InverseZTransform","Invisible","InvisibleApplication","InvisibleTimes","IPAddress","IrreduciblePolynomialQ","IslandData","IsolatingInterval","IsomorphicGraphQ","IsotopeData","Italic","Item","ItemAspectRatio","ItemBox","ItemBoxOptions","ItemDisplayFunction","ItemSize","ItemStyle","ItoProcess","JaccardDissimilarity","JacobiAmplitude","Jacobian","JacobiCD","JacobiCN","JacobiCS","JacobiDC","JacobiDN","JacobiDS","JacobiNC","JacobiND","JacobiNS","JacobiP","JacobiSC","JacobiSD","JacobiSN","JacobiSymbol","JacobiZeta","JankoGroupJ1","JankoGroupJ2","JankoGroupJ3","JankoGroupJ4","JarqueBeraALMTest","JohnsonDistribution","Join","JoinAcross","Joined","JoinedCurve","JoinedCurveBox","JoinedCurveBoxOptions","JoinForm","JordanDecomposition","JordanModelDecomposition","JulianDate","JuliaSetBoettcher","JuliaSetIterationCount","JuliaSetPlot","JuliaSetPoints","K","KagiChart","KaiserBesselWindow","KaiserWindow","KalmanEstimator","KalmanFilter","KarhunenLoeveDecomposition","KaryTree","KatzCentrality","KCoreComponents","KDistribution","KEdgeConnectedComponents","KEdgeConnectedGraphQ","KeepExistingVersion","KelvinBei","KelvinBer","KelvinKei","KelvinKer","KendallTau","KendallTauTest","KernelExecute","KernelFunction","KernelMixtureDistribution","KernelObject","Kernels","Ket","Key","KeyCollisionFunction","KeyComplement","KeyDrop","KeyDropFrom","KeyExistsQ","KeyFreeQ","KeyIntersection","KeyMap","KeyMemberQ","KeypointStrength","Keys","KeySelect","KeySort","KeySortBy","KeyTake","KeyUnion","KeyValueMap","KeyValuePattern","Khinchin","KillProcess","KirchhoffGraph","KirchhoffMatrix","KleinInvariantJ","KnapsackSolve","KnightTourGraph","KnotData","KnownUnitQ","KochCurve","KolmogorovSmirnovTest","KroneckerDelta","KroneckerModelDecomposition","KroneckerProduct","KroneckerSymbol","KuiperTest","KumaraswamyDistribution","Kurtosis","KuwaharaFilter","KVertexConnectedComponents","KVertexConnectedGraphQ","LABColor","Label","Labeled","LabeledSlider","LabelingFunction","LabelingSize","LabelStyle","LabelVisibility","LaguerreL","LakeData","LambdaComponents","LambertW","LaminaData","LanczosWindow","LandauDistribution","Language","LanguageCategory","LanguageData","LanguageIdentify","LanguageOptions","LaplaceDistribution","LaplaceTransform","Laplacian","LaplacianFilter","LaplacianGaussianFilter","Large","Larger","Last","Latitude","LatitudeLongitude","LatticeData","LatticeReduce","Launch","LaunchKernels","LayeredGraphPlot","LayerSizeFunction","LayoutInformation","LCHColor","LCM","LeaderSize","LeafCount","LeapYearQ","LearnDistribution","LearnedDistribution","LearningRate","LearningRateMultipliers","LeastSquares","LeastSquaresFilterKernel","Left","LeftArrow","LeftArrowBar","LeftArrowRightArrow","LeftDownTeeVector","LeftDownVector","LeftDownVectorBar","LeftRightArrow","LeftRightVector","LeftTee","LeftTeeArrow","LeftTeeVector","LeftTriangle","LeftTriangleBar","LeftTriangleEqual","LeftUpDownVector","LeftUpTeeVector","LeftUpVector","LeftUpVectorBar","LeftVector","LeftVectorBar","LegendAppearance","Legended","LegendFunction","LegendLabel","LegendLayout","LegendMargins","LegendMarkers","LegendMarkerSize","LegendreP","LegendreQ","LegendreType","Length","LengthWhile","LerchPhi","Less","LessEqual","LessEqualGreater","LessEqualThan","LessFullEqual","LessGreater","LessLess","LessSlantEqual","LessThan","LessTilde","LetterCharacter","LetterCounts","LetterNumber","LetterQ","Level","LeveneTest","LeviCivitaTensor","LevyDistribution","Lexicographic","LibraryDataType","LibraryFunction","LibraryFunctionError","LibraryFunctionInformation","LibraryFunctionLoad","LibraryFunctionUnload","LibraryLoad","LibraryUnload","LicenseID","LiftingFilterData","LiftingWaveletTransform","LightBlue","LightBrown","LightCyan","Lighter","LightGray","LightGreen","Lighting","LightingAngle","LightMagenta","LightOrange","LightPink","LightPurple","LightRed","LightSources","LightYellow","Likelihood","Limit","LimitsPositioning","LimitsPositioningTokens","LindleyDistribution","Line","Line3DBox","Line3DBoxOptions","LinearFilter","LinearFractionalOptimization","LinearFractionalTransform","LinearGradientImage","LinearizingTransformationData","LinearLayer","LinearModelFit","LinearOffsetFunction","LinearOptimization","LinearProgramming","LinearRecurrence","LinearSolve","LinearSolveFunction","LineBox","LineBoxOptions","LineBreak","LinebreakAdjustments","LineBreakChart","LinebreakSemicolonWeighting","LineBreakWithin","LineColor","LineGraph","LineIndent","LineIndentMaxFraction","LineIntegralConvolutionPlot","LineIntegralConvolutionScale","LineLegend","LineOpacity","LineSpacing","LineWrapParts","LinkActivate","LinkClose","LinkConnect","LinkConnectedQ","LinkCreate","LinkError","LinkFlush","LinkFunction","LinkHost","LinkInterrupt","LinkLaunch","LinkMode","LinkObject","LinkOpen","LinkOptions","LinkPatterns","LinkProtocol","LinkRankCentrality","LinkRead","LinkReadHeld","LinkReadyQ","Links","LinkService","LinkWrite","LinkWriteHeld","LiouvilleLambda","List","Listable","ListAnimate","ListContourPlot","ListContourPlot3D","ListConvolve","ListCorrelate","ListCurvePathPlot","ListDeconvolve","ListDensityPlot","ListDensityPlot3D","Listen","ListFormat","ListFourierSequenceTransform","ListInterpolation","ListLineIntegralConvolutionPlot","ListLinePlot","ListLogLinearPlot","ListLogLogPlot","ListLogPlot","ListPicker","ListPickerBox","ListPickerBoxBackground","ListPickerBoxOptions","ListPlay","ListPlot","ListPlot3D","ListPointPlot3D","ListPolarPlot","ListQ","ListSliceContourPlot3D","ListSliceDensityPlot3D","ListSliceVectorPlot3D","ListStepPlot","ListStreamDensityPlot","ListStreamPlot","ListSurfacePlot3D","ListVectorDensityPlot","ListVectorPlot","ListVectorPlot3D","ListZTransform","Literal","LiteralSearch","LocalAdaptiveBinarize","LocalCache","LocalClusteringCoefficient","LocalizeDefinitions","LocalizeVariables","LocalObject","LocalObjects","LocalResponseNormalizationLayer","LocalSubmit","LocalSymbol","LocalTime","LocalTimeZone","LocationEquivalenceTest","LocationTest","Locator","LocatorAutoCreate","LocatorBox","LocatorBoxOptions","LocatorCentering","LocatorPane","LocatorPaneBox","LocatorPaneBoxOptions","LocatorRegion","Locked","Log","Log10","Log2","LogBarnesG","LogGamma","LogGammaDistribution","LogicalExpand","LogIntegral","LogisticDistribution","LogisticSigmoid","LogitModelFit","LogLikelihood","LogLinearPlot","LogLogisticDistribution","LogLogPlot","LogMultinormalDistribution","LogNormalDistribution","LogPlot","LogRankTest","LogSeriesDistribution","LongEqual","Longest","LongestCommonSequence","LongestCommonSequencePositions","LongestCommonSubsequence","LongestCommonSubsequencePositions","LongestMatch","LongestOrderedSequence","LongForm","Longitude","LongLeftArrow","LongLeftRightArrow","LongRightArrow","LongShortTermMemoryLayer","Lookup","Loopback","LoopFreeGraphQ","Looping","LossFunction","LowerCaseQ","LowerLeftArrow","LowerRightArrow","LowerTriangularize","LowerTriangularMatrixQ","LowpassFilter","LQEstimatorGains","LQGRegulator","LQOutputRegulatorGains","LQRegulatorGains","LUBackSubstitution","LucasL","LuccioSamiComponents","LUDecomposition","LunarEclipse","LUVColor","LyapunovSolve","LyonsGroupLy","MachineID","MachineName","MachineNumberQ","MachinePrecision","MacintoshSystemPageSetup","Magenta","Magnification","Magnify","MailAddressValidation","MailExecute","MailFolder","MailItem","MailReceiverFunction","MailResponseFunction","MailSearch","MailServerConnect","MailServerConnection","MailSettings","MainSolve","MaintainDynamicCaches","Majority","MakeBoxes","MakeExpression","MakeRules","ManagedLibraryExpressionID","ManagedLibraryExpressionQ","MandelbrotSetBoettcher","MandelbrotSetDistance","MandelbrotSetIterationCount","MandelbrotSetMemberQ","MandelbrotSetPlot","MangoldtLambda","ManhattanDistance","Manipulate","Manipulator","MannedSpaceMissionData","MannWhitneyTest","MantissaExponent","Manual","Map","MapAll","MapAt","MapIndexed","MAProcess","MapThread","MarchenkoPasturDistribution","MarcumQ","MardiaCombinedTest","MardiaKurtosisTest","MardiaSkewnessTest","MarginalDistribution","MarkovProcessProperties","Masking","MatchingDissimilarity","MatchLocalNameQ","MatchLocalNames","MatchQ","Material","MathematicalFunctionData","MathematicaNotation","MathieuC","MathieuCharacteristicA","MathieuCharacteristicB","MathieuCharacteristicExponent","MathieuCPrime","MathieuGroupM11","MathieuGroupM12","MathieuGroupM22","MathieuGroupM23","MathieuGroupM24","MathieuS","MathieuSPrime","MathMLForm","MathMLText","Matrices","MatrixExp","MatrixForm","MatrixFunction","MatrixLog","MatrixNormalDistribution","MatrixPlot","MatrixPower","MatrixPropertyDistribution","MatrixQ","MatrixRank","MatrixTDistribution","Max","MaxBend","MaxCellMeasure","MaxColorDistance","MaxDate","MaxDetect","MaxDuration","MaxExtraBandwidths","MaxExtraConditions","MaxFeatureDisplacement","MaxFeatures","MaxFilter","MaximalBy","Maximize","MaxItems","MaxIterations","MaxLimit","MaxMemoryUsed","MaxMixtureKernels","MaxOverlapFraction","MaxPlotPoints","MaxPoints","MaxRecursion","MaxStableDistribution","MaxStepFraction","MaxSteps","MaxStepSize","MaxTrainingRounds","MaxValue","MaxwellDistribution","MaxWordGap","McLaughlinGroupMcL","Mean","MeanAbsoluteLossLayer","MeanAround","MeanClusteringCoefficient","MeanDegreeConnectivity","MeanDeviation","MeanFilter","MeanGraphDistance","MeanNeighborDegree","MeanShift","MeanShiftFilter","MeanSquaredLossLayer","Median","MedianDeviation","MedianFilter","MedicalTestData","Medium","MeijerG","MeijerGReduce","MeixnerDistribution","MellinConvolve","MellinTransform","MemberQ","MemoryAvailable","MemoryConstrained","MemoryConstraint","MemoryInUse","MengerMesh","Menu","MenuAppearance","MenuCommandKey","MenuEvaluator","MenuItem","MenuList","MenuPacket","MenuSortingValue","MenuStyle","MenuView","Merge","MergeDifferences","MergingFunction","MersennePrimeExponent","MersennePrimeExponentQ","Mesh","MeshCellCentroid","MeshCellCount","MeshCellHighlight","MeshCellIndex","MeshCellLabel","MeshCellMarker","MeshCellMeasure","MeshCellQuality","MeshCells","MeshCellShapeFunction","MeshCellStyle","MeshConnectivityGraph","MeshCoordinates","MeshFunctions","MeshPrimitives","MeshQualityGoal","MeshRange","MeshRefinementFunction","MeshRegion","MeshRegionQ","MeshShading","MeshStyle","Message","MessageDialog","MessageList","MessageName","MessageObject","MessageOptions","MessagePacket","Messages","MessagesNotebook","MetaCharacters","MetaInformation","MeteorShowerData","Method","MethodOptions","MexicanHatWavelet","MeyerWavelet","Midpoint","Min","MinColorDistance","MinDate","MinDetect","MineralData","MinFilter","MinimalBy","MinimalPolynomial","MinimalStateSpaceModel","Minimize","MinimumTimeIncrement","MinIntervalSize","MinkowskiQuestionMark","MinLimit","MinMax","MinorPlanetData","Minors","MinRecursion","MinSize","MinStableDistribution","Minus","MinusPlus","MinValue","Missing","MissingBehavior","MissingDataMethod","MissingDataRules","MissingQ","MissingString","MissingStyle","MissingValuePattern","MittagLefflerE","MixedFractionParts","MixedGraphQ","MixedMagnitude","MixedRadix","MixedRadixQuantity","MixedUnit","MixtureDistribution","Mod","Modal","Mode","Modular","ModularInverse","ModularLambda","Module","Modulus","MoebiusMu","Molecule","MoleculeContainsQ","MoleculeEquivalentQ","MoleculeGraph","MoleculeModify","MoleculePattern","MoleculePlot","MoleculePlot3D","MoleculeProperty","MoleculeQ","MoleculeRecognize","MoleculeValue","Moment","Momentary","MomentConvert","MomentEvaluate","MomentGeneratingFunction","MomentOfInertia","Monday","Monitor","MonomialList","MonomialOrder","MonsterGroupM","MoonPhase","MoonPosition","MorletWavelet","MorphologicalBinarize","MorphologicalBranchPoints","MorphologicalComponents","MorphologicalEulerNumber","MorphologicalGraph","MorphologicalPerimeter","MorphologicalTransform","MortalityData","Most","MountainData","MouseAnnotation","MouseAppearance","MouseAppearanceTag","MouseButtons","Mouseover","MousePointerNote","MousePosition","MovieData","MovingAverage","MovingMap","MovingMedian","MoyalDistribution","Multicolumn","MultiedgeStyle","MultigraphQ","MultilaunchWarning","MultiLetterItalics","MultiLetterStyle","MultilineFunction","Multinomial","MultinomialDistribution","MultinormalDistribution","MultiplicativeOrder","Multiplicity","MultiplySides","Multiselection","MultivariateHypergeometricDistribution","MultivariatePoissonDistribution","MultivariateTDistribution","N","NakagamiDistribution","NameQ","Names","NamespaceBox","NamespaceBoxOptions","Nand","NArgMax","NArgMin","NBernoulliB","NBodySimulation","NBodySimulationData","NCache","NDEigensystem","NDEigenvalues","NDSolve","NDSolveValue","Nearest","NearestFunction","NearestMeshCells","NearestNeighborGraph","NearestTo","NebulaData","NeedCurrentFrontEndPackagePacket","NeedCurrentFrontEndSymbolsPacket","NeedlemanWunschSimilarity","Needs","Negative","NegativeBinomialDistribution","NegativeDefiniteMatrixQ","NegativeIntegers","NegativeMultinomialDistribution","NegativeRationals","NegativeReals","NegativeSemidefiniteMatrixQ","NeighborhoodData","NeighborhoodGraph","Nest","NestedGreaterGreater","NestedLessLess","NestedScriptRules","NestGraph","NestList","NestWhile","NestWhileList","NetAppend","NetBidirectionalOperator","NetChain","NetDecoder","NetDelete","NetDrop","NetEncoder","NetEvaluationMode","NetExtract","NetFlatten","NetFoldOperator","NetGANOperator","NetGraph","NetInformation","NetInitialize","NetInsert","NetInsertSharedArrays","NetJoin","NetMapOperator","NetMapThreadOperator","NetMeasurements","NetModel","NetNestOperator","NetPairEmbeddingOperator","NetPort","NetPortGradient","NetPrepend","NetRename","NetReplace","NetReplacePart","NetSharedArray","NetStateObject","NetTake","NetTrain","NetTrainResultsObject","NetworkPacketCapture","NetworkPacketRecording","NetworkPacketRecordingDuring","NetworkPacketTrace","NeumannValue","NevilleThetaC","NevilleThetaD","NevilleThetaN","NevilleThetaS","NewPrimitiveStyle","NExpectation","Next","NextCell","NextDate","NextPrime","NextScheduledTaskTime","NHoldAll","NHoldFirst","NHoldRest","NicholsGridLines","NicholsPlot","NightHemisphere","NIntegrate","NMaximize","NMaxValue","NMinimize","NMinValue","NominalVariables","NonAssociative","NoncentralBetaDistribution","NoncentralChiSquareDistribution","NoncentralFRatioDistribution","NoncentralStudentTDistribution","NonCommutativeMultiply","NonConstants","NondimensionalizationTransform","None","NoneTrue","NonlinearModelFit","NonlinearStateSpaceModel","NonlocalMeansFilter","NonNegative","NonNegativeIntegers","NonNegativeRationals","NonNegativeReals","NonPositive","NonPositiveIntegers","NonPositiveRationals","NonPositiveReals","Nor","NorlundB","Norm","Normal","NormalDistribution","NormalGrouping","NormalizationLayer","Normalize","Normalized","NormalizedSquaredEuclideanDistance","NormalMatrixQ","NormalsFunction","NormFunction","Not","NotCongruent","NotCupCap","NotDoubleVerticalBar","Notebook","NotebookApply","NotebookAutoSave","NotebookClose","NotebookConvertSettings","NotebookCreate","NotebookCreateReturnObject","NotebookDefault","NotebookDelete","NotebookDirectory","NotebookDynamicExpression","NotebookEvaluate","NotebookEventActions","NotebookFileName","NotebookFind","NotebookFindReturnObject","NotebookGet","NotebookGetLayoutInformationPacket","NotebookGetMisspellingsPacket","NotebookImport","NotebookInformation","NotebookInterfaceObject","NotebookLocate","NotebookObject","NotebookOpen","NotebookOpenReturnObject","NotebookPath","NotebookPrint","NotebookPut","NotebookPutReturnObject","NotebookRead","NotebookResetGeneratedCells","Notebooks","NotebookSave","NotebookSaveAs","NotebookSelection","NotebookSetupLayoutInformationPacket","NotebooksMenu","NotebookTemplate","NotebookWrite","NotElement","NotEqualTilde","NotExists","NotGreater","NotGreaterEqual","NotGreaterFullEqual","NotGreaterGreater","NotGreaterLess","NotGreaterSlantEqual","NotGreaterTilde","Nothing","NotHumpDownHump","NotHumpEqual","NotificationFunction","NotLeftTriangle","NotLeftTriangleBar","NotLeftTriangleEqual","NotLess","NotLessEqual","NotLessFullEqual","NotLessGreater","NotLessLess","NotLessSlantEqual","NotLessTilde","NotNestedGreaterGreater","NotNestedLessLess","NotPrecedes","NotPrecedesEqual","NotPrecedesSlantEqual","NotPrecedesTilde","NotReverseElement","NotRightTriangle","NotRightTriangleBar","NotRightTriangleEqual","NotSquareSubset","NotSquareSubsetEqual","NotSquareSuperset","NotSquareSupersetEqual","NotSubset","NotSubsetEqual","NotSucceeds","NotSucceedsEqual","NotSucceedsSlantEqual","NotSucceedsTilde","NotSuperset","NotSupersetEqual","NotTilde","NotTildeEqual","NotTildeFullEqual","NotTildeTilde","NotVerticalBar","Now","NoWhitespace","NProbability","NProduct","NProductFactors","NRoots","NSolve","NSum","NSumTerms","NuclearExplosionData","NuclearReactorData","Null","NullRecords","NullSpace","NullWords","Number","NumberCompose","NumberDecompose","NumberExpand","NumberFieldClassNumber","NumberFieldDiscriminant","NumberFieldFundamentalUnits","NumberFieldIntegralBasis","NumberFieldNormRepresentatives","NumberFieldRegulator","NumberFieldRootsOfUnity","NumberFieldSignature","NumberForm","NumberFormat","NumberLinePlot","NumberMarks","NumberMultiplier","NumberPadding","NumberPoint","NumberQ","NumberSeparator","NumberSigns","NumberString","Numerator","NumeratorDenominator","NumericalOrder","NumericalSort","NumericArray","NumericArrayQ","NumericArrayType","NumericFunction","NumericQ","NuttallWindow","NValues","NyquistGridLines","NyquistPlot","O","ObservabilityGramian","ObservabilityMatrix","ObservableDecomposition","ObservableModelQ","OceanData","Octahedron","OddQ","Off","Offset","OLEData","On","ONanGroupON","Once","OneIdentity","Opacity","OpacityFunction","OpacityFunctionScaling","Open","OpenAppend","Opener","OpenerBox","OpenerBoxOptions","OpenerView","OpenFunctionInspectorPacket","Opening","OpenRead","OpenSpecialOptions","OpenTemporary","OpenWrite","Operate","OperatingSystem","OperatorApplied","OptimumFlowData","Optional","OptionalElement","OptionInspectorSettings","OptionQ","Options","OptionsPacket","OptionsPattern","OptionValue","OptionValueBox","OptionValueBoxOptions","Or","Orange","Order","OrderDistribution","OrderedQ","Ordering","OrderingBy","OrderingLayer","Orderless","OrderlessPatternSequence","OrnsteinUhlenbeckProcess","Orthogonalize","OrthogonalMatrixQ","Out","Outer","OuterPolygon","OuterPolyhedron","OutputAutoOverwrite","OutputControllabilityMatrix","OutputControllableModelQ","OutputForm","OutputFormData","OutputGrouping","OutputMathEditExpression","OutputNamePacket","OutputResponse","OutputSizeLimit","OutputStream","Over","OverBar","OverDot","Overflow","OverHat","Overlaps","Overlay","OverlayBox","OverlayBoxOptions","Overscript","OverscriptBox","OverscriptBoxOptions","OverTilde","OverVector","OverwriteTarget","OwenT","OwnValues","Package","PackingMethod","PackPaclet","PacletDataRebuild","PacletDirectoryAdd","PacletDirectoryLoad","PacletDirectoryRemove","PacletDirectoryUnload","PacletDisable","PacletEnable","PacletFind","PacletFindRemote","PacletInformation","PacletInstall","PacletInstallSubmit","PacletNewerQ","PacletObject","PacletObjectQ","PacletSite","PacletSiteObject","PacletSiteRegister","PacletSites","PacletSiteUnregister","PacletSiteUpdate","PacletUninstall","PacletUpdate","PaddedForm","Padding","PaddingLayer","PaddingSize","PadeApproximant","PadLeft","PadRight","PageBreakAbove","PageBreakBelow","PageBreakWithin","PageFooterLines","PageFooters","PageHeaderLines","PageHeaders","PageHeight","PageRankCentrality","PageTheme","PageWidth","Pagination","PairedBarChart","PairedHistogram","PairedSmoothHistogram","PairedTTest","PairedZTest","PaletteNotebook","PalettePath","PalindromeQ","Pane","PaneBox","PaneBoxOptions","Panel","PanelBox","PanelBoxOptions","Paneled","PaneSelector","PaneSelectorBox","PaneSelectorBoxOptions","PaperWidth","ParabolicCylinderD","ParagraphIndent","ParagraphSpacing","ParallelArray","ParallelCombine","ParallelDo","Parallelepiped","ParallelEvaluate","Parallelization","Parallelize","ParallelMap","ParallelNeeds","Parallelogram","ParallelProduct","ParallelSubmit","ParallelSum","ParallelTable","ParallelTry","Parameter","ParameterEstimator","ParameterMixtureDistribution","ParameterVariables","ParametricFunction","ParametricNDSolve","ParametricNDSolveValue","ParametricPlot","ParametricPlot3D","ParametricRampLayer","ParametricRegion","ParentBox","ParentCell","ParentConnect","ParentDirectory","ParentForm","Parenthesize","ParentList","ParentNotebook","ParetoDistribution","ParetoPickandsDistribution","ParkData","Part","PartBehavior","PartialCorrelationFunction","PartialD","ParticleAcceleratorData","ParticleData","Partition","PartitionGranularity","PartitionsP","PartitionsQ","PartLayer","PartOfSpeech","PartProtection","ParzenWindow","PascalDistribution","PassEventsDown","PassEventsUp","Paste","PasteAutoQuoteCharacters","PasteBoxFormInlineCells","PasteButton","Path","PathGraph","PathGraphQ","Pattern","PatternFilling","PatternSequence","PatternTest","PauliMatrix","PaulWavelet","Pause","PausedTime","PDF","PeakDetect","PeanoCurve","PearsonChiSquareTest","PearsonCorrelationTest","PearsonDistribution","PercentForm","PerfectNumber","PerfectNumberQ","PerformanceGoal","Perimeter","PeriodicBoundaryCondition","PeriodicInterpolation","Periodogram","PeriodogramArray","Permanent","Permissions","PermissionsGroup","PermissionsGroupMemberQ","PermissionsGroups","PermissionsKey","PermissionsKeys","PermutationCycles","PermutationCyclesQ","PermutationGroup","PermutationLength","PermutationList","PermutationListQ","PermutationMax","PermutationMin","PermutationOrder","PermutationPower","PermutationProduct","PermutationReplace","Permutations","PermutationSupport","Permute","PeronaMalikFilter","Perpendicular","PerpendicularBisector","PersistenceLocation","PersistenceTime","PersistentObject","PersistentObjects","PersistentValue","PersonData","PERTDistribution","PetersenGraph","PhaseMargins","PhaseRange","PhysicalSystemData","Pi","Pick","PIDData","PIDDerivativeFilter","PIDFeedforward","PIDTune","Piecewise","PiecewiseExpand","PieChart","PieChart3D","PillaiTrace","PillaiTraceTest","PingTime","Pink","PitchRecognize","Pivoting","PixelConstrained","PixelValue","PixelValuePositions","Placed","Placeholder","PlaceholderReplace","Plain","PlanarAngle","PlanarGraph","PlanarGraphQ","PlanckRadiationLaw","PlaneCurveData","PlanetaryMoonData","PlanetData","PlantData","Play","PlayRange","Plot","Plot3D","Plot3Matrix","PlotDivision","PlotJoined","PlotLabel","PlotLabels","PlotLayout","PlotLegends","PlotMarkers","PlotPoints","PlotRange","PlotRangeClipping","PlotRangeClipPlanesStyle","PlotRangePadding","PlotRegion","PlotStyle","PlotTheme","Pluralize","Plus","PlusMinus","Pochhammer","PodStates","PodWidth","Point","Point3DBox","Point3DBoxOptions","PointBox","PointBoxOptions","PointFigureChart","PointLegend","PointSize","PoissonConsulDistribution","PoissonDistribution","PoissonProcess","PoissonWindow","PolarAxes","PolarAxesOrigin","PolarGridLines","PolarPlot","PolarTicks","PoleZeroMarkers","PolyaAeppliDistribution","PolyGamma","Polygon","Polygon3DBox","Polygon3DBoxOptions","PolygonalNumber","PolygonAngle","PolygonBox","PolygonBoxOptions","PolygonCoordinates","PolygonDecomposition","PolygonHoleScale","PolygonIntersections","PolygonScale","Polyhedron","PolyhedronAngle","PolyhedronCoordinates","PolyhedronData","PolyhedronDecomposition","PolyhedronGenus","PolyLog","PolynomialExtendedGCD","PolynomialForm","PolynomialGCD","PolynomialLCM","PolynomialMod","PolynomialQ","PolynomialQuotient","PolynomialQuotientRemainder","PolynomialReduce","PolynomialRemainder","Polynomials","PoolingLayer","PopupMenu","PopupMenuBox","PopupMenuBoxOptions","PopupView","PopupWindow","Position","PositionIndex","Positive","PositiveDefiniteMatrixQ","PositiveIntegers","PositiveRationals","PositiveReals","PositiveSemidefiniteMatrixQ","PossibleZeroQ","Postfix","PostScript","Power","PowerDistribution","PowerExpand","PowerMod","PowerModList","PowerRange","PowerSpectralDensity","PowersRepresentations","PowerSymmetricPolynomial","Precedence","PrecedenceForm","Precedes","PrecedesEqual","PrecedesSlantEqual","PrecedesTilde","Precision","PrecisionGoal","PreDecrement","Predict","PredictionRoot","PredictorFunction","PredictorInformation","PredictorMeasurements","PredictorMeasurementsObject","PreemptProtect","PreferencesPath","Prefix","PreIncrement","Prepend","PrependLayer","PrependTo","PreprocessingRules","PreserveColor","PreserveImageOptions","Previous","PreviousCell","PreviousDate","PriceGraphDistribution","PrimaryPlaceholder","Prime","PrimeNu","PrimeOmega","PrimePi","PrimePowerQ","PrimeQ","Primes","PrimeZetaP","PrimitivePolynomialQ","PrimitiveRoot","PrimitiveRootList","PrincipalComponents","PrincipalValue","Print","PrintableASCIIQ","PrintAction","PrintForm","PrintingCopies","PrintingOptions","PrintingPageRange","PrintingStartingPageNumber","PrintingStyleEnvironment","Printout3D","Printout3DPreviewer","PrintPrecision","PrintTemporary","Prism","PrismBox","PrismBoxOptions","PrivateCellOptions","PrivateEvaluationOptions","PrivateFontOptions","PrivateFrontEndOptions","PrivateKey","PrivateNotebookOptions","PrivatePaths","Probability","ProbabilityDistribution","ProbabilityPlot","ProbabilityPr","ProbabilityScalePlot","ProbitModelFit","ProcessConnection","ProcessDirectory","ProcessEnvironment","Processes","ProcessEstimator","ProcessInformation","ProcessObject","ProcessParameterAssumptions","ProcessParameterQ","ProcessStateDomain","ProcessStatus","ProcessTimeDomain","Product","ProductDistribution","ProductLog","ProgressIndicator","ProgressIndicatorBox","ProgressIndicatorBoxOptions","Projection","Prolog","PromptForm","ProofObject","Properties","Property","PropertyList","PropertyValue","Proportion","Proportional","Protect","Protected","ProteinData","Pruning","PseudoInverse","PsychrometricPropertyData","PublicKey","PublisherID","PulsarData","PunctuationCharacter","Purple","Put","PutAppend","Pyramid","PyramidBox","PyramidBoxOptions","QBinomial","QFactorial","QGamma","QHypergeometricPFQ","QnDispersion","QPochhammer","QPolyGamma","QRDecomposition","QuadraticIrrationalQ","QuadraticOptimization","Quantile","QuantilePlot","Quantity","QuantityArray","QuantityDistribution","QuantityForm","QuantityMagnitude","QuantityQ","QuantityUnit","QuantityVariable","QuantityVariableCanonicalUnit","QuantityVariableDimensions","QuantityVariableIdentifier","QuantityVariablePhysicalQuantity","Quartics","QuartileDeviation","Quartiles","QuartileSkewness","Query","QueueingNetworkProcess","QueueingProcess","QueueProperties","Quiet","Quit","Quotient","QuotientRemainder","RadialGradientImage","RadialityCentrality","RadicalBox","RadicalBoxOptions","RadioButton","RadioButtonBar","RadioButtonBox","RadioButtonBoxOptions","Radon","RadonTransform","RamanujanTau","RamanujanTauL","RamanujanTauTheta","RamanujanTauZ","Ramp","Random","RandomChoice","RandomColor","RandomComplex","RandomEntity","RandomFunction","RandomGeoPosition","RandomGraph","RandomImage","RandomInstance","RandomInteger","RandomPermutation","RandomPoint","RandomPolygon","RandomPolyhedron","RandomPrime","RandomReal","RandomSample","RandomSeed","RandomSeeding","RandomVariate","RandomWalkProcess","RandomWord","Range","RangeFilter","RangeSpecification","RankedMax","RankedMin","RarerProbability","Raster","Raster3D","Raster3DBox","Raster3DBoxOptions","RasterArray","RasterBox","RasterBoxOptions","Rasterize","RasterSize","Rational","RationalFunctions","Rationalize","Rationals","Ratios","RawArray","RawBoxes","RawData","RawMedium","RayleighDistribution","Re","Read","ReadByteArray","ReadLine","ReadList","ReadProtected","ReadString","Real","RealAbs","RealBlockDiagonalForm","RealDigits","RealExponent","Reals","RealSign","Reap","RebuildPacletData","RecognitionPrior","RecognitionThreshold","Record","RecordLists","RecordSeparators","Rectangle","RectangleBox","RectangleBoxOptions","RectangleChart","RectangleChart3D","RectangularRepeatingElement","RecurrenceFilter","RecurrenceTable","RecurringDigitsForm","Red","Reduce","RefBox","ReferenceLineStyle","ReferenceMarkers","ReferenceMarkerStyle","Refine","ReflectionMatrix","ReflectionTransform","Refresh","RefreshRate","Region","RegionBinarize","RegionBoundary","RegionBoundaryStyle","RegionBounds","RegionCentroid","RegionDifference","RegionDimension","RegionDisjoint","RegionDistance","RegionDistanceFunction","RegionEmbeddingDimension","RegionEqual","RegionFillingStyle","RegionFunction","RegionImage","RegionIntersection","RegionMeasure","RegionMember","RegionMemberFunction","RegionMoment","RegionNearest","RegionNearestFunction","RegionPlot","RegionPlot3D","RegionProduct","RegionQ","RegionResize","RegionSize","RegionSymmetricDifference","RegionUnion","RegionWithin","RegisterExternalEvaluator","RegularExpression","Regularization","RegularlySampledQ","RegularPolygon","ReIm","ReImLabels","ReImPlot","ReImStyle","Reinstall","RelationalDatabase","RelationGraph","Release","ReleaseHold","ReliabilityDistribution","ReliefImage","ReliefPlot","RemoteAuthorizationCaching","RemoteConnect","RemoteConnectionObject","RemoteFile","RemoteRun","RemoteRunProcess","Remove","RemoveAlphaChannel","RemoveAsynchronousTask","RemoveAudioStream","RemoveBackground","RemoveChannelListener","RemoveChannelSubscribers","Removed","RemoveDiacritics","RemoveInputStreamMethod","RemoveOutputStreamMethod","RemoveProperty","RemoveScheduledTask","RemoveUsers","RemoveVideoStream","RenameDirectory","RenameFile","RenderAll","RenderingOptions","RenewalProcess","RenkoChart","RepairMesh","Repeated","RepeatedNull","RepeatedString","RepeatedTiming","RepeatingElement","Replace","ReplaceAll","ReplaceHeldPart","ReplaceImageValue","ReplaceList","ReplacePart","ReplacePixelValue","ReplaceRepeated","ReplicateLayer","RequiredPhysicalQuantities","Resampling","ResamplingAlgorithmData","ResamplingMethod","Rescale","RescalingTransform","ResetDirectory","ResetMenusPacket","ResetScheduledTask","ReshapeLayer","Residue","ResizeLayer","Resolve","ResourceAcquire","ResourceData","ResourceFunction","ResourceObject","ResourceRegister","ResourceRemove","ResourceSearch","ResourceSubmissionObject","ResourceSubmit","ResourceSystemBase","ResourceSystemPath","ResourceUpdate","ResourceVersion","ResponseForm","Rest","RestartInterval","Restricted","Resultant","ResumePacket","Return","ReturnEntersInput","ReturnExpressionPacket","ReturnInputFormPacket","ReturnPacket","ReturnReceiptFunction","ReturnTextPacket","Reverse","ReverseApplied","ReverseBiorthogonalSplineWavelet","ReverseElement","ReverseEquilibrium","ReverseGraph","ReverseSort","ReverseSortBy","ReverseUpEquilibrium","RevolutionAxis","RevolutionPlot3D","RGBColor","RiccatiSolve","RiceDistribution","RidgeFilter","RiemannR","RiemannSiegelTheta","RiemannSiegelZ","RiemannXi","Riffle","Right","RightArrow","RightArrowBar","RightArrowLeftArrow","RightComposition","RightCosetRepresentative","RightDownTeeVector","RightDownVector","RightDownVectorBar","RightTee","RightTeeArrow","RightTeeVector","RightTriangle","RightTriangleBar","RightTriangleEqual","RightUpDownVector","RightUpTeeVector","RightUpVector","RightUpVectorBar","RightVector","RightVectorBar","RiskAchievementImportance","RiskReductionImportance","RogersTanimotoDissimilarity","RollPitchYawAngles","RollPitchYawMatrix","RomanNumeral","Root","RootApproximant","RootIntervals","RootLocusPlot","RootMeanSquare","RootOfUnityQ","RootReduce","Roots","RootSum","Rotate","RotateLabel","RotateLeft","RotateRight","RotationAction","RotationBox","RotationBoxOptions","RotationMatrix","RotationTransform","Round","RoundImplies","RoundingRadius","Row","RowAlignments","RowBackgrounds","RowBox","RowHeights","RowLines","RowMinHeight","RowReduce","RowsEqual","RowSpacings","RSolve","RSolveValue","RudinShapiro","RudvalisGroupRu","Rule","RuleCondition","RuleDelayed","RuleForm","RulePlot","RulerUnits","Run","RunProcess","RunScheduledTask","RunThrough","RuntimeAttributes","RuntimeOptions","RussellRaoDissimilarity","SameQ","SameTest","SameTestProperties","SampledEntityClass","SampleDepth","SampledSoundFunction","SampledSoundList","SampleRate","SamplingPeriod","SARIMAProcess","SARMAProcess","SASTriangle","SatelliteData","SatisfiabilityCount","SatisfiabilityInstances","SatisfiableQ","Saturday","Save","Saveable","SaveAutoDelete","SaveConnection","SaveDefinitions","SavitzkyGolayMatrix","SawtoothWave","Scale","Scaled","ScaleDivisions","ScaledMousePosition","ScaleOrigin","ScalePadding","ScaleRanges","ScaleRangeStyle","ScalingFunctions","ScalingMatrix","ScalingTransform","Scan","ScheduledTask","ScheduledTaskActiveQ","ScheduledTaskInformation","ScheduledTaskInformationData","ScheduledTaskObject","ScheduledTasks","SchurDecomposition","ScientificForm","ScientificNotationThreshold","ScorerGi","ScorerGiPrime","ScorerHi","ScorerHiPrime","ScreenRectangle","ScreenStyleEnvironment","ScriptBaselineShifts","ScriptForm","ScriptLevel","ScriptMinSize","ScriptRules","ScriptSizeMultipliers","Scrollbars","ScrollingOptions","ScrollPosition","SearchAdjustment","SearchIndexObject","SearchIndices","SearchQueryString","SearchResultObject","Sec","Sech","SechDistribution","SecondOrderConeOptimization","SectionGrouping","SectorChart","SectorChart3D","SectorOrigin","SectorSpacing","SecuredAuthenticationKey","SecuredAuthenticationKeys","SeedRandom","Select","Selectable","SelectComponents","SelectedCells","SelectedNotebook","SelectFirst","Selection","SelectionAnimate","SelectionCell","SelectionCellCreateCell","SelectionCellDefaultStyle","SelectionCellParentStyle","SelectionCreateCell","SelectionDebuggerTag","SelectionDuplicateCell","SelectionEvaluate","SelectionEvaluateCreateCell","SelectionMove","SelectionPlaceholder","SelectionSetStyle","SelectWithContents","SelfLoops","SelfLoopStyle","SemanticImport","SemanticImportString","SemanticInterpretation","SemialgebraicComponentInstances","SemidefiniteOptimization","SendMail","SendMessage","Sequence","SequenceAlignment","SequenceAttentionLayer","SequenceCases","SequenceCount","SequenceFold","SequenceFoldList","SequenceForm","SequenceHold","SequenceLastLayer","SequenceMostLayer","SequencePosition","SequencePredict","SequencePredictorFunction","SequenceReplace","SequenceRestLayer","SequenceReverseLayer","SequenceSplit","Series","SeriesCoefficient","SeriesData","SeriesTermGoal","ServiceConnect","ServiceDisconnect","ServiceExecute","ServiceObject","ServiceRequest","ServiceResponse","ServiceSubmit","SessionSubmit","SessionTime","Set","SetAccuracy","SetAlphaChannel","SetAttributes","Setbacks","SetBoxFormNamesPacket","SetCloudDirectory","SetCookies","SetDelayed","SetDirectory","SetEnvironment","SetEvaluationNotebook","SetFileDate","SetFileLoadingContext","SetNotebookStatusLine","SetOptions","SetOptionsPacket","SetPermissions","SetPrecision","SetProperty","SetSecuredAuthenticationKey","SetSelectedNotebook","SetSharedFunction","SetSharedVariable","SetSpeechParametersPacket","SetStreamPosition","SetSystemModel","SetSystemOptions","Setter","SetterBar","SetterBox","SetterBoxOptions","Setting","SetUsers","SetValue","Shading","Shallow","ShannonWavelet","ShapiroWilkTest","Share","SharingList","Sharpen","ShearingMatrix","ShearingTransform","ShellRegion","ShenCastanMatrix","ShiftedGompertzDistribution","ShiftRegisterSequence","Short","ShortDownArrow","Shortest","ShortestMatch","ShortestPathFunction","ShortLeftArrow","ShortRightArrow","ShortTimeFourier","ShortTimeFourierData","ShortUpArrow","Show","ShowAutoConvert","ShowAutoSpellCheck","ShowAutoStyles","ShowCellBracket","ShowCellLabel","ShowCellTags","ShowClosedCellArea","ShowCodeAssist","ShowContents","ShowControls","ShowCursorTracker","ShowGroupOpenCloseIcon","ShowGroupOpener","ShowInvisibleCharacters","ShowPageBreaks","ShowPredictiveInterface","ShowSelection","ShowShortBoxForm","ShowSpecialCharacters","ShowStringCharacters","ShowSyntaxStyles","ShrinkingDelay","ShrinkWrapBoundingBox","SiderealTime","SiegelTheta","SiegelTukeyTest","SierpinskiCurve","SierpinskiMesh","Sign","Signature","SignedRankTest","SignedRegionDistance","SignificanceLevel","SignPadding","SignTest","SimilarityRules","SimpleGraph","SimpleGraphQ","SimplePolygonQ","SimplePolyhedronQ","Simplex","Simplify","Sin","Sinc","SinghMaddalaDistribution","SingleEvaluation","SingleLetterItalics","SingleLetterStyle","SingularValueDecomposition","SingularValueList","SingularValuePlot","SingularValues","Sinh","SinhIntegral","SinIntegral","SixJSymbol","Skeleton","SkeletonTransform","SkellamDistribution","Skewness","SkewNormalDistribution","SkinStyle","Skip","SliceContourPlot3D","SliceDensityPlot3D","SliceDistribution","SliceVectorPlot3D","Slider","Slider2D","Slider2DBox","Slider2DBoxOptions","SliderBox","SliderBoxOptions","SlideView","Slot","SlotSequence","Small","SmallCircle","Smaller","SmithDecomposition","SmithDelayCompensator","SmithWatermanSimilarity","SmoothDensityHistogram","SmoothHistogram","SmoothHistogram3D","SmoothKernelDistribution","SnDispersion","Snippet","SnubPolyhedron","SocialMediaData","Socket","SocketConnect","SocketListen","SocketListener","SocketObject","SocketOpen","SocketReadMessage","SocketReadyQ","Sockets","SocketWaitAll","SocketWaitNext","SoftmaxLayer","SokalSneathDissimilarity","SolarEclipse","SolarSystemFeatureData","SolidAngle","SolidData","SolidRegionQ","Solve","SolveAlways","SolveDelayed","Sort","SortBy","SortedBy","SortedEntityClass","Sound","SoundAndGraphics","SoundNote","SoundVolume","SourceLink","Sow","Space","SpaceCurveData","SpaceForm","Spacer","Spacings","Span","SpanAdjustments","SpanCharacterRounding","SpanFromAbove","SpanFromBoth","SpanFromLeft","SpanLineThickness","SpanMaxSize","SpanMinSize","SpanningCharacters","SpanSymmetric","SparseArray","SpatialGraphDistribution","SpatialMedian","SpatialTransformationLayer","Speak","SpeakerMatchQ","SpeakTextPacket","SpearmanRankTest","SpearmanRho","SpeciesData","SpecificityGoal","SpectralLineData","Spectrogram","SpectrogramArray","Specularity","SpeechCases","SpeechInterpreter","SpeechRecognize","SpeechSynthesize","SpellingCorrection","SpellingCorrectionList","SpellingDictionaries","SpellingDictionariesPath","SpellingOptions","SpellingSuggestionsPacket","Sphere","SphereBox","SpherePoints","SphericalBesselJ","SphericalBesselY","SphericalHankelH1","SphericalHankelH2","SphericalHarmonicY","SphericalPlot3D","SphericalRegion","SphericalShell","SpheroidalEigenvalue","SpheroidalJoiningFactor","SpheroidalPS","SpheroidalPSPrime","SpheroidalQS","SpheroidalQSPrime","SpheroidalRadialFactor","SpheroidalS1","SpheroidalS1Prime","SpheroidalS2","SpheroidalS2Prime","Splice","SplicedDistribution","SplineClosed","SplineDegree","SplineKnots","SplineWeights","Split","SplitBy","SpokenString","Sqrt","SqrtBox","SqrtBoxOptions","Square","SquaredEuclideanDistance","SquareFreeQ","SquareIntersection","SquareMatrixQ","SquareRepeatingElement","SquaresR","SquareSubset","SquareSubsetEqual","SquareSuperset","SquareSupersetEqual","SquareUnion","SquareWave","SSSTriangle","StabilityMargins","StabilityMarginsStyle","StableDistribution","Stack","StackBegin","StackComplete","StackedDateListPlot","StackedListPlot","StackInhibit","StadiumShape","StandardAtmosphereData","StandardDeviation","StandardDeviationFilter","StandardForm","Standardize","Standardized","StandardOceanData","StandbyDistribution","Star","StarClusterData","StarData","StarGraph","StartAsynchronousTask","StartExternalSession","StartingStepSize","StartOfLine","StartOfString","StartProcess","StartScheduledTask","StartupSound","StartWebSession","StateDimensions","StateFeedbackGains","StateOutputEstimator","StateResponse","StateSpaceModel","StateSpaceRealization","StateSpaceTransform","StateTransformationLinearize","StationaryDistribution","StationaryWaveletPacketTransform","StationaryWaveletTransform","StatusArea","StatusCentrality","StepMonitor","StereochemistryElements","StieltjesGamma","StippleShading","StirlingS1","StirlingS2","StopAsynchronousTask","StoppingPowerData","StopScheduledTask","StrataVariables","StratonovichProcess","StreamColorFunction","StreamColorFunctionScaling","StreamDensityPlot","StreamMarkers","StreamPlot","StreamPoints","StreamPosition","Streams","StreamScale","StreamStyle","String","StringBreak","StringByteCount","StringCases","StringContainsQ","StringCount","StringDelete","StringDrop","StringEndsQ","StringExpression","StringExtract","StringForm","StringFormat","StringFreeQ","StringInsert","StringJoin","StringLength","StringMatchQ","StringPadLeft","StringPadRight","StringPart","StringPartition","StringPosition","StringQ","StringRepeat","StringReplace","StringReplaceList","StringReplacePart","StringReverse","StringRiffle","StringRotateLeft","StringRotateRight","StringSkeleton","StringSplit","StringStartsQ","StringTake","StringTemplate","StringToByteArray","StringToStream","StringTrim","StripBoxes","StripOnInput","StripWrapperBoxes","StrokeForm","StructuralImportance","StructuredArray","StructuredArrayHeadQ","StructuredSelection","StruveH","StruveL","Stub","StudentTDistribution","Style","StyleBox","StyleBoxAutoDelete","StyleData","StyleDefinitions","StyleForm","StyleHints","StyleKeyMapping","StyleMenuListing","StyleNameDialogSettings","StyleNames","StylePrint","StyleSheetPath","Subdivide","Subfactorial","Subgraph","SubMinus","SubPlus","SubresultantPolynomialRemainders","SubresultantPolynomials","Subresultants","Subscript","SubscriptBox","SubscriptBoxOptions","Subscripted","Subsequences","Subset","SubsetCases","SubsetCount","SubsetEqual","SubsetMap","SubsetPosition","SubsetQ","SubsetReplace","Subsets","SubStar","SubstitutionSystem","Subsuperscript","SubsuperscriptBox","SubsuperscriptBoxOptions","SubtitleEncoding","SubtitleTracks","Subtract","SubtractFrom","SubtractSides","SubValues","Succeeds","SucceedsEqual","SucceedsSlantEqual","SucceedsTilde","Success","SuchThat","Sum","SumConvergence","SummationLayer","Sunday","SunPosition","Sunrise","Sunset","SuperDagger","SuperMinus","SupernovaData","SuperPlus","Superscript","SuperscriptBox","SuperscriptBoxOptions","Superset","SupersetEqual","SuperStar","Surd","SurdForm","SurfaceAppearance","SurfaceArea","SurfaceColor","SurfaceData","SurfaceGraphics","SurvivalDistribution","SurvivalFunction","SurvivalModel","SurvivalModelFit","SuspendPacket","SuzukiDistribution","SuzukiGroupSuz","SwatchLegend","Switch","Symbol","SymbolName","SymletWavelet","Symmetric","SymmetricGroup","SymmetricKey","SymmetricMatrixQ","SymmetricPolynomial","SymmetricReduction","Symmetrize","SymmetrizedArray","SymmetrizedArrayRules","SymmetrizedDependentComponents","SymmetrizedIndependentComponents","SymmetrizedReplacePart","SynchronousInitialization","SynchronousUpdating","Synonyms","Syntax","SyntaxForm","SyntaxInformation","SyntaxLength","SyntaxPacket","SyntaxQ","SynthesizeMissingValues","SystemCredential","SystemCredentialData","SystemCredentialKey","SystemCredentialKeys","SystemCredentialStoreObject","SystemDialogInput","SystemException","SystemGet","SystemHelpPath","SystemInformation","SystemInformationData","SystemInstall","SystemModel","SystemModeler","SystemModelExamples","SystemModelLinearize","SystemModelParametricSimulate","SystemModelPlot","SystemModelProgressReporting","SystemModelReliability","SystemModels","SystemModelSimulate","SystemModelSimulateSensitivity","SystemModelSimulationData","SystemOpen","SystemOptions","SystemProcessData","SystemProcesses","SystemsConnectionsModel","SystemsModelDelay","SystemsModelDelayApproximate","SystemsModelDelete","SystemsModelDimensions","SystemsModelExtract","SystemsModelFeedbackConnect","SystemsModelLabels","SystemsModelLinearity","SystemsModelMerge","SystemsModelOrder","SystemsModelParallelConnect","SystemsModelSeriesConnect","SystemsModelStateFeedbackConnect","SystemsModelVectorRelativeOrders","SystemStub","SystemTest","Tab","TabFilling","Table","TableAlignments","TableDepth","TableDirections","TableForm","TableHeadings","TableSpacing","TableView","TableViewBox","TableViewBoxBackground","TableViewBoxItemSize","TableViewBoxOptions","TabSpacings","TabView","TabViewBox","TabViewBoxOptions","TagBox","TagBoxNote","TagBoxOptions","TaggingRules","TagSet","TagSetDelayed","TagStyle","TagUnset","Take","TakeDrop","TakeLargest","TakeLargestBy","TakeList","TakeSmallest","TakeSmallestBy","TakeWhile","Tally","Tan","Tanh","TargetDevice","TargetFunctions","TargetSystem","TargetUnits","TaskAbort","TaskExecute","TaskObject","TaskRemove","TaskResume","Tasks","TaskSuspend","TaskWait","TautologyQ","TelegraphProcess","TemplateApply","TemplateArgBox","TemplateBox","TemplateBoxOptions","TemplateEvaluate","TemplateExpression","TemplateIf","TemplateObject","TemplateSequence","TemplateSlot","TemplateSlotSequence","TemplateUnevaluated","TemplateVerbatim","TemplateWith","TemporalData","TemporalRegularity","Temporary","TemporaryVariable","TensorContract","TensorDimensions","TensorExpand","TensorProduct","TensorQ","TensorRank","TensorReduce","TensorSymmetry","TensorTranspose","TensorWedge","TestID","TestReport","TestReportObject","TestResultObject","Tetrahedron","TetrahedronBox","TetrahedronBoxOptions","TeXForm","TeXSave","Text","Text3DBox","Text3DBoxOptions","TextAlignment","TextBand","TextBoundingBox","TextBox","TextCases","TextCell","TextClipboardType","TextContents","TextData","TextElement","TextForm","TextGrid","TextJustification","TextLine","TextPacket","TextParagraph","TextPosition","TextRecognize","TextSearch","TextSearchReport","TextSentences","TextString","TextStructure","TextStyle","TextTranslation","Texture","TextureCoordinateFunction","TextureCoordinateScaling","TextWords","Therefore","ThermodynamicData","ThermometerGauge","Thick","Thickness","Thin","Thinning","ThisLink","ThompsonGroupTh","Thread","ThreadingLayer","ThreeJSymbol","Threshold","Through","Throw","ThueMorse","Thumbnail","Thursday","Ticks","TicksStyle","TideData","Tilde","TildeEqual","TildeFullEqual","TildeTilde","TimeConstrained","TimeConstraint","TimeDirection","TimeFormat","TimeGoal","TimelinePlot","TimeObject","TimeObjectQ","TimeRemaining","Times","TimesBy","TimeSeries","TimeSeriesAggregate","TimeSeriesForecast","TimeSeriesInsert","TimeSeriesInvertibility","TimeSeriesMap","TimeSeriesMapThread","TimeSeriesModel","TimeSeriesModelFit","TimeSeriesResample","TimeSeriesRescale","TimeSeriesShift","TimeSeriesThread","TimeSeriesWindow","TimeUsed","TimeValue","TimeWarpingCorrespondence","TimeWarpingDistance","TimeZone","TimeZoneConvert","TimeZoneOffset","Timing","Tiny","TitleGrouping","TitsGroupT","ToBoxes","ToCharacterCode","ToColor","ToContinuousTimeModel","ToDate","Today","ToDiscreteTimeModel","ToEntity","ToeplitzMatrix","ToExpression","ToFileName","Together","Toggle","ToggleFalse","Toggler","TogglerBar","TogglerBox","TogglerBoxOptions","ToHeldExpression","ToInvertibleTimeSeries","TokenWords","Tolerance","ToLowerCase","Tomorrow","ToNumberField","TooBig","Tooltip","TooltipBox","TooltipBoxOptions","TooltipDelay","TooltipStyle","ToonShading","Top","TopHatTransform","ToPolarCoordinates","TopologicalSort","ToRadicals","ToRules","ToSphericalCoordinates","ToString","Total","TotalHeight","TotalLayer","TotalVariationFilter","TotalWidth","TouchPosition","TouchscreenAutoZoom","TouchscreenControlPlacement","ToUpperCase","Tr","Trace","TraceAbove","TraceAction","TraceBackward","TraceDepth","TraceDialog","TraceForward","TraceInternal","TraceLevel","TraceOff","TraceOn","TraceOriginal","TracePrint","TraceScan","TrackedSymbols","TrackingFunction","TracyWidomDistribution","TradingChart","TraditionalForm","TraditionalFunctionNotation","TraditionalNotation","TraditionalOrder","TrainingProgressCheckpointing","TrainingProgressFunction","TrainingProgressMeasurements","TrainingProgressReporting","TrainingStoppingCriterion","TrainingUpdateSchedule","TransferFunctionCancel","TransferFunctionExpand","TransferFunctionFactor","TransferFunctionModel","TransferFunctionPoles","TransferFunctionTransform","TransferFunctionZeros","TransformationClass","TransformationFunction","TransformationFunctions","TransformationMatrix","TransformedDistribution","TransformedField","TransformedProcess","TransformedRegion","TransitionDirection","TransitionDuration","TransitionEffect","TransitiveClosureGraph","TransitiveReductionGraph","Translate","TranslationOptions","TranslationTransform","Transliterate","Transparent","TransparentColor","Transpose","TransposeLayer","TrapSelection","TravelDirections","TravelDirectionsData","TravelDistance","TravelDistanceList","TravelMethod","TravelTime","TreeForm","TreeGraph","TreeGraphQ","TreePlot","TrendStyle","Triangle","TriangleCenter","TriangleConstruct","TriangleMeasurement","TriangleWave","TriangularDistribution","TriangulateMesh","Trig","TrigExpand","TrigFactor","TrigFactorList","Trigger","TrigReduce","TrigToExp","TrimmedMean","TrimmedVariance","TropicalStormData","True","TrueQ","TruncatedDistribution","TruncatedPolyhedron","TsallisQExponentialDistribution","TsallisQGaussianDistribution","TTest","Tube","TubeBezierCurveBox","TubeBezierCurveBoxOptions","TubeBox","TubeBoxOptions","TubeBSplineCurveBox","TubeBSplineCurveBoxOptions","Tuesday","TukeyLambdaDistribution","TukeyWindow","TunnelData","Tuples","TuranGraph","TuringMachine","TuttePolynomial","TwoWayRule","Typed","TypeSpecifier","UnateQ","Uncompress","UnconstrainedParameters","Undefined","UnderBar","Underflow","Underlined","Underoverscript","UnderoverscriptBox","UnderoverscriptBoxOptions","Underscript","UnderscriptBox","UnderscriptBoxOptions","UnderseaFeatureData","UndirectedEdge","UndirectedGraph","UndirectedGraphQ","UndoOptions","UndoTrackedVariables","Unequal","UnequalTo","Unevaluated","UniformDistribution","UniformGraphDistribution","UniformPolyhedron","UniformSumDistribution","Uninstall","Union","UnionedEntityClass","UnionPlus","Unique","UnitaryMatrixQ","UnitBox","UnitConvert","UnitDimensions","Unitize","UnitRootTest","UnitSimplify","UnitStep","UnitSystem","UnitTriangle","UnitVector","UnitVectorLayer","UnityDimensions","UniverseModelData","UniversityData","UnixTime","Unprotect","UnregisterExternalEvaluator","UnsameQ","UnsavedVariables","Unset","UnsetShared","UntrackedVariables","Up","UpArrow","UpArrowBar","UpArrowDownArrow","Update","UpdateDynamicObjects","UpdateDynamicObjectsSynchronous","UpdateInterval","UpdatePacletSites","UpdateSearchIndex","UpDownArrow","UpEquilibrium","UpperCaseQ","UpperLeftArrow","UpperRightArrow","UpperTriangularize","UpperTriangularMatrixQ","Upsample","UpSet","UpSetDelayed","UpTee","UpTeeArrow","UpTo","UpValues","URL","URLBuild","URLDecode","URLDispatcher","URLDownload","URLDownloadSubmit","URLEncode","URLExecute","URLExpand","URLFetch","URLFetchAsynchronous","URLParse","URLQueryDecode","URLQueryEncode","URLRead","URLResponseTime","URLSave","URLSaveAsynchronous","URLShorten","URLSubmit","UseGraphicsRange","UserDefinedWavelet","Using","UsingFrontEnd","UtilityFunction","V2Get","ValenceErrorHandling","ValidationLength","ValidationSet","Value","ValueBox","ValueBoxOptions","ValueDimensions","ValueForm","ValuePreprocessingFunction","ValueQ","Values","ValuesData","Variables","Variance","VarianceEquivalenceTest","VarianceEstimatorFunction","VarianceGammaDistribution","VarianceTest","VectorAngle","VectorAround","VectorAspectRatio","VectorColorFunction","VectorColorFunctionScaling","VectorDensityPlot","VectorGlyphData","VectorGreater","VectorGreaterEqual","VectorLess","VectorLessEqual","VectorMarkers","VectorPlot","VectorPlot3D","VectorPoints","VectorQ","VectorRange","Vectors","VectorScale","VectorScaling","VectorSizes","VectorStyle","Vee","Verbatim","Verbose","VerboseConvertToPostScriptPacket","VerificationTest","VerifyConvergence","VerifyDerivedKey","VerifyDigitalSignature","VerifyFileSignature","VerifyInterpretation","VerifySecurityCertificates","VerifySolutions","VerifyTestAssumptions","Version","VersionedPreferences","VersionNumber","VertexAdd","VertexCapacity","VertexColors","VertexComponent","VertexConnectivity","VertexContract","VertexCoordinateRules","VertexCoordinates","VertexCorrelationSimilarity","VertexCosineSimilarity","VertexCount","VertexCoverQ","VertexDataCoordinates","VertexDegree","VertexDelete","VertexDiceSimilarity","VertexEccentricity","VertexInComponent","VertexInDegree","VertexIndex","VertexJaccardSimilarity","VertexLabeling","VertexLabels","VertexLabelStyle","VertexList","VertexNormals","VertexOutComponent","VertexOutDegree","VertexQ","VertexRenderingFunction","VertexReplace","VertexShape","VertexShapeFunction","VertexSize","VertexStyle","VertexTextureCoordinates","VertexWeight","VertexWeightedGraphQ","Vertical","VerticalBar","VerticalForm","VerticalGauge","VerticalSeparator","VerticalSlider","VerticalTilde","Video","VideoEncoding","VideoExtractFrames","VideoFrameList","VideoFrameMap","VideoPause","VideoPlay","VideoQ","VideoStop","VideoStream","VideoStreams","VideoTimeSeries","VideoTracks","VideoTrim","ViewAngle","ViewCenter","ViewMatrix","ViewPoint","ViewPointSelectorSettings","ViewPort","ViewProjection","ViewRange","ViewVector","ViewVertical","VirtualGroupData","Visible","VisibleCell","VoiceStyleData","VoigtDistribution","VolcanoData","Volume","VonMisesDistribution","VoronoiMesh","WaitAll","WaitAsynchronousTask","WaitNext","WaitUntil","WakebyDistribution","WalleniusHypergeometricDistribution","WaringYuleDistribution","WarpingCorrespondence","WarpingDistance","WatershedComponents","WatsonUSquareTest","WattsStrogatzGraphDistribution","WaveletBestBasis","WaveletFilterCoefficients","WaveletImagePlot","WaveletListPlot","WaveletMapIndexed","WaveletMatrixPlot","WaveletPhi","WaveletPsi","WaveletScale","WaveletScalogram","WaveletThreshold","WeaklyConnectedComponents","WeaklyConnectedGraphComponents","WeaklyConnectedGraphQ","WeakStationarity","WeatherData","WeatherForecastData","WebAudioSearch","WebElementObject","WeberE","WebExecute","WebImage","WebImageSearch","WebSearch","WebSessionObject","WebSessions","WebWindowObject","Wedge","Wednesday","WeibullDistribution","WeierstrassE1","WeierstrassE2","WeierstrassE3","WeierstrassEta1","WeierstrassEta2","WeierstrassEta3","WeierstrassHalfPeriods","WeierstrassHalfPeriodW1","WeierstrassHalfPeriodW2","WeierstrassHalfPeriodW3","WeierstrassInvariantG2","WeierstrassInvariantG3","WeierstrassInvariants","WeierstrassP","WeierstrassPPrime","WeierstrassSigma","WeierstrassZeta","WeightedAdjacencyGraph","WeightedAdjacencyMatrix","WeightedData","WeightedGraphQ","Weights","WelchWindow","WheelGraph","WhenEvent","Which","While","White","WhiteNoiseProcess","WhitePoint","Whitespace","WhitespaceCharacter","WhittakerM","WhittakerW","WienerFilter","WienerProcess","WignerD","WignerSemicircleDistribution","WikidataData","WikidataSearch","WikipediaData","WikipediaSearch","WilksW","WilksWTest","WindDirectionData","WindingCount","WindingPolygon","WindowClickSelect","WindowElements","WindowFloating","WindowFrame","WindowFrameElements","WindowMargins","WindowMovable","WindowOpacity","WindowPersistentStyles","WindowSelected","WindowSize","WindowStatusArea","WindowTitle","WindowToolbars","WindowWidth","WindSpeedData","WindVectorData","WinsorizedMean","WinsorizedVariance","WishartMatrixDistribution","With","WolframAlpha","WolframAlphaDate","WolframAlphaQuantity","WolframAlphaResult","WolframLanguageData","Word","WordBoundary","WordCharacter","WordCloud","WordCount","WordCounts","WordData","WordDefinition","WordFrequency","WordFrequencyData","WordList","WordOrientation","WordSearch","WordSelectionFunction","WordSeparators","WordSpacings","WordStem","WordTranslation","WorkingPrecision","WrapAround","Write","WriteLine","WriteString","Wronskian","XMLElement","XMLObject","XMLTemplate","Xnor","Xor","XYZColor","Yellow","Yesterday","YuleDissimilarity","ZernikeR","ZeroSymmetric","ZeroTest","ZeroWidthTimes","Zeta","ZetaZero","ZIPCodeData","ZipfDistribution","ZoomCenter","ZoomFactor","ZTest","ZTransform","$Aborted","$ActivationGroupID","$ActivationKey","$ActivationUserRegistered","$AddOnsDirectory","$AllowDataUpdates","$AllowExternalChannelFunctions","$AllowInternet","$AssertFunction","$Assumptions","$AsynchronousTask","$AudioDecoders","$AudioEncoders","$AudioInputDevices","$AudioOutputDevices","$BaseDirectory","$BasePacletsDirectory","$BatchInput","$BatchOutput","$BlockchainBase","$BoxForms","$ByteOrdering","$CacheBaseDirectory","$Canceled","$ChannelBase","$CharacterEncoding","$CharacterEncodings","$CloudAccountName","$CloudBase","$CloudConnected","$CloudConnection","$CloudCreditsAvailable","$CloudEvaluation","$CloudExpressionBase","$CloudObjectNameFormat","$CloudObjectURLType","$CloudRootDirectory","$CloudSymbolBase","$CloudUserID","$CloudUserUUID","$CloudVersion","$CloudVersionNumber","$CloudWolframEngineVersionNumber","$CommandLine","$CompilationTarget","$ConditionHold","$ConfiguredKernels","$Context","$ContextPath","$ControlActiveSetting","$Cookies","$CookieStore","$CreationDate","$CurrentLink","$CurrentTask","$CurrentWebSession","$DataStructures","$DateStringFormat","$DefaultAudioInputDevice","$DefaultAudioOutputDevice","$DefaultFont","$DefaultFrontEnd","$DefaultImagingDevice","$DefaultLocalBase","$DefaultMailbox","$DefaultNetworkInterface","$DefaultPath","$DefaultProxyRules","$DefaultSystemCredentialStore","$Display","$DisplayFunction","$DistributedContexts","$DynamicEvaluation","$Echo","$EmbedCodeEnvironments","$EmbeddableServices","$EntityStores","$Epilog","$EvaluationCloudBase","$EvaluationCloudObject","$EvaluationEnvironment","$ExportFormats","$ExternalIdentifierTypes","$ExternalStorageBase","$Failed","$FinancialDataSource","$FontFamilies","$FormatType","$FrontEnd","$FrontEndSession","$GeoEntityTypes","$GeoLocation","$GeoLocationCity","$GeoLocationCountry","$GeoLocationPrecision","$GeoLocationSource","$HistoryLength","$HomeDirectory","$HTMLExportRules","$HTTPCookies","$HTTPRequest","$IgnoreEOF","$ImageFormattingWidth","$ImageResolution","$ImagingDevice","$ImagingDevices","$ImportFormats","$IncomingMailSettings","$InitialDirectory","$Initialization","$InitializationContexts","$Input","$InputFileName","$InputStreamMethods","$Inspector","$InstallationDate","$InstallationDirectory","$InterfaceEnvironment","$InterpreterTypes","$IterationLimit","$KernelCount","$KernelID","$Language","$LaunchDirectory","$LibraryPath","$LicenseExpirationDate","$LicenseID","$LicenseProcesses","$LicenseServer","$LicenseSubprocesses","$LicenseType","$Line","$Linked","$LinkSupported","$LoadedFiles","$LocalBase","$LocalSymbolBase","$MachineAddresses","$MachineDomain","$MachineDomains","$MachineEpsilon","$MachineID","$MachineName","$MachinePrecision","$MachineType","$MaxExtraPrecision","$MaxLicenseProcesses","$MaxLicenseSubprocesses","$MaxMachineNumber","$MaxNumber","$MaxPiecewiseCases","$MaxPrecision","$MaxRootDegree","$MessageGroups","$MessageList","$MessagePrePrint","$Messages","$MinMachineNumber","$MinNumber","$MinorReleaseNumber","$MinPrecision","$MobilePhone","$ModuleNumber","$NetworkConnected","$NetworkInterfaces","$NetworkLicense","$NewMessage","$NewSymbol","$NotebookInlineStorageLimit","$Notebooks","$NoValue","$NumberMarks","$Off","$OperatingSystem","$Output","$OutputForms","$OutputSizeLimit","$OutputStreamMethods","$Packages","$ParentLink","$ParentProcessID","$PasswordFile","$PatchLevelID","$Path","$PathnameSeparator","$PerformanceGoal","$Permissions","$PermissionsGroupBase","$PersistenceBase","$PersistencePath","$PipeSupported","$PlotTheme","$Post","$Pre","$PreferencesDirectory","$PreInitialization","$PrePrint","$PreRead","$PrintForms","$PrintLiteral","$Printout3DPreviewer","$ProcessID","$ProcessorCount","$ProcessorType","$ProductInformation","$ProgramName","$PublisherID","$RandomState","$RecursionLimit","$RegisteredDeviceClasses","$RegisteredUserName","$ReleaseNumber","$RequesterAddress","$RequesterWolframID","$RequesterWolframUUID","$RootDirectory","$ScheduledTask","$ScriptCommandLine","$ScriptInputString","$SecuredAuthenticationKeyTokens","$ServiceCreditsAvailable","$Services","$SessionID","$SetParentLink","$SharedFunctions","$SharedVariables","$SoundDisplay","$SoundDisplayFunction","$SourceLink","$SSHAuthentication","$SubtitleDecoders","$SubtitleEncoders","$SummaryBoxDataSizeLimit","$SuppressInputFormHeads","$SynchronousEvaluation","$SyntaxHandler","$System","$SystemCharacterEncoding","$SystemCredentialStore","$SystemID","$SystemMemory","$SystemShell","$SystemTimeZone","$SystemWordLength","$TemplatePath","$TemporaryDirectory","$TemporaryPrefix","$TestFileName","$TextStyle","$TimedOut","$TimeUnit","$TimeZone","$TimeZoneEntity","$TopDirectory","$TraceOff","$TraceOn","$TracePattern","$TracePostAction","$TracePreAction","$UnitSystem","$Urgent","$UserAddOnsDirectory","$UserAgentLanguages","$UserAgentMachine","$UserAgentName","$UserAgentOperatingSystem","$UserAgentString","$UserAgentVersion","$UserBaseDirectory","$UserBasePacletsDirectory","$UserDocumentsDirectory","$Username","$UserName","$UserURLBase","$Version","$VersionNumber","$VideoDecoders","$VideoEncoders","$VoiceStyles","$WolframDocumentsDirectory","$WolframID","$WolframUUID"];function a(e){return e?"string"==typeof e?e:e.source:null}function i(e){return r("(",e,")?")}function r(...e){return e.map(e=>a(e)).join("")}function s(...e){return"("+e.map(e=>a(e)).join("|")+")"}e.exports=function(e){const t=s(r(/([2-9]|[1-2]\d|[3][0-5])\^\^/,/(\w*\.\w+|\w+\.\w*|\w+)/),/(\d*\.\d+|\d+\.\d*|\d+)/),a={className:"number",relevance:0,begin:r(t,i(s(/``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/,/`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/)),i(/\*\^[+-]?\d+/))},o=/[a-zA-Z$][a-zA-Z0-9$]*/,l=new Set(n),c={variants:[{className:"builtin-symbol",begin:o,"on:begin":(e,t)=>{l.has(e[0])||t.ignoreMatch()}},{className:"symbol",relevance:0,begin:o}]},_={className:"message-name",relevance:0,begin:r("::",o)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[e.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),{className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},{className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},_,c,{className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},e.QUOTE_STRING_MODE,a,{className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},{className:"brace",relevance:0,begin:/[[\](){}]/}]}}},10691:function(e,t){e.exports=function(e){var t={relevance:0,contains:[{begin:"('|\\.')+"}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:t},{begin:"[a-zA-Z][a-zA-Z_0-9]*('|\\.')+",relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:t},{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:t},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE,{begin:'""'}],starts:t},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}},10692:function(e,t){e.exports=function(e){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},e.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}},10693:function(e,t){e.exports=function(e){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:"</",contains:[e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/[$%@](\^\w\b|#\w+|[^\s\w{]|\{\w+\}|\w+)/},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}},10694:function(e,t){e.exports=function(e){const t=e.COMMENT("%","$"),n=e.inherit(e.APOS_STRING_MODE,{relevance:0}),a=e.inherit(e.QUOTE_STRING_MODE,{relevance:0});return a.contains=a.contains.slice(),a.contains.push({className:"subst",begin:"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]",relevance:0}),{name:"Mercury",aliases:["m","moo"],keywords:{keyword:"module use_module import_module include_module end_module initialise mutable initialize finalize finalise interface implementation pred mode func type inst solver any_pred any_func is semidet det nondet multi erroneous failure cc_nondet cc_multi typeclass instance where pragma promise external trace atomic or_else require_complete_switch require_det require_semidet require_multi require_nondet require_cc_multi require_cc_nondet require_erroneous require_failure",meta:"inline no_inline type_spec source_file fact_table obsolete memo loop_check minimal_model terminates does_not_terminate check_termination promise_equivalent_clauses foreign_proc foreign_decl foreign_code foreign_type foreign_import_module foreign_export_enum foreign_export foreign_enum may_call_mercury will_not_call_mercury thread_safe not_thread_safe maybe_thread_safe promise_pure promise_semipure tabled_for_io local untrailed trailed attach_to_io_state can_pass_as_mercury_type stable will_not_throw_exception may_modify_trail will_not_modify_trail may_duplicate may_not_duplicate affects_liveness does_not_affect_liveness doesnt_affect_liveness no_sharing unknown_sharing sharing",built_in:"some all not if then else true fail false try catch catch_any semidet_true semidet_false semidet_fail impure_true impure semipure"},contains:[{className:"built_in",variants:[{begin:"<=>"},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|--\x3e"},{begin:"=",relevance:0}]},t,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:"0'.\\|0[box][0-9a-fA-F]*"},e.NUMBER_MODE,n,a,{begin:/:-/},{begin:/\.$/}]}}},10695:function(e,t){e.exports=function(e){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},e.COMMENT("[;#](?!\\s*$)","$"),e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}},10696:function(e,t){e.exports=function(e){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}}},10697:function(e,t){function n(e){return e?"string"==typeof e?e:e.source:null}function a(...e){return e.map(e=>n(e)).join("")}function i(...e){return"("+e.map(e=>n(e)).join("|")+")"}e.exports=function(e){const t=/[dualxmsipngr]{0,12}/,n={$pattern:/[\w.]+/,keyword:["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"].join(" ")},r={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:n},s={begin:/->\{/,end:/\}/},o={variants:[{begin:/\$\d/},{begin:a(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},l=[e.BACKSLASH_ESCAPE,r,o],c=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],_=(e,n,i="\\1")=>{const r="\\1"===i?i:a(i,n);return a(a("(?:",e,")"),n,/(?:\\.|[^\\\/])*?/,r,/(?:\\.|[^\\\/])*?/,i,t)},d=(e,n,i)=>a(a("(?:",e,")"),n,/(?:\\.|[^\\\/])*?/,i,t),m=[o,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),s,{className:"string",contains:l,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:_("s|tr|y",i(...c))},{begin:_("s|tr|y","\\(","\\)")},{begin:_("s|tr|y","\\[","\\]")},{begin:_("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:d("(?:m|qr)?",/\//,/\//)},{begin:d("m|qr",i(...c),/\1/)},{begin:d("m|qr",/\(/,/\)/)},{begin:d("m|qr",/\[/,/\]/)},{begin:d("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return r.contains=m,s.contains=m,{name:"Perl",aliases:["pl","pm"],keywords:n,contains:m}}},10698:function(e,t){e.exports=function(e){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}},10699:function(e,t){e.exports=function(e){const t={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:"public private property continue exit extern new try catch eachin not abstract final select case default const local global field end if then else elseif endif while wend repeat until forever for to step next return module inline throw import",built_in:"DebugLog DebugStop Error Print ACos ACosr ASin ASinr ATan ATan2 ATan2r ATanr Abs Abs Ceil Clamp Clamp Cos Cosr Exp Floor Log Max Max Min Min Pow Sgn Sgn Sin Sinr Sqrt Tan Tanr Seed PI HALFPI TWOPI",literal:"true false null and or shl shr mod"},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),{className:"function",beginKeywords:"function method",end:"[(=:]|$",illegal:/\n/,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:"$",contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{className:"built_in",begin:"\\b(self|super)\\b"},{className:"meta",begin:"\\s*#",end:"$",keywords:{"meta-keyword":"if else elseif endif end then"}},{className:"meta",begin:"^\\s*strict\\b"},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,t]}}},10700:function(e,t){e.exports=function(e){const t={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},n="[A-Za-z$_][0-9A-Za-z$_]*",a={className:"subst",begin:/#\{/,end:/\}/,keywords:t},i=[e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,a]}]},{className:"built_in",begin:"@__"+e.IDENT_RE},{begin:"@"+e.IDENT_RE},{begin:e.IDENT_RE+"\\\\"+e.IDENT_RE}];a.contains=i;const r=e.inherit(e.TITLE_MODE,{begin:n}),s={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(i)}]};return{name:"MoonScript",aliases:["moon"],keywords:t,illegal:/\/\*/,contains:i.concat([e.COMMENT("--","$"),{className:"function",begin:"^\\s*"+n+"\\s*=\\s*(\\(.*\\)\\s*)?\\B[-=]>",end:"[-=]>",returnBegin:!0,contains:[r,s]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:"(\\(.*\\)\\s*)?\\B[-=]>",end:"[-=]>",returnBegin:!0,contains:[s]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[r]},r]},{className:"name",begin:n+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}},10701:function(e,t){e.exports=function(e){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,endsWithParent:!0,keywords:{keyword:"all alter analyze and any array as asc begin between binary boolean break bucket build by call case cast cluster collate collection commit connect continue correlate cover create database dataset datastore declare decrement delete derived desc describe distinct do drop each element else end every except exclude execute exists explain fetch first flatten for force from function grant group gsi having if ignore ilike in include increment index infer inline inner insert intersect into is join key keys keyspace known last left let letting like limit lsm map mapping matched materialized merge minus namespace nest not number object offset on option or order outer over parse partition password path pool prepare primary private privilege procedure public raw realm reduce rename return returning revoke right role rollback satisfies schema select self semi set show some start statistics string system then to transaction trigger truncate under union unique unknown unnest unset update upsert use user using validate value valued values via view when where while with within work xor",literal:"true false null missing|5",built_in:"array_agg array_append array_concat array_contains array_count array_distinct array_ifnull array_length array_max array_min array_position array_prepend array_put array_range array_remove array_repeat array_replace array_reverse array_sort array_sum avg count max min sum greatest least ifmissing ifmissingornull ifnull missingif nullif ifinf ifnan ifnanorinf naninf neginfif posinfif clock_millis clock_str date_add_millis date_add_str date_diff_millis date_diff_str date_part_millis date_part_str date_trunc_millis date_trunc_str duration_to_str millis str_to_millis millis_to_str millis_to_utc millis_to_zone_name now_millis now_str str_to_duration str_to_utc str_to_zone_name decode_json encode_json encoded_size poly_length base64 base64_encode base64_decode meta uuid abs acos asin atan atan2 ceil cos degrees e exp ln log floor pi power radians random round sign sin sqrt tan trunc object_length object_names object_pairs object_inner_pairs object_values object_inner_values object_add object_put object_remove object_unwrap regexp_contains regexp_like regexp_position regexp_replace contains initcap length lower ltrim position repeat replace rtrim split substr title trim upper isarray isatom isboolean isnumber isobject isstring type toarray toatom toboolean tonumber toobject tostring"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE],relevance:2},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE]}}},10702:function(e,t){e.exports=function(e){const t={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{/,end:/\}/},{begin:/[$@]/+e.UNDERSCORE_IDENT_RE}]},n={endsWithParent:!0,keywords:{$pattern:"[a-z/_]+",literal:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[t]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]*\\b",relevance:0},t]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{begin:e.UNDERSCORE_IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\{/,contains:[{className:"section",begin:e.UNDERSCORE_IDENT_RE}],relevance:0},{begin:e.UNDERSCORE_IDENT_RE+"\\s",end:";|\\{",returnBegin:!0,contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:n}],relevance:0}],illegal:"[^\\s\\}]"}}},10703:function(e,t){e.exports=function(e){return{name:"Nim",aliases:["nim"],keywords:{keyword:"addr and as asm bind block break case cast const continue converter discard distinct div do elif else end enum except export finally for from func generic if import in include interface is isnot iterator let macro method mixin mod nil not notin object of or out proc ptr raise ref return shl shr static template try tuple type using var when while with without xor yield",literal:"shared guarded stdin stdout stderr result true false",built_in:"int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float float32 float64 bool char string cstring pointer expr stmt void auto any range array openarray varargs seq set clong culong cchar cschar cshort cint csize clonglong cfloat cdouble clongdouble cuchar cushort cuint culonglong cstringarray semistatic"},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HASH_COMMENT_MODE]}}},10704:function(e,t){e.exports=function(e){const t={keyword:"rec with let in inherit assert if else then",literal:"true false or and null",built_in:"import abort baseNameOf dirOf isNull builtins map removeAttrs throw toString derivation"},n={className:"subst",begin:/\$\{/,end:/\}/,keywords:t},a={className:"string",contains:[n],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},i=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,{begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/}]}];return n.contains=i,{name:"Nix",aliases:["nixos"],keywords:t,contains:i}}},10705:function(e,t){e.exports=function(e){return{name:"Node REPL",contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}},10706:function(e,t){e.exports=function(e){const t={className:"variable",begin:/\$+\{[\w.:-]+\}/},n={className:"variable",begin:/\$+\w+/,illegal:/\(\)\{\}/},a={className:"variable",begin:/\$+\([\w^.:-]+\)/},i={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[{className:"meta",begin:/\$(\\[nrt]|\$)/},{className:"variable",begin:/\$(ADMINTOOLS|APPDATA|CDBURN_AREA|CMDLINE|COMMONFILES32|COMMONFILES64|COMMONFILES|COOKIES|DESKTOP|DOCUMENTS|EXEDIR|EXEFILE|EXEPATH|FAVORITES|FONTS|HISTORY|HWNDPARENT|INSTDIR|INTERNET_CACHE|LANGUAGE|LOCALAPPDATA|MUSIC|NETHOOD|OUTDIR|PICTURES|PLUGINSDIR|PRINTHOOD|PROFILE|PROGRAMFILES32|PROGRAMFILES64|PROGRAMFILES|QUICKLAUNCH|RECENT|RESOURCES_LOCALIZED|RESOURCES|SENDTO|SMPROGRAMS|SMSTARTUP|STARTMENU|SYSDIR|TEMP|TEMPLATES|VIDEOS|WINDIR)/},t,n,a]};return{name:"NSIS",case_insensitive:!1,keywords:{keyword:"Abort AddBrandingImage AddSize AllowRootDirInstall AllowSkipFiles AutoCloseWindow BGFont BGGradient BrandingText BringToFront Call CallInstDLL Caption ChangeUI CheckBitmap ClearErrors CompletedText ComponentText CopyFiles CRCCheck CreateDirectory CreateFont CreateShortCut Delete DeleteINISec DeleteINIStr DeleteRegKey DeleteRegValue DetailPrint DetailsButtonText DirText DirVar DirVerify EnableWindow EnumRegKey EnumRegValue Exch Exec ExecShell ExecShellWait ExecWait ExpandEnvStrings File FileBufSize FileClose FileErrorText FileOpen FileRead FileReadByte FileReadUTF16LE FileReadWord FileWriteUTF16LE FileSeek FileWrite FileWriteByte FileWriteWord FindClose FindFirst FindNext FindWindow FlushINI GetCurInstType GetCurrentAddress GetDlgItem GetDLLVersion GetDLLVersionLocal GetErrorLevel GetFileTime GetFileTimeLocal GetFullPathName GetFunctionAddress GetInstDirError GetKnownFolderPath GetLabelAddress GetTempFileName Goto HideWindow Icon IfAbort IfErrors IfFileExists IfRebootFlag IfRtlLanguage IfShellVarContextAll IfSilent InitPluginsDir InstallButtonText InstallColors InstallDir InstallDirRegKey InstProgressFlags InstType InstTypeGetText InstTypeSetText Int64Cmp Int64CmpU Int64Fmt IntCmp IntCmpU IntFmt IntOp IntPtrCmp IntPtrCmpU IntPtrOp IsWindow LangString LicenseBkColor LicenseData LicenseForceSelection LicenseLangString LicenseText LoadAndSetImage LoadLanguageFile LockWindow LogSet LogText ManifestDPIAware ManifestLongPathAware ManifestMaxVersionTested ManifestSupportedOS MessageBox MiscButtonText Name Nop OutFile Page PageCallbacks PEAddResource PEDllCharacteristics PERemoveResource PESubsysVer Pop Push Quit ReadEnvStr ReadINIStr ReadRegDWORD ReadRegStr Reboot RegDLL Rename RequestExecutionLevel ReserveFile Return RMDir SearchPath SectionGetFlags SectionGetInstTypes SectionGetSize SectionGetText SectionIn SectionSetFlags SectionSetInstTypes SectionSetSize SectionSetText SendMessage SetAutoClose SetBrandingImage SetCompress SetCompressor SetCompressorDictSize SetCtlColors SetCurInstType SetDatablockOptimize SetDateSave SetDetailsPrint SetDetailsView SetErrorLevel SetErrors SetFileAttributes SetFont SetOutPath SetOverwrite SetRebootFlag SetRegView SetShellVarContext SetSilent ShowInstDetails ShowUninstDetails ShowWindow SilentInstall SilentUnInstall Sleep SpaceTexts StrCmp StrCmpS StrCpy StrLen SubCaption Unicode UninstallButtonText UninstallCaption UninstallIcon UninstallSubCaption UninstallText UninstPage UnRegDLL Var VIAddVersionKey VIFileVersion VIProductVersion WindowIcon WriteINIStr WriteRegBin WriteRegDWORD WriteRegExpandStr WriteRegMultiStr WriteRegNone WriteRegStr WriteUninstaller XPStyle",literal:"admin all auto both bottom bzip2 colored components current custom directory false force hide highest ifdiff ifnewer instfiles lastused leave left license listonly lzma nevershow none normal notset off on open print right show silent silentlog smooth textonly top true try un.components un.custom un.directory un.instfiles un.license uninstConfirm user Win10 Win7 Win8 WinVista zlib"},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),{className:"function",beginKeywords:"Function PageEx Section SectionGroup",end:"$"},i,{className:"keyword",begin:/!(addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|searchparse|searchreplace|system|tempfile|undef|verbose|warning)/},t,n,a,{className:"params",begin:"(ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HKCR|HKCU|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM|HKPD|HKU|IDABORT|IDCANCEL|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY)"},{className:"class",begin:/\w+::\w+/},e.NUMBER_MODE]}}},10707:function(e,t){e.exports=function(e){const t=/[a-zA-Z@][a-zA-Z0-9_]*/,n={$pattern:t,keyword:"@interface @class @protocol @implementation"};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{$pattern:t,keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required @encode @package @import @defs @compatibility_alias __bridge __bridge_transfer __bridge_retained __bridge_retain __covariant __contravariant __kindof _Nonnull _Nullable _Null_unspecified __FUNCTION__ __PRETTY_FUNCTION__ __attribute__ getter setter retain unsafe_unretained nonnull nullable null_unspecified null_resettable class instancetype NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"},illegal:"</",contains:[{className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+n.keyword.split(" ").join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:n,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}},10708:function(e,t){e.exports=function(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}},10709:function(e,t){e.exports=function(e){const t={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},n={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},a=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),i={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[{className:"params",begin:"\\(",end:"\\)",contains:["self",n,a,t,{className:"literal",begin:"false|true|PI|undef"}]},e.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"meta",keywords:{"meta-keyword":"include use"},begin:"include|use <",end:">"},a,t,{begin:"[*!#%]",relevance:0},i]}}},10710:function(e,t){e.exports=function(e){const t={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},n=e.COMMENT(/\{/,/\}/,{relevance:0}),a=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),i={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},r={className:"string",begin:"(#\\d+)+"},s={className:"function",beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",keywords:t,contains:[i,r]},n,a]};return{name:"Oxygene",case_insensitive:!0,keywords:t,illegal:'("|\\$[G-Zg-z]|\\/\\*|</|=>|->)',contains:[n,a,e.C_LINE_COMMENT_MODE,i,r,e.NUMBER_MODE,s,{className:"class",begin:"=\\bclass\\b",end:"end;",keywords:t,contains:[i,r,n,a,e.C_LINE_COMMENT_MODE,s]}]}}},10711:function(e,t){e.exports=function(e){const t=e.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[t]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}}},10712:function(e,t){e.exports=function(e){return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,{className:"variable",begin:/\$[\w\d#@][\w\d_]*/},{className:"variable",begin:/<(?!\/)/,end:/>/}]}}},10713:function(e,t){e.exports=function(e){const t=e.COMMENT("--","$"),n="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",a=n.trim().split(" ").map((function(e){return e.split("|")[0]})).join("|"),i="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map((function(e){return e.split("|")[0]})).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],case_insensitive:!0,keywords:{keyword:"ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",built_in:"CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED "},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:e.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+i+")\\s*\\("},{begin:"\\.("+a+")\\b"},{begin:"\\b("+a+")\\s+PATH\\b",keywords:{keyword:"PATH",type:n.replace("PATH ","")}},{className:"type",begin:"\\b("+a+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},e.END_SAME_AS_BEGIN({begin:"\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",end:"\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:"<<\\s*[a-zA-Z_][a-zA-Z_0-9$]*\\s*>>",relevance:10}]}}},10714:function(e,t){e.exports=function(e){const t={className:"variable",begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*(?![A-Za-z0-9])(?![$])"},n={className:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?[=]?/},{begin:/\?>/}]},a={className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},i=e.inherit(e.APOS_STRING_MODE,{illegal:null}),r=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(a)}),s=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(a)}),o={className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[e.inherit(i,{begin:"b'",end:"'"}),e.inherit(r,{begin:'b"',end:'"'}),r,i,s]},l={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},c={keyword:"__CLASS__ __DIR__ __FILE__ __FUNCTION__ __LINE__ __METHOD__ __NAMESPACE__ __TRAIT__ die echo exit include include_once print require require_once array abstract and as binary bool boolean break callable case catch class clone const continue declare default do double else elseif empty enddeclare endfor endforeach endif endswitch endwhile eval extends final finally float for foreach from global goto if implements instanceof insteadof int integer interface isset iterable list match|0 new object or private protected public real return string switch throw trait try unset use var void while xor yield",literal:"false null true",built_in:"Error|0 AppendIterator ArgumentCountError ArithmeticError ArrayIterator ArrayObject AssertionError BadFunctionCallException BadMethodCallException CachingIterator CallbackFilterIterator CompileError Countable DirectoryIterator DivisionByZeroError DomainException EmptyIterator ErrorException Exception FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OutOfBoundsException OutOfRangeException OuterIterator OverflowException ParentIterator ParseError RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveCallbackFilterIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMaxHeap SplMinHeap SplObjectStorage SplObserver SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplSubject SplTempFileObject TypeError UnderflowException UnexpectedValueException ArrayAccess Closure Generator Iterator IteratorAggregate Serializable Throwable Traversable WeakReference Directory __PHP_Incomplete_Class parent php_user_filter self static stdClass"};return{aliases:["php","php3","php4","php5","php6","php7","php8"],case_insensitive:!0,keywords:c,contains:[e.HASH_COMMENT_MODE,e.COMMENT("//","$",{contains:[n]}),e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler"}),n,{className:"keyword",begin:/\$this\b/},t,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[e.UNDERSCORE_TITLE_MODE,{begin:"=>"},{className:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:c,contains:["self",t,e.C_BLOCK_COMMENT_MODE,o,l]}]},{className:"class",beginKeywords:"class interface",relevance:0,end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",relevance:0,end:";",contains:[e.UNDERSCORE_TITLE_MODE]},o,l]}}},10715:function(e,t){e.exports=function(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}},10716:function(e,t){e.exports=function(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}},10717:function(e,t){e.exports=function(e){return{name:"Pony",keywords:{keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},contains:[{className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE],relevance:0},{begin:e.IDENT_RE+"'",relevance:0},{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}},10718:function(e,t){e.exports=function(e){const t={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},n={begin:"`[\\s\\S]",relevance:0},a={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},i={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[n,a,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},r={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},s=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),o={className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",")+(-)[\\w\\d]+")}]},l={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},c={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[a]}]},_={begin:/using\s/,end:/$/,returnBegin:!0,contains:[i,r,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},d={variants:[{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},m={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(t.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},u=[m,s,n,e.NUMBER_MODE,i,r,o,a,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],p={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",u,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return m.contains.unshift(p),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:t,contains:u.concat(l,c,_,d,p)}}},10719:function(e,t){e.exports=function(e){return{name:"Processing",keywords:{keyword:"BufferedReader PVector PFont PImage PGraphics HashMap boolean byte char color double float int long String Array FloatDict FloatList IntDict IntList JSONArray JSONObject Object StringDict StringList Table TableRow XML false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private",literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI",title:"setup draw",built_in:"displayHeight displayWidth mouseY mouseX mousePressed pmouseX pmouseY key keyCode pixels focused frameCount frameRate height width size createGraphics beginDraw createShape loadShape PShape arc ellipse line point quad rect triangle bezier bezierDetail bezierPoint bezierTangent curve curveDetail curvePoint curveTangent curveTightness shape shapeMode beginContour beginShape bezierVertex curveVertex endContour endShape quadraticVertex vertex ellipseMode noSmooth rectMode smooth strokeCap strokeJoin strokeWeight mouseClicked mouseDragged mouseMoved mousePressed mouseReleased mouseWheel keyPressed keyPressedkeyReleased keyTyped print println save saveFrame day hour millis minute month second year background clear colorMode fill noFill noStroke stroke alpha blue brightness color green hue lerpColor red saturation modelX modelY modelZ screenX screenY screenZ ambient emissive shininess specular add createImage beginCamera camera endCamera frustum ortho perspective printCamera printProjection cursor frameRate noCursor exit loop noLoop popStyle pushStyle redraw binary boolean byte char float hex int str unbinary unhex join match matchAll nf nfc nfp nfs split splitTokens trim append arrayCopy concat expand reverse shorten sort splice subset box sphere sphereDetail createInput createReader loadBytes loadJSONArray loadJSONObject loadStrings loadTable loadXML open parseXML saveTable selectFolder selectInput beginRaw beginRecord createOutput createWriter endRaw endRecord PrintWritersaveBytes saveJSONArray saveJSONObject saveStream saveStrings saveXML selectOutput popMatrix printMatrix pushMatrix resetMatrix rotate rotateX rotateY rotateZ scale shearX shearY translate ambientLight directionalLight lightFalloff lights lightSpecular noLights normal pointLight spotLight image imageMode loadImage noTint requestImage tint texture textureMode textureWrap blend copy filter get loadPixels set updatePixels blendMode loadShader PShaderresetShader shader createFont loadFont text textFont textAlign textLeading textMode textSize textWidth textAscent textDescent abs ceil constrain dist exp floor lerp log mag map max min norm pow round sq sqrt acos asin atan atan2 cos degrees radians sin tan noise noiseDetail noiseSeed random randomGaussian randomSeed"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}},10720:function(e,t){e.exports=function(e){return{name:"Python profiler",contains:[e.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[e.C_NUMBER_MODE],relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}},10721:function(e,t){e.exports=function(e){const t={begin:/\(/,end:/\)/,relevance:0},n={begin:/\[/,end:/\]/},a={className:"comment",begin:/%/,end:/$/,contains:[e.PHRASAL_WORDS_MODE]},i={className:"string",begin:/`/,end:/`/,contains:[e.BACKSLASH_ESCAPE]},r=[{begin:/[a-z][A-Za-z0-9_]*/,relevance:0},{className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},t,{begin:/:-/},n,a,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,i,{className:"string",begin:/0'(\\'|.)/},{className:"string",begin:/0'\\s/},e.C_NUMBER_MODE];return t.contains=r,n.contains=r,{name:"Prolog",contains:r.concat([{begin:/\.$/}])}}},10722:function(e,t){e.exports=function(e){var t="[ \\t\\f]*",n="([ \\t\\f]*[:=][ \\t\\f]*|[ \\t\\f]+)",a="([^\\\\:= \\t\\f\\n]|\\\\.)+",i={end:n,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:"([^\\\\\\W:= \\t\\f\\n]|\\\\.)+[ \\t\\f]*[:=][ \\t\\f]*",relevance:1},{begin:"([^\\\\\\W:= \\t\\f\\n]|\\\\.)+[ \\t\\f]+",relevance:0}],contains:[{className:"attr",begin:"([^\\\\\\W:= \\t\\f\\n]|\\\\.)+",endsParent:!0,relevance:0}],starts:i},{begin:a+n,returnBegin:!0,relevance:0,contains:[{className:"meta",begin:a,endsParent:!0,relevance:0}],starts:i},{className:"attr",relevance:0,begin:a+t+"$"}]}}},10723:function(e,t){e.exports=function(e){return{name:"Protocol Buffers",keywords:{keyword:"package import option optional required repeated group oneof",built_in:"double float int32 int64 uint32 uint64 sint32 sint64 fixed32 fixed64 sfixed32 sfixed64 bool string bytes",literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"message enum service",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}},10724:function(e,t){e.exports=function(e){const t=e.COMMENT("#","$"),n=e.inherit(e.TITLE_MODE,{begin:"([A-Za-z_]|::)(\\w|::)*"}),a={className:"variable",begin:"\\$([A-Za-z_]|::)(\\w|::)*"},i={className:"string",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[t,a,i,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[n,t]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:e.IDENT_RE},{begin:/\{/,end:/\}/,keywords:{keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},relevance:0,contains:[i,t,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},a]}],relevance:0}]}}},10725:function(e,t){e.exports=function(e){return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until  UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[e.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},e.UNDERSCORE_TITLE_MODE]},{className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},{className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"}]}}},10726:function(e,t){e.exports=function(e){const t={keyword:["and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","","from","global","if","import","in","is","lambda","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"]},n={className:"meta",begin:/^(>>>|\.\.\.) /},a={className:"subst",begin:/\{/,end:/\}/,keywords:t,illegal:/#/},i={begin:/\{\{/,relevance:0},r={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,n],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,n],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,n,i,a]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,n,i,a]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,i,a]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,i,a]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},s="[0-9](_?[0-9])*",o=`(\\b(${s}))?\\.(${s})|\\b(${s})\\.`,l={className:"number",relevance:0,variants:[{begin:`(\\b(${s})|(${o}))[eE][+-]?(${s})[jJ]?\\b`},{begin:`(${o})[jJ]?`},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?\\b"},{begin:"\\b0[bB](_?[01])+[lL]?\\b"},{begin:"\\b0[oO](_?[0-7])+[lL]?\\b"},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?\\b"},{begin:`\\b(${s})[jJ]\\b`}]},c={className:"params",variants:[{begin:/\(\s*\)/,skip:!0,className:null},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,contains:["self",n,l,r,e.HASH_COMMENT_MODE]}]};return a.contains=[r,l,n],{name:"Python",aliases:["py","gyp","ipython"],keywords:t,illegal:/(<\/|->|\?)|=>/,contains:[n,l,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},r,e.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[e.UNDERSCORE_TITLE_MODE,c,{begin:/->/,endsWithParent:!0,keywords:"None"}]},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[l,c,r]},{begin:/\b(print|exec)\(/}]}}},10727:function(e,t){e.exports=function(e){return{aliases:["pycon"],contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}},10728:function(e,t){e.exports=function(e){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}},10729:function(e,t){function n(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}e.exports=function(e){const t="[a-zA-Z_][a-zA-Z0-9\\._]*",a={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:t,returnEnd:!1}},i={begin:t+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:t,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},r={begin:n(t,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[e.inherit(e.TITLE_MODE,{begin:t})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:{keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{begin:/</,end:/>\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},{className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},{className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+e.IDENT_RE,relevance:0},a,i,r],illegal:/#/}}},10730:function(e,t){function n(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}e.exports=function(e){const t=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/;return{name:"R",illegal:/->/,keywords:{$pattern:t,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},compilerExtensions:[(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const a=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.begin=n(a.beforeMatch,n("(?=",a.begin,")")),e.starts={relevance:0,contains:[Object.assign(a,{endsParent:!0})]},e.relevance=0,delete a.beforeMatch}],contains:[e.COMMENT(/#'/,/$/,{contains:[{className:"doctag",begin:"@examples",starts:{contains:[{begin:/\n/},{begin:/#'\s*(?=@[a-zA-Z]+)/,endsParent:!0},{begin:/#'/,end:/$/,excludeBegin:!0}]}},{className:"doctag",begin:"@param",end:/$/,contains:[{className:"variable",variants:[{begin:t},{begin:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{className:"doctag",begin:/@[a-zA-Z]+/},{className:"meta-keyword",begin:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{className:"number",relevance:0,beforeMatch:/([^a-zA-Z0-9._])/,variants:[{match:/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/},{match:/0[xX][0-9a-fA-F]+([pP][+-]?\d+)?[Li]?/},{match:/(\d+(\.\d*)?|\.\d+)([eE][+-]?\d+)?[Li]?/}]},{begin:"%",end:"%"},{begin:n(/[a-zA-Z][a-zA-Z_0-9]*/,"\\s+<-\\s+")},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}},10731:function(e,t){e.exports=function(e){const t="~?[a-z$_][0-9a-zA-Z$_]*",n="`?[A-Z$_][0-9a-zA-Z$_]*",a="("+(["||","++","**","+.","*","/","*.","/.","..."].map((function(e){return e.split("").map((function(e){return"\\"+e})).join("")})).join("|")+"|\\|>|&&|==|===)"),i="\\s+"+a+"\\s+",r={keyword:"and as asr assert begin class constraint do done downto else end exception external for fun function functor if in include inherit initializer land lazy let lor lsl lsr lxor match method mod module mutable new nonrec object of open or private rec sig struct then to try type val virtual when while with",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 ref string unit ",literal:"true false"},s="\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",o={className:"number",relevance:0,variants:[{begin:s},{begin:"\\(-"+s+"\\)"}]},l={className:"operator",relevance:0,begin:a},c=[{className:"identifier",relevance:0,begin:t},l,o],_=[e.QUOTE_STRING_MODE,l,{className:"module",begin:"\\b"+n,returnBegin:!0,end:".",contains:[{className:"identifier",begin:n,relevance:0}]}],d=[{className:"module",begin:"\\b"+n,returnBegin:!0,end:".",relevance:0,contains:[{className:"identifier",begin:n,relevance:0}]}],m={className:"function",relevance:0,keywords:r,variants:[{begin:"\\s(\\(\\.?.*?\\)|"+t+")\\s*=>",end:"\\s*=>",returnBegin:!0,relevance:0,contains:[{className:"params",variants:[{begin:t},{begin:"~?[a-z$_][0-9a-zA-Z$_]*(\\s*:\\s*[a-z$_][0-9a-z$_]*(\\(\\s*('?[a-z$_][0-9a-z$_]*\\s*(,'?[a-z$_][0-9a-z$_]*\\s*)*)?\\))?){0,2}"},{begin:/\(\s*\)/}]}]},{begin:"\\s\\(\\.?[^;\\|]*\\)\\s*=>",end:"\\s=>",returnBegin:!0,relevance:0,contains:[{className:"params",relevance:0,variants:[{begin:t,end:"(,|\\n|\\))",relevance:0,contains:[l,{className:"typing",begin:":",end:"(,|\\n)",returnBegin:!0,relevance:0,contains:d}]}]}]},{begin:"\\(\\.\\s"+t+"\\)\\s*=>"}]};_.push(m);const u={className:"constructor",begin:n+"\\(",end:"\\)",illegal:"\\n",keywords:r,contains:[e.QUOTE_STRING_MODE,l,{className:"params",begin:"\\b"+t}]},p={className:"pattern-match",begin:"\\|",returnBegin:!0,keywords:r,end:"=>",relevance:0,contains:[u,l,{relevance:0,className:"constructor",begin:n}]},E={className:"module-access",keywords:r,returnBegin:!0,variants:[{begin:"\\b("+n+"\\.)+"+t},{begin:"\\b("+n+"\\.)+\\(",end:"\\)",returnBegin:!0,contains:[m,{begin:"\\(",end:"\\)",skip:!0}].concat(_)},{begin:"\\b("+n+"\\.)+\\{",end:/\}/}],contains:_};return d.push(E),{name:"ReasonML",aliases:["re"],keywords:r,illegal:"(:-|:=|\\$\\{|\\+=)",contains:[e.COMMENT("/\\*","\\*/",{illegal:"^(#,\\/\\/)"}),{className:"character",begin:"'(\\\\[^']+|[^'])'",illegal:"\\n",relevance:0},e.QUOTE_STRING_MODE,{className:"literal",begin:"\\(\\)",relevance:0},{className:"literal",begin:"\\[\\|",end:"\\|\\]",relevance:0,contains:c},{className:"literal",begin:"\\[",end:"\\]",relevance:0,contains:c},u,{className:"operator",begin:i,illegal:"--\x3e",relevance:0},o,e.C_LINE_COMMENT_MODE,p,m,{className:"module-def",begin:"\\bmodule\\s+"+t+"\\s+"+n+"\\s+=\\s+\\{",end:/\}/,returnBegin:!0,keywords:r,relevance:0,contains:[{className:"module",relevance:0,begin:n},{begin:/\{/,end:/\}/,skip:!0}].concat(_)},E]}}},10732:function(e,t){e.exports=function(e){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"</",contains:[e.HASH_COMMENT_MODE,e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}}},10733:function(e,t){e.exports=function(e){const t={className:"attribute",begin:/[a-zA-Z-_]+/,end:/\s*:/,excludeEnd:!0,starts:{end:";",relevance:0,contains:[{className:"variable",begin:/\.[a-zA-Z-_]+/},{className:"keyword",begin:/\(optional\)/}]}};return{name:"Roboconf",aliases:["graph","instances"],case_insensitive:!0,keywords:"import",contains:[{begin:"^facet [a-zA-Z-_][^\\n{]+\\{",end:/\}/,keywords:"facet",contains:[t,e.HASH_COMMENT_MODE]},{begin:"^\\s*instance of [a-zA-Z-_][^\\n{]+\\{",end:/\}/,keywords:"name count channels instance-data instance-state instance of",illegal:/\S/,contains:["self",t,e.HASH_COMMENT_MODE]},{begin:"^[a-zA-Z-_][^\\n{]+\\{",end:/\}/,contains:[t,e.HASH_COMMENT_MODE]},e.HASH_COMMENT_MODE]}}},10734:function(e,t){e.exports=function(e){const t="foreach do while for if from to step else on-error and or not in",n="true false yes no nothing nil null",a={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},i={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,a,{className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}]},r={className:"string",begin:/'/,end:/'/};return{name:"Microtik RouterOS script",aliases:["routeros","mikrotik"],case_insensitive:!0,keywords:{$pattern:/:?[\w-]+/,literal:n,keyword:t+" :"+t.split(" ").join(" :")+" :"+"global local beep delay put len typeof pick log time set find environment terminal error execute parse resolve toarray tobool toid toip toip6 tonum tostr totime".split(" ").join(" :")},contains:[{variants:[{begin:/\/\*/,end:/\*\//},{begin:/\/\//,end:/$/},{begin:/<\//,end:/>/}],illegal:/./},e.COMMENT("^#","$"),i,r,a,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[i,r,a,{className:"literal",begin:"\\b("+n.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+"add remove enable disable set get print export edit find run debug error info warning".split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"builtin-name",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+"traffic-flow traffic-generator firewall scheduler aaa accounting address-list address align area bandwidth-server bfd bgp bridge client clock community config connection console customer default dhcp-client dhcp-server discovery dns e-mail ethernet filter firmware gps graphing group hardware health hotspot identity igmp-proxy incoming instance interface ip ipsec ipv6 irq l2tp-server lcd ldp logging mac-server mac-winbox mangle manual mirror mme mpls nat nd neighbor network note ntp ospf ospf-v3 ovpn-server page peer pim ping policy pool port ppp pppoe-client pptp-server prefix profile proposal proxy queue radius resource rip ripng route routing screen script security-profiles server service service-port settings shares smb sms sniffer snmp snooper socks sstp-server system tool tracking type upgrade upnp user-manager users user vlan secret vrrp watchdog web-access wireless pptp pppoe lan wan layer7-protocol lease simple raw".split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}},10735:function(e,t){e.exports=function(e){return{name:"RenderMan RSL",keywords:{keyword:"float color point normal vector matrix while for if do return else break extern continue",built_in:"abs acos ambient area asin atan atmosphere attribute calculatenormal ceil cellnoise clamp comp concat cos degrees depth Deriv diffuse distance Du Dv environment exp faceforward filterstep floor format fresnel incident length lightsource log match max min mod noise normalize ntransform opposite option phong pnoise pow printf ptlined radians random reflect refract renderinfo round setcomp setxcomp setycomp setzcomp shadow sign sin smoothstep specular specularbrdf spline sqrt step tan texture textureinfo trace transform vtransform xcomp ycomp zcomp"},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},{className:"class",beginKeywords:"surface displacement light volume imager",end:"\\("},{beginKeywords:"illuminate illuminance gather",end:"\\("}]}}},10736:function(e,t){e.exports=function(e){return{name:"Oracle Rules Language",keywords:{keyword:"BILL_PERIOD BILL_START BILL_STOP RS_EFFECTIVE_START RS_EFFECTIVE_STOP RS_JURIS_CODE RS_OPCO_CODE INTDADDATTRIBUTE|5 INTDADDVMSG|5 INTDBLOCKOP|5 INTDBLOCKOPNA|5 INTDCLOSE|5 INTDCOUNT|5 INTDCOUNTSTATUSCODE|5 INTDCREATEMASK|5 INTDCREATEDAYMASK|5 INTDCREATEFACTORMASK|5 INTDCREATEHANDLE|5 INTDCREATEOVERRIDEDAYMASK|5 INTDCREATEOVERRIDEMASK|5 INTDCREATESTATUSCODEMASK|5 INTDCREATETOUPERIOD|5 INTDDELETE|5 INTDDIPTEST|5 INTDEXPORT|5 INTDGETERRORCODE|5 INTDGETERRORMESSAGE|5 INTDISEQUAL|5 INTDJOIN|5 INTDLOAD|5 INTDLOADACTUALCUT|5 INTDLOADDATES|5 INTDLOADHIST|5 INTDLOADLIST|5 INTDLOADLISTDATES|5 INTDLOADLISTENERGY|5 INTDLOADLISTHIST|5 INTDLOADRELATEDCHANNEL|5 INTDLOADSP|5 INTDLOADSTAGING|5 INTDLOADUOM|5 INTDLOADUOMDATES|5 INTDLOADUOMHIST|5 INTDLOADVERSION|5 INTDOPEN|5 INTDREADFIRST|5 INTDREADNEXT|5 INTDRECCOUNT|5 INTDRELEASE|5 INTDREPLACE|5 INTDROLLAVG|5 INTDROLLPEAK|5 INTDSCALAROP|5 INTDSCALE|5 INTDSETATTRIBUTE|5 INTDSETDSTPARTICIPANT|5 INTDSETSTRING|5 INTDSETVALUE|5 INTDSETVALUESTATUS|5 INTDSHIFTSTARTTIME|5 INTDSMOOTH|5 INTDSORT|5 INTDSPIKETEST|5 INTDSUBSET|5 INTDTOU|5 INTDTOURELEASE|5 INTDTOUVALUE|5 INTDUPDATESTATS|5 INTDVALUE|5 STDEV INTDDELETEEX|5 INTDLOADEXACTUAL|5 INTDLOADEXCUT|5 INTDLOADEXDATES|5 INTDLOADEX|5 INTDLOADEXRELATEDCHANNEL|5 INTDSAVEEX|5 MVLOAD|5 MVLOADACCT|5 MVLOADACCTDATES|5 MVLOADACCTHIST|5 MVLOADDATES|5 MVLOADHIST|5 MVLOADLIST|5 MVLOADLISTDATES|5 MVLOADLISTHIST|5 IF FOR NEXT DONE SELECT END CALL ABORT CLEAR CHANNEL FACTOR LIST NUMBER OVERRIDE SET WEEK DISTRIBUTIONNODE ELSE WHEN THEN OTHERWISE IENUM CSV INCLUDE LEAVE RIDER SAVE DELETE NOVALUE SECTION WARN SAVE_UPDATE DETERMINANT LABEL REPORT REVENUE EACH IN FROM TOTAL CHARGE BLOCK AND OR CSV_FILE RATE_CODE AUXILIARY_DEMAND UIDACCOUNT RS BILL_PERIOD_SELECT HOURS_PER_MONTH INTD_ERROR_STOP SEASON_SCHEDULE_NAME ACCOUNTFACTOR ARRAYUPPERBOUND CALLSTOREDPROC GETADOCONNECTION GETCONNECT GETDATASOURCE GETQUALIFIER GETUSERID HASVALUE LISTCOUNT LISTOP LISTUPDATE LISTVALUE PRORATEFACTOR RSPRORATE SETBINPATH SETDBMONITOR WQ_OPEN BILLINGHOURS DATE DATEFROMFLOAT DATETIMEFROMSTRING DATETIMETOSTRING DATETOFLOAT DAY DAYDIFF DAYNAME DBDATETIME HOUR MINUTE MONTH MONTHDIFF MONTHHOURS MONTHNAME ROUNDDATE SAMEWEEKDAYLASTYEAR SECOND WEEKDAY WEEKDIFF YEAR YEARDAY YEARSTR COMPSUM HISTCOUNT HISTMAX HISTMIN HISTMINNZ HISTVALUE MAXNRANGE MAXRANGE MINRANGE COMPIKVA COMPKVA COMPKVARFROMKQKW COMPLF IDATTR FLAG LF2KW LF2KWH MAXKW POWERFACTOR READING2USAGE AVGSEASON MAXSEASON MONTHLYMERGE SEASONVALUE SUMSEASON ACCTREADDATES ACCTTABLELOAD CONFIGADD CONFIGGET CREATEOBJECT CREATEREPORT EMAILCLIENT EXPBLKMDMUSAGE EXPMDMUSAGE EXPORT_USAGE FACTORINEFFECT GETUSERSPECIFIEDSTOP INEFFECT ISHOLIDAY RUNRATE SAVE_PROFILE SETREPORTTITLE USEREXIT WATFORRUNRATE TO TABLE ACOS ASIN ATAN ATAN2 BITAND CEIL COS COSECANT COSH COTANGENT DIVQUOT DIVREM EXP FABS FLOOR FMOD FREPM FREXPN LOG LOG10 MAX MAXN MIN MINNZ MODF POW ROUND ROUND2VALUE ROUNDINT SECANT SIN SINH SQROOT TAN TANH FLOAT2STRING FLOAT2STRINGNC INSTR LEFT LEN LTRIM MID RIGHT RTRIM STRING STRINGNC TOLOWER TOUPPER TRIM NUMDAYS READ_DATE STAGING",built_in:"IDENTIFIER OPTIONS XML_ELEMENT XML_OP XML_ELEMENT_OF DOMDOCCREATE DOMDOCLOADFILE DOMDOCLOADXML DOMDOCSAVEFILE DOMDOCGETROOT DOMDOCADDPI DOMNODEGETNAME DOMNODEGETTYPE DOMNODEGETVALUE DOMNODEGETCHILDCT DOMNODEGETFIRSTCHILD DOMNODEGETSIBLING DOMNODECREATECHILDELEMENT DOMNODESETATTRIBUTE DOMNODEGETCHILDELEMENTCT DOMNODEGETFIRSTCHILDELEMENT DOMNODEGETSIBLINGELEMENT DOMNODEGETATTRIBUTECT DOMNODEGETATTRIBUTEI DOMNODEGETATTRIBUTEBYNAME DOMNODEGETBYNAME"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"literal",variants:[{begin:"#\\s+",relevance:0},{begin:"#[a-zA-Z .]+"}]}]}}},10737:function(e,t){e.exports=function(e){const t="([ui](8|16|32|64|128|size)|f(32|64))?",n="drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator SliceConcatExt ToString assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!";return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",keyword:"abstract as async await become box break const continue crate do dyn else enum extern false final fn for if impl in let loop macro match mod move mut override priv pub ref return self Self static struct super trait true try type typeof unsafe unsized use virtual where while yield",literal:"true false Some None Ok Err",built_in:n},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+t}],relevance:0},{className:"function",beginKeywords:"fn",end:"(\\(|<)",excludeEnd:!0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"meta-string",begin:/"/,end:/"/}]},{className:"class",beginKeywords:"type",end:";",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{endsParent:!0})],illegal:"\\S"},{className:"class",beginKeywords:"trait enum struct union",end:/\{/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{endsParent:!0})],illegal:"[\\w\\d]"},{begin:e.IDENT_RE+"::",keywords:{built_in:n}},{begin:"->"}]}}},10738:function(e,t){e.exports=function(e){return{name:"SAS",aliases:["sas","SAS"],case_insensitive:!0,keywords:{literal:"null missing _all_ _automatic_ _character_ _infile_ _n_ _name_ _null_ _numeric_ _user_ _webout_",meta:"do if then else end until while abort array attrib by call cards cards4 catname continue datalines datalines4 delete delim delimiter display dm drop endsas error file filename footnote format goto in infile informat input keep label leave length libname link list lostcard merge missing modify options output out page put redirect remove rename replace retain return select set skip startsas stop title update waitsas where window x systask add and alter as cascade check create delete describe distinct drop foreign from group having index insert into in key like message modify msgtype not null on or order primary references reset restrict select set table unique update validate view where"},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{className:"emphasis",begin:/^\s*datalines|cards.*;/,end:/^\s*;\s*$/},{className:"built_in",begin:"%(bquote|nrbquote|cmpres|qcmpres|compstor|datatyp|display|do|else|end|eval|global|goto|if|index|input|keydef|label|left|length|let|local|lowcase|macro|mend|nrbquote|nrquote|nrstr|put|qcmpres|qleft|qlowcase|qscan|qsubstr|qsysfunc|qtrim|quote|qupcase|scan|str|substr|superq|syscall|sysevalf|sysexec|sysfunc|sysget|syslput|sysprod|sysrc|sysrput|then|to|trim|unquote|until|upcase|verify|while|window)"},{className:"name",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:"[^%](abs|addr|airy|arcos|arsin|atan|attrc|attrn|band|betainv|blshift|bnot|bor|brshift|bxor|byte|cdf|ceil|cexist|cinv|close|cnonct|collate|compbl|compound|compress|cos|cosh|css|curobs|cv|daccdb|daccdbsl|daccsl|daccsyd|dacctab|dairy|date|datejul|datepart|datetime|day|dclose|depdb|depdbsl|depdbsl|depsl|depsl|depsyd|depsyd|deptab|deptab|dequote|dhms|dif|digamma|dim|dinfo|dnum|dopen|doptname|doptnum|dread|dropnote|dsname|erf|erfc|exist|exp|fappend|fclose|fcol|fdelete|fetch|fetchobs|fexist|fget|fileexist|filename|fileref|finfo|finv|fipname|fipnamel|fipstate|floor|fnonct|fnote|fopen|foptname|foptnum|fpoint|fpos|fput|fread|frewind|frlen|fsep|fuzz|fwrite|gaminv|gamma|getoption|getvarc|getvarn|hbound|hms|hosthelp|hour|ibessel|index|indexc|indexw|input|inputc|inputn|int|intck|intnx|intrr|irr|jbessel|juldate|kurtosis|lag|lbound|left|length|lgamma|libname|libref|log|log10|log2|logpdf|logpmf|logsdf|lowcase|max|mdy|mean|min|minute|mod|month|mopen|mort|n|netpv|nmiss|normal|note|npv|open|ordinal|pathname|pdf|peek|peekc|pmf|point|poisson|poke|probbeta|probbnml|probchi|probf|probgam|probhypr|probit|probnegb|probnorm|probt|put|putc|putn|qtr|quote|ranbin|rancau|ranexp|rangam|range|rank|rannor|ranpoi|rantbl|rantri|ranuni|repeat|resolve|reverse|rewind|right|round|saving|scan|sdf|second|sign|sin|sinh|skewness|soundex|spedis|sqrt|std|stderr|stfips|stname|stnamel|substr|sum|symget|sysget|sysmsg|sysprod|sysrc|system|tan|tanh|time|timepart|tinv|tnonct|today|translate|tranwrd|trigamma|trim|trimn|trunc|uniform|upcase|uss|var|varfmt|varinfmt|varlabel|varlen|varname|varnum|varray|varrayx|vartype|verify|vformat|vformatd|vformatdx|vformatn|vformatnx|vformatw|vformatwx|vformatx|vinarray|vinarrayx|vinformat|vinformatd|vinformatdx|vinformatn|vinformatnx|vinformatw|vinformatwx|vinformatx|vlabel|vlabelx|vlength|vlengthx|vname|vnamex|vtype|vtypex|weekday|year|yyq|zipfips|zipname|zipnamel|zipstate)[(]"},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.COMMENT("\\*",";"),e.C_BLOCK_COMMENT_MODE]}}},10739:function(e,t){e.exports=function(e){const t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},n={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[t],relevance:10}]},a={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},i={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},r={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[a]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[a]},i]},s={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[i]};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"symbol",begin:"'\\w[\\w\\d_]*(?!')"},a,s,r,e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}},10740:function(e,t){e.exports=function(e){const t="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",n={$pattern:t,"builtin-name":"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},a={className:"literal",begin:"(#t|#f|#\\\\"+t+"|#\\\\.)"},i={className:"number",variants:[{begin:"(-|\\+)?\\d+([./]\\d+)?",relevance:0},{begin:"(-|\\+)?\\d+([./]\\d+)?[+\\-](-|\\+)?\\d+([./]\\d+)?i",relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},r=e.QUOTE_STRING_MODE,s=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],o={begin:t,relevance:0},l={className:"symbol",begin:"'"+t},c={endsWithParent:!0,relevance:0},_={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",a,r,i,o,l]}]},d={className:"name",relevance:0,begin:t,keywords:n},m={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[d,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[o]}]},d,c]};return c.contains=[a,i,r,o,l,_,m].concat(s),{name:"Scheme",illegal:/\S/,contains:[e.SHEBANG(),i,r,l,_,m].concat(s)}}},10741:function(e,t){e.exports=function(e){const t=[e.C_NUMBER_MODE,{className:"string",begin:"'|\"",end:"'|\"",contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:t},e.COMMENT("//","$")].concat(t)}}},10742:function(e,t){const n=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],a=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],i=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],r=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],s=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();e.exports=function(e){const t=(e=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}}))(e),o=r,l=i,c={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b"};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+n.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+l.join("|")+")"},{className:"selector-pseudo",begin:"::("+o.join("|")+")"},c,{begin:/\(/,end:/\)/,contains:[e.CSS_NUMBER_MODE]},{className:"attribute",begin:"\\b("+s.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:":",end:";",contains:[c,t.HEXCOLOR,e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT]},{begin:"@(page|font-face)",lexemes:"@[a-z-]+",keywords:"@page @font-face"},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:a.join(" ")},contains:[{begin:"@[a-z-]+",className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},c,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,e.CSS_NUMBER_MODE]}]}}},10743:function(e,t){e.exports=function(e){return{name:"Shell Session",aliases:["console"],contains:[{className:"meta",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#]/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}},10744:function(e,t){e.exports=function(e){const t=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"];return{name:"Smali",aliases:["smali"],contains:[{className:"string",begin:'"',end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"].join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+t.join("|")+")\\s"},{begin:"\\s("+t.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"].join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:"L[^(;:\n]*;",relevance:0},{begin:"[vp][0-9]+"}]}}},10745:function(e,t){e.exports=function(e){const t={className:"string",begin:"\\$.{1}"},n={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:"self super nil true false thisContext",contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:"[a-z][a-zA-Z0-9_]*:",relevance:0},e.C_NUMBER_MODE,n,t,{begin:"\\|[ ]*[a-z][a-zA-Z0-9_]*([ ]+[a-z][a-zA-Z0-9_]*)*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?[a-z][a-zA-Z0-9_]*"}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,t,e.C_NUMBER_MODE,n]}]}}},10746:function(e,t){e.exports=function(e){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}},10747:function(e,t){e.exports=function(e){const t={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},n={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"define undef ifdef ifndef else endif include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(t,{className:"meta-string"}),{className:"meta-string",begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"SQF",aliases:["sqf"],case_insensitive:!0,keywords:{keyword:"case catch default do else exit exitWith for forEach from if private switch then throw to try waitUntil while with",built_in:"abs accTime acos action actionIDs actionKeys actionKeysImages actionKeysNames actionKeysNamesArray actionName actionParams activateAddons activatedAddons activateKey add3DENConnection add3DENEventHandler add3DENLayer addAction addBackpack addBackpackCargo addBackpackCargoGlobal addBackpackGlobal addCamShake addCuratorAddons addCuratorCameraArea addCuratorEditableObjects addCuratorEditingArea addCuratorPoints addEditorObject addEventHandler addForce addGoggles addGroupIcon addHandgunItem addHeadgear addItem addItemCargo addItemCargoGlobal addItemPool addItemToBackpack addItemToUniform addItemToVest addLiveStats addMagazine addMagazineAmmoCargo addMagazineCargo addMagazineCargoGlobal addMagazineGlobal addMagazinePool addMagazines addMagazineTurret addMenu addMenuItem addMissionEventHandler addMPEventHandler addMusicEventHandler addOwnedMine addPlayerScores addPrimaryWeaponItem addPublicVariableEventHandler addRating addResources addScore addScoreSide addSecondaryWeaponItem addSwitchableUnit addTeamMember addToRemainsCollector addTorque addUniform addVehicle addVest addWaypoint addWeapon addWeaponCargo addWeaponCargoGlobal addWeaponGlobal addWeaponItem addWeaponPool addWeaponTurret admin agent agents AGLToASL aimedAtTarget aimPos airDensityRTD airplaneThrottle airportSide AISFinishHeal alive all3DENEntities allAirports allControls allCurators allCutLayers allDead allDeadMen allDisplays allGroups allMapMarkers allMines allMissionObjects allow3DMode allowCrewInImmobile allowCuratorLogicIgnoreAreas allowDamage allowDammage allowFileOperations allowFleeing allowGetIn allowSprint allPlayers allSimpleObjects allSites allTurrets allUnits allUnitsUAV allVariables ammo ammoOnPylon and animate animateBay animateDoor animatePylon animateSource animationNames animationPhase animationSourcePhase animationState append apply armoryPoints arrayIntersect asin ASLToAGL ASLToATL assert assignAsCargo assignAsCargoIndex assignAsCommander assignAsDriver assignAsGunner assignAsTurret assignCurator assignedCargo assignedCommander assignedDriver assignedGunner assignedItems assignedTarget assignedTeam assignedVehicle assignedVehicleRole assignItem assignTeam assignToAirport atan atan2 atg ATLToASL attachedObject attachedObjects attachedTo attachObject attachTo attackEnabled backpack backpackCargo backpackContainer backpackItems backpackMagazines backpackSpaceFor behaviour benchmark binocular boundingBox boundingBoxReal boundingCenter breakOut breakTo briefingName buildingExit buildingPos buttonAction buttonSetAction cadetMode call callExtension camCommand camCommit camCommitPrepared camCommitted camConstuctionSetParams camCreate camDestroy cameraEffect cameraEffectEnableHUD cameraInterest cameraOn cameraView campaignConfigFile camPreload camPreloaded camPrepareBank camPrepareDir camPrepareDive camPrepareFocus camPrepareFov camPrepareFovRange camPreparePos camPrepareRelPos camPrepareTarget camSetBank camSetDir camSetDive camSetFocus camSetFov camSetFovRange camSetPos camSetRelPos camSetTarget camTarget camUseNVG canAdd canAddItemToBackpack canAddItemToUniform canAddItemToVest cancelSimpleTaskDestination canFire canMove canSlingLoad canStand canSuspend canTriggerDynamicSimulation canUnloadInCombat canVehicleCargo captive captiveNum cbChecked cbSetChecked ceil channelEnabled cheatsEnabled checkAIFeature checkVisibility className clearAllItemsFromBackpack clearBackpackCargo clearBackpackCargoGlobal clearGroupIcons clearItemCargo clearItemCargoGlobal clearItemPool clearMagazineCargo clearMagazineCargoGlobal clearMagazinePool clearOverlay clearRadio clearWeaponCargo clearWeaponCargoGlobal clearWeaponPool clientOwner closeDialog closeDisplay closeOverlay collapseObjectTree collect3DENHistory collectiveRTD combatMode commandArtilleryFire commandChat commander commandFire commandFollow commandFSM commandGetOut commandingMenu commandMove commandRadio commandStop commandSuppressiveFire commandTarget commandWatch comment commitOverlay compile compileFinal completedFSM composeText configClasses configFile configHierarchy configName configProperties configSourceAddonList configSourceMod configSourceModList confirmSensorTarget connectTerminalToUAV controlsGroupCtrl copyFromClipboard copyToClipboard copyWaypoints cos count countEnemy countFriendly countSide countType countUnknown create3DENComposition create3DENEntity createAgent createCenter createDialog createDiaryLink createDiaryRecord createDiarySubject createDisplay createGearDialog createGroup createGuardedPoint createLocation createMarker createMarkerLocal createMenu createMine createMissionDisplay createMPCampaignDisplay createSimpleObject createSimpleTask createSite createSoundSource createTask createTeam createTrigger createUnit createVehicle createVehicleCrew createVehicleLocal crew ctAddHeader ctAddRow ctClear ctCurSel ctData ctFindHeaderRows ctFindRowHeader ctHeaderControls ctHeaderCount ctRemoveHeaders ctRemoveRows ctrlActivate ctrlAddEventHandler ctrlAngle ctrlAutoScrollDelay ctrlAutoScrollRewind ctrlAutoScrollSpeed ctrlChecked ctrlClassName ctrlCommit ctrlCommitted ctrlCreate ctrlDelete ctrlEnable ctrlEnabled ctrlFade ctrlHTMLLoaded ctrlIDC ctrlIDD ctrlMapAnimAdd ctrlMapAnimClear ctrlMapAnimCommit ctrlMapAnimDone ctrlMapCursor ctrlMapMouseOver ctrlMapScale ctrlMapScreenToWorld ctrlMapWorldToScreen ctrlModel ctrlModelDirAndUp ctrlModelScale ctrlParent ctrlParentControlsGroup ctrlPosition ctrlRemoveAllEventHandlers ctrlRemoveEventHandler ctrlScale ctrlSetActiveColor ctrlSetAngle ctrlSetAutoScrollDelay ctrlSetAutoScrollRewind ctrlSetAutoScrollSpeed ctrlSetBackgroundColor ctrlSetChecked ctrlSetEventHandler ctrlSetFade ctrlSetFocus ctrlSetFont ctrlSetFontH1 ctrlSetFontH1B ctrlSetFontH2 ctrlSetFontH2B ctrlSetFontH3 ctrlSetFontH3B ctrlSetFontH4 ctrlSetFontH4B ctrlSetFontH5 ctrlSetFontH5B ctrlSetFontH6 ctrlSetFontH6B ctrlSetFontHeight ctrlSetFontHeightH1 ctrlSetFontHeightH2 ctrlSetFontHeightH3 ctrlSetFontHeightH4 ctrlSetFontHeightH5 ctrlSetFontHeightH6 ctrlSetFontHeightSecondary ctrlSetFontP ctrlSetFontPB ctrlSetFontSecondary ctrlSetForegroundColor ctrlSetModel ctrlSetModelDirAndUp ctrlSetModelScale ctrlSetPixelPrecision ctrlSetPosition ctrlSetScale ctrlSetStructuredText ctrlSetText ctrlSetTextColor ctrlSetTooltip ctrlSetTooltipColorBox ctrlSetTooltipColorShade ctrlSetTooltipColorText ctrlShow ctrlShown ctrlText ctrlTextHeight ctrlTextWidth ctrlType ctrlVisible ctRowControls ctRowCount ctSetCurSel ctSetData ctSetHeaderTemplate ctSetRowTemplate ctSetValue ctValue curatorAddons curatorCamera curatorCameraArea curatorCameraAreaCeiling curatorCoef curatorEditableObjects curatorEditingArea curatorEditingAreaType curatorMouseOver curatorPoints curatorRegisteredObjects curatorSelected curatorWaypointCost current3DENOperation currentChannel currentCommand currentMagazine currentMagazineDetail currentMagazineDetailTurret currentMagazineTurret currentMuzzle currentNamespace currentTask currentTasks currentThrowable currentVisionMode currentWaypoint currentWeapon currentWeaponMode currentWeaponTurret currentZeroing cursorObject cursorTarget customChat customRadio cutFadeOut cutObj cutRsc cutText damage date dateToNumber daytime deActivateKey debriefingText debugFSM debugLog deg delete3DENEntities deleteAt deleteCenter deleteCollection deleteEditorObject deleteGroup deleteGroupWhenEmpty deleteIdentity deleteLocation deleteMarker deleteMarkerLocal deleteRange deleteResources deleteSite deleteStatus deleteTeam deleteVehicle deleteVehicleCrew deleteWaypoint detach detectedMines diag_activeMissionFSMs diag_activeScripts diag_activeSQFScripts diag_activeSQSScripts diag_captureFrame diag_captureFrameToFile diag_captureSlowFrame diag_codePerformance diag_drawMode diag_enable diag_enabled diag_fps diag_fpsMin diag_frameNo diag_lightNewLoad diag_list diag_log diag_logSlowFrame diag_mergeConfigFile diag_recordTurretLimits diag_setLightNew diag_tickTime diag_toggle dialog diarySubjectExists didJIP didJIPOwner difficulty difficultyEnabled difficultyEnabledRTD difficultyOption direction directSay disableAI disableCollisionWith disableConversation disableDebriefingStats disableMapIndicators disableNVGEquipment disableRemoteSensors disableSerialization disableTIEquipment disableUAVConnectability disableUserInput displayAddEventHandler displayCtrl displayParent displayRemoveAllEventHandlers displayRemoveEventHandler displaySetEventHandler dissolveTeam distance distance2D distanceSqr distributionRegion do3DENAction doArtilleryFire doFire doFollow doFSM doGetOut doMove doorPhase doStop doSuppressiveFire doTarget doWatch drawArrow drawEllipse drawIcon drawIcon3D drawLine drawLine3D drawLink drawLocation drawPolygon drawRectangle drawTriangle driver drop dynamicSimulationDistance dynamicSimulationDistanceCoef dynamicSimulationEnabled dynamicSimulationSystemEnabled echo edit3DENMissionAttributes editObject editorSetEventHandler effectiveCommander emptyPositions enableAI enableAIFeature enableAimPrecision enableAttack enableAudioFeature enableAutoStartUpRTD enableAutoTrimRTD enableCamShake enableCaustics enableChannel enableCollisionWith enableCopilot enableDebriefingStats enableDiagLegend enableDynamicSimulation enableDynamicSimulationSystem enableEndDialog enableEngineArtillery enableEnvironment enableFatigue enableGunLights enableInfoPanelComponent enableIRLasers enableMimics enablePersonTurret enableRadio enableReload enableRopeAttach enableSatNormalOnDetail enableSaving enableSentences enableSimulation enableSimulationGlobal enableStamina enableTeamSwitch enableTraffic enableUAVConnectability enableUAVWaypoints enableVehicleCargo enableVehicleSensor enableWeaponDisassembly endLoadingScreen endMission engineOn enginesIsOnRTD enginesRpmRTD enginesTorqueRTD entities environmentEnabled estimatedEndServerTime estimatedTimeLeft evalObjectArgument everyBackpack everyContainer exec execEditorScript execFSM execVM exp expectedDestination exportJIPMessages eyeDirection eyePos face faction fadeMusic fadeRadio fadeSound fadeSpeech failMission fillWeaponsFromPool find findCover findDisplay findEditorObject findEmptyPosition findEmptyPositionReady findIf findNearestEnemy finishMissionInit finite fire fireAtTarget firstBackpack flag flagAnimationPhase flagOwner flagSide flagTexture fleeing floor flyInHeight flyInHeightASL fog fogForecast fogParams forceAddUniform forcedMap forceEnd forceFlagTexture forceFollowRoad forceMap forceRespawn forceSpeed forceWalk forceWeaponFire forceWeatherChange forEachMember forEachMemberAgent forEachMemberTeam forgetTarget format formation formationDirection formationLeader formationMembers formationPosition formationTask formatText formLeader freeLook fromEditor fuel fullCrew gearIDCAmmoCount gearSlotAmmoCount gearSlotData get3DENActionState get3DENAttribute get3DENCamera get3DENConnections get3DENEntity get3DENEntityID get3DENGrid get3DENIconsVisible get3DENLayerEntities get3DENLinesVisible get3DENMissionAttribute get3DENMouseOver get3DENSelected getAimingCoef getAllEnvSoundControllers getAllHitPointsDamage getAllOwnedMines getAllSoundControllers getAmmoCargo getAnimAimPrecision getAnimSpeedCoef getArray getArtilleryAmmo getArtilleryComputerSettings getArtilleryETA getAssignedCuratorLogic getAssignedCuratorUnit getBackpackCargo getBleedingRemaining getBurningValue getCameraViewDirection getCargoIndex getCenterOfMass getClientState getClientStateNumber getCompatiblePylonMagazines getConnectedUAV getContainerMaxLoad getCursorObjectParams getCustomAimCoef getDammage getDescription getDir getDirVisual getDLCAssetsUsage getDLCAssetsUsageByName getDLCs getEditorCamera getEditorMode getEditorObjectScope getElevationOffset getEnvSoundController getFatigue getForcedFlagTexture getFriend getFSMVariable getFuelCargo getGroupIcon getGroupIconParams getGroupIcons getHideFrom getHit getHitIndex getHitPointDamage getItemCargo getMagazineCargo getMarkerColor getMarkerPos getMarkerSize getMarkerType getMass getMissionConfig getMissionConfigValue getMissionDLCs getMissionLayerEntities getModelInfo getMousePosition getMusicPlayedTime getNumber getObjectArgument getObjectChildren getObjectDLC getObjectMaterials getObjectProxy getObjectTextures getObjectType getObjectViewDistance getOxygenRemaining getPersonUsedDLCs getPilotCameraDirection getPilotCameraPosition getPilotCameraRotation getPilotCameraTarget getPlateNumber getPlayerChannel getPlayerScores getPlayerUID getPos getPosASL getPosASLVisual getPosASLW getPosATL getPosATLVisual getPosVisual getPosWorld getPylonMagazines getRelDir getRelPos getRemoteSensorsDisabled getRepairCargo getResolution getShadowDistance getShotParents getSlingLoad getSoundController getSoundControllerResult getSpeed getStamina getStatValue getSuppression getTerrainGrid getTerrainHeightASL getText getTotalDLCUsageTime getUnitLoadout getUnitTrait getUserMFDText getUserMFDvalue getVariable getVehicleCargo getWeaponCargo getWeaponSway getWingsOrientationRTD getWingsPositionRTD getWPPos glanceAt globalChat globalRadio goggles goto group groupChat groupFromNetId groupIconSelectable groupIconsVisible groupId groupOwner groupRadio groupSelectedUnits groupSelectUnit gunner gusts halt handgunItems handgunMagazine handgunWeapon handsHit hasInterface hasPilotCamera hasWeapon hcAllGroups hcGroupParams hcLeader hcRemoveAllGroups hcRemoveGroup hcSelected hcSelectGroup hcSetGroup hcShowBar hcShownBar headgear hideBody hideObject hideObjectGlobal hideSelection hint hintC hintCadet hintSilent hmd hostMission htmlLoad HUDMovementLevels humidity image importAllGroups importance in inArea inAreaArray incapacitatedState inflame inflamed infoPanel infoPanelComponentEnabled infoPanelComponents infoPanels inGameUISetEventHandler inheritsFrom initAmbientLife inPolygon inputAction inRangeOfArtillery insertEditorObject intersect is3DEN is3DENMultiplayer isAbleToBreathe isAgent isArray isAutoHoverOn isAutonomous isAutotest isBleeding isBurning isClass isCollisionLightOn isCopilotEnabled isDamageAllowed isDedicated isDLCAvailable isEngineOn isEqualTo isEqualType isEqualTypeAll isEqualTypeAny isEqualTypeArray isEqualTypeParams isFilePatchingEnabled isFlashlightOn isFlatEmpty isForcedWalk isFormationLeader isGroupDeletedWhenEmpty isHidden isInRemainsCollector isInstructorFigureEnabled isIRLaserOn isKeyActive isKindOf isLaserOn isLightOn isLocalized isManualFire isMarkedForCollection isMultiplayer isMultiplayerSolo isNil isNull isNumber isObjectHidden isObjectRTD isOnRoad isPipEnabled isPlayer isRealTime isRemoteExecuted isRemoteExecutedJIP isServer isShowing3DIcons isSimpleObject isSprintAllowed isStaminaEnabled isSteamMission isStreamFriendlyUIEnabled isText isTouchingGround isTurnedOut isTutHintsEnabled isUAVConnectable isUAVConnected isUIContext isUniformAllowed isVehicleCargo isVehicleRadarOn isVehicleSensorEnabled isWalking isWeaponDeployed isWeaponRested itemCargo items itemsWithMagazines join joinAs joinAsSilent joinSilent joinString kbAddDatabase kbAddDatabaseTargets kbAddTopic kbHasTopic kbReact kbRemoveTopic kbTell kbWasSaid keyImage keyName knowsAbout land landAt landResult language laserTarget lbAdd lbClear lbColor lbColorRight lbCurSel lbData lbDelete lbIsSelected lbPicture lbPictureRight lbSelection lbSetColor lbSetColorRight lbSetCurSel lbSetData lbSetPicture lbSetPictureColor lbSetPictureColorDisabled lbSetPictureColorSelected lbSetPictureRight lbSetPictureRightColor lbSetPictureRightColorDisabled lbSetPictureRightColorSelected lbSetSelectColor lbSetSelectColorRight lbSetSelected lbSetText lbSetTextRight lbSetTooltip lbSetValue lbSize lbSort lbSortByValue lbText lbTextRight lbValue leader leaderboardDeInit leaderboardGetRows leaderboardInit leaderboardRequestRowsFriends leaderboardsRequestUploadScore leaderboardsRequestUploadScoreKeepBest leaderboardState leaveVehicle libraryCredits libraryDisclaimers lifeState lightAttachObject lightDetachObject lightIsOn lightnings limitSpeed linearConversion lineIntersects lineIntersectsObjs lineIntersectsSurfaces lineIntersectsWith linkItem list listObjects listRemoteTargets listVehicleSensors ln lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbPicture lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetData lnbSetPicture lnbSetText lnbSetValue lnbSize lnbSort lnbSortByValue lnbText lnbValue load loadAbs loadBackpack loadFile loadGame loadIdentity loadMagazine loadOverlay loadStatus loadUniform loadVest local localize locationPosition lock lockCameraTo lockCargo lockDriver locked lockedCargo lockedDriver lockedTurret lockIdentity lockTurret lockWP log logEntities logNetwork logNetworkTerminate lookAt lookAtPos magazineCargo magazines magazinesAllTurrets magazinesAmmo magazinesAmmoCargo magazinesAmmoFull magazinesDetail magazinesDetailBackpack magazinesDetailUniform magazinesDetailVest magazinesTurret magazineTurretAmmo mapAnimAdd mapAnimClear mapAnimCommit mapAnimDone mapCenterOnCamera mapGridPosition markAsFinishedOnSteam markerAlpha markerBrush markerColor markerDir markerPos markerShape markerSize markerText markerType max members menuAction menuAdd menuChecked menuClear menuCollapse menuData menuDelete menuEnable menuEnabled menuExpand menuHover menuPicture menuSetAction menuSetCheck menuSetData menuSetPicture menuSetValue menuShortcut menuShortcutText menuSize menuSort menuText menuURL menuValue min mineActive mineDetectedBy missionConfigFile missionDifficulty missionName missionNamespace missionStart missionVersion mod modelToWorld modelToWorldVisual modelToWorldVisualWorld modelToWorldWorld modParams moonIntensity moonPhase morale move move3DENCamera moveInAny moveInCargo moveInCommander moveInDriver moveInGunner moveInTurret moveObjectToEnd moveOut moveTime moveTo moveToCompleted moveToFailed musicVolume name nameSound nearEntities nearestBuilding nearestLocation nearestLocations nearestLocationWithDubbing nearestObject nearestObjects nearestTerrainObjects nearObjects nearObjectsReady nearRoads nearSupplies nearTargets needReload netId netObjNull newOverlay nextMenuItemIndex nextWeatherChange nMenuItems not numberOfEnginesRTD numberToDate objectCurators objectFromNetId objectParent objStatus onBriefingGroup onBriefingNotes onBriefingPlan onBriefingTeamSwitch onCommandModeChanged onDoubleClick onEachFrame onGroupIconClick onGroupIconOverEnter onGroupIconOverLeave onHCGroupSelectionChanged onMapSingleClick onPlayerConnected onPlayerDisconnected onPreloadFinished onPreloadStarted onShowNewObject onTeamSwitch openCuratorInterface openDLCPage openMap openSteamApp openYoutubeVideo or orderGetIn overcast overcastForecast owner param params parseNumber parseSimpleArray parseText parsingNamespace particlesQuality pickWeaponPool pitch pixelGrid pixelGridBase pixelGridNoUIScale pixelH pixelW playableSlotsNumber playableUnits playAction playActionNow player playerRespawnTime playerSide playersNumber playGesture playMission playMove playMoveNow playMusic playScriptedMission playSound playSound3D position positionCameraToWorld posScreenToWorld posWorldToScreen ppEffectAdjust ppEffectCommit ppEffectCommitted ppEffectCreate ppEffectDestroy ppEffectEnable ppEffectEnabled ppEffectForceInNVG precision preloadCamera preloadObject preloadSound preloadTitleObj preloadTitleRsc preprocessFile preprocessFileLineNumbers primaryWeapon primaryWeaponItems primaryWeaponMagazine priority processDiaryLink productVersion profileName profileNamespace profileNameSteam progressLoadingScreen progressPosition progressSetPosition publicVariable publicVariableClient publicVariableServer pushBack pushBackUnique putWeaponPool queryItemsPool queryMagazinePool queryWeaponPool rad radioChannelAdd radioChannelCreate radioChannelRemove radioChannelSetCallSign radioChannelSetLabel radioVolume rain rainbow random rank rankId rating rectangular registeredTasks registerTask reload reloadEnabled remoteControl remoteExec remoteExecCall remoteExecutedOwner remove3DENConnection remove3DENEventHandler remove3DENLayer removeAction removeAll3DENEventHandlers removeAllActions removeAllAssignedItems removeAllContainers removeAllCuratorAddons removeAllCuratorCameraAreas removeAllCuratorEditingAreas removeAllEventHandlers removeAllHandgunItems removeAllItems removeAllItemsWithMagazines removeAllMissionEventHandlers removeAllMPEventHandlers removeAllMusicEventHandlers removeAllOwnedMines removeAllPrimaryWeaponItems removeAllWeapons removeBackpack removeBackpackGlobal removeCuratorAddons removeCuratorCameraArea removeCuratorEditableObjects removeCuratorEditingArea removeDrawIcon removeDrawLinks removeEventHandler removeFromRemainsCollector removeGoggles removeGroupIcon removeHandgunItem removeHeadgear removeItem removeItemFromBackpack removeItemFromUniform removeItemFromVest removeItems removeMagazine removeMagazineGlobal removeMagazines removeMagazinesTurret removeMagazineTurret removeMenuItem removeMissionEventHandler removeMPEventHandler removeMusicEventHandler removeOwnedMine removePrimaryWeaponItem removeSecondaryWeaponItem removeSimpleTask removeSwitchableUnit removeTeamMember removeUniform removeVest removeWeapon removeWeaponAttachmentCargo removeWeaponCargo removeWeaponGlobal removeWeaponTurret reportRemoteTarget requiredVersion resetCamShake resetSubgroupDirection resize resources respawnVehicle restartEditorCamera reveal revealMine reverse reversedMouseY roadAt roadsConnectedTo roleDescription ropeAttachedObjects ropeAttachedTo ropeAttachEnabled ropeAttachTo ropeCreate ropeCut ropeDestroy ropeDetach ropeEndPosition ropeLength ropes ropeUnwind ropeUnwound rotorsForcesRTD rotorsRpmRTD round runInitScript safeZoneH safeZoneW safeZoneWAbs safeZoneX safeZoneXAbs safeZoneY save3DENInventory saveGame saveIdentity saveJoysticks saveOverlay saveProfileNamespace saveStatus saveVar savingEnabled say say2D say3D scopeName score scoreSide screenshot screenToWorld scriptDone scriptName scudState secondaryWeapon secondaryWeaponItems secondaryWeaponMagazine select selectBestPlaces selectDiarySubject selectedEditorObjects selectEditorObject selectionNames selectionPosition selectLeader selectMax selectMin selectNoPlayer selectPlayer selectRandom selectRandomWeighted selectWeapon selectWeaponTurret sendAUMessage sendSimpleCommand sendTask sendTaskResult sendUDPMessage serverCommand serverCommandAvailable serverCommandExecutable serverName serverTime set set3DENAttribute set3DENAttributes set3DENGrid set3DENIconsVisible set3DENLayer set3DENLinesVisible set3DENLogicType set3DENMissionAttribute set3DENMissionAttributes set3DENModelsVisible set3DENObjectType set3DENSelected setAccTime setActualCollectiveRTD setAirplaneThrottle setAirportSide setAmmo setAmmoCargo setAmmoOnPylon setAnimSpeedCoef setAperture setApertureNew setArmoryPoints setAttributes setAutonomous setBehaviour setBleedingRemaining setBrakesRTD setCameraInterest setCamShakeDefParams setCamShakeParams setCamUseTI setCaptive setCenterOfMass setCollisionLight setCombatMode setCompassOscillation setConvoySeparation setCuratorCameraAreaCeiling setCuratorCoef setCuratorEditingAreaType setCuratorWaypointCost setCurrentChannel setCurrentTask setCurrentWaypoint setCustomAimCoef setCustomWeightRTD setDamage setDammage setDate setDebriefingText setDefaultCamera setDestination setDetailMapBlendPars setDir setDirection setDrawIcon setDriveOnPath setDropInterval setDynamicSimulationDistance setDynamicSimulationDistanceCoef setEditorMode setEditorObjectScope setEffectCondition setEngineRPMRTD setFace setFaceAnimation setFatigue setFeatureType setFlagAnimationPhase setFlagOwner setFlagSide setFlagTexture setFog setFormation setFormationTask setFormDir setFriend setFromEditor setFSMVariable setFuel setFuelCargo setGroupIcon setGroupIconParams setGroupIconsSelectable setGroupIconsVisible setGroupId setGroupIdGlobal setGroupOwner setGusts setHideBehind setHit setHitIndex setHitPointDamage setHorizonParallaxCoef setHUDMovementLevels setIdentity setImportance setInfoPanel setLeader setLightAmbient setLightAttenuation setLightBrightness setLightColor setLightDayLight setLightFlareMaxDistance setLightFlareSize setLightIntensity setLightnings setLightUseFlare setLocalWindParams setMagazineTurretAmmo setMarkerAlpha setMarkerAlphaLocal setMarkerBrush setMarkerBrushLocal setMarkerColor setMarkerColorLocal setMarkerDir setMarkerDirLocal setMarkerPos setMarkerPosLocal setMarkerShape setMarkerShapeLocal setMarkerSize setMarkerSizeLocal setMarkerText setMarkerTextLocal setMarkerType setMarkerTypeLocal setMass setMimic setMousePosition setMusicEffect setMusicEventHandler setName setNameSound setObjectArguments setObjectMaterial setObjectMaterialGlobal setObjectProxy setObjectTexture setObjectTextureGlobal setObjectViewDistance setOvercast setOwner setOxygenRemaining setParticleCircle setParticleClass setParticleFire setParticleParams setParticleRandom setPilotCameraDirection setPilotCameraRotation setPilotCameraTarget setPilotLight setPiPEffect setPitch setPlateNumber setPlayable setPlayerRespawnTime setPos setPosASL setPosASL2 setPosASLW setPosATL setPosition setPosWorld setPylonLoadOut setPylonsPriority setRadioMsg setRain setRainbow setRandomLip setRank setRectangular setRepairCargo setRotorBrakeRTD setShadowDistance setShotParents setSide setSimpleTaskAlwaysVisible setSimpleTaskCustomData setSimpleTaskDescription setSimpleTaskDestination setSimpleTaskTarget setSimpleTaskType setSimulWeatherLayers setSize setSkill setSlingLoad setSoundEffect setSpeaker setSpeech setSpeedMode setStamina setStaminaScheme setStatValue setSuppression setSystemOfUnits setTargetAge setTaskMarkerOffset setTaskResult setTaskState setTerrainGrid setText setTimeMultiplier setTitleEffect setTrafficDensity setTrafficDistance setTrafficGap setTrafficSpeed setTriggerActivation setTriggerArea setTriggerStatements setTriggerText setTriggerTimeout setTriggerType setType setUnconscious setUnitAbility setUnitLoadout setUnitPos setUnitPosWeak setUnitRank setUnitRecoilCoefficient setUnitTrait setUnloadInCombat setUserActionText setUserMFDText setUserMFDvalue setVariable setVectorDir setVectorDirAndUp setVectorUp setVehicleAmmo setVehicleAmmoDef setVehicleArmor setVehicleCargo setVehicleId setVehicleLock setVehiclePosition setVehicleRadar setVehicleReceiveRemoteTargets setVehicleReportOwnPosition setVehicleReportRemoteTargets setVehicleTIPars setVehicleVarName setVelocity setVelocityModelSpace setVelocityTransformation setViewDistance setVisibleIfTreeCollapsed setWantedRPMRTD setWaves setWaypointBehaviour setWaypointCombatMode setWaypointCompletionRadius setWaypointDescription setWaypointForceBehaviour setWaypointFormation setWaypointHousePosition setWaypointLoiterRadius setWaypointLoiterType setWaypointName setWaypointPosition setWaypointScript setWaypointSpeed setWaypointStatements setWaypointTimeout setWaypointType setWaypointVisible setWeaponReloadingTime setWind setWindDir setWindForce setWindStr setWingForceScaleRTD setWPPos show3DIcons showChat showCinemaBorder showCommandingMenu showCompass showCuratorCompass showGPS showHUD showLegend showMap shownArtilleryComputer shownChat shownCompass shownCuratorCompass showNewEditorObject shownGPS shownHUD shownMap shownPad shownRadio shownScoretable shownUAVFeed shownWarrant shownWatch showPad showRadio showScoretable showSubtitles showUAVFeed showWarrant showWatch showWaypoint showWaypoints side sideChat sideEnemy sideFriendly sideRadio simpleTasks simulationEnabled simulCloudDensity simulCloudOcclusion simulInClouds simulWeatherSync sin size sizeOf skill skillFinal skipTime sleep sliderPosition sliderRange sliderSetPosition sliderSetRange sliderSetSpeed sliderSpeed slingLoadAssistantShown soldierMagazines someAmmo sort soundVolume spawn speaker speed speedMode splitString sqrt squadParams stance startLoadingScreen step stop stopEngineRTD stopped str sunOrMoon supportInfo suppressFor surfaceIsWater surfaceNormal surfaceType swimInDepth switchableUnits switchAction switchCamera switchGesture switchLight switchMove synchronizedObjects synchronizedTriggers synchronizedWaypoints synchronizeObjectsAdd synchronizeObjectsRemove synchronizeTrigger synchronizeWaypoint systemChat systemOfUnits tan targetKnowledge targets targetsAggregate targetsQuery taskAlwaysVisible taskChildren taskCompleted taskCustomData taskDescription taskDestination taskHint taskMarkerOffset taskParent taskResult taskState taskType teamMember teamName teams teamSwitch teamSwitchEnabled teamType terminate terrainIntersect terrainIntersectASL terrainIntersectAtASL text textLog textLogFormat tg time timeMultiplier titleCut titleFadeOut titleObj titleRsc titleText toArray toFixed toLower toString toUpper triggerActivated triggerActivation triggerArea triggerAttachedVehicle triggerAttachObject triggerAttachVehicle triggerDynamicSimulation triggerStatements triggerText triggerTimeout triggerTimeoutCurrent triggerType turretLocal turretOwner turretUnit tvAdd tvClear tvCollapse tvCollapseAll tvCount tvCurSel tvData tvDelete tvExpand tvExpandAll tvPicture tvSetColor tvSetCurSel tvSetData tvSetPicture tvSetPictureColor tvSetPictureColorDisabled tvSetPictureColorSelected tvSetPictureRight tvSetPictureRightColor tvSetPictureRightColorDisabled tvSetPictureRightColorSelected tvSetText tvSetTooltip tvSetValue tvSort tvSortByValue tvText tvTooltip tvValue type typeName typeOf UAVControl uiNamespace uiSleep unassignCurator unassignItem unassignTeam unassignVehicle underwater uniform uniformContainer uniformItems uniformMagazines unitAddons unitAimPosition unitAimPositionVisual unitBackpack unitIsUAV unitPos unitReady unitRecoilCoefficient units unitsBelowHeight unlinkItem unlockAchievement unregisterTask updateDrawIcon updateMenuItem updateObjectTree useAISteeringComponent useAudioTimeForMoves userInputDisabled vectorAdd vectorCos vectorCrossProduct vectorDiff vectorDir vectorDirVisual vectorDistance vectorDistanceSqr vectorDotProduct vectorFromTo vectorMagnitude vectorMagnitudeSqr vectorModelToWorld vectorModelToWorldVisual vectorMultiply vectorNormalized vectorUp vectorUpVisual vectorWorldToModel vectorWorldToModelVisual vehicle vehicleCargoEnabled vehicleChat vehicleRadio vehicleReceiveRemoteTargets vehicleReportOwnPosition vehicleReportRemoteTargets vehicles vehicleVarName velocity velocityModelSpace verifySignature vest vestContainer vestItems vestMagazines viewDistance visibleCompass visibleGPS visibleMap visiblePosition visiblePositionASL visibleScoretable visibleWatch waves waypointAttachedObject waypointAttachedVehicle waypointAttachObject waypointAttachVehicle waypointBehaviour waypointCombatMode waypointCompletionRadius waypointDescription waypointForceBehaviour waypointFormation waypointHousePosition waypointLoiterRadius waypointLoiterType waypointName waypointPosition waypoints waypointScript waypointsEnabledUAV waypointShow waypointSpeed waypointStatements waypointTimeout waypointTimeoutCurrent waypointType waypointVisible weaponAccessories weaponAccessoriesCargo weaponCargo weaponDirection weaponInertia weaponLowered weapons weaponsItems weaponsItemsCargo weaponState weaponsTurret weightRTD WFSideText wind ",literal:"blufor civilian configNull controlNull displayNull east endl false grpNull independent lineBreak locationNull nil objNull opfor pi resistance scriptNull sideAmbientLife sideEmpty sideLogic sideUnknown taskNull teamMemberNull true west"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.NUMBER_MODE,{className:"variable",begin:/\b_+[a-zA-Z]\w*/},{className:"title",begin:/[a-zA-Z][a-zA-Z0-9]+_fnc_\w*/},t,n],illegal:/#|^\$ /}}},10748:function(e,t){e.exports=function(e){var t=e.COMMENT("--","$");return{name:"SQL (more)",aliases:["mysql","oracle"],disableAutodetect:!0,case_insensitive:!0,illegal:/[<>{}*]/,contains:[{beginKeywords:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment values with",end:/;/,endsWithParent:!0,keywords:{$pattern:/[\w\.]+/,keyword:"as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias all allocate allow alter always analyze ancillary and anti any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound bucket buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain explode export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour hours http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lateral lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minutes minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second seconds section securefile security seed segment select self semi sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tablesample tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace window with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null unknown",built_in:"array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text time timestamp tinyint varchar varchar2 varying void"},contains:[{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:"`",end:"`"},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,e.HASH_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE,t,e.HASH_COMMENT_MODE]}}},10749:function(e,t){function n(e){return e?"string"==typeof e?e:e.source:null}function a(...e){return e.map(e=>n(e)).join("")}function i(...e){return"("+e.map(e=>n(e)).join("|")+")"}e.exports=function(e){const t=e.COMMENT("--","$"),n=["true","false","unknown"],r=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],s=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],o=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],l=s,c=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update   ","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter(e=>!s.includes(e)),_={begin:a(/\b/,i(...l),/\s*\(/),keywords:{built_in:l}};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:function(e,{exceptions:t,when:n}={}){const a=n;return t=t||[],e.map(e=>e.match(/\|\d+$/)||t.includes(e)?e:a(e)?e+"|0":e)}(c,{when:e=>e.length<3}),literal:n,type:r,built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{begin:i(...o),keywords:{$pattern:/[\w\.]+/,keyword:c.concat(o),literal:n,type:r}},{className:"type",begin:i("double precision","large object","with timezone","without timezone")},_,{className:"variable",begin:/@[a-z0-9]+/},{className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/"/,end:/"/,contains:[{begin:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}}},10750:function(e,t){e.exports=function(e){return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:e.IDENT_RE,title:["functions","model","data","parameters","quantities","transformed","generated"],keyword:["for","in","if","else","while","break","continue","return"].concat(["int","real","vector","ordered","positive_ordered","simplex","unit_vector","row_vector","matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"]).concat(["print","reject","increment_log_prob|10","integrate_ode|10","integrate_ode_rk45|10","integrate_ode_bdf|10","algebra_solver"]),built_in:["Phi","Phi_approx","abs","acos","acosh","algebra_solver","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bernoulli_cdf","bernoulli_lccdf","bernoulli_lcdf","bernoulli_logit_lpmf","bernoulli_logit_rng","bernoulli_lpmf","bernoulli_rng","bessel_first_kind","bessel_second_kind","beta_binomial_cdf","beta_binomial_lccdf","beta_binomial_lcdf","beta_binomial_lpmf","beta_binomial_rng","beta_cdf","beta_lccdf","beta_lcdf","beta_lpdf","beta_rng","binary_log_loss","binomial_cdf","binomial_coefficient_log","binomial_lccdf","binomial_lcdf","binomial_logit_lpmf","binomial_lpmf","binomial_rng","block","categorical_logit_lpmf","categorical_logit_rng","categorical_lpmf","categorical_rng","cauchy_cdf","cauchy_lccdf","cauchy_lcdf","cauchy_lpdf","cauchy_rng","cbrt","ceil","chi_square_cdf","chi_square_lccdf","chi_square_lcdf","chi_square_lpdf","chi_square_rng","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","cos","cosh","cov_exp_quad","crossprod","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","determinant","diag_matrix","diag_post_multiply","diag_pre_multiply","diagonal","digamma","dims","dirichlet_lpdf","dirichlet_rng","distance","dot_product","dot_self","double_exponential_cdf","double_exponential_lccdf","double_exponential_lcdf","double_exponential_lpdf","double_exponential_rng","e","eigenvalues_sym","eigenvectors_sym","erf","erfc","exp","exp2","exp_mod_normal_cdf","exp_mod_normal_lccdf","exp_mod_normal_lcdf","exp_mod_normal_lpdf","exp_mod_normal_rng","expm1","exponential_cdf","exponential_lccdf","exponential_lcdf","exponential_lpdf","exponential_rng","fabs","falling_factorial","fdim","floor","fma","fmax","fmin","fmod","frechet_cdf","frechet_lccdf","frechet_lcdf","frechet_lpdf","frechet_rng","gamma_cdf","gamma_lccdf","gamma_lcdf","gamma_lpdf","gamma_p","gamma_q","gamma_rng","gaussian_dlm_obs_lpdf","get_lp","gumbel_cdf","gumbel_lccdf","gumbel_lcdf","gumbel_lpdf","gumbel_rng","head","hypergeometric_lpmf","hypergeometric_rng","hypot","inc_beta","int_step","integrate_ode","integrate_ode_bdf","integrate_ode_rk45","inv","inv_Phi","inv_chi_square_cdf","inv_chi_square_lccdf","inv_chi_square_lcdf","inv_chi_square_lpdf","inv_chi_square_rng","inv_cloglog","inv_gamma_cdf","inv_gamma_lccdf","inv_gamma_lcdf","inv_gamma_lpdf","inv_gamma_rng","inv_logit","inv_sqrt","inv_square","inv_wishart_lpdf","inv_wishart_rng","inverse","inverse_spd","is_inf","is_nan","lbeta","lchoose","lgamma","lkj_corr_cholesky_lpdf","lkj_corr_cholesky_rng","lkj_corr_lpdf","lkj_corr_rng","lmgamma","lmultiply","log","log10","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log2","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_mix","log_rising_factorial","log_softmax","log_sum_exp","logistic_cdf","logistic_lccdf","logistic_lcdf","logistic_lpdf","logistic_rng","logit","lognormal_cdf","lognormal_lccdf","lognormal_lcdf","lognormal_lpdf","lognormal_rng","machine_precision","matrix_exp","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multi_gp_cholesky_lpdf","multi_gp_lpdf","multi_normal_cholesky_lpdf","multi_normal_cholesky_rng","multi_normal_lpdf","multi_normal_prec_lpdf","multi_normal_rng","multi_student_t_lpdf","multi_student_t_rng","multinomial_lpmf","multinomial_rng","multiply_log","multiply_lower_tri_self_transpose","neg_binomial_2_cdf","neg_binomial_2_lccdf","neg_binomial_2_lcdf","neg_binomial_2_log_lpmf","neg_binomial_2_log_rng","neg_binomial_2_lpmf","neg_binomial_2_rng","neg_binomial_cdf","neg_binomial_lccdf","neg_binomial_lcdf","neg_binomial_lpmf","neg_binomial_rng","negative_infinity","normal_cdf","normal_lccdf","normal_lcdf","normal_lpdf","normal_rng","not_a_number","num_elements","ordered_logistic_lpmf","ordered_logistic_rng","owens_t","pareto_cdf","pareto_lccdf","pareto_lcdf","pareto_lpdf","pareto_rng","pareto_type_2_cdf","pareto_type_2_lccdf","pareto_type_2_lcdf","pareto_type_2_lpdf","pareto_type_2_rng","pi","poisson_cdf","poisson_lccdf","poisson_lcdf","poisson_log_lpmf","poisson_log_rng","poisson_lpmf","poisson_rng","positive_infinity","pow","print","prod","qr_Q","qr_R","quad_form","quad_form_diag","quad_form_sym","rank","rayleigh_cdf","rayleigh_lccdf","rayleigh_lcdf","rayleigh_lpdf","rayleigh_rng","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scaled_inv_chi_square_cdf","scaled_inv_chi_square_lccdf","scaled_inv_chi_square_lcdf","scaled_inv_chi_square_lpdf","scaled_inv_chi_square_rng","sd","segment","sin","singular_values","sinh","size","skew_normal_cdf","skew_normal_lccdf","skew_normal_lcdf","skew_normal_lpdf","skew_normal_rng","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","sqrt2","square","squared_distance","step","student_t_cdf","student_t_lccdf","student_t_lcdf","student_t_lpdf","student_t_rng","sub_col","sub_row","sum","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_cdf","uniform_lccdf","uniform_lcdf","uniform_lpdf","uniform_rng","variance","von_mises_lpdf","von_mises_rng","weibull_cdf","weibull_lccdf","weibull_lcdf","weibull_lpdf","weibull_rng","wiener_lpdf","wishart_lpdf","wishart_rng"]},contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/#/,/$/,{relevance:0,keywords:{"meta-keyword":"include"}}),e.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{className:"doctag",begin:/@(return|param)/}]}),{begin:/<\s*lower\s*=/,keywords:"lower"},{begin:/[<,]\s*upper\s*=/,keywords:"upper"},{className:"keyword",begin:/\btarget\s*\+=/,relevance:10},{begin:"~\\s*("+e.IDENT_RE+")\\s*\\(",keywords:["bernoulli","bernoulli_logit","beta","beta_binomial","binomial","binomial_logit","categorical","categorical_logit","cauchy","chi_square","dirichlet","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","lkj_corr","lkj_corr_cholesky","logistic","lognormal","multi_gp","multi_gp_cholesky","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_t","multinomial","neg_binomial","neg_binomial_2","neg_binomial_2_log","normal","ordered_logistic","pareto","pareto_type_2","poisson","poisson_log","rayleigh","scaled_inv_chi_square","skew_normal","student_t","uniform","von_mises","weibull","wiener","wishart"]},{className:"number",variants:[{begin:/\b\d+(?:\.\d*)?(?:[eE][+-]?\d+)?/},{begin:/\.\d+(?:[eE][+-]?\d+)?\b/}],relevance:0},{className:"string",begin:'"',end:'"',relevance:0}]}}},10751:function(e,t){e.exports=function(e){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/},{className:"string",variants:[{begin:'`"[^\r\n]*?"\''},{begin:'"[^\r\n"]*"'}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},e.COMMENT("^[ \t]*\\*.*$",!1),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}},10752:function(e,t){e.exports=function(e){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:"HEADER ENDSEC DATA"},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*!","\\*/"),e.C_NUMBER_MODE,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}},10753:function(e,t){const n=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],a=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],i=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],r=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],s=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();e.exports=function(e){const t=(e=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}}))(e),o={className:"variable",begin:"\\$"+e.IDENT_RE};return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*(?=[.\\s\\n[:,(])",className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*(?=[.\\s\\n[:,(])",className:"selector-id"},{begin:"\\b("+n.join("|")+")(?=[.\\s\\n[:,(])",className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+i.join("|")+")(?=[.\\s\\n[:,(])"},{className:"selector-pseudo",begin:"&?::("+r.join("|")+")(?=[.\\s\\n[:,(])"},t.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:a.join(" ")},contains:[e.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"].join("|")+"))\\b"},o,e.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[t.HEXCOLOR,o,e.APOS_STRING_MODE,e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE]}]},{className:"attribute",begin:"\\b("+s.join("|")+")\\b",starts:{end:/;|$/,contains:[t.HEXCOLOR,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t.IMPORTANT],illegal:/\./,relevance:0}}]}}},10754:function(e,t){e.exports=function(e){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:"\\[\n(multipart)?",end:"\\]\n"},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}},10755:function(e,t){function n(e){return e?"string"==typeof e?e:e.source:null}function a(e){return i("(?=",e,")")}function i(...e){return e.map(e=>n(e)).join("")}function r(...e){return"("+e.map(e=>n(e)).join("|")+")"}const s=e=>i(/\b/,e,/\w$/.test(e)?/\b/:/\B/),o=["Protocol","Type"].map(s),l=["init","self"].map(s),c=["Any","Self"],_=["associatedtype",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],d=["false","nil","true"],m=["assignment","associativity","higherThan","left","lowerThan","none","right"],u=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],p=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],E=r(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),g=r(E,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),S=i(E,g,"*"),b=r(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),T=r(b,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),f=i(b,T,"*"),C=i(/[A-Z]/,T,"*"),N=["autoclosure",i(/convention\(/,r("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",i(/objc\(/,f,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","testable","UIApplicationMain","unknown","usableFromInline"],R=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];e.exports=function(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),E=[e.C_LINE_COMMENT_MODE,n],b={className:"keyword",begin:i(/\./,a(r(...o,...l))),end:r(...o,...l),excludeBegin:!0},O={match:i(/\./,r(..._)),relevance:0},h=_.filter(e=>"string"==typeof e).concat(["_|0"]),I={variants:[{className:"keyword",match:r(..._.filter(e=>"string"!=typeof e).concat(c).map(s),...l)}]},v={$pattern:r(/\b\w+/,/#\w+/),keyword:h.concat(u),literal:d},A=[b,O,I],y=[{match:i(/\./,r(...p)),relevance:0},{className:"built_in",match:i(/\b/,r(...p),/(?=\()/)}],D={match:/->/,relevance:0},M=[D,{className:"operator",relevance:0,variants:[{match:S},{match:`\\.(\\.|${g})+`}]}],x={className:"number",relevance:0,variants:[{match:"\\b(([0-9]_*)+)(\\.(([0-9]_*)+))?([eE][+-]?(([0-9]_*)+))?\\b"},{match:"\\b0x(([0-9a-fA-F]_*)+)(\\.(([0-9a-fA-F]_*)+))?([pP][+-]?(([0-9]_*)+))?\\b"},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},L=(e="")=>({className:"subst",variants:[{match:i(/\\/,e,/[0\\tnr"']/)},{match:i(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),w=(e="")=>({className:"subst",match:i(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),P=(e="")=>({className:"subst",label:"interpol",begin:i(/\\/,e,/\(/),end:/\)/}),k=(e="")=>({begin:i(e,/"""/),end:i(/"""/,e),contains:[L(e),w(e),P(e)]}),U=(e="")=>({begin:i(e,/"/),end:i(/"/,e),contains:[L(e),P(e)]}),F={className:"string",variants:[k(),k("#"),k("##"),k("###"),U(),U("#"),U("##"),U("###")]},B={match:i(/`/,f,/`/)},G=[B,{className:"variable",match:/\$\d+/},{className:"variable",match:`\\$${T}+`}],Y=[{match:/(@|#)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:R,contains:[...M,x,F]}]}},{className:"keyword",match:i(/@/,r(...N))},{className:"meta",match:i(/@/,f)}],H={match:a(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:i(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,T,"+")},{className:"type",match:C,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:i(/\s+&\s+/,a(C)),relevance:0}]},V={begin:/</,end:/>/,keywords:v,contains:[...E,...A,...Y,D,H]};H.contains.push(V);const q={begin:/\(/,end:/\)/,relevance:0,keywords:v,contains:["self",{match:i(f,/\s*:/),keywords:"_|0",relevance:0},...E,...A,...y,...M,x,F,...G,...Y,H]},z={beginKeywords:"func",contains:[{className:"title",match:r(B.match,f,S),endsParent:!0,relevance:0},t]},$={begin:/</,end:/>/,contains:[...E,H]},W={begin:/\(/,end:/\)/,keywords:v,contains:[{begin:r(a(i(f,/\s*:/)),a(i(f,/\s+/,f,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:f}]},...E,...A,...M,x,F,...Y,H,q],endsParent:!0,illegal:/["']/},Q={className:"function",match:a(/\bfunc\b/),contains:[z,$,W,t],illegal:[/\[/,/%/]},K={className:"function",match:/\b(subscript|init[?!]?)\s*(?=[<(])/,keywords:{keyword:"subscript init init? init!",$pattern:/\w+[?!]?/},contains:[$,W,t],illegal:/\[|%/},j={beginKeywords:"operator",end:e.MATCH_NOTHING_RE,contains:[{className:"title",match:S,endsParent:!0,relevance:0}]},X={beginKeywords:"precedencegroup",end:e.MATCH_NOTHING_RE,contains:[{className:"title",match:C,relevance:0},{begin:/{/,end:/}/,relevance:0,endsParent:!0,keywords:[...m,...d],contains:[H]}]};for(const e of F.variants){const t=e.contains.find(e=>"interpol"===e.label);t.keywords=v;const n=[...A,...y,...M,x,F,...G];t.contains=[...n,{begin:/\(/,end:/\)/,contains:["self",...n]}]}return{name:"Swift",keywords:v,contains:[...E,Q,K,{className:"class",beginKeywords:"struct protocol class extension enum",end:"\\{",excludeEnd:!0,keywords:v,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...A]},j,X,{beginKeywords:"import",end:/$/,contains:[...E],relevance:0},...A,...y,...M,x,F,...G,...Y,H,q]}}},10756:function(e,t){e.exports=function(e){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\(/,end:/\)/,contains:["self",{begin:/\\./}]}],relevance:10},{className:"keyword",begin:/\$(?!noop)[a-zA-Z][_a-zA-Z0-9]*/,end:/\(/,excludeEnd:!0},{className:"variable",begin:/%[_a-zA-Z0-9:]*/,end:"%"},{className:"symbol",begin:/\\./}]}}},10757:function(e,t){e.exports=function(e){var t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",a={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},i=e.inherit(a,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),r={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},s={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},o={begin:/\{/,end:/\}/,contains:[s],illegal:"\\n",relevance:0},l={begin:"\\[",end:"\\]",contains:[s],illegal:"\\n",relevance:0},c=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},r,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},o,l,a],_=[...c];return _.pop(),_.push(i),s.contains=_,{name:"YAML",case_insensitive:!0,aliases:["yml","YAML"],contains:c}}},10758:function(e,t){e.exports=function(e){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}},10759:function(e,t){e.exports=function(e){return{name:"Tcl",aliases:["tk"],keywords:"after append apply array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd chan clock close concat continue dde dict encoding eof error eval exec exit expr fblocked fconfigure fcopy file fileevent filename flush for foreach format gets glob global history http if incr info interp join lappend|10 lassign|10 lindex|10 linsert|10 list llength|10 load lrange|10 lrepeat|10 lreplace|10 lreverse|10 lsearch|10 lset|10 lsort|10 mathfunc mathop memory msgcat namespace open package parray pid pkg::create pkg_mkIndex platform platform::shell proc puts pwd read refchan regexp registry regsub|10 rename return safe scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_startOfPreviousWord tcl_wordBreakAfter tcl_wordBreakBefore tcltest tclvars tell time tm trace unknown unload unset update uplevel upvar variable vwait while",contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{excludeEnd:!0,variants:[{begin:"\\$(\\{)?(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*\\(([a-zA-Z0-9_])*\\)",end:"[^a-zA-Z0-9_\\}\\$]"},{begin:"\\$(\\{)?(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"(\\))?[^a-zA-Z0-9_\\}\\$]"}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},{className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]}]}}},10760:function(e,t){e.exports=function(e){return{name:"Thrift",keywords:{keyword:"namespace const typedef struct enum service exception void oneway set list map required optional",built_in:"bool byte i16 i32 i64 double string binary",literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",end:">",keywords:"bool byte i16 i32 i64 double string binary",contains:["self"]}]}}},10761:function(e,t){e.exports=function(e){const t={className:"number",begin:"[1-9][0-9]*",relevance:0},n={className:"symbol",begin:":[^\\]]+"};return{name:"TP",keywords:{keyword:"ABORT ACC ADJUST AND AP_LD BREAK CALL CNT COL CONDITION CONFIG DA DB DIV DETECT ELSE END ENDFOR ERR_NUM ERROR_PROG FINE FOR GP GUARD INC IF JMP LINEAR_MAX_SPEED LOCK MOD MONITOR OFFSET Offset OR OVERRIDE PAUSE PREG PTH RT_LD RUN SELECT SKIP Skip TA TB TO TOOL_OFFSET Tool_Offset UF UT UFRAME_NUM UTOOL_NUM UNLOCK WAIT X Y Z W P R STRLEN SUBSTR FINDSTR VOFFSET PROG ATTR MN POS",literal:"ON OFF max_speed LPOS JPOS ENABLE DISABLE START STOP RESET"},contains:[{className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",t,n]},{className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",t,e.QUOTE_STRING_MODE,n]},{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}},10762:function(e,t){e.exports=function(e){var t="attribute block constant cycle date dump include max min parent random range source template_from_string",n={beginKeywords:t,keywords:{name:t},relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},a={begin:/\|[A-Za-z_]+:?/,keywords:"abs batch capitalize column convert_encoding date date_modify default escape filter first format inky_to_html inline_css join json_encode keys last length lower map markdown merge nl2br number_format raw reduce replace reverse round slice sort spaceless split striptags title trim upper url_encode",contains:[n]},i="apply autoescape block deprecated do embed extends filter flush for from if import include macro sandbox set use verbatim with";return i=i+" "+i.split(" ").map((function(e){return"end"+e})).join(" "),{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:i,starts:{endsWithParent:!0,contains:[a,n],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",a,n]}]}}},10763:function(e,t){const n="[A-Za-z$_][0-9A-Za-z$_]*",a=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],i=["true","false","null","undefined","NaN","Infinity"],r=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function s(e){return o("(?=",e,")")}function o(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}e.exports=function(e){const t={$pattern:n,keyword:a.concat(["type","namespace","typedef","interface","public","private","protected","implements","declare","abstract","readonly"]),literal:i,built_in:r.concat(["any","void","number","boolean","string","object","never","enum"])},l={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},c=(e,t,n)=>{const a=e.contains.findIndex(e=>e.label===t);if(-1===a)throw new Error("can not find mode to replace");e.contains.splice(a,1,n)},_=function(e){const t=n,l="<>",c="</>",_={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const n=e[0].length+e.index,a=e.input[n];"<"!==a?">"===a&&(((e,{after:t})=>{const n="</"+e[0].slice(1);return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch()):t.ignoreMatch()}},d={$pattern:n,keyword:a,literal:i,built_in:r},m="\\.([0-9](_?[0-9])*)",u={className:"number",variants:[{begin:`(\\b(0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*)((${m})|\\.)?|(${m}))[eE][+-]?([0-9](_?[0-9])*)\\b`},{begin:`\\b(0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*)\\b((${m})\\b|\\.)?|(${m})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:d,contains:[]},E={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},g={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"css"}},S={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,p]},b={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:t+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},T=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,E,g,S,u,e.REGEXP_MODE];p.contains=T.concat({begin:/\{/,end:/\}/,keywords:d,contains:["self"].concat(T)});const f=[].concat(b,p.contains),C=f.concat([{begin:/\(/,end:/\)/,keywords:d,contains:["self"].concat(f)}]),N={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:C};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:d,exports:{PARAMS_CONTAINS:C},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,E,g,S,b,u,{begin:o(/[{,\n]\s*/,s(o(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,t+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:t+s("\\s*:"),relevance:0}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[b,e.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:C}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:l,end:c},{begin:_.begin,"on:begin":_.isTrulyOpeningTag,end:_.end}],subLanguage:"xml",contains:[{begin:_.begin,end:_.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:d,contains:["self",e.inherit(e.TITLE_MODE,{begin:t}),N],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[N,e.inherit(e.TITLE_MODE,{begin:t})]},{variants:[{begin:"\\."+t},{begin:"\\$"+t}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:t}),"self",N]},{begin:"(get|set)\\s+(?="+t+"\\()",end:/\{/,keywords:"get set",contains:[e.inherit(e.TITLE_MODE,{begin:t}),{begin:/\(\)/},N]},{begin:/\$[(.]/}]}}(e);return Object.assign(_.keywords,t),_.exports.PARAMS_CONTAINS.push(l),_.contains=_.contains.concat([l,{beginKeywords:"namespace",end:/\{/,excludeEnd:!0},{beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"}]),c(_,"shebang",e.SHEBANG()),c(_,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),_.contains.find(e=>"function"===e.className).relevance=0,Object.assign(_,{name:"TypeScript",aliases:["ts"]}),_}},10764:function(e,t){e.exports=function(e){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$",relevance:2}]}}},10765:function(e,t){function n(e){return e?"string"==typeof e?e:e.source:null}function a(...e){return e.map(e=>n(e)).join("")}function i(...e){return"("+e.map(e=>n(e)).join("|")+")"}e.exports=function(e){const t=/\d{1,2}\/\d{1,2}\/\d{4}/,n=/\d{4}-\d{1,2}-\d{1,2}/,r=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,s=/\d{1,2}(:\d{1,2}){1,2}/,o={className:"literal",variants:[{begin:a(/# */,i(n,t),/ *#/)},{begin:a(/# */,s,/ *#/)},{begin:a(/# */,r,/ *#/)},{begin:a(/# */,i(n,t),/ +/,i(r,s),/ *#/)}]},l=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),c=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[{className:"string",begin:/"(""|[^/n])"C\b/},{className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},o,{className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},{className:"label",begin:/^\w+:/},l,c,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{"meta-keyword":"const disable else elseif enable end externalsource if region then"},contains:[c]}]}}},10766:function(e,t){function n(e){return e?"string"==typeof e?e:e.source:null}function a(...e){return e.map(e=>n(e)).join("")}function i(...e){return"("+e.map(e=>n(e)).join("|")+")"}e.exports=function(e){const t="lcase month vartype instrrev ubound setlocale getobject rgb getref string weekdayname rnd dateadd monthname now day minute isarray cbool round formatcurrency conversions csng timevalue second year space abs clng timeserial fixs len asc isempty maths dateserial atn timer isobject filter weekday datevalue ccur isdate instr datediff formatdatetime replace isnull right sgn array snumeric log cdbl hex chr lbound msgbox ucase getlocale cos cdate cbyte rtrim join hour oct typename trim strcomp int createobject loadpicture tan formatnumber mid split  cint sin datepart ltrim sqr time derived eval date formatpercent exp inputbox left ascw chrw regexp cstr err".split(" ");return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:"call class const dim do loop erase execute executeglobal exit for each next function if then else on error option explicit new private property let get public randomize redim rem select case set stop sub while wend with end to elseif is or xor and not class_initialize class_terminate default preserve in me byval byref step resume goto",built_in:["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],literal:"true false null nothing empty"},illegal:"//",contains:[{begin:a(i(...t),"\\s*\\("),relevance:0,keywords:{built_in:t}},e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}}},10767:function(e,t){e.exports=function(e){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}},10768:function(e,t){e.exports=function(e){return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:{$pattern:/[\w\$]+/,keyword:"accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf|0 bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate|5 genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 or output package packed parameter pmos posedge primitive priority program property protected pull0 pull1 pulldown pullup pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor",literal:"null",built_in:"$finish $stop $exit $fatal $error $warning $info $realtime $time $printtimescale $bitstoreal $bitstoshortreal $itor $signed $cast $bits $stime $timeformat $realtobits $shortrealtobits $rtoi $unsigned $asserton $assertkill $assertpasson $assertfailon $assertnonvacuouson $assertoff $assertcontrol $assertpassoff $assertfailoff $assertvacuousoff $isunbounded $sampled $fell $changed $past_gclk $fell_gclk $changed_gclk $rising_gclk $steady_gclk $coverage_control $coverage_get $coverage_save $set_coverage_db_name $rose $stable $past $rose_gclk $stable_gclk $future_gclk $falling_gclk $changing_gclk $display $coverage_get_max $coverage_merge $get_coverage $load_coverage_db $typename $unpacked_dimensions $left $low $increment $clog2 $ln $log10 $exp $sqrt $pow $floor $ceil $sin $cos $tan $countbits $onehot $isunknown $fatal $warning $dimensions $right $high $size $asin $acos $atan $atan2 $hypot $sinh $cosh $tanh $asinh $acosh $atanh $countones $onehot0 $error $info $random $dist_chi_square $dist_erlang $dist_exponential $dist_normal $dist_poisson $dist_t $dist_uniform $q_initialize $q_remove $q_exam $async$and$array $async$nand$array $async$or$array $async$nor$array $sync$and$array $sync$nand$array $sync$or$array $sync$nor$array $q_add $q_full $psprintf $async$and$plane $async$nand$plane $async$or$plane $async$nor$plane $sync$and$plane $sync$nand$plane $sync$or$plane $sync$nor$plane $system $display $displayb $displayh $displayo $strobe $strobeb $strobeh $strobeo $write $readmemb $readmemh $writememh $value$plusargs $dumpvars $dumpon $dumplimit $dumpports $dumpportson $dumpportslimit $writeb $writeh $writeo $monitor $monitorb $monitorh $monitoro $writememb $dumpfile $dumpoff $dumpall $dumpflush $dumpportsoff $dumpportsall $dumpportsflush $fclose $fdisplay $fdisplayb $fdisplayh $fdisplayo $fstrobe $fstrobeb $fstrobeh $fstrobeo $swrite $swriteb $swriteh $swriteo $fscanf $fread $fseek $fflush $feof $fopen $fwrite $fwriteb $fwriteh $fwriteo $fmonitor $fmonitorb $fmonitorh $fmonitoro $sformat $sformatf $fgetc $ungetc $fgets $sscanf $rewind $ftell $ferror"},contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"number",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"\\b((\\d+'(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\B(('(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\b([0-9_])+",relevance:0}]},{className:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{className:"meta",begin:"`",end:"$",keywords:{"meta-keyword":"define __FILE__ __LINE__ begin_keywords celldefine default_nettype define else elsif end_keywords endcelldefine endif ifdef ifndef include line nounconnected_drive pragma resetall timescale unconnected_drive undef undefineall"},relevance:0}]}}},10769:function(e,t){e.exports=function(e){return{name:"VHDL",case_insensitive:!0,keywords:{keyword:"abs access after alias all and architecture array assert assume assume_guarantee attribute begin block body buffer bus case component configuration constant context cover disconnect downto default else elsif end entity exit fairness file for force function generate generic group guarded if impure in inertial inout is label library linkage literal loop map mod nand new next nor not null of on open or others out package parameter port postponed procedure process property protected pure range record register reject release rem report restrict restrict_guarantee return rol ror select sequence severity shared signal sla sll sra srl strong subtype then to transport type unaffected units until use variable view vmode vprop vunit wait when while with xnor xor",built_in:"boolean bit character integer time delay_length natural positive string bit_vector file_open_kind file_open_status std_logic std_logic_vector unsigned signed boolean_vector integer_vector std_ulogic std_ulogic_vector unresolved_unsigned u_unsigned unresolved_signed u_signed real_vector time_vector",literal:"false true note warning error failure line text side width"},illegal:/\{/,contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:"\\b(\\d(_|\\d)*#\\w+(\\.\\w+)?#([eE][-+]?\\d(_|\\d)*)?|\\d(_|\\d)*(\\.\\d(_|\\d)*)?([eE][-+]?\\d(_|\\d)*)?)",relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}},10770:function(e,t){e.exports=function(e){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[e.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},e.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]*/},{className:"function",beginKeywords:"function function!",end:"$",relevance:0,contains:[e.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}},10771:function(e,t){e.exports=function(e){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+e.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0  xmm1  xmm2  xmm3  xmm4  xmm5  xmm6  xmm7  xmm8  xmm9 xmm10  xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0  ymm1  ymm2  ymm3  ymm4  ymm5  ymm6  ymm7  ymm8  ymm9 ymm10  ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0  zmm1  zmm2  zmm3  zmm4  zmm5  zmm6  zmm7  zmm8  zmm9 zmm10  zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__  __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__  __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}},10772:function(e,t){e.exports=function(e){const t={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:"if then else do while until for loop import with is as where when by data constant integer real text name boolean symbol infix prefix postfix block tree",literal:"true false nil",built_in:"in mod rem and or xor not abs sign floor ceil sqrt sin cos tan asin acos atan exp expm1 log log2 log10 log1p pi at text_length text_range text_find text_replace contains page slide basic_slide title_slide title subtitle fade_in fade_out fade_at clear_color color line_color line_width texture_wrap texture_transform texture scale_?x scale_?y scale_?z? translate_?x translate_?y translate_?z? rotate_?x rotate_?y rotate_?z? rectangle circle ellipse sphere path line_to move_to quad_to curve_to theme background contents locally time mouse_?x mouse_?y mouse_buttons ObjectLoader Animate MovieCredits Slides Filters Shading Materials LensFlare Mapping VLCAudioVideo StereoDecoder PointCloud NetworkAccess RemoteControl RegExp ChromaKey Snowfall NodeJS Speech Charts"},n={className:"string",begin:'"',end:'"',illegal:"\\n"},a={beginKeywords:"import",end:"$",keywords:t,contains:[n]},i={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,keywords:t}})]};return{name:"XL",aliases:["tao"],keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:"<<",end:">>"},i,a,{className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},e.NUMBER_MODE]}}},10773:function(e,t){e.exports=function(e){return{name:"XQuery",aliases:["xpath","xq"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:"module schema namespace boundary-space preserve no-preserve strip default collation base-uri ordering context decimal-format decimal-separator copy-namespaces empty-sequence except exponent-separator external grouping-separator inherit no-inherit lax minus-sign per-mille percent schema-attribute schema-element strict unordered zero-digit declare import option function validate variable for at in let where order group by return if then else tumbling sliding window start when only end previous next stable ascending descending allowing empty greatest least some every satisfies switch case typeswitch try catch and or to union intersect instance of treat as castable cast map array delete insert into replace value rename copy modify update",type:"item document-node node attribute document element comment namespace namespace-node processing-instruction text construction xs:anyAtomicType xs:untypedAtomic xs:duration xs:time xs:decimal xs:float xs:double xs:gYearMonth xs:gYear xs:gMonthDay xs:gMonth xs:gDay xs:boolean xs:base64Binary xs:hexBinary xs:anyURI xs:QName xs:NOTATION xs:dateTime xs:dateTimeStamp xs:date xs:string xs:normalizedString xs:token xs:language xs:NMTOKEN xs:Name xs:NCName xs:ID xs:IDREF xs:ENTITY xs:integer xs:nonPositiveInteger xs:negativeInteger xs:long xs:int xs:short xs:byte xs:nonNegativeInteger xs:unisignedLong xs:unsignedInt xs:unsignedShort xs:unsignedByte xs:positiveInteger xs:yearMonthDuration xs:dayTimeDuration",literal:"eq ne lt le gt ge is self:: child:: descendant:: descendant-or-self:: attribute:: following:: following-sibling:: parent:: ancestor:: ancestor-or-self:: preceding:: preceding-sibling:: NaN"},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^</$:'"-]\b(?:abs|accumulator-(?:after|before)|adjust-(?:date(?:Time)?|time)-to-timezone|analyze-string|apply|available-(?:environment-variables|system-properties)|avg|base-uri|boolean|ceiling|codepoints?-(?:equal|to-string)|collation-key|collection|compare|concat|contains(?:-token)?|copy-of|count|current(?:-)?(?:date(?:Time)?|time|group(?:ing-key)?|output-uri|merge-(?:group|key))?data|dateTime|days?-from-(?:date(?:Time)?|duration)|deep-equal|default-(?:collation|language)|distinct-values|document(?:-uri)?|doc(?:-available)?|element-(?:available|with-id)|empty|encode-for-uri|ends-with|environment-variable|error|escape-html-uri|exactly-one|exists|false|filter|floor|fold-(?:left|right)|for-each(?:-pair)?|format-(?:date(?:Time)?|time|integer|number)|function-(?:arity|available|lookup|name)|generate-id|has-children|head|hours-from-(?:dateTime|duration|time)|id(?:ref)?|implicit-timezone|in-scope-prefixes|index-of|innermost|insert-before|iri-to-uri|json-(?:doc|to-xml)|key|lang|last|load-xquery-module|local-name(?:-from-QName)?|(?:lower|upper)-case|matches|max|minutes-from-(?:dateTime|duration|time)|min|months?-from-(?:date(?:Time)?|duration)|name(?:space-uri-?(?:for-prefix|from-QName)?)?|nilled|node-name|normalize-(?:space|unicode)|not|number|one-or-more|outermost|parse-(?:ietf-date|json)|path|position|(?:prefix-from-)?QName|random-number-generator|regex-group|remove|replace|resolve-(?:QName|uri)|reverse|root|round(?:-half-to-even)?|seconds-from-(?:dateTime|duration|time)|snapshot|sort|starts-with|static-base-uri|stream-available|string-?(?:join|length|to-codepoints)?|subsequence|substring-?(?:after|before)?|sum|system-property|tail|timezone-from-(?:date(?:Time)?|time)|tokenize|trace|trans(?:form|late)|true|type-available|unordered|unparsed-(?:entity|text)?-?(?:public-id|uri|available|lines)?|uri-collection|xml-to-json|years?-from-(?:date(?:Time)?|duration)|zero-or-one)\b/},{begin:/\blocal:/,end:/\(/,excludeEnd:!0},{begin:/\bzip:/,end:/(?:zip-file|(?:xml|html|text|binary)-entry| (?:update-)?entries)\b/},{begin:/\b(?:util|db|functx|app|xdmp|xmldb):/,end:/\(/,excludeEnd:!0}]},{className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},{className:"number",begin:/(\b0[0-7_]+)|(\b0x[0-9a-fA-F_]+)|(\b[1-9][0-9_]*(\.[0-9_]+)?)|[0_]\b/,relevance:0},{className:"comment",begin:/\(:/,end:/:\)/,relevance:10,contains:[{className:"doctag",begin:/@\w+/}]},{className:"meta",begin:/%[\w\-:]+/},{className:"title",begin:/\bxquery version "[13]\.[01]"\s?(?:encoding ".+")?/,end:/;/},{beginKeywords:"element attribute comment document processing-instruction",end:/\{/,excludeEnd:!0},{begin:/<([\w._:-]+)(\s+\S*=('|").*('|"))?>/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}},10774:function(e,t){e.exports=function(e){const t={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},n=e.UNDERSCORE_TITLE_MODE,a={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},i="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:i,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[n,{className:"params",begin:/\(/,end:/\)/,keywords:i,contains:["self",e.C_BLOCK_COMMENT_MODE,t,a]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},n]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[n]},{beginKeywords:"use",end:/;/,contains:[n]},{begin:/=>/},t,a]}}},8785:function(e,t,n){var a=n(10583);a.registerLanguage("1c",n(10584)),a.registerLanguage("abnf",n(10585)),a.registerLanguage("accesslog",n(10586)),a.registerLanguage("actionscript",n(10587)),a.registerLanguage("ada",n(10588)),a.registerLanguage("angelscript",n(10589)),a.registerLanguage("apache",n(10590)),a.registerLanguage("applescript",n(10591)),a.registerLanguage("arcade",n(10592)),a.registerLanguage("arduino",n(10593)),a.registerLanguage("armasm",n(10594)),a.registerLanguage("xml",n(10595)),a.registerLanguage("asciidoc",n(10596)),a.registerLanguage("aspectj",n(10597)),a.registerLanguage("autohotkey",n(10598)),a.registerLanguage("autoit",n(10599)),a.registerLanguage("avrasm",n(10600)),a.registerLanguage("awk",n(10601)),a.registerLanguage("axapta",n(10602)),a.registerLanguage("bash",n(10603)),a.registerLanguage("basic",n(10604)),a.registerLanguage("bnf",n(10605)),a.registerLanguage("brainfuck",n(10606)),a.registerLanguage("c-like",n(10607)),a.registerLanguage("c",n(10608)),a.registerLanguage("cal",n(10609)),a.registerLanguage("capnproto",n(10610)),a.registerLanguage("ceylon",n(10611)),a.registerLanguage("clean",n(10612)),a.registerLanguage("clojure",n(10613)),a.registerLanguage("clojure-repl",n(10614)),a.registerLanguage("cmake",n(10615)),a.registerLanguage("coffeescript",n(10616)),a.registerLanguage("coq",n(10617)),a.registerLanguage("cos",n(10618)),a.registerLanguage("cpp",n(10619)),a.registerLanguage("crmsh",n(10620)),a.registerLanguage("crystal",n(10621)),a.registerLanguage("csharp",n(10622)),a.registerLanguage("csp",n(10623)),a.registerLanguage("css",n(10624)),a.registerLanguage("d",n(10625)),a.registerLanguage("markdown",n(10626)),a.registerLanguage("dart",n(10627)),a.registerLanguage("delphi",n(10628)),a.registerLanguage("diff",n(10629)),a.registerLanguage("django",n(10630)),a.registerLanguage("dns",n(10631)),a.registerLanguage("dockerfile",n(10632)),a.registerLanguage("dos",n(10633)),a.registerLanguage("dsconfig",n(10634)),a.registerLanguage("dts",n(10635)),a.registerLanguage("dust",n(10636)),a.registerLanguage("ebnf",n(10637)),a.registerLanguage("elixir",n(10638)),a.registerLanguage("elm",n(10639)),a.registerLanguage("ruby",n(10640)),a.registerLanguage("erb",n(10641)),a.registerLanguage("erlang-repl",n(10642)),a.registerLanguage("erlang",n(10643)),a.registerLanguage("excel",n(10644)),a.registerLanguage("fix",n(10645)),a.registerLanguage("flix",n(10646)),a.registerLanguage("fortran",n(10647)),a.registerLanguage("fsharp",n(10648)),a.registerLanguage("gams",n(10649)),a.registerLanguage("gauss",n(10650)),a.registerLanguage("gcode",n(10651)),a.registerLanguage("gherkin",n(10652)),a.registerLanguage("glsl",n(10653)),a.registerLanguage("gml",n(10654)),a.registerLanguage("go",n(10655)),a.registerLanguage("golo",n(10656)),a.registerLanguage("gradle",n(10657)),a.registerLanguage("groovy",n(10658)),a.registerLanguage("haml",n(10659)),a.registerLanguage("handlebars",n(10660)),a.registerLanguage("haskell",n(10661)),a.registerLanguage("haxe",n(10662)),a.registerLanguage("hsp",n(10663)),a.registerLanguage("htmlbars",n(10664)),a.registerLanguage("http",n(10665)),a.registerLanguage("hy",n(10666)),a.registerLanguage("inform7",n(10667)),a.registerLanguage("ini",n(10668)),a.registerLanguage("irpf90",n(10669)),a.registerLanguage("isbl",n(10670)),a.registerLanguage("java",n(10671)),a.registerLanguage("javascript",n(10672)),a.registerLanguage("jboss-cli",n(10673)),a.registerLanguage("json",n(10674)),a.registerLanguage("julia",n(10675)),a.registerLanguage("julia-repl",n(10676)),a.registerLanguage("kotlin",n(10677)),a.registerLanguage("lasso",n(10678)),a.registerLanguage("latex",n(10679)),a.registerLanguage("ldif",n(10680)),a.registerLanguage("leaf",n(10681)),a.registerLanguage("less",n(10682)),a.registerLanguage("lisp",n(10683)),a.registerLanguage("livecodeserver",n(10684)),a.registerLanguage("livescript",n(10685)),a.registerLanguage("llvm",n(10686)),a.registerLanguage("lsl",n(10687)),a.registerLanguage("lua",n(10688)),a.registerLanguage("makefile",n(10689)),a.registerLanguage("mathematica",n(10690)),a.registerLanguage("matlab",n(10691)),a.registerLanguage("maxima",n(10692)),a.registerLanguage("mel",n(10693)),a.registerLanguage("mercury",n(10694)),a.registerLanguage("mipsasm",n(10695)),a.registerLanguage("mizar",n(10696)),a.registerLanguage("perl",n(10697)),a.registerLanguage("mojolicious",n(10698)),a.registerLanguage("monkey",n(10699)),a.registerLanguage("moonscript",n(10700)),a.registerLanguage("n1ql",n(10701)),a.registerLanguage("nginx",n(10702)),a.registerLanguage("nim",n(10703)),a.registerLanguage("nix",n(10704)),a.registerLanguage("node-repl",n(10705)),a.registerLanguage("nsis",n(10706)),a.registerLanguage("objectivec",n(10707)),a.registerLanguage("ocaml",n(10708)),a.registerLanguage("openscad",n(10709)),a.registerLanguage("oxygene",n(10710)),a.registerLanguage("parser3",n(10711)),a.registerLanguage("pf",n(10712)),a.registerLanguage("pgsql",n(10713)),a.registerLanguage("php",n(10714)),a.registerLanguage("php-template",n(10715)),a.registerLanguage("plaintext",n(10716)),a.registerLanguage("pony",n(10717)),a.registerLanguage("powershell",n(10718)),a.registerLanguage("processing",n(10719)),a.registerLanguage("profile",n(10720)),a.registerLanguage("prolog",n(10721)),a.registerLanguage("properties",n(10722)),a.registerLanguage("protobuf",n(10723)),a.registerLanguage("puppet",n(10724)),a.registerLanguage("purebasic",n(10725)),a.registerLanguage("python",n(10726)),a.registerLanguage("python-repl",n(10727)),a.registerLanguage("q",n(10728)),a.registerLanguage("qml",n(10729)),a.registerLanguage("r",n(10730)),a.registerLanguage("reasonml",n(10731)),a.registerLanguage("rib",n(10732)),a.registerLanguage("roboconf",n(10733)),a.registerLanguage("routeros",n(10734)),a.registerLanguage("rsl",n(10735)),a.registerLanguage("ruleslanguage",n(10736)),a.registerLanguage("rust",n(10737)),a.registerLanguage("sas",n(10738)),a.registerLanguage("scala",n(10739)),a.registerLanguage("scheme",n(10740)),a.registerLanguage("scilab",n(10741)),a.registerLanguage("scss",n(10742)),a.registerLanguage("shell",n(10743)),a.registerLanguage("smali",n(10744)),a.registerLanguage("smalltalk",n(10745)),a.registerLanguage("sml",n(10746)),a.registerLanguage("sqf",n(10747)),a.registerLanguage("sql_more",n(10748)),a.registerLanguage("sql",n(10749)),a.registerLanguage("stan",n(10750)),a.registerLanguage("stata",n(10751)),a.registerLanguage("step21",n(10752)),a.registerLanguage("stylus",n(10753)),a.registerLanguage("subunit",n(10754)),a.registerLanguage("swift",n(10755)),a.registerLanguage("taggerscript",n(10756)),a.registerLanguage("yaml",n(10757)),a.registerLanguage("tap",n(10758)),a.registerLanguage("tcl",n(10759)),a.registerLanguage("thrift",n(10760)),a.registerLanguage("tp",n(10761)),a.registerLanguage("twig",n(10762)),a.registerLanguage("typescript",n(10763)),a.registerLanguage("vala",n(10764)),a.registerLanguage("vbnet",n(10765)),a.registerLanguage("vbscript",n(10766)),a.registerLanguage("vbscript-html",n(10767)),a.registerLanguage("verilog",n(10768)),a.registerLanguage("vhdl",n(10769)),a.registerLanguage("vim",n(10770)),a.registerLanguage("x86asm",n(10771)),a.registerLanguage("xl",n(10772)),a.registerLanguage("xquery",n(10773)),a.registerLanguage("zephir",n(10774)),e.exports=a}}]);
-//# sourceMappingURL=5eae74fd6acd2647e0b7.js.map
\ No newline at end of file
diff --git a/api/assets/7fbe1e6b1c5663e3a84e.js b/api/assets/7fbe1e6b1c5663e3a84e.js
deleted file mode 100644
index 5fabb4e6..00000000
--- a/api/assets/7fbe1e6b1c5663e3a84e.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(this.webpackJsonp=this.webpackJsonp||[]).push([[30,5,7,8,16,22,26,81],Array(475).concat([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthBoxFooter=x,t.default=t.IncompatibleBrowser=t.ActivityCount=t.AuthSpinner=t.SubText=t.Block=t.Input=t.ChannelIcon=t.GuildIcon=t.Avatar=t.Button=t.Image=t.SubTitle=t.Title=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=I(n(9)),i=n(5937),l=I(n(29)),u=I(n(55)),s=I(n(371)),d=I(n(153)),f=I(n(476)),c=I(n(474)),p=I(n(5974)),v=I(n(279)),y=I(n(47)),m=I(n(24)),_=n(368),h=I(n(93)),E=n(259),g=n(1),S=I(n(6)),O=I(n(6051));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(){return(C=Object.assign||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}).apply(this,arguments)}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var M=v.default;null==M&&(M=function(){return null});var N=function(e){var t=e.className,n=e.id,r=e.children;return b(y.default,{size:m.default.Sizes.SIZE_24,color:m.default.Colors.HEADER_PRIMARY,className:(0,o.default)(O.default.title,t),id:n},void 0,r)};t.Title=N,N.displayName="Title";var A=function(e){var t=e.className,n=e.children;return b(m.default,{size:m.default.Sizes.SIZE_16,color:m.default.Colors.HEADER_SECONDARY,className:t},void 0,n)};t.SubTitle=A,A.displayName="SubTitle";var P=function(e){var t=e.className;return b("img",{alt:"",src:e.src,className:(0,o.default)(O.default.image,t)})};t.Image=P,P.displayName="Image";var R=function(e){var t,n=e.className,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["className"]),i=r.look===l.default.Looks.LINK;return a.createElement(l.default,C({size:i?l.default.Sizes.MIN:l.default.Sizes.LARGE,fullWidth:!i,className:(0,o.default)(n,(t={},t[O.default.button]=!i,t[O.default.linkButton]=i,t))},r))};t.Button=R,R.displayName="Button",R.Looks=l.default.Looks,R.Colors=l.default.Colors,R.Sizes=l.default.Sizes;var L=function(e){var t=e.className,n=e.src,r=e.size;return b(M,{src:n,size:r,className:(0,o.default)(O.default.inviteLargeIcon,t),"aria-hidden":!0})};t.Avatar=L,L.displayName="Avatar",L.Sizes=M.Sizes;var D=function(e){var t=e.guild,n=e.size,r=e.animate,a=void 0!==r&&r;return b(s.default,{active:!0,guild:t,size:n,animate:a})};t.GuildIcon=D,D.displayName="GuildIcon",D.Sizes=s.default.Sizes;var w=function(e){var t=e.className,n=e.channel,r=e.size;return b(M,{src:(0,i.getChannelIconURL)(n),size:r,className:(0,o.default)(O.default.inviteIcon,t),"aria-hidden":!0})};t.ChannelIcon=w,w.displayName="ChannelIcon",w.Sizes=M.Sizes;var j=function(e){var t,n=e.label,r=e.error,a=e.placeholder,i=e.value,l=e.className,u=e.inputClassName,s=e.setRef,p=e.type,v=void 0===p?"text":p,y=e.onChange,m=e.autoComplete,_=e.autoFocus,h=e.maxLength,E=e.spellCheck,g=e.name,S=e.description,I=e.required;return b(f.default,{title:n,error:r,className:l,required:I},void 0,b(d.default,{name:g,type:v,value:i,inputRef:s,placeholder:a,className:O.default.input,inputClassName:(0,o.default)(u,(t={},t[O.default.inputError]=null!=r,t)),"aria-label":n,onChange:y,autoComplete:m,autoFocus:_,maxLength:h,spellCheck:E}),null!=S?b(c.default,{type:c.default.Types.DESCRIPTION,className:O.default.description},void 0,S):null)};t.Input=j,j.displayName="Input";var k=function(e){var t=e.className,n=e.children;return b("div",{className:(0,o.default)(O.default.block,t)},void 0,n)};t.Block=k,k.displayName="Block";var U=function(e){var t=e.className,n=e.children;return b(m.default,{size:m.default.Sizes.SIZE_12,className:(0,o.default)(O.default.subText,t)},void 0,n)};t.SubText=U,U.displayName="SubText";var G=function(e){var t=e.className;return b(u.default,{direction:u.default.Direction.VERTICAL,align:u.default.Align.CENTER,className:t},void 0,b(p.default,{className:O.default.spinnerVideo}))};t.AuthSpinner=G,G.displayName="AuthSpinner";var F=function(e){var t,n=e.online,r=e.total,a=e.className,i=e.flat;return null==r?null:(null!=n&&n>0&&(t=b("div",{className:(0,o.default)(O.default.pill,O.default.pillOnline,i&&O.default.pillFlat)},void 0,b("i",{className:O.default.pillIconOnline}),b(m.default,{tag:"span",size:m.default.Sizes.SIZE_16,className:O.default.pillMessage},void 0,S.default.Messages.INSTANT_INVITE_GUILD_MEMBERS_ONLINE.format({membersOnline:n})))),b(u.default,{justify:u.default.Justify.CENTER,className:a},void 0,t,b("div",{className:(0,o.default)(O.default.pill,i&&O.default.pillFlat)},void 0,b("i",{className:O.default.pillIconTotal}),b(m.default,{tag:"span",size:m.default.Sizes.SIZE_16,className:O.default.pillMessage},void 0,S.default.Messages.INSTANT_INVITE_GUILD_MEMBERS_TOTAL.format({count:r})))))};t.ActivityCount=F,F.displayName="ActivityCount";var B=function(e){var t=e.className;return b(k,{className:t},void 0,b(R,{onClick:function(){return window.open((0,_.getCurrentPlatformDownloadURL)())}},void 0,S.default.Messages.NUF_DOWNLOAD_APP_BUTTON_PLATFORM.format({platform:(0,_.getPlatformReadableName)()})),b(U,{className:O.default.downloadButtonSubtext},void 0,S.default.Messages.INCOMPATIBLE_BROWSER.format({supportedBrowserURL:h.default.getArticleURL(g.HelpdeskArticles.SUPPORTED_BROWSERS)})))};t.IncompatibleBrowser=B,B.displayName="IncompatibleBrowser";var H=function(e){var t=e.className,n=e.contentClassName,r=e.tag,a=void 0===r?"section":r,i=e.onSubmit,l=e.children,u=e.expanded,s=void 0!==u&&u,d=e.theme,f=void 0===d?g.ThemeTypes.DARK:d,c=e.mobileBanner;return null!=c?b(a,{onSubmit:i,className:(0,o.default)(O.default.authBoxWithMobileBanner,(0,E.getThemeClass)(f),t)},void 0,b("div",{className:O.default.mobileBannerLogo}),b("div",{className:O.default.mobileBanner},void 0,b("img",{src:c,alt:""})),l):b(a,{onSubmit:i,className:(0,o.default)(s?O.default.authBoxExpanded:O.default.authBox,(0,E.getThemeClass)(f),t)},void 0,b("div",{className:(0,o.default)(O.default.centeringWrapper,n)},void 0,l))};function x(e){var t,n,r,a;return b(u.default,{grow:0,shrink:0,direction:null!==(t=e.direction)&&void 0!==t?t:u.default.Direction.HORIZONTAL_REVERSE,justify:null!==(n=e.justify)&&void 0!==n?n:u.default.Justify.START,align:null!==(r=e.align)&&void 0!==r?r:u.default.Align.STRETCH,wrap:null!==(a=e.wrap)&&void 0!==a?a:u.default.Wrap.NO_WRAP,className:(0,o.default)(O.default.footer,e.className)},void 0,e.children)}H.displayName="AuthBox",x.displayName="AuthBoxFooter";var V=H;t.default=V},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLabelForStep=function(e){switch(e){case a.PLAN_SELECT:return i.default.Messages.BILLING_STEP_SELECT_PLAN;case a.PAYMENT_TYPE:return i.default.Messages.BILLING_STEP_PAYMENT;case a.REVIEW:return i.default.Messages.BILLING_STEP_REVIEW;case a.SHOP:return i.default.Messages.BILLING_STEP_SHOP}throw new Error("Unexpected step: "+e)},t.errorToStep=function(e){if(null!=e){if(e.hasCardError())return a.CREDIT_CARD_INFORMATION;if(e.hasAddressError())return a.ADDRESS}return null},t.setPurchaseStateForStep=function(e,t,n){e!==a.REVIEW&&t!==o.PurchaseState.WAITING&&t!==o.PurchaseState.COMPLETED&&n(o.PurchaseState.WAITING)},t.COLLAPSED_PAYMENT_BREADCRUMB_STEPS=t.Step=void 0;var r,a,o=n(1173),i=(r=n(6))&&r.__esModule?r:{default:r};t.Step=a,function(e){e.PAYMENT_TYPE="payment_type",e.CREDIT_CARD_INFORMATION="credit_card_information",e.PAYPAL_INFORMATION="paypal_information",e.PAYMENT_REQUEST_INFORMATION="payment_request_information",e.ADDRESS="address",e.AWAITING_AUTHENTICATION="awaiting_authentication",e.SKU_SELECT="sku_select",e.PLAN_SELECT="plan_select",e.PREMIUM_UPSELL="premium_upsell",e.REVIEW="review",e.CONFIRM="confirm",e.CLAIM_FREE_SKU="claim_free_sku",e.SKU_PREVIEW="sku_preview",e.LOADING_PAYMENT_SOURCES="loading_payment_sources",e.SHOP="shop",e.PROMOTION_INFO="promotion_info"}(a||(t.Step=a={}));var l=new Set([a.CREDIT_CARD_INFORMATION,a.PAYMENT_REQUEST_INFORMATION,a.PAYPAL_INFORMATION,a.ADDRESS,a.CLAIM_FREE_SKU,a.SKU_PREVIEW,a.PREMIUM_UPSELL]);t.COLLAPSED_PAYMENT_BREADCRUMB_STEPS=l},,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.IconTypes=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=l(n(9)),i=l(n(6077));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=Object.freeze({UNKNOWN:"unknown",VISA:"visa",DISCOVER:"discover",MASTERCARD:"mastercard",AMEX:"amex",PAYPAL:"paypal",PAYMENT_REQUEST:"paymentRequest",G_PAY:"gPay",DINERS:"diners",JCB:"jcb",UNIONPAY:"unionpay"});t.IconTypes=f;var c={SMALL:i.default.cardIconSmall,MEDIUM:i.default.cardIconMedium,LARGE:i.default.cardIconLarge,XLARGE:i.default.cardIconXLarge},p=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n),r.getType=function(e){if(null==e)return f.UNKNOWN;var t=e.replace(/[^a-z]/gi,"").toUpperCase();return f[t]||f.UNKNOWN},r.prototype.render=function(){var e,t=this.props,n=t.flipped,r=t.type,a=t.className,l=t.size;return s("div",{className:(0,o.default)(l,i.default[r],a,(e={},e[i.default.flipped]=n,e))},void 0,r)},r}(a.PureComponent);p.displayName="PaymentSourceIcon",p.Types=f,p.Sizes=c,p.defaultProps={size:c.SMALL,flipped:!1};var v=p;t.default=v},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(3)),a=u(n(2)),o=n(5858),i=u(n(96)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(){return(d=Object.assign||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}).apply(this,arguments)}var f=null;function c(e,t){if(null==f)return null;for(var n in f)if(f[n].type===e&&(null==t||t(f[n])))return f[n];return null}var p=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var a=r.prototype;return a.hasFetchedSubscriptions=function(){return null!=f},a.getPremiumSubscription=function(){return c(l.SubscriptionTypes.PREMIUM,(function(e){return!i.default.isNoneSubscription(e.planId)}))},a.getPremiumTypeSubscription=function(){return c(l.SubscriptionTypes.PREMIUM)},a.getSubscriptionForPlanIds=function(e){var t;if(null==f)return null;var n=new Set(e);return null!==(t=Object.values(f).find((function(e){return e.items.some((function(e){return n.has(e.planId)}))})))&&void 0!==t?t:null},r}(r.default.Store))(a.default,{BILLING_SUBSCRIPTION_FETCH_SUCCESS:function(e){var t=e.subscriptions,n={};t.forEach((function(e){n[e.id]=o.SubscriptionRecord.createFromServer(e)})),f=n},BILLING_SUBSCRIPTION_UPDATE_SUCCESS:function(e){var t,n=e.subscription;f=d({},f,((t={})[n.id]=o.SubscriptionRecord.createFromServer(n),t))},LOGOUT:function(e){f=null}});t.default=p},,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Colors=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(9)),i=d(n(61)),l=d(n(255)),u=d(n(5827)),s=d(n(6080));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var p={RED:s.default.backgroundRed,BACKGROUND_TERTIARY:s.default.backgroundTertiary,BACKGROUND_ACCENT:s.default.backgroundAccent};t.Colors=p;var v=a.forwardRef((function(e,t){var n=e.children,r=e.className,d=e.onDismiss,f=e.backgroundColor,v=void 0===f?p.RED:f,y=e.icon,m=void 0===y?u.default:y,_=e.iconClassName;return a.createElement("div",{className:(0,o.default)(s.default.error,r,v),ref:t},c(m,{className:(0,o.default)(s.default.icon,_)}),c("div",{className:s.default.text},void 0,n),null!=d?c(i.default,{onClick:d,className:s.default.errorClose},void 0,c(l.default,{className:s.default.errorCloseIcon})):null)}));t.default=v},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.coalesceInvoiceItems=function(e){var t=function(e,t){return e.subscriptionPlanId===t.subscriptionPlanId&&(e.subscriptionPlanPrice===t.subscriptionPlanPrice&&(e.amount===t.amount&&o.default.isEqual(e.discounts,t.discounts)))},n=[],r=new Set;return e.map((function(e){for(var a,o=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(n);!(a=o()).done;){var i=a.value;if(t(i,e))return r.add(i.subscriptionPlanId),void(i.quantity+=e.quantity)}n.push(v({},e))})),n.map((function(e){var t=v({},e);return r.has(e.subscriptionPlanId)&&(t.amount=t.amount*t.quantity,t.discounts=t.discounts.map((function(e){return v({},e,{amount:e.amount*t.quantity})}))),t}))},t.createSubscriptionInvoicePreview=h,t.updateSubscriptionInvoicePreview=g,t.useSubscriptionInvoicePreview=function(e){if("subscriptionId"in e&&null==e.subscriptionId){var t=e,n=(t.subscriptionId,f(t,["subscriptionId"]));e=n}var r=(0,a.useCallback)((function(){return"subscriptionId"in e?g(e):"items"in e?h(e):null}),[JSON.stringify(e)]);return function(e,t){var n=e.preventFetch,r=void 0!==n&&n,o=(0,a.useState)(null),i=o[0],u=o[1],s=(0,a.useState)(null),d=s[0],f=s[1];return(0,a.useEffect)((function(){var e=!1;function n(){return(n=p(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,t();case 3:r=n.sent,e||u(r),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),e||f(new l.BillingError(n.t0));case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))).apply(this,arguments)}return r||function(){n.apply(this,arguments)}(),function(){e=!0}}),[r,t]),[i,d]}(e,r)},t.getItemUnitPriceWithDiscount=function(e){var t=e.subscriptionPlanPrice;return e.discounts.forEach((function(n){var r=n.amount/e.quantity;t-=r})),t},t.InvoiceDiscountTypes=void 0;var r,a=n(0),o=d(n(8)),i=d(n(14)),l=n(275),u=n(96),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function c(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){c(o,r,a,i,l,"next",e)}function l(e){c(o,r,a,i,l,"throw",e)}i(void 0)}))}}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e){return{id:e.id,subscriptionPlanId:e.subscription_plan_id,subscriptionPlanPrice:e.subscription_plan_price,amount:e.amount,quantity:e.quantity,discounts:e.discounts}}function _(e){return{id:e.id,invoiceItems:e.invoice_items.map(m),total:e.total,subtotal:e.subtotal,currency:e.currency,tax:e.tax,taxInclusive:e.tax_inclusive,subscriptionPeriodStart:new Date(e.subscription_period_start),subscriptionPeriodEnd:new Date(e.subscription_period_end)}}function h(e){return E.apply(this,arguments)}function E(){return(E=p(regeneratorRuntime.mark((function e(t){var n,r,a,o,l,d,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.items,r=t.paymentSourceId,a=t.trialId,o=t.applyEntitlements,l=void 0!==o&&o,n=(0,u.coerceExistingItemsToNewItemInterval)(n),d={items:n.map((function(e){var t=e.planId;return v({},f(e,["planId"]),{plan_id:t})})),payment_source_id:r,trial_id:a,apply_entitlements:l},e.next=5,i.default.post({url:s.Endpoints.BILLING_SUBSCRIPTIONS_PREVIEW,body:d,oldFormErrors:!0});case 5:return c=e.sent,e.abrupt("return",_(c.body));case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(e){return S.apply(this,arguments)}function S(){return(S=p(regeneratorRuntime.mark((function e(t){var n,r,a,o,l,d,c,p,y;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.subscriptionId,a=t.items,o=t.paymentSourceId,l=t.renewal,d=t.applyEntitlements,c=void 0!==d&&d,null!=a&&(a=(0,u.coerceExistingItemsToNewItemInterval)(a)),p={items:null===(n=a)||void 0===n?void 0:n.map((function(e){var t=e.planId;return v({},f(e,["planId"]),{plan_id:t})})),payment_source_id:o,renewal:l,apply_entitlements:c},e.next=5,i.default.patch({url:s.Endpoints.BILLING_SUBSCRIPTION_PREVIEW(r),body:p,oldFormErrors:!0});case 5:return y=e.sent,e.abrupt("return",_(y.body));case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}t.InvoiceDiscountTypes=r,function(e){e[e.SUBSCRIPTION_PLAN=1]="SUBSCRIPTION_PLAN",e[e.ENTITLEMENT=2]="ENTITLEMENT",e[e.PREMIUM_LEGACY_UPGRADE_PROMOTION=3]="PREMIUM_LEGACY_UPGRADE_PROMOTION",e[e.PREMIUM_TRIAL=4]="PREMIUM_TRIAL"}(r||(t.InvoiceDiscountTypes=r={}))},,,,function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.PurchaseState=void 0,t.PurchaseState=r,function(e){e.WAITING="WAITING",e.PURCHASING="PURCHASING",e.FAIL="FAIL",e.COMPLETED="COMPLETED"}(r||(t.PurchaseState=r={}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(8785)),a=o(n(8));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u={highlight:function(e,t,n){if(!function(e){if(e.indexOf(s)>=0)return!1;for(var t,n=0,r=i(e.split("\n"));!(t=r()).done;){var a=t.value;if(a.length>1e3)return!1;!a.match(/^\s*[/][/]/)&&a.match(/[^/]/)&&(n=0);var o=a.match(/[/]/g);if(null!=o&&(n+=o.length)>30)return!1}return!0}(t))return null;var a=Date.now(),o=r.default.highlight(e,t,n);Date.now();return o},hasLanguage:function(e){return null!=r.default.getLanguage(e)}};t.default=u;var s=a.default.repeat("/",15)},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PremiumInvoiceTable=p,t.PremiumInvoiceTableHeader=v,t.PremiumInvoiceTableRow=y,t.PremiumInvoiceDiscountedTableRow=function(e){var t=e.label,n=e.value,r=e.discounts,o=e.originalAmount,d=e.interval,f=e.currency,p=e.className,v=function(e){return null!=r?r.find((function(t){return t.type===e})):null},m=v(l.InvoiceDiscountTypes.SUBSCRIPTION_PLAN),_=v(l.InvoiceDiscountTypes.ENTITLEMENT),h=null!=m?Math.floor(m.amount/o*100):null,E=(0,i.formatPrice)(o,f);return a.createElement(a.Fragment,null,c(y,{label:t,value:a.createElement(a.Fragment,null,n,null!=h?c("div",{className:s.default.rowPercentDiscount},void 0,"-",h,"%"):null),className:p}),null!=h?c("div",{className:s.default.rowDiscountOriginalPrice},void 0,"(",null!=d?(0,i.formatRate)(E,d):E,")"):null,null!=_?c("div",{className:s.default.entitlementDiscountRow},void 0,u.default.Messages.BILLING_INVOICE_SUBSCRIPTION_CREDIT_APPLIED):null)},t.PremiumInvoiceTableDivider=m,t.PremiumInvoiceTableTotalRow=_,t.PremiumInvoiceTableFinePrint=h;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(9)),i=n(281),l=n(1169),u=d(n(6)),s=d(n(6081));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.children,n=e.className;return c("div",{className:(0,o.default)(s.default.table,n)},void 0,t)}function v(e){var t=e.children;return c("div",{className:s.default.header},void 0,t)}function y(e){var t=e.label,n=e.value,r=e.className;return c("div",{className:(0,o.default)(s.default.row,r)},void 0,c("div",{},void 0,t),c("div",{className:s.default.rowAmount},void 0,n))}function m(e){var t,n=e.extended,r=void 0!==n&&n;return c("div",{className:(0,o.default)(s.default.divider,(t={},t[s.default.dividerExtended]=r,t))})}function _(e){var t=e.label,n=e.value,r=e.className;return c("div",{className:(0,o.default)(s.default.totalRow,r)},void 0,c("div",{className:s.default.totalLabel},void 0,t),c("div",{className:s.default.totalAmount},void 0,n))}function h(e){var t=e.children,n=e.className;return c("div",{className:(0,o.default)(s.default.finePrint,n)},void 0,t)}p.displayName="PremiumInvoiceTable",v.displayName="PremiumInvoiceTableHeader",y.displayName="PremiumInvoiceTableRow",m.displayName="PremiumInvoiceTableDivider",_.displayName="PremiumInvoiceTableTotalRow",h.displayName="PremiumInvoiceTableFinePrint"},,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setPaymentStepForAuthentication=function(e,t,n,r){void 0===r&&(r=!1);t===a.PENDING&&e!==d.Step.AWAITING_AUTHENTICATION?n(d.Step.AWAITING_AUTHENTICATION):e===d.Step.AWAITING_AUTHENTICATION&&(t===a.ERROR?n(d.Step.REVIEW):t===a.NONE&&n(r?d.Step.REVIEW:d.Step.CONFIRM))},t.usePaymentAuthenticationPoller=function(e){var t=(0,i.useStateFromStores)([s.default],(function(){return s.default.awaitingPaymentId})),n=o.useRef(new l.Interval);o.useEffect((function(){null!=t&&e===a.PENDING?n.current.start(5e3,(function(){return(0,u.fetchPayment)(t)})):n.current.stop()}),[t,e])},t.PaymentAuthenticationState=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(3),l=n(57),u=n(287),s=(r=n(5836))&&r.__esModule?r:{default:r},d=n(692);function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}t.PaymentAuthenticationState=a,function(e){e[e.PENDING=1]="PENDING",e[e.ERROR=2]="ERROR",e[e.NONE=3]="NONE"}(a||(t.PaymentAuthenticationState=a={}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchSKU=function(e,t){return m.apply(this,arguments)},t.fetchSKUsForApplication=function(e,t){return _.apply(this,arguments)},t.fetchPurchasePreview=function(e,t,n){return h.apply(this,arguments)},t.grantChannelBranchEntitlement=function(e,t,n){return E.apply(this,arguments)},t.purchaseSKU=function(e,t,n){return S.apply(this,arguments)},t.clearPurchaseError=function(){a.default.dispatch({type:f.ActionTypes.SKU_PURCHASE_CLEAR_ERROR})},t.showPurchaseConfirmationStep=function(){a.default.wait((function(){return a.default.dispatch({type:f.ActionTypes.SKU_PURCHASE_SHOW_CONFIRMATION_STEP})}))},t.updateSKUPaymentIsGift=function(e){a.default.dispatch({type:f.ActionTypes.SKU_PURCHASE_UPDATE_IS_GIFT,isGift:e})};var r=c(n(14)),a=c(n(2)),o=n(275),i=c(n(195)),l=c(n(373)),u=c(n(1167)),s=n(48),d=n(289),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function y(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){v(o,r,a,i,l,"next",e)}function l(e){v(o,r,a,i,l,"throw",e)}i(void 0)}))}}function m(){return(m=y(regeneratorRuntime.mark((function e(t,n){var r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==l.default.get(n)){e.next=2;break}return e.abrupt("return");case 2:return a.default.dirtyDispatch({type:f.ActionTypes.SKU_FETCH_START,skuId:n}),e.prev=3,r=u.default.inTestModeForApplication(t),e.next=7,(0,d.httpGetWithCountryCodeQuery)(r?f.Endpoints.STORE_SKU(n):f.Endpoints.STORE_PUBLISHED_LISTINGS_SKU(n));case 7:o=e.sent,a.default.dispatch({type:f.ActionTypes.SKU_FETCH_SUCCESS,sku:r?o.body:o.body.sku}),e.next=15;break;case 11:throw e.prev=11,e.t0=e.catch(3),a.default.dispatch({type:f.ActionTypes.SKU_FETCH_FAIL,skuId:n}),new i.default("Failed to fetch SKU "+n);case 15:case"end":return e.stop()}}),e,null,[[3,11]])})))).apply(this,arguments)}function _(){return(_=y(regeneratorRuntime.mark((function e(t,n){var r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===n&&(n=!0),u.default.inTestModeForApplication(t)||!n){e.next=3;break}throw new Error("this should only be used in test mode");case 3:return e.next=5,(0,d.httpGetWithCountryCodeQuery)(f.Endpoints.APPLICATION_SKUS(t));case 5:return r=e.sent,o=r.body,a.default.dispatch({type:f.ActionTypes.SKUS_FETCH_SUCCESS,skus:o,applicationId:t}),e.abrupt("return",o);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(){return(h=y(regeneratorRuntime.mark((function e(t,n,r){var o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={payment_source_id:r},u.default.inTestModeForApplication(t)&&(o.test_mode=!0),e.next=4,(0,d.httpGetWithCountryCodeQuery)({url:f.Endpoints.STORE_SKU_PURCHASE(n),query:o,oldFormErrors:!0});case 4:return i=e.sent,a.default.dispatch({type:f.ActionTypes.SKU_PURCHASE_PREVIEW_FETCH_SUCCESS,skuId:n,paymentSourceId:r,price:i.body}),e.abrupt("return",i);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(){return(E=y(regeneratorRuntime.mark((function e(t,n,i){var l,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a.default.dispatch({type:f.ActionTypes.SKU_PURCHASE_START,applicationId:t,skuId:i}),e.prev=1,e.next=4,r.default.post({url:f.Endpoints.CHANNEL_ENTITLEMENT_GRANT(n),oldFormErrors:!0});case 4:return l=e.sent,a.default.dispatch({type:f.ActionTypes.SKU_PURCHASE_SUCCESS,skuId:i,entitlements:l.body,libraryApplications:[]}),e.abrupt("return",l.body);case 9:throw e.prev=9,e.t0=e.catch(1),u=new o.BillingError(e.t0),a.default.dispatch({type:f.ActionTypes.SKU_PURCHASE_FAIL,applicationId:t,skuId:i,error:u}),u;case 14:case"end":return e.stop()}}),e,null,[[1,9]])})))).apply(this,arguments)}var g={isGift:!1};function S(){return(S=y(regeneratorRuntime.mark((function e(t,n,i){var l,d,c,v,y,m,_,h,E;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l=p({},g,{},i),d=l.paymentSourceId,c=l.expectedAmount,v=l.analyticsLoadId,y=l.isGift,m=l.subscriptionPlanId,a.default.wait((function(){a.default.dispatch({type:f.ActionTypes.SKU_PURCHASE_START,applicationId:t,skuId:n})})),e.prev=2,_={gift:y,sku_subscription_plan_id:m},u.default.inTestModeForApplication(t)?_.test_mode=!0:(null!=d&&(_.payment_source_id=d),null!=c&&(_.expected_amount=c)),e.next=7,r.default.post({url:f.Endpoints.STORE_SKU_PURCHASE(n),body:_,context:{load_id:v},oldFormErrors:!0});case 7:return h=e.sent,a.default.dispatch({type:f.ActionTypes.SKU_PURCHASE_SUCCESS,skuId:n,libraryApplications:null!=h.body.library_applications?h.body.library_applications.filter(s.isNotNullish):[],entitlements:h.body.entitlements,giftCode:h.body.gift_code}),e.abrupt("return",h.body);case 12:throw e.prev=12,e.t0=e.catch(2),E=new o.BillingError(e.t0),a.default.dispatch({type:f.ActionTypes.SKU_PURCHASE_FAIL,applicationId:t,skuId:n,error:E}),E;case 17:case"end":return e.stop()}}),e,null,[[2,12]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=f(n(9)),l=f(n(273)),u=f(n(469)),s=n(123),d=f(n(6086));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,m(e,t)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}!function(e){e[e.ENTERING=0]="ENTERING",e[e.LEAVING=1]="LEAVING",e[e.APPEARING=2]="APPEARING",e[e.STATIC=3]="STATIC"}(a||(a={}));var _=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={animationProgress:new l.default.Value(0),targetHeight:0,baseHeight:0,animationState:null},t.direction=t.props.getDirection(),t._measureRef=o.createRef(),t}y(t,e);var n=t.prototype;return n.componentDidMount=function(){if(null!=this._measureRef.current){var e=this._measureRef.current.getBoundingClientRect().height;this.setState({targetHeight:e,baseHeight:this.props.getBaseHeight()})}},n.componentDidUpdate=function(e,t){t.targetHeight!==this.state.targetHeight&&this.props.setHeight(this.state.targetHeight)},n.componentWillAppear=function(e){this.setState({animationState:a.APPEARING}),e()},n.componentDidAppear=function(){var e=this.state,t=e.animationProgress,n=e.targetHeight;t.setValue(2),this.setState({animationState:a.STATIC,baseHeight:n})},n.componentWillEnter=function(e){var t=this.props.duration,n=this.state.animationProgress;this.setState({animationState:a.ENTERING}),this.props.setHeight(this.state.targetHeight),l.default.timing(n,{toValue:2,duration:t,delay:t/2}).start(e)},n.componentDidEnter=function(){this.setState({animationState:a.STATIC})},n.componentWillLeave=function(e){var t=this.state.animationProgress,n=this.props,r=n.duration,o=n.getDirection;this.direction=o(),this.setState({animationState:a.LEAVING}),l.default.timing(t,{toValue:0,duration:r}).start(e)},n.componentDidLeave=function(){this.setState({animationState:a.STATIC})},n.getAnimatedStyle=function(){var e=this.context.reducedMotion,t=this.props.fillParent,n=this.state,r=n.animationProgress,o=n.animationState,i=n.baseHeight,u=n.targetHeight,s=this.props.sideMargin||0,d=this.props.verticalMargin||0,f=o===a.LEAVING,c=o===a.ENTERING,p=(f?-1:1)*this.direction,y={overflow:c||f?"hidden":"visible",position:f?"absolute":void 0,top:f?d:void 0,left:f?s:void 0,right:f?s:void 0,bottom:f?d:void 0},m={transform:[{translateX:r.interpolate({inputRange:[0,2],outputRange:[150*p+"%","0%"],extrapolate:"clamp",easing:l.default.Easing.inOut(l.default.Easing.ease)})}]};return v({},y,{},e.enabled?null:m,{opacity:r.interpolate({inputRange:[0,2],outputRange:[0,1],extrapolate:"clamp",easing:l.default.Easing.inOut(l.default.Easing.ease)}),height:c?r.interpolate({inputRange:[0,1],outputRange:[i,u],extrapolate:"clamp",easing:l.default.Easing.inOut(l.default.Easing.ease)}):t?"100%":"auto"})},n.render=function(){var e,t=this.props,n=t.fillParent,r=t.className,u=t.animatedNodeClassName,s=t.staticClassName,f=this.state.animationState;return n?o.createElement("div",{ref:this._measureRef,className:(0,i.default)(d.default.measurementFill,r,(e={},e[(0,i.default)(d.default.measurementFillStatic,s)]=f===a.STATIC,e))},p(l.default.div,{className:(0,i.default)(d.default.animatedNode,u),style:this.getAnimatedStyle()},void 0,this.props.children)):o.createElement("div",{ref:this._measureRef,className:(0,i.default)(d.default.measurement,r)},p(l.default.div,{className:(0,i.default)(d.default.animatedNode,u),style:this.getAnimatedStyle()},void 0,this.props.children))},t}(o.PureComponent);_.displayName="SequenceAnimation",_.contextType=s.AccessibilityPreferencesContext,_.defaultProps={duration:300};var h=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).stepHeights={},t.prevStep=null,t.prevSteps=[],t.getBaseHeight=function(){return null!=t.prevStep&&null!=t.stepHeights[t.prevStep]?t.stepHeights[t.prevStep]:0},t.getDirection=function(){var e=t.props,n=e.steps,r=e.step,a=n.indexOf(t.prevStep),o=-1===a?t.prevSteps.indexOf(t.prevStep):-1;return Math.max(a,o)>n.indexOf(r)?-1:1},t.setHeight=function(e){var n=t.props.step;t.stepHeights[n]=e},t}y(t,e);var n=t.prototype;return n.componentDidMount=function(){this.setPrevSteps()},n.componentDidUpdate=function(){this.setPrevSteps()},n.setPrevSteps=function(){var e=this.props,t=e.step,n=e.steps;this.prevStep=t,this.prevSteps=n},n.render=function(){var e=this.props,t=e.step,n=e.className,r=e.innerClassName,a=e.animatedNodeClassName,o=e.staticClassName,l=e.sideMargin,s=e.verticalMargin,f=e.children,c=e.fillParent;return p(u.default,{component:"div",className:(0,i.default)(d.default.transitionGroup,n)},void 0,p(_,{fillParent:c,sideMargin:l,verticalMargin:s,getDirection:this.getDirection,getBaseHeight:this.getBaseHeight,className:r,animatedNodeClassName:a,staticClassName:o,setHeight:this.setHeight},""+t,f))},t}(o.Component);t.default=h,h.displayName="Sequencer",h.defaultProps={fillParent:!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;v(n(0));var r,a=c(n(9)),o=v(n(383)),i=c(n(55)),l=c(n(700)),u=n(374),s=n(1),d=c(n(6)),f=c(n(6078));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=new o.CreditCardSourceRecord({id:"new_payment_source_id",brand:l.default.Types.UNKNOWN,type:s.PaymentSourceTypes.CARD});function _(e){var t=e.selectedPaymentSourceId,n=e.paymentSources,r=e.prependOption,s=e.hidePersonalInformation,c=e.onChange,p=e.onPaymentSourceAdd,v=e.disabled,_=void 0!==v&&v,h=e.className,E=[].concat(null!=r?[r]:[],n,[m]).map((function(e,t){if(e instanceof o.default){var n,r=function(e,t){if(e instanceof o.CreditCardSourceRecord)return e.id===m.id?{brand:null,label:d.default.Messages.PAYMENT_SOURCES_ADD}:{brand:t?l.default.Types.UNKNOWN:e.brand,label:d.default.Messages.PAYMENT_SOURCE_CARD_ENDING_IN.format({last4:t?"****":e.last4})};if(e instanceof o.PaypalSourceRecord)return{brand:l.default.Types.PAYPAL,label:t?"***@***.***":e.email};throw new Error("Invalid Payment Source")}(e,s),u=r.brand,c=r.label;return{value:e.id,label:y(i.default,{align:i.default.Align.CENTER},void 0,null!=u?y(l.default,{type:l.default.getType(u)}):null,y("div",{className:(0,a.default)(f.default.paymentSourceLabel,(n={},n[f.default.error]=e.invalid,n))},void 0,c))}}return{key:t,value:e.value,label:y(i.default,{align:i.default.Align.CENTER},void 0,y("div",{className:f.default.paymentSourceLabel},void 0,e.label))}}));return y(u.SingleSelect,{options:E,value:t,onChange:function(e){if(e===m.id)null!=p&&p();else{var t=n.find((function(t){return t.id===e}));null!=c&&c(t)}},isDisabled:_,className:h,placeholder:d.default.Messages.PAYMENT_SOURCE_TYPE_SELECT,renderOptionValue:function(e){return e[0].label}})}_.displayName="PaymentSourceDropdown"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,r.useState)(e),i=n[0],l=n[1],u=(0,a.useLazyValue)((function(){return new o.Timeout}));(0,r.useEffect)((function(){return function(){return u.stop()}}),[u]);var s=(0,r.useCallback)((function(n){l(n),n!==e&&u.start(t,(function(){return l(e)}))}),[t,e,u]);return[i,s]};var r=n(0),a=n(276),o=n(57)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PremiumInvoiceItemRow=b,t.PremiumInvoiceLabelWithAdjustment=M,t.PremiumSubscriptionChangePlanInvoiceRows=function(e){var t=e.invoice,n=e.newPlan,r=(0,m.coalesceInvoiceItems)(t.invoiceItems),o=r.find((function(e){return e.subscriptionPlanId===n.id}));(0,i.default)(null!=o,"Expected newPlanInvoiceItem");var l=r.find((function(e){return!(0,v.isPremiumGuildSubscriptionPlan)(e.subscriptionPlanId)&&e.amount<0})),u=r.find((function(e){return null==e.subscriptionPlanId&&null!=e.discounts&&e.discounts.find((function(e){return e.type===m.InvoiceDiscountTypes.PREMIUM_LEGACY_UPGRADE_PROMOTION}))})),s=C(o,m.InvoiceDiscountTypes.PREMIUM_TRIAL),d=o.quantity*o.subscriptionPlanPrice,f=o.amount+(null!=l?l.amount:0)-d+(null!=u?u.amount:0),c=r.filter((function(e){return e.subscriptionPlanId===h.SubscriptionPlans.PREMIUM_MONTH_GUILD||e.subscriptionPlanId===h.SubscriptionPlans.PREMIUM_YEAR_GUILD})).reduce((function(e,t){return e+t.amount}),0);return a.createElement(a.Fragment,null,T(b,{invoiceItem:o,currency:n.currency,overrideAmount:d}),0===f||s?null:T(_.PremiumInvoiceTableRow,{label:T(M,{label:E.default.Messages.PREMIUM_SUBSCRIPTION_PLAN_ADJUSTMENT.format({planName:(0,v.isPremiumSubscriptionPlan)(n.id)?(0,v.getTierDisplayName)(n.id):n.name}),tooltipText:E.default.Messages.PREMIUM_SUBSCRIPTION_ADJUSTMENT_TOOLTIP}),value:(0,y.formatPrice)(f,n.currency)}),0!==c?T(_.PremiumInvoiceTableRow,{label:T(M,{label:E.default.Messages.PREMIUM_SUBSCRIPTION_GUILD_SUBSCRIPTION_ADJUSTMENT,tooltipText:E.default.Messages.PREMIUM_SUBSCRIPTION_GUILD_SUBSCRIPTION_ADJUSTMENT_TOOLTIP.format(),tooltipAriaLabel:E.default.Messages.PREMIUM_SUBSCRIPTION_GUILD_SUBSCRIPTION_ADJUSTMENT_TEXT}),value:(0,y.formatPrice)(c,n.currency)}):null,N,T(_.PremiumInvoiceTableTotalRow,{label:(t.taxInclusive?E.default.Messages.BILLING_INVOICE_TODAY_TOTAL_TAX_INCLUSIVE:E.default.Messages.BILLING_INVOICE_TODAY_TOTAL).format(),value:(0,y.formatPrice)(t.total,t.currency)}))},t.SubscriptionPeriodResetNotice=R,t.SubscriptionInvoiceFooter=function(e){var t=e.premiumSubscription,n=e.proratedInvoice,r=e.renewalInvoice,o=e.overrideRenewalDate,i=e.isUpdate,l=void 0!==i&&i,u=e.isTrial,d=void 0!==u&&u,c=(0,m.useSubscriptionInvoicePreview)({subscriptionId:null==t?void 0:t.id,renewal:!0,preventFetch:!l})[0],S=(0,v.getIntervalForInvoice)(r),O=a.useState(!1),I=O[0],C=O[1];return a.createElement(a.Fragment,null,T(_.PremiumInvoiceTableFinePrint,{},void 0,d?E.default.Messages.PREMIUM_SUBSCRIPTION_RENEWAL_FOOTER_TRIAL.format({days:7,contactLink:h.MarketingURLs.CONTACT,helpdeskArticle:p.default.getArticleURL(h.HelpdeskArticles.PREMIUM_TRIAL)}):E.default.Messages.PREMIUM_SUBSCRIPTION_RENEWAL_FOOTER.format({rate:(0,y.formatRate)((0,y.formatPrice)(r.total,r.currency),S),renewalDate:null!=o?o:l?null!=n?n.subscriptionPeriodEnd:r.subscriptionPeriodStart:r.subscriptionPeriodEnd,contactLink:h.MarketingURLs.CONTACT,helpdeskArticle:p.default.getArticleURL(h.HelpdeskArticles.BILLING)})),T(s.default,{onClick:function(){return C((function(e){return!e}))},className:g.default.subscriptionDetailsToggle},void 0,I?E.default.Messages.PREMIUM_SUBSCRIPTION_HIDE_DETAILS:E.default.Messages.PREMIUM_SUBSCRIPTION_SHOW_DETAILS,T(f.default,{direction:I?f.default.Directions.UP:f.default.Directions.DOWN,className:g.default.subscriptionDetailsToggleCaret})),I?T(j,{isUpdate:l,currentInvoice:c,newInvoice:r,newInvoiceInterval:S}):null)},t.SubscriptionInvoiceGift=k;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=S(n(9)),i=S(n(23)),l=n(3),u=S(n(257)),s=S(n(61)),d=S(n(149)),f=S(n(683)),c=S(n(5999)),p=S(n(93)),v=n(96),y=n(281),m=n(1169),_=n(1237),h=n(1),E=S(n(6)),g=S(n(6095));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(){return(I=Object.assign||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}).apply(this,arguments)}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var C=function(e,t){var n;return!!(null===(n=e.discounts)||void 0===n?void 0:n.some((function(e){return e.type===t})))};function b(e){var t=e.invoiceItem,n=e.overrideAmount,r=e.showGuildSubscriptionAdjustmentTooltip,o=e.currency,i=e.className,s=(0,l.useStateFromStores)([u.default],(function(){return u.default.getHardcoded(t.subscriptionPlanId)})),f=function(e,t){var n=C(e,m.InvoiceDiscountTypes.PREMIUM_TRIAL);switch(e.subscriptionPlanId){case h.SubscriptionPlans.PREMIUM_MONTH_LEGACY:case h.SubscriptionPlans.PREMIUM_YEAR_LEGACY:case h.SubscriptionPlans.PREMIUM_MONTH_TIER_1:case h.SubscriptionPlans.PREMIUM_YEAR_TIER_1:case h.SubscriptionPlans.PREMIUM_MONTH_TIER_2:case h.SubscriptionPlans.PREMIUM_YEAR_TIER_2:return(0,v.getDisplayName)(e.subscriptionPlanId,n);case h.SubscriptionPlans.PREMIUM_MONTH_GUILD:return E.default.Messages.PREMIUM_GUILD_NUM_MONTH_GUILD_SUBSCRIPTIONS.format({num:e.quantity});case h.SubscriptionPlans.PREMIUM_YEAR_GUILD:return E.default.Messages.PREMIUM_GUILD_NUM_YEAR_GUILD_SUBSCRIPTIONS.format({num:e.quantity})}switch(t.interval){case h.SubscriptionIntervalTypes.MONTH:return E.default.Messages.MONTHLY_GUILD_SUBSCRIPTION.format({planName:t.name});case h.SubscriptionIntervalTypes.YEAR:return E.default.Messages.YEARLY_GUILD_SUBSCRIPTION.format({planName:t.name})}throw new Error("Unexpected invoice plan: "+e.subscriptionPlanId)}(t,s);!0===r&&(f=T("div",{className:g.default.invoiceItemLabelWithIcon},void 0,T("div",{},void 0,f),T(d.default,{text:E.default.Messages.PREMIUM_SUBSCRIPTION_GUILD_SUBSCRIPTION_ADJUSTMENT_TOOLTIP.format(),"aria-label":E.default.Messages.PREMIUM_SUBSCRIPTION_GUILD_SUBSCRIPTION_ADJUSTMENT_TEXT,tooltipClassName:g.default.invoiceItemTooltip},void 0,(function(e){return a.createElement(c.default,I({},e,{className:g.default.invoiceItemLabelIcon}))}))));var p=(0,y.formatRate)((0,y.formatPrice)(null!=n?n:t.amount,o),s.interval);return T(_.PremiumInvoiceDiscountedTableRow,{label:f,value:p,originalAmount:t.subscriptionPlanPrice*t.quantity,discounts:t.discounts,interval:s.interval,currency:o,className:i})}function M(e){var t=e.label,n=e.tooltipText,r=e.tooltipAriaLabel;return T("div",{className:g.default.invoiceItemLabelWithIcon},void 0,t,T(d.default,{text:n,"aria-label":r,tooltipClassName:g.default.invoiceItemTooltip},void 0,(function(e){return a.createElement(c.default,I({},e,{className:g.default.invoiceItemLabelIcon}))})))}b.displayName="PremiumInvoiceItemRow",M.displayName="PremiumInvoiceLabelWithAdjustment";var N=T(_.PremiumInvoiceTableDivider,{});function A(e){var t=e.slice();return t.sort((function(e,t){var n=(0,v.isPremiumBaseSubscriptionPlan)(e.subscriptionPlanId),r=(0,v.isPremiumBaseSubscriptionPlan)(t.subscriptionPlanId);return n&&!r?-1:!n&&r?1:0})),t}function P(e){return e.filter((function(e){var t=e.subscriptionPlanId;return t!==h.SubscriptionPlans.NONE_MONTH&&t!==h.SubscriptionPlans.NONE_YEAR}))}function R(e){var t=e.proratedInvoice,n=e.renewalInvoice;return(0,v.getIntervalForInvoice)(t)!==(0,v.getIntervalForInvoice)(n)||t.subscriptionPeriodEnd.getTime()===n.subscriptionPeriodStart.getTime()?null:T("div",{className:g.default.subscriptionPeriodResetNotice},void 0,E.default.Messages.PREMIUM_SUBSCRIPTION_PERIOD_RESET_NOTICE.format({renewalDate:t.subscriptionPeriodEnd}))}R.displayName="SubscriptionPeriodResetNotice";var L=T(_.PremiumInvoiceTableDivider,{extended:!0}),D=T(_.PremiumInvoiceTableDivider,{extended:!0}),w=T(_.PremiumInvoiceTableDivider,{});function j(e){var t=e.isUpdate,n=e.currentInvoice,r=e.newInvoice,i=e.newInvoiceInterval,l=null!=n?(0,m.coalesceInvoiceItems)(n.invoiceItems):null,u=null!=n&&(0,v.getIntervalForInvoice)(n)!==(0,v.getIntervalForInvoice)(r);return a.createElement(a.Fragment,null,L,null!=n?a.createElement(a.Fragment,null,T(_.PremiumInvoiceTableHeader,{},void 0,E.default.Messages.PREMIUM_SUBSCRIPTION_CURRENT_LABEL),P(A((0,m.coalesceInvoiceItems)(n.invoiceItems))).map((function(e){return T(b,{invoiceItem:e,currency:n.currency},e.id)})),D):null,T(_.PremiumInvoiceTableHeader,{},void 0,E.default.Messages.PREMIUM_SUBSCRIPTION_NEW_LABEL),P(A((0,m.coalesceInvoiceItems)(r.invoiceItems))).map((function(e){var n,a=null!=l&&!l.some((function(t){return t.subscriptionPlanId===e.subscriptionPlanId&&t.quantity===e.quantity}));return T(b,{invoiceItem:e,currency:r.currency,showGuildSubscriptionAdjustmentTooltip:u&&(e.subscriptionPlanId===h.SubscriptionPlans.PREMIUM_MONTH_GUILD||e.subscriptionPlanId===h.SubscriptionPlans.PREMIUM_YEAR_GUILD),className:(0,o.default)((n={},n[g.default.subscriptionAddedInvoiceItem]=!t||a,n))},e.id)})),w,T(_.PremiumInvoiceTableRow,{label:E.default.Messages.PREMIUM_SUBSCRIPTION_NEW_TOTAL,value:(0,y.formatRate)((0,y.formatPrice)(r.total,r.currency),i),className:g.default.subscriptionCostRow}))}function k(e){var t=e.plan,n=e.className;return T(_.PremiumInvoiceTable,{className:n},void 0,T(_.PremiumInvoiceTableRow,{label:E.default.Messages.BILLING_INVOICE_GIFT_PLAN.format({planName:(0,v.getDisplayName)(t.id)}),value:(0,y.formatPrice)(t.price,t.currency),className:g.default.subscriptionCostRow}))}k.displayName="SubscriptionInvoiceGift"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderPaymentModalStep=function(e,t,n,r,a,u,s,p,v,y,m,_,h,E,S,O,T,C,b,N,P){switch(e){case M.Step.PAYMENT_TYPE:return{body:w(V,{onChooseType:function(e){e===l.PaymentSourceTypes.CARD?(r(C),t(M.Step.CREDIT_CARD_INFORMATION)):e===l.PaymentSourceTypes.PAYPAL?(r(b),t(M.Step.PAYPAL_INFORMATION)):e===l.PaymentSourceTypes.PAYMENT_REQUEST&&(r(N),t(M.Step.PAYMENT_REQUEST_INFORMATION)),null!=g.default.error&&(0,c.clearError)()},onPaymentRequestSourceReceived:function(e,n){p(e),u((function(e){return D({},e,{info:n})})),r(N),t(T)},onPaymentRequestSourceFailed:function(){r(P),t(M.Step.PAYMENT_TYPE)}}),backStep:Object.values(s).length>0?M.Step.REVIEW:null};case M.Step.CREDIT_CARD_INFORMATION:var R=function(){var e=k(regeneratorRuntime.mark((function e(n,r){var a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return E(!0),e.prev=1,e.next=4,(0,d.createCardToken)(n,r);case 4:a=e.sent,_({token:a}),t(M.Step.ADDRESS),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(1);case 11:return e.prev=11,E(!1),e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[1,9,11,14]])})));return function(t,n){return e.apply(this,arguments)}}();return{body:w(W,{creditCardInfo:v.info,onCardInfoChange:function(e,t){y({info:e,isValid:t}),u((function(t){return D({},t,{info:D({},t.info,{name:e.name})})}))}}),backStep:M.Step.PAYMENT_TYPE,submitButton:w(o.ElementsConsumer,{},void 0,(function(e){var t=e.stripe,n=e.elements;return w(I.default,{type:"submit",submitting:h,onClick:function(){R(t,n)},disabled:!v.isValid},void 0,A.default.Messages.NEXT)}))};case M.Step.PAYPAL_INFORMATION:var L=0!==S.length&&null!=O;return{body:q,backStep:M.Step.PAYMENT_TYPE,submitButton:w(I.default,{color:L?I.default.Colors.BRAND:I.default.Colors.PRIMARY,type:"submit",onClick:L?function(){return t(M.Step.ADDRESS)}:function(){return(0,f.reopenPayPalWindow)()}},void 0,L?A.default.Messages.NEXT:A.default.Messages.PAYMENT_SOURCE_PAYPAL_REOPEN)};case M.Step.PAYMENT_REQUEST_INFORMATION:return{body:X,backStep:M.Step.PAYMENT_TYPE};case M.Step.ADDRESS:var j=function(){var e=k(regeneratorRuntime.mark((function e(r){var o,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(E(!0),n!==C){e.next=14;break}return e.prev=2,e.next=5,(0,d.createCardPaymentSource)(D({},v.info,{billingAddress:a.info,type:l.PaymentSourceTypes.CARD,stripe:r,token:m.token}));case 5:o=e.sent,p(o.id),t(T),e.next=12;break;case 10:e.prev=10,e.t0=e.catch(2);case 12:e.next=26;break;case 14:if(n!==b){e.next=26;break}return e.prev=15,(0,i.default)(null!=O,"Missing braintreeNonce"),e.next=19,(0,d.createPaypalPaymentSource)(O,a.info);case 19:u=e.sent,p(u.id),t(T),e.next=26;break;case 24:e.prev=24,e.t1=e.catch(15);case 26:E(!1);case 27:case"end":return e.stop()}}),e,null,[[2,10],[15,24]])})));return function(t){return e.apply(this,arguments)}}();return{body:w($,{billingAddressInfo:a.info,onBillingAddressChange:function(e,t){u({info:e,isValid:t})}}),backStep:n===b?M.Step.PAYPAL_INFORMATION:M.Step.CREDIT_CARD_INFORMATION,submitButton:w(o.ElementsConsumer,{},void 0,(function(e){var t=e.stripe;return w(I.default,{type:"submit",disabled:!a.isValid,submitting:h,onClick:function(){j(t)}},void 0,A.default.Messages.NEXT)}))};case M.Step.AWAITING_AUTHENTICATION:return{body:J}}throw new Error("Unexpected step: "+e)},t.useSharedPaymentModal=function(e){var t=(0,u.useStateFromStoresObject)([O.default],(function(){return{defaultPaymentSourceId:void 0!==e?e:O.default.defaultPaymentSourceId,paymentSources:O.default.paymentSources,hasFetchedPaymentSources:O.default.hasFetchedPaymentSources}})),n=t.defaultPaymentSourceId,r=t.paymentSources,o=t.hasFetchedPaymentSources;a.useEffect((function(){(0,f.createClient)(),o||(0,d.fetchPaymentSources)()}),[]);var i=a.useState(n),l=i[0],c=i[1];null!=n&&null==l&&c(n);var p=a.useState((function(){return{info:H,isValid:!1}})),v=p[0],y=p[1],m=a.useState((function(){return{token:null}})),_=m[0],h=m[1],E=a.useState((function(){return{info:x,isValid:!1}})),I=E[0],T=E[1],C=(0,u.useStateFromStoresArray)([g.default],(function(){return[g.default.braintreeEmail,g.default.braintreeNonce,g.default.error]})),M=C[0],A=C[1],P=C[2],R=(0,u.useStateFromStoresArray)([S.default],(function(){return[S.default.error,S.default.isAwaitingAuthentication]})),L=R[0],D=R[1];a.useEffect((function(){var e=function(e){var t=e.billingAddress;T({info:t,isValid:t.country.length>0})};return s.default.subscribe(N.ActionTypes.BRAINTREE_TOKENIZE_PAYPAL_SUCCESS,e),function(){s.default.unsubscribe(N.ActionTypes.BRAINTREE_TOKENIZE_PAYPAL_SUCCESS,e)}}),[]);var w=a.useState(!1),j=w[0],k=w[1],U=a.useState(null),G=U[0],F=U[1],B=a.useRef(null);return a.useEffect((function(){null!=G&&null!=B.current&&B.current.scrollIntoView({behavior:"smooth"})}),[G]),{paymentSources:r,paymentSourceId:l,hasFetchedPaymentSources:o,setPaymentSourceId:c,creditCardState:v,setCreditCardState:y,tokenState:_,setTokenState:h,billingAddressState:I,setBillingAddressState:T,isSubmittingCurrentStep:j,setIsSubmittingCurrentStep:k,braintreeEmail:M,braintreeNonce:A,paymentError:null!=L?L:P,paymentAuthenticationState:D?b.PaymentAuthenticationState.PENDING:null!=L?b.PaymentAuthenticationState.ERROR:b.PaymentAuthenticationState.NONE,purchaseError:G,setPurchaseError:F,purchaseErrorBlockRef:B}},t.SHARED_PAYMENT_REQUEST_STEPS=t.SHARED_PAYPAL_STEPS=t.SHARED_CREDIT_CARD_STEPS=t.SHARED_ADD_PAYMENT_STEPS=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=L();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(377),i=R(n(23)),l=n(92),u=n(3),s=R(n(2)),d=n(287),f=n(5692),c=n(5837),p=R(n(5842)),v=R(n(5843)),y=n(5996),m=n(6034),_=n(5997),h=n(5844),E=R(n(5833)),g=R(n(5693)),S=R(n(5836)),O=R(n(693)),I=R(n(29)),T=R(n(16)),C=n(295),b=n(1249),M=n(692),N=n(1),A=R(n(6)),P=R(n(6093));function R(e){return e&&e.__esModule?e:{default:e}}function L(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return L=function(){return e},e}function D(){return(D=Object.assign||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}).apply(this,arguments)}function w(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function j(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function k(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){j(o,r,a,i,l,"next",e)}function l(e){j(o,r,a,i,l,"throw",e)}i(void 0)}))}}var U=[M.Step.PAYMENT_TYPE];t.SHARED_ADD_PAYMENT_STEPS=U;var G=[M.Step.PAYMENT_TYPE,M.Step.CREDIT_CARD_INFORMATION,M.Step.ADDRESS];t.SHARED_CREDIT_CARD_STEPS=G;var F=[M.Step.PAYMENT_TYPE,M.Step.PAYPAL_INFORMATION,M.Step.ADDRESS];t.SHARED_PAYPAL_STEPS=F;var B=[M.Step.PAYMENT_TYPE,M.Step.PAYMENT_REQUEST_INFORMATION,M.Step.ADDRESS];t.SHARED_PAYMENT_REQUEST_STEPS=B;var H={name:"",cardNumber:"",expirationDate:"",cvc:""},x={name:"",country:"US",line1:"",line2:"",city:"",postalCode:"",state:""};function V(e){var t=e.onChooseType,n=e.onPaymentRequestSourceReceived,r=e.onPaymentRequestSourceFailed;return w("div",{className:P.default.body},void 0,w(p.default,{onChooseType:t,allowStripeRequestPayments:!T.default.embedded,onStripePaymentMethodReceived:function(){var e=k(regeneratorRuntime.mark((function e(t){var a,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((0,c.updateStripePaymentRequest)(t),null!=t){e.next=4;break}return r(),e.abrupt("return");case 4:return e.prev=4,e.next=7,(0,d.createPaymentRequestPaymentSource)(t);case 7:a=e.sent,o=(0,C.parseStripePaymentMethod)(t),i=o.billingAddressInfo,n(a.id,i),e.next=14;break;case 12:e.prev=12,e.t0=e.catch(4);case 14:case"end":return e.stop()}}),e,null,[[4,12]])})));return function(t){return e.apply(this,arguments)}}()}))}function W(e){var t=e.onCardInfoChange,n=(0,u.useStateFromStores)([g.default],(function(){return g.default.error}));return w("div",{className:P.default.body},void 0,w(_.CreditCardInformationBody,{billingError:n,onCardInfoChange:t}))}V.displayName="PaymentTypeSelectBody",W.displayName="CreditCardStepBody";var Y=w(v.default,{});function z(){return w("div",{className:P.default.body},void 0,Y)}function K(){var e=(0,u.useStateFromStores)([E.default],(function(){return E.default.isBusy})),t=(0,u.useStateFromStores)([g.default],(function(){return g.default.stripePaymentMethod}));return w(h.PaymentRequestStepBody,{className:P.default.body,stripePaymentMethod:t,submitting:e})}function $(e){var t=e.billingAddressInfo,n=e.onBillingAddressChange,r=(0,u.useStateFromStores)([g.default],(function(){return g.default.error}));return w("div",{className:P.default.body},void 0,w(y.AddressStepBody,{billingAddressInfo:t,billingError:r,onBillingAddressChange:n}))}function Z(){return w(m.AwaitingAuthenticationStepBody,{className:P.default.body})}z.displayName="PaypalStepBody",K.displayName="PaymentRequestStepBodyConnected",$.displayName="AddressFormStepBody",Z.displayName="AwaitingAuthenticationStep";var q=w(z,{}),X=w(K,{}),J=w(Z,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=i(n(9)),o=i(n(6083));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}var u=r.forwardRef((function(e,t){var n,i=e.isActive,l=e.children;return r.createElement("div",{className:(0,a.default)(o.default.wrapper,(n={},n[o.default.wrapperActive]=i,n)),ref:t},l)}));t.default=u},,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,d:"M2.98966977,9.35789159 C2.98966977,9.77582472 2.63442946,10.1240466 2.20807287,10.1240466 L1.78171628,10.1240466 C1.35535969,10.1240466 0.999948837,9.77582472 0.999948837,9.35789159 C0.999948837,8.93995846 1.35535969,8.59173658 1.78171628,8.59173658 L2.20807287,8.59173658 C2.63442946,8.59173658 2.98966977,8.93995846 2.98966977,9.35789159 Z M22.2467643,9.14892503 C24.0942527,12.9800344 22.3888264,17.5772989 18.3384388,19.3882867 C14.4302837,21.1297305 9.74036124,19.457998 7.9638186,15.6268886 C7.60857829,14.8607335 7.3954,14.0248673 7.32428372,13.189001 L5.76091938,13.189001 C5.33456279,13.189001 4.97932248,12.840612 4.97932248,12.4226788 C4.97932248,12.0047457 5.33456279,11.6565238 5.76091938,11.6565238 L8.03493488,11.6565238 C8.46129147,11.6565238 8.81653178,11.3083019 8.81653178,10.8903688 C8.81653178,10.4724357 8.46129147,10.1240466 8.03493488,10.1240466 L4.41090388,10.1240466 C3.98454729,10.1240466 3.62913643,9.77582472 3.62913643,9.35789159 C3.62913643,8.93995846 3.98454729,8.59173658 4.41090388,8.59173658 L9.45606667,8.59173658 C9.88242326,8.59173658 10.2376636,8.24334752 10.2376636,7.82541439 C10.2376636,7.40748126 9.88242326,7.05925937 9.45606667,7.05925937 L7.3954,7.05925937 C6.75586512,7.05925937 6.18727597,6.57161499 6.18727597,5.87517123 C6.18727597,5.24827153 6.68474884,4.69091591 7.3954,4.69091591 L15.4250589,4.69091591 C18.267493,4.8303384 20.9676946,6.43235968 22.2467643,9.14892503 Z M13.2662961,8.38056332 C11.0193969,9.3919615 10.0341721,11.9973566 11.065955,14.1998642 C12.097738,16.4023718 14.755645,17.3681317 17.0025442,16.3567335 C19.249614,15.3453354 20.2346682,12.7399402 19.2028853,10.5374326 C18.1711023,8.33492503 15.5131953,7.36916515 13.2662961,8.38056332 Z M16.8462589,9.84548582 L18.2673907,12.2138293 C18.338507,12.3530846 18.338507,12.4227958 18.2673907,12.5620512 L16.8462589,14.9303946 C16.7751426,15.0696499 16.6330806,15.0696499 16.5619643,15.0696499 L13.7906465,15.0696499 C13.6485845,15.0696499 13.5774682,14.9999387 13.5065225,14.9303946 L12.0852202,12.5620512 C12.0142744,12.4227958 12.0142744,12.3530846 12.0852202,12.2138293 L13.5065225,9.84548582 C13.5774682,9.7062305 13.7197008,9.7062305 13.7906465,9.7062305 L16.5619643,9.7062305 C16.7041969,9.63651925 16.7751426,9.7062305 16.8462589,9.84548582 Z"}))}d.displayName="NitroWheel"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trackAppUIViewed=function(e){f.trackAppUIViewed(e)};var r=l(n(98)),a=l(n(118)),o=l(n(13)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(){return(d=Object.assign||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}).apply(this,arguments)}var f=new(function(){function e(){this.loadId=r.default.v4(),this.appUIViewed=!1}var t=e.prototype;return t.trackEvent=function(e,t){var n=this,r=Date.now();requestIdleCallback((function(){o.default.track(e,d({},function(){for(var e,t,n,r,o=u(null!==(e=null===a.default||void 0===a.default||null===(t=a.default.processUtils)||void 0===t||null===(n=t.getMainArgvSync)||void 0===n?void 0:n.call(t))&&void 0!==e?e:[]);!(r=o()).done;){var i=r.value;if(i.startsWith("--campaign-id="))return{referrer:i.substr("--campaign-id=".length)}}return{}}(),{},function(){var e=!1,t={total_compressed_byte_size:0,total_uncompressed_byte_size:0,total_transfer_byte_size:0,js_compressed_byte_size:0,js_uncompressed_byte_size:0,js_transfer_byte_size:0,css_compressed_byte_size:0,css_uncompressed_byte_size:0,css_transfer_byte_size:0};null!=window.performance&&null!=window.performance.getEntries&&window.performance.getEntries().forEach((function(n){var r=null!=n.encodedBodySize?n.encodedBodySize:n.decodedBodySize,a=null!=n.decodedBodySize?n.decodedBodySize:n.encodedBodySize,o=n.transferSize;null!=a&&null!=r&&(e=!0,t.total_compressed_byte_size+=r,t.total_uncompressed_byte_size+=a,null!=o&&(t.total_uncompressed_byte_size+=o),"resource"===n.entryType&&("script"===n.initiatorType&&null!=n.name&&n.name.match(/\.js/)&&(t.js_compressed_byte_size+=r,t.js_uncompressed_byte_size+=a,null!=o&&(t.js_uncompressed_byte_size+=o)),"link"===n.initiatorType&&null!=n.name&&n.name.match(/\.css/)&&(t.css_compressed_byte_size+=r,t.css_uncompressed_byte_size+=a,null!=o&&(t.css_uncompressed_byte_size+=o))))}));return e?t:{}}(),{load_id:n.loadId,screen_name:t,duration_ms_since_app_opened:r-window.GLOBAL_ENV.HTML_TIMESTAMP}))}))},t.trackAppUIViewed=function(e){this.appUIViewed||(this.trackEvent(i.AnalyticEvents.APP_UI_VIEWED,e),this.appUIViewed=!0)},e}())},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PremiumSelectPlanModal=xe,t.PremiumSelectPlanModalConnected=Ve,t.openPremiumSelectPlanModal=function(e){var t=e||{},n=t.initialPlanId,r=t.followupSKUInfo,o=t.onClose,i=t.analyticsLocation,l=t.isGift,u=void 0!==l&&l,s=t.subscriptionTier,d=t.trialId,f=t.postSuccessGuild;(0,G.openModal)((function(e){var t=e.onClose,l=ve(e,["onClose"]);return a.createElement(Ve,_e({},l,{subscriptionTier:s,isGift:u,initialPlanId:n,followupSKUInfo:r,onClose:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){t(),null==o||o(e)})),analyticsLocation:i,trialId:d,postSuccessGuild:f,planGroup:Te}))}),{onCloseCallback:function(){null==o||o(!1)}})},t.openGuildSelectPlanModal=function(e){var t=e.initialPlanId,n=e.activeSubscription,r=e.onClose,o=e.analyticsLocation,i=e.renderHeader,l=e.renderPurchaseConfirmation,u=e.planGroup;(0,G.openModal)((function(e){var s=e.onClose,d=ve(e,["onClose"]);return a.createElement(xe,_e({},d,{initialPlanId:t,activeSubscription:n,onClose:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){s(),null==r||r(e)})),analyticsLocation:o,renderHeader:i,renderPurchaseConfirmation:l,planGroup:u}))}),{onCloseCallback:function(){null==r||r(!1)}})};var r,a=pe(n(0)),o=n(377),i=fe(n(9)),l=fe(n(23)),u=n(276),s=fe(n(98)),d=n(3),f=n(287),c=n(5829),p=n(5691),v=n(5672),y=fe(n(5674)),m=fe(n(485)),_=fe(n(5840)),h=fe(n(5675)),E=fe(n(5841)),g=fe(n(5852)),S=fe(n(160)),O=fe(n(39)),I=fe(n(257)),T=fe(n(1147)),C=fe(n(5826)),b=fe(n(29)),M=fe(n(1160)),N=fe(n(61)),A=fe(n(55)),P=fe(n(1164)),R=n(1162),L=fe(n(5707)),D=fe(n(151)),w=fe(n(149)),j=n(85),k=n(131),U=n(35),G=n(41),F=fe(n(24)),B=fe(n(13)),H=pe(n(96)),x=n(281),V=n(295),W=n(1249),Y=n(692),z=n(280),K=n(1169),$=n(1173),Z=n(5689),q=n(1237),X=fe(n(5705)),J=fe(n(5678)),Q=fe(n(5695)),ee=fe(n(5696)),te=n(5677),ne=fe(n(6036)),re=n(5676),ae=fe(n(6e3)),oe=n(5700),ie=fe(n(5856)),le=fe(n(5709)),ue=n(1),se=fe(n(6)),de=fe(n(6102));function fe(e){return e&&e.__esModule?e:{default:e}}function ce(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return ce=function(){return e},e}function pe(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=ce();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function ve(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function ye(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function me(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){ye(o,r,a,i,l,"next",e)}function l(e){ye(o,r,a,i,l,"throw",e)}i(void 0)}))}}function _e(){return(_e=Object.assign||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}).apply(this,arguments)}function he(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var Ee=[Y.Step.PLAN_SELECT,Y.Step.REVIEW,Y.Step.CONFIRM],ge=[Y.Step.PLAN_SELECT].concat(te.SHARED_ADD_PAYMENT_STEPS,[Y.Step.REVIEW,Y.Step.CONFIRM]),Se=[Y.Step.PLAN_SELECT].concat(te.SHARED_CREDIT_CARD_STEPS,[Y.Step.REVIEW,Y.Step.CONFIRM]),Oe=[Y.Step.PLAN_SELECT].concat(te.SHARED_PAYPAL_STEPS,[Y.Step.REVIEW,Y.Step.CONFIRM]),Ie=[Y.Step.PLAN_SELECT].concat(te.SHARED_PAYMENT_REQUEST_STEPS,[Y.Step.REVIEW,Y.Step.CONFIRM]),Te=[ue.SubscriptionPlans.PREMIUM_MONTH_LEGACY,ue.SubscriptionPlans.PREMIUM_MONTH_TIER_1,ue.SubscriptionPlans.PREMIUM_YEAR_TIER_1,ue.SubscriptionPlans.PREMIUM_MONTH_TIER_2,ue.SubscriptionPlans.PREMIUM_YEAR_TIER_2,ue.SubscriptionPlans.PREMIUM_YEAR_LEGACY];function Ce(e,t,n){var r,a,o=(r=n,null===(a=e.items.find((function(e){return r.includes(e.planId)})))||void 0===a?void 0:a.planId);return e.type===ue.SubscriptionTypes.PREMIUM&&null==o||((0,l.default)(null!=o,"Current subscription has no plan in group"),(0,l.default)(!(o===ue.SubscriptionPlans.PREMIUM_YEAR_TIER_1&&t===ue.SubscriptionPlans.PREMIUM_MONTH_TIER_2),"Unexpected plan switch"),n.indexOf(o)<n.indexOf(t))}function be(e,t,n){return!Ce(e,t,n)}var Me=[ue.PremiumSubscriptionSKUs.LEGACY,ue.PremiumSubscriptionSKUs.TIER_1,ue.PremiumSubscriptionSKUs.TIER_2];function Ne(e){var t=e.selectSku,n=e.onClose;return a.createElement(a.Fragment,null,he(U.ModalHeader,{separator:!1},void 0,he(k.FormTitle,{tag:k.FormTitleTags.H4},void 0,se.default.Messages.BILLING_STEP_SELECT_PLAN),he(U.ModalCloseButton,{onClick:n})),he(ne.default,{onSelectSku:t}))}function Ae(e){switch(e){case ue.PremiumSubscriptionSKUs.TIER_1:return{month:ue.SubscriptionPlans.PREMIUM_MONTH_TIER_1,year:ue.SubscriptionPlans.PREMIUM_YEAR_TIER_1};case ue.PremiumSubscriptionSKUs.TIER_2:return{month:ue.SubscriptionPlans.PREMIUM_MONTH_TIER_2,year:ue.SubscriptionPlans.PREMIUM_YEAR_TIER_2};default:throw new Error("Unexpected SKU: "+e)}}function Pe(e){var t,n,r,a=e.premiumSubscription,o=e.planId,l=e.selectPlan,u=e.selected,s=e.isGift,f=(0,d.useStateFromStores)([O.default],(function(){return O.default.locale})),c=(0,d.useStateFromStores)([I.default],(function(){return I.default.getHardcoded(o)})),p=null!=a&&a.planId===o,v=p||o===ue.SubscriptionPlans.PREMIUM_MONTH_TIER_2&&null!=a&&a.planId===ue.SubscriptionPlans.PREMIUM_YEAR_TIER_1;return he(N.default,{role:"radio","aria-checked":u,tabIndex:u?0:-1,focusProps:{offset:{left:-4,right:-4,top:0,bottom:0}},onClick:v?void 0:function(){return l(o)},className:(0,i.default)(de.default.planOption,(t={},t[de.default.planOptionDisabled]=v,t))},void 0,he("div",{className:de.default.planOptionClickable},void 0,he(M.default,{readOnly:!0,displayOnly:!0,value:u,shape:M.default.Shapes.ROUND,color:ue.Colors.BRAND,type:M.default.Types.INVERTED,className:de.default.planOptionCheckbox}),he("div",{className:(0,i.default)(de.default.planOptionInterval,(n={},n[de.default.optionSelected]=u,n))},void 0,function(e,t){if(t)switch(e){case ue.SubscriptionIntervalTypes.MONTH:return se.default.Messages.PAYMENT_MODAL_ONE_MONTH;case ue.SubscriptionIntervalTypes.YEAR:return se.default.Messages.PAYMENT_MODAL_ONE_YEAR;default:throw new Error("Unexpected interval")}switch(e){case ue.SubscriptionIntervalTypes.MONTH:return se.default.Messages.MONTHLY;case ue.SubscriptionIntervalTypes.YEAR:return se.default.Messages.YEARLY;default:throw new Error("Unexpected interval")}}(c.interval,s)),p?he("span",{className:de.default.planOptionCurrentPlan},void 0,"(",se.default.Messages.BILLING_SWITCH_PLAN_CURRENT_PLAN,")"):null,c.interval===ue.SubscriptionIntervalTypes.YEAR?null!=a?he("span",{className:de.default.planOptionMonthsFree},void 0,"(",se.default.Messages.BILLING_SWITCH_PLAN_YEARLY_FREE_MONTHS,")"):he("span",{className:de.default.planOptionDiscount},void 0,se.default.Messages.BILLING_PLAN_SELECTION_DISCOUNT.format({discount:(0,x.formatPercent)(f,ue.PREMIUM_YEARLY_DISCOUNT_PERCENT/100)})):null),he("div",{className:(0,i.default)((r={},r[de.default.optionSelected]=u,r))},void 0,(0,x.formatPrice)(c.price,c.currency)))}function Re(e,t){var n,r,a=(n=e.skuId,r=t,Me.indexOf(r)-Me.indexOf(n));return a>0?se.default.Messages.BILLING_SWITCH_PLAN_UPGRADE_BODY_TIER_2:a<0?se.default.Messages.BILLING_SWITCH_PLAN_DOWNGRADE_BODY_TIER_1:e.interval===ue.SubscriptionIntervalTypes.MONTH?t===ue.PremiumSubscriptionSKUs.TIER_2?se.default.Messages.BILLING_SWITCH_PLAN_UPGRADE_BODY_TIER_2_YEAR.format({numFreeGuildSubscriptions:z.NUM_FREE_GUILD_SUBSCRIPTIONS_WITH_PREMIUM}):se.default.Messages.BILLING_SWITCH_PLAN_UPGRADE_BODY_TIER_1_YEAR:se.default.Messages.BILLING_SWITCH_PLAN_DOWNGRADE_BODY_MONTH}function Le(e){var t=e.premiumSubscription,n=e.skuId,r=e.selectedPlanId,o=e.setSelectedPlanId,i=e.canContinue,l=e.isGift,u=void 0!==l&&l,s=(0,d.useStateFromStoresArray)([I.default],(function(){return[null!=t?I.default.getHardcoded(t.planId):null,null!=r?I.default.get(r):null]})),f=s[0],c=s[1],p=(0,Z.usePremiumTrialOffer)(),v=null!=p&&ue.SubscriptionTrials[p.trial_id].skus.includes(n),y=Ae(n);a.useEffect((function(){i||(null==t||u||t.planId!==y.year?o(y.year):o(y.month))}),[i]);var m=(u||!v)&&i,_=(0,R.useRadioGroup)();return he("div",{className:de.default.stepBody},void 0,null==f||u?null:he("div",{className:de.default.bodyText},void 0,Re(f,n)),he("div",{className:de.default.selectPlanChooseTitle},void 0,se.default.Messages.BILLING_SWITCH_PLAN_CHOOSE_ONE),v&&!u?he("div",{className:de.default.selectPlanChooseSubtitle},void 0,se.default.Messages.BILLING_SWITCH_PLAN_CHOOSE_ONE_TRIAL_SUBTITLE.format()):null,a.createElement("div",_,he(Pe,{isGift:u,premiumSubscription:u?null:t,planId:y.year,selectPlan:o,selected:r===y.year}),he(Pe,{isGift:u,premiumSubscription:u?null:t,planId:y.month,selectPlan:o,selected:r===y.month})),he("div",{},void 0,m&&null!=c?he("div",{},void 0,he("div",{className:de.default.selectPlanDivider}),he(q.PremiumInvoiceTableTotalRow,{label:se.default.Messages.BILLING_PAYMENT_BREAKDOWN_TOTAL,value:he(X.default,{price:c.price,currency:c.currency,intervalType:u?null:c.interval}),className:de.default.selectPlanTotalRow})):null))}function De(e){var t=e.premiumSubscription,n=e.newPlan,r=e.onInvoiceError,o=e.planGroup,i=(0,H.getItemsWithUpsertedPlanIdForGroup)(t,n.id,1,new Set(o)),l=(0,K.useSubscriptionInvoicePreview)({subscriptionId:t.id,items:i,renewal:!1,applyEntitlements:!0}),u=l[0],s=l[1],d=(0,K.useSubscriptionInvoicePreview)({subscriptionId:t.id,items:i,renewal:!0}),f=d[0],c=d[1],p=null!=s?s:c;if(a.useEffect((function(){r(p)}),[r,p]),null!=p)return he(P.default,{},void 0,p.message);if(null==u||null==f)return he(D.default,{className:de.default.spinner});var v=H.default.isWithinGrandfatheredUpgradeTime()&&t.planId===ue.SubscriptionPlans.PREMIUM_YEAR_LEGACY&&[ue.SubscriptionPlans.PREMIUM_MONTH_TIER_2,ue.SubscriptionPlans.PREMIUM_YEAR_TIER_2].includes(n.id);return a.createElement(a.Fragment,null,v?he(F.default,{className:de.default.grandfatheredUpgradeNote,size:F.default.Sizes.SIZE_16},void 0,se.default.Messages.PREMIUM_SUBSCRIPTION_GRANDFATHERED_UPGRADE_NOTE):null,he(re.SubscriptionPeriodResetNotice,{proratedInvoice:u,renewalInvoice:f}),he(q.PremiumInvoiceTable,{className:de.default.invoice},void 0,he(q.PremiumInvoiceTableHeader,{},void 0,se.default.Messages.BILLING_SWITCH_PLAN_PURCHASE_DETAILS),he(re.PremiumSubscriptionChangePlanInvoiceRows,{invoice:u,newPlan:n}),he(re.SubscriptionInvoiceFooter,{premiumSubscription:t,proratedInvoice:u,renewalInvoice:f,isUpdate:!0})))}Pe.displayName="PremiumSwitchPlanSelectOption",Le.displayName="PremiumSwitchPlanSelectBody";var we=he("div",{},void 0,he(D.default,{})),je=he(q.PremiumInvoiceTableDivider,{});function ke(e){var t=e.premiumSubscription,n=e.newPlan,r=e.planGroup,o=(0,K.useSubscriptionInvoicePreview)({subscriptionId:t.id,items:(0,H.getItemsWithUpsertedPlanIdForGroup)(t,n.id,1,new Set(r)),renewal:!0,applyEntitlements:!1})[0];if(null==o)return we;var i,l=t.planId===ue.SubscriptionPlans.PREMIUM_YEAR_LEGACY&&n.id===ue.SubscriptionPlans.PREMIUM_YEAR_TIER_2;return i=t.type===ue.SubscriptionTypes.PREMIUM?H.default.getDisplayName(n.id):n.name,he("div",{className:de.default.bodyText},void 0,he("div",{className:de.default.renewalInvoiceDate},void 0,l?se.default.Messages.PREMIUM_GRANDFATHERED_UPGRADE.format():se.default.Messages.BILLING_SWITCH_PLAN_CHANGE_DATE.format({renewalDate:o.subscriptionPeriodStart})),he(q.PremiumInvoiceTable,{className:de.default.invoice},void 0,he(q.PremiumInvoiceTableHeader,{},void 0,l?se.default.Messages.PREMIUM_GRANDFATHERED_UPGRADE_ESTIMATED_TITLE:se.default.Messages.PREMIUM_SUBSCRIPTION_UPDATES),he(q.PremiumInvoiceTableRow,{label:i,value:l?H.default.estimateGrandfatheredUpgradeCost(t):(0,H.getFormattedRateForPlan)(n)}),null!=l?l:a.createElement(a.Fragment,null,je,he(re.SubscriptionInvoiceFooter,{premiumSubscription:t,renewalInvoice:o,isUpdate:!0}))))}function Ue(e){var t,n=e.premiumSubscription,r=e.paymentSources,o=e.paymentSourceId,i=e.onPaymentSourceChange,l=e.onPaymentSourceAdd,u=e.planId,s=e.setHasAcceptedTerms,f=e.legalTermsNodeRef,c=e.hasLegalTermsFlash,p=e.onInvoiceError,v=e.planGroup,_=(0,d.useStateFromStores)([I.default],(function(){return I.default.getHardcoded(u)})),h=(0,d.useStateFromStores)([S.default],(function(){return S.default.hidePersonalInformation})),E=(null==n?void 0:n.planId)===ue.SubscriptionPlans.PREMIUM_YEAR_LEGACY&&u===ue.SubscriptionPlans.PREMIUM_YEAR_TIER_2;return t=E?se.default.Messages.PREMIUM_GRANDFATHERED_UPGRADE_REVIEW_HEADER:(0,H.isPremiumSubscriptionPlan)(u)?H.default.getBillingReviewSubheader(n,u):se.default.Messages.BILLING_SELECT_PLAN_GUILD_SUBSCRIPTION.format({planName:_.name}),he("div",{className:de.default.stepBody},void 0,he(k.FormTitle,{tag:k.FormTitleTags.H5},void 0,t),null!=n?Ce(n,u,v)?he(De,{premiumSubscription:n,newPlan:_,onInvoiceError:p,planGroup:v}):he(ke,{premiumSubscription:n,newPlan:_,planGroup:v}):null,he("div",{className:de.default.paymentSourceWrapper},void 0,he(k.FormTitle,{tag:k.FormTitleTags.H5},void 0,se.default.Messages.PAYMENT_SOURCE_PAYMENT_REQUEST_INFO_TITLE),he(y.default,{paymentSources:Object.values(r),selectedPaymentSourceId:o,onChange:i,onPaymentSourceAdd:l,hidePersonalInformation:h})),a.createElement(J.default,{isActive:c,ref:f},he(m.default,{onChange:s,finePrint:E?se.default.Messages.PREMIUM_GRANDFATHERED_UPGRADE_LEGALESE:H.default.getLegalString(_.interval),forceShow:!0})))}function Ge(e){var t,n=e.premiumSubscription,r=e.planId,o=e.setPurchaseState,i=e.hasAcceptedTerms,u=e.paymentSourceId,s=e.onBack,c=e.onNext,y=e.legalTermsNodeRef,m=e.flashLegalTerms,_=e.invoiceError,h=e.onPurchaseError,E=e.baseAnalyticsData,g=e.flowStartTime,S=e.isGift,O=void 0!==S&&S,T=e.trialId,C=e.planGroup,M=(0,d.useStateFromStores)([I.default],(function(){return I.default.getHardcoded(r)})),N=a.useState(!1),P=N[0],R=N[1],L=(0,oe.useSubscriptionEntitlements)(r,O).hasEntitlements,D=function(e,t,n,r){return(null==t?void 0:t.planId)===ue.SubscriptionPlans.PREMIUM_YEAR_LEGACY&&e.id===ue.SubscriptionPlans.PREMIUM_YEAR_TIER_2?se.default.Messages.PREMIUM_GRANDFATHERED_UPGRADE_CONFIRM:n?se.default.Messages.PAYMENT_MODAL_BUTTON_PREMIUM_GIFT:null!=t?Ce(t,e.id,r)?se.default.Messages.BILLING_SWITCH_PLAN_UPGRADE:se.default.Messages.BILLING_SWITCH_PLAN_CHANGE:(0,H.isPremiumSubscriptionPlan)(e.id)?H.default.getBillingReviewSubheader(null,e.id):se.default.Messages.BILLING_SELECT_PLAN_GUILD_SUBSCRIPTION.format({planName:e.name})}(M,n,O,C),j=(0,H.isPremiumSubscriptionPlan)(r);return t=null!=_?he(b.default,{color:b.default.Colors.GREEN,disabled:!0},void 0,D):i?he(b.default,{onClick:me(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(R(!0),o($.PurchaseState.PURCHASING),e.prev=2,(0,l.default)(null!=u||L,"Missing paymentSourceId"),B.default.track(ue.AnalyticEvents.PAYMENT_FLOW_COMPLETED,_e({},E,{duration_ms:Date.now()-g})),!O){e.next=10;break}return e.next=8,(0,v.purchaseSKU)(ue.PREMIUM_SUBSCRIPTION_APPLICATION,M.skuId,{expectedAmount:M.price,paymentSourceId:u,subscriptionPlanId:r,isGift:!0});case 8:e.next=17;break;case 10:if(null==n){e.next=15;break}return e.next=13,(0,f.updateSubscription)(n,{items:(0,H.getItemsWithUpsertedPlanIdForGroup)(n,r,1,new Set(C)),paymentSourceId:u});case 13:e.next=17;break;case 15:return e.next=17,(0,p.subscribe)(r,u,T);case 17:o($.PurchaseState.COMPLETED),c(),e.next=26;break;case 21:e.prev=21,e.t0=e.catch(2),o($.PurchaseState.FAIL),h(e.t0),B.default.track(ue.AnalyticEvents.PAYMENT_FLOW_FAILED,_e({},E,{payment_source_id:u,duration_ms:Date.now()-g}));case 26:return e.prev=26,R(!1),e.finish(26);case 29:case"end":return e.stop()}}),e,null,[[2,21,26,29]])}))),color:b.default.Colors.GREEN,submitting:P,disabled:null==u&&!L},void 0,D):he(w.default,{text:se.default.Messages.BILLING_ACCEPT_TERMS_TOOLTIP},void 0,(function(e){return a.createElement(b.default,_e({},e,{color:b.default.Colors.GREEN,type:"submit",onClick:function(){null!=y.current&&(y.current.scrollIntoView({behavior:"smooth"}),m())}}),D)})),he(U.ModalFooter,{justify:A.default.Justify.BETWEEN,align:A.default.Align.CENTER},void 0,t,j?he(Q.default,{onClick:s}):null)}function Fe(e){var t=e.planId,n=e.onClose,r=(0,d.useStateFromStores)([I.default],(function(){return I.default.getHardcoded(t)})),a=(0,d.useStateFromStores)([g.default],(function(){return g.default.getGiftCode(r.skuId)}));return he(_.default,{giftCode:a,subscriptionPlan:r,onClose:n})}function Be(e){var t=e.selectedPlanId,n=e.isGift,r=void 0!==n&&n,a=e.paymentSources,o=e.paymentSourceId,i=e.onPaymentSourceChange,l=e.handlePaymentSourceAdd,u=e.setHasAcceptedTerms,s=e.legalTermsNodeRef,f=e.hasLegalTermsFlash,c=e.trialId,p=(0,d.useStateFromStores)([I.default],(function(){return I.default.getHardcoded(t)})),v=[{planId:p.id,quantity:1}],y=(0,K.useSubscriptionInvoicePreview)({items:v,renewal:!1,preventFetch:r,applyEntitlements:!0,trialId:c})[0],m=(0,K.useSubscriptionInvoicePreview)({items:v,renewal:!0,preventFetch:r,trialId:c})[0];return he(ie.default,{paymentSources:a,paymentSourceId:o,plan:p,isGift:r,proratedInvoicePreview:y,renewalInvoicePreview:m,onPaymentSourceChange:i,handlePaymentSourceAdd:l,setHasAcceptedTerms:u,legalTermsNodeRef:s,hasLegalTermsFlash:f,isTrial:null!=c})}function He(e){var t=e.onStepChange,n=e.selectedPlanId,r=e.isGift,a=e.paymentSources,o=(0,d.useStateFromStores)([T.default],(function(){return T.default.getPremiumTypeSubscription()})),i=(0,oe.useSubscriptionEntitlements)(n,r).hasEntitlements;return he(b.default,{onClick:function(){null!=o&&null!=o.paymentSourceId||Object.keys(a).length>0||i?t(Y.Step.REVIEW):t(Y.Step.PAYMENT_TYPE)}},void 0,se.default.Messages.SELECT)}function xe(e){var t=e.isGift,n=void 0!==t&&t,r=e.subscriptionTier,i=e.initialPlanId,p=e.activeSubscription,v=e.followupSKUInfo,y=e.transitionState,m=e.onClose,_=e.analyticsLocation,g=e.trialId,S=e.postSuccessGuild,O=e.renderHeader,M=e.renderPurchaseConfirmation,N=e.planGroup,P=void 0===N?Te:N,R=(0,d.useStateFromStores)([T.default],(function(){return T.default.hasFetchedSubscriptions()})),w=a.useState(Ee),k=w[0],G=w[1],F=a.useState(null!=i?Y.Step.REVIEW:null!=r?Y.Step.PLAN_SELECT:Y.Step.SKU_SELECT),x=F[0],z=F[1];x===Y.Step.PAYMENT_TYPE&&k!==ge&&G(ge);var K=a.useState((function(){return null!=i?I.default.getHardcoded(i).skuId:r})),Z=K[0],q=K[1],X=a.useState(i),J=X[0],ne=X[1],re=(0,d.useStateFromStores)([I.default],(function(){return null!=J?I.default.getHardcoded(J):null})),ie=(0,d.useStateFromStores)([C.default],(function(){return C.default.applicationIdsFetched.has(ue.PREMIUM_SUBSCRIPTION_APPLICATION)})),fe=a.useState($.PurchaseState.WAITING),ce=fe[0],pe=fe[1],ve=a.useState(!1),ye=ve[0],me=ve[1],Ce=a.useState(null),Me=Ce[0],Pe=Ce[1],Re=a.useRef(null),De=(0,h.default)(!1,500),we=De[0],je=De[1];(0,oe.useUnsupportedExternalSubscriptionModalHandler)(p,(function(){return m(!1)}),n);var ke=a.useRef(null!=p?p.planId:null);a.useEffect((function(){null==ke.current&&null!=p&&(ke.current=p.planId)}),[p]);var xe=(0,u.useLazyValue)((function(){return[s.default.v4(),Date.now()]})),Ve=xe[0],We=xe[1],Ye=null!=g&&ue.SubscriptionTrials[g].skus.includes(Z)?g:null,ze={load_id:Ve,payment_type:"subscription",location:_,subscription_type:ue.SubscriptionTypes.PREMIUM,subscription_plan_id:null==re?void 0:re.id,price:null==re?void 0:re.price,regular_price:null==re?void 0:re.price,currency:null==re?void 0:re.currency,is_gift:n,eligible_for_trial:null!=g};a.useEffect((function(){ie||(0,c.fetchUserEntitlementsForApplication)(ue.PREMIUM_SUBSCRIPTION_APPLICATION)}),[ie]),a.useEffect((function(){R||(0,f.fetchSubscriptions)(),B.default.track(ue.AnalyticEvents.PAYMENT_FLOW_STARTED,ze)}),[]);var Ke=(0,te.useSharedPaymentModal)(),$e=Ke.paymentSources,Ze=Ke.paymentSourceId,qe=Ke.setPaymentSourceId,Xe=Ke.creditCardState,Je=Ke.setCreditCardState,Qe=Ke.tokenState,et=Ke.setTokenState,tt=Ke.billingAddressState,nt=Ke.setBillingAddressState,rt=Ke.isSubmittingCurrentStep,at=Ke.setIsSubmittingCurrentStep,ot=Ke.braintreeEmail,it=Ke.braintreeNonce,lt=Ke.paymentError,ut=Ke.paymentAuthenticationState,st=Ke.purchaseError,dt=Ke.setPurchaseError,ft=Ke.purchaseErrorBlockRef,ct=(0,j.useUID)(),pt=(0,u.useStableMemo)((function(){return Date.now()}),[x]),vt=function(e){z(e),dt(null);var t=Date.now();B.default.track(ue.AnalyticEvents.PAYMENT_FLOW_STEP,_e({},ze,{from_step:x,to_step:e,step_duration_ms:t-pt,flow_duration_ms:t-We}))};(0,W.setPaymentStepForAuthentication)(x,ut,vt),(0,Y.setPurchaseStateForStep)(x,ce,pe);var yt=function(){null==m||m(ce===$.PurchaseState.COMPLETED)};(0,E.default)(yt);var mt,_t=(null==p?void 0:p.planId)===ue.SubscriptionPlans.PREMIUM_YEAR_LEGACY&&J===ue.SubscriptionPlans.PREMIUM_YEAR_TIER_2;if(R)switch(null==Ze&&null!=p&&null!=p.paymentSourceId&&qe(p.paymentSourceId),x){case Y.Step.SKU_SELECT:mt=he(Ne,{selectSku:function(e){q(e),vt(Y.Step.PLAN_SELECT)},onClose:yt});break;case Y.Step.PLAN_SELECT:(0,l.default)(null!=Z,"Expected planId");var ht=Ae(Z),Et=J===ht.year||J===ht.month;mt=he(ee.default,{steps:k,isGift:n,currentStep:x,paymentError:lt,body:he(Le,{premiumSubscription:null!=p?p:null,skuId:Z,selectedPlanId:J,setSelectedPlanId:ne,canContinue:Et,isGift:n}),footer:he(U.ModalFooter,{justify:A.default.Justify.BETWEEN,align:A.default.Align.CENTER},void 0,Et&&null!=J?he(He,{paymentSources:$e,onStepChange:vt,selectedPlanId:J,isGift:n}):he(b.default,{disabled:!0},void 0,se.default.Messages.SELECT),null==i&&null==r?he(Q.default,{onClick:function(){return vt(Y.Step.SKU_SELECT)}}):null)});break;case Y.Step.PAYMENT_TYPE:case Y.Step.CREDIT_CARD_INFORMATION:case Y.Step.PAYPAL_INFORMATION:case Y.Step.PAYMENT_REQUEST_INFORMATION:case Y.Step.ADDRESS:case Y.Step.AWAITING_AUTHENTICATION:var gt=(0,te.renderPaymentModalStep)(x,vt,k,G,tt,nt,$e,qe,Xe,Je,Qe,et,rt,at,ot,it,Y.Step.REVIEW,Se,Oe,Ie,ge),St=gt.body,Ot=gt.backStep,It=gt.submitButton;x===Y.Step.PAYMENT_TYPE&&null==Ot&&(Ot=Y.Step.PLAN_SELECT),mt=he(ee.default,{steps:k,currentStep:x,paymentError:lt,body:St,footer:he(U.ModalFooter,{justify:A.default.Justify.BETWEEN,align:A.default.Align.CENTER},void 0,he("div",{},void 0,It),null!=Ot?he(Q.default,{onClick:function(){return null!=Ot&&vt(Ot)}}):null)});break;case Y.Step.REVIEW:(0,l.default)(null!=J,"Expected planId"),mt=he(ee.default,{steps:k,currentStep:x,paymentError:lt,purchaseError:st,purchaseErrorBlockRef:ft,hideBreadcrumbs:_t,body:null==p||n?he(Be,{selectedPlanId:J,isGift:n,paymentSources:$e,paymentSourceId:Ze,onPaymentSourceChange:function(e){return qe(null!=e?e.id:null)},handlePaymentSourceAdd:function(){return vt(Y.Step.PAYMENT_TYPE)},setHasAcceptedTerms:me,legalTermsNodeRef:Re,hasLegalTermsFlash:we,trialId:Ye}):he(Ue,{premiumSubscription:p,paymentSources:$e,paymentSourceId:Ze,onPaymentSourceChange:function(e){return qe(null!=e?e.id:null)},onPaymentSourceAdd:function(){vt(Y.Step.PAYMENT_TYPE),qe(null)},planId:J,setHasAcceptedTerms:me,legalTermsNodeRef:Re,hasLegalTermsFlash:we,onInvoiceError:function(e){return Pe(e)},planGroup:P}),footer:he(Ge,{premiumSubscription:null!=p?p:null,planId:J,hasAcceptedTerms:ye,paymentSourceId:Ze,setPurchaseState:pe,onBack:function(){return vt(Y.Step.PLAN_SELECT)},onNext:function(){return vt(Y.Step.CONFIRM)},onPurchaseError:function(e){return dt(e)},legalTermsNodeRef:Re,flashLegalTerms:function(){return je(!0)},invoiceError:Me,baseAnalyticsData:ze,flowStartTime:We,isGift:n,trialId:Ye,planGroup:P})});break;case Y.Step.CONFIRM:var Tt;(0,l.default)(null!=J,"Expected planId"),(0,l.default)(null!=Z,"Expected selectedSkuId"),Tt=null!=M?M(re,yt):n?he(Fe,{planId:J,onClose:yt}):ke.current===J?he(le.default,{planId:J,postSuccessGuild:S,onClose:yt}):he(le.default,{followupSKUInfo:v,startingPremiumSubscriptionPlanId:ke.current,planId:J,onClose:yt,isDowngrade:null!=p&&be(p,J,P)}),mt=he(ee.default,{steps:k,currentStep:x,body:Tt,hideBreadcrumbs:!0});break;default:throw new Error("Unexpected step "+x)}else mt=he(D.default,{className:de.default.spinner});var Ct,bt,Mt=null==J||(0,H.isPremiumSubscriptionPlan)(J),Nt=null;return null!=O?Nt=O(re,yt):x!==Y.Step.SKU_SELECT&&null!=Z&&((0,l.default)((Ct=Z,bt=ue.PremiumSubscriptionSKUToPremiumType,Ct in bt),"invalid sku id: "+Z),Nt=he(ae.default,{currentStep:x,purchaseState:ce,headerId:ct,premiumType:ue.PremiumSubscriptionSKUToPremiumType[Z],onClose:yt})),he(o.Elements,{options:ue.StripeElementsOptions,stripe:(0,V.ensureStripeV3IsLoaded)()},void 0,he(L.default,{className:de.default.shaker,isShaking:Mt&&ce===$.PurchaseState.PURCHASING,intensity:2},void 0,he(U.ModalRoot,{className:de.default.root,transitionState:y,"aria-labelledby":ct},void 0,Nt,mt)))}function Ve(e){var t=(0,d.useStateFromStores)([T.default],(function(){return T.default.getPremiumTypeSubscription()}));return a.createElement(xe,_e({},e,{activeSubscription:null!=t?t:void 0}))}ke.displayName="PremiumSwitchPlanRenewalMutation",Ue.displayName="PremiumSwitchPlanReviewBody",Ge.displayName="PremiumSwitchPlanReviewFooter",Fe.displayName="PremiumSubscriptionGiftPurchaseConfirmation",Be.displayName="PremiumSubscriptionReview",He.displayName="PlanSelectFooterButton",xe.displayName="PremiumSelectPlanModal",Ve.displayName="PremiumSelectPlanModalConnected"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTrialOffer=c,t.usePremiumTrialOffer=function(){return c(u.PREMIUM_TIER_2_LIKELIHOOD_TRIAL_ID)};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(3),o=n(57),i=s(n(12)),l=s(n(5959)),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){return null!=e&&null!=e.expires_at&&Date.now()>Date.parse(e.expires_at)}function c(e){var t=(0,a.useStateFromStores)([l.default],(function(){return l.default.getUserTrialOffer(e)})),n=r.useState(f(t)),u=n[0],s=n[1],d=(0,a.useStateFromStores)([i.default],(function(){var e;return null===(e=i.default.getNullableCurrentUser())||void 0===e?void 0:e.hasPremiumPerks}));return r.useEffect((function(){var e;if(null!=t&&null!=t.expires_at){e=new o.Timeout;!function n(){var r,a=null!=t.expires_at?Date.parse(t.expires_at)-Date.now():0;null===(r=e)||void 0===r||r.start(a,(function(){!u&&f(t)?s(!0):n()}))}()}return function(){var t;return null===(t=e)||void 0===t?void 0:t.stop()}}),[u,t]),u||d?null:t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(9)),i=d(n(61)),l=d(n(55)),u=d(n(683)),s=d(n(6087));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).renderBreadcrumb=function(e,n){var r,a,l=t.props,d=l.activeId,f=l.onBreadcrumbClick,p=l.breadcrumbs,v=l.renderCustomBreadcrumb,y=l.separatorClassName,m=e.id===d,_=n===p.length-1,h=v?v(e,m):c("span",{className:(0,o.default)(s.default.breadcrumb,(r={},r[s.default.activeBreadcrumb]=m,r[s.default.interactiveBreadcrumb]=null!=f,r))},void 0,e.label);return c("div",{className:(0,o.default)(s.default.breadcrumbWrapper,(a={},a[s.default.breadcrumbFinalWrapper]=_,a))},e.id,f?c(i.default,{tag:"span",onClick:function(){return t.handleClick(e)},className:s.default.breadcrumbClickWrapper},void 0,h):h,_?null:c(u.default,{className:(0,o.default)(s.default.breadcrumbArrow,y),direction:u.default.Directions.RIGHT}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var a=r.prototype;return a.handleClick=function(e){var t=this.props.onBreadcrumbClick;null!=t&&t(e)},a.render=function(){var e=this.props,t=e.breadcrumbs,n=e.className,r=t.map(this.renderBreadcrumb);return c(l.default,{justify:l.default.Justify.START,className:(0,o.default)(s.default.breadcrumbs,n)},void 0,r)},r}(a.PureComponent);v.displayName="Breadcrumbs";var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subscribe=function(e,t,n){return v.apply(this,arguments)},t.cancel=function(e){return new Promise((function(t,n){l.cancelSubscription(e).then(t).catch((function(e){i.default.show({body:s.default.Messages.PREMIUM_CANCEL_FAILED_BODY}),n(e)}))}))},t.resubscribe=function(e,t){return y.apply(this,arguments)},t.changePaymentSource=function(e,t){return m.apply(this,arguments)},t.clearError=function(){a.default.dispatch({type:u.ActionTypes.PREMIUM_PAYMENT_ERROR_CLEAR})},t.selectPlan=function(e){a.default.dispatch({type:u.ActionTypes.PREMIUM_PAYMENT_SELECT_PLAN,subscriptionPlanId:e})};var r=f(n(23)),a=f(n(2)),o=n(96),i=f(n(154)),l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(287)),u=n(1),s=f(n(6));function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){return e&&e.__esModule?e:{default:e}}function c(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){c(o,r,a,i,l,"next",e)}function l(e){c(o,r,a,i,l,"throw",e)}i(void 0)}))}}function v(){return(v=p(regeneratorRuntime.mark((function e(t,n,r){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a.default.dispatch({type:u.ActionTypes.PREMIUM_PAYMENT_SUBSCRIBE_START}),e.prev=1,e.next=4,l.createSubscription({items:[{planId:t,quantity:1}],paymentSourceId:n,trialId:r});case 4:return o=e.sent,a.default.dispatch({type:u.ActionTypes.PREMIUM_PAYMENT_SUBSCRIBE_SUCCESS,subscription:o}),e.abrupt("return",o);case 9:throw e.prev=9,e.t0=e.catch(1),a.default.dispatch({type:u.ActionTypes.PREMIUM_PAYMENT_SUBSCRIBE_FAIL,error:e.t0}),e.t0;case 13:case"end":return e.stop()}}),e,null,[[1,9]])})))).apply(this,arguments)}function y(){return(y=p(regeneratorRuntime.mark((function e(t,n){var i,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,i=(0,o.getPremiumPlan)(t),(0,r.default)(i,"Expected existing premium plan"),s=(0,o.getItemsWithUpsertedPremiumPlanId)(t,i.planId),e.next=6,l.updateSubscription(t,{status:u.SubscriptionStatusTypes.ACTIVE,paymentSourceId:null==n?void 0:n.id,items:s});case 6:a.default.dispatch({type:u.ActionTypes.PREMIUM_PAYMENT_UPDATE_SUCCESS}),e.next=13;break;case 9:throw e.prev=9,e.t0=e.catch(0),a.default.dispatch({type:u.ActionTypes.PREMIUM_PAYMENT_UPDATE_FAIL,error:e.t0}),e.t0;case 13:case"end":return e.stop()}}),e,null,[[0,9]])})))).apply(this,arguments)}function m(){return(m=p(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,l.changePaymentSource(t,n);case 3:a.default.dispatch({type:u.ActionTypes.PREMIUM_PAYMENT_UPDATE_SUCCESS}),e.next=10;break;case 6:throw e.prev=6,e.t0=e.catch(0),a.default.dispatch({type:u.ActionTypes.PREMIUM_PAYMENT_UPDATE_FAIL,error:e.t0}),e.t0;case 10:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createClient=function(){d().then((function(e){e.client.create({authorization:u.PaymentSettings.BRAINTREE.KEY}).then((function(e){a.default.dispatch({type:u.ActionTypes.BRAINTREE_CREATE_CLIENT_SUCCESS,client:e}),f()})).catch((function(){return a.default.dispatch({type:u.ActionTypes.BRAINTREE_CREATE_CLIENT_FAIL})}))}))},t.createPayPalClient=f,t.tokenizePayPal=c,t.teardown=function(){var e=i.default.getPayPalClient();if(null==e)return Promise.resolve();a.default.dispatch({type:u.ActionTypes.BRAINTREE_TEARDOWN_PAYPAL_CLIENT});try{return e.teardown()}catch(e){return Promise.resolve()}},t.popupBridgeCallback=function(e){var t=e.state,n=e.path,o=e.query,i=e.insecure;return a.default.dispatch({type:u.ActionTypes.BRAINTREE_POPUP_BRIDGE_CALLBACK_START}),r.default.post({url:u.Endpoints.BILLING_BRAINTREE_POPUP_BRIDGE_CALLBACK,body:{state:t,path:n,query:o,insecure:i},oldFormErrors:!0}).then((function(e){return a.default.dispatch({type:u.ActionTypes.BRAINTREE_POPUP_BRIDGE_CALLBACK_END}),e}))},t.reopenPayPalWindow=function(){var e=i.default.getLastURL();null==e?c():(a.default.dispatch({type:u.ActionTypes.BRAINTREE_TOKENIZE_PAYPAL_START}),window.open(e))};var r=s(n(14)),a=s(n(2)),o=n(277),i=s(n(5839)),l=s(n(16)),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(){return(0,o.importWithRetry)({createPromise:function(){return Promise.all([n.e(73),n.e(35)]).then(n.t.bind(null,6011,7))},webpackId:6011}).then((function(e){return e.default}))}function f(){var e=i.default.getClient();if(null==e)throw new Error("braintree client must be initialized before calling this");d().then((function(t){t.paypal.create({client:e}).then((function(e){if(null==e._navigateFrameToAuth)throw new Error("braintree client missing _navigateFrameToAuth. did someone upgrade the braintree library?");e._navigateFrameToAuth=function(e){var t=this,n=this._formatPaymentResourceData(e);return r.default.post({url:u.Endpoints.BILLING_PAYPAL_BILLING_AGREEMENT_TOKENS,oldFormErrors:!0,body:{return_url:n.returnUrl,cancel_url:n.cancelUrl}}).then((function(e){var n=e.body.token;t._frameService.redirect(function(e){return(u.PaymentSettings.BRAINTREE.KEY.startsWith("production_")?"https://www.paypal.com":"https://sandbox.paypal.com")+"/agreements/approve?nolegacy=1&ba_token="+e}(n))})).catch((function(e){return t._frameService.close(),t._authorizationInProgress=!1,Promise.reject(new Error(e.body&&e.body.message))}))},a.default.dispatch({type:u.ActionTypes.BRAINTREE_CREATE_PAYPAL_CLIENT_SUCCESS,paypalClient:e})})).catch((function(){return a.default.dispatch({type:u.ActionTypes.BRAINTREE_CREATE_PAYPAL_CLIENT_FAIL})}))}))}function c(){var e=i.default.getPayPalClient();if(null==e)throw new Error("braintree paypal client must be initialized before calling this");a.default.dirtyDispatch({type:u.ActionTypes.BRAINTREE_TOKENIZE_PAYPAL_START});var t=Promise.resolve();l.default.isDesktop()&&(t=r.default.post({url:u.Endpoints.BILLING_BRAINTREE_POPUP_BRIDGE,oldFormErrors:!0}).then((function(e){var t=e.body.state;return a.default.dispatch({type:u.ActionTypes.BRAINTREE_POPUP_BRIDGE_STATE_UPDATE,state:t})}))),t.then((function(){return e.tokenize({flow:"vault"})})).then((function(e){var t=e.details,n=t.email,r=t.firstName,o=t.lastName,i=t.billingAddress;a.default.dirtyDispatch({type:u.ActionTypes.BRAINTREE_TOKENIZE_PAYPAL_SUCCESS,nonce:e.nonce,email:n,billingAddress:{name:r+" "+o,line1:i.line1,line2:i.line2,city:i.city,state:i.state,country:i.countryCode,postalCode:i.postalCode}})})).catch((function(e){var t=e.message,n=e.code;n===u.BraintreeErrors.PAYPAL_POPUP_CLOSED||null==n?a.default.dirtyDispatch({type:u.ActionTypes.BRAINTREE_TOKENIZE_PAYPAL_FAIL_WINDOW_CLOSED}):a.default.dirtyDispatch({type:u.ActionTypes.BRAINTREE_TOKENIZE_PAYPAL_FAIL,message:t,code:n})}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),a=l(n(2)),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(295));n(1);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d="",f=null,c=null,p=!1,v="US",y="",m="",_="",h="",E="",g="",S=!1,O=null;function I(){c=null,d="",f=null,p=!1,v="US",y="",m="",_="",h="",E="",g="",S=!1,O=null}function T(e){y=e.name,v=e.country,m=e.line1,_=e.line2,h=e.city,E=e.postalCode,g=e.state}function C(){O=null}var b=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var a,o,i,l=r.prototype;return l.getCreditCardInfo=function(){return{name:y}},l.getBillingAddressInfo=function(){return{name:y,country:v,line1:m,line2:_,city:h,postalCode:E,state:g}},a=r,(o=[{key:"stripePaymentMethod",get:function(){return c}},{key:"braintreeEmail",get:function(){return d}},{key:"braintreeNonce",get:function(){return f}},{key:"isCardInfoValid",get:function(){return p}},{key:"isBillingAddressInfoValid",get:function(){return S}},{key:"error",get:function(){return O}}])&&u(a.prototype,o),i&&u(a,i),r}(r.default.Store))(a.default,{NEW_PAYMENT_SOURCE_STRIPE_PAYMENT_REQUEST_UPDATE:function(e){var t=e.stripePaymentMethod;null!=t?(c=t,T(o.parseStripePaymentMethod(c).billingAddressInfo)):I()},NEW_PAYMENT_SOURCE_CARD_INFO_UPDATE:function(e){var t=e.info,n=e.isValid;y=t.name,p=n},NEW_PAYMENT_SOURCE_ADDRESS_INFO_UPDATE:function(e){var t=e.info,n=e.isValid;v=t.country,m=t.line1,_=t.line2,h=t.city,E=t.postalCode,g=t.state,S=n},BRAINTREE_TOKENIZE_PAYPAL_START:function(e){return d="",void(f=null)},BRAINTREE_TOKENIZE_PAYPAL_SUCCESS:function(e){var t=e.email,n=e.nonce,r=e.billingAddress;d=t,f=n,T(r),S=v.length>0},BILLING_PAYMENT_SOURCE_CREATE_START:function(e){return C()},MODAL_POP:function(e){return C()},NEW_PAYMENT_SOURCE_CLEAR_ERROR:function(e){return C()},BILLING_PAYMENT_SOURCE_CREATE_FAIL:function(e){var t=e.error;O=t},BILLING_PAYMENT_SOURCE_CREATE_SUCCESS:function(e){return I()},LOGOUT:function(e){return I()}});t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({width:n,height:a},(0,i.default)(c),{viewBox:"0 0 24 24"}),s("path",{fill:d,className:f,fillRule:"evenodd",clipRule:"evenodd",d:"M16.886 7.999H20C21.104 7.999 22 8.896 22 9.999V11.999H2V9.999C2 8.896 2.897 7.999 4 7.999H7.114C6.663 7.764 6.236 7.477 5.879 7.121C4.709 5.951 4.709 4.048 5.879 2.879C7.012 1.746 8.986 1.746 10.121 2.877C11.758 4.514 11.979 7.595 11.998 7.941C11.9991 7.9525 11.9966 7.96279 11.9941 7.97304C11.992 7.98151 11.99 7.98995 11.99 7.999H12.01C12.01 7.98986 12.0079 7.98134 12.0058 7.97287C12.0034 7.96282 12.0009 7.95286 12.002 7.942C12.022 7.596 12.242 4.515 13.879 2.878C15.014 1.745 16.986 1.746 18.121 2.877C19.29 4.049 19.29 5.952 18.121 7.121C17.764 7.477 17.337 7.764 16.886 7.999ZM7.293 5.707C6.903 5.316 6.903 4.682 7.293 4.292C7.481 4.103 7.732 4 8 4C8.268 4 8.519 4.103 8.707 4.292C9.297 4.882 9.641 5.94 9.825 6.822C8.945 6.639 7.879 6.293 7.293 5.707ZM14.174 6.824C14.359 5.941 14.702 4.883 15.293 4.293C15.481 4.103 15.732 4 16 4C16.268 4 16.519 4.103 16.706 4.291C17.096 4.682 17.097 5.316 16.707 5.707C16.116 6.298 15.057 6.642 14.174 6.824ZM3 13.999V19.999C3 21.102 3.897 21.999 5 21.999H11V13.999H3ZM13 13.999V21.999H19C20.104 21.999 21 21.102 21 19.999V13.999H13Z"}))}d.displayName="Gift"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(271)),o=l(n(6)),i=l(n(6084));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=function(e){var t=e.onClick;return s(a.default,{onClick:t,className:i.default.link},void 0,o.default.Messages.BACK)};d.displayName="PaymentModalBackButton";var f=d;t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.steps,n=e.currentStep,r=e.body,y=e.paymentError,m=e.header,E=e.footer,g=e.isGift,S=void 0!==g&&g,O=e.hideBreadcrumbs,I=void 0!==O&&O,T=e.isLoading,C=void 0!==T&&T,b=e.purchaseError,M=e.purchaseErrorBlockRef,N=e.onScroll,A=e.withScroller,P=void 0===A||A,R=null!=y&&null==(0,c.errorToStep)(y)?y:b;return a.createElement(a.Fragment,null,m,_("div",{className:v.default.content},void 0,S&&n!==c.Step.CONFIRM?_(o.default,{className:v.default.paymentNote,iconSize:o.default.Sizes.SMALL,icon:d.default,color:o.default.Colors.PRIMARY},void 0,p.default.Messages.PREMIUM_PAYMENT_IS_GIFT):null,I?null:_("div",{className:v.default.breadcrumbsWrapper},void 0,_(l.default,{activeId:c.COLLAPSED_PAYMENT_BREADCRUMB_STEPS.has(n)?c.Step.PAYMENT_TYPE:n,breadcrumbs:t.filter((function(e){return!c.COLLAPSED_PAYMENT_BREADCRUMB_STEPS.has(e)&&!h.has(e)})).map((function(e){return{id:e,label:(0,c.getLabelForStep)(e)}}))})),_("div",{className:v.default.bodyWrapper},void 0,null==R?null:_("div",{className:v.default.errorBlockWrapper},void 0,a.createElement(u.default,{ref:M},R.message)),C?_(s.default,{className:v.default.loadingBlock}):_(i.default,{className:v.default.sequencer,staticClassName:v.default.sequencerStatic,animatedNodeClassName:v.default.sequencerAnimatedNode,fillParent:!0,step:n,steps:t,sideMargin:20},void 0,P?_(f.AdvancedScrollerThin,{onScroll:N,className:v.default.scroller},void 0,r):r))),E)};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(5970)),i=y(n(5673)),l=y(n(5690)),u=y(n(1164)),s=y(n(151)),d=y(n(5694)),f=n(468),c=n(692),p=y(n(6)),v=y(n(6088));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=new Set([c.Step.CONFIRM])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PremiumSubscriptionNewPlanModalHeader=ie,t.PremiumSubscriptionNewPlanModal=ue,t.openPremiumSubscriptionNewPlanModal=function(e){var t=e.planId,n=e.isGift,r=e.analyticsLocation,o=e.onClose,i=e.trialId;if(!h.default.getCurrentUser().verified)return void(0,A.openModal)((function(e){var t=e.onClose,n=q(e,["onClose"]);return a.createElement(v.default,Q({},n,{onClose:t}))}));var l=!1;(0,A.openModal)((function(e){var o=e.onClose,u=q(e,["onClose"]);return a.createElement(ue,Q({},u,{planId:t,isGift:n,analyticsLocation:r,onClose:o,onComplete:function(){l=!0},trialId:i}))}),{onCloseCallback:function(){null==o||o(l)}})};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=Z();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(377),i=$(n(23)),l=n(276),u=$(n(98)),s=n(3),d=n(5829),f=n(5691),c=n(5672),p=$(n(5840)),v=$(n(5850)),y=$(n(5675)),m=$(n(5841)),_=$(n(5852)),h=$(n(12)),E=$(n(257)),g=$(n(29)),S=$(n(55)),O=$(n(5707)),I=$(n(149)),T=n(85),C=$(n(1151)),b=$(n(5845)),M=$(n(5706)),N=n(35),A=n(41),P=$(n(13)),R=$(n(96)),L=n(295),D=n(1249),w=n(692),j=n(280),k=n(1169),U=n(1173),G=$(n(5695)),F=$(n(5696)),B=n(5677),H=n(5854),x=n(5700),V=$(n(5856)),W=$(n(5709)),Y=n(1),z=$(n(6)),K=$(n(5711));function $(e){return e&&e.__esModule?e:{default:e}}function Z(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Z=function(){return e},e}function q(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function X(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function J(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){X(o,r,a,i,l,"next",e)}function l(e){X(o,r,a,i,l,"throw",e)}i(void 0)}))}}function Q(){return(Q=Object.assign||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}).apply(this,arguments)}function ee(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var te=[w.Step.PAYMENT_TYPE,w.Step.REVIEW,w.Step.CONFIRM],ne=[].concat(B.SHARED_ADD_PAYMENT_STEPS,[w.Step.REVIEW,w.Step.CONFIRM]),re=[].concat(B.SHARED_CREDIT_CARD_STEPS,[w.Step.REVIEW,w.Step.CONFIRM]),ae=[].concat(B.SHARED_PAYPAL_STEPS,[w.Step.REVIEW,w.Step.CONFIRM]),oe=[].concat(B.SHARED_PAYMENT_REQUEST_STEPS,[w.Step.REVIEW,w.Step.CONFIRM]);function ie(e){var t=e.premiumType,n=e.step,r=e.purchaseState,a=e.headerId,o=e.onClose,i=t===Y.PremiumTypes.TIER_1,l=i?M.default:b.default;return ee(N.ModalHeader,{className:t===Y.PremiumTypes.TIER_1?K.default.headerTier1:K.default.headerTier2,separator:!1,id:a},void 0,ee("div",{className:K.default.headerAnimationWrapper},void 0,ee(i?H.PremiumModalHeaderAnimationTier1:H.PremiumModalHeaderAnimationTier2,{className:K.default.headerAnimation,currentStep:n,purchaseState:r})),ee("div",{className:K.default.headerLogo},void 0,ee(C.default,{className:K.default.headerLogoWordmark}),ee(l,{className:i?K.default.headerLogoTier1:K.default.headerLogoTier2})),ee(N.ModalCloseButton,{hideOnFullscreen:!0,className:K.default.closeButton,onClick:o}))}function le(e){var t=e.hasEntitlements,n=e.plan,r=e.hasAcceptedTerms,o=e.paymentSource,l=e.isGift,u=e.setPurchaseState,s=e.onNext,d=e.legalTermsNodeRef,p=e.flashLegalTerms,v=e.trialId,y=a.useState(!1),m=y[0],_=y[1],h=l?z.default.Messages.PAYMENT_MODAL_BUTTON_PREMIUM_GIFT:R.default.getBillingReviewSubheader(null,n.id),E=function(){null!=d.current&&(d.current.scrollIntoView({behavior:"smooth"}),p())};return ee(N.ModalFooter,{align:S.default.Align.CENTER},void 0,!r||!t&&null==o?ee(I.default,{text:r?z.default.Messages.BILLING_SELECT_PAYMENT_SOURCE_TOOLTIP:z.default.Messages.BILLING_ACCEPT_TERMS_TOOLTIP},void 0,(function(e){return a.createElement(g.default,Q({},e,{onClick:r?void 0:E,color:g.default.Colors.GREEN,type:"submit",disabled:r}),h)})):ee(g.default,{onClick:J(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(_(!0),u(U.PurchaseState.PURCHASING),e.prev=2,!l){e.next=9;break}return(0,i.default)(null!=o,"Cannot purchase gift without payment source"),e.next=7,(0,c.purchaseSKU)(Y.PREMIUM_SUBSCRIPTION_APPLICATION,n.skuId,{expectedAmount:n.price,paymentSourceId:o.id,subscriptionPlanId:n.id,isGift:!0});case 7:e.next=11;break;case 9:return e.next=11,(0,f.subscribe)(n.id,null!=o?o.id:null,v);case 11:u(U.PurchaseState.COMPLETED),s(),e.next=18;break;case 15:e.prev=15,e.t0=e.catch(2),u(U.PurchaseState.FAIL,e.t0);case 18:return e.prev=18,_(!1),e.finish(18);case 21:case"end":return e.stop()}}),e,null,[[2,15,18,21]])}))),color:g.default.Colors.GREEN,submitting:m},void 0,h))}function ue(e){var t=e.planId,n=e.isGift,r=void 0!==n&&n,f=e.onClose,c=e.onComplete,v=e.transitionState,h=e.analyticsLocation,g=e.trialId,I=(0,B.useSharedPaymentModal)(),C=I.paymentSources,b=I.paymentSourceId,M=I.hasFetchedPaymentSources,A=I.setPaymentSourceId,H=I.creditCardState,z=I.setCreditCardState,$=I.tokenState,Z=I.setTokenState,q=I.billingAddressState,X=I.setBillingAddressState,J=I.isSubmittingCurrentStep,ue=I.setIsSubmittingCurrentStep,se=I.braintreeEmail,de=I.braintreeNonce,fe=I.paymentError,ce=I.paymentAuthenticationState,pe=I.purchaseError,ve=I.setPurchaseError,ye=I.purchaseErrorBlockRef,me=(0,T.useUID)(),_e=(0,s.useStateFromStores)([E.default],(function(){return E.default.getHardcoded(t)})),he=(0,s.useStateFromStores)([_.default],(function(){return _.default.getGiftCode(_e.skuId)})),Ee=(0,x.useSubscriptionEntitlements)(t,r),ge=Ee.hasEntitlements,Se=Ee.entitlements,Oe=Object.keys(C).length>0,Ie=a.useState(M?Oe||ge?w.Step.REVIEW:w.Step.PAYMENT_TYPE:null),Te=Ie[0],Ce=Ie[1],be=a.useRef(Te),Me=a.useState(Oe?te:ne),Ne=Me[0],Ae=Me[1];a.useEffect((function(){M&&(Ce(Oe||ge?w.Step.REVIEW:w.Step.PAYMENT_TYPE),Ae(Oe?te:ne))}),[M]);var Pe=a.useState(U.PurchaseState.WAITING),Re=Pe[0],Le=Pe[1],De=a.useState(!1),we=De[0],je=De[1],ke=[{planId:_e.id,quantity:1}],Ue=(0,k.useSubscriptionInvoicePreview)({items:ke,renewal:!0,preventFetch:r,trialId:g})[0],Ge=(0,k.useSubscriptionInvoicePreview)({items:ke,renewal:!1,preventFetch:r,applyEntitlements:!0,trialId:g})[0],Fe=(0,l.useLazyValue)((function(){return[u.default.v4(),Date.now()]})),Be=Fe[0],He=Fe[1],xe=(0,l.useStableMemo)((function(){return Date.now()}),[Te]),Ve=a.useRef(null),We=(0,y.default)(!1,j.LEGAL_TERMS_FLASH_DURATION),Ye=We[0],ze=We[1],Ke=null!=Ge?Ge.total:null!=Ue?Ue.total:_e.price,$e=null!=Ue?Ue.currency:_e.currency,Ze={load_id:Be,payment_type:"subscription",subscription_plan_gateway_plan_id:Y.SubscriptionPlanGatewayPlans[t],subscription_type:Y.SubscriptionTypes.PREMIUM,subscription_plan_id:_e.id,price:Ke,regular_price:_e.price,currency:$e,is_gift:r,location:h,eligible_for_trial:null!=g};a.useEffect((function(){null==Se&&(0,d.fetchUserEntitlementsForApplication)(Y.PREMIUM_SUBSCRIPTION_APPLICATION),P.default.track(Y.AnalyticEvents.PAYMENT_FLOW_STARTED,Ze)}),[]),a.useEffect((function(){var e=Date.now();P.default.track(Y.AnalyticEvents.PAYMENT_FLOW_STEP,Q({},Ze,{from_step:be.current,to_step:Te,step_duration_ms:e-xe,flow_duration_ms:e-He}))}),[Te]),null!=Te&&((0,D.setPaymentStepForAuthentication)(Te,ce,Ce),(0,w.setPurchaseStateForStep)(Te,Re,Le));var qe=function(e){be.current=Te,Ce(e),null!=pe&&ve(null)},Xe=function(e,t){if(Le(e),ve(t),e!==Re)if(e===U.PurchaseState.PURCHASING)P.default.track(Y.AnalyticEvents.PAYMENT_FLOW_COMPLETED,Q({},Ze,{duration_ms:Date.now()-He}));else if(e===U.PurchaseState.FAIL){var n=null!=b?C[b]:null;P.default.track(Y.AnalyticEvents.PAYMENT_FLOW_FAILED,Q({},Ze,{payment_gateway:null!=n?n.type===Y.PaymentSourceTypes.CARD?Y.PaymentGateways.STRIPE:Y.PaymentGateways.BRAINTREE:null,payment_source_id:null!=n?n.id:null,duration_ms:Date.now()-He}))}else e===U.PurchaseState.COMPLETED&&(null==c||c())},Je=function(){null==f||f(Re===U.PurchaseState.COMPLETED)};(0,m.default)(Je);var Qe=function(e){var t=e.body,n=e.footer,a=e.step,o=e.hideBreadcrumbs,i=void 0!==o&&o,l=e.isLoading,u=void 0!==l&&l;return ee(F.default,{steps:Ne,currentStep:a,paymentError:pe||fe,body:t,footer:n,isGift:r,hideBreadcrumbs:i,isLoading:u,purchaseErrorBlockRef:ye})},et=ee(p.default,{giftCode:he,subscriptionPlan:_e,onClose:Je}),tt=ee(W.default,{planId:t,onClose:Je}),nt=R.default.getPremiumType(t);return(0,i.default)(null!=nt,"Missing premium type"),ee(o.Elements,{options:Y.StripeElementsOptions,stripe:(0,L.ensureStripeV3IsLoaded)()},void 0,ee(O.default,{className:K.default.shaker,isShaking:Re===U.PurchaseState.PURCHASING,intensity:2},void 0,ee(N.ModalRoot,{className:K.default.root,transitionState:v,"aria-labelledby":me},void 0,ee(ie,{premiumType:nt,step:null!=Te?Te:w.Step.PAYMENT_TYPE,purchaseState:Re,headerId:me,onClose:Je}),ee("form",{className:K.default.contentWrapper,onSubmit:function(e){return e.preventDefault()}},void 0,M&&null!=Te?function(e){switch(e){case w.Step.PAYMENT_TYPE:case w.Step.CREDIT_CARD_INFORMATION:case w.Step.PAYPAL_INFORMATION:case w.Step.PAYMENT_REQUEST_INFORMATION:case w.Step.ADDRESS:case w.Step.AWAITING_AUTHENTICATION:var t=(0,B.renderPaymentModalStep)(e,qe,Ne,Ae,q,X,C,A,H,z,$,Z,J,ue,se,de,w.Step.REVIEW,re,ae,oe,ne),n=t.body,a=t.backStep,o=t.submitButton;return Qe({body:n,step:e,footer:null!=o||null!=a?ee(N.ModalFooter,{justify:S.default.Justify.BETWEEN,align:S.default.Align.CENTER},void 0,ee("div",{},void 0,o),null!=a?ee(G.default,{onClick:function(){return qe(a)}}):null):null});case w.Step.REVIEW:return Qe({body:ee(V.default,{paymentSources:C,paymentSourceId:b,plan:_e,isGift:r,proratedInvoicePreview:Ge,renewalInvoicePreview:Ue,onPaymentSourceChange:function(e){return A(null!=e?e.id:null)},handlePaymentSourceAdd:function(){return qe(w.Step.PAYMENT_TYPE)},setHasAcceptedTerms:je,legalTermsNodeRef:Ve,hasLegalTermsFlash:Ye,isTrial:null!=g}),footer:ee(le,{hasEntitlements:ge,plan:_e,hasAcceptedTerms:we,paymentSource:null!=b?C[b]:null,setPurchaseState:Xe,isGift:r,onNext:function(){return qe(w.Step.CONFIRM)},legalTermsNodeRef:Ve,flashLegalTerms:function(){return ze(!0)},trialId:g}),step:e});case w.Step.CONFIRM:return Qe({body:r?et:tt,footer:null,hideBreadcrumbs:!0,step:e});default:throw new Error("Unexpected step "+e)}}(Te):Qe({body:null,footer:null,isLoading:!0,step:w.Step.PAYMENT_TYPE})))))}ie.displayName="PremiumSubscriptionNewPlanModalHeader",le.displayName="ReviewStepFooter",ue.displayName="PremiumSubscriptionNewPlanModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){switch(e){case a.InternalTemplateCodes.CLASSROOM:return{header:o.default.Messages.GUILD_TEMPLATE_MODAL_TITLE_CLASSROOM,description:o.default.Messages.GUILD_TEMPLATE_MODAL_DESCRIPTION_CLASSROOM,nameLabel:o.default.Messages.GUILD_TEMPLATES_FORM_LABEL_SERVER_NAME_CLASSROOM,terms:o.default.Messages.CREATE_SERVER_GUIDELINES,defaultName:o.default.Messages.GUILD_TEMPLATE_DEFAULT_SERVER_NAME_CLASSROOM,author:o.default.Messages.DISCORD_NAME};case a.InternalTemplateCodes.LOCAL_COMMUNITIES:return{header:o.default.Messages.GUILD_TEMPLATE_MODAL_TITLE_LOCAL_COMMUNITIES,description:o.default.Messages.GUILD_TEMPLATE_MODAL_DESCRIPTION_LOCAL_COMMUNITIES,nameLabel:o.default.Messages.GUILD_TEMPLATES_FORM_LABEL_SERVER_NAME_LOCAL_COMMUNITIES,terms:o.default.Messages.CREATE_SERVER_GUIDELINES,defaultName:o.default.Messages.GUILD_TEMPLATE_DEFAULT_SERVER_NAME_LOCAL_COMMUNITIES,author:o.default.Messages.DISCORD_NAME};case a.InternalTemplateCodes.CREATORS_HOBBIES:return{header:o.default.Messages.GUILD_TEMPLATE_MODAL_TITLE_CREATORS_HOBBIES,description:o.default.Messages.GUILD_TEMPLATE_MODAL_DESCRIPTION_CREATORS_HOBBIES,nameLabel:o.default.Messages.GUILD_TEMPLATES_FORM_LABEL_SERVER_NAME_CREATORS_HOBBIES,terms:o.default.Messages.CREATE_SERVER_GUIDELINES,defaultName:o.default.Messages.GUILD_TEMPLATE_DEFAULT_SERVER_NAME_CREATORS_HOBBIES,author:o.default.Messages.DISCORD_NAME};case a.InternalTemplateCodes.GLOBAL_COMMUNITIES:return{header:o.default.Messages.GUILD_TEMPLATE_MODAL_TITLE_GLOBAL_COMMUNITIES,description:o.default.Messages.GUILD_TEMPLATE_MODAL_DESCRIPTION_GLOBAL_COMMUNITIES,nameLabel:o.default.Messages.GUILD_TEMPLATES_FORM_LABEL_SERVER_NAME_GLOBAL_COMMUNITIES,terms:o.default.Messages.CREATE_SERVER_GUIDELINES,defaultName:o.default.Messages.GUILD_TEMPLATE_DEFAULT_SERVER_NAME_GLOBAL_COMMUNITIES,author:o.default.Messages.DISCORD_NAME};case a.InternalTemplateCodes.FRIENDS_FAMILY:return{header:o.default.Messages.GUILD_TEMPLATE_MODAL_TITLE_FRIENDS_FAMILY,description:o.default.Messages.GUILD_TEMPLATE_MODAL_DESCRIPTION_FRIENDS_FAMILY,nameLabel:o.default.Messages.GUILD_TEMPLATES_FORM_LABEL_SERVER_NAME_FRIENDS_FAMILY,terms:o.default.Messages.CREATE_SERVER_GUIDELINES,defaultName:o.default.Messages.GUILD_TEMPLATE_DEFAULT_SERVER_NAME_FRIENDS_FAMILY,author:o.default.Messages.DISCORD_NAME};case a.InternalTemplateCodes.STUDY_GROUPS:return{header:o.default.Messages.GUILD_TEMPLATE_MODAL_TITLE_STUDY_GROUPS,description:o.default.Messages.GUILD_TEMPLATE_MODAL_DESCRIPTION_STUDY_GROUPS,nameLabel:o.default.Messages.GUILD_TEMPLATES_FORM_LABEL_SERVER_NAME_STUDY_GROUPS,terms:o.default.Messages.CREATE_SERVER_GUIDELINES,defaultName:o.default.Messages.GUILD_TEMPLATE_DEFAULT_SERVER_NAME_STUDY_GROUPS,author:o.default.Messages.DISCORD_NAME};case a.InternalTemplateCodes.CREATE_FROM_SCRATCH:return{header:o.default.Messages.GUILD_TEMPLATE_MODAL_TITLE_CREATE_FROM_SCRATCH,description:o.default.Messages.GUILD_TEMPLATE_MODAL_DESCRIPTION_CREATE_FROM_SCRATCH,nameLabel:o.default.Messages.GUILD_TEMPLATES_FORM_LABEL_SERVER_NAME_CREATE_FROM_SCRATCH,terms:o.default.Messages.CREATE_SERVER_GUIDELINES,defaultName:o.default.Messages.GUILD_TEMPLATE_DEFAULT_SERVER_NAME_CREATE_FROM_SCRATCH,author:o.default.Messages.DISCORD_NAME};case a.InternalTemplateCodes.CAMPUS_CLUBS:return{header:o.default.Messages.GUILD_TEMPLATE_MODAL_TITLE_CAMPUS_CLUBS,description:o.default.Messages.GUILD_TEMPLATE_MODAL_DESCRIPTION_CAMPUS_CLUBS,nameLabel:o.default.Messages.FORM_LABEL_SERVER_NAME,terms:o.default.Messages.CREATE_SERVER_GUIDELINES,defaultName:o.default.Messages.GUILD_TEMPLATE_DEFAULT_SERVER_NAME_CAMPUS_CLUBS,author:o.default.Messages.DISCORD_NAME};case a.InternalTemplateCodes.LEAGUE_CLUBS:return{header:o.default.Messages.GUILD_TEMPLATE_MODAL_TITLE_LEAGUE_CLUBS,description:o.default.Messages.GUILD_TEMPLATE_MODAL_DESCRIPTION_LEAGUE_CLUBS,nameLabel:o.default.Messages.FORM_LABEL_SERVER_NAME,terms:o.default.Messages.CREATE_SERVER_GUIDELINES,defaultName:o.default.Messages.CREATE_SERVER_DEFAULT_SERVER_NAME_FORMAT,author:o.default.Messages.DISCORD_NAME};case a.InternalTemplateCodes.GITHUB_HACKATHON:return{header:o.default.Messages.GUILD_TEMPLATE_MODAL_TITLE_GITHUB_HACKATHON,description:o.default.Messages.GUILD_TEMPLATE_MODAL_DESCRIPTION_GITHUB_HACKATHON,nameLabel:o.default.Messages.FORM_LABEL_SERVER_NAME,terms:o.default.Messages.CREATE_SERVER_GUIDELINES,defaultName:o.default.Messages.CREATE_SERVER_DEFAULT_SERVER_NAME_FORMAT,author:"GitHub Education"};default:return{header:o.default.Messages.GUILD_TEMPLATE_CREATE_DISCORD,nameLabel:o.default.Messages.FORM_LABEL_SERVER_NAME,terms:o.default.Messages.CREATE_SERVER_GUIDELINES,defaultName:o.default.Messages.CREATE_SERVER_DEFAULT_SERVER_NAME_FORMAT}}};var r,a=n(296),o=(r=n(6))&&r.__esModule?r:{default:r}},function(e){e.exports=JSON.parse('[{"alpha2":"AF","code":"+93","name":"Afghanistan"},{"alpha2":"AL","code":"+355","name":"Albania"},{"alpha2":"DZ","code":"+213","name":"Algeria"},{"alpha2":"AS","code":"+1 684","name":"American Samoa"},{"alpha2":"AD","code":"+376","name":"Andorra"},{"alpha2":"AO","code":"+244","name":"Angola"},{"alpha2":"AI","code":"+1 264","name":"Anguilla"},{"alpha2":"AG","code":"+1 268","name":"Antigua and Barbuda"},{"alpha2":"AR","code":"+54","name":"Argentina"},{"alpha2":"AM","code":"+374","name":"Armenia"},{"alpha2":"AW","code":"+297","name":"Aruba"},{"alpha2":"AC","code":"+247","name":"Ascension"},{"alpha2":"AU","code":"+61","name":"Australia"},{"alpha2":"AT","code":"+43","name":"Austria"},{"alpha2":"AZ","code":"+994","name":"Azerbaijan"},{"alpha2":"BS","code":"+1 242","name":"Bahamas"},{"alpha2":"BH","code":"+973","name":"Bahrain"},{"alpha2":"BD","code":"+880","name":"Bangladesh"},{"alpha2":"BB","code":"+1 246","name":"Barbados"},{"alpha2":"BY","code":"+375","name":"Belarus"},{"alpha2":"BE","code":"+32","name":"Belgium"},{"alpha2":"BZ","code":"+501","name":"Belize"},{"alpha2":"BJ","code":"+229","name":"Benin"},{"alpha2":"BM","code":"+1 441","name":"Bermuda"},{"alpha2":"BT","code":"+975","name":"Bhutan"},{"alpha2":"BO","code":"+591","name":"Bolivia"},{"alpha2":"BA","code":"+387","name":"Bosnia and Herzegovina"},{"alpha2":"BW","code":"+267","name":"Botswana"},{"alpha2":"BR","code":"+55","name":"Brazil"},{"alpha2":"IO","code":"+246","name":"British Indian Ocean Territory"},{"alpha2":"VG","code":"+1 284","name":"British Virgin Islands"},{"alpha2":"BN","code":"+673","name":"Brunei"},{"alpha2":"BG","code":"+359","name":"Bulgaria"},{"alpha2":"BF","code":"+226","name":"Burkina Faso"},{"alpha2":"BI","code":"+257","name":"Burundi"},{"alpha2":"KH","code":"+855","name":"Cambodia"},{"alpha2":"CM","code":"+237","name":"Cameroon"},{"alpha2":"CA","code":"+1","name":"Canada"},{"alpha2":"CV","code":"+238","name":"Cape Verde"},{"alpha2":"KY","code":"+1 345","name":"Cayman Islands"},{"alpha2":"CF","code":"+236","name":"Central African Republic"},{"alpha2":"TD","code":"+235","name":"Chad"},{"alpha2":"CL","code":"+56","name":"Chile"},{"alpha2":"CN","code":"+86","name":"China"},{"alpha2":"CX","code":"+61","name":"Christmas Island"},{"alpha2":"CC","code":"+61","name":"Cocos-Keeling Islands"},{"alpha2":"CO","code":"+57","name":"Colombia"},{"alpha2":"KM","code":"+269","name":"Comoros"},{"alpha2":"CG","code":"+242","name":"Congo"},{"alpha2":"CD","code":"+243","name":"Congo, Dem. Rep. of (Zaire)"},{"alpha2":"CK","code":"+682","name":"Cook Islands"},{"alpha2":"CR","code":"+506","name":"Costa Rica"},{"alpha2":"HR","code":"+385","name":"Croatia"},{"alpha2":"CU","code":"+53","name":"Cuba"},{"alpha2":"CW","code":"+599","name":"Curacao"},{"alpha2":"CY","code":"+357","name":"Cyprus"},{"alpha2":"CZ","code":"+420","name":"Czech Republic"},{"alpha2":"DK","code":"+45","name":"Denmark"},{"alpha2":"DG","code":"+246","name":"Diego Garcia"},{"alpha2":"DJ","code":"+253","name":"Djibouti"},{"alpha2":"DM","code":"+1 767","name":"Dominica"},{"alpha2":"DO","code":"+1 809","name":"Dominican Republic"},{"alpha2":"DO","code":"+1 829","name":"Dominican Republic"},{"alpha2":"DO","code":"+1 849","name":"Dominican Republic"},{"alpha2":"TP","code":"+670","name":"East Timor"},{"alpha2":"EC","code":"+593","name":"Ecuador"},{"alpha2":"EG","code":"+20","name":"Egypt"},{"alpha2":"SV","code":"+503","name":"El Salvador"},{"alpha2":"GQ","code":"+240","name":"Equatorial Guinea"},{"alpha2":"ER","code":"+291","name":"Eritrea"},{"alpha2":"EE","code":"+372","name":"Estonia"},{"alpha2":"ET","code":"+251","name":"Ethiopia"},{"alpha2":"FK","code":"+500","name":"Falkland Islands"},{"alpha2":"FO","code":"+298","name":"Faroe Islands"},{"alpha2":"FJ","code":"+679","name":"Fiji"},{"alpha2":"FI","code":"+358","name":"Finland"},{"alpha2":"FR","code":"+33","name":"France"},{"alpha2":"GF","code":"+594","name":"French Guiana"},{"alpha2":"PF","code":"+689","name":"French Polynesia"},{"alpha2":"GA","code":"+241","name":"Gabon"},{"alpha2":"GM","code":"+220","name":"Gambia"},{"alpha2":"GE","code":"+995","name":"Georgia"},{"alpha2":"DE","code":"+49","name":"Germany"},{"alpha2":"GH","code":"+233","name":"Ghana"},{"alpha2":"GI","code":"+350","name":"Gibraltar"},{"alpha2":"GR","code":"+30","name":"Greece"},{"alpha2":"GL","code":"+299","name":"Greenland"},{"alpha2":"GD","code":"+1 473","name":"Grenada"},{"alpha2":"GP","code":"+590","name":"Guadeloupe"},{"alpha2":"GU","code":"+1 671","name":"Guam"},{"alpha2":"GT","code":"+502","name":"Guatemala"},{"alpha2":"GN","code":"+224","name":"Guinea"},{"alpha2":"GW","code":"+245","name":"Guinea-Bissau"},{"alpha2":"GY","code":"+592","name":"Guyana"},{"alpha2":"HT","code":"+509","name":"Haiti"},{"alpha2":"HN","code":"+504","name":"Honduras"},{"alpha2":"HK","code":"+852","name":"Hong Kong SAR China"},{"alpha2":"HU","code":"+36","name":"Hungary"},{"alpha2":"IS","code":"+354","name":"Iceland"},{"alpha2":"IN","code":"+91","name":"India"},{"alpha2":"ID","code":"+62","name":"Indonesia"},{"alpha2":"IR","code":"+98","name":"Iran"},{"alpha2":"IQ","code":"+964","name":"Iraq"},{"alpha2":"IE","code":"+353","name":"Ireland"},{"alpha2":"IL","code":"+972","name":"Israel"},{"alpha2":"IT","code":"+39","name":"Italy"},{"alpha2":"CI","code":"+225","name":"Ivory Coast"},{"alpha2":"JM","code":"+1 876","name":"Jamaica"},{"alpha2":"JP","code":"+81","name":"Japan"},{"alpha2":"JO","code":"+962","name":"Jordan"},{"alpha2":"KZ","code":"+7","name":"Kazakhstan"},{"alpha2":"KE","code":"+254","name":"Kenya"},{"alpha2":"KI","code":"+686","name":"Kiribati"},{"alpha2":"XK","code":"+383","name":"Kosovo"},{"alpha2":"KW","code":"+965","name":"Kuwait"},{"alpha2":"KG","code":"+996","name":"Kyrgyzstan"},{"alpha2":"LA","code":"+856","name":"Laos"},{"alpha2":"LV","code":"+371","name":"Latvia"},{"alpha2":"LB","code":"+961","name":"Lebanon"},{"alpha2":"LS","code":"+266","name":"Lesotho"},{"alpha2":"LR","code":"+231","name":"Liberia"},{"alpha2":"LY","code":"+218","name":"Libya"},{"alpha2":"LI","code":"+423","name":"Liechtenstein"},{"alpha2":"LT","code":"+370","name":"Lithuania"},{"alpha2":"LU","code":"+352","name":"Luxembourg"},{"alpha2":"MO","code":"+853","name":"Macau SAR China"},{"alpha2":"MK","code":"+389","name":"North Macedonia"},{"alpha2":"MG","code":"+261","name":"Madagascar"},{"alpha2":"MW","code":"+265","name":"Malawi"},{"alpha2":"MY","code":"+60","name":"Malaysia"},{"alpha2":"MV","code":"+960","name":"Maldives"},{"alpha2":"ML","code":"+223","name":"Mali"},{"alpha2":"MT","code":"+356","name":"Malta"},{"alpha2":"MH","code":"+692","name":"Marshall Islands"},{"alpha2":"MQ","code":"+596","name":"Martinique"},{"alpha2":"MR","code":"+222","name":"Mauritania"},{"alpha2":"MU","code":"+230","name":"Mauritius"},{"alpha2":"YT","code":"+262","name":"Mayotte"},{"alpha2":"MX","code":"+52","name":"Mexico"},{"alpha2":"FM","code":"+691","name":"Micronesia"},{"alpha2":"MI","code":"+1 808","name":"Midway Island"},{"alpha2":"MD","code":"+373","name":"Moldova"},{"alpha2":"MC","code":"+377","name":"Monaco"},{"alpha2":"MN","code":"+976","name":"Mongolia"},{"alpha2":"ME","code":"+382","name":"Montenegro"},{"alpha2":"MS","code":"+1664","name":"Montserrat"},{"alpha2":"MA","code":"+212","name":"Morocco"},{"alpha2":"MZ","code":"+258","name":"Mozambique"},{"alpha2":"MM","code":"+95","name":"Myanmar"},{"alpha2":"NA","code":"+264","name":"Namibia"},{"alpha2":"NR","code":"+674","name":"Nauru"},{"alpha2":"NP","code":"+977","name":"Nepal"},{"alpha2":"NL","code":"+31","name":"Netherlands"},{"alpha2":"AN","code":"+599","name":"Netherlands Antilles"},{"alpha2":"KN","code":"+1 869","name":"Nevis"},{"alpha2":"NC","code":"+687","name":"New Caledonia"},{"alpha2":"NZ","code":"+64","name":"New Zealand"},{"alpha2":"NI","code":"+505","name":"Nicaragua"},{"alpha2":"NE","code":"+227","name":"Niger"},{"alpha2":"NG","code":"+234","name":"Nigeria"},{"alpha2":"NU","code":"+683","name":"Niue"},{"alpha2":"NF","code":"+672","name":"Norfolk Island"},{"alpha2":"KP","code":"+850","name":"North Korea"},{"alpha2":"MP","code":"+1 670","name":"Northern Mariana Islands"},{"alpha2":"NO","code":"+47","name":"Norway"},{"alpha2":"OM","code":"+968","name":"Oman"},{"alpha2":"PK","code":"+92","name":"Pakistan"},{"alpha2":"PW","code":"+680","name":"Palau"},{"alpha2":"PS","code":"+970","name":"Palestinian Territory"},{"alpha2":"PA","code":"+507","name":"Panama"},{"alpha2":"PG","code":"+675","name":"Papua New Guinea"},{"alpha2":"PY","code":"+595","name":"Paraguay"},{"alpha2":"PE","code":"+51","name":"Peru"},{"alpha2":"PH","code":"+63","name":"Philippines"},{"alpha2":"PL","code":"+48","name":"Poland"},{"alpha2":"PT","code":"+351","name":"Portugal"},{"alpha2":"PR","code":"+1 787","name":"Puerto Rico"},{"alpha2":"QA","code":"+974","name":"Qatar"},{"alpha2":"RE","code":"+262","name":"Reunion"},{"alpha2":"RO","code":"+40","name":"Romania"},{"alpha2":"RU","code":"+7","name":"Russia"},{"alpha2":"RW","code":"+250","name":"Rwanda"},{"alpha2":"PM","code":"+508","name":"Saint Pierre and Miquelon"},{"alpha2":"WS","code":"+685","name":"Samoa"},{"alpha2":"SM","code":"+378","name":"San Marino"},{"alpha2":"SA","code":"+966","name":"Saudi Arabia"},{"alpha2":"SN","code":"+221","name":"Senegal"},{"alpha2":"RS","code":"+381","name":"Serbia"},{"alpha2":"SC","code":"+248","name":"Seychelles"},{"alpha2":"SL","code":"+232","name":"Sierra Leone"},{"alpha2":"SG","code":"+65","name":"Singapore"},{"alpha2":"SX","code":"+1721","name":"Sint Maarten"},{"alpha2":"SK","code":"+421","name":"Slovakia"},{"alpha2":"SI","code":"+386","name":"Slovenia"},{"alpha2":"SB","code":"+677","name":"Solomon Islands"},{"alpha2":"SO","code":"+252","name":"Somalia"},{"alpha2":"ZA","code":"+27","name":"South Africa"},{"alpha2":"GS","code":"+500","name":"South Georgia and the South Sandwich Islands"},{"alpha2":"KR","code":"+82","name":"South Korea"},{"alpha2":"ES","code":"+34","name":"Spain"},{"alpha2":"LK","code":"+94","name":"Sri Lanka"},{"alpha2":"SD","code":"+249","name":"Sudan"},{"alpha2":"SR","code":"+597","name":"Suriname"},{"alpha2":"SZ","code":"+268","name":"Swaziland"},{"alpha2":"SE","code":"+46","name":"Sweden"},{"alpha2":"CH","code":"+41","name":"Switzerland"},{"alpha2":"SY","code":"+963","name":"Syria"},{"alpha2":"TW","code":"+886","name":"Taiwan"},{"alpha2":"TJ","code":"+992","name":"Tajikistan"},{"alpha2":"TZ","code":"+255","name":"Tanzania"},{"alpha2":"TH","code":"+66","name":"Thailand"},{"alpha2":"TL","code":"+670","name":"Timor Leste"},{"alpha2":"TG","code":"+228","name":"Togo"},{"alpha2":"TK","code":"+690","name":"Tokelau"},{"alpha2":"TO","code":"+676","name":"Tonga"},{"alpha2":"TT","code":"+1 868","name":"Trinidad and Tobago"},{"alpha2":"TN","code":"+216","name":"Tunisia"},{"alpha2":"TR","code":"+90","name":"Turkey"},{"alpha2":"TM","code":"+993","name":"Turkmenistan"},{"alpha2":"TC","code":"+1 649","name":"Turks and Caicos Islands"},{"alpha2":"TV","code":"+688","name":"Tuvalu"},{"alpha2":"VI","code":"+1 340","name":"U.S. Virgin Islands"},{"alpha2":"UG","code":"+256","name":"Uganda"},{"alpha2":"UA","code":"+380","name":"Ukraine"},{"alpha2":"AE","code":"+971","name":"United Arab Emirates"},{"alpha2":"GB","code":"+44","name":"United Kingdom"},{"alpha2":"US","code":"+1","name":"United States"},{"alpha2":"UY","code":"+598","name":"Uruguay"},{"alpha2":"UZ","code":"+998","name":"Uzbekistan"},{"alpha2":"VU","code":"+678","name":"Vanuatu"},{"alpha2":"VE","code":"+58","name":"Venezuela"},{"alpha2":"VN","code":"+84","name":"Vietnam"},{"alpha2":"WK","code":"+1 808","name":"Wake Island"},{"alpha2":"WF","code":"+681","name":"Wallis and Futuna"},{"alpha2":"YE","code":"+967","name":"Yemen"},{"alpha2":"ZM","code":"+260","name":"Zambia"},{"alpha2":"ZW","code":"+263","name":"Zimbabwe"}]')},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useUnsupportedExternalSubscriptionModalHandler=function(e,t,n){r.useEffect((function(){null!=e&&e.isPurchasedExternally&&null!=e.paymentGateway&&!n&&(i.default.show({title:d.default.Messages.BILLING_EXTERNAL_HEADER.format({paymentGatewayName:a.PaymentGatewayToFriendlyName[e.paymentGateway]}),body:d.default.Messages.BILLING_EXTERNAL_MANAGE_ELSEWHERE.format({paymentGatewayName:a.PaymentGatewayToFriendlyName[e.paymentGateway],subscriptionManagementLink:(0,s.getExternalSubscriptionMethodUrl)(e.paymentGateway,"SUBSCRIPTION_MANAGEMENT")}),confirmText:d.default.Messages.OKAY}),t())}),[e])},t.useSubscriptionEntitlements=function(e,t){var n=(0,o.useStateFromStores)([l.default],(function(){return l.default.getHardcoded(e)})),r=(0,o.useStateFromStores)([u.default],(function(){var e;return Array.from(null!==(e=u.default.getForSku(n.skuId))&&void 0!==e?e:[])})).filter((function(e){var t=e.parentId,n=e.consumed;return null!=t&&!n}));return{hasEntitlements:!t&&null!=r&&r.length>=s.default.getIntervalMonths(n.interval,n.intervalCount),entitlements:r}};var r=p(n(0)),a=n(92),o=n(3),i=f(n(154)),l=f(n(257)),u=f(n(5826)),s=p(n(96)),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}},,function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=B(n(0)),o=G(n(9)),i=n(394),l=n(3),u=G(n(363)),s=n(1152),d=G(n(6014)),f=G(n(1177)),c=G(n(5963)),p=G(n(5834)),v=G(n(5975)),y=G(n(5976)),m=n(5687),_=G(n(11)),h=G(n(1183)),E=G(n(5947)),g=G(n(55)),S=B(n(475)),O=G(n(466)),I=n(41),T=G(n(24)),C=G(n(13)),b=n(1188),M=n(121),N=n(299),A=G(n(5992)),P=G(n(5977)),R=B(n(5961)),L=G(n(6028)),D=G(n(5978)),w=n(1),j=G(n(6)),k=G(n(6106)),U=G(n(370));function G(e){return e&&e.__esModule?e:{default:e}}function F(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return F=function(){return e},e}function B(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=F();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function H(){return(H=Object.assign||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}).apply(this,arguments)}function x(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function V(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function W(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){V(o,r,a,i,l,"next",e)}function l(e){V(o,r,a,i,l,"throw",e)}i(void 0)}))}}function Y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function z(e,t){return(z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var K=x(S.AuthSpinner,{}),$=x(R.InviteResolvingHeader,{}),Z=function(e){var t,r;function l(t){var n;(n=e.call(this,t)||this).handleAuthToken=function(){var e=W(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.default.loginToken(t,!1);case 2:C.default.track(w.AnalyticEvents.LOGIN_SUCCESSFUL,{source:w.LoginSuccessfulSources.QR_CODE,login_source:n.loginSource,gift_code_sku_id:n.giftCodeSKUId,is_new_user:!1});case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),n.setLoginRef=function(e){n.loginRef=e},n.setPasswordRef=function(e){n.passwordRef=e},n.setCodeRef=function(e){n.codeRef=e},n.getFullLogin=function(){var e=n.state;return e.loginPrefix+e.login},n.renderError=function(e){var t=n.props.errors;if(n.hasError(e)){var r=t[e];return Array.isArray(r)?r[0]:r}return null},n.handleLogin=function(e){var t=n.state,r=t.password,a=t.captchaKey,o=t.undelete;null!=e&&e.preventDefault(),n.setState({captchaCallback:n.handleLogin,captchaKey:null}),u.default.login({login:n.getFullLogin(),password:r,undelete:o,captchaKey:a,source:n.loginSource,giftCodeSKUId:n.giftCodeSKUId,invite:n.props.invite}),M.ComponentDispatch.dispatch(w.ComponentActions.WAVE_EMPHASIZE)},n.handleIPAuthorize=function(){var e=W(regeneratorRuntime.mark((function e(t){var r,a,o,i,l,s,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.state,a=r.password,o=r.captchaKey,i=r.undelete,n.setState({phoneVerifyError:null,captchaKey:null}),l=n.getFullLogin(),e.prev=3,e.next=6,p.default.verifyPhone(l,t,!1);case 6:return s=e.sent,d=s.token,e.next=10,u.default.authorizeIPAddress(d);case 10:u.default.login({login:l,password:a,undelete:i,captchaKey:o,source:n.loginSource,giftCodeSKUId:n.giftCodeSKUId}),M.ComponentDispatch.dispatch(w.ComponentActions.WAVE_EMPHASIZE),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(3),null!=e.t0.body&&null!=e.t0.body.message&&n.setState({phoneVerifyError:e.t0.body.message});case 17:case"end":return e.stop()}}),e,null,[[3,14]])})));return function(t){return e.apply(this,arguments)}}(),n.handlePasswordReset=function(){var e=W(regeneratorRuntime.mark((function e(t){var r,a,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.props.transitionTo,n.setState({phoneVerifyError:null}),e.prev=2,e.next=5,p.default.verifyPhone(n.getFullLogin(),t,!1);case 5:a=e.sent,o=a.token,r(w.Routes.RESET,{search:(0,i.stringify)({token:o,from_login:"true"})}),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(2),null!=e.t0.body&&null!=e.t0.body.message&&n.setState({phoneVerifyError:e.t0.body.message});case 13:case"end":return e.stop()}}),e,null,[[2,10]])})));return function(t){return e.apply(this,arguments)}}(),n.handleTokenSubmit=function(e){var t=n.state.code,r=n.props.mfaTicket;null!=e&&e.preventDefault(),u.default.loginMFA({code:t.replace(/ /g,""),ticket:r,source:n.loginSource,giftCodeSKUId:n.giftCodeSKUId}),M.ComponentDispatch.dispatch(w.ComponentActions.WAVE_EMPHASIZE)},n.handleSMSTokenSubmit=function(e){var t=n.state.smsCode,r=n.props.mfaTicket;null!=e&&e.preventDefault(),u.default.loginSMS({code:t.replace(/ /g,""),ticket:r}),M.ComponentDispatch.dispatch(w.ComponentActions.WAVE_EMPHASIZE)},n.handleToggleSMSLogin=function(e){var t=n.props.mfaTicket;null!=e&&e.preventDefault(),u.default.requestSMSToken(t),M.ComponentDispatch.dispatch(w.ComponentActions.WAVE_EMPHASIZE)},n.handleForgotPassword=function(){var e=W(regeneratorRuntime.mark((function e(t){var r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return null!=t&&t.preventDefault(),null!=n.loginRef&&n.loginRef.focus(),r=n.getFullLogin(),o=n.state.captchaKey,n.setState({captchaCallback:n.handleForgotPassword,captchaKey:null}),e.prev=5,M.ComponentDispatch.dispatch(w.ComponentActions.WAVE_EMPHASIZE),e.next=9,u.default.forgotPassword(r,o);case 9:(0,I.openModal)((function(e){return a.createElement(O.default,H({header:j.default.Messages.EMAIL_VERIFICATION_INSTRUCTIONS_HEADER,confirmText:j.default.Messages.OKAY,confirmButtonColor:S.Button.Colors.BRAND,className:N.isMobile?k.default.mobile:""},e),x(T.default,{size:T.default.Sizes.SIZE_16},void 0,j.default.Messages.EMAIL_VERIFICATION_INSTRUCTIONS_BODY.format({email:r})))})),e.next=14;break;case 12:e.prev=12,e.t0=e.catch(5);case 14:case"end":return e.stop()}}),e,null,[[5,12]])})));return function(t){return e.apply(this,arguments)}}(),n.handleResendCode=function(){p.default.resendCode(n.getFullLogin())},n.handleReset=function(e){null!=e&&e.preventDefault(),u.default.loginReset(),n.setState({password:"",loginPrefix:"",login:"",code:"",smsCode:"",captchaKey:null,undelete:!1,checkingHandoff:!1})},n.handleCancelAccountDeletion=function(){n.setState({undelete:!0},n.handleLogin)},n.handleCaptchaVerify=function(e){var t=n.state.captchaCallback;n.setState({captchaKey:e},t)},n.handleGotoRegister=function(){var e=n.state.login,t=n.props,r=t.invite,a=t.giftCode,o=t.closeLogin,l=t.openRegister,s=t.guildTemplate,d=t.location,f=t.transitionTo,c=t.redirectTo;if(t.isGuest)return void 0!==o&&o(),void(void 0!==l&&l());var p,v=null!=d?(0,i.parse)(d.search):{};""!==e&&(v.email=e),null!=r?(v.mode="register",p=w.Routes.INVITE(r.code)):null!=a?(v.mode="register",p=w.Routes.GIFT_CODE(a.code)):null!=s?p=w.Routes.GUILD_TEMPLATE(s.code):null!=c?(p=w.Routes.REGISTER,v.redirect_to=c):p=w.Routes.REGISTER,u.default.loginReset(),f(p,{search:(0,i.stringify)(v)}),M.ComponentDispatch.dispatch(w.ComponentActions.WAVE_EMPHASIZE)};var r=null!=t.location?(0,i.parse)(t.location.search):{};return n.state={redirecting:t.authenticated,checkingHandoff:t.handoffAvailable,loginPrefix:"",login:r.email||r.login||"",password:"",code:"",smsCode:"",captchaKey:null,captchaCallback:n.handleLogin,undelete:!1,phoneVerifyError:null},n}r=e,(t=l).prototype=Object.create(r.prototype),t.prototype.constructor=t,z(t,r),l.getDerivedStateFromProps=function(e){var t=e.handoffAvailable,n=e.authenticated;return t||n?null:{checkingHandoff:!1}};var v,h,E,G=l.prototype;return G.componentDidMount=function(){var e=this.props,t=e.handoffAvailable,n=e.authenticated,r=e.giftCodeSKU,a=e.invite,o=e.location;t&&!n?(0,s.handoffBegin)():n&&this.loginOrSSO(n,o,!0),C.default.track(w.AnalyticEvents.LOGIN_VIEWED,H({location:null!=a?"Invite Login Page":"Non-Invite Login Page",login_source:this.loginSource},null!=r?(0,f.default)(r,!1,!1):{}),{flush:!0}),u.default.getLocationMetadata(),(0,m.trackAppUIViewed)("login")},G.componentDidUpdate=function(e){var t,n=this.props,r=n.authenticated,a=n.location,o=this.state.checkingHandoff;if(!r||e.authenticated||o||this.loginOrSSO(r,a),e.errors!==this.props.errors)if(this.hasError("password"))null===(t=this.passwordRef)||void 0===t||t.focus();else if(this.hasError("email")||this.hasError("login")){var i;null===(i=this.loginRef)||void 0===i||i.focus()}else if(this.hasError("code")){var l;null===(l=this.codeRef)||void 0===l||l.focus()}},G.loginOrSSO=function(e,t,n){var r=this;void 0===n&&(n=!1);var a=this.props.isGuest;e&&(null!=t||a)&&(n?u.default.verifySSOToken().then((function(){return r.transitionSSO(t)})):this.transitionSSO(t))},G.transitionSSO=function(e){var t=this.props,r=t.transitionTo,a=t.redirectTo;if(t.isGuest&&null!=a)r(a);else{var o=null!=e?(0,i.parse)(e.search):{},l=(o.redirect_to,function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(o,["redirect_to"]));if(null!=a)a.startsWith(w.Routes.UPCOMING_STAGES(""))?n(42).transitionTo(a):r(a);else if(null==l.service)r(w.Routes.APP);else{var u=window.location.protocol+window.GLOBAL_ENV.API_ENDPOINT+w.Endpoints.SSO,s=H({},l,{token:_.default.getToken()});window.location=u+"?"+(0,i.stringify)(s)}}},G.hasError=function(e){return null!=this.props.errors[e]},G.renderHandOffAvailable=function(){var e=this.props.authBoxClassName;return x(S.default,{className:e},void 0,K,x(S.Title,{className:U.default.marginBottom8},void 0,j.default.Messages.BROWSER_HANDOFF_DETECTING_TITLE),x(S.SubTitle,{},void 0,j.default.Messages.AUTH_BROWSER_HANDOFF_DETECTING_DESCRIPTION))},G.renderHandOffContinue=function(){var e=this.props,t=e.user,n=e.transitionTo,r=e.authBoxClassName;return null==t?null:x(S.default,{className:r},void 0,x(S.Avatar,{src:t.getAvatarURL(void 0),size:S.Avatar.Sizes.DEPRECATED_SIZE_100,className:U.default.marginBottom20}),x(S.Title,{className:U.default.marginBottom8},void 0,j.default.Messages.BROWSER_HANDOFF_SUCCESS_TITLE.format({name:t.toString()})),x(S.SubTitle,{className:U.default.marginBottom40},void 0,j.default.Messages.BROWSER_HANDOFF_SUCCESS_BODY),x(S.Block,{},void 0,x(S.Button,{onClick:function(){return n(w.Routes.APP)},className:U.default.marginBottom8},void 0,j.default.Messages.BROWSER_HANDOFF_SUCCESS_ACTION.format({name:t.toString()})),x(S.Button,{look:S.Button.Looks.LINK,color:S.Button.Colors.LINK,onClick:this.handleReset},void 0,j.default.Messages.BROWSER_HANDOFF_SUCCESS_CANCEL)))},G.renderDisabledAccount=function(){var e=this.props.authBoxClassName,t=this.props.loginStatus===w.LoginStates.ACCOUNT_DISABLED,n=t?j.default.Messages.ACCOUNT_DISABLED_TITLE:j.default.Messages.ACCOUNT_SCHEDULED_FOR_DELETION_TITLE,r=t?j.default.Messages.ACCOUNT_DISABLED_DESCRIPTION:j.default.Messages.ACCOUNT_SCHEDULED_FOR_DELETION_DESCRIPTION;return x(S.default,{tag:"form",onSubmit:this.handleReset,className:e},void 0,x(S.Title,{className:U.default.marginBottom8},void 0,n),x(S.SubTitle,{className:U.default.marginBottom20},void 0,r),x(S.Block,{},void 0,x(S.Button,{color:S.Button.Colors.BRAND,type:"submit"},void 0,j.default.Messages.RETURN_TO_LOGIN),x("div",{className:(0,o.default)(U.default.marginTop8,k.default.needAccount)},void 0,j.default.Messages.ACCOUNT_SCHEDULED_FOR_DELETION_CANCEL.format({onClick:this.handleCancelAccountDeletion}))))},G.renderResolving=function(){var e=this,t=this.props,n=t.authBoxClassName,r=t.country;return x(S.default,{className:n},void 0,$,x(S.Block,{className:U.default.marginTop20},void 0,x(y.default,{className:U.default.marginBottom20,alpha2:r.alpha2,countryCode:r.code.split(" ")[0],label:j.default.Messages.FORM_LABEL_EMAIL_OR_PHONE_NUMBER,onChange:function(t,n){return e.setState({login:t,loginPrefix:n})},setRef:this.setLoginRef,autoComplete:"off",spellCheck:"false",value:this.state.login,autoFocus:!0}),x(S.Input,{className:U.default.marginBottom20,label:j.default.Messages.FORM_LABEL_PASSWORD,onChange:function(t){return e.setState({password:t})},type:"password",setRef:this.setPasswordRef,autoComplete:"off",spellCheck:"false",value:this.state.password}),x(S.Button,{className:U.default.marginBottom8,type:"submit",disabled:!0},void 0,j.default.Messages.LOGIN),x(S.Button,{disabled:!0,look:S.Button.Looks.LINK,color:S.Button.Colors.LINK},void 0,j.default.Messages.FORGOT_PASSWORD),x(S.Button,{disabled:!0,className:U.default.marginTop4,look:S.Button.Looks.LINK,color:S.Button.Colors.LINK},void 0,j.default.Messages.NEED_ACCOUNT)))},G.renderDefaultForm=function(e){var t,n,r=this,i=this.props,l=i.invite,u=i.giftCode,s=i.loginStatus,d=i.isGuest,f=i.country,c=!this.hasError("email")&&this.hasError("password"),p=null!=(null==l?void 0:l.stage_instance);return n=null==l||null==l.channel||p?null!=u?x(P.default,{giftCode:u}):d?null:x(a.Fragment,{},void 0,x(S.Title,{className:U.default.marginBottom8},"title",j.default.Messages.LOGIN_TITLE),x(S.SubTitle,{},"subtitle",j.default.Messages.AUTH_LOGIN_BODY)):x(R.default,{invite:l}),x(g.default,{direction:g.default.Direction.HORIZONTAL,align:g.default.Align.CENTER},void 0,x("div",{className:k.default.mainLoginContainer},void 0,n,x(S.Block,{className:U.default.marginTop20},void 0,x(y.default,{alpha2:f.alpha2,countryCode:f.code.split(" ")[0],className:U.default.marginBottom20,label:j.default.Messages.FORM_LABEL_EMAIL_OR_PHONE_NUMBER,error:null!==(t=this.renderError("login"))&&void 0!==t?t:this.renderError("email"),onChange:function(e,t){return r.setState({login:e,loginPrefix:t})},setRef:this.setLoginRef,autoComplete:"off",spellCheck:"false",value:this.state.login,autoFocus:!c}),x(S.Input,{label:j.default.Messages.FORM_LABEL_PASSWORD,error:this.renderError("password"),onChange:function(e){return r.setState({password:e})},name:"password",type:"password",setRef:this.setPasswordRef,autoComplete:"off",spellCheck:"false",autoFocus:c,value:this.state.password}),x(S.Button,{onClick:this.handleForgotPassword,look:S.Button.Looks.LINK,color:S.Button.Colors.LINK,className:(0,o.default)(U.default.marginBottom20,U.default.marginTop4)},void 0,j.default.Messages.FORGOT_PASSWORD),x(S.Button,{type:"submit",submitting:s===w.LoginStates.LOGGING_IN,color:p?S.Button.Colors.GREEN:S.Button.Colors.BRAND,className:U.default.marginBottom8},void 0,p?j.default.Messages.LOGIN_STAGE:j.default.Messages.LOGIN),x("div",{className:U.default.marginTop4},void 0,x("span",{className:k.default.needAccount},void 0,j.default.Messages.NEED_ACCOUNT),x(S.Button,{onClick:this.handleGotoRegister,look:S.Button.Looks.LINK,color:S.Button.Colors.LINK,className:k.default.smallRegisterLink},void 0,j.default.Messages.REGISTER)))),e?x(L.default,{authTokenCallback:this.handleAuthToken}):null)},G.renderDefault=function(){var e=this.props,t=e.authBoxClassName,n=e.isGuest;return x("div",{className:k.default.pageContainer},void 0,x(S.default,{onSubmit:this.handleLogin,tag:"form",className:t,expanded:!0},void 0,this.renderDefaultForm(!n)))},G.renderGuildTemplate=function(e){var t=this,n=x(c.default,{guildTemplate:e});return x(D.default,{onSubmit:this.handleLogin,tag:"form",className:(0,o.default)(this.props.authBoxClassName,k.default.horizontalAuthBox)},void 0,(function(){return[n,t.renderDefaultForm(!1)]}))},G.renderMFA=function(){var e=this,t=this.props,r=t.loginStatus,a=t.mfaSMS,o=t.authBoxClassName;return x(S.default,{onSubmit:this.handleTokenSubmit,tag:"form",className:o},void 0,x("img",{alt:"",src:n(5704),className:U.default.marginBottom20}),x(S.Title,{className:U.default.marginBottom8},void 0,j.default.Messages.TWO_FA),x(S.SubTitle,{},void 0,j.default.Messages.TWO_FA_ENTER_TOKEN_BODY),x(S.Block,{className:U.default.marginTop40},void 0,x(S.Input,{className:U.default.marginBottom20,error:this.renderError("code"),setRef:this.setCodeRef,onChange:function(t){return e.setState({code:t})},autoComplete:"off",placeholder:j.default.Messages.TWO_FA_AUTH_CODE,spellCheck:"false",maxLength:10,autoFocus:!0,label:j.default.Messages.TWO_FA_ENTER_TOKEN_LABEL,value:this.state.code},"totpCode"),x(S.Button,{type:"submit",submitting:r===w.LoginStates.LOGGING_IN_MFA},void 0,j.default.Messages.LOGIN),a?x(S.Button,{onClick:this.handleToggleSMSLogin,submitting:r===w.LoginStates.LOGGING_IN_MFA_SMS,className:U.default.marginTop8,look:S.Button.Looks.LINK,color:S.Button.Colors.LINK},void 0,j.default.Messages.MFA_SMS_RECEIVE_CODE):null,x(S.Button,{look:S.Button.Looks.LINK,color:S.Button.Colors.LINK,className:U.default.marginTop4,onClick:this.handleReset},void 0,j.default.Messages.TWO_FA_LOGIN_FOOTER)))},G.renderMFASMS=function(){var e=this,t=this.props,r=t.loginStatus,a=t.maskedPhone,o=t.authBoxClassName,i=r===w.LoginStates.LOGGING_IN_MFA_SMS||""===a;return x(S.default,{onSubmit:this.handleSMSTokenSubmit,tag:"form",className:o},void 0,x("img",{alt:"",src:n(5704),className:U.default.marginBottom20}),x(S.Title,{className:U.default.marginBottom8},void 0,j.default.Messages.TWO_FA),x(S.SubTitle,{className:U.default.marginBottom8},void 0,i?j.default.Messages.TWO_FA_ENTER_SMS_TOKEN_SENDING:j.default.Messages.TWO_FA_ENTER_SMS_TOKEN_SENT.format({phoneNumber:a})),x(S.Block,{className:U.default.marginTop40},void 0,x(S.Input,{className:U.default.marginBottom20,error:this.renderError("code"),setRef:this.setCodeRef,onChange:function(t){return e.setState({smsCode:t})},autoComplete:"off",placeholder:j.default.Messages.TWO_FA_AUTH_CODE,spellCheck:"false",maxLength:10,autoFocus:!0,label:j.default.Messages.TWO_FA_ENTER_SMS_TOKEN_LABEL,value:this.state.smsCode},"smsCode"),x(S.Button,{type:"submit",submitting:i,color:i?S.Button.Colors.TRANSPARENT:S.Button.Colors.BRAND},void 0,j.default.Messages.LOGIN),i?null:x(S.Button,{onClick:this.handleToggleSMSLogin,className:U.default.marginTop8,look:S.Button.Looks.LINK,color:S.Button.Colors.LINK},void 0,j.default.Messages.MFA_SMS_RESEND),x(S.Button,{look:S.Button.Looks.LINK,color:S.Button.Colors.LINK,className:U.default.marginTop4,onClick:this.handleReset},void 0,j.default.Messages.TWO_FA_LOGIN_FOOTER)))},G.renderIPAuthorization=function(){var e=this.props.authBoxClassName,t=this.state.phoneVerifyError;return x(S.default,{tag:"form",className:e},void 0,x(d.default,{title:j.default.Messages.PHONE_IP_AUTHORIZATION_TITLE,subtitle:j.default.Messages.PHONE_IP_AUTHORIZATION_SUBTITLE_RESEND.format({onResendClick:this.handleResendCode}),error:t,onSubmit:this.handleIPAuthorize,onCancel:u.default.loginReset}))},G.renderPasswordRecovery=function(){var e=this.props.authBoxClassName,t=this.state.phoneVerifyError;return x(S.default,{tag:"form",className:e},void 0,x(d.default,{title:j.default.Messages.PASSWORD_RECOVERY_VERIFY_PHONE_TITLE,subtitle:j.default.Messages.PASSWORD_RECOVERY_VERIFY_PHONE_SUBTITLE_RESEND.format({onResendClick:this.handleResendCode}),error:t,onSubmit:this.handlePasswordReset,onCancel:u.default.loginReset}))},G.render=function(){var e=this.props,t=e.authenticated,n=e.invite,r=e.guildTemplate,a=e.loginStatus,o=e.handoffAvailable,i=e.isGuest,l=e.authBoxClassName,u=e.errors,s=u.captcha_sitekey,d=u.captcha_service,f=this.state,c=f.checkingHandoff;if(f.redirecting)return null;if(this.hasError("captcha_key"))return x(A.default,{authBoxClassName:l,onVerify:this.handleCaptchaVerify,title:i?null:j.default.Messages.LOGIN_TITLE,sitekey:s,captchaService:(0,b.parseCaptchaType)(d)});if(o)return this.renderHandOffAvailable();if(t&&c)return this.renderHandOffContinue();switch(a){case w.LoginStates.LOGGING_IN_MFA_SMS:case w.LoginStates.MFA_SMS_STEP:return this.renderMFASMS();case w.LoginStates.LOGGING_IN_MFA:case w.LoginStates.MFA_STEP:return this.renderMFA();case w.LoginStates.ACCOUNT_SCHEDULED_FOR_DELETION:case w.LoginStates.ACCOUNT_DISABLED:return this.renderDisabledAccount();case w.LoginStates.PHONE_IP_AUTHORIZATION:return this.renderIPAuthorization();case w.LoginStates.PASSWORD_RECOVERY_PHONE_VERIFICATION:return this.renderPasswordRecovery();case w.LoginStates.LOGGING_IN:case w.LoginStates.NONE:default:return null!=n&&n.state===w.InviteStates.RESOLVING?this.renderResolving():null!=r?r.state===w.InviteStates.RESOLVING?this.renderResolving():this.renderGuildTemplate(r):this.renderDefault()}},v=l,(h=[{key:"loginSource",get:function(){var e=this.props,t=e.giftCode,n=e.guildTemplate,r=e.invite,a=e.isGuest;return null!=t?"gift":null!=n?"guild_template":null!=r?null!=r.guild?"guild_invite":"dm_invite":a?"guest_lurker":null}},{key:"giftCodeSKUId",get:function(){var e=this.props.giftCode;return null!=e?e.skuId:null}}])&&Y(v.prototype,h),E&&Y(v,E),l}(a.PureComponent);function q(e){var t=(0,l.useStateFromStoresObject)([h.default,E.default,_.default,v.default],(function(){return{authenticated:_.default.isAuthenticated(),handoffAvailable:h.default.isHandoffAvailable(),user:h.default.user,loginStatus:_.default.getLoginStatus(),mfaTicket:_.default.getMFATicket(),mfaSMS:_.default.getMFASMS(),maskedPhone:_.default.getMaskedPhone(),errors:_.default.getErrors(),defaultRoute:E.default.defaultRoute,country:v.default.getCountryCode()}}));return a.createElement(Z,H({},e,t))}Z.displayName="Login",Z.defaultProps={isGuest:!1,transitionTo:function(t){return e.location.assign(t)}},q.displayName="ConnectedLogin";var X=q;t.default=X}).call(this,n(44))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PremiumPaymentGuildAnimation=t.PremiumPaymentAnimationTier2=t.PremiumPaymentAnimationTier1=void 0;var r,a,o,i,l,u=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),s=v(n(9)),d=n(122),f=v(n(273)),c=v(n(6001)),p=v(n(6098));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function _(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,o=arguments.length-3;if(t||0===o||(t={children:void 0}),1===o)t.children=r;else if(o>1){for(var l=new Array(o),u=0;u<o;u++)l[u]=arguments[u+3];t.children=l}if(t&&a)for(var s in a)void 0===t[s]&&(t[s]=a[s]);else t||(t=a||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,E(e,t)}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}!function(e){e.NORMAL="normal",e.SPEED_START="speed_start",e.SPEED_LOOP="speed_loop",e.FINISH="finish",e.IDLE="idle"}(l||(l={}));var g,S=((r={})[l.NORMAL]={BEG:0,END:600,shouldForcePlayAfter:!0},r[l.SPEED_START]={BEG:601,END:636},r[l.SPEED_LOOP]={BEG:637,END:668},r[l.FINISH]={BEG:669,END:870},r[l.IDLE]={BEG:871,END:878},r),O=function(e){function t(){return e.apply(this,arguments)||this}h(t,e),t.getNextScene=function(e){switch(e){case t.Scenes.SPEED_START:return t.Scenes.SPEED_LOOP;case t.Scenes.FINISH:return t.Scenes.IDLE;default:return e}};var r=t.prototype;return r.importData=function(){return n.e(70).then(n.t.bind(null,7407,3)).then((function(e){return e.default}))},r.render=function(){var e=this.props,t=e.className,n=e.nextScene,r=e.onScenePlay,a=e.onSceneComplete,o=e.pauseWhileUnfocused;return _(c.default,{className:t,importData:this.importData,nextScene:n,sceneSegments:S,onScenePlay:r,onSceneComplete:a,pauseWhileUnfocused:o})},t}(u.PureComponent);t.PremiumPaymentAnimationTier1=O,O.displayName="PremiumPaymentAnimationTier1",O.Scenes=l,function(e){e.IDLE_ENTRY="idle_entry",e.IDLE_LOOP="idle_loop",e.BOOST_START="boost_start",e.BOOST_LOOP="boost_loop",e.BOOST_END="boost_end",e.VICTORY="victory",e.ERROR="error"}(g||(g={}));var I=((a={})[g.IDLE_ENTRY]={BEG:0,END:50},a[g.IDLE_LOOP]={BEG:50,END:230,shouldForcePlayAfter:!0},a[g.BOOST_START]={BEG:230,END:275},a[g.BOOST_LOOP]={BEG:275,END:290},a[g.BOOST_END]={BEG:386,END:455},a[g.VICTORY]={BEG:470,END:525},a[g.ERROR]={BEG:290,END:375},a),T=function(e){function t(){return e.apply(this,arguments)||this}h(t,e);var n=t.prototype;return n.getStyle=function(e){var t=this.props.animation;return{transform:[{translateX:t.x.interpolate({inputRange:[0,1],outputRange:e?["100%","0%"]:["0%","-100%"]})},{translateY:t.y.interpolate({inputRange:[0,1],outputRange:["100%","0%"]})}]}},n.render=function(){var e=this.props.className;return _("div",{className:p.default.panningAnimation},void 0,_(f.default.div,{className:e,style:this.getStyle(!1)}),_(f.default.div,{className:e,style:this.getStyle(!0)}))},t}(u.PureComponent);T.displayName="PanningAnimation";var C,b=Object.freeze({IDLE_ENTRY:{toValue:1,duration:1500},IDLE_LOOP:{toValue:1,duration:6e3,easing:f.default.Easing.linear},BOOST_START:{toValue:0,duration:2e3,delay:500},ERROR:{toValue:1,duration:1500,delay:1e3}}),M=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).backgroundAnimation=new f.default.ValueXY({x:0,y:0}),t.foregroundAnimation=new f.default.ValueXY({x:0,y:0}),t.didUnmount=!1,t.animateIdleLoopBackground=function(){t.didUnmount||(t.backgroundAnimation.x.setValue(0),f.default.timing(t.backgroundAnimation.x,{toValue:b.IDLE_LOOP.toValue,duration:1.2*b.IDLE_LOOP.duration,easing:f.default.Easing.linear}).start(t.animateIdleLoopBackground))},t.animateIdleLoopForeground=function(){t.didUnmount||(t.foregroundAnimation.x.setValue(0),f.default.timing(t.foregroundAnimation.x,{toValue:b.IDLE_LOOP.toValue,duration:b.IDLE_LOOP.duration,easing:b.IDLE_LOOP.easing}).start(t.animateIdleLoopForeground))},t.handleScenePlay=function(e){switch(e){case g.IDLE_ENTRY:t.animateIdleEntry(),t.animateIdleLoop();break;case g.ERROR:t.animateError();break;case g.BOOST_START:t.animateBoostStart()}var n=t.props.onScenePlay;null!=n&&n(e)},t}h(t,e),t.getNextScene=function(e){switch(e){case t.Scenes.IDLE_ENTRY:return t.Scenes.IDLE_LOOP;case t.Scenes.BOOST_START:return t.Scenes.BOOST_LOOP;case t.Scenes.BOOST_END:return t.Scenes.VICTORY;case t.Scenes.VICTORY:return t.Scenes.IDLE_ENTRY;case t.Scenes.ERROR:return t.Scenes.IDLE_LOOP;default:return e}};var r=t.prototype;return r.componentWillUnmount=function(){this.didUnmount=!0},r.importData=function(){return n.e(71).then(n.t.bind(null,7408,3)).then((function(e){return e.default}))},r.animateEntry=function(e){f.default.parallel([f.default.timing(this.foregroundAnimation.y,{toValue:e.toValue,duration:e.duration,delay:e.delay||0}),f.default.timing(this.backgroundAnimation.y,{toValue:e.toValue,duration:1.2*e.duration,delay:e.delay||0})]).start()},r.animateIdleEntry=function(){this.animateEntry(b.IDLE_ENTRY)},r.animateError=function(){this.animateEntry(b.ERROR)},r.animateIdleLoop=function(){this.animateIdleLoopBackground(),this.animateIdleLoopForeground()},r.animateBoostStart=function(){f.default.parallel([f.default.timing(this.foregroundAnimation.y,{toValue:b.BOOST_START.toValue,duration:b.BOOST_START.duration,delay:b.BOOST_START.delay}),f.default.timing(this.backgroundAnimation.y,{toValue:b.BOOST_START.toValue,duration:1.2*b.BOOST_START.duration,delay:b.BOOST_START.delay})]).start()},r.render=function(){var e=this.props,t=e.className,n=e.nextScene,r=e.onSceneComplete;return _("div",{className:(0,s.default)(p.default.tier2Animation,t)},void 0,_(T,{className:p.default.tier2Background,animation:this.backgroundAnimation}),_(T,{className:p.default.tier2Foreground,animation:this.foregroundAnimation}),_(c.default,{importData:this.importData,nextScene:n,sceneSegments:I,onScenePlay:this.handleScenePlay,onSceneComplete:r,pauseWhileUnfocused:!1}))},t}(u.PureComponent);t.PremiumPaymentAnimationTier2=M,M.displayName="PremiumPaymentAnimationTier2",M.Scenes=g,function(e){e.ENTRY="entry",e.IDLE="idle",e.STARS="stars",e.ERROR="error",e.SUCCESS="success"}(C||(C={}));var N=((o={})[C.ENTRY]={BEG:0,END:180},o[C.IDLE]={BEG:180,END:360,shouldForcePlayAfter:!0},o[C.STARS]={BEG:180,END:360,shouldForcePlayAfter:!0},o[C.ERROR]={BEG:360,END:540},o[C.SUCCESS]={BEG:540,END:778},o),A=Object.freeze({WHITE:"#ebf0f7",PINK:"#fa6ef6"}),P=[{left:29,top:100,color:A.WHITE},{left:245,top:11,color:A.PINK},{left:393,top:22,color:A.WHITE},{left:74,top:30,color:A.PINK},{left:188,top:9,color:A.WHITE},{left:379,top:97,color:A.PINK}],R=Object.freeze({SCALE_INITIAL:0,SCALE_MIDDLE:1,SCALE_END:0,ROTATE_INITIAL:0,ROTATE_MIDDLE:180,ROTATE_END:360,DELAY_MIN:200,DELAY_MAX:500,DELAY_STAGGER:200,DURATION_MIDDLE:400,DURATION_END:250,SIZE_MIN:7,SIZE_MAX:15,EASING_MIDDLE:f.default.Easing.bezier(.3,.01,0,.99),EASING_END:f.default.Easing.bezier(0,-.01,.99,0)});function L(e){var t=e.animate,n=u.useState(0),r=n[0],a=n[1],o=(0,d.useSprings)(P.length,P.map((function(e,n){var o,i,l=n>0?R.DELAY_STAGGER*n+Math.random()*(R.DELAY_MAX-R.DELAY_MIN)+R.DELAY_MIN:0,u=Math.random()*(R.SIZE_MAX-R.SIZE_MIN)+R.SIZE_MIN;return{from:{scale:R.SCALE_INITIAL,rotate:R.ROTATE_INITIAL,top:e.top,left:e.left,width:u,height:u},to:(o=regeneratorRuntime.mark((function e(o){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=10;break}return e.next=3,o({scale:R.SCALE_MIDDLE,rotate:R.ROTATE_MIDDLE,delay:l,config:{duration:R.DURATION_MIDDLE,easing:R.EASING_MIDDLE}});case 3:return e.next=5,o({scale:R.SCALE_END,rotate:R.ROTATE_END,config:{duration:R.DURATION_END,easing:R.EASING_END}});case 5:return e.next=7,o({scale:R.SCALE_INITIAL,rotate:R.ROTATE_INITIAL,immediate:!0});case 7:n===P.length-1&&a(r+1),e.next=12;break;case 10:return e.next=12,o({scale:R.SCALE_INITIAL,rotate:R.ROTATE_INITIAL});case 12:case"end":return e.stop()}}),e)})),i=function(){var e=this,t=arguments;return new Promise((function(n,r){var a=o.apply(e,t);function i(e){m(a,n,r,i,l,"next",e)}function l(e){m(a,n,r,i,l,"throw",e)}i(void 0)}))},function(e){return i.apply(this,arguments)})}})));return u.createElement(u.Fragment,null,o.map((function(e,t){var n=P[t];return _(d.animated.svg,{style:e,className:p.default.guildStar,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12.14 12.24"},t,_("path",{d:"M5.62 10.22l-4 1.9a1.17 1.17 0 01-1.5-.5 1.7 1.7 0 010-1l1.9-4a.91.91 0 000-1l-1.9-4a1.14 1.14 0 01.5-1.5 1.39 1.39 0 01.9 0l4 1.9a.91.91 0 001 0l4-1.9a1.14 1.14 0 011.5.5 1.39 1.39 0 010 .9l-1.9 4a.91.91 0 000 1l1.9 4a1.17 1.17 0 01-.5 1.5 1.7 1.7 0 01-1 0l-4-1.9a1 1 0 00-.9.1z",fill:n.color}))})))}var D=function(e){function t(){return e.apply(this,arguments)||this}h(t,e),t.getNextScene=function(e){switch(e){case C.ENTRY:case C.ERROR:case C.SUCCESS:return C.IDLE;default:return e}};var r=t.prototype;return r.importData=function(){return n.e(69).then(n.t.bind(null,7409,3)).then((function(e){return e.default}))},r.render=function(){var e=this.props,t=e.className,n=e.nextScene,r=e.onScenePlay,a=e.onSceneComplete,o=e.pauseWhileUnfocused;return _("div",{className:(0,s.default)(p.default.guildWrapper,t)},void 0,_(c.default,{className:p.default.guildBackground,importData:this.importData,nextScene:n,sceneSegments:N,onScenePlay:r,onSceneComplete:a,pauseWhileUnfocused:o}),_(L,{animate:n===C.STARS}))},t}(u.PureComponent);t.PremiumPaymentGuildAnimation=D,D.displayName="PremiumPaymentGuildAnimation",D.Scenes=C},function(e,t,n){e.exports=n.p+"0f4d1ff76624bb45a3fee4189279ee92.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(9)),o=n(281),i=n(1),l=s(n(6)),u=s(n(6082));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.price,n=e.currency,r=e.intervalType,s=e.className,d=(0,o.formatPrice)(t,n),c=r===i.SubscriptionIntervalTypes.MONTH?l.default.Messages.BILLING_PRICE_PER_MONTH_BOLD.format({price:d}):r===i.SubscriptionIntervalTypes.YEAR?l.default.Messages.BILLING_PRICE_PER_YEAR_BOLD.format({price:d}):null;return f("div",{className:(0,a.default)(u.default.pricePerInterval,s)},void 0,null==r?f("strong",{},void 0,d):c)}c.displayName="PricePerInterval"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("title",{},void 0,"Nitro Classic"),f=s("path",{d:"M98.4808161 8.67851957L97.2236004 17.1425324C96.9366613 19.1428254 94.6742302 20.0716236 92.5917164 20.0716236 90.6527882 20.0716236 88.7494953 19.1428254 89.0007991 17.3214804L90.2578987 8.67851957C90.5449539 6.7854799 92.807385 5.82123843 94.8897827 5.82123843 96.9722965 5.82123843 98.7678712 6.7854799 98.4808161 8.67851957M95.8844352.00380986213L95.8851317 0 82.3544217 0C82.0087483 0 81.715309.252259053 81.6652804.592375835L81.0074795 5.06376857C80.9459594 5.48181435 81.2717838 5.85668169 81.6965047 5.85668169L84.1674077 5.85668169C84.4160419 5.85668169 84.5858606 6.10882529 84.4882409 6.33626252 84.1799439 7.05517195 83.9553375 7.83561644 83.8305561 8.67851957L82.5733404 17.3214804C81.7473459 23.1071601 86.5954788 26 91.8735561 26 97.4035177 26 102.825761 23.1071601 103.651756 17.3214804L104.908275 8.67851957C105.717903 3.00713572 101.040981.115796719 95.8844352.00380986213M15.296869 11.3489531L15.3645208 15.4968998C15.3658783 15.5821668 15.3090871 15.6571606 15.2271809 15.6781634L15.2270678 15.6781634 13.8302517 10.6749217C13.8282154 10.6672739 13.8256134 10.6598544 13.8224457 10.6525491L9.48877489.415833402C9.38198017.163685177 9.13637494 0 8.86452355 0L3.95343718 0C3.6148391 0 3.32805455.251805788 3.28121873.590019998L.00667092325 24.2202696C-.050459726 24.632222.26664366 25 .678889375 25L5.57119616 25C5.91024677 25 6.19737071 24.7475093 6.24364088 24.4086103L7.52608254 15.0207974C7.52732697 15.0116657 7.52789262 15.0023057 7.52777949 14.9930599L7.45775202 10.1692555 7.5975807 10.1340986 9.06465052 15.1374545C9.06679999 15.1445315 9.06928885 15.1516085 9.07223023 15.1584573L13.1252256 24.587591C13.2328122 24.8379129 13.4775124 25 13.7478931 25L19.045884 25C19.3844821 25 19.6712667 24.7481942 19.7181025 24.40998L22.9933291.779730433C23.0504597.367777991 22.7333563 0 22.3211106 0L17.4621772 0C17.1236922 0 16.8369077.251577496 16.7899587.589791707L15.298566 11.3204166C15.2973215 11.3298907 15.2967559 11.3393648 15.296869 11.3489531M24.7126791 25L29.8497922 25C30.205243 25 30.5063014 24.7483072 30.5554684 24.4099773L33.9929971.779733993C34.0529712.36777967 33.7200849 0 33.2873209 0L28.1502078 0C27.7948757 0 27.4938173.251692791 27.4445316.590022692L24.0070029 24.220266C23.9470288 24.6322203 24.2799151 25 24.7126791 25M37.6698384.584862647L37.0075033 4.99943007C36.9456869 5.41217371 37.2736994 5.78240055 37.7012724 5.78240055L42.9904877 5.78240055C43.4157236 5.78240055 43.7430349 6.14863787 43.6850747 6.55955773L41.1933721 24.2228428C41.1354119 24.6337627 41.4627233 25 41.8879592 25L47.0155637 25C47.3658955 25 47.6624739 24.7477488 47.7101508 24.4093241L50.2545552 6.37307648C50.3022321 6.03453779 50.5988105 5.78240055 50.9491423 5.78240055L56.6358988 5.78240055C56.9838934 5.78240055 57.2791864 5.53345492 57.3296679 5.1975379L57.9924704.782970478C58.0544036.370226832 57.7263911 0 57.2987013 0L38.3636075 0C38.0156128 0 37.7202029.248945629 37.6698384.584862647M73.4002223 8.72158326C73.2199776 10.1691878 72.0692022 11.6169065 70.0902313 11.6169065L67.1170073 11.6169065C66.6926763 11.6169065 66.3664914 11.2480995 66.4261466 10.8356886L67.0554915 6.48511303C67.104332 6.147468 67.3988868 5.89657424 67.7463521 5.89657424L70.9177291 5.89657424C72.8244858 5.89657424 73.5797693 7.20309382 73.4002223 8.72158326M71.6373126 0L62.0638753 0C61.7158285 0 61.4210412.251692791 61.3727821.590022692L58.0068571 24.220266C57.9481322 24.6322203 58.2740844 25 58.697834 25L63.7988762 25C64.1473881 25 64.4425243 24.7475082 64.4900856 24.4086076L65.4806177 17.3505938C65.5044565 17.1812005 65.6519083 17.0549546 65.8262224 17.0549546L66.4819644 17.0549546C66.6009259 17.0549546 66.7117473 17.1144249 66.7758214 17.2128191L71.6474295 24.6843852C71.775694 24.8810595 71.9971043 25 72.2350273 25L78.5355692 25C79.0999096 25 79.4307459 24.3765324 79.1072357 23.9225722L73.9950299 16.7493848C73.8724635 16.5773661 73.935491 16.3380012 74.1277133 16.245885 77.3914221 14.6802531 79.2866664 13.0763822 79.911476 8.61554126 80.6303618 2.75412411 76.8897603 0 71.6373126 0M5.93350799 37.6155526L7.71275643 38.4952518C7.80947956 38.5430729 7.84912249 38.6602491 7.80130141 38.7569722 7.79608029 38.7675325 7.78991472 38.7775989 7.78288005 38.7870484 7.78288005 38.7870484 7.78288005 38.7870484 7.78288005 38.7870484 6.5023978 40.5070853 5.02480222 41 3.72982215 41 1.63490599 41-.294225433 39.7760989.0373440313 37.3434066L.549769566 33.6565934C.88133903 31.239011 3.1721826 30 5.31231277 30 6.56433391 30 7.99499405 30.5097346 8.63332448 32.2132515 8.63332448 32.2132515 8.63332448 32.2132515 8.63332448 32.2132515L8.63332448 32.2132515C8.68451961 32.3498763 8.61597686 32.5022247 8.4797766 32.5545387L6.63222277 33.2642011C6.50733795 33.312169 6.36596186 33.2651964 6.29461441 33.1520298 6.29461441 33.1520298 6.29461441 33.1520298 6.29461441 33.1520298 6.00467959 32.6921544 5.44749743 32.4931319 4.89031528 32.4931319 4.12167697 32.5082418 3.35303867 32.9313187 3.2475393 33.6565934L2.73511376 37.3434066C2.62961439 38.0384615 3.29275331 38.4766484 4.04632028 38.4766484 4.60310978 38.4766484 5.22108254 38.2435573 5.60253663 37.6999958 5.60253663 37.6999958 5.60253663 37.6999958 5.60253663 37.6999958L5.60253663 37.6999958C5.67690475 37.5940233 5.81746419 37.5581537 5.93351807 37.6155322zM59.2832028 37.6155526L61.0624512 38.4952518C61.1591744 38.5430729 61.1988173 38.6602491 61.1509962 38.7569722 61.1457751 38.7675325 61.1396095 38.7775989 61.1325749 38.7870484 61.1325749 38.7870484 61.1325749 38.7870484 61.1325749 38.7870484 59.8520926 40.5070853 58.374497 41 57.079517 41 54.9846008 41 53.0554694 39.7760989 53.3870388 37.3434066L53.8994644 33.6565934C54.2310338 31.239011 56.5218774 30 58.6620076 30 59.9140287 30 61.3446889 30.5097346 61.9830193 32.2132515 61.9830193 32.2132515 61.9830193 32.2132515 61.9830193 32.2132515L61.9830193 32.2132515C62.0342144 32.3498763 61.9656717 32.5022247 61.8294714 32.5545387L59.9819176 33.2642011C59.8570328 33.312169 59.7156567 33.2651964 59.6443092 33.1520298 59.6443092 33.1520298 59.6443092 33.1520298 59.6443092 33.1520298 59.3543744 32.6921544 58.7971922 32.4931319 58.2400101 32.4931319 57.4713718 32.5082418 56.7027335 32.9313187 56.5972341 33.6565934L56.0848086 37.3434066C55.9793092 38.0384615 56.6424481 38.4766484 57.3960151 38.4766484 57.9528046 38.4766484 58.5707773 38.2435573 58.9522314 37.6999958 58.9522314 37.6999958 58.9522314 37.6999958 58.9522314 37.6999958L58.9522314 37.6999958C59.0265995 37.5940233 59.167159 37.5581537 59.2832129 37.6155322zM9.55137248 40.2798328L10.9039613 30.5820306C10.9384202 30.3349668 11.1497126 30.1510989 11.3991679 30.1510989L13.1015272 30.1510989C13.3776695 30.1510989 13.6015272 30.3749565 13.6015272 30.6510989 13.6015272 30.6744353 13.5998934 30.6977431 13.5966378 30.7208514L12.6268238 37.6046981C12.5883006 37.8781402 12.7787399 38.131038 13.052182 38.1695612 13.0752902 38.1728168 13.0985981 38.1744505 13.1219345 38.1744505L16.3149254 38.1744505C16.5910678 38.1744505 16.8149254 38.3983082 16.8149254 38.6744505 16.8149254 38.6968642 16.8134183 38.7192526 16.8104143 38.7414641L16.5839494 40.4159146C16.55041 40.6639006 16.3387043 40.8489011 16.0884606 40.8489011L10.0465791 40.8489011C9.7704367 40.8489011 9.54657907 40.6250435 9.54657907 40.3489011 9.54657907 40.3257952 9.54818071 40.3027171 9.55137248 40.2798328zM25.2618169 30.5450857L27.365844 40.2428879C27.4243935 40.5127519 27.2530892 40.7789836 26.9832252 40.8375331 26.9483937 40.8450901 26.9128539 40.8489011 26.877212 40.8489011L25.017712 40.8489011C24.7774965 40.8489011 24.5712291 40.6780766 24.5264688 40.4420682L24.273859 39.1101296C24.2290987 38.8741212 24.0228313 38.7032967 23.7826158 38.7032967L21.6737234 38.7032967C21.475839 38.7032967 21.2965724 38.8200012 21.2164933 39.0009587L20.5304477 40.5512391C20.4503686 40.7321966 20.2711021 40.8489011 20.0732176 40.8489011L18.3049929 40.8489011C18.0288505 40.8489011 17.8049929 40.6250435 17.8049929 40.3489011 17.8049929 40.2729821 17.8222812 40.1980599 17.8555465 40.1298168L22.5827762 30.4320146C22.6665559 30.2601425 22.8410184 30.1510989 23.0322226 30.1510989L24.773185 30.1510989C25.0084749 30.1510989 25.2119293 30.3151453 25.2618169 30.5450857zM22.2977121 36.3008242L23.895274 36.3008242 23.5787759 33.1730769 23.4732765 33.1730769 22.2977121 36.3008242zM28.4615085 38.7933304L29.6600776 37.7982307C29.867419 37.6260869 30.1698805 37.6329436 30.3692081 37.8143064 30.3692081 37.8143064 30.3692081 37.8143064 30.3692081 37.8143064 30.8626279 38.2632556 31.5697924 38.4917582 32.2174996 38.4917582 32.9409239 38.4917582 33.5739201 38.2348901 33.6794195 37.6758242 33.7999902 37.010989 32.8655672 36.7239011 32.0065008 36.603022 30.3335822 36.331044 28.8264482 34.9862637 29.2032317 32.9615385 29.6101579 30.7706044 31.5392893 30 33.4985634 30 34.6675402 30 35.7629615 30.294974 36.6410928 31.3393989 36.6410928 31.3393989 36.6410928 31.3393989 36.6410928 31.3393989L36.6410928 31.3393989C36.7911777 31.5179057 36.7681372 31.784282 36.5896304 31.9343669 36.5796762 31.9427362 36.5693406 31.9506412 36.5586568 31.9580566L35.2852973 32.8418354C35.1082978 32.964687 34.8717504 32.9572254 34.7028454 32.8234627 34.7028454 32.8234627 34.7028454 32.8234627 34.7028454 32.8234627 34.2644214 32.476257 33.6924031 32.3091824 33.1820653 32.2967033 32.503855 32.2815934 31.9311441 32.5384615 31.8708588 33.0824176 31.7955021 33.7019231 32.3380703 33.9739011 33.1519226 34.1552198 35.0056973 34.5027473 36.8142581 35.2129121 36.3169039 37.8722527 35.925049 39.9574176 34.1164883 41 31.8105734 41 30.6586546 41 29.2630198 40.4746703 28.4016401 39.4349963 28.4016401 39.4349963 28.4016401 39.4349963 28.4016401 39.4349963L28.4016401 39.4349963C28.2411035 39.2412306 28.2678891 38.9540435 28.4614898 38.7933078zM38.3784498 38.7933304L39.5770189 37.7982307C39.7843603 37.6260869 40.0868217 37.6329436 40.2861493 37.8143064 40.2861493 37.8143064 40.2861493 37.8143064 40.2861493 37.8143064 40.7795691 38.2632556 41.4867336 38.4917582 42.1344408 38.4917582 42.8578651 38.4917582 43.4908613 38.2348901 43.5963607 37.6758242 43.7169314 37.010989 42.7825084 36.7239011 41.9234421 36.603022 40.2505234 36.331044 38.7433895 34.9862637 39.120173 32.9615385 39.5270991 30.7706044 41.4562305 30 43.4155046 30 44.5844814 30 45.6799028 30.294974 46.558034 31.3393989 46.558034 31.3393989 46.558034 31.3393989 46.558034 31.3393989L46.558034 31.3393989C46.708119 31.5179057 46.6850785 31.784282 46.5065716 31.9343669 46.4966174 31.9427362 46.4862819 31.9506412 46.4755981 31.9580566L45.2022385 32.8418354C45.025239 32.964687 44.7886916 32.9572254 44.6197866 32.8234627 44.6197866 32.8234627 44.6197866 32.8234627 44.6197866 32.8234627 44.1813626 32.476257 43.6093444 32.3091824 43.0990065 32.2967033 42.4207963 32.2815934 41.8480854 32.5384615 41.7878 33.0824176 41.7124433 33.7019231 42.2550115 33.9739011 43.0688638 34.1552198 44.9226386 34.5027473 46.7311993 35.2129121 46.2338451 37.8722527 45.8419903 39.9574176 44.0334296 41 41.7275147 41 40.5755958 41 39.179961 40.4746703 38.3185814 39.4349963 38.3185814 39.4349963 38.3185814 39.4349963 38.3185814 39.4349963L38.3185814 39.4349963C38.1580447 39.2412306 38.1848304 38.9540435 38.378431 38.7933078zM51.984237 30.7201672L50.6316481 40.4179694C50.5971892 40.6650332 50.3858968 40.8489011 50.1364415 40.8489011L48.4483514 40.8489011C48.1722091 40.8489011 47.9483514 40.6250435 47.9483514 40.3489011 47.9483514 40.3257952 47.9499531 40.3027171 47.9531448 40.2798328L49.3057337 30.5820306C49.3401926 30.3349668 49.551485 30.1510989 49.8009403 30.1510989L51.4890304 30.1510989C51.7651728 30.1510989 51.9890304 30.3749565 51.9890304 30.6510989 51.9890304 30.6742048 51.9874287 30.6972829 51.984237 30.7201672z"});function c(e){var t=e.width,n=void 0===t?143:t,r=e.height,a=void 0===r?41:r,l=e.color,c=void 0===l?"currentColor":l,p=e.foreground,v=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(v),{width:n,height:a,viewBox:"0 0 143 41"}),d,s("g",{fill:c,className:p,fillRule:"evenodd","aria-hidden":!0},void 0,f))}c.displayName="NitroClassic"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=i(n(8)),o=i(n(105));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return(t=e.call.apply(e,[this].concat(i))||this).ref=r.createRef(),t.shouldRenderFrame=!0,t.animate=function(){var e=t.props,n=e.intensity;if(e.isShaking){var r=t.ref.current;if(t.shouldRenderFrame&&null!=r){var i=a.default.random(-n,n,!0),l=a.default.random(-n,n,!0);r.style.transform=o.default.useReducedMotion?"":"translate3d("+i+"px,"+l+"px,0px)"}t.shouldRenderFrame=!t.shouldRenderFrame,t.animationFrame=requestAnimationFrame(t.animate)}},t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var l=i.prototype;return l.componentDidMount=function(){this.props.isShaking&&this.startShaking()},l.componentDidUpdate=function(e){this.props.isShaking!==e.isShaking&&this.setShaking(this.props.isShaking)},l.setShaking=function(e){e?this.startShaking():this.stopShaking()},l.startShaking=function(){this.shouldRenderFrame=!0,this.animationFrame=requestAnimationFrame(this.animate)},l.stopShaking=function(){cancelAnimationFrame(this.animationFrame);var e=this.ref.current;null!=e&&(e.style.transform="")},l.render=function(){var e=this.props,t=e.className,n=e.children;return r.createElement("div",{className:t,ref:this.ref},n)},i}(r.Component);s.displayName="Shaker",s.defaultProps={isShaking:!0,intensity:5};var d=s;t.default=d},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=I;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(23)),i=n(3),l=n(5672),u=h(n(5857)),s=h(n(257)),d=h(n(373)),f=h(n(29)),c=h(n(284)),p=h(n(96)),v=n(280),y=n(1),m=h(n(6)),_=h(n(6101));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var S=[y.SubscriptionPlans.PREMIUM_MONTH_LEGACY,y.SubscriptionPlans.PREMIUM_YEAR_LEGACY,y.SubscriptionPlans.PREMIUM_MONTH_TIER_1,y.SubscriptionPlans.PREMIUM_YEAR_TIER_1,y.SubscriptionPlans.PREMIUM_MONTH_TIER_2,y.SubscriptionPlans.PREMIUM_YEAR_TIER_2];function O(e){var t,n,r,a=e.planId,o=e.startingPremiumSubscriptionPlanId,l=(0,i.useStateFromStoresArray)([s.default],(function(){return[s.default.getHardcoded(o),s.default.getHardcoded(a)]})),u=l[0],d=l[1];if(n=o,r=a,S.indexOf(n)<S.indexOf(r))switch(a){case y.SubscriptionPlans.PREMIUM_MONTH_TIER_1:t=m.default.Messages.BILLING_SWITCH_PLAN_CONFIRM_TIER_1;break;case y.SubscriptionPlans.PREMIUM_MONTH_TIER_2:t=m.default.Messages.BILLING_SWITCH_PLAN_CONFIRM_UPGRADE_TIER_2_MONTH;break;case y.SubscriptionPlans.PREMIUM_YEAR_TIER_1:t=m.default.Messages.BILLING_SWITCH_PLAN_CONFIRM_UPGRADE_TIER_1_YEAR;break;case y.SubscriptionPlans.PREMIUM_YEAR_TIER_2:t=m.default.Messages.BILLING_SWITCH_PLAN_CONFIRM_UPGRADE_TIER_2_YEAR.format({numFreeGuildSubscriptions:v.NUM_FREE_GUILD_SUBSCRIPTIONS_WITH_PREMIUM});break;default:throw new Error("Unexpected planId: "+a)}else if(u.skuId===y.PremiumSubscriptionSKUs.TIER_2&&d.skuId===y.PremiumSubscriptionSKUs.TIER_1)t=m.default.Messages.BILLING_SWITCH_PLAN_CONFIRM_TIER_2_TO_TIER_1;else switch(d.skuId){case y.PremiumSubscriptionSKUs.TIER_1:t=m.default.Messages.BILLING_SWITCH_PLAN_CONFIRM_TIER_1_YEAR_TO_MONTH;break;case y.PremiumSubscriptionSKUs.TIER_2:t=m.default.Messages.BILLING_SWITCH_PLAN_CONFIRM_TIER_2_YEAR_TO_MONTH;break;default:throw new Error("Unexpected skuId: "+d.skuId)}return g("div",{className:_.default.text},void 0,t)}function I(e){var t,n,r=e.planId,v=e.startingPremiumSubscriptionPlanId,h=e.onClose,E=e.followupSKUInfo,S=e.isDowngrade,I=e.hideClose,T=e.postSuccessGuild,C=a.useContext(c.default),b=(0,i.useStateFromStores)([d.default],(function(){return null!=E?d.default.get(E.id):null}));if(a.useEffect((function(){if(null!=E&&null==b){var e=E.applicationId,t=E.id;(0,l.fetchSKU)(e,t).catch(y.NOOP_NULL)}}),[E,b]),null!=b)t=g("div",{className:_.default.text},void 0,m.default.Messages.PREMIUM_PAYMENT_CONFIRMATION_BLURB_IAP.format({skuName:b.name}));else if(null!=v)t=g(O,{planId:r,startingPremiumSubscriptionPlanId:v});else if(null!=T){var M=s.default.getHardcoded(r);t=a.createElement(a.Fragment,null,g("div",{className:_.default.text},void 0,M.skuId===y.PremiumSubscriptionSKUs.TIER_1?m.default.Messages.BILLING_SWITCH_PLAN_CONFIRM_TIER_1:m.default.Messages.BILLING_SWITCH_PLAN_CONFIRM_TIER_2),g("div",{className:_.default.text},void 0,m.default.Messages.BILLING_POST_PURCHASE_JOIN_GUILD_FOR_EMOJI.format({guildName:T.name})))}else{var N=s.default.getHardcoded(r);t=g("div",{className:_.default.text},void 0,N.skuId===y.PremiumSubscriptionSKUs.TIER_1?m.default.Messages.BILLING_SWITCH_PLAN_CONFIRM_TIER_1:m.default.Messages.BILLING_SWITCH_PLAN_CONFIRM_TIER_2)}n=null!=b?m.default.Messages.PREMIUM_PAYMENT_CONFIRMATION_BUTTON_IAP.format({skuName:b.name}):S?m.default.Messages.PREMIUM_DOWNGRADE_DONE_BUTTON:null!=T?m.default.Messages.BILLING_POST_PURCHASE_JOIN_GUILD_FOR_EMOJI_CTA:m.default.Messages.PREMIUM_UPGRADE_DONE_BUTTON;var A=p.default.getPremiumType(r);return(0,o.default)(A!==y.PremiumTypes.NONE_DEPRECATED&&null!=A,"premium type should not be none or undefined in purchase confirmation"),g("div",{className:_.default.confirmation},void 0,g(u.default,{className:_.default.banner,theme:C,premiumType:A,type:null!=v?u.default.Types.PREMIUM_UPDATED:u.default.Types.PREMIUM_ACTIVATED}),t,I?null:g(f.default,{onClick:h},void 0,n))}O.displayName="PremiumSubscriptionSwitchPlanConfirmationText",I.displayName="PremiumSubscriptionPurchaseConfirmation"},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(8)),a=d(n(3)),o=d(n(2)),i=d(n(1191)),l=d(n(120)),u=n(136),s=d(n(373));n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var y={},m={},_={},h={},E=new Set,g=new Set;function S(e){y[e.id]=i.default.createFromServer(e),null==_[e.sku_id]&&(_[e.sku_id]=new Set),null==h[e.application_id]&&(h[e.application_id]=new Set),h[e.application_id].add(e.id),_[e.sku_id].add(e.id)}function O(e){m[e.id]=i.default.createFromServer(e)}var I=new(function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var o,i,d,v=a.prototype;return v.initialize=function(){this.syncWith([l.default],(function(){return!0}))},v.get=function(e){return y[e]},v.getGiftable=function(){return r.default.values(m)},v.getForApplication=function(e){var t=h[e];if(null==t)return null;for(var n,r=new Set,a=p(t);!(n=a()).done;){var o=n.value;r.add(y[o])}return r},v.getForSku=function(e){var t=_[e];if(null==t)return null;for(var n,r=new Set,a=p(t);!(n=a()).done;){var o=n.value;r.add(y[o])}return r},v.isEntitledToSku=function(e,t,n,r){void 0===r&&(r=null);var a=_[t];if(null!=a)for(var o,i=p(a);!(o=i()).done;){var d=o.value,f=y[d];if(null!=f&&f.isValid(e,s.default,r))return!0}if(g.has(n))return!1;var c=null!=r?l.default.getLibraryApplication(n,r):l.default.getActiveLibraryApplication(n);return!(null==c||c.sku.id!==t||!(0,u.isUserEntitledToLibraryApplication)(c))||null},o=a,(i=[{key:"applicationIdsFetching",get:function(){return E}},{key:"applicationIdsFetched",get:function(){return g}}])&&f(o.prototype,i),d&&f(o,d),a}(a.default.Store))(o.default,{ENTITLEMENT_FETCH_APPLICATION_START:function(e){var t=e.applicationId;E.add(t)},ENTITLEMENT_FETCH_APPLICATION_SUCCESS:function(e){var t=e.applicationId,n=e.entitlements;E.delete(t),g.add(t);for(var r,a=p(n);!(r=a()).done;){var o=r.value;!0!==o.consumed&&S(o)}},ENTITLEMENT_FETCH_APPLICATION_FAIL:function(e){},ENTITLEMENTS_GIFTABLE_FETCH_SUCCESS:function(e){var t=e.entitlements;m={},t.forEach(O)},SKU_PURCHASE_SUCCESS:function(e){for(var t,n=p(e.entitlements);!(t=n()).done;){S(t.value)}},LIBRARY_FETCH_SUCCESS:function(e){for(var t,n=p(e.libraryApplications);!(t=n()).done;){var r=t.value;if(null!=r.entitlements)for(var a,o=p(r.entitlements);!(a=o()).done;){S(a.value)}}},ENTITLEMENT_CREATE:function(e){return S(e.entitlement)},ENTITLEMENT_UPDATE:function(e){return S(e.entitlement)},ENTITLEMENT_DELETE:function(e){return function(e){delete y[e.id];var t=h[e.application_id];null!=t&&t.delete(e.id);var n=_[e.sku_id];null!=n&&n.delete(e.id)}(e.entitlement)},LOGOUT:function(e){return y={},_={},h={},E=new Set,void(g=new Set)}});t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?20:t,r=e.height,a=void 0===r?20:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 20 20"}),s("path",{d:"M10 0C4.486 0 0 4.486 0 10C0 15.515 4.486 20 10 20C15.514 20 20 15.515 20 10C20 4.486 15.514 0 10 0ZM9 4H11V11H9V4ZM10 15.25C9.31 15.25 8.75 14.691 8.75 14C8.75 13.31 9.31 12.75 10 12.75C10.69 12.75 11.25 13.31 11.25 14C11.25 14.691 10.69 15.25 10 15.25Z",fillRule:"evenodd",clipRule:"evenodd",className:f,fill:d}))}d.displayName="WarningCircle"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Shine=void 0;var r,a,o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),l=c(n(9)),u=c(n(273)),s=c(n(29)),d=c(n(55)),f=c(n(6076));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function _(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,h(e,t)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}!function(e){e.DEFAULT="default",e.SMALL="small"}(o||(o={}));var E=((r={})[o.DEFAULT]=f.default.shineContainerDefault,r[o.SMALL]=f.default.shineContainerSmall,r),g=function(e){function t(){return e.apply(this,arguments)||this}return _(t,e),t.prototype.render=function(){var e,t=this.props,n=t.className,r=t.shineSize,a=t.shinePaused,o=m(t,["className","shineSize","shinePaused"]);return i.createElement(u.default.div,v({},o,{className:(0,l.default)(E[r],n,(e={},e[f.default.shinePaused]=a,e))}),y(d.default,{align:d.default.Align.CENTER,justify:d.default.Justify.CENTER,className:f.default.shine},void 0,y("div",{className:f.default.shineInner})))},t}(i.PureComponent);t.Shine=g,g.displayName="Shine",g.defaultProps={shineSize:o.DEFAULT};var S=function(e){function t(){return e.apply(this,arguments)||this}return _(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,r=e.disabled,a=e.submitting,o=e.pauseAnimation,u=e.shineSize,d=e.shinePaused,c=m(e,["children","className","disabled","submitting","pauseAnimation","shineSize","shinePaused"]);return i.createElement(s.default,v({},c,{className:(0,l.default)(f.default.shinyButton,n),disabled:r,submitting:a}),t,r||a||!0===o?null:y(g,{shinePaused:d,className:f.default.buttonShine,shineSize:u}))},t}(i.PureComponent);S.displayName="ShinyButton",S.ShineSizes=o,S.defaultProps={shineSize:o.DEFAULT};var O=S;t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchUserEntitlementsForApplication=function(e,t){void 0===t&&(t=!0);return a.default.wait((function(){a.default.dispatch({type:i.ActionTypes.ENTITLEMENT_FETCH_APPLICATION_START,applicationId:e})})),r.default.get({url:i.Endpoints.ENTITLEMENTS_FOR_APPLICATION(e),oldFormErrors:!0,query:{exclude_consumed:t}}).then((function(t){return a.default.dispatch({type:i.ActionTypes.ENTITLEMENT_FETCH_APPLICATION_SUCCESS,applicationId:e,entitlements:t.body}),t.body})).catch((function(){a.default.dispatch({type:i.ActionTypes.ENTITLEMENT_FETCH_APPLICATION_FAIL,applicationId:e})}))},t.fetchGiftableEntitlements=function(){return d.apply(this,arguments)};var r=l(n(14)),a=l(n(2)),o=n(289),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){u(o,r,a,i,l,"next",e)}function l(e){u(o,r,a,i,l,"throw",e)}i(void 0)}))}}function d(){return(d=s(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a.default.dispatch({type:i.ActionTypes.ENTITLEMENTS_GIFTABLE_FETCH}),e.prev=1,e.next=4,(0,o.httpGetWithCountryCodeQuery)({url:i.Endpoints.ENTITLEMENTS_GIFTABLE});case 4:t=e.sent,a.default.dispatch({type:i.ActionTypes.ENTITLEMENTS_GIFTABLE_FETCH_SUCCESS,entitlements:t.body}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),a.default.dispatch({type:i.ActionTypes.ENTITLEMENTS_GIFTABLE_FETCH_FAIL});case 11:case"end":return e.stop()}}),e,null,[[1,8]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 8 12"}),s("path",{d:"M4 0L0 4V8L4 12L8 8V4L4 0ZM7 7.59L4 10.59L1 7.59V4.41L4 1.41L7 4.41V7.59Z",fill:d,className:f}),s("path",{d:"M2 4.83V7.17L4 9.17L6 7.17V4.83L4 2.83L2 4.83Z",fill:d,className:f}))}d.displayName="PremiumGuildSubscriberBadge"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PHONE_VERIFICATION_CODE_NUM_DIGITS=t.PHONE_VERIFICATION_MODAL_KEY=t.PHONE_DEFAULT_COUNTRY_CODE_NAME=void 0;t.PHONE_DEFAULT_COUNTRY_CODE_NAME="United States";t.PHONE_VERIFICATION_MODAL_KEY="PHONE_VERIFICATION_MODAL_KEY";t.PHONE_VERIFICATION_CODE_NUM_DIGITS=6},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(){return(u=Object.assign||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}).apply(this,arguments)}var s=!1,d={};function f(e){var t,n=e.userPremiumGuildSubscriptionSlot;d=u({},d,((t={})[n.id]=n,t))}var c=new(function(e){var t,n,r,a,o;function u(){return e.apply(this,arguments)||this}return n=e,(t=u).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n),u.prototype.getSlot=function(e){return d[e]},r=u,(a=[{key:"hasFetched",get:function(){return s}},{key:"slots",get:function(){return d}}])&&i(r.prototype,a),o&&i(r,o),u}(r.default.Store))(a.default,{USER_PREMIUM_GUILD_SUBSCRIPTION_SLOTS_FETCH_SUCCESS:function(e){var t=e.userPremiumGuildSubscriptionSlots;d={},t.forEach((function(e){d[e.id]=e})),s=!0},USER_PREMIUM_GUILD_SUBSCRIPTION_SLOT_UPDATE_SUCCESS:f,USER_PREMIUM_GUILD_SUBSCRIPTION_SLOT_CREATE:f,USER_PREMIUM_GUILD_SUBSCRIPTION_SLOT_UPDATE:f,LOGOUT:function(e){return d={},void(s=!1)}});t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=!1,s=!1,d=!1,f=!1,c=!1,p=!1,v=null,y=null;function m(){u=!1}function _(){f=!1}function h(){c=!1}function E(){p=!0}function g(){p=!1}var S=new(function(e){var t,n,r,a,o;function m(){return e.apply(this,arguments)||this}return n=e,(t=m).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n),r=m,(a=[{key:"isBusy",get:function(){return u||s||p||d}},{key:"isUpdatingPaymentSource",get:function(){return s}},{key:"isRemovingPaymentSource",get:function(){return d}},{key:"isSyncing",get:function(){return f||c}},{key:"editSourceError",get:function(){return v}},{key:"removeSourceError",get:function(){return y}}])&&i(r.prototype,a),o&&i(r,o),m}(r.default.Store))(a.default,{BILLING_PAYMENT_SOURCE_CREATE_START:function(e){u=!0},BILLING_PAYMENT_SOURCE_CREATE_SUCCESS:function(e){return m()},BILLING_PAYMENT_SOURCE_CREATE_FAIL:function(e){return m()},STRIPE_TOKEN_FAILURE:function(e){return m()},BILLING_PAYMENT_SOURCE_REMOVE_START:function(e){d=!0},BILLING_PAYMENT_SOURCE_REMOVE_SUCCESS:function(e){d=!1},BILLING_PAYMENT_SOURCE_REMOVE_FAIL:function(e){var t=e.error;d=!1,y=t},BILLING_PAYMENT_SOURCE_REMOVE_CLEAR_ERROR:function(e){y=null},BILLING_PAYMENT_SOURCE_UPDATE_START:function(e){s=!0},BILLING_PAYMENT_SOURCE_UPDATE_SUCCESS:function(e){s=!1},BILLING_PAYMENT_SOURCE_UPDATE_FAIL:function(e){var t=e.error;s=!1,v=t},BILLING_PAYMENT_SOURCE_UPDATE_CLEAR_ERROR:function(e){v=null},BILLING_PAYMENT_SOURCES_FETCH_START:function(e){f=!0},BILLING_PAYMENT_SOURCES_FETCH_SUCCESS:function(e){return _()},BILLING_PAYMENT_SOURCES_FETCH_FAIL:function(e){return _()},BILLING_SUBSCRIPTION_FETCH_START:function(e){c=!0},BILLING_SUBSCRIPTION_FETCH_SUCCESS:function(e){return h()},BILLING_SUBSCRIPTION_FETCH_FAIL:function(e){return h()},BILLING_SUBSCRIPTION_UPDATE_START:function(e){return E()},BILLING_SUBSCRIPTION_CANCEL_START:function(e){return E()},BILLING_SUBSCRIPTION_UPDATE_SUCCESS:function(e){return g()},BILLING_SUBSCRIPTION_UPDATE_FAIL:function(e){return g()},BILLING_SUBSCRIPTION_CANCEL_FAIL:function(e){return g()},BILLING_SUBSCRIPTION_CANCEL_SUCCESS:function(e){return g()}});t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TwilioChannel=void 0;var r,a=n(95),o=f(n(14)),i=f(n(2)),l=f(n(11)),u=f(n(482)),s=n(5831),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function c(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}t.TwilioChannel=r,function(e){e.CALL="call"}(r||(t.TwilioChannel=r={}));var p={setCountryCode:function(e){i.default.dispatch({type:d.ActionTypes.PHONE_SET_COUNTRY_CODE,countryCode:e})},removePhone:function(e){return o.default.delete({url:d.Endpoints.PHONE,body:{password:e},oldFormErrors:!0})},resendCode:function(e,t){var n={},r=l.default.getFingerprint();return r&&(n["X-Fingerprint"]=r),o.default.post({url:d.Endpoints.RESEND_PHONE,headers:n,body:{phone:e,auth_channel:t}})},beginAddPhone:function(e){return o.default.post({url:d.Endpoints.PHONE,body:{phone:e}})},addPhone:function(e,t){return o.default.post({url:d.Endpoints.PHONE,body:{phone_token:e,password:t},oldFormErrors:!0})},addPhoneWithoutPassword:function(e){return o.default.post({url:d.Endpoints.PHONE_VERIFY_NO_PASSWORD,body:{code:e}})},validatePhoneForSupport:function(e){return o.default.post({url:d.Endpoints.VERIFY_PHONE_FOR_TICKET,body:{token:e},oldFormErrors:!0})},verifyPhone:function(e,t,n){return(r=regeneratorRuntime.mark((function r(){var o,f,c;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return void 0===n&&(n=!0),o={},(f=l.default.getFingerprint())&&(o["X-Fingerprint"]=f),r.next=6,u.default.post({url:d.Endpoints.VERIFY_PHONE,headers:o,body:{phone:e,code:t},oldFormErrors:!0,trackedActionData:{event:a.NetworkActionNames.USER_REGISTER_PHONE}});case 6:return c=r.sent,n&&i.default.dispatch({type:d.ActionTypes.MODAL_POP,key:s.PHONE_VERIFICATION_MODAL_KEY}),r.abrupt("return",c.body);case 9:case"end":return r.stop()}}),r)})),function(){var e=this,t=arguments;return new Promise((function(n,a){var o=r.apply(e,t);function i(e){c(o,n,a,i,l,"next",e)}function l(e){c(o,n,a,i,l,"throw",e)}i(void 0)}))})();var r}};t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCrumbLabels=function(e,t){var n;void 0===t&&(t={});return i((n={},n[a.PAYMENT_TYPE]=function(){return o.default.Messages.BILLING_STEP_PAYMENT_TYPE},n[a.PAYMENT_REQUEST_INFO]=function(){return o.default.Messages.BILLING_STEP_PAYMENT_INFO},n[a.PAYPAL]=function(){return o.default.Messages.BILLING_STEP_PAYPAL},n[a.PAYPAL_ADDRESS]=function(){return o.default.Messages.BILLING_STEP_ADDRESS},n[a.CREDIT_CARD_INFORMATION]=function(){return o.default.Messages.BILLING_STEP_CREDIT_CARD_INFORMATION},n[a.ADDRESS]=function(){return o.default.Messages.BILLING_STEP_ADDRESS},n[a.REVIEW]=function(){return o.default.Messages.BILLING_STEP_REVIEW},n[a.SELECT_PLAN]=function(){return o.default.Messages.BILLING_STEP_SELECT_PLAN},n[a.AWAITING_AUTHENTICATION]=function(){return o.default.Messages.BILLING_STEP_AWAITING_AUTHENTICATION},n[a.CONFIRM]=function(){return""},n),t)[e]()},t.errorToStep=function(e){if(null!=e){if(e.hasCardError())return a.CREDIT_CARD_INFORMATION;if(e.hasAddressError())return a.ADDRESS}return null},t.getStepIndex=function(e,t){return t.findIndex((function(t){return t===e}))},t.canGoBack=function(e,t){return e>0||Object.keys(t).length>0},t.Steps=void 0;var r,a,o=(r=n(6))&&r.__esModule?r:{default:r};function i(){return(i=Object.assign||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}).apply(this,arguments)}t.Steps=a,function(e){e.SELECT_PLAN="select_plan",e.PAYMENT_TYPE="payment_type",e.PAYPAL="paypal",e.PAYPAL_ADDRESS="paypal_address",e.PAYMENT_REQUEST_INFO="payment_request_info",e.CREDIT_CARD_INFORMATION="credit_card_information",e.ADDRESS="address",e.REVIEW="review",e.CONFIRM="confirm",e.AWAITING_AUTHENTICATION="awaiting_authentication"}(a||(t.Steps=a={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(3)),a=d(n(2)),o=n(5691),i=n(5672),l=d(n(490)),u=n(295),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function v(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){p(o,r,a,i,l,"next",e)}function l(e){p(o,r,a,i,l,"throw",e)}i(void 0)}))}}var y=!1,m=null,_=null;function h(){y=!1,_=null}function E(e){var t=e.error,n=t.code,r=t.paymentId;if(n!==l.default.ErrorCodes.AUTHENTICATION_REQUIRED)return y=!1,!1;y=!0,m=r,function(e){g.apply(this,arguments)}(r)}function g(){return(g=v(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=t){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,(0,u.authenticatePaymentIntentForPaymentId)(t);case 4:n=e.sent,null!=(r=n.error)&&a.default.dispatch({type:s.ActionTypes.PAYMENT_AUTHENTICATION_ERROR,error:new l.default(r)});case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function S(e){var t=e.payment;if(!y||t.id!==m||![s.PaymentStatusTypes.COMPLETED,s.PaymentStatusTypes.CANCELED].includes(t.status))return!1;y=!1,_=null,m=null,a.default.wait(o.clearError),a.default.wait(i.clearPurchaseError)}var O=new(function(e){var t,n,r,a,o;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),r=i,(a=[{key:"isAwaitingAuthentication",get:function(){return y}},{key:"error",get:function(){return _}},{key:"awaitingPaymentId",get:function(){return m}}])&&f(r.prototype,a),o&&f(r,o),i}(r.default.Store))(a.default,{BILLING_SUBSCRIPTION_UPDATE_START:function(e){return h()},PAYMENT_AUTHENTICATION_CLEAR_ERROR:function(e){return h()},PREMIUM_PAYMENT_ERROR_CLEAR:function(e){return h()},PREMIUM_PAYMENT_MODAL_CLOSE:function(e){return h()},PREMIUM_PAYMENT_MODAL_OPEN:function(e){return h()},PREMIUM_PAYMENT_SUBSCRIBE_START:function(e){return h()},PREMIUM_PAYMENT_SUBSCRIBE_SUCCESS:function(e){return h()},PREMIUM_PAYMENT_UPDATE_SUCCESS:function(e){return h()},SKU_PURCHASE_MODAL_CLOSE:function(e){return h()},SKU_PURCHASE_MODAL_OPEN:function(e){return h()},SKU_PURCHASE_START:function(e){return h()},SKU_PURCHASE_SUCCESS:function(e){return h()},BILLING_SUBSCRIPTION_UPDATE_FAIL:E,PREMIUM_PAYMENT_SUBSCRIBE_FAIL:E,PREMIUM_PAYMENT_UPDATE_FAIL:E,SKU_PURCHASE_FAIL:E,GIFT_CODE_REDEEM_FAILURE:E,PAYMENT_AUTHENTICATION_ERROR:function(e){var t=e.error;_=t,y=!1},PAYMENT_UPDATE:S,BILLING_PAYMENT_FETCH_SUCCESS:S});t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateStripePaymentRequest=function(e){a.default.dispatch({type:o.ActionTypes.NEW_PAYMENT_SOURCE_STRIPE_PAYMENT_REQUEST_UPDATE,stripePaymentMethod:e})},t.updateCardInfo=function(e,t){a.default.dispatch({type:o.ActionTypes.NEW_PAYMENT_SOURCE_CARD_INFO_UPDATE,info:e,isValid:t})},t.clearCardInfo=function(){a.default.dispatch({type:o.ActionTypes.NEW_PAYMENT_SOURCE_CARD_INFO_UPDATE,info:{name:""},isValid:!1})},t.updateAddressInfo=function(e,t){a.default.dispatch({type:o.ActionTypes.NEW_PAYMENT_SOURCE_ADDRESS_INFO_UPDATE,info:e,isValid:t})},t.clearError=function(){a.default.dispatch({type:o.ActionTypes.NEW_PAYMENT_SOURCE_CLEAR_ERROR})};var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i,l=c(n(3)),u=c(n(14)),s=c(n(2)),d=c(n(16)),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}d.default.isDesktop()&&(window.popupBridge={getReturnUrlPrefix:function(){if(null==o)throw new Error("popupBridgeState is unset");return u.default.getAPIBaseURL()+f.Endpoints.BILLING_BRAINTREE_POPUP_BRIDGE_CALLBACK_REDIRECT(o)},open:function(e){i=e,window.open(e),v.emitChange()}});var v=new(function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var l=o.prototype;return l.getClient=function(){return r},l.getPayPalClient=function(){return a},l.getLastURL=function(){return i},o}(l.default.Store))(s.default,{BRAINTREE_CREATE_CLIENT_SUCCESS:function(e){var t=e.client;r=t},BRAINTREE_CREATE_PAYPAL_CLIENT_SUCCESS:function(e){var t=e.paypalClient;a=t},BRAINTREE_POPUP_BRIDGE_CALLBACK:function(e){var t=e.state,n=e.path,r=e.query;if(t===o){var a=window.popupBridge.onComplete;"function"==typeof a&&a(null,{path:n,queryItems:r})}},BRAINTREE_POPUP_BRIDGE_STATE_UPDATE:function(e){var t=e.state;o=t},BRAINTREE_TEARDOWN_PAYPAL_CLIENT:function(e){a=null}}),y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(3)),i=n(57),l=E(n(473)),u=E(n(5851)),s=E(n(160)),d=E(n(5969)),f=E(n(55)),c=E(n(477)),p=n(131),v=n(402),y=n(1163),m=n(1),_=E(n(6)),h=E(n(6032));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var T=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={copyMode:d.default.Modes.DEFAULT},t._copyModeTimeout=new i.Timeout,t.handleGiftCodeCopy=function(e,n){var r=t.props.sku;null!=r&&(0,v.trackGiftCodeCopy)(new u.default({code:n,maxUses:1}),r);try{(0,y.copy)(e),t.setState({copyMode:d.default.Modes.SUCCESS})}catch(e){t.setState({copyMode:d.default.Modes.ERROR})}t._copyModeTimeout.start(1500,(function(){t.setState({copyMode:d.default.Modes.DEFAULT})}))},t.handleInventoryClick=function(){l.default.open(m.UserSettingsSections.INVENTORY),t.props.onClose()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,I(t,n);var a,o,s,E=r.prototype;return E.componentWillUnmount=function(){this._copyModeTimeout.stop()},E.render=function(){var e,t=this,n=this.props,r=n.obscureGiftCode,a=n.giftCode,o=n.application,i=this.state.copyMode;switch(i){case d.default.Modes.SUCCESS:e=_.default.Messages.BILLING_GIFT_COPIED;break;case d.default.Modes.ERROR:e=_.default.Messages.FAILED;break;default:e=_.default.Messages.COPY}return S(f.default,{direction:f.default.Direction.VERTICAL,align:f.default.Align.CENTER},void 0,null!=o?S(c.default,{game:o,className:h.default.icon,size:c.default.Sizes.LARGE,skuId:this.iconSKUId}):null,S("div",{className:h.default.header},void 0,_.default.Messages.APPLICATION_STORE_PURCHASE_GIFT_CONFIRMATION_TITLE),S("div",{className:h.default.blurb},void 0,this.headerBlurb),S("div",{className:h.default.divider}),S(f.default,{direction:f.default.Direction.VERTICAL},void 0,S(p.FormTitle,{},void 0,_.default.Messages.BILLING_GIFT_LINK),null!=a?S(d.default,{hideMessage:r?_.default.Messages.GIFT_INVENTORY_HIDDEN:null,value:(0,v.getGiftCodeURL)(a),mode:i,text:e,onCopy:function(e){return t.handleGiftCodeCopy(e,a)},supportsCopy:y.SUPPORTS_COPY,className:h.default.copyInput,buttonColor:d.default.ButtonColors.BRAND,buttonLook:d.default.ButtonLooks.FILLED}):null,S("div",{className:h.default.subtext},void 0,_.default.Messages.APPLICATION_STORE_GIFT_PURCHASE_CONFIRMATION_SUBTEXT.format({onInventoryClick:this.handleInventoryClick}))))},a=r,(o=[{key:"iconSKUId",get:function(){var e=this.props,t=e.subscriptionPlan,n=e.sku;return null!=t?t.skuId:null!=n?n.id:null}},{key:"headerBlurb",get:function(){var e=this.props.subscriptionPlan,t=_.default.Messages.APPLICATION_STORE_GIFT_PURCHASE_CONFIRMATION_BLURB;return null!=e&&(t=(e.interval===m.SubscriptionIntervalTypes.MONTH?_.default.Messages.APPLICATION_STORE_GIFT_PURCHASE_CONFIRM_SUBSCRIPTION_MONTHLY:_.default.Messages.APPLICATION_STORE_GIFT_PURCHASE_CONFIRM_SUBSCRIPTION_YEARLY).format({skuName:e.skuId===m.PremiumSubscriptionSKUs.TIER_1?_.default.Messages.PREMIUM_TIER_1:_.default.Messages.PREMIUM_TIER_2,intervalCount:e.intervalCount})),t}}])&&O(a.prototype,o),s&&O(a,s),r}(a.Component);T.displayName="GiftPurchaseConfirmation";var C=o.default.connectStores([s.default],(function(){return{obscureGiftCode:s.default.enabled}}))(T);t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,a.useRef)(e);(0,a.useEffect)((function(){t.current=e}),[e]),(0,a.useEffect)((function(){if(__OVERLAY__){var e=function(e){e.locked&&t.current()};return o.default.subscribe(i.ActionTypes.OVERLAY_SET_INPUT_LOCKED,e),function(){o.default.unsubscribe(i.ActionTypes.OVERLAY_SET_INPUT_LOCKED,e)}}}),[])};var r,a=n(0),o=(r=n(2))&&r.__esModule?r:{default:r},i=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(29)),i=p(n(55)),l=p(n(700)),u=n(131),s=p(n(6033)),d=n(1),f=p(n(6)),c=p(n(6089));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=[{type:d.PaymentSourceTypes.CARD,text:function(){return f.default.Messages.PAYMENT_SOURCE_CREDIT_CARD},iconType:l.default.Types.UNKNOWN},{type:d.PaymentSourceTypes.PAYPAL,text:function(){return f.default.Messages.PAYMENT_SOURCE_PAYPAL},iconType:l.default.Types.PAYPAL}],h=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n),r.prototype.render=function(){var e=this.props,t=e.onChooseType,n=e.className,r=e.onStripePaymentMethodReceived,a=e.allowStripeRequestPayments,d=a?y(s.default,{className:c.default.button,iconClassName:c.default.buttonIcon,paymentLabel:f.default.Messages.PAYMENT_SOURCE_PAYMENT_REQUEST_LABEL,onStripePaymentMethodReceived:r,onChooseType:t}):null,p=a?c.default.vertical:c.default.horizonal,v=a?i.default.Direction.VERTICAL:i.default.Direction.HORIZONTAL,m=_.map((function(e){return y(o.default,{onClick:function(){return t(e.type)},className:c.default.button},e.type,y(i.default,{align:i.default.Align.CENTER},void 0,y(l.default,{className:c.default.buttonIcon,type:e.iconType}),e.text()))}));return y(u.FormSection,{title:f.default.Messages.PAYMENT_SOURCE_TYPE_SELECT,className:n},void 0,y(i.default,{className:p,direction:v},void 0,m,d))},r}(a.PureComponent);h.displayName="ChoosePaymentSourceType";var E=h;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=m(n(0)),o=v(n(3)),i=m(n(5692)),l=v(n(5839)),u=v(n(5693)),s=v(n(700)),d=v(n(153)),f=v(n(681)),c=v(n(6)),p=v(n(6090));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n);var a=r.prototype;return a.componentDidMount=function(){null!=this.props.paypalClient&&i.tokenizePayPal()},a.componentWillUnmount=function(){i.teardown().then((function(){return i.createPayPalClient()}))},a.render=function(){var e=this.props,t=e.braintreeEmail,n=e.className,r=e.paypalClient;return _(f.default,{className:n,title:c.default.Messages.PAYMENT_SOURCE_PAYPAL_ACCOUNT},void 0,_("div",{className:p.default.inputWrapper},void 0,_(s.default,{type:s.default.Types.PAYPAL,className:p.default.paypalIcon}),_(d.default,{value:t,editable:!1,readOnly:!0,placeholder:null==r?c.default.Messages.PAYMENT_SOURCE_PAYPAL_LOADING:c.default.Messages.PAYMENT_SOURCE_CONFIRM_PAYPAL_DETAILS,inputClassName:p.default.paypalInput})))},r}(a.PureComponent);E.displayName="PaypalConnector";var g=o.default.connectStores([l.default,u.default],(function(){return{braintreeEmail:u.default.braintreeEmail,paypalClient:l.default.getPayPalClient()}}))(E);t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PaymentRequestStepBody=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=d(n(9)),o=d(n(700)),i=d(n(153)),l=d(n(681)),u=d(n(6)),s=d(n(6092));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var p=function(e){var t,n=e.className,r=e.submitting,d=(e.stripePaymentMethod||{}).card,f=d?o.default.getType(d.brand):o.default.Types.UNKNOWN;return c(l.default,{className:n,title:u.default.Messages.PAYMENT_SOURCE_PAYMENT_REQUEST_INFO_TITLE},void 0,c("div",{className:s.default.cardNumberWrapper},void 0,c(o.default,{className:(0,a.default)(s.default.cardIcon,(t={},t[s.default.submitting]=r,t)),type:f}),c(i.default,{value:r&&d?u.default.Messages.PAYMENT_SOURCE_PAYMENT_REQUEST_INFO_CREATING.format(d):void 0,editable:!1,readOnly:!0,placeholder:u.default.Messages.PAYMENT_SOURCE_PAYMENT_REQUEST_INFO_LOADING,inputClassName:s.default.cardNumberInput})))};t.PaymentRequestStepBody=p,p.displayName="PaymentRequestStepBody"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("title",{},void 0,"Nitro");function f(e){var t=e.width,n=void 0===t?106:t,r=e.height,a=void 0===r?26:r,l=e.color,f=void 0===l?"currentColor":l,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 106 26"}),d,s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:c,fill:f,d:"M98.8266537 8.64800265L97.5788372 17.0822416C97.2940433 19.0754982 95.0485266 20.0010292 92.981582 20.0010292 91.0571496 20.0010292 89.1680861 19.0754982 89.4175111 17.2605602L90.6652125 8.64800265C90.9501215 6.76162212 93.1956383 5.80077257 95.2624676 5.80077257 97.3294121 5.80077257 99.1115628 6.76162212 98.8266537 8.64800265M96.2496839.0038079646L96.2503751.0000115044248 82.8208233.0000115044248C82.4777342.0000115044248 82.1864887.251383186 82.1368341.59030354L81.4839511 5.04596726C81.4228909 5.46254248 81.7462794 5.83609115 82.167825 5.83609115L84.6202551 5.83609115C84.8670304 5.83609115 85.0355795 6.08734779 84.9386897 6.31398496 84.6326976 7.03036549 84.4097703 7.8080646 84.2859219 8.64800265L83.0381053 17.2605602C82.2182861 23.0258876 87.0301735 25.9085513 92.2687909 25.9085513 97.7574094 25.9085513 103.139115 23.0258876 103.958934 17.2605602L105.206059 8.64800265C106.009634 2.99656903 101.367679.115400885 96.2496839.0038079646M15.5778562 11.7941867L15.6467505 15.9747796C15.648133 16.0607177 15.5902986 16.1363018 15.5068881 16.1574699L15.5067729 16.1574699 14.0843013 11.1148504C14.0822275 11.1071425 14.0795777 11.0996646 14.0763519 11.0923018L9.66308376.775018584C9.55432753.520885841 9.30421123.355912389 9.0273667.355912389L4.02607753.355912389C3.68126035.355912389 3.38920838.6097 3.34151232.950576106L.00682030635 24.7668062C-.0513596718 25.1820009.271568009 25.5526735.691385514 25.5526735L5.67355018 25.5526735C6.01882818 25.5526735 6.31122578 25.2981956 6.3583458 24.9566292L7.6643423 15.4949301C7.66560958 15.4857265 7.66618562 15.4762929 7.66607042 15.4669743L7.59475674 10.6052044 7.73715368 10.5697708 9.23116943 15.6125053C9.23335838 15.6196381 9.23589295 15.6267708 9.23888836 15.6336735L13.3663258 25.1370186C13.4758885 25.3893106 13.7250831 25.5526735 14.0004299 25.5526735L19.39573 25.5526735C19.7405472 25.5526735 20.0325992 25.2988858 20.0802953 24.9580097L23.4156785 1.14177965C23.4738585.726584956 23.1509308.355912389 22.7311133.355912389L17.782935.355912389C17.438233.355912389 17.146181.609469912 17.0983698.950346018L15.5795843 11.7654257C15.578317 11.7749743 15.577741 11.784523 15.5778562 11.7941867M25.2200758 25.5526274L30.2035078 25.5526274C30.5483249 25.5526274 30.8403769 25.2989549 30.888073 24.9579637L34.222765 1.14184867C34.280945.726653982 33.9580173.355981416 33.5381998.355981416L28.5547678.355981416C28.2100659.355981416 27.9180139.609653982 27.8702026.950645133L24.5355106 24.7667602C24.4773306 25.1819549 24.8002583 25.5526274 25.2200758 25.5526274M37.588782.910862832L36.9357838 5.3664115C36.8748388 5.78298673 37.1982273 6.15665044 37.6197729 6.15665044L42.8344271 6.15665044C43.2536686 6.15665044 43.5763658 6.52628761 43.5192227 6.94102212L41.0626451 24.7682788C41.005502 25.1830133 41.3281993 25.5526504 41.7474408 25.5526504L46.8027624 25.5526504C47.1481556 25.5526504 47.4405532 25.2980575 47.4875581 24.9564912L49.9960944 6.75280973C50.0430992 6.41112832 50.3354968 6.15665044 50.68089 6.15665044L56.2874814 6.15665044C56.6305704 6.15665044 56.9217007 5.90539381 56.9714705 5.56635841L57.6249296 1.11080973C57.6859898.694234513 57.3626013.320570796 56.9409404.320570796L38.2727712.320570796C37.9296821.320570796 37.6384366.571827434 37.588782.910862832M72.9157339 9.14614425C72.7371616 10.6051354 71.5970645 12.0642416 69.6364568 12.0642416L66.6908218 12.0642416C66.2704283 12.0642416 65.9472702 11.6925336 66.0063718 11.2768788L66.6298768 6.8920823C66.6782642 6.55178142 66.9700857 6.29891416 67.3143268 6.29891416L70.4562761 6.29891416C72.3453396 6.29891416 73.0936148 7.61571062 72.9157339 9.14614425M71.1691824.355958407L61.6845787.355958407C61.3397615.355958407 61.0477096.609630973 60.9998983.950622124L57.6652063 24.7667372C57.6070263 25.1819319 57.929954 25.5526044 58.3497715 25.5526044L63.4034802 25.5526044C63.7487582 25.5526044 64.0411558 25.2981265 64.0882759 24.9565602L65.0696166 17.8430292C65.0932342 17.6723035 65.2393178 17.5450646 65.4120144 17.5450646L66.0616716 17.5450646C66.1795293 17.5450646 66.2893224 17.6050027 66.3528019 17.7041708L71.1792055 25.2345071C71.3062798 25.4327283 71.5256356 25.5526044 71.7613509 25.5526044L78.0034289 25.5526044C78.5625328 25.5526044 78.8902992 24.9242327 78.5697909 24.4667018L73.5050221 17.2370912C73.383593 17.0637195 73.4460357 16.8224717 73.6364743 16.729631 76.8698986 15.1516841 78.7475566 13.5351973 79.3665685 9.03926814 80.0787836 3.13174602 76.3728918.355958407 71.1691824.355958407"})))}f.displayName="Nitro"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i,l,u=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),s=E(n(6052)),d=E(n(6006)),f=E(n(6053)),c=E(n(1159)),p=E(n(153)),v=n(48),y=E(n(5847)),m=n(1),_=E(n(6)),h=E(n(5708));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,r){l||(l="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,o=arguments.length-3;if(t||0===o||(t={children:void 0}),1===o)t.children=r;else if(o>1){for(var i=new Array(o),u=0;u<o;u++)i[u]=arguments[u+3];t.children=i}if(t&&a)for(var s in a)void 0===t[s]&&(t[s]=a[s]);else t||(t=a||{});return{$$typeof:l,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(){return(I=Object.assign||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}).apply(this,arguments)}function T(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}var C,b,M,N="US",A="CA",P=d.default.map((function(e){return{value:e.code,label:e.name}}));!function(e){e.NAME="name",e.COUNTRY="country",e.LINE1="line1",e.LINE2="line2",e.CITY="city",e.POSTAL_CODE="postalCode",e.STATE="state"}(C||(C={})),function(e){e.MODAL_US="modalUS",e.MODAL_INTL="modalInternational",e.SETTINGS_US="settingsUS",e.SETTINGS_INTL="settingsInternational"}(b||(b={})),function(e){e.EDIT="edit",e.CREATE="create"}(M||(M={}));var R=((r={})[N]=f.default,r[A]=s.default,r),L=((a={})[C.NAME]=function(e){return{name:C.NAME,title:function(){return _.default.Messages.BILLING_ADDRESS_NAME},autoComplete:"name",getClassNameForLayout:function(e){return[b.MODAL_US,b.MODAL_INTL].includes(e)?h.default.width100:h.default.width60},renderInput:function(e){return u.createElement(p.default,e)}}},a[C.COUNTRY]=function(e){return{name:C.COUNTRY,title:function(){return _.default.Messages.BILLING_ADDRESS_COUNTRY},autoComplete:"country",getClassNameForLayout:function(e){return[b.MODAL_US,b.MODAL_INTL].includes(e)?h.default.width100:h.default.width75},renderInput:function(e,t){e.layout;var n=e.onChange,r=T(e,["layout","onChange"]);return u.createElement(c.default,I({},r,{autofocus:!0,clearable:!1,disabled:t.mode===M.EDIT,options:P,onChange:function(t){var r=t.value;null!=n&&n(r,e.name)}}))}}},a[C.LINE1]=function(e){return{name:C.LINE1,title:function(){return _.default.Messages.BILLING_ADDRESS_ADDRESS},autoComplete:"address-line1",placeholder:function(){return _.default.Messages.BILLING_ADDRESS_ADDRESS_PLACEHOLDER},getClassNameForLayout:function(e){return[b.MODAL_US,b.MODAL_INTL].includes(e)?h.default.width100:h.default.width60},renderInput:function(e){return u.createElement(p.default,e)}}},a[C.LINE2]=function(e){return{name:C.LINE2,title:function(){return _.default.Messages.BILLING_ADDRESS_ADDRESS2},placeholder:function(){return _.default.Messages.BILLING_ADDRESS_ADDRESS2_PLACEHOLDER},autoComplete:"address-line2",getClassNameForLayout:function(e){return[b.MODAL_US,b.MODAL_INTL].includes(e)?h.default.width100:h.default.width40},renderInput:function(e){return u.createElement(p.default,e)}}},a[C.CITY]=function(e){return{name:C.CITY,title:function(){return _.default.Messages.BILLING_ADDRESS_CITY},autoComplete:"address-level2",placeholder:function(){return _.default.Messages.BILLING_ADDRESS_CITY_PLACEHOLDER},getClassNameForLayout:function(e){switch(e){case b.MODAL_INTL:case b.MODAL_US:return h.default.width100;case b.SETTINGS_INTL:return h.default.width60;case b.SETTINGS_US:default:return h.default.width50}},renderInput:function(e){return u.createElement(p.default,e)}}},a[C.POSTAL_CODE]=function(e){var t,n;switch(e){case N:t=_.default.Messages.BILLING_ADDRESS_ZIP_CODE,n=_.default.Messages.BILLING_ADDRESS_ZIP_CODE_PLACEHOLDER;break;case A:t=_.default.Messages.BILLING_ADDRESS_POSTAL_CODE,n=_.default.Messages.BILLING_ADDRESS_POSTAL_CODE_CANADA_PLACEHOLDER;break;default:t=_.default.Messages.BILLING_ADDRESS_POSTAL_CODE}return{name:C.POSTAL_CODE,title:function(){return t},autoComplete:"postal-code",placeholder:function(){return n},getClassNameForLayout:function(e){switch(e){case b.MODAL_INTL:return h.default.width100;case b.MODAL_US:return h.default.width50;case b.SETTINGS_INTL:return h.default.width30;case b.SETTINGS_US:default:return h.default.width25}},renderInput:function(e){return u.createElement(p.default,e)}}},a[C.STATE]=function(e){var t;switch(e){case N:t=_.default.Messages.BILLING_ADDRESS_STATE;break;case A:t=_.default.Messages.BILLING_ADDRESS_PROVINCE;break;default:t=_.default.Messages.BILLING_ADDRESS_REGION}return{name:C.STATE,title:function(){return t},autoComplete:"address-level1",getClassNameForLayout:function(e){switch(e){case b.MODAL_INTL:return h.default.width100;case b.MODAL_US:return h.default.width50;case b.SETTINGS_INTL:return h.default.width30;case b.SETTINGS_US:default:return h.default.width25}},renderInput:function(t){var n=R[e],r=!t.value||null!=n&&n.find((function(e){return e.value===t.value})),a=t.layout,o=t.onChange,i=T(t,["layout","onChange"]);return[N,A].includes(e)&&r?u.createElement(c.default,I({},i,{menuPlacement:[b.MODAL_US,b.MODAL_INTL].includes(a)?c.default.MenuPlacements.TOP:void 0,clearable:!1,options:n,onChange:function(e){var n=e.value;null!=o&&o(n,t.name)}})):u.createElement(p.default,t)}}},a),D=((o={})[b.MODAL_US]=[[L[C.COUNTRY]],[L[C.LINE1]],[L[C.LINE2]],[L[C.CITY]],[L[C.STATE],L[C.POSTAL_CODE]]],o[b.MODAL_INTL]=[[L[C.COUNTRY]],[L[C.LINE1]],[L[C.LINE2]],[L[C.CITY]],[L[C.STATE]],[L[C.POSTAL_CODE]]],o[b.SETTINGS_US]=[[L[C.NAME]],[L[C.LINE1],L[C.LINE2]],[L[C.CITY],L[C.STATE],L[C.POSTAL_CODE]],[L[C.COUNTRY]]],o[b.SETTINGS_INTL]=[[L[C.NAME]],[L[C.LINE1],L[C.LINE2]],[L[C.CITY]],[L[C.STATE],L[C.POSTAL_CODE]],[L[C.COUNTRY]]],o),w=function(e){var t,n;function r(){for(var t,n,r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(n=e.call.apply(e,[this].concat(a))||this).state={values:(t={},t[C.NAME]=n.props[C.NAME],t[C.COUNTRY]=n.props[C.COUNTRY],t[C.LINE1]=n.props[C.LINE1],t[C.LINE2]=n.props[C.LINE2],t[C.CITY]=n.props[C.CITY],t[C.POSTAL_CODE]=n.props[C.POSTAL_CODE],t[C.STATE]=n.props[C.STATE],t),dirtyFields:{},errors:{}},n.handleFieldBlur=function(){n.setState({errors:n.validateForm(!0)})},n.handleFieldChange=function(e,t){var r,a;if(t){var o=n.state,i=o.values,l=o.errors,u=o.dirtyFields;delete l[t],n.setState({values:I({},i,(r={},r[t]=e,r)),dirtyFields:I({},u,(a={},a[t]=!0,a)),errors:l})}},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,O(t,n);var a=r.prototype;return a.componentDidMount=function(){this.handleInfoChange()},a.componentDidUpdate=function(e,t){this.state!==t&&this.handleInfoChange()},a.validateForm=function(e){var t=this.state,n=t.values,r=t.dirtyFields,a={};e&&!r[C.NAME]||n[C.NAME]||this.props.mode!==M.EDIT||(a[C.NAME]=_.default.Messages.BILLING_ADDRESS_NAME_ERROR_REQUIRED),e&&!r[C.COUNTRY]||n[C.COUNTRY]||(a[C.COUNTRY]=_.default.Messages.BILLING_ADDRESS_COUNTRY_ERROR_REQUIRED),e&&!r[C.LINE1]||n[C.LINE1]||(a[C.LINE1]=_.default.Messages.BILLING_ADDRESS_ADDRESS_ERROR_REQUIRED),e&&!r[C.CITY]||n[C.CITY]||(a[C.CITY]=_.default.Messages.BILLING_ADDRESS_CITY_ERROR_REQUIRED);var o=n[C.COUNTRY];switch(o){case N:if(!e||r[C.POSTAL_CODE]){var i=n[C.POSTAL_CODE];i?5!==i.length?a[C.POSTAL_CODE]=_.default.Messages.BILLING_ADDRESS_ZIP_CODE_ERROR_LENGTH:/^\d{5}$/.test(i)||(a[C.POSTAL_CODE]=_.default.Messages.BILLING_ADDRESS_ZIP_CODE_INVALID):a[C.POSTAL_CODE]=_.default.Messages.BILLING_ADDRESS_ZIP_CODE_ERROR_REQUIRED}e&&!r[C.STATE]||n[C.STATE]||(a[C.STATE]=_.default.Messages.BILLING_ADDRESS_STATE_ERROR_REQUIRED);break;case A:e&&!r[C.POSTAL_CODE]||n[C.POSTAL_CODE]||(a[C.POSTAL_CODE]=_.default.Messages.BILLING_ADDRESS_POSTAL_CODE_ERROR_REQUIRED),e&&!r[C.STATE]||n[C.STATE]||(a[C.STATE]=_.default.Messages.BILLING_ADDRESS_PROVINCE_ERROR_REQUIRED);break;default:e&&!r[C.POSTAL_CODE]||n[C.POSTAL_CODE]||m.COUNTRIES_WITHOUT_POSTAL_CODES.includes(o)||(a[C.POSTAL_CODE]=_.default.Messages.BILLING_ADDRESS_POSTAL_CODE_ERROR_REQUIRED)}return a},a.handleInfoChange=function(){var e=this.state,t=e.values,n=e.dirtyFields,r=this.validateForm(!1);this.props.onBillingAddressChange(t,0===Object.keys(r).length,Object.keys(n).length>0)},a.render=function(){var e=this.state,t=e.errors,n=e.values,r=this.props,a=r.layout,o=r.mode,i=r.className,l=r.error,u=D[a];if(null==u)throw new Error("Provide a proper layout property.");var s=n[C.COUNTRY],d=u.map((function(e){var t=e.map((function(e){return e(s)})).filter(v.isNotNullish);return t.length>0?{fields:t}:null})).filter(v.isNotNullish);return S(y.default,{className:i,form:d,layout:a,values:n,errors:t,formError:l,onFieldChange:this.handleFieldChange,onFieldBlur:this.handleFieldBlur,mode:o})},r}(u.PureComponent);w.displayName="AddressForm",w.Layouts=b,w.Modes=M,w.defaultProps=((i={})[C.NAME]="",i[C.COUNTRY]="",i[C.LINE1]="",i[C.LINE2]="",i[C.CITY]="",i[C.POSTAL_CODE]="",i[C.STATE]="",i.layout=b.MODAL_US,i.mode=M.CREATE,i.error=null,i);var j=w;t.default=j},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=s(n(55)),l=n(131),u=s(n(5708));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={changedSinceError:new Set},t.renderFormSection=function(e){var n=t.props,r=n.values,a=n.onFieldChange,i=n.onFieldFocus,u=n.onFieldBlur,s=n.layout,d=p(n,["values","onFieldChange","onFieldFocus","onFieldBlur","layout"]),v=e.getClassNameForLayout,y=e.renderInput,m=e.title,_=e.name,h=e.placeholder,E=c({},p(e,["getClassNameForLayout","renderInput","title","name","placeholder"]),{placeholder:h&&h(),layout:s,error:t.getError(_),value:r[_],name:_,onChange:a,onFocus:i,onBlur:u});return f(l.FormSection,{className:(0,o.default)(v&&v(s)),title:m()},_,y(E,d))},t.renderFormRow=function(e){var n=e.fields.map(t.renderFormSection);return f(i.default,{className:(0,o.default)(u.default.row,e.className)},e.fields.map((function(e){return e.name})).join(""),n)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var a=r.prototype;return a.componentDidUpdate=function(e){if(this.props.formError!==e.formError)this.setState({changedSinceError:new Set});else if(null!=this.props.formError){var t=this.state.changedSinceError;this.getChangedValues(e).forEach((function(e){return t.add(e)})),this.setState({changedSinceError:t})}},a.getChangedValues=function(e){var t=this.props.values,n=e.values;return Object.keys(t).filter((function(e){return t[e]!==n[e]}))},a.getError=function(e){var t=this.props,n=t.errors,r=t.formError;return null!=n[e]?n[e]:null==r||this.state.changedSinceError.has(e)?null:r.getFieldMessage(e)},a.render=function(){var e=this.props,t=e.form;return f("div",{className:e.className},void 0,t.map(this.renderFormRow))},r}(a.PureComponent);y.displayName="FormRenderer";var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);function i(){return(i=Object.assign||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}).apply(this,arguments)}var l={setDesktopType:function(e){a.default.dispatch({type:o.ActionTypes.NOTIFICATIONS_SET_DESKTOP_TYPE,desktopType:e})},setTTSType:function(e){a.default.dispatch({type:o.ActionTypes.NOTIFICATIONS_SET_TTS_TYPE,ttsType:e})},setDisabledSounds:function(e){a.default.dispatch({type:o.ActionTypes.NOTIFICATIONS_SET_DISABLED_SOUNDS,sounds:e})},setDisableUnreadBadge:function(e){a.default.dispatch({type:o.ActionTypes.NOTIFICATIONS_SET_DISABLE_UNREAD_BADGE,disableUnreadBadge:e})},setTaskbarFlash:function(e){a.default.dispatch({type:o.ActionTypes.NOTIFICATIONS_SET_TASKBAR_FLASH,taskbarFlash:e})},setPermissionsState:function(e,t){a.default.dispatch({type:o.ActionTypes.NOTIFICATIONS_SET_PERMISSION_STATE,enabled:e,source:t})},showNotification:function(e,t,n,r){void 0===r&&(r={}),a.default.dirtyDispatch({type:o.ActionTypes.NOTIFICATION_CREATE,icon:e,title:t,body:n,options:i({},r,{onClick:function(){r.onClick&&r.onClick(),a.default.dirtyDispatch({type:o.ActionTypes.NOTIFICATION_CLICK})}})})},clickedNotification:function(){a.default.dirtyDispatch({type:o.ActionTypes.NOTIFICATION_CLICK})}};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCountryCodesByCountryName=u,t.getCountryCodeByAlpha2=function(e){return a.default.find((function(t){return t.alpha2===e}))},t.getDefaultCountryCode=function(){var e=u(o.PHONE_DEFAULT_COUNTRY_CODE_NAME);return(0,r.default)(e,"Default country code cannot be missing."),e},t.getI18NName=function(e){return i.default.Messages["COUNTRY_NAME_"+e]};var r=l(n(23)),a=l(n(5699)),o=n(5831),i=l(n(6));function l(e){return e&&e.__esModule?e:{default:e}}function u(e){return a.default.find((function(t){return t.name===e}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=h(n(5994)),l=h(n(5995)),u=h(n(12)),s=h(n(29)),d=h(n(55)),f=n(85),c=n(131),p=n(35),v=n(41),y=h(n(24)),m=h(n(6)),_=h(n(6075));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(e){var t=e.onClose,n=(0,o.useStateFromStores)([u.default],(function(){return u.default.getNullableCurrentUser()}));function r(){null==t||t()}function d(){r(),(0,v.openModal)((function(e){return a.createElement(l.default,e)}))}return null==(null==n?void 0:n.email)?g(s.default,{onClick:d,color:s.default.Colors.BRAND,look:s.default.Looks.FILLED},void 0,m.default.Messages.ADD_EMAIL_SHORT):a.createElement(a.Fragment,null,g(s.default,{onClick:d,color:s.default.Colors.PRIMARY,look:s.default.Looks.LINK},void 0,m.default.Messages.CHANGE_EMAIL_SHORT),g(i.default,{color:s.default.Colors.BRAND,onClick:r}))}function O(e){var t=e.onClose,n=e.transitionState,r=(0,f.useUID)();return g(p.ModalRoot,{transitionState:n,"aria-labelledby":r},void 0,g(p.ModalHeader,{id:r},void 0,g(c.FormTitle,{tag:c.FormTitleTags.H4},void 0,m.default.Messages.PREMIUM_NOT_VERIFIED)),g(p.ModalContent,{},void 0,g("div",{className:_.default.imageUnverified}),g(y.default,{size:y.default.Sizes.SIZE_16,className:_.default.message},void 0,m.default.Messages.PREMIUM_NOT_VERIFIED_BODY)),g(p.ModalFooter,{},void 0,g(d.default,{justify:d.default.Justify.END},void 0,g(S,{onClose:t}))))}O.displayName="UnverifiedEmailModal";var I=O;t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GiftCodeFlags=void 0;var r=u(n(5)),a=u(n(62)),o=n(99),i=u(n(1192)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=Object.freeze({PAYMENT_SOURCE_REQUIRED:1,EXISTING_PREMIUM_SUBSCRIPTION_DISALLOWED:2,NOT_SELF_REDEEMABLE:4});t.GiftCodeFlags=f;var c=function(e){var t,n;function a(t){var n;return(n=e.call(this)||this).userId=t.userId,n.code=t.code,n.skuId=t.skuId,n.uses=t.uses,n.maxUses=t.maxUses,n.expiresAt=t.expiresAt,n.redeemed=t.redeemed,n.storeListingId=t.storeListingId,n.subscriptionPlanId=t.subscriptionPlanId,n.subscriptionPlan=t.subscriptionPlan,n.revoked=t.revoked,n.entitlementBranches=t.entitlementBranches,n.flags=t.flags,n.subscriptionTrial=t.subscriptionTrial,n.promotion=t.promotion,n}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n),a.createFromServer=function(e){return new a({userId:null!=e.user?e.user.id:null,code:e.code,skuId:e.sku_id,uses:e.uses,maxUses:e.max_uses,storeListingId:null!=e.store_listing?e.store_listing.id:null,expiresAt:null!=e.expires_at?(0,r.default)(e.expires_at):null,redeemed:e.redeemed,subscriptionPlanId:null!=e.subscription_plan?e.subscription_plan.id:e.subscription_plan_id,subscriptionPlan:null!=e.subscription_plan?i.default.createFromServer(e.subscription_plan):null,revoked:!1,entitlementBranches:null!=e.entitlement_branches?e.entitlement_branches:null,flags:null!=e.flags?e.flags:0,subscriptionTrial:null!=e.subscription_trial?{id:e.subscription_trial.id,interval:e.subscription_trial.interval,intervalCount:e.subscription_trial.interval_count,skuId:e.subscription_trial.sku_id}:null,promotion:null!=e.promotion?{id:e.promotion.id,startDate:e.promotion.start_date,endDate:e.promotion.end_date,inboundHeaderText:e.promotion.inbound_header_text,inboundBodyText:e.promotion.inbound_body_text}:null})};var u,c,p,v=a.prototype;return v.isExpired=function(){var e=this.expiresAt;return null!=e&&(0,r.default)().isAfter(e)},v.toString=function(){return this.code},u=a,(c=[{key:"hasMultipleCopies",get:function(){return this.maxUses>1}},{key:"isClaimed",get:function(){return this.uses>=this.maxUses}},{key:"remainingUses",get:function(){return this.maxUses-this.uses}},{key:"isSubscription",get:function(){return null!=this.subscriptionPlanId}},{key:"premiumSubscriptionType",get:function(){return this.isSubscription&&l.PremiumSubscriptionSKUToPremiumType[this.skuId]||null}},{key:"isSelfRedeemable",get:function(){return!(0,o.hasFlag)(this.flags,f.NOT_SELF_REDEEMABLE)}},{key:"isExistingPremiumSubscriptionDisallowed",get:function(){return(0,o.hasFlag)(this.flags,f.EXISTING_PREMIUM_SUBSCRIPTION_DISALLOWED)}},{key:"analyticsData",get:function(){return{gift_code:this.code,gift_code_max_uses:this.maxUses}}}])&&s(u.prototype,c),p&&s(u,p),a}(a.default);t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),a=i(n(2)),o=n(275);n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=null,d=null,f=null;function c(e){var t=e.error;s=t}function p(){s=null}var v=new(function(e){var t,n,r,a,o;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n),i.prototype.getGiftCode=function(e){return e===f?d:null},r=i,(a=[{key:"paymentError",get:function(){return s}}])&&l(r.prototype,a),o&&l(r,o),i}(r.default.Store))(a.default,{PREMIUM_PAYMENT_SUBSCRIBE_FAIL:c,PREMIUM_PAYMENT_UPDATE_FAIL:c,PREMIUM_PAYMENT_SUBSCRIBE_SUCCESS:function(e){p()},PREMIUM_PAYMENT_UPDATE_SUCCESS:function(e){return p()},PREMIUM_PAYMENT_ERROR_CLEAR:function(e){return p()},BRAINTREE_TOKENIZE_PAYPAL_FAIL:function(e){var t=e.message,n=e.code;s=new o.BillingError(t,n)},SKU_PURCHASE_SUCCESS:function(e){d=e.giftCode,f=e.skuId},SKU_PURCHASE_FAIL:function(e){s=e.error},GIFT_CODE_CREATE:function(e){var t=e.giftCode;if(0!==t.uses||t.sku_id!==f)return!1;d=t.code}});t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=f(n(153)),l=f(n(5847)),u=f(n(6035)),s=f(n(6)),d=f(n(5708));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e){var t,n,r=e.onCardInfoChange,f=e.error,c=o.useState(!1),y=c[0],m=c[1],_=o.useState({}),h=_[0],E=_[1],g=o.useState(""),S=g[0],O=g[1],I=o.useState(!1),T=I[0],C=I[1],b=o.useState({}),M=b[0],N=b[1];function A(e,t){t!==!!h[e]&&(E((function(n){var r;return v({},n,((r={})[e]=t,r))})),P(S))}function P(e){var t=h[a.CARD_NUMBER]&&h[a.EXPIRATION_DATE]&&h[a.CVC]&&""!==e&&0===Object.keys(M).length;r({name:e},!!t)}var R=((t={})[a.CARD_NUMBER]={name:a.CARD_NUMBER,title:function(){return s.default.Messages.CREDIT_CARD_NUMBER},getClassNameForLayout:function(){return d.default.width100},renderInput:function(){return p(u.default,{stripeType:a.CARD_NUMBER,flipped:y,updateCompleted:function(e){return A(a.CARD_NUMBER,e)}})}},t[a.EXPIRATION_DATE]={name:a.EXPIRATION_DATE,title:function(){return s.default.Messages.CREDIT_CARD_EXPIRATION_DATE},getClassNameForLayout:function(){return d.default.width50},renderInput:function(){return p(u.default,{stripeType:a.EXPIRATION_DATE,updateCompleted:function(e){return A(a.EXPIRATION_DATE,e)}})}},t[a.CVC]={name:a.CVC,title:function(){return s.default.Messages.CREDIT_CARD_CVC},getClassNameForLayout:function(){return d.default.width50},renderInput:function(){return p(u.default,{stripeType:a.CVC,updateCompleted:function(e){return A(a.CVC,e)},onFocus:function(){m(!0)},onBlur:function(){m(!1)}})}},t[a.NAME]={name:a.NAME,title:function(){return s.default.Messages.CREDIT_CARD_NAME_ON_CARD},autoComplete:"cc-name",placeholder:function(){return s.default.Messages.CREDIT_CARD_NAME},getClassNameForLayout:function(){return d.default.width100},renderInput:function(e){return o.createElement(i.default,e)}},t),L=[{fields:[R[a.CARD_NUMBER]]},{fields:[R[a.EXPIRATION_DATE],R[a.CVC]]},{fields:[R[a.NAME]]}];return p(l.default,{form:L,errors:M,formError:f,values:(n={},n[a.NAME]=S,n),onFieldChange:function(e){var t;T||""===e||C(!0),N(T&&""===e?((t={})[a.NAME]=s.default.Messages.PAYMENT_SOURCE_NAME_ERROR_REQUIRED,t):{}),O(e),P(e)}})}!function(e){e.CARD_NUMBER="cardNumber",e.EXPIRATION_DATE="cardExpiry",e.CVC="cardCvc",e.NAME="name"}(a||(a={})),y.displayName="CardForm";var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PremiumModalHeaderAnimationTier1=u,t.PremiumModalHeaderAnimationTier2=s;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(5703),o=n(5855);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function u(e){var t=e.currentStep,n=e.purchaseState,r=e.className,i=(0,o.usePaymentModalAnimationScene)({purchaseState:n,currentStep:t,initialScene:a.PremiumPaymentAnimationTier1.Scenes.NORMAL,purchaseScene:a.PremiumPaymentAnimationTier1.Scenes.SPEED_START,errorScene:a.PremiumPaymentAnimationTier1.Scenes.NORMAL,successScene:a.PremiumPaymentAnimationTier1.Scenes.FINISH}),u=i[0],s=i[1];return l(a.PremiumPaymentAnimationTier1,{className:r,nextScene:u,onScenePlay:function(e){return s(a.PremiumPaymentAnimationTier1.getNextScene(e))},pauseWhileUnfocused:!1})}function s(e){var t=e.currentStep,n=e.purchaseState,r=e.className,i=(0,o.usePaymentModalAnimationScene)({purchaseState:n,currentStep:t,initialScene:a.PremiumPaymentAnimationTier2.Scenes.IDLE_ENTRY,purchaseScene:a.PremiumPaymentAnimationTier2.Scenes.BOOST_START,errorScene:a.PremiumPaymentAnimationTier2.Scenes.ERROR,successScene:a.PremiumPaymentAnimationTier2.Scenes.BOOST_END}),u=i[0],s=i[1];return l(a.PremiumPaymentAnimationTier2,{className:r,nextScene:u,onScenePlay:function(e){return s(a.PremiumPaymentAnimationTier2.getNextScene(e))},pauseWhileUnfocused:!1})}u.displayName="PremiumModalHeaderAnimationTier1",s.displayName="PremiumModalHeaderAnimationTier2"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePaymentModalAnimationScene=function(e){var t=e.purchaseState,n=e.currentStep,i=e.initialScene,l=e.purchaseScene,u=e.errorScene,s=e.successScene,d=(0,r.useState)(i),f=d[0],c=d[1];return(0,r.useEffect)((function(){t===o.PurchaseState.PURCHASING?c(l):t===o.PurchaseState.FAIL&&c(u)}),[t,l,u]),(0,r.useEffect)((function(){n===a.Step.CONFIRM&&c(s)}),[n,s]),[f,c]};var r=n(0),a=n(692),o=n(1173)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=T;var r,a=O(n(0)),o=n(3),i=g(n(5674)),l=g(n(485)),u=g(n(160)),s=g(n(151)),d=n(131),f=O(n(96)),c=n(281),p=n(1237),v=g(n(5678)),y=n(5676),m=n(5700),_=n(1),h=g(n(6)),E=g(n(5711));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(e){var t,n=e.paymentSources,r=e.paymentSourceId,g=e.plan,S=e.isGift,O=void 0!==S&&S,T=e.isTrial,C=void 0!==T&&T,b=e.proratedInvoicePreview,M=e.renewalInvoicePreview,N=e.onPaymentSourceChange,A=e.handlePaymentSourceAdd,P=e.setHasAcceptedTerms,R=e.legalTermsNodeRef,L=e.hasLegalTermsFlash,D=(0,o.useStateFromStores)([u.default],(function(){return u.default.enabled})),w=(0,m.useSubscriptionEntitlements)(g.id,O),j=w.hasEntitlements,k=w.entitlements;if(O)t=I(y.SubscriptionInvoiceGift,{plan:g,className:E.default.invoice});else{if(null==b||null==M)return I(s.default,{className:E.default.reviewLoader});t=I(p.PremiumInvoiceTable,{className:E.default.invoice},void 0,I(p.PremiumInvoiceTableHeader,{},void 0,h.default.Messages.BILLING_SWITCH_PLAN_PURCHASE_DETAILS),I(y.PremiumSubscriptionChangePlanInvoiceRows,{invoice:b,newPlan:g}),I(y.SubscriptionInvoiceFooter,{renewalInvoice:M,isTrial:C}))}var U=function(e,t){var n=null,r=null,a=null;if(e&&null!=t){var o=f.default.getIntervalForInvoice(t),i=(0,c.formatRate)((0,c.formatPrice)(t.total,t.currency),o),l=t.subscriptionPeriodEnd;n=h.default.Messages.BILLING_LEGAL_MUMBO_JUMBO_TRIAL_LABEL.format({url:_.MarketingURLs.TERMS,rate:i,renewalDate:l}),r=E.default.trialCheckbox,a=E.default.trialCheckboxLabel}return{checkboxLabel:n,checkboxClassname:r,checkboxLabelClassname:a}}(C,M),G=U.checkboxLabel,F=U.checkboxClassname,B=U.checkboxLabelClassname,H=h.default.Messages.BILLING_SELECT_PLAN_GUILD_SUBSCRIPTION.format({planName:g.name});return O?H=h.default.Messages.PAYMENT_MODAL_SUBTITLE_PREMIUM_GIFT:(0,f.isPremiumSubscriptionPlan)(g.id)&&(H=f.default.getBillingReviewSubheader(null,g.id)),I("div",{className:E.default.stepBody},void 0,I(d.FormTitle,{tag:d.FormTitleTags.H5,className:E.default.invoiceHeader},void 0,H),t,I("div",{className:E.default.paymentSourceWrapper},void 0,I(d.FormTitle,{tag:d.FormTitleTags.H5},void 0,h.default.Messages.PAYMENT_SOURCE_PAYMENT_REQUEST_INFO_TITLE),I(i.default,{paymentSources:Object.values(n),selectedPaymentSourceId:r,prependOption:j?{label:h.default.Messages.ATTACH_PAYMENT_SOURCE_PROMPT_OPTION_OPTIONAL,value:null}:null,onChange:N,onPaymentSourceAdd:A,hidePersonalInformation:D}),j&&null==r?I("div",{className:E.default.paymentSourceOptionalWarning},void 0,h.default.Messages.ATTACH_PAYMENT_SOURCE_OPTIONAL_WITH_ENTITLEMENTS_WARNING.format({months:k.length})):null),a.createElement(v.default,{isActive:L,ref:R},I(l.default,{onChange:P,forceShow:!0,className:E.default.purchaseTerms,checkboxLabel:G,checkboxClassname:F,checkboxLabelClassname:B,finePrint:C?null:f.default.getLegalString(g.interval,O)})))}T.displayName="ReviewStepBody"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ShineAnimation=void 0;var r,a,o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),l=y(n(9)),u=y(n(133)),s=y(n(273)),d=n(1149),f=n(5828),c=n(483),p=n(1),v=y(n(6100));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,r){o||(o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&a)for(var s in a)void 0===t[s]&&(t[s]=a[s]);else t||(t=a||{});return{$$typeof:o,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E=(0,c.hexWithOpacity)(p.HEXColors.WHITE,0),g=Object.freeze({DURATION:(r={},r[p.PremiumTypes.TIER_1]=1e3,r[p.PremiumTypes.TIER_2]=1500,r),DELAY:(a={},a[p.PremiumTypes.TIER_1]=400,a[p.PremiumTypes.TIER_2]=2200,a),FLASH_TIME_PERCENT:.72,FLASH_DURATION_PERCENT:.08}),S=(0,u.default)({PREMIUM_ACTIVATED:null,PREMIUM_UPDATED:null,PREMIUM_UPGRADED:null,PREMIUM_GUILD_SUBSCRIPTION_ACTIVATED:null}),O=_("g",{fill:"currentColor"},void 0,_("path",{d:"M50.61,20.21a3.57,3.57,0,0,1-.25.77,3.72,3.72,0,0,1-.49.88,5.79,5.79,0,0,1-.75.85l0,0a.89.89,0,0,0,0,1.26,3.07,3.07,0,0,1,.49.54A4.29,4.29,0,0,1,50.25,26a3.78,3.78,0,0,1,.11,1.45,6.31,6.31,0,0,1-.22,1.27,7,7,0,0,1-2.56,3.71,8.42,8.42,0,0,1-5,1.32H35.24a.57.57,0,0,1-.56-.66l2.56-18.3a.58.58,0,0,1,.56-.5h7.31a6.93,6.93,0,0,1,2.5.42,4.83,4.83,0,0,1,1.87,1.18,4.1,4.1,0,0,1,1.05,1.84A5.45,5.45,0,0,1,50.61,20.21ZM44,21.88a1.93,1.93,0,0,0,1.43-.52,2,2,0,0,0,.63-1.21A1.53,1.53,0,0,0,45.83,19a1.45,1.45,0,0,0-1.3-.55H42.17a.57.57,0,0,0-.56.49l-.34,2.32a.57.57,0,0,0,.57.65Zm-1,7.53a2.44,2.44,0,0,0,1.74-.6,2.26,2.26,0,0,0,.74-1.38,1.77,1.77,0,0,0-.36-1.37,1.82,1.82,0,0,0-1.57-.63H41.19a.57.57,0,0,0-.57.49l-.39,2.84a.57.57,0,0,0,.56.65Z"}),_("path",{d:"M54.18,20.68a6.89,6.89,0,0,1,1.1-2.92,7.91,7.91,0,0,1,2.12-2.08,9.44,9.44,0,0,1,2.75-1.27,11.56,11.56,0,0,1,3-.41,10.39,10.39,0,0,1,2.91.41,6.66,6.66,0,0,1,2.42,1.27A5.18,5.18,0,0,1,70,17.76a5.44,5.44,0,0,1,.28,2.92l-1,6.64a6.9,6.9,0,0,1-1.1,2.94,7.59,7.59,0,0,1-2.06,2.09,9.41,9.41,0,0,1-2.75,1.24,11.88,11.88,0,0,1-3.1.41,10.39,10.39,0,0,1-2.91-.41A7,7,0,0,1,55,32.35a5.53,5.53,0,0,1-1.54-2.09,5.63,5.63,0,0,1-.27-2.94Zm4,6.64a1.42,1.42,0,0,0,.14.94,2.2,2.2,0,0,0,.6.66,3.28,3.28,0,0,0,.91.38,4.61,4.61,0,0,0,1.1.14,5.15,5.15,0,0,0,1.18-.14,4.24,4.24,0,0,0,1.1-.41A2.63,2.63,0,0,0,64,28.2a2,2,0,0,0,.44-1l1-6.51A1.6,1.6,0,0,0,64.71,19a2.6,2.6,0,0,0-.94-.41,4,4,0,0,0-1.12-.14,4.94,4.94,0,0,0-1.21.14,3.83,3.83,0,0,0-1.07.41,3.19,3.19,0,0,0-.86.68,2.06,2.06,0,0,0-.41,1Z"}),_("path",{d:"M73.53,20.68a6.89,6.89,0,0,1,1.1-2.92,7.91,7.91,0,0,1,2.12-2.08,9.44,9.44,0,0,1,2.75-1.27,11.56,11.56,0,0,1,3-.41,10.39,10.39,0,0,1,2.91.41,6.66,6.66,0,0,1,2.42,1.27,5.18,5.18,0,0,1,1.54,2.08,5.44,5.44,0,0,1,.28,2.92l-1,6.64a6.9,6.9,0,0,1-1.1,2.94,7.59,7.59,0,0,1-2.06,2.09,9.41,9.41,0,0,1-2.75,1.24,11.88,11.88,0,0,1-3.1.41,10.39,10.39,0,0,1-2.91-.41,7,7,0,0,1-2.4-1.24,5.41,5.41,0,0,1-1.53-2.09,5.52,5.52,0,0,1-.28-2.94Zm4,6.64a1.48,1.48,0,0,0,.14.94,2.2,2.2,0,0,0,.6.66,3.28,3.28,0,0,0,.91.38,4.61,4.61,0,0,0,1.1.14,5.15,5.15,0,0,0,1.18-.14,4.24,4.24,0,0,0,1.1-.41,2.63,2.63,0,0,0,.82-.69,2,2,0,0,0,.44-1l1-6.51a1.8,1.8,0,0,0-.11-1,1.72,1.72,0,0,0-.58-.68,2.6,2.6,0,0,0-.94-.41A4,4,0,0,0,82,18.48a4.94,4.94,0,0,0-1.21.14,3.83,3.83,0,0,0-1.07.41,3.19,3.19,0,0,0-.86.68,2.06,2.06,0,0,0-.41,1Z"}),_("path",{d:"M93.91,28a.66.66,0,0,1,.88.09,3.75,3.75,0,0,0,1.34.91,5.57,5.57,0,0,0,2.19.47,4.1,4.1,0,0,0,1.76-.36A1.47,1.47,0,0,0,101,28a.93.93,0,0,0-.16-.77,1.88,1.88,0,0,0-.69-.58,4.29,4.29,0,0,0-1-.36A7.84,7.84,0,0,0,97.94,26a7.78,7.78,0,0,1-2.2-.72A6.33,6.33,0,0,1,94,23.89a5.29,5.29,0,0,1-1.07-2,5.48,5.48,0,0,1-.08-2.53,6.12,6.12,0,0,1,1-2.5,6.25,6.25,0,0,1,1.85-1.67A7.55,7.55,0,0,1,98,14.27a12.85,12.85,0,0,1,2.64-.27,11,11,0,0,1,1.73.14,6.34,6.34,0,0,1,3.16,1.45,7.79,7.79,0,0,1,1,1.05.55.55,0,0,1-.13.79l-2.68,1.86a.65.65,0,0,1-.78-.07,3.75,3.75,0,0,0-1.15-.69,5.23,5.23,0,0,0-1.74-.35,3.22,3.22,0,0,0-1.62.33,1.33,1.33,0,0,0-.77,1.09,1.26,1.26,0,0,0,.55,1.3,5.76,5.76,0,0,0,1.79.65,19.61,19.61,0,0,1,2.45.66,5.4,5.4,0,0,1,2,1.16,4.18,4.18,0,0,1,1.24,1.95,6.27,6.27,0,0,1,0,3,6.49,6.49,0,0,1-2.8,4.26,8,8,0,0,1-2.48,1.07,11.5,11.5,0,0,1-2.94.36,8.09,8.09,0,0,1-1.84-.22,9.22,9.22,0,0,1-1.84-.66A8.52,8.52,0,0,1,92.22,32a6.61,6.61,0,0,1-1.06-1.12.55.55,0,0,1,.1-.74Z"}),_("path",{d:"M119.86,18.75a.57.57,0,0,0-.57.5l-1.92,14a.58.58,0,0,1-.57.5H113a.58.58,0,0,1-.57-.66L114.3,19.4a.58.58,0,0,0-.57-.65H109.8a.57.57,0,0,1-.57-.65l.49-3.36a.58.58,0,0,1,.57-.49h14.32a.57.57,0,0,1,.56.65l-.49,3.36a.57.57,0,0,1-.57.49Z"}),_("path",{d:"M139.51,24.87l-.51-5a.13.13,0,0,0-.12-.11h0a.12.12,0,0,0-.11.08l-1.87,4.89a.54.54,0,0,0,.51.72H139A.54.54,0,0,0,139.51,24.87Zm6,8.86h-4.23a.55.55,0,0,1-.53-.44l-.58-3a.55.55,0,0,0-.53-.44h-4.46a.53.53,0,0,0-.49.32l-1.47,3.27a.55.55,0,0,1-.49.32h-4.14a.53.53,0,0,1-.48-.77l9.1-18.39a.55.55,0,0,1,.48-.3h3.77a.56.56,0,0,1,.53.42l4.05,18.39A.54.54,0,0,1,145.55,33.73Z"}),_("path",{d:"M161.19,29.35a.52.52,0,0,1,.19.8A9,9,0,0,1,154,34c-3.86,0-7.43-2.23-6.81-6.65l.94-6.7C148.77,16.25,153,14,157,14a6.16,6.16,0,0,1,6.12,4,.53.53,0,0,1-.31.68l-3.36,1.27a.54.54,0,0,1-.64-.21,3,3,0,0,0-2.58-1.19c-1.42,0-2.84.8-3,2.12l-.94,6.7c-.2,1.27,1,2.06,2.42,2.06A3.51,3.51,0,0,0,157.47,28a.53.53,0,0,1,.67-.16Z"}),_("path",{d:"M174.59,19.21l-2,14.06a.54.54,0,0,1-.53.46h-3.95a.54.54,0,0,1-.54-.61l1.92-13.76a.53.53,0,0,0-.53-.61h-4.08a.53.53,0,0,1-.53-.6l.51-3.45a.54.54,0,0,1,.53-.45H180a.54.54,0,0,1,.54.6L180,18.3a.54.54,0,0,1-.54.45h-4.38A.54.54,0,0,0,174.59,19.21Z"}),_("path",{d:"M184.73,33.73h-3.89a.53.53,0,0,1-.53-.61l2.6-18.39a.54.54,0,0,1,.53-.46h3.9a.54.54,0,0,1,.53.61l-2.6,18.39A.55.55,0,0,1,184.73,33.73Z"}),_("path",{d:"M203.71,14.25h4.13a.52.52,0,0,1,.48.76L199,33.43a.53.53,0,0,1-.48.3h-3.8a.54.54,0,0,1-.52-.42l-4.11-18.42a.54.54,0,0,1,.53-.64h4.23a.53.53,0,0,1,.52.43l1.67,9s0,0,0,.06l.27,4.62h.06l1.49-4.59,0-.06,4.32-9.2A.55.55,0,0,1,203.71,14.25Z"}),_("path",{d:"M214,24.87l-.52-5a.12.12,0,0,0-.12-.11h0a.11.11,0,0,0-.11.08l-1.87,4.89a.53.53,0,0,0,.5.72h1.58A.54.54,0,0,0,214,24.87Zm6,8.86h-4.23a.55.55,0,0,1-.53-.44l-.58-3a.55.55,0,0,0-.53-.44h-4.47a.55.55,0,0,0-.49.32l-1.47,3.27a.54.54,0,0,1-.49.32h-4.13a.53.53,0,0,1-.48-.77l9.1-18.39a.55.55,0,0,1,.48-.3H216a.54.54,0,0,1,.52.42l4.05,18.39A.53.53,0,0,1,220,33.73Z"}),_("path",{d:"M230.49,19.21l-2,14.06a.55.55,0,0,1-.53.46h-4a.54.54,0,0,1-.53-.61l1.92-13.76a.54.54,0,0,0-.53-.61h-4.08a.52.52,0,0,1-.53-.6l.51-3.45a.54.54,0,0,1,.53-.45h14.58a.52.52,0,0,1,.53.6l-.51,3.45a.53.53,0,0,1-.53.45H231A.53.53,0,0,0,230.49,19.21Z"}),_("path",{d:"M243.26,21.8H250a.54.54,0,0,1,.53.61l-.47,3.3a.52.52,0,0,1-.53.46H242.5a.53.53,0,0,0-.53.46l-.27,1.85a.53.53,0,0,0,.53.6h7.45a.53.53,0,0,1,.53.6l-.49,3.59a.54.54,0,0,1-.53.46H236.56a.53.53,0,0,1-.53-.61l2.6-18.39a.54.54,0,0,1,.53-.46h12.63a.54.54,0,0,1,.54.61l-.52,3.58a.54.54,0,0,1-.53.46h-7.75a.53.53,0,0,0-.53.45l-.27,1.83A.53.53,0,0,0,243.26,21.8Z"}),_("path",{d:"M260.57,29.11c1.36,0,2.59-.74,2.73-1.79l.94-6.53c.14-1.08-.83-1.93-2.19-1.93H260a.54.54,0,0,0-.53.46l-1.32,9.19a.53.53,0,0,0,.53.6Zm1.95-14.84c4,0,7.37,2,6.73,6.52l-.94,6.53c-.64,4.48-4.59,6.41-8.55,6.41H253a.53.53,0,0,1-.53-.61l2.6-18.39a.54.54,0,0,1,.53-.46Z"})),I=_("path",{fill:"currentColor",d:"M112.46,20.67l-1,6.52c-.22,1.54-2,2.25-3.59,2.25s-3-.71-2.78-2.11l1-6.66c.23-1.45,2-2.2,3.59-2.2s3,.75,2.79,2.2m-2-6.67H100a.55.55,0,0,0-.54.46l-.51,3.44a.54.54,0,0,0,.54.61h1.91a.26.26,0,0,1,.25.37,7.23,7.23,0,0,0-.51,1.8l-1,6.66c-.64,4.45,3.12,6.68,7.21,6.68,4.28,0,8.49-2.23,9.13-6.68l1-6.66c.63-4.36-3-6.59-7-6.67m-63,9.1.06,3.23a.14.14,0,0,1-.11.14l-1.11-3.89v0l-3.45-8a.54.54,0,0,0-.49-.32H38.42a.53.53,0,0,0-.53.46L35.28,33.12a.54.54,0,0,0,.54.61h3.89a.52.52,0,0,0,.53-.46l1-7.31v0l-.06-3.75.11,0,1.17,3.89v0l3.23,7.34a.52.52,0,0,0,.49.32h4.22a.54.54,0,0,0,.53-.46l2.6-18.39a.53.53,0,0,0-.53-.61H49.17a.54.54,0,0,0-.54.46l-1.18,8.35a0,0,0,0,0,0,0M55,33.73h3.9a.53.53,0,0,0,.53-.46L62,14.88a.53.53,0,0,0-.53-.61H57.58a.54.54,0,0,0-.54.46l-2.6,18.39a.53.53,0,0,0,.53.61m9.66-19-.51,3.44a.54.54,0,0,0,.54.61h4.07a.52.52,0,0,1,.53.6L67.35,33.13a.52.52,0,0,0,.53.6h4a.52.52,0,0,0,.53-.46l2-14.06a.55.55,0,0,1,.54-.46h4.38a.54.54,0,0,0,.53-.46l.51-3.44a.53.53,0,0,0-.53-.61H65.17a.55.55,0,0,0-.54.46m27.59,6.36a2.52,2.52,0,0,1-2.56,2.25h-2.3a.53.53,0,0,1-.53-.61l.48-3.38a.54.54,0,0,1,.54-.46H90.3a1.8,1.8,0,0,1,1.92,2.2m-1.36-6.79H83.45a.52.52,0,0,0-.53.46L80.31,33.12a.54.54,0,0,0,.54.61h3.94a.54.54,0,0,0,.54-.46l.76-5.49a.27.27,0,0,1,.27-.23h.51a.27.27,0,0,1,.23.12l3.77,5.82a.54.54,0,0,0,.45.24H96.2a.53.53,0,0,0,.44-.84l-4-5.58a.27.27,0,0,1,.11-.39c2.52-1.22,4-2.47,4.47-5.94.56-4.57-2.34-6.71-6.4-6.71M133,24.88l-.52-5a.11.11,0,0,0-.12-.1h0a.11.11,0,0,0-.11.07l-1.87,4.9a.53.53,0,0,0,.5.71h1.58a.54.54,0,0,0,.54-.58m6,8.85h-4.23a.54.54,0,0,1-.53-.43l-.59-3a.52.52,0,0,0-.52-.43h-4.47a.53.53,0,0,0-.49.32l-1.47,3.27a.52.52,0,0,1-.49.31h-4.13a.53.53,0,0,1-.48-.76l9.1-18.39a.55.55,0,0,1,.48-.3H135a.54.54,0,0,1,.52.42l4.05,18.39a.53.53,0,0,1-.52.64m15.63-4.37a.53.53,0,0,1,.19.8A9,9,0,0,1,147.47,34c-3.86,0-7.42-2.23-6.81-6.65l.94-6.7c.62-4.4,4.84-6.65,8.79-6.65a6.16,6.16,0,0,1,6.12,4,.53.53,0,0,1-.32.68l-3.35,1.27a.54.54,0,0,1-.64-.22,3,3,0,0,0-2.59-1.18c-1.41,0-2.83.8-3,2.12l-.94,6.7c-.2,1.26,1,2.06,2.42,2.06A3.54,3.54,0,0,0,150.91,28a.54.54,0,0,1,.67-.17ZM168,19.22l-2,14.05a.52.52,0,0,1-.53.46h-3.95a.52.52,0,0,1-.53-.6L163,19.36a.54.54,0,0,0-.54-.6h-4.07a.53.53,0,0,1-.53-.61l.51-3.44a.54.54,0,0,1,.53-.46h14.57a.53.53,0,0,1,.53.61l-.51,3.45a.52.52,0,0,1-.53.45h-4.38a.54.54,0,0,0-.53.46m10.14,14.51h-3.89a.54.54,0,0,1-.54-.6l2.61-18.39a.54.54,0,0,1,.53-.46h3.89a.54.54,0,0,1,.54.61l-2.61,18.39a.52.52,0,0,1-.53.45m19-19.48h4.13a.53.53,0,0,1,.48.77l-9.31,18.42a.53.53,0,0,1-.48.29h-3.79a.54.54,0,0,1-.53-.41l-4.1-18.42a.54.54,0,0,1,.52-.65h4.23a.55.55,0,0,1,.53.44l1.66,9a.13.13,0,0,1,0,.06l.28,4.61h.05l1.49-4.58,0-.06,4.32-9.2a.54.54,0,0,1,.48-.31m10.26,10.63-.51-5a.12.12,0,0,0-.12-.1h0a.14.14,0,0,0-.12.07l-1.86,4.9a.52.52,0,0,0,.5.71h1.58a.53.53,0,0,0,.53-.58m6,8.85h-4.23a.54.54,0,0,1-.53-.43l-.58-3a.54.54,0,0,0-.53-.43h-4.46a.52.52,0,0,0-.49.32l-1.47,3.27a.54.54,0,0,1-.49.31h-4.13A.53.53,0,0,1,196,33l9.1-18.39a.55.55,0,0,1,.49-.3h3.76a.56.56,0,0,1,.53.42l4,18.39a.54.54,0,0,1-.53.64M223.9,19.22l-2,14.05a.54.54,0,0,1-.53.46h-4a.53.53,0,0,1-.53-.6l1.92-13.77a.52.52,0,0,0-.53-.6h-4.08a.54.54,0,0,1-.53-.61l.51-3.44a.55.55,0,0,1,.53-.46h14.58a.53.53,0,0,1,.53.61l-.51,3.45a.54.54,0,0,1-.53.45h-4.38a.53.53,0,0,0-.53.46m12.77,2.59h6.75a.53.53,0,0,1,.53.6l-.47,3.31a.53.53,0,0,1-.53.46h-7a.54.54,0,0,0-.53.45l-.26,1.86a.53.53,0,0,0,.53.6h7.44a.52.52,0,0,1,.53.6l-.49,3.58a.53.53,0,0,1-.53.46H230a.53.53,0,0,1-.53-.6L232,14.74a.55.55,0,0,1,.54-.46h12.62a.53.53,0,0,1,.53.61l-.51,3.58a.53.53,0,0,1-.53.45h-7.75a.54.54,0,0,0-.53.46l-.26,1.82a.53.53,0,0,0,.53.61M254,29.12c1.36,0,2.58-.74,2.72-1.79l.95-6.54c.14-1.07-.84-1.92-2.2-1.92h-2.06a.54.54,0,0,0-.54.45l-1.32,9.19a.54.54,0,0,0,.53.61Zm1.94-14.84c4,0,7.37,2,6.73,6.51l-.94,6.54c-.64,4.48-4.59,6.4-8.54,6.4h-6.75a.54.54,0,0,1-.54-.6l2.61-18.39a.54.54,0,0,1,.53-.46Z"}),T=_("path",{fill:"currentColor",d:"M112.39,20.67l-1,6.52c-.22,1.54-2,2.26-3.59,2.26s-3-.72-2.79-2.12l1-6.66c.22-1.46,2-2.2,3.59-2.2s3,.74,2.78,2.2m-2-6.68H99.89a.52.52,0,0,0-.53.46l-.51,3.44a.53.53,0,0,0,.53.61h1.92a.26.26,0,0,1,.24.37,7.23,7.23,0,0,0-.51,1.8l-1,6.66c-.64,4.45,3.12,6.68,7.21,6.68,4.29,0,8.49-2.23,9.13-6.68l1-6.66c.63-4.36-3-6.59-7-6.68m-63,9.11,0,3.23a.15.15,0,0,1-.11.15h0l-1.11-3.9v0l-3.44-8a.55.55,0,0,0-.5-.33H38.33a.54.54,0,0,0-.53.46L35.19,33.13a.54.54,0,0,0,.54.61h3.89a.53.53,0,0,0,.53-.47l1-7.31v0l-.06-3.76.11,0,1.17,3.89v0l3.22,7.34a.55.55,0,0,0,.5.33h4.21a.55.55,0,0,0,.54-.46l2.6-18.41a.54.54,0,0,0-.53-.61H49.08a.53.53,0,0,0-.53.46l-1.19,8.36v0m7.53,10.64h3.89a.55.55,0,0,0,.54-.46l2.6-18.41a.53.53,0,0,0-.53-.61H57.5a.55.55,0,0,0-.54.46l-2.6,18.41a.53.53,0,0,0,.53.61m9.66-19.05L64,18.14a.54.54,0,0,0,.54.61h4.07a.54.54,0,0,1,.54.6L67.27,33.13a.53.53,0,0,0,.53.61h4a.55.55,0,0,0,.54-.47l2-14.06a.52.52,0,0,1,.53-.46h4.38a.55.55,0,0,0,.54-.46l.51-3.44a.54.54,0,0,0-.54-.61H65.09a.54.54,0,0,0-.54.45m27.6,6.37a2.52,2.52,0,0,1-2.56,2.25h-2.3a.54.54,0,0,1-.54-.61l.49-3.38a.54.54,0,0,1,.54-.46h2.45a1.79,1.79,0,0,1,1.92,2.2m-1.36-6.8H83.38a.55.55,0,0,0-.54.46l-2.6,18.41a.53.53,0,0,0,.53.61h4a.55.55,0,0,0,.54-.47L86,27.78a.27.27,0,0,1,.27-.23h.51a.25.25,0,0,1,.22.12l3.77,5.82a.57.57,0,0,0,.46.25h4.88a.54.54,0,0,0,.44-.84l-4-5.59a.27.27,0,0,1,.1-.39c2.53-1.22,4-2.47,4.48-6,.56-4.56-2.34-6.71-6.4-6.71m39.67.59-1.7,12.09c-.21,1.54,1.05,2.3,2.43,2.3a2.84,2.84,0,0,0,3.05-2.3L136,14.71a.51.51,0,0,1,.5-.43h3.87a.5.5,0,0,1,.5.5v.07l-1.7,12.09c-.62,4.48-4.78,6.72-8.59,6.72s-7.29-2.24-6.67-6.72l1.73-12.23a.49.49,0,0,1,.49-.43H130a.5.5,0,0,1,.5.5A.17.17,0,0,1,130.46,14.85Zm10.72,18,2.53-18.11a.51.51,0,0,1,.5-.43h7.2c4.67,0,6.43,3.43,6.05,6.88a7.29,7.29,0,0,1-7.69,6.65h-2.62a.51.51,0,0,0-.5.43L146,33a.49.49,0,0,1-.49.43h-3.82a.5.5,0,0,1-.51-.5S141.18,32.85,141.18,32.82Zm6.71-9.31h2.23A2.56,2.56,0,0,0,152.65,21a1.78,1.78,0,0,0-1.86-2.24h-2.37a.51.51,0,0,0-.5.43l-.53,3.72a.5.5,0,0,0,.43.57Zm25.79-5.42L169.37,20A2.33,2.33,0,0,0,167,18.3a2.86,2.86,0,0,0-3,2.19l-.92,6.56c-.18,1.46,1.06,2.19,2.49,2.19s2.91-.73,3.1-2.19l0-.24a.51.51,0,0,0-.44-.57h-2a.5.5,0,0,1-.51-.5s0,0,0-.07l.4-2.94a.5.5,0,0,1,.5-.43h6.68a.5.5,0,0,1,.5.5v.07l-.57,4.18c-.62,4.4-4.65,6.61-8.48,6.61s-7.21-2.21-6.59-6.61l.92-6.56c.62-4.46,4.67-6.48,8.45-6.48C170.09,14,172.79,15,173.68,18.09Zm12.26,15.07-3.59-5.61a.5.5,0,0,0-.42-.23h-.16a.49.49,0,0,0-.49.43L180.56,33a.51.51,0,0,1-.5.43h-3.87a.5.5,0,0,1-.5-.5v-.07l2.53-18.11a.51.51,0,0,1,.5-.43h7.21c3.94,0,6.74,2.11,6.2,6.59-.48,3.53-2,4.72-4.61,6l4,5.78a.5.5,0,0,1-.13.69.48.48,0,0,1-.29.09h-4.78A.48.48,0,0,1,185.94,33.16Zm-3.43-10h2.25A2.46,2.46,0,0,0,187.25,21a1.76,1.76,0,0,0-1.86-2.16H183a.5.5,0,0,0-.5.43L182,22.59a.51.51,0,0,0,.43.57Zm24.55-8.49L211,32.79a.49.49,0,0,1-.38.59h-4.25a.51.51,0,0,1-.5-.4l-.57-3a.49.49,0,0,0-.49-.41h-4.36a.51.51,0,0,0-.46.3l-1.44,3.24a.5.5,0,0,1-.46.29H194a.5.5,0,0,1-.5-.5.44.44,0,0,1,.05-.22l8.85-18.11a.5.5,0,0,1,.45-.28h3.68A.49.49,0,0,1,207.06,14.67Zm-4.51,10.6h1.58a.51.51,0,0,0,.5-.5v-.05l-.5-4.95a.12.12,0,0,0-.11-.09h0a.13.13,0,0,0-.13.09l-1.81,4.82a.5.5,0,0,0,.29.65A.57.57,0,0,0,202.55,25.27Zm13.92-11h6.72c3.83,0,7.15,1.94,6.53,6.4l-.92,6.42c-.62,4.4-4.45,6.29-8.29,6.29h-6.57a.5.5,0,0,1-.51-.5s0,0,0-.07L216,14.71A.51.51,0,0,1,216.47,14.28Zm2.95,14.58h1.88a2.48,2.48,0,0,0,2.64-1.76l.92-6.42c.14-1.05-.81-1.89-2.13-1.89h-2a.5.5,0,0,0-.5.43l-1.29,9.07a.5.5,0,0,0,.43.56Zm17.93-9.59-.26,1.84a.5.5,0,0,0,.43.56h6.66a.5.5,0,0,1,.5.5v.07l-.46,3.29a.49.49,0,0,1-.49.43h-6.88a.51.51,0,0,0-.5.43l-.26,1.86a.51.51,0,0,0,.43.57h7.34a.5.5,0,0,1,.5.5v.07L243.87,33a.49.49,0,0,1-.5.43H231.08a.5.5,0,0,1-.5-.5v-.07l2.53-18.11a.51.51,0,0,1,.5-.43h12.3a.5.5,0,0,1,.5.5.15.15,0,0,1,0,.07l-.5,3.56a.51.51,0,0,1-.5.43h-7.55A.51.51,0,0,0,237.35,19.27Zm12.14-5h6.71c3.84,0,7.16,1.94,6.54,6.4l-.92,6.42c-.62,4.4-4.46,6.29-8.29,6.29H247a.5.5,0,0,1-.5-.5.2.2,0,0,1,0-.07L249,14.71A.5.5,0,0,1,249.49,14.28Zm2.94,14.58h1.88A2.49,2.49,0,0,0,257,27.1l.92-6.42c.13-1.05-.81-1.89-2.14-1.89h-2a.49.49,0,0,0-.49.43l-1.29,9.07a.5.5,0,0,0,.42.56Z"}),C=_("path",{fill:"currentColor",d:"M112.23,20.66l-1,6.49c-.22,1.54-2,2.25-3.58,2.25s-3-.71-2.77-2.11l1-6.63c.22-1.46,2-2.2,3.58-2.2S112.46,19.2,112.23,20.66Zm-2-6.66H99.77a.53.53,0,0,0-.53.46l-.51,3.43a.52.52,0,0,0,.45.6h2a.27.27,0,0,1,.25.37,7,7,0,0,0-.51,1.8l-1,6.63c-.64,4.44,3.11,6.66,7.19,6.66,4.27,0,8.46-2.22,9.1-6.66l1-6.63C117.83,16.3,114.21,14.08,110.23,14ZM47.39,23.08l.06,3.22a.14.14,0,0,1-.11.14l-1.11-3.88v0l-3.43-7.95a.55.55,0,0,0-.5-.32H38.4a.54.54,0,0,0-.54.45l-2.6,18.35a.53.53,0,0,0,.46.6h4a.53.53,0,0,0,.53-.46l1-7.29v0l-.06-3.75.12,0L42.45,26v0l3.22,7.32a.55.55,0,0,0,.49.32h4.21a.54.54,0,0,0,.53-.46l2.6-18.35a.54.54,0,0,0-.46-.6H49.11a.53.53,0,0,0-.53.45l-1.19,8.34v0Zm7.51,10.6h3.88a.55.55,0,0,0,.54-.46l2.6-18.35a.55.55,0,0,0-.46-.6h-4a.53.53,0,0,0-.53.45l-2.6,18.35a.52.52,0,0,0,.46.6Zm9.64-19L64,18.13a.53.53,0,0,0,.53.61h4.06a.54.54,0,0,1,.54.6L67.24,33.07a.53.53,0,0,0,.46.6h4a.55.55,0,0,0,.54-.46l2-14a.53.53,0,0,1,.53-.46H79.1a.54.54,0,0,0,.53-.46l.51-3.43a.55.55,0,0,0-.45-.61H65.07A.53.53,0,0,0,64.54,14.69ZM92.05,21a2.51,2.51,0,0,1-2.55,2.25H87.2a.53.53,0,0,1-.53-.53v-.08l.49-3.38a.52.52,0,0,1,.53-.45h2.45A1.79,1.79,0,0,1,92.05,21Zm-1.36-6.77H83.3a.54.54,0,0,0-.53.46l-2.6,18.34a.53.53,0,0,0,.46.6h4a.55.55,0,0,0,.54-.46l.76-5.48a.27.27,0,0,1,.27-.23h.5a.28.28,0,0,1,.23.12l3.76,5.8a.53.53,0,0,0,.45.25H96a.54.54,0,0,0,.44-.84l-3.95-5.57a.27.27,0,0,1,.06-.37.05.05,0,0,0,0,0c2.52-1.21,4-2.46,4.47-5.92.55-4.55-2.33-6.69-6.39-6.69Zm40.12,0a.49.49,0,0,1,.49.5v.07l-1.73,12.32c-.22,1.56,1.07,2.33,2.47,2.33a2.9,2.9,0,0,0,3.1-2.33l1.76-12.46a.49.49,0,0,1,.49-.43h4a.49.49,0,0,1,.49.5v.07l-1.73,12.32c-.64,4.56-4.87,6.84-8.74,6.84s-7.42-2.28-6.79-6.84l1.76-12.46a.49.49,0,0,1,.49-.43Zm11.88,19.45a.51.51,0,0,1-.5-.49s0-.05,0-.07l2.58-18.46a.5.5,0,0,1,.49-.43h7.35c4.75,0,6.53,3.49,6.15,7a7.41,7.41,0,0,1-7.83,6.76h-2.68a.49.49,0,0,0-.48.42l-.68,4.84a.5.5,0,0,1-.49.42Zm5.83-10.62a.5.5,0,0,0,.42.56h2.36a2.62,2.62,0,0,0,2.58-2.53,1.82,1.82,0,0,0-1.9-2.28h-2.42a.49.49,0,0,0-.49.42Zm13.27-8.4a.49.49,0,0,1,.49-.43h6.85c3.9,0,7.28,2,6.65,6.51l-.94,6.54c-.63,4.48-4.53,6.4-8.43,6.4h-6.72a.49.49,0,0,1-.49-.49.17.17,0,0,1,0-.07Zm3,13.84a.5.5,0,0,0,.42.56h2c1.35,0,2.56-.74,2.7-1.79l.93-6.54c.14-1.07-.82-1.92-2.17-1.92h-2.07a.49.49,0,0,0-.49.42l-1.32,9.26ZM188,14.28a.49.49,0,0,1,.48.39l4,18.46a.49.49,0,0,1-.38.59h-4.36a.49.49,0,0,1-.48-.4l-.59-3.1a.5.5,0,0,0-.49-.4H181.7a.5.5,0,0,0-.45.3l-1.47,3.31a.49.49,0,0,1-.45.29h-4.17a.49.49,0,0,1-.49-.49.54.54,0,0,1,.05-.22l9-18.46a.51.51,0,0,1,.45-.28Zm-4.6,10.52a.5.5,0,0,0,.29.63.51.51,0,0,0,.17,0h1.66A.49.49,0,0,0,186,25v0l-.51-5a.13.13,0,0,0-.07-.16.13.13,0,0,0-.16.07.13.13,0,0,0,0,.06Zm24.73-6.46a.5.5,0,0,1-.49.42h-4.39a.5.5,0,0,0-.49.43l-1.94,14.12a.49.49,0,0,1-.49.42h-4a.49.49,0,0,1-.49-.49.17.17,0,0,1,0-.07l1.9-13.85a.48.48,0,0,0-.42-.55h-4.18a.49.49,0,0,1-.49-.49v-.08l.52-3.51a.51.51,0,0,1,.49-.43h14.47a.5.5,0,0,1,.49.5.17.17,0,0,1,0,.07l-.51,3.52Zm7.23.59a.49.49,0,0,0-.48.42l-.28,1.9a.49.49,0,0,0,.42.55h6.82a.5.5,0,0,1,.5.49s0,.05,0,.07l-.47,3.38a.49.49,0,0,1-.49.43h-7a.49.49,0,0,0-.49.42l-.27,1.93a.5.5,0,0,0,.42.56h7.5a.49.49,0,0,1,.5.49s0,.05,0,.07l-.49,3.66a.5.5,0,0,1-.49.42H208.43a.49.49,0,0,1-.49-.49v-.07l2.58-18.46a.5.5,0,0,1,.49-.43h12.55a.49.49,0,0,1,.49.5v.07l-.52,3.65a.51.51,0,0,1-.49.43Zm11.36-4.22a.49.49,0,0,1,.49-.43H234c3.9,0,7.28,2,6.64,6.51l-.93,6.54c-.63,4.48-4.53,6.4-8.43,6.4h-6.72a.49.49,0,0,1-.49-.49.17.17,0,0,1,0-.07Zm3,13.84a.5.5,0,0,0,.42.56h2c1.35,0,2.56-.74,2.7-1.79l.93-6.54c.14-1.07-.82-1.92-2.17-1.92h-2.07a.49.49,0,0,0-.49.42l-1.32,9.26Z"}),b=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).animation=new s.default.Value(0),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n);var a=r.prototype;return a.componentDidMount=function(){this.animate()},a.animate=function(){var e=this.props.premiumType;s.default.timing(this.animation,{toValue:1,delay:g.DELAY[e],duration:g.DURATION[e]}).start()},a.getContainerStyle=function(){var e=g.FLASH_TIME_PERCENT,t=g.FLASH_DURATION_PERCENT,n=this.props.theme===p.ThemeTypes.DARK?p.HEXColors.WHITE:p.HEXColors.BRAND;return{backgroundColor:this.animation.interpolate({inputRange:[0,e,e,e+t,1],outputRange:[E,E,n,n,E]})}},a.getShineStyle=function(){return s.default.accelerate({transform:[{translateX:this.animation.interpolate({inputRange:[0,1],outputRange:["20%","160%"]})}]})},a.getSvgBorderGradientId=function(){var e=this.props,t=e.premiumType;switch(e.type){case S.PREMIUM_GUILD_SUBSCRIPTION_ACTIVATED:return d.Gradients.PREMIUM_GUILD;case S.PREMIUM_ACTIVATED:case S.PREMIUM_UPGRADED:case S.PREMIUM_UPDATED:return t===p.PremiumTypes.TIER_1?d.Gradients.PREMIUM_TIER_1:d.Gradients.PREMIUM_TIER_2;default:throw new Error("Unsupported ShineAnimation type specified")}},a.renderSvgBorder=function(){switch(this.props.type){case S.PREMIUM_GUILD_SUBSCRIPTION_ACTIVATED:return _("svg",{className:v.default.svgBorder,width:"304",height:"48",viewBox:"0 0 304 48"},void 0,_("rect",{x:"1",y:"1",fill:"none",width:"302",height:"46",rx:"8",stroke:"url(#"+this.getSvgBorderGradientId()+")",strokeWidth:"2"}));case S.PREMIUM_ACTIVATED:case S.PREMIUM_UPGRADED:return _("svg",{className:v.default.svgBorder,width:"298",height:"48",viewBox:"0 0 298 48"},void 0,_("rect",{x:"1",y:"1",fill:"none",width:"296",height:"46",rx:"8",stroke:"url(#"+this.getSvgBorderGradientId()+")",strokeWidth:"2"}));case S.PREMIUM_UPDATED:return _("svg",{className:v.default.svgBorder,width:"276",height:"48",viewBox:"0 0 276 48"},void 0,_("rect",{x:"1",y:"1",fill:"none",width:"274",height:"46",rx:"8",stroke:"url(#"+this.getSvgBorderGradientId()+")",strokeWidth:"2"}));default:return null}},a.renderSvgCopy=function(){switch(this.props.type){case S.PREMIUM_GUILD_SUBSCRIPTION_ACTIVATED:return _("svg",{className:v.default.svgCopy,width:"304",height:"48",viewBox:"0 0 304 48"},void 0,O);case S.PREMIUM_ACTIVATED:return _("svg",{className:v.default.svgCopy,width:"298",height:"48",viewBox:"0 0 298 48"},void 0,I);case S.PREMIUM_UPGRADED:return _("svg",{className:v.default.svgCopy,width:"298",height:"48",viewBox:"0 0 298 48"},void 0,T);case S.PREMIUM_UPDATED:return _("svg",{className:v.default.svgCopy,width:"276",height:"48",viewBox:"0 0 276 48"},void 0,C);default:return null}},a.render=function(){var e=this.props.className;return _("div",{className:(0,l.default)(v.default.container,e)},void 0,this.renderSvgBorder(),_(s.default.div,{className:v.default.animationContainer,style:this.getContainerStyle()},void 0,_(f.Shine,{className:v.default.shine,style:this.getShineStyle()}),this.renderSvgCopy()))},r}(i.PureComponent);t.ShineAnimation=b,b.displayName="ShineAnimation",b.Types=S;var M=b;t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SubscriptionRecord=void 0;var r=l(n(62)),a=n(6031),o=l(n(257)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){return{id:e.id,planId:e.plan_id,quantity:e.quantity}}var f=function(e){var t,n,r,l,f;function c(t){var n;(n=e.call(this)||this).id=t.id,n.type=t.type,n.items=t.items,n.createdAt=t.createdAt,n.canceledAt=t.canceledAt,n.currentPeriodStart=t.currentPeriodStart,n.currentPeriodEnd=t.currentPeriodEnd,n.status=t.status,n.paymentSourceId=t.paymentSourceId,n.paymentGateway=t.paymentGateway,n.paymentGatewayPlanId=t.paymentGatewayPlanId,n.trialId=t.trialId,n.trialEndsAt=t.trialEndsAt,n.renewalMutations=t.renewalMutations;var r=n.renewalMutations,l=t.items[0].planId,u=null;if(t.type===i.SubscriptionTypes.PREMIUM){var s=o.default.getHardcoded(t.items[0].planId).interval;l=(0,a.getBasePlanIdForSubscriptionItems)(t.items,s),null!=r&&(u=(0,a.getBasePlanIdForSubscriptionItems)(r.items,s))}else null!=r&&r.items.length>0&&(u=r.items[0].planId);return n.planId=l,n.additionalPlans=t.items.filter((function(e){return e.planId!==l})),null!=r&&null!=u&&(r.planId=u,r.additionalPlans=r.items.filter((function(e){return e.planId!==u}))),n}return n=e,(t=c).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n),c.createFromServer=function(e){return new c({id:e.id,type:e.type,createdAt:new Date(e.created_at),canceledAt:null!=e.canceled_at?new Date(e.canceled_at):null,currentPeriodStart:new Date(e.current_period_start),currentPeriodEnd:new Date(e.current_period_end),status:e.status,paymentSourceId:e.payment_source_id,paymentGateway:e.payment_gateway,paymentGatewayPlanId:e.payment_gateway_plan_id,trialId:e.trial_id,trialEndsAt:e.trial_ends_at,items:e.items.map(d),renewalMutations:null!=e.renewal_mutations?{items:e.renewal_mutations.items.map(d),paymentGatewayPlanId:e.renewal_mutations.payment_gateway_plan_id}:null})},r=c,(l=[{key:"isPurchasedViaApple",get:function(){return this.paymentGateway===i.PaymentGateways.APPLE}},{key:"isPurchasedViaGoogle",get:function(){return this.paymentGateway===i.PaymentGateways.GOOGLE}},{key:"isPurchasedExternally",get:function(){return this.isPurchasedViaApple||this.isPurchasedViaGoogle}},{key:"hasExternalPlanChange",get:function(){return this.isPurchasedExternally&&null!=this.renewalMutations&&this.paymentGatewayPlanId!==this.renewalMutations.paymentGatewayPlanId}}])&&u(r.prototype,l),f&&u(r,f),c}(r.default);t.SubscriptionRecord=f;var c=f;t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSelectionText=c,t.contextMenuCallbackNative=function(e){e.preventDefault();var t=c();if("TEXTAREA"===e.target.tagName||"INPUT"===e.target.tagName){if("checkbox"!==e.target.type)return(0,a.openContextMenu)(e,(function(e){return r.createElement(o.default,f({},e,{text:t}))}))}else{if("none"===window.getComputedStyle(e.target).getPropertyValue("-webkit-user-select"))return;var n,s,d,p=e.target;do{null!=p.src&&(s=p.src),null!=p.href&&(n=p.href,d=p.textContent),p=p.parentNode}while(null!=p);if(null!=s)return(0,a.openContextMenu)(e,(function(e){return r.createElement(i.default,f({},e,{src:s}))}));if(null!=n)return(0,a.openContextMenu)(e,(function(e){return r.createElement(l.default,f({},e,{href:n,textContent:d}))}));if(t)return(0,a.openContextMenu)(e,(function(e){return r.createElement(u.default,f({},e,{text:t}))}))}return null},t.contextMenuCallbackWeb=function(e){var t=!1;if("INPUT"===e.target.tagName||"TEXTAREA"===e.target.tagName)t=!0;else if(null!=e.target.closest&&null!=e.target.closest("[contenteditable=true]"))t=!0;else if(c())t=!0;else{var n,r,a=e.target;do{null!=a.src&&(n=a.src),null!=a.href&&(r=a.href),a=a.parentNode}while(null!=a);null==r&&null==n||(t=!0)}t||e.preventDefault()};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(389),o=s(n(8629)),i=s(n(8874)),l=s(n(8875)),u=s(n(8876));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}function c(){var e="";return window.getSelection?e=window.getSelection().toString():document.selection&&"Control"!==document.selection.type&&(e=document.selection.createRange().text),e}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=He(n(0)),o=n(394),i=n(54),l=n(192),u=Fe(n(3)),s=Fe(n(363)),d=Fe(n(8715)),f=n(10304),c=Fe(n(199)),p=Fe(n(1426)),v=Fe(n(132)),y=He(n(8786)),m=Fe(n(473)),_=Fe(n(10305)),h=Fe(n(105)),E=Fe(n(777)),g=Fe(n(9261)),S=Fe(n(10776)),O=Fe(n(10778)),I=Fe(n(10779)),T=n(10784),C=Fe(n(10785)),b=Fe(n(10786)),M=Fe(n(10787)),N=Fe(n(8548)),A=Fe(n(10790)),P=Fe(n(10799)),R=Fe(n(10800)),L=Fe(n(10801)),D=Fe(n(10802)),w=Fe(n(10803)),j=Fe(n(10804)),k=Fe(n(10807)),U=n(8277),G=Fe(n(10808)),F=Fe(n(702)),B=Fe(n(8720)),H=Fe(n(10809)),x=Fe(n(10810)),V=Fe(n(9274)),W=Fe(n(10811)),Y=n(8660),z=n(8570),K=Fe(n(10921)),$=Fe(n(10927)),Z=Fe(n(11019)),q=Fe(n(11020)),X=Fe(n(8734)),J=Fe(n(11022)),Q=Fe(n(6050)),ee=n(42),te=Fe(n(11024)),ne=Fe(n(11052)),re=Fe(n(11053)),ae=n(8310),oe=Fe(n(11054)),ie=Fe(n(11080)),le=Fe(n(8751)),ue=Fe(n(11086)),se=Fe(n(11087)),de=Fe(n(11088)),fe=Fe(n(11)),ce=Fe(n(8760)),pe=Fe(n(10)),ve=Fe(n(11089)),ye=Fe(n(709)),me=Fe(n(5947)),_e=Fe(n(155)),he=Fe(n(15)),Ee=Fe(n(694)),ge=Fe(n(120)),Se=Fe(n(690)),Oe=Fe(n(11093)),Ie=Fe(n(36)),Te=Fe(n(107)),Ce=Fe(n(11095)),be=Fe(n(11099)),Me=Fe(n(9926)),Ne=Fe(n(9928)),Ae=Fe(n(1167)),Pe=n(41),Re=Fe(n(16)),Le=Fe(n(43)),De=He(n(1253)),we=Fe(n(11100)),je=Fe(n(11743)),ke=n(11745),Ue=Fe(n(11748)),Ge=n(1);function Fe(e){return e&&e.__esModule?e:{default:e}}function Be(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Be=function(){return e},e}function He(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=Be();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function xe(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Ve(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ve(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function Ve(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function We(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ye(e,t)}function Ye(e,t){return(Ye=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ze(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function Ke(e){var t=e.match,n=e.location,r=(0,o.parse)(n.search).friend_token,a=t.params.id;return p.default.call((function(){return(0,ae.openUserProfileModal)({userId:a,guildId:Ge.ME,friendToken:r})})),ze(l.Redirect,{to:me.default.defaultRoute})}function $e(e){var t=e.match,n=/-/g,r=t.params.section&&t.params.section.toUpperCase().replace(n,"_"),a=t.params.subsection&&t.params.subsection.toUpperCase().replace(n,"_");return!Ge.UserSettingsSections.hasOwnProperty(r)||a&&!Ge.UserSettingsSections.hasOwnProperty(a)||p.default.call((function(){return m.default.open(Ge.UserSettingsSections[r],a)})),ze(l.Redirect,{to:me.default.defaultRoute})}function Ze(){return p.default.call((function(){return m.default.open(Ge.UserSettingsSections.INVENTORY)})),ze(l.Redirect,{to:me.default.defaultRoute})}function qe(e){var t=e.match.params.date,n=ce.default.changeLog,r=(0,o.parse)(location.search);if(null!=t&&null!=n&&new Date(t)>new Date(n.date)){var a=r.utm_campaign_current,i=r.utm_content_current,u=r.utm_medium_current,s=r.utm_source_current,f=r.utm_term_current,c=(0,o.stringify)({utm_campaign_current:a,utm_content_current:i,utm_medium_current:u,utm_source_current:s,utm_term_current:f});window.location=Ge.Routes.CHANGELOGS()+"?"+c}return p.default.call((function(){return d.default.showChangeLog(r)})),ze(l.Redirect,{to:me.default.defaultRoute})}function Xe(){return p.default.call((function(){return N.default.openCreateGuildModal({location:"External link"})})),ze(l.Redirect,{to:me.default.defaultRoute})}function Je(e){var t=e.match.params,n=t.guildId,r=t.channelId;(0,Y.setNewUser)(z.NewUserTypes.MARKETING_UNCLAIMED);var a=Ge.Routes.CHANNEL(n||"",r);return ze(l.Redirect,{to:a})}n(1183),n(10440),n(11752),n(1357),n(1415),n(11753),n(94),n(719),n(1414),n(10459),n(11754),n(306),n(8364),n(373),n(738),n(9208),n(11755),n(1270),n(9141),n(8757),n(9129),n(8764),u.default.initialize(),te.default.loadServer(),Re.default.embedded&&(Le.default.on("USER_SETTINGS_OPEN",(function(){Ee.default.getLayers().includes(Ge.Layers.USER_SETTINGS)||m.default.open(Ge.UserSettingsSections.ACCOUNT)})),Le.default.on("LAUNCH_APPLICATION",(function(e,t){var n=ge.default.getActiveLibraryApplication(t);De.playApplication(t,n,{analyticsParams:{location:{page:Ge.AnalyticsPages.DIRECT,object:Ge.AnalyticsObjects.WEB_URL}}})}))),Ke.displayName="renderUserProfileRedirector",$e.displayName="renderUserSettingsRedirector",Ze.displayName="renderGiftInventoryRedirector",qe.displayName="renderChangeLogRedirector",Xe.displayName="createGuildModalRedirector",Je.displayName="renderWelcomeRedirector",Se.default.registerModalsDeprecated(Ue.default);var Qe=u.default.connectStores([ye.default,me.default,fe.default],(function(){return{isConnected:ye.default.isConnected(),defaultRoute:me.default.defaultRoute,defaultRouteFallback:me.default.fallbackRoute,token:fe.default.getToken()}}))(function(e){function t(){return e.apply(this,arguments)||this}return We(t,e),t.prototype.render=function(){var e=this.props,t=e.isConnected,n=e.defaultRoute,r=e.token,a=e.defaultRouteFallback;if(null==r)return ze(l.Redirect,{to:Ge.Routes.LOGIN});if(t){var o=st(n);return null==o||(o.params.guildId===Ge.ME||null!=he.default.getGuild(o.params.guildId))&&null!=pe.default.getChannel(o.params.channelId)?ze(l.Redirect,{to:n}):ze(l.Redirect,{to:a})}return null},t}(a.Component));function et(e){var t=e.match.params,n=t.gameId,r=t.action;return _e.default.whenInitialized((function(){ge.default.whenInitialized((function(){switch(r){case"launch":var e=ge.default.getActiveLibraryApplication(n);if(null==e)return;De.playApplication(e.id,e,{analyticsParams:{location:{page:Ge.AnalyticsPages.DIRECT,object:Ge.AnalyticsObjects.WEB_URL}}});break;case"test-mode":Ae.default.whenInitialized((function(){return y.authorizeAndSetTestModeApplication(n)}));break;case"uninstall":var t=ge.default.getActiveLibraryApplication(n);if(null==t)return;(0,f.uninstallBranchPrompt)(t.id,t.branchId,Ge.AnalyticsLocations.URI_SCHEME)}}))})),ze(l.Redirect,{to:Ge.Routes.APPLICATION_LIBRARY})}et.displayName="gameLibraryActionRedirector";var tt=(0,T.makeAuthenticated)(we.default,null,{passProps:!1});var nt=ze(Qe,{}),rt=[{path:[Ge.Routes.APP,Ge.Routes.CHANNEL("@me",":channelId?")],render:function(){return nt},isSessionRequired:!0},{path:[Ge.Routes.CHANNEL(":guildId",":channelId?",":messageId?"),Ge.Routes.GUILD_DISCOVERY],render:tt,isSessionRequired:!0,isChatRoute:!0}],at=ze(Qe,{}),ot=[{path:[Ge.Routes.APP],render:function(){return at},isSessionRequired:!0},{path:[Ge.Routes.USERS(":id")],render:Ke},{path:[Ge.Routes.APPLICATION_LIBRARY_ACTION(":gameId",":action")],render:et},{path:[Ge.Routes.GUILD_CREATE],render:Xe},{path:[Ge.Routes.CHANGELOGS(":date?")],render:qe,isSessionRequired:!0},{path:[Ge.Routes.SETTINGS(":section",":subsection?")],render:$e,isSessionRequired:!0},{path:[Ge.Routes.APPLICATION_LIBRARY_INVENTORY],render:Ze,isSessionRequired:!0},{path:[Ge.Routes.WELCOME(":guildId?",":channelId?")],render:Je,isSessionRequired:!0},{path:[Ge.Routes.CHANNEL(":guildId",":channelId?",":messageId?"),Ge.Routes.ACTIVITY,Ge.Routes.APPLICATION_LIBRARY,Ge.Routes.APPLICATION_STORE,Ge.Routes.GUILD_DISCOVERY,Ge.Routes.GUILD_MEMBER_VERIFICATION(":guildId",":inviteCode?"),Ge.Routes.GUILD_MEMBER_VERIFICATION_FOR_HUB(":guildId",":inviteCode?"),Ge.Routes.STAGE_DISCOVERY,Ge.Routes.UPCOMING_STAGES(":guildId",":eventId?")],render:tt,isSessionRequired:!0,isChatRoute:!0}];function it(e){if(!ye.default.isConnected()&&!ye.default.isTryingToConnect()){var t=fe.default.getToken();if(null!=t)null!=function(e){for(var t,n=xe(ut());!(t=n()).done;){var r=t.value,a=r.path;if(r.isSessionRequired){var o=(0,i.matchPath)(e,{path:a});if(null!=o)return o}}return null}(e)&&s.default.startSession(t)}}function lt(e){if(null!=e){var t=function(e){var t=e.params,n=t.guildId,r=t.channelId,a=void 0===r?null:r,o=t.messageId,i=void 0===o?null:o;return{guildId:n||Ge.ME,channelId:a,messageId:i}}(e),n=t.guildId,r=t.channelId,a=t.messageId;if(function(e){return null!=e&&(e===Ge.ME||/^\d+$/.test(e))}(n)&&function(e){return null==e||/^\d+$/.test(e)}(r)){var o=Te.default.getGuildId(),i=o!==n,l=Ie.default.getChannelId(o)!==r;i&&c.default.selectGuild(n),(i||l||null!=a)&&v.default.selectChannel(n,r,a)}else(0,ee.replaceWith)(me.default.fallbackRoute)}}function ut(){return fe.default.isGuest()?rt:ot}function st(e){for(var t,n=xe(ut());!(t=n()).done;){var r=t.value,a=r.path;if(r.isChatRoute){var o=(0,i.matchPath)(e,{path:a});if(null!=o)return o}}return null}var dt=ze(l.Redirect,{exact:!0,from:"/channels",to:"/"}),ft=ze(l.Redirect,{to:"/"}),ct=ze(je.default,{}),pt=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).historyUnlisten=function(){},e}We(n,t);var r=n.prototype;return r.componentDidMount=function(){Le.default.setZoomFactor(h.default.zoom),te.default.init(),C.default.initialize(),M.default.initialize(),b.default.initialize(),A.default.initialize(),Z.default.initialize(),R.default.initialize(),P.default.initialize(),de.default.initialize(),L.default.initialize(),X.default.initialize(),W.default.initialize(),E.default.init(),J.default.init(),ne.default.init(),w.default.init(),be.default.init(),D.default.init(),V.default.init(),K.default.initialize(),I.default.initialize(),se.default.initialize(),O.default.initialize(),ue.default.initialize(),$.default.initialize(),S.default.initialize(),j.default.init(),G.default.init(),ve.default.init(),Oe.default.init(),x.default.initialize(),H.default.initialize(),g.default.initialize(),re.default.init(),Ne.default.init(),Me.default.init(),ie.default.init(),le.default.init(),k.default.initialize(),oe.default.initialize(),q.default.initialize(),Ce.default.init(),this.handleHistoryChange(e.location),this.historyUnlisten=Q.default.addRouteChangeListener(this.handleHistoryChange),p.default.call((function(){(0,ke.showAppDownloadModal)();var e=Object.values(he.default.getGuilds()).find((function(e){return e.hasFeature(Ge.GuildFeatures.HUB)})),t=!F.default.hasHotspot(U.HotspotLocations.HUB_SECOND_EMAIL_CONNECTION_UPSELL);_.default.subscribe({},(function(e){e.forceShowModal&&(t=!1)})),(0,Pe.hasAnyModalOpen)()||e||t||(_.default.trackExposure({}),_.default.subscribe({},(function(e){e.showModal&&(0,Pe.openModal)((function(e){return a.createElement(B.default,e)}))})))}))},r.componentWillUnmount=function(){R.default.terminate(),de.default.terminate(),X.default.terminate(),Z.default.terminate(),W.default.terminate(),C.default.terminate(),M.default.terminate(),b.default.terminate(),A.default.terminate(),x.default.terminate(),O.default.terminate(),ue.default.terminate(),S.default.terminate(),$.default.terminate(),g.default.terminate(),k.default.terminate(),q.default.terminate()},r.handleHistoryChange=function(e){var t=e.pathname;it(t),lt(st(t))},r.render=function(){var e=this.props.isGuest;return ze(a.Fragment,{},void 0,ze(l.Switch,{},void 0,dt,e?rt.map((function(e){var t=e.path,n=e.render;return ze(l.Route,{path:t,render:n},t[0])})):ot.map((function(e){var t=e.path,n=e.render;return ze(l.Route,{path:t,render:n},t[0])})),ft),ct)},n}(a.PureComponent);pt.displayName="ViewsWithMainInterface";var vt=u.default.connectStores([fe.default],(function(){return{isGuest:fe.default.isGuest()}}))(pt);t.default=vt}).call(this,n(44))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTierName=function(e){switch(e){case p.PremiumGuildTiers.NONE:return v.default.Messages.PREMIUM_GUILD_TIER_0;case p.PremiumGuildTiers.TIER_1:return v.default.Messages.PREMIUM_GUILD_TIER_1;case p.PremiumGuildTiers.TIER_2:return v.default.Messages.PREMIUM_GUILD_TIER_2;case p.PremiumGuildTiers.TIER_3:return v.default.Messages.PREMIUM_GUILD_TIER_3;default:throw new Error("Not a valid tier type")}},t.getGuildTierFromSubscriberCount=T,t.getNextGuildTierFromSubscriberCount=C,t.getPremiumGuildSubscriptionMonths=function(e){return(0,l.default)().diff((0,l.default)(e),"months")||1},t.getUserLevel=function(e){for(var t=(0,l.default)().diff(e,"months"),n=1,r=0,a=Object.keys(p.UserPremiumGuildSubscriptionMonths);r<a.length;r++){var o=a[r];t<p.UserPremiumGuildSubscriptionMonths[o]||(n=+o)}return n},t.isGuildPremiumAtLeast=b,t.isTierUnlocked=function(e,t){return b(e.premiumTier,t)},t.getProgressPercentToTopTier=function(e){var t=e.premiumSubscriberCount,n=e.premiumTier,r=C(t);if(null==r)return 100;var a=I.length,o=p.PremiumGuildSubscriptionsRequired[n],i=p.PremiumGuildSubscriptionsRequired[r],l=100*n/a,u=100*(t-o)/(i-o);return Math.min(l+u/a,100)},t.getAvailableUserPremiumGuildSubscriptionSlots=M,t.generateBlockGuildSubscriptionPurchasesNode=function(){var e=u.default.getPremiumTypeSubscription();if(null==e)return null;if(M(s.default.slots).length>0)return null;if(e.status===p.SubscriptionStatusTypes.PAST_DUE)return v.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_PURCHASE_BUTTON_DISABLED_SUBSCRIPTION_PAST_DUE;if(e.status===p.SubscriptionStatusTypes.ACCOUNT_HOLD)return v.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_PURCHASE_BUTTON_DISABLED_SUBSCRIPTION_ACCOUNT_HOLD;if(null==e.renewalMutations)return null;var t=(0,c.getNumPremiumGuildSubscriptions)(e.renewalMutations.additionalPlans);return(0,c.getNumPremiumGuildSubscriptions)(e.additionalPlans)>t?v.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_PURCHASE_BUTTON_DISABLED_PENDING_MUTATION_PREMIUM_GUILD_SUBSCRIPTION:v.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_PURCHASE_BUTTON_DISABLED_PENDING_MUTATION_PLAN},t.isInGracePeriod=function(e){return N(e)>0},t.premiumGuildSubscriptionsRequiredForPerks=N,t.getGracePeriodEndingDate=function(e){var t=N(e);if(t>0){var n=function(e){return e.sort((function(e,t){return null!=e.endsAt&&null!=t.endsAt?e.endsAt.getTime()-t.endsAt.getTime():-1}))}(e).filter((function(e){return null!=e.endsAt}));return n[n.length-t].endsAt}return null},t.getAvailableStickerSlotCount=function(e,t){var n=O(t),r=h.indexOf(t);if(-1===r)return 0;var a=h[r-1],o=null!=a?S(a):0,i=S(t);return Math.max(0,n-e.slice(o,i).length)},t.GuildTierSubscriptionsOrdered=t.getTiers=t.getIncrementalStickerCountForTier=t.getTotalStickerCountForTier=t.TotalStickerCountsByTier=t.IncrementalStickerCountsByTier=t.OrderedTiers=t.PerkIcons=void 0;var r,a,o,i=y(n(8)),l=y(n(5)),u=y(n(1147)),s=y(n(5832)),d=n(380),f=y(n(93)),c=n(96),p=n(1),v=y(n(6));function y(e){return e&&e.__esModule?e:{default:e}}function m(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.PerkIcons=o,function(e){e[e.EMOJI=1]="EMOJI",e[e.AUDIO=2]="AUDIO",e[e.ANIMATED=3]="ANIMATED",e[e.CUSTOMIZATION=4]="CUSTOMIZATION",e[e.UPLOAD=5]="UPLOAD",e[e.VANITY=6]="VANITY",e[e.STREAM=7]="STREAM",e[e.STICKER=8]="STICKER"}(o||(t.PerkIcons=o={}));var h=[p.PremiumGuildTiers.NONE,p.PremiumGuildTiers.TIER_1,p.PremiumGuildTiers.TIER_2,p.PremiumGuildTiers.TIER_3];t.OrderedTiers=h;var E=((r={})[p.PremiumGuildTiers.NONE]=0,r[p.PremiumGuildTiers.TIER_1]=15,r[p.PremiumGuildTiers.TIER_2]=15,r[p.PremiumGuildTiers.TIER_3]=30,r);t.IncrementalStickerCountsByTier=E;var g=((a={})[p.PremiumGuildTiers.NONE]=E[p.PremiumGuildTiers.NONE],a[p.PremiumGuildTiers.TIER_1]=E[p.PremiumGuildTiers.NONE]+E[p.PremiumGuildTiers.TIER_1],a[p.PremiumGuildTiers.TIER_2]=E[p.PremiumGuildTiers.NONE]+E[p.PremiumGuildTiers.TIER_1]+E[p.PremiumGuildTiers.TIER_2],a[p.PremiumGuildTiers.TIER_3]=E[p.PremiumGuildTiers.NONE]+E[p.PremiumGuildTiers.TIER_1]+E[p.PremiumGuildTiers.TIER_2]+E[p.PremiumGuildTiers.TIER_3],a);t.TotalStickerCountsByTier=g;var S=function(e){return g[e]};t.getTotalStickerCountForTier=S;var O=function(e){return E[e]};t.getIncrementalStickerCountForTier=O;t.getTiers=function(){return[{tier:p.PremiumGuildTiers.TIER_1,title:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERKS_TITLE_TIER_1,perks:[{title:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_ANY_EMOJI.format({adding:p.PremiumGuildLimits[p.PremiumGuildTiers.TIER_1].emoji-p.PremiumGuildLimits[p.PremiumGuildTiers.NONE].emoji,total:p.PremiumGuildLimits[p.PremiumGuildTiers.TIER_1].emoji}),description:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_1_EMOJI,icon:o.EMOJI},{title:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_ANY_STICKER.format({adding:O(p.PremiumGuildTiers.TIER_1),total:S(p.PremiumGuildTiers.TIER_1)}),description:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_1_STICKER,icon:o.STICKER,isNew:!0},{title:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_ANY_AUDIO_QUALITY.format({bitrate:p.PremiumGuildLimits[p.PremiumGuildTiers.TIER_1].bitrate/1e3}),description:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_1_AUDIO_QUALITY,icon:o.AUDIO},{title:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_1_ANIMATED_GUILD_ICON,description:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_1_ANIMATED_GUILD_ICON.format(),icon:o.ANIMATED},{title:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_1_SPLASH,description:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_1_SPLASH,icon:o.CUSTOMIZATION},{title:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_1_STREAMING,description:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_1_STREAMING,icon:o.STREAM}]},{tier:p.PremiumGuildTiers.TIER_2,title:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERKS_TITLE_TIER_2,perks:[{title:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_ANY_EMOJI.format({adding:p.PremiumGuildLimits[p.PremiumGuildTiers.TIER_2].emoji-p.PremiumGuildLimits[p.PremiumGuildTiers.TIER_1].emoji,total:p.PremiumGuildLimits[p.PremiumGuildTiers.TIER_2].emoji}),description:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_2_EMOJI,icon:o.EMOJI},{title:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_ANY_STICKER.format({adding:O(p.PremiumGuildTiers.TIER_2),total:S(p.PremiumGuildTiers.TIER_2)}),description:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_2_STICKER,icon:o.STICKER,isNew:!0},{title:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_ANY_AUDIO_QUALITY.format({bitrate:p.PremiumGuildLimits[p.PremiumGuildTiers.TIER_2].bitrate/1e3}),description:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_2_AUDIO_QUALITY,icon:o.AUDIO},{title:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_2_BANNER,description:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_2_BANNER,icon:o.CUSTOMIZATION},{title:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_ANY_UPLOAD_LIMIT.format({fileSize:(0,d.formatSize)(p.PremiumGuildLimits[p.PremiumGuildTiers.TIER_2].fileSize/1024,{useKibibytes:!0})}),description:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_2_UPLOAD_LIMIT.format(),icon:o.UPLOAD},{title:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_2_STREAMING,description:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_2_STREAMING,icon:o.STREAM}]},{tier:p.PremiumGuildTiers.TIER_3,title:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERKS_TITLE_TIER_3,perks:[{title:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_ANY_EMOJI.format({adding:p.PremiumGuildLimits[p.PremiumGuildTiers.TIER_3].emoji-p.PremiumGuildLimits[p.PremiumGuildTiers.TIER_2].emoji,total:p.PremiumGuildLimits[p.PremiumGuildTiers.TIER_3].emoji}),description:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_3_EMOJI,icon:o.EMOJI},{title:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_ANY_STICKER.format({adding:O(p.PremiumGuildTiers.TIER_3),total:S(p.PremiumGuildTiers.TIER_3)}),description:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_3_STICKER,icon:o.STICKER,isNew:!0},{title:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_ANY_AUDIO_QUALITY.format({bitrate:p.PremiumGuildLimits[p.PremiumGuildTiers.TIER_3].bitrate/1e3}),description:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_3_AUDIO_QUALITY,icon:o.AUDIO},{title:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_3_VANITY_URL,description:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_3_VANITY_URL.format({helpdeskArticle:f.default.getArticleURL(p.HelpdeskArticles.GUILD_VANITY_URL)}),icon:o.VANITY},{title:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_ANY_UPLOAD_LIMIT.format({fileSize:(0,d.formatSize)(p.PremiumGuildLimits[p.PremiumGuildTiers.TIER_3].fileSize/1024,{useKibibytes:!0})}),description:v.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_3_UPLOAD_LIMIT.format(),icon:o.UPLOAD}]}]};var I=[{tier:p.PremiumGuildTiers.TIER_3,amount:p.PremiumGuildSubscriptionsRequired[p.PremiumGuildTiers.TIER_3],nextTier:null},{tier:p.PremiumGuildTiers.TIER_2,amount:p.PremiumGuildSubscriptionsRequired[p.PremiumGuildTiers.TIER_2],nextTier:p.PremiumGuildTiers.TIER_3},{tier:p.PremiumGuildTiers.TIER_1,amount:p.PremiumGuildSubscriptionsRequired[p.PremiumGuildTiers.TIER_1],nextTier:p.PremiumGuildTiers.TIER_2}];function T(e){for(var t,n=m(I);!(t=n()).done;){var r=t.value;if(e>=r.amount)return r.tier}return p.PremiumGuildTiers.NONE}function C(e){for(var t,n=m(I);!(t=n()).done;){var r=t.value;if(e>=r.amount)return r.nextTier}return p.PremiumGuildTiers.TIER_1}function b(e,t){return null==t||null!=e&&e>=t}function M(e){return i.default.values(e).filter((function(e){return e.isAvailable()}))}function N(e){var t=T(e.length),n=p.PremiumGuildSubscriptionsRequired[t],r=e.filter((function(e){return null!=e.endsAt}));return n-(e.length-r.length)}t.GuildTierSubscriptionsOrdered=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PNGSticker=t.LottieSticker=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=I(n(9)),i=I(n(23)),l=n(122),u=I(n(6054)),s=n(3),d=n(5965),f=I(n(105)),c=I(n(161)),p=I(n(6044)),v=n(250),y=n(165),m=I(n(24)),_=n(193),h=n(5944),E=n(366),g=n(290),S=I(n(6)),O=I(n(6117));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var b=function(e){return e.preventDefault()},M={tension:1100,friction:40},N={tension:1600,friction:60};function A(e){var t="description"in e&&null!=e.description?e.name+", "+e.description:e.name;return S.default.Messages.STICKER_A11Y_LABEL.format({stickerName:t})}var P=function(e){var t,n=e.children,r=e.hasError,a=e.isLoading,i=e.maskAsset,l=e.size,u=e.withLoadingIndicator,s=void 0===u||u,d=l>=33;return C("div",{className:(0,o.default)(O.default.assetWrapper,(t={},t[O.default.assetWrapperMasked]=r||i,t)),style:{height:l,width:l}},void 0,r?C("div",{className:O.default.error},void 0,C(p.default,{className:O.default.errorIcon}),d&&C(m.default,{className:O.default.errorText,color:m.default.Colors.HEADER_SECONDARY,size:m.default.Sizes.SIZE_14},void 0,S.default.Messages.STICKER_ASSET_LOAD_ERROR)):n,s&&a&&C("div",{className:O.default.loadingIndicator}))};P.displayName="StickerAsset";var R=function(e){var t=e.shouldAnimate,n=e.size,r=e.sticker,o=e.fileUri,l=e.assetData,s=e.isFocused,d=e.className,f=e.maskAsset,c=e.positionRef,p=e.withLoadingIndicator,v=e.onError,y=a.useRef(null),m=a.useRef(null),h=a.useState(!0),E=h[0],I=h[1],T=a.useState(!1),b=T[0],M=T[1],N=null==o?(0,g.getStickerAssetUrl)(r):o;return(0,i.default)(null!=N,"Unable to determine sticker asset URL. Sticker ID: "+r.id),a.useEffect((function(){if(null!=y.current&&null!=N){var e=Math.min(2,(0,_.getDevicePixelRatio)());y.current.width=n*e,y.current.height=n*e;var t=!1;return null!=y.current&&(m.current=new u.default({canvas:y.current,animationId:r.id,assetUrl:N,assetData:l,onInitialDraw:function(){t||I(!1)},onError:function(){t||(I(!1),M(!0),null==v||v())}})),function(){var e;null===(e=m.current)||void 0===e||e.drop(),m.current=null,t=!0}}}),[N,n,r.id,l,v]),a.useEffect((function(){var e,n;t||(n=0),null===(e=m.current)||void 0===e||e.setState(t&&s,n)}),[r,t,s]),null==N?null:a.createElement("div",{role:"img",className:d,"aria-label":b?S.default.Messages.ERROR_LOADING_STICKER:A(r),ref:c},C(P,{hasError:b,isLoading:E,maskAsset:f,size:n,withLoadingIndicator:p},void 0,a.createElement("canvas",{className:O.default.lottieCanvas,ref:y})))};t.LottieSticker=R,R.displayName="LottieSticker";var L=function(e){var t=e.shouldAnimate,n=e.sticker,r=e.isFocused,i=e.size,l=e.className,u=e.maskAsset,s=e.positionRef,f=e.withLoadingIndicator,c=e.fileUri,p=a.useState(!1),v=p[0],y=p[1],m=a.useState(!0),_=m[0],h=m[1],E=a.useState(!1),S=E[0],I=E[1],T=a.useRef(null),M=a.useRef(null),N=null!=c?c:(0,g.getStickerAssetUrl)(n,{isPreview:!t||!v||!r,size:i}),R=a.useCallback((function(){h(!1)}),[]),L=a.useCallback((function(){I(!0)}),[]);return a.useEffect((function(){if(null!=T.current){var e=T.current.isVisible;y(e)}}),[]),a.useLayoutEffect((function(){var e;!0===(null===(e=M.current)||void 0===e?void 0:e.complete)&&h(!1)}),[]),null==N?null:a.createElement(d.VisibilitySensor,{ref:T,onChange:y,threshold:.7},a.createElement("div",{className:(0,o.default)(l,O.default.pngImageWrapper),ref:s},C(P,{hasError:S,isLoading:_,maskAsset:u,size:i,withLoadingIndicator:f},void 0,a.createElement("img",{className:O.default.pngImage,alt:A(n),src:N,draggable:!1,onError:L,onLoad:R,onContextMenu:b,ref:M}))))};t.PNGSticker=L,L.displayName="PNGSticker";var D=function(e){var t=e.disableAnimation,n=e.enlargeScaleFactor,r=e.enlargeWithName,o=e.isInteracting,i=e.positionRef,u=e.size,d=e.sticker,c=(0,s.useStateFromStores)([f.default],(function(){return f.default.useReducedMotion})),p=a.useRef(null),_={transform:"scale("+(c?1:1/n)+")",opacity:0},h=(0,l.useTransition)(o,{ref:p,from:_,enter:{transform:"scale(1)",opacity:1},leave:_,config:M}),E=a.useRef(null),g=(0,l.useSpring)({ref:E,transform:o||c?"translateY(0)":"translateY(-25px)",opacity:o?1:0,config:N});return(0,l.useChain)(o?[p,E]:[E,p],o?[0,.0625]:[0,0]),h((function(e,a){return a&&C(y.AppReferencePositionLayer,{className:O.default.positionedLayer,fixed:!0,align:v.Align.CENTER,position:v.Positions.CENTER,reference:i},void 0,(function(){return C("div",{className:O.default.overlayWrapper},void 0,C(l.animated.div,{className:O.default.overlayStickerWrapper,style:e},void 0,C(w,{className:O.default.overlaySticker,disableAnimation:t,enlargeOnInteraction:!1,isInteracting:o,maskAsset:!1,sticker:d,size:Math.round(u*n),withLoadingIndicator:!1})),r&&C(l.animated.div,{className:O.default.overlayLabelWrapper,style:g},void 0,C(m.default,{size:m.default.Sizes.SIZE_14,className:O.default.overlayLabel},void 0,d.name)))}))}))},w=function(e){var t=e.isInteracting,n=void 0!==t&&t,r=e.disableAnimation,o=void 0!==r&&r,i=e.enlargeOnInteraction,l=void 0!==i&&i,u=e.enlargeWithName,d=void 0===u||u,f=e.enlargeScaleFactor,p=void 0===f?1.55:f,v=e.maskAsset,y=void 0!==v&&v,m=e.size,_=e.sticker,g=e.className,S=e.withLoadingIndicator,O=e.assetData,I=e.fileUri,T=e.onError,b=(0,s.useStateFromStores)([c.default],(function(){return c.default.isFocused()})),M=(0,h.useShouldAnimateSticker)(n)&&!o,N=a.useRef(null);if(null==_)return null;var A=_.format_type===E.StickerFormat.LOTTIE?R:L;return C(a.Fragment,{},_.id+","+m,C(A,{shouldAnimate:M,isFocused:b,size:m,sticker:_,className:g,maskAsset:y,positionRef:N,withLoadingIndicator:S,assetData:O,fileUri:I,onError:T}),l&&C(D,{disableAnimation:o,enlargeScaleFactor:p,enlargeWithName:d,isInteracting:n,positionRef:N,size:m,sticker:_}))};w.displayName="Sticker";var j=w;t.default=j},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getChannelIconURL=function(e,t){switch(e.type){case i.ChannelTypes.DM:var n=e.recipients.map(r.default.getUser).filter(o.isNotNullish)[0];return null==n?null:n.getAvatarURL(void 0,t);case i.ChannelTypes.GROUP_DM:return a.default.getChannelIconURL({id:e.id,icon:e.icon,applicationId:e.getApplicationId()})}},t.getChannelIconSource=function(e){switch(e.type){case i.ChannelTypes.DM:var t=e.recipients.map(r.default.getUser).filter(o.isNotNullish)[0];return null!=t?t.getAvatarSource(void 0):null;case i.ChannelTypes.GROUP_DM:return a.default.getChannelIconSource({id:e.id,icon:e.icon,applicationId:e.getApplicationId()})}};var r=l(n(12)),a=l(n(150)),o=n(48),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addStickerPreview=function(e,t){a.default.dispatch({type:d.ActionTypes.ADD_STICKER_PREVIEW,channelId:e,sticker:t})},t.clearStickerPreview=function(e){a.default.dispatch({type:d.ActionTypes.CLEAR_STICKER_PREVIEW,channelId:e})},t.updateGuildSticker=t.createGuildSticker=t.deleteGuildSticker=t.fetchGuildStickers=t.fetchSticker=t.fetchStickerPacks=t.fetchStickerPack=void 0;var r=f(n(14)),a=f(n(2)),o=f(n(89)),i=f(n(39)),l=f(n(12)),u=n(289),s=f(n(362)),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function v(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){p(o,r,a,i,l,"next",e)}function l(e){p(o,r,a,i,l,"throw",e)}i(void 0)}))}}var y=function(){var e=v(regeneratorRuntime.mark((function e(t,n){var r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,u.httpGetWithCountryCodeQuery)(d.Endpoints.STICKER_PACK(t));case 2:return r=e.sent,o=r.body,a.default.dispatch({type:d.ActionTypes.STICKER_PACK_FETCH_SUCCESS,packId:t,pack:o,ingestStickers:n}),e.abrupt("return",o);case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();t.fetchStickerPack=y;var m=function(){var e=v(regeneratorRuntime.mark((function e(t){var n,r,o,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=(void 0===t?{}:t).locale,r=void 0===n?i.default.locale:n,!s.default.isFetchingStickerPacks&&!s.default.hasLoadedStickerPacks){e.next=3;break}return e.abrupt("return");case 3:return a.default.wait((function(){a.default.dispatch({type:d.ActionTypes.STICKER_PACKS_FETCH_START})})),e.next=6,(0,u.httpGetWithCountryCodeQuery)({url:d.Endpoints.STICKER_PACKS,query:{locale:r}});case 6:o=e.sent,l=o.body.sticker_packs,a.default.dispatch({type:d.ActionTypes.STICKER_PACKS_FETCH_SUCCESS,packs:l});case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();t.fetchStickerPacks=m;var _=function(){var e=v(regeneratorRuntime.mark((function e(t){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.get({url:d.Endpoints.STICKER(t)});case 2:n=e.sent,o=n.body,a.default.dispatch({type:d.ActionTypes.STICKER_FETCH_SUCCESS,sticker:o});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();t.fetchSticker=_;var h=function(){var e=v(regeneratorRuntime.mark((function e(t){var n,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.get({url:d.Endpoints.GUILD_STICKER_PACKS(t)});case 2:n=e.sent,i=n.body,a.default.dispatch({type:d.ActionTypes.GUILD_STICKERS_FETCH_SUCCESS,guildId:t,stickers:i.map((function(e){return null!=e.user?c({},e,{user:new o.default(e.user)}):e}))});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();t.fetchGuildStickers=h;var E=function(){var e=v(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.delete({url:d.Endpoints.GUILD_STICKER(t.guild_id,t.id)});case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();t.deleteGuildSticker=E;var g=function(){var e=v(regeneratorRuntime.mark((function e(t,n){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.post({url:d.Endpoints.GUILD_STICKER_PACKS(t),body:n});case 2:return o=e.sent,a.default.dispatch({type:d.ActionTypes.GUILD_STICKERS_CREATE_SUCCESS,guildId:t,sticker:c({},o.body,{user:l.default.getNullableCurrentUser()})}),e.abrupt("return",o.body);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();t.createGuildSticker=g;var S=function(){var e=v(regeneratorRuntime.mark((function e(t,n,a){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.patch({url:d.Endpoints.GUILD_STICKER(t,n),body:a});case 2:return o=e.sent,e.abrupt("return",o.body);case 4:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}();t.updateGuildSticker=S},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SearchIcon=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(9)),i=p(n(88)),l=p(n(61)),u=p(n(151)),s=p(n(255)),d=p(n(5968)),f=p(n(6)),c=p(n(6066));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(){return(y=Object.assign||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}).apply(this,arguments)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=Object.freeze({SMALL:c.default.small,MEDIUM:c.default.medium,LARGE:c.default.large}),E=function(e){var t,n,r,i=e.hasContent,p=e.onClear,v=e.className,y=e.isLoading,m=e.size,E=void 0===m?h.SMALL:m;return _(l.default,{className:(0,o.default)(v,c.default.iconLayout,E,(t={},t[c.default.pointer]=i,t)),onClick:function(e){e.stopPropagation(),null!=p&&p(e)},tabIndex:i?0:-1,onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},void 0,_("div",{className:c.default.iconContainer},void 0,y?_(u.default,{type:u.default.Type.SPINNING_CIRCLE,className:(0,o.default)(c.default.icon,c.default.visible)}):_(a.Fragment,{},void 0,_(d.default,{className:(0,o.default)(c.default.icon,(n={},n[c.default.visible]=!i,n)),"aria-label":f.default.Messages.SEARCH}),_(s.default,{className:(0,o.default)(c.default.clear,(r={},r[c.default.visible]=i,r)),"aria-label":f.default.Messages.CLOSE}))))};t.SearchIcon=E,E.displayName="SearchIcon",E.Sizes=h;var g=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).inputRef=a.createRef(),t.containerRef=a.createRef(),t.handleOnChange=function(e){var n=t.props.onChange;n&&n(e.currentTarget.value)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var l=r.prototype;return l.focus=function(){var e=this.inputRef.current;null!=e&&e.focus()},l.blur=function(){var e=this.inputRef.current;null!=e&&e.blur()},l.render=function(){var e,t=this.props,n=t.query,r=t.autoFocus,l=t.onClear,u=t.className,s=t.placeholder,d=t.iconClassName,f=t.onKeyDown,p=t.onKeyUp,v=t.onKeyPress,m=t.isLoading,h=t.size,g=t.disabled,S=(t.onChange,t.onBlur),O=t.onFocus,I=t.autoComplete,T=t.inputProps,C=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(t,["query","autoFocus","onClear","className","placeholder","iconClassName","onKeyDown","onKeyUp","onKeyPress","isLoading","size","disabled","onChange","onBlur","onFocus","autoComplete","inputProps"]);return _(i.default,{focusTarget:this.inputRef,ringTarget:this.containerRef},void 0,a.createElement("div",y({className:(0,o.default)(u,c.default.container,h,(e={},e[c.default.disabled]=g,e)),ref:this.containerRef},C),_("div",{className:c.default.inner},void 0,a.createElement("input",y({},T,{onFocus:O,onBlur:S,className:c.default.input,value:n,onChange:this.handleOnChange,onKeyDown:f,onKeyUp:p,onKeyPress:v,placeholder:s,disabled:g,autoFocus:r,autoComplete:I,ref:this.inputRef})),_(E,{size:h,hasContent:n.length>0,onClear:l,className:d,isLoading:m}))))},r}(a.PureComponent);g.displayName="SearchBar",g.Sizes=h,g.defaultProps={size:h.SMALL,placeholder:f.default.Messages.SEARCH,isLoading:!1,disabled:!1};var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showModalUpsell=function(e){var t=e.onCloseCallback,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onCloseCallback"]);(0,l.openModal)((function(e){return a.createElement(i.default,s({},e,n))}),{onCloseCallback:t})},t.useAndTriggerGuildMemberAvatarExperiment=function(){var e=d.useExperiment({})[0].enabled;return a.useEffect((function(){return d.trackExposure({})})),e},t.default=t.GuildIDContext=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(50),i=(r=n(6029))&&r.__esModule?r:{default:r},l=n(41);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}var d=(0,o.createExperiment)({kind:"user",id:"2021-05_per_guild_avatars",label:"Guild Member Avatar Uploader",defaultConfig:{enabled:!1},treatments:[{id:1,label:"enabled guild member avatars",config:{enabled:!0}}]});var f=a.createContext(void 0);t.GuildIDContext=f;var c=d;t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFilteredStickerPackCategories=t.useStickerForRenderableSticker=t.useStickerPackCategories=t.useFetchStickerPacks=t.useHasSendableSticker=t.useStickersGrid=t.useShouldAnimateSticker=t.useFetchStickerPack=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(3),o=h(n(361)),i=h(n(39)),l=h(n(12)),u=h(n(78)),s=h(n(96)),d=n(1172),f=n(5940),c=h(n(1196)),p=h(n(362)),v=n(366),y=n(290),m=n(1),_=h(n(6));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function S(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.useFetchStickerPack=function(e){I();var t=(0,a.useStateFromStores)([p.default],(function(){return p.default.hasLoadedStickerPacks}));r.useEffect((function(){t&&null==p.default.getStickerPack(e)&&(0,f.fetchStickerPack)(e)}),[e,t])};t.useShouldAnimateSticker=function(e){var t=(0,a.useStateFromStores)([i.default],(function(){return i.default.animateStickers}));return(0,y.shouldAnimateSticker)(t,e)};t.useStickersGrid=function(e){var t=e.collapsedStickersCategories,n=e.filteredStickers,a=e.listPaddingRight,o=void 0===a?0:a,i=e.listWidth,l=void 0===i?0:i,u=e.stickerNodeMargin,s=void 0===u?0:u,d=e.stickerNodeWidth,f=e.stickersCategories;return r.useMemo((function(){var e=Math.floor((l-o+s)/(d+s)),r=Math.floor(Math.max(s,(l-o-d*e)/(e-1))),a=[],i=[],u=[],c=0,p=0,m=0;if(0!==l){var _=function(t,n){void 0===n&&(n=!1);var r=Math.ceil(t.length/e);i[p]=n?0:r;for(var o=0;o<r;o++){var l=o*e,s=l+e,d=t.slice(l,s).map((function(e,t){return{type:v.StickerGridItemTypes.STICKER,sticker:e,packId:(0,y.isStandardSticker)(e)?e.pack_id:"TODO - fix",gridSectionIndex:p,rowIndex:c,columnIndex:t,visibleRowIndex:m}}));n||(m++,u.push(d),a.push(d.length)),c++}p++};if(null==n)for(var h,E=S(f);!(h=E()).done;){var g=h.value;g.stickers.length>0&&(c++,_(g.stickers,!0===(null==t?void 0:t.has(g.id))))}else n.sendable.length>0&&_(n.sendable),n.sendableWithPremium.length>0&&_(n.sendableWithPremium)}return{rowCount:c,rowCountBySection:i,stickersGrid:u,gutterWidth:r,columnCounts:a}}),[t,n,o,l,s,d,f])};t.useHasSendableSticker=function(e){var t=(0,a.useStateFromStores)([l.default],(function(){return l.default.getNullableCurrentUser()}));return(0,a.useStateFromStores)([p.default],(function(){for(var n,r=S(p.default.getAllStickersIterator());!(n=r()).done;){var a=n.value;if((0,d.isSendableSticker)(a,t,e))return!0}return!1}),[t,e])};var I=function(){r.useEffect((function(){(0,f.fetchStickerPacks)()}),[])};t.useFetchStickerPacks=I;var T=function(e){var t=(0,a.useStateFromStores)([c.default],(function(){return c.default.frequentlyUsedStickers})),n=(0,a.useStateFromStores)([p.default],(function(){return p.default.getPremiumPacks()})),i=(0,a.useStateFromStores)([l.default],(function(){return l.default.getNullableCurrentUser()})),d=s.default.isPremium(i,m.PremiumTypes.TIER_2),f=function(e){var t=(0,a.useStateFromStores)([p.default],(function(){return p.default.getAllGuildStickers()})),n=(0,a.useStateFromStores)([o.default],(function(){return o.default.getFlattenedGuilds()})),i=(0,a.useStateFromStores)([l.default],(function(){return l.default.getNullableCurrentUser()})),s=JSON.stringify(n.map((function(e){return[e.id,e.name]}))),d=r.useMemo((function(){return n}),[s]);return r.useMemo((function(){var n=d.map((function(e){var n=e.name,r=e.id,a=t.get(r);return null==a||0===a.length?null:{type:v.StickerCategoryTypes.GUILD,id:r,name:n,stickers:a}})).filter((function(e){return null!=e}));if(null!=(null==e?void 0:e.getGuildId())){var r=n.findIndex((function(t){return t.id===e.getGuildId()}));r>=1&&n.unshift(n.splice(r,1)[0]),null==i||u.default.can(m.Permissions.USE_EXTERNAL_EMOJIS,i,e)||(n=n.filter((function(t){return t.id===e.getGuildId()})))}return n}),[t,d,i,e])}(e);return r.useMemo((function(){var e,r=n.map(y.createStickerPackCategory);return[{type:v.StickerCategoryTypes.RECENT,id:v.StickerCategoryTypes.RECENT,name:_.default.Messages.STICKER_CATEGORY_RECENT,stickers:null!==(e=null==t?void 0:t.filter((function(e){var t,r;return(0,y.isGuildSticker)(e)?null!==(t=null===(r=p.default.getStickersByGuildId(e.guild_id))||void 0===r?void 0:r.some((function(t){return t.id===e.id})))&&void 0!==t&&t:(0,y.isStandardSticker)(e)?n.some((function(t){return t.id===e.pack_id})):void 0})))&&void 0!==e?e:[]}].concat(f,d?r:[])}),[t,f,n,d])};t.useStickerPackCategories=T;t.useStickerForRenderableSticker=function(e,t){void 0===t&&(t=!1);var n=(0,a.useStateFromStores)([p.default],(function(){return p.default.getStickerById(e.id)})),o=r.useState(!0),i=o[0],l=o[1],u=r.useState(!1),s=u[0],d=u[1],c=(0,y.isGuildSticker)(e)||(0,y.isStandardSticker)(e);return r.useEffect((function(){(function(){var r,a=(r=regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!t||c||null!=n||!i||s){r.next=10;break}return l(!1),r.prev=2,r.next=5,(0,f.fetchSticker)(e.id);case 5:r.next=9;break;case 7:r.prev=7,r.t0=r.catch(2);case 9:d(!0);case 10:case"end":return r.stop()}}),r,null,[[2,7]])})),function(){var e=this,t=arguments;return new Promise((function(n,a){var o=r.apply(e,t);function i(e){g(o,n,a,i,l,"next",e)}function l(e){g(o,n,a,i,l,"throw",e)}i(void 0)}))});return function(){return a.apply(this,arguments)}})()()}),[t]),c?[e,s]:[null!=n?n:null,s]};t.useFilteredStickerPackCategories=function(e){var t=T(e);return r.useMemo((function(){return t.filter((function(e){return e.stickers.length>0}),[])}),[t])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(){return(o=Object.assign||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}).apply(this,arguments)}var i=function(e){var t=e.externalRef,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["externalRef"]),a=r.useRef(null);return r.useLayoutEffect((function(){return function(){var e=a.current;null!=e&&function(e){e.removeAttribute("src"),Array.from(e.children).forEach((function(e){e instanceof HTMLSourceElement&&(e.removeAttribute("src"),e.removeAttribute("type")),e instanceof HTMLImageElement&&e.removeAttribute("src")}));try{e.load()}catch(e){}}(e)}}),[]),r.useLayoutEffect((function(){return"function"==typeof t?(t(null),t(a.current)):null!=t&&(t.current=a.current),function(){"function"==typeof t?t(null):null!=t&&(t.current=null)}}),[t,a]),r.createElement("video",o({ref:a},n))};i.displayName="Video";var l=r.forwardRef((function(e,t){return r.createElement(i,o({},e,{externalRef:t}))}));t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchPremiumSubscriptions=function(e){return c.apply(this,arguments)},t.fetchUserPremiumGuildSubscriptions=function(){return p.apply(this,arguments)},t.fetchUserPremiumGuildSubscriptionSlots=v,t.fetchPremiumSubscriptionCooldown=function(){return m.apply(this,arguments)},t.subscribeToGuild=function(e,t){return _.apply(this,arguments)},t.unsubscribeFromGuild=function(e,t){return h.apply(this,arguments)},t.cancelUserPremiumGuildSubscriptionSlot=function(e){return E.apply(this,arguments)},t.uncancelUserPremiumGuildSubscriptionSlot=function(e){return g.apply(this,arguments)};var r=s(n(14)),a=s(n(2)),o=n(275),i=s(n(6047)),l=s(n(1195)),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){d(o,r,a,i,l,"next",e)}function l(e){d(o,r,a,i,l,"throw",e)}i(void 0)}))}}function c(){return(c=f(regeneratorRuntime.mark((function e(t){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.get({url:u.Endpoints.GUILD_PREMIUM_SUBSCRIPTIONS(t),oldFormErrors:!0});case 2:return n=e.sent,o=n.body.map((function(e){return i.default.createFromServer(e)})),a.default.dispatch({type:u.ActionTypes.GUILD_PREMIUM_SUBSCRIPTIONS_FETCH_SUCCESS,guildId:t,subscriptions:o}),e.abrupt("return",o);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(){return(p=f(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.get({url:u.Endpoints.USER_GUILD_PREMIUM_SUBSCRIPTIONS,oldFormErrors:!0});case 2:return t=e.sent,n=t.body.map((function(e){return i.default.createFromServer(e)})),a.default.dispatch({type:u.ActionTypes.GUILD_USER_PREMIUM_SUBSCRIPTIONS_FETCH_SUCCESS,subscriptions:n}),e.abrupt("return",n);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(){return y.apply(this,arguments)}function y(){return(y=f(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.get({url:u.Endpoints.USER_PREMIUM_GUILD_SUBSCRIPTION_SLOTS,oldFormErrors:!0});case 2:return t=e.sent,n=t.body.map((function(e){return l.default.createFromServer(e)})),a.default.dispatch({type:u.ActionTypes.USER_PREMIUM_GUILD_SUBSCRIPTION_SLOTS_FETCH_SUCCESS,userPremiumGuildSubscriptionSlots:n}),e.abrupt("return",n);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function m(){return(m=f(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r.default.get({url:u.Endpoints.GUILD_PREMIUM_SUBSCRIPTION_COOLDOWN,oldFormErrors:!0});case 3:return t=e.sent,n=t.body.ends_at,a.default.dispatch({type:u.ActionTypes.GUILD_PREMIUM_SUBSCRIPTIONS_COOLDOWN_FETCH_SUCCESS,endsAt:n}),e.abrupt("return",n);case 9:if(e.prev=9,e.t0=e.catch(0),404!==e.t0.status){e.next=16;break}return a.default.dispatch({type:u.ActionTypes.GUILD_PREMIUM_SUBSCRIPTIONS_COOLDOWN_FETCH_SUCCESS,endsAt:null}),e.abrupt("return",null);case 16:throw new o.PremiumGuildSubscriptionError(e.t0);case 17:case"end":return e.stop()}}),e,null,[[0,9]])})))).apply(this,arguments)}function _(){return(_=f(regeneratorRuntime.mark((function e(t,n){var l,s,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a.default.dispatch({type:u.ActionTypes.GUILD_PREMIUM_SUBSCRIBE_START}),e.prev=1,e.next=4,r.default.put({url:u.Endpoints.GUILD_PREMIUM_SUBSCRIPTIONS(t),body:{user_premium_guild_subscription_slot_ids:n},oldFormErrors:!0});case 4:return l=e.sent,s=Array.isArray(l.body)?l.body.map(i.default.createFromServer):[i.default.createFromServer(l.body)],a.default.dispatch({type:u.ActionTypes.GUILD_PREMIUM_SUBSCRIBE_SUCCESS,subscriptions:s}),v(),e.abrupt("return",s);case 11:throw e.prev=11,e.t0=e.catch(1),d=new o.PremiumGuildSubscriptionError(e.t0),a.default.dispatch({type:u.ActionTypes.GUILD_PREMIUM_SUBSCRIBE_FAIL,error:d}),d;case 16:case"end":return e.stop()}}),e,null,[[1,11]])})))).apply(this,arguments)}function h(){return(h=f(regeneratorRuntime.mark((function e(t,n){var i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a.default.dispatch({type:u.ActionTypes.GUILD_PREMIUM_UNSUBSCRIBE_START}),e.prev=1,e.next=4,r.default.delete({url:u.Endpoints.GUILD_PREMIUM_SUBSCRIPTION(t,n),oldFormErrors:!0});case 4:v(),e.next=12;break;case 7:throw e.prev=7,e.t0=e.catch(1),i=new o.PremiumGuildSubscriptionError(e.t0),a.default.dispatch({type:u.ActionTypes.GUILD_PREMIUM_UNSUBSCRIBE_FAIL,error:i}),i;case 12:a.default.dispatch({type:u.ActionTypes.GUILD_PREMIUM_UNSUBSCRIBE_SUCCESS,subscriptionId:n});case 13:case"end":return e.stop()}}),e,null,[[1,7]])})))).apply(this,arguments)}function E(){return(E=f(regeneratorRuntime.mark((function e(t){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.post({url:u.Endpoints.USER_PREMIUM_GUILD_SUBSCRIPTION_SLOT_CANCEL(t),oldFormErrors:!0});case 2:return n=e.sent,o=l.default.createFromServer(n.body),a.default.dispatch({type:u.ActionTypes.USER_PREMIUM_GUILD_SUBSCRIPTION_SLOT_UPDATE_SUCCESS,userPremiumGuildSubscriptionSlot:o}),e.abrupt("return",o);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(){return(g=f(regeneratorRuntime.mark((function e(t){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.post({url:u.Endpoints.USER_PREMIUM_GUILD_SUBSCRIPTION_SLOT_UNCANCEL(t),oldFormErrors:!0});case 2:return n=e.sent,o=l.default.createFromServer(n.body),a.default.dispatch({type:u.ActionTypes.USER_PREMIUM_GUILD_SUBSCRIPTION_SLOT_UPDATE_SUCCESS,userPremiumGuildSubscriptionSlot:o}),e.abrupt("return",o);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(3)),a=c(n(28)),o=c(n(2)),i=n(1148),l=c(n(5991)),u=c(n(11)),s=c(n(36)),d=c(n(39)),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y={lastViewedPath:null},m=y,_=f.Routes.ME;function h(e){if(u.default.isGuest()){if("guilds"in e&&null!=e.guilds&&1===e.guilds.length){var t=e.guilds[0].id;return _=f.Routes.CHANNEL(t,s.default.getChannelId(t)),!0}return!1}var n=f.Routes.ME,r=i.ExperimentStore.getUserExperimentDescriptor(i.Experiments.KILL_LANDING_PAGE);return null!=r&&((0,i.trackExposureToExperiment)(l.default.id,r),r.bucket===i.ExperimentBuckets.TREATMENT_1&&(n=f.Routes.ME)),n!==_&&(_=n,!0)}var E=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var a,o,i,l=r.prototype;return l.initialize=function(e){var t;void 0===e&&(e=y),this.waitFor(d.default,u.default,s.default),m=null!==(t=e)&&void 0!==t?t:y},l.getState=function(){return m},a=r,(o=[{key:"defaultRoute",get:function(){return _}},{key:"fallbackRoute",get:function(){return f.Routes.ME}}])&&p(a.prototype,o),i&&p(a,i),r}(r.default.PersistedStore);E.persistKey="DefaultRouteStore",E.migrations=[function(){var e=a.default.get("LAST_VIEWED_PATH",null);return a.default.remove("LAST_VIEWED_PATH"),{lastViewedPath:e}}];var g=new E(o.default,{CONNECTION_OPEN:h,CURRENT_USER_UPDATE:h,USER_SETTINGS_UPDATE:h,SAVE_LAST_ROUTE:function(e){var t=e.path;return m.lastViewedPath=t,!0}});t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=b(n(0)),o=n(3),i=T(n(473)),l=T(n(6030)),u=T(n(5850)),s=n(5949),d=n(42),f=T(n(12)),c=T(n(161)),p=T(n(1147)),v=T(n(29)),y=T(n(5828)),m=T(n(5694)),_=T(n(5686)),h=n(41),E=b(n(96)),g=n(5688),S=n(1),O=T(n(6)),I=T(n(6103));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(){return(N=Object.assign||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}).apply(this,arguments)}function A(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function P(e){var t=(0,o.useStateFromStores)([f.default],(function(){return f.default.getNullableCurrentUser()})),n=(0,o.useStateFromStores)([c.default],(function(){return c.default.isFocused()})),r=(0,o.useStateFromStores)([p.default],(function(){return p.default.getPremiumTypeSubscription()})),T=e.isGift,C=e.subscriptionTier,b=e.onClick,P=e.size,R=e.className,L=e.trialId,D=e.isTrialCTA,w=e.buttonText,j=e.postSuccessGuild,k=e.onSubscribeModalClose,U=e.premiumModalAnalyticsLocation,G=A(e,["isGift","subscriptionTier","onClick","size","className","trialId","isTrialCTA","buttonText","postSuccessGuild","onSubscribeModalClose","premiumModalAnalyticsLocation"]),F=function(e){if(e.preventDefault(),null!=t){if(b&&b(e),(null==r?void 0:r.status)===S.SubscriptionStatusTypes.ACCOUNT_HOLD)return(0,s.trackPremiumSettingsPaneOpened)(),i.default.open(S.UserSettingsSections.PREMIUM),void(null==k||k(!1));!function(e,t,n,r,o,i,s,d){if(e)if(t){var f=S.AnalyticsObjectTypes.BUY;null!=o?f=S.AnalyticsObjectTypes.TRIAL:n&&(f=S.AnalyticsObjectTypes.GIFT),(0,g.openPremiumSelectPlanModal)({isGift:n,initialPlanId:null,subscriptionTier:r,analyticsLocation:N({object:S.AnalyticsObjects.BUTTON_CTA,objectType:f},d),trialId:o,postSuccessGuild:i,onClose:s})}else(0,h.openModal)((function(e){var t=e.onClose,n=A(e,["onClose"]);return a.createElement(u.default,N({},n,{onClose:t}))}));else(0,h.openModal)((function(e){var t=e.onClose,n=A(e,["onClose"]);return a.createElement(l.default,N({},n,{onClose:t}))}))}(t.isClaimed(),t.verified,T,C,L,j,k,U)}else(0,d.transitionTo)(S.Routes.LOGIN)};if(D)return a.createElement(v.default,N({size:P,className:R,innerClassName:I.default.premiumSubscribeButton,look:v.default.Looks.INVERTED,onClick:F},G),M("span",{},void 0,O.default.Messages.PREMIUM_TRIAL_CTA_BUTTON));if(T)return a.createElement(v.default,N({size:P,className:R,innerClassName:I.default.giftButton,color:v.default.Colors.PRIMARY,onClick:F},G),M(m.default,{className:I.default.giftIcon}),M("span",{},void 0,O.default.Messages.PREMIUM_GIFTING_BUTTON));var B=O.default.Messages.APPLICATION_STORE_GET_PREMIUM,H=null!=r?(0,E.getPremiumPlan)(r):null,x=null!=H?E.default.getPremiumType(H.planId):null,V=C===S.PremiumSubscriptionSKUs.TIER_2&&x===S.PremiumTypes.TIER_1;return V&&(B=O.default.Messages.BILLING_SWITCH_PLAN_UPGRADE),a.createElement(y.default,N({disabled:null!=r&&r.status!==S.SubscriptionStatusTypes.ACCOUNT_HOLD&&!E.default.isNoneSubscription(r.planId)&&!V,onClick:F,innerClassName:I.default.premiumSubscribeButton,color:C===S.PremiumSubscriptionSKUs.TIER_1?v.default.Colors.PRIMARY:v.default.Colors.GREEN,size:P,className:R,pauseAnimation:!n},G),M(_.default,{className:I.default.premiumIcon}),M("span",{className:I.default.buttonText},void 0,null!=w?w:B))}P.displayName="PremiumSubscribeButton";var R=P;t.default=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.allowExternalEmojiForIntention=t.getStringForEmojiCategory=t.trackEmojiSearchEmpty=t.trackEmojiSearchSelect=t.trackEmojiSearchResultsViewed=t.trackEmojiSearchStart=t.trackPremiumSettingsPaneOpened=t.computeCategory=t.useEmojiCategories=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=v(n(8)),o=n(3),i=v(n(106)),l=v(n(249)),u=v(n(361)),s=v(n(13)),d=v(n(261)),f=n(1168),c=n(1),p=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}t.useEmojiCategories=function(e,t){var n=m(e),i=null==t?void 0:t.getGuildId(),s=(0,o.useStateFromStoresArray)([l.default],(function(){var e=l.default.getDisambiguatedEmojiContext(i);return[e,e.favoriteEmojis]})),c=s[0],v=s[1];return r.useMemo((function(){var r=c.getFrequentlyUsedEmojis(),o=u.default.getFlattenedGuilds(),s=c.getGroupedCustomEmoji(),y=[];return a.default.each(o,(function(n){if(void 0!==s[n.id]){if(null!=t){var r=null==s?void 0:s[n.id].filter((function(n){return!d.default.isEmojiFiltered(n,t,e)}));if(null==r||0===r.length)return}var a={type:f.EmojiCategoryTypes.GUILD,guild:n};n.id!==i?y.push(a):y.unshift(a)}})),l.default.categories.reduce((function(e,t){if(t===f.RECENT)return 0===r.length?e:[].concat(e,[{type:f.EmojiCategoryTypes.RECENT,id:t,name:p.default.Messages.EMOJI_CATEGORY_RECENT}]);if(t===f.EmojiCategories.FAVORITES)return 0===v.length?e:[].concat(e,[{type:f.EmojiCategoryTypes.FAVORITES,id:t,name:p.default.Messages.EMOJI_CATEGORY_FAVORITES}]);if(t===f.CUSTOM){var a=[].concat(y);return n||(a=y.filter((function(e){return e.guild.id===i}))),[].concat(e,a)}return[].concat(e,[{type:f.EmojiCategoryTypes.UNICODE,id:t,name:t}])}),[])}),[c,v,t,i,n,e])};t.computeCategory=function(e,t,n){var r=a.default.partition(t.filter((function(t){return!d.default.isEmojiFiltered(t,e,n)})),(function(t){return!d.default.isEmojiPremiumLocked(t,e,n)})),o=r[0],i=r[1];return[].concat(o,i).map((function(t){return[t,d.default.isEmojiPremiumLocked(t,e,n)]}))};t.trackPremiumSettingsPaneOpened=function(e){var t=null!=(null==e?void 0:e.getGuildId());s.default.track(c.AnalyticEvents.PREMIUM_PROMOTION_OPENED,{location_page:t?c.AnalyticsPages.GUILD_CHANNEL:c.AnalyticsPages.DM_CHANNEL,location_section:null!=e?c.AnalyticsSections.EMOJI_PICKER_POPOUT:c.AnalyticsSections.CUSTOM_STATUS_MODAL})};t.trackEmojiSearchStart=function(e){i.default.trackWithMetadata(c.AnalyticEvents.SEARCH_STARTED,{search_type:c.SearchTypes.EMOJI,location:e})};t.trackEmojiSearchResultsViewed=function(e,t,n){i.default.trackWithMetadata(c.AnalyticEvents.SEARCH_RESULT_VIEWED,{search_type:c.SearchTypes.EMOJI,total_results:e,num_results_locked:t,location:n})};t.trackEmojiSearchSelect=function(e){i.default.trackWithMetadata(c.AnalyticEvents.SEARCH_RESULT_SELECTED,{search_type:c.SearchTypes.EMOJI,location:e})};t.trackEmojiSearchEmpty=function(e){i.default.trackWithMetadata(c.AnalyticEvents.SEARCH_RESULT_EMPTY,{search_type:c.SearchTypes.EMOJI,location:e})};t.getStringForEmojiCategory=function(e){switch(e){case f.EmojiCategories.RECENT:return p.default.Messages.EMOJI_CATEGORY_RECENT;case f.EmojiCategories.FAVORITES:return p.default.Messages.EMOJI_CATEGORY_FAVORITES;case f.EmojiCategories.ACTIVITY:return p.default.Messages.EMOJI_CATEGORY_ACTIVITY;case f.EmojiCategories.FLAGS:return p.default.Messages.EMOJI_CATEGORY_FLAGS;case f.EmojiCategories.FOOD:return p.default.Messages.EMOJI_CATEGORY_FOOD;case f.EmojiCategories.NATURE:return p.default.Messages.EMOJI_CATEGORY_NATURE;case f.EmojiCategories.OBJECTS:return p.default.Messages.EMOJI_CATEGORY_OBJECTS;case f.EmojiCategories.PEOPLE:return p.default.Messages.EMOJI_CATEGORY_PEOPLE;case f.EmojiCategories.SYMBOLS:return p.default.Messages.EMOJI_CATEGORY_SYMBOLS;case f.EmojiCategories.TRAVEL:return p.default.Messages.EMOJI_CATEGORY_TRAVEL;case f.EmojiCategories.PREMIUM_UPSELL:return p.default.Messages.EMOJI_CATEGORY_PREMIUM_UPSELL;default:return e}};var m=function(e){return e!==c.EmojiIntention.COMMUNITY_CONTENT&&e!==c.EmojiIntention.GUILD_STICKER_RELATED_EMOJI};t.allowExternalEmojiForIntention=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("polygon",{points:"0 0 24 0 24 24 0 24"});function f(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,f=void 0===l?"currentColor":l,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("polygon",{className:c,fill:f,fillRule:"nonzero",points:"8.47 2 6.12 4.35 13.753 12 6.12 19.65 8.47 22 18.47 12"}),d))}f.displayName="RightCaret"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fill:d,className:f,d:"M20 11.1111H12.8889V4H11.1111V11.1111H4V12.8889H11.1111V20H12.8889V12.8889H20V11.1111Z"}))}d.displayName="Plus"},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(29)),i=n(35),l=y(n(47)),u=y(n(24)),s=y(n(13)),d=y(n(5948)),f=n(1),c=y(n(6)),p=y(n(6038)),v=y(n(6039));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e){switch(e){case f.PremiumTypes.TIER_2:return f.PremiumSubscriptionSKUs.TIER_2;case f.PremiumTypes.TIER_1:return f.PremiumSubscriptionSKUs.TIER_1;default:return null}}function E(e){var t=e.title,n=e.type,r=e.premiumType,y=e.analyticsSource,m=e.analyticsLocation,E=e.body,g=e.artURL,S=e.transitionState,O=e.onClose,I=e.onSubscribeClick,T=e.onSecondaryClick,C=e.secondaryCTA,b=e.showNewBadge,M=void 0!==b&&b;return a.useEffect((function(){s.default.track(f.AnalyticEvents.PREMIUM_UPSELL_VIEWED,{type:n,source:y})}),[]),_(i.ModalRoot,{className:p.default.root,"aria-label":t,transitionState:S},void 0,_("div",{className:p.default.artContainer},void 0,_("img",{className:p.default.art,alt:"",src:g}),M?_("img",{className:p.default.sparkleBadge,alt:"",src:v.default}):null),_(i.ModalContent,{className:p.default.content},void 0,_(l.default,{className:p.default.header,size:l.default.Sizes.SIZE_24},void 0,t),_(u.default,{size:u.default.Sizes.SIZE_16},void 0,E)),_(i.ModalFooter,{className:p.default.footer},void 0,_("div",{className:p.default.primaryActions},void 0,null!=C?_(o.default,{className:p.default.secondaryAction,onClick:T,size:o.default.Sizes.SMALL,color:o.default.Colors.PRIMARY,look:o.default.Looks.LINK},void 0,C):null,_(d.default,{premiumModalAnalyticsLocation:m,subscriptionTier:h(r),size:o.default.Sizes.SMALL,color:o.default.Colors.GREEN,onClick:function(){null==I||I(),O()}})),_(o.default,{onClick:O,size:o.default.Sizes.SMALL,color:o.default.Colors.PRIMARY,look:o.default.Looks.LINK},void 0,c.default.Messages.BACK)))}E.displayName="PremiumUpsellModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fill:d,className:f,d:"M12 2C6.477 2 2 6.477 2 12C2 17.522 6.477 22 12 22C17.523 22 22 17.522 22 12C22 6.477 17.523 2 12 2ZM8 6C9.104 6 10 6.896 10 8C10 9.105 9.104 10 8 10C6.896 10 6 9.105 6 8C6 6.896 6.896 6 8 6ZM18 14C18 16.617 15.14 19 12 19C8.86 19 6 16.617 6 14V13H18V14ZM16 10C14.896 10 14 9.105 14 8C14 6.896 14.896 6 16 6C17.104 6 18 6.896 18 8C18 9.105 17.104 10 16 10Z"}))}d.displayName="EmojiSmile"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{d:"M19 1C19.552 1 20 1.447 20 2V3L23 2V6L20 5V6C20 6.553 19.552 7 19 7H15C14.448 7 14 6.553 14 6V2C14 1.447 14.448 1 15 1H19Z",className:f,fill:d}),s("path",{d:"M20 13.5V9H22V15.5C22 16.604 21.103 17.5 20 17.5H13V19.5H17V21.5H7V19.5H11V17.5H4C2.897 17.5 2 16.604 2 15.5V4.5C2 3.397 2.897 2.5 4 2.5H12V4.5H4V13.5H20Z",className:f,fill:d}))}d.displayName="Stream"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u,s,d,f,c=o.FormStates.CLOSED,p={};function v(){c=o.FormStates.OPEN,p={}}var y=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var a=r.prototype;return a.getFormState=function(){return c},a.getErrors=function(){return p},a.showNotice=function(){return void 0!==u||void 0!==s||void 0!==d||void 0!==f},a.getPendingAvatar=function(){return u},a.getPendingBanner=function(){return s},a.getPendingBio=function(){return d},a.getPendingBannerColor=function(){return f},a.getAllPending=function(){return{pendingAvatar:u,pendingBanner:s,pendingBio:d,pendingBannerColor:f}},r}(r.default.Store))(a.default,{USER_SETTINGS_ACCOUNT_INIT:function(e){return v()},USER_SETTINGS_MODAL_INIT:function(e){return v()},USER_SETTINGS_ACCOUNT_SUBMIT_SUCCESS:function(e){return v()},USER_SETTINGS_MODAL_SET_SECTION:function(e){return e.section===o.UserSettingsSections.ACCOUNT&&v()},USER_SETTINGS_ACCOUNT_CLOSE:function(e){return c=o.FormStates.CLOSED,void(p={})},USER_SETTINGS_ACCOUNT_SUBMIT:function(e){return c=o.FormStates.SUBMITTING,void(p={})},USER_SETTINGS_ACCOUNT_SUBMIT_FAILURE:function(e){if(c!==o.FormStates.SUBMITTING)return!1;c=o.FormStates.OPEN,p=e.errors||{}},USER_SETTINGS_ACCOUNT_SET_PENDING_AVATAR:function(e){var t=e.avatar;u=t},USER_SETTINGS_ACCOUNT_SET_PENDING_BANNER:function(e){var t=e.banner;s=t},USER_SETTINGS_ACCOUNT_SET_PENDING_BIO:function(e){var t=e.bio;d=t},USER_SETTINGS_ACCOUNT_SET_PENDING_BANNER_COLOR:function(e){var t=e.color;f=t},USER_SETTINGS_RESET_ALL_PENDING:function(e){return u=void 0,s=void 0,d=void 0,void(f=void 0)}});t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sizes=t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(5943),i=(r=n(279))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n){return e.getAvatarURL(n,t)}var d=a.memo((function(e){var t=e.user,n=e.size,r=void 0===n?i.default.Sizes.SIZE_32:n,l=e.animate,d=void 0!==l&&l,f=e["aria-hidden"],c=void 0!==f&&f,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["user","size","animate","aria-hidden"]),v=a.useContext(o.GuildIDContext);return a.createElement(i.default,u({src:s(t,d,v),size:r,"aria-label":c?void 0:t.username,"aria-hidden":c},p))}));t.default=d;var f=i.default.Sizes;t.Sizes=f},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l={userTrialOffersFetchedDate:{},userTrialOffers:{}},u=l;var s=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var a=r.prototype;return a.initialize=function(e){u=e||l},a.getUserTrialOffer=function(e){return u.userTrialOffers[e]},a.hasFetchedOffer=function(e){return null!=u.userTrialOffersFetchedDate[e]},a.shouldFetchOffer=function(e){var t=u.userTrialOffersFetchedDate[e];return null==t||Date.now()-1728e5>t},a.getUnacknowledgedOffers=function(){return Object.values(u.userTrialOffers).filter((function(e){return null==e.expires_at}))},a.getState=function(){return u},r}(r.default.PersistedStore);s.persistKey="UserTrialStore";var d=new s(a.default,{BILLING_USER_TRIAL_OFFER_FETCH_SUCCESS:function(e){var t=e.trialId,n=e.userTrialOffer;null!=n&&(u.userTrialOffers[t]=n),u.userTrialOffersFetchedDate[t]=Date.now()},BILLING_USER_TRIAL_OFFER_ACKNOWLEDGED_SUCCESS:function(e){var t=e.userTrialOffer;u.userTrialOffers[t.trial_id]=t,u.userTrialOffersFetchedDate[t.trial_id]=Date.now()},LOGOUT:function(e){return u.userTrialOffers={},void(u.userTrialOffersFetchedDate={})}});t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveGiftCode=v,t.default=void 0;var r=d(n(14)),a=d(n(2)),o=d(n(1181)),i=d(n(71)),l=n(402),u=d(n(478)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(){return(f=Object.assign||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}).apply(this,arguments)}function c(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){c(o,r,a,i,l,"next",e)}function l(e){c(o,r,a,i,l,"throw",e)}i(void 0)}))}}function v(e,t,n){return y.apply(this,arguments)}function y(){return(y=p(regeneratorRuntime.mark((function e(t,n,r){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===n&&(n=!1),void 0===r&&(r=!1),a.default.dispatch({type:s.ActionTypes.GIFT_CODE_RESOLVE,code:t}),e.prev=3,e.next=6,(0,l.resolveGiftCode)(t,n,r);case 6:if(null==(o=e.sent).application_id||o.application_id===s.PREMIUM_SUBSCRIPTION_APPLICATION){e.next=17;break}if(null!=i.default.getGame(o.application_id)){e.next=17;break}return e.prev=10,e.next=13,u.default.fetchApplication(o.application_id);case 13:e.next=17;break;case 15:e.prev=15,e.t0=e.catch(10);case 17:return a.default.dispatch({type:s.ActionTypes.GIFT_CODE_RESOLVE_SUCCESS,giftCode:o}),e.abrupt("return",{giftCode:o});case 21:throw e.prev=21,e.t1=e.catch(3),a.default.dispatch({type:s.ActionTypes.GIFT_CODE_RESOLVE_FAILURE,code:t,error:e.t1}),e.t1;case 25:case"end":return e.stop()}}),e,null,[[3,21],[10,15]])})))).apply(this,arguments)}var m=f({resolveGiftCode:v,fetchUserGiftCodesForSKU:function(e,t){return p(regeneratorRuntime.mark((function n(){var o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return void 0===t&&(t=null),a.default.dispatch({type:s.ActionTypes.GIFT_CODES_FETCH,skuId:e,subscriptionPlanId:t}),n.prev=2,n.next=5,r.default.get({url:s.Endpoints.USER_GIFT_CODES,query:{sku_id:e,subscription_plan_id:t},oldFormErrors:!0});case 5:o=n.sent,a.default.dispatch({type:s.ActionTypes.GIFT_CODES_FETCH_SUCCESS,giftCodes:o.body,skuId:e,subscriptionPlanId:t}),n.next=12;break;case 9:n.prev=9,n.t0=n.catch(2),a.default.dispatch({type:s.ActionTypes.GIFT_CODES_FETCH_FAILURE,skuId:e,subscriptionPlanId:t});case 12:case"end":return n.stop()}}),n,null,[[2,9]])})))()},createGiftCode:function(e,t){return p(regeneratorRuntime.mark((function n(){var o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return void 0===t&&(t=null),a.default.dispatch({type:s.ActionTypes.GIFT_CODE_CREATE_START,skuId:e,subscriptionPlanId:t}),n.prev=2,n.next=5,r.default.post({url:s.Endpoints.USER_GIFT_CODE_CREATE,body:{sku_id:e,subscription_plan_id:t},oldFormErrors:!0});case 5:return o=n.sent,a.default.dispatch({type:s.ActionTypes.GIFT_CODE_CREATE_SUCCESS,giftCode:o.body}),n.abrupt("return",o.body);case 10:n.prev=10,n.t0=n.catch(2),a.default.dispatch({type:s.ActionTypes.GIFT_CODE_CREATE_FAILURE,skuId:e,subscriptionPlanId:t});case 13:case"end":return n.stop()}}),n,null,[[2,10]])})))()},revokeGiftCode:function(e){return p(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a.default.dispatch({type:s.ActionTypes.GIFT_CODE_REVOKE,code:e}),t.prev=1,t.next=4,r.default.delete({url:s.Endpoints.USER_GIFT_CODE_REVOKE(e),oldFormErrors:!0});case 4:a.default.dispatch({type:s.ActionTypes.GIFT_CODE_REVOKE_SUCCESS,code:e}),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(1),a.default.dispatch({type:s.ActionTypes.GIFT_CODE_REVOKE_FAILURE,code:e});case 10:case"end":return t.stop()}}),t,null,[[1,7]])})))()},openNativeGiftCodeModal:function(e){o.default.openNativeAppModal(e,s.RPCCommands.GIFT_CODE_BROWSER)}},n(6046).default);t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.InviteResolvingHeader=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(481),i=E(n(379)),l=E(n(31)),u=E(n(162)),s=E(n(89)),d=E(n(477)),f=E(n(375)),c=E(n(149)),p=n(475),v=E(n(248)),y=E(n(24)),m=n(1),_=E(n(6)),h=E(n(6072));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var O=function(){return S(a.Fragment,{},void 0,S(p.Avatar,{src:null,size:p.Avatar.Sizes.DEPRECATED_SIZE_100,className:h.default.avatar}),S(p.SubTitle,{},void 0,_.default.Messages.INSTANT_INVITE_YOU_HAVE_BEEN_INVITED_TO_JOIN),S(p.Title,{className:h.default.inviteResolvingGuildName},void 0,_.default.Messages.LOADING))};t.InviteResolvingHeader=O,O.displayName="InviteResolvingHeader";var I=function(e){var t=e.guild,n=e.user,r=e.application;return r?S(d.default,{className:h.default.appIcon,game:r,size:h.default.appIconSize}):n?S(p.Avatar,{src:null!=n?n.getAvatarURL(void 0):null,size:p.Avatar.Sizes.SIZE_80,className:h.default.avatar}):t?S(v.default,{mask:v.default.Masks.SQUIRCLE,width:64,height:64,className:h.default.guildIcon},void 0,S(p.GuildIcon,{guild:t,size:p.GuildIcon.Sizes.LARGER,animate:!0})):null},T=function(e){var t=e.invite,n=e.disableUser,r=void 0!==n&&n,d=e.error,v=e.description,E=e.flatActivityCount,g=void 0!==E&&E;if(null==t)return null;var O,T,C,b=null!=t.guild?new u.default(t.guild):null,M=null!=t.channel?new l.default(t.channel):null,N=null!=t.target_application?new i.default(t.target_application):null,A=r||null==t.inviter?null:new s.default(t.inviter),P=!(null!=t.approximate_member_count&&t.approximate_member_count>100||null!=b&&b.hasFeature(m.GuildFeatures.COMMUNITY))&&A,R=null;if(null!=b)R=null==A?_.default.Messages.INSTANT_INVITE_YOU_HAVE_BEEN_INVITED_TO_JOIN:_.default.Messages.AUTH_MESSAGE_INVITED_BY.format({username:A.username}),t.target_type===o.InviteTargetTypes.STREAM&&null!=t.target_user&&(R=_.default.Messages.AUTH_MESSAGE_INVITED_TO_STREAM.format({username:t.target_user.username})),t.target_type===o.InviteTargetTypes.EMBEDDED_APPLICATION&&null!=t.target_application&&(R=null!=A?_.default.Messages.AUTH_MESSAGE_INVITED_TO_PLAY_USERNAME.format({username:A.username}):_.default.Messages.AUTH_MESSAGE_INVITED_TO_PLAY),P&&null==N&&(O=S(p.GuildIcon,{guild:b,size:p.GuildIcon.Sizes.SMALL})),T=b.name,null!=N&&(T=N.name,null==v&&(C=S("div",{},void 0,S(p.SubTitle,{className:h.default.appIn},void 0,_.default.Messages.EMBEDDED_ACTIVITIES_INVITE_IN),S("div",{className:h.default.guildContainer},void 0,S(p.GuildIcon,{guild:b,size:p.GuildIcon.Sizes.SMALL}),S(y.default,{className:h.default.appGuildName,color:y.default.Colors.CUSTOM,tag:"span",size:y.default.Sizes.SIZE_24},void 0,b.name)))));else if(null!=M){if(null==A)throw new Error("no inviter in group DM invite");var L=A.username;M.name?(R=_.default.Messages.AUTH_MESSAGE_INVITED_BY.format({username:L}),T=M.name,null!=M.icon&&(O=S(p.ChannelIcon,{channel:M,size:p.Avatar.Sizes.SIZE_32}))):(R=_.default.Messages.INSTANT_INVITE_YOU_HAVE_BEEN_INVITED_TO_JOIN_GROUP_DM,T=L)}return S("div",{className:h.default.container},void 0,S(I,{application:N,guild:b,user:P?A:null}),d?a.createElement(a.Fragment,null,S(p.SubTitle,{},void 0,_.default.Messages.INVITE_MODAL_ERROR_TITLE),S(p.Title,{},void 0,d)):a.createElement(a.Fragment,null,S(p.SubTitle,{},void 0,R),S(p.Title,{className:h.default.title},void 0,null!=b?S(f.default,{guild:b,className:h.default.guildBadge,tooltipPosition:c.default.Positions.LEFT}):null,O,T)),v&&S("p",{className:h.default.description},void 0,v),C,null==N?S(p.ActivityCount,{className:h.default.activityCount,online:t.approximate_presence_count,total:t.approximate_member_count,flat:g}):null)};T.displayName="InviteHeader";var C=T;t.default=C},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;c(n(0));var r,a,o=n(475),i=n(296),l=d(n(5698)),u=c(n(5967)),s=d(n(6065));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=((r={})[i.InternalTemplateCodes.CLASSROOM]=n(6016),r[i.InternalTemplateCodes.LOCAL_COMMUNITIES]=n(6017),r[i.InternalTemplateCodes.CREATORS_HOBBIES]=n(6018),r[i.InternalTemplateCodes.GLOBAL_COMMUNITIES]=n(6019),r[i.InternalTemplateCodes.FRIENDS_FAMILY]=n(6020),r[i.InternalTemplateCodes.STUDY_GROUPS]=n(6021),r[i.InternalTemplateCodes.CREATE_FROM_SCRATCH]=n(6022),r[i.InternalTemplateCodes.CAMPUS_CLUBS]=n(6023),r[i.InternalTemplateCodes.LEAGUE_CLUBS]=n(6024),r[i.InternalTemplateCodes.GITHUB_HACKATHON]=n(6025),r);function y(e){var t=e.headerId,n=e.guildTemplate,r=n.code,a=v[r];if(null!=a){var d,f=(0,l.default)(r),c=f.header,y=f.description,m=f.author;return p("div",{},void 0,p("img",{className:s.default.image,src:a,alt:""}),p(o.Title,{className:s.default.header,id:t},void 0,c),p(o.SubTitle,{},void 0,y),n.state===i.GuildTemplateStates.RESOLVED?p(u.UsagePill,{className:s.default.usagePill,count:null!==(d=n.usageCount)&&void 0!==d?d:0,verifiedName:m}):null)}return p(u.default,{pillClassName:s.default.usagePill,guildTemplate:n,tall:!0})}y.displayName="GuildTemplateAuthBody"},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.shouldShowCountryCodeSelector=function(e,t){if(e===r.PHONE)return!t.startsWith("+");if(e===r.EMAIL)return!1;if(t.length<3)return!1;return a.test(t)},t.getPhoneOrEmail=function(e){return/^\+\d/.test(e)?r.PHONE:r.EMAIL},t.PhoneOrEmailSelectorForceMode=void 0,t.PhoneOrEmailSelectorForceMode=r,function(e){e.PHONE="phone",e.EMAIL="email"}(r||(t.PhoneOrEmailSelectorForceMode=r={}));var a=/^[-() \d]+$/},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsagePill=O,t.default=function(e){var t=e.guildTemplate,n=e.error,r=e.tall,a=e.pillClassName;if(n)return h("div",{className:v.default.container},void 0,h(u.Title,{},void 0,p.default.Messages.INVITE_MODAL_ERROR_TITLE),h(u.SubTitle,{},void 0,n));if(t.state===d.GuildTemplateStates.RESOLVING)return h("div",{className:v.default.container},void 0,I);var i=(0,c.default)(t.code).header;return r?h("div",{className:v.default.container},void 0,h(u.Title,{className:v.default.title},void 0,i),h(u.SubTitle,{className:(0,o.default)(v.default.subtitle,y.default.marginTop2)},void 0,p.default.Messages.GUILD_TEMPLATE_BASED_ON),h(u.Title,{className:(0,o.default)(v.default.title,v.default.userText)},void 0,t.name),t.description&&h(u.SubTitle,{className:(0,o.default)(v.default.subtitle,v.default.userText,y.default.marginTop8)},void 0,t.description),h(O,{className:a,count:t.usageCount||0,creator:t.creator.username,verifiedName:(0,f.getVerifiedName)(t.code)})):h("div",{className:v.default.container},void 0,h(u.Title,{className:v.default.title},void 0,i),h(u.SubTitle,{className:(0,o.default)(v.default.subtitle,v.default.userText)},void 0,t.name))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(9)),i=m(n(1175)),l=m(n(151)),u=n(475),s=m(n(489)),d=n(296),f=n(6015),c=m(n(5698)),p=m(n(6)),v=m(n(6064)),y=m(n(370));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(){return h(i.default,{className:v.default.verifiedIcon},void 0,h("div",{className:v.default.verifiedCheckContainer},void 0,h(s.default,{className:v.default.verifiedCheck})))}E.displayName="VerifiedIcon";var g=h(E,{});function S(e){var t=e.verified,n=e.text;return t?h("div",{className:v.default.verifiedNameContainer},void 0,g,n):a.createElement(a.Fragment,null,n)}function O(e){var t=e.className,n=e.count,r=e.creator,a=e.verifiedName;return h("div",{className:(0,o.default)(v.default.usagePill,t,v.default.userText)},void 0,null!=r||null!=a?p.default.Messages.GUILD_TEMPLATE_USAGES_BY_CREATOR2.format({usageCount:n,creator:null!=a?a:r,creatorHook:function(e,t){return h(S,{text:e,verified:null!=a},t)}}):p.default.Messages.GUILD_TEMPLATE_USAGES.format({usageCount:n}))}S.displayName="CreatorHook",O.displayName="UsagePill";var I=h(l.default,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,d:"M21.707 20.293L16.314 14.9C17.403 13.504 18 11.799 18 10C18 7.863 17.167 5.854 15.656 4.344C14.146 2.832 12.137 2 10 2C7.863 2 5.854 2.832 4.344 4.344C2.833 5.854 2 7.863 2 10C2 12.137 2.833 14.146 4.344 15.656C5.854 17.168 7.863 18 10 18C11.799 18 13.504 17.404 14.9 16.314L20.293 21.706L21.707 20.293ZM10 16C8.397 16 6.891 15.376 5.758 14.243C4.624 13.11 4 11.603 4 10C4 8.398 4.624 6.891 5.758 5.758C6.891 4.624 8.397 4 10 4C11.603 4 13.109 4.624 14.242 5.758C15.376 6.891 16 8.398 16 10C16 11.603 15.376 13.11 14.242 14.243C13.109 15.376 11.603 16 10 16Z"}))}d.displayName="Search"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CopyInputModes=void 0;var r,a=v(n(0)),o=c(n(9)),i=c(n(88)),l=n(252),u=v(n(29)),s=c(n(55)),d=c(n(6)),f=c(n(6079));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _={DEFAULT:"default",SUCCESS:"success",ERROR:"error"};t.CopyInputModes=_;var h=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).inputRef=a.createRef(),t.containerRef=a.createRef(),t.handleButtonClick=function(){t.select();var e=t.props;(0,e.onCopy)(e.value)},t.handleInputClick=function(){t.select()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var d=r.prototype;return d.select=function(){var e;null===(e=this.inputRef.current)||void 0===e||e.select()},d.renderInput=function(e){var t,n=this.props,r=n.value,i=n.mode;return a.createElement("input",{className:(0,o.default)((0,l.getClass)(f.default,"input",i),(t={},t[f.default.inputHidden]=e,t)),ref:this.inputRef,type:"text",value:r,onClick:this.handleInputClick,readOnly:!0})},d.render=function(){var e,t=this.props,n=t.text,r=t.mode,d=t.hideMessage,c=t.className,p=t.buttonLook,v=null!=d;switch(r){case _.SUCCESS:e=u.ButtonColors.GREEN;break;case _.ERROR:e=u.ButtonColors.RED;break;default:e=this.props.buttonColor}return y(i.default,{focusTarget:this.inputRef,ringTarget:this.containerRef},void 0,a.createElement("div",{className:(0,o.default)((0,l.getClass)(f.default,"copyInput",r),c),ref:this.containerRef},y(s.default,{className:f.default.layout},void 0,y(s.default,{className:f.default.inputWrapper},void 0,this.renderInput(v),v?y("div",{className:f.default.hiddenMessage},void 0,d):null),y(s.default,{shrink:1,grow:0,style:{margin:0}},void 0,y(u.default,{className:f.default.button,onClick:this.handleButtonClick,size:u.ButtonSizes.MIN,color:e,look:p},void 0,n)))))},r}(a.PureComponent);h.displayName="CopyInput",h.defaultProps={text:d.default.Messages.COPY,supportsCopy:!0,buttonColor:u.ButtonColors.GREY,buttonLook:u.ButtonLooks.FILLED,mode:_.DEFAULT},h.Modes=_,h.ButtonColors=u.ButtonColors,h.ButtonLooks=u.ButtonLooks;var E=h;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i,l,u=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),s=c(n(9)),d=c(n(55)),f=c(n(6085));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,r){o||(o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&a)for(var s in a)void 0===t[s]&&(t[s]=a[s]);else t||(t=a||{});return{$$typeof:o,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}!function(e){e.PRIMARY="primary",e.WARNING="warning",e.ERROR="error"}(i||(i={})),function(e){e.SMALL="small",e.LARGE="large",e.NONE="none"}(l||(l={}));var m=((r={})[i.PRIMARY]=f.default.colorPrimary,r[i.WARNING]=f.default.colorWarning,r[i.ERROR]=f.default.colorError,r),_=((a={})[l.SMALL]=f.default.small,a[l.LARGE]=f.default.large,a[l.NONE]=null,a),h=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n),r.prototype.render=function(){var e=this.props,t=e.icon,n=e.color,r=e.children,a=e.iconSize,o=e.className,i=e.iconClassName;return v(d.default,{className:(0,s.default)(f.default.note,m[n],o),align:d.default.Align.CENTER},void 0,v(t,{className:(0,s.default)(f.default.icon,_[a],i)}),v("div",{},void 0,r))},r}(u.PureComponent);h.displayName="PaymentNote",h.Colors=i,h.Sizes=l;var E=h;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("polygon",{points:"0 0 24 0 24 24 0 24"});function f(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,f=void 0===l?"currentColor":l,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("polygon",{className:c,fill:f,fillRule:"nonzero",points:"18.35 4.35 16 2 6 12 16 22 18.35 19.65 10.717 12"}),d))}f.displayName="LeftCaret"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PremiumGuildSubscriptionPurchaseModal=se,t.openPremiumGuildSubscriptionPurchaseModal=function(e){var t=e.analyticsLocation,n=e.guildId,r=e.closeLayer,a=e.onCloseModal,i=e.totalNumberOfSlotsToAssign,l=void 0===i?1:i,u=S.default.getPremiumTypeSubscription();if(null!=u&&u.isPurchasedExternally&&null!=u.paymentGateway)return null!=r&&r(),void f.default.show({title:Y.default.Messages.BILLING_MANAGED_BY_PAYMENT_GATEWAY.format({paymentGatewayName:s.PaymentGatewayToFriendlyName[u.paymentGateway]}),body:Y.default.Messages.PREMIUM_GUILD_PERKS_MODAL_BUTTON_UPGRADE_TO_PREMIUM_EXTERNAL_ERROR.format({paymentGatewayName:s.PaymentGatewayToFriendlyName[u.paymentGateway],subscriptionManagementLink:(0,w.getExternalSubscriptionMethodUrl)(u.paymentGateway,"SUBSCRIPTION_MANAGEMENT")})});var d=(0,R.openModal)((function(e){var i=e.transitionState,u=e.onClose;return Z(o.Elements,{options:W.StripeElementsOptions,stripe:(0,j.ensureStripeV3IsLoaded)()},void 0,Z(se,{transitionState:i,onClose:function(e){u(),null==a||a(e)},analyticsLocation:t,guildId:n,totalNumberOfSlotsToAssign:l,closeGuildPerksModal:r}))}),{onCloseRequest:function(){(0,R.closeModal)(d),null==a||a(!1)}})};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=$();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(377),i=K(n(23)),l=n(276),u=K(n(98)),s=n(92),d=n(3),f=K(n(154)),c=n(287),p=n(5946),v=K(n(473)),y=K(n(5675)),m=K(n(5673)),_=K(n(15)),h=K(n(39)),E=K(n(693)),g=K(n(257)),S=K(n(1147)),O=K(n(5832)),I=K(n(5690)),T=K(n(29)),C=K(n(55)),b=K(n(1164)),M=K(n(151)),N=K(n(149)),A=n(85),P=n(35),R=n(41),L=K(n(13)),D=n(5935),w=n(96),j=n(295),k=n(1249),U=n(692),G=n(1173),F=n(6002),B=K(n(6009)),H=n(5677),x=K(n(6048)),V=n(6004),W=n(1),Y=K(n(6)),z=K(n(6125));function K(e){return e&&e.__esModule?e:{default:e}}function $(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return $=function(){return e},e}function Z(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function q(){return(q=Object.assign||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}).apply(this,arguments)}function X(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function J(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){X(o,r,a,i,l,"next",e)}function l(e){X(o,r,a,i,l,"throw",e)}i(void 0)}))}}var Q=W.SubscriptionPlans.NONE_MONTH;function ee(e){switch(e){case U.Step.PLAN_SELECT:return Y.default.Messages.BILLING_STEP_SELECT_PLAN;case U.Step.PAYMENT_TYPE:return Y.default.Messages.BILLING_STEP_PAYMENT_TYPE;case U.Step.CREDIT_CARD_INFORMATION:return Y.default.Messages.BILLING_STEP_CREDIT_CARD_INFORMATION;case U.Step.PAYPAL_INFORMATION:return Y.default.Messages.BILLING_STEP_PAYPAL;case U.Step.PAYMENT_REQUEST_INFORMATION:return Y.default.Messages.BILLING_STEP_PAYMENT_INFO;case U.Step.ADDRESS:return Y.default.Messages.BILLING_STEP_ADDRESS;case U.Step.REVIEW:return Y.default.Messages.BILLING_STEP_REVIEW}throw new Error("Unexpected step: "+e)}var te=[U.Step.PLAN_SELECT,U.Step.REVIEW,U.Step.CONFIRM],ne=[U.Step.PLAN_SELECT].concat(H.SHARED_ADD_PAYMENT_STEPS,[U.Step.REVIEW,U.Step.CONFIRM]),re=[U.Step.PLAN_SELECT].concat(H.SHARED_CREDIT_CARD_STEPS,[U.Step.REVIEW,U.Step.CONFIRM]),ae=[U.Step.PLAN_SELECT].concat(H.SHARED_PAYPAL_STEPS,[U.Step.REVIEW,U.Step.CONFIRM]),oe=[U.Step.PLAN_SELECT].concat(H.SHARED_PAYMENT_REQUEST_STEPS,[U.Step.REVIEW,U.Step.CONFIRM]);function ie(e){return le.apply(this,arguments)}function le(){return(le=J(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,p.fetchUserPremiumGuildSubscriptionSlots)();case 2:return n=(0,D.getAvailableUserPremiumGuildSubscriptionSlots)(O.default.slots),e.abrupt("return",(0,p.subscribeToGuild)(t,n.map((function(e){return e.id}))));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var ue=Z("div",{},void 0,Z(M.default,{}));function se(e){var t=e.transitionState,n=e.onClose,r=e.closeGuildPerksModal,o=e.analyticsLocation,f=e.guildId,p=e.onSubscribeComplete,M=e.totalNumberOfSlotsToAssign,R=void 0===M?1:M,j=e.disablePremiumUpsell,K=void 0!==j&&j,$=(0,d.useStateFromStores)([S.default],(function(){return S.default.getPremiumTypeSubscription()})),X=(0,d.useStateFromStores)([S.default],(function(){return S.default.hasFetchedSubscriptions()})),le=null!=$?$.paymentSourceId:null,se=(0,d.useStateFromStores)([g.default],(function(){return null!=$?g.default.get($.planId):null})),de=(0,d.useStateFromStores)([g.default],(function(){return null==se?g.default.getHardcoded(Q):se})),fe=(0,d.useStateFromStores)([h.default],(function(){return h.default.theme})),ce=a.useRef((0,D.getAvailableUserPremiumGuildSubscriptionSlots)(O.default.slots)).current,pe=(0,d.useStateFromStores)([E.default],(function(){return E.default.defaultPaymentSourceId})),ve=(0,H.useSharedPaymentModal)(null!=le?le:X?pe:null),ye=ve.paymentSources,me=ve.paymentSourceId,_e=ve.setPaymentSourceId,he=ve.creditCardState,Ee=ve.setCreditCardState,ge=ve.tokenState,Se=ve.setTokenState,Oe=ve.billingAddressState,Ie=ve.setBillingAddressState,Te=ve.isSubmittingCurrentStep,Ce=ve.setIsSubmittingCurrentStep,be=ve.braintreeEmail,Me=ve.braintreeNonce,Ne=ve.paymentError,Ae=ve.paymentAuthenticationState,Pe=ve.purchaseError,Re=ve.setPurchaseError,Le=ve.purchaseErrorBlockRef,De=Object.keys(ye).length>0,we=(0,A.useUID)(),je=a.useState(R-ce.length),ke=je[0],Ue=je[1],Ge=a.useState(!1),Fe=Ge[0],Be=Ge[1],He=a.useMemo((function(){return null==$?[{planId:W.SubscriptionPlans.PREMIUM_MONTH_GUILD,quantity:ke}]:(0,F.calculateAdditionalPlansWithPremiumGuildAdjustment)($,ke)}),[$,ke]),xe=(0,l.useLazyValue)((function(){return[u.default.v4(),Date.now()]})),Ve=xe[0],We=xe[1],Ye={load_id:Ve,payment_type:"subscription",sku_id:W.PremiumSubscriptionSKUs.GUILD,subscription_plan_id:He.some((function(e){return e.planId===W.SubscriptionPlans.PREMIUM_YEAR_GUILD}))?W.SubscriptionPlans.PREMIUM_YEAR_GUILD:W.SubscriptionPlans.PREMIUM_MONTH_GUILD,quantity:ke,location:o};a.useEffect((function(){S.default.hasFetchedSubscriptions()||(0,c.fetchSubscriptions)(),L.default.track(W.AnalyticEvents.PAYMENT_FLOW_STARTED,Ye)}),[]);var ze=a.useState(te),Ke=ze[0],$e=ze[1],Ze=a.useState(U.Step.PLAN_SELECT),qe=Ze[0],Xe=Ze[1],Je=a.useState(G.PurchaseState.WAITING),Qe=Je[0],et=Je[1],tt=(0,l.useStableMemo)((function(){return Date.now()}),[qe]),nt=function(e){Xe(e),Re(null);var t=Date.now();L.default.track(W.AnalyticEvents.PAYMENT_FLOW_STEP,q({},Ye,{from_step:qe,to_step:e,step_duration_ms:t-tt,flow_duration_ms:t-We}))},rt=function(){n(Qe===G.PurchaseState.COMPLETED)};Ae!==k.PaymentAuthenticationState.PENDING&&qe!==U.Step.CONFIRM&&null!=le&&(Ke!==te&&$e(te),te.includes(qe)||qe===U.Step.PREMIUM_UPSELL||nt(U.Step.REVIEW)),qe===U.Step.PAYMENT_TYPE&&Ke!==ne&&$e(ne);var at=null!=$&&$.isPurchasedExternally;at&&qe!==U.Step.PLAN_SELECT&&Xe(U.Step.PLAN_SELECT),(0,k.setPaymentStepForAuthentication)(qe,Ae,nt),(0,U.setPurchaseStateForStep)(qe,Qe,et);var ot,it=a.useRef(null),lt=(0,y.default)(!1,500),ut=lt[0],st=lt[1];if(X)if(null!=$&&null!=$.renewalMutations)ot=Z(P.ModalContent,{},void 0,Z("p",{className:z.default.copy},void 0,Y.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_ERROR_PENDING_MUTATION));else if(qe===U.Step.PREMIUM_UPSELL)ot=Z(x.default,{premiumSubscriptionPlan:de,premiumSubscriptionPaymentSourceId:le,analyticsLocation:o,onClose:rt,onBack:function(){return nt(U.Step.PLAN_SELECT)},onSkip:function(){nt(null!=le||De?U.Step.REVIEW:U.Step.PAYMENT_TYPE)}});else{var dt,ft,ct,pt;switch(qe){case U.Step.PLAN_SELECT:dt=Z(V.PremiumGuildSubscriptionPlanSelect,{premiumSubscriptionPlan:de,numGuildSubscriptions:ke,setNumGuildSubscriptions:Ue,premiumSubscription:$,existingAvailableSlots:ce,onClickPremiumSubscriptionLink:function(){__BILLING_STANDALONE__?window.location.href=W.DiscordProtocolRoutes.PREMIUM:(rt(),null!=r&&r(),v.default.open(W.UserSettingsSections.PREMIUM))}}),at&&null!=$&&null!=$.paymentGateway&&(dt=a.createElement(a.Fragment,null,Z(b.default,{className:z.default.externalErrorBlock},void 0,Y.default.Messages.GUILD_SUBSCRIPTION_PURCHASE_MODAL_EXTERNAL.format({paymentGatewayName:s.PaymentGatewayToFriendlyName[$.paymentGateway]})),dt)),ct=Z(T.default,{look:T.default.Looks.LINK,color:fe===W.ThemeTypes.LIGHT?T.default.Colors.PRIMARY:T.default.Colors.WHITE,onClick:rt},void 0,Y.default.Messages.NEVERMIND),pt=Z(T.default,{type:"submit",disabled:0===ke||at,onClick:function(){K||null!=se&&se.premiumSubscriptionType===W.PremiumTypes.TIER_2?nt(null!=le||De?U.Step.REVIEW:U.Step.PAYMENT_TYPE):nt(U.Step.PREMIUM_UPSELL)}},void 0,Y.default.Messages.CONTINUE);break;case U.Step.PAYMENT_TYPE:case U.Step.CREDIT_CARD_INFORMATION:case U.Step.PAYPAL_INFORMATION:case U.Step.PAYMENT_REQUEST_INFORMATION:case U.Step.ADDRESS:case U.Step.AWAITING_AUTHENTICATION:var vt=(0,H.renderPaymentModalStep)(qe,nt,Ke,$e,Oe,Ie,ye,_e,he,Ee,ge,Se,Te,Ce,be,Me,U.Step.REVIEW,re,ae,oe,ne);dt=vt.body,pt=vt.submitButton,ft=qe===U.Step.PAYMENT_TYPE&&null==vt.backStep?U.Step.PLAN_SELECT:vt.backStep;break;case U.Step.REVIEW:dt=Z(V.PremiumGuildSubscriptionReview,{paymentSources:ye,paymentSourceId:me,currentPremiumSubscription:$,premiumSubscriptionPaymentSourceId:le,premiumSubscriptionPlan:de,newAdditionalPlans:He,onPaymentSourceChange:function(e){return _e(null!=e?e.id:null)},onPaymentSourceAdd:function(){nt(U.Step.PAYMENT_TYPE),_e(null)},onPurchaseTermsChange:Be,legalTermsNodeRef:it,hasLegalTermsFlash:ut}),ft=U.Step.PLAN_SELECT,pt=Fe?Z(T.default,{color:T.default.Colors.GREEN,type:"submit",submitting:Te,onClick:J(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((0,i.default)(null!=He,"Missing newAdditionalPlans"),e.prev=1,et(G.PurchaseState.PURCHASING),Ce(!0),(0,i.default)(null!=me,"Missing paymentSourceId"),L.default.track(W.AnalyticEvents.PAYMENT_FLOW_COMPLETED,q({},Ye,{duration_ms:Date.now()-We})),null!=$&&null!=se){e.next=11;break}return e.next=9,(0,c.createSubscription)({items:He,paymentSourceId:me});case 9:e.next=15;break;case 11:return t={items:(0,w.getItemsFromNewAdditionalPlans)($,He)},null==le&&(t.paymentSourceId=me),e.next=15,(0,c.updateSubscription)($,t);case 15:if(nt(U.Step.CONFIRM),et(G.PurchaseState.COMPLETED),null==f){e.next=20;break}return e.next=20,ie(f);case 20:null!=p&&p(),e.next=29;break;case 23:e.prev=23,e.t0=e.catch(1),et(G.PurchaseState.FAIL),Re(e.t0),n=null!=me?ye[me]:null,L.default.track(W.AnalyticEvents.PAYMENT_FLOW_FAILED,q({},Ye,{payment_gateway:null!=n?n.type===W.PaymentSourceTypes.CARD?W.PaymentGateways.STRIPE:W.PaymentGateways.BRAINTREE:null,payment_source_id:me,duration_ms:Date.now()-We}));case 29:return e.prev=29,Ce(!1),e.finish(29);case 32:case"end":return e.stop()}}),e,null,[[1,23,29,32]])})))},void 0,Y.default.Messages.GUILD_SUBSCRIPTION_PURCHASE_MODAL_SUBMIT):Z(N.default,{text:Y.default.Messages.BILLING_ACCEPT_TERMS_TOOLTIP},void 0,(function(e){return a.createElement(T.default,q({},e,{color:T.default.Colors.GREEN,onClick:function(){null!=it.current&&(it.current.scrollIntoView({behavior:"smooth"}),st(!0))},type:"submit"}),Y.default.Messages.GUILD_SUBSCRIPTION_PURCHASE_MODAL_SUBMIT)}));break;case U.Step.CONFIRM:var yt=_.default.getGuild(f);dt=Z(V.PremiumGuildSubscriptionConfirmation,{guild:yt,guildSubscriptionQuantity:ke+ce.length,onClose:rt,withAnimation:!1})}var mt=null!=Ne&&null==(0,U.errorToStep)(Ne)?Ne:Pe;ot=Z("form",{className:z.default.contentWrapper,onSubmit:function(e){return e.preventDefault()}},void 0,Z(P.ModalContent,{className:z.default.content},void 0,qe!==U.Step.CONFIRM?Z("div",{className:z.default.breadcrumbsWrapper},void 0,Z(I.default,{activeId:U.COLLAPSED_PAYMENT_BREADCRUMB_STEPS.has(qe)?U.Step.PAYMENT_TYPE:qe,breadcrumbs:Ke.filter((function(e){return e!==U.Step.CONFIRM&&!U.COLLAPSED_PAYMENT_BREADCRUMB_STEPS.has(e)})).map((function(e){return{id:e,label:ee(e)}}))})):null,null==mt?null:a.createElement(b.default,{ref:Le},mt.message),Z("div",{className:z.default.bodyWrapper},void 0,Z(m.default,{step:qe,steps:Ke,sideMargin:20},void 0,dt))),qe!==U.Step.CONFIRM?Z(P.ModalFooter,{direction:C.default.Direction.HORIZONTAL,align:C.default.Align.CENTER,justify:C.default.Justify.END},void 0,null!=ft?Z("div",{className:z.default.backStep},void 0,Z(T.default,{color:fe===W.ThemeTypes.LIGHT?T.default.Colors.PRIMARY:T.default.Colors.WHITE,look:T.default.Looks.LINK,size:T.default.Sizes.NONE,onClick:function(){null!=ft&&nt(ft)}},void 0,Y.default.Messages.BACK)):null,Z("div",{className:z.default.footerRight},void 0,ct,pt)):null)}else ot=ue;return Z(P.ModalRoot,{transitionState:t,"aria-labelledby":we},void 0,qe!==U.Step.PREMIUM_UPSELL?Z(B.default,{onClose:rt,currentStep:qe,purchaseState:Qe,headerId:we}):null,ot)}se.displayName="PremiumGuildSubscriptionPurchaseModal"},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(123),i=h(n(284)),l=n(1179),u=h(n(5982)),s=h(n(5983)),d=h(n(5945)),f=n(1),c=h(n(5984)),p=h(n(5985)),v=h(n(5986)),y=h(n(5987)),m=h(n(5988)),_=h(n(5989));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var S=g("source",{src:u.default,type:"video/mp4"},"hevc"),O=g("source",{src:s.default,type:"video/mp4"},"hevc"),I=function(){var e,t=(0,l.getChromeVersion)(),n=c.default,r=y.default,a=p.default,o=m.default,i=[g("source",{src:n,type:"video/mp4"},"mp4"),g("img",{alt:"",src:a},"png")],u=[g("source",{src:r,type:"video/mp4"},"mp4"),g("img",{alt:"",src:o},"png")];if(function(){var e=window.navigator,t=e.userAgent.toLowerCase(),n=!(!e.mediaCapabilities||!e.mediaCapabilities.decodingInfo);return-1!==t.indexOf("safari")&&!(-1!==t.indexOf("chrome"))&&-1!==t.indexOf("version/")&&n}()&&(i.unshift(S),u.unshift(O)),t>52||-1===t){var s=v.default,d=_.default;i.unshift(g("source",{src:s,type:"video/webm"},"webm")),u.unshift(g("source",{src:d,type:"video/webm"},"webm"))}return(e={})[f.ThemeTypes.DARK]=i,e[f.ThemeTypes.LIGHT]=u,e}(),T=function(e){var t=e.loop,n=void 0===t||t,r=e.autoPlay,l=void 0===r||r,u=e.setRef,s=e.className,c=e.onReady,p=a.useContext(i.default),v=a.useContext(o.AccessibilityPreferencesContext).reducedMotion;return a.createElement(d.default,{key:p,ref:u,onLoadedData:c,className:s,loop:!v.enabled&&n,autoPlay:!v.enabled&&l,playsInline:!0},I[p]||I[f.ThemeTypes.DARK])};T.displayName="AppSpinner";var C=T;t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=l(n(3)),o=l(n(2)),i=n(5849);n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=(0,i.getDefaultCountryCode)();function d(e){var t,n=e.countryCode;null!=n&&(s=null!==(t=(0,i.getCountryCodeByAlpha2)(n))&&void 0!==t?t:(0,i.getDefaultCountryCode)())}var f=function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var o=a.prototype;return o.initialize=function(e){null!=e&&(r=e.selectedCountryCode)},o.getState=function(){return{selectedCountryCode:r}},o.getCountryCode=function(){return null!=r?r:s},a}(a.default.PersistedStore);f.persistKey="PhoneStore";var c=new f(o.default,{PHONE_SET_COUNTRY_CODE:function(e){var t=e.countryCode;r=t},CONNECTION_OPEN:d,SET_LOCATION_METADATA:d});t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(9)),i=c(n(153)),l=n(131),u=n(5964),s=c(n(6026)),d=c(n(6070)),f=c(n(1244));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e){var t,n=e.alpha2,r=e.countryCode,c=e.forceMode,p=e.label,y=e.error,m=e.className,_=e.required,h=e.value,E=e.setRef,g=e.placeholder,S=e.autoFocus,O=e.maxLength,I=e.spellCheck,T=e.autoComplete,C=e.onChange,b=e.inputClassName,M=a.useState(!1),N=M[0],A=M[1],P=(0,u.shouldShowCountryCodeSelector)(c,h);return v(l.FormItem,{title:p,error:y,className:m,required:_},void 0,v("div",{className:(0,o.default)(f.default.input,d.default.input,b,(t={},t[f.default.error]=null!=y,t[f.default.focused]=N,t))},void 0,v(s.default,{show:P,alpha2:n,countryCode:r}),v(i.default,{name:"email",type:c===u.PhoneOrEmailSelectorForceMode.EMAIL?"email":"text",value:h,inputRef:E,placeholder:g,"aria-label":p,onChange:function(e){var t=(0,u.shouldShowCountryCodeSelector)(c,e)?r:"";C(e,t)},autoComplete:T,autoFocus:S,maxLength:O,spellCheck:I,className:d.default.inputWrapper,inputClassName:d.default.inputField,onFocus:function(){return A(!0)},onBlur:function(){return A(!1)}})))}y.displayName="PhoneOrEmailInput"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GiftCodeResolvingHeader=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(9)),i=h(n(3)),l=h(n(71)),u=h(n(12)),s=h(n(257)),d=h(n(373)),f=h(n(477)),c=n(475),p=n(1),v=h(n(6)),y=h(n(6071)),m=h(n(1170)),_=h(n(370));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var S=function(){return g(a.Fragment,{},void 0,g(c.Avatar,{src:null,size:c.Avatar.Sizes.DEPRECATED_SIZE_100,className:_.default.marginBottom20}),g(c.SubTitle,{},void 0,v.default.Messages.GIFT_CODE_AUTH_GIFTED),g(c.Title,{className:(0,o.default)(_.default.marginTop8,m.default.flexCenter)},void 0,v.default.Messages.LOADING))};t.GiftCodeResolvingHeader=S,S.displayName="GiftCodeResolvingHeader";var O=function(e){var t=e.error,n=e.gifter,r=e.sku,i=e.application,l=e.subscriptionPlan,u=null==n?v.default.Messages.GIFT_CODE_AUTH_GIFTED:v.default.Messages.GIFT_CODE_AUTH_GIFTED_BY.format({username:n.username}),s=r.name;return null!=l&&(s=(l.interval===p.SubscriptionIntervalTypes.MONTH?v.default.Messages.GIFT_CODE_AUTH_GIFTED_SUBSCRIPTION_MONTHLY:v.default.Messages.GIFT_CODE_AUTH_GIFTED_SUBSCRIPTION_YEARLY).format({skuName:r.name,intervalCount:l.intervalCount})),g(a.Fragment,{},void 0,g(c.Avatar,{src:null!=n?n.getAvatarURL(void 0):null,size:c.Avatar.Sizes.DEPRECATED_SIZE_100,className:_.default.marginBottom20}),null!=t?g(a.Fragment,{},void 0,g(c.SubTitle,{},void 0,v.default.Messages.INVITE_MODAL_ERROR_TITLE),g(c.Title,{},void 0,t)):g(a.Fragment,{},void 0,g(c.SubTitle,{},void 0,u),g(c.Title,{className:(0,o.default)(_.default.marginTop8,m.default.flexCenter)},void 0,g(f.default,{size:f.default.Sizes.MEDIUM,className:y.default.applicationIcon,game:i,skuId:r.id}),s)))};O.displayName="GiftCodeHeader";var I=i.default.connectStores([d.default,l.default,s.default,u.default],(function(e){var t=e.giftCode,n=d.default.get(t.skuId),r=t.subscriptionPlanId;return{sku:n,subscriptionPlan:null!=r?s.default.get(r):null,application:l.default.getGame(n.applicationId),gifter:u.default.getUser(t.userId)}}))(O);t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),i=u(n(475)),l=u(n(6105));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.children,n=e.className,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["children","className"]),u=t();return a.createElement(i.default,d({},r,{className:(0,o.default)(n,l.default.container),contentClassName:l.default.content}),u.map((function(e,t){return f("div",{className:l.default.column,style:{flexBasis:100/u.length+"%"}},t,e)})))}c.displayName="MultiColumnAuthBox"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPromotionImageURL=function(e,t){var n=t===o.ThemeTypes.DARK?"logo-dark":"logo-light",r=window.GLOBAL_ENV.CDN_HOST;if(null!=r)return location.protocol+"//"+r+"/promotions/"+e+"/"+n+"?size=256";return""+location.protocol+window.GLOBAL_ENV.API_ENDPOINT+"/promotions/"+e+"/"+n+"?size=256"},t.outboundPromotionFromServer=s,t.fetchClaimedOutboundPromotionCodes=function(){return f.apply(this,arguments)},t.claimOutboundPromotion=function(e){return c.apply(this,arguments)},t.getOutboundPromotionRedemptionUrl=function(e,t){if(null!=t.outboundRedemptionUrlFormat)return t.outboundRedemptionUrlFormat.replace("{code}",encodeURIComponent(e));return t.outboundRedemptionPageLink};var r=i(n(14)),a=i(n(39)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){l(o,r,a,i,u,"next",e)}function u(e){l(o,r,a,i,u,"throw",e)}i(void 0)}))}}function s(e){return{id:e.id,startDate:e.start_date,endDate:e.end_date,outboundTitle:e.outbound_title,outboundRedemptionModalBody:e.outbound_redemption_modal_body,outboundRedemptionPageLink:e.outbound_redemption_page_link,outboundRedemptionUrlFormat:e.outbound_redemption_url_format,outboundTermsAndConditions:e.outbound_terms_and_conditions}}function d(e){return{code:e.code,userId:e.user_id,claimedAt:e.claimed_at,promotion:s(e.promotion)}}function f(){return(f=u(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.get({url:o.Endpoints.CLAIMED_OUTBOUND_PROMOTION_CODES,query:{locale:a.default.locale},oldFormErrors:!0});case 2:return t=e.sent,n=t.body,e.abrupt("return",n.map(d));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function c(){return(c=u(regeneratorRuntime.mark((function e(t){var n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.post({url:o.Endpoints.CLAIM_OUTBOUND_PROMOTION_CODE(t)});case 2:return n=e.sent,a=n.body,e.abrupt("return",d(a));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fill:d,className:f,fillRule:"evenodd",clipRule:"evenodd",d:"M11.2137 2.00088L2.27111 13.3826C1.9299 13.8168 2.00535 14.4455 2.43963 14.7867C2.61581 14.9251 2.83338 15.0004 3.05744 15.0004H7V21.0004C7 21.5527 7.44772 22.0004 8 22.0004H16C16.5523 22.0004 17 21.5527 17 21.0004V15.0004H20.9425C21.4948 15.0004 21.9425 14.5527 21.9425 14.0004C21.9425 13.7763 21.8673 13.5588 21.7289 13.3826L12.7863 2.00088C12.4451 1.56661 11.8165 1.49116 11.3822 1.83237C11.3195 1.88162 11.2629 1.93819 11.2137 2.00088Z"}))}d.displayName="Upload2"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),i=u(n(55)),l=u(n(6062));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,c(e,t)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).setCodeBlockRef=function(e){t._codeBlockRef=e},t.handleKeyDown=function(e){var n=8===e.which||37===e.which||39===e.which,r=e.which>=48&&e.which<=57||e.keyCode>=96&&e.keyCode<=105;n||r||e.preventDefault();var a=t.props.onKeyDown;a&&a(e)},t.handleChange=function(e){var n=t.props.onChange;n&&n(e.currentTarget.value)},t}f(t,e);var n=t.prototype;return n.render=function(){var e=this.props.className;return a.createElement("input",{ref:this.setCodeBlockRef,className:(0,o.default)(l.default.input,e),maxLength:1,value:null!=this.props.code?this.props.code:void 0,autoFocus:this.props.autoFocus,onKeyDown:this.handleKeyDown,onChange:this.handleChange})},n.focus=function(){this._codeBlockRef&&this._codeBlockRef.focus()},n.blur=function(){this._codeBlockRef&&this._codeBlockRef.blur()},t}(a.PureComponent);p.displayName="CodeBlock",p.defaultProps={autoFocus:!1};var v=function(e){function t(t){var n;return(n=e.call(this,t)||this)._codeBlockRefs=new Array(n.props.count),n.state={codes:new Array(t.count)},n}f(t,e);var n=t.prototype;return n.render=function(){for(var e=this,t=this.props,n=t.className,r=t.inputClassName,o=this.state.codes,u=[],s=function(t){t===o.length/2&&u.push(d("div",{className:l.default.spacer},"spacer")),u.push(a.createElement(p,{ref:function(n){return e.setCodeBlockRef(t,n)},key:t,code:o[t],autoFocus:0===t,onChange:function(n){return e.handleChange(t,n)},onKeyDown:function(n){return e.handleKeyDown(t,n)},className:r}))},f=0;f<o.length;f++)s(f);return d(i.default,{align:i.default.Align.CENTER,justify:i.default.Justify.CENTER,className:n},void 0,u)},n.setCodeBlockRef=function(e,t){this._codeBlockRefs[e]=t},n.handleChange=function(e,t){this.state.codes[e]=t;var n=this.getCodeOrFirstEmptyIndex();if("string"==typeof n)this.submit(n);else{var r=this._codeBlockRefs[n];r&&r.focus()}},n.handleKeyDown=function(e,t){var n=this.state.codes;if(8===t.which&&e>0&&(null==n[e]||0===n[e].length)){var r=e-1;n[r]="";var a=this._codeBlockRefs[r];a&&a.focus()}},n.getCodeOrFirstEmptyIndex=function(){for(var e=this.state.codes,t="",n=0;n<e.length;n++){if(isNaN(parseInt(e[n])))return n;t+=e[n]}return t},n.submit=function(e){var t=this.props.onSubmit;t&&t(e)},t}(a.PureComponent);v.displayName="CodeField",v.defaultProps={count:6};var y=v;t.default=y},function(e,t,n){e.exports=n.p+"2d889bf9114df188325d15f9e517c325.mov"},function(e,t,n){e.exports=n.p+"d44a33e33f751afe9a0e5e42e2156d8f.mov"},function(e,t,n){e.exports=n.p+"6d5b64b094944af6d52d895c8c2b8a59.mp4"},function(e,t,n){e.exports=n.p+"110bfae7e9a5130a3bae55202cd1dd7f.png"},function(e,t,n){e.exports=n.p+"3b0d96ed8113994f3d139088726cfecd.webm"},function(e,t,n){e.exports=n.p+"90c2f45413660019fa25f4f9f40ecb5d.mp4"},function(e,t,n){e.exports=n.p+"35bf511183fdb9dbd234b1b579106334.png"},function(e,t,n){e.exports=n.p+"1eae6aab9a6b4e7da646db415479560b.webm"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(9)),i=m(n(480)),l=m(n(8)),u=m(n(5699)),s=m(n(55)),d=m(n(6027)),f=n(272),c=n(5849),p=m(n(6)),v=m(n(6068)),y=m(n(5958));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(){return(h=Object.assign||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}).apply(this,arguments)}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var S=E(d.default.Divider,{}),O=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).onChangeQuery=function(e){n.setState({query:e})},n.onClearQuery=function(){n.setState({query:""})},n.onClick=function(e){var t=e.id;(0,n.props.onClick)(t)},n.state={query:""},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,g(t,n);var m=r.prototype;return m.renderItems=function(){var e=this,t=this.state.query,n=u.default.map((function(e,t){var n=e.alpha2,r=e.code,a=e.name,o=r.split(" ")[0],i=(0,c.getI18NName)(n);return{id:t,name:a,translatedName:i,children:E(s.default,{className:v.default.countryItem,justify:s.default.Justify.CENTER,align:s.default.Align.CENTER},void 0,E(s.default.Child,{className:v.default.countryName},void 0,i),E(s.default.Child,{className:v.default.countryCode,grow:0,shrink:0},void 0,o))}})),r=(0,l.default)(n).filter((function(e){return 0===t.length||(0,i.default)(t.toLowerCase(),e.name.toLowerCase())||(0,i.default)(t.toLowerCase(),e.translatedName.toLowerCase())})).map((function(t){return a.createElement(d.default.Item,h({key:t.id},t,{onClick:e.onClick}))})).value();return 0===r.length?E(d.default.Empty,{},void 0,p.default.Messages.NONE):E(f.ScrollerAuto,{className:v.default.phoneFieldScroller},void 0,r)},m.render=function(){var e=this.props.className;return E(d.default,{className:(0,o.default)(v.default.phoneFieldPopout,y.default.elevationBorderLow,e)},void 0,E(d.default.SearchBar,{query:this.state.query,placeholder:p.default.Messages.SEARCH_COUNTRY,onChange:this.onChangeQuery,onClear:this.onClearQuery,autoComplete:"off"}),S,this.renderItems())},r}(a.PureComponent);t.default=O,O.displayName="CountryPopoutList"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1148),a=(0,r.registerUserExperiment)({id:r.Experiments.KILL_LANDING_PAGE,title:"Kill Landing Page",description:["Kill landing page","Control: Landing page is AF","Treatment 1: Landing page is People"],buckets:[r.ExperimentBuckets.CONTROL,r.ExperimentBuckets.TREATMENT_1]});t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;p(n(0));var r,a=n(92),o=f(n(1187)),i=p(n(475)),l=n(1),u=f(n(6)),s=f(n(1170)),d=f(n(370));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=function(e){var t=e.title,r=e.onVerify,f=e.authBoxClassName,c=e.captchaService,p=void 0===c?l.CaptchaTypes.RECAPTCHA:c,y=e.sitekey;return v(i.default,{className:f},void 0,v("img",{alt:"",src:n(5704),className:d.default.marginBottom20}),null!=t?v(i.Title,{className:d.default.marginBottom8},void 0,t):null,v(i.SubTitle,{className:d.default.marginBottom40},void 0,u.default.Messages.BEEP_BOOP),v("div",{className:s.default.flexCenter},void 0,v(o.default,{onVerify:r,theme:a.ThemeTypes.DARK,captchaService:p,sitekey:y})))};y.displayName="AuthCaptcha";var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=c(n(133)),l=c(n(29)),u=c(n(55)),s=n(131),d=n(35),f=c(n(6073));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=(0,i.default)({UPGRADE:null,CANCEL:null,UNVERIFIED:null,UNCLAIMED:null,GRANDFATHERED:null}),m=((r={})[y.UPGRADE]="imageUpgrade",r[y.CANCEL]="imageCancel",r[y.UNVERIFIED]="imageUnverified",r[y.UNCLAIMED]="imageUnclaimed",r[y.GRANDFATHERED]="imageCancel",r),_=function(e){var t=e.children,n=e.onClose;return v(d.ModalHeader,{justify:u.default.Justify.BETWEEN,separator:!1},void 0,v(s.FormTitle,{tag:s.FormTitleTags.H4},void 0,t),null!=n?v(d.ModalCloseButton,{className:f.default.closeIcon,onClick:n}):null)};_.displayName="Header";var h=function(e){var t=e.children,n=e.type;return v(d.ModalContent,{},void 0,v("div",{className:f.default[m[n]]}),v("div",{className:f.default.message},void 0,t))};h.displayName="Content";var E=function(e){var t=e.primary,n=e.primaryRenderer,r=e.secondary;return v(d.ModalFooter,{},void 0,v(u.default,{justify:u.default.Justify.END},void 0,null!=r?v(l.default,{onClick:r.onClick,look:l.default.Looks.LINK,innerClassName:f.default.secondaryButton},void 0,r.label):null,null!=t?v(l.default,{onClick:t.onClick,color:l.default.Colors.BRAND},void 0,t.label):n))};E.displayName="Footer";var g=function(e){var t=e.children,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["children"]);return o.createElement(d.ModalRoot,n,t)};g.displayName="PremiumModal",g.Header=_,g.Content=h,g.Footer=E,g.Types=y;var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(3)),i=v(n(363)),l=v(n(218)),u=v(n(12)),s=v(n(29)),d=v(n(466)),f=n(41),c=v(n(24)),p=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={isSendingVerificationEmail:!1},t.handleResendVerification=function(){var e=t.props,n=e.currentUser,r=e.onClick;r&&r(),t.setState({isSendingVerificationEmail:!0},(function(){i.default.verifyResend().then((function(){return(0,f.openModal)((function(e){return a.createElement(d.default,m({header:p.default.Messages.VERIFICATION_EMAIL_TITLE,confirmText:p.default.Messages.OKAY,confirmButtonColor:s.default.Colors.BRAND},e),_(c.default,{size:c.default.Sizes.SIZE_16},void 0,p.default.Messages.VERIFICATION_EMAIL_BODY.format({email:n.email})))}))})).catch((function(e){var t=e.body,n=p.default.Messages.VERIFICATION_EMAIL_ERROR_BODY;null!=t&&t.email&&(n=t.email),(0,f.openModal)((function(e){return a.createElement(l.default,m({title:p.default.Messages.VERIFICATION_EMAIL_ERROR_TITLE,body:n},e))}))})).then((function(){return t.setState({isSendingVerificationEmail:!1})}))}))},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n),r.prototype.render=function(){var e=this.props,t=e.color,n=e.look,r=e.size;return _(s.default,{look:n,size:r,color:t,disabled:this.state.isSendingVerificationEmail,onClick:this.handleResendVerification},void 0,p.default.Messages.RESEND_VERIFICATION_EMAIL)},r}(a.Component);E.displayName="ResendEmailVerificationButton",E.defaultProps={size:s.default.Sizes.MEDIUM,color:s.default.Colors.BRAND};var g=o.default.connectStores([u.default],(function(){return{currentUser:u.default.getCurrentUser()}}))(E);t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=O;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(1171),l=_(n(5956)),u=_(n(29)),s=_(n(153)),d=n(85),f=n(131),c=n(35),p=n(217),v=_(n(24)),y=_(n(6)),m=_(n(6074));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function S(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){g(o,r,a,i,l,"next",e)}function l(e){g(o,r,a,i,l,"throw",e)}i(void 0)}))}}function O(e){var t,n,r=e.transitionState,_=e.onClose,h=(0,d.useUID)(),g=a.useState(""),O=g[0],I=g[1],T=a.useState(""),C=T[0],b=T[1],M=a.useState(!1),N=M[0],A=M[1],P=(0,o.useStateFromStores)([l.default],(function(){return l.default.getErrors()})),R=a.useRef(null);function L(){return(L=S(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),A(!0),e.next=4,(0,i.saveAccountChanges)({email:O,password:C});case 4:n=e.sent,A(!1),(null==n?void 0:n.ok)&&_();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return a.useEffect((function(){var e;r===p.ModalTransitionState.ENTERED&&(null===(e=R.current)||void 0===e||e.focus())}),[r]),a.useEffect((function(){return function(){return(0,i.accountDetailsClose)()}}),[]),E(c.ModalRoot,{transitionState:r,"aria-labelledby":h},void 0,E(c.ModalHeader,{id:h,separator:!1,className:m.default.header},void 0,E(v.default,{color:v.default.Colors.HEADER_PRIMARY,size:v.default.Sizes.SIZE_24,className:m.default.title},void 0,y.default.Messages.USER_SETTINGS_ACCOUNT_CHANGE_EMAIL_TITLE_DESKTOP),E(v.default,{color:v.default.Colors.HEADER_SECONDARY,size:v.default.Sizes.SIZE_16,className:m.default.subtitle},void 0,y.default.Messages.USER_SETTINGS_ACCOUNT_CHANGE_EMAIL_PROMPT_DESKTOP),E(c.ModalCloseButton,{onClick:_,className:m.default.modalCloseButton})),E("form",{onSubmit:function(e){return L.apply(this,arguments)}},void 0,E(c.ModalContent,{className:m.default.content},void 0,E(f.FormItem,{title:y.default.Messages.EMAIL,error:null==P||null===(t=P.email)||void 0===t?void 0:t[0]},void 0,E(s.default,{type:"email",value:O,onChange:I,inputRef:R})),E(f.FormItem,{className:m.default.password,title:y.default.Messages.USER_SETTINGS_LABEL_CURRENT_PASSWORD,error:null==P||null===(n=P.password)||void 0===n?void 0:n[0]},void 0,E(s.default,{type:"password",value:C,onChange:b}))),E(c.ModalFooter,{},void 0,E(u.default,{type:"submit",color:u.default.Colors.BRAND,size:u.default.Sizes.MEDIUM,submitting:N},void 0,y.default.Messages.DONE),E(u.default,{className:m.default.cancel,look:u.default.Looks.LINK,color:u.default.Colors.PRIMARY,onClick:_},void 0,y.default.Messages.CANCEL))))}O.displayName="ChangeEmailModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AddressStepFooter=t.AddressStepBody=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=y(n(5846)),l=y(n(39)),u=y(n(29)),s=y(n(55)),d=y(n(1164)),f=n(35),c=n(5835),p=y(n(6)),v=y(n(5838));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var E=function(e){var t=e.billingAddressInfo,n=e.billingError,r=e.onBillingAddressChange,u=null!=n&&(null==n.code||(0,c.errorToStep)(n)===c.Steps.ADDRESS),s=(0,o.useStateFromStores)([l.default],(function(){return l.default.locale}));return h(a.Fragment,{},void 0,u?h(d.default,{className:v.default.errorBlock},void 0,p.default.Messages.BILLING_ERROR_SECTION_ADDRESS):null,a.createElement(i.default,_({className:v.default.formItem,onBillingAddressChange:r,error:n,layout:"en-US"===s?i.default.Layouts.MODAL_US:i.default.Layouts.MODAL_INTL},t)))};t.AddressStepBody=E,E.displayName="AddressStepBody";var g=function(e){var t=e.isBillingAddressInfoValid,n=e.submitting,r=e.onContinue,a=e.renderBackButton;return h(f.ModalFooter,{justify:s.default.Justify.BETWEEN,direction:s.default.Direction.HORIZONTAL},void 0,a(),h(u.default,{type:"submit",disabled:!t,submitting:n,onClick:r},void 0,p.default.Messages.NEXT))};t.AddressStepFooter=g,g.displayName="AddressStepFooter"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CreditCardInformationFooter=t.CreditCardInformationBody=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(5853)),i=p(n(29)),l=p(n(55)),u=p(n(1164)),s=n(35),d=n(5835),f=p(n(6)),c=p(n(5838));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=function(e){var t=e.billingError,n=e.onCardInfoChange,r=null!=t&&(null==t.code||(0,d.errorToStep)(t)===d.Steps.CREDIT_CARD_INFORMATION);return y(a.Fragment,{},void 0,r?y(u.default,{className:c.default.errorBlock},void 0,f.default.Messages.BILLING_ERROR_SECTION_CARD):null,y(o.default,{onCardInfoChange:n,error:t}))};t.CreditCardInformationBody=m,m.displayName="CreditCardInformationBody";var _=function(e){var t=e.isCardInfoValid,n=e.submitting,r=e.renderBackButton,a=e.onCreditCardContinue;return y(s.ModalFooter,{justify:l.default.Justify.BETWEEN,direction:l.default.Direction.HORIZONTAL},void 0,r(),y(i.default,{type:"submit",disabled:!t,submitting:n,onClick:a},void 0,f.default.Messages.NEXT))};t.CreditCardInformationFooter=_,_.displayName="CreditCardInformationFooter"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=T;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("path",{d:"M96.4373 17.6233H83.2985C82.9632 17.6233 82.6698 17.8748 82.6279 18.21L81.9992 22.5687C81.9364 22.9669 82.2507 23.3441 82.6698 23.3441H85.0796C85.3311 23.3441 85.4778 23.5955 85.394 23.8051C85.1006 24.4966 84.8701 25.2719 84.7653 26.0892L83.5499 34.5341C82.7536 40.192 87.4476 43 92.5816 43C97.9461 43 103.227 40.171 104.023 34.5341L105.239 26.0892C105.993 20.557 101.446 17.749 96.4373 17.6233ZM98.952 26.1101L97.7366 34.3665C97.4641 36.3153 95.2638 37.2164 93.2312 37.2164C91.3452 37.2164 89.5012 36.3153 89.7526 34.5341L90.968 26.0892C91.2405 24.2451 93.4408 23.3021 95.4734 23.3021C97.5061 23.3021 99.2453 24.2451 98.952 26.1101Z"}),f=s("path",{d:"M23.5344 17.6233H18.6309C18.2956 17.6233 18.0023 17.8748 17.9603 18.21L16.4516 28.96V28.981L16.5144 33.1301C16.5144 33.2139 16.4516 33.2978 16.3678 33.3187L14.9638 28.3104V28.2895L10.5841 18.0424C10.4794 17.7909 10.2279 17.6233 9.95547 17.6233H4.9891C4.65382 17.6233 4.36044 17.8748 4.31853 18.21L1.00762 41.8894C0.944753 42.3085 1.28004 42.6647 1.67818 42.6647H6.6236C6.95889 42.6647 7.25226 42.4133 7.29417 42.078L8.59339 32.6691V32.6481L8.53052 27.8285L8.67721 27.7865L10.165 32.7948V32.8158L14.2513 42.2666C14.3561 42.518 14.6075 42.6857 14.8799 42.6857H20.2445C20.5797 42.6857 20.8731 42.4342 20.915 42.0989L24.2259 18.4196C24.2888 18.0005 23.9535 17.6233 23.5344 17.6233Z"}),c=s("path",{d:"M34.2634 17.6233H29.318C28.9827 17.6233 28.6893 17.8748 28.6474 18.21L25.3365 41.8684C25.2736 42.2875 25.6089 42.6438 26.007 42.6438H30.9525C31.2877 42.6438 31.5811 42.3923 31.623 42.057L34.9339 18.3986C34.9968 18.0005 34.6825 17.6233 34.2634 17.6233Z"}),p=s("path",{d:"M57.4608 17.6233H38.9573C38.6221 17.6233 38.3287 17.8748 38.2868 18.21L37.6372 22.6316C37.5743 23.0507 37.8886 23.4069 38.3077 23.4069H43.4837C43.9028 23.4069 44.2171 23.7632 44.1542 24.1823L41.7234 41.8684C41.6606 42.2875 41.9958 42.6438 42.394 42.6438H47.4023C47.7376 42.6438 48.0309 42.3923 48.0728 42.057L50.5665 23.9937C50.6084 23.6584 50.9018 23.4069 51.2371 23.4069H56.7902C57.1255 23.4069 57.4188 23.1555 57.4608 22.8202L58.1104 18.3986C58.2151 18.0005 57.8799 17.6233 57.4608 17.6233Z"}),v=s("path",{d:"M71.6056 17.6233H62.1967C61.8615 17.6233 61.5681 17.8748 61.5262 18.21L58.2153 41.8684C58.1524 42.2875 58.4877 42.6438 58.8858 42.6438H63.8941C64.2294 42.6438 64.5228 42.3923 64.5647 42.057L65.5286 34.9951C65.5496 34.8275 65.6963 34.7018 65.8639 34.7018H66.5135C66.6392 34.7018 66.744 34.7646 66.8069 34.8694L71.5847 42.3504C71.7104 42.539 71.9199 42.6647 72.1714 42.6647H78.3741C78.919 42.6647 79.2542 42.0361 78.9399 41.596L73.9107 34.4084C73.7849 34.2407 73.8478 33.9893 74.0364 33.9055C77.2425 32.3338 79.1076 30.7412 79.7153 26.2568C80.4277 20.3894 76.7606 17.6233 71.6056 17.6233ZM73.3239 26.3616C73.1563 27.8075 72.0247 29.2534 70.0759 29.2534H67.1631C66.744 29.2534 66.4297 28.8762 66.4925 28.4781L67.1212 24.1194C67.1631 23.7841 67.4565 23.5326 67.7918 23.5326H70.9141C72.7581 23.5326 73.5125 24.8528 73.3239 26.3616Z"}),y=s("path",{d:"M23.3458 2.64035H26.9082C27.7674 2.64035 28.5008 2.76608 29.0875 3.0385C29.6324 3.26901 30.0934 3.66715 30.4287 4.17008C30.722 4.673 30.8897 5.23879 30.8687 5.80458C30.8687 6.39132 30.722 6.95711 30.4077 7.46004C30.0724 7.98392 29.5695 8.38207 29.0037 8.63353C28.3751 8.9269 27.5788 9.07359 26.6567 9.07359H23.3458V2.64035V2.64035ZM26.6358 7.41813C27.2225 7.41813 27.6626 7.27144 27.9769 6.97807C28.2912 6.66374 28.4589 6.24464 28.4379 5.78363C28.4589 5.36452 28.3122 4.96637 28.0188 4.673C27.7464 4.40058 27.3273 4.2539 26.7615 4.2539H25.6509V7.39717H26.6358V7.41813Z"}),m=s("path",{d:"M36.2331 9.05262C35.7721 8.92689 35.3111 8.7383 34.892 8.48683V6.95711C35.2482 7.22952 35.6673 7.41812 36.0864 7.5229C36.5684 7.66958 37.0504 7.73245 37.5533 7.7534C37.7209 7.7534 37.8886 7.73245 38.0562 7.66958C38.161 7.60672 38.2238 7.54385 38.2238 7.46003C38.2238 7.37621 38.2029 7.29239 38.14 7.22952C38.0352 7.1457 37.9095 7.10379 37.7838 7.08284L36.6941 6.83137C36.0655 6.68469 35.6254 6.47514 35.353 6.22368C35.0806 5.95126 34.9339 5.57407 34.9548 5.19687C34.9548 4.86159 35.0806 4.52631 35.3111 4.27484C35.5835 3.98147 35.9188 3.77192 36.296 3.66714C36.7779 3.52046 37.2809 3.43664 37.8047 3.45759C38.2867 3.45759 38.7477 3.4995 39.2087 3.62523C39.5859 3.70906 39.9422 3.85574 40.2774 4.04434V5.49024C39.9631 5.30165 39.6278 5.17592 39.2926 5.0921C38.9154 4.98732 38.5172 4.94541 38.14 4.94541C37.5742 4.94541 37.2809 5.05019 37.2809 5.23878C37.2809 5.3226 37.3228 5.40642 37.4066 5.44833C37.5533 5.5112 37.7209 5.55311 37.8886 5.59502L38.8106 5.76266C39.3973 5.86744 39.8583 6.05603 40.1517 6.3075C40.4451 6.55896 40.5918 6.95711 40.5918 7.46003C40.5918 8.00486 40.3194 8.50779 39.8583 8.78021C39.3764 9.09453 38.6849 9.26218 37.7838 9.26218C37.2599 9.24122 36.736 9.17835 36.2331 9.05262Z"}),_=s("path",{d:"M42.7294 8.86404C42.2475 8.63353 41.8284 8.2773 41.535 7.81628C41.2626 7.37622 41.1368 6.85234 41.1368 6.32847C41.1368 5.80459 41.2626 5.30166 41.5559 4.8616C41.8493 4.40059 42.2684 4.06531 42.7713 3.8348C43.379 3.58334 44.0287 3.43665 44.6783 3.45761C45.6003 3.45761 46.3547 3.6462 46.9624 4.04435V5.72077C46.7319 5.57408 46.4804 5.44835 46.208 5.36453C45.9146 5.28071 45.6003 5.21784 45.286 5.21784C44.7202 5.21784 44.2801 5.32262 43.9448 5.53217C43.4838 5.78363 43.3371 6.34942 43.5886 6.81043C43.6724 6.95712 43.7981 7.08285 43.9448 7.16667C44.2592 7.37622 44.6992 7.481 45.3069 7.481C45.6212 7.481 45.9146 7.43909 46.208 7.35527C46.4804 7.27145 46.7319 7.16667 46.9624 7.01999V8.63353C46.2499 9.05264 45.4536 9.26219 44.6364 9.24123C43.9867 9.26219 43.3162 9.13646 42.7294 8.86404Z"}),h=s("path",{d:"M49.2463 8.86402C48.7434 8.63352 48.3243 8.27728 48.0309 7.81627C47.7585 7.37621 47.6118 6.85233 47.6118 6.32845C47.6118 5.80457 47.7375 5.30165 48.0309 4.86159C48.3243 4.42153 48.7434 4.06529 49.2463 3.85574C50.4408 3.37377 51.8028 3.37377 52.9973 3.85574C53.4793 4.06529 53.8984 4.42153 54.1917 4.86159C54.4641 5.30165 54.6108 5.82552 54.6108 6.32845C54.6108 6.85233 54.4641 7.37621 54.1917 7.81627C53.8984 8.27728 53.4793 8.63352 52.9973 8.86402C51.7819 9.36695 50.4408 9.36695 49.2463 8.86402ZM52.0124 7.22952C52.2429 6.99901 52.3686 6.66373 52.3477 6.3494C52.3686 6.01412 52.2429 5.69979 52.0124 5.46929C51.7609 5.23878 51.4257 5.134 51.0904 5.134C50.7551 5.11305 50.4198 5.23878 50.1683 5.46929C49.9378 5.69979 49.8121 6.01412 49.8331 6.3494C49.8121 6.68469 49.9378 6.99901 50.1683 7.22952C50.4198 7.46003 50.7551 7.58576 51.0904 7.5648C51.4466 7.58576 51.7819 7.46003 52.0124 7.22952Z"}),E=s("path",{d:"M60.1012 3.79287V5.78361C59.8288 5.61597 59.5145 5.53215 59.2002 5.55311C58.7182 5.55311 58.341 5.69979 58.0686 5.99316C57.8171 6.28654 57.6704 6.74755 57.6704 7.3762V9.05262H55.4282V3.6881H57.6285V5.38546C57.7543 4.75681 57.9429 4.2958 58.2153 4.00242C58.4877 3.70905 58.8649 3.54141 59.263 3.56237C59.5564 3.56237 59.8498 3.64619 60.1012 3.79287Z"}),g=s("path",{d:"M67.5613 2.45178V9.05266H65.3191V7.85821C65.1514 8.27732 64.8371 8.65451 64.4599 8.88502C64.0199 9.13648 63.5379 9.26221 63.035 9.24126C62.5739 9.26221 62.1129 9.11552 61.7148 8.86406C61.3376 8.6126 61.0233 8.25636 60.8347 7.83726C60.6251 7.37625 60.5203 6.87332 60.5203 6.3704C60.4994 5.84652 60.6251 5.32264 60.8347 4.86163C61.0442 4.42157 61.3795 4.06533 61.7776 3.81387C62.1968 3.56241 62.6787 3.43667 63.1607 3.43667C64.2294 3.43667 64.9419 3.89769 65.3191 4.81972V2.45178H67.5613ZM64.9838 7.18765C65.2143 6.95714 65.34 6.64282 65.3191 6.32849C65.3191 6.01416 65.1933 5.69983 64.9838 5.49028C64.4599 5.05022 63.7055 5.05022 63.1607 5.49028C62.9302 5.72079 62.8045 6.01416 62.8254 6.32849C62.8045 6.64282 62.9302 6.95714 63.1607 7.18765C63.4121 7.41816 63.7265 7.52293 64.0618 7.52293C64.418 7.54389 64.7323 7.41816 64.9838 7.18765Z"}),S=s("path",{d:"M15.0895 1.04776C13.9999 0.565789 12.8473 0.209552 11.6529 0C11.4853 0.293372 11.3386 0.586745 11.2128 0.901072C9.95553 0.712476 8.65631 0.712476 7.399 0.901072C7.27327 0.586745 7.12659 0.293372 6.95894 0C5.78546 0.209552 4.63292 0.565789 3.5223 1.06871C1.36391 4.27485 0.77717 7.39717 1.07054 10.4985C2.34881 11.4415 3.77376 12.154 5.28253 12.615C5.61781 12.154 5.93214 11.672 6.1836 11.1691C5.70163 10.9805 5.21967 10.75 4.75865 10.4985C4.88438 10.4147 4.98916 10.3309 5.11489 10.2471C7.7762 11.5044 10.8566 11.5044 13.5389 10.2471C13.6436 10.3309 13.7694 10.4357 13.8951 10.4985C13.4341 10.771 12.9731 11.0015 12.4702 11.1691C12.7216 11.672 13.0359 12.154 13.3712 12.615C14.88 12.154 16.3049 11.4415 17.5832 10.4985C17.9185 6.9152 16.9755 3.81384 15.0895 1.04776ZM6.53984 8.59162C5.72259 8.59162 5.03107 7.83723 5.03107 6.93616C5.03107 6.03509 5.68068 5.25975 6.51889 5.25975C7.35709 5.25975 8.02766 6.01413 8.02766 6.93616C8.02766 7.85819 7.37805 8.59162 6.53984 8.59162ZM12.072 8.59162C11.2548 8.59162 10.5842 7.83723 10.5842 6.93616C10.5842 6.03509 11.2338 5.25975 12.072 5.25975C12.9102 5.25975 13.5808 6.01413 13.5598 6.93616C13.5598 7.85819 12.9102 8.59162 12.072 8.59162Z"}),O=s("path",{d:"M32.7757 4.27485C33.389 4.27485 33.8863 3.82452 33.8863 3.269C33.8863 2.71349 33.389 2.26315 32.7757 2.26315C32.1623 2.26315 31.665 2.71349 31.665 3.269C31.665 3.82452 32.1623 4.27485 32.7757 4.27485Z"}),I=s("path",{d:"M31.665 4.9664C32.3775 5.25977 33.1948 5.25977 33.9072 4.9664V9.09457H31.665V4.9664Z"});function T(e){var t=e.width,n=void 0===t?106:t,r=e.height,a=void 0===r?43:r,l=e.color,T=void 0===l?"currentColor":l,C=e.foreground,b=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(b),{width:n,height:a,viewBox:"0 0 106 43"}),s("g",{fill:T,className:C,fillRule:"evenodd","aria-hidden":!0},void 0,d,f,c,p,v,y,m,_,h,E,g,S,O,I))}T.displayName="DiscordNitro"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{foreground:f,fill:d,d:"M12 2C6.486 2 2 6.487 2 12C2 17.515 6.486 22 12 22C17.514 22 22 17.515 22 12C22 6.487 17.514 2 12 2ZM12 18.25C11.31 18.25 10.75 17.691 10.75 17C10.75 16.31 11.31 15.75 12 15.75C12.69 15.75 13.25 16.31 13.25 17C13.25 17.691 12.69 18.25 12 18.25ZM13 13.875V15H11V12H12C13.104 12 14 11.103 14 10C14 8.896 13.104 8 12 8C10.896 8 10 8.896 10 10H8C8 7.795 9.795 6 12 6C14.205 6 16 7.795 16 10C16 11.861 14.723 13.429 13 13.875Z"}))}d.displayName="HelpCircle"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(6037)),o=n(35),i=n(5854),l=n(1),u=s(n(6099));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.currentStep,n=e.purchaseState,r=e.premiumType,s=e.headerId,d=e.onClose;return f(o.ModalHeader,{className:u.default.modalHeader,separator:!1,id:s},void 0,f(a.default,{hideCloseOnFullScreen:!0,shouldShowPrice:!0,upgradeToPremiumType:r,renderAnimation:function(){return r===l.PremiumTypes.TIER_1?f(i.PremiumModalHeaderAnimationTier1,{className:u.default.headerAnimation,currentStep:t,purchaseState:n}):f(i.PremiumModalHeaderAnimationTier2,{className:u.default.headerAnimation,currentStep:t,purchaseState:n})},plan:null,isGift:!1,className:u.default.header,onClose:d}))}c.displayName="PremiumSubscriptionModalHeader"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=s(n(9)),o=s(n(5962)),i=n(3),l=s(n(161)),u=s(n(6097));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){var t,n;function i(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).animationRef=null,t.currentScene=t.props.nextScene,t.isUnmounted=!1,t.handleLoopComplete=function(){var e=t.props,n=e.onSceneComplete,r=e.nextScene;null!=n&&n(t.currentScene),t.playScene(r)},t.handleComplete=function(){var e=t.props.onSceneComplete;null!=e&&e(t.currentScene)},t.handleSetRef=function(e){t.animationRef=e;var n=t.props.animationRef;null!=n&&n(e)},t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var l=i.prototype;return l.componentDidMount=function(){var e=this,t=this.props,n=t.importData,r=t.nextScene,a=t.pauseWhileUnfocused,i=t.isWindowFocused;n().then((function(t){null!=e.animationRef&&(e.animation=o.default.loadAnimation({container:e.animationRef,renderer:"svg",loop:!0,autoplay:!0,animationData:t}),e.animation.addEventListener("loopComplete",e.handleLoopComplete),e.animation.addEventListener("complete",e.handleComplete),e.playScene(r),a&&!i&&e.animation.pause())}))},l.componentWillUnmount=function(){this.isUnmounted=!0,null!=this.animation&&(this.animation.destroy(),this.animation=void 0)},l.componentDidUpdate=function(e){var t=this.props,n=t.nextScene,r=t.pauseWhileUnfocused,a=t.isWindowFocused;n!==this.currentScene&&this.shouldForcePlayAfter()&&this.playScene(n),null!=this.animation&&r&&(!e.isWindowFocused&&a?this.animation.play():e.isWindowFocused&&!a&&this.animation.pause())},l.shouldForcePlayAfter=function(){return!0===this.props.sceneSegments[this.currentScene].shouldForcePlayAfter},l.playScene=function(e){if(!this.isUnmounted){var t=this.props,n=t.onScenePlay,r=t.sceneSegments,a=r[e],o=r[this.currentScene];null==this.animation||e!==this.currentScene&&a.BEG===o.BEG&&a.END===o.END||this.animation.playSegments([a.BEG,a.END],!0),this.currentScene=e,null!=n&&n(this.currentScene)}},l.render=function(){return r.createElement("div",{ref:this.handleSetRef,className:(0,a.default)(this.props.className,u.default.wrapper)})},i}(r.PureComponent);p.displayName="SequencedLottieAnimation",p.defaultProps={pauseWhileUnfocused:!0};var v=function(e){var t=(0,i.useStateFromStores)([l.default],(function(){return l.default.isFocused()}));return r.createElement(p,f({},e,{isWindowFocused:t}))};v.displayName="SequencedLottieAnimationConnected";var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateAdditionalPlansWithPremiumGuildAdjustment=function(e,t){var n=a.default.getHardcoded(e.planId),r=a.default.getHardcodedForSkuAndInterval(i.PremiumSubscriptionSKUs.GUILD,n.interval),l=null!=e.renewalMutations?e.renewalMutations.additionalPlans:e.additionalPlans,u=(0,o.getNumPremiumGuildSubscriptions)(l)+t,s=l.filter((function(e){return e.planId!==r.id}));if(u<0)throw new Error("Invalid adjustment");if(0===u)return s;return[].concat(s,[{planId:r.id,quantity:u}])};var r,a=(r=n(257))&&r.__esModule?r:{default:r},o=n(96),i=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(9)),o=i(n(6120));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(e){var t=e.icon,n=e.iconClassName,r=e.description;return u("div",{className:o.default.perkRow},void 0,u("div",{className:o.default.perkIconContainer},void 0,u(t,{className:(0,a.default)(o.default.perkIcon,n)})),u("div",{className:o.default.perkDescription},void 0,r))}s.displayName="PremiumUpsellPerkRow"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PremiumGuildSubscriptionPlanSelect=V,t.PremiumGuildSubscriptionInvoicePreview=z,t.PremiumGuildSubscriptionReview=$,t.PremiumGuildSubscriptionConfirmation=Z;var r,a=B(n(0)),o=G(n(9)),i=G(n(23)),l=n(3),u=G(n(5674)),s=G(n(485)),d=G(n(5857)),f=G(n(160)),c=G(n(12)),p=G(n(693)),v=G(n(257)),y=G(n(29)),m=n(1149),_=G(n(6005)),h=n(5703),E=G(n(151)),g=B(n(149)),S=G(n(284)),O=n(131),I=G(n(5830)),T=G(n(5827)),C=B(n(96)),b=n(281),M=n(280),N=n(1169),A=n(5689),P=n(1237),R=G(n(5705)),L=G(n(5678)),D=n(5676),w=G(n(6049)),j=n(1),k=G(n(6)),U=G(n(6124));function G(e){return e&&e.__esModule?e:{default:e}}function F(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return F=function(){return e},e}function B(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=F();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function H(){return(H=Object.assign||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}).apply(this,arguments)}function x(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function V(e){var t=e.premiumSubscriptionPlan,n=e.numGuildSubscriptions,r=e.setNumGuildSubscriptions,u=e.premiumSubscription,s=e.onClickPremiumSubscriptionLink,d=e.existingAvailableSlots,f=void 0===d?[]:d,p=t.interval,y=(0,l.useStateFromStores)([v.default],(function(){return v.default.getForSkuAndInterval(j.PremiumSubscriptionSKUs.GUILD,p)})),h=(0,l.useStateFromStores)([c.default],(function(){return c.default.getCurrentUser()}));(0,i.default)(null!=y,"Missing premiumGuildSubscriptionPlan");var E=(0,A.usePremiumTrialOffer)(),S=C.default.isPremium(h)?y.getPriceForPremiumUser():y.price,O=(0,b.formatPrice)(S,y.currency),N=n*S,P=C.default.isPremium(h)&&null!=u?k.default.Messages.GUILD_SUBSCRIPTION_PURCHASE_MODAL_FOOTER_DISCOUNT.format({planName:C.default.getDisplayPremiumType(u.planId)}):(null!=E?k.default.Messages.GUILD_SUBSCRIPTION_PURCHASE_MODAL_FOOTER_UPSELL_TRIAL:k.default.Messages.GUILD_SUBSCRIPTION_PURCHASE_MODAL_FOOTER_UPSELL).format({onPremiumSubscriptionClick:s,discountPercentage:M.PREMIUM_GUILD_FOR_PREMIUM_USER_DISCOUNT_PERCENT,freeSubscriptionCount:M.NUM_FREE_GUILD_SUBSCRIPTIONS_WITH_PREMIUM}),L=f.filter((function(e){return e.canceled})).length;return x("div",{className:U.default.planSelectStep},void 0,x("div",{className:(0,o.default)(U.default.planSelectText,U.default.bodyText)},void 0,k.default.Messages.GUILD_SUBSCRIPTION_PURCHASE_MODAL_STEP_SELECT_DESCRIPTION),f.length>0?x("div",{className:U.default.existingSlotNotice},void 0,x(I.default,{className:U.default.existingSlotIcon,color:j.Colors.PREMIUM_GUILD_PINK}),x("div",{},void 0,k.default.Messages.GUILD_SUBSCRIPTION_PURCHASE_MODAL_UNUSED_SLOT_NOTICE.format({slotCount:f.length}),L>0&&null!=u?x(g.default,{text:k.default.Messages.PREMIUM_GUILD_SUBSCRIBE_CONFIRM_CANCEL_WARNING.format({canceledCount:L,date:u.currentPeriodEnd})},void 0,(function(e){return a.createElement(T.default,H({},e,{className:U.default.existingSlotTooltipWarningIcon,color:j.Colors.STATUS_YELLOW}))})):null)):null,x("div",{className:U.default.planSelectRow},void 0,x("div",{className:U.default.planSelectorWrapper},void 0,x(_.default,{value:n,onChange:function(e){return r(e)},className:U.default.planSelector,minValue:1,maxValue:30}),x("div",{className:U.default.planSelectorLabel},void 0,k.default.Messages.GUILD_SUBSCRIPTION_PURCHASE_MODAL_COUNTER)),x("div",{className:U.default.planSelectorPreviewPrice},void 0,p===j.SubscriptionIntervalTypes.MONTH?k.default.Messages.BILLING_PRICE_PER_MONTH_EACH.format({price:O}):p===j.SubscriptionIntervalTypes.YEAR?k.default.Messages.BILLING_PRICE_PER_YEAR_EACH.format({price:O}):null)),x("div",{className:U.default.planSelectDivider}),x("div",{className:U.default.planSelectRow},void 0,x("div",{className:U.default.planSelectorSubtotal},void 0,k.default.Messages.GUILD_SUBSCRIPTION_PURCHASE_MODAL_SUBTOTAL),x("div",{className:U.default.planSelectorSubtotalPrice},void 0,x(R.default,{price:N,currency:y.currency,intervalType:p}))),x(w.default,{text:P,color:m.GradientCssUrls.PREMIUM_TIER_2}))}function W(e){var t=v.default.get(e);switch((0,i.default)(null!=t,"Missing subscriptionPlan"),t.interval){case j.SubscriptionIntervalTypes.MONTH:return k.default.Messages.PREMIUM_GUILD_PLAN_MONTH;case j.SubscriptionIntervalTypes.YEAR:return k.default.Messages.PREMIUM_GUILD_PLAN_YEAR}throw new Error("Unexpected subscriptionPlan: "+e)}V.displayName="PremiumGuildSubscriptionPlanSelect";var Y=x(P.PremiumInvoiceTableDivider,{});function z(e){var t=e.premiumSubscription,n=e.premiumSubscriptionPlan,r=e.proratedInvoicePreview,o=e.renewalInvoicePreview,u=n.interval,s=(0,l.useStateFromStores)([v.default],(function(){return v.default.getForSkuAndInterval(j.PremiumSubscriptionSKUs.GUILD,u)}));(0,i.default)(null!=s,"Missing premiumGuildSubscriptionPlan");var d=function(e){return(0,N.coalesceInvoiceItems)(r.invoiceItems).find((function(t){return(t.subscriptionPlanId===j.SubscriptionPlans.PREMIUM_MONTH_GUILD||t.subscriptionPlanId===j.SubscriptionPlans.PREMIUM_YEAR_GUILD)&&e(t)}))},f=d((function(e){return e.amount>=0}));(0,i.default)(null!=f,"Missing guild subscription invoice item");var c=d((function(e){return e.amount<0})),p=null!=c?f.quantity-c.quantity:f.quantity,y=r.invoiceItems.filter((function(e){return(0,C.isPremiumBaseSubscriptionPlan)(e.subscriptionPlanId)})),m=y.reduce((function(e,t){return e+t.amount}),0),_=(0,N.getItemUnitPriceWithDiscount)(f)*p,h=(0,b.formatRate)((0,b.formatPrice)(_,r.currency),u),E=(0,b.formatPrice)(r.total,r.currency),g=r.total-_-m,S=f.discounts.map((function(e){return H({},e,{amount:e.amount/f.quantity*p})}));return a.createElement(a.Fragment,null,x(D.SubscriptionPeriodResetNotice,{proratedInvoice:r,renewalInvoice:o}),x(P.PremiumInvoiceTable,{},void 0,x(P.PremiumInvoiceTableHeader,{},void 0,k.default.Messages.GUILD_SUBSCRIPTION_PURCHASE_MODAL_PURCHASE_DETAILS_HEADER),x(P.PremiumInvoiceDiscountedTableRow,{label:k.default.Messages.GUILD_SUBSCRIPTION_PURCHASE_MODAL_INVOICE_ROW_CONTENT.format({numGuildSubscriptions:p,planName:W(s.id)}),value:h,discounts:S,originalAmount:f.subscriptionPlanPrice*p,currency:s.currency,interval:s.interval}),0!==m?x(P.PremiumInvoiceTableRow,{label:x(D.PremiumInvoiceLabelWithAdjustment,{label:k.default.Messages.PREMIUM_SUBSCRIPTION_PLAN_ADJUSTMENT.format({planName:(0,C.getTierDisplayName)(y[0].subscriptionPlanId)}),tooltipText:k.default.Messages.PREMIUM_SUBSCRIPTION_ADJUSTMENT_TOOLTIP}),value:(0,b.formatPrice)(m,r.currency)}):null,0!==g?x(P.PremiumInvoiceTableRow,{label:x(D.PremiumInvoiceLabelWithAdjustment,{label:k.default.Messages.PREMIUM_SUBSCRIPTION_GUILD_SUBSCRIPTION_ADJUSTMENT,tooltipText:k.default.Messages.PREMIUM_SUBSCRIPTION_ADJUSTMENT_TOOLTIP}),value:(0,b.formatPrice)(g,r.currency)}):null,Y,x(P.PremiumInvoiceTableTotalRow,{label:(r.taxInclusive?k.default.Messages.BILLING_INVOICE_TODAY_TOTAL_TAX_INCLUSIVE:k.default.Messages.BILLING_INVOICE_TODAY_TOTAL).format(),value:E}),x(D.SubscriptionInvoiceFooter,null!=t?{premiumSubscription:t,proratedInvoice:r,renewalInvoice:o,isUpdate:!0}:{renewalInvoice:o})))}var K=x("div",{},void 0,x(E.default,{}));function $(e){var t,n=e.paymentSources,r=e.paymentSourceId,o=e.currentPremiumSubscription,i=e.premiumSubscriptionPaymentSourceId,d=e.premiumSubscriptionPlan,c=e.newAdditionalPlans,v=e.onPaymentSourceChange,y=e.onPaymentSourceAdd,m=e.onPurchaseTermsChange,_=e.legalTermsNodeRef,h=e.hasLegalTermsFlash,E=(0,l.useStateFromStores)([p.default],(function(){return null!=i?p.default.getPaymentSource(i):null})),S=(0,l.useStateFromStores)([f.default],(function(){return f.default.hidePersonalInformation}));t=null!=o?(0,C.getItemsWithUpsertedPremiumGuildPlan)(o,c[0].quantity,c[0].planId):c;var I=(0,N.useSubscriptionInvoicePreview)({subscriptionId:null==o?void 0:o.id,items:t,renewal:!1,applyEntitlements:!0})[0],T=(0,N.useSubscriptionInvoicePreview)({subscriptionId:null==o?void 0:o.id,items:t,renewal:!0})[0];return x("div",{className:U.default.reviewStep},void 0,null!=I&&null!=T?x(z,{premiumSubscription:o,premiumSubscriptionPlan:d,proratedInvoicePreview:I,renewalInvoicePreview:T}):null,x("div",{className:U.default.paymentSourceWrapper},void 0,x(O.FormTitle,{tag:O.FormTitleTags.H5},void 0,k.default.Messages.PAYMENT_SOURCE_PAYMENT_REQUEST_INFO_TITLE),null!=i?null!=E?x(g.TooltipContainer,{text:k.default.Messages.GUILD_SUBSCRIPTION_PURCHASE_MODAL_PAYMENT_SOURCE_TOOLTIP},void 0,x(u.default,{paymentSources:[E],selectedPaymentSourceId:E.id,hidePersonalInformation:S,disabled:!0})):K:x(u.default,{paymentSources:Object.values(n),selectedPaymentSourceId:r,onChange:v,onPaymentSourceAdd:y,hidePersonalInformation:S})),a.createElement(L.default,{isActive:h,ref:_},x(s.default,{onChange:m,forceShow:!0,finePrint:C.default.getLegalString(d.interval)})))}function Z(e){var t,n=e.onClose,r=e.guild,o=e.guildSubscriptionQuantity,i=e.isTransfer,l=void 0!==i&&i,u=e.withAnimation,s=void 0===u||u,f=a.useContext(S.default),c=a.useState(h.PremiumPaymentGuildAnimation.Scenes.ENTRY),p=c[0],v=c[1],m=a.useState(!1),_=m[0],E=m[1];return t=l?null==r?k.default.Messages.GUILD_SUBSCRIPTION_PURCHASE_MODAL_TRANSFERRED_DESCRIPTION_GENERIC_GUILD.format():k.default.Messages.GUILD_SUBSCRIPTION_PURCHASE_MODAL_TRANSFERRED_DESCRIPTION.format({guildName:r.name}):null==r?k.default.Messages.GUILD_SUBSCRIPTION_PURCHASE_MODAL_ACTIVATED_DESCRIPTION_GENERIC_GUILD.format({guildSubscriptionQuantity:o}):k.default.Messages.GUILD_SUBSCRIPTION_PURCHASE_MODAL_ACTIVATED_DESCRIPTION.format({guildName:r.name,guildSubscriptionQuantity:o}),x("div",{className:U.default.confirmationContainer},void 0,s?x(h.PremiumPaymentGuildAnimation,{className:U.default.confirmationAnimation,nextScene:p,onScenePlay:function(e){if(!_)switch(e){case h.PremiumPaymentGuildAnimation.Scenes.ENTRY:return v(h.PremiumPaymentGuildAnimation.Scenes.IDLE);case h.PremiumPaymentGuildAnimation.Scenes.IDLE:return v(h.PremiumPaymentGuildAnimation.Scenes.SUCCESS);case h.PremiumPaymentGuildAnimation.Scenes.SUCCESS:return E(!0),v(h.PremiumPaymentGuildAnimation.Scenes.IDLE)}},pauseWhileUnfocused:!1}):null,x(d.default,{className:U.default.confirmationUpgradedBanner,theme:f,premiumType:j.PremiumTypes.TIER_2,type:d.default.Types.PREMIUM_GUILD_SUBSCRIPTION_ACTIVATED}),x("div",{className:U.default.confirmationText},void 0,t),x(y.default,{onClick:n},void 0,k.default.Messages.GUILD_SUBSCRIPTION_PURCHASE_MODAL_ACTIVATED_CLOSE_BUTTON))}$.displayName="PremiumGuildSubscriptionReview",Z.displayName="PremiumGuildSubscriptionConfirmation"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(9)),i=c(n(88)),l=c(n(61)),u=c(n(153)),s=c(n(5951)),d=c(n(6010)),f=c(n(6122));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e){return""===e||"-"===e}var m=function(e){var t,n,r=e.value,c=e.onChange,p=e.className,m=e.minValue,_=e.maxValue,h=a.useState(r),E=h[0],g=h[1],S=function(e){c(y(e)?0:e),g(e)};return v(i.default,{within:!0},void 0,v("div",{className:(0,o.default)(f.default.actions,p)},void 0,v(l.default,{onClick:function(){y(E)||null!=m&&E<=m||S(E-1)},tabIndex:-1,className:(0,o.default)(f.default.iconWrapper,f.default.subtract)},void 0,v(d.default,{className:(0,o.default)(f.default.icon,(t={},t[f.default.disabled]=y(E)||null!=m&&E<=m,t))})),v(u.default,{value:""+E,onChange:function(e){if(y(e))return S(e);var t=parseInt(e);return isNaN(t)?void 0:S(null!=_&&t>=_?_:null!=m&&t<=m?m:t)},inputClassName:f.default.value}),v(l.default,{onClick:function(){y(E)||null!=_&&E>=_||S(E+1)},tabIndex:-1,className:(0,o.default)(f.default.iconWrapper,f.default.add)},void 0,v(s.default,{className:(0,o.default)(f.default.icon,(n={},n[f.default.disabled]=y(E)||null!=_&&E>=_,n))}))))};m.displayName="NumberInputStepper";var _=m;t.default=_},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i=w(n(0)),l=n(377),u=L(n(3)),s=L(n(2)),d=w(n(287)),f=w(n(5692)),c=w(n(5837)),p=L(n(5673)),v=L(n(5833)),y=L(n(5693)),m=L(n(5690)),_=L(n(29)),h=L(n(55)),E=L(n(1164)),g=n(131),S=n(35),O=L(n(16)),I=n(295),T=L(n(5846)),C=L(n(5853)),b=L(n(5842)),M=L(n(5843)),N=n(5844),A=n(1),P=L(n(6)),R=L(n(6108));function L(e){return e&&e.__esModule?e:{default:e}}function D(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return D=function(){return e},e}function w(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=D();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function j(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function k(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){j(o,r,a,i,l,"next",e)}function l(e){j(o,r,a,i,l,"throw",e)}i(void 0)}))}}function U(){return(U=Object.assign||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}).apply(this,arguments)}function G(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function F(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function B(e,t){return(B=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}!function(e){e.PAYMENT_TYPE="payment_type",e.CARD_INFO="card_info",e.ADDRESS="billing_address",e.PAYMENT_REQUEST_INFO="payment_request_info",e.PAYPAL="paypal"}(o||(o={}));var H=((r={})[o.PAYMENT_TYPE]=P.default.Messages.PAYMENT_SOURCE_TYPE,r[o.PAYMENT_REQUEST_INFO]=P.default.Messages.BILLING_STEP_PAYMENT_INFO,r[o.CARD_INFO]=P.default.Messages.PAYMENT_SOURCE_INFORMATION,r[o.ADDRESS]=P.default.Messages.BILLING_ADDRESS,r[o.PAYPAL]=P.default.Messages.PAYMENT_SOURCE_PAYPAL_DETAILS,r),x=[o.PAYMENT_TYPE,o.CARD_INFO,o.ADDRESS],V=[o.PAYMENT_TYPE,o.PAYPAL,o.ADDRESS],W=[o.PAYMENT_TYPE,o.PAYMENT_REQUEST_INFO];function Y(e){return e.hasCardError()?o.CARD_INFO:e.hasAddressError()?o.ADDRESS:null}var z=G(M.default,{}),K=function(e){var t,n;function r(){for(var t,n,r=arguments.length,a=new Array(r),u=0;u<r;u++)a[u]=arguments[u];return(n=e.call.apply(e,[this].concat(a))||this).state={type:A.PaymentSourceTypes.CARD,step:o.PAYMENT_TYPE,steps:x,errorStep:null,stripeToken:null,tokenSubmitting:!1},n.STEPS_DATA=((t={})[o.PAYMENT_TYPE]={renderBody:function(){return G(b.default,{allowStripeRequestPayments:!O.default.embedded,onChooseType:n.handleChooseType,onStripePaymentMethodReceived:n.handleStripePaymentMethod})}},t[o.PAYMENT_REQUEST_INFO]={renderBody:function(){var e=n.props,t=e.stripePaymentMethod,r=e.submitting;return G(N.PaymentRequestStepBody,{stripePaymentMethod:t,submitting:r})},renderNextButton:function(){var e=n.props.submitting;return G(_.default,{submitting:e,look:_.default.Looks.OUTLINED,disabled:!0})}},t[o.CARD_INFO]={renderBody:function(){var e=n.props.error,t=null!=e&&(null==e.code||Y(e)===o.CARD_INFO);return i.createElement(i.Fragment,null,t?G(E.default,{className:R.default.errorBlock},void 0,P.default.Messages.BILLING_ERROR_SECTION_CARD):null,G(C.default,{onCardInfoChange:n.handleCardInfoChange,error:t?e:null}))},renderNextButton:function(){var e=n.props.isCreditCardInfoValid,t=n.state.tokenSubmitting;return G(l.ElementsConsumer,{},void 0,(function(r){var a=r.stripe,o=r.elements;return G(_.default,{disabled:!e,onClick:function(){n.createToken(a,o)},type:"submit",submitting:t},void 0,P.default.Messages.NEXT)}))}},t[o.ADDRESS]={renderBody:function(){var e=n.props,t=e.billingAddressInfo,r=e.error,a=null!=r&&(null==r.code||Y(r)===o.ADDRESS);return G(i.Fragment,{},void 0,a?G(E.default,{className:R.default.errorBlock},void 0,P.default.Messages.BILLING_ERROR_SECTION_ADDRESS):null,i.createElement(T.default,U({},t,{onBillingAddressChange:n.handleBillingAddressChange,error:a?r:null})))},renderNextButton:function(){var e=n.props,t=e.submitting,r=e.isBillingAddressInfoValid;return G(l.ElementsConsumer,{},void 0,(function(e){var a=e.stripe;return G(_.default,{type:"submit",submitting:t,disabled:!r,onClick:n.state.type===A.PaymentSourceTypes.PAYPAL?n.handlePaypalSave:function(){n.handleCardSave(a)}},void 0,P.default.Messages.SAVE)}))}},t[o.PAYPAL]={renderBody:function(){return z},renderNextButton:function(){var e=n.props,t=e.submitting,r=e.braintreeNonce,a=null!=e.braintreeEmail&&null!=r;return G(_.default,{submitting:t,color:a?_.default.Colors.BRAND:_.default.Colors.PRIMARY,onClick:a?n.handleNextClick:n.handleReopenPaypal},void 0,a?P.default.Messages.NEXT:P.default.Messages.PAYMENT_SOURCE_PAYPAL_REOPEN)}},t),n.handleChooseType=function(e){var t=n.getSteps(e),r=n.getNextStep(t);null!=r&&n.setState({type:e,steps:t,step:r})},n.handleCardInfoChange=function(e,t){s.default.wait((function(){return c.updateCardInfo(e,t)}))},n.handleBillingAddressChange=function(e,t){s.default.wait((function(){return c.updateAddressInfo(e,t)}))},n.handleBackClick=function(){var e=n.getPreviousStep();null!=e&&(e===o.PAYMENT_TYPE&&c.clearError(),n.setState({step:e}))},n.handleNextClick=function(){var e=n.getNextStep();null!=e&&n.setState({step:e})},n.handleClose=function(){n.props.onClose()},n.handleStripePaymentMethod=function(e){c.updateStripePaymentRequest(e),null!=e?n.handleStripePaymentRequestSave(e):n.handleBackClick()},n.handleStripePaymentRequestSave=function(){var e=k(regeneratorRuntime.mark((function e(t){var r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,d.createPaymentRequestPaymentSource(t);case 3:r=e.sent,(a=n.props.onAddPaymentSource)&&a(r),n.handleClose(),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(0);case 11:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t){return e.apply(this,arguments)}}(),n.createToken=function(){var e=k(regeneratorRuntime.mark((function e(t,r){var a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.setState({tokenSubmitting:!0}),e.prev=1,e.next=4,d.createCardToken(t,r);case 4:a=e.sent,n.setState({stripeToken:a}),n.handleNextClick(),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(1);case 11:return e.prev=11,n.setState({tokenSubmitting:!1}),e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[1,9,11,14]])})));return function(t,n){return e.apply(this,arguments)}}(),n.handleCardSave=function(){var e=k(regeneratorRuntime.mark((function e(t){var r,a,o,i,l,u,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.props,a=r.billingAddressInfo,o=r.isCreditCardInfoValid,i=r.isBillingAddressInfoValid,l=r.onAddPaymentSource,u=n.state.stripeToken,o&&i){e.next=4;break}return e.abrupt("return");case 4:return e.prev=4,e.next=7,d.createCardPaymentSource({stripe:t,token:u,billingAddress:a,type:A.PaymentSourceTypes.CARD});case 7:s=e.sent,l&&l(s),n.handleClose(),e.next=14;break;case 12:e.prev=12,e.t0=e.catch(4);case 14:case"end":return e.stop()}}),e,null,[[4,12]])})));return function(t){return e.apply(this,arguments)}}(),n.handlePaypalSave=k(regeneratorRuntime.mark((function e(){var t,r,a,o,i,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.props,r=t.braintreeEmail,a=t.braintreeNonce,o=t.billingAddressInfo,i=t.onAddPaymentSource,null==r||null==a){e.next=12;break}return e.prev=2,e.next=5,d.createPaypalPaymentSource(a,o);case 5:l=e.sent,i&&i(l),n.handleClose(),e.next=12;break;case 10:e.prev=10,e.t0=e.catch(2);case 12:case"end":return e.stop()}}),e,null,[[2,10]])}))),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,B(t,n),r.getDerivedStateFromProps=function(e,t){var n=e.error,r=t.errorStep;if(null==n)return null==r?null:{errorStep:null};var a=Y(n);return null!=a&&a!==t.errorStep?{step:a,errorStep:a}:null};var a,u,v,y=r.prototype;return y.componentDidMount=function(){f.createClient()},y.componentWillUnmount=function(){s.default.wait((function(){return f.teardown()})),c.clearCardInfo()},y.getSteps=function(e){switch(null!=e?e:this.state.type){case A.PaymentSourceTypes.PAYMENT_REQUEST:return W;case A.PaymentSourceTypes.PAYPAL:return V;default:return x}},y.getNextStep=function(e){void 0===e&&(e=this.state.steps);var t=this.state.step,n=e.indexOf(t);return e[n+1]},y.getPreviousStep=function(e){void 0===e&&(e=this.state.steps);var t=this.state.step,n=e.indexOf(t);return e[n-1]},y.preventDefault=function(e){e.preventDefault()},y.handleReopenPaypal=function(){f.reopenPayPalWindow()},y.renderGenericError=function(){var e=this.props.error;return null==e||null!=Y(e)?null:G(E.default,{className:R.default.errorBlock},void 0,e.message)},y.renderFooter=function(){var e=this.stepData;return null==e.renderNextButton?null:G(S.ModalFooter,{},void 0,G(h.default,{justify:h.default.Justify.BETWEEN},void 0,G(_.default,{onClick:this.handleBackClick,color:_.default.Colors.PRIMARY,look:_.default.Looks.LINK,size:_.default.Sizes.MIN},void 0,P.default.Messages.BACK),e.renderNextButton()))},y.render=function(){var e=this.state,t=e.step,n=e.steps,r=this.props.transitionState,a=n.map((function(e){return{id:e,label:H[e]}}));return G(l.Elements,{options:A.StripeElementsOptions,stripe:(0,I.ensureStripeV3IsLoaded)()},void 0,G(S.ModalRoot,{transitionState:r,size:S.ModalSize.SMALL,className:R.default.modal,"aria-label":P.default.Messages.PAYMENT_SOURCES_ADD},void 0,G("form",{className:R.default.form,onSubmit:this.preventDefault},void 0,G(S.ModalHeader,{direction:h.default.Direction.VERTICAL,align:h.default.Align.STRETCH,separator:!1},void 0,G(h.default,{className:R.default.modalTitle,justify:h.default.Justify.BETWEEN,align:h.default.Align.CENTER},void 0,G(g.FormTitle,{tag:g.FormTitleTags.H4},void 0,P.default.Messages.PAYMENT_SOURCES_ADD),G(S.ModalCloseButton,{hideOnFullscreen:!0,onClick:this.handleClose})),this.renderGenericError(),G(m.default,{breadcrumbs:a,activeId:t})),G("div",{className:R.default.divider}),G(p.default,{fillParent:!0,className:R.default.sequencer,step:t,steps:n},void 0,G(S.ModalContent,{className:R.default.content},void 0,this.stepData.renderBody())),this.renderFooter())))},a=r,(u=[{key:"stepData",get:function(){var e=this.state.step,t=this.STEPS_DATA[e];if(null==t)throw new Error("Invalid step "+e);return t}}])&&F(a.prototype,u),v&&F(a,v),r}(i.PureComponent);K.displayName="AddPaymentModal";var $=u.default.connectStores([y.default,v.default],(function(){return{braintreeEmail:y.default.braintreeEmail,braintreeNonce:y.default.braintreeNonce,stripePaymentMethod:y.default.stripePaymentMethod,creditCardInfo:y.default.getCreditCardInfo(),isCreditCardInfoValid:y.default.isCardInfoValid,billingAddressInfo:y.default.getBillingAddressInfo(),isBillingAddressInfoValid:y.default.isBillingAddressInfoValid,error:y.default.error,submitting:v.default.isBusy}}))(K);t.default=$},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.useStateFromStores)([i.default],(function(){return i.default.keyboardModeEnabled})),l=r.useCallback((function(e){var n=document.querySelector(e),r=t.current;null!=n&&null!=r&&(n.focus(),r.scrollIntoViewNode({node:n,padding:80}))}),[t]),u=r.useCallback((function(){return new Promise((function(e){var n=t.current;if(null==n)return e();n.scrollTo({to:0,callback:function(){return requestAnimationFrame((function(){return e()}))}})}))}),[t]),s=r.useCallback((function(){return new Promise((function(e){var n=t.current;if(null==n)return e();n.scrollTo({to:Number.MAX_SAFE_INTEGER,callback:function(){return requestAnimationFrame((function(){return e()}))}})}))}),[t]);return(0,a.default)({id:e,isEnabled:n,setFocus:l,scrollToStart:u,scrollToEnd:s})};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=l(n(680)),o=n(3),i=l(n(105));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(55)),o=n(5703),i=n(35),l=n(5855),u=s(n(6119));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.purchaseState,n=e.currentStep,r=e.headerId,s=e.onClose,d=(0,l.usePaymentModalAnimationScene)({purchaseState:t,currentStep:n,initialScene:o.PremiumPaymentGuildAnimation.Scenes.ENTRY,purchaseScene:o.PremiumPaymentGuildAnimation.Scenes.STARS,errorScene:o.PremiumPaymentGuildAnimation.Scenes.ERROR,successScene:o.PremiumPaymentGuildAnimation.Scenes.SUCCESS}),c=d[0],p=d[1];return f(i.ModalHeader,{align:a.default.Align.START,className:u.default.header,separator:!1,id:r},void 0,f(o.PremiumPaymentGuildAnimation,{className:u.default.animation,nextScene:c,onScenePlay:function(e){return p(o.PremiumPaymentGuildAnimation.getNextScene(e))},pauseWhileUnfocused:!1}),f("div",{className:u.default.headerTitle}),f(i.ModalCloseButton,{onClick:s,className:u.default.closeButton}))}c.displayName="PremiumGuildModalHeader"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 16 16"}),s("path",{fill:d,className:f,d:"M2.66663 7.40747H7.40737H8.59255H8.66663H13.3333V8.59266H8.59255H7.40737H2.66663V7.40747Z"}))}d.displayName="Subtract"},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=c(n(29)),o=c(n(5981)),i=c(n(55)),l=n(475),u=c(n(24)),s=c(n(6)),d=c(n(6063)),f=c(n(370));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e){var t=e.title,n=e.subtitle,r=e.error,c=e.onSubmit,p=e.onCancel;return v(i.default,{direction:i.default.Direction.VERTICAL},void 0,v(l.Title,{className:f.default.marginBottom8},void 0,t),v(l.SubTitle,{className:d.default.subTitle},void 0,n),v("div",{},void 0,v(o.default,{inputClassName:d.default.codeInput,onSubmit:c}),null!=r?v(u.default,{className:d.default.error},void 0,r):null),v(a.default,{className:d.default.button,onClick:p,color:a.default.Colors.GREY},void 0,s.default.Messages.CANCEL))}y.displayName="PhoneVerify"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVerifiedName=function(e){return(0,a.default)(e).author};var r,a=(r=n(5698))&&r.__esModule?r:{default:r}},function(e,t,n){e.exports=n.p+"28503047fd0aeac02132b070329c1cb6.svg"},function(e,t,n){e.exports=n.p+"2d4cf96ac3c76b3fa6ea1ed9158554a0.svg"},function(e,t,n){e.exports=n.p+"23b15016c8e14a060dbde9727df2118c.svg"},function(e,t,n){e.exports=n.p+"d2e95b8ea969c1309e4eaae8b4bb3b08.svg"},function(e,t,n){e.exports=n.p+"6ae7c596d76e62967f9a6dc366446bb6.svg"},function(e,t,n){e.exports=n.p+"ff404dbe09573e704d939ed9b35a707d.svg"},function(e,t,n){e.exports=n.p+"cd369224be18c55496ce08756ebb46ec.svg"},function(e,t,n){e.exports=n.p+"b8612c12ba14a4b5c6573a5a38e03227.svg"},function(e,t,n){e.exports=n.p+"97fa979988ee11e532c68bf490d8a507.svg"},function(e,t,n){e.exports=n.p+"30944c93875eeed11629e90c52c12192.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(9)),i=n(122),l=n(3),u=y(n(5699)),s=y(n(105)),d=y(n(61)),f=y(n(278)),c=y(n(5834)),p=y(n(5990)),v=y(n(6069));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e){var t=e.show,n=e.alpha2,r=e.countryCode,y=(0,l.useStateFromStores)([s.default],(function(){return s.default.useReducedMotion})),m=a.useRef(null),E=a.useState(0),g=E[0],S=E[1],O=a.useState(!1),I=O[0],T=O[1];a.useEffect((function(){function e(){var e,n;S(t&&null!==(e=null===(n=m.current)||void 0===n?void 0:n.getBoundingClientRect().width)&&void 0!==e?e:0)}return e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[t,n,r]);var C=(0,i.useSpring)({width:g+"px",immediate:y,onStart:function(){T(!0)},onRest:function(){T(!1)}});return h(f.default,{position:f.default.Positions.TOP,renderPopout:function(e){return h(p.default,{className:v.default.popout,onClick:function(t){return function(e,t){c.default.setCountryCode(u.default[e]),t()}(t,e.closePopout)}})}},void 0,(function(e){var l;return h("div",{className:(0,o.default)(v.default.outerContainer,(l={},l[v.default.hidden]=!(t||I),l))},void 0,h(i.animated.div,{className:v.default.container,style:C},void 0,a.createElement("div",{className:v.default.innerContainer,ref:m},a.createElement(d.default,_({},e,{className:v.default.countryCode}),n," ",r),h("div",{className:v.default.separator}))))}))}E.displayName="CountrySelector"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=f(n(282)),l=f(n(5942)),u=f(n(1194)),s=f(n(1165)),d=f(n(6067));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,y(e,t)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var _=function(){return m(s.default,{className:d.default.divider})};_.displayName="PopoutListDivider";var h=function(e){var t=e.children;return m("div",{className:d.default.popoutListEmpty},void 0,t)};h.displayName="PopoutListEmpty";var E=function(e){function t(){return e.apply(this,arguments)||this}return v(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["className"]);return a.createElement(l.default,p({},n,{className:(0,o.default)(d.default.popoutListInput,t)}))},t}(a.PureComponent);E.displayName="PopoutListSearchBar",E.defaultProps={autoFocus:!0};var g=function(e){function t(){return e.apply(this,arguments)||this}return v(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.children;return m(i.default,{className:(0,o.default)(d.default.popoutList,t),"aria-label":this.props["aria-label"]},void 0,n)},t}(a.PureComponent);g.displayName="PopoutList",g.SearchBar=E,g.Item=u.default,g.Divider=_,g.Empty=h;var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=function(e){var t=i.useState(0),n=t[0],r=t[1],o=i.useState(!1),u=o[0],s=o[1],d=i.useState({step:a.INITIALIZING}),c=d[0],p=d[1],v=(0,f.default)(),y=i.useMemo((function(){return new l.default(1500,3e4)}),[]),m=i.useRef();m.current=i.useCallback((function(){p({step:a.INITIALIZING}),v?r((function(e){return e+1})):(P.info("document is not visible, will defer reconnection when document becomes visible."),s(!0))}),[p,r,v,s]);var _=i.useCallback((function(){!function(e){var t=e.current;if(void 0===t)throw new Error("tried to unwrap an undefined value.");return t}(m)()}),[m]);return i.useEffect((function(){v&&u&&c.step===a.INITIALIZING&&(P.info("reconnecting, now that document is visible"),s(!1),r((function(e){return e+1})))}),[c,v,u,s]),i.useEffect((function(){var t=Date.now(),n="wss:"+window.GLOBAL_ENV.REMOTE_AUTH_ENDPOINT+"/?v=1",r=new WebSocket(n);P.info("[0ms] connecting to "+n);var o=function(e){return P.info("["+(Date.now()-t)+"ms] "+e)},i=null,l=null,u=null,s=null,d=!0;function f(){if(null!=i)return i;throw new Error("No key pair set")}var c=function(){p({step:a.INITIALIZING}),y.pending||y.fail(_)},v=function(){d?(d=!1,r.send(JSON.stringify({op:"heartbeat"}))):(o("heartbeat timeout, reconnecting."),r.close(),c())};r.onmessage=function(){var t=N(regeneratorRuntime.mark((function t(n){var i,l,c,m,S,O,I,T,C,b;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=n.data,l=JSON.parse(i),t.t0=l.op,t.next="nonce_proof"===t.t0?5:"pending_remote_init"===t.t0?12:"pending_finish"===t.t0?22:"finish"===t.t0?30:"cancel"===t.t0?39:"hello"===t.t0?42:"heartbeat_ack"===t.t0?46:47;break;case 5:return c=l.encrypted_nonce,t.next=8,(0,E.computeNonceProof)(f(),c);case 8:return m=t.sent,o("computed nonce proof"),r.send(JSON.stringify({op:"nonce_proof",proof:m})),t.abrupt("return");case 12:return y.succeed(),h.ComponentDispatch.dispatch(g.ComponentActions.WAVE_EMPHASIZE),t.next=16,(0,E.publicKeyFingerprint)(f());case 16:if((S=t.sent)===l.fingerprint){t.next=19;break}throw new Error("bad fingerprint "+S+" !== "+l.fingerprint);case 19:return o("handshake complete awaiting remote auth."),p({step:a.PENDING_REMOTE_INIT,fingerprint:S}),t.abrupt("return");case 22:return h.ComponentDispatch.dispatch(g.ComponentActions.WAVE_EMPHASIZE),o("remote auth handshake started, awaiting finish/cancel."),O=l.encrypted_user_payload,t.next=27,(0,E.decodeEncodedUserRecord)(f(),O);case 27:return I=t.sent,p({step:a.PENDING_FINISH,user:I}),t.abrupt("return");case 30:return h.ComponentDispatch.dispatch(g.ComponentActions.WAVE_EMPHASIZE),o("remote auth handshake finished."),T=l.encrypted_token,p({step:a.FINISH}),t.next=36,(0,E.decryptEncodedCiphertext)(f(),T);case 36:return C=t.sent,e(C),t.abrupt("return");case 39:return o("remote auth handshake cancelled."),_(),t.abrupt("return");case 42:return o("got hello, auth timeout="+l.timeout_ms+"ms"),b=l.heartbeat_interval,s=setTimeout((function(){s=null,v(),u=setInterval(v,b)}),Math.floor(b*Math.random())),t.abrupt("return");case 46:d=!0;case 47:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),r.onopen=N(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,E.generateRsaKeyPair)();case 2:return i=e.sent,e.next=5,(0,E.serializePublicKey)(i);case 5:return l=e.sent,e.next=8,(0,E.publicKeyFingerprint)(i);case 8:t=e.sent,o("connected, handshaking with fingerprint: "+t),r.send(JSON.stringify({op:"init",encoded_public_key:l}));case 11:case"end":return e.stop()}}),e)}))),r.onclose=function(e){o("disconnected, code: "+e.code+" "+e.reason),c()},r.onerror=function(e){o("disconnected, error: "+e),c()};return function(){o("cleaning up"),r.onopen=function(){return null},r.onmessage=function(){return null},r.onclose=function(){return null},r.onerror=function(){return null},r.close(1e3),y.cancel(),null!=s&&clearTimeout(s),null!=u&&clearInterval(u)}}),[_,e,y,n]),{state:c,cancel:_}}(e.authTokenCallback),n=t.state,r=t.cancel,u=function(e){switch(e){case a.INITIALIZING:case a.PENDING_REMOTE_INIT:return o.QR_CODE;case a.PENDING_FINISH:case a.FINISH:return o.CONFIRM}}(n.step);return i.createElement(i.Fragment,null,b("div",{className:O.default.verticalSeparator}),b(p.default,{fillParent:!0,className:O.default.qrLogin,step:u,steps:[o.QR_CODE,o.CONFIRM]},void 0,b("div",{className:O.default.qrLoginInner},void 0,b(L,{state:n,cancel:r}))))};var r,a,o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),l=T(n(138)),u=n(92),s=T(n(1190)),d=T(n(5957)),f=T(n(6041)),c=T(n(26)),p=T(n(5673)),v=T(n(29)),y=T(n(151)),m=n(475),_=T(n(279)),h=n(121),E=n(6042),g=n(1),S=T(n(6)),O=T(n(6104)),I=T(n(370));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function N(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){M(o,r,a,i,l,"next",e)}function l(e){M(o,r,a,i,l,"throw",e)}i(void 0)}))}}!function(e){e[e.INITIALIZING=0]="INITIALIZING",e[e.PENDING_REMOTE_INIT=1]="PENDING_REMOTE_INIT",e[e.PENDING_FINISH=2]="PENDING_FINISH",e[e.FINISH=3]="FINISH"}(a||(a={})),function(e){e[e.QR_CODE=0]="QR_CODE",e[e.CONFIRM=1]="CONFIRM"}(o||(o={}));var A=n(1197),P=new c.default("LoginQRSocket");function R(e){var t=e.text,n=void 0===t?"":t,r=A,a=i.useState(!1),o=a[0],l=a[1];return i.useEffect((function(){var e=new Image;e.src=r,e.onload=function(){return l(!0)},e.onerror=function(){return l(!0)}}),[r]),b("div",{className:O.default.qrCodeContainer},void 0,""!==n&&o?i.createElement(i.Fragment,null,b(s.default,{className:O.default.qrCode,width:160,height:160,text:n}),b("div",{className:O.default.qrCodeOverlay},void 0,b("img",{src:r,alt:""}))):b("div",{className:O.default.qrCodeOverlay},void 0,b(y.default,{className:O.default.qrCode,type:y.default.Type.WANDERING_CUBES})))}function L(e){var t=e.state,n=e.cancel;switch(t.step){case a.INITIALIZING:case a.PENDING_REMOTE_INIT:return i.createElement(i.Fragment,null,b(R,{text:t.step===a.PENDING_REMOTE_INIT?"https://discord.com/ra/"+t.fingerprint:""}),b(m.Title,{className:I.default.marginBottom8},void 0,S.default.Messages.LOGIN_WITH_QR),b(m.SubTitle,{},void 0,S.default.Messages.LOGIN_WITH_QR_DESCRIPTION.format()));case a.PENDING_FINISH:var r=t.user;return i.createElement(i.Fragment,null,b(d.default,{className:O.default.qrAvatar,user:r,size:_.default.Sizes.SIZE_120,isMobile:!0,status:u.StatusTypes.ONLINE}),b(m.Title,{className:I.default.marginBottom8},void 0,S.default.Messages.CONFIRM_QR_CHECK_YOUR_PHONE),b(m.SubTitle,{},void 0,S.default.Messages.LOGIN_AS.format({username:r.username+"#"+r.discriminator})),b(v.default,{look:v.default.Looks.BLANK,color:v.default.Colors.LINK,size:v.default.Sizes.MIN,onClick:n,className:O.default.startOverButton},void 0,S.default.Messages.QR_CODE_LOGIN_START_OVER));case a.FINISH:return b(y.default,{type:y.default.Type.WANDERING_CUBES})}}R.displayName="QrCodeWithOverlay"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=d(n(473)),o=n(280),i=d(n(5953)),l=n(1),u=d(n(6)),s=d(n(6040));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t){return function(){a.default.open(l.UserSettingsSections.PREMIUM),null==t||t(),e()}}function v(e){var t=e.onClose,n=e.onCloseChangeIdentity,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onClose","onCloseChangeIdentity"]);return r.createElement(i.default,c({artURL:s.default,onClose:t,type:o.PremiumUpsellTypes.GUILD_MEMBER_AVATAR_MODAL,title:u.default.Messages.GUILD_MEMBER_AVATAR_UPSELL_TITLE,body:u.default.Messages.GUILD_MEMBER_AVATAR_UPSELL_BODY.format({onAndMore:p(t,n)}),premiumType:l.PremiumTypes.TIER_2},a))}v.displayName="GuildMemberAvatarUpsell"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(1184)),i=n(41),l=s(n(5993)),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),l=0;l<n;l++)r[l]=arguments[l];return(t=e.call.apply(e,[this].concat(r))||this).cancel=function(){var e=t.props.onClose;e&&e()},t.claimAccount=function(){var e=t.props.onClose;e&&e(),(0,i.openModal)((function(e){return a.createElement(o.default,e)}))},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),r.prototype.render=function(){var e=this.props.transitionState;return f(l.default,{transitionState:e,"aria-label":u.default.Messages.PREMIUM_NOT_CLAIMED},void 0,f(l.default.Header,{},void 0,u.default.Messages.PREMIUM_NOT_CLAIMED),f(l.default.Content,{type:l.default.Types.UNCLAIMED},void 0,u.default.Messages.PREMIUM_NOT_CLAIMED_BODY),f(l.default.Footer,{secondary:{onClick:this.cancel,label:u.default.Messages.NEVERMIND},primary:{onClick:this.claimAccount,label:u.default.Messages.CLAIM_ACCOUNT}}))},r}(a.Component);p.displayName="UnclaimedAccountModal";var v=p;t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNonePlanIdForIntervalType=i,t.getNonePlanIdForSubscription=function(e){return i(a.default.getHardcoded(e.items[0].planId).interval)},t.getBaseSubscriptionItemForSubscriptionItems=l,t.getBasePlanIdForSubscriptionItems=function(e,t){var n=l(e);if(null==n){if(e.length>0){var r=a.default.getHardcoded(e[0].planId);t=r.interval}return i(t)}return n.planId};var r,a=(r=n(257))&&r.__esModule?r:{default:r},o=n(1);function i(e){switch(e){case o.SubscriptionIntervalTypes.YEAR:return o.SubscriptionPlans.NONE_YEAR;case o.SubscriptionIntervalTypes.MONTH:default:return o.SubscriptionPlans.NONE_MONTH}}function l(e){return e.find((function(e){var t=a.default.getHardcoded(e.planId);return null!=t&&null!=t.premiumSubscriptionType}))}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(26)),i=p(n(29)),l=p(n(55)),u=p(n(700)),s=p(n(16)),d=n(295),f=n(1),c=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function _(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){m(o,r,a,i,l,"next",e)}function l(e){m(o,r,a,i,l,"throw",e)}i(void 0)}))}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E=new o.default("PaymentRequest"),g=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={},t.initPaymentRequest=function(){var e=_(regeneratorRuntime.mark((function e(n){var r,a,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.paymentRequest({country:"US",currency:"usd",total:{label:t.props.paymentLabel,amount:0,pending:!0},requestPayerName:!0}),a=t.props.onStripePaymentMethodReceived,r.on("paymentmethod",(function(e){var t=e.complete,n=e.paymentMethod;a(n),t("success")})),r.on("cancel",(function(){a(null)})),e.next=6,r.canMakePayment();case 6:o=e.sent,E.info("PaymentRequest availablity check",o),t.setState({canMakePayment:Boolean(o),paymentRequest:r});case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.handleOnClick=function(){(0,t.props.onChooseType)(f.PaymentSourceTypes.PAYMENT_REQUEST);var e=t.state.paymentRequest;null!=e&&e.show()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n);var a=r.prototype;return a.componentDidMount=function(){var e=this;(0,d.ensureStripeV3IsLoaded)().then((function(t){e.initPaymentRequest(t)}))},a.render=function(){var e=this.state.canMakePayment;if(null==e)return y(i.default,{submitting:!0,look:i.default.Looks.FILLED});if(!1===e)return y(i.default,{disabled:!0,look:i.default.Looks.FILLED},void 0,c.default.Messages.PAYMENT_SOURCE_PAYMENT_REQUEST_UNSUPPORTED);var t=s.default.isAndroidChrome(),n=t?c.default.Messages.PAYMENT_SOURCE_PAYMENT_REQUEST_BUTTON_GPAY:c.default.Messages.PAYMENT_SOURCE_PAYMENT_REQUEST_BUTTON_GENERIC,r=t?u.default.Types.G_PAY:u.default.Types.PAYMENT_REQUEST,a=this.props,o=a.className,d=a.iconClassName;return y(i.default,{onClick:this.handleOnClick,className:o},f.PaymentSourceTypes.PAYMENT_REQUEST,y(l.default,{align:l.default.Align.CENTER},void 0,y(u.default,{className:d,type:r}),n))},r}(a.Component);g.displayName="StripePaymentRequest";var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwaitingAuthenticationStepBody=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(681)),o=l(n(159)),i=l(n(6));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=function(e){var t=e.className;return s(a.default,{className:t},void 0,s(o.default,{},void 0,i.default.Messages.PAYMENT_WAITING_FOR_AUTHENTICATION))};t.AwaitingAuthenticationStepBody=d,d.displayName="AwaitingAuthenticationStepBody"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),l=n(377),u=v(n(9)),s=v(n(700)),d=n(153),f=v(n(6)),c=v(n(6091)),p=v(n(1244));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e){var t=i.useRef(null),n=e.stripeType,r=e.flipped,v=e.updateCompleted,y=e.onFocus,_=e.onBlur,h=i.useState("unknown"),E=h[0],g=h[1],S=i.useState(!1),O=S[0],I=S[1],T=i.useState(!1),C=T[0],b=T[1],M=i.useState(null),N=M[0],A=M[1],P=i.useState({}),R=P[0],L=P[1],D=(0,l.useElements)(),w=i.useCallback((function(){if(D)switch(n){case a.CardNumber:var e=D.getElement(l.CardNumberElement);if(!e)return;e.off(o.Change),e.off(o.Focus),e.off(o.Blur);break;case a.CardExpiry:var t=D.getElement(l.CardExpiryElement);if(!t)return;t.off(o.Change),t.off(o.Focus),t.off(o.Blur);break;case a.CardCvc:var r=D.getElement(l.CardCvcElement);if(!r)return;r.off(o.Change),r.off(o.Focus),r.off(o.Blur)}}),[D,n]),j=i.useCallback((function(e){C||e.empty||b(!0),v&&v(e.complete),e.error&&I(!1)}),[C,v]),k=i.useCallback((function(){I(!0),y&&y()}),[y]),U=i.useCallback((function(){I(!1),_&&_()}),[_]),G=i.useCallback((function(){if(D)switch(n){case a.CardNumber:var e=D.getElement(l.CardNumberElement);if(!e)return;e.on(o.Change,(function(e){E!==e.brand&&g(e.brand),e.empty&&C?A(f.default.Messages.CREDIT_CARD_ERROR_REQUIRED):e.error?A(f.default.Messages.CREDIT_CARD_ERROR_NUMBER):A(null),j(e)})),e.on(o.Focus,k),e.on(o.Blur,U);break;case a.CardExpiry:var t=D.getElement(l.CardExpiryElement);if(!t)return;t.on(o.Change,(function(e){e.error||e.empty&&C?A(f.default.Messages.CREDIT_CARD_ERROR_EXPIRATION):A(null),j(e)})),t.on(o.Focus,k),t.on(o.Blur,U);break;case a.CardCvc:var r=D.getElement(l.CardCvcElement);if(!r)return;r.on(o.Change,(function(e){e.error||e.empty&&C?A(f.default.Messages.CREDIT_CARD_ERROR_SECURITY_CODE):A(null),j(e)})),r.on(o.Focus,k),r.on(o.Blur,U)}}),[U,j,k,E,D,C,n]);function F(){var e;return(0,u.default)(c.default.cardInput,((e={})[c.default.cardInputError]=null!==N,e[c.default.cardInputFocused]=O,e[c.default.cardNumberInput]="cardNumber"===n,e))}return i.useEffect((function(){return G(),function(){w()}}),[G,w]),i.useLayoutEffect((function(){var e=t.current;if(e){var n=window.getComputedStyle(e),r=n.getPropertyValue("font-family"),a=n.getPropertyValue("font-weight"),o=n.getPropertyValue("color"),i=n.getPropertyValue("font-size");L({base:{fontFamily:r,fontWeight:a,color:o,fontSize:i}})}}),[t]),m("div",{className:(0,u.default)(c.default.cardNumberWrapper)},void 0,i.createElement("div",{ref:t,className:(0,u.default)(c.default.hiddenDiv,p.default.input)}),function(){switch(n){case a.CardNumber:return i.createElement(i.Fragment,null,m(s.default,{className:c.default.cardIcon,type:E,flipped:r}),m(l.CardNumberElement,{options:{style:R,placeholder:f.default.Messages.CREDIT_CARD_NUMBER_INPUT_PLACEHOLDER},className:F()}));case a.CardExpiry:return m(l.CardExpiryElement,{options:{style:R,placeholder:f.default.Messages.CREDIT_CARD_EXPIRATION_DATE_INPUT_PLACEHOLDER},className:F()});case a.CardCvc:return m(l.CardCvcElement,{options:{style:R,placeholder:f.default.Messages.CREDIT_CARD_CVC_INPUT_PLACEHOLDER},className:F()})}}(),m(d.Error,{error:N}))}!function(e){e.CardNumber="cardNumber",e.CardExpiry="cardExpiry",e.CardCvc="cardCvc"}(a||(a={})),function(e){e.Change="change",e.Focus="focus",e.Blur="blur"}(o||(o={})),_.displayName="StripeInput";var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=m(n(9)),o=m(n(257)),i=m(n(61)),l=m(n(5998)),u=m(n(1151)),s=m(n(5706)),d=n(272),f=n(280),c=m(n(5705)),p=n(1),v=m(n(6)),y=m(n(6094));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e){var t=e.onClick,n=o.default.getHardcodedForSkuAndInterval(p.PremiumSubscriptionSKUs.TIER_2,p.SubscriptionIntervalTypes.MONTH),r=o.default.getHardcodedForSkuAndInterval(p.PremiumSubscriptionSKUs.TIER_2,p.SubscriptionIntervalTypes.YEAR);return h(i.default,{onClick:t,className:(0,a.default)(y.default.button,y.default.tier2),focusProps:{offset:8}},void 0,h("div",{className:y.default.tier2Image}),h("div",{className:y.default.description},void 0,h(l.default,{className:(0,a.default)(y.default.tierTitle)}),h("div",{className:y.default.text},void 0,v.default.Messages.BILLING_SWITCH_PLAN_TIER_2_DESCRIPTION.format({numFreeGuildSubscriptions:f.NUM_FREE_GUILD_SUBSCRIPTIONS_WITH_PREMIUM}))),h("div",{className:y.default.priceWrapper},void 0,h(c.default,{price:n.price,currency:n.currency,intervalType:n.interval,className:y.default.price}),h(c.default,{price:r.price,currency:r.currency,intervalType:r.interval,className:y.default.price})))}E.displayName="PremiumTier2Button";var g=h("div",{},void 0,h(u.default,{}));function S(e){var t=e.onClick,n=o.default.getHardcodedForSkuAndInterval(p.PremiumSubscriptionSKUs.TIER_1,p.SubscriptionIntervalTypes.MONTH),r=o.default.getHardcodedForSkuAndInterval(p.PremiumSubscriptionSKUs.TIER_1,p.SubscriptionIntervalTypes.YEAR);return h(i.default,{onClick:t,className:(0,a.default)(y.default.button,y.default.tier1),focusProps:{offset:4}},void 0,h("div",{className:y.default.tier1Image}),h("div",{className:y.default.description},void 0,g,h(s.default,{className:(0,a.default)(y.default.tierTitle)}),h("div",{className:y.default.text},void 0,v.default.Messages.BILLING_SWITCH_PLAN_TIER_1_DESCRIPTION)),h("div",{className:y.default.priceWrapper},void 0,h(c.default,{price:n.price,currency:n.currency,intervalType:n.interval,className:y.default.price}),h(c.default,{price:r.price,currency:r.currency,intervalType:r.interval,className:y.default.price})))}function O(e){var t=e.onSelectSku;return h(d.ScrollerThin,{className:y.default.skuButtons},void 0,h(E,{onClick:function(){return t(p.PremiumSubscriptionSKUs.TIER_2)}}),h(S,{onClick:function(){return t(p.PremiumSubscriptionSKUs.TIER_1)}}))}S.displayName="PremiumTier1Button",O.displayName="PremiumSelectPlanOptions";var I=O;t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=v(n(9)),o=v(n(55)),i=v(n(5845)),l=v(n(5706)),u=n(35),s=v(n(96)),d=n(281),f=n(1),c=v(n(6)),p=v(n(6096));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e){var t,n,r=e.hideCloseOnFullScreen,v=e.shouldShowPrice,y=e.plan,_=e.renderAnimation,h=e.onClose,E=e.isGift,g=e.upgradeToPremiumType,S=e.className,O=g===f.PremiumTypes.TIER_1,I=O?l.default:i.default;return m("div",{className:(0,a.default)((t={},t[p.default.tier1HeaderBackground]=g===f.PremiumTypes.TIER_1,t[p.default.tier2HeaderBackground]=g!==f.PremiumTypes.TIER_1,t),S)},void 0,_(),m(o.default,{align:o.default.Align.START,justify:o.default.Justify.BETWEEN,className:p.default.headerTop},void 0,m(I,{className:(0,a.default)(p.default.headerIcon,(n={},n[p.default.tier1]=O,n))}),m(u.ModalCloseButton,{hideOnFullscreen:r,onClick:h,className:p.default.closeButton})),v&&null!=y?m("div",{className:p.default.price},void 0,function(e,t){var n=s.default.getPrice(e),r=s.default.getInterval(e),a=(0,d.formatPrice)(n.amount,n.currency);if(t)return a;switch(r){case f.SubscriptionIntervalTypes.MONTH:return c.default.Messages.BILLING_PRICE_PER_MONTH.format({price:a});case f.SubscriptionIntervalTypes.YEAR:return c.default.Messages.BILLING_PRICE_PER_YEAR.format({price:a})}}(y,E)):null)}_.displayName="PremiumPaymentHeader";var h=_;t.default=h},,function(e,t,n){e.exports=n.p+"34114e043c66bd7887676e126bc959c0.png"},function(e,t,n){e.exports=n.p+"31929b1f4d81646cd9bff2c185119619.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,r.useState)(a()),t=e[0],n=e[1];return(0,r.useEffect)((function(){function e(){n(a())}return window.addEventListener("visibilitychange",e),function(){window.removeEventListener("visibilitychange",e)}}),[n]),t};var r=n(0);function a(){return"undefined"==typeof document||"visible"===document.visibilityState}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateRsaKeyPair=function(){return window.crypto.subtle.generateKey({name:"RSA-OAEP",modulusLength:2048,publicExponent:new Uint8Array([1,0,1]),hash:"SHA-256"},!0,["decrypt"])},t.serializePublicKey=function(e){return l.apply(this,arguments)},t.publicKeyFingerprint=function(e){return u.apply(this,arguments)},t.sha256Digest=s,t.decryptEncodedCiphertext=p,t.computeNonceProof=function(e,t){return y.apply(this,arguments)},t.decodeEncodedUserRecord=function(e,t){return m.apply(this,arguments)};var r,a=(r=n(89))&&r.__esModule?r:{default:r};function o(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function l(e){o(i,r,a,l,u,"next",e)}function u(e){o(i,r,a,l,u,"throw",e)}l(void 0)}))}}function l(){return(l=i(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,window.crypto.subtle.exportKey("spki",t.publicKey);case 2:return n=e.sent,e.abrupt("return",btoa(String.fromCharCode.apply(String,new Uint8Array(n))));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function u(){return(u=i(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,window.crypto.subtle.exportKey("spki",t.publicKey);case 2:return n=e.sent,e.abrupt("return",s(n));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function s(e){return d.apply(this,arguments)}function d(){return(d=i(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,window.crypto.subtle.digest("SHA-256",t);case 2:return n=e.sent,e.abrupt("return",btoa(String.fromCharCode.apply(String,new Uint8Array(n))).replace(/\//g,"_").replace(/\+/g,"-").replace(/={1,2}$/,""));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(e){return Uint8Array.from(atob(e),(function(e){return e.charCodeAt(0)}))}function c(e,t){return window.crypto.subtle.decrypt({name:"RSA-OAEP"},e.privateKey,t)}function p(e,t){return v.apply(this,arguments)}function v(){return(v=i(regeneratorRuntime.mark((function e(t,n){var r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new TextDecoder,e.next=3,c(t,f(n));case 3:return a=e.sent,e.abrupt("return",r.decode(a));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function y(){return(y=i(regeneratorRuntime.mark((function e(t,n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c(t,f(n));case 2:return r=e.sent,e.abrupt("return",s(r));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function m(){return(m=i(regeneratorRuntime.mark((function e(t,n){var r,o,i,l,u,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(t,n);case 2:if(n=e.sent,r=/^(\d+):(\d{4}):([a-zA-Z0-9_]+):(.*)$/,null!=(o=n.match(r))){e.next=7;break}throw new Error("Invalid encoded user record.");case 7:return i=o[1],l=o[2],u=o[3],s=o[4],e.abrupt("return",new a.default({id:i,discriminator:l,avatar:"0"===u?null:u,username:s}));case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchActivityStatistics=function(){return d.apply(this,arguments)};var r=l(n(14)),a=l(n(2)),o=l(n(470)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){u(o,r,a,i,l,"next",e)}function l(e){u(o,r,a,i,l,"throw",e)}i(void 0)}))}}function d(){return(d=s(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null!=(t=o.default.lastFetched)&&Date.now()-t<216e5)){e.next=3;break}return e.abrupt("return");case 3:return e.prev=3,e.next=6,r.default.get({url:i.Endpoints.USER_ACTIVITY_STATISTICS,oldFormErrors:!0});case 6:n=e.sent,a.default.dispatch({type:i.ActionTypes.USER_ACTIVITY_STATISTICS_FETCH_SUCCESS,statistics:n.body}),e.next=13;break;case 10:return e.prev=10,e.t0=e.catch(3),e.abrupt("return",e.t0);case 13:case"end":return e.stop()}}),e,null,[[3,10]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?20:t,r=e.height,a=void 0===r?20:r,l=e.color,d=void 0===l?"currentColor":l,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color"]);return o.createElement("svg",u({width:n,height:a},(0,i.default)(f),{viewBox:"0 0 20 20"}),s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 .663v4.739A2.594 2.594 0 0014.6 8h4.74a.656.656 0 00.466-1.12L13.121.196A.654.654 0 0012 .663zm2.576 9.365A4.608 4.608 0 019.97 5.422V.058H1.994A2 2 0 000 2.052v15.952a2 2 0 001.994 1.994h15.952a2 2 0 001.994-1.994v-7.976h-5.364zM8 15.553a2 2 0 113.999 0h1.333a3.333 3.333 0 10-6.666 0h1.334zM2.716 13.5L2 12.784 2.784 12l.716.716.716-.716.784.784-.716.716.716.716-.784.784-.716-.716-.716.716L2 14.216l.716-.716zM15 12.784l.716.716-.716.716.784.784.716-.716.716.716.784-.784-.716-.716.716-.716-.784-.784-.716.716-.716-.716-.784.784z",fill:d}))}d.displayName="StickerError"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(9)),i=n(383),l=v(n(55)),u=v(n(700)),s=v(n(47)),d=n(6118),f=n(139),c=v(n(6)),p=v(n(6133));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n);var a,v,y,E=r.prototype;return E.renderDescription=function(){var e=this.props,t=e.paymentSource,n=e.descriptionClassName;return m(s.default,{className:(0,o.default)(p.default.description,n)},void 0,t instanceof i.CreditCardSourceRecord?c.default.Messages.PAYMENT_SOURCE_CARD_ENDING.format({brand:(0,f.upperCaseFirstChar)(t.brand),last_4:t.last4}):c.default.Messages.PAYMENT_SOURCE_PAYPAL)},E.renderSubText=function(){var e=this.props,t=e.paymentSource,n=e.locale,r="";return t instanceof i.CreditCardSourceRecord?r=c.default.Messages.PAYMENT_SOURCE_CARD_EXPIRES.format({month:(0,d.getLocalizedDisplayMonth)(t.expiresMonth,n),year:t.expiresYear}):t instanceof i.PaypalSourceRecord&&(r=t.email),r},E.render=function(){var e=this.props,t=e.isDefault,n=e.paymentSource,r=e.showSubtext,a=e.isForSubscription;return m(l.default,{},void 0,m(u.default,{type:this.typeString}),m(l.default,{direction:l.default.Direction.VERTICAL,className:p.default.descriptionWrapper},void 0,m(l.default,{align:l.default.Align.CENTER},void 0,this.renderDescription(),t?m("div",{className:p.default.defaultIndicator},void 0,c.default.Messages.DEFAULT):null,a?m("div",{className:p.default.premiumIndicator},void 0,c.default.Messages.PAYMENT_SOURCE_SUBSCRIPTION):null,n.invalid?m("div",{className:p.default.invalidIndicator},void 0,c.default.Messages.PAYMENT_SOURCE_INVALID):null),r?m("div",{className:p.default.subText},void 0,this.renderSubText()):null))},a=r,(v=[{key:"typeString",get:function(){var e=this.props.paymentSource;return e instanceof i.PaypalSourceRecord?u.default.Types.PAYPAL:e instanceof i.CreditCardSourceRecord?u.default.getType(e.brand):u.default.Types.UNKNOWN}}])&&_(a.prototype,v),y&&_(a,y),r}(a.PureComponent);t.default=E,E.displayName="PaymentDescription",E.defaultProps={isForSubscription:!1,isDefault:!1,showSubtext:!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.redeemGiftCode=f,t.default=void 0;var r=l(n(14)),a=l(n(2)),o=n(275),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){u(o,r,a,i,l,"next",e)}function l(e){u(o,r,a,i,l,"throw",e)}i(void 0)}))}}var d=Object.freeze({});function f(e,t){return c.apply(this,arguments)}function c(){return(c=s(regeneratorRuntime.mark((function e(t,n){var l,u,s,f,c,p,v;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===n&&(n=d),u=(l=n).channelId,s=void 0===u?null:u,f=l.paymentSourceId,c=void 0===f?null:f,a.default.dispatch({type:i.ActionTypes.GIFT_CODE_REDEEM,code:t}),e.prev=3,e.next=6,r.default.post({url:i.Endpoints.GIFT_CODE_REDEEM(t),body:{channel_id:s,payment_source_id:c},oldFormErrors:!0});case 6:return p=e.sent,a.default.dispatch({type:i.ActionTypes.GIFT_CODE_REDEEM_SUCCESS,code:t}),e.abrupt("return",{code:t,entitlement:p});case 11:throw e.prev=11,e.t0=e.catch(3),v=new o.BillingError(e.t0),a.default.dispatch({type:i.ActionTypes.GIFT_CODE_REDEEM_FAILURE,code:t,error:v}),v;case 16:case"end":return e.stop()}}),e,null,[[3,11]])})))).apply(this,arguments)}var p={redeemGiftCode:f};t.default=p},function(e,t,n){"use strict";var r;function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){var t,n;function r(t){var n;return(n=e.call(this)||this).id=t.id,n.guildId=t.guildId,n.userId=t.userId,n.user=t.user,n.ended=t.ended,n.endsAt=null!=t.endsAt?t.endsAt:null,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n),r.createFromServer=function(e){return new r({id:e.id,guildId:e.guild_id,userId:null!=e.user?e.user.id:e.user_id,user:e.user,ended:e.ended,endsAt:e.ends_at?new Date(e.ends_at):null})},r}(((r=n(62))&&r.__esModule?r:{default:r}).default);t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.premiumSubscriptionPlan,n=e.premiumSubscriptionPaymentSourceId,r=e.onClose,o=e.onBack,i=e.onSkip,d=e.analyticsLocation,f=a.useContext(s.default)===O.ThemeTypes.LIGHT?l.default.Colors.PRIMARY:l.default.Colors.WHITE,c=null==t||null==t.premiumSubscriptionType,p=y.default.getPrice(O.SubscriptionPlans.PREMIUM_MONTH_TIER_2),_=(0,m.formatPrice)(p.amount,p.currency),S=(0,h.usePremiumTrialOffer)(),C=null==S?void 0:S.trial_id;return a.createElement(a.Fragment,null,N(v.ModalContent,{className:T.default.content},void 0,N(v.ModalCloseButton,{onClick:r,className:T.default.closeButton}),N("div",{className:T.default.upsellImage}),N("div",{className:T.default.bodyText},void 0,null!=C?I.default.Messages.PREMIUM_UPSELL_FEATURE_PRETEXT_TRIAL:I.default.Messages.PREMIUM_UPSELL_FEATURE_PRETEXT.format({monthlyPrice:_})),N(A,{shouldUpsellFromNoneTier:c})),N(v.ModalFooter,{align:u.default.Align.CENTER,justify:u.default.Justify.END},void 0,N("div",{className:T.default.footerRight},void 0,N(l.default,{look:l.default.Looks.LINK,color:f,onClick:i},void 0,I.default.Messages.PREMIUM_UPSELL_CONTINUE_TO_BOOSTS),N(l.default,{color:l.default.Colors.GREEN,type:"submit",onClick:function(){r();var e=t.interval===O.SubscriptionIntervalTypes.YEAR?O.SubscriptionPlans.PREMIUM_YEAR_TIER_2:O.SubscriptionPlans.PREMIUM_MONTH_TIER_2;null!=n?(0,E.openPremiumSelectPlanModal)({initialPlanId:e,analyticsLocation:M({},d,{section:O.AnalyticsSections.PREMIUM_GUILD_PURCHASE_MODAL})}):(0,g.openPremiumSubscriptionNewPlanModal)({planId:e,analyticsLocation:M({},d,{section:O.AnalyticsSections.PREMIUM_GUILD_PURCHASE_MODAL}),trialId:C})}},void 0,null!=C?I.default.Messages.PREMIUM_TRIAL_CTA_BUTTON:I.default.Messages.PREMIUM_UPSELL_UPGRADE)),N("div",{className:T.default.backStep},void 0,N(l.default,{color:f,look:l.default.Looks.LINK,size:l.default.Sizes.NONE,onClick:function(){return o()}},void 0,I.default.Messages.BACK))))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=C(n(39)),l=C(n(29)),u=C(n(55)),s=C(n(284)),d=C(n(5954)),f=C(n(5830)),c=C(n(5955)),p=C(n(5980)),v=n(35),y=C(n(96)),m=n(281),_=n(280),h=n(5689),E=n(5688),g=n(5697),S=C(n(6003)),O=n(1),I=C(n(6)),T=C(n(6121));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(){return(M=Object.assign||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}).apply(this,arguments)}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function A(e){var t=e.shouldUpsellFromNoneTier,n=(0,o.useStateFromStores)([i.default],(function(){return i.default.locale}));return N("div",{className:T.default.perksList},void 0,N(S.default,{icon:f.default,iconClassName:T.default.perkIconGuild,description:I.default.Messages.PREMIUM_UPSELL_FEATURE_FREE_GUILD_SUBSCRIPTION.format({numFreeGuildSubscriptions:_.NUM_FREE_GUILD_SUBSCRIPTIONS_WITH_PREMIUM})}),N(S.default,{icon:f.default,iconClassName:T.default.perkIconGuild,description:I.default.Messages.PREMIUM_UPSELL_FEATURE_GUILD_SUBSCRIPTION_DISCOUNT.format({percent:(0,m.formatPercent)(n,_.PREMIUM_GUILD_FOR_PREMIUM_USER_DISCOUNT_PERCENT/100)})}),t?N(S.default,{icon:d.default,iconClassName:T.default.perkIconChatPerks,description:I.default.Messages.PREMIUM_UPSELL_FEATURE_CHAT_PERKS}):null,N(S.default,{icon:c.default,iconClassName:T.default.perkIconStream,description:I.default.Messages.PREMIUM_UPSELL_FEATURE_STREAM}),N(S.default,{icon:p.default,iconClassName:T.default.perkIconUpload,description:I.default.Messages.PREMIUM_UPSELL_FEATURE_UPLOAD}))}A.displayName="PremiumUpsellPerks"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(5686)),o=i(n(6123));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(e){var t=e.text,n=e.color;return u("div",{className:o.default.upsellFooter},void 0,u(a.default,{className:o.default.upsellFooterIcon,color:n}),u("div",{},void 0,t))}s.displayName="PremiumUpsellFooter"},,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPageSize=R,t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=M();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(394),i=n(192),l=b(n(3)),u=n(10160),s=n(287),d=b(n(1345)),f=b(n(8257)),c=b(n(8543)),p=b(n(8299)),v=n(10161),y=n(8535),m=b(n(403)),_=n(277),h=n(42),E=n(5687),g=b(n(10162)),S=b(n(10188)),O=n(8403),I=n(1),T=b(n(6)),C=b(n(7393));function b(e){return e&&e.__esModule?e:{default:e}}function M(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return M=function(){return e},e}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var P=(0,_.makeLazy)({createPromise:function(){return Promise.all([n.e(0),n.e(68),n.e(12)]).then(n.t.bind(null,9260,7))},webpackId:9260});function R(e){return e<O.PAGE_WIDTH_THRESHOLD?O.PageSizes.SMALL:O.PageSizes.LARGE}l.default.initialize();var L=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).renderStoreListing=function(e){var n=e.match.params,r=n.skuId,a=n.applicationId,i=n.slug,l=e.location,u=t.props.width,s=(0,o.parse)(l.search);return N(f.default,{page:I.AnalyticsPages.STORE_LISTING,root:!0},void 0,N(S.default,{skuId:r,applicationId:a,slug:i,location:l,storeListingId:s.store_listing_id,pageSize:R(u)}))},t.renderContent=function(){return N(i.Switch,{},void 0,N(i.Route,{path:I.Routes.APPLICATION_STORE,exact:!0,render:function(e){var t=e.location;return N(f.default,{page:I.AnalyticsPages.STORE_DIRECTORY_HOME,root:!0},void 0,N(g.default,{location:t}))}}),N(i.Route,{path:I.Routes.APPLICATION_STORE_LISTING_APPLICATION(":applicationId",":slug"),render:t.renderStoreListing}),N(i.Route,{path:I.Routes.APPLICATION_STORE_LISTING_APPLICATION(":applicationId"),render:t.renderStoreListing}),N(i.Route,{path:I.Routes.APPLICATION_STORE_LISTING_SKU(":skuId",":slug"),render:t.renderStoreListing}),N(i.Route,{path:I.Routes.APPLICATION_STORE_LISTING_SKU(":skuId"),render:t.renderStoreListing}),N(i.Redirect,{to:I.Routes.APP}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,A(t,n);var a=r.prototype;return a.componentDidMount=function(){(0,u.updateLocation)(this.props.location),this.stopListeningToHistory=(0,h.getHistory)().listen((function(e){e.pathname.startsWith(I.Routes.APPLICATION_STORE)&&(0,u.updateLocation)(e)})),this.props.isAuthenticated&&(0,s.fetchPaymentSources)(),m.default.disable(),m.default.setLayout(v.APPLICATION_STORE_LAYOUT),m.default.enable(),(0,E.trackAppUIViewed)("application_store")},a.componentWillUnmount=function(){null!=this.stopListeningToHistory&&this.stopListeningToHistory(),m.default.disable(),m.default.setLayout(y.DEFAULT_LAYOUT),m.default.enable()},a.renderCustomErrorMessage=function(){return N("div",{},void 0,N("p",{},void 0,T.default.Messages.ERRORS_STORE_CRASH),N("p",{},void 0,T.default.Messages.ERRORS_ACTION_TO_TAKE))},a.render=function(){var e=this.props,t=e.isAuthenticated,n=e.location,r=t?N("div",{className:C.default.applicationStore},void 0,this.renderContent()):N(P,{className:C.default.applicationStore,location:n,render:this.renderContent});return N(d.default,{renderCustomMessage:this.renderCustomErrorMessage},void 0,r)},r}(a.PureComponent);L.displayName="ApplicationStore";var D=(0,i.withRouter)((0,c.default)((0,p.default)(L)));t.default=D},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=D;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=C(n(9)),i=C(n(23)),l=n(680),u=n(92),s=n(3),d=C(n(2)),f=n(287),c=n(6043),p=C(n(6008)),v=C(n(6110)),y=C(n(1147)),m=C(n(467)),_=C(n(55)),h=C(n(6112)),E=C(n(468)),g=n(96),S=C(n(6113)),O=C(n(6)),I=C(n(6134)),T=C(n(5861));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(){return(A=Object.assign||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}).apply(this,arguments)}function P(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function R(e){var t=e.payments,n=e.locale,r=e.compactMode,i=e.numPages,u=a.useRef(null),s=a.useState(0),d=s[0],c=s[1],v=a.useState(null),y=v[0],m=v[1],_=t.slice(10*d,10*(d+1));a.useEffect((function(){var e;null===(e=u.current)||void 0===e||e.scrollTo({to:0})}),[d]);var g=a.useCallback((function(e){c(e);var n=t[t.length-1].id;e===i-1&&y!==n&&((0,f.fetchPayments)(10,n),m(n))}),[t,i,y]),O=(0,p.default)("billing-history",u);return P(l.ListNavigatorProvider,{navigator:O},void 0,P(l.ListNavigatorContainer,{},void 0,(function(e){var t=e.ref,l=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["ref"]);return a.createElement(h.default,A({className:(0,o.default)(I.default.verticalFit,I.default.paginator),currentPageIndex:d,onChangePage:g,numPages:i,ref:t},l),a.createElement(E.default,{className:I.default.bottomDivider,ref:u},_.map((function(e,t){return P(S.default,{className:(0,o.default)(I.default.paymentRow,I.default.bottomDivider),payment:e,locale:n,compactMode:r},t)}))))})))}R.displayName="PaymentHistoryPage";var L=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).scrollerRef=a.createRef(),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,N(t,n);var l,s,p,v=r.prototype;return v.componentDidMount=function(){d.default.wait((function(){(0,c.fetchActivityStatistics)(),(0,f.fetchPayments)(20)}))},v.renderPremiumExternalSubscription=function(e){return(0,i.default)(null!=e.paymentGateway,"Expected payment gateway when rendering for external subscription"),P(m.default,{className:I.default.externalRow},void 0,P("div",{className:I.default.externalRowHeader},void 0,O.default.Messages.BILLING_EXTERNAL_HEADER.format({paymentGatewayName:u.PaymentGatewayToFriendlyName[e.paymentGateway]})),P("div",{className:I.default.externalRowBody},void 0,O.default.Messages.BILLING_EXTERNAL_DESCRIPTION.format({paymentGatewayName:u.PaymentGatewayToFriendlyName[e.paymentGateway],billingHistoryLink:(0,g.getExternalSubscriptionMethodUrl)(e.paymentGateway,"BILLING_HISTORY")})))},v.render=function(){var e=this.props,t=e.compactMode,n=e.payments,r=e.subscription,a=e.locale,i=null!=r&&r.isPurchasedExternally;return 0!==n.length||i?P("div",{className:I.default.verticalFit},void 0,null!=r&&i?this.renderPremiumExternalSubscription(r):null,n.length>0?P("div",{className:(0,o.default)(I.default.paymentPane,I.default.verticalFit)},void 0,t?null:P("div",{className:(0,o.default)(I.default.paymentRow,I.default.bottomDivider)},void 0,P(_.default,{className:I.default.paymentRowHeader},void 0,P("div",{className:T.default.date},void 0,O.default.Messages.BILLING_PAYMENT_TABLE_HEADER_DATE),P("div",{className:I.default.paymentRowHeaderDescription},void 0,O.default.Messages.BILLING_PAYMENT_TABLE_HEADER_DESCRIPTION),P("div",{className:T.default.amount},void 0,O.default.Messages.BILLING_PAYMENT_TABLE_HEADER_AMOUNT))),P(R,{compactMode:t,locale:a,payments:n,numPages:this.numPages})):null):null},l=r,(s=[{key:"numPages",get:function(){return Math.max(Math.ceil(this.props.payments.length/10),1)}}])&&M(l.prototype,s),p&&M(l,p),r}(a.PureComponent);function D(e){var t=(0,s.useStateFromStores)([v.default],(function(){return v.default.getPayments()})),n=(0,s.useStateFromStores)([y.default],(function(){return y.default.getPremiumTypeSubscription()}));return a.createElement(L,A({},e,{payments:t,subscription:n}))}L.displayName="PaymentHistory",L.defaultProps={compactMode:!1},D.displayName="ConnectedPaymentHistory"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),a=i(n(2)),o=i(n(6111));n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var d=[];function f(e){var t=e.payment,n=o.default.createFromServer(t),r=d.findIndex((function(e){return e.id===t.id}));-1===r?(d.push(n),d.sort((function(e,t){return t.createdAt.getTime()-e.createdAt.getTime()}))):d[r]=n,d=[].concat(d)}var c=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var a=r.prototype;return a.getPayment=function(e){return d.find((function(t){return t.id===e}))},a.getPayments=function(){return d},r}(r.default.Store))(a.default,{BILLING_PAYMENTS_FETCH_SUCCESS:function(e){for(var t,n=function(){var e=t.value;null==d.find((function(t){return t.id===e.id}))&&d.push(o.default.createFromServer(e))},r=u(e.payments);!(t=r()).done;)n();d.sort((function(e,t){return t.createdAt.getTime()-e.createdAt.getTime()})),d=[].concat(d)},PAYMENT_UPDATE:f,BILLING_PAYMENT_FETCH_SUCCESS:f,LOGOUT:function(e){d=[]}});t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(62)),a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(99)),o=d(n(383)),i=d(n(1198)),l=d(n(5858)),u=n(1);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){var t,n,r,s,d;function p(t){var n;return(n=e.call(this)||this).id=t.id,n.amount=t.amount,n.amountRefunded=t.amountRefunded,n.createdAt=t.createdAt,n.currency=t.currency,n.description=t.description,n.paymentSource=t.paymentSource,n.status=t.status,n.tax=t.tax,n.taxInclusive=t.taxInclusive,n.subscription=t.subscription,n.skuId=t.skuId,n.skuPrice=t.skuPrice,n.sku=t.sku,n.flags=t.flags,n}return n=e,(t=p).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),p.createFromServer=function(e){var t=null!=e.payment_source?o.default.createFromServer(e.payment_source):null,n=null!=e.sku?i.default.createFromServer(e.sku):null,r=null!=e.subscription?l.default.createFromServer(e.subscription):null;return new p({id:e.id,createdAt:new Date(e.created_at),currency:e.currency,tax:e.tax,taxInclusive:e.tax_inclusive,amount:e.amount,amountRefunded:e.amount_refunded,status:e.status,metadata:e.metadata,description:e.description,paymentSource:t,paymentGateway:e.payment_gateway,paymentGatewayPaymentId:e.payment_gateway_payment_id,flags:e.flags,subscription:r,skuId:e.sku_id,skuPrice:e.sku_price,sku:n})},r=p,(s=[{key:"isPremiumSubscription",get:function(){return null!=this.subscription&&u.PREMIUM_PLANS.has(this.subscription.planId)}},{key:"isPremiumGuildSubscription",get:function(){return null!=this.subscription&&null!=this.subscription.additionalPlans.find((function(e){var t=e.planId;return u.PREMIUM_GUILD_SUBSCRIPTION_PLANS.has(t)}))}},{key:"isGift",get:function(){return a.hasFlag(this.flags,u.PaymentFlags.GIFT)}},{key:"isPremiumGift",get:function(){return this.isGift&&Object.values(u.PremiumSubscriptionSKUs).includes(this.skuId)}},{key:"isPreorder",get:function(){return a.hasFlag(this.flags,u.PaymentFlags.PREORDER)}}])&&f(r.prototype,s),d&&f(r,d),p}(r.default);t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=f(n(61)),l=f(n(5971)),u=f(n(5950)),s=f(n(6)),d=f(n(6132));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=a.forwardRef((function(e,t){var n,r,f=e.currentPageIndex,c=e.numPages,y=e.onChangePage,m=e.children,_=e.className,h=e.showPageCount,E=void 0===h||h,g=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["currentPageIndex","numPages","onChangePage","children","className","showPageCount"]),S=f<=0,O=f>=c-1;return a.createElement("div",p({className:(0,o.default)(d.default.paginator,_),ref:t},g),m,v("div",{className:d.default.pageActions},void 0,v(i.default,{className:(0,o.default)(d.default.pageButtonPrev,(n={},n[d.default.disabled]=S,n)),tabIndex:S?-1:0,onClick:S?void 0:function(){return y(f-1)}},void 0,v(l.default,{className:d.default.pageButtonIcon,"aria-label":s.default.Messages.PAGINATION_PREVIOUS})),v("div",{className:d.default.pageIndicator},void 0,E?s.default.Messages.PAGINATOR_OF_PAGES.format({currentPage:f+1,numPages:c}):s.default.Messages.PAGINATOR_CURRENT_PAGE.format({currentPage:f+1})),v(i.default,{className:(0,o.default)(d.default.pageButtonNext,(r={},r[d.default.disabled]=O,r)),tabIndex:O?-1:0,onClick:O?void 0:function(){return y(f+1)}},void 0,v(u.default,{className:d.default.pageButtonIcon,"aria-label":s.default.Messages.PAGINATION_NEXT}))))}));t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=k();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=j(n(9)),i=j(n(133)),l=j(n(5)),u=n(680),s=n(92),d=j(n(3)),f=n(290),c=j(n(5936)),p=n(383),v=j(n(71)),y=j(n(470)),m=j(n(271)),_=j(n(61)),h=j(n(55)),E=j(n(477)),g=j(n(700)),S=j(n(149)),O=j(n(683)),I=j(n(372)),T=j(n(255)),C=j(n(5694)),b=j(n(5686)),M=n(1161),N=n(99),A=j(n(96)),P=n(281),R=j(n(6045)),L=n(1),D=j(n(6)),w=j(n(5861));function j(e){return e&&e.__esModule?e:{default:e}}function k(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return k=function(){return e},e}function U(){return(U=Object.assign||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}).apply(this,arguments)}function G(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return F(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return F(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function B(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function H(e,t){return(H=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var V=function(e){return"https://"+L.SUPPORT_DOMAIN+"/hc/"+e.toLowerCase()+"/requests/new?ticket_form_id=360000118612"},W=(0,i.default)({TIME_PLAYED:null,PURCHASE_DATE:null,SKU_TYPE:null,ALREADY_REFUNDED:null,PAYMENT_STATUS:null,PAYMENT_GATEWAY:null,SKU_STICKER_PACK:null}),Y=[L.PaymentStatusTypes.FAILED,L.PaymentStatusTypes.REVERSED],z=[s.PaymentGateways.APPLE],K=function(e){var t=e.description,n=e.cost;return x("li",{className:w.default.paymentDetail},void 0,x(h.default,{justify:h.default.Justify.BETWEEN},void 0,x("div",{},void 0,t),x("div",{},void 0,n)))};K.displayName="PaymentDetail";var $=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={expanded:!1},t.refundRules=[{rule:W.TIME_PLAYED,canRefund:function(){if(t.isSkuPreorder)return!0;var e=t.timePlayed;return null==e||e.asMilliseconds()<l.default.duration(2,"hours").asMilliseconds()}},{rule:W.PURCHASE_DATE,canRefund:function(){var e=t.props.payment;if(t.isSkuPreorder)return!0;var n=e.isPremiumSubscription||e.isPremiumGuildSubscription||e.isPremiumGift?5:14;return t.daysSincePurchase<=n}},{rule:W.SKU_TYPE,canRefund:function(){var e=t.props.payment;return null==e.sku||e.sku.type!==L.SKUTypes.CONSUMABLE}},{rule:W.ALREADY_REFUNDED,canRefund:function(){var e=t.props.payment;return e.amountRefunded<e.amount}},{rule:W.PAYMENT_STATUS,canRefund:function(){var e=t.props.payment;return!Y.includes(e.status)}},{rule:W.PAYMENT_GATEWAY,canRefund:function(){var e=t.props.payment;return null==e.paymentGateway||!z.includes(e.paymentGateway)}},{rule:W.SKU_STICKER_PACK,canRefund:function(){var e=t.props.payment;return null==e.sku||!(0,N.hasFlag)(e.sku.flags,L.SKUFlags.STICKER_PACK)}}],t.handleExpandInfo=function(){t.setState({expanded:!t.state.expanded})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,H(t,n);var i,s,d,v=r.prototype;return v.validateRefundRules=function(){return this.refundRules.filter((function(e){return!(0,e.canRefund)()})).map((function(e){return e.rule}))},v.renderStatus=function(){switch(this.props.payment.status){case L.PaymentStatusTypes.PENDING:return x("span",{className:w.default.statusTagGrey},void 0,D.default.Messages.BILLING_TAG_PENDING);case L.PaymentStatusTypes.FAILED:return x("span",{className:w.default.statusTagRed},void 0,D.default.Messages.BILLING_TAG_FAILED);case L.PaymentStatusTypes.REFUNDED:return x("span",{className:w.default.statusTagGreen},void 0,D.default.Messages.BILLING_TAG_REFUNDED);case L.PaymentStatusTypes.REVERSED:return x("span",{className:w.default.statusTagRed},void 0,D.default.Messages.BILLING_TAG_REVERSED);default:return null}},v.renderPrice=function(){var e=this.props.payment;return x("span",{className:w.default.price},void 0,(0,P.formatPrice)(e.amount,e.currency))},v.renderPaymentBreakdown=function(){var e=this.props,t=e.payment,n=e.locale,r=t.taxInclusive,i=t.tax,l=t.amount,u=t.currency;return x("div",{className:(0,o.default)(w.default.paymentText,w.default.paymentBreakdown)},void 0,null!=t.paymentSource?x(R.default,{paymentSource:t.paymentSource,locale:n,descriptionClassName:w.default.paymentText}):null,x("ul",{},void 0,!r&&i>0?x(a.Fragment,{},void 0,x(K,{description:t.description,cost:(0,P.formatPrice)(l-i,u)}),x(K,{description:D.default.Messages.BILLING_PAYMENT_BREAKDOWN_TAXES,cost:(0,P.formatPrice)(i,u)})):null,x(K,{description:D.default.Messages.BILLING_PAYMENT_BREAKDOWN_TOTAL,cost:(0,P.formatPrice)(l,u)})))},v.renderRefundDetails=function(){var e=this.props,t=e.locale,n=e.payment,r=this.validateRefundRules();if(r.includes(W.PAYMENT_GATEWAY)||r.includes(W.PAYMENT_STATUS)||r.includes(W.ALREADY_REFUNDED)||r.includes(W.SKU_STICKER_PACK))return null;var o,i=0===r.length,l=V(t),u=n.isPremiumSubscription||n.isPremiumGuildSubscription||n.isPremiumGift?5:14;return o=r.includes(W.SKU_TYPE)?D.default.Messages.BILLING_APPLICATION_CONSUMABLE_REFUND_TEXT_UNABLE.format({supportURL:l}):i?n.isPreorder&&this.isSkuPreorder?D.default.Messages.BILLING_PREORDER_REFUND_TEXT.format({supportURL:l}):n.isPremiumSubscription||n.isPremiumGuildSubscription?D.default.Messages.BILLING_PREMIUM_REFUND_TEXT.format({dateLimit:u,supportURL:l}):n.isGift?D.default.Messages.BILLING_GIFT_REFUND_TEXT.format({dateLimit:u,supportURL:l}):D.default.Messages.BILLING_APPLICATION_REFUND_TEXT.format({dateLimit:u,playtimeLimit:2,supportURL:l}):n.isGift?D.default.Messages.BILLING_GIFT_REFUND_TEXT_UNABLE.format({dateLimit:u}):n.isPremiumSubscription||n.isPremiumGuildSubscription?D.default.Messages.BILLING_PREMIUM_REFUND_TEXT_UNABLE.format({dateLimit:u}):D.default.Messages.BILLING_APPLICATION_REFUND_TEXT_UNABLE.format({dateLimit:u,playtimeLimit:2}),x(a.Fragment,{},void 0,x("h2",{className:w.default.paymentHeader},void 0,D.default.Messages.BILLING_REFUND_HEADER),x("div",{className:w.default.paymentText},void 0,x("div",{},void 0,o),this.renderRefundActions(r)))},v.renderRefundActions=function(e){var t=this.props,n=t.locale,r=t.payment;if(this.isSkuPreorder||e.includes(W.SKU_TYPE))return null;var a=e.includes(W.PURCHASE_DATE)?T.default:I.default,o=e.includes(W.TIME_PLAYED)?T.default:I.default;return x(h.default,{justify:h.default.Justify.BETWEEN,align:h.default.Align.END},void 0,x(h.default,{},void 0,x("div",{className:w.default.refundCriteria},void 0,x("h3",{className:w.default.refundSubHeader},void 0,r.isPreorder?D.default.Messages.BILLING_REFUND_RELEASE_DATE_SUBHEADER:D.default.Messages.BILLING_REFUND_PURCHASE_DATE_SUBHEADER),x(h.default,{align:h.default.Align.CENTER},void 0,x(a,{className:w.default.refundCriteriaIcon}),x("div",{},void 0,D.default.Messages.BILLING_REFUND_PURCHASE_DATE.format({daysSincePurchase:this.daysSincePurchase})))),r.isPremiumSubscription||r.isGift||r.isPremiumGuildSubscription?null:x("div",{className:w.default.refundCriteria},void 0,x("h3",{className:w.default.refundSubHeader},void 0,D.default.Messages.BILLING_REFUND_PLAY_TIME_SUBHEADER),x(h.default,{},void 0,x(o,{className:w.default.refundCriteriaIcon}),x("div",{},void 0,null!=this.timePlayed?this.timePlayed.humanize():D.default.Messages.BILLING_REFUND_PLAY_TIME_NEVER_PLAYED)))),x(m.default,{href:V(n)},void 0,D.default.Messages.BILLING_REFUND_REPORT_A_PROBLEM))},v.renderDescription=function(){var e,t,n=this.props,r=n.compactMode,o=n.payment,i=n.application,u=n.stickerPack,s=this.state.expanded,d=o.sku,p=o.subscription;if(null!=p&&null!=p.planId){var v,y=[];A.default.isNoneSubscription(p.planId)||(y.push(A.default.getDisplayName(p.planId)),v=L.SubscriptionPlanInfo[p.planId]);for(var m,_=G(p.additionalPlans);!(m=_()).done;){var h=m.value,g=h.planId,O=h.quantity;y.push((O>1?O+"x ":"")+A.default.getDisplayName(g)),null==v&&(v=L.SubscriptionPlanInfo[g])}t=y.join(", "),e=x(E.default,{className:w.default.descriptionIcon,game:i,size:E.default.Sizes.XSMALL,skuId:null!=v?v.skuId:null})}else if(null!=d)if(t=o.isPreorder?D.default.Messages.PREORDER_SKU_NAME.format({name:d.name}):d.name,null!=u){var I=(0,f.getStickerPackPreviewSticker)(u);e=x(c.default,{disableAnimation:!s,isInteracting:s,sticker:I,className:w.default.descriptionIcon,size:24})}else e=x(E.default,{className:w.default.descriptionIcon,game:i,size:E.default.Sizes.XSMALL,skuId:d.id});else e=x(b.default,{className:w.default.descriptionIcon}),t=o.description;var T=x("div",{className:w.default.date},void 0,(0,M.dateFormat)((0,l.default)(o.createdAt),"MM/DD/YYYY")),N=o.isGift?x(S.default,{text:D.default.Messages.BILLING_GIFT_PURCHASE_TOOLTIP},void 0,(function(e){return a.createElement(C.default,U({className:w.default.giftIcon},e))})):null;return r?x("div",{className:w.default.description},void 0,e,x("div",{},void 0,t,T),N):x(a.Fragment,{},void 0,T,x("div",{className:w.default.description},void 0,e,x("div",{},void 0,t),N))},v.renderExpandedSection=function(){return x("div",{className:w.default.expandedInfo},void 0,x("h2",{className:w.default.paymentHeader},void 0,D.default.Messages.BILLING_PURCHASE_DETAILS_HEADER),this.renderPaymentBreakdown(),this.renderRefundDetails())},v.render=function(){var e=this,t=this.props,n=t.payment,r=t.className,i=t.compactMode,l=this.state.expanded;return x(u.ListNavigatorItem,{id:n.id},void 0,(function(t){var n;return a.createElement(_.default,U({onClick:e.handleExpandInfo,className:(0,o.default)(l?w.default.payment:w.default.hoverablePayment,r,(n={},n[w.default.compact]=i,n)),focusProps:{offset:4}},t),x(h.default,{className:w.default.summaryInfo,align:h.default.Align.CENTER},void 0,e.renderDescription(),x("div",{className:w.default.amount},void 0,e.renderStatus(),e.renderPrice()),x(O.default,{className:w.default.expand,direction:l?O.default.Directions.UP:O.default.Directions.DOWN})),l?e.renderExpandedSection():null)}))},i=r,(s=[{key:"timePlayed",get:function(){var e=this.props.applicationStatistics;return null!=e&&null!=e.total_discord_sku_duration?l.default.duration(e.total_discord_sku_duration,"seconds"):null}},{key:"daysSincePurchase",get:function(){var e=this.props.payment,t=null!=e.sku?e.sku.releaseDate:null,n=null!=t&&t.isAfter(e.createdAt)?t:e.createdAt;return(0,l.default)().diff(n,"days")}},{key:"isSkuPreorder",get:function(){var e=this.props.payment;return null!=e.sku&&e.sku.isPreorder()}},{key:"typeString",get:function(){var e=this.props.payment.paymentSource;return e instanceof p.PaypalSourceRecord?g.default.Types.PAYPAL:e instanceof p.CreditCardSourceRecord?g.default.getType(e.brand):g.default.Types.UNKNOWN}}])&&B(i.prototype,s),d&&B(i,d),r}(a.PureComponent);$.displayName="PaymentHistoryRow",$.defaultProps={compactMode:!1};var Z=d.default.connectStores([y.default,v.default],(function(e){var t=e.payment,n=null!=t.sku&&t.sku.type===L.SKUTypes.DURABLE_PRIMARY?t.sku.applicationId:null;return{applicationStatistics:null!=n?y.default.getCurrentUserStatisticsForApplication(n):null,application:null!=n?v.default.getGame(n):null,stickerPack:null}}))($);t.default=Z},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLocalizedDisplayMonth=function(e,t){var n=new Date;return n.setMonth(e-1),n.toLocaleString(t,{month:"short"})}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={MenuStyle:!0};t.default=t.MenuStyle=void 0;var a=E(n(0)),o=_(n(9)),i=_(n(130)),l=n(8404),u=_(n(105)),s=n(721),d=_(n(272)),f=E(n(8726));Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var c,p,v=_(n(8554)),y=E(n(8805)),m=_(n(7340));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function g(){return(g=Object.assign||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}).apply(this,arguments)}function S(e,t,n,r){c||(c="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,o=arguments.length-3;if(t||0===o||(t={children:void 0}),1===o)t.children=r;else if(o>1){for(var i=new Array(o),l=0;l<o;l++)i[l]=arguments[l+3];t.children=i}if(t&&a)for(var u in a)void 0===t[u]&&(t[u]=a[u]);else t||(t=a||{});return{$$typeof:c,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e){return function e(t){return null==t?[]:a.Children.toArray(t).flatMap((function(t){var n;return null==t||!1===t?[]:Array.isArray(t)?e(t):t.type===a.Fragment?null!==(n=e(t.props.children))&&void 0!==n?n:[]:[t]}))}(e).reduce((function(e,t){if(t.type===f.MenuSeparator)return e.push({type:"separator",navigable:!1}),e;if(t.type===f.MenuGroup){var n=O(t.props.children);return e.push({type:"groupstart",length:n.length,navigable:!1,props:t.props}),e.push.apply(e,n),e.push({type:"groupend",length:n.length,navigable:!1,props:t.props}),e}if(t.type===f.MenuItem)return e.push(null!=t.props.render?{type:"customitem",key:t.props.id,navigable:!0,render:t.props.render,props:t.props}:{type:"item",key:t.props.id,navigable:!0,label:t.props.label,children:t.props.children?O(t.props.children):void 0,onChildrenScroll:t.props.onChildrenScroll,props:t.props,childRowHeight:t.props.childRowHeight,listClassName:t.props.listClassName}),e;if(t.type===f.MenuCheckboxItem)return e.push({type:"checkbox",key:t.props.id,navigable:!0,props:t.props}),e;if(t.type===f.MenuRadioItem)return e.push({type:"radio",key:t.props.id,navigable:!0,props:t.props}),e;if(t.type===f.MenuControlItem)return e.push({type:"control",key:t.props.id,navigable:!0,props:t.props}),e;throw new Error("Menu API only allows Items and groups of Items as children. Received "+((null==t?void 0:t.type)||t||typeof t)+" ("+typeof t+") instead")}),[])}function I(e){var t,n=e.navId,r=e.style,f=void 0===r?p.FLEXIBLE:r,c=e.className,_=e.onClose,h=e.children,E=e.onSelect,I=O(h),T=function e(t){return t.reduce((function(t,n){return n.navigable?(t.push({key:n.key,children:"item"===n.type&&null!=n.children?e(n.children):void 0}),t):t}),[])}(I),C=a.useRef([]);(0,i.default)(C.current,T)||(C.current=T);var b=null===(t=I.find((function(e){return null!=e.key})))||void 0===t?void 0:t.key,M=(0,l.useMenuNavigator)({navId:n,items:C.current,initialFocusPath:u.default.keyboardModeEnabled&&b?[b]:[],closeMenu:_}),N=a.useRef(null);return(0,s.useFocusLock)(N),S(v.default.Provider,{value:E},void 0,a.createElement("div",g({className:(0,o.default)(m.default.menu,m.default[f],c)},M.getContainerProps(),{ref:N,"aria-label":e["aria-label"]}),S(d.default,{className:m.default.scroller},void 0,function e(t,n,r,o){var i=0,l=[];return t.reduce((function(t,u,s){var d=l.length>0?l[l.length-1]:t;switch(u.type){case"separator":d.push(S(y.Separator,{},"separator-"+s)),i=0;break;case"groupstart":i>0&&u.length>0&&(d.push(S(y.Separator,{},"separator-"+s)),i=0),l.push([]);break;case"groupend":l.length>0&&t.push(a.createElement(y.Group,g({key:"group-"+s,contents:l.pop()},u.props)));break;case"item":var f=u.children,c=u.childRowHeight,p=u.onChildrenScroll,v=u.listClassName,m=[].concat(r,[u.key]),_=n.isFocused(m),h=null!=f?{"aria-haspopup":!0}:{},E=a.createElement(y.Item,g({key:u.key},u.props,{label:u.label,hasSubmenu:null!=f,isFocused:_,menuItemProps:g({},n.getItemProps({path:m}),{},h),onClose:o}));null!=f?null!=c?d.push(a.createElement(y.SubmenuListItem,g({key:u.key+"-submenu"},u.props,{parentItem:E,isFocused:_,menuSubmenuProps:n.getSubmenuProps({path:m}),rows:e(f,n,m,o),rowHeight:c,onScroll:p,listClassName:v}))):d.push(a.createElement(y.SubmenuItem,g({key:u.key+"-submenu"},u.props,{parentItem:E,isFocused:_,menuSubmenuProps:n.getSubmenuProps({path:m}),renderSubmenu:function(){return e(f,n,m,o)}}))):d.push(E),i++;break;case"customitem":var O=[].concat(r,[u.key]);d.push(a.createElement(y.CustomItem,g({key:u.key},u.props,{isFocused:n.isFocused(O),menuItemProps:n.getItemProps({path:O}),onClose:o}),u.render)),i++;break;case"checkbox":var I=[].concat(r,[u.key]);d.push(a.createElement(y.CheckboxItem,g({key:u.key},u.props,{isFocused:n.isFocused(I),menuItemProps:n.getItemProps({path:I,role:"menuitemcheckbox"})}))),i++;break;case"radio":var T=[].concat(r,[u.key]);d.push(a.createElement(y.RadioItem,g({key:u.key},u.props,{isFocused:n.isFocused(T),menuItemProps:n.getItemProps({path:T,role:"menuitemradio"})}))),i++;break;case"control":var C=[].concat(r,[u.key]);d.push(a.createElement(y.ControlItem,g({key:u.key},u.props,{isFocused:n.isFocused(C),menuItemProps:n.getItemProps({path:C}),onClose:o}))),i++}return t}),[])}(I,M,[],_))))}t.MenuStyle=p,function(e){e.FIXED="styleFixed",e.FLEXIBLE="styleFlexible"}(p||(t.MenuStyle=p={})),I.displayName="Menu";var T=I;t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(14)),a=f(n(2)),o=f(n(727)),i=f(n(182)),l=f(n(755)),u=n(687),s=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){c(o,r,a,i,l,"next",e)}function l(e){c(o,r,a,i,l,"throw",e)}i(void 0)}))}}function v(){return(v=Object.assign||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}).apply(this,arguments)}var y={init:function(e,t,n){void 0===t&&(t=null),a.default.dispatch({type:s.ActionTypes.GUILD_SETTINGS_INIT,guildId:e,section:t,location:n})},open:function(e,t,n){y.init(e,t,n),(0,u.pushLayer)(s.Layers.GUILD_SETTINGS)},close:function(){a.default.wait((function(){return a.default.dispatch({type:s.ActionTypes.GUILD_SETTINGS_CLOSE})}))},setSection:function(e){a.default.dispatch({type:s.ActionTypes.GUILD_SETTINGS_SET_SECTION,section:e})},setSearchQuery:function(e){a.default.dispatch({type:s.ActionTypes.GUILD_SETTINGS_SET_SEARCH_QUERY,searchQuery:e})},selectRole:function(e){a.default.wait((function(){return a.default.dispatch({type:s.ActionTypes.GUILD_SETTINGS_ROLE_SELECT,roleId:e})}))},updateEmbed:function(e,t,n){r.default.patch({url:s.Endpoints.GUILD_WIDGET(e),body:{enabled:t,channel_id:n},oldFormErrors:!0}).then((function(t){a.default.dispatch({type:s.ActionTypes.GUILD_SETTINGS_SET_WIDGET,guildId:e,enabled:t.body.enabled,channelId:t.body.channel_id})}))},updateMFALevel:function(e){var t=e.guildId,n=e.level,o=e.isEnabled;(0,l.default)({title:d.default.Messages.GUILD_SECURITY_REQ_MFA_LABEL,actionText:o?d.default.Messages.GUILD_SECURITY_REQ_MFA_TURN_OFF:d.default.Messages.GUILD_SECURITY_REQ_MFA_TURN_ON},(function(e){return r.default.post({url:s.Endpoints.GUILD_MFA(t),body:v({level:n},e),oldFormErrors:!0})})).then((function(e){return a.default.dispatch({type:s.ActionTypes.GUILD_SETTINGS_SET_MFA_SUCCESS,level:e.body.level})}))},updateIcon:function(e,t){r.default.patch({url:s.Endpoints.GUILD(e),body:{icon:t},oldFormErrors:!0}).then((function(){a.default.dispatch({type:s.ActionTypes.GUILD_SETTINGS_UPDATE,icon:t}),o.default.checkGuildTemplateDirty(e)}),(function(e){return a.default.dispatch({type:s.ActionTypes.GUILD_SETTINGS_SUBMIT_FAILURE,errors:e.body})}))},cancelChanges:function(e){a.default.dirtyDispatch({type:s.ActionTypes.GUILD_SETTINGS_CANCEL_CHANGES,guildId:e})},updateGuild:function(e){a.default.dispatch(v({type:s.ActionTypes.GUILD_SETTINGS_UPDATE},e))},saveGuild:function(e,t){var n=t.name,i=t.description,l=t.icon,u=t.splash,d=t.banner,f=t.region,c=t.afkChannelId,p=t.afkTimeout,v=t.systemChannelId,y=t.verificationLevel,m=t.defaultMessageNotifications,_=t.explicitContentFilter,h=t.features,E=t.systemChannelFlags,g=t.preferredLocale,S=t.rulesChannelId,O=t.discoverySplash,I=t.publicUpdatesChannelId;return a.default.dispatch({type:s.ActionTypes.GUILD_SETTINGS_SUBMIT}),r.default.patch({url:s.Endpoints.GUILD(e),body:{name:n,description:i,icon:l,splash:u,banner:d,region:f,features:h,preferred_locale:g,afk_channel_id:c,afk_timeout:p,system_channel_id:v,verification_level:y,default_message_notifications:m,explicit_content_filter:_,system_channel_flags:E,rules_channel_id:S,discovery_splash:O,public_updates_channel_id:I},oldFormErrors:!0}).then((function(t){a.default.dispatch({type:s.ActionTypes.GUILD_SETTINGS_SUBMIT_SUCCESS,guild:t.body}),o.default.checkGuildTemplateDirty(e)}),(function(e){return a.default.dispatch({type:s.ActionTypes.GUILD_SETTINGS_SUBMIT_FAILURE,errors:e.body})}))},updateGuildModeration:function(e,t){return r.default.patch({url:s.Endpoints.GUILD(e),body:{verification_level:t.verificationLevel,explicit_content_filter:t.explicitContentFilter},oldFormErrors:!0}).then((function(t){return o.default.checkGuildTemplateDirty(e),t}))},transferOwnership:function(e,t){return(0,l.default)({title:d.default.Messages.TRANSFER_OWNERSHIP,actionText:d.default.Messages.TRANSFER_OWNERSHIP},(function(n){return r.default.patch({url:s.Endpoints.GUILD(e),body:v({owner_id:t},n),oldFormErrors:!0})}))},deleteGuild:function(e,t){return(0,l.default)({title:d.default.Messages.DELETE_SERVER_TITLE.format({name:t}),actionText:d.default.Messages.DELETE_SERVER,disallowBackupCodes:!0},(function(t){return r.default.post({url:s.Endpoints.GUILD_DELETE(e),body:t,oldFormErrors:!0})})).then((function(){y.close()}))},leaveGuild:function(e){return p(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.default.delete({url:s.Endpoints.GUILD_LEAVE(e),body:{lurking:i.default.isLurking(e)},oldFormErrors:!0});case 2:y.close();case 3:case"end":return t.stop()}}),t)})))()},updateMemberRoles:function(e,t,n,o,i){return p(regeneratorRuntime.mark((function l(){return regeneratorRuntime.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,r.default.patch({url:s.Endpoints.GUILD_MEMBER(e,t),body:{roles:n},oldFormErrors:!0});case 2:o.forEach((function(n){return a.default.dispatch({type:s.ActionTypes.GUILD_ROLE_MEMBER_ADD,guildId:e,roleId:n,userId:t})})),i.forEach((function(n){return a.default.dispatch({type:s.ActionTypes.GUILD_ROLE_MEMBER_REMOVE,guildId:e,roleId:n,userId:t})}));case 4:case"end":return l.stop()}}),l)})))()},bulkAddMemberRoles:function(e,t,n){return r.default.patch({url:s.Endpoints.GUILD_ROLE_MEMBERS(e,t),body:{member_ids:n}}).then((function(n){a.default.dispatch({type:s.ActionTypes.GUILD_ROLE_MEMBER_BULK_ADD,guildId:e,roleId:t,added:n.body})}))},updateRolesEditSection:function(e){a.default.wait((function(){return a.default.dispatch({type:s.ActionTypes.GUILD_SETTINGS_ROLES_EDIT_SECTION_UPDATE,section:e})}))},enableIntegration:function(e,t,n){return r.default.post({url:s.Endpoints.GUILD_INTEGRATIONS(e),body:{type:t,id:n},oldFormErrors:!0})},disableIntegration:function(e,t){return r.default.delete({url:s.Endpoints.GUILD_INTEGRATION(e,t),oldFormErrors:!0})},updateIntegration:function(e,t,n,a,o){var i={expire_behavior:n,expire_grace_period:a,enable_emoticons:o};return r.default.patch({url:s.Endpoints.GUILD_INTEGRATION(e,t),body:i,oldFormErrors:!0})},syncIntegration:function(e,t){r.default.post({url:s.Endpoints.GUILD_INTEGRATION_SYNC(e,t),oldFormErrors:!0})}},m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.EMPTY_METADATA=void 0;var r=S(n(8)),a=S(n(5)),o=S(n(3)),i=S(n(14)),l=S(n(28)),u=S(n(2)),s=S(n(199)),d=S(n(8527)),f=n(1213),c=n(8474),p=S(n(379)),v=S(n(31)),y=S(n(162)),m=S(n(8569)),_=S(n(89)),h=S(n(15)),E=S(n(12)),g=n(1);function S(e){return e&&e.__esModule?e:{default:e}}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(){return(I=Object.assign||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}).apply(this,arguments)}var T,C,b,M,N,A=["name","description","icon","splash","banner","region","afkChannelId","afkTimeout","systemChannelId","verificationLevel","defaultMessageNotifications","explicitContentFilter","features","systemChannelFlags","preferredLocale","rulesChannelId","discoverySplash","publicUpdatesChannelId"],P=!1,R=g.FormStates.CLOSED,L={},D=!1,w=null,j=null,k=0,U=g.MFALevels.NONE,G=null,F={primaryCategoryId:f.DEFAULT_DISCOVERY_CATEGORY_ID,secondaryCategoryIds:[],keywords:[],emojiDiscoverabilityEnabled:f.DEFAULT_EMOJI_DISCOVERABILITY_SETTING,partnerActionedTimestamp:null,partnerApplicationTimestamp:null};t.EMPTY_METADATA=F;var B=F,H=F,x=null,V=null,W=null;function Y(e){if(null==M||null==b||b.id!==e)return!1;var t=h.default.getGuild(e);return null!=t&&(b===M?M=b=t:(b=t,M=M.set("roles",b.roles)),!0)}function z(e){var t=e.guildId,n=e.section,r=void 0===n?null:n,a=e.location,o=h.default.getGuild(t);if(null==o)return K();b=M=o,R=g.FormStates.OPEN,L={},N=t,U=M.mfaLevel,H=B,G=a,$({section:r||T||g.GuildSettingsSections.OVERVIEW})}function K(){P=!1,R=g.FormStates.CLOSED,b=M=null,D=!1,w=null,j=null,k=0,x=null,V=null,W=null,T=null,C=null,U=g.MFALevels.NONE}function $(e){if(null==M)return!1;var t=T;if((T=e.section)===g.GuildSettingsSections.BANS)s.default.fetchGuildBans(M.id);else if(T===g.GuildSettingsSections.INSTANT_INVITES)i.default.get({url:g.Endpoints.GUILD_INSTANT_INVITES(M.id),oldFormErrors:!0}).then((function(e){u.default.dispatch({type:g.ActionTypes.GUILD_SETTINGS_LOADED_INVITES,invites:e.body})}));else if(T===g.GuildSettingsSections.WIDGET)i.default.get({url:g.Endpoints.GUILD_WIDGET(M.id),oldFormErrors:!0}).then((function(e){u.default.dispatch({type:g.ActionTypes.GUILD_SETTINGS_SET_WIDGET,enabled:e.body.enabled,channelId:e.body.channel_id})}));else if(T===g.GuildSettingsSections.INTEGRATIONS||T===g.GuildSettingsSections.ROLES){if(N=null,t!==e.section)return q(e)}else T===g.GuildSettingsSections.MEMBERS?N=M.id:T===g.GuildSettingsSections.VANITY_URL&&i.default.get({url:g.Endpoints.GUILD_VANITY_URL(M.id),oldFormErrors:!0}).then((function(e){var t=e.body,n=t.code,r=t.uses;u.default.dispatch({type:g.ActionTypes.GUILD_SETTINGS_SET_VANITY_URL,code:n,uses:r})}))}function Z(e){var t;return new m.default({code:e.code,temporary:e.temporary,revoked:e.revoked,inviter:null!=e.inviter?new _.default(e.inviter):null,channel:new v.default(e.channel),guild:null!=e.guild?new y.default(e.guild):null,uses:e.uses,maxUses:e.max_uses,maxAge:e.max_age,createdAt:(0,a.default)(null!==(t=e.created_at)&&void 0!==t?t:void 0)})}function q(e){return null!=M&&R===g.FormStates.OPEN&&((e.type!==g.ActionTypes.GUILD_INTEGRATIONS_UPDATE||e.guildId===M.id)&&void i.default.get({url:g.Endpoints.GUILD_INTEGRATIONS(M.id),query:{include_applications:!0},oldFormErrors:!0}).then((function(e){null!=M&&u.default.dispatch({type:g.ActionTypes.GUILD_SETTINGS_LOADED_INTEGATIONS,guildId:M.id,integrations:e.body})})))}var X=new(function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,O(t,n);var o=a.prototype;return o.initialize=function(){this.waitFor(h.default,E.default)},o.hasChanges=function(){return!r.default.isEqual(M,b)||!r.default.isEqual(H,B)},o.isOpen=function(){return P},o.getSection=function(){return T},o.showNotice=function(){return this.hasChanges()},o.getGuildId=function(){return M?M.id:null},o.showPublicSuccessModal=function(){return!l.default.get(c.PUBLIC_SUCCESS_MODAL_SEEN_KEY)},o.getGuild=function(){return M},o.isSubmitting=function(){return R===g.FormStates.SUBMITTING},o.getErrors=function(){return L},o.getSelectedRoleId=function(){return N},o.getProps=function(){return{submitting:this.isSubmitting(),integrations:W,section:T,errors:L,guild:M,bans:x,invites:V,selectedRoleId:N,embedEnabled:D,embedChannelId:w,mfaLevel:U,searchQuery:C,vanityURLCode:j,vanityURLUses:k,originalGuild:b,hasChanges:this.hasChanges(),guildMetadata:H,analyticsLocation:G}},a}(o.default.Store))(u.default,__OVERLAY__?{}:{GUILD_SETTINGS_INIT:z,GUILD_SETTINGS_OPEN:function(e){P=!0,z(e)},GUILD_SETTINGS_CLOSE:function(e){return K()},GUILD_SETTINGS_UPDATE:function(e){if(null==M)return!1;A.forEach((function(t){null!=M&&e.hasOwnProperty(t)&&(M=M.set(t,e[t]))})),function(){if(null==M)return!1;var e=M.toJS(),t=b.toJS();A.some((function(n){return e[n]!==t[n]}))||(M=b)}()},GUILD_SETTINGS_CANCEL_CHANGES:function(e){var t=e.guildId;L={};var n=h.default.getGuild(t);null!=n&&(b=M=n)},GUILD_SETTINGS_SUBMIT:function(e){return R=g.FormStates.SUBMITTING,void(L={})},GUILD_SETTINGS_SUBMIT_SUCCESS:function(e){R=g.FormStates.OPEN},GUILD_SETTINGS_SUBMIT_FAILURE:function(e){R=g.FormStates.OPEN,T=g.GuildSettingsSections.OVERVIEW,L=e.errors||{}},GUILD_SETTINGS_SET_SECTION:$,GUILD_SETTINGS_SET_SEARCH_QUERY:function(e){C=e.searchQuery},GUILD_SETTINGS_LOADED_BANS:function(e){x=e.bans.reduce((function(e,t){return null!=t.user&&null!=t.user.id&&(e[t.user.id]=t),e}),{})},GUILD_SETTINGS_LOADED_INVITES:function(e){V=e.invites.reduce((function(e,t){return e[t.code]=Z(t),e}),{})},GUILD_SETTINGS_SET_WIDGET:function(e){D=e.enabled,w=e.channelId},GUILD_SETTINGS_SET_VANITY_URL:function(e){j=e.code||null,k=e.uses},GUILD_SETTINGS_SET_MFA_SUCCESS:function(e){var t=e.level;U=t},GUILD_SETTINGS_ROLE_SELECT:function(e){var t=e.roleId;N=t},GUILD_SETTINGS_LOADED_INTEGATIONS:function(e){W=e.integrations.map((function(e){return null!=e.user&&(e.user=new _.default(e.user)),null!=e.application&&(e.application=new p.default(e.application)),e}))},GUILD_BAN_ADD:function(e){var t,n=e.user,r=e.guildId;return null!=x&&(null!=M&&M.id===r&&void(x=I({},x,(t={},t[n.id]={user:n,reason:null},t))))},GUILD_BAN_REMOVE:function(e){var t=e.user,n=e.guildId;return null!=x&&(null!=M&&M.id===n&&void delete(x=I({},x))[t.id])},GUILD_ROLE_CREATE:function(e){var t=e.guildId,n=e.role;if(!Y(t))return!1;null==N&&null!=M&&d.default.getCurrentConfig({guildId:M.id}).showNewRolesCreationFlow||(N=n.id)},GUILD_ROLE_UPDATE:function(e){if(!Y(e.guildId))return!1},GUILD_ROLE_DELETE:function(e){var t=e.guildId,n=e.roleId;if(!Y(t))return!1;N===n&&(N=null)},GUILD_UPDATE:function(e){if(null==M||M.id!==e.guild.id)return!1;var t=h.default.getGuild(M.id);if(null==t)return!1;var n=b=t,r=M.toJS();A.forEach((function(e){"icon"!==e&&"splash"!==e&&"banner"!==e&&"discoverySplash"!==e&&("rulesChannelId"!==e&&"publicUpdatesChannelId"!==e||r[e]!==c.CREATE_NEW_CHANNEL_VALUE)&&("features"!==e?n=n.set(e,r[e]):n.set(e,new Set(r[e])))})),M=n},GUILD_DELETE:function(e){if(null==M||M.id!==e.guild.id)return!1;K()},USER_CONNECTIONS_UPDATE:q,GUILD_INTEGRATIONS_UPDATE:q,INSTANT_INVITE_REVOKE_SUCCESS:function(e){delete(V=I({},V))[e.code]},INSTANT_INVITE_CREATE_SUCCESS:function(e){var t;V=I({},V,((t={})[e.invite.code]=Z(e.invite),t))},GUILD_UPDATE_DISCOVERY_METADATA_FROM_SERVER:function(e){var t,n,r,a=e.guildId,o=e.metadata;null!=M&&a===M.id&&(B={primaryCategoryId:o.primaryCategoryId||f.DEFAULT_DISCOVERY_CATEGORY_ID,secondaryCategoryIds:o.secondaryCategoryIds||[],keywords:o.keywords||[],emojiDiscoverabilityEnabled:null!==(t=o.emojiDiscoverabilityEnabled)&&void 0!==t?t:f.DEFAULT_EMOJI_DISCOVERABILITY_SETTING,partnerActionedTimestamp:null!==(n=o.partnerActionedTimestamp)&&void 0!==n?n:null,partnerApplicationTimestamp:null!==(r=o.partnerApplicationTimestamp)&&void 0!==r?r:null},H=B)},GUILD_DISCOVERY_METADATA_FETCH_FAIL:function(e){B=H=F},GUILD_DISCOVERY_CATEGORY_ADD:function(e){var t=e.guildId,n=e.categoryId;null!=M&&t===M.id&&(H=I({},H,{secondaryCategoryIds:[].concat(H.secondaryCategoryIds,[n])}),B=I({},B,{secondaryCategoryIds:[].concat(B.secondaryCategoryIds,[n])}))},GUILD_DISCOVERY_CATEGORY_DELETE:function(e){var t=e.guildId,n=e.categoryId;if(null!=M&&t===M.id){var r,a=H.secondaryCategoryIds.indexOf(n);-1!==a&&((r=[].concat(H.secondaryCategoryIds)).splice(a,1),H=I({},H,{secondaryCategoryIds:r})),-1!==(a=B.secondaryCategoryIds.indexOf(n))&&((r=[].concat(B.secondaryCategoryIds)).splice(a,1),B=I({},B,{secondaryCategoryIds:r}))}},GUILD_DISCOVERY_CATEGORY_UPDATE_FAIL:function(e){var t=e.guildId,n=e.errors;null!=M&&t===M.id&&(L=n||{})},GUILD_UPDATE_DISCOVERY_METADATA:function(e){var t=e.guildId,n=e.primaryCategoryId,r=e.keywords,a=e.emojiDiscoverabilityEnabled;null!=M&&t===M.id&&(H=I({},H,{primaryCategoryId:null!=n?n:H.primaryCategoryId,keywords:null!=r?r:H.keywords,emojiDiscoverabilityEnabled:null!=a?a:H.emojiDiscoverabilityEnabled}))},GUILD_UPDATE_DISCOVERY_METADATA_FAIL:function(e){var t=e.guildId,n=e.errors;null!=M&&t===M.id&&(L=n||{})}});t.default=X},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.MenuItemColor=void 0,t.MenuItemColor=r,function(e){e.DEFAULT="colorDefault",e.BRAND="colorBrand",e.DANGER="colorDanger",e.PREMIUM="colorPremium",e.GREEN="colorGreen"}(r||(t.MenuItemColor=r={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(98))&&r.__esModule?r:{default:r},l=n(13),u=n(393),s=n(1);function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this)._loadId=null,n._loadDate=n.props.root?Date.now():null,n.getLocation=(0,u.cachedFunction)((function(e,t,n,r){var a={};return null!=e&&(a.page=e),null!=t&&(a.section=t),null!=n&&(a.object=n),null!=r&&(a.objectType=r),a})),n.mergeLocation=(0,u.cachedFunction)((function(e,t){return c({},e,{},t)})),n.getContext=(0,u.cachedFunction)((function(e,t,n){return{location:e,loadDate:t,loadId:n}})),null!=t.loadId?n._loadId=t.loadId:t.root&&(n._loadId=i.default.v4()),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var a=r.prototype;return a.renderProvider=function(e){var t=this.props,n=t.section,r=t.page,a=t.object,o=t.objectType,i=t.children,u=this.mergeLocation(e.location,this.getLocation(r,n,a,o)),s=this.getContext(u,this._loadDate||e.loadDate,this._loadId||e.loadId);return f(l.AnalyticsContext.Provider,{value:s},void 0,i)},a.render=function(){var e=this,t=this.props.context;return null!=t?this.renderProvider(t):f(l.AnalyticsContext.Consumer,{},void 0,(function(t){return e.renderProvider(t)}))},r}(o.Component);t.default=v,v.displayName="AnalyticsContext",v.Pages=s.AnalyticsPages,v.Sections=s.AnalyticsSections,v.Objects=s.AnalyticsObjects,v.ObjectTypes=s.AnalyticsObjectTypes,v.defaultProps={root:!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=n(8253),i=s(n(39)),l=n(1163),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t,n,r){void 0===n&&(n=u.default.Messages.COPY_ID);var s=(0,a.useStateFromStores)([i.default],(function(){return i.default.developerMode}),[]);return!__OVERLAY__&&s&&l.SUPPORTS_COPY?f(o.MenuItem,{id:"devmode-copy-id",label:n,action:function(n){var a=t&&n.shiftKey?t:e;(0,l.copy)(a),null==r||r()}},"devmode-copy-id"):null}c.displayName="useCopyIdItem"},,function(e,t,n){"use strict";var r,a,o,i;Object.defineProperty(t,"__esModule",{value:!0}),t.ApplicationCommandOptionType=t.ApplicationCommandPermissionType=t.ApplicationCommandType=t.ApplicationCommandSectionType=void 0,t.ApplicationCommandSectionType=r,function(e){e[e.BUILT_IN=0]="BUILT_IN",e[e.GUILD=1]="GUILD",e[e.DM=2]="DM"}(r||(t.ApplicationCommandSectionType=r={})),t.ApplicationCommandType=a,function(e){e[e.BUILT_IN=0]="BUILT_IN",e[e.BUILT_IN_TEXT=1]="BUILT_IN_TEXT",e[e.BUILT_IN_INTEGRATION=2]="BUILT_IN_INTEGRATION",e[e.BOT=3]="BOT",e[e.PLACEHOLDER=4]="PLACEHOLDER"}(a||(t.ApplicationCommandType=a={})),t.ApplicationCommandPermissionType=o,function(e){e[e.ROLE=1]="ROLE",e[e.USER=2]="USER"}(o||(t.ApplicationCommandPermissionType=o={})),t.ApplicationCommandOptionType=i,function(e){e[e.SUB_COMMAND=1]="SUB_COMMAND",e[e.SUB_COMMAND_GROUP=2]="SUB_COMMAND_GROUP",e[e.STRING=3]="STRING",e[e.INTEGER=4]="INTEGER",e[e.BOOLEAN=5]="BOOLEAN",e[e.USER=6]="USER",e[e.CHANNEL=7]="CHANNEL",e[e.ROLE=8]="ROLE",e[e.MENTIONABLE=9]="MENTIONABLE"}(i||(t.ApplicationCommandOptionType=i={}))},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTermsFormField=function(e){return!!e&&e.field_type===r.TERMS},t.GuildJoinRequestApplicationStatuses=t.UserVerificationFieldPlatforms=t.VerificationFormFieldTypes=t.MAX_RESULTS_PER_PAGE=void 0;var r,a,o;t.MAX_RESULTS_PER_PAGE=25,t.VerificationFormFieldTypes=r,function(e){e.TERMS="TERMS",e.TEXT_INPUT="TEXT_INPUT",e.PARAGRAPH="PARAGRAPH",e.MULTIPLE_CHOICE="MULTIPLE_CHOICE",e.VERIFICATION="VERIFICATION"}(r||(t.VerificationFormFieldTypes=r={})),t.UserVerificationFieldPlatforms=a,function(e){e.EMAIL="email",e.PHONE="phone"}(a||(t.UserVerificationFieldPlatforms=a={})),t.GuildJoinRequestApplicationStatuses=o,function(e){e.STARTED="STARTED",e.PENDING="PENDING",e.REJECTED="REJECTED",e.APPROVED="APPROVED"}(o||(t.GuildJoinRequestApplicationStatuses=o={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBadgeWidthForValue=y,t.getBadgeCountString=m,t.IconBadge=t.TextBadge=t.NumberBadge=t.BadgeShapes=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),i=n(1),l=u(n(7449));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(){return(f=Object.assign||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}).apply(this,arguments)}function c(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}var p={ROUND:l.default.baseShapeRound,ROUND_LEFT:l.default.baseShapeRoundLeft,ROUND_RIGHT:l.default.baseShapeRoundRight,SQUARE:""};function v(e){switch(e){case 1:case 4:case 6:return 1;default:return}}function y(e){return e<10?16:e<100?22:30}function m(e){return e<1e3?""+e:Math.min(Math.floor(e/1e3),9)+"k+"}t.BadgeShapes=p;var _=function(e){var t=e.count,n=e.color,r=void 0===n?i.Colors.STATUS_RED:n,u=e.disableColor,s=void 0!==u&&u,d=e.shape,_=void 0===d?p.ROUND:d,h=e.className,E=e.style,g=c(e,["count","color","disableColor","shape","className","style"]);return a.createElement("div",f({className:(0,o.default)(h,l.default.numberBadge,_),style:f({backgroundColor:s?void 0:r,width:y(t),paddingRight:v(t)},E)},g),m(t))};t.NumberBadge=_,_.displayName="NumberBadge";var h=function(e){var t=e.text,n=e.className,r=e.color,u=void 0===r?i.Colors.STATUS_RED:r,s=e.shape,d=void 0===s?p.ROUND:s,v=e.disableColor,y=void 0!==v&&v,m=e.style,_=c(e,["text","className","color","shape","disableColor","style"]);return a.createElement("div",f({className:(0,o.default)(n,l.default.textBadge,d),style:f({backgroundColor:y?void 0:u},m)},_),t)};t.TextBadge=h,h.displayName="TextBadge";var E=function(e){var t=e.icon,n=e.className,r=e.color,a=void 0===r?i.Colors.STATUS_RED:r,u=e.shape,s=void 0===u?p.ROUND:u,c=e.disableColor,v=void 0!==c&&c,y=e.style;return d("div",{className:(0,o.default)(n,l.default.iconBadge,s),style:f({backgroundColor:v?void 0:a},y)},void 0,d(t,{className:l.default.icon}))};t.IconBadge=E,E.displayName="IconBadge"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return f.apply(this,arguments)};var r=u(n(2)),a=n(1150),o=n(8555),i=u(n(8363)),l=u(n(9299));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){s(o,r,a,i,l,"next",e)}function l(e){s(o,r,a,i,l,"throw",e)}i(void 0)}))}}function f(){return(f=d(regeneratorRuntime.mark((function e(t,n,u){var s,d,f,c,p,v,y,m,_,h,E,g,S,O;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(f=(d=void 0===u?{}:u).withMutualGuilds,c=void 0!==f&&f,p=d.friendToken,v=d.preloadUserBanner,y=void 0===v||v,m=d.dispatchWait,_=void 0!==m&&m,(0,o.maybeFetchColor)(n),h=i.default.getUserProfile(t),E=i.default.getMutualGuilds(t),g=i.default.isFetching(t),S=!Array.isArray(E)&&c,O=y?l.default.preloadUserBannerImage:void 0,S||!(g||Date.now()-(null!==(s=null==h?void 0:h.lastFetched)&&void 0!==s?s:0)<6e4)){e.next=9;break}return e.abrupt("return",Promise.resolve());case 9:if(!_){e.next=14;break}return e.next=12,r.default.wait((function(){return(0,a.fetchProfile)(t,{withMutualGuilds:c,friendToken:p},O)}));case 12:e.next=16;break;case 14:return e.next=16,(0,a.fetchProfile)(t,{withMutualGuilds:c,friendToken:p},O);case 16:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=O(n(23)),a=O(n(14)),o=O(n(2)),i=O(n(154)),l=O(n(8389)),u=n(106),s=n(42),d=O(n(31)),f=O(n(10)),c=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(1225)),p=O(n(36)),v=n(1242),y=n(121),m=n(8886),_=O(n(204)),h=n(698),E=n(1),g=O(n(6));function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e){return e&&e.__esModule?e:{default:e}}function I(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function T(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){I(o,r,a,i,l,"next",e)}function l(e){I(o,r,a,i,l,"throw",e)}i(void 0)}))}}function C(e,t){return a.default.patch({url:E.Endpoints.CHANNEL(e),body:t}).then((function(e){return o.default.dispatch({type:E.ActionTypes.THREAD_UPDATE,channel:d.default.fromServer(e.body),guildHashes:void 0}),e}))}var b={archiveThread:function(e,t){var n={archived:!0};return t&&(n.locked=!0),C(e.id,n)},unarchiveThread:function(e,t){return T(regeneratorRuntime.mark((function n(){var r,a,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r={archived:!1},t&&(r.locked=!1),n.prev=2,n.next=5,C(e.id,r);case 5:return n.abrupt("return",n.sent);case 8:throw n.prev=8,n.t0=n.catch(2),(null===(a=n.t0.body)||void 0===a?void 0:a.code)===E.AbortCodes.TOO_MANY_THREADS?i.default.show({title:g.default.Messages.CANNOT_UNARCHIVE_THREAD,body:g.default.Messages.TOO_MANY_THREADS_MESSAGE}):(null===(o=n.t0.body)||void 0===o?void 0:o.code)===E.AbortCodes.TOO_MANY_ANNOUNCEMENT_THREADS?i.default.show({title:g.default.Messages.CANNOT_UNARCHIVE_THREAD,body:g.default.Messages.TOO_MANY_ANNOUNCEMENT_THREADS_MESSAGE}):429===n.t0.status?i.default.show({title:g.default.Messages.CANNOT_UNARCHIVE_THREAD,body:g.default.Messages.RATE_LIMITED}):i.default.show({title:g.default.Messages.ERROR,body:g.default.Messages.ERROR_OCCURRED_TRY_AGAIN}),n.t0;case 12:case"end":return n.stop()}}),n,null,[[2,8]])})))()},createThread:function(e,t,n,r,l){return T(regeneratorRuntime.mark((function u(){var s,d,c,p,y,m,_;return regeneratorRuntime.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return s=null!=t?E.Endpoints.CHANNEL_MESSAGE_THREADS(e.id,t):E.Endpoints.CHANNEL_THREADS(e.id),u.prev=1,u.next=4,a.default.post({url:s,body:{name:n,type:r,auto_archive_duration:l}});case 4:d=u.sent,o.default.dispatch({type:E.ActionTypes.SLOWMODE_RESET_COOLDOWN,slowmodeType:v.SlowmodeType.CreateThread,channelId:e.id}),o.default.dispatch({type:E.ActionTypes.THREAD_CREATE_LOCAL,channelId:d.body.id}),u.next=13;break;case 9:throw u.prev=9,u.t0=u.catch(1),(null===(c=u.t0.body)||void 0===c?void 0:c.code)===E.AbortCodes.TOO_MANY_THREADS?i.default.show({title:g.default.Messages.CANNOT_CREATE_THREAD,body:g.default.Messages.TOO_MANY_THREADS_MESSAGE}):(null===(p=u.t0.body)||void 0===p?void 0:p.code)===E.AbortCodes.TOO_MANY_ANNOUNCEMENT_THREADS?i.default.show({title:g.default.Messages.CANNOT_CREATE_THREAD,body:g.default.Messages.TOO_MANY_ANNOUNCEMENT_THREADS_MESSAGE}):(null===(y=u.t0.body)||void 0===y?void 0:y.code)===E.AbortCodes.SLOWMODE_RATE_LIMITED?(_=null!==(m=u.t0.body.retry_after)&&void 0!==m?m:0)>0&&o.default.dispatch({type:E.ActionTypes.SLOWMODE_SET_COOLDOWN,channelId:e.id,slowmodeType:v.SlowmodeType.CreateThread,cooldownMs:1e3*_}):429===u.t0.status?i.default.show({title:g.default.Messages.CANNOT_CREATE_THREAD,body:g.default.Messages.RATE_LIMITED}):i.default.show({title:g.default.Messages.ERROR,body:g.default.Messages.ERROR_OCCURRED_TRY_AGAIN}),u.t0;case 13:return u.abrupt("return",new Promise((function(e){f.default.addConditionalChangeListener((function(){var t=f.default.getChannel(d.body.id);if(null!=t)return o.default.wait((function(){e(t)})),!1}))})));case 14:case"end":return u.stop()}}),u,null,[[1,9]])})))()},joinThread:function(e,t){return T(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,a.default.post({url:E.Endpoints.THREAD_MEMBER(e.id),query:{location:t}});case 3:return n.abrupt("return",n.sent);case 6:n.prev=6,n.t0=n.catch(0),(null===(r=n.t0.body)||void 0===r?void 0:r.code)===E.AbortCodes.TOO_MANY_THREAD_MEMBERS?i.default.show({title:g.default.Messages.CANNOT_JOIN_THREAD,body:g.default.Messages.TOO_MANY_MEMBERS_MESSAGE}):i.default.show({title:g.default.Messages.ERROR,body:g.default.Messages.ERROR_OCCURRED_TRY_AGAIN});case 9:case"end":return n.stop()}}),n,null,[[0,6]])})))()},addMember:function(e,t,n){return T(regeneratorRuntime.mark((function r(){var o;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,a.default.post({url:E.Endpoints.THREAD_MEMBER(e.id,t),query:{location:n}});case 3:return r.abrupt("return",r.sent);case 6:r.prev=6,r.t0=r.catch(0),(null===(o=r.t0.body)||void 0===o?void 0:o.code)===E.AbortCodes.TOO_MANY_THREAD_MEMBERS?i.default.show({title:g.default.Messages.CANNOT_ADD_USER_TO_THREAD,body:g.default.Messages.TOO_MANY_MEMBERS_MESSAGE}):i.default.show({title:g.default.Messages.ERROR,body:g.default.Messages.ERROR_OCCURRED_TRY_AGAIN});case 9:case"end":return r.stop()}}),r,null,[[0,6]])})))()},leaveThread:function(e,t){return a.default.delete({url:E.Endpoints.THREAD_MEMBER(e.id),query:{location:t}})},removeMember:function(e,t,n){return a.default.delete({url:E.Endpoints.THREAD_MEMBER(e.id,t),query:{location:n}})},setAutoArchiveDuration:function(e,t){return a.default.patch({url:E.Endpoints.CHANNEL(e.id),body:{auto_archive_duration:t}})},openThreadSidebarForViewing:function(e){y.ComponentDispatch.dispatch(E.ComponentActions.POPOUT_CLOSE),p.default.getChannelId()!==e.parent_id&&(0,s.transitionToGuild)(e.guild_id,e.parent_id),(0,r.default)(null!=e.parent_id,"all threads must have parents"),o.default.dispatch({type:E.ActionTypes.THREAD_SIDEBAR_VIEW_THREAD,parentChannelId:e.parent_id,channelId:e.id}),setTimeout((function(){y.ComponentDispatch.dispatch(E.ComponentActions.FOCUS_CHANNEL_TEXT_AREA,{channelId:e.id})}),0)},openThreadSidebarForCreating:function(e,t,n){if((0,u.trackWithMetadata)(E.AnalyticEvents.THREAD_CREATION_STARTED,{location:n,channel_id:e.id,guild_id:e.guild_id}),y.ComponentDispatch.dispatch(E.ComponentActions.POPOUT_CLOSE),p.default.getChannelId()!==e.id&&(0,s.transitionToGuild)(e.guild_id,e.id),""===c.default.getDraft(e.id,c.DraftType.FirstThreadMessage)){var r=c.default.getDraft(e.id,c.DraftType.ChannelMessage);l.default.saveDraft(e.id,"",c.DraftType.ChannelMessage),l.default.saveDraft(e.id,r,c.DraftType.FirstThreadMessage)}setTimeout((function(){o.default.dispatch({type:E.ActionTypes.THREAD_SIDEBAR_CREATE_THREAD,parentChannelId:e.id,parentMessageId:null==t?void 0:t.id})}),0)},closeThreadSidebar:function(e){o.default.dispatch({type:E.ActionTypes.THREAD_SIDEBAR_CLOSE,parentChannelId:e})},setNotificationSetting:function(e,t){var n=this;return T(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if((0,h.trackThreadNotificationSettingsUpdated)(e,t),_.default.hasJoined(e.id)){r.next=4;break}return r.next=4,n.joinThread(e,"Change Notification Settings");case 4:return r.abrupt("return",a.default.patch({url:E.Endpoints.THREAD_MEMBER_SETTINGS(e.id),body:{flags:t}}));case 5:case"end":return r.stop()}}),r)})))()},loadArchivedThreads:function(e,t,n,r){o.default.dirtyDispatch({type:E.ActionTypes.LOAD_ARCHIVED_THREADS,channelId:t,listType:n,before:r}),a.default.get({url:m.ArchivedThreadListTypeAdapters[n].endpoint(t),query:{before:r},retries:2}).then((function(a){var i=a.body,l=i.threads,u=i.members,s=i.has_more;o.default.dispatch({type:E.ActionTypes.LOAD_ARCHIVED_THREADS_SUCCESS,guildId:e,channelId:t,listType:n,before:r,threads:l,members:(null!=u?u:[]).map((function(e){return(0,h.convertServerThreadMember)(e)})),hasMore:s})}),(function(){o.default.dispatch({type:E.ActionTypes.LOAD_ARCHIVED_THREADS_FAIL,channelId:t,listType:n,before:r})}))}};t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=u(n(9)),o=u(n(271)),i=u(n(8443)),l=u(n(7605));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t,n=e.icon,r=e.iconNode,o=e.timestamp,u=e.className,s=e.children,f=e.contentClassName,c=e.iconClassName,p=e.iconContainerClassName,v=e.compact,y=void 0!==v&&v;return d("div",{className:(0,a.default)(u,(t={},t[l.default.container]=!0,t[l.default.compact]=y,t[l.default.cozy]=!y,t))},void 0,null!=r&&d("div",{className:(0,a.default)(l.default.iconContainer,p)},void 0,r),null!=n&&d("div",{className:l.default.iconContainer},void 0,d("div",{"data-accessibility":"desaturate",className:(0,a.default)(l.default.icon,l.default.iconSize,c),style:{backgroundImage:"url('"+n+"')"}})),d("div",{className:(0,a.default)(f,l.default.content)},void 0,s,null!=o&&d(i.default,{timestamp:o})))}f.displayName="SystemMessage";var c=function(e){var t=e.onClick,n=e.children;return d("span",{className:l.default.action},void 0,"—",d(o.default,{onClick:t,className:l.default.actionAnchor},void 0,n))};c.displayName="SystemMessageAction",f.Action=c;var p=f;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;var r,a=y(n(0)),o=p(n(9)),i=p(n(88)),l=p(n(8522)),u=n(149),s=n(85),d=p(n(1165)),f=y(n(474)),c=p(n(7611));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e){var t,n=e.value,r=e.disabled,p=void 0!==r&&r,v=e.hideBorder,y=void 0!==v&&v,_=e.tooltipNote,h=e.onChange,E=e.className,g=e.style,S=e.note,O=e.children,I=a.useRef(null),T=a.useRef(null),C=(0,s.useUID)(),b=m(l.default,{id:C,checked:n,onChange:h,disabled:p,focusProps:{enabled:!1},innerRef:I});return m("div",{style:g,className:(0,o.default)(c.default.container,E,(t={},t[c.default.disabled]=p,t))},void 0,m(i.default,{within:!0,offset:-4,focusTarget:I,ringTarget:T},void 0,a.createElement("div",{className:c.default.labelRow,ref:T},m("label",{htmlFor:C,className:c.default.title},void 0,O),m("div",{className:c.default.control},void 0,null!=_?m(u.TooltipContainer,{text:_},void 0,b):b))),S&&m("div",{className:c.default.note},void 0,m(f.default,{disabled:p,type:f.Types.DESCRIPTION},void 0,S)),!y&&m(d.default,{className:c.default.dividerDefault}))}_.displayName="SwitchItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=z(n(0)),o=W(n(9)),i=W(n(23)),l=n(3),u=W(n(478)),s=n(1150),d=W(n(473)),f=W(n(8257)),c=W(n(8820)),p=n(5943),v=n(8298),y=W(n(486)),m=W(n(707)),_=n(293),h=W(n(163)),E=W(n(11)),g=W(n(71)),S=W(n(56)),O=W(n(15)),I=W(n(40)),T=W(n(256)),C=W(n(70)),b=W(n(160)),M=W(n(12)),N=W(n(61)),A=W(n(282)),P=n(41),R=z(n(279)),L=W(n(24)),D=W(n(468)),w=W(n(13)),j=W(n(258)),k=W(n(9302)),U=z(n(8822)),G=W(n(9304)),F=W(n(9321)),B=n(9112),H=n(1),x=W(n(6)),V=W(n(7473));function W(e){return e&&e.__esModule?e:{default:e}}function Y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Y=function(){return e},e}function z(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=Y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function K(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function $(){return($=Object.assign||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}).apply(this,arguments)}function Z(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function q(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Z(o,r,a,i,l,"next",e)}function l(e){Z(o,r,a,i,l,"throw",e)}i(void 0)}))}}function X(e){e.stopPropagation()}function J(e){var t,n=e.user,r=e.guildId,i=e.channelId,s=e.setNote,M=e.closePopout,W=e.setPopoutRef,Y=e.disableUserProfileLink,z=void 0===Y?__OVERLAY__:Y,Z=e.analyticsParams,J=void 0===Z?{}:Z,Q=a.useRef(null),ee=a.useState(!0),te=ee[0],ne=ee[1],re=a.useCallback((function(){var e=Q.current;null!=e&&ne(0===e.getScrollerState().scrollTop)}),[]);a.useLayoutEffect((function(){var e,t=Q.current;null!=t&&(null===(e=t.getScrollerNode())||void 0===e||e.scrollTo({top:0}))}),[]);var ae=(0,l.useStateFromStores)([O.default],(function(){return null!=r?O.default.getGuild(r):null})),oe=(0,l.useStateFromStores)([S.default],(function(){return null!=r?S.default.getMember(r,n.id):null})),ie=n.isNonUserBot(),le=(0,l.useStateFromStoresArray)([T.default],(function(){return[T.default.findActivity(n.id,(function(e){return e.type!==H.ActivityTypes.CUSTOM_STATUS})),T.default.findActivity(n.id,(function(e){return e.type===H.ActivityTypes.CUSTOM_STATUS})),ie?null:T.default.getStatus(n.id),T.default.isMobileOnline(n.id)]})),ue=le[0],se=le[1],de=le[2],fe=le[3],ce=(0,l.useStateFromStores)([h.default],(function(){return null!=h.default.getStreamForUser(n.id)})),pe=(0,l.useStateFromStores)([b.default],(function(){return b.default.hidePersonalInformation})),ve=a.useMemo((function(){var e;return null!=r?((e={})[r]=[n.id],e):{}}),[r,n.id]);(0,v.useSubscribeGuildMembers)(ve);var ye=(0,k.default)(n.id,r),me=j.default.getNickname(r,i,n),_e=E.default.getId()===n.id,he=(0,l.useStateFromStores)([I.default],(function(){return _e&&null!=ae&&(I.default.can(H.Permissions.CHANGE_NICKNAME,ae)||I.default.can(H.Permissions.MANAGE_NICKNAMES,ae))})),Ee=(0,p.useAndTriggerGuildMemberAvatarExperiment)(),ge=null!=ae&&_e&&Ee,Se=a.useCallback((function(){return null!=ue&&null!=ue.application_id&&null==g.default.getGame(ue.application_id)?u.default.fetchApplication(ue.application_id):Promise.resolve()}),[ue]);function Oe(){var e,t,r;null!=ue&&(e=ue.party,t=ue.assets,r=null!=ue.application_id?g.default.getGame(ue.application_id):null);var a=de;de===H.StatusTypes.ONLINE&&(a=fe?H.AnalyticsUserStatusTypes.ONLINE_MOBILE:H.AnalyticsUserStatusTypes.ONLINE_DESKTOP),w.default.track(H.AnalyticEvents.OPEN_POPOUT,$({type:"Profile Popout",other_user_id:n.id,application_id:null!=ue?ue.application_id:void 0,application_name:null!=ue?ue.name:void 0,sku_id:null!=r?r.primarySkuId:null,is_friend:C.default.isFriend(n.id),has_images:!(null==t||!t.large_image&&!t.small_image),party_max:null!=e&&null!=e.size?e.size[1]:void 0,party_id:null!=e?e.id:void 0,party_platform:null!=e&&(0,_.isSpotifyParty)(e.id)?H.PlatformTypes.SPOTIFY:null,game_platform:(0,y.default)(ue),profile_user_status:a,is_streaming:ce,has_custom_status:null!=se,profile_has_nitro_customization:null!=n.banner},J))}return a.useEffect((function(){function e(){return(e=q(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Se();case 2:Oe();case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]),a.useEffect((function(){Se()}),[Se]),K(f.default,{section:H.AnalyticsSections.PROFILE_POPOUT},void 0,a.createElement(A.default,{ref:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return null==W?void 0:W(e)})),"aria-label":n.username,className:V.default.userPopout,style:{width:300},onClick:X,onContextMenu:X},K("div",{className:V.default.headerNormal},void 0,K(U.default,{user:n,onClose:function(){return null==M?void 0:M()},guildId:r||void 0,bannerType:U.UserBannerTypes.POPOUT})),K(B.UserPopoutAvatar,{user:n,status:(0,m.default)(ue)?H.StatusTypes.STREAMING:de,isMobile:fe,guildId:r,onClose:M,disableUserProfileLink:z}),K(B.UserPopoutInfo,{user:n,nickname:me,onOpenPremiumSettings:function(){w.default.track(H.AnalyticEvents.PREMIUM_PROMOTION_OPENED,{location_page:null,location_section:H.AnalyticsSections.PROFILE_POPOUT,location_object:H.AnalyticsObjects.TOOLTIP}),d.default.open(H.UserSettingsSections.PREMIUM),null==M||M()},identityCTA:function(){if(!he&&!ge||null==r)return null;var e=x.default.Messages.USER_POPOUT_IDENTITY_CTA_BOTH;return he&&!ge?e=x.default.Messages.USER_POPOUT_IDENTITY_CTA_NICKNAME:!he&&ge&&(e=x.default.Messages.USER_POPOUT_IDENTITY_CTA_AVATAR),K(N.default,{className:V.default.setIdentityLink,onClick:function(){return(0,P.openModal)((function(e){return a.createElement(c.default,$({},e,{guildId:r,user:n,analyticsSource:{page:H.AnalyticsPages.GUILD_CHANNEL,section:H.AnalyticsSections.PROFILE_POPOUT,object:H.AnalyticsObjects.EDIT_PER_SERVER_IDENTITY}}))}))}},void 0,K(L.default,{tag:"a",color:L.default.Colors.LINK,size:L.default.Sizes.SIZE_14},void 0,e))}(),usernameIcon:n.hasAvatarForGuild(r||void 0)&&K(R.default,{src:n.getAvatarURL(void 0),size:null==me?R.Sizes.SIZE_24:R.Sizes.SIZE_16,className:null==me?V.default.largeAvatar:V.default.miniAvatar,"aria-hidden":!0}),hasCustomStatus:null!=se}),a.createElement(D.default,{className:(0,o.default)(V.default.body,(t={},t[V.default.scrollerSeparator]=!te,t)),onScroll:re,ref:Q},K(B.UserPopoutProfileText,{hidePersonalInformation:pe,userBio:n.bio,customStatus:null!=se?K(B.UserPopoutCustomStatus,{customStatusActivity:se}):void 0}),K(G.default,{activity:ue,customStatusActivity:se,user:n,guild:ae,guildMember:oe,channelId:i,onClose:M,setNote:s,canDM:ye,hidePersonalInformation:pe})),K(F.default,{user:n,setNote:s,canDM:ye,onClose:M})))}function Q(e){var t=e.user,n=e.userId,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["user","userId"]),o=(0,l.useStateFromStores)([M.default],(function(){return M.default.getUser(n)}),[n]),u=a.useState(!1),d=u[0],f=u[1],c=null!=o?o:t;return a.useEffect((function(){function e(){return(e=q(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.getUser)(n);case 2:f(!0);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}null==o&&function(){e.apply(this,arguments)}()}),[o,n]),null==c?(d&&(0,i.default)(null!=c,"Unexpected missing user"),null):a.createElement(J,$({user:c},r))}J.displayName="UserPopout",Q.displayName="UserPopoutContainer";var ee=a.memo(Q);t.default=ee},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=f(n(88)),l=f(n(8550)),u=f(n(7419)),s=f(n(1244)),d=f(n(5701));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).onChange=function(e){var n=t.props,r=n.onChange,a=n.name;r&&r(e.currentTarget.value,a)},t.onFocus=function(e){var n=t.props,r=n.onFocus,a=n.name;r&&r(e,a)},t.onBlur=function(e){var n=t.props,r=n.onBlur,a=n.name;r&&r(e,a)},t.onKeyDown=function(e){var n=t.props.onKeyDown;n&&n(e)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var a=r.prototype;return a.getPaddingRight=function(){var e=this.props.maxLength;return null==e?10:7.23*(""+e).length+10},a.renderMaxLength=function(){var e=this.props,t=e.maxLength,n=e.value;if(null==t)return null;var r=t-(null!=n?n.length:0);return p("div",{className:u.default.maxLength},void 0,r)},a.renderErrorMessage=function(){var e=this.props.error;return null==e?null:p("div",{className:s.default.errorMessage},void 0,e)},a.render=function(){var e,t,n,r=this.props,a=r.disabled,f=r.value,c=r.placeholder,v=r.error,y=r.autoFocus,m=r.maxLength,_=r.resizeable,h=r.className,E=r.id,g=r.rows,S=r.flex,O=r.autosize?l.default:"textarea";return p("div",{className:(0,o.default)(s.default.inputWrapper,(e={},e[u.default.flex]=S,e))},void 0,p("div",{className:(0,o.default)(u.default.inputMaxLength,(t={},t[u.default.flex]=S,t))},void 0,p(i.default,{},void 0,p(O,{type:"text",className:(0,o.default)(s.default.inputDefault,u.default.textArea,d.default.scrollbarDefault,h,(n={},n[s.default.error]=v,n[s.default.disabled]=a,n[u.default.resizeable]=_,n)),style:{paddingRight:this.getPaddingRight()},id:E,disabled:a,placeholder:c,value:f,autoFocus:y,maxLength:m,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeyDown,rows:g})),this.renderMaxLength()),this.renderErrorMessage())},r}(a.PureComponent);y.displayName="TextArea",y.defaultProps={name:"",disabled:!1,placeholder:"",autoFocus:!1,resizeable:!1,flex:!1,autosize:!1,rows:3};var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=a.forwardRef((function(t,n){return l(o.AnalyticsContext.Consumer,{},void 0,(function(r){return a.createElement(e,u({},t,{ref:n,analyticsContext:r}))}))}));return t.displayName="withAnalyticsContext("+(e.displayName||e.name||"")+")",t};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(13);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function u(){return(u=Object.assign||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}).apply(this,arguments)}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=e["aria-label"],p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground","aria-label"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 24 24","aria-label":c}),s("path",{className:f,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M11.383 3.07904C11.009 2.92504 10.579 3.01004 10.293 3.29604L6 8.00204H3C2.45 8.00204 2 8.45304 2 9.00204V15.002C2 15.552 2.45 16.002 3 16.002H6L10.293 20.71C10.579 20.996 11.009 21.082 11.383 20.927C11.757 20.772 12 20.407 12 20.002V4.00204C12 3.59904 11.757 3.23204 11.383 3.07904ZM14 5.00195V7.00195C16.757 7.00195 19 9.24595 19 12.002C19 14.759 16.757 17.002 14 17.002V19.002C17.86 19.002 21 15.863 21 12.002C21 8.14295 17.86 5.00195 14 5.00195ZM14 9.00195C15.654 9.00195 17 10.349 17 12.002C17 13.657 15.654 15.002 14 15.002V13.002C14.551 13.002 15 12.553 15 12.002C15 11.451 14.551 11.002 14 11.002V9.00195Z","aria-hidden":!0}))}d.displayName="Speaker"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={HotspotStore:!0};Object.defineProperty(t,"HotspotStore",{enumerable:!0,get:function(){return l.default}});var a=n(395);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var o=n(1220);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i,l=(i=n(702))&&i.__esModule?i:{default:i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.COMMAND_SENTINEL=t.REACTION_END_SENTINEL=t.REACTION_START_SENTINEL=t.EMOJI_SENTINEL=t.CHANNEL_SENTINEL=t.MENTION_SENTINEL=void 0;t.MENTION_SENTINEL="@";t.CHANNEL_SENTINEL="#";t.EMOJI_SENTINEL=":";t.REACTION_START_SENTINEL="+:";t.REACTION_END_SENTINEL=":";t.COMMAND_SENTINEL="/"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildApplicationCommands=function(e){return a.default.flatMap(e,(function(e){return(0,r.default)(null!=e.id,"Missing command id"),function e(t,n,r,a,o){if(n.hasOwnProperty("id")){if(null==(n=n).options||0===n.options.length)return[m(t,n,r,a,o)]}else if((n=n).type!==c.ApplicationCommandOptionType.SUB_COMMAND&&n.type!==c.ApplicationCommandOptionType.SUB_COMMAND_GROUP&&(null==n.options||0===n.options.length))return[m(t,n,r,a,o)];var i=[];if(null==n.options)return i;for(var l=n.options.filter((function(e){return e.type===c.ApplicationCommandOptionType.SUB_COMMAND_GROUP})),u=0;u<l.length;u++)i.push.apply(i,e(t,l[u],r,(null!=a?a:[]).concat([{name:l[u].name,type:c.ApplicationCommandOptionType.SUB_COMMAND_GROUP}]),(null!=o?o:[]).concat([u])));for(var s=n.options.filter((function(e){return e.type===c.ApplicationCommandOptionType.SUB_COMMAND})),d=0;d<s.length;d++)i.push(m(t,s[d],r,(null!=a?a:[]).concat([{name:s[d].name,type:c.ApplicationCommandOptionType.SUB_COMMAND}]),(null!=o?o:[]).concat([d])));0===l.length&&0===s.length&&i.push(m(t,n,r,a,o?o.concat([0]):void 0));return i}(e,e,e.application_id)}))},t.isSnowflake=function(e){return p.ID_REGEX.test(e.trim())},t.queryCommands=function(e,t,n,r,a,o,i,l){void 0===o&&(o=10);void 0===i&&(i=!0);void 0===l&&(l=!1);var u=[],f=a?new RegExp("^"+s.default.escape(n)+"\\s*$","i"):new RegExp("^"+s.default.escape(n),"i");if(!l&&(u=u.concat(_(t,f,e,o))).length>=o)return u.slice(0,o);var c=(0,d.getBuiltInCommands)(r,i,l);return u=u.concat(_(c,f,e,o))},t.getInteractionAuthor=function(e,t){if(null!=e.guild){var n=f.default.getGuildSection(e.guild.id,t);if(null!=n){var r;if(null!=n.bot)return[n.bot,null];var a={id:n.id,username:n.name,discriminator:"0000",avatar:null,bot:!0},o={id:n.id,name:n.name,icon:null!==(r=n.icon)&&void 0!==r?r:void 0};return[a,o]}}var i=u.default.getUser(t);if(null!=i)return[i,null];return[null,null]},t.hasAccess=function(e){if(null==e.defaultPermission)return!0;if(null!=e.permissions){var t=u.default.getCurrentUser(),n=e.permissions[t.id];if(null!=n)return n.permission;var r=l.default.getGuildId(),a=null!=r?i.default.getMember(r,t.id):null;if(null!=a){var o=null,s=[].concat(a.roles);null!=r&&s.push(r);for(var d,f=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(s);!(d=f()).done;){var c=d.value,p=e.permissions[c];if(null!=p&&(o=p.permission))break}if(null!==o)return o}}return e.defaultPermission},t.getApplicationCommandOptionQueryOptions=function(e){var t=e.type===c.ApplicationCommandOptionType.STRING,n=e.type===c.ApplicationCommandOptionType.CHANNEL,r=e.type===c.ApplicationCommandOptionType.USER||e.type===c.ApplicationCommandOptionType.MENTIONABLE,a=e.type===c.ApplicationCommandOptionType.ROLE||e.type===c.ApplicationCommandOptionType.MENTIONABLE;return{canMentionEveryone:t||a,canMentionHere:t,canMentionChannels:t||n,canMentionUsers:t||r,canMentionRoles:t||a,canMentionAnyGuildUser:r,canMentionNonMentionableRoles:a}},t.getApplicationCommandSectionName=function(e){return e.bot?e.bot.username:e.name};var r=v(n(23)),a=v(n(8)),o=n(286),i=v(n(56)),l=v(n(107)),u=v(n(12)),s=v(n(264)),d=n(8605),f=v(n(8341)),c=n(8260),p=n(1);function v(e){return e&&e.__esModule?e:{default:e}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t,n,r,a){var i,l,u;null!=e.permissions&&e.permissions.length>0&&(l={},null===(u=e.permissions)||void 0===u||u.forEach((function(e){l[e.id]=e})));return{version:e.version,guildId:e.guild_id,id:[e.id].concat(null!=a?a:[]).join("_"),name:[e.name].concat((null!=r?r:[]).map((function(e){return e.name}))).join(" "),applicationId:n,target:null!==(i=e.type)&&void 0!==i?i:o.ApplicationCommandTarget.CHAT,type:c.ApplicationCommandType.BOT,description:t.description,options:t.options,rootId:e.id,rootName:e.name,subCommandPath:r,defaultPermission:e.default_permission,permissions:l}}function _(e,t,n,r){var o=[];return(0,a.default)(e).forEach((function(e){t.test(e.name)&&(null==e.predicate||e.predicate(n))&&o.push(e)})),o.slice(0,r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),a=i(n(2)),o=i(n(8617));n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var f=null,c=null,p=null,v={},y=!1;function m(){return f=null,c=null,v={},p=null,!0}var _=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var a=r.prototype;return a.getActiveCommand=function(){return f},a.getActiveOptionName=function(){return c},a.getActiveOption=function(){var e,t,n;return null!==(e=null===(t=f)||void 0===t||null===(n=t.options)||void 0===n?void 0:n.find((function(e){return e.name===c})))&&void 0!==e?e:null},a.getPreferredCommandId=function(){return p},a.getOptionStates=function(){return v},a.getOptionState=function(e){return v[e]},a.isInExperiment=function(){return y},r}(r.default.Store))(a.default,{CONNECTION_OPEN:function(e){return m()},LOGOUT:function(e){return m()},APPLICATION_COMMAND_SET_ACTIVE_COMMAND:function(e){var t,n=e.command;if((null==n?void 0:n.id)===(null===(t=f)||void 0===t?void 0:t.id))return!1;f=n,c=null,p=null;var r={};if(null!=(null==n?void 0:n.options))for(var a,o=s(n.options);!(a=o()).done;){r[a.value.name]={isActive:!1,hasValue:!1,lastValidationResult:null}}return v=r,!0},APPLICATION_COMMAND_SET_PREFERRED_COMMAND:function(e){var t,n,r=e.commandId;return r!==p&&(null!==p||r!==(null!==(t=null===(n=f)||void 0===n?void 0:n.id)&&void 0!==t?t:null))&&(f=null,c=null,p=r,v={},!0)},APPLICATION_COMMAND_UPDATE_OPTIONS:function(e){for(var t=e.changedOptionStates,n=u({},v),r=0,a=Object.entries(t);r<a.length;r++){var o=a[r],i=o[0],l=o[1];if(i in v)if(void 0!==l.hasValue?l.hasValue:n[i].hasValue){var s=n[i];n[i]={hasValue:!0,isActive:void 0!==l.isActive?l.isActive:s.isActive,lastValidationResult:void 0!==l.lastValidationResult?l.lastValidationResult:s.lastValidationResult},void 0!==l.isActive&&(l.isActive?(null!=c&&(n[c]=u({},n[c]),n[c].isActive=!1),c=i):i===c&&(c=null))}else n[i]={hasValue:!1,isActive:!1,lastValidationResult:null},c===i&&(c=null)}return v=n,!0}});o.default.subscribe({},(function(e){y!==e.allowSlashCommands&&(y=e.allowSlashCommands,_.emitChange())}));var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AutocompleteSelectionTypes=t.AutocompleteOptionTypes=t.SelectType=t.CommandMode=t.ChannelMentionMode=t.RoleMentionMode=t.UserMentionMode=t.GlobalMentionMode=t.LAYER_VERTICAL_BUFFER=t.LAYER_MAX_HEIGHT=t.DEFAULT_MAX_HEIGHT=t.MAX_COMMAND_AUTOCOMPLETE_RESULTS=void 0;t.MAX_COMMAND_AUTOCOMPLETE_RESULTS=7;t.DEFAULT_MAX_HEIGHT=490;t.LAYER_MAX_HEIGHT=200;var r,a,o,i,l,u,s,d;t.LAYER_VERTICAL_BUFFER=20,t.GlobalMentionMode=r,function(e){e[e.DENY=0]="DENY",e[e.ALLOW_EVERYONE=1]="ALLOW_EVERYONE",e[e.ALLOW_EVERYONE_OR_HERE=2]="ALLOW_EVERYONE_OR_HERE"}(r||(t.GlobalMentionMode=r={})),t.UserMentionMode=a,function(e){e[e.DENY=0]="DENY",e[e.ALLOW_CHANNEL=1]="ALLOW_CHANNEL",e[e.ALLOW_GUILD=2]="ALLOW_GUILD"}(a||(t.UserMentionMode=a={})),t.RoleMentionMode=o,function(e){e[e.DENY=0]="DENY",e[e.ALLOW_MENTIONABLE=1]="ALLOW_MENTIONABLE",e[e.ALLOW_ALL=2]="ALLOW_ALL"}(o||(t.RoleMentionMode=o={})),t.ChannelMentionMode=i,function(e){e[e.DENY=0]="DENY",e[e.ALLOW_SELECTABLE=1]="ALLOW_SELECTABLE"}(i||(t.ChannelMentionMode=i={})),t.CommandMode=l,function(e){e[e.DISABLED=0]="DISABLED",e[e.OLD_BUILT_INS=1]="OLD_BUILT_INS",e[e.NEW_TEXT_ONLY=2]="NEW_TEXT_ONLY",e[e.NEW=3]="NEW"}(l||(t.CommandMode=l={})),t.SelectType=u,function(e){e[e.INSERT=0]="INSERT",e[e.SEND=1]="SEND"}(u||(t.SelectType=u={})),t.AutocompleteOptionTypes=s,function(e){e.MENTIONS="MENTIONS",e.CHANNELS="CHANNELS",e.EMOJIS_AND_STICKERS="EMOJIS_AND_STICKERS",e.REACTIONS="REACTIONS",e.GIFS="GIFS",e.LEGACY_COMMANDS="LEGACY_COMMANDS",e.COMMANDS="COMMANDS",e.CHOICES="CHOICES"}(s||(t.AutocompleteOptionTypes=s={})),t.AutocompleteSelectionTypes=d,function(e){e.MENTION="MENTION",e.CHANNEL="CHANNEL",e.EMOJI="EMOJI",e.STICKER="STICKER",e.REACTION="REACTION",e.GIF="GIF",e.COMMAND="COMMAND",e.COMMAND_SUGGESTION="COMMAND_SUGGESTION",e.CHOICE="CHOICE",e.EMOJI_UPSELL="EMOJI_UPSELL"}(d||(t.AutocompleteSelectionTypes=d={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Caret=t.Divider=t.Icon=t.Title=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(9)),i=n(88),l=p(n(61)),u=p(n(149)),s=p(n(5950)),d=p(n(47)),f=p(n(248)),c=p(n(7639));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=function(e){var t=e.className,n=e.children,r=e.onContextMenu,a=e.onClick,i=e.muted,l=void 0!==i&&i;return y(d.default,{className:(0,o.default)(t,c.default.title),size:d.default.Sizes.SIZE_16,muted:l,onContextMenu:r,onClick:a},void 0,n)};t.Title=m,m.displayName="Title";var _=function(e){var t=e.className,n=e.iconClassName,r=e.children,a=e.selected,i=void 0!==a&&a,s=e.disabled,d=void 0!==s&&s,p=e.showBadge,v=void 0!==p&&p,m=e.color,_=e.foreground,h=e.background,E=e.icon,g=e.onClick,S=e.onContextMenu,O=e.tooltip,I=void 0===O?null:O,T=e.tooltipColor,C=e.tooltipPosition,b=void 0===C?u.default.Positions.BOTTOM:C,M=e.hideOnClick,N=void 0===M||M,A=e.role,P=e["aria-label"],R=e["aria-hidden"],L=e["aria-checked"],D=y(E,{x:0,y:0,width:24,height:24,className:(0,o.default)(n,c.default.icon),foreground:null!=_?_:void 0,background:null!=h?h:void 0,color:m}),w=P;return null==w&&"string"==typeof I&&(w=I),y(u.default,{text:I,color:T,position:b,hideOnClick:N},void 0,(function(e){var n,a=e.onMouseEnter,u=e.onMouseLeave,s=e.onFocus,p=e.onBlur;return y(l.default,{tag:"div",onClick:d?void 0:g,onContextMenu:d?void 0:S,onMouseEnter:a,onMouseLeave:u,onFocus:s,onBlur:p,className:(0,o.default)(t,(n={},n[c.default.iconWrapper]=!0,n[c.default.clickable]=!d&&null!=g,n[c.default.selected]=i,n)),role:A,"aria-label":w,"aria-hidden":R,"aria-checked":L,tabIndex:d||null==g?-1:0},void 0,v?y(f.default,{mask:f.default.Masks.HEADER_BAR_BADGE},void 0,D):D,v?y("span",{className:c.default.iconBadge}):null,r)}))};t.Icon=_,_.displayName="Icon";var h=function(e){var t=e.className;return y("div",{className:(0,o.default)(c.default.divider,t)})};t.Divider=h,h.displayName="Divider";var E=function(){return y(s.default,{className:c.default.caret})};t.Caret=E,E.displayName="Caret";var g=function(e){var t,n=e.className,r=e.children,l=e.toolbar,u=e.onDoubleClick,s=e["aria-label"],d=e.transparent,f=void 0!==d&&d,p=a.useRef(null);return a.createElement("section",{className:(0,o.default)(n,c.default.container,(t={},t[c.default.themed]=!f,t[c.default.transparent]=f,t)),"aria-label":s,ref:p},y(i.FocusRingScope,{containerRef:p},void 0,y("div",{className:c.default.children,onDoubleClick:u},void 0,r),null!=l?y("div",{className:c.default.toolbar},void 0,l):null))};g.displayName="HeaderBar",g.Icon=_,g.Title=m,g.Divider=h,g.Caret=E;var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.InviteRow=void 0;var r,a=fe(n(0)),o=se(n(9)),i=se(n(8)),l=n(95),u=fe(n(3)),s=n(57),d=se(n(1211)),f=n(9630),c=se(n(1296)),p=se(n(8297)),v=se(n(8551)),y=fe(n(9631)),m=n(5937),_=n(180),h=n(1148),E=n(726),g=n(481),S=se(n(1258)),O=se(n(81)),I=se(n(163)),T=fe(n(8731)),C=se(n(10)),b=se(n(86)),M=se(n(8521)),N=se(n(9632)),A=se(n(40)),P=se(n(256)),R=se(n(70)),L=se(n(36)),D=se(n(107)),w=se(n(160)),j=se(n(39)),k=se(n(12)),U=se(n(365)),G=se(n(271)),F=se(n(29)),B=se(n(61)),H=n(8302),x=se(n(55)),V=se(n(1159)),W=se(n(8267)),Y=se(n(153)),z=se(n(149)),K=n(131),$=se(n(8367)),Z=n(35),q=fe(n(279)),X=se(n(24)),J=se(n(13)),Q=fe(n(8286)),ee=n(1163),te=n(1),ne=se(n(6)),re=se(n(7612)),ae=se(n(1170)),oe=se(n(370)),ie=se(n(7373)),le=se(n(1244)),ue=se(n(9633));function se(e){return e&&e.__esModule?e:{default:e}}function de(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return de=function(){return e},e}function fe(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=de();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function ce(){return(ce=Object.assign||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}).apply(this,arguments)}function pe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ve(e,t)}function ve(e,t){return(ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ye(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var me=Q.default.getMaxAgeOptions,_e=Q.default.getMaxUsesOptions,he=Q.default.INVITE_OPTIONS_FOREVER,Ee=Q.default.INVITE_OPTIONS_7_DAYS,ge=Q.default.INVITE_OPTIONS_UNLIMITED,Se=(0,h.registerUserExperiment)({id:h.Experiments.INVITE_EMPTY_STATE_IMAGES,title:"Invite Empty State image swap",description:["Adds new images when the user has no invite suggestions","Control: no image","Treatment 1: high five art","Treatment 2: envelope art"],buckets:[h.ExperimentBuckets.CONTROL,h.ExperimentBuckets.TREATMENT_1,h.ExperimentBuckets.TREATMENT_2]});function Oe(){switch((0,h.useAndTrackExposureToUserExperiment)(Se)){case h.ExperimentBuckets.TREATMENT_1:return ye("div",{className:(0,o.default)(re.default.inviteNoResultsImage,re.default.highFive)});case h.ExperimentBuckets.TREATMENT_2:return ye("div",{className:(0,o.default)(re.default.inviteNoResultsImage,re.default.envolope)});default:return null}}var Ie=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={sending:!1,invited:!1,hovered:!1},t.handleMouseEnter=function(){t.setState({hovered:!0})},t.handleMouseLeave=function(){t.setState({hovered:!1})},t.handleClickInvite=function(){var e,n=t.props,r=n.user,a=n.channel,o=n.location,i=n.code,l=n.row;if(null!=i){var u,s={code:i,location:o,suggested:null!==(e=null!=l?N.default.getSelectedInviteMetadata(l):null)&&void 0!==e?e:null};null!=a?u=ce({type:y.InvitePropertiesType.GROUP_DM,channel:a},s):null!=r&&(u=ce({type:y.InvitePropertiesType.USER,user:r},s)),null!=u&&(t.setState({sending:!0}),y.default.enqueue(u,(function(e){t.setState({sending:!1,invited:e})})))}},t}pe(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e,t){return this.state.sending!==t.sending||this.state.invited!==t.invited||this.state.hovered!==t.hovered||this.props.user!==e.user||this.props.channel!==e.channel},n.renderUserOrChannel=function(){var e,t,n=this.props,r=n.user,a=n.channel;return null!=r?(e=r.getAvatarURL(null==a?void 0:a.guild_id),t=r.username):null!=a&&(e=(0,m.getChannelIconURL)(a),t=(0,_.computeChannelName)(a,k.default,R.default)),null==e||null==t?null:ye(q.default,{src:e,"aria-label":t,size:q.Sizes.SIZE_32,className:re.default.inviteRowAvatar})},n.render=function(){var e,t=this.props,n=t.user,r=t.channel,a=this.state,o=a.sending,i=a.invited,l=a.hovered;return e=i?ye(F.default,{look:F.default.Looks.LINK,size:F.default.Sizes.SMALL,disabled:!0,color:j.default.theme===te.ThemeTypes.DARK?F.default.Colors.WHITE:F.default.Colors.BLACK},void 0,ne.default.Messages.INVITE_FRIEND_MODAL_SENT):ye(F.default,{color:F.default.Colors.GREEN,look:l?F.default.Looks.FILLED:F.default.Looks.OUTLINED,className:re.default.inviteRowButton,size:F.default.Sizes.SMALL,submitting:o,onClick:this.handleClickInvite},void 0,ne.default.Messages.INVITE_FRIEND_MODAL_INVITE),ye("div",{className:re.default.inviteRow,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},void 0,ye("div",{className:re.default.inviteRowInfo},void 0,this.renderUserOrChannel(),ye("div",{className:re.default.inviteRowName},void 0,null!=n?n.toString():null,null!=r?(0,_.computeChannelName)(r,k.default,R.default):null)),e)},t}(a.Component);t.InviteRow=Ie,Ie.displayName="InviteRow";var Te=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={focused:!1,copied:!1},t._unsetCopiedState=new s.DelayedCall(1e3,(function(){return t.setState({copied:!1})})),t.handleCopy=function(){var e=t.props,n=e.value,r=e.onCopy;t.setState({copied:!0}),t._unsetCopiedState.delay(),r(n)},t}pe(t,e);var n=t.prototype;return n.componentWillUnmount=function(){this._unsetCopiedState.cancel()},n.render=function(){var e,t=this,n=this.props,r=n.value,a=n.autoFocus,i=n.hideValue,l=this.state,u=l.focused,s=l.copied;return ye("div",{className:(0,o.default)(le.default.input,ae.default.flexJustifyBetween,ae.default.flexCenter,(e={},e[le.default.success]=s,e[le.default.focused]=u,e))},void 0,ye(Y.default,{className:re.default.copyInput,name:"invite",value:i?ne.default.Messages.INSTANT_INVITE_HIDDEN:r,editable:!1,inputClassName:re.default.noBorder,autoFocus:a,onFocus:function(){return a?t.setState({focused:!0}):null},onBlur:function(){return a?t.setState({focused:!1}):null},spellCheck:"false",onClick:function(e){return e.currentTarget.select()}}),ee.SUPPORTS_COPY?ye(F.default,{size:F.default.Sizes.SMALL,color:s?F.default.Colors.GREEN:F.default.Colors.BRAND,className:re.default.copyButton,onClick:this.handleCopy},void 0,s?ne.default.Messages.INVITE_COPIED:ne.default.Messages.COPY):null)},t}(a.PureComponent);Te.displayName="InviteCopyInput";var Ce=u.default.connectStores([w.default],(function(){return{hideValue:w.default.hideInstantInvites}}))(Te),be=ye(v.default,{}),Me=ye(Oe,{}),Ne=function(e){function t(t){var n;(n=e.call(this,t)||this)._scroller=null,n._headerId=i.default.uniqueId(),n.handleGenerateNewLink=function(){var e=n.props,t=e.channel,r=e.source,a=null!=t?t.id:L.default.getChannelId();null!=a&&d.default.createInvite(a,{max_age:n.state.maxAge,max_uses:n.state.maxUses,temporary:n.state.temporary},r),n.state.maxAge===he.value||n.state.savedMaxAge===he.value?n.setState({settingsOpen:!1}):n.setState({settingsOpen:!1,savedMaxAge:he.value})},n.handleCopy=function(e){var t=n.props,r=t.channel,a=t.source,o=t.code;(0,ee.copy)(e);var i,l=null!=r?r.id:L.default.getChannelId();if(null!=r)i=r.type;else{var u=C.default.getChannel(l);null!=u&&(i=u.type)}J.default.track(te.AnalyticEvents.COPY_INSTANT_INVITE,{server:D.default.getGuildId(),channel:l,channel_type:i,location:a,code:o})},n.openSettings=function(){n.setState({settingsOpen:!0})},n.handleSelectMaxAge=function(e){n.setState({maxAge:parseInt(e.value,10),savedMaxAge:n.state.maxAge})},n.handleSelectMaxUses=function(e){n.setState({maxUses:parseInt(e.value,10)})},n.handleToggleTemporary=function(e){n.setState({temporary:e})},n.handleQueryChange=function(e){var t;null===(t=n._scroller)||void 0===t||t.scrollTo({to:0}),(0,f.searchInviteSuggestions)(e),n.setState({query:e})},n.handleClearSearch=function(){n.handleQueryChange("")},n.handleToggleMaxAge=function(){n.setState({maxAge:n.state.savedMaxAge,savedMaxAge:n.state.maxAge},n.handleGenerateNewLink)},n.handleDone=function(){var e=n.props,t=e.onDone,r=e.onClose;n.state.settingsOpen?n.setState({settingsOpen:!1}):r(),null==t||t()},n.getRowHeight=function(e,t){if(e>0)return 0;switch(n.props.rows[t].type){case Q.RowTypes.GROUP_DM:case Q.RowTypes.DM:case Q.RowTypes.FRIEND:return 44;default:return 0}},n.renderRow=function(e){var t=e.section,r=e.row;if(t>0)return null;var a=n.props.analyticsLocation,o=n.getInviteCode(),i=n.props.rows[r],l=i.type+"-"+i.item.id;switch(i.type){case Q.RowTypes.GROUP_DM:return ye(Ie,{row:i,channel:i.item,code:o,location:a},l);case Q.RowTypes.DM:case Q.RowTypes.FRIEND:return ye(Ie,{row:i,user:i.item,code:o,location:a},l);default:return null}};var r=t.maxAge,a=t.maxUses,o=t.temporary,l=t.forceSettings,u=t.guild.hasFeature(te.GuildFeatures.HUB)?he:Ee;return n.state={query:"",settingsOpen:!0===l,maxAge:null!=r?r:u.value,savedMaxAge:r===he.value?u.value:he.value,maxUses:a||ge.value,temporary:o||!1},n}pe(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this.props,t=e.channel,n=e.code,r=e.guild,a=e.source,o=e.canCreateInvites,i=e.analyticsLocation,l=e.streamUserId,u=e.targetType,s=e.targetUserId,f=e.applicationId,c=e.initialCounts,p=e.rows,v=e.showFriends,y=this.state,m=y.maxAge,_=y.maxUses,h=y.temporary;if(o){var g=null!=t?t.id:L.default.getChannelId();if(null==g)return;d.default.createInvite(g,{validate:n||null,max_age:m,max_uses:_,target_user_id:s,target_type:u,target_application_id:f,temporary:h},a)}if(v&&J.default.track(te.AnalyticEvents.INVITE_SUGGESTION_OPENED,{location:a,num_suggestions:p.length,num_friends:c.numFriends,num_dms:c.numDms,num_group_dms:c.numGroupDms,guild_id:r.id}),null!=l){var S=I.default.getStreamForUser(l),O=(0,E.getStreamerApplication)(S,P.default);J.default.track(te.AnalyticEvents.OPEN_MODAL,{type:"Send Stream Invite",source:a,location:i,other_user_id:l,application_id:null!=O?O.id:null,application_name:null!=O?O.name:null,game_id:null!=O?O.id:null})}else null!=f||J.default.track(te.AnalyticEvents.OPEN_MODAL,{type:"Instant Invite Modal",source:a,location:i})},n.getInviteCode=function(){var e=this.props,t=e.code,n=e.vanityURLCode;return t||n},n.renderCopyInput=function(){var e=this.props,t=e.noInvitesAvailable,n=e.showFriends,r=this.state,i=r.maxAge,l=r.maxUses,u=(0,S.default)(this.getInviteCode()||"");return ye(a.Fragment,{},void 0,ye(Ce,{value:u,autoFocus:n,onCopy:this.handleCopy}),t?null:ye(X.default,{size:X.default.Sizes.SIZE_12,className:(0,o.default)(oe.default.marginTop8,re.default.footerText)},void 0,(0,Q.maxAgeString)(i,l)," ",n?ye(G.default,{onClick:this.openSettings},void 0,ne.default.Messages.INVITE_EDIT_LINK):null))},n.renderHeader=function(){var e,t=this.props,n=t.guild,r=t.showFriends,o=t.streamUserId,i=t.applicationId,l=t.welcomeToServer,u=t.channel,s=this.state,d=s.query,f=s.settingsOpen,c=null;return e=l?null:null!=o?ne.default.Messages.INVITE_STREAM_HEADER:null!=i?ne.default.Messages.EMBEDDED_ACTIVITIES_INVITE_TO_ACTIVITY:(null==u?void 0:u.isGuildStageVoice())?ne.default.Messages.STAGE_CHANNEL_INVITE_TO_STAGE_MODAL_HEADER:ne.default.Messages.GROUP_DM_INVITE_WITH_NAME.format({groupname:n.toString()}),c=f?ye(K.FormTitle,{id:this._headerId,tag:K.FormTitle.Tags.H2,className:oe.default.marginReset},void 0,ne.default.Messages.INVITE_SETTINGS_TITLE):r?ye("div",{className:re.default.header},void 0,ye(K.FormTitle,{id:this._headerId,tag:K.FormTitle.Tags.H2,className:oe.default.marginBottom8},void 0,e),ye(p.default,{query:d,className:oe.default.marginTop4,onQueryChange:this.handleQueryChange,placeholder:ne.default.Messages.INVITE_SEARCH_FOR_FRIENDS,autoFocus:!0,onClear:this.handleClearSearch})):ye(K.FormTitle,{id:this._headerId,tag:K.FormTitle.Tags.H2,className:oe.default.marginReset},void 0,e),ye(Z.ModalHeader,{separator:r&&!f},void 0,ye(Z.ModalCloseButton,{className:re.default.closeButton,onClick:this.handleDone}),ye("div",{className:re.default.headerContainer},void 0,l&&!f&&a.createElement(a.Fragment,null,ye("img",{className:re.default.welcomeImage,src:ue.default,alt:""}),ye("h1",{className:re.default.welcomeHeading},void 0,ne.default.Messages.INVITE_WELCOME_HEADING),ye("p",{className:re.default.welcomeSubheading},void 0,ne.default.Messages.INVITE_WELCOME_SUBHEADING)),null!=o?be:null,c))},n.renderSettingsBody=function(){var e=this.state,t=e.maxAge,n=e.maxUses,r=e.temporary,a=me.find((function(e){return e.value===t})),i=_e.find((function(e){return e.value===n}));return ye(Z.ModalContent,{className:re.default.settingsContent},void 0,ye("form",{onSubmit:this.handleGenerateNewLink},void 0,ye(K.FormItem,{title:ne.default.Messages.EXPIRE_AFTER,className:oe.default.marginTop20},void 0,ye(V.default,{value:a,clearable:!1,searchable:!1,options:me,onChange:this.handleSelectMaxAge})),ye(K.FormItem,{title:ne.default.Messages.MAX_NUMBER_OF_USES,className:(0,o.default)(oe.default.marginTop20,oe.default.marginBottom4)},void 0,ye(V.default,{value:i,clearable:!1,searchable:!1,options:_e,onChange:this.handleSelectMaxUses})),ye(K.FormItem,{className:(0,o.default)(oe.default.marginTop20,re.default.switch)},void 0,ye(W.default,{value:r,onChange:this.handleToggleTemporary,note:ne.default.Messages.TEMPORARY_MEMBERSHIP_EXPLANATION,hideBorder:!0},void 0,ye(X.default,{},void 0,ne.default.Messages.GRANT_TEMPORARY_MEMBERSHIP)))))},n.renderFriendsBody=function(){var e,t=this.props.rows,n=this.getInviteCode();return 0===t.length?e=ne.default.Messages.INVITE_FRIEND_MODAL_NO_RESULTS:null==n&&(e=ne.default.Messages.INVITE_FRIEND_MODAL_LOADING),null!=e?ye(Z.ModalContent,{className:(0,o.default)(oe.default.marginBottom20,oe.default.marginTop20)},void 0,ye(H.EmptyStateText,{},void 0,e)):ye(Z.ModalListContent,{className:re.default.scroller,sections:[t.length],renderSection:this.renderSection,sectionHeight:0,renderRow:this.renderRow,rowHeight:this.getRowHeight,paddingBottom:16})},n.renderSection=function(){return null},n.renderBody=function(){var e=this.props,t=e.guild,n=e.showFriends,r=e.streamUserId,a=e.applicationId;if(this.state.settingsOpen)return this.renderSettingsBody();if(n)return this.renderFriendsBody();var o=k.default.getCurrentUser(),i=t.isOwner(o)?ne.default.Messages.INVITE_SHARE_LINK_OWN_SERVER:ne.default.Messages.SHARE_INVITE_LINK_FOR_ACCESS;return null!=r?i=ne.default.Messages.INVITE_SHARE_LINK_TO_STREAM:null!=a&&(i=ne.default.Messages.EMBEDDED_ACTIVITIES_SHARE_LINK_TO_ACTIVITY),ye(Z.ModalContent,{className:re.default.noScroll},void 0,ye(x.default,{direction:x.default.Direction.VERTICAL,className:oe.default.marginBottom20},void 0,Me,ye(X.default,{className:re.default.subText},void 0,i),this.renderCopyInput()))},n.renderFooter=function(){var e,t=this,n=this.props,r=n.noInvitesAvailable,i=n.showFriends,l=n.streamUserId,u=n.applicationId,s=n.channel,d=this.state,f=d.settingsOpen,p=d.maxAge,v=j.default.theme,y=null;if(f)y=ye(a.Fragment,{},void 0,ye(F.default,{onClick:this.handleGenerateNewLink},void 0,ne.default.Messages.GENERATE_A_NEW_LINK),ye(F.default,{look:F.default.Looks.LINK,color:v===te.ThemeTypes.LIGHT?F.default.Colors.PRIMARY:F.default.Colors.WHITE,onClick:this.handleDone},void 0,ne.default.Messages.CANCEL));else if(i){var m=ne.default.Messages.INVITE_FOOTER_LINK_HEADER;null!=l?m=ne.default.Messages.INVITE_STREAM_FOOTER_LINK_HEADER:null!=u?m=ne.default.Messages.EMBEDDED_ACTIVITIES_INVITE_ACTIVITY_FOOTER_LINK_HEADER:(null==s?void 0:s.isGuildStageVoice())&&(m=ne.default.Messages.STAGE_CHANNEL_INVITE_TO_STAGE_MODAL_FOOTER),y=ye(x.default,{direction:x.default.Direction.VERTICAL,className:re.default.content},void 0,ye(K.FormTitle,{tag:K.FormTitle.Tags.H5,className:oe.default.marginBottom8},void 0,m),this.renderCopyInput())}else r||(y=ye(x.default,{justify:x.default.Justify.BETWEEN,className:oe.default.marginTop20},void 0,ye(c.default,{checked:p===he.value,onChange:this.handleToggleMaxAge},void 0,ye(X.default,{className:re.default.checkBoxLabel},void 0,ne.default.Messages.SET_INVITE_LINK_NEVER_EXPIRE)),ye(z.default,{text:ne.default.Messages.LINK_SETTINGS},void 0,(function(e){var n=e.onMouseEnter,r=e.onMouseLeave;return ye(B.default,{onClick:t.openSettings,onMouseEnter:n,onMouseLeave:r,className:ie.default.cursorPointer},void 0,ye($.default,{width:18,height:18,color:te.Colors.PRIMARY_DARK_400}))}))));return null!=y?ye(Z.ModalFooter,{className:f?re.default.settingsFooter:(0,o.default)((e={},e[re.default.noPadding]=!i,e[re.default.footer]=i,e))},void 0,y):null},n.render=function(){var e=this.props,t=e.transitionState,n=e.channel,r=e.guild;return ye("div",{className:this.props.showFriends?re.default.wrapper:void 0},void 0,ye(Z.ModalRoot,{impressionName:l.ImpressionNames.GUILD_INVITE,impressionMetadata:{invite_channel_id:null==n?void 0:n.id,invite_guild_id:r.id},"aria-labelledby":this._headerId,transitionState:t,className:re.default.modal},void 0,this.renderHeader(),this.renderBody(),this.renderFooter()))},t}(a.PureComponent);Ne.displayName="InstantInviteModal",Ne.defaultProps={analyticsLocation:te.AnalyticsLocations.GUILD_CREATE_INVITE_SUGGESTION};var Ae=a.forwardRef((function(e,t){var n=e.channel,r=e.guild,o=e.source,i=e.streamUserId,l=e.applicationId,s=e.transitionState,d=e.onClose,c=e.welcomeToServer,p=e.forceSettings,v=e.analyticsLocation,y=(0,u.useStateFromStores)([L.default,C.default,b.default],(function(){var e;return null!=n?n:null!==(e=C.default.getChannel(L.default.getChannelId()))&&void 0!==e?e:b.default.getDefaultChannel(r.id)}),[n,r.id]),m=null;null!=i?m=g.InviteTargetTypes.STREAM:null!=l&&(m=g.InviteTargetTypes.EMBEDDED_APPLICATION);var _=i,h=l,E=null!=n?n.getGuildId():null!=r?r.id:null,S=(0,u.useStateFromStoresArray)([N.default,M.default,U.default,T.default],(function(){var e=null!=y?y.id:null;return[N.default.getInviteSuggestionRows(),N.default.getTotalSuggestionsCount()>=1,N.default.getInitialCounts(),null!=e?M.default.getInvite(e,{targetType:m,targetUserId:_,targetApplicationId:h}):null,null!=n&&null!=y?U.default.getVoiceStatesForChannel(y):null,null!=E?T.default.getProps(E,e):null]}),[y,m,_,E]),I=S[0],P=S[1],R=S[2],D=S[3],w=S[4],j=S[5],k=(0,u.useStateFromStores)([A.default],(function(){return null!=y&&A.default.can(te.Permissions.CREATE_INSTANT_INVITE,y)}),[y]),G=null===D||!k,F=a.useState((function(){var e=new Set;return null!=i&&null!=w?w.forEach((function(t){var n=t.user;e.add(n.id)})):null!=E&&null!=j&&j.rows.forEach((function(t){t.type===T.MemberListRowTypes.MEMBER&&e.add(t.userId)})),e}))[0],B=null==n?void 0:n.id,H=(0,u.useStateFromStores)([O.default],(function(){return O.default.getStageInstanceByChannel(B)}),[B]);a.useEffect((function(){(0,f.loadInviteSuggestions)(F,r,n).catch(te.NOOP_NULL)}),[F,n,r]);var x=null!=D?D.code:void 0,V=null!=D?D.maxAge:void 0,W=null!=D?D.maxUses:void 0,Y=null!=D?D.temporary:void 0,z=G?r.vanityURLCode:null;return k||null==(null==H?void 0:H.invite_code)||(x=H.invite_code),a.createElement(Ne,{ref:t,canCreateInvites:k,noInvitesAvailable:G,channel:n,guild:r,streamUserId:i,vanityURLCode:z,targetType:m,targetUserId:_,applicationId:l,rows:I,showFriends:P,initialCounts:R,code:x,maxAge:V,maxUses:W,temporary:Y,source:o,welcomeToServer:c,forceSettings:p,analyticsLocation:v,transitionState:s,onClose:d})}));t.default=Ae},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canViewInviteModal=function(e,t,n,r){var a=n||t;return null!=a&&e.can(p.Permissions.CREATE_INSTANT_INVITE,a)||null!=t&&null!=t.vanityURLCode||null!=(null==r?void 0:r.invite_code)},t.generateRowsForQuery=function(e,t,n,r,a){var o=new Set,v=[],y={numFriends:0,numDms:0,numGroupDms:0};if(""===e){if(n)for(var _,E=m(n);!(_=E()).done;){var g=_.value;if(null!=r&&r>0&&v.length>=r)break;if(!t.has(g)){var S=d.default.getUser(g);null==S||null!=a&&l.default.isMember(a,S.id)||(o.add(S.id),v.push({type:h.FRIEND,item:S,isSuggested:!0}),y.numFriends++)}}for(var O,I=m(f.default.getPrivateChannelIds());!(O=I()).done;){var T=O.value;if(null!=r&&r>0&&v.length>=r)break;var C=i.default.getChannel(T);if(null!=C)if(C.type!==p.ChannelTypes.GROUP_DM){if(null!=u.default.lastMessageId(C.id)){var b=C.getRecipientId();if(null!=b&&!t.has(b)&&!o.has(b)){var M=d.default.getUser(b);if(null==M||M.bot||null!=a&&l.default.isMember(a,M.id))continue;o.add(M.id),v.push({type:h.DM,item:M,isSuggested:!1}),y.numDms++}}}else v.push({type:h.GROUP_DM,item:C,isSuggested:!1}),y.numGroupDms++}for(var N,A=m(s.default.getFriendIDs());!(N=A()).done;){var P=N.value;if(null!=r&&r>0&&v.length>=r)break;if(!t.has(P)&&!o.has(P)){var R=d.default.getUser(P);null==R||null!=a&&l.default.isMember(a,R.id)||(v.push({type:h.FRIEND,item:R,isSuggested:!1}),y.numFriends++)}}}else c.default.queryDMUsers(e,50,!1).forEach((function(e){var n=e.user;if(!t.has(n.id)){var r=i.default.getDMFromUserId(n.id);if(null!=r)null!=u.default.lastMessageId(r)&&(o.add(n.id),v.push({type:h.DM,item:n,isSuggested:!1}),y.numDms++)}})),c.default.queryGroupDMs(e,50,!1).forEach((function(e){var t=e.channel;v.push({type:h.GROUP_DM,item:t,isSuggested:!1}),y.numGroupDms++})),c.default.queryFriends(e,500,!1).forEach((function(e){var n=e.user;t.has(n.id)||o.has(n.id)||(v.push({type:h.FRIEND,item:n,isSuggested:!1}),y.numFriends++)}));return{rows:v,counts:y}},t.getMostRecentDMedUser=function(e,t){for(var n,r=m(f.default.getPrivateChannelIds());!(n=r()).done;){var a=n.value,o=i.default.getChannel(a);if(null!=o&&o.type===p.ChannelTypes.DM&&null!=u.default.lastMessageId(o.id)){var s=o.getRecipientId();if(null!=s&&!e.has(s)){var c=d.default.getUser(s);if(null==c||c.bot||null!=t&&l.default.isMember(t,c.id))continue;return c}}}return null},t.maxAgeString=function(e,t){var n=parseInt(t,10),r=0===n,a=I[e].value;switch(I[e].type){case E:return r?v.default.Messages.INVITE_EXPIRES_MINUTES:v.default.Messages.INVITE_EXPIRES_MINUTES_OR_USES.format({numUses:n});case g:return r?v.default.Messages.INVITE_EXPIRES_HOURS.format({numHours:a}):v.default.Messages.INVITE_EXPIRES_HOURS_OR_USES.format({numHours:a,numUses:n});case S:return r?v.default.Messages.INVITE_EXPIRES_DAYS_PLURAL.format({numDays:a}):v.default.Messages.INVITE_EXPIRES_DAYS_OR_USES_PLURAL.format({numDays:a,numUses:n});case O:return r?v.default.Messages.INVITE_EXPIRES_NEVER:v.default.Messages.INVITE_EXPIRES_USES.format({numUses:n});default:return""}},t.urgentShareMessageString=function(e,t){if(null==e)return v.default.Messages.INVITE_MESSAGE_PLACEHOLDER.format({link:t});var n=I[e].value;switch(I[e].type){case E:return v.default.Messages.INVITE_URGENT_MINUTES_PLACEHOLDER.format({numMinutes:n,link:t});case g:return v.default.Messages.INVITE_URGENT_HOURS_MESSAGE_PLACEHOLDER.format({numHours:n,link:t});case S:return v.default.Messages.INVITE_URGENT_DAYS_MESSAGE_PLACEHOLDER.format({numDays:n,link:t});default:return v.default.Messages.INVITE_MESSAGE_PLACEHOLDER.format({link:t})}},t.default=t.RowTypes=void 0;var r,a,o=y(n(133)),i=y(n(10)),l=y(n(56)),u=y(n(200)),s=y(n(70)),d=y(n(12)),f=y(n(699)),c=y(n(697)),p=n(1),v=y(n(6));function y(e){return e&&e.__esModule?e:{default:e}}function m(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}a=n(9368);var h=(0,o.default)({GROUP_DM:null,DM:null,FRIEND:null});t.RowTypes=h;var E="minutes",g="hours",S="days",O="never",I=((r={})[a.INVITE_OPTIONS_30_MINUTES.value]={value:30,type:E},r[a.INVITE_OPTIONS_1_HOUR.value]={value:1,type:g},r[a.INVITE_OPTIONS_6_HOURS.value]={value:6,type:g},r[a.INVITE_OPTIONS_12_HOURS.value]={value:12,type:g},r[a.INVITE_OPTIONS_1_DAY.value]={value:1,type:S},r[a.INVITE_OPTIONS_7_DAYS.value]={value:7,type:S},r[a.INVITE_OPTIONS_FOREVER.value]={value:0,type:O},r);var T={getMaxAgeOptions:a.MAX_AGE_OPTIONS,getMaxUsesOptions:a.MAX_USES_OPTIONS,INVITE_OPTIONS_FOREVER:a.INVITE_OPTIONS_FOREVER,INVITE_OPTIONS_1_DAY:a.INVITE_OPTIONS_1_DAY,INVITE_OPTIONS_7_DAYS:a.INVITE_OPTIONS_7_DAYS,INVITE_OPTIONS_12_HOURS:a.INVITE_OPTIONS_12_HOURS,INVITE_OPTIONS_6_HOURS:a.INVITE_OPTIONS_6_HOURS,INVITE_OPTIONS_1_HOUR:a.INVITE_OPTIONS_1_HOUR,INVITE_OPTIONS_30_MINUTES:a.INVITE_OPTIONS_30_MINUTES,INVITE_OPTIONS_UNLIMITED:a.INVITE_OPTIONS_UNLIMITED,INVITE_OPTIONS_ONCE:a.INVITE_OPTIONS_ONCE,INVITE_OPTIONS_5_TIMES:a.INVITE_OPTIONS_5_TIMES,INVITE_OPTIONS_10_TIMES:a.INVITE_OPTIONS_10_TIMES,INVITE_OPTIONS_25_TIMES:a.INVITE_OPTIONS_25_TIMES,INVITE_OPTIONS_50_TIMES:a.INVITE_OPTIONS_50_TIMES,INVITE_OPTIONS_100_TIMES:a.INVITE_OPTIONS_100_TIMES};t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24",fill:"none"}),s("path",{className:f,fill:d,d:"M5.43309 21C5.35842 21 5.30189 20.9325 5.31494 20.859L5.99991 17H2.14274C2.06819 17 2.01168 16.9327 2.02453 16.8593L2.33253 15.0993C2.34258 15.0419 2.39244 15 2.45074 15H6.34991L7.40991 9H3.55274C3.47819 9 3.42168 8.93274 3.43453 8.85931L3.74253 7.09931C3.75258 7.04189 3.80244 7 3.86074 7H7.75991L8.45234 3.09903C8.46251 3.04174 8.51231 3 8.57049 3H10.3267C10.4014 3 10.4579 3.06746 10.4449 3.14097L9.75991 7H15.7599L16.4523 3.09903C16.4625 3.04174 16.5123 3 16.5705 3H18.3267C18.4014 3 18.4579 3.06746 18.4449 3.14097L17.7599 7H21.6171C21.6916 7 21.7481 7.06725 21.7353 7.14069L21.4273 8.90069C21.4172 8.95811 21.3674 9 21.3091 9H17.4099L17.0495 11.04H15.05L15.4104 9H9.41035L8.35035 15H10.5599V17H7.99991L7.30749 20.901C7.29732 20.9583 7.24752 21 7.18934 21H5.43309Z"}),s("path",{className:f,fill:d,d:"M13.4399 12.96C12.9097 12.96 12.4799 13.3898 12.4799 13.92V20.2213C12.4799 20.7515 12.9097 21.1813 13.4399 21.1813H14.3999C14.5325 21.1813 14.6399 21.2887 14.6399 21.4213V23.4597C14.6399 23.6677 14.8865 23.7773 15.0408 23.6378L17.4858 21.4289C17.6622 21.2695 17.8916 21.1813 18.1294 21.1813H22.5599C23.0901 21.1813 23.5199 20.7515 23.5199 20.2213V13.92C23.5199 13.3898 23.0901 12.96 22.5599 12.96H13.4399Z"}))}d.displayName="ThreadIcon"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E,t.CenterControlButton=function(e){var t,n,r,i=e.color,u=void 0===i?"primaryDark":i,p=e.className,v=e.iconClassName,y=e.onPopoutClick,S=e.popoutOpen,O=void 0!==S&&S,I=h(e,["color","className","iconClassName","onPopoutClick","popoutOpen"]),T=a.createElement(E,m({},I,{onContextMenu:y,iconClassName:(0,o.default)(v,c.default.centerIcon),className:(0,o.default)(null==y?p:c.default.staticButton,c.default.centerButton,g[u])}));return a.createElement(a.Fragment,null,null!=y?_("div",{className:(0,o.default)(p,c.default.contextMenuContainer)},void 0,_(d.default,{mask:d.MaskIDs.CHANNEL_CALL_CONTROL_BUTTON,width:56,height:56},void 0,T),_(f.default,{},void 0,_(l.default,{onClick:y,onContextMenu:y,className:(0,o.default)(c.default.contextMenuNub,g[u],(t={},t[c.default.active]=O,t))},void 0,_(s.default,{className:(0,o.default)(c.default.contextMenuCaret,(n={},n[c.default.open]=O,n))})))):null,_("div",{className:(0,o.default)((r={},r[c.default.unmasked]=null!=y,r),null!=y?p:null)},void 0,T))};var r,a=y(n(0)),o=p(n(9)),i=p(n(29)),l=p(n(61)),u=p(n(149)),s=p(n(683)),d=y(n(248)),f=p(n(8400)),c=p(n(7401));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function E(e){var t=e.label,n=e.onClick,r=e.onContextMenu,l=e.className,s=e.iconClassName,d=e.iconComponent,p=e.themeable,v=void 0!==p&&p,y=e.disabled,E=void 0!==y&&y,g=e.active,S=void 0!==g&&g,O=e.tooltipPosition,I=void 0===O?u.default.Positions.TOP:O,T=e.shouldShowTooltip,C=void 0===T||T;return _(f.default,{},void 0,_(u.default,{position:I,text:t,shouldShow:C},void 0,(function(e){var u,f,p=e.onClick,y=e.onContextMenu,g=h(e,["onClick","onContextMenu"]);return a.createElement(i.default,m({"aria-label":t,look:i.default.Looks.BLANK,size:i.default.Sizes.NONE,onClick:function(e){null==p||p(),null==n||n(e)},onContextMenu:function(e){null==y||y(),null==r||r(e)},disabled:E,innerClassName:c.default.lineHeightReset,className:(0,o.default)((u={},u[c.default.active]=S,u),l)},g),_(d,{className:(0,o.default)(c.default.controlIcon,s,(f={},f[c.default.themeable]=v,f[c.default.active]=S,f))}))})))}E.displayName="ControlButton";var g={red:c.default.red,white:c.default.white,green:c.default.green,primaryDark:c.default.primaryDark,primaryLight:c.default.primaryLight,activeLight:c.default.activeLight}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transformNativeFile=function(e,t){if(e instanceof File)return e;return f(e.data,e.filename,t)},t.makeFile=f,t.classifyFile=function(e){return p(e.name,e.type)},t.classifyFileName=p,t.sizeString=function(e){return r.default.filesize(e)},t.maxFileSize=v,t.anyFileTooLarge=function(e,t){var n=v(t);return Array.from(e).some((function(e){return e.size>n}))};var r=d(n(8794)),a=d(n(8)),o=d(n(66)),i=d(n(15)),l=d(n(12)),u=d(n(96)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t,r){if(null==t&&(t="unknown",e instanceof Blob))switch(e.type){case"image/png":t+=".png"}if(null==r){e instanceof Blob&&(r=e.type);var a=n(10308);r=r||a.lookup(t)}if("function"!=typeof File||"Microsoft Edge"===o.default.name){var i=new Date,l=0;return null!=e.size&&"number"==typeof e.size?l=e.size:null!=e.byteLength&&"number"==typeof e.byteLength&&(l=e.byteLength),{lastModified:i.getTime(),lastModifiedDate:i,name:t,size:l,type:r}}return new File([e],t,{type:r})}var c=[{reType:/^image\/vnd.adobe.photoshop/,klass:"photoshop"},{reType:/^image\/svg\+xml/,klass:"webcode"},{reType:/^image\//,klass:"image"},{reType:/^video\//,klass:"video"},{reName:/\.pdf$/,klass:"acrobat"},{reName:/\.ae/,klass:"ae"},{reName:/\.sketch$/,klass:"sketch"},{reName:/\.ai$/,klass:"ai"},{reName:/\.(?:rar|zip|7z|tar|tar\.gz)$/,klass:"archive"},{reName:/\.(?:c\+\+|cpp|cc|c|h|hpp|mm|m|json|js|rb|rake|py|asm|fs|pyc|dtd|cgi|bat|rss|java|graphml|idb|lua|o|gml|prl|sls|conf|cmake|make|sln|vbe|cxx|wbf|vbs|r|wml|php|bash|applescript|fcgi|yaml|ex|exs|sh|ml|actionscript)$/,klass:"code"},{reName:/\.(?:txt|rtf|doc|docx|md|pages|ppt|pptx|pptm|key|log)$/,klass:"document"},{reName:/\.(?:xls|xlsx|numbers|csv)$/,klass:"spreadsheet"},{reName:/\.(?:html|xhtml|htm|js|xml|xls|xsd|css|styl)$/,klass:"webcode"},{reName:/\.(?:mp3|ogg|wav|flac)$/,klass:"audio"}];function p(e,t){e=e?e.toLowerCase():"";var n=a.default.find(c,(function(n){return n.reType&&t?n.reType.test(t):!(!n.reName||!e)&&n.reName.test(e)}));return n?n.klass:"unknown"}function v(e){var t=l.default.getCurrentUser(),n=u.default.getUserMaxFileSize(t);if(null==e)return n;var r=i.default.getGuild(e),a=null!=r?s.PremiumGuildLimits[r.premiumTier].fileSize:s.MAX_ATTACHMENT_SIZE;return Math.max(a,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getValidationErrorText=function(e){if(null!=e.choices)return o.default.Messages.COMMAND_VALIDATION_CHOICE_ERROR;switch(e.type){case a.ApplicationCommandOptionType.BOOLEAN:return o.default.Messages.COMMAND_VALIDATION_BOOLEAN_ERROR;case a.ApplicationCommandOptionType.CHANNEL:return o.default.Messages.COMMAND_VALIDATION_CHANNEL_ERROR;case a.ApplicationCommandOptionType.INTEGER:return o.default.Messages.COMMAND_VALIDATION_INTEGER_ERROR;case a.ApplicationCommandOptionType.ROLE:return o.default.Messages.COMMAND_VALIDATION_ROLE_ERROR;case a.ApplicationCommandOptionType.USER:return o.default.Messages.COMMAND_VALIDATION_USER_ERROR;case a.ApplicationCommandOptionType.MENTIONABLE:return o.default.Messages.COMMAND_VALIDATION_MENTIONABLE_ERROR;default:return o.default.Messages.COMMAND_VALIDATION_GENERAL_ERROR}},t.DISCOVERY_COMMANDS_QUERY_LIMIT=t.DISCOVERY_COMMANDS_QUERY_LIMIT_MOBILE=t.DISCOVERY_COMMANDS_QUERY_LIMIT_WEB=t.SECTION_BUILT_IN=t.BOOLEAN_CHOICES=t.FALSE_OPTION_NAME=t.TRUE_OPTION_NAME=void 0;var r,a=n(8260),o=(r=n(6))&&r.__esModule?r:{default:r};t.TRUE_OPTION_NAME="True";t.FALSE_OPTION_NAME="False";var i=[{name:"True",value:"true"},{name:"False",value:"false"}];t.BOOLEAN_CHOICES=i;t.SECTION_BUILT_IN="-1";t.DISCOVERY_COMMANDS_QUERY_LIMIT_WEB=10;t.DISCOVERY_COMMANDS_QUERY_LIMIT_MOBILE=5;t.DISCOVERY_COMMANDS_QUERY_LIMIT=10},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAutocompleteRowId=L,t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=M();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=b(n(9)),i=n(680),l=n(8279),u=b(n(8842)),s=n(180),d=n(8328),f=b(n(9399)),c=b(n(362)),p=n(290),v=b(n(15)),y=b(n(70)),m=b(n(12)),_=n(8619),h=b(n(61)),E=b(n(8847)),g=b(n(8848)),S=b(n(279)),O=b(n(47)),I=n(1),T=b(n(6)),C=b(n(7366));function b(e){return e&&e.__esModule?e:{default:e}}function M(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return M=function(){return e},e}function N(){return(N=Object.assign||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}).apply(this,arguments)}function A(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function P(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,R(e,t)}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e){return null!=e?"autocomplete-"+e:null}var D=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).selectable=!0,t.layoutClass=C.default.autocompleteRowVertical,t.handleMouseEnter=function(){var e=t.props,n=e.onHover,r=e.index,a=e.selected;null!=n&&!a&&"number"==typeof r&&n(r)},t.handleClick=function(e){var n=t.props,r=n.onClick,a=n.index;null!=r&&"number"==typeof a&&r(a,e)},t}P(t,e);var n=t.prototype;return n.isSelectable=function(){return this.selectable},n.renderContent=function(){throw new Error("AutocompleteRow: renderContent must be extended")},n.render=function(){var e,t=this,n=this.layoutClass,r=this.props,l=r.className,u=r.index,s=r.selected,d=this.isSelectable(),f=A("div",{className:(0,o.default)((e={},e[C.default.base]=!0,e[C.default.selectable]=d,e[C.default.selected]=d&&s,e))},void 0,this.renderContent());return d?A(i.ListNavigatorItem,{id:""+u},void 0,(function(e){var r;return a.createElement(h.default,N({},e,{className:(0,o.default)(l,n),id:null!==(r=L(u))&&void 0!==r?r:void 0,onMouseMove:t.handleMouseEnter,onClick:t.handleClick,role:"option"}),f)})):f},t}(a.PureComponent);D.displayName="AutocompleteRow";var w=function(e){function t(){return e.apply(this,arguments)||this}return P(t,e),t.prototype.renderContent=function(){var e=this.props,t=e.text,n=e.description;return A(_.AutocompleteRowContent,{},void 0,A(_.AutocompleteRowContentPrimary,{},void 0,A(_.AutocompleteRowHeading,{},void 0,t)),null!=n?A(_.AutocompleteRowContentSecondary,{},void 0,n):null)},t}(D),j=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).selectable=!1,t}return P(t,e),t.prototype.renderContent=function(){var e=this.props,t=e.className,n=e.title;return A(O.default,{className:(0,o.default)(C.default.contentTitle,t),size:O.default.Sizes.SIZE_12},void 0,n)},t}(D),k=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).layoutClass=C.default.dividerContainer,t.selectable=!1,t}return P(t,e),t.prototype.renderContent=function(){var e=this.props.className;return A("div",{className:(0,o.default)(e,C.default.divider)})},t}(D),U=function(e){function t(){return e.apply(this,arguments)||this}return P(t,e),t.prototype.renderContent=function(){var e=this.props,t=e.user,n=e.nick,r=e.status,a=e.hidePersonalInformation,o=e.guildId;return A(_.AutocompleteRowContent,{},void 0,A(_.AutocompleteRowIcon,{},void 0,A(S.default,{size:S.default.Sizes.SIZE_24,src:t.getAvatarURL(o),"aria-label":t.username,status:r})),A(_.AutocompleteRowContentPrimary,{},void 0,A(_.AutocompleteRowHeading,{},void 0,n||t.username)),A(_.AutocompleteRowContentSecondary,{},void 0,A("span",{className:C.default.descriptionUsername},void 0,t.username),a?null:A("span",{className:C.default.descriptionDiscriminator},void 0,"#",t.discriminator)))},t}(D),G=function(e){function t(){return e.apply(this,arguments)||this}return P(t,e),t.prototype.renderContent=function(){var e=this.props,t=e.role,n=e.hideDescription;return A(_.AutocompleteRowContent,{},void 0,A(_.AutocompleteRowContentPrimary,{},void 0,A(_.AutocompleteRowHeading,{},void 0,A("span",{style:{color:t.colorString||void 0}},void 0,"@",t.name))),n?null:A(_.AutocompleteRowContentSecondary,{},void 0,T.default.Messages.MENTION_USERS_WITH_ROLE))},t}(D),F=function(e){function t(){return e.apply(this,arguments)||this}return P(t,e),t.prototype.renderContent=function(){var e=this.props,t=e.channel,n=e.category,r=t.type===I.ChannelTypes.GUILD_CATEGORY?E.default:(0,d.getChannelIconComponent)(t);return A(_.AutocompleteRowContent,{},void 0,null!=r&&A(_.AutocompleteRowIcon,{},void 0,A(r,{className:C.default.icon})),A(_.AutocompleteRowContentPrimary,{},void 0,A(_.AutocompleteRowHeading,{},void 0,(0,s.computeChannelName)(t,m.default,y.default))),null!=n?A(_.AutocompleteRowContentSecondary,{},void 0,n.name):null)},t}(D),B=function(e){function t(){return e.apply(this,arguments)||this}P(t,e);var n=t.prototype;return n.isSelectable=function(){return(0,l.hasAccess)(this.props.command)},n.renderContent=function(){var e=this.props.command;return A(_.AutocompleteRowContent,{},void 0,A(_.AutocompleteRowIcon,{},void 0,A(g.default,{className:C.default.icon,foreground:C.default.iconForeground})),A(_.AutocompleteRowContentPrimary,{},void 0,A(_.AutocompleteRowHeading,{},void 0,e.name)),A(_.AutocompleteRowContentSecondary,{},void 0,e.description))},t}(D),H=function(e){function t(){return e.apply(this,arguments)||this}P(t,e);var n=t.prototype;return n.isSelectable=function(){return(0,l.hasAccess)(this.props.command)},n.renderContent=function(){var e=this.props,t=e.command,n=e.channel,r=e.showImage,a=e.selected,o=this.isSelectable();return A(u.default,{command:t,channel:n,showImage:r,showOptions:o&&a,isSelectable:o})},t}(D),x=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).layoutClass=(0,o.default)(C.default.autocompleteRowVertical,C.default.autocompleteRowVerticalSmall),t}return P(t,e),t.prototype.renderContent=function(){var e=this.props,t=e.emoji,n=e.sentinel,r=e.guild,a=t.url?A("img",{alt:"",className:C.default.emojiImage,src:t.url}):A("span",{className:C.default.emojiRaw},void 0,t.surrogates),o=null!=r?A(_.AutocompleteRowContentSecondary,{},void 0,r.name):null;return A(_.AutocompleteRowContent,{},void 0,A(_.AutocompleteRowIcon,{},void 0,a),A(_.AutocompleteRowContentPrimary,{},void 0,A(_.AutocompleteRowHeading,{},void 0,n,t.name,n)),o)},t}(D),V=function(e){function t(){return e.apply(this,arguments)||this}return P(t,e),t.prototype.renderContent=function(){var e=this.props.name;return A(_.AutocompleteRowContent,{},void 0,A(_.AutocompleteRowContentPrimary,{},void 0,A(_.AutocompleteRowHeading,{},void 0,e)))},t}(D),W=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).layoutClass=(0,o.default)(C.default.autocompleteRowVertical,C.default.autocompleteRowVerticalSmall),t}return P(t,e),t.prototype.renderContent=function(){var e,t,n=this.props,r=n.queryMatch,a=n.renderSticker,o=n.selected,i=n.sticker;if((0,p.isStandardSticker)(i))e=null===(t=c.default.getStickerPack(i.pack_id))||void 0===t?void 0:t.name;else if((0,p.isGuildSticker)(i)){var l;e=null===(l=v.default.getGuild(i.guild_id))||void 0===l?void 0:l.name}return A(_.AutocompleteRowContent,{},void 0,A(_.AutocompleteRowIcon,{},void 0,a(i,!0===o)),A(_.AutocompleteRowContentPrimary,{},void 0,A(_.AutocompleteRowHeading,{className:C.default.stickerName},void 0,i.name),null!=r&&A(_.AutocompleteRowSubheading,{},void 0,T.default.Messages.AUTOCOMPLETE_STICKERS_QUERY_MATCH.format({queryMatch:r}))),null!=e&&A(_.AutocompleteRowContentSecondary,{},void 0,e))},t}(D),Y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).layoutClass=C.default.autocompleteRowHorizontal,t}return P(t,e),t.prototype.renderContent=function(){var e=this.props,t=e.width,n=e.height;return A("img",{alt:"",src:e.src,width:t,height:n})},t}(D),z=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).selectable=!1,t}return P(t,e),t.prototype.renderContent=function(){return A(f.default,{emojis:this.props.emojis})},t}(D),K=function(e){function t(){return e.apply(this,arguments)||this}return P(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,r=e.innerClassName,i=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["children","className","innerClassName"]);return a.Children.count(t)>0?A("div",{className:(0,o.default)(C.default.autocomplete,n)},void 0,a.createElement("div",N({className:(0,o.default)(C.default.autocompleteInner,r)},i),t)):null},t}(a.PureComponent);K.displayName="Autocomplete",K.Generic=w,K.Title=j,K.Divider=k,K.User=U,K.Role=G,K.Channel=F,K.Command=B,K.NewCommand=H,K.Emoji=x,K.GIFIntegration=Y,K.Sticker=W,K.Option=V,K.EmojiUpsell=z;var $=K;t.default=$},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(273)),i=n(202),l=p(n(29)),u=p(n(55)),s=n(121),d=n(1),f=p(n(6)),c=p(n(7581));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={color:new o.default.Value(0)},t.handleOnSave=function(e){(0,t.props.onSave)(e)},t.handleOnReset=function(e){var n=t.props.onReset;n&&n(e)},t.emphasize=function(){var e=t.state.color;o.default.sequence([o.default.timing(e,{toValue:1,duration:170,easing:o.default.Easing.quad}),o.default.timing(e,{delay:500,toValue:0,duration:170,easing:o.default.Easing.quad})]).start()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var a=r.prototype;return a.componentDidMount=function(){s.ComponentDispatch.subscribe(d.ComponentActions.EMPHASIZE_NOTICE,this.emphasize)},a.componentWillUnmount=function(){s.ComponentDispatch.unsubscribe(d.ComponentActions.EMPHASIZE_NOTICE,this.emphasize)},a.render=function(){var e=this.props,t=e.message,n=e.submitting,r=e.onReset,a=e.onSaveText,i=e.onResetText,s=e.onSaveButtonColor;return y(o.default.div,{className:c.default.container,style:this.getContainerStyle()},void 0,y(u.default,{align:u.default.Align.CENTER},void 0,y(u.default.Child,{},void 0,y(o.default.div,{className:c.default.message,style:this.getTextStyle()},void 0,t||f.default.Messages.SETTINGS_NOTICE_MESSAGE)),y(u.default,{grow:0,justify:u.default.Justify.END},void 0,null!=r&&y(l.default,{className:c.default.resetButton,size:l.default.Sizes.SMALL,color:l.default.Colors.PRIMARY,look:l.default.Looks.LINK,onClick:this.handleOnReset},void 0,y(o.default.span,{style:this.getTextStyle()},void 0,i||f.default.Messages.RESET)),y(l.default,{className:c.default.button,size:l.default.Sizes.SMALL,color:s||l.default.Colors.GREEN,submitting:n,onClick:this.handleOnSave},void 0,a||f.default.Messages.SAVE_CHANGES))))},a.getTextStyle=function(){var e=this.state.color,t=d.HEXColors.WHITE;return this.props.theme===d.ThemeTypes.LIGHT&&(t=d.HEXColors.PRIMARY_DARK_500),{color:e.interpolate({inputRange:[0,1],outputRange:[t,d.HEXColors.WHITE]})}},a.getContainerStyle=function(){var e=this.state.color,t=(0,i.hex2rgb)(d.HEXColors.PRIMARY_DARK_700,.9);return this.props.theme===d.ThemeTypes.LIGHT&&(t=(0,i.hex2rgb)(d.HEXColors.STATUS_GREY_100,.9)),{backgroundColor:e.interpolate({inputRange:[0,1],outputRange:[t,(0,i.hex2rgb)(d.HEXColors.STATUS_RED_500,.9)]})}},r}(a.PureComponent);_.displayName="SettingsNotice";var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Item=t.Panel=t.Separator=t.Header=t.Looks=t.Types=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=n(424),l=n(202),u=f(n(61)),s=n(1),d=f(n(7601));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,v(e,t)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(){return(y=Object.assign||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}).apply(this,arguments)}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var _,h={SIDE:d.default.side,TOP:d.default.top,TOP_PILL:d.default.topPill};t.Types=h,t.Looks=_,function(e){e[e.GREY=0]="GREY",e[e.BRAND=1]="BRAND",e[e.CUSTOM=2]="CUSTOM"}(_||(t.Looks=_={}));var E=function(e){var t=e.className,n=e.onClick,r=e.children,a=e["aria-expanded"],i=e["aria-controls"];return m(u.default,{tabIndex:null==n?-1:0,className:(0,o.default)(d.default.header,t),onClick:n,"aria-expanded":a,"aria-controls":i,focusProps:{offset:{top:-6}}},void 0,r)};t.Header=E,E.displayName="Header";var g=function(e){var t=e.style;return m("div",{className:d.default.separator,style:t})};t.Separator=g,g.displayName="Separator";var S,O=function(e){var t=e.children,n=e.id,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["children","id"]);return a.createElement("div",y({},r,{role:"tabpanel",id:I(n)}),t)};function I(e){return e+"-tab"}function T(e,t){if(null!=e){var n={};return t===S.SELECTED?(n.backgroundColor=e,n.color=s.Colors.WHITE,n):(t===S.HOVER&&(n.backgroundColor=(0,l.hex2rgb)(e,.1)),n.color=e,n)}}t.Panel=O,O.displayName="Panel",function(e){e.DEFAULT="Default",e.HOVER="Hover",e.SELECTED="Selected"}(S||(S={}));var C=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={hover:!1,active:!1},t.handleClick=function(e){var n=t.props,r=n.onClick,a=n.id,o=n.onItemSelect;null!=r?r(e):null!=o&&o(a)},t.handleMouseDown=function(){null!=t.props.color&&t.setState({active:!0})},t.handleMouseUp=function(){t.setState({active:!1})},t.handleMouseOver=function(){t.setState({hover:!0})},t.handleMouseOut=function(){t.setState({hover:!1,active:!1})},t}p(t,e);var n=t.prototype;return n.getStyle=function(){var e=this.props,t=e.color,n=e.id,r=e.selectedItem,a=e.itemType,o=this.state,i=o.hover,u=o.active;if(null!=t)return a===h.SIDE?null!=n&&r===n||u?T(t,S.SELECTED):i?T(t,S.HOVER):T(t):a===h.TOP?r===n?{borderColor:t,color:t}:i?{borderColor:(0,l.hex2rgb)(t,.1),color:(0,l.hex2rgb)(t,.6)}:{borderColor:"transparent",color:(0,l.hex2rgb)(t,.4)}:a===h.TOP_PILL?r===n?{backgroundColor:(0,l.hex2rgb)(t,.2),color:t}:{backgroundColor:t,color:s.Colors.WHITE}:void 0},n.render=function(){var e,t=this.props,n=t.children,r=t.className,i=t.id,l=t.selectedItem,s=t.color,f=t.disabled,c=t.onContextMenu,p=t.clickableRef,v=t.look,y=this.props["aria-label"];var m=l===i;return a.createElement(u.default,{className:(0,o.default)(r,(e={},e[d.default.item]=!0,e[d.default.brand]=v===_.BRAND,e[d.default.selected]=null==s&&m,e[d.default.themed]=v===_.GREY,e[d.default.disabled]=null==s&&f,e)),style:this.getStyle(),role:"tab","aria-selected":m,"aria-controls":I(""+i),"aria-disabled":f,tabIndex:m?0:-1,onMouseEnter:null!=s?this.handleMouseOver:void 0,onClick:this.handleClick,onMouseLeave:null!=s?this.handleMouseOut:void 0,onMouseUp:null!=s?this.handleMouseUp:void 0,onMouseDown:this.handleMouseDown,onContextMenu:c,"aria-label":y,ref:p},n)},t}(a.Component);t.Item=C,C.displayName="Item",C.defaultProps={disabled:!1,look:_.GREY};var b=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).tabBarRef=a.createRef(),t.focusManager=(0,i.createFocusManager)({getFocusableElements:function(){var e=t.tabBarRef.current;if(null!=e){var n=e.querySelectorAll('[role="tab"][aria-disabled="false"]');return Array.from(n)}return[]}}),t.renderChildren=function(e){var n=t.props,r=n.selectedItem,o=n.onItemSelect,i=n.type,l=void 0===i?h.SIDE:i,u=n.look,s=void 0===u?_.GREY:u;return a.isValidElement(e)?a.cloneElement(e,{selectedItem:r,onItemSelect:o,itemType:l,look:s}):null},t.getNodeForKeydownEvent=function(e){var n=t.props.orientation,r=void 0===n?"horizontal":n,a="vertical"===r?s.KeyboardKeys.ARROW_UP:s.KeyboardKeys.ARROW_LEFT,o="vertical"===r?s.KeyboardKeys.ARROW_DOWN:s.KeyboardKeys.ARROW_RIGHT;switch(e.which){case a:return t.focusManager.getPreviousFocusableElement();case o:return t.focusManager.getNextFocusableElement();case s.KeyboardKeys.HOME:return t.focusManager.getFirstFocusableElement();case s.KeyboardKeys.END:return t.focusManager.getLastFocusableElement()}return null},t.handleKeyDown=function(e){var n=t.getNodeForKeydownEvent(e);null!=n&&(e.preventDefault(),n.focus())},t}return p(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=e.type,i=void 0===r?h.SIDE:r,l=e.style,u=e["aria-label"],s=e.orientation,d=void 0===s?"horizontal":s;return a.createElement("div",{ref:this.tabBarRef,className:(0,o.default)(t,i),style:l,role:"tabbar","aria-orientation":d,onKeyDown:this.handleKeyDown,"aria-label":u},a.Children.map(n,this.renderChildren))},t}(a.Component);b.displayName="TabBar",b.Types=h,b.Looks=_,b.Header=E,b.Item=C,b.Separator=g,b.Panel=O;var M=b;t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(14)),a=l(n(2)),o=n(8262),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){u(o,r,a,i,l,"next",e)}function l(e){u(o,r,a,i,l,"throw",e)}i(void 0)}))}}var d=function(){var e=s(regeneratorRuntime.mark((function e(t){var n,l,u,s,d,f,c,p,v,y,m,_;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.guildId,l=t.status,u=void 0===l?o.GuildJoinRequestApplicationStatuses.PENDING:l,s=t.before,d=t.after,f=t.limit,c=void 0===f?o.MAX_RESULTS_PER_PAGE:f,a.default.dispatch({type:i.ActionTypes.GUILD_JOIN_REQUESTS_FETCH_START}),e.prev=2,e.next=5,r.default.get({url:i.Endpoints.GUILD_JOIN_REQUESTS(n),query:{status:u,limit:c,before:s,after:d}});case 5:p=e.sent,v=p.body,y=v.guild_join_requests,m=v.total,_=y.map((function(e){var t=e.user,n=e.user_id,r=e.guild_id,a=e.created_at,o=e.form_responses,i=e.rejection_reason,l=e.actioned_at,s=e.actioned_by_user;return{user:t,userId:n,guildId:r,createdAt:a,formResponses:o,rejectionReason:i,applicationStatus:u,actionedAt:l,actionedByUser:s}})),a.default.dispatch({type:i.ActionTypes.GUILD_JOIN_REQUESTS_FETCH_SUCCESS,status:u,requests:_,total:m,limit:c,guildId:n}),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(2),a.default.dispatch({type:i.ActionTypes.GUILD_JOIN_REQUESTS_FETCH_FAILURE});case 14:case"end":return e.stop()}}),e,null,[[2,11]])})));return function(t){return e.apply(this,arguments)}}(),f=function(){var e=s(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r.default.delete({url:i.Endpoints.GUILD_MEMBER_REQUEST_TO_JOIN(t)});case 3:return n=e.sent,a.default.dispatch({type:i.ActionTypes.USER_GUILD_JOIN_REQUEST_UPDATE,guildId:t,request:null}),e.abrupt("return",n);case 8:throw e.prev=8,e.t0=e.catch(0),e.t0;case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t){return e.apply(this,arguments)}}(),c={fetchGuildJoinRequests:d,ackUserGuildJoinRequest:function(){var e=s(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.patch({url:i.Endpoints.GUILD_JOIN_REQUEST_ACK(t)});case 2:return n=e.sent,a.default.dispatch({type:i.ActionTypes.ACK_APPROVED_GUILD_JOIN_REQUEST,guildId:t}),e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),removeGuildJoinRequest:f,updateGuildJoinRequest:function(){var e=s(regeneratorRuntime.mark((function e(t,n,l,u){var s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===l&&(l=o.GuildJoinRequestApplicationStatuses.APPROVED),e.next=3,r.default.patch({url:i.Endpoints.GUILD_JOIN_REQUEST(t,n),body:{action:l,rejection_reason:u}});case 3:s=e.sent,a.default.dispatch({type:i.ActionTypes.GUILD_JOIN_REQUEST_UPDATE,guildId:t,status:s.body.application_status,request:s.body});case 5:case"end":return e.stop()}}),e)})));return function(t,n,r,a){return e.apply(this,arguments)}}(),actionAllPendingJoinRequests:function(){var e=s(regeneratorRuntime.mark((function e(t,n){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.patch({url:i.Endpoints.GUILD_JOIN_REQUESTS(t),body:{action:n}});case 2:return o=e.sent,a.default.dispatch({type:i.ActionTypes.GUILD_JOIN_REQUESTS_BULK_ACTION,guildId:t,action:n}),e.abrupt("return",o.body);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),resetGuildJoinRequest:function(){var e=s(regeneratorRuntime.mark((function e(t){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r.default.post({url:i.Endpoints.GUILD_MEMBER_REQUEST_TO_JOIN(t)});case 3:return n=e.sent,o=n.body,a.default.dispatch({type:i.ActionTypes.USER_GUILD_JOIN_REQUEST_UPDATE,guildId:t,request:o}),e.abrupt("return",o);case 9:throw e.prev=9,e.t0=e.catch(0),e.t0;case 12:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t){return e.apply(this,arguments)}}(),fetchRequestToJoinGuilds:function(){var e=s(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.get({url:i.Endpoints.USER_JOIN_REQUEST_GUILDS});case 2:t=e.sent,a.default.dispatch({type:i.ActionTypes.USER_JOIN_REQUEST_GUILDS_FETCH,guilds:t.body});case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(718)),a=l(n(8798)),o=l(n(1284)),i=l(n(1285));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}var s=null;function d(e,t){var n={};return null!=e.mention&&null!=s&&(n={mention:s}),(0,i.default)([e].concat(t,[n]))}s=n(9290).default;var f=d(o.default.RULES,[(0,a.default)({enableBuildOverrides:!0})]),c=d(o.default.CHANNEL_TOPIC_RULES,[(0,a.default)({enableBuildOverrides:!1,emojiTooltipPosition:"bottom"}),{codeBlock:{react:o.default.RULES.text.react}}]),p=d(o.default.EMBED_TITLE_RULES,[(0,a.default)({enableBuildOverrides:!1})]),v=d(o.default.INLINE_REPLY_RULES,[(0,a.default)({enableBuildOverrides:!1})]),y=d(o.default.GUILD_VERIFICATION_FORM_RULES,[(0,a.default)({enableBuildOverrides:!1})]),m={defaultRules:f,astParserFor:r.astParserFor,reactParserFor:r.reactParserFor,parse:r.reactParserFor(f),parseTopic:r.reactParserFor(c),parseEmbedTitle:r.reactParserFor(p),parseInlineReply:r.reactParserFor(v),parseGuildVerificationFormRule:r.reactParserFor(y),parseToAST:r.astParserFor(f),parseTopicToAST:r.astParserFor(c),parseEmbedTitleToAST:r.astParserFor(p),parseInlineReplyToAST:r.astParserFor(v)};t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useAnalyticsContext=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(13);function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}t.useAnalyticsContext=function(){return r.useContext(a.AnalyticsContext)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SearchBarIcon=t.RichTagTypes=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(9)),i=E(n(133)),l=E(n(88)),u=E(n(271)),s=E(n(61)),d=E(n(255)),f=E(n(5968)),c=E(n(279)),p=E(n(272)),v=n(121),y=n(259),m=n(1),_=E(n(6)),h=E(n(7411));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(){return(S=Object.assign||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}).apply(this,arguments)}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var T=Object.freeze({SMALL:h.default.small,MEDIUM:h.default.medium,LARGE:h.default.large}),C=(0,i.default)({MEMBER:null,ROLE:null});t.RichTagTypes=C;var b=function(e){var t,n,r,a=e.hasContent,i=e.onClear,l=e.className,u=e.themeOverride,c=e.size,p=void 0===c?T.SMALL:c;return I(s.default,{className:(0,o.default)(l,h.default.iconLayout,p,(0,y.getThemeClass)(u),(t={},t[h.default.clear]=a,t)),onClick:function(e){e.stopPropagation(),null!=i&&i(e)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()},tabIndex:-1,"aria-hidden":!a,"aria-label":_.default.Messages.SEARCH_CLEAR},void 0,I("div",{className:h.default.iconContainer},void 0,I(f.default,{className:(0,o.default)((n={},n[h.default.icon]=!0,n[h.default.visible]=!a,n))}),I(d.default,{className:(0,o.default)((r={},r[h.default.icon]=!0,r[h.default.visible]=a,r))})))};t.SearchBarIcon=b,b.displayName="SearchBarIcon";var M=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).ref=a.createRef(),t.containerRef=a.createRef(),t.handleKeyDown=function(e){var n=t.props,r=n.onActivate,a=n.onKeyDown,o=n.onQueryChange,i=n.useKeyboardNavigation;null!=a&&a(e);var l=t.ref.current;if(null!=l&&null==r)return e.keyCode===m.KeyboardKeys.ESCAPE&&l.value&&l.value.length>0?(l.value="",void(null!=o&&o(""))):void(i&&(t.props.gridResults?t.handleKeyDownGrid(e):t.handleKeyDownList(e)));e.keyCode!==m.KeyboardKeys.TAB&&null!=r&&r(e)},t.handleChange=function(e){var n=t.props.onQueryChange;null!=n&&n(e.currentTarget.value)},t.handleFocus=function(e){var n=t.props.onFocus;null!=n&&n(e)},t.handleClear=function(){var e=t.props.onClear,n=t.ref.current;null!=e&&e(),null!=n&&n.focus()},t.handleRemoveTag=function(e){var n=t.props.onRemoveTag;n&&n(e)},t.focus=function(){var e=t.ref.current;null!=e&&e.focus()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,O(t,n);var i=r.prototype;return i.componentDidMount=function(){var e=this.props.subscribeToFocusEvent;e&&v.ComponentDispatch.subscribe(e,this.focus)},i.componentWillUnmount=function(){var e=this.props.subscribeToFocusEvent;e&&v.ComponentDispatch.unsubscribe(e,this.focus)},i.componentDidUpdate=function(e){var t=this.props,n=t.focusAfterReady,r=t.isReady;n&&!e.isReady&&r&&this.focus()},i.handleKeyDownGrid=function(e){var t=this.props,n=t.selectedRow,r=t.selectedColumn,a=t.sections,o=t.query,i=t.tags,l=t.onSelectionChange,u=t.onSelect,s=t.onRemoveTag,d=t.preventEscapePropagation;if(0!==a.length){switch(e.keyCode){case m.KeyboardKeys.BACKSPACE:(null==o||0===o.length)&&null!=i&&i.length>0&&(e.preventDefault(),e.stopPropagation(),s&&s(i.length-1));break;case m.KeyboardKeys.ARROW_DOWN:e.preventDefault(),e.stopPropagation(),-1===n?(n=0,r=0):((n+=1)>=a.length&&(n=a.length-1),r>=a[n]&&(r=a[n]-1));break;case m.KeyboardKeys.ARROW_UP:e.preventDefault(),e.stopPropagation(),(n-=1)<0?(n=0,r=0):r>=a[n]&&(r=a[n]-1);break;case m.KeyboardKeys.ARROW_LEFT:e.preventDefault(),e.stopPropagation(),-1===n&&(n=0),(r-=1)<0&&((n-=1)>=0?r=a[n]-1:n<0&&(n=0,r=0));break;case m.KeyboardKeys.ARROW_RIGHT:e.preventDefault(),e.stopPropagation(),-1===n&&(n=0),(r+=1)>=a[n]&&(r=0,(n+=1)>=a.length&&(r=a[n=a.length-1]-1));break;case m.KeyboardKeys.ENTER:if(e.preventDefault(),e.stopPropagation(),-1===n&&(n=0),-1===r&&(r=0),n>=a.length||r>=a[n])return;return void(null!=u&&u(n,r,e));case m.KeyboardKeys.ESCAPE:return e.preventDefault(),d&&e.stopPropagation(),void(null!=u&&u(null,null,e));default:return}null!=l&&l(n,r)}},i.handleKeyDownList=function(e){var t=this.props,n=t.sections,r=t.selectedSection,a=t.selectedRow,o=t.onSelect,i=t.onSelectionChange,l=t.query,u=t.tags,s=t.preventEscapePropagation,d=this.ref.current;if(null!=d)switch(e.keyCode){case m.KeyboardKeys.BACKSPACE:(null==l||0===l.length)&&null!=u&&u.length>0&&(e.preventDefault(),e.stopPropagation(),this.props.onRemoveTag&&this.props.onRemoveTag(u.length-1));break;case m.KeyboardKeys.ARROW_DOWN:e.preventDefault(),e.stopPropagation(),n.length>r&&++a>=n[r]&&(++r>=n.length&&(r=0),a=0),i&&i(r,a);break;case m.KeyboardKeys.ARROW_UP:e.preventDefault(),e.stopPropagation(),--a<0&&(--r<0&&(r=n.length-1),a=n[r]-1),i&&i(r,a);break;case m.KeyboardKeys.ENTER:e.preventDefault(),e.stopPropagation(),n.length>r&&n[r]>a&&o&&o(r,a,e);break;case m.KeyboardKeys.ESCAPE:e.preventDefault(),s&&e.stopPropagation(),o&&o(null,null,e),d.blur()}},i.render=function(){var e,t,n=this,r=this.props,i=r.autoFocus,s=r.query,f=r.placeholder,v=r.themeOverride,m=r.disabled,_=r.onClear,E=r.size,g=r.maxHeight,O=r.tags,T=r.onActivate,M=r.className,N=r["aria-activedescendant"],A=r.inputProps,P=r.focusAfterReady,R=null!=s&&s.length>0,L=!1,D=[];null!=O&&O.length>0&&("string"==typeof O[0]?O.forEach((function(e,t){return D.push(I(u.default,{focusProps:{offset:4},className:h.default.tag,onClick:n.handleRemoveTag.bind(n,t)},t,e,I(d.default,{className:h.default.close})))})):(L=!0,O.forEach((function(e,t){return D.push(I(u.default,{className:(0,o.default)(h.default.tag,h.default.richTag),onClick:n.handleRemoveTag.bind(n,t)},t,e.type===C.MEMBER&&e.avatar&&I(c.default,{src:e.avatar,"aria-label":e.label,size:c.default.Sizes.SIZE_16}),e.type===C.ROLE&&e.color&&I("span",{className:h.default.tagRoleColor,style:{backgroundColor:e.color}}),I("span",{className:h.default.tagLabel},void 0,e.label),I(d.default,{className:h.default.close})))}))));return I(l.default,{focusTarget:this.ref,ringTarget:this.containerRef},void 0,a.createElement("div",{ref:this.containerRef,className:(0,o.default)(M,h.default.container,E,(0,y.getThemeClass)(v),(e={},e[h.default.disabled]=m,e))},I(p.default,{className:h.default.inner,style:{maxHeight:g}},void 0,D,a.createElement("input",S({className:(0,o.default)(h.default.input,(t={},t[h.default.richTagInput]=L,t)),type:"text",ref:this.ref,spellCheck:"false",placeholder:f,value:s,onChange:this.handleChange,onKeyDown:this.handleKeyDown,onFocus:this.handleFocus,disabled:m,autoFocus:!P&&i,onMouseDown:T,"aria-activedescendant":N},A)),_?I(b,{size:E,themeOverride:v,hasContent:R,onClear:this.handleClear}):null)))},r}(a.Component);M.displayName="SearchBar",M.Sizes=T,M.defaultProps={size:T.SMALL,query:"",sections:[],selectedSection:0,selectedRow:-1,selectedColumn:-1,gridResults:!1,placeholder:_.default.Messages.DM_SEARCH_PLACEHOLDER,disabled:!1,autoFocus:!1,preventEscapePropagation:!0,useKeyboardNavigation:!0};var N=M;t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){var n="SubscribeGuildMembersContainer("+function(e){return e.displayName||e.name||"Component"}(t)+")",l=function(n){var l,u;function f(t){var r;r=n.call(this,t)||this;var o=e(t);return a.default.forEach(o,(function(e,t){return(0,i.subscribeMembers)(t,e)})),r._subscriptions=o,r}u=n,(l=f).prototype=Object.create(u.prototype),l.prototype.constructor=l,d(l,u);var c=f.prototype;return c.componentDidUpdate=function(t){if(!(0,o.default)(this.props,t)){var n=e(this.props);null!=this._subscriptions&&a.default.isEqual(this._subscriptions,n)||(null!=this._subscriptions&&a.default.forEach(this._subscriptions,(function(e,t){return(0,i.unsubscribeMembers)(t,e)})),a.default.forEach(n,(function(e,t){return(0,i.subscribeMembers)(t,e)})),this._subscriptions=n)}},c.componentWillUnmount=function(){null!=this._subscriptions&&a.default.forEach(this._subscriptions,(function(e,t){return(0,i.unsubscribeMembers)(t,e)}))},c.render=function(){var e=this.props,n=e.forwardedRef,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["forwardedRef"]);return r.createElement(t,s({ref:n},a))},f}(r.Component);l.displayName="WrappedComponent",l.displayName=n;var u=r.forwardRef((function(e,t){return r.createElement(l,s({},e,{forwardedRef:t}))}));return u.displayName="ForwardRef("+n+")",u}},t.useSubscribeGuildMembers=function(e){r.useEffect((function(){return a.default.forEach(e,(function(e,t){return(0,i.subscribeMembers)(t,e)})),function(){a.default.forEach(e,(function(e,t){return(0,i.unsubscribeMembers)(t,e)}))}}),[e])};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=l(n(8)),o=l(n(184)),i=n(9105);function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return a.forwardRef((function(t,n){var r=a.useRef();return a.useImperativeHandle(n,(function(){return{triggerResize:function(){var e;null===(e=r.current)||void 0===e||e.onResize()}}})),a.createElement(o.default,{ref:r},(function(n){var r=n.width,o=n.height;return a.createElement(e,l({},t,{width:r,height:o}))}))}))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(10312))&&r.__esModule?r:{default:r};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(){return(l=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=s(n(0)),o=n(3),i=(r=n(160))&&r.__esModule?r:{default:r},l=s(n(9333));function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e){return e.isSystemUser()?l.BotTypes.SYSTEM_DM:e.bot?l.BotTypes.BOT:null}var c=function(e){var t=e.hideDiscriminator,n=void 0!==t&&t,r=e.user,u=e.nick,s=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["hideDiscriminator","user","nick"]),c=(0,o.useStateFromStores)([i.default],(function(){return i.default.hidePersonalInformation}))||n;return a.createElement(l.default,d({name:null!=u?u:r.toString(),discriminator:c||null!=u?null:r.discriminator,botType:f(r),botVerified:r.isVerifiedBot()},s))};c.displayName="DiscordTag";var p=c;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MemberVerificationModalStates=t.IN_APP_MEMBER_VERIFICATION_MODAL_KEY=t.MEMBER_VERIFICATION_TYPE=t.MAX_PARAGRAPH_RESPONSE_LENGTH=t.MAX_TEXT_RESPONSE_LENGTH=t.MAX_CHOICE_LENGTH=t.MAX_NUM_CHOICES=t.MAX_PLACEHOLDER_LENGTH=t.MAX_QUESTION_LENGTH=t.MAX_RULE_LENGTH=t.MAX_NUM_RULES=t.MAX_FORM_ELEMENTS=t.REQUIRED_FORM_FIELDS=void 0;var r=[{field_type:n(8262).VerificationFormFieldTypes.VERIFICATION}];t.REQUIRED_FORM_FIELDS=r;t.MAX_FORM_ELEMENTS=5;t.MAX_NUM_RULES=16;t.MAX_RULE_LENGTH=300;t.MAX_QUESTION_LENGTH=300;t.MAX_PLACEHOLDER_LENGTH=150;t.MAX_NUM_CHOICES=8;t.MAX_CHOICE_LENGTH=150;t.MAX_TEXT_RESPONSE_LENGTH=150;t.MAX_PARAGRAPH_RESPONSE_LENGTH=1e3;t.MEMBER_VERIFICATION_TYPE="Membership Gating";var a;t.IN_APP_MEMBER_VERIFICATION_MODAL_KEY="in-app-member-verification",t.MemberVerificationModalStates=a,function(e){e[e.VERIFICATION_INFO=0]="VERIFICATION_INFO"}(a||(t.MemberVerificationModalStates=a={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.EmptyStateText=t.EmptyStateImage=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(9)),i=d(n(55)),l=n(1),u=d(n(7609)),s=d(n(370));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,y(e,t)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=a.createContext(l.ThemeTypes.DARK),_=m.Provider,h=m.Consumer,E=function(e){function t(){return e.apply(this,arguments)||this}return v(t,e),t.prototype.render=function(){var e=this.props,t=e.lightSrc,n=e.darkSrc,r=e.width,a=e.height,d=e.offsetX,f=e.offsetY,v=e.style;return c(h,{},void 0,(function(e){return c(i.default.Child,{grow:0,className:(0,o.default)(u.default.image,s.default.marginBottom40),style:p({},v,{width:r,height:a,marginLeft:d,marginTop:f,backgroundImage:"url("+(e===l.ThemeTypes.DARK?n:t)+")"})})}))},t}(a.PureComponent);t.EmptyStateImage=E,E.displayName="EmptyStateImage";var g=function(e){var t=e.children,n=e.className,r=e.noteClassName,a=e.note,l=e.style;return c(i.default.Child,{grow:0,direction:i.default.Direction.VERTICAL,style:l},void 0,t&&c("h4",{className:(0,o.default)(n,u.default.title)},void 0,t),a&&c("div",{className:(0,o.default)(r,u.default.text,s.default.marginTop8)},void 0,a))};t.EmptyStateText=g,g.displayName="EmptyStateText";var S=function(e){function t(){return e.apply(this,arguments)||this}return v(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.theme,r=e.className,a=e.style;return c(_,{value:n},void 0,c(i.default,{direction:i.default.Direction.VERTICAL,align:i.default.Align.CENTER,justify:i.default.Justify.CENTER,className:(0,o.default)(u.default.wrapper,r),style:a},void 0,t))},t}(a.PureComponent);t.default=S,S.displayName="EmptyState",S.Text=g,S.Image=E},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.GuildSettingsRoleEditSections=void 0,t.GuildSettingsRoleEditSections=r,function(e){e[e.DISPLAY=0]="DISPLAY",e[e.PERMISSIONS=1]="PERMISSIONS",e[e.MEMBERS=2]="MEMBERS"}(r||(t.GuildSettingsRoleEditSections=r={}))},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultCustomContentScroller=C,t.default=t.ContentTypes=t.ListContentScroller=t.ScrollerContext=t.SectionTypes=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=m(n(9)),l=m(n(469)),u=m(n(1291)),s=m(n(8518)),d=n(468),f=n(1210),c=n(272),p=n(259),v=m(n(8746)),y=m(n(7381));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(){return(E=Object.assign||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}).apply(this,arguments)}function g(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,S(e,t)}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.SectionTypes={HEADER:"HEADER",DIVIDER:"DIVIDER",CUSTOM:"CUSTOM"};var O=o.createContext(null);t.ScrollerContext=O;var I,T=function(e){function t(){return e.apply(this,arguments)||this}g(t,e);var n=t.prototype;return n.renderContent=function(){var e=this.props,t=e.scrollerRef,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["scrollerRef"]);return h("div",{className:y.default.customContainer},void 0,o.createElement(f.ListAuto,E({},n,{className:(0,i.default)(y.default.customScroller,y.default.contentRegionScroller),ref:t})))},n.render=function(){return h("div",{className:y.default.customColumn},void 0,this.renderContent())},t}(o.PureComponent);function C(e){var t=e.children;return h("div",{className:y.default.customColumn},void 0,h("div",{className:y.default.customContainer},void 0,h(c.ScrollerAuto,{className:(0,i.default)(y.default.customScroller,y.default.contentRegionScroller)},void 0,t)))}t.ListContentScroller=T,T.displayName="ListContentScroller",T.defaultProps={paddingTop:60,paddingBottom:60},C.displayName="DefaultCustomContentScroller",t.ContentTypes=I,function(e){e.MINIMAL="minimal",e.CUSTOM="custom",e.DEFAULT="default"}(I||(t.ContentTypes=I={}));var b=Object.freeze(((r={})[I.MINIMAL]="contentColumnMinimal",r[I.CUSTOM]="contentColumnCustom",r[I.DEFAULT]="contentColumnDefault",r)),M=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._scroller=null,t._containerRef=o.createRef(),t._contentColumnRef=o.createRef(),t._toolsContainerRef=o.createRef(),t.setScrollerRef=function(e){t._scroller=e;var n=t.props.scrollerRef;null!=n&&(n.current=e)},t}g(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){e.section!==this.props.section&&this.resetScroll()},n.resetScroll=function(){null!=this._scroller&&this._scroller.scrollTo({to:0})},n.renderTools=function(){var e=this.props,t=e.closeAction,n=e.theme;return null==t?null:o.createElement("div",{className:y.default.toolsContainer,ref:this._toolsContainerRef},h(u.default,{containerRef:this._toolsContainerRef},void 0,h("div",{className:y.default.tools},void 0,h(v.default,{closeAction:t,theme:n,keybind:"ESC"}))))},n.renderNotice=function(){var e=this.props,t=e.notice,n=e.section;return null==t?null:h(s.default,{className:y.default.noticeRegion},n,t)},n.renderContent=function(){var e=this.props,t=e.content,n=e.contentType;if(n===I.CUSTOM)return h(l.default,{component:"div",className:y.default.contentRegion},void 0,t,this.renderTools(),this.renderNotice());var r=b[n||I.DEFAULT];return h(l.default,{component:"div",className:y.default.contentRegion},void 0,h("div",{className:y.default.contentTransitionWrap},void 0,o.createElement(d.AdvancedScrollerAuto,{className:y.default.contentRegionScroller,ref:this.setScrollerRef},h(O.Provider,{value:this._scroller},void 0,o.createElement("main",{className:(0,i.default)(y.default.contentColumn,y.default[r]),ref:this._contentColumnRef},h(u.default,{containerRef:this._contentColumnRef},void 0,t))),this.renderTools())),this.renderNotice())},n.renderSidebar=function(){var e=this.props,t=e.sidebar,n=e.sidebarTheme;return h("div",{className:(0,i.default)(y.default.sidebarRegion,(0,p.getThemeClass)(n))},void 0,h(d.AdvancedScrollerThin,{className:y.default.sidebarRegionScroller,fade:!0},void 0,h("nav",{className:y.default.sidebar},void 0,t)))},n.render=function(){return h("div",{className:y.default.standardSidebarView},void 0,this.renderSidebar(),this.renderContent())},t}(o.PureComponent);M.displayName="StandardSidebarView";var N=M;t.default=N},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function i(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,i=e.color,l=void 0===i?"currentColor":i;return o("svg",{width:n,height:a,viewBox:"0 0 24 24",className:e.className},void 0,o("path",{className:e.foreground,fill:l,fillRule:"evenodd",clipRule:"evenodd",d:"M5.88657 21C5.57547 21 5.3399 20.7189 5.39427 20.4126L6.00001 17H2.59511C2.28449 17 2.04905 16.7198 2.10259 16.4138L2.27759 15.4138C2.31946 15.1746 2.52722 15 2.77011 15H6.35001L7.41001 9H4.00511C3.69449 9 3.45905 8.71977 3.51259 8.41381L3.68759 7.41381C3.72946 7.17456 3.93722 7 4.18011 7H7.76001L8.39677 3.41262C8.43914 3.17391 8.64664 3 8.88907 3H9.87344C10.1845 3 10.4201 3.28107 10.3657 3.58738L9.76001 7H15.76L16.3968 3.41262C16.4391 3.17391 16.6466 3 16.8891 3H17.8734C18.1845 3 18.4201 3.28107 18.3657 3.58738L17.76 7H21.1649C21.4755 7 21.711 7.28023 21.6574 7.58619L21.4824 8.58619C21.4406 8.82544 21.2328 9 20.9899 9H17.41L16.35 15H19.7549C20.0655 15 20.301 15.2802 20.2474 15.5862L20.0724 16.5862C20.0306 16.8254 19.8228 17 19.5799 17H16L15.3632 20.5874C15.3209 20.8261 15.1134 21 14.8709 21H13.8866C13.5755 21 13.3399 20.7189 13.3943 20.4126L14 17H8.00001L7.36325 20.5874C7.32088 20.8261 7.11337 21 6.87094 21H5.88657ZM9.41045 9L8.35045 15H14.3504L15.4104 9H9.41045Z"}))}i.displayName="ChannelText"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderVideoComponent=k,t.renderAudioComponent=U,t.renderImageComponent=G,t.renderMaskedLinkComponent=F,t.renderPlaintextFilePreview=B,t.NewMessagesBar=function(e){var t,n=e.content,r=e.channelId,u=a.useState((function(){return(0,h.uid)("NewMessagesBarJumpToNewMessages_")}))[0],s=a.useCallback((function(){var e=f.default.ackMessageId(r);null!=e?i.default.jumpToMessage({channelId:r,messageId:e,offset:1,context:"Mark As Read"}):i.default.jumpToMessage({channelId:r,messageId:r,offset:1,context:"Mark As Read"})}),[r]),c=a.useCallback((function(){(0,l.ack)(r)}),[r]),p=a.useContext(E.MessagesInteractionContext).disableInteractions;return p?null:A("div",{className:(0,o.default)(b.default.newMessagesBar,(t={},t[b.default.disableInteractions]=p,t))},void 0,A(d.default,{offset:4},void 0,A("button",{type:"button",className:b.default.barButtonMain,onClick:s,"aria-label":C.default.Messages.JUMP_TO_LAST_UNREAD_MESSAGE,"aria-describedby":u},void 0,A("span",{id:u,className:b.default.span},void 0,n))),A(d.default,{offset:4},void 0,A("button",{type:"button",onClick:c,className:b.default.barButtonAlt},void 0,C.default.Messages.MARK_AS_READ,A(S.default,{className:b.default.barButtonIcon}))))},t.LoadingMore=V,t.PopoutLoadingAnimation=t.MessagePopoutContent=t.renderClickableTooltipNode=t.ErrorLoadingBar=t.JumpToPresentBar=t.JumpBarType=t.EXPRESSION_TOOLTIP_PROPS=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=N();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=M(n(9)),i=M(n(390)),l=n(8321),u=M(n(9279)),s=M(n(1326)),d=M(n(88)),f=M(n(200)),c=M(n(61)),p=M(n(9282)),v=M(n(8801)),y=M(n(8593)),m=M(n(151)),_=M(n(149)),h=n(85),E=n(5973),g=M(n(683)),S=M(n(9287)),O=M(n(24)),I=n(48),T=n(9288),C=M(n(6)),b=M(n(7439));function M(e){return e&&e.__esModule?e:{default:e}}function N(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return N=function(){return e},e}function A(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function P(){return(P=Object.assign||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}).apply(this,arguments)}function R(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}var L={delay:300,position:_.default.Positions.TOP};t.EXPRESSION_TOOLTIP_PROPS=L;var D,w=function(e){return function(t){e&&e(t),(0,T.setVolume)(t)}},j=function(e){return function(t){e&&e(t),(0,T.setMuted)(t)}};function k(e){var t=e.onVolumeChange,n=e.onMute,r=e.volume,o=e.autoMute,i=R(e,["onVolumeChange","onMute","volume","autoMute"]),l=w(t),u=j(n);return r=null==r?T.getVolume:r,o=null==o?T.getMuted:o,a.createElement(v.default,P({},i,{volume:r,autoMute:o,onVolumeChange:l,onMute:u,renderLinkComponent:F}))}function U(e){var t=e.onVolumeChange,n=e.volume,r=e.onMute,o=R(e,["onVolumeChange","volume","onMute"]),i=w(t),l=j(r);n=null==n?T.getVolume:n;return a.createElement(p.default,P({},o,{onVolumeChange:i,onMute:l,volume:n,autoMute:function(){return!1},renderLinkComponent:F}))}function G(e){return a.createElement(u.default,P({},e,{renderLinkComponent:F}))}function F(e){return a.createElement(s.default,e)}function B(e){return a.createElement(y.default,e)}k.displayName="renderVideoComponent",U.displayName="renderAudioComponent",G.displayName="renderImageComponent",F.displayName="renderMaskedLinkComponent",B.displayName="renderPlaintextFilePreview",t.JumpBarType=D,function(e){e[e.OLD_MESSAGES=0]="OLD_MESSAGES",e[e.REPLY=1]="REPLY"}(D||(t.JumpBarType=D={}));var H=function(e){var t=e.type,n=void 0===t?D.OLD_MESSAGES:t,r=e.onClick;return A(E.MessagesInteractionContext.Consumer,{},void 0,(function(e){return e.disableInteractions?null:A("div",{className:b.default.jumpToPresentBar},void 0,A(d.default,{offset:4},void 0,A("button",{type:"button",onClick:r,className:b.default.barButtonMain},void 0,function(e){switch(e){case D.OLD_MESSAGES:return C.default.Messages.YOURE_VIEWING_OLDER_MESSAGES;case D.REPLY:return C.default.Messages.JUMP_BAR_VIEWING_REPLY;default:return(0,I.assertNever)(e)}}(n))),null!=r?A(d.default,{offset:4},void 0,A("button",{type:"button",onClick:r,className:b.default.barButtonAlt},void 0,function(e){switch(e){case D.OLD_MESSAGES:return C.default.Messages.JUMP_TO_PRESENT;case D.REPLY:return C.default.Messages.JUMP_TO_ORIGINAL_MESSAGE;default:return(0,I.assertNever)(e)}}(n),A(g.default,{className:b.default.barButtonIcon}))):A(m.default,{type:m.default.Type.PULSING_ELLIPSIS,className:b.default.spinner,itemClassName:b.default.spinnerItem}))}))};t.JumpToPresentBar=H,H.displayName="JumpToPresentBar";var x=function(e){var t=e.onClick,n=e.loading;return A(E.MessagesInteractionContext.Consumer,{},void 0,(function(e){return e.disableInteractions?null:A(c.default,{className:b.default.messagesErrorBar,onClick:t,focusProps:{offset:{top:4,right:4,bottom:12,left:4}}},void 0,A("div",{className:b.default.barButtonMain},void 0,C.default.Messages.MESSAGES_FAILED_TO_LOAD),n?A(m.default,{type:m.default.Type.PULSING_ELLIPSIS,className:b.default.spinner,itemClassName:b.default.spinnerItem}):A("div",{className:b.default.barButtonAlt},void 0,C.default.Messages.MESSAGES_FAILED_TO_LOAD_TRY_AGAIN))}))};function V(){return A("div",{className:b.default.loadingMore,"aria-label":C.default.Messages.LOADING_MESSAGES_A11Y_LABEL},void 0,A(m.default,{className:b.default.spinner}))}t.ErrorLoadingBar=x,x.displayName="ErrorLoadingBar",V.displayName="LoadingMore";var W=function(e){return A("div",{className:b.default.tooltip},void 0,A(O.default,{color:O.default.Colors.CUSTOM},void 0,e),A(O.default,{className:b.default.clickCTA,color:O.default.Colors.CUSTOM},void 0,C.default.Messages.EMOJI_TOOLTIP_CLICK_CTA))};t.renderClickableTooltipNode=W,W.displayName="renderClickableTooltipNode";var Y=function(e){var t=e.children,n=e.className;return A("div",{className:(0,o.default)(b.default.popoutContainer,n)},void 0,t)};t.MessagePopoutContent=Y,Y.displayName="MessagePopoutContent";var z=function(e){var t=e.className;return A(Y,{className:t},void 0,A("div",{className:b.default.popoutLoadingBackground},void 0,A("div",{className:b.default.popoutLoadingForeground})))};t.PopoutLoadingAnimation=z,z.displayName="PopoutLoadingAnimation"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);var i={open:function(e){a.default.dirtyDispatch({type:o.ActionTypes.POPOUT_OPEN,popout:e})},close:function(e){a.default.dirtyDispatch({type:o.ActionTypes.POPOUT_CLOSE,key:e})},closeAll:function(){a.default.dirtyDispatch({type:o.ActionTypes.POPOUT_CLOSE_ALL})},rerender:function(e){a.default.dirtyDispatch({type:o.ActionTypes.POPOUT_NEEDS_RERENDER,key:e})},didRerender:function(e){a.default.dirtyDispatch({type:o.ActionTypes.POPOUT_DID_RERENDER,key:e})}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openUserProfileModal=function(e){var t=e.userId,n=e.section,u=e.guildId,s=void 0===u?l.ME:u,d=e.friendToken,f=o.default.getUser(t);if(null==f)return(0,a.fetchProfile)(t,{friendToken:d}).then((function(){r.default.dispatch({type:l.ActionTypes.USER_PROFILE_MODAL_OPEN,userId:t,section:n,guildId:s,friendToken:d})}));(0,i.default)(t,f.getAvatarURL(void 0),{withMutualGuilds:!0,friendToken:d}),r.default.dispatch({type:l.ActionTypes.USER_PROFILE_MODAL_OPEN,userId:t,section:n,guildId:s,friendToken:d})},t.closeUserProfileModal=function(){r.default.dispatch({type:l.ActionTypes.USER_PROFILE_MODAL_CLOSE})};var r=u(n(2)),a=n(1150),o=u(n(12)),i=u(n(8264)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setActiveCommand=function(e){o.default.dirtyDispatch({type:l.ActionTypes.APPLICATION_COMMAND_SET_ACTIVE_COMMAND,command:e})},t.setPreferredCommandId=function(e){o.default.dirtyDispatch({type:l.ActionTypes.APPLICATION_COMMAND_SET_PREFERRED_COMMAND,commandId:e})},t.updateOptionStates=function(e){o.default.dirtyDispatch({type:l.ActionTypes.APPLICATION_COMMAND_UPDATE_OPTIONS,changedOptionStates:e})},t.queryDmApplicationCommands=function(e,t){return f.apply(this,arguments)},t.clearGuildDiscoveryCommands=t.getApplicationDiscoveryCommands=t.queryGuildApplications=t.queryGuildApplicationCommands=void 0;var r=u(n(8)),a=u(n(14)),o=u(n(2)),i=u(n(97)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){s(o,r,a,i,l,"next",e)}function l(e){s(o,r,a,i,l,"throw",e)}i(void 0)}))}}function f(){return(f=d(regeneratorRuntime.mark((function e(t,n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.default.get(l.Endpoints.APPLICATION_BOT_COMMANDS(t));case 2:(r=e.sent).ok&&o.default.dirtyDispatch({type:l.ActionTypes.DM_APPLICATION_COMMANDS_UPDATE,botUserId:t,applicationCommands:r.body,commandTarget:n});case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var c=r.default.debounce((function(e,t,n,r,a){o.default.dirtyDispatch({type:l.ActionTypes.APPLICATION_COMMAND_QUERY_REQUEST,guildId:e,query:t,limit:n,nonce:i.default.fromTimestamp(Date.now()),includeApplications:a,commandTarget:r})}),250,{leading:!0,trailing:!0,maxWait:750});t.queryGuildApplicationCommands=c;t.queryGuildApplications=function(e,t,n){o.default.dirtyDispatch({type:l.ActionTypes.APPLICATIONS_REQUEST,guildId:e,nonce:i.default.fromTimestamp(Date.now()),commandLimit:t,commandTarget:n})};t.getApplicationDiscoveryCommands=function(e,t,n,r,a,u){o.default.dirtyDispatch({type:l.ActionTypes.APPLICATION_COMMAND_DISCOVERY_REQUEST,guildId:e,offset:t,limit:n,isBefore:r,commandTarget:a,jumpDescriptor:u,nonce:i.default.fromTimestamp(Date.now())})};t.clearGuildDiscoveryCommands=function(){o.default.dirtyDispatch({type:l.ActionTypes.CLEAR_GUILD_DISCOVERY_COMMANDS})}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{foreground:f,fill:d,d:"M21.526 8.149C21.231 7.966 20.862 7.951 20.553 8.105L18 9.382V7C18 5.897 17.103 5 16 5H4C2.897 5 2 5.897 2 7V17C2 18.104 2.897 19 4 19H16C17.103 19 18 18.104 18 17V14.618L20.553 15.894C20.694 15.965 20.847 16 21 16C21.183 16 21.365 15.949 21.526 15.851C21.82 15.668 22 15.347 22 15V9C22 8.653 21.82 8.332 21.526 8.149Z"}))}d.displayName="CallVideoCamera"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=A(n(9)),i=n(3),l=n(123),u=n(5937),s=A(n(180)),d=n(8328),f=A(n(39)),c=A(n(150)),p=n(193),v=n(252),y=A(n(29)),m=A(n(61)),_=A(n(55)),h=A(n(477)),E=A(n(375)),g=A(n(371)),S=A(n(149)),O=A(n(159)),I=A(n(279)),T=A(n(47)),C=A(n(24)),b=n(1),M=A(n(6)),N=A(n(7558));function A(e){return e&&e.__esModule?e:{default:e}}function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(){return(R=Object.assign||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}).apply(this,arguments)}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var D=function(e){var t=e.text;return L(O.default,{className:N.default.header},void 0,t)};D.displayName="InviteHeader";var w=function(e){var t=e.resolving,n=e.children;return L("div",{className:N.default.content},void 0,t?L("div",{className:N.default.resolving},void 0,L("div",{className:N.default.resolvingBackground})):n)};w.displayName="InviteBody";var j=function(e){var t=e.title,n=e.onClick,r=e.expired,a=e.children,o=L(T.default,{size:T.default.Sizes.SIZE_16,className:(0,v.getClass)(N.default,"inviteDestination",r?"Expired":null!=n?"Joined":"")},void 0,t);return L(_.default,{className:N.default.guildInfo,direction:_.default.Direction.VERTICAL,justify:_.default.Justify.CENTER},void 0,null==n?o:L(m.default,{onClick:n},void 0,o),L(C.default,{tag:"strong",className:N.default.guildDetail},void 0,a))};j.displayName="InviteInfo";var k=function(e){var t=e.membersOnline,n=e.members,r=[];return null!=t&&t>0&&r.push(L(a.Fragment,{},"onlineCount",L("i",{className:N.default.statusOnline}),L("span",{className:N.default.count},void 0,M.default.Messages.INSTANT_INVITE_GUILD_MEMBERS_ONLINE.format({membersOnline:t})))),null!=n&&r.push(L(a.Fragment,{},"memberCount",L("i",{className:N.default.statusOffline}),L("span",{className:N.default.count},void 0,M.default.Messages.INSTANT_INVITE_GUILD_MEMBERS_TOTAL.format({count:n})))),L("div",{className:N.default.statusCounts},void 0,r)};k.displayName="InviteData";var U=function(e){var t=e.channel,n=e.guild,r=(0,d.getChannelIconComponent)(t,n);return null==t||null==r?null:L("div",{className:N.default.channel},void 0,L(r,{className:N.default.channelIcon,width:20,height:20}),L("span",{className:N.default.channelName},void 0,t.name))};U.displayName="InviteChannel";var G=function(e){var t=e.children,n=e.onClick,r=e.className,i=e.isDisabled,l=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["children","onClick","className","isDisabled"]);return a.createElement(y.default,R({},l,{disabled:i,onClick:n,size:N.default.buttonSize,className:(0,o.default)(N.default.button,r)}),t)};G.displayName="InviteActionButton",G.Colors=y.default.Colors,G.Looks=y.default.Looks,G.defaultProps={className:null,isDisabled:!1};var F=function(e){var t=e.children;return L("div",{className:N.default.wrapper},void 0,t)};F.displayName="InviteButton";var B=function(e){var t,n=e.guild,r=a.useState(!1),i=r[0],l=r[1],u=c.default.getGuildSplashURL({id:n.id,splash:n.splash,size:400*(0,p.getDevicePixelRatio)()});return null==u?null:L("div",{className:N.default.inviteSplash},void 0,L("img",{src:u,alt:"",className:(0,o.default)(N.default.inviteSplashImage,(t={},t[N.default.inviteSplashImageLoaded]=i,t)),onLoad:function(){return l(!0)}}))};B.displayName="InviteGuildSplash";var H=function(e){var t=e.guild;return L("div",{className:N.default.guildNameWrapper},void 0,t.hasFeature(b.GuildFeatures.VERIFIED)||t.hasFeature(b.GuildFeatures.PARTNERED)?L(E.default,{guild:t,tooltipPosition:S.default.Positions.TOP,tooltipColor:S.default.Colors.PRIMARY,className:N.default.guildBadge}):null,L("span",{className:N.default.guildName},void 0,t.name))};H.displayName="InviteGuildName";var x=function(e){var t=e.guildTemplate;return L("div",{className:N.default.guildNameWrapper},void 0,L("span",{className:N.default.guildName},void 0,t.serializedSourceGuild.name))};x.displayName="InviteGuildTemplateName",F.Header=D,F.Body=w,F.Icon=function(e){var t,n=e.application,r=e.guild,o=e.guildTemplate,d=e.channel,c=e.onClick,p=e.expired,y=void 0!==p&&p,m=null!==(t=(0,s.default)(d))&&void 0!==t?t:"",_=a.useContext(l.AccessibilityPreferencesContext).reducedMotion,E=(0,i.useStateFromStores)([f.default],(function(){return f.default.gifAutoPlay}));if(y||null==r&&null==d&&null==o)return L("div",{className:N.default.guildIconExpired});var S=null==r||null!=r.icon,O=(0,v.getClass)(N.default,"guildIcon",S?"Image":"",null!=c?"Joined":"");return null!=n?L(h.default,{game:n,onClick:c,size:N.default.applicationIcon,className:O}):null!=r?L(g.default,{onClick:c,active:!0,guild:r,className:O,animate:!_.enabled&&E}):null!=d?L(I.default,{onClick:c,src:(0,u.getChannelIconURL)(d),size:I.default.Sizes.SIZE_80,className:O,"aria-label":m}):null},F.Info=j,F.Data=k,F.Channel=U,F.Button=G,F.GuildSplash=B,F.GuildName=H,F.GuildTemplateName=x;var V=F;t.default=V},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(9)),i=n(687),l=c(n(473)),u=c(n(61)),s=n(1),d=c(n(6)),f=c(n(7702));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(){t.props.disableButton||((0,i.pushLayer)(s.Layers.USER_SETTINGS),l.default.setSection(s.UserSettingsSections.STREAMER_MODE))},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n),r.prototype.render=function(){var e;return v("div",{className:f.default.streamerModeEnabled},void 0,v("div",{className:f.default.streamerModeEnabledImage}),v(u.default,{className:(0,o.default)(f.default.streamerModeEnabledBtn,(e={},e[f.default.disabled]=this.props.disableButton,e)),onClick:this.handleClick},void 0,d.default.Messages.STREAMER_MODE_ENABLED))},r}(a.Component);m.displayName="StreamerModeEnabled",m.defaultProps={disableButton:!1};var _=m;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(2)),a=l(n(8254)),o=l(n(8369)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){u(o,r,a,i,l,"next",e)}function l(e){u(o,r,a,i,l,"throw",e)}i(void 0)}))}}var d={init:function(){r.default.dispatch({type:i.ActionTypes.INTEGRATION_SETTINGS_INIT})},setSection:function(e){r.default.dirtyDispatch({type:i.ActionTypes.INTEGRATION_SETTINGS_SET_SECTION,section:e})},startEditingIntegration:function(e){r.default.dirtyDispatch({type:i.ActionTypes.INTEGRATION_SETTINGS_START_EDITING_INTEGRATION,integrationId:e})},stopEditingIntegration:function(){r.default.dirtyDispatch({type:i.ActionTypes.INTEGRATION_SETTINGS_STOP_EDITING_INTEGRATION})},updateIntegration:function(e){r.default.dispatch({type:i.ActionTypes.INTEGRATION_SETTINGS_UPDATE_INTEGRATION,settings:e})},startEditingWebhook:function(e){r.default.dirtyDispatch({type:i.ActionTypes.INTEGRATION_SETTINGS_START_EDITING_WEBHOOK,webhookId:e})},stopEditingWebhook:function(){r.default.dirtyDispatch({type:i.ActionTypes.INTEGRATION_SETTINGS_STOP_EDITING_WEBHOOK})},updateWebhook:function(e){r.default.dispatch({type:i.ActionTypes.INTEGRATION_SETTINGS_UPDATE_WEBHOOK,settings:e})},saveIntegration:function(e,t){return s(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,r.default.dispatch({type:i.ActionTypes.INTEGRATION_SETTINGS_SUBMITTING}),n.next=4,a.default.updateIntegration(e,t.id,t.expire_behavior,t.expire_grace_period,t.enable_emoticons);case 4:r.default.dispatch({type:i.ActionTypes.INTEGRATION_SETTINGS_SAVE_SUCCESS}),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),r.default.dispatch({type:i.ActionTypes.INTEGRATION_SETTINGS_SAVE_FAILURE,errors:n.t0.body});case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))()},saveWebhook:function(e,t){return s(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,r.default.dispatch({type:i.ActionTypes.INTEGRATION_SETTINGS_SUBMITTING}),n.next=4,o.default.update(e,t.id,t);case 4:r.default.dispatch({type:i.ActionTypes.INTEGRATION_SETTINGS_SAVE_SUCCESS}),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),r.default.dispatch({type:i.ActionTypes.INTEGRATION_SETTINGS_SAVE_FAILURE,errors:n.t0.body});case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))()}};t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(9997)),i=v(n(9151)),l=v(n(8282)),u=v(n(16)),s=v(n(43)),d=n(299),f=v(n(10020)),c=v(n(10021)),p=v(n(7387));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function E(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){h(o,r,a,i,l,"next",e)}function l(e){h(o,r,a,i,l,"throw",e)}i(void 0)}))}}function g(){return S.apply(this,arguments)}function S(){return(S=E(regeneratorRuntime.mark((function e(){var t,n,r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!u.default.isOSX()||!u.default.embedded){e.next=14;break}return e.next=3,null===(n=(r=window.DiscordNative.remoteApp).getDefaultDoubleClickAction)||void 0===n?void 0:n.call(r);case 3:if(e.t1=t=e.sent,e.t0=null!==e.t1,!e.t0){e.next=7;break}e.t0=void 0!==t;case 7:if(!e.t0){e.next=11;break}e.t2=t,e.next=12;break;case 11:e.t2="Maximize";case 12:"Minimize"===(a=e.t2)?s.default.minimize():"Maximize"===a&&s.default.maximize();case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var O=m(c.default,{}),I=m(i.default,{}),T=m(f.default,{}),C=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).renderToolbar=function(){var e=t.props,n=e.isGuest,r=e.toolbar;return null==r||d.isMobile?null:m(a.Fragment,{},void 0,r,t.renderSearch(),O,n?null:I,T)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n);var i=r.prototype;return i.renderSearch=function(){var e=this.props,t=e.guildId,n=e.channelId;return e.hideSearch?null:null!=n?m(o.default,{className:p.default.search},t||n):null},i.renderLoggedOut=function(){var e=this.props,t=e.children,n=e.className,r=e["aria-label"];return m(l.default,{className:n,onDoubleClick:g,"aria-label":r},void 0,t)},i.renderLoggedIn=function(){var e=this.props,t=e.children,n=e.className,r=e.transparent,a=e["aria-label"];return m(l.default,{className:n,toolbar:this.renderToolbar(),transparent:r,onDoubleClick:g,"aria-label":a},void 0,t)},i.render=function(){return this.props.isAuthenticated?this.renderLoggedIn():this.renderLoggedOut()},r}(a.Component);C.displayName="HeaderBarContainer",C.Title=l.default.Title,C.Icon=l.default.Icon,C.Divider=l.default.Divider,C.Caret=l.default.Caret,C.defaultProps={isAuthenticated:!0,transparent:!1};var b=C;t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c,Object.defineProperty(t,"Positions",{enumerable:!0,get:function(){return i.TooltipPositions}});var r,a=d(n(0)),o=u(n(9)),i=d(n(149)),l=u(n(7428));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.children,n=e["aria-label"],r=e.className,u=e.position,s=a.useRef(null),d=null!=n?n:"string"==typeof t&&t;return f(i.default,{position:u||i.default.Positions.TOP,delay:500,text:t,"aria-label":d},void 0,(function(n){var i=n.onMouseEnter,u=n.onMouseLeave;return a.createElement("div",{className:(0,o.default)(r,l.default.overflow),ref:s,"aria-hidden":e["aria-hidden"],onMouseEnter:function(){var e=s.current;null!=e&&e.offsetWidth<e.scrollWidth&&(null==i||i())},onMouseLeave:u},t)}))}c.displayName="OverflowTooltip"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(9)),o=i(n(7397));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(e){var t,n=e.width,r=void 0===n?24:n,i=e.height,l=void 0===i?24:i,s=e.color,d=void 0===s?"currentColor":s,f=e.className,c=e.foreground,p=e.open,v=void 0!==p&&p;return u("svg",{className:(0,a.default)(o.default.arrow,f,(t={},t[o.default.open]=v,t)),width:r,height:l,viewBox:"0 0 24 24"},void 0,u("path",{className:c,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M16.59 8.59004L12 13.17L7.41 8.59004L6 10L12 16L18 10L16.59 8.59004Z"}))}s.displayName="DropdownArrow"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ack=f,t.ackCategory=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!1);var r=i.default.getChannel(e);if(null==r||null==r.guild_id)return;var u=l.default.getCategories(r.guild_id);if(null==u[e])return;var s=u[e].filter((function(e){var t=e.channel;return(0,o.isGuildTextChannelType)(t.type)})).map((function(e){return e.channel.id})),c=[].concat(s);s.forEach((function(e){var t=a.default.getActiveJoinedThreadsForParent(r.guild_id,e);for(var n in t)c.push(n)}));for(var p,v=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(c);!(p=v()).done;){f(p.value,t,n)}},t.bulkAck=function(e){r.default.dispatch({type:u.ActionTypes.BULK_ACK,channels:e,context:u.CURRENT_APP_CONTEXT})},t.localAck=function(e){r.default.dispatch({type:u.ActionTypes.CHANNEL_LOCAL_ACK,channelId:e})},t.enableAutomaticAck=function(e){r.default.dirtyDispatch({type:u.ActionTypes.ENABLE_AUTOMATIC_ACK,channelId:e})},t.disableAutomaticAck=function(e){r.default.dirtyDispatch({type:u.ActionTypes.DISABLE_AUTOMATIC_ACK,channelId:e})};var r=s(n(2)),a=s(n(300)),o=n(31),i=s(n(10)),l=s(n(1252)),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t,n,a,o){void 0===t&&(t=!1),void 0===n&&(n=!1),r.default.dispatch({type:u.ActionTypes.CHANNEL_ACK,channelId:e,messageId:a,immediate:t,force:n,context:u.CURRENT_APP_CONTEXT,location:o})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=F;U(n(0));var r,a=n(389),o=j(n(8257)),i=n(286),l=j(n(8323)),u=j(n(8500)),s=j(n(8258)),d=j(n(8405)),f=U(n(8253)),c=j(n(8430)),p=j(n(9296)),v=j(n(11)),y=n(717),m=j(n(8378)),_=j(n(8379)),h=j(n(8380)),E=j(n(8603)),g=j(n(8340)),S=j(n(8384)),O=j(n(8385)),I=j(n(8607)),T=j(n(8386)),C=j(n(8505)),b=j(n(8343)),M=j(n(8608)),N=j(n(8387)),A=j(n(8324)),P=j(n(8435)),R=j(n(8407)),L=j(n(8388)),D=n(1),w=j(n(6));function j(e){return e&&e.__esModule?e:{default:e}}function k(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return k=function(){return e},e}function U(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=k();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function G(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function F(e){var t=e.user,n=e.guildId,r=e.channelId,j=e.showMediaItems,k=void 0!==j&&j,U=e.showChatItems,F=void 0===U||U,B=e.showChannelCallItems,H=void 0!==B&&B,x=e.showModalItems,V=void 0===x||x,W=e.showStageChannelItems,Y=void 0!==W&&W,z=e.popoutPosition,K=void 0===z?y.PopoutPositions.RIGHT:z,$=e.target,Z=e.analyticsContext,q=e.context,X=e.onSelect,J=(0,A.default)(t.id,n,q),Q=(0,C.default)(t,n,q),ee=(0,b.default)(t.id,q),te=(0,L.default)(t.id),ne=(0,O.default)(t,q),re=(0,h.default)({user:t,guildId:n,channelId:r,target:$,popoutPosition:K,context:q}),ae=(0,_.default)(t),oe=(0,R.default)(t.id),ie=(0,N.default)(t.id),le=(0,d.default)(n,t.id,{page:D.AnalyticsPages.GUILD_CHANNEL,section:D.AnalyticsSections.CHAT_USERNAME,object:D.AnalyticsObjects.CONTEXT_MENU_ITEM},q),ue=(0,T.default)(t,n),se=(0,l.default)(null,t),de=(0,m.default)(t),fe=(0,S.default)(t),ce=(0,E.default)(t,n,r),pe=(0,P.default)(t.id,n),ve=(0,M.default)(t,n),ye=(0,s.default)(t.id),me=(0,I.default)(t.id,r),_e=(0,u.default)(r),he=(0,c.default)(t,q),Ee=(0,p.default)(t,n,r,q),ge=(0,g.default)(i.ApplicationCommandTarget.USER,r,n);return v.default.isGuest()||t.isNonUserBot()?null:G(o.default,{context:Z,object:D.AnalyticsObjects.CONTEXT_MENU},void 0,G(f.default,{navId:"user-context",onClose:a.closeContextMenu,"aria-label":w.default.Messages.USER_ACTIONS_MENU_LABEL,onSelect:X},void 0,G(f.MenuGroup,{},void 0,he,Y&&Ee),G(f.MenuGroup,{},void 0,V&&J,F&&Q,ee,ne,V&&re,V&&ae,te),k&&G(f.MenuGroup,{},void 0,oe),G(f.MenuGroup,{},void 0,V&&se),G(f.MenuGroup,{},void 0,k&&ie,k&&me,V&&le,ge,V&&ue,de,V&&fe),G(f.MenuGroup,{},void 0,ce),G(f.MenuGroup,{},void 0,pe,ve),H&&G(f.MenuGroup,{},void 0,_e),G(f.MenuGroup,{},void 0,ye)))}F.displayName="GuildChannelUserContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,a.useStateFromStores)([I.default],(function(){return I.default.getActivities()})),r=(0,a.useStateFromStores)([g.default],(function(){return null!=t?g.default.getActivities(t.id,null==e?void 0:e.getGuildId()):[]}),[t,e]),w=(0,a.useStateFromStores)([E.default],(function(){return null==e||e.isPrivate()||E.default.can(L.Permissions.SEND_MESSAGES,e)}),[e]),j=(0,a.useStateFromStoresArray)([C.default],(function(){return r.map((function(e){return null!=e.application_id&&C.default.getState(e.application_id,L.ActivityActionTypes.JOIN)===L.ActivityActionStates.LOADING}))}),[r]),F=(0,a.useStateFromStoresArray)([m.default,h.default,_.default,S.default,O.default,T.default,E.default],(function(){return r.map((function(e){return(0,N.default)(t,e,m.default,h.default,_.default,S.default,O.default,T.default,E.default)}))}),[t,r]),B=(0,a.useStateFromStoresArray)([s.default,y.default],(function(){return r.map((function(e){return e.type===L.ActivityTypes.LISTENING&&null!=t?(0,c.default)(s.default,y.default,t,e):void 0}))}),[t,r]);if(!w)return null;var H=function(n,r){null!=e?o.default.sendActivityInvite({type:n,channelId:e.id,activity:r,location:L.AnalyticsLocations.CONTEXT_MENU}):null!=t&&o.default.sendActivityInviteUser({type:n,userId:t.id,activity:r,location:L.AnalyticsLocations.CONTEXT_MENU})},x=function(){var e,n=(e=regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.default.join(t.id,n.session_id,n.application_id,O.default.getVoiceChannelId(),null,R.ActivityIntent.PLAY,(0,A.default)(n,L.ActivityFlags.EMBEDDED));case 2:(0,P.default)(L.AnalyticsGameOpenTypes.JOIN,L.AnalyticsLocations.CONTEXT_MENU,t.id,n);case 3:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){U(o,r,a,i,l,"next",e)}function l(e){U(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(e){return n.apply(this,arguments)}}(),V=[];n.forEach((function(e,t){e.type===L.ActivityTypes.PLAYING&&(0,A.default)(e,L.ActivityFlags.JOIN)?V.push(k(l.MenuItem,{id:"invite-to-join",label:D.default.Messages.USER_ACTIVITY_ACTION_INVITE_TO_JOIN,subtext:e.name,action:function(){return H(L.ActivityActionTypes.JOIN,e)}},"self"+t)):e.type===L.ActivityTypes.LISTENING&&(0,A.default)(e,L.ActivityFlags.SYNC)&&V.push(k(l.MenuItem,{id:"invite-to-listen",label:D.default.Messages.USER_ACTIVITY_ACTION_INVITE_TO_LISTEN_ALONG,subtext:e.name,action:function(){return H(L.ActivityActionTypes.LISTEN,e)}},"self"+t))})),V.length>0&&V.push(G);return r.forEach((function(n,r){if(n.type===L.ActivityTypes.PLAYING&&(0,A.default)(n,L.ActivityFlags.JOIN)&&null!=n.session_id&&null!=n.application_id)if(F[r]){var a=j[r];V.push(k(l.MenuItem,{id:"join",label:a?D.default.Messages.USER_ACTIVITY_JOINING:D.default.Messages.JOIN,disabled:a,hint:a?k(b.default,{type:b.default.Type.PULSING_ELLIPSIS}):null,subtext:n.name,action:function(){return x(n)}},r))}else V.push(k(l.MenuItem,{id:"ask-to-join",label:D.default.Messages.USER_ACTIVITY_ACTION_ASK_TO_JOIN,subtext:n.name,action:function(){return H(L.ActivityActionTypes.JOIN_REQUEST,n)}},r));else if(n.type===L.ActivityTypes.LISTENING&&(0,A.default)(n,L.ActivityFlags.SYNC)&&null!=B[r]){var o=B[r],i=o.notPlayable,s=o.playingSameTrack,c=o.isCurrentUser,y=o.syncingWithUser,m=o.syncingWithParty,_=c||i||s,h=c||y||m;V.push(k(l.MenuItem,{id:"spotify-play-"+n.session_id,action:function(){return(0,v.default)(o,u.SpotifyActionTypes.USER_ACTIVITY_PLAY)},label:(0,d.default)(o,u.SpotifyActionTypes.USER_ACTIVITY_PLAY),subtext:_?(0,f.default)(o,u.SpotifyActionTypes.USER_ACTIVITY_PLAY,null!=e?M.default.getNickname(e.guild_id,e.id,t):void 0):void 0,disabled:_},"spotify-play-"+n.session_id),k(l.MenuItem,{id:"spotify-sync-"+n.session_id,action:function(){return(0,p.default)(o,u.SpotifyActionTypes.USER_ACTIVITY_SYNC)},label:D.default.Messages.USER_ACTIVITY_LISTEN_ALONG,subtext:h?(0,f.default)(o,u.SpotifyActionTypes.USER_ACTIVITY_SYNC,null!=e?M.default.getNickname(e.guild_id,e.id,t):void 0):void 0,disabled:h},"spotify-sync-"+n.session_id))}})),V};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=j();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=w(n(1234)),i=w(n(478)),l=n(8253),u=n(293),s=w(n(708)),d=w(n(8817)),f=w(n(8727)),c=w(n(8728)),p=w(n(8729)),v=w(n(8730)),y=w(n(11)),m=w(n(10)),_=w(n(684)),h=w(n(15)),E=w(n(40)),g=w(n(256)),S=w(n(70)),O=w(n(36)),I=w(n(479)),T=w(n(80)),C=w(n(8429)),b=w(n(151)),M=w(n(258)),N=w(n(8597)),A=w(n(399)),P=w(n(8499)),R=n(156),L=n(1),D=w(n(6));function w(e){return e&&e.__esModule?e:{default:e}}function j(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return j=function(){return e},e}function k(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function U(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}var G=k(l.MenuSeparator,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(8309)),o=n(8253),i=n(8310),l=n(1),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t,n){return n===l.AppContext.POPOUT?null:f(o.MenuItem,{id:"user-profile",label:u.default.Messages.PROFILE,action:function(){(0,i.openUserProfileModal)({userId:e,guildId:t||void 0}),a.default.close()}})}c.displayName="useUserProfileItem"},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findPointInBlockNode=function(e,t,n,r){void 0===n&&(n=!1);void 0===r&&(r=!1);var a=v(e,t,n,r);if(null==a)throw p.error(JSON.stringify({block:e.toJSON(),index:t,includePath:n})),new Error("Slate: Unable to find point in text node v2");return a},t.selectionToLineChar=function(e,t){if(!t.isCollapsed)return null;var n=e.getClosestBlock(t.start.key);if(null==n)return null;var r=e.nodes.indexOf(n);if(-1===r)return null;var a=y(n,t.start);return{line:r,character:a}},t.getOffsetOnLine=y,t.iterateNodes=function e(t,n){if(n(t),"text"!==t.object&&null!=t.nodes)for(var r,a=d(t.nodes);!(r=a()).done;){var o=r.value;e(o,n)}},t.restoringExactSelection=function(e,t){var n=m(e.value.document,e.value.selection.anchor),r=m(e.value.document,e.value.selection.focus);if(t(),null!=n&&null!=r){var o=_(e.value.document,n),i=_(e.value.document,r);null!=o&&null!=i&&e.select(a.Range.create({anchor:o,focus:i}))}},t.pointToLineChar=m,t.lineCharToPoint=_,t.serializeToVisualText=function e(t){return"document"===t.object||"block"===t.object&&a.Block.isBlockList(t.nodes)?t.nodes.map(e).join("\n"):t.text},t.catchAndLogExceptions=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];try{return e.apply(void 0,n)}catch(e){return p.error("Caught error during slate event handler, will ignore and continue\n",e),c.captureException(e),n[n.length-1]()}}},t.areStylesDisabledInEditor=function(e){if(1!==e.value.document.nodes.size)return!1;var t=e.value.document.nodes.first();if("block"!==t.object)return!1;var n=t.text;if(n.startsWith("/")){var r=!1;if(o.default.trackExposure({}),o.default.subscribe({},(function(e){r=e.allowSlashCommands}))(),!r)return!0}return n.startsWith("s/")||n.startsWith("+")},t.insertText=function(e,t,n){e.ensureSelection();var r=e.value,o=r.document,i=r.selection;i.isCollapsed||e.delete();var l=o.getClosestBlock(i.start.key),u=null==l?0:o.nodes.indexOf(l),s=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n").split("\n");e.insertText(s[0]),s.length>1&&e.splitBlock().insertText(s[s.length-1]);for(var d=1;d<=s.length-2;d++){var f=a.Block.create({type:n,nodes:[a.Text.create({text:s[d]})]});e.insertNodeByKey(o.key,u+d,f)}},t.prependText=function(e,t){e.ensureSelection();var n=e.value.document.getFirstText();null!=n&&e.insertTextByKey(n.key,0,t)};var r=s(n(23)),a=n(8315),o=s(n(8617)),i=s(n(26)),l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(8350));function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=n(164).default,p=new i.default("SlateUtils");function v(e,t,n,a){if(void 0===n&&(n=!1),void 0===a&&(a=!1),"text"===e.object)return t>e.text.length?null:{key:e.key,offset:t};for(var o,i=t,u=e.nodes.size,s=0,f=d(e.nodes);!(o=f()).done;){var c=o.value,p=1===++s,v=s===u;(0,r.default)("text"===c.object||"inline"===c.object,"Slate: invalid object type %s-%s",c.object,c.type);var y=c.text;if("inline"===c.object&&(l.isOptionNode(c)?(0,r.default)(y.length>0,"Slate: command inline objects must have at least one character"):(0,r.default)(1===y.length,"Slate: non-command inline objects must have one character %s - %s",c.type,y)),i<=y.length){if("inline"!==c.object||a||v){if("inline"===c.object&&a&&!p){if(i===y.length){i=0;continue}var m=e.nodes.get(s-2),_={key:m.key,offset:m.text.length};return n&&(_.path=e.getPath(m.key)||void 0),_}var h={key:c.key,offset:i};return n&&(h.path=e.getPath(c.key)||void 0),h}i=0}else i-=y.length}return null}function y(e,t){for(var n,r=0,a=d(e.nodes);!(n=a()).done;){var o=n.value;if(o.key===t.key){r+=t.offset;break}r+=o.text.length}return r}function m(e,t){var n=e.getClosestBlock(t.key);if(null==n)return null;var a=function(e,t){return(0,r.default)("text"!==e.object&&"inline"!==e.object,"Slate: block may not be a text node"),e.nodes.indexOf(t)}(e,n);if(-1===a)return null;for(var o,i=0,l=d(n.nodes);!(o=l()).done;){var u=o.value;if(u.key===t.key){i+=t.offset;break}i+=u.text.length}return{line:a,character:i}}function _(e,t){var n=e.nodes.get(t.line);return(0,r.default)("block"===n.object,"Slate: The document should only contain block nodes"),v(n,t.character)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=d(n(397)),o=d(n(8422)),i=d(n(8549)),l=n(41),u=d(n(8589)),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(){return(p=Object.assign||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}).apply(this,arguments)}var v=[{name:s.default.Messages.IMAGES,extensions:["jpg","jpeg","png","gif"]}];function y(e,t){if(null!=e){var n=new FileReader;n.onload=function(n){var r;"string"==typeof(null===(r=n.target)||void 0===r?void 0:r.result)&&t(n.target.result,e.name)},n.readAsDataURL(e)}}function m(e,t,n){"image/gif"!==e.type?y(e,(function(e,u){var d=new Image;d.src=e,d.onload=function(){(0,l.openModal)((function(e){return r.createElement(i.default,p({},e,{imgURI:d.src,onCrop:t,filename:u,uploadType:n}))}))},d.onerror=function(){a.default.push(o.default,{title:s.default.Messages.PREMIUM_ALERT_ERROR_TITLE,help:s.default.Messages.UNABLE_TO_PROCESS_IMAGE})}})):y(e,(function(e,n){return t(e,n,!0)}))}var _=function(e){var t,n;function a(){for(var t,n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return(t=e.call.apply(e,[this].concat(a))||this)._ref=r.createRef(),t._isMounted=!1,t.handleFileChange=function(e){var n=t.props,r=n.showEditingModal,a=n.uploadType,o=n.onFileSizeError,i=n.maxFileSizeBytes;if(e.stopPropagation(),e.preventDefault(),null!=e.currentTarget.files)for(var l=0;l<e.currentTarget.files.length;l++){var u=e.currentTarget.files[l];u.size>i?null==o||o():r?m(u,t.handleFileRead,a):y(u,t.handleFileRead)}},t.handleFileRead=function(e,n,r){var a=t.props.onChange;t._isMounted&&a(e,n,r)},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var o=a.prototype;return o.componentDidMount=function(){this._isMounted=!0},o.activateUploadDialogue=function(){var e;null===(e=this._ref.current)||void 0===e||e.activateUploadDialogue()},o.render=function(){var e=this.props,t=e.multiple,n=e.disabled,a=e.className,o=e.tabIndex,i=e["aria-label"];return r.createElement(u.default,{ref:this._ref,onChange:this.handleFileChange,filters:v,multiple:t,disabled:n,className:a,tabIndex:o,"aria-label":i})},a}(r.PureComponent);_.displayName="ImageInput",_.defaultProps={multiple:!0,showEditingModal:!1,tabIndex:-1,maxFileSizeBytes:1/0};var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getChannelIconTooltipText=function(e,t,n,r){if(null==e)return null;if(e.id===(null==t?void 0:t.rulesChannelId))return A.default.Messages.CHANNEL_TOOLTIP_RULES;switch(e.type){case N.ChannelTypes.GUILD_TEXT:return r?A.default.Messages.CHANNEL_TOOLTIP_TEXT_ACTIVE_THREADS:e.isNSFW()?A.default.Messages.CHANNEL_TOOLTIP_TEXT_NSFW:(0,M.default)(e)?A.default.Messages.CHANNEL_TOOLTIP_TEXT_LIMITED:A.default.Messages.CHANNEL_TOOLTIP_TEXT;case N.ChannelTypes.GUILD_STAGE_VOICE:return n?A.default.Messages.CHANNEL_TOOLTIP_STAGE_LOCKED:(0,M.default)(e)?A.default.Messages.CHANNEL_TOOLTIP_STAGE_LIMITED:A.default.Messages.CHANNEL_TOOLTIP_STAGE;case N.ChannelTypes.GUILD_VOICE:return n?A.default.Messages.CHANNEL_TOOLTIP_VOICE_LOCKED:(0,M.default)(e)?A.default.Messages.CHANNEL_TOOLTIP_VOICE_LIMITED:A.default.Messages.CHANNEL_TOOLTIP_VOICE;case N.ChannelTypes.GUILD_ANNOUNCEMENT:return e.isNSFW()?A.default.Messages.CHANNEL_TOOLTIP_ANNOUNCEMENTS_NSFW:(0,M.default)(e)?A.default.Messages.CHANNEL_TOOLTIP_ANNOUNCEMENTS_LIMITED:A.default.Messages.CHANNEL_TOOLTIP_ANNOUNCEMENTS;case N.ChannelTypes.GUILD_STORE:return A.default.Messages.CHANNEL_TOOLTIP_STORE;default:return null}},t.getChannelIconComponent=function(e,t,n){var A;void 0===n&&(n={});var P=n,R=P.locked,L=void 0!==R&&R,D=P.video,w=void 0!==D&&D,j=P.stream,k=void 0!==j&&j,U=P.hasActiveThreads,G=void 0!==U&&U;if(null==e)return null;null==t&&(t=r.default.getGuild(e.getGuildId()));if((null==e?void 0:e.id)===(null===(A=t)||void 0===A?void 0:A.rulesChannelId))return u.default;switch(e.type){case N.ChannelTypes.GUILD_ANNOUNCEMENT:return G?e.isNSFW()?m.default:(0,M.default)(e)?h.default:a.default:e.isNSFW()?y.default:(0,M.default)(e)?v.default:p.default;case N.ChannelTypes.GUILD_STORE:return T.default;case N.ChannelTypes.DM:case N.ChannelTypes.GROUP_DM:return o.default;case N.ChannelTypes.PRIVATE_THREAD:return E.default;case N.ChannelTypes.ANNOUNCEMENT_THREAD:case N.ChannelTypes.PUBLIC_THREAD:return e.isNSFW()?_.default:b.default;case N.ChannelTypes.GUILD_TEXT:return G?e.isNSFW()?_.default:(0,M.default)(e)?E.default:b.default:e.isNSFW()?f.default:(0,M.default)(e)?d.default:s.default;case N.ChannelTypes.GUILD_STAGE_VOICE:return L?c.default:(0,M.default)(e)?I.default:O.default;case N.ChannelTypes.GUILD_VOICE:return L?c.default:k?C.default:(0,M.default)(e)?w?l.default:S.default:w?i.default:g.default;case N.ChannelTypes.GUILD_CATEGORY:default:return null}};var r=P(n(15)),a=P(n(9394)),o=P(n(8509)),i=P(n(8313)),l=P(n(9395)),u=P(n(8843)),s=P(n(8307)),d=P(n(8374)),f=P(n(8490)),c=P(n(1221)),p=P(n(8345)),v=P(n(8844)),y=P(n(8845)),m=P(n(9396)),_=P(n(8846)),h=P(n(9397)),E=P(n(8740)),g=P(n(8276)),S=P(n(8510)),O=P(n(291)),I=P(n(9398)),T=P(n(8620)),C=P(n(5955)),b=P(n(8287)),M=P(n(8489)),N=n(1),A=P(n(6));function P(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=y(n(8330)),l=y(n(9126)),u=n(8253),s=n(8256),d=n(31),f=y(n(40)),c=n(41),p=n(1),v=y(n(6));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(){return(h=Object.assign||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}).apply(this,arguments)}function E(e){return(0,o.useStateFromStores)([f.default],(function(){return!f.default.can(e.isThread()?p.Permissions.MANAGE_THREADS:p.Permissions.MANAGE_CHANNELS,e)||(0,d.isGuildSelectableChannelType)(e.type)&&!f.default.can(p.Permissions.VIEW_CHANNEL,e)||e.type===p.ChannelTypes.GUILD_VOICE&&!f.default.can(p.Permissions.CONNECT,e)}),[e])?null:_(u.MenuItem,{id:"delete-channel",label:e.type===p.ChannelTypes.GUILD_CATEGORY?v.default.Messages.DELETE_CATEGORY:e.isThread()?v.default.Messages.DELETE_THREAD:v.default.Messages.DELETE_CHANNEL,color:s.MenuItemColor.DANGER,action:function(){return(0,c.openModal)((function(t){return a.createElement(l.default,h({},t,{onConfirm:function(){t.onClose(),i.default.deleteChannel(e.id)},channel:e}))}))}})}E.displayName="useChannelDeleteItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=d,t.open=f,t.close=c,t.setSection=p,t.selectPermissionOverwrite=v,t.updateChannel=y,t.saveChannel=m,t.deleteChannel=_,t.default=void 0;var r=s(n(14)),a=s(n(2)),o=s(n(727)),i=s(n(10)),l=n(687),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(e){a.default.dispatch({type:u.ActionTypes.CHANNEL_SETTINGS_INIT,channelId:e})}function f(e){d(e),(0,l.pushLayer)(u.Layers.CHANNEL_SETTINGS)}function c(){a.default.dispatch({type:u.ActionTypes.CHANNEL_SETTINGS_CLOSE})}function p(e){a.default.dispatch({type:u.ActionTypes.CHANNEL_SETTINGS_SET_SECTION,section:e})}function v(e){a.default.dispatch({type:u.ActionTypes.CHANNEL_SETTINGS_OVERWRITE_SELECT,overwriteId:e})}function y(e){var t=e.name,n=e.type,r=e.topic,o=e.bitrate,i=e.userLimit,l=e.nsfw,s=e.rateLimitPerUser,d=e.defaultAutoArchiveDuration,f=e.rtcRegion,c=e.videoQualityMode,p=e.autoArchiveDuration;a.default.dispatch({type:u.ActionTypes.CHANNEL_SETTINGS_UPDATE,name:t,channelType:n,topic:r,bitrate:o,userLimit:i,nsfw:l,rateLimitPerUser:s,defaultAutoArchiveDuration:d,rtcRegion:f,videoQualityMode:c,autoArchiveDuration:p})}function m(e,t){var n,l=t.name,s=t.type,d=t.position,f=t.topic,c=t.bitrate,p=t.userLimit,v=t.nsfw,y=t.permissionOverwrites,m=t.rateLimitPerUser,_=t.defaultAutoArchiveDuration,h=t.rtcRegion,E=t.videoQualityMode,g=t.autoArchiveDuration,S=null===(n=i.default.getChannel(e))||void 0===n?void 0:n.getGuildId();return a.default.dispatch({type:u.ActionTypes.CHANNEL_SETTINGS_SUBMIT}),r.default.patch({url:u.Endpoints.CHANNEL(e),body:{name:l,type:s,position:d,topic:f,bitrate:c,user_limit:p,nsfw:v,permission_overwrites:y,rate_limit_per_user:m,default_auto_archive_duration:_,rtc_region:h,video_quality_mode:E,auto_archive_duration:g},oldFormErrors:!0}).then((function(t){return a.default.dispatch({type:u.ActionTypes.CHANNEL_SETTINGS_SUBMIT_SUCCESS,channelId:e}),null!=S&&o.default.checkGuildTemplateDirty(S),t}),(function(e){return a.default.dispatch({type:u.ActionTypes.CHANNEL_SETTINGS_SUBMIT_FAILURE,errors:e.body}),e}))}function _(e){var t,n=null===(t=i.default.getChannel(e))||void 0===t?void 0:t.getGuildId();r.default.delete({url:u.Endpoints.CHANNEL(e),oldFormErrors:!0}).then((function(){null!=n&&o.default.checkGuildTemplateDirty(n),c()}))}var h={init:d,open:f,close:c,setSection:p,selectPermissionOverwrite:v,updateChannel:y,saveChannel:m,deleteChannel:_};t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fill:d,className:f,fillRule:"evenodd",clipRule:"evenodd",d:"M7 12.001C7 10.8964 6.10457 10.001 5 10.001C3.89543 10.001 3 10.8964 3 12.001C3 13.1055 3.89543 14.001 5 14.001C6.10457 14.001 7 13.1055 7 12.001ZM14 12.001C14 10.8964 13.1046 10.001 12 10.001C10.8954 10.001 10 10.8964 10 12.001C10 13.1055 10.8954 14.001 12 14.001C13.1046 14.001 14 13.1055 14 12.001ZM19 10.001C20.1046 10.001 21 10.8964 21 12.001C21 13.1055 20.1046 14.001 19 14.001C17.8954 14.001 17 13.1055 17 12.001C17 10.8964 17.8954 10.001 19 10.001Z"}))}d.displayName="OverflowMenuHorizontal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sizes=t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(5943),i=(r=n(279))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n){return e.getAvatarURL(n,t)}var d=a.memo((function(e){var t=e.user,n=e.size,r=void 0===n?i.default.Sizes.SIZE_32:n,l=e.animate,d=void 0!==l&&l,f=e["aria-hidden"],c=void 0!==f&&f,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["user","size","animate","aria-hidden"]),v=a.useContext(o.GuildIDContext);return a.createElement(i.default,u({src:s(t,d,v),size:r,"aria-label":c?void 0:t.username,"aria-hidden":c},p))}));t.default=d;var f=i.default.Sizes;t.Sizes=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(8325)),a=s(n(3)),o=s(n(2)),i=s(n(1216)),l=s(n(201)),u=s(n(39));n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(){return(f=Object.assign||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}).apply(this,arguments)}var c={};function p(e){var t=e.channelId;if(null==t||null==c[t])return!1;delete c[t]}var v=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var a=r.prototype;return a.isEditing=function(e,t){var n;return(null===(n=c[e])||void 0===n?void 0:n.messageId)===t},a.isEditingAny=function(e){return null!=c[e]},a.getEditingTextValue=function(e){var t;return null===(t=c[e])||void 0===t?void 0:t.textValue},a.getEditingRichValue=function(e){var t;return null===(t=c[e])||void 0===t?void 0:t.richValue},a.getEditingMessageId=function(e){var t;return null===(t=c[e])||void 0===t?void 0:t.messageId},a.getEditingMessage=function(e){var t=c[e];return null!=t&&null!=t.messageId?l.default.getMessage(e,t.messageId):null},r}(a.default.Store))(o.default,{MESSAGE_START_EDIT:function(e){var t=e.channelId,n=e.messageId,a=e.content,o=!u.default.useRichChatTextBox;c[t]={channelId:t,messageId:n,textValue:i.default.unparse(a,t),richValue:r.default.deserialize(o?i.default.unparse(a,t):a)}},MESSAGE_UPDATE_EDIT:function(e){var t=e.channelId,n=e.textValue,r=e.richValue,a=c[t];if(null==a)return!1;c[t]=f({},a,{textValue:n,richValue:r})},MESSAGE_END_EDIT:p,CHANNEL_SELECT:p});t.default=v},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.IMAGE_GIF_RE=void 0;var r,a,o=c(n(0)),i=n(5965),l=n(193),u=n(1239),s=(r=n(8722))&&r.__esModule?r:{default:r},d=c(n(9281));function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=/\.gif($|\?|#)/i;t.IMAGE_GIF_RE=m;var _=p(s.default,{}),h=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).state={readyState:d.ImageReadyStates.LOADING,hasMouseOver:!1},n._cancellers=new Set,n.observeVisibility=function(){r.visibilityObserver.observe(v(n))},n.unobserveVisibility=function(){r.visibilityObserver.unobserve(v(n))},n.handleImageLoad=function(e){return n.setState({readyState:e?d.ImageReadyStates.ERROR:d.ImageReadyStates.READY})},n.preloadImage=function(e,t){var r=e.width,a=e.height,o=n.props,i=o.width,l=o.height;1===i&&1===l||n.loadImage(n.getSrc((0,u.getRatio)(i,l,r,a)),t)},n.onMouseEnter=function(e){r.isAnimated(n.props)&&n.setState({hasMouseOver:!0});var t=n.props.onMouseEnter;null!=t&&t(e,{preloadImage:n.preloadImage})},n.onMouseLeave=function(){return n.setState({hasMouseOver:!1})},n.onClick=function(e){var t=n.props,r=t.onZoom,a=t.onClick;null!=a?a(e):null!=r&&(e.preventDefault(),r(e,{placeholder:n.getSrc(n.getRatio())}))},n.renderAccessory=function(){var e=n.state.hasMouseOver,t=null!=n.props.renderAccessory?n.props.renderAccessory():null;return e?t:_},(0,l.isImageLoaded)(n.getSrc(n.getRatio(),r.isAnimated(n.props)))&&(n.state.readyState=d.ImageReadyStates.READY),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n),r.isAnimated=function(e){var t=e.src,n=e.original;return e.animated||m.test(n||t)};var a=r.prototype;return a.componentDidMount=function(){this.state.readyState===d.ImageReadyStates.LOADING&&this.loadImage(this.getSrc(this.getRatio(),r.isAnimated(this.props)),this.handleImageLoad),r.isAnimated(this.props)&&this.observeVisibility()},a.componentDidUpdate=function(e){var t=r.isAnimated(this.props);r.isAnimated(e)!==t&&(t?this.observeVisibility():this.unobserveVisibility())},a.componentWillUnmount=function(){r.isAnimated(this.props)&&this.unobserveVisibility(),this._cancellers.forEach((function(e){return e()})),this._cancellers.clear()},a.getSrc=function(e,t){void 0===t&&(t=!1);var n=this.props,r=n.src,a=n.width,o=n.height;return(0,l.getImageSrc)(r,a,o,e,t?"png":null)},a.getWidth=function(){var e=this.props,t=e.width,n=e.minWidth;return Math.max(Math.round(t*this.getRatio()),n)},a.getHeight=function(){var e=this.props,t=e.height,n=e.minHeight;return Math.max(Math.round(t*this.getRatio()),n)},a.getRatio=function(){var e=this.props,t=e.width,n=e.height,r=e.maxWidth,a=void 0===r?400:r,o=e.maxHeight,i=void 0===o?300:o;return(0,u.getRatio)(t,n,a,i)},a.loadImage=function(e,t){var n=this,r=this.props,a=r.width,o=r.height;if(1!==a||1!==o){var i=(0,l.loadImage)(e,(function(e,r){null!=i&&n._cancellers.delete(i),t&&t(e,r)}));null!=i&&this._cancellers.add(i)}},a.render=function(){var e=this.props,t=e.alt,n=e.placeholder,a=e.onZoom,i=e.shouldLink,l=e.onContextMenu,u=e.autoPlay,s=e.original,f=e.className,c=e.imageClassName,p=e.children,v=e.animated,y=e.shouldAnimate,m=e.minWidth,_=e.minHeight,h=e.renderItem,E=e.onClick,g=e.renderAccessory,S=e.tabIndex,O=this.state,I=O.readyState,T=O.hasMouseOver,C=!!a,b={alt:null!=t?t:"",readyState:I,onContextMenu:l,zoomable:C,className:f,imageClassName:c,minWidth:m,minHeight:_,tabIndex:S,width:this.getWidth(),height:this.getHeight(),renderItem:h,src:"",children:null!=p?function(e){var t=e.src,n=e.size,r=e.alt;return p({src:t,size:n,alt:r})}:void 0,onMouseEnter:this.onMouseEnter};if(1===b.width&&1===b.height)return null;switch((C||null!=E)&&(b.onClick=this.onClick),i&&(b.original=s||b.src),I){case d.ImageReadyStates.LOADING:null!=n&&(b.src=n);break;case d.ImageReadyStates.READY:if(r.isAnimated(this.props)){b.onMouseLeave=this.onMouseLeave;var M=(u||T)&&(null==y||y)&&r.visibilityObserver.isVisible(this);M?(b.src=this.getSrc(this.getRatio()),b.renderAccessory=g):(b.src=this.getSrc(this.getRatio(),!v),b.renderAccessory=this.renderAccessory),null!=p&&(b.children=function(e){var t=e.src,n=e.size,r=e.alt;return p({src:t,size:n,animating:M,alt:r})})}else b.src=this.getSrc(this.getRatio())}return o.createElement(d.default,b)},r}(o.Component);t.default=h,h.displayName="LazyImage",h.visibilityObserver=new i.VisibilityObserver({threshold:.7}),h.defaultProps={shouldLink:!1,autoPlay:!1,animated:!1,minWidth:0,minHeight:0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(9)),i=y(n(23)),l=y(n(88)),u=n(8549),s=y(n(271)),d=n(139),f=y(n(8327)),c=n(1),p=y(n(6)),v=y(n(7448));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).inputRef=a.createRef(),t.handleRemove=function(){t.props.onChange(null)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,E(t,n);var u=r.prototype;return u.handleExternalFileChange=function(e){(0,i.default)(null!=this.inputRef.current,"ImageInputRef asked to handleExternalFileChange when not mounted"),this.inputRef.current.handleFileChange(e)},u.render=function(){var e,t,n,r,i=this.props,u=i.avatar,y=i.hint,m=void 0===y?p.default.Messages.CHANGE_AVATAR:y,E=i.name,g=i.makeURL,S=i.disabled,O=i.onChange,I=i.showIcon,T=i.className,C=i.avatarClassName,b=i.hideSize,M=i.avatarStyle,N=i.showRemoveButton,A=i.showEditingModal,P=i.uploadType,R=i.maxFileSizeBytes,L=i.onFileSizeError;return(e=null!=u&&/^data:/.test(u)?u:g(u))?t='url("'+e+'")':n=h("div",{className:v.default.avatarUploaderAcronym},void 0,(0,d.getAcronym)(E)),S?h("div",{className:(0,o.default)(v.default.avatarUploader,v.default.disabled,T)},void 0,h("div",{className:(0,o.default)(v.default.avatarUploaderInner,C),style:_({},M,{backgroundImage:t})},void 0,n)):(null!=u?r=h(s.default,{className:v.default.removeButton,onClick:this.handleRemove},void 0,p.default.Messages.REMOVE):b||(r=h("small",{className:v.default.sizeInfo},void 0,p.default.Messages.MINIMUM_SIZE.format({size:c.AVATAR_SIZE}))),h("div",{className:(0,o.default)(v.default.avatarUploader,T)},void 0,h(l.default,{within:!0},void 0,h("div",{className:(0,o.default)(v.default.avatarUploaderInner,C),style:_({},M,{backgroundImage:t})},void 0,h("span",{"aria-hidden":!0},void 0,n),m&&h("div",{className:v.default.avatarUploaderHint},void 0,m),a.createElement(f.default,{ref:this.inputRef,onChange:O,className:v.default.fileInput,"aria-label":null!=m?m:p.default.Messages.CHANGE_AVATAR,showEditingModal:A,uploadType:P,tabIndex:0,maxFileSizeBytes:R,onFileSizeError:L}),I&&h("div",{className:v.default.avatarUploaderIndicator}))),N?r:null))},r}(a.PureComponent);g.displayName="AvatarUploader",g.defaultProps={name:"",makeURL:function(e){return e},disabled:!1,showIcon:!1,hideSize:!1,showRemoveButton:!0,showEditingModal:!0,uploadType:u.UploadTypes.AVATAR,maxFileSizeBytes:1/0};var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=l(n(9)),o=l(n(29)),i=l(n(7351));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}function d(e){var t=e.className,n=e.size,l=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["className","size"]);return r.createElement(o.default,s({className:(0,a.default)(i.default.button,t),size:(0,a.default)(i.default.buttonSize,n)},l))}d.displayName="ActivityButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=M(n(0)),o=C(n(8)),i=n(3),l=C(n(9360)),u=M(n(8311)),s=n(8290),d=C(n(8383)),f=C(n(8341)),c=n(8504),p=n(8260),v=n(8279),y=n(8829),m=n(8342),_=C(n(9367)),h=n(8253),E=C(n(10)),g=C(n(15)),S=C(n(12)),O=n(1),I=C(n(6)),T=C(n(7479));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var A=o.default.debounce((function(e,t,n,r){u.getApplicationDiscoveryCommands(e,t,n,!1,r)}),100,{maxWait:100}),P=N(_.default,{}),R=function(e,t,n){var r=(0,i.useStateFromStoresObject)([E.default,g.default],(function(){var e=E.default.getChannel(t);return{channel:e,guild:g.default.getGuild(null!=n?n:null==e?void 0:e.guild_id)}})),o=r.channel,_=r.guild;a.useEffect((function(){return function(){return u.clearGuildDiscoveryCommands()}}),[]),a.useEffect((function(){if(null!=(null==_?void 0:_.id))u.queryGuildApplications(null==_?void 0:_.id,15,e);else if((null==o?void 0:o.type)===O.ChannelTypes.DM){var t=S.default.getUser(o.getRecipientId());!0===(null==t?void 0:t.bot)&&null==d.default.getCommands(t.id,e)&&u.queryDmApplicationCommands(t.id,e)}}),[o,e,_]);var C=a.useCallback((function(t,n){void 0===n&&(n=s.DISCOVERY_COMMANDS_QUERY_LIMIT),(null==_?void 0:_.id)&&A(null==_?void 0:_.id,t,n,e)}),[_,e]),b=(0,y.useApplicationCommandsDiscoveryState)({channel:o,guild:_},1,e),M=b.discoveryCommands,R=b.hasMoreAfter,L=b.guildCommands,D=a.useCallback((function(e){null!=L&&!L.loadingMore&&R&&e+500>34*M.length-40&&C(L.bottomOffset)}),[M.length,R,L,C]),w=a.useCallback((function(e){if(e.type===p.ApplicationCommandType.PLACEHOLDER)return N(h.MenuItem,{id:"menu-command-"+e.id,render:function(){return P}},"menu-command-"+e.id);if(null!=o){var t=(0,c.getCommandSection)(e.applicationId,f.default,S.default,o),n=null!=t?(0,m.getIconComponent)(t):void 0;return N(h.MenuItem,{id:e.id,label:e.name,showIconFirst:!0,disabled:!(0,v.hasAccess)(e),icon:function(){return n?N(n,{section:t,width:16,height:16}):null},action:function(){}},e.id)}return null}),[o]);return l.default.useExperiment({})[0].allowCommands?N(h.MenuItem,{id:"apps",label:I.default.Messages.APPS,onChildrenScroll:D,childRowHeight:34,listClassName:T.default.list},void 0,M.map(w)):null};R.displayName="useAppsCommandItems";var L=R;t.default=L},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(3)),a=f(n(2)),o=n(286),i=f(n(89)),l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(8311)),u=n(8290),s=n(8260);n(1);function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=null,m=null,_=null,h={};function E(){y=null,m=null,_=null,h={}}function g(e,t,n,r){var a,o=h[e];if(null==o)return!1;var i=o.find((function(e){return e.id===t}));if(null==i||void 0===i.commandCountByTarget)return!1;var l=null!==(a=i.commandCountByTarget[r])&&void 0!==a?a:0;i.commandCountByTarget[r]=l+n,h[e]=[].concat(o)}var S=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var a=r.prototype;return a.getRemoteGuildApplications=function(e){return null==e?null:h[e]},a.getGuildSectionsWithCommands=function(e,t){return this.getGuildSections(e).filter((function(e){var n,r;return(null!==(n=null===(r=e.commandCountByTarget)||void 0===r?void 0:r[t])&&void 0!==n?n:0)>0}))},a.getGuildSections=function(e){if(null==e)return[];var t=h[e];return null==t?[]:t.concat([])},a.getGuildSection=function(e,t){if(null==e)return null;var n,r=h[e];return null!=r&&null!==(n=r.find((function(e){return e.id===t})))&&void 0!==n?n:null},a.getTotalGuildCommands=function(e,t){for(var n,r=0,a=c(this.getGuildSections(e));!(n=a()).done;){var o,i;r+=null!==(o=null===(i=n.value.commandCountByTarget)||void 0===i?void 0:i[t])&&void 0!==o?o:0}return r},r}(r.default.Store))(a.default,{CONNECTION_OPEN:function(e){return E()},LOGOUT:function(e){return E()},GUILD_APPLICATION_COMMANDS_UPDATE:function(e){var t,n=e.applications;if(e.nonce!==y||null==m||null==n||null==_)return!1;var r={};null===(t=h[m])||void 0===t||t.forEach((function(e){r[e.id]=e})),h[m]=n.sort((function(e,t){var n=e.name,r=t.name;return n===r?0:n<r?-1:1})).map((function(e){var t,n,a=null!==(t=null===(n=r[e.id])||void 0===n?void 0:n.commandCountByTarget)&&void 0!==t?t:{};return a[_]=e.command_count,{type:s.ApplicationCommandSectionType.GUILD,id:e.id,name:e.name,icon:e.icon,bot:null!=e.bot?new i.default(e.bot):void 0,commandCountByTarget:a}}))},APPLICATIONS_REQUEST:function(e){var t=e.nonce,n=e.guildId,r=e.commandTarget;y=t,m=n,_=r},APPLICATION_COMMAND_QUERY_REQUEST:function(e){var t=e.nonce,n=e.guildId;e.includeApplications&&(y=t,m=n)},INTEGRATION_CREATE:function(e){var t=e.guildId;return null==e.integration.application||m===t&&null!=_&&l.queryGuildApplications(t,u.DISCOVERY_COMMANDS_QUERY_LIMIT,_),!1},INTEGRATION_DELETE:function(e){var t=e.guildId,n=e.applicationId,r=h[t];if(null==n||null==r)return!1;var a=r.findIndex((function(e){return e.id===n}));if(a<0)return!1;r.splice(a,1),h[t]=[].concat(r)},APPLICATION_COMMAND_CREATE:function(e){var t;g(e.guildId,e.applicationId,1,null!==(t=e.command.type)&&void 0!==t?t:o.ApplicationCommandTarget.CHAT)},APPLICATION_COMMAND_DELETE:function(e){var t;g(e.guildId,e.applicationId,-1,null!==(t=e.command.type)&&void 0!==t?t:o.ApplicationCommandTarget.CHAT)}});t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pxToRem=function(e){return e/16+"rem"},t.isEligibleForCallout=function(e){if(null==e)return!1;return o.default.extractTimestamp(e.id)<(0,r.now)()-f},t.isChannelAvailableForCallout=function(e,t){var n;return(null!==(n=null==t?void 0:t.applicationCommandCount)&&void 0!==n?n:0)>1&&a.default.can(s.Permissions.USE_APPLICATION_COMMANDS,e)&&a.default.can(s.Permissions.SEND_MESSAGES,e)},t.getIconComponent=void 0;var r=n(206),a=d(n(40)),o=d(n(97)),i=n(8260),l=d(n(9365)),u=d(n(9366)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}var f=1e3*s.Durations.DAY*7;t.getIconComponent=function(e){return e.type===i.ApplicationCommandSectionType.BUILT_IN?u.default:l.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=d(n(391)),o=n(687),i=n(8253),l=d(n(11)),u=n(1),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e,t){var n=l.default.getId(),r=t===u.AppContext.POPOUT;return n===e||r?null:c(i.MenuItem,{id:"message-user",label:s.default.Messages.USER_POPOUT_MESSAGE,action:function(){a.default.openPrivateChannel(e),(0,o.popLayer)()}})}p.displayName="useMessageUserItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchStoreListingsForApplications=function(e){var t=e.filter((function(e){var t=i.default.getGame(e);if(null==t)return!0;var n=t.destinationSkuId;return null==n||null==u.default.getForSKU(n)}));if(0===t.length)return Promise.resolve();return(0,d.httpGetWithCountryCodeQuery)({url:f.Endpoints.STORE_PUBLISHED_LISTINGS_APPLICATIONS,query:{application_ids:t},oldFormErrors:!0}).then((function(e){a.default.dispatch({type:f.ActionTypes.STORE_LISTINGS_FETCH_SUCCESS,storeListings:e.body})}))},t.fetchAllStoreListingsForApplication=function(e){var t={application_id:e};return(0,d.httpGetWithCountryCodeQuery)({url:f.Endpoints.STORE_PUBLISHED_LISTINGS_SKUS,query:t,oldFormErrors:!0}).then((function(e){return a.default.dispatch({type:f.ActionTypes.STORE_LISTINGS_FETCH_SUCCESS,storeListings:e.body}),e.body}))},t.fetchStoreListingForSku=function(e){var t=l.default.get(e),n=null!=t&&s.default.inTestModeForApplication(t.applicationId);return(0,d.httpGetWithCountryCodeQuery)(n?f.Endpoints.STORE_LISTINGS_SKU(e):f.Endpoints.STORE_PUBLISHED_LISTINGS_SKU(e)).then((function(e){n?a.default.dispatch({type:f.ActionTypes.STORE_LISTINGS_FETCH_SUCCESS,storeListings:e.body}):a.default.dispatch({type:f.ActionTypes.STORE_LISTING_FETCH_SUCCESS,storeListing:e.body})}))},t.fetchStoreListingById=function(e){return(0,d.httpGetWithCountryCodeQuery)(f.Endpoints.STORE_LISTING(e)).then((function(e){a.default.dispatch({type:f.ActionTypes.STORE_LISTING_FETCH_SUCCESS,storeListing:e.body})}))},t.fetchStoreListingForApplication=function(e){return(0,d.httpGetWithCountryCodeQuery)(f.Endpoints.STORE_PUBLISHED_LISTINGS_APPLICATION(e)).then((function(e){a.default.dispatch({type:f.ActionTypes.STORE_LISTING_FETCH_SUCCESS,storeListing:e.body})}))},t.matureAgree=function(){a.default.dispatch({type:f.ActionTypes.APPLICATION_STORE_MATURE_AGREE})},t.matureDisagree=function(){(0,o.transitionTo)(f.Routes.APPLICATION_STORE)},t.joinPublishedStoreListingSkuGuild=function(e){return r.default.post({url:f.Endpoints.STORE_PUBLISHED_LISTINGS_SKU_JOIN_GUILD(e),oldFormErrors:!0})},t.goToSKUStoreListing=function(e,t){var n=(0,d.getStoreListingLocation)(e,t),r=n.pathname,a=p(n,["pathname"]);(0,o.transitionTo)(r,a)},t.goToApplicationStoreListing=function(e,t){var n=(0,d.getApplicationStoreListingLocation)(e,t),r=n.pathname,a=p(n,["pathname"]);(0,o.transitionTo)(r,a)};var r=c(n(14)),a=c(n(2)),o=n(42),i=c(n(71)),l=c(n(373)),u=c(n(8364)),s=c(n(1167)),d=n(289),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{d:"M3.9 8.26H2V15.2941H3.9V8.26Z",fill:d,className:f}),s("path",{d:"M19.1 4V5.12659L4.85 8.26447V18.1176C4.85 18.5496 5.1464 18.9252 5.5701 19.0315L9.3701 19.9727C9.4461 19.9906 9.524 20 9.6 20C9.89545 20 10.1776 19.8635 10.36 19.6235L12.7065 16.5242L19.1 17.9304V19.0588H21V4H19.1ZM9.2181 17.9944L6.75 17.3826V15.2113L10.6706 16.0753L9.2181 17.9944Z",fill:d,className:f}))}d.displayName="Megaphone"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderHeader=f,t.renderAutocompleteGroup=c,t.renderSticker=p;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=l(n(5936)),i=l(n(8291));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e,t,n,r,a){var o=n.length>0?e.format({prefix:r(n)}):t;return d(i.default.Title,{className:a,title:o},"autocomplete-title-"+o)}function c(e,t,n,r,o,i,l,u,c,p,v,y,m,_){if(void 0===y&&(y=0),null==_&&(null==n||0===n.length))return null;var h=null==n?void 0:n.map((function(e,n){var i=n+y;return a.createElement(u,s({onClick:o,onHover:r,selected:t===i,index:i},c(e,i)))}));return d(a.Fragment,{},v,null!=i&&null!=l?f(i,l,e,p,m):null,h,_)}function p(e,t){return d(o.default,{sticker:e,isInteracting:t,size:40})}f.displayName="renderHeader",c.displayName="renderAutocompleteGroup",p.displayName="renderSticker"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useEmojiPickerStore=t.resetStoreState=t.setActiveCategoryIndex=t.setSearchQuery=t.setSearchPlaceholder=t.setInspectedEmojiPosition=t.InspectedEmojiChangeSource=void 0;var r,a,o=(r=n(251))&&r.__esModule?r:{default:r};t.InspectedEmojiChangeSource=a,function(e){e[e.GRID_NAVIGATOR_EVENT=0]="GRID_NAVIGATOR_EVENT",e[e.MOUSE_EVENT=1]="MOUSE_EVENT"}(a||(t.InspectedEmojiChangeSource=a={}));var i=Object.freeze({inspectedEmojiPosition:{rowIndex:0,columnIndex:0},searchPlaceholder:null,searchQuery:"",activeCategoryIndex:0}),l=(0,o.default)((function(e){return i}));t.setInspectedEmojiPosition=function(e,t,n){l.setState({inspectedEmojiPosition:{rowIndex:t,columnIndex:e,source:n}})};t.setSearchPlaceholder=function(e){l.setState({searchPlaceholder:e})};t.setSearchQuery=function(e){l.setState({searchQuery:e})};t.setActiveCategoryIndex=function(e){l.setState({activeCategoryIndex:e})};t.resetStoreState=function(){l.setState(i)};var u=l;t.useEmojiPickerStore=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStickerPickerStore=t.resetStoreState=t.setShowPremiumUpsell=t.setSearchQuery=t.setSearchPlaceholder=t.setInspectedStickerPosition=t.setActiveCategoryIndex=void 0;var r,a=(r=n(251))&&r.__esModule?r:{default:r};var o=Object.freeze({inspectedStickerPosition:{rowIndex:0,columnIndex:0},activeCategoryIndex:0,searchPlaceholder:null,searchQuery:"",isSearchSuggestion:!1,showPremiumUpsell:!1}),i=(0,a.default)((function(e){return o}));t.setActiveCategoryIndex=function(e){i.setState({activeCategoryIndex:e})};t.setInspectedStickerPosition=function(e,t,n){i.setState({inspectedStickerPosition:{rowIndex:t,columnIndex:e,source:n}})};t.setSearchPlaceholder=function(e){i.setState({searchPlaceholder:e})};t.setSearchQuery=function(e,t){void 0===t&&(t=!1),i.setState({searchQuery:e,isSearchSuggestion:t})};t.setShowPremiumUpsell=function(e){i.setState({showPremiumUpsell:e})};t.resetStoreState=function(){i.setState(o)};var l=i;t.useStickerPickerStore=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useComponentAction=_,t.ComponentAction=function(e){return _(e),null},t.ComponentDispatchGroupProvider=t.ComponentDispatchGroupContext=t.ComponentDispatchGroup=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(64))&&r.__esModule?r:{default:r},l=n(121);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var a=r.prototype;return a.subscribe=function(e,t){l.ComponentDispatch.subscribe(e,t),this.on(e,t)},a.unsubscribe=function(e,t){l.ComponentDispatch.unsubscribe(e,t),this.off(e,t)},a.bumpDispatchPriority=function(){for(var e,t=d(this.eventNames());!(e=t()).done;){var n=e.value;if("string"==typeof n)for(var r,a=d(this.listeners(n));!(r=a()).done;){var o=r.value;l.ComponentDispatch.resubscribe(n,o)}}},r}(i.default);t.ComponentDispatchGroup=p;var v=function(){function e(){}var t=e.prototype;return t.subscribe=function(e,t){l.ComponentDispatch.subscribe(e,t)},t.unsubscribe=function(e,t){l.ComponentDispatch.unsubscribe(e,t)},t.bumpDispatchPriority=function(){0},e}(),y=o.createContext(new v);t.ComponentDispatchGroupContext=y;var m=o.forwardRef((function(e,t){var n=e.children,r=o.useRef(null);function a(){return null===r.current&&(r.current=new p),r.current}return o.useImperativeHandle(t,a),s(y.Provider,{value:a()},void 0,n)}));function _(e){var t=e.event,n=e.handler,r=o.useContext(y);return o.useEffect((function(){return r.subscribe(t,n),function(){r.unsubscribe(t,n)}}),[r,t,n]),null}t.ComponentDispatchGroupProvider=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContentBetweenNodes=g,t.toContent=S,t.isOptionNode=function(e){return null!=e&&"inline"===e.object&&"commandOption"===e.type},t.hasValueNodes=O,t.getOptionNode=I,t.getPreviousOptionNode=function(e,t){return C(e.inlines({onlyTypes:["commandOption"],path:t,direction:"backward",downward:!1}))},t.getNextOptionNode=T,t.getOptionNames=function(e){for(var t,n=e.inlines({onlyTypes:["commandOption"],downward:!0}),r=new Set,a=h(n);!(t=a()).done;){var o=t.value[0];r.add(o.data.get("name"))}return r},t.getOptionContent=function(e,t){var n=I(e,t);if(null==n)return null;if(O(n))return S(n.nodes);var r=T(e,n.key),o=e.getClosestBlock(n.key);return(0,a.default)(null!=o,"Failed to get parent block when fetching option content"),g({parent:o,startNode:n,endNode:r})},t.getOptionContents=function(e){var t=e.inlines({onlyTypes:["commandOption"],downward:!0})[Symbol.iterator](),n=t.next();if(n.done)return{};var r,o={},i=n.value[0];do{var l=t.next();r=l.done?null:l.value[0];var u=void 0;if(O(i))u=S(i.nodes);else{var s=e.getClosestBlock(i.key);(0,a.default)(null!=s,"Failed to get parent block when fetching option contents"),u=g({parent:s,startNode:i,endNode:r})}var d=i.data.get("name");o[d]=u,i=r}while(null!=r);return o},t.wrapOptionValueNodes=function(e,t){var n=e.value.document,o=n.getClosestBlock(t.key);(0,a.default)(null!=o,"Current option does not have a parent block");var i=T(n,t.key),l=N({parent:o,startNode:t,endNode:i,relativeTo:n});(0,a.default)(null!=l,"Failed to find content range for current incomplete option");var u=l.anchor.path.last(),s=l.focus.path.last(),d=t.nodes.toArray(),f=o.nodes.slice(u,s+1).toArray();(0,a.default)(f.length>0,"Attempted to complete current incomplete option with no content"),e.withoutNormalizing((function(){for(var n,a=h(d);!(n=a()).done;){var o=n.value;e.removeNodeByKey(o.key)}for(var i=f.length-1;i>=0;i--)e.moveNodeByKey(f[i].key,t.key,0);var l=f[0],u=f[f.length-1];l.key===u.key&&"text"===l.object?e.setTextByKey(u.key,u.text.trim(),r.default.Set()):("text"===u.object?e.setTextByKey(u.key,u.text.trimEnd(),r.default.Set()):e.insertTextByKey(t.key,f.length,""),"text"===l.object?e.setTextByKey(l.key,l.text.trimStart(),r.default.Set()):e.insertTextByKey(t.key,0,""))})),function(e,t,n){var r=e.value,o=r.document,i=r.selection,l=o.getNode(t);(0,a.default)(null!=l,"Failed to get parent block for fixing selection");var u=o.getNode(n);(0,a.default)(null!=u,"Failed to get wrapping option node for fixing selection");var s=M(l,u);(0,a.default)(null!=s,"Failed to find text node after wrapped option node"),i.anchor.isInNode(u)&&e.moveAnchorToStartOfNode(s);i.focus.isInNode(u)&&e.moveFocusToStartOfNode(s)}(e,o.key,t.key)},t.unwrapOptionValueNodes=function(e,t,n){var r=e.value.document,a=r.getPath(t.key),i=o.PathUtils.lift(a),l=a.last();if(!O(t)){if(n){e.focus();var u=r.getNextSibling(t.key);null!=u&&e.moveToStartOfNode(u)}return}n&&(e.focus(),e.moveAnchorToStartOfNode(t),e.moveFocusToEndOfNode(t));e.withoutNormalizing((function(){t.nodes.reverse().forEach((function(n,r){var o=t.nodes.size-r-1,u=a.push(o);e.moveNodeByPath(u,i,l+1)})),e.insertNodeByPath(i,l+1,o.Inline.create({type:"commandOption",data:{name:t.data.get("name")},nodes:[o.Text.create({text:" "})]})),e.removeNodeByKey(t.key)}))},t.findMatchingCommand=function(e,t,n,r,a){if(!e.startsWith(p.COMMAND_SENTINEL))return null;var o=v.default.getChannel(t),d=null!=n?y.default.getGuild(n):null;if(null==o)return null;var _=e.indexOf(":"),h=!1;_>=0&&(_=e.lastIndexOf(" ",_),h=!0);_<0&&(_=e.length-1);var E=e.substring(1,_+1);if(0===E.length)return null;var g=E.split(" ",4);g.length>3&&(h=!0,g.pop());var S=(0,s.getContextCommands)(o,i.ApplicationCommandTarget.CHAT,l.default,u.default,m.default),O={channel:o,guild:d},I=function(e){var t=g.slice(0,e).join(" "),n=(0,c.queryCommands)(O,S,t,i.ApplicationCommandTarget.CHAT,!1,2,r,a),o=n.filter((function(e){return e.name===t}));if(o.length>0){var l=o[0],u=f.default.getPreferredCommandId();if(null!=u){var s=o.find((function(e){return e.id===u}));if(null!=s)return{v:s}}var d=h||e<g.length,p=1===n.length;if(d||p)return{v:l}}if(n.length>0)return"break"};e:for(var T=g.length;T>0;T--){var C=I(T);switch(C){case"break":break e;default:if("object"==typeof C)return C.v}}return null},t.getRangeBetweenNodes=N,t.COMMAND_OPTION_TYPE=void 0;var r=_(n(8269)),a=_(n(23)),o=n(8315),i=n(286),l=_(n(8383)),u=_(n(8469)),s=n(8504),d=n(8434),f=_(n(8280)),c=n(8279),p=n(8278),v=_(n(10)),y=_(n(15)),m=_(n(40));function _(e){return e&&e.__esModule?e:{default:e}}function h(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(e){var t=e.parent,n=N({parent:t,startNode:e.startNode,endNode:e.endNode,includeStart:e.includeStart,includeEnd:e.includeEnd});if(null==n)return[{type:"text",text:""}];var r=t.getNode(o.PathUtils.lift(n.start.path)),a=n.start.path.last(),i=n.end.path.last();return S(r.nodes.skip(a).take(i-a+1))}function S(e){var t=[];if(e.forEach((function(e){if(null!=e)switch(e.object){case"text":t.push({type:"text",text:e.text});break;case"inline":switch(e.type){case"textMention":t.push({type:"textMention",text:e.data.get("text")});break;case"mention":t.push({type:"userMention",userId:e.data.get("id")});break;case"roleMention":t.push({type:"roleMention",roleId:e.data.get("id")});break;case"channel":t.push({type:"channelMention",channelId:e.data.get("id")});break;case"emoji":var n=e.data.get("data");t.push({type:"emoji",name:n.name,surrogate:n.surrogate});break;case"customEmoji":var r=e.data.get("data");t.push({type:"customEmoji",emojiId:r.emojiId,name:r.name,animated:r.animated})}}})),(t=(0,d.filterEmpty)(t)).length>0){var n=t[0];"text"===n.type&&(n.text=n.text.trimStart());var r=t[t.length-1];"text"===r.type&&(r.text=r.text.trimEnd())}return t}function O(e){var t=e.nodes.count();return t>1||1===t&&" "!==e.nodes.first().text}function I(e,t){return C(e.inlines({onlyTypes:["commandOption"],downward:!0,match:function(e){return e.data.get("name")===t}}))}function T(e,t,n){return C(e.inlines({onlyTypes:["commandOption"],path:t,direction:"forward",downward:!1,match:function(e){return!n||!O(e)}}))}function C(e){var t=e[Symbol.iterator]().next();return t.done?null:t.value[0]}function b(e,t){for(var n,r=null,a=h(e.nodes);!(n=a()).done;){var o=n.value;if(o.key===t.key)return r;"text"===o.object&&(r=o)}return null}function M(e,t){for(var n,r=!1,a=h(e.nodes);!(n=a()).done;){var o=n.value;if(o.key===t.key)r=!0;else if(r&&"text"===o.object)return o}return null}function N(e){var t=e.parent,n=e.startNode,r=e.endNode,a=e.includeStart,i=e.includeEnd,l=e.relativeTo,u=null,s=0;if(null===n)u=t.getFirstText();else if("text"===n.object)u=n;else{var d,f;if(a)s=null!==(d=null===(f=u=b(t,n))||void 0===f?void 0:f.text.length)&&void 0!==d?d:0;null===u&&(u=M(t,n),s=0)}var c,p,v=null,y=0;if(null===r)y=null!==(c=null===(p=v=t.getLastText())||void 0===p?void 0:p.text.length)&&void 0!==c?c:0;else if("text"===r.object)y=(v=r).text.length;else{var m,_;if(i&&(v=M(t,r),y=0),null===v)y=null!==(m=null===(_=v=b(t,r))||void 0===_?void 0:_.text.length)&&void 0!==m?m:0}if(null==u&&null!=v&&(u=v,s=0),null==v&&null!=u&&(v=u,y=u.text.length),null==u||null==v)return null;var h=(null!=l?l:t).getPath(u.key),E=(null!=l?l:t).getPath(v.key);return null==h||null==E?null:o.Range.create({anchor:o.Point.create({key:u.key,path:h,offset:s}),focus:o.Point.create({key:v.key,path:E,offset:y})})}t.COMMAND_OPTION_TYPE="commandOption"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=N;b(n(0));var r,a=n(389),o=T(n(8257)),i=T(n(8323)),l=T(n(8258)),u=b(n(8253)),s=T(n(8430)),d=T(n(11)),f=T(n(8378)),c=T(n(8379)),p=T(n(8380)),v=T(n(8384)),y=T(n(8385)),m=T(n(8386)),_=T(n(8343)),h=T(n(8387)),E=T(n(8324)),g=T(n(8407)),S=T(n(8388)),O=n(1),I=T(n(6));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(e){var t=e.user,n=e.channelId,r=e.showMediaItems,T=void 0!==r&&r,C=e.target,b=e.analyticsContext,N=e.mediaEngineContext,A=e.onSelect,P=(0,E.default)(t.id),R=(0,_.default)(t.id),L=(0,y.default)(t),D=(0,p.default)({user:t,channelId:n,target:C}),w=(0,c.default)(t),j=(0,S.default)(t.id),k=(0,g.default)(t.id),U=(0,h.default)(t.id,N),G=(0,m.default)(t),F=(0,i.default)(null,t),B=(0,f.default)(t),H=(0,v.default)(t),x=(0,l.default)(t.id),V=(0,s.default)(t);return d.default.isGuest()||t.isNonUserBot()?null:M(o.default,{context:b,object:O.AnalyticsObjects.CONTEXT_MENU},void 0,M(u.default,{navId:"user-context",onClose:a.closeContextMenu,"aria-label":I.default.Messages.USER_ACTIONS_MENU_LABEL,onSelect:A},void 0,M(u.MenuGroup,{},void 0,V),M(u.MenuGroup,{},void 0,P,R,L,D,w,j),T&&M(u.MenuGroup,{},void 0,k),M(u.MenuGroup,{},void 0,F),M(u.MenuGroup,{},void 0,T&&U,G,B,H),M(u.MenuGroup,{},void 0,x)))}N.displayName="UserGenericContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.className,n=e.tooltip,r=e.color,s=e.size,d=void 0===s?v.SIZE_32:s,p=e.icon,y=e.onClick,m=e.disabled,_=e.focusProps;return a.createElement(a.Fragment,null,f(l.default,{text:n,shouldShow:!m},void 0,(function(e){var l;return a.createElement(i.default,c({},e,{"aria-label":n,"aria-disabled":m,className:(0,o.default)(t,u.default.button,r,d,(l={},l[u.default.disabled]=m,l)),onClick:y,focusProps:_}),p)})))},t.CircleIconButtonSizes=t.CircleIconButtonColors=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=s(n(61)),l=s(n(149)),u=s(n(7642));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}var p={TERTIARY:u.default.tertiary,SECONDARY:u.default.secondary,PRIMARY:u.default.primary};t.CircleIconButtonColors=p;var v={SIZE_24:u.default.size24,SIZE_32:u.default.size32,SIZE_36:u.default.size36};t.CircleIconButtonSizes=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.HelpMessageFontSizes=t.HelpMessageTypes=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a,o,i=f(n(9)),l=f(n(686)),u=f(n(1236)),s=f(n(5827)),d=f(n(7668));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.children,n=e.messageType,r=e.className,f=e.fontSize,c=void 0===f?o.FONT_SIZE_14:f,v=function(e){switch(e){case a.WARNING:return s.default;case a.INFO:return u.default;case a.ERROR:return l.default}}(n),y=function(e){switch(e){case a.WARNING:return d.default.warning;case a.INFO:return d.default.info;case a.ERROR:return d.default.error}}(n),m=function(e){switch(e){case o.FONT_SIZE_14:return d.default.fontSize14;case o.FONT_SIZE_16:return d.default.fontSize16}}(c);return p("div",{className:(0,i.default)(d.default.container,y,m,r)},void 0,p(v,{className:d.default.icon}),p("div",{className:d.default.text},void 0,t))}t.HelpMessageTypes=a,function(e){e[e.WARNING=0]="WARNING",e[e.INFO=1]="INFO",e[e.ERROR=2]="ERROR"}(a||(t.HelpMessageTypes=a={})),t.HelpMessageFontSizes=o,function(e){e[e.FONT_SIZE_14=0]="FONT_SIZE_14",e[e.FONT_SIZE_16=1]="FONT_SIZE_16"}(o||(t.HelpMessageFontSizes=o={})),v.displayName="HelpMessage";var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=s(n(9)),l=s(n(22)),u=s(n(7676));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){switch(e){case a.LEFT:return u.default.left;case a.RIGHT:return u.default.right;case a.UP:return null;case a.DOWN:return u.default.down;default:throw new Error("Invalid Direction "+e)}}!function(e){e.LEFT="LEFT",e.RIGHT="RIGHT",e.UP="UP",e.DOWN="DOWN"}(a||(a={}));var v=function(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,u=e.color,s=void 0===u?"currentColor":u,d=e.direction,v=e.foreground,y=e.className,m=e.title,_=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","direction","foreground","className","title"]);return o.createElement("svg",f({},(0,l.default)(_),{width:n,height:a,className:(0,i.default)(y,p(d)),viewBox:"0 0 24 24"}),null!=m?c("title",{},void 0,m):null,c("polygon",{className:v,fill:s,fillRule:"nonzero",points:"13 20 11 20 11 8 5.5 13.5 4.08 12.08 12 4.16 19.92 12.08 18.5 13.5 13 8"}))};v.displayName="Arrow",v.Directions=a;var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=v(n(8)),a=v(n(63)),o=n(202),i=v(n(3)),l=v(n(2)),u=n(8303),s=v(n(8974)),d=n(48),f=v(n(78)),c=v(n(8255)),p=n(1);function v(e){return e&&e.__esModule?e:{default:e}}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(){return(_=Object.assign||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}).apply(this,arguments)}var h,E=new Set,g=p.FormStates.CLOSED,S=!1,O=!1,I=[],T=[],C=u.GuildSettingsRoleEditSections.DISPLAY;function b(){return null==h||null==I?[]:s.default.calculatePositionDeltas(r.default.values(h.roles),I,(function(e){return e.id}),(function(e){var t=e.originalPosition;return null!=t?t:1/0}),!1)}function M(e){var t=e.section;if(null!=h||t!==p.GuildSettingsSections.ROLES)return!1;N()}function N(){h=c.default.getProps().guild,S=!1,O=!1,E.clear(),g=p.FormStates.OPEN,I=null!=h?(0,r.default)(h.roles).values().value():[],T=[].concat(I)}var A=r.default.debounce((function(){var e=!1;O&&((O=b().length>0)||(e=!0)),E.forEach((function(t){r.default.isEqual(R(t),function(e){return T.find((function(t){return t.id===e}))}(t))&&(E.delete(t),e=!0)})),0===E.size&&(S=!1),e&&D.emitChange()}),500);function P(e,t){var n=I.indexOf(e);if(n<0)return!1;var r=_({},e,{},t);I[n]=r,I=[].concat(I),S=!0,E.add(r.id),A()}function R(e){return I.find((function(t){return t.id===e}))}function L(e){var t=e.guildId;if(null==h||t!==h.id||g===p.FormStates.SUBMITTING)return!1;h=c.default.getProps().guild;var n=[];null!=h&&(n=(0,r.default)(h.roles).values().value()),E.forEach((function(e){var t=R(e),r=-1;null==n.find((function(t,n){if(t.id===e)return r=n,!0}))||null==t?E.delete(e):n[r]=t})),0===E.size&&(S=!1),O=!1,I=[].concat(n)}var D=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var a,o,i,l=r.prototype;return l.initialize=function(){this.waitFor(c.default)},l.hasChanges=function(){return S||O},l.getSortDeltas=function(){return b()},l.showNotice=function(){return this.hasChanges()},l.getRole=function(e){return R(e)},a=r,(o=[{key:"hasSortChanges",get:function(){return O}},{key:"guild",get:function(){return h}},{key:"editedRoleIds",get:function(){return Array.from(E)}},{key:"roles",get:function(){return I}},{key:"formState",get:function(){return g}},{key:"lastRoleEditSection",get:function(){return C}}])&&y(a.prototype,o),i&&y(a,i),r}(i.default.Store))(l.default,__OVERLAY__?{}:{GUILD_SETTINGS_ROLES_INIT:function(e){return N()},GUILD_SETTINGS_INIT:M,GUILD_SETTINGS_SET_SECTION:M,GUILD_SETTINGS_ROLES_SORT_UPDATE:function(e){var t=e.roles;if(null!=I&&t.length!==I.length)return!1;I=t.map((function(e){return R(e)})).filter(d.isNotNullish),O=!0,A()},GUILD_SETTINGS_ROLES_UPDATE_PERMISSIONS:function(e){var t=e.id,n=e.flag,r=e.allow,o=R(t);if(null==o)return!1;var i=o.permissions;return P(o,{permissions:i=r?a.default.add(i,n):a.default.remove(i,n)})},GUILD_SETTINGS_ROLES_UPDATE_PERMISSION_SET:function(e){var t=e.id,n=e.permissions,r=R(t);return null!=r&&P(r,{permissions:n})},GUILD_SETTINGS_ROLES_CLEAR_PERMISSIONS:function(e){var t=R(e.id);return null!=t&&P(t,{permissions:f.default.NONE})},GUILD_SETTINGS_ROLES_UPDATE_NAME:function(e){var t=e.id,n=e.name,r=R(t);return null!=r&&P(r,{name:n})},GUILD_SETTINGS_ROLES_UPDATE_COLOR:function(e){var t=e.id,n=e.color,r=0===n?null:(0,o.int2hex)(n),a=R(t);return null!=a&&P(a,{color:n,colorString:r})},GUILD_SETTINGS_ROLES_UPDATE_SETTINGS:function(e){var t=e.id,n=e.hoist,r=e.mentionable,a=R(t);return null!=a&&P(a,{hoist:n,mentionable:r})},GUILD_SETTINGS_CLOSE:function(e){return h=null,T=I=[],E.clear(),S=!1,O=!1,void(g=p.FormStates.CLOSED)},GUILD_ROLE_CREATE:L,GUILD_ROLE_UPDATE:L,GUILD_ROLE_DELETE:L,GUILD_SETTINGS_ROLES_SUBMITTING:function(e){g=p.FormStates.SUBMITTING},GUILD_SETTINGS_ROLES_SAVE_SUCCESS:function(e){N()},GUILD_SETTINGS_ROLES_EDIT_SECTION_UPDATE:function(e){var t=e.section;C=t}}),w=D;t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transitionToChannel=function(e,t,n){void 0===n&&(n=!0);if(i.default.hasModalOpen())return;a.default.closeAll(),n&&r.default.channelListScrollTo(e,t),o.default.getState().updatePath(l.Routes.CHANNEL(e,t))},t.transitionToPage=function(e){if(i.default.hasModalOpen())return;a.default.closeAll(),o.default.getState().updatePath(e)};var r=u(n(1226)),a=u(n(8309)),o=u(n(5939)),i=u(n(690)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m,t.TutorialIndicatorPositions=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(67),i=n(3),l=f(n(8691)),u=n(9189),s=f(n(8692)),d=f(n(161));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.TutorialIndicatorPositions=r,function(e){e.TOP="top",e.LEFT="left",e.RIGHT="right",e.BOTTOM="bottom"}(r||(t.TutorialIndicatorPositions=r={}));var y=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var i=r.prototype;return i.componentDidMount=function(){var e=this.props,t=e.visible;null==e.inlineSpecs&&this.show(t)},i.componentWillUnmount=function(){null==this.props.inlineSpecs&&this.show(!1)},i.componentDidUpdate=function(e){var t=e.position,n=e.offsetX,r=e.offsetY,a=e.tutorialId,o=e.visible,i=e.windowSize;a!==this.props.tutorialId?l.default.hide(a):o===this.props.visible&&t===this.props.position&&n===this.props.offsetX&&r===this.props.offsetY&&i===this.props.windowSize||this.show(this.props.visible)},i.show=function(e){var t=this.props,n=t.tutorialId,r=t.position,a=t.offsetX,i=t.offsetY,u=t.visible,s=t.inlineSpecs,d=t.preventInvert,f=t.popoutOffset;if(e&&null==s){var c=(0,o.findDOMNode)(this);if(!(c&&c instanceof Element))return;var p=c.getBoundingClientRect(),v=p.top,y=p.left,m=p.right,_=p.bottom;l.default.show(n,{position:r,targetWidth:m-y,targetHeight:_-v,preventInvert:d,x:y,y:v,offset:{x:a,y:i},popoutOffset:f})}else u&&l.default.hide(n)},i.render=function(){var e=this.props,t=e.inlineSpecs,n=e.tutorialId,r=e.children,o=e.visible,i=e.position,l=e.preventInvert,d=s.default.getData()[n];return null!=t&&null!=d?a.createElement(a.Fragment,null,r,o&&a.createElement(u.TutorialIndicator,p({preventInvert:l,position:i,tutorialId:n,tutorialDefinition:d,visible:o},t))):a.Children.only(r)},r}(a.Component);function m(e){var t=e.tutorialId,n=(0,i.useStateFromStores)([s.default],(function(){return s.default.shouldShow(t)}),[t]),r=(0,i.useStateFromStores)([d.default],(function(){return d.default.windowSize()}),[]);return a.createElement(y,p({},e,{visible:n,windowSize:r}))}y.displayName="TutorialIndicator",y.defaultProps={position:r.TOP,offsetX:0,offsetY:0},m.displayName="ConnectedTutorialIndicator"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderMentionBadge=K,t.renderUnavailableBadge=$,t.renderIconBadge=Z,t.HubDefault=t.DragPlaceholder=t.GuildDiscovery=t.GuildCapUpsell=t.CreateJoinGuildButton=t.AppDownloadButton=t.UnavailableGuildsButton=t.CircleIconButton=t.Separator=t.ListItemTooltip=t.renderListItem=void 0;var r,a=H(n(0)),o=F(n(9)),i=n(680),l=n(8700),u=H(n(8357)),s=n(1213),d=(n(8262),F(n(1295))),f=n(8444),c=n(280),p=F(n(8445)),v=n(42),y=F(n(271)),m=F(n(61)),_=n(1149),h=F(n(149)),E=F(n(10032)),g=F(n(8313)),S=(F(n(372)),F(n(255)),F(n(1313))),O=F(n(8376)),I=(F(n(1224)),F(n(9207))),T=F(n(8662)),C=F(n(5686)),b=(F(n(1215)),F(n(5951))),M=F(n(8536)),N=F(n(8276)),A=F(n(291)),P=F(n(8464)),R=n(8263),L=F(n(8465)),D=F(n(248)),w=F(n(13)),j=F(n(8701)),k=n(1),U=F(n(6)),G=F(n(7367));function F(e){return e&&e.__esModule?e:{default:e}}function B(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return B=function(){return e},e}function H(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=B();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function x(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,V(e,t)}function V(e,t){return(V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function W(){return(W=Object.assign||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}).apply(this,arguments)}function Y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var z={x:-16,y:0,targetWidth:48,targetHeight:48,offset:{x:0,y:0}};function K(e){return Y(R.NumberBadge,{count:e})}function $(){return Y(R.IconBadge,{icon:E.default,disableColor:!0,className:G.default.unavailableBadge})}function Z(e){var t,n,r,i=e.audio,l=e.video,u=e.screenshare,s=e.participating,d=e.liveStage,f=e.participatingInStage;e.joinRequestStatus;if(d&&!s||f)n=A.default;else if(u)n=T.default;else if(l)n=g.default;else{if(!i)return null;n=N.default}var c=null==r?{disableColor:!0}:{color:r};return a.createElement(R.IconBadge,W({icon:n},c,{className:(0,o.default)(G.default.iconBadge,(t={},t[G.default.participating]=s||f,t))}))}K.displayName="renderMentionBadge",$.displayName="renderUnavailableBadge",Z.displayName="renderIconBadge";var q=function(e,t){return a.createElement("div",{className:G.default.listItem,ref:t},e)};t.renderListItem=q,q.displayName="renderListItem";var X=function(e){var t=e.children,n=e.text,r=e.color,o=e.disableWrapper,i=void 0!==o&&o,l=e.disabled,u=void 0!==l&&l,s=e.hideOnClick,d=void 0===s||s,f=e.shouldShow,c=e.forceOpen;return Y(h.default,{shouldShow:f,forceOpen:c,spacing:20,hideOnClick:d,text:u?null:n,position:h.default.Positions.RIGHT,color:r,"aria-label":!1,tooltipClassName:G.default.listItemTooltip},void 0,(function(e){return i?a.cloneElement(a.Children.only(t),W({},e)):a.createElement("div",W({className:G.default.listItemWrapper},e),t)}))};t.ListItemTooltip=X,X.displayName="ListItemTooltip";var J=function(){return q(Y("div",{className:G.default.guildSeparator}))};t.Separator=J;var Q=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={hovered:!1},t}return x(t,e),t.prototype.render=function(){var e,t=this,n=this.props,r=n.onClick,i=n.onContextMenu,l=n.children,u=n.selected,s=n.tooltipText,d=n.lowerBadge,f=n.lowerBadgeWidth,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(n,["onClick","onContextMenu","children","selected","tooltipText","lowerBadge","lowerBadgeWidth"]),p=this.state.hovered;return q(Y(a.Fragment,{},void 0,Y("div",{className:G.default.pill},void 0,Y(P.default,{hovered:p,selected:u})),Y(X,{text:s},void 0,Y(L.default,{className:G.default.circleButtonMask,selected:u||p,lowerBadge:d,lowerBadgeWidth:f},void 0,a.createElement(m.default,W({onMouseEnter:function(){return t.setState({hovered:!0})},onMouseLeave:function(){return t.setState({hovered:!1})},className:(0,o.default)((e={},e[G.default.circleIconButton]=!0,e[G.default.selected]=u||p,e)),onClick:r,"aria-label":s,onContextMenu:i,focusProps:{enabled:!1}},c),l)))))},t}(a.PureComponent);t.CircleIconButton=Q,Q.displayName="CircleIconButton";t.UnavailableGuildsButton=function(e){var t=e.unavailableGuilds;return t>0?q(Y(X,{text:U.default.Messages.PARTIAL_OUTAGE.format({count:t}),color:h.default.Colors.RED},void 0,Y(y.default,{href:(0,d.default)(k.LocalizedLinks.TWITTER),target:"_blank",className:G.default.guildsError,"aria-label":U.default.Messages.PARTIAL_OUTAGE_A11Y.format({count:t})},void 0,Y("span",{"aria-hidden":!0,className:G.default.errorInner},void 0,"!")))):null};var ee=Y(J,{}),te=function(e){function t(){return e.apply(this,arguments)||this}return x(t,e),t.prototype.render=function(){var e=this.props,t=e.disable,n=e.onClick,r=e.selected;return t?null:Y(a.Fragment,{},void 0,ee,Y(i.ListNavigatorItem,{id:"app-download-button"},void 0,(function(e){return a.createElement(Q,W({onClick:n,selected:r,tooltipText:U.default.Messages.DOWNLOAD_APPS},e),Y(O.default,{className:G.default.circleIcon}))})))},t}(a.PureComponent);t.AppDownloadButton=te,te.displayName="AppDownloadButton";var ne=function(e){function t(){return e.apply(this,arguments)||this}return x(t,e),t.prototype.render=function(){var e=this.props,t=e.isOwnerOfAny,n=e.disableTooltip,r=e.onContextMenu,o=e.onClick,l=e.selected,s=e.folderIndex,d=Y(j.default,{folderIndex:s,isLastItem:!0}),f=Y(i.ListNavigatorItem,{id:"create-join-button"},void 0,(function(e){return a.createElement(Q,W({onClick:o,selected:l,onContextMenu:r,tooltipText:U.default.Messages.ADD_A_SERVER},e),Y(b.default,{className:G.default.circleIcon}),null!=s&&d)}));return n?f:Y("div",{className:G.default.tutorialContainer},void 0,Y(u.default,{tutorialId:t?"create-more-servers":"create-first-server",inlineSpecs:z,position:u.TutorialIndicatorPositions.RIGHT},void 0,f))},t}(a.PureComponent);function re(){return Y("div",{className:G.default.upsellTooltip},void 0,Y(C.default,{width:22,height:22,className:G.default.upsellIcon,color:_.GradientCssUrls.PREMIUM_TIER_2}),Y("span",{className:G.default.upsellText},void 0,U.default.Messages.GUILD_CAP_UPSELL_TOOLTIP))}function ae(){var e=a.useState(!1),t=e[0],n=e[1],r=a.useState(!1),l=r[0],u=r[1];function s(){u(!l),l||(0,p.default)({analyticsSource:{page:k.AnalyticsPages.GUILD_LIST},analyticsLocation:{page:k.AnalyticsPages.GUILD_LIST,section:k.AnalyticsSections.GUILD_CAP_UPSELL_MODAL},onCloseCallback:function(){(0,f.hideInlineGuildCapUpsell)(),u(!1),n(!1)}})}a.useEffect((function(){w.default.track(k.AnalyticEvents.PREMIUM_UPSELL_VIEWED,{type:c.PremiumUpsellTypes.GUILD_CAP_INLINE_SERVER_LIST,location:{page:k.AnalyticsPages.GUILD_LIST}})}),[]);var d=Y(P.default,{hovered:t,selected:l});return Y(i.ListNavigatorItem,{id:"nitro-guild-cap-upsell"},void 0,(function(e){var r;return q(a.createElement(a.Fragment,null,Y("div",{className:G.default.pill},void 0,d),Y(X,{text:re()},void 0,Y(L.default,{className:G.default.circleButtonMask,selected:l||t,upperBadge:Y(R.IconBadge,{icon:E.default,color:k.Colors.PREMIUM_TIER_2_PURPLE})},void 0,a.createElement(m.default,W({onMouseEnter:function(){return n(!0)},onMouseLeave:function(){return n(!1)},className:(0,o.default)((r={},r[G.default.nitroUpsell]=!0,r[G.default.selected]=l||t,r)),onClick:s,"aria-label":U.default.Messages.GUILD_CAP_UPSELL_TOOLTIP,focusProps:{enabled:!1}},e),Y(M.default,{className:G.default.circleIcon,foreground:G.default.nitroUpsellIcon}))))))}))}t.CreateJoinGuildButton=ne,ne.displayName="CreateJoinGuildButton",re.displayName="renderTooltip",ae.displayName="GuildCapUpsellRenderer";var oe=Y(ae,{}),ie=a.memo((function(){return(0,f.useShouldShowInlineGuildCapUpsell)()?oe:null}));t.GuildCapUpsell=ie;var le=Y(S.default,{width:24,height:24}),ue=function(e){function t(){return e.apply(this,arguments)||this}x(t,e);var n=t.prototype;return n.onClick=function(){window.location.pathname.startsWith(k.Routes.GUILD_DISCOVERY)&&((0,l.clearSearch)(),(0,l.selectCategory)(s.DISCOVERY_ALL_CATEGORIES_ID,!0)),(0,v.transitionTo)(k.Routes.GUILD_DISCOVERY)},n.render=function(){var e=this,t=this.props.selected;return Y(i.ListNavigatorItem,{id:"guild-discover-button"},void 0,(function(n){return a.createElement(Q,W({onClick:e.onClick,selected:t,tooltipText:U.default.Messages.GUILD_DISCOVERY_TOOLTIP},n),le)}))},t}(a.PureComponent);t.GuildDiscovery=ue,ue.displayName="GuildDiscovery";var se=function(e){var t=e.className;return Y(D.default,{mask:D.default.Masks.SQUIRCLE,className:(0,o.default)(t,G.default.placeholderMask),width:48,height:48,style:{display:"block"}},void 0,Y("div",{className:G.default.dragInner}))};t.DragPlaceholder=se,se.displayName="DragPlaceholder";var de=Y(I.default,{width:24,height:24}),fe=function(){return Y(i.ListNavigatorItem,{id:"guild-hub-button"},void 0,(function(e){return a.createElement(Q,W({selected:!0,tooltipText:U.default.Messages.HUB_DISCORD_HUBS},e),de)}))};t.HubDefault=fe,fe.displayName="HubDefault"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(3)),a=u(n(2)),o=u(n(13)),i=u(n(16)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||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}).apply(this,arguments)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c={desktopType:i.default.embedded?l.DesktopNotificationTypes.ALL:l.DesktopNotificationTypes.NEVER,disabledSounds:[],ttsType:l.TTSNotificationTypes.NEVER,disableUnreadBadge:!1,taskbarFlash:!0},p=c;function v(e,t){__OVERLAY__||o.default.track(e,t)}function y(e){var t=e.desktopType;p.desktopType=t,v(l.AnalyticEvents.LOCAL_SETTINGS_UPDATED,{notifications_enabled:t===l.DesktopNotificationTypes.ALL})}var m=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var a,o,i,l=r.prototype;return l.initialize=function(e){p=e||c},l.getState=function(){return p},l.getDesktopType=function(){return p.desktopType},l.getTTSType=function(){return p.ttsType},l.getDisabledSounds=function(){return p.disabledSounds},l.getDisableUnreadBadge=function(){return p.disableUnreadBadge},l.isSoundDisabled=function(e){return-1!==p.disabledSounds.indexOf(e)},a=r,(o=[{key:"taskbarFlash",get:function(){return p.taskbarFlash}}])&&d(a.prototype,o),i&&d(a,i),r}(r.default.PersistedStore);m.persistKey="notifications",m.migrations=[function(e){var t=s({},e);return t.disabledSounds=t.disabledSounds||[],t.disableUnreadBadge=t.disableUnreadBadge||!1,t.taskbarFlash=null==t.taskbarFlash||t.taskbarFlash,t.ttsType=t.ttsType||l.TTSNotificationTypes.NEVER,null==t.desktopType&&(t.desktopType=i.default.embedded?l.DesktopNotificationTypes.ALL:l.DesktopNotificationTypes.NEVER),t}];var _=new m(a.default,{NOTIFICATIONS_SET_DESKTOP_TYPE:y,NOTIFICATIONS_SET_TTS_TYPE:function(e){var t=e.ttsType;p.ttsType=t},NOTIFICATIONS_SET_DISABLED_SOUNDS:function(e){var t=e.sounds;p.disabledSounds=t},NOTIFICATIONS_SET_PERMISSION_STATE:function(e){var t=e.enabled,n=e.source;v(l.AnalyticEvents.ENABLE_NOTIFICATIONS,{enabled:t===l.NotificationPermissionTypes.ENABLED,source:n}),t===l.NotificationPermissionTypes.BLOCKED?y({desktopType:l.DesktopNotificationTypes.NEVER}):t===l.NotificationPermissionTypes.ENABLED&&y({desktopType:l.DesktopNotificationTypes.ALL})},NOTIFICATIONS_SET_DISABLE_UNREAD_BADGE:function(e){var t=e.disableUnreadBadge;p.disableUnreadBadge=t},NOTIFICATIONS_SET_TASKBAR_FLASH:function(e){var t=e.taskbarFlash;p.taskbarFlash=t}});t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MarkerPositions=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=c(n(9)),l=c(n(8)),u=c(n(105)),s=c(n(88)),d=c(n(149)),f=c(n(7395));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t){for(var n=0,r=0;r<t.length;r++){var a=t[r];if(e===a)return r;if(e<a)return 0===n||a-e<n?r:r-1;n=e-a}return null}function h(e){var t=e.markers,n=e.initialValue,r=e.minValue,a=e.maxValue,o=e.equidistant,i=[],l=[];if(null==t)return{min:r,max:a,range:a-r,sortedMarkers:i,markerPositions:l};var u=_(n,i=t.sort((function(e,t){return e-t}))),s=i[0],d=i[i.length-1],f=d-s;if(o){var c=100/(i.length-1);l=i.map((function(e,t){return t*c}))}else{l=i.map((function(e){return 100*(e-s)/f}))}return{min:s,max:d,range:f,sortedMarkers:i,markerPositions:l,closestMarkerIndex:u}}function E(e){return m({value:Math.min(Math.max(e.initialValue,e.minValue),e.maxValue),initialValueProp:e.initialValue,newClosestIndex:null},h(e))}t.MarkerPositions=a,function(e){e[e.ABOVE=0]="ABOVE",e[e.BELOW=1]="BELOW"}(a||(t.MarkerPositions=a={}));var g=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).containerRef=o.createRef(),n.grabberRef=o.createRef(),n.moveGrabber=function(e){var t=n.state,r=t.sortedMarkers,a=t.value,o=t.min,i=t.max,u=n.props,s=u.asValueChanges,d=u.onValueChange,f={};if(u.stickToMarkers){var c=r.indexOf(a);if(c<0)return;var p=c+e,v=r[p];if(null==v)return;f.value=v,f.closestMarkerIndex=p,f.newClosestIndex=p}else f.value=l.default.clamp(a+e,o,i);n.setState(f),f.value!==n.state.value&&(s&&s(f.value),d&&d(f.value))},n.handleContainerMouseDown=function(e){var t=n.props,r=t.disabled,a=t.maxValue,o=t.minValue,i=t.asValueChanges,l=t.onValueChange,u=t.stickToMarkers,s=n.state,d=s.sortedMarkers,f=s.markerPositions;if(!r){var c=e.clientX,p=e.currentTarget;if(1===(null==p?void 0:p.nodeType)){var v,y=p.getBoundingClientRect(),m=(c-y.left)/y.width;if(u){var _=f.reduce((function(e,t,n){var r=Math.abs(t/100-m);return r<=e.smallestDelta?{smallestDelta:r,nextClosestMarkerIndex:n}:e}),{smallestDelta:1,nextClosestMarkerIndex:-1}).nextClosestMarkerIndex;if(-1===_)return;n.setState({closestMarkerIndex:_}),v=d[_]}else{v=o+(a-o)*m,n.setState({value:v}),n.handleMouseDown(e)}null!=l&&l(v),null!=i&&i(v)}}},n.handleKeyDown=function(e){var t=n.props,r=t.disabled,a=t.orientation,o=t.keyboardStep,i=void 0===o?1:o;if(!r){var l=e.key,u=[],s=[];switch(a){case"horizontal":u=["ArrowRight"],s=["ArrowLeft"];break;case"vertical":u=["ArrowUp"],s=["ArrowDown"];break;default:u=["ArrowRight","ArrowUp"],s=["ArrowLeft","ArrowDown"]}s.includes(l)?(e.preventDefault(),e.stopPropagation(),n.moveGrabber(-i)):u.includes(l)&&(e.preventDefault(),e.stopPropagation(),n.moveGrabber(i))}},n.handleMouseDown=function(e){var t,r;if(!n.props.disabled){e.stopPropagation();var a=n.containerRef.current;if(null==a||null===(t=a.ownerDocument)||void 0===t||t.addEventListener("mousemove",n.handleMouseMove,!0),null==a||null===(r=a.ownerDocument)||void 0===r||r.addEventListener("mouseup",n.handleMouseUp,!0),1!==(null==a?void 0:a.nodeType))throw new Error("[UIKit]Slider.handleMouseDown(): assert failed: domNode nodeType !== Element");n.setState({x:e.clientX,active:!0,boundingRect:a.getBoundingClientRect(),newClosestIndex:n.state.closestMarkerIndex})}},n.handleMouseUp=function(e){e.stopPropagation(),n.reset();var t=n.props,r=t.onValueChange,a=t.stickToMarkers,o=n.state.newClosestIndex;a&&null!=o?(r&&r(n.state.sortedMarkers[o]),n.setState({newClosestIndex:null,closestMarkerIndex:o})):r&&r(n.state.value),n.setState({active:!1})},n.handleMouseMove=function(e){e.preventDefault(),n.props.stickToMarkers?n.moveStaggered(e):n.moveSmoothly(e)},n.onFocus=function(){n.setState({focused:!0})},n.onBlur=function(){n.setState({focused:!1})},n.state=m({active:!1,focused:!1},E(t)),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n),r.getDerivedStateFromProps=function(e,t){return e.initialValue!==t.initialValueProp?m({},E(e),{active:t.active}):null};var c=r.prototype;return c.componentWillUnmount=function(){this.reset()},c.renderMark=function(e){var t=this.props.onMarkerRender;return null!=t?t(e):e},c.render=function(){var e,t=this,n=this.state,r=n.value,l=n.active,c=n.focused,p=n.sortedMarkers,y=n.markerPositions,_=n.closestMarkerIndex,h=n.newClosestIndex,E=n.min,g=n.max,S=this.props,O=S.disabled,I=S.stickToMarkers,T=S.className,C=S.children,b=S.barStyles,M=S.fillStyles,N=S.mini,A=S.hideBubble,P=S.defaultValue,R=S.orientation,L=S.onValueRender,D=S.renderMarker,w=S.barClassName,j=S.grabberClassName,k=S.grabberStyles,U=void 0===k?{}:k,G=S.markerPosition,F=void 0===G?a.ABOVE:G,B=S["aria-label"],H=0;I?null!=y&&(null!=h?H=y[h]:null!=_&&(H=y[_])):H=this.scaleValue(r);var x=H+"%",V=y&&p?y.map((function(e,n){var r,l=p[n],u=null!=P&&P===l,s=t.renderMark(l);return v("div",{className:(0,i.default)(f.default.mark,(r={},r[f.default.defaultValue]=u,r[f.default.markAbove]=F===a.ABOVE,r[f.default.markBelow]=F===a.BELOW,r)),style:{left:e+"%"}},n,null!=D?D(l):o.createElement(o.Fragment,null,v("div",{className:f.default.markValue},void 0,s),v("div",{className:f.default["markDash"+(null==s?"simple":"")]})))})):null,W=L?L(r):H.toFixed(0)+"%";return v(s.default,{focusTarget:this.containerRef,ringTarget:this.grabberRef},void 0,o.createElement("div",{className:(0,i.default)(f.default.slider,T,(e={},e[f.default.disabled]=O,e[f.default.mini]=N,e)),"aria-valuemin":E,"aria-valuemax":g,"aria-valuenow":r,"aria-disabled":O,"aria-orientation":R,"aria-label":B,role:"slider",tabIndex:0,onKeyDown:this.handleKeyDown,onMouseDown:this.handleContainerMouseDown,onFocus:this.onFocus,onBlur:this.onBlur,ref:this.containerRef},v("input",{type:"number",className:f.default.input,value:H.toFixed(0),readOnly:!0}),v("div",{className:f.default.track},void 0,V),v("div",{className:(0,i.default)(f.default.bar,w),style:b},void 0,v("div",{className:f.default.barFill,style:m({},M,{width:x})})),C,v("div",{className:f.default.track},void 0,v(d.default,{color:d.default.Colors.GREY,hideOnClick:!1,text:A||I?null:W,forceOpen:l||c&&u.default.keyboardModeEnabled},void 0,(function(e){return o.createElement("div",m({},e,{className:(0,i.default)(f.default.grabber,j),style:m({},U,{left:x}),onMouseDown:t.handleMouseDown,ref:t.grabberRef}))})))))},c.reset=function(){var e,t,n,r;null===(e=this.containerRef.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t||t.removeEventListener("mousemove",this.handleMouseMove,!0),null===(n=this.containerRef.current)||void 0===n||null===(r=n.ownerDocument)||void 0===r||r.removeEventListener("mouseup",this.handleMouseUp,!0)},c.scaleValue=function(e){return 100*(e-this.state.min)/this.state.range},c.unscaleValue=function(e){return e*this.state.range/100+this.state.min},c.focus=function(){var e;null===(e=this.containerRef.current)||void 0===e||e.focus()},c.blur=function(){var e;null===(e=this.containerRef.current)||void 0===e||e.blur()},c.moveStaggered=function(e){var t=this.state,n=t.boundingRect,r=t.x,a=void 0===r?0:r,o=t.closestMarkerIndex,i=t.markerPositions,l=t.sortedMarkers,u=this.props.asValueChanges,s=n||{},d=s.left,f=s.right;if(!(e.clientX<=d||e.clientX>=f)){var c,p=f-d,v=(e.clientX-a)/p,y=i[o]+100*v;if(this.props.equidistant)c=_(y,i);else c=_(this.unscaleValue(y),l);null!=c&&u&&u(l[c]),this.setState({newClosestIndex:c})}},c.moveSmoothly=function(e){var t=this.props,n=t.minValue,r=t.maxValue,a=t.handleSize,o=t.asValueChanges,i=this.state.boundingRect,l=i.left,u=i.right,s=this.state.x-e.clientX,d=(this.state.value-n)/(r-n);if(!(e.clientX<=l&&s<0||e.clientX>=u&&s>0)){var f=u-l-a,c=f*d;d=Math.min(Math.max(c-s,0),f)/f}var p=n+d*(r-n);o&&o(p),this.setState({value:p,x:e.clientX})},r}(o.PureComponent);g.displayName="Slider",g.defaultProps={initialValue:10,minValue:0,maxValue:100,keyboardStep:1,handleSize:10,disabled:!1,stickToMarkers:!1,fillStyles:{}};var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===t&&(t={});return d(t.formatInline?a.default.parseInlineReply:a.default.parse,e,t)},t.renderMessageMarkupToAST=function(e,t){void 0===t&&(t={});return d(t.formatInline?a.default.parseInlineReplyToAST:a.default.parseToAST,e,l({},t,{toAST:!0}))};n(307);var r,a=(r=n(8295))&&r.__esModule?r:{default:r},o=n(1308),i=n(1);function l(){return(l=Object.assign||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}).apply(this,arguments)}var u=new Set([i.EmbedTypes.IMAGE,i.EmbedTypes.GIFV]),s=new Set(["strong","em","u","text","inlineCode","s","spoiler"]);function d(e,t,n){n.toAST;var r=n.renderMediaEmbeds,a=void 0===r||r,i=n.formatInline,l=void 0!==i&&i,d=n.isInteracting,p=void 0!==d&&d,v=n.postProcessor,y={allowLinks:null!=t.webhookId,channelId:t.channel_id,mentionChannels:t.mentionChannels,isInteracting:p},m=!1,_=e(t.content,!0,y,(function(e,n){return Array.isArray(e)||(e=[e]),a&&(e=function(e,t){if(1!==e.length||1!==t.length)return e;var n=e[0],r=t[0];if("link"===n.type&&u.has(r.type)&&(0,o.isEmbedInline)(r))return[];return e}(e,t.embeds)),l||(e=function(e,t){if(t)return f(e);"paragraph"===e[0].type&&e[0].content instanceof Array&&(e[0].content=f(e[0].content));return e}(e,n)),m=function(e,t){if(t)return c(e);if("paragraph"===e[0].type&&e[0].content instanceof Array)return c(e[0].content);return!1}(e,n),l&&(e=function e(t){return t.forEach((function(t){s.has(t.type)&&null!=t.content&&(Array.isArray(t.content)?e(t.content):t.content=t.content.replace(/\n/g," "))})),t}(e)),null!=v&&(e=v(e,n)),e}));return{hasSpoilerEmbeds:m,content:_}}function f(e){if(e.some((function(e){return"emoji"!==e.type&&"customEmoji"!==e.type&&("string"!=typeof e.content||""!==e.content.trim())})))return e;var t=0;return e.forEach((function(e){if("emoji"!==e.type&&"customEmoji"!==e.type||(t+=1),t>27)return!1})),t>27||e.forEach((function(e){e.jumboable=!0})),e}function c(e){return e.some((function(e){return"spoiler"===e.type&&Array.isArray(e.content)&&e.content.some((function(e){return"link"===e.type}))}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),i=n(468),l=u(n(7398));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var f=a.memo(a.forwardRef((function(e,t){var n=e.onScroll,r=e.listPadding,u=void 0===r?[0,0,0,0]:r,s=e.renderRow,f=e.renderSection,c=e.renderSectionHeader,p=e.renderSectionFooter,v=e.renderListHeader,y=e.rowCount,m=e.rowCountBySection,_=e.rowHeight,h=e.sectionMarginBottom,E=e.sectionHeaderHeight,g=e.sectionFooterHeight,S=e.listHeaderHeight,O=e.stickyHeaders,I=void 0!==O&&O,T=e.className,C=e.hideScrollbar,b=void 0!==C&&C,M=e.fade,N=void 0!==M&&M,A=e.initialScrollTop,P=void 0===A?0:A,R=a.useState(-1),L=R[0],D=R[1],w=a.useRef(null),j=a.useRef(-1),k=a.useRef(0),U=a.useRef(-1);a.useLayoutEffect((function(){var e,t=null===(e=w.current)||void 0===e?void 0:e.getScrollerNode();null!=t&&(t.scrollTop=P)}),[]);var G=a.useCallback((function(){var e="function"==typeof S?S():S;return null==e?0:e}),[S]),F=a.useCallback((function(e,t,n){return"function"==typeof _?_(n,{sectionIndex:e,sectionRowIndex:t}):_}),[_]),B=a.useCallback((function(e){var t="function"==typeof E?E(e):E;return null==t?0:t}),[E]),H=a.useCallback((function(e){var t="function"==typeof g?g(e):g;return null==t?0:t}),[g]),x=a.useCallback((function(e){var t="function"==typeof h?h(e):h;return null==t?0:t}),[h]),V=a.useRef([]),W=a.useRef([]),Y=a.useMemo((function(){var e=0,t=null!=m,n=t?m.length:1,r=u[0],a=[],o=[];r+=G();for(var i=0;i<n;i++){var l=t?m[i]:y,s=0!==(null==m?void 0:m[i]);o[i]={firstRowIndex:e,offset:{top:r,bottom:-1}},r+=B(i);for(var d=0;d<l;d++){var f=r+(s?F(i,d,e):0),c={top:r,bottom:f};a[e]={sectionIndex:i,offset:c},r=f,e++}r+=H(i)+x(i),o[i].offset.bottom=r}return{totalHeight:r+=u[2],rowDescriptors:a,sectionDescriptors:o}}),[F,H,B,x,u,y,m,G]),z=Y.totalHeight,K=Y.rowDescriptors,$=Y.sectionDescriptors;V.current=$,W.current=K;var Z=a.useCallback((function(){var e,t=null===(e=w.current)||void 0===e?void 0:e.getScrollerNode();if(null!=t){var n=t.offsetHeight,r=t.scrollTop;j.current=n,D(r)}}),[]);a.useLayoutEffect((function(){-1===j.current&&Z()}),[Z]),a.useEffect((function(){var e,t=null===(e=w.current)||void 0===e?void 0:e.getScrollerNode();if(null!=t){var n=new ResizeObserver(Z);return n.observe(t),function(){return n.disconnect()}}}),[Z]);var q=a.useCallback((function(){var e,t=null===(e=w.current)||void 0===e?void 0:e.getScrollerNode();null!=t&&(window.cancelAnimationFrame(U.current),U.current=window.requestAnimationFrame((function(){var e=t.scrollTop;k.current=e,null==n||n(e),D(e)})))}),[n]);a.useImperativeHandle(t,(function(){return{scrollTo:function(e,t){var n;void 0===t&&(t={});var r=t.animate,a=void 0!==r&&r;null===(n=w.current)||void 0===n||n.scrollTo({to:e,animate:a})},scrollRowIntoView:function(e,t){void 0===t&&(t={});var n=t,r=n.animate,a=void 0!==r&&r,o=n.offset,i=void 0===o?0:o,l=W.current[e];null!=l&&window.requestAnimationFrame((function(){var t=l.sectionIndex,n=l.offset,r=n.top,o=n.bottom,u=B(t),s=r-(I?u:0)-i<=k.current,d=o+i>=k.current+j.current;if(s){var f,c=k.current+u-r,p=I?k.current-c:r;null===(f=w.current)||void 0===f||f.scrollTo({to:0===e?0:p-i,animate:a})}else if(d){var v,y=o-(k.current+j.current);null===(v=w.current)||void 0===v||v.scrollTo({to:k.current+y+i,animate:a})}}))},scrollToSectionTop:function(e,t){void 0===t&&(t={});var n=t,r=n.animate,a=void 0!==r&&r,o=n.offset,i=void 0===o?0:o,l=V.current[e];null!=l&&window.requestAnimationFrame((function(){var t;null===(t=w.current)||void 0===t||t.scrollTo({to:(0===e?0:l.offset.top)+i,animate:a})}))},getListDimensions:function(){return{height:j.current,totalHeight:z}},getSectionDescriptors:function(){return V.current},getRowDescriptors:function(){return W.current},getScrollerNode:function(){var e;return null===(e=w.current)||void 0===e?void 0:e.getScrollerNode()},scrollIntoViewNode:function(e){var t;return null===(t=w.current)||void 0===t?void 0:t.scrollIntoViewNode({node:e})}}}),[B,I,z]);var X=a.useMemo((function(){if(-1===j.current||-1===L)return{visibleItems:null,listOffset:0};var e=L,t=L+j.current,n=0,r=u[0],a=[],o=G();null!=v&&e<o?a.push(v()):r+=o;for(var i=0;i<$.length;i++){var l=$[i],d=l.firstRowIndex,y=l.offset,m=y.top,_=y.bottom,h=_-m;if(0!==h){var E=B(i),g=H(i),S=x(i);if(_<=e)r=_;else{if(!(_>e&&m<t))break;n=d;var O=[],T=0,C=0,b=m+E>=e&&m<=t;for(null!=c&&(I||b)&&O.push(c(i)),b||I||(r+=E);T+E+g<h-S;){var M=F(i,C,n),N=m+T+E,A=N+M;if(A<=e)r=A-(I?E:0);else{if(!(A>e&&N<t))break;O.push(s(n,{sectionIndex:i,sectionRowIndex:C}))}T+=M,C++,n++}var P=m+E+T;null!=p&&(P+g>=e&&P<=t)&&O.push(p(i)),null!=f?a.push(f(i,O)):a=[].concat(a,O)}}}return{visibleItems:a,listOffset:r}}),[F,H,B,x,u,s,f,p,c,L,$,I,v,G]),J=X.visibleItems,Q=X.listOffset,ee=a.useMemo((function(){var e,t,n;return{top:Q,right:null!==(e=null==u?void 0:u[1])&&void 0!==e?e:0,bottom:null!==(t=null==u?void 0:u[2])&&void 0!==t?t:0,left:null!==(n=null==u?void 0:u[3])&&void 0!==n?n:0}}),[Q,u]),te=a.useMemo((function(){return{height:z}}),[z]),ne=b?i.AdvancedScrollerNone:i.AdvancedScrollerThin;return a.createElement(ne,{fade:N,className:(0,o.default)(l.default.scroller,T),ref:w,onScroll:q},d("div",{className:l.default.listItems,style:ee},void 0,J),d("div",{className:l.default.listHeight,style:te}))})));t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(8)),a=d(n(3)),o=d(n(2)),i=d(n(89)),l=d(n(15)),u=d(n(256)),s=d(n(361));n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=new Set,p={},v={},y={};function m(){if(0===Object.keys(y).length)return!1;y={}}function _(e){if(null==y[e.user.id])return!1;delete y[e.user.id]}var h=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(s.default)},a.isFetching=function(e){return c.has(e)},a.getUserProfile=function(e){return p[e]},a.getMutualFriends=function(e){return v[e]},a.getMutualGuilds=function(e){return y[e]},r}(a.default.Store))(o.default,{USER_PROFILE_FETCH_START:function(e){var t=e.userId;c.add(t)},USER_PROFILE_FETCH_FAILURE:function(e){var t,n=e.userId;p[n]=null!==(t=p[n])&&void 0!==t?t:{connectedAccounts:[],premiumSince:null,premiumGuildSince:null,lastFetched:Date.now()},c.delete(n)},USER_PROFILE_FETCH_SUCCESS:function(e){if(c.delete(e.user.id),null!=e.mutual_guilds){var t={};e.mutual_guilds.forEach((function(e){var n=e.id,r=e.nick,a=l.default.getGuild(n);null!=a&&(t[n]={guild:a,nick:r})})),y[e.user.id]=s.default.getFlattenedGuilds().filter((function(e){return null!=t[e.id]})).map((function(e){return{guild:t[e.id].guild,nick:t[e.id].nick}}))}var n=e.premium_since||null;p[e.user.id]={connectedAccounts:e.connected_accounts||[],premiumSince:null!=n?new Date(n):null,premiumGuildSince:null!=e.premium_guild_since?new Date(e.premium_guild_since):null,lastFetched:Date.now()}},LOAD_MUTUAL_FRIENDS:function(e){v[e.userId]=(0,r.default)(e.mutualFriends).map((function(e){return{key:e.id,user:new i.default(e),status:u.default.getStatus(e.id)}})).sortBy((function(e){return e.user.username.toLowerCase()})).value()},GUILD_JOIN:function(e){return m()},GUILD_DELETE:function(e){return m()},GUILD_MEMBER_ADD:_,GUILD_MEMBER_REMOVE:_});t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(3)),a=u(n(2)),o=u(n(9373)),i=u(n(39)),l=n(48);n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c,p={},v={},y={},m={};function _(e){var t=e.id,n=e.sku.id,r=p[t],a=o.default.createFromServer(e);null!=r&&!r.isSlimDirectoryVersion()&&a.isSlimDirectoryVersion()||(!1===e.published?(null==y[n]&&(y[n]=new Set),y[n].add(t)):m[n]=t,p[t]=a)}function h(e,t){return e+":"+t}function E(e){for(var t,n=d(e.storeListings);!(t=n()).done;){_(t.value)}}function g(){p={},m={},y={},v={}}function S(e){var t,n=null!==(t=null==e?void 0:e.settings.locale)&&void 0!==t?t:i.default.locale;if(c===n)return!1;g(),c=n}var O=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(i.default),this.syncWith([i.default],S),c=i.default.locale},a.get=function(e){return p[e]},a.getForSKU=function(e,t){var n=m[e];return null!=t?v[h(t,e)]:null!=n?p[n]:null},a.getUnpublishedForSKU=function(e){var t=y[e];return null==t?[]:Array.from(t).map((function(e){return p[e]})).filter(l.isNotNullish)},a.getForChannel=function(e,t){return v[h(e,t)]},a.getStoreListing=function(e){var t=e.storeListingId,n=e.skuId,r=e.channelId;if(e.isTestMode&&null!=n){var a=this.getUnpublishedForSKU(n);if(null!=a&&a.length>0)return a[0]}if(null!=t)return this.get(t);if(null!=r){if(null==n)throw new Error("getStoreListing with channel expects a skuId");return this.getForChannel(r,n)}return null!=n?this.getForSKU(n):null},r}(r.default.Store))(a.default,{STORE_LISTINGS_FETCH_SUCCESS:E,APPLICATION_STORE_DIRECTORY_FETCH_SUCCESS:E,STORE_LISTING_FETCH_SUCCESS:function(e){var t=e.storeListing,n=e.channelId;if(null!=n){var r=o.default.createFromServer(t);v[h(n,r.skuId)]=r,m[r.skuId]=r.id}else _(t)},USER_SETTINGS_UPDATE:S,APPLICATION_STORE_CLEAR_DATA:function(e){return g()},GIFT_CODE_RESOLVE_SUCCESS:function(e){var t=e.giftCode;if(null==t.store_listing)return!1;_(t.store_listing)}});t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useExpressionPickerStore=t.setExpressionPickerView=t.toggleExpressionPicker=t.closeExpressionPicker=t.openExpressionPicker=void 0;var r,a=(r=n(251))&&r.__esModule?r:{default:r};var o=Object.freeze({activeView:null,activeViewType:null}),i=(0,a.default)((function(e){return o})),l=function(e,t){i.setState({activeView:e,activeViewType:t})};t.openExpressionPicker=l;var u=function(e){void 0!==e&&e!==i.getState().activeViewType||i.setState({activeView:null,activeViewType:null})};t.closeExpressionPicker=u;t.toggleExpressionPicker=function(e,t){i.getState().activeView===e?u():l(e,t)};t.setExpressionPickerView=function(e){i.setState({activeView:e})};var s=i;t.useExpressionPickerStore=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSKUIdFromURL=function(e){var t=(0,a.matchPath)(e,{path:l.Routes.APPLICATION_STORE_LISTING_SKU(":skuId",":slug")});return null!=t?t.params.skuId:null},t.getGenreURLSlugFromId=function(e){return f[e]},t.getGenreIdFromURLSlug=function(e){return d[e]},t.getGenreText=function(e){switch(e){case l.SKUGenres.ACTION:return u.default.Messages.APPLICATION_STORE_GENRE_ACTION;case l.SKUGenres.ACTION_RPG:return u.default.Messages.APPLICATION_STORE_GENRE_ACTION_RPG;case l.SKUGenres.BRAWLER:return u.default.Messages.APPLICATION_STORE_GENRE_BRAWLER;case l.SKUGenres.HACK_AND_SLASH:return u.default.Messages.APPLICATION_STORE_GENRE_HACK_AND_SLASH;case l.SKUGenres.PLATFORMER:return u.default.Messages.APPLICATION_STORE_GENRE_PLATFORMER;case l.SKUGenres.STEALTH:return u.default.Messages.APPLICATION_STORE_GENRE_STEALTH;case l.SKUGenres.SURVIVAL:return u.default.Messages.APPLICATION_STORE_GENRE_SURVIVAL;case l.SKUGenres.ADVENTURE:return u.default.Messages.APPLICATION_STORE_GENRE_ADVENTURE;case l.SKUGenres.ACTION_ADVENTURE:return u.default.Messages.APPLICATION_STORE_GENRE_ACTION_ADVENTURE;case l.SKUGenres.METROIDVANIA:return u.default.Messages.APPLICATION_STORE_GENRE_METROIDVANIA;case l.SKUGenres.OPEN_WORLD:return u.default.Messages.APPLICATION_STORE_GENRE_OPEN_WORLD;case l.SKUGenres.PSYCHOLOGICAL_HORROR:return u.default.Messages.APPLICATION_STORE_GENRE_PSYCHOLOGICAL_HORROR;case l.SKUGenres.SANDBOX:return u.default.Messages.APPLICATION_STORE_GENRE_SANDBOX;case l.SKUGenres.SURVIVAL_HORROR:return u.default.Messages.APPLICATION_STORE_GENRE_SURVIVAL_HORROR;case l.SKUGenres.VISUAL_NOVEL:return u.default.Messages.APPLICATION_STORE_GENRE_VISUAL_NOVEL;case l.SKUGenres.DRIVING_RACING:return u.default.Messages.APPLICATION_STORE_GENRE_DRIVING_RACING;case l.SKUGenres.VEHICULAR_COMBAT:return u.default.Messages.APPLICATION_STORE_GENRE_VEHICULAR_COMBAT;case l.SKUGenres.MASSIVELY_MULTIPLAYER:return u.default.Messages.APPLICATION_STORE_GENRE_MASSIVELY_MULTIPLAYER;case l.SKUGenres.MMORPG:return u.default.Messages.APPLICATION_STORE_GENRE_MMORPG;case l.SKUGenres.ROLE_PLAYING:return u.default.Messages.APPLICATION_STORE_GENRE_ROLE_PLAYING;case l.SKUGenres.DUNGEON_CRAWLER:return u.default.Messages.APPLICATION_STORE_GENRE_DUNGEON_CRAWLER;case l.SKUGenres.ROGUELIKE:return u.default.Messages.APPLICATION_STORE_GENRE_ROGUELIKE;case l.SKUGenres.SHOOTER:return u.default.Messages.APPLICATION_STORE_GENRE_SHOOTER;case l.SKUGenres.LIGHT_GUN:return u.default.Messages.APPLICATION_STORE_GENRE_LIGHT_GUN;case l.SKUGenres.SHOOT_EM_UP:return u.default.Messages.APPLICATION_STORE_GENRE_SHOOT_EM_UP;case l.SKUGenres.FPS:return u.default.Messages.APPLICATION_STORE_GENRE_FPS;case l.SKUGenres.DUAL_JOYSTICK_SHOOTER:return u.default.Messages.APPLICATION_STORE_GENRE_DUAL_JOYSTICK_SHOOTER;case l.SKUGenres.SIMULATION:return u.default.Messages.APPLICATION_STORE_GENRE_SIMULATION;case l.SKUGenres.FLIGHT_SIMULATOR:return u.default.Messages.APPLICATION_STORE_GENRE_FLIGHT_SIMULATOR;case l.SKUGenres.TRAIN_SIMULATOR:return u.default.Messages.APPLICATION_STORE_GENRE_TRAIN_SIMULATOR;case l.SKUGenres.LIFE_SIMULATOR:return u.default.Messages.APPLICATION_STORE_GENRE_LIFE_SIMULATOR;case l.SKUGenres.FISHING:return u.default.Messages.APPLICATION_STORE_GENRE_FISHING;case l.SKUGenres.SPORTS:return u.default.Messages.APPLICATION_STORE_GENRE_SPORTS;case l.SKUGenres.BASEBALL:return u.default.Messages.APPLICATION_STORE_GENRE_BASEBALL;case l.SKUGenres.BASKETBALL:return u.default.Messages.APPLICATION_STORE_GENRE_BASKETBALL;case l.SKUGenres.BILLIARDS:return u.default.Messages.APPLICATION_STORE_GENRE_BILLIARDS;case l.SKUGenres.BOWLING:return u.default.Messages.APPLICATION_STORE_GENRE_BOWLING;case l.SKUGenres.BOXING:return u.default.Messages.APPLICATION_STORE_GENRE_BOXING;case l.SKUGenres.FOOTBALL:return u.default.Messages.APPLICATION_STORE_GENRE_FOOTBALL;case l.SKUGenres.GOLF:return u.default.Messages.APPLICATION_STORE_GENRE_GOLF;case l.SKUGenres.HOCKEY:return u.default.Messages.APPLICATION_STORE_GENRE_HOCKEY;case l.SKUGenres.SKATEBOARDING_SKATING:return u.default.Messages.APPLICATION_STORE_GENRE_SKATEBOARDING_SKATING;case l.SKUGenres.SNOWBOARDING_SKIING:return u.default.Messages.APPLICATION_STORE_GENRE_SNOWBOARDING_SKIING;case l.SKUGenres.SOCCER:return u.default.Messages.APPLICATION_STORE_GENRE_SOCCER;case l.SKUGenres.TRACK_FIELD:return u.default.Messages.APPLICATION_STORE_GENRE_TRACK_FIELD;case l.SKUGenres.SURFING_WAKEBOARDING:return u.default.Messages.APPLICATION_STORE_GENRE_SURFING_WAKEBOARDING;case l.SKUGenres.WRESTLING:return u.default.Messages.APPLICATION_STORE_GENRE_WRESTLING;case l.SKUGenres.STRATEGY:return u.default.Messages.APPLICATION_STORE_GENRE_STRATEGY;case l.SKUGenres.FOUR_X:return u.default.Messages.APPLICATION_STORE_GENRE_FOUR_X;case l.SKUGenres.ARTILLERY:return u.default.Messages.APPLICATION_STORE_GENRE_ARTILLERY;case l.SKUGenres.RTS:return u.default.Messages.APPLICATION_STORE_GENRE_RTS;case l.SKUGenres.TOWER_DEFENSE:return u.default.Messages.APPLICATION_STORE_GENRE_TOWER_DEFENSE;case l.SKUGenres.TURN_BASED_STRATEGY:return u.default.Messages.APPLICATION_STORE_GENRE_TURN_BASED_STRATEGY;case l.SKUGenres.WARGAME:return u.default.Messages.APPLICATION_STORE_GENRE_WARGAME;case l.SKUGenres.MOBA:return u.default.Messages.APPLICATION_STORE_GENRE_MOBA;case l.SKUGenres.FIGHTING:return u.default.Messages.APPLICATION_STORE_GENRE_FIGHTING;case l.SKUGenres.PUZZLE:return u.default.Messages.APPLICATION_STORE_GENRE_PUZZLE;case l.SKUGenres.CARD_GAME:return u.default.Messages.APPLICATION_STORE_GENRE_CARD_GAME;case l.SKUGenres.EDUCATION:return u.default.Messages.APPLICATION_STORE_GENRE_EDUCATION;case l.SKUGenres.FITNESS:return u.default.Messages.APPLICATION_STORE_GENRE_FITNESS;case l.SKUGenres.GAMBLING:return u.default.Messages.APPLICATION_STORE_GENRE_GAMBLING;case l.SKUGenres.MUSIC_RHYTHM:return u.default.Messages.APPLICATION_STORE_GENRE_MUSIC_RHYTHM;case l.SKUGenres.PARTY_MINI_GAME:return u.default.Messages.APPLICATION_STORE_GENRE_PARTY_MINI_GAME;case l.SKUGenres.PINBALL:return u.default.Messages.APPLICATION_STORE_GENRE_PINBALL;case l.SKUGenres.TRIVIA_BOARD_GAME:return u.default.Messages.APPLICATION_STORE_GENRE_TRIVIA_BOARD_GAME;default:return u.default.Messages.APPLICATION_STORE_GENRE_MISCELLANEOUS}},t.canUserInstall=function(e){var t=(0,i.nativePlatformTypeToSKUOperatingSystem)(o.default.getPlatform());return e.type===l.SKUTypes.DURABLE_PRIMARY&&null!=t&&e.supportedOperatingSystems.includes(t)},t.getReadablePreorderReleaseDate=function(e){var t=e.preorderReleaseAt,n=e.preorderApproximateReleaseDate;if(null!=t)return t.format("MMMM DD");if(null==n)return null;for(var a=0;a<c.length;a++){var o=c[a],i=o[0],l=o[1],u=(0,r.default)(n,i,!0);if(u.isValid())return u.format(l)}return n};var r=s(n(5)),a=n(54),o=s(n(16)),i=n(289),l=n(1),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}var d={},f={};Object.keys(l.StoreApplicationGenresFilter).forEach((function(e){var t=e.toLowerCase().replace(/_/g,"-"),n=l.StoreApplicationGenresFilter[e];d[t]=n,f[n]=t}));var c=[["YYYY-MM-DD","MMMM DD, Y"],["YYYY-MM","MMMM Y"],["MM-DD","MMMM DD"],["MM","MMMM"],["YYYY","Y"]]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return 16===n||16===a?o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 16 16"}),s("path",{fill:d,className:f,fillRule:"evenodd",clipRule:"evenodd",d:"M14 7V9C14 9 12.5867 9 12.5733 9.00667C12.42 9.58667 12.1733 10.1267 11.84 10.6067L12.74 11.5067L11.4933 12.7533L10.5933 11.8533C10.1133 12.1867 9.57334 12.44 8.99334 12.5867V14H6.99334V12.58C6.41334 12.4333 5.87334 12.18 5.39334 11.8467L4.49333 12.7467L3.24667 11.5L4.14667 10.6C3.81333 10.1267 3.56 9.58 3.41333 9H2V7H3.41333C3.56 6.42 3.81333 5.88 4.14667 5.4L3.24667 4.5L4.5 3.24667L5.4 4.14667C5.87334 3.81333 6.42 3.56 7 3.41333V2H9V3.41333C9.58 3.56667 10.12 3.81333 10.6 4.14667L11.5067 3.25333L12.7533 4.5L11.8533 5.4C12.1867 5.87334 12.44 6.42 12.5867 7H14ZM8 10C9.10457 10 10 9.10457 10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10Z"})):o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fill:d,className:f,fillRule:"evenodd",clipRule:"evenodd",d:"M19.738 10H22V14H19.739C19.498 14.931 19.1 15.798 18.565 16.564L20 18L18 20L16.565 18.564C15.797 19.099 14.932 19.498 14 19.738V22H10V19.738C9.069 19.498 8.203 19.099 7.436 18.564L6 20L4 18L5.436 16.564C4.901 15.799 4.502 14.932 4.262 14H2V10H4.262C4.502 9.068 4.9 8.202 5.436 7.436L4 6L6 4L7.436 5.436C8.202 4.9 9.068 4.502 10 4.262V2H14V4.261C14.932 4.502 15.797 4.9 16.565 5.435L18 3.999L20 5.999L18.564 7.436C19.099 8.202 19.498 9.069 19.738 10ZM12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16Z"}))}d.displayName="Gear"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return 16===n||16===a?o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 16 16"}),s("path",{className:f,fill:d,d:"M14 2H16V3H14V5H13V3H11V2H13V0H14V2Z"}),s("path",{className:f,fill:d,d:"M6.5 8.00667C7.88 8.00667 9 6.88667 9 5.50667C9 4.12667 7.88 3.00667 6.5 3.00667C5.12 3.00667 4 4.12667 4 5.50667C4 6.88667 5.12 8.00667 6.5 8.00667Z"}),s("path",{className:f,fill:d,d:"M6.5 8.34C3.26 8.34 1 9.98666 1 12.34V13.0067H12V12.34C12 9.98 9.74 8.34 6.5 8.34Z"})):o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M21 3H24V5H21V8H19V5H16V3H19V0H21V3ZM10 12C12.205 12 14 10.205 14 8C14 5.795 12.205 4 10 4C7.795 4 6 5.795 6 8C6 10.205 7.795 12 10 12ZM10 13C5.289 13 2 15.467 2 19V20H18V19C18 15.467 14.711 13 10 13Z"}))}d.displayName="PersonAdd"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(8)),a=l(n(14)),o=l(n(2)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}var u=["Spidey Bot","Captain Hook"],s={fetchForGuild:function(e){o.default.dirtyDispatch({type:i.ActionTypes.WEBHOOKS_FETCHING,guildId:e}),a.default.get({url:i.Endpoints.GUILD_WEBHOOKS(e),oldFormErrors:!0}).then((function(t){var n=t.body;return o.default.dispatch({type:i.ActionTypes.WEBHOOKS_UPDATE,guildId:e,webhooks:n})})).catch((function(t){var n=t.body;o.default.dispatch({type:i.ActionTypes.WEBHOOKS_UPDATE,guildId:e,error:n.message})}))},fetchForChannel:function(e,t){o.default.dirtyDispatch({type:i.ActionTypes.WEBHOOKS_FETCHING,guildId:e,channelId:t}),a.default.get({url:i.Endpoints.CHANNEL_WEBHOOKS(t),oldFormErrors:!0}).then((function(n){var r=n.body;return o.default.dispatch({type:i.ActionTypes.WEBHOOKS_UPDATE,guildId:e,channelId:t,webhooks:r})}))},create:function(e,t,n){return null==n&&(n=u[r.default.random(0,u.length-1)]),a.default.post({url:i.Endpoints.CHANNEL_WEBHOOKS(t),body:{name:n},oldFormErrors:!0}).then((function(t){var n=t.body;return o.default.dispatch({type:i.ActionTypes.WEBHOOK_CREATE,guildId:e,webhook:n}),n}))},delete:function(e,t){return a.default.delete({url:i.Endpoints.WEBHOOK(t),oldFormErrors:!0}).then((function(){o.default.dispatch({type:i.ActionTypes.WEBHOOK_DELETE,guildId:e,webhookId:t})}))},update:function(e,t,n){return a.default.patch({url:i.Endpoints.WEBHOOK(t),body:n,oldFormErrors:!0}).then((function(t){var n=t.body;return o.default.dispatch({type:i.ActionTypes.WEBHOOK_UPDATE,guildId:e,webhook:n}),n}))}};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=f(n(8330)),i=n(8253),l=n(31),u=f(n(40)),s=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.id,n=(0,a.useStateFromStoresObject)([u.default],(function(){return{canManageChannels:u.default.can(s.Permissions.MANAGE_CHANNELS,e),canManageRoles:u.default.can(s.Permissions.MANAGE_ROLES,e),canManageWebhooks:u.default.can(s.Permissions.MANAGE_WEBHOOKS,e),canViewChannel:u.default.can(s.Permissions.VIEW_CHANNEL,e),canConnectChannel:u.default.can(s.Permissions.CONNECT,e)}}),[e]),r=n.canManageChannels,f=n.canManageRoles,c=n.canManageWebhooks,v=n.canViewChannel,y=n.canConnectChannel;return __OVERLAY__?null:r||f||c?(0,l.isGuildSelectableChannelType)(e.type)&&!v||e.isVocal()&&!y?null:p(i.MenuItem,{id:"edit-channel",label:e.type===s.ChannelTypes.GUILD_CATEGORY?d.default.Messages.EDIT_CATEGORY:d.default.Messages.EDIT_CHANNEL,action:function(){return o.default.open(t)}}):null}v.displayName="useChannelEditItem"},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyMessageIcon=v,t.EmptyMessageHeader=y,t.EmptyMessageBody=m,t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(9)),i=n(8541),l=d(n(47)),u=d(n(24)),s=d(n(7814));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t,n=e.locked,r=void 0!==n&&n;return p("div",{className:(0,o.default)(s.default.emptyChannelIcon,(t={},t[s.default.locked]=r,t))})}function y(e){var t=e.children;return p(l.default,{className:s.default.header,size:l.default.Sizes.SIZE_32},void 0,t)}function m(e){var t=e.children;return p(u.default,{size:u.default.Sizes.SIZE_16,color:u.default.Colors.CUSTOM,className:s.default.description},void 0,t)}function _(e){var t=e.className,n=e.channelId,r=e.children,l=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["className","channelId","children"]);return a.createElement("div",c({className:(0,o.default)(t,s.default.container),id:(0,i.getMessageDOMId)(n)},l),r)}v.displayName="EmptyMessageIcon",y.displayName="EmptyMessageHeader",m.displayName="EmptyMessageBody",_.displayName="EmptyMessage";var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function i(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,i=e.color,l=void 0===i?"currentColor":i,u=e.className,s=e.foreground;return o("svg",{width:n,height:a,viewBox:"0 0 24 24",className:u},void 0,o("path",{className:e.background,fill:l,d:"M14 8C14 7.44772 13.5523 7 13 7H9.76001L10.3657 3.58738C10.4201 3.28107 10.1845 3 9.87344 3H8.88907C8.64664 3 8.43914 3.17391 8.39677 3.41262L7.76001 7H4.18011C3.93722 7 3.72946 7.17456 3.68759 7.41381L3.51259 8.41381C3.45905 8.71977 3.69449 9 4.00511 9H7.41001L6.35001 15H2.77011C2.52722 15 2.31946 15.1746 2.27759 15.4138L2.10259 16.4138C2.04905 16.7198 2.28449 17 2.59511 17H6.00001L5.39427 20.4126C5.3399 20.7189 5.57547 21 5.88657 21H6.87094C7.11337 21 7.32088 20.8261 7.36325 20.5874L8.00001 17H14L13.3943 20.4126C13.3399 20.7189 13.5755 21 13.8866 21H14.8709C15.1134 21 15.3209 20.8261 15.3632 20.5874L16 17H19.5799C19.8228 17 20.0306 16.8254 20.0724 16.5862L20.2474 15.5862C20.301 15.2802 20.0655 15 19.7549 15H16.35L16.6758 13.1558C16.7823 12.5529 16.3186 12 15.7063 12C15.2286 12 14.8199 12.3429 14.7368 12.8133L14.3504 15H8.35045L9.41045 9H13C13.5523 9 14 8.55228 14 8Z"}),o("path",{className:s,fill:l,d:"M21.025 5V4C21.025 2.88 20.05 2 19 2C17.95 2 17 2.88 17 4V5C16.4477 5 16 5.44772 16 6V9C16 9.55228 16.4477 10 17 10H19H21C21.5523 10 22 9.55228 22 9V5.975C22 5.43652 21.5635 5 21.025 5ZM20 5H18V4C18 3.42857 18.4667 3 19 3C19.5333 3 20 3.42857 20 4V5Z"}))}i.displayName="ChannelTextLimited"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=I(n(9)),o=n(680),i=n(3),l=I(n(706)),u=n(1209),s=I(n(10)),d=I(n(40)),f=I(n(8424)),c=n(99),p=I(n(8590)),v=I(n(682)),y=I(n(8497)),m=n(8830),_=I(n(8652)),h=I(n(8653)),E=I(n(8654)),g=I(n(8931)),S=n(1),O=I(n(7343));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(){return(C=Object.assign||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}).apply(this,arguments)}function b(e){var t,n=e.message,I=e.compact,T=void 0!==I&&I,b=e.className,M=e.onContextMenu,N=e.onClick,A=e.disableInteraction,P=void 0!==A&&A,R=e.renderMediaEmbeds,L=void 0===R||R,D=e.channel,w=(e.isGroupStart,e.animateAvatar,e.subscribeToComponentDispatch,e.renderThreadAccessory),j=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["message","compact","className","onContextMenu","onClick","disableInteraction","renderMediaEmbeds","channel","isGroupStart","animateAvatar","subscribeToComponentDispatch","renderThreadAccessory"]),k=(0,y.default)(n,L),U=k.content,G=k.hasSpoilerEmbeds,F=n.type===S.MessageTypes.REPLY?n.messageReference:void 0,B=(0,i.useStateFromStores)([l.default],(function(){return l.default.getMessageByReference(F)})),H=(0,o.useListItem)(n.id),x=(0,v.default)(n),V=(0,u.useCanSeeThreads)(),W=(0,i.useStateFromStores)([s.default],(function(){return n.hasFlag(S.MessageFlags.HAS_THREAD)&&s.default.getChannel(n.id)})),Y=(0,i.useStateFromStores)([d.default],(function(){return d.default.can(S.Permissions.CREATE_INSTANT_INVITE,D)}));return(0,p.default)(n,Y)?null:r.createElement(f.default,C({compact:T,className:(0,a.default)(b,(t={},t[O.default.ephemeral]=(0,c.hasFlag)(n.flags,S.MessageFlags.EPHEMERAL),t[O.default.disableInteraction]=P,t)),disableInteraction:P,childrenRepliedMessage:(0,g.default)(n,F,B,T),childrenHeader:(0,h.default)(C({},e,{guildId:D.guild_id,author:x})),childrenAccessories:(0,m.renderSimpleAccessories)(e,G),childrenMessageContent:(0,_.default)(e,U),childrenSystemMessage:(0,E.default)(e),onContextMenu:M,onClick:N,hasThread:w&&V&&null!=W&&n.hasFlag(S.MessageFlags.HAS_THREAD),hasReply:n.type===S.MessageTypes.REPLY},H,j))}b.displayName="ChannelMessage";var M=r.memo(b);t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M16.293 9.293L17.707 10.707L12 16.414L6.29297 10.707L7.70697 9.293L11 12.586V2H13V12.586L16.293 9.293ZM18 20V18H20V20C20 21.102 19.104 22 18 22H6C4.896 22 4 21.102 4 20V18H6V20H18Z"}))}d.displayName="Download"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,i=Math.round(screen.width/2-350),l=screen.height>640?Math.round(screen.height/2-320):0;a.default.isDesktop()||(n=window.open(location.protocol+"//"+location.host+o.Routes.CONNECTIONS(e)+"?loading=true","authorize","scrollbars=yes,resizable=yes,toolbar=no,location=yes,top="+l+",left="+i+",width=700,height=640"));r.default.authorize(e,t).then((function(e){var t=e.body.url;null!=t&&(null!=n?n.location.href=t:window.open(t))}))};var r=i(n(739)),a=i(n(16)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===t&&(t="ContextMenu");var n=e.id,r=e.username,v=e.bot,y=(0,o.useStateFromStores)([s.default],(function(){return s.default.getCurrentUser().id===n}),[n]),h=(0,o.useStateFromStoresArray)([u.default],(function(){return[u.default.isFriend(n),u.default.isBlocked(n)]}),[n]),E=h[0],g=h[1],S=a.useState(!1),O=S[0],I=S[1];if(v||y)return null;return _(l.MenuItem,E?{id:"remove-friend",label:p.default.Messages.REMOVE_FRIEND,action:function(){(0,f.openModal)((function(e){return a.createElement(d.default,m({header:p.default.Messages.REMOVE_FRIEND_TITLE.format({name:r}),confirmText:p.default.Messages.REMOVE_FRIEND,cancelText:p.default.Messages.CANCEL,onConfirm:function(){i.default.removeRelationship(n,{location:t}),I(!1)}},e),_(c.default,{size:c.default.Sizes.SIZE_16},void 0,p.default.Messages.REMOVE_FRIEND_BODY.format({name:r})))}))}}:{id:"add-friend",label:O?p.default.Messages.ADD_FRIEND_BUTTON_AFTER:p.default.Messages.ADD_FRIEND,action:function(){O||(i.default.addRelationship(n,{location:t}),I(!0))},disabled:g||O&&!E})};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=v(n(1217)),l=n(8253),u=v(n(70)),s=v(n(12)),d=v(n(466)),f=n(41),c=v(n(24)),p=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=c(n(9297)),l=n(8253),u=c(n(9298)),s=c(n(70)),d=n(41),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(){return(y=Object.assign||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}).apply(this,arguments)}function m(e){var t=e.id,n=(0,o.useStateFromStoresArray)([s.default],(function(){var e;return[s.default.isFriend(t),null!==(e=s.default.getNickname(t))&&void 0!==e?e:null]}),[t]),r=n[0],c=n[1],p=(0,i.default)();if(!r||!p)return null;var m=null==c?"add-friend-nickname":"edit-friend-nickname",_=null==c?f.default.Messages.ADD_FRIEND_NICKNAME:f.default.Messages.CHANGE_FRIEND_NICKNAME;return v(l.MenuItem,{id:m,label:_,action:function(){(0,d.openModal)((function(t){return a.createElement(u.default,y({user:e,nickname:c},t))}))}})}m.displayName="useAddFriendNicknameItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=S;var r,a=m(n(0)),o=n(8253),i=v(n(8264)),l=v(n(8821)),u=v(n(8268)),s=v(n(11)),d=v(n(160)),f=m(n(8382)),c=n(1),p=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(){return(h=Object.assign||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}).apply(this,arguments)}function E(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){E(o,r,a,i,l,"next",e)}function l(e){E(o,r,a,i,l,"throw",e)}i(void 0)}))}}function S(e){var t=e.user,n=e.guildId,r=e.channelId,v=e.target,y=e.popoutPosition,m=void 0===y?f.default.Positions.RIGHT:y,E=e.context,S=t.id,O=(0,l.default)(S),I=O.loading,T=O.note,C=!I&&null!=T&&T.length>0,b=E===c.AppContext.POPOUT;return S===s.default.getId()||d.default.hidePersonalInformation||b?null:_(o.MenuItem,{id:"note",label:I?p.default.Messages.LOADING_NOTE:C?p.default.Messages.EDIT_NOTE:p.default.Messages.ADD_NOTE,action:g(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=v){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,(0,i.default)(t.id,t.getAvatarURL(n||void 0));case 4:(0,f.openPopout)(v,{closeOnScroll:!1,render:function(e){return a.createElement(u.default,h({},e,{user:t,userId:S,guildId:null!=n?n:void 0,channelId:null!=r?r:void 0,setNote:!0}))},position:m,offsetX:15,shadow:!1});case 5:case"end":return e.stop()}}),e)})))})}S.displayName="useAddNoteItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyChatRestrictions=function(e){var t=e.target,n=e.type,m=e.content,_=e.stickers,g=e.channel,S=e.restrictMentions,O=void 0===S||S,I=e.respectCooldown,T=void 0===I||I,C=p.default.canUseIncreasedMessageLength(s.default.getNullableCurrentUser());return new Promise((function(e){return function(e){var t=e.target,n=e.type,s=e.content,p=e.stickers,m=e.channel,_=e.restrictMentions,g=e.respectCooldown,S=e.userCanUsePremiumMessageLength,O=e.resolve,I=n===v.TextareaTypes.FORM;if(0===s.length&&!I&&(null==p||0===p.length))return void O({valid:!1,failureReason:v.MessageRestrictionTypes.EMPTY_MESSAGE});var T=S?v.MAX_MESSAGE_LENGTH_PREMIUM:v.MAX_MESSAGE_LENGTH,C=!S;if(s.length>T)return C?null!=m&&a.default.dispatch({type:v.ActionTypes.MESSAGE_LENGTH_UPSELL,channel:m,content:s}):function(e,t){(0,d.openModal)((function(n){return r.createElement(o.default,E({title:y.default.Messages.MESSAGE_TOO_LONG_HEADER,body:y.default.Messages.MESSAGE_TOO_LONG_BODY_TEXT.format({currentLength:e,maxLength:t}),confirmText:y.default.Messages.OKAY},n))})),f.default.track(v.AnalyticEvents.OPEN_MODAL,{type:"Message Too Long Alert",message_content_length:e})}(s.length,T),void O({valid:!1,failureReason:v.MessageRestrictionTypes.MESSAGE_TOO_LONG});if(null!=m){if(null!=m.getGuildId()&&g&&u.default.getSlowmodeCooldownGuess(m.id)>0)return void O({valid:!1,failureReason:v.MessageRestrictionTypes.SLOWMODE_COOLDOWN});if(t)for(var b,M=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(c.RESTRICTIONS);!(b=M()).done;){var N=b.value,A=N.check,P=N.analyticsType,R=N.animation,L=A(s,m,_);if(!1!==L)return void(0,i.showPopout)(t,n,m,(function(){return O({valid:!1,failureReason:v.MessageRestrictionTypes.SHOUTING_CANCELLED})}),(function(){return O({valid:!0})}),(function(){return O({valid:!1,failureReason:v.MessageRestrictionTypes.SHOUTING_CANCELLED})}),P,L,R)}}if(l.default.isFull())return(0,d.openModal)((function(e){return r.createElement(o.default,E({title:y.default.Messages.MESSAGE_RATE_LIMITED_HEADER,body:y.default.Messages.MESSAGE_RATE_LIMITED_BODY,confirmText:y.default.Messages.MESSAGE_RATE_LIMITED_BUTTON},e))})),void O({valid:!1,failureReason:v.MessageRestrictionTypes.RATE_LIMITED});O({valid:!0})}({target:t,type:n,content:m,stickers:_,channel:g,restrictMentions:O,respectCooldown:T,userCanUsePremiumMessageLength:C,resolve:e})}))};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=m(n(2)),o=m(n(218)),i=n(9323),l=m(n(1324)),u=m(n(1242)),s=m(n(12)),d=n(41),f=m(n(13)),c=n(9324),p=m(n(96)),v=n(1),y=m(n(6));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function E(){return(E=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openPopout=E,t.default=t.Positions=void 0;var r,a,o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),l=v(n(9)),u=v(n(67)),s=v(n(98)),d=v(n(8309)),f=v(n(1238)),c=n(121),p=n(1);function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(){return(_=Object.assign||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}).apply(this,arguments)}t.Positions=r,function(e){e.TOP="top",e.TOP_LEFT="top-left",e.TOP_RIGHT="top-right",e.CENTER="center",e.LEFT="left",e.RIGHT="right",e.BOTTOM="bottom",e.BOTTOM_RIGHT="bottom-right",e.BOTTOM_LEFT="bottom-left"}(r||(t.Positions=r={})),function(e){e.DEFAULT="default",e.SPRING="spring",e.NONE="none"}(a||(a={})),function(e){e.TOP="top",e.MIDDLE="middle"}(o||(o={}));var h={position:r.TOP,backdrop:!1,animationType:"default",closeOnScroll:!0,toggleClose:!0,shadow:!0,preventInvert:!1,preventCloseFromModal:!1,preventClickPropagation:!1,preventCloseOnUnmount:!1,zIndexBoost:0,offsetX:0,offsetY:0,arrowAlignment:o.TOP,showArrow:!1};function E(e,t,n,r){var a=t.offsetX,o=void 0===a?0:a,i=t.offsetY,l=void 0===i?0:i,s=e;if(s instanceof Element||(s=u.default.findDOMNode(e)),!(s instanceof Element))return null;var f=0,c=s.getBoundingClientRect(),p=c.top,v=c.left,y=c.right,m=c.bottom;null!=r&&(f=r.pageX-v);var h=_({key:n,targetWidth:y-v,targetHeight:m-p,x:v+o,y:p+l,clickPos:f},t);d.default.open(h)}var g=function(e){var t,n;function r(t){var n;(n=e.call(this,t)||this).getStateFromStores=function(){n.setState({isOpen:f.default.isOpen(""+n.state.uniqueId)})},n.toggle=function(e){var t=n.state.isOpen;t&&n.props.toggleClose?n.close():t||n.open(e)},n.close=function(){var e=n.state,t=e.isOpen,r=e.uniqueId,a=n.props.onClose;t&&d.default.close(r),c.ComponentDispatch.unsubscribe(p.ComponentActions.POPOUT_CLOSE,n.close),a&&a()},n.handleClick=function(e){var t=n.props,r=t.children;if(null!=t.render){e.preventDefault(),e.stopPropagation();var a=i.Children.only(r).props.onClick;n.toggle(e),a&&a(e)}},n.state={uniqueId:t.uniqueId||s.default.v4(),isOpen:!1},f.default.addChangeListener(n.getStateFromStores);var r=t.subscribeTo;return null!=r&&c.ComponentDispatch.subscribe(r,n.toggle),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var a=r.prototype;return a.componentDidUpdate=function(e,t){e.position!==this.props.position&&this.state.isOpen?this.open():t.isOpen&&!this.state.isOpen&&this.close()},a.componentWillUnmount=function(){var e=this.props,t=e.subscribeTo,n=e.preventCloseOnUnmount;null!=t&&c.ComponentDispatch.unsubscribe(t,this.toggle),f.default.removeChangeListener(this.getStateFromStores),n?c.ComponentDispatch.unsubscribe(p.ComponentActions.POPOUT_CLOSE,this.close):this.close()},a.open=function(e,t){void 0===t&&(t=this.props);var n=t,r=n.position,a=n.animationType,o=n.preventInvert,i=n.zIndexBoost,l=n.offsetX,u=n.offsetY,s=n.closeOnScroll,d=n.containerClass,f=n.dependsOn,v=n.shadow,y=n.backdrop,m=n.render,_=n.onOpen,h=n.preventCloseFromModal,g=n.arrowAlignment,S=n.showArrow,O=n.forceTheme;if(null==m)return null;var I={position:r,offsetX:l,offsetY:u,animationType:a,preventInvert:o,zIndexBoost:i,closeOnScroll:s,containerClass:d,dependsOn:f,shadow:v,backdrop:y,render:m,preventCloseFromModal:h,arrowAlignment:g,showArrow:S,forceTheme:O};c.ComponentDispatch.subscribe(p.ComponentActions.POPOUT_CLOSE,this.close),E(null!=e&&e.currentTarget instanceof Element?e.currentTarget:this,I,this.state.uniqueId,e),_&&_()},a.render=function(){var e=this.props.children;if(null!=e){var t=i.Children.only(e);return i.cloneElement(t,{onClick:this.handleClick,className:(0,l.default)(t.props.className,{"popout-open":this.state.isOpen})})}return null},r}(i.PureComponent);g.displayName="DeprecatedPopout",g.Positions=r,g.Animations=a,g.ArrowAlignments=o,g.defaultProps=h;var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i=p(n(3)),l=p(n(2)),u=p(n(10)),s=p(n(36)),d=p(n(12)),f=n(8279),c=n(1);function p(e){return e&&e.__esModule?e:{default:e}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=u.default.getChannel(e),n=null!=t&&t.type===c.ChannelTypes.DM?t.getRecipientId():null,i=d.default.getUser(n);if(null!=i&&i.bot||(n=null),r===n)return!1;r=n,a=null,o=null}var m=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var l=i.prototype;return l.initialize=function(){this.waitFor(u.default)},l.getCommands=function(e,t){return r===e&&t===o?a:null},i}(i.default.Store))(l.default,{LOGOUT:function(e){return r=null,a=null,void(o=null)},CONNECTION_OPEN:function(e){var t;null!=(t=s.default.getChannelId())&&y(t)},CHANNEL_SELECT:function(e){var t=e.channelId;null!=t&&y(t)},DM_APPLICATION_COMMANDS_UPDATE:function(e){var t=e.botUserId,n=e.applicationCommands,i=e.commandTarget;if(t!==r)return!1;a=(0,f.buildApplicationCommands)(n).filter((function(e){return e.target===i})),o=i}});t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=y(n(1217)),l=n(8253),u=y(n(70)),s=y(n(12)),d=y(n(466)),f=n(41),c=y(n(24)),p=n(1),v=y(n(6));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e,t){void 0===t&&(t="ContextMenu");var n=e.id,r=(0,o.useStateFromStores)([s.default],(function(){return s.default.getCurrentUser().id===n}),[n]),y=(0,o.useStateFromStores)([u.default],(function(){return u.default.isBlocked(n)}),[n]);if(r)return null;function m(){i.default.addRelationship(n,{location:t},p.RelationshipTypes.BLOCKED)}return h(l.MenuItem,{id:"block",label:y?v.default.Messages.UNBLOCK:v.default.Messages.BLOCK,action:function(){return y?i.default.removeRelationship(n,{location:t}):(0,f.openModal)((function(t){return a.createElement(d.default,_({header:v.default.Messages.CONFIRM_USER_BLOCK_TITLE.format({name:e.username}),confirmText:v.default.Messages.BLOCK,cancelText:v.default.Messages.CANCEL,onConfirm:m},t),h(c.default,{size:c.default.Sizes.SIZE_16},void 0,v.default.Messages.CONFIRM_USER_BLOCK_BODY.format({name:e.username})))}))}})}E.displayName="useBlockUserItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=c(n(391)),i=n(8253),l=c(n(11)),u=c(n(10)),s=c(n(36)),d=n(1),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e,t){var n=l.default.getId(),r=t===d.AppContext.POPOUT,c=(0,a.useStateFromStores)([s.default,u.default],(function(){return s.default.getVoiceChannelId()===u.default.getDMFromUserId(e.id)}));return n===e.id||r||c||e.bot?null:v(i.MenuItem,{id:"call",label:f.default.Messages.CALL,action:function(){return o.default.openPrivateChannel(e.id,!0)}})}y.displayName="useCallUserItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=T;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=E(n(391)),l=E(n(1211)),u=E(n(390)),s=n(8253),d=E(n(10)),f=E(n(86)),c=E(n(40)),p=E(n(70)),v=E(n(361)),y=E(n(12)),m=n(8286),_=n(1),h=E(n(6));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(){return(O=Object.assign||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}).apply(this,arguments)}function I(e,t){i.default.ensurePrivateChannel(e).then((function(e){null!=d.default.getChannel(e)&&u.default.sendInvite(e,t,"context_menu",null)}))}function T(e,t){var n=(0,o.useStateFromStores)([y.default],(function(){return y.default.getCurrentUser()}),[]),r=(0,o.useStateFromStores)([v.default],(function(){return v.default.getFlattenedGuilds()}),[]),i=a.useState({}),u=i[0],d=i[1];var E=r.filter((function(e){return(0,m.canViewInviteModal)(c.default,e)&&e.id!==t}));return n.id===e.id||e.bot||0===E.length||p.default.isBlocked(e.id)?null:S(s.MenuItem,{id:"invite-to-server",label:h.default.Messages.INVITE_TO_SERVER},void 0,E.map((function(t){return u[t.id]?S(s.MenuItem,{id:t.id,disabled:!0,label:h.default.Messages.INVITE_SENT},t.id):S(s.MenuItem,{id:t.id,label:t.name,action:function(){return function(e,t){var n,r,a=f.default.getDefaultChannel(e.id);null!=a&&(d(O({},u,((n={})[e.id]=!0,n))),c.default.can(_.Permissions.CREATE_INSTANT_INVITE,e)?l.default.createInvite(a.id,(r={},r.max_uses=1,r.unique=!0,r),"User Invite Context Menu").then((function(e){return I(t,e.code)})):I(t,e.vanityURLCode))}(t,e.id)}},t.id)})))}T.displayName="useInviteUserToGuildItems"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===t&&(t=o.MediaEngineContextTypes.DEFAULT);var n=s.default.getCurrentUser().id===e,r=(0,a.useStateFromStoresObject)([u.default],(function(){return n?{muted:u.default.isSelfMute(t),deafened:u.default.isSelfDeaf(t)}:{muted:u.default.isLocalMute(e,t),localVideoDisabled:u.default.isLocalVideoDisabled(e,t)}}),[n]),f=r.muted,c=r.deafened,v=void 0!==c&&c,y=r.localVideoDisabled,m=void 0!==y&&y;return n?[p(l.MenuCheckboxItem,{id:"mute",label:d.default.Messages.SOUND_MUTE,action:function(){return i.default.toggleSelfMute(t)},checked:f},"self-mute"),p(l.MenuCheckboxItem,{id:"deafen",label:d.default.Messages.DEAFEN,action:function(){return i.default.toggleSelfDeaf(t)},checked:v},"self-deafen")]:[p(l.MenuCheckboxItem,{id:"mute",label:d.default.Messages.SOUND_MUTE,action:function(){return i.default.toggleLocalMute(e,t)},checked:f},"self-mute"),u.default.supports(o.Features.DISABLE_VIDEO)?p(l.MenuCheckboxItem,{id:"disable-video",label:d.default.Messages.DISABLE_VIDEO,action:function(){return i.default.setDisableLocalVideo(e,!m,t)},checked:m},"disable-video"):null]};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=n(34),i=f(n(288)),l=n(8253),u=f(n(51)),s=f(n(12)),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=d(n(1332)),i=n(8253),l=d(n(256)),u=n(1),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=(0,a.useStateFromStores)([l.default],(function(){return(0,o.default)(l.default.findActivity(e,(function(e){return e.type===u.ActivityTypes.STREAMING})))}),[e]);return null==t?null:c(i.MenuItem,{id:"watch-stream",label:s.default.Messages.WATCH_STREAM,action:function(){return window.open(t,"_blank")}})}p.displayName="useWatchStreamItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);var i={clearDraft:function(e,t){a.default.dirtyDispatch({type:o.ActionTypes.DRAFT_CLEAR,channelId:e,draftType:t})},saveDraft:function(e,t,n){a.default.dirtyDispatch({type:o.ActionTypes.DRAFT_SAVE,channelId:e,draft:t,draftType:n})},changeDraft:function(e,t,n){a.default.dirtyDispatch({type:o.ActionTypes.DRAFT_CHANGE,channelId:e,draft:t,draftType:n})},changeThreadSettings:function(e,t){a.default.dirtyDispatch({type:o.ActionTypes.THREAD_SETTINGS_DRAFT_CHANGE,channelId:e,draft:t})}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createPendingReply=function(e){var t=e.message,n=e.channel,r=e.shouldMention,i=e.showMentionToggle;a.default.dispatch({type:o.ActionTypes.CREATE_PENDING_REPLY,message:t,channel:n,shouldMention:r,showMentionToggle:i})},t.setPendingReplyShouldMention=function(e,t){a.default.dispatch({type:o.ActionTypes.SET_PENDING_REPLY_SHOULD_MENTION,channelId:e,shouldMention:t})},t.deletePendingReply=function(e){a.default.dispatch({type:o.ActionTypes.DELETE_PENDING_REPLY,channelId:e})};var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=Q();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=J(n(9)),i=J(n(64)),l=J(n(8312)),u=n(3),s=J(n(390)),d=J(n(8617)),f=J(n(105)),c=J(n(8280)),p=J(n(9392)),v=n(8278),y=J(n(9402)),m=n(8622),_=n(1218),h=J(n(9418)),E=n(8365),g=J(n(8560)),S=J(n(9478)),O=J(n(88)),I=J(n(182)),T=J(n(8869)),C=n(8390),b=J(n(1276)),M=n(5940),N=n(290),A=n(1209),P=n(1225),R=J(n(56)),L=J(n(40)),D=J(n(8628)),w=J(n(39)),j=J(n(12)),k=n(8349),U=J(n(78)),G=J(n(16)),F=J(n(96)),B=J(n(9480)),H=J(n(9495)),x=J(n(9496)),V=J(n(9497)),W=J(n(9498)),Y=J(n(9500)),z=n(8849),K=J(n(9502)),$=J(n(9505)),Z=J(n(9508)),q=n(1),X=J(n(7344));function J(e){return e&&e.__esModule?e:{default:e}}function Q(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Q=function(){return e},e}function ee(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function te(e,t){var n,r,J,Q,te=e.textValue,ne=e.richValue,re=e.className,ae=e.innerClassName,oe=e.disabled,ie=e.placeholder,le=e.channel,ue=e.type,se=e.focused,de=e.renderAttachButton,fe=e.shouldRenderPremiumGiftButton,ce=e.shouldUploadLongMessages,pe=e.pendingReply,ve=e.onChange,ye=e.onResize,me=e.onBlur,_e=e.onFocus,he=e.onKeyDown,Ee=e.onSubmit,ge=e.promptToUpload,Se=e.highlighted,Oe=e.canExecuteCommands,Ie=e.canMentionRoles,Te=e.canMentionChannels,Ce=e.maxCharacterCount,be=e.characterCountClassName,Me=e.autoSuggestEnabled,Ne=void 0!==Me&&Me,Ae=e.canAttachStickers,Pe=void 0!==Ae&&Ae,Re=e.canAddGIFs,Le=void 0!==Re&&Re,De=e.disableAutoFocus,we=ue===q.TextareaTypes.THREAD_CREATION?P.DraftType.FirstThreadMessage:P.DraftType.ChannelMessage,je=a.useState((function(){return new i.default}))[0],ke=a.useRef(null),Ue=a.useRef(null),Ge=a.useRef(null),Fe=a.useRef(null),Be=a.useRef(null),He=a.useRef(null),xe=a.useRef(null),Ve=a.useRef(null),We=a.useRef(null);a.useEffect((function(){je.emit("text-changed",te,ne)}),[te,ne,je]);if(null!=t&&"function"==typeof t)throw Error("Only Ref objects are supported");null==t&&(t=Fe);var Ye=(0,u.useStateFromStores)([w.default],(function(){return w.default.useRichChatTextBox}),[])&&!G.default.isAndroid()&&null!=window.ResizeObserver,ze=le.getGuildId(),Ke=(0,u.useStateFromStores)([I.default],(function(){return null!=ze&&I.default.isLurking(ze)}),[ze]),$e=(0,u.useStateFromStores)([R.default,j.default],(function(){var e,t,n=j.default.getCurrentUser();return null!==(e=null!=ze&&null!=n?null===(t=R.default.getMember(ze,n.id))||void 0===t?void 0:t.isPending:null)&&void 0!==e&&e})),Ze=(0,u.useStateFromStoresObject)([L.default],(function(){var e=le.isPrivate(),t=L.default.can(q.Permissions.SEND_MESSAGES,le),n=t&&L.default.can(q.Permissions.ATTACH_FILES,le),r=(0,A.computeIsReadonlyThread)(le);return{disabled:oe||$e||!e&&!t||r,canAttachFiles:e||$e||n}}),[oe,le]),qe=Ze.disabled,Xe=Ze.canAttachFiles,Je=(0,u.useStateFromStores)([j.default],(function(){return F.default.canUseIncreasedMessageLength(j.default.getCurrentUser())})),Qe=(0,T.default)(),et=(0,u.useStateFromStores)([f.default],(function(){return f.default.fontSize})),tt=(0,u.useStateFromStores)([D.default],(function(){return D.default.isEnabled()})),nt=(0,E.useExpressionPickerStore)((function(e){return[e.activeView,e.activeViewType]}),l.default),rt=nt[0],at=nt[1];a.useEffect((function(){return function(){(0,E.closeExpressionPicker)(ue)}}),[ue]);var ot=(0,u.useStateFromStores)([c.default],(function(){return Oe?c.default.getActiveCommand():null}),[Oe]),it=a.useCallback((function(){var e;null==rt&&(null===(e=Ge.current)||void 0===e||e.handleOuterClick())}),[rt]),lt=function(e,t,n,r){var o=a.useState(!1),i=o[0],l=o[1],u=a.useCallback((function(a,o,u){var s,d;if(!i){l(!0);var f=null!==(s=null===(d=b.default.getStickerPreview(r))||void 0===d?void 0:d.map((function(e){return e.id})))&&void 0!==s?s:[];e(a,f,o,u).then((function(e){var r=e.shouldClear,a=e.shouldRefocus;null!=n.current&&(r&&t===q.TextareaTypes.NORMAL&&n.current.clearValue(),l(!1),(0,E.closeExpressionPicker)(),a&&n.current.focus())}))}}),[n,e,i,t,r]);return{submitting:i,submit:u}}(Ee,ue,Ge,le.id),ut=lt.submitting,st=lt.submit,dt=function(e,t){return a.useCallback((function(n){var r;(0,E.closeExpressionPicker)(),e(n.url),null===(r=t.current)||void 0===r||r.focus()}),[t,e])}(st,Ge),ft=function(e){return a.useCallback((function(t,n,r){void 0===r&&(r=!1);var a=e.current;null!=t&&null!=a&&a.insertEmoji(t,n,r),n&&(0,E.closeExpressionPicker)()}),[e])}(Ge),ct=function(e,t,n,r,o){return a.useCallback((function(a,i){var l;if(!n){var u;if((0,N.shouldAttachSticker)(i,r,o))(0,z.trackStickerPreviewSelect)({sticker:a,stickerSelectLocation:i,isReplacement:null!=b.default.getStickerPreview(o)}),(0,M.addStickerPreview)(o,a);else s.default.sendStickers(o,[a.id],"",s.default.getSendMessageOptionsForReply(t)),(0,C.deletePendingReply)(o),null===(u=e.current)||void 0===u||u.clearValue();(0,E.closeExpressionPicker)(),null===(l=e.current)||void 0===l||l.focus()}}),[n,e,t,r,o])}(Ge,pe,qe,te,le.id),pt=a.useCallback((function(){var e;return null==He||null===(e=He.current)||void 0===e?void 0:e.hide()}),[]),vt=a.useCallback((function(e){je.emit("autocomplete-visibility-change",e)}),[je]);!function(e,t,n,r){var o=a.useCallback((function(){t||(0,E.toggleExpressionPicker)(_.ExpressionPickerViewType.EMOJI,e)}),[t,e]),i=a.useCallback((function(){!t&&n&&(0,E.toggleExpressionPicker)(_.ExpressionPickerViewType.GIF,e)}),[n,t,e]),l=a.useCallback((function(){!t&&r&&(0,E.toggleExpressionPicker)(_.ExpressionPickerViewType.STICKER,e)}),[r,t,e]);(0,k.useComponentAction)({event:q.ComponentActions.TOGGLE_EMOJI_POPOUT,handler:o}),(0,k.useComponentAction)({event:q.ComponentActions.TOGGLE_GIF_PICKER,handler:i}),(0,k.useComponentAction)({event:q.ComponentActions.TOGGLE_STICKER_PICKER,handler:l})}(ue,qe,Le,Pe);var yt=!qe&&(fe||null==ue||ue===q.TextareaTypes.NORMAL||ue===q.TextareaTypes.RULES_INPUT),mt=U.default.canEveryoneRole(q.Permissions.SEND_MESSAGES,le),_t=qe&&!((Ke||$e)&&mt)||ut&&ue!==q.TextareaTypes.RULES_INPUT,ht=qe?null:null==de?void 0:de(X.default.attachButton),Et=(0,u.useStateFromStores)([g.default],(function(){return g.default.expressionSuggestionsEnabled})),gt=(0,u.useStateFromStores)([b.default],(function(){return b.default.getStickerPreview(le.id)})),St=null!=gt&&gt.length>0,Ot=d.default.useExperiment({})[0].allowSlashCommands&&Ye,It=null==rt||null==at||at!==ue,Tt=!Ot||!Oe||!se||te!==v.COMMAND_SENTINEL,Ct=null!=pe,bt=a.useCallback((function(){var e,t;return!(Tt||!(null===(e=Ue.current)||void 0===e?void 0:e.onTabOrEnter()))||((null===(t=ke.current)||void 0===t?void 0:t.onTabOrEnter(!1))||!1)}),[Tt]),Mt=a.useCallback((function(){var e,t;return!(Tt||!(null===(e=Ue.current)||void 0===e?void 0:e.onTabOrEnter()))||((null===(t=ke.current)||void 0===t?void 0:t.onTabOrEnter(!0))||!1)}),[Tt]),Nt=a.useCallback((function(e){var t,n;return!(Tt||!(null===(t=Ue.current)||void 0===t?void 0:t.onMoveSelection(e)))||((null===(n=ke.current)||void 0===n?void 0:n.onMoveSelection(e))||!1)}),[Tt]);return ee(m.EventEmitterProvider,{value:je},void 0,a.createElement("div",{ref:t,className:(0,o.default)(re,(n={},n[X.default.channelTextArea]=!0,n[X.default.channelTextAreaDisabled]=_t,n[X.default.highlighted]=Se,n)),onMouseDown:it},ee(K.default,{type:ue,channel:le,editorRef:Ge,activeCommand:ot,pendingReply:pe}),a.createElement("div",{ref:Be,onScroll:pt,className:(0,o.default)(ae,(r={},r[X.default.scrollableContainer]=!0,r[X.default.webkit]="Blink"===platform.layout,r[X.default.hasConnectedBar]=null!=ot||null!=pe,r))},Pe?ee(Y.default,{channelId:le.id}):null,ee("div",{className:(0,o.default)((J={},J[X.default.inner]=!0,J[X.default.innerDisabled]=_t,J[X.default.sansAttachButton]=ue!==q.TextareaTypes.FORM&&ue!==q.TextareaTypes.EDIT&&ue!==q.TextareaTypes.RULES_INPUT,J[X.default.sansAttachButtonCreateThread]=ue===q.TextareaTypes.THREAD_CREATION,J))},void 0,ht,ee(O.default,{ringTarget:t,ringClassName:X.default.focusRing},void 0,a.createElement(B.default,{ref:Ge,focused:se,useSlate:Ye,textValue:te,richValue:ne,disabled:qe,placeholder:ie,isPreviewing:(Ke||$e)&&mt,channel:le,type:ue,draftType:we,canPasteFiles:Xe,shouldUploadLongMessages:ce,uploadPromptCharacterCount:q.MAX_MESSAGE_LENGTH_PREMIUM,maxCharacterCount:null!=Ce?Ce:Qe,onChange:ve,onResize:ye,onBlur:me,onFocus:_e,onKeyDown:he,onSubmit:st,onTab:bt,onEnter:Mt,onMoveSelection:Nt,onSelectionChanged:function(e){null!=Ge.current&&je.emit("selection-changed",e)},onMaybeShowAutocomplete:function(){var e;null===(e=ke.current)||void 0===e||e.onMaybeShowAutocomplete()},promptToUpload:ge,fontSize:et,spellcheckEnabled:tt,canUseCommands:Oe,canOnlyUseTextCommands:Ct,disableAutoFocus:De,className:ue===q.TextareaTypes.THREAD_CREATION?X.default.textAreaThreadCreation:void 0})),ue!==q.TextareaTypes.RULES_INPUT?ee("div",{className:X.default.buttons},void 0,fe?ee(V.default,{disabled:qe,channel:le}):null,ue===q.TextareaTypes.NORMAL?a.createElement(a.Fragment,null,a.createElement(x.default,{ref:xe,disabled:qe,type:ue}),a.createElement(W.default,{ref:Ve,disabled:qe,type:ue})):null,a.createElement(H.default,{ref:We,disabled:qe,type:ue})):null)),Tt?null:a.createElement(p.default,{ref:Ue,channel:le,canOnlyUseTextCommands:Ct}),a.createElement(y.default,{ref:ke,channel:le,canMentionRoles:Ie,canMentionChannels:Te,canExecuteCommands:Oe,useNewSlashCommands:Ot,canOnlyUseTextCommands:Ct,canSendStickers:ue===q.TextareaTypes.NORMAL||ue===q.TextareaTypes.SIDEBAR,textValue:te,focused:se,expressionPickerView:rt,type:ue,editorRef:Ge,onSendMessage:st,onSendSticker:ct,onVisibilityChange:vt}),Ye&&null!=ne&&yt?ee($.default,{showPremiumFlair:ue===q.TextareaTypes.NORMAL&&te.length>q.MAX_MESSAGE_LENGTH&&Je,document:ne.document,maxCharacterCount:null!=Ce?Ce:Qe,currentLength:te.length,showCharacterCountAfter:null!=Ce?Ce:Qe/10,className:be,upsellAroundLimit:ue===q.TextareaTypes.NORMAL&&!Je}):null,Ye&&!__OVERLAY__&&null!=ne&&null==ot?a.createElement(Z.default,{ref:He,editorRef:Ge,containerRef:Be,value:ne}):null,Et&&Ne&&!St&&!0!==(null===(Q=ke.current)||void 0===Q?void 0:Q.isVisible())&&!__OVERLAY__&&null!=ne?ee(S.default,{editorRef:Ge,channel:le,isEditorFocused:se,onSelectSticker:ct}):null),It?null:ee(h.default,{positionTargetRef:t,isEditingMessage:ue===q.TextareaTypes.EDIT,onSelectGIF:dt,onSelectEmoji:ft,onSelectSticker:ct,emojiButtonRef:We,stickerButtonRef:Ve,gifButtonRef:xe,channel:le,canAddGIFs:Le,canAttachStickers:Pe}))}te.displayName="ChannelTextAreaContainer";var ne=a.memo(a.forwardRef(te));t.default=ne},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useExpressionPickerGridKeyboardNavigation=t.useSynchronizedActiveCategoryIndexForScrollPosition=t.useSynchronizedScrollPositionForActiveCategoryIndex=t.useExpressionPickerGridWidth=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(8))&&r.__esModule?r:{default:r},i=n(8404),l=n(1);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}t.useExpressionPickerGridWidth=function(e){var t=e.gridWrapperRef,n=e.containerWidth,r=e.showingEmptyState,i=e.listPaddingLeft,l=void 0===i?0:i,u=e.listScrollbarWidth,s=void 0===u?0:u,d=a.useState(void 0),f=d[0],c=d[1],p=a.useCallback((function(){if(null==t.current)return null;c(t.current.offsetWidth-l-s)}),[t,l,s]);return a.useLayoutEffect((function(){p()}),[n,p,r]),a.useEffect((function(){var e=o.default.debounce(p,250);return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[p]),f};t.useSynchronizedScrollPositionForActiveCategoryIndex=function(e){var t=e.activeCategoryIndex,n=e.listRef,r=e.searchQuery,o=a.useRef(r),i=a.useRef(!0);a.useLayoutEffect((function(){var e;""===r&&""!==o.current&&(null===(e=n.current)||void 0===e||e.scrollToSectionTop(t));o.current=r}),[r,t,n]),a.useLayoutEffect((function(){var e;i.current&&(null===(e=n.current)||void 0===e||e.scrollToSectionTop(t),i.current=!1)}),[t,n]),a.useEffect((function(){o.current=r}),[r])};t.useSynchronizedActiveCategoryIndexForScrollPosition=function(e){var t=e.activeCategoryIndex,n=e.listRef,r=e.isScrolling,i=e.searchQuery,u=e.scrollOffset,s=void 0===u?0:u,d=e.onActiveCategoryIndexChange,f=a.useRef(l.UNREACHABLE_REQUEST_ANIMATION_FRAME_ID),c=a.useMemo((function(){return o.default.debounce((function(){r.current=!1}),250)}),[r]),p=a.useMemo((function(){return o.default.debounce((function(e){""===i&&(window.cancelAnimationFrame(f.current),f.current=window.requestAnimationFrame((function(){var r,a=null===(r=n.current)||void 0===r?void 0:r.getSectionDescriptors();if(null!=a){var o=a.findIndex((function(t,n){var r=a[n+1],o=e+s>=t.offset.top,i=null!=r&&e+s<r.offset.top;return null!=r&&!o&&!i||o&&i||o&&null==r})),i=-1===o?0:o;t!==i&&d(i)}})))}),50)}),[i,n,t,s,d]);return a.useCallback((function(e){r.current=!0,c(),p(e)}),[r,c,p])};t.useExpressionPickerGridKeyboardNavigation=function(e){var t=e.columnCounts,n=e.gridNavigatorId,r=e.itemGrid,o=e.itemList,l=e.onGridNavigatorItemSelect,u=e.onGridNavigatorPositionChange,s=a.useRef(!1),d=a.useCallback((function(e,t){var n=r[t];if(null!=n)return n[e]}),[r]),f=a.useCallback((function(e){var t=e.focusedX,n=e.focusedY;s.current=!0;var r=d(t,n);if(null!=r){var a=r.visibleRowIndex,i=r.columnIndex;u(i,a),null!=o.current&&o.current.scrollRowIntoView(n)}}),[d,o,u]),c=a.useCallback((function(e,t,n){switch(n.type){case i.ActionType.NAVIGATE_UP:case i.ActionType.NAVIGATE_DOWN:case i.ActionType.NAVIGATE_RIGHT:case i.ActionType.NAVIGATE_LEFT:case i.ActionType.NAVIGATE_INLINE_START:case i.ActionType.NAVIGATE_INLINE_END:case i.ActionType.NAVIGATE_START:case i.ActionType.NAVIGATE_END:case i.ActionType.NAVIGATE_CROSSLINE_START:case i.ActionType.NAVIGATE_CROSSLINE_END:f(t)}}),[f]),p=a.useCallback((function(e,t,n){var r=d(e,t);null!=r&&l(r,n)}),[d,l]),v=(0,i.useGridNavigator)({navId:n,columnCounts:t,onDispatch:c,onSelect:p,autoFocusElement:!1,useVirtualFocus:!0}),y=v.dispatch,m=v.getItemProps,_=v.getRowProps,h=v.getContainerProps,E=a.useMemo((function(){var e=h();return{gridContainerProps:e,handleGridContainerKeyDown:e.onKeyDown}}),[h]),g=E.gridContainerProps,S=E.handleGridContainerKeyDown;return a.useEffect((function(){var e=function(){s.current=!1};return window.addEventListener("mousemove",e),function(){return window.removeEventListener("mousemove",e)}}),[]),{gridDispatch:y,getItemProps:m,getRowProps:_,gridContainerProps:g,handleGridContainerKeyDown:S,isUsingKeyboardNavigation:s}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Sizes=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(9)),i=y(n(8264)),l=y(n(8268)),u=y(n(89)),s=y(n(61)),d=y(n(278)),f=y(n(8276)),c=y(n(1349)),p=y(n(248)),v=y(n(7504));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var g={SIZE_16:16,SIZE_24:24};function S(e,t){var n=e instanceof u.default?e:null!=e?e.user:null;return null!=n?n.id:"user-"+t}function O(e){return E("div",{className:v.default.moreUsers},void 0,e)}function I(e){switch(void 0===e&&(e=g.SIZE_24),e){case g.SIZE_16:return v.default.size16;default:return v.default.size24}}t.Sizes=g,O.displayName="defaultRenderMoreUsers";var T=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={popoutUserId:null},t._ref=a.createRef(),t.defaultRenderUser=function(e,n,r){var a=t.props,o=a.showUserPopout,i=a.guildId;if(null==e){if(t.props.showDefaultAvatarsForNullUsers){var l=(r||0)%c.default.DEFAULT_AVATARS.length;return E("img",{src:c.default.DEFAULT_AVATARS[l],alt:"",className:v.default.avatar})}return E("div",{className:v.default.emptyUser})}var u=E("img",{src:e.getAvatarURL(i),alt:e.username,className:v.default.avatar},e.id);return o?E(s.default,{className:v.default.clickableAvatar,onClick:function(){null!=t._ref.current&&null!=e&&t.setState({popoutUserId:e.id})},tabIndex:-1},e.id,u):u},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n);var u=r.prototype;return u.renderUsers=function(){for(var e=this.props,t=e.users,n=e.max,r=e.renderUser,o=void 0===r?this.defaultRenderUser:r,i=e.renderMoreUsers,l=e.count,u=e.size,s=[],d=t.length===n?t.length:n-1,f=0;f<d&&f<t.length;){var c=f===t.length-1,y=o(t[f],c,f);s.push(c?E("div",{className:v.default.avatarContainer},S(t[f]||null,f),y):E(p.default,{className:v.default.avatarContainerMasked,height:u,width:u,mask:p.default.Masks.VOICE_USER_SUMMARY_ITEM},S(t[f],f),y)),f++}if(null!=l){if(l>=n)s.push(E(a.Fragment,{},"more-users",i(n+"+",n)));else if(l>t.length){var m=l-t.length;s.push(E(a.Fragment,{},"more-users",i("+"+m,m)))}}else if(f<t.length){var _=Math.min(t.length-f,99);s.push(E(a.Fragment,{},"more-users",i("+"+_,_)))}return s},u.renderIcon=function(){return this.props.renderIcon?E(f.default,{foreground:v.default.foreground,className:v.default.icon}):null},u.render=function(){var e=this,t=this.props,n=t.className,r=t.size,u=t.users,s=t.guildId,f=t.showUserPopout,c=this.state.popoutUserId,p=u.find((function(e){return null!=e&&e.id===c}));return E(d.default,{position:d.default.Positions.RIGHT,preload:null==p?void 0:function(){return(0,i.default)(p.id,p.getAvatarURL(s))},shouldShow:f&&null!=c,fixed:!0,renderPopout:function(t){return null==c?null:a.createElement(l.default,_({},e.props,t,{userId:c,guildId:e.props.guildId}))},onRequestClose:function(){return e.setState({popoutUserId:null})}},void 0,(function(t){return a.createElement("div",_({className:(0,o.default)(n,v.default.container,I(r)),ref:e._ref},t),e.renderIcon(),e.renderUsers())}))},r}(a.PureComponent);T.displayName="UserSummaryItem",T.defaultProps={max:10,renderMoreUsers:O,renderIcon:!1,showDefaultAvatarsForNullUsers:!1,size:g.SIZE_24};var C=T;t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=d(n(0)),o=u(n(9)),i=d(n(248)),l=u(n(7506));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=function(e){var t=e.className,n=e.guild,r=e.isSelected,u=void 0===r||r,s=e.width,d=void 0===s?32:s,c=e.height,p=void 0===c?32:c,v=e.shouldAnimate,y=void 0===v||v,m=a.useState(!1),_=m[0],h=m[1],E=n.getIconURL(y&&u),g=function(){return h(!0)},S=function(){return h(!1)};return f("div",{onFocus:g,onBlur:S,onMouseOver:g,onMouseLeave:S},void 0,f(i.default,{className:(0,o.default)(l.default.mask,t),mask:u||_?i.MaskIDs.SQUIRCLE:i.MaskIDs.AVATAR_DEFAULT,width:d,height:p},void 0,null==E?f("div",{className:(0,o.default)(l.default.guildIcon,l.default.guildIconWithoutImage)},void 0,f("div",{className:l.default.guildAcronym},void 0,n.acronym)):f("img",{alt:n.toString(),src:E,className:l.default.guildIcon})))};c.displayName="GuildEmojiIcon";var p=c;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return l.default.embedded&&null!=e&&""!==e?null!=e&&(0,o.isStickerAssetUrl)(e)?null:[c(a.MenuItem,{id:"copy-native-link",label:s.default.Messages.COPY_LINK,action:function(){return u.default.copy(e)}},"copy-native-link"),c(a.MenuItem,{id:"open-native-link",label:s.default.Messages.OPEN_LINK,action:function(n){return(0,i.handleClick)({href:e,trusted:(0,i.isLinkTrusted)(e,t),shouldConfirm:!0},n)}},"open-native-link")]:null};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(8253),o=n(290),i=n(730),l=d(n(16)),u=d(n(43)),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isKnownLang=function(e){return e.toLowerCase()in h},t.isPointInCodeBlock=function(e,t){var n=e.value.document,r=n.getFirstText();if(null==r)return!1;var a=u.default.serializeSelection(n,{start:{key:r.key,offset:0},end:t},"raw",!0).match(/```/g);return null!=a&&a.length>0&&a.length%2!=0},t.getLineState=function(e){var t=e.data.get("lineType");return null==t?null:JSON.parse(t)},t.default=function(){return{onChange:s.catchAndLogExceptions(A),decorateNode:s.catchAndLogExceptions(F),renderDecoration:B}},t.computeLineStates=L,t.findBackticksOnLine=j,t.caseInsensitiveLangRegex=t.langRegex=void 0;var r=c(n(0)),a=d(n(8785)),o=d(n(23)),i=d(n(404)),l=d(n(1231)),u=d(n(8439)),s=c(n(8326));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}for(var m,_=a.default.listLanguages(),h=Object.create(null),E=v(_);!(m=E()).done;){var g=m.value;g=g.toLowerCase();var S=a.default.getLanguage(g);if(null!=S){var O=S.aliases;if(h[g]=g,null!=O)for(var I,T=v(O);!(I=T()).done;){var C=I.value;h[C.toLowerCase()]=g}}}var b=/^[a-z0-9_+\-.#]+$/;t.langRegex=b;var M=/^[a-z0-9_+\-.#]+$/i;for(var N in t.caseInsensitiveLangRegex=M,h)if(!N.match(b))throw new Error("Language name does not match regex: "+N);function A(e,t){!function(e,t){for(var n,r=v(t);!(n=r()).done;){var a=n.value,o=D(a);a.line.data.get("lineType")!=o&&e.setNodeByKey(a.line.key,{data:{lineType:o}})}}(e,L(e.value.document)),t()}var P=null,R=[];function L(e){if(P===e)return R;for(var t,n=[],r=null,i=v(e.nodes);!(t=i()).done;){var l=t.value;(0,o.default)("block"===l.object,"Slate: Invalid block type: "+l.object+" "+l.type),r=w(l,null!=r&&(r.isInCodeBlock||r.opensCodeBlock),null!=r&&(r.isStyledCodeBlockLine||r.opensCodeBlockOnOwnLine),null==r||!r.opensCodeBlock&&r.closesCodeBlock?null:r.lang),n.push(r)}return function(e){for(var t,n=[],r=!1,o=v(e);!(t=o()).done;){var i=t.value,l=i===e[e.length-1];if((i.closesCodeBlock||l)&&(r&&l&&!i.closesCodeBlock&&n.push(i),r=!1,n.length>0)){var u=n.map((function(e){return e.line.text})).join("\n"),s=n[0].lang;null!=s&&null!=a.default.getLanguage(s)&&function(){var e=G(u,s);null!=e&&n.forEach((function(t,n){return t.syntaxHighlightedHtml=e[n]}))}(),n=[]}r&&n.push(i),i.opensCodeBlock&&(r=!0)}}(n),P=e,R=n,n}function D(e){if(!e.isStyledCodeBlockLine&&!e.wasInCodeBlock)return null;var t={type:"code",lang:e.lang,wasInCodeBlock:e.wasInCodeBlock,isInCodeBlock:e.isInCodeBlock,isStyledCodeBlockLine:e.isStyledCodeBlockLine,syntaxHighlightedHtml:e.syntaxHighlightedHtml};return JSON.stringify(t)}function w(e,t,n,r){var a=j(e.text),o=a[0],i=a[a.length-1],l=null==i?null:e.text.substring(i+3),u=t&&null!=o,s=t&&0===a.length,d=n&&0===a.length,f=(u?a.slice(1):a).length%2==1,c=f&&(null==l||""===l||null!=l.match(M)),p=c&&null!=l&&h[l.toLowerCase()]||null;return{line:e,wasInCodeBlock:t,isInCodeBlock:s,isStyledCodeBlockLine:d,lang:f||u?p:r,syntaxHighlightedHtml:null,closesCodeBlock:u,opensCodeBlock:f,opensCodeBlockOnOwnLine:c}}function j(e){for(var t,n=[],r=/\\|```/g;null!=(t=r.exec(e));)"\\"!==t[0]?n.push(t.index):r.lastIndex+=1;return n}var k={max:1/0,maxAge:6e4,updateAgeOnGet:!0},U=new i.default(k);function G(e,t){var n=e+"-"+t,r=U.get(n);if(null!=r)return r;var a=l.default.highlight(t,e);if(null==a)return null;var o=a.value.split("\n");return U.set(n,o),o}function F(e,t,n){if("block"!==e.object)return n();if(null==e.data.get("lineType"))return n();var r=t.value.document,a=r.nodes.indexOf(e),o=L(r)[a],i=o.syntaxHighlightedHtml,l=o.isStyledCodeBlockLine;if(null==i||!l)return n();for(var u,d=i.replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#x27;/g,"'"),f=/(?:<span class="([^"]*)">)|(?:<\/span>)/g,c=[],p=[],v=0,y=0;u=f.exec(d);){var m=u.index+u[0].length,_=u.index-y;u.index>y&&(c.length>0&&p.push({type:"SlateCodeBlocks:"+c.join(":"),anchor:s.findPointInBlockNode(e,v,!0),focus:s.findPointInBlockNode(e,v+_,!0)}),v+=_),"</span>"===u[0]?c.pop():c.push(u[1]),y=m}return[].concat(p,n())}function B(e,t,n){var a=e.children,o=e.decoration,i=e.attributes;if(""===e.text)return n();if(o.type.startsWith("SlateCodeBlocks:")){var l=o.type.split(":").slice(1);return r.createElement("span",p({className:l.join(" ")},i),a)}return n()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;h(n(0));var r,a=n(389),o=m(n(8258)),i=h(n(8253)),l=n(1209),u=m(n(11)),s=m(n(8901)),d=m(n(8329)),f=m(n(8441)),c=m(n(8639)),p=m(n(8902)),v=m(n(9127)),y=m(n(6));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e){var t=e.channel,n=e.onSelect,r=(0,f.default)(t),m=(0,s.default)(t),_=(0,d.default)(t),h=(0,o.default)(t.id),g=(0,c.default)(t,"Context Menu"),S=(0,v.default)(t),O=(0,p.default)(t),I=(0,l.useCanSeeThreads)();return u.default.isGuest()||!I?null:E(i.default,{navId:"thread-context",onClose:a.closeContextMenu,"aria-label":y.default.Messages.THREAD_ACTIONS_MENU_LABEL,onSelect:n},void 0,E(i.MenuGroup,{},void 0,r,S),E(i.MenuGroup,{},void 0,g),E(i.MenuGroup,{},void 0,O),E(i.MenuGroup,{},void 0,m,_),E(i.MenuGroup,{},void 0,h))}g.displayName="ChannelListThreadContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(41),o=f(n(13)),i=f(n(8410)),l=n(8301),u=n(8648),s=f(n(8906)),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}var v=function(){o.default.track(d.AnalyticEvents.MODAL_DISMISSED,{type:l.MEMBER_VERIFICATION_TYPE})},y=function(e,t){(0,a.openModal)((function(t){return r.createElement(s.default,p({},t,{guildId:e,onComplete:function(t){return i.default.submitVerificationForm(e,t)},onClose:function(e){if(void 0===e&&(e=!1),!e){if(u.useMemberVerificationFormNoticeStore.getState().hasUnsubmittedChanges)return void(0,u.setShowWarning)(!0);v()}t.onClose()}}))}),{modalKey:l.IN_APP_MEMBER_VERIFICATION_MODAL_KEY,onCloseRequest:function(){v(),u.useMemberVerificationFormNoticeStore.getState().hasUnsubmittedChanges?(0,u.setShowWarning)(!0):(0,a.closeModal)(l.IN_APP_MEMBER_VERIFICATION_MODAL_KEY)},onCloseCallback:t})};t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.useStateFromStoresArray)([f.default],(function(){return[f.default.isChannelMuted(e.guild_id,e.id),f.default.getChannelMuteConfig(e.guild_id,e.id)]})),r=n[0],y=n[1],m=(0,d.useMutedUntilText)(y),h=(0,c.default)(e,!0);function E(t){t&&e.type===p.ChannelTypes.GUILD_CATEGORY&&(0,i.categoryCollapse)(e.id),l.default.updateChannelOverrideSettings(e.guild_id,e.id,{muted:t})}var g=v.default.Messages.MUTE_CHANNEL_GENERIC,S=v.default.Messages.UNMUTE_CHANNEL_GENERIC;switch(e.type){case p.ChannelTypes.GUILD_CATEGORY:g=v.default.Messages.MUTE_CATEGORY,S=v.default.Messages.UNMUTE_CATEGORY;break;case p.ChannelTypes.GROUP_DM:g=v.default.Messages.MUTE_CONVERSATION,S=v.default.Messages.UNMUTE_CONVERSATION;break;case p.ChannelTypes.DM:g=v.default.Messages.MUTE_CHANNEL.format({name:h}),S=v.default.Messages.UNMUTE_CHANNEL.format({name:h});break;default:g=v.default.Messages.MUTE_CHANNEL_GENERIC,S=v.default.Messages.UNMUTE_CHANNEL_GENERIC}var O=[{time:s.MuteUntilSeconds.MINUTES_15,label:v.default.Messages.MUTE_DURATION_15_MINUTES},{time:s.MuteUntilSeconds.HOURS_1,label:v.default.Messages.MUTE_DURATION_1_HOUR},{time:s.MuteUntilSeconds.HOURS_8,label:v.default.Messages.MUTE_DURATION_8_HOURS},{time:s.MuteUntilSeconds.HOURS_24,label:v.default.Messages.MUTE_DURATION_24_HOURS},{time:s.MuteUntilSeconds.ALWAYS,label:v.default.Messages.MUTE_DURATION_ALWAYS}];return r?_(u.MenuItem,{id:"unmute-channel",label:S,subtext:m,action:function(){return E(!1)}}):_(u.MenuItem,{id:"mute-channel",label:g,action:function(){return E(!0)}},void 0,O.map((function(n){var r=n.time,o=n.label;return _(u.MenuItem,{id:""+r,label:o,action:function(){return function(n){e.type===p.ChannelTypes.GUILD_CATEGORY&&(0,i.categoryCollapse)(e.id);var r=n>0?(0,a.default)().add(n,"second").toISOString():null;l.default.updateChannelOverrideSettings(e.guild_id,e.id,{muted:!0,mute_config:{selected_time_window:n,end_time:r}},t)}(r)}},r)})))};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=y(n(5)),o=n(3),i=n(8450),l=y(n(8477)),u=n(8253),s=n(1271),d=n(8512),f=y(n(181)),c=y(n(180)),p=n(1),v=y(n(6));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePreventIdle=u,t.default=s;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(8661);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function u(e){var t=a.useContext(o.IdleHandlerContext),n=t.onPreventIdle,r=t.onAllowIdle;return{preventIdle:a.useCallback((function(){n(e)}),[e,n]),allowIdle:a.useCallback((function(){r(e)}),[e,r])}}function s(e){var t=e.children,n=e.className,r=a.useContext(o.IdleHandlerContext),i=r.onForceIdle,s=r.onActive,d=u("interact"),f=d.preventIdle,c=d.allowIdle;a.useEffect((function(){return function(){return c()}}),[c]);var p=a.useCallback((function(e){var t,n=null!==(t=e.target.ownerDocument)&&void 0!==t?t:document;e.currentTarget.contains(n.activeElement)||i()}),[i]);return l("div",{className:n,onMouseEnter:f,onMouseLeave:c,onFocus:s,onBlur:p},void 0,t)}s.displayName="PreventIdle"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(9)),o=s(n(55)),i=s(n(47)),l=s(n(24)),u=s(n(7722));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t,n,r){if(null!=t)return f("img",{alt:"",src:t,className:(0,a.default)(u.default.iconWrapper,r)});var i=null;null!=e&&(i="string"==typeof e?f("img",{alt:"",src:e,className:(0,a.default)(u.default.icon,r)}):f(e,{className:(0,a.default)(u.default.icon,r)}));return f(o.default,{align:o.default.Align.CENTER,justify:o.default.Justify.CENTER,style:{backgroundColor:n},className:u.default.iconWrapper},void 0,i)}function p(e,t,n,r,s){var d=null==n?void 0:n.map((function(e,t){var n=e.icon,o=e.text;return f("div",{className:(0,a.default)(u.default.detailsWrapper,s?u.default.headerDetailsWrapper:null)},t,null!=n?f(n,{width:16,height:16,className:u.default.detailsIcon}):null,f(l.default,{size:l.default.Sizes.SIZE_12,color:l.default.Colors.HEADER_SECONDARY,className:r},void 0,o))}));return f(o.default,{direction:o.default.Direction.VERTICAL},void 0,f(i.default,{tag:i.default.Tags.H3,size:s?i.default.Sizes.SIZE_24:i.default.Sizes.SIZE_16,className:s?u.default.header:u.default.secondaryHeader},void 0,e),null!=t?f(l.default,{size:l.default.Sizes.SIZE_14,color:l.default.Colors.HEADER_SECONDARY},void 0,t):null,f(o.default,{direction:o.default.Direction.HORIZONTAL,align:o.default.Align.CENTER,wrap:o.default.Wrap.WRAP},void 0,d))}function v(e){var t=e.name,n=e.description,r=e.icon,a=e.imageSrc,i=e.iconBackgroundColor,l=e.iconClassName,s=e.details,d=e.detailsClassName,v=e.isHeader;return f(o.default,{justify:o.default.Justify.CENTER,className:u.default.wrapper},void 0,null!=r||null!=a?f(o.default.Child,{shrink:0,grow:0},void 0,c(r,a,i,l)):null,p(t,n,s,d,v))}c.displayName="renderIcon",p.displayName="renderDetails",v.displayName="IntegrationInfo"},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PageSizes=t.PAGE_WIDTH_THRESHOLD=void 0;t.PAGE_WIDTH_THRESHOLD=1e3;var r=Object.freeze({SMALL:"small",LARGE:"large"});t.PageSizes=r},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=T;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=g(n(8820)),l=n(5943),u=n(8298),s=n(8277),d=n(8253),f=g(n(11)),c=g(n(15)),p=g(n(40)),v=g(n(12)),y=n(41),m=n(8263),_=n(1),h=g(n(6)),E=g(n(7451));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(){return(O=Object.assign||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}).apply(this,arguments)}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(e,t,n,r,g){var S=c.default.getGuild(e),T=f.default.getId();(0,o.useStateFromStores)([p.default],(function(){return p.default.getGuildVersion(e)}),[e]);var C=(0,o.useStateFromStores)([s.HotspotStore],(function(){return s.HotspotStore.hasHotspot(s.HotspotLocations.GUILD_PER_SERVER_AVATAR_BADGE)})),b=a.useMemo((function(){var n;return(n={})[e]=[t],n}),[e,t]);(0,u.useSubscribeGuildMembers)(b);var M=r===_.AppContext.POPOUT,N=(0,l.useAndTriggerGuildMemberAvatarExperiment)();if(null==S||M)return null;var A=T===t&&(p.default.can(_.Permissions.CHANGE_NICKNAME,S)||p.default.can(_.Permissions.MANAGE_NICKNAMES,S));N=T===t&&N;var P=p.default.canManageUser(_.Permissions.MANAGE_NICKNAMES,t,S);if(!(A||P||N))return null;var R=v.default.getUser(t);if(null==R)return null;var L=N?h.default.Messages.CHANGE_IDENTITY:h.default.Messages.CHANGE_NICKNAME;return I(d.MenuItem,{id:"change-nickname",label:a.createElement(a.Fragment,null,L,N&&C?I(m.TextBadge,{text:h.default.Messages.NEW,className:E.default.newBadge}):null),icon:g,action:function(){return(0,y.openModal)((function(t){return a.createElement(i.default,O({},t,{guildId:e,user:R,analyticsSource:n}))}))}})}T.displayName="useChangeIdentityItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);var i={startTyping:function(e){a.default.dispatch({type:o.ActionTypes.TYPING_START_LOCAL,channelId:e})},stopTyping:function(e){a.default.dispatch({type:o.ActionTypes.TYPING_STOP_LOCAL,channelId:e})}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(34),l=y(n(288)),u=n(8253),s=y(n(8733)),d=y(n(51)),f=y(n(12)),c=n(8425),p=y(n(16)),v=y(n(6));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(){return(h=Object.assign||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}).apply(this,arguments)}function E(e,t){void 0===t&&(t=i.MediaEngineContextTypes.DEFAULT);var n=(0,o.useStateFromStores)([d.default],(function(){return d.default.getLocalVolume(e,t)}),[e,t]),r=e===f.default.getCurrentUser().id,y=t===i.MediaEngineContextTypes.STREAM;return r?null:_(u.MenuControlItem,{id:"user-volume",label:y?v.default.Messages.STREAM_VOLUME:v.default.Messages.USER_VOLUME,control:function(r,o){return a.createElement(s.default,h({},r,{ref:o,value:(0,c.amplitudeToPerceptual)(n),maxValue:p.default.embedded?200:100,onChange:function(n){return l.default.setLocalVolume(e,(0,c.perceptualToAmplitude)(n),t)},"aria-label":v.default.Messages.FORM_LABEL_INPUT_VOLUME}))}})}E.displayName="useUserVolumeItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=G();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=U(n(9)),i=U(n(378)),l=n(8404),u=n(3),s=U(n(8511)),d=U(n(274)),f=U(n(8257)),c=n(8296),p=n(8392),v=n(8277),y=n(280),m=U(n(249)),_=U(n(39)),h=U(n(282)),E=U(n(13)),g=n(139),S=n(1168),O=n(8347),I=n(5949),T=U(n(9424)),C=U(n(9433)),b=n(8861),M=U(n(9435)),N=U(n(9436)),A=U(n(9456)),P=U(n(9457)),R=U(n(9460)),L=n(1),D=U(n(6)),w=U(n(7368)),j=U(n(7352)),k=U(n(7353));function U(e){return e&&e.__esModule?e:{default:e}}function G(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return G=function(){return e},e}function F(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function B(){return(B=Object.assign||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}).apply(this,arguments)}var H=(0,g.cssValueToNumber)(j.default.emojiContainerPaddingVertical),x=(0,g.cssValueToNumber)(j.default.emojiContainerPaddingHorizontal),V=(0,g.cssValueToNumber)(j.default.emojiListPaddingTop),W=(0,g.cssValueToNumber)(j.default.emojiListPaddingLeft),Y=(0,g.cssValueToNumber)(k.default.expressionPickerListSectionHeadingHeight),z=function(e){return e.stopPropagation()},K=function(e,t){(0,O.setInspectedEmojiPosition)(e,t,O.InspectedEmojiChangeSource.GRID_NAVIGATOR_EVENT)},$=(0,i.default)(I.trackEmojiSearchEmpty,200),Z=(0,i.default)(I.trackEmojiSearchResultsViewed,200),q=a.memo((function(e){var t,n=e.pickerIntention,r=e.channel,i=e.closePopout,g=e.emojiSize,j=void 0===g?S.EmojiSize.MEDIUM:g,k=e.inExpressionPicker,U=void 0!==k&&k,G=e.onSelectEmoji,q=e.containerWidth,X=e.onNavigateAway,J=a.useState(!1),Q=J[0],ee=J[1],te=a.useRef(""),ne=(0,O.useEmojiPickerStore)((function(e){return e.searchQuery})),re=a.useRef(null),ae=a.useRef(null),oe=a.useRef(null),ie=(0,c.useAnalyticsContext)().location,le=a.useMemo((function(){return B({},ie,{section:L.AnalyticsSections.EMOJI_PICKER_POPOUT})}),[ie]),ue=(0,u.useStateFromStores)([m.default],(function(){return m.default.diversitySurrogate})),se=(0,u.useStateFromStores)([m.default],(function(){var e=ne.replace(/^:/,"").replace(/:$/,"");return""===e?null:m.default.search(r,e,0,n)}),[r,n,ne],u.statesWillNeverBeEqual),de=null==se?0:se.locked.length+se.unlocked.length,fe=(0,u.useStateFromStores)([_.default],(function(){return _.default.emojiPickerCollapsedSections}),[]),ce=a.useMemo((function(){return new Set(fe)}),[fe]),pe=a.useCallback((function(e){d.default.updateLocalSettings({emojiPickerCollapsedSections:Array.from(e)})}),[]),ve=(0,p.useExpressionPickerGridWidth)({gridWrapperRef:re,containerWidth:q,listPaddingLeft:W,listScrollbarWidth:8}),ye=j+2*H,me=(0,b.useEmojiGrid)({gridWidth:ve,channel:r,pickerIntention:n,emojiSearchResults:se,collapsedSections:ce,gridPaddingTop:V,emojiPaddingHorizontal:x,emojiSpriteSize:j,emojiRowHeight:ye,emojiSectionHeadingHeight:Y}),_e=me.rowCountBySection,he=me.sectionDescriptors,Ee=me.emojiGrid,ge=me.columnCounts,Se=(0,b.useEmojiSelectHandler)({pickerIntention:n,selectedChannel:r,closePopout:i,onSelectEmoji:G,setIsPremiumUpsellOpen:ee,emojiSelectAnalytics:function(){""!==ne&&(0,I.trackEmojiSearchSelect)(B({},le,{object:L.AnalyticsObjects.EMOJI}))},trackPremiumUpsellOpened:function(e,t){E.default.track(L.AnalyticEvents.PREMIUM_UPSELL_VIEWED,{type:y.PremiumUpsellTypes.EMOJI_PICKER_EMOJI_CLICKED,is_animated:e.animated,is_external:null!=e.guildId&&e.guildId!==(null==t?void 0:t.getGuildId()),has_search_query:null!=ne&&""!==ne,location:B({},le,{object:L.AnalyticsObjects.EMOJI})})}}),Oe=a.useCallback((function(){i(),null==X||X()}),[i,X]),Ie=function(e){var t=e.columnCounts,n=e.onSelectEmoji,r=e.emojiGrid,o=e.emojiList,i=(0,u.useStateFromStores)([m.default],(function(){return m.default.getDisambiguatedEmojiContext()}),[]),d=a.useCallback((function(e,t){null!=e.emoji&&t.altKey?i.isFavoriteEmoji(e.emoji)?s.default.unfavoriteEmoji(e.emoji):s.default.favoriteEmoji(e.emoji):n(e.emoji,!t.shiftKey)}),[n,i]),f=(0,p.useExpressionPickerGridKeyboardNavigation)({columnCounts:t,gridNavigatorId:"emoji-picker-grid",itemGrid:r,itemList:o,onGridNavigatorItemSelect:d,onGridNavigatorPositionChange:K}),c=f.gridDispatch,v=f.getItemProps,y=f.getRowProps,_=f.gridContainerProps,h=f.handleGridContainerKeyDown,E=f.isUsingKeyboardNavigation;return a.useEffect((function(){return O.useEmojiPickerStore.subscribe((function(e){if(null!=e){var t=e.columnIndex,n=e.rowIndex;e.source!==O.InspectedEmojiChangeSource.GRID_NAVIGATOR_EVENT&&c({type:l.GridActionType.SET_FOCUSED_POSITION,x:t,y:n})}}),(function(e){return e.inspectedEmojiPosition}))}),[c]),{getItemProps:v,getRowProps:y,gridContainerProps:_,handleGridContainerKeyDown:h,isUsingKeyboardNavigation:E}}({columnCounts:ge,onSelectEmoji:G,emojiGrid:Ee,emojiList:ae}),Te=Ie.getItemProps,Ce=Ie.getRowProps,be=Ie.gridContainerProps,Me=Ie.handleGridContainerKeyDown,Ne=Ie.isUsingKeyboardNavigation;!function(e,t){var n=a.useState(null),r=n[0],o=n[1];a.useEffect((function(){var e;null!=r&&(null===(e=t.current)||void 0===e||e.scrollToSectionTop(r),o(null))}),[t,r]),a.useEffect((function(){o(O.useEmojiPickerStore.getState().activeCategoryIndex)}),[e])}(q,ae),function(e,t,n){a.useLayoutEffect((function(){var e;null===(e=n.current)||void 0===e||e.focus()}),[e,t,n])}(q,ue,oe),a.useEffect((function(){return E.default.track(L.AnalyticEvents.OPEN_POPOUT,{type:"Emoji Picker"}),O.resetStoreState}),[]),a.useEffect((function(){return function(){return(0,v.hideHotspot)(v.HotspotLocations.FAVORITE_EMOJI_TOOLTIP)}}),[]),a.useLayoutEffect((function(){var e,t=O.useEmojiPickerStore.getState().inspectedEmojiPosition,n=t.columnIndex,r=t.rowIndex;null==(null===(e=Ee[r])||void 0===e?void 0:e[n])&&0!==n&&(0,O.setInspectedEmojiPosition)(0,0)}),[Ee]),a.useEffect((function(){if(""===te.current&&""!==ne&&(0,I.trackEmojiSearchStart)(le),0===de&&""!==ne)$(le);else if(""!==ne&&te.current!==ne){var e;Z(de,null!==(e=null==se?void 0:se.locked.length)&&void 0!==e?e:0,le)}te.current=ne}),[ne,le,de,se]);var Ae=U?"div":h.default,Pe=null!=ve;return a.createElement(f.default,le,F(Ae,{id:S.EMOJI_PICKER_TAB_PANEL_ID,"aria-labelledby":U?S.EMOJI_PICKER_TAB_ID:void 0,role:U?"tabpanel":void 0,className:(0,o.default)(w.default.wrapper,(t={},t[w.default.emojiPickerInExpressionPicker]=U,t))},void 0,F("div",{className:w.default.emojiPicker,onScroll:z,role:"combobox","aria-controls":"emoji-picker-grid","aria-haspopup":"grid","aria-owns":"emoji-picker-grid","aria-expanded":Pe,"aria-labelledby":U?S.EMOJI_PICKER_TAB_ID:void 0,"aria-label":U?void 0:D.default.Messages.EXPRESSION_PICKER_EMOJI},void 0,F("div",{className:w.default.header},void 0,a.createElement(R.default,{emojiListRef:ae,gridNavigatorId:"emoji-picker-grid",onKeyDown:Me,ref:oe}),F(C.default,{searchBarRef:oe,className:w.default.diversitySelector,inExpressionPicker:U,selectedSurrogate:ue})),a.createElement("div",{className:w.default.bodyWrapper,ref:re},F(A.default,{channel:r,closePopout:i}),a.createElement("div",B({className:w.default.emojiPickerListWrapper,id:"emoji-picker-grid"},be),Pe?F(N.default,{collapsedSections:ce,diversitySurrogate:ue,emojiGrid:Ee,emojiListRef:ae,emojiRowHeight:ye,emojiSize:j,getEmojiItemProps:Te,getEmojiRowProps:Ce,gridWidth:ve,isUsingKeyboardNavigation:Ne,onEmojiSelect:Se,rowCount:Ee.length,rowCountBySection:_e,sectionDescriptors:he,setCollapsedSections:pe}):null)),F(M.default,{emojiGrid:Ee,className:w.default.inspector}),Q?F(P.default,{onLearnMore:Oe,onClose:function(){return ee(!1)},channel:r}):null),F(T.default,{className:w.default.categoryList,emojiListRef:ae,sectionDescriptors:he,intention:n,channel:r})))}));t.default=q},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=f(n(89)),l=f(n(8276)),u=f(n(279)),s=f(n(7578)),d=f(n(7373));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e,t,n){return v("div",{className:t},n,e)}y.displayName="defaultRenderMoreUsers";var m=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).defaultRenderUser=function(e,n,r,a){var l=t.props,f=l.onClick,c=l.size,p=l.guildId,y=e instanceof i.default?e:null!=e?e.user:null;return null==y?v("div",{className:(0,o.default)(s.default.emptyUser,n)},r):v(u.default,{tabIndex:0,src:y.getAvatarURL(p),size:c,"aria-label":y.username,className:(0,o.default)(n,d.default.cursorPointer,s.default.avatarSize),onClick:function(e){return null!=f?f(e,y,t._ref):null}},y.id)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var f=r.prototype;return f.renderUsers=function(){for(var e=this.props,t=e.users,n=e.max,r=e.renderUser,a=void 0===r?this.defaultRenderUser:r,o=e.renderMoreUsers,i=[],l=t.length===n?t.length:n-1,u=0;u<l&&u<t.length;){var d=u===t.length-1;i.push(a(t[u]||null,d?null:s.default.avatarMasked,"user-"+u,d)),u++}if(u<t.length){var f=Math.min(t.length-u,99);i.push(o("+"+f,s.default.moreUsers,"more-users",f))}return i},f.renderIcon=function(){return this.props.icon?v("div",{className:s.default.iconContainer},void 0,v(l.default,{width:16,height:16,foreground:s.default.foreground,className:s.default.icon})):null},f.render=function(){var e=this,t=this.props.className;return a.createElement("div",{className:(0,o.default)(t,s.default.container),ref:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(t){return e._ref=t}))},this.renderIcon(),this.renderUsers())},r}(a.PureComponent);m.displayName="VoiceUserSummaryItem",m.defaultProps={max:10,renderMoreUsers:y,size:u.default.Sizes.SIZE_24};var _=m;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(14)),a=s(n(2)),o=s(n(56)),i=s(n(1174)),l=s(n(12)),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){d(o,r,a,i,l,"next",e)}function l(e){d(o,r,a,i,l,"throw",e)}i(void 0)}))}}var c={fetchVerificationForm:function(){var e=f(regeneratorRuntime.mark((function e(t,n){var s,d,f,c,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s=null!=n?n:i.default.getInviteCodeForGuildId(t),d=l.default.getCurrentUser(),f=!o.default.isMember(t,null==d?void 0:d.id),e.prev=3,e.next=6,r.default.get({url:u.Endpoints.GUILD_MEMBER_VERIFICATION(t),query:{with_guild:f,invite_code:s},oldFormErrors:!0});case 6:if(null!=(c=e.sent).body){e.next=9;break}throw c;case 9:return p=c.body,a.default.dispatch({type:u.ActionTypes.MEMBER_VERIFICATION_FORM_UPDATE,guildId:t,form:{version:p.version,description:p.description,formFields:p.form_fields,guild:p.guild}}),e.abrupt("return",p);case 14:e.prev=14,e.t0=e.catch(3),a.default.dispatch({type:u.ActionTypes.MEMBER_VERIFICATION_FORM_FETCH_FAIL,guildId:t});case 17:case"end":return e.stop()}}),e,null,[[3,14]])})));return function(t,n){return e.apply(this,arguments)}}(),updateVerificationForm:function(){var e=f(regeneratorRuntime.mark((function e(t,n){var o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.patch({url:u.Endpoints.GUILD_MEMBER_VERIFICATION(t),body:{form_fields:n},oldFormErrors:!0});case 2:o=e.sent,i=o.body,a.default.dispatch({type:u.ActionTypes.MEMBER_VERIFICATION_FORM_UPDATE,guildId:t,form:{version:i.version,description:i.description,formFields:i.form_fields}});case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),updateVerificationFormDescription:function(){var e=f(regeneratorRuntime.mark((function e(t,n){var o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.patch({url:u.Endpoints.GUILD_MEMBER_VERIFICATION(t),body:{description:n},oldFormErrors:!0});case 2:o=e.sent,i=o.body,a.default.dispatch({type:u.ActionTypes.MEMBER_VERIFICATION_FORM_UPDATE,guildId:t,form:{version:i.version,description:i.description,formFields:i.form_fields}});case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),enableVerificationForm:function(){var e=f(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.patch({url:u.Endpoints.GUILD_MEMBER_VERIFICATION(t),body:{enabled:n},oldFormErrors:!0});case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),submitVerificationForm:function(){var e=f(regeneratorRuntime.mark((function e(t,n){var o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r.default.put({url:u.Endpoints.GUILD_MEMBER_REQUEST_TO_JOIN(t),body:{version:n.version,form_fields:n.formFields}});case 3:return o=e.sent,i=o.body,a.default.dispatch({type:u.ActionTypes.USER_GUILD_JOIN_REQUEST_UPDATE,guildId:t,request:i}),e.abrupt("return",i);case 9:throw e.prev=9,e.t0=e.catch(0),e.t0;case 12:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t,n){return e.apply(this,arguments)}}()};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NO_MEMBER_VERIFICATION_FORM=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l={version:"",description:"",formFields:[]};t.NO_MEMBER_VERIFICATION_FORM=l;var u={};var s=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n),r.prototype.get=function(e){if(null!=e)return u[e]},r}(r.default.Store))(a.default,{INVITE_ACCEPT_SUCCESS:function(e){var t,n=e.invite,r=n.member_verification_form,a=n.guild;return null!=a&&null!=r&&(u[a.id]={version:r.version,description:null!==(t=r.description)&&void 0!==t?t:"",formFields:r.form_fields,guild:a},!0)},MEMBER_VERIFICATION_FORM_UPDATE:function(e){var t=e.form,n=e.guildId;u[n]=null!=t?t:l},MEMBER_VERIFICATION_FORM_FETCH_FAIL:function(e){var t,n=e.guildId;u[n]=null!==(t=u[n])&&void 0!==t?t:l},GUILD_DELETE:function(e){var t=e.guild;delete u[null==t?void 0:t.id]}});t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=J(n(0)),o=q(n(9)),i=q(n(273)),l=n(1250),u=n(3),s=q(n(469)),d=J(n(287)),f=n(8413),c=n(5946),p=q(n(473)),v=q(n(8746)),y=q(n(8747)),m=q(n(8748)),_=n(5972),h=q(n(8919)),E=q(n(15)),g=q(n(39)),S=q(n(12)),O=q(n(161)),I=q(n(5832)),T=n(8655),C=q(n(61)),b=q(n(1164)),M=q(n(9599)),N=q(n(8518)),A=q(n(1221)),P=q(n(9130)),R=q(n(8749)),L=n(1230),D=n(41),w=n(8263),j=q(n(47)),k=q(n(24)),U=n(272),G=q(n(13)),F=n(483),B=n(121),H=q(n(93)),x=n(5935),V=n(8921),W=q(n(9605)),Y=q(n(8922)),z=q(n(9609)),K=n(1),$=q(n(6)),Z=q(n(7600));function q(e){return e&&e.__esModule?e:{default:e}}function X(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return X=function(){return e},e}function J(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=X();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function Q(){var e=function(e,t){t||(t=e.slice(0));return e.raw=t,e}(["0px 8px 16px ",""]);return Q=function(){return e},e}function ee(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function te(){return(te=Object.assign||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}).apply(this,arguments)}function ne(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function re(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function ae(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,oe(e,t)}function oe(e,t){return(oe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ie=(0,l.cssValueToNumber)(Z.default.carouselInactiveOffsetY),le=(0,l.cssValueToNumber)(Z.default.contentMinWidth),ue=new Set([K.ChannelNoticeTypes.PREMIUM_GUILD_SUBSCRIPTIONS_GUILD_AFFINITY,K.ChannelNoticeTypes.PREMIUM_GUILD_SUBSCRIPTIONS]),se=function(e){function t(){return e.apply(this,arguments)||this}ae(t,e);var n=t.prototype;return n.renderPerk=function(e,t){var n=(0,V.getPerkIcon)(e.icon,t),r=n.icon,a=n.className;return re("div",{className:Z.default.perk},e.title,re(r,{className:(0,o.default)(Z.default.perkIcon,a)}),re("div",{className:Z.default.perkText},void 0,e.title),e.isNew?re(w.TextBadge,{className:Z.default.newBadge,text:$.default.Messages.NEW}):null)},n.render=function(){var e=this,t=this.props,n=t.subscriberCount,r=t.tier,o=K.PremiumGuildSubscriptionsRequired[r.tier],i=n>=o,l=r.tier!==K.PremiumGuildTiers.NONE&&r.tier!==K.PremiumGuildTiers.TIER_1;return re("div",{className:Z.default.tier},r.tier,re("div",{className:i?Z.default.tierHeaderUnlocked:Z.default.tierHeaderLocked},void 0,re(R.default,{tier:r.tier,className:Z.default.tierIcon}),re("div",{className:Z.default.tierTitle},void 0,r.title),i?re("div",{className:Z.default.tierUnlocked},void 0,$.default.Messages.GUILD_SETTINGS_PREMIUM_GUILD_UNLOCKED):re(a.Fragment,{},void 0,re("div",{className:Z.default.tierRequirements},void 0,$.default.Messages.GUILD_SETTINGS_PREMIUM_GUILD_TIER_REQUIREMENT.format({required:o})),re(A.default,{className:Z.default.tierLock}))),re("div",{className:Z.default.tierBody},void 0,re("div",{className:Z.default.previousPerks},void 0,l?$.default.Messages.PREMIUM_GUILD_PERKS_MODAL_PREVIOUS_PERKS:$.default.Messages.PREMIUM_GUILD_PERKS_MODAL_BASE_PERKS),null!=r.perks&&re("div",{},void 0,r.perks.map((function(t){return e.renderPerk(t,i)})))))},t}(a.Component);se.displayName="GuildPremiumTierPerksModalCard";var de=re(z.default,{}),fe=re(m.default,{}),ce=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={selectedTier:t.props.guild.premiumTier!==K.PremiumGuildTiers.NONE?t.props.guild.premiumTier:K.PremiumGuildTiers.TIER_1,error:null},t.handleClose=function(){t.props.close(),G.default.track(K.AnalyticEvents.MODAL_DISMISSED,{type:K.AnalyticsPages.PREMIUM_GUILD_USER_MODAL,location_section:t.props.locationSection})},t.selectTier=function(e){t.setState({selectedTier:e})},t.handleSubscribeModalClose=function(e){var n=t.props,r=n.guild,a=n.channelNotice;e&&(r.premiumTier!==K.PremiumGuildTiers.NONE&&t.selectTier(r.premiumTier),null!=a&&ue.has(a.type)&&ue.forEach((function(e){(0,f.hideNotice)(e,{suppressAnalyticsTracking:!0})})))},t.openPaymentModal=function(e){var n=e.analyticsLocation,r=e.numberOfSubscriptionsToAdd,o=e.onClose,i=t.props.guild,l=(0,x.getAvailableUserPremiumGuildSubscriptionSlots)(I.default.slots),u=l.length,s=function(e){null==o||o(),t.handleSubscribeModalClose(e)};if(u>0&&(null==r||u>=r)){var d;1===u?d=l.slice(0,1):null!=r&&(d=l.slice(0,r));var f=(0,D.openModal)((function(e){var t=e.onClose,n=ne(e,["onClose"]);return a.createElement(Y.default,te({},n,{onClose:function(e){t(),s(e)},selectedGuild:i,locationSection:K.AnalyticsPages.PREMIUM_GUILD_USER_MODAL,userPremiumGuildSubscriptionSlots:d}))}),{onCloseRequest:function(){(0,D.closeModal)(f),s(!1)}})}else(0,_.openPremiumGuildSubscriptionPurchaseModal)({analyticsLocation:n,guildId:i.id,closeLayer:t.handleClose,totalNumberOfSlotsToAssign:null!=r?r:1,onCloseModal:s})},t.handleDismissError=function(){t.setState({error:null})},t}ae(t,e);var r=t.prototype;return r.componentDidMount=function(){G.default.track(K.AnalyticEvents.OPEN_MODAL,{type:K.AnalyticsPages.PREMIUM_GUILD_USER_MODAL,location_section:this.props.locationSection}),B.ComponentDispatch.subscribe(K.ComponentActions.LAYER_POP_ESCAPE_KEY,this.handleClose)},r.componentDidUpdate=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.props.layerTransitionState,t.layerTransitionState===n||n!==L.TransitionStates.ENTERED){e.next=10;break}return e.prev=2,e.next=5,Promise.all([(0,c.fetchUserPremiumGuildSubscriptionSlots)(),(0,c.fetchPremiumSubscriptionCooldown)(),d.fetchSubscriptions(),d.fetchPaymentSources()]);case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(2),this.setState({error:e.t0});case 10:case"end":return e.stop()}}),e,this,[[2,7]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){ee(o,r,a,i,l,"next",e)}function l(e){ee(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}(),r.componentWillUnmount=function(){B.ComponentDispatch.unsubscribe(K.ComponentActions.LAYER_POP_ESCAPE_KEY,this.handleClose)},r.canSelectTier=function(e){return e!==K.PremiumGuildTiers.NONE},r.renderClose=function(){return re("div",{className:Z.default.closeWrapper},void 0,re("div",{className:Z.default.closeContent},void 0,re(v.default,{className:Z.default.closeIcon,closeAction:this.handleClose,theme:this.props.theme,keybind:"ESC"})))},r.renderProgressBar=function(){var e,t=this.props,n=t.guild,r=t.layerTransitionState,a=t.theme,i=r!==L.TransitionStates.ENTERING;return re("div",{className:(0,o.default)(Z.default.progressBarWrapper,(e={},e[Z.default.progressBarWrapperVisible]=i,e))},void 0,i?re(M.default,{selectedTier:this.state.selectedTier,guild:n,onSelectTier:this.selectTier,canSelectTier:this.canSelectTier,initialAnimationDelay:100,openPaymentModal:this.openPaymentModal,theme:a}):null)},r.renderCarouselItem=function(e,t){var n=this,r=null!=t?t.interpolate({inputRange:[0,1],outputRange:[K.HEXColors.TRANSPARENT,(0,F.hexWithOpacity)(K.HEXColors.BLACK,this.props.theme===K.ThemeTypes.DARK?.2:.1)]}):K.HEXColors.TRANSPARENT;return re(i.default.div,{className:Z.default.tierWrapper,style:null!=t?{transform:[{translateY:t.interpolate({inputRange:[0,1],outputRange:[ie+"px","0px"]})}],boxShadow:i.default.template(Q(),r),opacity:t.interpolate({inputRange:[0,1],outputRange:[.5,1]})}:null},void 0,re(C.default,{className:this.state.selectedTier===e.tier?Z.default.carouselItemSelected:Z.default.carouselItemClickable,onClick:function(){return n.selectTier(e.tier)}},void 0,re(se,{subscriberCount:this.props.guild.premiumSubscriberCount,tier:e})))},r.getCarouselAlignment=function(e){switch(e){case K.PremiumGuildTiers.TIER_1:return T.Alignment.LEFT;case K.PremiumGuildTiers.TIER_3:return T.Alignment.RIGHT;default:return T.Alignment.CENTER}},r.renderCarousel=function(){var e=this,t=this.state.selectedTier,n=this.props,r=n.layerTransitionState,a=n.viewportWidth;return r===L.TransitionStates.ENTERING?re("div",{className:Z.default.carouselPlaceholder}):re("div",{className:(0,o.default)(Z.default.carouselContainer,Z.default.carouselContainerVisible)},void 0,re(T.CarouselWithPreview,{className:Z.default.carousel,edgeItems:0,items:(0,x.getTiers)(),renderItem:function(t,n,r){return e.renderCarouselItem(t,r)},currentIndex:t-1,itemSize:{width:365,margin:30},width:a,gutter:(a-le)/2,align:this.getCarouselAlignment(t),hideOverflow:!1}))},r.render=function(){var e=this,t=this.state.error;return re(a.Fragment,{},void 0,this.renderClose(),re(U.ScrollerAuto,{className:Z.default.perksModal},void 0,re("div",{className:Z.default.perksModalContentWrapper},void 0,re("div",{className:Z.default.content},void 0,re("img",{className:Z.default.headerGraphic,alt:"",src:n(9611)}),re(P.default,{className:Z.default.headerLogo}),re(k.default,{size:k.default.Sizes.SIZE_16,className:Z.default.headerBlurb},void 0,$.default.Messages.PREMIUM_GUILD_PERKS_MODAL_BLURB.format({helpdeskArticle:H.default.getArticleURL(K.HelpdeskArticles.GUILD_SUBSCRIPTIONS),openPremiumGuildSettings:function(){e.handleClose(),p.default.open(K.UserSettingsSections.PREMIUM_GUILD_SUBSCRIPTION)}})),re(W.default,{closeLayer:this.handleClose,guild:this.props.guild,openPaymentModal:this.openPaymentModal}),this.renderProgressBar()),this.renderCarousel(),re("div",{className:Z.default.content},void 0,re(j.default,{className:Z.default.subscriberPerksHeader,size:j.default.Sizes.SIZE_24},void 0,$.default.Messages.PREMIUM_GUILD_PERKS_MODAL_SUBSCRIBER_PERKS_HEADER),de,re("div",{className:Z.default.divider}),fe,re(y.default,{onOpenPremiumClick:this.handleClose})))),re(s.default,{},void 0,null!=t?re(N.default,{className:Z.default.slideIn},void 0,re(b.default,{onDismiss:this.handleDismissError},void 0,t.message)):null))},t}(a.PureComponent);ce.displayName="PremiumGuildPerksModal";var pe=function(e){var t=e.guildId,n=(0,u.useStateFromStores)([S.default],(function(){return S.default.getCurrentUser()})),r=(0,u.useStateFromStores)([g.default],(function(){return g.default.theme})),o=(0,u.useStateFromStores)([E.default],(function(){return E.default.getGuild(t)}),[t]),i=(0,u.useStateFromStores)([O.default],(function(){return O.default.windowSize()})).width,l=(0,u.useStateFromStores)([h.default],(function(){return h.default.getNotice(o)}),[o]);return null==o?null:a.createElement(ce,te({},e,{guild:o,theme:r,currentUser:n,channelNotice:l,viewportWidth:i}))};pe.displayName="PremiumGuildPerksModalConnected";var ve=pe;t.default=ve},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showNotice=function(e,t){a.default.dirtyDispatch({type:o.ActionTypes.CHANNEL_NOTICE_SHOW,noticeType:e,guild:t})},t.hideNotice=function(e,t){void 0===t&&(t={});var n=t.suppressAnalyticsTracking,r=void 0!==n&&n;a.default.dirtyDispatch({type:o.ActionTypes.CHANNEL_NOTICE_HIDE,noticeType:e,suppressAnalyticsTracking:r})},t.hidePremiumGuildGracePeriodNotice=function(e){a.default.dispatch({type:o.ActionTypes.PREMIUM_GUILD_GRACE_PERIOD_NOTICE_DISMISS,guildId:e})},t.hideEnablePublicGuildUpsellNotice=function(e){a.default.dispatch({type:o.ActionTypes.PUBLIC_UPSELL_NOTICE_DISMISS,guildId:e})},t.hideMaxMemberCountChannelNotice=function(e,t){a.default.dispatch({type:o.ActionTypes.MAX_MEMBER_COUNT_NOTICE_DISMISS,guildId:e,noticeType:t})};var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LiveIndicatorShapes=t.LiveIndicatorSizes=t.LiveIndicatorLooks=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a,o=f(n(9)),i=f(n(133)),l=n(8263),u=n(1),s=f(n(6)),d=f(n(7399));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=(0,i.default)({RED:null,GRAY:null});t.LiveIndicatorLooks=v;var y={LARGE:d.default.liveLarge,SMALL:d.default.liveSmall};t.LiveIndicatorSizes=y;var m=((r={})[l.BadgeShapes.ROUND]=d.default.liveShapeRound,r[l.BadgeShapes.ROUND_LEFT]=d.default.liveShapeRoundLeft,r[l.BadgeShapes.ROUND_RIGHT]=d.default.liveShapeRoundRight,r[l.BadgeShapes.SQUARE]="",r);function _(e){var t=e.className,n=e.style,r=e.shape,a=void 0===r?l.BadgeShapes.ROUND:r,i=e.look,f=void 0===i?v.RED:i,c=e.size,_=void 0===c?y.LARGE:c;return f===v.RED?p(l.TextBadge,{text:s.default.Messages.LIVE,className:(0,o.default)(t,d.default.live,_),color:u.Colors.STATUS_RED,shape:m[a],style:n}):p(l.TextBadge,{text:s.default.Messages.LIVE,className:(0,o.default)(t,d.default.live,_,d.default.grey),disableColor:!0,shape:m[a],style:n})}t.LiveIndicatorShapes=m,_.Looks=v,_.Sizes=y;var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=!1,u={},s=function(){u={userAffinties:[],inverseUserAffinties:[],lastFetched:0}};s();var d=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var a=r.prototype;return a.initialize=function(e){null!=e&&(u=e)},a.needsRefresh=function(){return Date.now()-u.lastFetched>864e5},a.getFetching=function(){return l},a.getState=function(){return u},a.getUserAffinities=function(){return u.userAffinties},a.getUserAffinitiesUserIds=function(){var e=new Set;return u.userAffinties.forEach((function(t){e.add(t.user_id)})),e},a.getInverseUserAffinities=function(){return u.inverseUserAffinties},a.getInverseUserAffinitiesUserIds=function(){var e=new Set;return u.inverseUserAffinties.forEach((function(t){e.add(t.user_id)})),e},r}(r.default.PersistedStore);d.persistKey="UserAffinitiesStore";var f=new d(a.default,{LOAD_USER_AFFINITIES_SUCCESS:function(e){var t=e.affinities;u.userAffinties=t.user_affinities,u.inverseUserAffinties=t.inverse_user_affinities,u.lastFetched=Date.now(),l=!1},LOAD_USER_AFFINITIES:function(e){l=!0},LOAD_USER_AFFINITIES_FAILURE:function(e){l=!1},LOGOUT:function(e){s()}});t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=u(n(9)),o=u(n(61)),i=u(n(6)),l=u(n(7660));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var f=Object.freeze({DEFAULT:l.default.default,FILLED:l.default.filled});function c(e){var t=e.className,n=e.onClick,r=e["aria-label"],u=e.look,s=void 0===u?f.DEFAULT:u;return d(o.default,{"aria-label":null!=r?r:i.default.Messages.REMOVE,className:(0,a.default)(l.default.button,s,t),onClick:n})}c.displayName="RemoveButton",c.Looks=f},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(9)),i=m(n(397)),l=m(n(473)),u=n(5689),s=n(415),d=m(n(61)),f=m(n(13)),c=n(1),p=m(n(6)),v=m(n(7416)),y=m(n(7360));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var g=function(){var e=(0,u.usePremiumTrialOffer)();return E("div",{className:v.default.premiumPromo},void 0,E(d.default,{onClick:function(){f.default.track(c.AnalyticEvents.PREMIUM_PROMOTION_OPENED,{location_page:null,location_section:c.AnalyticsSections.FILE_UPLOAD_POPOUT}),i.default.pop(),l.default.open(c.UserSettingsSections.PREMIUM)},className:v.default.content},void 0,null!=e?p.default.Messages.PREMIUM_UPLOAD_PROMO_TRIAL.format({maxUploadPremium:p.default.Messages.FILE_UPLOAD_LIMIT_PREMIUM_TIER_2}):p.default.Messages.PREMIUM_UPLOAD_PROMO.format({maxUploadPremium:p.default.Messages.FILE_UPLOAD_LIMIT_PREMIUM_TIER_2}),E("img",{alt:"",className:v.default.navArrow,src:n(9264)})))};g.displayName="PremiumPromo";var S=E(g,{}),O=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n),r.prototype.render=function(){var e=this.props.promo;return E("div",{className:y.default.uploadModalIn},void 0,E("div",{className:(0,o.default)(y.default.uploadDropModal,y.default.error)},void 0,E("div",{className:y.default.inner},void 0,E("div",{className:y.default.icons},void 0,E("div",{className:y.default.wrapOne},void 0,E("div",{className:(0,o.default)(y.default.icon,y.default.one)})),E("div",{className:y.default.wrapThree},void 0,E("div",{className:(0,o.default)(y.default.icon,y.default.three)})),E("div",{className:y.default.wrapTwo},void 0,E("div",{className:(0,o.default)(y.default.icon,y.default.two)}))),E("div",{className:y.default.title},void 0,this.props.title),E("div",{className:y.default.instructions},void 0,this.props.help),e?S:null)))},r}(a.Component);O.displayName="UploadError",O.modalConfig={backdropStyle:s.BackdropStyles.DARK,backdropInstant:!0};var I=O;t.default=I},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.GuildScheduledEventEntityTypes=t.GuildScheduledEventStatusDone=t.GuildScheduledEventStatus=void 0,t.GuildScheduledEventStatus=r,function(e){e[e.SCHEDULED=1]="SCHEDULED",e[e.ACTIVE=2]="ACTIVE",e[e.COMPLETED=3]="COMPLETED",e[e.CANCELED=4]="CANCELED"}(r||(t.GuildScheduledEventStatus=r={}));var a,o=new Set([r.COMPLETED,r.CANCELED]);t.GuildScheduledEventStatusDone=o,t.GuildScheduledEventEntityTypes=a,function(e){e[e.NONE=0]="NONE",e[e.STAGE_INSTANCE=1]="STAGE_INSTANCE"}(a||(t.GuildScheduledEventEntityTypes=a={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=s(n(88)),l=s(n(8496)),u=s(n(7341));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var p=function(e){var t,n=e.className,r=e.compact,s=void 0!==r&&r,d=e.zalgo,p=void 0===d||d,v=e.disableInteraction,y=void 0!==v&&v,m=e.childrenRepliedMessage,_=e.childrenExecutedCommand,h=e.childrenHeader,E=e.childrenSystemMessage,g=e.childrenButtons,S=e.childrenMessageContent,O=e.childrenAccessories,I=e.messageRef,T=e.focusProps,C=void 0===T?{offset:{left:4,right:4}}:T,b=e.hasThread,M=e.isSystemMessage,N=e.hasReply,A=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["className","compact","zalgo","disableInteraction","childrenRepliedMessage","childrenExecutedCommand","childrenHeader","childrenSystemMessage","childrenButtons","childrenMessageContent","childrenAccessories","messageRef","focusProps","hasThread","isSystemMessage","hasReply"]),P=a.createElement(i.default,C,a.createElement("div",f({className:(0,o.default)(n,(t={},t[u.default.wrapper]=!0,t[u.default.compact]=s,t[u.default.cozy]=!s,t[u.default.zalgo]=p,t[u.default.hasThread]=b,t[u.default.isSystemMessage]=M,t[u.default.hasReply]=N,t)),ref:I},A),m,_,c("div",{className:u.default.contents,role:"document"},void 0,E,h,null==E&&S),O,null!=g?c("div",{className:u.default.buttonContainer},void 0,g):null));return y?c(l.default,{},void 0,P):P};t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.perceptualToAmplitude=function(e,t){void 0===t&&(t=100);if(0===e)return 0;var n;n=e>t?(e-t)/t*6:e/t*50-50;return t*Math.pow(10,n/20)},t.amplitudeToPerceptual=function(e,t){void 0===t&&(t=100);if(0===e)return 0;var n,r=20*Math.log10(e/t);n=r>0?r/6+1:(50+r)/50;return t*n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=u(n(9)),o=n(202),i=u(n(61)),l=u(n(7441));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}var f=function(e){var t,n=e.children,u=e.className,s=e.color,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["children","className","color"]),c=r.useState(!1),p=c[0],v=c[1],y=r.useCallback((function(){v(!0)}),[v]),m=r.useCallback((function(){v(!1)}),[v]),_={};return null!=s&&(_={color:(0,o.int2hex)(s),backgroundColor:p?(0,o.int2rgba)(s,.3):(0,o.int2rgba)(s,.1)}),r.createElement(i.default,d({},f,{tag:"span",className:(0,a.default)(u,(t={},t[l.default.wrapper]=!0,t.mention=!0,t.interactive=f.onClick,t)),onMouseEnter:y,onMouseLeave:m,style:_,tabIndex:null!=f.onClick?0:-1}),n)};f.displayName="Mention";var c=f;t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return"function"==typeof e?e(t):e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sync=function(e,t){a.default.dispatch({type:i.ActionTypes.ACTIVITY_SYNC,activity:e,userId:t})},t.play=function(e,t){u(e,t).then((function(n){return a.default.dispatch({type:i.ActionTypes.ACTIVITY_PLAY,activity:e,userId:t,metadata:n})})).catch((function(){return a.default.dispatch({type:i.ActionTypes.ACTIVITY_PLAY,activity:e,userId:t})}))},t.getMetadata=u;var r=l(n(14)),a=l(n(2)),o=l(n(256)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var n=o.default.getActivityMetadata(t);return null!=n?Promise.resolve(n):null==e.session_id?Promise.reject(new Error("null/undefined session_id")):r.default.get({url:i.Endpoints.USER_ACTIVITY_METADATA(t,e.session_id,e.application_id),oldFormErrors:!0}).then((function(e){var n=e.body;return a.default.dispatch({type:i.ActionTypes.ACTIVITY_METADATA_UPDATE,metadata:n,userId:t}),n}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),a=n(57),o=l(n(2)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(){return(s=Object.assign||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}).apply(this,arguments)}var d={},f={};function c(e,t,n){var r=n.applicationId,l=d[r]||{};if(l[t]=e,d[r]=l,!__OVERLAY__&&e===i.ActivityActionStates.FAILED){null!=f[r]&&f[r].stop();var u=new a.Timeout;u.start(12e4,(function(){return o.default.dispatch({type:i.ActionTypes.ACTIVITY_LAUNCH_FAIL,applicationId:r,activityType:t})})),f[r]=u}}var p=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var a=r.prototype;return a.getState=function(e,t){var n=d[e];return n&&n[t]},a.getStates=function(){return d},r}(r.default.Store))(o.default,{OVERLAY_INITIALIZE:function(e){var t=e.activityLauncherStates;d=s({},t)},ACTIVITY_JOIN_LOADING:function(e){return c(i.ActivityActionStates.LOADING,i.ActivityActionTypes.JOIN,e)},ACTIVITY_JOIN_FAILED:function(e){return c(i.ActivityActionStates.FAILED,i.ActivityActionTypes.JOIN,e)},ACTIVITY_JOIN:function(e){return c(i.ActivityActionStates.COMPLETE,i.ActivityActionTypes.JOIN,e)},EMBEDDED_ACTIVITY_CLOSE:function(e){return c(i.ActivityActionStates.COMPLETE,i.ActivityActionTypes.JOIN,e)},ACTIVITY_LAUNCH_FAIL:function(e){var t=e.applicationId,n=e.activityType,r=d[t];if(null==r||r[n]!==i.ActivityActionStates.FAILED)return!1;delete r[n]}});t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=n(8253),i=y(n(15)),l=y(n(40)),u=y(n(12)),s=y(n(80)),d=n(301),f=y(n(205)),c=y(n(8599)),p=n(1),v=y(n(6));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t){var n=(0,c.default)(),r=null==n?void 0:n.id,y=null==n?void 0:n.guild_id,m=(0,a.useStateFromStores)([i.default],(function(){return i.default.getGuild(y)}),[y]),h=(0,a.useStateFromStores)([s.default],(function(){return null!=r?s.default.getVoiceStateForChannel(r,e.id):null}),[r,e.id]),E=u.default.getCurrentUser().id===e.id,g=(0,a.useStateFromStores)([f.default],(function(){return f.default.getPermissionsForUser(e.id,r)}),[r,e.id]),S=(0,a.useStateFromStores)([l.default],(function(){return null!=r&&l.default.canWithPartialContext(p.Permissions.MUTE_MEMBERS,{channelId:r})}),[r]);if(null==n||null==m||null==h||t===p.AppContext.POPOUT)return null;if(!S)return null;if(g.speaker)return null;return _(o.MenuItem,{id:"invite-speaker",label:E?v.default.Messages.STAGE_CHANNEL_USER_SET_MYSELF_TO_SPEAKER:v.default.Messages.STAGE_CHANNEL_USER_INVITE_TO_SPEAK,action:function(){E?(0,d.audienceAckRequestToSpeak)(n,!1):(0,d.inviteUserToStage)(n,e.id)}})}h.displayName="useInviteToSpeakItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),s("path",{className:f,fill:d,d:"M20 6.00201H14V3.00201C14 2.45001 13.553 2.00201 13 2.00201H4C3.447 2.00201 3 2.45001 3 3.00201V22.002H5V14.002H10.586L8.293 16.295C8.007 16.581 7.922 17.011 8.076 17.385C8.23 17.759 8.596 18.002 9 18.002H20C20.553 18.002 21 17.554 21 17.002V7.00201C21 6.45001 20.553 6.00201 20 6.00201Z"}))}d.displayName="Flag"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTimeUnit=w,t.getTimeAndUnit=function(e,t){var n=null!=e?w(e,(function(e){return t.includes(e)})):E.NONE,r=null!=n?P[n]:null;return{unit:n,time:null!=e&&null!=r?Math.floor(r(e)):null}},t.default=t.TimeUnitMax=t.TimeUnitConversion=t.TimeUnits=void 0;var r,a,o,i,l,u,s,d,f,c,p,v,y,m,_,h,E,g,S=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),O=C(n(8)),I=n(57),T=C(n(6));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e,t,n,r){_||(_="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,o=arguments.length-3;if(t||0===o||(t={children:void 0}),1===o)t.children=r;else if(o>1){for(var i=new Array(o),l=0;l<o;l++)i[l]=arguments[l+3];t.children=i}if(t&&a)for(var u in a)void 0===t[u]&&(t[u]=a[u]);else t||(t=a||{});return{$$typeof:_,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(){return(A=Object.assign||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}).apply(this,arguments)}!function(e){e.ACTIVITY_FEED="ACTIVITY_FEED",e.ACTIVITY_FEED_NEW="ACTIVITY_FEED_NEW",e.USER_ACTIVITY="USER_ACTIVITY",e.GAME_LIBRARY_TIME_PLAYED="GAME_LIBRARY_TIME_PLAYED",e.GAME_LIBRARY_LAST_PLAYED="GAME_LIBRARY_LAST_PLAYED"}(h||(h={})),t.TimeUnits=E,function(e){e.NONE="NONE",e.SECONDS="SECONDS",e.MINUTES="MINUTES",e.HOURS="HOURS",e.DAYS="DAYS",e.WEEKS="WEEKS",e.MONTHS="MONTHS",e.YEARS="YEARS"}(E||(t.TimeUnits=E={})),function(e){e.START="START",e.END="END",e.TIME="TIME"}(g||(g={}));var P=((r={})[E.NONE]=function(e){return 0},r[E.SECONDS]=function(e){return 60*e},r[E.MINUTES]=function(e){return e},r[E.HOURS]=function(e){return e/60},r[E.DAYS]=function(e){return e/60/24},r[E.WEEKS]=function(e){return e/60/24/7},r[E.MONTHS]=function(e){return e/60/24/31},r[E.YEARS]=function(e){return e/60/24/365},r);t.TimeUnitConversion=P;var R=[{unit:E.NONE,max:0},{unit:E.SECONDS,max:1},{unit:E.MINUTES,max:60},{unit:E.HOURS,max:1440},{unit:E.DAYS,max:44640},{unit:E.WEEKS,max:40320},{unit:E.MONTHS,max:525600},{unit:E.YEARS,max:1/0}];t.TimeUnitMax=R;var L=function(e){return function(t,n){return null==n?"":e().format(A({time:t},n))}},D=((m={})[h.ACTIVITY_FEED]=((i={})[g.START]=((a={})[E.SECONDS]=function(){return T.default.Messages.GAME_FEED_USER_PLAYING_JUST_STARTED},a[E.MINUTES]=function(e){return T.default.Messages.GAME_FEED_USER_PLAYING_FOR_MINUTES.format({time:e})},a[E.HOURS]=function(e){return T.default.Messages.GAME_FEED_USER_PLAYING_FOR_HOURS.format({time:e})},a[E.DAYS]=function(e){return T.default.Messages.GAME_FEED_USER_PLAYING_FOR_DAYS.format({time:e})},a),i[g.END]=((o={})[E.SECONDS]=function(){return T.default.Messages.GAME_FEED_USER_PLAYING_JUST_ENDED},o[E.MINUTES]=function(e){return T.default.Messages.GAME_FEED_USER_PLAYED_MINUTES_AGO.format({time:e})},o[E.HOURS]=function(e){return T.default.Messages.GAME_FEED_USER_PLAYED_HOURS_AGO.format({time:e})},o[E.DAYS]=function(e){return T.default.Messages.GAME_FEED_USER_PLAYED_DAYS_AGO.format({time:e})},o[E.WEEKS]=function(e){return T.default.Messages.GAME_FEED_USER_PLAYED_WEEKS_AGO.format({time:e})},o[E.MONTHS]=function(e){return T.default.Messages.GAME_FEED_USER_PLAYED_MONTHS_AGO.format({time:e})},o[E.YEARS]=function(e){return T.default.Messages.GAME_FEED_USER_PLAYED_YEARS_AGO.format({time:e})},o),i),m[h.ACTIVITY_FEED_NEW]=((s={})[g.START]=((l={})[E.SECONDS]=L((function(){return T.default.Messages.ACTIVITY_FEED_USER_PLAYING_JUST_STARTED})),l[E.MINUTES]=L((function(){return T.default.Messages.ACTIVITY_FEED_USER_PLAYING_FOR_MINUTES})),l[E.HOURS]=L((function(){return T.default.Messages.ACTIVITY_FEED_USER_PLAYING_FOR_HOURS})),l[E.DAYS]=L((function(){return T.default.Messages.ACTIVITY_FEED_USER_PLAYING_FOR_DAYS})),l),s[g.END]=((u={})[E.SECONDS]=function(e){return T.default.Messages.ACTIVITY_FEED_USER_PLAYED_SECONDS_AGO.format({time:e})},u[E.MINUTES]=function(e){return T.default.Messages.ACTIVITY_FEED_USER_PLAYED_MINUTES_AGO.format({time:e})},u[E.HOURS]=function(e){return T.default.Messages.ACTIVITY_FEED_USER_PLAYED_HOURS_AGO.format({time:e})},u[E.DAYS]=function(e){return T.default.Messages.ACTIVITY_FEED_USER_PLAYED_DAYS_AGO.format({time:e})},u),s),m[h.USER_ACTIVITY]=((f={})[g.START]=((d={})[E.SECONDS]=function(){return T.default.Messages.GAME_FEED_USER_PLAYING_JUST_STARTED},d[E.MINUTES]=function(e,t,n){return void 0===n&&(n=!1),n?T.default.Messages.GAME_FEED_USER_PLAYING_FOR_MINUTES.format({time:e}):T.default.Messages.USER_ACTIVITY_USER_PLAYING_FOR_MINUTES.format({time:e})},d[E.HOURS]=function(e,t,n){return void 0===n&&(n=!1),n?T.default.Messages.GAME_FEED_USER_PLAYING_FOR_HOURS.format({time:e}):T.default.Messages.USER_ACTIVITY_USER_PLAYING_FOR_HOURS.format({time:e})},d[E.DAYS]=function(e,t,n){return void 0===n&&(n=!1),n?T.default.Messages.GAME_FEED_USER_PLAYING_FOR_DAYS.format({time:e}):T.default.Messages.USER_ACTIVITY_USER_PLAYING_FOR_DAYS.format({time:e})},d),f),m[h.GAME_LIBRARY_TIME_PLAYED]=((p={})[g.TIME]=((c={})[E.NONE]=function(){return T.default.Messages.GAME_LIBRARY_TIME_PLAYED_NONE},c[E.SECONDS]=function(e){return T.default.Messages.GAME_LIBRARY_TIME_PLAYED_SECONDS.format({time:e})},c[E.MINUTES]=function(e){return T.default.Messages.GAME_LIBRARY_TIME_PLAYED_MINUTES.format({time:e})},c[E.HOURS]=function(e){return T.default.Messages.GAME_LIBRARY_TIME_PLAYED_HOURS.format({time:e})},c),p),m[h.GAME_LIBRARY_LAST_PLAYED]=((y={})[g.END]=((v={})[E.NONE]=function(){return T.default.Messages.GAME_LIBRARY_LAST_PLAYED_NONE},v[E.SECONDS]=function(){return T.default.Messages.GAME_LIBRARY_LAST_PLAYED_JUST_NOW},v[E.MINUTES]=function(e){return T.default.Messages.GAME_LIBRARY_LAST_PLAYED_MINUTES.format({time:e})},v[E.HOURS]=function(e){return T.default.Messages.GAME_LIBRARY_LAST_PLAYED_HOURS.format({time:e})},v[E.DAYS]=function(e){return T.default.Messages.GAME_LIBRARY_LAST_PLAYED_DAYS.format({time:e})},v[E.WEEKS]=function(e){return T.default.Messages.GAME_LIBRARY_LAST_PLAYED_WEEKS.format({time:e})},v[E.MONTHS]=function(e){return T.default.Messages.GAME_LIBRARY_LAST_PLAYED_MONTHS.format({time:e})},v[E.YEARS]=function(e){return T.default.Messages.GAME_LIBRARY_LAST_PLAYED_YEARS.format({time:e})},v),y),m);function w(e,t){var n=R.findIndex((function(t){var n=t.max;return t.unit===E.NONE&&e===n||e<n})),r=O.default.findLast(R,(function(e){var n=e.unit;return t(n)}),n);if(null!=r)return r.unit;var a=R.find((function(e){var n=e.unit;return t(n)}));return a?a.unit:null}var j=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).timer=new I.Interval,t.state={time:t.getDiff()},t.update=function(){t.setState({time:t.getDiff()})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,N(t,n);var a=r.prototype;return a.componentDidMount=function(){this.timer.start(1e4,this.update)},a.componentDidUpdate=function(e){var t=this.props,n=t.start,r=t.end,a=t.time;e.start===n&&e.end===r&&e.time===a||this.update()},a.componentWillUnmount=function(){this.timer.stop()},a.getDiff=function(){var e=this.props,t=e.start,n=e.end,r=e.time;if(null!=r)return r/1e3/60;var a=Date.now(),o=0;return null!=t?o=a-t:null!=n&&(o=a-n),Math.abs(o)/1e3/60},a.getTimeUnit=function(e,t,n){var r=w(e,(function(e){return function(e,t,n){var r=D[n];if(null!=r){var a=r[t];if(null!=a)return null!=a[e]}return!1}(e,n,t)}));if(null==r)throw new Error("Could not get the time unit in PlayTime with time: "+e+" for type: "+n+" in location: "+t);return r},a.getType=function(){var e=this.props,t=e.start,n=e.end,r=e.time;return null!=t?g.START:null!=n?g.END:null!=r?g.TIME:null},a.transformTime=function(e,t){return P[e](t)},a.render=function(){var e=this.props,t=e.location,n=e.className,r=e.messageProps,a=e.isApplicationStreaming,o=this.state.time,i=this.getType();if(null==i)return null;var l=this.getTimeUnit(o,t,i),u=D[t][i];if(null==u)return null;var s=u[l],d=Math.floor(this.transformTime(l,o));return M("span",{className:n},void 0,s&&s(d,r,a))},r}(S.PureComponent);j.displayName="PlayTime",j.Locations=h,j.Types=g;var k=j;t.default=k},function(e,t,n){"use strict";var r,a;Object.defineProperty(t,"__esModule",{value:!0}),t.UserProfileSections=t.BadgeKeys=void 0,t.BadgeKeys=r,function(e){e[e.STAFF=0]="STAFF",e[e.PARTNER=1]="PARTNER",e[e.HYPESQUAD=2]="HYPESQUAD",e[e.HYPESQUAD_ONLINE_HOUSE_1=3]="HYPESQUAD_ONLINE_HOUSE_1",e[e.HYPESQUAD_ONLINE_HOUSE_2=4]="HYPESQUAD_ONLINE_HOUSE_2",e[e.HYPESQUAD_ONLINE_HOUSE_3=5]="HYPESQUAD_ONLINE_HOUSE_3",e[e.BUG_HUNTER_LEVEL_1=6]="BUG_HUNTER_LEVEL_1",e[e.BUG_HUNTER_LEVEL_2=7]="BUG_HUNTER_LEVEL_2",e[e.EARLY_VERIFIED_DEVELOPER=8]="EARLY_VERIFIED_DEVELOPER",e[e.EARLY_SUPPORTER=9]="EARLY_SUPPORTER",e[e.CERTIFIED_MODERATOR=10]="CERTIFIED_MODERATOR",e[e.PREMIUM=11]="PREMIUM",e[e.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_1=12]="PREMIUM_GUILD_SUBSCRIPTION_LEVEL_1",e[e.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_2=13]="PREMIUM_GUILD_SUBSCRIPTION_LEVEL_2",e[e.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_3=14]="PREMIUM_GUILD_SUBSCRIPTION_LEVEL_3",e[e.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_4=15]="PREMIUM_GUILD_SUBSCRIPTION_LEVEL_4",e[e.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_5=16]="PREMIUM_GUILD_SUBSCRIPTION_LEVEL_5",e[e.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_6=17]="PREMIUM_GUILD_SUBSCRIPTION_LEVEL_6",e[e.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_7=18]="PREMIUM_GUILD_SUBSCRIPTION_LEVEL_7",e[e.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_8=19]="PREMIUM_GUILD_SUBSCRIPTION_LEVEL_8",e[e.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_9=20]="PREMIUM_GUILD_SUBSCRIPTION_LEVEL_9"}(r||(t.BadgeKeys=r={})),t.UserProfileSections=a,function(e){e.USER_INFO="USER_INFO",e.ACTIVITY="ACTIVITY",e.MUTUAL_GUILDS="MUTUAL_GUILDS",e.MUTUAL_FRIENDS="MUTUAL_FRIENDS"}(a||(t.UserProfileSections=a={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filterEmpty=u,t.getBoolean=s,t.getOptionalBoolean=function(e,t){return null==e[t]?null:s(e,t)},t.getChannelId=d,t.getOptionalChannelId=function(e,t){return null==e[t]?null:d(e,t)},t.getUserId=f,t.getOptionalUserId=function(e,t){return null==e[t]?null:f(e,t)},t.getRoleId=c,t.getOptionalRoleId=function(e,t){return null==e[t]?null:c(e,t)},t.getString=p,t.getOptionalString=function(e,t){return null==e[t]?null:p(e,t)};var r,a=(r=n(23))&&r.__esModule?r:{default:r},o=n(8290);function i(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e){return null==e?[]:e.filter((function(e){return"text"!==e.type||""!==e.text.trim()}))}function s(e,t){var n,r=u(e[t]);return(0,a.default)(1===r.length,"Contains multiple values"),(0,a.default)("text"===(null===(n=r[0])||void 0===n?void 0:n.type),"First value is not text"),r[0].text===o.TRUE_OPTION_NAME}function d(e,t){var n,r=u(e[t]);return(0,a.default)(1===r.length,"Contains multiple values"),(0,a.default)("channelMention"===(null===(n=r[0])||void 0===n?void 0:n.type),"First value is not a channel mention"),r[0].channelId}function f(e,t){var n,r=u(e[t]);return(0,a.default)(1===r.length,"Contains multiple values"),(0,a.default)("userMention"===(null===(n=r[0])||void 0===n?void 0:n.type),"First value is not a user mention"),r[0].userId}function c(e,t){var n,r=u(e[t]);return(0,a.default)(1===r.length,"Contains multiple values"),(0,a.default)("roleMention"===(null===(n=r[0])||void 0===n?void 0:n.type),"First value is not a role mention"),r[0].roleId}function p(e,t){for(var n,r="",a=i(e[t]);!(n=a()).done;){var o=n.value;switch(o.type){case"text":r+=o.text;break;case"userMention":r+="<@!"+o.userId+">";break;case"channelMention":r+="<#"+o.channelId+">";break;case"roleMention":r+="<@&"+o.roleId+">";break;case"textMention":r+=o.text;break;case"emoji":r+=o.surrogate;break;case"customEmoji":r+="<"+(o.animated?"a":"")+":"+o.name.replace(/:/g,"").split("~")[0]+":"+o.emojiId+">"}}return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(202),o=n(3),i=v(n(8254)),l=n(8253),u=v(n(56)),s=v(n(15)),d=v(n(40)),f=n(1),c=v(n(6)),p=v(n(7480));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e){var t;return m("div",{className:p.default.roleRow},void 0,m("div",{className:p.default.roleDot,style:{backgroundColor:null!==(t=e.colorString)&&void 0!==t?t:(0,a.int2hex)(f.DEFAULT_ROLE_COLOR)}}),m("div",{},void 0,e.name))}function h(e,t){var n=(0,o.useStateFromStores)([s.default],(function(){return s.default.getGuild(t)}),[t]),r=(0,o.useStateFromStoresObject)([u.default,d.default],(function(){var r=u.default.getMember(t,e);return{userRoles:null!=r?r.roles:[],isGuildMember:!!r,canManageRoles:null!=n&&d.default.can(f.Permissions.MANAGE_ROLES,n)}}),[e,t,n]),a=r.userRoles,p=r.isGuildMember,v=r.canManageRoles;if(__OVERLAY__)return null;if(null==a||null==n)return null;if(!p)return null;var y=d.default.getHighestRole(n),h=Object.values(n.roles).filter((function(e){return e.id!==n.id})),E=v?h.map((function(r){var o=r.managed||!d.default.isRoleHigher(n,y,r),u=-1!==a.indexOf(r.id);return o&&!u?null:m(l.MenuCheckboxItem,{id:r.id,label:function(){return _(r)},disabled:o,action:function(){return function(n){a.includes(n.id)?i.default.updateMemberRoles(t,e,a.filter((function(e){return e!==n.id})),[],[n.id]):i.default.updateMemberRoles(t,e,a.concat([n.id]),[n.id],[])}(r)},checked:u},r.id)})):h.filter((function(e){return-1!==a.indexOf(e.id)})).map((function(e){return e.id===n.id?null:m(l.MenuItem,{id:e.id,label:function(){return _(e)}},e.id)}));return 0===E.length?null:m(l.MenuItem,{id:"roles",label:c.default.Messages.ROLES_LIST.format({numRoles:3})},void 0,E)}_.displayName="coloredRoleLabel",h.displayName="useUserRolesItems"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(9)),o=i(n(7482));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var s=function(e){var t=e.className,n=e.children,r=e["aria-label"];return u("h2",{className:(0,a.default)(t,o.default.container),"aria-label":r},void 0,n)};s.displayName="ListSectionItem";var d=s;t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(){return(l=Object.assign||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}).apply(this,arguments)}var u={};function s(){u={}}var d=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n),r.prototype.getPendingReply=function(e){return u[e]},r}(r.default.Store))(a.default,{CREATE_PENDING_REPLY:function(e){var t=e.channel,n=e.message,r=e.shouldMention,a=void 0===r||r,o=e.showMentionToggle,i=void 0===o||o;u[t.id]={channel:t,message:n,shouldMention:a,showMentionToggle:i}},SET_PENDING_REPLY_SHOULD_MENTION:function(e){var t=e.channelId,n=e.shouldMention;if(!(t in u))return!1;u[t]=l({},u[t],{shouldMention:n})},DELETE_PENDING_REPLY:function(e){var t=e.channelId;delete u[t]},CONNECTION_OPEN:function(e){return s()},LOGOUT:function(e){return s()},MESSAGE_DELETE:function(e){var t,n,r=e.id,a=e.channelId;if((null===(t=u[a])||void 0===t||null===(n=t.message)||void 0===n?void 0:n.id)!==r)return!1;delete u[a]}});t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(8)),a=i(n(3)),o=i(n(2));n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(){return(u=Object.assign||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}).apply(this,arguments)}var s={},d={favorites:[],timesFavorited:0};var f=function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var o=a.prototype;return o.initialize=function(e){null!=e&&(d=e).favorites.forEach((function(e){s[e.url]=e}))},o.getState=function(){return d},o.getFavorites=function(){return d.favorites},o.shouldShowTooltipOnFavorite=function(){return d.timesFavorited<=2},o.getIsFavorite=function(e){return null!=s[e]},o.getRandomFavorite=function(){return r.default.sample(d.favorites)},a}(a.default.PersistedStore);f.persistKey="GIFFavoritesStore",f.migrations=[function(e){return null==e?{favorites:[],timesFavorited:0}:Array.isArray(e)?{favorites:e,timesFavorited:0}:e},function(e){return Array.isArray(e.favorites)?e:{favorites:[],timesFavorited:0}}];var c=new f(o.default,{GIF_FAVORITE_ADD:function(e){var t=e.gif;if(null!=s[t.url])return!1;d=u({},d,{favorites:[t].concat(d.favorites)}),s[t.url]=t,d.timesFavorited+=1},GIF_FAVORITE_REMOVE:function(e){var t=e.url;if(!delete s[t])return!1;var n=d.favorites,r=n.findIndex((function(e){var n=e.url;return t===n}));if(null==r)return!1;d.favorites=n.slice(0,r).concat(n.slice(r+1,n.length))}});t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializeInlineObject=h,t.default=void 0;var r=p(n(23)),a=n(180),o=p(n(10)),i=p(n(15)),l=p(n(70)),u=p(n(107)),s=p(n(12)),d=n(48),f=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(8350));function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){return e&&e.__esModule?e:{default:e}}var v={serialize:function(e,t){var n=y(e,new E(t));(0,r.default)(null!=n,"Slate: Should not have null markdown ever");var a=e.nodes.last();"block"===a.object&&"blockQuote"===a.type&&(n=n.replace(/(\n>\s*)+$/,""));return n},serializeSelection:function(e,t,n,a){void 0===a&&(a=!1);var o=y(e,new g(e,t,n));if(null==o){if(a)return"";(0,r.default)(null!=o,"Slate: Should not have null markdown ever")}return o}};function y(e,t){var n=t.startNode(e);switch(e.object){case"document":return function(e,t){return _(e,"\n",t)}(e,t);case"block":switch(e.type){case"line":case"paragraph":return m(e,t);case"blockQuote":var r=m(e,t);return n&&null!=r?"> "+r:r;default:throw new Error("Slate: Unknown block-object type: "+e.type)}case"inline":return t.outputInlineObject(h(e,t.mode));case"text":return t.outputText(e.text);default:throw new Error("Slate: Unknown object type: "+e.object+"-"+e.type)}}function m(e,t){return _(e,"",t)}function _(e,t,n){(0,r.default)("text"!==e.object,"Slate: node cannot be a text node");var a=e.nodes;if(0===a.size)return"";var o=a.map((function(e){return y(e,n)})).filter(d.isNotNullish);return 0===o.size?null:o.join(t)}function h(e,t){switch(e.type){case"emoji":var n=e.data.get("data");return null!=n.surrogate&&"raw"===t?n.surrogate:n.name;case"customEmoji":var r=e.data.get("data"),d=r.animated?"a":"";return"plain"===t?r.name:"<"+d+":"+r.name.replace(/:/g,"").split("~")[0]+":"+r.emojiId+">";case"mention":var c=e.data.get("id"),p="<@!"+c+">";if("plain"===t){var v=s.default.getUser(c);return null==v?p:"@"+v.username+"#"+v.discriminator}return p;case"textMention":return""+e.data.get("text");case"roleMention":var y=i.default.getGuild(u.default.getGuildId()),m=e.data.get("id"),_="<@&"+m+">";return"plain"===t?null==y||null==y.roles[m]?_:"@"+y.roles[m].name:_;case"channel":var E=e.data.get("id"),g="<#"+E+">";if("plain"===t){var S=o.default.getChannel(E);return null==S?g:(0,a.computeChannelName)(S,s.default,l.default,!0)}return g;case"commandOption":var O=e.data.get("name");return f.hasValueNodes(e)?O+":"+e.nodes.map((function(e){return null==e?"":"inline"===e.object?h(e,t):e.text})).join("")+" ":O+": ";default:throw new Error("Slate: Unknown inline-object type: "+e.type)}}t.default=v;var E=function(){function e(e){this.mode=e,this.mode=e}var t=e.prototype;return t.startNode=function(e){return!0},t.outputInlineObject=function(e){return e},t.outputText=function(e){return e},e}(),g=function(){function e(e,t,n){var r=t.start,a=r.key,o=r.offset,i=t.end,l=i.key,u=i.offset;this.document=e,this.mode=n,this.startKey="",this.startOffset=0,this.endKey="",this.endOffset=0,this.isIn=!1,this.isSkippingBlockquotes=!1,this.currentKey="",this.document=e,this.startKey=a,this.startOffset=o,this.endKey=l,this.endOffset=u;var s=this.document.getClosestBlock(this.startKey);this.isSkippingBlockquotes=null!=s&&"block"===s.object&&"blockQuote"===s.type&&!this.isFirstBlockQuoteNode(s)}var t=e.prototype;return t.startNode=function(e){this.currentKey=e.key;var t=this.shouldOutputMarkupSyntax(e);return this.currentKey===this.startKey&&(this.isIn=!0),this.currentKey===this.endKey&&(this.isIn=!1),t},t.shouldOutputMarkupSyntax=function(e){return this.isIn&&this.isSkippingBlockquotes&&"block"===e.object&&"blockQuote"!==e.type&&(this.isSkippingBlockquotes=!1),!this.isSkippingBlockquotes&&(!!this.isIn||"block"===e.object&&"blockQuote"===e.type&&this.isFirstBlockQuoteNode(e))},t.isFirstBlockQuoteNode=function(e){var t=e.getFirstText(),n=this.document.getPreviousSibling(e.key);return 0===this.startOffset&&null!=t&&t.key===this.startKey&&(null==n||"block"!==n.object||"blockQuote"!==n.type)},t.outputInlineObject=function(e){return this.isIn?e:null},t.outputText=function(e){return this.startKey===this.currentKey&&this.endKey===this.currentKey?e.substring(this.startOffset,this.endOffset):this.startKey===this.currentKey?e.substring(this.startOffset):this.endKey===this.currentKey?e.substring(0,this.endOffset):this.isIn?e:null},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){void 0===t&&(t=!0);void 0===n&&(n=!1);if(!e.available)return o.default.Messages.GAME_ACTION_BUTTON_UNAVAILABLE;if(e.premium&&!n)return o.default.Messages.APPLICATION_STORE_FREE_WITH_PREMIUM;var r=e.getPrice(null,t);if(null!=r)return r.amount>0?(0,a.formatPrice)(r.amount,r.currency):o.default.Messages.APPLICATION_STORE_FREE;return o.default.Messages.GAME_ACTION_BUTTON_UNAVAILABLE};var r,a=n(281),o=(r=n(6))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=n(8321),i=n(8253),l=d(n(200)),u=n(1),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=(0,a.useStateFromStores)([l.default],(function(){return e.type===u.ChannelTypes.GUILD_CATEGORY?l.default.hasCategoryUnread(e.id):l.default.hasUnread(e.id)}),[e.id,e.type]);return c(i.MenuItem,{id:"mark-channel-read",label:s.default.Messages.MARK_AS_READ,action:function(){e.type===u.ChannelTypes.GUILD_CATEGORY?(0,o.ackCategory)(e.id,!0,!0):(0,o.ack)(e.id,!0,!0)},disabled:!t})}p.displayName="useChannelMarkAsReadItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderSingleLineMessage=L,t.repliedMessageElementId=D,t.default=w;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=C(n(9)),i=C(n(5)),l=n(5943),u=C(n(8640)),s=C(n(8644)),d=n(706),f=C(n(9550)),c=n(290),p=C(n(61)),v=C(n(278)),y=C(n(8606)),m=C(n(8793)),_=C(n(8900)),h=n(150),E=n(1161),g=n(48),S=C(n(8515)),O=n(1),I=C(n(6)),T=C(n(7341));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(e){var t=e.width,n=void 0===t?12:t,r=e.height,a=void 0===r?8:r,o=e.color,i=void 0===o?"currentColor":o;return M("svg",{className:e.className,width:n,height:a,viewBox:"0 0 12 8"},void 0,M("path",{d:"M0.809739 3.59646L5.12565 0.468433C5.17446 0.431163 5.23323 0.408043 5.2951 0.401763C5.35698 0.395482 5.41943 0.406298 5.4752 0.432954C5.53096 0.45961 5.57776 0.50101 5.61013 0.552343C5.64251 0.603676 5.65914 0.662833 5.6581 0.722939V2.3707C10.3624 2.3707 11.2539 5.52482 11.3991 7.21174C11.4028 7.27916 11.3848 7.34603 11.3474 7.40312C11.3101 7.46021 11.2554 7.50471 11.1908 7.53049C11.1262 7.55626 11.0549 7.56204 10.9868 7.54703C10.9187 7.53201 10.857 7.49695 10.8104 7.44666C8.72224 5.08977 5.6581 5.63359 5.6581 5.63359V7.28135C5.65831 7.34051 5.64141 7.39856 5.60931 7.44894C5.5772 7.49932 5.53117 7.54004 5.4764 7.5665C5.42163 7.59296 5.3603 7.60411 5.29932 7.59869C5.23834 7.59328 5.18014 7.57151 5.13128 7.53585L0.809739 4.40892C0.744492 4.3616 0.691538 4.30026 0.655067 4.22975C0.618596 4.15925 0.599609 4.08151 0.599609 4.00269C0.599609 3.92386 0.618596 3.84612 0.655067 3.77562C0.691538 3.70511 0.744492 3.64377 0.809739 3.59646Z",className:e.foreground,fill:i}))}function A(e){var t=e.width,n=void 0===t?18:t,r=e.height,a=void 0===r?18:r;return M("svg",{className:e.className,width:n,height:a,viewBox:"0 0 18 18"},void 0,M("path",{fill:"#3ba55c",d:"M0 8h14.2l-3.6-3.6L12 3l6 6-6 6-1.4-1.4 3.6-3.6H0",className:e.foreground}))}function P(e,t,n,r,a){var i;return M("img",{alt:"",src:null!=(null==t?void 0:t.guildMemberAvatar)&&null!=n?(0,h.getGuildMemberAvatarURLSimple)({guildId:n,userId:e.id,avatar:t.guildMemberAvatar}):e.getAvatarURL(n),onClick:r,onContextMenu:a,className:(0,o.default)((i={},i[T.default.replyAvatar]=!0,i[T.default.clickable]=null!=r,i))})}function R(e,t){var n=e.baseMessage,r=e.referencedMessage,a=e.showUsernamePopout,o=e.onClickUsername,i=e.onContextMenu,l=e.onPopoutRequestClose,s=(null==r?void 0:r.state)===d.ReferencedMessageState.LOADED?r.message:void 0;return null==s||s.type===O.MessageTypes.USER_JOIN?null:M(u.default,{message:s,compact:!0,withMentionPrefix:(0,f.default)(n,s),showPopout:a,renderPopout:t,onClick:o,onContextMenu:i,onPopoutRequestClose:l})}function L(e,t,n,r,a){var o,i,l,u=!t||Array.isArray(t)&&0===t.length,s=(0,c.getMessageStickers)(e).length>0,d=null!=e.interaction;return n?o=I.default.Messages.REPLY_QUOTE_MESSAGE_BLOCKED:s&&u?o=I.default.Messages.REPLY_QUOTE_STICKER:d&&u?o=I.default.Messages.REPLY_QUOTE_COMMAND:u?o=I.default.Messages.REPLY_QUOTE_NO_TEXT_CONTENT:i=M(S.default,{message:e,content:t,className:r}),s?l=M(_.default,{className:a}):d?l=M(y.default,{className:a}):(u||e.attachments.length>0||e.embeds.length>0)&&(l=M(m.default,{className:a})),{contentPlaceholder:o,renderedContent:i,icon:l}}function D(e){return"reply-context-"+e.id}function w(e){var t,n=e.author,r=e.baseAuthor,u=e.baseMessage,f=e.referencedMessage,c=e.renderPopout,y=a.useMemo((function(){return null!=c&&f.state===d.ReferencedMessageState.LOADED?function(e){return c(e,f.message)}:void 0}),[f,c]),m=a.useContext(l.GuildIDContext),_=function(e,t,n){var r=e.referencedMessage,a=e.compact,o=e.isReplyAuthorBlocked,i=e.author,l=e.showAvatarPopout,u=e.onClickAvatar,s=e.onContextMenu,f=e.onPopoutRequestClose;if(a||r.state!==d.ReferencedMessageState.LOADED||o)return M("div",{className:T.default.replyBadge},void 0,M(N,{className:T.default.replyIcon}));if(r.message.type===O.MessageTypes.USER_JOIN)return M(A,{className:T.default.userJoinSystemMessageIcon});var c=function(){return P(r.message.author,i,t,u,s)};return null!=n&&null!=l?M(v.default,{renderPopout:n,shouldShow:l,position:v.default.Positions.RIGHT,onRequestClose:f},void 0,c):c()}(e,m,y),h=R(e,y),S=function(e){var t=e.content,n=e.referencedMessage,r=e.isReplyAuthorBlocked,i=n.state!==d.ReferencedMessageState.DELETED?e.onClickReply:void 0;switch(n.state){case d.ReferencedMessageState.LOADED:var l=L(n.message,t,r,T.default.repliedTextContent,T.default.repliedTextContentIcon),u=l.contentPlaceholder,s=l.renderedContent,f=l.icon;return a.createElement(a.Fragment,null,M(p.default,{className:(0,o.default)(T.default.repliedTextPreview,T.default.clickable),onClick:i},void 0,null!=s?s:M("span",{className:T.default.repliedTextPlaceholder},void 0,u)),f);case d.ReferencedMessageState.NOT_LOADED:return M(p.default,{className:(0,o.default)(T.default.repliedTextPreview,T.default.clickable),onClick:i},void 0,M("span",{className:T.default.repliedTextPlaceholder},void 0,I.default.Messages.REPLY_QUOTE_MESSAGE_NOT_LOADED));case d.ReferencedMessageState.DELETED:return M("div",{className:T.default.repliedTextPreview},void 0,M("span",{className:T.default.repliedTextPlaceholder},void 0,I.default.Messages.REPLY_QUOTE_MESSAGE_DELETED));default:(0,g.assertNever)(n)}}(e),C=a.useMemo((function(){return e.compact?(0,s.default)((0,E.dateFormat)((0,i.default)(),"LT")):null}),[e.compact]);return null!=n&&null!=r&&(t=I.default.Messages.CHANNEL_MESSAGE_REPLY_A11Y_LABEL.format({author:null==n?void 0:n.nick,repliedAuthor:null==r?void 0:r.nick})),M("div",{id:D(u),className:(0,o.default)(T.default.repliedMessage,C),"aria-label":t},void 0,_,h,S)}N.displayName="ReplyIcon",A.displayName="UserJoinSystemMessageIcon",P.displayName="baseRenderAvatar",R.displayName="renderUsername",w.displayName="RepliedMessage"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(9)),i=d(n(8644)),l=d(n(149)),u=n(1161),s=d(n(7341));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t,n=e.children,r=e.className,d=e.compact,f=void 0!==d&&d,v=e.timestamp,y=e.isVisibleOnlyOnHover,m=void 0!==y&&y,_=e.cozyAlt,h=void 0!==_&&_,E=e.isInline,g=void 0===E||E,S=f?(0,u.dateFormat)(v,"LT"):(0,u.calendarFormat)(v),O=f?(0,i.default)(S):null;return p("span",{className:(0,o.default)(r,O,(t={},t[s.default.timestamp]=!0,t[s.default.timestampVisibleOnHover]=m,t[s.default.timestampInline]=g,t[s.default.alt]=h,t))},void 0,p(l.default,{text:(0,u.dateFormat)(v,"LLLL"),"aria-label":S,tooltipClassName:s.default.timestampTooltip,delay:750},void 0,(function(e){return a.createElement("time",c({},e,{dateTime:v.toISOString()}),null!=n?n:a.createElement(a.Fragment,null,p("i",{className:s.default.separator,"aria-hidden":!0},void 0,f?"[":" — "),S,f&&p("i",{className:s.default.separator,"aria-hidden":!0},void 0,"]"," ")))})))}v.displayName="MessageTimestamp";var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useShouldShowInlineGuildCapUpsell=function(){var e=(0,r.useStateFromStores)([o.default],(function(){return o.default.getGuildCount()>=95})),t=(0,r.useStateFromStores)([a.HotspotStore],(function(){return a.HotspotStore.hasHotspot(a.HotspotLocations.GUILD_CAP_INLINE_UPSELL)})),n=(0,r.useStateFromStoresObject)([i.default],(function(){var e;return null==(null===(e=i.default.getNullableCurrentUser())||void 0===e?void 0:e.premiumType)}));return e&&t&&n},t.hideInlineGuildCapUpsell=function(){(0,a.hideHotspot)(a.HotspotLocations.GUILD_CAP_INLINE_UPSELL)},t.isAtGuildCapAndNonPremium=function(){var e=o.default.getGuildCount()>=u.MAX_USER_GUILDS,t=l.default.canUseIncreasedGuildCap(i.default.getNullableCurrentUser());return e&&!t};var r=n(3),a=n(8277),o=s(n(15)),i=s(n(12)),l=s(n(96)),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.onCloseCallback,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onCloseCallback"]);(0,o.openModal)((function(e){return r.createElement(i.default,s({},e,n,{guildCount:a.default.getGuildCount(),"aria-labelledby":"nitro-guild-cap-upsell"}))}),{onCloseCallback:t})};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=l(n(15)),o=n(41),i=l(n(9570));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(8314)),o=i(n(6));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var s=u(a.default.Body,{resolving:!0});function d(){return u(a.default,{},void 0,u(a.default.Header,{text:o.default.Messages.INVITE_BUTTON_RESOLVING}),s)}d.displayName="ResolvingInvite"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=c(n(8650)),l=c(n(1279)),u=c(n(5834)),s=c(n(12)),d=c(n(9585)),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function m(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){y(o,r,a,i,l,"next",e)}function l(e){y(o,r,a,i,l,"throw",e)}i(void 0)}))}}var _=a.forwardRef((function(e,t){var n=e.onAddedPhone,r=e.onClose,c=e.transitionState,p=(0,o.useStateFromStores)([s.default],(function(){return s.default.getNullableCurrentUser()})),y=a.useState(null),_=y[0],h=y[1],E=a.useState(null),g=E[0],S=E[1],O=a.useState(null),I=O[0],T=O[1],C=a.useState(!1),b=C[0],M=C[1],N=a.useCallback(function(){var e=m(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return M(!0),e.prev=1,e.next=4,u.default.beginAddPhone(t);case 4:T(null),h(t),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),T(new l.default(e.t0));case 11:M(!1);case 12:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t){return e.apply(this,arguments)}}(),[]),A=a.useCallback(function(){var e=m(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=_&&null!=p){e.next=2;break}return e.abrupt("return");case 2:return M(!0),e.prev=3,e.next=6,u.default.verifyPhone(_,t);case 6:n=e.sent,r=n.token,T(null),S(r),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(3),T(new l.default(e.t0));case 15:M(!1);case 16:case"end":return e.stop()}}),e,null,[[3,12]])})));return function(t){return e.apply(this,arguments)}}(),[p,_]),P=a.useCallback(function(){var e=m(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=g){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,u.default.addPhone(g,t);case 4:null==n||n(),r();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[n,r,g]);return null!=g?v(i.default,{onClose:r,transitionState:c,title:f.default.Messages.USER_SETTINGS_EDIT_ACCOUNT_PASSWORD_LABEL,handleSubmit:P}):v(d.default,{onClose:r,transitionState:c,error:null==I?void 0:I.getAnyErrorMessage(),working:b,validPhone:null!=_,onAddPhone:N,onVerifyPhone:A})}));t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?20:t,r=e.height,a=void 0===r?23:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 20 23"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:f,fill:d,d:"M19.487 5.126L10.487 0.126C10.184 -0.042 9.81798 -0.042 9.51498 0.126L0.514977 5.126C0.197977 5.302 0.000976562 5.636 0.000976562 5.999C0.000976562 6.693 0.114977 22.999 10.001 22.999C19.887 22.999 20.001 6.693 20.001 5.999C20.001 5.636 19.804 5.302 19.487 5.126ZM10.001 5.999C11.382 5.999 12.501 7.118 12.501 8.499C12.501 9.88 11.382 10.999 10.001 10.999C8.61998 10.999 7.50098 9.88 7.50098 8.499C7.50098 7.118 8.61998 5.999 10.001 5.999ZM6.25098 16C6.25098 13.699 7.69998 12.25 10.001 12.25C12.302 12.25 13.751 13.699 13.751 16H6.25098Z"})))}d.displayName="PersonShield"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){switch(e.type){case g.ChannelTypes.DM:return r.default;case g.ChannelTypes.GROUP_DM:return p.default;case g.ChannelTypes.GUILD_ANNOUNCEMENT:return e.isNSFW()?f.default:(0,E.default)(e)?d.default:s.default;case g.ChannelTypes.GUILD_TEXT:return e.id===(null==t?void 0:t.rulesChannelId)?o.default:e.isNSFW()?u.default:(0,E.default)(e)?l.default:i.default;case g.ChannelTypes.GUILD_STAGE_VOICE:return _.default;case g.ChannelTypes.GUILD_VOICE:return(0,E.default)(e)?m.default:y.default;case g.ChannelTypes.ANNOUNCEMENT_THREAD:case g.ChannelTypes.PUBLIC_THREAD:return e.isNSFW()?c.default:h.default;case g.ChannelTypes.PRIVATE_THREAD:return e.isNSFW()?c.default:v.default;case g.ChannelTypes.GUILD_DIRECTORY:return a.default;default:return null}};var r=S(n(8509)),a=S(n(9613)),o=S(n(8843)),i=S(n(8307)),l=S(n(8374)),u=S(n(8490)),s=S(n(8345)),d=S(n(8844)),f=S(n(8845)),c=S(n(8846)),p=S(n(696)),v=S(n(8740)),y=S(n(8276)),m=S(n(8510)),_=S(n(291)),h=S(n(8287)),E=S(n(8489)),g=n(1);function S(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.categoryCollapse=function(e){a.default.dispatch({type:o.ActionTypes.CATEGORY_COLLAPSE,id:e})},t.categoryExpand=function(e){a.default.dispatch({type:o.ActionTypes.CATEGORY_EXPAND,id:e})},t.categoryCollapseAll=function(e){a.default.dispatch({type:o.ActionTypes.CATEGORY_COLLAPSE_ALL,guildId:e})},t.categoryExpandAll=function(e){a.default.dispatch({type:o.ActionTypes.CATEGORY_EXPAND_ALL,guildId:e})};var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(14)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){l(o,r,a,i,u,"next",e)}function u(e){l(o,r,a,i,u,"throw",e)}i(void 0)}))}}var s={welcomeScreenViewed:function(e,t){void 0===t&&(t=!1),a.default.dispatch({type:o.ActionTypes.WELCOME_SCREEN_VIEW,guildId:e,isLurking:t})},fetchWelcomeScreen:function(){var e=u(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a.default.dispatch({type:o.ActionTypes.WELCOME_SCREEN_FETCH_START}),e.prev=1,e.next=4,r.default.get({url:o.Endpoints.GUILD_WELCOME_SCREEN(t),oldFormErrors:!0});case 4:return n=e.sent,a.default.dispatch({type:o.ActionTypes.WELCOME_SCREEN_FETCH_SUCCESS,guildId:t,welcomeScreen:n.body}),e.abrupt("return",n.body);case 9:e.prev=9,e.t0=e.catch(1),a.default.dispatch({type:o.ActionTypes.WELCOME_SCREEN_FETCH_FAIL});case 12:case"end":return e.stop()}}),e,null,[[1,9]])})));return function(t){return e.apply(this,arguments)}}(),resetWelcomeScreen:function(){a.default.dispatch({type:o.ActionTypes.WELCOME_SCREEN_SETTINGS_RESET})},updateSettings:function(e){a.default.dispatch({type:o.ActionTypes.WELCOME_SCREEN_SETTINGS_UPDATE,settings:e})},saveWelcomeScreen:function(){var e=u(regeneratorRuntime.mark((function e(t,n){var i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a.default.dispatch({type:o.ActionTypes.WELCOME_SCREEN_SUBMIT}),e.prev=1,e.next=4,r.default.patch({url:o.Endpoints.GUILD_WELCOME_SCREEN(t),body:{description:n.description,welcome_channels:n.channels,enabled:n.enabled},oldFormErrors:!0});case 4:i=e.sent,a.default.dispatch({type:o.ActionTypes.WELCOME_SCREEN_SUBMIT_SUCCESS,guildId:t,welcomeScreen:i.body}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),a.default.dispatch({type:o.ActionTypes.WELCOME_SCREEN_SUBMIT_FAILURE});case 11:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t,n){return e.apply(this,arguments)}}()};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRemoteIconURL=U,t.containsSameValues=function(e,t){return r.default.isEqual(e,r.default.pick(t,Object.keys(e)))},t.validateOrigin=G,t.transformChannel=function(e,t){var n=[],r=e.getGuildId();[N.ChannelTypes.GUILD_CATEGORY].concat(p.GUILD_VOCAL_CHANNEL_TYPES).includes(e.type)||n.push(new Promise((function(t){m.default.whenReady(e.id,(function(){return t()})),u.default.fetchMessages({channelId:e.id,limit:N.MAX_MESSAGES_PER_CHANNEL})})));return Promise.all(n).then((function(){var n,a=(!e.isNSFW()||!0===(null===(n=g.default.getNullableCurrentUser())||void 0===n?void 0:n.nsfwAllowed))&&t?m.default.getMessages(e.id).toArray().map(F):[],o=Object.values(S.default.getVoiceStatesForChannel(e.id)).map((function(t){return B(r,e.id,t)}));return{id:e.id,name:e.name,type:e.type,topic:e.topic,bitrate:e.bitrate,user_limit:e.userLimit,guild_id:r,position:e.position,messages:a,voice_states:o}}))},t.transformInternalTextMessage=F,t.transformVoiceState=B,t.transformRelationship=function(e,t,n){var r=g.default.getUser(t);return{type:e,user:null!=r?(0,M.default)(r):null,presence:{status:h.default.getStatus(t),activity:null!=n?h.default.getApplicationActivity(t,n):h.default.getPrimaryActivity(t)}}},t.isMatchingOrigin=H,t.transformShortcut=x,t.getDeprecatedVoiceSettings=function(){var e=y.default.getSettings(),t=function(e){return Object.values(e).sort((function(e,t){return e.index-t.index})).map((function(e){return{id:e.id,name:e.name}}))},n=[];e.modeOptions.shortcut&&Array.isArray(e.modeOptions.shortcut)&&(n=x(e.modeOptions.shortcut));return{input:{available_devices:t(y.default.getInputDevices()),device_id:e.inputDeviceId,volume:e.inputVolume},output:{available_devices:t(y.default.getOutputDevices()),device_id:e.outputDeviceId,volume:e.outputVolume},mode:{type:e.mode,auto_threshold:e.modeOptions.autoThreshold,threshold:e.modeOptions.threshold,shortcut:n,delay:e.modeOptions.delay},automatic_gain_control:e.automaticGainControl,echo_cancellation:e.echoCancellation,noise_suppression:e.noiseSuppression,qos:e.qos,silence_warning:e.silenceWarning,deaf:e.deaf,mute:e.mute}},t.getVoiceSettings=function(e){var t=y.default.getSettings(e),n="";t.modeOptions.shortcut&&Array.isArray(t.modeOptions.shortcut)&&(n=(0,C.toString)(t.modeOptions.shortcut));return{input_mode:{type:t.mode,shortcut:n},local_mutes:Object.keys(t.localMutes),local_volumes:t.localVolumes,self_mute:t.mute,self_deaf:t.deaf}},t.hasMessageReadPermission=function(e,t,n){var r=v.default.getGuild(e.getGuildId());return(r?r.getApplicationId():e.getApplicationId())===t||n.indexOf(N.OAuth2Scopes.MESSAGES_READ)>-1},t.getVoiceConnectionState=function(e){switch(e){case N.RTCConnectionStates.RTC_CONNECTED:case N.RTCConnectionStates.RTC_CONNECTING:case N.RTCConnectionStates.RTC_DISCONNECTED:return e.replace(/^RTC_/,"VOICE_");default:return e}},t.validateSocketClient=function(e,t,n){return V.apply(this,arguments)},t.computeActivityFlags=function(e,t){void 0===t&&(t=!1);var n=e.instance,r=e.secrets,a=e.party,o=0;n&&(o|=N.ActivityFlags.INSTANCE);(null==r?void 0:r.join)&&(o|=N.ActivityFlags.JOIN);if(t)return o|=N.ActivityFlags.EMBEDDED,o|=N.ActivityFlags.PARTY_PRIVACY_VOICE_CHANNEL;((null==a?void 0:a.privacy)===N.ActivityPartyPrivacy.PUBLIC||l.default.get("ACTIVITIES_FORCE_PUBLIC"))&&(E.default.allowActivityPartyPrivacyFriends&&(o|=N.ActivityFlags.PARTY_PRIVACY_FRIENDS),E.default.allowActivityPartyPrivacyVoiceChannel&&(o|=N.ActivityFlags.PARTY_PRIVACY_VOICE_CHANNEL));return o},t.validateActivityInvite=function(e,t,n){switch(e){case N.ActivityActionTypes.JOIN:return null!=t&&null!=t.id&&null!=n.join;default:return!1}},t.unlockOverlay=function(e){return _.default.isReady(e)?(s.default.setLocked(!1,e),{lock:function(){s.default.setLocked(!0,e)},context:N.AppContext.OVERLAY}):(T.default.focus(null,!0),{lock:function(){T.default.setForegroundProcess(e)},context:N.AppContext.APP})};var r=A(n(8)),a=A(n(142)),o=A(n(14)),i=A(n(10954)),l=A(n(28)),u=A(n(390)),s=A(n(695)),d=A(n(1359)),f=A(n(8295)),c=n(682),p=n(31),v=A(n(15)),y=A(n(51)),m=A(n(201)),_=A(n(1287)),h=A(n(256)),E=A(n(39)),g=A(n(12)),S=A(n(80)),O=A(n(258)),I=A(n(264)),T=A(n(43)),C=n(401),b=A(n(689)),M=A(n(1304)),N=n(1);function A(e){return e&&e.__esModule?e:{default:e}}function P(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function R(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){P(o,r,a,i,l,"next",e)}function l(e){P(o,r,a,i,l,"throw",e)}i(void 0)}))}}var L=function(){var e=N.API_HOST.split(":")[0];if(!e.includes("."))return e;var t=e.split("."),n=t[t.length-1];return/^\d+$/.test(n)?e:t.slice(-2).join(".")}(),D=new RegExp("^"+I.default.escape("https://")+"(?:[a-z]+\\.)?("+I.default.escape(L)+"|discordapp.com|discord.com)$"),w=["207646673902501888"],j={};function k(e){return"customEmoji"===e.type&&(e.type="emoji"),"emoji"===e.type&&e.src&&(e.src=U(e.src)),Array.isArray(e.content)&&(e.content=e.content.map(k)),e}function U(e){return/^http/.test(e)?e:location.protocol+"//"+location.host+("/"===e.charAt(0)?"":"/")+e}function G(e,t){return void 0===t&&(t=[]),t.indexOf(e)>-1}function F(e){var t=f.default.parseToAST(e.content,!0,{channelId:e.channel_id}).map(k),n=(0,c.getMessageAuthor)(e),r=n.colorString,a=n.nick;return{id:e.id,blocked:e.blocked,bot:e.bot,content:e.content,content_parsed:t.length?t:void 0,nick:a,author_color:r,edited_timestamp:e.edited_timestamp||e.editedTimestamp,timestamp:e.timestamp,tts:e.tts,mentions:e.mentions,mention_everyone:e.mention_everyone||e.mentionEveryone,mention_roles:e.mention_roles||e.mentionRoles,embeds:e.embeds,attachments:e.attachments,author:e.author?(0,M.default)(e.author):void 0,pinned:e.pinned,type:e.type}}function B(e,t,n){var r=n.mute,a=n.deaf,o=n.selfMute,i=n.selfDeaf,l=n.suppress,u=n.userId,s=g.default.getUser(u);if(!s)throw new Error("Invalid user id: "+u);return{nick:O.default.getName(e,t,s),mute:y.default.isLocalMute(s.id),volume:y.default.getLocalVolume(s.id),pan:y.default.getLocalPan(s.id),voice_state:{mute:r,deaf:a,self_mute:o,self_deaf:i,suppress:l},user:(0,M.default)(s)}}function H(e){if(null==e)return!1;var t,n=window.location.origin;if(e===n)return!0;try{t=a.default.parse(e).hostname}catch(e){return!1}return window.location.hostname===t&&"localhost"===t||!e.match("staging")&&!(!D.test(e)||!D.test(n))}function x(e){return e.map((function(e){return{type:e[0],code:e[1],name:(0,C.codeToKey)(e)||"unknown"}}))}function V(){return(V=R(regeneratorRuntime.mark((function e(t,n,r){var a,l,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==n&&(t.authorization.scopes=[N.RPC_LOCAL_SCOPE]),r||!H(n)){e.next=6;break}return t.authorization.scopes=[N.RPC_PRIVATE_SCOPE,N.RPC_PRIVATE_LIMITED_SCOPE],e.abrupt("return",Promise.resolve());case 6:if(r){e.next=8;break}return e.abrupt("return",Promise.reject(new b.default(N.RPCCloseCodes.INVALID_CLIENTID,"No Client ID Specified")));case 8:return null==(a=j[r])&&(l=T.default.releaseChannel!==N.PublicReleaseChannels.CANARY&&!w.includes(r)&&t.transport!==N.TransportTypes.POST_MESSAGE,u=l?2:60,a=new i.default(u,6e4),j[r]=a),e.next=12,a.process();case 12:return e.abrupt("return",o.default.get({url:N.Endpoints.APPLICATION_RPC(r),oldFormErrors:!0}).then((function(e){var a=e.body,o=a.rpc_origins,i=a.id,l=a.name,u=a.icon,s=a.cover_image,f=a.flags;if("string"==typeof n)if(t.transport===N.TransportTypes.POST_MESSAGE){var c=(0,d.default)(r);if(null==c||!G(n,[c]))throw new b.default(N.RPCCloseCodes.INVALID_ORIGIN,"Invalid Origin")}else if(!G(n,o))throw new b.default(N.RPCCloseCodes.INVALID_ORIGIN,"Invalid Origin");t.application={id:i,name:l,icon:u,coverImage:s,flags:f}}),(function(){throw new b.default(N.RPCCloseCodes.INVALID_CLIENTID,"Invalid Client ID")})));case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,l){for(var u,s=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(a.ApplicationStreamSettingRequirements);!(u=s()).done;){var d=u.value;if((null==d.preset||e===d.preset)&&t===d.resolution&&n===d.fps&&(0,o.default)(d,r,l))return!0}return!1};var r,a=n(713),o=(r=n(9664))&&r.__esModule?r:{default:r};function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){e.exports=n.p+"81b90eae4fc67502d59808a7c219ee65.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("rect",{width:"24",height:"24"});function f(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,f=void 0===l?"currentColor":l,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:c,fill:f,d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7v-5z"}),d))}f.displayName="Calendar"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(3),a=n(203),o=s(n(1280)),i=s(n(15)),l=s(n(40)),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}var d=function(e){var t=(0,r.useStateFromStores)([i.default],(function(){return i.default.getGuild(e)}),[e]),n=o.default.useExperiment({guildId:e})[0].enabled,s=(0,r.useStateFromStores)([l.default],(function(){return null!=t&&l.default.can(u.Permissions.MANAGE_EVENTS,t)}),[t]),d=(0,r.useStateFromStores)([l.default],(function(){return null!=t&&s&&l.default.can(a.MODERATE_STAGE_CHANNEL_PERMISSIONS,t)}),[t,s]),f=null!=t&&t.hasFeature(u.GuildFeatures.COMMUNITY);return{canManageEvents:n&&f&&s,canStartEvents:n&&f&&d,canSeeEvents:n&&f}};t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRandomDateShortcut=function(){return o.default.sample(j())},t.refreshSearchTokens=function(){Object.assign(V,(t=[_.default.Messages.SEARCH_ANSWER_HAS_LINK,_.default.Messages.SEARCH_ANSWER_HAS_EMBED,_.default.Messages.SEARCH_ANSWER_HAS_ATTACHMENT,_.default.Messages.SEARCH_ANSWER_HAS_VIDEO,_.default.Messages.SEARCH_ANSWER_HAS_IMAGE,_.default.Messages.SEARCH_ANSWER_HAS_SOUND],(e={})[m.SearchTokenTypes.FILTER_FROM]={regex:P(_.default.Messages.SEARCH_FILTER_FROM),componentType:x.FILTER,key:A(_.default.Messages.SEARCH_FILTER_FROM),validator:B,getAutocompletions:G},e[m.SearchTokenTypes.ANSWER_USERNAME_FROM]={follows:[m.SearchTokenTypes.FILTER_FROM],regex:H,validator:R,mutable:!0,componentType:x.ANSWER,queryKey:"author_id"},e[m.SearchTokenTypes.FILTER_MENTIONS]={regex:P(_.default.Messages.SEARCH_FILTER_MENTIONS),componentType:x.FILTER,key:A(_.default.Messages.SEARCH_FILTER_MENTIONS),validator:B,getAutocompletions:G},e[m.SearchTokenTypes.ANSWER_USERNAME_MENTIONS]={follows:[m.SearchTokenTypes.FILTER_MENTIONS],regex:H,validator:R,mutable:!0,componentType:x.ANSWER,queryKey:"mentions"},e[m.SearchTokenTypes.FILTER_HAS]={regex:P(_.default.Messages.SEARCH_FILTER_HAS),componentType:x.FILTER,key:A(_.default.Messages.SEARCH_FILTER_HAS),getAutocompletions:function(e,n,r){return U(e,r,t)}},e[m.SearchTokenTypes.ANSWER_HAS]={regex:new RegExp("(?:\\s*-?("+t.map((function(e){return y.default.escape(e)})).join("|")+"))","i"),follows:[m.SearchTokenTypes.FILTER_HAS],validator:w,componentType:x.ANSWER,queryKey:"has"},e[m.SearchTokenTypes.FILTER_FILE_TYPE]={regex:P(_.default.Messages.SEARCH_FILTER_FILE_TYPE),key:A(_.default.Messages.SEARCH_FILTER_FILE_TYPE),componentType:x.FILTER},e[m.SearchTokenTypes.ANSWER_FILE_TYPE]={regex:/(?:\s*([^\s]+))/,follows:[m.SearchTokenTypes.FILTER_FILE_TYPE],mutable:!0,componentType:x.ANSWER,queryKey:"attachment_extensions"},e[m.SearchTokenTypes.FILTER_FILE_NAME]={regex:P(_.default.Messages.SEARCH_FILTER_FILE_NAME),key:A(_.default.Messages.SEARCH_FILTER_FILE_NAME),componentType:x.FILTER},e[m.SearchTokenTypes.ANSWER_FILE_NAME]={regex:/(?:\s*([^\s]+)(?=\s))/,follows:[m.SearchTokenTypes.FILTER_FILE_NAME],mutable:!0,componentType:x.ANSWER,queryKey:"attachment_filename"},e[m.SearchTokenTypes.FILTER_BEFORE]={regex:P(_.default.Messages.SEARCH_FILTER_BEFORE),componentType:x.FILTER,key:A(_.default.Messages.SEARCH_FILTER_BEFORE),getAutocompletions:function(e,t,n){return k(e,n,m.SearchTokenTypes.FILTER_BEFORE)}},e[m.SearchTokenTypes.FILTER_ON]={regex:P("("+_.default.Messages.SEARCH_FILTER_ON+"|"+_.default.Messages.SEARCH_FILTER_DURING+")"),componentType:x.FILTER,key:A(_.default.Messages.SEARCH_FILTER_DURING),getAutocompletions:function(e,t,n){return k(e,n,m.SearchTokenTypes.FILTER_ON)}},e[m.SearchTokenTypes.FILTER_AFTER]={regex:P(_.default.Messages.SEARCH_FILTER_AFTER),componentType:x.FILTER,key:A(_.default.Messages.SEARCH_FILTER_AFTER),getAutocompletions:function(e,t,n){return k(e,n,m.SearchTokenTypes.FILTER_AFTER)}},e[m.SearchTokenTypes.ANSWER_BEFORE]={regex:N,follows:[m.SearchTokenTypes.FILTER_BEFORE],componentType:x.ANSWER,mutable:!0,validator:function(e){return L(e,"before")}},e[m.SearchTokenTypes.ANSWER_ON]={regex:N,follows:[m.SearchTokenTypes.FILTER_ON],componentType:x.ANSWER,mutable:!0,validator:function(e){return L(e,"on")}},e[m.SearchTokenTypes.ANSWER_AFTER]={regex:N,follows:[m.SearchTokenTypes.FILTER_AFTER],componentType:x.ANSWER,mutable:!0,validator:function(e){return L(e,"after")}},e[m.SearchTokenTypes.FILTER_IN]={regex:P(_.default.Messages.SEARCH_FILTER_IN),componentType:x.FILTER,key:A(_.default.Messages.SEARCH_FILTER_IN),validator:F,getAutocompletions:function(e,t,n){"#"===e[0]&&(e=e.substring(1));var r=v.default.queryChannels(e,t,1/0).map((function(e){return e.channel})).filter((function(e){return!e.isThread()}));if(!e.trim()){var a=d.default.getChannelId(t),i=r.find((function(e){return e.id===a}));i&&(r.splice(r.indexOf(i),1),r.unshift(i))}var u=l.default.getTextChannelNameDisambiguations(t);return(0,o.default)(r).take(n).map((function(e){return{text:""+u[e.id].name,channel:e}})).value()}},e[m.SearchTokenTypes.ANSWER_IN]={regex:/(?:\s*#?([^ ]+))/i,mutable:!0,follows:[m.SearchTokenTypes.FILTER_IN],componentType:x.ANSWER,validator:D,queryKey:"channel_id"},e));var e,t},t.getFilterAutocompletions=function(e,t){void 0===t&&(t=Object.keys(V).length);return(0,o.default)(V).keys().filter((function(e){return m.IS_SEARCH_FILTER_TOKEN.test(e)})).filter((function(e){return null!=V[e].key})).map((function(e){return{token:e,text:V[e].key}})).filter((function(t){var n=t.text;return(0,r.default)(e.toLowerCase(),n)})).take(t).value()},t.default=t.ComponentTypes=void 0;var r=E(n(480)),a=E(n(133)),o=E(n(8)),i=E(n(5)),l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(86)),u=E(n(70)),s=E(n(1241)),d=E(n(36)),f=E(n(107)),c=E(n(160)),p=E(n(12)),v=E(n(697)),y=E(n(264)),m=n(1),_=E(n(6));function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e){return e&&e.__esModule?e:{default:e}}function g(){return(g=Object.assign||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}).apply(this,arguments)}function S(){return new Set(i.default.months().map((function(e){return e.toLowerCase()})))}function O(){return new Set(i.default.weekdays().map((function(e){return e.toLowerCase()})))}function I(){var e=(new Date).getFullYear();return new Set(o.default.range(2015,e+1).map((function(e){return e.toString()})))}function T(e,t){return[e,e.clone().add(1,t)]}function C(e,t){return void 0===t&&(t=0),T((0,i.default)().startOf(e).add(t,e),e)}function b(e,t,n){return T((0,i.default)(e,t).local(),n)}function M(){var e;return(e={})[_.default.Messages.SEARCH_SHORTCUT_TODAY]=function(){return C("day")},e[_.default.Messages.SEARCH_SHORTCUT_YESTERDAY]=function(){return C("day",-1)},e[_.default.Messages.SEARCH_SHORTCUT_WEEK]=function(){return C("week")},e[_.default.Messages.SEARCH_SHORTCUT_MONTH]=function(){return C("month")},e[_.default.Messages.SEARCH_SHORTCUT_YEAR]=function(){return C("year")},e}var N=new RegExp("(?:\\s*(([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})|([0-9]{4})-([0-9]{1,2})|\\d{4}|([^\\d\\s]+)))","i");function A(e){return e+":"}function P(e){return new RegExp(A(e),"i")}function R(e){var t,n=e.getMatch(1),r=function(e){return null!=e?null==e?void 0:e.id:null};return!!(t=m.ID_REGEX.test(n)?n:n===m.ME?r(p.default.getCurrentUser()):r(p.default.findByTag(e.getMatch(2),e.getMatch(3))))&&(e.setData("userId",t),!0)}function L(e,t){var n,r,a=e.getFullMatch().trim().toLowerCase(),o=M()[a];if(null!=o){var i=o();n=i[0],r=i[1]}else if(S().has(a)){var l=b(a,"MMMM","month");n=l[0],r=l[1]}else if(O().has(a)){var u=b(a,"dddd","day");n=u[0],r=u[1]}else if(I().has(a)){var s=b(a,"YYYY","year");n=s[0],r=s[1]}else{var d=b(a,m.SEARCH_DATE_FORMAT,"day");n=d[0],r=d[1]}return!(!n.isValid()||!r.isValid())&&("before"===t?(r=n,n=null):"after"===t&&(n=r,r=null),e.setData("start",n),e.setData("end",r),!0)}function D(e){var t=e.getMatch(1),n=f.default.getGuildId(),r=l.default.getChannels(n)[l.GUILD_SELECTABLE_CHANNELS_KEY],a=l.default.getTextChannelNameDisambiguations(n),i=o.default.chain(r).map((function(e){return e.channel})).find((function(e){return t===a[e.id].name})).value();return!!i&&(e.setData("channel",i),!0)}function w(e){var t,n=(t={},t[_.default.Messages.SEARCH_ANSWER_HAS_LINK]="link",t[_.default.Messages.SEARCH_ANSWER_HAS_EMBED]="embed",t[_.default.Messages.SEARCH_ANSWER_HAS_ATTACHMENT]="file",t[_.default.Messages.SEARCH_ANSWER_HAS_VIDEO]="video",t[_.default.Messages.SEARCH_ANSWER_HAS_IMAGE]="image",t[_.default.Messages.SEARCH_ANSWER_HAS_SOUND]="sound",t)[e.getMatch(1)];return!!n&&(e.setData("has",n),!0)}function j(){return[].concat(Array.from(S()),Array.from(O()),Array.from(I()),Object.keys(M()))}function k(e,t,n){return U(e,t,j()).map((function(e){return g({},e,{group:n,key:n+"-"+e.text})}))}function U(e,t,n){return(0,o.default)(n).filter((function(t){return(0,r.default)(e.toLocaleLowerCase(),t.toLowerCase())})).take(t).map((function(e){return{text:e}})).value()}function G(e,t,n,r){void 0===n&&(n=10),void 0===r&&(r=!1);var a,o=s.default.getSearchType(t);switch(e=e.split("#")[0],o){case m.SearchTypes.GUILD:a=v.default.queryGuildUsers;break;case m.SearchTypes.CHANNEL:a=v.default.queryChannelUsers;break;default:return[]}return a(t,e,n,r).filter((function(e){var t=e.user;return!u.default.isBlocked(t.id)})).map((function(e){var t=e.user;return{text:t.tag,user:t}}))}function F(){return s.default.getSearchType()===m.SearchTypes.GUILD}function B(){return!c.default.hidePersonalInformation}var H=/^(?:\s*(\d{17,20}|@me|([^@#:]+)#([0-9]{4})))/i,x=(0,a.default)({FILTER:null,ANSWER:null});t.ComponentTypes=x;var V={};var W=V;t.default=W},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AddMembers=me,t.default=void 0;var r,a,o=de(n(0)),i=ue(n(9)),l=ue(n(8)),u=n(95),s=n(92),d=n(3),f=ue(n(9168)),c=ue(n(199)),p=ue(n(9736)),v=ue(n(9738)),y=n(286),m=ue(n(106)),_=n(180),h=n(1229),E=n(8574),g=n(8482),S=n(42),O=n(203),I=n(8971),T=n(9169),C=n(31),b=ue(n(10)),M=ue(n(71)),N=ue(n(56)),A=ue(n(15)),P=ue(n(40)),R=ue(n(70)),L=ue(n(12)),D=ue(n(29)),w=ue(n(55)),j=de(n(8353)),k=ue(n(1162)),U=n(703),G=ue(n(8267)),F=ue(n(153)),B=n(85),H=ue(n(476)),x=ue(n(474)),V=ue(n(159)),W=ue(n(8307)),Y=ue(n(8374)),z=ue(n(9740)),K=ue(n(1221)),$=ue(n(8345)),Z=ue(n(8276)),q=ue(n(8510)),X=ue(n(291)),J=ue(n(8620)),Q=n(35),ee=ue(n(47)),te=n(374),ne=ue(n(24)),re=n(292),ae=ue(n(93)),oe=n(1),ie=ue(n(6)),le=ue(n(7669));function ue(e){return e&&e.__esModule?e:{default:e}}function se(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return se=function(){return e},e}function de(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=se();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function fe(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function ce(e,t){return(ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pe(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function ve(){return(ve=Object.assign||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}).apply(this,arguments)}function ye(e,t,n,r){var a=[{icon:e?Y.default:W.default,label:ie.default.Messages.TEXT_CHANNEL,value:oe.ChannelTypes.GUILD_TEXT,description:ie.default.Messages.CREATE_TEXT_CHANNEL_DESCRIPTION},{icon:e?q.default:Z.default,label:ie.default.Messages.VOICE_CHANNEL,value:oe.ChannelTypes.GUILD_VOICE,description:ie.default.Messages.CREATE_VOICE_CHANNEL_DESCRIPTION}];return n&&a.push({icon:$.default,iconSize:24,label:ie.default.Messages.NEWS_CHANNEL,value:oe.ChannelTypes.GUILD_ANNOUNCEMENT,description:ie.default.Messages.CREATE_NEWS_CHANNEL_DESCRIPTION}),t&&a.push({icon:J.default,iconSize:24,label:ie.default.Messages.STORE_CHANNEL,value:oe.ChannelTypes.GUILD_STORE,description:ie.default.Messages.CREATE_STORE_CHANNEL_DESCRIPTION}),r&&a.push({icon:X.default,iconSize:24,label:ie.default.Messages.STAGE_VOICE_CHANNEL,value:oe.ChannelTypes.GUILD_STAGE_VOICE,description:ie.default.Messages.CREATE_STAGE_CHANNEL_DESCRIPTION}),a.map((function(e){var t=e.icon,n=e.iconSize,r=e.label,a=e.value,l=e.description;return{name:pe(w.default,{align:w.default.Align.CENTER},void 0,o.createElement(t,ve({},null!=n?{width:n,height:n}:null,{className:le.default.icon,background:le.default.background,foreground:le.default.foreground})),pe("div",{},void 0,pe(ne.default,{size:ne.default.Sizes.SIZE_16,className:le.default.radioText},void 0,r),pe(ne.default,{size:ne.default.Sizes.SIZE_12,color:ne.default.Colors.HEADER_SECONDARY,className:(0,i.default)(le.default.radioText)},void 0,l))),value:a}}))}function me(e){var t=e.onChange,n=e.guildId,r=e.channelType,a=e.description,i=o.useState({}),l=i[0],u=i[1],s=(0,d.useStateFromStores)([A.default],(function(){return A.default.getGuild(n)})),f=r===oe.ChannelTypes.GUILD_STAGE_VOICE;return o.useEffect((function(){t(l)}),[l,t]),null==s?null:pe(Q.ModalContent,{className:le.default.addMembersContainer},void 0,pe(g.AddMembersBody,{guild:s,channel:null,permission:f?O.MODERATE_STAGE_CHANNEL_PERMISSIONS:(0,C.getViewPermission)(r),pendingAdditions:l,setPendingAdditions:u,isStageChannel:f,description:a}))}!function(e){e.CHANNEL_INFO="CHANNEL_INFO",e.ADD_MEMBERS="ADD_MEMBERS"}(a||(a={})),me.displayName="AddMembers";var _e=function(e){var t,n;function r(t){var n;(n=e.call(this,t)||this).headerId=(0,B.uid)(),n.setInputRef=function(e){n._input=e},n.handleNameChange=function(e){var t=n.state.channelType;(0,C.isGuildTextChannelType)(t)&&(e=(0,re.sanitizeGuildTextChannelName)(e)),n.setState({name:e})},n.handleTypeChange=function(e){var t=e.value,r=n.state.name;(0,C.isGuildTextChannelType)(t)&&(r=(0,re.sanitizeGuildTextChannelName)(r)),t===oe.ChannelTypes.GUILD_STAGE_VOICE&&n.setState({isPrivate:!1}),n.setState({channelType:t,name:r})},n.handlePrivacyChange=function(e){n.setState({isPrivate:e})},n.handleApplicationChange=function(e){n.setState({applicationId:e})},n.handleSKUChange=function(e){n.setState({skuId:e})},n.handleShowBranchesToggle=function(e){n.setState({showBranches:e,branchId:null})},n.handleBranchChange=function(e){n.setState({branchId:e})},n.handleHasBranchesChange=function(e){n.setState({hasBranches:e})},n.handleSubmit=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var r,a,o,i,u,s,d,c,p,v,m,_,g,O,I,b,M,N,A,P,R,L,D;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),r=n.props,a=r.cloneChannel,o=r.categoryId,i=r.user,u=r.memberRoleIds,s=r.isAdmin,d=r.onClose,c=r.owner,p=n.state,v=p.name,m=p.pendingPermissionOverwrites,_=p.channelType,g=p.skuId,O=p.branchId,I=p.isPrivate,null!=(b=n.getGuildId())){e.next=6;break}return e.abrupt("return");case 6:return null!=a?(M=l.default.values(a.permissionOverwrites),N=a.bitrate,A=a.userLimit):_===oe.ChannelTypes.GUILD_ANNOUNCEMENT?M=(0,re.permissionOverwritesForAnnouncement)(b):(I&&(M=(0,re.permissionOverwritesForRoles)(b,_,[],!0),(P=(0,E.extractPermissionOverwrites)(m,_)).length>0&&(M=M.concat(P)),R=!!c&&i.id===c.id,M.some((function(e){return u.has(e.id)}))||s||R||M.push((0,re.permissionOverwriteForUser)(i.id,_))),_===oe.ChannelTypes.GUILD_STAGE_VOICE&&(M=[],Object.values(m).forEach((function(e){var t=e.row;t.id&&(t.rowType===h.RowType.ROLE?M.push((0,T.createModeratorOverwrite)(t.id,y.PermissionOverwriteType.ROLE)):t.rowType===h.RowType.MEMBER&&M.push((0,T.createModeratorOverwrite)(t.id,y.PermissionOverwriteType.MEMBER)))})))),n.setState({errors:{}}),e.prev=8,e.next=11,f.default.createChannel(b,_,v,M,N,A,_!==oe.ChannelTypes.GUILD_CATEGORY?o:null,g,O);case 11:if(null!=(L=e.sent)&&201===L.status){e.next=14;break}return e.abrupt("return");case 14:D=L.body,(0,C.isGuildTextChannelType)(_)&&(0,S.transitionToGuild)(D.guild_id,D.id),d(),e.next=22;break;case 19:e.prev=19,e.t0=e.catch(8),n.setState({errors:e.t0.body});case 22:case"end":return e.stop()}}),e,null,[[8,19]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){fe(o,r,a,i,l,"next",e)}function l(e){fe(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}();var r=t.channelType,o=t.cloneChannel;return n.state={channelType:r||oe.ChannelTypes.GUILD_TEXT,name:null!=o?(0,_.computeChannelName)(o,L.default,R.default):"",pendingPermissionOverwrites:{},isPrivate:!1,prevGuildId:t.guildId,applicationId:null,skuId:null,branchId:null,showBranches:!1,hasBranches:!1,slide:a.CHANNEL_INFO,errors:{}},n.handlePermissionOverwriteChange=n.handlePermissionOverwriteChange.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n)),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,ce(t,n);var d=r.prototype;return d.componentDidMount=function(){var e=this._input;null!=e&&e.select();var t=this.props,n=t.guildId,r=t.applications;t.canCreateStoreChannel&&null==r&&c.default.fetchApplications(n),m.default.trackWithMetadata(oe.AnalyticEvents.OPEN_MODAL,{type:"Create Channel"})},d.componentDidUpdate=function(e,t){!t.isPrivate&&this.state.isPrivate&&this.state.channelType===oe.ChannelTypes.GUILD_ANNOUNCEMENT&&this.setState({channelType:oe.ChannelTypes.GUILD_TEXT}),!t.isPrivate&&this.state.isPrivate&&m.default.trackWithMetadata(oe.AnalyticEvents.OPEN_MODAL,{type:"Create Private Channel"})},d.getGuildId=function(e){return void 0===e&&(e=this.props),e.guildId},d.canSubmit=function(){var e=this.props,t=e.canViewChannels,n=e.canConnect,r=this.state,a=r.isPrivate,o=r.channelType,i=r.skuId;return""!==r.name&&(!(a&&!(0,E.canCreatePrivateChannel)(o,t,n))&&(o!==oe.ChannelTypes.GUILD_STORE||null!=i))},d.getIconComponent=function(){var e=this.state,t=e.isPrivate,n=e.channelType;switch(n){case oe.ChannelTypes.GUILD_TEXT:return t?Y.default:W.default;case oe.ChannelTypes.GUILD_VOICE:return t?q.default:Z.default;case oe.ChannelTypes.GUILD_STORE:return J.default;case oe.ChannelTypes.GUILD_ANNOUNCEMENT:return $.default;case oe.ChannelTypes.GUILD_STAGE_VOICE:return X.default;default:return(0,C.isGuildTextChannelType)(n)?W.default:s.NOOP_NULL}},d.renderHeader=function(){var e,t,n=this.props,r=n.cloneChannel,a=n.categoryId,o=n.onClose,i=this.state,l=i.channelType,u=i.isPrivate;if(e=null!=r?ie.default.Messages.CLONE_CHANNEL:l===oe.ChannelTypes.GUILD_CATEGORY?ie.default.Messages.CREATE_CATEGORY:l===oe.ChannelTypes.GUILD_TEXT?u?ie.default.Messages.CREATE_PRIVATE_TEXT_CHANNEL:ie.default.Messages.CREATE_TEXT_CHANNEL:l===oe.ChannelTypes.GUILD_STORE?ie.default.Messages.CREATE_STORE_CHANNEL:l===oe.ChannelTypes.GUILD_ANNOUNCEMENT?ie.default.Messages.CREATE_NEWS_CHANNEL:l===oe.ChannelTypes.GUILD_STAGE_VOICE?ie.default.Messages.CREATE_STAGE_CHANNEL:u?ie.default.Messages.CREATE_PRIVATE_VOICE_CHANNEL:ie.default.Messages.CREATE_VOICE_CHANNEL,null!=a){var s=b.default.getChannel(a);t=pe(ne.default,{size:ne.default.Sizes.SIZE_12,className:le.default.subtitle},void 0,ie.default.Messages.IN_CATEGORY.format({categoryName:s?s.name:""}))}return pe(Q.ModalHeader,{separator:!1,direction:w.default.Direction.VERTICAL,align:w.default.Align.CENTER,className:le.default.header},void 0,pe(ee.default,{tag:ee.default.Tags.H2,size:ee.default.Sizes.SIZE_24,className:le.default.modalTitle},void 0,e),pe(ne.default,{size:ne.default.Sizes.SIZE_16,color:ne.default.Colors.HEADER_SECONDARY,className:le.default.headerSubtitle},void 0,t),pe(Q.ModalCloseButton,{onClick:o,className:le.default.closeButton}))},d.renderName=function(){var e,t,n=this.props,r=n.cloneChannel,a=n.channelType,o=this.state.errors;null!=o.name&&(e=pe(ne.default,{size:ne.default.Sizes.SIZE_12,color:ne.default.Colors.STATUS_RED,className:le.default.error},void 0,o.name)),null!=r&&(t=pe(x.default,{className:le.default.cloneInfo,type:x.default.Types.DESCRIPTION},void 0,ie.default.Messages.CLONE_CHANNEL_HELP.format({name:(0,_.computeChannelName)(r,L.default,R.default,!0)})));var i,l=a===oe.ChannelTypes.GUILD_CATEGORY;i=l?ie.default.Messages.CATEGORY_NAME:ie.default.Messages.FORM_LABEL_CHANNEL_NAME;var u=this.getIconComponent();return pe(H.default,{title:i,titleClassName:le.default.sectionTitle,className:le.default.name},void 0,pe(F.default,{value:this.state.name,onChange:this.handleNameChange,inputRef:this.setInputRef,maxLength:100,placeholder:l?ie.default.Messages.CATEGORY_NAME_PLACEHOLDER:ie.default.Messages.CHANNEL_NAME_PLACEHOLDER,className:le.default.inputWrapper,inputClassName:l?null:le.default.inputInner,prefixElement:l?null:pe(u,{className:le.default.inputPrefix,width:16,height:16}),autoFocus:!0}),e,t)},d.renderType=function(){var e=this.props,t=e.cloneChannel,n=e.applications,r=e.canCreateStoreChannel,a=e.canCreateAnnouncementChannel,o=e.canCreateStageChannel,i=this.state,l=i.channelType,u=i.isPrivate;if(null==t&&l!==oe.ChannelTypes.GUILD_CATEGORY){var s=null!=n&&n.length>0;return pe(H.default,{title:ie.default.Messages.CHANNEL_TYPE,titleClassName:le.default.sectionTitle,className:le.default.type},void 0,pe(k.default,{options:ye(u,r&&s,a,o),value:l,onChange:this.handleTypeChange}))}},d.renderChannelTypeDescription=function(e){var t;return e===oe.ChannelTypes.GUILD_ANNOUNCEMENT&&(t=ie.default.Messages.FORM_HELP_NEWS.format({documentationLink:ae.default.getArticleURL(oe.HelpdeskArticles.ANNOUNCEMENT_CHANNELS)})),null==t?null:pe(x.default,{className:le.default.channelTypeDescription,type:x.default.Types.DESCRIPTION},void 0,t)},d.renderStoreOptions=function(){var e=this.props.applications,t=this.state,n=t.applicationId,r=t.skuId,a=t.branchId,i=t.showBranches,l=t.hasBranches;if(null==e||0===e.length)throw new Error("Unexpected empty applications");return pe("div",{},void 0,pe(V.default,{tag:V.default.Tags.H5},void 0,ie.default.Messages.CREATE_STORE_CHANNEL_APPLICATION),pe(te.SingleSelect,{options:e.map((function(e){return{label:e.name,value:e.id}})),placeholder:ie.default.Messages.CREATE_STORE_CHANNEL_SELECT_APPLICATION,value:n,onChange:this.handleApplicationChange,className:le.default.storeChannelOptionSelector}),null!=n?pe(o.Fragment,{},void 0,pe(V.default,{tag:V.default.Tags.H5},void 0,ie.default.Messages.CREATE_STORE_CHANNEL_SKU),pe(v.default,{applicationId:n,onChange:this.handleSKUChange,selectedSkuId:r,className:le.default.storeChannelOptionSelector},n)):null,null!=n&&l?pe(G.default,{hideBorder:!0,onChange:this.handleShowBranchesToggle,value:i,note:ie.default.Messages.CREATE_STORE_CHANNEL_BETA_NOTE.format({devPortalUrl:oe.MarketingURLs.API_DOCS_GAME_AND_SERVER_MANAGEMENT})},void 0,pe(z.default,{className:le.default.switchIcon}),ie.default.Messages.CREATE_STORE_CHANNEL_BETA_TITLE):null,null!=n?pe(o.Fragment,{},void 0,i?pe(V.default,{tag:V.default.Tags.H5},void 0,ie.default.Messages.CREATE_STORE_CHANNEL_BRANCH):null,pe(p.default,{applicationId:n,onChange:this.handleBranchChange,selectedBranchId:a,hide:!i,onHasBranchesChange:this.handleHasBranchesChange,className:le.default.storeChannelOptionSelector},n)):null)},d.renderPrivacyOptions=function(){var e=this.props.cloneChannel,t=this.state,n=t.channelType,r=t.isPrivate;if(null!=e||n===oe.ChannelTypes.GUILD_ANNOUNCEMENT)return null;var a=ie.default.Messages.PRIVATE_CHANNEL,o=ie.default.Messages.CHANNEL_PERMISSIONS_PRIVATE_CHANNEL_DESCRIPTION;return n===oe.ChannelTypes.GUILD_CATEGORY?(a=ie.default.Messages.PRIVATE_CATEGORY,o=ie.default.Messages.CHANNEL_PERMISSIONS_PRIVATE_CATEGORY_DESCRIPTION):n===oe.ChannelTypes.GUILD_VOICE&&(o=ie.default.Messages.CHANNEL_PERMISSIONS_PRIVATE_CHANNEL_DESCRIPTION_VOICE),pe(H.default,{},"privacy-switch",pe(G.default,{hideBorder:!0,onChange:this.handlePrivacyChange,value:r,note:o},void 0,pe(K.default,{className:le.default.switchIcon}),a))},d.renderError=function(e){var t,n,r=this.state,a=r.channelType,o=r.isPrivate,l=r.errors,u=this.props,s=u.canConnect,d=u.canViewChannels;if(Object.values(l).length>0){if(l.message)t=l.message;else if(e||null==l.name){var f=Object.values(l)[0];f.length>0&&(t=f)}}else o&&!(0,E.canCreatePrivateChannel)(a,d,s)&&(t=(0,E.getPrivateChannelHintText)(a));if(null!=t)return pe("div",{className:(0,i.default)(le.default.createError,(n={},n[le.default.addMemberError]=e,n))},void 0,pe(j.default,{messageType:j.HelpMessageTypes.ERROR},void 0,t))},d.renderFooter=function(){var e,t=this,n=this.props,r=n.channelType,o=n.onClose,i=this.state.channelType,l=this.state.isPrivate;e=r===oe.ChannelTypes.GUILD_CATEGORY?ie.default.Messages.CREATE_CATEGORY:ie.default.Messages.CREATE_CHANNEL;var u=l||i===oe.ChannelTypes.GUILD_STAGE_VOICE;return pe(Q.ModalFooter,{},void 0,u?pe(D.default,{type:"button",onClick:function(){t.setState({slide:a.ADD_MEMBERS})},disabled:!this.canSubmit()},void 0,ie.default.Messages.NEXT):pe(D.default,{type:"submit",disabled:!this.canSubmit()},void 0,e),pe(D.default,{onClick:o,look:D.default.Looks.LINK,color:D.default.Colors.PRIMARY},void 0,ie.default.Messages.CANCEL))},d.renderAddMemberFooter=function(){var e,t=this,n=this.props.channelType,r=this.state.pendingPermissionOverwrites;return e=0===Object.keys(r).length?ie.default.Messages.SKIP:n===oe.ChannelTypes.GUILD_CATEGORY?ie.default.Messages.CREATE_CATEGORY:ie.default.Messages.CREATE_CHANNEL,pe(Q.ModalFooter,{},void 0,pe(D.default,{type:"submit",disabled:!this.canSubmit()},void 0,e),pe(D.default,{onClick:function(){t.setState({slide:a.CHANNEL_INFO})},look:D.default.Looks.LINK,color:D.default.Colors.PRIMARY},void 0,ie.default.Messages.BACK))},d.handlePermissionOverwriteChange=function(e){this.setState({pendingPermissionOverwrites:e})},d.renderCreateChannelContent=function(){var e=this.state.channelType;return o.createElement(o.Fragment,null,this.renderHeader(),pe(Q.ModalContent,{className:le.default.modalContent},void 0,this.renderType(),this.renderName(),e===oe.ChannelTypes.GUILD_STORE?this.renderStoreOptions():null,this.renderChannelTypeDescription(e),e===oe.ChannelTypes.GUILD_STAGE_VOICE?null:this.renderPrivacyOptions()),this.renderError(),this.renderFooter())},d.renderAddMemberSlideContent=function(){var e=this.state,t=e.name,n=e.channelType,r=this.props,a=r.guildId,i=r.onClose,l=this.getIconComponent(),u=n===oe.ChannelTypes.GUILD_STAGE_VOICE;return o.createElement(o.Fragment,null,pe(Q.ModalHeader,{separator:!1,direction:w.default.Direction.VERTICAL,align:w.default.Align.CENTER,className:le.default.header},void 0,pe(ee.default,{tag:ee.default.Tags.H2,size:ee.default.Sizes.SIZE_24,style:{fontWeight:700}},void 0,u?ie.default.Messages.CHANNEL_PERMISSIONS_ADD_MODERATOR_TITLE:ie.default.Messages.CHANNEL_PERMISSIONS_ADD_MEMBERS_TITLE),pe(ne.default,{size:ne.default.Sizes.SIZE_16,color:ne.default.Colors.HEADER_SECONDARY,className:le.default.headerSubtitle},void 0,pe(l,{height:16,width:16,className:le.default.headerSubtitleIcon}),t),pe(Q.ModalCloseButton,{onClick:i,className:le.default.closeButton})),this.renderError(!0),pe(me,{onChange:this.handlePermissionOverwriteChange,guildId:a,channelType:n}),this.renderAddMemberFooter())},d.renderSlides=function(){var e=this.state.slide,t={impression_group:u.ImpressionGroups.CHANNEL_ADD_FLOW};return pe("div",{},void 0,pe(U.Slides,{activeSlide:e,width:440},void 0,pe(U.Slide,{id:a.CHANNEL_INFO,impressionName:u.ImpressionNames.CHANNEL_ADD_INFO,impressionMetadata:t},void 0,this.renderCreateChannelContent()),pe(U.Slide,{id:a.ADD_MEMBERS,impressionName:u.ImpressionNames.CHANNEL_ADD_MEMBERS,impressionMetadata:t},void 0,this.renderAddMemberSlideContent())))},d.render=function(){var e=this.props.transitionState;return pe("form",{onSubmit:this.handleSubmit},void 0,pe(Q.ModalRoot,{transitionState:e,className:le.default.modal,"aria-labelledby":this.headerId},void 0,this.renderSlides()))},r}(o.PureComponent);_e.displayName="CreateChannel";var he=o.forwardRef((function(e,t){var n=e.channelType,r=e.guildId,a=e.cloneChannelId,i=(0,d.useStateFromStoresObject)([A.default,L.default,P.default,b.default,M.default,N.default],(function(){var e,t,o,i=A.default.getGuild(r),l=L.default.getCurrentUser(),u=null!=i&&null!=i.ownerId?L.default.getUser(i.ownerId):null,s=new Set(null!==(e=null===(t=N.default.getMember(r,l.id))||void 0===t?void 0:t.roles)&&void 0!==e?e:[]),d=P.default.can(oe.Permissions.ADMINISTRATOR,i),f=b.default.getChannel(a);return{applications:M.default.getApplicationsForGuild(r),canCreateStoreChannel:null!=i&&i.hasFeature(oe.GuildFeatures.COMMERCE),canCreateAnnouncementChannel:null!=i&&i.hasFeature(oe.GuildFeatures.NEWS),user:l,owner:u,memberRoleIds:s,canViewChannels:P.default.can(oe.Permissions.VIEW_CHANNEL,i),canConnect:P.default.can(oe.Permissions.CONNECT,i),isAdmin:d,cloneChannel:f,channelType:null!==(o=null==f?void 0:f.type)&&void 0!==o?o:n,canManageRoles:P.default.can(oe.Permissions.MANAGE_ROLES,i),canManageChannels:P.default.can(oe.Permissions.MANAGE_CHANNELS,i)}})),l=i.canManageRoles,u=i.canManageChannels,s=(0,I.useGuildEligibleForStageChannels)(r)&&l&&u;return o.createElement(_e,ve({},e,i,{canCreateStageChannel:s,ref:t}))}));t.default=he},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateRoleSort=function(e){r.default.dispatch({type:o.ActionTypes.GUILD_SETTINGS_ROLES_SORT_UPDATE,roles:e})},t.init=function(){r.default.dispatch({type:o.ActionTypes.GUILD_SETTINGS_ROLES_INIT})},t.updateRolePermissions=function(e,t,n){r.default.dispatch({type:o.ActionTypes.GUILD_SETTINGS_ROLES_UPDATE_PERMISSIONS,id:e,flag:t,allow:n})},t.updateRolePermissionSet=function(e,t){r.default.dispatch({type:o.ActionTypes.GUILD_SETTINGS_ROLES_UPDATE_PERMISSION_SET,id:e,permissions:t})},t.clearRolePermissions=function(e){r.default.dispatch({type:o.ActionTypes.GUILD_SETTINGS_ROLES_CLEAR_PERMISSIONS,id:e})},t.updateRoleName=function(e,t){r.default.dispatch({type:o.ActionTypes.GUILD_SETTINGS_ROLES_UPDATE_NAME,id:e,name:t})},t.updateRoleColor=function(e,t){r.default.dispatch({type:o.ActionTypes.GUILD_SETTINGS_ROLES_UPDATE_COLOR,id:e,color:t})},t.toggleRoleSettings=function(e,t,n){r.default.dispatch({type:o.ActionTypes.GUILD_SETTINGS_ROLES_UPDATE_SETTINGS,id:e,hoist:t,mentionable:n})},t.saveRoleSettings=function(e,t,n){return r.default.dispatch({type:o.ActionTypes.GUILD_SETTINGS_ROLES_SUBMITTING}),new Promise((function(r){var o=function n(){if(null==t||0===t.length)return r();var o=t.pop();if(null==o||""===o.name)return n();a.default.updateRole(e,o.id,o.name,o.permissions,o.color,o.hoist,o.mentionable).then(n,n)};null!=n&&n.length>0?a.default.batchRoleUpdate(e,n).then(o,o):o()})).then((function(){return r.default.dispatch({type:o.ActionTypes.GUILD_SETTINGS_ROLES_SAVE_SUCCESS})}))};var r=i(n(2)),a=i(n(199)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l={},u={};var s=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var a=r.prototype;return a.getRoleMemberCount=function(e){return null!=e?l[e]:null},a.shouldFetch=function(e){if(null==e)return!1;var t=u[e];return null==t||Date.now()-t>12e4},r}(r.default.Store))(a.default,{GUILD_ROLE_MEMBER_COUNT_FETCH_SUCCESS:function(e){var t=e.guildId,n=e.roleMemberCount;l[t]=n,u[t]=Date.now()},GUILD_ROLE_MEMBER_BULK_ADD:function(e){var t=e.guildId,n=e.roleId,r=e.added,a=l[t];if(null==a)return!1;if(null==a[n])return!1;var o=Object.keys(r).length;a[n]+=o},GUILD_ROLE_MEMBER_ADD:function(e){var t=e.guildId,n=e.roleId,r=l[t];return null!=r&&(null!=r[n]&&void(r[n]=r[n]+1))},GUILD_ROLE_MEMBER_REMOVE:function(e){var t=e.guildId,n=e.roleId,r=l[t];return null!=r&&(null!=r[n]&&void(r[n]=Math.max(r[n]-1,0)))},GUILD_ROLE_CREATE:function(e){var t=e.guildId,n=e.role;null==l[t]&&(l[t]={}),l[t][n.id]=0},GUILD_DELETE:function(e){var t=e.guild;delete l[t.id],delete u[t.id]}});t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updatePartnerApplication=function(e,t){a.default.dispatch({type:o.ActionTypes.PARTNER_APPLICATION_UPDATE,guildId:e,updates:t})},t.submitPartnerApplication=function(e,t){return s.apply(this,arguments)},t.fetchPartnerRequirements=function(e){return d.apply(this,arguments)};var r=i(n(14)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){l(o,r,a,i,u,"next",e)}function u(e){l(o,r,a,i,u,"throw",e)}i(void 0)}))}}function s(){return(s=u(regeneratorRuntime.mark((function e(t,n){var i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=n&&t===n.guildId){e.next=2;break}return e.abrupt("return");case 2:return a.default.dispatch({type:o.ActionTypes.PARTNER_APPLICATION_SUBMIT,guildId:t}),i={guild_id:n.guildId,partner_type:n.serverType,invite_url:n.inviteUrl,website:n.website,primary_category_id:n.primaryCategoryId,secondary_category_ids:n.secondaryCategoryIds,community_description:n.description,why_you:n.whyYou,first_name:n.firstName,last_name:n.lastName,country:n.country,primary_language:n.language,primary_platform:n.platform,primary_platform_other:n.platform,survey:n.survey,survey_other:n.surveyOther},n.connectedAccounts.forEach((function(e){var t=e.type;i[t+"_id"]=e.id})),e.prev=5,e.next=8,r.default.post({url:o.Endpoints.PARTNERS_APPLY,body:i,oldFormErrors:!0});case 8:return a.default.dispatch({type:o.ActionTypes.PARTNER_APPLICATION_SUBMIT_SUCCESS,guildId:t}),e.abrupt("return",!0);case 12:return e.prev=12,e.t0=e.catch(5),a.default.dispatch({type:o.ActionTypes.PARTNER_APPLICATION_SUBMIT_FAILURE,guildId:t,error:null===e.t0||void 0===e.t0?void 0:e.t0.body}),e.abrupt("return",!1);case 16:case"end":return e.stop()}}),e,null,[[5,12]])})))).apply(this,arguments)}function d(){return(d=u(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a.default.dispatch({type:o.ActionTypes.PARTNER_REQUIREMENTS_FETCH_START,guildId:t}),e.prev=1,e.next=4,r.default.get({url:o.Endpoints.PARTNER_REQUIREMENTS(t),oldFormErrors:!0});case 4:n=e.sent,a.default.dispatch({type:o.ActionTypes.PARTNER_REQUIREMENTS_FETCH_SUCCESS,guildId:t,checklist:n.body}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),a.default.dispatch({type:o.ActionTypes.PARTNER_REQUIREMENTS_FETCH_FAILURE,guildId:t});case 11:case"end":return e.stop()}}),e,null,[[1,8]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.EMPTY_APPLICATION=void 0;var r=s(n(3)),a=s(n(2)),o=s(n(1258)),i=s(n(86)),l=s(n(8521)),u=s(n(107));n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(){return(f=Object.assign||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}).apply(this,arguments)}var c={guildId:null,inviteUrl:"",description:"",whyYou:"",serverType:null,primaryCategoryId:null,secondaryCategoryIds:null,website:"",firstName:"",lastName:"",country:null,platform:null,connectedAccounts:[],otherPlatform:"",errors:null,survey:null,surveyOther:""};t.EMPTY_APPLICATION=c;var p=!1,v={};function y(){var e,t,n,r=u.default.getGuildId(),a=null!=r?null===(e=i.default.getDefaultChannel(r))||void 0===e?void 0:e.id:null,s=null!=a?null===(t=l.default.getInvite(a))||void 0===t?void 0:t.code:null;if(null==r)return!1;var d=null!==(n=v[r])&&void 0!==n?n:f({},c,{guildId:r});return""===d.inviteUrl&&null!=s&&(v[r]=f({},d,{inviteUrl:(0,o.default)(s)}),!0)}var m=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var a=r.prototype;return a.initialize=function(){this.syncWith([l.default],y)},a.getApplication=function(e){return v[e]},a.isSubmitting=function(){return p},r}(r.default.Store))(a.default,{PARTNER_APPLICATION_UPDATE:function(e){var t,n=e.guildId,r=e.updates,a=null!==(t=v[n])&&void 0!==t?t:c;v[n]=f({},a,{},r)},PARTNER_APPLICATION_SUBMIT:function(e){var t,n=e.guildId;(null!==(t=v[n])&&void 0!==t?t:c).errors=null,p=!0},PARTNER_APPLICATION_SUBMIT_SUCCESS:function(e){var t=e.guildId;p=!1,delete v[t]},PARTNER_APPLICATION_SUBMIT_FAILURE:function(e){var t,n=e.guildId,r=e.error;p=!1,(null!==(t=v[n])&&void 0!==t?t:c).errors=r}});t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeChannelSortable=function(e){return(0,a.DropTarget)("DRAGGABLE_GUILD_CHANNEL",{drop:function(e,t){var n=t.getItem(),a=(0,v.getDropData)(s.default.getChannel(n.id),n.position,e.channel,e.position,n.channelList);if(null!=a){var l=s.default.getChannel(n.id);if(null!=l){var u=e.channel.getGuildId(),_=d.default.getCategories(u),h=f.default.getGuild(u);if(null!=h){var g,S=(0,v.getDnDUpdates)(l,s.default.getChannel(a.referenceId),a.parentId,_);if(0!==S.length)if(S=S.filter((function(e){var t=e.id,n=s.default.getChannel(t);if(null==n)return!1;var r=s.default.getChannel(n.parent_id);return n.type===m.ChannelTypes.GUILD_CATEGORY||null==r?c.default.can(m.Permissions.MANAGE_CHANNELS,h):c.default.can(m.Permissions.MANAGE_CHANNELS,r)})),l.parent_id!==a.parentId&&S.find((function(e){if(e.id!==l.id)return!1;var t=s.default.getChannel(e.parent_id);if(!(null!=t&&c.default.can(m.Permissions.MANAGE_ROLES,l)&&c.default.can(m.Permissions.MANAGE_ROLES,t)))return!0;var n=y.default.areChannelsLocked(l,t),r=y.default.areChannelsLocked(l,s.default.getChannel(l.parent_id));return(null==l.parent_id&&!n||r&&!n)&&(g=e),!0})),null!=g){var O=s.default.getChannel(g.parent_id);null!=O&&(0,p.openModal)((function(e){return r.createElement(i.default,E({},e,{channel:l,category:O,onConfirm:function(){null!=g&&(g.lock_permissions=!0,o.default.batchChannelUpdate(u,S))},onCancel:function(){null!=g&&o.default.batchChannelUpdate(u,S)}}))}))}else o.default.batchChannelUpdate(u,S)}}}},canDrop:function(e,t){var n=t.getItem(),r=s.default.getChannel(n.id);if(null==r)return!1;var a=(0,v.getDropData)(s.default.getChannel(n.id),n.position,e.channel,e.position,n.channelList),o=f.default.getGuild(n.guildId);if(null==a||null==o)return!1;var i=s.default.getChannel(a.parentId),l=s.default.getChannel(r.parent_id),u=c.default.can(m.Permissions.MANAGE_CHANNELS,o),d=null!=l?c.default.can(m.Permissions.MANAGE_CHANNELS,l):u,p=null!=i?c.default.can(m.Permissions.MANAGE_CHANNELS,i):u;return d&&p}},(function(e,t){var n=t.getItem();return null==n||null==n.isChannelDrag?{connectChannelDropTarget:e.dropTarget(),sorting:!1,sortingType:null,sortingPosition:null,sortingParent:null}:{connectChannelDropTarget:e.dropTarget(),sorting:!0,sortingType:n.type,sortingPosition:t.isOver()&&t.canDrop()?n.position:null,sortingParent:t.isOver()&&t.canDrop()?n.parent:null}}))((0,a.DragSource)("DRAGGABLE_GUILD_CHANNEL",{canDrag:function(e){var t=e.channel,n=f.default.getGuild(t.getGuildId());if(null==n)return!1;if(t.type===m.ChannelTypes.GUILD_CATEGORY)return c.default.can(m.Permissions.MANAGE_CHANNELS,n);var r=s.default.getChannel(t.parent_id);return null!=r&&c.default.can(m.Permissions.MANAGE_CHANNELS,r)||null==r&&c.default.can(m.Permissions.MANAGE_CHANNELS,n)},beginDrag:function(e){var t=e.channel,n=t.id,r=t.parent_id,a=t.guild_id,o=t.type,i=e.position,s=d.default.getCategories(a);return{isChannelDrag:!0,id:n,position:i,parentId:r,type:o,channelList:(0,l.default)(s._categories,s,(function(e){var t=e.channel;return t.type===m.ChannelTypes.GUILD_CATEGORY&&s[t.id]&&0===s[t.id].length?c.default.can(m.Permissions.MANAGE_CHANNELS,t)&&c.default.can(m.Permissions.VIEW_CHANNEL,t):!u.default.isCollapsed(t.parent_id)})),guildId:a}}},(function(e){return{connectChannelDragSource:e.dragSource(),connectDragPreview:e.dragPreview()}}))(e))};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(5941),o=_(n(199)),i=_(n(9191)),l=_(n(1282)),u=_(n(1212)),s=_(n(10)),d=_(n(1252)),f=_(n(15)),c=_(n(40)),p=n(41),v=n(9024),y=_(n(78)),m=n(1);function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(){return(E=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(9)),o=n(122),i=l(n(7799));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=Object.freeze({tension:400,friction:30}),f=Object.freeze({opacity:0,height:8,x:-4});function c(e){var t=e.selected,n=void 0!==t&&t,r=e.hovered,l=void 0!==r&&r,u=e.unread,c=void 0!==u&&u,p=e.className,v={opacity:1,height:n?40:l?20:8,x:0},y=(0,o.useTransition)(n||l||c,{config:d,keys:function(e){return e?"pill":"empty"},immediate:!l&&!document.hasFocus(),initial:n||l||c?v:null,from:f,leave:f,enter:v,update:v});return s("div",{className:(0,a.default)(p,i.default.wrapper),"aria-hidden":!0},void 0,y((function(e,t){return t&&s(o.animated.span,{className:i.default.item,style:e})})))}c.displayName="AnimatedHalfPill"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(9)),i=n(10435),l=p(n(10436)),u=n(122),s=p(n(98)),d=n(57),f=p(n(469)),c=p(n(7800));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_(e,t)}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var h={friction:13,tension:240,duration:150},E={duration:150,friction:3},g={friction:30,tension:900,mass:1},S={duration:150,friction:10,tension:100,mass:1},O=(0,i.interpolate)("M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24Z","M0 24C0 16.5449 0 12.8174 1.21793 9.87706C2.84183 5.95662 5.95662 2.84183 9.87706 1.21793C12.8174 0 16.5449 0 24 0C31.4551 0 35.1826 0 38.1229 1.21793C42.0434 2.84183 45.1582 5.95662 46.7821 9.87706C48 12.8174 48 16.5449 48 24C48 31.4551 48 35.1826 46.7821 38.1229C45.1582 42.0434 42.0434 45.1582 38.1229 46.7821C35.1826 48 31.4551 48 24 48C16.5449 48 12.8174 48 9.87706 46.7821C5.95662 45.1582 2.84183 42.0434 1.21793 38.1229C0 35.1826 0 31.4551 0 24Z",{maxSegmentLength:1.5}),I=function(e){function t(){return e.apply(this,arguments)||this}m(t,e);var n=t.prototype;return n.componentDidMount=function(){this.forceUpdate()},n.componentWillAppear=function(e){e()},n.componentWillEnter=function(e){e()},n.componentWillLeave=function(e){this.timeoutId=setTimeout(e,300)},n.componentWillUnmount=function(){clearTimeout(this.timeoutId)},n.render=function(){var e=this.props,t=e.children,n=e.className,r=e.animatedStyle;return y(u.animated.div,{className:n,style:r},void 0,t)},t}(a.Component);function T(e){var t=e.selected,n=e.upperBadge,r=e.lowerBadge;return t||null!=n||null!=r}I.displayName="BadgeContainer";var C=y("rect",{width:"150%",height:"150%",x:"-25%",y:"-25%",fill:"white"}),b=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).timeout=new d.Timeout,t.state={renderComplex:!1,hasRenderedBadge:!1,maskId:s.default.v4(),focused:!1},t.handleTimeout=function(){t.timeout.stop(),t.setState({renderComplex:!1})},t.handleFocus=function(){t.setState({focused:!0})},t.handleBlur=function(){t.setState({focused:!1})},t}m(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.hasRenderedBadge,r=t.upperBadgeMask,a=t.lowerBadgeMask,o=t.borderRadiusMask,i=t.renderComplex,l=e.upperBadge,s=e.lowerBadge,d=!1;return(null!=l&&null==r||null!=s&&null==a)&&(d=!0,n=!0,r=new u.Controller({spring:0}),a=new u.Controller({spring:0})),T(e)&&null==o&&(d=!0,o=new u.Controller({spring:0})),!i&&T(e)&&(d=!0,i=!0),d?{hasRenderedBadge:n,lowerBadgeMask:a,upperBadgeMask:r,borderRadiusMask:o,renderComplex:i}:null};var n=t.prototype;return n.componentDidMount=function(){var e=this.props,t=e.selected,n=e.lowerBadge,r=e.upperBadge,a=this.state,o=a.borderRadiusMask,i=a.lowerBadgeMask,l=a.upperBadgeMask;null==o||o.update({spring:t?1:0,immediate:!0}).start(),null==i||i.update({spring:null!=n?1:0,immediate:!0}).start(),null==l||l.update({spring:null!=r?1:0,immediate:!0}).start()},n.componentWillUnmount=function(){var e=this.state,t=e.borderRadiusMask,n=e.lowerBadgeMask,r=e.upperBadgeMask;null==t||t.dispose(),null==n||n.dispose(),null==r||r.dispose()},n.componentDidUpdate=function(e){var t=this.props,n=t.selected,r=t.lowerBadge,a=t.upperBadge,o=this.state,i=o.borderRadiusMask,u=o.lowerBadgeMask,s=o.upperBadgeMask,d=o.renderComplex;n&&!e.selected?null==i||i.update({spring:1,immediate:!1,config:h}).start():!n&&e.selected&&(null==i||i.update({spring:0,immediate:!1,config:E}).start()),null!=r&&null==e.lowerBadge?null==u||u.update({spring:1,immediate:!document.hasFocus(),config:g}).start():null==r&&null!=e.lowerBadge&&(null==u||u.update({spring:0,immediate:!document.hasFocus(),config:S}).start()),null!=a&&null==e.upperBadge?null==s||s.update({spring:1,immediate:!document.hasFocus(),config:g}).start():null==a&&null!=e.upperBadge&&(null==s||s.update({spring:0,immediate:!document.hasFocus(),config:S}).start()),!d||T(this.props)||this.timeout.isStarted()?T(this.props)&&this.timeout.isStarted()&&this.timeout.stop():this.timeout.start((0,l.default)(108e5,18e6),this.handleTimeout)},n.getBadgePositionInterpolation=function(e,t){if(void 0===t&&(t=1),null!=e)return e.springs.spring.to([0,1],[20,0]).to((function(e){return"translate("+e+" "+e*t+")"}))},n.getLowerBadgeStyles=function(){var e=this.state.lowerBadgeMask;if(null!=e){var t=e.springs.spring;return{opacity:t.to([0,.5,1],[0,0,1]),transform:t.to((function(e){return"translate("+(16-16*e)+"px, "+(16-16*e)+"px)"}))}}},n.getUpperBadgeStyles=function(){var e=this.state.upperBadgeMask;if(null!=e){var t=e.springs.spring;return{opacity:t.to([0,.5,1],[0,0,1]),transform:t.to((function(e){return"translate("+(16-16*e)+"px, "+-1*(16-16*e)+"px)"}))}}},n.getPathInterpolation=function(){var e;return null===(e=this.state.borderRadiusMask)||void 0===e?void 0:e.springs.spring.to(O)},n.render=function(){var e,t=this.props,n=t.children,r=t.className,i=t.lowerBadge,l=t.lowerBadgeWidth,s=t.style,d=t.upperBadge,p=this.state,v=p.maskId,m=p.lowerBadgeMask,_=p.upperBadgeMask,h=p.focused,E=p.hasRenderedBadge;if(!p.renderComplex)return y("div",{className:(0,o.default)(r,(e={},e[c.default.wrapperSimple]=!0,e[c.default.simpleFocused]=h,e)),style:s,onFocus:this.handleFocus,onBlur:this.handleBlur},"wrapper",y("svg",{width:48,height:48,viewBox:"0 0 48 48",className:c.default.svg,overflow:"visible"},"svg",y("foreignObject",{mask:"url(#"+v+")",x:0,y:0,width:48,height:48},"foreign-object",n)));var g=v+"-upper_badge_masks",S=v+"-lower_badge_masks",O=v+"-blob_mask",T=v+"-stroke_mask";return y("div",{className:(0,o.default)(r,c.default.wrapper),style:s,onFocus:this.handleFocus,onBlur:this.handleBlur},"wrapper",y("svg",{width:48,height:48,viewBox:"0 0 48 48",className:c.default.svg,overflow:"visible"},"svg",y("defs",{},void 0,y(u.animated.path,{d:this.getPathInterpolation(),id:O}),E?y(u.animated.rect,{id:g,x:28,y:-4,width:24,height:24,rx:12,ry:12,transform:this.getBadgePositionInterpolation(_,-1)}):null,E?y(u.animated.rect,{id:S,x:48-(l+8)+4,y:28,width:l+8,height:24,rx:12,ry:12,transform:this.getBadgePositionInterpolation(m)}):null),y("mask",{id:v,fill:"black",x:0,y:0,width:48,height:48},void 0,y("use",{href:"#"+O,fill:"white"}),E?a.createElement(a.Fragment,null,y("use",{href:"#"+g,fill:"black"}),y("use",{href:"#"+S,fill:"black"})):null),E?y("mask",{id:T},void 0,C,y("use",{href:"#"+g,fill:"black"}),y("use",{href:"#"+S,fill:"black"})):null,h?y(a.Fragment,{},void 0,y("g",{className:c.default.focusStroke,mask:"url(#"+T+")"},void 0,y("use",{href:"#"+O})),y("g",{className:c.default.focusFill},void 0,null!=d?y("use",{href:"#"+g}):null,null!=i?y("use",{href:"#"+S}):null)):null,y("foreignObject",{mask:"url(#"+v+")",x:0,y:0,width:48,height:48},"foreign-object",n)),y(f.default,{component:a.Fragment},void 0,null!=i?y(I,{className:c.default.lowerBadge,animatedStyle:this.getLowerBadgeStyles()},"lower-badge",i):null,null!=d?y(I,{className:c.default.upperBadge,animatedStyle:this.getUpperBadgeStyles()},"upper-badge",d):null))},t}(a.Component);b.displayName="BlobMask",b.defaultProps={selected:!1,lowerBadgeWidth:16};var M=b;t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.configureJoin=function(e){var t=e.getGuildId();null!=t&&o.default.open(t,S.GuildSettingsSections.OVERVIEW)},t.copyId=function(e,t,n){(0,_.copy)(n.shiftKey?t.channel_id+"-"+t.id:t.id)},t.copyLink=function(e,t){(0,_.copy)(location.protocol+"//"+location.host+S.Routes.CHANNEL(e.guild_id,e.id,t.id))},t.deleteMessage=function(e,t,n){t.state===S.MessageStates.SEND_FAILED||n.shiftKey?i.default.deleteMessage(e.id,t.id,t.state===S.MessageStates.SEND_FAILED):u.default.confirmDelete(e,t)},t.editMessage=function(e,t){i.default.startEditMessage(e.id,t.id,t.content)},t.markMessageUnread=function(e,t){(0,E.default)(e.id,t.id)},t.pinMessage=function(e,t,n){if(!1===t.pinned)return void(n.shiftKey?a.default.pinMessage(e,t.id):u.default.confirmPin(e,t));n.shiftKey?a.default.unpinMessage(e,t.id):u.default.confirmUnpin(e,t)},t.publishMessage=function(e,t){(0,d.confirmPublish)(e.id,t.id)},t.retrySendMessage=function(e,t){(0,g.default)(e,t,void 0,h.default.getOptions(t.id))},t.reportMessage=function(e,t){l.default.openReportMessageModal(e,t)},t.showReactionsModal=function(e,t){(0,y.openModal)((function(e){return r.createElement(s.default,T({},e,{message:t}))}))},t.speakMessage=function(e,t){i.default.speakMessage(e.id,t.id)},t.stopSpeakingMessage=function(){i.default.stopSpeakingMessage()},t.replyToMessage=function(e,t,n){var r=e.isPrivate(),a=null!=t.webhookId,o=t.author.id===p.default.getId();(0,f.createPendingReply)({channel:e,message:t,shouldMention:!n.shiftKey&&!a&&!o,showMentionToggle:!r&&!a&&!o}),m.ComponentDispatch.dispatchToLastSubscribed(S.ComponentActions.TEXTAREA_FOCUS)},t.createThread=function(e,t){c.default.openThreadSidebarForCreating(e,t,"Message")},t.gotoThread=function(e,t){var n=v.default.getChannel(t.id);null!=n&&c.default.openThreadSidebarForViewing(n)};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=O(n(8581)),o=O(n(8254)),i=O(n(390)),l=O(n(8495)),u=O(n(8487)),s=O(n(9047)),d=n(8896),f=n(8390),c=O(n(8265)),p=O(n(11)),v=O(n(10)),y=n(41),m=n(121),_=n(1163),h=O(n(9048)),E=O(n(8706)),g=O(n(9049)),S=n(1);function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(){return(T=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SpoilerDisplayContext=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=c(n(9)),l=n(48),u=c(n(61)),s=c(n(149)),d=c(n(6)),f=c(n(7364));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}!function(e){e.TEXT="text",e.ATTACHMENT="attachment",e.EMBED="embed"}(a||(a={}));var m=function(e){var t=e.className;return y("div",{className:(0,i.default)(f.default.spoilerWarning,t)},void 0,d.default.Messages.SPOILER)};m.displayName="SpoilerWarning";var _=o.createContext(!1);t.SpoilerDisplayContext=_;var h=y(m,{}),E=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={visible:!1},t.revealSpoiler=function(e){var n=t.state.visible;if(!n){n||e.preventDefault(),t.setState({visible:!0});var r=t.props.onReveal;null!=r&&r()}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var c=r.prototype;return c.renderWithTooltip=function(e){return y(s.default,{position:s.default.Positions.LEFT,text:this.state.visible?null:d.default.Messages.SPOILER_REVEAL},void 0,(function(t){var n=t.onMouseEnter,r=t.onMouseLeave;return o.cloneElement(o.Children.only(e),{onMouseEnter:n,onMouseLeave:r})}))},c.renderSpoilerAttachment=function(){var e=this,t=this.props,n=t.children,r=t.inline,a=this.state.visible,o=y(_.Consumer,{},void 0,(function(t){var o,l=t||a;return y(u.default,{onClick:l?void 0:e.revealSpoiler,"aria-label":l?void 0:d.default.Messages.SPOILER,"aria-expanded":l,className:(0,i.default)((o={},o[f.default.spoilerText]=r,o[f.default.hidden]=!l,o[f.default.spoilerContainer]=!r,o)),role:l?"presentation":"button",tabIndex:l?-1:0},void 0,l||r?null:h,y("div",{"aria-hidden":!l},void 0,n(!l)))}));return r?this.renderWithTooltip(o):o},c.renderSpoilerEmbed=function(){var e=this,t=this.props.children,n=this.state.visible;return y(_.Consumer,{},void 0,(function(r){var a=r||n;return y(u.default,{"aria-label":a?void 0:d.default.Messages.SPOILER,"aria-expanded":a,className:f.default.spoilerContainer,onClick:a?void 0:e.revealSpoiler,role:a?"presentation":"button",tabIndex:a?-1:0},void 0,a?null:y(m,{className:f.default.embed}),y("div",{"aria-hidden":!a},void 0,t(!a)))}))},c.renderSpoilerText=function(){var e=this,t=this.props,n=t.children,r=t.renderTextElement,a=this.state.visible,s=y(_.Consumer,{},void 0,(function(t){var s,c,p=t||a,v=o.Children.toArray(n(p)),m=v.some((function(e){return o.isValidElement(e)&&"pre"===e.type})),_=v.some((function(e){return o.isValidElement(e)&&"blockquote"===e.type}));return c=m||_?o.Children.map(v,(function(e){return o.isValidElement(e)&&null!=e.type?o.cloneElement(e,{"aria-hidden":!p,tabIndex:-1,className:(0,i.default)(null!=e.props?e.props.className:null,f.default.inlineContent)}):null})).filter(l.isNotNullish):y("span",{"aria-hidden":!p,className:f.default.inlineContent},void 0,null!=r?v.map((function(e){return o.isValidElement(e)?r(e,p):e})):v),y(u.default,{tag:"span",onClick:p?void 0:e.revealSpoiler,"aria-label":p?void 0:d.default.Messages.SPOILER,"aria-expanded":p,tabIndex:p?-1:0,role:p?"presentation":"button",className:(0,i.default)(f.default.spoilerText,(s={},s[f.default.hidden]=!p,s[f.default.codeBlock]=m,s[f.default.quoteBlock]=_,s))},void 0,c)}));return this.renderWithTooltip(s)},c.render=function(){var e=this.props.type,t=void 0===e?a.TEXT:e;switch(t){case a.TEXT:return this.renderSpoilerText();case a.ATTACHMENT:return this.renderSpoilerAttachment();case a.EMBED:return this.renderSpoilerEmbed();default:return(0,l.assertNever)(t)}},r}(o.PureComponent);E.displayName="Spoiler",E.Types=a;var g=E;t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActivityEmoji=g,t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(9)),i=n(3),l=m(n(5938)),u=m(n(185)),s=m(n(732)),d=m(n(1334)),f=m(n(39)),c=m(n(149)),p=m(n(8804)),v=n(1),y=m(n(7445));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(){return(E=Object.assign||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}).apply(this,arguments)}function g(e){var t=e.emoji,n=e.className,r=e.animate,s=void 0===r||r,d=e.hideTooltip,p=(0,i.useStateFromStores)([f.default],(function(){return f.default.animateEmoji})),v=null!=t.id?":"+t.name+":":u.default.translateSurrogatesToInlineEmoji(t.name),m={className:(0,o.default)(y.default.emoji,n),emojiId:t.id,emojiName:t.name,autoplay:!0,animated:Boolean(t.animated&&p&&s)};return d?a.createElement(l.default,m):h(c.default,{text:v},void 0,(function(e){return a.createElement(l.default,E({},e,m))}))}var S=function(e){var t=e.className,n=e.text,r=a.useRef(null),i=a.useRef(null),l=a.useState(!1),u=l[0],s=l[1];return a.useLayoutEffect((function(){var e=r.current,t=i.current;if(null!=e&&null!=t){var n=e.clientWidth<t.clientWidth&&e.clientHeight<=t.clientHeight;s(!n)}}),[n]),h(c.default,{text:u||!n?null:n,delay:150,"aria-label":!1},void 0,(function(e){return a.createElement(a.Fragment,null,a.createElement("div",E({},e,{className:t,ref:r}),n),a.createElement("div",{className:(0,o.default)(y.default.textRuler,t),ref:i,"aria-hidden":!0},n))}))};S.displayName="ActivityText";var O=function(e){var t=e.activities,n=e.applicationStream,r=e.className,a=e.textClassName,o=e.emojiClassName,i=e.animate,l=void 0===i||i,u=e.hideTooltip,f=void 0!==u&&u,c=e.hideEmoji,m=void 0!==c&&c,_=null!=t?t.find((function(e){return e.type===v.ActivityTypes.CUSTOM_STATUS})):null,E=null;null==_||null==_.emoji||m||(E=h(g,{emoji:_.emoji,animate:l,hideTooltip:f,className:o}));var O=(0,d.default)(t,n),I=null!=O&&O.length>0;return null!=E||I?h("div",{className:r},void 0,E,h(S,{text:O,className:a}),null!=t&&t.some(s.default)?h(p.default,{width:16,height:16,className:y.default.icon}):null):null};O.displayName="ActivityStatus";var I=O;t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NO_COMMANDS=void 0;var r=i(n(3)),a=i(n(2)),o=n(8279);n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u,s,d,f,c,p=Object.freeze([]);t.NO_COMMANDS=p;var v,y=[];var m=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var a=r.prototype;return a.getResultCommands=function(e){return e===c?y:p},a.hasResults=function(e,t){return t===c&&(e=e.trimEnd().split(" ")[0].toLocaleLowerCase(),!(null==f||0!==y.length||!e.startsWith(f))||f===e)},r}(r.default.Store))(a.default,{LOGOUT:function(e){return v=void 0,y=[],u=void 0,s=void 0,f=void 0,d=void 0,void(c=void 0)},CHANNEL_SELECT:function(e){var t=e.guildId;if(v===t)return!1;v=t,y=[],u=void 0,s=void 0,f=void 0,d=void 0,c=void 0},GUILD_APPLICATION_COMMANDS_UPDATE:function(e){var t,n=e.applicationCommands;if(e.nonce!==u)return!1;y=(0,o.buildApplicationCommands)(n),f=null===(t=s)||void 0===t?void 0:t.toLocaleLowerCase(),c=d},APPLICATION_COMMAND_QUERY_REQUEST:function(e){var t=e.nonce,n=e.query,r=e.commandTarget;u=t,s=n,d=r}});t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ApplicationBuyButton=void 0;var r,a=G(n(0)),o=k(n(9)),i=n(394),l=n(3),u=k(n(154)),s=n(8615),d=G(n(5672)),f=n(8344),c=k(n(473)),p=n(8837),v=n(8296),y=k(n(8440)),m=n(42),_=k(n(71)),h=k(n(39)),E=k(n(12)),g=k(n(161)),S=k(n(5826)),O=k(n(8634)),I=k(n(373)),T=k(n(1167)),C=k(n(29)),b=k(n(5828)),M=k(n(149)),N=k(n(5686)),A=k(n(13)),P=n(99),R=k(n(96)),L=n(8366),D=n(1),w=k(n(6)),j=k(n(7546));function k(e){return e&&e.__esModule?e:{default:e}}function U(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return U=function(){return e},e}function G(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=U();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function F(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function B(){return(B=Object.assign||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}).apply(this,arguments)}function H(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function x(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){H(o,r,a,i,l,"next",e)}function l(e){H(o,r,a,i,l,"throw",e)}i(void 0)}))}}function V(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function W(e,t){return(W=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Y(e){A.default.track(D.AnalyticEvents.PREMIUM_PROMOTION_OPENED,{location:e})}var z=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleViewInStore=function(e){var n=t.props,r=n.sku,a=n.skuId,o=n.application,i=n.onClick;if(null==r)throw new Error("Unexpected missing sku");null!=i&&i(e),null!=a?(0,f.goToSKUStoreListing)(r.id,{analyticsSource:t.analyticsLocation,slug:r.slug}):null!=o&&(0,f.goToApplicationStoreListing)(o.id,{analyticsSource:t.analyticsLocation,slug:o.slug})},t.handleClick=function(){var e=x(regeneratorRuntime.mark((function e(n){var r,a,o,l,d,f,v,y,_,h,E,g,S,O,I;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.props,a=r.isAuthenticated,o=r.applicationId,l=r.sku,d=r.targetSkuId,f=r.entitlementBranchId,v=r.isUserPremium,y=r.onClick,_=r.isInTestMode,h=r.storeListingAnalyticsProperties,E=r.asGift,g=r.forceDistribution,null!=l){e.next=3;break}throw new Error("should not be able to buy without sku");case 3:if(null!=y&&null!=n&&y(n),null==l.externalPurchaseUrl){e.next=7;break}return window.open(l.externalPurchaseUrl),e.abrupt("return");case 7:if(a){e.next=11;break}return S={redirect_to:D.Routes.APPLICATION_STORE_LISTING_SKU(l.id,l.slug)},(0,m.transitionTo)(D.Routes.LOGIN,{search:(0,i.stringify)(S)}),e.abrupt("return");case 11:if(O=null!=f,!l.premium||g||v||_||O){e.next=17;break}Y(t.analyticsLocation),c.default.open(D.UserSettingsSections.PREMIUM),e.next=38;break;case 17:if((l.requiresPayment||g)&&!O){e.next=29;break}return e.prev=18,e.next=21,t.purchaseOrGrantSKU(l);case 21:I=e.sent,(0,s.openPurchaseConfirmationModal)(l.applicationId,l.id,I,{analyticsSource:t.analyticsLocation}),e.next=27;break;case 25:e.prev=25,e.t0=e.catch(18);case 27:e.next=38;break;case 29:if(null==d){e.next=38;break}return e.prev=30,e.next=33,(0,p.openSKUPaymentModal)(o,d,t.analyticsLocation,{promotionId:null!=h?h.promotionId:null,isGift:E});case 33:e.next=38;break;case 35:e.prev=35,e.t1=e.catch(30),e.t1===D.PaymentModalPriceChangedError&&u.default.show({title:w.default.Messages.PAYMENT_PRICE_CHANGE_TITLE,body:w.default.Messages.PAYMENT_PRICE_CHANGE_BODY,confirmText:w.default.Messages.OKAY});case 38:case"end":return e.stop()}}),e,null,[[18,25],[30,35]])})));return function(t){return e.apply(this,arguments)}}(),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,W(t,n);var l,v,_,h=r.prototype;return h.componentDidMount=function(){var e=this.props,t=e.sku,n=e.applicationId,r=e.targetSkuId;null==t&&null!=r&&d.fetchSKU(n,r).catch((function(){}))},h.componentDidUpdate=function(e){this.props.locale!==e.locale&&null!=this.props.targetSkuId&&d.fetchSKU(this.props.applicationId,this.props.targetSkuId).catch((function(){}))},h.purchaseOrGrantSKU=function(){var e=x(regeneratorRuntime.mark((function e(t){var n,r,a,o,i,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.props,r=n.channelId,a=n.entitlementBranchId,o=n.analyticsContext,null==r||null==a){e.next=6;break}return e.next=4,d.grantChannelBranchEntitlement(t.applicationId,r,t.id);case 4:return i=e.sent,e.abrupt("return",i);case 6:return e.next=8,d.purchaseSKU(t.applicationId,t.id,{analyticsLoadId:o.loadId});case 8:return l=e.sent,e.abrupt("return",l.entitlements);case 10:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),h.wrapWithDisabledTooltip=function(e,t){var n=this.props,r=n.className,i=n.tooltipPosition;return F("div",{className:(0,o.default)(j.default.disabledButtonWrapper,r)},void 0,e,F(M.default,{text:t,position:i},void 0,(function(e){return a.createElement("div",B({className:j.default.disabledButtonOverlay},e))})))},h.renderButton=function(e,t){void 0===t&&(t=Object.freeze({}));var n,r=this.props,i=r.isPurchasing,l=r.wrapperClassName,u=r.className,s=r.fullWidth,d=r.size,f=r.isWindowFocused,c=r.color,p=r.customDisabledColor,v=r.pauseAnimation,y=r.isEntitled,m=r.asGift,_=r.sku,h=r.entitlementBranchId,E=r.isInTestMode,g=r.innerClassName,S=!0===y&&(null==_||_.type!==D.SKUTypes.CONSUMABLE),O=null!=h,I=!0===t.disabled||null!=_&&!_.available&&!O&&!E||S&&!m,T=t.disabledTooltipText,M={wrapperClassName:l,className:u,fullWidth:s,size:d,color:I&&null!=p?p:null!=c?c:C.default.Colors.GREEN,hover:this.hover,innerClassName:(0,o.default)(null!=g?g:null,j.default.applicationBuyButton),disabled:I,submitting:i||!0===t.submitting,onClick:null!=t.onClick?t.onClick:this.handleClick};return n=!0===t.useShinyButton?a.createElement(b.default,B({},M,{pauseAnimation:!f||v}),t.buttonIcon,e):a.createElement(C.default,M,t.buttonIcon,e),null!=T?this.wrapWithDisabledTooltip(n,T):n},h.renderFreeButton=function(e,t){var n=this.props,r=n.isEntitled,a=n.isUserPremium,o=n.isInTestMode,i=n.forceDistribution;if(null!=n.entitlementBranchId)return(0,L.canUserInstall)(e)&&!r?this.renderButton(w.default.Messages.GAME_ACTION_BUTTON_INSTALL):this.renderButton(w.default.Messages.GAME_ACTION_BUTTON_ADD_TO_LIBRARY);var l=e.getPrice();return e.premium&&!i&&(a||o)?(0,L.canUserInstall)(e)&&!r?this.renderButton(w.default.Messages.GAME_ACTION_BUTTON_INSTALL,t):this.renderButton(w.default.Messages.GAME_ACTION_BUTTON_ADD_TO_LIBRARY,t):null==l||0!==l.amount||e.premium&&!(0,P.hasFlag)(e.flags,D.SKUFlags.PREMIUM_AND_DISTRIBUTION)?void 0:(0,L.canUserInstall)(e)&&!r?this.renderButton(w.default.Messages.GAME_ACTION_BUTTON_INSTALL):this.renderButton(w.default.Messages.GAME_ACTION_BUTTON_ADD_TO_LIBRARY)},h.render=function(){var e=this.props,t=e.isAuthenticated,n=e.sku,r=e.onStoreListing,a=e.shouldRenderPrice,o=e.forceDistribution,i=e.asGift,l=e.isInTestMode,u={useShinyButton:!0,buttonIcon:F(N.default,{className:j.default.premiumIcon})};if(null==n)return this.renderButton(null,{submitting:!0});if(i)return n.isPreorder()?this.renderButton(w.default.Messages.APPLICATION_STORE_PREORDER_AS_GIFT):this.renderButton(w.default.Messages.APPLICATION_STORE_BUY_AS_GIFT);var s=this.renderFreeButton(n,u);if(null!=s)return s;if(!r)return this.renderButton(w.default.Messages.GAME_ACTION_BUTTON_VIEW_IN_STORE,{onClick:this.handleViewInStore});var d=n.getPrice();return!n.available&&!l||!n.premium&&null==d?this.renderButton(w.default.Messages.GAME_ACTION_BUTTON_UNAVAILABLE,{disabled:!0}):n.restricted?this.renderButton(w.default.Messages.APPLICATION_STORE_BUY,{disabledTooltipText:w.default.Messages.GAME_ACTION_BUTTON_RESTRICTED_IN_REGION}):n.premium&&!o?this.renderButton(w.default.Messages.APPLICATION_STORE_GET_PREMIUM,u):t||null!=n.externalPurchaseUrl?n.isPreorder()?this.renderButton(a?w.default.Messages.APPLICATION_STORE_PREORDER_FOR_PRICE.format({price:(0,y.default)(n,!0,!0)}):w.default.Messages.APPLICATION_STORE_PREORDER):this.renderButton(a?w.default.Messages.APPLICATION_STORE_BUY_FOR_PRICE.format({price:(0,y.default)(n,!0,!0)}):w.default.Messages.APPLICATION_STORE_BUY):this.renderButton(w.default.Messages.GAME_ACTION_BUTTON_LOGIN_TO_BUY)},l=r,(v=[{key:"analyticsLocation",get:function(){var e=this.props,t=e.storeListingAnalyticsProperties,n=e.asGift,r=null!=t?t.promotionId:null;return B({},this.props.analyticsContext.location,{object:D.AnalyticsObjects.BUTTON_CTA,objectType:n?D.AnalyticsObjectTypes.GIFT:D.AnalyticsObjectTypes.BUY,promotionId:r})}},{key:"hover",get:function(){var e=this.props,t=e.hover,n=e.color;return null!=t?t:null!=n?C.default.Hovers.GREEN:C.default.Hovers.DEFAULT}}])&&V(l.prototype,v),_&&V(l,_),r}(a.Component);t.ApplicationBuyButton=z,z.displayName="ApplicationBuyButton",z.defaultProps={tooltipPosition:M.default.Positions.TOP,onStoreListing:!1,shouldRenderPrice:!1,pauseAnimation:!1,asGift:!1,forceDistribution:!1};var K=a.forwardRef((function(e,t){var n=e.entitlementBranchId,r=e.applicationId,o=e.channelId,i=e.skuId,u=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["entitlementBranchId","applicationId","channelId","skuId"]),s=(0,l.useStateFromStores)([T.default],(function(){return T.default.inTestModeForApplication(r)})),d=(0,l.useStateFromStoresArray)([_.default,E.default,I.default,S.default],(function(){var e=_.default.getGame(r),t=E.default.getNullableCurrentUser(),a=null==i&&null!=e?e.destinationSkuId:i,o=null!=a?I.default.get(a):null,l=null!=n?n:r;return[e,t,o,null!=a?S.default.isEntitledToSku(t,a,r,l):null,R.default.canInstallPremiumApplications(t),a]})),f=d[0],c=d[1],p=d[2],y=d[3],m=d[4],C=d[5],b=(0,l.useStateFromStores)([g.default],(function(){return g.default.isFocused()})),M=(0,l.useStateFromStores)([O.default],(function(){return O.default.isPurchasingSKU})),N=(0,l.useStateFromStores)([h.default],(function(){return h.default.locale})),A=(0,v.useAnalyticsContext)();if(null!=n&&null==o)throw new Error("Unexpected entitlementBranchId without a channelId");return a.createElement(z,B({},u,{applicationId:r,skuId:i,entitlementBranchId:n,channelId:o,application:f,sku:p,isAuthenticated:null!=c,isInTestMode:s,isEntitled:y,isUserPremium:m,isWindowFocused:b,isPurchasing:M,locale:N,analyticsContext:A,ref:t,targetSkuId:C}))}));t.default=K},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return o.default.embedded&&null!=e&&0!==(null==e?void 0:e.length)?[s(a.MenuItem,{id:"search-google",label:i.default.Messages.SEARCH_WITH_GOOGLE,action:function(){return window.open("https://www.google.com/search?q="+encodeURIComponent(e),"_blank")}})]:null};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(8253),o=l(n(16)),i=l(n(6));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=s(n(9501)),l=s(n(6)),u=s(n(7538));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=a.forwardRef((function(e,t){var n,r=e.className,s=e.contentClassName,d=e.isUnread,c=e.children,p=e.id;return a.createElement("div",{className:(0,o.default)(r,(n={},n[u.default.divider]=!0,n[u.default.isUnread]=d,n[u.default.hasContent]=null!=c,n)),ref:t,id:p},null!=c?f("span",{className:(0,o.default)(u.default.content,s)},void 0,c):null,d?f("span",{className:u.default.unreadPill},void 0,f(i.default,{foreground:u.default.unreadPillCapStroke,className:u.default.unreadPillCap}),l.default.Messages.NEW):null)}));t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.computeThreadNotificationSetting=u,t.useThreadNotificationSetting=function(e){return(0,r.useStateFromStores)([o.default,a.default],(function(){return u(e)}),[e])};var r=n(3),a=l(n(181)),o=l(n(204)),i=n(392);function l(e){return e&&e.__esModule?e:{default:e}}function u(e){var t=o.default.flags(e.id);if(null==t)return i.ThreadMemberFlags.NO_MESSAGES;if(t&i.ThreadMemberFlags.ALL_MESSAGES)return i.ThreadMemberFlags.ALL_MESSAGES;if(t&i.ThreadMemberFlags.ONLY_MENTIONS)return i.ThreadMemberFlags.ONLY_MENTIONS;if(t&i.ThreadMemberFlags.NO_MESSAGES)return i.ThreadMemberFlags.NO_MESSAGES;var n=t&i.ThreadMemberFlags.HAS_INTERACTED,r=a.default.isGuildOrCategoryOrChannelMuted(e.guild_id,e.parent_id);return n&&!r?i.ThreadMemberFlags.ALL_MESSAGES:i.ThreadMemberFlags.ONLY_MENTIONS}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.COMMUNITY_UPSELL_MINIMUM_GUILD_SIZE=t.MODERATOR_PERMISSIONS_FLAG=t.MODERATOR_PERMISSIONS=t.CREATE_NEW_CHANNEL_VALUE=t.PUBLIC_GUILD_UPDATES_WEBHOOK_USER_ID=t.PUBLIC_GUILD_ANNOUNCEMENTS_GUILD_ID=t.PUBLIC_SUCCESS_MODAL_SEEN_KEY=t.RADIO_BUTTON_ACCEPTED_STATES=void 0;var r,a,o=(r=n(63))&&r.__esModule?r:{default:r},i=n(1);t.RADIO_BUTTON_ACCEPTED_STATES=a,function(e){e.ACCEPTED="ACCEPTED",e.UNACCEPTED="UNACCEPTED"}(a||(t.RADIO_BUTTON_ACCEPTED_STATES=a={}));t.PUBLIC_SUCCESS_MODAL_SEEN_KEY="publicSuccessModalSeen";t.PUBLIC_GUILD_ANNOUNCEMENTS_GUILD_ID="667560445975986187";t.PUBLIC_GUILD_UPDATES_WEBHOOK_USER_ID="669627189624307712";t.CREATE_NEW_CHANNEL_VALUE="1";var l=[i.Permissions.ADMINISTRATOR,i.Permissions.MANAGE_GUILD,i.Permissions.MANAGE_CHANNELS,i.Permissions.MANAGE_ROLES,i.Permissions.KICK_MEMBERS,i.Permissions.BAN_MEMBERS,i.Permissions.MANAGE_MESSAGES,i.Permissions.MENTION_EVERYONE];t.MODERATOR_PERMISSIONS=l;var u=o.default.combine.apply(o.default,l);t.MODERATOR_PERMISSIONS_FLAG=u;t.COMMUNITY_UPSELL_MINIMUM_GUILD_SIZE=1e3},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fill:d,className:f,d:"M12 5C5.648 5 1 12 1 12C1 12 5.648 19 12 19C18.352 19 23 12 23 12C23 12 18.352 5 12 5ZM12 16C9.791 16 8 14.21 8 12C8 9.79 9.791 8 12 8C14.209 8 16 9.79 16 12C16 14.21 14.209 16 12 16Z"}),s("path",{fill:d,className:f,d:"M12 14C13.1046 14 14 13.1046 14 12C14 10.8954 13.1046 10 12 10C10.8954 10 10 10.8954 10 12C10 13.1046 10.8954 14 12 14Z"}))}d.displayName="Eye"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=j;D(n(0));var r,a=n(389),o=R(n(8257)),i=n(286),l=R(n(8323)),u=R(n(8500)),s=R(n(8441)),d=R(n(8399)),f=R(n(8258)),c=D(n(8253)),p=R(n(8430)),v=R(n(11)),y=R(n(8378)),m=R(n(8379)),_=R(n(8380)),h=R(n(8340)),E=R(n(8384)),g=R(n(8385)),S=R(n(9650)),O=R(n(8607)),I=R(n(8386)),T=R(n(8929)),C=R(n(8387)),b=R(n(8324)),M=R(n(8407)),N=R(n(8388)),A=n(1),P=R(n(6));function R(e){return e&&e.__esModule?e:{default:e}}function L(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return L=function(){return e},e}function D(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=L();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function w(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function j(e){var t=e.user,n=e.channel,r=e.channelSelected,R=void 0!==r&&r,L=e.showMute,D=void 0===L||L,j=e.showMediaItems,k=void 0!==j&&j,U=e.showChannelCallItems,G=void 0!==U&&U,F=e.showModalItems,B=void 0===F||F,H=e.target,x=e.context,V=e.analyticsContext,W=e.onSelect,Y=(0,b.default)(t.id,null,x),z=(0,g.default)(t,x),K=(0,_.default)({user:t,channelId:n.id,target:H,context:x}),$=(0,m.default)(t),Z=(0,N.default)(t.id),q=(0,S.default)(n.id,R),X=(0,I.default)(t),J=(0,l.default)(null,t),Q=(0,M.default)(t.id),ee=(0,T.default)(t.id,n.id),te=(0,y.default)(t),ne=(0,C.default)(t.id),re=(0,O.default)(t.id,n.id),ae=(0,E.default)(t),oe=(0,d.default)(n),ie=(0,f.default)(t.id),le=(0,s.default)(n),ue=(0,u.default)(n.id),se=(0,p.default)(t),de=(0,h.default)(i.ApplicationCommandTarget.USER,n.id);if(v.default.isGuest()||t.isNonUserBot())return null;var fe=n.isManaged();return w(o.default,{context:V,object:A.AnalyticsObjects.CONTEXT_MENU},void 0,w(c.default,{navId:"user-context",onClose:a.closeContextMenu,"aria-label":P.default.Messages.USER_ACTIONS_MENU_LABEL,onSelect:W},void 0,w(c.MenuGroup,{},void 0,le),w(c.MenuGroup,{},void 0,se),w(c.MenuGroup,{},void 0,B&&Y,z,!fe&&ee,B&&K,B&&$,Z,q),w(c.MenuGroup,{},void 0,k&&Q),w(c.MenuGroup,{},void 0,B&&J),w(c.MenuGroup,{},void 0,k&&ne,k&&re,de,B&&X,te,B&&ae),w(c.MenuGroup,{},void 0,D&&oe),G&&w(c.MenuGroup,{},void 0,ue),w(c.MenuGroup,{},void 0,ie)))}j.displayName="DMUserContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(2)),a=l(n(8751)),o=n(1380),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}var u={open:function(e){r.default.dispatch({type:i.ActionTypes.NOTIFICATION_SETTINGS_MODAL_OPEN,guildId:e})},close:function(){r.default.dispatch({type:i.ActionTypes.NOTIFICATION_SETTINGS_MODAL_CLOSE})},updateGuildNotificationSettings:function(e,t,n){a.default.saveUserGuildSettings(e,t),r.default.dispatch({type:i.ActionTypes.USER_GUILD_SETTINGS_GUILD_UPDATE,guildId:e,settings:t}),(0,o.trackGuildNotificationSettingsUpdate)(e,t,n)},updateChannelOverrideSettings:function(e,t,n,l){var u,s={channel_overrides:(u={},u[t]=n,u)};a.default.saveUserGuildSettings(e,s),r.default.dispatch({type:i.ActionTypes.USER_GUILD_SETTINGS_CHANNEL_UPDATE,guildId:e,channelId:t,settings:n}),(0,o.trackChannelNotificationSettingsUpdate)(e,t,n,l)}};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,a.useStateFromStoresArray)([i.default],(function(){return e.map((function(e){return{id:e,application:i.default.getGame(e),fetching:i.default.isFetching(e),failed:i.default.didFetchingFail(e)}}))}));return r.useEffect((function(){var e=t.filter((function(e){var t=e.application,n=e.fetching,r=e.failed;return null==t&&!n&&!r})).map((function(e){return e.id}));0!==e.length&&o.default.fetchApplications(e)}),[t]),t.map((function(e){return e.application}))};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(3),o=l(n(478)),i=l(n(71));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(1);function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}var i=r.createContext(a.AppContext.APP);t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSearchOptionAnswer=function(e){switch(e){case u.SearchTokenTypes.FILTER_FROM:return s.default.Messages.SEARCH_ANSWER_FROM;case u.SearchTokenTypes.FILTER_MENTIONS:return s.default.Messages.SEARCH_ANSWER_MENTIONS;case u.SearchTokenTypes.FILTER_HAS:return s.default.Messages.SEARCH_ANSWER_HAS;case u.SearchTokenTypes.FILTER_BEFORE:case u.SearchTokenTypes.FILTER_ON:case u.SearchTokenTypes.FILTER_AFTER:return s.default.Messages.SEARCH_ANSWER_DATE;case u.SearchTokenTypes.FILTER_IN:return s.default.Messages.SEARCH_ANSWER_IN;case u.SearchTokenTypes.FILTER_FILE_TYPE:return s.default.Messages.SEARCH_ANSWER_FILE_TYPE;case u.SearchTokenTypes.FILTER_FILE_NAME:return s.default.Messages.SEARCH_ANSWER_FILE_NAME}},t.getSearchQueryFromTokens=function(e){var t={};e.forEach((function(e){var n=e.type;if(!u.IS_SEARCH_FILTER_TOKEN.test(n)){switch(n){case u.SearchTokenTypes.ANSWER_BEFORE:case u.SearchTokenTypes.ANSWER_ON:case u.SearchTokenTypes.ANSWER_AFTER:var r=e.getData("start"),a=e.getData("end");return r&&(t.min_id=l.default.fromTimestamp(r)),void(a&&(t.max_id=l.default.fromTimestamp(a)))}var o=function(e){var t=i.default[e],n=t?t.queryKey:null;n||(n="content");return n}(n);null==t[o]&&(t[o]=new Set);var s=t[o];switch(n){case u.SearchTokenTypes.ANSWER_USERNAME_FROM:case u.SearchTokenTypes.ANSWER_USERNAME_MENTIONS:s.add(e.getData("userId"));break;case u.SearchTokenTypes.ANSWER_FILE_TYPE:case u.SearchTokenTypes.ANSWER_FILE_NAME:s.add(e.getMatch(1));break;case u.SearchTokenTypes.ANSWER_IN:s.add(e.getData("channel").id);break;case u.SearchTokenTypes.ANSWER_HAS:s.add(e.getData("has"));break;default:s.add(e.getFullMatch().trim())}}}));for(var n=0,r=Object.entries(t);n<r.length;n++){var a=r[n],o=a[0],s=a[1];s instanceof Set&&(t[o]=Array.from(s))}t.content&&(t.content=t.content.join(" ").trim(),t.content||delete t.content);return t},t.getNonTokenQuery=function(e){return e.map((function(e){return e.type===o.default.NON_TOKEN_TYPE?e.getFullMatch():""})).join(" ").trim()},t.getSelectionScope=function(e,t,n){var r,a,o=e.find((function(o,i){return t>=o.start&&t<=o.end&&n>=o.start&&n<=o.end?(e[i+1]&&(a=e[i+1]),!0):(r=o,!1)}));if(!o)return null;return{previousToken:r,currentToken:o,nextToken:a,focusOffset:t,anchorOffset:n}},t.getAutocompleteMode=function(e,t){var n,r=e=e||{},a=r.currentToken,i=r.nextToken,l=r.previousToken;if(0===t.length)return{type:u.SearchPopoutModes.EMPTY,filter:null,token:null};if(!a)return{type:u.SearchPopoutModes.FILTER_ALL,filter:null,token:null};if(u.IS_SEARCH_FILTER_TOKEN.test(a.type)){if(!i||i.type===o.default.NON_TOKEN_TYPE)return{type:u.SearchPopoutModes.FILTER,filter:a.type,token:i};if(i&&!u.IS_SEARCH_ANSWER_TOKEN.test(i.type))return{type:u.SearchPopoutModes.FILTER,filter:a.type,token:null}}if(a.type===o.default.NON_TOKEN_TYPE&&l&&u.IS_SEARCH_FILTER_TOKEN.test(l.type))return{type:u.SearchPopoutModes.FILTER,filter:l.type,token:a};a.type===o.default.NON_TOKEN_TYPE&&(n=a);return{type:u.SearchPopoutModes.FILTER_ALL,filter:null,token:n}},t.getFlattenedStringArray=function(e,t){var n=[];return(0,a.default)(e).forEach((function(e){if(e&&e.results.length){var r=e.group;n=n.concat(e.results.map((function(e){var n=e.text;if(t===u.SearchPopoutModes.FILTER_ALL){r=e.group||r;var a=i.default[r];a&&a.key&&(n=a.key+" "+n)}return n})))}})),n.filter((function(e){return e}))},t.getTotalResults=function(e){return e.reduce((function(e,t){return t?t.results.length+e:e}),0)},t.getQueryFromTokens=function(e){if(!e)return"";return e.map((function(e){return e.getFullMatch()})).join("")},t.tokenizeQuery=function(e){return v.tokenize(e)},t.clearTokenCache=function(){return v.clearCache()},t.showDatePicker=function(e){return null!=e?p[e]:null},t.filterHasAnswer=function(e,t){var n=u.IS_SEARCH_FILTER_TOKEN.test(e.type);if(!t&&n||t&&n&&!u.IS_SEARCH_ANSWER_TOKEN.test(t.type))return!1;return!0},t.refreshSearchTokens=function(){(0,i.refreshSearchTokens)(),v.reset(),(0,a.default)(i.default).forOwn((function(e,t){return v.addRule(c({type:t},e))}))},t.ShowDatePicker=void 0;var r,a=f(n(8)),o=f(n(8526)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(8457)),l=f(n(97)),u=n(1),s=f(n(6));function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||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}).apply(this,arguments)}var p=((r={})[u.SearchTokenTypes.FILTER_BEFORE]=!0,r[u.SearchTokenTypes.FILTER_AFTER]=!0,r[u.SearchTokenTypes.FILTER_ON]=!0,r);t.ShowDatePicker=p;var v=new o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updatePermission=function(e,t,n){r.default.dispatch({type:o.ActionTypes.CHANNEL_SETTINGS_PERMISSIONS_UPDATE_PERMISSION,id:e,allow:t,deny:n})},t.selectPermission=function(e){r.default.dispatch({type:o.ActionTypes.CHANNEL_SETTINGS_PERMISSIONS_SELECT_PERMISSION,id:e})},t.setAdvancedMode=function(e){r.default.dispatch({type:o.ActionTypes.CHANNEL_SETTINGS_PERMISSIONS_SET_ADVANCED_MODE,advancedMode:e})},t.init=function(){r.default.dispatch({type:o.ActionTypes.CHANNEL_SETTINGS_PERMISSIONS_INIT})},t.savePermissionUpdates=function(e,t,n){return r.default.dispatch({type:o.ActionTypes.CHANNEL_SETTINGS_PERMISSIONS_SUBMITTING}),new Promise((function(n){!function r(){if(0===t.length)return n();var o=t.pop();if(null==o)return r();a.default.updatePermissionOverwrite(e,o).then(r,r)}()})).then((function(){r.default.dispatch({type:o.ActionTypes.CHANNEL_SETTINGS_PERMISSIONS_SAVE_SUCCESS,silent:n})}))};var r=i(n(2)),a=i(n(391)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFullRowId=$,t.AddMembersBody=J,t.MemberRoleSelector=Q,t.default=ee;var r,a=x(n(0)),o=B(n(9)),i=n(3),l=n(8481),u=n(8297),s=B(n(8970)),d=n(31),f=B(n(10)),c=B(n(56)),p=B(n(15)),v=B(n(160)),y=B(n(1222)),m=B(n(29)),_=B(n(1160)),h=B(n(61)),E=B(n(55)),g=n(85),S=n(131),O=B(n(8374)),I=B(n(8448)),T=B(n(8510)),C=n(35),b=B(n(279)),M=B(n(47)),N=B(n(24)),A=B(n(1210)),P=B(n(13)),R=n(292),L=B(n(723)),D=B(n(264)),w=n(1229),j=x(n(8574)),k=B(n(9739)),U=n(1),G=B(n(6)),F=B(n(7666));function B(e){return e&&e.__esModule?e:{default:e}}function H(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return H=function(){return e},e}function x(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=H();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function V(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function W(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){V(o,r,a,i,l,"next",e)}function l(e){V(o,r,a,i,l,"throw",e)}i(void 0)}))}}function Y(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function z(){return(z=Object.assign||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}).apply(this,arguments)}function K(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function $(e){return e.rowType+":"+e.id}function Z(e){return K(S.FormTitle,{tag:S.FormTitle.Tags.H5,className:(0,o.default)(F.default.sectionTitle,F.default.rowHeight)},e,e)}function q(e,t){return t?e.slice(1):e}function X(e){var t,n=e.children,r=e.rowLabel,a=e.checked,i=e.onSelect,l=e.disabled,u=e.showCheckbox,s=e.selected,d=e.onMouseEnter;return K(h.default,{onClick:function(e){l||(e.preventDefault(),i())},onMouseEnter:d,className:(0,o.default)(F.default.addMemberRow,(t={},t[F.default.selectedRow]=s,t))},void 0,K(E.default,{justify:E.default.Justify.BETWEEN,align:E.default.Align.CENTER},void 0,u?K(_.default,{size:18,value:a,disabled:l,type:_.default.Types.INVERTED},void 0,K("div",{className:F.default.checkboxLabel},void 0,n)):n,null!=r?K(N.default,{color:N.default.Colors.MUTED,size:N.default.Sizes.SIZE_12},void 0,r):null))}function J(e){var t=e.guild,n=e.channel,r=e.permission,o=e.pendingAdditions,l=e.setPendingAdditions,s=e.isStageChannel,d=void 0===s?null!=n&&n.isGuildStageVoice():s,f=e.description,p=a.useState(!1),v=p[0],y=p[1],m=a.useState(""),_=m[0],h=m[1];function E(e){var t=q(_.trim(),v);return new RegExp(""+D.default.escape(t),"i").test(e)}var g,S=(0,i.useStateFromStores)([c.default],(function(){return c.default.getMemberIds(t.id)}));v?g=[]:d?g=j.getRolesRowsWithPermissionDisabled(t,n,r,E):0===(g=j.getRolesRows(t,n,r,E)).length&&(""!==_.trim()||j.hasCustomRoles(t)||(g=j.getNoRolesRow()));var O=j.getMembersRows(S,n,t,r,E);var I={placeholderText:G.default.Messages.PRIVATE_CHANNEL_ADD_MEMBERS_MODAL_PLACEHOLDER,hintText:G.default.Messages.PRIVATE_CHANNEL_ADD_MEMBERS_MODAL_SUBTITLE,renderEmptyText:function(e){return G.default.Messages.PRIVATE_CHANNEL_ADD_MEMBERS_MODAL_NO_RESULT.format({query:e})}};return K(Q,{pendingAdditions:o,query:_,onQueryChange:function(e){var n=e.trim(),r="@"===n.charAt(0);L.default.requestMembers(t.id,q(n,r),w.MEMBER_REQUEST_COUNT),h(e),y(r)},onClickRow:function(e){var t=$(e);l((function(n){var r,a=z({},n);t in a?delete a[t]:(e.rowType===w.RowType.ROLE||e.rowType===w.RowType.ADMINISTRATOR?r={type:u.RichTagTypes.ROLE,label:e.name,color:e.colorString}:e.rowType!==w.RowType.MEMBER&&e.rowType!==w.RowType.OWNER||(r={type:u.RichTagTypes.MEMBER,label:e.name,avatar:e.avatarURL}),null!=r&&(a[t]={display:r,row:e}));return a}))},onRemovePendingAddition:function(e){l((function(t){t[e];return function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(t,[e].map(Y))}))},roles:g,members:O,placeholderText:I.placeholderText,hintText:I.hintText,renderEmptyText:I.renderEmptyText,isStageChannel:d,description:f})}function Q(e){var t,n=e.listClassName,r=e.pendingAdditions,l=e.query,u=e.onQueryChange,d=e.onClickRow,f=e.onRemovePendingAddition,c=e.roles,p=e.members,m=e.placeholderText,_=e.hintText,h=e.renderEmptyText,g=e.isStageChannel,S=e.focusSearchAfterReady,O=e.isReady,T=e.description,C=a.useRef(null),M=a.useRef(null),P=(0,i.useStateFromStores)([v.default],(function(){return v.default.hidePersonalInformation})),R=a.useState(!1),L=R[0],D=R[1],U=a.useState(0),B=U[0],H=U[1],x=a.useState(-1),V=x[0],W=x[1],Y=a.useCallback((function(e,t,n){var r;(void 0===n&&(n=!0),H(e),W(t),n)&&(null===(r=M.current)||void 0===r||r.scrollToIndex({section:null!=e?e:0,row:null!=t?t:0,padding:8}))}),[]),z=a.useCallback((function(e,t){if(null==t)u("");else{var n=(e===w.AddMembersSections.ROLES?c:p)[t];n.rowType!==w.RowType.EMPTY_STATE&&d(n)}}),[c,p,d,u]),q=a.useCallback((function(e){var t;null!=e&&e.rowType!==w.RowType.EMPTY_STATE&&(d(e),u(""),null===(t=C.current)||void 0===t||t.focus())}),[d,u]),J=a.useMemo((function(){return Object.keys(r)}),[r]);var Q=p.some((function(e){return!e.disabled}))||c.some((function(e){return!e.disabled}))||""===l.trim();function ee(){var e;D(!(null===(e=M.current)||void 0===e?void 0:e.isScrolledToTop())&&Q)}a.useEffect((function(){ee()}));var te;return K("div",{className:F.default.content},void 0,(null==(te=T)&&g&&(te=G.default.Messages.CHANNEL_PERMISSIONS_MODERATOR_DESCRIPTION),te&&K(N.default,{color:N.default.Colors.HEADER_SECONDARY,className:F.default.description},void 0,te)),K("div",{className:(0,o.default)(F.default.searchBox,(t={},t[F.default.scrollSeparator]=L,t))},void 0,a.createElement(k.default,{ref:C,query:l,onQueryChange:u,selectedSection:B,selectedRow:V,onSelectionChange:Y,onSelect:z,tags:J.map((function(e){return r[e].display})),sections:[c.length,p.length],onRemoveTag:function(e){f(J[e])},placeholder:m,focusAfterReady:S,isReady:O}),null!=_?K(N.default,{size:N.default.Sizes.SIZE_12},void 0,_):null),Q?a.createElement(A.default,{ref:M,className:(0,o.default)(F.default.roleMemberList,n),sections:[c.length,p.length],renderRow:function(e){var t,n,o=e.section,i=e.row,l=null,u=!1,s=!1,d=!1;switch(o){case w.AddMembersSections.ROLES:u=(n=$(l=c[i]))in r||l.disabled,s=l.disabled,d=B===w.AddMembersSections.ROLES&&V===i,t=a.createElement(a.Fragment,null,K("div",{className:F.default.rowHeight},void 0,K(I.default,{color:l.colorString,height:20})),K("div",{className:F.default.rowLabel},void 0,K(N.default,{className:F.default.rowTitle,color:l.rowType===w.RowType.EMPTY_STATE?N.default.Colors.MUTED:N.default.Colors.STANDARD},void 0,l.name),g&&l.disabled?K(N.default,{color:N.default.Colors.HEADER_SECONDARY,size:N.default.Sizes.SIZE_12},void 0,G.default.Messages.CHANNEL_PERMISSIONS_ROLE_ALREADY_HAS_PERMISSIONS):null));break;case w.AddMembersSections.MEMBERS:u=(n=$(l=p[i]))in r||l.disabled,s=l.disabled,d=B===w.AddMembersSections.MEMBERS&&V===i,t=a.createElement(a.Fragment,null,K(b.default,{src:l.avatarURL,size:b.default.Sizes.SIZE_24,"aria-label":l.name}),K(N.default,{className:F.default.rowLabel},void 0,l.name),l.bot&&K(y.default,{verified:l.verifiedBot}),!P&&K(N.default,{color:N.default.Colors.MUTED,className:F.default.rowLabelSubText},void 0,l.userTag))}return null==l?null:K(X,{rowLabel:j.getRowTypeLabel(l.rowType),checked:u,disabled:s,onSelect:function(){return q(l)},showCheckbox:l.rowType!==w.RowType.EMPTY_STATE,onMouseEnter:function(){return Y(o,i,!1)},selected:d},n,K(E.default,{align:E.default.Align.CENTER,justify:E.default.Justify.START},void 0,t))},rowHeight:40,renderSection:function(e){switch(e.section){case w.AddMembersSections.ROLES:return Z(G.default.Messages.ROLES);case w.AddMembersSections.MEMBERS:return Z(G.default.Messages.MEMBERS)}},sectionHeight:32,onScroll:ee}):K(E.default,{className:n,align:E.default.Align.CENTER,justify:E.default.Justify.CENTER,direction:E.default.Direction.VERTICAL},void 0,K(s.default,{className:F.default.noResultIcon}),K(N.default,{},void 0,h(l))))}function ee(e){var t=e.transitionState,n=e.onClose,r=e.channelId,o=e.newChannel,l=e.inSettings,u=(0,g.useUID)(),s=a.useState(!1),c=s[0],v=s[1],y=a.useState({}),_=y[0],h=y[1],S=(0,i.useStateFromStores)([f.default],(function(){return f.default.getChannel(r)}),[r]),I=(0,i.useStateFromStores)([p.default],(function(){return p.default.getGuild(null==S?void 0:S.getGuildId())}));if(a.useEffect((function(){P.default.track(U.AnalyticEvents.OPEN_MODAL,{type:"Grant Channel Access"})}),[]),null==S||null==I)return null;var b=o&&0===Object.keys(_).length;function A(){return(A=W(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=S&&0!==Object.keys(_).length){e.next=3;break}return n(),e.abrupt("return");case 3:return v(!0),e.prev=4,e.next=7,te(S,_,l);case 7:n(),v(!1),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(4),v(!1);case 14:case"end":return e.stop()}}),e,null,[[4,11]])})))).apply(this,arguments)}var R=(0,d.isGuildTextChannelType)(S.type)?O.default:T.default;return K(C.ModalRoot,{transitionState:t,size:C.ModalSize.SMALL,"aria-labelledby":u,className:F.default.modalRoot},void 0,K(C.ModalHeader,{separator:!1,direction:E.default.Direction.VERTICAL,align:E.default.Align.CENTER,className:F.default.header},void 0,K(M.default,{tag:M.default.Tags.H2,size:M.default.Sizes.SIZE_24},void 0,G.default.Messages.CHANNEL_PERMISSIONS_ADD_MEMBERS_TITLE),K(N.default,{size:N.default.Sizes.SIZE_16,color:N.default.Colors.HEADER_SECONDARY,className:F.default.headerSubtitle},void 0,K(R,{height:16,width:16,className:F.default.headerSubtitleIcon}),S.name)),K(J,{guild:I,channel:S,permission:S.viewPermission,pendingAdditions:_,setPendingAdditions:h}),K(C.ModalFooter,{},void 0,!b&&a.createElement(a.Fragment,null,K(m.default,{onClick:function(){return A.apply(this,arguments)},look:m.default.Looks.FILLED,size:m.default.Sizes.SMALL,className:F.default.button,submitting:c},void 0,G.default.Messages.DONE),K(m.default,{look:m.default.Looks.LINK,color:m.default.Colors.TRANSPARENT,onClick:n,size:m.default.Sizes.SMALL},void 0,G.default.Messages.CANCEL)),b&&K(m.default,{look:m.default.Looks.FILLED,color:m.default.Colors.GREY,onClick:n,size:m.default.Sizes.SMALL},void 0,G.default.Messages.PRIVATE_CHANNEL_ADD_MEMBERS_MODAL_SKIP)))}function te(e,t,n){var r=[];return Object.values(t).forEach((function(t){var n=t.row;n.id&&(n.rowType===w.RowType.ROLE?r.push((0,R.permissionOverwriteForRole)(n.id,e.type)):n.rowType===w.RowType.MEMBER&&r.push((0,R.permissionOverwriteForUser)(n.id,e.type)))})),(0,l.savePermissionUpdates)(e.id,r,n)}Z.displayName="renderSectionTitle",X.displayName="AddMembersRow",J.displayName="AddMembersBody",Q.displayName="MemberRoleSelector",ee.displayName="AddMembersModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(3)),a=u(n(2)),o=n(48),i=n(1213),l=(n(1),u(n(6)));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=null,f=[],c=[],p={};var v=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var a=r.prototype;return a.getPrimaryCategories=function(){return f},a.getDiscoveryCategories=function(){var e=i.DISCOVERY_SIDEBAR_CATEGORIES.slice(1).map((function(e){return c.find((function(t){return t.categoryId===e.categoryId}))})).filter(o.isNotNullish);return[{categoryId:i.DISCOVERY_ALL_CATEGORIES_ID,name:l.default.Messages.HOME}].concat(e)},a.getAllCategories=function(){return c},a.getFetchedLocale=function(){return d},a.getCategoryName=function(e){return e===i.DISCOVERY_ALL_CATEGORIES_ID?l.default.Messages.HOME:p[e]},r}(r.default.Store))(a.default,{GUILD_DISCOVERY_CATEGORY_FETCH_SUCCESS:function(e){var t,n=e.categories,r=e.locale,a=[],o=[];if(n.sort((function(e,t){return e.name<t.name?-1:1})).forEach((function(e){var n=e.id,r=e.name,l=e.is_primary;n!==i.DEFAULT_DISCOVERY_CATEGORY_ID&&(n!==i.OTHER_DISCOVERY_CATEGORY_ID?(l&&a.push({categoryId:n,name:r}),o.push({categoryId:n,name:r}),p[n]=r):t={categoryId:n,name:r})})),null!=t){var l=t,u=l.categoryId,s=l.name;a.push({categoryId:u,name:s}),p[u]=s}d=r,f=a,c=o}});t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){void 0===n&&(n=e.type);var r=(0,o.useStateFromStores)([u.default],(function(){return u.default.can(d.Permissions.MANAGE_CHANNELS,e)}),[e]);if(__OVERLAY__||!r)return null;var c=function(){(0,s.openModal)((function(t){return a.createElement(i.default,y({},t,{channelType:n,guildId:e.guild_id,categoryId:e.parent_id}))}))};switch(n){case d.ChannelTypes.GUILD_TEXT:return v(l.MenuItem,{id:"create-text-channel",label:f.default.Messages.CREATE_TEXT_CHANNEL,action:c});case d.ChannelTypes.GUILD_VOICE:return v(l.MenuItem,{id:"create-voice-channel",label:f.default.Messages.CREATE_VOICE_CHANNEL,action:c});default:return null}};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=c(n(8458)),l=n(8253),u=c(n(40)),s=n(41),d=n(1),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(){return(y=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=v(n(8283)),l=n(8253),u=n(8256),s=v(n(40)),d=n(41),f=n(8286),c=n(1),p=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e,t,n){return(0,o.useStateFromStores)([s.default],(function(){return(0,f.canViewInviteModal)(s.default,t,e,n)}))?m(l.MenuItem,{id:"invite-people",label:p.default.Messages.INVITE_PEOPLE,color:u.MenuItemColor.BRAND,action:function(){return(0,d.openModal)((function(n){return a.createElement(i.default,_({},n,{guild:t,channel:e,source:c.InstantInviteSources.CONTEXT_MENU}))}))}}):null}h.displayName="useInvitePeopleItem"},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=T(n(9)),i=T(n(8581)),l=T(n(390)),u=n(180),s=T(n(8375)),d=T(n(70)),f=T(n(12)),c=T(n(29)),p=T(n(8525)),v=T(n(8267)),y=T(n(466)),m=n(41),_=T(n(24)),h=n(99),E=n(8705),g=T(n(10073)),S=n(1),O=T(n(6)),I=T(n(7372));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(){return(M=Object.assign||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}).apply(this,arguments)}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var A=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={report:!1},t.handleDelete=function(){var e=t.state.report,n=t.props,r=n.channel,o=n.message;e?(0,m.openModal)((function(e){return a.createElement(g.default,M({},e,{channel:r,message:o,onReport:function(){return l.default.deleteMessage(r.id,o.id)}}))})):l.default.deleteMessage(r.id,o.id)},t.handleToggleReport=function(e){t.setState({report:e})},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,b(t,n),r.prototype.render=function(){var e,t,n=this.state.report,r=this.props,o=r.channel,i=r.message,l=r.showContextMenuHint,u=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(r,["channel","message","showContextMenuHint"]),d=o.type===S.ChannelTypes.GUILD_ANNOUNCEMENT&&(0,h.hasFlag)(i.flags,S.MessageFlags.CROSSPOSTED);return l&&(e=N(p.default,{className:I.default.spacingTop},void 0,O.default.Messages.DELETE_MESSAGE_CONTEXT_MENU_HINT.format())),(0,E.canReportMessage)(i)&&(t=N(v.default,{value:n,onChange:this.handleToggleReport,hideBorder:!0,className:I.default.spacingTop},void 0,O.default.Messages.DELETE_MESSAGE_REPORT)),a.createElement(y.default,M({header:d?O.default.Messages.MODIFY_FOLLOWED_NEWS_HEADER:O.default.Messages.DELETE_MESSAGE_TITLE,confirmText:O.default.Messages.DELETE,cancelText:O.default.Messages.CANCEL,onConfirm:this.handleDelete},u),N(_.default,{size:_.default.Sizes.SIZE_16,className:I.default.spacing},void 0,d?O.default.Messages.DELETE_FOLLOWED_NEWS_BODY:O.default.Messages.DELETE_MESSAGE_BODY),N("div",{className:I.default.message},void 0,N(s.default,{channel:o,message:i,disableInteraction:!0})),t,e)},r}(a.PureComponent);A.displayName="DeleteModal";var P={confirmPin:function(e,t){var n=N(s.default,{channel:e,message:t,animateAvatar:!1,disableInteraction:!0});(0,m.openModal)((function(r){var o,l=(0,u.computeChannelName)(e,f.default,d.default);return o=e.isPrivate()?O.default.Messages.PIN_MESSAGE_BODY_PRIVATE_CHANNEL:O.default.Messages.PIN_MESSAGE_BODY.format({channelName:l}),a.createElement(y.default,M({header:O.default.Messages.PIN_MESSAGE_TITLE,confirmText:O.default.Messages.PIN_CONFIRM,cancelText:O.default.Messages.CANCEL,confirmButtonColor:c.default.Colors.BRAND,onConfirm:function(){return i.default.pinMessage(e,t.id)}},r),N(_.default,{size:_.default.Sizes.SIZE_16,className:I.default.spacing},void 0,o),N("div",{className:I.default.message},void 0,n))}))},confirmUnpin:function(e,t){var n=N(s.default,{channel:e,message:t,disableInteraction:!0});(0,m.openModal)((function(r){return a.createElement(y.default,M({header:O.default.Messages.UNPIN_MESSAGE_TITLE,confirmText:O.default.Messages.UNPIN_CONFIRM,cancelText:O.default.Messages.CANCEL,onConfirm:function(){return i.default.unpinMessage(e,t.id)}},r),N(_.default,{size:_.default.Sizes.SIZE_16,className:I.default.spacing},void 0,O.default.Messages.UNPIN_MESSAGE_BODY),N("div",{className:(0,o.default)(I.default.message,I.default.spacing)},void 0,n),N(p.default,{},void 0,O.default.Messages.UNPIN_MESSAGE_CONTEXT_MENU_HINT.format()))}))},confirmDelete:function(e,t,n){void 0===n&&(n=!1),(0,m.openModal)((function(r){return a.createElement(A,M({channel:e,message:t,showContextMenuHint:n},r))}))},confirmEdit:function(e,t,n){(0,m.openModal)((function(r){return a.createElement(y.default,M({header:O.default.Messages.MODIFY_FOLLOWED_NEWS_HEADER,confirmText:O.default.Messages.CONFIRM,cancelText:O.default.Messages.CANCEL,confirmButtonColor:c.default.Colors.BRAND,onConfirm:function(){return l.default.editMessage(e,t,{content:n})}},r),N(_.default,{size:_.default.Sizes.SIZE_16,className:I.default.spacing},void 0,O.default.Messages.EDIT_FOLLOWED_NEWS_BODY))}))}};t.default=P},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(null==e)return!1;var t=e.type;if(null==e.guild_id||!o.GUILD_NON_CATEGORY_CHANNEL_TYPES.has(t))return!1;if(e.isVocal()&&!i.default.canEveryoneRole(r.Permissions.CONNECT,e))return!0;var n=e.permissionOverwrites[e.guild_id];return null!=n&&a.default.has(n.deny,r.Permissions.VIEW_CHANNEL)};var r=n(92),a=l(n(63)),o=n(31),i=l(n(78));function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function i(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,i=e.color,l=void 0===i?"currentColor":i,u=e.className,s=e.foreground,d=e.background;return o("svg",{width:n,height:a,viewBox:"0 0 24 24",className:u},void 0,o("path",{className:s,fill:l,d:"M14 8C14 7.44772 13.5523 7 13 7H9.76001L10.3657 3.58738C10.4201 3.28107 10.1845 3 9.87344 3H8.88907C8.64664 3 8.43914 3.17391 8.39677 3.41262L7.76001 7H4.18011C3.93722 7 3.72946 7.17456 3.68759 7.41381L3.51259 8.41381C3.45905 8.71977 3.69449 9 4.00511 9H7.41001L6.35001 15H2.77011C2.52722 15 2.31946 15.1746 2.27759 15.4138L2.10259 16.4138C2.04905 16.7198 2.28449 17 2.59511 17H6.00001L5.39427 20.4126C5.3399 20.7189 5.57547 21 5.88657 21H6.87094C7.11337 21 7.32088 20.8261 7.36325 20.5874L8.00001 17H14L13.3943 20.4126C13.3399 20.7189 13.5755 21 13.8866 21H14.8709C15.1134 21 15.3209 20.8261 15.3632 20.5874L16 17H19.5799C19.8228 17 20.0306 16.8254 20.0724 16.5862L20.2474 15.5862C20.301 15.2802 20.0655 15 19.7549 15H16.35L16.6758 13.1558C16.7823 12.5529 16.3186 12 15.7063 12C15.2286 12 14.8199 12.3429 14.7368 12.8133L14.3504 15H8.35045L9.41045 9H13C13.5523 9 14 8.55228 14 8Z"}),o("path",{className:d,fill:l,fillRule:"evenodd",clipRule:"evenodd",d:"M19.8914 3.80204L22.2438 8.55654C22.5726 9.22119 22.0891 9.99999 21.3475 10L16.6179 10C15.8745 10 15.391 9.21769 15.7235 8.55279L18.1007 3.79829C18.4701 3.05951 19.5251 3.06172 19.8914 3.80204ZM18.4998 5H19.4999V7.5H18.4999L18.4998 5ZM18.4998 8.49887C18.4998 8.77589 18.7238 9 18.9998 9C19.2759 9 19.4999 8.77589 19.4999 8.49887C19.4999 8.22224 19.2759 7.99773 18.9998 7.99773C18.7238 7.99773 18.4998 8.22224 18.4998 8.49887Z"}))}i.displayName="ChannelTextNSFW"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDescriptiveInviteError=function(e){switch(e){case a.AbortCodes.TOO_MANY_USER_GUILDS:return{title:o.default.Messages.TOO_MANY_USER_GUILDS_TITLE,description:o.default.Messages.TOO_MANY_USER_GUILDS_DESCRIPTION};case a.AbortCodes.GUILD_AT_CAPACITY:return{title:o.default.Messages.SERVER_IS_CURRENTLY_FULL,description:o.default.Messages.PLEASE_TRY_AGAIN_LATER};default:return null}},t.getInviteError=function(e){switch(e){case a.AbortCodes.TOO_MANY_USER_GUILDS:return o.default.Messages.TOO_MANY_USER_GUILDS_DESCRIPTION;case a.AbortCodes.GUILD_AT_CAPACITY:return o.default.Messages.MAX_GUILD_MEMBERS_REACHED_ERROR;default:return o.default.Messages.INVITE_MODAL_ERROR_DEFAULT}};var r,a=n(1),o=(r=n(6))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(0,((r=n(310))&&r.__esModule?r:{default:r}).default)({id:"2021-04_stage_tickets",label:"Stage Tickets",kind:"guild",defaultConfig:{enabled:!1},treatments:[{id:1,label:"On",config:{enabled:!0}}]});t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(14)),a=u(n(2)),o=n(289),i=n(8423),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){s(o,r,a,i,l,"next",e)}function l(e){s(o,r,a,i,l,"throw",e)}i(void 0)}))}}var f={createGuildEvent:function(e,t){var n;return r.default.post({url:l.Endpoints.GUILD_EVENTS_FOR_GUILD(e),body:{name:t.name,description:t.description,image:t.image,privacy_level:t.privacyLevel,scheduled_start_time:t.scheduledStartTime,scheduled_end_time:t.scheduledEndTime,entity_type:t.entityType,tickets:null===(n=t.tickets)||void 0===n?void 0:n.map((function(e){return{price_tier:e.priceTier,image:e.image,color:e.color}})),channel_id:t.channelId}})},fetchGuildEventsForGuild:function(e){return d(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.httpGetWithCountryCodeQuery)(l.Endpoints.GUILD_EVENTS_FOR_GUILD(e));case 2:return n=t.sent,r=n.body,a.default.dispatch({type:l.ActionTypes.FETCH_GUILD_EVENTS_FOR_GUILD,guildId:e,guildScheduledEvents:r}),t.abrupt("return",r);case 6:case"end":return t.stop()}}),t)})))()},cancelGuildEvent:function(e){return r.default.patch({url:l.Endpoints.GUILD_EVENT(e),body:{status:i.GuildScheduledEventStatus.CANCELED}})},getTicketPriceTiers:function(){return r.default.get({url:l.Endpoints.PRICE_TIERS})},getGuildEventsForCurrentUser:function(){return d(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.get({url:l.Endpoints.USER_GUILD_EVENTS});case 2:t=e.sent,n=t.body,a.default.dispatch({type:l.ActionTypes.GUILD_SCHEDULED_EVENT_RSVPS_FETCH_SUCESS,guildScheduledEvents:n});case 5:case"end":return e.stop()}}),e)})))()},createRsvpForGuildEvent:function(e){return r.default.post({url:l.Endpoints.USER_GUILD_EVENT(e)})},deleteRsvpForGuildEvent:function(e){return r.default.delete({url:l.Endpoints.USER_GUILD_EVENT(e)})}};t.default=f},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.HubEmailConnectionSteps=void 0,t.HubEmailConnectionSteps=r,function(e){e[e.VERIFY_EMAIL=0]="VERIFY_EMAIL",e[e.EMAIL_CONFIRMATION=1]="EMAIL_CONFIRMATION",e[e.EMAIL_WAITLIST=2]="EMAIL_WAITLIST"}(r||(t.HubEmailConnectionSteps=r={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(14)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){l(o,r,a,i,u,"next",e)}function u(e){l(o,r,a,i,u,"throw",e)}i(void 0)}))}}var s={report:function(e){return r.default.post({url:o.Endpoints.REPORT,body:e,oldFormErrors:!0})},getReasons:function(e){return r.default.get({url:o.Endpoints.REPORT,query:e,oldFormErrors:!0}).then((function(e){return e.body}))},getOptions:function(){return u(regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.get({url:o.Endpoints.REPORT_OPTIONS,oldFormErrors:!0});case 2:return t=e.sent,n=t.body,a=n.reduce((function(e,t){return null!=t.sub_question&&null!=t.sub_types&&(e[t.value]={subTypeQuestion:t.sub_question,subTypes:t.sub_types}),e}),{}),e.abrupt("return",{typeOptions:n,subTypeOptions:a});case 6:case"end":return e.stop()}}),e)})))()},submitReport:function(e,t,n,a,i){return u(regeneratorRuntime.mark((function l(){var u;return regeneratorRuntime.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,r.default.post({url:o.Endpoints.REPORT_V2,body:{token:e,report_type:t,report_sub_type:n,subject:a,description:i},oldFormErrors:!0});case 2:return u=l.sent,l.abrupt("return",u);case 4:case"end":return l.stop()}}),l)})))()},openReportMessageModal:function(e,t){a.default.dispatch({type:o.ActionTypes.REPORT_MESSAGE_MODAL_OPEN,channel:e,message:t})},tokenizeReportedMessage:function(e,t){return u(regeneratorRuntime.mark((function n(){var a;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,r.default.post({url:o.Endpoints.STAGE_REPORT(e,t),body:{channel_id:e},oldFormErrors:!0});case 2:return a=n.sent,n.abrupt("return",a.body.token);case 4:case"end":return n.stop()}}),n)})))()}};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFocusBlock=i,t.default=l;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(85);function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function i(e,t){var n="data-focus-blocked-"+(0,a.useUID)();r.useLayoutEffect((function(){if(t){var r=e.current;if(null!=r){for(var a=function(e){return document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:function(e){return e.tabIndex>=0&&!e.disabled?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}})}(r),o=a.currentNode;null!==o;){var i=o,l=i.tabIndex;i.tabIndex=-1,i.setAttribute(n,String(l)),o=a.nextNode()}return function(){r.querySelectorAll("["+n+"]").forEach((function(e){var t=e.getAttribute(n);if(null!=t){var r=parseInt(t,10);e.tabIndex=r}}))}}}}),[t])}function l(e){var t=e.children,n=e.enabled,a=void 0===n||n,o=r.useRef(null);return i(o,a),r.createElement("div",{ref:o},t)}l.displayName="FocusBlock"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,l){void 0===n&&(n=!1);void 0===l&&(l=!1);return r.useMemo((function(){return null!=e.customRenderedContent?e.customRenderedContent:e.type===i.MessageTypes.APPLICATION_COMMAND&&0===e.content.length||e.hasFlag(i.MessageFlags.LOADING)?(0,o.default)(e):(0,a.default)(e,{renderMediaEmbeds:t,formatInline:l,isInteracting:n})}),[e.content,e.customRenderedContent,e.embeds,e.interaction,e.state,e.type,t,l,n])};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=l(n(8361)),o=l(n(9370)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.isSpotifyPlayable=function(e){if(null!=e.getActiveSocketAndDevice())return!0;return l.default.isProtocolRegistered()},t.ensureSpotifyPlayable=function(){var t=u.default.getActiveSocketAndDevice();if(null!=t)return Promise.resolve(t);if(!l.default.isProtocolRegistered())return Promise.reject(new Error("protocol is not registered"));var n=u.default.getPlayableComputerDevices();if(a.default.isObservedAppRunning(r.default.get(s.PlatformTypes.SPOTIFY).name)&&n.length>0){var d=n[0],c=d.socket,p=d.device;return(0,o.setActiveDevice)(c.accountId,p.id),Promise.resolve({socket:c,device:p})}return new Promise((function(t,r){var a=setTimeout((function(){u.default.removeChangeListener(l),r(new Error("timeout launching spotify"))}),3e4),l=function r(){for(var i,l=function(){var l=i.value,s=l.socket,d=l.device;null==n.find((function(e){return e.device.id===d.id}))&&(clearTimeout(a),u.default.removeChangeListener(r),e((function(){(0,o.setActiveDevice)(s.accountId,d.id),t({socket:s,device:d})})))},s=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(u.default.getPlayableComputerDevices());!(i=s()).done;)l()};u.default.addChangeListener(l),window.open(i.SPOTIFY_APP_PROTOCOL+":")}))},t.isSpotifyPremium=function(){var e=u.default.getActiveSocketAndDevice();if(null==e)return null;return e.socket.isPremium},t.ensureSpotifyPremium=function(){var e=u.default.getActiveSocketAndDevice();if(null==e)return Promise.reject(new Error("no active profile"));var t=e.socket;if(t.isPremium)return Promise.resolve();return(0,o.getProfile)(t.accountId,t.accessToken).then((function(){if(!t.isPremium)return Promise.reject(new Error("spotify account is not premium"))}))};var r=d(n(183)),a=d(n(79)),o=n(1367),i=n(293),l=d(n(1310)),u=d(n(708)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,i){a.default.track(o.AnalyticEvents.APPLICATION_OPENED,{type:e,source:t,application_id:r.application_id,party_id:null!=r.party?r.party.id:void 0,other_user_id:n,message_id:i})};var r,a=(r=n(13))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=s(n(705)),i=n(8253),l=s(n(688)),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=(0,a.useStateFromStores)([l.default],(function(){return l.default.getVoiceParticipantsHidden(e)}));return f(i.MenuCheckboxItem,{id:"no-video-hide",label:u.default.Messages.STREAM_SHOW_NON_VIDEO,checked:!t,action:function(){return o.default.toggleVoiceParticipantsHidden(e,!t)}})}c.displayName="useHideNoVideoParticipantsItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,f.useStateFromStores)([h.default],(function(){var t;return h.default.getGuildVersion(null===(t=e.guild)||void 0===t?void 0:t.id)})),!1;return!1===e.wrap?a.createElement(K,e):a.createElement(z,e)},t.MemberRole=void 0;var r,a=j(n(0)),o=D(n(9)),i=D(n(480)),l=D(n(8)),u=D(n(98)),s=j(n(680)),d=n(202),f=n(3),c=n(389),p=D(n(8254)),v=D(n(8299)),y=D(n(8502)),m=D(n(88)),_=D(n(56)),h=D(n(40)),E=D(n(12)),g=D(n(61)),S=j(n(8503)),O=D(n(282)),I=D(n(55)),T=D(n(278)),C=n(85),b=D(n(255)),M=D(n(8431)),N=D(n(5951)),A=D(n(78)),P=n(1),R=D(n(6)),L=D(n(7455));function D(e){return e&&e.__esModule?e:{default:e}}function w(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return w=function(){return e},e}function j(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=w();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function k(){return(k=Object.assign||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}).apply(this,arguments)}function U(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function G(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var B=function(){return Promise.resolve()},H=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).filterRoles=function(e){var n=t.props,r=n.guild,a=n.userId,o=h.default.getHighestRole(r),u=(0,l.default)(r.roles).filter((function(e){return e.id!==r.id})).filter((function(e){return!e.managed})).filter((function(e){return h.default.isRoleHigher(r,o,e)})).filter((function(t){return(0,i.default)(e.toLowerCase(),t.name.toLowerCase())})),s=_.default.getMember(r.id,a);return s&&(u=u.filter((function(e){return-1===s.roles.indexOf(e.id)}))),u.value()},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,F(t,n),r.prototype.render=function(){var e=this;return G(S.default,{value:new Set,onChange:this.props.onSelect,placeholder:R.default.Messages.ADD_ROLE_PLACEHOLDER,"aria-label":R.default.Messages.ADD_ROLE_A11Y_LABEL,onClose:this.props.onClose},void 0,(function(t){return e.filterRoles(t).map((function(e){var t;return G(S.ComboboxItem,{value:e.id},e.id,G("div",{className:L.default.popoutRoleDot,style:{backgroundColor:null!==(t=e.colorString)&&void 0!==t?t:(0,d.int2hex)(P.DEFAULT_ROLE_COLOR)}}),G(S.ComboboxItem.Label,{},void 0,e.name))}))}))},r}(a.Component);function x(e){var t,n=e.userRoles,r=e.position,i=U(e,["userRoles","position"]),l=(0,C.useUID)();return G(O.default,{className:(0,o.default)(L.default.overflowRolesPopout,(t={},t[L.default.popoutBottom]=r===T.default.Positions.BOTTOM,t[L.default.popoutTop]=r===T.default.Positions.TOP,t)),"aria-labelledby":l},void 0,G("div",{className:L.default.overflowRolesPopoutArrowWrapper},void 0,G("div",{className:L.default.overflowRolesPopoutArrow})),G(I.default,{className:L.default.overflowRolesPopoutHeader,align:I.default.Align.CENTER},void 0,G(M.default,{color:P.HEXColors.PRIMARY_DARK_400,className:L.default.overflowRolesPopoutHeaderIcon}),G("div",{className:L.default.overflowRolesPopoutHeaderText,id:l},void 0,R.default.Messages.ROLES_LIST.format({numRoles:n.length}))),a.createElement(z,k({},i,{wrap:!0,userRoles:n})))}H.displayName="AddRolesPopout",x.displayName="OverflowRolesPopout";var V=a.forwardRef((function(e,t){var n,r,i=e.className,l=e.role,u=e.canRemove,f=e.onRemove,p=(0,s.useListItem)(l.id),v=p.tabIndex,_=U(p,["tabIndex"]),h=a.useCallback((function(e){(0,c.openContextMenu)(e,(function(e){return a.createElement(y.default,k({},e,{id:l.id}))}))}),[l.id]),E=null!==(n=l.colorString)&&void 0!==n?n:P.HEXColors.PRIMARY_DARK_300,S=P.HEXColors.WHITE,O=(0,d.hex2int)(E);return null!=O&&(0,d.getDarkness)(O)<.3&&(S=P.HEXColors.PRIMARY_DARK_630),G(m.default,{},void 0,a.createElement("div",k({ref:t,className:(0,o.default)(L.default.role,i),style:{borderColor:null!==(r=(0,d.hex2rgb)(E,.6))&&void 0!==r?r:void 0},onContextMenu:h,"aria-label":u?R.default.Messages.GUILD_SETTINGS_MEMBERS_REMOVE_ROLE.format({roleName:l.name}):l.name,tabIndex:v},_,{role:"option","aria-selected":!1}),G(g.default,{className:L.default.roleCircle,style:{backgroundColor:E},onClick:u?f:void 0,tabIndex:u?v:-1,focusProps:{focusClassName:L.default.roleRemoveIconFocused},"aria-hidden":!0},void 0,u&&G(b.default,{color:S,className:L.default.roleRemoveIcon,"aria-hidden":!0})),G("div",{"aria-hidden":!0,className:L.default.roleName},void 0,l.name)))}));function W(e){var t=e.user,n=e.numRolesHidden,r=(0,s.useListItem)("overflow-more-roles-"+t.id);return G(T.default,{renderPopout:function(t){var n=t.position;return a.createElement(x,k({},e,{position:null!=n?n:T.default.Positions.TOP}))},position:T.default.Positions.TOP,align:T.default.Align.CENTER},void 0,(function(e){return G(m.default,{},void 0,a.createElement("button",k({},e,{className:L.default.overflowButton},r),"+"+n))}))}function Y(e){var t=e.guild,n=e.user,r=e.handleAddRole,o=(0,s.useListItem)("overflow-add-roles-"+n.id);return G(T.default,{renderPopout:function(e){var a=e.closePopout;return G(H,{guild:t,userId:n.id,onSelect:r,onClose:a})},position:T.default.Positions.BOTTOM,align:T.default.Align.CENTER},void 0,(function(e){return G(m.default,{},void 0,a.createElement("button",k({},e,{className:L.default.addButton,"aria-label":R.default.Messages.GUILD_SETTINGS_MEMBERS_ADD_ROLE,type:"button"},o),G(N.default,{className:L.default.addButtonIcon,"aria-hidden":!0})))}))}function z(e){var t=e.user,n=e.guild,r=e.userRoles,i=e.wrap,l=void 0===i||i,d=e.width,f=e.className,c=e.readOnly,v=a.useRef({});var y=a.useCallback((function(e){var a=r.filter((function(t){return t!==e.id}));p.default.updateMemberRoles(n.id,t.id,a,[],[e.id])}),[r,n.id,t.id]),m=a.useCallback((function(e){var a=r;-1===a.indexOf(e)&&(a=a.concat([e])),p.default.updateMemberRoles(n.id,t.id,a,[e],[])}),[r,n.id,t.id]),_=a.useState(null),g=_[0],S=_[1],O=a.useMemo((function(){var e=Object.values(n.roles).filter((function(e){return r.includes(e.id)}));return null!=g?e.slice(0,g):e}),[n.roles,g,r]),I=r.length-O.length;a.useLayoutEffect((function(){if(!l){if("number"!=typeof d)throw new Error("Unexpected null width");for(var e=0,t=0,n=d-30-4,r=0;r<O.length;r++){var a=O[r],o=v.current[a.id];if(null!=o){if((t+=o.offsetWidth+4)>n)break;e++}}S((function(t){return e<O.length?e:t}))}}),[l,d,O]);var T,C=E.default.getCurrentUser(),b=!c&&h.default.can(P.Permissions.MANAGE_ROLES,n),M=A.default.getHighestRole(n,C.id),N=a.useMemo((function(){return"roles-"+u.default.v4()}),[]),D=(0,s.default)({id:N,isEnabled:!0,scrollToStart:B,scrollToEnd:B}),w=O.map((function(e){return a.createElement(V,{role:e,canRemove:b&&A.default.isRoleHigher(n,C.id,M,e),onRemove:function(){return y(e)},ref:function(t){return n=e.id,void(null!=(r=t)?v.current[n]=r:delete v.current[n]);var n,r},key:e.id})}));return null!=g&&0!==I?T=a.createElement(W,k({},e,{numRolesHidden:I})):b&&(T=a.createElement(Y,k({},e,{handleAddRole:m}))),G(s.ListNavigatorProvider,{navigator:D},void 0,G(s.ListNavigatorContainer,{},void 0,(function(e){var t=e.ref,n=U(e,["ref"]);return a.createElement("div",k({className:(0,o.default)(L.default.root,f),"aria-label":R.default.Messages.ROLES_LIST.format({numRoles:r.length}),ref:t},n),w,T)})))}t.MemberRole=V,W.displayName="OverflowMoreRolesButton",Y.displayName="OverflowAddRolesButton",z.displayName="MemberRolesList";var K=(0,v.default)(z)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(389),i=s(n(8253)),l=s(n(8258)),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t,n=(0,l.default)(e.id,e.shiftId);return a.useEffect((function(){null==n&&(0,o.closeContextMenu)()}),[n]),f(i.default,{onSelect:e.onSelect,navId:"dev-context","aria-label":null!==(t=e["aria-label"])&&void 0!==t?t:u.default.Messages.GENERIC_ACTIONS_MENU_LABEL,onClose:o.closeContextMenu},void 0,n)}c.displayName="DeveloperContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p,Object.defineProperty(t,"ComboboxItem",{enumerable:!0,get:function(){return i.ComboboxItem}});var r,a=f(n(0)),o=s(n(9)),i=f(n(8595)),l=s(n(282)),u=s(n(7454));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.children,n=e.placeholder,r=e.value,s=e.onChange,d=e.onClose,f=a.useCallback((function(e){s(e),null==d||d()}),[s,d]);return c(l.default,{className:(0,o.default)(u.default.container)},void 0,c(i.default,{value:r,onChange:f,placeholder:n,children:t,listClassName:u.default.list}))}p.displayName="ComboboxPopout"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCommandSection=function(e,t){return(0,r.useStateFromStores)([s.default,o.default],(function(){return y(t,s.default,o.default,e)}),[t,e])},t.useContextCommands=function(e,t){return(0,r.useStateFromStores)([l.default,u.default,a.default],(function(){return v(e,t,l.default,u.default,a.default)}),[e,t])},t.getContextCommands=v,t.getCommandSection=y;var r=n(3),a=p(n(40)),o=p(n(12)),i=n(8605),l=p(n(8383)),u=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(8469)),s=p(n(8341)),d=n(8260),f=n(1);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){return e&&e.__esModule?e:{default:e}}function v(e,t,n,r,a){if(e.type===f.ChannelTypes.DM){var o,i=e.getRecipientId();return null!==(o=n.getCommands(i,t))&&void 0!==o?o:u.NO_COMMANDS}return null!=e.guild_id&&a.can(f.Permissions.USE_APPLICATION_COMMANDS,e)?r.getResultCommands(t):u.NO_COMMANDS}function y(e,t,n,r,a){var o=i.BUILT_IN_SECTIONS.find((function(t){return t.id===e}));if(null!=o)return o;if(null!=a)return t.getGuildSection(a,e);if(null!=(null==r?void 0:r.guild_id))return t.getGuildSection(null==r?void 0:r.guild_id,e);if((null==r?void 0:r.type)===f.ChannelTypes.DM&&e===r.getRecipientId()){var l=n.getUser(r.getRecipientId());return null==l?null:{id:e,type:d.ApplicationCommandSectionType.DM,name:l.username,icon:l.avatar}}return null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=v(n(8406)),i=n(8253),l=v(n(10)),u=v(n(40)),s=v(n(36)),d=v(n(160)),f=n(121),c=n(1),p=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e,t,n){var r=(0,a.useStateFromStoresArray)([s.default,l.default,u.default],(function(){var e=s.default.getChannelId(t),n=l.default.getChannel(e);return[e,null!=n&&(n.isMultiUserDM()||u.default.can(c.Permissions.SEND_MESSAGES,n))]}),[t]),v=r[0],y=r[1],_=n===c.AppContext.POPOUT;if(!y||_)return null;return m(i.MenuItem,{id:"mention",label:p.default.Messages.MENTION,action:function(){var t=e.username,n=e.discriminator,r="@"+t;d.default.hidePersonalInformation||(r+="#"+n),f.ComponentDispatch.dispatchToLastSubscribed(c.ComponentActions.INSERT_TEXT,{content:r}),null!=v&&o.default.startTyping(v)}})}_.displayName="useMentionUserItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getInteractionTimeoutTimestamp=v,t.getInteractionStatusViewState=t.InteractionStatusViewState=t.handleInteractionResponse=t.getFirstSkemaErrorMessage=t.executeMessageComponentInteraction=void 0;var r=c(n(757)),a=c(n(14)),o=n(206),i=c(n(390)),l=n(286),u=n(8612),s=c(n(8610)),d=n(8611),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e){return null==e||""===e||Number.isNaN(e)?Date.now():r.default.extractTimestamp(e)+9e5}t.executeMessageComponentInteraction=function(e){var t=e.componentType,n=e.messageId,o=e.messageFlags,i=e.customId,d=e.hash,c=e.indices,v=e.applicationId,m=e.channelId,_=e.guildId,E=e.httpBodyData,g=e.localState,S=r.default.fromTimestamp(Date.now());if(s.default.canQueueInteraction(n,S)){(0,u.addQueued)(S,n,{data:{interactionType:l.InteractionTypes.MESSAGE_COMPONENT,customId:i,indices:c},onFailure:function(e,t){return y(m,e,t)}}),null!=g&&(0,u.queueInteractionComponentState)(n,S,g,c);var O={type:l.InteractionTypes.MESSAGE_COMPONENT,nonce:S,guild_id:_,channel_id:m,message_flags:o,message_id:n,application_id:v,data:p({component_type:t,custom_id:i,hash:d},E)};a.default.post({url:f.Endpoints.INTERACTIONS,body:O,timeout:3e3},(function(e){return h(S,e)}))}};var y=function(e,t,n){null==n&&null!=t&&i.default.sendClydeError(e,t)},m=function e(t){for(var n in t){var r=t[n];if(null!=r){var a,o;if("_errors"===n&&Array.isArray(r))return null!==(a=null===(o=r[0])||void 0===o?void 0:o.message)&&void 0!==a?a:null;if("object"==typeof r)return e(r)}}return null};t.getFirstSkemaErrorMessage=m;var _,h=function(e,t){if(!t.ok){if(!t.hasErr){if(t.status>=400&&t.status<500&&t.body){var n,r=null;return t.body.code===f.AbortCodes.INVALID_FORM_BODY&&t.body.errors?(r=m(t.body.errors),void(0,u.setFailed)(e,void 0,r)):void(0,u.setFailed)(e,t.status,null===(n=t.body)||void 0===n?void 0:n.message)}return void(0,u.setFailed)(e,t.body.code)}(0,u.setFailed)(e)}};t.handleInteractionResponse=h,t.InteractionStatusViewState=_,function(e){e[e.SENDING=0]="SENDING",e[e.CREATED=1]="CREATED",e[e.FAILED=2]="FAILED"}(_||(t.InteractionStatusViewState=_={}));t.getInteractionStatusViewState=function(e,t){var n=null==t?void 0:t.state,r=e.state===f.MessageStates.SENT&&v(e.id)<(0,o.now)(),a=(null==t?void 0:t.data.interactionType)===l.InteractionTypes.APPLICATION_COMMAND,i=e.type===f.MessageTypes.APPLICATION_COMMAND;return a&&n===d.InteractionState.QUEUED||i&&e.state===f.MessageStates.SENDING?_.SENDING:a&&n===d.InteractionState.CREATED||e.hasFlag(f.MessageFlags.LOADING)&&!r?_.CREATED:e.hasFlag(f.MessageFlags.LOADING)&&r||i&&e.state===f.MessageStates.SEND_FAILED?_.FAILED:void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trackSearchStart=m,t.trackSearchResultViewed=_,t.search=function(e,t,n,r){void 0===n&&(n=!1);""===e?g():(i.default.dispatch({type:c.ActionTypes.GIF_PICKER_QUERY,query:e}),n?h(e,t,r):E(e,t,r))},t.fetchSuggestions=function(e){if(""===e||null==e)return;o.default.get({url:c.Endpoints.GIFS_SUGGEST,query:{q:e,provider:c.GIFProviders.TENOR,limit:5,locale:u.default.locale},oldFormErrors:!0}).then((function(t){var n=t.body;i.default.dispatch({type:c.ActionTypes.GIF_PICKER_SUGGESTIONS_SUCCESS,query:e,items:n})}))},t.resetSearch=g,t.trackSelectGIF=function(e){var t=e.type,n=e.index,r=e.offset,a=e.limit,i=e.results,u=e.totalResults,d=e.query,p=e.gifId,y=(0,f.calculateAnalyticsMetadata)(s.default.getAnalyticsID(),t,{offset:r,limit:a,results:i,totalResults:u});l.default.trackWithMetadata(c.AnalyticEvents.SEARCH_RESULT_SELECTED,v({},y,{index_num:n,source_object:"GIF Picker",query:d})),null!=p&&o.default.post({url:c.Endpoints.GIFS_SELECT,body:{id:p,q:d},oldFormErrors:!0})},t.initializeSearch=function(){var e=a.default.v4().replace(y,"");l.default.trackWithMetadata(c.AnalyticEvents.SEARCH_OPENED,{search_type:c.SearchTypes.GIF,load_id:e}),i.default.wait((function(){i.default.dispatch({type:c.ActionTypes.GIF_PICKER_INITIALIZE,analyticsID:e})}))},t.fetchTrending=function(){o.default.get({url:c.Endpoints.GIFS_TRENDING,query:{provider:c.GIFProviders.TENOR,locale:u.default.locale,media_format:s.default.getSelectedFormat()},oldFormErrors:!0}).then((function(e){var t=e.body,n=t.categories,r=t.gifs;i.default.dispatch({type:c.ActionTypes.GIF_PICKER_TRENDING_FETCH_SUCCESS,trendingCategories:n,trendingGIFPreview:r[0]})}))},t.fetchTrendingGIFs=function(e){var t=Date.now();m(c.GIFPickerResultTypes.TRENDING_GIFS),o.default.get({url:c.Endpoints.GIFS_TRENDING_GIFS,query:{media_format:s.default.getSelectedFormat(),provider:c.GIFProviders.TENOR,locale:u.default.locale,limit:e},oldFormErrors:!0}).then((function(n){var r=n.body;_(r,c.GIFPickerResultTypes.TRENDING_GIFS,{startTime:t,limit:e}),i.default.dispatch({type:c.ActionTypes.GIF_PICKER_QUERY_SUCCESS,items:r})}),(function(){i.default.dispatch({type:c.ActionTypes.GIF_PICKER_QUERY_FAILURE})}))},t.addFavoriteGIF=function(e){i.default.dispatch({type:c.ActionTypes.GIF_FAVORITE_ADD,gif:e}),d.default.track(c.AnalyticEvents.GIF_FAVORITED)},t.removeFavoriteGIF=function(e){i.default.dispatch({type:c.ActionTypes.GIF_FAVORITE_REMOVE,url:e}),d.default.track(c.AnalyticEvents.GIF_UNFAVORITED)},t.fetchTrendingSearchTerms=function(){o.default.get({url:c.Endpoints.GIFS_TRENDING_SEARCH,query:{provider:c.GIFProviders.TENOR,limit:5,locale:u.default.locale},oldFormErrors:!0}).then((function(e){var t=e.body;i.default.dispatch({type:c.ActionTypes.GIF_PICKER_TRENDING_SEARCH_TERMS_SUCCESS,items:t})}))};var r=p(n(8)),a=p(n(98)),o=p(n(14)),i=p(n(2)),l=p(n(106)),u=p(n(39)),s=p(n(8613)),d=p(n(13)),f=n(9371),c=n(1);function p(e){return e&&e.__esModule?e:{default:e}}function v(){return(v=Object.assign||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}).apply(this,arguments)}var y=/-/g;function m(e){var t,n=null!=e?((t={})[e]=1,t):{};l.default.trackWithMetadata(c.AnalyticEvents.SEARCH_STARTED,{search_type:c.SearchTypes.GIF,load_id:s.default.getAnalyticsID(),num_modifiers:Object.keys(n).length,modifiers:n})}function _(e,t,n){void 0===n&&(n={});var r=n,a=r.startTime,o=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(r,["startTime"]),i={offset:0,limit:null,totalResults:e.length},u=(0,f.calculateAnalyticsMetadata)(s.default.getAnalyticsID(),t,v({},i,{},o,{results:e})),d=null==a?{}:{load_duration_ms:Date.now()-a};l.default.trackWithMetadata(c.AnalyticEvents.SEARCH_RESULT_VIEWED,v({},u,{},d))}function h(e,t,n){var r=Date.now();m(t),o.default.get({url:c.Endpoints.GIFS_SEARCH,query:{q:e,media_format:s.default.getSelectedFormat(),provider:c.GIFProviders.TENOR,locale:u.default.locale,limit:n},oldFormErrors:!0}).then((function(a){var o=a.body;_(o,t,{startTime:r,limit:n}),i.default.dispatch({type:c.ActionTypes.GIF_PICKER_QUERY_SUCCESS,query:e,items:o})}),(function(){return i.default.dispatch({type:c.ActionTypes.GIF_PICKER_QUERY_FAILURE,query:e})}))}var E=r.default.debounce(h,250);function g(){i.default.dispatch({type:c.ActionTypes.GIF_PICKER_QUERY,query:""})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:f,fill:d,d:"M17,13.6 L17.3999992,13.6 C19.0406735,13.6 20.496781,12.8097754 21.4084757,11.5891722 L21.8198761,18.8298199 C21.913864,20.4840062 20.6490733,21.9011814 18.994887,21.9951692 C18.9382174,21.9983891 18.8814679,22 18.8247069,22 L5.1752931,22 C3.51843885,22 2.1752931,20.6568542 2.1752931,19 C2.1752931,18.943239 2.17690401,18.8864895 2.18012387,18.8298199 L2.59152425,11.5891732 C3.503219,12.8097758 4.95932613,13.6 6.6,13.6 L7,13.6 L7,15 L9,15 L9,13.6 L15,13.6 L15,15 L17,15 L17,13.6 Z M7,16 L7,18 L9,18 L9,16 L7,16 Z M15,16 L17,16 L17,18 L15,18 L15,16 Z M15,11.6 L9,11.6 L9,9 L7,9 L7,11.6 L6.6,11.6 C4.94314575,11.6 3.6,10.2568542 3.6,8.6 L3.6,5 C3.6,3.34314575 4.94314575,2 6.6,2 L17.3999992,2 C19.0568535,2 20.3999992,3.34314575 20.3999992,5 L20.3999992,8.6 C20.3999992,10.2568542 19.0568535,11.6 17.3999992,11.6 L17,11.6 L17,9 L15,9 L15,11.6 Z"})))}d.displayName="Library"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{foreground:f,fill:d,d:"M12 2C6.486 2 2 6.486 2 12C2 17.515 6.486 22 12 22C14.039 22 15.993 21.398 17.652 20.259L16.521 18.611C15.195 19.519 13.633 20 12 20C7.589 20 4 16.411 4 12C4 7.589 7.589 4 12 4C16.411 4 20 7.589 20 12V12.782C20 14.17 19.402 15 18.4 15L18.398 15.018C18.338 15.005 18.273 15 18.209 15H18C17.437 15 16.6 14.182 16.6 13.631V12C16.6 9.464 14.537 7.4 12 7.4C9.463 7.4 7.4 9.463 7.4 12C7.4 14.537 9.463 16.6 12 16.6C13.234 16.6 14.35 16.106 15.177 15.313C15.826 16.269 16.93 17 18 17L18.002 16.981C18.064 16.994 18.129 17 18.195 17H18.4C20.552 17 22 15.306 22 12.782V12C22 6.486 17.514 2 12 2ZM12 14.599C10.566 14.599 9.4 13.433 9.4 11.999C9.4 10.565 10.566 9.399 12 9.399C13.434 9.399 14.6 10.565 14.6 11.999C14.6 13.433 13.434 14.599 12 14.599Z"}))}d.displayName="At"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function i(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,i=e.color,l=void 0===i?"currentColor":i,u=e.className,s=e.foreground;return o("svg",{width:n,height:a,viewBox:"0 0 24 24",className:u},void 0,o("path",{className:e.background,fill:l,fillRule:"evenodd",clipRule:"evenodd",d:"M15 12C15 12.0007 15 12.0013 15 12.002C15 12.553 14.551 13.002 14 13.002V15.002C15.654 15.002 17 13.657 17 12.002C17 12.0013 17 12.0007 17 12H15ZM19 12C19 12.0007 19 12.0013 19 12.002C19 14.759 16.757 17.002 14 17.002V19.002C17.86 19.002 21 15.863 21 12.002C21 12.0013 21 12.0007 21 12H19ZM10.293 3.29604C10.579 3.01004 11.009 2.92504 11.383 3.07904C11.757 3.23204 12 3.59904 12 4.00204V20.002C12 20.407 11.757 20.772 11.383 20.927C11.009 21.082 10.579 20.996 10.293 20.71L6 16.002H3C2.45 16.002 2 15.552 2 15.002V9.00204C2 8.45304 2.45 8.00204 3 8.00204H6L10.293 3.29604Z"}),o("path",{className:s,fill:l,d:"M21.025 5V4C21.025 2.88 20.05 2 19 2C17.95 2 17 2.88 17 4V5C16.4477 5 16 5.44772 16 6V9C16 9.55228 16.4477 10 17 10H19H21C21.5523 10 22 9.55228 22 9V5.975C22 5.43652 21.5635 5 21.025 5ZM20 5H18V4C18 3.42857 18.4667 3 19 3C19.5333 3 20 3.42857 20 4V5Z"}))}i.displayName="SpeakerLimited"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(14)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}var l={setDiversityColor:function(e){a.default.dispatch({type:o.ActionTypes.EMOJI_DIVERSITY_COLOR_CHANGE,color:e})},fetchEmoji:function(e){a.default.maybeDispatch({type:o.ActionTypes.EMOJI_FETCH,guildId:e}),r.default.get({url:o.Endpoints.GUILD_EMOJIS(e),oldFormErrors:!0}).then((function(t){return a.default.dispatch({type:o.ActionTypes.EMOJI_FETCH_SUCCESS,guildId:e,emojis:t.body})}),(function(){return a.default.dispatch({type:o.ActionTypes.EMOJI_FETCH_FAILURE,guildId:e})}))},uploadEmoji:function(e,t,n){return a.default.dispatch({type:o.ActionTypes.EMOJI_UPLOAD_START,guildId:e}),r.default.post({url:o.Endpoints.GUILD_EMOJIS(e),body:{image:t,name:n},oldFormErrors:!0}).then((function(){return a.default.dispatch({type:o.ActionTypes.EMOJI_UPLOAD_STOP,guildId:e})}),(function(t){return a.default.dispatch({type:o.ActionTypes.EMOJI_UPLOAD_STOP,guildId:e}),Promise.reject(t)}))},deleteEmoji:function(e,t){a.default.dispatch({type:o.ActionTypes.EMOJI_DELETE,guildId:e,emojiId:t}),r.default.delete({url:o.Endpoints.GUILD_EMOJI(e,t),oldFormErrors:!0})},updateEmoji:function(e,t,n){r.default.patch({url:o.Endpoints.GUILD_EMOJI(e,t),body:{name:n},oldFormErrors:!0})},favoriteEmoji:function(e){a.default.dispatch({type:o.ActionTypes.EMOJI_FAVORITE,emoji:e})},unfavoriteEmoji:function(e){a.default.dispatch({type:o.ActionTypes.EMOJI_UNFAVORITE,emoji:e})}};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useMutedUntilText=s,t.default=function(e){var t=e.muteConfig,n=e.className,r=s(t);return null!=r?u(a.default,{size:a.default.Sizes.SIZE_12,color:a.default.Colors.MUTED,className:n},void 0,r):null};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(24)),o=i(n(6));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(e){return null==e||null==e.end_time?null:o.default.Messages.MUTED_UNTIL_TIME.format({endTime:new Date(e.end_time).toLocaleString(o.default.getLocale(),{month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit"})})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openStickerPackViewAllModal=t.StickerPackViewAllModalFooter=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=D();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=L(n(9)),i=L(n(378)),l=n(3),u=n(692),s=L(n(5696)),d=L(n(12)),f=L(n(271)),c=L(n(29)),p=L(n(5828)),v=L(n(5686)),y=n(35),m=n(41),_=L(n(13)),h=L(n(96)),E=n(139),g=n(9464),S=n(398),O=n(5944),I=L(n(362)),T=n(290),C=n(8626),b=L(n(8866)),M=L(n(9466)),N=n(1),A=L(n(6)),P=L(n(7523)),R=L(n(7349));function L(e){return e&&e.__esModule?e:{default:e}}function D(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return D=function(){return e},e}function w(){return(w=Object.assign||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}).apply(this,arguments)}function j(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var k=(0,E.cssValueToNumber)(R.default.stickerPurchasePackPreviewDimensions),U=(0,E.cssValueToNumber)(R.default.stickerPurchasePackPreviewPadding),G=(0,E.cssValueToNumber)(R.default.stickerPurchasePackPreviewMargin),F=k+2*U,B=(0,i.default)(g.resetInspectedStickerPosition,250),H=function(){B.cancel()},x=function(e){var t=e.visibleRowIndex,n=e.columnIndex;B.cancel(),(0,g.setInspectedStickerPosition)(n,t,S.InspectedStickerChangeSource.MOUSE_EVENT)},V=function(e){var t,n=e.stickerPack,r=e.width,i=e.hasHeaderImage,l=e.isScrolling,u=e.onInspect,s=a.useMemo((function(){return[(0,T.createStickerPackCategory)(n)]}),[n]),d=(0,g.useStickerViewAllStore)((function(e){return e.inspectedStickerPosition})),f=(0,O.useStickersGrid)({stickersCategories:s,stickerNodeMargin:G,stickerNodeWidth:F,listWidth:r}),c=f.rowCountBySection,p=f.stickersGrid,v=f.gutterWidth;return j("div",{className:(0,o.default)(P.default.container,(t={},t[P.default.containerWithHeader]=i,t))},void 0,j(M.default,{className:P.default.header,stickerPack:n,withDescription:!0},n.id),j("div",{onFocus:H,onBlur:B,onMouseOver:H,onMouseOut:B},void 0,function(){if(0===c.length)return null;for(var e=[],t=0;t<c[0];t++)e.push(j(b.default,{enlargeOnInteraction:!0,preferAnimation:!0,gutterWidth:v,inspectedStickerPosition:d,isScrolling:l,onInspect:u,rowIndex:t,stickerDescriptors:p[t],stickerPadding:U,stickerSize:k,isDisplayingIndividualStickers:!0,checkSendability:!1},t));return e}()))};V.displayName="StickerPackViewAllModalBody";var W=function(e){var t=e.onClose,n=e.stickerPack;(0,O.useFetchStickerPacks)();var r=(0,l.useStateFromStores)([d.default],(function(){return d.default.getNullableCurrentUser()})),a=(0,l.useStateFromStores)([I.default],(function(){return I.default.isPremiumPack(n.id)}));return j(y.ModalFooter,{className:P.default.footer},void 0,j(f.default,{onClick:t,className:P.default.skuPreviewFooterCloseButton},void 0,A.default.Messages.CLOSE),a&&!h.default.isPremium(r,N.PremiumTypes.TIER_2)&&j(p.default,{color:c.default.Colors.GREEN,type:"submit",innerClassName:P.default.premiumButtonInner,onClick:function(){t(),(0,C.openStickerPackPremiumUpsellModal)({section:N.AnalyticsSections.STICKER_PACK_VIEW_ALL})}},void 0,j(v.default,{className:P.default.premiumButtonNitroWheel}),A.default.Messages.STICKER_PACK_AVAILABLE_WITH_PREMIUM))};t.StickerPackViewAllModalFooter=W,W.displayName="StickerPackViewAllModalFooter";var Y=function(e){var t=e.stickerPack,n=e.onClose,r=(0,T.getStickerPackBannerAssetUrl)(t,1024);return null==r?null:j(y.ModalHeader,{className:P.default.headerWithImage},void 0,j("div",{role:"image",style:{backgroundImage:"url("+r+")"},className:P.default.backgroundImage}),j(y.ModalCloseButton,{className:P.default.closeButton,onClick:n}))};Y.displayName="StickerPackViewAllModalHeader";var z=function(e){var t=e.onClose,n=e.stickerPack,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onClose","stickerPack"]),o=a.useState(null),i=o[0],l=o[1],d=a.useRef(null);return a.useLayoutEffect((function(){(0,g.resetInspectedStickerPosition)(),null!=d.current&&l(d.current.offsetWidth)}),[]),a.createElement(y.ModalRoot,w({},r,{"aria-labelledby":"sticker-pack-sku-preview-modal"}),j(s.default,{hideBreadcrumbs:!0,body:a.createElement("div",{ref:d},null!=i&&j(V,{stickerPack:n,hasHeaderImage:!0,onInspect:x,width:i})),footer:j(W,{onClose:t,stickerPack:n}),header:j(Y,{onClose:t,stickerPack:n}),onScroll:B,steps:[u.Step.SKU_PREVIEW],currentStep:u.Step.SKU_PREVIEW}))};z.displayName="StickerPackViewAllModal";t.openStickerPackViewAllModal=function(e){var t=e.stickerPack,n=e.sourceSticker,r=e.analyticsLocation;return _.default.track(N.AnalyticEvents.STICKER_PACK_VIEW_ALL,{sticker_id:null==n?void 0:n.id,sticker_pack_id:t.id,location:r}),_.default.track(N.AnalyticEvents.OPEN_MODAL,{type:N.AnalyticsSections.STICKER_PACK_VIEW_ALL,location:r}),(0,m.openModal)((function(e){return a.createElement(z,w({stickerPack:t},e))}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(14)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}var u={createChannelFollower:function(e,t){return r.default.post({url:o.Endpoints.CHANNEL_FOLLOWERS(t),body:{webhook_channel_id:e},oldFormErrors:!0})},fetchChannelFollowerStats:function(e){return(t=regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a.default.dirtyDispatch({type:o.ActionTypes.CHANNEL_FOLLOWER_STATS_FETCH_START}),t.prev=1,t.next=4,r.default.get({url:o.Endpoints.CHANNEL_FOLLOWER_STATS(e),body:{channel_id:e},oldFormErrors:!0});case 4:n=t.sent,a.default.dispatch({type:o.ActionTypes.CHANNEL_FOLLOWER_STATS_FETCH_SUCCESS,stats:n.body,channelId:e}),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(1),a.default.dispatch({type:o.ActionTypes.CHANNEL_FOLLOWER_STATS_FETCH_FAILURE,channelId:e});case 11:case"end":return t.stop()}}),t,null,[[1,8]])})),function(){var e=this,n=arguments;return new Promise((function(r,a){var o=t.apply(e,n);function i(e){l(o,r,a,i,u,"next",e)}function u(e){l(o,r,a,i,u,"throw",e)}i(void 0)}))})();var t},dismissPublishBump:function(e){a.default.dispatch({type:o.ActionTypes.CHANNEL_FOLLOWING_PUBLISH_BUMP_DISMISSED,messageId:e})},permanentlyHidePublishBump:function(e){a.default.dispatch({type:o.ActionTypes.CHANNEL_FOLLOWING_PUBLISH_BUMP_HIDE_PERMANENTLY,channelId:e})}};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(9)),i=p(n(10342)),l=p(n(184)),u=p(n(8443)),s=n(1),d=p(n(6)),f=p(n(7342)),c=p(n(7341));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t,n,r=e.className,l=e.message,p=e.children,v=e.content,m=e.onUpdate,_=l.isEdited(),h=l.state===s.MessageStates.SEND_FAILED,E=l.state===s.MessageStates.SENDING,g=l.type===s.MessageTypes.APPLICATION_COMMAND,S=null===(t=l.editedTimestamp)||void 0===t?void 0:t.toString(),O=a.useRef(!1);return a.useLayoutEffect((function(){O.current?null!=m&&m():O.current=!0}),[m,l.content,v,S,p]),y("div",{className:(0,o.default)(r,f.default.markup,(n={},n[c.default.messageContent]=!0,n[c.default.isSending]=E&&!g,n[c.default.markupRtl]="rtl"===(0,i.default)(l.content),n[c.default.isFailed]=h,n))},void 0,p||function(e,t){return e.hasFlag(s.MessageFlags.SOURCE_MESSAGE_DELETED)?d.default.Messages.SOURCE_MESSAGE_DELETED:t}(l,v),_&&null!=l.editedTimestamp&&y(u.default,{timestamp:l.editedTimestamp},void 0,y("span",{className:c.default.edited},void 0,"(",d.default.Messages.MESSAGE_EDITED,")")))}m.displayName="MessageContent";var _=a.memo(m,(function(e,t){var n,r,a=t.message,o=e.message;return(0,l.default)(e,t,["message"])&&a.content===o.content&&a.state===o.state&&(null===(n=a.editedTimestamp)||void 0===n?void 0:n.toString())===(null===(r=o.editedTimestamp)||void 0===r?void 0:r.toString())}));t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmbedVideo=N,t.EmbedGIFV=A,t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=I(n(9)),i=I(n(142)),l=n(293),u=n(1161),s=n(1308),d=n(1239),f=I(n(61)),c=I(n(9551)),p=I(n(8337)),v=I(n(8467)),y=I(n(8592)),m=n(8517),_=n(5973),h=I(n(255)),E=n(1),g=I(n(6)),S=I(n(7571)),O=I(n(7342));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(){return(b=Object.assign||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}).apply(this,arguments)}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(e){var t=e.className,n=e.maxWidth,r=e.maxHeight,l=e.thumbnail,u=e.video,s=e.allowFullScreen,f=void 0===s||s,c=e.renderImageComponent,p=e.renderVideoComponent,v=e.renderLinkComponent,m=e.playable,_=void 0===m||m,h=e.autoPlay,E=void 0!==h&&h,g=e.autoMute,O=e.volume,I=e.onPlay,T=e.onEnded,C=e.onVolumeChange,N=e.onMute,A=e.href,P=a.useState(E),R=P[0],L=P[1],D=function(e){e.preventDefault(),e.stopPropagation(),I&&I(!1),L(!0)},w=l.width,j=l.height;R&&null!=u&&(w=u.width,j=u.height);var k=(0,d.fit)(w,j,n,r);w=Math.max(k.width,256),j=Math.max(k.height,144);var U=l.proxyURL||l.url;if(null!=u&&null!=u.proxyURL)return M("div",{className:(0,o.default)(S.default.embedVideo,t)},void 0,p({poster:U,src:u.proxyURL,width:w,height:j,autoPlay:E,onEnded:T,naturalWidth:u.width,naturalHeight:u.height,onVolumeChange:C,playable:_,autoMute:g,volume:O,onPlay:I,onMute:N}));if(R&&null!=u){var G=i.default.parse(u.url,!0);G.query=b({},G.query,{autoplay:"1",auto_play:"1"}),G.search=null;var F=i.default.format(G);return M("div",{className:(0,o.default)(S.default.embedVideo,t),style:{width:w,height:j}},void 0,M("iframe",{className:S.default.embedIframe,src:F,width:w,height:j,frameBorder:0,allowFullScreen:f,sandbox:"allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"}))}return M("div",{className:(0,o.default)(S.default.embedVideo,t),style:{width:w,height:j}},void 0,c({src:U,width:w,height:j,className:S.default.embedVideoImageComponent,imageClassName:S.default.embedVideoImageComponentInner,onClick:_&&null!=u?D:null}),M("div",{className:S.default.embedVideoActions},void 0,M("div",{className:S.default.centerContent},void 0,_?M(y.default,{onPlay:null!=u?D:null,externalURL:A,renderLinkComponent:v}):null)))}function A(e){var t=e.className,n=e.href,r=e.autoPlay,a=e.maxWidth,i=e.maxHeight,l=e.thumbnail,u=e.video,s=e.renderImageComponent,d=e.playable,f=void 0===d||d;return M(c.default,{className:(0,o.default)(S.default.embedVideo,t),original:n,poster:l.proxyURL||l.url,src:u.proxyURL||u.url,width:l.width,height:l.height,naturalHeight:u.height,naturalWidth:u.width,maxWidth:a,maxHeight:i,autoPlay:r,playable:f,renderImageComponent:s})}function P(e){var t=e.className,n=e.embed.url;if(null==n)return null;var r=null,a=null;try{var u=i.default.parse(n,!0);r=u.host,a=u.pathname}catch(e){return null}if("open.spotify.com"!==r||null==a)return null;var s=a.split("/"),d=null!=s[1]?s[1].toLowerCase():null,f=null!=s[3]?s[3].toLowerCase():null,c=s[4];return!["track","playlist","album","artist","user"].includes(d||"")||"user"===d&&"playlist"!==f?null:("user"===d&&"playlist"===f&&null!=c&&(a="/playlist/"+c),M("iframe",{className:(0,o.default)(S.default.embedSpotify,t),src:l.SpotifyEndpoints.EMBED(a),style:{width:400,height:"track"===d?80:300},frameBorder:0,sandbox:"allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"}))}N.displayName="EmbedVideo",A.displayName="EmbedGIFV",P.displayName="SpotifyEmbed";var R=M(h.default,{width:16,height:16}),L=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={isVisible:!t.props.spoiler},t.renderGalleryImageChildren=function(e){var t=e.src,n=e.alt;return M("img",{className:S.default.embedGalleryImageElement,alt:n,src:t})},t.renderImageChildren=function(e){var t=e.src,n=e.size,r=e.alt;return M("img",{className:e.className||void 0,alt:r,src:t,style:n})},t.onReveal=function(){t.setState({isVisible:!0})},t.renderMediaEmbed=function(e){var n;void 0===e&&(e=!1);var r=t.props,a=r.spoiler,i=r.className;return M("div",{"aria-hidden":e,className:(0,o.default)(S.default.embed,i,(n={},n[S.default.spoilerAttachment]=a,n[S.default.hiddenSpoiler]=e,n))},void 0,t.renderMedia(e))},t.renderEmbedContent=function(e){var n,r;void 0===e&&(e=!1);var a=t.props,i=a.className,l=a.onSuppressEmbed,u=a.spoiler,s=t.renderAll(),d=s.provider,f=s.author,c=s.title,p=s.description,v=s.fields,y=s.thumbnail,m=s.media,_=s.footer;return M("div",{className:(0,o.default)(i,S.default.embedFull,O.default.markup,(n={},n[S.default.hiddenSpoiler]=e,n[S.default.spoilerEmbed]=u,n)),"aria-hidden":e,style:{borderColor:t.getEmbedColor(e),maxWidth:t.getMaxWidth()}},void 0,M("div",{className:(0,o.default)((r={},r[S.default.grid]=!0,r[S.default.hasThumbnail]=null!=y,r))},void 0,l?t.renderSuppressButton(l):null,d,f,c,p,v,m,y,_))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,C(t,n);var a=r.prototype;return a.renderProvider=function(e){void 0===e&&(e=!0);var t=this.props,n=t.embed.provider,r=t.renderLinkComponent;return null==n?null:M("div",{className:(0,o.default)(S.default.embedProvider,S.default.embedMargin)},void 0,null!=n.url?r({className:S.default.embedLink,href:n.url,tabIndex:e?0:-1,children:n.name,target:"_blank",rel:"noreferrer noopener"}):M("span",{},void 0,n.name))},a.renderAuthor=function(e){void 0===e&&(e=!0);var t=this.props,n=t.embed.author,r=t.renderLinkComponent;return null==n?null:M("div",{className:(0,o.default)(S.default.embedAuthor,S.default.embedMargin)},void 0,null!=n.iconProxyURL?M("img",{alt:"",className:S.default.embedAuthorIcon,src:n.iconProxyURL}):null,null!=n.url?r({className:S.default.embedAuthorNameLink,href:n.url,tabIndex:e?0:-1,children:n.name,target:"_blank",rel:"noreferrer noopener"}):M("span",{className:S.default.embedAuthorName},void 0,n.name))},a.renderTitle=function(e){void 0===e&&(e=!0);var t=this.props,n=t.embed,r=t.renderLinkComponent,a=t.renderTitle,i=n.rawTitle,l=n.url;return null==i?null:M("div",{className:(0,o.default)(S.default.embedTitle,S.default.embedMargin)},void 0,null!=l?r({className:S.default.embedTitleLink,href:l,tabIndex:e?0:-1,children:a(n,i),target:"_blank",rel:"noreferrer noopener"}):a(n,i))},a.renderDescription=function(){var e=this.props,t=e.embed,n=e.renderDescription,r=t.rawDescription;return null==r?null:M("div",{className:(0,o.default)(S.default.embedDescription,S.default.embedMargin)},void 0,n(t,r))},a.renderThumbnail=function(e){void 0===e&&(e=!0);var t=this.props,n=t.embed.thumbnail,r=t.maxThumbnailWidth,a=t.maxThumbnailHeight,o=t.renderImageComponent,i=t.autoPlayGif;return null==n?null:M(_.MessagesInteractionContext.Consumer,{},void 0,(function(t){var l=t.disableAnimations;return o({className:S.default.embedThumbnail,src:n.proxyURL||n.url,original:n.url,width:n.width,height:n.height,maxWidth:r,maxHeight:a,shouldLink:e,autoPlay:i&&!l})}))},a.renderFields=function(){var e=this,t=this.props.embed,n=t.fields;if(null==n)return null;var r=[],a=null;return n.forEach((function(n){var o=n.rawName,i=n.rawValue,l=n.inline;l||null==a||(r.push(a),a=null),null==a&&(a=[]),a.push([e.props.renderTitle(t,o),e.props.renderDescription(t,i)]),3!==a.length&&l||(r.push(a),a=null)})),null!=a&&r.push(a),M("div",{className:S.default.embedFields},void 0,r.map((function(e,t){var n=e.length;return e.map((function(e,r){var a,o,i,l,u=e[0],s=e[1];return M("div",{className:S.default.embedField,style:{gridColumn:(a=r,o=n,i=12/o,l=a*i,l+1+" / "+(l+i+1))}},t+"-"+r,M("div",{className:S.default.embedFieldName},void 0,u),M("div",{className:S.default.embedFieldValue},void 0,s))}))})))},a.renderImages=function(e){var t=this,n=void 0===e?{}:e,r=n.hiddenSpoiler,a=void 0!==r&&r,o=n.isVisible,i=void 0===o||o,l=this.props,u=l.embed,s=l.maxMediaHeight;if(null==u.images)return null;var d=u.images.map((function(e){return t.renderImage({hiddenSpoiler:a,isVisible:i,image:e,isGalleryImage:!0})})),f=d[0],c=d[1],p=d[2],v=d[3];return null==f&&null==c&&null==p&&null==v?null:M("div",{className:S.default.embedGalleryImagesWrapper,style:{height:s}},void 0,M("div",{className:S.default.embedGallerySide},void 0,f,null!=v&&p),M("div",{className:S.default.embedGallerySide},void 0,c,null==v&&null!=p&&p,null!=v&&v))},a.renderImage=function(e){var t=this,n=void 0===e?{}:e,r=n.hiddenSpoiler,a=void 0!==r&&r,i=n.isVisible,l=void 0===i||i,u=n.image,s=n.isGalleryImage,d=void 0!==s&&s,f=this.props,c=f.maxMediaWidth,v=f.maxMediaHeight,y=f.renderImageComponent,h=f.className,E=f.autoPlayGif;if(null==u)return null;var g=p.default.isAnimated({src:u.proxyURL||u.url,original:u.url,animated:!1});return M(m.GIFAccessoryContext.Consumer,{},void 0,(function(e){return M(_.MessagesInteractionContext.Consumer,{},u.url,(function(n){var r,i=n.disableAnimations;return y({className:(0,o.default)(h,(r={},r[S.default.embedMedia]=!d,r[S.default.embedImage]=!d,r)),src:u.proxyURL||u.url,width:u.width,height:u.height,maxWidth:c,maxHeight:v,children:d?t.renderGalleryImageChildren:t.renderImageChildren,renderAccessory:g?e:null,original:u.url,autoPlay:E&&!i&&!a,shouldLink:l})}))}))},a.renderVideo=function(e){var t=void 0===e?{}:e,n=t.gifv,r=void 0!==n&&n,a=t.isVisible,o=void 0===a||a,i=t.hiddenSpoiler,l=void 0!==i&&i,u=this.props,s=u.embed,d=s.url,f=s.thumbnail,c=s.video,p=u.maxMediaWidth,v=u.maxMediaHeight,y=u.renderVideoComponent,m=u.renderImageComponent,h=u.renderLinkComponent,E=u.allowFullScreen,g=u.autoPlayGif;return null==d||null==f?null:r?null==c?null:M(_.MessagesInteractionContext.Consumer,{},void 0,(function(e){var t=e.disableAnimations;return M(A,{className:S.default.embedMedia,href:d,thumbnail:f,video:c,maxWidth:p,maxHeight:v,autoPlay:!l&&g&&!t&&o,renderImageComponent:m,playable:o})})):M(N,{className:S.default.embedMedia,href:d,allowFullScreen:E,thumbnail:f,video:c,maxWidth:p,maxHeight:v,renderImageComponent:m,renderVideoComponent:y,renderLinkComponent:h,playable:o&&!l})},a.renderFooter=function(){var e=this.props.embed,t=e.footer,n=e.timestamp;if(null!=t){var r=t.iconProxyURL||t.iconURL;return M("div",{className:(0,o.default)(S.default.embedFooter,S.default.embedMargin)},void 0,null!=r?M("img",{alt:"",className:S.default.embedFooterIcon,src:r}):null,M("span",{className:S.default.embedFooterText},void 0,t.text,null!=t.text&&null!=n?M("span",{className:S.default.embedFooterSeparator},void 0,"•"):null,null!=n?(0,u.calendarFormat)(n):null))}if(null!=n)return M("div",{className:(0,o.default)(S.default.embedFooter,S.default.embedMargin)},void 0,M("span",{className:S.default.embedFooterText},void 0,(0,u.calendarFormat)(n)))},a.renderMedia=function(e){void 0===e&&(e=!1);var t=this.props.embed,n=this.state.isVisible;switch(t.type){case E.EmbedTypes.GIFV:return this.renderVideo({gifv:!0,hiddenSpoiler:e,isVisible:n});case E.EmbedTypes.VIDEO:default:return null!=t.video?this.renderVideo({gifv:!1,hiddenSpoiler:e,isVisible:n}):null!=t.images?this.renderImages({hiddenSpoiler:e,isVisible:n}):this.renderImage({hiddenSpoiler:e,isVisible:n,image:t.image})}},a.renderAll=function(){var e,t=this.props,n=t.embed,r=t.hideMedia,a=this.state.isVisible,o=this.renderProvider(a),i=this.renderAuthor(a),l=this.renderTitle(a);switch(n.type){case E.EmbedTypes.IMAGE:case E.EmbedTypes.VIDEO:case E.EmbedTypes.GIFV:break;default:e=this.renderDescription()}var u,s=this.renderFields();r||(u=this.renderMedia(!a));var d=this.renderFooter(),f=null==u;return n.type===E.EmbedTypes.RICH&&(f=null==n.video),{provider:o,author:i,title:l,description:e,thumbnail:!r&&f?this.renderThumbnail(a):null,fields:s,media:u,footer:d}},a.getMaxWidth=function(){var e=this.props,t=e.maxMediaWidth,n=e.maxMediaHeight,r=e.embed,a=r.image,o=r.video,i=a||o;if(null!=i){var l=(0,d.fit)(i.width,i.height,t,n).width;return l>=300?l+32:void 0}},a.isInline=function(){var e=this.props,t=e.hideMedia,n=e.embed;return!t&&(0,s.isEmbedInline)(n)},a.renderSuppressButton=function(e){return M(f.default,{focusProps:{offset:{bottom:4}},className:S.default.embedSuppressButton,onClick:e,"aria-label":g.default.Messages.SUPPRESS_ALL_EMBEDS},void 0,R)},a.getEmbedColor=function(e){var t=this.props.embed.color;return null!=t&&"#ffffff"===t.toLowerCase()||e?void 0:t},a.render=function(){var e=this.props,t=e.embed,n=e.spoiler,r=e.className;return null!=t.provider&&"Spotify"===t.provider.name?M(P,{embed:t,className:r}):this.isInline()?n?M(v.default,{type:v.default.Types.ATTACHMENT,onReveal:this.onReveal},void 0,this.renderMediaEmbed):this.renderMediaEmbed():n?M(v.default,{type:v.default.Types.EMBED,onReveal:this.onReveal},void 0,this.renderEmbedContent):this.renderEmbedContent()},r}(a.PureComponent);t.default=L,L.displayName="Embed",L.defaultProps={hideMedia:!1,allowFullScreen:!0,maxThumbnailWidth:80,maxThumbnailHeight:80,maxMediaWidth:400,maxMediaHeight:300,spoiler:!1}},function(e,t,n){"use strict";function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.GIFAccessoryContext=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0)).createContext((function(){return null}));t.GIFAccessoryContext=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SlideIn=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=s(n(273)),l=n(123),u=s(n(7582));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v={friction:7,tension:60},y=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).animation=new i.default.Value(0),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var a=r.prototype;return a.componentWillAppear=function(e){this.animateTo(1).start(e)},a.componentWillEnter=function(e){this.animateTo(1).start(e)},a.componentWillLeave=function(e){this.context.reducedMotion.enabled?this.animateTo(0).start(e):i.default.stagger(250,[this.animateTo(1.3),this.animateTo(0)]).start(e)},a.animateTo=function(e){return i.default.spring(this.animation,c({},v,{toValue:e}))},a.getAnimatedStyle=function(){var e=this.context.reducedMotion;return i.default.accelerate({opacity:this.animation,transform:e.enabled?void 0:[{translateY:this.animation.interpolate({inputRange:[0,1],outputRange:["150%","0%"]})}]})},a.render=function(){var e=this.props,t=e.className,n=e.children;return f(i.default.div,{className:(0,o.default)(t,u.default.slider),style:this.getAnimatedStyle()},void 0,n)},r}(a.Component);t.SlideIn=y,y.displayName="SlideIn",y.contextType=l.AccessibilityPreferencesContext;var m=y;t.default=m},function(e,t,n){e.exports=n.p+"e06a573355c490f7ce6e3125ac01db81.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fillRule:"evenodd",clipRule:"evenodd",d:"M4 2.5C2.897 2.5 2 3.397 2 4.5V15.5C2 16.604 2.897 17.5 4 17.5H11V19.5H7V21.5H17V19.5H13V17.5H20C21.103 17.5 22 16.604 22 15.5V4.5C22 3.397 21.103 2.5 20 2.5H4ZM14.5483 6L16 7.45174L13.4466 9.99485L16 12.5483L14.5483 14L12.0051 11.4466L9.45174 14L8 12.5483L10.5534 9.99485L8 7.45174L9.45174 6L12.0051 8.55341L14.5483 6Z",fill:d}))}d.displayName="StopStream"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),a=l(n(2)),o=n(481),i=l(n(8569));n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s={},d={},f={};var c=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n),r.prototype.getInvite=function(e,t){var n,r,a=void 0===t?{}:t,i=a.targetType,l=a.targetUserId,u=a.targetApplicationId;return i===o.InviteTargetTypes.STREAM&&null!=l?null===(n=d[e])||void 0===n?void 0:n[l]:i===o.InviteTargetTypes.EMBEDDED_APPLICATION&&null!=u?null===(r=f[e])||void 0===r?void 0:r[u]:s[e]},r}(r.default.Store))(a.default,{CONNECTION_OPEN:function(e){return s={},d={},void(f={})},CHANNEL_DELETE:function(e){var t=e.channel;delete s[t.id],delete d[t.id],delete f[t.id]},INSTANT_INVITE_CREATE:function(e){},INSTANT_INVITE_CREATE_SUCCESS:function(e){var t=e.channelId,n=e.invite,r=i.default.createFromServer(n);r.targetType===o.InviteTargetTypes.STREAM&&null!=r.targetUser?(null==d[t]&&(d[t]={}),d[t][String(r.targetUser.id)]=r):r.targetType===o.InviteTargetTypes.EMBEDDED_APPLICATION&&null!=r.targetApplication?(null==f[t]&&(f[t]={}),f[t][r.targetApplication.id]=r):s[t]=r},INSTANT_INVITE_CREATE_FAILURE:function(e){var t=e.channelId;s[t]=null},INSTANT_INVITE_REVOKE_SUCCESS:function(e){var t=e.channelId;s[t]=null}});t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=n(122),l=n(123),u=f(n(88)),s=n(1),d=f(n(7610));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y={mass:1,tension:250},m={TOP:"M5.13231 6.72963L6.7233 5.13864L14.855 13.2704L13.264 14.8614L5.13231 6.72963Z",BOTTOM:"M13.2704 5.13864L14.8614 6.72963L6.72963 14.8614L5.13864 13.2704L13.2704 5.13864Z"},_={TOP:"M6.56666 11.0013L6.56666 8.96683L13.5667 8.96683L13.5667 11.0013L6.56666 11.0013Z",BOTTOM:"M13.5582 8.96683L13.5582 11.0013L6.56192 11.0013L6.56192 8.96683L13.5582 8.96683Z"},h={TOP:"M7.89561 14.8538L6.30462 13.2629L14.3099 5.25755L15.9009 6.84854L7.89561 14.8538Z",BOTTOM:"M4.08643 11.0903L5.67742 9.49929L9.4485 13.2704L7.85751 14.8614L4.08643 11.0903Z"};function E(e,t){var n=e.to({output:[s.Colors.PRIMARY_DARK_400,s.Colors.STATUS_GREEN_600]}),r=t?[m.TOP,m.TOP,h.TOP,h.TOP]:[m.TOP,_.TOP,_.TOP,h.TOP],a=t?[m.BOTTOM,m.BOTTOM,h.BOTTOM,h.BOTTOM]:[m.BOTTOM,_.BOTTOM,_.BOTTOM,h.BOTTOM];return v("svg",{viewBox:"0 0 20 20",fill:"none"},void 0,v(i.animated.path,{fill:n,d:e.to({range:[0,.3,.7,1],output:r})}),v(i.animated.path,{fill:n,d:e.to({range:[0,.3,.7,1],output:a})}))}function g(e){var t=e.id,n=e.onChange,r=e.checked,f=e.disabled,c=e.className,m=e.focusProps,_=e.innerRef,h=a.useContext(l.AccessibilityPreferencesContext).reducedMotion,g=a.useRef(null),S=a.useState(!1),O=S[0],I=S[1],T=(0,i.useSpring)({config:y,opacity:f?.3:1,state:O?r?.7:.3:r?1:0}),C=T.state,b=T.opacity;return a.createElement(u.default,p({},m,{within:!0,offset:-2}),v(i.animated.div,{className:(0,o.default)(d.default.container,c),onMouseDown:function(){return!f&&I(!0)},onMouseUp:function(){return I(!1)},onMouseLeave:function(){return I(!1)},style:{opacity:b,backgroundColor:C.to({output:[s.Colors.PRIMARY_DARK_400,s.Colors.STATUS_GREEN_600]})},tabIndex:-1},void 0,v(i.animated.svg,{className:d.default.slider,viewBox:"0 0 28 20",preserveAspectRatio:"xMinYMid meet",style:{left:C.to({range:[0,.3,.7,1],output:[-3,1,8,12]})}},void 0,v(i.animated.rect,{fill:"white",x:C.to({range:[0,.3,.7,1],output:[4,0,0,4]}),y:C.to({range:[0,.3,.7,1],output:[0,1,1,0]}),height:C.to({range:[0,.3,.7,1],output:[20,18,18,20]}),width:C.to({range:[0,.3,.7,1],output:[20,28,28,20]}),rx:"10"}),E(C,h.enabled)),a.createElement("input",{id:t,type:"checkbox",ref:function(e){g.current=e,null!=_&&(_.current=e)},className:d.default.input,tabIndex:f?-1:0,onKeyDown:function(e){f||e.repeat||" "!==e.key&&"Enter"!==e.key||I(!0)},onKeyUp:function(e){var t;f||!O||e.repeat||(I(!1),"Enter"===e.key&&(null===(t=g.current)||void 0===t||t.click()))},onChange:function(e){I(!1),null==n||n(e.currentTarget.checked,e)},checked:r,disabled:f})))}E.displayName="renderSwitchIcon",g.displayName="Switch"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NO_WELCOME_SCREEN=void 0;var r=i(n(3)),a=i(n(2)),o=i(n(9652));n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u={};t.NO_WELCOME_SCREEN=u;var s={},d={},f=!1,c=!1,p=!1;function v(e){var t=e.invite.guild;return null!=(null==t?void 0:t.welcome_screen)&&(s[t.id]=t.welcome_screen,!0)}function y(e){var t=e.welcomeScreen,n=e.guildId;s[n]=t||u}var m=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(o.default)},a.get=function(e){if(null!=e)return s[e]},a.isFetching=function(){return c},a.hasError=function(){return p},a.hasSeen=function(e,t){return void 0===t&&(t=!1),null!=e&&(t?f:d[e]||!1)},r}(r.default.Store))(a.default,{INVITE_RESOLVE_SUCCESS:v,INVITE_ACCEPT_SUCCESS:v,WELCOME_SCREEN_SUBMIT_SUCCESS:y,WELCOME_SCREEN_UPDATE:y,WELCOME_SCREEN_VIEW:function(e){var t=e.guildId,n=e.isLurking;d[t]=!0,n&&(f=!0)},GUILD_STOP_LURKING:function(e){f=!1},GUILD_DELETE:function(e){var t=e.guild.id;d[t]=!1},WELCOME_SCREEN_FETCH_START:function(e){return c=!0,void(p=!1)},WELCOME_SCREEN_FETCH_SUCCESS:function(e){c=!1,p=!1;var t=e.welcomeScreen,n=e.guildId;s[n]=t||u},WELCOME_SCREEN_FETCH_FAIL:function(e){return c=!1,void(p=!0)}});t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(9)),o=i(n(7619));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(){return(s=Object.assign||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}).apply(this,arguments)}var d=function(e){var t=e.aspectRatio,n=e.style,r=e.className,i=e.children;return u("div",{className:(0,a.default)(o.default.outer,r),style:s({paddingTop:1/t*100+"%"},n)},void 0,u("div",{className:o.default.inner},void 0,i))};d.displayName="AspectRatioSizer";var f=d;t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=f(n(47)),l=f(n(24)),u=n(1),s=f(n(6)),d=f(n(7640));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y={BLOCK:d.default.block,INLINE:d.default.inline},m=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n),r.prototype.render=function(){var e=this.props,t=e.children,n=e.className,r=e.textClassName,a=e.type,f=void 0===a?y.BLOCK:a,c=e.style;return p("div",{className:(0,o.default)(n,f),style:c},void 0,p(i.default,{size:i.default.Sizes.SIZE_12,color:u.Colors.STATUS_GREEN_600,className:d.default.pro},void 0,s.default.Messages.FORM_LABEL_ROLES_PRO_TIP,":"),p(l.default,{className:(0,o.default)(d.default.tip,r)},void 0,t))},r}(a.PureComponent);m.displayName="Protip",m.Types=y;var _=m;t.default=_},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Token=t.QueryTokenizer=t.NON_TOKEN_TYPE=void 0;var a=/.+/g;function o(e,t,n){if(!t)return null;for(var r=0;r<t.length;r++){var a=t[r],o=i(e.match(a.regex),n),l=void 0;if(o){var s=a.cache;if(s&&(l=s.get(o[0]))&&((l=new u(l)).start=o.index),!l){if(l=new u(o,a.type),a.validator&&!a.validator(l))continue;s&&!s.has(o[0])&&s.set(o[0],l)}return l}}return null}function i(e,t){if(!e)return null;var n=[].concat(e);return n.index=t,n}t.NON_TOKEN_TYPE="NON_TOKEN";var l=function(){function e(e,t){var n=this;void 0===e&&(e=[]),this.reset(e,t),e.forEach((function(e){return n.addRule(e)}))}var t=e.prototype;return t.reset=function(e){this._rules=[],this._followers={},this._nonTokenType=e||"NON_TOKEN"},t.addRule=function(e){var t,n=this,r=e.type,a=e.follows,o=e.validator,i=e.regex;"^"!==i.source.charAt(0)&&(i=new RegExp("^"+i.source,i.flags)),o&&(t=new Map),a?a.forEach((function(e){n._followers[e]||(n._followers[e]=[]),n._followers[e].push({regex:i,type:r,validator:o,cache:t})})):this._rules.push({regex:i,type:r,validator:o,cache:t})},t.tokenize=function(e){for(var t,n=e,r="",o=0,l=[];n.length;){var s=this._getMatch(n,t,o+r.length);s?(r&&l.push(new u(i(r.match(a),o),this._nonTokenType)),t=s,l.push(s),o+=t.length+r.length,n=n.substring(t.length),r=""):(r+=n[0],n=n.substring(1))}return r&&l.push(new u(i(r.match(a),o),this._nonTokenType)),l},t.clearCache=function(){for(var e in this._rules.forEach((function(e){return e.cache&&e.cache.clear()})),this._followers){this._followers[e].forEach((function(e){return e.cache&&e.cache.clear()}))}},t._getMatch=function(e,t,n){var r,a=t?t.type:null;return t&&t.end===n&&(r=o(e,this._followers[a],n)),r||(r=o(e,this._rules,n)),r},e}();t.QueryTokenizer=l;var u=function(){function e(t,n){t instanceof e?(this.match=[].concat(t.match),this.start=t.start,this.type=t.type,t._data&&(this._data=t._data)):(this.match=[].concat(t),this.start=t.index||0,this.type=n)}var t,n,a,o=e.prototype;return o.valueOf=function(){return this.match[0]},o.getFullMatch=function(){return this.match[0]},o.getMatch=function(e){return void 0===e&&(e=0),this.match[e]},o.setData=function(e,t){this._data||(this._data=new Map),this._data.set(e,t)},o.getData=function(e){if(this._data)return this._data.get(e)},t=e,(n=[{key:"end",get:function(){return this.start+this.length}},{key:"length",get:function(){return this.match[0].length}}])&&r(t.prototype,n),a&&r(t,a),e}();t.Token=u,l.NON_TOKEN_TYPE="NON_TOKEN",l.Token=u;var s=l;t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"guild",id:"2021-04_desktop_roles_creation",label:"Desktop Roles Creation",defaultConfig:{showNewRolesCreationFlow:!1},treatments:[{id:1,label:"Show the new guild roles creation modal",config:{showNewRolesCreationFlow:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color"]);return o.createElement("svg",u({},(0,i.default)(f),{width:n,height:a,viewBox:"0 0 4 14"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("ellipse",{fill:d,cx:"3.75",cy:"1",rx:"1.125",ry:"1.08333333"}),s("ellipse",{fill:d,cx:"3.75",cy:"4.61111107",rx:"1.125",ry:"1.08333333"}),s("ellipse",{fill:d,cx:"0",cy:"4.61111107",rx:"1.125",ry:"1.08333333"}),s("ellipse",{fill:d,cx:"3.75",cy:"8.22222227",rx:"1.125",ry:"1.08333333"}),s("ellipse",{fill:d,cx:"0",cy:"8.22222227",rx:"1.125",ry:"1.08333333"}),s("ellipse",{fill:d,cx:"3.75",cy:"11.83333337",rx:"1.125",ry:"1.08333333"}),s("ellipse",{fill:d,cx:"0",cy:"11.83333337",rx:"1.125",ry:"1.08333333"}),s("ellipse",{fill:d,cx:"0",cy:"1",rx:"1.125",ry:"1.08333333"})))}d.displayName="Drag"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useGuildMembers=_,t.useGuildRoleMembers=function(e,t,n){r.useEffect((function(){(0,c.requestMembersForRole)(e,t).catch(n)}),[e,t]);var a=_(e);return r.useMemo((function(){return a.filter((function(e){return e.roles.includes(t)}))}),[a,t])},t.useQueryGuildMembers=function(e,t){var n=r.useRef(!1);r.useEffect((function(){f.default.requestMembers(e,t,200),""===t||n.current||(s.default.track(v.AnalyticEvents.SEARCH_STARTED,{search_type:"Role Members"}),n.current=!0)}),[e,t])},t.filterFullMembersByQuery=function(e,t){var n=e.trim().toLowerCase();return t.id===n||(0,a.default)(n,t.name.toLowerCase())||(0,a.default)(n,t.userTag.toLowerCase())},t.getSectionAnalyticsName=function(e){switch(e){case p.GuildSettingsRoleEditSections.MEMBERS:return"Members";case p.GuildSettingsRoleEditSections.PERMISSIONS:return"Permissions";case p.GuildSettingsRoleEditSections.DISPLAY:return"Role Settings";default:(0,d.assertNever)(e)}},t.MAX_PREFETCH_MEMBER_COUNT=t.ADD_MEMBER_QUERY_LIMIT=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=y(n(480)),o=n(3),i=y(n(56)),l=y(n(160)),u=y(n(12)),s=y(n(13)),d=n(48),f=y(n(723)),c=n(8674),p=n(8303),v=n(1);function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}t.ADD_MEMBER_QUERY_LIMIT=50;function _(e){return(0,o.useStateFromStores)([i.default,u.default,l.default],(function(){return i.default.getMembers(e).map((function(t){var n,r=u.default.getUser(t.userId);return null==r?null:{name:null!==(n=t.nick)&&void 0!==n?n:r.username,userTag:l.default.hidePersonalInformation?r.username:r.tag,id:t.userId,avatarSource:r.getAvatarSource(e),avatarURL:r.getAvatarURL(e),bot:r.bot,verifiedBot:r.isVerifiedBot(),roles:t.roles,key:t.userId}})).filter(d.isNotNullish)}),[e])}t.MAX_PREFETCH_MEMBER_COUNT=1e3},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PermissionTemplates=t.DEFAULT_TEMPLATE_TYPE=t.PermissionTemplateTypes=t.CREATE_ROLE_DESKTOP_MODAL_WIDTH=t.ROLE_NAME_MAX_LENGTH=void 0;var r,a=u(n(63)),o=u(n(78)),i=n(1),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}t.ROLE_NAME_MAX_LENGTH=100;var s;t.CREATE_ROLE_DESKTOP_MODAL_WIDTH=440,t.PermissionTemplateTypes=s,function(e){e[e.COSMETIC=0]="COSMETIC",e[e.MEMBER=1]="MEMBER",e[e.MODERATOR=2]="MODERATOR",e[e.MANAGER=3]="MANAGER"}(s||(t.PermissionTemplateTypes=s={}));var d=s.COSMETIC;t.DEFAULT_TEMPLATE_TYPE=d;var f=o.default.DEFAULT,c=a.default.remove(f,i.Permissions.MENTION_EVERYONE),p=a.default.combine(f,i.Permissions.VIEW_AUDIT_LOG,i.Permissions.MANAGE_NICKNAMES,i.Permissions.KICK_MEMBERS,i.Permissions.BAN_MEMBERS,i.Permissions.MANAGE_MESSAGES,i.Permissions.MUTE_MEMBERS,i.Permissions.DEAFEN_MEMBERS,i.Permissions.MOVE_MEMBERS,i.Permissions.PRIORITY_SPEAKER),v=a.default.combine(p,i.Permissions.MANAGE_CHANNELS,i.Permissions.MANAGE_ROLES,i.Permissions.MANAGE_EMOJIS,i.Permissions.MANAGE_GUILD,i.Permissions.MANAGE_WEBHOOKS,i.Permissions.SEND_TTS_MESSAGES),y=a.default.add(v,i.Permissions.VIEW_GUILD_ANALYTICS),m=((r={})[s.COSMETIC]={key:"template_cosmetic",color:i.Colors.BRAND,permissions:o.default.NONE,title:function(){return l.default.Messages.ROLE_PERMISSION_TEMPLATE_NAME_COSMETIC},description:function(){return l.default.Messages.ROLE_PERMISSION_TEMPLATE_DESCRIPTION_COSMETIC},contents:function(){return[l.default.Messages.ROLE_PERMISSION_TEMPLATE_COSMETIC_CONTENT_1,l.default.Messages.ROLE_PERMISSION_TEMPLATE_COSMETIC_CONTENT_2]},contentPreface:function(){return""}},r[s.MEMBER]={key:"template_member",color:i.Colors.STATUS_GREEN_600,permissions:f,communityPermissions:c,title:function(){return l.default.Messages.ROLE_PERMISSION_TEMPLATE_NAME_MEMBER},description:function(){return l.default.Messages.ROLE_PERMISSION_TEMPLATE_DESCRIPTION_MEMBER},contents:function(){return[l.default.Messages.ROLE_PERMISSION_TEMPLATE_MEMBER_CONTENT_1,l.default.Messages.ROLE_PERMISSION_TEMPLATE_MEMBER_CONTENT_2,l.default.Messages.ROLE_PERMISSION_TEMPLATE_MEMBER_CONTENT_3]},contentPreface:function(){return""}},r[s.MODERATOR]={key:"template_moderator",color:i.Colors.STATUS_YELLOW,permissions:p,title:function(){return l.default.Messages.ROLE_PERMISSION_TEMPLATE_NAME_MODERATOR},description:function(){return l.default.Messages.ROLE_PERMISSION_TEMPLATE_DESCRIPTION_MODERATOR},contents:function(){return[l.default.Messages.ROLE_PERMISSION_TEMPLATE_MODERATOR_CONTENT_1,l.default.Messages.ROLE_PERMISSION_TEMPLATE_MODERATOR_CONTENT_2,l.default.Messages.ROLE_PERMISSION_TEMPLATE_MODERATOR_CONTENT_3]},contentPreface:function(){return l.default.Messages.ROLE_PERMISSION_TEMPLATE_MODERATOR_CONTENT_PREFACE}},r[s.MANAGER]={key:"template_manager",color:i.Colors.STATUS_RED,permissions:v,communityPermissions:y,title:function(){return l.default.Messages.ROLE_PERMISSION_TEMPLATE_NAME_MANAGER},description:function(){return l.default.Messages.ROLE_PERMISSION_TEMPLATE_DESCRIPTION_MANAGER},contents:function(){return[l.default.Messages.ROLE_PERMISSION_TEMPLATE_MANAGER_CONTENT_1,l.default.Messages.ROLE_PERMISSION_TEMPLATE_MANAGER_CONTENT_2,l.default.Messages.ROLE_PERMISSION_TEMPLATE_MANAGER_CONTENT_3,l.default.Messages.ROLE_PERMISSION_TEMPLATE_MANAGER_CONTENT_4]},contentPreface:function(){return l.default.Messages.ROLE_PERMISSION_TEMPLATE_MANAGER_CONTENT_PREFACE}},r);t.PermissionTemplates=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useScrolledToTop=function(){var e=a.useState(!0),t=e[0],n=e[1];return{scrolledToTop:t,handleScroll:function(e){n(0===e.currentTarget.scrollTop)}}},t.default=function(e){var t=e.guild,n=e.role,r=e.selectedSection,f=e.setSelectedSection,h=a.useCallback((function(e){f(e)}),[f]),E=(0,o.useStateFromStores)([p.default],(function(){var e;return null===(e=p.default.getRoleMemberCount(t.id))||void 0===e?void 0:e[n.id]}),[n.id,t.id]),g=t.id===n.id,T=(0,y.default)(n);a.useEffect((function(){g&&f(v.GuildSettingsRoleEditSections.PERMISSIONS)}),[g,f]);var C=(0,l.useHasGuildRoleItems)(t,n);return a.createElement(a.Fragment,null,S("div",{className:_.default.titleContainer},void 0,S(c.default,{className:_.default.titleText,color:c.default.Colors.HEADER_PRIMARY,size:c.default.Sizes.SIZE_16},void 0,m.default.Messages.ROLE_EDIT_TITLE_WITH_NAME.format({roleName:n.name})),C?S(u.default,{className:_.default.menu,onClick:function(e){(0,i.openContextMenu)(e,(function(e){return a.createElement(l.default,O({},e,{guild:t,role:n}))}))},"aria-label":m.default.Messages.MORE_OPTIONS},void 0,I):null),null!=T?S(s.default,{messageType:s.HelpMessageTypes.WARNING,fontSize:s.HelpMessageFontSizes.FONT_SIZE_14},void 0,T):null,S(d.default,{className:_.default.tabBar,"aria-label":m.default.Messages.OPTIONS,selectedItem:r,type:d.default.Types.TOP,look:d.default.Looks.BRAND,onItemSelect:h},void 0,S(d.Item,{className:_.default.tabBarItem,id:v.GuildSettingsRoleEditSections.DISPLAY,disabled:g},void 0,m.default.Messages.ROLE_EDIT_TAB_DISPLAY),S(d.Item,{className:_.default.tabBarItem,id:v.GuildSettingsRoleEditSections.PERMISSIONS},void 0,m.default.Messages.ROLE_EDIT_TAB_PERMISSIONS),S(d.Item,{className:_.default.tabBarItem,id:v.GuildSettingsRoleEditSections.MEMBERS,disabled:g},void 0,g?m.default.Messages.ROLE_EDIT_TAB_MANAGE_MEMBERS:m.default.Messages.ROLE_EDIT_TAB_MEMBERS_WITH_LIST.format({numMembers:E||"0"}))))};var r,a=g(n(0)),o=n(3),i=n(389),l=g(n(8576)),u=h(n(61)),s=g(n(8353)),d=g(n(8293)),f=h(n(8331)),c=h(n(24)),p=h(n(8460)),v=n(8303),y=h(n(9774)),m=h(n(6)),_=h(n(7680));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(){return(O=Object.assign||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}).apply(this,arguments)}var I=S(f.default,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.viewAsRoles=function(e,t){f.default.track(p.AnalyticEvents.VIEW_AS_ROLES_SELECTED,y({num_roles:Object.keys(t).length},(0,i.collectGuildAnalyticsMetadata)(e))),o.default.close(),a.default.dispatch({type:p.ActionTypes.VIEW_AS_ROLES_UPDATE,guildId:e,roles:t});var n=u.default.getChannel(d.default.getChannelId());if(!r.default.has(c.default.computePermissionsForRoles(t,n),p.Permissions.VIEW_CHANNEL)){var v=s.default.getDefaultChannel(e);null!=v&&(0,l.transitionTo)(p.Routes.CHANNEL(e,v.id))}},t.viewAsRolesStop=function(e){a.default.dispatch({type:p.ActionTypes.VIEW_AS_ROLES_STOP,guildId:e})};var r=v(n(63)),a=v(n(2)),o=v(n(8254)),i=n(106),l=n(42),u=v(n(10)),s=v(n(86)),d=v(n(36)),f=v(n(13)),c=v(n(78)),p=n(1);function v(e){return e&&e.__esModule?e:{default:e}}function y(){return(y=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l={},u=!1;var s=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var a=r.prototype;return a.isLoading=function(){return u},a.passesChecklist=function(e){var t;return!u&&(null===(t=l[e])||void 0===t?void 0:t.sufficient)},a.isPendingSuccess=function(e){var t=l[e];return null!=t&&(!u&&t.healthScorePending&&t.safeEnvironment&&0===Object.keys(t.nsfwProperties).length&&t.size&&t.protected)},a.getDiscoveryChecklist=function(e){return l[e]},r}(r.default.Store))(a.default,{DISCOVER_CHECKLIST_FETCH_START:function(e){u=!0},DISCOVER_CHECKLIST_FETCH_FAILURE:function(e){u=!1},DISCOVER_CHECKLIST_FETCH_SUCCESS:function(e){var t=e.checklist,n=e.guildId;u=!1,l[n]={guildId:t.guild_id,safeEnvironment:t.safe_environment,healthy:t.healthy,healthScorePending:t.health_score_pending,nsfwProperties:t.nsfw_properties,size:t.size,protected:t.protected,sufficient:t.sufficient,sufficientWithoutGracePeriod:t.sufficient_without_grace_period,gracePeriodEndDate:null!=t.grace_period_end_date?new Date(t.grace_period_end_date):null,retentionHealthy:t.retention_healthy,engagementHealthy:t.engagement_healthy,minimumGuildSize:null!=t.minimum_size?t.minimum_size:1e3,healthScore:t.health_score,minimumGuildAge:t.minimum_age||0,age:t.age}}});t.default=s},function(e,t,n){"use strict";var r,a,o,i,l;Object.defineProperty(t,"__esModule",{value:!0}),t.PLATFORM_OPTIONS=t.PrimaryPlatformTypes=t.PartnerReasons=t.PartnerTypes=t.PartnerApplicationSteps=t.ApplicationTypes=void 0,t.ApplicationTypes=r,function(e){e.PARTNER="partner"}(r||(t.ApplicationTypes=r={})),t.PartnerApplicationSteps=a,function(e){e.SERVER="server",e.USER="user",e.SUBMIT="submit"}(a||(t.PartnerApplicationSteps=a={})),t.PartnerTypes=o,function(e){e.CONTENT_CREATOR="CONTENT_CREATOR",e.COMMUNITY="COMMUNITY",e.BRAND="BRAND",e.SOFTWARE="SOFTWARE",e.OTHER="OTHER"}(o||(t.PartnerTypes=o={})),t.PartnerReasons=i,function(e){e.TALK_WITH_OTHER_PARTNERS="TALK_WITH_OTHER_PARTNERS",e.COMMUNITY_TEAM_ACCESS="COMMUNITY_TEAM_ACCESS",e.NEW_IDEAS_SUGGESTIONS="NEW_IDEAS_SUGGESTIONS",e.EARLY_ACCESS_TO_FEATURES="EARLY_ACCESS_TO_FEATURES",e.OTHER="OTHER"}(i||(t.PartnerReasons=i={})),t.PrimaryPlatformTypes=l,function(e){e.TWITTER="TWITTER",e.TWITCH="TWITCH",e.YOUTUBE="YOUTUBE",e.REDDIT="REDDIT",e.FACEBOOK="FACEBOOK",e.INSTAGRAM="INSTAGRAM",e.SOUNDCLOUD="SOUNDCLOUD",e.OTHER="OTHER"}(l||(t.PrimaryPlatformTypes=l={}));var u=[{value:l.TWITTER,label:"Twitter"},{value:l.TWITCH,label:"Twitch"},{value:l.YOUTUBE,label:"YouTube"},{value:l.REDDIT,label:"Reddit"},{value:l.FACEBOOK,label:"Facebook"},{value:l.INSTAGRAM,label:"Instagram"},{value:l.SOUNDCLOUD,label:"Soundcloud"},{value:l.OTHER,label:"Other"}];t.PLATFORM_OPTIONS=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNameForKeybindGroup=function(e){switch(e){case o.NAVIGATION:return k.default.Messages.USER_SETTINGS_KEYBINDS_NAVIGATION_SECTION_TITLE;case o.VOICE_AND_VIDEO:return k.default.Messages.USER_SETTINGS_KEYBINDS_VOICE_AND_VIDEO_SECTION_TITLE;case o.CHAT:return k.default.Messages.USER_SETTINGS_KEYBINDS_CHAT_SECTION_TITLE;case o.MISCELLANEOUS:return k.default.Messages.USER_SETTINGS_KEYBINDS_MISCELLANEOUS_SECTION_TITLE;case o.MESSAGE:return k.default.Messages.USER_SETTINGS_KEYBINDS_MESSAGE_SECTION_TITLE}},t.getDescriptionForKeybindGroup=function(e){switch(e){case o.MESSAGE:return k.default.Messages.USER_SETTINGS_KEYBINDS_MESSAGE_DESCRIPTION;default:return null}},t.getDefaultLayoutContent=function(){return[{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_NAVIGATE_SERVERS,binds:U(j.KeybindActions.SERVER_PREV,j.KeybindActions.SERVER_NEXT),group:o.NAVIGATION},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_NAVIGATE_CHANNELS,binds:U(j.KeybindActions.CHANNEL_PREV,j.KeybindActions.CHANNEL_NEXT),group:o.NAVIGATION},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_NAVIGATE_BACK_FORWARD,binds:U(j.KeybindActions.NAVIGATE_BACK,j.KeybindActions.NAVIGATE_FORWARD),group:o.NAVIGATION},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_UNREAD_CHANNELS,binds:U(j.KeybindActions.UNREAD_PREV,j.KeybindActions.UNREAD_NEXT),group:o.NAVIGATION},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_UNREAD_MENTION_CHANNELS,binds:U(j.KeybindActions.MENTION_CHANNEL_PREV,j.KeybindActions.MENTION_CHANNEL_NEXT),group:o.NAVIGATION},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_NAVIGATE_TO_CALL,binds:U(j.KeybindActions.JUMP_TO_CURRENT_CALL),group:o.NAVIGATION},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_TOGGLE_PREVIOUS_GUILD,binds:U(j.KeybindActions.TOGGLE_PREVIOUS_GUILD),group:o.NAVIGATION},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_QUICKSWITCHER,binds:U(j.KeybindActions.QUICKSWITCHER_SHOW),group:o.NAVIGATION},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_CREATE_GUILD,binds:U(j.KeybindActions.CREATE_GUILD),group:o.NAVIGATION},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_MARK_SERVER_READ,binds:U(j.KeybindActions.MARK_SERVER_READ),group:o.CHAT},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_MARK_CHANNEL_READ,binds:U(j.KeybindActions.MARK_CHANNEL_READ),group:o.CHAT},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_CREATE_DM_GROUP,binds:U(j.KeybindActions.CREATE_DM_GROUP),group:o.CHAT},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_TOGGLE_PINS,binds:U(j.KeybindActions.TOGGLE_CHANNEL_PINS),group:o.CHAT},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_TOGGLE_INBOX,binds:U(j.KeybindActions.TOGGLE_INBOX_UNREADS_TAB),group:o.CHAT},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_MARK_TOP_INBOX_CHANNEL_READ,binds:U(j.KeybindActions.MARK_TOP_INBOX_CHANNEL_READ),group:o.CHAT},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_TOGGLE_USERS,binds:U(j.KeybindActions.TOGGLE_USERS),group:o.CHAT},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_SEARCH_EMOJIS,binds:U(j.KeybindActions.SEARCH_EMOJIS),group:o.CHAT},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_SEARCH_GIFS,binds:U(j.KeybindActions.SEARCH_GIFS),group:o.CHAT},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_SEARCH_STICKERS,binds:U(j.KeybindActions.SEARCH_STICKERS),group:o.CHAT},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_SCROLL_CHAT,binds:U(j.KeybindActions.SCROLL_UP,j.KeybindActions.SCROLL_DOWN),group:o.CHAT},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_JUMP_TO_FIRST_UNREAD,binds:U(j.KeybindActions.JUMP_TO_FIRST_UNREAD),group:o.CHAT},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_FOCUS_TEXT_AREA,binds:U(j.KeybindActions.TEXTAREA_FOCUS),group:o.CHAT},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_UPLOAD_FILE,binds:U(j.KeybindActions.UPLOAD_FILE),group:o.CHAT,groupEnd:!0},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_TOGGLE_MUTE,binds:U(j.KeybindActions.TOGGLE_MUTE),group:o.VOICE_AND_VIDEO},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_TOGGLE_DEAFEN,binds:U(j.KeybindActions.TOGGLE_DEAFEN),group:o.VOICE_AND_VIDEO},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_CALL_ACCEPT,binds:U(j.KeybindActions.CALL_ACCEPT),group:o.VOICE_AND_VIDEO},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_CALL_DECLINE,binds:U(j.KeybindActions.MARK_CHANNEL_READ),group:o.VOICE_AND_VIDEO},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_CALL_START,binds:U(j.KeybindActions.CALL_START),group:o.VOICE_AND_VIDEO,groupEnd:!0},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_TOGGLE_HELP,binds:U(j.KeybindActions.TOGGLE_HELP),group:o.MISCELLANEOUS},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_SEARCH,binds:U(j.KeybindActions.FOCUS_SEARCH),group:o.MISCELLANEOUS},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_EASTER_EGG,binds:["h+h+right+n+k"],group:o.MISCELLANEOUS,groupEnd:!0},{description:k.default.Messages.EDIT_MESSAGE,binds:["e"],group:o.MESSAGE},{description:k.default.Messages.DELETE_MESSAGE,binds:["backspace"],group:o.MESSAGE},{description:k.default.Messages.PIN_MESSAGE,binds:["p"],group:o.MESSAGE},{description:k.default.Messages.ADD_REACTION,binds:["plus"],group:o.MESSAGE},{description:k.default.Messages.MESSAGE_ACTION_REPLY,binds:["r"],group:o.MESSAGE},{description:k.default.Messages.COPY_TEXT,binds:["mod+c"],group:o.MESSAGE},{description:k.default.Messages.MARK_UNREAD,binds:["alt+enter"],group:o.MESSAGE},{description:k.default.Messages.KEYBIND_DESCRIPTION_MODAL_FOCUS_TEXT_AREA,binds:["escape"],group:o.MESSAGE,groupEnd:!0}]},t.default=t.DEFAULT_LAYOUT=t.KeybindGroup=void 0;var r,a,o,i=n(9002),l=n(9003),u=n(9931),s=n(9932),d=n(9933),f=n(9934),c=n(1322),p=n(9006),v=n(9007),y=n(9008),m=n(1340),_=n(9009),h=n(9010),E=n(9011),g=n(9935),S=n(9936),O=n(9012),I=n(9013),T=n(9014),C=n(9015),b=n(9016),M=n(9938),N=n(9939),A=n(1298),P=n(9940),R=n(9941),L=n(9017),D=n(9943),w=n(9018),j=n(1),k=(r=n(6))&&r.__esModule?r:{default:r};function U(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.map((function(e){var t=G[e];if(null==t)throw new Error("getBindsFor(...): No bind for "+t);return t.binds[0]}))}t.KeybindGroup=o,function(e){e.NAVIGATION="NAVIGATION",e.CHAT="CHAT",e.VOICE_AND_VIDEO="VOICE_AND_VIDEO",e.MISCELLANEOUS="MISCELLANEOUS",e.MESSAGE="MESSAGE"}(o||(t.KeybindGroup=o={}));var G=((a={})[j.KeybindActions.SERVER_NEXT]=O.SERVER_NEXT,a[j.KeybindActions.SERVER_PREV]=O.SERVER_PREV,a[j.KeybindActions.CHANNEL_NEXT]=l.CHANNEL_NEXT,a[j.KeybindActions.CHANNEL_PREV]=l.CHANNEL_PREV,a[j.KeybindActions.NAVIGATE_BACK]=l.NAVIGATE_BACK,a[j.KeybindActions.NAVIGATE_FORWARD]=l.NAVIGATE_FORWARD,a[j.KeybindActions.UNREAD_NEXT]=L.UNREAD_NEXT,a[j.KeybindActions.UNREAD_PREV]=L.UNREAD_PREV,a[j.KeybindActions.MENTION_CHANNEL_NEXT]=L.MENTION_NEXT,a[j.KeybindActions.MENTION_CHANNEL_PREV]=L.MENTION_PREV,a[j.KeybindActions.TOGGLE_PREVIOUS_GUILD]=l.TOGGLE_PREVIOUS_GUILD,a[j.KeybindActions.JUMP_TO_GUILD]=c.JUMP_TO_GUILD,a[j.KeybindActions.SUBMIT]=I.SUBMIT,a[j.KeybindActions.TEXTAREA_FOCUS]=T.TEXTAREA_FOCUS,a[j.KeybindActions.MARK_CHANNEL_READ]=p.MARK_CHANNEL_READ,a[j.KeybindActions.MARK_SERVER_READ]=v.MARK_SERVER_READ,a[j.KeybindActions.TOGGLE_CHANNEL_PINS]=M.TOGGLE_CHANNEL_PINS,a[j.KeybindActions.TOGGLE_INBOX_UNREADS_TAB]=P.TOGGLE_INBOX_UNREADS_TAB,a[j.KeybindActions.MARK_TOP_INBOX_CHANNEL_READ]=P.MARK_TOP_INBOX_CHANNEL_READ,a[j.KeybindActions.TOGGLE_USERS]=R.TOGGLE_USERS,a[j.KeybindActions.TOGGLE_HELP]=N.TOGGLE_HELP,a[j.KeybindActions.TOGGLE_MUTE]=C.TOGGLE_MUTE,a[j.KeybindActions.TOGGLE_DEAFEN]=C.TOGGLE_DEAFEN,a[j.KeybindActions.TOGGLE_CATEGORY_COLLAPSED]=b.TOGGLE_CATEGORY_COLLAPSED,a[j.KeybindActions.SCROLL_UP]=h.SCROLL_UP,a[j.KeybindActions.SCROLL_DOWN]=h.SCROLL_DOWN,a[j.KeybindActions.QUICKSWITCHER_SHOW]=m.QUICKSWITCHER_SHOW,a[j.KeybindActions.CREATE_DM_GROUP]=u.CREATE_DM_GROUP,a[j.KeybindActions.SEARCH_EMOJIS]=E.SEARCH_EMOJIS,a[j.KeybindActions.SEARCH_GIFS]=g.SEARCH_GIFS,a[j.KeybindActions.SEARCH_STICKERS]=S.SEARCH_STICKERS,a[j.KeybindActions.TOGGLE_HOTKEYS]=A.TOGGLE_HOTKEYS,a[j.KeybindActions.JUMP_TO_FIRST_UNREAD]=y.JUMP_TO_FIRST_UNREAD,a[j.KeybindActions.CREATE_GUILD]=s.CREATE_GUILD,a[j.KeybindActions.UPLOAD_FILE]=D.UPLOAD_FILE,a[j.KeybindActions.RETURN_TO_AUDIO_CHANNEL]=_.RETURN_TO_AUDIO_CHANNEL,a[j.KeybindActions.CALL_ACCEPT]=i.CALL_ACCEPT,a[j.KeybindActions.CALL_START]=i.CALL_START,a[j.KeybindActions.FOCUS_SEARCH]=d.FOCUS_SEARCH,a[j.KeybindActions.JUMP_TO_CURRENT_CALL]=f.JUMP_TO_CURRENT_CALL,a[j.KeybindActions.ZOOM_IN]=w.ZOOM_IN,a[j.KeybindActions.ZOOM_OUT]=w.ZOOM_OUT,a[j.KeybindActions.ZOOM_RESET]=w.ZOOM_RESET,a);t.DEFAULT_LAYOUT=G;var F=G;t.default=F},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?18:t,r=e.height,a=void 0===r?18:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 18 18"}),s("polygon",{fillRule:"nonzero",className:f,fill:d,points:"15 10 10 10 10 15 8 15 8 10 3 10 3 8 8 8 8 3 10 3 10 8 15 8"}))}d.displayName="PlusAlt"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=b(n(0)),o=n(3),i=T(n(8330)),l=b(n(8357)),u=T(n(8283)),s=T(n(81)),d=n(31),f=T(n(163)),c=T(n(15)),p=T(n(40)),v=T(n(61)),y=T(n(149)),m=T(n(8367)),_=T(n(8368)),h=n(41),E=n(9024),g=n(8286),S=n(1),O=T(n(6)),I=T(n(7346));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(){return(N=Object.assign||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}).apply(this,arguments)}function A(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var P={offset:{top:-4,right:-4,bottom:-4,left:-4}};function R(e){var t=e.channel,n=e.disableManageChannels,r=e.tabIndex,a=e.handleEditClick;return(0,o.useStateFromStores)([p.default],(function(){return n||!p.default.can(S.Permissions.MANAGE_CHANNELS,t)&&!p.default.can(S.Permissions.MANAGE_ROLES,t)&&!p.default.can(S.Permissions.MANAGE_WEBHOOKS,t)||(0,d.isGuildSelectableChannelType)(t.type)&&!p.default.can(S.Permissions.VIEW_CHANNEL,t)||t.isVocal()&&!p.default.can(S.Permissions.CONNECT,t)||!d.EDITABLE_CHANNEL_TYPES.has(t.type)}))?null:A(y.default,{text:O.default.Messages.EDIT_CHANNEL},void 0,(function(e){var t=e.onMouseEnter,n=e.onMouseLeave,o=e.onFocus,i=e.onBlur;return A(v.default,{className:I.default.iconItem,onClick:a,tabIndex:r,"aria-label":O.default.Messages.EDIT_CHANNEL,focusProps:P,onMouseEnter:t,onMouseLeave:n,onFocus:o,onBlur:i},void 0,A(m.default,{width:16,height:16,className:I.default.actionIcon}))}))}function L(e){var t=e.channel,n=e.isDefaultChannel,r=e.locked,i=e.tabIndex,u=e.handleInviteClick,d=(0,o.useStateFromStores)([c.default],(function(){return c.default.getGuild(t.getGuildId())})),f=(0,o.useStateFromStores)([s.default],(function(){return s.default.getStageInstanceByChannel(t.id)}),[t.id]),m=(0,o.useStateFromStores)([p.default],(function(){return(0,g.canViewInviteModal)(p.default,d,t,f)})),h=(0,o.useStateFromStores)([p.default],(function(){return p.default.can(S.Permissions.CREATE_INSTANT_INVITE,t)?O.default.Messages.CREATE_INSTANT_INVITE:O.default.Messages.INVITE_TO_SERVER}));if(!r&&m){var E=A(_.default,{width:16,height:16,className:I.default.actionIcon,"aria-hidden":!0});return n&&(E=A(l.default,{tutorialId:"instant-invite",position:l.TutorialIndicatorPositions.LEFT},void 0,A("div",{},void 0,E))),A(y.default,{text:h},void 0,(function(e){return a.createElement(v.default,N({className:I.default.iconItem},e,{onClick:u,tabIndex:i,"aria-label":h,focusProps:P}),E)}))}return null}R.displayName="ConnectedEditButton";var D=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleInviteClick=function(){var e=t.props.channel,n=c.default.getGuild(e.getGuildId());if(null!=n){var r=f.default.getAllActiveStreams().filter((function(t){return t.state!==S.ApplicationStreamStates.ENDED&&t.channelId===e.id}));(0,h.openModal)((function(t){return a.createElement(u.default,N({},t,{guild:n,channel:e,streamUserId:1===r.length?r[0].ownerId:null,source:S.InstantInviteSources.GUILD_CHANNELS}))}))}},t.handleEditClick=function(){i.default.open(t.props.channel.id)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,M(t,n);var o=r.prototype;return o.renderEditButton=function(){return a.createElement(R,N({},this.props,{handleEditClick:this.handleEditClick}))},o.renderInviteButton=function(){return a.createElement(L,N({},this.props,{handleInviteClick:this.handleInviteClick}))},o.getClassName=function(){var e=this.props,t=e.position,n=e.sortingPosition;return null!=n?t>n?I.default.containerDragAfter:I.default.containerDragBefore:I.default.containerDefault},o.isDisabled=function(){var e=this.props,t=e.channel,n=e.sorting,r=e.sortingType;return!!n&&!(0,E.areTypesInSameSection)(r,t.type)},r}(a.PureComponent);t.default=D,D.defaultProps={isDefaultChannel:!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=I;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(9)),i=n(680),l=n(8328),u=y(n(88)),s=y(n(8976)),d=y(n(8319)),f=y(n(149)),c=y(n(24)),p=n(1),v=y(n(7357));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var E={SELECTED:v.default.modeSelected,CONNECTED:v.default.modeConnected,UNREAD:v.default.modeUnread,MUTED:v.default.modeMuted,LOCKED:v.default.modeLocked};function g(e){e.stopPropagation()}function S(e){switch(e){case p.ChannelTypes.GUILD_STAGE_VOICE:case p.ChannelTypes.GUILD_VOICE:return v.default.typeVoice;case p.ChannelTypes.ANNOUNCEMENT_THREAD:case p.ChannelTypes.PUBLIC_THREAD:case p.ChannelTypes.PRIVATE_THREAD:return v.default.typeThread;case p.ChannelTypes.GUILD_ANNOUNCEMENT:case p.ChannelTypes.GUILD_TEXT:case p.ChannelTypes.GUILD_STORE:default:return v.default.typeDefault}}var O=function(e){var t=e.className,n=e.channel,r=e.guild,i=e.locked,u=e.hasActiveThreads,s=(0,l.getChannelIconComponent)(n,r,{locked:i,hasActiveThreads:u});if(null==s)return null;var d=(0,l.getChannelIconTooltipText)(n,r,i,u);return h(f.default,{text:d,delay:500},void 0,(function(e){return a.createElement("div",_({},e,{className:v.default.iconContainer}),h(s,{className:(0,o.default)(v.default.icon,t)}))}))};function I(e){var t=e.channel,n=e.name,r=e.muted,l=e.selected,f=e.connected,y=e.unread,m=e.locked,I=e.hasActiveThreads,T=e.onClick,C=e.onMouseDown,b=e.onMouseUp,M=e.onContextMenu,N=e.connectDragPreview,A=e.className,P=e.iconClassName,R=e.subtitle,L=e.channel.type,D=e.onMouseEnter,w=e.onMouseLeave,j=e["aria-label"],k=e.children,U=e.guild,G=(0,i.useListItem)(t.id),F=G.role,B=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(G,["role"]),H=a.useRef(null),x=a.useRef(null),V=t.getGuildId(),W=p.Routes.CHANNEL(V,t.id),Y=t.isVocal(),z=Y&&!f,K=a.createElement("div",{className:v.default.content,ref:x},a.createElement(s.default,_({role:z?"button":"link",href:Y?void 0:W,ref:H,className:v.default.mainContent,onClick:function(){return T&&T(t)}},B,{"aria-label":j,focusProps:{enabled:!1}}),h(O,{className:P,channel:t,guild:U,hasActiveThreads:I,locked:m}),h(d.default,{className:v.default.name,"aria-hidden":!0},void 0,h("div",{className:v.default.channelName},void 0,null==n?t.name:n),R&&h(c.default,{color:c.default.Colors.MUTED,size:c.default.Sizes.SIZE_12,className:v.default.subtitle},void 0,R))),a.Children.count(k)>0?h("div",{onClick:g,className:v.default.children},void 0,k):null),$=null!=T||null!=b||null!=C;return h(u.default,{focusTarget:H,ringTarget:x,offset:{top:2,bottom:2,right:4}},void 0,h("div",{className:(0,o.default)(A,$?v.default.wrapper:v.default.notInteractive,l?E.SELECTED:f?E.CONNECTED:m?E.LOCKED:r?E.MUTED:y?E.UNREAD:null,S(L)),onMouseUp:function(e){return null==b?void 0:b(e,t)},onMouseDown:function(e){return null==C?void 0:C(e,t)},onContextMenu:function(e){return null==M?void 0:M(e,t)},onMouseEnter:D,onMouseLeave:w,role:F},void 0,r||!y||l?null:h("div",{className:v.default.unread}),N?N(K):K))}O.displayName="ChannelItemIcon",I.displayName="ChannelItem"},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.JoinRequestGuild=t.HubGuild=t.LurkingGuild=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=z();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=Y(n(9)),i=n(5941),l=n(680),u=n(3),s=Y(n(184)),d=n(57),f=Y(n(391)),c=n(389),p=Y(n(274)),v=Y(n(8573)),y=Y(n(10033)),m=Y(n(1233)),_=Y(n(5939)),h=Y(n(8559)),E=Y(n(8599)),g=Y(n(163)),S=Y(n(11)),O=Y(n(298)),I=Y(n(1223)),T=Y(n(15)),C=Y(n(94)),b=Y(n(36)),M=Y(n(107)),N=Y(n(361)),A=Y(n(181)),P=Y(n(12)),R=Y(n(80)),L=Y(n(161)),D=Y(n(8464)),w=n(8263),j=Y(n(8465)),k=Y(n(8702)),U=n(393),G=n(8358),F=Y(n(10034)),B=Y(n(8701)),H=Y(n(8859)),x=n(1),V=Y(n(6)),W=Y(n(7389));function Y(e){return e&&e.__esModule?e:{default:e}}function z(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return z=function(){return e},e}function K(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function $(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function Z(){return(Z=Object.assign||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}).apply(this,arguments)}function q(e,t){return(q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var X={analyticsSource:{page:x.AnalyticsPages.GUILD_CHANNEL,section:x.AnalyticsSections.CHANNEL_LIST,object:x.AnalyticsObjects.CHANNEL}},J=$("div",{},void 0,$(G.DragPlaceholder,{})),Q=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={isHovered:!1,isDropHovering:!1,isPreviewingFolder:!1},t.setDropHoveringDelayedCall=new d.DelayedCall(200,(function(){return t.setState({isDropHovering:!0})})),t.getMemoizedTo=(0,U.cachedFunction)((function(e){return{pathname:e,state:X}})),t.handleMouseDown=function(){var e=t.props,n=e.guild,r=e.selectedChannelId,a=e.unavailable,o=e.isJoinRequestGuild;null==n||null==r||a||o||f.default.preload(n.id,r)},t.handleContextMenu=function(e){var n=t.props,r=n.guild,o=n.isJoinRequestGuild,i=n.hasContextMenu;null!=r&&i&&(0,c.openContextMenu)(e,(function(e){return o?a.createElement(y.default,Z({},e,{guild:r})):a.createElement(v.default,Z({},e,{guild:r}))}))},t.handleMouseLeave=function(){!t.props.sorting&&t.setState({isHovered:!1})},t.handleMouseEnter=function(){!t.props.sorting&&t.setState({isHovered:!0})},t.handleKeyDown=function(e){var n,r=t.props.folderName;"ArrowLeft"===e.key&&null!=r&&(null===(n=document.querySelector("[aria-owns="+r+"]"))||void 0===n||n.focus())},t.handleDragOverChanged=function(e){e?t.setDropHoveringDelayedCall.delay():(t.setDropHoveringDelayedCall.cancel(),t.setState({isDropHovering:!1}))},t.handleFolderPreviewAnimationStart=function(){t.state.isDropHovering&&t.setState({isPreviewingFolder:!0})},t.handleFolderPreviewAnimationRest=function(){!t.state.isDropHovering&&t.setState({isPreviewingFolder:!1})},t.setRef=function(e){var n=t.props,r=n.setRef,a=n.guildId;null!=r&&r(a,e)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,q(t,n),r.getDerivedStateFromProps=function(e,t){var n=e.sorting,r=t.isHovered;return n&&r?{isHovered:!1}:null};var i=r.prototype;return i.shouldComponentUpdate=function(e,t){return!(0,s.default)(this.props,e,["treeItemProps"])||(!(0,s.default)(this.state,t)||!(0,s.default)(this.props.treeItemProps,e.treeItemProps))},i.componentDidUpdate=function(e){var t=this.props,n=t.dragging,r=t.guildId,a=t.onDragStart;n&&!e.dragging&&null!=a&&a(r)},i.componentWillUnmount=function(){this.setDropHoveringDelayedCall.cancel()},i.render=function(){var e=this.props,t=e.guild,n=e.selected,r=e.unread,i=e.setRef,l=e.draggable,u=e.badge,s=e.connectDragSource,d=e.sorting,f=e.draggingGuildId,c=e.audio,p=e.video,v=e.screenshare,y=e.isCurrentUserInThisGuildVoice,m=e.liveStage,_=e.isInStageChannel,h=e.unavailable,E=e.animatable,g=e.selectedChannelId,S=e.folderIndex,O=e.index,I=e.route,T=(e.joinRequestStatus,e.treeItemProps),C=this.state,b=C.isHovered,M=C.isDropHovering,N=C.isPreviewingFolder;if(null==t)return null;var A,P,R=f===t.id;if(R)A=J;else{var L,U=M||N?$(F.default,{guild:t,show:M,active:n,onAnimationStart:this.handleFolderPreviewAnimationStart,onAnimationRest:this.handleFolderPreviewAnimationRest}):a.createElement(k.default,Z({ariaLabel:V.default.Messages.GUILD_TOOLTIP_A11Y_LABEL.format({guildName:t.toString(),mentions:u}),to:this.getMemoizedTo(I||x.Routes.CHANNEL(t.id,g)),name:t.toString(),onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onMouseDown:this.handleMouseDown,onContextMenu:this.handleContextMenu,onKeyDown:this.handleKeyDown,icon:t.getIconURL(b&&E),selected:n||b},T,{role:"treeitem"})),Y=h?(0,G.renderUnavailableBadge)():(0,G.renderIconBadge)({audio:c,video:p,screenshare:v,liveStage:m,participating:y,participatingInStage:_}),z=u>0?(0,G.renderMentionBadge)(u):null;A=$("div",{className:(0,o.default)(W.default.blobContainer,(L={},L[W.default.sorting]=d,L[W.default.wobble]=M,L))},void 0,$(j.default,{selected:M||n||b,upperBadge:Y,lowerBadge:z,lowerBadgeWidth:(0,w.getBadgeWidthForValue)(u)},void 0,U)),l&&null!=s&&(A=s(A))}return l&&null!=S&&(P=$(B.default,{folderIndex:S,index:O,onDragOverChanged:this.handleDragOverChanged})),(0,G.renderListItem)($(a.Fragment,{},void 0,$(D.default,{hovered:!R&&b,selected:!R&&n,unread:!R&&r,className:W.default.pill}),$(H.default,{guild:t,disabled:d},void 0,A),P),null!=i?this.setRef:null)},r}(a.Component);Q.displayName="Guild",Q.defaultProps={unread:!1,audio:!1,video:!1,screenshare:!1,isCurrentUserInThisGuildVoice:!1,liveStage:!1,isInStageChannel:!1,unavailable:!1,badge:0,draggable:!0,hasContextMenu:!0,sorting:!1,isJoinRequestGuild:!1};var ee=function(e){var t,n=e.guild,r=e.guildId,o=K(e,["guild","guildId"]),i=(0,l.useListItem)(null!=r?r:""),u=(null===(t=(0,E.default)())||void 0===t?void 0:t.guild_id)===r;return null==n||null==r?null:a.createElement(Q,Z({guildId:r,guild:n},o,{draggable:!1,dragging:!1,treeItemProps:i,isInStageChannel:u}))};t.LurkingGuild=ee,ee.displayName="LurkingGuild";var te=function(e){var t,n=e.guild,r=e.invite,o=K(e,["guild","invite"]),i=(0,l.useListItem)(null!==(t=n.id)&&void 0!==t?t:""),s=(0,u.useStateFromStores)([L.default],(function(){return L.default.isFocused()}));return null==n?null:a.createElement(Q,Z({},o,{guildId:n.id,guild:n,animatable:s,draggable:!1,dragging:!1,hasContextMenu:!1,treeItemProps:i,selected:!0,route:x.Routes.GUILD_MEMBER_VERIFICATION_FOR_HUB(n.id,r.code)}))};t.HubGuild=te,te.displayName="HubGuild";function ne(e){var t,n,r=e.guildId,o=(0,u.useStateFromStores)([T.default],(function(){return T.default.getGuild(r)})),i=(null===(t=(0,h.default)(r))||void 0===t?void 0:t.length)>0,s=(0,u.useStateFromStores)([A.default],(function(){return A.default.isMuted(r)})),d=(null===(n=(0,E.default)())||void 0===n?void 0:n.guild_id)===r,f=(0,u.useStateFromStores)([O.default],(function(){return O.default.isUnavailable(r)})),c=(0,u.useStateFromStores)([L.default],(function(){return L.default.isFocused()})),p=(0,_.default)((function(e){return e.guildId})),v=(0,u.useStateFromStores)([b.default],(function(){return b.default.getChannelId(r)})),y=(0,u.useStateFromStoresObject)([I.default],(function(){return{badge:I.default.getMentionCount(r),unread:I.default.hasUnread(r)}})),M=y.badge,N=y.unread,D=(0,u.useStateFromStoresObject)([C.default],(function(){return{selectedVoiceGuildId:C.default.getGuildId(),selectedVoiceChannelId:C.default.getChannelId()}})),w=D.selectedVoiceGuildId,j=D.selectedVoiceChannelId,k=w===r,U=(0,u.useStateFromStores)([S.default],(function(){return S.default.getId()})),G=(0,u.useStateFromStores)([g.default],(function(){if(!k)return!1;var e=g.default.getActiveStreamForUser(U);return null!=e&&e.guildId===r})),F=(0,u.useStateFromStores)([g.default],(function(){return g.default.getAllApplicationStreams().some((function(e){return e.guildId===r}))})),B=(0,u.useStateFromStores)([R.default],(function(){return k&&null!=j&&R.default.hasVideo(j)}),[k,j]),H=(0,u.useStateFromStores)([m.default,P.default],(function(){var e,t=(null===(e=P.default.getCurrentUser())||void 0===e?void 0:e.isStaff())?m.default.getRequest(r):null;return null!=(null==t?void 0:t.applicationStatus)&&null==(null==t?void 0:t.lastSeen)?t.applicationStatus:null})),x=!1,V=!1,W=!1;k?(x=!B,V=B,W=G):W=!s&&F;var Y=(0,l.useListItem)(null!=r?r:"");return a.createElement(Q,Z({},e,{guild:o,unavailable:f,animatable:c,selected:p===r,selectedChannelId:v,badge:M,unread:N,isCurrentUserInThisGuildVoice:k,liveStage:i,isInStageChannel:d,audio:x,video:V,screenshare:W,treeItemProps:Y,joinRequestStatus:H}))}t.JoinRequestGuild=function(e){var t=e.guildId,n=K(e,["guildId"]),r=(0,l.useListItem)(null!=t?t:""),o=(0,u.useStateFromStoresObject)([m.default,P.default],(function(){var e,n=(null===(e=P.default.getCurrentUser())||void 0===e?void 0:e.isStaff())?m.default.getRequest(t):null,r=null!=(null==n?void 0:n.applicationStatus)&&null==(null==n?void 0:n.lastSeen)?n.applicationStatus:null;return{requestToJoinGuild:m.default.getJoinRequestGuild(t),joinRequestStatus:r}})),i=o.requestToJoinGuild,s=o.joinRequestStatus,d=(0,u.useStateFromStores)([L.default],(function(){return L.default.isFocused()})),f=(0,u.useStateFromStores)([M.default],(function(){return M.default.getGuildId()}));return null!=i?a.createElement(Q,Z({},n,{guildId:t,guild:i,animatable:d,draggable:!1,dragging:!1,treeItemProps:r,selected:t===f,isJoinRequestGuild:!0,joinRequestStatus:s,route:x.Routes.GUILD_MEMBER_VERIFICATION(t)})):null},ne.displayName="ConnectedGuild";var re=(0,i.DragSource)(x.GuildsBarDragTypes.GUILD,{beginDrag:function(e){return{folderIndex:e.folderIndex,index:e.index}},endDrag:function(e){null!=e.onDragEnd&&e.onDragEnd(),p.default.updateRemoteSettings({guildFolders:N.default.guildFolders})}},(function(e,t){return{connectDragSource:e.dragSource(),dragging:t.isDragging()}}),{arePropsEqual:s.default})(ne);t.default=re},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMessageDOMId=function(e){return"chat-messages-"+e},t.MESSAGE_ID_PREFIX=void 0;t.MESSAGE_ID_PREFIX="chat-messages"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useClickMessageAuthorUsername=function(e,t,n,r){var a=b("usernameProfile",n,r);return M(e.author.id,t.id,a)},t.useClickReferencedMessageAuthorUsername=function(e,t,n,r){var a=b("referencedUsernameProfile",n,r);return M(null==e?void 0:e.author.id,t.id,a)},t.useClickInteractionUserUsername=function(e,t,n,r){var a=b("interactionUsernameProfile",n,r);return M(null==e?void 0:e.user.id,t.id,a)},t.useClickMessageAuthorAvatar=function(e,t){return N(b("avatarProfile",e,t))},t.useClickReferencedMessageAuthorAvatar=function(e,t){return N(b("referencedAvatarProfile",e,t))},t.useClickInteractionUserAvatar=function(e,t){return N(b("interactionAvatarProfile",e,t))},t.useContextMenuMessage=function(e,t,n){var a=t.id,i=e.id,l=e.flags,f=(0,v.hasFlag)(l,S.MessageFlags.EPHEMERAL),c=(0,_.default)(e);return r.useCallback((function(e,t){if(y.default.embedded&&!f){var l=u.default.getChannel(a),p=d.default.getMessage(a,i),v=s.default.isEditing(a,i);null==l||null==p||v||(n({contextMenu:!0}),(0,o.openContextMenu)(e,(function(e){return c?r.createElement(g.default,C({},e,{message:p,channel:l,attachment:t})):r.createElement(E.default,C({},e,{message:p,channel:l,attachment:t}))}),{onClose:function(){return n({contextMenu:!1})}}))}}),[f,a,i,n,c])},t.useContextMenuUser=function(e,t){return r.useCallback((function(n){var r=c.default.getUser(e),a=u.default.getChannel(t);null!=r&&null!=a&&(n.stopPropagation(),(0,m.openUserContextMenu)(n,r,a))}),[e,t])},t.useClickMessage=function(e,t){var n=e.id,a=t.id;return r.useCallback((function(e){e.altKey&&(e.preventDefault(),(0,h.default)(a,n))}),[a,n])},t.useHoveredMessage=function(e,t,n){var a=S.ComponentActions.ANIMATE_CHAT_AVATAR(e+":"+t),o=r.useRef(n),i=r.useState(n),l=i[0],u=i[1];o.current=l||o.current;var s=r.useCallback((function(){l||(p.ComponentDispatch.dispatch(a,!0),u(!0))}),[a,l]),d=r.useCallback((function(){p.ComponentDispatch.dispatch(a,!1),u(!1)}),[a]);return{hasHovered:o.current,isHovered:l,handleMouseEnter:s,handleMouseLeave:d}},t.useFocusInside=function(e,t){var n=r.useState(!1),a=n[0],o=n[1],i=r.useState(!1),l=i[0],u=i[1],s=r.useCallback((function(t){(t.target===t.currentTarget||t.currentTarget.contains(document.activeElement))&&(u(!0),o(!0)),null!=e&&e(t)}),[e]),d=r.useCallback((function(e){e.target!==e.currentTarget&&e.currentTarget.contains(document.activeElement)||o(!1),null!=t&&t(e)}),[t]);return{handleFocus:s,handleBlur:d,isFocused:a,hasFocused:l}},t.useClickReply=function(e,t,n){void 0===n&&(n=!1);return r.useCallback((function(){null!=t&&(n?a.default.show({title:O.default.Messages.UNBLOCK_TO_JUMP_TITLE,body:O.default.Messages.UNBLOCK_TO_JUMP_BODY.format({name:t.author.username}),confirmText:O.default.Messages.OKAY}):i.default.jumpToMessage({channelId:t.channel_id,messageId:t.id,flash:!0,returnMessageId:e.id}))}),[n,e.id,t])},t.useClickInteractionCommandName=function(e,t){var n=b("interactionData",e,t);return r.useCallback((function(e){e.preventDefault(),e.stopPropagation(),n()}),[n])};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=I(n(154)),o=n(389),i=I(n(390)),l=I(n(8406)),u=I(n(10)),s=I(n(8333)),d=I(n(201)),f=I(n(160)),c=I(n(12)),p=n(121),v=n(99),y=I(n(16)),m=n(8928),_=I(n(685)),h=I(n(8706)),E=I(n(10093)),g=I(n(10104)),S=n(1),O=I(n(6));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(){return(C=Object.assign||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}).apply(this,arguments)}function b(e,t,n){return r.useCallback((function(){var r;n(((r={})[e]=!t,r))}),[e,n,t])}function M(e,t,n){return r.useCallback((function(r){var a=c.default.getUser(e);if(null!=a)if(r.preventDefault(),r.stopPropagation(),r.shiftKey){var o=a.username,i=a.tag,u="@"+(f.default.hidePersonalInformation?o:i);p.ComponentDispatch.dispatchToLastSubscribed(S.ComponentActions.INSERT_TEXT,{content:u}),l.default.startTyping(t)}else n()}),[e,t,n])}function N(e){return r.useCallback((function(t){t.preventDefault(),t.stopPropagation(),e()}),[e])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){var n,r;function i(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).state={isAuthenticated:o.default.isAuthenticated()},e.onStoreChange=function(){e.setState({isAuthenticated:o.default.isAuthenticated()})},e}r=t,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,u(n,r);var s=i.prototype;return s.componentDidMount=function(){o.default.addChangeListener(this.onStoreChange)},s.componentWillUnmount=function(){o.default.removeChangeListener(this.onStoreChange)},s.render=function(){return a.createElement(e,l({},this.props,{isAuthenticated:this.state.isAuthenticated}))},i}(a.Component)};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(11))&&r.__esModule?r:{default:r};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(){return(l=Object.assign||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}).apply(this,arguments)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(0)),a=n(417),o=d(n(749)),i=n(41),l=d(n(13)),u=c(n(8588)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t,n){return r.createElement(u.default,p({onSuccess:function(){o.default.flowStep(a.FlowType.CREATE_GUILD,a.CreateGuildSteps.SUCCESS),e.onClose()},onSlideChange:function(e){return function(e,t){switch(e){case u.CreateGuildSlideTypes.GUILD_TEMPLATES:o.default.flowStepOrStart(a.FlowType.CREATE_GUILD,a.CreateGuildSteps.GUILD_TEMPLATES),l.default.track(s.AnalyticEvents.OPEN_MODAL,{type:"Create Guild Templates",location:t});break;case u.CreateGuildSlideTypes.CUSTOMIZE_GUILD:o.default.flowStep(a.FlowType.CREATE_GUILD,a.CreateGuildSteps.GUILD_CREATE),l.default.track(s.AnalyticEvents.OPEN_MODAL,{type:"Create Guild Step 2",location:t});break;case u.CreateGuildSlideTypes.CREATION_INTENT:l.default.track(s.AnalyticEvents.OPEN_MODAL,{type:"Server Intent Discovery",location:t});break;case u.CreateGuildSlideTypes.JOIN_GUILD:o.default.flowStep(a.FlowType.CREATE_GUILD,a.CreateGuildSteps.JOIN_GUILD),l.default.track(s.AnalyticEvents.OPEN_MODAL,{type:"Join Guild",location:t})}}(e,n)},initialSlide:t,hasJoinButton:!0},e))}v.displayName="renderModal";var y={CREATE_GUILD_MODAL_KEY:"create-guild",openCreateGuildModal:function(e){var t=e.initialSlide,n=e.location;(0,i.openModal)((function(e){return v(e,t,n)}),{modalKey:"create-guild"})},updateCreateGuildModal:function(e){var t=e.slide,n=e.location;(0,i.updateModal)("create-guild",(function(e){return v(e,t,n)}))}};t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UploadTypes=void 0;var r,a=_(n(0)),o=n(8),i=_(n(29)),l=y(n(8360)),u=n(85),s=n(131),d=y(n(8793)),f=n(35),c=n(1),p=y(n(6)),v=y(n(7417));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function h(){return(h=Object.assign||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}).apply(this,arguments)}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var g;function S(e,t,n){var r={top:0,bottom:0,left:0,right:0},a=e-n.width,o=t-n.height;return 0!==a&&(r.left=-Math.abs(a/2),r.right=a/2),0!==o&&(r.bottom=-Math.abs(o/2),r.top=o/2),r}t.UploadTypes=g,function(e){e[e.AVATAR=0]="AVATAR",e[e.BANNER=1]="BANNER"}(g||(t.UploadTypes=g={}));var O=function(e){var t=e.imgURI,n=e.transitionState,r=e.onCrop,y=e.filename,m=e.onClose,_=e.uploadType,O=void 0===_?g.AVATAR:_,I=a.useState({width:0,height:0}),T=I[0],C=I[1],b=a.useState({top:0,bottom:0,left:0,right:0}),M=b[0],N=b[1],A=a.useState(!1),P=A[0],R=A[1],L=a.useState(1),D=L[0],w=L[1],j=a.useState({x:0,y:0}),k=j[0],U=j[1],G=a.useState(null),F=G[0],B=G[1],H=a.useRef({x:0,y:0}),x=a.createRef(),V=(0,u.useUID)(),W=O===g.AVATAR,Y=a.useCallback((function(e,t,n){H.current=function(e,t,n){return{x:(0,o.clamp)(e,n.left,n.right),y:(0,o.clamp)(t,n.bottom,n.top)}}(e,t,n),null!=x.current&&(x.current.style.transform="translate3d("+H.current.x+"px, "+H.current.y+"px, 0)")}),[x]),z=function(){if(!(null==x.current||D>1)){var e=x.current.getBoundingClientRect(),t=e.width,n=e.height,r=function(e,t,n){switch(e){case g.AVATAR:return{width:t,height:n};case g.BANNER:return t/n<2.5?{width:t,height:n}:{width:t*(227.2/n),height:227.2}}}(O,t,n),a=r.width,o=r.height,i=function(e,t,n){switch(e){case g.AVATAR:var r=Math.min(t,n);return{width:r,height:r};case g.BANNER:var a=Math.min(t,568);return{width:a,height:.4*a}}}(O,a,o);B({width:a,height:o}),C(i),N(S(a,o,i))}},K=a.useCallback((function(e){var t=H.current,n=t.x,r=t.y;if(P&&(e.clientX!==n||e.clientY!==r)){var a=e.clientX-k.x,o=e.clientY-k.y;Y(a,o,M)}}),[M,P,k,Y]),$=function(){R(!1)};return a.useEffect((function(){return window.addEventListener("mouseup",$),window.addEventListener("resize",z),function(){window.removeEventListener("mouseup",$),window.removeEventListener("resize",z)}})),a.useEffect((function(){if(P)return window.addEventListener("mousemove",K),function(){return window.removeEventListener("mousemove",K)}}),[K,P]),E(f.ModalRoot,{onAnimationEnd:z,transitionState:n,size:f.ModalSize.MEDIUM,"aria-labelledby":V},void 0,E(f.ModalHeader,{separator:!1,id:V},void 0,E(s.FormTitle,{tag:s.FormTitleTags.H4},void 0,p.default.Messages.AVATAR_UPLOAD_EDIT_MEDIA)),E(f.ModalContent,{className:v.default.modalContent},void 0,E("div",{className:O===g.AVATAR?v.default.editingContainerAvatar:v.default.editingContainerBanner},void 0,a.createElement("img",{style:h({opacity:null==F?0:1,transform:"translate3d("+H.current.x+"px, "+H.current.y+"px, 0px)"},function(){if(null==F)return{};var e=F.width/F.height;if(O===g.BANNER&&e>2.5){var t=T.height/F.height;return{width:F.width*D*t,minWidth:F.width*D*t,height:F.height*D*t}}return{width:F.width*D,minWidth:F.width*D,height:F.height*D}}()),className:v.default.image,src:t,alt:"avatar",ref:x,onMouseDown:function(e){var t=e.clientX-H.current.x,n=e.clientY-H.current.y;U({x:t,y:n}),R(!0)},draggable:!1}),E("div",{className:O===g.AVATAR?v.default.overlayAvatar:v.default.overlayBanner,style:{opacity:null==F?0:1,width:T.width,height:T.height}})),E("div",{className:v.default.sliderContainer},void 0,E(d.default,{className:v.default.icon,width:24,height:24}),E(l.default,{initialValue:1,minValue:1,maxValue:2,keyboardStep:.025,asValueChanges:function(e){if(null!=F){var t=S(F.width*e,F.height*e,T),n=H.current,r=n.x,a=n.y;(0,o.inRange)(r,t.right,t.left)&&(0,o.inRange)(a,t.top,t.bottom)||Y(r,a,t),w(e),N(t)}},equidistant:!0,hideBubble:!0}),E(d.default,{className:v.default.icon,width:48,height:48}))),E(f.ModalFooter,{className:v.default.modalFooter},void 0,E(i.default,{className:v.default.cancelButton,look:i.default.Looks.LINK,color:i.default.Colors.PRIMARY,size:i.ButtonSizes.SMALL,onClick:m},void 0,p.default.Messages.AVATAR_UPLOAD_CANCEL),E(i.default,{size:i.ButtonSizes.SMALL,onClick:function(){if(null!=x.current){var e=x.current,t=e.naturalWidth/e.width,n=T.width/2,a=T.height/2,o=(e.width/2-n-H.current.x)*t,i=(e.height/2-a-H.current.y)*t,l=T.width*t,u=T.height*t,s=W?c.AVATAR_MAX_SIZE:c.USER_BANNER_MAX_WIDTH,d=W?c.AVATAR_MAX_SIZE:c.USER_BANNER_MAX_HEIGHT,f=Math.min(l,s),p=Math.min(u,d),v=document.createElement("canvas");v.width=f,v.height=p;var _=v.getContext("2d");null!=_&&_.drawImage(e,o,i,l,u,0,0,v.width,v.height),r(v.toDataURL("image/png"),y),m()}}},void 0,p.default.Messages.AVATAR_UPLOAD_APPLY)))};O.displayName="ImageCroppingModal";var I=O;t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),i=u(n(88)),l=u(n(5701));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(){return(f=Object.assign||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}).apply(this,arguments)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v,y=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-transform","width","padding-left","padding-right","border-width","box-sizing"],m=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).handleSetRef=function(e){n._textArea=e},n.handleChange=function(e){var t=n.props.onChange;t&&t(e),n.calculateSize()},n.state={height:void 0},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var u,s,m,_=r.prototype;return _.componentDidMount=function(){var e=this;Promise.resolve().then((function(){return e.calculateSize()}))},_.componentDidUpdate=function(e,t){var n=this;if(this.state.height!==t.height){var r=this.props.onResize;r&&r(this.state.height)}e.value!==this.props.value&&Promise.resolve().then((function(){return n.calculateSize()}))},_.calculateSize=function(){var e=this._textArea;if(null!=e){var t=this.props,n=t.fontWidthEstimate,r=t.rows,a=e.value;if(null!=n&&-1===a.indexOf("\n")&&a.length*n<.8*e.offsetWidth)this.setState({height:void 0});else{null==v&&null!=document.body&&(v=document.createElement("textarea"),document.body.appendChild(v));var o=this.calculateNodeStyling(e),i=o.paddingSize,l=o.borderSize,u=o.boxSizing,s=o.sizingStyle;v.setAttribute("style",s+";\n  visibility:hidden;\n  overflow:hidden;\n  position:absolute;\n  z-index:-1000;\n  top:0;\n  right:0;\n"),v.value=a,null!=r?v.setAttribute("rows",""+r):v.removeAttribute("rows");var d=v.scrollHeight;"border-box"===u?d+=l:"content-box"===u&&(d-=i),this.setState({height:d})}}},_.calculateNodeStyling=function(e){var t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing")||t.getPropertyValue("-moz-box-sizing")||t.getPropertyValue("-webkit-box-sizing"),r=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),a=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width"));return{sizingStyle:y.map((function(e){return e+":"+t.getPropertyValue(e)})).join(";"),paddingSize:r,borderSize:a,boxSizing:n}},_.clear=function(){null!=this._textArea&&(this._textArea.value=""),this.calculateSize()},_.blur=function(){var e=this._textArea;null!=e&&e.blur()},_.focus=function(){var e=this._textArea;null!=e&&e.focus()},_.setSelection=function(e,t){null!=this._textArea&&(this._textArea.selectionStart=e,this._textArea.selectionEnd=t)},_.render=function(){var e=this.props,t=e.style,n=e.className,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["style","className"]);delete r.fontWidthEstimate,delete r.onResize;var u=f({},this.state,{},t);return d(i.default,{},void 0,a.createElement("textarea",f({},r,{className:(0,o.default)(n,l.default.scrollbarGhostHairline),ref:this.handleSetRef,style:u,onChange:this.handleChange})))},u=r,(s=[{key:"selectionStart",get:function(){return this._textArea&&this._textArea.selectionStart||0}},{key:"selectionEnd",get:function(){return this._textArea&&this._textArea.selectionEnd||0}},{key:"value",get:function(){return this._textArea&&this._textArea.value||""}}])&&c(u.prototype,s),m&&c(u,m),r}(a.PureComponent);m.displayName="TextAreaAutosize",m.defaultProps={autoFocus:!1,disabled:!1,autoCorrect:"off"};var _=m;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(262),i=n(57),l=s(n(16)),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._flashTitleInterval=new i.Interval,t.state={titleIndex:null},t.handleFocus=function(){t._flashTitleInterval.stop(),t.setState({titleIndex:null}),document.removeEventListener("focusin",t.handleFocus)},t.rotateTitle=function(){var e=t.state.titleIndex;document.hasFocus()?(t._flashTitleInterval.stop(),t.setState({titleIndex:null})):t.setState({titleIndex:(e+1)%t.titles.length})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var a,s,d,v=r.prototype;return v.componentDidMount=function(){l.default.embedded||document.hasFocus()||(this.setState({titleIndex:0}),this._flashTitleInterval.start(1e3,this.rotateTitle),document.addEventListener("focusin",this.handleFocus))},v.componentWillUnmount=function(){this._flashTitleInterval.stop(),document.removeEventListener("focusin",this.handleFocus)},v.render=function(){return null!=this.title?f(o.Helmet,{},void 0,f("title",{},void 0,this.title)):null},a=r,(s=[{key:"titles",get:function(){return[u.default.Messages.GO_LIVE_HEY,u.default.Messages.GO_LIVE_LOOK,u.default.Messages.GO_LIVE_LISTEN]}},{key:"title",get:function(){var e=this.state.titleIndex;return null!=e?this.titles[e]:null}}])&&c(a.prototype,s),d&&c(a,d),r}(a.PureComponent);t.default=v,v.displayName="TitleFocusFlasher"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=f(n(29)),o=n(85),i=n(131),l=n(35),u=f(n(24)),s=f(n(6)),d=f(n(7424));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.onClose,n=e.transitionState,r=e.body,f=(0,o.useUID)();return p(l.ModalRoot,{transitionState:n,"aria-labelledby":f},void 0,p(l.ModalHeader,{id:f,separator:!1},void 0,p(i.FormTitle,{tag:i.FormTitle.Tags.H2,className:d.default.title},void 0,s.default.Messages.STREAM_REPORTED)),p(l.ModalContent,{},void 0,p(u.default,{size:u.default.Sizes.SIZE_16},void 0,r)),p(l.ModalFooter,{},void 0,p(a.default,{color:a.default.Colors.BRAND,onClick:t},void 0,s.default.Messages.DONE)))}v.displayName="ProblemReported"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(9)),i=n(192),l=d(n(88)),u=d(n(61)),s=d(n(7444));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=a.forwardRef((function(e,t){var n,r,d,f=e.avatar,v=e.name,y=e.children,m=e.subText,_=e.decorators,h=e.onClick,E=e.selected,g=e.muted,S=e.to,O=e.selectedClassName,I=e.innerClassName,T=e.wrapContent,C=e.highlighted,b=e.focusProps,M=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["avatar","name","children","subText","decorators","onClick","selected","muted","to","selectedClassName","innerClassName","wrapContent","highlighted","focusProps"]);M.className=(0,o.default)(M.className,s.default.container,((n={})[s.default.selected]=E,n[s.default.highlighted]=C,n[O||""]=E,n[s.default.clickable]=!E&&(S||h),n));var N=p("div",{className:(0,o.default)(I,s.default.layout,(r={},r[s.default.muted]=!E&&g,r[s.default.wrappedLayout]=T,r))},void 0,p("div",{className:s.default.avatar},void 0,f),p("div",{className:s.default.content},void 0,p("div",{className:s.default.nameAndDecorators},void 0,p("div",{className:(0,o.default)(s.default.name,(d={},d[s.default.wrappedName]=T,d))},void 0,v),_),null!=m?p("div",{className:s.default.subText},void 0,m):null),null!=y?p("div",{className:s.default.children},void 0,y):null);return null!=S?a.createElement(l.default,b,a.createElement(i.Link,c({to:S,onClick:h},M,{role:"listitem",ref:t}),N)):null!=h?a.createElement(u.default,c({onClick:h,focusProps:b},M,{role:"listitem",innerRef:t}),N):a.createElement(l.default,b,a.createElement("div",c({},M,{role:"listitem",ref:t}),N))}));t.default=v},function(e,t,n){"use strict";function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0)).createContext(void 0);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.maybeFetchColor=function(e){return m.apply(this,arguments)},t.default=function(e,t,n){var o=(0,i.useStateFromStores)([l.default],(function(){return l.default.desaturateUserColors})),u=y((function(a){var i,l;if(null==e)return t;var u=n;return null==u&&(u=o?r.HSL:r.RGB),null!==(i=null===(l=a.colors[e])||void 0===l?void 0:l[u])&&void 0!==i?i:t}));return a.useEffect((function(){null!=e&&u===t&&_(e)}),[e,u,t]),u},t.ColorFormats=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(251)),i=n(3),l=d(n(105)),u=n(483),s=n(1239);function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function v(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){p(o,r,a,i,l,"next",e)}function l(e){p(o,r,a,i,l,"throw",e)}i(void 0)}))}}t.ColorFormats=r,function(e){e.HEX="hex",e.HSL="hsl",e.RGB="rgb"}(r||(t.ColorFormats=r={}));var y=(0,o.default)((function(){return{colors:{},fetching:{}}}));function m(){return(m=v(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==y.getState().colors[t]){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,_(t);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(e){return h.apply(this,arguments)}function h(){return(h=v(regeneratorRuntime.mark((function e(t){var n,r,a,o,i,l,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!y.getState().fetching[t]){e.next=2;break}return e.abrupt("return");case 2:return y.setState((function(e){var n;return{fetching:c({},e.fetching,(n={},n[t]=!0,n))}})),e.prev=3,e.next=6,(0,s.getPrimaryColorForAvatar)(t);case 6:n=e.sent,r=n[0],a=n[1],o=n[2],i="rgb("+r+", "+a+", "+o+")",l=(0,u.rgbToHsl)(r,a,o),d=(0,u.rgbToHex)(r,a,o),y.setState((function(e){var n,r;return{fetching:c({},e.fetching,(n={},n[t]=!1,n)),colors:c({},e.colors,(r={},r[t]={rgb:i,hsl:l,hex:d},r))}})),e.next=19;break;case 16:e.prev=16,e.t0=e.catch(3),y.setState((function(e){var n;return{fetching:c({},e.fetching,(n={},n[t]=!1,n))}}));case 19:case"end":return e.stop()}}),e,null,[[3,16]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UserActivityTypes=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(1214),l=E(n(8600)),u=n(8596),s=E(n(163)),d=E(n(10)),f=E(n(71)),c=E(n(15)),p=E(n(80)),v=E(n(29)),y=E(n(8823)),m=n(252),_=n(1),h=E(n(7463));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(){return(S=Object.assign||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}).apply(this,arguments)}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(e){var t=e.type,n=e.source,r=e.activity,a=e.applicationStream,o=e.user,i=e.guildId,u=e.channelId,s=e.onAction,d=e.onOpenConnections;return O(l.default,{className:(0,m.getClass)(h.default,"actions",t),type:t,source:n,activity:r,applicationStream:a,user:o,guildId:i,look:v.default.Looks.FILLED,color:v.default.Colors.GREY,channelId:u,onOpenConnections:d,onAction:s})}function T(e){var t=e.activity,n=e.user,r=e.useStoreStream,l=void 0===r||r,v=e.showActions,m=void 0===v||v,h=e.hideHeader,E=void 0!==h&&h,g=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["activity","user","useStoreStream","showActions","hideHeader"]),O=(0,o.useStateFromStores)([s.default],(function(){return l?s.default.getStreamForUser(n.id):null})),T=(0,o.useStateFromStores)([c.default,p.default,d.default],(function(){var e,r;return(0,i.hasFlag)(t,_.ActivityFlags.EMBEDDED)?c.default.getGuild(null===(e=d.default.getChannel(null===(r=p.default.getVoiceStateForSession(n.id,null==t?void 0:t.session_id))||void 0===r?void 0:r.channelId))||void 0===e?void 0:e.getGuildId()):null})),C=(0,o.useStateFromStores)([c.default],(function(){return null!=O?c.default.getGuild(O.guildId):null})),b=(0,o.useStateFromStores)([f.default],(function(){return null!=t?null!=t.application_id?f.default.getGame(t.application_id):f.default.getGameByName(t.name):null}));return a.createElement(y.default,S({},g,{activity:t,user:n,application:b,hideHeader:E,activityGuild:null!=T?T:C,renderActions:m?function(){return a.createElement(I,S({},g,{applicationStream:O,activity:t,user:n}))}:null,onOpenSpotifyTrack:u.openTrack,onOpenSpotifyArtist:u.openArtist,onOpenSpotifyAlbum:u.openAlbum}))}I.displayName="UserActivityActionsContainer",T.displayName="UserActivityContainer";var C=y.default.Types;t.UserActivityTypes=C;var b=T;t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(8)),a=c(n(5)),o=c(n(3)),i=n(57),l=c(n(2)),u=c(n(5960)),s=c(n(5851)),d=n(402),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v={},y={},m=[],_=[],h=[],E=new Set,g={},S={},O=new Set;function I(e){var t=s.default.createFromServer(e),n=t.code;if(null!=y[n])y[n]=y[n].merge(t);else if(y[n]=t,null!=t.expiresAt){var r=new i.Timeout;v[n]=r,function e(t){var n=y[t];if(null==n||null==n.expiresAt)return;var r=n.expiresAt.valueOf()-(0,a.default)().valueOf();if(r<=0)delete y[t],delete v[t],N.emitChange();else{var o=v[t];if(null==o)return;o.start(Math.min(f.MAX_TIMEOUT_MS,r),(function(){return e(t)}))}}(n)}}function T(e,t){if(void 0===t&&(t=!1),t&&!O.has(e.channel_id))return!1;var n=(0,d.findGiftCodes)(e.content);return 0===n.length||n.forEach((function(e){m.includes(e)||h.includes(e)||(C({code:e}),l.default.wait((function(){return u.default.resolveGiftCode(e,!1,!0).catch(f.NOOP_NULL)})))})),!1}function C(e){var t=e.code;m.includes(t)||(m=[].concat(m,[t]))}function b(e){return T(e.message,!0)}function M(e){var t=e.channelId,n=e.messages;O.add(t),n.forEach((function(e){return T(e,!0)}))}var N=new(function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var o=a.prototype;return o.get=function(e){var t=y[e];return null==t||t.isExpired()?null:t},o.getError=function(e){return null!=e?S[e]:null},o.getForGifterSKUAndPlan=function(e,t,n){return r.default.values(y).filter((function(r){return r.userId===e&&r.skuId===t&&(null==n||r.subscriptionPlanId===n)&&!r.isExpired()}))},o.getIsResolved=function(e){return h.includes(e)},o.getIsAccepting=function(e){return _.includes(e)},o.getUserGiftCodesFetchingForSKUAndPlan=function(e,t){return E.has((0,d.makeComboId)(e,t))},o.getUserGiftCodesLoadedAtForSKUAndPlan=function(e,t){return g[(0,d.makeComboId)(e,t)]},o.getResolvingCodes=function(){return m},o.getResolvedCodes=function(){return h},o.getAcceptingCodes=function(){return _},a}(o.default.Store))(l.default,{CONNECTION_OPEN:function(e){return O.clear(),!1},CHANNEL_SELECT:function(e){var t=e.channelId;return null!=t&&O.add(t),!1},GIFT_CODE_RESOLVE:C,GIFT_CODE_RESOLVE_SUCCESS:function(e){var t=e.giftCode;return m=m.filter((function(e){return e!==t.code})),h.includes(t.code)||(h=[].concat(h,[t.code])),I(t)},GIFT_CODE_RESOLVE_FAILURE:function(e){var t=e.code;m=m.filter((function(e){return e!==t})),h.includes(t)||(h=[].concat(h,[t]))},GIFT_CODE_REDEEM:function(e){var t=e.code;_.includes(t)||(_=[].concat(_,[t]))},GIFT_CODE_REDEEM_SUCCESS:function(e){var t=e.code;_=_.filter((function(e){return e!==t}));var n=y[t];null!=n&&(y[t]=n.merge({redeemed:!0,uses:n.uses+1}))},GIFT_CODE_REDEEM_FAILURE:function(e){var t=e.code,n=e.error;_=_.filter((function(e){return e!==t}));var r=y[t];if(S[t]=n,null!=r)switch(n.code){case f.AbortCodes.UNKNOWN_GIFT_CODE:y[t]=r.set("revoked",!0);break;case f.AbortCodes.INVALID_GIFT_REDEMPTION_EXHAUSTED:y[t]=r.set("uses",r.maxUses)}},GIFT_CODE_REVOKE_SUCCESS:function(e){var t=e.code;delete y[t];var n=v[t];null!=n&&(n.stop(),delete v[t]),h.includes(t)||(h=[].concat(h,[t]))},GIFT_CODE_CREATE_SUCCESS:function(e){I(e.giftCode)},GIFT_CODES_FETCH:function(e){var t=e.skuId,n=e.subscriptionPlanId;E.add((0,d.makeComboId)(t,n))},GIFT_CODES_FETCH_SUCCESS:function(e){var t=e.giftCodes,n=e.skuId,r=e.subscriptionPlanId;t.forEach(I);var a=(0,d.makeComboId)(n,r);g[a]=Date.now(),E.delete(a)},GIFT_CODES_FETCH_FAILURE:function(e){var t=e.skuId,n=e.subscriptionPlanId;E.delete((0,d.makeComboId)(t,n))},MESSAGE_CREATE:b,MESSAGE_UPDATE:b,LOAD_MESSAGES_SUCCESS:M,LOAD_MESSAGES_AROUND_SUCCESS:M,LOAD_RECENT_MENTIONS_SUCCESS:function(e){e.messages.forEach((function(e){return T(e)}))},LOAD_PINNED_MESSAGES_SUCCESS:function(e){e.messages.forEach((function(e){return T(e)}))},SEARCH_FINISH:function(e){e.messages.forEach((function(e){e.forEach((function(e){return T(e)}))}))},GIFT_CODE_UPDATE:function(e){var t=e.uses,n=e.code,r=y[n];null!=r&&(y[n]=r.set("uses",Math.max(r.uses,t)))}}),A=N;t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=v(n(2)),a=v(n(8389)),o=v(n(390)),i=v(n(397)),l=v(n(8422)),u=v(n(9376)),s=n(8390),d=v(n(8437)),f=v(n(1225)),c=n(1),p=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}function y(e,t,n,v,m,_){var h={content:"",tts:!1,hasSpoiler:m,filename:_};if(null!=v){h.content=v.content,h.tts=v.tts;var E=d.default.getPendingReply(e);if(null!=E){var g=o.default.getSendMessageOptionsForReply(E);h.type=c.MessageTypes.REPLY,h.message_reference=g.messageReference,h.allowed_mentions=g.allowedMentions,(0,s.deletePendingReply)(e)}}var S=new u.default(c.Endpoints.MESSAGES(e));S.on("start",(function(t){r.default.dispatch({type:c.ActionTypes.UPLOAD_START,channelId:e,file:t,uploader:S})})),S.on("progress",(function(t){r.default.dispatch({type:c.ActionTypes.UPLOAD_PROGRESS,channelId:e,file:t})})),S.on("error",(function(u,s){r.default.dispatch({type:c.ActionTypes.UPLOAD_FAIL,channelId:e,file:u}),s!==c.AbortCodes.EXPLICIT_CONTENT?(i.default.push(l.default,{title:p.default.Messages.UPLOAD_AREA_UPLOAD_FAILED_TITLE,help:p.default.Messages.UPLOAD_AREA_UPLOAD_FAILED_HELP.format({onClick:function(){i.default.pop(),y(e,t,n,v)}})}),""!==h.content&&""===f.default.getDraft(e,n)&&a.default.saveDraft(e,h.content,n)):o.default.sendClydeError(e,s)})),S.on("complete",(function(t){r.default.dispatch({type:c.ActionTypes.UPLOAD_COMPLETE,channelId:e,file:t})})),S.upload(t,h)}var m={instantBatchUpload:function(e,t,n){Array.prototype.forEach.call(t,(function(t){y(e,t,n)}))},upload:y,cancel:function(e){r.default.dispatch({type:c.ActionTypes.UPLOAD_CANCEL_REQUEST,file:e})}};t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAllLiveStageChannels=function(){return u.default.getAllStageInstances().map((function(e){return a.default.getChannel(e.channel_id)})).filter(i.isNotNullish).filter((function(e){return o.default.can(l.JOIN_VOCAL_CHANNEL_PERMISSIONS,e)}))},t.useAllLiveStageChannels=function(){return d((0,r.useStateFromStores)([u.default],(function(){return u.default.getAllStageInstances().map((function(e){return e.channel_id}))}),[]))},t.default=function(e){return d((0,r.useStateFromStoresArray)([u.default],(function(){return Object.keys(u.default.getStageInstancesByGuild(e))}),[e]))};var r=n(3),a=s(n(10)),o=s(n(40)),i=n(48),l=n(203),u=s(n(81));function s(e){return e&&e.__esModule?e:{default:e}}function d(e){var t=(0,r.useStateFromStoresArray)([a.default],(function(){return e.map((function(e){return a.default.getChannel(e)})).filter(i.isNotNullish)}),[e]);return(0,r.useStateFromStoresArray)([o.default],(function(){return t.filter((function(e){return o.default.can(l.JOIN_VOCAL_CHANNEL_PERMISSIONS,e)}))}),[t])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(){return(u=Object.assign||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}).apply(this,arguments)}var s={expressionSuggestionsEnabled:!0},d=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var a,o,u,d=r.prototype;return d.initialize=function(e){null!=e&&(s=e)},d.getState=function(){return s},a=r,(o=[{key:"expressionSuggestionsEnabled",get:function(){return s.expressionSuggestionsEnabled}}])&&i(a.prototype,o),u&&i(a,u),r}(r.default.PersistedStore);d.persistKey="ExpressionSuggestionsPersistedStore";var f=new d(a.default,{EXPRESSION_SUGGESTIONS_TOGGLE:function(e){s=u({},s,{expressionSuggestionsEnabled:!s.expressionSuggestionsEnabled})}});t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSupported=s,t.setEnabled=function(e){return null!=d?d.then((function(t){t.enabled=e})):Promise.resolve()},t.setLearnedWords=function(e){return null!=d?d.then((function(t){return t.setLearnedWords(e)})):Promise.resolve()},t.isMisspelled=function(e,t){void 0===t&&(t=!1);return null!=d?d.then((function(n){return n.isMisspelled(e,t)})):Promise.resolve(!1)},t.getCorrections=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=5);return null!=d?d.then((function(r){return r.getCorrectionsForMisspelling(e,t).slice(0,n)})):Promise.resolve([])},t.replaceWithCorrection=function(e){return null!=d?d.then((function(t){return t.replaceMisspelling(e)})):Promise.resolve()},t.setAppLocale=function(e){return null!=d?d.then((function(t){return t.setAppLocale(e)})):Promise.resolve()},t.addResultListener=function(e){if(!u())return;(r.default.spellCheck.Spellchecker||r.default.spellCheck).on("spellcheck-result",e)},t.removeResultListener=function(e){if(!u())return;(r.default.spellCheck.Spellchecker||r.default.spellCheck).removeListener("spellcheck-result",e)};var r=l(n(118)),a=n(8870),o=n(8872),i=l(n(16));function l(e){return e&&e.__esModule?e:{default:e}}function u(){var e=null==r.default.spellCheck.setSpellCheckProvider,t=null!=r.default.spellCheck.Spellchecker;return e||t}function s(){return!!i.default.embedded&&(u()?i.default.isDesktop():i.default.isOSX()||i.default.isWindows()&&parseFloat(r.default.os.release)>=6.2)}var d=s()?u()?(0,o.install)():(0,a.installLegacy)():null},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(43))&&r.__esModule?r:{default:r};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(){function e(e,t){this._shouldProcess=!1,this._processing=!1,this._minimumTimeRemaining=5,this._language=e,this._languageHint=e,this._onChange=t,t(e)}var t,n,r,i=e.prototype;return i.process=function(e){var t=this;this._processing||(this._processing=!0,requestIdleCallback((function(n){n.timeRemaining()<=t._minimumTimeRemaining?t._processEnd():(e.length>256&&(e=e.slice(0,256)),function(e,t){return a.default.ensureModule("discord_spellcheck").then((function(){var n=a.default.requireModule("discord_spellcheck").cld;return new Promise((function(r,a){n.detect(e,{httpHint:t,encodingHint:"UTF8"},(function(e,t){null!=e?a(new Error(e.message)):!t.reliable||t.languages[0].percent<90||t.languages[0].score<500?a(new Error("Not enough reliable text.")):r(t.languages[0].code)}))}))}))}(e,t._languageHint).then((function(e){t.language=e,t._processEnd(n.didTimeout)}),(function(){t._processEnd(n.didTimeout)})))})))},i._processEnd=function(e){void 0===e&&(e=!1),this._processing=!1,e&&this._minimumTimeRemaining++},t=e,(n=[{key:"language",get:function(){return this._language},set:function(e){this._language!==e&&(this._language=e,this._onChange(e))}},{key:"languageHint",set:function(e){this._languageHint=e}}])&&o(t.prototype,n),r&&o(t,r),e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={aa:"aa-ET",af:"af-ZA",ak:"ak-GH",am:"am-ET",an:"an-ES",ar:"ar-MA",as:"as-IN",ay:"ay-PE",az:"az-AZ",be:"be-BY",bg:"bg-BG",bi:"bi-TV",bn:"bn-BD",bo:"bo-CN",br:"br-FR",bs:"bs-BA",ca:"ca-ES",ce:"ce-RU",cs:"cs-CZ",cv:"cv-RU",cy:"cy-GB",da:"da-DK",de:"de-DE",dv:"dv-MV",dz:"dz-BT",el:"el-GR",en:"en-US",es:"es-ES",et:"et-EE",eu:"eu-ES",fa:"fa-IR",ff:"ff-SN",fi:"fi-FI",fo:"fo-FO",fr:"fr-FR",fy:"fy-DE",ga:"ga-IE",gd:"gd-GB",gl:"gl-ES",gu:"gu-IN",gv:"gv-GB",ha:"ha-NG",he:"he-IL",hi:"hi-IN",hr:"hr-HR",ht:"ht-HT",hu:"hu-HU",hy:"hy-AM",ia:"ia-FR",id:"id-ID",ig:"ig-NG",ik:"ik-CA",is:"is-IS",it:"it-IT",iu:"iu-CA",ja:"ja-JP",ka:"ka-GE",kk:"kk-KZ",kl:"kl-GL",km:"km-KH",kn:"kn-IN",ko:"ko-KR",ks:"ks-IN",ku:"ku-TR",kw:"kw-GB",ky:"ky-KG",lb:"lb-LU",lg:"lg-UG",li:"li-BE",ln:"ln-CD",lo:"lo-LA",lt:"lt-LT",lv:"lv-LV",mg:"mg-MG",mh:"mh-MH",mi:"mi-NZ",mk:"mk-MK",ml:"ml-IN",mn:"mn-MN",mr:"mr-IN",ms:"ms-MY",mt:"mt-MT",my:"my-MM",nb:"nb-NO",ne:"ne-NP",nl:"nl-NL",nn:"nn-NO",nr:"nr-ZA",oc:"oc-FR",om:"om-KE",or:"or-IN",os:"os-RU",pa:"pa-PK",pl:"pl-PL",ps:"ps-AF",pt:"pt-PT",ro:"ro-RO",ru:"ru-RU",rw:"rw-RW",sa:"sa-IN",sc:"sc-IT",sd:"sd-IN",se:"se-NO",si:"si-LK",sk:"sk-SK",sl:"sl-SI",so:"so-SO",sq:"sq-AL",sr:"sr-RS",ss:"ss-ZA",st:"st-ZA",sv:"sv-SE",sw:"sw-KE",ta:"ta-IN",te:"te-IN",tg:"tg-TJ",th:"th-TH",ti:"ti-ER",tk:"tk-TM",tl:"tl-PH",tn:"tn-ZA",tr:"tr-TR",ts:"ts-ZA",tt:"tt-RU",ug:"ug-CN",uk:"uk-UA",ur:"ur-PK",uz:"uz-UZ",ve:"ve-ZA",vi:"vi-VN",wa:"wa-BE",wo:"wo-SN",xh:"xh-ZA",yi:"yi-US",yo:"yo-NG",zh:"zh-CN",zu:"zu-ZA"};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(9)),i=n(122),l=n(252),u=c(n(29)),s=n(1),d=c(n(6)),f=c(n(7536));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(){return(y=Object.assign||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}).apply(this,arguments)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _={tension:800,friction:24},h=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={hovered:!1,emojiIndex:0},t.handleMouseEnter=function(){if(!t.state.hovered&&!t.props.active){var e=Math.floor(Math.random()*s.EmojiSprites.PickerCount);t.setState({hovered:!0,emojiIndex:e})}},t.handleMouseLeave=function(){t.setState({hovered:!1})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var a=r.prototype;return a.getSpriteStyle=function(){var e=this.state.emojiIndex;return{backgroundPosition:-e%s.EmojiSprites.PickerPerRow*22+"px "+22*-Math.floor(e/s.EmojiSprites.PickerPerRow)+"px",backgroundSize:22*s.EmojiSprites.PickerPerRow+"px "+22*Math.ceil(s.EmojiSprites.PickerCount/s.EmojiSprites.PickerPerRow)+"px"}},a.render=function(){var e=this.props,t=e.tabIndex,n=e.className,r=e.renderButtonContents,a=e.active,s=e.onClick,c=e["aria-expanded"],p=e["aria-controls"],m=e.focusProps,h=this.state.hovered||a,E=(0,l.getClass)(f.default,"emojiButton",h?"Hovered":"Normal"),g=this.getSpriteStyle();return v(u.default,{look:u.default.Looks.BLANK,size:u.default.Sizes.NONE,tabIndex:t,className:(0,o.default)(E,n),onMouseEnter:this.handleMouseEnter,onMouseOver:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onClick:s,"aria-label":d.default.Messages.SELECT_EMOJI,"aria-expanded":c,"aria-controls":p,focusProps:m},void 0,null!=r?r():v(i.Spring,{config:_,to:{value:h?1:0}},void 0,(function(e){var t=e.value;return v(i.animated.div,{className:f.default.sprite,style:y({},g,{transform:t.to([0,1],[1,1.14]).to((function(e){return"scale("+e+")"})),filter:t.to((function(e){return"grayscale("+(100-100*e)+"%)"}))})})})))},r}(a.PureComponent);h.displayName="EmojiButton";var E=h;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?14:t,r=e.height,a=void 0===r?14:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 14 14"}),s("path",{className:f,fill:d,d:"M12,0 C12.8284271,0 14,1.17157288 14,2 L14,12 C14,12.8284271 12.8284271,14 12,14 L2,14 C1.17157288,14 0,12.8284271 0,12 L0,2 C0,1.17157288 1.17157288,0 2,0 L12,0 Z M8,3 L6,3 L6,8 L8,8 L8,3 Z M8,11 L8,9 L6,9 L6,11 L8,11 Z"}))}d.displayName="WarningBox"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAutoArchiveDurationText=function(e){var t,n=s(null,!0).find((function(t){return t.value===e}));return null!==(t=null==n?void 0:n.label)&&void 0!==t?t:a.default.duration(e,"minutes").humanize()},t.getAutoArchiveDuration=function(e,t,n){var r,a=null!==(r=null!=n?n:null==e?void 0:e.defaultAutoArchiveDuration)&&void 0!==r?r:o.DEFAULT_AUTO_ARCHIVE_DURATION;if(4320===a&&(null==t||!t.hasFeature(i.GuildFeatures.THREE_DAY_THREAD_ARCHIVE)))return o.DEFAULT_AUTO_ARCHIVE_DURATION;if(10080===a&&(null==t||!t.hasFeature(i.GuildFeatures.SEVEN_DAY_THREAD_ARCHIVE)))return o.DEFAULT_AUTO_ARCHIVE_DURATION;return a},t.getAutoArchiveDurations=t.getAutoArchiveOptions=void 0;var r=u(n(9116)),a=u(n(5)),o=n(392),i=n(1),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}var s=(0,r.default)((function(e,t){var n=[{label:l.default.Messages.AUTO_ARCHIVE_DURATION_1_HOUR,value:60},{label:l.default.Messages.AUTO_ARCHIVE_DURATION_24_HOURS,value:1440}];return(null!=e&&e.hasFeature(i.GuildFeatures.THREE_DAY_THREAD_ARCHIVE)||t)&&n.push({label:l.default.Messages.AUTO_ARCHIVE_DURATION_3_DAYS,value:4320}),(null!=e&&e.hasFeature(i.GuildFeatures.SEVEN_DAY_THREAD_ARCHIVE)||t)&&n.push({label:l.default.Messages.AUTO_ARCHIVE_DURATION_1_WEEK,value:10080}),n}));t.getAutoArchiveOptions=s;var d=(0,r.default)((function(e){return s(e).map((function(e){return e.value}))}));t.getAutoArchiveDurations=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.StageInviteFooter=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(9)),i=E(n(162)),l=E(n(89)),u=E(n(29)),s=E(n(371)),d=E(n(1240)),f=E(n(407)),c=E(n(291)),p=E(n(279)),v=E(n(47)),y=E(n(248)),m=E(n(24)),_=E(n(6)),h=E(n(7577));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var O=function(e){var t,n=e.speaker,r=e.guildId,a=e.isEmbed,o=new l.default(n.user);return S("div",{className:h.default.speaker},void 0,S(p.default,{src:o.getAvatarURL(r),size:a?p.default.Sizes.SIZE_16:p.default.Sizes.SIZE_24,"aria-label":n.nick+"-avatar",className:a?null:h.default.avatar}),S(m.default,{size:a?m.default.Sizes.SIZE_12:m.default.Sizes.SIZE_14,color:m.default.Colors.HEADER_SECONDARY,className:h.default.username},void 0,null!==(t=n.nick)&&void 0!==t?t:o.username))};O.displayName="StageInviteSpeaker";var I=function(e){var t,n,r,l,p,E=e.stageInstance,g=e.guild,I=e.isCard,T=void 0!==I&&I,C=e.isEmbed,b=void 0!==C&&C,M=e.onClick,N=a.useMemo((function(){return null==g?null:g instanceof i.default?g:new i.default(g)}),[g]);if(null==E||null==N)return null;var A=E.topic,P=E.speaker_count,R=E.participant_count,L=null!==(t=E.members)&&void 0!==t?t:[],D=b?L.slice(0,3):L,w=P-D.length;return b&&(w+=L.length-D.length),S("div",{},void 0,S("div",{className:h.default.flex},void 0,S("div",{className:h.default.flex},void 0,S(c.default,{height:24,width:24,className:h.default.live}),S(v.default,{size:v.default.Sizes.SIZE_12,uppercase:!0,className:(0,o.default)(h.default.label,h.default.live)},void 0,_.default.Messages.STAGE_CHANNEL_LIVE_NOW)),S("div",{className:h.default.background},void 0,S(d.default,{height:16,width:16,className:h.default.listeners}),S(v.default,{className:(0,o.default)(h.default.label,h.default.listeners)},void 0,R))),b&&S("div",{className:(0,o.default)(h.default.guild,(n={},n[h.default.embed]=b,n))},void 0,S(y.default,{mask:y.default.Masks.SQUIRCLE,width:20,height:20},void 0,S(s.default,{guild:N,size:s.default.Sizes.MINI,active:!0})),S(m.default,{color:m.default.Colors.HEADER_SECONDARY,className:h.default.label},void 0,N.name)),S(v.default,{size:T||b?v.default.Sizes.SIZE_16:v.default.Sizes.SIZE_20,className:(0,o.default)(h.default.header,(r={},r[h.default.embed]=b,r))},void 0,A),S("div",{className:(0,o.default)(h.default.members,(l={},l[h.default.embed]=b,l))},void 0,S("div",{className:h.default.speakers},void 0,D.map((function(e){return S(O,{speaker:e,guildId:N.id,isEmbed:b},e.user.id)})),w>0?S("div",{className:h.default.speaker},void 0,S("div",{className:(0,o.default)(h.default.icon,(p={},p[h.default.embed]=b,p))},void 0,S(f.default,{height:b?12:14,className:h.default.listeners})),S(m.default,{size:b?m.default.Sizes.SIZE_12:m.default.Sizes.SIZE_14,color:m.default.Colors.HEADER_SECONDARY,className:h.default.label},void 0,"+",_.default.Messages.STAGE_INVITE_SPEAKER_COUNT.format({count:w}))):null),b&&S(u.default,{color:u.default.Colors.GREEN,onClick:M},void 0,_.default.Messages.STAGE_CHANNEL_JOIN_BUTTON)))};I.displayName="StageInviteHeader";var T=function(e){var t=e.guild,n=e.onlineCount;if(null==t)return null;var r=new i.default(t),a=r.name,o=r.description;return S("div",{},void 0,S(v.default,{muted:!0,uppercase:!0,className:h.default.alignStart},void 0,_.default.Messages.STAGE_INVITE_GUILD_HEADER),S("div",{className:h.default.guild},void 0,S(y.default,{mask:y.default.Masks.SQUIRCLE,width:40,height:40},void 0,S(s.default,{guild:r,size:s.default.Sizes.MEDIUM,active:!0})),S("div",{className:h.default.guildInfo},void 0,S(v.default,{},void 0,a),S("div",{className:h.default.speaker},void 0,S("div",{className:h.default.dot}),null!=n&&n>0?S(m.default,{},void 0,_.default.Messages.INSTANT_INVITE_GUILD_MEMBERS_ONLINE.format({membersOnline:n})):null))),o&&S(m.default,{color:m.default.Colors.HEADER_SECONDARY,className:h.default.alignStart},void 0,o))};t.StageInviteFooter=T,T.displayName="StageInviteFooter";var C=I;t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u={},s=null,d=[],f=!1,c=null,p=null;function v(){f=!0}var y=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var a,o,v,y=r.prototype;return y.getSubscriptionsForGuild=function(e){return null!=u[e]?u[e].subscriptions:null},y.getLastFetchedAtForGuild=function(e){return null!=u[e]?u[e].lastFetchedAt:null},y.getCurrentUserSubscriptions=function(){return d},y.getSubscription=function(e){return d.find((function(t){return t.id===e}))},a=r,(o=[{key:"isModifyingSubscription",get:function(){return f}},{key:"subscribeError",get:function(){return c}},{key:"unsubscribeError",get:function(){return p}},{key:"cooldownEndsAt",get:function(){return s}}])&&i(a.prototype,o),v&&i(a,v),r}(r.default.Store))(a.default,{GUILD_PREMIUM_SUBSCRIPTIONS_FETCH_SUCCESS:function(e){var t=e.guildId,n=e.subscriptions;u[t]={subscriptions:n,lastFetchedAt:Date.now()}},GUILD_USER_PREMIUM_SUBSCRIPTIONS_FETCH_SUCCESS:function(e){var t=e.subscriptions;d=t},GUILD_PREMIUM_SUBSCRIPTIONS_COOLDOWN_FETCH_SUCCESS:function(e){var t=e.endsAt;s=t},GUILD_PREMIUM_UNSUBSCRIBE_START:function(e){return v()},GUILD_PREMIUM_SUBSCRIBE_START:function(e){return v()},GUILD_PREMIUM_SUBSCRIBE_SUCCESS:function(e){var t=e.subscriptions,n=new Set(t.map((function(e){return e.id})));d=[].concat(t,d.filter((function(e){return!n.has(e.id)}))),c=null,f=!1},GUILD_PREMIUM_SUBSCRIBE_FAIL:function(e){var t=e.error;f=!1,c=t},GUILD_PREMIUM_UNSUBSCRIBE_SUCCESS:function(e){var t=e.subscriptionId;d=d.filter((function(e){return e.id!==t})),f=!1},GUILD_PREMIUM_UNSUBSCRIBE_FAIL:function(e){var t=e.error;f=!1,p=t}});t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(5));function a(e){return e&&e.__esModule?e:{default:e}}function o(){return(o=Object.assign||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}).apply(this,arguments)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e){var t,n;function a(t){var n;return(n=e.call(this)||this).code=t.code||"",n.temporary=t.temporary||!1,n.revoked=t.revoked||!1,n.uses=t.uses||0,n.maxUses=t.maxUses||0,n.maxAge=t.maxAge||0,n.createdAt=t.createdAt||new Date,n.channel=t.channel,n.guild=t.guild,n.inviter=t.inviter||null,n.targetType=t.targetType||null,n.targetUser=t.targetUser||null,n.targetApplication=t.targetApplication||null,n}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n),a.createFromServer=function(e){var t;return new a(o({},e,{maxUses:e.max_uses,maxAge:e.max_age,createdAt:(0,r.default)(null!==(t=e.created_at)&&void 0!==t?t:void 0),targetType:e.target_type,targetUser:e.target_user,targetApplication:e.target_application}))};var l=a.prototype;return l.isExpired=function(){var e=this.maxAge;if(e>0&&(0,r.default)(this.createdAt).add(e,"seconds").isBefore(Date.now()))return!0;return!1},l.getExpiresAt=function(){return this.maxAge>0?(0,r.default)(this.createdAt).add(this.maxAge,"seconds").toDate():1/0},l.toString=function(){return this.code},a}(a(n(62)).default);t.default=l},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.NUF_NOTIFICATION_MODAL_KEY=t.NewUserTypes=void 0,t.NewUserTypes=r,function(e){e[e.MARKETING_UNCLAIMED=0]="MARKETING_UNCLAIMED",e[e.INVITE_UNCLAIMED=1]="INVITE_UNCLAIMED",e[e.ORGANIC_REGISTERED=2]="ORGANIC_REGISTERED",e[e.ORGANIC_REGISTERED_GUILD_TEMPLATE=3]="ORGANIC_REGISTERED_GUILD_TEMPLATE"}(r||(t.NewUserTypes=r={}));t.NUF_NOTIFICATION_MODAL_KEY="nuf-notification-modal-key"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useChannelNotificationRadioItems=m,t.default=_;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=c(n(8477)),l=c(n(9160)),u=n(8253),s=c(n(181)),d=n(1),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e){switch(e.type){case d.ChannelTypes.GUILD_VOICE:return null;case d.ChannelTypes.GUILD_STAGE_VOICE:return function(e){return l.default.getCurrentConfig({guildId:e.guild_id}).showNotificationSurfaces?[{setting:d.UserNotificationSettings.NULL,label:f.default.Messages.FORM_LABEL_DEFAULT},{setting:d.UserNotificationSettings.ONLY_MENTIONS,label:f.default.Messages.FORM_LABEL_LIVE_STAGES_ONLY},{setting:d.UserNotificationSettings.NO_MESSAGES,label:f.default.Messages.FORM_LABEL_NOTHING}]:null}(e);default:return[{setting:d.UserNotificationSettings.NULL,label:f.default.Messages.FORM_LABEL_DEFAULT},{setting:d.UserNotificationSettings.ALL_MESSAGES,label:f.default.Messages.FORM_LABEL_ALL_MESSAGES},{setting:d.UserNotificationSettings.ONLY_MENTIONS,label:f.default.Messages.FORM_LABEL_ONLY_MENTIONS.format()},{setting:d.UserNotificationSettings.NO_MESSAGES,label:f.default.Messages.FORM_LABEL_NOTHING}]}}function m(e){var t=e.getGuildId(),n=e.id,r=(0,o.useStateFromStores)([s.default],(function(){return s.default.getChannelOverrides(t)[n]}),[t,n]);var l=null==r?d.UserNotificationSettings.NULL:r.message_notifications,f=y(e);return null==f?null:a.createElement(a.Fragment,null,f.map((function(e){var r=e.setting,a=e.label;return v(u.MenuRadioItem,{group:"channel-notifications",id:""+r,label:a,action:function(){return e=r,void(null!=t&&i.default.updateChannelOverrideSettings(t,n,{message_notifications:e}));var e},checked:r===l},r)})))}function _(e){var t=m(e);return v(u.MenuItem,{id:"channel-notifications",label:f.default.Messages.NOTIFICATION_SETTINGS},void 0,t)}_.displayName="useChannelNotificationItems"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.useStateFromStores)([a.default],(function(){return null!=e?a.default.getGuildScheduledEventsByIndex(a.StaticGuildEventIndexes.GUILD_STAGE_EVENT_ACTIVE(e)):i}),[e])},t.useGuildChannelStageEvents=function(e,t){return(0,r.useStateFromStores)([a.default],(function(){return null!=e?a.default.getGuildScheduledEventsByIndex(a.StaticGuildEventIndexes.GUILD_CHANNEL_STAGE_EVENT_ACTIVE(e,t)):i}),[e,t])};var r=n(3),a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(8764));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}var i=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=k;var r,a=D(n(0)),o=n(3),i=n(389),l=R(n(8254)),u=R(n(9164)),s=R(n(9165)),d=R(n(8258)),f=R(n(182)),c=D(n(8253)),p=n(8256),v=n(42),y=R(n(11)),m=R(n(86)),_=R(n(1223)),h=R(n(12)),E=R(n(466)),g=n(41),S=R(n(24)),O=R(n(8669)),I=R(n(8405)),T=R(n(9167)),C=R(n(8966)),b=R(n(9741)),M=R(n(9183)),N=R(n(9184)),A=n(1),P=R(n(6));function R(e){return e&&e.__esModule?e:{default:e}}function L(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return L=function(){return e},e}function D(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=L();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function w(){return(w=Object.assign||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}).apply(this,arguments)}function j(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function k(e){var t=e.guild,n=e.onSelect,r=t.id,R=m.default.getDefaultChannel(r),L=(0,o.useStateFromStores)([h.default],(function(){return t.isOwner(h.default.getCurrentUser())}),[t]),D=(0,o.useStateFromStores)([_.default],(function(){return _.default.getUnreadGuildsIgnoreMuted(r)}),[r]),k=(0,N.default)(t,R),U=(0,M.default)(r),G=(0,C.default)(t),F=(0,b.default)(t),B=(0,I.default)(t.id,y.default.getId(),{page:A.AnalyticsPages.GUILD_CHANNEL,section:A.AnalyticsSections.CHAT_USERNAME,object:A.AnalyticsObjects.CONTEXT_MENU_ITEM}),H=(0,T.default)(t),x=(0,d.default)(t.id),V=t.hasFeature(A.GuildFeatures.HUB);if(y.default.isGuest())return null;var W=function(){var e=f.default.isLurking(r);l.default.leaveGuild(r),e&&(0,v.transitionTo)(A.Routes.GUILD_DISCOVERY)};function Y(){(0,g.openModal)((function(e){return a.createElement(E.default,w({header:P.default.Messages.LEAVE_SERVER_TITLE.format({name:t.name}),confirmText:t.hasFeature(A.GuildFeatures.HUB)?P.default.Messages.LEAVE_HUB:P.default.Messages.LEAVE_SERVER,cancelText:P.default.Messages.CANCEL,onConfirm:W},e),j(S.default,{size:S.default.Sizes.SIZE_16},void 0,t.hasFeature(A.GuildFeatures.HUB)?P.default.Messages.LEAVE_HUB_BODY.format({name:t.name}):P.default.Messages.LEAVE_SERVER_BODY.format({name:t.name})))}))}return V?j(c.default,{navId:"guild-context",onClose:i.closeContextMenu,"aria-label":P.default.Messages.GUILD_ACTIONS_MENU_LABEL,onSelect:n},void 0,j(c.MenuGroup,{},void 0,k,B),L?null:j(c.MenuGroup,{},void 0,j(c.MenuItem,{id:"leave-guild",label:P.default.Messages.LEAVE_HUB,action:Y,color:p.MenuItemColor.DANGER})),j(c.MenuGroup,{},void 0,x)):j(c.default,{navId:"guild-context",onClose:i.closeContextMenu,"aria-label":P.default.Messages.GUILD_ACTIONS_MENU_LABEL,onSelect:n},void 0,j(c.MenuGroup,{},void 0,j(c.MenuItem,{id:"mark-guild-read",label:P.default.Messages.MARK_AS_READ,action:function(){return(0,O.default)([r])},disabled:!D})),j(c.MenuGroup,{},void 0,k),j(c.MenuGroup,{},void 0,G),j(c.MenuGroup,{},void 0,U,F,__OVERLAY__?null:a.createElement(a.Fragment,null,j(c.MenuItem,{id:"notifications",label:P.default.Messages.NOTIFICATION_SETTINGS,action:function(){return(0,g.openModal)((function(e){return a.createElement(u.default,w({},e,{guildId:r}))}))}}),j(c.MenuItem,{id:"privacy",label:P.default.Messages.PRIVACY_SETTINGS,action:function(){return(0,g.openModal)((function(e){return a.createElement(s.default,w({},e,{guild:t}))}))}})),B),j(c.MenuGroup,{},void 0,H),j(c.MenuGroup,{},void 0,!L&&j(c.MenuItem,{id:"leave-guild",label:P.default.Messages.LEAVE_SERVER,action:Y,color:p.MenuItemColor.DANGER})),j(c.MenuGroup,{},void 0,x))}k.displayName="GuildContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNoRolesRow=S,t.getRolesRows=function(e,t,n,r){void 0===r&&(r=function(){return!0});if(null==e.roles)return[];return Object.values(e.roles).filter((function(a){return!h(a)&&O(t,a.id,n)&&I(e,a)&&r(a.name)})).sort(g).map((function(e){return E(e)}))},t.getRolesRowsWithPermissionDisabled=function(e,t,n,a){void 0===a&&(a=function(){return!0});if(null==e.roles)return[];return Object.values(e.roles).filter((function(r){return!h(r)&&O(t,r.id,n)&&I(e,r)&&a(r.name)})).sort(g).map((function(e){return E(e,r.default.has(e.permissions,n))}))},t.getExistingRoles=T,t.getAllExistingRolesWithPermission=C,t.getExistingRolesRows=function(e,t,n,r){var a=[];if(null==e.roles)return a;if(0===(a=T(e,t,n,r).sort(g).map((function(e){return E(e)}))).length)return S(y.default.Messages.CHANNEL_PERMISSIONS_NO_ROLES);return a},t.getExistingRolesRowWithPermissionDisabled=function(e,t,n,a){var o=[];if(null==e.roles)return o;if(0===(o=C(e,t,n,a).sort(g).map((function(e){return E(e,r.default.has(e.permissions,n))}))).length)return S(y.default.Messages.CHANNEL_PERMISSIONS_NO_ROLES);return o},t.getMembersRows=function(e,t,n,r,a){void 0===a&&(a=function(){return!0});return e.map(s.default.getUser).filter(f.isNotNullish).filter((function(e){return!n.isOwner(e)&&O(t,e.id,r)&&(a(b(e,n))||a(e.username)||a(e.discriminator))})).map((function(e){return N(e,n)})).sort(A)},t.getExistingMembers=P,t.getExistingMembersRows=function(e,t,n,r,a){return P(e,t,n,r,a).map((function(e){return N(e,n)})).sort(A)},t.getRowTypeLabel=function(e,t){switch(e){case p.RowType.ROLE:return y.default.Messages.PRIVATE_CHANNEL_ADD_MEMBERS_MODAL_ROW_ROLE;case p.RowType.OWNER:return y.default.Messages.PRIVATE_CHANNEL_ADD_MEMBERS_MODAL_ROW_OWNER;case p.RowType.ADMINISTRATOR:return y.default.Messages.PRIVATE_CHANNEL_ADD_MEMBERS_MODAL_ROW_ADMINISTRATOR;case p.RowType.MEMBER:return t?y.default.Messages.PRIVATE_CHANNEL_ADD_MEMBERS_MODAL_ROW_MEMBER:null;case p.RowType.EMPTY_STATE:return null}},t.getRemoveTooltipHint=function(e){switch(e){case p.RowType.ROLE:return y.default.Messages.CHANNEL_PERMISSIONS_ADD_MEMBERS_TOOLTIP;case p.RowType.OWNER:return y.default.Messages.CHANNEL_PERMISSIONS_ADD_MEMBERS_TOOLTIP_OWNER;case p.RowType.ADMINISTRATOR:return y.default.Messages.CHANNEL_PERMISSIONS_ADD_MEMBERS_TOOLTIP_ADMINISTRATOR;case p.RowType.MEMBER:return y.default.Messages.CHANNEL_PERMISSIONS_ADD_MEMBERS_TOOLTIP;case p.RowType.EMPTY_STATE:default:return null}},t.flipEveryonePermission=R,t.toggleChannelEveryonePermission=function(e,t,n){var r=R(e,t,n);(0,o.updatePermission)(r.id,r.allow,r.deny)},t.grantUserChannelAccess=function(e,t){var n=s.default.getCurrentUser(),a=e.permissionOverwrites[n.id];if(null==a){var l={id:n.id,type:i.PermissionOverwriteType.MEMBER,allow:r.default.add(c.default.NONE,t),deny:c.default.NONE};(0,o.savePermissionUpdates)(e.id,[l],!0)}else{var u=a.allow,d=a.deny;u=r.default.add(u,t),(0,o.updatePermission)(a.id,u,d)}},t.isPrivateGuildChannel=function(e,t){if(null==e)return!1;var n=e.permissionOverwrites[e.guild_id];t&&null!=t[e.guild_id]&&(n=t[e.guild_id]);if(null!=n)return r.default.has(n.deny,e.viewPermission);return!1},t.hasCustomRoles=function(e){var t=Object.keys(e.roles);return 0!==t.length&&(1!==t.length||t[0]!==e.id)},t.isPrivateTextChannel=function(e){var t=e.permissionOverwrites[e.guild_id];return null!=t&&e.type===v.ChannelTypes.GUILD_TEXT&&r.default.has(t.deny,v.Permissions.VIEW_CHANNEL)},t.canCreatePrivateChannel=function(e,t,n){if(e===v.ChannelTypes.GUILD_TEXT||e===v.ChannelTypes.GUILD_ANNOUNCEMENT)return t;if((0,l.isGuildVocalChannelType)(e)||e===v.ChannelTypes.GUILD_CATEGORY)return t&&n;return!0},t.getPrivateChannelHintText=function(e){switch(e){case v.ChannelTypes.GUILD_TEXT:case v.ChannelTypes.GUILD_ANNOUNCEMENT:return y.default.Messages.PRIVATE_TEXT_CHANNEL_CREATION_PERMISSION_MISSING_HINT.format();case v.ChannelTypes.GUILD_VOICE:return y.default.Messages.PRIVATE_VOICE_CHANNEL_CREATION_PERMISSION_MISSING_HINT.format();case v.ChannelTypes.GUILD_CATEGORY:return y.default.Messages.PRIVATE_CATEGORY_CREATION_PERMISSION_MISSING_HINT.format();default:return null}},t.extractPermissionOverwrites=function(e,t){var n=[];return Object.values(e).forEach((function(e){var r=e.row;r.id&&(r.rowType===p.RowType.ROLE?n.push((0,d.permissionOverwriteForRole)(r.id,t)):r.rowType===p.RowType.MEMBER&&n.push((0,d.permissionOverwriteForUser)(r.id,t)))})),n};var r=m(n(63)),a=n(202),o=n(8481),i=n(286),l=n(31),u=m(n(56)),s=m(n(12)),d=n(292),f=n(48),c=m(n(78)),p=n(1229),v=n(1),y=m(n(6));function m(e){return e&&e.__esModule?e:{default:e}}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e){return r.default.has(e.permissions,v.Permissions.ADMINISTRATOR)}function E(e,t){var n;void 0===t&&(t=!1);var o=function(e){return r.default.has(e.permissions,v.Permissions.ADMINISTRATOR)?p.RowType.ADMINISTRATOR:p.RowType.ROLE}(e);return{rowType:o,colorString:null!==(n=e.colorString)&&void 0!==n?n:(0,a.int2hex)(v.DEFAULT_ROLE_COLOR),name:e.name,id:e.id,disabled:h(e)||t,key:o+":"+e.id}}function g(e,t){var n=h(e)?0:1,r=h(t)?0:1;return n!==r?n-r:t.position-e.position}function S(e){return void 0===e&&(e=y.default.Messages.PRIVATE_CHANNEL_ADD_MEMBERS_MODAL_NO_ROLES),[{rowType:p.RowType.EMPTY_STATE,colorString:(0,a.int2hex)(v.DEFAULT_ROLE_COLOR),name:e,disabled:!0,id:"EMPTY_STATE"}]}function O(e,t,n,a){var o=s.default.getCurrentUser();if(null==e)return o.id!==t;var i=e.permissionOverwrites[t];return a&&null!=a[t]&&(i=a[t]),!i||!r.default.has(i.allow,n)}function I(e,t){return e.id!==t.id}function T(e,t,n,r){return Object.values(e.roles).filter((function(a){return h(a)||!O(t,a.id,n,r)&&I(e,a)}))}function C(e,t,n,a){return Object.values(e.roles).filter((function(o){var i;return h(o)||!O(t,o.id,n,a)&&I(e,o)||r.default.has(r.default.combine(o.permissions,null===(i=t.permissionOverwrites[o.id])||void 0===i?void 0:i.allow),n)}))}function b(e,t){var n;return null!==(n=u.default.getNick(t.id,e.id))&&void 0!==n?n:e.username}function M(e,t){return t.isOwner(e)}function N(e,t){var n=function(e,t){return t.isOwner(e)?p.RowType.OWNER:p.RowType.MEMBER}(e,t);return{rowType:n,name:b(e,t),userTag:e.tag,id:e.id,avatarURL:e.getAvatarURL(t.id),bot:e.bot,verifiedBot:e.isVerifiedBot(),disabled:M(e,t),key:n+":"+e.id}}function A(e,t){return e.rowType!==t.rowType?e.rowType-t.rowType:e.name.toLocaleLowerCase().localeCompare(t.name.toLocaleLowerCase())}function P(e,t,n,r,a){return e.map(s.default.getUser).filter(f.isNotNullish).filter((function(e){return!O(t,e.id,r,a)||M(e,n)}))}function R(e,t,n){var a=e.permissionOverwrites[e.guild_id];null==a&&(a=c.default.makeEveryoneOverwrite(e.guild_id));var o=_({},a);return o.deny=r.default.remove(o.deny,t),o.allow=r.default.remove(o.allow,t),n||(o.deny=r.default.add(o.deny,t)),o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SHAKE_INTENSITY_INCREMENT=t.SHAKE_INTENSITY_MAX=t.SHAKE_INTENSITY_DEFAULT=void 0;var r,a=_(n(0)),o=n(95),i=y(n(416)),l=y(n(55)),u=y(n(8293)),s=n(8263),d=n(121),f=y(n(8257)),c=_(n(8305)),p=n(1),v=y(n(6));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(){return(g=Object.assign||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}).apply(this,arguments)}var S=Object.freeze({shouldPreventNavigation:!1,onPreventNavigation:null});t.SHAKE_INTENSITY_DEFAULT=1.4;t.SHAKE_INTENSITY_MAX=15;function O(e){var t,n,r=e.section,l=e.setPreventNavigation,u=e.scrollerRef;(0,i.default)({type:o.ImpressionTypes.PANE,name:null==r?void 0:r.impressionName,metadata:null==r?void 0:r.impressionMetadata});var s=null!==(t=null==r?void 0:r.element)&&void 0!==t?t:p.NOOP_NULL,d=null!==(n=null==r?void 0:r.elementProps)&&void 0!==n?n:{};return E(f.default,{section:r.section},void 0,a.createElement(s,g({},d,{setPreventNavigation:l,refToScroller:u})))}t.SHAKE_INTENSITY_INCREMENT=2,O.displayName="SettingsContent";var I=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this)._unmounted=!1,t._intensity=1.4,t._subscribedStores=[],t.scrollerRef=a.createRef(),t.state=S,t.setPreventNavigation=function(e,n){t.setState({shouldPreventNavigation:e,onPreventNavigation:n})},t.handleSetSection=function(e){var n=t.props,r=n.onSetSection,a=n.sections,o=t.state,i=o.shouldPreventNavigation,l=o.onPreventNavigation,u=function(){r(e);var n=(a.find((function(t){return e===t.section}))||{}).notice,o=null!=n?n.store:null;null==o||t._subscribedStores.includes(o)||(o.addChangeListener(t.handleNoticeStoreUpdate),t._subscribedStores.push(o)),t.setState(S)};t.validNavigation()&&!i&&u(),i&&null!=l&&l(u)},t.handleClose=function(){if(t.validNavigation()){var e=t.props.onClose;e&&e()}},t.handleNoticeStoreUpdate=function(){t._unmounted||(t._intensity=1.4,t.forceUpdate())},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n);var o=r.prototype;return o.componentDidMount=function(){var e=this;this.getPredicateSections().forEach((function(t){var n=t.notice;if(null!=n){var r=n.store;null!=r&&(r.addChangeListener(e.handleNoticeStoreUpdate),e._subscribedStores.push(r))}}))},o.componentDidUpdate=function(e){e.section!==this.props.section&&(this._intensity=1.4)},o.componentWillUnmount=function(){var e=this;this._unmounted=!0,this._subscribedStores.forEach((function(t){return t.removeChangeListener(e.handleNoticeStoreUpdate)}))},o.getPredicateSections=function(){return this.props.sections.filter((function(e){return null==e.predicate||e.predicate()}))},o.validNavigation=function(){var e=this.props.section,t=(this.getPredicateSections().find((function(t){return e===t.section}))||{}).notice;return t&&t.store.showNotice()?(d.ComponentDispatch.dispatch(p.ComponentActions.SHAKE_APP,{duration:300,intensity:this._intensity}),this._intensity=Math.min(this._intensity+2,15),d.ComponentDispatch.dispatch(p.ComponentActions.EMPHASIZE_NOTICE),!1):(this._intensity=1.4,!0)},o.renderSidebar=function(e){var t=this.props.section||e[0].section;return E(u.default,{selectedItem:t,onItemSelect:this.handleSetSection,orientation:"vertical"},void 0,e.map((function(e,t){var n=e.section,r=e.element,a=e.label,o=void 0===a?null:a,i=e.ariaLabel,d=e.onClick,f=e.color,y=e.icon,m=e.className,_=e.newIndicator,h=e.badgeCount;switch(n){case c.SectionTypes.HEADER:return E(u.default.Header,{},t,o);case c.SectionTypes.DIVIDER:return E(u.default.Separator,{},t);case c.SectionTypes.CUSTOM:return E(r||p.NOOP_NULL,{},t);default:return E(u.default.Item,{color:f,id:n,onClick:d,className:m,"aria-label":i},n,_?E(l.default,{justify:l.default.Justify.BETWEEN,align:l.default.Align.CENTER},void 0,o,E(s.TextBadge,{text:v.default.Messages.NEW.toUpperCase()})):y?E(l.default,{justify:l.default.Justify.BETWEEN,align:l.default.Align.CENTER},void 0,o,y):h?E(l.default,{justify:l.default.Justify.BETWEEN,align:l.default.Align.CENTER},void 0,o,E(s.NumberBadge,{count:h})):o)}})))},o.renderNotice=function(e){var t=this.props.theme;if(null==e||null==e.notice)return null;var n=e.notice,r=n.store,a=n.element;return null==r||r.showNotice()?E(a,{theme:t}):null},o.render=function(){var e=this.props,t=e.theme,n=e.sidebarTheme,r=e.section,a=this.getPredicateSections(),o=a.find((function(e){return e.section===r}));return null==o||null==r?null:E(c.default,{theme:t,sidebarTheme:n,scrollerRef:this.scrollerRef,section:r,sidebar:this.renderSidebar(a),content:E(O,{section:o,setPreventNavigation:this.setPreventNavigation,scrollerRef:this.scrollerRef}),contentType:o.type,notice:this.renderNotice(o),closeAction:this.handleClose})},r}(a.PureComponent);I.displayName="SettingsView";var T=I;t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useHasGuildRoleItems=function(e,t){return(0,i.default)(e,t).length>0},t.default=f;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(389),o=u(n(8253)),i=u(n(9772)),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t=e.role,n=e.guild,r=e.onSelect,u=(0,i.default)(n,t);return 0===u.length?null:d(o.default,{navId:"guild-settings-role-context","aria-label":l.default.Messages.GUILD_ROLE_ACTIONS_MENU_LABEL,onClose:a.closeContextMenu,onSelect:r},void 0,u)}f.displayName="GuildSettingsRoleContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fillRule:"evenodd",clipRule:"evenodd",className:f,d:"M16.002 8.00598C16.002 10.211 14.208 12.006 12.002 12.006C9.79695 12.006 8.00195 10.211 8.00195 8.00598C8.00195 5.80098 9.79595 4.00598 12.002 4.00598C14.208 4.00598 16.002 5.80098 16.002 8.00598ZM4.00195 19.006C4.00195 15.473 7.29195 13.006 12.002 13.006C16.713 13.006 20.002 15.473 20.002 19.006V20.006H4.00195V19.006Z",fill:d}))}d.displayName="Person"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.maybeFetchGuildDiscoveryCategories=function(e){return f.apply(this,arguments)},t.fetchMetadataForGuild=function(e){return c.apply(this,arguments)},t.updateGuildPrimaryCategory=function(e,t){a.default.dispatch({type:l.ActionTypes.GUILD_UPDATE_DISCOVERY_METADATA,guildId:e,primaryCategoryId:t})},t.updateGuildKeywords=function(e,t){a.default.dispatch({type:l.ActionTypes.GUILD_UPDATE_DISCOVERY_METADATA,guildId:e,keywords:t})},t.updateGuildEmojiDiscoverabilityEnabled=function(e,t){a.default.dispatch({type:l.ActionTypes.GUILD_UPDATE_DISCOVERY_METADATA,guildId:e,emojiDiscoverabilityEnabled:t})},t.saveGuildMetadata=function(e,t,n,r,a,o){return p.apply(this,arguments)},t.addGuildCategory=function(e,t){r.default.post({url:l.Endpoints.GUILD_DISCOVERY_UPDATE_CATEGORY(e,t),oldFormErrors:!0}).then((function(){a.default.dispatch({type:l.ActionTypes.GUILD_DISCOVERY_CATEGORY_ADD,guildId:e,categoryId:t})})).catch((function(t){a.default.dispatch({type:l.ActionTypes.GUILD_DISCOVERY_CATEGORY_UPDATE_FAIL,guildId:e,errors:t.body})}))},t.deleteGuildCategory=function(e,t){r.default.delete({url:l.Endpoints.GUILD_DISCOVERY_UPDATE_CATEGORY(e,t),oldFormErrors:!0}).then((function(){a.default.dispatch({type:l.ActionTypes.GUILD_DISCOVERY_CATEGORY_DELETE,guildId:e,categoryId:t})})).catch((function(t){a.default.dispatch({type:l.ActionTypes.GUILD_DISCOVERY_CATEGORY_UPDATE_FAIL,guildId:e,errors:t.body})}))};var r=u(n(14)),a=u(n(2)),o=u(n(39)),i=u(n(8483)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){s(o,r,a,i,l,"next",e)}function l(e){s(o,r,a,i,l,"throw",e)}i(void 0)}))}}function f(){return(f=d(regeneratorRuntime.mark((function e(t){var n,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===t&&(t=!1),(n=o.default.locale)!==i.default.getFetchedLocale()){e.next=4;break}return e.abrupt("return");case 4:return e.next=6,r.default.get({url:l.Endpoints.GUILD_DISCOVERY_CATEGORIES,query:{locale:n,primary_only:t},oldFormErrors:!0});case 6:u=e.sent,a.default.dispatch({type:l.ActionTypes.GUILD_DISCOVERY_CATEGORY_FETCH_SUCCESS,categories:u.body,locale:n});case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function c(){return(c=d(regeneratorRuntime.mark((function e(t){var n,o,i,u,s,d,f,c,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r.default.get({url:l.Endpoints.GUILD_DISCOVERY_METADATA(t),oldFormErrors:!0});case 3:return n=e.sent,o=n.body,i=o.primary_category_id,u=o.category_ids,s=o.keywords,d=o.emoji_discoverability_enabled,f=o.partner_actioned_timestamp,c=o.partner_application_timestamp,p={primaryCategoryId:i,secondaryCategoryIds:u,keywords:s,emojiDiscoverabilityEnabled:d,partnerActionedTimestamp:f,partnerApplicationTimestamp:c},a.default.dispatch({type:l.ActionTypes.GUILD_UPDATE_DISCOVERY_METADATA_FROM_SERVER,guildId:t,metadata:p}),e.abrupt("return",p);case 10:e.prev=10,e.t0=e.catch(0),a.default.dispatch({type:l.ActionTypes.GUILD_DISCOVERY_METADATA_FETCH_FAIL});case 13:case"end":return e.stop()}}),e,null,[[0,10]])})))).apply(this,arguments)}function p(){return(p=d(regeneratorRuntime.mark((function e(t,n,o,i,u,s){var d,f,c,p,v,y,m,_;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r.default.patch({url:l.Endpoints.GUILD_DISCOVERY_METADATA(t),body:{primary_category_id:n,emoji_discoverability_enabled:i,partner_actioned_timestamp:u,partner_application_timestamp:s,keywords:o},oldFormErrors:!0});case 3:d=e.sent,f=d.body,c=f.primary_category_id,p=f.category_ids,v=f.keywords,y=f.emoji_discoverability_enabled,m=f.partner_actioned_timestamp,_=f.partner_application_timestamp,a.default.dispatch({type:l.ActionTypes.GUILD_UPDATE_DISCOVERY_METADATA_FROM_SERVER,guildId:t,metadata:{primaryCategoryId:c,secondaryCategoryIds:p,keywords:v,emojiDiscoverabilityEnabled:y,partnerActionedTimestamp:m,partnerApplicationTimestamp:_}}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),a.default.dispatch({type:l.ActionTypes.GUILD_DISCOVERY_CATEGORY_UPDATE_FAIL,guildId:t,errors:e.t0.body});case 11:case"end":return e.stop()}}),e,null,[[0,8]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=c(n(8458)),l=n(8253),u=c(n(40)),s=n(41),d=n(1),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(){return(y=Object.assign||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}).apply(this,arguments)}function m(e,t){var n=(0,o.useStateFromStores)([u.default],(function(){return u.default.can(d.Permissions.MANAGE_CHANNELS,e)}),[e]);return __OVERLAY__||!n?null:v(l.MenuItem,{id:"clone-channel",label:f.default.Messages.CLONE_CHANNEL,action:function(){return(0,s.openModal)((function(n){return a.createElement(i.default,y({},n,{channelType:e.type,guildId:t.id,categoryId:e.parent_id,cloneChannelId:e.id}))}))}})}m.displayName="useChannelCloneItem"},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(14)),a=s(n(2)),o=s(n(9221)),i=s(n(154)),l=n(1),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}var d={pinMessage:function(e,t){var n=e.id,a=e.name;r.default.put({url:l.Endpoints.PIN(n,t),oldFormErrors:!0}).catch((function(){var t;t=e.isPrivate()?u.default.Messages.PIN_MESSAGE_TOO_MANY_BODY_PRIVATE_CHANNEL.format({maxPins:l.MAX_PINS_PER_CHANNEL}):u.default.Messages.PIN_MESSAGE_TOO_MANY_BODY.format({maxPins:l.MAX_PINS_PER_CHANNEL,channelName:a}),i.default.show({title:u.default.Messages.PIN_MESSAGE_TOO_MANY_TITLE,body:t,confirmText:u.default.Messages.OKAY})}))},unpinMessage:function(e,t){r.default.delete({url:l.Endpoints.PIN(e.id,t),oldFormErrors:!0}).catch((function(){return i.default.show({title:u.default.Messages.UNPIN_MESSAGE_FAILED_TITLE,body:u.default.Messages.UNPIN_MESSAGE_FAILED_BODY,confirmText:u.default.Messages.TRY_AGAIN,cancelText:u.default.Messages.CANCEL,onConfirm:d.unpinMessage.bind(d,e,t)})}))},ackPins:function(e){a.default.dirtyDispatch({type:l.ActionTypes.CHANNEL_PINS_ACK,channelId:e})},fetchPins:function(e){var t=o.default.getPinnedMessages(e);t&&(t.loaded||t.loading)||(a.default.dirtyDispatch({type:l.ActionTypes.LOAD_PINNED_MESSAGES,channelId:e}),r.default.get({url:l.Endpoints.PINS(e),retries:2,oldFormErrors:!0}).then((function(t){a.default.dispatch({type:l.ActionTypes.LOAD_PINNED_MESSAGES_SUCCESS,messages:t.body,channelId:e})}),(function(){a.default.dispatch({type:l.ActionTypes.LOAD_PINNED_MESSAGES_FAILURE,channelId:e})})))}},f=d;t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(3)),a=s(n(14)),o=s(n(2)),i=s(n(11)),l=n(1242),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(){return(f=Object.assign||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}).apply(this,arguments)}var c,p={},v=Object.freeze({});function y(e){return p[e]||v}function m(e){var t=e.channelId,n=e.userId,r=f({},y(t));clearTimeout(r[n]),r[n]=function(e,t){return setTimeout((function(){o.default.dispatch({type:u.ActionTypes.TYPING_STOP,channelId:e,userId:t})}),u.TYPING_TIMEOUT)}(t,n),p[t]=r}function _(e){var t=e.channelId,n=e.userId,r=p[t];if(null==r||null==r[n])return!1;var a=f({},r);clearTimeout(a[n]),delete a[n],p[t]=a}function h(){p={}}var E=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var a=r.prototype;return a.getTypingUsers=function(e){return y(e)},a.isTyping=function(e,t){return null!=y(e)[t]},r}(r.default.Store))(o.default,{TYPING_START:m,TYPING_STOP:_,TYPING_START_LOCAL:function(e){var t=e.channelId,n=i.default.getId();if(null==n)return!1;null!=c&&c.channelId!==t&&(null!=c.timeout&&clearTimeout(c.timeout),c=null);var r=Date.now(),s=.8*u.TYPING_TIMEOUT;if(null!=c&&(null!=c.timeout||c.prevSend+s>r))return!1;var d=null==c||c.prevSend>r-2*s?u.TYPING_DELAY_LOCAL:0,f=setTimeout((function(){null!=c&&c.channelId===t&&n===i.default.getId()&&null!=c.timeout&&(c.timeout=null,function(e){var t=y(e);return t===v?0:Object.keys(t).length}(t)>u.MAX_TYPING_USERS||a.default.post({url:u.Endpoints.TYPING(t),oldFormErrors:!0}).then((function(e){if(200===e.status){var n,r,a=null!==(n=e.body.message_send_cooldown_ms)&&void 0!==n?n:0,i=null!==(r=e.body.thread_create_cooldown_ms)&&void 0!==r?r:0;a>0&&o.default.dispatch({type:u.ActionTypes.SLOWMODE_SET_COOLDOWN,channelId:t,slowmodeType:l.SlowmodeType.SendMessage,cooldownMs:a}),i>0&&o.default.dispatch({type:u.ActionTypes.SLOWMODE_SET_COOLDOWN,channelId:t,slowmodeType:l.SlowmodeType.CreateThread,cooldownMs:i})}})))}),d);return c={channelId:t,timeout:f,prevSend:r},m({channelId:t,userId:n})},TYPING_STOP_LOCAL:function(e){var t=e.channelId,n=i.default.getId();return null!=n&&(null!=c&&c.channelId===t&&null!=c.timeout&&(clearTimeout(c.timeout),c=null,_({channelId:t,userId:n})))},CONNECTION_OPEN:function(e){return h()},OVERLAY_INITIALIZE:function(e){return h()},MESSAGE_CREATE:function(e){var t=e.channelId,n=e.message.author;return e.optimistic&&function(e){if(null==c||c.channelId!==e)return!1;null!=c.timeout&&clearTimeout(c.timeout),c=null}(t),_({channelId:t,userId:n.id})}});t.default=E},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=I,t.CreateGuildSlideTypes=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(95),l=g(n(1259)),u=n(703),s=n(85),d=n(35),f=g(n(13)),c=n(259),p=g(n(9086)),v=g(n(9087)),y=g(n(8791)),m=g(n(9089)),_=g(n(9268)),h=n(1),E=g(n(7422));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(e){var t=e.transitionState,n=e.initialSlide,r=void 0===n?a.GUILD_TEMPLATES:n,g=e.onSuccess,S=e.onClose,I=e.onSlideChange,T=e.hasJoinButton,C=(0,s.useUID)(),b=o.useState(r),M=b[0],N=b[1],A=(0,l.default)(M),P=o.useState(null),R=P[0],L=P[1],D=o.useState(null),w=D[0],j=D[1],k=o.useState(null),U=k[0],G=k[1],F=o.useState(!1),B=F[0],H=F[1];o.useEffect((function(){N(r)}),[N,r]),o.useEffect((function(){M!==A&&I(M)}),[I,M,A]);var x=o.useCallback((function(e){N(a.CREATION_INTENT),j(e),f.default.track(h.AnalyticEvents.GUILD_TEMPLATE_SELECTED,{template_name:e.id,template_code:e.code})}),[]),V=o.useCallback((function(e){H(e),N(a.CUSTOMIZE_GUILD)}),[]),W=o.useCallback((function(){return N(a.JOIN_GUILD)}),[N]),Y=o.useCallback((function(){M!==a.CUSTOMIZE_GUILD?(N(a.GUILD_TEMPLATES),j(null)):N(a.CREATION_INTENT)}),[M]),z=o.useCallback((function(e){G(e),g()}),[g,G]),K={impression_group:i.ImpressionGroups.GUILD_ADD_FLOW};return O("div",{className:(0,c.getThemeClass)(h.ThemeTypes.LIGHT)},void 0,O(d.ModalRoot,{transitionState:t,"aria-labelledby":C,disableTrack:!0},void 0,O("div",{className:E.default.container},void 0,O(u.Slides,{activeSlide:M,width:440,onSlideReady:function(e){return L(e)}},void 0,O(u.Slide,{id:a.GUILD_TEMPLATES,impressionName:i.ImpressionNames.GUILD_ADD_LANDING,impressionMetadata:K},void 0,O(m.default,{isNewUser:!1,onJoin:T?W:void 0,onChooseTemplate:x,onClose:S})),O(u.Slide,{id:a.CREATION_INTENT,impressionName:i.ImpressionNames.GUILD_ADD_INTENT_SELECTION,impressionMetadata:K},void 0,O(v.default,{onClose:S,onBack:Y,onCreationIntentChosen:V})),O(u.Slide,{id:a.CUSTOMIZE_GUILD,impressionName:i.ImpressionNames.GUILD_ADD_CUSTOMIZE,impressionMetadata:K},void 0,O(y.default,{guildTemplate:w,onGuildCreated:z,onClose:S,onBack:Y,isSlideReady:R===a.CUSTOMIZE_GUILD,isCommunity:B})),O(u.Slide,{id:a.CHANNEL_PROMPT,impressionName:i.ImpressionNames.GUILD_ADD_CHANNEL_PROMPT,impressionMetadata:K},void 0,O(p.default,{createdGuildId:U,onClose:S,onChannelPromptCompleted:g,isSlideReady:R===a.CHANNEL_PROMPT})),O(u.Slide,{id:a.JOIN_GUILD,impressionName:i.ImpressionNames.GUILD_ADD_JOIN,impressionMetadata:K},void 0,O(_.default,{onBack:Y,onClose:S,isSlideReady:R===a.JOIN_GUILD}))))))}t.CreateGuildSlideTypes=a,function(e){e.GUILD_TEMPLATES="guild-templates",e.CUSTOMIZE_GUILD="customize-guild",e.CHANNEL_PROMPT="channel-prompt",e.JOIN_GUILD="join-guild",e.CREATION_INTENT="creation-intent"}(a||(t.CreateGuildSlideTypes=a={})),I.displayName="CreateGuildModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(0)),a=f(n(10307)),o=f(n(397)),i=f(n(8422)),l=f(n(118)),u=p(n(8289)),s=f(n(16)),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=["openFile"];e.multiple&&t.push("multiSelections");var n=e.filters;l.default.fileManager.openFiles({properties:t,filters:n},e.maxSize,u.makeFile).then((function(t){null!=(t=t.map((function(e){return u.transformNativeFile(e)})))&&e.onChange({stopPropagation:function(){return null},preventDefault:function(){return null},currentTarget:{files:t}})}),(function(t){if("ETOOLARGE"!==t.code)throw t;o.default.push(i.default,{title:d.default.Messages.UPLOAD_AREA_TOO_LARGE_TITLE,help:d.default.Messages.UPLOAD_AREA_TOO_LARGE_HELP.format({maxSize:u.sizeString(e.maxSize)})})}))}var _=function(e){var t,n;function o(t){var n;return(n=e.call(this,t)||this)._ref=r.createRef(),n.setRef=n.setRef.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n)),n}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n);var i=o.prototype;return i.activateUploadDialogue=function(){if(this._ref)return this._ref.activateUploadDialogue()},i.setRef=function(e){this._ref=e},i.render=function(){return r.createElement(a.default,v({ref:this.setRef,handleNativeClick:m,embedded:s.default.isDesktop()},this.props))},o}(r.Component);_.displayName="FileInput";var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.type===r.MessageTypes.GUILD_INVITE_REMINDER&&!t};var r=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomGuildEmojiPopout=t.MessageCustomEmojiPopout=t.GuildDetails=t.MessageStandardEmojiPopout=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=V();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=x(n(9)),i=n(3),l=x(n(199)),u=x(n(473)),s=x(n(5938)),d=n(106),f=n(9277),c=x(n(5948)),p=n(42),v=x(n(162)),y=x(n(10)),m=x(n(249)),_=x(n(15)),h=x(n(36)),E=x(n(107)),g=x(n(12)),S=x(n(29)),O=x(n(61)),I=x(n(55)),T=x(n(375)),C=x(n(371)),b=x(n(8319)),M=x(n(149)),N=x(n(159)),A=x(n(8320)),P=x(n(47)),R=x(n(248)),L=x(n(24)),D=x(n(13)),w=x(n(150)),j=n(701),k=x(n(96)),U=x(n(9278)),G=n(8308),F=n(1),B=x(n(6)),H=x(n(7363));function x(e){return e&&e.__esModule?e:{default:e}}function V(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return V=function(){return e},e}function W(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function Y(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){W(o,r,a,i,l,"next",e)}function l(e){W(o,r,a,i,l,"throw",e)}i(void 0)}))}}function z(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function K(){return(K=Object.assign||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}).apply(this,arguments)}var $=function(e){var t=e.node;return a.useEffect((function(){var e=E.default.getGuildId();D.default.track(F.AnalyticEvents.OPEN_POPOUT,K({type:"Standard Emoji Popout",guild_id:e},(0,d.collectChannelAnalyticsMetadata)(y.default.getChannel(h.default.getChannelId(e)))))}),[]),z(G.MessagePopoutContent,{},void 0,z(I.default,{className:H.default.emojiSection},void 0,z(s.default,{emojiName:t.name,className:H.default.primaryEmoji,src:t.src,animated:!1,jumboable:!0}),z(I.default,{direction:I.default.Direction.VERTICAL,justify:I.default.Justify.CENTER,className:H.default.truncatingText},void 0,z(L.default,{className:H.default.emojiName,size:L.default.Sizes.SIZE_16},void 0,z(b.default,{},void 0,t.name)),z(L.default,{},void 0,B.default.Messages.EMOJI_POPOUT_STANDARD_EMOJI_DESCRIPTION))))};t.MessageStandardEmojiPopout=$,$.displayName="MessageStandardEmojiPopout";var Z=function(e){var t=e.guild,n=e.disableLurking,r=void 0!==n&&n,i=t.id,l=t.icon,u=t.name,s=w.default.getGuildIconURL({id:i,icon:l,size:32,canAnimate:!0}),d=function(){r||((0,f.isDiscoverableGuildType)(t)?(0,j.startLurking)(i,{}):(0,p.transitionTo)(F.Routes.CHANNEL(i,h.default.getChannelId(i))))};return z(I.default,{align:I.default.Align.CENTER},void 0,z(R.default,{mask:R.default.Masks.SQUIRCLE,width:32,height:32,className:H.default.guildIconContainer},void 0,null!=s?z(O.default,{onClick:d},void 0,z("img",{src:s,alt:"",className:H.default.guildIcon})," :"):z(C.default,{size:C.default.Sizes.SMALL,className:H.default.guildIcon,guild:(0,f.isDiscoverableGuildType)(t)?new v.default(t):t,onClick:d})),z(I.default,{direction:I.default.Direction.VERTICAL,className:(0,o.default)(H.default.guildInformation,H.default.truncatingText)},void 0,z(I.default,{align:I.default.Align.CENTER},void 0,z(T.default,{guild:t,className:H.default.guildBadge}),z(O.default,{onClick:d,className:H.default.truncatingText},void 0,z(P.default,{className:H.default.guildName,size:P.default.Sizes.SIZE_16},void 0,z(b.default,{},void 0,u)))),z(I.default,{align:I.default.Align.CENTER},void 0,(0,f.isDiscoverableGuildType)(t)?a.createElement(a.Fragment,null,z(L.default,{size:L.default.Sizes.SIZE_12,color:L.default.Colors.HEADER_SECONDARY},void 0,B.default.Messages.INSTANT_INVITE_GUILD_MEMBERS_ONLINE.format({membersOnline:t.presenceCount})),z("div",{className:H.default.dotSeparator}),z(L.default,{size:L.default.Sizes.SIZE_12,color:L.default.Colors.HEADER_SECONDARY},void 0,B.default.Messages.EMOJI_POPOUT_PUBLIC_SERVER)):z(L.default,{size:L.default.Sizes.SIZE_12,color:L.default.Colors.HEADER_SECONDARY},void 0,B.default.Messages.EMOJI_POPOUT_PRIVATE_SERVER))))};t.GuildDetails=Z,Z.displayName="GuildDetails";var q=z(G.PopoutLoadingAnimation,{});t.MessageCustomEmojiPopout=function(e){var t,n=e.node,r=e.closePopout,o=e.refreshPositionKey,l=(0,i.useStateFromStores)([m.default,_.default],(function(){var e=m.default.getCustomEmojiById(n.emojiId);return null==e?null:_.default.getGuild(e.guildId)})),u=null===(t=a.useRef(null==l||l.hasFeature(F.GuildFeatures.DISCOVERABLE)).current)||void 0===t||t,s=a.useState(null),d=s[0],f=s[1],c=a.useState(u),p=c[0],v=c[1];return a.useEffect((function(){u&&function(){var e=Y(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,U.default)(n.emojiId);case 3:t=e.sent,f(t),e.next=9;break;case 7:e.prev=7,e.t0=e.catch(0);case 9:v(!1);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}()()}),[]),a.useEffect((function(){o()}),[p]),p?q:z(X,{node:n,emojiSourceDiscoverableGuild:d,emojiSourceGuildRecord:l,closePopout:r,onToggleShowMoreEmojis:o,demoMode:!1})};var X=function(e){var t=e.node,n=e.emojiSourceDiscoverableGuild,r=e.emojiSourceGuildRecord,f=e.closePopout,p=e.onToggleShowMoreEmojis,v=e.demoMode,m=void 0!==v&&v,_=(0,i.useStateFromStores)([g.default],(function(){return g.default.getNullableCurrentUser()})),T=k.default.isPremium(_),C=(0,i.useStateFromStores)([E.default],(function(){var e=E.default.getGuildId();return null!=e&&(e===(null==n?void 0:n.id)||e===(null==r?void 0:r.id))})),P=null!=r,R=null!=n,w=a.useState(!1),j=w[0],U=w[1],x={page:null!=(0,i.useStateFromStores)([E.default],(function(){return E.default.getGuildId()}))?F.AnalyticsPages.GUILD_CHANNEL:F.AnalyticsPages.DM_CHANNEL,section:F.AnalyticsSections.EMOJI_UPSELL_POPOUT};m&&(T=!0,P=!1,C=!1);var V=E.default.getGuildId(),W=a.useRef(K({guild_id:V,emoji_id:t.emojiId},(0,d.collectChannelAnalyticsMetadata)(y.default.getChannel(h.default.getChannelId(V))))).current,$=null,q=!1,X="Custom Emoji Popout";T?$=P?C?B.default.Messages.EMOJI_POPOUT_PREMIUM_CURRENT_GUILD_DESCRIPTION:B.default.Messages.EMOJI_POPOUT_PREMIUM_JOINED_GUILD_DESCRIPTION:R?B.default.Messages.EMOJI_POPOUT_PREMIUM_UNJOINED_DISCOVERABLE_GUILD_DESCRIPTION:B.default.Messages.EMOJI_POPOUT_PREMIUM_UNJOINED_PRIVATE_GUILD_DESCRIPTION:P?C?($=B.default.Messages.EMOJI_POPOUT_CURRENT_GUILD_DESCRIPTION,q=!0,X="Custom Emoji Popout (Upsell)"):($=B.default.Messages.EMOJI_POPOUT_JOINED_GUILD_DESCRIPTION,q=!0,X="Custom Emoji Popout (Upsell)"):R?($=B.default.Messages.EMOJI_POPOUT_UNJOINED_DISCOVERABLE_GUILD_DESCRIPTION,q=!0,X="Custom Emoji Popout (Upsell)"):($=B.default.Messages.EMOJI_POPOUT_UNJOINED_PRIVATE_GUILD_DESCRIPTION.format({openPremiumSettings:function(){f(),D.default.track(F.AnalyticEvents.PREMIUM_PROMOTION_OPENED,{location_page:x.page,location_section:x.section}),u.default.open(F.UserSettingsSections.PREMIUM)}}),X="Custom Emoji Popout (Soft Upsell)"),a.useEffect((function(){m||D.default.track(F.AnalyticEvents.OPEN_POPOUT,K({type:X},W))}),[]);var J,Q=R||P&&!C;return z(G.MessagePopoutContent,{className:H.default.popoutContent},void 0,(J=function(){var e=Y(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!m&&null!=n&&!P){e.next=2;break}return e.abrupt("return");case 2:return f(),t=n.id,e.prev=4,e.next=7,l.default.joinGuild(t);case 7:l.default.transitionToGuildSync(t),e.next=12;break;case 10:e.prev=10,e.t0=e.catch(4);case 12:case"end":return e.stop()}}),e,null,[[4,10]])})));return function(){return e.apply(this,arguments)}}(),z("div",{className:H.default.emojiSection},void 0,z(I.default,{},void 0,z(s.default,{className:H.default.primaryEmoji,emojiId:t.emojiId,animated:t.animated,jumboable:!0}),z(I.default,{direction:I.default.Direction.VERTICAL,justify:I.default.Justify.CENTER,className:H.default.truncatingText},void 0,z(L.default,{className:H.default.emojiName,size:L.default.Sizes.SIZE_16},void 0,z(b.default,{},void 0,t.name)),null!=$&&z(L.default,{},void 0,$))),q&&z(c.default,{className:H.default.ctaButton,subscriptionTier:F.PremiumSubscriptionSKUs.TIER_2,size:S.default.Sizes.SMALL,fullWidth:!0,buttonText:B.default.Messages.EMOJI_POPOUT_PREMIUM_CTA,onSubscribeModalClose:function(e){return e?J():f()},postSuccessGuild:P||null==n?void 0:n,premiumModalAnalyticsLocation:x}),T&&!P&&R&&z(S.default,{size:S.default.Sizes.SMALL,className:H.default.ctaButton,fullWidth:!0,onClick:J},void 0,B.default.Messages.GUILD_PROFILE_JOIN_SERVER_BUTTON))),Q&&function(){var e,i;if(R||P){var l=(null!==(e=null==n?void 0:n.emojis)&&void 0!==e?e:[]).slice(0,13).filter((function(e){return e.id!==t.emojiId})).slice(0,12);return z("div",{className:H.default.guildSection},void 0,z(N.default,{className:H.default.guildTitle},void 0,P?B.default.Messages.EMOJI_POPOUT_JOINED_GUILD_EMOJI_DESCRIPTION:B.default.Messages.EMOJI_POPOUT_UNJOINED_GUILD_EMOJI_DESCRIPTION),z(Z,{guild:null!=n?n:r}),!P&&a.createElement(a.Fragment,null,z(O.default,{onClick:function(){null==p||p(),j||m||D.default.track(F.AnalyticEvents.EMOJI_UPSELL_POPOUT_MORE_EMOJIS_OPENED,W),U(!j)},className:H.default.showMoreEmojis},void 0,z(I.default,{},void 0,z(L.default,{className:H.default.showMoreEmojisLabel,size:L.default.Sizes.SIZE_12,color:L.default.Colors.CUSTOM},void 0,B.default.Messages.EMOJI_POPOUT_SHOW_MORE_EMOJIS),z(A.default,{className:(0,o.default)(H.default.showMoreEmojisArrow,(i={},i[H.default.showMoreEmojisArrowCollapsed]=!j,i))}))),j&&z(I.default,{wrap:I.default.Wrap.WRAP,align:I.default.Align.START,justify:I.default.Justify.START,className:H.default.otherEmojisContainer},void 0,l.map((function(e){return a.createElement(M.default,K({key:e.id,text:e.require_colons?":"+e.name+":":e.name},G.EXPRESSION_TOOLTIP_PROPS),(function(t){return a.createElement(s.default,K({className:H.default.otherEmoji,emojiId:e.id,animated:e.animated},t))}))})))))}}())};t.CustomGuildEmojiPopout=X,X.displayName="CustomGuildEmojiPopout"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=f(n(9)),o=f(n(61)),i=n(5973),l=f(n(9283)),u=f(n(8723)),s=f(n(6)),d=f(n(7434));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=function(e){var t=e.onPlay,n=e.externalURL,r=e.className,f=e.renderLinkComponent,c=e.inactive,v=e.playText,y=null!=v;return p(i.MessagesInteractionContext.Consumer,{},void 0,(function(e){var i,m;return p("div",{className:(0,a.default)(r,d.default.wrapper,(i={},i[d.default.disableInteractions]=e.disableInteractions,i[d.default.wrapperHasPlayText]=y,i))},void 0,c&&null==t?p("div",{className:d.default.iconWrapper},void 0,p(u.default,{className:d.default.iconPlay})):null,null!=t?p(o.default,{onClick:t,className:(0,a.default)(d.default.iconWrapperActive,(m={},m[d.default.iconWrapperHasPlayText]=y,m)),tabIndex:c?-1:0,"aria-label":s.default.Messages.PLAY},void 0,p(u.default,{className:d.default.iconPlay}),y?p("span",{className:d.default.text},void 0,v):null):null,y||null==n?null:f({href:n,target:"_blank",rel:"noreferrer noopener",className:d.default.iconWrapperActive,children:p(l.default,{className:null!=t?d.default.iconExternalMargins:d.default.iconExternal})}))}))};v.displayName="VideoPlayPill";var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlaintextFilePreviewComponent=x,t.default=t.PlaintextFilePreviewExperiment=void 0;var r,a=P(n(0)),o=N(n(9)),i=n(1303),l=n(50),u=n(8594),s=n(380),d=N(n(271)),f=N(n(61)),c=P(n(8595)),p=N(n(282)),v=N(n(278)),y=N(n(151)),m=N(n(149)),_=N(n(683)),h=N(n(8376)),E=N(n(9286)),g=N(n(8802)),S=n(35),O=n(41),I=N(n(24)),T=N(n(272)),C=N(n(6)),b=N(n(7438)),M=N(n(5701));function N(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function P(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function R(){return(R=Object.assign||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}).apply(this,arguments)}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function D(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function w(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){D(o,r,a,i,l,"next",e)}function l(e){D(o,r,a,i,l,"throw",e)}i(void 0)}))}}var j=(0,l.createExperiment)({kind:"user",id:"2021-01_plaintext_file_previews_flag",label:"Plaintext File Previews flag",defaultConfig:{enabled:!1,beer:!1},treatments:[{id:1,label:"Enabled",config:{enabled:!0,beer:!1}},{id:2,label:"Enabled with beer",config:{enabled:!0,beer:!0}}]});function k(e){var t=e.text,r=e.language,a=function(){return L("pre",{},void 0,L("code",{className:(0,o.default)(M.default.scrollbarGhostHairline,b.default.codeView,"hljs")},void 0,t))};return L(i.LazyLibrary,{createPromise:function(){return Promise.resolve().then(n.t.bind(null,1231,7))},webpackId:1231,render:function(e){if(!e.hasLanguage(r))return a();var n=e.highlight(r,t,!0);return null==n?a():L("pre",{},void 0,L("code",{className:(0,o.default)(M.default.scrollbarGhostHairline,b.default.codeView,"hljs",n.language),dangerouslySetInnerHTML:{__html:n.value}}))},renderFallback:function(){return a()}})}function U(e){var t=e.expanded,n=e.setExpanded,r=e.isWholeFile,o=e.numLines,i=(r?C.default.Messages.PREVIEW_NUM_LINES:C.default.Messages.PREVIEW_NUM_LINES_AT_LEAST).format({lines:o});return L(m.default,{text:(t?C.default.Messages.COLLAPSE:C.default.Messages.EXPAND)+" ("+i+")"},void 0,(function(e){return a.createElement(f.default,R({},e,{className:b.default.toggleExpandSection,onClick:function(){n(!t)}}),L(_.default,{direction:t?_.default.Directions.UP:_.default.Directions.DOWN}),t?C.default.Messages.COLLAPSE:C.default.Messages.EXPAND)}))}function G(e){var t=e.attachment,n=t.filename+" ("+(0,s.formatKbSize)(t.size)+")";return a.createElement(a.Fragment,null,L(m.default,{text:n},void 0,(function(e){return a.createElement("span",R({},e,{className:(0,o.default)(b.default.downloadSection,b.default.attachmentName)}),t.filename)})),L(m.default,{text:n},void 0,(function(e){return a.createElement("span",R({},e,{className:(0,o.default)(b.default.downloadSection,b.default.formattedSize)}),(0,s.formatKbSize)(t.size))})),L(m.default,{text:C.default.Messages.DOWNLOAD+" "+n},void 0,(function(e){return a.createElement(d.default,R({},e,{className:b.default.downloadSection,href:t.url,target:"_blank",rel:"noreferrer noopener"}),L(h.default,{className:b.default.downloadButton,width:24,height:24}))})))}function F(e){var t=e.language,n=e.setLanguage;return L(v.default,{position:v.default.Positions.LEFT,renderPopout:function(e){var r=e.closePopout;return L(p.default,{"aria-label":C.default.Messages.PREVIEW_CHANGE_LANGUAGE},void 0,L(c.default,{className:b.default.languageSelector,multiSelect:!1,placeholder:C.default.Messages.PREVIEW_SEARCH_LANGUAGE_PLACEHOLDER,value:new Set([t]),autoFocus:!0,onChange:function(e){n(e),r()}},void 0,(function(e){return Array.from(u.PLAINTEXT_FILE_EXTENSIONS).filter((function(t){return t.toLowerCase().includes(e.toLowerCase())})).map((function(e){return L(c.ComboboxItem,{value:e},e,L(c.ComboboxItem.Label,{},void 0,e))}))})))}},void 0,(function(e){return L(m.default,{text:C.default.Messages.PREVIEW_CHANGE_LANGUAGE},void 0,(function(t){return a.createElement(g.default,R({width:24,height:24},t,e,{className:b.default.codeIcon}))}))}))}t.PlaintextFilePreviewExperiment=j,k.displayName="PreviewText",U.displayName="ToggleExpandedSection",F.displayName="LanguageSelect";var B=L(E.default,{});function H(e){var t=j.useExperiment({})[0].beer;return L(m.default,{text:C.default.Messages.PREVIEW_WHOLE_FILE},void 0,(function(n){return a.createElement(f.default,R({},n,{className:b.default.openFullPreviewSection,onClick:function(){(0,O.openModal)((function(t){return a.createElement(V,R({},e,t))}))}}),t?"🍺":B)}))}function x(e){var t,n,r=e.attachment,i=e.fileContents,l=e.expanded,u=e.setExpanded,d=e.language,f=e.setLanguage,c=e.bytesLeft,p=e.hadError,v=e.className,m=null==i?void 0:i.split("\n"),_=null!==(t=null==m?void 0:m.length)&&void 0!==t?t:0,h=l?100:6,E=0===c,g="";p||(E&&l&&_>h?g="\n...":E||(g="..."),""!==g&&(g+=E?" "+C.default.Messages.PREVIEW_LINES_LEFT.format({lines:_-h}):" "+C.default.Messages.PREVIEW_BYTES_LEFT.format({formattedBytes:(0,s.formatKbSize)(c)})));var S=(null==m?void 0:m.slice(0,h).join("\n"))+g,O=l||h<_;return L("div",{className:(0,o.default)(v,b.default.container)},void 0,L("div",{className:(0,o.default)(b.default.textContainer,(n={},n[b.default.expanded]=l,n))},void 0,null==i?L(y.default,{className:b.default.spinner}):L(k,{text:S,language:d})),L(I.default,{color:I.default.Colors.HEADER_SECONDARY,className:b.default.footer},void 0,O?a.createElement(a.Fragment,null,L(U,{expanded:l,setExpanded:u,isWholeFile:E,numLines:_}),L(H,{language:d,fileContents:i,bytesLeft:c,attachment:r})):null,L("div",{className:b.default.footerGap}),L(G,{attachment:r}),L(F,{language:d,setLanguage:f})))}function V(e){var t=e.transitionState,n=e.language,r=e.fileContents,o=e.bytesLeft,i=e.attachment,l=a.useState(n),u=l[0],d=l[1],f=null!=r?r:"";return 0!==o&&(f+="... "+C.default.Messages.PREVIEW_BYTES_LEFT.format({formattedBytes:(0,s.formatKbSize)(o)})),L(S.ModalRoot,{transitionState:t,"aria-label":C.default.Messages.PREVIEW_MODAL_LABEL,size:S.ModalSize.LARGE,className:b.default.modalRoot},void 0,L("div",{className:b.default.modalContent},void 0,L(T.default,{className:b.default.modalTextContainer},void 0,null==r?L(y.default,{className:b.default.spinner}):L(k,{text:f,language:u})),L(I.default,{color:I.default.Colors.HEADER_SECONDARY,className:b.default.footer},void 0,L("div",{className:b.default.footerGap}),L(G,{attachment:i}),L(F,{language:u,setLanguage:d}))))}H.displayName="OpenFullPreviewSection",x.displayName="PlaintextFilePreviewComponent",V.displayName="PlaintextFilePreviewModal";var W=a.memo((function(e){var t=e.attachment,n=e.className,r=a.useState(!1),o=r[0],i=r[1],l=a.useState(t.filename.split(".").slice(-1)[0]),u=l[0],s=l[1],d=function(e,t){var n=a.useState(!1),r=n[0],o=n[1],i=a.useState(null),l=i[0],u=i[1],s=a.useState(1),d=s[0],f=s[1];return a.useEffect((function(){function n(){return(n=w(regeneratorRuntime.mark((function n(){var r,a,i,l,s,d,c,p;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,fetch(e,{headers:{Range:"bytes=0-50000",Accept:"text/plain"}});case 3:return a=n.sent,i=new TextDecoder(null!==(r=null==t?void 0:t.split("charset=").slice(-1)[0])&&void 0!==r?r:"utf-8"),n.t0=i,n.next=8,a.arrayBuffer();case 8:n.t1=n.sent,l=n.t0.decode.call(n.t0,n.t1),s=a.headers.get("content-range")||"0",d=a.headers.get("content-length")||"1",c=parseInt(s.split("/")[1]),p=c-parseInt(d),u(0===p?l:l.slice(0,-1)),f(p),o(!1),n.next=24;break;case 19:n.prev=19,n.t2=n.catch(0),u("Could not render this file preview."),f(0),o(!0);case 24:case"end":return n.stop()}}),n,null,[[0,19]])})))).apply(this,arguments)}!function(){n.apply(this,arguments)}()}),[e,t]),{fileContents:l,bytesLeft:d,hadError:r}}(t.url,t.content_type);return L(x,{attachment:t,fileContents:d.fileContents,bytesLeft:d.bytesLeft,expanded:o,setExpanded:i,language:u,setLanguage:s,hadError:d.hadError,className:n})}),(function(e,t){return e.attachment.id===t.attachment.id&&e.className===t.className}));t.default=W},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPlaintextPreviewableFile=function(e){return r.has(e.split(".").slice(-1)[0])},t.PLAINTEXT_FILE_EXTENSIONS=void 0;var r=new Set(["1c","4d","abnf","accesslog","ada","arduino","ino","armasm","arm","avrasm","actionscript","as","alan","i","log","ln","angelscript","asc","apache","apacheconf","applescript","osascript","arcade","asciidoc","adoc","aspectj","autohotkey","autoit","awk","mawk","nawk","gawk","bash","sh","zsh","basic","bbcode","blade","bnf","brainfuck","bf","csharp","cs","c","h","cpp","hpp","cc","hh","c++","h++","cxx","hxx","cal","cos","cls","cmake","cmake.in","coq","csp","css","csv","capnproto","capnp","chaos","kaos","chapel","chpl","cisco","clojure","clj","coffeescript","coffee","cson","iced","cpc","crmsh","crm","pcmk","crystal","cr","cypher","d","dns","zone","bind","dos","bat","cmd","dart","delphi","dpr","dfm","pas","pascal","freepascal","lazarus","lpr","lfm","diff","patch","django","jinja","dockerfile","docker","dsconfig","dts","dust","dst","dylan","ebnf","elixir","ex","elm","erlang","erl","extempore","xtlang","xtm","fsharp","fs","fix","fortran","f90","f95","gcode","nc","gams","gms","gauss","gss","godot","gdscript","gherkin","gn","gni","go","golang","gf","golo","gololang","gradle","groovy","xml","html","xhtml","rss","atom","xjb","xsd","xsl","plist","svg","http","https","haml","handlebars","hbs","html.hbs","html.handlebars","haskell","hs","haxe","hx","hy","hylang","ini","toml","inform7","i7","irpf90","json","java","jsp","javascript","js","jsx","jolie","iol","ol","julia","julia-repl","kotlin","kt","tex","leaf","lean","lasso","ls","lassoscript","less","ldif","lisp","livecodeserver","livescript","lock","ls","lua","makefile","mk","mak","make","markdown","md","mkdown","mkd","mathematica","mma","wl","matlab","maxima","mel","mercury","mirc","mrc","mizar","mojolicious","monkey","moonscript","moon","n1ql","nsis","never","nginx","nginxconf","nim","nimrod","nix","ocl","ocaml","ml","objectivec","mm","objc","obj-c","obj-c++","objective-c++","glsl","openscad","scad","ruleslanguage","oxygene","pf","pf.conf","php","php3","php4","php5","php6","php7","parser3","perl","pl","pm","plaintext","txt","text","pony","pgsql","postgres","postgresql","powershell","ps","ps1","processing","prolog","properties","protobuf","puppet","pp","python","py","gyp","profile","python-repl","pycon","k","kdb","qml","r","cshtml","razor","razor-cshtml","reasonml","re","redbol","rebol","red","red-system","rib","rsl","graph","instances","robot","rf","rpm-specfile","rpm","spec","rpm-spec","specfile","ruby","rb","gemspec","podspec","thor","irb","rust","rs","SAS","sas","scss","sql","p21","step","stp","scala","scheme","scilab","sci","shexc","shell","console","smali","smalltalk","st","sml","ml","solidity","sol","stan","stanfuncs","stata","iecst","scl","stl","structured-text","stylus","styl","subunit","supercollider","sc","svelte","swift","tcl","tk","terraform","tf","hcl","tap","thrift","tp","tsql","twig","craftcms","typescript","ts","tsx","unicorn-rails-log","vbnet","vb","vba","vbscript","vbs","vhdl","vala","verilog","v","vim","axapta","x++","x86asm","xl","tao","xquery","xpath","xq","yml","yaml","zephir","zep"]);t.PLAINTEXT_FILE_EXTENSIONS=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useMultiSelect=function(e){var t=a.useState(new Set(e)),n=t[0],r=t[1],o=a.useCallback((function(e){r((function(t){var n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n}))}),[]);return[n,o]},t.useSingleSelect=function(e){var t=a.useState(new Set(e?[e]:void 0)),n=t[0],r=t[1],o=a.useCallback((function(e){r(new Set([e]))}),[]);return[n,o]},t.default=M,t.ComboboxItem=A;var r,a=g(n(0)),o=h(n(9)),i=g(n(680)),l=n(92),u=h(n(1160)),s=h(n(61)),d=h(n(5942)),f=n(85),c=h(n(729)),p=h(n(47)),v=h(n(24)),y=n(1210),m=h(n(6)),_=h(n(7437));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function S(){return(S=Object.assign||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}).apply(this,arguments)}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}var T=Object.freeze({STANDARD:_.default.selected,BRAND:_.default.selectedBrand});function C(e){return String(e)}var b=a.createContext({activeDescendant:null,selected:new Set,setSelected:l.NOOP,itemToString:C});function M(e){var t=e.placeholder,n=e.children,r=e.value,l=e.onChange,u=e.className,s=e.listClassName,c=e["aria-label"],h=e.multiSelect,E=void 0!==h&&h,g=e.autoFocus,T=void 0!==g&&g,M=e.maxVisibleItems,N=void 0===M?5:M,A=e.itemToString,P=void 0===A?C:A,R=a.useState(""),L=R[0],D=R[1],w=a.useState(!0)[0],j=a.useState(null),k=j[0],U=j[1],G=(0,f.useUID)(),F=a.useRef(null);a.useLayoutEffect((function(){var e=document.querySelector('[data-listbox-item-id="'+k+'"]'),t=F.current;null!=t&&null!=e&&t.scrollIntoViewNode({node:e,padding:12})}),[k]);var B=n(L),H=0===B.length,x=(0,f.useUID)(),V=a.useCallback((function(){return new Promise((function(e){var t=F.current;if(null==t)return e();t.scrollToTop({callback:function(){return requestAnimationFrame((function(){return e()}))}})}))}),[]),W=a.useCallback((function(){return new Promise((function(e){var t=F.current;if(null==t)return e();t.scrollToTop({callback:function(){return requestAnimationFrame((function(){return e()}))}})}))}),[]),Y=a.useCallback((function(e,t){U(t);var n=document.querySelector(e),r=F.current;null!=r&&null!=n&&r.scrollIntoViewNode({node:n})}),[]),z=(0,i.default)({id:x,isEnabled:!0,useVirtualFocus:!0,scrollToStart:V,scrollToEnd:W,setFocus:Y});return O(i.ListNavigatorProvider,{navigator:z},void 0,O(i.ListNavigatorContainer,{},void 0,(function(e){var n=e.ref,i=e.onKeyDown,f=I(e,["ref","onKeyDown"]);return a.createElement("div",{ref:n,role:"combobox","aria-label":c,"aria-expanded":w,"aria-controls":w?G:void 0,"aria-owns":G,"aria-haspopup":"listbox",className:(0,o.default)(_.default.combobox,u)},O(d.default,{autoFocus:T,size:d.default.Sizes.MEDIUM,placeholder:t,query:L,onChange:D,onKeyDown:i,onBlur:function(){return U(null)},onClear:function(){return D("")},inputProps:{"aria-multiline":!1,"aria-activedescendant":null!=k?k:void 0}}),O("div",{},void 0,w&&(H?O("div",{className:_.default.empty},void 0,O(p.default,{size:p.default.Sizes.SIZE_16,tag:p.default.Tags.H4},void 0,m.default.Messages.AUTOCOMPLETE_NO_RESULTS_HEADER),O(v.default,{color:v.default.Colors.MUTED,size:v.default.Sizes.SIZE_16},void 0,m.default.Messages.AUTOCOMPLETE_NO_RESULTS_BODY)):O(b.Provider,{value:{activeDescendant:k,selected:r,setSelected:l,itemToString:P}},void 0,a.createElement(y.ListNone,S({},f,{style:{maxHeight:46*N},"aria-multiselectable":E,id:G,ref:F,className:(0,o.default)(_.default.list,s),sections:[B.length],sectionHeight:0,rowHeight:40,renderRow:function(e){var t=e.row;return B[t]},renderSection:function(){return null}}))))))})))}M.displayName="Combobox";var N=a.createContext(null);function A(e){var t,n,r,l=e.value,u=e.children,d=e.disabled,f=void 0!==d&&d,c=e.selectedColor,p=void 0===c?T.STANDARD:c,v=I(e,["value","children","disabled","selectedColor"]),y=a.useContext(b),m=y.activeDescendant,h=y.selected,E=y.setSelected,g=(0,y.itemToString)(l),C=m===g,M=null!==(t=null==v?void 0:v.selected)&&void 0!==t?t:h.has(l),A=(0,i.useListItem)(g);return a.createElement(s.default,S({tag:"li",id:g,onClick:function(){return E(l)}},((n={})["data-listbox-item-id"]=l,n),{className:(0,o.default)(_.default.item,(r={},r[_.default.focused]=C,r[p]=M,r))},A,{role:"option","aria-selected":M,"aria-disabled":f}),O(N.Provider,{value:l},void 0,u))}A.displayName="ComboboxItem",A.Colors=T,A.Label=function(e){var t=e.children;return O("span",{className:_.default.itemLabel},void 0,t)},A.Icon=function(e){var t=e.children;return O("span",{className:_.default.itemCheckbox},void 0,t)},A.Checkbox=function(e){var t=e.checked,n=a.useContext(b).selected,r=a.useContext(N);return O("span",{className:_.default.itemCheckbox},void 0,O(u.default,{displayOnly:!0,value:null!=t?t:null!=r&&n.has(r),type:u.default.Types.INVERTED,size:20}))};var P=O(c.default,{width:20,height:20});A.Checkmark=function(){var e=a.useContext(b).selected,t=a.useContext(N);return e.has(t)?O("span",{className:_.default.itemCheckbox},void 0,P):null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openPremiumSite=function(){window.open(o.SpotifyEndpoints.PREMIUM_SITE)},t.openTrack=function(e){var t=e.sync_id;if(null==t)return;var n=o.SpotifyResourceTypes.TRACK,r=i.default.isProtocolRegistered()?o.SpotifyEndpoints.PLAYER_OPEN(n,t):o.SpotifyEndpoints.WEB_OPEN(n,t);window.open(r)},t.openAlbum=function(e,t){u(e,t,(function(e){var t=e.album_id;if(null==t)throw new Error("no album id in metadata");return{resourceType:o.SpotifyResourceTypes.ALBUM,resourceId:t}}))},t.openArtist=function(e,t,n){u(e,t,(function(e){var t=e.artist_ids;if(null==t)throw new Error("no artist ids in metadata");var r=t[n];if(null==r)throw new Error("invalid artist index");return{resourceType:o.SpotifyResourceTypes.ARTIST,resourceId:r}}))};var r=n(8428),a=l(n(16)),o=n(293),i=l(n(1310));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n){var l;a.default.isDesktop()||(l=window.open("","_blank")),(0,r.getMetadata)(e,t).then((function(e){return n(e)})).then((function(e){var t=e.resourceType,n=e.resourceId,r=i.default.isProtocolRegistered()?o.SpotifyEndpoints.PLAYER_OPEN(t,n):o.SpotifyEndpoints.WEB_OPEN(t,n);null!=l?l.location.href=r:window.open(r)})).catch((function(){null!=l&&l.close()}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,u,s,d,f,c,p){if((0,i.default)(t))return(0,a.default)(e,t,n,c,p,u);if(!r.default.isDesktop())return!1;if((0,o.default)(t,l.ActivityFlags.PARTY_PRIVACY_FRIENDS)&&d.isFriend(e.id))return!0;if((0,o.default)(t,l.ActivityFlags.PARTY_PRIVACY_VOICE_CHANNEL)){var v=n.getChannel(f.getVoiceChannelId());if(null==v||!c.isInChannel(v.id,e.id))return!1;switch(v.type){case l.ChannelTypes.DM:case l.ChannelTypes.GROUP_DM:return!0}var y=u.getGuild(v.getGuildId());if(null==y||y.hasFeature(l.GuildFeatures.COMMUNITY))return!1;var m=s.getMemberCount(y.id);return null!=m&&m<100}return!1};var r=u(n(16)),a=u(n(9295)),o=u(n(399)),i=u(n(8598)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e,o.ActivityFlags.EMBEDDED)};var r,a=(r=n(399))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.useStateFromStores)([o.default,a.default],(function(){var e=o.default.getVoiceChannelId();if(e){var t=a.default.getChannel(e);if(null==t?void 0:t.isGuildStageVoice())return t}return null}))};var r=n(3),a=i(n(10)),o=i(n(36));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=T(n(9)),o=n(3),i=T(n(8273)),l=n(1278),u=T(n(12)),s=T(n(29)),d=T(n(55)),f=n(8823),c=n(1214),p=T(n(9308)),v=T(n(9309)),y=T(n(9310)),m=T(n(9311)),_=T(n(9312)),h=T(n(9313)),E=T(n(9315)),g=T(n(9317)),S=T(n(9318)),O=T(n(9319)),I=T(n(7462));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var M=(0,i.default)((function(e){var t,n=e.activity,r=e.user,i=e.applicationStream,T=e.className,C=e.guildId,M=e.channelId,N=e.source,A=e.color,P=void 0===A?s.default.Colors.WHITE:A,R=e.look,L=void 0===R?s.default.Looks.OUTLINED:R,D=e.type,w=e.onAction,j=e.onOpenConnections,k=(0,o.useStateFromStores)([u.default],(function(){return u.default.getCurrentUser()})),U=D===f.Types.PROFILE,G=D===f.Types.STREAM_PREVIEW||null!=i,F=(0,c.isListeningOnSpotify)(n),B=(0,l.isStageActivity)(n),H=U?d.default.Align.END:d.default.Align.STRETCH,x=F||G?d.default.Direction.HORIZONTAL:d.default.Direction.VERTICAL;if((0,c.isOnXbox)(n))return b(O.default,{onOpenConnections:j,look:L,color:P});if(F){var V=b(E.default,{activity:n,user:r,color:P,look:L,guildId:C,channelId:M,source:N},"spotify-activity-sync-button");t=[b(h.default,{activity:n,user:r,color:P,look:L,guildId:C,channelId:M,source:N},"spotify-activity-play-button"),V]}else if(B){var W=(0,l.unpackStageChannelParty)(n);if(null!=W)return b(y.default,{guildId:W.guildId,channelId:W.channelId,color:P,look:L,isProfile:U})}else if(G){t=[b(S.default,{isCurrentUser:k.id===r.id,color:P,look:L,applicationStream:i},"watch-button")]}else{var Y=b(g.default,{activity:n,color:P,look:L},"watch-button"),z=b(v.default,{activity:n,user:r,isCurrentUser:k.id===r.id,color:P,look:L},"join-activity-button"),K=b(_.default,{activity:n,user:r,isCurrentUser:k.id===r.id,color:P,look:L},"spectate-activity-button"),$=b(m.default,{activity:n,user:r,color:P,look:L},"notify-button"),Z=b(p.default,{user:r,color:P,look:L,activity:n},"custom-activity-button");if(null==z&&null==$&&null==Y&&null==Z)return null;t=[z,K,$,Y,Z]}var q=x===d.default.Direction.VERTICAL;return b(d.default,{grow:0,align:H,direction:x,wrap:q?d.default.Wrap.WRAP:d.default.Wrap.NO_WRAP,className:(0,a.default)(T,I.default.buttonsWrapper,q?I.default.vertical:I.default.horizontal),onClick:function(e){if(e.target instanceof Element){if("BUTTON"!==e.target.nodeName)return;null==w||w()}}},void 0,t)}));t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSpotifyPlayAction=function(e,t,n){var a=h(e,t),o=a.notPlayable,i=a.isCurrentUser,l=a.playingSameTrack,s=_(a),c=s.loading,p=s.startLoading,y=s.clearLoading,m=r.useCallback((function(){p(),(0,v.default)(a,u.SpotifyActionTypes.USER_ACTIVITY_PLAY,n).catch(y)}),[a,n,p,y]);return{label:(0,d.default)(a,u.SpotifyActionTypes.USER_ACTIVITY_PLAY),tooltip:(0,f.default)(a,u.SpotifyActionTypes.USER_ACTIVITY_PLAY),disabled:!c&&(i||o||l),loading:c,onClick:m,spotifyData:a}},t.useSpotifySyncAction=function(e,t,n,a){var o=null!=a?a:t.toString(),i=h(e,t),l=i.syncingWithUser,s=i.syncingWithParty,c=i.isCurrentUser,v=_(i),y=v.loading,m=v.startLoading,E=v.clearLoading,g=r.useCallback((function(){m(),(0,p.default)(i,u.SpotifyActionTypes.USER_ACTIVITY_SYNC,n).catch(E)}),[i,n,m,E]);return{label:(0,d.default)(i,u.SpotifyActionTypes.USER_ACTIVITY_SYNC),tooltip:(0,f.default)(i,u.SpotifyActionTypes.USER_ACTIVITY_SYNC,o),disabled:!y&&(c||l||s),loading:y,onClick:g,spotifyData:i}},t.useSpotifyJoinAction=function(e,t,n){var a=h(e,t),o=a.notPlayable,i=a.syncingWithUser,l=a.syncingWithParty,s=a.isCurrentUser,c=_(a),v=c.loading,y=c.startLoading,m=c.clearLoading,E=r.useCallback((function(){y(),(0,p.default)(a,u.SpotifyActionTypes.EMBED_SYNC,n).catch(m)}),[a,n,y,m]);return{label:(0,d.default)(a,u.SpotifyActionTypes.EMBED_SYNC),tooltip:(0,f.default)(a,u.SpotifyActionTypes.EMBED_SYNC),disabled:!v&&(s||i||l||o),loading:v,onClick:E,spotifyData:a}};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(3),o=n(57),i=y(n(1259)),l=y(n(11)),u=n(293),s=y(n(708)),d=y(n(8817)),f=y(n(8727)),c=y(n(8728)),p=y(n(8729)),v=y(n(8730));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e){var t=e.currentUserTrackId,n=e.syncingWithUser,a=e.syncingWithParty,l=r.useState(!1),u=l[0],s=l[1],d=r.useState((function(){return new o.Timeout}))[0],f=(0,i.default)(t);r.useEffect((function(){u&&(t!==f||n||a)&&(s(!1),d.stop())}),[t,f,n,a,u,d]);var c=r.useCallback((function(){s(!0),d.start(3e4,(function(){return s(!1)}))}),[d]),p=r.useCallback((function(){s(!1),d.stop()}),[d]);return{loading:u,startLoading:c,clearLoading:p}}function h(e,t){return(0,a.useStateFromStoresObject)([s.default,l.default],(function(){return(0,c.default)(s.default,l.default,t,e)}),[e,t])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("rect",{width:"24",height:"24"});function f(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,f=void 0===l?"currentColor":l,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,d,s("path",{fill:f,className:c,d:"M9,7 L11,7 L11,5 L9,5 L9,7 Z M10,18 C5.59,18 2,14.41 2,10 C2,5.59 5.59,2 10,2 C14.41,2 18,5.59 18,10 C18,14.41 14.41,18 10,18 L10,18 Z M10,4.4408921e-16 C4.4771525,-1.77635684e-15 4.4408921e-16,4.4771525 0,10 C-1.33226763e-15,12.6521649 1.0535684,15.195704 2.92893219,17.0710678 C4.80429597,18.9464316 7.3478351,20 10,20 C12.6521649,20 15.195704,18.9464316 17.0710678,17.0710678 C18.9464316,15.195704 20,12.6521649 20,10 C20,7.3478351 18.9464316,4.80429597 17.0710678,2.92893219 C15.195704,1.0535684 12.6521649,2.22044605e-16 10,0 L10,4.4408921e-16 Z M9,15 L11,15 L11,9 L9,9 L9,15 L9,15 Z",transform:"translate(2 2)"})))}f.displayName="Info"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=a.useMemo((function(){var n;return(n={})[t]=[e.id],n}),[t,e.id]);(0,s.useSubscribeGuildMembers)(r),(0,o.useStateFromStores)([v.default],(function(){return v.default.getGuildVersion(t)}),[t]);var g=(0,o.useStateFromStores)([p.default],(function(){return p.default.getGuild(t)}),[t]),S=(0,o.useStateFromStores)([y.default],(function(){return y.default.getCurrentUser().id===e.id}),[e.id]),T=(0,o.useStateFromStores)([c.default],(function(){return c.default.getChannel(n)}),[n]),C=null==T?void 0:T.isGuildStageVoice(),b=(0,o.useStateFromStoresObject)([m.default],(function(){var n,r,a,o=m.default.getVoiceState(t,e.id);return{muted:null!==(n=null==o?void 0:o.mute)&&void 0!==n&&n,deafened:null!==(r=null==o?void 0:o.deaf)&&void 0!==r&&r,suppressed:null!==(a=null==o?void 0:o.suppress)&&void 0!==a&&a,voiceConnected:null!=(null==o?void 0:o.channelId)}})),M=b.muted,N=b.deafened,A=b.suppressed,P=b.voiceConnected&&null!=n?[!C&&v.default.canWithPartialContext(h.Permissions.MUTE_MEMBERS,{channelId:n})?I(d.MenuCheckboxItem,{id:"voice-mute",label:E.default.Messages.SERVER_VOICE_MUTE,checked:M||A,color:f.MenuItemColor.DANGER,action:function(){return i.default.setServerMute(t,e.id,!(M||A))}},"voice-mute"):null,!C&&v.default.canWithPartialContext(h.Permissions.DEAFEN_MEMBERS,{channelId:n})?I(d.MenuCheckboxItem,{id:"voice-deafen",label:E.default.Messages.SERVER_DEAFEN,checked:N,color:f.MenuItemColor.DANGER,action:function(){return i.default.setServerDeaf(t,e.id,!N)}},"voice-deafen"):null,!S&&null!=g&&v.default.canWithPartialContext(h.Permissions.MOVE_MEMBERS,{channelId:n})?I(d.MenuItem,{id:"voice-disconnect",label:S?E.default.Messages.DISCONNECT_SELF:E.default.Messages.DISCONNECT_OTHER,color:f.MenuItemColor.DANGER,action:function(){return i.default.setChannel(t,e.id,null)}},"voice-disconnect"):null]:[],R=S||null==g?[]:[v.default.canManageUser(h.Permissions.KICK_MEMBERS,e,g)?I(d.MenuItem,{id:"kick",label:E.default.Messages.KICK_USER.format({user:e.username}),color:f.MenuItemColor.DANGER,action:function(){return(0,_.openModal)((function(n){return a.createElement(u.default,O({},n,{guildId:t,user:e}))}))}},"kick"):null,v.default.canManageUser(h.Permissions.BAN_MEMBERS,e,g)?I(d.MenuItem,{id:"ban",label:E.default.Messages.BAN_USER.format({user:e.username}),color:f.MenuItemColor.DANGER,action:function(){return(0,_.openModal)((function(n){return a.createElement(l.default,O({},n,{guildId:t,user:e}))}))}},"ban"):null];return[].concat(P,R)};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=g(n(199)),l=g(n(8604)),u=g(n(8828)),s=n(8298),d=n(8253),f=n(8256),c=g(n(10)),p=g(n(15)),v=g(n(40)),y=g(n(12)),m=g(n(80)),_=n(41),h=n(1),E=g(n(6));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(){return(O=Object.assign||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}).apply(this,arguments)}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(199)),i=v(n(1159)),l=v(n(8272)),u=v(n(476)),s=v(n(466)),d=v(n(5945)),f=n(1),c=v(n(6)),p=v(n(7474));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E=[{value:"0",label:c.default.Messages.DELETE_MESSAGE_HISTORY_OPTION_NONE},{value:"1",label:c.default.Messages.DELETE_MESSAGE_HISTORY_OPTION_24HR},{value:"7",label:c.default.Messages.DELETE_MESSAGE_HISTORY_OPTION_7D}],g=function(e){var t,r;function v(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={duration:E[1].value,reason:""},t.handleSubmit=function(){var e=t.props,n=e.guildId,r=e.user,a=t.state,i=a.duration,l=a.reason;o.default.banUser(n,r.id,i,l)},t.handleChangeDeleteDuration=function(e){var n=e.value;t.setState({duration:n})},t.handleChangeReason=function(e){t.setState({reason:e})},t}return r=e,(t=v).prototype=Object.create(r.prototype),t.prototype.constructor=t,h(t,r),v.prototype.render=function(){var e=this.state,t=e.duration,r=e.reason,o=this.props,v=o.user,y=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(o,["user"]);return a.createElement(s.default,m({header:c.default.Messages.BAN_CONFIRM_TITLE.format({username:"@"+v.toString()}),confirmText:c.default.Messages.BAN,cancelText:c.default.Messages.CANCEL,onConfirm:this.handleSubmit},y),_(d.default,{autoPlay:!0,loop:!0,className:p.default.spacing,width:400},void 0,_("source",{src:n(9357),type:"video/webm"}),_("source",{src:n(9358),type:"video/mp4"}),_("img",{alt:"",src:n(9359)})),_(u.default,{title:c.default.Messages.FORM_LABEL_DELETE_MESSAGE_HISTORY,className:p.default.spacing},void 0,_(i.default,{clearable:!1,searchable:!1,options:E,value:t,onChange:this.handleChangeDeleteDuration})),_(u.default,{title:c.default.Messages.FORM_LABEL_REASON_BAN,className:p.default.spacing},void 0,_(l.default,{maxLength:f.MAX_REASON_LENGTH,onChange:this.handleChangeReason,value:r,rows:2})))},v}(a.PureComponent);g.displayName="BanConfirm";var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBuiltInCommands=t.BUILT_IN_COMMANDS_ORIGINAL=t.BUILT_IN_COMMANDS=t.BUILT_IN_SECTIONS=void 0;var r=p(n(1387)),a=n(286),o=p(n(40)),i=p(n(39)),l=n(8290),u=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(8434)),s=n(8260),d=n(1),f=p(n(6));function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){return e&&e.__esModule?e:{default:e}}var v=n(9361).default;t.BUILT_IN_SECTIONS=v;var y=n(9362).default,m=[].concat(y,[{id:"-1",name:"shrug",target:a.ApplicationCommandTarget.CHAT,type:s.ApplicationCommandType.BUILT_IN_TEXT,applicationId:l.SECTION_BUILT_IN,description:f.default.Messages.COMMAND_SHRUG_DESCRIPTION,options:[{name:"message",type:s.ApplicationCommandOptionType.STRING,description:f.default.Messages.COMMAND_SHRUG_MESSAGE_DESCRIPTION}],execute:function(e){return{content:((u.getOptionalString(e,"message")||"")+" ¯\\_(ツ)_/¯").trim()}}},{id:"-2",name:"tableflip",target:a.ApplicationCommandTarget.CHAT,type:s.ApplicationCommandType.BUILT_IN_TEXT,applicationId:l.SECTION_BUILT_IN,description:f.default.Messages.COMMAND_TABLEFLIP_DESCRIPTION,options:[{name:"message",type:s.ApplicationCommandOptionType.STRING,description:f.default.Messages.COMMAND_TABLEFLIP_MESSAGE_DESCRIPTION}],execute:function(e){return{content:((u.getOptionalString(e,"message")||"")+" (╯°□°)╯︵ ┻━┻").trim()}}},{id:"-3",name:"unflip",target:a.ApplicationCommandTarget.CHAT,type:s.ApplicationCommandType.BUILT_IN_TEXT,applicationId:l.SECTION_BUILT_IN,description:f.default.Messages.COMMAND_TABLEUNFLIP_DESCRIPTION,options:[{name:"message",type:s.ApplicationCommandOptionType.STRING,description:f.default.Messages.COMMAND_TABLEUNFLIP_MESSAGE_DESCRIPTION}],execute:function(e){return{content:((u.getOptionalString(e,"message")||"")+" ┬─┬ ノ( ゜-゜ノ)").trim()}}},{id:"-4",name:"tts",target:a.ApplicationCommandTarget.CHAT,type:s.ApplicationCommandType.BUILT_IN_TEXT,applicationId:l.SECTION_BUILT_IN,description:f.default.Messages.COMMAND_TTS_DESCRIPTION,options:[{name:"message",type:s.ApplicationCommandOptionType.STRING,description:f.default.Messages.COMMAND_TTS_MESSAGE_DESCRIPTION,required:!0}],predicate:function(e){var t=e.channel;return!t.isPrivate()&&i.default.enableTTSCommand&&o.default.can(d.Permissions.SEND_TTS_MESSAGES,t)},execute:function(e){return{content:u.getOptionalString(e,"message")||"",tts:!0}}},{id:"-5",name:"me",target:a.ApplicationCommandTarget.CHAT,type:s.ApplicationCommandType.BUILT_IN_TEXT,applicationId:l.SECTION_BUILT_IN,description:f.default.Messages.COMMAND_ME_DESCRIPTION,options:[{name:"message",type:s.ApplicationCommandOptionType.STRING,description:f.default.Messages.COMMAND_ME_MESSAGE_DESCRIPTION,required:!0}],execute:function(e){return{content:"_"+(u.getOptionalString(e,"message")||"")+"_"}}},{id:"-6",name:"spoiler",target:a.ApplicationCommandTarget.CHAT,type:s.ApplicationCommandType.BUILT_IN_TEXT,applicationId:l.SECTION_BUILT_IN,description:f.default.Messages.COMMAND_SPOILER_DESCRIPTION,options:[{name:"message",type:s.ApplicationCommandOptionType.STRING,description:f.default.Messages.COMMAND_SPOILER_MESSAGE_DESCRIPTION,required:!0}],execute:function(e){var t=u.getOptionalString(e,"message")||"";return{content:(0,d.MARKDOWN_SPOILER_WRAPPER)(t).trim()}}},{id:"-7",name:"nick",target:a.ApplicationCommandTarget.CHAT,type:s.ApplicationCommandType.BUILT_IN,applicationId:l.SECTION_BUILT_IN,description:f.default.Messages.COMMAND_NICK_DESCRIPTION,options:[{name:"new_nick",type:s.ApplicationCommandOptionType.STRING,description:f.default.Messages.COMMAND_NICK_NEWNICK_DESCRIPTION}],predicate:function(e){var t=e.channel;return!t.isPrivate()&&(o.default.can(d.Permissions.CHANGE_NICKNAME,t)||o.default.can(d.Permissions.MANAGE_NICKNAMES,t))},execute:function(e,t){var n=t.guild,a=t.channel;if(n){var o=u.getOptionalString(e,"new_nick");r.default.changeNickname(n.id,a.id,d.ME,o||"")}}}]);t.BUILT_IN_COMMANDS=m;var _=m.filter((function(e){return["giphy","tenor","tts","me","tableflip","unflip","shrug","spoiler","nick"].includes(e.name)}));t.BUILT_IN_COMMANDS_ORIGINAL=_;t.getBuiltInCommands=function(e,t,n){var r=t?m:_;return r=r.filter((function(t){return t.target===e&&(!n||t.type===s.ApplicationCommandType.BUILT_IN_TEXT||t.type===s.ApplicationCommandType.BUILT_IN_INTEGRATION)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fill:d,fillRule:"evenodd",clipRule:"evenodd",className:f,d:"M5 3C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3H5ZM16.8995 8.41419L15.4853 6.99998L7 15.4853L8.41421 16.8995L16.8995 8.41419Z"}))}d.displayName="ApplicationCommand"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=f(n(705)),i=f(n(688)),l=n(8253),u=f(n(80)),s=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){var n=(0,a.useStateFromStores)([i.default],(function(){return e===i.default.getSelectedParticipantId(t)}),[t,e]);return(0,a.useStateFromStores)([i.default,u.default],(function(){var n=u.default.isInChannel(t,e)&&u.default.hasVideo(t),r=i.default.getLayout(t),a=r===s.ChannelLayouts.MINIMUM||r===s.ChannelLayouts.NORMAL;return!n||a}),[t,e])?null:p(l.MenuItem,{id:"focus-video",label:n?d.default.Messages.UNFOCUS_PARTICIPANT:d.default.Messages.FOCUS_PARTICIPANT,action:function(){return o.default.selectParticipant(t,n?null:e)}})}v.displayName="useFocusVideoItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=C;I(n(0));var r,a=n(3),o=S(n(199)),i=S(n(132)),l=n(180),u=n(8253),s=S(n(11)),d=S(n(10)),f=I(n(86)),c=S(n(15)),p=S(n(40)),v=S(n(70)),y=S(n(12)),m=S(n(80)),_=n(292),h=S(n(78)),E=n(1),g=S(n(6));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(e,t){var n=(0,a.useStateFromStores)([f.default],(function(){return f.default.getChannels(t)[f.GUILD_VOCAL_CHANNELS_KEY]}),[t]),r=(0,a.useStateFromStores)([m.default,d.default],(function(){var n=m.default.getUserVoiceChannelId(t,e.id);return d.default.getChannel(n)}),[t,e.id]);if(null==r)return null;var S=e.id===s.default.getId();if(!S&&!p.default.can(E.Permissions.MOVE_MEMBERS,r))return null;var O=n.filter((function(t){var n=t.channel;return n.id!==r.id&&(S?p.default.can(E.Permissions.CONNECT,n)&&!(0,_.isChannelFull)(n,m.default,c.default):p.default.can(E.Permissions.MOVE_MEMBERS,n)&&(p.default.can(E.Permissions.CONNECT,n)||h.default.can(E.Permissions.CONNECT,e,n))&&!(0,_.isChannelFull)(n,m.default,c.default))}));if(0===O.length)return null;return T(u.MenuItem,{id:"voice-move",label:g.default.Messages.MOVE_TO},void 0,O.map((function(n){var r=n.channel;return T(u.MenuItem,{id:r.id,action:function(){return function(n){e.id===s.default.getId()?i.default.selectVoiceChannel(n.id):o.default.setChannel(t,e.id,n.id)}(r)},label:(0,l.computeChannelName)(r,y.default,v.default)},r.id)})))}C.displayName="useMoveUserVoiceItems"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFailedContent=S,t.InteractionStatusMessage=O,t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=_(n(9)),i=n(276),l=n(3),u=n(206),s=_(n(8610)),d=n(8506),f=_(n(5827)),c=_(n(1251)),p=_(n(24)),v=n(1),y=_(n(6)),m=_(n(7483));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e){return{text:e,icon:E(c.default,{className:m.default.icon,dotRadius:3.5,themed:!0})}}function S(e){return{text:null!=e?e:y.default.Messages.APPLICATION_COMMAND_FAILED,color:p.default.Colors.ERROR,icon:E(f.default,{width:16,height:16,className:(0,o.default)(m.default.icon,m.default.errorIcon)})}}function O(e){var t=e.className,n=e.icon,r=e.text,a=e.color;return E("div",{className:(0,o.default)(m.default.wrapper,t)},void 0,n,E(p.default,{size:p.default.Sizes.SIZE_14,color:a},void 0,r))}function I(e){var t=e.message,n=e.className,r=e.component,o=(0,i.useForceUpdate)(),f=(0,l.useStateFromStores)([s.default],(function(){return s.default.getInteraction(t)}),[t]);a.useEffect((function(){var e=null;if(t.hasFlag(v.MessageFlags.LOADING)&&null!=f){var n=(0,d.getInteractionTimeoutTimestamp)(t.id)-(0,u.now)();n>0&&(e=setTimeout((function(){return o()}),1e3+n))}return function(){clearTimeout(e)}}),[o,f,t]);var c=null;if(null==r?c=function(e,t){switch((0,d.getInteractionStatusViewState)(t,e)){case d.InteractionStatusViewState.SENDING:return g(y.default.Messages.APPLICATION_COMMAND_SENDING);case d.InteractionStatusViewState.CREATED:return g(y.default.Messages.APPLICATION_COMMAND_WAITING.format({applicationName:t.author.username}));case d.InteractionStatusViewState.FAILED:return S(t.interactionError)}}(f,t):null!=r.errorText&&(c=S(r.errorText)),null==c)return null;var p=c,m=p.text;return E(O,{icon:p.icon,text:m,className:n,color:p.color})}O.displayName="InteractionStatusMessage",I.displayName="InteractionStatus";var T=a.memo(I);t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(3)),a=u(n(2)),o=n(286),i=u(n(10)),l=n(8611);n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(){return(d=Object.assign||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}).apply(this,arguments)}var f={},c={},p={};function v(e){delete f[e];var t=p[e];null!=t&&delete c[t],delete p[e]}var y=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var a=r.prototype;return a.getInteraction=function(e){var t=c[e.id];return null!=t?f[t]:null},a.getMessageInteractionStates=function(){for(var e={},t=0,n=Object.entries(f);t<n.length;t++){var r=n[t],a=r[0],o=r[1],i=p[a];null!=i&&(e[i]=o.state)}return e},a.canQueueInteraction=function(e,t){var n=c[e];return!(null!=n&&null!=f[n]&&f[n].state!==l.InteractionState.FAILED||null!=f[t]&&f[t].state!==l.InteractionState.FAILED)},r}(r.default.Store))(a.default,{LOGOUT:function(e){return f={},c={},void(p={})},INTERACTION_QUEUE:function(e){var t=e.nonce,n=e.messageId,r=e.data,a=e.onCreate,o=e.onCancel,i=e.onSuccess,u=e.onFailure;c[n]=t,p[t]=n,f[t]={state:l.InteractionState.QUEUED,data:r,onCreate:a,onCancel:o,onSuccess:i,onFailure:u}},INTERACTION_CREATE:function(e){var t,n=e.nonce,r=e.interactionId;if(null==n)return!1;var a=f[n];if(null==a||a.state!==l.InteractionState.QUEUED)return!1;a.state=l.InteractionState.CREATED,null===(t=a.onCreate)||void 0===t||t.call(a,r)},INTERACTION_SUCCESS:function(e){var t,n=e.nonce;if(null==n)return!1;var r=f[n];if(null==r)return!1;null===(t=r.onSuccess)||void 0===t||t.call(r),v(n)},INTERACTION_FAILURE:function(e){var t,n=e.nonce,r=e.errorCode,a=e.errorMessage;if(null==n)return!1;var i=f[n];if(null==i)return!1;null===(t=i.onFailure)||void 0===t||t.call(i,r,a),i.data.interactionType===o.InteractionTypes.APPLICATION_COMMAND?v(n):f[n]=d({},i,{state:l.InteractionState.FAILED,errorCode:r,errorMessage:a})},MESSAGE_CREATE:function(e){var t=e.message;if(null==t.nonce)return!1;var n,r=f[t.nonce];if(null==r)return!1;null===(n=r.onSuccess)||void 0===n||n.call(r),v(t.nonce)},CHANNEL_SELECT:function(e){var t=e.channelId;if(null==i.default.getChannel(t))return!1;for(var n=0,r=Object.entries(f);n<r.length;n++){var a=r[n],o=a[0];a[1].state===l.InteractionState.FAILED&&v(o)}}});t.default=y},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.InteractionState=void 0,t.InteractionState=r,function(e){e[e.QUEUED=0]="QUEUED",e[e.CREATED=1]="CREATED",e[e.FAILED=2]="FAILED"}(r||(t.InteractionState=r={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.queueInteractionComponentState=function(e,t,n,r){a.default.dirtyDispatch({type:o.ActionTypes.QUEUE_INTERACTION_COMPONENT_STATE,messageId:e,nonce:t,state:n,indices:r})},t.addQueued=function(e,t,n){var r=n.data,i=n.onCreate,l=n.onSuccess,u=n.onFailure;a.default.dirtyDispatch({type:o.ActionTypes.INTERACTION_QUEUE,data:r,nonce:e,messageId:t,onCreate:i,onSuccess:l,onFailure:u})},t.setFailed=function(e,t,n){a.default.dirtyDispatch({type:o.ActionTypes.INTERACTION_FAILURE,nonce:e,errorMessage:n,errorCode:t})},t.fetchMessageInteractionData=function(e,t){return s.apply(this,arguments)};var r=i(n(14)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){l(o,r,a,i,u,"next",e)}function u(e){l(o,r,a,i,u,"throw",e)}i(void 0)}))}}function s(){return(s=u(regeneratorRuntime.mark((function e(t,n){var i,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.get({url:o.Endpoints.MESSAGE_INTERACTION_DATA(t,n),oldFormErrors:!0});case 2:(i=e.sent).ok&&(l=i.body,a.default.dirtyDispatch({type:o.ActionTypes.LOAD_MESSAGE_INTERACTION_DATA_SUCCESS,channelId:t,messageId:n,interactionData:l}));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(3)),a=s(n(2)),o=s(n(8832)),i=s(n(16)),l=n(1),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(){return(f=Object.assign||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}).apply(this,arguments)}var c=i.default.isIOS()?l.TenorFormats.TINYGIF:l.TenorFormats.MP4,p=null,v="",y="",m=[],_=[],h=c,E=[],g=[];function S(e){switch(e){case l.GIPHYFormats.FIXED_HEIGHT_MP4:case l.GIPHYFormats.FIXED_HEIGHT_SMALL_MP4:case l.GIPHYFormats.FIXED_WIDTH_MP4:case l.GIPHYFormats.FIXED_WIDTH_SMALL_MP4:case l.GIPHYFormats.DOWNSIZED_SMALL_MP4:case l.GIPHYFormats.ORIGINAL_MP4:case l.TenorFormats.MP4:case l.TenorFormats.TINYMP4:case l.TenorFormats.NANOMP4:case l.TenorFormats.WEBM:case l.TenorFormats.TINYWEBM:case l.TenorFormats.NANOWEBM:return!0;default:return!1}}function O(e){return i.default.isIOS()?e:e.replace(/^https?:/,"")}var I=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var a=r.prototype;return a.getAnalyticsID=function(){return p},a.getQuery=function(){return v},a.getResultQuery=function(){return y},a.getResultItems=function(){return m},a.getTrendingCategories=function(){return _},a.getSelectedFormat=function(){return h},a.getSuggestions=function(){return E},a.getTrendingSearchTerms=function(){return g},r}(r.default.Store))(a.default,{GIF_PICKER_INITIALIZE:function(e){p=e.analyticsID},GIF_PICKER_QUERY:function(e){""===(v=e.query)&&(y="",m=[],E=[])},GIF_PICKER_QUERY_SUCCESS:function(e){if(null!=e.query&&v===y)return!1;null!=e.query&&(y=e.query),m=e.items.map((function(e){var t=e.width,n=e.height,r=e.src,a=e.url,o=e.id;return{width:t,height:n,src:O(r),url:a,id:o,format:S(h)?l.GIFResultFormat.VIDEO:l.GIFResultFormat.IMAGE}}))},GIF_PICKER_QUERY_FAILURE:function(e){var t=e.query;if(null==t)return!1;y=t,m=[]},GIF_PICKER_TRENDING_FETCH_SUCCESS:function(e){var t=e.trendingCategories;_=[{type:l.GIFPickerResultTypes.TRENDING_GIFS,icon:o.default,name:u.default.Messages.GIF_PICKER_RESULT_TYPE_TRENDING_GIFS,src:O(e.trendingGIFPreview.src),format:l.GIFResultFormat.IMAGE}].concat(t.map((function(e){return f({},e,{src:O(e.src),type:l.GIFPickerResultTypes.TRENDING_CATEGORY,format:l.GIFResultFormat.VIDEO})})))},GIF_PICKER_SUGGESTIONS_SUCCESS:function(e){var t=e.items;E=t},GIF_PICKER_TRENDING_SEARCH_TERMS_SUCCESS:function(e){var t=e.items;g=t}});t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResponsiveLoadingEmbedTile=t.ResponsiveEmbedTile=t.HORIZONTAL_EMBED_BREAKPOINT=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),i=u(n(8833)),l=u(n(7485));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(){return(f=Object.assign||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}).apply(this,arguments)}t.HORIZONTAL_EMBED_BREAKPOINT=660;var c=function(e){var t;return a.createElement(i.default,f({},e,{className:(0,o.default)(e.className,(t={},t[l.default.embedVertical]=!e.isHorizontal,t[l.default.embedHorizontal]=e.isHorizontal,t))}))};t.ResponsiveEmbedTile=c,c.displayName="ResponsiveEmbedTile";var p=function(e){var t=e.isHorizontal;return a.createElement(c,f({},e,{media:function(){var e;return d("div",{className:(0,o.default)(l.default.loadingDescription)},void 0,d("div",{className:(0,o.default)(l.default.loadingBackgroundWrapper,(e={},e[l.default.loadingBackgroundWrapperHorizontal]=t,e))},void 0,d("div",{className:l.default.loadingBackground})))},title:function(){var e;return d("div",{className:(0,o.default)(l.default.loadingImage,(e={},e[l.default.loadingImageHorizontal]=t,e))})}}))};t.ResponsiveLoadingEmbedTile=p,p.displayName="ResponsiveLoadingEmbedTile"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openPurchaseConfirmationModal=function(e,t,n,r){void 0===r&&(r={});return new Promise((function(i,l){a.default.dispatch({type:o.ActionTypes.PURCHASE_CONFIRMATION_MODAL_OPEN,applicationId:e,skuId:t,entitlements:n,context:null!=r.context?r.context:o.AppContext.APP,analyticsSource:r.analyticsSource,resolve:i,reject:l})}))},t.closePurchaseConfirmationModal=function(e){void 0===e&&(e=null);a.default.dispatch({type:o.ActionTypes.PURCHASE_CONFIRMATION_MODAL_CLOSE,error:e})};var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2020-09_desktop_slash_commands",label:"Slash Commands",defaultConfig:{allowSlashCommands:!1},treatments:[{id:1,label:"Enables the new Slash Commands UI",config:{allowSlashCommands:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(9)),i=n(5965),l=d(n(61)),u=d(n(8320)),s=d(n(7487));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var p=a.memo((function(e){var t,n,r=e.children,d=e.className,f=e.icon,p=e.isCollapsed,v=e.onClick,y=e["aria-label"],m=e.onVisible,_=a.useRef(null);return a.createElement(i.VisibilitySensor,{ref:_,onChange:function(e){e&&m&&m()},threshold:1},c("div",{className:(0,o.default)(s.default.wrapper,d)},void 0,c(l.default,{onClick:v,className:(0,o.default)(s.default.header,(t={},t[s.default.interactive]=null!=p,t)),"aria-expanded":null!=p?!p:void 0,"aria-label":y},void 0,null!=f&&c("div",{"aria-hidden":!0,className:s.default.headerIcon},void 0,f),c("span",{className:s.default.headerLabel},void 0,r),null!=p?c(u.default,{className:(0,o.default)(s.default.headerCollapseIcon,(n={},n[s.default.headerCollapseIconCollapsed]=p,n)),height:16,width:16}):null)))}));t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AutocompleteRowContentSecondary=t.AutocompleteRowSubheading=t.AutocompleteRowHeading=t.AutocompleteRowIcon=t.AutocompleteRowContentPrimary=t.AutocompleteRowContent=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(9)),o=l(n(24)),i=l(n(7366));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=function(e){var t=e.children,n=e.className;return s("div",{className:(0,a.default)(i.default.autocompleteRowContent,n)},void 0,t)};t.AutocompleteRowContent=d,d.displayName="AutocompleteRowContent";var f=function(e){var t=e.children,n=e.className;return s("div",{className:(0,a.default)(i.default.autocompleteRowContentPrimary,n)},void 0,t)};t.AutocompleteRowContentPrimary=f,f.displayName="AutocompleteRowContentPrimary";var c=function(e){var t=e.children,n=e.className;return s("div",{className:(0,a.default)(i.default.autocompleteRowIcon,n)},void 0,t)};t.AutocompleteRowIcon=c,c.displayName="AutocompleteRowIcon";var p=function(e){var t=e.children,n=e.className;return s(o.default,{className:n,color:o.default.Colors.INTERACTIVE_ACTIVE,size:o.default.Sizes.SIZE_16},void 0,t)};t.AutocompleteRowHeading=p,p.displayName="AutocompleteRowHeading";var v=function(e){var t=e.children,n=e.className;return s(o.default,{className:(0,a.default)(n,i.default.autocompleteRowSubheading),color:o.default.Colors.INTERACTIVE_NORMAL,size:o.default.Sizes.SIZE_12},void 0,t)};t.AutocompleteRowSubheading=v,v.displayName="AutocompleteRowSubheading";var y=function(e){var t=e.children,n=e.className;return s(o.default,{className:(0,a.default)(n,i.default.autocompleteRowContentSecondary),color:o.default.Colors.INTERACTIVE_NORMAL,size:o.default.Sizes.SIZE_12},void 0,t)};t.AutocompleteRowContentSecondary=y,y.displayName="AutocompleteRowContentSecondary"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,d:"M21.707 13.293l-11-11C10.519 2.105 10.266 2 10 2H3c-.553 0-1 .447-1 1v7c0 .266.105.519.293.707l11 11c.195.195.451.293.707.293s.512-.098.707-.293l7-7c.391-.391.391-1.023 0-1.414zM7 9c-1.106 0-2-.896-2-2 0-1.106.894-2 2-2 1.104 0 2 .894 2 2 0 1.104-.896 2-2 2z"}))}d.displayName="StoreTag"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=s(n(8362)),l=n(1),u=s(n(7491));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=a.forwardRef((function(e,t){var n=e.activeIndex,r=e.children,s=e.className,d=e.listPadding,c=e.rowCount,p=e.getScrollOffsetForIndex,v=e.rowHeight,y=e.onScroll,m=e.renderCategoryListItem,_=a.useRef(null);return a.useImperativeHandle(t,(function(){return _.current})),function(e){var t=e.activeIndex,n=e.categoryListRef,r=e.getScrollOffsetForIndex,o=a.useRef(l.UNREACHABLE_REQUEST_ANIMATION_FRAME_ID),i=a.useRef(t);a.useEffect((function(){null!=t&&t!==i.current&&(o.current!==l.UNREACHABLE_REQUEST_ANIMATION_FRAME_ID&&window.cancelAnimationFrame(o.current),o.current=window.requestAnimationFrame((function(){var e;if(null!=n.current){var a=t>(null!==(e=i.current)&&void 0!==e?e:-1),u=null!=r?r(t,a):0;n.current.scrollRowIntoView(t,{animate:!0,offset:u}),o.current=l.UNREACHABLE_REQUEST_ANIMATION_FRAME_ID,i.current=t}})))}),[t,n,r])}({activeIndex:n,categoryListRef:_,getScrollOffsetForIndex:p}),f("div",{className:(0,o.default)(u.default.wrapper,s)},void 0,a.createElement(i.default,{listPadding:d,onScroll:y,ref:_,renderRow:m,rowCount:c,rowHeight:v,className:u.default.list,hideScrollbar:!0}),r)}));t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.EventEmitterConsumer=t.EventEmitterProvider=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var a=r.prototype;return a.on=function(){return this},a.once=function(){return this},a.addListener=function(){return this},a.removeListener=function(){return this},a.emit=function(){return!1},r}(((r=n(64))&&r.__esModule?r:{default:r}).default),u=a.createContext(new l),s=u.Provider,d=u.Consumer;t.EventEmitterConsumer=d,t.EventEmitterProvider=s;var f=u;t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("path",{d:"M0,0H24V24H0Z",fill:"none"});function f(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,f=void 0===l?"currentColor":l,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{viewBox:"0 0 24 24",width:n,height:a}),d,s("path",{fill:f,className:c,d:"M12.5,17.6l3.6,2.2a1,1,0,0,0,1.5-1.1l-1-4.1a1,1,0,0,1,.3-1l3.2-2.8A1,1,0,0,0,19.5,9l-4.2-.4a.87.87,0,0,1-.8-.6L12.9,4.1a1.05,1.05,0,0,0-1.9,0l-1.6,4a1,1,0,0,1-.8.6L4.4,9a1.06,1.06,0,0,0-.6,1.8L7,13.6a.91.91,0,0,1,.3,1l-1,4.1a1,1,0,0,0,1.5,1.1l3.6-2.2A1.08,1.08,0,0,1,12.5,17.6Z"}))}f.displayName="FavoriteFilled"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(9)),o=i(n(7499));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var s=function(e){var t,n=e.message,r=e.className,i=e.noResultsImageURL,l=e.forceLightTheme,s=e.suggestions,d=null!=i?{backgroundImage:"url("+i+")"}:{};return u("div",{className:(0,a.default)((t={},t[o.default.forceLightTheme]=l,t),r)},void 0,u("div",{className:o.default.wrapper},void 0,u("div",{className:o.default.sadImage,style:d}),u("div",{},void 0,n),s))};s.displayName="NoSearchResults";var d=s;t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fill:d,className:f,d:"M21.924 8.61789C21.77 8.24489 21.404 8.00089 21 8.00089H15.618L12.894 2.55389C12.555 1.87689 11.444 1.87689 11.105 2.55389L8.38199 8.00089H2.99999C2.59599 8.00089 2.22999 8.24489 2.07599 8.61789C1.92199 8.99089 2.00699 9.42289 2.29299 9.70789L6.87699 14.2919L5.03899 20.7269C4.92399 21.1299 5.07199 21.5619 5.40999 21.8089C5.74999 22.0569 6.20699 22.0659 6.55399 21.8329L12 18.2029L17.445 21.8329C17.613 21.9449 17.806 22.0009 18 22.0009C18.207 22.0009 18.414 21.9369 18.59 21.8089C18.928 21.5619 19.076 21.1299 18.961 20.7269L17.123 14.2919L21.707 9.70789C21.993 9.42289 22.078 8.99089 21.924 8.61789Z"}))}d.displayName="Star"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openStickerPackPremiumUpsellModal=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=M();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(692),l=n(280),u=b(n(5948)),s=b(n(5695)),d=b(n(5696)),f=b(n(6003)),c=b(n(39)),p=b(n(29)),v=b(n(5954)),y=b(n(8865)),m=b(n(8627)),_=n(35),h=n(41),E=b(n(24)),g=b(n(13)),S=b(n(96)),O=n(281),I=n(1),T=b(n(6)),C=b(n(7519));function b(e){return e&&e.__esModule?e:{default:e}}function M(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return M=function(){return e},e}function N(){return(N=Object.assign||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}).apply(this,arguments)}function A(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var P=function(e){var t=e.locale;return a.createElement(a.Fragment,null,A(f.default,{icon:m.default,iconClassName:C.default.iconColorLightBlue,description:T.default.Messages.STICKER_PREMIUM_TIER_2_UPSELL_PERK_QUANTITY}),A(f.default,{icon:m.default,iconClassName:C.default.iconColorPurple,description:T.default.Messages.STICKER_PREMIUM_TIER_2_UPSELL_PERK_CUSTOM}),A(f.default,{icon:y.default,iconClassName:C.default.iconColorPink,description:T.default.Messages.STICKER_PREMIUM_TIER_2_UPSELL_PERK_GUILD_SUBSCRIPTION.format({numGuildSubscriptions:l.NUM_FREE_GUILD_SUBSCRIPTIONS_WITH_PREMIUM,discountPercent:(0,O.formatPercent)(t,l.PREMIUM_GUILD_FOR_PREMIUM_USER_DISCOUNT_PERCENT/100)})}),A(f.default,{icon:v.default,iconClassName:C.default.iconColorYellow,description:T.default.Messages.STICKER_PREMIUM_TIER_2_UPSELL_PERK_PREMIUM_SUBSCRIPTION}))},R=function(e){var t=e.onClose,r=(0,o.useStateFromStores)([c.default],(function(){return c.default.locale})),a=S.default.getPrice(I.SubscriptionPlans.PREMIUM_MONTH_TIER_2);return A("div",{className:C.default.wrapper},void 0,A(_.ModalCloseButton,{onClick:t,className:C.default.closeButton}),A("img",{className:C.default.heroImage,src:n(9465),alt:""}),A(E.default,{size:E.default.Sizes.SIZE_16,className:C.default.heading},void 0,T.default.Messages.STICKER_PREMIUM_TIER_2_UPSELL_ALERT_TITLE.format({monthlyPrice:(0,O.formatPrice)(a.amount,a.currency)})),A("div",{className:C.default.perks},void 0,A(P,{locale:r})))};R.displayName="StickerPackPremiumUpsellBody";var L=function(e){var t=e.onClose,n={section:I.AnalyticsSections.STICKER_PREMIUM_TIER_2_UPSELL_MODAL};return A(_.ModalFooter,{className:C.default.footer},void 0,A(s.default,{onClick:t}),A(u.default,{premiumModalAnalyticsLocation:n,subscriptionTier:I.PremiumSubscriptionSKUs.TIER_2,size:p.default.Sizes.SMALL,color:p.default.Colors.GREEN,onClick:function(){t()}}))};L.displayName="StickerPackPremiumUpsellFooter";t.openStickerPackPremiumUpsellModal=function(e){g.default.track(I.AnalyticEvents.OPEN_MODAL,{type:I.AnalyticsSections.STICKER_PREMIUM_TIER_2_UPSELL_MODAL,location:e}),(0,h.openModal)((function(e){var t=e.onClose,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onClose"]);return a.createElement(_.ModalRoot,N({},n,{"aria-labelledby":"sticker-pack-premium-upsell-modal-header"}),A(d.default,{hideBreadcrumbs:!0,body:A(R,{onClose:t}),footer:A(L,{onClose:t}),steps:[i.Step.PREMIUM_UPSELL],currentStep:i.Step.PREMIUM_UPSELL}))}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),i=u(n(22)),l=u(n(7518));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t,n,r=e.width,u=void 0===r?24:r,s=e.height,c=void 0===s?24:s,p=e.color,v=void 0===p?"currentColor":p,y=e.winking,m=void 0!==y&&y,_=e.foreground,h=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","winking","foreground"]);return a.createElement("svg",d({width:u,height:c},(0,i.default)(h),{viewBox:"0 0 20 20"}),f("path",{fill:v,className:(0,o.default)(_,(t={},t[l.default.hidden]=m,t)),fillRule:"evenodd",clipRule:"evenodd",d:"M12.0002 0.662583V5.40204C12.0002 6.83974 13.1605 7.99981 14.5986 7.99981H19.3393C19.9245 7.99981 20.222 7.29584 19.8055 6.8794L13.1209 0.196569C12.7043 -0.219868 12.0002 0.0676718 12.0002 0.662583ZM14.5759 10.0282C12.0336 10.0282 9.96986 7.96441 9.96986 5.42209V0.0583083H1.99397C0.897287 0.0583083 0 0.955595 0 2.05228V18.0041C0 19.1007 0.897287 19.998 1.99397 19.998H17.9457C19.0424 19.998 19.9397 19.1007 19.9397 18.0041V10.0282H14.5759ZM11.9998 12.2201C11.9998 13.3245 11.1046 14.2198 10.0002 14.2198C8.8958 14.2198 8.00052 13.3245 8.00052 12.2201H6.66742C6.66742 14.0607 8.15955 15.5529 10.0002 15.5529C11.8408 15.5529 13.3329 14.0607 13.3329 12.2201H11.9998ZM4.44559 13.331C4.44559 13.9446 3.94821 14.442 3.33467 14.442C2.72112 14.442 2.22375 13.9446 2.22375 13.331C2.22375 12.7175 2.72112 12.2201 3.33467 12.2201C3.94821 12.2201 4.44559 12.7175 4.44559 13.331ZM16.6657 14.442C17.2793 14.442 17.7766 13.9446 17.7766 13.331C17.7766 12.7175 17.2793 12.2201 16.6657 12.2201C16.0522 12.2201 15.5548 12.7175 15.5548 13.331C15.5548 13.9446 16.0522 14.442 16.6657 14.442Z"}),f("path",{fill:v,className:(0,o.default)(_,(n={},n[l.default.hidden]=!m,n)),fillRule:"evenodd",clipRule:"evenodd",d:"M12.0002 0.662583V5.40204C12.0002 6.83974 13.1605 7.99981 14.5986 7.99981H19.3393C19.9245 7.99981 20.222 7.29584 19.8055 6.8794L13.1209 0.196569C12.7043 -0.219868 12.0002 0.0676718 12.0002 0.662583ZM14.5759 10.0282C12.0336 10.0282 9.96986 7.96441 9.96986 5.42209V0.0583083H1.99397C0.897287 0.0583083 0 0.955595 0 2.05228V18.0041C0 19.1007 0.897287 19.998 1.99397 19.998H17.9457C19.0424 19.998 19.9397 19.1007 19.9397 18.0041V10.0282H14.5759ZM12 13H11.2H8.8H8C8 14.1046 8.89543 15 10 15C11.1046 15 12 14.1046 12 13ZM17.7766 13.331C17.7766 13.9446 17.2793 14.442 16.6657 14.442C16.0522 14.442 15.5548 13.9446 15.5548 13.331C15.5548 12.7175 16.0522 12.2201 16.6657 12.2201C17.2793 12.2201 17.7766 12.7175 17.7766 13.331ZM2 12.2361L2.53532 11L5.62492 12.7835C5.79161 12.8797 5.79161 13.1203 5.62492 13.2165L2.53532 15L2 13.7639L3.32339 13L2 12.2361Z"}))}c.displayName="Sticker"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),a=l(n(28)),o=l(n(2)),i=n(8561);n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=!0,d=new Set;function f(){a.default.set("SpellcheckStore",{enabled:s,learnedWords:d})}var c=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var o=r.prototype;return o.initialize=function(){var e=a.default.get("SpellcheckStore");null!=e&&(s=e.enabled,d=new Set(e.learnedWords),(0,i.setEnabled)(s),(0,i.setLearnedWords)(d))},o.isEnabled=function(){return s},r}(r.default.Store))(o.default,{SPELLCHECK_TOGGLE:function(e){return s=!s,(0,i.setEnabled)(s),void f()},SPELLCHECK_LEARN_WORD:function(e){var t=e.word;d.add(t.toLocaleLowerCase()),(0,i.setLearnedWords)(d),f()},I18N_LOAD_SUCCESS:function(e){var t=e.locale;(0,i.setAppLocale)(t)}});t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var r,a=v(n(0)),o=n(389),i=v(n(8253)),l=c(n(8630)),u=c(n(8631)),s=c(n(16)),d=c(n(43)),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t=e.text,n=e.target,r=e.onHeightUpdate,c=e.onSelect,p=a.useCallback((function(){(0,o.closeContextMenu)(),n instanceof HTMLElement&&n.focus()}),[n]),v=(0,u.default)({text:t,target:n,onHeightUpdate:r}),m=v[0],_=v[1],h=(0,l.default)();if(!s.default.embedded)return null;if(!(n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement))return null;var E=""!==t?[y(i.MenuItem,{id:"copy",label:f.default.Messages.COPY,hint:s.default.isOSX()?"⌘C":"Ctrl+C",action:function(){return d.default.copy(t)}}),y(i.MenuItem,{id:"cut",label:f.default.Messages.CUT,hint:s.default.isOSX()?"⌘X":"Ctrl+X",action:function(){return setTimeout((function(){return d.default.cut()}),0)}})]:null;return y(i.default,{navId:"textarea-context",onClose:p,"aria-label":f.default.Messages.TEXTAREA_ACTIONS_MENU_LABEL,onSelect:c},void 0,y(i.MenuGroup,{},void 0,h),y(i.MenuGroup,{},void 0,m),y(i.MenuGroup,{},void 0,_),y(i.MenuGroup,{},void 0,E,y(i.MenuItem,{id:"paste",label:f.default.Messages.PASTE,hint:s.default.isOSX()?"⌘V":"Ctrl+V",action:function(){return setTimeout((function(){return d.default.paste()}),0)}})))}m.displayName="NativeTextAreaContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=n(8742),i=f(n(8560)),l=n(8253),u=f(n(13)),s=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(){var e=(0,a.useStateFromStores)([i.default],(function(){return i.default.expressionSuggestionsEnabled}));return p(l.MenuCheckboxItem,{id:"sticker-suggestions",label:d.default.Messages.AUTO_SUGGEST_STICKERS,checked:e,action:function(){u.default.track(s.AnalyticEvents.STICKER_SUGGESTIONS_ENABLED_TOGGLED,{enabled:!e,location:{object:s.AnalyticsObjects.CONTEXT_MENU}}),(0,o.toggleExpressionSuggestionsEnabled)()}})}v.displayName="useExpressionSuggestionItems"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.text,n=void 0===t?"":t,r=e.target,p=(0,o.useStateFromStores)([u.default],(function(){return u.default.isEnabled()})),v=a.useRef(m({},e,{spellcheckEnabled:p}));v.current=m({},e,{spellcheckEnabled:p});var _=a.useRef(!1),h=a.useState(!1),E=h[0],g=h[1],S=a.useState([]),O=S[0],I=S[1],T=a.useCallback((function(){var e=v.current,t=e.spellcheckEnabled,n=e.text,r=e.onHeightUpdate;t&&(0,d.isSupported)()&&Promise.all([(0,d.isMisspelled)(n,!0),(0,d.getCorrections)(n,!0)]).then((function(e){var t=e[0],n=e[1];_.current&&(g(t),I(n),r())}))}),[]),C=a.useCallback((function(){if(r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement){var e=r.selectionStart,t=r.selectionEnd,n=r.value;r.value="",r.value=n,"email"!==r.type&&(r.selectionStart=e,r.selectionEnd=t)}}),[r]);if(a.useEffect((function(){return(0,d.addResultListener)(T),_.current=!0,function(){_.current=!1,(0,d.removeResultListener)(T)}}),[T]),a.useEffect((function(){T()}),[n,p,T]),!(0,d.isSupported)())return[null,null];var b=O.map((function(e,t){return y(l.MenuItem,{id:"correction-"+t,label:e,action:function(){(0,d.replaceWithCorrection)(e),r.focus()}})})),M=a.createElement(a.Fragment,null,E?y(l.MenuItem,{id:"add-to-dictionary",label:c.default.Messages.ADD_TO_DICTIONARY,action:function(){(0,i.learnWord)(n),C()}}):null,y(l.MenuCheckboxItem,{id:"spellcheck",label:c.default.Messages.SPELLCHECK,checked:p,action:function(){(0,i.toggleSpellcheck)(),C()}}),p?y(l.MenuItem,{id:"languages",label:c.default.Messages.LANGUAGES,action:function(){return window.open(s.default.getArticleURL(f.HelpdeskArticles.SPELLCHECK))}}):null);return[b,M]};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(8873),l=n(8253),u=p(n(8628)),s=p(n(93)),d=n(8561),f=n(1),c=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(){return(m=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!l.default.embedded||null==e||(t=e,n=new URL(t),r=h(t),"https://media.discordapp.net"!==n.origin&&"https://cdn.discordapp.com"!==n.origin||t.startsWith("https://media.discordapp.net/stickers")||null==r||!m.has(r)))return null;var t,n,r;var a=function(e){var t=new URL(e);return"https://cdn.discordapp.com"===t.origin?e:"https://cdn.discordapp.com"+t.pathname}(e),u=function(){var e=y(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,s.default.saveImage(a);case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),g(d.default.Messages.ERROR_SAVING_IMAGE,e.t0);case 8:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(){return e.apply(this,arguments)}}(),f=function(){var e=y(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,s.default.copyImage(a);case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),g(d.default.Messages.ERROR_COPYING_IMAGE,e.t0);case 8:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(){return e.apply(this,arguments)}}();return l.default.isLinux()&&(0,i.getElectronVersion)()<7?null:[s.default.canCopyImage()&&E(e)?p(o.MenuItem,{id:"copy-image",label:d.default.Messages.COPY_IMAGE_MENU_ITEM,action:f},"copy-image"):null,p(o.MenuItem,{id:"save-image",label:d.default.Messages.SAVE_IMAGE_MENU_ITEM,action:u},"save-image")]};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=f(n(154)),o=n(8253),i=n(1179),l=f(n(16)),u=f(n(164)),s=f(n(43)),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function y(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){v(o,r,a,i,l,"next",e)}function l(e){v(o,r,a,i,l,"throw",e)}i(void 0)}))}}var m=new Set(["jpg","jpeg","png","webp","gif","tiff","bmp"]),_=new Set(["jpg","jpeg","png"]),h=function(e){var t;return null===(t=new URL(e).pathname.split(".").pop())||void 0===t?void 0:t.toLowerCase()};function E(e){var t=h(e);return null!=t&&_.has(t)}function g(e,t){a.default.show({title:d.default.Messages.ERROR,body:e}),u.default.captureException(t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NotificationTypes=void 0;var r,a,o=y(n(0)),i=p(n(9)),l=n(122),u=p(n(29)),s=p(n(8883)),d=p(n(8884)),f=y(n(248)),c=p(n(7537));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(){return(_=Object.assign||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}).apply(this,arguments)}t.NotificationTypes=a,function(e){e[e.UPDATE=0]="UPDATE",e[e.NEW=1]="NEW"}(a||(t.NotificationTypes=a={}));var h={config:{friction:26,tension:700,mass:1},initial:{scale:1,opacity:1},from:{scale:.6,opacity:0},enter:{scale:1,opacity:1},leave:{scale:.6,opacity:0}};function E(e){var t,n,r=e.tabIndex,a=e.className,o=e.iconClassName,p=e.icon,v=e.children,y=e.onClick,E=e.isActive,g=e.onMouseEnter,S=e.onMouseLeave,O=e.onFocus,I=e.onBlur,T=e.pulse,C=e.sparkle,b=e.notification,M=e.label,N=(0,l.useTransition)(null!=v,_({},h,{keys:function(e){return e?"children":"icon"}})),A=function(e){var t=e.component;return null!=b?m("div",{className:c.default.buttonContent},void 0,m(f.default,{className:c.default.iconMask,mask:f.MaskIDs.CHAT_INPUT_BUTTON_NOTIFICATION,width:24,height:24},void 0,t),m("span",{className:c.default.notificationDot})):t};return m(u.default,{look:u.default.Looks.BLANK,size:u.default.Sizes.NONE,"aria-label":M,tabIndex:r,className:(0,i.default)((t={},t[c.default.active]=E,t)),innerClassName:(0,i.default)(c.default.button,a,(n={},n[c.default.pulseButton]=T,n)),onClick:y,onMouseEnter:g,onMouseLeave:S,onFocus:O,onBlur:I,focusProps:{offset:{top:4,bottom:4}}},void 0,N((function(e,t,n){var r,a=n.key;return t?m(l.animated.div,{style:e,className:c.default.buttonWrapper,id:a},a,A({component:v})):null!=p?m(l.animated.div,{style:e,className:c.default.buttonWrapper,id:a},a,A({component:m(p,{className:(0,i.default)(c.default.icon,o,(r={},r[c.default.pulseIcon]=T,r))})})):void 0})),C&&m("div",{className:c.default.sparkleContainer},void 0,m(d.default,{className:c.default.sparkleStar}),m(s.default,{className:c.default.sparklePlus})))}E.displayName="ChannelTextAreaButton";var g=o.memo(E);t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NO_PAYMENT_SOURCE=void 0;var r=i(n(3)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(){return(s=Object.assign||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}).apply(this,arguments)}t.NO_PAYMENT_SOURCE="no_payment_source";var d,f,c=null,p=null,v=null,y=null,m=null,_={},h=null,E=!1,g=null,S=!1,O=!1,I=!1,T=!1,C=null;function b(e){null!=d&&null!=h?d(h):null!=f&&f(e),d=null,f=null}var M=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var a,i,s,d=r.prototype;return d.getPricesForSku=function(e){return _[e]},d.isOpen=function(){var e=__OVERLAY__?o.AppContext.OVERLAY:o.AppContext.APP;return C===e&&I},a=r,(i=[{key:"isPurchasingSKU",get:function(){return E}},{key:"forceConfirmationStepOnMount",get:function(){return S}},{key:"error",get:function(){return g}},{key:"skuId",get:function(){return c}},{key:"applicationId",get:function(){return v}},{key:"analyticsLocation",get:function(){return y}},{key:"promotionId",get:function(){return m}},{key:"isIAP",get:function(){return O}},{key:"giftCode",get:function(){return p}},{key:"isGift",get:function(){return T}}])&&l(a.prototype,i),s&&l(a,s),r}(r.default.Store))(a.default,{SKU_PURCHASE_MODAL_OPEN:function(e){b(),c=e.skuId,v=e.applicationId,O=e.isIAP,y=e.analyticsLocation,C=e.context,T=e.isGift,I=!0,S=!1,d=e.resolve,f=e.reject,g=null,h=null,m=e.promotionId},SKU_PURCHASE_MODAL_CLOSE:function(e){var t=e.error;I=!1,C=null,b(t)},SKU_PURCHASE_PREVIEW_FETCH_SUCCESS:function(e){var t,n,r=e.skuId,a=e.paymentSourceId,o=e.price;_=s({},_,((n={})[r]=s({},_[r],((t={})[null!=a?a:"no_payment_source"]=o,t)),n))},SKU_PURCHASE_START:function(e){E=!0},SKU_PURCHASE_SUCCESS:function(e){var t=e.entitlements,n=e.giftCode;E=!1,h=t,p=n},SKU_PURCHASE_FAIL:function(e){var t=e.error;E=!1,g=t},SKU_PURCHASE_SHOW_CONFIRMATION_STEP:function(e){S=!0},SKU_PURCHASE_CLEAR_ERROR:function(e){g=null},SKU_PURCHASE_UPDATE_IS_GIFT:function(e){T=e.isGift},OVERLAY_SET_INPUT_LOCKED:function(e){if(!e.locked||null==C)return!1;I=!1,C=null,b()},GIFT_CODE_CREATE:function(e){var t=e.giftCode;if(0!==t.uses||t.sku_id!==c)return!1;p=t.code}});t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=s(n(9)),l=n(1),u=s(n(7548));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}!function(e){e.XSMALL="xsmall",e.SMALL="small",e.LARGE="large"}(a||(a={}));var p=function(e){var t,n,r,s,d=e.className,p=e.percent,v=e.size,y=void 0===v?a.SMALL:v,m=e.foregroundColor,_=void 0===m?l.Colors.BRAND:m,h=e.backgroundColor,E=void 0===h?"var(--background-modifier-active)":h,g=e.foregroundGradientColor,S=e.animate,O=void 0===S||S,I=null!=p?p:0;return s=null!=g?{background:"linear-gradient(to right, "+g[0]+", "+g[1]+")"}:{backgroundColor:_},f("div",{className:(0,i.default)(d,u.default.progress,u.default[y]),style:{backgroundColor:E}},void 0,"indeterminate"!==I&&"number"==typeof I?f("div",{className:(0,i.default)(u.default.progressBar,u.default[y],(t={},t[u.default.animating]=O,t)),style:c({transform:"translate3d("+(Math.min(Math.max(0,I),100)-100)+"%, 0, 0)"},s)}):f(o.Fragment,{},void 0,f("div",{className:(0,i.default)(u.default.indeterminateBar1,u.default[y],(n={},n[u.default.animating]=O,n)),style:s}),f("div",{className:(0,i.default)(u.default.indeterminateBar2,u.default[y],(r={},r[u.default.animating]=O,r)),style:s})))};p.displayName="Progress",p.Sizes=a,p.INDETERMINATE="indeterminate";var v=p;t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.InLibraryPrice=void 0;var r,a,o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),l=p(n(9)),u=p(n(8440)),s=p(n(8508)),d=p(n(5686)),f=p(n(6)),c=p(n(7371));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}!function(e){e[e.DIRECTORY_HERO=1]="DIRECTORY_HERO",e[e.DIRECTORY_TILE=2]="DIRECTORY_TILE",e[e.DIRECTORY_SEARCH=3]="DIRECTORY_SEARCH",e[e.LISTING=4]="LISTING",e[e.EMBED=5]="EMBED"}(a||(a={})),function(e){e[e.IN_LIBRARY=1]="IN_LIBRARY",e[e.ON_SALE=2]="ON_SALE",e[e.PREMIUM=3]="PREMIUM",e[e.DEFAULT=4]="DEFAULT",e[e.ENTITLEMENT_BRANCH=5]="ENTITLEMENT_BRANCH"}(o||(o={}));var _=function(e){var t=e.className;return m("div",{className:(0,l.default)(c.default.row,t)},void 0,m(s.default,{className:c.default.icon}),f.default.Messages.APPLICATION_STORE_IN_LIBRARY)};t.InLibraryPrice=_,_.displayName="InLibraryPrice";var h=function(e){var t=e.sku,n=e.className;return m("div",{className:(0,l.default)(c.default.row,n)},void 0,m(d.default,{className:c.default.icon}),(0,u.default)(t))};h.displayName="PremiumPrice";var E=function(e){var t=e.sku,n=e.className;return m("div",{className:(0,l.default)(c.default.salePercentage,n)},void 0,t.getDisplaySalePercentage())};E.displayName="SalePercent";var g=function(e){var t=e.sku,n=e.className;return m("div",{className:(0,l.default)(c.default.originalAmount,n)},void 0,(0,u.default)(t,!1))};g.displayName="OriginalAmount";var S=function(e){var t=e.sku;return m("div",{className:e.className},void 0,(0,u.default)(t))};S.displayName="Price";var O=function(e){var t=e.sku,n=e.className;return m("div",{className:(0,l.default)(c.default.row,n)},void 0,m(E,{sku:t}),m(g,{sku:t}),m(S,{sku:t}))};O.displayName="InlineSale";var I=function(e){return m("div",{className:e.className},void 0,f.default.Messages.APPLICATION_STORE_FREE)};I.displayName="EntitlementBranchPrice";var T=m(I,{}),C=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n);var u=r.prototype;return u.getState=function(){var e=this.props,t=e.inLibrary,n=e.sku;return e.hasEntitlementBranch?o.ENTITLEMENT_BRANCH:t?o.IN_LIBRARY:n.available?n.premium?o.PREMIUM:n.isOnSale?o.ON_SALE:null!=n.getPrice()?o.DEFAULT:null:o.DEFAULT},u.renderGeneric=function(e,t){var n=this.props,r=n.className,a=n.sku;switch(e){case o.ENTITLEMENT_BRANCH:return m(I,{className:(0,l.default)(t,r)});case o.IN_LIBRARY:return m(_,{className:(0,l.default)(t,r)});case o.PREMIUM:return m(h,{sku:a,className:(0,l.default)(t,r)});case o.ON_SALE:return m(O,{sku:a,className:(0,l.default)(t,r)});default:return m(S,{className:(0,l.default)(t,r),sku:a})}},u.renderDirectoryHero=function(e){var t=this.props,n=t.className,r=t.sku;switch(e){case o.ENTITLEMENT_BRANCH:return m(I,{className:(0,l.default)(n)});case o.PREMIUM:return m(h,{sku:r,className:(0,l.default)(c.default.directoryHeroPricePremium,n)});case o.ON_SALE:return m(O,{sku:r,className:(0,l.default)(c.default.directoryHeroPrice,n)});default:return m(S,{className:(0,l.default)(c.default.directoryHeroPrice,n),sku:r})}},u.renderListing=function(e){var t,n=this.props,r=n.className,a=n.sku;switch(e){case o.ENTITLEMENT_BRANCH:t=T;break;case o.ON_SALE:t=m(i.Fragment,{},void 0,m("div",{className:c.default.row},void 0,m(S,{sku:a}),m(E,{sku:a})),m(g,{sku:a}));break;default:t=m(S,{sku:a})}return m("div",{className:(0,l.default)(c.default.listingPrice,r)},void 0,t)},u.render=function(){var e=this.getState();if(null==e)return null;switch(this.props.type){case a.DIRECTORY_HERO:return this.renderDirectoryHero(e);case a.DIRECTORY_TILE:return this.renderGeneric(e,c.default.directoryTilePrice);case a.DIRECTORY_SEARCH:return this.renderGeneric(e,c.default.directorySearchPrice);case a.LISTING:return this.renderListing(e);case a.EMBED:return this.renderGeneric(e,c.default.embedPrice);default:throw new Error("Invalid Price Unit Type")}},r}(i.PureComponent);C.displayName="PriceUnit",C.Types=a;var b=C;t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useIsComponentDisabled=t.createComponents=void 0;var r=_(n(8)),a=_(n(1288)),o=n(286),i=n(8611),l=_(n(182)),u=_(n(10)),s=_(n(56)),d=_(n(1219)),f=_(n(12)),c=_(n(150)),p=n(8638),v=_(n(8898)),y=n(9538),m=_(n(6));function _(e){return e&&e.__esModule?e:{default:e}}function h(){return(h=Object.assign||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}).apply(this,arguments)}var E=function(e,t){return{id:e.id,name:e.name,animated:e.animated,src:t&&null!=e.id?c.default.getEmojiURL({id:e.id,animated:e.animated||!1}):void 0}},g=function(e,t,n){var a=p.ActionComponentState.NORMAL;return null!=e&&e.state!==i.InteractionState.FAILED&&(e.data.interactionType===o.InteractionTypes.MESSAGE_COMPONENT&&r.default.isEqual(e.data.indices,n)?a=p.ActionComponentState.LOADING:S(t)&&(a=p.ActionComponentState.DISABLED)),a};t.createComponents=function e(t,n,a,l,u){void 0===l&&(l=[]);var s=(null==a?void 0:a.data.interactionType)===o.InteractionTypes.MESSAGE_COMPONENT&&(null==a?void 0:a.state)===i.InteractionState.FAILED?a.data.indices:null,d=t.applicationId||t.author.id;return n.map((function(n,i){var f,c;if(!function(e){switch(e){case o.ComponentType.ACTION_ROW:case o.ComponentType.BUTTON:return!0;case o.ComponentType.SELECT:return y.SelectComponentExperiment.getCurrentConfig({}).enabled}}(n.type))return null;var p=l.concat([i]);switch(n.type){case o.ComponentType.BUTTON:var _=null!=n.emoji?E(n.emoji,u):void 0;return{type:o.ComponentType.BUTTON,customId:n.custom_id,hash:n.hash,style:n.style,disabled:n.disabled,url:n.url,label:n.label,emoji:_,indices:p,state:g(a,n,p),applicationId:d};case o.ComponentType.ACTION_ROW:var S,I,T=null!=n.components?e(t,n.components,a,l.concat(i),u):void 0;if(null!=s&&r.default.isEqual(s.slice(0,s.length-1),p))S=null!==(I=t.interactionError)&&void 0!==I?I:function(e){return 429===(null==e?void 0:e.errorCode)?m.default.Messages.INTERACTION_RATE_LIMITED:m.default.Messages.APPLICATION_COMMAND_FAILED}(a);return{type:o.ComponentType.ACTION_ROW,components:T,errorText:S};case o.ComponentType.SELECT:var C=null===(f=v.default.getInteractionComponentState(t.id,p))||void 0===f?void 0:f.selectedOptions,b={type:o.ComponentType.SELECT,customId:n.custom_id,disabled:n.disabled,hash:n.hash,options:n.options.map((function(e){return{label:e.label,value:e.value,default:e.default,description:e.description,emoji:null!=e.emoji?E(e.emoji,u):void 0}})),placeholder:null!==(c=n.placeholder)&&void 0!==c?c:m.default.Messages.MESSAGE_SELECT_COMPONENT_DEFAULT_PLACEHOLDER,minValues:n.min_values,maxValues:n.max_values,indices:p,selectedOptions:C,state:g(a,n,p),applicationId:d};return h({},b,{accessibilityLabel:O(b,C)})}})).filter((function(e){return null!=e}))};var S=function(e){switch(e.type){case o.ComponentType.BUTTON:return e.style!==o.ButtonStyle.LINK;case o.ComponentType.SELECT:return!0;case o.ComponentType.ACTION_ROW:return!1}},O=function(e,t){if(t&&t.length>0){var n=t.map((function(t){return e.options[t].label}));return m.default.Messages.SELECT_ACCESSIBILITY_DESC_WITH_SELECTION.format({selections:n.join(",")})}return m.default.Messages.SELECT_ACCESSIBILITY_DESC.format({placeholder:e.placeholder})};t.useIsComponentDisabled=function(e){var t=u.default.getChannel(e),n=(0,a.default)([d.default],(function(){return null==(null==t?void 0:t.guild_id)||d.default.canChatInGuild(t.guild_id)}),[t]),r=(0,a.default)([l.default],(function(){return null!=(null==t?void 0:t.guild_id)&&l.default.isLurking(t.guild_id)}),[t]),o=(0,a.default)([s.default,f.default],(function(){var e,n,r=f.default.getCurrentUser();return null!==(e=null!=(null==t?void 0:t.guild_id)&&null!=r?null===(n=s.default.getMember(null==t?void 0:t.guild_id,r.id))||void 0===n?void 0:n.isPending:null)&&void 0!==e&&e}));return!(n&&!r&&!o)}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ActionComponentState=void 0,t.ActionComponentState=r,function(e){e[e.NORMAL=0]="NORMAL",e[e.LOADING=1]="LOADING",e[e.DISABLED=2]="DISABLED"}(r||(t.ActionComponentState=r={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n;return(0,a.useStateFromStores)([i.default],(function(){return i.default.hasJoined(e.id)}))?f(o.MenuItem,{id:"leave-thread",label:u.default.Messages.LEAVE_THREAD,action:function(){return l.default.leaveThread(e,t)}}):(null===(n=e.threadMetadata)||void 0===n?void 0:n.archived)?null:f(o.MenuItem,{id:"join-thread",label:u.default.Messages.JOIN_THREAD,action:function(){return l.default.joinThread(e,t)}})};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=n(8253),i=s(n(204)),l=s(n(8265)),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=i(n(8641)),o=i(n(682));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e){var t=(0,o.default)(e.message);return r.createElement(a.default,u({},e,{author:t}))}s.displayName="Username"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.author,r=e.message,l=e.userOverride,u=e.compact,d=void 0!==u&&u,y=e.withMentionPrefix,m=void 0!==y&&y,g=e.showPopout,S=void 0!==g&&g,O=e.className,I=e.hideTag,T=e.onClick,C=e.onContextMenu,b=e.onPopoutRequestClose,M=e.renderPopout,N=a.useContext(i.GuildIDContext),A=m?"@":"",P=n.nick,R=n.colorString,L={className:v.default.username,style:R?{color:R}:void 0,onClick:T,onContextMenu:C,children:A+P};t=null!=M&&null!=S?h(c.default,{preload:function(){var e=null!=l?l:r.author;return e.bot?Promise.resolve():(0,s.default)(e.id,null!=n.guildMemberAvatar&&null!=N?(0,p.getGuildMemberAvatarURLSimple)({guildId:N,userId:e.id,avatar:n.guildMemberAvatar}):e.getAvatarURL(N))},renderPopout:M,shouldShow:S,position:c.default.Positions.RIGHT,onRequestClose:b},void 0,(function(e){e.onClick;var t=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onClick"]);return a.createElement(f.default,_({tag:"span"},t,L,{className:(0,o.default)(L.className,v.default.clickable,O)}))})):a.createElement(f.default,_({},L,{className:(0,o.default)(L.className,O)}));return a.createElement(a.Fragment,null,!I&&d?a.createElement(a.Fragment,null," ",E(r,d,l)," "):null,t,I||d?null:E(r,d,l))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(9)),i=n(5943),l=y(n(8642)),u=n(8643),s=y(n(8264)),d=y(n(1222)),f=y(n(61)),c=y(n(278)),p=n(150),v=y(n(7341));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e,t,n){var r,a=null!=n?n:null==e?void 0:e.author;return(null==e?void 0:e.isSystemDM())?r=d.default.Types.SYSTEM_DM:null!=e&&(0,l.default)(e)?r=(0,u.isPublicSystemMessage)(e)?d.default.Types.OFFICIAL:d.default.Types.SERVER:(null==a?void 0:a.bot)&&(r=d.default.Types.BOT),null!=r?h(d.default,{className:t?v.default.botTagCompact:v.default.botTagCozy,type:r,verified:null==a?void 0:a.isVerifiedBot(),useRemSizes:!0}):null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.type===r.MessageTypes.DEFAULT&&null!=e.messageReference};var r=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPublicSystemMessage=function(e){return(0,r.default)(e)&&e.messageReference.guild_id===a.PUBLIC_GUILD_ANNOUNCEMENTS_GUILD_ID||null!=e.author&&e.author.id===a.PUBLIC_GUILD_UPDATES_WEBHOOK_USER_ID},t.getPublicSystemMessageAvatar=function(){return o.default};var r=i(n(8642)),a=n(8474),o=i(n(9549));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(e.match(i))return o.LATIN24;if(e.length<=5)return o.LATIN12;return o.ASIAN};var r,a=(r=n(7341))&&r.__esModule?r:{default:r};var o={LATIN12:a.default.latin12CompactTimeStamp,LATIN24:a.default.latin24CompactTimeStamp,ASIAN:a.default.asianCompactTimeStamp},i=/(AM|PM)$/},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){var t=e.channel,n=e.canChat,r=e.renderReactions,a=e.canAddNewReactions,o=e.isLurking,i=t.isPrivate(),l=t.isSystemDM(),u=t.isArchivedThread(),s=(n||i)&&!u;return{disableReactionReads:!r,disableReactionCreates:o||!s||!((!0===a||i)&&!l&&!u),disableReactionUpdates:o||!s}};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.useStateFromStoresArray)([o.default,a.default],(function(){var t=Object.entries(a.default.getVoiceStatesForChannel(e)).map((function(e){return{userId:e[0],sessionId:e[1].sessionId}})),n=[],r=o.default.getSelfEmbeddedActivityForChannel(e);return null!=r&&n.push(r),t.forEach((function(e){var t=e.userId,r=e.sessionId,a=o.default.getEmbeddedActivitiesForUser(t,r);n.push.apply(n,a)})),n}),[e])};var r=n(3),a=i(n(80)),o=i(n(294));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(8)),a=d(n(3)),o=d(n(2)),i=d(n(11)),l=d(n(70)),u=d(n(479)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var y={},m={};function _(e,t){return(y[e]||{})[t]||null}function h(e,t){var n=_(e,t);if(null!=n){var a=y[e];delete a[t],r.default.isEmpty(a)&&delete y[e];var o=m[n];null!=o&&(o.delete(e),0===o.size&&delete m[n])}}function E(e,t,n,r){var a=n.find((function(e){return null!=e.party&&e.party.id})),o=null!=a&&null!=a.party?a.party.id:null,i=_(t,e);if(null==o||r===s.StatusTypes.OFFLINE)return null!=i&&void h(t,e);if(null!=i){if(i===o)return!1;h(t,e)}!function(e,t,n){var r=y[e];if(null==r&&(r=y[e]={}),r[t]=n,!l.default.isBlocked(e)){var a=m[n]||new Set;m[n]=a,a.add(e)}}(t,e,o)}function g(e){for(var t,n=e.guild,r=!1,a=p(n.presences);!(t=a()).done;){var o=t.value,i=o.user,l=o.status,u=o.activities;!1!==E(n.id,i.id,u,l)&&(r=!0)}return r}function S(e,t){var n=!1;return t.forEach((function(t){null!=t&&E(e,t.user.id,t.activities,t.status)&&(n=!0)})),n}function O(){var e=i.default.getId(),t=u.default.getActivities();return E(s.ME,e,t)}var I=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var a=r.prototype;return a.initialize=function(){this.syncWith([u.default],O),this.waitFor(u.default,l.default)},a.getParty=function(e){return null!=e&&null!=m[e]?m[e]:null},a.getUserParties=function(){return y},a.getParties=function(){return m},r}(a.default.Store))(o.default,{CONNECTION_OPEN_SUPPLEMENTAL:function(e){for(var t,n=e.guilds,r=!1,a=p(e.presences);!(t=a()).done;){var o=t.value,i=o.user,l=o.status,u=o.activities;null!=i&&!1!==E(s.ME,i.id,u,l)&&(r=!0)}for(var d,f=p(n);!(d=f()).done;){!1!==g({guild:d.value})&&(r=!0)}return r},OVERLAY_INITIALIZE:function(e){var t=e.parties,n=e.userParties;m={},y=c({},n),Object.keys(t).forEach((function(e){return m[e]=new Set(t[e])}))},GUILD_CREATE:g,PRESENCES_REPLACE:function(e){for(var t,n=!1,r=p(e.presences);!(t=r()).done;){var a=t.value,o=a.user,i=a.activities;null!=o&&!1!==E(s.ME,o.id,i)&&(n=!0)}return n},PRESENCE_UPDATE:function(e){var t=e.guildId,n=e.user,r=e.status,a=e.activities;return E(t||s.ME,n.id,a,r)},THREAD_MEMBER_LIST_UPDATE:function(e){return S(e.guildId,e.members.map((function(e){return e.presence})))},THREAD_MEMBERS_UPDATE:function(e){var t=e.guildId,n=e.addedMembers;return null!=n&&S(t,n.map((function(e){return e.presence})))},RELATIONSHIP_ADD:function(e){var t=e.relationship;if(!l.default.isBlocked(t.id))return!1;var n=y[t.id];if(null==n)return!1;for(var a,o=p(r.default.values(n));!(a=o()).done;){var i=a.value,u=m[i];null!=u&&u.delete(t.id)}},RELATIONSHIP_REMOVE:function(e){var t=e.relationship,n=y[t.id];if(null==n)return!1;for(var a,o=p(r.default.values(n));!(a=o()).done;){var i=a.value,l=m[i];null!=l&&l.add(t.id)}}});t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setShowWarning=t.setHasUnsubmittedChanges=t.useMemberVerificationFormNoticeStore=void 0;var r,a=(r=n(251))&&r.__esModule?r:{default:r},o=n(121),i=n(1);var l=Object.freeze({hasUnsubmittedChanges:!1,shouldShowWarning:!1}),u=(0,a.default)((function(e){return l}));t.useMemberVerificationFormNoticeStore=u;t.setHasUnsubmittedChanges=function(e){u.setState({hasUnsubmittedChanges:e})};t.setShowWarning=function(e){u.setState({shouldShowWarning:e}),e&&o.ComponentDispatch.dispatch(i.ComponentActions.EMPHASIZE_NOTICE)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(5962))&&r.__esModule?r:{default:r},l=n(57);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}!function(e){e.SVG="svg",e.CANVAS="canvas",e.HYBRID="hybrid"}(a||(a={}));var d=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).animationRef=o.createRef(),t.delayTimeout=new l.Timeout,t.handleComplete=function(){var e=t.props.onComplete;null!=e&&e()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var a=r.prototype;return a.componentDidMount=function(){var e=this,t=this.props,n=t.importData,r=t.loop,a=t.autoplay,o=t.delay,l=t.renderer,u=t.shouldAnimate;n().then((function(t){null!=e.animationRef.current&&(e.animation=i.default.loadAnimation({container:e.animationRef.current,renderer:l,loop:r,autoplay:a&&null==o&&u,animationData:t}),null!=o&&e.delayTimeout.start(o,(function(){return e.animation.play()})),e.playOrPauseAnimation(),e.animation.addEventListener("complete",e.handleComplete))}))},a.componentDidUpdate=function(){this.playOrPauseAnimation()},a.componentWillUnmount=function(){null!=this.animation&&this.animation.destroy(),this.delayTimeout.stop()},a.playOrPauseAnimation=function(){this.animation&&(this.props.shouldAnimate?this.animation.play():this.props.shouldAnimate||this.animation.pause())},a.render=function(){return o.createElement("div",{className:this.props.className,ref:this.animationRef})},r}(o.Component);d.displayName="LottieAnimation",d.defaultProps={loop:!0,autoplay:!0,renderer:"svg",shouldAnimate:!0},d.Renderers=a;var f=d;t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(29)),i=y(n(467)),l=y(n(153)),u=n(85),s=y(n(476)),d=n(35),f=y(n(47)),c=y(n(24)),p=y(n(6)),v=y(n(7583));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).headerId=(0,u.uid)(),t.state={value:"",error:null,isLoading:!1},t.handleSubmit=function(e){e.preventDefault();var n=t.state.value,r=t.props,a=r.handleSubmit,o=r.onClose,i=r.onError;t.setState({isLoading:!0}),a(n).then((function(){return o()}),(function(e){null!=e.body&&(i&&i(e.body),e.body.password?t.setState({error:e.body.password,isLoading:!1}):e.body.message&&t.setState({error:e.body.message,isLoading:!1}))}))},t.handleCancel=function(){(0,t.props.onClose)()},t.handlePasswordChange=function(e){var n=t.props.onPasswordChange;n&&n(e),t.setState({value:e})},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n),r.prototype.render=function(){var e=this.props,t=e.title,n=e.actionText,r=e.children,u=e.transitionState,y=this.state,m=y.error,h=y.isLoading,E=y.value,g=a.Children.count(r)?_(i.default,{type:i.default.Types.WARNING,className:v.default.card},void 0,_(c.default,{className:v.default.warning,size:c.default.Sizes.SIZE_16},void 0,r)):null;return _(d.ModalRoot,{transitionState:u,"aria-labelledby":this.headerId},void 0,_("form",{onSubmit:this.handleSubmit},void 0,_(d.ModalHeader,{separator:!1,id:this.headerId},void 0,_(f.default,{tag:f.default.Tags.H2,size:f.default.Sizes.SIZE_20},void 0,t)),_(d.ModalContent,{},void 0,g,_(s.default,{title:p.default.Messages.FORM_LABEL_PASSWORD,className:v.default.spacing},void 0,_(l.default,{type:"password",autoComplete:"off",autoFocus:!0,value:E,onChange:this.handlePasswordChange}),m?_(c.default,{size:c.default.Sizes.SIZE_12,color:c.default.Colors.STATUS_RED,className:v.default.error},void 0," ",m," "):null)),_(d.ModalFooter,{},void 0,_(o.default,{type:"submit",disabled:h},void 0,n||p.default.Messages.CONFIRM),_(o.default,{onClick:this.handleCancel,look:o.default.Looks.LINK,color:o.default.Colors.PRIMARY},void 0,p.default.Messages.CANCEL))))},r}(a.PureComponent);E.displayName="PasswordConfirm",E.key=function(){return"password-confirm-modal"};var g=E;t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fill:d,className:f,fillRule:"evenodd",clipRule:"evenodd",d:"M12.2512 2.00309C12.1677 2.00104 12.084 2 12 2C6.477 2 2 6.477 2 12C2 17.522 6.477 22 12 22C17.523 22 22 17.522 22 12C22 11.916 21.999 11.8323 21.9969 11.7488C21.3586 11.9128 20.6895 12 20 12C15.5817 12 12 8.41828 12 4C12 3.31052 12.0872 2.6414 12.2512 2.00309ZM10 8C10 6.896 9.104 6 8 6C6.896 6 6 6.896 6 8C6 9.105 6.896 10 8 10C9.104 10 10 9.105 10 8ZM12 19C15.14 19 18 16.617 18 14V13H6V14C6 16.617 8.86 19 12 19Z"}),s("path",{d:"M21 3V0H19V3H16V5H19V8H21V5H24V3H21Z",fill:d}))}d.displayName="AddReaction"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a,o=(r=n(8515))&&r.__esModule?r:{default:r};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function u(e,t){var n=e.message;return l(o.default,{message:n,content:t})}u.displayName="renderMessageContent"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.message,n=e.author,r=e.compact,a=e.animateAvatar,o=e.guildId,l=e.isGroupStart,u=void 0===l||l;return(0,i.default)(t)||!u&&!r?void 0:s(d,{message:t,author:n,guildId:o,compact:r,animate:a})};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=l(n(8918)),i=l(n(685));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=a.memo(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.message,n=e.channel,r=e.compact;return(0,a.default)(t)?u(o.default,{message:t,channel:n,compact:r}):null};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(685)),o=i(n(9590));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeIndex=m,t.default=t.CarouselWithPreview=t.Alignment=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=s(n(273)),l=s(n(8299)),u=s(n(7591));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v={tension:7,friction:5,overshootClamping:!0},y={LEFT:"left",CENTER:"center",RIGHT:"right"};function m(e,t){return(e%t+t)%t}t.Alignment=y;var _=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).animatedIndex=new i.default.Value(t.props.currentIndex),t.animatedAlignmentOffset=new i.default.Value(t.getAlignmentOffset(t.props.align)),t.animatedOpacity=new i.default.Value(1),t.getItemStyle=function(){var e=t.props.itemSize,n=e.width;return{flexBasis:n,marginRight:e.margin,height:e.height,width:n,maxWidth:n}},t.interpolateValueForItem=function(e){return t.animatedIndex.interpolate({inputRange:[e-1,e,e+1],outputRange:[0,1,0],extrapolate:"clamp"})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var a=r.prototype;return a.componentDidMount=function(){this.animatedIndex.setValue(this.props.currentIndex)},a.componentDidUpdate=function(e){var t=this.props,n=t.align,r=t.animate,a=t.currentIndex,o=t.items,l=t.width,u=m(a,o.length),s=m(e.currentIndex,o.length);u===s&&o.length===e.items.length||this.updateAnimatedIndex(u,s),l!==e.width?this.animatedAlignmentOffset.setValue(this.getAlignmentOffset(n)):!r||n===e.align&&u===s||i.default.spring(this.animatedAlignmentOffset,c({},v,{toValue:this.getAlignmentOffset(n)})).start()},a.getAlignmentOffset=function(e){var t=this.props,n=t.width,r=t.itemSize,a=t.currentIndex,o=t.gutter,i=o*m(a,t.items.length)*2;return e===y.CENTER?(n-r.width)/2+i:e===y.RIGHT?n-r.width-o+i:o+i},a.getCarouselTranslate=function(){var e=this.props,t=e.itemSize;return e.edgeItems*(t.width+t.margin)},a.animateToIndex=function(e,t){var n=this.animatedIndex,r=this.props,a=r.items;r.edgeItems>0&&(0===e&&t===a.length-1?n.setValue(-1):0===t&&e===a.length-1&&a.length>2&&n.setValue(a.length)),i.default.spring(n,c({},v,{toValue:e})).start()},a.updateAnimatedIndex=function(e,t){var n=this.animatedIndex,r=this.animatedOpacity;this.props.animate?this.animateToIndex(e,t):i.default.timing(r,{fromValue:1,toValue:0,duration:100}).start((function(){n.setValue(e),i.default.timing(r,{fromValue:0,toValue:1,duration:100}).start()}))},a.renderSingleItem=function(){var e=this.props,t=e.renderItem,n=e.items,r=e.itemSize,a=e.className;return f("div",{className:(0,o.default)(u.default.singleItemWrapper,u.default.viewport,a)},void 0,f("div",{className:u.default.singleItem,style:{width:r.width,height:r.height}},void 0,t(n[0],0)))},a.renderCarouselItems=function(){var e=this,t=this.animatedIndex,n=this.animatedAlignmentOffset,r=this.animatedOpacity,a=this.props,o=a.renderItem,l=a.items,s=a.itemSize,d=a.edgeItems,c=a.gutter,p=s.margin,v=s.width,y=this.getCarouselTranslate(),m=this.getItemStyle(),_=(d>0?[].concat(l.slice(-d),l,l.slice(0,d)):l).map((function(t,n){return f("div",{style:m,className:u.default.item},n,o(t,n-d,e.interpolateValueForItem(n-d)))}));return f(i.default.div,{className:u.default.carousel,style:{opacity:r,left:i.default.add(t.interpolate({inputRange:[0,1],outputRange:[-y,-p-v-y-c*(l.length-1)]}),n)}},void 0,_)},a.render=function(){var e,t=this.props,n=t.items,r=t.className,a=t.hideOverflow;if(n.length<=0)throw new Error("Carousel has no items");return 1===n.length?this.renderSingleItem():f("div",{className:(0,o.default)((e={},e[u.default.viewport]=a,e),r)},void 0,this.renderCarouselItems())},r}(a.Component);t.CarouselWithPreview=_,_.displayName="CarouselWithPreview",_.defaultProps={animate:!0,edgeItems:2,align:y.CENTER,gutter:0,hideOverflow:!0};var h=(0,l.default)(_);t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.tier,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["tier"]);switch(t){case l.PremiumGuildTiers.NONE:case l.PremiumGuildTiers.TIER_1:return r.createElement(a.default,n);case l.PremiumGuildTiers.TIER_2:return r.createElement(o.default,n);case l.PremiumGuildTiers.TIER_3:return r.createElement(i.default,n);default:throw new Error("Not a valid tier type")}};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=u(n(9600)),o=u(n(8865)),i=u(n(9601)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTrackThreadBrowserTab=function(e,t){var n=e?"Active Threads":(null==t?void 0:t.tab)===a.Public?"Public Archived Threads":(null==t?void 0:t.moderatorView)?"All Private Archived Threads":"My Private Archived Threads";o.useEffect((function(){(0,E.trackThreadBrowserTab)(n)}),[n])},t.useActiveThreads=function(e){var t=(0,u.useStateFromStoresArray)([d.default,v.default,s.default],(function(){return(0,i.default)(v.default.getThreadsForGuild(e.guild_id)).values().map((function(e){var t=e.id;return s.default.getChannel(t)})).filter(c.isNotNullish).filter((function(t){return!0===window._THREAD_BROWSER_ALL_CHANNELS||t.parent_id===e.id})).filter((function(e){return d.default.can(l.Permissions.VIEW_CHANNEL,e)})).map((function(e){return e.id})).value()}),[]),n=o.useMemo((function(){return(0,i.default)(t).sort((function(e,t){return p.default.compare(f.default.lastMessageId(e),f.default.lastMessageId(t))})).reverse().value()}),[t]),r=(0,u.useStateFromStores)([m.default],(function(){return i.default.partition(n,(function(e){return m.default.hasJoined(e)}))}),[n],u.statesWillNeverBeEqual),a=r[0],y=r[1];return{joinedThreadIds:a,unjoinedThreadIds:y}},t.useArchivedThreads=function(e,t,n){var r=t===a.Public?h.ArchivedThreadListType.ALL_PUBLIC_THREADS:n?h.ArchivedThreadListType.ALL_PRIVATE_THREADS:h.ArchivedThreadListType.MY_PRIVATE_THREADS,f=o.useCallback((function(t){_.default.loadArchivedThreads(e.guild_id,e.id,r,t)}),[e.id,r,e.guild_id]);o.useEffect((function(){return f()}),[f]);var c=(0,u.useStateFromStoresObject)([y.default],(function(){return{canLoadMore:y.default.canLoadMore,loading:y.default.loading}})),p=c.canLoadMore,v=c.loading;return{threadIds:(0,u.useStateFromStoresArray)([y.default,s.default,d.default],(function(){return(0,i.default)(y.default.getThreads(e.id,r)).filter((function(e){var t=s.default.getChannel(e);return null!=t&&d.default.can(l.Permissions.VIEW_CHANNEL,t)})).value()})),canLoadMore:p,loading:v,loadMore:f}},t.PrivacyTab=t.StatusTab=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=g(n(8)),l=n(92),u=n(3),s=g(n(10)),d=g(n(40)),f=g(n(200)),c=n(48),p=g(n(97)),v=g(n(410)),y=g(n(8886)),m=g(n(204)),_=g(n(8265)),h=n(392),E=n(698);function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}t.StatusTab=r,function(e){e[e.Active=0]="Active",e[e.Archived=1]="Archived"}(r||(t.StatusTab=r={})),t.PrivacyTab=a,function(e){e[e.Public=0]="Public",e[e.Private=1]="Private"}(a||(t.PrivacyTab=a={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t===a.Active?A(P,{channel:e}):t===a.AllArchived?A(D,{channel:e}):A(w,{channel:e})},t.RowType=void 0;var r,a,o=N(n(0)),i=b(n(5)),l=n(3),u=N(n(5957)),s=n(8298),d=b(n(8449)),f=b(n(8361)),c=b(n(682)),p=b(n(56)),v=b(n(200)),y=b(n(70)),m=b(n(12)),_=b(n(8287)),h=n(8442),E=b(n(24)),g=N(n(1161)),S=b(n(97)),O=b(n(746)),I=n(698),T=b(n(6)),C=b(n(7375));function b(e){return e&&e.__esModule?e:{default:e}}function M(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return M=function(){return e},e}function N(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=M();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function A(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function P(e){var t=e.channel,n=(0,l.useStateFromStores)([O.default],(function(){return O.default.getMostRecentMessage(t.id)}));return null==n?A(R,{channel:t}):A(L,{channel:t,message:n})}function R(e){var t=e.channel,n=(0,l.useStateFromStores)([v.default],(function(){return v.default.lastMessageId(t.id)}));return A(E.default,{className:C.default.subtext,size:E.default.Sizes.SIZE_14,color:E.default.Colors.HEADER_SECONDARY},void 0,T.default.Messages.THREAD_BROWSER_NO_RECENT_MESSAGES,"  •  ",(0,I.getTimestampString)(S.default.extractTimestamp(n)))}function L(e){var t,n=e.channel,r=e.message;(0,s.useSubscribeGuildMembers)(((t={})[n.guild_id]=[r.author.id],t));var a=(0,l.useStateFromStores)([m.default],(function(){var e;return null!==(e=m.default.getUser(r.author.id))&&void 0!==e?e:r.author})),i=(0,c.default)(r),d=i.nick,p=i.colorString,v=(0,l.useStateFromStores)([y.default],(function(){return y.default.isBlocked(r.author.id)})),_=o.useMemo((function(){var e=r.content?(0,f.default)(r,{formatInline:!0}).content:null,t=(0,h.renderSingleLineMessage)(r,e,v,C.default.messageContent,C.default.messageContentIcon),n=t.contentPlaceholder,a=t.renderedContent,i=t.icon;return o.createElement(o.Fragment,null,null!=a?a:A("span",{},void 0,n),i)}),[r,v]);return A(E.default,{className:C.default.subtext,size:E.default.Sizes.SIZE_14,color:E.default.Colors.HEADER_SECONDARY},void 0,A(u.default,{className:C.default.avatar,user:a,size:u.Sizes.SIZE_16}),A("span",{className:C.default.authorName,style:{color:p}},void 0,d,":")," ",_,"  •  ",(0,I.getTimestampString)(S.default.extractTimestamp(r.id)))}function D(e){var t=e.channel;return A(j,{channel:t,timestamp:T.default.Messages.THREAD_BROWSER_ARCHIVE_TIME.format({time:g.calendarFormat((0,i.default)(t.threadMetadata.archiveTimestamp))})})}function w(e){var t=e.channel;return A(j,{channel:t,timestamp:T.default.Messages.THREAD_BROWSER_CREATION_TIME.format({time:g.calendarFormat((0,i.default)(new Date(S.default.extractTimestamp(t.id))))})})}function j(e){var t,n,r=e.channel,a=e.timestamp;(0,s.useSubscribeGuildMembers)(((t={})[r.guild_id]=[r.ownerId],t));var i=(0,l.useStateFromStores)([m.default],(function(){return m.default.getUser(r.ownerId)})),f=(0,l.useStateFromStores)([p.default],(function(){return p.default.getMember(r.guild_id,r.ownerId)})),c=null!==(n=(0,d.default)(r))&&void 0!==n?n:_.default;return A(E.default,{className:C.default.subtext,size:E.default.Sizes.SIZE_14,color:E.default.Colors.HEADER_SECONDARY},void 0,null==i?o.createElement(o.Fragment,null,A("div",{className:C.default.noAvatarIcon},void 0,A(c,{width:10,height:10})),a):o.createElement(o.Fragment,null,A(u.default,{className:C.default.avatar,user:i,size:u.Sizes.SIZE_16}),T.default.Messages.THREAD_BROWSER_STARTED_BY.format({authorHook:function(e,t){var n,r;return A("span",{className:C.default.authorName,style:{color:null!==(n=null==f?void 0:f.colorString)&&void 0!==n?n:void 0}},t," ",null!==(r=null==f?void 0:f.nick)&&void 0!==r?r:i.username)}}),A("span",{className:C.default.bullet},void 0,"•"),a))}t.RowType=a,function(e){e[e.Active=0]="Active",e[e.AllArchived=1]="AllArchived",e[e.MyArchived=2]="MyArchived"}(a||(t.RowType=a={})),R.displayName="NoRecentMessageSubtext",L.displayName="RecentMessageSubtext",D.displayName="ArchiveTimeSubtext",w.displayName="CreatedTimeSubtext",j.displayName="StartedBySubtext"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(718),a=c(n(11)),o=c(n(10)),i=c(n(15)),l=c(n(12)),u=c(n(258)),s=c(n(97)),d=n(1),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}var p={"234395307759108106":"https://groovy.bot/commands","365975655608745985":"https://www.pokecord.com/getting-started",512412940897484800:"http://jameslantz.net/smilebot"};function v(e){var t=[f.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_001,f.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_002,f.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_003,f.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_004,f.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_005,f.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_006,f.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_007,f.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_008,f.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_009,f.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_010,f.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_011,f.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_012,f.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_013];return t[s.default.extractTimestamp(e)%t.length]}function y(e){return(0,r.astToString)(f.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_SUBSCRIBED.astFormat({username:e,usernameOnClick:d.NOOP}))}function m(e,t){var n=o.default.getChannel(t);return null==n||null==i.default.getGuild(n.getGuildId())?y(e):(0,r.astToString)(f.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_SUBSCRIBED.astFormat({username:e,usernameOnClick:d.NOOP}))}var _={stringify:function(e){var t=e.mentions[0]&&l.default.getUser(e.mentions[0].id),n=e.channel_id,o=u.default.getName(null,n,e.author);switch(e.type){case d.MessageTypes.RECIPIENT_ADD:if(!t)return;return(0,r.astToString)(f.default.Messages.SYSTEM_MESSAGE_RECIPIENT_ADD.astFormat({username:o,usernameOnClick:d.NOOP,otherUsername:u.default.getName(null,n,t),otherUsernameOnClick:d.NOOP}));case d.MessageTypes.RECIPIENT_REMOVE:if(!t)return;return e.author.id===t.id?(0,r.astToString)(f.default.Messages.SYSTEM_MESSAGE_RECIPIENT_REMOVE_SELF.astFormat({username:o,usernameOnClick:d.NOOP})):(0,r.astToString)(f.default.Messages.SYSTEM_MESSAGE_RECIPIENT_REMOVE.astFormat({username:o,usernameOnClick:d.NOOP,otherUsername:u.default.getName(null,n,t),otherUsernameOnClick:d.NOOP}));case d.MessageTypes.CALL:var i=e.call;return i&&-1===i.participants.indexOf(a.default.getId())?(0,r.astToString)(f.default.Messages.SYSTEM_MESSAGE_CALL_STARTED.astFormat({username:o,usernameOnClick:d.NOOP})):void 0;case d.MessageTypes.CHANNEL_NAME_CHANGE:return(0,r.astToString)(f.default.Messages.SYSTEM_MESSAGE_CHANNEL_NAME_CHANGE.astFormat({username:o,usernameOnClick:d.NOOP,channelName:e.content}));case d.MessageTypes.CHANNEL_ICON_CHANGE:return(0,r.astToString)(f.default.Messages.SYSTEM_MESSAGE_CHANNEL_ICON_CHANGE.astFormat({username:o,usernameOnClick:d.NOOP}));case d.MessageTypes.CHANNEL_PINNED_MESSAGE:return(0,r.astToString)(f.default.Messages.SYSTEM_MESSAGE_PINNED_MESSAGE_NO_CTA.astFormat({username:o,usernameOnClick:d.NOOP}));case d.MessageTypes.USER_JOIN:return(0,r.astToString)(v(e.id).astFormat({username:o,usernameOnClick:d.NOOP}));case d.MessageTypes.USER_PREMIUM_GUILD_SUBSCRIPTION:return y(o);case d.MessageTypes.USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1:case d.MessageTypes.USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2:case d.MessageTypes.USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3:return m(o,n);case d.MessageTypes.GUILD_INVITE_REMINDER:return f.default.Messages.SYSTEM_MESSAGE_INVITE_NOTIFICATION;default:return e.content}},getSystemMessageUserJoin:v,getSystemMessageBotJoin:function(e){return null==p[e]?null:f.default.Messages.SYSTEM_MESSAGE_GUILD_BOT_JOIN.format({learnOnClick:{onClick:function(){return window.open(p[e])}}})}};t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setNewUser=function(e){a.default.wait((function(){return a.default.dispatch({type:o.ActionTypes.NUF_NEW_USER,newUserType:e})}))},t.setNewUserFlowCompleted=function(){a.default.wait((function(){return a.default.dispatch({type:o.ActionTypes.NUF_COMPLETE})}))};var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f,t.IdleStateContext=t.IdleHandlerContext=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(57);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function u(){return(u=Object.assign||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}).apply(this,arguments)}var s=a.createContext({onPreventIdle:function(){return null},onAllowIdle:function(){return null},onForceIdle:function(){return null},onActive:function(){return null}});t.IdleHandlerContext=s;var d=a.createContext(!1);function f(e){var t=e.children,n=e.timeout,r=a.useState(!1),i=r[0],f=r[1],c=a.useRef(new Set),p=a.useRef(null);a.useEffect((function(){return p.current=new o.DelayedCall(n,(function(){return f(!0)})),p.current.delay(),function(){var e;null===(e=p.current)||void 0===e||e.cancel(),p.current=null}}),[n]);var v=a.useCallback((function(e){var t;c.current.add(e),null===(t=p.current)||void 0===t||t.cancel()}),[c,p]),y=a.useCallback((function(e){var t;(c.current.delete(e),0===c.current.size)&&(null===(t=p.current)||void 0===t||t.delay())}),[c,p]),m=a.useCallback((function(){var e;(f(!1),0===c.current.size)&&(null===(e=p.current)||void 0===e||e.delay())}),[c,p,f]),_=a.useCallback((function(){var e;c.current.size>0||(null===(e=p.current)||void 0===e||e.cancel(),f(!0))}),[p,f]),h=a.useMemo((function(){return{onAllowIdle:y,onPreventIdle:v,onActive:m,onForceIdle:_}}),[y,v,m,_]);return l(d.Provider,{value:i},void 0,l(s.Provider,{value:h},void 0,t(u({idle:i},h))))}t.IdleStateContext=d,f.displayName="IdleProvider"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M4 2.5C2.897 2.5 2 3.397 2 4.5V15.5C2 16.604 2.897 17.5 4 17.5H11V19.5H7V21.5H17V19.5H13V17.5H20C21.103 17.5 22 16.604 22 15.5V4.5C22 3.397 21.103 2.5 20 2.5H4ZM20 4.5V13.5H4V4.5H20Z"}))}d.displayName="Monitor"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("path",{d:"M24 0v24H0V0z"});function f(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,f=void 0===l?"currentColor":l,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,d,s("path",{className:c,fill:f,d:"M12 16c1.1045695 0 2 .8954305 2 2s-.8954305 2-2 2-2-.8954305-2-2 .8954305-2 2-2zm0-6c1.1045695 0 2 .8954305 2 2s-.8954305 2-2 2-2-.8954305-2-2 .8954305-2 2-2zm0-6c1.1045695 0 2 .8954305 2 2s-.8954305 2-2 2-2-.8954305-2-2 .8954305-2 2-2z"})))}f.displayName="OverflowMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(14)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}var l={fetchRegions:function(e){r.default.get({url:o.Endpoints.REGIONS(e),retries:1,oldFormErrors:!0}).then((function(t){return a.default.dispatch({type:o.ActionTypes.LOAD_REGIONS,regions:t.body,guildId:e})}),(function(){return a.default.dispatch({type:o.ActionTypes.LOAD_REGIONS,regions:[],guildId:e})}))},changeCallRegion:function(e,t){r.default.patch({url:o.Endpoints.CALL(e),body:{region:t},oldFormErrors:!0})}};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(8)),a=l(n(3)),o=l(n(2)),i=l(n(15));n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=null,d={};var f=new(function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var o=a.prototype;return o.initialize=function(){this.waitFor(i.default)},o.getOptimalRegion=function(e){void 0===e&&(e=null);var t=this.getRegions(e);return null!=t?t.find((function(e){return e.optimal}))||r.default.sample(t):null},o.getOptimalRegionId=function(e){void 0===e&&(e=null);var t=this.getOptimalRegion(e);return null!=t?t.id:null},o.getRandomRegion=function(e){void 0===e&&(e=null);var t=this.getRegions(e);return null!=t?r.default.sample(t):null},o.getRandomRegionId=function(e){void 0===e&&(e=null);var t=this.getRandomRegion(e);return null!=t?t.id:null},o.getRegions=function(e){return null!=e?d[e]:s},a}(a.default.Store))(o.default,{LOAD_REGIONS:function(e){var t=r.default.sortBy(e.regions,(function(e){return e.name}));e.guildId?d[e.guildId]=t:s=t},GUILD_DELETE:function(e){delete d[e.guild.id]}});t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24",fill:"none"}),s("path",{foreground:f,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M18 9V14C18 15.657 19.344 17 21 17V18H3V17C4.656 17 6 15.657 6 14V9C6 5.686 8.686 3 12 3C15.314 3 18 5.686 18 9ZM11.9999 21C10.5239 21 9.24793 20.19 8.55493 19H15.4449C14.7519 20.19 13.4759 21 11.9999 21Z"}))}d.displayName="Bell"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNewGroupItem=function(e,t){if(null==e||e.type!==i.ChannelStreamTypes.MESSAGE&&e.type!==i.ChannelStreamTypes.THREAD_STARTER_MESSAGE)return!0;return l(e.content,t)},t.default=l;var r,a=n(1161),o=(r=n(685))&&r.__esModule?r:{default:r},i=n(1);function l(e,t){return!(!t.hasFlag(i.MessageFlags.HAS_THREAD)&&t.type!==i.MessageTypes.APPLICATION_COMMAND)||(t.type>i.MessageTypes.DEFAULT?!(0,o.default)(e):!(!((0,o.default)(e)||e.author.id!==t.author.id||t.webhookId&&e.author.username!==t.author.username)&&(0,a.isWithinInterval)(e.timestamp,t.timestamp,i.MESSAGE_GROUP_INTERVAL)))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=o.useState((function(){return new D(j(),e)})),n=t[0],r=t[1],a=o.useState(!1),i=a[0],l=a[1],u=o.useState((function(){return j()})),s=u[0],d=u[1];return o.useEffect((function(){var e=function(e){return d(e)};return n.on("change",e),d(n.state),function(){n.off("change",e)}}),[n]),o.useEffect((function(){if(s&&!(s.channels.length>0)&&!i){var t=j();0===t.channels.length?l(!0):r(new D(t,e))}}),[s,i,e]),o.useLayoutEffect(n.maybeLoadMore,[null==s?void 0:s.channels,null==s?void 0:s.loadState]),o.useEffect((function(){return S.default.addChangeListener(n.reloadMessages),function(){return S.default.removeChangeListener(n.reloadMessages)}}),[n.reloadMessages]),o.useEffect((function(){return C.default.addChangeListener(n.handleUserGuildSettingsStoreChange),function(){return C.default.removeChangeListener(n.handleUserGuildSettingsStoreChange)}}),[n]),[s,n]},t.UnreadMessagesLoader=t.MAX_SHOWN_MESSAGES=t.LoadState=t.SortOrder=void 0;var r,a,o=P(n(0)),i=N(n(64)),l=N(n(8)),u=N(n(28)),s=N(n(2)),d=N(n(390)),f=P(n(8321)),c=N(n(105)),p=N(n(8669)),v=N(n(300)),y=n(392),m=n(8473),_=n(31),h=N(n(10)),E=N(n(86)),g=N(n(15)),S=N(n(201)),O=N(n(40)),I=N(n(200)),T=N(n(361)),C=N(n(181)),b=N(n(97)),M=n(1);function N(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function P(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function R(){return(R=Object.assign||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}).apply(this,arguments)}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.SortOrder=r,function(e){e[e.PrivateChannel=0]="PrivateChannel",e[e.Mentioned=1]="Mentioned",e[e.AllMessagesNotifications=2]="AllMessagesNotifications",e[e.GuildChannel=3]="GuildChannel",e[e.OldChannel=4]="OldChannel",e[e.NoNotifications=5]="NoNotifications",e[e.ReallyOldChannel=6]="ReallyOldChannel"}(r||(t.SortOrder=r={})),t.LoadState=a,function(e){e.Loading="loading",e.Loaded="loaded",e.Done="done"}(a||(t.LoadState=a={}));t.MAX_SHOWN_MESSAGES=25;var D=function(e){var t,n;function r(t,n){var r;return(r=e.call(this)||this).state=t,r.scrollerRef=n,r.maybeLoadMore=function(){var e,t=null===(e=r.scrollerRef.current)||void 0===e?void 0:e.getScrollerState();null!=t&&(t.scrollHeight-t.scrollTop-t.offsetHeight<2e3&&r.loadMore())},r.reloadMessages=function(){r.setState({channels:r.state.channels.map((function(e){return e.hasLoadedAnything?w(e,!1,!0):e}))})},r.getNumUnreadChannels=function(){return r.state.channels.length},r.markChannelRead=function(e){var t=e.channelId,n=e.newestUnreadMessageId;s.default.wait((function(){return f.ack(t,!0,void 0,n,{section:M.AnalyticsSections.INBOX})})),1!==r.state.channels.length?(r.setState({channels:r.updateChannel(t,(function(e){return R({},e,{deleted:!0})}))}),c.default.useReducedMotion&&r.deleteChannel(t),r.maybeLoadMore()):r.deleteChannel(t)},r.markGuildRead=function(e){s.default.wait((function(){return(0,p.default)([e])})),r.setState({channels:r.state.channels.filter((function(t){return t.guildId!==e}))}),r.maybeLoadMore()},r.deleteChannel=function(e){r.setState({scrollToChannelIndex:l.default.findIndex(r.state.channels,(function(t){return t.channelId===e})),channels:r.state.channels.filter((function(t){return t.channelId!==e}))}),r.maybeLoadMore()},r.markAllRead=function(){f.bulkAck(r.state.channels.map((function(e){return{channelId:e.channelId,messageId:e.newestUnreadMessageId}}))),r.setState({channels:[]})},r.toggle=function(e){var t,n=e.channelId,o=r.state,i=o.channels,s=o.collapsedChannels,d=o.loadState,f=l.default.findIndex(i,(function(e){return e.channelId===n})),c=i[f],p=!c.collapsed;s=R({},s,((t={})[n]=p,t)),u.default.set("unread-messages-collapsed-channels",s),r.setState({scrollToChannelIndex:f,collapsedChannels:s,loadState:d!==a.Done||p||c.isFullyLoaded?d:a.Loaded,channels:r.updateChannel(n,(function(e){return R({},e,{collapsed:p})}))}),c.collapsed?c.isFullyLoaded||r.loadMore():r.maybeLoadMore()},r.handleUserGuildSettingsStoreChange=function(){var e=r.state.channels.filter((function(e){return!C.default.isGuildOrCategoryOrChannelMuted(e.guildId,e.channelId)}));e.length!==r.state.channels.length&&r.setState({channels:e})},r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,L(t,n);var o=r.prototype;return o.loadMore=function(){var e=this,t=this.state,n=t.loadState,r=t.channels;if(n===a.Loaded){var o=!1,i=r.map((function(t){return t.isFullyLoaded||t.deleted||o?t:t.collapsed?t.hasLoadedAnything?t:R({},t,{hasLoadedAnything:!0}):((t=w(t,!1)).isFullyLoaded||e.loadChannel(t)&&(o=!0),t)}));o&&!i.some((function(e,t){return e!==r[t]}))||this.setState({channels:i,loadState:o?this.state.loadState:a.Done})}},o.clearScrollToChannelIndex=function(){this.setState({scrollToChannelIndex:null})},o.loadChannel=function(e){var t=this;d.default.clearChannel(e.channelId);var n=d.default.fetchMessages({channelId:e.channelId,limit:M.MAX_MESSAGES_PER_CHANNEL,jump:{messageId:e.oldestReadMessageId,flash:!0}});return null!=n&&!1!==n&&(this.setState({loadState:a.Loading}),n.then((function(n){t.setState({loadState:a.Loaded,channels:t.updateChannel(e.channelId,(function(e){var t=w(e,!0);return 0!==t.messages.length&&t.messages.length!==e.messages.length||(t=R({},t,{hasLoadedAnything:!0,isFullyLoaded:!0,hasError:!n})),t}))})}),(function(){t.setState({loadState:a.Loaded,channels:t.updateChannel(e.channelId,(function(e){var t;return R({},w(e,!0),{isFullyLoaded:!0,hasError:!0,hasLoadedAnything:!0,newestUnreadMessageId:null===(t=e.messages[e.messages.length-1])||void 0===t?void 0:t.id})}))})})),!0)},o.updateChannel=function(e,t){return this.state.channels.map((function(n){return n.channelId===e?t(n):n}))},o.setState=function(e){for(var t in e)if(e[t]!==this.state[t])return this.state=R({},this.state,{},e),void this.emit("change",this.state)},r}(i.default);function w(e,t,n){var r;void 0===n&&(n=!1);var a=S.default.getMessages(e.channelId),o=a.toArray().filter((function(t){return t.id>e.oldestReadMessageId&&t.id<=e.newestUnreadMessageId}));if(o.length===e.messages.length&&o.every((function(t,n){return e.messages[n]===t}))&&n)return e;var i=null!=a.getAfter(e.oldestReadMessageId)||(null===(r=o[0])||void 0===r?void 0:r.id)===e.oldestUnreadMessageId,l=o[o.length-1],u=(null==l?void 0:l.id)>=e.newestUnreadMessageId||o.length>=25;return R({},e,{messages:o,hasLoadedAnything:e.hasLoadedAnything||i||t,hasLoadedFirst:e.hasLoadedFirst||i||t,isFullyLoaded:e.isFullyLoaded||i&&u||t&&!a.hasMoreAfter})}function j(){var e=u.default.get("unread-messages-collapsed-channels")||{},t=function(e){var t=[];return h.default.getSortedPrivateChannels().forEach((function(n){return k(e,t,null,n.id)})),T.default.getFlattenedGuildIds().forEach((function(n){if(null!=n){var r=E.default.getSelectableChannelIds(n),a=v.default.getActiveJoinedUnreadThreadsForGuild(n);r.forEach((function(r){k(e,t,n,r);var o=a[r]||{};for(var i in o)k(e,t,n,i)}))}})),l.default.sortBy(t,(function(e){return e.sortOrder}))}(e),n=l.default.uniq(t.map((function(e){return e.guildId})));return s.default.dirtyDispatch({type:"INBOX_OPEN",guildIds:n}),{collapsedChannels:e,loadState:a.Loaded,channels:t,scrollToChannelIndex:null}}function k(e,t,n,r){if(null!=r){var a=h.default.getChannel(r);if(null!=a)if(!a.isNSFW())if(_.THREAD_CHANNEL_TYPES.has(a.type)||!C.default.isGuildOrCategoryOrChannelMuted(n,a.id)){if(a.isPrivate()){if(!I.default.getMentionCount(r))return}else if(!I.default.hasUnread(a.id))return;if(a.isPrivate()||O.default.can(M.Permissions.READ_MESSAGE_HISTORY,a)){var o=I.default.ackMessageId(r);if(null==o){var i=g.default.getGuild(a.guild_id);if(null==i||null==i.joinedAt)return;o=b.default.fromTimestamp(i.joinedAt.getTime())}var l=I.default.getOldestUnreadMessageId(r),u=I.default.lastMessageId(r),s=I.default.getMentionCount(r),d=s>0||a.isPrivate();null!=u&&(o>=u||t.push({guildId:n,channelId:r,oldestReadMessageId:o,oldestUnreadMessageId:l,newestUnreadMessageId:u,collapsed:!0===e[r],hasLoadedAnything:!1,hasLoadedFirst:!1,isFullyLoaded:!1,hasError:!1,hasMentionsOrUnreads:d,mentionCount:s,messages:[],sortOrder:U(n,r,l)}))}}}}t.UnreadMessagesLoader=D;function U(e,t,n){var a=h.default.getChannel(t);if(a.isPrivate())return r.PrivateChannel;if(I.default.getMentionCount(t)>0)return r.Mentioned;if(null!=n){var o=b.default.extractTimestamp(n);if(Date.now()-o>864e6)return r.ReallyOldChannel;if(Date.now()-o>1728e5)return r.OldChannel}if(a.isThread()){var i=(0,m.computeThreadNotificationSetting)(a);return i===y.ThreadMemberFlags.ALL_MESSAGES?r.AllMessagesNotifications:i===y.ThreadMemberFlags.NO_MESSAGES?r.NoNotifications:r.GuildChannel}var l=C.default.getChannelMessageNotifications(e,t),u=l===M.UserNotificationSettings.NULL?C.default.getMessageNotifications(e):l;return u===M.UserNotificationSettings.ALL_MESSAGES?r.AllMessagesNotifications:u===M.UserNotificationSettings.NO_MESSAGES?r.NoNotifications:r.GuildChannel}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=r.default.flatMap(e,(function(e){for(var t,n=i.default.getSelectableChannelIds(e),r=[].concat(n),a=o.default.getActiveJoinedThreadsForGuild(e),l=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(n);!(t=l()).done;){var u=a[t.value]||{};for(var d in u)r.push(d)}return r})).map((function(e){return{channelId:e,messageId:l.default.lastMessageId(e)}}));return(0,a.bulkAck)(t)};var r=u(n(8)),a=n(8321),o=u(n(300)),i=u(n(86)),l=u(n(200));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.VoiceUserList=void 0;var r,a=S(n(0)),o=E(n(9)),i=E(n(8967)),l=E(n(9722)),u=E(n(61)),s=S(n(149)),d=E(n(8313)),f=E(n(9140)),c=E(n(8475)),p=E(n(1281)),v=E(n(1261)),y=E(n(8414)),m=n(1),_=E(n(6)),h=E(n(7653));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function O(){return(O=Object.assign||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}).apply(this,arguments)}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var C=function(e){var t=e.children,n=e.collapsed,r=void 0!==n&&n,a=e.className;return T("div",{className:(0,o.default)(a,h.default.list,r?h.default.listCollapse:h.default.listDefault),role:"group"},void 0,t)};t.VoiceUserList=C,C.displayName="VoiceUserList";var b=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(e){var n=t.props,r=n.onClick,a=n.user;null==r||r(e,a)},t.handleDoubleClick=function(e){var n=t.props,r=n.onDoubleClick,a=n.user;null==r||r(e,a)},t.handleContextMenu=function(e){var n=t.props,r=n.onContextMenu,a=n.user;null==r||r(e,a)},t.handleMouseLeave=function(e){var n=t.props,r=n.onMouseLeave,a=n.user;null==r||r(e,a)},t.handleMouseEnter=function(e){var n=t.props,r=n.onMouseEnter,a=n.user;null==r||r(e,a)},t.handleMouseDown=function(e){var n=t.props,r=n.onMouseDown,a=n.user;null==r||r(e,a)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,I(t,n);var E=r.prototype;return E.renderPrioritySpeaker=function(){var e=this.props,t=e.speaking,n=e.priority,r=e.collapsed,i=e.mute,l=e.serverMute;return n&&!r?T(s.default,{text:_.default.Messages.PRIORITY_SPEAKER},void 0,(function(e){var n;return a.createElement("div",O({className:(0,o.default)(h.default.iconPriortySpeaker,(n={},n[h.default.iconPriortySpeakerSpeaking]=!i&&!l&&t,n))},e))})):null},E.renderAvatar=function(){var e,t=this.props,n=t.speaking,r=t.user,a=t.size,i=t.avatarContainerClass,l=t.guildId;return T("div",{className:(0,o.default)(i,h.default.avatar,(e={},e[h.default.avatarLarge]=a===m.OverlayAvatarSizes.LARGE,e[h.default.avatarSmall]=a===m.OverlayAvatarSizes.SMALL,e[h.default.avatarSpeaking]=n,e)),style:{backgroundImage:"url("+r.getAvatarURL(l)+")"}})},E.renderName=function(){var e,t=this.props,n=t.nick,r=t.user,a=t.collapsed,i=t.speaking,l=t.userNameClassName,u=t.mute,s=t.serverMute;return a?null:T("div",{className:(0,o.default)(l,(e={},e[h.default.username]=!0,e[h.default.usernameSpeaking]=!u&&!s&&i,e))},void 0,n||r.username)},E.renderIcons=function(){var e=this.props,t=e.mute,n=e.localMute,r=e.localVideoDisabled,a=e.serverMute,u=e.disabled,m=e.deaf,E=e.serverDeaf,g=e.collapsed,S=e.video,O=e.isStreaming,I=e.isWatching,C=e.iconClassName,b=e.embeddedActivityType,M=e.embeddedApplication;if(g||u)return null;var N,A=[];if(t){var P;A.push(T(s.TooltipContainer,{text:n?_.default.Messages.LOCAL_MUTED:a?_.default.Messages.SERVER_MUTED:_.default.Messages.VOICE_CHANNEL_MUTED,className:h.default.iconSpacing},"mute",T(v.default,{className:(0,o.default)(h.default.icon,C,(P={},P[h.default.iconServer]=a,P)),foreground:n?h.default.strikethrough:void 0})))}(E||m)&&A.push(T(s.TooltipContainer,{className:h.default.iconSpacing,text:E?_.default.Messages.SERVER_DEAFENED:_.default.Messages.VOICE_CHANNEL_DEAFENED},"deaf",T(p.default,{className:(0,o.default)(h.default.icon,C,(N={},N[h.default.iconServer]=E,N))})));if(S&&(r?A.push(T(s.TooltipContainer,{className:h.default.iconSpacing,text:_.default.Messages.LOCAL_VIDEO_DISABLED},"video",T(f.default,{className:(0,o.default)(h.default.icon,C),foreground:h.default.strikethrough}))):A.push(T(s.TooltipContainer,{className:h.default.iconSpacing,text:_.default.Messages.VIDEO},"video",T(d.default,{className:(0,o.default)(h.default.icon,C)})))),O?A.push(T("div",{className:(0,o.default)(h.default.iconSpacing,h.default.liveIconSpacing)},"stream",T(y.default,{size:y.default.Sizes.SMALL}))):I&&A.push(T(s.TooltipContainer,{className:h.default.iconSpacing,text:_.default.Messages.WATCH_STREAM_WATCHING},"watch",T(c.default,{className:(0,o.default)(h.default.icon,C)}))),null!=b){var R=(0,l.default)(b);A.push(T(s.TooltipContainer,{text:(0,i.default)(null==M?void 0:M.name,b),className:h.default.iconSpacing},"activity",T(R,{className:(0,o.default)(h.default.icon,C)})))}return 0===A.length?null:T("div",{className:h.default.icons},void 0,A)},E.render=function(){var e,t,n=this.props,r=n.onClick,a=n.onMouseEnter,i=n.onMouseLeave,l=n.onMouseDown,s=n.onKeyDown,d=n.onDoubleClick,f=n.onContextMenu,c=n.flipped,p=n.size,v=n.className,y=n.selected,_=n.disabled,E=n["aria-label"],g=n.tabIndex;return T(u.default,{className:(0,o.default)(v,(e={},e[h.default.voiceUser]=!0,e[h.default.selected]=y,e[h.default.clickable]=null!=r,e[h.default.userSmall]=p===m.OverlayAvatarSizes.SMALL,e[h.default.userLarge]=p===m.OverlayAvatarSizes.LARGE,e[h.default.disabled]=!y&&_,e)),onClick:r&&this.handleClick,onDoubleClick:d&&this.handleDoubleClick,onContextMenu:f&&this.handleContextMenu,onMouseEnter:a&&this.handleMouseEnter,onMouseLeave:i&&this.handleMouseLeave,onMouseDown:l&&this.handleMouseDown,onKeyDown:s,"aria-label":E,tabIndex:g},void 0,T("div",{className:(0,o.default)(h.default.content,(t={},t[h.default.flipped]=c,t))},void 0,this.renderPrioritySpeaker(),this.renderAvatar(),this.renderName(),this.renderIcons()))},r}(a.Component);b.displayName="VoiceUser",b.defaultProps={avatarContainerClass:h.default.avatarContainer,userNameClassName:h.default.usernameFont,size:m.OverlayAvatarSizes.SMALL,selected:!1,disabled:!1};var M=b;t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeVoiceUserDroppable=function(e){return(0,r.DropTarget)("DRAGGABLE_USER",{canDrop:function(e){var t,n,r=e.channel,a=r.getGuildId(),d=null!==(t=null===(n=o.default.getGuild(a))||void 0===n?void 0:n.maxVideoChannelUsers)&&void 0!==t?t:-1,f=u.default.countVoiceStatesForChannel(r.id),c=null!=a&&l.default.hasVideo(r.id)&&d>0&&f>=d+1;return i.default.can(s.Permissions.MOVE_MEMBERS,r)&&i.default.can(s.Permissions.CONNECT,r)&&!c},drop:function(e,t){var n=e.channel;a.default.setChannel(n.getGuildId(),t.getItem().user.id,n.id)}},(function(e,t){return{connectUserDropTarget:e.dropTarget(),isUserOver:t.isOver()&&t.canDrop()}}))(e)},t.makeVoiceUserDraggable=function(e){return(0,r.DragSource)("DRAGGABLE_USER",{canDrag:function(e){var t=e.canDrag;return t},beginDrag:function(e){return{user:e.user}}},(function(e){return{connectUserDragSource:e.dragSource()}}))(e)};var r=n(5941),a=d(n(199)),o=d(n(15)),i=d(n(40)),l=d(n(80)),u=d(n(365)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=u(n(55)),o=u(n(47)),i=u(n(24)),l=u(n(7661));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var f=function(e){var t=e.title,n=e.subtitle,r=e.icon;return d(a.default,{className:l.default.wrapper,align:a.default.Align.BASELINE},void 0,null!=r&&d(r,{width:16,height:16,className:l.default.icon}),d(i.default,{size:i.default.Sizes.SIZE_16,className:l.default.title},void 0,t),n&&d(o.default,{size:o.default.Sizes.SIZE_12,className:l.default.subtitle},void 0,n))};f.displayName="IconSelectOption";var c=f;t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(3)),a=u(n(2)),o=u(n(12)),i=n(8262),l=n(1233);n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(){return(d=Object.assign||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}).apply(this,arguments)}var f={},c=!1;function p(){var e;return(e={})[i.GuildJoinRequestApplicationStatuses.STARTED]={requests:[],total:0},e[i.GuildJoinRequestApplicationStatuses.PENDING]={requests:[],total:0},e[i.GuildJoinRequestApplicationStatuses.REJECTED]={requests:[],total:0},e[i.GuildJoinRequestApplicationStatuses.APPROVED]={requests:[],total:0},e}var v=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var a=r.prototype;return a.getRequests=function(e){var t;return null!==(t=f[e])&&void 0!==t?t:p()},a.isFetching=function(){return c},r}(r.default.Store))(a.default,{GUILD_JOIN_REQUESTS_FETCH_SUCCESS:function(e){var t=e.status,n=e.requests,r=e.total,a=e.guildId;c=!1,f[a]=p(),f[a][t]={requests:n,total:r}},GUILD_JOIN_REQUESTS_FETCH_START:function(e){c=!0},GUILD_JOIN_REQUESTS_FETCH_FAILURE:function(e){c=!1},GUILD_JOIN_REQUESTS_BULK_ACTION:function(e){var t,n=e.guildId,r=e.action,a=f[n][i.GuildJoinRequestApplicationStatuses.PENDING],o=a.requests,l=a.total;f[n]=d({},f[n],((t={})[i.GuildJoinRequestApplicationStatuses.PENDING]={requests:[],total:0},t[r]={requests:[].concat(f[n][r].requests,o),total:f[n][r].total+l},t))},GUILD_JOIN_REQUEST_UPDATE:function(e){var t=e.guildId,n=e.request,r=e.status,a=(0,l.joinRequestFromServer)(n),u=o.default.getCurrentUser();if(a.userId===u.id)return!1;null==f[t]&&(f[t]=p());for(var s=0,d=Object.values(i.GuildJoinRequestApplicationStatuses);s<d.length;s++){var c=d[s],v=f[t][c],y=v.requests.findIndex((function(e){return e.userId===a.userId}));y>=0?v.requests[y]=a:r===c&&y<0&&(v.requests.push(a),++v.total)}return!0},GUILD_JOIN_REQUEST_DELETE:function(e){var t=e.guildId,n=e.userId;if(null!=f[t])for(var r=0,a=Object.values(i.GuildJoinRequestApplicationStatuses);r<a.length;r++){var o=a[r],l=f[t][o].requests,u=l.findIndex((function(e){return e.userId===n}));if(u>=0)return l.splice(u,1),!0}}});t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchMemberCounts=function(e){return v.apply(this,arguments)},t.requestMembersForRole=function(e,t,n){void 0===n&&(n=!0);var r=e+"-"+t;if(!n||null==y.get(r))return y.set(r,!0),function(e,t){return a.default.get({url:u.Endpoints.GUILD_ROLE_MEMBER_IDS(e,t)}).then((function(t){i.default.requestMembersById(e,t.body,!1)}))}(e,t);return Promise.resolve()};var r=s(n(404)),a=s(n(14)),o=s(n(2)),i=s(n(199)),l=s(n(8460)),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){d(o,r,a,i,l,"next",e)}function l(e){d(o,r,a,i,l,"throw",e)}i(void 0)}))}}function c(e){return p.apply(this,arguments)}function p(){return(p=f(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,o.default.dirtyDispatch({type:u.ActionTypes.GUILD_ROLE_MEMBER_COUNT_FETCH_START,guildId:t}),e.next=4,a.default.get({url:u.Endpoints.GUILD_ROLE_MEMBER_COUNTS(t)});case 4:n=e.sent,r=n.body,o.default.dirtyDispatch({type:u.ActionTypes.GUILD_ROLE_MEMBER_COUNT_FETCH_SUCCESS,guildId:t,roleMemberCount:r}),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),o.default.dirtyDispatch({type:u.ActionTypes.GUILD_ROLE_MEMBER_COUNT_FETCH_FAILURE,guildId:t});case 12:case"end":return e.stop()}}),e,null,[[0,9]])})))).apply(this,arguments)}function v(){return(v=f(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!l.default.shouldFetch(t)){e.next=3;break}return e.next=3,c(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var y=new r.default({maxAge:1e4})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=r.useState(e),n=t[0],a=t[1],o=r.useRef(null);return r.useEffect((function(){var t,n;a(null!==(t=null===(n=o.current)||void 0===n?void 0:n.offsetHeight)&&void 0!==t?t:e)})),{headerHeight:n,headerRef:o}};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fill:d,className:f,d:"M15 3.999V2H9V3.999H3V5.999H21V3.999H15Z"}),s("path",{fill:d,className:f,d:"M5 6.99902V18.999C5 20.101 5.897 20.999 7 20.999H17C18.103 20.999 19 20.101 19 18.999V6.99902H5ZM11 17H9V11H11V17ZM15 17H13V11H15V17Z"}))}d.displayName="Trash"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var l=a.default.getCurrentConfig({guildId:t.id}).showNewRolesCreationFlow;if(a.default.trackExposure({guildId:t.id}),l&&!e.shiftKey)return void(0,o.openModal)((function(e){return r.createElement(i.default,s({},e,{guild:t}))}));n()};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=l(n(8527)),o=n(41),i=l(n(9784));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NoticeButton=_,t.NoticeButtonAnchor=h,t.NoticeCloseButton=E,t.default=g,t.NoticeColors=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=f(n(88)),l=f(n(271)),u=f(n(61)),s=f(n(6)),d=f(n(7384));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}var m=Object.freeze({DEFAULT:d.default.colorDefault,NEUTRAL:d.default.colorNeutral,BRAND:d.default.colorBrand,DANGER:d.default.colorDanger,INFO:d.default.colorInfo,DARK:d.default.colorDark,NOTIFICATION:d.default.colorNotification,DOWNLOAD:d.default.colorDownload,STREAMER_MODE:d.default.colorStreamerMode,CUSTOM:d.default.colorCustom,SPOTIFY:d.default.colorSpotify,PREMIUM_TIER_1:d.default.colorPremiumTier1,PREMIUM_TIER_2:d.default.colorPremiumTier2});function _(e){var t,n=e.children,r=e.className,l=e.minor,u=void 0!==l&&l,s=y(e,["children","className","minor"]);return p(i.default,{},void 0,a.createElement("button",v({className:(0,o.default)(d.default.button,r,(t={},t[d.default.buttonMinor]=u,t))},s),n))}function h(e){var t=e.children,n=e.href,r=y(e,["children","href"]);return a.createElement(l.default,v({},r,{className:d.default.button,href:n}),t)}function E(e){var t=e.onClick;return p(u.default,{focusProps:{offset:6},className:d.default.closeButton,onClick:t,"aria-label":s.default.Messages.DISMISS})}function g(e){var t=e.color,n=void 0===t?m.DEFAULT:t,r=e.className,a=e.style,i=e.children;return p("div",{className:(0,o.default)(d.default.notice,r,n),style:null!=a?a:void 0},void 0,i)}t.NoticeColors=m,_.displayName="NoticeButton",h.displayName="NoticeButtonAnchor",E.displayName="NoticeCloseButton",g.displayName="Notice"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),a=l(n(2)),o=l(n(15)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(){return(s=Object.assign||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}).apply(this,arguments)}var d={description:"",channels:[],enabled:!1},f=d,c=!1,p=!1,v=d;function y(e){var t,n,r=e.welcomeScreen,a=e.guildId,l=o.default.getGuild(a);null!=r?(f={description:null!==(t=r.description)&&void 0!==t?t:"",channels:null!==(n=r.welcome_channels)&&void 0!==n?n:[],enabled:null==l?void 0:l.hasFeature(i.GuildFeatures.WELCOME_SCREEN_ENABLED)},v=f):v=f=d;p=!1}var m=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(o.default)},a.get=function(){return v},a.showNotice=function(){return p},a.getSettingsProps=function(){return{submitting:c,hasErrors:p,welcomeSettings:v,originalWelcomeSettings:f}},r}(r.default.Store))(a.default,{WELCOME_SCREEN_FETCH_SUCCESS:y,WELCOME_SCREEN_UPDATE:y,WELCOME_SCREEN_SETTINGS_RESET:function(e){return v=f,void(p=!1)},WELCOME_SCREEN_SETTINGS_UPDATE:function(e){var t=e.settings;v=s({},v,{},t)},WELCOME_SCREEN_SUBMIT:function(e){c=!0},WELCOME_SCREEN_SUBMIT_SUCCESS:function(e){y(e),c=!1},WELCOME_SCREEN_SUBMIT_FAILURE:function(e){return p=!0,void(c=!1)}});t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(8)),a=p(n(63)),o=p(n(3)),i=p(n(2)),l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(8681)),u=n(31),s=p(n(56)),d=p(n(15)),f=n(1);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){return e&&e.__esModule?e:{default:e}}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var h=[f.Permissions.KICK_MEMBERS,f.Permissions.BAN_MEMBERS,f.Permissions.ADMINISTRATOR,f.Permissions.MANAGE_CHANNELS,f.Permissions.MANAGE_GUILD,f.Permissions.MANAGE_MESSAGES,f.Permissions.MANAGE_NICKNAMES,f.Permissions.MANAGE_ROLES,f.Permissions.MANAGE_WEBHOOKS,f.Permissions.MANAGE_EMOJIS,f.Permissions.MOVE_MEMBERS,f.Permissions.MUTE_MEMBERS,f.Permissions.DEAFEN_MEMBERS],E=null,g=[],S=[],O=[],I=[],T=[],C=[],b=!0,M=!1,N=!1,A=!0,P=!1,R=null,L=f.AuditLogActions.ALL,D={},w=0;function j(e){var t=[],n=0;return e.reverse().forEach((function(e){var a=[],o=null,i=null;if(null!=e.reason&&a.push(new l.AuditLogChange(f.AuditLogChangeKeys.REASON,null,e.reason)),e.changes)for(var s,d=m(e.changes);!(s=d()).done;){var c=s.value,p=new l.AuditLogChange(c.key,c.old_value,c.new_value);a.push(p),p.key===f.AuditLogChangeKeys.NAME?o=p:p.key===f.AuditLogChangeKeys.TYPE&&(i=p)}if(e.action_type===f.AuditLogActions.MEMBER_PRUNE){var v=null!=e&&null!=e.options&&null!=e.options.delete_member_days?e.options.delete_member_days:1,y=new l.AuditLogChange(f.AuditLogChangeKeys.PRUNE_DELETE_DAYS,null,v);a.push(y)}var _=new l.default({id:e.id,action:e.action_type,targetId:e.target_id,userId:e.user_id,changes:a,options:e.options}),h=t[0];if(function(e,t,n,a,o){return void 0===a&&(a=30),void 0===o&&(o=50),null!=e&&e.action===t.action&&e.targetId===t.targetId&&e.userId===t.userId&&r.default.isEqual(e.options,t.options)&&t.timestampStart.diff(e.timestampStart,"minutes")<a&&n<o&&t.targetType!==f.AuditLogTargetTypes.INVITE&&t.action!==f.AuditLogActions.MESSAGE_DELETE&&t.action!==f.AuditLogActions.MESSAGE_BULK_DELETE&&t.action!==f.AuditLogActions.MESSAGE_PIN&&t.action!==f.AuditLogActions.MESSAGE_UNPIN&&t.action!==f.AuditLogActions.MEMBER_MOVE&&t.action!==f.AuditLogActions.MEMBER_DISCONNECT&&t.action!==f.AuditLogActions.BOT_ADD}(h,_,n))return t[0]=h.merge({changes:[].concat(h.changes,_.changes),timestampEnd:_.timestampStart}),void n++;if(_.actionType===f.AuditLogActionTypes.DELETE&&null!=o){var E,g=o.oldValue;if(_.targetType!==f.AuditLogTargetTypes.CHANNEL&&_.targetType!==f.AuditLogTargetTypes.CHANNEL_OVERWRITE||null===i||!(0,u.isGuildSelectableChannelType)(i.oldValue)||(g="#"+g),null==D[_.targetType])D[_.targetType]=((E={})[_.targetId]=g,E);else D[_.targetType][_.targetId]=g}n=0,t.unshift(_)})),t}function k(e){if(e.section!==f.GuildSettingsSections.AUDIT_LOG)return!1;var t=s.default.getMembers(E),n=d.default.getGuild(E);O=(0,r.default)(t).filter((function(e){return e.roles.some((function(t){if(null!=n){if(e.userId===n.ownerId)return!0;var r=n.roles[t];return null!=r&&h.some((function(e){return a.default.has(r.permissions,e)}))}}))})).map((function(e){return e.userId})).value()}var U=new(function(e){var t,n,r,a,o;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n),r=i,(a=[{key:"logs",get:function(){return g}},{key:"integrations",get:function(){return S}},{key:"webhooks",get:function(){return I}},{key:"guildScheduledEvents",get:function(){return T}},{key:"threads",get:function(){return C}},{key:"isInitialLoading",get:function(){return b}},{key:"isLoading",get:function(){return M}},{key:"isLoadingNextPage",get:function(){return N}},{key:"hasOlderLogs",get:function(){return A}},{key:"hasError",get:function(){return P}},{key:"userIds",get:function(){return O}},{key:"userIdFilter",get:function(){return R}},{key:"actionFilter",get:function(){return L}},{key:"deletedTargets",get:function(){return D}},{key:"groupedFetchCount",get:function(){return w}}])&&v(r.prototype,a),o&&v(r,o),i}(o.default.Store))(i.default,{AUDIT_LOG_FETCH_START:function(e){M=!0},AUDIT_LOG_FETCH_SUCCESS:function(e){w=0,b=!1,M=!1,A=!0,P=!1,g=j(e.logs),S=e.integrations,I=e.webhooks,T=e.guildScheduledEvents,C=e.threads,e.logs.length<f.AUDIT_LOG_PAGE_LIMIT&&(A=!1)},AUDIT_LOG_FETCH_FAIL:function(e){return M=!1,P=!0,void(g=[])},AUDIT_LOG_FETCH_NEXT_PAGE_START:function(e){var t=e.isGroupedFetch;N=!0,t&&w++},AUDIT_LOG_FETCH_NEXT_PAGE_SUCCESS:function(e){var t=e.logs,n=e.integrations,r=e.webhooks,a=e.guildScheduledEvents,o=e.threads;if(N=!1,S=n,I=r,T=a,C=o,(0===t.length||t.length<f.AUDIT_LOG_PAGE_LIMIT)&&(A=!1),t.length>0){var i=j(t);g=[].concat(g,i)}},AUDIT_LOG_FETCH_NEXT_PAGE_FAIL:function(e){N=!1},AUDIT_LOG_FILTER_BY_ACTION:function(e){var t=e.action;L=t},AUDIT_LOG_FILTER_BY_USER:function(e){var t=e.userId;R=t},GUILD_SETTINGS_SET_SECTION:k,GUILD_SETTINGS_INIT:function(e){var t=e.guildId,n=e.section;return E=t,k({section:n})},GUILD_SETTINGS_CLOSE:function(e){return g=[],O=[],L=f.AuditLogActions.ALL,R=null,D={},w=0,b=!0,S=[],I=[],T=[],void(C=[])}});t.default=U},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTargetType=d,t.getActionType=f,t.default=t.AuditLogChange=void 0;var r=u(n(5)),a=u(n(62)),o=u(n(164)),i=u(n(97)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){return e===l.AuditLogActions.ALL?l.AuditLogTargetTypes.ALL:e<=l.AuditLogActions.GUILD_UPDATE?l.AuditLogTargetTypes.GUILD:e<=l.AuditLogActions.CHANNEL_DELETE||e===l.AuditLogActions.MESSAGE_BULK_DELETE?l.AuditLogTargetTypes.CHANNEL:e<=l.AuditLogActions.CHANNEL_OVERWRITE_DELETE?l.AuditLogTargetTypes.CHANNEL_OVERWRITE:e<=l.AuditLogActions.BOT_ADD||e===l.AuditLogActions.MESSAGE_DELETE||e===l.AuditLogActions.MESSAGE_PIN||e===l.AuditLogActions.MESSAGE_UNPIN?l.AuditLogTargetTypes.USER:e<=l.AuditLogActions.ROLE_DELETE?l.AuditLogTargetTypes.ROLE:e<=l.AuditLogActions.INVITE_DELETE?l.AuditLogTargetTypes.INVITE:e<=l.AuditLogActions.WEBHOOK_DELETE?l.AuditLogTargetTypes.WEBHOOK:e<=l.AuditLogActions.EMOJI_DELETE?l.AuditLogTargetTypes.EMOJI:e<=l.AuditLogActions.INTEGRATION_DELETE?l.AuditLogTargetTypes.INTEGRATION:e<=l.AuditLogActions.STAGE_INSTANCE_DELETE?l.AuditLogTargetTypes.STAGE_INSTANCE:e<=l.AuditLogActions.STICKER_DELETE?l.AuditLogTargetTypes.STICKER:e<=l.AuditLogActions.GUILD_SCHEDULED_EVENT_DELETE?l.AuditLogTargetTypes.GUILD_SCHEDULED_EVENT:e<=l.AuditLogActions.THREAD_DELETE?l.AuditLogTargetTypes.THREAD:(o.default.captureMessage("Unknown target type for: "+e),l.AuditLogTargetTypes.UNKNOWN)}function f(e){switch(e){case l.AuditLogActions.CHANNEL_CREATE:case l.AuditLogActions.CHANNEL_OVERWRITE_CREATE:case l.AuditLogActions.MEMBER_BAN_REMOVE:case l.AuditLogActions.ROLE_CREATE:case l.AuditLogActions.INVITE_CREATE:case l.AuditLogActions.WEBHOOK_CREATE:case l.AuditLogActions.EMOJI_CREATE:case l.AuditLogActions.STICKER_CREATE:case l.AuditLogActions.MESSAGE_PIN:case l.AuditLogActions.BOT_ADD:case l.AuditLogActions.INTEGRATION_CREATE:case l.AuditLogActions.STAGE_INSTANCE_CREATE:case l.AuditLogActions.GUILD_SCHEDULED_EVENT_CREATE:case l.AuditLogActions.THREAD_CREATE:return l.AuditLogActionTypes.CREATE;case l.AuditLogActions.CHANNEL_DELETE:case l.AuditLogActions.CHANNEL_OVERWRITE_DELETE:case l.AuditLogActions.MEMBER_KICK:case l.AuditLogActions.MEMBER_PRUNE:case l.AuditLogActions.MEMBER_BAN_ADD:case l.AuditLogActions.ROLE_DELETE:case l.AuditLogActions.INVITE_DELETE:case l.AuditLogActions.WEBHOOK_DELETE:case l.AuditLogActions.EMOJI_DELETE:case l.AuditLogActions.STICKER_DELETE:case l.AuditLogActions.MESSAGE_DELETE:case l.AuditLogActions.MESSAGE_BULK_DELETE:case l.AuditLogActions.MESSAGE_UNPIN:case l.AuditLogActions.INTEGRATION_DELETE:case l.AuditLogActions.MEMBER_DISCONNECT:case l.AuditLogActions.STAGE_INSTANCE_DELETE:case l.AuditLogActions.GUILD_SCHEDULED_EVENT_DELETE:case l.AuditLogActions.THREAD_DELETE:return l.AuditLogActionTypes.DELETE;case l.AuditLogActions.GUILD_UPDATE:case l.AuditLogActions.CHANNEL_UPDATE:case l.AuditLogActions.CHANNEL_OVERWRITE_UPDATE:case l.AuditLogActions.MEMBER_UPDATE:case l.AuditLogActions.MEMBER_ROLE_UPDATE:case l.AuditLogActions.ROLE_UPDATE:case l.AuditLogActions.INVITE_UPDATE:case l.AuditLogActions.WEBHOOK_UPDATE:case l.AuditLogActions.EMOJI_UPDATE:case l.AuditLogActions.STICKER_UPDATE:case l.AuditLogActions.INTEGRATION_UPDATE:case l.AuditLogActions.MEMBER_MOVE:case l.AuditLogActions.STAGE_INSTANCE_UPDATE:case l.AuditLogActions.GUILD_SCHEDULED_EVENT_UPDATE:case l.AuditLogActions.THREAD_UPDATE:return l.AuditLogActionTypes.UPDATE}return l.AuditLogActionTypes.ALL}t.AuditLogChange=function(e,t,n){this.key=e,this.oldValue=t,this.newValue=n};var c=function(e){var t,n;function a(t){var n;return(n=e.call(this)||this).id=t.id,n.action=t.action,n.actionType=f(n.action),n.targetId=t.targetId,n.timestampStart=t.timestampStart||(0,r.default)(i.default.extractTimestamp(n.id)),n.timestampEnd=t.timestampEnd||n.timestampStart,n.userId=t.userId,n.changes=t.changes||[],n.targetType=d(n.action),n.options=t.options||{},n.target=t.target||t.id,n.user=t.user||null,n}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n),a}(a.default);t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ChecklistItem=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=C(n(9)),i=C(n(5)),l=n(3),u=C(n(8254)),s=C(n(8533)),d=C(n(9839)),f=C(n(15)),c=C(n(29)),p=C(n(1160)),v=C(n(151)),y=C(n(686)),m=C(n(5827)),_=n(41),h=C(n(47)),E=C(n(24)),g=C(n(93)),S=C(n(97)),O=n(1),I=C(n(6)),T=C(n(7717));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(){return(M=Object.assign||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}).apply(this,arguments)}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var A=function(e){var t=e.name,n=e.failingName,r=e.description,a=e.checked,o=e.pending,i=e.pendingDescription,l=e.failingDescription,u=t,s=null,d=null;return o?(s=N(m.default,{color:O.Colors.STATUS_YELLOW,width:20,height:20}),d=null!=i?i:r):a?(s=N(p.default,{readOnly:!0,shape:p.default.Shapes.ROUND,size:20,type:p.default.Types.INVERTED,value:!0}),d=r):(s=N(y.default,{color:O.Colors.STATUS_RED,width:20,height:20}),u=null!=n?n:t,d=null!=l?l:r),N("div",{className:T.default.checklistItem},void 0,N("div",{className:T.default.checklistIcon},void 0,s),N("div",{className:T.default.checklistText},void 0,N(h.default,{size:h.default.Sizes.SIZE_16},void 0,u),N(E.default,{color:E.default.Colors.MUTED},void 0,d)))};t.ChecklistItem=A,A.displayName="ChecklistItem";var P=function(e){var t=e.guildId,r=e.className,p=e.noHeader,y=void 0!==p&&p,m=e.failedItemsOnly,C=void 0!==m&&m,b=(0,l.useStateFromStoresArray)([s.default],(function(){return[s.default.getDiscoveryChecklist(t),s.default.isLoading()]}),[t]),P=b[0],R=b[1],L=(null!=P?P:{}).nsfwProperties,D=(0,l.useStateFromStores)([f.default],(function(){return f.default.getGuild(t)}),[t]),w=null==D?void 0:D.hasFeature(O.GuildFeatures.PARTNERED);if(R||null==P)return N("div",{className:(0,o.default)(T.default.container,T.default.loaderContainer,r)},void 0,N(h.default,{className:T.default.loadingText,tag:h.default.Tags.H2,size:E.default.Sizes.SIZE_16,muted:!0},void 0,I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_LOADING),N(v.default,{className:T.default.spinner}));var j,k=w?I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_SIZE_DESCRIPTION_FAILING_PARTNERS:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_SIZE_DESCRIPTION_FAILING,U=[{name:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_SAFE,failingName:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_SAFE_FAILING,description:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_SAFE_DESCRIPTION,failingDescription:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_SAFE_DESCRIPTION_FAILING_GUIDELINES.format({termsURL:O.MarketingURLs.TERMS,guidelinesURL:g.default.getArticleURL(O.HelpdeskArticles.PUBLIC_GUILD_GUILDLINES)}),checked:null==P?void 0:P.safeEnvironment},{name:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_SIZE.format({minMembers:P.minimumGuildSize}),failingName:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_SIZE_FAILING.format({minMembers:P.minimumGuildSize.toLocaleString()}),description:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_SIZE_DESCRIPTION.format({minMembers:P.minimumGuildSize.toLocaleString()}),failingDescription:k.format({minMembers:P.minimumGuildSize.toLocaleString()}),checked:null==P?void 0:P.size},{name:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_AGE,failingName:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_AGE_FAILING,description:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_AGE_DESCRIPTION.format({minimumGuildAge:Math.ceil(P.minimumGuildAge/7)}),failingDescription:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_AGE_DESCRIPTION_FAILING.format({minimumGuildAge:Math.ceil(P.minimumGuildAge/7),passDate:(0,i.default)(S.default.extractTimestamp(t)).add(P.minimumGuildAge,"days").format("LL")}),checked:null==P?void 0:P.age},{name:(null==P?void 0:P.healthScorePending)?I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTHY_PENDING:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTHY,failingName:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTHY_FAILING,description:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTHY_DESCRIPTION,failingDescription:a.createElement(a.Fragment,null,N(E.default,{color:E.default.Colors.MUTED,className:T.default.healthFailingDescription},void 0,I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTHY_DESCRIPTION_FAILING),(null==P?void 0:P.engagementHealthy)?null:N(E.default,{color:E.default.Colors.ERROR},void 0,I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_ENGAGEMENT_FAILING),(null==P?void 0:P.retentionHealthy)?null:N(E.default,{color:E.default.Colors.ERROR},void 0,I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_RETENTION_FAILING),function(){if(null==P||null==P.healthScore)return!1;var e=P.retentionHealthy,t=P.engagementHealthy,n=P.healthScore,r=n.avg_nonnew_participators,a=n.avg_nonnew_communicators,o=n.perc_ret_w1_intentful;return!e&&null!=o||!t&&null!=r&&null!=a}()&&N(c.default,{className:T.default.detailsButton,look:c.default.Looks.LINK,size:c.default.Sizes.NONE,color:c.default.Colors.LINK,onClick:function(){return(0,_.openModal)((function(e){return a.createElement(d.default,M({},e,{guildChecklist:P}))}))}},void 0,I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTH_VIEW_DETAILS)),pendingDescription:(null==P?void 0:P.size)?I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTHY_DESCRIPTION_PENDING.format({checkBackHook:function(e,t){return N("strong",{className:T.default.healthPending},t,e)}}):I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTHY_DESCRIPTION_PENDING_SIZE.format({minMembers:500}),checked:null==P?void 0:P.healthy,pending:null==P?void 0:P.healthScorePending},{name:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_NSFW,failingName:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_NSFW_FAILING,description:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_NSFW_DESCRIPTION,failingDescription:a.createElement(a.Fragment,null,(null==L?void 0:L.channels)?N(E.default,{color:E.default.Colors.MUTED},void 0,I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_CHANGE_CHANNEL_NAMES_2.format({channelHook:function(e,t){return N("span",{className:T.default.doesNot},t,e)}})):null,null!=(null==L?void 0:L.name)?N(E.default,{color:E.default.Colors.MUTED},void 0,I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_CHANGE_NAME.format({nameHook:function(e,t){return N("span",{className:T.default.doesNot},t,e)}})):null,null!=(null==L?void 0:L.description)?N(E.default,{color:E.default.Colors.MUTED},void 0,I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_CHANGE_DESCRIPTION.format({descriptionHook:function(e,t){return N("span",{className:T.default.doesNot},t,e)}})):null),checked:null==L||0===Object.keys(L).length},{name:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_2FA,failingName:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_2FA_FAILING,description:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_2FA_DESCRIPTION,failingDescription:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_2FA_DESCRIPTION_FAILING.format({onClick:function(){return u.default.setSection(O.GuildSettingsSections.MODERATION)}}),checked:null==P?void 0:P.protected}];return N("div",{className:(0,o.default)(T.default.container,r)},void 0,(j=(null==P?void 0:P.sufficient)?n(9840):n(9841),y?null:N("div",{className:T.default.header},void 0,N("img",{alt:"",src:j,className:T.default.headerIcon,width:40}),N(h.default,{tag:h.default.Tags.H2,size:h.default.Sizes.SIZE_16},void 0,(null==P?void 0:P.sufficient)?I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_GOOD_STANDING:I.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_BAD_STANDING.format({doesNotHook:function(e,t){return N("strong",{className:T.default.doesNot},t,e)}})))),U.filter((function(e){return!C||null==e.checked||!e.checked})).map((function(e,t){return N(a.Fragment,{},e.name,a.createElement(A,e),t<U.length-1?N("hr",{className:T.default.separator}):null)})))};P.displayName="GuildSettingsDiscoveryChecklist";var R=P;t.default=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function i(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,i=e.color,l=void 0===i?"currentColor":i,u=e.className,s=e.foreground;return o("svg",{width:n,height:a,viewBox:"0 0 24 24",className:u},void 0,o("path",{fill:l,className:s,d:"M11 10.9C11 10.9 11 10.9 11 10.9V8.82929C9.83481 8.41746 9 7.30622 9 6C9 4.34315 10.3431 3 12 3C13.6569 3 15 4.34315 15 6H17C17 3.23858 14.7614 1 12 1C9.23858 1 7 3.23858 7 6C7 7.79499 7.94587 9.36906 9.36637 10.251L6.29491 16.0216C6.19867 16.0074 6.1002 16 6 16C4.89543 16 4 16.8954 4 18C4 19.1046 4.89543 20 6 20C6.82012 20 7.52495 19.5064 7.83358 18.8H16.1664C16.475 19.5064 17.1799 20 18 20C19.1046 20 20 19.1046 20 18C20 16.8954 19.1046 16 18 16C17.1799 16 16.475 16.4936 16.1664 17.2H7.83359C7.82844 17.1882 7.82318 17.1765 7.81781 17.1648L11 10.9Z"}),o("path",{fill:l,className:s,d:"M12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6C14 6.43529 13.8609 6.8381 13.6248 7.16643L18 13C20.7614 13 23 15.2386 23 18C23 20.7614 20.7614 23 18 23C15.9497 23 14.1876 21.7659 13.416 20H15.7639C16.3132 20.6138 17.1115 21 18 21C19.6568 21 21 19.6569 21 18C21 16.3431 19.6568 15 18 15H17L12 8Z"}),o("path",{fill:l,className:s,d:"M10.584 20C9.8124 21.7659 8.05032 23 6 23C3.23858 23 1 20.7614 1 18C1 15.2386 3.23858 13 6 13V15C4.34315 15 3 16.3431 3 18C3 19.6569 4.34315 21 6 21C6.8885 21 7.68679 20.6138 8.23611 20H10.584Z"}))}i.displayName="Webhook"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodeId=g,t.default=S;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(8317)),i=n(180),l=y(n(70)),u=y(n(12)),s=n(131),d=y(n(9855)),f=y(n(9856)),c=n(1),p=y(n(6)),v=y(n(7726));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(e){return"settings-integrations-webhook-"+e}function S(e){var t=e.webhooks,n=e.selectableWebhookChannels,r=e.lastCreatedWebhookId,s=e.editedWebhook,d=e.errors,f=e.canNavigate,c=a.useMemo((function(){return Object.values(n).map((function(e){return{value:e.id,label:(0,i.computeChannelName)(e,u.default,l.default,!0)}}))}),[n]),p=a.useMemo((function(){for(var e,r={},a=h(t);!(e=a()).done;){var o=e.value;if(o.channel_id in r)r[o.channel_id].webhooks.push(o);else{var i=n[o.channel_id];null!=i&&(r[o.channel_id]={channel:i,webhooks:[o]})}}return Object.values(r).sort((function(e,t){return e.channel.name.localeCompare(t.channel.name)}))}),[n,t]),y=a.useCallback((function(e){f()&&(e===(null==s?void 0:s.id)?o.default.stopEditingWebhook():o.default.startEditingWebhook(e))}),[f,s]);return _("div",{className:v.default.list},void 0,p.map((function(e){return O(e.channel,e.webhooks,c,r,s,d,y)})))}function O(e,t,n,r,a,o,y){return _("div",{},e.id,_(s.FormTitle,{className:v.default.groupHeader},void 0,p.default.Messages.INTEGRATIONS_CHANNEL_FOLLOWING_SECTION.format({channelHook:function(){return _("span",{className:v.default.channelName},e.id,(0,i.computeChannelName)(e,u.default,l.default,!0))}})),t.map((function(e){return e.type===c.WebhookTypes.CHANNEL_FOLLOWER?_(d.default,{webhook:e,editedWebhook:a,channelOptions:n,isExpanded:(null==a?void 0:a.id)===e.id,onToggleExpand:function(){return y(e.id)},errors:o},e.id):_(f.default,{id:g(e.id),webhook:e,editedWebhook:a,channelOptions:n,isExpanded:(null==a?void 0:a.id)===e.id,isNew:r===e.id,onToggleExpand:function(){return y(e.id)},errors:o},e.id)})))}S.displayName="WebhookCardList",O.displayName="renderGroup"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(8)),i=n(1161),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var a=r.prototype;return a.componentDidMount=function(){var e=this,t=this.props,n=t.intervalDuration,r=t.onInterval;this._interval=setInterval((function(){e.forceUpdate(),r&&r()}),n)},a.componentWillUnmount=function(){null!=this._interval&&clearInterval(this._interval)},a.defaultRender=function(e){var t=this.props,n=t.showDays,r=t.showUnits,a=t.className,i=[e.days,e.hours,e.minutes,e.seconds],u=[l.default.Messages.COUNTDOWN_UNITS_SECONDS,l.default.Messages.COUNTDOWN_UNITS_MINUTES,l.default.Messages.COUNTDOWN_UNITS_HOURS,l.default.Messages.COUNTDOWN_UNITS_DAYS];if(0===e.days)i.shift();else if(!n){var s=i.shift();i[0]+=24*s}return d("span",{className:a},void 0,(0,o.default)(i).map((function(e){return e<10?"0"+e:e})).map((function(e,t){return[t>0&&!r?":":" ",d("span",{},t,e,r?u[i.length-t-1]:null)]})).flatten().value())},a.render=function(){var e=this.props,t=e.deadline,n=e.children,r=e.className;if(t===1/0)return d("span",{className:r,"aria-label":l.default.Messages.MAX_AGE_NEVER},void 0,"∞");var a=(0,i.diffAsUnits)(Date.now(),t);return null!=n?n(a,this.defaultRender.bind(this,a)):this.defaultRender(a)},r}(a.PureComponent);c.displayName="Countdown",c.defaultProps={showDays:!0,showUnits:!1,intervalDuration:1e3};var p=c;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trackApplicationFunnel=function(e,t){a.default.trackWithMetadata(o.AnalyticEvents.MKTG_APPLICATION_STEP,{application_type:e,step:t})};var r,a=(r=n(106))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){void 0===t&&(t=1e3);var r=(0,a.useForceUpdate)();return(0,i.default)((function(){r(),null!=n&&n()}),t),(0,o.diffAsUnits)(Date.now(),e)};var r,a=n(276),o=n(1161),i=(r=n(9898))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(9)),i=n(57),l=p(n(29)),u=p(n(5969)),s=p(n(153)),d=n(1163),f=p(n(6)),c=p(n(7754));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(){return(y=Object.assign||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}).apply(this,arguments)}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var h=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).state={mode:u.default.Modes.DEFAULT},n._timeout=new i.Timeout,n.handleCopy=n.handleCopy.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n)),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n);var p=r.prototype;return p.componentWillUnmount=function(){this._timeout.stop()},p.render=function(){var e=this.props,t=e.isVertical,n=e.value,r=e.text,i=e.className,d=e.inputClassName,p=this.state.mode,v=p===u.default.Modes.SUCCESS?f.default.Messages.COPIED:r;return t?m("div",{className:(0,o.default)(i,p)},void 0,m(s.default,{value:n,inputClassName:d}),m(l.default,{className:c.default.button,onClick:this.handleCopy,size:l.default.Sizes.MIN,color:this.getVerticalButtonColor(p),look:l.default.Looks.FILLED},void 0,v)):a.createElement(u.default,y({},this.props,{onCopy:this.handleCopy,mode:p,text:v}))},p.handleCopy=function(){var e=this,t=this.props,n=t.onCopy,r=t.value,a=t.delay,o=(0,d.copy)(r);this.setState({mode:o?u.default.Modes.SUCCESS:u.default.Modes.ERROR}),this._timeout.start(a,(function(){return e.setState({mode:u.default.Modes.DEFAULT})})),n&&n()},p.getVerticalButtonColor=function(e){switch(e){case u.default.Modes.SUCCESS:return l.default.Colors.GREEN;case u.default.Modes.ERROR:return l.default.Colors.RED;default:return l.default.Colors.BRAND}},r}(a.PureComponent);h.displayName="CopyInput",h.defaultProps={isVertical:!1,delay:300};var E=h;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=c.default.getCategories(e),n=l.default.getActiveJoinedThreadsForGuild(e),r=l.default.getActiveJoinedUnreadThreadsForGuild(e),a=i.default.getState().channelId,o=f.default.getChannel(a);return h(t,n,r,o)},t.useFlattenedChannelIdListWithThreads=function(e){var t=(0,o.useStateFromStores)([c.default],(function(){return c.default.getCategories(e)})),n=(0,o.useStateFromStores)([l.default],(function(){return l.default.getActiveJoinedThreadsForGuild(e)})),a=(0,o.useStateFromStores)([l.default],(function(){return l.default.getActiveJoinedUnreadThreadsForGuild(e)})),u=i.default.getState().channelId,s=(0,o.useStateFromStores)([f.default],(function(){return f.default.getChannel(u)})),v=(0,o.useStateFromStores)([p.default],(function(){return p.default.getGuildChangeSentinel(e)})),y=(0,o.useStateFromStores)([d.default],(function(){return d.default.version}));return(0,r.useMemo)((function(){return h(t,n,a,s).map((function(e){return e.channel.id}))}),[t,n,a,s,v,y])};var r=n(0),a=y(n(8)),o=n(3),i=y(n(5939)),l=y(n(300)),u=n(9004),s=n(31),d=y(n(1212)),f=y(n(10)),c=y(n(1252)),p=y(n(1223)),v=y(n(9005));function y(e){return e&&e.__esModule?e:{default:e}}function m(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t,n,r){for(var o,i=[],l=m(e._categories);!(o=l()).done;)for(var d,f=function(){var e=d.value,o=e.channel;if(!(0,s.isGuildSelectableChannelType)(o.type))return"continue";var l=[],f=(0,u.shouldShowAllActiveJoinedThreads)(o,r)?t[o.id]:n[o.id];null==r||!s.THREAD_CHANNEL_TYPES.has(r.type)||r.parent_id!==o.id||null!=f&&r.id in f||l.push({channel:r,index:0}),null!=f&&(0,a.default)(f).values().sortBy("joinTimestamp").reverse().forEach((function(e,t){var n=e.channel;return l.push({channel:n,index:t})})),(!(0,v.default)(o,null==r?void 0:r.id)||l.length>0)&&i.push.apply(i,[e].concat(l))},c=m(e[o.value.channel.id]);!(d=c()).done;)f();return i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(3)),a=f(n(2)),o=f(n(10)),i=f(n(5947)),l=f(n(15)),u=f(n(36)),s=f(n(699)),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=null;function v(e){var t=e.link;p=t}var y=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(i.default,s.default,u.default,l.default,o.default)},a.getHomeLink=function(){return p||i.default.fallbackRoute},r}(r.default.Store))(a.default,{OVERLAY_INITIALIZE:function(e){return t=s.default.getPrivateChannelIds(),void(((n=u.default.getChannelId(d.ME))||t[0])&&(p=d.Routes.CHANNEL(d.ME,n||t[0])));var t,n},APP_VIEW_SET_HOME_LINK:v,APPLICATION_STORE_LOCATION_CHANGE:function(e){v({link:e.location.pathname,type:d.ActionTypes.APP_VIEW_SET_HOME_LINK})},APPLICATION_STORE_RESET_NAVIGATION:function(e){return function(){if(null==p||!p.startsWith(d.Routes.APPLICATION_STORE))return!1;p=d.Routes.APPLICATION_STORE}()},CHANNEL_SELECT:function(e){var t=e.guildId,n=e.channelId;if(null==t&&null!=n){var r=d.Routes.CHANNEL(d.ME,n);if(r!==p)return p=r,!0}return!1},CHANNEL_DELETE:function(e){var t=e.channel;null==t.guild_id&&null!=t.id&&null!=p&&p===d.Routes.CHANNEL(d.ME,t.id)&&(p=null)}});t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(14)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}var l={show:function(e,t){a.default.wait((function(){return a.default.dispatch({type:o.ActionTypes.TUTORIAL_INDICATOR_SHOW,tutorialId:e,renderData:t})}))},hide:function(e){a.default.wait((function(){return a.default.dispatch({type:o.ActionTypes.TUTORIAL_INDICATOR_HIDE,tutorialId:e})}))},dismiss:function(e){a.default.wait((function(){return a.default.dispatch({type:o.ActionTypes.TUTORIAL_INDICATOR_DISMISS,tutorialId:e})})),r.default.put({url:o.Endpoints.TUTORIAL_INDICATOR(e),oldFormErrors:!0})},suppressAll:function(){a.default.dispatch({type:o.ActionTypes.TUTORIAL_INDICATOR_SUPPRESS_ALL}),r.default.post({url:o.Endpoints.TUTORIAL_INDICATORS_SUPPRESS,oldFormErrors:!0})}};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(3)),a=u(n(2)),o=u(n(9946)),i=u(n(709)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var p={},v={},y=!0,m={},_=!1;function h(){return o.default}function E(){if(m={},!y)for(var e=h(),t=0,n=Object.entries(e);t<n.length;t++){var r=n[t],a=r[0],o=r[1],i=!1!==p[a];if(m[a]=i,i&&null!=o.prerequisites)for(var l,u=f(o.prerequisites);!(l=u()).done;){var s=l.value;!1===p[s]||(m[a]=!1)}}}var g=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var a=r.prototype;return a.initialize=function(){E(),this.mustEmitChanges((function(e){return e.type!==l.ActionTypes.CONNECTION_OPEN})),this.waitFor(i.default)},a.shouldShow=function(e){return!(!_||y)&&(m[e]||!1)},a.shouldShowAnyIndicators=function(){return!y},a.getIndicators=function(){return v},a.getData=function(){return h()},a.getDefinition=function(e){var t=this.getData();return null!=t?t[e]:null},r}(r.default.Store))(a.default,{CONNECTION_OPEN:function(e){var t=e.tutorial;_=!0,y=!0,p={},null!=t&&(y=t.indicators_suppressed,t.indicators_confirmed.forEach((function(e){return p[e]=!1}))),E()},CONNECTION_CLOSED:function(e){_=!1},TUTORIAL_INDICATOR_DISMISS:function(e){var t;p=d({},p,((t={})[e.tutorialId]=!1,t)),delete(v=d({},v))[e.tutorialId],E()},TUTORIAL_INDICATOR_SHOW:function(e){var t;v=d({},v,((t={})[e.tutorialId]=e.renderData,t))},TUTORIAL_INDICATOR_HIDE:function(e){delete(v=d({},v))[e.tutorialId]},TUTORIAL_INDICATOR_SUPPRESS_ALL:function(e){y=!0}});t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=T;O(n(0));var r,a=n(3),o=n(389),i=g(n(8258)),l=O(n(8253)),u=g(n(81)),s=g(n(11)),d=g(n(8579)),f=g(n(8484)),c=g(n(8329)),p=g(n(8370)),v=g(n(9963)),y=g(n(8485)),m=g(n(8571)),_=g(n(9964)),h=g(n(9981)),E=g(n(6));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(e){var t=e.channel,n=e.guild,r=e.onSelect,g=t.isGuildStageVoice(),S=(0,a.useStateFromStores)([u.default],(function(){return g?u.default.getStageInstanceByChannel(t.id):void 0}),[g,t.id]),O=(0,h.default)(t,S),T=(0,v.default)(t),C=(0,m.default)(t),b=(0,p.default)(t),M=(0,y.default)(t,n,S),N=(0,d.default)(t,n),A=(0,f.default)(t,n),P=(0,c.default)(t),R=(0,i.default)(t.id),L=(0,_.default)(t);return s.default.isGuest()?null:I(l.default,{navId:"channel-context",onClose:o.closeContextMenu,"aria-label":E.default.Messages.CHANNEL_ACTIONS_MENU_LABEL,onSelect:r},void 0,I(l.MenuGroup,{},void 0,O),I(l.MenuGroup,{},void 0,T,C,b),I(l.MenuGroup,{},void 0,M,N,A),I(l.MenuGroup,{},void 0,P),I(l.MenuGroup,{},void 0,L),I(l.MenuGroup,{},void 0,R))}T.displayName="ChannelListVoiceChannelContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=0);var u,s=(0,o.computeChannelName)(e,a.default,r.default);switch(e.type){case i.ChannelTypes.DM:u=t?l.default.Messages.DIRECT_MESSAGE_A11Y_LABEL_WITH_UNREADS:l.default.Messages.DIRECT_MESSAGE_A11Y_LABEL;break;case i.ChannelTypes.GROUP_DM:u=t?l.default.Messages.GROUP_MESSAGE_A11Y_LABEL_WITH_UNREADS:l.default.Messages.GROUP_MESSAGE_A11Y_LABEL;break;case i.ChannelTypes.GUILD_STORE:u=l.default.Messages.GUILD_SIDEBAR_STORE_CHANNEL_A11Y_LABEL;break;case i.ChannelTypes.GUILD_ANNOUNCEMENT:u=n>0?l.default.Messages.GUILD_SIDEBAR_ANNOUNCEMENT_CHANNEL_A11Y_LABEL_WITH_MENTIONS:t?l.default.Messages.GUILD_SIDEBAR_ANNOUNCEMENT_CHANNEL_A11Y_LABEL_WITH_UNREADS:l.default.Messages.GUILD_SIDEBAR_ANNOUNCEMENT_CHANNEL_A11Y_LABEL;break;default:u=n>0?l.default.Messages.GUILD_SIDEBAR_DEFAULT_CHANNEL_A11Y_LABEL_WITH_MENTIONS:t?l.default.Messages.GUILD_SIDEBAR_DEFAULT_CHANNEL_A11Y_LABEL_WITH_UNREADS:l.default.Messages.GUILD_SIDEBAR_DEFAULT_CHANNEL_A11Y_LABEL}return u.format({channelName:s,mentionCount:n})};var r=u(n(70)),a=u(n(12)),o=n(180),i=n(1),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.search=f,t.searchByMode=function(e,t){var n=i.default.getQuery(e),r=function(e){switch(e){case u.SearchModes.MOST_RELEVANT:return{sort_by:"relevance",sort_order:"desc"};case u.SearchModes.OLDEST:return{sort_by:"timestamp",sort_order:"asc"};case u.SearchModes.NEWEST:default:return{sort_by:"timestamp",sort_order:"desc"}}}(t);return f(e,d({},n,{},r,{offset:0}))},t.searchNextPage=function(e,t){void 0===t&&(t=u.SEARCH_PAGE_SIZE);return c(e,t)},t.searchPreviousPage=function(e,t){void 0===t&&(t=u.SEARCH_PAGE_SIZE);return c(e,-t)},t.changePage=function(e,t){return p(e,t*u.SEARCH_PAGE_SIZE)},t.clearHistory=function(e){r.default.dispatch({type:u.ActionTypes.SEARCH_CLEAR_HISTORY,searchId:e})},t.ensureSearchState=function(e){r.default.wait((function(){r.default.dispatch({type:u.ActionTypes.SEARCH_ENSURE_SEARCH_STATE,searchId:e})}))},t.setSearchState=function(e,t){null!=e&&r.default.dirtyDispatch({type:u.ActionTypes.SEARCH_EDITOR_STATE_CHANGE,searchId:e,editorState:t})},t.clearSearchState=function(e){a.default.trackWithMetadata(u.AnalyticEvents.SEARCH_CLOSED,{search_id:i.default.getAnalyticsId(e)}),r.default.wait((function(){return r.default.dispatch({type:u.ActionTypes.SEARCH_EDITOR_STATE_CLEAR,searchId:e})}))},t.updateAutocompleteQuery=function(e,t,n){null!=e&&r.default.dirtyDispatch({type:u.ActionTypes.SEARCH_AUTOCOMPLETE_QUERY_UPDATE,searchId:e,tokens:t,cursorScope:n})},t.setShowBlockedResults=function(e,t){r.default.dispatch({type:u.ActionTypes.SEARCH_SET_SHOW_BLOCKED_RESULTS,searchId:e,showBlocked:t})};var r=s(n(2)),a=s(n(106)),o=s(n(8770)),i=s(n(1241)),l=s(n(12)),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t,n){if(o.default.didAgree(e)){var s=l.default.getCurrentUser();t.include_nsfw=null==s.nsfwAllowed||s.nsfwAllowed}var d=Object.keys(t);a.default.trackWithMetadata(u.AnalyticEvents.SEARCH_STARTED,{search_type:i.default.getSearchType(),prev_search_id:i.default.getAnalyticsId(e),num_modifiers:d.length,modifiers:d.reduce((function(e,n){var r=t[n];return e[n]=Array.isArray(r)?r.length:1,e}),{})}),r.default.dispatch({type:u.ActionTypes.SEARCH_START,query:t,searchId:e,queryString:n})}function c(e,t){return p(e,i.default.getOffset(e)+t)}function p(e,t){var n=i.default.getQuery(e),r=i.default.getTotalResults(e);if(!(t<0||t>r))return f(e,d({},n,{offset:t}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAlgoliaIndex=function(){if(null==_)return;var e=(0,a.default)("NKTZZ4AIZU",_,{responsesCache:(0,r.createNullCache)()}).initIndex(h);l.default.wait((function(){return l.default.dispatch({type:c.ActionTypes.GUILD_DISCOVERY_SEARCH_INIT,index:e})}))},t.doAlgoliaSearch=function(e,t,n){void 0===n&&(n=!0);var r=t.categoryId,a=void 0===r?u.DISCOVERY_ALL_CATEGORIES_ID:r,f=t.preferredLocale,p=t.offset,v=t.length,y=d.default.getSearchIndex();if(null==y)return;n&&function(e,t,n,r,a){var i=(0,s.getHistory)(),l=o.default.stringify({query:e,offset:n,limit:r,preferredLocale:t,categoryId:a}),u=i.location.search;if(!(null!=u&&u.length>0&&u.startsWith("?"))||u.startsWith("?")&&u.split("?")[1]!==l){var d={search:l};(0,s.transitionTo)(c.Routes.GUILD_DISCOVERY,d)}}(e,f,p,v,a);l.default.dirtyDispatch({type:c.ActionTypes.GUILD_DISCOVERY_SEARCH_FETCH_START,section:c.GuildDiscoverySections.SEARCH,query:e,categoryId:a});var _=[].concat(E);a!==u.DISCOVERY_ALL_CATEGORIES_ID&&_.push("(primary_category_id="+a+" OR categories.id="+a+")");var h=_.join(" AND "),g=["preferred_locale: "+f],S=["name","description","keywords","categories.name.default","categories.name."+f,"primary_category.name.default","primary_category.name."+f,"vanity_url_code"];try{var O=y.search(e,{filters:h,optionalFilters:g,length:v,offset:p,restrictSearchableAttributes:S}),I=i.default.get({url:c.Endpoints.GUILD_DISCOVERY_VALID_TERM,query:{term:e},oldFormErrors:!0});Promise.all([O,I]).then((function(t){var n=t[0],r=n.hits,o=n.nbHits,i=t[1].body.valid;l.default.dispatch({type:c.ActionTypes.GUILD_DISCOVERY_SEARCH_FETCH_SUCCESS,section:c.GuildDiscoverySections.SEARCH,query:e,categoryId:a,guilds:i?[].concat(r.map((function(e){return m({},e,{id:e.objectID})}))):[],offset:p,limit:v,total:i?Math.min(o,u.MAX_ALGOLIA_PAGINATOR_RESULTS):0})})).catch((function(){l.default.dispatch({type:c.ActionTypes.GUILD_DISCOVERY_SEARCH_FETCH_FAILURE,section:c.GuildDiscoverySections.SEARCH,categoryId:a,query:e})}))}catch(t){l.default.dispatch({type:c.ActionTypes.GUILD_DISCOVERY_SEARCH_FETCH_FAILURE,section:c.GuildDiscoverySections.SEARCH,categoryId:a,query:e})}},t.getSearchResultsCount=function(e){var t=d.default.getSearchIndex();if(null==t)return;try{var n=t.search(e,{filters:E.join(" AND "),facets:["categories.id"]}),r=i.default.get({url:c.Endpoints.GUILD_DISCOVERY_VALID_TERM,query:{term:e},oldFormErrors:!0});Promise.all([n,r]).then((function(t){var n=t[0],r=n.nbHits,a=n.facets,o=t[1].body.valid;l.default.dispatch({type:c.ActionTypes.GUILD_DISCOVERY_SEARCH_UPDATE_COUNTS,query:e,nbHits:o?r:0,facets:o?a:void 0})}))}catch(t){l.default.dispatch({type:c.ActionTypes.GUILD_DISCOVERY_SEARCH_COUNTS_FAIL,query:e})}},t.fetchPopularGuildsForCategory=function(e){return g.apply(this,arguments)},t.fetchFeaturedOrPopularGuilds=function(e,t){return S.apply(this,arguments)},t.fetchGamesYouPlayGuilds=function(){return O.apply(this,arguments)},t.searchGuildDiscovery=function(e,t,n,r,a){return I.apply(this,arguments)},t.clearSearch=function(e){void 0===e&&(e=!0);e&&(0,s.transitionTo)(c.Routes.GUILD_DISCOVERY);l.default.dispatch({type:c.ActionTypes.GUILD_DISCOVERY_CLEAR_SEARCH})},t.selectCategory=function(e,t){void 0===t&&(t=!1);l.default.dispatch({type:c.ActionTypes.GUILD_DISCOVERY_SELECT_CATEGORY,categoryId:e,isHomepage:t})};var r=n(10433),a=p(n(10434)),o=p(n(137)),i=p(n(14)),l=p(n(2)),u=n(1213),s=n(42),d=p(n(1275)),f=p(n(470)),c=n(1);function p(e){return e&&e.__esModule?e:{default:e}}function v(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function y(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){v(o,r,a,i,l,"next",e)}function l(e){v(o,r,a,i,l,"throw",e)}i(void 0)}))}}function m(){return(m=Object.assign||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}).apply(this,arguments)}var _=window.GLOBAL_ENV.ALGOLIA_KEY,h="production"===window.GLOBAL_ENV.PROJECT_ENV?"prod_discoverable_guilds":"staging"===window.GLOBAL_ENV.PROJECT_ENV?"stg_discoverable_guilds":"dev_discoverable_guilds",E=["auto_removed: false","approximate_presence_count > 0","approximate_member_count > 0"];function g(){return(g=y(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l.default.dispatch({type:c.ActionTypes.GUILD_DISCOVERY_POPULAR_FETCH_START,categoryId:t}),e.prev=1,e.next=4,i.default.get({url:c.Endpoints.GUILD_DISCOVERY,query:o.default.stringify({categories:[t]}),oldFormErrors:!0});case 4:n=e.sent,r=n.body.guilds,l.default.dispatch({type:c.ActionTypes.GUILD_DISCOVERY_POPULAR_FETCH_SUCCESS,categoryId:t,guilds:r}),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(1),l.default.dispatch({type:c.ActionTypes.GUILD_DISCOVERY_POPULAR_FETCH_FAILURE,categoryId:t});case 12:case"end":return e.stop()}}),e,null,[[1,9]])})))).apply(this,arguments)}function S(){return(S=y(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l.default.dirtyDispatch({type:c.ActionTypes.GUILD_DISCOVERY_FETCH_START,section:c.GuildDiscoverySections.FEATURED}),e.prev=1,e.next=4,i.default.get({url:c.Endpoints.GUILD_DISCOVERY,query:o.default.stringify({offset:t,limit:n}),oldFormErrors:!0});case 4:T(e.sent.body,c.GuildDiscoverySections.FEATURED),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),l.default.dispatch({type:c.ActionTypes.GUILD_DISCOVERY_FETCH_FAILURE,section:c.GuildDiscoverySections.FEATURED});case 11:case"end":return e.stop()}}),e,null,[[1,8]])})))).apply(this,arguments)}function O(){return(O=y(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=f.default.applicationStatistics,n=Object.keys(t),l.default.dirtyDispatch({type:c.ActionTypes.GUILD_DISCOVERY_FETCH_START,section:c.GuildDiscoverySections.GAMES_YOU_PLAY}),e.prev=3,e.next=6,i.default.get({url:c.Endpoints.GUILD_DISCOVERY,query:o.default.stringify({application_ids:n}),oldFormErrors:!0});case 6:T(e.sent.body,c.GuildDiscoverySections.GAMES_YOU_PLAY),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(3),l.default.dispatch({type:c.ActionTypes.GUILD_DISCOVERY_FETCH_FAILURE,section:c.GuildDiscoverySections.GAMES_YOU_PLAY});case 13:case"end":return e.stop()}}),e,null,[[3,10]])})))).apply(this,arguments)}function I(){return(I=y(regeneratorRuntime.mark((function e(t,n,r,a,s){var d,f,p,v,y,m;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===s&&(s=u.DISCOVERY_ALL_CATEGORIES_ID),l.default.dirtyDispatch({type:c.ActionTypes.GUILD_DISCOVERY_SEARCH_FETCH_START,section:c.GuildDiscoverySections.SEARCH,query:t,categoryId:s}),e.prev=2,e.next=5,i.default.get({url:c.Endpoints.GUILD_DISCOVERY,query:o.default.stringify({query:t,offset:r,limit:a,preferred_locale:n}),oldFormErrors:!0});case 5:d=e.sent,f=d.body,p=f.offset,v=f.limit,y=f.guilds,m=f.total,l.default.dispatch({type:c.ActionTypes.GUILD_DISCOVERY_SEARCH_FETCH_SUCCESS,section:c.GuildDiscoverySections.SEARCH,query:t,categoryId:s,guilds:y,offset:p,limit:v,total:m}),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(2),l.default.dispatch({type:c.ActionTypes.GUILD_DISCOVERY_SEARCH_FETCH_FAILURE,section:c.GuildDiscoverySections.SEARCH,categoryId:s,query:t});case 13:case"end":return e.stop()}}),e,null,[[2,10]])})))).apply(this,arguments)}function T(e,t){var n=e.offset,r=e.limit,a=e.guilds,o=e.total;l.default.dispatch({type:c.ActionTypes.GUILD_DISCOVERY_FETCH_SUCCESS,section:t,guilds:a,offset:n,limit:r,total:o})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=n(5941),l=f(n(184)),u=f(n(199)),s=n(1),d=f(n(7801));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t,n=e.folderIndex,r=e.index,f=e.isExpandedFolder,c=e.offset,p=a.useMemo((function(){return{accept:[s.GuildsBarDragTypes.GUILD,s.GuildsBarDragTypes.FOLDER],options:{arePropsEqual:l.default},canDrop:function(e,t){if(e.folderIndex===n&&e.index===r)return!1;if(t.getItemType()===s.GuildsBarDragTypes.FOLDER){if(null!=r)return!1;if(f&&1===c)return!1}return!0},hover:function(e){var t=n,a=r;if(0!==c)if(f){if(null!=r)return;a=0}else null==r?t+=c:null!=a&&(a+=c);e.folderIndex<t&&null==e.index?t-=1:e.folderIndex===t&&null!=a&&null!=e.index&&e.index<a&&(a-=1),t===e.folderIndex&&a===e.index||(u.default.move(e.index,a,e.folderIndex,t),e.folderIndex=t,e.index=a)},collect:function(e){return{canDrop:e.canDrop(),isDraggingFolder:e.getItemType()===s.GuildsBarDragTypes.FOLDER}}}}),[n,r,f,c]),v=(0,i.useDrop)(p),y=v[0],m=y.canDrop,_=y.isDraggingFolder,h=v[1],E=_||null!=r||e.isExpandedFolder||e.isLastItem?d.default.half:d.default.edge;return a.createElement("span",{ref:h,className:(0,o.default)(E,(t={},t[d.default.higher]=e.isLastItem,t[d.default.autoPointerEvents]=m,t))})}function y(e){var t,n=e.onDragOverChanged,r=e.folderIndex,f=e.index,c=a.useMemo((function(){return{accept:s.GuildsBarDragTypes.GUILD,options:{arePropsEqual:l.default},canDrop:function(e){return e.folderIndex!==r||e.index!==f},drop:function(e){var t=r;null==e.index&&e.folderIndex<t&&(t-=1),u.default.move(e.index,-1,e.folderIndex,t)},collect:function(e){return{canDrop:e.canDrop(),isOver:e.isOver()}}}}),[r,f]),p=(0,i.useDrop)(c),v=p[0],y=v.canDrop,m=v.isOver,_=p[1];return a.useLayoutEffect((function(){null!=n&&n(m)}),[n,m]),a.createElement("span",{ref:_,className:(0,o.default)(d.default.middle,(t={},t[d.default.autoPointerEvents]=y,t))})}v.displayName="EdgeDropTarget",y.displayName="CenterDropTarget";var m=a.memo((function(e){var t=e.folderIndex,n=e.index,r=e.isExpandedFolder,a=e.isLastItem,o=e.onDragOverChanged;return p("div",{className:d.default.wrapper,"aria-hidden":!0},void 0,p(v,{folderIndex:t,index:n,offset:0,isLastItem:a}),null==n&&!r&&!a&&p(y,{folderIndex:t,index:n,onDragOverChanged:o}),!a&&p(v,{folderIndex:t,index:n,offset:1,isExpandedFolder:r}))}));t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(9)),i=n(192),l=d(n(61)),u=n(139),s=d(n(7802));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(){return(p=Object.assign||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}).apply(this,arguments)}var v=[18,18,16,16,14,12,10];var y=function(e){var t,n,r,d,f=e.children,y=e.icon,m=e.name,_=e.ariaLabel,h=e.className,E=e.style,g=e.to,S=e.onClick,O=e.selected,I=void 0!==O&&O,T=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["children","icon","name","ariaLabel","className","style","to","onClick","selected"]),C=(0,i.useHistory)();null==y&&null!=m&&(d=function(e){return v[e.length-1]||v[v.length-1]}(r=(0,u.getAcronym)(m)));var b="string"==typeof g?g:g.pathname,M=a.useCallback((function(e){if("string"==typeof g)C.push(g);else{var t=g.pathname,n=g.state;C.push(t,n)}null!=S&&S(e)}),[C,g,S]);return a.createElement(l.default,p({},T,{href:b,onClick:M,className:(0,o.default)(h,s.default.wrapper,(t={},t[s.default.selected]=I,t)),"aria-label":null!==(n=_||m)&&void 0!==n?n:"",style:p({},E,{fontSize:d}),focusProps:{enabled:!1}}),null!=r?c("div",{className:(0,o.default)(s.default.childWrapper,s.default.acronym),"aria-hidden":!0},void 0,r):null,null!=y?c("img",{className:s.default.icon,src:y,alt:"",width:48,height:48,"aria-hidden":!0}):null,null!=f?c("div",{className:s.default.childWrapper},void 0,f):null)};y.displayName="NavItem";var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=I;var r,a=g(n(0)),o=h(n(391)),i=n(389),l=h(n(10037)),u=h(n(8323)),s=h(n(8258)),d=g(n(8253)),f=h(n(10038)),c=h(n(11)),p=n(41),v=h(n(10039)),y=h(n(8441)),m=h(n(8399)),_=h(n(6));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function S(){return(S=Object.assign||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}).apply(this,arguments)}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(e){var t=e.channel,n=e.selected,r=e.onSelect,h=t.isOwner(c.default.getId()),E=(0,y.default)(t),g=(0,m.default)(t),I=(0,v.default)(t,n),T=(0,s.default)(t.id),C=(0,u.default)(t);return null==t||t.isManaged()?null:O(d.default,{navId:"gdm-context","aria-label":_.default.Messages.CHANNEL_ACTIONS_MENU_LABEL,onClose:i.closeContextMenu,onSelect:r},void 0,O(d.MenuGroup,{},void 0,E),O(d.MenuGroup,{},void 0,h?O(d.MenuItem,{id:"instant-invites",label:_.default.Messages.INSTANT_INVITES,action:function(){return(0,p.openModal)((function(e){return a.createElement(l.default,S({channelId:t.id},e))}))}}):null,O(d.MenuControlItem,{id:"change-icon",showDefaultFocus:!0,control:function(e,n){return a.createElement(f.default,S({onChange:function(n){var r;o.default.setIcon(t.id,n),null===(r=e.onClose)||void 0===r||r.call(e)},multiple:!1,showEditingModal:!0,"aria-label":_.default.Messages.CHANGE_ICON},e,{ref:n}))},label:_.default.Messages.CHANGE_ICON}),null!=t.icon?O(d.MenuItem,{id:"remove-icon",label:_.default.Messages.REMOVE_ICON,action:function(){return o.default.setIcon(t.id,null)}}):null),O(d.MenuGroup,{},void 0,C),O(d.MenuGroup,{},void 0,g),O(d.MenuGroup,{},void 0,I),O(d.MenuGroup,{},void 0,T))}I.displayName="GroupDMContextMenu"},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=ue;var r,a=Z(n(0)),o=K(n(9)),i=n(394),l=n(95),u=Z(n(3)),s=n(57),d=K(n(363)),f=Z(n(10043)),c=K(n(9211)),p=K(n(10044)),v=K(n(1315)),y=K(n(416)),m=n(10045),_=Z(n(10046)),h=Z(n(8567)),E=K(n(1177)),g=K(n(5963)),S=n(8660),O=n(8570),I=K(n(5834)),T=n(5964),C=K(n(5975)),b=K(n(5976)),M=n(5687),N=K(n(11)),A=K(n(1265)),P=K(n(5947)),R=K(n(1160)),L=K(n(55)),D=K(n(8950)),w=K(n(149)),j=Z(n(475)),k=K(n(159)),U=K(n(13)),G=n(121),F=K(n(5992)),B=K(n(5977)),H=Z(n(5961)),x=K(n(5978)),V=n(1),W=K(n(6)),Y=K(n(7806)),z=K(n(370));function K(e){return e&&e.__esModule?e:{default:e}}function $(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return $=function(){return e},e}function Z(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=$();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function q(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function X(){return(X=Object.assign||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}).apply(this,arguments)}function J(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function Q(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){J(o,r,a,i,l,"next",e)}function l(e){J(o,r,a,i,l,"throw",e)}i(void 0)}))}}function ee(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function te(e,t){return(te=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}u.default.initialize();var ne,re=/\.$/,ae=function(e){return Array.isArray(e)?e.map((function(e){return e.replace(re,"")})).join(". ").trim():e};!function(e){e[e.REGISTER_FORM=0]="REGISTER_FORM",e[e.SMS_VERIFY_CODE=1]="SMS_VERIFY_CODE"}(ne||(ne={}));var oe=q(H.InviteResolvingHeader,{}),ie=q(p.default,{fromRegister:!0}),le=function(e){var t,n;function r(t){var n;(n=e.call(this,t)||this).dateOfBirthRef=a.createRef(),n._retryTimer=new s.Timeout,n.handleCaptchaVerify=function(e){return n.setState({captchaKey:e},(function(){n.isPhoneRegistration()?n.finishPhoneRegistration():n.handleRegister()}))},n.handleGotoLogin=function(){var e=n.state.login,t=n.props,r=t.onLoginStart,a=t.giftCode,o=t.transitionTo,l=t.invite,u=t.guildTemplate,s=t.redirectTo,f=t.isGuest,c=t.location,p=t.closeRegister,v=t.openLogin;if(f)return void 0!==p&&p(),void(void 0!==v&&v());var y,m=null!=c?(0,i.parse)(c.search):{};null!=l?y=V.Routes.INVITE_LOGIN(l.code):null!=a?y=V.Routes.GIFT_CODE_LOGIN(a.code):null!=u?y=V.Routes.GUILD_TEMPLATE_LOGIN(u.code):null!=s?(y=V.Routes.LOGIN,m.redirect_to=s):(y=V.Routes.LOGIN,""!==e&&(m={email:e})),d.default.loginReset(),o(y,{search:(0,i.stringify)(m)}),null!=r&&r(),G.ComponentDispatch.dispatch(V.ComponentActions.WAVE_EMPHASIZE)},n.isPhoneRegistration=function(){var e=n.state.loginMode,t=n.props,r=t.invite,a=t.desktopPhoneRegistrationConfig.variant,o=n.getFullLogin();if(null!=r)return!1;switch(a){case f.PhoneRegistrationVariant.CombinedInput:return(0,T.getPhoneOrEmail)(o)===T.PhoneOrEmailSelectorForceMode.PHONE;case f.PhoneRegistrationVariant.SplitTabInputs:case f.PhoneRegistrationVariant.SubtleInputSwitcher:return e===T.PhoneOrEmailSelectorForceMode.PHONE;default:return!1}},n.handleSubmit=function(){var e=Q(regeneratorRuntime.mark((function e(t){var r,a,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&t.preventDefault(),r=n.state.parsedDateOfBirth,a=n.props,o=a.invite,null!==a.consentRequired){e.next=5;break}return e.abrupt("return");case 5:if(null!=o||null!=r){e.next=7;break}return e.abrupt("return");case 7:if(!n.isPhoneRegistration()){e.next=20;break}return i=n.getFullLogin(),n.setState({phoneRegistering:!0}),e.prev=10,e.next=13,(0,_.registerPhone)({phone:i});case 13:n.setState({phoneRegistering:!1,registerPage:ne.SMS_VERIFY_CODE}),e.next=19;break;case 16:e.prev=16,e.t0=e.catch(10),n.setState({phoneRegistering:!1});case 19:return e.abrupt("return");case 20:n.handleRegister();case 21:case"end":return e.stop()}}),e,null,[[10,16]])})));return function(t){return e.apply(this,arguments)}}(),n.handleBirthdayChange=function(e){n.setState({parsedDateOfBirth:e})},n.handleClickSMSVerifyBack=function(){n.setState({smsVerifyCode:"",smsVerifyCodeError:null,registerPage:ne.REGISTER_FORM})},n.handleSubmitSMSVerifyCode=function(e){null==e||e.preventDefault(),n.handleVerifySMSCode()},n.handleVerifySMSCode=Q(regeneratorRuntime.mark((function e(){var t,r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.state.smsVerifyCode,r=n.getFullLogin(),n.setState({verifyingSMSCode:!0}),G.ComponentDispatch.dispatch(V.ComponentActions.WAVE_EMPHASIZE),e.prev=4,e.next=7,I.default.verifyPhone(r,t,!1);case 7:a=e.sent,n.setState({phoneToken:a.token},n.finishPhoneRegistration),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(4),n.setState({smsVerifyCodeError:e.t0.body.message,verifyingSMSCode:!1});case 14:case"end":return e.stop()}}),e,null,[[4,11]])}))),n.finishPhoneRegistration=Q(regeneratorRuntime.mark((function e(){var t,r,a,o,i,l,u,s,d,f,c,p,v,y;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.state,r=t.username,a=t.password,o=t.captchaKey,i=t.consent,l=t.parsedDateOfBirth,u=t.phoneToken,s=n.props,d=s.invite,f=s.guildTemplate,c=s.giftCode,p=s.onRegister,v=null!=d?d.code:null,y=null!=c?c.skuId:null,u){e.next=6;break}return e.abrupt("return");case 6:return n.setState({verifyingSMSCode:!0}),G.ComponentDispatch.dispatch(V.ComponentActions.WAVE_EMPHASIZE),e.prev=8,e.next=11,(0,_.registerFull)({phoneToken:u,username:r,consent:i,password:a,invite:v,guildTemplateCode:null==f?void 0:f.code,giftCodeSKUId:y,captchaKey:o,birthday:l});case 11:e.next=15;break;case 13:e.prev=13,e.t0=e.catch(8);case 15:return e.prev=15,n.setState({verifyingSMSCode:!1}),e.finish(15);case 18:p&&p();case 19:case"end":return e.stop()}}),e,null,[[8,13,15,18]])})));var r=null!=t.location?(0,i.parse)(t.location.search):{};return n.state={login:r.email||"",loginPrefix:"",username:"",password:"",parsedDateOfBirth:null,captchaKey:null,consent:!t.consentRequired,consentRequiredProp:t.consentRequired,isRateLimited:!1,phoneRegistering:!1,registerPage:ne.REGISTER_FORM,smsVerifyCode:"",smsVerifyCodeError:null,verifyingSMSCode:!1,loginMode:t.desktopPhoneRegistrationConfig.defaultInputMode,phoneToken:null},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,te(t,n);var l,u,c,p=r.prototype;return p.hasConsent=function(){var e=this.props.consentRequired,t=this.state.consent;return null!=e&&t},p.getFullLogin=function(){var e=this.state;return e.loginPrefix+e.login},p.componentDidMount=function(){this.redirectIfAuthenticated();var e=this.props,t=e.giftCodeSKU,n=e.invite;U.default.track(V.AnalyticEvents.REGISTER_VIEWED,X({location:null!=n?"Invite Register Page":"Non-Invite Register Page",registration_source:this.registrationSource},null!=t?(0,E.default)(t,!1,!1):{}),{flush:!0}),null==this.props.consentRequired&&d.default.getLocationMetadata(),(0,M.trackAppUIViewed)("register")},p.componentWillUnmount=function(){this._retryTimer.stop()},r.getDerivedStateFromProps=function(e,t){var n=e.consentRequired;return null==t.consentRequiredProp&&null!=n?{consent:!n,consentRequiredProp:n}:{consentRequiredProp:n}},p.componentDidUpdate=function(e,t){var n=this,r=this.props,a=r.apiErrors,o=r.authenticated,i=r.desktopPhoneRegistrationConfig,l=i.variant,u=i.defaultInputMode,s=r.isUnderage,d=r.invite,f=r.onChangeStep,c=this.state,p=c.parsedDateOfBirth,v=c.registerPage;if(l!==e.desktopPhoneRegistrationConfig.variant&&this.setState({loginMode:u}),e.apiErrors!==a||t.parsedDateOfBirth!==p){this.hasError("email")||this.hasError("phone")?null!=this.emailRef&&this.emailRef.focus():this.hasError("username")?null!=this.usernameRef&&this.usernameRef.focus():this.hasError("password")?null!=this.passwordRef&&this.passwordRef.focus():null==this.state.parsedDateOfBirth?null!=this.dateOfBirthRef.current&&this.dateOfBirthRef.current.focus():this.hasError("retry_after")&&(this.setState({isRateLimited:!0}),this._retryTimer.start(1e3*this.props.apiErrors.retry_after,(function(){n.setState({isRateLimited:!1})})));var y=["email","phone","username","password","phoneToken"].some((function(e){return n.hasError(e)}));v===ne.SMS_VERIFY_CODE&&y&&this.setState({registerPage:ne.REGISTER_FORM,smsVerifyCode:"",smsVerifyCodeError:null})}o&&!e.authenticated&&this.redirectIfAuthenticated();var _=m.RegistrationSteps.FULL;s||this.hasError("date_of_birth")?_=m.RegistrationSteps.AGE_GATE:this.hasError("captcha_key")?_=m.RegistrationSteps.CAPTCHA:null!=d?_=m.RegistrationSteps.INVITE:v===ne.SMS_VERIFY_CODE&&(_=m.RegistrationSteps.SMS_VERIFY),f(_)},p.redirectIfAuthenticated=function(){var e=this.props,t=e.authenticated,n=e.transitionTo,r=e.redirectTo;t&&((0,S.setNewUser)(O.NewUserTypes.ORGANIC_REGISTERED),n(null!=r?r:P.default.defaultRoute))},p.handleRegister=function(){var e=Q(regeneratorRuntime.mark((function e(){var t,n,r,a,o,i,l,u,s,d,f,c,p,v;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.state,n=t.username,r=t.password,a=t.captchaKey,o=t.consent,i=t.parsedDateOfBirth,l=this.props,u=l.invite,s=l.guildTemplate,d=l.giftCode,f=l.onRegister,c=null!=u?u.code:null,p=null!=d?d.skuId:null,v=this.getFullLogin(),G.ComponentDispatch.dispatch(V.ComponentActions.WAVE_EMPHASIZE),e.prev=6,null==u){e.next=12;break}return e.next=10,(0,_.default)({username:n,consent:o,invite:c,giftCodeSKUId:p,captchaKey:a});case 10:e.next=14;break;case 12:return e.next=14,(0,_.registerFull)({email:v,username:n,consent:o,password:r,invite:c,guildTemplateCode:null==s?void 0:s.code,giftCodeSKUId:p,captchaKey:a,birthday:i});case 14:e.next=18;break;case 16:e.prev=16,e.t0=e.catch(6);case 18:f&&f();case 19:case"end":return e.stop()}}),e,this,[[6,16]])})));return function(){return e.apply(this,arguments)}}(),p.hasError=function(e){return null!=this.props.apiErrors[e]},p.renderConsentComponents=function(){var e=this,t=this.state.consent,n=null,r=null;return this.props.consentRequired?r=q(L.default,{className:z.default.marginTop20,align:L.default.Align.CENTER},void 0,q(R.default,{value:t,type:R.default.Types.INVERTED,onChange:function(t,n){return e.setState({consent:n})},className:Y.default.checkbox},void 0,q(j.SubText,{},void 0,W.default.Messages.TERMS_PRIVACY_OPT_IN.format({termsURL:V.MarketingURLs.TERMS,privacyURL:V.MarketingURLs.PRIVACY})))):n=q(j.SubText,{className:z.default.marginTop20},void 0,W.default.Messages.TERMS_PRIVACY.format({termsURL:V.MarketingURLs.TERMS,privacyURL:V.MarketingURLs.PRIVACY})),{subText:n,consentText:r}},p.renderInviteResolving=function(){var e=this,t=this.props.authBoxClassName;return q(j.default,{className:t},void 0,oe,q(j.Block,{className:z.default.marginTop40},void 0,q(k.default,{},void 0,W.default.Messages.FORM_LABEL_USERNAME),q(w.default,{text:W.default.Messages.AUTH_USERNAME_TOOLTIP,position:w.default.Positions.RIGHT,color:w.default.Colors.BRAND},void 0,(function(t){var n=t.onMouseEnter,r=t.onMouseLeave;return q(j.Input,{autoFocus:!0,className:z.default.marginBottom8,name:"username",value:e.state.username,placeholder:W.default.Messages.FORM_PLACEHOLDER_USERNAME,onChange:function(t){return e.setState({username:t})},onMouseEnter:n,onMouseLeave:r})})),q(j.Button,{className:z.default.marginTop20,disabled:!0},void 0,W.default.Messages.CONTINUE),q(j.Button,{look:j.Button.Looks.LINK,color:j.Button.Colors.LINK,disabled:!0,className:z.default.marginTop8},void 0,W.default.Messages.ALREADY_HAVE_ACCOUNT),q(j.SubText,{disabled:!0,className:z.default.marginTop20},void 0,W.default.Messages.TERMS_PRIVACY.format({termsURL:V.MarketingURLs.TERMS,privacyURL:V.MarketingURLs.PRIVACY}))))},p.renderInvite=function(){var e=this,t=this.props,n=t.invite,r=t.registering,o=t.consentRequired,i=t.authBoxClassName,l=t.apiErrors.username,u=this.state.consent,s=this.renderConsentComponents(),d=s.subText,f=s.consentText,c=null!=(null==n?void 0:n.stage_instance),p=q(w.default,{text:!u&&o?W.default.Messages.TERMS_PRIVACY_OPT_IN_TOOLTIP:null},void 0,(function(t){return a.createElement("div",X({className:z.default.marginTop20},t),q(j.Button,{type:"submit",submitting:r,disabled:!e.hasConsent(),color:c?j.Button.Colors.GREEN:j.Button.Colors.BRAND},void 0,c?W.default.Messages.INSTANT_INVITE_ACCEPT_STAGE:W.default.Messages.CONTINUE))}));return q("div",{},void 0,q(j.default,{onSubmit:this.handleSubmit,tag:"form",className:i},void 0,c&&null!=(null==n?void 0:n.guild)?q(h.default,{stageInstance:null==n?void 0:n.stage_instance,guild:n.guild}):q(H.default,{invite:n}),q(j.Block,{className:z.default.marginTop40},void 0,q(k.default,{error:ae(l)},void 0,W.default.Messages.FORM_LABEL_USERNAME),q(w.default,{text:W.default.Messages.AUTH_USERNAME_TOOLTIP,position:w.default.Positions.RIGHT,color:w.default.Colors.BRAND},void 0,(function(t){var n=t.onMouseEnter,r=t.onMouseLeave;return q(j.Input,{autoFocus:!0,className:z.default.marginBottom8,name:"username",value:e.state.username,placeholder:W.default.Messages.FORM_PLACEHOLDER_USERNAME,onChange:function(t){return e.setState({username:t})},error:null!=l?"":null,onMouseEnter:n,onMouseLeave:r})})),f,p,q(j.Button,{look:j.Button.Looks.LINK,color:j.Button.Colors.LINK,onClick:this.handleGotoLogin,className:z.default.marginTop8},void 0,W.default.Messages.ALREADY_HAVE_ACCOUNT),d)),null!=n&&c?q(j.default,{className:z.default.marginTop20},void 0,q(h.StageInviteFooter,{guild:n.guild,onlineCount:n.approximate_presence_count})):null)},p.renderErrorMessage=function(){var e=this.props.apiErrors.message;return null!=e?q(j.SubText,{className:(0,o.default)(z.default.marginTop20,Y.default.errorMessage)},void 0,e):null},p.renderEmailInput=function(){var e=this,t=this.state.login,n=this.props.apiErrors.email;return q(j.Input,{autoFocus:!0,label:W.default.Messages.FORM_LABEL_EMAIL,className:z.default.marginBottom20,name:"email",value:t,onChange:function(t){return e.setState({login:t})},error:ae(n),type:"email",setRef:function(t){e.emailRef=t}})},p.renderPhoneOrEmailInput=function(e){var t,n=this,r=this.state.login,o=this.props,i=o.country,l=o.apiErrors,u=l.phone,s=l.email;return a.createElement(b.default,X({autoFocus:!0,alpha2:i.alpha2,countryCode:i.code,label:W.default.Messages.FORM_LABEL_EMAIL_OR_PHONE_NUMBER,value:r,onChange:function(e,t){return n.setState({login:e,loginPrefix:t})},error:null!==(t=ae(u))&&void 0!==t?t:ae(s),setRef:function(e){n.emailRef=e}},e))},p.renderLoginInput=function(e){var t=this,n=e.variant,r=e.defaultInputMode,a=this.state.loginMode;switch(n){case f.PhoneRegistrationVariant.CombinedInput:return q(j.Block,{className:z.default.marginBottom20},void 0,this.renderPhoneOrEmailInput());case f.PhoneRegistrationVariant.SplitTabInputs:var o={name:"Phone",value:T.PhoneOrEmailSelectorForceMode.PHONE},i={name:"Email",value:T.PhoneOrEmailSelectorForceMode.EMAIL};return q(j.Block,{className:z.default.marginBottom20},void 0,q(D.default,{options:r===T.PhoneOrEmailSelectorForceMode.PHONE?[o,i]:[i,o],value:a,onChange:function(e){var n=e.value;return t.setState({loginMode:n})},className:Y.default.segmentControl,optionClassName:Y.default.segmentControlOption,selectedOptionClassName:Y.default.segmentControlOptionSelected}),this.renderPhoneOrEmailInput({forceMode:a,label:a===T.PhoneOrEmailSelectorForceMode.PHONE?W.default.Messages.FORM_LABEL_PHONE_NUMBER:W.default.Messages.FORM_LABEL_EMAIL}));case f.PhoneRegistrationVariant.SubtleInputSwitcher:return a===T.PhoneOrEmailSelectorForceMode.PHONE?q(j.Block,{className:z.default.marginBottom20},void 0,this.renderPhoneOrEmailInput({forceMode:T.PhoneOrEmailSelectorForceMode.PHONE,label:W.default.Messages.FORM_LABEL_PHONE_NUMBER}),q(j.Button,{onClick:function(){return t.setState({loginMode:T.PhoneOrEmailSelectorForceMode.EMAIL})},className:Y.default.subtleLoginSwitcher,look:j.Button.Looks.LINK,color:j.Button.Colors.LINK},void 0,W.default.Messages.USE_EMAIL)):q(j.Block,{className:z.default.marginBottom20},void 0,this.renderPhoneOrEmailInput({forceMode:T.PhoneOrEmailSelectorForceMode.EMAIL,label:W.default.Messages.FORM_LABEL_EMAIL}),q(j.Button,{onClick:function(){return t.setState({loginMode:T.PhoneOrEmailSelectorForceMode.PHONE})},className:Y.default.subtleLoginSwitcher,look:j.Button.Looks.LINK,color:j.Button.Colors.LINK},void 0,W.default.Messages.USE_PHONE));default:return this.renderEmailInput()}},p.renderSMSVerifyCodePage=function(){var e=this,t=this.props,n=t.authBoxClassName,r=t.apiErrors.message,a=this.state,i=a.smsVerifyCode,l=a.verifyingSMSCode,u=a.smsVerifyCodeError,s=this.getFullLogin();return q(j.default,{tag:"form",className:(0,o.default)(Y.default.smsVerifyCodeBox,n),onSubmit:this.handleSubmitSMSVerifyCode},void 0,q(j.Title,{className:z.default.marginBottom8},void 0,W.default.Messages.SMS_CONFIRMATION_TITLE),q(j.SubTitle,{},void 0,W.default.Messages.SMS_CONFIRMATION_DESCRIPTION.format({phone:s})),q(j.Block,{className:z.default.marginTop40},void 0,q(j.Input,{name:"sms_verify_code",className:z.default.marginBottom20,autoComplete:"off",spellCheck:"false",maxLength:10,autoFocus:!0,label:W.default.Messages.CONFIRMATION_CODE,error:u,disabled:l,value:i,onChange:function(t){return e.setState({smsVerifyCode:t})}}),r&&q(j.SubText,{className:(0,o.default)(Y.default.errorMessage,Y.default.smsVerifyErrorMessage)},void 0,r)),q(j.AuthBoxFooter,{justify:L.default.Justify.BETWEEN},void 0,q(j.Button,{type:"submit",color:j.Button.Colors.BRAND,size:j.Button.Sizes.LARGE,fullWidth:!1,disabled:i.length<6,submitting:l},void 0,W.default.Messages.CONTINUE),q(j.Button,{look:j.Button.Looks.BLANK,size:j.Button.Sizes.MIN,fullWidth:!1,onClick:this.handleClickSMSVerifyBack},void 0,W.default.Messages.BACK)))},p.renderFull=function(e,t){var n=this,r=this.state,i=r.username,l=r.password,u=r.consent,s=r.parsedDateOfBirth,d=r.phoneRegistering,c=this.props,p=c.registering,y=c.consentRequired,m=c.isGuest,_=c.authBoxClassName,h=c.desktopPhoneRegistrationConfig,E=c.apiErrors,g=(E=void 0===E?{}:E).username,S=E.password,O=E.date_of_birth;f.default.trackExposure({});var I=this.renderLoginInput(h),T=this.renderConsentComponents(),C=T.subText,b=T.consentText,M=this.renderErrorMessage(),N=q(w.default,{text:!u&&y?W.default.Messages.TERMS_PRIVACY_OPT_IN_TOOLTIP:null},void 0,(function(e){return a.createElement("div",X({className:z.default.marginTop20},e),q(j.Button,{type:"submit",submitting:p||d,disabled:!n.hasConsent()||n.state.isRateLimited},void 0,W.default.Messages.CONTINUE))})),A=m?null:null!=e?e():q(j.Title,{},void 0,W.default.Messages.REGISTER_TITLE),P=q(j.Block,{className:z.default.marginTop20},void 0,I,q(j.Input,{label:W.default.Messages.FORM_LABEL_USERNAME,className:z.default.marginBottom20,name:"username",value:i,onChange:function(e){return n.setState({username:e})},error:ae(g),setRef:function(e){n.usernameRef=e}}),q(j.Input,{label:W.default.Messages.FORM_LABEL_PASSWORD,name:"password",value:l,onChange:function(e){return n.setState({password:e})},error:ae(S),type:"password",setRef:function(e){n.passwordRef=e}}),a.createElement(v.default,{label:W.default.Messages.AGE_GATE_YOUR_BIRTHDAY,wrapperClassName:z.default.marginTop20,name:"date_of_birth",onChange:this.handleBirthdayChange,ref:this.dateOfBirthRef,error:ae(O),value:s}),b,N,M,q(j.Button,{look:j.Button.Looks.LINK,color:j.Button.Colors.LINK,onClick:this.handleGotoLogin,className:z.default.marginTop8},void 0,W.default.Messages.ALREADY_HAVE_ACCOUNT),C);return t?q(x.default,{onSubmit:this.handleSubmit,tag:"form",className:(0,o.default)(_,Y.default.horizontalAuthBox)},void 0,(function(){return[A,q("div",{className:Y.default.flex},void 0,q(j.Title,{className:Y.default.createAccountTemplateHeader},void 0,W.default.Messages.REGISTER_TITLE),P)]})):q(j.default,{onSubmit:this.handleSubmit,tag:"form",className:_},void 0,A,P)},p.render=function(){var e=this.props,t=e.isGuest,n=e.authBoxClassName,r=e.isUnderage,a=e.apiErrors,o=a.captcha_service,i=a.captcha_sitekey,l=this.state.registerPage;if(r||this.hasError("date_of_birth"))return ie;if(this.hasError("captcha_key"))return q(F.default,{authBoxClassName:n,onVerify:this.handleCaptchaVerify,title:t?null:W.default.Messages.REGISTER_TITLE,captchaService:o,sitekey:i});var u=this.props,s=u.invite,d=u.giftCode,f=u.guildTemplate;if(null!=s)return s.state===V.InviteStates.RESOLVING?this.renderInviteResolving():this.renderInvite();var c=q(g.default,{guildTemplate:f}),p=q(B.default,{giftCode:d});switch(l){case ne.SMS_VERIFY_CODE:return this.renderSMSVerifyCodePage();default:return null!=f?this.renderFull((function(){return c}),!0):null!=d?this.renderFull((function(){return p})):this.renderFull()}},l=r,(u=[{key:"registrationSource",get:function(){var e=this.props,t=e.giftCode,n=e.guildTemplate,r=e.invite;return null!=t?"gift":null!=n?"guild_template":null!=r?null!=r.guild?"guild_invite":"dm_invite":null}}])&&ee(l.prototype,u),c&&ee(l,c),r}(a.PureComponent);function ue(e){var t={consentRequired:(0,u.useStateFromStores)([A.default],(function(){return A.default.getAuthenticationConsentRequired()})),registering:(0,u.useStateFromStores)([N.default],(function(){return N.default.getRegisterStatus()===V.RegistrationStates.REGISTERING})),apiErrors:(0,u.useStateFromStores)([N.default],(function(){return N.default.getErrors()})),authenticated:(0,u.useStateFromStores)([N.default],(function(){return N.default.isAuthenticated()})),isUnderage:(0,u.useStateFromStores)([c.default],(function(){return c.default.isUnderageAnonymous()})),country:(0,u.useStateFromStores)([C.default],(function(){return C.default.getCountryCode()})),desktopPhoneRegistrationConfig:f.default.useExperiment({})[0]},n=a.useState(m.RegistrationSteps.FULL),r=n[0],o=n[1];return(0,y.default)({type:l.ImpressionTypes.VIEW,name:l.ImpressionNames.USER_REGISTRATION,metadata:{impression_group:l.ImpressionGroups.USER_REGISTRATION_FLOW,step:r}},{},[r]),a.createElement(le,X({onChangeStep:function(e){return o(e)}},e,t))}le.displayName="Register",le.defaultProps={giftCodeResolved:!1,transitionTo:function(t){return e.location.assign(t)}},ue.displayName="ConnectedRegister"}).call(this,n(44))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canReportInChannel=s,t.canReportUser=d,t.canReportMessage=function(e){return null!=e&&d(e.author)&&s(e.getChannelId())};var r=u(n(10)),a=u(n(684)),o=u(n(40)),i=u(n(12)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e){var t=r.default.getChannel(e);if(null==t)return!1;if(t.type===l.ChannelTypes.DM||t.type===l.ChannelTypes.GROUP_DM)return!0;if(o.default.canWithPartialContext(l.Permissions.MANAGE_MESSAGES,{channelId:e})){var n=a.default.getMemberCount(t.getGuildId());return null!=n&&n>=50}return!1}function d(e){if(null==e)return!1;var t=e.id,n=i.default.getNullableCurrentUser();return!(null==n||!n.verified)&&n.id!==t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=l.default.getMessages(e),c=r.default.maxBy(n.toArray().filter((function(e){return e.id<t})),"id"),p=null==c?d.default.atPreviousMillisecond(t):c.id,v=s.default.getCurrentUser(),y=0;if(n.forAll((function(e){e.id>p&&(0,u.shouldBadgeMessage)(e,v)&&y++})),(0,o.isArchivedOrUnjoinedThread)(i.default.getChannel(e)))throw Error("markUnread cannot be used with archived/unjoined threads");a.default.post({url:f.Endpoints.MESSAGE_ACK(e,p),body:{manual:!0,mention_count:y},oldFormErrors:!0})};var r=c(n(8)),a=c(n(14)),o=n(698),i=c(n(10)),l=c(n(201)),u=n(200),s=c(n(12)),d=c(n(97)),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementFromMessageId=function(e){return document.getElementById((0,b.getMessageDOMId)(e))},t.ThreadStarterChatMessage=function(e){var t,n=e.id,r=e.message,s=e.message.messageReference,d=e.compact,c=void 0!==d&&d,p=e.className;(0,i.default)(r.type===F.MessageTypes.THREAD_STARTER_MESSAGE,"Message must be a thread starter message");var v,y=K({},(0,l.useListItem)(null!==(t=e.id)&&void 0!==t?t:"")),m=(0,u.useStateFromStores)([f.default],(function(){return f.default.getMessageByReference(s)})),_=q(r.id,T.DEFAULT_POPOUTS),h=_.popouts,E=_.setPopout,S=Z(r,!1);return r.type===F.MessageTypes.THREAD_STARTER_MESSAGE&&null!=m&&m.state===f.ReferencedMessageState.LOADED?a.createElement(X,K({},e,{message:m.message,groupId:m.message.id})):a.createElement(g.default,K({},y,{id:n,compact:c,className:(0,o.default)(p,(v={},v[H.default.message]=!0,v[H.default.cozyMessage]=!c,v[H.default.systemMessage]=!0,v[H.default.groupStart]=!0,v)),childrenHeader:(0,w.default)(e,E,h,s),childrenSystemMessage:(0,G.default)(e),childrenMessageContent:null,"aria-label":S,hasThread:!1}))},t.default=void 0;var r,a=W(n(0)),o=x(n(9)),i=x(n(23)),l=n(680),u=n(3),s=x(n(105)),d=x(n(8437)),f=W(n(706)),c=n(42),p=n(1209),v=x(n(10)),y=x(n(8333)),m=x(n(70)),_=x(n(39)),h=x(n(10092)),E=x(n(61)),g=x(n(8424)),S=n(121),O=n(1161),I=n(99),T=n(1254),C=x(n(1216)),b=n(8541),M=x(n(685)),N=x(n(682)),A=n(8542),P=x(n(10105)),R=x(n(8497)),L=x(n(8830)),D=x(n(10106)),w=x(n(10113)),j=x(n(10115)),k=x(n(10117)),U=x(n(10120)),G=x(n(8654)),F=n(1),B=x(n(6)),H=x(n(7343));function x(e){return e&&e.__esModule?e:{default:e}}function V(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return V=function(){return e},e}function W(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=V();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function Y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function z(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function K(){return(K=Object.assign||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}).apply(this,arguments)}function $(e){return Object.keys(e).some((function(t){return e[t]}))}function Z(e,t){var n=(0,N.default)(e).nick;if(t)return B.default.Messages.CHANNEL_MESSAGE_A11Y_LABEL.format({author:n,timestamp:(0,O.dateFormat)(e.timestamp,"LT"),content:C.default.unparse(e.content,e.channel_id,!0)})}function q(e,t){var n=a.useState(t),r=n[0],o=n[1],i=a.useState($(r)),l=i[0],u=i[1],s=a.useRef(l),d=a.useRef(null),f=a.useCallback((function(e){o((function(t){var n=K({},t,{},e),r=$(n);return r!==s.current&&(s.current=r,null!=d.current&&(cancelAnimationFrame(d.current),d.current=null),r?u(!0):d.current=requestAnimationFrame((function(){return u(!1)}))),n}))}),[]),c=F.ComponentActions.TOGGLE_REACTION_POPOUT(e);return a.useEffect((function(){var e=function(e){return f({emojiPicker:e})};return S.ComponentDispatch.subscribe(c,e),function(){S.ComponentDispatch.unsubscribe(c,e)}}),[c,f]),{popouts:r,setPopout:f,selected:l}}function X(e){var t,n,r=e.id,i=e.message,d=e.message,p=d.id,v=d.channel_id,y=e.channel.guild_id,h=e.compact,S=void 0!==h&&h,O=e.className,C=e.groupId,b=i.type===F.MessageTypes.REPLY?i.messageReference:void 0,N=(0,l.useListItem)(null!==(t=e.id)&&void 0!==t?t:""),D=N.onFocus,k=z(N,["onFocus"]),x=(0,A.useFocusInside)(D),V=x.isFocused,W=x.handleFocus,$=x.handleBlur,X=q(i.id,T.DEFAULT_POPOUTS),J=X.popouts,Q=X.selected,ee=X.setPopout,te=(0,u.useStateFromStores)([_.default],(function(){var e=_.default.inlineEmbedMedia,t=_.default.renderEmbeds;return e&&t})),ne=(0,u.useStateFromStores)([f.default],(function(){return f.default.getMessageByReference(b)})),re=(0,A.useHoveredMessage)(C,i.author.id,Q),ae=re.handleMouseEnter,oe=re.handleMouseLeave,ie=re.isHovered,le=(0,u.useStateFromStores)([s.default],(function(){return s.default.keyboardModeEnabled})),ue=Q||le&&V,se=ue||ie,de=(0,R.default)(i,te,se,!1),fe=de.content,ce=de.hasSpoilerEmbeds,pe=(0,P.default)(p,v,le),ve=Z(i,!1),ye=(0,j.default)(e,fe,!1),me=a.useCallback((function(){return(0,c.transitionToGuild)(y,v,p)}),[y,v,p]);return(0,u.useStateFromStores)([m.default],(function(){var e;return m.default.isBlocked(null===(e=i.author)||void 0===e?void 0:e.id)}))?null:Y("div",{className:H.default.quotedChatMessage},void 0,Y(E.default,{className:H.default.jump,onClick:me,"aria-label":B.default.Messages.JUMP},void 0,B.default.Messages.JUMP),a.createElement(g.default,K({},k,{id:r,compact:S,className:(0,o.default)(O,(n={},n[H.default.message]=!0,n[H.default.cozyMessage]=!S,n[H.default.mentioned]=i.mentioned&&!(0,M.default)(i),n[H.default.ephemeral]=(0,I.hasFlag)(i.flags,F.MessageFlags.EPHEMERAL),n[H.default.systemMessage]=(0,M.default)(i),n[H.default.groupStart]=i.id===C||i.type===F.MessageTypes.REPLY,n[H.default.selected]=ue,n)),zalgo:!0,onKeyDown:pe,onFocus:W,onBlur:$,childrenRepliedMessage:(0,U.default)(e,ee,J,b,ne),childrenHeader:(0,w.default)(e,ee,J,b,ne),childrenAccessories:(0,L.default)(e,ce,(function(){}),se,!1,!1),childrenSystemMessage:(0,G.default)(e),childrenMessageContent:ye,onMouseMove:ae,onMouseLeave:oe,"aria-label":ve,hasThread:!1})))}X.displayName="QuotedChatMessage";var J=a.memo((function(e){var t,n,r,c=e.id,m=e.message,E=e.message.id,S=e.channel,O=e.channel.id,C=e.compact,b=void 0!==C&&C,N=e.className,B=e.flashKey,x=e.groupId;(0,i.default)(m.type!==F.MessageTypes.THREAD_STARTER_MESSAGE,"Message must not be a thread starter message");var V=F.MessageTypesWithLazyLoadedReferences.has(m.type)?m.messageReference:void 0,W=(0,l.useListItem)(null!==(t=e.id)&&void 0!==t?t:""),$=W.onFocus,X=z(W,["onFocus"]),J=(0,u.useStateFromStores)([_.default],(function(){var e=_.default.inlineEmbedMedia,t=_.default.renderEmbeds;return e&&t})),Q=(0,u.useStateFromStores)([f.default],(function(){return f.default.getMessageByReference(V)})),ee=q(m.id,T.DEFAULT_POPOUTS),te=ee.popouts,ne=ee.selected,re=ee.setPopout,ae=(0,A.useContextMenuMessage)(m,S,re),oe=(0,A.useClickMessage)(m,S),ie=(0,A.useHoveredMessage)(x,m.author.id,ne),le=ie.handleMouseEnter,ue=ie.handleMouseLeave,se=ie.hasHovered,de=ie.isHovered,fe=(0,A.useFocusInside)($),ce=fe.isFocused,pe=fe.hasFocused,ve=fe.handleFocus,ye=fe.handleBlur,me=(0,u.useStateFromStores)([y.default],(function(){return y.default.isEditing(O,E)}),[O,E]),_e=(0,u.useStateFromStores)([s.default],(function(){return s.default.keyboardModeEnabled})),he=ne||me||_e&&ce,Ee=he||de,ge=(0,R.default)(m,J,Ee,!1),Se=ge.content,Oe=ge.hasSpoilerEmbeds,Ie=(0,P.default)(E,O,_e),Te=Z(m,!1),Ce=(0,u.useStateFromStores)([d.default],(function(){return d.default.getPendingReply(O)})),be=(0,j.default)(e,Se,me),Me=function(e){var t=a.useRef(e);return a.useEffect((function(){t.current=e||t.current})),e||t.current}(B),Ne=(0,p.useCanSeeThreads)(),Ae=(0,u.useStateFromStores)([v.default],(function(){return m.hasFlag(F.MessageFlags.HAS_THREAD)&&v.default.getChannel(m.id)})),Pe=a.createElement(g.default,K({},X,{id:c,compact:b,className:(0,o.default)(N,(n={},n[H.default.message]=!0,n[H.default.cozyMessage]=!b,n[H.default.mentioned]=m.mentioned&&!(0,M.default)(m),n[H.default.ephemeral]=(0,I.hasFlag)(m.flags,F.MessageFlags.EPHEMERAL),n[H.default.systemMessage]=(0,M.default)(m),n[H.default.groupStart]=m.id===x||m.type===F.MessageTypes.REPLY,n[H.default.selected]=he,n[H.default.replying]=(null==Ce?void 0:Ce.message.id)===m.id,n[H.default.interactionSending]=m.type===F.MessageTypes.APPLICATION_COMMAND&&m.state===F.MessageStates.SENDING,n)),zalgo:!me,onContextMenu:ae,onKeyDown:Ie,onClick:oe,onFocus:ve,onBlur:ye,childrenRepliedMessage:(0,U.default)(e,re,te,V,Q),childrenExecutedCommand:(0,k.default)(e,re,te),childrenHeader:(0,w.default)(e,re,te,V,Q),childrenAccessories:(0,L.default)(e,Oe,ae,Ee),childrenButtons:se||pe?(0,D.default)(e,re,te):void 0,childrenSystemMessage:(0,G.default)(e),childrenMessageContent:be,onMouseMove:le,onMouseLeave:ue,"aria-label":Te,hasThread:Ne&&m.hasFlag(F.MessageFlags.HAS_THREAD)&&null!=Ae,isSystemMessage:(0,M.default)(m),hasReply:m.type===F.MessageTypes.REPLY}));return null!=Me?Y(h.default,{flashKey:Me,className:(0,o.default)((r={},r[H.default.backgroundFlash]=!0,r[H.default.groupStart]=!b&&m.id===x,r))},void 0,Pe):Pe}));t.default=J},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canReplyToMessage=u,t.useCanReplyToMessage=function(e,t){return(0,a.useStateFromStores)([i.default],(function(){return u(e,t,i.default)}))};var r=n(92),a=n(3),o=l(n(685)),i=l(n(40));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n){return(e.isPrivate()?!e.isSystemDM():n.can(r.Permissions.SEND_MESSAGES,e)&&n.can(r.Permissions.READ_MESSAGE_HISTORY,e))&&!(0,o.default)(t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=T(n(3)),a=T(n(2)),o=I(n(1301)),i=n(180),l=I(n(706)),u=T(n(11)),s=T(n(10)),d=T(n(56)),f=T(n(15)),c=T(n(51)),p=T(n(201)),v=T(n(8359)),y=T(n(70)),m=T(n(36)),_=T(n(181)),h=T(n(39)),E=T(n(12)),g=n(1),S=T(n(6));function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function T(e){return e&&e.__esModule?e:{default:e}}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b=[],M=null,N=null,A=null;function P(){if(!o.supported)return!1;var e=h.default.locale;N||(N=window.speechSynthesis&&window.speechSynthesis.getVoices());var t=N.filter((function(t){return t.lang===e||t.lang.slice(0,e.length)===e}));M=t.length>0?t[0]:null}function R(e,t,n,r){var a=f.default.getGuild(n),o=e.replace(g.MARKDOWN_SPOILER_REGEXP_GLOBAL,S.default.Messages.SPOILER).replace(/<@!?(\d+)>/g,(function(e,t){var r=E.default.getUser(t);return null==r?e:d.default.getNick(n,r.id)||r.username})).replace(/<@&?(\d+)>/g,(function(e,t){var n=null!=a?a.roles[t]:null;return null!=n&&null!=n.name?n.name:S.default.Messages.MESSAGE_TTS_DELETED_ROLE})).replace(/<#(\d+)>/g,(function(e,t){var n=s.default.getChannel(t);return null==n?e:(0,i.computeChannelName)(n,E.default,y.default)})).replace(/<a?:(\w+):(\d+)>/g,(function(e,t){return S.default.Messages.EMOJI+" "+t})).replace(/<\/([^\s]+?):(\d+)>/g,(function(e,t){return"/"+t}));return null==r?S.default.Messages.MESSAGE_TTS.format({username:t,body:o}):S.default.Messages.MESSAGE_TTS_REPLY.format({username:t,body:o,replyUsername:r})}function L(){a.default.dispatch({type:g.ActionTypes.STOP_SPEAKING_MESSAGE})}function D(){return null!==A&&A.utterance.removeEventListener("end",L),o.cancelAll(),A=null,!0}var w=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,C(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(u.default,m.default,v.default,c.default,E.default,h.default,f.default,l.default)},a.isSpeakingMessage=function(e,t){return null!==A&&A.channelId===e&&A.messageId===t},r}(r.default.Store))(a.default,__OVERLAY__?{}:{SPEAK_MESSAGE:function(e){var t,n,r=e.messageId,a=e.channelId,i=s.default.getChannel(a);if(null==i)return!1;var u=p.default.getMessage(a,r);if(null==u)return!1;var f=u.type===g.MessageTypes.REPLY?l.default.getMessageByReference(u.messageReference):null,c=(null==f?void 0:f.state)===l.ReferencedMessageState.LOADED?null==f||null===(t=f.message)||void 0===t?void 0:t.author:null,v=c?null!==(n=d.default.getNick(i.guild_id,null==c?void 0:c.id))&&void 0!==n?n:c.username:null,y=i.getGuildId(),m=d.default.getNick(y,u.author.id)||u.author.username,_=R(u.content,m,y,v);M||P(),null!==A&&D();var h=o.createUtterance(_);return h.addEventListener("end",L),o.speakUtterance(h,M),A={utterance:h,messageId:u.id,channelId:i.id},!0},STOP_SPEAKING_MESSAGE:function(e){return D()},MESSAGE_CREATE:function(e){var t=e.channelId,n=e.message;if(e.optimistic||c.default.isSelfDeaf())return!1;var r=s.default.getChannel(t);if(null==r)return!1;var a=t===m.default.getChannelId(),i=h.default.enableTTSCommand&&n.tts&&a,l=v.default.getTTSType(),f=n.author.id!==u.default.getId()&&(l===g.TTSNotificationTypes.ALL_CHANNELS||l===g.TTSNotificationTypes.SELECTED_CHANNEL&&a);if((i||f)&&!y.default.isBlocked(n.author.id)){var p,E;if(b.indexOf(n.id)>=0)return!1;b.unshift(n.id)>10&&b.pop();var S=r.getGuildId();if(S&&_.default.getMutedChannels(S).has(t))return!1;var O=d.default.getNick(S,n.author.id)||n.author.username,I=n.type===g.MessageTypes.REPLY?null===(p=n.referenced_message)||void 0===p?void 0:p.author:null,T=I?null!==(E=d.default.getNick(S,null==I?void 0:I.id))&&void 0!==E?E:I.username:null,C=R(n.content,O,S,T);M||P();var N=o.speak(C,M,g.MAX_TTS_LENGTH);null!=N&&(A={utterance:N,messageId:n.id,channelId:n.channel_id})}return!1},MESSAGE_DELETE:function(e){var t,n,r=e.id,a=e.channelId;return(r===(null===(t=A)||void 0===t?void 0:t.messageId)||a===(null===(n=A)||void 0===n?void 0:n.channelId))&&(o.cancelAll(),A=null,!0)},AUDIO_TOGGLE_SELF_DEAF:function(e){c.default.isSelfDeaf()&&o.cancelAll()},USER_SETTINGS_UPDATE:function(e){return P()},I18N_LOAD_SUCCESS:function(e){return P()}});t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(9)),i=d(n(29)),l=d(n(149)),u=d(n(248)),s=d(n(7904));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.tooltipText,n=e.children,r=e.onContextMenu,d=e.onClick,f=e.disabled,v=e.icon,y=e.iconForeground,m=e.innerClassName,_=e.tooltipClassName,h=e.onMouseEnter,E=e.onMouseLeave,g=e["aria-label"],S=e["aria-checked"],O=e.role,I=e.tooltipColor,T=e.tooltipForceOpen,C=p(v,{width:20,height:20,foreground:y});return p(l.default,{tooltipClassName:_,text:t,"aria-label":g,color:I,forceOpen:T},void 0,(function(e){var t,l=e.onClick,v=e.onMouseEnter,y=e.onMouseLeave,_=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onClick","onMouseEnter","onMouseLeave"]);return a.createElement(i.default,c({},_,{look:i.default.Looks.BLANK,size:i.default.Sizes.NONE,disabled:f,innerClassName:m,className:(0,o.default)(s.default.button,(t={},t[s.default.disabled]=f,t[s.default.enabled]=!f,t)),onClick:function(e){null!=l&&l(),null!=d&&d(e)},onMouseEnter:function(){null==v||v(),null==h||h()},onMouseLeave:function(){null==y||y(),null==E||E()},onContextMenu:r,role:O,"aria-checked":S}),null!=n?p(u.default,{width:20,height:20,mask:u.default.Masks.PANEL_BUTTON},void 0,C):C,n)}))}v.displayName="PanelButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=v(n(8)),a=v(n(5)),o=v(n(3)),i=v(n(14)),l=v(n(2)),u=v(n(31)),s=v(n(162)),d=v(n(8569)),f=v(n(89)),c=v(n(10)),p=n(1);function v(e){return e&&e.__esModule?e:{default:e}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(){return(h=Object.assign||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}).apply(this,arguments)}var E,g,S,O,I,T=p.FormStates.CLOSED,C={},b={},M=!1,N=!1,A=["name","type","topic","bitrate","userLimit","nsfw","rateLimitPerUser","defaultAutoArchiveDuration","rtcRegion","videoQualityMode","threadMetadata"];function P(e){if(null==g||g.id!==e)return!1;if(g===S){var t=c.default.getChannel(e);if(null==t)return!1;S=g=t,O=c.default.getChannel(S.parent_id)}else{var n=c.default.getChannel(e);if(null==n)return!1;g=n,null!=S&&(S=S.set("permissionOverwrites",g.permissionOverwrites),O=c.default.getChannel(S.parent_id))}return!0}function R(e){var t=c.default.getChannel(e.channelId);if(null==t)return D();T=p.FormStates.OPEN,null!=(S=g=t)&&(S=S.set("nsfw",S.isNSFW())),O=c.default.getChannel(S.parent_id),I=S.getGuildId(),C={},L({section:E||p.ChannelSettingsSections.OVERVIEW})}function L(e){E=e.section,null!=S&&E===p.ChannelSettingsSections.INSTANT_INVITES&&(M=!0,i.default.get({url:p.Endpoints.INSTANT_INVITES(S.id),oldFormErrors:!0}).then((function(e){M=!1,l.default.dispatch({type:p.ActionTypes.CHANNEL_SETTINGS_LOADED_INVITES,invites:e.body})}),(function(){return M=!1})))}function D(){N=!1,T=p.FormStates.CLOSED,E=null,S=g=null,O=null,b={}}var w=r.default.debounce((function(){if(null==S||null==g)return!1;var e=S.toJS(),t=g.toJS();A.every((function(n){return e[n]===t[n]}))&&S!==g&&(S=g,k.emitChange())}),500);function j(e){return new d.default({code:e.code,temporary:e.temporary,revoked:e.revoked,inviter:null!=e.inviter?new f.default(e.inviter):null,channel:new u.default(e.channel),guild:null!=e.guild?new s.default(e.guild):null,uses:e.uses,maxUses:e.max_uses,maxAge:e.max_age,createdAt:(0,a.default)(e.created_at)})}var k=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(c.default)},a.hasChanges=function(){return S!==g},a.isOpen=function(){return N},a.getSection=function(){return E},a.getInvites=function(){return{invites:b,loading:M}},a.showNotice=function(){return this.hasChanges()},a.getChannel=function(){return S},a.getFormState=function(){return T},a.getCategory=function(){return O},a.getProps=function(){return{submitting:T===p.FormStates.SUBMITTING,errors:C,channel:S,section:E,invites:b,selectedOverwriteId:I,hasChanges:this.hasChanges()}},r}(o.default.Store))(l.default,{CHANNEL_SETTINGS_INIT:R,CHANNEL_SETTINGS_OPEN:function(e){N=!0,R(e)},CHANNEL_SETTINGS_SUBMIT:function(e){T=p.FormStates.SUBMITTING},CHANNEL_SETTINGS_SUBMIT_SUCCESS:function(e){return g=S,void(T=p.FormStates.OPEN)},CHANNEL_SETTINGS_SUBMIT_FAILURE:function(e){T=p.FormStates.OPEN,C=e.errors||{}},CHANNEL_SETTINGS_CLOSE:function(e){return D()},CHANNEL_SETTINGS_OVERWRITE_SELECT:function(e){var t=e.overwriteId;I=t},CHANNEL_SETTINGS_UPDATE:function(e){var t=e.name,n=e.channelType,r=e.topic,a=e.bitrate,o=e.userLimit,i=e.nsfw,l=e.rateLimitPerUser,u=e.autoArchiveDuration,s=e.defaultAutoArchiveDuration,d=e.rtcRegion,f=e.videoQualityMode;if(null==S)return!1;null!=t&&(S=S.set("name",t)),null!=r&&(S=S.set("topic",r)),null!=a&&(S=S.set("bitrate",a)),null!=o&&(S=S.set("userLimit",o)),null!=i&&(S=S.set("nsfw",i)),null!=l&&(S=S.set("rateLimitPerUser",l)),null!=u&&(S=S.update("threadMetadata",{},(function(e){return e.autoArchiveDuration=u,e}))),null!=s&&(S=S.set("defaultAutoArchiveDuration",s)),null!=n&&(S=S.set("type",n)),void 0!==d&&(S=S.set("rtcRegion",d)),null!=f&&(S=S.set("videoQualityMode",f)),w()},CHANNEL_SETTINGS_SET_SECTION:L,CHANNEL_SETTINGS_LOADED_INVITES:function(e){b={},e.invites.forEach((function(e){b[e.code]=j(e)}))},CHANNEL_UPDATES:function(e){var t=e.updates;if(null==S)return!1;for(var n,r=!1,a=m(t);!(n=a()).done;){P(n.value.channel.id)&&null!=S&&(null!=I&&null==S.permissionOverwrites[I]&&(I=S.getGuildId()),r=!0)}return r},CHANNEL_DELETE:function(e){var t=e.channel.id;return null!=S&&(S.id===t&&void(T=p.FormStates.CLOSED))},INSTANT_INVITE_REVOKE_SUCCESS:function(e){delete(b=h({},b))[e.code]},INSTANT_INVITE_CREATE_SUCCESS:function(e){var t;b=h({},b,((t={})[e.invite.code]=j(e.invite),t))}}),U=k;t.default=U},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);var i={showChangeLog:function(e){a.default.dispatch({type:o.ActionTypes.CHANGE_LOG_OPEN,query:e})},hideChangeLog:function(){a.default.dispatch({type:o.ActionTypes.CHANGE_LOG_CLOSE})}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchLibrary=function(){return f.apply(this,arguments)},t.createTestModeLibraryApplications=function(e){return c.apply(this,arguments)},t.setActiveLaunchOptionId=function(e,t,n){a.default.dispatch({type:l.ActionTypes.LIBRARY_APPLICATION_ACTIVE_LAUNCH_OPTION_UPDATE,applicationId:e,branchId:t,launchOptionId:n})};var r=u(n(14)),a=u(n(2)),o=u(n(1352)),i=n(289),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){s(o,r,a,i,l,"next",e)}function l(e){s(o,r,a,i,l,"throw",e)}i(void 0)}))}}function f(){return(f=d(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,i.httpGetWithCountryCodeQuery)({url:l.Endpoints.LIBRARY,oldFormErrors:!0});case 3:t=e.sent,a.default.dispatch({type:l.ActionTypes.LIBRARY_FETCH_SUCCESS,libraryApplications:t.body}),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),a.default.dispatch({type:l.ActionTypes.LIBRARY_FETCH_FAIL,error:e.t0});case 10:case"end":return e.stop()}}),e,null,[[0,7]])})))).apply(this,arguments)}function c(){return(c=d(regeneratorRuntime.mark((function e(t){var n,i,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=(n=t.primarySkuId)){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,r.default.get({url:l.Endpoints.APPLICATION_BRANCH_LIST(t.id),oldFormErrors:!0}).then((function(e){return e.body}));case 5:i=e.sent,u=i.map((function(e){return o.default.createForTestMode({id:t.id,skuId:n,branch:e})})),a.default.dispatch({type:l.ActionTypes.LIBRARY_APPLICATIONS_TEST_MODE_ENABLED,libraryApplications:u});case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(24)),o=l(n(7414)),i=l(n(9088));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.icon,n=e.message,r=e.onClick,l=e.autoFocus;return s("button",{className:o.default.container,onClick:r,autoFocus:l},void 0,s("img",{className:o.default.icon,alt:"",src:t}),s(a.default,{className:o.default.text,size:a.default.Sizes.SIZE_16},void 0,n),s("img",{className:o.default.arrow,alt:"",src:i.default}))}d.displayName="ListSelectionItem"},function(e,t,n){e.exports=n.p+"5e8985b40ca5104dadceeccaa81c23ca.svg"},function(e,t,n){e.exports=n.p+"a01602a0c0bd856ebed967db1785d5a7.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_,t.HubEmailConnectionModalView=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(95),i=n(395),l=n(1220),u=n(35),s=p(n(9100)),d=p(n(9101)),f=p(n(6)),c=p(n(7427));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=y(d.default,{});function _(e){var t=e.transitionState,n=e.onClose;a.useEffect((function(){(0,l.hideHotspot)(i.HotspotLocations.HUB_SECOND_EMAIL_CONNECTION_UPSELL)}),[]);return y(u.ModalRoot,{className:c.default.modalRoot,transitionState:t,"aria-label":f.default.Messages.HUB_WAITLIST_MODAL_JOIN_HEADER,impressionName:o.ImpressionNames.HUB_EMAIL_SIGNUP},void 0,y(u.ModalContent,{className:c.default.modalContent},void 0,y("div",{className:c.default.container},void 0,y("div",{className:c.default.sidebarContainer},void 0,m),y("div",{className:c.default.contentContainer},void 0,y(u.ModalCloseButton,{onClick:function(){n&&n()},className:c.default.closeButton}),y(s.default,{onClose:n})))))}_.displayName="HubEmailConnectionModal";var h=y(d.default,{}),E=function(e){var t=e.invite;return y("div",{className:c.default.container},void 0,y("div",{className:c.default.sidebarContainer},void 0,h),y("div",{className:c.default.contentContainer},void 0,y(s.default,{invite:t})))};t.HubEmailConnectionModalView=E,E.displayName="HubEmailConnectionModalView"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(95),a=u(n(2)),o=u(n(482)),i=n(1274),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){s(o,r,a,i,l,"next",e)}function l(e){s(o,r,a,i,l,"throw",e)}i(void 0)}))}}var f={signup:function(e){return o.default.post({url:l.Endpoints.HUB_WAITLIST_SIGNUP,body:{email:e},trackedActionData:{event:r.NetworkActionNames.HUB_WAITLIST_SIGNUP,metadata:function(e){var t,n=!1,r=null==e||null===(t=e.body)||void 0===t?void 0:t.email_domain;null!=r&&(n=-1!==r.split(".").indexOf("edu"));return(0,i.exact)({is_edu_email:n})}}})},sendVerificationEmail:function(e){return d(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o.default.post({url:l.Endpoints.HUB_EMAIL_VERIFY_SEND,body:{email:e},trackedActionData:{event:r.NetworkActionNames.HUB_EMAIL_VERIFY_SEND,metadata:function(e){var t,n=null==e||null===(t=e.body)||void 0===t?void 0:t.has_matching_guild;return(0,i.exact)({has_matching_guild:n})}}});case 2:return n=t.sent,t.abrupt("return",n.body);case 4:case"end":return t.stop()}}),t)})))()},verify:function(e){return d(regeneratorRuntime.mark((function t(){var n,i,u;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null==e){t.next=12;break}return t.prev=1,t.next=4,o.default.post({url:l.Endpoints.HUB_EMAIL_VERIFY,body:{token:e},trackedActionData:{event:r.NetworkActionNames.HUB_EMAIL_VERIFY}});case 4:i=t.sent,u=null===(n=i.body.guild)||void 0===n?void 0:n.id,a.default.dispatch({type:l.ActionTypes.HUB_VERIFY_EMAIL_SUCCESS,guildId:u}),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(1),a.default.dispatch({type:l.ActionTypes.HUB_VERIFY_EMAIL_FAILURE,errors:t.t0.body});case 12:case"end":return t.stop()}}),t,null,[[1,9]])})))()}};t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=i(n(9)),o=i(n(7429));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e){var t=e.className,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["className"]);return r.createElement("div",u({className:(0,a.default)(o.default.gifTag,t)},n))}s.displayName="GIFTag"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("polygon",{className:f,fill:d,points:"0 0 0 14 11 7",transform:"translate(7 5)"}))}d.displayName="Play"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fill:d,className:f,d:"M19.73 9L21 10.27l-2.23 2.23L21 14.73 19.73 16l-2.23-2.23L15.27 16 14 14.73l2.23-2.23L14 10.27 15.27 9l2.23 2.23z",fillRule:"evenodd"}),s("path",{fill:d,className:f,d:"M11.38 3.08a1 1 0 0 0-1.09.22L6 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h3l4.29 4.71A1 1 0 0 0 12 20V4a1 1 0 0 0-.62-.92z"}))}d.displayName="SpeakerMuted"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=O(n(0)),o=g(n(9)),i=g(n(707)),l=g(n(9292)),u=g(n(1222)),s=g(n(61)),d=g(n(9293)),f=g(n(149)),c=g(n(8803)),p=g(n(5830)),v=O(n(279)),y=g(n(8553)),m=g(n(8468)),_=n(1),h=g(n(6)),E=g(n(7446));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function I(){return(I=Object.assign||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}).apply(this,arguments)}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={hovered:!1},t.handleMouseEnter=function(){t.setState({hovered:!0})},t.handleMouseLeave=function(){t.setState({hovered:!1})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,C(t,n);var g=r.prototype;return g.renderActivity=function(){var e=this.props,t=e.activities,n=e.applicationStream,r=e.user,a=e.channel,o=this.state.hovered,i=null!=t?t.find((function(e){return e.type===_.ActivityTypes.CUSTOM_STATUS})):null,u=null!=i&&null!=r&&(0,l.default)(i,r,a);return T(m.default,{className:E.default.activity,textClassName:E.default.activityText,emojiClassName:E.default.activityEmoji,activities:t,applicationStream:n,animate:o,hideEmoji:!u,hideTooltip:!0})},g.renderOwner=function(){var e=this.props,t=e.ownerTooltipText,n=e.lostPermissionTooltipText,r=e.isOwner;return null!=r&&r?null!=n?null:T(f.default,{text:t},void 0,(function(e){return a.createElement(c.default,I({},e,{className:E.default.ownerIcon}))})):null},g.renderPremium=function(){var e=this.props,t=e.premiumSince,n=e.onClickPremiumGuildIcon;return null==t?null:T(f.default,{text:h.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_TOOLTIP.format({date:t})},void 0,(function(e){return T(s.default,{onClick:n,tabIndex:-1},void 0,a.createElement(p.default,I({},e,{className:E.default.premiumIcon})))}))},g.renderBot=function(){var e=this.props.user;return null!=e&&e.bot?T(u.default,{className:E.default.botTag,verified:e.isVerifiedBot()}):null},g.renderDecorators=function(){return a.createElement(a.Fragment,null,this.renderBot(),this.renderOwner(),this.renderPremium())},g.renderAvatar=function(e,t){var n=this.props,r=n.status,a=n.isMobile,o=n.shouldAnimateStatus,l=n.isTyping,u=n.activities,s=n.guildId,d=o?v.AnimatedAvatar:v.default,f=(0,i.default)(u)?_.StatusTypes.STREAMING:r;return f=t?void 0:f,T(d,{size:v.Sizes.SIZE_32,src:e.getAvatarURL(s)||"",isMobile:a,isTyping:l,status:f,"aria-label":e.username,statusTooltip:!0})},g.render=function(){var e,t=this.props,n=t.colorString,r=t.nick,i=t.user,l=t.status,u=t.onMouseDown,s=t.onKeyDown,c=t.onClick,p=t.onContextMenu,m=t.onFocus,h=t.selected,g=t.tabIndex,S=t.itemProps,O=t.lostPermissionTooltipText,C=l===_.StatusTypes.OFFLINE;return null!=i?a.createElement(y.default,I({selected:h,className:(0,o.default)(E.default.member,(e={},e[E.default.offline]=C&&!h,e)),onClick:c,onKeyDown:s,onMouseDown:u,onContextMenu:p,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,name:null==O?T("span",{className:E.default.roleColor,style:{color:null!=n?n:void 0}},void 0,r||i.username):T(f.default,{text:O},void 0,(function(e){return a.createElement("span",I({},e,{className:(0,o.default)(E.default.roleColor,E.default.lostPermission),style:{color:null!=n?n:void 0}}),r||i.username)})),avatar:this.renderAvatar(i,C),subText:this.renderActivity(),decorators:this.renderDecorators(),"aria-controls":this.props["aria-controls"],"aria-expanded":this.props["aria-expanded"],"aria-setsize":this.props["aria-setsize"],"aria-posinset":this.props["aria-posinset"],id:this.props.id,tabIndex:g,onFocus:m,focusProps:{offset:{top:4,bottom:4,left:4,right:4}}},S)):T(d.default,{avatarSize:v.Sizes.SIZE_32,className:E.default.placeholder})},r}(a.PureComponent);b.displayName="MemberListItem",b.defaultProps={selected:!1,shouldAnimateStatus:!1,isTyping:!1,ownerTooltipText:h.default.Messages.GUILD_OWNER};var M=b;t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MenuSeparator=function(){return null},t.MenuGroup=function(e){return null},t.MenuItem=function(e){return null},t.MenuCheckboxItem=function(e){return null},t.MenuRadioItem=function(e){return null},t.MenuControlItem=function(e){return null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){switch(t){case a.SpotifyActionTypes.USER_ACTIVITY_PLAY:return e.isCurrentUser?o.default.Messages.USER_ACTIVITY_CANNOT_PLAY_SELF:e.playingSameTrack?o.default.Messages.USER_ACTIVITY_ALREADY_PLAYING:e.notPlayable?o.default.Messages.USER_ACTIVITY_NOT_DETECTED.format({name:a.SPOTIFY_PLATFORM_NAME}):void 0;case a.SpotifyActionTypes.USER_ACTIVITY_SYNC:return e.isCurrentUser?o.default.Messages.USER_ACTIVITY_CANNOT_SYNC_SELF:e.syncingWithUser||e.syncingWithParty?o.default.Messages.USER_ACTIVITY_ALREADY_SYNCING:o.default.Messages.USER_ACTIVITY_LISTEN_ALONG_DESCRIPTION.format({name:n||e.user.toString()});case a.SpotifyActionTypes.EMBED_SYNC:return e.isCurrentUser?o.default.Messages.USER_ACTIVITY_CANNOT_SYNC_SELF:e.syncingWithUser||e.syncingWithParty?o.default.Messages.USER_ACTIVITY_ALREADY_SYNCING:e.notPlayable?o.default.Messages.USER_ACTIVITY_NOT_DETECTED.format({name:a.SPOTIFY_PLATFORM_NAME}):void 0;default:return}};var r,a=n(293),o=(r=n(6))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){var o,i,l,u=e.hasConnectedAccount(),s=(0,r.isSpotifyPlayable)(e),d=e.getTrack(),f=e.getSyncingWith(),c=e.getActivity(),p=null!==(o=null!==(i=null==d?void 0:d.id)&&void 0!==i?i:null==c?void 0:c.sync_id)&&void 0!==o?o:e.getLastPlayedTrackId();return{user:n,activity:a,hasSpotifyAccount:u,canPlaySpotify:s,notPlayable:u&&!s,syncingWithParty:null!=(null==c?void 0:c.party)&&(null==a||null===(l=a.party)||void 0===l?void 0:l.id)===c.party.id,syncingWithUser:null!=(null==f?void 0:f.userId)&&(null==f?void 0:f.userId)===n.id,isCurrentUser:n.id===t.getId(),currentUserTrackId:p,playingSameTrack:null!=p&&p===(null==a?void 0:a.sync_id)}};var r=n(8498)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return y.apply(this,arguments)};var r=c(n(0)),a=c(n(8428)),o=n(41),i=n(8498),l=d(n(8818)),u=d(n(9294)),s=d(n(8819));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function v(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){p(o,r,a,i,l,"next",e)}function l(e){p(o,r,a,i,l,"throw",e)}i(void 0)}))}}function y(){return(y=v(regeneratorRuntime.mark((function e(t,n,d){var f,c,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(f=t.hasSpotifyAccount,c=t.activity,p=t.user,(0,s.default)(f)&&null!=c&&null!=c.sync_id){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,(0,i.ensureSpotifyPlayable)();case 5:return e.next=7,(0,i.ensureSpotifyPremium)().catch((function(e){return(0,o.openModal)((function(e){return r.createElement(u.default,e)})),Promise.reject(e)}));case 7:a.sync(c,p.id),(0,l.default)(n,p,c,d);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return f.apply(this,arguments)};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(8428)),a=n(8498),o=l(n(8818)),i=l(n(8819));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){s(o,r,a,i,l,"next",e)}function l(e){s(o,r,a,i,l,"throw",e)}i(void 0)}))}}function f(){return(f=d(regeneratorRuntime.mark((function e(t,n,l){var u,s,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u=t.hasSpotifyAccount,s=t.activity,d=t.user,(0,i.default)(u)&&null!=s&&null!=s.sync_id){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,(0,a.ensureSpotifyPlayable)();case 5:r.play(s,d.id),(0,o.default)(n,d,s,l);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MemberListRowTypes=void 0;var r=S(n(133)),a=S(n(8)),o=S(n(743)),i=S(n(63)),l=S(n(3)),u=S(n(2)),s=S(n(78)),d=S(n(163)),f=S(n(11)),c=S(n(10)),p=S(n(684)),v=S(n(56)),y=S(n(15)),m=S(n(256)),_=S(n(479)),h=S(n(12)),E=n(1),g=S(n(6));function S(e){return e&&e.__esModule?e:{default:e}}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(){return(I=Object.assign||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}).apply(this,arguments)}var T=(0,r.default)({GROUP:null,MEMBER:null});function C(e,t,n,r){switch(t){case E.StatusTypes.ONLINE:case E.StatusTypes.OFFLINE:case E.StatusTypes.UNKNOWN:return{type:T.GROUP,key:t,id:t,get title(){switch(t){case E.StatusTypes.ONLINE:return g.default.Messages.STATUS_ONLINE;case E.StatusTypes.OFFLINE:return g.default.Messages.STATUS_OFFLINE;default:return g.default.Messages.STATUS_UNKNOWN}},count:n,index:r};default:var a=y.default.getGuild(e),o=null!=a?a.getRole(t):null;return{type:T.GROUP,key:t,id:t,title:null!=o?o.name:"",count:n,index:r}}}function b(e,t,n){var r=n===f.default.getId(),a=m.default.isMobileOnline(n),o=r?_.default.getStatus():m.default.getStatus(n,e),i=r?_.default.getActivities():m.default.getActivities(n,e),l=d.default.getStreamForUser(n),u=h.default.getUser(n);return null==u?null:I({type:T.MEMBER},v.default.getMember(e,n),{user:u,status:o,activities:i,applicationStream:l,isOwner:t===n,isMobileOnline:a})}function M(e){var t=c.default.getChannel(e);return null==t?"everyone":null==t.memberListId?function(e){if(s.default.canEveryone(E.Permissions.VIEW_CHANNEL,e))return"everyone";return o.default.v3((0,a.default)(e.permissionOverwrites).reduce((function(e,t){var n=t.id,r=t.allow,a=t.deny;return i.default.has(r,E.Permissions.VIEW_CHANNEL)?e.push("allow:"+n):i.default.has(a,E.Permissions.VIEW_CHANNEL)&&e.push("deny:"+n),e}),[]).sort().join(",")).toString()}(t):t.memberListId}t.MemberListRowTypes=T;var N=function(){function e(e,t){this.rows=[],this.groups=[],this.members={},this.version=0,this.guildId=e,this.listId=t,this.updateOwnerId()}var t=e.prototype;return t.updateOwnerId=function(){var e=y.default.getGuild(this.guildId);if(null==e)return!1;var t=a.default.some(e.roles,(function(e){return e.hoist&&i.default.has(e.permissions,E.Permissions.ADMINISTRATOR)}))?null:e.ownerId;return this.ownerId!==t&&(this.ownerId=t,!0)},t.setGroups=function(e){var t=this,n=0;this.groups=e.map((function(e){var r=n;return n+=e.count+1,C(t.guildId,e.id,e.count,r)})),this.rows.length=n},t.sync=function(e,t){var n=this,r=e[0];t.forEach((function(e,t){return n.update(r+t,e)}))},t.invalidate=function(e){for(var t=e[0],n=e[1],r=t;r<=n;r++){var a=this.rows[r];if(null==a)break;delete this.rows[r],a.type===T.MEMBER&&delete this.members[a.user.id]}this.version++},t.insert=function(e,t){var n=t.group,r=t.member;if(null!=n)this.rows.splice(e,0,C(this.guildId,n.id,n.count));else if(null!=r){var a=b(this.guildId,this.ownerId,r.user.id);if(null==a)return;this.rows.splice(e,0,a),this.members[r.user.id]=a}this.version++},t.update=function(e,t){var n=t.group,r=t.member,a=this.rows[e];if(null!=a&&a.type===T.MEMBER&&delete this.members[a.user.id],null!=n)this.rows[e]=C(this.guildId,n.id,n.count);else if(null!=r){var o=b(this.guildId,this.ownerId,r.user.id);if(null==o)return;this.rows[e]=o,this.members[r.user.id]=o}this.version++},t.delete=function(e){var t=this.rows[e];null!=t&&(t.type===T.MEMBER&&delete this.members[t.user.id],this.rows.splice(e,1),this.version++)},t.rebuildMember=function(e){var t=this.members[e];null!=t&&(Object.assign(t,b(this.guildId,this.ownerId,e)),this.version++)},t.rebuildMembers=function(){var e=this;a.default.forEach(this.members,(function(t,n){e.rebuildMember(n)}))},e}(),A=new(function(){function e(){this._guildLists={}}var t=e.prototype;return t.get=function(e,t){var n=this._guildLists[e];null==n&&(n=this._guildLists[e]={});var r=n[t];return null==r&&((r=new N(e,t)).setGroups([{id:E.StatusTypes.UNKNOWN,count:p.default.getMemberCount(e)||0}]),n[t]=r),r},t.forEach=function(e,t){if(null==e)a.default.forEach(this._guildLists,(function(e){a.default.forEach(e,t)}));else{var n=this._guildLists[e];null!=n&&a.default.forEach(n,t)}},t.delete=function(e){delete this._guildLists[e]},t.reset=function(){this._guildLists={}},e}());function P(){A.reset()}var R=[];function L(){var e=d.default.getAllApplicationStreams(),t=R.concat(e);R=e,t.forEach((function(e){A.forEach(null,(function(t){return t.rebuildMember(e.ownerId)}))}))}function D(){var e=f.default.getId();A.forEach(null,(function(t){return t.rebuildMember(e)}))}var w=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,O(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(h.default,y.default,c.default,v.default,m.default,_.default,f.default,p.default,d.default),this.syncWith([_.default],D),this.syncWith([d.default],L)},a.getProps=function(e,t){var n=A.get(e,M(t));return{listId:n.guildId+":"+n.listId,groups:n.groups,rows:n.rows,version:n.version}},r}(l.default.Store))(u.default,{CONNECTION_OPEN:function(e){return P()},OVERLAY_INITIALIZE:function(e){return P()},GUILD_MEMBER_LIST_UPDATE:function(e){var t=A.get(e.guildId,e.id);e.ops.forEach((function(e){switch(e.op){case"SYNC":t.sync(e.range,e.items);break;case"INVALIDATE":t.invalidate(e.range);break;case"INSERT":t.insert(e.index,e.item);break;case"UPDATE":t.update(e.index,e.item);break;case"DELETE":t.delete(e.index)}})),t.setGroups(e.groups)},GUILD_UPDATE:function(e){var t=e.guild;A.forEach(t.id,(function(e){e.updateOwnerId()&&e.rebuildMembers()}))},GUILD_DELETE:function(e){var t=e.guild;A.delete(t.id)},GUILD_ROLE_UPDATE:function(e){var t=e.guildId;A.forEach(t,(function(e){return e.rebuildMembers()}))},GUILD_MEMBER_UPDATE:function(e){var t=e.guildId,n=e.user;A.forEach(t,(function(e){return e.rebuildMember(n.id)}))},CHANNEL_UPDATES:function(e){return!0}});t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(9)),o=n(8468),i=l(n(7469));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t,n=e.activity,r=e.className,l=e.emojiClassName,u=e.textClassName,d=e.placeholderText,f=e.soloEmojiClassName,c=e.animate,p=void 0===c||c,v=e.hideTooltip,y=void 0!==v&&v,m=e.hideEmoji,_=void 0!==m&&m,h=e.children;if(null==n)return null;var E=n.emoji,g=n.state||d;return s("div",{className:(0,a.default)(i.default.container,r)},void 0,_||null==E?null:s(o.ActivityEmoji,{emoji:E,className:(0,a.default)(i.default.emoji,l,null!=f?(t={},t[f]=!g,t):null),animate:p,hideTooltip:y}),null!=g&&g.length>0?s("span",{className:u},void 0,g):null,h)}d.displayName="CustomStatus"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=l(n(8360)),i=l(n(7481));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=function(e){return e.toFixed(0)+"%"},f=a.forwardRef((function(e,t){var n=e.value,r=e.minValue,l=void 0===r?0:r,u=e.maxValue,f=void 0===u?100:u,c=e.onChange,p=e.renderValue,v=void 0===p?d:p,y=e["aria-label"],m=a.useRef(null);return a.useImperativeHandle(t,(function(){return{focus:function(){var e;return null===(e=m.current)||void 0===e?void 0:e.focus()},blur:function(){var e;return null===(e=m.current)||void 0===e?void 0:e.blur()},activate:function(){return!1}}}),[]),s("div",{className:i.default.sliderContainer},void 0,a.createElement(o.default,{ref:m,mini:!0,handleSize:16,className:i.default.slider,initialValue:n,minValue:l,maxValue:f,onValueChange:c,asValueChanges:c,onValueRender:v,orientation:"horizontal","aria-label":y}))}));t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=v(n(2)),o=n(8839),i=v(n(216)),l=v(n(12)),u=v(n(5959)),s=n(41),d=n(5688),f=n(5697),c=v(n(9375)),p=n(1);function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var h=new(function(e){var t,n;function i(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this)._premiumPaymentModalCloseResolve=null,t._premiumPaymentModalCloseReject=null,t._premiumSwitchPlanModalCloseResolve=null,t._premiumSwitchPlanModalCloseReject=null,t._maybeFetchPremiumTrialOffer=function(){var e;!(null===(e=l.default.getNullableCurrentUser())||void 0===e?void 0:e.hasPremiumPerks)&&u.default.shouldFetchOffer(p.PREMIUM_TIER_2_LIKELIHOOD_TRIAL_ID)&&(0,o.fetchUserTrialOffer)(p.PREMIUM_TIER_2_LIKELIHOOD_TRIAL_ID)},t._handlePremiumPaymentModalOpen=function(e){(0,f.openPremiumSubscriptionNewPlanModal)(m({},e,{onClose:function(e){a.default.dispatch({type:p.ActionTypes.PREMIUM_PAYMENT_MODAL_CLOSE,didSucceed:e})}}))},t._handlePremiumPaymentModalClose=function(e){e.didSucceed&&null!=t._premiumPaymentModalCloseResolve?t._premiumPaymentModalCloseResolve():null!=t._premiumPaymentModalCloseReject&&t._premiumPaymentModalCloseReject(),t._premiumPaymentModalCloseResolve=null,t._premiumPaymentModalCloseReject=null},t._handlePremiumSwitchPlanModalOpen=function(e){(0,d.openPremiumSelectPlanModal)(m({},e,{onClose:function(e){a.default.dispatch({type:p.ActionTypes.PREMIUM_SWITCH_PLAN_MODAL_CLOSE,didSucceed:e})}}))},t._handlePremiumSwitchPlanModalClose=function(e){e.didSucceed&&null!=t._premiumSwitchPlanModalCloseResolve?t._premiumSwitchPlanModalCloseResolve():null!=t._premiumSwitchPlanModalCloseReject&&t._premiumSwitchPlanModalCloseReject(),t._premiumSwitchPlanModalCloseResolve=null,t._premiumSwitchPlanModalCloseReject=null},t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n);var v=i.prototype;return v._initialize=function(){__OVERLAY__?(a.default.subscribe(p.ActionTypes.PREMIUM_PAYMENT_MODAL_OPEN,this._handlePremiumPaymentModalOpen),a.default.subscribe(p.ActionTypes.PREMIUM_SWITCH_PLAN_MODAL_OPEN,this._handlePremiumSwitchPlanModalOpen)):(a.default.subscribe(p.ActionTypes.PREMIUM_PAYMENT_MODAL_CLOSE,this._handlePremiumPaymentModalClose),a.default.subscribe(p.ActionTypes.PREMIUM_SWITCH_PLAN_MODAL_CLOSE,this._handlePremiumSwitchPlanModalClose),a.default.subscribe(p.ActionTypes.MESSAGE_LENGTH_UPSELL,this.handleMessageLengthUpsell),this._maybeFetchPremiumTrialOffer())},v._terminate=function(){__OVERLAY__?(a.default.unsubscribe(p.ActionTypes.PREMIUM_PAYMENT_MODAL_OPEN,this._handlePremiumPaymentModalOpen),a.default.unsubscribe(p.ActionTypes.PREMIUM_SWITCH_PLAN_MODAL_OPEN,this._handlePremiumSwitchPlanModalOpen)):(a.default.unsubscribe(p.ActionTypes.PREMIUM_PAYMENT_MODAL_CLOSE,this._handlePremiumPaymentModalClose),a.default.unsubscribe(p.ActionTypes.PREMIUM_SWITCH_PLAN_MODAL_CLOSE,this._handlePremiumSwitchPlanModalClose),a.default.unsubscribe(p.ActionTypes.MESSAGE_LENGTH_UPSELL,this.handleMessageLengthUpsell))},v.handleMessageLengthUpsell=function(e){var t=e.channel,n=e.content;(0,s.openModal)((function(e){return r.createElement(c.default,m({channel:t,content:n},e))}))},v.openPremiumPaymentModalInApp=function(e){if(__OVERLAY__)throw new Error("Should not use this function from the overlay, use ModalAPI.openModal instead");return new Promise((function(t,n){(0,f.openPremiumSubscriptionNewPlanModal)(m({},e,{onClose:function(e){e?t():n()}}))}))},v.openPremiumPaymentModalInOverlay=function(e){var t=this;if(__OVERLAY__)throw new Error("Should not use this function from the overlay, use ModalAPI.openModal instead");return new Promise((function(n,r){t._premiumPaymentModalCloseResolve=n,t._premiumPaymentModalCloseReject=r,a.default.dispatch(m({type:p.ActionTypes.PREMIUM_PAYMENT_MODAL_OPEN},e))}))},v.openPremiumSwitchPlanModalInApp=function(e){if(__OVERLAY__)throw new Error("Should not use this function from the overlay, use ModalAPI.openModal instead");return new Promise((function(t,n){(0,d.openPremiumSelectPlanModal)(m({},e,{onClose:function(e){e?t():n()}}))}))},v.openPremiumSwitchPlanModalInOverlay=function(e){var t=this;if(__OVERLAY__)throw new Error("Should not use this function from the overlay, use ModalAPI.openModal instead");var n=e||{},r=n.initialPlanId,o=n.followupSKUInfo;return new Promise((function(e,n){t._premiumSwitchPlanModalCloseResolve=e,t._premiumSwitchPlanModalCloseReject=n,a.default.dispatch({type:p.ActionTypes.PREMIUM_SWITCH_PLAN_MODAL_OPEN,initialPlanId:r,followupSKUInfo:o})}))},i}(i.default));t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,p,v,y,m){void 0===p&&(p=!1);void 0===v&&(v=!0);void 0===y&&(y=!1);void 0===m&&(m=!1);if(e.length<1)return;var _=t.getGuildId();if(d.anyFileTooLarge(e,_)){var h=s.default.getCurrentUser();r.default.push(l.default,{title:c.default.Messages.UPLOAD_AREA_TOO_LARGE_TITLE,help:c.default.Messages.UPLOAD_AREA_TOO_LARGE_HELP.format({maxSize:d.sizeString(d.maxFileSize(_))}),promo:!f.default.canUploadLargeFiles(h)})}else v?(a.default.pushFiles({files:e,channelId:t.id,showLargeMessageDialog:y}),u.default.isModalOpen(i.default)||r.default.push(i.default,{backdropInstant:p,draftType:n,ignoreDraft:m})):o.default.instantBatchUpload(t.id,e,n)};var r=v(n(397)),a=v(n(8736)),o=v(n(8558)),i=v(n(9114)),l=v(n(8422)),u=v(n(690)),s=v(n(12)),d=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(8289)),f=v(n(96)),c=v(n(6));function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);var i={popFirstFile:function(){a.default.dispatch({type:o.ActionTypes.UPLOAD_MODAL_POP_FILE})},pushFiles:function(e){var t=e.files,n=e.channelId,r=e.showLargeMessageDialog;a.default.dispatch({type:o.ActionTypes.UPLOAD_MODAL_PUSH_FILES,files:t,channelId:n,showLargeMessageDialog:r})},clearAll:function(){a.default.dispatch({type:o.ActionTypes.UPLOAD_MODAL_CLEAR_ALL_FILES})}};t.default=i},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24",fill:"none"}),s("path",{className:f,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M22.545 4.91992V3.91992C22.545 2.79992 21.57 1.91992 20.52 1.91992C19.47 1.91992 18.52 2.79992 18.52 3.91992V4.91992H17.76C17.6275 4.91992 17.52 5.02737 17.52 5.15992V9.67992C17.52 9.81247 17.6275 9.91992 17.76 9.91992H23.28C23.4126 9.91992 23.52 9.81247 23.52 9.67992V5.15992C23.52 5.02737 23.4126 4.91992 23.28 4.91992H22.545ZM21.52 4.91992H19.52V3.91992C19.52 3.34849 19.9867 2.91992 20.52 2.91992C21.0533 2.91992 21.52 3.34849 21.52 3.91992V4.91992Z"}),s("path",{className:f,fill:d,d:"M15.44 6.99992C15.5725 6.99992 15.68 7.10737 15.68 7.23992V8.75992C15.68 8.89247 15.5725 8.99992 15.44 8.99992H9.41045L8.35045 14.9999H10.56V16.9999H8.00001L7.36325 20.5873C7.32088 20.826 7.11337 20.9999 6.87094 20.9999H5.88657C5.57547 20.9999 5.3399 20.7189 5.39427 20.4125L6.00001 16.9999H2.59511C2.28449 16.9999 2.04905 16.7197 2.10259 16.4137L2.27759 15.4137C2.31946 15.1745 2.52722 14.9999 2.77011 14.9999H6.35001L7.41001 8.99992H4.00511C3.69449 8.99992 3.45905 8.71969 3.51259 8.41373L3.68759 7.41373C3.72946 7.17448 3.93722 6.99992 4.18011 6.99992H7.76001L8.39677 3.41254C8.43914 3.17384 8.64664 2.99992 8.88907 2.99992H9.87344C10.1845 2.99992 10.4201 3.28099 10.3657 3.58731L9.76001 6.99992H15.44Z"}),s("path",{className:f,fill:d,d:"M13.44 12.9599C12.9098 12.9599 12.48 13.3897 12.48 13.9199V20.2212C12.48 20.7514 12.9098 21.1812 13.44 21.1812H14.4C14.5326 21.1812 14.64 21.2886 14.64 21.4212V23.4597C14.64 23.6677 14.8866 23.7772 15.0409 23.6377L17.4859 21.4289C17.6623 21.2694 17.8917 21.1812 18.1294 21.1812H22.56C23.0902 21.1812 23.52 20.7514 23.52 20.2212V13.9199C23.52 13.3897 23.0902 12.9599 22.56 12.9599H13.44Z"}))}d.displayName="PrivateThreadIcon"},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toggleExpressionSuggestionsEnabled=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);t.toggleExpressionSuggestionsEnabled=function(){a.default.dispatch({type:o.ActionTypes.EXPRESSION_SUGGESTIONS_TOGGLE})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=v(n(9)),o=v(n(29)),i=n(85),l=n(475),u=n(35),s=v(n(272)),d=v(n(9125)),f=v(n(5963)),c=v(n(6)),p=v(n(7560));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e){var t=e.transitionState,n=e.onClose,r=e.guildTemplate,v=(0,d.default)(r,!1),y=v.form,_=v.preview,h=v.handleSubmit,E=(0,i.useUID)();return m("div",{},void 0,m(u.ModalRoot,{size:u.ModalSize.DYNAMIC,transitionState:t,className:(0,a.default)(p.default.modalRoot),"aria-labelledby":E},void 0,m("div",{className:p.default.modalContainer},void 0,m("div",{className:(0,a.default)(p.default.modalSection,p.default.ctaSection)},void 0,m("div",{className:p.default.ctaContainer},void 0,m(f.default,{guildTemplate:r,headerId:E}))),m("div",{className:(0,a.default)(p.default.modalSection,p.default.formSection)},void 0,m(s.default,{className:p.default.formContainer},void 0,m(l.Title,{className:p.default.header},void 0,c.default.Messages.GUILD_TEMPLATE_SETUP_DISCORD),y,_))),m(u.ModalFooter,{className:p.default.modalFooter},void 0,m(o.default,{color:o.default.Colors.GREY,onClick:n},void 0,c.default.Messages.CLOSE),m(o.default,{color:o.default.Colors.GREEN,onClick:function(){return h().then((function(e){return e&&n()}))}},void 0,c.default.Messages.CREATE))))}_.displayName="GuildTemplateModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{foreground:f,fill:d,d:"M10 5V3H5.375C4.06519 3 3 4.06519 3 5.375V18.625C3 19.936 4.06519 21 5.375 21H18.625C19.936 21 21 19.936 21 18.625V14H19V19H5V5H10Z"}),s("path",{foreground:f,fill:d,d:"M21 2.99902H14V4.99902H17.586L9.29297 13.292L10.707 14.706L19 6.41302V9.99902H21V2.99902Z"}))}d.displayName="Launch"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("path",{d:"M0 4.3258427C0 5.06741573.616438356 5.68539326 1.35616438 5.68539326 2.09589041 5.68539326 2.71232877 5.06741573 2.71232877 4.3258427 2.71232877 2.84269663 4.31506849 2.78089888 4.5 2.78089888 4.68493151 2.78089888 6.28767123 2.84269663 6.28767123 4.3258427L6.28767123 4.63483146C6.28767123 5.25280899 5.97945205 5.74719101 5.42465753 6.05617978L4.19178082 6.73595506C3.51369863 7.10674157 3.14383562 7.78651685 3.14383562 8.52808989L3.14383562 9.64044944C3.14383562 10.3820225 3.76027397 11 4.5 11 5.23972603 11 5.85616438 10.3820225 5.85616438 9.64044944L5.85616438 8.96067416 6.71917808 8.52808989C8.1369863 7.78651685 9 6.30337079 9 4.69662921L9 4.3258427C9 1.48314607 6.71917808 0 4.5 0 2.21917808 0 0 1.48314607 0 4.3258427zM4.5 12C2.5 12 2.5 15 4.5 15 6.5 15 6.5 12 4.5 12L4.5 12z"});function f(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,f=void 0===l?"currentColor":l,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{fill:f,className:c,fillRule:"evenodd",transform:"translate(7 4)"},void 0,d))}f.displayName="Help"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a,o=f(n(9)),i=f(n(61)),l=f(n(255)),u=n(1),s=f(n(6)),d=f(n(7588));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}!function(e){e.DEFAULT="",e.BOLD="Bold"}(a||(a={}));var v=function(e){var t,n,r=e.closeAction,f=e.theme,c=e.variant,v=e.keybind,y=e.className;return p("div",{className:(0,o.default)(d.default.container,y)},void 0,p(i.default,{className:(0,o.default)(d.default.closeButton,(t={},t[d.default.closeButtonBold]=c===a.BOLD,t)),onClick:r,"aria-label":s.default.Messages.CLOSE},void 0,p(l.default,{color:u.ThemeTypes.DARK===f?u.Colors.PRIMARY_DARK_200:u.Colors.PRIMARY_DARK_400,width:18,height:18,"aria-hidden":!0})),p("div",{className:(0,o.default)(d.default.keybind,(n={},n[d.default.keybindBold]=c===a.BOLD,n)),"aria-hidden":!0},void 0,v))};v.displayName="CloseIconWithKeybind",v.defaultProps={variant:a.DEFAULT},v.Variants=a;var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=g(n(473)),l=g(n(39)),u=g(n(12)),s=g(n(29)),d=g(n(372)),f=g(n(255)),c=g(n(47)),p=g(n(24)),v=g(n(96)),y=n(281),m=n(280),_=n(1),h=g(n(6)),E=g(n(7589));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var I=function(e){var t=e.children,n=e.isVertical,r=void 0!==n&&n,a=e.tierTitle,o=e.tierLogoSrc;return O("li",{className:r?E.default.tierVertical:E.default.tierHorizontal},void 0,O("img",{alt:a,className:E.default.tierLogo,src:o}),O("ul",{className:E.default.perkList},void 0,t))};I.displayName="TierPerks";var T=function(e){var t=e.children,n=e.isAvailable,r=void 0!==n&&n,a=r?d.default:f.default;return O("li",{className:r?E.default.perkAvailable:E.default.perkUnavailable},void 0,O(a,{className:E.default.perkAvailabilityIcon}),t)};T.displayName="TierPerk";var C=function(e){var t=e.onOpenPremiumClick,r=(0,o.useStateFromStores)([u.default],(function(){return u.default.getCurrentUser()})),d=v.default.isPremium(r,_.PremiumTypes.TIER_1),f=(0,o.useStateFromStores)([l.default],(function(){return l.default.locale})),g=(0,y.formatPercent)(f,m.PREMIUM_GUILD_FOR_PREMIUM_USER_DISCOUNT_PERCENT/100);return v.default.isPremium(r,_.PremiumTypes.TIER_2)?null:O("div",{className:E.default.wrapper},void 0,O(c.default,{className:d?E.default.headingTier1:E.default.heading,size:c.default.Sizes.SIZE_24},void 0,d?h.default.Messages.GUILD_SETTINGS_PREMIUM_UPSELL_HEADING_SECONDARY_PREMIUM_USER:h.default.Messages.GUILD_SETTINGS_PREMIUM_UPSELL_HEADING_SECONDARY),d?O(p.default,{className:E.default.headingSecondary},void 0,h.default.Messages.GUILD_SETTINGS_PREMIUM_UPSELL_HEADING_TERTIARY_PREMIUM_USER.format({numFreeGuildSubscriptions:m.NUM_FREE_GUILD_SUBSCRIPTIONS_WITH_PREMIUM})):null,O("ul",{className:E.default.tiersList},void 0,d?O(I,{tierTitle:h.default.Messages.PREMIUM_TIER_2,tierLogoSrc:n(9591)},void 0,O(T,{isAvailable:!0},void 0,h.default.Messages.GUILD_SETTINGS_PREMIUM_UPSELL_BODY_PERK_GUILD_SUBSCRIPTION_DISCOUNT.format({discountPercentage:g})),O(T,{isAvailable:!0},void 0,h.default.Messages.GUILD_SETTINGS_PREMIUM_UPSELL_BODY_PERK_NUM_GUILD_SUBSCRIPTIONS.format({numFreeGuildSubscriptions:m.NUM_FREE_GUILD_SUBSCRIPTIONS_WITH_PREMIUM}))):a.createElement(a.Fragment,null,O(I,{isVertical:!0,tierTitle:h.default.Messages.PREMIUM_TIER_2,tierLogoSrc:n(9592)},void 0,O(T,{isAvailable:!0},void 0,h.default.Messages.GUILD_SETTINGS_PREMIUM_UPSELL_BODY_PERK_GUILD_SUBSCRIPTION_DISCOUNT.format({discountPercentage:g})),O(T,{isAvailable:!0},void 0,h.default.Messages.GUILD_SETTINGS_PREMIUM_UPSELL_BODY_PERK_NUM_GUILD_SUBSCRIPTIONS.format({numFreeGuildSubscriptions:m.NUM_FREE_GUILD_SUBSCRIPTIONS_WITH_PREMIUM}))),O(I,{isVertical:!0,tierTitle:h.default.Messages.PREMIUM_TIER_1,tierLogoSrc:n(9593)},void 0,O(T,{isAvailable:!0},void 0,h.default.Messages.GUILD_SETTINGS_PREMIUM_UPSELL_BODY_PERK_GUILD_SUBSCRIPTION_DISCOUNT.format({discountPercentage:g})),O(T,{},void 0,h.default.Messages.GUILD_SETTINGS_PREMIUM_UPSELL_BODY_PERK_NO_FREE_GUILD_SUBSCRIPTIONS.format({numFreeGuildSubscriptions:m.NUM_FREE_GUILD_SUBSCRIPTIONS_WITH_PREMIUM}))))),O("div",{className:E.default.action},void 0,O(s.default,{color:s.default.Colors.BRAND,look:s.default.Looks.INVERTED,onClick:function(){i.default.open(_.UserSettingsSections.PREMIUM),null!=t&&t()},size:s.default.Sizes.SMALL},void 0,h.default.Messages.GUILD_SETTINGS_PREMIUM_UPSELL_LEARN_MORE)))};C.displayName="PremiumGuildSubscriptionUpsellCTA";var b=C;t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=_(n(9)),o=n(3),i=_(n(39)),l=_(n(12)),u=_(n(1147)),s=_(n(47)),d=_(n(24)),f=_(n(96)),c=n(281),p=n(280),v=n(1),y=_(n(6)),m=_(n(7590));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var g=function(e){var t=e.className,n=(0,o.useStateFromStores)([l.default],(function(){return l.default.getCurrentUser()})),r=(0,o.useStateFromStores)([i.default],(function(){return i.default.locale})),_=(0,o.useStateFromStores)([u.default],(function(){return u.default.getPremiumTypeSubscription()}));return E("div",{className:(0,a.default)(m.default.wrapper,t)},void 0,E(s.default,{className:m.default.heading,size:s.default.Sizes.SIZE_24},void 0,y.default.Messages.GUILD_SETTINGS_PREMIUM_UPSELL_HEADING_PRIMARY),E(d.default,{size:d.default.Sizes.SIZE_16},void 0,function(e,t,n){var r,a,o=f.default.isPremium(e);if(null==n||f.default.getInterval(n.planId)===v.SubscriptionIntervalTypes.MONTH){var i=f.default.getPrice(v.SubscriptionPlans.PREMIUM_MONTH_GUILD,o),l=f.default.getPrice(v.SubscriptionPlans.PREMIUM_MONTH_GUILD,!1);r=(0,c.formatRate)((0,c.formatPrice)(i.amount,i.currency),v.SubscriptionIntervalTypes.MONTH),a=(0,c.formatRate)((0,c.formatPrice)(l.amount,l.currency),v.SubscriptionIntervalTypes.MONTH)}else{var u=f.default.getPrice(v.SubscriptionPlans.PREMIUM_YEAR_GUILD,o),s=f.default.getPrice(v.SubscriptionPlans.PREMIUM_YEAR_GUILD,!1);r=(0,c.formatRate)((0,c.formatPrice)(u.amount,u.currency),v.SubscriptionIntervalTypes.YEAR),a=(0,c.formatRate)((0,c.formatPrice)(s.amount,s.currency),v.SubscriptionIntervalTypes.YEAR)}return f.default.isPremium(e,v.PremiumTypes.TIER_2)?y.default.Messages.GUILD_SETTINGS_PREMIUM_UPSELL_SUBHEADING_TIER_2.format({price:r,originalPrice:a,originalPriceHook:function(e,t){return E("span",{className:m.default.originalPrice},t,e)},freeSubscriptionCount:p.NUM_FREE_GUILD_SUBSCRIPTIONS_WITH_PREMIUM,discountPercent:(0,c.formatPercent)(t,p.PREMIUM_GUILD_FOR_PREMIUM_USER_DISCOUNT_PERCENT/100)}):f.default.isPremium(e,v.PremiumTypes.TIER_1)?y.default.Messages.GUILD_SETTINGS_PREMIUM_UPSELL_SUBHEADING_TIER_1.format({price:r,originalPrice:a,originalPriceHook:function(e,t){return E("span",{className:m.default.originalPrice},t,e)},discountPercent:(0,c.formatPercent)(t,p.PREMIUM_GUILD_FOR_PREMIUM_USER_DISCOUNT_PERCENT/100)}):y.default.Messages.GUILD_SETTINGS_PREMIUM_UPSELL_SUBHEADING.format({price:r})}(n,r,_)))};g.displayName="PremiumGuildSubscriptionUpsellHeading";var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.tier,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["tier"]);switch(t){case l.PremiumGuildTiers.TIER_1:return r.createElement(a.default,n);case l.PremiumGuildTiers.TIER_2:return r.createElement(o.default,n);case l.PremiumGuildTiers.TIER_3:return r.createElement(i.default,n);case l.PremiumGuildTiers.NONE:return null;default:throw new Error("Not a valid tier type")}};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=u(n(9602)),o=u(n(8920)),i=u(n(9603)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(){return(s=Object.assign||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}).apply(this,arguments)}var d=u("path",{d:"M95.6718 1.80634C95.6718 0.808724 94.863 0 93.8654 0C92.8678 0 92.0591 0.808724 92.0591 1.80634V3.64278C92.0591 4.64039 92.8678 5.44911 93.8654 5.44911C94.863 5.44911 95.6718 4.64039 95.6718 3.64278V1.80634Z",fill:"#ADF3FF"}),f=u("path",{d:"M95.6713 16.3574C95.6713 15.3598 94.8625 14.5511 93.8649 14.5511C92.8673 14.5511 92.0586 15.3598 92.0586 16.3574V18.1939C92.0586 19.1915 92.8673 20.0002 93.8649 20.0002C94.8625 20.0002 95.6713 19.1915 95.6713 18.1939V16.3574Z",fill:"#ADF3FF"}),c=u("path",{d:"M102.194 11.8412C103.191 11.8412 104 11.0325 104 10.0349C104 9.03724 103.191 8.22852 102.194 8.22852H100.357C99.3596 8.22852 98.5509 9.03724 98.5509 10.0349C98.5509 11.0325 99.3596 11.8412 100.357 11.8412H102.194Z",fill:"#ADF3FF"}),p=u("path",{d:"M87.6434 11.7413C88.641 11.7413 89.4497 10.9325 89.4497 9.93494C89.4497 8.93733 88.641 8.1286 87.6434 8.1286H85.8069C84.8093 8.1286 84.0006 8.93733 84.0006 9.93494C84.0006 10.9325 84.8093 11.7413 85.8069 11.7413H87.6434Z",fill:"#ADF3FF"}),v=u("path",{d:"M11.1501 74.4573L15.3147 73.0684C15.5192 72.9747 15.6925 72.8241 15.814 72.6347C15.9354 72.4454 16 72.225 16 72C16 71.775 15.9354 71.5546 15.814 71.3653C15.6925 71.1759 15.5192 71.0253 15.3147 70.9316L11.1501 69.5427C10.8657 69.4142 10.6378 69.1862 10.5094 68.9016L9.01446 64.7348C8.94423 64.521 8.80835 64.3349 8.62619 64.203C8.44403 64.071 8.22488 64 7.99999 64C7.77511 64 7.55597 64.071 7.37381 64.203C7.19165 64.3349 7.05576 64.521 6.98554 64.7348L5.49057 68.9016C5.36216 69.1862 5.13433 69.4142 4.84986 69.5427L0.685276 70.9316C0.480802 71.0253 0.307523 71.1759 0.186045 71.3653C0.0645662 71.5546 0 71.775 0 72C0 72.225 0.0645662 72.4454 0.186045 72.6347C0.307523 72.8241 0.480802 72.9747 0.685276 73.0684L4.84986 74.4573C5.0011 74.5032 5.1387 74.5858 5.25046 74.6976C5.36222 74.8094 5.44469 74.9471 5.49057 75.0984L6.98554 79.2652C7.05576 79.479 7.19165 79.6651 7.37381 79.797C7.55597 79.929 7.77511 80 7.99999 80C8.22488 80 8.44403 79.929 8.62619 79.797C8.80835 79.6651 8.94423 79.479 9.01446 79.2652L10.5094 75.0984C10.5553 74.9471 10.6378 74.8094 10.7495 74.6976C10.8613 74.5858 10.9989 74.5032 11.1501 74.4573Z",fill:"#FFD01A"});function y(e){var t=e.width,n=void 0===t?104:t,r=e.height,a=void 0===r?80:r,l=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height"]);return o.createElement("svg",s({},(0,i.default)(l),{width:n,height:a,viewBox:"0 0 104 80",fill:"none"}),d,f,c,p,v)}y.displayName="InboxEmptyStateStars"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(8)),a=d(n(14)),o=d(n(2)),i=d(n(26)),l=d(n(1212)),u=d(n(10)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){f(o,r,a,i,l,"next",e)}function l(e){f(o,r,a,i,l,"throw",e)}i(void 0)}))}}function p(){return(p=Object.assign||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}).apply(this,arguments)}var v={},y=new i.default("UserGuildSettingsManager"),m=0;function _(){v=p({},l.default.getCollapsedCategories())}function h(){__OVERLAY__||(clearTimeout(m),m=setTimeout((function(){return E()}),15e3))}function E(e,t){return g.apply(this,arguments)}function g(){return(g=c(regeneratorRuntime.mark((function e(t,n){var o,i,d,f,c,_,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(f in clearTimeout(m),o=!1,i={},null!=n&&(i[null!=t?t:s.ME]=n,o=!0),d=l.default.getCollapsedCategories(),S())null!=(c=u.default.getChannel(f))&&null!=c.guild_id&&(c.guild_id in i||(i[c.guild_id]={}),null==i[c.guild_id].channel_overrides&&(i[c.guild_id].channel_overrides={}),i[c.guild_id].channel_overrides[c.id]=p({},i[c.guild_id].channel_overrides[c.id],{collapsed:c.id in d}),o=!0);if(o){e.next=9;break}return e.abrupt("return");case 9:v=p({},d),_=r.default.map(i,(function(e,t){return{guildId:t,updates:e,attempts:0}}));case 11:if(!(_.length>0)){e.next=29;break}return h=_.shift(),e.prev=13,e.next=16,a.default.patch({url:s.Endpoints.USER_GUILD_SETTINGS(h.guildId),body:h.updates});case 16:return e.next=18,O(1e3);case 18:e.next=27;break;case 20:return e.prev=20,e.t0=e.catch(13),y.error(e.t0),h.attempts+=1,h.attempts<3&&_.push(h),e.next=27,O(5e3);case 27:e.next=11;break;case 29:case"end":return e.stop()}}),e,null,[[13,20]])})))).apply(this,arguments)}function S(){var e={},t=l.default.getCollapsedCategories();for(var n in t)t[n]!==v[n]&&(e[n]=!0);for(var r in v)t[r]!==v[r]&&(e[r]=!0);return e}function O(e){return new Promise((function(t){return setTimeout(t,e+Math.ceil(e*Math.random()))}))}function I(){v=p({},l.default.getCollapsedCategories())}var T={init:function(){o.default.subscribe(s.ActionTypes.CATEGORY_COLLAPSE,h),o.default.subscribe(s.ActionTypes.CATEGORY_EXPAND,h),o.default.subscribe(s.ActionTypes.CATEGORY_COLLAPSE_ALL,h),o.default.subscribe(s.ActionTypes.CATEGORY_EXPAND_ALL,h),o.default.subscribe(s.ActionTypes.CONNECTION_OPEN,_),o.default.subscribe(s.ActionTypes.USER_GUILD_SETTINGS_FULL_UPDATE,I)},saveUserGuildSettings:E};t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=f(n(473)),o=f(n(8936)),i=n(280),l=f(n(5953)),u=f(n(13)),s=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}var v=n(9657);function y(e){var t=e.onClose,n=e.onCloseParent,f=e.analyticsSource,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onClose","onCloseParent","analyticsSource"]);return r.createElement(l.default,p({title:d.default.Messages.STREAM_PREMIUM_UPSELL_HEADER,body:__OVERLAY__?d.default.Messages.STREAM_PREMIUM_UPSELL_BODY_NO_CTA:d.default.Messages.STREAM_PREMIUM_UPSELL_BODY.format({onPressMore:function(){(0,o.default)(),t(),null==n||n(),u.default.track(s.AnalyticEvents.PREMIUM_PROMOTION_OPENED,{location_section:s.AnalyticsSections.STREAM_UPSELL_MODAL,location_object:s.AnalyticsObjects.NAVIGATION_LINK}),a.default.open(s.UserSettingsSections.PREMIUM)}}),artURL:v,type:i.PremiumUpsellTypes.STREAM_QUALITY_UPSELL,analyticsLocation:{section:s.AnalyticsSections.STREAM_UPSELL_MODAL,object:s.AnalyticsObjects.BUTTON_CTA},analyticsSource:f,onClose:t,onSubscribeClick:o.default},c))}y.displayName="StreamUpsellModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSizeForWidth=function(e){return e<400?"small":e<1e3?"medium":"large"},t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(9)),o=s(n(29)),i=s(n(55)),l=s(n(24)),u=s(n(7942));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.onCTAClick,n=e.callToAction,r=e.header,s=e.description,d=e.size,c=e.className,p=e.artURL,v=e.noArt,y=void 0!==v&&v,m=e.selected,_=void 0!==m&&m;return f(i.default,{className:c,justify:i.default.Justify.CENTER,align:i.default.Align.CENTER,direction:i.default.Direction.VERTICAL},void 0,!y&&null!=p&&f("div",{className:(0,a.default)(u.default.art,u.default[d]),style:{backgroundImage:"url("+p+")"}}),null!=r?f(l.default,{color:l.default.Colors.CUSTOM,size:l.default.Sizes.SIZE_16,className:u.default.header},void 0,r):null,null!=s?f(l.default,{color:l.default.Colors.CUSTOM,className:u.default.description,size:l.default.Sizes.SIZE_14},void 0,s):null,_||null==n?null:f(o.default,{className:u.default.outerButton,size:o.default.Sizes.NONE,color:o.default.Colors.WHITE,look:o.default.Looks.BLANK,innerClassName:u.default.button,onClick:function(e){e.stopPropagation(),null==t||t(e)}},void 0,n))}c.displayName="EmptyState"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){i.default.supports(a.Features.VIDEO)?(0,l.openModal)((function(t){return r.createElement(u.default,c({},t,{header:s.default.Messages.CAMERA_UNAVAILABLE,body:s.default.Messages.CAMERA_NO_DEVICE,confirmText:s.default.Messages.OKAY,onConfirm:e}))})):(0,l.openModal)((function(t){return r.createElement(u.default,c({},t,{header:s.default.Messages.VIDEO_UNSUPPORTED_BROWSER_TITLE,body:s.default.Messages.VIDEO_UNSUPPORTED_BROWSER_BODY,confirmText:s.default.Messages.DOWNLOAD_APP,onConfirm:function(){null==e||e(),(0,o.showAppDownloadModal)("Video unsupported browser")}}))}))};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(34),o=n(1228),i=d(n(51)),l=n(41),u=d(n(10357)),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if((0,l.default)(),p.default.embedded)(0,c.openModal)((function(t){return r.createElement(u.default,m({},t,{guildId:e,analyticsLocation:n}))}));else{var v,y=(0,i.default)(o.ApplicationStreamPresets.PRESET_CUSTOM,o.ApplicationStreamResolutions.RESOLUTION_1080,o.ApplicationStreamFPS.FPS_30,f.default.getCurrentUser().premiumType,null===(v=s.default.getGuild(e))||void 0===v?void 0:v.premiumTier)?{width:1920,height:1080}:{width:1280,height:720};d.default.getMediaEngine().getDesktopSource(y,!0).then((function(n){(0,a.startStream)(e,t,{pid:null,sourceId:n,sourceName:null})}))}};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(364),o=n(713),i=v(n(8453)),l=v(n(8936)),u=v(n(8756)),s=v(n(15)),d=v(n(51)),f=v(n(12)),c=n(41),p=v(n(16));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(){return(m=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=ee;var r,a,o=$(n(0)),i=z(n(23)),l=n(122),u=n(3),s=z(n(132)),d=n(364),f=z(n(8257)),c=z(n(9665)),p=z(n(8942)),v=z(n(1185)),y=z(n(10)),m=z(n(71)),_=z(n(15)),h=z(n(51)),E=z(n(79)),g=z(n(36)),S=z(n(12)),O=z(n(710)),I=$(n(29)),T=z(n(55)),C=n(703),b=n(85),M=z(n(466)),N=n(35),A=n(41),P=z(n(47)),R=z(n(24)),L=z(n(13)),D=z(n(16)),w=z(n(43)),j=n(713),k=z(n(8453)),U=z(n(9666)),G=z(n(1248)),F=z(n(9667)),B=z(n(9674)),H=z(n(9675)),x=z(n(8949)),V=n(1),W=z(n(6)),Y=z(n(7348));function z(e){return e&&e.__esModule?e:{default:e}}function K(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return K=function(){return e},e}function $(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=K();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function Z(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function q(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function X(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){q(o,r,a,i,l,"next",e)}function l(e){q(o,r,a,i,l,"throw",e)}i(void 0)}))}}function J(){return(J=Object.assign||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}).apply(this,arguments)}function Q(e,t){L.default.track(V.AnalyticEvents.SCREENSHARE_FAILED,{source_id:e,screens:t.length})}function ee(e){var t,n,r=e.selectGuild,z=void 0!==r&&r,K=e.selectSource,$=void 0===K||K,q=e.guildId,ee=e.analyticsLocation,te=e.onClose,ne=e.transitionState,re=(0,u.useStateFromStores)([v.default],(function(){return v.default.getState()})),ae=re.preset,oe=re.resolution,ie=re.fps,le=(0,u.useStateFromStores)([g.default,y.default],(function(){return y.default.getChannel(g.default.getVoiceChannelId())})),ue=(0,u.useStateFromStores)([E.default,O.default],(function(){return D.default.isWindows()?(0,G.default)(E.default,O.default):null})),se=p.default.useExperiment({})[0].showExtendedSettings,de=(0,u.useStateFromStores)([S.default],(function(){return S.default.getCurrentUser().premiumType})),fe=(0,u.useStateFromStores)([_.default],(function(){var e;return null===(e=_.default.getGuild(q))||void 0===e?void 0:e.premiumTier})),ce=null!==(t=(0,U.default)(ae,de,fe))&&void 0!==t?t:[j.ApplicationStreamResolutions.RESOLUTION_720,j.ApplicationStreamFPS.FPS_30],pe=ce[0],ve=ce[1];ae!==j.ApplicationStreamPresets.PRESET_CUSTOM&&(oe=pe,ie=ve);var ye=(0,b.useUID)(),me=o.useState(function(e,t){return e?a.GUILD:t?a.SOURCE:a.CONFIRM}(z,$)),_e=me[0],he=me[1],Ee=o.useState(!1),ge=Ee[0],Se=Ee[1],Oe=o.useState(null),Ie=Oe[0],Te=Oe[1],Ce=o.useState(null),be=Ce[0],Me=Ce[1],Ne=o.useState(ae),Ae=Ne[0],Pe=Ne[1],Re=o.useState(oe),Le=Re[0],De=Re[1],we=o.useState(ie),je=we[0],ke=we[1],Ue=o.useState(null!=q?q:null),Ge=Ue[0],Fe=Ue[1],Be=null!==(n=null==le?void 0:le.id)&&void 0!==n?n:Ie;function He(){!function(){var e,t;(0,i.default)(null!=ue||null!=be,"got nothing to stream");var n=null!==(e=null==le?void 0:le.id)&&void 0!==e?e:Ie;(0,i.default)(null!=n,"Received null target channel ID");var r=y.default.getChannel(n),a=null!==(t=null==r?void 0:r.getGuildId())&&void 0!==t?t:q;null==le&&s.default.selectVoiceChannel(n);var o=Ae,l=Le,u=je;(0,k.default)(o,l,u,de,fe)||(o=j.ApplicationStreamPresets.PRESET_VIDEO,l=j.ApplicationStreamResolutions.RESOLUTION_720,u=j.ApplicationStreamFPS.FPS_30),(0,d.updateStreamSettings)({preset:o,resolution:l,frameRate:u});var f=(0,x.default)(ue,be,E.default.getRunningGames()),c=!D.default.isWindows()||null==f||null==f?null:f.pid;(0,d.startStream)(a,n,{pid:c,sourceId:null==c&&null!=be?be.id:null,sourceName:null==c&&null!=be?be.name:null})}(),te()}function xe(){var e,t=null!==(e=null==ue?void 0:ue.pid)&&void 0!==e?e:null;(0,A.openModal)((function(e){return o.createElement(c.default,J({},e,{handleStream:He,pid:t}))}))}o.useEffect((function(){var e=D.default.isWindows()?(0,G.default)(E.default,O.default):null,t=null!=(null==e?void 0:e.id)?m.default.getGame(e.id):null;L.default.track(V.AnalyticEvents.OPEN_MODAL,{type:"Go Live Modal",application_id:null==t?void 0:t.id,application_name:null==e?void 0:e.name,game_id:null==t?void 0:t.id,location_section:ee})}),[ee]);var Ve=o.useCallback((function(e,t,n){var r=(0,U.default)(e,de,fe),a=null!=r?r:[t,n],o=a[0],i=a[1];if(e!==Ae&&(t=o,n=i),!(0,k.default)(e,t,n,de,fe)){var l=(0,U.default)(j.ApplicationStreamPresets.PRESET_VIDEO,de,fe);t=l[0],n=l[1]}n!==je&&ke(n),t!==Le&&De(t),o!==t||i!==n?Pe(j.ApplicationStreamPresets.PRESET_CUSTOM):e!==Ae&&Pe(e)}),[de,fe,je,Le,Ae]);function We(){return(We=X(regeneratorRuntime.mark((function e(t){var n,r,i,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),_e!==a.SOURCE){e.next=3;break}return e.abrupt("return",he(a.CONFIRM));case 3:if(n=(0,x.default)(ue,be,E.default.getRunningGames()),r=w.default.supportsFeature(V.NativeFeatures.ELEVATED_HOOK)&&(null==n?void 0:n.elevated),!D.default.isOSX()||null==be){e.next=14;break}return e.next=8,h.default.getMediaEngine().getDesktopSources();case 8:if(i=e.sent,!((l=be.id).startsWith("screen")&&i.length>0)||i.some((function(e){return e.includes(l)}))){e.next=14;break}return Q(l,i),(0,A.openModal)((function(e){return o.createElement(M.default,J({header:W.default.Messages.SCREENSHARE_RELAUNCH,confirmText:W.default.Messages.OKAY,cancelText:W.default.Messages.CANCEL,onConfirm:function(){return w.default.relaunch()}},e),Z(R.default,{size:R.default.Sizes.SIZE_16},void 0,W.default.Messages.SCREENSHARE_RELAUNCH_BODY))})),e.abrupt("return");case 14:r?xe():He();case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Ye=o.useCallback((function(e){Me(e),null!=e&&(he(a.CONFIRM),Se(!0))}),[]),ze=o.useCallback((function(e){Fe(e),he($?a.SOURCE:a.CONFIRM)}),[$]),Ke=Z(N.ModalHeader,{className:Y.default.modalHeader,separator:!1},void 0,Z(T.default,{direction:T.default.Direction.VERTICAL,align:T.default.Align.CENTER,className:Y.default.header},void 0,Z(P.default,{size:P.default.Sizes.SIZE_24,id:ye,className:Y.default.headerText},void 0,W.default.Messages.GO_LIVE_MODAL_TITLE),Z(R.default,{className:Y.default.headerDescription,size:R.default.Sizes.SIZE_16,color:R.default.Colors.STANDARD},void 0,function(e){switch(e){case a.SOURCE:return W.default.Messages.GO_LIVE_MODAL_DESCRIPTION_SELECT_SOURCE;case a.CONFIRM:return W.default.Messages.GO_LIVE_MODAL_DESCRIPTION;case a.GUILD:default:return W.default.Messages.GO_LIVE_MODAL_DESCRIPTION_GENERIC}}(_e)))),$e=Z(C.Slides,{springConfig:J({},l.config.stiff,{clamp:!0}),activeSlide:_e,width:400},void 0,Z(C.Slide,{id:a.GUILD},void 0,Z("div",{className:Y.default.modalSize},void 0,Z(B.default,{onSelectGuild:ze}))),Z(C.Slide,{id:a.SOURCE},void 0,Z("div",{className:Y.default.modalSize},void 0,Z(H.default,{selectedSource:be,onChangeSelectedSource:Ye}))),Z(C.Slide,{id:a.CONFIRM},void 0,Z("div",{className:Y.default.modalSize},void 0,Z(F.default,{selectedChannelId:Ie,selectedPreset:Ae,selectedResolution:Le,selectedSource:be,selectedFPS:je,showExtendedSettings:se,sourceChanged:ge,selectSource:$,onChangeSelectedFPS:function(e){return Ve(Ae,Le,e)},onChangeSelectedResolution:function(e){return Ve(Ae,e,je)},onChangeSelectedPreset:function(e){return Ve(e,Le,je)},onChangeSelectedChannelId:Te,onChangeSource:function(){return he(a.SOURCE)},onChangeGuild:function(){return he(a.GUILD)},onClose:te,guildId:Ge,selectGuild:z})))),Ze=function(e,t,n,r){switch(e){case a.SOURCE:return t?a.GUILD:null;case a.CONFIRM:return r?a.SOURCE:!n&&t?a.GUILD:null;case a.GUILD:default:return null}}(_e,z,$,ge),qe=_e!==a.CONFIRM||null==be&&null==ue||null==Be,Xe=Z(N.ModalFooter,{justify:null==Ze?T.default.Justify.START:T.default.Justify.BETWEEN},void 0,Z(I.default,{type:"submit",size:I.default.Sizes.SMALL,disabled:qe,autoFocus:!0},void 0,W.default.Messages.GO_LIVE_MODAL_CTA),null==Ze?Z(I.default,{className:Y.default.cancelButton,look:I.default.Looks.LINK,size:I.default.Sizes.SMALL,color:I.ButtonColors.PRIMARY,onClick:te},void 0,W.default.Messages.CANCEL):Z(I.default,{size:I.default.Sizes.SMALL,color:I.ButtonColors.PRIMARY,onClick:function(){return he(Ze)}},void 0,W.default.Messages.BACK));return Z(f.default,{page:V.AnalyticsPages.GO_LIVE_MODAL},void 0,Z(N.ModalRoot,{"aria-labelledby":ye,transitionState:ne,size:N.ModalSize.DYNAMIC,className:Y.default.modalSize},void 0,Z(N.ModalCloseButton,{onClick:te,className:Y.default.modalCloseButton}),Z("div",{className:Y.default.art}),Z("form",{onSubmit:function(e){return We.apply(this,arguments)}},void 0,Ke,$e,Xe)))}!function(e){e[e.GUILD=0]="GUILD",e[e.SOURCE=1]="SOURCE",e[e.CONFIRM=2]="CONFIRM"}(a||(a={})),ee.displayName="GoLiveModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(3)),a=s(n(2)),o=s(n(16)),i=s(n(43)),l=s(n(8943)),u=s(n(8944));n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=!1,p=!0;var v=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var a,s,v,y=r.prototype;return y.initialize=function(){var e=this;o.default.embedded&&!__OVERLAY__&&i.default.getGPUDriverVersions().then((function(t){c=(0,u.default)(t),p=(0,l.default)(t),e.emitChange()}))},y.getState=function(){return{GPUDriversOutdated:c,canUseHardwareAcceleration:p}},a=r,(s=[{key:"GPUDriversOutdated",get:function(){return c}},{key:"canUseHardwareAcceleration",get:function(){return p}}])&&d(a.prototype,s),v&&d(a,v),r}(r.default.Store))(a.default,{OVERLAY_INITIALIZE:function(e){var t=e.streamingCapabilitiesStoreState;c=t.GPUDriversOutdated,p=t.canUseHardwareAcceleration}});t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=z,t.EmptyStateBottom=t.EmptyStateCenter=t.Header=void 0;var r,a=w(n(0)),o=L(n(9)),i=L(n(8)),l=n(680),u=w(n(3)),s=L(n(154)),d=L(n(390)),f=L(n(8375)),c=L(n(8954)),p=n(42),v=L(n(10)),y=L(n(201)),m=L(n(8955)),_=L(n(40)),h=L(n(39)),E=L(n(161)),g=L(n(29)),S=L(n(61)),O=L(n(8525)),I=L(n(151)),T=L(n(255)),C=L(n(47)),b=L(n(468)),M=L(n(13)),N=n(121),A=n(1),P=L(n(6)),R=L(n(7641));function L(e){return e&&e.__esModule?e:{default:e}}function D(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return D=function(){return e},e}function w(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=D();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function j(){return(j=Object.assign||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}).apply(this,arguments)}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function U(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function G(e){e.stopPropagation()}var F=function(e){var t=e.title,n=e.children,r=e.className;return U("div",{className:(0,o.default)(r,R.default.header)},void 0,null==t?null:U(C.default,{size:C.default.Sizes.SIZE_16},void 0,t),n)};t.Header=F,F.displayName="Header";var B=function(e){var t=e.msg,n=e.image;return U("div",{className:R.default.emptyPlaceholder},void 0,U("div",{className:R.default.image,style:{backgroundImage:"url("+n+")"}}),U("div",{className:R.default.body},void 0,t))};t.EmptyStateCenter=B,B.displayName="EmptyStateCenter";var H=function(e){var t=e.msg,n=e.image;return U("div",{className:(0,o.default)(R.default.emptyPlaceholder,R.default.bottom)},void 0,U("div",{className:R.default.body},void 0,t),U("div",{className:R.default.image,style:{backgroundImage:"url("+n+")"}}))};t.EmptyStateBottom=H,H.displayName="EmptyStateBottom";var x=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleClickJump=function(e){var n=t.props;(0,n.jumpTo)(n.message,e)},t.handleClickClose=function(e){var n=t.props,r=n.onCloseMessage,a=n.message;null!=r&&r(a,e)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,k(t,n);var a=r.prototype;return a.renderJumpButton=function(){var e,t=this.props.jumping;return U(S.default,{className:R.default.jumpButton,onClick:this.handleClickJump},void 0,U("div",{className:(0,o.default)(R.default.text,{hidden:t})},void 0,P.default.Messages.JUMP),U(I.default,{type:I.default.Type.PULSING_ELLIPSIS,className:(0,o.default)(R.default.loading,(e={},e[R.default.visible]=t,e))}))},a.renderCloseButton=function(){var e=this.props,t=e.onCloseMessage,n=e.canCloseAllMessages,r=e.canManageMessages,a=e.channel;return null==t?null:n||r||null!=a&&a.isPrivate()?U(g.default,{look:g.default.Looks.BLANK,size:g.default.Sizes.NONE,onClick:this.handleClickClose},void 0,U(T.default,{className:R.default.closeIcon})):null},a.render=function(){return U("div",{className:R.default.actionButtons},void 0,this.renderJumpButton(),this.renderCloseButton())},r}(a.PureComponent);x.displayName="ControlButtons";var V=u.default.connectStores([_.default],(function(e){var t=e.channel;return{canManageMessages:null!=t&&_.default.can(A.Permissions.MANAGE_MESSAGES,t)}}))(x),W=U(I.default,{}),Y=U(I.default,{});function z(e){var t,n=e.analyticsName,r=e.onFetch,_=e.channel,S=e.messages,I=e.hasMore,T=e.loading,C=e.loadMore,L=e.onJump,D=e.canCloseAllMessages,w=void 0!==D&&D,k=e.renderHeader,F=e.renderEmptyState,B=e.renderMessage,H=e.getProTip,x=e.scrollerClassName,z=e.className,K=e.onCloseMessage,$=e.listName,Z=a.useRef(null),q=(0,c.default)($,Z),X=(0,u.useStateFromStores)([m.default],(function(){return m.default.hasNotice()})),J=(0,u.useStateFromStores)([E.default],(function(){return E.default.windowSize()})),Q=(0,u.useStateFromStores)([y.default],(function(){var e=null!=_?y.default.getMessages(_.id):null;return null!=e&&null!=e.jumpTargetId&&(e.loadingMore&&!e.get(e.jumpTargetId))}));function ee(e,t){var r=e.id,a=e.blocked,o=e.author,i=e.channel_id;if(a)s.default.show({title:P.default.Messages.UNBLOCK_TO_JUMP_TITLE,body:P.default.Messages.UNBLOCK_TO_JUMP_BODY.format({name:o.username}),confirmText:P.default.Messages.OKAY});else if(!Q){var l=v.default.getChannel(i);l&&(d.default.trackJump(i,r,n),(0,p.transitionTo)(A.Routes.CHANNEL(l.getGuildId(),i,r))),null==L||L(t)}}a.useEffect((function(){M.default.track(A.AnalyticEvents.OPEN_POPOUT,{type:n})}),[n]),a.useEffect((function(){r(_)}),[_,r]),a.useEffect((function(){function e(){var e;null===(e=Z.current)||void 0===e||e.scrollPageUp({animate:!0})}function t(){var e;null===(e=Z.current)||void 0===e||e.scrollPageDown({animate:!0})}return N.ComponentDispatch.subscribe(A.ComponentActions.SCROLL_PAGE_DOWN,t),N.ComponentDispatch.subscribe(A.ComponentActions.SCROLL_PAGE_UP,e),function(){N.ComponentDispatch.unsubscribe(A.ComponentActions.SCROLL_PAGE_DOWN,t),N.ComponentDispatch.unsubscribe(A.ComponentActions.SCROLL_PAGE_UP,e)}}),[]);var te=null===(t=Z.current)||void 0===t?void 0:t.getScrollerState();var ne=[],re=!0;null==S?ne=[U("div",{className:(0,o.default)(R.default.emptyPlaceholder,R.default.loadingPlaceholder)},"spinner",W)]:0===S.length?ne.push(U(a.Fragment,{},"empty-state",F(h.default.theme))):(re=!1,ne=[],i.default.each(S,(function(e){var t;(t=ne).push.apply(t,function(e,t){if(null==e)return[];if(null!=B)return B(e,(function(t){return ee(e,t)}));var n=[];return null==t?[]:(n.push(U("div",{className:R.default.messageGroupWrapper},e.id,U(f.default,{className:R.default.messageGroupCozy,message:e,channel:t}),U(V,{channel:_,message:e,jumping:Q,canCloseAllMessages:w,jumpTo:ee,onCloseMessage:K}))),n)}(e,_))})));var ae=null;S&&S.length>0&&C&&(ae=T?U("div",{className:R.default.loadingMore},"loading-more-after",Y):I?U("div",{className:R.default.hasMore},void 0,U(g.default,{look:g.default.Looks.FILLED,color:g.default.Colors.GREY,size:g.default.Sizes.MAX,onClick:C},void 0,P.default.Messages.LOAD_MORE_MESSAGES)):U("div",{className:R.default.scrollingFooterWrap},void 0,F(h.default.theme)));var oe=null==H?void 0:H(),ie=re&&oe?U("div",{className:R.default.footer},void 0,U(O.default,{style:{width:"100%",paddingTop:10}},void 0,oe)):null,le={maxHeight:J.height-43-25};X&&(le.maxHeight-=40);var ue=C&&I;return U("div",{className:(0,o.default)(z,R.default.messagesPopoutWrap),style:le,onClick:G,onDoubleClick:G,"aria-label":e["aria-label"]},void 0,k(),a.createElement(b.default,{className:(0,o.default)(R.default.messagesPopout,x),onScroll:ue?function(){null!=te&&te.scrollHeight===te.scrollTop+te.offsetHeight&&I&&!T&&(null==C||C())}:void 0,ref:Z},U(l.ListNavigatorProvider,{navigator:q},void 0,U(l.ListNavigatorContainer,{},void 0,(function(e){var t=e.ref,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["ref"]);return a.createElement("div",j({ref:t},n),ne)}))),ae),ie)}z.displayName="MessagesPopout"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),a=i(n(2)),o=n(5979);n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var f={hasFetchedConsumedInboundPromotionId:!1,consumedInboundPromotionId:null,lastSeenOutboundPromotionStartDate:null,lastDismissedOutboundPromotionStartDate:null},c=!1,p=null,v=[];function y(){for(var e,t=null,n=s(v);!(e=n()).done;){var r=e.value;(null==t||new Date(r.startDate)>new Date(t))&&(t=r.startDate)}return t}var m=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var a,o,i,s=r.prototype;return s.initialize=function(e){null!=e&&(f=e)},s.getEligibleActiveOutboundPromotions=function(){return v.filter((function(e){return e.id!==f.consumedInboundPromotionId}))},s.getUnseenOutboundPromotions=function(){var e=f.lastSeenOutboundPromotionStartDate;return null==e?this.getEligibleActiveOutboundPromotions():this.getEligibleActiveOutboundPromotions().filter((function(t){var n=t.startDate;return new Date(n)>new Date(e)}))},s.shouldShowOutboundPromotionNotice=function(){var e=this.getUnseenOutboundPromotions(),t=f.lastDismissedOutboundPromotionStartDate;return e.length>0&&(null==t||e.some((function(e){var n=e.startDate;return new Date(n)>new Date(t)})))},s.getState=function(){return f},a=r,(o=[{key:"lastFetchedActivePromotions",get:function(){return p}},{key:"isFetchingActiveOutboundPromotions",get:function(){return c}},{key:"hasFetchedConsumedInboundPromotionId",get:function(){return f.hasFetchedConsumedInboundPromotionId}},{key:"consumedInboundPromotionId",get:function(){return f.consumedInboundPromotionId}}])&&l(a.prototype,o),i&&l(a,i),r}(r.default.PersistedStore);m.persistKey="PromotionsPersistedStore";var _=new m(a.default,{ACTIVE_OUTBOUND_PROMOTIONS_FETCH_SUCCESS:function(e){var t=e.activeOutboundPromotions,n=e.consumedInboundPromotionId;v=t.map((function(e){return(0,o.outboundPromotionFromServer)(e)})),p=Date.now(),c=!1,f.hasFetchedConsumedInboundPromotionId||(f.hasFetchedConsumedInboundPromotionId=!0,f.consumedInboundPromotionId=n)},ACTIVE_OUTBOUND_PROMOTIONS_FETCH:function(e){c=!0},ACTIVE_OUTBOUND_PROMOTIONS_FETCH_FAIL:function(e){return v=[],void(c=!1)},OUTBOUND_PROMOTION_NOTICE_DISMISS:function(e){return function(){if(0===v.length)return!1;var e=y();null!=e&&(f.lastDismissedOutboundPromotionStartDate=e)}()},OUTBOUND_PROMOTIONS_SEEN:function(e){return function(){if(0===v.length)return!1;var e=y();null!=e&&(f.lastDismissedOutboundPromotionStartDate=e,f.lastSeenOutboundPromotionStartDate=e)}()},LOGOUT:function(e){return f={hasFetchedConsumedInboundPromotionId:!1,consumedInboundPromotionId:null,lastSeenOutboundPromotionStartDate:null,lastDismissedOutboundPromotionStartDate:null},c=!1,p=null,void(v=[])}});t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ChangeLogTemplate=void 0;var r,a,o=_(n(743)),i=_(n(3)),l=_(n(28)),u=_(n(2)),s=n(141),d=_(n(8761)),f=_(n(382)),c=_(n(15)),p=_(n(9153)),v=_(n(39)),y=_(n(12)),m=n(1);function _(e){return e&&e.__esModule?e:{default:e}}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(){return(g=Object.assign||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}).apply(this,arguments)}r=n(9707),t.ChangeLogTemplate=a,function(e){e.SPECIAL="special",e.STANDARD="standard"}(a||(t.ChangeLogTemplate=a={}));var S,O,I,T={},C={},b={},M={},N=!1,A=!1;function P(e){return e.locale||"en-us"}if(r.replace(/\r\n/g,"\n").split("---changelog---\n").slice(1).forEach((function(e){var t=!1,n={},r=e.split("\n").filter((function(e){if("---"===e)return t=!0,!1;if(""!==e&&!t){var r=e.split(": "),a=r.shift(),o=r.join(": ");null!=a&&(n[a]=JSON.parse(o))}return t})).join("\n");if(null==n.date||null==n.revision)throw new Error("ChangeLogStore: A changelog does not contain a date or revision property");var o=g({},n,{date:n.date,revision:n.revision,locale:null!=n.locale?n.locale.toLowerCase():"en-us",body:r});if("string"!=typeof n.template&&(o.template=a.STANDARD),null!=n.experiment_names&&n.experiment_names.length>0)n.experiment_names.forEach((function(e){var t=C[e]||(C[e]={}),n=o.experiment_bucket||(o.experiment_bucket=s.ExperimentBuckets.CONTROL),r=t[String(n)]||(t[String(n)]={}),a=P(o);if(null!=r[a])throw new Error("ChangeLogStore: Locale ("+a+") already defined for "+e);r[a]=o}));else if(n.partner_guild_owner){var i=P(o);if(null!=M[i])throw new Error("ChangeLogStore: Locale ("+i+") already defined for PartnerGuildOwner changelogs");M[i]=o}else if(n.hypesquad){var l=P(o);if(null!=b[l])throw new Error("ChangeLogStore: Locale ("+l+") already defined for HypeSquad changelogs");b[l]=o}else{var u=P(o);if(null!=T[u])throw new Error("ChangeLogStore: Locale ("+u+") already defined for default changelogs");T[u]=o}})),null==T["en-us"])throw new Error("ChangeLogStore: No default changeLog");function R(e){if(!e)return null;var t=e.date,n=e.revision,r=e.experiment_names;return o.default.v3(JSON.stringify({date:t,revision:n,experiment_names:r}))}function L(e){void 0===e&&(e=!1);var t=null!=C?Object.keys(C):[],n=v.default.locale.toLowerCase(),r=y.default.getCurrentUser(),a=null;if(!e&&t.length>0){var o=d.default.getFirstEligibleUserExperiment(t);if(null!=o){var i=o[0],l=o[1];if(null==i||null==C[i])throw new Error("ChangeLogStore: This changelog experiment has not been registered");var u=String(l.bucket);null!=C[i][u]&&(a=C[i][u][n]||C[i][u]["en-us"])}}if(null==a){var s=Object.values(c.default.getGuilds());if(null!=s&&s.some((function(e){return e.hasFeature(m.GuildFeatures.PARTNERED)&&e.isOwner(r)}))){var f=M[n]||M["en-us"];if(null!=f)return f}}if(null==a&&null!=r&&(r.hasFlag(m.UserFlags.HYPESQUAD)||r.hasFlag(m.UserFlags.HYPESQUAD_ONLINE_HOUSE_1)||r.hasFlag(m.UserFlags.HYPESQUAD_ONLINE_HOUSE_2)||r.hasFlag(m.UserFlags.HYPESQUAD_ONLINE_HOUSE_3))){var p=b[n]||b["en-us"];if(null!=p)return p}return null==a&&(a=T[n]||T["en-us"]),a}function D(){if(N=!0,p.default.getWillShow())return A=!1,!0;var e=R(S=L()),t=l.default.get("lastChangeLogDate"),n=t&&new Date(t),r=S.date&&new Date(S.date);return O!==e&&y.default.getCurrentUser().isClaimed()&&(!n||!r||r>n)&&(A=null!=O,O=e,l.default.set("lastChangeLog",O),l.default.set("lastChangeLogDate",S.date),l.default.set("shouldShowChangeLog",A)),!0}S=L(!0);var w=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,E(t,n);var a,o,i,u=r.prototype;return u.initialize=function(){O=l.default.get("lastChangeLog")||O,A=l.default.get("shouldShowChangeLog")||A,this.waitFor(c.default,y.default,f.default,v.default,p.default)},u.isOpen=function(){return N&&A},u.lastSeenChangeLogMatches=function(e){return O===R(e)},a=r,(o=[{key:"changeLog",get:function(){return S}},{key:"changeLogSource",get:function(){return I}}])&&h(a.prototype,o),i&&h(a,i),r}(i.default.Store))(u.default,{CHANGE_LOG_OPEN:function(e){return t=e.query,I=t,A=!0,void l.default.set("shouldShowChangeLog",A);var t},CHANGE_LOG_CLOSE:function(e){return A=!1,void l.default.set("shouldShowChangeLog",A)},CONNECTION_OPEN:function(e){return D()},CONNECTION_CLOSED:function(e){N=!1},USER_SETTINGS_UPDATE:function(e){if(null==e.settings.locale)return!1;S=L()},EXPERIMENT_OVERRIDE_BUCKET:function(e){return D(),!0}});t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(8)),a=n(141),o=n(208),i=l(n(382));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e){for(var t,n=u(e);!(t=n()).done;){var r=t.value,a=i.default.getEligibleExperiment(r);if(null!=a)return[r,a]}return null}var f={getFirstEligibleUserExperiment:d,isInExperimentBucket:function(e,t){return i.default.getExperimentBucket(e)===t},experimentDescriptorEquals:function(e,t){if(null==e&&null==t)return!0;if(e===t)return!0;if(null==e&&null!=t)return!1;if(null!=e&&null==t)return!1;if(null!=e&&null!=t){if(e.type!==t.type)return!1;if(e.bucket!==t.bucket)return!1;if(e.revision!==t.revision)return!1;if(e.type===a.ExperimentTypes.USER&&t.type===a.ExperimentTypes.USER)return r.default.isEqual(e.context,t.context)}return!0},trackExposureToFirstEligibleUserExperiment:function(e){var t=d(e);if(null!=t){var n=t[0],r=t[1];return(0,o.trackExposureToExperiment)(n,r),r}},getExperimentBucketName:function(e){return e===a.ExperimentBuckets.CONTROL?"Control":e===a.ExperimentBuckets.NOT_ELIGIBLE?"Not Eligible":"Treatment "+e}};t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("rect",{width:"24",height:"24"});function f(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,f=void 0===l?"currentColor":l,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:c,fill:f,d:"M5.79335761,5 L18.2066424,5 C19.7805584,5 21.0868816,6.21634264 21.1990185,7.78625885 L21.8575059,17.0050826 C21.9307825,18.0309548 21.1585512,18.9219909 20.132679,18.9952675 C20.088523,18.9984215 20.0442685,19 20,19 C18.8245863,19 17.8000084,18.2000338 17.5149287,17.059715 L17,15 L7,15 L6.48507125,17.059715 C6.19999155,18.2000338 5.1754137,19 4,19 C2.97151413,19 2.13776159,18.1662475 2.13776159,17.1377616 C2.13776159,17.0934931 2.1393401,17.0492386 2.1424941,17.0050826 L2.80098151,7.78625885 C2.91311838,6.21634264 4.21944161,5 5.79335761,5 Z M14.5,10 C15.3284271,10 16,9.32842712 16,8.5 C16,7.67157288 15.3284271,7 14.5,7 C13.6715729,7 13,7.67157288 13,8.5 C13,9.32842712 13.6715729,10 14.5,10 Z M18.5,13 C19.3284271,13 20,12.3284271 20,11.5 C20,10.6715729 19.3284271,10 18.5,10 C17.6715729,10 17,10.6715729 17,11.5 C17,12.3284271 17.6715729,13 18.5,13 Z M6,9 L4,9 L4,11 L6,11 L6,13 L8,13 L8,11 L10,11 L10,9 L8,9 L8,7 L6,7 L6,9 Z"}),d))}f.displayName="Activity"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(9)),i=n(3),l=n(57),u=E(n(294)),s=E(n(8478)),d=E(n(163)),f=E(n(11)),c=E(n(51)),p=E(n(40)),v=E(n(283)),y=n(8670),m=E(n(9723)),_=n(1),h=E(n(7656));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(){return(I=Object.assign||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}).apply(this,arguments)}var T=a.memo((function(e){var t=e.mute,n=e.deaf,r=e.sessionId,o=e.user.id,l=e.channel,p=(0,i.useStateFromStores)([f.default],(function(){return f.default.getId()===o}),[o]),y=(0,i.useStateFromStoresArray)([c.default],(function(){return p?[!c.default.isSupported()||c.default.isSelfMute()||c.default.isSelfMutedTemporarily(),c.default.isSelfDeaf(),!1]:[!c.default.isSupported()||c.default.isLocalMute(o),!1,c.default.isLocalVideoDisabled(o)]}),[p,o]),h=y[0],E=y[1],g=y[2],S=(0,i.useStateFromStoresArray)([v.default],(function(){return[v.default.isPrioritySpeaker(o),v.default.isSpeaking(o)||v.default.isSoundSharing(o)]}),[o]),O=S[0],T=S[1],C=(0,i.useStateFromStores)([u.default],(function(){return p?u.default.getSelfEmbeddedActivityForChannel(l.id):u.default.getEmbeddedActivitiesForUser(o,r)[0]}),[p,r,o,l.id]),b=(0,s.default)(null!=C?[C.applicationId]:[]),M=(0,i.useStateFromStoresArray)([d.default],(function(){return[d.default.getStreamForUser(o),d.default.getActiveStreamForUser(o)]}),[o]),N=M[0],A=M[1];return a.createElement(m.default,I({},e,{localMute:h&&!p,localVideoDisabled:g,mute:t||h,deaf:n||E,speaking:(p||!t&&!h)&&T,priority:O,embeddedActivityType:null==C?void 0:C.type,embeddedApplication:b[0],isStreaming:null!=N&&N.channelId===l.id,isWatching:null!=A&&A.state!==_.ApplicationStreamStates.ENDED}))}));T.displayName="ConnectedVoiceUser";var C=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).showPreview=new l.DelayedCall(50,(function(){t.setState({previewUserId:t.previewUserIdAfterDelay}),t.previewUserIdAfterDelay=null})),t.hidePreview=new l.DelayedCall(175,(function(){t.setState({previewUserId:null})})),t.previewUserIdAfterDelay=null,t.state={previewUserId:null,previewIsOpen:!1},t.handleShowPreview=function(e){t.props.allowPreviews&&(t.setState({previewIsOpen:!0}),t.hidePreview.cancel(),t.previewUserIdAfterDelay=e,t.showPreview.delay())},t.handleHidePreview=function(e){if(t.props.allowPreviews){var n=t.state.previewUserId;t.showPreview.cancel(),n===e&&(t.setState({previewIsOpen:!1}),t.hidePreview.delay())}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,O(t,n);var a=r.prototype;return a.renderVoiceUsers=function(){var e=this,t=this.props,n=t.channel,r=t.allowDragging,a=t.voiceStates,o=t.collapsed,i=t.tabIndex,l=this.state,u=l.previewUserId,s=l.previewIsOpen;return null==a||0===a.length?null:a.map((function(t){var a,l=t.user,d=t.nick,c=t.voiceState;return S(T,{user:l,nick:d,isSelfOnOtherClient:f.default.getId()===l.id&&c.sessionId!==f.default.getSessionId(),mute:c.isVoiceMuted(),deaf:c.isVoiceDeafened(),video:c.selfVideo,serverMute:c.mute,serverDeaf:c.deaf,sessionId:null!==(a=c.sessionId)&&void 0!==a?a:"",channel:n,collapsed:o,canDrag:r&&p.default.can(_.Permissions.MOVE_MEMBERS,n),showPreview:e.handleShowPreview,hidePreview:e.handleHidePreview,previewIsOpen:s,shouldShowPreview:u===l.id,tabIndex:i},l.id)}))},a.render=function(){var e,t=this.renderVoiceUsers(),n=this.props,r=n.collapsed,a=n.className,i=n.children;return null==t&&null==i?null:S(y.VoiceUserList,{className:(0,o.default)(a,h.default.list,(e={},e[h.default.collapsed]=r,e)),collapsed:r},void 0,t,i)},r}(a.Component);C.displayName="VoiceUsers",C.defaultProps={allowPreviews:!0,allowDragging:!0};var b=C;t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.StaticGuildEventIndexes=void 0;var r=l(n(3)),a=l(n(313)),o=l(n(2)),i=n(8423);n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(){return(s=Object.assign||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}).apply(this,arguments)}function d(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c={STAGE_EVENT:"stage-event",STAGE_EVENT_ACTIVE:"stage-event-active",GUILD_STAGE_EVENT:function(e){return e+"-"+c.STAGE_EVENT},GUILD_STAGE_EVENT_ACTIVE:function(e){return e+"-"+c.STAGE_EVENT_ACTIVE},GUILD_CHANNEL_STAGE_EVENT:function(e,t){return e+"-"+t+"-"+c.STAGE_EVENT},GUILD_CHANNEL_STAGE_EVENT_ACTIVE:function(e,t){return e+"-"+t+"-"+c.STAGE_EVENT_ACTIVE}};t.StaticGuildEventIndexes=c;var p=new a.default((function(e){var t=e.guild_id,n=e.entity_id,r=e.channel_id,a=[t];return null!=n&&a.push(n),e.entity_type===i.GuildScheduledEventEntityTypes.STAGE_INSTANCE&&(a.push(c.STAGE_EVENT),a.push(c.GUILD_STAGE_EVENT(t)),null!=r&&a.push(c.GUILD_CHANNEL_STAGE_EVENT(t,r)),function(e){return!i.GuildScheduledEventStatusDone.has(e.status)}(e)&&(a.push(c.STAGE_EVENT_ACTIVE),a.push(c.GUILD_STAGE_EVENT_ACTIVE(t)),null!=r&&a.push(c.GUILD_CHANNEL_STAGE_EVENT_ACTIVE(t,r)))),a}),(function(e){var t=e.id;return""+e.scheduled_start_time+t}));function v(e){p.set(e.id,e)}function y(e){v(e.guildScheduledEvent)}var m=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var a=r.prototype;return a.getGuildScheduledEvent=function(e){var t;return null==e?null:null!==(t=p.get(e))&&void 0!==t?t:null},a.getGuildScheduledEventsForGuild=function(e){return null==e?[]:p.values(e)},a.getGuildScheduledEventsByIndex=function(e){return p.values(e)},r}(r.default.Store))(o.default,{CONNECTION_OPEN:function(e){return p.clear(),!0},FETCH_GUILD_EVENTS_FOR_GUILD:function(e){for(var t,n=e.guildId,r=e.guildScheduledEvents,a=d(p.values(n,!0));!(t=a()).done;){var o=t.value;p.delete(o.id)}for(var i,l=d(r);!(i=l()).done;){v(i.value)}return!0},GUILD_SCHEDULED_EVENT_CREATE:y,GUILD_SCHEDULED_EVENT_UPDATE:y,GUILD_SCHEDULED_EVENT_USER_CREATE:function(e){var t=e.guildEventId,n=p.get(t);return null!=n&&(v(s({},n,{rsvped:!0})),!0)},GUILD_SCHEDULED_EVENT_USER_DELETE:function(e){var t=e.guildEventId,n=p.get(t);return null!=n&&(v(s({},n,{rsvped:!1})),!0)},GUILD_SCHEDULED_EVENT_RSVPS_FETCH_SUCESS:function(e){e.guildScheduledEvents.forEach((function(e){var t=p.get(e.id);null!=t&&v(s({},t,{rsvped:!0}))}))},LOGOUT:function(e){return p.clear(),!0}});t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);var i={setSection:function(e){a.default.dispatch({type:o.ActionTypes.FRIENDS_SET_SECTION,section:e})}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=p(n(0)),o=f(n(1330)),i=f(n(9731)),l=p(n(9732)),u=f(n(16)),s=f(n(43)),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=u.default.embedded&&null!=s.default.getDiscordUtils().inputCaptureRegisterElement,_=function(e){var t,n;function r(t){var n;(n=e.call(this,t)||this)._mounted=!1,n.recordStart=function(){u.default.embedded&&!m&&(n.gs=new i.default,n.gs.on("change",n.handleGSChange)),n.setState({mode:l.RecordModes.RECORDING})},n.recordEnd=function(){n.cleanUp(),n.setState({mode:l.RecordModes.DEFAULT})},n.toggleRecordMode=function(){n.state.mode===l.RecordModes.DEFAULT?n.recordStart():n.recordEnd()},n.handleComboKeys=function(e,t,r){if(r.preventDefault(),"keydown"===r.type){var a=t.map((function(e){return[d.KeyboardDeviceTypes.KEYBOARD_KEY,(0,o.default)(e),d.KeyboardEnvs.BROWSER]})),i=r.keyCode;a.find((function(e){var t=e[1];return i===t}))||a.push([d.KeyboardDeviceTypes.KEYBOARD_KEY,i,d.KeyboardEnvs.BROWSER]),n.handleComboChange(a)}},n.handleGSChange=function(e){if(!1!==n._mounted){var t=[].concat(e.combo);n.handleComboChange(t)}},n.handleNativeChange=function(e){e.length>0&&n.handleComboChange(e),n.recordEnd()};var r=t.defaultValue;return n.state={codes:r,mode:l.RecordModes.DEFAULT},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n);var a=r.prototype;return a.componentDidMount=function(){this._mounted=!0},a.componentWillUnmount=function(){this._mounted=!1,this.cleanUp()},a.cleanUp=function(){u.default.embedded&&null!=this.gs&&(this.gs.destroy(),this.gs=null)},a.handleComboChange=function(e){var t=this.state.mode,n=this.props.onChange;t===l.RecordModes.RECORDING&&(null!=n&&n(e),this.setState({codes:e}))},a.render=function(){var e,t,n=this.state,r=n.codes,a=n.mode,o=this.props.disabled;return m?(t=s.default.getDiscordUtils().inputCaptureRegisterElement,e=this.handleNativeChange):u.default.embedded||(e=this.handleComboKeys),v(l.default,{disabled:o,value:r,mode:a,onClick:this.toggleRecordMode,onChange:e,registerNativeRecorder:t,disableOnClickWhileRecording:m})},r}(a.PureComponent);_.displayName="KeybindRecorder";var h=_;t.default=h},function(e,t,n){e.exports=n.p+"3231ce6517d4a74dc5cdb4c98a0e8fd2.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(2)),a=l(n(8751)),o=l(n(181)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}var u={update:function(e){r.default.dispatch({type:i.ActionTypes.CHANNEL_COLLAPSE,channelId:e})},toggleCollapseGuild:function(e){a.default.saveUserGuildSettings(e,{hide_muted_channels:!o.default.isGuildCollapsed(e)}),r.default.dispatch({type:i.ActionTypes.GUILD_TOGGLE_COLLAPSE_MUTED,guildId:e})}};t.default=u},function(e,t,n){"use strict";var r,a,o;Object.defineProperty(t,"__esModule",{value:!0}),t.AnalyticsSetupTypes=t.AnalyticsActions=t.Steps=void 0,t.Steps=r,function(e){e.INVITE="member_joined",e.CHANNEL="create_channel",e.AVATAR="avatar",e.MESSAGE="send_message",e.COMPLETED="completed",e.DISMISSED="dismissed"}(r||(t.Steps=r={})),t.AnalyticsActions=a,function(e){e.PERSONALIZE_SERVER="Personalize Server",e.INVITE="Invite Friends",e.CREATE_CHANNEL="Create Channel",e.SEND_MESSAGE="Send Message",e.DOWNLOAD="Download",e.DISMISS_GUILD_PROGRESS="Dismiss Guild Progress",e.DISCORD_OVERVIEW_VIDEO="Discord Overview Video"}(a||(t.AnalyticsActions=a={})),t.AnalyticsSetupTypes=o,function(e){e.CHANNEL_WELCOME="Channel Welcome CTA",e.GUILD_PROGRESS="Guild Progress"}(o||(t.AnalyticsSetupTypes=o={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),a=i(n(28)),o=i(n(2));n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u={};var s=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var o=r.prototype;return o.initialize=function(){u=a.default.get("GuildNSFWAgreeStore")||u},o.didAgree=function(e){return null!=e&&(u[e]||!1)},r}(r.default.Store))(o.default,{GUILD_NSFW_AGREE:function(e){var t=e.guildId;u[t]=!0,a.default.set("GuildNSFWAgreeStore",u)}});t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDispatchApplicationStates=j,t.default=void 0;var r,a,o,i,l,u=N(n(0)),s=b(n(9)),d=b(n(273)),f=b(n(3)),c=b(n(469)),p=n(42),v=b(n(155)),y=b(n(405)),m=b(n(71)),_=n(8432),h=b(n(9206)),E=b(n(149)),g=b(n(8376)),S=N(n(136)),O=b(n(9034)),I=n(1),T=b(n(6)),C=b(n(7798));function b(e){return e&&e.__esModule?e:{default:e}}function M(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return M=function(){return e},e}function N(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=M();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function A(e,t,n,r){l||(l="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,o=arguments.length-3;if(t||0===o||(t={children:void 0}),1===o)t.children=r;else if(o>1){for(var i=new Array(o),u=0;u<o;u++)i[u]=arguments[u+3];t.children=i}if(t&&a)for(var s in a)void 0===t[s]&&(t[s]=a[s]);else t||(t=a||{});return{$$typeof:l,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function P(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,R(e,t)}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var L=((i={})[I.LocalDispatchApplicationStates.INSTALLING]=((r={})[_.TimeUnits.NONE]=function(e,t){return T.default.Messages.APPLICATION_PROGRESS_INDICATOR_INSTALLING.format({name:e})},r[_.TimeUnits.SECONDS]=function(e,t){return T.default.Messages.APPLICATION_PROGRESS_INDICATOR_INSTALLING_SECONDS.format({name:e,timeRemaining:t})},r[_.TimeUnits.MINUTES]=function(e,t){return T.default.Messages.APPLICATION_PROGRESS_INDICATOR_INSTALLING_MINUTES.format({name:e,timeRemaining:t})},r[_.TimeUnits.HOURS]=function(e,t){return T.default.Messages.APPLICATION_PROGRESS_INDICATOR_INSTALLING_HOURS.format({name:e,timeRemaining:t})},r),i[I.LocalDispatchApplicationStates.UPDATING]=((a={})[_.TimeUnits.NONE]=function(e,t){return T.default.Messages.APPLICATION_PROGRESS_INDICATOR_UPDATING.format({name:e})},a[_.TimeUnits.SECONDS]=function(e,t){return T.default.Messages.APPLICATION_PROGRESS_INDICATOR_UPDATING_SECONDS.format({name:e,timeRemaining:t})},a[_.TimeUnits.MINUTES]=function(e,t){return T.default.Messages.APPLICATION_PROGRESS_INDICATOR_UPDATING_MINUTES.format({name:e,timeRemaining:t})},a[_.TimeUnits.HOURS]=function(e,t){return T.default.Messages.APPLICATION_PROGRESS_INDICATOR_UPDATING_HOURS.format({name:e,timeRemaining:t})},a),i[I.LocalDispatchApplicationStates.REPAIRING]=((o={})[_.TimeUnits.NONE]=function(e,t){return T.default.Messages.APPLICATION_PROGRESS_INDICATOR_INSTALLING.format({name:e})},o[_.TimeUnits.SECONDS]=function(e,t){return T.default.Messages.APPLICATION_PROGRESS_INDICATOR_INSTALLING_SECONDS.format({name:e,timeRemaining:t})},o[_.TimeUnits.MINUTES]=function(e,t){return T.default.Messages.APPLICATION_PROGRESS_INDICATOR_INSTALLING_MINUTES.format({name:e,timeRemaining:t})},o[_.TimeUnits.HOURS]=function(e,t){return T.default.Messages.APPLICATION_PROGRESS_INDICATOR_INSTALLING_HOURS.format({name:e,timeRemaining:t})},o),i),D=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).renderProgressBody=function(e,n){var r=t.props,a=r.state,o=r.application,i=a.stage,l=a.progress,u=a.total,s=a.type;if(null==l||null==u||null==i)return null;var d=e[e.length-1]/n*1e3,f=u-l,c=0!==d?Math.max(1,f/d):null,p=null!=c?c/60:null,v=L[s],y=null!=v?Object.keys(v):[],m=(0,_.getTimeAndUnit)(p,y),h=m.unit,E=m.time;if(null!=v&&null!=h){var g=v[h];return null!=g?g(o.name,E):null}return null},t}P(t,e);var n=t.prototype;return n.renderText=function(){var e=this.props,t=e.state,n=e.isPaused;if(t.type===I.LocalDispatchApplicationStates.UPDATING||t.type===I.LocalDispatchApplicationStates.REPAIRING||t.type===I.LocalDispatchApplicationStates.INSTALLING){if(n)return T.default.Messages.APPLICATION_PROGRESS_INDICATOR_PAUSED;if(t.stage===I.DispatchApplicationStages.PATCHING||t.stage===I.DispatchApplicationStages.REPAIRING)return A(O.default,{getHistoricalTotalBytes:v.default.getHistoricalTotalBytesWritten,updateInterval:5e3},void 0,this.renderProgressBody)}return null},n.render=function(){var e=this.renderText();return null!=e?e:T.default.Messages.LIBRARY},t}(u.PureComponent);D.displayName="UpdateProgressTooltipText";var w=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={animationScale:new d.default.Value(0)},t.handleOnClick=function(e){var n=t.props.onClick;e.preventDefault(),e.stopPropagation(),null!=n&&n(e),(0,p.transitionTo)(I.Routes.APPLICATION_LIBRARY)},t}P(t,e);var n=t.prototype;return n.componentWillAppear=function(e){this.state.animationScale.setValue(1),e()},n.componentWillEnter=function(e){d.default.spring(this.state.animationScale,{toValue:1,duration:200}).start(e)},n.componentWillLeave=function(e){d.default.spring(this.state.animationScale,{toValue:0,duration:200}).start(e)},n.getTooltipText=function(){var e=this.props,t=e.firstApplication,n=e.firstState,r=e.isPaused;return null==t||null==n?T.default.Messages.LIBRARY:A(D,{application:t,state:n,isPaused:r})},n.render=function(){var e=this.props,t=e.percent,n=e.isPaused,r=e.className;return A(d.default.div,{style:{transform:[{scale:this.state.animationScale}]},className:(0,s.default)(r,C.default.progressContainer),onClick:this.handleOnClick},void 0,A(E.default,{text:this.getTooltipText(),position:E.default.Positions.RIGHT,"aria-label":!1},void 0,(function(e){return u.createElement("div",e,A(h.default,{percent:t,colorOverride:n?I.Colors.PRIMARY_DARK_500:null},void 0,A(g.default,{className:C.default.downloadIcon})))})))},t}(u.PureComponent);w.displayName="GameUpdateProgressIndicator",w.defaultProps={strokeSize:h.default.StrokeSizes.MEDIUM};function j(e,t){return e.reduce((function(e,n){var r=n.applicationId,a=n.branchId,o=t.getState(r,a);return null!=o&&e.push(o),e}),[])}var k=f.default.connectStores([y.default,m.default,v.default],(function(){var e=y.default.activeItems,t=j(e,v.default),n=S.getCombinedProgress(t),r=n.total,a=n.progress;return{percent:S.calculateProgressPercentage(a,r),isPaused:y.default.paused,firstApplication:e.length>0?m.default.getGame(e[0].applicationId):null,firstState:t.length>0?t[0]:null}}))((function(e){var t=e.determineOwnVisibility,n=void 0===t||t,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["determineOwnVisibility"]);return n?A(c.default,{component:u.Fragment},void 0,r.percent>0&&r.percent<100?u.createElement(w,r):null):u.createElement(w,r)}));t.default=k},function(e,t,n){e.exports=n.p+"3bd0d83cb24ccf918b757ab5c18dc564.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(8253),o=u(n(16)),i=u(n(43)),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e,t){return o.default.embedded&&0!==(null==e?void 0:e.length)?d(a.MenuItem,{id:"copy",label:l.default.Messages.COPY,hint:o.default.isOSX()?"⌘C":"Ctrl+C",action:function(){i.default.copy(e),null==t||t.focus()}}):null}f.displayName="useNativeCopyItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a,o=n(1395),i=n(8253),l=n(1163),u=n(1),s=(r=n(6))&&r.__esModule?r:{default:r};function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t){return l.SUPPORTS_COPY&&e.type!==u.MessageTypes.GUILD_INVITE_REMINDER?f(i.MenuItem,{id:"copy-link",label:s.default.Messages.COPY_MESSAGE_LINK,action:function(){return(0,o.copy)(location.protocol+"//"+location.host+u.Routes.CHANNEL(t.guild_id,t.id,e.id))}}):null}c.displayName="useMessageCopyLinkItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=p(n(390)),i=p(n(8487)),l=n(8253),u=n(8256),s=p(n(40)),d=p(n(12)),f=n(1),c=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){var n=(0,a.useStateFromStores)([d.default],(function(){return d.default.getCurrentUser()}),[]),r=(0,a.useStateFromStores)([s.default],(function(){return s.default.can(f.Permissions.MANAGE_MESSAGES,t)&&!t.isArchivedThread()}),[t]);return e.state===f.MessageStates.SENDING?null:(e.author.id===n.id||r)&&e.type in f.MessageTypesDeletable?y(l.MenuItem,{id:"delete",label:c.default.Messages.DELETE_MESSAGE,action:function(n){e.state===f.MessageStates.SEND_FAILED?o.default.deleteMessage(t.id,e.id,!0):n.shiftKey?o.default.deleteMessage(t.id,e.id):i.default.confirmDelete(t,e,!0)},color:u.MenuItemColor.DANGER}):null}m.displayName="useMessageDeleteItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=n(8253),i=f(n(410)),l=f(n(204)),u=n(31),s=f(n(8706)),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){if((0,a.useStateFromStores)([i.default,l.default],(function(){return!u.THREAD_CHANNEL_TYPES.has(t.type)||i.default.isActive(t.guild_id,t.id)&&l.default.hasJoined(t.id)})))return p(o.MenuItem,{id:"mark-unread",label:d.default.Messages.MARK_UNREAD,action:function(){return(0,s.default)(t.id,e.id)}})}v.displayName="useMessageMarkUnreadItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(9)),o=l(n(24)),i=l(n(7905));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.children,n=e.className;return s(o.default,{color:o.default.Colors.CUSTOM,className:(0,a.default)(i.default.subtext,n),size:o.default.Sizes.SIZE_12},void 0,t)}d.displayName="PanelSubtext"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=n(1),o=(r=n(6))&&r.__esModule?r:{default:r};var i={getStatus:function(e,t){var n,r;switch(void 0===t&&(t=!1),e){case a.RTCConnectionStates.CONNECTING:n=a.ConnectionStatus.CONNECTING,r=o.default.Messages.CONNECTION_STATUS_CONNECTING;break;case a.RTCConnectionStates.AUTHENTICATING:n=a.ConnectionStatus.CONNECTING,r=o.default.Messages.CONNECTION_STATUS_AUTHENTICATING;break;case a.RTCConnectionStates.AWAITING_ENDPOINT:n=a.ConnectionStatus.CONNECTING,r=o.default.Messages.CONNECTION_STATUS_AWAITING_ENDPOINT;break;case a.RTCConnectionStates.RTC_CONNECTED:n=a.ConnectionStatus.CONNECTED,r=t?o.default.Messages.CONNECTION_STATUS_VIDEO_CONNECTED:o.default.Messages.CONNECTION_STATUS_VOICE_CONNECTED;break;case a.RTCConnectionStates.RTC_CONNECTING:n=a.ConnectionStatus.CONNECTING,r=o.default.Messages.CONNECTION_STATUS_RTC_CONNECTING;break;case a.RTCConnectionStates.ICE_CHECKING:n=a.ConnectionStatus.CONNECTING,r=o.default.Messages.CONNECTION_STATUS_ICE_CHECKING;break;case a.RTCConnectionStates.NO_ROUTE:n=a.ConnectionStatus.ERROR,r=o.default.Messages.CONNECTION_STATUS_NO_ROUTE;break;case a.RTCConnectionStates.RTC_DISCONNECTED:n=a.ConnectionStatus.ERROR,r=o.default.Messages.CONNECTION_STATUS_RTC_DISCONNECTED;break;case a.RTCConnectionStates.DISCONNECTED:default:n=a.ConnectionStatus.ERROR,r=o.default.Messages.CONNECTION_STATUS_DISCONNECTED}return{connectionStatus:n,connectionStatusText:r}},getShortHostname:function(e){return null==e?"":e.split(".")[0]}};t.default=i},,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.authorizeAndSetTestModeApplication=function(e,t){return _.apply(this,arguments)},t.reset=function(){r.default.dispatch({type:f.ActionTypes.DEVELOPER_TEST_MODE_RESET})},t.resetError=function(){r.default.dispatch({type:f.ActionTypes.DEVELOPER_TEST_MODE_RESET_ERROR})};var r=v(n(2)),a=v(n(379)),o=v(n(71)),i=n(99),l=v(n(186)),u=v(n(478)),s=p(n(8716)),d=p(n(5672)),f=n(1);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(e){return e&&e.__esModule?e:{default:e}}function y(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function m(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){y(o,r,a,i,l,"next",e)}function l(e){y(o,r,a,i,l,"throw",e)}i(void 0)}))}}function _(){return(_=m(regeneratorRuntime.mark((function e(t,n){var c,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.default.dispatch({applicationId:t,type:f.ActionTypes.DEVELOPER_TEST_MODE_AUTHORIZATION_START}),e.prev=1,e.next=4,d.fetchSKUsForApplication(t,!1);case 4:if(null!=e.sent){e.next=7;break}throw new Error("Did not get a successful response from endpoint.");case 7:if(null!=(c=o.default.getGame(t))){e.next=14;break}return e.t0=a.default,e.next=12,u.default.fetchApplication(t);case 12:e.t1=e.sent,c=e.t0.createFromServer.call(e.t0,e.t1);case 14:if(!(p=(0,i.hasFlag)(c.flags,f.ApplicationFlags.EMBEDDED))||null!=n&&l.default.URL_REGEX.test(n)){e.next=17;break}throw new Error("Invalid Origin URL for embedded application");case 17:return p||s.createTestModeLibraryApplications(c),r.default.dispatch({type:f.ActionTypes.DEVELOPER_TEST_MODE_AUTHORIZATION_SUCCESS,applicationId:t,originURL:p?n:null}),e.abrupt("return",!0);case 22:return e.prev=22,e.t2=e.catch(1),r.default.dispatch({type:f.ActionTypes.DEVELOPER_TEST_MODE_AUTHORIZATION_FAIL,applicationId:t,error:e.t2.message}),e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e,null,[[1,22]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openModal=function(e,t){return new Promise((function(n){a.default.dispatch({type:o.ActionTypes.ACTIVITY_INVITE_MODAL_OPEN,activity:e,isPrivate:t,resolve:n})}))},t.updateQuery=function(e){a.default.dispatch({type:o.ActionTypes.ACTIVITY_INVITE_MODAL_QUERY,query:e})},t.inviteChannel=function(e){a.default.dispatch({type:o.ActionTypes.ACTIVITY_INVITE_MODAL_SEND,channelId:e})},t.inviteUser=function(e){a.default.dispatch({type:o.ActionTypes.ACTIVITY_INVITE_MODAL_SEND,userId:e})};var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.open=function(e,t,n){void 0===n&&(n={});a.default.dispatch({type:o.ActionTypes.PICTURE_IN_PICTURE_OPEN,id:e,component:t,props:n})},t.close=function(e){a.default.dispatch({type:o.ActionTypes.PICTURE_IN_PICTURE_CLOSE,id:e})},t.hide=function(e){a.default.dispatch({type:o.ActionTypes.PICTURE_IN_PICTURE_HIDE,id:e})},t.show=function(e){a.default.dispatch({type:o.ActionTypes.PICTURE_IN_PICTURE_SHOW,id:e})},t.moveTo=function(e,t){a.default.dispatch({type:o.ActionTypes.PICTURE_IN_PICTURE_MOVE,id:e,position:t})},t.updateRect=function(e,t){a.default.dispatch({type:o.ActionTypes.PICTURE_IN_PICTURE_UPDATE_RECT,id:e,rect:t})},t.switchPIPFocus=function(e){a.default.dispatch({type:o.ActionTypes.PICTURE_IN_PICTURE_UPDATE_SELECTED_WINDOW,id:e})};var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),a=l(n(28)),o=l(n(2)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(){return(d=Object.assign||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}).apply(this,arguments)}var f,c=new Map,p=i.PictureInPicturePositions.BOTTOM_RIGHT,v={};var y=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var o,l,d,y=r.prototype;return y.initialize=function(){p=a.default.get("PictureInPictureLocation",i.PictureInPicturePositions.BOTTOM_RIGHT)},y.isEmbeddedActivityHidden=function(){var e;return null==f||(null===(e=c.get(f))||void 0===e?void 0:e.component)!==i.PictureInPictureComponents.EMBED_IFRAME},y.getDockedRect=function(e){return v[e]},y.isOpen=function(e){return null!=e&&c.has(e)},o=r,(l=[{key:"pipWindow",get:function(){return null==f?null:c.get(f)}},{key:"pipWindows",get:function(){return c}}])&&u(o.prototype,l),d&&u(o,d),r}(r.default.Store))(o.default,{PICTURE_IN_PICTURE_OPEN:function(e){var t,n,r=e.id,a=e.component,o=e.props;if(null==c.get(r)){var i={id:r,component:a,position:null!==(t=o.position)&&void 0!==t?t:p,props:o,docked:null!==(n=o.docked)&&void 0!==n&&n};c.set(r,i),null==f&&(f=r)}},PICTURE_IN_PICTURE_CLOSE:function(e){var t=e.id;if(!c.has(t))return!1;if(c.delete(t),f===t){var n=Array.from(c.keys());f=0===n.length?null:n[0]}},PICTURE_IN_PICTURE_MOVE:function(e){var t=e.id,n=e.position;if(null==f||f!==t)return!1;var r=new Map;c.forEach((function(e,t){r.set(t,d({},e,{position:n}))})),c=r,p=n,a.default.set("PictureInPictureLocation",n)},PICTURE_IN_PICTURE_HIDE:function(e){var t=e.id;if(f!==t)return!1;var n=c.get(t);if(null==n)return!1;c.set(t,d({},n,{hidden:!0}))},PICTURE_IN_PICTURE_SHOW:function(e){var t=e.id;if(f!==t)return!1;var n=c.get(t);if(null==n)return!1;c.set(t,d({},n,{hidden:!1}))},PICTURE_IN_PICTURE_UPDATE_RECT:function(e){var t=e.id,n=e.rect;v[t]=n},PICTURE_IN_PICTURE_UPDATE_SELECTED_WINDOW:function(e){var t=e.id;f=t},LOGOUT:function(e){return f=null,void(c=new Map)}});t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openAgeGateModal=function(e){o.default.track(i.AnalyticEvents.OPEN_MODAL,{type:"Enter Your Birthday",source:{section:e}}),r.default.dispatch({type:i.ActionTypes.AGE_GATE_MODAL_OPEN,source:e})},t.closeAgeGateModal=function(){r.default.wait((function(){return r.default.dispatch({type:i.ActionTypes.AGE_GATE_MODAL_CLOSE})}))},t.openSuccessAgeGateModal=function(){r.default.wait((function(){r.default.dispatch({type:i.ActionTypes.AGE_GATE_SUCCESS_MODAL_OPEN})}))},t.openFailureAgeGateModal=function(e,t){void 0===t&&(t=!1);r.default.wait((function(){r.default.dispatch({type:i.ActionTypes.AGE_GATE_FAILURE_MODAL_OPEN,underageMessage:e,forceOpen:t})}))},t.closeFailedAgeGate=function(){r.default.dispatch({type:i.ActionTypes.LOGOUT}),(0,a.transitionTo)(i.Routes.LOGIN)};var r=l(n(2)),a=n(42),o=l(n(13)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCustomizeGuildSlide=N,t.default=function(e){return N(e).content};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=T(n(9)),i=n(3),l=T(n(199)),u=T(n(8792)),s=T(n(162)),d=T(n(12)),f=T(n(29)),c=T(n(55)),p=T(n(8272)),v=T(n(153)),y=n(85),m=n(131),_=n(35),h=T(n(47)),E=T(n(24)),g=T(n(9265)),S=n(1),O=T(n(6)),I=T(n(7361));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function N(e){var t=e.guildTemplate,n=e.onClose,r=e.onBack,T=e.onGuildCreated,C=e.onHubGuildCreated,N=e.isSlideReady,A=e.hasFooter,P=void 0===A||A,R=e.isCommunity,L=void 0!==R&&R,D=e.isHubCreationFlow,w=void 0!==D&&D,j=e.description,k=e.onDescriptionChange,U=(0,y.useUID)(),G=(0,i.useStateFromStores)([d.default],(function(){return d.default.getNullableCurrentUser()}),[]),F=a.useState(O.default.Messages.CREATE_SERVER_DEFAULT_SERVER_NAME_FORMAT.format({username:null==G?void 0:G.username})),B=F[0],H=F[1],x=a.useState(null),V=x[0],W=x[1],Y=a.useState(!1),z=Y[0],K=Y[1],$=a.useState(null),Z=$[0],q=$[1],X=a.useRef(null);a.useEffect((function(){var e;N&&(null===(e=X.current)||void 0===e||e.focus())}),[N]);var J=a.useCallback(function(){var e,n=(e=regeneratorRuntime.mark((function e(n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n.preventDefault(),null!=t){e.next=3;break}return e.abrupt("return");case 3:return K(!0),q(null),e.prev=5,e.next=8,g.default.createGuildFromTemplate(B,V,t,L);case 8:r=e.sent,w?null==C||C(new s.default(r)):(l.default.transitionToGuildSync(r.id),null==T||T(r.id)),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(5),q(e.t0);case 15:K(!1);case 16:case"end":return e.stop()}}),e,null,[[5,12]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){M(o,r,a,i,l,"next",e)}function l(e){M(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(e){return n.apply(this,arguments)}}(),[t,V,B,T,C,L,w]),Q=a.createElement(a.Fragment,null,b(f.default,{color:f.default.Colors.BRAND,onClick:J,disabled:0===B.length,submitting:z},void 0,O.default.Messages.CREATE),b(f.default,{look:f.default.Looks.BLANK,size:f.default.Sizes.MIN,onClick:r},void 0,O.default.Messages.BACK));return{content:a.createElement(a.Fragment,null,b(_.ModalHeader,{direction:c.default.Direction.VERTICAL,className:I.default.header,separator:!1,id:U},void 0,b(h.default,{className:(0,o.default)(I.default.title),size:h.default.Sizes.SIZE_24},void 0,O.default.Messages.NUF_CREATE_SERVER_CUSTOMIZE_HEADER),b(E.default,{className:I.default.subtitle,color:E.default.Colors.HEADER_SECONDARY,size:E.default.Sizes.SIZE_16},void 0,O.default.Messages.NUF_CREATE_SERVER_CUSTOMIZE_SUBHEADER),n&&b(_.ModalCloseButton,{className:I.default.closeButton,onClick:n})),b(_.ModalContent,{className:I.default.createGuild},void 0,b("div",{className:I.default.uploadIcon},void 0,b(u.default,{icon:V,onChange:W})),b("form",{onSubmit:J},void 0,b(m.FormItem,{title:O.default.Messages.FORM_LABEL_SERVER_NAME,className:I.default.nameInput,error:null==Z?void 0:Z.getFirstFieldErrorMessage("name")},void 0,b(v.default,{type:"text",value:B,maxLength:100,onChange:H,inputRef:X})),b(E.default,{size:E.default.Sizes.SIZE_12,color:E.default.Colors.MUTED,className:I.default.guidelines},void 0,O.default.Messages.CREATE_SERVER_GUIDELINES.format({guidelinesURL:S.MarketingURLs.GUIDELINES})),w&&a.createElement(a.Fragment,null,b(m.FormItem,{title:O.default.Messages.HUB_ADD_GUILD_DESCRIPTION_TITLE,className:I.default.descriptionInput},void 0,b(p.default,{value:j,maxLength:200,placeholder:O.default.Messages.HUB_ADD_GUILD_DESCRIPTION_PLACEHOLDER,onChange:k})),b(E.default,{size:E.default.Sizes.SIZE_12,color:E.default.Colors.MUTED,className:I.default.guidelines},void 0,O.default.Messages.HUB_CUSTOMIZE_NEW_GUILD_SUBTITLE))),null==Z||Z.hasFieldErrors()?null:b(E.default,{size:E.default.Sizes.SIZE_12,color:E.default.Colors.STATUS_RED},void 0,Z.message)),P&&b(_.ModalFooter,{justify:c.default.Justify.BETWEEN},void 0,Q)),footer:Q}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(88)),o=l(n(8327)),i=l(n(7418));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("svg",{width:"80",height:"80",viewBox:"0 0 80 80",fill:"none"},void 0,s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M54.8694 2.85498C53.8065 2.4291 52.721 2.04752 51.6153 1.71253L51.3254 2.66957L51.0354 3.62661C51.9783 3.91227 52.9057 4.23362 53.8161 4.58911C54.1311 3.98753 54.4832 3.40847 54.8694 2.85498ZM75.4109 26.1839C76.0125 25.8689 76.5915 25.5168 77.145 25.1306C77.5709 26.1935 77.9525 27.279 78.2875 28.3847L77.3304 28.6746L76.3734 28.9646C76.0877 28.0217 75.7664 27.0943 75.4109 26.1839ZM78.8148 43.8253L79.8102 43.9222C79.9357 42.6318 80 41.3234 80 40C80 38.6766 79.9357 37.3682 79.8102 36.0778L78.8148 36.1747L77.8195 36.2715C77.9389 37.4977 78 38.7414 78 40C78 41.2586 77.9389 42.5023 77.8195 43.7285L78.8148 43.8253ZM43.8253 1.18515L43.9222 0.189853C42.6318 0.0642679 41.3234 0 40 0C38.6766 0 37.3682 0.064268 36.0778 0.189853L36.1747 1.18515L36.2715 2.18045C37.4977 2.06112 38.7414 2 40 2C41.2586 2 42.5023 2.06112 43.7285 2.18045L43.8253 1.18515ZM28.6746 2.66957L28.3847 1.71253C25.8549 2.47897 23.4312 3.48925 21.1408 4.71604L21.6129 5.59756L22.0851 6.47907C24.2606 5.3138 26.5624 4.35439 28.9646 3.62661L28.6746 2.66957ZM15.2587 9.85105L14.6239 9.0784C12.5996 10.7416 10.7416 12.5996 9.0784 14.6239L9.85105 15.2587L10.6237 15.8935C12.2042 13.9699 13.9699 12.2042 15.8935 10.6237L15.2587 9.85105ZM5.59756 21.6129L4.71604 21.1408C3.48925 23.4312 2.47897 25.8549 1.71253 28.3847L2.66957 28.6746L3.62661 28.9646C4.35439 26.5624 5.3138 24.2607 6.47907 22.0851L5.59756 21.6129ZM0 40C0 38.6766 0.0642679 37.3682 0.189853 36.0778L1.18515 36.1747L2.18045 36.2715C2.06112 37.4977 2 38.7414 2 40C2 41.2586 2.06112 42.5023 2.18045 43.7285L1.18515 43.8253L0.189853 43.9222C0.064268 42.6318 0 41.3234 0 40ZM2.66957 51.3254L1.71253 51.6153C2.47897 54.1451 3.48926 56.5688 4.71604 58.8592L5.59756 58.3871L6.47907 57.9149C5.3138 55.7394 4.35439 53.4376 3.62661 51.0354L2.66957 51.3254ZM9.85105 64.7413L9.0784 65.3761C10.7416 67.4004 12.5996 69.2584 14.6239 70.9216L15.2587 70.1489L15.8935 69.3763C13.9699 67.7958 12.2042 66.0301 10.6237 64.1065L9.85105 64.7413ZM21.6129 74.4024L21.1408 75.284C23.4312 76.5107 25.8549 77.521 28.3847 78.2875L28.6746 77.3304L28.9646 76.3734C26.5624 75.6456 24.2607 74.6862 22.0851 73.5209L21.6129 74.4024ZM36.1747 78.8148L36.0778 79.8102C37.3682 79.9357 38.6766 80 40 80C41.3234 80 42.6318 79.9357 43.9222 79.8102L43.8253 78.8148L43.7285 77.8195C42.5023 77.9389 41.2586 78 40 78C38.7414 78 37.4977 77.9389 36.2715 77.8195L36.1747 78.8148ZM51.3254 77.3304L51.6153 78.2875C54.1451 77.521 56.5688 76.5107 58.8592 75.284L58.3871 74.4024L57.9149 73.5209C55.7394 74.6862 53.4376 75.6456 51.0354 76.3734L51.3254 77.3304ZM64.7413 70.1489L65.3761 70.9216C67.4004 69.2584 69.2584 67.4004 70.9216 65.3761L70.1489 64.7413L69.3763 64.1065C67.7958 66.0301 66.0301 67.7958 64.1065 69.3763L64.7413 70.1489ZM74.4024 58.3871L75.284 58.8592C76.5107 56.5688 77.521 54.1451 78.2875 51.6153L77.3304 51.3254L76.3734 51.0354C75.6456 53.4375 74.6862 55.7393 73.5209 57.9149L74.4024 58.3871Z",fill:"currentColor"}),s("circle",{cx:"68",cy:"12",r:"12",fill:"#5865f2"}),s("path",{d:"M73.3332 11.4075H68.5924V6.66675H67.4072V11.4075H62.6665V12.5927H67.4072V17.3334H68.5924V12.5927H73.3332V11.4075Z",fill:"white"}),s("path",{d:"M40 29C37.794 29 36 30.794 36 33C36 35.207 37.794 37 40 37C42.206 37 44 35.207 44 33C44 30.795 42.206 29 40 29Z",fill:"currentColor"}),s("path",{d:"M48 26.001H46.07C45.402 26.001 44.777 25.667 44.406 25.111L43.594 23.891C43.223 23.335 42.598 23 41.93 23H38.07C37.402 23 36.777 23.335 36.406 23.89L35.594 25.11C35.223 25.667 34.598 26 33.93 26H32C30.895 26 30 26.896 30 28V39C30 40.104 30.895 41 32 41H48C49.104 41 50 40.104 50 39V28C50 26.897 49.104 26.001 48 26.001ZM40 39C36.691 39 34 36.309 34 33C34 29.692 36.691 27 40 27C43.309 27 46 29.692 46 33C46 36.31 43.309 39 40 39Z",fill:"currentColor"}),s("path",{d:"M24.6097 52.712V47.72H22.5457V52.736C22.5457 53.792 22.0777 54.404 21.1417 54.404C20.2177 54.404 19.7377 53.78 19.7377 52.712V47.72H17.6737V52.724C17.6737 55.04 19.0897 56.132 21.1177 56.132C23.1217 56.132 24.6097 55.016 24.6097 52.712ZM26.0314 56H28.0834V53.252H28.6114C30.6154 53.252 31.9474 52.292 31.9474 50.42C31.9474 48.62 30.7114 47.72 28.6954 47.72H26.0314V56ZM29.9554 50.456C29.9554 51.308 29.4514 51.704 28.5394 51.704H28.0594V49.268H28.5754C29.4874 49.268 29.9554 49.664 29.9554 50.456ZM37.8292 56L37.5532 54.224H35.0092V47.72H32.9572V56H37.8292ZM45.9558 51.848C45.9558 49.292 44.4078 47.564 42.0078 47.564C39.6078 47.564 38.0478 49.304 38.0478 51.872C38.0478 54.428 39.6078 56.156 41.9838 56.156C44.3958 56.156 45.9558 54.404 45.9558 51.848ZM43.8918 51.86C43.8918 53.504 43.1958 54.548 41.9958 54.548C40.8078 54.548 40.0998 53.504 40.0998 51.86C40.0998 50.216 40.8078 49.172 41.9958 49.172C43.1958 49.172 43.8918 50.216 43.8918 51.86ZM52.2916 56.084L54.3676 55.748L51.4876 47.684H49.2316L46.2556 56H48.2716L48.8236 54.284H51.6916L52.2916 56.084ZM50.2516 49.796L51.1756 52.676H49.3156L50.2516 49.796ZM62.5174 51.848C62.5174 49.388 61.0174 47.72 58.1374 47.72H55.2814V56H58.1854C60.9814 56 62.5174 54.308 62.5174 51.848ZM60.4534 51.86C60.4534 53.636 59.5414 54.404 58.0774 54.404H57.3334V49.316H58.0774C59.4814 49.316 60.4534 50.12 60.4534 51.86Z",fill:"currentColor"}));function f(e){var t=e.icon,n=e.onChange;return s(a.default,{within:!0},void 0,s("div",{className:i.default.iconContainer},void 0,null!=t?s("img",{alt:"Your icon",className:i.default.filledIcon,src:t}):d,s(o.default,{onChange:n,multiple:!1,tabIndex:0})))}f.displayName="TempUploadIcon"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?64:t,r=e.height,a=void 0===r?64:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 64 64"}),s("path",{className:f,fill:d,d:"M56 50.6667V13.3333C56 10.4 53.6 8 50.6667 8H13.3333C10.4 8 8 10.4 8 13.3333V50.6667C8 53.6 10.4 56 13.3333 56H50.6667C53.6 56 56 53.6 56 50.6667ZM22.6667 36L29.3333 44.0267L38.6667 32L50.6667 48H13.3333L22.6667 36Z"}))}d.displayName="ImagePlaceholder"},,function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.LAST_ACTIVITY_FEEDBACK_DATE_STORAGE_KEY=t.LAST_VOICE_FEEDBACK_DATE_STORAGE_KEY=t.END_ACTIVITY_FEEDBACK_COOLDOWN=t.END_VOICE_FEEDBACK_COOLDOWN=t.END_ACTIVITY_FEEDBACK_CHANCE=t.END_STREAM_FEEDBACK_CHANCE=t.END_VOICE_FEEDBACK_CHANCE=t.FEEDBACK_FREEFORM_LENGTH=t.FeedbackRating=void 0,t.FeedbackRating=r,function(e){e.BAD="bad",e.NEUTRAL="neutral",e.GOOD="good"}(r||(t.FeedbackRating=r={}));t.FEEDBACK_FREEFORM_LENGTH=1024;t.END_VOICE_FEEDBACK_CHANCE=.2;t.END_STREAM_FEEDBACK_CHANCE=.2;t.END_ACTIVITY_FEEDBACK_CHANCE=1;t.END_VOICE_FEEDBACK_COOLDOWN=864e5;t.END_ACTIVITY_FEEDBACK_COOLDOWN=0;t.LAST_VOICE_FEEDBACK_DATE_STORAGE_KEY="lastVoiceFeedback";t.LAST_ACTIVITY_FEEDBACK_DATE_STORAGE_KEY="lastActivityFeedback"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inIncentiviedInstallExperiment=function(){return i.ExperimentStore.getUserExperimentBucket(i.Experiments.INCENTIVIZED_INSTALL)!==i.ExperimentBuckets.NOT_ELIGIBLE},t.useAndTrackExposureToExperiment=function(){var e=(0,a.useStateFromStores)([l.default],(function(){return!l.default.isEligible()})),t=u.useExperiment({},{disable:e})[0];e||u.trackExposure({});return t.show},t.default=void 0;var r,a=n(3),o=n(50),i=n(1148),l=(r=n(8797))&&r.__esModule?r:{default:r};var u=(0,o.createExperiment)({id:i.Experiments.INCENTIVIZED_INSTALL,kind:"user",label:"Incentivized Install",defaultConfig:{show:!1},treatments:[{id:1,label:"Show Upsell",config:{show:!0}}]}),s=u;t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(3)),a=u(n(2)),o=u(n(12)),i=u(n(96)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=!1;var f=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(o.default)},a.isEligible=function(){return d},r}(r.default.Store))(a.default,{NOTICE_SHOW:function(e){if(e.notice.type!==l.NoticeTypes.INCENTIVIZED_INSTALL)return!1;d=!0},CONNECTION_CLOSED:function(e){d=!1},CURRENT_USER_UPDATE:function(e){return function(){var e=o.default.getNullableCurrentUser();if(null==e)return!1;d=d&&!i.default.isPremium(e)}()}});t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return j({},G,{link:(0,b.default)(e),emoji:(t=e,n=t.emojiTooltipPosition,r=void 0===n?g.default.Positions.TOP:n,{react:function(e,t,n){return e.src?k(s.MessageStandardEmoji,{node:e,tooltipPosition:r},n.key):k("span",{},n.key,e.surrogate)}}),customEmoji:U(e)});var t,n,r};var r=w(n(0)),a=L(n(9)),o=L(n(132)),i=L(n(1326)),l=n(180),u=n(277),s=n(9275),d=n(42),f=n(31),c=L(n(10)),p=L(n(249)),v=L(n(15)),y=L(n(40)),m=L(n(70)),_=L(n(12)),h=L(n(8426)),E=L(n(8467)),g=L(n(149)),S=L(n(1221)),O=L(n(8276)),I=n(292),T=w(n(701)),C=n(9289),b=L(n(1393)),M=n(1),N=L(n(6)),A=L(n(5701));n(7442);var P,R=L(n(7342));function L(e){return e&&e.__esModule?e:{default:e}}function D(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return D=function(){return e},e}function w(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=D();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function j(){return(j=Object.assign||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}).apply(this,arguments)}function k(e,t,n,r){P||(P="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,o=arguments.length-3;if(t||0===o||(t={children:void 0}),1===o)t.children=r;else if(o>1){for(var i=new Array(o),l=0;l<o;l++)i[l]=arguments[l+3];t.children=i}if(t&&a)for(var u in a)void 0===t[u]&&(t[u]=a[u]);else t||(t=a||{});return{$$typeof:P,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function U(e){var t=e.emojiTooltipPosition,n=void 0===t?g.default.Positions.TOP:t;return{react:function(e,t,r){var a=r.key,o=r.guildId,i=r.isInteracting,l=p.default.getDisambiguatedEmojiContext(o).getById(e.emojiId);null!=l&&(e=j({},e,{name:!l||l.require_colons?":"+l.name+":":l.name}));return k(s.MessageCustomEmoji,{isInteracting:i,node:e,tooltipPosition:n},a)}}}var G={blockQuote:{react:function(e,t,n){return k("div",{className:R.default.blockquoteContainer},n.key,k("div",{className:R.default.blockquoteDivider}),k("blockquote",{},void 0,t(e.content,n)))}},s:{react:function(e,t,n){return k("s",{},n.key,t(e.content,n))}},highlight:{react:function(e,t,n){return k("span",{className:"highlight"},n.key,e.content)}},paragraph:{react:function(e,t,n){return k("p",{},n.key,t(e.content,n))}},channel:{handleClick:function(e,t){if(null!=e&&null!=t){var n=v.default.getGuild(e);if(null!=n&&null!=n.joinedAt){var r=c.default.getChannel(t);null!=r&&(0,f.isGuildVocalChannelType)(r.type)?o.default.selectVoiceChannel(r.id):(0,d.transitionTo)(M.Routes.CHANNEL(e,t))}else T.startLurking(e,{},t)}},react:function(e,t,n){var r=this,a=c.default.getChannel(e.channelId),o=c.default.getChannel(null!=a?a.parent_id:null),i=(0,I.shouldDisplayChannelIconPrefix)(null==a?void 0:a.type),u=null;return i&&(u=y.default.can(M.Permissions.CONNECT,a)?k(O.default,{className:R.default.channelIcon,"aria-label":N.default.Messages.VOICE_CHANNEL}):k(S.default,{className:R.default.channelIcon,"aria-label":N.default.Messages.VOICE_CHANNEL_LOCKED})),k(g.default,{text:null!=o?(0,l.computeChannelName)(o,_.default,m.default):null,position:g.default.Positions.TOP},n.key,(function(a){var o=a.onMouseEnter,l=a.onMouseLeave;return k(h.default,{onClick:r.handleClick.bind(r,e.guildId,e.channelId),onMouseEnter:o,onMouseLeave:l,className:i?R.default.iconMention:void 0},n.key,u,t(e.content,n))}))}},inlineCode:{react:function(e,t,n){return k("code",{className:"inline"},n.key,(0,C.smartOutput)(e,t,n))}},codeBlock:{react:function(e,t,r){var o=function(){return k("pre",{},r.key,k("code",{className:(0,a.default)(A.default.scrollbarGhostHairline,"hljs")},void 0,(0,C.smartOutput)(e,t,r)))};return k(u.LazyLibrary,{createPromise:function(){return Promise.resolve().then(n.t.bind(null,1231,7))},webpackId:1231,renderFallback:o,render:function(t){if(e.lang&&t.hasLanguage(e.lang)){var n=t.highlight(e.lang,e.content,!0);return null==n?o():k("pre",{},r.key,k("code",{className:(0,a.default)(A.default.scrollbarGhostHairline,"hljs",n.language),dangerouslySetInnerHTML:{__html:n.value}}))}return o()}},r.key)}},text:{react:function(e,t,n){return"string"==typeof e.content?e.content:k("span",{},n.key,t(e.content,n))}},spoiler:{react:function(e,t,n){return k(E.default,{type:E.default.Types.TEXT,renderTextElement:function(e,t){return null==e||e.type!==i.default||t?e:r.cloneElement(e,{tabIndex:-1})}},n.key,(function(){return t(e.content,n)}))}},timestamp:{react:function(e,t,n){return k(g.default,{text:e.full,tooltipClassName:R.default.timestampTooltip},n.key,(function(t){return r.createElement("span",j({},t,{className:R.default.timestamp}),e.formatted)}))}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Controls=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=C(n(9)),i=C(n(8)),l=C(n(273)),u=n(8425),s=n(733),d=C(n(271)),f=C(n(61)),c=C(n(8800)),p=C(n(8592)),v=C(n(9102)),y=C(n(8376)),m=C(n(9103)),_=C(n(9104)),h=C(n(8723)),E=C(n(9285)),g=C(n(5945)),S=n(1),O=C(n(6)),I=C(n(7436)),T=C(n(1170));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N(){return(N=Object.assign||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}).apply(this,arguments)}function A(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,P(e,t)}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var L={friction:14,tension:200},D={VIDEO:"VIDEO",AUDIO:"AUDIO"},w={width:"100%",height:"100%",backgroundColor:"black"};function j(e){var t=0|e,n=t%60;return(t-n)/60+":"+String(n).padStart(2,"0")}var k=function(e){var t=e.current,n=e.duration,r=null!=t?j(t):"-:--",a=null!=n?j(n):"-:--";return r=r.padStart(a.length,"0"),R("div",{className:I.default.durationTimeWrapper},void 0,R("span",{className:I.default.durationTimeDisplay},void 0,r),R("span",{className:I.default.durationTimeSeparator},void 0,"/"),R("span",{className:I.default.durationTimeDisplay},void 0,a))};k.displayName="DurationTime";var U=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={translateY:new l.default.Value(0)},t._isUnmounted=!1,t.setDurationRef=function(e){t.durationBar=e},t.setVolumeButtonRef=function(e){t.volumeButton=e},t}A(t,e);var n=t.prototype;return n.componentDidMount=function(){this.state.translateY.setValue(this.props.autoPlay?1:0)},n.componentDidUpdate=function(e){var t,n=this.props,r=n.hide,a=n.playing;r&&!e.hide?(this.animateControls(1,a),null===(t=this.volumeButton)||void 0===t||t.blur()):!r&&e.hide&&this.animateControls(0,a)},n.componentWillUnmount=function(){this._isUnmounted=!1},n.setStateIfMounted=function(e){this._isUnmounted||this.setState(e)},n.updateProgress=function(e,t){void 0===t&&(t=!0);var n=this.durationBar;null!=n&&n.setGrabber(e,t)},n.animateControls=function(e,t){var n=this.state.translateY;t?l.default.spring(n,N({toValue:e},L)).start():n.setValue(e)},n.getAnimatedStyle=function(){return{transform:[{translateY:this.state.translateY.interpolate({inputRange:[0,1],outputRange:["0%","100%"]})}]}},n.renderPlayIcon=function(){var e=this.props,t=e.playing,n=e.currentTime,r=e.duration,a=e.onPause,o=e.onPlay,i=e.disabled;return t?R(f.default,{onClick:a,tabIndex:i?-1:0,"aria-label":O.default.Messages.PAUSE},void 0,R(_.default,{className:I.default.controlIcon},"pause")):null!=n&&n===r?R(f.default,{onClick:o,tabIndex:i?-1:0,"aria-label":O.default.Messages.PLAY_AGAIN},void 0,R(E.default,{className:I.default.controlIcon},"replay")):R(f.default,{onClick:o,tabIndex:i?-1:0,"aria-label":O.default.Messages.PLAY},void 0,R(h.default,{className:I.default.controlIcon},"play"))},n.render=function(){var e=this.props,t=e.buffers,n=e.children,r=e.currentTime,o=e.duration,i=e.muted,u=e.onDrag,s=e.onDragEnd,d=e.onDragStart,f=e.onToggleMuted,p=e.width,y=e.volume,m=e.type,_="string"==typeof p||p>250;return R(l.default.div,{className:m===D.VIDEO?I.default.videoControls:I.default.audioControls,onClick:function(e){return e.stopPropagation()},onDoubleClick:function(e){return e.stopPropagation()},style:this.getAnimatedStyle()},void 0,this.renderPlayIcon(),_?R(k,{current:r,duration:o}):null,a.createElement(c.default,{buffers:t,value:o||0,onDrag:u,onDragEnd:s,onDragStart:d,type:c.default.Types.DURATION,ref:this.setDurationRef}),R("div",{className:T.default.flex},void 0,a.createElement(v.default,{ref:this.setVolumeButtonRef,muted:i,value:y,minValue:0,maxValue:1,currentWindow:window,onValueChange:function(e){return u(e,c.default.Types.VOLUME)},onToggleMute:f,iconClassName:I.default.controlIcon,sliderWrapperClassName:I.default.volumeSliderWrapper})),n)},t}(a.Component);t.Controls=U,U.displayName="Controls",U.defaultProps={disabled:!1};var G=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={translateY:new l.default.Value(0)},t}A(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){var t=this.props.hide;t&&!e.hide?this.animateControls(1):!t&&e.hide&&this.animateControls(0)},n.animateControls=function(e){l.default.spring(this.state.translateY,N({toValue:e},L)).start()},n.getAnimatedStyle=function(){return{transform:[{translateY:this.state.translateY.interpolate({inputRange:[0,1],outputRange:["0%","-100%"]})}]}},n.renderVideoMetadata=function(){var e=this.props,t=e.fileName,n=e.fileSize,r=e.src,a=e.disabled;return R(l.default.div,{className:I.default.metadata,style:this.getAnimatedStyle()},void 0,R("div",{className:I.default.metadataContent},void 0,R("div",{className:I.default.metadataName},void 0,t),R("div",{className:I.default.metadataSize},void 0,n)),!a&&R(d.default,{href:r,target:"_blank",rel:"noreferrer noopener",className:I.default.metadataDownload,"aria-label":O.default.Messages.DOWNLOAD},void 0,R(y.default,{className:I.default.metadataIcon})))},n.renderAudioMetadata=function(){var e=this.props,t=e.fileName,n=e.fileSize,r=e.src,a=e.disabled;return R("div",{className:I.default.audioMetadata},void 0,R("div",{className:I.default.metadataContent},void 0,a?t:R(d.default,{className:I.default.metadataName,href:r},void 0,t),R("div",{className:I.default.metadataSize},void 0,n)),a?t:R(d.default,{href:r,className:I.default.metadataDownload,"aria-label":O.default.Messages.DOWNLOAD},void 0,R(y.default,{className:I.default.metadataIcon})))},n.render=function(){return this.props.type===D.AUDIO?this.renderAudioMetadata():this.renderVideoMetadata()},t}(a.Component);G.displayName="Metadata";var F=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={play:!1,scale:new l.default.Value(0),opacity:new l.default.Value(0)},t.popAnimation=function(){var e=t.state,n=e.opacity,r=e.scale;r.setValue(0),n.setValue(0),l.default.parallel([l.default.sequence([l.default.timing(n,{toValue:1,duration:200}),l.default.timing(n,{toValue:0,duration:200})]),l.default.spring(r,N({toValue:1.5},L,{friction:80}))]).start()},t}A(t,e);var n=t.prototype;return n.pop=function(e){void 0===e&&(e=!1),this.setState({play:e},this.popAnimation)},n.getAnimatedStyle=function(){var e=this.state,t=e.opacity,n=e.scale;return l.default.accelerate({opacity:t.interpolate({inputRange:[0,1],outputRange:[0,.8]}),transform:[{scale:n.interpolate({inputRange:[0,1],outputRange:[1,2]})}]})},n.render=function(){var e=this.state.play?h.default:_.default;return R(l.default.div,{className:I.default.playPausePop,style:this.getAnimatedStyle()},void 0,R(e,{className:I.default.playPausePopIcon}))},t}(a.Component);F.displayName="PlayPausePop";var B=function(e){function t(n){var r;(r=e.call(this,n)||this)._unmounted=!1,r._lastMove=0,r.mediaRef=a.createRef(),r.controlsRef=a.createRef(),r.playPausePopRef=a.createRef(),r.handleFullScreenExit=function(){var e=r.mediaRef.current;if(null!=e){var t=(0,s.getFullScreenNode)(e.parentNode,e);null!=t&&(0,s.isFullScreen)(t)||r.setState({fullscreen:!1})}},r.toggleFullscreen=function(){var e=!r.state.fullscreen;r.setState({fullscreen:e})},r.setMuted=function(e){r.setState({muted:e})},r.toggleMuted=function(){r.setMuted(!r.state.muted)},r.setTime=function(e,t){void 0===t&&(t=!0);var n=r.mediaRef.current;null!=n&&isFinite(n.duration)&&isFinite(n.currentTime)&&(n.currentTime=e,r.updateValue(e/n.duration,t),r.updateTime(e,n.duration))},r.handleUIUpdate=function(){if(r.state.playing&&!r._unmounted){var e=r.mediaRef.current;null!=e&&(e.duration>0&&r.updateValue(e.currentTime/e.duration),r.updateTime(e.currentTime,e.duration),r.updateControlsVisibility(),requestAnimationFrame(r.handleUIUpdate))}},r.handleDrag=function(e,t){var n=r.mediaRef.current;if(t===c.default.Types.DURATION)null!=n&&isFinite(n.duration)&&r.setTime(n.duration*e,!1);else if(t===c.default.Types.VOLUME){var a=(0,u.perceptualToAmplitude)(e,1);0===a?r.setState({muted:!0,volume:a}):r.state.muted&&a>0?r.setState({muted:!1,volume:a}):r.setState({volume:a})}},r.handleLoaded=function(){var e=r.mediaRef.current;null!=e&&(r.updateTime(e.currentTime,e.duration),r.setState({hasLoadedMetadata:!0,currentTime:e.currentTime,duration:e.duration}))},r.handleDurationChange=function(){var e=r.mediaRef.current;null!=e&&(r.updateTime(e.currentTime,e.duration),r.setState({duration:e.duration}))},r.handleBuffer=i.default.debounce((function(){var e=r.mediaRef.current,t=[];if(e)for(var n=e.duration,a=0;a<e.buffered.length;a++){var o=e.buffered.start(a),i=e.buffered.end(a);if(!(i-o<1)){var l=(i-o)/n,u=o/n;t.push([u,l])}}r.setState({buffers:t})}),400),r.handleEnded=function(e){var t=r.props.onEnded;r.setState({playing:!1,hideControls:!1}),null!=t&&t(e)},r.handleMouseMove=function(){r._lastMove=Date.now()},r.handleMouseLeave=function(){r._lastMove=0},r.handlePreload=function(){r.setState({preload:"metadata"})},r.handleVideoClick=function(e){e.stopPropagation();var t=M(r),n=t.state,a=n.hasClickedPlay,o=n.playing,i=t.props,l=i.autoPlay,u=i.autoMute;l&&!a&&o&&u?r.setState({muted:!1,hasClickedPlay:!0}):r.setPlay(!r.state.playing)},r.setPlay=function(e){var t=M(r),n=t.props.autoMute,a=t.state,o=a.hasClickedPlay,i=a.muted;e!==r.state.playing&&(e?r.setState({playing:e,hasClickedPlay:!0,muted:!(!o&&n)&&i}):r.setState({playing:!1,hideControls:!1}))},r.handleDragStart=function(e){r.setState({dragging:e})},r.handleDragEnd=function(){r.setState({dragging:null}),r._lastMove=Date.now()},r.handleKeyDown=function(e){var t=r.mediaRef.current;if(e.which===S.KeyboardKeys.SPACE)e.preventDefault(),r.setPlay(!r.state.playing);else if(e.which>=S.KeyboardKeys.DIGIT_0&&e.which<=S.KeyboardKeys.DIGIT_9&&null!=t){e.preventDefault();var n=(e.which-S.KeyboardKeys.DIGIT_0)/10;t.currentTime=t.duration*n,r.setPlay(!0)}};var o=r.props,l=o.autoPlay,d=o.autoMute,f=o.volume,p=o.playable,v="function"==typeof f?f():f,y="function"==typeof d?d():d;return r.state={buffers:[],currentTime:null,dragging:null,duration:null,fullscreen:!1,hasClickedPlay:!1,hasLoadedMetadata:!1,hideControls:!p,muted:y,volume:v,playing:l,preload:"none",width:t.minWidth,height:t.minHeight},r}A(t,e),t.getDerivedStateFromProps=function(e,t){return!e.playable&&t.playing?{playing:!1,hideControls:!1}:null};var n=t.prototype;return n.componentDidMount=function(){var e=this.state,t=e.playing,n=e.muted,r=e.volume,a=this.mediaRef.current;null!=a&&(n&&(a.muted=n),t&&(this.play(!0),this.handleUIUpdate()),a.volume=r)},n.componentDidUpdate=function(e,t){var n=this.props,r=n.onPause,a=n.onVolumeChange,o=n.onMute,i=this.state,l=i.playing,u=i.fullscreen,d=i.muted,f=i.dragging,p=i.volume,v=this.mediaRef.current,y=this.playPausePopRef.current;if(null!=v){l&&!t.playing?(this.play(),this.handleMouseMove(),this.handleUIUpdate(),t.hasClickedPlay&&y&&y.pop(l)):!l&&t.playing&&(v.pause(),y&&y.pop(l),r&&r());var m=(0,s.getFullScreenNode)(v.parentNode,v);u&&!t.fullscreen&&null!=m?((0,s.requestFullScreen)(m),m.addEventListener(s.FULLSCREEN_CHANGE_EVENT,this.handleFullScreenExit)):!u&&t.fullscreen&&null!=m&&(m.removeEventListener(s.FULLSCREEN_CHANGE_EVENT,this.handleFullScreenExit),(0,s.exitFullScreen)(m)),f===c.default.Types.DURATION&&t.dragging!==c.default.Types.DURATION&&l?v.pause():f!==c.default.Types.DURATION&&t.dragging===c.default.Types.DURATION&&l&&v.play(),d!==t.muted&&(v.muted=d,o&&o(d)),p!==t.volume&&(v.volume=p,a&&a(p))}},n.componentWillUnmount=function(){this._unmounted=!0;var e=this.mediaRef.current;if(null!=e){var t=(0,s.getFullScreenNode)(e.parentNode,e);null!=t&&(t.removeEventListener(s.FULLSCREEN_CHANGE_EVENT,this.handleFullScreenExit),(0,s.exitFullScreen)(t))}},n.play=function(e){void 0===e&&(e=!1);var t=this.props,n=t.onPlay,r=t.volume,a=t.autoMute,o=this.mediaRef.current;if(null!=o){var i={};if("function"==typeof r){var l=r();l!==this.state.volume&&(o.volume=l,i.volume=l)}if("function"==typeof a){var u=a();u!==this.state.muted&&(o.muted=u,i.muted=u)}this.setState(i),o.play(),n&&n(e)}},n.getWidth=function(){var e=this.props.width;return"100%"===e?e:Math.max(e,t.minWidth)},n.getHeight=function(){var e=this.props.height;return"100%"===e?e:Math.max(e,t.minHeight)},n.updateValue=function(e,t){void 0===t&&(t=!0);var n=this.controlsRef.current;null!=n&&n.updateProgress(e,t)},n.updateTime=function(e,t){var n=0|e,r=0|t;this.state.currentTime===n&&this.state.duration===r||this.setState({currentTime:n,duration:r})},n.updateControlsVisibility=function(){var e=this.state,t=e.dragging,n=e.fullscreen?1e3:3e3,r=Math.max(0,Date.now()-this._lastMove)>n;r!==this.state.hideControls&&null==t&&this.setState({hideControls:r})},n.renderVideo=function(){var e=this.props,t=e.src,n=e.poster,r=e.forceExternal,o=e.onError,i=this.state.playing,l=this.getWidth(),u=this.getHeight();return r?R(g.default,{className:I.default.video,controls:!1,height:u,poster:n,width:l,playsInline:!0,autoPlay:i}):a.createElement(g.default,{className:I.default.video,controls:!1,playsInline:!0,autoPlay:i,height:u,onClick:this.handleVideoClick,onEnded:this.handleEnded,onError:o,onLoadedMetadata:this.handleLoaded,onProgress:this.handleBuffer,poster:n,preload:this.state.preload,ref:this.mediaRef,width:l,src:t})},n.renderAudio=function(){return a.createElement("audio",{className:I.default.audio,controls:!1,onClick:this.handleVideoClick,onEnded:this.handleEnded,onLoadedMetadata:this.handleLoaded,onProgress:this.handleBuffer,preload:this.state.preload,ref:this.mediaRef},R("source",{src:this.props.src}))},n.renderControls=function(){var e=this,t=this.props,n=t.type,r=t.autoPlay,o=t.playable,i=void 0===o||o,l=t.renderLinkComponent,s=this.state,d=s.buffers,c=s.currentTime,v=s.duration,y=s.hasClickedPlay,_=s.hideControls,h=s.muted,E=s.playing,g=s.fullscreen,S=s.volume,O=s.dragging,T=this.getWidth();return y||r||n===D.AUDIO?a.createElement(U,{buffers:d,currentTime:c,duration:v,volume:(0,u.amplitudeToPerceptual)(S,1),hide:n===D.VIDEO&&_,muted:h,autoPlay:r,onDrag:this.handleDrag,onDragEnd:this.handleDragEnd,onDragStart:this.handleDragStart,onPause:function(){return e.setPlay(!1)},onPlay:function(){return e.setPlay(!0)},onToggleMuted:this.toggleMuted,playing:E,dragging:O,type:n,ref:this.controlsRef,width:g?window.screen.width:T,disabled:!i},n===D.VIDEO?R(f.default,{onClick:this.toggleFullscreen},void 0,R(m.default,{className:I.default.controlIcon,style:{marginLeft:0}})):null):R("div",{className:I.default.playCenter},void 0,R(p.default,{className:I.default.playButton,onPlay:this.handleVideoClick,renderLinkComponent:l,inactive:!i}))},n.renderMetadata=function(){var e=this.props,t=e.fileName,n=e.fileSize,r=e.src,a=e.type,o=e.playable,i=this.state.hideControls;return null==t||null==n?null:R(G,{fileName:t,fileSize:n,src:r,hide:a===D.VIDEO&&i,type:a,disabled:!o})},n.renderPlayPausePop=function(){return a.createElement(F,{ref:this.playPausePopRef})},n.render=function(){var e=this.props,t=e.height,n=e.type,r=e.src,a=e.forceExternal,i=e.className,l=e.renderLinkComponent,u=this.getWidth(),s=this.state,d=s.fullscreen,f=s.hideControls,c=s.playing,v=s.preload,y=I.default.wrapperPaused;return n===D.AUDIO?y=I.default.wrapperAudio:f?y=I.default.wrapperControlsHidden:c&&(y=I.default.wrapperPlaying),a&&n===D.VIDEO?R("div",{className:y,style:{width:u,height:t}},void 0,this.renderMetadata(),this.renderVideo(),R("div",{className:I.default.playCenter},void 0,R(p.default,{className:I.default.playButton,externalURL:r,renderLinkComponent:l}))):R("div",{className:(0,o.default)(y,i),"data-fullscreen":d,onMouseEnter:"none"===v?this.handlePreload:void 0,onMouseLeave:c?this.handleMouseLeave:void 0,onMouseMove:c?this.handleMouseMove:void 0,onKeyDown:this.handleKeyDown,style:d?w:{width:u,height:n===D.AUDIO?"auto":t}},void 0,this.renderMetadata(),n===D.AUDIO?this.renderAudio():this.renderVideo(),this.renderControls(),n===D.VIDEO?this.renderPlayPausePop():null)},t}(a.PureComponent);B.displayName="MediaPlayer",B.Types=D,B.defaultProps={width:400,height:300,forceExternal:!1,playable:!0,autoPlay:!1,autoMute:!1,volume:1},B.minWidth=150,B.minHeight=110;var H=B;t.default=H},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),i=u(n(273)),l=u(n(7433));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(){return(f=Object.assign||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}).apply(this,arguments)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v={friction:14,tension:200},y={DURATION:"DURATION",VOLUME:"VOLUME"};function m(e){var t=0|e,n=t%60;return(t-n)/60+":"+String(n).padStart(2,"0")}var _=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={animatedProgress:new i.default.Value(0),dragging:!1,offsetLeft:0,offsetWidth:0,previewWidth:new i.default.Value(0)},t.handlePreviewChange=function(){var e=c(t),n=e.bubble,r=e.state,a=r.dragging,o=r.previewWidth,i=e.props.value;a||null==n||(n.innerText=m(o._value*i))},t.handleAnimatedChange=function(){var e=c(t),n=e.bubble,r=e.state,a=r.dragging,o=r.animatedProgress,i=e.props.value;a&&null!=n&&(n.innerText=m(o._value*i))},t.handleMouseMove=function(e){var n=t.state,r=n.dragging,a=n.previewWidth;if(!r){var o=e.clientX,i=e.clientY;a.setValue(t.calculatePercentage(o,i))}},t.handleDragMove=function(e){var n=t.props,r=n.onDrag,a=n.type,o=e.clientX,i=e.clientY;r(t.calculatePercentage(o,i),a)},t.handleDragStart=function(e){var n=t.props,r=n.onDragStart,a=n.onDrag,o=n.type,i=n.currentWindow,l=e.clientX,u=e.clientY;if(e.preventDefault(),null!=t.wrapper){var s=t.wrapper.getBoundingClientRect(),d=s.left,f=s.width;t.setState({dragging:!0,offsetLeft:d,offsetWidth:f},(function(){r(o),a(t.calculatePercentage(l,u),o),i.removeEventListener("mouseup",t.handleDragEnd,!1),i.removeEventListener("mousemove",t.handleDragMove,!1),i.addEventListener("mouseup",t.handleDragEnd,!1),i.addEventListener("mousemove",t.handleDragMove,!1)}))}},t.handleDragEnd=function(){var e=t.props,n=e.onDragEnd,r=e.currentWindow;n(),r.removeEventListener("mouseup",t.handleDragEnd,!1),r.removeEventListener("mousemove",t.handleDragMove,!1),t.setState({dragging:!1})},t.setBubbleRef=function(e){null==e?t.bubble=null:null!=e.componentRef?t.bubble=e.componentRef:null!=e.refs&&(t.bubble=e.refs.node)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var u=r.prototype;return u.componentDidMount=function(){var e=this.state,t=e.previewWidth,n=e.animatedProgress;t.addListener(this.handlePreviewChange),n.addListener(this.handleAnimatedChange)},u.componentWillUnmount=function(){var e=this.state,t=e.previewWidth,n=e.animatedProgress;t.removeListener(this.handlePreviewChange),n.removeListener(this.handleAnimatedChange),window.removeEventListener("mouseup",this.handleDragEnd,!1),window.removeEventListener("mousemove",this.handleDragMove,!1)},u.componentDidUpdate=function(e,t){var n=this.state,r=n.dragging,a=n.previewWidth,o=n.animatedProgress;!r&&t.dragging&&a.setValue(o._value)},u.setGrabber=function(e,t){void 0===t&&(t=!0);var n=this.state.animatedProgress;t?i.default.spring(n,f({toValue:e},v)).start():n.setValue(e)},u.calculatePercentage=function(e,t){var n=this.wrapper,r=this.props.type;if(null==n)return 0;var a=n.getBoundingClientRect(),o=a.left,i=a.width,l=a.bottom,u=a.height,s=r===y.VOLUME?(l-t)/u:(e-o)/i;return Math.min(1,Math.max(0,s))},u.render=function(){var e=this,t=this.props,n=t.buffers,r=t.type,u=t.className,s=t.sliderClassName,f=this.state,c=f.dragging,p=f.previewWidth,v=f.animatedProgress,m=c?v:p;return d("div",{className:(0,o.default)(u,r===y.VOLUME?l.default.vertical:l.default.horizontal)},void 0,a.createElement("div",{className:(0,o.default)(s,c?l.default.mediaBarInteractionDragging:l.default.mediaBarInteraction,r===y.VOLUME?l.default.mediaBarInteractionVolume:null),onMouseDown:this.handleDragStart,onMouseMove:this.handleMouseMove,ref:function(t){return e.wrapper=t}},d("div",{className:(0,o.default)(l.default.mediaBarWrapper,r===y.VOLUME?l.default.mediaBarWrapperVolume:null)},void 0,null!=n?n.map((function(e,t){var n=e[0],r=e[1];return d("div",{className:l.default.buffer,style:{width:100*r+"%",left:100*n+"%"}},t)})):null,r===y.DURATION?d(i.default.div,{className:l.default.mediaBarPreview,style:{width:p.interpolate({inputRange:[0,1],outputRange:["0%","100%"]})}}):null,d(i.default.div,{className:l.default.mediaBarProgress,style:{width:v.interpolate({inputRange:[0,1],outputRange:["0%","100%"]})}},void 0,d("span",{className:l.default.mediaBarGrabber})),r===y.DURATION?a.createElement(i.default.div,{ref:this.setBubbleRef,className:l.default.bubble,style:{left:m.interpolate({inputRange:[0,1],outputRange:["0%","100%"]})}}):null)))},r}(a.Component);_.displayName="MediaBar",_.Types=y,_.defaultProps={currentWindow:window};var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(8289),i=d(n(8337)),l=d(n(8799)),u=n(1),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n),r.prototype.render=function(){var e=this.props,t=e.src,n=e.fileSize,r=e.className,d=e.mediaPlayerClassName,f=e.poster,v=e.fileName,y=e.naturalWidth,m=e.naturalHeight,_=e.playable,h=e.volume,E=e.autoPlay,g=e.autoMute,S=e.renderLinkComponent,O=e.onPlay,I=e.onEnded,T=e.onVolumeChange,C=e.onMute,b=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["src","fileSize","className","mediaPlayerClassName","poster","fileName","naturalWidth","naturalHeight","playable","volume","autoPlay","autoMute","renderLinkComponent","onPlay","onEnded","onVolumeChange","onMute"]);return a.createElement(i.default,c({alt:s.default.Messages.VIDEO,className:r,src:f},b,{minWidth:l.default.minWidth,minHeight:l.default.minHeight,shouldLink:!1,shouldAnimate:!1}),(function(e){var r=e.src,a=e.size,i=a.width,s=a.height,f=!(y<=u.MAX_VIDEO_WIDTH&&m<=u.MAX_VIDEO_HEIGHT||y<=u.MAX_VIDEO_HEIGHT&&m<=u.MAX_VIDEO_WIDTH);return p(l.default,{className:d,forceExternal:f,src:t,poster:r,width:i,height:s,volume:h,autoPlay:E||!1,autoMute:g||!1,type:l.default.Types.VIDEO,fileName:v,fileSize:null==n?void 0:(0,o.sizeString)(n),playable:_,renderLinkComponent:S,onPlay:O,onEnded:I,onVolumeChange:T,onMute:C})}))},r}(a.Component);t.default=y,y.displayName="LazyVideo"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?20:t,r=e.height,a=void 0===r?20:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({viewBox:"0 0 20 20"},(0,i.default)(c),{width:n,height:a}),s("path",{fill:d,className:f,d:"M12.9297 3.25007C12.7343 3.05261 12.4154 3.05226 12.2196 3.24928L11.5746 3.89824C11.3811 4.09297 11.3808 4.40733 11.5739 4.60245L16.5685 9.64824C16.7614 9.84309 16.7614 10.1569 16.5685 10.3517L11.5739 15.3975C11.3808 15.5927 11.3811 15.907 11.5746 16.1017L12.2196 16.7507C12.4154 16.9477 12.7343 16.9474 12.9297 16.7499L19.2604 10.3517C19.4532 10.1568 19.4532 9.84314 19.2604 9.64832L12.9297 3.25007Z"}),s("path",{fill:d,className:f,d:"M8.42616 4.60245C8.6193 4.40733 8.61898 4.09297 8.42545 3.89824L7.78047 3.24928C7.58466 3.05226 7.26578 3.05261 7.07041 3.25007L0.739669 9.64832C0.5469 9.84314 0.546901 10.1568 0.739669 10.3517L7.07041 16.7499C7.26578 16.9474 7.58465 16.9477 7.78047 16.7507L8.42545 16.1017C8.61898 15.907 8.6193 15.5927 8.42616 15.3975L3.43155 10.3517C3.23869 10.1569 3.23869 9.84309 3.43155 9.64824L8.42616 4.60245Z"}))}d.displayName="InlineCode"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color"]);return o.createElement("svg",u({},(0,i.default)(f),{width:n,height:a,viewBox:"0 0 16 16"}),s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.6572 5.42868C13.8879 5.29002 14.1806 5.30402 14.3973 5.46468C14.6133 5.62602 14.7119 5.90068 14.6473 6.16202L13.3139 11.4954C13.2393 11.7927 12.9726 12.0007 12.6666 12.0007H3.33325C3.02725 12.0007 2.76058 11.792 2.68592 11.4954L1.35258 6.16202C1.28792 5.90068 1.38658 5.62602 1.60258 5.46468C1.81992 5.30468 2.11192 5.29068 2.34325 5.42868L5.13192 7.10202L7.44592 3.63068C7.46173 3.60697 7.48377 3.5913 7.50588 3.57559C7.5192 3.56612 7.53255 3.55663 7.54458 3.54535L6.90258 2.90268C6.77325 2.77335 6.77325 2.56068 6.90258 2.43135L7.76458 1.56935C7.89392 1.44002 8.10658 1.44002 8.23592 1.56935L9.09792 2.43135C9.22725 2.56068 9.22725 2.77335 9.09792 2.90268L8.45592 3.54535C8.46794 3.55686 8.48154 3.56651 8.49516 3.57618C8.51703 3.5917 8.53897 3.60727 8.55458 3.63068L10.8686 7.10202L13.6572 5.42868ZM2.66667 12.6673H13.3333V14.0007H2.66667V12.6673Z",fill:d,"aria-hidden":!0}))}d.displayName="Crown"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 16 16"}),s("path",{className:f,fill:d,d:"M6,7 L2,7 L2,6 L6,6 L6,7 Z M8,5 L2,5 L2,4 L8,4 L8,5 Z M8,3 L2,3 L2,2 L8,2 L8,3 Z M8.88888889,0 L1.11111111,0 C0.494444444,0 0,0.494444444 0,1.11111111 L0,8.88888889 C0,9.50253861 0.497461389,10 1.11111111,10 L8.88888889,10 C9.50253861,10 10,9.50253861 10,8.88888889 L10,1.11111111 C10,0.494444444 9.5,0 8.88888889,0 Z",transform:"translate(3 3)"}))}d.displayName="RichActivity"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CheckboxItem",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"MenuCheckboxItemProps",{enumerable:!0,get:function(){return a.MenuCheckboxItemProps}}),Object.defineProperty(t,"ControlItem",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"MenuControlItemProps",{enumerable:!0,get:function(){return o.MenuControlItemProps}}),Object.defineProperty(t,"CustomItem",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"MenuCustomItemProps",{enumerable:!0,get:function(){return i.MenuCustomItemProps}}),Object.defineProperty(t,"MenuCustomItemRenderProps",{enumerable:!0,get:function(){return i.MenuCustomItemRenderProps}}),Object.defineProperty(t,"Group",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"MenuGroupProps",{enumerable:!0,get:function(){return l.MenuGroupProps}}),Object.defineProperty(t,"Item",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"MenuItemProps",{enumerable:!0,get:function(){return u.MenuItemProps}}),Object.defineProperty(t,"RadioItem",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"MenuRadioItemProps",{enumerable:!0,get:function(){return s.MenuRadioItemProps}}),Object.defineProperty(t,"Separator",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"SubmenuItem",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"MenuSubmenuItemProps",{enumerable:!0,get:function(){return f.MenuSubmenuItemProps}}),Object.defineProperty(t,"SubmenuListItem",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"MenuSubmenuListItemProps",{enumerable:!0,get:function(){return c.MenuSubmenuListItemProps}});var r,a=v(n(8806)),o=v(n(8809)),i=v(n(8810)),l=v(n(8811)),u=v(n(8812)),s=v(n(8813)),d=(r=n(8814))&&r.__esModule?r:{default:r},f=v(n(8815)),c=v(n(8816));function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(9)),i=c(n(61)),l=c(n(8807)),u=c(n(8808)),s=c(n(8427)),d=n(8256),f=c(n(7340));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t,n=e.color,r=void 0===n?d.MenuItemColor.DEFAULT:n,c=e.label,p=e.checked,m=e.subtext,_=e.disabled,h=e.isFocused,E=e.menuItemProps,g=e.action;return a.createElement(i.default,v({className:(0,o.default)(f.default.item,f.default.labelContainer,f.default[r],(t={},t[f.default.disabled]=_,t[f.default.focused]=h,t)),onClick:_?void 0:g},E,{"aria-checked":p,"aria-disabled":_}),y("div",{className:f.default.label},void 0,(0,s.default)(c,e),null!=m&&y("div",{className:f.default.subtext},void 0,m)),y("div",{className:f.default.iconContainer},void 0,p?y(u.default,{className:f.default.icon,background:f.default.checkbox,foreground:f.default.check}):y(l.default,{className:f.default.icon,foreground:f.default.checkboxEmpty})))}m.displayName="MenuCheckboxItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.className,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","className","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{className:f,width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.625 3H5.375C4.06519 3 3 4.06519 3 5.375V18.625C3 19.936 4.06519 21 5.375 21H18.625C19.936 21 21 19.936 21 18.625V5.375C21.0057 4.08803 19.9197 3 18.625 3ZM19 19V5H4.99999V19H19Z",className:c,fill:d}))}d.displayName="Checkbox"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.className,c=e.background,p=e.foreground,v=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","className","background","foreground"]);return o.createElement("svg",u({},(0,i.default)(v),{className:f,width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.37499 3H18.625C19.9197 3 21.0056 4.08803 21 5.375V18.625C21 19.936 19.9359 21 18.625 21H5.37499C4.06518 21 3 19.936 3 18.625V5.375C3 4.06519 4.06518 3 5.37499 3Z",className:c,fill:d}),s("path",{d:"M9.58473 14.8636L6.04944 11.4051L4.50003 12.9978L9.58473 18L19.5 8.26174L17.9656 6.64795L9.58473 14.8636Z",className:p,fill:d}))}d.displayName="CheckboxChecked"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),i=n(8256),l=u(n(7340));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t,n=e.color,r=void 0===n?i.MenuItemColor.DEFAULT:n,u=e.label,s=e.control,c=e.disabled,p=e.isFocused,v=e.showDefaultFocus,y=void 0!==v&&v,m=e.menuItemProps,_=e.onClose,h=a.useRef(null);a.useLayoutEffect((function(){var e,t,n;p?null===(e=h.current)||void 0===e||e.focus():null===(t=h.current)||void 0===t||null===(n=t.blur)||void 0===n||n.call(t)}),[p]);var E=a.useCallback((function(){var e,t;(null===(e=h.current)||void 0===e||null===(t=e.activate)||void 0===t?void 0:t.call(e))&&_()}),[_]),g=s({onClose:_,disabled:c,isFocused:p},h);return a.createElement("div",d({onClick:E,className:(0,o.default)(l.default.item,l.default[r],(t={},t[l.default.disabled]=c,t[l.default.focused]=y&&p,t[l.default.hideInteraction]=!y,t)),"aria-disabled":c},m),null!=u?f("div",{className:l.default.labelContainer},void 0,f("div",{className:l.default.label},void 0,u)):null,g)}c.displayName="MenuControlItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=u(n(9)),o=u(n(61)),i=n(8256),l=u(n(7340));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e){var t,n=e.children,u=e.color,s=void 0===u?i.MenuItemColor.DEFAULT:u,f=e.isFocused,c=void 0!==f&&f,p=e.disabled,v=void 0!==p&&p,y=e.keepItemStyles,m=void 0!==y&&y,_=e.menuItemProps,h=e.action,E=e.onClose,g=r.useCallback((function(e){if(null==h)return!1;E(),e.persist(),requestAnimationFrame((function(){return h(e)}))}),[h,E]),S=m?(0,a.default)(l.default.item,l.default[s],((t={})[l.default.focused]=c,t)):l.default.customItem;return r.createElement(o.default,d({className:S,onClick:v?void 0:g,"aria-disabled":v},_),n({color:s,disabled:v,isFocused:c}))}f.displayName="MenuCustomItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(9)),o=n(8256),i=l(n(7340));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.contents,n=e.label,r=e.className,l=e.color,u=void 0===l?o.MenuItemColor.DEFAULT:l;return 0===t.length?null:s("div",{"aria-label":n,role:"group",className:r},void 0,null!=n?s("div",{className:(0,a.default)(i.default.groupLabel,i.default[u])},void 0,n):null,t)}d.displayName="MenuGroup"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(9)),i=c(n(61)),l=c(n(8320)),u=c(n(8427)),s=n(8256),d=c(n(8554)),f=c(n(7340));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t,n=e.color,r=void 0===n?s.MenuItemColor.DEFAULT:n,c=e.label,p=e.icon,m=e.showIconFirst,_=void 0!==m&&m,h=e.imageUrl,E=e.hint,g=e.subtext,S=e.hasSubmenu,O=e.disabled,I=e.isFocused,T=e.menuItemProps,C=e.action,b=e.onClose,M=a.useContext(d.default),N=a.useCallback((function(e){if(null==C)return!1;b(),e.persist(),null==M||M(),requestAnimationFrame((function(){return C(e)}))}),[C,b,M]);return a.createElement(i.default,v({className:(0,o.default)(f.default.item,f.default.labelContainer,f.default[r],(t={},t[f.default.disabled]=O,t[f.default.focused]=I,t)),onClick:O?void 0:N,"aria-disabled":O},T),_&&null!=p&&y("div",{className:f.default.iconContainerLeft},void 0,y(p,{className:f.default.icon})),y("div",{className:f.default.label},void 0,(0,u.default)(c,e),null!=g&&y("div",{className:f.default.subtext},void 0,g)),null!=E&&y("div",{className:f.default.hintContainer},void 0,(0,u.default)(E,e)),!_&&null!=p&&y("div",{className:f.default.iconContainer},void 0,y(p,{className:f.default.icon})),null!=h&&y("div",{className:f.default.imageContainer},void 0,y("img",{className:f.default.image,src:(0,u.default)(h,e),alt:""})),S&&y("div",{className:f.default.iconContainer},void 0,y(l.default,{className:f.default.caret})))}m.displayName="MenuItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(9)),i=c(n(61)),l=c(n(750)),u=c(n(751)),s=c(n(8427)),d=n(8256),f=c(n(7340));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t,n=e.color,r=void 0===n?d.MenuItemColor.DEFAULT:n,c=e.label,p=e.checked,m=e.subtext,_=e.disabled,h=e.isFocused,E=e.menuItemProps,g=e.action;return a.createElement(i.default,v({className:(0,o.default)(f.default.item,f.default.labelContainer,f.default[r],(t={},t[f.default.disabled]=_,t[f.default.focused]=h,t)),onClick:_?void 0:g},E,{"aria-checked":p,"aria-disabled":_}),y("div",{className:f.default.label},void 0,(0,s.default)(c,e),null!=m&&y("div",{className:f.default.subtext},void 0,m)),y("div",{className:f.default.iconContainer},void 0,p?y(u.default,{className:f.default.icon,background:f.default.radio,foreground:f.default.radioSelection}):y(l.default,{className:f.default.icon,foreground:f.default.radio})))}m.displayName="MenuRadioItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a,o=(r=n(7340))&&r.__esModule?r:{default:r};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function u(){return l("div",{role:"separator",className:o.default.separator})}u.displayName="MenuSeparator"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r,a=d(n(0)),o=d(n(250)),i=u(n(272)),l=u(n(7340));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function f(){return(f=Object.assign||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}).apply(this,arguments)}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.parentItem,n=e.isFocused,r=e.menuSubmenuProps,u=e.renderSubmenu,s=a.useRef(null),d=a.useRef(null);return a.useLayoutEffect((function(){var e;n&&(null===(e=d.current)||void 0===e||e.focus())}),[n]),c("div",{className:l.default.submenuContainer},void 0,a.createElement("div",{ref:s}),t,n?c(o.default,{reference:s,autoInvert:!0,nudgeAlignIntoViewport:!0,fixed:!0,spacing:4,position:o.Positions.RIGHT,align:o.Align.TOP},void 0,(function(){return c("div",{className:l.default.submenuPaddingContainer},void 0,a.createElement("div",f({className:l.default.submenu},r,{ref:d}),c(i.default,{className:l.default.scroller},void 0,u())))})):null)}p.displayName="MenuSubmenuItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r,a=d(n(0)),o=u(n(8362)),i=d(n(250)),l=u(n(7340));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e){var t=e.parentItem,n=e.isFocused,r=e.menuSubmenuProps,u=e.rows,s=e.rowHeight,d=e.onScroll,p=e.listClassName,v=a.useRef(null),y=a.useRef(null),m=a.useRef(null);a.useLayoutEffect((function(){var e;n&&(null===(e=y.current)||void 0===e||e.focus())}),[n]);var _=a.useCallback((function(e){return u[e]}),[u]);return f("div",{className:l.default.submenuContainer},void 0,a.createElement("div",{ref:v}),t,n?f(i.default,{reference:v,autoInvert:!0,nudgeAlignIntoViewport:!0,fixed:!0,spacing:4,position:i.Positions.RIGHT,align:i.Align.TOP},void 0,(function(){return u.length>0&&f("div",{className:l.default.submenuPaddingContainer},void 0,a.createElement("div",c({className:l.default.submenu},r,{ref:y}),a.createElement(o.default,{ref:m,className:p,listPadding:[6,0,6,8],onScroll:d,renderRow:_,rowCount:u.length,rowHeight:s})))})):null)}p.displayName="MenuSubmenuListItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){switch(t){case a.SpotifyActionTypes.USER_ACTIVITY_PLAY:return e.hasSpotifyAccount?o.default.Messages.USER_ACTIVITY_PLAY_ON_PLATFORM.format({platform:a.SPOTIFY_PLATFORM_NAME}):o.default.Messages.USER_ACTIVITY_CONNECT_PLATFORM.format({platform:a.SPOTIFY_PLATFORM_NAME});case a.SpotifyActionTypes.EMBED_SYNC:return e.hasSpotifyAccount?e.syncingWithUser||e.syncingWithParty?o.default.Messages.INVITE_EMBED_JOINED:o.default.Messages.JOIN:o.default.Messages.USER_ACTIVITY_CONNECT_PLATFORM.format({platform:a.SPOTIFY_PLATFORM_NAME});case a.SpotifyActionTypes.USER_ACTIVITY_SYNC:default:return}};var r,a=n(293),o=(r=n(6))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){a.default.track(l.AnalyticEvents.SPOTIFY_BUTTON_CLICKED,{type:e,source:r,is_premium:(0,i.isSpotifyPremium)(),party_id:u.includes(e)&&null!=(null==n?void 0:n.party)?n.party.id:null,other_user_id:t.id})};var r,a=(r=n(13))&&r.__esModule?r:{default:r},o=n(293),i=n(8498),l=n(1);var u=[o.SpotifyActionTypes.USER_ACTIVITY_SYNC,o.SpotifyActionTypes.EMBED_SYNC]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!e||((0,a.default)(o.PlatformTypes.SPOTIFY,"Spotify Button"),!1)};var r,a=(r=n(8377))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=k();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=j(n(9)),i=n(3),l=j(n(14)),u=j(n(8338)),s=n(5943),d=n(8277),f=n(280),c=j(n(11)),p=j(n(56)),v=j(n(15)),y=j(n(40)),m=j(n(12)),_=j(n(29)),h=j(n(467)),E=j(n(61)),g=j(n(8496)),S=n(1149),O=j(n(153)),I=j(n(149)),T=j(n(159)),C=j(n(5686)),b=n(35),M=n(8263),N=j(n(47)),A=j(n(24)),P=j(n(13)),R=j(n(150)),L=n(1),D=j(n(6)),w=j(n(7450));function j(e){return e&&e.__esModule?e:{default:e}}function k(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return k=function(){return e},e}function U(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function G(){return(G=Object.assign||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}).apply(this,arguments)}function F(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function B(e,t,n){var r,a;return null!=e?e:null===e?null!==(a=n.avatar)&&void 0!==a?a:null:null!=t&&null!=t.guildMemberAvatar?t.guildMemberAvatar:null!==(r=n.avatar)&&void 0!==r?r:null}var H={page:L.AnalyticsPages.GUILD_CHANNEL,section:L.AnalyticsSections.CHANGE_GUILD_MEMBER_AVATAR};function x(e){var t=e.onClose;a.useEffect((function(){P.default.track(L.AnalyticEvents.PREMIUM_UPSELL_VIEWED,{type:f.PremiumUpsellTypes.GUILD_MEMBER_AVATAR_INLINE,source:H})}),[]);return F(E.default,{className:w.default.upsellCard,onClick:function(){(0,s.showModalUpsell)({onCloseChangeIdentity:t,analyticsSource:L.AnalyticsLocations.CHANGE_IDENTITY_MODAL,analyticsLocation:H})}},void 0,F(C.default,{width:22,height:22,className:w.default.upsellIcon,color:S.GradientCssUrls.PREMIUM_TIER_2}),F(A.default,{tag:"span",className:w.default.upsellText,size:A.default.Sizes.SIZE_12},void 0,D.default.Messages.CHANGE_IDENTITY_MODAL_UPSELL.format()))}function V(e){var t,n=e.disabled,r=void 0!==n&&n,i=e.user,l=e.setNickname,u=e.nickname,s=e.error,d=e.hasNick,f=a.useRef(null),p=a.useCallback((function(){var e;l(""),null===(e=f.current)||void 0===e||e.focus()}),[l]);return a.createElement(a.Fragment,null,r||null==i||i.id===c.default.getId()?null:F(h.default,{type:h.default.Types.WARNING,className:w.default.card},void 0,F(A.default,{className:w.default.warning,size:A.default.Sizes.SIZE_16},void 0,D.default.Messages.CHANGE_NICKNAME_WARNING)),F(T.default,{className:(0,o.default)(w.default.itemGroup,(t={},t[w.default.disabled]=r,t))},void 0,r?D.default.Messages.CHANGE_IDENTITY_MODAL_CHANGE_NICKNAME_DISABLED:D.default.Messages.NICKNAME),F(O.default,{disabled:r,inputRef:f,value:u,placeholder:i.toString(),onChange:l,autoFocus:!0}),null!=s?F(A.default,{size:A.default.Sizes.SIZE_12,color:A.default.Colors.STATUS_RED,className:w.default.nickError},void 0,s):null,d&&!r?F(_.default,{look:_.default.Looks.LINK,color:_.default.Colors.LINK,size:_.default.Sizes.NONE,onClick:p,className:w.default.reset},void 0,D.default.Messages.RESET_NICKNAME):null)}function W(e){var t,n=e.pendingGuildMemberAvatar,r=e.setPendingGuildMemberAvatar,i=e.user,l=e.guildMember,s=e.error,d=e.hasPremium,f=e.onClose,c=a.useCallback((function(e){if(null===n||null==(null==l?void 0:l.guildMemberAvatar)){var t=i.merge({avatar:e});return R.default.getUserAvatarURL(t||i,!0)}if(null==l)return"";var r=G({},l,{guildMemberAvatar:e});return R.default.getGuildMemberAvatarURL(r,!0)}),[i,l,n]),p=F(u.default,{hint:D.default.Messages.CHANGE_IDENTITY_MODAL_UPLOADER_CTA,showIcon:!0,showRemoveButton:!1,avatar:B(n,l,i),onChange:r,makeURL:c,className:w.default.avatarUploader,avatarClassName:w.default.avatarUploaderInner});return d||(p=F(g.default,{},void 0,p)),a.createElement(a.Fragment,null,F(T.default,{className:w.default.perServerAvatarTitle},void 0,F(C.default,{width:16,height:16,className:w.default.serverAvatarPremiumIcon}),D.default.Messages.CHANGE_IDENTITY_MODAL_PER_SERVER_SECTION.format({betaBadgeHook:function(e,t){return F(I.default,{text:D.default.Messages.CHANGE_IDENTITY_BETA_TOOLTIP},void 0,(function(n){return a.createElement(M.TextBadge,G({},n,{text:e,className:w.default.betaBadge,key:t,color:L.Colors.BRAND_NEW}))}))}})),d?null:F(x,{onClose:f}),F("div",{className:(0,o.default)((t={},t[w.default.disabled]=!d,t))},void 0,p,null!=s?F(A.default,{size:A.default.Sizes.SIZE_12,color:A.default.Colors.STATUS_RED,className:w.default.avatarError},void 0,s):null,null!=(null==l?void 0:l.guildMemberAvatar)?F(_.default,{look:_.default.Looks.LINK,color:_.default.Colors.LINK,size:_.default.Sizes.NONE,onClick:function(){return r(null)},className:w.default.reset},void 0,D.default.Messages.CHANGE_IDENTITY_MODAL_RESET_PRIMARY_AVATAR):null))}function Y(e){var t,n=e.transitionState,r=e.user,o=e.guildId,u=e.onClose,f=e.analyticsSource,c=(0,i.useStateFromStores)([p.default],(function(){return null!=o?p.default.getMember(o,r.id):null})),h=(0,i.useStateFromStores)([y.default,m.default,v.default],(function(){var e,t=v.default.getGuild(o);return null!=t&&((null===(e=m.default.getNullableCurrentUser())||void 0===e?void 0:e.id)===r.id?y.default.can(L.Permissions.CHANGE_NICKNAME,t)||y.default.can(L.Permissions.MANAGE_NICKNAMES,t):y.default.canManageUser(L.Permissions.MANAGE_NICKNAMES,r.id,t))})),E=(0,i.useStateFromStores)([m.default],(function(){var e;return(null===(e=m.default.getNullableCurrentUser())||void 0===e?void 0:e.premiumType)===L.PremiumTypes.TIER_2})),g=(0,s.useAndTriggerGuildMemberAvatarExperiment)(),S=(null===(t=m.default.getNullableCurrentUser())||void 0===t?void 0:t.id)===r.id,O=a.useState(!1),I=O[0],T=O[1],C=a.useState((null==c?void 0:c.nick)||""),M=C[0],R=C[1],j=a.useState({}),k=j[0],G=j[1],B=a.useState(void 0),H=B[0],x=B[1];a.useEffect((function(){return P.default.track(L.AnalyticEvents.OPEN_MODAL,{type:"Change Server Identity",location:L.AnalyticsPages.GUILD_CHANNEL,source:f}),function(){S&&g&&(0,d.hideHotspot)(d.HotspotLocations.GUILD_PER_SERVER_AVATAR_BADGE)}}),[]);var Y=a.useCallback(function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var n,a,i,s,d,f,p,v,y,m,_,h,E;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),a=null,M!==(null!==(n=null==c?void 0:c.nick)&&void 0!==n?n:"")&&((a=a||{}).nick=M),S&&void 0!==H&&((a=a||{}).avatar=H),null!=a){e.next=7;break}return u(),e.abrupt("return");case 7:return e.prev=7,T(!0),e.next=11,l.default.patch({url:S?L.Endpoints.SET_GUILD_MEMBER(o):L.Endpoints.GUILD_MEMBER(o,r.id),body:a});case 11:u(),e.next=21;break;case 14:e.prev=14,e.t0=e.catch(7),T(!1),null!=(null==(p=null!==(i=null===(s=e.t0.body)||void 0===s?void 0:s.errors)&&void 0!==i?i:null)?void 0:p.nick)&&(f=(null===(v=p.nick)||void 0===v||null===(y=v._errors)||void 0===y||null===(m=y[0])||void 0===m?void 0:m.message)||D.default.Messages.CHANGE_IDENTITY_MODAL_UNKNOWN_ERROR),null!=(null==p?void 0:p.avatar)&&(d=(null===(_=p.avatar)||void 0===_||null===(h=_._errors)||void 0===h||null===(E=h[0])||void 0===E?void 0:E.message)||D.default.Messages.CHANGE_IDENTITY_MODAL_UNKNOWN_ERROR),G({avatar:d,nick:f});case 21:case"end":return e.stop()}}),e,null,[[7,14]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){U(o,r,a,i,l,"next",e)}function l(e){U(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}(),[o,S,M,u,r,c,H]);return F(b.ModalRoot,{"aria-label":D.default.Messages.CHANGE_IDENTITY_MODAL_TITLE,transitionState:n},void 0,F("form",{onSubmit:Y},void 0,F(b.ModalHeader,{separator:!1},void 0,F(N.default,{tag:N.default.Tags.H2,size:N.default.Sizes.SIZE_20},void 0,S&&g?D.default.Messages.CHANGE_IDENTITY:D.default.Messages.CHANGE_NICKNAME)),F(b.ModalContent,{className:w.default.modalContent},void 0,g&&S?F(A.default,{size:A.default.Sizes.SIZE_14,className:w.default.identityDescription},void 0,D.default.Messages.CHANGE_IDENTITY_MODAL_DESCRIPTION):null,F(V,{disabled:!h,user:r,error:k.nick,nickname:M,setNickname:R,hasNick:null!=(null==c?void 0:c.nick)}),g&&S?F(W,{hasPremium:E,error:k.avatar,user:r,pendingGuildMemberAvatar:H,setPendingGuildMemberAvatar:x,guildMember:c,onClose:u}):null),F(b.ModalFooter,{},void 0,F(_.default,{type:"submit",disabled:I},void 0,D.default.Messages.SAVE),F(_.default,{onClick:u,look:_.default.Looks.LINK,color:_.default.Colors.PRIMARY},void 0,D.default.Messages.CANCEL))))}x.displayName="UpsellCard",Y.displayName="ChangeIdentity";var z=Y;t.default=z},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,a.useStateFromStores)([l.default],(function(){return l.default.getNote(e)}));return r.useEffect((function(){null==t&&function(e){p.apply(this,arguments)}(e)}),[t,e]),t||{loading:!0,note:null}};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(3),o=s(n(14)),i=s(n(2)),l=s(n(9301)),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){f(o,r,a,i,l,"next",e)}function l(e){f(o,r,a,i,l,"throw",e)}i(void 0)}))}}function p(){return(p=c(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i.default.dirtyDispatch({type:u.ActionTypes.USER_NOTE_LOAD_START,userId:t}),e.prev=1,e.next=4,o.default.get({url:u.Endpoints.NOTE(t),oldFormErrors:!0});case 4:n=e.sent,r=n.body,i.default.dispatch({type:u.ActionTypes.USER_NOTE_LOADED,userId:t,note:r}),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(1),i.default.dispatch({type:u.ActionTypes.USER_NOTE_LOADED,userId:t});case 12:case"end":return e.stop()}}),e,null,[[1,9]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=F,t.UserBannerTypes=void 0;var r,a,o,i,l,u=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=D();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),s=L(n(9)),d=n(3),f=L(n(473)),c=n(123),p=L(n(8555)),v=n(280),y=L(n(9107)),m=L(n(11)),_=L(n(12)),h=L(n(161)),E=L(n(61)),g=L(n(8722)),S=L(n(149)),O=L(n(5686)),I=L(n(1215)),T=n(41),C=n(8263),b=L(n(13)),M=L(n(150)),N=L(n(96)),A=n(1),P=L(n(6)),R=L(n(7453));function L(e){return e&&e.__esModule?e:{default:e}}function D(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return D=function(){return e},e}function w(e,t,n,r){o||(o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&a)for(var s in a)void 0===t[s]&&(t[s]=a[s]);else t||(t=a||{});return{$$typeof:o,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function j(){return(j=Object.assign||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}).apply(this,arguments)}t.UserBannerTypes=i,function(e){e[e.POPOUT=0]="POPOUT",e[e.PROFILE=1]="PROFILE",e[e.SETTINGS=2]="SETTINGS"}(i||(t.UserBannerTypes=i={})),function(e){e[e.SHOULD_LOAD=0]="SHOULD_LOAD",e[e.LOADING=1]="LOADING",e[e.COMPLETE=2]="COMPLETE"}(l||(l={}));var k=((r={})[i.POPOUT]=18,r[i.PROFILE]=24,r[i.SETTINGS]=0,r),U=((a={})[i.POPOUT]=R.default.bannerOverlayPopout,a[i.PROFILE]=R.default.bannerOverlayProfile,a[i.SETTINGS]=R.default.bannerOverlayHidden,a);function G(e){var t=e.type,n=e.shown,r=e.onClick,a=(0,d.useStateFromStores)([_.default],(function(){var e=_.default.getNullableCurrentUser();return N.default.canUsePremiumProfileCustomization(e)})),o=u.useRef(!1);return u.useEffect((function(){n&&!o.current&&(o.current=!0,b.default.track(A.AnalyticEvents.PREMIUM_UPSELL_VIEWED,{type:v.PremiumUpsellTypes.CUSTOM_PROFILES_PROFILE_BANNER_SOCIAL_UPSELL,location:{page:t===i.PROFILE?A.AnalyticsPages.USER_PROFILE:A.AnalyticsPages.USER_POPOUT,section:A.AnalyticsSections.NITRO_BANNER,object:A.AnalyticsObjects.NITRO_BADGE}}))}),[n,t]),w(S.default,{text:a?P.default.Messages.PROFILE_CUSTOMIZATION_NITRO_ICON_TOOLTIP:P.default.Messages.PROFILE_BANNER_ICON_TOOLTIP_UPSELL},void 0,(function(e){var n;return u.createElement(E.default,j({},e,{onClick:a?void 0:function(){!function(e){(0,T.openModal)((function(t){return u.createElement(y.default,j({},t,{source:{page:e===i.PROFILE?A.AnalyticsPages.USER_PROFILE:A.AnalyticsPages.USER_POPOUT,section:A.AnalyticsSections.NITRO_BANNER,object:A.AnalyticsObjects.NITRO_BADGE}}))}))}(t),null==r||r()},className:(0,s.default)(R.default.premiumIconWrapper,(n={},n[R.default.clickable]=!a,n))}),w(C.TextBadge,{color:"rgba(32, 34, 37, 0.8)",text:w(O.default,{width:16,height:16,className:R.default.premiumIcon})}))}))}function F(e){var t,n,r=e.user,a=e.onClose,o=e.guildId,v=e.bannerType,y=void 0===v?i.POPOUT:v,_=e.allowEdit,S=void 0===_||_,O=u.useState(null==r.banner?l.COMPLETE:l.SHOULD_LOAD),T=O[0],C=O[1],b=u.useState(!1),N=b[0],P=b[1],L=(0,d.useStateFromStores)([m.default],(function(){return m.default.getId()})),D=(0,d.useStateFromStores)([h.default],(function(){return h.default.isFocused()})),F=u.useContext(c.AccessibilityPreferencesContext).reducedMotion,B=(0,p.default)(r.getAvatarURL(o),A.Colors.PRIMARY_DARK_800),H={},x=L===r.id&&S,V=k[y],W=M.default.hasAnimatedUserBanner(r);if(null!=r.banner){var Y,z=null!==(Y=M.default.getUserBannerURL(r,F.enabled?N:D))&&void 0!==Y?Y:"";if(T===l.SHOULD_LOAD){C(l.LOADING);var K=new Image;K.src=z,K.onload=function(){C(l.COMPLETE)}}H.backgroundImage="url("+z+")"}var $=null!==(t=r.bannerColor)&&void 0!==t?t:B;return u.useEffect((function(){var e;W&&F.enabled&&((new Image).src=null!==(e=M.default.getUserBannerURL({id:r.id,banner:r.banner},!0))&&void 0!==e?e:"")}),[r.id,r.banner,F.enabled,W]),w("div",{className:(0,s.default)(R.default.banner,function(){switch(y){case i.POPOUT:return null==r.banner?R.default.popoutBanner:R.default.popoutBannerPremium;case i.PROFILE:return null==r.banner?R.default.profileBanner:R.default.profileBannerPremium;case i.SETTINGS:return R.default.settingsBanner}}(),(n={},n[R.default.reducedMotion]=F.enabled,n)),onMouseMove:function(){return P(!0)},onMouseLeave:function(){return P(!1)},style:j({},H,{backgroundColor:T!==l.COMPLETE?A.Colors.PRIMARY_DARK_800:$})},void 0,x?w(E.default,{onClick:function(){null==a||a(),f.default.open(A.UserSettingsSections.PROFILE_CUSTOMIZATION)},className:U[y]},void 0,w(I.default,{width:V,height:V,className:R.default.pencilIcon})):null!=r.banner&&y!==i.SETTINGS?w(G,{type:y,shown:N,onClick:a}):null,F.enabled&&W?w(g.default,{className:R.default.gifTag}):void 0)}G.displayName="PremiumBadge",F.displayName="UserBanner"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Types=void 0;var r,a,o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=k();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),l=j(n(9)),u=j(n(23)),s=j(n(9109)),d=j(n(183)),f=n(156),c=j(n(1364)),p=j(n(732)),v=j(n(1333)),y=j(n(1277)),m=j(n(753)),_=j(n(707)),h=n(1278),E=j(n(150)),g=n(99),S=n(252),O=j(n(9306)),I=j(n(271)),T=j(n(55)),C=j(n(477)),b=j(n(8432)),M=j(n(8824)),N=j(n(149)),A=j(n(9307)),P=j(n(47)),R=j(n(248)),L=n(1),D=j(n(6)),w=j(n(7458));function j(e){return e&&e.__esModule?e:{default:e}}function k(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return k=function(){return e},e}function U(){return(U=Object.assign||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}).apply(this,arguments)}function G(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function F(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function B(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,H(e,t)}function H(e,t){return(H=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.Types=o,function(e){e.USER_POPOUT="UserPopout",e.ACTIVITY_FEED="ActivityFeed",e.PROFILE="Profile",e.STREAM_PREVIEW="StreamPreview",e.VOICE_CHANNEL="VoiceChannel"}(o||(t.Types=o={}));var x=64,V=160,W=((r={})[o.STREAM_PREVIEW]=[108,60],r[o.USER_POPOUT]=[108,60],r[o.VOICE_CHANNEL]=[108,60],r[o.PROFILE]=[162,90],r[o.ACTIVITY_FEED]=[900,500],r),Y=n(409).getAssetImage;var z=(0,s.default)(function(e){function t(){return e.apply(this,arguments)||this}return B(t,e),t.prototype.render=function(){return F("div",{className:w.default.timestamp},void 0,this.props.message)},t}(i.PureComponent)),K=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleOpenSpotifyTrack=function(){var e=t.props,n=e.activity,r=e.onOpenSpotifyTrack;(0,u.default)(null!=n,"Spotify activity was null"),null==r||r(n)},t.handleOpenSpotifyArtist=function(e){var n=t.props,r=n.activity,a=n.onOpenSpotifyArtist,o=n.user;(0,u.default)(null!=r,"Spotify activity was null"),null==a||a(r,o.id,e)},t.handleOpenSpotifyAlbum=function(){var e=t.props,n=e.activity,r=e.onOpenSpotifyAlbum,a=e.user;(0,u.default)(null!=n,"Spotify activity was null"),null==r||r(n,a.id)},t}B(t,e);var n,r,a,s=t.prototype;return s.getTypeClass=function(e,t){return(0,S.getClass)(w.default,e,this.props.type,t)},s.isStreamerOnTypeProfile=function(){return(0,_.default)(this.activity)&&this.props.type===o.PROFILE},s.isStreamerOnTypeActivityFeed=function(){return(0,_.default)(this.activity)&&this.props.type===o.ACTIVITY_FEED},s.renderHeader=function(e){var t=this.props,n=t.hideHeader,r=t.activityGuild,a=t.renderHeaderAccessory,o=this.activity;if(n||null==o)return null;var i,l,u=o.name;switch(o.type){case L.ActivityTypes.STREAMING:i=D.default.Messages.USER_ACTIVITY_HEADER_LIVE_ON_PLATFORM.format({platform:[L.PlatformTypes.TWITCH,L.PlatformTypes.YOUTUBE].includes(u.toLowerCase())?u:d.default.get(L.PlatformTypes.TWITCH).name});break;case L.ActivityTypes.LISTENING:i=D.default.Messages.USER_ACTIVITY_HEADER_LISTENING.format({name:u});break;case L.ActivityTypes.WATCHING:i=D.default.Messages.USER_ACTIVITY_HEADER_WATCHING.format({name:u});break;case L.ActivityTypes.PLAYING:i=(0,c.default)(o);break;case L.ActivityTypes.COMPETING:i=D.default.Messages.USER_ACTIVITY_HEADER_COMPETING.format({name:u})}null!=r&&(i=(0,g.hasFlag)(null!==(l=null==o?void 0:o.flags)&&void 0!==l?l:0,L.ActivityFlags.EMBEDDED)?o.type===L.ActivityTypes.WATCHING?D.default.Messages.EMBEDDED_ACTIVITIES_WATCHING_IN_GUILD.format({guildName:r.name}):D.default.Messages.EMBEDDED_ACTIVITIES_PLAYING_IN_GUILD.format({guildName:r.name}):D.default.Messages.USER_ACTIVITY_HEADER_STREAMING_TO_GUILD.format({server:r.name}));return F(P.default,{className:(0,S.getClass)(w.default,"headerText",e?"EmptyBody":"Normal"),size:P.default.Sizes.SIZE_12},void 0,i,null==a?void 0:a())},s.renderXboxImage=function(){return F("div",{className:w.default.xboxAssets},void 0,F("img",{alt:"",src:d.default.get(L.PlatformTypes.XBOX).icon.color3d,className:(0,l.default)(this.getTypeClass("assetsLargeImage","Xbox"))}))},s.renderImage=function(e){var t,n,r=this,a=this.props.type,o=e.assets,u=e.application_id;if(null==o||null==o.large_image&&null==o.small_image)return null;(0,_.default)(e)&&(n=W[a]);var s,d=F("img",{alt:o.large_text||"",src:Y(u,o.large_image,n||[V,V]),className:(0,l.default)(this.getTypeClass("assetsLargeImage",this.isStreamerOnTypeProfile()||this.isStreamerOnTypeActivityFeed()?L.PlatformTypes.TWITCH:""),(t={},t[this.getTypeClass("assetsLargeMask")]=null!=o.small_image,t))});if((0,y.default)(e))d=F(I.default,{onClick:this.handleOpenSpotifyAlbum},void 0,d);else if((0,h.isStageActivity)(e)){var f,c=(0,h.unpackStageChannelParty)(e);if(null==c)return null;d=F(R.default,{mask:R.default.Masks.SQUIRCLE,width:x,height:x},void 0,F("img",{src:null!==(f=E.default.getGuildIconURL({id:c.guildId,icon:o.small_image,size:x}))&&void 0!==f?f:void 0,className:w.default.assetsLargeImageVoiceChannel,alt:""}))}return this.isStreamerOnTypeActivityFeed()&&e.url&&(d=F("div",{className:w.default.twitchImageContainer},void 0,F("div",{className:w.default.twitchImageOverlay},void 0,F("h3",{className:w.default.streamName},void 0,e.name),F("div",{className:w.default.streamGame},void 0,D.default.Messages.STREAMER_PLAYING.format({game:e.details}))),F(I.default,{className:w.default.twitchBackgroundImage,href:e.url},void 0,d))),(0,h.isStageActivity)(e)||null==o.small_image||(s=F(N.default,{text:o.small_text?o.small_text:null,position:N.default.Positions.TOP},void 0,(function(e){return i.createElement("img",U({alt:o.small_text||"",src:Y(u,o.small_image,[x,x]),className:r.getTypeClass("assetsSmallImage")},e))}))),F("div",{className:w.default.assets},void 0,F(N.default,{text:null!=o.large_text?o.large_text:null,position:N.default.Positions.TOP},void 0,(function(e){var t=e.onMouseEnter,n=e.onMouseLeave;return i.cloneElement(d,{onMouseEnter:t,onMouseLeave:n})})),s)},s.renderGameImage=function(e){var t=this.props,n=t.user,r=t.type,a=t.application,i=t.activityGuild;return(0,p.default)(e)||e.type!==L.ActivityTypes.PLAYING||r===o.ACTIVITY_FEED||n.bot?null:null==a&&null!=i?F("div",{className:(0,l.default)(w.default.gameIcon,w.default.screenshareIcon)}):F(C.default,{className:w.default.gameIcon,game:a})},s.renderName=function(e){var t=this.props,n=t.user,r=t.application;if(t.hideName)return null;var a=e.details;if(e.type===L.ActivityTypes.CUSTOM_STATUS)return null;var o=(0,v.default)(e),i=e.name,l=i;return o&&null!=r?i=F("span",{className:w.default.activityName},void 0,i):o||(l=a,i=a,(0,y.default)(e)&&null!=e.sync_id&&null!=a?i=F(I.default,{className:w.default.bodyLink,onClick:this.handleOpenSpotifyTrack},void 0,a):(0,h.isStageActivity)(e)&&(i=e.name)),null==i?null:F(P.default,{title:l,className:(0,S.getClass)(w.default,"name",n.bot||this.isStreamerOnTypeProfile()?"wrap":"normal")},void 0,i)},s.renderDetails=function(e){var t,n=this,r=e.details,a=e.state,o=r,i=r;if(e.type===L.ActivityTypes.CUSTOM_STATUS)o=a;else if(!(0,v.default)(e))if(i=o=a,(0,y.default)(e)&&null!=a){o=D.default.Messages.USER_ACTIVITY_LISTENING_ARTISTS.format({artists:i,artistsHook:function(t,r){return F(M.default,{artists:a,linkClassName:w.default.bodyLink,canOpen:null!=e.sync_id,onOpenSpotifyArtist:n.handleOpenSpotifyArtist},r)}})}else if((0,h.isStageActivity)(e)){var l;o=null===(l=e.assets)||void 0===l?void 0:l.small_text}return null==o||0===o.length?null:((0,_.default)(e)&&(o=D.default.Messages.STREAMER_PLAYING.format({game:o})),F("div",{title:null!==(t=i)&&void 0!==t?t:void 0,className:(0,_.default)(e)||(0,y.default)(e)?w.default.detailsWrap:w.default.details},void 0,o))},s.renderTimePlayed=function(e){var t=this.props.activityGuild;if(!(0,v.default)(e)||(0,y.default)(e))return null;var n=e.timestamps;return null==n?null:(0,p.default)(e)?F(z,{timestamps:n}):F(b.default,{start:n.start,location:b.default.Locations.USER_ACTIVITY,className:w.default.playTime,isApplicationStreaming:null!=t})},s.renderTimeBar=function(e){if(!(0,y.default)(e))return null;var t=e.timestamps;if(null==t)return null;var n=t.start,r=t.end;return null==n||null==r?null:F(O.default,{start:n,end:r,className:this.getTypeClass("timeBar"),themed:this.props.type===o.VOICE_CHANNEL})},s.renderState=function(e,t){var n,r,a,o=this,i=e.state,l=e.party,u=e.assets,s=i,d=s;if(!(0,v.default)(e)&&(s=null==u?void 0:u.large_text,d=s,(0,y.default)(e)&&null!=s)){s=D.default.Messages.USER_ACTIVITY_LISTENING_ALBUM.format({album:d,albumHook:function(t,n){return null!=e.sync_id&&null!=d?F(I.default,{className:w.default.bodyLink,onClick:o.handleOpenSpotifyAlbum},n,d):d}})}if((null==s||0===s.length||e.type===L.ActivityTypes.CUSTOM_STATUS)&&!(0,h.isStageActivity)(e))return null;null==(null==l?void 0:l.size)&&[f.POKER_NIGHT_APPLICATION_ID].includes(null!==(n=e.application_id)&&void 0!==n?n:"")?r=D.default.Messages.USER_ACTIVITY_STATE_SIZE.format({count:"0",max:null!==(a=null==t?void 0:t.getMaxParticipants())&&void 0!==a?a:0}):(0,h.isStageActivity)(e)&&null!=(null==l?void 0:l.size)?r=D.default.Messages.USER_ACTIVITY_STAGE_STATE_SIZE.format({numSpeakers:l.size[0],numListeners:l.size[1]-l.size[0]}):null!=(null==l?void 0:l.size)&&l.size.length>=2&&(r=D.default.Messages.USER_ACTIVITY_STATE_SIZE.format({count:l.size[0],max:l.size[1]}));return F("div",{className:w.default.state},void 0,F("span",{title:d},void 0,s),null!=r?F("span",{},void 0," ",r):null)},s.renderIcon=function(e){return(0,y.default)(e)?F(A.default,{color:L.Colors.SPOTIFY,className:w.default.spotifyIcon}):null},s.render=function(){var e=this.props,t=e.type,n=e.renderActions,r=e.className,a=e.application,i=this.activity;if(null==i||i.type===L.ActivityTypes.CUSTOM_STATUS)return null;var u,s=t===o.USER_POPOUT,d=t===o.PROFILE,f=t===o.ACTIVITY_FEED,c=t===o.STREAM_PREVIEW,p=!1;(0,m.default)(i)?(u=this.renderXboxImage(),p=!0):null==(u=this.renderImage(i))&&(p=null!=(u=this.renderGameImage(i)));var v=this.renderName(i),y=this.renderDetails(i),_=this.renderState(i,a),h=this.renderTimePlayed(i),E=null!=n?n():null,g=this.renderTimeBar(i),O=this.renderIcon(i),I=![u,v,y,_,h,g,E].some((function(e){return null!=e}));return F("div",{className:(0,l.default)(this.getTypeClass("activity"),r)},void 0,this.renderHeader(I),F("div",{className:p?w.default.bodyAlignCenter:w.default.bodyNormal},void 0,u,this.isStreamerOnTypeActivityFeed()?null:F(T.default.Child,{className:(0,l.default)((0,S.getClass)(w.default,"content",p?"GameImage":null!=u?"Images":"NoImages",t))},void 0,v,y,_,h,s||c?null:g,f?E:null),d?E:null),s?g:null,s||c?E:null,O)},n=t,(r=[{key:"activity",get:function(){var e=this.props,t=e.activity;return null!=e.activityGuild&&(null==t?void 0:t.type)!==L.ActivityTypes.PLAYING&&(null==t?void 0:t.type)!==L.ActivityTypes.WATCHING?{type:L.ActivityTypes.PLAYING,name:D.default.Messages.SHARING_SCREEN}:t}}])&&G(n.prototype,r),a&&G(n,a),t}(i.PureComponent);K.displayName="UserActivity",K.Types=o;var $=K;t.default=$},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(271))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,d(e,t)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(){var e=t.props,n=e.onClick,r=e.index;n&&n(r)},t}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.text,n=e.lastItem,r=e.className;return u("span",{},void 0,u(i.default,{className:r,onClick:this.handleClick},void 0,t),n?"":", ")},t}(o.PureComponent);f.displayName="SpotifyArtistLink";var c=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleOpenSpotifyArtist=function(e){var n=t.props.onOpenSpotifyArtist;n&&n(e)},t}return s(t,e),t.prototype.render=function(){var e=this,t=this.props.artists.split(";");if(!this.props.canOpen)return t.join(", ");var n=t.length-1;return t.map((function(t,r){return u(f,{text:t,index:r,lastItem:r===n,onClick:e.handleOpenSpotifyArtist,className:e.props.linkClassName},"spotify-artist-"+r)}))},t}(o.PureComponent);t.default=c,c.displayName="SpotifyArtists"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("rect",{width:"16",height:"16"});function f(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,f=void 0===l?"currentColor":l,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 16 16"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:c,fill:f,d:"M12.7609503,7.08043507 C10.1796226,5.54647845 5.92178025,5.40543597 3.45759439,6.15380317 C3.06179846,6.27398591 2.64333918,6.05046133 2.5234242,5.65450895 C2.40350922,5.25826952 2.62670026,4.83983073 3.02268744,4.71945662 C5.85139953,3.86028398 10.5538071,4.02620506 13.52548,5.79134121 C13.8813999,6.00280925 13.9981592,6.46277616 13.7872083,6.81834866 C13.5760661,7.17449528 13.1160095,7.2919031 12.7609503,7.08043507 Z M12.7456938,9.37785148 C12.5639139,9.67256952 12.1782795,9.76502256 11.883727,9.58404861 C9.72377106,8.25738585 6.4301382,7.87299604 3.87475822,8.64810544 C3.54335063,8.74813503 3.19341953,8.56150265 3.09273996,8.2309159 C2.99292418,7.89984962 3.17979084,7.55075308 3.51062257,7.45005215 C6.42975429,6.56484307 10.0587298,6.99354129 12.5395359,8.51700243 C12.8340884,8.69826409 12.9268019,9.08380478 12.7456938,9.37785148 Z M11.7108365,11.5428368 C11.566471,11.780912 11.2582675,11.8554793 11.0223905,11.7103962 C9.13604653,10.5509855 6.76173752,10.28918 3.96555508,10.9314428 C3.69610478,10.9935661 3.42751778,10.823788 3.36603055,10.5528184 C3.30435146,10.2819451 3.47260203,10.0118436 3.74262788,9.95000969 C6.80260111,9.2465882 9.42736749,9.54929481 11.5446963,10.8504123 C11.7807651,10.995399 11.8551061,11.3055334 11.7108365,11.5428368 Z M0,7.99990447 C0,12.4185663 3.58181579,16 8,16 C12.4183753,16 16,12.4185663 16,7.99990447 C16,3.58172026 12.4183753,0 8,0 C3.58181579,0 0,3.58172026 0,7.99990447 Z"}),d))}f.displayName="PlatformSpotify"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fill:d,className:f,d:"M11.8 14a6.1 6.1 0 0 0 0 6H3v-2c0-2.7 5.3-4 8-4h.8zm-.8-2c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4zm6 1c2.2 0 4 1.8 4 4s-1.8 4-4 4-4-1.8-4-4 1.8-4 4-4zm-1 6.2l3-2.2-3-2.2v4.4z"}))}d.displayName="PersonPlay"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=B,t.BadgeSizes=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=j();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=w(n(9)),l=w(n(61)),u=w(n(149)),s=w(n(9335)),d=n(8433),f=w(n(6)),c=w(n(7471)),p=w(n(9336)),v=w(n(9337)),y=w(n(9338)),m=w(n(9339)),_=w(n(9340)),h=w(n(9341)),E=w(n(9342)),g=w(n(9343)),S=w(n(9344)),O=w(n(9345)),I=w(n(9346)),T=w(n(9347)),C=w(n(9348)),b=w(n(9349)),M=w(n(9350)),N=w(n(9351)),A=w(n(9352)),P=w(n(9353)),R=w(n(9354)),L=w(n(9355)),D=w(n(9356));function w(e){return e&&e.__esModule?e:{default:e}}function j(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return j=function(){return e},e}function k(){return(k=Object.assign||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}).apply(this,arguments)}function U(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var G,F=Object.freeze(((r={})[d.BadgeKeys.STAFF]=L.default,r[d.BadgeKeys.PARTNER]=P.default,r[d.BadgeKeys.HYPESQUAD]=b.default,r[d.BadgeKeys.HYPESQUAD_ONLINE_HOUSE_1]=M.default,r[d.BadgeKeys.HYPESQUAD_ONLINE_HOUSE_2]=N.default,r[d.BadgeKeys.HYPESQUAD_ONLINE_HOUSE_3]=A.default,r[d.BadgeKeys.BUG_HUNTER_LEVEL_1]=O.default,r[d.BadgeKeys.BUG_HUNTER_LEVEL_2]=I.default,r[d.BadgeKeys.EARLY_VERIFIED_DEVELOPER]=D.default,r[d.BadgeKeys.EARLY_SUPPORTER]=C.default,r[d.BadgeKeys.CERTIFIED_MODERATOR]=T.default,r[d.BadgeKeys.PREMIUM]=R.default,r[d.BadgeKeys.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_1]=p.default,r[d.BadgeKeys.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_2]=v.default,r[d.BadgeKeys.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_3]=y.default,r[d.BadgeKeys.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_4]=m.default,r[d.BadgeKeys.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_5]=_.default,r[d.BadgeKeys.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_6]=h.default,r[d.BadgeKeys.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_7]=E.default,r[d.BadgeKeys.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_8]=g.default,r[d.BadgeKeys.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_9]=S.default,r));function B(e){var t=e.className,n=e.user,r=e.premiumSince,a=e.premiumGuildSince,d=e.openPremiumSettings,p=e.shrinkAtCount,v=e.shrinkToSize,y=e.size,m=void 0===y?G.SIZE_24:y,_=(0,s.default)({user:n,premiumSince:r,premiumGuildSince:a,openPremiumSettings:d}),h=null!=p&&null!=v&&_.length>p?v:m;return U("div",{className:(0,i.default)(t,c.default.container),"aria-label":f.default.Messages.PROFILE_USER_BADGES,role:"group"},void 0,_.map((function(e){return U(u.default,{position:u.default.Positions.TOP,text:e.tooltip,spacing:24},e.key,(function(t){var n;return o.createElement(l.default,k({},t,{onClick:e.onClick,className:c.default.clickable}),U("img",{alt:" ","aria-hidden":!0,src:F[e.key],className:(0,i.default)((n={},n[c.default.profileBadge24]=h===G.SIZE_24,n[c.default.profileBadge22]=h===G.SIZE_22,n[c.default.profileBadge18]=h===G.SIZE_18,n))}))}))})))}t.BadgeSizes=G,function(e){e[e.SIZE_24=0]="SIZE_24",e[e.SIZE_22=1]="SIZE_22",e[e.SIZE_18=2]="SIZE_18"}(G||(t.BadgeSizes=G={})),B.displayName="UserProfileBadgeList"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(199)),i=p(n(8272)),l=p(n(476)),u=p(n(466)),s=p(n(24)),d=n(1),f=p(n(6)),c=p(n(7475));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(){return(y=Object.assign||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}).apply(this,arguments)}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var h=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={reason:""},t.handleReasonChange=function(e){t.setState({reason:e})},t.handleKick=function(){var e=t.props,n=e.guildId,r=e.user;o.default.kickUser(n,r.id,t.state.reason)},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n),r.prototype.render=function(){var e=this.props.user;return a.createElement(u.default,y({header:f.default.Messages.KICK_USER_TITLE.format({user:e.username}),confirmText:f.default.Messages.KICK,cancelText:f.default.Messages.CANCEL,onConfirm:this.handleKick},this.props),m(s.default,{size:s.default.Sizes.SIZE_16,className:c.default.spacing},void 0,f.default.Messages.KICK_USER_BODY.format({user:"@"+e.toString()})),m(l.default,{title:f.default.Messages.FORM_LABEL_REASON_KICK,className:c.default.spacing},void 0,m(i.default,{maxLength:d.MAX_REASON_LENGTH,onChange:this.handleReasonChange,value:this.state.reason,rows:2})))},r}(a.PureComponent);h.displayName="KickConfirm";var E=h;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useApplicationCommandsDiscoveryState=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=v(n(8)),o=n(3),i=v(n(40)),l=v(n(12)),u=n(8605),s=v(n(8383)),d=v(n(9363)),f=v(n(8341)),c=n(8260),p=n(1);function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}var m=function(e,t,n){return{target:n,type:c.ApplicationCommandType.PLACEHOLDER,id:"placeholder-"+e+"-"+t,name:"",description:"",applicationId:""}};t.useApplicationCommandsDiscoveryState=function(e,t,n,v){var y=(0,o.useStateFromStoresObject)([f.default,d.default,i.default],(function(){if(null==e.guild)return{guildCommandSections:null,guildCommands:null};if(!i.default.can(p.Permissions.USE_APPLICATION_COMMANDS,e.channel))return{guildCommandSections:null,guildCommands:null};var t=e.guild.id;return{guildCommandSections:f.default.getGuildSectionsWithCommands(t,n),guildCommands:d.default.getGuildCommands(t,n)}})),_=y.guildCommandSections,h=y.guildCommands,E=(0,o.useStateFromStoresObject)([s.default,l.default],(function(){var t,r,a;if((null===(t=e.channel)||void 0===t?void 0:t.type)!==p.ChannelTypes.DM)return{dmCommandSections:null,dmCommands:null};var o=null===(r=e.channel)||void 0===r?void 0:r.getRecipientId(),i=l.default.getUser(o);if(null==i||!0!==i.bot)return{dmCommandSections:null,dmCommands:null};var u=s.default.getCommands(o,n);return{dmCommandSections:null!=u&&u.length>0?[{id:o,type:c.ApplicationCommandSectionType.DM,name:i.username,commandCountByTarget:(a={},a[n]=u.length,a),icon:i.avatar}]:[],dmCommands:u}})),g=E.dmCommandSections,S=E.dmCommands,O=r.useMemo((function(){return function(e,t,n){var r=e.channel,a=e.guild;return null!=r?(0,u.getBuiltInCommands)(t,!0,n).filter((function(e){return null==e.predicate||e.predicate({channel:r,guild:a})})):[]}(e,n,v)}),[v,e,n]),I=r.useMemo((function(){var t;return v?u.BUILT_IN_SECTIONS:(null!==(t=null!=e.guild?_:g)&&void 0!==t?t:[]).concat(u.BUILT_IN_SECTIONS)}),[v,e.guild,g,_]),T=r.useMemo((function(){var e=I.reduce((function(e,t){var r;return e+(null!==(r=t.commandCountByTarget&&t.commandCountByTarget[n])&&void 0!==r?r:0)}),0);return{hasMoreBefore:null!=h&&h.topOffset>0&&e>0,hasMoreAfter:null!=h&&h.bottomOffset<e-1}}),[h,I,n]),C=T.hasMoreBefore,b=T.hasMoreAfter,M=r.useMemo((function(){if(!C)return[];for(var e=[],r=0;r<t;r++)e.push(m("before",r,n));return e}),[C,t,n]),N=r.useMemo((function(){if(!b)return[];for(var e=[],r=0;r<t;r++)e.push(m("after",r,n));return e}),[b,t,n]),A=r.useMemo((function(){var t;if(v)return O;var n=null!==(t=null!=e.guild?null==h?void 0:h.commandsArray:S)&&void 0!==t?t:[];return b||(n=n.concat(O)),n}),[O,v,e.guild,S,h,b]),P=r.useMemo((function(){var e,t,r={},o=a.default.groupBy(A,(function(e){return e.applicationId})),i=I.map((function(e){var t=o[e.id]||[];return e.type===c.ApplicationCommandSectionType.BUILT_IN&&(r[e.id]=t.length),{data:t,section:e,key:e.id}})).filter((function(e){return e.data.length>0}));i.length>0&&((e=i[0].data).unshift.apply(e,M),(t=i[i.length-1].data).push.apply(t,N));var l=i.reduce((function(e,t){return e.concat(t.data)}),[]),u=[],s=0;return I.forEach((function(e){var t;u.push(s),s+=null!==(t=e.type===c.ApplicationCommandSectionType.BUILT_IN?r[e.id]:e.commandCountByTarget&&e.commandCountByTarget[n])&&void 0!==t?t:0})),{discoverySections:i,sectionsOffset:u,discoveryCommands:l}}),[A,M,N,I,n]),R=P.discoverySections,L=P.sectionsOffset,D=P.discoveryCommands;return{discoverySections:R,applicationCommandSections:I,discoveryCommands:D,commands:A,guildCommands:h,sectionsOffset:L,hasMoreBefore:C,hasMoreAfter:b}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u,t.renderSimpleAccessories=s;i(n(0));var r,a=i(n(8831));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function i(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function l(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function u(e,t,n,r,o,i){var u=e.message,s=e.channel,d=e.compact,f=void 0!==d&&d;return l(a.default,{isInteracting:r,message:u,channel:s,compact:f,hasSpoilerEmbeds:t,onAttachmentContextMenu:n,renderThreadAccessory:o,renderComponentAccessory:i})}function s(e,t){var n=e.message,r=e.channel,o=e.compact,i=void 0!==o&&o,u=e.renderThreadAccessory;return l(a.SimpleMessageAccessories,{message:n,channel:r,compact:i,hasSpoilerEmbeds:t,renderThreadAccessory:u})}u.displayName="renderAccessories",s.displayName="renderSimpleAccessories"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SimpleMessageAccessories=t.default=t.MessageAccessories=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=q();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=Z(n(9)),i=n(3),l=Z(n(184)),u=n(8507),s=Z(n(390)),d=Z(n(9372)),f=Z(n(8835)),c=Z(n(105)),p=Z(n(9530)),v=n(385),y=Z(n(9532)),m=Z(n(9537)),_=Z(n(182)),h=Z(n(8295)),E=n(290),g=Z(n(9542)),S=n(1209),O=Z(n(9546)),I=Z(n(11)),T=Z(n(8438)),C=Z(n(56)),b=Z(n(1219)),M=Z(n(40)),N=Z(n(39)),A=Z(n(12)),P=Z(n(8516)),R=n(8337),L=n(8517),D=Z(n(9552)),w=Z(n(9553)),j=n(466),k=Z(n(24)),U=n(121),G=n(99),F=Z(n(186)),B=Z(n(8645)),H=Z(n(8858)),x=Z(n(9569)),V=Z(n(9579)),W=n(8308),Y=Z(n(9582)),z=n(1),K=Z(n(6)),$=Z(n(7587));function Z(e){return e&&e.__esModule?e:{default:e}}function q(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return q=function(){return e},e}function X(){return(X=Object.assign||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}).apply(this,arguments)}function J(e,t){return(J=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Q(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var ee=function(e){var t=e.width,n=e.height,r=e.url,a=e.src,o=e.format,l=e.className,s=(0,i.useStateFromStores)([T.default],(function(){return T.default.getIsFavorite(r)}));return Q(H.default,{className:l,onClick:function(e){e?(0,u.removeFavoriteGIF)(r):((0,u.addFavoriteGIF)({url:r,src:a,width:t,height:n,format:o}),U.ComponentDispatch.dispatch(z.ComponentActions.FAVORITE_GIF))},isFavorite:s})};ee.displayName="ConnectedGIFFavButton";var te=function(e,t,n){return function(){var r=t||n;if(null==r)return null;var a=r.url,o=r.proxyURL,i=r.width,l=r.height;return Q(ee,{width:i,height:l,src:o||a,url:e||o||a,format:null!=n?z.GIFResultFormat.VIDEO:z.GIFResultFormat.IMAGE,className:$.default.gifFavoriteButton})}},ne=function(e){return function(){var t=e.proxy_url,n=e.width,r=e.height;return R.IMAGE_GIF_RE.test(e.filename)&&null!=n&&null!=r?Q(ee,{width:n,height:r,src:t,url:t,format:z.GIFResultFormat.IMAGE,className:$.default.gifFavoriteButton}):null}};var re=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={showSuppressModal:!1,showRemoveAttachmentModal:!1,attachmentToDelete:null},t.getAcceptInviteContext=function(e){var n=t.props,r=n.channel,a=n.message;return{location:e,location_guild_id:r.getGuildId(),location_channel_id:r.id,location_channel_type:r.type,location_message_id:a.id}},t.renderEmbed=function(e,n){var r=t.props,o=r.gifAutoPlay,i=r.inlineEmbedMedia,l=r.canSuppressEmbeds,u=r.hasSpoilerEmbeds;return Q(L.GIFAccessoryContext.Provider,{value:te(e.url,e.image,e.video)},e.id,a.createElement(P.default,X({className:$.default.embedWrapper,embed:e,spoiler:u,autoPlayGif:o,hideMedia:!i,onSuppressEmbed:l?t.handleEmbedSuppressed:void 0,renderTitle:t.renderEmbedTitle,renderDescription:t.renderEmbedDescription},n)))},t.renderEmbedTitle=function(e,n){return e.type===z.EmbedTypes.RICH?h.default.parseEmbedTitle(n,!0,{channelId:t.props.channel.id}):n},t.renderEmbedDescription=function(e,n){return e.type===z.EmbedTypes.RICH?h.default.parse(n,!0,{channelId:t.props.channel.id,allowLinks:!0}):n},t.handleEmbedSuppressed=function(e){var n=t.props,r=n.channel,a=n.message;e.shiftKey?s.default.suppressEmbeds(r.id,a.id):t.setState({showSuppressModal:!0})},t.handleRemoveAttachment=function(e){t.setState({showRemoveAttachmentModal:!0,attachmentToDelete:e})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,J(t,n);var i=r.prototype;return i.shouldComponentUpdate=function(e,t){var n,r,a=this.props,o=a.channel,i=a.message,u=e.channel,s=e.message;return!((0,l.default)(this.state,t)&&(0,l.default)(this.props,e,["message","channel"])&&o.type===u.type&&s.codedLinks===i.codedLinks&&s.flags===i.flags&&s.giftCodes===i.giftCodes&&s.attachments===i.attachments&&s.embeds===i.embeds&&s.components===i.components&&s.activity===i.activity&&(n=s.reactions,r=i.reactions,n===r||n.length===r.length&&!n.some((function(e,t){var n=e.emoji,a=e.count,o=r[t],i=o.emoji;return a!==o.count||n.id!==i.id||n.name!==i.name}))))},i.renderCodedLinks=function(e){var t=this;return 0===e.codedLinks.length?null:e.codedLinks.map((function(n){var r=n.type,a=n.code;if(r===v.CodedLinkType.INVITE)return Q(x.default,{code:a,author:e.author,getAcceptInviteContext:t.getAcceptInviteContext},a);if(r===v.CodedLinkType.TEMPLATE)return Q(y.default,{code:a},a);throw Error("Unknown coded link type: "+r)}))},i.renderGiftCodes=function(e){var t=e.giftCodes,n=e.author,r=e.channel_id;return t.length>0?t.map((function(e){return Q("div",{className:$.default.giftCodeContainer},e,Q(d.default,{code:e,author:n,channelId:r}))})):null},i.renderReactions=function(e){var t=this.props,n=t.disableReactionCreates,r=t.disableReactionReads,a=t.disableReactionUpdates,o=t.isLurking,i=t.isPendingMember,l=t.channel;return r?null:Q(Y.default,{message:e,channel:l,disableReactionCreates:n,disableReactionUpdates:a,isLurking:o,isPendingMember:i})},i.renderAttachments=function(e){var t=this,n=e.attachments,r=this.props,a=r.gifAutoPlay,o=r.canDeleteAttachments,i=r.inlineAttachmentMedia,l=r.onAttachmentContextMenu,u=r.message;return n.length>0?n.map((function(e){return Q(L.GIFAccessoryContext.Provider,{value:ne(e)},e.id,Q(w.default,{className:$.default.embedWrapper,attachment:e,inlineMedia:i,autoPlayGif:a,renderImageComponent:W.renderImageComponent,renderVideoComponent:W.renderVideoComponent,renderAudioComponent:W.renderAudioComponent,renderPlaintextFilePreview:W.renderPlaintextFilePreview,canRemoveAttachment:o&&(n.length>1||""!==u.content),onRemoveAttachment:t.handleRemoveAttachment,onContextMenu:null!=l?function(t){t.stopPropagation(),t.preventDefault(),l(t,e)}:void 0}))})):null},i.renderEmbeds=function(e){var t=this,n=this.props.renderEmbeds;return e.embeds.length&&n?e.embeds.map((function(e){if(e.type===z.EmbedTypes.APPLICATION_NEWS)return null;var n={renderImageComponent:W.renderImageComponent,renderVideoComponent:W.renderVideoComponent,renderLinkComponent:W.renderMaskedLinkComponent};if(e.type===z.EmbedTypes.ARTICLE&&null!=e.url&&/^https?:\/\/(?:canary|ptb|www)?\.discord(?:app)?\.com\/store\/skus\/(?:[0-9]+)/.test(e.url)&&null!=e.provider&&"Discord"===e.provider.name){var r=F.default.safeParseWithQuery(e.url);if(null!=r&&null!=r.pathname){var a=r.pathname.split("/")[3];if(null!=a)return Q(f.default,{skuId:a,renderFallback:function(){return t.renderEmbed(e,n)}},e.id)}}return t.renderEmbed(e,n)})):null},i.renderComponentAccessories=function(e){return null==e.components||0===e.components.length||!1===this.props.renderComponentAccessory?null:Q(m.default,{message:e})},i.renderActivityInvite=function(e){if(null==e.activity)return null;var t=this.props.channel;return Q(V.default,{channel:t,message:e,hideParty:!1})},i.renderPublishBump=function(e){return this.props.channel.type!==z.ChannelTypes.GUILD_ANNOUNCEMENT||(0,G.hasFlag)(e.flags,z.MessageFlags.EPHEMERAL)?null:Q(p.default,{channelId:e.channel_id,messageId:e.id})},i.renderEphemeralAccessories=function(e){return(0,G.hasFlag)(e.flags,z.MessageFlags.EPHEMERAL)?Q(D.default,{message:e,onDeleteMessage:function(){s.default.dismissAutomatedMessage(e)}}):null},i.renderStickersAccessories=function(e){var t=(0,E.getMessageStickers)(e),n=this.props,r=n.channel,a=n.isInteracting;return 0===t.length?null:t.map((function(e){return Q(g.default,{channel:r,isInteracting:a,renderableSticker:e},e.id)}))},i.renderThreadAccessories=function(e){if(e.hasFlag(z.MessageFlags.HAS_THREAD)&&!1!==this.props.renderThreadAccessory&&(0,S.computeCanSeeThreads)())return Q(O.default,{message:e,compact:this.props.compact})},i.renderSuppressConfirmModal=function(){var e=this,t=this.props,n=t.channel,r=t.message;return Q(j.DeclarativeConfirmModal,{dismissable:!0,header:K.default.Messages.SUPPRESS_EMBED_TITLE,confirmText:K.default.Messages.SUPPRESS_EMBED_CONFIRM,cancelText:K.default.Messages.CANCEL,onCancel:function(){return e.setState({showSuppressModal:!1})},onConfirm:function(){s.default.suppressEmbeds(n.id,r.id),e.setState({showSuppressModal:!1})}},void 0,Q(k.default,{size:k.default.Sizes.SIZE_16,color:k.default.Colors.STANDARD,className:$.default.confirmText},void 0,K.default.Messages.SUPPRESS_EMBED_BODY),Q(k.default,{size:k.default.Sizes.SIZE_16,color:k.default.Colors.MUTED},void 0,K.default.Messages.SUPPRESS_EMBED_TIP))},i.renderRemoveAttachmentConfirmModal=function(){var e=this,t=this.props,n=t.channel,r=t.message,a=this.state.attachmentToDelete;if(null!=a)return Q(j.DeclarativeConfirmModal,{dismissable:!0,header:K.default.Messages.REMOVE_ATTACHMENT_TITLE,confirmText:K.default.Messages.REMOVE_ATTACHMENT_CONFIRM,cancelText:K.default.Messages.CANCEL,onCancel:function(){return e.setState({showRemoveAttachmentModal:!1,attachmentToDelete:null})},onConfirm:function(){var t=r.attachments.filter((function(e){return e.id!==a.id}));s.default.patchMessageAttachments(n.id,r.id,t),e.setState({showRemoveAttachmentModal:!1,attachmentToDelete:null})}},void 0,Q(k.default,{size:k.default.Sizes.SIZE_16,color:k.default.Colors.STANDARD,className:$.default.confirmText},void 0,K.default.Messages.REMOVE_ATTACHMENT_BODY));this.setState({showRemoveAttachmentModal:!1})},i.render=function(){var e=this.props,t=e.className,n=e.message,r=this.state,a=r.showSuppressModal,i=r.showRemoveAttachmentModal,l=this.renderCodedLinks(n),u=this.renderGiftCodes(n),s=this.renderAttachments(n),d=this.renderEmbeds(n),f=this.renderActivityInvite(n),c=this.renderReactions(n),p=this.renderPublishBump(n),v=this.renderEphemeralAccessories(n),y=this.renderStickersAccessories(n),m=this.renderThreadAccessories(n),_=this.renderComponentAccessories(n);return null==l&&null==s&&null==d&&null==f&&null==c&&null==u&&null==p&&null==v&&null==y&&null==m&&null==_?null:Q("div",{className:(0,o.default)(t,$.default.container)},void 0,l,u,s,d,f,y,_,c,p,v,a&&this.renderSuppressConfirmModal(),i&&this.renderRemoveAttachmentConfirmModal(),m)},r}(a.Component);t.MessageAccessories=re,re.displayName="MessageAccessories",re.defaultProps={renderEmbeds:!0,compact:!1};t.default=function(e){var t=e.channel,n=e.message,r=(0,i.useStateFromStores)([I.default],(function(){return I.default.getId()})),o=(0,i.useStateFromStoresObject)([c.default,N.default],(function(){var e=N.default.inlineAttachmentMedia,t=N.default.gifAutoPlay,n=N.default.renderEmbeds,r=N.default.inlineEmbedMedia,a=N.default.renderReactions,o=c.default.useReducedMotion;return{gifAutoPlay:t&&!o,renderEmbeds:n,inlineAttachmentMedia:e,inlineEmbedMedia:r,renderReactions:a}})),l=(0,i.useStateFromStores)([b.default],(function(){return null==t.guild_id||b.default.canChatInGuild(t.guild_id)}),[t]),u=o.renderReactions,s=(0,i.useStateFromStores)([_.default],(function(){return null!=t.guild_id&&_.default.isLurking(t.guild_id)}),[t]),d=(0,i.useStateFromStores)([C.default,A.default],(function(){var e,n,r=A.default.getCurrentUser();return null!==(e=null!=t.guild_id&&null!=r?null===(n=C.default.getMember(t.guild_id,r.id))||void 0===n?void 0:n.isPending:null)&&void 0!==e&&e})),f=(0,i.useStateFromStoresObject)([M.default],(function(){return{canAddNewReactions:l&&M.default.can(z.Permissions.ADD_REACTIONS,t),canManageMessages:M.default.can(z.Permissions.MANAGE_MESSAGES,t)}}),[l,t]),p=f.canAddNewReactions,v=f.canManageMessages,y=(r===n.author.id||v)&&n.author.id!==z.LOCAL_BOT_ID&&!t.isArchivedThread(),m=(r===n.author.id||v)&&!t.isArchivedThread(),h=(0,B.default)({channel:t,canChat:l,renderReactions:u,canAddNewReactions:p,isLurking:s});return a.createElement(re,X({canSuppressEmbeds:y,canDeleteAttachments:m},o,h,e,{isLurking:s&&l,isPendingMember:d&&l}))};var ae=function(e){var t=e.disableReactionReads,n=void 0!==t&&t,r=e.renderComponentAccessory,o=void 0!==r&&r,l=e.renderThreadAccessory,u=void 0!==l&&l,s=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["disableReactionReads","renderComponentAccessory","renderThreadAccessory"]),d=(0,i.useStateFromStoresObject)([c.default,N.default],(function(){var e=N.default.inlineAttachmentMedia,t=N.default.gifAutoPlay,n=N.default.renderEmbeds,r=N.default.inlineEmbedMedia,a=N.default.renderReactions,o=c.default.useReducedMotion;return{gifAutoPlay:t&&!o,renderEmbeds:n,inlineAttachmentMedia:e,inlineEmbedMedia:r,renderReactions:a}}));return a.createElement(re,X({},d,s,{disableReactionReads:n,disableReactionCreates:!0,disableReactionUpdates:!0,canSuppressEmbeds:!1,canDeleteAttachments:!1,renderComponentAccessory:o,renderThreadAccessory:u}))};t.SimpleMessageAccessories=ae,ae.displayName="SimpleMessageAccessories"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{fill:"none",fillRule:"evenodd",transform:"translate(2 6)"},void 0,s("path",{className:f,fill:d,d:"M14 0l2.29 2.29-4.88 4.88-4-4L0 10.59 1.41 12l6-6 4 4 6.3-6.29L20 6V0z"})))}d.displayName="TrendingUp"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(9)),o=i(n(7484));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var s=function(e){var t,n,r=e.renderTitle,i=e.renderTagline,l=e.renderActions,s=e.renderMedia,d=e.className,f=e.isHorizontal,c=void 0!==f&&f;return u("div",{className:(0,a.default)(o.default.tile,(t={},t[o.default.tileHorizontal]=c,t),d)},void 0,u("div",{className:(0,a.default)(o.default.media,(n={},n[o.default.mediaHorizontal]=c,n))},void 0,s&&s()),u("div",{className:o.default.description},void 0,u("h2",{className:o.default.title},void 0,r&&r()),u("div",{className:o.default.tagline},void 0,i&&i()),u("div",{className:o.default.actions},void 0,l&&l())))};s.displayName="ResponsiveTile";var d=s;t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=C(n(0)),o=C(n(3)),i=I(n(478)),l=I(n(5960)),u=n(42),s=I(n(71)),d=I(n(8557)),f=I(n(120)),c=I(n(257)),p=I(n(373)),v=I(n(29)),y=I(n(477)),m=n(85),_=n(35),h=I(n(47)),E=I(n(24)),g=n(402),S=n(1),O=I(n(7486));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function b(){return(b=Object.assign||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}).apply(this,arguments)}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function A(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){N(o,r,a,i,l,"next",e)}function l(e){N(o,r,a,i,l,"throw",e)}i(void 0)}))}}function P(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var L=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={error:null,accepted:!1},t.handleAccept=A(regeneratorRuntime.mark((function e(){var n,r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.props,r=n.giftCode,a=n.channelContext,null!=r){e.next=3;break}throw new Error("GiftCode is null at acceptance.");case 3:return e.prev=3,e.next=6,l.default.redeemGiftCode(r.code,{channelId:a});case 6:t.setState({accepted:!0}),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(3),t.setState({error:e.t0});case 12:case"end":return e.stop()}}),e,null,[[3,9]])}))),t.handleGoToLibrary=function(){var e=t.props,n=e.onClose,r=e.libraryApplication;(0,u.transitionTo)(S.Routes.APPLICATION_LIBRARY,{state:{applicationId:null!=r?r.id:null}}),n()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,R(t,n);var a,o,s,d=r.prototype;return d.componentDidMount=function(){var e=this.props,t=e.application,n=e.sku;null==t&&null!=n&&i.default.fetchApplication(n.applicationId)},d.render=function(){var e=this.props,t=e.application,n=e.accepting,r=e.onClose,a=e.giftCode,o=e.headerId,i=e.transitionState;return M(_.ModalRoot,{transitionState:i,size:_.ModalSize.SMALL,className:O.default.modal,"aria-labelledby":o},void 0,M("div",{className:O.default.backSplash}),M(_.ModalContent,{className:O.default.content},void 0,M(_.ModalCloseButton,{onClick:r,className:O.default.closeButton}),M(y.default,{size:y.default.Sizes.LARGE,game:t,skuId:a.skuId}),M(h.default,{className:O.default.header},void 0,this.headerText),M(E.default,{className:O.default.body},void 0,this.bodyText),M(v.default,{submitting:n,onClick:this.handleClick},void 0,this.buttonText)))},a=r,(o=[{key:"step",get:function(){var e=this.props,t=e.libraryApplication,n=e.accepting,r=e.giftCode,a=this.state,o=a.error,i=a.accepted;return(0,g.getStep)(t,r,o,i,n)}},{key:"buttonText",get:function(){return(0,g.getButtonText)(this.step,this.props.giftCode)}},{key:"headerText",get:function(){return null!=this.props.sku?(0,g.getHeaderText)(this.step,this.props.giftCode,this.props.sku):null}},{key:"bodyText",get:function(){var e=this.props,t=e.sku,n=e.accepting,r=e.libraryApplication,a=e.subscriptionPlan,o=this.state,i=o.error,l=o.accepted;return null!=t?(0,g.getBodyText)(this.step,t,r,i,l,n,this.handleGoToLibrary,a):null}},{key:"errorMessage",get:function(){var e=this.props,t=e.libraryApplication,n=e.accepting,r=this.state,a=r.error,o=r.accepted;return(0,g.getErrorMessage)(t,a,o,n,this.handleGoToLibrary)}},{key:"handleClick",get:function(){var e=this.props,t=e.giftCode,n=e.onClose;switch(this.step){case S.GiftCodeModalStates.ERROR:return n;case S.GiftCodeModalStates.SUCCESS:return __OVERLAY__||null!=t.subscriptionPlanId?n:this.handleGoToLibrary;case S.GiftCodeModalStates.CONFIRM:default:return this.handleAccept}}}])&&P(a.prototype,o),s&&P(a,s),r}(a.Component);L.displayName="GiftCodeAccept";var D=o.default.connectStores([f.default,p.default,s.default,d.default,c.default],(function(e){var t=e.giftCode,n=p.default.get(t.skuId),r=null!=n?s.default.getGame(n.applicationId):null;return{sku:n,libraryApplication:null!=n?(0,g.firstLibraryApplicationForGiftCode)(t,n,f.default):null,application:r,subscriptionPlan:null!=t.subscriptionPlanId?c.default.get(t.subscriptionPlanId):null,accepting:d.default.getIsAccepting(t.code)}}))(L),w=function(e){var t=e.channelContext,n=e.code,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["channelContext","code"]),i=(0,m.useUID)(),l=(0,o.useStateFromStores)([d.default],(function(){return d.default.get(n)}));return null==l?null:a.createElement(D,b({},r,{channelContext:t,giftCode:l,headerId:i}))};w.displayName="GiftCodeAcceptModal";var j=w;t.default=j},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StoreEmbedWithoutDimensions=t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(192),i=C(n(3)),l=n(8344),u=C(n(8257)),s=C(n(8836)),d=C(n(8636)),f=C(n(9523)),c=n(8614),p=C(n(8273)),v=C(n(8299)),y=C(n(71)),m=C(n(120)),_=C(n(8895)),h=C(n(373)),E=C(n(8364)),g=C(n(29)),S=n(289),O=n(1),I=C(n(6)),T=C(n(7555));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(){return(M=Object.assign||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}).apply(this,arguments)}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function A(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var R=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={playing:!1,muted:!0},t.handleToggleMute=function(){t.setState({muted:!t.state.muted})},t.handleMouseEnter=function(){t.setState({playing:!0})},t.handleMouseLeave=function(){t.setState({playing:!1})},t.getStoreListingLocation=function(){var e=t.props.sku;if(null==e)throw new Error("Should not be link to ApplicationStoreListing without SKU");return(0,S.getStoreListingLocation)(e.id,{slug:e.slug,analyticsSource:t.analyticsLocation})},t.handleActionButtonClick=function(e){return e.preventDefault()},t.handleBuyButtonClick=function(e){return e.preventDefault()},t.handleLinkClick=function(e){var n=t.props.onEmbedClick;null!=n&&n(e)},t.renderActions=function(e){var n=t.props,r=n.inLibrary,a=n.application,o=n.skuId,i=n.libraryApplication,l=n.renderCustomActions;if(null==a)return null;if(null!=l)return N("div",{className:T.default.tileActions},void 0,l());var u=null!=a&&a.primarySkuId===o,f=null!=i&&i.hasFlag(O.LibraryApplicationFlags.HIDDEN);return N("div",{className:T.default.tileActions},void 0,!u||f?t.renderViewInStoreButton():N(s.default,{application:a,customDisabledColor:g.default.Colors.GREY,size:g.default.Sizes.SMALL,className:T.default.actionButton,source:O.AnalyticsLocations.MESSAGE_EMBED,onClick:t.handleActionButtonClick}),r&&!f||e.premium?null:N(d.default,{type:d.default.Types.EMBED,sku:e,inLibrary:!1}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,P(t,n);var a,i,p,v=r.prototype;return v.componentDidMount=function(){var e=this.props,t=e.sku,n=e.skuId,r=e.storeListing;null!=t&&null!=r||(0,l.fetchStoreListingForSku)(n)},v.renderViewInStoreButton=function(){return N(g.default.Link,{to:this.getStoreListingLocation(),className:T.default.actionButton,color:g.default.Colors.GREEN,size:g.default.Sizes.SMALL},void 0,I.default.Messages.GAME_ACTION_BUTTON_VIEW_IN_STORE)},v.render=function(){var e=this,t=this.props,n=t.sku,r=t.storeListing,a=t.inLibrary,i=t.width,l=t.fetchFailed,s=t.renderFallback,d=t.renderCustomTitle,p=t.renderCustomTagline,v=this.state,y=v.playing,m=v.muted,_=i>c.HORIZONTAL_EMBED_BREAKPOINT;return null==n||null==r?l?s():N(c.ResponsiveLoadingEmbedTile,{isHorizontal:_}):N(u.default,{section:O.AnalyticsSections.APPLICATION_EMBED},void 0,N(o.Link,{onClick:this.handleLinkClick,to:this.getStoreListingLocation(),onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},void 0,N(f.default,{sku:n,storeListing:r,playing:y,muted:m,inLibrary:a,onToggleMute:this.handleToggleMute,renderCustomActions:function(){return e.renderActions(n)},renderCustomTitle:d,renderCustomTagline:p,isHorizontal:_,isEmbed:!0})))},a=r,(i=[{key:"analyticsLocation",get:function(){var e=this.props,t=e.analyticsContext.location,n=e.analyticsSection;return M({},t,{section:null!=n?n:O.AnalyticsSections.APPLICATION_EMBED,object:O.AnalyticsObjects.CARD})}}])&&A(a.prototype,i),p&&A(a,p),r}(a.Component);R.displayName="StoreEmbed",R.defaultProps={renderFallback:O.NOOP};var L=[h.default,_.default,m.default,E.default,y.default];function D(e){var t=e.skuId,n=h.default.get(t);return{sku:n,application:null!=n?y.default.getGame(n.applicationId):null,fetchFailed:h.default.didFetchingSkuFail(t),inLibrary:null!=n&&m.default.hasApplication(n.applicationId,n.applicationId,!0),storeListing:null!=n?E.default.getForSKU(n.id):null,libraryApplication:null!=n?m.default.getLibraryApplication(n.applicationId,n.applicationId,!0):null}}var w=(0,v.default)((0,p.default)(R));var j=i.default.connectStores(L,D)(w);t.default=j;var k=(0,p.default)(i.default.connectStores(L,D)(R));t.StoreEmbedWithoutDimensions=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(3),o=c(n(120)),i=c(n(373)),l=c(n(29)),u=n(136),s=c(n(8470)),d=c(n(8891)),f=c(n(8892));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e){var t=e.application,n=e.fullWidth,c=void 0!==n&&n,p=e.size,y=void 0===p?l.default.Sizes.LARGE:p,m=e.color,_=e.customDisabledColor,h=e.hideNotLaunchable,E=e.tooltipPosition,g=e.onClick,S=e.className,O=e.source,I=e.storeListingAnalyticsProperties,T=e.pauseAnimation,C={fullWidth:c,size:y,color:m,customDisabledColor:_,tooltipPosition:E,onClick:g,className:S,hover:e.hover,innerClassName:e.innerClassName},b=(0,a.useStateFromStores)([o.default],(function(){return o.default.getActiveLibraryApplication(t.id)})),M=null!=b?b.sku.id:null,N=null!=M?M:t.primarySkuId,A=(0,a.useStateFromStores)([i.default],(function(){return null!=N&&!i.default.didFetchingSkuFail(N)}));return null!=b&&(0,u.isUserEntitledToLibraryApplication)(b)?r.createElement(f.default,v({},C,{libraryApplication:b,source:O})):A?r.createElement(s.default,v({},C,{skuId:null!=b?b.sku.id:null,applicationId:t.id,pauseAnimation:T,storeListingAnalyticsProperties:I})):r.createElement(d.default,v({},C,{hideNotLaunchable:h,applicationId:t.id}))}y.displayName="ApplicationActionButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openIAPPurchaseModal=function(e,t,n,r,a){var o;o=null==p.default.get(t)?u.fetchSKU(e,t):Promise.resolve();return o.then((function(){var o=p.default.get(t),l=d.default.getCurrentUser();return null!=o&&o.premium?y.default.canInstallPremiumApplications(l)?O(o,a):i.openModal(a).then((function(){return function(e,t,n,r){var a=c.default.getPremiumSubscription(),o={id:e.id,applicationId:e.applicationId};if(null!=a){var i=y.default.getClosestUpgrade(a.planId);if(null==i)return Promise.reject(new Error("Could not find premium upgrade."));var l={initialPlanId:i,followupSKUInfo:o};switch(r){case _.AppContext.APP:return s.default.openPremiumSwitchPlanModalInApp(l);case _.AppContext.OVERLAY:return s.default.openPremiumSwitchPlanModalInOverlay(l);default:throw new Error("Unexpected app context: "+r)}}return t()}(o,n,0,a)})).then((function(){return O(o,a)})):T(e,t,r,{isIAP:!0,context:a})}))},t.openSKUPaymentModal=T;var r=g(n(0)),a=h(n(2)),o=g(n(287)),i=g(n(8838)),l=n(8615),u=g(n(5672)),s=h(n(8734)),d=h(n(12)),f=h(n(693)),c=h(n(1147)),p=h(n(373)),v=n(41),y=h(n(96)),m=h(n(9515)),_=n(1);function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function S(){return(S=Object.assign||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}).apply(this,arguments)}function O(e,t){var n=e.applicationId,r=e.id;return u.purchaseSKU(n,r).then((function(e){var a=e.entitlements;return(0,l.openPurchaseConfirmationModal)(n,r,a,{context:t})}))}var I={isIAP:!1,context:_.AppContext.APP,promotionId:null,isGift:!1};function T(e,t,n,i){void 0===i&&(i={});var l=Promise.resolve();f.default.hasFetchedPaymentSources||(l=o.fetchPaymentSources());var u=S({},I,{},i),s=u.isIAP,d=u.context,c=u.promotionId,p=u.isGift;return l.then((function(){return new Promise((function(o,i){a.default.dispatch({type:_.ActionTypes.SKU_PURCHASE_MODAL_OPEN,applicationId:e,skuId:t,isIAP:s,isGift:p,analyticsLocation:n,promotionId:c,context:d,resolve:o,reject:i}),(0,v.openModal)((function(n){var o=n.onClose,i=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(n,["onClose"]);return r.createElement(m.default,S({},i,{onClose:function(e){void 0===e&&(e=null),a.default.dispatch({type:_.ActionTypes.SKU_PURCHASE_MODAL_CLOSE,error:e}),o()},applicationId:e,skuId:t,appContext:d}))}))}))}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openModal=function(e){return f.apply(this,arguments)},t.closeModal=function(e){r.default.dispatch({type:i.ActionTypes.PREMIUM_REQUIRED_MODAL_CLOSE,shouldContinue:e})};var r=u(n(2)),a=u(n(1147)),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(287)),i=n(1);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){s(o,r,a,i,l,"next",e)}function l(e){s(o,r,a,i,l,"throw",e)}i(void 0)}))}}function f(){return(f=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=a.default.getPremiumSubscription()){e.next=3;break}return e.next=3,o.fetchSubscriptions();case 3:return e.abrupt("return",new Promise((function(e,n){r.default.dispatch({type:i.ActionTypes.PREMIUM_REQUIRED_MODAL_OPEN,context:t,resolve:e,reject:n})})));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchUserTrialOffer=function(e){return s.apply(this,arguments)},t.userTrialOfferViewed=function(e){return d.apply(this,arguments)};var r=i(n(14)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){l(o,r,a,i,u,"next",e)}function u(e){l(o,r,a,i,u,"throw",e)}i(void 0)}))}}function s(){return(s=u(regeneratorRuntime.mark((function e(t){var n,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r.default.get({url:o.Endpoints.USER_TRIAL_OFFER(t),oldFormErrors:!0});case 3:n=e.sent,i=n.body,a.default.dispatch({type:o.ActionTypes.BILLING_USER_TRIAL_OFFER_FETCH_SUCCESS,trialId:t,userTrialOffer:i}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),a.default.dispatch({type:o.ActionTypes.BILLING_USER_TRIAL_OFFER_FETCH_SUCCESS,trialId:t});case 11:case"end":return e.stop()}}),e,null,[[0,8]])})))).apply(this,arguments)}function d(){return(d=u(regeneratorRuntime.mark((function e(t){var n,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==t.expires_at){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,e.next=5,r.default.post({url:o.Endpoints.USER_TRIAL_OFFER_ACKNOWLEDGED(t.id)});case 5:n=e.sent,i=n.body,a.default.dispatch({type:o.ActionTypes.BILLING_USER_TRIAL_OFFER_ACKNOWLEDGED_SUCCESS,userTrialOffer:i}),e.next=12;break;case 10:e.prev=10,e.t0=e.catch(2);case 12:case"end":return e.stop()}}),e,null,[[2,10]])})))).apply(this,arguments)}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(9)),i=n(8278),l=n(8619),u=y(n(47)),s=n(8504),d=n(8279),f=y(n(9393)),c=n(8342),p=y(n(6)),v=y(n(7489));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t,n){return _(f.default,{className:v.default.option,name:e.name,state:t,onClick:n},e.name)}function E(e){var t,n,r,o,i=e.command,l=e.optionStates,s=e.onOptionClick,d=null!==(t=null===(n=i.options)||void 0===n?void 0:n.filter((function(e){return e.required})))&&void 0!==t?t:[],f=null!==(r=null===(o=i.options)||void 0===o?void 0:o.filter((function(e){return!e.required})))&&void 0!==r?r:[];return a.createElement(a.Fragment,null,d.map((function(e){return h(e,null==l?void 0:l[e.name],s)})),f.length>0?a.createElement(a.Fragment,null,_(u.default,{className:v.default.optionalHeader,size:u.default.Sizes.SIZE_12},void 0,p.default.Messages.COMMANDS_OPTIONAL_HEADER),f.map((function(e){return h(e,null==l?void 0:l[e.name],s)}))):null)}function g(e){var t,n,r,u,f,p=e.command,y=e.activeOptionName,m=e.channel,h=e.showOptions,g=e.showImage,S=e.optionStates,O=e.onOptionClick,I=e.isSelectable,T=void 0===I||I,C=(0,s.useCommandSection)(m,p.applicationId),b=a.useMemo((function(){var e;return null==p||null===(e=p.options)||void 0===e?void 0:e.find((function(e){return e.name===y}))}),[y,p]),M=null!=y?null==S?void 0:S[y]:null;null!=M&&!1===(null===(t=M.lastValidationResult)||void 0===t?void 0:t.success)?u=null!==(f=M.lastValidationResult.error)&&void 0!==f?f:"":u=null;var N=g&&null!=C?(0,c.getIconComponent)(C):null;return _("div",{className:(0,o.default)(v.default.wrapper,T?null:v.default.disabled)},void 0,null!=N?_(N,{className:v.default.image,section:C,width:32,height:32}):null,_("div",{className:v.default.infoWrapper},void 0,_("div",{className:v.default.usageWrapper},void 0,_(l.AutocompleteRowHeading,{className:v.default.title},void 0,i.COMMAND_SENTINEL+p.name),h?_(E,{command:p,optionStates:S,onOptionClick:O}):null),_(l.AutocompleteRowSubheading,{className:(0,o.default)(v.default.description,null!=u?v.default.error:null)},void 0,null!==(n=null!==(r=u)&&void 0!==r?r:null==b?void 0:b.description)&&void 0!==n?n:p.description)),_(l.AutocompleteRowContentSecondary,{className:v.default.source},void 0,C?(0,d.getApplicationCommandSectionName)(C):void 0))}h.displayName="renderOption",g.displayName="ApplicationCommandItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function i(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,i=e.color,l=void 0===i?"currentColor":i;return o("svg",{width:n,height:a,viewBox:"0 0 40 40",fill:"none",className:e.className},void 0,o("path",{className:e.foreground,fill:l,fillRule:"evenodd",clipRule:"evenodd",d:"M33 34.5833V7.49998H35V36.6666H9C6.791 36.6666 5 34.801 5 32.5V7.49998C5 5.19894 6.791 3.33331 9 3.33331H31V30.4166H9C7.8955 30.4166 7 31.3485 7 32.5C7 33.6515 7.8955 34.5833 9 34.5833H33ZM23.9718 9.99998L15.8889 17.9915L12.7086 14.8441L10 17.5058L15.8885 23.3333L26.6667 12.6669L23.9718 9.99998Z"}))}i.displayName="ChannelRules"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function i(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,i=e.color,l=void 0===i?"currentColor":i,u=e.className,s=e.foreground;return o("svg",{width:n,height:a,viewBox:"0 0 24 24",className:u},void 0,o("path",{fillRule:"evenodd",clipRule:"evenodd",fill:l,className:s,d:"M22.545 4.87988V5.87988H23.28C23.4126 5.87988 23.52 5.98733 23.52 6.11988V10.6399C23.52 10.7724 23.4126 10.8799 23.28 10.8799H17.76C17.6275 10.8799 17.52 10.7724 17.52 10.6399V6.11988C17.52 5.98733 17.6275 5.87988 17.76 5.87988H18.52V4.87988C18.52 3.75988 19.47 2.87988 20.52 2.87988C21.57 2.87988 22.545 3.75988 22.545 4.87988ZM19.52 5.87988H21.52V4.87988C21.52 4.30845 21.0534 3.87988 20.52 3.87988C19.9867 3.87988 19.52 4.30845 19.52 4.87988V5.87988Z"}),o("path",{fillRule:"evenodd",clipRule:"evenodd",fill:l,className:s,d:"M4.85 8.26429L15.84 5.84426V10.5599C15.84 11.6202 16.6996 12.4799 17.76 12.4799H21V19.0586H19.1V17.9302L12.7065 16.524L10.36 19.6233C10.1776 19.8633 9.89545 19.9998 9.6 19.9998C9.524 19.9998 9.4461 19.9904 9.3701 19.9725L5.5701 19.0313C5.1464 18.925 4.85 18.5495 4.85 18.1175V8.26429ZM9.2181 17.9942L6.75 17.3824V15.2111L10.6706 16.0751L9.2181 17.9942Z"}),o("path",{d:"M3.9 8.25981H2V15.2939H3.9V8.25981Z",fill:l}))}i.displayName="MegaphoneLimited"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function i(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,i=e.color,l=void 0===i?"currentColor":i,u=e.className,s=e.foreground,d=e.background;return o("svg",{width:n,height:a,viewBox:"0 0 24 24",className:u},void 0,o("path",{fillRule:"evenodd",clipRule:"evenodd",fill:l,className:s,d:"M20.4683 4.76211L22.8094 9.51661C23.1366 10.1813 22.6554 10.9601 21.9174 10.9601L17.2104 10.9601C16.4706 10.9601 15.9894 10.1778 16.3203 9.51286L18.6861 4.75836C19.0537 4.01957 20.1037 4.02179 20.4683 4.76211ZM19.0833 5.96007H20.0786V8.46007H19.0834L19.0833 5.96007ZM19.0833 9.45894C19.0833 9.73596 19.3063 9.96007 19.5809 9.96007C19.8556 9.96007 20.0786 9.73596 20.0786 9.45894C20.0786 9.18231 19.8556 8.9578 19.5809 8.9578C19.3063 8.9578 19.0833 9.18231 19.0833 9.45894Z"}),o("path",{className:d,fill:l,fillRule:"evenodd",clipRule:"evenodd",d:"M4.85 8.26445L16.7165 5.65143L15.1067 9.30608C14.5477 10.5751 15.4771 12 16.8638 12H21V19.0588H19.1V17.9303L12.7065 16.5242L10.36 19.6235C10.1776 19.8635 9.89545 20 9.6 20C9.524 20 9.4461 19.9906 9.3701 19.9727L5.5701 19.0315C5.1464 18.9252 4.85 18.5496 4.85 18.1176V8.26445ZM9.2181 17.9943L6.75 17.3826V15.2113L10.6706 16.0753L9.2181 17.9943Z"}),o("path",{d:"M3.9 8.25998H2V15.2941H3.9V8.25998Z",fill:l}))}i.displayName="MegaphoneNSFW"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24",fill:"none"}),s("path",{className:f,fill:d,d:"M14.4 7C14.5326 7 14.64 7.10745 14.64 7.24V8.76C14.64 8.89255 14.5326 9 14.4 9H9.41045L8.35045 15H10.56V17H8.00001L7.36325 20.5874C7.32088 20.8261 7.11337 21 6.87094 21H5.88657C5.57547 21 5.3399 20.7189 5.39427 20.4126L6.00001 17H2.59511C2.28449 17 2.04905 16.7198 2.10259 16.4138L2.27759 15.4138C2.31946 15.1746 2.52722 15 2.77011 15H6.35001L7.41001 9H4.00511C3.69449 9 3.45905 8.71977 3.51259 8.41381L3.68759 7.41381C3.72946 7.17456 3.93722 7 4.18011 7H7.76001L8.39677 3.41262C8.43914 3.17391 8.64664 3 8.88907 3H9.87344C10.1845 3 10.4201 3.28107 10.3657 3.58738L9.76001 7H14.4Z"}),s("path",{className:f,fill:d,d:"M12.48 13.92C12.48 13.3898 12.9098 12.96 13.44 12.96H22.56C23.0902 12.96 23.52 13.3898 23.52 13.92V20.2213C23.52 20.7515 23.0902 21.1813 22.56 21.1813H18.1294C17.8917 21.1813 17.6623 21.2695 17.4859 21.4289L15.0409 23.6378C14.8866 23.7773 14.64 23.6677 14.64 23.4597V21.4213C14.64 21.2887 14.5326 21.1813 14.4 21.1813H13.44C12.9098 21.1813 12.48 20.7515 12.48 20.2213V13.92Z"}),s("path",{className:f,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M22.8093 8.55658L20.4681 3.80208C20.1036 3.06176 19.0536 3.05954 18.686 3.79833L16.3201 8.55283C15.9893 9.21773 16.4705 10 17.2103 10L21.9173 10C22.6553 10 23.1365 9.22122 22.8093 8.55658ZM20.0785 5.00004H19.0832L19.0833 7.50004H20.0785V5.00004ZM19.5808 9.00004C19.3061 9.00004 19.0832 8.77593 19.0832 8.49891C19.0832 8.22228 19.3061 7.99777 19.5808 7.99777C19.8555 7.99777 20.0785 8.22228 20.0785 8.49891C20.0785 8.77593 19.8555 9.00004 19.5808 9.00004Z"}))}d.displayName="NSFWThreadIcon"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fill:d,className:f,d:"M20 7H12L10.553 5.106C10.214 4.428 9.521 4 8.764 4H3C2.447 4 2 4.447 2 5V19C2 20.104 2.895 21 4 21H20C21.104 21 22 20.104 22 19V9C22 7.896 21.104 7 20 7Z"}))}d.displayName="Folder"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var i=o("rect",{width:"16",height:"16"});function l(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,u=void 0===l?"currentColor":l,s=e.className,d=e.foreground;return o("svg",{className:s,width:n,height:a,viewBox:"0 0 16 16"},void 0,o("g",{fill:"none",fillRule:"evenodd"},void 0,i,o("polygon",{className:d,fill:u,points:"12 2.32 10.513 2 4 13.68 5.487 14"})))}l.displayName="Slash"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trackAutocompleteOpen=function(e,t,n){var r,a;l.default.track(u.AnalyticEvents.CHANNEL_AUTOCOMPLETE_OPEN,s({},(0,o.collectChannelAnalyticsMetadata)(t),{},(0,o.collectGuildAnalyticsMetadata)(t.guild_id),{autocomplete_type:e,num_emoji_results:null!==(r=null==n?void 0:n.numEmojiResults)&&void 0!==r?r:0,num_sticker_results:null!==(a=null==n?void 0:n.numStickerResults)&&void 0!==a?a:0}))},t.trackAutocompleteSelect=function(e,t,n,r){var a,i;l.default.track(u.AnalyticEvents.CHANNEL_AUTOCOMPLETE_SELECTED,s({},(0,o.collectChannelAnalyticsMetadata)(n),{},(0,o.collectGuildAnalyticsMetadata)(n.guild_id),{autocomplete_type:e,selection_type:t,sticker_id:null==r?void 0:r.stickerId,num_emoji_results:null!==(a=null==r?void 0:r.numEmojiResults)&&void 0!==a?a:0,num_sticker_results:null!==(i=null==r?void 0:r.numStickerResults)&&void 0!==i?i:0}))},t.trackStickerPreviewSelect=function(e){var t=e.sticker,n=e.stickerSelectLocation,r=e.isReplacement;l.default.track(u.AnalyticEvents.STICKER_ATTACHED,{replaced:r,source:d(n),sticker_id:t.id})};var r,a,o=n(106),i=n(366),l=(r=n(13))&&r.__esModule?r:{default:r},u=n(1);function s(){return(s=Object.assign||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}).apply(this,arguments)}function d(e){switch(e){case i.StickerSelectLocation.AUTOCOMPLETE:return a.AUTOCOMPLETE;case i.StickerSelectLocation.EXPRESSION_SUGGESTIONS:return a.AUTOSUGGEST;case i.StickerSelectLocation.STICKER_PICKER:return a.STICKER_PICKER;default:return null}}!function(e){e.AUTOCOMPLETE="autocomplete",e.AUTOSUGGEST="autosuggest",e.STICKER_PICKER="picker"}(a||(a={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(286),a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(8311)),o=E(n(8383)),i=E(n(8469)),l=E(n(8341)),u=n(8504),s=E(n(8280)),d=n(8279),f=E(n(40)),c=E(n(12)),p=E(n(8291)),v=n(8278),y=n(8346),m=n(8281),_=n(1),h=E(n(6));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}var S={results:{commands:[]}};var O={sentinel:v.COMMAND_SENTINEL,stores:[s.default,o.default,i.default,l.default,f.default],matches:function(e,t,n,r,a){return a.commands!==m.CommandMode.DISABLED&&null==s.default.getActiveCommand()},queryResults:function(e,t,n,s,p){var v=n.split(" ")[0];if(0===v.length&&s.commands!==m.CommandMode.OLD_BUILT_INS)return S;var y={channel:e,guild:t};if(s.commands===m.CommandMode.OLD_BUILT_INS){var h=(0,d.queryCommands)(y,[],n,r.ApplicationCommandTarget.CHAT,!1,m.MAX_COMMAND_AUTOCOMPLETE_RESULTS,!1,!1);return 0===h.length?S:{results:{commands:h}}}if(p&&s.commands===m.CommandMode.NEW)if(null!=e.guild_id)a.queryGuildApplicationCommands(e.guild_id,v,m.MAX_COMMAND_AUTOCOMPLETE_RESULTS,r.ApplicationCommandTarget.CHAT,null==l.default.getRemoteGuildApplications(e.guild_id));else if(e.type===_.ChannelTypes.DM){var E=c.default.getUser(e.getRecipientId());!0===(null==E?void 0:E.bot)&&null==o.default.getCommands(E.id,r.ApplicationCommandTarget.CHAT)&&a.queryDmApplicationCommands(E.id,r.ApplicationCommandTarget.CHAT)}for(var g=(0,u.getContextCommands)(e,r.ApplicationCommandTarget.CHAT,o.default,i.default,f.default),O=n.split(" ",3),I=0;I<O.length;I++){var T=O.join(" "),C=(0,d.queryCommands)(y,g,T,r.ApplicationCommandTarget.CHAT,!1,m.MAX_COMMAND_AUTOCOMPLETE_RESULTS,s.commands===m.CommandMode.NEW||s.commands===m.CommandMode.NEW_TEXT_ONLY,s.commands===m.CommandMode.NEW_TEXT_ONLY);if(C.length>0)return{results:{commands:C}};O.pop()}return S},renderResults:function(e,t,n,r,a,o,i,l){var u=e.commands;return(0,y.renderAutocompleteGroup)(a,t,u,i,l,h.default.Messages.COMMANDS_MATCHING,h.default.Messages.COMMANDS,o.commands===m.CommandMode.OLD_BUILT_INS?p.default.Command:p.default.NewCommand,(function(e){return{key:e.id,command:e,channel:n,guildId:n.guild_id,showImage:!0}}),(function(e){return""+v.COMMAND_SENTINEL+e}),"commands")},onSelect:function(e,t,n,r){var o=e.commands[t];return(0,d.hasAccess)(o)&&(r.commands===m.CommandMode.OLD_BUILT_INS?r.insertText(function(e){return""+v.COMMAND_SENTINEL+e.name}(o)):a.setActiveCommand(o)),{type:m.AutocompleteSelectionTypes.COMMAND}}};t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u={},s={integration:"",query:""};var d=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var a=r.prototype;return a.getResults=function(e,t){if(null==e||null==t)return null;var n=u[e];return null!=n&&null!=n[t]?n[t]:null},a.getQuery=function(){return s},r}(r.default.Store))(a.default,{INTEGRATION_QUERY:function(e){var t=e.integration,n=e.query;u[t]=u[t]||{},u[t][n]={loading:!0,results:[]}},INTEGRATION_QUERY_SUCCESS:function(e){var t=e.integration,n=e.query,r=e.results;u[t][n]={loading:!1,results:r.map((function(e){return{type:o.ChannelTextAreaIntegrations[t].type,meta:e}}))},s={query:n,integration:t}},INTEGRATION_QUERY_FAILURE:function(e){var t=e.integration,n=e.query;delete u[t][n]}});t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LEGACY_COMMAND_REGEX=void 0;var r=d(n(9414)),a=n(8260),o=d(n(8291)),i=n(8346),l=n(8281),u=d(n(8850)),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){return(f=Object.assign||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}).apply(this,arguments)}var c=/^(?:[A-Za-z]+(?!\.))?[!@#$%>?;+.=-]{1,3}/;t.LEGACY_COMMAND_REGEX=c;var p={results:{commands:[]}},v=f({},u.default,{sentinel:void 0,autoFocus:!1,matches:function(e,t,n,r,a){if(a.commands===l.CommandMode.DISABLED||a.commands===l.CommandMode.OLD_BUILT_INS||!r||n.length<2)return!1;var o=c.exec(n);return null!=o&&n.length>o[0].length},queryResults:function(e,t,n,o,i){var l=c.exec(n);if(null==l)return p;var s=u.default.queryResults(e,t,n.substring(l[0].length),o,i),d=s.results,f=s.metadata,v=d.commands.filter((function(e){return e.type===a.ApplicationCommandType.BOT}));return 0===v.length?p:(r.default.trackExposure({}),r.default.getCurrentConfig({}).showApplicationCommandSuggestions?{results:{commands:v},metadata:f}:p)},renderResults:function(e,t,n,r,a,u,d,f){var c=e.commands;return(0,i.renderAutocompleteGroup)(a,t,c,d,f,s.default.Messages.COMMANDS_MATCHING,s.default.Messages.COMMANDS,u.commands===l.CommandMode.OLD_BUILT_INS?o.default.Command:o.default.NewCommand,(function(e){return{key:e.id,command:e,channel:n,guildId:n.guild_id,showImage:!0}}),(function(e){return e}),"commands")},onSelect:function(e,t,n,r){var a=u.default.onSelect(e,t,n,r).metadata;return{type:l.AutocompleteSelectionTypes.COMMAND_SUGGESTION,metadata:a}}});t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24",fill:"none"}),s("path",{foreground:f,fill:d,d:"M20 10.9378H14.2199H8.06628L10.502 8.50202L9 7L4 12L9 17L10.502 15.498L8.06628 13.0622H20V10.9378Z"}))}d.displayName="ArrowLeft"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(133))&&r.__esModule?r:{default:r},i=n(1);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=(0,o.default)({ARROW_UP:null,ARROW_DOWN:null,ARROW_LEFT:null,ARROW_RIGHT:null});function d(e){switch(e){case i.KeyboardKeys.ARROW_DOWN:return s.ARROW_DOWN;case i.KeyboardKeys.ARROW_UP:return s.ARROW_UP;case i.KeyboardKeys.ARROW_LEFT:return s.ARROW_LEFT;case i.KeyboardKeys.ARROW_RIGHT:return s.ARROW_RIGHT;default:return null}}var f=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={focusedColumn:null,focusedRow:null},t.handleKeyDown=function(e){var n=t.props.onSelect;switch(e.keyCode){case i.KeyboardKeys.ARROW_DOWN:case i.KeyboardKeys.ARROW_UP:case i.KeyboardKeys.ARROW_LEFT:case i.KeyboardKeys.ARROW_RIGHT:e.preventDefault(),e.stopPropagation(),t.focusNext(d(e.keyCode));break;case i.KeyboardKeys.ENTER:e.preventDefault(),e.stopPropagation();var r=t.calculateFocusedItem();null!=r&&null!=n&&n(r)}},t.wrapPosition=function(e,n,r,a){var o=e.length,i=r*o+n,l=Math.max(i+a,0)%o,u=0;return a<0&&l>n&&(u=-1),a>0&&l<n&&(u=1),{column:l,row:(t.calculateClosest(e[n][r],e[l])||r)+u}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var a=r.prototype;return a.componentDidMount=function(){document.addEventListener("keydown",this.handleKeyDown,!0)},a.componentWillUnmount=function(){document.removeEventListener("keydown",this.handleKeyDown,!0)},a.focusNext=function(e){var t=this,n=this.props,r=n.getItemGrid,a=n.onFocus,o=this.state,i=o.focusedColumn,l=o.focusedRow;if(null!=e){var u=r();if(null!=u){var s=this.getNext(u,i,l,e);this.setState({focusedColumn:s.column,focusedRow:s.row},(function(){var e=t.calculateFocusedItem();null!=e&&null!=a&&a(e)}))}}},a.getNext=function(e,t,n,r){var a,o,i,l;if(null==t||null==n)o=0,i=0,a={column:0,row:0};else switch(o=t,i=n,r){case s.ARROW_UP:a={column:o,row:Math.max(i-1,0)};break;case s.ARROW_DOWN:a={column:o,row:Math.min(i+1,e[o].length-1)};break;case s.ARROW_LEFT:a=this.wrapPosition(e,o,i,-1);break;case s.ARROW_RIGHT:a=this.wrapPosition(e,o,i,1)}return null!=a&&(l=e[a.column][a.row]),null!=l&&null!=a||(l=e[(a={column:o,row:i}).column][a.row]),{column:a.column,row:a.row,id:l}},a.calculateClosest=function(e,t){var n=this.props.getCoordsMap()[e];if(null!=n){for(var r,a=Number.MAX_SAFE_INTEGER,o=0;o<t.length;o++){var i=this.props.getCoordsMap()[t[o]];if(null!=i){var l=Math.abs(i.top-n.top);if(!(l<a))break;a=l,r=o}}return r}},a.calculateFocusedItem=function(){var e=this.props.getItemGrid,t=this.state,n=t.focusedRow,r=t.focusedColumn,a=e();return null==a||null==r||null==n||null==a[r]||null==a[r][n]?null:a[r][n]},a.render=function(){return this.props.children},r}(a.Component);t.default=f,f.displayName="MasonryKeyboardNavigationWrapper"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MasonryListScrollerRef",{enumerable:!0,get:function(){return o.MasonryListScrollerRef}}),Object.defineProperty(t,"RenderSection",{enumerable:!0,get:function(){return o.RenderSection}}),Object.defineProperty(t,"RenderItem",{enumerable:!0,get:function(){return o.RenderItem}}),Object.defineProperty(t,"MasonryListScrollerProps",{enumerable:!0,get:function(){return o.MasonryListScrollerProps}}),Object.defineProperty(t,"MasonryListGetItemKey",{enumerable:!0,get:function(){return o.MasonryListGetItemKey}}),Object.defineProperty(t,"MasonryListUnitCoords",{enumerable:!0,get:function(){return o.MasonryListUnitCoords}}),Object.defineProperty(t,"MasonryListCoordsMap",{enumerable:!0,get:function(){return o.MasonryListCoordsMap}}),Object.defineProperty(t,"MasonryListGrid",{enumerable:!0,get:function(){return o.MasonryListGrid}}),t.default=t.MasonryListAuto=t.MasonryListThin=void 0;var r,a=n(741),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(9421)),i=(r=n(381))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}var u=(0,o.default)(i.default.thin,i.default.fade,ResizeObserver||a.ResizeObserver);t.MasonryListThin=u;var s=(0,o.default)(i.default.auto,i.default.fade,ResizeObserver||a.ResizeObserver);t.MasonryListAuto=s;var d=u;t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0));function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t,n){var r=Math.max(Math.floor(e/t),1);return Math.min(r,n)}var d=(0,((r=n(8299))&&r.__esModule?r:{default:r}).default)((o=a=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={columns:s(t.props.width,t.props.desiredItemWidth,t.props.maxColumns)},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n),r.getDerivedStateFromProps=function(e,t){var n=s(e.width,e.desiredItemWidth,e.maxColumns);return n!==t.columns?{columns:n}:null},r.prototype.render=function(){var e=this.props,t=e.width,n=e.height;return(0,e.children)(this.state.columns,t,n)},r}(i.Component),a.defaultProps={desiredItemWidth:200},o));t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GIFPickerSearchItem=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=I(n(9)),i=I(n(8)),l=I(n(10340)),u=I(n(3)),s=n(8507),d=I(n(8854)),f=I(n(8624)),c=I(n(8858)),p=I(n(8438)),v=I(n(29)),y=I(n(61)),m=I(n(8623)),_=I(n(8855)),h=I(n(272)),E=I(n(8856)),g=n(1),S=I(n(6)),O=I(n(7501));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,b(e,t)}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(){return(N=Object.assign||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}).apply(this,arguments)}var A=[g.Colors.PREMIUM_TIER_1_PURPLE,g.Colors.PREMIUM_TIER_1_BLUE,"#929AFA"],P=Array.from({length:16}).map((function(e,t){return{id:""+t,height:Math.floor(100*Math.random())+120}}));function R(e){return e.id||e.src}function L(e,t){var n=P[t];return null==n?0:n.height}function D(e,t,n,r){if(!(e>0))return null==P[t]?null:M("div",{className:O.default.placeholder,style:N({animationDelay:75*t+"ms"},n)},r)}function w(e,t){var n;return e>0?"":(null===(n=P[t])||void 0===n?void 0:n.id)||""}function j(e){return e===g.GIFResultFormat.VIDEO}D.displayName="renderLoadingItem";var k=function(e){var t=e.className,n=e.isFavorite,r=e.item;return M(c.default,{className:t,isFavorite:n,onClick:function(e){var t=r.width,n=r.height,a=r.src,o=r.url,i=r.format;e?(0,s.removeFavoriteGIF)(o):(0,s.addFavoriteGIF)({width:t,height:n,src:a,url:o,format:i})}})};k.displayName="ConnectedGIFFavButtonInner";var U=u.default.connectStores([p.default],(function(e){var t=e.item.url;return{isFavorite:p.default.getIsFavorite(t)}}))(k),G=new l.default((function(){var e=document.createElement("video");return e.className=O.default.gif,e.autoplay=!0,e.loop=!0,e.muted=!0,e.preload="auto",e.controls=!1,e}),(function(e){e.src="",e.oncanplay=null;var t=e.parentNode;null!=t&&t.removeChild(e)})),F=new l.default((function(){return document.createElement("img")}),(function(e){e.onload=null,e.src=""})),B=function(e){function t(t){var n;(n=e.call(this,t)||this).ref=null,n._video=null,n._image=null,n._mounted=!0,n.handleCanPlay=function(){n._mounted&&n.setState({loaded:!0})},n.handleClick=function(){var e=n.props,t=e.onClick,r=e.item,a=e.index;null!=t&&t(r,a)};var r=n.props,a=r.format,o=r.color;return n.state={color:null==o?i.default.sample(A):o,loaded:!1},j(a)||(n._image=F.getElement(),n._image.onload=function(){return n.setState({loaded:!0})},n._image.src=t.src),n}C(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this.props,t=e.format,n=e.src,r=e.coords,a=r.width,o=r.height,i=this.ref;if(t===g.GIFResultFormat.VIDEO&&null!=i){var l=G.getElement();l.oncanplay=this.handleCanPlay,l.src=n,l.width=a,l.height=o,i.appendChild(l),this._video=l}},n.componentDidUpdate=function(e){var t=this.props.coords,n=t.width,r=t.height;null==this._video||e.coords.width===n&&e.coords.height===r||(this._video.width=n,this._video.height=r)},n.componentWillUnmount=function(){this._mounted=!1;var e=this._image,t=this._video;null!=e&&(this._image=null,F.poolElement(e)),null!=t&&(this._video=null,G.poolElement(t))},n.renderGIF=function(){var e=this.props,t=e.src,n=e.coords,r=n.width,a=n.height;return this.state.loaded?M("img",{src:t,width:r,height:a,className:O.default.gif,alt:""}):null},n.render=function(){var e,t=this,n=this.props,r=n.item,a=n.renderExtras,i=n.format,l=n.coords,u=n.focused,s=this.state,d=s.color,f=s.loaded;return M(y.default,{tabIndex:-1,innerRef:function(e){t.ref=e},className:(0,o.default)(O.default.result,(e={},e[O.default.focused]=u,e)),onClick:this.handleClick,style:N({backgroundColor:f?void 0:d},l)},void 0,j(i)?null:this.renderGIF(),null!=a?a(r):null)},t}(a.PureComponent);t.GIFPickerSearchItem=B,B.displayName="GIFPickerSearchItem";var H=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this)._masonryRef=a.createRef(),t.prevResultQuery=null,t.state={focusedId:null},t.handleFocus=function(e){var n=t._masonryRef.current;if(null!=n){var r=n.getCoordsMap()[e];null!=r&&(n.scrollIntoViewRect({start:r.top-10,end:r.top+r.height+10}),t.setState({focusedId:e}))}},t.handleSelect=function(e){var n,r=t.props.data,a=r.findIndex((function(t){return R(t)===e}));-1!==a&&(n=r[a]),null!=n&&t.selectItem(n,a)},t.handleClickItem=function(e,n){t.selectItem(e,n)},t.handleScroll=function(){var e=t.props.resultQuery,n=t._masonryRef.current;if(null!=n){var r=n.getScrollerState(),a=r.scrollTop;r.scrollHeight-a<=1220&&(e!==t.prevResultQuery&&(0,s.fetchSuggestions)(e),t.prevResultQuery=e)}},t.renderItem=function(e,n,r,a){if(e>0)return null;var o=t.state.focusedId,i=t.props.data[n];return null==i?null:M(B,{item:i,index:n,format:i.format,src:i.src,coords:r,onClick:t.handleClickItem,renderExtras:function(){return M(U,{className:O.default.favButton,item:i})},focused:R(i)===o},a)},t.getItemHeight=function(e,n,r){if(e>0)return 0;var a=t.props.data[n];return null==a?0:r*(a.height/a.width)},t.getItemKey=function(e,n){if(e>0)return null;var r=t.props.data[n];return null!=r?r.id||r.src:null},t.renderSection=function(e,n,r){var o=t.props,i=o.onSelectSuggestion,l=o.suggestions;return 1===e?M("div",{className:O.default.endContainer,style:n},r,l.length>0?M(a.Fragment,{},void 0,M("div",{className:O.default.endText},void 0,S.default.Messages.GIF_PICKER_RELATED_SEARCH),M("div",{className:O.default.searchSuggestions},void 0,l.map((function(e){return M(v.default,{look:v.default.Looks.OUTLINED,color:v.default.Colors.PRIMARY,size:v.default.Sizes.SMALL,className:O.default.searchSuggestion,onClick:function(){i(e)}},e,e)})))):null):null},t.renderContent=function(e,n,r){var o=t.props,i=o.data,l=o.resultQuery,u=o.query,s=o.resultType;return 0!==i.length||l===u&&s!==g.GIFPickerResultTypes.TRENDING_GIFS?a.createElement(_.default,{key:l+"-"+(s||""),ref:t._masonryRef,fade:!0,itemGutter:12,className:O.default.results,columns:e,sections:[i.length,0],getItemKey:t.getItemKey,getItemHeight:t.getItemHeight,renderItem:t.renderItem,getSectionHeight:t.getSectionHeight,renderSection:t.renderSection,onScroll:t.handleScroll,chunkSize:128}):M(_.default,{fade:!0,className:O.default.results,sections:[P.length],columns:e,itemGutter:12,getItemKey:w,getItemHeight:L,renderItem:D,chunkSize:128},l)},t.getItemGrid=function(){var e=t._masonryRef.current;return null!=e?e.getItemGrid():[]},t.getCoordsMap=function(){var e=t._masonryRef.current;return null!=e?e.getCoordsMap():{}},t}C(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this.props,t=e.resultType,n=e.data;t===g.GIFPickerResultTypes.FAVORITES&&((0,s.trackSearchStart)(g.GIFPickerResultTypes.FAVORITES),(0,s.trackSearchResultViewed)(n,g.GIFPickerResultTypes.FAVORITES,{limit:null}))},n.componentWillUnmount=function(){G.clearPool(),F.clearPool()},n.selectItem=function(e,t){var n=this.props,r=n.onSelectGIF,a=n.resultType,o=n.data,i=n.resultQuery;null!=r&&r(e),(0,s.trackSelectGIF)({type:a,index:t,offset:this.props.searchOffset,limit:this.props.searchLimit,results:o,totalResults:this.props.searchTotalResults,query:i,gifId:e.id})},n.getSectionHeight=function(e){return 1===e?220:0},n.renderEmptyFavorite=function(e,t){return void 0===t&&(t=!1),M("div",{className:O.default.emptyHint},void 0,null!=e?M("div",{className:O.default.emptyHintCard},void 0,t?M(m.default,{className:O.default.emptyHintFavorite}):null,M("div",{className:O.default.emptyHintText},void 0,e)):M("div",{className:O.default.emptyHintSpacer}))},n.renderEmptyFavorites=function(){var e=this;return M(h.default,{className:O.default.results,fade:!0},void 0,M("div",{className:O.default.emptyHints},void 0,this.renderEmptyFavorite(S.default.Messages.NO_GIF_FAVORITES_HOW_TO_FAVORITE,!0),this.renderEmptyFavorite(S.default.Messages.NO_GIF_FAVORITES_WHERE_TO_FAVORITE),this.renderEmptyFavorite(S.default.Messages.NO_GIF_FAVORITES_GO_FAVORITE),Array.from({length:15}).map((function(t,n){return M(a.Fragment,{},n,e.renderEmptyFavorite())})),this.renderEmptyFavorite(S.default.Messages.NO_GIF_FAVORITES_FLAVOR_FAVORITE_PLEASE),Array.from({length:16}).map((function(t,n){return M(a.Fragment,{},n,e.renderEmptyFavorite())})),this.renderEmptyFavorite(S.default.Messages.NO_GIF_FAVORITES_FLAVOR_STILL_HERE)))},n.render=function(){var e=this.props,t=e.data,n=e.resultQuery,r=e.query,a=e.resultType;return 0===t.length&&n===r&&a!==g.GIFPickerResultTypes.TRENDING_GIFS?a===g.GIFPickerResultTypes.FAVORITES?this.renderEmptyFavorites():M(f.default,{message:S.default.Messages.NO_GIF_SEARCH_RESULTS,className:O.default.noResults}):M(d.default,{getItemGrid:this.getItemGrid,getCoordsMap:this.getCoordsMap,onFocus:this.handleFocus,onSelect:this.handleSelect},n,M(E.default,{desiredItemWidth:200,maxColumns:8},void 0,this.renderContent))},t}(a.PureComponent);H.displayName="GIFPickerSearchResults";var x=H;t.default=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(9)),i=c(n(61)),l=c(n(149)),u=c(n(9423)),s=c(n(8623)),d=c(n(6)),f=c(n(7500));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={showPulse:!1},t.showPulse=function(){t.setState({showPulse:!0}),t._timeout=setTimeout((function(){t.setState({showPulse:!1})}),500)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n);var a=r.prototype;return a.componentWillUnmount=function(){clearTimeout(this._timeout)},a.render=function(){var e=this,t=this.props,n=t.className,r=t.size,a=t.isFavorite,c=t.onClick,p=this.state.showPulse,y=a?d.default.Messages.GIF_TOOLTIP_REMOVE_FROM_FAVORITES:d.default.Messages.GIF_TOOLTIP_ADD_TO_FAVORITES,m=a?s.default:u.default;return v(l.default,{text:y},void 0,(function(t){var l,u=t.onMouseEnter,s=t.onMouseLeave;return v(i.default,{tabIndex:-1,className:(0,o.default)(n,r,f.default.gifFavoriteButton,(l={},l[f.default.selected]=a,l[f.default.showPulse]=p,l)),onMouseDown:function(e){return e.preventDefault()},onClick:function(t){t.preventDefault(),t.stopPropagation(),e.showPulse(),c(a)},onDoubleClick:function(e){return e.preventDefault()},onMouseEnter:u,onMouseLeave:s},void 0,v(m,{className:f.default.icon}))}))},r}(a.PureComponent);m.displayName="GIFFavButton",m.defaultProps={size:f.default.size};var _=m;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=Y;var r,a=D(n(0)),o=R(n(9)),i=R(n(8)),l=n(3),u=R(n(8512)),s=R(n(302)),d=n(260),f=R(n(8559)),c=R(n(712)),p=R(n(163)),v=D(n(86)),y=R(n(181)),m=R(n(12)),_=R(n(365)),h=R(n(375)),E=R(n(149)),g=R(n(1240)),S=R(n(8276)),O=R(n(291)),I=R(n(5955)),T=R(n(24)),C=R(n(8393)),b=n(139),M=n(1),N=R(n(6)),A=R(n(7367)),P=R(n(7505));function R(e){return e&&e.__esModule?e:{default:e}}function L(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return L=function(){return e},e}function D(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=L();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function w(){return(w=Object.assign||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}).apply(this,arguments)}function j(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function U(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var G=(0,b.cssValueToNumber)(P.default.iconSize);function F(e,t,n){return 0===t.length?null:U("div",{className:P.default.row},void 0,U(e,{className:P.default.activityIcon}),U(C.default,{guildId:n,users:t,max:6}))}F.displayName="makeRow";var B=U(g.default,{width:16,height:16});function H(e,t,n){return 0===t.length?null:U("div",{className:P.default.row},void 0,U(O.default,{className:P.default.activityIcon}),U(C.default,{guildId:e,users:t,max:3}),U("div",{className:P.default.stageListenerPill},void 0,B,U(T.default,{className:P.default.stageListenerCount,color:T.default.Colors.STANDARD,size:T.default.Sizes.SIZE_12},void 0,n)))}function x(e){var t=e.muteConfig,n=e.className;return null==t?null:null==t.end_time?U(T.default,{size:T.default.Sizes.SIZE_12,color:T.default.Colors.MUTED,className:n},void 0,N.default.Messages.FORM_LABEL_MUTED):U(u.default,{muteConfig:t,className:n})}function V(e){var t,n=e.guild,r=n.id,u=(0,l.useStateFromStoresArray)([v.default],(function(){return v.default.getChannels(r)[v.GUILD_VOCAL_CHANNELS_KEY].filter((function(e){return e.channel.type===M.ChannelTypes.GUILD_VOICE})).map((function(e){return e.channel.id}))}),[r]),c=(0,f.default)(r),h=a.useMemo((function(){return c.map((function(e){return e.id}))}),[c]),E=(0,l.useStateFromStores)([_.default],(function(){return _.default.getVoiceStates(r)}),[r]),g=i.default.flatMap(u,(function(e){var t;return e===n.afkChannelId?[]:(null!==(t=E[e])&&void 0!==t?t:[]).map((function(e){return e.user}))})),O=(0,l.useStateFromStoresArray)([s.default],(function(){return i.default.flatMap(h,(function(e){return e===n.afkChannelId?[]:s.default.getMutableParticipants(e,d.StageChannelParticipantNamedIndex.SPEAKER).map((function(e){return e.user}))}))})),T=(0,l.useStateFromStores)([s.default],(function(){for(var e,t=0,n=j(h);!(e=n()).done;){var r=e.value;t+=s.default.getParticipantCount(r,d.StageChannelParticipantNamedIndex.AUDIENCE)}return t})),C=(0,l.useStateFromStoresArray)([p.default],(function(){return p.default.getAllApplicationStreams().filter((function(e){return e.guildId===r})).map((function(e){return e.ownerId}))}),[r]),b=(0,l.useStateFromStoresArray)([m.default],(function(){return C.map((function(e){return m.default.getUser(e)}))}),[C]),N=F(S.default,g.filter((function(e){return!C.includes(e.id)})),r),A=H(r,O,T),R=F(I.default,b,r),L=(0,l.useStateFromStoresObject)([y.default],(function(){return{isMuted:y.default.isMuted(r),muteConfig:y.default.getMuteConfig(r)}}),[r]),D=L.isMuted,w=L.muteConfig,k=null!=N||null!=R;return a.createElement(a.Fragment,null,A,N,R,D?U(x,{muteConfig:w,className:(0,o.default)(P.default.muteText,(t={},t[P.default.muteTextWithActivity]=k,t))}):null)}function W(e){var t,n=e.guild,r=e.includeActivity,i=void 0===r||r?U(V,{guild:n}):null,u=(0,l.useStateFromStores)([c.default],(function(){return c.default.isViewingRoles(n.id)}));return a.createElement(a.Fragment,null,U("div",{className:(0,o.default)(P.default.row,P.default.rowGuildName)},void 0,U(h.default,{guild:n,size:G,className:P.default.rowIcon}),U("span",{className:(0,o.default)(P.default.guildNameText,(t={},t[P.default.guildNameTextLimitedSize]=null!=i,t))},void 0,n.toString())),u?U(T.default,{className:P.default.viewAsRolesWarning,color:T.default.Colors.STANDARD,size:T.default.Sizes.SIZE_12},void 0,N.default.Messages.VIEW_AS_ROLES_MENTIONS_WARNING):i)}function Y(e){var t=e.guild,n=e.disabled,r=void 0!==n&&n,o=e["aria-label"],i=void 0!==o&&o,l=e.children,u=e.includeActivity;return U(E.default,{hideOnClick:!0,spacing:20,position:E.default.Positions.RIGHT,text:r?null:U(W,{guild:t,includeActivity:u}),"aria-label":i,tooltipClassName:A.default.listItemTooltip},void 0,(function(e){var t=e.onFocus,n=e.onBlur,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onFocus","onBlur"]);return U("div",{onFocus:t,onBlur:n},void 0,a.cloneElement(a.Children.only(l),w({},r)))}))}H.displayName="makeStageRow",Y.displayName="GuildTooltip"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=m(n(9425)),o=m(n(9426)),i=m(n(9427)),l=m(n(1224)),u=m(n(9428)),s=m(n(9429)),d=m(n(9430)),f=m(n(9431)),c=m(n(9432)),p=m(n(5686)),v=m(n(8625)),y=n(1168);function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}var h=r.memo((function(e){var t=e.categoryId,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["categoryId"]),m=function(e){switch(e){case y.EmojiCategories.RECENT:return l.default;case y.EmojiCategories.FAVORITES:return v.default;case y.EmojiCategories.PEOPLE:return d.default;case y.EmojiCategories.NATURE:return u.default;case y.EmojiCategories.FOOD:return i.default;case y.EmojiCategories.ACTIVITY:return a.default;case y.EmojiCategories.TRAVEL:return c.default;case y.EmojiCategories.OBJECTS:return s.default;case y.EmojiCategories.SYMBOLS:return f.default;case y.EmojiCategories.FLAGS:return o.default;case y.EmojiCategories.PREMIUM_UPSELL:return p.default}}(t);return null==m?null:r.createElement(m,n)}));t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCategorySelectHandler=t.useEmojiSelectHandler=t.useEmojiGrid=t.EmojiGridRowTypes=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(8)),i=E(n(98)),l=n(3),u=E(n(8511)),s=E(n(185)),d=E(n(249)),f=E(n(86)),c=E(n(15)),p=E(n(361)),v=E(n(261)),y=n(1168),m=n(8347),_=n(5949),h=n(1);function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function I(){return(I=Object.assign||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}).apply(this,arguments)}t.EmojiGridRowTypes=r,function(e){e[e.SECTION_HEADING=0]="SECTION_HEADING",e[e.SECTION_ROW=1]="SECTION_ROW"}(r||(t.EmojiGridRowTypes=r={}));t.useEmojiGrid=function(e){var t=e.channel,n=e.collapsedSections,r=e.pickerIntention,u=e.emojiSearchResults,m=e.gridWidth,E=e.gridPaddingTop,g=e.emojiRowHeight,O=e.emojiSectionHeadingHeight,T=e.emojiPaddingHorizontal,C=e.emojiSpriteSize,b=(0,l.useStateFromStores)([d.default],(function(){return d.default.categories})),M=(0,l.useStateFromStores)([c.default],(function(){return c.default.getGuild(null==t?void 0:t.getGuildId())}),[t]),N=(0,l.useStateFromStoresArray)([d.default],(function(){var e=d.default.getDisambiguatedEmojiContext(null==t?null:t.getGuildId());return[e,e.favoriteEmojis]}),[t]),A=N[0],P=N[1],R=(0,l.useStateFromStores)([p.default],(function(){return p.default.getFlattenedGuilds()}),[]);return a.useMemo((function(){var e=[],a=[],l=[],d=[],p=0,N=0;return null!=A&&null!=m&&function(){var L=Math.floor(m/(C+2*T)),D=function(i,u){for(var s=new Map,f=n.has(u.sectionId),c=o.default.partition(i,(function(e){var n=v.default.isEmojiDisabled(e,t,r);return s.set(e,n),!n})),y=c[0],m=c[1],_=y.concat(m),h=Math.ceil(_.length/L),S=[],T=0;T<h;T++){var b=T*L,M=_.slice(b,b+L).map((function(e,t){return{emoji:e,size:C,isDisabled:s.get(e),rowIndex:N,columnIndex:t,visibleRowIndex:p}}));S.push(M),f||(d.push(M.length),l.push(M),p++),N++}var A=f?0:h,P=0===e.length?0:(p-A)*g,R=a.length*O+P+2*E,D=I({},u,{count:i.length,offsetTop:R});a.push(D),e.push(A)};if(null!=u)0!==u.unlocked.length&&D(u.unlocked,{type:y.EmojiCategoryTypes.SEARCH_RESULTS,sectionId:y.EmojiCategoryTypes.SEARCH_RESULTS}),0!==u.locked.length&&D(u.locked,{type:y.EmojiCategoryTypes.PREMIUM_UPSELL,categoryId:y.EmojiCategories.PREMIUM_UPSELL,sectionId:y.EmojiCategoryTypes.PREMIUM_UPSELL});else for(var w,j=function(){var e=w.value;if(e===y.EmojiCategories.CUSTOM){var n=A.getCustomEmoji(),a=o.default.groupBy(n,"guildId"),l=function(n){var o=a[n];if(null!=o){var l=o.filter((function(e){return v.default.getEmojiUnavailableReason({emoji:e,channel:null!=t?t:f.default.getDefaultChannel(n),intention:r})!==h.EmojiDisabledReasons.DISALLOW_EXTERNAL}));if(0!==l.length){var u=c.default.getGuild(n);D(l,{categoryId:e,guild:u,type:y.EmojiCategoryTypes.GUILD,sectionId:null!=u?u.id:i.default.v4()})}}};if(null!=M&&l(M.id),(0,_.allowExternalEmojiForIntention)(r))for(var u,d=S(R);!(u=d()).done;){var p=u.value;null!=M&&M.id===p.id||l(p.id)}}else if(e===y.EmojiCategories.RECENT){var m=A.getFrequentlyUsedEmojis().filter((function(e){return!v.default.isEmojiFiltered(e,t,r)}));D(m,{categoryId:e,type:y.EmojiCategoryTypes.RECENT,sectionId:y.EmojiCategoryTypes.RECENT})}else if(e===y.EmojiCategories.FAVORITES){var E=P.filter((function(e){return!v.default.isEmojiFiltered(e,t,r)}));0!==E.length&&D(E,{categoryId:e,type:y.EmojiCategoryTypes.FAVORITES,sectionId:y.EmojiCategoryTypes.FAVORITES})}else{var g=s.default.getByCategory(e);D(null==g?[]:g,{categoryId:e,type:y.EmojiCategoryTypes.UNICODE,sectionId:e})}},k=S(b);!(w=k()).done;)j()}(),{columnCounts:d,emojiGrid:l,rowCountBySection:e,sectionDescriptors:a}}),[A,P,m,C,T,u,n,g,O,E,t,r,b,M,R])};t.useEmojiSelectHandler=function(e){var t=e.pickerIntention,n=e.selectedChannel,r=e.onSelectEmoji,o=e.setIsPremiumUpsellOpen,i=e.emojiSelectAnalytics,s=e.trackPremiumUpsellOpened,f=(0,l.useStateFromStores)([d.default],(function(){return d.default.getDisambiguatedEmojiContext(null==n?void 0:n.getGuildId())}),[n]);return a.useCallback((function(e,a){var l=e.emoji;if(null!=l){var d=v.default.getEmojiUnavailableReason({emoji:l,channel:n,intention:t});if(null==i||i(),a.toggleFavorite&&null==d)f.isFavoriteEmoji(l)?u.default.unfavoriteEmoji(l):u.default.favoriteEmoji(l);else if(d!==h.EmojiDisabledReasons.GUILD_SUBSCRIPTION_UNAVAILABLE)return d===h.EmojiDisabledReasons.PREMIUM_LOCKED?(null==s||s(l,n),void o(!0)):void r(l,a.isFinalSelection)}}),[n,t,r,o,f,i,s])};t.useCategorySelectHandler=function(e){var t=e.emojiListRef,n=(0,m.useEmojiPickerStore)((function(e){return e.searchQuery})),r=a.useCallback((function(e){var n;return null===(n=t.current)||void 0===n?void 0:n.scrollToSectionTop(e)}),[t]);return a.useCallback((function(e){""!==n?((0,m.setSearchQuery)(""),(0,m.setActiveCategoryIndex)(e)):r(e)}),[r,n])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(9)),o=s(n(8625)),i=s(n(24)),l=s(n(6)),u=s(n(7509));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=function(e){var t=e.className,n=e.graphicPrimary,r=e.graphicSecondary,s=e.titlePrimary,d=e.titleSecondary,c=e.isFavorite,p=void 0!==c&&c;return f("div",{className:(0,a.default)(u.default.inspector,t)},void 0,f("div",{className:u.default.graphicPrimary,"aria-hidden":!0},void 0,n),f("div",{className:u.default.textWrapper},void 0,f(i.default,{className:u.default.titlePrimary,size:i.default.Sizes.SIZE_16},void 0,p?f(o.default,{"aria-label":p?l.default.Messages.EMOJI_IS_FAVORITE_ARIA_LABEL.format({names:s}):void 0,width:15,height:15,className:u.default.favorite}):null,s),null!=d&&f(i.default,{className:u.default.titleSecondary,size:i.default.Sizes.SIZE_12},void 0,d)),null!=r&&f("div",{className:u.default.graphicSecondary,"aria-hidden":!0},void 0,r))};c.displayName="ExpressionPickerInspector";var p=c;t.default=p},function(e,t,n){e.exports=n.p+"4c931151fd94ebc6aa6034427624b2ea.png"},function(e,t,n){e.exports=n.p+"059e1038a6af4a46d3664e70f5259c52.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("path",{d:"M2 4.42007V6.79007L3 7.79007L4 6.79007V4.42007L3.01 3.42007L2 4.42007Z"}),f=s("path",{d:"M3 0.590088L0 3.59009V7.59009L3 10.5901L6 7.59009V3.59009L3 0.590088ZM5 7.21009L3 9.21009L1 7.21009V4.00009L3 2.00009L5 4.00009V7.21009Z"});function c(e){var t=e.width,n=void 0===t?6:t,r=e.height,a=void 0===r?11:r,l=e.color,c=void 0===l?"currentColor":l,p=e.foreground,v=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(v),{width:n,height:a,viewBox:"0 0 6 11"}),s("g",{fill:c,fillRule:"evenodd",className:p},void 0,d,f))}c.displayName="PremiumGuildTier2Simple"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(9)),i=n(8),l=n(1250),u=m(n(61)),s=n(1172),d=n(366),f=n(290),c=m(n(5936)),p=m(n(8867)),v=m(n(6)),y=m(n(7521));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(){return(h=Object.assign||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}).apply(this,arguments)}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var g=(0,l.cssValueToNumber)(y.default.stickerPickerPreviewDimensions),S=(0,l.cssValueToNumber)(y.default.stickerPickerPreviewPadding),O=E(p.default,{size:20}),I=a.memo((function(e){var t=e.isDisplayingIndividualStickers,n=void 0!==t&&t,r=e.preferAnimation,l=void 0===r||r,p=e.getStickerItemProps,m=e.getStickerRowProps,_=e.gutterWidth,I=e.inspectedStickerPosition,T=e.isScrolling,C=e.isUsingKeyboardNavigation,b=e.onInspect,M=e.onSelect,N=e.rowIndex,A=e.stickerClassName,P=e.stickerDescriptors,R=e.stickerPadding,L=void 0===R?S:R,D=e.stickerSize,w=void 0===D?g:D,j=e.ownedStickerPacks,k=e.enlargeOnInteraction,U=void 0!==k&&k,G=e.channel,F=e.currentUser,B=e.checkSendability,H=void 0===B||B,x=w+2*L,V=a.useMemo((function(){return{gridColumnGap:_,gridTemplateColumns:"repeat(auto-fill, "+x+"px)",height:x,paddingRight:n?void 0:x}}),[n,_,x]),W=a.useMemo((function(){return{width:w,height:w,padding:L}}),[L,w]);return a.createElement("div",h({className:y.default.row,style:V},null==m?void 0:m(N)),P.map((function(e){var t,r=e.visibleRowIndex===(null==I?void 0:I.rowIndex)&&e.columnIndex===(null==I?void 0:I.columnIndex),m=e.type===d.StickerGridItemTypes.STICKER&&U&&r,_=function(t){!0!==(null==T?void 0:T.current)&&!0!==(null==C?void 0:C.current)&&(null==M||M(e,t))},g=(0,i.throttle)((function(){!0===(null==T?void 0:T.current)||!0===(null==C?void 0:C.current)||r||null==b||b(e)}),250),S=null!==(t=null==p?void 0:p(N,e.columnIndex))&&void 0!==t?t:{},P=S.ref,R=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(S,["ref"]);switch(e.type){case d.StickerGridItemTypes.STICKER:var L,D,k,B=n&&null!=j&&(0,f.isStandardSticker)(e.sticker)&&!j.has(e.sticker.pack_id);return a.createElement(u.default,h({},R,{key:e.sticker.id,"aria-label":e.sticker.name,className:(0,o.default)(y.default.sticker,A,(L={},L[y.default.stickerInspected]=r,L)),innerRef:P,onFocus:null!==(D=null==R?void 0:R.onFocus)&&void 0!==D?D:g,onMouseMove:g,onClick:_,style:W}),!U&&E("div",{className:y.default.inspectedIndicator}),E(c.default,{className:(0,o.default)(y.default.stickerNode,(k={},k[y.default.stickerNodeDimmed]=U&&!r&&null!=I&&-1!==I.rowIndex&&-1!==I.columnIndex,k[y.default.stickerNodeHidden]=m,k[y.default.stickerUnsendable]=H&&!(0,s.isSendableSticker)(e.sticker,F,G),k)),disableAnimation:!r&&!l,enlargeOnInteraction:U,isInteracting:r,maskAsset:r,sticker:e.sticker,size:w}),B?O:null);case d.StickerGridItemTypes.VIEW_ALL:var x,V;return a.createElement(u.default,h({},R,{key:"view-all",className:(0,o.default)(y.default.viewAll,A,(x={},x[y.default.viewAllInspected]=r,x)),innerRef:P,onFocus:null!==(V=null==R?void 0:R.onFocus)&&void 0!==V?V:g,onMouseOver:g,onClick:_,style:W}),E("div",{className:y.default.viewAllButton},void 0,v.default.Messages.STICKER_PICKER_VIEW_ALL))}})))}));t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(1221)),o=i(n(7520));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var s=function(e){var t=e.size;return u("div",{className:o.default.unownedStickerLockContainer,style:{width:t,height:t}},void 0,u(a.default,{width:12,height:12,className:o.default.unownedStickerLockIcon}))};s.displayName="StickerLock";var d=s;t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=d(n(29)),o=d(n(5828)),i=d(n(5686)),l=n(8626),u=d(n(6)),s=d(n(7525));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.analyticsSection;return c(o.default,{className:s.default.premiumButton,innerClassName:s.default.premiumButtonInner,color:a.default.Colors.GREEN,size:a.default.Sizes.SMALL,onClick:function(){return(0,l.openStickerPackPremiumUpsellModal)({section:t})}},void 0,c(i.default,{className:s.default.premiumButtonNitroWheel}),u.default.Messages.STICKER_PICKER_PREMIUM_EMPTY_STATE_CTA)}p.displayName="StickersPremiumUpsellButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.useStateFromStores)([a.default],(function(){return o.default.canUseIncreasedMessageLength(a.default.getCurrentUser())}))?i.MAX_MESSAGE_LENGTH_PREMIUM:i.MAX_MESSAGE_LENGTH};var r=n(3),a=l(n(12)),o=l(n(96)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.installLegacy=function(){return s.default.ensureModule("discord_spellcheck").then((function(){var e=s.default.requireModule("discord_spellcheck"),t=e.getLegacySpellchecker?e.getLegacySpellchecker():e.Spellchecker,n=t instanceof Function?new t:t,r=new _(n);return function(e){null!=document.body&&document.body.addEventListener("input",(function(t){var n=function(e){if(null==e)return null;if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)return e.value;if(e instanceof HTMLElement&&e.hasAttribute("contenteditable"))return e.textContent}(t.target);null!=n&&e.detectLocale(n)}),!0)}(r),r}))},t.LegacySpellchecker=void 0;var r=n(8741),a=p(n(404)),o=p(n(118)),i=p(n(26)),l=n(48),u=p(n(16)),s=p(n(43)),d=p(n(8562)),f=p(n(8871)),c=p(n(8563));function p(e){return e&&e.__esModule?e:{default:e}}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var y=new i.default("Spellchecker");function m(e){e=c.default[e]||e;var t=(0,r.parse)(e.replace(/[_-]/g,"-"));if(null!=t&&null!=t.langtag.language&&null!=t.langtag.region){var n=t.langtag,a=n.language,o=n.region;return a.language.toLowerCase()+"-"+o.toUpperCase()}y.error(e+" is not a valid locale.")}var _=function(){function e(e){var t=this;this._isMisspelledCache=new a.default({max:512,maxAge:4e3}),this._localeAvailable=!1,this._enabled=!0,this._learnedWords=new Set,this._spellchecker=e;var n=this.getAvailableLocales(),r=this.getAvailableLanguages(n);this._languageDetector=new d.default(n[0].split("-")[0],(function(e){var n=r[e]||c.default[e];null!=n&&t.setLocale(n)}))}var t,n,r,i=e.prototype;return i.reset=function(){var e=this;null!=this._locale&&(this._isMisspelledCache.reset(),o.default.spellCheck.setSpellCheckProvider(this._locale,!0,{spellCheck:function(t){return!e.isMisspelled(t)}}))},i.setLearnedWords=function(e){this._learnedWords=e,this.reset()},i.setLocale=function(e){e!==this._locale&&(this._locale=e,this._localeAvailable=this._spellchecker.setDictionary(e),y.info("Switching to "+e,this._localeAvailable?"(available)":"(unavailable)"),this.reset())},i.detectLocale=function(e){this.enabled&&this._languageDetector.process(e)},i.getAvailableLocales=function(){var e=s.default.requireModule("discord_spellcheck"),t=e.getKeyboardLayout?e.getKeyboardLayout():e.keyboardLayout;return(u.default.isOSX()?this._spellchecker.getAvailableDictionaries():t.getInstalledKeyboardLanguages()).map(m).filter(l.isNotNullish)},i.getAvailableLanguages=function(e){e=e||this.getAvailableLocales();var t={};return e.forEach((function(e){var n=e.split("-")[0];t[n]=t[n]||e})),t},i.isMisspelled=function(e,t){void 0===t&&(t=!1);var n=this._isMisspelledCache.get(e);return null!=n?n:!t&&(n=this._isMisspelled(e),this._isMisspelledCache.set(e,n),n)},i._isMisspelled=function(e){if(!this._enabled||!this._localeAvailable)return!1;if(1===e.length)return!1;var t=e.toLocaleLowerCase();return!this._learnedWords.has(t)&&!f.default.has(t)&&this._spellchecker.isMisspelled(e)},i.getCorrectionsForMisspelling=function(e,t){return void 0===t&&(t=!1),this.isMisspelled(e,t)&&this._spellchecker.getCorrectionsForMisspelling(e)||[]},i.setAppLocale=function(e){},i.replaceMisspelling=function(e){o.default.spellCheck.replaceMisspelling(e)},t=e,(n=[{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this.reset()}}])&&v(t.prototype,n),r&&v(t,r),e}();t.LegacySpellchecker=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=new Set(["ain't","aren't","can't","could've","couldn't","couldn't've","didn't","doesn't","don't","hadn't","hadn't've","hasn't","haven't","he'd","he'd've","he'll","he's","how'd","how'll","how's","I'd","I'd've","I'll","I'm","I've","isn't","it'd","it'd've","it'll","it's","let's","ma'am","mightn't","mightn't've","might've","mustn't","must've","needn't","not've","o'clock","shan't","she'd","she'd've","she'll","she's","should've","shouldn't","shouldn't've","that'll","that's","there'd","there'd've","there're","there's","they'd","they'd've","they'll","they're","they've","wasn't","we'd","we'd've","we'll","we're","we've","weren't","what'll","what're","what's","what've","when's","where'd","where's","where've","who'd","who'll","who're","who's","who've","why'll","why're","why's","won't","would've","wouldn't","wouldn't've","y'all","y'all'd've","you'd","you'd've","you'll","you're","you've"].map((function(e){return e.replace(/'.*/,"")})));t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.install=function(){return g.apply(this,arguments)},t.Spellchecker=void 0;var r,a=n(8741),o=f(n(118)),i=f(n(26)),l=f(n(39)),u=n(48),s=f(n(8562)),d=f(n(8563));function f(e){return e&&e.__esModule?e:{default:e}}function c(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){c(o,r,a,i,l,"next",e)}function l(e){c(o,r,a,i,l,"throw",e)}i(void 0)}))}}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var y=new i.default("Spellchecker"),m=(null===o.default||void 0===o.default||null===(r=o.default.spellCheck)||void 0===r?void 0:r.Spellchecker)||(null===o.default||void 0===o.default?void 0:o.default.spellCheck);function _(e){e=d.default[e]||e;var t=(0,a.parse)(e.replace(/[_-]/g,"-"));if(null!=t&&null!=t.langtag.language&&null!=t.langtag.region){var n=t.langtag,r=n.language,o=n.region;return r.language.toLowerCase()+"-"+o.toUpperCase()}y.error(e+" is not a valid locale.")}var h=function(){function e(e){var t=this;this._enabled=!0,this._misspelledWord="",this._corrections=[];var n=l.default.locale.split("-"),r=n[0],a=n[1];this._regionPreference=a;var o=this.getAvailableLanguages(e);this._languageDetector=new s.default(r,(function(n){var a=n+"-"+t._regionPreference;if(-1!==e.indexOf(a))t.setLocale(a);else{var i=o[n]||d.default[r];null!=i&&t.setLocale(i)}})),m.on("spellcheck-result",(function(e,n){t._misspelledWord=e||"",t._corrections=n||[]}))}var t,n,r,a=e.prototype;return a.setLearnedWords=function(e){m.setLearnedWords(e)},a.setLocale=function(e){m.setLocale(e).then((function(t){y.info("Switching to "+e,t?"(available)":"(unavailable)")}))},a.setAppLocale=function(e){this._regionPreference=e.split("-")[1]},a.detectLanguage=function(e){this.enabled&&this._languageDetector.process(e)},a.getAvailableLanguages=function(e){var t={};return e.forEach((function(e){var n=e.split("-")[0];t[n]=t[n]||e})),t},a.isMisspelled=function(e,t){return""!==this._misspelledWord&&e===this._misspelledWord},a.getCorrectionsForMisspelling=function(e,t){return this.isMisspelled(e,t)?this._corrections:[]},a.replaceMisspelling=function(e){m.replaceMisspelling(e)},t=e,(n=[{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e}}])&&v(t.prototype,n),r&&v(t,r),e}();function E(e){null!=document.body&&document.body.addEventListener("input",(function(t){var n=function(e){if(null==e)return null;if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)return e.value;if(e instanceof HTMLElement&&e.hasAttribute("contenteditable"))return e.textContent}(t.target);null!=n&&e.detectLanguage(n)}),!0)}function g(){return(g=p(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m.getAvailableDictionaries();case 2:return t=e.sent,n=t.map(_).filter(u.isNotNullish),E(r=new h(n)),e.abrupt("return",r);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}t.Spellchecker=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toggleSpellcheck=function(){a.default.dispatch({type:o.ActionTypes.SPELLCHECK_TOGGLE})},t.learnWord=function(e){a.default.dispatch({type:o.ActionTypes.SPELLCHECK_LEARN_WORD,word:e})};var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;c(n(0));var r,a=n(389),o=c(n(8253)),i=d(n(16)),l=d(n(8632)),u=d(n(8395)),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.src,n=e.onSelect,r=(0,l.default)(t),d=(0,u.default)(t,null);return i.default.embedded?p(o.default,{navId:"image-context",onClose:a.closeContextMenu,"aria-label":s.default.Messages.IMAGE_ACTIONS_MENU_LABEL,onSelect:n},void 0,p(o.MenuGroup,{},void 0,r),p(o.MenuGroup,{},void 0,d)):null}v.displayName="NativeImageContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;f(n(0));var r,a=n(389),o=f(n(8253)),i=s(n(16)),l=s(n(8395)),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.href,n=e.textContent,r=e.onSelect,s=(0,l.default)(t,n);return i.default.embedded?null==s?null:c(o.default,{navId:"image-context",onClose:a.closeContextMenu,"aria-label":u.default.Messages.IMAGE_ACTIONS_MENU_LABEL,onSelect:r},void 0,c(o.MenuGroup,{},void 0,s)):null}p.displayName="NativeLinkContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;c(n(0));var r,a=n(389),o=c(n(8253)),i=d(n(16)),l=d(n(43)),u=d(n(8471)),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.text,n=e.onSelect,r=(0,u.default)(t);return i.default.embedded?p(o.default,{navId:"text-context",onClose:a.closeContextMenu,"aria-label":s.default.Messages.TEXT_ACTIONS_MENU_LABEL,onSelect:n},void 0,p(o.MenuGroup,{},void 0,r),p(o.MenuGroup,{},void 0,p(o.MenuItem,{id:"copy",label:s.default.Messages.COPY,action:function(){return l.default.copy(t)}}))):null}v.displayName="NativeTextContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getValidationResults=function(e,t){var n={},r=e.options;if(null==r)return n;for(var a,o=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(r);!(a=o()).done;){var i=a.value,l=t[i.name];void 0!==l&&l.length>0&&(n[i.name]=d(i,l))}return n},t.validateOptionNameContent=function(e,t){var n,r=o.default.getActiveCommand(),a=null==r||null===(n=r.options)||void 0===n?void 0:n.find((function(t){return t.name===e}));if(null==a)return{success:!1};return d(a,t)},t.validateOptionContent=d;var r=n(8290),a=n(8434),o=u(n(8280)),i=u(n(9487)),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t){var n=null!=t?(0,a.getString)({content:t},"content").trim():"";if(e.required&&""===n)return{success:!1,error:l.default.Messages.COMMAND_VALIDATION_REQUIRED_ERROR};if(null===t)return{success:!0};if(t.length>1&&(t=[{type:"text",text:n}]),0===t.length)return{success:!1,error:(0,r.getValidationErrorText)(e)};var o=i.default[e.type](t[0],e);return null==o.error&&(o.error=(0,r.getValidationErrorText)(e)),o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCommandName=function(e,t){var n=e.value,o=n.document,i=n.selection,l=o.getFirstText();(0,r.default)(null!=l,"Failed to find first text");var u=""+s.COMMAND_SENTINEL+t.name+" ";if(l.text.startsWith(u))return;var f=o.getPath(l.key);(0,r.default)(null!=f,"Failed to find path for first text");var c=a.Point.create({key:l.key,path:f,offset:0}),p=c,v=o.data.get("commandName");null==v&&l.text.startsWith(""+s.COMMAND_SENTINEL+v+" ")?p=a.Point.create({key:l.key,path:f,offset:v.length+2}):(l.text.startsWith(s.COMMAND_SENTINEL)||d.LEGACY_COMMAND_REGEX.test(l.text))&&(p=i.end);var y=a.Range.create({anchor:c,focus:p});e.insertTextAtRange(y,u)},t.selectCommandOption=h,t.completeCurrentCommandOption=function(e){var t,n=i.default.getActiveCommand();if(null==n||n.type===l.ApplicationCommandType.BUILT_IN_INTEGRATION)return!1;var a=e.value,s=a.document,d=a.selection,c=f.getPreviousOptionNode(s,d.start.path);if(null==c||f.hasValueNodes(c))return!1;var p=c.data.get("name"),v=f.getOptionContent(s,p);(0,r.default)(null!=v,"Failed to find a content range for the current option");var y=(0,u.validateOptionNameContent)(p,v);if(o.updateOptionStates(((t={})[p]={lastValidationResult:y},t)),0===v.length)return!1;f.wrapOptionValueNodes(e,c);var m=f.getNextOptionNode(s,d.start.path,!0);null!=m?h(e,m.data.get("name")):g(e,!1);return!0},t.completeAllCommandOptions=function(e){var t=i.default.getActiveCommand();if(null==t||t.type===l.ApplicationCommandType.BUILT_IN_INTEGRATION)return!1;for(var n,r=e.value.document,a=f.getOptionNames(r),s={},d=m(a);!(n=d()).done;){var c=n.value,p=f.getOptionContent(r,c);if(null!=p){var v=(0,u.validateOptionNameContent)(c,p);if(s[c]={lastValidationResult:v},0!==p.length){var y=f.getOptionNode(r,c);null==y||f.hasValueNodes(y)||f.wrapOptionValueNodes(e,y)}}}o.updateOptionStates({validationResults:s})},t.unwrapPreviousCommandOption=function(e){var t=e.value,n=t.document,r=t.selection,a=n.getPreviousNode(r.anchor.path);if(null==a||!f.isOptionNode(a))return!1;if(f.hasValueNodes(a))return f.unwrapOptionValueNodes(e,a,!1),!0;return e.removeNodeByKey(a.key),!0},t.removeCurrentOptionValues=function(e){var t=e.value,n=t.document,a=t.selection,o=f.getPreviousOptionNode(n,a.focus.path);if(null==o||f.hasValueNodes(o))return!1;var i=n.getClosestBlock(o.key);(0,r.default)(null!=i,"Failed to find parent block for current option");var l=f.getRangeBetweenNodes({parent:i,startNode:o,endNode:f.getNextOptionNode(n,a.focus.path)});return(0,r.default)(null!=l,"Failed to find content range for current option"),e.deleteAtRange(l),!0},t.insertCommandOption=E,t.insertNextCommandOption=g,t.validateAllOptionContents=function(e){var t=i.default.getActiveCommand();if(null==(null==t?void 0:t.options))return{};for(var n,r={},a={},l=m(t.options);!(n=l()).done;){var s,d=n.value,f=(0,u.validateOptionNameContent)(d.name,null!==(s=e[d.name])&&void 0!==s?s:null);a[d.name]=f,r[d.name]={lastValidationResult:f}}return o.updateOptionStates(r),a},t.clear=function(e){var t=e.value.document,n=t.getFirstText(),o=t.getLastText();(0,r.default)(null!=n&&null!=o,"Failed to find any text nodes");var i=a.Range.create({anchor:a.Point.create({key:n.key,offset:0}),focus:a.Point.create({key:o.key,offset:o.text.length})});e.deleteAtRange(i)};var r=y(n(23)),a=n(8315),o=v(n(8311)),i=y(n(8280)),l=n(8260),u=n(8877),s=n(8278),d=n(8852),f=v(n(8350)),c=n(8879);function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(e){return e&&e.__esModule?e:{default:e}}function m(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){var n=e.value.document,a=f.getOptionNode(n,t);if(null!=a)if(f.hasValueNodes(a))f.unwrapOptionValueNodes(e,a,!0);else{var o=n.getClosestBlock(a.key);(0,r.default)(null!=o,"Failed to find parent block for selected option node");var i=f.getRangeBetweenNodes({parent:o,startNode:a,endNode:f.getNextOptionNode(n,a.key)});(0,r.default)(null!=i,"Failed to find option value range"),e.select(i)}}function E(e,t,n){var o,l=i.default.getActiveCommand();if(null==l)return!1;if(null==(null==l||null===(o=l.options)||void 0===o?void 0:o.find((function(e){return e.name===t}))))return!1;var u=e.value.document,d=a.Inline.create({type:f.COMMAND_OPTION_TYPE,data:{name:t},nodes:[a.Text.create({text:" "})]});if(n){var p=u.getFirstText();(0,r.default)(null!=p,"Failed to find first text node");var v=u.getPath(p.key);(0,r.default)(null!=v,"Failed to find path to first text node");var y=a.Point.create({key:p.key,path:v,offset:s.COMMAND_SENTINEL.length+l.name.length+1}),m=a.Range.create({anchor:y,focus:y});e.insertInlineAtRange(m,d),e.moveToEndOfInline()}else{var _,h=null===(_=u.getLastText())||void 0===_?void 0:_.text,E=null!=h&&h.length>0&&!c.WHITESPACE_RE.test(h[h.length-1]);e.moveToEndOfDocument(),E&&e.insertText(" "),e.insertInline(d),e.moveToEndOfDocument()}return!0}function g(e,t,n){var r=i.default.getActiveCommand();if(null!=r){for(var a,o=e.value.document,l=f.getOptionNames(o),u=m(null!==(s=r.options)&&void 0!==s?s:[]);!(a=u()).done;){var s,d=a.value;if((t||d.required)&&!l.has(d.name))return E(e,d.name,n),!0}return!1}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WHITESPACE_RE=void 0;t.WHITESPACE_RE=/(\t|\s)/},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){return{renderInline:function(t,n,a){return function(e,t,n,a){var o=e.attributes,i=e.node;switch(i.type){case"emoji":return r.createElement("span",m({},o,{contentEditable:!1}),a.renderEmoji(i.data.get("data")));case"customEmoji":return r.createElement("span",m({},o,{contentEditable:!1}),a.renderCustomEmoji(i.data.get("data")));case"textMention":return r.createElement("span",m({},o,{contentEditable:!1}),a.renderTextMention(i.data.get("text")));case"mention":return r.createElement("span",m({},o,{contentEditable:!1}),a.renderUserMention(i.data.get("id")));case"roleMention":return r.createElement("span",m({},o,{contentEditable:!1}),a.renderRoleMention(i.data.get("id")));case"channel":return r.createElement("span",m({},o,{contentEditable:!1}),a.renderChannelMention(i.data.get("id")));default:return n()}}(t,0,a,e)},onChange:f.catchAndLogExceptions((function(e,r){return function(e,t,n,r,a){!function(e){f.iterateNodes(e.value.document,(function(t){"inline"===t.object&&(s.isOptionNode(t)?0===t.text.length&&e.removeNodeByKey(t.key):" "!==t.text&&e.removeNodeByKey(t.key))}))}(r);for(;I(r,e,t,n););return a()}(t,n,a,e,r)})),onKeyDown:f.catchAndLogExceptions(A)}},t.stripAllBlocks=O,t.runOnce=I,t.onKeyDown=A;var r=y(n(0)),a=p(n(23)),o=n(8315),i=p(n(8280)),l=y(n(8881)),u=n(8396),s=y(n(8350)),d=y(n(8439)),f=y(n(8326)),c=n(1);function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var E=/(@[^@#]+#\d{4})|(:[a-zA-Z0-9_~]+:)|(#[^\s\t@#:]+(?=[\s\t@#:]))/g,g=/((?:\w|[-_])+):\s*/g;var S=new Set(["paragraph","line","blockQuote"]);function O(e){var t=e.value.document.nodes.get(0);(0,a.default)("block"===t.object,"Slate: Invalid block type:"+t.object+" "+t.type),b(e,t,!0,[])}function I(e,t,n,r){if(f.areStylesDisabledInEditor(e))return O(e),!1;for(var o,i=_(e.value.document.nodes);!(o=i()).done;){var l=o.value;if((0,a.default)("block"===l.object,"Slate: Invalid block type: "+l.object+" "+l.type),S.has(l.type)&&T(e,l,t,n,r))return!0}return!1}function T(e,t,n,r,a){var o=(0,u.getLineState)(t),s=!0===(null==o?void 0:o.wasInCodeBlock),d=l.parse(t.text,n,s);if(function(e,t,n){for(var r,a=_(n);!(r=a()).done;){var o=r.value;switch(o.attributes[0]){case"emoji":case"customEmoji":return N(e,t,o.start,o.text.length,o.attributes[0],{data:o.data});case"textMention":return N(e,t,o.start,o.text.length,o.attributes[0],{text:o.data.text});case"mention":case"roleMention":case"channel":return N(e,t,o.start,o.text.length,o.attributes[0],{id:o.data.id});case"commandOption":return N(e,t,o.start,o.text.length,o.attributes[0],{name:o.data.id})}}return!1}(e,t=b(e,t,!0===(null==o?void 0:o.isInCodeBlock),d),d))return!0;if(!(null==o?void 0:o.isInCodeBlock)){if(C(e,t,r,d,E))return!0;if(null!=a&&null!=i.default.getActiveCommand()&&C(e,t,a,d,g))return!0}}function C(e,t,n,r,a){for(var o,l=null,u=function(){var u,d=o.value;if(s.isOptionNode(d)){if(s.hasValueNodes(d))l=null;else{var f,c,p=i.default.getActiveCommand();l=null!==(f=null==p||null===(c=p.options)||void 0===c?void 0:c.find((function(e){return e.name===d.data.get("name")})))&&void 0!==f?f:null}return"continue"}if("text"!==d.object)return"continue";if(null!=(null===(u=l)||void 0===u?void 0:u.choices))return"continue";var v=d.text;a.lastIndex=0;for(var y=void 0;y=a.exec(v);)if((0===y.index||v.charAt(y.index-1).match(/(\t|\s)/))&&!M(y.index,y[0].length,r)){var m=n(y[0],e);if(null!=m){var _=t.getOffset(d.key);return{v:N(e,t,_+y.index,y[0].length,m.type,m.data)}}a.lastIndex=y.index+1}},d=_(t.nodes);!(o=d()).done;){var f=u();switch(f){case"continue":continue;default:if("object"==typeof f)return f.v}}return!1}function b(e,t,n,r){if(!function(e){for(var t,n=_(e.nodes);!(t=n()).done;){if("inline"===t.value.object)return!0}return!1}(t))return t;for(var i,l=!1,u=!1,s=_(t.nodes);!(i=s()).done;){var f=i.value;if("text"===f.object)for(var c=0;;){var p=f.text.indexOf("\\",c);if(-1===p)break;if(p===f.text.length-1){l=!0;break}c+=2}else"inline"===f.object&&(n||l||M(t.getOffset(f.key),1,r))&&(l=!1,e.replaceNodeByKey(f.key,o.Text.create({text:d.serializeInlineObject(f,"plain")})),u=!0)}if(!u)return t;var v=e.value.document.getNode(t.key);return(0,a.default)(null!=v&&"block"===v.object,"invalid block node"),v}function M(e,t,n){for(var r,a=e+t,o=_(n);!(r=o()).done;){var i=r.value;if(i.attributes.includes("codeBlockText")||i.attributes.includes("inlineCode")){var l=i.start,u=i.start+i.text.length;if(l<a&&u>e)return!0}}return!1}function N(e,t,n,r,i,l){e.normalize(),(0,a.default)("text"!==t.object,"Slate: block may not be a text node");var u=e.value.document.nodes.indexOf(t);(0,a.default)(u>=0,"Slate: line not found");var s=e.value,d=s.selection,c=s.document,p=f.selectionToLineChar(c,d),v=f.findPointInBlockNode(t,n,!0),y=f.findPointInBlockNode(t,n+r,!1),m=o.PathUtils.lift(v.path),h=0!==m.size?t.getChild(m):t,E=Array.from(h.nodes).map((function(e){return e.key})),g=E.indexOf(v.key),S=E.indexOf(y.key);(0,a.default)(g>=0&&(S>=0&&g<=S||h!==t),"Slate: inline object text nodes not found or out of order"+JSON.stringify({b:h.toJSON(),startPoint:v,endPoint:y,blockChildrenKeys:E,startPointIndex:g,endPointIndex:S}));for(var O,I=[],T=!1,C=_(h.nodes);!(O=C()).done;){var b=O.value;if(b.key===v.key){T=!0;var M=null==v.offset?null:b.text.substring(0,v.offset);M&&I.push(o.Text.create({text:M})),I.push(o.Inline.create({type:i,data:l,nodes:[{object:"text",text:" "}]}))}if("document"===b.object||b.key===v.key||b.key===y.key||T||I.push(b),b.key===y.key){T=!1;var N=null==y.offset?null:b.text.substring(y.offset);N&&I.push(o.Text.create({text:N}))}}if("block"===h.object?e.replaceNodeByKey(h.key,o.Block.create({type:h.type,nodes:I,data:h.data})):"inline"===h.object&&(0!==I.length&&"text"===I[0].object||I.unshift(o.Text.create({text:""})),"text"!==I[I.length-1].object&&I.push(o.Text.create({text:""})),e.replaceNodeByKey(h.key,o.Inline.create({type:h.type,nodes:I,data:h.data}))),d.isCollapsed&&null!=p&&p.line===u){var A=p.character>n?p.character-r+1:p.character,P=e.value.document.nodes.get(u),R=f.findPointInBlockNode(P,A);e.select(o.Range.create({anchor:R,focus:R}))}return!0}function A(e,t,n){if(e.ctrlKey||e.altKey||e.metaKey)return n();var r=t.value,a=r.selection,i=r.document,l=i.getClosestBlock(a.focus.key);if(null==l)return n();var u="rtl"===l.getTextDirection(),s=u&&e.which===c.KeyboardKeys.ARROW_RIGHT||!u&&e.which===c.KeyboardKeys.ARROW_LEFT,d=u&&e.which===c.KeyboardKeys.ARROW_LEFT||!u&&e.which===c.KeyboardKeys.ARROW_RIGHT;if(!s&&!d)return n();var p=f.pointToLineChar(i,a.focus);if(null==p)return n();if(s&&0===p.character)return n();if(d&&p.character>=l.text.length)return n();var v=s?-1:1,y=f.findPointInBlockNode(l,p.character+v,!1,s);if(e.shiftKey)t.select(o.Range.create({anchor:a.anchor,focus:y}));else if(a.isCollapsed)t.select(o.Range.create({anchor:y,focus:y}));else{var m=s?a.start:a.end;t.select(o.Range.create({anchor:m,focus:m}))}e.preventDefault()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=function(e,t,n,r){void 0===n&&(n=!1);void 0===r&&(r=!1);var a=d.findBackticksOnLine(e);if(a.push(e.length),1===a.length&&n)return[];for(var o,i=0,l=n,u=[],s=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(a);!(o=s()).done;){var f=o.value;if(l)u.push({text:e.substring(i,f),start:i,attributes:["codeBlockText"],data:void 0});else{var c=f===a[a.length-2]?e.substring(f+3):"",p=null!=c.match(d.caseInsensitiveLangRegex);f+=3+(p?c:"").length;var m=e.substring(i,f);if(""!==m)R(m,t,r).forEach((function(e){u.push(y({},e,{start:e.start+i}))}))}l=!l,i=f}return u},t.markdownRules=void 0;var r=p(n(23)),a=p(n(404)),o=c(n(101)),i=c(n(718)),l=p(n(26)),u=p(n(1284)),s=p(n(1285)),d=c(n(8396));function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(e){return e&&e.__esModule?e:{default:e}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(){return(y=Object.assign||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}).apply(this,arguments)}var m={link:{type:"skip"},highlight:{type:"skip"},blockQuote:{type:"skip"},codeBlock:{type:"skip"},newline:{type:"verbatim"},br:{type:"verbatim"},paragraph:{type:"verbatim"},text:{type:"verbatim"},emoticon:{type:"verbatim"},mention:{type:"inlineObject"},roleMention:{type:"inlineObject"},channel:{type:"inlineObject"},emoji:{type:"inlineObject"},customEmoji:{type:"inlineObject"},em:{type:"inlineStyle",before:"*",after:"*"},autolink:{type:"inlineStyle",before:"<",after:">"},strong:{type:"inlineStyle",before:"**",after:"**"},u:{type:"inlineStyle",before:"__",after:"__"},s:{type:"inlineStyle",before:"~~",after:"~~"},escape:{type:"inlineStyle",before:"\\",after:""},inlineCode:{type:"inlineStyle",before:"`",after:"`"},spoiler:{type:"inlineStyle",before:"||",after:"||"},url:{type:"inlineStyle",before:"",after:""},codeBlockText:{type:"inlineStyle",before:"",after:""},codeBlockSyntax:{type:"inlineStyle",before:"",after:""},codeBlockLang:{type:"inlineStyle",before:"",after:""},timestamp:{type:"inlineObject"}},_=new Set(["*","_","\\"]),h={},E={};for(var g in u.default.RULES){if(!(g in m))throw new Error("Slate: Unknown markdown rule: "+g+".  If you have just added a new markdown rule then you probably need to add it to this file so that the rich chat box understands it.");var S=m[g];"skip"!==S.type&&(h[g]=O(u.default.RULES[g])),"skip"!==S.type&&"inlineObject"!==S.type&&(E[g]=O("text"===g?o.defaultRules.text:u.default.RULES[g]))}function O(e){(0,r.default)(null!=e.parse,"Slate: rule must have a parse function");var t=e.parse;return y({},e,{parse:function(e,n,r){var a=t.call(this,e,n,r);return a instanceof Array||(a.originalMatch=e),a}})}var I={url:{parse:function(e){return{type:"link",content:e[1],originalMatch:e}}},autolink:{parse:function(e){return{type:"autolink",content:e[1],originalMatch:e}}},codeBlockSyntax:{order:o.defaultRules.inlineCode.order-.1,match:function(e){return/^(```)([a-z0-9_+\-.]+$)?/.exec(e)},parse:function(e){return e[2]&&d.isKnownLang(e[2])?[{type:"codeBlockSyntax",content:e[1],originalMatch:e},{type:"codeBlockLang",content:e[2],originalMatch:e}]:{type:"codeBlockSyntax",content:e[0],originalMatch:e}}}},T=(0,s.default)([h,I]);t.markdownRules=T;var C=(0,s.default)([E,I]),b=i.astParserFor(T),M=i.astParserFor(C),N={max:1/0,maxAge:6e4,updateAgeOnGet:!0},A=new a.default(N),P=new a.default(N);function R(e,t,n){var r=[],a={returnMentionIds:!0,disableAutoBlockNewlines:!0,guildId:t},o=n?M:b,i=n?P:A,l=i.get(e);if(null!=l)return l;var u=e.replace(/\r\n/g," \n").replace(/[\r\f]/g," ").replace(/\t/g," ")+"\n\n";L(r,u,{originalMatch:{index:0,0:""},type:"paragraph",content:o(u,!1,a)},0,[]);var s=function(e){if(0===(e=e.filter((function(e){return e.text.length>0}))).length)return e;for(var t=[e[0]],n=1;n<e.length;n++){var r=t[t.length-1],a=r.start+r.text.length,o=e[n];o.start===a&&null==r.data&&null==o.data&&r.attributes.join("-")===o.attributes.join("-")?r.text+=o.text:t.push(o)}return t}(r);return i.set(e,s),s}function L(e,t,n,a,o){var i=n.content,l=n.type,u=n.originalMatch;switch((0,r.default)(null!=u,"Slate: originalMatch must be set "+JSON.stringify(n,void 0,2)),l){case"newline":case"br":case"paragraph":case"text":case"emoticon":return D(e,t,i||"",a,o);case"emoji":case"customEmoji":var s=t.substring(a);if(s.startsWith(u[0])||(a=U(e,t,a,t.length),s=t.substring(a)),s.startsWith(u[0]))return j(e,t,u[0],a,[l],n);throw new Error("Slate: Unable to find emoji: "+u[0]+" in "+t+" at "+a);case"mention":case"roleMention":case"channel":var d=n.text,f=n.id;return null!=d?((0,r.default)(d===u[0],"Slate: text mentions must exactly match the regex match"),j(e,t,d,a,["textMention"],{text:d})):j(e,t,u[0],a,[l],{id:f});case"timestamp":return D(e,t,u[0],a,o);case"em":case"autolink":case"strong":case"u":case"s":case"escape":case"inlineCode":case"codeBlockSyntax":case"codeBlockLang":case"spoiler":case"url":case"link":var c=function(e,t,n,r){if("inlineCode"===t)return{before:r[1],after:r[1]};if("em"===t&&"_"===e.substring(n,n+1))return{before:"_",after:"_"};var a=m["link"===t?"url":t];if("inlineStyle"===a.type)return a;throw new Error("Slate: rule must be an inlineStyle")}(t,l,a=k(t,a),u),p=c.before,v=c.after;return a=w(e,t,p,a,"syntaxBefore"),o.push(l),a=D(e,t,null!=i?i:"",a,o),o.pop(),k(t,a=w(e,t,v,a,"syntaxAfter"));default:throw new Error("Slate: Unknown rule type: "+l)}}function D(e,t,n,r,a){return"string"==typeof n?r=j(e,t,n,r,a,null):(n instanceof Array||(n=[n]),n.forEach((function(n){r=L(e,t,n,r,a)}))),k(t,r)}function w(e,t,n,a,o){if(n.length>0){var i=t.indexOf(n,a),l=t.substring(a,i+n.length);(0,r.default)(i>=0,"Slate: Unable to find syntax characters"),e.push({text:l,attributes:[o],start:a,data:null}),a=i+n.length}return a}function j(e,t,n,r,a,o){for(var i=k(t,r);"\n"===n.charAt(0)||" "===n.charAt(0);)n=n.substring(1);var u=t.indexOf(n,i);if(u!==i?i=r=U(e,t,i,u):"\\"===n&&"\\"===t.charAt(u+1)&&(u++,r=++i),u!==i)throw new l.default("MarkdownToSlate").error(JSON.stringify({sourceText:t,searchText:n,searchStartsAt:t.substring(i),startPos:i})),Error("Slate: Unable to find content in source text!");var s=i+n.length,d=t.substring(r,s);return e.push({text:d,attributes:a.slice(),start:r,data:o}),s}function k(e,t){for(;"\n"===e.charAt(t)||" "===e.charAt(t);)t++;return t}function U(e,t,n,r){for(;n<r&&_.has(t[n]);)n=k(t,n=w(e,t,t[n],n,"syntaxBefore"));return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseSelectedSyntax=l,t.doesSelectionHaveLineStyle=function(e,t){var n=e.selection,r=e.document,o=(0,a.pointToLineChar)(r,n.start),i=(0,a.pointToLineChar)(r,n.end);if(null==o||null==i)return!1;for(var l=o.line;l<=i.line;l++){var u=r.nodes.get(l);if("block"!==u.object||u.type!==t)return!1}return!0},t.toggleMarkdownStyle=function(e,t){e.ensureSelection();var n=l(e.value),o=n.before[t],u=n.after[t];if(null!=o&&null!=u){var s=e.value,d=s.selection,f=s.document,c=f.getClosestBlock(d.start.key);if(null==c)return;var p=(0,a.findPointInBlockNode)(c,o.location),v=f.getClosestBlock(d.end.key);if(null==v)return;var y=(0,a.findPointInBlockNode)(v,u.location);e.select(r.Range.create({anchor:y,focus:y})).deleteForward(u.chars.length).select(r.Range.create({anchor:p,focus:p})).deleteForward(o.chars.length).select(r.Range.create({anchor:p,focus:{key:y.key,offset:y.offset-o.chars.length}})).focus()}else{var m=e.value.selection,_=m.start,h=m.end;e.select(r.Range.create({anchor:h,focus:h})).insertTextAtRange(r.Range.create({anchor:h,focus:h}),i[t]).insertTextAtRange(r.Range.create({anchor:_,focus:_}),i[t]).select(r.Range.create({anchor:{key:_.key,offset:_.offset+i[t].length},focus:{key:h.key,offset:h.offset+i[t].length}})).focus()}};var r=n(8315),a=n(8326),o=new Set(["*","_","~","`","|"]),i={bold:"**",italics:"*",underline:"__",strikethrough:"~~",inlineCode:"`",spoiler:"||"};function l(e){var t=e.selection,n=e.document,r=u(n,t.start),a=u(n,t.end);for(var o in r)o in a||delete r[o];for(var i in a)i in r||delete a[i];return{before:r,after:a}}function u(e,t){var n=(0,a.pointToLineChar)(e,t);if(null==n)return{};for(var r=e.nodes.get(n.line).text,i=n.character,l=i-1;l>=0&&o.has(r.charAt(l));l--)i--;for(var u=n.character,f=u;f<r.length&&o.has(r.charAt(f));f++)u++;var c=r.substring(i,u),p={};return d(p,c,i,"***","italics","bold"),d(p,c,i,"___","italics","underline"),s(p,c,i,"**","bold"),s(p,c,i,"*","italics"),s(p,c,i,"_","italics"),s(p,c,i,"__","underline"),s(p,c,i,"`","inlineCode"),s(p,c,i,"~~","strikethrough"),s(p,c,i,"||","spoiler"),p}function s(e,t,n,r,a){var o=f(t,r);o>=0&&(e[a]={chars:r,location:n+o})}function d(e,t,n,r,a,o){var i=f(t,r);i>=0&&(e[a]={chars:r.substring(0,1),location:i+n},e[o]={chars:r.substring(1),location:i+n+1})}function f(e,t){var n=e.indexOf(t);if(n>=0){var r=t.charAt(0);if(n>0&&e.charAt(n-1)===r)return-1;if(n<e.length-1&&e.charAt(n+t.length)===r)return-1}return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?12:t,r=e.height,a=void 0===r?12:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 12 12"}),s("path",{className:f,d:"M7.00168 1.08381C7.00168 0.485238 6.51645 0 5.91788 0C5.31931 0 4.83408 0.485238 4.83408 1.08381V2.18568C4.83408 2.78425 5.31931 3.26949 5.91788 3.26949C6.51645 3.26949 7.00168 2.78425 7.00168 2.18568V1.08381Z",fill:d}),s("path",{className:f,d:"M7.00159 9.81428C7.00159 9.21571 6.51636 8.73047 5.91779 8.73047C5.31922 8.73047 4.83398 9.21571 4.83398 9.81428V10.9161C4.83398 11.5147 5.31922 12 5.91779 12C6.51636 12 7.00159 11.5147 7.00159 10.9161V9.81428Z",fill:d}),s("path",{className:f,d:"M10.9162 7.10561C11.5148 7.10561 12 6.62037 12 6.0218C12 5.42323 11.5148 4.93799 10.9162 4.93799H9.81433C9.21576 4.93799 8.73053 5.42323 8.73053 6.0218C8.73053 6.62037 9.21576 7.10561 9.81433 7.10561H10.9162Z",fill:d}),s("path",{className:f,d:"M2.18573 7.04555C2.7843 7.04555 3.26953 6.56031 3.26953 5.96174C3.26953 5.36317 2.7843 4.87793 2.18573 4.87793H1.08386C0.485292 4.87793 5.67436e-05 5.36317 5.67436e-05 5.96174C5.67436e-05 6.56031 0.485292 7.04555 1.08386 7.04555H2.18573Z",fill:d}))}d.displayName="SparklePlus"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?10:t,r=e.height,a=void 0===r?10:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 10 10"}),s("path",{className:f,d:"M4.59185 1.69642L1.32007 0.0611887C1.14437 -0.00404167 0.953613 -0.0174513 0.770466 0.0225611C0.587319 0.0625734 0.419488 0.154328 0.286908 0.286908C0.154328 0.419488 0.0625738 0.587318 0.0225614 0.770466C-0.0174511 0.953613 -0.00404127 1.14437 0.0611893 1.32007L1.69642 4.59185C1.78832 4.83513 1.78825 5.10365 1.69623 5.34698L0.122153 8.68254C0.0375916 8.84984 0.00799916 9.03955 0.0375831 9.2246C0.0671671 9.40965 0.154425 9.58061 0.286913 9.7131C0.419402 9.84559 0.59035 9.93283 0.775402 9.96242C0.960453 9.992 1.15016 9.96241 1.31746 9.87785L4.65302 8.30377C4.89635 8.21175 5.16487 8.21168 5.40815 8.30358L8.67993 9.93881C8.85563 10.004 9.04639 10.0175 9.22953 9.97744C9.41268 9.93743 9.58051 9.84567 9.71309 9.71309C9.84567 9.58051 9.93743 9.41268 9.97744 9.22953C10.0175 9.04639 10.004 8.85563 9.93881 8.67993L8.30358 5.40815C8.24152 5.292 8.20906 5.16233 8.2091 5.03061C8.20913 4.89889 8.24165 4.7692 8.30377 4.65302L9.87785 1.31746C9.96241 1.15016 9.992 0.960453 9.96242 0.775401C9.93283 0.59035 9.84559 0.419401 9.7131 0.286913C9.58061 0.154424 9.40965 0.0671663 9.2246 0.0375824C9.03955 0.00799847 8.84984 0.037591 8.68254 0.122152L5.34698 1.69623C5.2308 1.75835 5.10111 1.79087 4.96939 1.7909C4.83767 1.79094 4.708 1.75848 4.59185 1.69642Z",fill:d}))}d.displayName="SparkleStar"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({width:n,height:a},(0,i.default)(c),{viewBox:"0 0 24 24"}),s("path",{fill:d,className:f,d:"M2 2C0.895431 2 0 2.89543 0 4V20C0 21.1046 0.89543 22 2 22H22C23.1046 22 24 21.1046 24 20V4C24 2.89543 23.1046 2 22 2H2ZM9.76445 11.448V15.48C8.90045 16.044 7.88045 16.356 6.74045 16.356C4.11245 16.356 2.66045 14.628 2.66045 12.072C2.66045 9.504 4.23245 7.764 6.78845 7.764C7.80845 7.764 8.66045 8.004 9.32045 8.376L9.04445 10.164C8.42045 9.768 7.68845 9.456 6.83645 9.456C5.40845 9.456 4.71245 10.512 4.71245 12.06C4.71245 13.62 5.43245 14.712 6.86045 14.712C7.31645 14.712 7.64045 14.616 7.97645 14.448V12.972H6.42845V11.448H9.76445ZM11.5481 7.92H13.6001V16.2H11.5481V7.92ZM20.4724 7.92V9.636H17.5564V11.328H19.8604V13.044H17.5564V16.2H15.5164V7.92H20.4724Z"}))}d.displayName="InvertedGIFLabel"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ArchivedThreadListTypeAdapters=void 0;var r,a=c(n(23)),o=c(n(3)),i=c(n(2)),l=n(31),u=c(n(10)),s=c(n(204)),d=n(392),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=!1,m=!1,_=!1,h=null,E=d.ArchivedThreadListType.ALL_PUBLIC_THREADS,g=[],S=((r={})[d.ArchivedThreadListType.ALL_PUBLIC_THREADS]={matches:function(e){var t;return e.type!==f.ChannelTypes.PRIVATE_THREAD&&!0===(null===(t=e.threadMetadata)||void 0===t?void 0:t.archived)},sortKey:function(e){var t;return null===(t=e.threadMetadata)||void 0===t?void 0:t.archiveTimestamp},endpoint:function(e){return f.Endpoints.ALL_ARCHIVED_THREADS(e,"public")}},r[d.ArchivedThreadListType.ALL_PRIVATE_THREADS]={matches:function(e){var t;return e.type===f.ChannelTypes.PRIVATE_THREAD&&!0===(null===(t=e.threadMetadata)||void 0===t?void 0:t.archived)},sortKey:function(e){var t;return null===(t=e.threadMetadata)||void 0===t?void 0:t.archiveTimestamp},endpoint:function(e){return f.Endpoints.ALL_ARCHIVED_THREADS(e,"private")}},r[d.ArchivedThreadListType.MY_PRIVATE_THREADS]={matches:function(e){var t;return e.type===f.ChannelTypes.PRIVATE_THREAD&&!0===(null===(t=e.threadMetadata)||void 0===t?void 0:t.archived)&&s.default.hasJoined(e.id)},sortKey:function(e){return e.id},endpoint:function(e){return f.Endpoints.MY_ARCHIVED_THREADS(e)}},r);function O(){y=!1,m=!1,_=!1,h=null,E=d.ArchivedThreadListType.ALL_PUBLIC_THREADS,g=[]}function I(e){if(!(g.indexOf(e)>=0))return!1;g=g.filter((function(t){return t===e}))}t.ArchivedThreadListTypeAdapters=S;var T=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var a,o,i,l=r.prototype;return l.initialize=function(){this.waitFor(u.default,s.default)},l.getThreads=function(e,t){return h===e&&E===t?g:[]},a=r,(o=[{key:"canLoadMore",get:function(){return m&&!y&&!_}},{key:"loading",get:function(){return y}}])&&p(a.prototype,o),i&&p(a,i),r}(o.default.Store))(i.default,{CONNECTION_OPEN:function(e){return O()},THREAD_UPDATE:function(e){var t=e.channel;if(!l.ALL_CHANNEL_TYPES.has(t.type))return!1;if(t.parent_id!==h)return!1;var n=I(t.id),r=S[E];if(!r.matches(t))return n;var a=r.sortKey(t);if(null==a)return n;var o=g.findIndex((function(e){var t=u.default.getChannel(e);if(null==t)return!1;var n=r.sortKey(t);return null!=n&&n<a}));if(-1===o)return n;(g=g.slice()).splice(o,0,t.id)},THREAD_DELETE:function(e){return I(e.channel.id)},CHANNEL_DELETE:function(e){if(e.channel.id!==h)return!1;O()},LOAD_ARCHIVED_THREADS:function(e){e.channelId===h&&e.listType===E||O(),h=e.channelId,E=e.listType,y=!0},LOAD_ARCHIVED_THREADS_SUCCESS:function(e){if(e.channelId!==h||e.listType!==E)return!1;var t=e.threads.filter((function(e){return l.ALL_CHANNEL_TYPES.has(e.type)})).map((function(e){return e.id})),n=g.length>0?u.default.getChannel(g[g.length-1]):null,r=n?S[E].sortKey(n):null;null!=e.before&&null!=r?((0,a.default)(e.before<=r,"handleLoadArchivedThreadsSuccess - It is illegal use a `before` time that is more recent than an existing archived thread"),g=g.concat(t)):g=t,m=e.hasMore,y=!1},LOAD_ARCHIVED_THREADS_FAIL:function(e){if(e.channelId!==h||e.listType!==E)return!1;y=!1,_=!0}});t.default=T},function(e,t,n){e.exports=n.p+"2366510047c77ec129d3b746237de881.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(9)),o=i(n(7545));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(e){var t=e.application,n=e.splashSize,r=e.className,i=e.overrideSplash,l=null!=i?i:t.getSplashURL(n),s=null!=l?"url("+l+")":void 0;return u("div",{className:(0,a.default)(o.default.splashBackground,r),style:{backgroundImage:s}})}s.displayName="ApplicationSplashBackground"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=P(n(0)),o=N(n(3)),i=N(n(2)),l=n(421),u=n(1391),s=n(1325),d=P(n(266)),f=N(n(473)),c=N(n(485)),p=N(n(1396)),v=n(42),y=N(n(210)),m=N(n(120)),_=N(n(306)),h=N(n(426)),E=N(n(29)),g=N(n(55)),S=N(n(477)),O=N(n(5828)),I=n(8366),T=n(289),C=n(1),b=N(n(6)),M=N(n(6032));function N(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function P(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function R(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var D=function(){return[b.default.Messages.APPLICATION_STORE_PURCHASE_CONFIRMATION_TITLE_1,b.default.Messages.APPLICATION_STORE_PURCHASE_CONFIRMATION_TITLE_2,b.default.Messages.APPLICATION_STORE_PURCHASE_CONFIRMATION_TITLE_3,b.default.Messages.APPLICATION_STORE_PURCHASE_CONFIRMATION_TITLE_4]},w=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={confirmHeaderIndex:Math.floor(Math.random()*D().length),installPath:t.props.defaultInstallationPath,hasInstallPathError:!1,hasAcceptedNeccessaryTerms:!1},t.handleInstallPathChange=function(e,n){t.setState({installPath:e,hasInstallPathError:n})},t.handleInventoryClick=function(){f.default.open(C.UserSettingsSections.INVENTORY),t.props.onClose()},t.handleGoToLibrary=function(){(0,v.transitionTo)(C.Routes.APPLICATION_LIBRARY),t.props.onClose()},t.handleInstall=function(){var e=t.props,n=e.application,r=e.branchId,a=e.buildId,o=e.hasPreviouslyAcceptedStoreTerms,i=e.manifestIds,l=e.onClose,u=t.state,f=u.installPath,c=u.hasInstallPathError;o||(0,s.acceptPurchaseTerms)(),null!=n.eulaId&&(0,s.acceptEULA)(n.eulaId),c||null==a||null==i||(d.installApplication(n,r,a,i,f,C.AnalyticsLocations.APPLICATION_STORE_PAYMENT_MODAL),l(),(0,v.transitionTo)(C.Routes.APPLICATION_LIBRARY))},t.handlePurchaseTermsChange=function(e){t.setState({hasAcceptedNeccessaryTerms:e})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,L(t,n);var o=r.prototype;return o.fetchInstallSize=function(){var e=this.props,t=e.application,n=e.branchId,r=e.buildId,a=e.manifestIds,o=e.buildSizeKB;null!=r&&null!=a&&null==o&&i.default.wait((function(){(0,u.fetchBuildSize)(t.id,n,r,a)}))},o.componentDidMount=function(){var e=this.props,t=e.application,n=e.branchId,r=e.buildId,a=e.manifestIds,o=e.sku;!e.isIAP&&(0,I.canUserInstall)(o)&&(null==r||null==a?i.default.wait((function(){return(0,l.fetchLiveBuild)(t.id,n)})):this.fetchInstallSize())},o.componentDidUpdate=function(e){this.props.buildId===e.buildId&&this.props.manifestIds===e.manifestIds||this.fetchInstallSize()},o.getHeaderBlurb=function(){var e=this.props,t=e.sku,n=e.application,r=e.isIAP;if(t.isPreorder()&&null!=t.preorderReleaseAt)return b.default.Messages.APPLICATION_STORE_PREORDER_PURCHASE_CONFIRMATION_BLURB.format({applicationName:n.name,date:t.preorderReleaseAt.format("MMMM DD")});if(r||[C.SKUTypes.DURABLE,C.SKUTypes.CONSUMABLE].includes(t.type))return b.default.Messages.APPLICATION_ADDON_PURCHASE_CONFIRMATION_BLURB.format({applicationName:n.name,itemName:t.name});if(t.type===C.SKUTypes.BUNDLE)return b.default.Messages.APPLICATION_STORE_BUNDLE_PURCHASE_CONFIRMATION_BLURB.format({name:t.name});var a=t.supportedOperatingSystems[0];return b.default.Messages.APPLICATION_STORE_PURCHASE_CONFIRMATION_UNSUPPORTED_OS.format({name:n.name,operatingSystem:(0,T.skuOperatingSystemToText)(a)})},o.renderInstallationHeader=function(){var e=this.props.application;return R("div",{className:M.default.blurb},void 0,b.default.Messages.APPLICATION_STORE_PURCHASE_CONFIRMATION_BLURB.format({name:e.name}))},o.renderInstallationBody=function(){var e=this.props,t=e.isFetchingBuild,n=e.buildId,r=e.buildSizeKB,o=e.application,i=this.state,l=i.installPath,u=i.hasInstallPathError,s=i.hasAcceptedNeccessaryTerms;return R(a.Fragment,{},void 0,R(p.default,{className:M.default.installSelector,value:l,requiredDiskKB:r,onChange:this.handleInstallPathChange}),R(c.default,{eulaId:o.eulaId,applicationName:o.name,onChange:this.handlePurchaseTermsChange,className:M.default.storeTerms}),R(O.default,{className:M.default.confirmButton,disabled:u||null==n||!s,onClick:this.handleInstall,submitting:t,color:E.default.Colors.GREEN},void 0,b.default.Messages.APPLICATION_STORE_PURCHASE_INSTALL_GAME))},o.renderGenericHeader=function(){return R("div",{className:M.default.blurb},void 0,this.getHeaderBlurb())},o.renderBlurbBody=function(){var e,t=this.props,n=t.isIAP,r=t.sku,o=t.onClose;return r.isPreorder()?(e=b.default.Messages.APPLICATION_PREORDER_PURCHASE_CONFIRMATION_BUTTON,o=this.handleGoToLibrary):e=n?b.default.Messages.APPLICATION_IAP_PURCHASE_RETURN_TO_GAME:b.default.Messages.OKAY,R(a.Fragment,{},void 0,R(E.default,{className:M.default.confirmButton,onClick:o},void 0,e))},o.renderBlurb=function(){var e=this.props,t=e.sku;return e.isIAP||!(0,I.canUserInstall)(t)||t.isPreorder()?this.renderGenericHeader():this.renderInstallationHeader()},o.renderBody=function(){var e=this.props,t=e.sku;return e.isIAP||!(0,I.canUserInstall)(t)||t.isPreorder()?this.renderBlurbBody():this.renderInstallationBody()},o.render=function(){var e=this.props.application,t=this.state.confirmHeaderIndex;return R(g.default,{direction:g.default.Direction.VERTICAL,align:g.default.Align.CENTER},void 0,R(S.default,{game:e,className:M.default.icon,size:S.default.Sizes.LARGE}),R("div",{className:M.default.header},void 0,D()[t]),this.renderBlurb(),R("div",{className:M.default.divider}),this.renderBody())},r}(a.Component);w.displayName="PurchaseConfirmation";var j=o.default.connectStores([y.default,_.default,m.default,h.default],(function(e){var t,n=e.application,r=m.default.getActiveLibraryApplication(n.id);t=null!=r?r.id:n.id;var a=_.default.getTargetBuildId(n.id,t);return{defaultInstallationPath:y.default.defaultInstallationPath,branchId:t,isFetchingBuild:_.default.isFetching(n.id,t),buildId:a,manifestIds:_.default.getTargetManifests(n.id,t),buildSizeKB:null!=a?_.default.getBuildSize(a):null,hasPreviouslyAcceptedStoreTerms:h.default.hasAcceptedStoreTerms}}))(w);t.default=j},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSkuHeaderText=function(e,t){if(e)return o.default.Messages.APPLICATION_STORE_PURCHASE_IAP;switch(t){case a.SKUTypes.DURABLE_PRIMARY:return o.default.Messages.APPLICATION_STORE_PURCHASE_APPLICATION;case a.SKUTypes.DURABLE:return o.default.Messages.APPLICATION_STORE_PURCHASE_DLC;case a.SKUTypes.CONSUMABLE:return o.default.Messages.APPLICATION_STORE_PURCHASE_CONSUMABLE;case a.SKUTypes.BUNDLE:return o.default.Messages.APPLICATION_STORE_PURCHASE_BUNDLE}};var r,a=n(1),o=(r=n(6))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=b(n(0)),o=T(n(9)),i=T(n(3)),l=b(n(389)),u=T(n(8273)),s=T(n(1245)),d=T(n(9521)),f=T(n(400)),c=T(n(155)),p=T(n(79)),v=T(n(29)),y=T(n(61)),m=T(n(5828)),_=T(n(149)),h=T(n(1266)),E=T(n(16)),g=b(n(1253)),S=n(1),O=T(n(6)),I=T(n(7547));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(){return(N=Object.assign||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}).apply(this,arguments)}function A(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var R=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleDropdownClick=function(e){e.stopPropagation();var n=t.props,r=n.libraryApplication,o=n.onDropdownOpen,i=n.onDropdownClose;if(o&&o(e),null==r)throw new Error("Unexpected missing libraryApplication");l.openContextMenu(e,(function(e){return a.createElement(d.default,N({},e,{libraryApplication:r,onPlay:t.handleClick}))}),{onClose:i})},t.handleClick=function(){var e=t.props,n=e.applicationId,r=e.libraryApplication,a=e.analyticsListSort,o=e.analyticsListIndex;g.playApplication(n,r,{analyticsParams:{location:t.analyticsLocation,list_sort:a,list_index:o}})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,P(t,n);var i,u,s,f=r.prototype;return f.renderDropdown=function(){var e=this.props.dispatchState;return null!=e&&null!=e.launchOptions&&Object.keys(e.launchOptions).length>1?M(y.default,{"aria-label":O.default.Messages.APPLICATION_CONTEXT_MENU_LAUNCH_OPTIONS,className:I.default.dropdownArrowHitbox,onClick:this.handleDropdownClick},void 0,M("div",{className:I.default.arrowSeparator}),M(h.default,{className:I.default.dropdownArrow})):null},f.renderDisabledButton=function(e,t){var n=this.props,r=n.className,o=n.fullWidth,i=n.size,l=n.customDisabledColor,u=n.tooltipPosition;return M("div",{className:I.default.disabledButtonWrapper},void 0,M(v.default,{className:r,fullWidth:o,size:i,color:null!=l?l:I.default.disabledButtonColor,disabled:!0},void 0,e),M(_.default,{text:t,position:u},void 0,(function(e){return a.createElement("div",N({className:I.default.disabledButtonOverlay},e))})))},f.render=function(){var e=this.props,t=e.className,n=e.fullWidth,r=e.size,a=e.color,i=e.isLaunchable,l=e.isLaunching,u=e.isRunning,s=e.isShiny,d=e.hideNotLaunchable;return i?u?this.renderDisabledButton(O.default.Messages.GAME_ACTION_BUTTON_NOW_PLAYING):M(s?m.default:v.default,{className:(0,o.default)(I.default.playButton,t),innerClassName:I.default.playButtonContents,fullWidth:n,size:r,color:null!=a?a:v.default.Colors.GREEN,hover:null!=a?v.default.Hovers.GREEN:v.default.Hovers.DEFAULT,submitting:l,onClick:this.handleClick},void 0,M("div",{className:I.default.buttonText},void 0,O.default.Messages.GAME_ACTION_BUTTON_PLAY),this.renderDropdown()):d?null:this.renderDisabledButton(O.default.Messages.GAME_ACTION_BUTTON_PLAY,E.default.embedded?O.default.Messages.GAME_ACTION_BUTTON_GAME_NOT_DETECTED:O.default.Messages.GAME_ACTION_BUTTON_PLAY_DISABLED_DESKTOP_APP)},i=r,(u=[{key:"analyticsLocation",get:function(){return N({},this.props.analyticsContext.location,{object:S.AnalyticsObjects.BUTTON_CTA})}}])&&A(i.prototype,u),s&&A(i,s),r}(a.PureComponent);R.displayName="ApplicationPlayButton",R.defaultProps={fullWidth:!1,size:v.default.Sizes.LARGE,tooltipPosition:_.default.Positions.TOP,isShiny:!1,hideNotLaunchable:!1};var L=(0,u.default)(i.default.connectStores([p.default,s.default,c.default,f.default],(function(e){var t=e.applicationId,n=e.libraryApplication,r=new Set(p.default.getRunningVerifiedApplicationIds());return{isLaunchable:f.default.isConnected(t)||s.default.isLaunchable(t)||null!=n&&c.default.isLaunchable(n.id,n.branchId),isLaunching:s.default.launchingGames.has(t),isRunning:r.has(t),dispatchState:null!=n?c.default.getState(n.id,n.branchId):null}}))(R));t.default=L},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i=P(n(0)),l=N(n(3)),u=P(n(1286)),s=N(n(8273)),d=N(n(26)),f=n(42),c=N(n(155)),p=N(n(405)),v=N(n(306)),y=n(768),m=N(n(1342)),_=N(n(29)),h=N(n(8635)),E=N(n(149)),g=P(n(136)),S=N(n(16)),O=P(n(8366)),I=P(n(1253)),T=N(n(8891)),C=n(1),b=N(n(6)),M=N(n(7549));function N(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function P(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function R(){return(R=Object.assign||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}).apply(this,arguments)}function L(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function D(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function w(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){D(o,r,a,i,l,"next",e)}function l(e){D(o,r,a,i,l,"throw",e)}i(void 0)}))}}function j(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}!function(e){e.PLAY="play",e.NOW_PLAYING="now_playing",e.INSTALL="install",e.UPDATE="update",e.PAUSED="paused",e.LOCATE="locate",e.UNINSTALLING="uninstalling",e.QUEUED="queued",e.DOWNLOADING="downloading",e.UNSUPPORTED_OS="unsupported_os",e.ADD_TO_LIBRARY="add_to_library",e.PREORDER_WAIT="preorder_wait"}(o||(o={}));var U=Object.freeze(((r={})[C.LibraryApplicationActions.PLAY]=o.PLAY,r[C.LibraryApplicationActions.INSTALL]=o.INSTALL,r[C.LibraryApplicationActions.UPDATE]=o.UPDATE,r[C.LibraryApplicationActions.PAUSE]=o.DOWNLOADING,r[C.LibraryApplicationActions.MOVE_UP]=o.QUEUED,r[C.LibraryApplicationActions.RESUME]=o.PAUSED,r));var G=function(e){var t,n;function r(){for(var t,n,r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return(n=e.call.apply(e,[this].concat(a))||this)._uninstallStringIndex=null,n.handleAddToLibrary=w(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=n.props.libraryApplication,e.next=4,u.updateFlags(t.id,t.branchId,t.getFlags()&~C.LibraryApplicationFlags.HIDDEN);case 4:(0,f.transitionTo)(C.Routes.APPLICATION_LIBRARY),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),new d.default("LibraryApplicationButton").error(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])}))),n.handleInstall=function(){var e=n.props,t=e.libraryApplication,r=e.source;I.installApplication(t.id,t.branchId,r)},n.handleUpdate=function(){var e=n.props.libraryApplication;I.updateApplication(e.id,e.branchId)},n.onClickHandlers=((t={})[o.ADD_TO_LIBRARY]=n.handleAddToLibrary,t[o.INSTALL]=n.handleInstall,t[o.UPDATE]=n.handleUpdate,t),n.handleClick=function(e,t){var r=n.props.onClick;r&&r(e),t(e)},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,k(t,n);var a,l,s,c=r.prototype;return c.getText=function(e){switch(e!==o.UNINSTALLING&&(this._uninstallStringIndex=null),e){case o.INSTALL:return b.default.Messages.GAME_ACTION_BUTTON_INSTALL;case o.UPDATE:return b.default.Messages.GAME_ACTION_BUTTON_UPDATE;case o.PAUSED:return b.default.Messages.GAME_ACTION_BUTTON_PAUSED;case o.LOCATE:return b.default.Messages.GAME_ACTION_BUTTON_LOCATE;case o.UNINSTALLING:var t=[b.default.Messages.GAME_ACTION_BUTTON_UNINSTALLING_1,b.default.Messages.GAME_ACTION_BUTTON_UNINSTALLING_2,b.default.Messages.GAME_ACTION_BUTTON_UNINSTALLING_3,b.default.Messages.GAME_ACTION_BUTTON_UNINSTALLING_4,b.default.Messages.GAME_ACTION_BUTTON_UNINSTALLING_5,b.default.Messages.GAME_ACTION_BUTTON_UNINSTALLING_6,b.default.Messages.GAME_ACTION_BUTTON_UNINSTALLING_7,b.default.Messages.GAME_ACTION_BUTTON_UNINSTALLING_8,b.default.Messages.GAME_ACTION_BUTTON_UNINSTALLING_9,b.default.Messages.GAME_ACTION_BUTTON_UNINSTALLING_10];return null==this._uninstallStringIndex&&(this._uninstallStringIndex=Math.floor(Math.random()*t.length)),t[this._uninstallStringIndex];case o.QUEUED:return b.default.Messages.GAME_ACTION_BUTTON_QUEUED;case o.DOWNLOADING:return b.default.Messages.GAME_ACTION_BUTTON_DOWNLOADING;case o.UNSUPPORTED_OS:return b.default.Messages.GAME_ACTION_BUTTON_INSTALL;case o.PREORDER_WAIT:return b.default.Messages.GAME_ACTION_BUTTON_PREORDER_WAIT;case o.ADD_TO_LIBRARY:return b.default.Messages.GAME_ACTION_BUTTON_ADD_TO_LIBRARY;default:throw new Error("Unexpected button state")}},c.getButtonState=function(){var e=this.props,t=e.libraryApplication,n=e.dispatchState,r=e.actionState;if(t.isHidden())return o.ADD_TO_LIBRARY;if(t.isPreorder())return o.PREORDER_WAIT;var a=null!=r?U[r]:null;return null!=a?a:null!=n&&n.type===C.LocalDispatchApplicationStates.UNINSTALLING?o.UNINSTALLING:S.default.isWeb()?o.PLAY:o.UNSUPPORTED_OS},c.renderPlayButton=function(){var e=this.props,t=e.libraryApplication,n=e.fullWidth,r=e.size,a=e.color,o=e.customDisabledColor,i=e.isPlayShiny,l=e.onDropdownOpen,u=e.onDropdownClose,s=e.analyticsListSort,d=e.analyticsListIndex;return L(T.default,{applicationId:t.id,libraryApplication:t,fullWidth:n,size:r,color:a,customDisabledColor:o,isShiny:i,onDropdownOpen:l,onDropdownClose:u,analyticsListSort:s,analyticsListIndex:d})},c.renderDisabledButton=function(e,t){var n=this.props,r=n.className,a=n.fullWidth,o=n.size,l=n.customDisabledColor,u=n.tooltipPosition;return L("div",{className:M.default.disabledButtonWrapper},void 0,L(_.default,{className:r,fullWidth:a,size:o,color:null!=l?l:M.default.disabledButtonColor,disabled:!0},void 0,this.getText(e),this.renderProgressBar()),L(E.default,{text:t,position:u},void 0,(function(e){return i.createElement("div",R({className:M.default.disabledButtonOverlay},e))})))},c.renderProgressBar=function(){var e=this.props,t=e.hideProgress,n=e.dispatchState;if(t)return null;var r=g.convertToTransitionState(n);if(null==r)return null;var a=r.type===C.LocalDispatchApplicationStates.UNINSTALLING?h.default.INDETERMINATE:g.calculateProgressPercentage(r.progress,r.total);return L(h.default,{percent:a,size:h.default.Sizes.XSMALL,foregroundColor:r.paused?C.Colors.PRIMARY_DARK:C.Colors.STATUS_GREEN_600,backgroundColor:C.Colors.TRANSPARENT,className:M.default.progress})},c.renderActionButton=function(e,t){var n=this,r=this.props,a=r.className,i=r.fullWidth,l=r.size,u=r.color,s=r.isCloudSyncing;return L(_.default,{className:a,fullWidth:i,size:l,color:null!=u?u:_.default.Colors.GREEN,hover:null!=u?_.default.Hovers.GREEN:_.default.Hovers.DEFAULT,submitting:e===o.UNINSTALLING||s,onClick:function(e){return n.handleClick(e,t)}},void 0,this.getText(e),this.renderProgressBar())},c.render=function(){var e=this.props,t=e.hasNoBuild,n=e.libraryApplication,r=this.getButtonState();if(r===o.PLAY)return this.renderPlayButton();if(r===o.PREORDER_WAIT)return this.renderDisabledButton(r,function(e){var t=O.getReadablePreorderReleaseDate(e.sku);return null!=t?b.default.Messages.GAME_ACTION_BUTTON_PREORDER_WAIT_TOOLTIP.format({date:t}):null}(n));if(r===o.UNSUPPORTED_OS)return this.renderDisabledButton(r,b.default.Messages.GAME_ACTION_BUTTON_UNAVAILABLE_TOOLTIP.format({operatingSystem:b.default.Messages.WINDOWS}));if(r===o.INSTALL&&t)return this.renderDisabledButton(r,b.default.Messages.GAME_ACTION_BUTTON_CANNOT_INSTALL);var a=this.onClickHandlers[r];return null==a?this.renderDisabledButton(r):this.renderActionButton(r,a)},a=r,(l=[{key:"analyticsLocation",get:function(){return R({},this.props.analyticsContext.location,{object:C.AnalyticsObjects.BUTTON_CTA})}}])&&j(a.prototype,l),s&&j(a,s),r}(i.Component);G.displayName="LibraryApplicationButton",G.defaultProps={fullWidth:!1,size:_.default.Sizes.LARGE,hideProgress:!1,isPlayShiny:!1,tooltipPosition:E.default.Positions.TOP},G.ButtonStates=o;var F=(0,s.default)(l.default.connectStores([c.default,p.default,v.default,m.default],(function(e){var t=e.libraryApplication;return{actionState:(0,y.getDefaultLibraryApplicationAction)(t,c.default,p.default),isCloudSyncing:m.default.isSyncing(t.id,t.branchId),hasNoBuild:v.default.hasNoBuild(t.id,t.branchId),dispatchState:c.default.getState(t.id,t.branchId)}}))(G));t.default=F},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E,t.OperatingSystemSection=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=v(n(9)),l=v(n(149)),u=v(n(9524)),s=v(n(9525)),d=v(n(9526)),f=n(1),c=v(n(6)),p=v(n(7550));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(){return(_=Object.assign||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}).apply(this,arguments)}var h=((r={})[f.OperatingSystems.WINDOWS]={icon:d.default,label:c.default.Messages.WINDOWS},r[f.OperatingSystems.MACOS]={icon:s.default,label:c.default.Messages.MACOS},r[f.OperatingSystems.LINUX]={icon:u.default,label:c.default.Messages.LINUX},r);function E(e){var t=e.operatingSystem,n=e.className,r=h[t];if(null==r)throw new Error("Unexpected operating system: "+t);var a=r.icon;return m(l.default,{text:r.label},void 0,(function(e){return o.createElement(a,_({},e,{className:n}))}))}E.displayName="OperatingSystemIcon";var g=function(e){var t=e.systems,n=e.className,r=e.iconClassName;return m("div",{className:(0,i.default)(p.default.OSSection,n)},void 0,t.map((function(e){return m(E,{operatingSystem:e,className:(0,i.default)(p.default.purchaseUnitOperatingSystem,r)},e)})))};t.OperatingSystemSection=g,g.displayName="OperatingSystemSection"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(57);function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function i(){return(i=Object.assign||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}).apply(this,arguments)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){var t,n;function o(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).timer=new a.Interval,t.state={hovered:!1},t.handlePause=function(){t.state.hovered||t.setState({hovered:!0})},t.handleResume=function(){t.setState({hovered:!1})},t}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n),o.getDerivedStateFromProps=function(e){return e.disable?{hovered:!1}:null};var u=o.prototype;return u.componentDidMount=function(){var e=this.props,t=e.pauseOnHover,n=e.disable,r=this.state.hovered&&t;n||r||this.startTimer()},u.componentWillUnmount=function(){this.stopTimer()},u.componentDidUpdate=function(e,t){var n=this.props,r=function(e,t){return!(e.disable||t.hovered&&e.pauseOnHover)},a=r(n,this.state),o=r(e,t);a&&!o||e.interval!==n.interval?this.startTimer():!a&&o&&this.stopTimer()},u.startTimer=function(){var e=this.props,t=e.interval,n=e.onInterval;e.disable||this.timer.start(t,(function(){n()}))},u.stopTimer=function(){this.timer.stop()},u.render=function(){var e=this.props,t=e.children,n=e.className,a=e.disable?null:{onMouseEnter:this.handlePause,onFocus:this.handlePause,onMouseLeave:this.handleResume,onBlur:this.handleResume};return r.createElement("div",i({},a,{className:n}),t)},o}(r.Component);u.displayName="IntervalWrapper",u.defaultProps={disable:!1,pauseOnHover:!1};var s=u;t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u={matureAgree:!1,muted:!0};var s=new(function(e){var t,n,r,a,o;function s(){return e.apply(this,arguments)||this}return n=e,(t=s).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n),r=s,(a=[{key:"didMatureAgree",get:function(){return u.matureAgree}},{key:"isDirectoryMuted",get:function(){return u.muted}}])&&i(r.prototype,a),o&&i(r,o),s}(r.default.Store))(a.default,{APPLICATION_STORE_MATURE_AGREE:function(e){u.matureAgree=!0},APPLICATION_STORE_DIRECTORY_MUTE:function(e){u.muted=!0},APPLICATION_STORE_DIRECTORY_UNMUTE:function(e){u.muted=!1}});t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.confirmPublish=function(e,t){(0,v.openModal)((function(n){return a.createElement(b,S({channelId:e,messageId:t},n))}))},t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(3)),i=E(n(8514)),l=E(n(8254)),u=E(n(390)),s=E(n(8897)),d=E(n(10)),f=E(n(29)),c=E(n(151)),p=E(n(466)),v=n(41),y=E(n(24)),m=n(1),_=E(n(6)),h=E(n(7372));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(){return(S=Object.assign||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}).apply(this,arguments)}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var T=O(c.default,{}),C=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).openSettings=function(){var e=t.props,n=e.guildId,r=e.onClose;null!=n&&null!=r&&(r(),l.default.open(n,m.GuildSettingsSections.ANALYTICS))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,I(t,n);var o=r.prototype;return o.componentDidMount=function(){var e=this.props.channelId;this.needsReload()&&i.default.fetchChannelFollowerStats(e)},o.needsReload=function(){var e=this.props.followerStats;return null==e||Date.now()-e.lastFetched>36e5},o.render=function(){var e=this.props,t=e.channelId,n=e.messageId,r=e.followerStats,o=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["channelId","messageId","followerStats"]),i=null!=r&&null!=r.guildsFollowing&&r.guildsFollowing>0?a.createElement(a.Fragment,null,O(y.default,{className:h.default.spacing},void 0,_.default.Messages.PUBLISH_FOLLOWED_NEWS_BODY_REACH.format({numGuildsFollowing:r.guildsFollowing})),O(y.default,{},void 0,_.default.Messages.PUBLISH_FOLLOWED_NEWS_BODY_SETTINGS_INSIGHTS.format({onClick:this.openSettings}))):_.default.Messages.PUBLISH_FOLLOWED_NEWS_BODY;return a.createElement(p.default,S({header:_.default.Messages.MODIFY_FOLLOWED_NEWS_HEADER,confirmText:_.default.Messages.CONFIRM,cancelText:_.default.Messages.CANCEL,confirmButtonColor:f.default.Colors.BRAND,onConfirm:function(){return u.default.crosspostMessage(t,n)}},o),O(y.default,{size:y.default.Sizes.SIZE_16,className:h.default.spacing},void 0,this.needsReload()?T:i))},r}(a.PureComponent);C.displayName="PublishModal";var b=o.default.connectStores([d.default,s.default],(function(e){var t=e.channelId,n=d.default.getChannel(t);return{followerStats:s.default.getFollowerStatsForChannel(t),guildId:null!=n?n.guild_id:null}}))(C),M=b;t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=i(n(3)),o=i(n(2));n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}!function(e){e.FAILED="failed",e.SUCCEEDED="succeeded"}(r||(r={}));var u={};var s=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n),r.prototype.getFollowerStatsForChannel=function(e){return u[e]},r}(a.default.Store))(o.default,{CONNECTION_OPEN:function(e){u={}},CHANNEL_FOLLOWER_STATS_FETCH_SUCCESS:function(e){var t=e.channelId,n=e.stats;n=null!=n?n:{},u[t]={loadingStatus:r.SUCCEEDED,lastFetched:Date.now(),channelsFollowing:n.channels_following,guildMembers:n.guild_members,guildsFollowing:n.guilds_following,usersSeenEver:n.users_seen_ever,subscribersGainedSinceLastPost:n.subscribers_gained_since_last_post,subscribersLostSinceLastPost:n.subscribers_lost_since_last_post}},CHANNEL_FOLLOWER_STATS_FETCH_FAILURE:function(e){var t=e.channelId;u[t]={loadingStatus:r.FAILED,lastFetched:Date.now(),channelsFollowing:0,guildMembers:0,guildsFollowing:0,usersSeenEver:0,subscribersGainedSinceLastPost:0,subscribersLostSinceLastPost:0}}});t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(){return(l=Object.assign||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}).apply(this,arguments)}var u={},s={},d={};function f(e){var t=s[e];null!=t&&delete d[t],delete s[e],delete u[e]}function c(e){return e.join("-")}var p=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var a=r.prototype;return a.getInteractionComponentStates=function(){return u},a.getInteractionComponentState=function(e,t){var n=c(t);return null!=u[e]?u[e][n]:null},r}(r.default.Store))(a.default,{LOGOUT:function(e){return u={},s={},void(d={})},QUEUE_INTERACTION_COMPONENT_STATE:function(e){var t,n=e.messageId,r=e.nonce,a=e.indices,o=e.state;s[n]=r,d[r]={messageId:n,indices:a};var i=c(a),f=null!==(t=u[n])&&void 0!==t?t:{};f[i]=o,u[n]=f,u=l({},u)},MESSAGE_DELETE:function(e){var t=e.id;if(null==u[t])return!1;f(t),u=l({},u)},MESSAGE_UPDATE:function(e){var t=e.message;if(null==t.id||null==u[t.id])return!1;f(t.id),u=l({},u)},INTERACTION_SUCCESS:function(e){var t=e.nonce;if(null==t)return!1;var n=d[t];if(null==n)return!1;delete s[n.messageId],delete d[t]},INTERACTION_FAILURE:function(e){var t=e.nonce;if(null==t)return!1;var n=d[t];if(null==n)return!1;!function(e){var t=e.indices,n=e.messageId,r=c(t);if(null==u[n]||null==u[n][r])return!1;delete u[n][r],0===Object.entries(u[n]).length&&delete u[n]}(n),u=l({},u)}});t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderComponents=l;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function i(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function l(e,t,n){return i(a.Fragment,{},void 0,null==t?void 0:t.map((function(t,r){return n(e,t,r.toString())})))}l.displayName="renderComponents"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color"]);return o.createElement("svg",u({width:n,height:a},(0,i.default)(f),{viewBox:"0 0 16 16"}),s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.20038 2.39762V5.24178C9.20038 6.10455 9.89673 6.80072 10.7597 6.80072H13.6046C13.9558 6.80072 14.1343 6.37826 13.8844 6.12835L9.87292 2.11796C9.62295 1.86806 9.20038 2.04061 9.20038 2.39762ZM10.7461 8.01794C9.22044 8.01794 7.98197 6.77947 7.98197 5.25382V2.03499H3.19561C2.53749 2.03499 1.99902 2.57346 1.99902 3.23158V12.8043C1.99902 13.4624 2.53749 14.0009 3.19561 14.0009H12.7683C13.4265 14.0009 13.9649 13.4624 13.9649 12.8043V8.01794H10.7461ZM9.80015 9C9.80015 9.99411 8.99427 10.8 8.00015 10.8C7.00604 10.8 6.20015 9.99411 6.20015 9H5.00015C5.00015 10.6569 6.3433 12 8.00015 12C9.65701 12 11.0002 10.6569 11.0002 9H9.80015Z",fill:d}))}d.displayName="StickerSmall"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r=(0,o.useStateFromStores)([f.default],(function(){return f.default.getGuild(e.guild_id)})),p=(0,s.useCanManageThread)(e),v=(0,s.useCanUnarchiveThread)(e),m=(0,s.useIsThreadModerator)(e);if(!(!0===(null===(t=e.threadMetadata)||void 0===t?void 0:t.archived)?v:p))return;var _=new Date((0,d.default)(e)).toLocaleString(c.default.getLocale(),{month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit"});return(null===(n=e.threadMetadata)||void 0===n?void 0:n.archived)?y(i.MenuItem,{id:"unarchive-thread",label:c.default.Messages.UNARCHIVE_THREAD,action:function(){return l.default.unarchiveThread(e,m)}}):a.createElement(a.Fragment,null,y(i.MenuItem,{id:"archive-thread",label:c.default.Messages.ARCHIVE_THREAD,action:function(){return l.default.archiveThread(e,m)}}),y(i.MenuItem,{id:"auto-archive-thread",label:c.default.Messages.AUTO_ARCHIVE,subtext:c.default.Messages.AUTO_ARCHIVE_THREAD_AT.format({time:_})},void 0,(0,u.getAutoArchiveOptions)(r).map((function(t){var n=t.value,r=t.label;return y(i.MenuItem,{id:String(n),label:r,action:function(){return l.default.setAutoArchiveDuration(e,n)}},n)}))))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(8253),l=p(n(8265)),u=n(8566),s=n(1209),d=p(n(9547)),f=p(n(15)),c=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=u(n(8330)),o=n(8253),i=n(1209),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t;return!(0,i.useCanManageThread)(e)||(null===(t=e.threadMetadata)||void 0===t?void 0:t.archived)?null:d(o.MenuItem,{id:"edit-thread",label:l.default.Messages.EDIT_THREAD,action:function(){return a.default.open(e.id)}})}f.displayName="useThreadEditItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?20:t,r=e.height,a=void 0===r?20:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 20 20"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:f,fill:d,d:"M10 0C4.4764 0 0 4.4764 0 10C0 15.5236 4.4764 20 10 20C15.5236 20 20 15.5236 20 10C20 4.4764 15.5236 0 10 0ZM10 3.6C10.4422 3.6 10.8 3.95781 10.8 4.4V9.5376L14.5625 11.7126C14.9453 11.9329 15.0703 12.4173 14.85 12.8001C14.6297 13.183 14.1453 13.3079 13.7625 13.0876L9.68726 10.7376C9.65601 10.7251 9.62788 10.7048 9.59976 10.6876C9.3607 10.5486 9.19976 10.2954 9.19976 10.0001V4.4001C9.19976 3.9579 9.55781 3.6 10 3.6Z"})))}d.displayName="Clock"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.AttachmentUpload=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=v(n(9)),o=v(n(8794)),i=n(8289),l=v(n(271)),u=v(n(61)),s=v(n(8635)),d=v(n(255)),f=v(n(8376)),c=v(n(6)),p=v(n(7573));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var _=function(e){var t=e.filename,r=(0,i.classifyFileName)(t),a=n(9554)("./icon-file-"+r+".svg");return m("img",{className:p.default.icon,src:a,alt:c.default.Messages.IMG_ALT_ATTACHMENT_FILE_TYPE.format({fileType:r}),title:r})};_.displayName="AttachmentIcon";var h=function(e){var t=e.className,n=e.filename,r=e.size,i=e.progress,l=e.onCancelUpload,f=e.onClick,v=e.onContextMenu,y=100===i,h=!y&&r>0;return m("div",{className:(0,a.default)(p.default.attachment,t)},void 0,m(_,{filename:n}),m("div",{className:p.default.attachmentInner},void 0,m("div",{className:p.default.filenameWrapper},void 0,m(u.default,{className:p.default.filename,onClick:f,onContextMenu:v},void 0,n),h?m("div",{className:p.default.size},void 0,"— "+o.default.filesize(r)):null),m("div",{className:p.default.progressContainer},void 0,y?c.default.Messages.ATTACHMENT_PROCESSING:m(s.default,{className:p.default.progress,percent:i}))),y?null:m(u.default,{onClick:l},void 0,m(d.default,{className:p.default.cancelButton,width:24,height:24})))};t.AttachmentUpload=h,h.displayName="AttachmentUpload";var E=function(e){var t=e.className,n=e.url,r=e.filename,i=e.size,u=e.onClick,s=e.onContextMenu;return m("div",{className:(0,a.default)(p.default.attachment,t)},void 0,m(_,{filename:r}),m("div",{className:p.default.attachmentInner},void 0,m("div",{className:p.default.filenameLinkWrapper},void 0,m(l.default,{className:p.default.fileNameLink,href:n,onClick:u,onContextMenu:s},void 0,r)),m("div",{className:p.default.metadata},void 0,o.default.filesize(i))),m(l.default,{href:n,target:"_blank",rel:"noreferrer noopener",className:p.default.downloadWrapper},void 0,m(f.default,{className:p.default.downloadButton,width:24,height:24})))};E.displayName="Attachment";var g=E;t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=U(n(0)),o=j(n(3)),i=j(n(1234)),l=j(n(478)),u=U(n(8428)),s=j(n(8836)),d=n(1228),f=n(156),c=j(n(1363)),p=j(n(1309)),v=j(n(8499)),y=j(n(1245)),m=n(8596),_=j(n(708)),h=j(n(9580)),E=j(n(8268)),g=j(n(89)),S=j(n(400)),O=j(n(155)),I=j(n(8647)),T=j(n(56)),C=j(n(120)),b=j(n(1255)),M=j(n(12)),N=j(n(8429)),A=j(n(9581)),P=j(n(150)),R=n(263),L=j(n(16)),D=j(n(8257)),w=n(1);function j(e){return e&&e.__esModule?e:{default:e}}function k(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return k=function(){return e},e}function U(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=k();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function G(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function F(){return(F=Object.assign||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}).apply(this,arguments)}function B(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function H(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){B(o,r,a,i,l,"next",e)}function l(e){B(o,r,a,i,l,"throw",e)}i(void 0)}))}}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var V={spotify:"Spotify"},W=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={sending:!1},t.handleJoin=function(){var e=t.props,n=e.activity,r=e.userId,a=e.message,o=e.channelId;null!=n&&null!=r&&null!=a&&null!=n.session_id&&null!=n.application_id&&(l.default.join(r,n.session_id,n.application_id,o,a.id),(0,v.default)(w.AnalyticsGameOpenTypes.JOIN,w.AnalyticsLocations.MESSAGE_EMBED,r,n,a.id))},t.handleInvite=H(regeneratorRuntime.mark((function e(){var n,r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.props,r=n.activity,a=n.channelId,null==r||null==a){e.next=9;break}return e.prev=2,t.setState({sending:!0}),e.next=6,i.default.sendActivityInvite({type:w.ActivityActionTypes.JOIN,channelId:a,activity:r,location:w.AnalyticsLocations.MESSAGE_EMBED});case 6:return e.prev=6,t.setState({sending:!1}),e.finish(6);case 9:case"end":return e.stop()}}),e,null,[[2,,6,9]])}))),t.handleSync=function(){var e=t.props,n=e.activity,r=e.userId;null!=n&&null!=r&&u.sync(n,r)},t.handleDownloadApp=function(){(0,d.showAppDownloadModal)("Game Invite")},t.renderUserPopout=function(e,n){var r=t.props,o=r.channelId,i=r.guildId;return null==o?null:a.createElement(E.default,F({},n,{userId:e.id,guildId:i,channelId:o}))},t.renderSpotifyJoinButton=function(e){var n=t.props,r=n.channelId,o=n.guildId;return a.createElement(h.default,F({guildId:null!=o?o:void 0,channelId:r,source:"Invite Embed"},e))},t.renderCustomButton=function(e){var n=t.props.application;return a.createElement(s.default,F({},e,{source:w.AnalyticsLocations.MESSAGE_EMBED,application:n}))},t.renderEmbed=function(){var e,n=t.props,r=n.activity,a=n.partyId,o=n.myPartyId,i=n.application,l=n.partyMembers,u=n.isPreview,s=n.isLaunching,d=n.isSender,f=n.activityActionType,c=n.className,p=n.channelId,v=n.message,y=n.hideParty,m=n.isSyncable,_=n.isLaunchable,h=n.guildId;if(null!=i)e=i.name;else if(null!=a){var E=a.split(":")[0];e=V[E]}return G(A.default,{activity:r,partyId:a,myPartyId:o,applicationId:null!=i?i.id:null,name:e,partyMembers:l,className:c,coverImage:t.getCoverImage(),isPreview:u,isGameLaunchable:_,isLoading:s||t.state.sending,activityActionType:f,isInBrowser:!L.default.embedded,isSyncable:m,isSender:d,channelId:p,guildId:h||void 0,message:v,hideParty:y,onJoin:t.handleJoin,onInvite:t.handleInvite,onSync:t.handleSync,onDownloadApp:t.handleDownloadApp,onOpenSpotifyTrack:t.handleOpenSpotifyTrack,onOpenSpotifyArtist:t.handleOpenSpotifyArtist,onOpenSpotifyAlbum:t.handleOpenSpotifyAlbum,renderUserPopout:t.renderUserPopout,renderSpotifyJoinButton:t.renderSpotifyJoinButton,renderCustomButton:t.shouldRenderCustomButton()?t.renderCustomButton:null})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,x(t,n);var o=r.prototype;return o.getCoverImage=function(){var e=this.props,t=e.activity,n=e.connectedApplication,r=e.application,a=e.isPreview,o=e.message;if(null!=r&&(a||null!=o&&(0,p.default)(t,o,r.id))){var i=(0,c.default)(t,r.id);if(null!=i)return i}return null!=r?P.default.getApplicationIconURL({id:r.id,icon:null!=n?n.coverImage:r.coverImage,size:f.ACTIVITY_INVITE_COVER_IMAGE_SIZE}):null},o.handleOpenSpotifyTrack=function(e){(0,m.openTrack)(e)},o.handleOpenSpotifyArtist=function(e,t,n){(0,m.openArtist)(e,t,n)},o.handleOpenSpotifyAlbum=function(e,t){(0,m.openAlbum)(e,t)},o.shouldRenderCustomButton=function(){var e=this.props,t=e.isLaunchable,n=e.application;return null!=n&&null!=n.primarySkuId&&!t&&L.default.embedded},o.render=function(){return G(D.default,{section:D.default.Sections.APPLICATION_EMBED},void 0,this.renderEmbed())},r}(a.PureComponent);W.displayName="ActivityInviteEmbedContainer",W.defaultProps={isPreview:!1};var Y=o.default.connectStores([_.default,I.default,b.default,C.default,y.default,O.default,S.default,N.default,M.default,T.default],(function(e){var t=e.activity,n=e.application,r=e.partyId,a=e.userId,o=e.guildId,i=(n||{}).id,l=null!=t&&null!=t.party&&t.party.id===r?I.default.getParty(t.party.id):null,u=i?b.default.getApplicationActivity(i):b.default.findActivity((function(e){return e.type===w.ActivityTypes.LISTENING})),s=!1;null!=i&&(s=N.default.getState(i,w.ActivityActionTypes.JOIN)===w.ActivityActionStates.LOADING);var d=Array.from(l||[]).map((function(e){var t=o?T.default.getMember(o,e):null,n=null!=t?t.nick:null,r=M.default.getUser(e),a=null==r;return null==r&&(r=new g.default({discriminator:"0005"})),{user:r,unknownUser:a,nick:n}})),f=null!=t&&_.default.canPlay(t),c=_.default.getSyncingWith(),p=null!=c&&null!=a&&c.userId===a,v=f&&!p;return{partyMembers:d,connectedApplication:null!=i?S.default.getApplication(i):null,myPartyId:null!=u&&null!=u.party?u.party.id:null,isLaunching:s,isSyncable:v,isLaunchable:null!=i&&(0,R.isLaunchable)(C.default,y.default,O.default,S.default,i)}}))(W);t.default=Y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=O(n(0)),o=n(3),i=g(n(469)),l=g(n(8292)),u=g(n(39)),s=n(29),d=g(n(8518)),f=n(85),c=n(35),p=n(41),v=n(8301),y=O(n(8411)),m=n(8648),_=g(n(9128)),h=g(n(6)),E=g(n(7350));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var T=function(){var e=(0,o.useStateFromStores)([u.default],(function(){return u.default.theme}));return I(l.default,{theme:e,submitting:!1,message:h.default.Messages.MEMBER_VERIFICATION_PROGRESS_LOST_TITLE,onReset:function(){(0,m.setShowWarning)(!1)},onResetText:h.default.Messages.CANCEL,onSave:function(){(0,m.setShowWarning)(!1),(0,p.closeModal)(v.IN_APP_MEMBER_VERIFICATION_MODAL_KEY)},onSaveText:h.default.Messages.MEMBER_VERIFICATION_PROGRESS_LOST_CONTINUE,onSaveButtonColor:s.ButtonColors.RED})};T.displayName="WarnOnCloseNotice";var C=I(T,{}),b=function(e){var t=e.guildId,n=e.transitionState,r=e.onClose,l=e.onComplete,u=e.isPreview,s=void 0!==u&&u,p=(0,m.useMemberVerificationFormNoticeStore)((function(e){return e.shouldShowWarning})),v=(0,o.useStateFromStores)([y.default],(function(){return y.default.get(t)})),h=(0,f.useUID)();return a.useEffect((function(){v===y.NO_MEMBER_VERIFICATION_FORM&&r()}),[r,v]),v===y.NO_MEMBER_VERIFICATION_FORM?null:a.createElement(a.Fragment,null,I(c.ModalRoot,{size:c.ModalSize.MEDIUM,className:E.default.container,transitionState:n,"aria-labelledby":h},void 0,I(c.ModalCloseButton,{onClick:function(){return r(!1)},className:E.default.closeButton}),I(_.default,{guildId:t,onClose:r,onComplete:l,isPreview:s})),I(i.default,{},void 0,!0===p&&I(d.default,{className:E.default.notice},void 0,C)))};t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=E(n(15)),l=E(n(12)),u=E(n(55)),s=n(8301),d=E(n(8411)),f=n(8262),c=E(n(8908)),p=E(n(8909)),v=E(n(8910)),y=E(n(8911)),m=E(n(8912)),_=E(n(8913)),h=n(1);function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(){return(O=Object.assign||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}).apply(this,arguments)}var I=function(e){var t,n,r=e.guildId,E=e.className,g=e.formState,I=e.updateFormState,T=e.isPreview,C=void 0!==T&&T,b=e.requestingUser,M=(0,o.useStateFromStores)([d.default],(function(){return d.default.get(r)})),N=(0,o.useStateFromStores)([i.default],(function(){var e;return null===(e=i.default.getGuild(r))||void 0===e?void 0:e.rulesChannelId})),A=null!==(t=null!=g?g:null==M?void 0:M.formFields)&&void 0!==t?t:[],P=(0,o.useStateFromStores)([i.default],(function(){var e;return null===(e=i.default.getGuild(r))||void 0===e?void 0:e.verificationLevel}),[r]),R=null!=P?P:null==M||null===(n=M.guild)||void 0===n?void 0:n.verification_level,L=(0,o.useStateFromStores)([l.default],(function(){return null!=b?b:l.default.getCurrentUser()}),[b]),D=R===h.VerificationLevels.VERY_HIGH&&!(null==L?void 0:L.isStaff()),w=null!=b,j=!C&&(D?null==L?void 0:L.isPhoneVerified():(null==L?void 0:L.verified)||(null==L?void 0:L.isPhoneVerified())),k=a.useRef(j),U=function(e,t){var n=A[e];I&&I([].concat(A.slice(0,e),[O({},n,{response:t})],A.slice(e+1)))},G=function(e,t,n){switch(e.field_type){case f.VerificationFormFieldTypes.VERIFICATION:return w||!0!==k.current?S(D?y.default:c.default,{passesVerification:j,isPreview:C,isReviewing:w},n):null;case f.VerificationFormFieldTypes.TERMS:return S(m.default,{channelId:N,field:e,isReviewing:w,onChange:function(e,n){return function(e,t){var n=A[e];I&&I([].concat(A.slice(0,e),[O({},n,{response:t})],A.slice(e+1)))}(t,n)}},n);case f.VerificationFormFieldTypes.TEXT_INPUT:return S(_.default,{field:e,isReviewing:w,onChange:function(e){return U(t,e)}},n);case f.VerificationFormFieldTypes.PARAGRAPH:return S(v.default,{field:e,isReviewing:w,onChange:function(e){return U(t,e)}},n);case f.VerificationFormFieldTypes.MULTIPLE_CHOICE:return S(p.default,{field:e,isReviewing:w,onChange:function(e){return function(e,t){var n=t.value,r=A[e];I&&I([].concat(A.slice(0,e),[O({},r,{response:n})],A.slice(e+1)))}(t,e)}},n);default:return null}};return null==M?null:S(u.default,{direction:u.default.Direction.VERTICAL,className:E},void 0,s.REQUIRED_FORM_FIELDS.map((function(e,t){return G(e,t,"required-"+t)})),null==A?void 0:A.map((function(e,t){return G(e,t,"field-"+t)})))};I.displayName="MemberVerificationFormRenderer";var T=I;t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=_(n(9)),i=_(n(363)),l=_(n(8254)),u=_(n(29)),s=_(n(55)),d=_(n(149)),f=_(n(372)),c=_(n(9584)),p=_(n(24)),v=n(1),y=_(n(6)),m=_(n(7345));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(){return(g=Object.assign||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}).apply(this,arguments)}var S=function(e){var t,n,r=e.passesVerification,_=void 0!==r&&r,h=e.isPreview,S=void 0!==h&&h,O=e.isSettingsView,I=void 0!==O&&O,T=e.isReviewing,C=void 0!==T&&T,b=a.useState(!1),M=b[0],N=b[1];a.useEffect((function(){var e;return M&&(e=setTimeout((function(){N(!1)}),2e3)),function(){null!=e&&clearTimeout(e)}}),[M]);var A,P=y.default.Messages.MEMBER_VERIFICATION_FORM_ITEM_EMAIL_VERIFICATION_LABEL;return C||_?P=y.default.Messages.MEMBER_VERIFICATION_EMAIL_VERIFIED:!S&&_?P=y.default.Messages.MEMBER_VERIFICATION_EMAIL_VERIFICATION_ENABLED:I&&(P=y.default.Messages.MEMBER_VERIFICATION_FORM_ITEM_EMAIL_VERIFICATION_SETTINGS_LABEL),A=S?E(d.default,{text:y.default.Messages.MEMBER_VERIFICATION_VERIFICATION_FIELD_SETTINGS_TOOLTIP},void 0,(function(e){return a.createElement(u.default,g({},e,{disabled:!0,size:u.default.Sizes.SMALL,onClick:v.NOOP}),y.default.Messages.VERIFY)})):M?E(s.default,{align:s.default.Align.CENTER,grow:0},void 0,E(p.default,{className:m.default.verifyConfirmText,size:p.default.Sizes.SIZE_14,color:p.default.Colors.STATUS_GREEN},void 0,y.default.Messages.MEMBER_VERIFICATION_EMAIL_VERIFICATION_EMAIL_SENT)):_||C?E(s.default,{align:s.default.Align.CENTER,grow:0},void 0,E(f.default,{className:m.default.verificationCheckmark}),E(p.default,{className:m.default.verifyConfirmText,size:p.default.Sizes.SIZE_14,color:p.default.Colors.STATUS_GREEN},void 0,y.default.Messages.MEMBER_VERIFICATION_VERIFIED)):E(u.default,{disabled:I,size:u.default.Sizes.SMALL,onClick:S?v.NOOP:function(){N(!0),i.default.verifyResend()}},void 0,y.default.Messages.MEMBER_VERIFICATION_EMAIL_VERIFICATION_RESEND_EMAIL),E("div",{className:(0,o.default)((t={},t[m.default.formItem]=!I,t[m.default.settingsFormItem]=I,t))},void 0,E(s.default,{justify:s.default.Justify.BETWEEN,align:s.default.Align.CENTER,className:(0,o.default)(m.default.formFieldWrapper,(n={},n[m.default.settingsFormFieldWrapper]=I||C,n))},void 0,E(s.default,{align:s.default.Align.CENTER},void 0,E(c.default,{className:m.default.verificationIcon}),E(p.default,{size:p.default.Sizes.SIZE_16},void 0,P)),A),I?E(p.default,{color:p.default.Colors.HEADER_SECONDARY,className:m.default.settingsLink},void 0,y.default.Messages.MEMBER_VERIFICATION_FORM_VERIFICATION_SETTINGS.format({onSettingsClick:function(){return l.default.setSection(v.GuildSettingsSections.MODERATION)}})):null)};S.displayName="EmailVerificationField";var O=S;t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=f(n(1162)),l=f(n(474)),u=f(n(159)),s=n(1),d=f(n(7345));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=function(e){var t,n,r=e.field,f=e.onChange,c=void 0===f?s.NOOP:f,v=e.isSettingsView,y=void 0!==v&&v,m=e.isReviewing,_=void 0!==m&&m,h=r.label,E=r.description,g=r.choices,S=r.response,O=a.useMemo((function(){return g.map((function(e,t){return{name:e,value:t}}))}),[g]);return p("div",{className:(0,o.default)((t={},t[d.default.formItem]=!y,t[d.default.settingsFormItem]=y,t))},void 0,p(u.default,{},void 0,h),E&&p(l.default,{},void 0,E),p(i.default,{disabled:y||_,options:O,value:S,onChange:c,radioItemClassName:(0,o.default)((n={},n[d.default.radioItem]=_||y,n))}))};v.displayName="MultipleChoiceField";var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=f(n(9)),o=f(n(8272)),i=f(n(474)),l=f(n(159)),u=n(8301),s=n(1),d=f(n(7345));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=function(e){var t,n=e.field,r=e.onChange,f=void 0===r?s.NOOP:r,c=e.isSettingsView,v=void 0!==c&&c,y=e.isReviewing,m=void 0!==y&&y,_=n.label,h=n.description,E=n.placeholder,g=n.response;return p("div",{className:(0,a.default)((t={},t[d.default.formItem]=!v,t[d.default.settingsFormItem]=v,t))},void 0,p(l.default,{},void 0,_),h&&p(i.default,{},void 0,h),p(o.default,{maxLength:u.MAX_PARAGRAPH_RESPONSE_LENGTH,value:null!=g?g:"",placeholder:E,onChange:f,disabled:v||m,autosize:!0}))};v.displayName="ParagraphField";var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(9)),i=E(n(8254)),l=E(n(8447)),u=n(5831),s=E(n(29)),d=E(n(55)),f=E(n(149)),c=E(n(372)),p=E(n(9587)),v=n(41),y=E(n(24)),m=n(1),_=E(n(6)),h=E(n(7345));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(){return(S=Object.assign||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}).apply(this,arguments)}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var I=function(e){var t,n,r=e.passesVerification,E=void 0!==r&&r,g=e.isSettingsView,I=void 0!==g&&g,T=e.isPreview,C=void 0!==T&&T,b=e.isReviewing,M=void 0!==b&&b,N=function(){(0,v.openModal)((function(e){return a.createElement(l.default,e)}),{modalKey:u.PHONE_VERIFICATION_MODAL_KEY})},A=_.default.Messages.MEMBER_VERIFICATION_FORM_ITEM_PHONE_VERIFICATION_LABEL;return M||E?A=_.default.Messages.MEMBER_VERIFICATION_PHONE_VERIFIED:!C&&E&&(A=_.default.Messages.MEMBER_VERIFICATION_PHONE_VERIFICATION_ENABLED),O("div",{className:(0,o.default)((t={},t[h.default.formItem]=!I,t[h.default.settingsFormItem]=I,t))},void 0,O(d.default,{justify:d.default.Justify.BETWEEN,align:d.default.Align.CENTER,className:(0,o.default)(h.default.formFieldWrapper,(n={},n[h.default.settingsFormFieldWrapper]=I||M,n))},void 0,O(d.default,{align:d.default.Align.CENTER},void 0,O(p.default,{className:h.default.verificationIcon}),O(y.default,{size:y.default.Sizes.SIZE_16},void 0,A)),E||M?O(d.default,{align:d.default.Align.CENTER,grow:0},void 0,O(c.default,{className:h.default.verificationCheckmark}),O(y.default,{className:h.default.verifyConfirmText,size:y.default.Sizes.SIZE_14,color:y.default.Colors.STATUS_GREEN},void 0,_.default.Messages.MEMBER_VERIFICATION_VERIFIED)):O(f.default,{text:I||C?_.default.Messages.MEMBER_VERIFICATION_VERIFICATION_FIELD_SETTINGS_TOOLTIP:null},void 0,(function(e){return a.createElement(s.default,S({},e,{disabled:I||C,size:s.default.Sizes.SMALL,onClick:C?m.NOOP:N}),_.default.Messages.VERIFY)}))),I?O(y.default,{color:y.default.Colors.HEADER_SECONDARY,className:h.default.settingsLink},void 0,_.default.Messages.MEMBER_VERIFICATION_FORM_VERIFICATION_SETTINGS.format({onSettingsClick:function(){return i.default.setSection(m.GuildSettingsSections.MODERATION)}})):null)};I.displayName="PhoneVerificationField";var T=I;t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=p(n(9)),o=p(n(8295)),i=p(n(1160)),l=p(n(474)),u=p(n(159)),s=p(n(24)),d=n(1),f=p(n(6)),c=p(n(7345));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=function(e){var t,n,r=e.channelId,p=e.field,v=e.onChange,m=void 0===v?d.NOOP:v,_=e.isSettingsView,h=void 0!==_&&_,E=e.isReviewing,g=void 0!==E&&E,S=p.label,O=p.description,I=p.values,T=p.response;return y("div",{className:(0,a.default)((t={},t[c.default.formItem]=!h,t[c.default.settingsFormItem]=h,t))},void 0,y(u.default,{},void 0,S),O&&y(l.default,{},void 0,O),!g&&y("div",{className:(0,a.default)(c.default.formFieldWrapper,(n={},n[c.default.settingsFormFieldWrapper]=h||g,n))},void 0,I.map((function(e,t){return y("div",{className:c.default.termsRow},"term-"+t,y(s.default,{size:s.default.Sizes.SIZE_16,color:s.default.Colors.MUTED},void 0,t+1+"."),y(s.default,{size:s.default.Sizes.SIZE_16,className:c.default.termsRowContent},void 0,o.default.parseGuildVerificationFormRule(e,!0,{channelId:r})))}))),y(i.default,{size:20,type:i.default.Types.INVERTED,value:null!=T&&T,onChange:m,disabled:h||g,className:c.default.checkbox},void 0,y(s.default,{className:c.default.checkboxText,size:s.default.Sizes.SIZE_16},void 0,f.default.Messages.MEMBER_VERIFICATION_READ_RULES)))};m.displayName="TermsField";var _=m;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=f(n(9)),o=f(n(153)),i=f(n(474)),l=f(n(159)),u=n(8301),s=n(1),d=f(n(7345));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=function(e){var t,n=e.field,r=e.onChange,f=void 0===r?s.NOOP:r,c=e.isSettingsView,v=void 0!==c&&c,y=e.isReviewing,m=void 0!==y&&y,_=n.label,h=n.description,E=n.placeholder,g=n.response;return p("div",{className:(0,a.default)((t={},t[d.default.formItem]=!v,t[d.default.settingsFormItem]=v,t))},void 0,p(l.default,{},void 0,_),h&&p(i.default,{},void 0,h),p(o.default,{maxLength:u.MAX_TEXT_RESPONSE_LENGTH,value:null!=g?g:"",placeholder:E,onChange:f,disabled:v||m}))};v.displayName="TextInputField";var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LurkerModeUpsellPopoutTypes=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(3),l=E(n(199)),u=E(n(8398)),s=E(n(29)),d=E(n(282)),f=n(85),c=E(n(47)),p=E(n(24)),v=n(48),y=E(n(182)),m=n(1),_=E(n(6)),h=E(n(7374));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}t.LurkerModeUpsellPopoutTypes=a,function(e){e[e.CHAT=0]="CHAT",e[e.REACTIONS=1]="REACTIONS"}(a||(t.LurkerModeUpsellPopoutTypes=a={}));var I=function(e){var t=e.type,r=e.guild,E=e.closePopout,g=(0,f.useUID)(),I=o.useState(!1),T=I[0],C=I[1],b=(0,i.useStateFromStores)([y.default],(function(){return y.default.isLurking(r.id)}),[r.id]),M=r.hasFeature(m.GuildFeatures.MEMBER_VERIFICATION_GATE_ENABLED)&&r.hasFeature(m.GuildFeatures.COMMUNITY);o.useEffect((function(){T&&!b&&E()}),[T,b,E]);var N=null,A=_.default.Messages.LURKER_MODE_POPOUT_UPSELL_BODY;switch(t){case a.CHAT:N=_.default.Messages.LURKER_MODE_POPOUT_CHAT_HEADER;break;case a.REACTIONS:N=_.default.Messages.LURKER_MODE_POPOUT_REACTIONS_HEADER;break;default:return(0,v.assertNever)(t)}if(null==N)return null;var P=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return C(!0),e.prev=1,e.next=4,l.default.joinGuild(r.id,!1,m.JoinGuildSources.CHAT_INPUT_BLOCKER);case 4:n=e.sent,M&&null!=(null===(t=n.body)||void 0===t?void 0:t.member_verification_form)&&(E(),(0,u.default)(r.id)),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),C(!1);case 11:case"end":return e.stop()}}),e,null,[[1,8]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){O(o,r,a,i,l,"next",e)}function l(e){O(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();return S(d.default,{className:h.default.container,"aria-labelledby":g},void 0,S("img",{alt:"",className:h.default.image,src:n(8915)}),S("div",{className:h.default.content},void 0,S(c.default,{size:c.default.Sizes.SIZE_16,id:g},void 0,N),S(p.default,{color:p.default.Colors.HEADER_SECONDARY},void 0,A),S("div",{className:h.default.buttonContainer},void 0,S(s.default,{onClick:P,submitting:T},void 0,_.default.Messages.LURKER_MODE_POPOUT_JOIN),S(s.default,{onClick:E,look:s.default.Looks.BLANK,className:h.default.cancel},void 0,_.default.Messages.LURKER_MODE_POPOUT_CANCEL))))};I.displayName="LurkerModeUpsellPopout";var T=I;t.default=T},function(e,t,n){e.exports=n.p+"01ae13d7aba8e6c7812c608d17a35ffb.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(3)),a=c(n(2)),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(1235)),i=c(n(182)),l=c(n(89)),u=c(n(10)),s=c(n(12)),d=n(1);function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v={},y=function(){function e(){this.fetched=!1,this.users={}}return e.ensure=function(t,n){var r=t+":"+n.name+":"+(n.id||"");return v[r]=v[r]||new e},e}();function m(e){var t=e.type,n=e.messageId,r=e.userId,a=e.emoji,o=y.ensure(n,a);if(t===d.ActionTypes.MESSAGE_REACTION_ADD){var i=s.default.getUser(r);i&&(o.users[r]=i)}else delete o.users[r]}var _=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n),r.prototype.getReactions=function(e,t,n,r){var a=y.ensure(t,n);if(!a.fetched){var l=u.default.getChannel(e),s=null!=l?l.getGuildId():null;if(null!=s&&i.default.isLurking(s))return;o.getReactions(e,t,n,r),a.fetched=!0}return a.users},r}(r.default.Store))(a.default,{CONNECTION_OPEN:function(e){v={}},MESSAGE_REACTION_ADD:m,MESSAGE_REACTION_REMOVE:m,MESSAGE_REACTION_ADD_USERS:function(e){var t=e.messageId,n=e.users,r=e.emoji,a=y.ensure(t,r);n.forEach((function(e){return a.users[e.id]=new l.default(e)}))}});t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=s(n(8)),l=s(n(273)),u=s(n(161));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){return{toValue:e,duration:300,easing:l.default.Easing.inOut(l.default.Easing.back())}}!function(e){e[e.ABOVE=0]="ABOVE",e[e.VISIBLE=1]="VISIBLE",e[e.BELOW=2]="BELOW"}(a||(a={}));var y=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).animateNext=function(){var e=n.state,t=e.currValue,r=e.nextValue;null!=r?n.setState({prevValue:u.default.isFocused()?t:null,currValue:r,nextValue:null}):n.setState({prevValue:null})},n.state={prevValue:null,currValue:t.value,nextValue:null},n.prevAnimate=new l.default.Value(a.ABOVE),n.currAnimate=new l.default.Value(a.VISIBLE),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n),r.getDerivedStateFromProps=function(e,t){var n=t.prevValue,r=t.currValue,a=t.nextValue;return null==n&&r!==e.value?{prevValue:u.default.isFocused()?r:null,currValue:e.value}:null!=a&&a!==e.value?{nextValue:e.value}:null};var s=r.prototype;return s.componentDidUpdate=function(e,t){var n=this.state,r=n.prevValue,a=n.currValue;r!==t.prevValue&&null!=r&&this.animateBetween(r,a)},s.animateBetween=function(e,t){var n,r=this.props.forcePosition;this.prevAnimate.setValue(a.VISIBLE),null!=r?r===a.ABOVE?(this.currAnimate.setValue(a.ABOVE),n=a.BELOW):r===a.BELOW&&(this.currAnimate.setValue(a.BELOW),n=a.ABOVE):e>t?(this.currAnimate.setValue(a.ABOVE),n=a.BELOW):(this.currAnimate.setValue(a.BELOW),n=a.ABOVE),l.default.parallel([l.default.timing(this.prevAnimate,v(n)),l.default.timing(this.currAnimate,v(a.VISIBLE))]).start(this.animateNext)},s.getAnimatedStyle=function(e){return{transform:[{translateY:e.interpolate({inputRange:[0,1,2],outputRange:["-100%","0%","100%"]})}],position:"absolute",top:0,left:0,right:0,bottom:0}},s.getMinWidth=function(e){var t=this.props,n=t.digitWidth,r=t.padStartLength;if(null!=n){var a=Math.ceil(Math.log10(e+1));return r?Math.min(a,r)*n:a*n}},s.padValue=function(e){var t=this.props.padStartLength;return null!=t?String(e).padStart(t,"0"):e},s.render=function(){var e=this.state,t=e.prevValue,n=e.currValue,r=i.default.omit(this.props,["value","digitWidth","padStartLength","forcePosition"]);if(null==t)return o.createElement("div",c({},r,{style:{minWidth:this.getMinWidth(n)}}),this.padValue(n));var a=Math.max(t,n);return o.createElement("div",c({},r,{style:{position:"relative",overflow:"hidden"}}),f("div",{style:{visibility:"hidden",minWidth:this.getMinWidth(a)}},void 0,this.padValue(a)),f(l.default.div,{style:this.getAnimatedStyle(this.prevAnimate)},void 0,this.padValue(t)),f(l.default.div,{style:this.getAnimatedStyle(this.currAnimate)},void 0,this.padValue(n)))},r}(o.PureComponent);t.default=y,y.displayName="AnimatedCounter",y.Positions=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=h(n(0)),o=m(n(9)),i=n(123),l=m(n(8264)),u=m(n(278)),s=h(n(150)),d=n(121),f=m(n(8443)),c=n(8442),p=m(n(8641)),v=n(1),y=m(n(7341));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e,t,r,a,i,l,u,d){var f,c,p,m=t.guildMemberAvatar,_=e.author;e.type===v.MessageTypes.APPLICATION_COMMAND&&null==_.avatar&&null!=e.application?c=null!=(null===(p=e.application)||void 0===p?void 0:p.icon)?s.default.getApplicationIconURL({id:e.application.id,icon:e.application.icon}):n(1321):c=null!=m&&null!=a?(0,s.getGuildMemberAvatarURLSimple)({guildId:a,userId:_.id,avatar:m,canAnimate:r}):_.getAvatarURL(void 0,r);return E("img",{src:c,onClick:i,onContextMenu:l,onMouseDown:u,onKeyDown:d,"aria-hidden":!0,className:(0,o.default)((f={},f[y.default.avatar]=!0,f[y.default.clickable]=null!=i,f)),alt:" "})}g.displayName="renderAvatar";var S=function(e){var t=e.message,n=e.repliedMessage,r=e.compact,o=void 0!==r&&r,m=e.renderPopout,_=e.showTimestampOnHover,h=a.useMemo((function(){return null!=m?function(e){return m(e,t)}:void 0}),[m,t]),S=function(e,t,n){var r,o=e.message,f=e.author,c=e.compact,p=void 0!==c&&c,y=e.subscribeToGroupId,m=e.animate,_=void 0===m||m,h=e.onContextMenu,S=e.onClickAvatar,O=e.onPopoutRequestClose,I=e.showAvatarPopout,T=a.useState(!1),C=T[0],b=T[1],M=a.useContext(i.AccessibilityPreferencesContext).reducedMotion,N=null!==(r=f.guildMemberAvatar)&&void 0!==r?r:o.author.avatar,A=(0,s.isAnimatedIconHash)(N),P=!M.enabled&&(null!=y?C:_),R=o.author.id;if(a.useEffect((function(){if(A&&null!=y)return d.ComponentDispatch.subscribe(v.ComponentActions.ANIMATE_CHAT_AVATAR(y+":"+R),b),function(){d.ComponentDispatch.unsubscribe(v.ComponentActions.ANIMATE_CHAT_AVATAR(y+":"+R),b)}}),[R,A,y]),!p)return null!=n&&null!=I?E(u.default,{preload:o.author.bot?void 0:function(){return(0,l.default)(o.author.id,null!=f.guildMemberAvatar&&null!=t?(0,s.getGuildMemberAvatarURLSimple)({guildId:t,userId:o.author.id,avatar:f.guildMemberAvatar}):o.author.getAvatarURL(void 0))},renderPopout:n,shouldShow:I,position:u.default.Positions.RIGHT,onRequestClose:O},void 0,(function(e){return g(o,f,P,t,S,h,e.onMouseDown,e.onKeyDown)})):g(o,f,P,t,S,h)}(e,e.guildId,h),O=function(e,t){var n=e.message,r=e.author,o=e.compact,i=void 0!==o&&o,l=e.onContextMenu,u=e.showUsernamePopout,s=e.onClickUsername,d=e.onPopoutRequestClose;return a.createElement(a.Fragment,null,E(p.default,{message:n,author:r,compact:i,showPopout:u,renderPopout:t,onClick:s,onContextMenu:l,onPopoutRequestClose:d}),i&&a.createElement(a.Fragment,null,E("i",{className:y.default.separator},void 0,":")," "))}(e,h),I=n?(0,c.repliedMessageElementId)(t):void 0;return a.createElement(a.Fragment,null,S,E("h2",{className:y.default.header,"aria-describedby":I},void 0,o&&E(f.default,{compact:!0,timestamp:t.timestamp,isVisibleOnlyOnHover:_,isInline:!1}),E("span",{className:y.default.headerText},void 0,O),!o&&E(f.default,{timestamp:t.timestamp})))};t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(3)),a=p(n(28)),o=p(n(2)),i=p(n(106)),l=p(n(9594)),u=p(n(1323)),s=p(n(9596)),d=p(n(9597)),f=p(n(9598)),c=n(1);function p(e){return e&&e.__esModule?e:{default:e}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(){return(y=Object.assign||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}).apply(this,arguments)}var m=[{type:c.ChannelNoticeTypes.MFA_WARNING,store:s.default},{type:c.ChannelNoticeTypes.INVITE,store:d.default},{type:c.ChannelNoticeTypes.QUICKSWITCHER,store:u.default},{type:c.ChannelNoticeTypes.PREMIUM_GUILD_SUBSCRIPTIONS_GUILD_AFFINITY,store:l.default},{type:c.ChannelNoticeTypes.PREMIUM_GUILD_SUBSCRIPTIONS,store:f.default}],_={},h=0,E=!1,g=0;function S(){a.default.set("channelNotices",_),a.default.set("lastHiddenChannelNotice",h)}var O=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var o=r.prototype;return o.initialize=function(){var e=a.default.get("channelNotices")||{};h=a.default.get("lastHiddenChannelNotice")||0,Object.keys(c.ChannelNoticeTypes).forEach((function(e){return _[e]=!0})),Object.keys(e).forEach((function(t){_[t]&&"boolean"==typeof e[t]&&(_[t]=e[t])})),S(),this.waitFor.apply(this,m.map((function(e){return e.store})))},o.getNotice=function(e){var t=this.getState(),n=t.noticeStates,r=t.lastHidden;return E&&null!=e?m.find((function(t){var a=t.store,o=t.type;return a.channelNoticePredicate(n[o],e,r)})):null},o.getState=function(){return E?{noticeStates:_,lastHidden:h}:{noticeStates:{},lastHidden:0}},o.shouldShowInviteNotice=function(){return a.default.get("showInviteNotice")||!1},o.getVersion=function(){return g},r}(r.default.Store))(o.default,{CONNECTION_OPEN:function(e){return E=!0,void(g+=1)},CONNECTION_CLOSED:function(e){return E=!1,void(g+=1)},CHANNEL_NOTICE_HIDE:function(e){var t=e.noticeType,n=e.suppressAnalyticsTracking;_[t]=!1,_=y({},_),t!==c.ChannelNoticeTypes.MFA_WARNING&&(h=Date.now()),S(),n||i.default.trackWithMetadata(c.AnalyticEvents.CHANNEL_NOTICE_CLOSED,{notice_type:t}),g+=1}});t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 32 32"}),s("path",{fill:d,className:f,fillRule:"evenodd",clipRule:"evenodd",d:"M16.5 1.46002L24.62 9.58002L20.62 11.23L16.5 7.12002V1.46002ZM11 12.16L7 10.5V21.42L11 19.76V12.16ZM16.5 24.8001V30.4601L24.62 22.3401L20.62 20.6801L16.5 24.8001ZM15.5 7.12004V1.46004L7.38 9.58004L11.38 11.23L15.5 7.12004ZM15.5 30.46L7.38 22.34L11.38 20.68L15.5 24.8V30.46ZM21 19.76L25 21.42V10.5L21 12.16V19.76ZM16 8.03003L20 12.03V19.89L16 23.89L12 19.89V12.03L16 8.03003Z"}))}d.displayName="PremiumGuildTier2"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPerkIcon=function(e,t){if(t)return{icon:a.default,className:v.default.unlocked};switch(e){case p.PerkIcons.EMOJI:return{icon:o.default,className:(0,r.default)(v.default.icon,v.default.emoji)};case p.PerkIcons.AUDIO:return{icon:i.default,className:(0,r.default)(v.default.icon,v.default.audio)};case p.PerkIcons.ANIMATED:return{icon:l.default,className:(0,r.default)(v.default.icon,v.default.animated)};case p.PerkIcons.CUSTOMIZATION:return{icon:u.default,className:(0,r.default)(v.default.icon,v.default.customization)};case p.PerkIcons.UPLOAD:return{icon:c.default,className:(0,r.default)(v.default.icon,v.default.upload)};case p.PerkIcons.VANITY:return{icon:s.default,className:(0,r.default)(v.default.icon,v.default.vanity)};case p.PerkIcons.STREAM:return{icon:f.default,className:(0,r.default)(v.default.icon,v.default.stream)};case p.PerkIcons.STICKER:return{icon:d.default,className:(0,r.default)(v.default.icon,v.default.sticker)}}throw new Error("Unexpected perk icon "+e)};var r=y(n(9)),a=y(n(372)),o=y(n(5954)),i=y(n(1240)),l=y(n(8885)),u=y(n(9604)),s=y(n(8625)),d=y(n(8627)),f=y(n(5955)),c=y(n(5980)),p=n(5935),v=y(n(7593));function y(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Steps=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=L();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=R(n(480)),l=R(n(23)),u=n(3),s=n(5946),d=n(6004),f=R(n(5673)),c=R(n(15)),p=R(n(8568)),v=R(n(361)),y=R(n(5832)),m=R(n(29)),_=R(n(61)),h=R(n(371)),E=R(n(6005)),g=R(n(5942)),S=n(85),O=n(35),I=R(n(47)),T=R(n(24)),C=R(n(13)),b=n(5935),M=R(n(9606)),N=n(1),A=R(n(6)),P=R(n(7597));function R(e){return e&&e.__esModule?e:{default:e}}function L(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return L=function(){return e},e}function D(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function w(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}t.Steps=a,function(e){e.UNUSED_QUANTITY_SELECT="UNUSED_QUANTITY_SELECT",e.GUILD_SELECT="GUILD_SELECT",e.CONFIRM="CONFIRM",e.SUCCESS="SUCCESS"}(a||(t.Steps=a={}));var j=function(e){var t,n,r,R=e.userPremiumGuildSubscriptionSlots,L=e.selectedGuild,j=e.locationSection,k=e.transitionState,U=e.onClose,G=(0,b.getAvailableUserPremiumGuildSubscriptionSlots)(y.default.slots);(0,l.default)(null!=R||null!=L,"Must either provide slots or an initial selected guild"),(0,l.default)(!(null==R?void 0:R.some((function(e){return e.isOnCooldown()}))),"If slots are provided, they must not be on cooldown");var F=[null==R?a.UNUSED_QUANTITY_SELECT:null,null==L?a.GUILD_SELECT:null,a.CONFIRM,a.SUCCESS].filter((function(e){return null!=e})),B=(0,u.useStateFromStores)([v.default],(function(){return v.default.getFlattenedGuilds()})),H=(0,u.useStateFromStoresArray)([p.default],(function(){return[p.default.isModifyingSubscription,p.default.subscribeError]})),x=H[0],V=H[1],W=o.useState(""),Y=W[0],z=W[1],K=o.useState(F[0]),$=K[0],Z=K[1],q=o.useState(!1),X=q[0],J=q[1],Q=o.useState(L),ee=Q[0],te=Q[1],ne=o.useState(null!=R?R:G.slice(0,1)),re=ne[0],ae=ne[1],oe=o.useMemo((function(){return null==re?[]:re.map((function(e){var t=e.premiumGuildSubscription;return c.default.getGuild(null==t?void 0:t.guildId)})).filter((function(e){return null!=e}))}),[re]),ie=o.useMemo((function(){var e;return null!=(null==re||null===(e=re[0])||void 0===e?void 0:e.premiumGuildSubscription)}),[re]),le=function(){U($===a.SUCCESS),C.default.track(N.AnalyticEvents.MODAL_DISMISSED,{type:N.AnalyticsSections.PREMIUM_GUILD_SUBSCRIBE_MODAL,location_section:j})},ue=((t={})[a.UNUSED_QUANTITY_SELECT]={body:function(){return(0,l.default)(!(null==R&&0===G.length),"Cannot provide no slots if there are no other available slots"),w("div",{className:P.default.quantitySelectorBody},void 0,w(I.default,{size:I.default.Sizes.SIZE_16,className:P.default.quantitySelectorHeader},void 0,A.default.Messages.PREMIUM_GUILD_SUBSCRIBE_UNUSED_SLOTS_HEADER),w(T.default,{size:T.default.Sizes.SIZE_16,className:P.default.quantitySelectorDescription},void 0,A.default.Messages.PREMIUM_GUILD_SUBSCRIBE_UNUSED_SLOTS_DESCRIPTION),w("div",{className:P.default.quantitySelectorWrapper},void 0,w(E.default,{value:re.length,onChange:function(e){return ae(G.slice(0,e))},minValue:1,maxValue:G.length}),w(T.default,{className:P.default.quantitySelectorLabel,size:T.default.Sizes.SIZE_16},void 0,A.default.Messages.PREMIUM_GUILD_SUBSCRIBE_UNUSED_SLOTS_COUNTER)))},footer:function(){return w(O.ModalFooter,{},void 0,w(m.default,{onClick:function(){return Z(a.CONFIRM)}},void 0,A.default.Messages.PREMIUM_GUILD_SUBSCRIBE_UNUSED_SLOTS_NEXT),w(m.default,{look:m.default.Looks.LINK,color:m.default.Colors.PRIMARY,onClick:le},void 0,A.default.Messages.PREMIUM_GUILD_SUBSCRIBE_UNUSED_SLOTS_CANCEL))}},t[a.GUILD_SELECT]={header:function(e){return w(O.ModalHeader,{className:P.default.selectHeaderContainer,id:e},void 0,w(I.default,{className:P.default.selectHeader,size:I.default.Sizes.SIZE_16},void 0,ie?A.default.Messages.PREMIUM_GUILD_SUBSCRIBE_SELECT_GUILD_TRANSFER_HEADER:A.default.Messages.PREMIUM_GUILD_SUBSCRIBE_SELECT_GUILD_HEADER),w(g.default,{size:g.default.Sizes.MEDIUM,placeholder:A.default.Messages.PREMIUM_GUILD_SUBSCRIBE_SEARCH_GUILD_PLACEHOLDER,className:P.default.selectSearch,query:Y,onChange:z,onClear:function(){return z("")}}))},bodyClass:P.default.selectContent,body:function(){return B.filter((function(e){return!oe.some((function(t){return t.id===e.id}))&&(Y.length<=0||(0,i.default)(Y.toLowerCase(),e.name.toLowerCase()))})).map((function(e){return w(_.default,{className:P.default.selectGuild,onClick:function(){te(e),Z(a.CONFIRM)}},e.id,w(h.default,{guild:e,size:h.default.Sizes.SMALL}),w(T.default,{className:P.default.selectGuildName,size:T.default.Sizes.SIZE_16},void 0,e.name))}))}},t[a.CONFIRM]={body:function(){if(null==ee)return null;var e=re.filter((function(e){return e.canceled})).length,t=re.length,n=oe.length;return ie?w(M.default.TransferBody,{fromGuilds:oe,toGuild:ee,blurb:A.default.Messages.PREMIUM_GUILD_SUBSCRIBE_CONFIRM_TRANSFER_BLURB.format({slotCount:t,guildCount:n}),imageClass:P.default.transferConfirmImage,error:X?V:null,onDismissError:function(){return J(!1)},slotCount:t,canceledCount:e}):w(M.default.SubscribeBody,{guild:ee,blurb:A.default.Messages.PREMIUM_GUILD_SUBSCRIBE_CONFIRM_BLURB,warning:A.default.Messages.PREMIUM_GUILD_SUBSCRIBE_CONFIRM_COOLDOWN_WARNING.format({days:N.PREMIUM_GUILD_SUBSCRIBE_COOLDOWN_DAYS,slotCount:t}),imageClass:P.default.confirmImage,error:X?V:null,onDismissError:function(){return J(!1)},slotCount:t,canceledCount:e})},footer:function(){var e=re.length,t=F[0]===a.CONFIRM?le:function(){return Z(F[F.indexOf($)-1])},n=function(){var e,t=(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=ee&&0!==(null==re?void 0:re.length)){e.next=2;break}return e.abrupt("return");case 2:return(0,l.default)(!re.some((function(e){return e.isOnCooldown()})),"Cannot use a premium guild subscription slot while on cooldown"),e.prev=3,e.next=6,Promise.all(re.map((function(e){var t=e.premiumGuildSubscription;return null!=t?(0,s.unsubscribeFromGuild)(t.guildId,t.id):Promise.resolve()})));case 6:return e.next=8,(0,s.subscribeToGuild)(ee.id,re.map((function(e){return e.id})));case 8:Z(a.SUCCESS),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(3),J(!0);case 14:case"end":return e.stop()}}),e,null,[[3,11]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){D(o,r,a,i,l,"next",e)}function l(e){D(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();return w(M.default.Footer,{confirmation:ie?A.default.Messages.PREMIUM_GUILD_SUBSCRIBE_TRANSFER_CONFIRM_CONFIRMATION.format({slotCount:e}):A.default.Messages.PREMIUM_GUILD_SUBSCRIBE_CONFIRM_CONFIRMATION.format({slotCount:e}),confirmationLabel:ie?A.default.Messages.PREMIUM_GUILD_SUBSCRIBE_TRANSFER_CONFIRM_CONFIRMATION_LABEL.format({slotCount:e}):A.default.Messages.PREMIUM_GUILD_SUBSCRIBE_CONFIRM_CONFIRMATION_LABEL.format({slotCount:e}),onConfirm:n,onCancel:t,isModifyingSubscription:x})}},t[a.SUCCESS]={body:function(){return w(d.PremiumGuildSubscriptionConfirmation,{guild:ee,isTransfer:ie,guildSubscriptionQuantity:re.length,onClose:le})}},t);o.useEffect((function(){C.default.track(N.AnalyticEvents.OPEN_MODAL,{type:N.AnalyticsSections.PREMIUM_GUILD_SUBSCRIBE_MODAL,location_section:j})}),[j]);var se=ue[$],de=(0,S.useUID)();return w(O.ModalRoot,{transitionState:k,className:P.default.modal,size:O.ModalSize.SMALL,"aria-labelledby":de},void 0,null===(n=se.header)||void 0===n?void 0:n.call(se,de),w(O.ModalContent,{className:se.bodyClass},void 0,w(f.default,{step:$,steps:F},void 0,se.body())),null===(r=se.footer)||void 0===r?void 0:r.call(se),w(O.ModalCloseButton,{className:P.default.modalCloseButton,onClick:le}))};j.displayName="PremiumGuildSubscribeModal";var k=j;t.default=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(35),i=n(698),l=d(n(9131)),u=d(n(6)),s=d(n(7604));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.channel,n=e.onClose,r=e.transitionState;return a.useEffect((function(){(0,i.trackThreadBrowserOpened)()}),[]),c(o.ModalRoot,{className:s.default.modal,transitionState:r,"aria-label":u.default.Messages.THREADS,size:o.ModalSize.DYNAMIC},void 0,c(l.default,{className:s.default.browser,channel:t,onClose:n}))}p.displayName="ThreadBrowserModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=c(n(29)),o=c(n(8750)),i=c(n(8287)),l=c(n(47)),u=c(n(24)),s=n(1209),d=c(n(6)),f=c(n(7602));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=v(i.default,{width:36,height:36});function m(e){var t=e.channel,n=e.header,r=e.startThread,i=(0,s.useCanStartPublicThread)(t),c=(0,s.useCanStartPrivateThread)(t);return v("div",{className:f.default.container},void 0,v("div",{className:f.default.iconContainer},void 0,v("div",{className:f.default.icon},void 0,y),v(o.default,{className:f.default.stars})),v(l.default,{className:f.default.header,size:l.default.Sizes.SIZE_24},void 0,n),v(u.default,{color:u.default.Colors.HEADER_SECONDARY,size:u.default.Sizes.SIZE_16},void 0,d.default.Messages.THREAD_BROWSER_EMPTY_STATE_SUBTEXT),i||c?v(a.default,{className:f.default.cta,onClick:r},void 0,d.default.Messages.CREATE_THREAD):null)}m.displayName="ThreadBrowserEmptyState"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(389),l=h(n(199)),u=h(n(8397)),s=h(n(10)),d=h(n(12)),f=h(n(61)),c=h(n(47)),p=h(n(8393)),v=n(392),y=h(n(1360)),m=h(n(8658)),_=h(n(7375));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(){return(S=Object.assign||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}).apply(this,arguments)}var O=a.memo((function(e){var t=e.threadId,n=e.type,r=e.gotoThread,l=(0,o.useStateFromStores)([s.default],(function(){return s.default.getChannel(t)}));return g(f.default,{className:_.default.container,onClick:function(e){return r(l,e.shiftKey)},onContextMenu:function(e){return(0,i.openContextMenu)(e,(function(e){return a.createElement(u.default,S({},e,{channel:l}))}))}},void 0,g("div",{className:_.default.left},void 0,g(c.default,{className:_.default.threadName,size:c.default.Sizes.SIZE_16},void 0,l.name),(0,m.default)(l,n)),g(I,{channel:l}))}));function I(e){var t=e.channel,n=(0,o.useStateFromStores)([y.default],(function(){return y.default.getMemberIdsPreview(t.id)||[]})),r=(0,o.useStateFromStores)([y.default],(function(){var e;return null!==(e=y.default.getMemberCount(t.id))&&void 0!==e?e:0})),i=(0,o.useStateFromStoresArray)([d.default],(function(){return n.map((function(e){return d.default.getUser(e)}))}));return a.useEffect((function(){var e=n.filter((function(e,t){return null==i[t]}));e.length>0&&l.default.requestMembersById(t.guild_id,e)}),[]),0===n.length?null:g(p.default,{className:_.default.facepile,showDefaultAvatarsForNullUsers:!0,guildId:t.guild_id,users:i,count:r,max:v.MAX_THREAD_MEMBERS_PREVIEW})}t.default=O,I.displayName="Facepile"},function(e,t,n){e.exports=n.p+"0c9615349350c4185381d58c69b88cbc.svg"},function(e,t,n){e.exports=n.p+"d6ad2a5e5abb35e5fb3cb43e1c9c3b27.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openUserContextMenu=function(e,t,n){if(n.isGroupDM())(0,a.openContextMenu)(e,(function(e){return r.createElement(i.default,d({},e,{user:t,channel:n}))}));else if(n.isDM())(0,a.openContextMenu)(e,(function(e){return r.createElement(o.default,d({},e,{user:t,channel:n,showMute:!1}))}));else{var u=n.getGuildId();if(null==u)return;(0,a.openContextMenu)(e,(function(e){return r.createElement(l.default,d({},e,{user:t,channelId:n.id,guildId:u}))}))}};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(389),o=u(n(8476)),i=u(n(8930)),l=u(n(8322));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,a.useStateFromStores)([s.default],(function(){return s.default.getId()===e}),[e]),r=(0,a.useStateFromStoresArray)([l.default],(function(){return[l.default.getParticipants(t),l.default.getParticipant(t,e)]}),[t,e]),f=r[0],c=r[1];if(n||0===f.length)return null;if(null==c)return p(u.MenuItem,{id:"ring",label:d.default.Messages.RING,action:function(){return o.default.ring(t,[e])}});if(c.type===i.ParticipantTypes.USER&&c.ringing)return p(u.MenuItem,{id:"stop-ringing",label:d.default.Messages.STOP_RINGING,action:function(){return o.default.stopRinging(t,[e])}});return null};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=f(n(728)),i=n(691),l=f(n(688)),u=n(8253),s=f(n(11)),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=j;D(n(0));var r,a=n(389),o=R(n(8257)),i=n(286),l=R(n(8323)),u=R(n(8500)),s=R(n(8258)),d=D(n(8253)),f=R(n(8430)),c=R(n(11)),p=R(n(8378)),v=R(n(8379)),y=R(n(8380)),m=R(n(8340)),_=R(n(8384)),h=R(n(8385)),E=R(n(8607)),g=R(n(8386)),S=R(n(8505)),O=R(n(8343)),I=R(n(9651)),T=R(n(8929)),C=R(n(8387)),b=R(n(8324)),M=R(n(8407)),N=R(n(8388)),A=n(1),P=R(n(6));function R(e){return e&&e.__esModule?e:{default:e}}function L(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return L=function(){return e},e}function D(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=L();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function w(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function j(e){var t=e.user,n=e.channel,r=e.target,R=e.context,L=e.showChatItems,D=void 0===L||L,j=e.showMediaItems,k=void 0!==j&&j,U=e.showChannelCallItems,G=void 0!==U&&U,F=e.showModalItems,B=void 0===F||F,H=e.analyticsContext,x=e.onSelect,V=(0,b.default)(t.id,null,R),W=(0,S.default)(t,null,R),Y=(0,T.default)(t.id,n.id),z=(0,O.default)(t.id,R),K=(0,h.default)(t,R),$=(0,y.default)({user:t,channelId:n.id,target:r,context:R}),Z=(0,v.default)(t),q=(0,M.default)(t.id),X=(0,I.default)(t.id,n.id),J=(0,C.default)(t.id),Q=(0,E.default)(t.id,n.id),ee=(0,m.default)(i.ApplicationCommandTarget.USER,n.id),te=(0,g.default)(t),ne=(0,l.default)(null,t),re=(0,p.default)(t),ae=(0,_.default)(t),oe=(0,s.default)(t.id),ie=(0,N.default)(t.id),le=(0,u.default)(n.id),ue=(0,f.default)(t);if(c.default.isGuest()||t.isNonUserBot())return null;var se=n.isManaged();return w(o.default,{context:H,object:A.AnalyticsObjects.CONTEXT_MENU},void 0,w(d.default,{navId:"user-context",onClose:a.closeContextMenu,"aria-label":P.default.Messages.USER_ACTIONS_MENU_LABEL,onSelect:x},void 0,w(d.MenuGroup,{},void 0,ue),w(d.MenuGroup,{},void 0,B&&V,D&&W,z,K,!se&&Y,B&&$,B&&Z,ie),k&&w(d.MenuGroup,{},void 0,q),w(d.MenuGroup,{},void 0,!se&&X),w(d.MenuGroup,{},void 0,B&&ne),w(d.MenuGroup,{},void 0,k&&J,k&&Q,ee,B&&te,re,B&&ae),G&&w(d.MenuGroup,{},void 0,le),w(d.MenuGroup,{},void 0,oe)))}j.displayName="GroupDMUserContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){return e.type!==f.MessageTypes.REPLY||null==t?null:v(y,{baseMessage:e,referencedMessage:n,compact:r})};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(706),l=c(n(70)),u=c(n(8442)),s=c(n(8361)),d=n(682),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=a.memo((function(e){var t=e.baseMessage,n=e.referencedMessage,r=e.compact,f=void 0!==r&&r,c=n.state===i.ReferencedMessageState.LOADED?n.message:void 0,p=a.useMemo((function(){return null!=c&&c.content?(0,s.default)(c,{formatInline:!0}).content:null}),[c]),y=(0,o.useStateFromStores)([l.default],(function(){return null!=c&&l.default.isBlocked(c.author.id)}),[c]),m=(0,d.useNullableMessageAuthor)(c),_=(0,d.useNullableMessageAuthor)(t);return v(u.default,{author:m,baseAuthor:_,baseMessage:t,referencedMessage:n,content:p,compact:f,isReplyAuthorBlocked:y})}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=U(n(0)),o=n(92),i=n(3),l=j(n(5938)),u=j(n(185)),s=n(42),d=j(n(10)),f=j(n(249)),c=j(n(15)),p=j(n(40)),v=j(n(29)),y=j(n(61)),m=j(n(375)),_=j(n(371)),h=j(n(151)),E=j(n(149)),g=n(85),S=n(131),O=j(n(683)),I=j(n(8307)),T=n(35),C=j(n(47)),b=j(n(248)),M=j(n(24)),N=j(n(13)),A=j(n(8451)),P=n(8933),R=U(n(8523)),L=n(1),D=j(n(6)),w=j(n(7377));function j(e){return e&&e.__esModule?e:{default:e}}function k(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return k=function(){return e},e}function U(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=k();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function G(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var F=function(e){var t=e.channelData,n=e.onClose,r=e.trackOptionClick,a=(0,i.useStateFromStores)([d.default],(function(){return d.default.getChannel(t.channel_id)})),c=(0,i.useStateFromStores)([p.default],(function(){return null!=a&&p.default.can(o.Permissions.VIEW_CHANNEL,a)})),v=(0,i.useStateFromStores)([f.default],(function(){return null!=t.emoji_id?f.default.getCustomEmojiById(t.emoji_id):null}),[t.emoji_id]),m=null!=t.emoji_name?u.default.getByName(u.default.convertSurrogateToName(t.emoji_name,!1)):null;return null!=a&&c?G(y.default,{className:w.default.optionContainer,onClick:function(){r(),n(),(0,s.transitionToGuild)(a.guild_id,a.id)}},void 0,null!=v||null!=m?G(l.default,{emojiName:null!=t.emoji_id?null==v?void 0:v.name:t.emoji_name,animated:null!=v&&v.animated,emojiId:null==v?void 0:v.id,autoplay:!0,className:w.default.optionEmoji}):G(I.default,{className:w.default.channelIcon}),G("div",{className:w.default.optionTextContainer},void 0,G(M.default,{size:M.default.Sizes.SIZE_16,className:w.default.channelDescription},void 0,t.description),G(M.default,{size:M.default.Sizes.SIZE_12,color:M.default.Colors.HEADER_SECONDARY},void 0,"#"+a.name)),G(O.default,{direction:O.default.Directions.RIGHT,className:w.default.optionArrow})):null};F.displayName="WelcomeScreenModalOption";var B=function(e){var t,n=e.onClose,r=e.transitionState,o=e.guildId,l=e.isPreview,u=(0,i.useStateFromStores)([c.default],(function(){return c.default.getGuild(o)})),s=(0,i.useStateFromStoresObject)([R.default],(function(){return{welcomeScreen:R.default.get(o),fetching:R.default.isFetching(),hasError:R.default.hasError()}})),d=s.welcomeScreen,f=s.fetching,p=s.hasError,y=(0,g.useUID)();a.useEffect((function(){null==d&&A.default.fetchWelcomeScreen(o)}),[o,d]),a.useEffect((function(){!1===f&&!0===p&&n()}),[f,p,n]),a.useEffect((function(){d===R.NO_WELCOME_SCREEN&&n()}),[n,d]),a.useEffect((function(){!0!==l&&N.default.track(L.AnalyticEvents.OPEN_MODAL,{type:P.WELCOME_SCREEN_TYPE,guild_id:o})}),[o,l]);var O=a.useCallback((function(e){var t;if(null!=d&&!0!==l){var n=[],r=[],a=!1;null===(t=d.welcome_channels)||void 0===t||t.forEach((function(e){n.push(e.description),r.push(e.channel_id),null!=e.emoji_id&&(a=!0)})),N.default.track(L.AnalyticEvents.GUILD_WELCOME_SCREEN_OPTION_SELECTED,{index:e,guild_id:o,options:n,options_channel_ids:r,guild_description:d.description,has_custom_emojis:a})}}),[o,l,d]);return null==u?null:null==d?G(T.ModalRoot,{transitionState:r,className:w.default.main,"aria-label":D.default.Messages.LOADING},void 0,G(h.default,{type:h.default.Type.SPINNING_CIRCLE})):G(T.ModalRoot,{transitionState:r,className:w.default.main,"aria-labelledby":y},void 0,G(T.ModalCloseButton,{onClick:n,className:w.default.close}),G(b.default,{mask:b.default.Masks.SQUIRCLE,width:64,height:64,className:w.default.guildIcon},void 0,G(_.default,{size:_.default.Sizes.LARGER,guild:u,active:!0,animate:!0,tabIndex:-1})),G(C.default,{size:C.default.Sizes.SIZE_24,className:w.default.header,id:y},void 0,D.default.Messages.WELCOME_SCREEN_TITLE.format({guildName:u.name,guildNameHook:function(e,t){return G("span",{},t,G(m.default,{guild:u,className:w.default.headerGuildBadge,flowerStarClassName:w.default.flowerStar,tooltipColor:E.default.Colors.PRIMARY}),G("strong",{className:w.default.headerGuildName},void 0,e))}})),null!=d.description?G(M.default,{size:M.default.Sizes.SIZE_14,color:M.default.Colors.HEADER_SECONDARY,className:w.default.guildDescription},void 0,d.description):null,G(S.FormTitle,{className:w.default.choiceHeader},void 0,D.default.Messages.WELCOME_SCREEN_CHOICE_HEADER),G("div",{className:w.default.options},void 0,null===(t=d.welcome_channels)||void 0===t?void 0:t.map((function(e,t){return G(F,{channelData:e,trackOptionClick:function(){return O(t)},onClose:n},e.channel_id+"-"+t)}))),G(v.default,{look:v.default.Looks.LINK,color:w.default.skipColor,className:w.default.skip,onClick:n},void 0,D.default.Messages.WELCOME_SCREEN_SKIP))};B.displayName="WelcomeScreenModal";var H=B;t.default=H},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WELCOME_EMOJI_TOOLTIP_STORAGE_KEY=t.WELCOME_SCREEN_TYPE=void 0;t.WELCOME_SCREEN_TYPE="Guild Welcome Screen";t.WELCOME_EMOJI_TOOLTIP_STORAGE_KEY="hasClickedWelcomeEmojiPicker"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CallTileFit=t.CallTileOverlay=void 0;var r,a=F(n(0)),o=U(n(9)),i=n(3),l=n(34),u=U(n(288)),s=n(691),d=U(n(9138)),f=n(8661),c=U(n(11)),p=U(n(51)),v=U(n(61)),y=U(n(149)),m=F(n(9139)),_=U(n(1317)),h=U(n(8313)),E=U(n(9140)),g=U(n(1281)),S=U(n(1261)),O=U(n(8662)),I=U(n(8331)),T=U(n(8276)),C=U(n(8724)),b=U(n(24)),M=U(n(10931)),N=U(n(10932)),A=U(n(9655)),P=F(n(10935)),R=U(n(10941)),L=n(10353),D=U(n(10943)),w=n(1),j=U(n(6)),k=U(n(7402));function U(e){return e&&e.__esModule?e:{default:e}}function G(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return G=function(){return e},e}function F(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=G();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function B(){return(B=Object.assign||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}).apply(this,arguments)}function H(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function x(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var V=a.memo((function(e){var t,n,r,y,_=e.participant,E=e.onDoubleClick,g=e.onContextMenu,S=e.onClick,O=e.onMouseDown,I=e.onKeyDown,T=e.className,C=e.style,b=e.channel,L=e.width,w=e.inPopout,j=e.onVideoResize,U=e.inCall,G=void 0!==U&&U,F=e.selected,B=void 0!==F&&F,H=e.noBorder,V=void 0!==H&&H,W=e.focused,Y=void 0!==W&&W,z=e.blocked,K=void 0!==z&&z,Z=e.fit,q=void 0===Z?m.default.Fit.CONTAIN:Z,X=e.paused,J=void 0!==X&&X,Q=e.pulseSpeakingIndicator,ee=void 0!==Q&&Q,te=a.useContext(f.IdleStateContext),ne=(0,i.useStateFromStores)([c.default],(function(){return c.default.getId()})),re=_.type===s.ParticipantTypes.ACTIVITY?null:null===(t=_.user)||void 0===t?void 0:t.id,ae=(0,i.useStateFromStores)([p.default],(function(){return null!=re&&p.default.isLocalVideoDisabled(re,(0,d.default)(_.type))}),[re,_.type]),oe=(0,D.default)(_,ne),ie=oe.speaking,le=oe.muted,ue=oe.deafen,se=oe.ringing,de=oe.hasVideo,fe=(0,i.useStateFromStores)([p.default],(function(){return null!=re&&p.default.isLocalMute(re,(0,d.default)(_.type))}),[re,_.type]),ce=_.type===s.ParticipantTypes.STREAM&&re===ne,pe=a.useCallback((function(){null!=re&&u.default.toggleLocalMute(re,l.MediaEngineContextTypes.STREAM)}),[re]),ve=a.useCallback((function(e){null==S||S(_,e)}),[S,_]),ye=a.useCallback((function(e){null==E||E(_,e)}),[E,_]),me=a.useCallback((function(e){null==g||g(_,e)}),[g,_]),_e=null,he=null,Ee=!0;switch(_.type){case s.ParticipantTypes.STREAM:_e=x(P.default,{participant:_,selected:B,width:L,fit:q,onVideoResize:j,paused:J,inPopout:w}),he=x(P.StreamTileIndicators,{participant:_,selected:B,width:L,focused:Y,idle:te}),Ee=!1;break;case s.ParticipantTypes.USER:_e=x(R.default,{channel:b,inCall:G,participant:_,fit:q,paused:J,selected:B,width:L,blocked:K,pulseSpeakingIndicator:ee});break;case s.ParticipantTypes.ACTIVITY:_e=x(N.default,{interactible:Y,participant:_,selected:B,channel:b,width:L})}var ge=a.useRef(null);return x("div",{className:(0,o.default)(k.default.wrapper,(n={},n[k.default.ringing]=se,n),T)},void 0,a.createElement(A.default,{ref:ge,className:(0,o.default)(k.default.tile,(r={},r[k.default.noBorder]=V,r[k.default.noInteraction]=null==S,r[k.default.idle]=te,r[k.default.videoLayer]=Ee,r)),noBorder:V,style:C},x(v.default,{focusProps:{ringTarget:ge,offset:1},onDoubleClick:ye,onContextMenu:me,onClick:ve,onMouseDown:O,onKeyDown:I,className:k.default.tileChild},void 0,_e,V?null:x("div",{className:k.default.indicators},void 0,he),B?x("div",{className:k.default.selectedScreen},void 0,x(h.default,{className:k.default.selectedIcon})):null,x($,{focused:Y,width:L,inCall:G,participantType:_.type,hasVideo:null!=de&&de,muted:le,deafen:ue,idle:te,title:(0,M.default)(b,_),blocked:K,localMute:fe,localVideoDisabled:ae,hideAudioIcon:ce,onContextMenu:me,onToggleMute:pe}),G&&!V?x("div",{className:(0,o.default)(k.default.border,(y={},y[k.default.speaking]=ie&&!Y,y))}):null)))}));V.displayName="CallTile";var W=x(C.default,{width:20,height:20}),Y=x(T.default,{width:20,height:20}),z=x(I.default,{width:20,height:20}),K=x("div",{}),$=a.memo((function(e){var t,n,r=e.muted,i=e.deafen,u=e.idle,d=e.title,f=e.width,c=e.hasVideo,m=e.inCall,I=e.localMute,T=e.localVideoDisabled,C=e.focused,M=e.blocked,N=e.hideAudioIcon,A=e.participantType,P=e.onContextMenu,R=e.onToggleMute,D=null,U=null,G=null,F=(0,L.isVideoCompact)(f),V=(0,L.isNamesCompact)(f);N||(i||r||I?(D=x(i?g.default:S.default,{foreground:(0,o.default)((n={},n[k.default.localMuteStrikethrough]=I&&!i,n)),className:k.default.status}),I&&A===s.ParticipantTypes.STREAM&&c&&!C&&(D=x(y.default,{text:j.default.Messages.UNMUTE},void 0,(function(e){var t=e.onClick,n=H(e,["onClick"]);return a.createElement(v.default,B({},n,{onClick:function(e){e.stopPropagation(),null==t||t(),R()},className:(0,o.default)(k.default.status,k.default.interactive)}),W)})))):I||A!==s.ParticipantTypes.STREAM||!c||F||C||(D=x(y.default,{text:j.default.Messages.MUTE},void 0,(function(e){var t=e.onClick,n=H(e,["onClick"]);return a.createElement(v.default,B({},n,{onClick:function(e){e.stopPropagation(),null==t||t(),R()},className:(0,o.default)(k.default.status,k.default.interactive,k.default.toggleMute)}),Y)}))));return m&&p.default.supports(l.Features.VIDEO)||!c||(U=x(h.default,{className:k.default.status})),m&&c&&T&&(U=x(E.default,{className:k.default.status,foreground:k.default.localMuteStrikethrough})),A===s.ParticipantTypes.STREAM&&!C&&c&&(G=x(y.default,{text:j.default.Messages.OPTIONS},void 0,(function(e){var t=e.onClick,n=H(e,["onClick"]);return a.createElement(v.default,B({},n,{onClick:function(e){e.stopPropagation(),null==t||t(),P(e)},className:(0,o.default)(k.default.status,k.default.interactive)}),z)}))),x("div",{className:k.default.overlay},void 0,V||C?K:x(b.default,{className:(0,o.default)(k.default.overlayTitle,(t={},t[k.default.idle]=u,t)),color:b.default.Colors.CUSTOM,size:b.default.Sizes.SIZE_16},void 0,M?x("div",{className:k.default.blocked},void 0,x(_.default,{className:k.default.blockedIcon,color:w.Colors.STATUS_RED})):null,A===s.ParticipantTypes.STREAM&&x(O.default,{className:k.default.titleIcon}),x("span",{className:k.default.overlayTitleText},void 0,d)),x("div",{className:k.default.statusContainer},void 0,U,D,G))}));t.CallTileOverlay=$,$.displayName="CallTitleOverlay";var Z=m.VideoStreamFit;t.CallTileFit=Z;var q=V;t.default=q},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(9)),i=n(3),l=p(n(9141)),u=p(n(55)),s=p(n(151)),d=p(n(24)),f=p(n(6)),c=p(n(7620));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=y(s.default,{});function _(e){var t=e.isLoading,n=e.noText,r=e.className;return y(u.default,{className:(0,o.default)(c.default.emptyPreviewContainer,r),direction:u.default.Direction.VERTICAL,align:u.default.Align.CENTER,justify:u.default.Justify.CENTER},void 0,t?m:a.createElement(a.Fragment,null,y("div",{className:c.default.emptyPreviewImage}),n?null:y(d.default,{size:d.default.Sizes.SIZE_14,color:d.default.Colors.CUSTOM,className:c.default.emptyPreviewText},void 0,f.default.Messages.STREAM_NO_PREVIEW)))}function h(e){var t=e.stream,n=e.className,r=e.noText,u=void 0!==r&&r,s=(0,i.useStateFromStoresObject)([l.default],(function(){return{url:l.default.getPreviewURL(t.guildId,t.channelId,t.ownerId),isLoading:l.default.getIsPreviewLoading(t.guildId,t.channelId,t.ownerId)}})),d=s.url,f=s.isLoading,p=a.useRef(f?null:d);a.useEffect((function(){f||(p.current=d)}),[d,f]);var v=null==d||f?p.current:d;return null==v?y(_,{className:n,isLoading:f,noText:u}):y("div",{className:(0,o.default)(n,c.default.root)},void 0,y("img",{src:v,alt:"",className:c.default.image}))}_.displayName="DefaultFallback",h.displayName="StreamPreview"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){r.default.embedded?a.default.focus():window.focus()};var r=o(n(16)),a=o(n(43));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VideoButtonWrapper=m,t.default=_;var r,a=c(n(0)),o=d(n(9)),i=n(6129),l=d(n(8313)),u=c(n(8288)),s=d(n(7958));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function m(e){var t=(0,i.getVideoButtonLabel)(e),n=e.enabled,r=e.cameraUnavailable,o=e.onChange,u=e.onCameraUnavailable,s=e.hasPermission,d=e.children,f=e.channelLimitReached,c=void 0!==f&&f,p=r?function(){return u()}:function(){return o(!e.enabled)};return a.createElement(a.Fragment,null,d({onClick:p,active:n,disabled:!s||c&&!n,iconComponent:l.default,label:t,unavailable:r}))}function _(e){var t=e.enabled,n=e.join,r=e.channel,i=e.onChange,l=e.onCameraUnavailable,d=e.cameraUnavailable,f=e.hasPermission,c=e.className,_=e.channelLimitReached,h=e.channelLimit,E=e.centerButton,g=void 0!==E&&E,S=y(e,["enabled","join","channel","onChange","onCameraUnavailable","cameraUnavailable","hasPermission","className","channelLimitReached","channelLimit","centerButton"]),O=g?u.CenterControlButton:u.default;return p(m,{enabled:t,join:n,channel:r,onChange:i,onCameraUnavailable:l,cameraUnavailable:d,hasPermission:f,channelLimitReached:_,channelLimit:h},void 0,(function(e){var t,n=e.unavailable,r=y(e,["unavailable"]);return a.createElement(O,v({className:(0,o.default)(c,(t={},t[s.default.fauxDisabled]=n,t))},r,S))}))}_.displayName="VideoButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M21.1169 1.11603L22.8839 2.88403L19.7679 6.00003L22.8839 9.11603L21.1169 10.884L17.9999 7.76803L14.8839 10.884L13.1169 9.11603L16.2329 6.00003L13.1169 2.88403L14.8839 1.11603L17.9999 4.23203L21.1169 1.11603ZM18 22H13C6.925 22 2 17.075 2 11V6C2 5.447 2.448 5 3 5H7C7.553 5 8 5.447 8 6V10C8 10.553 7.553 11 7 11H6C6.063 14.938 9 18 13 18V17C13 16.447 13.447 16 14 16H18C18.553 16 19 16.447 19 17V21C19 21.553 18.553 22 18 22Z"}))}d.displayName="CallLeave"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function i(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,i=e.color,l=void 0===i?"currentColor":i;return o("svg",{className:e.className,width:n,height:a,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},void 0,o("path",{className:e.foreground,fill:l,fillRule:"evenodd",clipRule:"evenodd",d:"M2 4.5C2 3.397 2.897 2.5 4 2.5H20C21.103 2.5 22 3.397 22 4.5V15.5C22 16.604 21.103 17.5 20 17.5H13V19.5H17V21.5H7V19.5H11V17.5H4C2.897 17.5 2 16.604 2 15.5V4.5ZM13.2 14.3375V11.6C9.864 11.6 7.668 12.6625 6 15C6.672 11.6625 8.532 8.3375 13.2 7.6625V5L18 9.6625L13.2 14.3375Z"}))}i.displayName="Screenshare"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useOtherStreams=M,t.default=N;var r,a=C(n(0)),o=n(3),i=n(34),l=I(n(8257)),u=I(n(688)),s=I(n(8941)),d=I(n(9663)),f=I(n(5966)),c=C(n(8253)),p=I(n(163)),v=I(n(51)),y=I(n(12)),m=I(n(8939)),_=I(n(8520)),h=I(n(9144)),E=I(n(258)),g=I(n(16)),S=n(1),O=I(n(6));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(e,t,n){var r=(0,o.useStateFromStores)([u.default],(function(){return u.default.getSelectedParticipantId(e.id)})),a=(0,o.useStateFromStores)([p.default],(function(){return null!=r?p.default.getActiveStreamForStreamKey(r):null}),[r]);return(0,o.useStateFromStoresArray)([y.default],(function(){var r=n.filter((function(e){return e.ownerId!==t.id})).map((function(t){return{stream:t,username:E.default.getName(e.getGuildId(),e.id,y.default.getUser(t.ownerId))}}));return 1===r.length&&r[0].stream.ownerId===(null==a?void 0:a.ownerId)?[]:r}),[e,a,n])}function N(e){var t,n=e.channel,r=e.currentUser,o=e.activeStreams,u=e.hideSelfOptions,p=void 0!==u&&u,y=e.showReportOption,E=void 0!==y&&y,I=e.handleGoLive,T=e.onClose,C=e.onSelect,N=e.appContext,A=void 0===N?S.AppContext.APP:N,P=v.default.supports(i.Features.DESKTOP_CAPTURE_APPLICATIONS),R=null!==(t=o.find((function(e){return e.ownerId===r.id})))&&void 0!==t?t:null,L=M(n,r,o),D=(0,d.default)(R,A),w=(0,s.default)(R,A,S.NOOP_NULL),j=null==R?b(c.MenuItem,{id:"share-your-screen",label:O.default.Messages.SHARE_YOUR_SCREEN,icon:m.default,action:I}):a.createElement(a.Fragment,null,g.default.embedded?b(c.MenuItem,{id:"stream-settings",label:O.default.Messages.SCREENSHARE_STREAM_QUALITY},void 0,D):null,E?w:null,P?b(c.MenuItem,{id:"change-windows",label:O.default.Messages.SCREENSHARE_CHANGE_WINDOWS,icon:m.default,action:I}):null,b(c.MenuItem,{id:"stop-streaming",label:O.default.Messages.STOP_STREAMING,icon:_.default,action:function(){return(0,f.default)(R)}}));return b(l.default,{section:S.AnalyticsSections.CONTEXT_MENU},void 0,b(c.default,{onSelect:C,navId:"manage-streams",onClose:T,"aria-label":null!=R?O.default.Messages.STOP_STREAMING:O.default.Messages.SHARE_YOUR_SCREEN},void 0,b(c.MenuGroup,{},void 0,L.map((function(e){var t=e.stream,n=e.username;return b(c.MenuItem,{id:t.ownerId,label:O.default.Messages.STOP_WATCHING_USER.format({username:n}),icon:h.default,action:function(){return(0,f.default)(t)}},"manage-stream-menu"+t.ownerId)}))),p?null:j))}N.displayName="ManageStreamsMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(726),l=v(n(9662)),u=n(8253),s=v(n(11)),d=v(n(256)),f=v(n(1270)),c=n(41),p=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e,t,n){var r=(0,o.useStateFromStores)([d.default],(function(){return(0,i.getStreamerApplication)(e,d.default)}),[e]),v=(0,o.useStateFromStores)([s.default],(function(){return s.default.getId()})),y={media_session_id:f.default.getActiveMediaSessionId(),rtc_connection_id:f.default.getActiveRTCConnectionId()};return null==e?null:m(u.MenuItem,{id:"report-stream-problem",label:p.default.Messages.STREAM_REPORT_PROBLEM_MENU_ITEM,action:function(){null==n||n(),null!=e&&(0,c.openModal)((function(t){return a.createElement(l.default,_({stream:e,streamApplication:r,isStreamer:v===(null==e?void 0:e.ownerId),analyticsData:y},t))}))}})}h.displayName="useReportProblemItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-03_stream_extended_quality_settings",label:"Stream Extended Quality Settings",defaultConfig:{showExtendedSettings:!1},treatments:[{id:1,label:"Shows extra stream quality settings",config:{showExtendedSettings:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=0,n=Object.keys(e);t<n.length;t++){var a=n[t],o=e[a];if(null!=o&&null==o.error&&r.has(a))return!0}return!1},t.SUPPORTED_HARDWARE_ACCEL_VENDORS=void 0;var r=new Set(["nvidia"]);t.SUPPORTED_HARDWARE_ACCEL_VENDORS=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=u[i.default.getPlatform()];if(null==t)return!1;for(var n=0,r=Object.keys(e);n<r.length;n++){var a=r[n],l=e[a],s=t[a];if(null!=l&&null!=s&&null==l.error){var d=((f=l).major||0)+"."+(f.minor||0)+".0";if(!o.default.satisfies(d,s))return!0}}var f;return!1},t.REQUIRED_DRIVER_VERSIONS_BY_PLATFORM=void 0;var r,a,o=(r=n(1290))&&r.__esModule?r:{default:r},i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(16));function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}var u=((a={})[i.PlatformTypes.WINDOWS]={nvidia:">=397.93.0"},a);t.REQUIRED_DRIVER_VERSIONS_BY_PLATFORM=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=c(n(9)),o=c(n(180)),i=c(n(8449)),l=n(149),u=c(n(8393)),s=c(n(258)),d=c(n(6)),f=c(n(7624));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e){var t,n=e.channel,r=e.users,c=e.selected,p=void 0!==c&&c,y=(0,o.default)(n),m=null;if(null!=r&&r.length>0){m=v(u.default,{guildId:n.guild_id,className:f.default.voiceUserList,users:r,renderUser:function(e){if(null==e)return null;var t=s.default.getName(n.guild_id,n.id,e),r=e.getAvatarURL(n.guild_id);return v(l.TooltipContainer,{text:t},void 0,v("img",{src:null!=r?r:void 0,"aria-label":e.username,alt:"",className:f.default.avatar}))},renderMoreUsers:function(e){var t=function(e,t){var n=t.id,r=t.guild_id;return e.length<=1?null:2===e.length?d.default.Messages.GO_LIVE_MODAL_OVERFLOW_TWO_USERS.format({nickname0:s.default.getName(r,n,e[0]),nickname1:s.default.getName(r,n,e[1])}):3===e.length?d.default.Messages.GO_LIVE_MODAL_OVERFLOW_THREE_USERS.format({nickname0:s.default.getName(r,n,e[0]),nickname1:s.default.getName(r,n,e[1]),nickname2:s.default.getName(r,n,e[2])}):d.default.Messages.GO_LIVE_MODAL_OVERFLOW_FOUR_OR_MORE_USERS.format({nickname0:s.default.getName(r,n,e[0]),nickname1:s.default.getName(r,n,e[1]),remainingCount:e.length-2})}(r.slice(4),n);return v("div",{},void 0,v(l.TooltipContainer,{text:t},void 0,v("div",{className:f.default.userListOverflow},void 0,e)))},max:5,showUserPopout:!1})}var _=(0,i.default)(n);return v("div",{className:(0,a.default)(f.default.channelInfo,(t={},t[f.default.selected]=p,t))},void 0,v(_,{className:f.default.channelIcon}),v("div",{className:f.default.channelName},void 0,y),m)}y.displayName="RadioItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.title,r=e.scrollerClassName,f=e.children,c=a.useRef(null),v=a.useState(!1),y=v[0],m=v[1],_=a.useState(!1),h=_[0],E=_[1],g=a.useCallback((function(){var e=c.current;null!=e&&(m(!e.isScrolledToTop()),E(!e.isScrolledToBottom()))}),[]);return a.useLayoutEffect((function(){return g()}),[]),a.createElement(a.Fragment,null,p("div",{className:(0,o.default)(d.default.title,d.default.scrollWrapper)},void 0,p(i.FormTitle,{className:s.default.formItemTitle},void 0,n),p(u.default,{separator:y})),p("div",{className:r},void 0,a.createElement(l.default,{ref:c,className:(0,o.default)(d.default.scrollerInner,(t={},t[d.default.bottomSeparator]=h,t)),onScroll:g},f)))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=n(131),l=f(n(468)),u=f(n(8947)),s=f(n(7348)),d=f(n(7626));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(9)),o=i(n(7625));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(e){var t,n=e.separator,r=void 0!==n&&n;return u("div",{className:(0,a.default)(o.default.divider,(t={},t[o.default.separator]=r,t))})}s.displayName="Divider"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a,o=(r=n(7628))&&r.__esModule?r:{default:r};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function u(e){var t=e.children;return l("div",{className:o.default.card},void 0,t)}u.displayName="RowCard"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(null==t)return e;return n.find((function(e){return(0,a.default)(t.id,e.windowHandle)}))};var r,a=(r=n(1302))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(9)),i=d(n(61)),l=d(n(55)),u=n(1),s=d(n(7634));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,v(e,t)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(e){var n=t.props.onClick;return n&&n(t.props.option,e)},t}return p(t,e),t.prototype.render=function(){var e,t=this.props,n=t.selected,r=t.className,a=t.selectedClassName,l=this.props.option.name,u=((e={})[s.default.selected]=n,e);return a&&(u[a]=n),c(i.default,{className:(0,o.default)(s.default.item,r,u),onClick:this.handleClick},void 0,l)},t}(a.PureComponent);y.displayName="SegmentControlItem";var m=function(e){function t(){return e.apply(this,arguments)||this}p(t,e);var n=t.prototype;return n.renderItem=function(e){var t=this.props,n=t.value,r=t.optionClassName,a=t.selectedOptionClassName,o=n===e.value;return c(y,{selected:o,option:e,onClick:this.props.onChange,className:r,selectedClassName:a},e.value)},n.render=function(){var e=this.props.className;return c(l.default,{className:(0,o.default)(s.default.container,e),shrink:0},void 0,this.props.options.map(this.renderItem,this))},t}(a.PureComponent);m.displayName="SegmentControl",m.defaultProps={options:[],onChange:u.NOOP,value:null};var _=m;t.default=_},function(e,t,n){var r={"./amsterdam.png":9679,"./brazil.png":9680,"./dubai.png":9681,"./eu-central.png":9682,"./eu-west.png":9683,"./europe.png":9684,"./frankfurt.png":9685,"./hongkong.png":9686,"./india.png":9687,"./japan.png":9688,"./london.png":9689,"./russia.png":9690,"./singapore.png":9691,"./south-korea.png":9692,"./southafrica.png":9693,"./sydney.png":9694,"./unknown.png":8454,"./us-central.png":9695,"./us-east.png":9696,"./us-south.png":9697,"./us-west.png":9698};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=8951},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24",fill:"none"}),s("path",{d:"M19 3H4.99C3.88 3 3.01 3.89 3.01 5L3 19C3 20.1 3.88 21 4.99 21H19C20.1 21 21 20.1 21 19V5C21 3.89 20.1 3 19 3ZM19 15H15C15 16.66 13.65 18 12 18C10.35 18 9 16.66 9 15H4.99V5H19V15Z",fill:d,className:f}))}d.displayName="Inbox"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(14)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}var l={setGuildFilter:function(e){var t=e.guildFilter,n=e.roleFilter,r=e.everyoneFilter;a.default.dispatch({type:o.ActionTypes.SET_RECENT_MENTIONS_FILTER,guildFilter:t,roleFilter:n,everyoneFilter:r})},truncateMentions:function(e){a.default.dirtyDispatch({type:o.ActionTypes.TRUNCATE_MENTIONS,size:e})},fetchRecentMentions:function(e,t,n,i,l){void 0===t&&(t=o.MAX_MENTIONS_PER_FETCH),void 0===n&&(n=null),void 0===i&&(i=!0),void 0===l&&(l=!0),a.default.dirtyDispatch({type:o.ActionTypes.LOAD_RECENT_MENTIONS,guildId:n}),r.default.get({url:o.Endpoints.MENTIONS,query:{before:e,limit:t,guild_id:n,roles:i,everyone:l},retries:2,oldFormErrors:!0}).then((function(t){var n=t.body;a.default.dispatch({type:o.ActionTypes.LOAD_RECENT_MENTIONS_SUCCESS,messages:n,isAfter:null!=e,hasMoreAfter:n.length>=o.MAX_MENTIONS_PER_FETCH})}),(function(){a.default.dispatch({type:o.ActionTypes.LOAD_RECENT_MENTIONS_FAILURE})}))},deleteRecentMention:function(e){r.default.delete({url:o.Endpoints.MENTIONS_MESSAGE_ID(e),retries:2,oldFormErrors:!0}),a.default.dispatch({type:o.ActionTypes.RECENT_MENTION_DELETE,id:e})}};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.useStateFromStores)([i.default],(function(){return i.default.keyboardModeEnabled})),l=r.useCallback((function(e){var n=document.querySelector(e),r=t.current;null!=n&&null!=r&&(n.focus(),r.scrollIntoViewNode({node:n,padding:80}))}),[t]),u=r.useCallback((function(){return new Promise((function(e){var n=t.current;if(null==n)return e();n.scrollTo({to:0,callback:function(){return requestAnimationFrame((function(){return e()}))}})}))}),[t]),s=r.useCallback((function(){return new Promise((function(e){var n=t.current;if(null==n)return e();n.scrollTo({to:Number.MAX_SAFE_INTEGER,callback:function(){return requestAnimationFrame((function(){return e()}))}})}))}),[t]);return(0,a.default)({id:e,isEnabled:n,setFocus:l,scrollToStart:u,scrollToEnd:s})};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=l(n(680)),o=n(3),i=l(n(105));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=re(n(3)),o=n(34),i=re(n(1351)),l=re(n(28)),u=re(n(2)),s=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=ne();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(287)),d=n(1150),f=re(n(183)),c=n(141),p=re(n(187)),v=re(n(412)),y=re(n(8797)),m=re(n(182)),_=n(280),h=re(n(8759)),E=re(n(708)),g=n(304),S=re(n(712)),O=re(n(16)),I=re(n(96)),T=re(n(107)),C=re(n(11)),b=re(n(9152)),M=re(n(738)),N=re(n(8760)),A=re(n(10)),P=re(n(709)),R=re(n(9708)),L=re(n(9154)),D=re(n(1353)),w=re(n(405)),j=re(n(71)),k=re(n(56)),U=re(n(15)),G=re(n(51)),F=re(n(8359)),B=re(n(40)),H=re(n(9709)),x=re(n(94)),V=re(n(79)),W=re(n(36)),Y=re(n(9155)),z=re(n(160)),K=re(n(9710)),$=re(n(8957)),Z=re(n(12)),q=re(n(80)),X=re(n(1147)),J=re(n(5959)),Q=re(n(5826)),ee=re(n(1167)),te=n(1);function ne(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return ne=function(){return e},e}function re(e){return e&&e.__esModule?e:{default:e}}function ae(e,t){return(ae=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function oe(){return(oe=Object.assign||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}).apply(this,arguments)}var ie=((r={})[te.NoticeTypes.DOWNLOAD_NAG]="hideNag",r[te.NoticeTypes.NOTIFICATION_NAG]="hideNotificationNag",r[te.NoticeTypes.CONNECT_SPOTIFY]="hideConnectSpotify",r[te.NoticeTypes.PREMIUM_PROMO]="hidePremiumPromo",r[te.NoticeTypes.MFA_SMS_BACKUP]="hideMFASMSNotice",r[te.NoticeTypes.PREMIUM_GRANDFATHERED_ENDING]="hidePremiumGrandfatheredEnding",r[te.NoticeTypes.PREMIUM_GRANDFATHERED_ENDED]="hidePremiumGrandfatheredEnded",r[te.NoticeTypes.DETECTED_OFF_PLATFORM_PREMIUM_PERK_UPSELL]="hideDetectedOffPlatformPremiumPerkUpsell",r[te.NoticeTypes.PREMIUM_TIER_2_TRIAL_ENDING]="hidePremiumTier2TrialEnding",r[te.NoticeTypes.INCENTIVIZED_INSTALL]="hideIncentivizedUpsell",r),le=new Set([te.NoticeTypes.NO_INPUT_DETECTED,te.NoticeTypes.STREAMER_MODE,te.NoticeTypes.NOTIFICATION_NAG,te.NoticeTypes.VIDEO_UNSUPPORTED_BROWSER,te.NoticeTypes.SPOTIFY_AUTO_PAUSED,te.NoticeTypes.DISPATCH_ERROR,te.NoticeTypes.DISPATCH_ERROR,te.NoticeTypes.DISPATCH_INSTALL_SCRIPT_PROGRESS,te.NoticeTypes.NOISE_DETECTED]),ue={},se=Object.freeze({id:null,message:null,buttonText:null,callback:null,metadata:null}),de=null;function fe(e,t){if(null!=e){var n=ie[e];null==n||t||l.default.set(n,!0),le.has(e)&&(ue[e]=!0),e===te.NoticeTypes.PREMIUM_PROMO&&(0,d.setFlag)(te.UserFlags.PREMIUM_PROMO_DISMISSED,!0)}}function ce(e){if(null==e)return!1;var t=ue[e];if(t)return!0;var n=ie[e];return n?l.default.get(n):!!le.has(e)&&t}function pe(){var e,t;if(!P.default.isConnected())return!1;de=null;var n,r=Z.default.getCurrentUser(),a=X.default.getPremiumSubscription(),l=null!=a?a.planId:null,u=W.default.getVoiceChannelId(),s=null!=u&&q.default.hasVideo(u),d=null!=u?q.default.getVoiceStateForChannel(u):null,C=(0,g.getAudienceRequestToSpeakState)(d),b=T.default.getGuildId(),N=A.default.getChannel(u),U=(null==N?void 0:N.isGuildStageVoice())&&(null==d?void 0:d.suppress),B=R.default.getDetectedOffPlatformPremiumPerks(),$=L.default.getLastError(),Q=D.default.getLastProgress(),ne=K.default.getCurrentSurvey(),re=S.default.isViewingRoles(b),ae=J.default.getUserTrialOffer(te.SubscriptionTrials[te.PREMIUM_TIER_2_LIKELIHOOD_TRIAL_ID].id);if(re)de=oe({},se,{type:te.NoticeTypes.VIEWING_ROLES});else if(C===g.RequestToSpeakStates.REQUESTED_TO_SPEAK_AND_AWAITING_USER_ACK)de=oe({},se,{type:te.NoticeTypes.INVITED_TO_SPEAK});else if(null!=b&&m.default.isLurking(b))de=oe({},se,{type:te.NoticeTypes.LURKING_GUILD});else if(null!=x.default.getRemoteDisconnectVoiceChannelId())de=oe({},se,{type:te.NoticeTypes.VOICE_DISABLED});else if(!1!==G.default.getInputDetected()||U)if(x.default.isConnected()&&G.default.isHardwareMute()){var ie=G.default.getInputDeviceId(),le=M.default.getVendor(ie),ue=M.default.getModel(ie);null!=le&&null!=ue&&(de=oe({},se,{type:te.NoticeTypes.HARDWARE_MUTE,metadata:{vendor:le,model:ue}}))}else if(null!=$)de=oe({},se,{type:te.NoticeTypes.DISPATCH_ERROR,metadata:{error:$}});else if(null!=Q)de=oe({},se,{type:te.NoticeTypes.DISPATCH_INSTALL_SCRIPT_PROGRESS,metadata:Q});else if(E.default.wasAutoPaused())de=oe({},se,{type:te.NoticeTypes.SPOTIFY_AUTO_PAUSED});else if(!ce(te.NoticeTypes.PREMIUM_GRANDFATHERED_ENDED)&&null!=l&&I.default.isGrandfathered(l)&&I.default.getDaysToGrandfatheredEnd(l)>=-14&&I.default.getDaysToGrandfatheredEnd(l)<=0&&!r.hasFreePremium())de=oe({},se,{type:te.NoticeTypes.PREMIUM_GRANDFATHERED_ENDED});else if(!ce(te.NoticeTypes.PREMIUM_GRANDFATHERED_ENDING)&&null!=l&&I.default.isGrandfathered(l)&&I.default.isWithinGrandfatheredUpgradeTime()&&!r.hasFreePremium()&&(null==a||null===(e=a.renewalMutations)||void 0===e?void 0:e.planId)!==te.SubscriptionPlans.PREMIUM_YEAR_TIER_2)de=oe({},se,{type:te.NoticeTypes.PREMIUM_GRANDFATHERED_ENDING,metadata:{plan:l}});else if(null==r||r.isClaimed())if(null!=b&&null!=r&&(null===(t=k.default.getMember(b,r.id))||void 0===t?void 0:t.isPending))de=oe({},se,{type:te.NoticeTypes.PENDING_MEMBER});else if(h.default.shouldShowOutboundPromotionNotice())de=oe({},se,{type:te.NoticeTypes.OUTBOUND_PROMOTION});else if(!O.default.embedded||i.default.supported()&&!w.default.isCorruptInstallation())if(!s||G.default.supports(o.Features.VIDEO)||ce(te.NoticeTypes.VIDEO_UNSUPPORTED_BROWSER))if(B.length>0&&I.default.canRedeemPremiumPerks(r)){var fe=B[0];de=oe({},se,{type:te.NoticeTypes.DETECTED_OFF_PLATFORM_PREMIUM_PERK,metadata:fe})}else if(!ce(te.NoticeTypes.DETECTED_OFF_PLATFORM_PREMIUM_PERK_UPSELL)&&B.length>0){var pe=B[0];de=oe({},se,{type:te.NoticeTypes.DETECTED_OFF_PLATFORM_PREMIUM_PERK_UPSELL,metadata:pe})}else if(z.default.enabled)de=oe({},se,{type:te.NoticeTypes.STREAMER_MODE});else if(O.default.embedded||ce(te.NoticeTypes.DOWNLOAD_NAG))if(O.default.embedded||F.default.getDesktopType()!==te.DesktopNotificationTypes.NEVER||!ce(te.NoticeTypes.DOWNLOAD_NAG)||p.default.getUserExperimentBucket(v.default.NOTIFICATION_NAG)!==c.ExperimentBuckets.TREATMENT_1&&p.default.getUserExperimentBucket(v.default.NOTIFICATION_NAG)!==c.ExperimentBuckets.TREATMENT_2||ce(te.NoticeTypes.NOTIFICATION_NAG))if(n=Y.default.getScheduledMaintenance())de=oe({},se,{type:te.NoticeTypes.SCHEDULED_MAINTENANCE,metadata:{id:n.id,start:new Date(n.scheduled_for),end:new Date(n.scheduled_until)}});else if(null!=ne)de=oe({},se,{type:te.NoticeTypes.SURVEY,metadata:ne});else if(null==(null==r?void 0:r.email)||r.verified)if(E.default.hasConnectedAccount()||!V.default.isObservedAppRunning(f.default.get(te.PlatformTypes.SPOTIFY).name)||ce(te.NoticeTypes.CONNECT_SPOTIFY))if(null!=ae&&null!=ae.expires_at&&Date.parse(ae.expires_at)<Date.now()+_.USER_PREMIUM_TIER_2_TRIAL_EXPIRES_APPROACHING_THRESHOLD&&!ce(te.NoticeTypes.PREMIUM_TIER_2_TRIAL_ENDING))de=oe({},se,{type:te.NoticeTypes.PREMIUM_TIER_2_TRIAL_ENDING});else if(!ce(te.NoticeTypes.INCENTIVIZED_INSTALL)&&y.default.isEligible())de=oe({},se,{type:te.NoticeTypes.INCENTIVIZED_INSTALL});else if(null==r||I.default.isPremium(r)||r.hasFlag(te.UserFlags.PREMIUM_PROMO_DISMISSED)||!H.default.isEligible()||ce(te.NoticeTypes.PREMIUM_PROMO))if(null==r||!r.mfaEnabled||r.hasFlag(te.UserFlags.MFA_SMS)||r.hasFlag(te.UserFlags.STAFF)||r.hasFlag(te.UserFlags.PARTNER)||ce(te.NoticeTypes.MFA_SMS_BACKUP))if(null!=ee.default.testModeApplicationId){var ve=ee.default.testModeApplicationId,ye=j.default.getGame(ve),me=null!=ye?ye.name:ve;de=oe({},se,{type:te.NoticeTypes.APPLICATION_TEST_MODE,metadata:{applicationName:me,applicationId:ve}})}else G.default.getNoiseDetected()&&(de=oe({},se,{type:te.NoticeTypes.NOISE_DETECTED}));else de=oe({},se,{type:te.NoticeTypes.MFA_SMS_BACKUP});else de=oe({},se,{type:te.NoticeTypes.PREMIUM_PROMO});else de=oe({},se,{type:te.NoticeTypes.CONNECT_SPOTIFY});else de=oe({},se,{type:te.NoticeTypes.UNVERIFIED_ACCOUNT});else de=oe({},se,{id:te.NoticeTypes.NOTIFICATION_NAG,type:te.NoticeTypes.NOTIFICATION_NAG});else de=oe({},se,{type:te.NoticeTypes.DOWNLOAD_NAG});else de=oe({},se,{type:te.NoticeTypes.VIDEO_UNSUPPORTED_BROWSER});else de=oe({},se,{type:te.NoticeTypes.CORRUPT_INSTALLATION});else de=oe({},se,{type:te.NoticeTypes.UNCLAIMED_ACCOUNT});else de=oe({},se,{type:te.NoticeTypes.NO_INPUT_DETECTED});null!=de&&ce(de.type)&&(de=null)}function ve(){return z.default.enabled||delete ue[te.NoticeTypes.STREAMER_MODE],pe()}var ye=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,ae(t,n);var a=r.prototype;return a.initialize=function(){this.syncWith([K.default,H.default,R.default,T.default,h.default,J.default,b.default,y.default],pe),this.waitFor(Z.default,Y.default,U.default,k.default,x.default,G.default,z.default,p.default,T.default,$.default,E.default,V.default,H.default,L.default,D.default,ee.default,F.default,X.default,w.default,R.default,N.default,B.default,h.default,Q.default,J.default)},a.hasNotice=function(){return null!=de&&null!=de.type},a.getNotice=function(){return null==$.default.getAction()?de:null},a.isNoticeDismissed=function(e){return ce(e)},r}(a.default.Store))(u.default,{CONNECTION_OPEN:function(e){return function(){if(!P.default.isConnected())return!1;var e=Z.default.getCurrentUser();I.default.isPremium(e)&&I.default.shouldCheckGrandfatheredPlan()&&u.default.wait((function(){return s.fetchSubscriptions()})),pe()}()},CURRENT_USER_UPDATE:function(e){return pe()},MEDIA_ENGINE_SET_AUDIO_ENABLED:function(e){return pe()},CLEAR_REMOTE_DISCONNECT_VOICE_CHANNEL_ID:function(e){return pe()},STATUS_PAGE_SCHEDULED_MAINTENANCE:function(e){return pe()},STATUS_PAGE_SCHEDULED_MAINTENANCE_ACK:function(e){return pe()},GUILD_CREATE:function(e){return pe()},GUILD_DELETE:function(e){return pe()},AUDIO_INPUT_DETECTED:function(e){return pe()},AUDIO_SET_DISPLAY_SILENCE_WARNING:function(e){return pe()},CERTIFIED_DEVICES_SET:function(e){return pe()},AUDIO_SET_INPUT_DEVICE:function(e){return pe()},AUDIO_SET_OUTPUT_DEVICE:function(e){return pe()},MEDIA_ENGINE_DEVICES:function(e){return pe()},RTC_CONNECTION_STATE:function(e){return pe()},RPC_APP_AUTHENTICATED:function(e){return pe()},RPC_APP_DISCONNECTED:function(e){return pe()},USER_CONNECTIONS_UPDATE:function(e){return pe()},WINDOW_FOCUS:function(e){return pe()},INSTANT_INVITE_CREATE:function(e){return pe()},INSTANT_INVITE_REVOKE_SUCCESS:function(e){return pe()},SPOTIFY_PLAYER_PAUSE:function(e){return pe()},RUNNING_GAMES_CHANGE:function(e){return pe()},EXPERIMENTS_FETCH_SUCCESS:function(e){return pe()},PREMIUM_PAYMENT_SUBSCRIBE_SUCCESS:function(e){return pe()},DEVELOPER_TEST_MODE_AUTHORIZATION_SUCCESS:function(e){return pe()},DEVELOPER_TEST_MODE_AUTHORIZATION_FAIL:function(e){return pe()},DEVELOPER_TEST_MODE_RESET:function(e){return pe()},BILLING_SUBSCRIPTION_FETCH_SUCCESS:function(e){return pe()},DISPATCH_APPLICATION_INSTALL:function(e){return pe()},CHANGE_LOG_OPEN:function(e){return pe()},VIEW_AS_ROLES_STOP:function(e){return pe()},VIEW_AS_ROLES_UPDATE:function(e){return pe()},GUILD_MEMBER_UPDATE:function(e){return pe()},NOISE_DETECTED:function(e){return pe()},SURVEY_FETCHED:function(e){return pe()},VOICE_STATE_UPDATE:function(e){return e.userId===C.default.getId()&&pe()},STREAMER_MODE_UPDATE:function(e){return ve()},RUNNING_STREAMER_TOOLS_CHANGE:function(e){return ve()},DISPATCH_APPLICATION_ERROR:function(e){return delete ue[te.NoticeTypes.DISPATCH_ERROR],pe()},DISPATCH_APPLICATION_LAUNCH_SETUP_START:function(e){return delete ue[te.NoticeTypes.DISPATCH_INSTALL_SCRIPT_PROGRESS],pe()},DISPATCH_APPLICATION_INSTALL_SCRIPTS_PROGRESS_UPDATE:function(e){return pe()},DISPATCH_APPLICATION_LAUNCH_SETUP_COMPLETE:function(e){return pe()},NOTICE_SHOW:function(e){de=e.notice},NOTICE_DISMISS:function(e){return null!=de&&((null==e.id||e.id===de.id)&&(fe(de.type,e.isTemporary),pe()))},NOTICE_DISABLE:function(e){return fe(e.noticeType),pe()},LOGOUT:function(e){return ue={},void(de=null)}});t.default=ye},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(14)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}var l=o.STATUS_PAGE_ENDPOINT+"/api/v2/scheduled-maintenances",u=o.STATUS_PAGE_ENDPOINT+"/api/v2/incidents/unresolved.json",s={checkIncidents:function(){Promise.all([r.default.get(l+"/active.json"),r.default.get(u)]).then((function(e){var t=e[0],n=e[1],r=t.body.scheduled_maintenances[0],i=n.body.incidents[0];a.default.dispatch({type:o.ActionTypes.STATUS_PAGE_INCIDENT,incident:i||r})}))},checkScheduledMaintenances:function(){r.default.get(l+"/upcoming.json").then((function(e){var t=e.body.scheduled_maintenances[0];a.default.dispatch({type:o.ActionTypes.STATUS_PAGE_SCHEDULED_MAINTENANCE,maintenance:t})}))},ackScheduledMaintenance:function(){a.default.dispatch({type:o.ActionTypes.STATUS_PAGE_SCHEDULED_MAINTENANCE_ACK})}};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=null;function u(e){l=e.requiredAction}var s=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var a=r.prototype;return a.hasAction=function(){return null!=l},a.getAction=function(){return l},r}(r.default.Store))(a.default,{CONNECTION_OPEN:u,USER_REQUIRED_ACTION_UPDATE:u});t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=g(n(8)),a=g(n(3)),o=g(n(28)),i=n(206),l=g(n(2)),u=n(297),s=g(n(747)),d=g(n(685)),f=g(n(1307)),c=g(n(11)),p=g(n(10)),v=g(n(201)),y=g(n(70)),m=g(n(107)),_=g(n(39)),h=g(n(12)),E=n(1);function g(e){return e&&e.__esModule?e:{default:e}}function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(){return(I=Object.assign||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}).apply(this,arguments)}var T=[],C={},b=!1,M=!0,N=o.default.get("recentMentionFilterSettings",{guildFilter:E.RecentMentionsFilters.ALL_SERVERS,everyoneFilter:!0,roleFilter:!0}),A=!1,P=0,R=!1;function L(e){if(e instanceof f.default)return e;var t=v.default.getMessage(e.channel_id,e.id);return null!=t?t:(0,u.createMessageRecord)(e)}function D(e,t){if(void 0===t&&(t=null),(0,d.default)(e))return null;t||(t=e.channel_id);var n=p.default.getChannel(t);if(!n||n&&n.type===E.ChannelTypes.DM)return null;if(N.guildFilter===E.RecentMentionsFilters.THIS_SERVER&&n.getGuildId()!==m.default.getGuildId())return null;var r=e.author.id,a=c.default.getId();return y.default.isBlocked(r)||r===a?null:(e=L(e),(0,s.default)(e,a,!N.everyoneFilter,!N.roleFilter)?e:null)}function w(e){if(null==C[e])return!1;delete C[e],T=r.default.filter(T,(function(t){return t.id!==e}))}function j(e){return w(e.id)}function k(e){var t=I({},N);N=r.default.defaults(r.default.pick(e,["guildFilter","roleFilter","everyoneFilter"]),N),o.default.set("recentMentionFilterSettings",N);var n=function(e,n){return t[e]!==N[e]&&N[e]===n},a=n("guildFilter",E.RecentMentionsFilters.THIS_SERVER)||n("everyoneFilter",!1)||n("roleFilter",!1);C={};var i=[];a&&T.forEach((function(e){var t=D(e);t&&(i.push(t),C[t.id]=!0)})),0===(T=i).length&&(A=!1)}function U(){r.default.forEach(T,(function(e){e.timestamp.locale(_.default.locale)}))}function G(){T=T.filter((function(e){return!y.default.isBlocked(e.author.id)}))}function F(e){var t=e.channel;T=r.default.filter(T,(function(e){return e.channel_id!==t.id||(delete C[e.id],!1)}))}var B=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,O(t,n);var a,o,i,l=r.prototype;return l.initialize=function(){this.waitFor(h.default,p.default,v.default)},l.isOpen=function(){return R},l.getMentions=function(){return A||T.length?T:null},a=r,(o=[{key:"hasLoadedEver",get:function(){return A}},{key:"lastLoaded",get:function(){return P}},{key:"loading",get:function(){return b}},{key:"hasMore",get:function(){return M}},{key:"guildFilter",get:function(){return N.guildFilter}},{key:"everyoneFilter",get:function(){return N.everyoneFilter}},{key:"roleFilter",get:function(){return N.roleFilter}}])&&S(a.prototype,o),i&&S(a,i),r}(a.default.Store))(l.default,{LOAD_RECENT_MENTIONS:function(e){var t=e.guildId;b=!0,null==t&&N.guildFilter===E.RecentMentionsFilters.THIS_SERVER&&k({guildFilter:E.RecentMentionsFilters.ALL_SERVERS})},LOAD_RECENT_MENTIONS_SUCCESS:function(e){var t=e.hasMoreAfter,n=e.messages,a=e.isAfter,o=r.default.map(n,L);a?T=T.concat(o):(T=o,C={}),r.default.forEach(o,(function(e){C[e.id]=!0})),b=!1,M=t,P=(0,i.now)(),A=!0},LOAD_RECENT_MENTIONS_FAILURE:function(e){b=!1},SET_RECENT_MENTIONS_FILTER:k,TRUNCATE_MENTIONS:function(e){for(var t=e.size,n=t;n<T.length;++n)delete C[T[n].id];T=T.slice(0,t),M=!0},CHANNEL_SELECT:function(e){return function(){if(N.guildFilter!==E.RecentMentionsFilters.THIS_SERVER)return!1;A=!1}()},CONNECTION_OPEN:function(e){return T=[],C={},void(A=!1)},GUILD_DELETE:function(e){var t=e.guild;T=r.default.filter(T,(function(e){var n=p.default.getChannel(e.channel_id);return!(!n||n.getGuildId()===t.id)||(delete C[e.id],!1)}))},MESSAGE_CREATE:function(e){var t=e.channelId,n=D(e.message,t);if(!n)return!1;(T=T.slice()).unshift(n),C[n.id]=!0},MESSAGE_UPDATE:function(e){var t=e.message.id;if(null==C[String(t)])return!1;var n=r.default.findIndex(T,(function(e){return e.id===t})),a=(T=T.slice())[n];null!=a&&(T[n]=(0,u.updateMessageRecord)(a,e.message))},MESSAGE_DELETE:j,RECENT_MENTION_DELETE:j,MESSAGE_DELETE_BULK:function(e){var t=e.ids;r.default.forEach(t,w)},USER_SETTINGS_UPDATE:function(e){return U()},I18N_LOAD_SUCCESS:function(e){return U()},CHANNEL_DELETE:F,THREAD_DELETE:F,RELATIONSHIP_ADD:function(e){return G()},RELATIONSHIP_REMOVE:function(e){return G()},MENTION_MODAL_OPEN:function(e){R=!0},MENTION_MODAL_CLOSE:function(e){R=!1}});t.default=B},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(9)),i=n(42),l=p(n(61)),u=p(n(151)),s=p(n(24)),d=n(1),f=p(n(6)),c=p(n(7643));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t=e.guildId,n=e.message,r=e.className,p=a.useState(!1),v=p[0],m=p[1];return y(l.default,{className:(0,o.default)(c.default.jumpButton,r),onClick:function(){m(!0),(0,i.transitionTo)(d.Routes.CHANNEL(t,n.channel_id,n.id))}},void 0,v?y(u.default,{type:u.default.Type.PULSING_ELLIPSIS}):y(s.default,{size:s.default.Sizes.SIZE_12,className:c.default.text},void 0,f.default.Messages.JUMP))}m.displayName="JumpToMessageButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=R;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=M();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=b(n(9)),i=n(680),l=n(3),u=b(n(8468)),s=n(5937),d=b(n(180)),f=b(n(88)),c=b(n(163)),p=b(n(10)),v=b(n(15)),y=b(n(256)),m=b(n(12)),_=b(n(8961)),h=b(n(61)),E=b(n(371)),g=n(85),S=b(n(47)),O=b(n(24)),I=n(1),T=b(n(6)),C=b(n(7645));function b(e){return e&&e.__esModule?e:{default:e}}function M(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return M=function(){return e},e}function N(){return(N=Object.assign||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}).apply(this,arguments)}function A(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var P={top:8,bottom:8,left:-4,right:-4};function R(e){var t=e.channel,n=e.children,r=e.gotoChannel,o=e.mentionCount,l=e.channelState,u=e.toggleCollapsed,s=(0,i.useListItem)("recents-header-"+t.id+"-"+(0,g.useUID)());return A(f.default,{offset:P},void 0,a.createElement("div",N({className:C.default.channelHeader},s,{tabIndex:0,"data-recents-channel":t.id,onKeyDown:function(e){null!=u&&null!=l&&("ArrowRight"===e.key&&l.collapsed||"ArrowLeft"===e.key&&!l.collapsed)&&(null==u||u(l))}}),A(L,{channel:t,gotoChannel:r}),A(j,{channel:t,gotoChannel:r,mentionCount:o}),n))}function L(e){var t=e.channel,n=e.gotoChannel;return t.isPrivate()?A(D,{channel:t,gotoChannel:n}):A(w,{channel:t,gotoChannel:n})}function D(e){var t=e.channel,n=e.gotoChannel,r=(0,l.useStateFromStores)([m.default],(function(){return t.type===I.ChannelTypes.DM?m.default.getUser(t.getRecipientId()):null})),a=null==r?(0,s.getChannelIconURL)(t):r.getAvatarURL(void 0);return A(h.default,{onClick:n,tabIndex:-1},void 0,A("img",{className:C.default.dmIcon,src:a,alt:"","aria-hidden":!0}))}function w(e){var t=e.channel,n=e.gotoChannel,r=(0,l.useStateFromStores)([v.default],(function(){return v.default.getGuild(t.guild_id)}));return null==r?null:A(E.default,{className:C.default.guildIcon,guild:r,size:E.default.Sizes.MEDIUM,active:!0,onClick:n,tabIndex:-1})}function j(e){var t=e.channel,n=e.gotoChannel,r=e.mentionCount,a=(0,d.default)(t,!0),i=(0,l.useStateFromStores)([v.default],(function(){return v.default.getGuild(t.guild_id)})),u=(0,l.useStateFromStores)([p.default],(function(){return p.default.getChannel(t.parent_id)})),s=null==u?null==i?void 0:i.name:(null==i?void 0:i.name)+" › "+u.name,f=t.isMultiUserDM()?T.default.Messages.MEMBERS_HEADER.format({members:t.recipients.length+1}):t.isPrivate()?A(k,{channel:t,gotoChannel:n}):A(h.default,{className:(0,o.default)(C.default.subtext,C.default.guildName),onClick:n},void 0,s);return A("div",{className:C.default.channelNameSection},void 0,A(S.default,{size:O.default.Sizes.SIZE_16,className:C.default.channelNameHeader},void 0,A(h.default,{className:C.default.channelName,onClick:n},void 0,a,null!=r&&r>0?A(_.default,{value:r,className:C.default.badge}):null)),A(O.default,{color:O.default.Colors.HEADER_SECONDARY,size:O.default.Sizes.SIZE_12,className:C.default.subtextContainer},void 0,f))}function k(e){var t=e.channel,n=(0,l.useStateFromStoresObject)([m.default,y.default,c.default],(function(){var e=m.default.getUser(t.getRecipientId());return{activities:null!=e?y.default.getActivities(e.id):null,applicationStream:null!=e?c.default.getStreamForUser(e.id):null}})),r=n.activities,a=n.applicationStream;return null==r?null:A(u.default,{className:C.default.activityStatus,emojiClassName:C.default.activityEmoji,activities:r,applicationStream:a,hideTooltip:!0})}R.displayName="RecentsChannelHeader",D.displayName="DMSectionsIcon",j.displayName="ChannelName"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=i(n(9)),o=i(n(7644));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}var s=function(e){var t=e.value,n=void 0===t?0:t,i=e.text,l=e.className,s=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["value","text","className"]);return null!=i?r.createElement("div",u({className:(0,a.default)(o.default.wrapper,l)},s),i):n>0?r.createElement("div",u({className:(0,a.default)(o.default.wrapper,l)},s),n):null};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(8750)),o=s(n(47)),i=s(n(24)),l=s(n(6)),u=s(n(7646));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.Icon,n=e.header,r=e.tip;return f("div",{className:u.default.container},void 0,f("div",{className:u.default.iconContainer},void 0,f(t,{className:u.default.icon,width:36,height:36}),f(a.default,{className:u.default.stars})),f(o.default,{className:u.default.header,size:o.default.Sizes.SIZE_24},void 0,n),f(i.default,{color:i.default.Colors.HEADER_SECONDARY,size:i.default.Sizes.SIZE_12},void 0,f(i.default,{tag:"span",className:u.default.protip,size:i.default.Sizes.SIZE_12,color:i.default.Colors.STATUS_GREEN},void 0,l.default.Messages.FORM_LABEL_ROLES_PRO_TIP,":"," "),r))}c.displayName="EmptyState"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v,t.Tab=void 0;c(n(0));var r,a,o=d(n(9)),i=n(8758),l=c(n(8293)),u=d(n(6)),s=d(n(7648));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t,n,r=e.tab,d=e.setTab,f=e.children;return p(i.Header,{className:s.default.header},void 0,p(l.default,{selectedItem:r,type:l.Types.TOP_PILL,onItemSelect:d,className:s.default.tabBar},void 0,p(l.Item,{id:a.Mentions,className:(0,o.default)(s.default.tab,(t={},t[s.default.active]=r===a.Mentions,t))},void 0,u.default.Messages.MENTIONS),p(l.Item,{id:a.Unreads,className:(0,o.default)(s.default.tab,(n={},n[s.default.active]=r===a.Unreads,n))},void 0,u.default.Messages.UNREADS_TAB_LABEL)),p("div",{className:s.default.controls},void 0,f))}t.Tab=a,function(e){e.Mentions="Recent Mentions",e.Unreads="Inbox"}(a||(t.Tab=a={})),v.displayName="RecentsHeader"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 16 16",fill:"none"}),s("path",{d:"M12 4.66668L11.06 3.72668L6.83332 7.95335L7.77332 8.89335L12 4.66668ZM14.8266 3.72668L7.77332 10.78L4.98665 8.00002L4.04665 8.94002L7.77332 12.6667L15.7733 4.66668L14.8266 3.72668ZM0.273315 8.94002L3.99998 12.6667L4.93998 11.7267L1.21998 8.00002L0.273315 8.94002Z",fill:d,className:f}))}d.displayName="DoubleCheckmark"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=r.useState(o),t=e[0],n=e[1];return r.useEffect((function(){var e=function(e){n(e)};return i.add(e),function(){i.delete(e)}}),[]),t};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}var o=!1,i=new Set;function l(e){e!==o&&(o=e,i.forEach((function(e){return e(o)})))}window.addEventListener("keydown",(function(e){l(e.shiftKey)})),window.addEventListener("keyup",(function(e){l(e.shiftKey)})),window.addEventListener("mousemove",(function(e){l(e.shiftKey)})),window.addEventListener("blur",(function(){l(!1)}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null==e?void 0:e.id,r=(0,o.useStateFromStoresObject)([d.default],(function(){return{muted:null!=n?d.default.isMuted(n):void 0,muteConfig:null!=n?d.default.getMuteConfig(n):void 0}}),[n]),c=r.muted,p=r.muteConfig,y=(0,s.useMutedUntilText)(p);if(null==n)return null;var m=[{time:u.MuteUntilSeconds.MINUTES_15,label:f.default.Messages.MUTE_DURATION_15_MINUTES},{time:u.MuteUntilSeconds.HOURS_1,label:f.default.Messages.MUTE_DURATION_1_HOUR},{time:u.MuteUntilSeconds.HOURS_8,label:f.default.Messages.MUTE_DURATION_8_HOURS},{time:u.MuteUntilSeconds.HOURS_24,label:f.default.Messages.MUTE_DURATION_24_HOURS},{time:u.MuteUntilSeconds.ALWAYS,label:f.default.Messages.MUTE_DURATION_ALWAYS}];return c?v(l.MenuItem,{id:"unmute-guild",label:f.default.Messages.UNMUTE_SERVER,subtext:y,action:function(){return i.default.updateGuildNotificationSettings(n,{muted:!1})}}):v(l.MenuItem,{id:"mute-guild",label:f.default.Messages.MUTE_SERVER,action:function(){return i.default.updateGuildNotificationSettings(n,{muted:!0})}},void 0,m.map((function(e){var r=e.time,o=e.label;return v(l.MenuItem,{id:""+r,label:o,action:function(){return function(e){if(null!=n){var r=e>0?(0,a.default)().add(e,"second").toISOString():null;i.default.updateGuildNotificationSettings(n,{muted:!0,mute_config:{selected_time_window:e,end_time:r}},t)}}(r)}},r)})))};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=c(n(5)),o=n(3),i=c(n(8477)),l=n(8253),u=n(1271),s=n(8512),d=c(n(181)),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(null==e)return o.default.Messages.EMBEDDED_ACTIVITIES_IN_ACTIVITY;switch(t){case a.ActivityTypes.WATCHING:return o.default.Messages.EMBEDDED_ACTIVITIES_WATCHING_APPLICATION.format({applicationName:e});case a.ActivityTypes.PLAYING:return o.default.Messages.EMBEDDED_ACTIVITIES_PLAYING_APPLICATION.format({applicationName:e});default:return o.default.Messages.EMBEDDED_ACTIVITIES_IN_APPLICATION.format({applicationName:e})}};var r,a=n(1),o=(r=n(6))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(8)),a=l(n(3)),o=l(n(2)),i=l(n(1305));n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(){return(s=Object.assign||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}).apply(this,arguments)}var d,f,c=Object.freeze({}),p={};function v(e){var t=e.lobbyId;delete p[t]}var y=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var a=r.prototype;return a.getAllVoiceStates=function(){return p},a.getVoiceStates=function(e){return p[e]||c},a.getVoiceState=function(e,t){return this.getVoiceStates(e)[t]},a.getLobbyIdsForUser=function(e){return Object.keys(p).filter((function(t){return null!=p[t][e]}))},r}(a.default.Store))(o.default,{CONNECTION_OPEN:function(e){var t=e.user,n=e.sessionId;p={},d=t.id,f=n},OVERLAY_INITIALIZE:function(e){var t=e.lobbyVoiceStates,n=e.user,a=e.sessionId;p={},r.default.each(t,(function(e,t){p[t]={},r.default.each(e,(function(e,n){p[t][n]=new i.default(e)}))})),d=n.id,f=a},LOBBY_VOICE_STATE_UPDATE:function(e){var t,n,r=e.sessionId,a=e.userId,o=e.lobbyId,l=e.channelId,u=e.mute,c=e.deaf,v=e.selfMute,y=e.selfDeaf,m=a===d&&r!==f,_=p[o]||{},h=_[a];if(null==l||m||(t=null==h?new i.default({userId:a,sessionId:r,channelId:l,mute:u,deaf:c,selfMute:v,selfDeaf:y}):h.merge({userId:a,sessionId:r,channelId:l,mute:u,deaf:c,selfMute:v,selfDeaf:y})),h===t)return!1;null==t?delete(_=s({},_))[a]:_=s({},_,((n={})[a]=t,n)),p[o]=_},LOBBY_DELETE:v,LOBBY_DISCONNECT:v});t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1329),a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(411)),o=n(305),i=f(n(1181)),l=f(n(13)),u=f(n(1267)),s=f(n(1178)),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}var v=p({},s.default,{openNativeAppModal:function(e){i.default.openNativeAppModal(e,d.RPCCommands.GUILD_TEMPLATE_BROWSER)},openMobileApp:function(e,t){if(!(null!=platform.ua&&platform.ua.toLowerCase().indexOf("googlebot")>-1)){var n=null!=e?(0,r.getGuildTemplateDynamicLinkTemplate)(e):(0,r.getDefaultDynamicLinkTemplate)(),i=(0,a.generateAttemptId)(),s=(0,a.default)(n,{utmSource:"template",fingerprint:t,attemptId:i});l.default.track(d.AnalyticEvents.DEEP_LINK_CLICKED,{fingerprint:(0,o.maybeExtractId)(t),attempt_id:i,source:"template",guild_template_code:e}),u.default.launch(s,(function(){}))}}});t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(9)),o=i(n(7664));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(e){var t=e.className;return u("div",{className:(0,a.default)(o.default.image,t)})}s.displayName="NoResultsImage"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isGuildEligibleForStageChannels=l,t.useGuildEligibleForStageChannels=function(e){return(0,a.useStateFromStores)([o.default],(function(){return l(e,[o.default])}),[e])};var r,a=n(3),o=(r=n(15))&&r.__esModule?r:{default:r},i=n(1);function l(e,t){var n,r=(void 0===t?[o.default]:t)[0];return Boolean(null===(n=r.getGuild(e))||void 0===n?void 0:n.hasFeature(i.GuildFeatures.COMMUNITY))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=h(n(0)),o=m(n(9)),i=m(n(29)),l=m(n(61)),u=h(n(9750)),s=m(n(153)),d=m(n(5971)),f=m(n(5950)),c=m(n(47)),p=n(1),v=m(n(6)),y=m(n(7671));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var g=function(e){var t=e.page,n=e.totalPageCount,r=e.onPageChange,i=a.useState(!1),u=i[0],d=i[1],f=a.useState(null),v=f[0],m=f[1],_=null!=v&&v>=1&&v<=n;return u?E(s.default,{autoFocus:!0,className:y.default.jumpToPageInlineInput,size:s.default.Sizes.MINI,value:null==v?"":""+v,onChange:function(e){var t=parseInt(e);""===e||isNaN(t)?m(null):m(t)},onBlur:function(){d(!1),m(null)},onKeyPress:function(e){e.which===p.KeyboardKeys.ENTER&&null!=v&&_&&(r(v),d(!1),m(null))}},t.key):E(l.default,{onClick:function(){return d(!0)}},t.key,E(c.default,{className:(0,o.default)(y.default.roundButton,y.default.gap),"aria-hidden":!0},void 0,"…"))},S=function(e){var t=e.currentPage,n=e.totalCount,r=e.pageSize,a=e.maxVisiblePages,s=e.onPageChange,c=Math.ceil(n/r),p=function(e){var t=e.pages;return e.hasMultiplePages?E("div",{className:(0,o.default)(y.default.pageControlContainer)},void 0,E("nav",{className:y.default.pageControl},void 0,t.map((function(e){switch(e.type){case u.PaginationTypes.BACK:return n=(t=e).key,r=t.disabled,a=t.navigateToPage,E(i.default,{className:y.default.endButton,innerClassName:y.default.endButtonInner,look:i.default.Looks.BLANK,color:i.default.Colors.TRANSPARENT,onClick:a,disabled:r,rel:"prev"},n,E(d.default,{className:y.default.iconCaret,"aria-hidden":!0}),E("span",{},void 0,v.default.Messages.BACK));case u.PaginationTypes.PAGE:return function(e){var t;return E(l.default,{className:(0,o.default)(y.default.roundButton,(t={},t[y.default.activeButton]=e.selected,t)),onClick:e.selected?void 0:e.navigateToPage,"aria-label":v.default.Messages.PAGINATION_PAGE_LABEL.format({pageNumber:e.targetPage}),"aria-current":e.selected?"page":void 0},e.key,E("span",{},void 0,e.targetPage))}(e);case u.PaginationTypes.GAP:return function(e){return E(g,{page:e,totalPageCount:c,onPageChange:s})}(e);case u.PaginationTypes.NEXT:return function(e){var t=e.key,n=e.disabled,r=e.navigateToPage;return E(i.default,{className:y.default.endButton,innerClassName:y.default.endButtonInner,look:i.default.Looks.BLANK,color:i.default.Colors.TRANSPARENT,onClick:r,disabled:n,rel:"next"},t,E("span",{},void 0,v.default.Messages.NEXT),E(f.default,{className:y.default.iconCaret,"aria-hidden":!0}))}(e);default:return null}var t,n,r,a})))):null};return E(u.default,{totalPageCount:c,selectedPage:t,maxVisiblePages:a,onPageChange:function(e){null!=s&&s(e)}},void 0,p)};S.displayName="Paginator";var O=S;t.default=O},function(e,t,n){e.exports=n.p+"300e574bfeb954dc85176e515eb7b57c.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculatePositionDeltas=i,t.moveItemFromTo=l,t.getPositionUpdates=u,t.default=void 0;var r=a(n(8));function a(e){return e&&e.__esModule?e:{default:e}}var o=new(a(n(26)).default)("DragAndDropUtils");function i(e,t,n,r,a){void 0===a&&(a=!0);var i=t.length;if(e.length!==i)return o.warn("Arrays are not of the same length!",e,t),[];var l=e.map(n).sort().join(":"),u=t.map(n).sort().join(":");if(l!==u)return o.warn("Object IDs in the old ordering and the new ordering are not the same.",l,u),[];for(var s={},d=0;d<i;d++)s[n(e[d])]=r(e[d]);for(var f=[],c=0;c<i;c++){var p=n(t[c]),v=a?c:i-1-c;s[p]===v&&r(t[c])===v||f.push({id:p,position:v})}return a||f.reverse(),f}function l(e,t,n){var r=e[t],a=[].concat(e);return a.splice(t,1),a.splice(n,0,r),a}function u(e,t,n,a,o,u){return void 0===u&&(u=!0),Array.isArray(e)||(e=r.default.values(e)),i(e,l(e,t,n),a,o,u)}var s={moveItemFromTo:l,calculatePositionDeltas:i,getPositionUpdates:u};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=f(n(8424)),l=f(n(8497)),u=f(n(8652)),s=f(n(8653)),d=f(n(7343));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e){var t,n=e.message,r=e.compact,a=e.className,f=e.isGroupStart,c=e.renderMediaEmbeds,y=void 0===c||c,m=(0,l.default)(n,y).content;return p(i.default,{compact:r,className:(0,o.default)(a,(t={},t[d.default.message]=!0,t[d.default.cozyMessage]=!r,t[d.default.groupStart]=f,t)),childrenHeader:(0,s.default)(v({},e,{guildId:void 0})),childrenMessageContent:(0,u.default)(e,m)})}y.displayName="Message";var m=a.memo(y);t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(88))&&r.__esModule?r:{default:r},i=n(42),l=n(1);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}var d=a.forwardRef((function(e,t){var n=e.href,r=e.children,u=e.onClick,d=e.onKeyPress,f=e.focusProps,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["href","children","onClick","onKeyPress","focusProps"]),p=a.useCallback((function(e){e.repeat||(e.charCode!==l.KeyboardKeys.SPACE&&e.charCode!==l.KeyboardKeys.ENTER||(e.preventDefault(),null!=n&&(0,i.transitionTo)(n),null==u||u()),null==d||d(e))}),[n,d,u]),v=a.useCallback((function(e){e.metaKey||e.shiftKey||0!==e.button||(e.preventDefault(),e.stopPropagation(),null!=n&&(0,i.transitionTo)(n),null==u||u())}),[n,u]),y=a.createElement("a",s({ref:t,href:n,onClick:v,onKeyPress:p},c),r);return a.createElement(o.default,f,y)}));t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AddRoleMembersModalContent=L,t.default=D;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(202),i=n(3),l=C(n(8254)),u=n(8297),s=n(1229),d=n(8482),f=C(n(8355)),c=C(n(29)),p=C(n(55)),v=n(85),y=C(n(8448)),m=n(35),_=C(n(47)),h=C(n(24)),E=C(n(723)),g=n(8674),S=n(8529),O=n(1),I=C(n(6)),T=C(n(7683));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function A(){return(A=Object.assign||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}).apply(this,arguments)}function P(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function R(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){P(o,r,a,i,l,"next",e)}function l(e){P(o,r,a,i,l,"throw",e)}i(void 0)}))}}function L(e){var t,n=e.onClose,r=e.roleId,v=e.guildId,C=e.headerId,b=e.onBack,P=e.isCreateRoleFlow,L=e.focusSearchAfterReady,D=e.isReady,w=(0,i.useStateFromStores)([f.default],(function(){return f.default.getRole(r)}),[r]),j=a.useState(""),k=j[0],U=j[1],G=a.useState({}),F=G[0],B=G[1],H=a.useState(!1),x=H[0],V=H[1];a.useEffect((function(){E.default.requestMembers(v,k.trim().toLowerCase(),S.ADD_MEMBER_QUERY_LIMIT)}),[v,k]);var W=(0,S.useGuildMembers)(v),Y=a.useMemo((function(){return W.filter((function(e){return!e.roles.includes(r)}))}),[W,r]),z=a.useMemo((function(){return Y.filter((function(e){return(0,S.filterFullMembersByQuery)(k,e)}))}),[k,Y]),K=a.useCallback(R(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Object.values(F).map((function(e){return e.row.id})),V(!0),e.prev=2,e.next=5,l.default.bulkAddMemberRoles(v,r,t);case 5:(0,g.requestMembersForRole)(v,r,!1),n(),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(2),V(!1);case 12:case"end":return e.stop()}}),e,null,[[2,9]])}))),[v,r,F,n]),$=a.useCallback((function(e){var t=e;B((function(e){var n=A({},e),r=(0,d.getFullRowId)(t);return r in n?(delete n[r],n):(n[r]={display:{type:u.RichTagTypes.MEMBER,label:t.name,avatar:t.avatarURL},row:t},n)}))}),[]),Z=a.useCallback((function(e){B((function(t){t[e];return function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(t,[e].map(N))}))}),[]),q=a.useMemo((function(){return z.map((function(e){return{rowType:s.RowType.MEMBER,name:e.name,userTag:e.userTag,id:e.id,avatarURL:e.avatarURL,bot:e.bot,verifiedBot:e.verifiedBot,disabled:!1,key:e.id}}))}),[z]);return a.createElement(a.Fragment,null,M(m.ModalHeader,{className:T.default.header,separator:!1,id:C,direction:p.default.Direction.VERTICAL},void 0,M(_.default,{size:_.default.Sizes.SIZE_24},void 0,I.default.Messages.ROLE_ADD_MEMBERS_TITLE),P?M(h.default,{className:T.default.subtitle,color:h.default.Colors.STANDARD,size:h.default.Sizes.SIZE_16},void 0,I.default.Messages.ROLE_CREATE_ADD_MEMBERS_SUBTITLE):M("div",{className:T.default.roleContainer},void 0,M(y.default,{color:null!==(t=null==w?void 0:w.colorString)&&void 0!==t?t:(0,o.int2hex)(O.DEFAULT_ROLE_COLOR),width:16,height:16}),M(h.default,{className:T.default.roleName,color:h.default.Colors.STANDARD,size:h.default.Sizes.SIZE_16},void 0,null==w?void 0:w.name))),M(d.MemberRoleSelector,{listClassName:T.default.list,pendingAdditions:F,query:k,onQueryChange:U,onClickRow:$,onRemovePendingAddition:Z,roles:[],members:q,placeholderText:I.default.Messages.ROLE_ADD_MEMBERS_SEARCH,renderEmptyText:function(e){return I.default.Messages.ROLE_EDIT_MEMBERS_NO_RESULTS.format({query:e})},focusSearchAfterReady:L,isReady:D}),M(m.ModalFooter,{className:T.default.footer},void 0,M("div",{className:T.default.buttonsRight},void 0,P&&0===Object.keys(F).length?M(c.default,{onClick:n,color:c.default.Colors.GREY},void 0,I.default.Messages.ROLE_CREATION_SKIP):M(c.default,{onClick:K,submitting:x},void 0,I.default.Messages.ADD),!P&&M(c.default,{look:c.default.Looks.LINK,color:c.default.Colors.PRIMARY,size:c.default.Sizes.SMALL,onClick:n},void 0,I.default.Messages.CANCEL)),null!=b&&M(c.default,{color:c.default.Colors.PRIMARY,look:c.default.Looks.LINK,size:c.default.Sizes.TINY,onClick:b,className:T.default.backButton},void 0,I.default.Messages.BACK)))}function D(e){var t=e.transitionState,n=e.onClose,r=e.roleId,a=e.guildId,o=(0,v.useUID)();return M(m.ModalRoot,{transitionState:t,"aria-labelledby":o,size:m.ModalSize.SMALL},void 0,M(L,{onClose:n,roleId:r,guildId:a,headerId:o}))}D.displayName="AddRoleMembersModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("path",{d:"M0 0h24v24H0z",fill:"none"});function f(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,f=void 0===l?"currentColor":l,c=e.className,p=e.foreground,v=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","className","foreground"]);return o.createElement("svg",u({},(0,i.default)(v),{className:c,width:n,height:a,viewBox:"0 0 24 24"}),d,s("path",{className:p,fill:f,d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z"}))}f.displayName="NotAllowed"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useLockTooltip=function(e,t,n){var r=(0,o.useStateFromStores)([i.default],(function(){return!i.default.isRoleHigher(e,t,n)}),[e,t,n]);if(a.useMemo((function(){return r&&n.id===(null==t?void 0:t.id)}),[r,n,t]))return s.default.Messages.HELP_ROLE_LOCKED_MINE;if(r)return s.default.Messages.HELP_ROLE_LOCKED;return null},t.default=v;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=d(n(40)),l=d(n(149)),u=d(n(1221)),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e){var t=e.className,n=e.tooltipText,r=e.width,o=void 0===r?16:r,i=e.height,s=void 0===i?16:i,d=c(u.default,{width:o,height:s});return c(l.default,{text:n},void 0,(function(e){return a.createElement("div",p({className:t},e),d)}))}v.displayName="LockWithTooltip"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=r.useState(null),n=t[0],o=t[1],i=r.useCallback((function(e){o(e)}),[]),l=r.useCallback((function(){o(null)}),[]),u=r.useCallback((function(t){l();var r=e.find((function(e){var t=e.id;return n===t})),o=e.find((function(e){var n=e.id;return t===n}));if(null!=r&&null!=o&&r!==o){var i=function(e,t,n){var r=[].concat(e),a=r.indexOf(t),o=r.indexOf(n),i=o-a>0?1:0;return r.splice(a,1),o=r.indexOf(n),r.splice(o+i,0,t),r}(e,r,o);(0,a.updateRoleSort)([].concat(i.map((function(e){return e.id}))))}}),[e,n,l]);return{draggingRoleId:n,handleDragStart:i,handleDragReset:l,handleDragComplete:u}};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(8459);function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=d(n(61)),o=d(n(683)),i=d(n(696)),l=d(n(24)),u=d(n(6)),s=d(n(7694));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var p=c(i.default,{width:20,height:20});function v(e){var t=e.role,n=e.onClick;return c(a.default,{className:s.default.container,onClick:n},void 0,c("div",{className:s.default.icon},void 0,p),c("div",{className:s.default.description},void 0,c(l.default,{className:s.default.label,color:l.default.Colors.CUSTOM,size:l.default.Sizes.SIZE_16},void 0,u.default.Messages.ROLE_EVERYONE_LABEL),c(l.default,{color:l.default.Colors.CUSTOM,size:l.default.Sizes.SIZE_12},void 0,t.name," • ",u.default.Messages.ROLE_EVERYONE_DESCRIPTION)),c(o.default,{className:s.default.arrow,direction:o.default.Directions.RIGHT}))}v.displayName="GuildSettingsRolesEveryoneButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(8)),a=f(n(3)),o=f(n(2)),i=f(n(8369)),l=f(n(8255)),u=f(n(40)),s=f(n(9175)),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(){return(m=Object.assign||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}).apply(this,arguments)}var _,h,E=[],g=[],S=null,O=null,I=!1,T=!1,C=d.FormStates.CLOSED,b={},M=!1;function N(e){if(e.section!==d.GuildSettingsSections.INTEGRATIONS)return!1;if(h=d.IntegrationSettingsSections.OVERVIEW,null==_){var t=l.default.getGuildId();null!=t&&i.default.fetchForGuild(t),A(!1)}}function A(e){if(null!=(_=l.default.getProps().guild)&&u.default.can(d.Permissions.MANAGE_GUILD,_)){var t=l.default.getProps().integrations;null==t&&(T=!0),E=t||[]}else E=[];if(g=null!=_&&u.default.can(d.Permissions.MANAGE_WEBHOOKS,_)?s.default.getWebhooksForGuild(_.id):[],!e&&null!=S){var n=R(S.id);null!=n&&(S=n)}if(null!=O){var r=L(O.id);null!=r&&(O=r)}C=d.FormStates.OPEN,b={},M=!1}var P=r.default.debounce((function(){M&&(null!=S?r.default.isEqual(S,R(S.id))&&(M=!1):null!=O?r.default.isEqual(O,L(O.id))&&(M=!1):M=!1,M||D.emitChange())}),500);function R(e){return E.find((function(t){return t.id===e}))}function L(e){return g.find((function(t){return t.id===e}))}var D=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var a,o,i,f=r.prototype;return f.initialize=function(){this.waitFor(l.default,s.default,u.default)},f.hasChanges=function(){return M},f.getIntegration=function(e){return R(e)},f.getWebhook=function(e){return L(e)},f.showNotice=function(){return this.hasChanges()},f.getProps=function(){return{submitting:C===d.FormStates.SUBMITTING,integrations:E,webhooks:g,editedIntegration:S,editedWebhook:O,section:h,isFetching:T||I,hasChanges:this.hasChanges(),errors:b}},a=r,(o=[{key:"guild",get:function(){return _}},{key:"integrations",get:function(){return E}},{key:"webhooks",get:function(){return g}},{key:"editedIntegration",get:function(){return S}},{key:"editedWebhook",get:function(){return O}},{key:"formState",get:function(){return C}}])&&c(a.prototype,o),i&&c(a,i),r}(a.default.Store))(o.default,__OVERLAY__?{}:{INTEGRATION_SETTINGS_INIT:function(e){return A(!1)},INTEGRATION_SETTINGS_SAVE_SUCCESS:function(e){return A(!0)},GUILD_SETTINGS_INIT:N,GUILD_SETTINGS_SET_SECTION:N,INTEGRATION_SETTINGS_SET_SECTION:function(e){var t=e.section;h=t},INTEGRATION_SETTINGS_START_EDITING_INTEGRATION:function(e){var t=R(e.integrationId);if(null==t)return!1;S=t,O=null,b={},M=!1},INTEGRATION_SETTINGS_STOP_EDITING_INTEGRATION:function(e){return S=null,b={},void(M=!1)},INTEGRATION_SETTINGS_UPDATE_INTEGRATION:function(e){var t=e.settings;if(null==S)return!1;S=m({},S),null!=t.enableEmoticons&&S.enable_emoticons!==t.enableEmoticons&&(S.enable_emoticons=t.enableEmoticons,M=!0),null!=t.expireBehavior&&S.expire_behavior!==t.expireBehavior&&(S.expire_behavior=t.expireBehavior,M=!0),null!=t.expireGracePeriod&&S.expire_grace_period!==t.expireGracePeriod&&(S.expire_grace_period=t.expireGracePeriod,M=!0),M&&P()},INTEGRATION_SETTINGS_UPDATE_WEBHOOK:function(e){var t=e.settings;if(null==O)return!1;O=m({},O),null!=t.name&&O.name!==t.name&&(O.name=t.name,M=!0),void 0!==t.avatar&&O.avatar!==t.avatar&&(O.avatar=t.avatar,M=!0),null!=t.channelId&&O.channel_id!==t.channelId&&(O.channel_id=t.channelId,M=!0),M&&P()},INTEGRATION_SETTINGS_START_EDITING_WEBHOOK:function(e){var t=L(e.webhookId);if(null==t)return!1;O=t,S=null,b={},M=!1},INTEGRATION_SETTINGS_STOP_EDITING_WEBHOOK:function(e){return O=null,b={},void(M=!1)},GUILD_SETTINGS_CLOSE:function(e){return _=null,E=[],g=[],S=null,O=null,C=d.FormStates.CLOSED,void(M=!1)},GUILD_SETTINGS_LOADED_INTEGATIONS:function(e){var t=e.guildId,n=e.integrations;if(null==_||t!==_.id||C===d.FormStates.SUBMITTING)return!1;T=!1;for(var r,a=function(){var e,t,n,a=r.value;null==E.find((function(e){if(e.id===a.id)return!0}))&&(E.push(a),a.type===(null===(e=S)||void 0===e?void 0:e.type)&&(null===(t=a.account)||void 0===t?void 0:t.id)===(null===(n=S.account)||void 0===n?void 0:n.id)&&(S=a))},o=v(n);!(r=o()).done;)a();for(var i=function(e){var t=E[e],r=n.find((function(e){if(e.id===t.id)return!0}));if(r){var a,o=m({},t,{},r);(null===(a=S)||void 0===a?void 0:a.id)===o.id&&(!1===o.enabled?S=null:M||(S=o)),E[e]=o}else{var i;(null===(i=S)||void 0===i?void 0:i.id)===t.id&&(S=null),E.splice(e,1)}},l=E.length-1;l>=0;l--)i(l);E=[].concat(E),P()},WEBHOOKS_UPDATE:function(e){var t=e.guildId,n=e.channelId,r=e.webhooks;if(null==_||t!==_.id||null==r||C===d.FormStates.SUBMITTING)return!1;I=!1;for(var a=function(e){var t=g[e];if(null!=n&&(null==t?void 0:t.channel_id)!==n)return"continue";var a=r.find((function(e){if(e.id===t.id)return!0}));if(null!=a){var o,i=m({},t,{},a);g[e]=i,M||(null===(o=O)||void 0===o?void 0:o.id)!==i.id||(O=i)}else{var l;(null===(l=O)||void 0===l?void 0:l.id)===t.id&&(O=null),g.splice(e,1)}},o=g.length-1;o>=0;o--)a(o);for(var i,l=function(){var e=i.value;null==g.find((function(t){if(t.id===e.id)return!0}))&&g.push(e)},u=v(r);!(i=u()).done;)l();g=[].concat(g),P()},INTEGRATION_SETTINGS_SUBMITTING:function(e){return C=d.FormStates.SUBMITTING,void(b={})},INTEGRATION_SETTINGS_SAVE_FAILURE:function(e){if(C!==d.FormStates.SUBMITTING)return!1;C=d.FormStates.OPEN,b=e.errors||{}}}),w=D;t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=null,s=0,d=null,f=!1;var c=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var a,o,c,p=r.prototype;return p.showNotice=function(){return u!==d},p.hasError=function(){return f},a=r,(o=[{key:"vanityURLCode",get:function(){return u}},{key:"originalVanityURLCode",get:function(){return d}},{key:"vanityURLUses",get:function(){return s}}])&&i(a.prototype,o),c&&i(a,c),r}(r.default.Store))(a.default,{GUILD_SETTINGS_SET_VANITY_URL:function(e){d=u=e.code||"",s=e.uses,f=!1},GUILD_SETTINGS_VANITY_URL_CLOSE:function(e){return d=u=null,s=0,void(f=!1)},GUILD_SETTINGS_VANITY_URL_RESET:function(e){return u=d,void(s=0)},GUILD_SETTINGS_VANITY_URL_SET:function(e){u=e.code,s=0},GUILD_SETTINGS_VANITY_URL_ERROR:function(e){f=!0}});t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(480)),i=d(n(61)),l=d(n(8503)),u=d(n(278)),s=d(n(9145));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).renderItems=function(e){var n=t.props,r=n.items,a=n.renderItem;return r.reduce((function(t,n,r){return(0,o.default)(e.toLowerCase(),n.label.toLowerCase())&&t.push(a(n,r)),t}),[])},t.renderPopout=function(e){var n=e.closePopout,r=t.props,a=r.placeholder,o=r.popoutClassName,i=r.onChange,u=r.value;return p(l.default,{className:o,placeholder:a,value:new Set([u.value]),onChange:i,onClose:n},void 0,(function(e){return t.renderItems(e)}))},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n),r.prototype.render=function(){var e=this.props,t=e.label,n=e.value,r=e.popoutProps,o=e.renderValue,l=e.className,d=p(s.default,{label:t,value:n,renderValue:o});return a.createElement(u.default,c({},r,{renderPopout:this.renderPopout}),(function(e){return a.createElement(i.default,c({},e,{className:l}),d)}))},r}(a.PureComponent);y.displayName="SearchableQuickSelectWrapper";var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getChangeTitle=function(e){switch(e.action){case M.AuditLogActions.GUILD_UPDATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_UPDATE;case M.AuditLogActions.CHANNEL_CREATE:var t=e.changes?e.changes.find((function(e){return e.key===M.AuditLogChangeKeys.TYPE})):null;if(null==t)throw new Error("[AuditLog] Could not find type change for channel create");switch(t.newValue){case M.ChannelTypes.GUILD_STAGE_VOICE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_STAGE_CREATE;case M.ChannelTypes.GUILD_VOICE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_VOICE_CREATE;case M.ChannelTypes.GUILD_CATEGORY:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_CATEGORY_CREATE;default:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_TEXT_CREATE}case M.AuditLogActions.CHANNEL_UPDATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_UPDATE;case M.AuditLogActions.CHANNEL_DELETE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_DELETE;case M.AuditLogActions.CHANNEL_OVERWRITE_CREATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_OVERWRITE_CREATE;case M.AuditLogActions.CHANNEL_OVERWRITE_UPDATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_OVERWRITE_UPDATE;case M.AuditLogActions.CHANNEL_OVERWRITE_DELETE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_OVERWRITE_DELETE;case M.AuditLogActions.MEMBER_KICK:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_KICK;case M.AuditLogActions.MEMBER_PRUNE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_PRUNE;case M.AuditLogActions.MEMBER_BAN_ADD:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_BAN_ADD;case M.AuditLogActions.MEMBER_BAN_REMOVE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_BAN_REMOVE;case M.AuditLogActions.MEMBER_UPDATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_UPDATE;case M.AuditLogActions.MEMBER_ROLE_UPDATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_ROLE_UPDATE;case M.AuditLogActions.MEMBER_MOVE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_MOVE;case M.AuditLogActions.MEMBER_DISCONNECT:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_DISCONNECT;case M.AuditLogActions.BOT_ADD:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_BOT_ADD;case M.AuditLogActions.ROLE_CREATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_CREATE;case M.AuditLogActions.ROLE_UPDATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_UPDATE;case M.AuditLogActions.ROLE_DELETE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_DELETE;case M.AuditLogActions.INVITE_CREATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_CREATE;case M.AuditLogActions.INVITE_UPDATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_UPDATE;case M.AuditLogActions.INVITE_DELETE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_DELETE;case M.AuditLogActions.WEBHOOK_CREATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_CREATE;case M.AuditLogActions.WEBHOOK_UPDATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_UPDATE;case M.AuditLogActions.WEBHOOK_DELETE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_DELETE;case M.AuditLogActions.EMOJI_CREATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_EMOJI_CREATE;case M.AuditLogActions.EMOJI_UPDATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_EMOJI_UPDATE;case M.AuditLogActions.EMOJI_DELETE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_EMOJI_DELETE;case M.AuditLogActions.STICKER_CREATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_STICKER_CREATE;case M.AuditLogActions.STICKER_UPDATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_STICKER_UPDATE;case M.AuditLogActions.STICKER_DELETE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_STICKER_DELETE;case M.AuditLogActions.MESSAGE_DELETE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MESSAGE_DELETE;case M.AuditLogActions.MESSAGE_BULK_DELETE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MESSAGE_BULK_DELETE;case M.AuditLogActions.MESSAGE_PIN:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MESSAGE_PIN;case M.AuditLogActions.MESSAGE_UNPIN:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MESSAGE_UNPIN;case M.AuditLogActions.INTEGRATION_CREATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INTEGRATION_CREATE;case M.AuditLogActions.INTEGRATION_UPDATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INTEGRATION_UPDATE;case M.AuditLogActions.INTEGRATION_DELETE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INTEGRATION_DELETE;case M.AuditLogActions.STAGE_INSTANCE_CREATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_STAGE_INSTANCE_CREATE;case M.AuditLogActions.STAGE_INSTANCE_UPDATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_STAGE_INSTANCE_UPDATE;case M.AuditLogActions.STAGE_INSTANCE_DELETE:return null!=e.userId?N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_STAGE_INSTANCE_DELETE:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_STAGE_INSTANCE_DELETE_NO_USER;case M.AuditLogActions.GUILD_SCHEDULED_EVENT_CREATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_CREATE;case M.AuditLogActions.GUILD_SCHEDULED_EVENT_UPDATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_UPDATE;case M.AuditLogActions.GUILD_SCHEDULED_EVENT_DELETE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_DELETE;case M.AuditLogActions.THREAD_CREATE:var n=e.changes?e.changes.find((function(e){return e.key===M.AuditLogChangeKeys.TYPE})):null;if(null==n)throw new Error("[AuditLog] Could not find type change for thread create");switch(n.newValue){case M.ChannelTypes.PRIVATE_THREAD:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_PRIVATE_THREAD_CREATE;case M.ChannelTypes.ANNOUNCEMENT_THREAD:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ANNOUNCEMENT_THREAD_CREATE;default:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_THREAD_CREATE}case M.AuditLogActions.THREAD_UPDATE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_THREAD_UPDATE;case M.AuditLogActions.THREAD_DELETE:return N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_THREAD_DELETE;default:return null}},t.getStringForPermission=function(e,t){switch(e){case M.Permissions.CREATE_INSTANT_INVITE:return N.default.Messages.CREATE_INSTANT_INVITE;case M.Permissions.KICK_MEMBERS:return N.default.Messages.KICK_MEMBERS;case M.Permissions.BAN_MEMBERS:return N.default.Messages.BAN_MEMBERS;case M.Permissions.ADMINISTRATOR:return N.default.Messages.ADMINISTRATOR;case M.Permissions.MANAGE_CHANNELS:return t.targetType===M.AuditLogTargetTypes.CHANNEL||t.targetType===M.AuditLogTargetTypes.CHANNEL_OVERWRITE?N.default.Messages.MANAGE_CHANNEL:N.default.Messages.MANAGE_CHANNELS;case M.Permissions.MANAGE_GUILD:return N.default.Messages.MANAGE_SERVER;case M.Permissions.VIEW_GUILD_ANALYTICS:return N.default.Messages.VIEW_GUILD_ANALYTICS;case M.Permissions.CHANGE_NICKNAME:return N.default.Messages.CHANGE_NICKNAME;case M.Permissions.MANAGE_NICKNAMES:return N.default.Messages.MANAGE_NICKNAMES;case M.Permissions.MANAGE_ROLES:return N.default.Messages.MANAGE_ROLES;case M.Permissions.MANAGE_WEBHOOKS:return N.default.Messages.MANAGE_WEBHOOKS;case M.Permissions.MANAGE_EMOJIS:return null==T.default.getGuildId()?N.default.Messages.MANAGE_EMOJIS:N.default.Messages.MANAGE_EMOJIS_AND_STICKERS;case M.Permissions.VIEW_AUDIT_LOG:return N.default.Messages.VIEW_AUDIT_LOG;case M.Permissions.VIEW_CHANNEL:return N.default.Messages.READ_MESSAGES;case M.Permissions.SEND_MESSAGES:return N.default.Messages.SEND_MESSAGES;case M.Permissions.SEND_TTS_MESSAGES:return N.default.Messages.SEND_TTS_MESSAGES;case M.Permissions.USE_APPLICATION_COMMANDS:return N.default.Messages.USE_APPLICATION_COMMANDS;case M.Permissions.MANAGE_MESSAGES:return N.default.Messages.MANAGE_MESSAGES;case M.Permissions.EMBED_LINKS:return N.default.Messages.EMBED_LINKS;case M.Permissions.ATTACH_FILES:return N.default.Messages.ATTACH_FILES;case M.Permissions.READ_MESSAGE_HISTORY:return N.default.Messages.READ_MESSAGE_HISTORY;case M.Permissions.MENTION_EVERYONE:return N.default.Messages.MENTION_EVERYONE;case M.Permissions.USE_EXTERNAL_EMOJIS:return N.default.Messages.USE_EXTERNAL_EMOJIS;case M.Permissions.ADD_REACTIONS:return N.default.Messages.ADD_REACTIONS;case M.Permissions.CONNECT:return N.default.Messages.CONNECT;case M.Permissions.SPEAK:return N.default.Messages.SPEAK;case M.Permissions.MUTE_MEMBERS:return N.default.Messages.MUTE_MEMBERS;case M.Permissions.DEAFEN_MEMBERS:return N.default.Messages.DEAFEN_MEMBERS;case M.Permissions.MOVE_MEMBERS:return N.default.Messages.MOVE_MEMBERS;case M.Permissions.USE_VAD:return N.default.Messages.USE_VAD;case M.Permissions.PRIORITY_SPEAKER:return N.default.Messages.PRIORITY_SPEAKER;case M.Permissions.STREAM:return N.default.Messages.VIDEO;case M.Permissions.REQUEST_TO_SPEAK:return N.default.Messages.REQUEST_TO_SPEAK;case M.Permissions.MANAGE_EVENTS:return N.default.Messages.MANAGE_EVENTS;case M.Permissions.USE_PUBLIC_THREADS:return N.default.Messages.USE_PUBLIC_THREADS;case M.Permissions.USE_PRIVATE_THREADS:return N.default.Messages.USE_PRIVATE_THREADS;case M.Permissions.MANAGE_THREADS:return N.default.Messages.MANAGE_THREADS}return null},t.transformLogs=function(e,t){var n=[];return e.forEach((function(e){var r=function(e,t){switch(e.targetType){case M.AuditLogTargetTypes.GUILD:return t;case M.AuditLogTargetTypes.CHANNEL:case M.AuditLogTargetTypes.CHANNEL_OVERWRITE:return k(e,M.AuditLogChangeKeys.NAME,(function(e){return g.default.getChannel(e)}),(function(e){return(0,p.computeChannelName)(e,C.default,I.default,!0)}));case M.AuditLogTargetTypes.USER:return k(e,M.AuditLogChangeKeys.NICK,(function(e){return C.default.getUser(e)}),(function(e){return e}));case M.AuditLogTargetTypes.ROLE:return k(e,M.AuditLogChangeKeys.NAME,(function(e){return t.getRole(e)}),(function(e){return e.name}));case M.AuditLogTargetTypes.INVITE:return k(e,M.AuditLogChangeKeys.CODE,M.NOOP_NULL);case M.AuditLogTargetTypes.INTEGRATION:return k(e,M.AuditLogChangeKeys.TYPE,(function(e){return O.default.integrations.find((function(t){return t.id===e}))}),(function(e){return e.name}));case M.AuditLogTargetTypes.WEBHOOK:return k(e,M.AuditLogChangeKeys.NAME,(function(e){return O.default.webhooks.find((function(t){return t.id===e}))}),(function(e){return e.name}));case M.AuditLogTargetTypes.EMOJI:return k(e,M.AuditLogChangeKeys.NAME,(function(e){return S.default.getGuildEmoji(t.id).find((function(t){return t.id===e}))}),(function(e){return e.name}));case M.AuditLogTargetTypes.STICKER:return k(e,M.AuditLogChangeKeys.NAME,(function(e){return h.default.getStickerById(e)}),(function(e){return e.name}));case M.AuditLogTargetTypes.STAGE_INSTANCE:return k(e,M.AuditLogChangeKeys.TOPIC,(function(e){var n;return null===(n=Object.values(_.default.getStageInstancesByGuild(t.id)))||void 0===n?void 0:n.find((function(t){return t.id===e}))}),(function(e){return e.topic}));case M.AuditLogTargetTypes.GUILD_SCHEDULED_EVENT:return k(e,M.AuditLogChangeKeys.NAME,(function(e){return O.default.guildScheduledEvents.find((function(t){return t.id===e}))}),(function(e){return e.name}));case M.AuditLogTargetTypes.THREAD:return k(e,M.AuditLogChangeKeys.NAME,(function(e){return O.default.threads.find((function(t){return t.id===e}))}),(function(e){return e.name}));default:return R.warn("Unknown targetType for log",e),null}}(e,t),a=C.default.getUser(e.userId);if(null!=a&&(null!=r||[M.AuditLogActions.MEMBER_PRUNE,M.AuditLogActions.MEMBER_DISCONNECT,M.AuditLogActions.MEMBER_MOVE].includes(e.action))){if(null!=(e=(e=(e=e.set("user",a)).set("target",r)).set("options",function(e){if(null!=e.options){var t=P({},e.options);switch(e.options.type){case M.AuditLogSubtargetTypes.USER:t.subtarget=U(e.options.id,(function(e){return C.default.getUser(e)}),(function(e){return e.tag}));break;case M.AuditLogSubtargetTypes.ROLE:t.subtarget=U(e.options.role_name,M.NOOP_NULL)}return null!=e.options.channel_id&&(t.channel=k(e,"",(function(e){return g.default.getChannel(e)}),(function(e){return e}),e.options.channel_id)),e.options.members_removed&&(t.count=e.options.members_removed),t}return e.options}(e))).changes){var o=[];e.changes.forEach((function(e){var t=function(e){switch(e.key){case M.AuditLogChangeKeys.OWNER_ID:return j(e,(function(e){return C.default.getUser(e)}));case M.AuditLogChangeKeys.CHANNEL_ID:case M.AuditLogChangeKeys.AFK_CHANNEL_ID:case M.AuditLogChangeKeys.SYSTEM_CHANNEL_ID:case M.AuditLogChangeKeys.RULES_CHANNEL_ID:case M.AuditLogChangeKeys.PUBLIC_UPDATES_CHANNEL_ID:return j(e,(function(e){return g.default.getChannel(e)}),(function(e){return(0,p.computeChannelName)(e,C.default,I.default,!0)}));case M.AuditLogChangeKeys.AFK_TIMEOUT:return j(e,(function(e){return e/60}));case M.AuditLogChangeKeys.BITRATE:return j(e,(function(e){return e/1e3}));case M.AuditLogChangeKeys.COLOR:return j(e,(function(e){return(0,c.int2hex)(e).toUpperCase()}));case M.AuditLogChangeKeys.MAX_AGE:return j(e,(function(e){var t=b.default.getMaxAgeOptions.find((function(t){var n=t.value;return e===n}));return t?t.label:e}));case M.AuditLogChangeKeys.PERMISSIONS:var t=[],n=w(e.oldValue,e.newValue),r=n.added,a=n.removed;if(r.length>0){var o=new E.AuditLogChange(M.AuditLogChangeKeys.PERMISSIONS_GRANTED,null,r);t.push(o)}if(a.length){var i=new E.AuditLogChange(M.AuditLogChangeKeys.PERMISSIONS_DENIED,null,a);t.push(i)}return t;case M.AuditLogChangeKeys.PERMISSIONS_GRANTED:case M.AuditLogChangeKeys.PERMISSIONS_DENIED:var l=[],u=w(e.oldValue,e.newValue),s=u.added,d=u.removed;if(s.length>0){var f=new E.AuditLogChange(e.key,null,s);l.push(f)}if(d.length){var v=new E.AuditLogChange(M.AuditLogChangeKeys.PERMISSIONS_RESET,d,d);l.push(v)}return l;case M.AuditLogChangeKeys.PREFERRED_LOCALE:return j(e,(function(e){var t=N.default.getAvailableLocales().find((function(t){return t.value===e}));return null!=t?t.name:null}));case M.AuditLogChangeKeys.VIDEO_QUALITY_MODE:return j(e,(function(e){return e===M.VideoQualityMode.FULL?N.default.Messages.VIDEO_QUALITY_MODE_FULL:N.default.Messages.VIDEO_QUALITY_MODE_AUTO}))}return e}(e);Array.isArray(t)?t.forEach((function(e){return o.push(e)})):o.push(t)})),e=e.set("changes",o)}n.push(e)}})),n},t.ACTION_FILTER_ITEMS=t.NotRenderedChanges=t.ThreadChangeStrings=t.GuildScheduledEventChangeStrings=t.StageInstanceChangeStrings=t.IntegrationChangeStrings=t.StickerChangeStrings=t.EmojiChangeStrings=t.WebhookChangeStrings=t.InviteChangeStrings=t.RoleChangeStrings=t.UserChangeStrings=t.ChannelChangeStrings=t.GuildChangeStrings=t.DEFAULT_FOR_STRINGS_KEY=void 0;var r,a,o,i,l,u,s,d,f=A(n(63)),c=n(202),p=n(180),v=A(n(26)),y=n(8423),m=n(207),_=A(n(81)),h=A(n(362)),E=n(8681),g=A(n(10)),S=A(n(249)),O=A(n(8680)),I=A(n(70)),T=A(n(107)),C=A(n(12)),b=A(n(8286)),M=n(1),N=A(n(6));function A(e){return e&&e.__esModule?e:{default:e}}function P(){return(P=Object.assign||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}).apply(this,arguments)}var R=new v.default("AuditLogUtils");t.DEFAULT_FOR_STRINGS_KEY=-1;var L=function(){var e;return(e={})[M.AuditLogChangeKeys.REASON]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_COMMON_REASON,e};t.GuildChangeStrings=function(){var e,t,n,r,a;return P(((a={})[M.AuditLogChangeKeys.NAME]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_NAME_CHANGE,a[M.AuditLogChangeKeys.DESCRIPTION]=F(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_DESCRIPTION_CLEAR,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_DESCRIPTION_CHANGE),a[M.AuditLogChangeKeys.ICON_HASH]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_ICON_HASH_CHANGE,a[M.AuditLogChangeKeys.SPLASH_HASH]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_SPLASH_HASH_CHANGE,a[M.AuditLogChangeKeys.DISCOVERY_SPLASH_HASH]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_DISCOVERY_SPLASH_HASH_CHANGE,a[M.AuditLogChangeKeys.BANNER_HASH]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_BANNER_HASH_CHANGE,a[M.AuditLogChangeKeys.OWNER_ID]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_OWNER_ID_CHANGE,a[M.AuditLogChangeKeys.REGION]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_REGION_CHANGE,a[M.AuditLogChangeKeys.PREFERRED_LOCALE]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_PREFERRED_LOCALE_CHANGE,a[M.AuditLogChangeKeys.AFK_CHANNEL_ID]=F(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_AFK_CHANNEL_ID_CLEAR,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_AFK_CHANNEL_ID_CHANGE),a[M.AuditLogChangeKeys.AFK_TIMEOUT]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_AFK_TIMEOUT_CHANGE,a[M.AuditLogChangeKeys.SYSTEM_CHANNEL_ID]=F(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_SYSTEM_CHANNEL_ID_DISABLE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_SYSTEM_CHANNEL_ID_CHANGE),a[M.AuditLogChangeKeys.RULES_CHANNEL_ID]=F(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_RULES_CHANNEL_ID_CLEAR,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_RULES_CHANNEL_ID_CHANGE),a[M.AuditLogChangeKeys.PUBLIC_UPDATES_CHANNEL_ID]=F(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_UPDATES_CHANNEL_ID_CLEAR,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_UPDATES_CHANNEL_ID_CHANGE),a[M.AuditLogChangeKeys.MFA_LEVEL]=((e={})[M.MFALevels.NONE]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_MFA_LEVEL_DISABLED,e[M.MFALevels.ELEVATED]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_MFA_LEVEL_ENABLED,e),a[M.AuditLogChangeKeys.WIDGET_ENABLED]={true:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_WIDGET_ENABLED,false:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_WIDGET_DISABLED},a[M.AuditLogChangeKeys.WIDGET_CHANNEL_ID]=F(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_WIDGET_CHANNEL_ID_DELETE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_WIDGET_CHANNEL_ID_CHANGE),a[M.AuditLogChangeKeys.VERIFICATION_LEVEL]=((t={})[M.VerificationLevels.NONE]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_VERIFICATION_LEVEL_CHANGE_NONE,t[M.VerificationLevels.LOW]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_VERIFICATION_LEVEL_CHANGE_LOW,t[M.VerificationLevels.MEDIUM]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_VERIFICATION_LEVEL_CHANGE_MEDIUM,t[M.VerificationLevels.HIGH]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_VERIFICATION_LEVEL_CHANGE_HIGH,t[M.VerificationLevels.VERY_HIGH]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_VERIFICATION_LEVEL_CHANGE_VERY_HIGH,t),a[M.AuditLogChangeKeys.DEFAULT_MESSAGE_NOTIFICATIONS]=((n={})[M.UserNotificationSettings.ALL_MESSAGES]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_DEFAULT_MESSAGE_NOTIFICATIONS_CHANGE_ALL_MESSAGES,n[M.UserNotificationSettings.ONLY_MENTIONS]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_DEFAULT_MESSAGE_NOTIFICATIONS_CHANGE_ONLY_MENTIONS,n),a[M.AuditLogChangeKeys.VANITY_URL_CODE]=F(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_VANITY_URL_CODE_DELETE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_VANITY_URL_CODE_CHANGE),a[M.AuditLogChangeKeys.EXPLICIT_CONTENT_FILTER]=((r={})[M.GuildExplicitContentFilterTypes.DISABLED]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_EXPLICIT_CONTENT_FILTER_DISABLE,r[M.GuildExplicitContentFilterTypes.MEMBERS_WITHOUT_ROLES]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_EXPLICIT_CONTENT_FILTER_MEMBERS_WITHOUT_ROLES,r[M.GuildExplicitContentFilterTypes.ALL_MEMBERS]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_EXPLICIT_CONTENT_FILTER_ALL_MEMBERS,r),a),L())};t.ChannelChangeStrings=function(){var e;return(e={})[M.AuditLogChangeKeys.NAME]=G(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_NAME_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_NAME_CHANGE),e[M.AuditLogChangeKeys.POSITION]=G(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_POSITION_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_POSITION_CHANGE),e[M.AuditLogChangeKeys.TOPIC]=B(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_TOPIC_CHANGE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_TOPIC_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_TOPIC_CLEAR),e[M.AuditLogChangeKeys.BITRATE]=G(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_BITRATE_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_BITRATE_CHANGE),e[M.AuditLogChangeKeys.RTC_REGION_OVERRIDE]=B(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_RTC_REGION_OVERRIDE_CHANGE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_RTC_REGION_OVERRIDE_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_RTC_REGION_OVERRIDE_DELETE),e[M.AuditLogChangeKeys.USER_LIMIT]=G(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_USER_LIMIT_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_USER_LIMIT_CHANGE),e[M.AuditLogChangeKeys.RATE_LIMIT_PER_USER]=G(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_RATE_LIMIT_PER_USER_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_RATE_LIMIT_PER_USER_CHANGE),e[M.AuditLogChangeKeys.PERMISSIONS_RESET]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_PERMISSION_OVERRIDES_RESET,e[M.AuditLogChangeKeys.PERMISSIONS_GRANTED]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_PERMISSION_OVERRIDES_GRANTED,e[M.AuditLogChangeKeys.PERMISSIONS_DENIED]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_PERMISSION_OVERRIDES_DENIED,e[M.AuditLogChangeKeys.REASON]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_COMMON_REASON,e[M.AuditLogChangeKeys.NSFW]={false:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_NSFW_DISABLED,true:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_NSFW_ENABLED},e[M.AuditLogChangeKeys.TYPE]=G(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_TYPE_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_TYPE_CHANGE),e[M.AuditLogChangeKeys.VIDEO_QUALITY_MODE]=G(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_VIDEO_QUALITY_MODE_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_VIDEO_QUALITY_MODE_CHANGE),e[M.AuditLogChangeKeys.DEFAULT_AUTO_ARCHIVE_DURATION]=G(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_DEFAULT_AUTO_ARCHIVE_DURATION_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_DEFAULT_AUTO_ARCHIVE_DURATION_CHANGE),e};t.UserChangeStrings=function(){var e;return P(((e={})[M.AuditLogChangeKeys.NICK]=B(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_NICK_CHANGE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_NICK_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_NICK_DELETE),e[M.AuditLogChangeKeys.DEAF]={true:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_DEAF_ON,false:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_DEAF_OFF},e[M.AuditLogChangeKeys.MUTE]={true:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_MUTE_ON,false:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_MUTE_OFF},e[M.AuditLogChangeKeys.ROLES_REMOVE]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_ROLES_REMOVE,e[M.AuditLogChangeKeys.ROLES_ADD]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_ROLES_ADD,e[M.AuditLogChangeKeys.PRUNE_DELETE_DAYS]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_PRUNE_DELETE_DAYS,e),L())};t.RoleChangeStrings=function(){var e,t;return P(((t={})[M.AuditLogChangeKeys.NAME]=G(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_NAME_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_NAME_CHANGE),t[M.AuditLogChangeKeys.PERMISSIONS_GRANTED]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_PERMISSIONS_GRANTED,t[M.AuditLogChangeKeys.PERMISSIONS_DENIED]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_PERMISSIONS_DENIED,t[M.AuditLogChangeKeys.COLOR]=((e={"#000000":N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_COLOR_NONE})[-1]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_COLOR_IOS,e),t[M.AuditLogChangeKeys.HOIST]={true:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_HOIST_ON,false:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_HOIST_OFF},t[M.AuditLogChangeKeys.MENTIONABLE]={true:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_MENTIONABLE_ON,false:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_MENTIONABLE_OFF},t),L())};t.InviteChangeStrings=function(){var e,t,n;return P(((n={})[M.AuditLogChangeKeys.CODE]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_CODE_CREATE,n[M.AuditLogChangeKeys.CHANNEL_ID]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_CHANNEL_CREATE,n[M.AuditLogChangeKeys.MAX_USES]=((e={0:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_MAX_USES_CREATE_INFINITE})[-1]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_MAX_USES_CREATE,e),n[M.AuditLogChangeKeys.MAX_AGE]=((t={0:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_MAX_AGE_CREATE_INFINITE})[-1]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_MAX_AGE_CREATE,t),n[M.AuditLogChangeKeys.TEMPORARY]={true:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_TEMPORARY_ON,false:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_TEMPORARY_OFF},n),L())};t.WebhookChangeStrings=function(){var e;return(e={})[M.AuditLogChangeKeys.CHANNEL_ID]=G(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_CHANNEL_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_CHANNEL_CHANGE),e[M.AuditLogChangeKeys.NAME]=G(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_NAME_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_NAME_CHANGE),e[M.AuditLogChangeKeys.AVATAR_HASH]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_AVATAR,e[M.AuditLogChangeKeys.REASON]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_COMMON_REASON,e};t.EmojiChangeStrings=function(){var e;return P(((e={})[M.AuditLogChangeKeys.NAME]=G(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_EMOJI_NAME_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_EMOJI_NAME_CHANGE),e),L())};t.StickerChangeStrings=function(){var e;return P(((e={})[M.AuditLogChangeKeys.NAME]=G(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_NAME_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_NAME_CHANGE),e[M.AuditLogChangeKeys.TAGS]=G(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_TAGS_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_TAGS_CHANGE),e[M.AuditLogChangeKeys.DESCRIPTION]=G(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_DESCRIPTION_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_DESCRIPTION_CHANGE),e),L())};t.IntegrationChangeStrings=function(){var e;return P(((e={})[M.AuditLogChangeKeys.ENABLE_EMOTICONS]={true:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INTEGRATION_ENABLE_EMOTICONS_ON,false:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INTEGRATION_ENABLE_EMOTICONS_OFF},e[M.AuditLogChangeKeys.EXPIRE_BEHAVIOR]={0:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INTEGRATION_EXPIRE_BEHAVIOR_REMOVE_SYNCED_ROLE,1:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INTEGRATION_EXPIRE_BEHAVIOR_KICK_FROM_SERVER},e[M.AuditLogChangeKeys.EXPIRE_GRACE_PERIOD]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INTEGRATION_EXPIRE_GRACE_PERIOD,e),L())};t.StageInstanceChangeStrings=function(){var e,t;return(t={})[M.AuditLogChangeKeys.TOPIC]=G(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_TOPIC_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_TOPIC_CHANGE),t[M.AuditLogChangeKeys.PRIVACY_LEVEL]=((e={})[m.StageInstancePrivacyLevel.GUILD_ONLY]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_STAGE_INSTANCE_PRIVACY_LEVEL_GUILD_ONLY,e[m.StageInstancePrivacyLevel.PUBLIC]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_STAGE_INSTANCE_PRIVACY_LEVEL_PUBLIC,e),t};t.GuildScheduledEventChangeStrings=function(){var e,t,n,r;return(r={})[M.AuditLogChangeKeys.NAME]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_NAME_CREATE,r[M.AuditLogChangeKeys.DESCRIPTION]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_DESCRIPTION_CREATE,r[M.AuditLogChangeKeys.PRIVACY_LEVEL]=((e={})[m.StageInstancePrivacyLevel.GUILD_ONLY]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_STAGE_INSTANCE_PRIVACY_LEVEL_GUILD_ONLY,e[m.StageInstancePrivacyLevel.PUBLIC]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_STAGE_INSTANCE_PRIVACY_LEVEL_PUBLIC,e),r[M.AuditLogChangeKeys.STATUS]=((t={})[y.GuildScheduledEventStatus.SCHEDULED]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_STATUS_SCHEDULED,t[y.GuildScheduledEventStatus.ACTIVE]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_STATUS_ACTIVE,t[y.GuildScheduledEventStatus.COMPLETED]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_STATUS_COMPLETED,t[y.GuildScheduledEventStatus.CANCELED]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_STATUS_CANCELED,t),r[M.AuditLogChangeKeys.ENTITY_TYPE]=((n={})[y.GuildScheduledEventEntityTypes.NONE]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_ENTITY_TYPE_NONE,n[y.GuildScheduledEventEntityTypes.STAGE_INSTANCE]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_ENTITY_TYPE_STAGE_INSTANCE,n),r[M.AuditLogChangeKeys.SKU_IDS]=N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_SKUS_CREATE,r};t.ThreadChangeStrings=function(){var e;return(e={})[M.AuditLogChangeKeys.NAME]=G(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_THREAD_NAME_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_THREAD_NAME_CHANGE),e[M.AuditLogChangeKeys.ARCHIVED]={true:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_THREAD_ARCHIVED,false:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_THREAD_UNARCHIVED},e[M.AuditLogChangeKeys.LOCKED]={true:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_THREAD_LOCKED,false:N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_THREAD_UNLOCKED},e[M.AuditLogChangeKeys.AUTO_ARCHIVE_DURATION]=G(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_THREAD_AUTO_ARCHIVE_DURATION_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_THREAD_AUTO_ARCHIVE_DURATION_CHANGE),e[M.AuditLogChangeKeys.RATE_LIMIT_PER_USER]=G(N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_RATE_LIMIT_PER_USER_CREATE,N.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_RATE_LIMIT_PER_USER_CHANGE),e};var D=((d={})[M.AuditLogTargetTypes.CHANNEL]=((r={})[M.AuditLogChangeKeys.ID]=!0,r[M.AuditLogChangeKeys.PERMISSION_OVERWRITES]=!0,r),d[M.AuditLogTargetTypes.CHANNEL_OVERWRITE]=((a={})[M.AuditLogChangeKeys.TYPE]=!0,a[M.AuditLogChangeKeys.ID]=!0,a[M.AuditLogChangeKeys.PERMISSION_OVERWRITES]=!0,a),d[M.AuditLogTargetTypes.INVITE]=((o={})[M.AuditLogChangeKeys.INVITER_ID]=!0,o[M.AuditLogChangeKeys.USES]=!0,o),d[M.AuditLogTargetTypes.WEBHOOK]=((i={})[M.AuditLogChangeKeys.TYPE]=!0,i[M.AuditLogChangeKeys.APPLICATION_ID]=!0,i),d[M.AuditLogTargetTypes.INTEGRATION]=((l={})[M.AuditLogChangeKeys.TYPE]=!0,l),d[M.AuditLogTargetTypes.THREAD]=((u={})[M.AuditLogChangeKeys.ID]=!0,u[M.AuditLogChangeKeys.TYPE]=!0,u),d[M.AuditLogTargetTypes.STICKER]=((s={})[M.AuditLogChangeKeys.ID]=!0,s[M.AuditLogChangeKeys.TYPE]=!0,s[M.AuditLogChangeKeys.ASSET]=!0,s[M.AuditLogChangeKeys.FORMAT_TYPE]=!0,s[M.AuditLogChangeKeys.AVAILABLE]=!0,s[M.AuditLogChangeKeys.GUILD_ID]=!0,s),d);t.NotRenderedChanges=D;function w(e,t){var n=f.default.deserialize("string"==typeof e?e:0),r=f.default.deserialize("string"==typeof t?t:0),a=f.default.remove(r,n),o=f.default.remove(n,r),i=[],l=[];for(var u in M.Permissions){var s=M.Permissions[u];f.default.has(a,s)&&i.push(s),f.default.has(o,s)&&l.push(s)}return{added:i,removed:l}}function j(e,t,n){var r=e.newValue,a=e.oldValue;return null!=e.newValue&&(r=t(e.newValue),null!=n&&null!=r&&(r=n(r))),null!=e.oldValue&&(a=t(e.oldValue),null!=n&&null!=a&&(a=n(a))),new E.AuditLogChange(e.key,a||e.oldValue,r||e.newValue)}function k(e,t,n,r,a){var o=null,i=n(a=a||e.targetId);if(null!=i&&null!=r&&(o=r(i)),null==o){var l=O.default.deletedTargets[e.targetType];null!=l&&l[a]&&(o=l[a])}if(null==o&&null!=e.changes){var u=e.changes.find((function(e){return e.key===t}));null!=u&&(o=u.newValue||u.oldValue)}return o||a}function U(e,t,n){var r=e,a=t(e);return null!=a&&null!=n&&(r=n(a)),r}function G(e,t){return function(n){return null==n.oldValue?e:t}}function F(e,t){return function(n){return null==n.newValue?e:t}}function B(e,t,n,r){return function(a){return null!=a.newValue&&null!=a.oldValue?e:null!=a.newValue?t:null!=a.oldValue?n:r}}t.ACTION_FILTER_ITEMS=function(){return[{value:M.AuditLogActions.ALL,label:N.default.Messages.GUILD_SETTINGS_FILTER_ALL_ACTIONS,valueLabel:N.default.Messages.GUILD_SETTINGS_FILTER_ALL},{value:M.AuditLogActions.GUILD_UPDATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_GUILD_UPDATE},{value:M.AuditLogActions.CHANNEL_CREATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_CHANNEL_CREATE},{value:M.AuditLogActions.CHANNEL_UPDATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_CHANNEL_UPDATE},{value:M.AuditLogActions.CHANNEL_DELETE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_CHANNEL_DELETE},{value:M.AuditLogActions.CHANNEL_OVERWRITE_CREATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_CHANNEL_OVERWRITE_CREATE},{value:M.AuditLogActions.CHANNEL_OVERWRITE_UPDATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_CHANNEL_OVERWRITE_UPDATE},{value:M.AuditLogActions.CHANNEL_OVERWRITE_DELETE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_CHANNEL_OVERWRITE_DELETE},{value:M.AuditLogActions.MEMBER_KICK,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_MEMBER_KICK},{value:M.AuditLogActions.MEMBER_PRUNE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_MEMBER_PRUNE},{value:M.AuditLogActions.MEMBER_BAN_ADD,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_MEMBER_BAN_ADD},{value:M.AuditLogActions.MEMBER_BAN_REMOVE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_MEMBER_BAN_REMOVE},{value:M.AuditLogActions.MEMBER_UPDATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_MEMBER_UPDATE},{value:M.AuditLogActions.MEMBER_ROLE_UPDATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_MEMBER_ROLE_UPDATE},{value:M.AuditLogActions.MEMBER_MOVE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_MEMBER_MOVE},{value:M.AuditLogActions.MEMBER_DISCONNECT,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_MEMBER_DISCONNECT},{value:M.AuditLogActions.BOT_ADD,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_BOT_ADD},{value:M.AuditLogActions.THREAD_CREATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_THREAD_CREATE},{value:M.AuditLogActions.THREAD_UPDATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_THREAD_UPDATE},{value:M.AuditLogActions.THREAD_DELETE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_THREAD_DELETE},{value:M.AuditLogActions.ROLE_CREATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_ROLE_CREATE},{value:M.AuditLogActions.ROLE_UPDATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_ROLE_UPDATE},{value:M.AuditLogActions.ROLE_DELETE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_ROLE_DELETE},{value:M.AuditLogActions.INVITE_CREATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_INVITE_CREATE},{value:M.AuditLogActions.INVITE_UPDATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_INVITE_UPDATE},{value:M.AuditLogActions.INVITE_DELETE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_INVITE_DELETE},{value:M.AuditLogActions.WEBHOOK_CREATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_WEBHOOK_CREATE},{value:M.AuditLogActions.WEBHOOK_UPDATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_WEBHOOK_UPDATE},{value:M.AuditLogActions.WEBHOOK_DELETE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_WEBHOOK_DELETE},{value:M.AuditLogActions.EMOJI_CREATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_EMOJI_CREATE},{value:M.AuditLogActions.EMOJI_UPDATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_EMOJI_UPDATE},{value:M.AuditLogActions.EMOJI_DELETE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_EMOJI_DELETE},{value:M.AuditLogActions.MESSAGE_DELETE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_MESSAGE_DELETE},{value:M.AuditLogActions.MESSAGE_BULK_DELETE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_MESSAGE_BULK_DELETE},{value:M.AuditLogActions.MESSAGE_PIN,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_MESSAGE_PIN},{value:M.AuditLogActions.MESSAGE_UNPIN,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_MESSAGE_UNPIN},{value:M.AuditLogActions.INTEGRATION_CREATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_INTEGRATION_CREATE},{value:M.AuditLogActions.INTEGRATION_UPDATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_INTEGRATION_UPDATE},{value:M.AuditLogActions.INTEGRATION_DELETE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_INTEGRATION_DELETE},{value:M.AuditLogActions.STICKER_CREATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_STICKER_CREATE},{value:M.AuditLogActions.STICKER_UPDATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_STICKER_UPDATE},{value:M.AuditLogActions.STICKER_DELETE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_STICKER_DELETE},{value:M.AuditLogActions.STAGE_INSTANCE_CREATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_STAGE_INSTANCE_CREATE},{value:M.AuditLogActions.STAGE_INSTANCE_UPDATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_STAGE_INSTANCE_UPDATE},{value:M.AuditLogActions.STAGE_INSTANCE_DELETE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_STAGE_INSTANCE_DELETE},{value:M.AuditLogActions.GUILD_SCHEDULED_EVENT_CREATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_GUILD_SCHEDULED_EVENT_CREATE},{value:M.AuditLogActions.GUILD_SCHEDULED_EVENT_UPDATE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_GUILD_SCHEDULED_EVENT_UPDATE},{value:M.AuditLogActions.GUILD_SCHEDULED_EVENT_DELETE,label:N.default.Messages.GUILD_SETTINGS_ACTION_FILTER_GUILD_SCHEDULED_EVENT_DELETE}]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FeatureCard=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=L();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=R(n(9)),i=n(3),l=n(395),u=n(1220),s=R(n(9814)),d=R(n(40)),f=R(n(29)),c=R(n(149)),p=R(n(9176)),v=R(n(1236)),y=R(n(8832)),m=n(41),_=R(n(47)),h=R(n(24)),E=R(n(93)),g=n(1),S=R(n(6)),O=R(n(7708)),I=R(n(8988)),T=R(n(9821)),C=R(n(9822)),b=R(n(9823)),M=R(n(9824)),N=R(n(9825)),A=R(n(9826)),P=R(n(9827));function R(e){return e&&e.__esModule?e:{default:e}}function L(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return L=function(){return e},e}function D(){return(D=Object.assign||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}).apply(this,arguments)}function w(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var j=[{iconSrc:N.default,name:"Pokemon GO Paris",position:[-230,-100]},{iconSrc:A.default,name:"Python",position:[-180,-100],faded:!0,rightAlign:!0},{iconSrc:b.default,name:"Learn Latin",position:[-280,-30],faded:!0},{iconSrc:M.default,name:"r/leagueoflegends",position:[-320,-30],rightAlign:!0},{iconSrc:P.default,name:"Sneaker Fans",position:[-250,40]},{iconSrc:C.default,name:"Hogwarts School",position:[-270,40],faded:!0,rightAlign:!0}],k=function(e){var t=e.icon,n=e.color,r=e.size,a=void 0===r?24:r,o=e.header,i=e.body,l=t;return w("div",{className:O.default.featureCard},void 0,w("div",{className:O.default.featureIcon},void 0,w(l,{color:n,width:a,height:a})),w(_.default,{size:_.default.Sizes.SIZE_16,className:O.default.featureHeader},void 0,o),w(h.default,{color:h.default.Colors.HEADER_SECONDARY},void 0,i))};t.FeatureCard=k,k.displayName="FeatureCard";var U=function(e){var t,n,r=e.iconSrc,a=e.name,i=e.position,l=e.faded,u=e.rightAlign,s=e.imageCoordinates,d=((t={})[u?"right":"left"]=s[0]+i[0],t.top=s[1]+i[1],t);return w("div",{className:(0,o.default)(O.default.guildDetails,(n={},n[O.default.faded]=l,n)),style:d},void 0,w("img",{alt:"",src:r,className:O.default.guildIcon,width:24,height:24}),w(_.default,{size:_.default.Sizes.SIZE_12},void 0,a))};U.displayName="GuildDetails";var G=function(e){var t,n,r=e.guild,o=a.useState(0),C=o[0],b=o[1],M=a.useState(0),N=M[0],A=M[1],P=a.useRef(null),R=(0,i.useStateFromStores)([d.default],(function(){return d.default.can(g.Permissions.ADMINISTRATOR,r)})),L=null==P||null===(t=P.current)||void 0===t?void 0:t.offsetWidth,G=null==P||null===(n=P.current)||void 0===n?void 0:n.offsetHeight;a.useEffect((function(){null!=L&&b(L/2),null!=G&&A(G/2)}),[L,G,b,A]),a.useEffect((function(){(0,u.hideHotspot)(l.HotspotLocations.GUILD_SETTINGS_COMMUNITY_GUILD_UPSELL)}),[]);var F=function(){(0,m.openModal)((function(e){return a.createElement(s.default,e)}))};return w("div",{className:O.default.container},void 0,a.createElement("div",{className:O.default.banner,ref:P},j.map((function(e){return a.createElement(U,D({key:e.name},e,{imageCoordinates:[C,N]}))})),w("img",{alt:"",src:I.default,className:O.default.image,width:256}),w("img",{alt:"",src:T.default,className:O.default.sparkles})),w(_.default,{size:_.default.Sizes.SIZE_24},void 0,S.default.Messages.GUILD_SETTINGS_COMMUNITY_INTRO_HEADER),w(h.default,{color:h.default.Colors.HEADER_SECONDARY,size:h.default.Sizes.SIZE_16,className:O.default.body},void 0,S.default.Messages.GUILD_SETTINGS_COMMUNITY_INTRO_BODY),w(c.default,{text:R?null:S.default.Messages.GUILD_SETTINGS_COMMUNITY_ADMINISTRATOR_ONLY,"aria-label":R?void 0:S.default.Messages.GUILD_SETTINGS_COMMUNITY_ADMINISTRATOR_ONLY},void 0,(function(e){return a.createElement(f.default,D({onClick:F,className:O.default.button,disabled:!R},e),S.default.Messages.GET_STARTED)})),w("hr",{className:O.default.separator}),w(h.default,{color:h.default.Colors.HEADER_SECONDARY},void 0,S.default.Messages.GUILD_SETTINGS_COMMUNITY_INTRO_DETAILS),w(h.default,{color:h.default.Colors.HEADER_SECONDARY,className:O.default.body},void 0,S.default.Messages.GUILD_SETTINGS_COMMUNITY_INTRO_LEARN_MORE.format({helpdeskArticle:E.default.getArticleURL(g.HelpdeskArticles.GUILD_COMMUNITY_FEATURE)})),w("div",{className:O.default.features},void 0,[{icon:y.default,color:g.Colors.STATUS_GREEN_600,header:S.default.Messages.GUILD_SETTINGS_COMMUNITY_INTRO_UPSELL_DISCOVERY_HEADER,body:S.default.Messages.GUILD_SETTINGS_COMMUNITY_INTRO_UPSELL_DISCOVERY_BODY.format({featureHook:function(e,t){return w("strong",{className:O.default.featuredText},t,e)}})},{icon:p.default,color:g.Colors.PARTNER,header:S.default.Messages.GUILD_SETTINGS_COMMUNITY_INTRO_UPSELL_ANALYTICS_HEADER,body:S.default.Messages.GUILD_SETTINGS_COMMUNITY_INTRO_UPSELL_ANALYTICS_BODY.format({infoHook:function(){return w(c.default,{text:S.default.Messages.GUILD_SETTINGS_COMMUNITY_INTRO_UPSELL_ANALYTICS_TOOLTIP,"aria-label":S.default.Messages.GUILD_SETTINGS_COMMUNITY_INTRO_UPSELL_ANALYTICS_TOOLTIP},void 0,(function(e){return a.createElement(v.default,D({className:O.default.infoIcon},e))}))},featureHook:function(e,t){return w("strong",{className:O.default.featuredText},t,e)}})},{icon:v.default,color:g.Colors.STATUS_RED_400,header:S.default.Messages.GUILD_SETTINGS_COMMUNITY_INTRO_UPSELL_STAY_INFORMED_HEADER,body:S.default.Messages.GUILD_SETTINGS_COMMUNITY_INTRO_UPSELL_STAY_INFORMED_BODY}].map((function(e,t){return a.createElement(k,D({key:t},e))}))))};G.displayName="GuildSettingsCommunityIntro";var F=G;t.default=F},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(9)),i=v(n(5673)),l=v(n(29)),u=n(85),s=n(35),d=v(n(47)),f=v(n(24)),c=v(n(6)),p=v(n(7706));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var _=function(e){var t,n=e.index,r=e.title,a=e.selected;return m("div",{className:(0,o.default)(p.default.overviewStep,(t={},t[p.default.selected]=a,t))},void 0,m(f.default,{className:p.default.stepIndex},void 0,n+1),m(f.default,{size:f.default.Sizes.SIZE_16,className:p.default.stepTitle},void 0,r))};_.displayName="OverviewStep";var h=function(e){var t=e.className,n=e.title,r=e.stepData,f=e.transitionState,v=e.onClose,y=e.completeButtonText,h=e.overviewFooter,E=e.onComplete,g=e.sequencerClassName,S=e.initialStep,O=void 0===S?0:S,I=e.submitting,T=void 0!==I&&I,C=e.autoCloseOnComplete,b=void 0===C||C,M=a.useState([]),N=M[0],A=M[1],P=a.useState(O),R=P[0],L=P[1],D=(0,u.useUID)();a.useEffect((function(){A([].concat(Array(r.length).keys()))}),[r.length]);var w=r[R],j=0===R,k=R===r.length-1,U=null!=y?y:c.default.Messages.DONE;return m(s.ModalRoot,{size:s.ModalSize.MEDIUM,className:(0,o.default)(p.default.container,t),transitionState:f,"aria-labelledby":D},void 0,m("div",{className:p.default.overviewSidebar},void 0,m(d.default,{size:d.default.Sizes.SIZE_24,className:p.default.header},void 0,n),m("div",{className:p.default.overviewSteps},void 0,r.map((function(e,t){return m(_,{index:t,title:e.overviewTitle,selected:t===R},t)}))),h),m("div",{className:p.default.modal},void 0,m(s.ModalContent,{},void 0,m(s.ModalCloseButton,{focusProps:{offset:{top:4,right:4,left:4}},onClick:v,className:p.default.closeButton}),m(i.default,{step:R,steps:N,sideMargin:24,verticalMargin:24,className:(0,o.default)(p.default.sequencer,g),innerClassName:p.default.innerSequencer},void 0,w.modalContent)),m(s.ModalFooter,{className:p.default.footer},void 0,m(l.default,{type:"submit",submitting:T,onClick:function(){k?(E(),b&&v()):L(R+1)},color:l.default.Colors.GREEN,disabled:w.disableNextStep},void 0,k?U:c.default.Messages.NEXT),j?null:m(l.default,{look:l.default.Looks.LINK,color:l.default.Colors.PRIMARY,size:l.default.Sizes.MIN,onClick:function(){return L(R-1)}},void 0,c.default.Messages.BACK))))};h.displayName="MultiStepModal";var E=h;t.default=E},function(e,t,n){e.exports=n.p+"7f62c4c1f689de046a6ad83020c897ad.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=U(n(0)),o=n(3),i=j(n(28)),l=j(n(5938)),u=j(n(8257)),s=n(180),d=j(n(8408)),f=j(n(249)),c=U(n(86)),p=j(n(70)),v=j(n(12)),y=j(n(29)),m=j(n(8564)),_=j(n(55)),h=j(n(278)),E=j(n(1159)),g=j(n(153)),S=n(149),O=n(85),I=j(n(681)),T=j(n(686)),C=n(35),b=j(n(47)),M=j(n(24)),N=j(n(78)),A=n(8933),P=j(n(8523)),R=j(n(8990)),L=n(1),D=j(n(6)),w=j(n(7710));function j(e){return e&&e.__esModule?e:{default:e}}function k(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return k=function(){return e},e}function U(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=k();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function G(){return(G=Object.assign||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}).apply(this,arguments)}function F(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var B=function(e){var t,n,r=e.guildId,j=e.welcomeChannel,k=e.transitionState,U=e.onSave,B=e.onClose,H=(0,O.useUID)(),x=a.useState(null!=j?j.channel_id:null),V=x[0],W=x[1],Y=a.useState(null!=j?j.description:""),z=Y[0],K=Y[1],$=a.useState(null!=j?{id:j.emoji_id,name:j.emoji_name}:null),Z=$[0],q=$[1],X=a.useState(!1),J=X[0],Q=X[1],ee=(0,o.useStateFromStores)([f.default],(function(){return null!=(null==Z?void 0:Z.id)?f.default.getUsableCustomEmojiById(Z.id):null})),te=(0,o.useStateFromStores)([c.default],(function(){return c.default.getChannels(r)[c.GUILD_SELECTABLE_CHANNELS_KEY]}),[r]),ne=(0,o.useStateFromStores)([P.default],(function(){return P.default.get(r)})),re=null!==(t=null==ne||null===(n=ne.welcome_channels)||void 0===n?void 0:n.map((function(e){return e.channel_id})))&&void 0!==t?t:[],ae=a.useState(!1),oe=ae[0],ie=ae[1];a.useEffect((function(){i.default.get(A.WELCOME_EMOJI_TOOLTIP_STORAGE_KEY)||setTimeout((function(){return ie(!0)}),300)}),[]);var le=[];te.forEach((function(e){var t=e.channel;!N.default.canEveryoneRole(L.Permissions.VIEW_CHANNEL,t)||(null==j?void 0:j.channel_id)!==t.id&&re.includes(t.id)||le.push({value:t.id,label:(0,s.computeChannelName)(t,v.default,p.default,!0)})}));var ue=function(){ie(!1),B()},se=a.useCallback((function(e){return K(e)}),[]),de=a.useCallback((function(){i.default.set(A.WELCOME_EMOJI_TOOLTIP_STORAGE_KEY,!0),ie(!1)}),[]);return F(u.default,{page:L.AnalyticsPages.CHANNEL_WELCOME_CREATE_MODAL},void 0,F(C.ModalRoot,{transitionState:k,"aria-labelledby":H},void 0,F("div",{className:w.default.modalContents},void 0,F(C.ModalCloseButton,{onClick:ue,className:w.default.closeButton}),F(b.default,{size:b.default.Sizes.SIZE_16,className:w.default.headerText,id:H},void 0,null==j?D.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_RECOMMENDED_CHANNEL_MODAL_ADD:D.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_RECOMMENDED_CHANNEL_MODAL_EDIT),F(M.default,{size:M.default.Sizes.SIZE_14,color:M.default.Colors.HEADER_SECONDARY,className:w.default.formDescription},void 0,D.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_PICK_CHANNEL),F(I.default,{className:w.default.formGroup,title:D.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_SELECT_A_CHANNEL},void 0,F(E.default,{clearable:!1,searchable:!0,options:le,onChange:function(e){var t=e.value;return W(t)},value:V}),F(M.default,{size:M.default.Sizes.SIZE_14,color:M.default.Colors.HEADER_SECONDARY,className:w.default.formDescription},void 0,D.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_ONLY_VIEWABLE_CHANNELS)),F(I.default,{className:w.default.formGroup,title:D.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_SET_DESCRIPTION},void 0,F("div",{className:w.default.channelDescriptionWrapper},void 0,F("div",{className:w.default.emojiButtonContainer},void 0,F(h.default,{renderPopout:function(e){var t=e.closePopout,n=c.default.getDefaultChannel(r);return F(d.default,{guildId:r,closePopout:t,onSelectEmoji:function(e,n){!function(e){var t,n,r;null!=e&&q(null!=e.id?{id:null!==(t=e.id)&&void 0!==t?t:null,name:null!==(n=e.name)&&void 0!==n?n:null}:{id:null,name:null!==(r=e.optionallyDiverseSequence)&&void 0!==r?r:null})}(e),n&&t()},pickerIntention:L.EmojiIntention.COMMUNITY_CONTENT,onNavigateAway:ue,channel:n})},position:h.default.Positions.LEFT,animation:h.default.Animation.NONE,align:h.default.Align.BOTTOM},void 0,(function(e,t){return F(S.TooltipContainer,{color:S.TooltipColors.BRAND,tooltipClassName:w.default.tooltip,position:S.TooltipPositions.LEFT,text:oe?D.default.Messages.WELCOME_CHANNEL_EMOJI_PICKER_TOOLTIP:null,forceOpen:oe},void 0,a.createElement(m.default,G({},e,{onClick:function(t){de(),e.onClick&&e.onClick(t)},active:t,className:w.default.emojiButton,tabIndex:0,renderButtonContents:null==Z||null==Z.id&&null==Z.name?null:function(){return F(l.default,{className:w.default.emoji,emojiId:Z.id,emojiName:Z.name,animated:Boolean(null==ee?void 0:ee.animated)})}})))}))),F(g.default,{maxLength:42,value:z,inputClassName:w.default.input,placeholder:D.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_CHANNEL_DESCRIPTION_PLACEHOLDER,onChange:se}),z.length>0||null!=Z?F(y.default,{className:w.default.clearButton,onClick:function(){K(""),q(null)},look:y.default.Looks.BLANK,size:y.default.Sizes.NONE},void 0,F(T.default,{className:w.default.clearIcon})):null))),F(C.ModalFooter,{className:w.default.footer,justify:_.default.Justify.BETWEEN},void 0,F(_.default,{grow:0,align:_.default.Align.CENTER},void 0,F(y.default,{onClick:ue,size:y.default.Sizes.SMALL,look:y.default.Looks.LINK,color:y.default.Colors.PRIMARY},void 0,D.default.Messages.CANCEL),F(y.default,{onClick:function(){null!=V&&z.length>0&&U({channel_id:V,description:z,emoji_id:null==Z?void 0:Z.id,emoji_name:null==Z?void 0:Z.name}),ue()},disabled:null==V||0===z.length},void 0,D.default.Messages.SAVE)),null!=j&&F(y.default,{onClick:function(){Q(!0)},size:y.default.Sizes.MIN,look:y.default.Looks.LINK,color:y.default.Colors.RED},void 0,D.default.Messages.REMOVE)),J&&F(R.default,{onConfirm:function(){U(),ue()},onCancel:function(){return Q(!1)},channelId:V})))};B.displayName="CreateWelcomeChannelModal";var H=B;t.default=H},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=d(n(180)),i=d(n(10)),l=n(466),u=d(n(24)),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.onConfirm,n=e.onCancel,r=e.channelId,d=(0,a.useStateFromStores)([i.default],(function(){return null!=r?i.default.getChannel(r):null})),f=(0,o.default)(d,!0);return c(l.DeclarativeConfirmModal,{dismissable:!0,header:s.default.Messages.WELCOME_CHANNEL_DELETE_CONFIRM_TITLE,confirmText:s.default.Messages.REMOVE,cancelText:s.default.Messages.CANCEL,onConfirm:t,onCancel:n},void 0,c(u.default,{size:u.default.Sizes.SIZE_14},void 0,null!=d?s.default.Messages.WELCOME_CHANNEL_DELETE_CONFIRM_BODY.format({channelName:f}):s.default.Messages.WELCOME_CHANNEL_DELETE_CONFIRM_BODY_GENERIC))}p.displayName="WelcomeChannelDeleteConfirmModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trackGuildSelected=function(e,t,n){a.default.track(i.AnalyticEvents.GUILD_DISCOVERY_GUILD_SELECTED,{load_id:n.loadId,location:u({},n.location,{object:i.AnalyticsObjects.CARD}),guild_id:e,card_index:t})},t.trackDiscoveryViewed=function(e,t){var n=t.loadId,r=(t.loadDate,function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(t,["loadId","loadDate"]));a.default.track(i.AnalyticEvents.GUILD_DISCOVERY_VIEWED,u({},r,{load_id:n,num_guilds_recommended:e.length,recommended_guild_ids:e}))},t.trackGuildSettingsDiscoveryViewed=function(e){var t=o.default.getDiscoveryChecklist(e),n=[];(null==t?void 0:t.sufficient)||((null==t?void 0:t.safeEnvironment)||n.push(r.SAFE_ENVIRONMENT),(null==t?void 0:t.healthy)&&!(null==t?void 0:t.healthScorePending)||n.push(r.HEALTHY),(null==t?void 0:t.size)||n.push(r.SIZE),Object.keys((null==t?void 0:t.nsfwProperties)||{}).length>0&&n.push(r.NSFW),(null==t?void 0:t.protected)||n.push(r.PROTECTED));a.default.track(i.AnalyticEvents.GUILD_SETTINGS_DISCOVERY_VIEWED,{guild_id:e,failed_reasons:n})};var r,a=l(n(13)),o=l(n(8533)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||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}).apply(this,arguments)}!function(e){e.SAFE_ENVIRONMENT="TNS",e.HEALTHY="HEALTH",e.SIZE="MEMBER_COUNT",e.NSFW="BAD_WORDS",e.PROTECTED="2FA"}(r||(r={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=g(n(9)),l=g(n(1166)),u=g(n(375)),s=g(n(149)),d=g(n(248)),f=g(n(24)),c=g(n(150)),p=n(193),v=n(139),y=n(1),m=g(n(6)),_=g(n(7715)),h=g(n(8993)),E=g(n(8994));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var I=((r={})[y.ThemeTypes.DARK]=h.default,r[y.ThemeTypes.LIGHT]=E.default,r),T=[16,16,14,14,12,10,8];function C(e){var t,n,r=e.guild,a=e.disabled,y=e.small,h=e.loading,E=void 0!==h&&h,g=e.description,S=e.memberCount,C=e.presenceCount,b=e.className,M=(0,l.default)(),N=o.useState(!1),A=N[0],P=N[1];if(null==r||E)return O("div",{className:(0,i.default)(b,_.default.card,_.default.cardPlaceholder,(n={},n[_.default.cardSmall]=y,n[_.default.cardDisabled]=a,n))});var R=r.name,L=null!=r.discoverySplash&&/^data:/.test(r.discoverySplash)?r.discoverySplash:c.default.getGuildDiscoverySplashURL({id:r.id,splash:r.discoverySplash,size:240*(0,p.getDevicePixelRatio)()}),D=null!=L?L:I[M],w=c.default.getGuildIconURL({id:r.id,icon:r.icon,size:40})||void 0,j=null!=r.description?r.description:g,k=null!=S?S:null==r?void 0:r.memberCount,U=null!=C?C:null==r?void 0:r.presenceCount,G=null;if(null!=w)G=O("img",{src:w,alt:"",className:_.default.avatar});else{var F=(0,v.getAcronym)(r.name);G=O("div",{className:_.default.defaultIcon},void 0,O(f.default,{className:_.default.acronym,style:{fontSize:T[F.length]||T[T.length-1]}},void 0,F))}return O("div",{className:(0,i.default)(b,_.default.card,(t={},t[_.default.cardSmall]=y,t[_.default.cardDisabled]=a,t[_.default.splashLoaded]=A,t))},void 0,O("div",{className:_.default.cardHeader},void 0,O("div",{className:_.default.splash},void 0,O("img",{src:D,alt:"",className:_.default.splashImage,onLoad:function(){return P(!0)}})),O("div",{className:_.default.guildIcon},void 0,O(d.default,{mask:d.default.Masks.SQUIRCLE,width:48,height:48},void 0,O("div",{className:_.default.iconMask},void 0,O(d.default,{mask:d.default.Masks.SQUIRCLE,width:40,height:40},void 0,null!=G?G:null))))),O("div",{className:_.default.guildInfo},void 0,O("div",{className:_.default.title},void 0,O(u.default,{className:_.default.verifiedIcon,guild:r,tooltipColor:s.default.Colors.PRIMARY}),O(f.default,{className:_.default.guildName,size:f.default.Sizes.SIZE_16},void 0,O("span",{},void 0,R))),O(f.default,{className:_.default.description,size:f.default.Sizes.SIZE_14},void 0,O("span",{},void 0,j)),O("div",{className:_.default.memberInfo},void 0,null!=U&&O("div",{className:_.default.memberCount},void 0,O("div",{className:_.default.dotOnline}),O(f.default,{size:f.default.Sizes.SIZE_12},void 0,y?m.default.Messages.NUMBERS_ONLY.format({count:U}):m.default.Messages.INSTANT_INVITE_GUILD_MEMBERS_ONLINE.format({membersOnline:U}))),null!=k&&O("div",{className:_.default.memberCount},void 0,O("div",{className:_.default.dotOffline}),O(f.default,{size:f.default.Sizes.SIZE_12},void 0,y?m.default.Messages.NUMBERS_ONLY.format({count:k}):m.default.Messages.INSTANT_INVITE_GUILD_MEMBERS_TOTAL.format({count:k}))))))}C.displayName="DiscoverStaticGuildCard";var b=C;t.default=b},function(e,t,n){e.exports=n.p+"d03d90cb6f12a7ea06274b278dfa4160.svg"},function(e,t,n){e.exports=n.p+"7b6ed225050df29a07cb5db712d35a73.svg"},function(e,t,n){e.exports=n.p+"446a060321730a318ca1649b0cc40d44.svg"},function(e,t,n){e.exports=n.p+"38defe07899a762bfc301ddddd206116.svg"},function(e,t,n){e.exports=n.p+"712a0fd4d14a1caadd31cb0745e91238.svg"},function(e,t,n){e.exports=n.p+"857c505aafbe092e4f6efecebcad0bc8.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=N();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=M(n(9)),i=M(n(8)),l=M(n(3)),u=n(5946),s=M(n(8300)),d=M(n(56)),f=M(n(8255)),c=M(n(8568)),p=M(n(12)),v=M(n(278)),y=M(n(9899)),m=M(n(151)),_=M(n(149)),h=M(n(8409)),E=n(131),g=M(n(279)),S=M(n(272)),O=n(5935),I=n(139),T=n(1),C=M(n(6)),b=M(n(7385));function M(e){return e&&e.__esModule?e:{default:e}}function N(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return N=function(){return e},e}function A(){return(A=Object.assign||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}).apply(this,arguments)}function P(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var L=(0,I.cssValueToNumber)(b.default.progressWithSubscriptionsMarginTop),D=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).tierRefs={},t.defaultTierRef=a.createRef(),t.state={tierPositions:null,animatedTier:T.PremiumGuildTiers.NONE},t.setTierRef=function(e,n){t.tierRefs[n.tier]=e},t.handleAnimatedTier=function(e){t.setState({animatedTier:e.key})},t.renderSubscriber=function(e,n,r){return null==e?null:P(_.default,{text:P(s.default,{user:e.user,nick:e.nick}),"aria-label":e.nick||e.user.tag},r,(function(r){return a.createElement(g.default,A({},r,{tabIndex:-1,src:null!=e?e.user.getAvatarURL(t.props.guildId||void 0):null,className:(0,o.default)(b.default.avatar,n,null!=n?b.default.subscriberMask:null),size:g.default.Sizes.SIZE_32}))}))},t.renderSubscribersPopout=function(){return P(S.default,{className:b.default.subscribersPopout},void 0,t.props.subscribers.map((function(e){return P("div",{className:b.default.subscribersPopoutUser},e.user.id,P(g.default,{src:e.user.getAvatarURL(t.props.guildId||void 0),"aria-label":e.user.username,size:g.default.Sizes.SIZE_32,className:b.default.avatar}),P("div",{className:b.default.subscribersPopoutUsername},void 0,P(s.default,{user:e.user,nick:e.nick})))})))},t.renderMoreSubscribers=function(e,n,r){return P(v.default,{renderPopout:t.renderSubscribersPopout,position:v.default.Positions.BOTTOM,autoInvert:!1},r,(function(t){return a.createElement("div",A({className:b.default.moreSubscribers},t),e)}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,R(t,n);var i=r.prototype;return i.componentDidMount=function(){this.measure();var e=this.props.guildId;null!=e&&(0,u.fetchPremiumSubscriptions)(e)},i.componentDidUpdate=function(){null==this.state.tierPositions&&(Object.values(this.tierRefs).some((function(e){return null==e}))||this.measure())},i.getSubscriptionCount=function(){var e=this.props.subscriptions;return null!=e?e.length:0},i.measure=function(){var e=this.props.subscriberCount,t=this.defaultTierRef.current;if(null!=t){var n=t.getBoundingClientRect().top,r={};for(var a in this.tierRefs){var o=this.tierRefs[a];if(null==o)return;var i=o.getBoundingClientRect().top-n+32-(e>0?L:0);r[a]=i}this.setState({tierPositions:r})}},i.renderProgressBar=function(e){var t=this.state.tierPositions,n=this.getSubscriptionCount();if(null==t)return null;var r={numRequired:0,y:0,key:T.PremiumGuildTiers.NONE},a=e.map((function(e){var n;return{numRequired:T.PremiumGuildSubscriptionsRequired[e.tier],name:(0,O.getTierName)(e.tier),y:null!==(n=t[e.tier])&&void 0!==n?n:0,key:e.tier}}));return P(y.default,{className:n>0?b.default.progressWithSubscriptions:b.default.progress,progress:n,tiers:[r].concat(a),initialAnimationDelay:500,onAnimatedTierMaker:this.handleAnimatedTier})},i.renderTierNone=function(){return a.createElement("div",{className:b.default.tierDefaultUnlocked,ref:this.defaultTierRef},P(E.FormText,{type:E.FormText.Types.LABEL_BOLD},void 0,C.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERKS_TITLE_NONE),P(E.FormText,{type:E.FormText.Types.DESCRIPTION,className:b.default.tierDefaultUnlockedDescription},void 0,C.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERKS_DESCRIPTION_NONE))},i.renderSubscribers=function(){var e=this.props,t=e.subscribers,n=e.subscriberCount,r=e.guildId;return a.createElement("div",{ref:this.defaultTierRef,className:b.default.subscribers},P(h.default,{guildId:r||void 0,users:t,renderUser:this.renderSubscriber,renderMoreUsers:this.renderMoreSubscribers,max:5}),P("div",{className:b.default.subscriberCount},void 0,C.default.Messages.GUILD_SETTINGS_PREMIUM_GUILD_COUNT_SUBSCRIBERS.format({count:n})))},i.renderContent=function(){var e=this,t=this.props,n=t.renderTier,r=t.subscriptions,o=t.subscriberCount,i=t.tiers;return null==r?P(m.default,{type:m.default.Type.SPINNING_CIRCLE}):a.createElement(a.Fragment,null,P("div",{className:b.default.content},void 0,this.renderProgressBar(i),P("div",{className:b.default.tiers},void 0,0===o?this.renderTierNone():this.renderSubscribers(),i.map((function(t,r,a){return n({tier:t,tiers:a,tierIndex:r,onSetRef:e.setTierRef,isAnimatedTo:T.PremiumGuildSubscriptionsRequired[e.state.animatedTier]>=T.PremiumGuildSubscriptionsRequired[t.tier],subscriptionCount:e.getSubscriptionCount()})})))))},i.render=function(){return P("div",{},void 0,this.renderContent())},r}(a.Component);D.displayName="GuildSettingsPremiumStatus";var w=l.default.connectStores([f.default,p.default,c.default,d.default],(function(){var e=f.default.getGuildId(),t=null!=e?c.default.getSubscriptionsForGuild(e):null,n=(0,i.default)(null!=t?t:[]).uniqBy((function(e){return e.userId})),r=n.map((function(t){return{user:p.default.getUser(t.userId),nick:d.default.getNick(e,t.userId)}})).filter((function(e){return null!=e.user})).value();return{guildId:e,subscriptions:t,subscribers:r,subscriberCount:n.size()}}))(D);t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=_(n(9)),i=n(122),l=n(8921),u=_(n(61)),s=_(n(9900)),d=_(n(9901)),f=_(n(686)),c=_(n(1221)),p=_(n(8749)),v=n(1),y=_(n(6)),m=_(n(7385));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,S(e,t)}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(){return(O=Object.assign||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}).apply(this,arguments)}var I,T={tension:200,friction:20},C=O({},T,{clamp:!0});!function(e){e[e.OPEN=0]="OPEN",e[e.CLOSING=1]="CLOSING",e[e.CLOSED=2]="CLOSED"}(I||(I={}));var b,M=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={closingState:I.OPEN},t.handleCloseClick=function(){t.setState({closingState:I.CLOSING})},t.handleFlyingAnimationComplete=function(){t.setState({closingState:I.CLOSED})},t}g(t,e);var n=t.prototype;return n.shouldShow=function(e){void 0===e&&(e=this.props);var t=e,n=t.numUnlocked,r=t.numRequired;return!(n>=r)&&n/r>=.8},n.render=function(){var e=this,t=this.props,n=t.numUnlocked,r=t.numRequired,a=this.state.closingState===I.CLOSED,l=this.state.closingState===I.CLOSING;if(!this.shouldShow()||a)return null;var s=l||a?m.default.hidden:null,c=l?d.default.Stages.FLYING:d.default.Stages.HOVERING;return E(i.Spring,{from:{opacity:0},to:{opacity:1},config:C},void 0,(function(t){return E(i.animated.div,{className:m.default.tierClose,style:t},void 0,E(d.default,{className:m.default.tierCloseMechaWumpus,stage:c,onFlyingComplete:e.handleFlyingAnimationComplete}),E("div",{className:(0,o.default)(m.default.tierCloseHint,s)},void 0,y.default.Messages.GUILD_SETTINGS_PREMIUM_GUILD_CLOSE_HINT.format({numLeft:r-n})),E(u.default,{onClick:e.handleCloseClick,className:(0,o.default)(m.default.tierCloseClose,s)},void 0,E(f.default,{className:m.default.tierCloseCloseIcon})))}))},t}(a.Component);M.displayName="TierCloseHint",function(e){e[e.NONE=0]="NONE",e[e.UNLOCKED_SLIDE=1]="UNLOCKED_SLIDE"}(b||(b={}));var N=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={animationStage:b.NONE},t.getAnimationConfig=function(e){switch(e){case"headerFill":return C;case"unlockedTranslateY":default:return T}},t.setRef=function(e){var n=t.props,r=n.onSetRef,a=n.tier;null!=r&&r(e,a)},t}g(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){this.props.isAnimatedTo&&this.props.isAnimatedTo!==e.isAnimatedTo&&this.setState({animationStage:b.UNLOCKED_SLIDE})},n.renderPerk=function(e,t){var n=(0,l.getPerkIcon)(e.icon,t),r=n.icon,a=n.className;return E("div",{className:m.default.perk},e.title,E(s.default,{name:String(e.icon),icon:r,className:m.default.perkIcon,iconClassName:a}),E("div",{className:m.default.perkText},void 0,E("div",{className:m.default.perkTitle},void 0,e.title),E("div",{className:m.default.perkDescription},void 0,e.description)))},n.render=function(){var e=this,t=this.state.animationStage,n=this.props,r=n.children,l=n.subscriptionCount,u=n.tier,s=n.isAnimatedTo,d=n.hasBottomMargin,f=n.withCardBody,_=v.PremiumGuildSubscriptionsRequired[u.tier],h=s&&l>=_,g=u.tier!==v.PremiumGuildTiers.NONE&&u.tier!==v.PremiumGuildTiers.TIER_1,S=E(M,{numUnlocked:l,numRequired:_});return E(i.Spring,{from:{unlockedTranslateY:50},to:{unlockedTranslateY:t===b.NONE?50:0},config:T},void 0,(function(t){var n,l,s,v;return E("div",{className:(0,o.default)(m.default.tier,(n={},n[m.default.tierBottomMargin]=d,n))},u.tier,a.createElement("div",{className:(0,o.default)((l={},l[m.default.tierHeaderWithoutCardBody]=!f,l[m.default.tierHeaderUnlocked]=h,l[m.default.tierHeaderLocked]=!h,l)),ref:e.setRef},E("div",{className:m.default.tierHeaderContent},void 0,E(p.default,{tier:u.tier,className:m.default.tierIcon}),E("div",{className:(0,o.default)(m.default.tierTitle,(s={},s[m.default.tierTitleActive]=h,s))},void 0,u.title),h?E(i.animated.div,{style:{transform:t.unlockedTranslateY.to((function(e){return"translate3d(0, "+e+"px, 0)"}))},className:m.default.tierUnlocked},void 0,y.default.Messages.GUILD_SETTINGS_PREMIUM_GUILD_UNLOCKED):E(a.Fragment,{},void 0,E("div",{className:m.default.tierRequirement},void 0,y.default.Messages.GUILD_SETTINGS_PREMIUM_GUILD_TIER_REQUIREMENT.format({required:_})),E(c.default,{className:m.default.tierLock})),S)),E("div",{className:(0,o.default)((v={},v[m.default.tierBody]=f,v))},void 0,null!=r?r:a.createElement(a.Fragment,null,g?E("div",{className:m.default.previousPerks},void 0,y.default.Messages.GUILD_SETTINGS_GUILD_PREMIUM_PERKS_PREVIOUS_PERKS):null,null!=u.perks&&E("div",{className:m.default.perks},void 0,u.perks.map((function(t){return e.renderPerk(t,h)}))))))}))},t}(a.Component);N.displayName="GuildSettingsPremiumTierStatusCard",N.defaultProps={withCardBody:!0};var A=N;t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StickerUploadModal=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=F();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=G(n(9)),i=G(n(98)),l=n(3),u=G(n(5938)),s=G(n(8589)),d=G(n(185)),f=G(n(8408)),c=G(n(39)),p=G(n(12)),v=G(n(29)),y=G(n(8564)),m=G(n(55)),_=G(n(278)),h=G(n(8272)),E=G(n(153)),g=G(n(149)),S=n(131),O=G(n(476)),I=G(n(1236)),T=n(35),C=G(n(47)),b=G(n(24)),M=n(380),N=n(5940),A=n(398),P=n(366),R=n(290),L=G(n(5936)),D=n(1),w=G(n(6)),j=G(n(7751)),k=G(n(9906)),U=G(n(9907));function G(e){return e&&e.__esModule?e:{default:e}}function F(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return F=function(){return e},e}function B(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function H(){return(H=Object.assign||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}).apply(this,arguments)}function x(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var V=new Set(["application/json","image/png","image/apng"]),W=[{extensions:["json","png","apng"]}],Y=function(e){var t=e.stickerPreview;return x("div",{className:j.default.preview},void 0,x("div",{className:j.default.previewDark},void 0,null!=t?t:x("img",{src:k.default,alt:w.default.Messages.GUILD_STICKER_PREVIEW_IMG_ALT_DARK})),x("div",{className:j.default.previewLight},void 0,null!=t?t:x("img",{src:U.default,alt:w.default.Messages.GUILD_STICKER_PREVIEW_IMG_ALT_LIGHT})))};Y.displayName="StickerUploadPreview";var z=function(e){var t=e.filename,n=e.onFileSelect;return x("div",{className:j.default.fileUpload},void 0,x("input",{className:j.default.fileUploadInput,tabIndex:-1,readOnly:!0,placeholder:w.default.Messages.GUILD_STICKER_UPLOAD_FILE_PLACEHOLDER,type:"text",value:t}),x(v.default,{size:v.default.Sizes.MIN,className:j.default.fileUploadButton},void 0,w.default.Messages.GUILD_STICKER_UPLOAD_FILE_BUTTON,x(s.default,{tabIndex:-1,onChange:function(e){var t=e.currentTarget.files[0];n(t)},multiple:!1,filters:W})))};function K(e){if(null==e)return null;var t={className:j.default.emoji,emojiName:e.optionallyDiverseSequence,autoplay:!0};return function(){return a.createElement(u.default,t)}}z.displayName="FileUploadInput";var $=function(e){var t=e.emoji,n=e.onSelectEmoji;return x(_.default,{animation:_.default.Animation.NONE,position:_.default.Positions.TOP,renderPopout:function(e){var t=e.closePopout;return x(f.default,{closePopout:t,pickerIntention:D.EmojiIntention.GUILD_STICKER_RELATED_EMOJI,onNavigateAway:t,onSelectEmoji:function(e,r){n(e),r&&t()}})}},void 0,(function(e,n){return a.createElement("div",H({className:j.default.emojiInputContainer},e),x(y.default,{className:j.default.emojiButton,active:n,tabIndex:0,renderButtonContents:K(t)}),x(E.default,{inputClassName:j.default.emojiText,placeholder:w.default.Messages.GUILD_STICKER_UPLOAD_RELATED_EMOJI_PLACEHOLDER,value:null!=t?":"+t.uniqueName+":":"",readOnly:!0}))}))};$.displayName="RelatedEmojiInput";var Z=function(e){var t=e.sticker,n=e.previewData,r=e.onStickerError;if(null!=t)return x(L.default,{size:160,sticker:t});if(null==n)return null;var a=n.id,o=n.formatType,i=n.content;return x(L.default,{assetData:i,fileUri:i,size:160,sticker:{name:a,description:"",id:a,pack_id:"",format_type:o},onError:r},a)};Z.displayName="getStickerPreview";var q=function(e){var t,n,r,u,s,f,y,_,L=e.transitionState,k=e.onClose,U=e.guildId,G=e.sticker,F=(0,l.useStateFromStores)([c.default],(function(){return c.default.theme})),W=null!==(t=null===(n=p.default.getNullableCurrentUser())||void 0===n?void 0:n.isStaff())&&void 0!==t&&t?A.STAFF_MAX_STICKER_FILE_SIZE:A.MAX_STICKER_FILE_SIZE,K=a.useState(null),q=K[0],X=K[1],J=a.useState(null!==(r=null==G?void 0:G.name)&&void 0!==r?r:""),Q=J[0],ee=J[1],te=a.useState({file:null,filename:null!==(u=(0,R.getFilenameForSticker)(G))&&void 0!==u?u:""}),ne=te[0],re=te[1],ae=a.useState(null!=(null==G?void 0:G.tags)&&null!==(s=d.default.getByName(G.tags))&&void 0!==s?s:null),oe=ae[0],ie=ae[1],le=a.useState(null!==(f=null==G?void 0:G.description)&&void 0!==f?f:""),ue=le[0],se=le[1],de=a.useState(!1),fe=de[0],ce=de[1],pe=a.useState(null),ve=pe[0],ye=pe[1],me=null!=G,_e=me||null!=(null==ne?void 0:ne.file),he=0===ue.length||ue.length>=2&&ue.length<=100,Ee=!fe&&!0!==(null==ve?void 0:ve.isBlocking)&&Q.length>=2&&null!=oe&&_e&&he,ge=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var n,r,a,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),e.prev=1,ce(!0),!me){e.next=8;break}return e.next=6,(0,N.updateGuildSticker)(U,null!==(n=null==G?void 0:G.id)&&void 0!==n?n:"",{name:Q,tags:null!==(r=null==oe?void 0:oe.uniqueName)&&void 0!==r?r:"",description:ue});case 6:e.next=15;break;case 8:return(o=new FormData).append("name",Q),o.append("tags",null!==(a=null==oe?void 0:oe.uniqueName)&&void 0!==a?a:""),o.append("description",ue),null!=(null==ne?void 0:ne.file)&&o.append("file",ne.file),e.next=15,(0,N.createGuildSticker)(U,o);case 15:k(),e.next=21;break;case 18:e.prev=18,e.t0=e.catch(1),ye({message:e.t0.body.message,isBlocking:!1});case 21:return e.prev=21,ce(!1),e.finish(21);case 24:case"end":return e.stop()}}),e,null,[[1,18,21,24]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){B(o,r,a,i,l,"next",e)}function l(e){B(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}(),Se=a.useCallback((function(){ye({message:w.default.Messages.GUILD_STICKER_INVALID_STICKER,isBlocking:!0})}),[]),Oe=Z({sticker:G,previewData:q,onStickerError:Se});return x(T.ModalRoot,{transitionState:L,"aria-labelledby":"STICKER_UPLOAD_MODAL",className:j.default.modal},void 0,x(T.ModalCloseButton,{onClick:k,className:j.default.modalClose}),x("form",{onSubmit:ge},void 0,x(T.ModalContent,{},void 0,x(T.ModalHeader,{direction:m.default.Direction.VERTICAL,separator:!1,className:j.default.modalHeader},void 0,x(C.default,{size:C.default.Sizes.SIZE_24,className:j.default.modalHeaderTitle},void 0,w.default.Messages.GUILD_STICKER_UPLOAD_TITLE),x(b.default,{size:b.default.Sizes.SIZE_16},void 0,w.default.Messages.GUILD_STICKER_UPLOAD_DESCRIPTION.format({fileSize:(0,M.formatKbSize)(A.MAX_STICKER_FILE_SIZE,{useKibibytes:!0})}))),x(S.FormSection,{title:w.default.Messages.GUILD_STICKER_UPLOAD_PREVIEW_TITLE,className:j.default.formItem},void 0,x(Y,{stickerPreview:Oe})),x(O.default,{title:w.default.Messages.GUILD_STICKER_UPLOAD_NAME_TITLE,required:!0,className:j.default.formItem},void 0,x(E.default,{value:Q,onChange:ee,placeholder:w.default.Messages.GUILD_STICKER_UPLOAD_NAME_PLACEHOLDER,maxLength:30})),x(S.FormSection,{className:(0,o.default)(j.default.formItem,j.default.formItemRow)},void 0,x(O.default,{title:me?w.default.Messages.GUILD_STICKER_UPLOAD_FILE_TITLE_BLOCKED:w.default.Messages.GUILD_STICKER_UPLOAD_FILE_TITLE,required:!0,className:j.default.formItemRowChild},void 0,me?x(E.default,{disabled:!0,value:null!==(y=null==ne?void 0:ne.filename)&&void 0!==y?y:""}):x(z,{filename:null!==(_=null==ne?void 0:ne.filename)&&void 0!==_?_:"",onFileSelect:function(e){var t=e.type.split(";")[0];if(V.has(t))if(e.size>W)ye({message:w.default.Messages.GUILD_STICKER_FILE_TOO_BIG.format({maxSize:(0,M.formatKbSize)(W,{useKibibytes:!0})}),isBlocking:null==ne.file});else{var n=(0,R.getStickerFormatTypeFromFileType)(e.type),r=n===P.StickerFormat.LOTTIE,a=new FileReader;if(a.addEventListener("load",(function(){var e=a.result;r||X({id:i.default.v4(),formatType:n,content:e}),ye(null)})),a.readAsDataURL(e),r){var o=new FileReader;o.addEventListener("load",(function(){X({id:i.default.v4(),formatType:n,content:o.result})})),o.readAsText(e)}re({file:e,filename:e.name})}else ye({message:w.default.Messages.GUILD_STICKER_UNKNOWN_MIME_TYPE,isBlocking:!0})}})),x(O.default,{title:w.default.Messages.GUILD_STICKER_UPLOAD_RELATED_EMOJI_TITLE,required:!0,className:j.default.formItemRowChild},void 0,x($,{emoji:oe,onSelectEmoji:ie}))),x("div",{className:j.default.formItem},void 0,x(S.FormTitle,{},void 0,w.default.Messages.GUILD_STICKER_UPLOAD_DESCRIPTION_TITLE,x(g.default,{text:w.default.Messages.GUILD_STICKER_UPLOAD_DESCRIPTION_TOOLTIP},void 0,(function(e){return a.createElement(I.default,H({className:j.default.infoIcon},e))}))),x(h.default,{value:ue,onChange:se,placeholder:w.default.Messages.GUILD_STICKER_UPLOAD_DESCRIPTION_PLACEHOLDER,maxLength:100})),null!=ve&&x(b.default,{className:j.default.formItem,size:b.default.Sizes.SIZE_14,color:b.default.Colors.ERROR},void 0,ve.message)),x(T.ModalFooter,{},void 0,x(v.default,{type:"submit",disabled:!Ee},void 0,me?w.default.Messages.GUILD_STICKERS_UPDATE:w.default.Messages.UPLOAD),x(v.default,{look:v.default.Looks.LINK,color:F===D.ThemeTypes.LIGHT?v.default.Colors.PRIMARY:v.default.Colors.WHITE,onClick:k},void 0,w.default.Messages.NEVERMIND))))};t.StickerUploadModal=q,q.displayName="StickerUploadModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CALL_START=t.CALL_ACCEPT=void 0;var r=n(121),a=n(1),o={binds:["mod+return"],comboKeysBindGlobal:!0,action:function(){if(r.ComponentDispatch.hasSubscribers(a.ComponentActions.CALL_ACCEPT))return r.ComponentDispatch.dispatch(a.ComponentActions.CALL_ACCEPT),!1}};t.CALL_ACCEPT=o;var i={binds:["ctrl+'","ctrl+shift+'"],comboKeysBindGlobal:!0,action:function(e){if(r.ComponentDispatch.hasSubscribers(a.ComponentActions.CALL_START))return r.ComponentDispatch.dispatch(a.ComponentActions.CALL_START,e),!1}};t.CALL_START=i;var l={CALL_ACCEPT:o,CALL_START:i};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NAVIGATE_FORWARD=t.NAVIGATE_BACK=t.TOGGLE_PREVIOUS_GUILD=t.CHANNEL_PREV=t.CHANNEL_NEXT=void 0;var r,a,o=c(n(66)),i=c(n(9930)),l=n(8356),u=n(42),s=c(n(36)),d=c(n(107)),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}var p=/Darwin|OS X/.test(null!==(r=null===(a=o.default.os)||void 0===a?void 0:a.family)&&void 0!==r?r:""),v={binds:["alt+down"],comboKeysBindGlobal:!0,action:function(){return(0,i.default)(),!1}};t.CHANNEL_NEXT=v;var y={binds:["alt+up"],comboKeysBindGlobal:!0,action:function(){return(0,i.default)(-1),!1}};t.CHANNEL_PREV=y;var m={binds:["mod+alt+right"],comboKeysBindGlobal:!0,action:function(){var e;if(d.default.getGuildId())e=f.ME;else{var t=d.default.getLastSelectedGuildId();t&&(e=t,(0,l.transitionToChannel)(t,s.default.getChannelId(t)))}return null!=e&&(0,u.transitionTo)(f.Routes.CHANNEL(e,s.default.getChannelId(e))),!1}};t.TOGGLE_PREVIOUS_GUILD=m;var _={binds:p?["mod+["]:["alt+left"],comboKeysBindGlobal:!0,action:function(){return(0,u.back)(),!1}};t.NAVIGATE_BACK=_;var h={binds:p?["mod+]"]:["alt+right"],comboKeysBindGlobal:!0,action:function(){return(0,u.forward)(),!1}};t.NAVIGATE_FORWARD=h;var E={CHANNEL_PREV:y,CHANNEL_NEXT:v,TOGGLE_PREVIOUS_GUILD:m,NAVIGATE_BACK:_,NAVIGATE_FORWARD:h};t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldShowAllActiveJoinedThreads=u,t.getVisibleThreadsForChannel=void 0;var r=l(n(8)),a=n(31),o=l(n(1212)),i=l(n(181));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(null!=t){if(t.id===e.id)return!0;if(t.isThread()&&t.parent_id===e.id)return!0}return!i.default.isChannelMuted(e.guild_id,e.id)&&(null==e.parent_id||!o.default.isCollapsed(e.parent_id))}t.getVisibleThreadsForChannel=function(e){var t,n=e.channel,o=e.selectedChannel,i=e.activeJoinedThreads,l=e.activeJoinedUnreadThreads,s=u(n,o)?i[n.id]:l[n.id],d=null!==(t=null==o?void 0:o.id)&&void 0!==t?t:null;return a.THREADED_CHANNEL_TYPES.has(n.type)?n.id===d?{count:r.default.size(s),threads:s,includeSelectedChannel:!1}:null!=d&&null!=o&&o.parent_id===n.id&&a.THREAD_CHANNEL_TYPES.has(o.type)?null==s?{count:1,threads:void 0,includeSelectedChannel:!0}:d in s?{count:r.default.size(s),threads:s,includeSelectedChannel:!1}:{count:r.default.size(s)+1,threads:s,includeSelectedChannel:!0}:{count:r.default.size(s),threads:s,includeSelectedChannel:!1}:{count:0,threads:void 0,includeSelectedChannel:!1}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.id,d=e.guild_id,f=e.parent_id;if(null==d)return!1;null==t&&(t=r.default.getState().channelId);if(function(e,t){return e===t||e===l.default.getVoiceChannelId()||i.default.getMentionCount(e)>0}(e.id,t))return!1;var c=u.default.getMutedChannels(d).has(n);if(null!=f&&o.default.isCollapsed(f)&&(c||e.isVocal()||e.type===s.ChannelTypes.GUILD_STORE||u.default.isChannelMuted(d,f)||(0,a.isGuildReadableType)(e.type)&&!1===i.default.hasUnread(n)))return!0;return c&&u.default.isGuildCollapsed(d)};var r=d(n(5939)),a=n(31),o=d(n(1212)),i=d(n(200)),l=d(n(36)),u=d(n(181)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MARK_CHANNEL_READ=void 0;var r=S(n(390)),a=n(8321),o=n(8390),i=S(n(8437)),l=S(n(1276)),u=n(5940),s=S(n(8265)),d=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(1268)),f=S(n(719)),c=S(n(8333)),p=S(n(201)),v=S(n(200)),y=S(n(36)),m=S(n(107)),_=S(n(161)),h=n(121),E=n(1);function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e){return e&&e.__esModule?e:{default:e}}var O={binds:["esc","shift+pagedown"],comboKeysBindGlobal:!0,action:function(){if(_.default.isElementFullScreen())return!1;if(h.ComponentDispatch.hasSubscribers(E.ComponentActions.CALL_DECLINE))return h.ComponentDispatch.dispatch(E.ComponentActions.CALL_DECLINE),!1;if(f.default.close())return!1;if(h.ComponentDispatch.hasSubscribers(E.ComponentActions.POPOUT_CLOSE))return h.ComponentDispatch.dispatch(E.ComponentActions.POPOUT_CLOSE),!1;if(h.ComponentDispatch.hasSubscribers(E.ComponentActions.CLOSE_GIF_PICKER))return h.ComponentDispatch.dispatch(E.ComponentActions.CLOSE_GIF_PICKER),!1;if(h.ComponentDispatch.hasSubscribers(E.ComponentActions.MODAL_CLOSE))return h.ComponentDispatch.dispatch(E.ComponentActions.MODAL_CLOSE),!1;if(h.ComponentDispatch.hasSubscribers(E.ComponentActions.SEARCH_RESULTS_CLOSE))return h.ComponentDispatch.dispatch(E.ComponentActions.SEARCH_RESULTS_CLOSE),!1;var e=m.default.getGuildId(),t=y.default.getChannelId(e),n=d.default.getSection(t)===E.ChannelSections.THREAD?d.default.getThreadSidebarState(t):null,r=(null==n?void 0:n.type)===d.ThreadSidebarType.VIEW?n.channelId:null;if(!1===I(t))return!1;if(!1===I(r))return!1;if(null!=t&&(null==n?void 0:n.type)===d.ThreadSidebarType.CREATE)return s.default.closeThreadSidebar(t),!1;var a=T(t),o=T(r);return null==t||a||o||null==n?(h.ComponentDispatch.dispatch(E.ComponentActions.SCROLLTO_PRESENT),!1):(s.default.closeThreadSidebar(t),!1)}};function I(e){if(null!=e)return c.default.isEditingAny(e)?(r.default.endEditMessage(e),!1):null!=i.default.getPendingReply(e)?((0,o.deletePendingReply)(e),!1):null!=l.default.getStickerPreview(e)?((0,u.clearStickerPreview)(e),!1):void 0}function T(e){if(null==e)return!1;var t=!1;return p.default.getMessages(e).hasMoreAfter&&(r.default.jumpToPresent(e,E.MAX_MESSAGES_PER_CHANNEL),t=!0),v.default.hasUnread(e)&&((0,a.ack)(e),t=!0),(0,a.localAck)(e),t}t.MARK_CHANNEL_READ=O;var C={MARK_CHANNEL_READ:O};t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MARK_SERVER_READ=void 0;var r=c(n(14)),a=c(n(2)),o=c(n(390)),i=c(n(1223)),l=c(n(201)),u=c(n(36)),s=c(n(107)),d=n(121),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}var p={};var v={binds:["shift+esc"],comboKeysBindGlobal:!0,action:function(){var e=s.default.getGuildId();if(e&&i.default.getUnreadGuildsIgnoreMuted(e)){if(!p[e]){var t=function(){return delete p[e]};(n=e,r.default.post({url:f.Endpoints.GUILD_ACK(n),oldFormErrors:!0}).then((function(){return a.default.dispatch({type:f.ActionTypes.GUILD_ACK,guildId:n})}))).then(t,t)}var n,c=u.default.getChannelId(e);if(c)l.default.getMessages(c).hasMoreAfter?o.default.jumpToPresent(c,f.MAX_MESSAGES_PER_CHANNEL):d.ComponentDispatch.dispatch(f.ComponentActions.SCROLLTO_PRESENT)}}};t.MARK_SERVER_READ=v;var y={MARK_SERVER_READ:v};t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.JUMP_TO_FIRST_UNREAD=void 0;var r=i(n(390)),a=i(n(200)),o=i(n(36));function i(e){return e&&e.__esModule?e:{default:e}}var l={binds:["shift+pageup"],comboKeysBindGlobal:!0,action:function(){var e=o.default.getChannelId();if(e){var t=a.default.ackMessageId(e);t&&a.default.getOldestUnreadTimestamp(e)>0&&r.default.jumpToMessage({channelId:e,messageId:t,offset:1,context:"Keyboard Shortcut"})}return!1}};t.JUMP_TO_FIRST_UNREAD=l;var u={JUMP_TO_FIRST_UNREAD:l};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RETURN_TO_AUDIO_CHANNEL=void 0;var r=u(n(1226)),a=n(8356),o=u(n(94)),i=u(n(36)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}var s={binds:["mod+alt+left"],comboKeysBindGlobal:!0,action:function(){if(!o.default.isConnected())return!1;var e=o.default.getGuildId()||l.ME,t=i.default.getChannelId(e);return(0,a.transitionToChannel)(e,t),r.default.channelListScrollTo(e,o.default.getChannelId()),!1}};t.RETURN_TO_AUDIO_CHANNEL=s;var d={RETURN_TO_AUDIO_CHANNEL:s};t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SCROLL_DOWN=t.SCROLL_UP=void 0;var r=n(121),a=n(1),o={binds:["pageup"],comboKeysBindGlobal:!0,action:function(){return r.ComponentDispatch.dispatchToLastSubscribed(a.ComponentActions.SCROLL_PAGE_UP),!1}};t.SCROLL_UP=o;var i={binds:["pagedown"],comboKeysBindGlobal:!0,action:function(){return r.ComponentDispatch.dispatchToLastSubscribed(a.ComponentActions.SCROLL_PAGE_DOWN),!1}};t.SCROLL_DOWN=i;var l={SCROLL_UP:o,SCROLL_DOWN:i};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SEARCH_EMOJIS=void 0;var r=n(121),a=n(1),o={binds:["mod+e"],comboKeysBindGlobal:!0,action:function(){return r.ComponentDispatch.dispatchToLastSubscribed(a.ComponentActions.TOGGLE_EMOJI_POPOUT),!1}};t.SEARCH_EMOJIS=o;var i={SEARCH_EMOJIS:o};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SERVER_PREV=t.SERVER_NEXT=void 0;var r,a=(r=n(9937))&&r.__esModule?r:{default:r};var o={binds:["mod+alt+down","mod+shift+]","ctrl+tab"],comboKeysBindGlobal:!0,action:function(e){return e.preventDefault(),e.stopPropagation(),(0,a.default)(),!1}};t.SERVER_NEXT=o;var i={binds:["mod+alt+up","mod+shift+[","ctrl+shift+tab"],comboKeysBindGlobal:!0,action:function(e){return e.preventDefault(),e.stopPropagation(),(0,a.default)(-1),!1}};t.SERVER_PREV=i;var l={SERVER_NEXT:o,SERVER_PREV:i};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SUBMIT=void 0;var r,a=(r=n(105))&&r.__esModule?r:{default:r},o=n(121),i=n(1);var l={binds:["return"],action:function(){if(!a.default.keyboardModeEnabled&&o.ComponentDispatch.hasSubscribers(i.ComponentActions.MODAL_SUBMIT))return o.ComponentDispatch.dispatch(i.ComponentActions.MODAL_SUBMIT),!1}};t.SUBMIT=l;var u={SUBMIT:l};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TEXTAREA_FOCUS=void 0;var r=n(422),a=c(n(105)),o=c(n(694)),i=c(n(51)),l=c(n(94)),u=n(121),s=n(1344),d=n(401),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}var p=new Set(["PageDown","PageUp","Home","End","ArrowUp","ArrowDown","ArrowLeft","ArrowRight"]),v=new Set(["Alt","AltGraph","CapsLock","Control","Fn","FnLock","Hyper","Meta","NumLock","OS","ScrollLock","Shift","Super","Symbol","SymbolLock"]),y=new Set(["F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","F13","F14","F15","F16","F17","F18","F19","F20","Accept","ContextMenu","Find","ZoomIn","ZoomOut"]),m={binds:["any-character"],keydown:function(e,t){if((0,s.isInputLikeElement)(document.activeElement))return!1;if(r.LOCK_STACK.isActive())return!1;if(v.has(t))return!1;if(y.has(t))return!1;var n=null!=document.activeElement&&"BODY"===document.activeElement.tagName;return!(a.default.keyboardModeEnabled&&!n&&!/^[a-zA-Z0-9]$/.test(t))&&(!u.ComponentDispatch.hasSubscribers(f.ComponentActions.MODAL_CLOSE)&&(!o.default.hasLayers()&&("Tab"===t&&u.ComponentDispatch.hasSubscribers(f.ComponentActions.TEXTAREA_FOCUS)&&null!=document.querySelector('[data-can-focus="true"]')?(e.preventDefault(),u.ComponentDispatch.dispatch(f.ComponentActions.TEXTAREA_FOCUS),!1):!(l.default.isConnected()&&i.default.getMode()===f.InputModes.PUSH_TO_TALK&&!i.default.isSelfMute()&&Object.values(i.default.getShortcuts()).map(d.toBrowserEvents).some((function(t){return t.map((function(e){return e.keyCode})).includes(e.keyCode)})))&&void(e.metaKey||e.ctrlKey||p.has(t)||u.ComponentDispatch.dispatchToLastSubscribed(f.ComponentActions.TEXTAREA_FOCUS)))))}};t.TEXTAREA_FOCUS=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TOGGLE_DEAFEN=t.TOGGLE_MUTE=void 0;var r,a=(r=n(288))&&r.__esModule?r:{default:r};var o={binds:["mod+shift+m"],comboKeysBindGlobal:!0,action:function(){return a.default.toggleSelfMute(),!1}};t.TOGGLE_MUTE=o;var i={binds:["mod+shift+d"],comboKeysBindGlobal:!0,action:function(){return a.default.toggleSelfDeaf(),!1}};t.TOGGLE_DEAFEN=i;var l={TOGGLE_MUTE:o,TOGGLE_DEAFEN:i};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TOGGLE_CATEGORY_COLLAPSED=void 0;var r=n(8450),a=u(n(1212)),o=u(n(86)),i=u(n(107)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}var s={binds:["mod+shift+a"],comboKeysBindGlobal:!0,action:function(){var e=i.default.getGuildId();return null==e||(o.default.getChannels(e)[l.ChannelTypes.GUILD_CATEGORY].some((function(e){var t=e.channel;return"null"!==t.id&&!a.default.isCollapsed(t.id)}))?(0,r.categoryCollapseAll)(e):(0,r.categoryExpandAll)(e)),!1}};t.TOGGLE_CATEGORY_COLLAPSED=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MENTION_PREV=t.MENTION_NEXT=t.UNREAD_PREV=t.UNREAD_NEXT=void 0;var r=d(n(9942)),a=d(n(5939)),o=n(31),i=d(n(10)),l=d(n(200)),u=d(n(181)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}var f=function(e,t){var n=i.default.getChannel(t);return null!=n&&((0,o.isPrivate)(n.type)?Boolean(l.default.getMentionCount(t)):(!u.default.isChannelMuted(e,t)||l.default.getMentionCount(t)>0)&&l.default.hasUnread(t))},c={binds:["alt+shift+down"],comboKeysBindGlobal:!0,action:function(){var e=a.default.getState().guildId||s.ME;return(0,r.default)(1,f,(function(t){return t===e||!u.default.isMuted(t)})),!1}};t.UNREAD_NEXT=c;var p={binds:["alt+shift+up"],comboKeysBindGlobal:!0,action:function(){var e=a.default.getState().guildId||s.ME;return(0,r.default)(-1,f,(function(t){return t===e||!u.default.isMuted(t)})),!1}};t.UNREAD_PREV=p;var v=function(e,t){return l.default.getMentionCount(t)>0},y={binds:["mod+shift+alt+down"],comboKeysBindGlobal:!0,action:function(){return(0,r.default)(1,v),!1}};t.MENTION_NEXT=y;var m={binds:["mod+shift+alt+up"],comboKeysBindGlobal:!0,action:function(){return(0,r.default)(-1,v),!1}};t.MENTION_PREV=m;var _={UNREAD_NEXT:c,UNREAD_PREV:p,MENTION_NEXT:y,MENTION_PREV:m};t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ZOOM_RESET=t.ZOOM_OUT=t.ZOOM_IN=void 0;var r,a=n(285),o=(r=n(105))&&r.__esModule?r:{default:r},i=n(1);function l(e){return i.Accessibility.ZOOM_SCALES[Math.max(0,Math.min(i.Accessibility.ZOOM_SCALES.indexOf(o.default.zoom)+e,i.Accessibility.ZOOM_SCALES.length-1))]}var u={binds:["mod+plus"],comboKeysBindGlobal:!0,action:function(){return(0,a.setZoom)(l(1)),!1}};t.ZOOM_IN=u;var s={binds:["mod+minus"],comboKeysBindGlobal:!0,action:function(){return(0,a.setZoom)(l(-1)),!1}};t.ZOOM_OUT=s;var d={binds:["mod+0"],comboKeysBindGlobal:!0,action:function(){return(0,a.setZoom)(i.Accessibility.ZOOM_DEFAULT),!1}};t.ZOOM_RESET=d;var f={ZOOM_IN:u,ZOOM_OUT:s,ZOOM_RESET:d};t.default=f},function(e,t,n){e.exports=n.p+"99ac3518ec114a8f0d5731e44edcd311.jpg"},function(e,t,n){e.exports=n.p+"7cae05d9deaeae011c5401e259f1c48a.jpg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePurchasableLiveScheduledEventsStageChannel=function(e){var t=(0,r.useStateFromStores)([i.default],(function(){return Object.values(i.default.getStageInstancesByGuild(e)).find((function(e){return null!=e.guild_scheduled_event_id}))}),[e]),n=(d=null==t?void 0:t.channel_id,f=(0,r.useStateFromStores)([l.default],(function(){return l.default.getChannel(d)}),[d]),(0,r.useStateFromStores)([u.default],(function(){return u.default.can(o.JOIN_VOCAL_CHANNEL_PERMISSIONS,f)}))?null:f),s=(0,r.useStateFromStores)([a.default],(function(){return a.default.getGuildScheduledEvent(null==t?void 0:t.guild_scheduled_event_id)}));var d,f;return{purchasableLiveScheduledEventStageChannel:n,purchasableLiveScheduledEvent:s}},t.useLiveScheduledEventStageChannel=function(e,t){var n=(0,r.useStateFromStores)([i.default],(function(){var n;return null===(n=Object.values(i.default.getStageInstancesByGuild(e)).find((function(e){return e.guild_scheduled_event_id===t})))||void 0===n?void 0:n.channel_id}),[t,e]);return(0,r.useStateFromStores)([l.default],(function(){return l.default.getChannel(n)}),[n])};var r=n(3),a=s(n(8764)),o=n(203),i=s(n(81)),l=s(n(10)),u=s(n(40));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addDirectoryGuildEntry=function(e,t,n){return v.apply(this,arguments)},t.removeDirectoryGuildEntry=function(e,t){l.default.delete({url:s.Endpoints.DIRECTORY_CHANNEL_ENTRY(e,t),trackedActionData:{event:a.NetworkActionNames.DIRECTORY_GUILD_ENTRY_DELETE,metadata:{directory_channel_id:e,guild_id:t}}}),i.default.dispatch({type:s.ActionTypes.GUILD_DIRECTORY_ENTRY_DELETE,channelId:e,guildId:t})},t.updateDirectoryEntry=t.clearDirectorySearch=t.searchDirectoryEntries=t.fetchDirectoryEntries=void 0;var r=d(n(378)),a=n(95),o=d(n(14)),i=d(n(2)),l=d(n(482)),u=d(n(10386)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){f(o,r,a,i,l,"next",e)}function l(e){f(o,r,a,i,l,"throw",e)}i(void 0)}))}}var p=(0,r.default)(function(){var e=c(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,i.default.dispatch({type:s.ActionTypes.GUILD_DIRECTORY_FETCH_START}),e.next=4,o.default.get({url:s.Endpoints.DIRECTORY_CHANNEL_ENTRIES(t)});case 4:n=e.sent,i.default.dispatch({type:s.ActionTypes.GUILD_DIRECTORY_FETCH_SUCCESS,channelId:t,entries:n.body}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),i.default.dispatch({type:s.ActionTypes.GUILD_DIRECTORY_FETCH_FAILURE});case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t){return e.apply(this,arguments)}}(),200);function v(){return(v=c(regeneratorRuntime.mark((function e(t,n,r){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.default.post({url:s.Endpoints.DIRECTORY_CHANNEL_ENTRY(t,n),body:{description:r},trackedActionData:{event:a.NetworkActionNames.DIRECTORY_GUILD_ENTRY_CREATE,metadata:{directory_channel_id:t,guild_id:n}}});case 2:o=e.sent,i.default.dispatch({type:s.ActionTypes.GUILD_DIRECTORY_ENTRY_CREATE,channelId:t,entry:o.body});case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}t.fetchDirectoryEntries=p;var y=(0,r.default)(function(){var e=c(regeneratorRuntime.mark((function e(t,n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u.default.shouldFetch(t,n)){e.next=4;break}return i.default.dispatch({type:s.ActionTypes.GUILD_DIRECTORY_CACHED_SEARCH,channelId:t,query:n}),e.abrupt("return");case 4:return e.prev=4,i.default.dispatch({type:s.ActionTypes.GUILD_DIRECTORY_SEARCH_START,channelId:t,query:n}),e.next=8,o.default.get({url:s.Endpoints.DIRECTORY_ENTRIES_SEARCH(t),query:{query:n}});case 8:r=e.sent,i.default.dispatch({type:s.ActionTypes.GUILD_DIRECTORY_SEARCH_SUCCESS,channelId:t,query:n,results:r.body}),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(4),i.default.dispatch({type:s.ActionTypes.GUILD_DIRECTORY_FETCH_FAILURE});case 15:case"end":return e.stop()}}),e,null,[[4,12]])})));return function(t,n){return e.apply(this,arguments)}}(),200);t.searchDirectoryEntries=y;t.clearDirectorySearch=function(e){i.default.dispatch({type:s.ActionTypes.GUILD_DIRECTORY_SEARCH_CLEAR,channelId:e})};var m=function(){var e=c(regeneratorRuntime.mark((function e(t,n,r){var a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.default.patch({url:s.Endpoints.DIRECTORY_CHANNEL_ENTRY(t,n),body:{description:r}});case 2:a=e.sent,i.default.dispatch({type:s.ActionTypes.GUILD_DIRECTORY_ENTRY_UPDATE,channelId:t,entry:a.body});case 4:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}();t.updateDirectoryEntry=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),a=i(n(2)),o=i(n(10));n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(){return(u=Object.assign||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}).apply(this,arguments)}var s={},d=s;function f(){Object.keys(d).forEach((function(e){null==o.default.getChannel(e)&&delete d[e]}))}var c=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var a=r.prototype;return a.initialize=function(e){this.waitFor(o.default),d=e||s},a.getState=function(){return d},a.getCollapsed=function(){return d},a.isCollapsed=function(e){return d[e]||!1},r}(r.default.PersistedStore);c.persistKey="collapsedChannels";var p=new c(a.default,{CONNECTION_OPEN:function(e){return f()},OVERLAY_INITIALIZE:function(e){return f()},CHANNEL_COLLAPSE:function(e){var t=e.channelId;d[t]?delete d[t]:d[t]=!0,d=u({},d)}});t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.areTypesInSameSection=u,t.getDropData=function(e,t,n,r,o){if(null==e||null==n)return null;var l=i.ChannelTypes.GUILD_CATEGORY;if(e.type===l)return r===t||r<t&&e.type===n.type?f(n):r>t?function(e,t,n){var r=i.ChannelTypes.GUILD_CATEGORY,a=n[(d(t,n,!0)||0)+1],o=s(-1,t.id,e.type,n);if(null==o||o&&o.channel.id===e.id)return null;if(null==a||a.channel.type===r)return{referenceId:o.channel.id,parentId:null};return null}(e,n,o):null;if(u(e.type,n.type))return f(n);if(r<t)return n.type===l?function(e,t,n){var r=n[(d(t,n,!0)||0)-1],o=s(1,t.id,e.type,n);if(null==r)return{referenceId:null,parentId:null};if(null!=o){if(u(r.channel.type,e.type)||e.isVocal()&&(0,a.isGuildSelectableChannelType)(r.channel.type))return{referenceId:o.channel.id,parentId:r.channel.parent_id};if(r.channel.isCategory())return{referenceId:o.channel.id,parentId:r.channel.id}}return null}(e,n,o):function(e,t,n){var r=n[(d(t,n,!0)||0)-1],o=s(1,t.id,e.type,n);if(null==r&&!e.isVocal())return{referenceId:null!=o?o.channel.id:null,parentId:null};if((0,a.isGuildSelectableChannelType)(e.type)&&null!=o&&((0,a.isGuildSelectableChannelType)(r.channel.type)||r.channel.isCategory()))return{referenceId:o.channel.id,parentId:t.parent_id};return null}(e,n,o);if(n.type===l)return function(e,t,n){var r=n[(d(t,n,!0)||0)+1],o=s(-1,t.id,e.type,n);if(null!=o){if(null==r)return{referenceId:o.channel.id,parentId:t.id};if(u(r.channel.type,e.type)||(0,a.isGuildSelectableChannelType)(e.type)&&r.channel.isVocal())return{referenceId:o.channel.id,parentId:r.channel.parent_id};if(r.channel.isCategory())return{referenceId:o.channel.id,parentId:t.id}}return null}(e,n,o);return function(e,t,n){var r=n[(d(t,n,!0)||0)+1],a=s(-1,t.id,e.type,n);if(null==a)return null;if(e.isVocal()){if(null==r||r.channel.isCategory())return{referenceId:a.channel.id,parentId:t.parent_id};if(r.channel.isVocal())return{referenceId:a.channel.id,parentId:r.channel.parent_id}}if(e.isCategory()&&(null==r||r.channel.isCategory()))return{referenceId:a.channel.id,parentId:null};return null}(e,n,o)},t.getDnDUpdates=function(e,t,n,i){var l,u,s=[],f=[],c=i._categories,p=function(t){var n;return n=null!=l&&null!=u&&function(e,t,n,r){if(null!=t&&null!=n&&null!=r[t]&&r[t].channel===e&&null!=r[n])return!0;return!1}(e,l,u,t)?o.default.moveItemFromTo(t,l,u):[].concat(t),s=s.concat(o.default.calculatePositionDeltas(t,n,(function(e){return e.channel.id}),(function(e){return e.channel.position}))),n};if(e.isCategory()){var v=[].concat(c).slice(1);l=d(e,v),u=d(t,v),(f=p(v)).unshift(c[0])}if((0,a.isGuildSelectableChannelType)(e.type)||e.isCategory()){var y=(0,r.default)(f.length?f:c,i,(function(e){var t=e.channel.type;return(0,a.isGuildSelectableChannelType)(t)}));l=d(e,y),u=d(t,y),p(y)}if(e.isVocal()||e.isCategory()){var m=(0,r.default)(f.length?f:c,i,(function(e){return e.channel.isVocal()}));l=d(e,m),u=d(t,m),p(m)}if(e.parent_id!==n){var _=!1;s.find((function(t){return t.id===e.id&&(t.parent_id=n,_=!0)})),_||s.push({id:e.id,parent_id:n})}return s};var r=l(n(1282)),a=n(31),o=l(n(8974)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return null!=e&&null!=t&&(e===t||(0,a.isGuildSelectableChannelType)(e)&&(0,a.isGuildSelectableChannelType)(t)||(0,a.isGuildVocalChannelType)(e)&&(0,a.isGuildVocalChannelType)(t))}function s(e,t,n,r){var a=-1;if(r.find((function(e,n){return e.channel.id===t&&(a=n,!0)})),a<0)return null;for(var o=a;o>=0&&o<r.length;o+=e){var i=r[o];if(u(i.channel.type,n))return i}return null}function d(e,t,n){if(void 0===n&&(n=!1),null==e)return 0;var r=null;return t.filter((function(t){var r=t.channel.type;return null!=e&&(n||u(e.type,r))})).find((function(t,n){var a=t.channel.id;return null!=e&&a===e.id&&(r=n,!0)})),r}function f(e){return{referenceId:e.id,parentId:e.parent_id}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;v(n(0));var r,a=n(389),o=c(n(8258)),i=v(n(8253)),l=c(n(11)),u=c(n(8329)),s=c(n(8370)),d=c(n(8485)),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t=e.channel,n=e.guild,r=e.onSelect,c=(0,s.default)(t),p=(0,d.default)(t,n),v=(0,u.default)(t),m=(0,o.default)(t.id);return l.default.isGuest()?null:y(i.default,{navId:"channel-context",onClose:a.closeContextMenu,"aria-label":f.default.Messages.CHANNEL_ACTIONS_MENU_LABEL,onSelect:r},void 0,y(i.MenuGroup,{},void 0,c),y(i.MenuGroup,{},void 0,p),y(i.MenuGroup,{},void 0,v),y(i.MenuGroup,{},void 0,m))}m.displayName="ChannelListStoreChannelContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=O;g(n(0));var r,a=n(389),o=h(n(8323)),i=h(n(8258)),l=g(n(8253)),u=h(n(11)),s=h(n(8579)),d=h(n(8484)),f=h(n(8329)),c=h(n(8370)),p=h(n(8485)),v=h(n(8441)),y=h(n(8399)),m=h(n(8571)),_=h(n(6));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e){var t=e.channel,n=e.guild,r=e.onSelect,h=(0,v.default)(t),E=(0,y.default)(t),g=(0,m.default)(t),O=(0,c.default)(t),I=(0,p.default)(t,n),T=(0,s.default)(t,n),C=(0,d.default)(t,n),b=(0,f.default)(t),M=(0,i.default)(t.id),N=(0,o.default)(t);return u.default.isGuest()?null:S(l.default,{navId:"channel-context",onClose:a.closeContextMenu,"aria-label":_.default.Messages.CHANNEL_ACTIONS_MENU_LABEL,onSelect:r},void 0,S(l.MenuGroup,{},void 0,h),S(l.MenuGroup,{},void 0,E),S(l.MenuGroup,{},void 0,g,O),S(l.MenuGroup,{},void 0,N),S(l.MenuGroup,{},void 0,I,T,C),S(l.MenuGroup,{},void 0,b),S(l.MenuGroup,{},void 0,M))}O.displayName="ChannelListTextChannelContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=f(n(378)),l=f(n(273)),u=f(n(184)),s=n(123),d=f(n(7784));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,h(e,t)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E={friction:10,tension:300},g=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={translateY:new l.default.Value,reduceMotion:!1},n}_(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e,t){return!(0,u.default)(this.props,e,["animate"])||!(0,u.default)(this.state,t)},n.componentDidMount=function(){this.props.hide?this.state.translateY.setValue(1):this.state.translateY.setValue(0)},n.componentDidUpdate=function(e){var t=e.hide,n=this.props.hide;n&&!t?this.animateOut():!n&&t&&this.animateIn()},n.componentWillUnmount=function(){null!=this._timeout&&clearTimeout(this._timeout)},n.animateIn=function(){var e=this.state.translateY;null!=this._timeout&&clearTimeout(this._timeout),this.props.animate?this._timeout=setTimeout((function(){l.default.spring(e,m({toValue:0},E)).start()}),100):e.setValue(0)},n.animateOut=function(){var e=this.state.translateY;null!=this._timeout&&clearTimeout(this._timeout),this.props.animate?l.default.spring(e,m({toValue:1},E)).start():e.setValue(1)},n.render=function(){var e=this.props,t=e.className,n=e.text,r=e.hide,a=e.onClick;return y(l.default.div,{className:(0,o.default)(d.default.bar,t),onClick:a,style:this.getAnimatedStyle(),"aria-hidden":r},void 0,y("span",{className:d.default.text},void 0,n))},n.getAnimatedStyle=function(){var e=this.state.translateY,t=this.props.reverse;return{transform:[{translateY:e.interpolate({inputRange:[0,1],outputRange:["0%",t?"180%":"-180%"]})}]}},t}(a.Component);g.displayName="Bar";var S=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={unread:null,mention:null},t.calculateState=(0,i.default)((function(){var e=t.props,n=e.items,r=e.expandedFolders,a=e.isVisible,o=e.isUnread,i=e.isMentioned,l=e.reverse,u=e.onCalculate,s=null,d=null,f=[];n.forEach((function(e){"string"==typeof e?f.push(e):"object"==typeof e&&null!=e.folderId?null!=r&&r.has(e.folderId)?(f.push("folder:"+e.folderId),e.guildIds.forEach((function(e){return f.push(e)}))):f.push(e.guildIds):f.push(e.guildIds[0])}));for(var c=function(e){null==s&&i(e,l,f)&&(s=e),null==d&&o(e,l,f)&&(d=e)},v=l?f.length-1:0,y=f[v];null!=y;){if("string"==typeof y){if(a(y,l,f))break;c(y)}else{for(var m,_=!1,h=p(y);!(m=h()).done;){var E=m.value;if(a(E,l,f)){_=!0;break}c(E)}if(_)break}y=f[v+=l?-1:1]}null!=u&&u(s,d,l),t.setState({mention:s,unread:d})}),200),t.handleClick=function(e){e.preventDefault(),e.stopPropagation();var n=t.state,r=n.unread,a=n.mention,o=t.props.onJumpTo,i=a||r;null!=i&&o(i,[a,r])},t}_(t,e);var n=t.prototype;return n.componentDidMount=function(){this.calculateState()},n.componentDidUpdate=function(){this.calculateState()},n.componentWillUnmount=function(){this.calculateState.cancel()},n.render=function(){var e=this.state,t=e.unread,n=e.mention,r=this.props,a=r.textMention,i=r.textUnread,l=r.reverse,u=r.className,s=r.barClassName,f=r.hide,c=r.animate,p=this.context.reducedMotion;return y("div",{className:null!=u?u:void 0},void 0,y(g,{hide:!0===f||null==t&&null==n,className:(0,o.default)(s,null!=n?d.default.mention:d.default.unread),text:null!=n?a:i,reverse:l,animate:c&&!p.enabled,onClick:this.handleClick}))},t}(a.PureComponent);S.displayName="UnreadBar",S.contextType=s.AccessibilityPreferencesContext,S.defaultProps={className:d.default.container,reverse:!1,hide:!1,animate:!0};var O=S;t.default=O},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createEntity=y,t.getCollapsedSelection=function(e,t,n){var r=t.getCurrentContent().getFirstBlock();n=(n=(n=n||t.getSelection()).set("focusKey",r.getKey())).set("anchorKey",r.getKey());var a=Math.min(n.getStartOffset(),n.getEndOffset())+e.length;return n=(n=n.set("anchorOffset",a)).set("focusOffset",a)},t.updateContent=m,t.deleteContent=function(e,t){switch(e){case"delete":return(0,c.default)(t);case"delete-word":return(0,u.default)(t);case"backspace":return(0,f.default)(t);case"backspace-word":return(0,l.default)(t);case"backspace-to-start-of-line":return(0,i.default)(t);default:return t}},t.miscCommand=function(e,t){switch(e){case"transpose-characters":return(0,p.default)(t);case"move-selection-to-start-of-block":return(0,d.default)(t);case"move-selection-to-end-of-block":return(0,s.default)(t);default:return t}},t.adaptSelection=function(e,t){var n=(e=(e=e.set("focusKey",t.getKey())).set("anchorKey",t.getKey())).getEndOffset();return e=(e=e.set("anchorOffset",n)).set("focusOffset",n)},t.getFirstTextBlock=_,t.applyTokensAsEntities=function(e,t,n){void 0===n&&(n={});var r=t.getCurrentContent(),a=r.getFirstBlock(),o=a.getText(),i=[];return a.findEntityRanges((function(e){return null!==e.getEntity()}),(function(e,t){var n=r.getEntity(a.getEntityAt(e)).getType(),l=o.substring(e,t);i.push({processed:!1,type:n,start:e,end:t,text:l})})),e.forEach((function(e){var r=!1;if(i.forEach((function(n){var a=e.type,o=e.start,i=e.end,l=e.getFullMatch();n.processed||(n.type===a&&n.start===o&&n.text===l?(n.processed=!0,r=!0):(o>=n.start&&o<n.end||i>n.start&&i<=n.end)&&(n.processed=!0,t=y(null,n.start,n.end,t)))})),!r){var a=n[e.type];t=y([e.type,a&&a.mutable?"MUTABLE":"IMMUTABLE",{token:e}],e.start,e.end,t)}})),i.forEach((function(e){e.processed||(t=y(null,e.start,e.end,t))})),t},t.getSelectionScope=function(e,t){var n,r,a=t.getSelection(),o=a.focusOffset,i=a.anchorOffset,l=e.find((function(t,a){return o>=t.start&&o<=t.end&&i>=t.start&&i<=t.end?(e[a+1]&&(r=e[a+1]),!0):(n=t,!1)}));if(!l)return null;return{previousToken:n,currentToken:l,nextToken:r}},t.createEmptyEditorState=function(e){return r.EditorState.createEmpty(new r.CompositeDecorator(e))},t.clearContent=function(e){var t=r.EditorState.push(e,r.ContentState.createFromText("")),n=e.getSelection();null!=n&&n.hasFocus&&(t=r.EditorState.moveFocusToEnd(t));return t},t.replaceAllContent=function(e,t){var n=_(t);return m(e,t,0,n.length)},t.appendSpace=function(e){var t=_(e);return m(" ",e,t.length)},t.setCollapsedSelection=h,t.setCollapsedEndSelection=function(e){return h(e.getCurrentContent().getFirstBlock().getText().length,e)},t.setCollapsedStartSelection=function(e){return h(0,e)},t.setToStartSelection=function(e){var t=e.getSelection();return t=(t=t.set("focusOffset",0)).set("isBackward",!0),r.EditorState.forceSelection(e,t)},t.setToEndSelection=function(e){var t=_(e),n=e.getSelection();return n=(n=n.set("focusOffset",t.length)).set("isBackward",!1),r.EditorState.forceSelection(e,n)},t.truncateContent=function(e,t){void 0===t&&(t=512);var n=_(e);if(n.length>t){var a=e.getSelection();e=m("",e,t,n.length),a.getAnchorOffset()>t&&(a=a.set("anchorOffset",t)),a.getFocusOffset()>t&&(a=a.set("focusOffset",t)),e=r.EditorState.forceSelection(e,a)}return e},t.scrollCursorIntoView=function(e){var t=window.getSelection();if(!t||"Caret"!==t.type||!e)return;var n=t.getRangeAt(0);if(!function(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}(n.commonAncestorContainer,e))return;var r=n.getClientRects()[0],a=e.getClientRects()[0];if(!r||!a)return;var o=r.left-a.left+e.scrollLeft;o<e.scrollLeft?e.scrollLeft=o-10:o>e.scrollLeft+e.offsetWidth&&(e.scrollLeft=o-e.offsetWidth+3)},t.isEmpty=function(e){return 0===_(e).length},Object.defineProperty(t,"getDefaultKeyBinding",{enumerable:!0,get:function(){return a.default}});var r=n(9193),a=v(n(9205)),o=v(n(9031)),i=v(n(10006)),l=v(n(10007)),u=v(n(10008)),s=v(n(10009)),d=v(n(10010)),f=v(n(9204)),c=v(n(10011)),p=v(n(10012));function v(e){return e&&e.__esModule?e:{default:e}}function y(e,t,n,a){var o,i=a.getCurrentContent(),l=null;null!=e&&(l=(i=(o=i).createEntity.apply(o,e)).getLastCreatedEntityKey());var u=i.getFirstBlock(),s=new r.SelectionState({anchorKey:u.getKey(),anchorOffset:t,focusKey:u.getKey(),focusOffset:n});return i=r.Modifier.applyEntity(i,s,l),r.EditorState.set(a,{currentContent:i})}function m(e,t,n,a){var i,l=t.getCurrentContent(),u=l.getFirstBlock(),s=u.getText();"number"==typeof n?(n>s.length&&(n=s.length),a>s.length&&(a=s.length),i=new r.SelectionState({anchorKey:u.getKey(),anchorOffset:n,focusKey:u.getKey(),focusOffset:a||n})):i=t.getSelection();var d,f=t.getCurrentInlineStyle(),c=(0,o.default)(l,i);return i.isCollapsed()?(l=r.Modifier.insertText(l,i,e,f,c),d="insert-characters"):(l=r.Modifier.replaceText(l,i,e,f,c),d="replace-characters"),r.EditorState.push(t,l,d)}function _(e){return e.getCurrentContent().getFirstBlock().getText()}function h(e,t){var n=t.getSelection();return n=(n=n.set("focusOffset",e)).set("anchorOffset",e),r.EditorState.forceSelection(t,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(57);function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e){var t,n;function r(t){var n;(n=e.call(this,t)||this)._interval=new a.Interval,n.update=function(){var e=n.props,t=e.onUpdate,r=e.numUpdatesToShow,a=e.pointsToSmooth,o=e.updateInterval,i=n.props.getHistoricalTotalBytes(),l=null!=i[0]?i[0].bytes:0,u=[].concat(n.state.deltaBytes.slice(1,r+a),[l-n.state.lastTotalBytes]);n.setState({deltaBytes:u,smoothedDeltaBytes:n.smoothDeltaBytes(u),lastTotalBytes:l},(function(){return null!=t&&t(o)}))};var r=n.props.getHistoricalTotalBytes(),o=n.calculateInitialDeltaBytes(r);return n.state={deltaBytes:o,smoothedDeltaBytes:n.smoothDeltaBytes(o),lastTotalBytes:null!=r[0]?r[0].bytes:0},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var o=r.prototype;return o.componentDidMount=function(){this.update(),this._interval.start(this.props.updateInterval,this.update)},o.componentWillUnmount=function(){this._interval.stop()},o.calculateInitialDeltaBytes=function(e){for(var t=this.props,n=t.numUpdatesToShow,r=t.updateInterval,a=t.pointsToSmooth,o=Date.now(),i=0,l=0,u=[],s=null!=e[0]?e[0].bytes:0;i<n+a;i++){for(var d=o-(i+1)*r,f=void 0;l<e.length&&(f=e[l]).timestamp>d;)l++;if(l===e.length)break;null!=f&&(u.push(s-f.bytes),s=f.bytes)}for(;i<n+a;i++)u.push(0);return u.reverse(),u},o.smoothDeltaBytes=function(e){for(var t=this.props.pointsToSmooth,n=[],r=0;r<e.length-t;r++){for(var a=0,o=0;o<t;o++)a+=e[r+o];n.push(a/t)}return n},o.render=function(){var e=this.props,t=e.numUpdatesToShow,n=e.updateInterval;return(0,e.children)(this.state.smoothedDeltaBytes,n,t)},r}(r.Component);l.displayName="ByteProgressSmoother",l.defaultProps={numUpdatesToShow:30,updateInterval:500,pointsToSmooth:10};var u=l;t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s=new Set;var d=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var a=r.prototype;return a.initialize=function(e){null!=e&&(s=new Set(e.expandedFolders))},a.getState=function(){return{expandedFolders:Array.from(s)}},a.getExpandedFolders=function(){return s},a.isFolderExpanded=function(e){return s.has(e)},r}(r.default.PersistedStore);d.persistKey="ExpandedGuildFolderStore";var f=new d(a.default,{TOGGLE_GUILD_FOLDER_EXPAND:function(e){var t=e.folderId;(s=new Set(s)).has(t)?s.delete(t):s.add(t)},SET_GUILD_FOLDER_EXPANDED:function(e){var t=e.folderId,n=e.expanded;s=new Set(s),n?s.add(t):s.has(t)&&s.delete(t)},USER_SETTINGS_UPDATE:function(e){var t=e.settings.guildFolders;if(null==t)return!1;for(var n,r=!1,a=function(){var e=n.value;t.some((function(t){return t.folderId===e}))||((s=new Set(s)).delete(e),r=!0)},o=l(s);!(n=o()).done;)a();return r}});t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=A(n(9)),i=n(122),l=n(680),u=n(202),s=n(3),d=n(389),f=A(n(199)),c=A(n(10040)),p=A(n(15)),v=A(n(61)),y=A(n(371)),m=A(n(8847)),_=A(n(8464)),h=n(8263),E=A(n(8465)),g=n(139),S=n(8358),O=A(n(8540)),I=A(n(8701)),T=n(9037),C=n(1),b=A(n(6)),M=A(n(7389)),N=A(n(7388));function A(e){return e&&e.__esModule?e:{default:e}}function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(){return(R=Object.assign||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}).apply(this,arguments)}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var D=(0,g.cssValueToNumber)(N.default.animationDuration),w=(0,g.cssValueToNumber)(N.default.guildIconSize),j=(0,g.cssValueToNumber)(N.default.guildIconMargin);function k(e){var t=e.guildId,n=e.animate,r=(0,s.useStateFromStores)([p.default],(function(){return p.default.getGuild(t)}),[t]);return null==r?L("div",{className:N.default.guildIconUnavailable},void 0,"!"):L(y.default,{guild:r,animate:n,size:y.default.Sizes.SMOL,className:N.default.guildIcon,tabIndex:-1})}function U(e){var t,n,r=e.guildIds,o=e.color,l=e.hovered,s=e.expanded,d=e.isDropHovered,f=null!=o?o:(0,T.getDefaultFolderColor)(),c=a.useState(!1),p=c[0],v=c[1],y=a.useState(s),_=y[0],h=y[1],E=s?0:-w,g=(0,i.useSpring)({transform:"translate3d(0, "+E+"px, 0)",config:{duration:D},onStart:function(){v(!0),h(s)},onRest:function(){v(!1)}}),O=p?g:void 0;if((p||_)&&(t=L(i.animated.div,{style:O,className:N.default.expandedFolderIconWrapper},void 0,L(m.default,{style:{color:(0,u.int2hex)(f)}}))),p||!_||d){var I=d&&r.length<4?L(S.DragPlaceholder,{className:N.default.miniPlaceholder}):null;n=L(i.animated.div,{style:O,className:N.default.closedFolderIconWrapper},void 0,r.slice(0,4).map((function(e){return L(k,{guildId:e,animate:l},e)})),I)}return L("div",{style:s?void 0:{backgroundColor:(0,u.int2rgba)(f,.4)},className:N.default.folderIconWrapper},void 0,t,n)}function G(e){var t=e.id,n=e.expanded,r=e.sorting,a=e.draggingGuildId,o=e.guildIds,l=e.folderIndex,u=e.setRef,s=e.onDragStart,d=e.onDragEnd,f=e.guildNodeOverride,c=(0,i.useTransition)(n,{from:{height:0},enter:{height:1},leave:{height:0},config:{duration:D}}),p=o.map((function(e,n){return null!=f?L(f,{guildId:e},e):L(O.default,{guildId:e,draggable:!0,sorting:r,draggingGuildId:a,folderIndex:l,folderName:t,index:n,setRef:u,onDragStart:s,onDragEnd:d},e)})),v=o.length*(w+j);return c((function(e,n,r){var a=r.key;return n&&L(i.animated.ul,{id:t,style:{height:e.height.to((function(e){return e*v}))},className:N.default.expandedGuilds,role:"group"},a,p)}))}k.displayName="GuildIcon",U.displayName="FolderIcon";var F=L("div",{},void 0,L(S.DragPlaceholder,{})),B=a.forwardRef((function(e,t){var n,r=e.guildIds,i=e.setGuildRef,u=e.setFolderRef,s=e.folderId,p=e.folderName,y=e.folderColor,m=e.selected,g=e.expanded,O=e.unread,T=void 0!==O&&O,A=e.audio,P=void 0!==A&&A,D=e.video,w=void 0!==D&&D,j=e.screenshare,k=void 0!==j&&j,B=e.currentActiveVoiceType,H=e.badge,x=void 0===H?0:H,V=e.index,W=e.defaultFolderName,Y=e.draggable,z=void 0===Y||Y,K=e.sorting,$=e.draggingGuildId,Z=e.dragging,q=e.connectDragSource,X=e.onDragStart,J=e.onDragEnd,Q=e.onClickOverride,ee=e.onContextClickOverride,te=e.folderIconOverride,ne=e.guildNodeOverride,re=e.useCircleMask,ae=void 0!==re&&re,oe=a.useState(!1),ie=oe[0],le=oe[1],ue=a.useState(!1),se=ue[0],de=ue[1],fe="folder-items-"+s;a.useEffect((function(){K&&ie&&le(!1)}),[K,ie]),a.useEffect((function(){Z&&null!=X&&X(null)}),[Z]);var ce=null!=$&&r.includes($),pe=ie||se||ce,ve=a.useCallback((function(){f.default.toggleGuildFolderExpand(s)}),[s]),ye=a.useCallback((function(e){(0,d.openContextMenu)(e,(function(e){return a.createElement(c.default,R({},e,{folderId:s,folderName:p,folderColor:y,unread:T||x>0}))}))}),[s,p,y,T,x]),me=(0,l.useListItem)(""+s),_e=me.onFocus,he=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(me,["onFocus"]),Ee=a.useCallback((function(){!K&&le(!1)}),[K]),ge=a.useCallback((function(){!K&&le(!0)}),[K]),Se=a.useCallback((function(e){de(e)}),[]),Oe=a.useCallback((function(e){("ArrowRight"===e.key&&!g||"ArrowLeft"===e.key&&g)&&ve()}),[ve,g]),Ie=L(U,{guildIds:r,color:y,hovered:ie,expanded:g,isDropHovered:se}),Te=L(I.default,{folderIndex:V,isExpandedFolder:g,onDragOverChanged:Se}),Ce=a.useCallback((function(e){null!=u&&u(s,e)}),[u,s]);return a.createElement("div",{ref:Ce,className:N.default.wrapper},!Z&&L("span",{className:(0,o.default)(N.default.expandedFolderBackground,(n={},n[N.default.collapsed]=!g,n[N.default.hover]=pe,n))}),function(){var e,t,n;Z?e=F:(e=L("div",{className:(0,o.default)((t={},t[M.default.wobble]=se&&!g,t))},void 0,L(E.default,{selected:!ae,upperBadge:g?null:(0,S.renderIconBadge)({audio:P,video:w,screenshare:k,participating:null!=B,participatingInStage:B===C.ChannelTypes.GUILD_STAGE_VOICE}),lowerBadge:!g&&x>0?(0,S.renderMentionBadge)(x):null,lowerBadgeWidth:(0,h.getBadgeWidthForValue)(x)},void 0,a.createElement(v.default,R({className:(0,o.default)(N.default.folder,(n={},n[N.default.hover]=pe,n)),onClick:null!=Q?Q:ve,onContextMenu:null!=ee?ee:ye,onMouseEnter:ge,onMouseLeave:Ee,onKeyDown:Oe,onFocus:_e,"aria-label":b.default.Messages.GUILD_FOLDER_TOOLTIP_A11Y_LABEL.format({folderName:p||W||b.default.Messages.SERVER_FOLDER_PLACEHOLDER,mentions:x}),"aria-expanded":g,"aria-owns":fe,focusProps:{enabled:!1}},he),te?L("div",{className:N.default.expandedFolderIconWrapper},void 0,te):Ie))),z&&null!=q&&(e=q(e)));var r=p||W||b.default.Messages.SERVER_FOLDER_PLACEHOLDER;return(0,S.renderListItem)(L(a.Fragment,{},void 0,L(_.default,{hovered:!Z&&!g&&ie,selected:!Z&&!g&&m,unread:!Z&&!g&&T,className:M.default.pill}),L(S.ListItemTooltip,{text:r,disabled:K,disableWrapper:!0},void 0,e),z?Te:null))}(),L(G,{id:fe,expanded:g&&!Z,sorting:K,draggingGuildId:$,guildIds:r,setRef:i,folderIndex:V,onDragStart:X,onDragEnd:J,guildNodeOverride:ne}))}));var H=a.memo(B);t.default=H},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultFolderColor=function(){return r.DEFAULT_FOLDER_COLOR};var r=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){r.useEffect((function(){return l.default.trackExposure({})}),[]);var e=(0,a.useStateFromStores)([f.default],(function(){return f.default.getGuilds()})),t=l.default.useExperiment({})[0].enableStageDiscoveryForUser,n=i.default.useExperiment({})[0].enablePublicStageToggle;return t||!!n&&Object.keys(e).filter((function(e){return u.ExperimentStore.getGuildExperimentBucket(o.default.definition.id,e)===u.ExperimentBuckets.TREATMENT_1})).some((function(t){return c.default.can(p.Permissions.MANAGE_GUILD,e[t])||c.default.can(p.Permissions.MANAGE_CHANNELS,e[t])||d.default.getChannels(t)[d.GUILD_VOCAL_CHANNELS_KEY].some((function(e){var t=e.channel;return t.isGuildStageVoice()&&(0,s.canCreatePublicStage)(t)}))}))};var r=m(n(0)),a=n(3),o=v(n(1371)),i=v(n(1372)),l=v(n(1373)),u=n(1148),s=n(1294),d=m(n(86)),f=v(n(15)),c=v(n(40)),p=n(1);function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=ge,t.PrivateChannelRecipientsInvitePopoutConnected=void 0;var r,a=de(n(0)),o=ue(n(9)),i=ue(n(8)),l=ue(n(5)),u=de(n(3)),s=ue(n(2)),d=ue(n(728)),f=ue(n(391)),c=ue(n(8765)),p=ue(n(1211)),v=ue(n(10053)),y=ue(n(1217)),m=ue(n(8297)),_=ue(n(10054)),h=n(106),E=n(5937),g=ue(n(180)),S=ue(n(1258)),O=n(42),I=n(31),T=ue(n(303)),C=ue(n(10)),b=ue(n(8521)),M=ue(n(10055)),N=ue(n(70)),A=ue(n(160)),P=ue(n(12)),R=ue(n(29)),L=ue(n(61)),D=ue(n(55)),w=ue(n(278)),j=ue(n(153)),k=ue(n(149)),U=n(85),G=n(131),F=ue(n(10056)),B=ue(n(8368)),H=ue(n(466)),x=n(35),V=n(41),W=n(217),Y=n(745),z=ue(n(279)),K=ue(n(47)),$=ue(n(8282)),Z=ue(n(24)),q=ue(n(1210)),X=ue(n(272)),J=ue(n(13)),Q=n(121),ee=n(48),te=n(1163),ne=ue(n(10057)),re=n(1),ae=ue(n(6)),oe=ue(n(7811)),ie=ue(n(370)),le=ue(n(1244));function ue(e){return e&&e.__esModule?e:{default:e}}function se(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return se=function(){return e},e}function de(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=se();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function fe(e,t){return(fe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ce(){return(ce=Object.assign||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}).apply(this,arguments)}function pe(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var ve=(0,U.uid)();function ye(e){var t=e.className,n=e.children;return pe(D.default,{align:D.default.Align.CENTER,justify:D.default.Justify.CENTER,direction:D.default.Direction.VERTICAL,className:(0,o.default)(oe.default.errorState,t)},void 0,pe("div",{className:(0,o.default)(oe.default.errorStateIcon,ie.default.marginBottom20)}),n)}ye.displayName="ErrorState";var me=function(e){var t,n=e.channel,r=e.onClose,a=null!==(t=(0,g.default)(n))&&void 0!==t?t:"";return pe(L.default,{onClick:function(){(0,O.transitionToGuild)(re.ME,n.id),r()}},void 0,pe("div",{className:oe.default.confirmChannelItemContainer},void 0,pe(z.default,{src:(0,E.getChannelIconURL)(n),size:z.default.Sizes.SIZE_24,"aria-label":a}),pe("span",{className:oe.default.confirmChannelName},void 0,a),pe("span",{className:oe.default.lastActiveTimestamp},void 0,(0,l.default)(n.lastActiveTimestamp).fromNow())))};me.displayName="InviteConfirmChannelItem";var _e=function(e){var t=e.onConfirm,n=e.channelIds,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onConfirm","channelIds"]),o=(0,u.useStateFromStores)([C.default],(function(){return Array.from(n).map(C.default.getChannel)}),[n]);return a.createElement(H.default,ce({header:ae.default.Messages.GROUP_DM_INVITE_CONFIRM,confirmText:ae.default.Messages.GROUP_DM_INVITE_CONFIRM_BUTTON,cancelText:ae.default.Messages.CANCEL,onConfirm:t,confirmButtonColor:R.default.Colors.BRAND},r),pe(Z.default,{size:Z.default.Sizes.SIZE_16},void 0,ae.default.Messages.GROUP_DM_INVITE_CONFIRM_DESCRIPTION),pe(G.FormTitle,{className:oe.default.selectExistingFormHeader},void 0,ae.default.Messages.GROUP_DM_INVITE_SELECT_EXISTING),pe(X.default,{className:oe.default.confirmInviteScroller},void 0,o.filter(ee.isNotNullish).sort((function(e,t){return t.lastActiveTimestamp-e.lastActiveTimestamp})).map((function(e){return pe(me,{onClose:r.onClose,channel:e},e.id)}))))};_e.displayName="PrivateChannelInviteConfirm";var he=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={separator:!1,copied:!1},t.scrollerRef=a.createRef(),t.searchBarRef=a.createRef(),t._headerId=i.default.uniqueId(),t.scrollPageUp=function(){var e;null===(e=t.scrollerRef.current)||void 0===e||e.scrollPageUp({animate:!0})},t.scrollPageDown=function(){var e;null===(e=t.scrollerRef.current)||void 0===e||e.scrollPageDown({animate:!0})},t.getRowHeight=function(e,n){return e>0?0:null!=t.props.results[n]?42:0},t.renderRow=function(e){var n=e.section,r=e.row;if(n>0)return null;var a=t.props,o=a.results,i=a.selectedUsers,l=a.selectedRow,u=a.hideDiscriminator,s=o[r];if(null==s)return null;var d=s.user,f=s.comparator,c=i.has(d.id);return pe(ne.default,{row:r,user:d,hideDiscriminator:u,comparator:f,checked:c,selected:r===l,onClick:t.handleClick,onMouseEnter:t.focusResult,"aria-posinset":r+1,"aria-setsize":o.length},d.id)},t.forceFocus=function(){var e=t.searchBarRef.current;e&&e.focus()},t.focusResult=function(e){v.default.select(e)},t.handleSelect=function(e,n){var r=t.props,a=r.results,o=r.channel;null==n?v.default.clear(null==o?void 0:o.id):null!=a&&t.handleClick(a[n].user.id)},t.handleSelectionChange=function(e,n){v.default.select(n);var r=t.scrollerRef.current;null!=r&&r.scrollToIndex({section:e,row:n,padding:8})},t.handleQueryChange=function(e){var n=t.props.channel;v.default.search(e,null==n?void 0:n.id)},t.handleRemoveUser=function(e){var n=Array.from(t.props.selectedUsers);v.default.removeUser(n[e]),t.forceFocus()},t.handleClick=function(e){var n=t.props,r=n.selectedUsers,a=n.query,o=n.channel;!r.has(e)?(v.default.addUser(e),a.length>0&&v.default.clear(null==o?void 0:o.id)):v.default.removeUser(e),t.forceFocus()},t.handleAddFriendNavigation=function(){(0,O.transitionTo)(re.Routes.FRIENDS),c.default.setSection(re.FriendsSections.ADD_FRIEND),t.props.onClose()},t.handleScroll=function(){var e=t.scrollerRef.current;null!=e&&t.setState({separator:!e.isScrolledToTop()})},t.createNewDM=function(e){f.default.openPrivateChannel(e,!1,!1,"New Group DM")},t.pushToExistingDM=function(e,t){var n=T.default.isCallActive(e.id);f.default.addRecipients(e.id,t,re.AnalyticsLocations.ADD_FRIENDS_TO_DM).then((function(e){n&&d.default.ring(e,t)}))},t.handleInviteUsers=function(){var e=t.props,n=e.channel,r=e.selectedUsers,o=e.onClose,i=Array.from(r);if(null!=n){var l=Se(Array.from(new Set([].concat(n.recipients,i))));l.size>0?(0,V.openModal)((function(e){return a.createElement(_e,ce({},e,{onConfirm:function(){return t.pushToExistingDM(n,i)},channelIds:l}))}),{},t.context):t.pushToExistingDM(n,i)}else{var u=Se(i);i.length>1&&u.size>0?(0,V.openModal)((function(e){return a.createElement(_e,ce({},e,{onConfirm:function(){return t.createNewDM(i)},channelIds:u}))}),{},t.context):t.createNewDM(i)}o()},t.handleCopyInvite=function(e){var n=t.props,r=n.channel,a=n.invite;null!=a&&(0,te.copy)(e),null!=t.copyTimeout&&clearTimeout(t.copyTimeout),t.setState({copied:!0}),t.copyTimeout=setTimeout((function(){t.setState({copied:!1})}),1e3),J.default.track(re.AnalyticEvents.COPY_INSTANT_INVITE,{server:null,channel:null!=r?r.id:null,channel_type:null!=r?r.type:null,location:re.AnalyticsLocations.ADD_FRIENDS_TO_DM,code:null!=a?a.code:null})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,fe(t,n);var l=r.prototype;return l.componentDidMount=function(){var e=this.props.channel;s.default.wait((function(){return v.default.open(null==e?void 0:e.id)}));var t=(0,h.collectChannelAnalyticsMetadata)(e);null!=e?e.isDM()?J.default.track(re.AnalyticEvents.OPEN_POPOUT,ce({},t,{type:"Add Friends to DM",source:"DM",is_friend:!this.isNotFriends()})):J.default.track(re.AnalyticEvents.OPEN_POPOUT,ce({},t,{type:"Add Friends to DM",source:"Group DM"})):J.default.track(re.AnalyticEvents.OPEN_POPOUT,ce({},t,{type:"New Group DM",source:"Friends List"})),Q.ComponentDispatch.subscribe(re.ComponentActions.SCROLL_PAGE_UP,this.scrollPageUp),Q.ComponentDispatch.subscribe(re.ComponentActions.SCROLL_PAGE_DOWN,this.scrollPageDown)},l.componentWillUnmount=function(){Q.ComponentDispatch.unsubscribe(re.ComponentActions.SCROLL_PAGE_UP,this.scrollPageUp),Q.ComponentDispatch.unsubscribe(re.ComponentActions.SCROLL_PAGE_DOWN,this.scrollPageDown),null!=this.copyTimeout&&clearTimeout(this.copyTimeout),s.default.wait((function(){return v.default.close()}))},l.isNotFriends=function(){var e=this.props.channel;if(null==e||!e.isDM())return!1;var t=e.getRecipientId();if(null==t)throw new Error("no recipient in DM");return!N.default.isFriend(t)},l.createInvite=function(){var e=this.props.channel;if(null!=e&&e.isMultiUserDM()&&!this.isPartyFull()){var t=_.default.getCurrentConfig({}).inviteMaxAgeSeconds;p.default.createInvite(e.id,{max_age:t},"Group DM Invite Create")}},l.isPartyFull=function(){var e=this.props.channel;return null!=e&&e.recipients.length+1>=this.getMaxParticipants()},l.getMaxParticipants=function(){var e=this.props.channel;return P.default.getCurrentUser().isStaff()?re.MAX_GROUP_DM_STAFF_PARTICIPANTS:null!=e&&e.userLimit?e.userLimit:re.MAX_GROUP_DM_PARTICIPANTS},l.getRemaining=function(){var e=this.props,t=e.channel,n=e.selectedUsers,r=(null==t?0:t.recipients.length)+1;return this.getMaxParticipants()-n.size-r},l.renderCreateGroupButton=function(){var e=this.props,t=e.channel,n=e.selectedUsers,r=this.getRemaining(),a=null!=t&&0===n.size||r<0;return pe(R.default,{fullWidth:!0,disabled:a,onClick:this.handleInviteUsers},void 0,ae.default.Messages.CREATE_GROUP_DM)},l.renderAddUsersButton=function(){var e=this.props,t=e.channel,n=e.selectedUsers;if(null!=t&&!t.isDM()){var r=this.getRemaining(),a=0===n.size||r<0;return pe("div",{className:oe.default.addButton},void 0,pe(R.default,{size:R.default.Sizes.SMALL,disabled:a,onClick:this.handleInviteUsers},void 0,ae.default.Messages.ADD))}},l.renderSubtitle=function(){var e;if(!this.props.hasFriends||this.isNotFriends()||this.isPartyFull())return null;var t=this.getRemaining(),n=t<=0?ae.default.Messages.GROUP_DM_INVITE_FULL_SUB2.format({number:this.getMaxParticipants()}):ae.default.Messages.GROUP_DM_INVITE_REMAINING.format({number:t});return pe(Z.default,{size:Z.default.Sizes.SIZE_12,className:(0,o.default)(oe.default.subtitle,(e={},e[oe.default.subtitleWarning]=t<0,e),ie.default.marginTop4)},void 0,n)},l.renderSearchBar=function(){var e=this.props,t=e.query,n=e.hasFriends,r=e.results,i=e.selectedRow,l=e.selectedUsers;if(!n||this.isNotFriends())return null;var u=[];return l.forEach((function(e){var t=P.default.getUser(e);null!=t&&u.push(t.username)})),pe(D.default,{className:(0,o.default)(oe.default.searchBar,ie.default.marginTop20)},void 0,a.createElement(m.default,{ref:this.searchBarRef,size:m.default.Sizes.MEDIUM,query:t,selectedSection:0,selectedRow:i,sections:[r?r.length:0],tags:u,onSelect:this.handleSelect,onSelectionChange:this.handleSelectionChange,onQueryChange:this.handleQueryChange,onRemoveTag:this.handleRemoveUser,placeholder:0===l.size?ae.default.Messages.GROUP_DM_SEARCH_PLACEHOLDER:void 0,disabled:this.isPartyFull(),className:oe.default.searchBarComponent,autoFocus:!0,inputProps:{"aria-autocomplete":"list","aria-controls":ve},"aria-activedescendant":"user-row-"+i}),this.renderAddUsersButton())},l.renderHeader=function(){var e=null!=this.scrollerRef.current&&this.state.separator,t=this.isNotFriends()?ae.default.Messages.GROUP_DM_ADD_FRIENDS:ae.default.Messages.GROUP_DM_HEADER;return pe(x.ModalHeader,{direction:D.default.Direction.VERTICAL,align:D.default.Align.STRETCH,id:this._headerId,className:oe.default.header,separator:e},void 0,pe(K.default,{tag:K.default.Tags.H2,size:K.default.Sizes.SIZE_20},void 0,t),this.renderSubtitle(),this.renderSearchBar())},l.renderBody=function(){var e=this,t=this.props,n=t.channel,r=t.hasFriends,i=t.results;if(this.isNotFriends()){var l=null!=n?n.getRecipientId():null;if(null==l)throw new Error("no recipient in DM");var u=P.default.getUser(l),s=null!=u?u.username:"";return pe(ye,{className:oe.default.notFriends},void 0,pe("div",{},void 0,ae.default.Messages.GROUP_DM_INVITE_NOT_FRIENDS.format({username:s})),pe(R.default,{size:R.default.Sizes.SMALL,onClick:function(){return u?e.handleAddFriend(u):null},className:ie.default.marginTop20},void 0,ae.default.Messages.ADD_FRIEND_BUTTON))}return r?this.isPartyFull()?pe(ye,{className:oe.default.partyFull},void 0,pe("div",{},void 0,ae.default.Messages.GROUP_DM_INVITE_FULL_MAIN),pe("div",{},void 0,ae.default.Messages.GROUP_DM_INVITE_FULL_SUB2.format({number:this.getMaxParticipants()}))):0===i.length?pe(ye,{className:(0,o.default)(oe.default.noResults,ie.default.marginBottom20)},void 0,pe("div",{},void 0,ae.default.Messages.GROUP_DM_INVITE_EMPTY)):a.createElement(q.default,{role:"listbox",id:ve,ref:this.scrollerRef,sections:[i.length],className:oe.default.scroller,renderRow:this.renderRow,rowHeight:this.getRowHeight,renderSection:this.renderSection,sectionHeight:0,onScroll:this.handleScroll,paddingTop:0,paddingBottom:14,fade:!0}):pe(ye,{className:oe.default.noFriends},void 0,pe("div",{},void 0,ae.default.Messages.GROUP_DM_INVITE_NO_FRIENDS),pe(R.default,{autoFocus:!0,color:R.default.Colors.GREEN,fullWidth:!0,size:R.default.Sizes.SMALL,onClick:this.handleAddFriendNavigation,className:ie.default.marginTop20},void 0,ae.default.Messages.ADD_FRIEND))},l.renderSection=function(){return null},l.renderInviteLink=function(){var e,t=this,n=this.props,r=n.channel,i=n.invite,l=n.hideInstantInvites,u=this.state.copied;if(null==r||!r.isMultiUserDM()||this.isPartyFull())return null;var s=null!=i?(0,S.default)(i.code):"";return pe(a.Fragment,{},void 0,pe(G.FormTitle,{tag:G.FormTitle.Tags.H5,className:ie.default.marginBottom8},void 0,ae.default.Messages.GROUP_DM_INVITE_LINK_TITLE),pe(D.default,{className:(0,o.default)(le.default.input,(e={},e[le.default.success]=u,e)),justify:D.default.Justify.BETWEEN,align:D.default.Align.CENTER},void 0,s.length>0?pe(j.default,{className:oe.default.copyInput,name:"invite",value:l?ae.default.Messages.INSTANT_INVITE_HIDDEN:s,editable:!1,inputClassName:oe.default.noBorder,spellCheck:"false",onClick:function(e){return e.currentTarget.select()}}):pe(j.default,{className:oe.default.copyInput,name:"invite",value:s,placeholder:(0,S.default)(ae.default.Messages.GROUP_DM_INVITE_LINK_EXAMPLE),editable:!1,inputClassName:oe.default.noBorder,spellCheck:"false",onClick:function(){return t.createInvite()}}),te.SUPPORTS_COPY&&s.length>0?pe(R.default,{size:R.default.Sizes.SMALL,color:u?R.default.Colors.GREEN:R.default.Colors.BRAND,className:oe.default.copyButton,onClick:function(){return t.handleCopyInvite(s)}},void 0,u?ae.default.Messages.INVITE_COPIED:ae.default.Messages.COPY):null,0===s.length?pe(R.default,{size:R.default.Sizes.SMALL,color:R.default.Colors.BRAND,className:oe.default.copyButton,onClick:function(){return t.createInvite()}},void 0,ae.default.Messages.GROUP_DM_INVITE_LINK_CREATE):null),s.length>0?pe(Z.default,{size:Z.default.Sizes.SIZE_12,className:(0,o.default)(ie.default.marginTop8,oe.default.footerText)},void 0,ae.default.Messages.INVITE_EXPIRES_HOURS.format({numHours:"24"})):null)},l.renderFooter=function(){var e=this.props,t=e.hasFriends,n=e.channel;if(this.isNotFriends()||!t||this.isPartyFull())return null;var r=null==n||n.isDM()?this.renderCreateGroupButton():this.renderInviteLink();return null!=r?pe(a.Fragment,{},void 0,pe("div",{className:oe.default.footerSeparator}),pe(D.default,{direction:D.default.Direction.VERTICAL,className:oe.default.footer},void 0,r)):void 0},l.render=function(){var e=this.props.transitionState;return pe(x.ModalRoot,{"aria-labelledby":this._headerId,transitionState:null!=e?e:W.ModalTransitionState.ENTERED,className:oe.default.popout},void 0,pe("div",{role:"combobox","aria-controls":ve,"aria-haspopup":"listbox","aria-expanded":!0,"aria-owns":ve},void 0,this.renderHeader(),this.renderBody(),this.renderFooter()))},l.handleAddFriend=function(e){this.props.onClose(),y.default.sendRequest(e.tag,{location:"Group DM"})},r}(a.PureComponent);he.displayName="PrivateChannelRecipientsInvitePopout",he.contextType=Y.ModalContext;var Ee=u.default.connectStores([M.default,b.default,A.default],(function(e){var t,n=e.channel;return null!=n&&null!=(t=b.default.getInvite(n.id))&&t.isExpired()&&(t=null),ce({},M.default.getState(),{invite:t,hideDiscriminator:A.default.hidePersonalInformation,hideInstantInvites:A.default.hideInstantInvites})}))(he);function ge(e){var t=e.channel,n=e.iconClassName,r=e.icon,o=e.tooltip,i=e.tooltipPosition,l=void 0===i?k.default.Positions.BOTTOM:i,u=e.popoutPosition,s=void 0===u?w.default.Positions.BOTTOM:u,d=e.popoutAlign,f=void 0===d?w.default.Align.RIGHT:d,c=e.subscribeToGlobalHotkey,p=void 0!==c&&c,v=a.useState(null!=t&&t.isGroupDM()&&0===t.recipients.length),y=v[0],m=v[1],_=function(){return m((function(e){return!e}))};a.useEffect((function(){return p&&Q.ComponentDispatch.subscribe(re.ComponentActions.TOGGLE_DM_CREATE,_),function(){Q.ComponentDispatch.unsubscribe(re.ComponentActions.TOGGLE_DM_CREATE,_)}}),[p]);return pe(w.default,{renderPopout:function(e){return a.createElement(Ee,ce({},e,{onClose:e.closePopout,channel:t}))},position:s,shouldShow:y,align:f,onRequestClose:function(){return m(!1)},animation:w.default.Animation.NONE},void 0,(function(e){return a.createElement($.default.Icon,ce({},e,{onClick:_,icon:null!=r?r:null==t?F.default:B.default,className:n,iconClassName:n,tooltip:o,tooltipPosition:l}))}))}function Se(e){var t=Oe(e);return new Set((0,i.default)(C.default.getMutablePrivateChannels()).values().filter((function(e){return(0,I.isMultiUserDM)(e.type)})).filter((function(e){return Oe(e.recipients)===t})).map((function(e){return e.id})).value())}function Oe(e){return JSON.stringify(e.sort())}t.PrivateChannelRecipientsInvitePopoutConnected=Ee,ge.displayName="PrivateChannelRecipientsInviteButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStageDiscoveryLoadAnalytics=function(e,t){var n=E(),a=n.setLastVisibleIndex,o=n.setNewLoadId,i=n.setLoadEventSent,u=n.setLastVisibleIndexAtLoad,p=n.loadEventSent,v=n.lastVisibleIndexAtLoad,h=n.loadId;r.useEffect((function(){a(e)}),[a,e]),r.useEffect((function(){if(t)return o(m()),void i(!1);a(e)}),[o,i,a,t]),r.useEffect((function(){if(!t){var n=setTimeout((function(){-1===E.getState().lastVisibleIndexAtLoad&&u(e)}),500);return function(){return clearTimeout(n)}}}),[u,t,e]),r.useEffect((function(){var e;p||-1!==v&&(i(!0),l.default.track(c.AnalyticEvents.STAGE_DISCOVERY_LOADED,y({load_id:h,last_visible_index_at_load:v},{indexes:(e=f.useStageDiscoveryListStore.getState().list.map(_)).map((function(e){return e.index})),stage_instance_ids:e.map((function(e){var t;return null!==(t=e.stage_instance_id)&&void 0!==t?t:"-1"})),recommendation_sources:e.map((function(e){var t;return null!==(t=e.recommendation_source[0])&&void 0!==t?t:s.StageDiscoveryRecommendationSource.UNSPECIFIED})),recommendation_scores:e.map((function(e){var t;return null!==(t=e.recommendation_score)&&void 0!==t?t:-1}))})))}),[i,h,p,v]),(0,d.useOnStageDiscoveryExited)((function(){l.default.track(c.AnalyticEvents.STAGE_DISCOVERY_EXITED,{load_id:h,last_visible_index_at_load:v,last_visible_index:e,has_scrolled:v!==e})}))},t.trackStageDiscoveryReload=function(){var e=E.getState();l.default.track(c.AnalyticEvents.STAGE_DISCOVERY_RELOADED,{load_id:e.loadId,last_visible_index_at_load:e.lastVisibleIndexAtLoad,last_visible_index:e.lastVisibleIndex,has_scrolled:e.lastVisibleIndexAtLoad!==e.lastVisibleIndex})},t.trackStageDiscoveryStageJoined=function(e){var t=E.getState();l.default.track(c.AnalyticEvents.STAGE_DISCOVERY_STAGE_JOINED,y({load_id:t.loadId,last_visible_index_at_load:t.lastVisibleIndexAtLoad},h(e))),t.setStageJoinTimestamp(new Date)},t.trackStageDiscoveryStageExited=function(e){var t,n=E.getState();l.default.track(c.AnalyticEvents.STAGE_DISCOVERY_STAGE_EXITED,y({load_id:n.loadId,last_visible_index_at_load:n.lastVisibleIndexAtLoad},h(e),{join_timestamp:null===(t=n.stageJoinTimestamp)||void 0===t?void 0:t.getTime()})),n.setStageJoinTimestamp(null)},t.trackStageDiscoveryStageOpened=function(e){var t=E.getState();l.default.track(c.AnalyticEvents.STAGE_DISCOVERY_STAGE_OPENED,y({load_id:t.loadId,last_visible_index_at_load:t.lastVisibleIndexAtLoad},h(e)))},t.NO_VISIBLE_INDEX=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=p(n(98)),o=p(n(251)),i=p(n(81)),l=p(n(13)),u=n(48),s=n(722),d=n(11301),f=n(10446),c=n(1);function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(){return(y=Object.assign||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}).apply(this,arguments)}function m(){return a.default.v4()}function _(e,t){var n,r;switch(e.type){case s.DiscoveryItemTypes.USER_GUILDS:n=s.StageDiscoveryRecommendationSource.USER_GUILDS,r=null;break;case s.DiscoveryItemTypes.FRIENDS_GUILDS:n=s.StageDiscoveryRecommendationSource.FRIENDS_GUILDS,r=null;break;case s.DiscoveryItemTypes.RECOMMENDED:n=e.data.source,r=e.data.score;break;case s.DiscoveryItemTypes.CONNECTED:n=s.StageDiscoveryRecommendationSource.UNSPECIFIED,r=null;break;default:(0,u.assertNever)(e)}var a=function(e){switch(e.type){case s.DiscoveryItemTypes.CONNECTED:case s.DiscoveryItemTypes.FRIENDS_GUILDS:case s.DiscoveryItemTypes.RECOMMENDED:return e.data.instance;case s.DiscoveryItemTypes.USER_GUILDS:return i.default.getStageInstanceByChannel(e.data.id);default:(0,u.assertNever)(e)}}(e);return{index:t,guild_id:null==a?void 0:a.guild_id,stage_instance_id:null==a?void 0:a.id,recommendation_source:[n],recommendation_score:r}}function h(e){var t=f.useStageDiscoveryListStore.getState().list,n=t.findIndex((function(t){return t.id===e}));if(-1!==n)return _(t[n],n)}t.NO_VISIBLE_INDEX=-1;var E=(0,o.default)((function(e){return{loadId:m(),lastVisibleIndexAtLoad:-1,lastVisibleIndex:-1,loadEventSent:!1,stageJoinTimestamp:null,setNewLoadId:function(t){return e({loadId:t,lastVisibleIndex:-1,lastVisibleIndexAtLoad:-1})},setLastVisibleIndexAtLoad:function(t){return e({lastVisibleIndexAtLoad:t})},setLastVisibleIndex:function(t){return e((function(e){return{lastVisibleIndex:Math.max(e.lastVisibleIndex,t)}}))},setLoadEventSent:function(t){return e({loadEventSent:t})},setStageJoinTimestamp:function(t){return e({stageJoinTimestamp:t})}}}))},function(e,t,n){var r={"./2017-11-16.mp4":11322,"./2019-12-17.mp4":11323,"./channel-following.png":11324,"./discovery.jpg":11325,"./discriminator.mp4":11326,"./g250k-cl.mp4":11327,"./header.mp4":11328,"./hypesquad-hack-week/header.png":11329,"./hypesquad-hack-week/paladins-loot.png":11330,"./ko-new-year.jpg":11331,"./league-rp-cl.mp4":11332,"./polish-week.png":11333,"./special-template/desktop-cta.png":11334,"./special-template/desktop-cta.svg":11335,"./special-template/header-left.svg":11336,"./special-template/header-right.svg":11337,"./special-template/mobile-cta.svg":11338,"./special-template/update-badge.svg":11339,"./stickers-launch/2020_PMM_STICKERS_Mrkt_BlogHdr_2500x1000.png":11340,"./stickers-launch/2020_PMM_STICKERS_Mrkt_DesktopHero_Left_180x220.png":11341,"./stickers-launch/2020_PMM_STICKERS_Mrkt_DesktopHero_Right_180x220.png":11342,"./stickers-launch/2020_PMM_STICKERS_Mrkt_Desktop_Changelog_658X220.png":11343,"./stickers-launch/2020_PMM_STICKERS_Mrkt_Desktop_FooterCTA_238x220.png":11344,"./stickers-launch/2020_PMM_STICKERS_Mrkt_MobileHero_375x190.png":11345,"./stickers-launch/2020_PMM_STICKERS_Mrkt_Mobile_FooterCTA_343x78.png":11346,"./store.jpg":11347};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=9041},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=e.background,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground","background"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:c,fill:d,fillRule:"nonzero",d:"M22.031 12.665c-.923-.4338-1.9384-.665-2.9778-.665-.695 0-1.3663.1013-2 .29V11h-4V7h-2v4h-4v2h4v4h1.29c-.1887.6337-.29 1.305-.29 2 0 1.0394.2312 2.055.665 2.978-.2207.0146-.4424.022-.665.022-2.6522 0-5.1957-1.0536-7.071-2.929C3.1067 17.1958 2.053 14.6523 2.053 12c0-5.5228 4.4772-10 10-10 2.6522 0 5.1957 1.0536 7.071 2.929 1.8754 1.8753 2.929 4.4188 2.929 7.071 0 .2225-.0074.4443-.022.665zM15.4457 13c-.9793.59-1.8023 1.413-2.3924 2.3924V13h2.3924z"}),s("path",{className:f,fill:d,d:"M19.0532 14c1.326 0 2.598.5268 3.5355 1.4645.9377.9376 1.4645 2.2094 1.4645 3.5355 0 1.326-.5268 2.598-1.4645 3.5355C21.651 23.4732 20.3793 24 19.0532 24c-1.326 0-2.5978-.5268-3.5355-1.4645C14.58 21.598 14.0532 20.326 14.0532 19c0-2.7614 2.2386-5 5-5zm-1 7l3-2-3-2v4z"})))}d.displayName="PlusCirclePlay"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,y){var m=[];e&&m.push({type:r.UPLOAD_A_FILE,icon:c.default,display:v.default.Messages.CHAT_ATTACH_UPLOAD_A_FILE});t&&m.push({type:r.CREATE_THREAD,icon:f.default,display:v.default.Messages.CREATE_THREAD});return y.forEach((function(e){(0,a.default)(e,p.ActivityFlags.EMBEDDED)||(e.type===p.ActivityTypes.PLAYING&&(0,a.default)(e,p.ActivityFlags.JOIN)&&m.push({type:r.INVITE_TO_PLAY_GAME,icon:s.default,display:v.default.Messages.CHAT_ATTACH_INVITE_TO_PLAY_GAME.format({channel:(0,o.computeChannelName)(n,l.default,i.default,!0),game:null!=e?e.name:""}),activity:e}),e.type===p.ActivityTypes.LISTENING&&(0,a.default)(e,p.ActivityFlags.SYNC)&&m.push({type:r.INVITE_TO_LISTEN,icon:d.default,display:v.default.Messages.CHAT_ATTACH_INVITE_TO_LISTEN.format({channel:(0,o.computeChannelName)(n,l.default,i.default,!0),name:null!=e?e.name:""}),activity:e}),e.type===p.ActivityTypes.WATCHING&&(0,a.default)(e,p.ActivityFlags.SYNC)&&m.push({type:r.INVITE_TO_WATCH,icon:u.default,display:v.default.Messages.CHAT_ATTACH_INVITE_TO_WATCH.format({channel:(0,o.computeChannelName)(n,l.default,i.default,!0),name:null!=e?e.name:""}),activity:e}))})),m},t.AttachmentTypes=void 0;var r,a=y(n(399)),o=n(180),i=y(n(70)),l=y(n(12)),u=y(n(8475)),s=y(n(9044)),d=y(n(8826)),f=y(n(8287)),c=y(n(10083)),p=n(1),v=y(n(6));function y(e){return e&&e.__esModule?e:{default:e}}t.AttachmentTypes=r,function(e){e.UPLOAD_A_FILE="UPLOAD_A_FILE",e.INVITE_TO_PLAY_GAME="INVITE_TO_GAME",e.INVITE_TO_LISTEN="INVITE_TO_LISTEN",e.INVITE_TO_WATCH="INVITE_TO_WATCH",e.CREATE_THREAD="CREATE_THREAD"}(r||(t.AttachmentTypes=r={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,d:"M15 7.5V2H9v5.5l3 3 3-3zM7.5 9H2v6h5.5l3-3-3-3zM9 16.5V22h6v-5.5l-3-3-3 3zM16.5 9l-3 3 3 3H22V9h-5.5z"}))}d.displayName="Gamepad"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateMessageSpecs=function(e,t,n,r,a,u){if(r>t)throw new Error("generateMessageSpecs: too many attachments relative to messageGroups: "+t+", "+r);var s=a/l.Accessibility.FONT_SIZE_DEFAULT,d=e?i.HEIGHT_COMPACT_MESSAGE_START:i.HEIGHT_COZY_MESSAGE_START,f=e?i.HEIGHT_COMPACT_MESSAGE:i.HEIGHT_COZY_MESSAGE,c=0,p=new Array(t).fill(null).map((function(){var e=o.default.random(1,n);return c+=u*s,c+=d*s,c+=(e-1)*f*s,e})),v=p.map((function(e,t){return t})),y=[];for(;y.length<r;){var m={width:o.default.random(140,400),height:o.default.random(100,320)};y.push([v.splice(o.default.random(0,v.length-1),1)[0],m]),c+=m.height+i.HEIGHT_ATTACHMEMT_PADDING*s}return{messages:p,attachmentSpecs:y,totalHeight:c,groupSpacing:u}},t.default=function(e){var t=e.compact,n=e.messages,r=e.attachmentSpecs,o=e.totalHeight,l=e.groupSpacing;return a.useMemo((function(){for(var e,a=new Array(n.length).fill(void 0),s=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(r);!(e=s()).done;){var d=e.value,f=d[0],v=d[1];a[f]=v}return c("div",{className:u.default.wrapper,style:{height:o}},void 0,n.map((function(e,n){return c(i.default,{groupSpacing:l,compact:t,messages:e,attachmentSpecs:a[n]},n)})))}),[t,n,r,o,l])},Object.defineProperty(t,"AttachmentSpecs",{enumerable:!0,get:function(){return i.AttachmentSpecs}});var r,a=f(n(0)),o=s(n(8)),i=f(n(10089)),l=n(1),u=s(n(7822));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExperimentInAppReporting=void 0;var r,a=n(141),o=n(208),i=(r=n(412))&&r.__esModule?r:{default:r};var l=(0,o.registerUserExperiment)({id:i.default.IN_APP_REPORTING,title:"2020-29 Exp: Report TOS violating messages in-app via new modal",description:["An experiment that tests if in-app reporting is useful for Trust & Safety","Control: No changes","Treatment 1: Add menu options to report message"],buckets:[a.ExperimentBuckets.CONTROL,a.ExperimentBuckets.TREATMENT_1]});t.ExperimentInAppReporting=l},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=B(n(0)),o=G(n(9)),i=G(n(8)),l=B(n(3)),u=n(389),s=B(n(1235)),d=G(n(8300)),f=B(n(8332)),c=G(n(185)),p=G(n(8351)),v=G(n(10)),y=G(n(56)),m=G(n(8916)),_=G(n(201)),h=G(n(40)),E=G(n(70)),g=G(n(39)),S=G(n(12)),O=G(n(61)),I=G(n(55)),T=G(n(151)),C=G(n(149)),b=G(n(255)),M=n(35),N=G(n(24)),A=G(n(1210)),P=G(n(272)),R=G(n(150)),L=G(n(261)),D=G(n(258)),w=n(1),j=G(n(6)),k=G(n(7824)),U=G(n(370));function G(e){return e&&e.__esModule?e:{default:e}}function F(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return F=function(){return e},e}function B(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=F();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function H(){return(H=Object.assign||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}).apply(this,arguments)}function x(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function V(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,W(e,t)}function W(e,t){return(W=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Y=function(e){function t(){return e.apply(this,arguments)||this}return V(t,e),t.prototype.render=function(){var e,t=this.props,n=t.emoji,r=t.count,a=t.selected,i=t.setSelected,l=null==n.id?L.default.getURL(n.name):R.default.getEmojiURL({id:n.id,animated:n.animated});e=null==n.id?c.default.convertSurrogateToName(n.name):":"+n.name+":";var u=l?x("img",{className:k.default.emoji,src:l,alt:n.name}):x("span",{className:(0,o.default)(k.default.emoji,k.default.emojiText)},void 0,n.name),s=x(N.default,{},void 0,r);return x(C.default,{position:C.default.Positions.LEFT,text:e},void 0,(function(e){var t,n=e.onMouseEnter,r=e.onMouseLeave;return x(O.default,{className:(0,o.default)((t={},t[k.default.reactionDefault]=!a,t[k.default.reactionSelected]=a,t)),onClick:i,onMouseEnter:n,onMouseLeave:r},void 0,u,s)}))},t}(a.PureComponent);function z(e){var t=e.emoji,n=e.user,r=e.message,o=e.channel,i=e.guildId;var c=S.default.getCurrentUser(),m=(0,l.useStateFromStores)([h.default],(function(){return h.default.can(w.Permissions.MANAGE_MESSAGES,o)&&!o.isArchivedThread()}))||c.id===n.id?x(O.default,{onClick:function(){s.removeReaction(o.id,r.id,t,n.id)}},void 0,x(b.default,{width:16,height:16,className:k.default.remove})):null,_=(0,l.useStateFromStores)([y.default,v.default,E.default],(function(){return D.default.getName(i,o.id,n)}));return x(I.default,{className:k.default.reactorDefault,onContextMenu:function(e){(0,u.openContextMenu)(e,(function(e){return a.createElement(p.default,H({},e,{user:n,channelId:o.id}))}))},align:I.default.Align.CENTER},void 0,x(I.default.Child,{wrap:!0,grow:0,shrink:0,className:U.default.marginReset},void 0,x(f.default,{user:n,size:f.Sizes.SIZE_24})),x(I.default.Child,{},void 0,x(N.default,{tag:"strong",size:N.default.Sizes.SIZE_16,className:k.default.name},void 0,_&&x("span",{className:k.default.nickname},void 0,_),x(d.default,{user:n,className:_?k.default.tagFaded:null,usernameClass:k.default.username,discriminatorClass:k.default.discriminator}))),m)}Y.displayName="Reaction",z.displayName="Reactor";var K=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).scrollerRef=a.createRef(),t.state={lastId:null,loadingMore:!1},t.handleScroll=function(){var e=t.scrollerRef.current;if(null!=e){var n=e.getScrollerState();n.scrollTop+n.offsetHeight>=n.scrollHeight-44&&t.props.hasMore&&!t.state.loadingMore&&t.loadMore()}},t.getRowHeight=function(e,n){var r=t.props.reactors;if(1===e)return 0===n?44:0;if(0===e){if(0===n&&0===r.length)return 440;if(null!=t.props.reactors[n])return 44}return 0},t.renderRow=function(e){var n=e.section,r=e.row,a=t.props,o=a.message,i=a.guildId,l=a.channel,u=a.reaction,s=a.reactors,d=s[r];return 1===n?0===r?x(T.default,{className:k.default.spinnerMore},"hasMore"):null:0===s.length&&t.state.loadingMore?x(T.default,{className:k.default.spinner},"loadingMore"):null!=d&&x(z,{message:o,emoji:u.emoji,guildId:i,channel:l,user:d},d.id)},t}V(t,e);var n=t.prototype;return n.componentDidMount=function(){this.loadMore()},n.componentDidUpdate=function(e){var t=this;i.default.isEqual(this.props.reaction,e.reaction)||this.setState({lastId:null,loadingMore:!1},(function(){return t.loadMore()}))},n.loadMore=function(){var e=this,t=this.props,n=t.message,r=t.reaction,a=this.state.lastId;this.setState({loadingMore:!0}),s.getReactions(n.getChannelId(),n.id,r.emoji,w.DEFAULT_NUM_REACTION_USERS,a).then((function(t){return e.setState({loadingMore:!1,lastId:t[t.length-1].id})}))},n.renderSection=function(){return null},n.render=function(){var e=this.props,t=e.hasMore,n=e.reactors,r=[];return 0===n.length&&this.state.loadingMore?r.push(length):(r.push(n.length),t&&r.push(1)),a.createElement(A.default,{className:k.default.reactors,fade:!0,ref:this.scrollerRef,sections:r,sectionHeight:0,rowHeight:this.getRowHeight,renderRow:this.renderRow,renderSection:this.renderSection,onScroll:t?this.handleScroll:void 0})},t}(a.PureComponent);K.displayName="ReactorsComponent";var $=l.default.connectStores([m.default],(function(e){var t=e.message,n=e.reaction,r=m.default.getReactions(t.getChannelId(),t.id,n.emoji,w.DEFAULT_NUM_REACTION_USERS);return{hasMore:null!=r&&n.count>Object.keys(r).length,reactors:null==r?[]:Object.values(r)}}))(K),Z=x(T.default,{}),q=function(t){function n(e){var n,r=(n=t.call(this,e)||this).props.reactions;return n.state={selectedReaction:r[0]},n}V(n,t);var r=n.prototype;return r.componentDidUpdate=function(t){var n=this.props,r=n.reactions,a=n.onClose;r.length!==t.reactions.length&&0===r.length&&e(a)},r.setSelectedReaction=function(e){this.setState({selectedReaction:e})},r.render=function(){var e=this,t=this.props,n=t.message,r=t.reactions,o=t.transitionState,l=this.state.selectedReaction;if(!l)return Z;var u=v.default.getChannel(n.getChannelId());if(null==u)throw new Error("MessageReactions.render: Message does not have a channelId");var s=null==u||u.isPrivate()?null:u.getGuildId(),d=r.map((function(e,t){return H({},e,{pos:t})})).sort((function(e,t){return e.count!==t.count?t.count-e.count:e.pos-t.pos})).map((function(t){return a.createElement(Y,H({key:(t.emoji.id||"")+":"+t.emoji.name,selected:i.default.isEqual(l.emoji,t.emoji),setSelected:function(){return e.setSelectedReaction(t)}},t))}));return x(M.ModalRoot,{"aria-label":j.default.Messages.REACTIONS,transitionState:o,size:M.ModalSize.DYNAMIC,className:k.default.container},void 0,x(P.default,{className:k.default.scroller,fade:!0},void 0,d),x($,{message:n,reaction:l,guildId:s,channel:u},(l.emoji.id||"")+":"+l.emoji.name))},n}(a.PureComponent);q.displayName="MessageReactions";var X=l.default.connectStores([_.default,g.default],(function(e){var t=e.message,n=_.default.getMessage(t.getChannelId(),t.id),r=null!=n?n.reactions:[];return{theme:g.default.theme,reactions:r}}),{forwardRef:!0})(q);t.default=X}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l={};var u=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n),r.prototype.getOptions=function(e){return l[e]},r}(r.default.Store))(a.default,{MESSAGE_CREATE:function(e){var t=e.message,n=e.sendMessageOptions;null!=n&&(l[t.id]=n),null!=t.nonce&&t.nonce in l&&delete l[t.nonce]}});t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){void 0===r&&(r={});if(a.default.deleteMessage(e.id,t.id,!0),t.type===i.MessageTypes.APPLICATION_COMMAND)return void(t.interactionData&&r.applicationId&&(0,o.retryCommandMessage)(t,e,r.applicationId));var l=t.content,u=t.tts;a.default.sendMessage(e.id,{content:l,tts:u,invalidEmojis:[],validNonShortcutEmojis:[]},void 0,r)};var r,a=(r=n(390))&&r.__esModule?r:{default:r},o=n(9224),i=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,i.isPublicSystemMessage)(t))return y;if((0,d.default)(t))return v(o.default,{messageReference:t.messageReference});if(null!=t.interaction&&"SENDING"===t.state)return null;var n=s.default.getChannel(t.channel_id);return null!=n?a.createElement(u.default,p({},e,{channelId:t.channel_id,guildId:n.guild_id,userId:t.author.id})):null};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(1311)),i=n(8643),l=f(n(10114)),u=f(n(8268)),s=f(n(10)),d=f(n(8642));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=v(l.default,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(9)),o=i(n(7831));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(e){var t=e.className,n=e.children,r=e.roleColor,i=e.roleName;return u("div",{className:(0,a.default)(t,o.default.role)},void 0,u("div",{className:o.default.roleColor,style:{backgroundColor:r}}),i,n)}s.displayName="RoleLabel"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=u(n(29)),o=u(n(55)),i=u(n(24)),l=u(n(7833));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t=e.icon,n=e.onClick,r=e.label;return d(a.default,{look:a.default.Looks.BLANK,size:a.default.Sizes.MIN,className:l.default.button,onClick:n},void 0,d(o.default,{align:o.default.Align.CENTER},void 0,d("div",{className:l.default.buttonIcon},void 0,t),d(i.default,{size:i.default.Sizes.SIZE_16,color:i.default.Colors.CUSTOM},void 0,r)))}f.displayName="ChannelSettingsButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=l(n(9)),o=l(n(8472)),i=l(n(7343));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}var d=r.forwardRef((function(e,t){var n,l=e.className,u=e.isBeforeGroup,d=void 0!==u&&u,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["className","isBeforeGroup"]),c=f.children;return r.createElement(o.default,s({},f,{ref:t,className:(0,a.default)(l,(n={},n[i.default.divider]=!0,n[i.default.hasContent]=null!=c,n[i.default.beforeGroup]=d,n))}))})),f=r.memo(d);t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(29)),i=f(n(8685)),l=f(n(8649)),u=f(n(47)),s=f(n(24)),d=f(n(7840));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=a.memo((function(e){var t=e.message,n=e.subtitle,r=e.countdown,f=e.buttonText,c=e.buttonColor,v=e.buttonSubmitting,y=e.onButtonClick,m=e.imageSrc,_=e.animationSrc,h=e.secondaryButtonText,E=e.onSecondaryButtonClick,g=e.children,S=e.useReducedMotion,O=void 0!==S&&S;if(null==t)return a.createElement(a.Fragment,null,a.Children.only(g));var I=null;return null!=m?I=p("img",{alt:"",src:m,className:d.default.image}):null!=_&&(I=p(l.default,{importData:_,shouldAnimate:!O,className:d.default.animation})),p("div",{className:d.default.wrapper},void 0,p("div",{className:d.default.content},void 0,I,p("div",{className:d.default.text},void 0,p(u.default,{size:u.default.Sizes.SIZE_16,className:d.default.title},void 0,t),n&&p(s.default,{color:s.default.Colors.MUTED,size:s.default.Sizes.SIZE_12},void 0,n))),p("div",{className:d.default.buttonContainer},void 0,null!=h&&p(o.default,{className:d.default.button,size:o.default.Sizes.SMALL,onClick:E,look:o.default.Looks.LINK,color:o.default.Colors.PRIMARY,submitting:v},void 0,h),null!=f&&p(o.default,{className:d.default.button,size:o.default.Sizes.SMALL,onClick:y,submitting:v,color:c||o.default.Colors.PRIMARY},void 0,f)),null!=r&&p(i.default,{className:d.default.countdown,deadline:r}))}));t.default=v},function(e,t,n){e.exports=n.p+"1541db19fe490f7b5e623e86e8f13d41.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=c(n(0)),o=d(n(9)),i=c(n(29)),l=d(n(55)),u=d(n(7850)),s=d(n(370));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n),r.prototype.render=function(){var e=this.props,t=e.title,n=e.description,r=e.agreement,a=e.disagreement,d=e.onAgree,f=e.onDisagree,c=e.imageClassName;return p(l.default,{className:u.default.gatedContent,justify:l.default.Justify.CENTER,align:l.default.Align.CENTER,direction:l.default.Direction.VERTICAL},void 0,p("div",{className:(0,o.default)(u.default.image,c)}),p("div",{className:(0,o.default)(u.default.title,s.default.marginBottom8)},void 0,t),p("div",{className:(0,o.default)(u.default.description,s.default.marginBottom20)},void 0,n),p(l.default,{justify:l.default.Justify.CENTER,align:l.default.Align.CENTER,grow:0},void 0,a?p(i.default,{className:u.default.action,size:i.ButtonSizes.LARGE,color:i.ButtonColors.PRIMARY,onClick:f},void 0,a):null,r?p(i.default,{className:u.default.action,color:u.default.actionRed,size:i.ButtonSizes.LARGE,onClick:d},void 0,r):null))},r}(a.PureComponent);y.displayName="GatedContent";var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MODAL_CAROUSEL_PREV=t.MODAL_CAROUSEL_NEXT=t.CAROUSEL_PREV=t.CAROUSEL_NEXT=void 0;var r=u(n(694)),a=u(n(690)),o=n(41),i=n(121),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}var s=function(){return a.default.hasModalOpen()||r.default.hasLayers()||(0,o.hasAnyModalOpen)()},d={binds:["right"],comboKeysBindGlobal:!0,action:function(){if(!s())return i.ComponentDispatch.dispatch(l.ComponentActions.CAROUSEL_NEXT),!1}};t.CAROUSEL_NEXT=d;var f={binds:["left"],comboKeysBindGlobal:!0,action:function(){if(!s())return i.ComponentDispatch.dispatch(l.ComponentActions.CAROUSEL_PREV),!1}};t.CAROUSEL_PREV=f;var c={binds:["right","down","space"],comboKeysBindGlobal:!0,action:function(){return i.ComponentDispatch.dispatch(l.ComponentActions.MODAL_CAROUSEL_NEXT),!1}};t.MODAL_CAROUSEL_NEXT=c;var p={binds:["left","up"],comboKeysBindGlobal:!0,action:function(){return i.ComponentDispatch.dispatch(l.ComponentActions.MODAL_CAROUSEL_PREV),!1}};t.MODAL_CAROUSEL_PREV=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(1169),o=c(n(257)),i=c(n(24)),l=n(96),u=n(281),s=n(1),d=c(n(6)),f=c(n(7852));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e){var t=e.subscription,n=e.withOverheadSeparator,r=(0,a.useSubscriptionInvoicePreview)({subscriptionId:t.id,renewal:!0})[0];if(null==r)return null;var c=n?f.default.finePrintWithOverheadSeparator:f.default.finePrint,p=r.invoiceItems.find((function(e){var t=e.subscriptionPlanId;return(0,l.isPremiumBaseSubscriptionPlan)(t)}));if(null==p)return null;var y=p.subscriptionPlanId,m=o.default.getHardcoded(y).interval===s.SubscriptionIntervalTypes.YEAR,_=(0,u.formatPrice)(r.total,r.currency);return v(i.default,{color:i.default.Colors.MUTED,className:c,size:i.default.Sizes.SIZE_12},void 0,m?d.default.Messages.BILLING_PAYMENT_PREMIUM_LEGALESE_YEARLY.format({price:_,termsUrl:s.MarketingURLs.TERMS,privacyUrl:s.MarketingURLs.PRIVACY}):d.default.Messages.BILLING_PAYMENT_PREMIUM_LEGALESE_MONTHLY.format({price:_,termsUrl:s.MarketingURLs.TERMS,privacyUrl:s.MarketingURLs.PRIVACY}))}function m(e){var t=e.subscription,n=e.withOverheadSeparator;return t.status===s.SubscriptionStatusTypes.CANCELED||t.isPurchasedExternally?null:v(y,{subscription:t,withOverheadSeparator:n})}y.displayName="PremiumSubscriptionFinePrintContent",m.displayName="PremiumSubscriptionFinePrint"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PremiumGuildSubscriptionHeader=A,t.SubscriptionDetailsEmpty=L,t.default=w;M(n(0));var r,a=C(n(9)),o=n(3),i=C(n(473)),l=n(1169),u=n(5688),s=C(n(12)),d=C(n(29)),f=C(n(467)),c=C(n(55)),p=C(n(477)),v=C(n(151)),y=n(131),m=C(n(5686)),_=M(n(96)),h=C(n(9060)),E=C(n(10164)),g=C(n(10166)),S=C(n(10167)),O=n(1),I=C(n(6)),T=C(n(7858));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function A(e){var t=e.subscription,n=e.className,r=(0,o.useStateFromStores)([s.default],(function(){return s.default.getCurrentUser()}));if(0===(0,_.getNumPremiumGuildSubscriptions)(t.additionalPlans))return null;var l,u=t.status;return l=(0,_.isPremiumGuildSubscriptionCanceled)(t)?T.default.premiumGuildSubscriptionRowCanceled:(0,_.isSubscriptionStatusFailedPayment)(u)?T.default.premiumGuildSubscriptionRowFailedPayment:T.default.premiumGuildSubscriptionRowActive,N("div",{className:(0,a.default)(l,n)},void 0,N("div",{className:T.default.premiumGuildSubscriptionRowBackground}),N("div",{className:T.default.premiumGuildImage}),N("div",{className:T.default.premiumGuildSubscriptionRowBody},void 0,N("div",{className:T.default.premiumGuildWordmark}),N("div",{},void 0,(0,_.getPremiumGuildHeaderDescription)(t,r))),N(h.default,{color:d.default.Colors.BRAND,onClick:function(){return i.default.open(O.UserSettingsSections.PREMIUM_GUILD_SUBSCRIPTION)}},void 0,I.default.Messages.PREMIUM_GUILD_PERKS_MODAL_MANAGE_YOUR_SUBSCRIPTIONS))}function P(e){var t=e.subscription,n=e.renewalInvoicePreview,r=e.className;return N("div",{className:(0,a.default)(T.default.billingInformation,r)},void 0,N(y.FormTitle,{tag:y.FormTitle.Tags.H3,className:T.default.detailBlockHeader},void 0,I.default.Messages.PREMIUM_SETTINGS_BILLING_INFO),N("div",{},void 0,_.default.getBillingInformationString(t,n)))}function R(e){var t=e.subscription,n=_.default.getGrandfatheredEndDate(t.planId),r=_.default.getInterval(t.planId)===O.SubscriptionIntervalTypes.MONTH,a=(0,_.isUpgradingFromGrandfathered)(t);return N("div",{className:T.default.grandfatheredMessage},void 0,N(m.default,{className:T.default.grandfatheredIcon}),N("span",{className:T.default.grandfatheredMessageText},void 0,a?I.default.Messages.PREMIUM_GRANDFATHERED_YEARLY_UPGRADING.format({date:_.default.GRANDFATHERED_YEARLY_END_DATE}):I.default.Messages.PREMIUM_GRANDFATHERED_YEARLY.format({date:n})),r?N(d.default,{look:d.default.Looks.INVERTED,size:d.default.Sizes.SMALL,onClick:function(){return(0,u.openPremiumSelectPlanModal)({initialPlanId:O.SubscriptionPlans.PREMIUM_MONTH_TIER_2,analyticsLocation:{page:O.AnalyticsPages.USER_SETTINGS,section:O.AnalyticsSections.SETTINGS_PREMIUM,object:O.AnalyticsObjects.BUTTON_CTA}})}},void 0,I.default.Messages.BILLING_SWITCH_PLAN_UPGRADE):null)}function L(e){return N("div",{className:e.className},void 0,N(y.FormTitle,{className:T.default.sectionTitle,tag:y.FormTitle.Tags.H1},void 0,I.default.Messages.USER_SETTINGS_SUBSCRIPTIONS_HEADER),N("p",{className:T.default.sectionDescription},void 0,I.default.Messages.BILLING_PAYMENT_PREMIUM_DESCRIPTION),N(f.default,{className:T.default.noItemsCard,type:f.default.Types.CUSTOM},void 0,N(c.default,{align:c.default.Align.CENTER},void 0,N(p.default,{game:null,size:p.default.Sizes.SMALL,className:T.default.noItemsIcon}),N("span",{className:T.default.cardText},void 0,I.default.Messages.USER_SETTINGS_NO_SUBSCRIPTIONS))))}A.displayName="PremiumGuildSubscriptionHeader",P.displayName="SubscriptionBillingInformation",R.displayName="GrandfatheredNotice",L.displayName="SubscriptionDetailsEmpty";var D=N(v.default,{});function w(e){var t,n=e.subscription,r=e.paymentSource,a=e.busy,o=e.className,i=e.useStandaloneSubscriptionsTab,u=(0,l.useSubscriptionInvoicePreview)({subscriptionId:n.id,renewal:!0})[0],s=(0,l.useSubscriptionInvoicePreview)({subscriptionId:n.id,renewal:!0,applyEntitlements:!0})[0];if(null==u||null==s)return D;null!=n.renewalMutations&&(n.renewalMutations.planId!==n.planId&&!_.default.isNoneSubscription(n.renewalMutations.planId)||n.hasExternalPlanChange)&&(t=N(S.default,{subscription:n,renewalMutations:n.renewalMutations,className:T.default.renewalMutationNotice}));var d=_.default.isGrandfathered(n.planId),f=I.default.Messages.USER_SETTINGS_SUBSCRIPTIONS_HEADER;return i||(f=I.default.Messages.BILLING_PAYMENT_PREMIUM),N("div",{className:o},void 0,N(y.FormTitle,{className:T.default.sectionTitle,tag:y.FormTitle.Tags.H1},void 0,f),t,d?N(R,{subscription:n}):null,N("div",{className:T.default.subscriptionRows},void 0,N("p",{className:T.default.sectionDescription},void 0,I.default.Messages.BILLING_PAYMENT_PREMIUM_DESCRIPTION),N(E.default,{subscription:n,renewalInvoicePreview:u,paymentSource:r,busy:a}),N(A,{subscription:n,className:T.default.guildSubscriptionRow})),N("div",{},void 0,N(y.FormTitle,{tag:y.FormTitle.Tags.H5},void 0,I.default.Messages.BILLING_STEP_PAYMENT),N("div",{className:T.default.details},void 0,N(P,{subscription:n,renewalInvoicePreview:s,className:T.default.detailsBlock}),N(g.default,{subscription:n,className:T.default.detailsBlock}))))}w.displayName="SubscriptionDetails"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=i(n(29)),o=i(n(7853));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e){var t=e.children,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["children"]);return r.createElement(a.default,u({},n,{size:a.default.Sizes.SMALL,look:a.default.Looks.INVERTED,className:o.default.button}),t)}s.displayName="PremiumSettingsPushButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-06_standalone_subscriptions_tab",label:"Standalone Subscriptions Tab",defaultConfig:{useStandaloneSubscriptionsTab:!1},treatments:[{id:1,label:"Enables the standalone Subscriptions tab",config:{useStandaloneSubscriptionsTab:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PremiumTier1Buttons=t.PremiumTier2Buttons=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(9)),i=n(5689),l=d(n(5948)),u=n(1),s=d(n(7860));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(){return(p=Object.assign||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}).apply(this,arguments)}var v=function(e){var t,n=e.className,r=e.alignLeft,d=void 0!==r&&r,f=e.premiumModalAnalyticsLocation,v=e.subscribeButtonProps,y=e.giftButtonProps,m=(0,i.usePremiumTrialOffer)();return c("div",{className:(0,o.default)(n,s.default.buttons,(t={},t[s.default.buttonsCenter]=!d,t))},void 0,a.createElement(l.default,p({},v,{subscriptionTier:u.PremiumSubscriptionSKUs.TIER_2,className:s.default.button,premiumModalAnalyticsLocation:f,trialId:null!=m?m.trial_id:null})),a.createElement(l.default,p({},y,{subscriptionTier:u.PremiumSubscriptionSKUs.TIER_2,isGift:!0,premiumModalAnalyticsLocation:f,className:s.default.button})))};t.PremiumTier2Buttons=v,v.displayName="PremiumTier2Buttons";var y=function(e){var t=e.premiumModalAnalyticsLocation;return c("div",{className:s.default.buttons},void 0,c(l.default,{subscriptionTier:u.PremiumSubscriptionSKUs.TIER_1,premiumModalAnalyticsLocation:t,className:s.default.button}),c(l.default,{subscriptionTier:u.PremiumSubscriptionSKUs.TIER_1,isGift:!0,premiumModalAnalyticsLocation:t,className:s.default.button}))};t.PremiumTier1Buttons=y,y.displayName="PremiumTier1Buttons"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l,u,s;function d(){u={},l={},s=new Set}d();var f=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var a=r.prototype;return a.getStatisticsForApplication=function(e){return l[e]},a.shouldFetchStatisticsForApplication=function(e){var t=u[e];return!s.has(e)&&(null==t||Date.now()-t>36e5)},r}(r.default.Store))(a.default,{APPLICATION_ACTIVITY_STATISTICS_FETCH_START:function(e){var t=e.applicationId;s.add(t)},APPLICATION_ACTIVITY_STATISTICS_FETCH_FAIL:function(e){var t=e.applicationId;s.delete(t)},APPLICATION_ACTIVITY_STATISTICS_FETCH_SUCCESS:function(e){var t=e.statistics,n=e.applicationId;u[n]=Date.now(),s.delete(n),l[n]=t},LOGOUT:function(e){return d()}});t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ItemSizes=void 0;var r,a=S(n(0)),o=E(n(9)),i=E(n(273)),l=E(n(8299)),u=n(8308),s=S(n(9065)),d=S(n(8655)),f=E(n(61)),c=n(8516),p=E(n(8894)),v=E(n(8337)),y=E(n(8592)),m=n(121),_=n(1),h=E(n(7873));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function O(){var e=function(e,t){t||(t=e.slice(0));return e.raw=t,e}(["grayscale(",")"]);return O=function(){return e},e}function I(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function b(){return(b=Object.assign||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}).apply(this,arguments)}var M={SMALL:{width:640,height:360,margin:15},MEDIUM:{width:880,height:495,margin:20}};t.ItemSizes=M;var N={width:1920,height:1080},A={width:1280,height:720},P=function(e){return(0,u.renderVideoComponent)(b({},e,{className:h.default.videoWrapper,mediaPlayerClassName:h.default.mediaPlayer}))},R=function(e){return a.createElement(v.default,e)};R.displayName="carouselRenderImage";var L=function(e){var t,n,r=e.item,a=e.size,o=e.onPlay,i=e.onEnded,l=e.onClick,s=e.playable,d=e.volume,p=e.isMuted,v=e.onVolumeChange,y=e.onMute;if(r.type===_.CarouselMediaTypes.YOUTUBE_VIDEO)t=b({url:(0,_.YOUTUBE_PREVIEW_URL)(r.youtubeVideoId)},N),n=b({url:(0,_.YOUTUBE_EMBED_URL)(r.youtubeVideoId)+"?rel=0&iv_load_policy=3&showinfo=0&modestbranding=1"},A);else{var m=null!=r.width?r.width:0,E=null!=r.height?r.height:0;t={url:r.thumbnailSrc,width:m,height:E},n={url:r.src,proxyURL:r.src,width:m,height:E}}var g=C(c.EmbedVideo,{href:null,thumbnail:t,video:n,allowFullScreen:!0,maxHeight:a.height,maxWidth:a.width,onPlay:o,onEnded:i,playable:s,className:h.default.video,volume:d,onVolumeChange:v,autoMute:p,onMute:y,autoPlay:s,renderVideoComponent:P,renderImageComponent:R,renderLinkComponent:u.renderMaskedLinkComponent});return s?g:C(f.default,{className:h.default.itemImageWrapper,onClick:l},void 0,g)},D=function(){return C("div",{className:h.default.paginationVideoOverlay},void 0,C(y.default,{inactive:!0,className:h.default.paginationVideoPlayPill,renderLinkComponent:u.renderMaskedLinkComponent}))};D.displayName="VideoOverlay";var w=C(D,{}),j=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={currentIndex:0,animate:!0,playingVideo:!1,hasInteracted:!1,hoveringPreviousItem:!1,hoveringNextItem:!1,volume:1,isMuted:!0},t.getItemSize=function(){var e=t.props.width,n=M.MEDIUM;return null!=e&&e<n.width&&(n=M.SMALL),n},t.setItem=function(e,n){var r=I(t),a=r.props,o=a.items,i=a.onIntentionalChange,l=r.state.currentIndex,u=(0,d.normalizeIndex)(l,o.length),s=(0,d.normalizeIndex)(e,o.length),f=1===Math.abs(e-u)||e===o.length-1&&0===u||0===e&&u===o.length-1;t.setState({playingVideo:!1,currentIndex:s,animate:f,hasInteracted:n}),n&&null!=i&&i(o[s],u,s)},t.autoNext=function(){t.setItem(t.state.currentIndex+1,!1)},t.manualNext=function(){t.setItem(t.state.currentIndex+1,!0)},t.manualPrevious=function(){t.setItem(t.state.currentIndex-1,!0)},t.handlePlay=function(e){return t.setState({playingVideo:!0,hasInteracted:!e})},t.handleEnded=function(){t.state.hasInteracted||t.autoNext()},t.handleVolumeChange=function(e){t.setState({volume:e,hasInteracted:!0})},t.handleMute=function(e){t.setState({isMuted:e,hasInteracted:!0})},t.handleVideoClick=function(e){t.setItem(e,!0)},t.handleEdgeItemMouseLeave=function(){t.setState({hoveringPreviousItem:!1,hoveringNextItem:!1})},t.renderCarouselImage=function(e,n,r){return r?C(f.default,{onClick:function(){return t.handleCurrentItemClick(e,n)},className:h.default.itemImageWrapper},void 0,C("img",{src:e.src,alt:"",className:h.default.currentImage})):C(f.default,{onClick:function(){return t.setItem(n,!0)},className:h.default.itemImageWrapper},void 0,C("img",{alt:"",className:h.default.itemImage,src:e.src,draggable:!1}))},t.renderItem=function(e,n,r){var a,l=t.state,u=l.currentIndex,s=l.volume,f=l.isMuted,c=n===(0,d.normalizeIndex)(u,t.props.items.length);return C(i.default.div,{className:(0,o.default)(h.default.item,(a={},a[h.default.currentItem]=c,a)),style:null!=r?t.getStyle(n,r):null,onMouseEnter:c?null:function(){return t.handleEdgeItemMouseEnter(n)},onMouseLeave:c?null:t.handleEdgeItemMouseLeave},void 0,e.type===_.CarouselMediaTypes.VIDEO||e.type===_.CarouselMediaTypes.YOUTUBE_VIDEO?C(L,{item:e,size:t.getItemSize(),onPlay:t.handlePlay,onEnded:t.handleEnded,playable:c,onClick:function(){return t.handleVideoClick(n)},volume:s,onVolumeChange:t.handleVolumeChange,isMuted:f,onMute:t.handleMute}):t.renderCarouselImage(e,n,c))},t.renderPaginationItem=function(e,n){var r=t.state.currentIndex===n;return C("div",{className:(0,o.default)(h.default.paginationItem,r?h.default.selectedStorePaginationItem:h.default.unselectedStorePaginationItem)},"page-"+n,C("img",{alt:null==e.alt?n:e.alt,className:h.default.storePaginationImg,src:t.getPaginationSrc(e),draggable:!1}),e.type===_.CarouselMediaTypes.YOUTUBE_VIDEO||e.type===_.CarouselMediaTypes.VIDEO?w:null,r?C("div",{className:h.default.overlappingBorder}):null)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,T(t,n);var a=r.prototype;return a.componentDidMount=function(){m.ComponentDispatch.subscribe(_.ComponentActions.CAROUSEL_PREV,this.manualPrevious),m.ComponentDispatch.subscribe(_.ComponentActions.CAROUSEL_NEXT,this.manualNext)},a.componentWillUnmount=function(){m.ComponentDispatch.unsubscribe(_.ComponentActions.CAROUSEL_PREV,this.manualPrevious),m.ComponentDispatch.unsubscribe(_.ComponentActions.CAROUSEL_NEXT,this.manualNext)},a.getStyle=function(e,t){var n=t.interpolate({inputRange:[0,1],outputRange:[1,0],extrapolate:i.default.Extrapolate.CLAMP});return{opacity:t.interpolate({inputRange:[0,1],outputRange:[.3,1],extrapolate:i.default.Extrapolate.CLAMP}),filter:i.default.template(O(),n)}},a.handleCurrentItemClick=function(e,t){var n=this.props.onCurrentItemClick;null!=n&&n(e,t),this.setState({hasInteracted:!0})},a.handleEdgeItemMouseEnter=function(e){var t=this.state.currentIndex;e<t?this.setState({hoveringPreviousItem:!0}):e>t&&this.setState({hoveringNextItem:!0})},a.renderCarousel=function(){var e,t,n=this.props.items,r=this.state,a=r.currentIndex,i=r.animate,l=r.hoveringPreviousItem,u=r.hoveringNextItem,f=C(d.default,{items:n,itemSize:this.getItemSize(),renderItem:this.renderItem,currentIndex:a,animate:i,edgeItems:2});return n.length<=1?f:C("div",{className:h.default.carouselButtonsContainer},void 0,f,C(s.CarouselPrevious,{onClick:this.manualPrevious,className:(0,o.default)(h.default.arrow,(e={},e[h.default.arrowHovered]=l,e))}),C(s.CarouselNext,{onClick:this.manualNext,className:(0,o.default)(h.default.arrow,(t={},t[h.default.arrowHovered]=u,t))}))},a.getPaginationSrc=function(e){return e.type===_.CarouselMediaTypes.YOUTUBE_VIDEO?(0,_.YOUTUBE_PREVIEW_URL)(e.youtubeVideoId):e.type===_.CarouselMediaTypes.IMG?e.src:e.type===_.CarouselMediaTypes.VIDEO?e.thumbnailSrc:null},a.render=function(){var e=this,t=this.props,n=t.items,r=t.className,a=t.autoplayInterval,o=t.paused,i=this.state,l=i.currentIndex,u=i.playingVideo,d=i.hasInteracted;return C(p.default,{pauseOnHover:!0,onInterval:this.autoNext,interval:a,className:r,disable:u||d||o},void 0,this.renderCarousel(),C("div",{className:h.default.pagination},void 0,C(s.default,{renderItem:this.renderPaginationItem,scrollToPadding:85,items:n,selectedIndex:l,onSetItem:function(t){return e.setItem(t,!0)},paginationContainerClass:h.default.scroller,align:n.length<6?s.default.Align.LEFT:s.default.Align.CENTER})))},r}(a.PureComponent);j.displayName="MediaCarousel",j.defaultProps={autoplayInterval:8e3,paused:!1};var k=(0,l.default)(j);t.default=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CarouselNext=t.CarouselPrevious=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(9)),i=d(n(9066)),l=d(n(29)),u=n(468),s=d(n(7872));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,v(e,t)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y={CENTER:s.default.alignCenter,LEFT:s.default.alignLeft},m=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._scrollerRef=null,t._paginationItemRefs=[],t.handleSetScrollerRef=function(e){t._scrollerRef=e},t.handleSelectedIndexChange=function(e){var n=t._scrollerRef;if(null!=n){var r=t._paginationItemRefs[e];null!=r&&n.scrollIntoViewNode({node:r,animate:!0,padding:t.props.scrollToPadding})}},t.handlePageClick=function(e){(0,t.props.onSetItem)(e)},t}p(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){var t=this.props.selectedIndex;e.selectedIndex!==t&&this.handleSelectedIndexChange(t)},n.render=function(){var e=this,t=this.props,n=t.renderItem,r=t.items,i=t.vertical,l=t.paginationContainerClass,d=t.align,f=i?s.default.verticalPaginationItemContainer:s.default.horizontalPaginationItemContainer;return a.createElement(u.AdvancedScrollerAuto,{orientation:i?"vertical":"horizontal",className:(0,o.default)(f,l,d),ref:this.handleSetScrollerRef},r.map((function(t,r){return a.cloneElement(n(t,r),{onClick:function(){return e.handlePageClick(r)},key:r,ref:function(t){e._paginationItemRefs[r]=t}})})))},t}(a.PureComponent);m.displayName="CarouselPaginationStrip",m.Align=y,m.defaultProps={scrollToPadding:{top:0,left:0,bottom:0,right:0},align:y.CENTER};var _=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handlePrevClick=function(e){e.stopPropagation(),e.preventDefault();var n=t.props.onClick;n&&n(e)},t}return p(t,e),t.prototype.render=function(){var e=this.props.className;return c(l.default,{look:l.default.Looks.BLANK,size:l.default.Sizes.NONE,className:(0,o.default)(s.default.prevButtonContainer,e),onClick:this.handlePrevClick},void 0,c(i.default,{className:s.default.arrow,direction:i.default.Directions.LEFT}))},t}(a.PureComponent);t.CarouselPrevious=_,_.displayName="CarouselPrevious";var h=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleNextClick=function(e){e.stopPropagation(),e.preventDefault();var n=t.props.onClick;n&&n(e)},t}return p(t,e),t.prototype.render=function(){var e=this.props.className;return c(l.default,{look:l.default.Looks.BLANK,size:l.default.Sizes.NONE,className:(0,o.default)(s.default.nextButtonContainer,e),onClick:this.handleNextClick},void 0,c(i.default,{className:s.default.arrow,direction:i.default.Directions.RIGHT}))},t}(a.PureComponent);t.CarouselNext=h,h.displayName="CarouselNext";var E=m;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ArrowDirections=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=s(n(9)),l=s(n(9237)),u=s(n(7871));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p={UP:"up",RIGHT:"right",DOWN:"down",LEFT:"left"};t.ArrowDirections=p;var v=((r={})[p.UP]=u.default.up,r[p.RIGHT]=u.default.right,r[p.DOWN]=u.default.down,r[p.LEFT]=u.default.left,r),y=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),r.prototype.render=function(){var e,t=this.props,n=t.direction,r=t.onClick,a=t.className;return f(l.default,{className:(0,i.default)(u.default.arrow,a,(e={},e[v[n]]=!0,e)),onClick:r})},r}(o.PureComponent);y.displayName="Arrow",y.Directions=p;var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MessageStyles=void 0;var r,a=p(n(0)),o=f(n(133)),i=f(n(3)),l=f(n(2)),u=p(n(5672)),s=f(n(8634)),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=(0,o.default)({SHORT:null,LONG:null});t.MessageStyles=m;var _=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n);var a=r.prototype;return a.getText=function(e,t){if(429===e.status)switch(t){case m.SHORT:return d.default.Messages.APPLICATION_STORE_LISTING_PURCHASE_RATE_LIMIT_ERROR_SHORT;case m.LONG:return d.default.Messages.APPLICATION_STORE_LISTING_PURCHASE_RATE_LIMIT_ERROR}switch(t){case m.SHORT:return d.default.Messages.APPLICATION_STORE_LISTING_PURCHASE_GENERIC_ERROR_SHORT;case m.LONG:return d.default.Messages.APPLICATION_STORE_LISTING_PURCHASE_GENERIC_ERROR}},a.componentWillUnmount=function(){this.props.purchaseError&&l.default.wait((function(){return u.clearPurchaseError()}))},a.render=function(){var e=this.props,t=e.className,n=e.purchaseError,r=e.messageStyle;return null==n?null:v("div",{className:t},void 0,this.getText(n,r))},r}(a.PureComponent);_.displayName="ApplicationStorePurchaseError",_.defaultProps={messageStyle:m.LONG};var h=i.default.connectStores([s.default],(function(){return{purchaseError:s.default.error}}))(_);t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(9)),i=n(131),l=d(n(24)),u=n(8289),s=d(n(8132));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.errors;return a.createElement(a.Fragment,null,t.map((function(e,t){return c(l.default,{size:l.default.Sizes.SIZE_12,color:l.default.Colors.STATUS_RED,className:s.default.errorMessage},t,e.replace(/[0-9.,]+ ?kb/g,(function(e){var t=1024*parseInt(e,10);return isNaN(t)?e:(0,u.sizeString)(t)})))})))}function v(e){var t=e.title,n=e.description,r=e.children,a=e.className,l=e.errors;return c("div",{className:(0,o.default)(s.default.customizationSection,a)},void 0,c(i.FormTitle,{},void 0,t),null!=n?c(i.FormText,{type:i.FormText.Types.DESCRIPTION,className:s.default.sectionDescription},void 0,n):null,r,null!=l&&c(p,{errors:l}))}v.displayName="CustomizationSection"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SETTINGS_LAYERS_LAYOUT=void 0;var r=l(n(719)),a=n(121),o=l(n(9018)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||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}).apply(this,arguments)}var s=u({POP_LAYER:{binds:["esc"],global:!0,action:function(){return a.ComponentDispatch.hasSubscribers(i.ComponentActions.CALL_DECLINE)?(a.ComponentDispatch.dispatch(i.ComponentActions.CALL_DECLINE),!1):!r.default.close()&&(a.ComponentDispatch.hasSubscribers(i.ComponentActions.POPOUT_CLOSE)?(a.ComponentDispatch.dispatch(i.ComponentActions.POPOUT_CLOSE),!1):a.ComponentDispatch.hasSubscribers(i.ComponentActions.MODAL_CLOSE)?(a.ComponentDispatch.dispatch(i.ComponentActions.MODAL_CLOSE),!1):void a.ComponentDispatch.dispatch(i.ComponentActions.LAYER_POP_ESCAPE_KEY))}}},o.default);t.SETTINGS_LAYERS_LAYOUT=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(9)),o=l(n(24)),i=l(n(7906));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.children,n=e.className;return s(o.default,{color:o.default.Colors.CUSTOM,className:(0,a.default)(i.default.title,n),size:o.default.Sizes.SIZE_14},void 0,t)}d.displayName="PanelTitle"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Link=t.Header=t.Application=t.User=t.GroupDM=t.Channel=t.Guild=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(5937),i=n(180),l=n(8328),u=n(1338),s=I(n(70)),d=I(n(160)),f=I(n(12)),c=I(n(8961)),p=I(n(61)),v=I(n(477)),y=I(n(371)),m=I(n(8409)),_=I(n(10238)),h=I(n(736)),E=I(n(1221)),g=I(n(279)),S=I(n(6)),O=I(n(7907));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,N(e,t)}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var A=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(e){e.preventDefault();var n=t.props.onClick,r=b(t).node;null!=r&&n(e,r)},t.handleMouseEnter=function(e){var n=t.props.onMouseEnter,r=b(t).node;null!=r&&n(e,r)},t.setRef=function(e){t.node=e},t}M(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this.props,t=e.focused,n=e.onFocus,r=this.node;t&&null!=r&&n(r)},n.componentDidUpdate=function(e){var t=this.props,n=t.focused,r=t.onFocus,a=this.node;null!=a&&n&&!e.focused&&r(a)},n.render=function(){var e=this.props,t=e.focused,n=e.children,r=e.score,a=e.onContextMenu;return C(p.default,{focusProps:{enabled:!1},tabIndex:-1,innerRef:this.setRef,className:t?O.default.resultFocused:O.default.resultDefault,onClick:this.handleClick,onMouseEnter:this.handleMouseEnter,onContextMenu:a},void 0,n,null!=r?C("div",{className:O.default.score},void 0,r>>0):null)},t}(a.PureComponent);A.displayName="Result";var P=function(e){function t(){return e.apply(this,arguments)||this}M(t,e);var n=t.prototype;return n.renderIcon=function(){var e=this.props.guild;return C("div",{className:O.default.guildIconContainer},void 0,C(y.default,{tabIndex:-1,guild:e,size:y.default.Sizes.MINI,className:O.default.guildIcon}))},n.renderName=function(){var e=this.props.guild;return C("div",{className:O.default.name},void 0,C("span",{className:O.default.match},void 0,e.name))},n.renderContent=function(){var e=this.props,t=e.unread,n=e.children;return C("div",{className:t?O.default.contentUnread:O.default.contentDefault},void 0,this.renderIcon(),this.renderName(),C("div",{className:O.default.misc},void 0,n))},n.render=function(){var e=this.props,t=e.onMouseEnter,n=e.onClick,r=e.onFocus,a=e.onContextMenu,o=e.focused,i=e.score;return C(A,{onMouseEnter:t,onClick:n,onFocus:r,onContextMenu:a,focused:o,score:i},void 0,this.renderContent())},t}(a.Component);t.Guild=P,P.displayName="Guild";var R=function(e){function t(){return e.apply(this,arguments)||this}M(t,e);var n=t.prototype;return n.renderIcon=function(){var e=this.props.channel,t=(0,l.getChannelIconComponent)(e);return null==t?null:C("div",{className:O.default.iconContainer},void 0,C(t,{className:O.default.icon,width:16,height:16}))},n.renderName=function(){var e,t,n=this.props,r=n.mentions,a=n.category,o=n.channel;return null!=r&&r>0&&(e=C(c.default,{className:O.default.badge,value:r})),null!=a&&(t=C("span",{className:O.default.note},void 0,(0,i.computeChannelName)(a,f.default,s.default))),C("div",{className:O.default.name},void 0,C("span",{className:O.default.match},void 0,(0,i.computeChannelName)(o,f.default,s.default)),e,this.renderVoiceStates(),t)},n.renderVoiceStates=function(){var e=this.props,t=e.voiceStates,n=e.channel;return null==t?null:C(m.default,{guildId:n.guild_id,users:t.map((function(e){return{user:e.user}})),max:4})},n.renderContent=function(){var e=this.props,t=e.unread,n=e.mentions,r=e.children;return C("div",{className:t||null!=n&&n>0?O.default.contentUnread:O.default.contentDefault},void 0,this.renderIcon(),this.renderName(),C("div",{className:O.default.misc},void 0,r))},n.render=function(){var e=this.props,t=e.onMouseEnter,n=e.onClick,r=e.onFocus,a=e.onContextMenu,o=e.focused,i=e.score;return C(A,{onMouseEnter:t,onClick:n,onFocus:r,onContextMenu:a,focused:o,score:i},void 0,this.renderContent())},t}(a.Component);t.Channel=R,R.displayName="Channel",R.defaultProps={unread:!1};var L=function(e){function t(){return e.apply(this,arguments)||this}M(t,e);var n=t.prototype;return n.renderIcon=function(){var e=this.props.channel;return C("div",{className:O.default.dmIconContainer},void 0,C(g.default,{src:(0,o.getChannelIconURL)(e),size:g.default.Sizes.SIZE_24,className:O.default.avatarSizeOverride,"aria-label":(0,i.computeChannelName)(e,f.default,s.default)}))},n.renderName=function(){var e,t=this.props,n=t.mentions,r=t.channel;return null!=n&&n>0&&(e=C(c.default,{className:O.default.badge,value:n})),C("div",{className:O.default.name},void 0,C("span",{className:O.default.match},void 0,(0,i.computeChannelName)(r,f.default,s.default)),e)},n.renderContent=function(){var e=this.props,t=e.mentions,n=e.children;return C("div",{className:null!=t&&t>0?O.default.contentUnread:O.default.contentDefault},void 0,this.renderIcon(),this.renderName(),C("div",{className:O.default.misc},void 0,n))},n.render=function(){var e=this.props,t=e.onMouseEnter,n=e.onClick,r=e.onFocus,a=e.onContextMenu,o=e.focused,i=e.score;return C(A,{onMouseEnter:t,onClick:n,onFocus:r,onContextMenu:a,focused:o,score:i},void 0,this.renderContent())},t}(a.Component);t.GroupDM=L,L.displayName="GroupDM";var D=function(e){function t(){return e.apply(this,arguments)||this}M(t,e);var n=t.prototype;return n.renderIcon=function(){var e=this.props.user;return C("div",{className:O.default.iconContainer},void 0,C(g.default,{src:e.getAvatarURL(void 0),"aria-label":e.username,size:g.default.Sizes.SIZE_24,className:O.default.avatarSizeOverride}))},n.renderName=function(){var e,t,n=this.props,r=n.user,a=n.comparator,o=n.mentions,i=n.nickname;if(null!=o&&o>0&&(e=C(c.default,{className:O.default.badge,value:o})),null!=a&&a===r.tag){var l=a.split("#");l.pop(),t=l.join("#")}else t=a||r.username;return t===r.username&&(t=i||t),C("div",{className:O.default.name},void 0,C("span",{className:O.default.match},void 0,t),e,C("span",{className:O.default.username},void 0,d.default.hidePersonalInformation?r.username:r.tag))},n.renderContent=function(){var e=this.props,t=e.children,n=e.mentions;return C("div",{className:null!=n&&n>0?O.default.contentUnread:O.default.contentDefault},void 0,this.renderIcon(),this.renderName(),C("div",{className:O.default.misc},void 0,t))},n.render=function(){var e=this.props,t=e.onMouseEnter,n=e.onClick,r=e.onFocus,a=e.onContextMenu,o=e.focused,i=e.score;return C(A,{onMouseEnter:t,onClick:n,onFocus:r,onContextMenu:a,focused:o,score:i},void 0,this.renderContent())},t}(a.Component);t.User=D,D.displayName="User";var w=function(e){function t(){return e.apply(this,arguments)||this}M(t,e);var n=t.prototype;return n.renderContent=function(){var e=this.props,t=e.children,n=e.application;return C("div",{className:O.default.contentDefault},void 0,C("div",{className:O.default.iconContainer},void 0,C(v.default,{tabIndex:-1,className:O.default.gameIcon,game:n,size:O.default.gameIconSize})),n.name,C("div",{className:O.default.misc},void 0,t))},n.render=function(){var e=this.props,t=e.onMouseEnter,n=e.onClick,r=e.onFocus,a=e.focused;return C(A,{onMouseEnter:t,onClick:n,onFocus:r,focused:a},void 0,this.renderContent())},t}(a.Component);t.Application=w,w.displayName="Application";var j=function(e){function t(){return e.apply(this,arguments)||this}return M(t,e),t.prototype.render=function(){return C("div",{className:O.default.resultDefault},void 0,C("div",{className:O.default.contentDefault},void 0,C("div",{className:O.default.header},void 0,this.props.children)))},t}(a.Component);t.Header=j,j.displayName="Header";var k=C(h.default,{width:16,height:16}),U=C(_.default,{width:16,height:16}),G=C(E.default,{width:16,height:16}),F=function(e){function t(){return e.apply(this,arguments)||this}M(t,e);var n=t.prototype;return n.renderContent=function(){var e,t,n=this.props,r=n.link,a=n.children,o=(0,u.tryParseChannelPath)(r.path);return null==o||void 0===o.messageId?(e=S.default.Messages.QUICKSWITCHER_LINK_UNKNOWN,t=k):(0,u.isAccessibleChannelPath)(o)?(e=S.default.Messages.QUICKSWITCHER_LINK_MESSAGE,t=U):(e=S.default.Messages.QUICKSWITCHER_LINK_NO_ACCESS,t=G),C("div",{className:O.default.contentDefault},void 0,C("div",{className:O.default.iconContainer},void 0,t),e,C("div",{className:O.default.misc},void 0,a))},n.render=function(){var e=this.props,t=e.onMouseEnter,n=e.onClick,r=e.onFocus,a=e.onContextMenu,o=e.focused,i=e.score;return C(A,{onMouseEnter:t,onClick:n,onFocus:r,onContextMenu:a,focused:o,score:i},void 0,this.renderContent())},t}(a.Component);t.Link=F,F.displayName="Link"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=u(n(29)),o=u(n(24)),i=u(n(6)),l=u(n(8193));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t=e.closePopout,n=e.body,r=e.header;return d("div",{className:l.default.container},void 0,d("div",{className:l.default.content},void 0,d("div",{className:l.default.art}),d(o.default,{className:l.default.headerText,size:o.default.Sizes.SIZE_16,color:o.default.Colors.CUSTOM},void 0,r),null==n?null:d(o.default,{className:l.default.bodyText,size:o.default.Sizes.SIZE_14,color:o.default.Colors.CUSTOM},void 0,n),d(a.default,{className:l.default.button,size:a.default.Sizes.MAX,onClick:t,color:a.default.Colors.WHITE},void 0,i.default.Messages.EMBEDDED_ACTIVITIES_MARKETING_TOOLTIP_CTA),d("div",{className:l.default.pointer})))}f.displayName="EmbeddedActivitiesMarketingTooltip"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldNotify=function(e,t,n,r){void 0===n&&(n=!0);void 0===r&&(r=!1);var a=p.default.getChannel(t),o=g.default.getCurrentUser(),i=g.default.getUser(e.author.id);if(null==a||null==o||null==i)return!1;if(!b(o,i,a,r))return!1;if(!n){var u=m.default.getChannelId(_.default.getGuildId());if(u===a.id)return!1;if(c.default.getCurrentThreadId(u)===a.id)return!1}if(f.THREAD_CHANNEL_TYPES.has(a.type)){var v=(0,d.computeThreadNotificationSetting)(a);return v!==s.ThreadMemberFlags.NO_MESSAGES&&(v===s.ThreadMemberFlags.ALL_MESSAGES||(0,l.isRawMessageMentioned)(e,o.id,!1,!1))}if(E.default.allowAllMessages(a))return!0;var y=E.default.isSuppressEveryoneEnabled(a.getGuildId()),h=E.default.isSuppressRolesEnabled(a.getGuildId());return(0,l.isRawMessageMentioned)(e,o.id,y,h)},t.shouldNotifyVoiceStatus=function(e,t){var n=g.default.getCurrentUser();return null!=n&&b(n,e,t)},t.makeTextChatNotification=function(e,t,n){var o,l=S.default.getName(e.getGuildId(),e.id,n),s=l;switch(e.type){case I.ChannelTypes.GUILD_ANNOUNCEMENT:case I.ChannelTypes.GUILD_TEXT:case I.ChannelTypes.ANNOUNCEMENT_THREAD:case I.ChannelTypes.PUBLIC_THREAD:case I.ChannelTypes.PRIVATE_THREAD:var d=p.default.getChannel(e.parent_id);if((0,u.default)(t))null!=v.default.getGuild(e.getGuildId())&&(s=M(s,e,d));else s=M(s,e,d);break;case I.ChannelTypes.GROUP_DM:e.isManaged()&&n.bot&&s===(0,r.computeChannelName)(e,g.default,y.default)||(s=s+" ("+(0,r.computeChannelName)(e,g.default,y.default,!0)+")")}var f=t.content;if((0,u.default)(t)&&null==(f=O.default.stringify(t)))throw new a.default("NotificationTextUtils").warn("SystemMessageUtils.stringify(...) could not convert",t),new Error("failed to stringify system message");var c,m=null!==(o=t.sticker_items)&&void 0!==o?o:t.stickers;if(null!=t.activity&&null!=t.application)c=t.activity.type===I.ActivityActionTypes.JOIN?N(e,T.default.Messages.NOTIFICATION_MESSAGE_CREATE_GUILD_ACTIVITY_JOIN,T.default.Messages.NOTIFICATION_MESSAGE_CREATE_GROUP_DM_ACTIVITY_JOIN,T.default.Messages.NOTIFICATION_MESSAGE_CREATE_DM_ACTIVITY_JOIN).format({user:l,game:t.application.name}):t.activity.type===I.ActivityActionTypes.JOIN_REQUEST?N(e,T.default.Messages.NOTIFICATION_MESSAGE_CREATE_DM_ACTIVITY_JOIN_REQUEST,T.default.Messages.NOTIFICATION_MESSAGE_CREATE_DM_ACTIVITY_JOIN_REQUEST,T.default.Messages.NOTIFICATION_MESSAGE_CREATE_DM_ACTIVITY_JOIN_REQUEST).format({user:l,game:t.application.name}):"";else if(null!=t.activity&&t.activity.type===I.ActivityActionTypes.LISTEN){var _=N(e,T.default.Messages.NOTIFICATION_MESSAGE_CREATE_GUILD_ACTIVITY_LISTEN,T.default.Messages.NOTIFICATION_MESSAGE_CREATE_GROUP_DM_ACTIVITY_LISTEN,T.default.Messages.NOTIFICATION_MESSAGE_CREATE_DM_ACTIVITY_LISTEN);c=_.format({user:l})}else c=null!=m&&m.length>0?T.default.Messages.STICKER_NOTIFICATION_BODY.format({stickerName:m[0].name}):i.default.unparse(f,e.id,!0);if(!c.length&&t.attachments.length){var h=t.attachments[0].filename;c=T.default.Messages.NOTIFICATION_BODY_ATTACHMENT.format({filename:h})}if(!c.length&&t.embeds.length){var E=t.embeds[0];if(null!=E.description)c=null!=E.title?E.title+": "+E.description:E.description;else if(null!=E.title)c=E.title;else if(null!=E.fields){var C=E.fields[0];c=C.name+": "+C.value}}return{icon:n.getAvatarURL(e.guild_id),title:s,body:c}};var r=n(180),a=C(n(26)),o=C(n(182)),i=C(n(1216)),l=n(747),u=C(n(685)),s=n(392),d=n(8473),f=n(31),c=C(n(1268)),p=C(n(10)),v=C(n(15)),y=C(n(70)),m=C(n(36)),_=C(n(107)),h=C(n(479)),E=C(n(181)),g=C(n(12)),S=C(n(258)),O=C(n(8659)),I=n(1),T=C(n(6));function C(e){return e&&e.__esModule?e:{default:e}}function b(e,t,n,r){if(void 0===r&&(r=!1),n.isManaged())return!1;var a=n.getGuildId();return(null==a||!o.default.isLurking(a))&&(t.id!==e.id&&(!y.default.isBlocked(t.id)&&(!(!r&&h.default.getStatus()===I.StatusTypes.DND)&&!E.default.allowNoMessages(n))))}var M=function(e,t,n){return e+" ("+(0,r.computeChannelName)(t,g.default,y.default,!0)+(null!=n?", "+(0,r.computeChannelName)(n,g.default,y.default):"")+")"};function N(e,t,n,r){switch(e.type){case I.ChannelTypes.GUILD_ANNOUNCEMENT:case I.ChannelTypes.GUILD_TEXT:return t;case I.ChannelTypes.GROUP_DM:return n;case I.ChannelTypes.DM:default:return r}}},,,,,,,,,,,,function(e,t,n){e.exports=n.p+"4b25b64915cb0e74934b6b749445def2.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useChannelPromptSlide=C,t.default=function(e){return C(e).content};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=S(n(391)),l=n(275),u=S(n(86)),s=S(n(15)),d=S(n(29)),f=S(n(55)),c=S(n(371)),p=S(n(153)),v=n(85),y=n(131),m=n(35),_=S(n(47)),h=S(n(24)),E=S(n(6)),g=S(n(7413));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function C(e){var t=e.createdGuildId,n=e.hasFooter,r=void 0===n||n,S=e.onClose,O=e.onChannelPromptCompleted,C=e.isSlideReady,b=(0,v.useUID)(),M=a.useState(""),N=M[0],A=M[1],P=a.useState(null),R=P[0],L=P[1],D=a.useState(!1),w=D[0],j=D[1],k=(0,o.useStateFromStores)([s.default],(function(){return s.default.getGuild(t)}),[t]),U=a.useRef(null);a.useEffect((function(){var e;C&&(null===(e=U.current)||void 0===e||e.focus())}),[C]);var G=a.useCallback(function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),null!=k){e.next=3;break}return e.abrupt("return");case 3:return j(!0),L(null),n=u.default.getDefaultChannel(k.id),e.prev=6,r=E.default.Messages.NUF_CHANNEL_PROMPT_CHANNEL_TOPIC_TEMPLATE.format({topic:N}),e.next=10,i.default.createTextChannel(k.id,N,null==n?void 0:n.parent_id,r);case 10:O(),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(6),L(new l.V6OrEarlierAPIError(e.t0));case 16:j(!1);case 17:case"end":return e.stop()}}),e,null,[[6,13]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){T(o,r,a,i,l,"next",e)}function l(e){T(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}(),[k,N,O]),F=a.createElement(a.Fragment,null,I(d.default,{color:d.default.Colors.BRAND,onClick:G,disabled:0===N.length,submitting:w},void 0,E.default.Messages.DONE),I(d.default,{className:g.default.skipButton,look:d.default.Looks.BLANK,size:d.default.Sizes.MIN,onClick:O},void 0,E.default.Messages.SKIP));return{content:a.createElement(a.Fragment,null,I(m.ModalHeader,{className:g.default.header,direction:f.default.Direction.VERTICAL,separator:!1,id:b},void 0,k&&I(c.default,{guild:k}),I(h.default,{className:g.default.guildName,color:h.default.Colors.HEADER_PRIMARY},void 0,null==k?void 0:k.name),I(_.default,{className:g.default.title},void 0,E.default.Messages.NUF_CHANNEL_PROMPT_TITLE),I(h.default,{className:g.default.subtitle,color:h.default.Colors.HEADER_SECONDARY,size:h.default.Sizes.SIZE_16},void 0,E.default.Messages.NUF_CHANNEL_PROMPT_SUBTITLE),S&&I(m.ModalCloseButton,{className:g.default.closeButton,onClick:S})),I(m.ModalContent,{className:g.default.channelPrompt},void 0,I("form",{onSubmit:G},void 0,I(y.FormItem,{title:E.default.Messages.NUF_CHANNEL_PROMPT_TOPIC,error:null==R?void 0:R.getFieldMessage("name")},void 0,I(p.default,{type:"text",value:N,onChange:A,placeholder:E.default.Messages.NUF_CHANNEL_PROMPT_TOPIC_PLACEHOLDER,inputRef:U}))),null!=R&&0===Object.keys(R.fields).length&&I(h.default,{size:h.default.Sizes.SIZE_12,color:h.default.Colors.STATUS_RED},void 0,R.message)),r&&I(m.ModalFooter,{},void 0,F)),footer:F}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCreationIntentSlide=I,t.default=function(e){return I(e).content};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(9)),i=E(n(29)),l=E(n(55)),u=n(85),s=n(35),d=E(n(47)),f=E(n(24)),c=E(n(13)),p=E(n(8717)),v=n(1),y=E(n(6)),m=E(n(7415)),_=E(n(8718)),h=E(n(8719));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var O=Math.random()<.5;function I(e){var t=e.onClose,n=e.onBack,r=e.onCreationIntentChosen,E=e.hasFooter,g=void 0===E||E,I=(0,u.useUID)(),T=a.createElement(a.Fragment,null,S(i.default,{className:m.default.backButton,look:i.default.Looks.BLANK,size:i.default.Sizes.MIN,onClick:n},void 0,y.default.Messages.BACK));function C(e){c.default.track(v.AnalyticEvents.GUILD_CREATION_INTENT_SELECTED,{skipped:null==e,is_community:Boolean(e)}),r(Boolean(e))}return{content:a.createElement(a.Fragment,null,S(s.ModalHeader,{direction:l.default.Direction.VERTICAL,className:m.default.header,separator:!1,id:I},void 0,S(d.default,{className:(0,o.default)(m.default.title),size:d.default.Sizes.SIZE_24},void 0,y.default.Messages.CREATION_INTENT_TITLE),S(f.default,{className:m.default.subtitle,color:f.default.Colors.HEADER_SECONDARY,size:f.default.Sizes.SIZE_16},void 0,y.default.Messages.CREATION_INTENT_DESCRIPTION),t&&S(s.ModalCloseButton,{className:m.default.closeButton,onClick:t})),S(s.ModalContent,{className:m.default.optionsList},void 0,O?a.createElement(a.Fragment,null,S(p.default,{icon:_.default,message:y.default.Messages.CREATION_INTENT_OPTION_FRIENDS,onClick:function(){return C(!1)}}),S(p.default,{icon:h.default,message:y.default.Messages.CREATION_INTENT_OPTION_COMMUNITY,onClick:function(){return C(!0)}})):a.createElement(a.Fragment,null,S(p.default,{icon:h.default,message:y.default.Messages.CREATION_INTENT_OPTION_COMMUNITY,onClick:function(){return C(!0)}}),S(p.default,{icon:_.default,message:y.default.Messages.CREATION_INTENT_OPTION_FRIENDS,onClick:function(){return C(!1)}})),S(f.default,{className:m.default.skip,color:f.default.Colors.HEADER_SECONDARY,size:f.default.Sizes.SIZE_14},void 0,y.default.Messages.CREATION_INTENT_SKIP.format({onSkip:function(){return C(null)}}))),g&&S(s.ModalFooter,{justify:l.default.Justify.BETWEEN},void 0,T)),footer:T}}},function(e,t,n){e.exports=n.p+"69a0ea5dbf79a129c81a0cb171b60b7a.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.className,n=e.isNewUser,r=e.onClose,v=e.onChooseTemplate,y=e.onJoin,h=(0,s.useUID)(),E=(0,p.getGuildTemplatesMap)();i.default.trackExposure({});var O=i.default.useExperiment({})[0].reorderTemplates;return a.createElement(a.Fragment,null,g(d.ModalHeader,{direction:u.default.Direction.VERTICAL,className:_.default.header,separator:!1,id:h},void 0,g(f.default,{className:_.default.title,size:f.default.Sizes.SIZE_24},void 0,n?m.default.Messages.NUF_DESKTOP_TEMPLATES_TITLE:m.default.Messages.CREATE_GUILD_WITH_TEMPLATES_TITLE),g(c.default,{className:_.default.subtitle,color:c.default.Colors.HEADER_SECONDARY,size:c.default.Sizes.SIZE_16},void 0,m.default.Messages.NUF_DESKTOP_TEMPLATES_SUBTITLE),r&&g(d.ModalCloseButton,{className:_.default.closeButton,onClick:r})),g(d.ModalContent,{className:(0,o.default)(_.default.templatesList,t),paddingFix:!1},void 0,g(S,{guildTemplate:E[p.GuildTemplateId.CREATE],onClick:v,autoFocus:!0}),g(c.default,{className:_.default.optionHeader,color:c.default.Colors.HEADER_SECONDARY,size:c.default.Sizes.SIZE_12},void 0,m.default.Messages.GUILD_TEMPLATE_SELECTOR_OPTION_HEADER),O?a.createElement(a.Fragment,null,g(S,{guildTemplate:E[p.GuildTemplateId.GAMING],onClick:v}),g(S,{guildTemplate:E[p.GuildTemplateId.SCHOOL_CLUB],onClick:v}),g(S,{guildTemplate:E[p.GuildTemplateId.STUDY],onClick:v}),g(S,{guildTemplate:E[p.GuildTemplateId.FRIENDS],onClick:v})):a.createElement(a.Fragment,null,g(S,{guildTemplate:E[p.GuildTemplateId.GAMING],onClick:v}),g(S,{guildTemplate:E[p.GuildTemplateId.FRIENDS],onClick:v}),g(S,{guildTemplate:E[p.GuildTemplateId.STUDY],onClick:v})),g(S,{guildTemplate:E[p.GuildTemplateId.CREATORS],onClick:v}),O?null:g(S,{guildTemplate:E[p.GuildTemplateId.CLUBS],onClick:v}),g(S,{guildTemplate:E[p.GuildTemplateId.LOCAL_COMMUNITY],onClick:v})),y&&g(d.ModalFooter,{className:_.default.footer},void 0,g(f.default,{size:f.default.Sizes.SIZE_20,className:_.default.footerTitle},void 0,m.default.Messages.NUF_HAVE_AN_INVITE_ALREADY),g(l.default,{className:_.default.footerButton,color:l.default.Colors.GREY,onClick:y},void 0,m.default.Messages.JOIN_SERVER_TITLE)))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(9)),i=h(n(9266)),l=h(n(29)),u=h(n(55)),s=n(85),d=n(35),f=h(n(47)),c=h(n(24)),p=n(9090),v=n(9267),y=h(n(8717)),m=h(n(6)),_=h(n(7420));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(e){var t=e.guildTemplate,n=e.onClick,r=e.autoFocus,o=a.useCallback((function(){n(t)}),[t,n]);return g(y.default,{icon:v.GUILD_TEMPLATE_ICONS[t.id],message:t.label,onClick:o,autoFocus:r})}S.displayName="GuildTemplatesItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getGuildTemplatesMap=function(){var e;return(e={})[r.CREATE]={id:r.CREATE,code:"2TffvPucqHkN",label:l.default.Messages.GUILD_TEMPLATE_HEADER_CREATE,channels:[],system_channel_id:null},e[r.GAMING]={id:r.GAMING,code:"hvtBQMfw6uSJ",label:l.default.Messages.GUILD_TEMPLATE_HEADER_GAMING,channels:[{id:"00",parent_id:null,name:l.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_TEXT,type:i.ChannelTypes.GUILD_CATEGORY},{id:"01",parent_id:"00",name:l.default.Messages.GUILD_TEMPLATE_NAME_GENERAL,type:i.ChannelTypes.GUILD_TEXT},{id:"02",parent_id:"00",name:l.default.Messages.GUILD_TEMPLATE_NAME_CLIPS_AND_HIGHLIGHTS,type:i.ChannelTypes.GUILD_TEXT},{id:"10",parent_id:null,name:l.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_VOICE,type:i.ChannelTypes.GUILD_CATEGORY},{id:"11",parent_id:"10",name:l.default.Messages.GUILD_TEMPLATE_NAME_VOICE_LOBBY,type:i.ChannelTypes.GUILD_VOICE},{id:"12",parent_id:"10",name:l.default.Messages.GUILD_TEMPLATE_NAME_VOICE_GAMING,type:i.ChannelTypes.GUILD_VOICE}],system_channel_id:"01"},e[r.FRIENDS]={id:r.FRIENDS,code:"hgM48av5Q69A",label:l.default.Messages.GUILD_TEMPLATE_HEADER_FRIEND,channels:[{id:"00",parent_id:null,name:l.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_TEXT,type:i.ChannelTypes.GUILD_CATEGORY},{id:"01",parent_id:"00",name:l.default.Messages.GUILD_TEMPLATE_NAME_GENERAL,type:i.ChannelTypes.GUILD_TEXT},{id:"02",parent_id:"00",name:l.default.Messages.GUILD_TEMPLATE_NAME_GAME,type:i.ChannelTypes.GUILD_TEXT},{id:"03",parent_id:"00",name:l.default.Messages.GUILD_TEMPLATE_NAME_MUSIC,type:i.ChannelTypes.GUILD_TEXT},{id:"10",parent_id:null,name:l.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_VOICE,type:i.ChannelTypes.GUILD_CATEGORY},{id:"11",parent_id:"10",name:l.default.Messages.GUILD_TEMPLATE_NAME_VOICE_LOUNGE,type:i.ChannelTypes.GUILD_VOICE},{id:"12",parent_id:"10",name:l.default.Messages.GUILD_TEMPLATE_NAME_VOICE_STREAM_ROOM,type:i.ChannelTypes.GUILD_VOICE}],system_channel_id:"01"},e[r.STUDY]={id:r.STUDY,code:"FbwUwRp4j8Es",label:l.default.Messages.GUILD_TEMPLATE_HEADER_STUDY,channels:[{id:"00",parent_id:null,name:l.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_INFORMATION,type:i.ChannelTypes.GUILD_CATEGORY},{id:"01",parent_id:"00",name:l.default.Messages.GUILD_TEMPLATE_NAME_WELCOME_AND_RULES,type:i.ChannelTypes.GUILD_TEXT},{id:"02",parent_id:"00",name:l.default.Messages.GUILD_TEMPLATE_NAME_NOTES_RESOURCES,type:i.ChannelTypes.GUILD_TEXT},{id:"10",parent_id:null,name:l.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_TEXT,type:i.ChannelTypes.GUILD_CATEGORY},{id:"11",parent_id:"10",name:l.default.Messages.GUILD_TEMPLATE_NAME_GENERAL,type:i.ChannelTypes.GUILD_TEXT},{id:"12",parent_id:"10",name:l.default.Messages.GUILD_TEMPLATE_NAME_HOMEWORK_HELP,type:i.ChannelTypes.GUILD_TEXT},{id:"13",parent_id:"10",name:l.default.Messages.GUILD_TEMPLATE_NAME_SESSION_PLANNING,type:i.ChannelTypes.GUILD_TEXT},{id:"14",parent_id:"10",name:l.default.Messages.GUILD_TEMPLATE_NAME_OFF_TOPIC,type:i.ChannelTypes.GUILD_TEXT},{id:"20",parent_id:null,name:l.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_VOICE,type:i.ChannelTypes.GUILD_CATEGORY},{id:"21",parent_id:"20",name:l.default.Messages.GUILD_TEMPLATE_NAME_VOICE_LOUNGE,type:i.ChannelTypes.GUILD_VOICE},{id:"22",parent_id:"20",name:l.default.Messages.GUILD_TEMPLATE_NAME_VOICE_STUDY_ROOM.format({number:1}),type:i.ChannelTypes.GUILD_VOICE},{id:"23",parent_id:"20",name:l.default.Messages.GUILD_TEMPLATE_NAME_VOICE_STUDY_ROOM.format({number:2}),type:i.ChannelTypes.GUILD_VOICE}],system_channel_id:"11"},e[r.CLUBS]={id:r.CLUBS,code:"s4WNnBxTDPsY",label:l.default.Messages.GUILD_TEMPLATE_HEADER_CLUBS,channels:[{id:"00",parent_id:null,name:l.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_INFORMATION,type:i.ChannelTypes.GUILD_CATEGORY},{id:"01",parent_id:"00",name:l.default.Messages.GUILD_TEMPLATE_NAME_WELCOME_AND_RULES,type:i.ChannelTypes.GUILD_TEXT},{id:"02",parent_id:"00",name:l.default.Messages.GUILD_TEMPLATE_NAME_ANNOUNCEMENTS,type:i.ChannelTypes.GUILD_TEXT},{id:"10",parent_id:null,name:l.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_TEXT,type:i.ChannelTypes.GUILD_CATEGORY},{id:"11",parent_id:"10",name:l.default.Messages.GUILD_TEMPLATE_NAME_GENERAL,type:i.ChannelTypes.GUILD_TEXT},{id:"12",parent_id:"10",name:l.default.Messages.GUILD_TEMPLATE_NAME_MEETING_PLANS,type:i.ChannelTypes.GUILD_TEXT},{id:"20",parent_id:null,name:l.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_VOICE,type:i.ChannelTypes.GUILD_CATEGORY},{id:"21",parent_id:"20",name:l.default.Messages.GUILD_TEMPLATE_NAME_VOICE_LOUNGE,type:i.ChannelTypes.GUILD_VOICE},{id:"22",parent_id:"20",name:l.default.Messages.GUILD_TEMPLATE_NAME_VOICE_MEETING_ROOM,type:i.ChannelTypes.GUILD_VOICE}],system_channel_id:"11"},e[r.CREATORS]={id:r.CREATORS,code:"6exdzMgjZgah",label:l.default.Messages.GUILD_TEMPLATE_HEADER_CREATOR,channels:[{id:"00",parent_id:null,name:l.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_INFORMATION,type:i.ChannelTypes.GUILD_CATEGORY},{id:"01",parent_id:"00",name:l.default.Messages.GUILD_TEMPLATE_NAME_WELCOME_AND_RULES,type:i.ChannelTypes.GUILD_TEXT},{id:"02",parent_id:"00",name:l.default.Messages.GUILD_TEMPLATE_NAME_ANNOUNCEMENTS,type:i.ChannelTypes.GUILD_TEXT},{id:"10",parent_id:null,name:l.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_TEXT,type:i.ChannelTypes.GUILD_CATEGORY},{id:"11",parent_id:"10",name:l.default.Messages.GUILD_TEMPLATE_NAME_GENERAL,type:i.ChannelTypes.GUILD_TEXT},{id:"12",parent_id:"10",name:l.default.Messages.GUILD_TEMPLATE_NAME_EVENTS,type:i.ChannelTypes.GUILD_TEXT},{id:"13",parent_id:"10",name:l.default.Messages.GUILD_TEMPLATE_NAME_IDEAS_AND_FEEDBACK,type:i.ChannelTypes.GUILD_TEXT},{id:"20",parent_id:null,name:l.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_VOICE,type:i.ChannelTypes.GUILD_CATEGORY},{id:"21",parent_id:"20",name:l.default.Messages.GUILD_TEMPLATE_NAME_VOICE_LOUNGE,type:i.ChannelTypes.GUILD_VOICE},{id:"22",parent_id:"20",name:l.default.Messages.GUILD_TEMPLATE_NAME_VOICE_COMMUNITY_HANGOUT,type:i.ChannelTypes.GUILD_VOICE},{id:"23",parent_id:"20",name:l.default.Messages.GUILD_TEMPLATE_NAME_VOICE_STREAM_ROOM,type:i.ChannelTypes.GUILD_VOICE}],system_channel_id:"11"},e[r.LOCAL_COMMUNITY]={id:r.LOCAL_COMMUNITY,code:"64UDvRNCC52Y",label:l.default.Messages.GUILD_TEMPLATE_HEADER_COMMUNITY,channels:[{id:"00",parent_id:null,name:l.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_INFORMATION,type:i.ChannelTypes.GUILD_CATEGORY},{id:"01",parent_id:"00",name:l.default.Messages.GUILD_TEMPLATE_NAME_WELCOME_AND_RULES,type:i.ChannelTypes.GUILD_TEXT},{id:"02",parent_id:"00",name:l.default.Messages.GUILD_TEMPLATE_NAME_ANNOUNCEMENTS,type:i.ChannelTypes.GUILD_TEXT},{id:"03",parent_id:"00",name:l.default.Messages.GUILD_TEMPLATE_NAME_RESOURCES,type:i.ChannelTypes.GUILD_TEXT},{id:"10",parent_id:null,name:l.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_TEXT,type:i.ChannelTypes.GUILD_CATEGORY},{id:"11",parent_id:"10",name:l.default.Messages.GUILD_TEMPLATE_NAME_GENERAL,type:i.ChannelTypes.GUILD_TEXT},{id:"12",parent_id:"10",name:l.default.Messages.GUILD_TEMPLATE_NAME_MEETING_PLANS,type:i.ChannelTypes.GUILD_TEXT},{id:"13",parent_id:"10",name:l.default.Messages.GUILD_TEMPLATE_NAME_OFF_TOPIC,type:i.ChannelTypes.GUILD_TEXT},{id:"20",parent_id:null,name:l.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_VOICE,type:i.ChannelTypes.GUILD_CATEGORY},{id:"21",parent_id:"20",name:l.default.Messages.GUILD_TEMPLATE_NAME_VOICE_LOUNGE,type:i.ChannelTypes.GUILD_VOICE},{id:"22",parent_id:"20",name:l.default.Messages.GUILD_TEMPLATE_NAME_VOICE_MEETING_ROOM,type:i.ChannelTypes.GUILD_VOICE}],system_channel_id:"11"},e[r.SCHOOL_CLUB]={id:r.SCHOOL_CLUB,code:"Ctg7PUHcQmZu",label:l.default.Messages.GUILD_TEMPLATE_HEADER_SCHOOL_CLUB,channels:[{id:"00",parent_id:null,name:l.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_INFORMATION,type:i.ChannelTypes.GUILD_CATEGORY},{id:"01",parent_id:"00",name:l.default.Messages.GUILD_TEMPLATE_NAME_WELCOME_AND_RULES,type:i.ChannelTypes.GUILD_TEXT},{id:"02",parent_id:"00",name:l.default.Messages.GUILD_TEMPLATE_NAME_ANNOUNCEMENTS,type:i.ChannelTypes.GUILD_TEXT},{id:"03",parent_id:"00",name:l.default.Messages.GUILD_TEMPLATE_NAME_RESOURCES,type:i.ChannelTypes.GUILD_TEXT},{id:"10",parent_id:null,name:l.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_TEXT,type:i.ChannelTypes.GUILD_CATEGORY},{id:"11",parent_id:"10",name:l.default.Messages.GUILD_TEMPLATE_NAME_GENERAL,type:i.ChannelTypes.GUILD_TEXT},{id:"12",parent_id:"10",name:l.default.Messages.GUILD_TEMPLATE_NAME_MEETING_PLANS,type:i.ChannelTypes.GUILD_TEXT},{id:"13",parent_id:"10",name:l.default.Messages.GUILD_TEMPLATE_NAME_OFF_TOPIC,type:i.ChannelTypes.GUILD_TEXT},{id:"20",parent_id:null,name:l.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_VOICE,type:i.ChannelTypes.GUILD_CATEGORY},{id:"21",parent_id:"20",name:l.default.Messages.GUILD_TEMPLATE_NAME_VOICE_LOUNGE,type:i.ChannelTypes.GUILD_VOICE},{id:"22",parent_id:"20",name:l.default.Messages.GUILD_TEMPLATE_NAME_VOICE_MEETING_ROOM_1,type:i.ChannelTypes.GUILD_VOICE},{id:"22",parent_id:"20",name:l.default.Messages.GUILD_TEMPLATE_NAME_VOICE_MEETING_ROOM_2,type:i.ChannelTypes.GUILD_VOICE}],roles:[{id:"00",name:"@everyone",permissions:o.default.DEFAULT},{id:"01",name:"officers (example)",mentionable:!0,hoist:!0,permissions:a.default.combine(o.default.DEFAULT,i.Permissions.MANAGE_ROLES,i.Permissions.MANAGE_CHANNELS,i.Permissions.KICK_MEMBERS,i.Permissions.BAN_MEMBERS,i.Permissions.MANAGE_NICKNAMES,i.Permissions.MANAGE_EMOJIS,i.Permissions.MANAGE_MESSAGES,i.Permissions.SEND_TTS_MESSAGES),color:3066993}],system_channel_id:"11"},e},t.GuildTemplateId=void 0;var r,a=u(n(63)),o=u(n(78)),i=n(1),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}t.GuildTemplateId=r,function(e){e.CREATE="CREATE",e.GAMING="GAMING",e.FRIENDS="FRIENDS",e.STUDY="STUDY",e.CLUBS="CLUBS",e.CREATORS="CREATORS",e.LOCAL_COMMUNITY="LOCAL_COMMUNITY",e.SCHOOL_CLUB="SCHOOL_CLUB"}(r||(t.GuildTemplateId=r={}))},function(e,t,n){e.exports=n.p+"d149a7d17b8c891a36059af8d4108813.svg"},function(e,t,n){e.exports=n.p+"79516499036b21acd5f56ccba0635c38.svg"},function(e,t,n){e.exports=n.p+"6670414aa93c6a4b3b5c7f57ead40533.svg"},function(e,t,n){e.exports=n.p+"b13e5fb6748d48b8d32a0a7b720d3a31.svg"},function(e,t,n){e.exports=n.p+"8ea6fb273c261048c7cfb159b0bd286e.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(9)),o=s(n(61)),i=s(n(683)),l=s(n(24)),u=s(n(7423));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.options,n=e.onClick,r=e.className,s=e.optionClassName;return f("div",{className:(0,a.default)(u.default.root,r)},void 0,t.map((function(e,t){return f(o.default,{onClick:function(){return n(e)},className:(0,a.default)(u.default.option,s)},t,f(l.default,{className:u.default.text,color:l.default.Colors.CUSTOM,size:l.default.Sizes.SIZE_16},void 0,e.label),f(i.default,{className:u.default.caret,direction:i.default.Directions.RIGHT}))})))}c.displayName="ChoiceButtonList"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shuffleProblems=void 0;var r,a=(r=n(8))&&r.__esModule?r:{default:r};t.shuffleProblems=function(e,t){var n=a.default.shuffle(e),r=n.findIndex((function(e){return e.value===t}));if(r>-1){var o=n[r];n.splice(r,1),n.push(o)}return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return[{value:a.StreamIssueReportReasons.BLACK_SCREEN,label:t?o.default.Messages.STREAM_REPORT_ENDED_BLACK:o.default.Messages.STREAM_REPORT_BLACK},{value:a.StreamIssueReportReasons.BLURRY,label:t?o.default.Messages.STREAM_REPORT_ENDED_BLURRY:o.default.Messages.STREAM_REPORT_BLURRY},{value:a.StreamIssueReportReasons.LAGGING,label:t?o.default.Messages.STREAM_REPORT_ENDED_LAGGING:o.default.Messages.STREAM_REPORT_LAGGING},{value:a.StreamIssueReportReasons.OUT_OF_SYNC,label:t?o.default.Messages.STREAM_REPORT_ENDED_OUT_OF_SYNC:o.default.Messages.STREAM_REPORT_OUT_OF_SYNC},{value:a.StreamIssueReportReasons.AUDIO_MISSING,label:t?o.default.Messages.STREAM_REPORT_ENDED_AUDIO_MISSING:o.default.Messages.STREAM_REPORT_AUDIO_MISSING},{value:a.StreamIssueReportReasons.AUDIO_POOR,label:t?o.default.Messages.STREAM_REPORT_ENDED_AUDIO_POOR:o.default.Messages.STREAM_REPORT_AUDIO_POOR},{value:a.StreamIssueReportReasons.STREAM_STOPPED,label:o.default.Messages.STREAM_REPORT_ENDED_STREAM_STOPPED_UNEXPECTEDLY},{value:a.StreamIssueReportReasons.OTHER,label:o.default.Messages.CALL_FEEDBACK_OPTION_OTHER}]};var r,a=n(196),o=(r=n(6))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,l,u,s){void 0===s&&(s=null);a.default.track(o.AnalyticEvents.STREAM_REPORT_PROBLEM,i({reason:e,streamer_user_id:t.ownerId,stream_channel_id:t.channelId,guild_id:t.guildId,application_id:null!=r?r.id:null,application_name:null!=r?r.name:null,location:u,rating:s,feedback:n},l))};var r,a=(r=n(13))&&r.__esModule?r:{default:r},o=n(1);function i(){return(i=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(8494),i=s(n(9270)),l=s(n(9272)),u=s(n(9273));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=function(e){var t=e.onClose,n=e.invite,r=a.useState(o.HubEmailConnectionSteps.VERIFY_EMAIL),s=r[0],d=r[1],c=a.useState(""),p=c[0],v=c[1];switch(s){case o.HubEmailConnectionSteps.VERIFY_EMAIL:return f(l.default,{setStep:d,email:p,setEmail:v,invite:n});case o.HubEmailConnectionSteps.EMAIL_CONFIRMATION:return f(i.default,{setStep:d,email:p,onClose:t});case o.HubEmailConnectionSteps.EMAIL_WAITLIST:return f(u.default,{setStep:d});default:return null}};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(24)),o=l(n(6)),i=l(n(7426));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=function(){return s("div",{className:i.default.container},void 0,s("div",{className:i.default.iconContainer},void 0,s("div",{className:i.default.icon})),s(a.default,{strong:!0,color:a.default.Colors.HEADER_PRIMARY,size:a.default.Sizes.SIZE_20,className:i.default.header},void 0,o.default.Messages.HUB_EMAIL_CONNECTION_SIDEBAR_HEADER),s(a.default,{color:a.default.Colors.HEADER_SECONDARY,size:a.default.Sizes.SIZE_14,className:i.default.description},void 0,o.default.Messages.HUB_EMAIL_CONNECTION_SIDEBAR_DESCRIPTION.format()))};d.displayName="HubEmailConnectionSidebar";var f=d;t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(9)),i=p(n(29)),l=p(n(8800)),u=p(n(8276)),s=p(n(8724)),d=p(n(9284)),f=p(n(6)),c=p(n(7435));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this)._mediaBar=a.createRef(),t.state={hovered:!1,focused:!1,dragging:!1},t.handleValueChange=function(e){var n=t.props,r=n.maxValue,a=n.onValueChange;null==a||a(e*r)},t.handleToggleMute=function(){var e=t.props.onToggleMute;e&&e()},t.handleKeyDown=function(e){var n=t.props,r=n.minValue,a=n.value,o=n.maxValue,i=n.onValueChange,l=.05*(o-r);switch(e.key){case"ArrowUp":e.stopPropagation(),e.preventDefault(),null==i||i(Math.min(o,a+l));break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),null==i||i(Math.max(r,a-l))}},t.handleDragStart=function(){t.setState({dragging:!0})},t.handleDragEnd=function(){t.setState({dragging:!1})},t.blur=function(){t.setState({focused:!1})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var p=r.prototype;return p.componentDidMount=function(){this.updateMediaBar()},p.componentDidUpdate=function(e){this.props.value===e.value&&this.props.muted===e.muted||this.updateMediaBar()},p.updateMediaBar=function(){var e=this.props,t=e.muted,n=e.value,r=e.maxValue,a=this._mediaBar.current;null!=a&&(t?a.setGrabber(0):a.setGrabber(n/r))},p.render=function(){var e,t=this,n=this.props,r=n.iconClassName,p=n.sliderWrapperClassName,v=n.sliderClassName,m=n.currentWindow,_=n.muted,h=n.minValue,E=n.maxValue,g=n.value,S=this.state,O=S.hovered,I=S.focused,T=S.dragging,C=u.default;return _||g===h?C=s.default:g<E/2&&(C=d.default),y("div",{className:c.default.volumeButton,onMouseEnter:function(){clearTimeout(t._hoverTimeout),t.setState({hovered:!0})},onMouseLeave:function(){clearTimeout(t._hoverTimeout),t._hoverTimeout=setTimeout((function(){return t.setState({hovered:!1})}),150)},onFocus:function(){return t.setState({focused:!0})},onBlur:function(){return t.setState({focused:!1})},onKeyDown:this.handleKeyDown},void 0,y("div",{className:(0,o.default)(c.default.volumeButtonSlider,p,(e={},e[c.default.sliderVisible]=O||I||T,e)),onMouseEnter:function(){clearTimeout(t._hoverTimeout),t.setState({hovered:!0})},onMouseLeave:function(){clearTimeout(t._hoverTimeout),t._hoverTimeout=setTimeout((function(){return t.setState({hovered:!1})}),150)}},void 0,a.createElement(l.default,{sliderClassName:v,type:l.default.Types.VOLUME,value:g/E,onDrag:this.handleValueChange,onDragStart:this.handleDragStart,onDragEnd:this.handleDragEnd,currentWindow:m,ref:this._mediaBar})),y(i.default,{"aria-label":f.default.Messages.CONTROL_VOLUME,size:i.default.Sizes.NONE,look:i.default.Looks.BLANK,onClick:this.handleToggleMute},void 0,y(C,{className:r})))},r}(a.PureComponent);_.displayName="VolumeButton",_.defaultProps={minValue:0,maxValue:100,handleSize:16};var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,d:"M19,3H14V5h5v5h2V5A2,2,0,0,0,19,3Z"}),s("path",{className:f,fill:d,d:"M19,19H14v2h5a2,2,0,0,0,2-2V14H19Z"}),s("path",{className:f,fill:d,d:"M3,5v5H5V5h5V3H5A2,2,0,0,0,3,5Z"}),s("path",{className:f,fill:d,d:"M5,14H3v5a2,2,0,0,0,2,2h5V19H5Z"}))}d.displayName="Fullscreen"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,d:"M0,14 L4,14 L4,0 L0,0 L0,14 L0,14 Z M8,0 L8,14 L12,14 L12,0 L8,0 L8,0 Z",transform:"translate(6 5)"}))}d.displayName="Pause"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subscribeMembers=function(e,t){a.default.dirtyDispatch({type:i.ActionTypes.GUILD_SUBSCRIPTIONS_MEMBERS_ADD,guildId:e,userIds:t})},t.unsubscribeMembers=function(e,t){a.default.dirtyDispatch({type:i.ActionTypes.GUILD_SUBSCRIPTIONS_MEMBERS_REMOVE,guildId:e,userIds:t})},t.subscribeChannel=l,t.subscribeChannelDimensions=function(e,t,n,r,a){function i(e,t){return void 0===t&&(t=0),Math.max(0,Math.ceil(Math.ceil(e/a))+t)}var u=[];function s(e){var t=e+(o.MINIMUM_RANGE-1);return u.push([e,t]),t+1}var d=i(.5*r),f=i(n,-d),c=i(n+r,d);f>0&&(f=Math.max(s(0),f));f=Math.floor(f/o.MINIMUM_RANGE)*o.MINIMUM_RANGE;for(;f<=c;)f=s(f);l(e,t,u)};var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(9106),i=n(1);function l(e,t,n){a.default.dirtyDispatch({type:i.ActionTypes.GUILD_SUBSCRIPTIONS_CHANNEL,guildId:e,channelId:t,ranges:n})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DEFAULT_RANGES=t.MINIMUM_RANGE=void 0;var r=o(n(8)),a=o(n(404));function o(e){return e&&e.__esModule?e:{default:e}}t.MINIMUM_RANGE=100;var i=[[0,99]];function l(e){var t={};return e.forEach((function(e,n){t[n]=e})),t}t.DEFAULT_RANGES=i;var u=function(){function e(e){this._subscriptions={},this._onChange=e}var t=e.prototype;return t.reset=function(){this._subscriptions={}},t.get=function(e){return l(this._get(e))},t._get=function(e){return this._subscriptions[e]||new a.default({max:5})},t.clear=function(e){delete this._subscriptions[e]},t.subscribe=function(e,t,n){var a=this._get(e);return!r.default.isEqual(a.get(t),n)&&(a.set(t,n),this._subscriptions[e]=a,this._onChange(e,l(a)),!0)},e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(3),o=f(n(473)),i=f(n(12)),l=n(280),u=f(n(5953)),s=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e){var t=e.onClose,f=e.source,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onClose","source"]),v=(0,a.useStateFromStores)([i.default],(function(){return i.default.getCurrentUser()})).premiumType===s.PremiumTypes.TIER_1?d.default.Messages.PREMIUM_PROFILE_CUSTOMIZATION_UPGRADE_BODY:d.default.Messages.PREMIUM_PROFILE_CUSTOMIZATION_UPSELL_BODY;return r.createElement(u.default,p({artURL:n(9303),type:l.PremiumUpsellTypes.CUSTOM_PROFILE_UPSELL,title:d.default.Messages.PREMIUM_PROFILE_CUSTOMIZATION_UPSELL_HEADER,body:v.format({onLearnMore:function(){t(),o.default.open(s.UserSettingsSections.PREMIUM,null,{openWithoutBackstack:!0})}}),premiumType:s.PremiumTypes.TIER_2,analyticsSource:f,analyticsLocation:{section:s.AnalyticsSections.CUSTOM_PROFILES_UPSELL_MODAL,object:s.AnalyticsObjects.BUTTON_CTA},onClose:t},c))}v.displayName="PremiumProfileUpsell"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(67)),i=n(3),l=p(n(9305)),u=p(n(8821)),s=p(n(160)),d=p(n(8550)),f=p(n(6)),c=p(n(7456));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(){return(y=Object.assign||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}).apply(this,arguments)}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var h=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).noteRef=a.createRef(),t.handleBlur=function(e){var n=e.currentTarget.value;t.props.note!==n&&l.default.updateNote(t.props.userId,n)},t.handleKeyPress=function(e){13===e.which&&(e.shiftKey?(e.currentTarget.value.match(/\n/g)||[]).length>=5&&e.preventDefault():(e.preventDefault(),e.currentTarget.blur()))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n);var i=r.prototype;return i.componentDidMount=function(){if(this.props.autoFocus&&!this.props.hideNote){var e=o.default.findDOMNode(this.noteRef.current);null!=e&&null!=e.selectionStart&&(e.focus(),e.selectionStart=e.selectionEnd=e.value.length)}},i.render=function(){var e=this.props,t=e.className,n=e.loading,r=e.note;return e.hideNote?null:m("div",{className:t},void 0,a.createElement(d.default,{ref:this.noteRef,className:c.default.textarea,disabled:n,placeholder:n?f.default.Messages.LOADING_NOTE:f.default.Messages.NOTE_PLACEHOLDER,onBlur:this.handleBlur,onKeyPress:this.handleKeyPress,defaultValue:r||void 0,maxLength:256}))},r}(a.PureComponent);function E(e){var t=(0,i.useStateFromStores)([s.default],(function(){return s.default.hidePersonalInformation})),n=(0,u.default)(e.userId);return a.createElement(h,y({},e,n,{hideNote:t}))}h.displayName="Note",h.defaultProps={autoFocus:!1},E.displayName="ConnectedNote"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){var n,r;function l(e){var n;return(n=t.call(this,e)||this)._interval=new o.Interval,n.state=u({},n.getUpdatedTime()),n}r=t,(n=l).prototype=Object.create(r.prototype),n.prototype.constructor=n,s(n,r);var f=l.prototype;return f.componentDidMount=function(){var e=this;this._interval.start(1e3,(function(){return e.setState(e.getUpdatedTime())}))},f.componentWillUnmount=function(){this._interval.stop()},f.componentDidUpdate=function(e){e.timestamps.end===this.props.timestamps.end&&e.timestamps.start===this.props.timestamps.start||this.setState(this.getUpdatedTime())},f.getUpdatedTime=function(){var e=this.props.timestamps,t=Date.now()/1e3;return null!=e.end?this.getDiff(t,d(e.end)/1e3):null!=e.start?this.getDiff(d(e.start)/1e3,t):{hours:0,minutes:0,seconds:0}},f.renderTime=function(e,t){return void 0===t&&(t=!1),t&&e<=0?-1:e<10?"0"+e:e},f.getDiff=function(e,t){var n=Math.max(t-e,0),r=Math.floor(n)%60,a=Math.floor(n/60)%60;return{hours:Math.floor(n/3600)%24,minutes:a,seconds:r}},f.render=function(){var t=this.props,n=t.timestamps,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(t,["timestamps"]),o=this.state,l=o.hours,s=o.minutes,d=o.seconds,f={hours:this.renderTime(l,!0),minutes:this.renderTime(s),seconds:this.renderTime(d)};return null!=n.end?a.createElement(e,u({},r,{message:i.default.Messages.USER_ACTIVITY_TIMESTAMP_END.format(f)})):null!=n.start?a.createElement(e,u({},r,{message:i.default.Messages.USER_ACTIVITY_TIMESTAMP_START.format(f)})):null},l}(a.PureComponent)};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(57),i=(r=n(6))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){return(""+e).length<13?1e3*e:e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=l(n(98)),i=l(n(22));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t=e.width,n=void 0===t?16:t,r=e.height,l=void 0===r?16:r,u=e.color,f=void 0===u?"currentColor":u,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]),v=a.useRef(o.default.v4());return a.createElement("svg",s({},(0,i.default)(p),{width:n,height:l,viewBox:"0 0 24 25"}),d("g",{"clip-path":"url("+v.current+")"},void 0,d("path",{d:"M21 0.994141V3.99414H24V5.99414H21V8.99414H19V5.99414H16V3.99414H19V0.994141H21Z",fill:f,className:c}),d("path",{d:"M14 12.9941C14 14.0987 13.1046 14.9941 12 14.9941C10.8954 14.9941 10 14.0987 10 12.9941C10 11.8896 10.8954 10.9941 12 10.9941C13.1046 10.9941 14 11.8896 14 12.9941Z",fill:f,className:c}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 11.9941C20.6987 11.9941 21.3734 11.8918 22.0101 11.7012C22.6497 12.4666 23 12.9941 23 12.9941C23 12.9941 18.352 19.9941 12 19.9941C5.648 19.9941 1 12.9941 1 12.9941C1 12.9941 5.648 5.99414 12 5.99414C12.3661 5.99414 12.7266 6.0174 13.0808 6.06123C13.5947 9.42075 16.4968 11.9941 20 11.9941ZM8 12.9941C8 15.2041 9.791 16.9941 12 16.9941C14.209 16.9941 16 15.2041 16 12.9941C16 10.7841 14.209 8.99414 12 8.99414C9.791 8.99414 8 10.7841 8 12.9941Z",fill:f,className:c})),d("defs",{},void 0,d("clipPath",{id:v.current},void 0,d("rect",{width:"24",height:"24",fill:f,className:c,transform:"translate(0 0.994141)"}))))}f.displayName="EyeAdd"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 60 60"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:f,fill:d,d:"M8.95185131,8.62650012 L8.92775494,8.65059649 C3.20486729,14.2891468 -0.0119979765,21.9758886 5.02080018e-05,29.9999795 C-0.0119979765,36.56624 2.14462705,42.9517778 6.13257613,48.1686417 C6.16872068,48.2168345 6.24100979,48.252979 6.28920253,48.2168345 C6.33739527,48.1806899 6.34944345,48.120449 6.32534708,48.0602081 C4.03619202,40.9879237 15.722931,23.8433572 21.7711196,16.6626392 C21.795216,16.6385428 21.8193124,16.6144465 21.8193124,16.5783019 C21.8193124,16.5421573 21.795216,16.5060128 21.7590715,16.4819164 C11.6024519,6.37348961 8.8795622,8.68674104 8.92775494,8.65059649 M51.048208,8.62650012 L51.0723044,8.65059649 C56.795192,14.2770987 60.0000091,21.9758886 59.9879609,29.9999795 C60.0000091,36.56624 57.8433841,42.9517778 53.855435,48.1686417 C53.8192905,48.2168345 53.7470014,48.252979 53.6988086,48.2168345 C53.6506159,48.1806899 53.6506159,48.120449 53.6626641,48.0602081 C55.9518191,40.9879237 44.2650801,23.831309 38.2289397,16.650591 C38.2048433,16.6264946 38.180747,16.6023983 38.180747,16.5662537 C38.180747,16.518061 38.2048433,16.4939646 38.2409879,16.4698682 C48.4096556,6.36144143 51.0964008,8.68674104 51.0602562,8.65059649 M30.0000297,0 C36.0482183,0 41.0361667,1.66264946 45.626525,4.38553917 C45.6867659,4.40963554 45.6988141,4.48192464 45.6747177,4.53011738 C45.6506214,4.57831012 45.5903804,4.5903583 45.5301395,4.57831012 C39.7229146,3.32529893 30.8915953,8.33734369 30.0602706,8.84336744 C30.0361742,8.85541562 30.024126,8.86746381 30.0000297,8.86746381 C29.9759333,8.86746381 29.9518369,8.85541562 29.9397887,8.84336744 C27.7229228,7.56625988 19.5663019,3.28915437 14.4217271,4.61445467 C14.3614862,4.62650286 14.3012452,4.61445467 14.2771489,4.56626193 C14.2530525,4.50602101 14.2771489,4.44578009 14.3253416,4.42168372 C18.9156999,1.66264946 23.9638892,0 30.0000297,0 M30.0000297,24.0602245 C30.0361742,24.0602245 30.0723188,24.0843209 30.0964151,24.1084172 C39.0723126,30.9397379 54.4337479,47.8071962 49.7470041,52.5782773 L49.7590523,52.5662291 L49.7590523,52.5782773 L49.7470041,52.5782773 C44.2771283,57.3734547 37.2650849,60.0120071 30.0000297,59.9999589 C22.7349744,60.0120071 15.7108828,57.3734547 10.2530552,52.5782773 L10.2410071,52.5662291 L10.2530552,52.5782773 C5.56631146,47.8071962 20.9277467,30.9276897 29.9036442,24.1084172 C29.9156924,24.0843209 29.9638851,24.0602245 30.0000297,24.0602245"})))}d.displayName="PlatformXbox"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserPopoutCustomStatus=C,t.UserPopoutInfo=b,t.UserPopoutProfileText=function(e){var t=e.customStatus,n=e.hidePersonalInformation,r=void 0!==n&&n,o=e.userBio;return a.createElement(a.Fragment,null,null!=t&&t,!r&&T("div",{className:g.default.divider}),o&&!r&&T("div",{className:g.default.aboutMeSection},void 0,T(c.default,{size:c.default.Sizes.SIZE_12,className:g.default.aboutMeTitle,muted:!0,uppercase:!0},void 0,E.default.Messages.USER_POPOUT_ABOUT_ME),T(m.default,{className:g.default.aboutMeBody,userBio:o})))},t.UserPopoutAvatar=function(e){var t,n=e.user,r=e.status,l=e.isMobile,u=e.guildId,c=e.onClose,v=e.disableUserProfileLink,y=(0,i.useStateFromStores)([s.default],(function(){return s.default.isGuest()})),m=n.isNonUserBot(),_=T(M,{className:g.default.avatar,src:n.getAvatarURL(u,!0),size:f.Sizes.SIZE_80,"aria-label":n.username,status:r,isMobile:l,statusTooltip:!0});return a.createElement(a.Fragment,null,y?_:T(d.default,{className:(0,o.default)((t={},t[g.default.avatarWrapperNonUserBot]=m,t[g.default.avatarWrapperNormal]=!m,t[g.default.avatarPositionPremium]=null!=n.banner&&!m,t[g.default.avatarPositionNormal]=null==n.banner||m,t[g.default.clickable]=!v,t)),onClick:m||v?void 0:function(){(0,h.openUserProfileModal)({userId:n.id,guildId:u||void 0}),null==c||c()}},void 0,_,!v&&(S=p.default.Masks.AVATAR_DEFAULT,null!=r&&(S=l?p.default.Masks.AVATAR_STATUS_MOBILE_80:p.default.Masks.AVATAR_STATUS_ROUND_80),T(p.default,{mask:S,className:g.default.avatarHint,width:80,height:80},void 0,T("div",{className:g.default.avatarHintInner},void 0,E.default.Messages.VIEW_PROFILE)))));var S};var r,a=I(n(0)),o=S(n(9)),i=n(3),l=S(n(8300)),u=S(n(8732)),s=S(n(11)),d=S(n(61)),f=I(n(279)),c=S(n(47)),p=S(n(248)),v=S(n(43)),y=S(n(8363)),m=S(n(9113)),_=I(n(8827)),h=n(8310),E=S(n(6)),g=S(n(7472));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(e){var t=e.customStatusActivity;return T(u.default,{activity:t,className:g.default.customStatus,emojiClassName:g.default.customStatusEmoji,soloEmojiClassName:g.default.customStatusSoloEmoji,textClassName:g.default.customStatusText})}function b(e){var t,n=e.user,r=e.nickname,a=e.onOpenPremiumSettings,u=e.usernameIcon,s=e.identityCTA,d=e.hasCustomStatus,f=(0,i.useStateFromStores)([y.default],(function(){return y.default.getUserProfile(n.id)}),[n]),p=n.isNonUserBot();return T("div",{className:(0,o.default)(g.default.headerTop,(t={},t[g.default.headerTopWithCustomStatus]=d,t))},void 0,T(_.default,{className:g.default.profileBadges,user:n,premiumSince:null==f?void 0:f.premiumSince,premiumGuildSince:null==f?void 0:f.premiumGuildSince,openPremiumSettings:a,size:_.BadgeSizes.SIZE_22}),T("div",{className:g.default.headerText},void 0,null!=r?T(c.default,{size:c.default.Sizes.SIZE_20,className:g.default.nickname},void 0,r):null,T(l.default,{usernameIcon:u,user:n,hideDiscriminator:p,className:null==r?g.default.headerTagNoNickname:g.default.headerTagWithNickname,usernameClass:null==r?g.default.headerTagUsernameNoNickname:g.default.headerTagUsernameBase,discriminatorClass:null==r?g.default.headerTagDiscriminatorNoNickname:g.default.discrimBase,botClass:null==r?g.default.headerBotTag:g.default.headerBotTagWithNickname}),s))}C.displayName="UserPopoutCustomStatus",b.displayName="UserPopoutInfo";var M=v.default.getEnableHardwareAcceleration()?f.AnimatedAvatar:f.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=n(9334),l=s(n(7470)),u=s(n(7342));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.userBio,n=e.className,r=a.useMemo((function(){return(0,i.parseBioReact)(t)}),[t]);return f("div",{className:(0,o.default)(n,u.default.markup,l.default.clamped)},void 0,r)}c.displayName="UserBio"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=x();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=H(n(9)),i=H(n(8325)),l=n(3),u=H(n(8389)),s=H(n(397)),d=H(n(8309)),f=H(n(8736)),c=H(n(8558)),p=n(180),v=H(n(8391)),y=H(n(1216)),m=H(n(8869)),_=n(8594),h=H(n(8437)),E=H(n(10)),g=H(n(1225)),S=H(n(1238)),O=H(n(70)),I=H(n(1242)),T=H(n(9514)),C=H(n(12)),b=H(n(29)),M=H(n(1160)),N=n(8593),A=H(n(153)),P=H(n(149)),R=H(n(24)),L=H(n(13)),D=n(121),w=H(n(16)),j=n(8381),k=H(n(43)),U=n(1),G=H(n(6)),F=H(n(7360)),B=H(n(370));function H(e){return e&&e.__esModule?e:{default:e}}function x(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return x=function(){return e},e}function V(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function W(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){V(o,r,a,i,l,"next",e)}function l(e){V(o,r,a,i,l,"throw",e)}i(void 0)}))}}function Y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function z(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,K(e,t)}function K(e,t){return(K=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $(e){var t,n,r,i,l=e.file,u=a.useState(),s=u[0],d=u[1],f=a.useState({}),c=f[0],p=f[1],v=a.useRef(null);a.useEffect((function(){if(null!=l){var e=URL.createObjectURL(l);return d(e),function(){d(void 0),URL.revokeObjectURL(e)}}}),[l]),a.useLayoutEffect((function(){var e=v.current;null!=e&&(e.onload=function(){var t=e.naturalWidth/e.naturalHeight,n=Math.max(.66,Math.min(t,4));p(1===n?{width:104,height:104}:n>1?{width:104*n,height:void 0}:{width:void 0,height:104/n})})}),[]);var y=Math.max(16,(120-(null!==(t=null===(n=v.current)||void 0===n?void 0:n.width)&&void 0!==t?t:0))/2);return a.createElement("img",{ref:v,src:s,className:(0,o.default)(F.default.icon,F.default.image),"aria-hidden":!0,alt:"",style:{width:null!==(r=c.width)&&void 0!==r?r:"initial",height:null!==(i=c.height)&&void 0!==i?i:104,marginLeft:y,marginRight:y,marginTop:c.height?104-c.height-33:-33}})}$.displayName="ImageFilePreview";var Z=function(e){function t(){return e.apply(this,arguments)||this}return z(t,e),t.prototype.render=function(){return this.props.upload.isImage?Y($,{file:this.props.upload.file}):Y("div",{className:(0,o.default)(F.default.icon,(e={},e[F.default[this.props.upload.classification]]=!0,e))});var e},t}(a.Component);Z.displayName="UploadIcon";var q=function(e){function t(t){var n,r,o;(o=e.call(this,t)||this)._transitionTimeout=null,o._channelTextAreaRef=a.createRef(),o.cancelAll=function(){f.default.clearAll(),o.props.onClose()},o.cancel=function(){o.showNextFile()},o.confirm=W(regeneratorRuntime.mark((function e(){var t,n,r,a,i,l,u,s,f,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=o.props,n=t.cooldown,r=t.upload,a=t.channel,i=o.state,l=i.textValue,u=i.transitioning,s=i.hasSpoiler,!u&&null!=r){e.next=4;break}return e.abrupt("return",{shouldClear:!1,shouldRefocus:!1});case 4:if(!(n>0)){e.next=6;break}return e.abrupt("return",{shouldClear:!1,shouldRefocus:!0});case 6:if(!S.default.isOpen("popout-channel-text-area-shouting")){e.next=10;break}return d.default.close("popout-channel-text-area-shouting"),o.submitUpload(!0,l,r,a,s),e.abrupt("return",{shouldClear:!0,shouldRefocus:!0});case 10:return e.next=12,(0,j.applyChatRestrictions)({target:o._channelTextAreaRef.current,type:U.TextareaTypes.FORM,content:l,channel:a});case 12:return f=e.sent,c=f.valid,o.submitUpload(c,l,r,a,s),e.abrupt("return",{shouldClear:!1,shouldRefocus:!1});case 16:case"end":return e.stop()}}),e)}))),o.handleTextChange=function(e,t,n){o.setState({textValue:t,richValue:n})},o.handleSubmit=function(){return o.confirm()};var l=null!=t.upload?t.upload.channelId:null,u=null==l||t.ignoreDraft?"":g.default.getDraft(l,t.draftType);return o.state={transitioning:!1,textValue:u,richValue:i.default.deserialize(u),textFocused:!0,hasSpoiler:!1,filename:null!==(n=null===(r=t.upload)||void 0===r?void 0:r.filename)&&void 0!==n?n:""},o}z(t,e);var n=t.prototype;return n.componentDidMount=function(){var e;D.ComponentDispatch.subscribe(U.ComponentActions.MODAL_SUBMIT,this.confirm),D.ComponentDispatch.subscribe(U.ComponentActions.MODAL_CLOSE,this.cancel),(null===(e=this.props.upload)||void 0===e?void 0:e.showLargeMessageDialog)&&L.default.track(U.AnalyticEvents.OPEN_MODAL,{type:"Upload Large Message",message_content_length:this.props.upload.file.size}),w.default.embedded&&k.default.focus()},n.componentWillUnmount=function(){D.ComponentDispatch.unsubscribe(U.ComponentActions.MODAL_SUBMIT,this.confirm),D.ComponentDispatch.unsubscribe(U.ComponentActions.MODAL_CLOSE,this.cancel),clearTimeout(this._transitionTimeout)},n.shouldComponentUpdate=function(e){return null!=e.upload},n.componentDidUpdate=function(e){var t,n,r,a;(null===(t=e.upload)||void 0===t?void 0:t.filename)!==(null===(n=this.props.upload)||void 0===n?void 0:n.filename)&&this.setState({filename:null!==(r=null===(a=this.props.upload)||void 0===a?void 0:a.filename)&&void 0!==r?r:""})},n.submitUpload=function(e,t,n,r,a){var o=this;if(e&&null!=r){var l=y.default.parse(r,t);u.default.saveDraft(r.id,"",this.props.draftType);var s=this.state.filename;this.setState({textFocused:!0,textValue:"",richValue:i.default.deserialize(""),filename:""}),setTimeout((function(){return c.default.upload(r.id,n.file,o.props.draftType,l,a,s)}),125),this.showNextFile()}},n.showNextFile=function(){var e=this;this.state.transitioning||(this.props.hasAdditionalUploads?(this.setState({transitioning:!0}),setTimeout((function(){return f.default.popFirstFile()}),100),this._transitionTimeout=setTimeout((function(){return e.setState({transitioning:!1})}),200)):(f.default.popFirstFile(),this.props.onClose()))},n.renderFooter=function(){var e=this,t=this.props,n=t.cooldown,r=t.hasAdditionalUploads,i=this.state.hasSpoiler,l=n>0,u=null,s=l?G.default.Messages.CHANNEL_SLOWMODE_COOLDOWN.format({seconds:Math.round((n+1e3)/1e3)}):null;r&&(u=Y(b.default,{type:"button",look:b.default.Looks.LINK,color:b.default.Colors.PRIMARY,onClick:this.cancelAll,className:F.default.cancelAllButton},void 0,Y("span",{},void 0,G.default.Messages.UPLOAD_AREA_CANCEL_ALL)));var d=Y(a.Fragment,{},void 0,Y(M.default,{value:i,onChange:function(t,n){return e.setState({hasSpoiler:n})}},void 0,Y(R.default,{},void 0,G.default.Messages.SPOILER_MARK_SELECTED)),Y("div",{className:F.default.hasSpoilers},void 0,u,Y(b.default,{type:"button",look:b.default.Looks.LINK,color:b.default.Colors.PRIMARY,onClick:this.cancel},void 0,Y("span",{},void 0,G.default.Messages.CANCEL)),Y(P.default,{text:s},void 0,(function(t){return a.createElement("div",t,Y(b.default,{disabled:l,type:"submit",onClick:e.confirm},void 0,Y("span",{},void 0,G.default.Messages.UPLOAD)))}))));return Y("div",{className:(0,o.default)(F.default.footer,F.default.hasSpoilers)},void 0,d)},n.render=function(){var e,t,n,r,i=this,l=this.props,u=l.upload,s=l.channel,d=l.pendingReply,f=l.messageMaxLength,c=this.state,y=c.transitioning,m=c.textValue,h=c.richValue,E=c.textFocused;if(null==u||null==s)return null;var g=N.PlaintextFilePreviewExperiment.getCurrentConfig({}).enabled;return Y("div",{className:(0,o.default)(F.default.uploadModal,(e={},e[F.default.transitioning]=y,e))},void 0,Y("div",{className:F.default.inner},void 0,Y("div",{className:(0,o.default)(F.default.file,(t={},t[F.default.expandable]=u.isImage,t))},void 0,Y(Z,{upload:u}),Y("div",{className:F.default.description},void 0,Y("div",{className:F.default.filename},void 0,u.showLargeMessageDialog?G.default.Messages.LARGE_MESSAGE_UPLOAD_TITLE_MAX_LENGTH.format({maxLength:f}):u.filename),u.showLargeMessageDialog?Y("div",{className:F.default.subtitle},void 0,G.default.Messages.LARGE_MESSAGE_UPLOAD_SUBTITLE):null,Y(R.default,{className:F.default.destination,color:R.default.Colors.HEADER_SECONDARY,size:R.default.Sizes.SIZE_14},void 0,G.default.Messages.UPLOAD_TO.format({destination:(0,p.computeChannelName)(s,C.default,O.default,!0)})))),Y("div",{className:F.default.comment},void 0,g&&(0,_.isPlaintextPreviewableFile)(null!==(n=null===(r=this.props.upload)||void 0===r?void 0:r.filename)&&void 0!==n?n:"")?a.createElement(a.Fragment,null,Y("div",{className:F.default.label},void 0,Y("span",{},void 0,G.default.Messages.UPLOAD_AREA_FILENAME)),Y(A.default,{className:(0,o.default)(F.default.channelTextAreaUpload,B.default.marginTop8),value:this.state.filename,onChange:function(e){return i.setState({filename:e})},onKeyDown:function(e){if(e.which===U.KeyboardKeys.ENTER)return i.confirm()}})):null,Y("div",{className:F.default.label},void 0,Y("span",{},void 0,G.default.Messages.UPLOAD_AREA_LEAVE_A_COMMENT),Y("span",{className:F.default.optional},void 0,"(",G.default.Messages.UPLOAD_AREA_OPTIONAL,")")),a.createElement(v.default,{ref:this._channelTextAreaRef,className:(0,o.default)(F.default.channelTextAreaUpload,B.default.marginTop8),textValue:m,richValue:h,focused:E,channel:s,onChange:this.handleTextChange,onSubmit:this.handleSubmit,type:U.TextareaTypes.FORM,pendingReply:d}))),this.renderFooter())},t}(a.Component);function X(e){var t,n,r=e.onClose,a=e.draftType,o=e.ignoreDraft,i=(0,l.useStateFromStores)([T.default],(function(){return T.default.getFirstUpload()})),u=(0,l.useStateFromStores)([T.default],(function(){return T.default.hasAdditionalUploads()})),s=null!==(t=null==i?void 0:i.channelId)&&void 0!==t?t:null,d=(0,l.useStateFromStores)([E.default],(function(){var e;return null!==(e=E.default.getChannel(s))&&void 0!==e?e:null})),f=(0,l.useStateFromStores)([I.default],(function(){return null!=s?I.default.getSlowmodeCooldownGuess(s):0})),c=(0,l.useStateFromStores)([h.default],(function(){return null!=s?h.default.getPendingReply(s):void 0})),p=(0,m.default)();return Y(q,{onClose:r,draftType:a,ignoreDraft:o,upload:i,file:null!==(n=null==i?void 0:i.file)&&void 0!==n?n:null,hasAdditionalUploads:u,channel:d,cooldown:f,pendingReply:c,messageMaxLength:p})}q.displayName="Upload",X.displayName="UploadConnected";var J=function(e){function t(){return e.apply(this,arguments)||this}z(t,e);var n=t.prototype;return n.close=function(){s.default.pop()},n.render=function(){return Y(X,{onClose:this.close,draftType:this.props.draftType,ignoreDraft:this.props.ignoreDraft})},t}(a.Component);t.default=J,J.displayName="UploadModal",J.modalConfig={closable:!1}},,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ResizeOrientation=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(1243))&&r.__esModule?r:{default:r};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}var l;t.ResizeOrientation=l,function(e){e[e.VERTICAL=0]="VERTICAL",e[e.HORIZONTAL=1]="HORIZONTAL"}(l||(t.ResizeOrientation=l={}));var u=function(e){var t=e.initialElementDimension,n=e.resizableDomNodeRef,r=e.maxDimension,i=e.minDimension,u=e.onElementResize,s=e.throttleDuration,d=void 0===s?300:s,f=e.orientation,c=a.useState(!1),p=c[0],v=c[1],y=a.useRef(0),m=a.useRef(null==t?0:t);return a.useLayoutEffect((function(){if(p){var e=(0,o.default)(u,d),t=function(t){if(null==n.current)return null;var a=f===l.HORIZONTAL,o=a?t.screenX:t.screenY,u=(y.current-o)*(a?1:-1),s=m.current+u,d=null==r?s:Math.min(r,s),c=null==i?d:Math.max(null!=i?i:0,d);y.current=o,m.current=c,n.current.style[a?"width":"height"]=c+"px",e(c)},a=function(){v(!1),u(m.current)};return document.addEventListener("mouseup",a),document.addEventListener("mousemove",t),function(){document.removeEventListener("mouseup",a),document.removeEventListener("mousemove",t),e.cancel()}}}),[p,u,i,r,f,n,d]),a.useCallback((function(e){var t=f===l.HORIZONTAL;null!=n.current&&(m.current=t?n.current.offsetWidth:n.current.offsetHeight),y.current=t?e.screenX:e.screenY,v(!0)}),[f,n])};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===t&&(t=!0);var n=a.useState(""),r=n[0],o=n[1],i=a.useState(null),l=i[0],v=i[1],y=a.useState(null),m=y[0],C=y[1],b=(0,E.default)(e.code);a.useEffect((function(){function e(){return(e=A(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=(t=f.default.getNullableCurrentUser())){e.next=11;break}return e.prev=2,e.next=5,(0,s.fetchCurrentUser)();case 5:t=e.sent,e.next=11;break;case 8:e.prev=8,e.t0=e.catch(2),u.default.verifySSOToken(null);case 11:null!=t&&o(b.defaultName.format({username:t.username}));case 12:case"end":return e.stop()}}),e,null,[[2,8]])})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[b.defaultName]);(0,g.default)(e);var N=a.createElement(a.Fragment,null,t?M(S.default,{guildTemplate:e}):null,M("div",{className:T.default.icon},void 0,M(d.default,{icon:l,onChange:v})),M(p.default,{title:b.nameLabel},void 0,M(c.default,{type:"text",value:r,maxLength:100,onChange:o,error:null==m?void 0:m.name})),M(_.default,{size:_.default.Sizes.SIZE_12,color:_.default.Colors.MUTED,className:T.default.guidelines},void 0,b.terms.format({guidelinesURL:O.MarketingURLs.GUIDELINES}))),L=e.serializedSourceGuild.roles.filter((function(e){return"@everyone"!==e.name})),D=a.createElement(a.Fragment,null,M("div",{className:T.default.divider}),M(p.default,{className:T.default.previewSection,title:I.default.Messages.GUILD_TEMPLATE_MODAL_CHANNELS_HEADER},void 0,M(P,{channels:e.serializedSourceGuild.channels}),M(_.default,{size:_.default.Sizes.SIZE_12,color:_.default.Colors.HEADER_SECONDARY,className:T.default.protip},void 0,M("span",{className:T.default.protipText},void 0,I.default.Messages.FORM_LABEL_ROLES_PRO_TIP,":")," ",I.default.Messages.GUILD_TEMPLATE_MODAL_CHANNELS_TIP)),L.length>0?a.createElement(a.Fragment,null,M(p.default,{className:T.default.previewSection,title:I.default.Messages.GUILD_TEMPLATE_MODAL_ROLES_HEADER2},void 0,M(R,{roles:L}))):null);return{form:N,preview:D,handleSubmit:function(){return h.default.acceptGuildTemplate(e.code,r,l).catch((function(e){return C(e)}))}}};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=C(n(9)),i=C(n(8)),l=n(202),u=C(n(363)),s=n(1150),d=C(n(8792)),f=C(n(12)),c=C(n(153)),p=C(n(476)),v=C(n(683)),y=C(n(8307)),m=C(n(8276)),_=C(n(24)),h=C(n(9534)),E=C(n(5698)),g=C(n(9535)),S=C(n(5967)),O=n(1),I=C(n(6)),T=C(n(7559));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function A(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){N(o,r,a,i,l,"next",e)}function l(e){N(o,r,a,i,l,"throw",e)}i(void 0)}))}}function P(e){var t=e.channels,n=(0,i.default)(t).sortBy((function(e){return null==e.parent_id?1e4*Number(e.id):1e4*Number(e.parent_id)+e.id})).map((function(e){var t,n,r=(n=e.type)===O.ChannelTypes.GUILD_VOICE?m.default:n===O.ChannelTypes.GUILD_CATEGORY?v.default:y.default;return M("div",{className:(0,o.default)(T.default.channel,(t={},t[T.default.category]=e.type===O.ChannelTypes.GUILD_CATEGORY,t))},e.id,M(r,{className:T.default.channelIcon}),M(_.default,{className:T.default.channelText},void 0,e.name))})).value();return M("div",{className:T.default.channelsWrapper},void 0,n)}function R(e){var t=e.roles.slice().reverse().map((function(e){return M(L,{role:e},e.id)}));return M("ul",{className:T.default.rolesWrapper},void 0,t)}function L(e){var t,n=e.role,r=null==n.color?O.HEXColors.PRIMARY_DARK_300:(0,l.int2hex)(n.color),a=M("div",{className:T.default.roleCircle,style:{backgroundColor:r}});return M("li",{className:T.default.role,style:{borderColor:null!==(t=(0,l.hex2rgb)(r,.6))&&void 0!==t?t:void 0}},void 0,a,M("div",{className:T.default.roleName},void 0,n.name))}n(9536),P.displayName="Channels",R.displayName="Roles",L.displayName="Role"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=v(n(8254)),o=v(n(180)),i=v(n(15)),l=v(n(29)),u=n(35),s=v(n(47)),d=v(n(24)),f=n(1),c=v(n(6)),p=v(n(7569));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var _=function(e){var t=e.channel,n=e.onClose,r=e.onConfirm,v=e.transitionState,y=(0,o.default)(t,!0),_=t.id,h=i.default.getGuild(t.getGuildId());if(null==h||!h.hasFeature(f.GuildFeatures.COMMUNITY)||h.rulesChannelId!==_&&h.publicUpdatesChannelId!==_){var E=t.type===f.ChannelTypes.GUILD_CATEGORY?c.default.Messages.DELETE_CATEGORY:t.isThread()?c.default.Messages.DELETE_THREAD:c.default.Messages.DELETE_CHANNEL;return m(u.ModalRoot,{transitionState:v,"aria-label":E},void 0,m(u.ModalHeader,{separator:!1},void 0,m(s.default,{tag:s.default.Tags.H2,size:s.default.Sizes.SIZE_20},void 0,E)),m(u.ModalContent,{},void 0,m(d.default,{size:d.default.Sizes.SIZE_16,className:p.default.modalText},void 0,c.default.Messages.DELETE_CHANNEL_BODY.format({channelName:y}))),m(u.ModalFooter,{},void 0,m(l.default,{onClick:r,color:l.default.Colors.RED},void 0,E),m(l.default,{onClick:n,look:l.default.Looks.LINK,color:l.default.Colors.PRIMARY},void 0,c.default.Messages.CANCEL)))}var g=h.rulesChannelId===_?c.default.Messages.DELETE_RULES_CHANNEL_BODY:c.default.Messages.DELETE_UPDATES_CHANNEL_BODY;return m(u.ModalRoot,{transitionState:v,"aria-label":c.default.Messages.CANNOT_DELETE_CHANNEL},void 0,m(u.ModalHeader,{separator:!1},void 0,m(s.default,{tag:s.default.Tags.H2,size:s.default.Sizes.SIZE_20},void 0,c.default.Messages.CANNOT_DELETE_CHANNEL)),m(u.ModalContent,{},void 0,m(d.default,{size:d.default.Sizes.SIZE_16,className:p.default.modalText},void 0,g),m(d.default,{size:d.default.Sizes.SIZE_16,className:p.default.modalText},void 0,c.default.Messages.DESIGNATE_OTHER_CHANNEL.format({onClick:function(){a.default.open(h.id,f.GuildSettingsSections.COMMUNITY),n()}}))),m(u.ModalFooter,{},void 0,m(l.default,{onClick:n},void 0,c.default.Messages.OKAY)))};t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(8253),o=s(n(8265)),i=n(392),l=n(8473),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=(0,l.useThreadNotificationSetting)(e);return f(a.MenuItem,{id:"thread-notifications",label:u.default.Messages.NOTIFICATION_SETTINGS},void 0,(0,i.getThreadNotificationOptions)().map((function(n){var r=n.setting,i=n.label;return f(a.MenuRadioItem,{group:"thread-notifications",id:""+r,label:i,action:function(){return o.default.setNotificationSetting(e,r)},checked:r===t},r)})))}c.displayName="useThreadNotificationItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=z(n(0)),o=W(n(9)),i=n(3),l=W(n(363)),u=n(1171),s=W(n(105)),d=W(n(5673)),f=W(n(162)),c=W(n(249)),p=W(n(684)),v=W(n(56)),y=W(n(15)),m=W(n(12)),_=W(n(29)),h=W(n(55)),E=W(n(371)),g=W(n(8649)),S=W(n(153)),O=W(n(149)),I=n(131),T=W(n(159)),C=n(35),b=W(n(47)),M=W(n(24)),N=W(n(13)),A=W(n(150)),P=W(n(8410)),R=n(8301),L=z(n(8411)),D=n(8262),w=n(9583),j=n(8648),k=W(n(8907)),U=n(1),G=W(n(6)),F=W(n(7350)),B=W(n(9588)),H=W(n(1377)),x=W(n(1378)),V=W(n(9589));function W(e){return e&&e.__esModule?e:{default:e}}function Y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Y=function(){return e},e}function z(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=Y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function K(){return(K=Object.assign||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}).apply(this,arguments)}function $(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function Z(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){$(o,r,a,i,l,"next",e)}function l(e){$(o,r,a,i,l,"throw",e)}i(void 0)}))}}function q(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var X;!function(e){e[e.CLAIM_ACCOUNT=0]="CLAIM_ACCOUNT",e[e.EMAIL_CONFIRMATION=1]="EMAIL_CONFIRMATION",e[e.VERIFICATION_FORM=2]="VERIFICATION_FORM"}(X||(X={}));var J=function(e){var t=e.email,n=e.password,r=e.setEmail,a=e.setPassword,o=e.emailError,i=e.passwordError;return q("div",{className:F.default.content},void 0,q("img",{alt:G.default.Messages.MEMBER_VERIFICATION_CLAIM_ACCOUNT_ICON,src:B.default,className:F.default.applicationIcon}),q(b.default,{size:b.default.Sizes.SIZE_24,className:F.default.header},void 0,G.default.Messages.MEMBER_VERIFICATION_CLAIM_ACCOUNT_TITLE),q(M.default,{size:M.default.Sizes.SIZE_14,color:M.default.Colors.HEADER_SECONDARY},void 0,G.default.Messages.MEMBER_VERIFICATION_CLAIM_ACCOUNT_SUBTITLE),q("hr",{className:F.default.divider}),q(I.FormItem,{title:G.default.Messages.FORM_LABEL_EMAIL,className:F.default.formItem},void 0,q(S.default,{value:t,error:o,onChange:r,autoFocus:!0})),q(I.FormItem,{title:G.default.Messages.FORM_LABEL_PASSWORD,className:F.default.formItem},void 0,q(S.default,{type:"password",value:n,error:i,onChange:a})))};J.displayName="MemberVerificationClaimAccountStep";var Q=function(e){var t=e.email;return q("div",{className:F.default.content},void 0,q("img",{alt:G.default.Messages.MEMBER_VERIFICATION_VERIFY_EMAIL_ICON,src:V.default,className:F.default.applicationIcon}),q(b.default,{size:b.default.Sizes.SIZE_24,className:F.default.header},void 0,G.default.Messages.MEMBER_VERIFICATION_EMAIL_CONFIRMATION_TITLE.format({email:t})),q(M.default,{size:M.default.Sizes.SIZE_14,color:M.default.Colors.HEADER_SECONDARY},void 0,G.default.Messages.MEMBER_VERIFICATION_EMAIL_CONFIRMATION_SUBTITLE),q(_.default,{className:F.default.resendButton,size:_.default.Sizes.NONE,look:_.default.Looks.LINK,onClick:function(){return l.default.verifyResend()}},void 0,G.default.Messages.MEMBER_VERIFICATION_EMAIL_RESEND))};Q.displayName="MemberVerificationEmailConfirmationStep";var ee=function(){return n.e(20).then(n.t.bind(null,9259,3)).then((function(e){return e.default}))},te=function(e){var t=e.guildId,n=e.formState,r=e.updateFormState,a=e.useReducedMotion,i=e.isPreview,l=void 0!==i&&i;return q("div",{className:F.default.content},void 0,q("div",{className:F.default.animationAndSparklesContainer},void 0,q("img",{alt:G.default.Messages.MEMBER_VERIFICATION_VERIFICATION_ICON,src:x.default,className:(0,o.default)(F.default.sparkleIcon,F.default.sparkleBottom)}),q(g.default,{importData:ee,shouldAnimate:!a,className:F.default.animation}),q("img",{alt:G.default.Messages.MEMBER_VERIFICATION_VERIFICATION_ICON,src:H.default,className:(0,o.default)(F.default.sparkleIcon,F.default.sparkleTop)})),q(b.default,{size:b.default.Sizes.SIZE_24,className:F.default.header},void 0,G.default.Messages.MEMBER_VERIFICATION_MODAL_TITLE),q(M.default,{size:M.default.Sizes.SIZE_14,color:M.default.Colors.HEADER_SECONDARY},void 0,G.default.Messages.MEMBER_VERIFICATION_MODAL_SUBTITLE),q("hr",{className:F.default.divider}),q(k.default,{className:F.default.verificationForm,guildId:t,formState:n,updateFormState:r,isPreview:l}))};te.displayName="MemberVerificationFormStep";var ne=function(e){var t,n,r=e.guildId,l=e.onClose,g=e.onComplete,S=e.inviteCode,I=e.isPreview,k=void 0!==I&&I,B=(0,j.useMemberVerificationFormNoticeStore)((function(e){return e.hasUnsubmittedChanges})),H=(0,i.useStateFromStores)([y.default],(function(){return y.default.getGuild(r)})),x=(0,i.useStateFromStores)([L.default],(function(){return L.default.get(r)})),V=(0,i.useStateFromStores)([m.default],(function(){return m.default.getNullableCurrentUser()})),W=!(null==V?void 0:V.isClaimed()),Y=null==V?void 0:V.verified,z=null==V?void 0:V.isPhoneVerified(),$=(0,i.useStateFromStores)([c.default],(function(){return c.default.getGuildEmoji(r)})),ee=(0,i.useStateFromStoresObject)([p.default],(function(){return{storeMemberCount:p.default.getMemberCount(r),storeOnlineCount:p.default.getOnlineCount(r)}})),ne=ee.storeMemberCount,re=ee.storeOnlineCount,ae=a.useState(null!==(t=null==x?void 0:x.formFields)&&void 0!==t?t:[]),oe=ae[0],ie=ae[1],le=a.useState(!1),ue=le[0],se=le[1],de=a.useState(null),fe=de[0],ce=de[1],pe=a.useState(W?X.CLAIM_ACCOUNT:X.VERIFICATION_FORM),ve=pe[0],ye=pe[1],me=a.useState(""),_e=me[0],he=me[1],Ee=a.useState(""),ge=Ee[0],Se=Ee[1],Oe=a.useState(null),Ie=Oe[0],Te=Oe[1],Ce=a.useState(null),be=Ce[0],Me=Ce[1],Ne=null==x?void 0:x.guild,Ae=a.useMemo((function(){return null!=H?H:null!=Ne?new f.default(Ne):null}),[H,Ne]),Pe=a.useMemo((function(){var e,t=null!==(e=0===$.length?null==Ne?void 0:Ne.emojis:$)&&void 0!==e?e:[],n=[].concat(t).reverse(),r=0,a=n.length;return a>12&&null!=n&&(n=n.slice(0,11),r=Math.min(a-n.length,99)),{emojisToRender:n,remainingEmojis:r,numGuildEmoji:a}}),[Ne,$]),Re=Pe.emojisToRender,Le=Pe.remainingEmojis,De=Pe.numGuildEmoji,we=null!=ne?ne:null==Ne?void 0:Ne.approximate_member_count,je=null!=re?re:null==Ne?void 0:Ne.approximate_presence_count;a.useEffect((function(){return(0,j.setHasUnsubmittedChanges)(!1),function(){(0,j.setHasUnsubmittedChanges)(!1)}}),[]),a.useEffect((function(){P.default.fetchVerificationForm(r,S)}),[r,S]),a.useEffect((function(){null!=x&&ie(x.formFields)}),[x]),a.useEffect((function(){null!=V&&V.isClaimed()&&ye(X.VERIFICATION_FORM)}),[V]),a.useEffect((function(){ve===X.EMAIL_CONFIRMATION&&Y&&ye(X.VERIFICATION_FORM)}),[ve,Y]),a.useEffect((function(){null!=r&&N.default.track(U.AnalyticEvents.OPEN_MODAL,{type:R.MEMBER_VERIFICATION_TYPE,guild_id:r})}),[r]),a.useEffect((function(){var e=oe.some((function(e){return e.field_type!==D.VerificationFormFieldTypes.TERMS&&(0,w.isValidFormResponse)(e)}));e&&!B?(0,j.setHasUnsubmittedChanges)(!0):!e&&B&&(0,j.setHasUnsubmittedChanges)(!1)}),[oe,B]);var ke=a.useMemo((function(){return!(((null==Ae?void 0:Ae.verificationLevel)!==U.VerificationLevels.VERY_HIGH||(null==V?void 0:V.isStaff()))&&Y||z)||oe.some((function(e){return!(0,w.isValidFormResponse)(e)}))}),[oe,Ae,z,Y,V]),Ue=(0,i.useStateFromStores)([s.default],(function(){return s.default.useReducedMotion}));if(null==Ae)return null;var Ge=function(){var e=Z(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return se(!0),Te(null),Me(null),e.prev=3,e.next=6,(0,u.saveAccountRequest)({email:_e,password:ge});case 6:se(!1),ye(X.EMAIL_CONFIRMATION),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(3),Te(null===e.t0||void 0===e.t0||null===(t=e.t0.body)||void 0===t?void 0:t.email),Me(null===e.t0||void 0===e.t0||null===(n=e.t0.body)||void 0===n?void 0:n.password);case 14:return e.prev=14,se(!1),e.finish(14);case 17:case"end":return e.stop()}}),e,null,[[3,10,14,17]])})));return function(){return e.apply(this,arguments)}}(),Fe=function(){var e=Z(regeneratorRuntime.mark((function e(){var t,n,a,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(se(!0),ce(null),null==(t=null!=V?v.default.getMember(r,V.id):null)||t.isPending){e.next=6;break}return null==l||l(!0),e.abrupt("return");case 6:if(e.prev=6,e.t0=g,!e.t0){e.next=11;break}return e.next=11,g(K({},null!=x?x:L.NO_MEMBER_VERIFICATION_FORM,{formFields:oe}));case 11:null==l||l(!0),e.next=19;break;case 14:e.prev=14,e.t1=e.catch(6),null!=(null==(o=null===e.t1||void 0===e.t1?void 0:e.t1.body)||null===(n=o.errors)||void 0===n?void 0:n.version)||null!=(null==o||null===(a=o.errors)||void 0===a?void 0:a.form_fields)?ce(G.default.Messages.MEMBER_VERIFICATION_VERSION_MISMATCH_ERROR):ce(null==o?void 0:o.message),se(!1);case 19:case"end":return e.stop()}}),e,null,[[6,14]])})));return function(){return e.apply(this,arguments)}}(),Be=q(J,{email:_e,password:ge,setEmail:he,setPassword:Se,emailError:Ie,passwordError:be}),He=q(Q,{email:_e}),xe=q(te,{guildId:r,formState:oe,updateFormState:ie,isPreview:k,useReducedMotion:Ue});return a.createElement(a.Fragment,null,q(h.default,{direction:h.default.Direction.VERTICAL,justify:h.default.Justify.BETWEEN,className:F.default.guildSidebar,shrink:0},void 0,q("div",{},void 0,q(E.default,{guild:Ae,className:F.default.guildIcon}),q(b.default,{size:b.default.Sizes.SIZE_20,className:F.default.guildName},void 0,null==Ae?void 0:Ae.name),q(M.default,{className:F.default.guildDescription,size:M.default.Sizes.SIZE_14,color:M.default.Colors.HEADER_SECONDARY},void 0,null==x?void 0:x.description),null!=Re&&Re.length>0?a.createElement(a.Fragment,null,q("hr",{className:F.default.divider}),q(T.default,{},void 0,G.default.Messages.MEMBER_VERIFICATION_NUM_EMOJIS.format({emojis:De})),q("div",{className:F.default.emojisContainer},void 0,Re.map((function(e){var t=A.default.getEmojiURL({id:e.id,animated:!1});return q(O.default,{text:":"+e.name+":"},e.id,(function(e){return a.createElement("img",K({},e,{width:24,height:24,src:t,className:F.default.emoji,alt:""}))}))})),null!=Le&&Le>0?q(b.default,{size:b.default.Sizes.SIZE_12,muted:!0,className:F.default.emoji},void 0,"+"+Le):null)):null),q("div",{},void 0,null!=je&&q(h.default,{align:h.default.Align.CENTER,className:F.default.onlineCount},void 0,q("div",{className:F.default.dotOnline}),q(M.default,{},void 0,G.default.Messages.MEMBER_VERIFICATION_NUM_ONLINE.format({membersOnline:je}))),null!=we&&q(h.default,{align:h.default.Align.CENTER},void 0,q("div",{className:F.default.dotMembers}),q(M.default,{},void 0,G.default.Messages.MEMBER_VERIFICATION_NUM_MEMBERS.format({members:we}))))),q("div",{className:F.default.modal},void 0,q(C.ModalContent,{className:F.default.modalContent},void 0,q(d.default,{className:(0,o.default)(F.default.sequencer,(n={},n[F.default.centerContent]=ve!==X.VERIFICATION_FORM,n)),steps:[X.CLAIM_ACCOUNT,X.EMAIL_CONFIRMATION,X.VERIFICATION_FORM],step:ve},void 0,function(){switch(ve){case X.CLAIM_ACCOUNT:return Be;case X.EMAIL_CONFIRMATION:return He;case X.VERIFICATION_FORM:return xe}}())),function(){switch(ve){case X.CLAIM_ACCOUNT:return q(C.ModalFooter,{className:F.default.footer},void 0,q(_.default,{className:F.default.submitButton,type:"submit",submitting:ue,onClick:Ge,disabled:0===_e.length||0===ge.length||ue},void 0,G.default.Messages.NEXT),q(M.default,{size:M.default.Sizes.SIZE_12,color:M.default.Colors.HEADER_SECONDARY},void 0,G.default.Messages.MEMBER_VERIFICATION_CLAIM_ACCOUNT_INFO));case X.EMAIL_CONFIRMATION:return null;case X.VERIFICATION_FORM:return q(C.ModalFooter,{className:F.default.footer},void 0,q(_.default,{className:F.default.submitButton,type:"submit",submitting:ue,onClick:Fe,color:_.default.Colors.GREEN,disabled:null==g||ke||ue},void 0,G.default.Messages.SUBMIT),null!=fe?q(M.default,{size:M.default.Sizes.SIZE_12,color:M.default.Colors.STATUS_RED},void 0,fe):null)}}()))};t.default=ne},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),a=l(n(2)),o=n(9595),i=l(n(15));n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d={},f=function(){d={guildAffinitiesByGuildId:{},guildAffinities:[],lastFetched:0}};f();var c=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var a,o,l,f=r.prototype;return f.initialize=function(e){null!=e&&(d=e),this.waitFor(i.default)},f.getState=function(){return d},f.getGuildAffinity=function(e){return d.guildAffinitiesByGuildId[e]},a=r,(o=[{key:"affinities",get:function(){return d.guildAffinities}},{key:"hasRequestResolved",get:function(){return 0!==d.lastFetched}}])&&u(a.prototype,o),l&&u(a,l),r}(r.default.PersistedStore);c.persistKey="GuildAffinitiesStore";var p=new c(a.default,{CONNECTION_OPEN:function(e){return Date.now()-d.lastFetched>864e5&&(0,o.fetchGuildAffinities)(),!1},LOAD_GUILD_AFFINITIES_SUCCESS:function(e){var t=e.guildAffinities;d.guildAffinities=[],d.guildAffinitiesByGuildId={},d.lastFetched=Date.now(),t.forEach((function(e,t){var n=e.affinity,r=e.guild_id,a={score:n,guildId:r,index:t};d.guildAffinitiesByGuildId[r]=a,d.guildAffinities.push(a)}))},LOGOUT:function(e){f()}});t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("path",{d:"M3.494 16.768c.32-.258.794-.187 1.08.107.447.46.993.824 1.638 1.092.898.374 1.796.56 2.694.56.809 0 1.527-.142 2.156-.428.629-.286 1-.736 1.112-1.352.067-.351 0-.66-.202-.923a2.177 2.177 0 0 0-.842-.692 5.764 5.764 0 0 0-1.28-.429c-.472-.132-.944-.23-1.415-.296a9.625 9.625 0 0 1-2.695-.857c-.83-.44-1.55-1-2.156-1.682a6.19 6.19 0 0 1-1.313-2.373C2 8.57 1.967 7.56 2.17 6.462c.224-1.187.64-2.187 1.246-3A7.497 7.497 0 0 1 5.673 1.45 9.23 9.23 0 0 1 8.536.33 15.82 15.82 0 0 1 11.769 0c.719 0 1.426.055 2.123.165.696.11 1.37.308 2.02.593.652.286 1.27.67 1.853 1.154.429.355.839.775 1.231 1.26.241.298.16.73-.16.945L15.55 6.345c-.292.198-.686.146-.954-.083a4.584 4.584 0 0 0-1.41-.822 6.76 6.76 0 0 0-2.123-.429c-.763-.022-1.426.11-1.987.396-.562.285-.876.725-.943 1.318-.09.682.134 1.198.673 1.55.54.33 1.269.593 2.19.79a22.17 22.17 0 0 1 2.998.792c.988.308 1.819.77 2.492 1.385.696.593 1.202 1.373 1.516 2.34.314.945.337 2.143.067 3.594-.224 1.143-.64 2.143-1.246 3a7.925 7.925 0 0 1-2.19 2.11c-.875.571-1.886 1-3.031 1.285A14.575 14.575 0 0 1 7.997 24c-.719 0-1.471-.088-2.257-.264a11.036 11.036 0 0 1-2.257-.79 10.817 10.817 0 0 1-2.054-1.32 7.69 7.69 0 0 1-1.306-1.349c-.209-.277-.143-.66.128-.88l3.243-2.629zM29.31 8.579a.692.692 0 0 0 .694.784h8.053c.426 0 .753.368.695.78l-.547 3.869a.697.697 0 0 1-.695.592h-8.446a.697.697 0 0 0-.695.591l-.307 2.12a.692.692 0 0 0 .695.784h8.897c.426 0 .753.367.696.78l-.584 4.197a.697.697 0 0 1-.695.594H21.884a.692.692 0 0 1-.695-.782L24.328.921a.697.697 0 0 1 .695-.591H40.21c.427 0 .755.37.695.783l-.61 4.198a.697.697 0 0 1-.694.59h-9.292a.697.697 0 0 0-.695.59l-.304 2.088zM50.653 16.57a.706.706 0 0 0-.591-.317h-.082a.697.697 0 0 0-.695.593l-.878 6.231a.697.697 0 0 1-.695.593h-4.678a.692.692 0 0 1-.695-.782L45.477.921a.697.697 0 0 1 .695-.591h8.922c1.235 0 2.358.165 3.369.494 1.033.33 1.897.824 2.593 1.484.719.659 1.235 1.494 1.55 2.505.314 1.011.393 2.198.236 3.56-.158 1.078-.393 2-.708 2.77a7.315 7.315 0 0 1-1.179 1.945 8.12 8.12 0 0 1-1.684 1.418c-.444.27-.925.534-1.443.794a.696.696 0 0 0-.27 1.026l4.477 6.264c.326.455-.007 1.08-.574 1.08h-5.78a.706.706 0 0 1-.592-.316l-4.436-6.785zm2.993-5.394c.943 0 1.673-.275 2.19-.824.516-.572.819-1.198.909-1.88.09-.703-.056-1.318-.438-1.846-.36-.527-.988-.79-1.886-.79h-2.928a.697.697 0 0 0-.695.59l-.575 3.966a.692.692 0 0 0 .695.784h2.728zM81.555.694a.703.703 0 0 1 .637-.397h4.884c.522 0 .861.537.628.993l-11.223 22a.703.703 0 0 1-.628.38h-4.526a.699.699 0 0 1-.685-.539l-4.946-22a.69.69 0 0 1 .685-.834h5.009c.339 0 .63.237.69.563l2.017 10.843.335 5.535a.04.04 0 0 0 .04.037.04.04 0 0 0 .039-.028l1.81-5.51L81.555.693zM95.982 8.579a.692.692 0 0 0 .695.784h8.053c.425 0 .753.368.695.78l-.547 3.869a.697.697 0 0 1-.695.592h-8.447a.697.697 0 0 0-.695.591l-.306 2.12a.692.692 0 0 0 .695.784h8.897c.425 0 .753.367.696.78l-.584 4.197a.696.696 0 0 1-.695.594H88.557a.692.692 0 0 1-.695-.782L91 .921a.697.697 0 0 1 .695-.591h15.187c.427 0 .755.37.695.783l-.609 4.198a.697.697 0 0 1-.695.59h-9.291a.697.697 0 0 0-.695.59l-.305 2.088zM117.326 16.57a.706.706 0 0 0-.591-.317h-.083a.697.697 0 0 0-.695.593l-.877 6.231a.697.697 0 0 1-.695.593h-4.678a.692.692 0 0 1-.695-.782L112.15.921a.697.697 0 0 1 .695-.591h8.922c1.235 0 2.358.165 3.368.494 1.033.33 1.898.824 2.594 1.484.719.659 1.235 1.494 1.549 2.505.315 1.011.393 2.198.236 3.56-.157 1.078-.393 2-.707 2.77a7.295 7.295 0 0 1-1.179 1.945c-.472.527-1.033 1-1.684 1.418-.445.27-.926.534-1.443.794a.697.697 0 0 0-.27 1.026l4.477 6.264c.326.455-.007 1.08-.575 1.08h-5.78a.706.706 0 0 1-.591-.316l-4.436-6.785zm2.993-5.394c.943 0 1.673-.275 2.189-.824.517-.572.82-1.198.91-1.88.089-.703-.057-1.318-.438-1.846-.36-.527-.988-.79-1.887-.79h-2.927a.697.697 0 0 0-.695.59l-.576 3.966a.692.692 0 0 0 .695.784h2.729zM158.699 7.45a3.965 3.965 0 0 1-.303.924 4.234 4.234 0 0 1-.607 1.055c-.247.351-.55.692-.909 1.022l-.049.044c-.428.378-.443 1.14-.013 1.516.232.202.432.419.601.648.404.55.685 1.121.842 1.715a4.66 4.66 0 0 1 .135 1.747 7.08 7.08 0 0 1-.27 1.516c-.584 1.89-1.628 3.374-3.132 4.45-1.482 1.056-3.548 1.583-6.198 1.583h-8.928a.692.692 0 0 1-.695-.782L142.311.921a.697.697 0 0 1 .695-.591h8.956c1.145 0 2.167.165 3.065.494.921.33 1.685.802 2.291 1.418.606.593 1.033 1.33 1.28 2.209.269.879.303 1.879.101 3zm-8.051 2.012c.741 0 1.325-.21 1.752-.627.449-.44.707-.923.775-1.45.09-.528-.023-1-.337-1.418-.292-.44-.82-.66-1.583-.66h-2.895a.696.696 0 0 0-.694.59l-.406 2.78a.691.691 0 0 0 .694.785h2.694zm-1.28 9.032c.899 0 1.606-.241 2.123-.725.538-.505.842-1.055.909-1.648a2.07 2.07 0 0 0-.438-1.648c-.382-.506-1.022-.759-1.92-.759h-2.891a.698.698 0 0 0-.696.593l-.48 3.407c-.058.413.27.78.696.78h2.697zM163.079 8.011c.202-1.34.652-2.505 1.348-3.495a9.593 9.593 0 0 1 2.593-2.505 11.606 11.606 0 0 1 3.369-1.516c1.235-.33 2.47-.495 3.705-.495 1.235 0 2.425.165 3.57.495 1.146.33 2.134.835 2.965 1.516a6.245 6.245 0 0 1 1.886 2.505c.426.99.539 2.154.337 3.495l-1.179 7.978c-.202 1.34-.652 2.517-1.348 3.527a9.329 9.329 0 0 1-2.526 2.506 11.578 11.578 0 0 1-3.368 1.484c-1.235.33-2.504.494-3.807.494-1.235 0-2.425-.165-3.57-.494-1.123-.33-2.1-.825-2.931-1.484a6.56 6.56 0 0 1-1.886-2.505c-.426-1.011-.539-2.187-.337-3.528l1.179-7.978zm4.851 7.978c-.068.418-.011.791.168 1.12.18.309.427.572.741.792.315.198.685.352 1.112.462.449.11.898.165 1.347.165.494 0 .977-.055 1.449-.165.494-.11.943-.275 1.347-.495.404-.22.741-.494 1.01-.824.292-.352.472-.758.539-1.22l1.179-7.813c.068-.44.023-.824-.134-1.154a2.099 2.099 0 0 0-.708-.824 3.38 3.38 0 0 0-1.145-.495 5.526 5.526 0 0 0-1.381-.164c-.494 0-.988.055-1.482.164-.472.11-.91.275-1.314.495-.404.22-.752.494-1.044.824-.27.33-.438.714-.505 1.154l-1.179 7.978zM186.795 8.011c.202-1.34.651-2.505 1.347-3.495a9.597 9.597 0 0 1 2.594-2.505 11.6 11.6 0 0 1 3.368-1.516c1.235-.33 2.47-.495 3.705-.495 1.235 0 2.426.165 3.571.495 1.145.33 2.133.835 2.964 1.516a6.227 6.227 0 0 1 1.886 2.505c.427.99.539 2.154.337 3.495l-1.179 7.978c-.202 1.34-.651 2.517-1.347 3.527a9.357 9.357 0 0 1-2.526 2.506 11.596 11.596 0 0 1-3.369 1.484c-1.235.33-2.504.494-3.806.494a12.85 12.85 0 0 1-3.571-.494c-1.122-.33-2.099-.825-2.93-1.484a6.54 6.54 0 0 1-1.886-2.505c-.427-1.011-.539-2.187-.337-3.528l1.179-7.978zm4.85 7.978c-.067.418-.011.791.169 1.12.179.309.426.572.741.792a3.9 3.9 0 0 0 1.111.462c.449.11.898.165 1.348.165a6.36 6.36 0 0 0 1.448-.165c.494-.11.943-.275 1.347-.495.405-.22.741-.494 1.011-.824.292-.352.471-.758.539-1.22l1.179-7.813c.067-.44.022-.824-.135-1.154a2.096 2.096 0 0 0-.707-.824 3.394 3.394 0 0 0-1.146-.495 5.52 5.52 0 0 0-1.381-.164c-.494 0-.988.055-1.482.164-.471.11-.909.275-1.313.495-.405.22-.753.494-1.045.824a2.35 2.35 0 0 0-.505 1.154l-1.179 7.978zM211.767 16.768c.319-.258.794-.187 1.08.107.448.46.994.824 1.638 1.092.898.374 1.796.56 2.695.56.808 0 1.527-.142 2.155-.428.629-.286 1-.736 1.112-1.352.067-.351 0-.66-.202-.923a2.178 2.178 0 0 0-.842-.692 5.777 5.777 0 0 0-1.28-.429c-.472-.132-.943-.23-1.415-.296a9.636 9.636 0 0 1-2.695-.857 7.63 7.63 0 0 1-2.155-1.682 6.176 6.176 0 0 1-1.314-2.373c-.27-.924-.303-1.935-.101-3.033.224-1.187.64-2.187 1.246-3a7.498 7.498 0 0 1 2.257-2.011A9.23 9.23 0 0 1 216.809.33c1.055-.22 2.133-.33 3.234-.33.718 0 1.426.055 2.122.165.696.11 1.37.308 2.021.593.651.286 1.269.67 1.852 1.154a8.82 8.82 0 0 1 1.231 1.26c.241.298.16.73-.159.945l-3.288 2.228c-.292.198-.686.146-.953-.083a4.582 4.582 0 0 0-1.412-.822 6.756 6.756 0 0 0-2.122-.429c-.763-.022-1.426.11-1.987.396-.561.285-.876.725-.943 1.318-.09.682.135 1.198.674 1.55.538.33 1.268.593 2.189.79 1.033.199 2.032.462 2.998.792.988.308 1.819.77 2.492 1.385.697.593 1.202 1.373 1.516 2.34.315.945.337 2.143.068 3.594-.225 1.143-.64 2.143-1.247 3a7.922 7.922 0 0 1-2.189 2.11c-.876.571-1.886 1-3.032 1.285a14.575 14.575 0 0 1-3.604.429c-.718 0-1.471-.088-2.257-.264a11.068 11.068 0 0 1-2.257-.79 10.823 10.823 0 0 1-2.054-1.32c-.493-.399-.928-.849-1.306-1.349-.208-.277-.143-.66.128-.88l3.243-2.629zM243.571 5.703a.698.698 0 0 0-.696.593l-2.359 16.781a.697.697 0 0 1-.695.593h-4.68a.692.692 0 0 1-.695-.78l2.306-16.406a.692.692 0 0 0-.695-.78h-4.817a.692.692 0 0 1-.694-.787l.603-4.033a.698.698 0 0 1 .695-.587h17.545c.428 0 .756.371.694.786l-.603 4.033a.697.697 0 0 1-.694.587h-5.215z"});function f(e){var t=e.width,n=void 0===t?251:t,r=e.height,a=void 0===r?24:r,l=e.color,f=void 0===l?"currentColor":l,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 251 24"}),s("g",{fill:f,className:c},void 0,d))}f.displayName="PremiumGuildSubscriptionLogoCentered"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=P;var r,a=M(n(0)),o=C(n(9)),i=n(3),l=n(42),u=C(n(40)),s=C(n(29)),d=C(n(61)),f=M(n(8293)),c=C(n(255)),p=C(n(8287)),v=C(n(47)),y=C(n(8265)),m=n(8657),_=n(392),h=n(1209),E=n(698),g=C(n(9612)),S=C(n(9614)),O=n(1),I=C(n(6)),T=C(n(7603));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var A=N(c.default,{});function P(e){var t,n,r=e.channel,c=e.className,C=e.onClose,b=a.useState(m.StatusTab.Active),M=b[0],P=b[1],R=(0,i.useStateFromStores)([u.default],(function(){return u.default.can(O.Permissions.READ_MESSAGE_HISTORY,r)})),L=(0,h.useCanStartThread)(r),D=function(){C(),y.default.openThreadSidebarForCreating(r,void 0,"Thread Browser Empty State")},w=a.useCallback((function(e,t){C(),t?y.default.openThreadSidebarForViewing(e):(0,l.transitionToThread)(e.guild_id,e.id,_.OpenThreadAnalyticsLocations.BROWSER)}),[C]);return a.useEffect((function(){R||M===m.StatusTab.Active||P(m.StatusTab.Active)}),[R,M]),a.useEffect((function(){M===m.StatusTab.Active&&(0,E.trackThreadBrowserTab)("Active Threads")}),[M]),N("div",{className:(0,o.default)(c,T.default.container)},void 0,N("div",{className:T.default.header},void 0,N(p.default,{className:T.default.threadIcon}),N(v.default,{size:v.default.Sizes.SIZE_16,className:T.default.title},void 0,I.default.Messages.THREAD_BROWSER_TITLE),R?a.createElement(a.Fragment,null,N("div",{className:T.default.divider}),N(f.default,{selectedItem:M,type:f.Types.TOP_PILL,onItemSelect:P,className:T.default.tabBar},void 0,N(f.Item,{id:m.StatusTab.Active,className:(0,o.default)(T.default.tab,(t={},t[T.default.active]=M===m.StatusTab.Active,t))},void 0,I.default.Messages.THREAD_BROWSER_ACTIVE),N(f.Item,{id:m.StatusTab.Archived,className:(0,o.default)(T.default.tab,(n={},n[T.default.active]=M===m.StatusTab.Archived,n))},void 0,I.default.Messages.THREAD_BROWSER_ARCHIVED))):null,N("div",{className:T.default.spacer}),L?N(s.default,{size:s.default.Sizes.MIN,className:T.default.createButton,onClick:D},void 0,I.default.Messages.CREATE):null,N(d.default,{className:T.default.closeIcon,onClick:C,"aria-label":I.default.Messages.CLOSE},void 0,A)),M===m.StatusTab.Active?N(g.default,{channel:r,startThread:D,gotoThread:w}):N(S.default,{channel:r,startThread:D,gotoThread:w}))}P.displayName="ThreadBrowser"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchUserAffinities=function(e){void 0===e&&(e=!0);return o.default.needsRefresh()?(a.default.dirtyDispatch({type:i.ActionTypes.LOAD_USER_AFFINITIES}),r.default.get({url:i.Endpoints.USER_AFFINITIES,retries:e?3:0,oldFormErrors:!0}).then((function(e){var t=e.body;a.default.dispatch({type:i.ActionTypes.LOAD_USER_AFFINITIES_SUCCESS,affinities:t})}),(function(){a.default.dispatch({type:i.ActionTypes.LOAD_USER_AFFINITIES_FAILURE})}))):Promise.resolve()};var r=l(n(14)),a=l(n(2)),o=l(n(8415)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfettiCannon=t.ConfettiCanvas=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=s(n(8)),o=s(n(98)),i=n(57),l=n(483),u=s(n(7616));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,v(e,t)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){return e*(Math.PI/180)}var m=function(){function e(e){var t,n=e.sourceX,r=void 0===n?0:n,a=e.sourceY,i=void 0===a?0:a,l=e.sourceWidth,u=void 0===l?0:l,s=e.sourceHeight,d=void 0===s?0:s,f=e.size,c=e.x,p=e.y,v=e.color,m=e.rotation,_=void 0===m?0:m,h=e.rotationIncremental,E=void 0===h?0:h,g=e.angle,S=void 0===g?0:g,O=e.velocity,I=void 0===O?0:O,T=e.skew,C=void 0===T?0:T,b=e.skewAngleIncremental,M=void 0===b?0:b,N=e.gravity,A=void 0===N?0:N,P=e.dragCoefficient,R=void 0===P?0:P;this.id=o.default.v4(),this.creationTime=Date.now(),this.currentTime=Date.now(),this.rotationIncremental=E,this.rotation=_,this.velocityY=I*(t=S,Math.cos(y(t))),this.velocityX=I*function(e){return Math.sin(y(e))}(S),this.height=f,this.width=f,this.skewAngle=0,this.skew=0,this.skewCoefficient=C,this.skewAngleIncremental=M,this.position={x:c,y:p},this.color=v,this.gravity=A,this.dragCoefficient=R,this.sourceX=r,this.sourceY=i,this.sourceWidth=u,this.sourceHeight=d}e.drawSprite=function(e){var t=e.image,n=e.context,r=e.color,a=e.x,o=e.y,i=e.width,u=e.height;n.drawImage(t,a,o,i,u);for(var s=n.getImageData(a,o,i,u),d=(0,l.hexToRgb)(r),f=0;f<s.data.length;f+=4)s.data[f]=d.r,s.data[f+1]=d.g,s.data[f+2]=d.b;n.putImageData(s,a,o)};var t=e.prototype;return t.update=function(){var e=Date.now(),t=(e-this.currentTime)/100,n=this.gravity*t,r=this.velocityX>0?-1:1,a=this.velocityY>0?-1:1,o=Math.min(n,this.dragCoefficient*this.velocityX*this.velocityX)*r,i=Math.min(n,this.dragCoefficient*this.velocityY*this.velocityY)*a;this.velocityY+=n+i,this.velocityX+=o,this.position.x+=this.velocityX*t,this.position.y+=this.velocityY*t,this.rotation+=this.rotationIncremental*t,this.skewAngle+=this.skewAngleIncremental,this.skew=Math.sin(this.skewAngle)*this.skewCoefficient,this.currentTime=e},t.draw=function(e,t,n){t.save(),t.setTransform(1,this.skew/n,0,1,this.position.x,this.position.y),t.translate(this.width/2,this.height/2),t.rotate(this.rotation/n),t.translate(-this.width/2,-this.height/2),t.drawImage(e,this.sourceX*n,this.sourceY*n,this.sourceWidth*n,this.sourceHeight*n,0,0,this.width*n,this.width*n),t.restore()},e}(),_=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={canvas:null},t._confetti=new Map,t._animationFrameRequestId=null,t._isUnmounted=!1,t.setCanvasSize=function(){var e=t.state.canvas;if(null!=e){var n=e.getBoundingClientRect(),r=n.width,a=n.height;e.width=r*t.devicePixelRatio,e.height=a*t.devicePixelRatio}},t.handleSetCanvas=function(e){t.setState({canvas:e})},t.handleTick=function(){if(!t._isUnmounted){var e=t.state.canvas;if(null!=e){var n=e.getContext("2d");null!=n&&(n.clearRect(0,0,e.width,e.height),t._confetti.forEach((function(e,r){e.confetti.update(),e.confetti.draw(e.spriteCanvas,n,t.devicePixelRatio),t.shouldDestroy(e.confetti)&&t._confetti.delete(r)})),t._confetti.size>0?t._animationFrameRequestId=window.requestAnimationFrame(t.handleTick):(n.clearRect(0,0,e.width,e.height),t._animationFrameRequestId=null))}}},t.handleAddConfetti=function(e,n){t._confetti.set(e.id,{confetti:e,spriteCanvas:n}),null==t._animationFrameRequestId&&t.handleTick()},t}p(t,e);var n=t.prototype;return n.componentDidMount=function(){window.addEventListener("resize",this.setCanvasSize)},n.componentWillUnmount=function(){this._isUnmounted=!0,window.removeEventListener("resize",this.setCanvasSize)},n.componentDidUpdate=function(e,t){null!=this.state.canvas&&null==t.canvas&&this.setCanvasSize()},n.shouldDestroy=function(e){var t=this.state.canvas;return null!=t&&(e.velocityY>0&&e.position.y-e.height*this.devicePixelRatio>t.height||e.velocityX>0&&e.position.x-e.width*this.devicePixelRatio>t.width||e.velocityX<0&&e.position.x+e.width*this.devicePixelRatio<0)},n.render=function(){var e=this.state.canvas;return r.createElement(r.Fragment,null,null!=e?this.props.children({canvas:e,setCanvasSize:this.setCanvasSize,addConfetti:this.handleAddConfetti}):null,r.createElement("canvas",{key:"canvas",className:this.props.className,ref:this.handleSetCanvas}))},c(t,[{key:"devicePixelRatio",get:function(){return window.devicePixelRatio||1}}]),t}(r.Component);t.ConfettiCanvas=_,_.displayName="ConfettiCanvas";var h=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._spriteCanvas=null,t._interval=new i.Interval,t._spriteContext=null,t._fireCount=0,t._sprites=[],t._cachedDevicePixelRatio=window.devicePixelRatio||0,t.setSpriteCanvasSize=function(){if(null!=t._spriteCanvas){var e=t.props,n=e.size,r=e.sizeSpread,a=e.colors,o=e.sprites;t._spriteCanvas.width=(n+r+2)*a.length*t.devicePixelRatio,t._spriteCanvas.height=(n+r+2)*o.length*t.devicePixelRatio}},t.fireCannon=function(){var e=t.props,n=e.delay,r=e.setCanvasSize;t._fireCount>=n&&t.shouldFire()?(t.devicePixelRatio!==t._cachedDevicePixelRatio&&(r(),t.setSpriteCanvasSize(),t.drawSprites(),t._cachedDevicePixelRatio=t.devicePixelRatio),t.addConfetti(),t._fireCount++,t.shouldFire()||t.stopCannon()):t.stopCannon()},t.handleSetSpriteCanvas=function(e){t._spriteCanvas=e,t.setSpriteCanvasSize()},t}p(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this;this._spriteContext=this.spriteCanvas.getContext("2d");var t=this.props.sprites.map((function(e){var t=new Image;t.src=e;var n=new Promise((function(e){t.onload=function(){return e()}}));return{image:t,loadPromise:n}}));this._sprites=t.map((function(e){return e.image})),Promise.all(t.map((function(e){return e.loadPromise}))).then((function(){return e.drawSprites()})),this.startCannon()},n.componentDidUpdate=function(e){e.firing!==this.props.firing&&(this.stopCannon(),this.startCannon())},n.componentWillUnmount=function(){this.stopCannon()},n.drawSprites=function(){var e=this,t=this._spriteContext;if(null!=t){var n=this.props,r=n.size,a=n.sizeSpread,o=n.colors,i=r+a;this._sprites.forEach((function(n,r){o.forEach((function(a,o){m.drawSprite({image:n,context:t,color:a,x:(i*o+2*o)*e.devicePixelRatio,y:(i*r+2*r)*e.devicePixelRatio,width:i*e.devicePixelRatio,height:i*e.devicePixelRatio})}))}))}},n.startCannon=function(){var e=this.props,t=e.firing,n=e.interval;this._fireCount=0,t&&(0===n&&this._fireCount?this.fireCannon():this._interval.start(n,this.fireCannon))},n.stopCannon=function(){this._interval.stop()},n.shouldFire=function(){var e=this.props,t=e.firing,n=e.fireCount,r=e.delay;return t&&(-1===n||this._fireCount<n+r)},n.createConfetti=function(){var e=this.props,t=e.canvas,n=e.position,r=e.angle,o=e.angleSpread,i=e.velocity,l=e.velocitySpread,u=e.size,s=e.minRotation,d=e.maxRotation,f=e.minRotationIncremental,c=e.maxRotationIncremental,p=e.skew,v=e.skewSpread,y=e.skewAngleIncremental,_=e.skewAngleIncrementalSpread,h=e.sizeSpread,E=e.gravity,g=e.dragCoefficient,S=e.colors,O=r-o/2,I=r+o/2,T=Math.max(E,i-l),C=i+l,b=Math.max(0,u-h),M=u+h,N=p-v,A=p+v,P=Math.max(0,y-_),R=y+_,L=t.width*(n.x/100),D=t.height*(n.y/100),w=a.default.random(s,d),j=a.default.random(f,c)*this.devicePixelRatio,k=S[a.default.random(S.length-1)],U=a.default.random(S.length-1),G=a.default.random(this._sprites.length-1),F={sourceWidth:M,sourceHeight:M,sourceX:U*M+2*U,sourceY:G*M+2*G,size:a.default.random(b,M),x:L,y:D,color:k,rotation:w,rotationIncremental:j,angle:a.default.random(O,I),velocity:a.default.random(T,C)*this.devicePixelRatio,skew:a.default.random(N,A)*this.devicePixelRatio,skewAngleIncremental:a.default.random(P,R)*this.devicePixelRatio,gravity:E*this.devicePixelRatio,dragCoefficient:g*this.devicePixelRatio};return new m(F)},n.addConfetti=function(){for(var e=this.props.addConfetti,t=0;t<this.props.count;t++){e(this.createConfetti(),this.spriteCanvas)}},n.render=function(){return r.createElement("canvas",{key:"sprite-canvas",className:u.default.spriteCanvas,ref:this.handleSetSpriteCanvas})},c(t,[{key:"spriteCanvas",get:function(){if(null==this._spriteCanvas)throw new Error("Unable to get sprite canvas");return this._spriteCanvas}},{key:"devicePixelRatio",get:function(){return window.devicePixelRatio||1}}]),t}(r.Component);t.ConfettiCannon=h,h.displayName="ConfettiCannon",h.defaultProps={count:50,position:{x:50,y:100},delay:0,fireCount:-1,firing:!0,angle:180,angleSpread:80,velocity:65,velocitySpread:50,size:12,sizeSpread:7,minRotation:0,maxRotation:359,minRotationIncremental:-.06,maxRotationIncremental:.06,skew:0,skewSpread:.5,skewAngleIncremental:.05,skewAngleIncrementalSpread:.01,gravity:9.8,dragCoefficient:.001,interval:1e3/60}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ChatLayerProvider=t.ChatLayerContainer=void 0;var r=(0,n(423).createLayer)("Chat"),a=r.Layer,o=r.LayerContainer,i=r.LayerProvider,l=o;t.ChatLayerContainer=l;var u=i;t.ChatLayerProvider=u;var s=a;t.default=s},function(e,t,n){e.exports=n.p+"f78b68c74574f5aa4ddb092d24b9a2c0.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=null;var u=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var a=r.prototype;return a.initialize=function(e){var t;l=null!==(t=null==e?void 0:e.type)&&void 0!==t?t:null},a.getType=function(){return l},a.getState=function(){return{type:l}},r}(r.default.PersistedStore);u.persistKey="nuf";var s=new u(a.default,{NUF_NEW_USER:function(e){var t=e.newUserType;l=t},NUF_COMPLETE:function(e){l=null}});t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n;return e.type!==r.ParticipantTypes.ACTIVITY&&(e.type===r.ParticipantTypes.STREAM?null!=e.streamId:null!==(t=null===(n=e.voiceState)||void 0===n?void 0:n.selfVideo)&&void 0!==t&&t)};var r=n(691)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return i[e]};var r,a=n(34),o=n(691),i=Object.freeze(((r={})[o.ParticipantTypes.STREAM]=a.MediaEngineContextTypes.STREAM,r[o.ParticipantTypes.USER]=a.MediaEngineContextTypes.DEFAULT,r[o.ParticipantTypes.ACTIVITY]=a.MediaEngineContextTypes.DEFAULT,r))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.VideoStreamFit=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=f(n(9)),l=n(252),u=f(n(8524)),s=f(n(151)),d=f(n(7939));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.VideoStreamFit=a,function(e){e.CONTAIN="contain",e.COVER="cover"}(a||(t.VideoStreamFit=a={}));var y=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).handleReady=function(){n.state.loading&&n.setState({loading:!1})},n.state={loading:!0},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var a=r.prototype;return a.renderPlaceholder=function(){var e=this.props.streamPreviewURL,t=null!=e?p("img",{src:e,alt:"",className:d.default.previewImage}):p(u.default,{aspectRatio:16/9,className:d.default.emptyPreviewWrapper},void 0,p("div",{className:d.default.emptyPreview}));return p(o.Fragment,{},void 0,t,p(s.default,{className:d.default.spinner}))},a.render=function(){var e,t,n=this.props,r=n.streamId,a=n.onResize,o=n.wrapperClassName,u=n.videoComponent,s=n.className,f=n.fit,c=n.mirror,v=n.paused,y=this.state.loading;return p("div",{className:(0,i.default)(d.default.wrapper,o)},void 0,null!=r&&p(u,{className:(0,i.default)(d.default.video,(0,l.getClass)(d.default,"video",f),(e={},e[d.default.mirror]=c,e),s),streamId:r,onResize:a,onReady:this.handleReady,paused:v}),v?null:p("div",{className:(0,i.default)(d.default.previewWrapper,(t={},t[d.default.loading]=y,t))},void 0,y&&this.renderPlaceholder()))},r}(o.PureComponent);y.displayName="VideoStream",y.Fit=a,y.defaultProps={fit:a.CONTAIN,mirror:!1,paused:!1};var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.74273 19H16C17.103 19 18 18.104 18 17V14.618L20.553 15.894C20.694 15.965 20.847 16 21 16C21.183 16 21.365 15.949 21.526 15.851C21.82 15.668 22 15.347 22 15V9C22 8.653 21.82 8.332 21.526 8.149C21.231 7.966 20.862 7.951 20.553 8.105L18 9.382V7.74273L6.74273 19ZM12.2574 5H4C2.897 5 2 5.897 2 7V15.2574L12.2574 5Z",fill:d}),s("rect",{y:"19.9623",width:"26",height:"2",transform:"rotate(-45 0 19.9623)",className:f,fill:d}))}d.displayName="CallVideoCameraDisabled"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(3)),a=u(n(2)),o=n(364),i=n(196),l=n(140);n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d={},f={},c=new Set;function p(){d={},f={}}var v=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var u=r.prototype;return u.getPreviewURL=function(e,t,n){var r=(0,l.encodeStreamKey)({streamType:null!=e?i.StreamTypes.GUILD:i.StreamTypes.CALL,guildId:e,channelId:t,ownerId:n}),u=d[r];return null==u||Date.now()>u.expires?(c.has(r)||(c.add(r),a.default.wait((function(){(0,o.fetchStreamPreview)(e,t,n)}))),null):u.url},u.getPreviewURLForStreamKey=function(e){var t=(0,l.decodeStreamKey)(e),n=t.guildId,r=t.channelId,a=t.ownerId;return this.getPreviewURL(n,r,a)},u.getIsPreviewLoading=function(e,t,n){var r=(0,l.encodeStreamKey)({streamType:null!=e?i.StreamTypes.GUILD:i.StreamTypes.CALL,guildId:e,channelId:t,ownerId:n});return c.has(r)},r}(r.default.Store))(a.default,{CONNECTION_OPEN:function(e){return p()},LOGOUT:function(e){return p()},STREAM_PREVIEW_FETCH_START:function(e){var t=e.streamKey;f[t]=(f[t]||0)+1,c.add(t)},STREAM_PREVIEW_FETCH_SUCCESS:function(e){var t=e.streamKey,n=e.previewURL;d[t]={url:n,expires:Date.now()+12e4},f[t]=0,c.delete(t)},STREAM_PREVIEW_FETCH_FAIL:function(e){var t=e.streamKey,n=e.retryAfter;d[t]={url:null,expires:Date.now()+(null!=n?n:1e4*f[t])},c.delete(t)},VOICE_STATE_UPDATE:function(e){var t=e.userId,n=e.guildId,r=e.channelId;if(e.selfStream)return!1;var a=(0,l.encodeStreamKey)({streamType:null!=n?i.StreamTypes.GUILD:i.StreamTypes.CALL,guildId:n,channelId:r,ownerId:t});delete d[a],delete f[a]}});t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=s(n(9)),o=s(n(8744)),i=s(n(8288)),l=s(n(6)),u=s(n(7957));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}function c(e){var t,n=e.popoutOpen,s=e.onClosePopout,d=e.onOpenPopout,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["popoutOpen","onClosePopout","onOpenPopout"]),p=n?l.default.Messages.POPOUT_RETURN:l.default.Messages.POPOUT_PLAYER;return r.createElement(i.default,f({label:p,onClick:n?s:d,iconComponent:o.default,iconClassName:(0,a.default)((t={},t[u.default.popIn]=n,t))},c))}c.displayName="PopoutButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(9)),i=m(n(8273)),l=m(n(8264)),u=m(n(8268)),s=m(n(55)),d=m(n(278)),f=m(n(279)),c=m(n(24)),p=m(n(8300)),v=n(1),y=m(n(7621));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(){return(h=Object.assign||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}).apply(this,arguments)}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var S=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={popoutOpen:!1},t.handleClickUser=function(){var e=t.props.onPopoutOpen;t.setState({popoutOpen:!t.state.popoutOpen}),e&&e()},t.handleUserPopoutClose=function(){var e=t.props.onPopoutClose;t.setState({popoutOpen:!1}),e&&e()},t.renderUserPopout=function(e){var n,r=t.props,a=r.className,i=r.disablePopout,l=r.onContextMenu,u=r.user,d=r.status,v=r.textClassName,m=r.nick,_=r.guildId;return E(s.default,{align:s.default.Align.CENTER,className:(0,o.default)(y.default.memberListItem,a,(n={},n[y.default.popoutDisabled]=i,n)),onContextMenu:l,onMouseDown:e.onMouseDown,onKeyDown:e.onKeyDown,onClick:t.handleClickUser},void 0,E(f.default,{src:u.getAvatarURL(_),className:y.default.avatar,"aria-label":u.username,size:f.default.Sizes.SIZE_24,status:d}),E(c.default,{className:(0,o.default)(y.default.memberListItemTag,v)},void 0,E(p.default,{user:u,nick:m,usernameClass:y.default.username,hideDiscriminator:!0})))},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,g(t,n),r.prototype.render=function(){var e=this,t=this.state.popoutOpen,n=this.props,r=n.user,o=n.analyticsContext,i=n.disablePopout,s=n.guildId,f={location:h({},o.location,{object:v.AnalyticsObjects.LIST_ITEM})};return E(d.default,{preload:function(){return(0,l.default)(r.id,r.getAvatarURL(s))},renderPopout:function(e){return a.createElement(u.default,h({},e,{userId:r.id,analyticsParams:f}))},position:d.default.Positions.LEFT,onRequestClose:this.handleUserPopoutClose,shouldShow:!i&&t},void 0,(function(t){return e.renderUserPopout(t)}))},r}(a.Component);S.displayName="UserListItem",S.defaultProps={disablePopout:!1};var O=(0,i.default)(S);t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fillRule:"evenodd",clipRule:"evenodd",d:"M20 11V13.5H4V4.5H13V2.5H4C3.46957 2.5 2.96086 2.71071 2.58579 3.08579C2.21071 3.46086 2 3.96957 2 4.5L2 15.5C2 16.0304 2.21071 16.5391 2.58579 16.9142C2.96086 17.2893 3.46957 17.5 4 17.5H11V19.5H7V21.5H17V19.5H13V17.5H20C20.5304 17.5 21.0391 17.2893 21.4142 16.9142C21.7893 16.5391 22 16.0304 22 15.5V11H20Z",fill:d}),s("path",{className:f,fillRule:"evenodd",clipRule:"evenodd",d:"M23 2.45174L21.5483 1L19.0051 3.55341L16.4517 1L15 2.45174L17.5534 4.99485L15 7.54826L16.4517 9L19.0051 6.44659L21.5483 9L23 7.54826L20.4466 4.99485L23 2.45174Z",fill:d}))}d.displayName="StopWatchingStream"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuickSelectPopout=T,t.default=void 0;var r,a=y(n(0)),o=p(n(9)),i=y(n(680)),l=p(n(61)),u=p(n(55)),s=n(721),d=n(85),f=p(n(272)),c=p(n(7637));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function m(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function _(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){m(o,r,a,i,l,"next",e)}function l(e){m(o,r,a,i,l,"throw",e)}i(void 0)}))}}function h(){return(h=Object.assign||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}).apply(this,arguments)}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,S(e,t)}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var O=function(e){function t(){return e.apply(this,arguments)||this}return g(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.value,r=e.renderValue,a=e.className;return E(u.default,{className:(0,o.default)(c.default.quickSelect,a),align:u.default.Align.CENTER},void 0,E("div",{className:c.default.quickSelectLabel},void 0,t),E(u.default,{align:u.default.Align.CENTER,className:c.default.quickSelectClick},void 0,E("div",{className:c.default.quickSelectValue},void 0,r?r(n):n.label),E("div",{className:c.default.quickSelectArrow})))},t}(a.PureComponent);O.displayName="QuickSelect";var I=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(){var e=t.props,n=e.option,r=e.onChange;r&&r(n)},t}return g(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.selected,r=t.renderOption,u=t.option;return E(i.ListNavigatorItem,{id:u.key},void 0,(function(t){return a.createElement(l.default,h({focusProps:{enabled:!1},className:(0,o.default)(c.default.quickSelectPopoutOption,{selected:n}),onClick:e.handleClick},t,{role:"option"}),r(u,n))}))},t}(a.PureComponent);function T(e){var t,n=e.options,r=e.value,l=e.scroller,u=e.renderOption,p=e.onChange,v=e.className,y=(0,o.default)(c.default.quickSelectPopout,v,((t={})[c.default.quickSelectPopoutScroll]=l,t)),m=n.map((function(e){var t=null!=r&&e.value===r.value,n=t?void 0:p;return E(I,{className:c.default.quickSelectPopoutOption,renderOption:u,option:e,onChange:n,selected:t},e.key||e.value)})),g=(0,d.useUID)(),S=(0,i.default)({id:g,isEnabled:!0,wrap:!0,scrollToStart:function(){return _(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()},scrollToEnd:function(){return _(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()}}),O=S.containerProps,T=O.ref,C=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(O,["ref"]);return(0,s.useFocusLock)(T),E(i.ListNavigatorProvider,{navigator:S},void 0,a.createElement("div",h({ref:T,className:y},C,{role:"listbox"}),l?E(f.default,{className:c.default.quickSelectScroller},void 0,m):m))}I.displayName="QuickSelectPopoutOption",T.displayName="QuickSelectPopout";var C=O;t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RegionSelectModal=t.RegionName=t.RegionFlag=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(9)),i=n(3),l=y(n(8664)),u=y(n(8665)),s=y(n(61)),d=y(n(151)),f=n(35),c=n(41),p=y(n(6)),v=y(n(7638));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var E=function(e){var t,r,a=e.region,i=e.className,l=void 0===i?v.default.regionSelectFlag:i;if("unknown"===a.id)r=n(8454);else{var u=a.id.replace(/^vip-/,"");try{r=n(8951)("./"+u+".png")}catch(e){r=n(8454)}}return h("div",{className:(0,o.default)(l,(t={},t[v.default.vip]=a.vip,t)),style:{backgroundImage:'url("'+r+'")'}})};t.RegionFlag=E,E.displayName="RegionFlag";var g=function(e){var t=e.region,n=e.className;return h("div",{className:void 0===n?v.default.regionSelectName:n},void 0,t.name.replace(/ \(VIP\)$/,""))};t.RegionName=g,g.displayName="RegionName";var S=function(e){var t=e.region,n=e.onClick;return h(s.default,{className:v.default.regionSelectModalOption,onClick:function(){return n(t)}},void 0,h(E,{region:t}),h(g,{region:t}))};S.displayName="RegionOption";var O=function(e){var t=e.onChange,n=e.onClose,r=e.regions,a=e.transitionState;function o(e){t(e),n&&n()}return h(f.ModalRoot,{transitionState:a,className:v.default.regionSelectModal,"aria-label":p.default.Messages.REGION_SELECT_HEADER},void 0,h("div",{className:v.default.regionSelectModalHeader},void 0,p.default.Messages.REGION_SELECT_HEADER),h("div",{className:v.default.regionSelectModalOptions},void 0,r.map((function(e,t){return h(S,{region:e,onClick:o},t)}))),h("div",{className:v.default.regionSelectModalFooter},void 0,p.default.Messages.REGION_SELECT_FOOTER))};t.RegionSelectModal=O,O.displayName="RegionSelectModal";var I=function(e){var t,n=e.guildId,r=void 0===n?null:n,f=e.id,y=e.onChange,m=e.value,S=e.disabled,I=void 0!==S&&S,T=e.changeRegionButtonText,C=void 0===T?p.default.Messages.CHANGE:T,b=(0,i.useStateFromStores)([u.default],(function(){return u.default.getRegions(r)}),[r]);function M(e){y(e.id)}if(a.useEffect((function(){null==b&&l.default.fetchRegions(r)}),[r,b]),null==b)return h("div",{className:(0,o.default)(v.default.regionSelect,v.default.regionSelectLoading)},void 0,h(d.default,{type:d.default.Type.CHASING_DOTS}));var N=b.find((function(e){return e.id===m}))||{id:"unknown",name:p.default.Messages.UNKNOWN_REGION,vip:!1,sample_hostname:"",sample_port:0,optimal:!1,deprecated:!1};return h(s.default,{className:(0,o.default)(v.default.regionSelect,(t={},t[v.default.disabled]=I,t)),onClick:function(){if(null!=b){var e=b.filter((function(e){return!e.deprecated}));(0,c.openModal)((function(t){return a.createElement(O,_({regions:e,onChange:M},t))}))}}},void 0,h("div",{id:f,className:v.default.regionSelectInner},void 0,h(E,{region:N}),h(g,{region:N})),h("button",{type:"button"},void 0,C))};I.displayName="RegionSelect";var T=I;t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{foreground:f,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M11 5V3C16.515 3 21 7.486 21 13H19C19 8.589 15.411 5 11 5ZM17 13H15C15 10.795 13.206 9 11 9V7C14.309 7 17 9.691 17 13ZM11 11V13H13C13 11.896 12.105 11 11 11ZM14 16H18C18.553 16 19 16.447 19 17V21C19 21.553 18.553 22 18 22H13C6.925 22 2 17.075 2 11V6C2 5.447 2.448 5 3 5H7C7.553 5 8 5.447 8 6V10C8 10.553 7.553 11 7 11H6C6.063 14.938 9 18 13 18V17C13 16.447 13.447 16 14 16Z"}))}d.displayName="CallJoin"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=y(n(23)),o=n(3),i=y(n(8283)),l=y(n(15)),u=y(n(40)),s=y(n(8368)),d=n(41),f=n(217),c=y(n(8288)),p=n(1),v=y(n(6));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e){var t=e.stream,n=e.channel,y=e.exitFullScreen,m=e.appContext,h=e.analyticsLocation,E=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["stream","channel","exitFullScreen","appContext","analyticsLocation"]),g=null==n?void 0:n.getGuildId(),S=(0,o.useStateFromStores)([l.default],(function(){return null!=g?l.default.getGuild(g):null}),[g]);return function(e,t){return null!=e&&null!=t&&u.default.can(p.Permissions.CREATE_INSTANT_INVITE,t)}(S,n)?r.createElement(c.default,_({onClick:function(){(0,a.default)(null!=S,"guild cannot be null"),(0,a.default)(null!=n,"channel cannot be null"),function(e,t,n,a,o,l){null==o||o(),(0,d.openModal)((function(a){return r.createElement(i.default,_({},a,{guild:e,channel:t,streamUserId:n,analyticsLocation:l,source:p.InstantInviteSources.STREAM_INVITE}))}),{modalKey:"stream-invite-modal"},a===p.AppContext.POPOUT?f.POPOUT_MODAL_CONTEXT:f.DEFAULT_MODAL_CONTEXT)}(S,n,null==t?void 0:t.ownerId,m,y,h)},iconComponent:s.default,label:v.default.Messages.ACTIVITY_INVITE_MODAL_INVITE},E)):null}h.displayName="InviteButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:f,fill:d,d:"M19 3H5V5H7V12H5V14H11V22H13V14H19V12H17V5H19V3Z"})))}d.displayName="PinLayer"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r},l=n(1);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}function d(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,u=e.color,f=void 0===u?"currentColor":u,c=e.foregroundColor,p=void 0===c?l.Colors.STATUS_RED:c,v=e.foreground,y=e.background,m=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foregroundColor","foreground","background"]);return o.createElement("svg",s({},(0,i.default)(m),{width:n,height:a,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),d("g",{fill:"none",fillRule:"evenodd"},void 0,d("path",{className:v,fill:p,d:"M21.47,3.39,20.14,2.05,2.53,19.66,3.86,21l4.41-4.4,1.3-1.31,1.75-1.74,3.83-3.83Z"})),d("g",{fill:"none"},void 0,d("polygon",{points:"17 11.14 16.55 11.59 14.14 14 19 14 19 12 17 12 17 11.14",className:y,fill:f}),d("polygon",{points:"16.91 3 5 3 5 5 7 5 7 12 5 12 5 14 5.91 14 16.91 3",className:y,fill:f}),d("polygon",{points:"12.72 15.42 11 17.14 11 22 13 22 13 15.14 12.72 15.42",className:y,fill:f})))}f.displayName="UnpinLayer"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=I;var r,a=E(n(0)),o=_(n(28)),i=_(n(282)),l=_(n(278)),u=_(n(8952)),s=n(8282),d=n(121),f=_(n(9706)),c=_(n(9711)),p=E(n(8963)),v=_(n(9713)),y=n(1),m=_(n(6));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function g(){return(g=Object.assign||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}).apply(this,arguments)}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var O=S(c.default,{});function I(e){var t=e.onOpen,n=e.onClose,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onOpen","onClose"]),c=a.useState(!1),_=c[0],h=c[1],E=function(){var e=a.useState((function(){return o.default.get("recentsButtonTab2")||p.Tab.Unreads})),t=e[0],n=e[1];return t!==p.Tab.Mentions&&t!==p.Tab.Unreads&&(t=p.Tab.Unreads),[t,a.useCallback((function(e){n(e),o.default.set("recentsButtonTab2",e)}),[])]}(),I=E[0],T=E[1],C=function(e){var t=a.useState((function(){return o.default.get("seenInboxTutorial",!1)})),n=t[0],r=t[1],i=a.useCallback((function(){r(!0),o.default.set("seenInboxTutorial",!0)}),[]);return{showTutorial:!n&&e===p.Tab.Unreads,setSeenTutorial:i}}(I),b=C.showTutorial,M=C.setSeenTutorial,N=a.useCallback((function(){h(!1),_&&(null==n||n())}),[n,_]),A=a.useCallback((function(){h(!_),_?null==n||n():null==t||t()}),[n,t,_]),P=a.useCallback((function(){A(),T(p.Tab.Unreads)}),[T,A]);a.useEffect((function(){return d.ComponentDispatch.subscribe(y.ComponentActions.TOGGLE_INBOX_UNREADS_TAB,P),function(){d.ComponentDispatch.unsubscribe(y.ComponentActions.TOGGLE_INBOX_UNREADS_TAB,P)}}),[P]);var R=a.useCallback((function(e){e.shiftKey||N()}),[N]),L=S(f.default,{onJump:R,header:S(p.default,{tab:I,setTab:T},void 0,O)}),D=S(v.default,{onJump:R,setTab:T,showTutorial:b,setSeenTutorial:M,closePopout:N});return S(l.default,{animation:l.default.Animation.NONE,position:l.default.Positions.BOTTOM,align:l.default.Align.RIGHT,autoInvert:!1,shouldShow:_,onRequestClose:N,renderPopout:function(){return S(i.default,{},void 0,I===p.Tab.Mentions?L:D)}},void 0,(function(e,t){return a.createElement(s.Icon,g({},r,e,{onClick:A,icon:u.default,"aria-label":m.default.Messages.INBOX,tooltip:t?null:m.default.Messages.INBOX,selected:t}))}))}I.displayName="RecentsButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(3)),a=u(n(2)),o=u(n(10)),i=u(n(400)),l=u(n(201));n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=null;var f=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(o.default,i.default,l.default)},a.getApps=function(){return d},r}(r.default.Store))(a.default,{USER_AUTHORIZED_APPS_UPDATE:function(e){d=e.apps}});t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(3)),a=d(n(28)),o=d(n(2)),i=n(1209),l=d(n(15)),u=d(n(107)),s=d(n(12));n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=new Date(Date.UTC(2021,6,30)),p=!1;function v(){if(Date.now()>0)return!1;var e=s.default.getCurrentUser(),t=u.default.getGuildId();if(!t||!e)return!1;if(a.default.get("seenThreadsWelcome")||!1)return!1;if(!(0,i.computeCanSeeThreadsInGuild)(t))return!1;var n=e.createdAt;return Date.now()-n.getTime()>=6048e5&&n<c&&(p=!0,a.default.set("seenThreadsWelcome",!0),!0)}var y=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(l.default,u.default,s.default)},a.getWillShow=function(){return p},r}(r.default.Store))(o.default,{CONNECTION_OPEN:function(e){return v()},CHANNEL_SELECT:function(e){return v()}});t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=null,s=[o.DispatchErrorCodes.REDISTRIBUTABLE_INSTALL_FAILED,o.DispatchErrorCodes.POST_INSTALL_FAILED,o.DispatchErrorCodes.POST_INSTALL_CANCELLED],d=[o.DispatchErrorCodes.APPLICATION_NOT_FOUND,o.DispatchErrorCodes.APPLICATION_LOAD_FAILED,o.DispatchErrorCodes.INTERRUPTED,o.DispatchErrorCodes.DESERIALIZATION_FAILED];var f=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n),r.prototype.getLastError=function(){return u},r}(r.default.Store))(a.default,{DISPATCH_APPLICATION_LAUNCH_SETUP_START:function(e){null!=u&&null!=u.code&&s.includes(u.code)&&(u=null)},DISPATCH_APPLICATION_ERROR:function(e){var t=e.error;u=null!=t.code&&d.includes(t.code)?null:t}});t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),a=l(n(28)),o=l(n(2)),i=l(n(8956));n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=null,d=null,f=null;var c=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var o=r.prototype;return o.initialize=function(){f=a.default.get("MaintenanceStore")},o.getIncident=function(){return s},o.getScheduledMaintenance=function(){return null!=d&&d.id!==f?d:null},r}(r.default.Store))(o.default,{CONNECTION_OPEN:function(e){return s=null,void i.default.checkScheduledMaintenances()},STATUS_PAGE_INCIDENT:function(e){s=e.incident},STATUS_PAGE_SCHEDULED_MAINTENANCE:function(e){d=e.maintenance},STATUS_PAGE_SCHEDULED_MAINTENANCE_ACK:function(e){return function(){if(null==d)return!1;f=d.id,a.default.set("MaintenanceStore",f)}()}});t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.surveyHide=function(e,t){a.default.dispatch({type:u.ActionTypes.SURVEY_HIDE,key:e}),t?o.default.track(u.AnalyticEvents.APP_NOTICE_CLOSED,{notice_type:u.NoticeTypes.SURVEY,survey_id:e,dismissed:t}):o.default.track(u.AnalyticEvents.APP_NOTICE_PRIMARY_CTA_OPENED,{notice_type:u.NoticeTypes.SURVEY})},t.surveyFetch=function(){return i.default.get({url:u.Endpoints.USER_SURVEY,trackedActionData:{event:r.NetworkActionNames.USER_SURVEY_FETCH,metadata:function(e){var t,n=null==e||null===(t=e.body)||void 0===t?void 0:t.survey;return(0,l.exact)({key:null==n?void 0:n.key})}}}).then((function(e){var t;a.default.dispatch({type:u.ActionTypes.SURVEY_FETCHED,survey:null==e||null===(t=e.body)||void 0===t?void 0:t.survey})}),(function(){a.default.dispatch({type:u.ActionTypes.SURVEY_FETCHED,survey:null})}))};var r=n(95),a=s(n(2)),o=s(n(13)),i=s(n(482)),l=n(1274),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=l(n(98)),i=l(n(22));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t=e.width,n=void 0===t?24:t,r=e.height,l=void 0===r?24:r,u=e.color,f=void 0===u?"currentColor":u,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]),v=a.useRef(o.default.v4());return a.createElement("svg",s({},(0,i.default)(p),{width:n,height:l,viewBox:"0 0 24 24"}),d("g",{"clip-path":"url(#"+v.current+")"},void 0,d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.92871 13.4149L10.5857 19.0709L18.3639 11.2927C19.7781 9.87859 22.6066 6.48376 21.1923 2.80748C17.5153 1.3932 14.1213 4.22173 12.7074 5.63625L4.92871 13.4149ZM16.064 9.93309C17.1686 9.93309 18.064 9.03766 18.064 7.93309C18.064 6.82852 17.1686 5.93309 16.064 5.93309C14.9594 5.93309 14.064 6.82852 14.064 7.93309C14.064 9.03766 14.9594 9.93309 16.064 9.93309Z",fill:f,className:c}),d("path",{d:"M3.41357 16.7844C2.34946 17.8496 2.00004 22 2.00004 22C2.00004 22 6.15125 21.6521 7.21627 20.5869C7.71243 20.0915 7.96638 19.4494 8 18.8004L5.21285 18.7866L5.19829 16C4.54947 16.0336 3.90973 16.2881 3.41357 16.7844Z",fill:f,className:c}),d("path",{d:"M9.17144 9.17151H3.51459L1.74684 10.9393L6.34302 11.9999L9.17144 9.17151Z",fill:f,className:c}),d("path",{d:"M14.8283 14.8283V20.4852L13.0606 22.2529L11.9999 17.6568L14.8283 14.8283Z",fill:f,className:c})),d("defs",{},void 0,d("clipPath",{id:v.current},void 0,d("rect",{width:"24",height:"24",fill:c}))))}f.displayName="Rocket"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.className,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","className","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{className:f,width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:c,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M16.781 2.27293L14.081 5.7126H9.919L7.219 2.27293L8.781 1L12 5.10008L15.219 1L16.781 2.27293ZM4 6.73175H20C21.1 6.73175 22 7.649 22 8.77007V18.9617C22 20.0828 21.1 21 20 21H4C2.9 21 2 20.0828 2 18.9617V8.77007C2 7.649 2.9 6.73175 4 6.73175ZM4 18.9617H16V8.77007H4V18.9617ZM18 16.4138C18 16.9764 18.448 17.4329 19 17.4329C19.552 17.4329 20 16.9764 20 16.4138C20 15.8512 19.552 15.3946 19 15.3946C18.448 15.3946 18 15.8512 18 16.4138ZM18 11.318C18 11.8806 18.448 12.3371 19 12.3371C19.552 12.3371 20 11.8806 20 11.318C20 10.7554 19.552 10.2988 19 10.2988C18.448 10.2988 18 10.7554 18 11.318Z"}))}d.displayName="Television"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.useStateFromStores)([o.default,a.default],(function(){var t=a.default.getId();return o.default.getPermissionsForUser(t,e)}),[e])};var r=n(3),a=i(n(11)),o=i(n(205));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"guild",id:"2021-07_live_stage_notifications",label:"Control and receive live stage notifications.",defaultConfig:{showNotificationSurfaces:!1},treatments:[{id:1,label:"Show live stage notification surfaces.",config:{showNotificationSurfaces:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=O;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=h(n(8479)),l=h(n(308)),u=h(n(764)),s=h(n(15)),d=n(85),f=h(n(291)),c=n(35),p=h(n(47)),v=h(n(24)),y=h(n(9727)),m=h(n(6)),_=h(n(7657));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var S=g(f.default,{width:32,height:32});function O(e){var t=e.transitionState,n=e.onClose,r=e.channel,f=(0,d.useUID)(),h=a.useContext(i.default),E=(0,o.useStateFromStores)([s.default],(function(){return s.default.getGuild(r.guild_id)})),O=(0,y.default)(r,n),I=O.loading,T=O.error,C=O.onSave;return null==E?null:g(c.ModalRoot,{transitionState:t,"aria-labelledby":f},void 0,g("div",{className:_.default.header},void 0,g(l.default,{},void 0,g("div",{className:_.default.icon},void 0,S)),g(p.default,{size:p.default.Sizes.SIZE_24,className:_.default.text},void 0,m.default.Messages.START_STAGE_CHANNEL_EVENT_MODAL_TITLE),g(v.default,{color:v.default.Colors.HEADER_SECONDARY,className:_.default.text},void 0,m.default.Messages.START_STAGE_CHANNEL_EVENT_MODAL_SUBTITLE)),g(u.default,{guild:E,channel:r,onEventSave:C,error:T,loading:I,onClose:n,appContext:h,isEvent:!0}))}O.displayName="ScheduleEventModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=d(n(9)),o=d(n(61)),i=d(n(5950)),l=d(n(47)),u=d(n(24)),s=d(n(7991));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.className,n=e.iconContainerClassName,r=e.icon,d=e.color,f=e.title,p=e.description,v=e.onClick;return c(o.default,{className:(0,a.default)(s.default.container,t),onClick:v},void 0,c("div",{style:{backgroundColor:d},className:(0,a.default)(s.default.icon,n)},void 0,r),c("div",{className:s.default.textContainer},void 0,c(l.default,{size:u.default.Sizes.SIZE_16},void 0,f),c(u.default,{size:u.default.Sizes.SIZE_12,color:u.default.Colors.HEADER_SECONDARY},void 0,p)),c(i.default,{height:16,width:16,className:s.default.caret}))}p.displayName="GuildEventPrompt"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=j;var r,a=A(n(0)),o=M(n(8)),i=M(n(3)),l=n(34),u=M(n(288)),s=M(n(8766)),d=M(n(5841)),f=M(n(51)),c=M(n(55)),p=M(n(1162)),v=M(n(1159)),y=M(n(8360)),m=M(n(8522)),_=n(85),h=M(n(476)),E=A(n(159)),g=n(35),S=M(n(24)),O=n(8425),I=n(1),T=M(n(6)),C=M(n(7659)),b=M(n(370));function M(e){return e&&e.__esModule?e:{default:e}}function N(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return N=function(){return e},e}function A(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=N();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function P(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var L=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleAutoThresholdChange=function(e){var n=t.props,r=n.onThresholdChange,a=n.threshold;r&&r(a,e)},t.handleSensitivityChange=function(e){var n=t.props,r=n.onThresholdChange,a=n.autoThreshold;r&&r(-1*(100-e),a)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,R(t,n);var a=r.prototype;return a.handleValueRender=function(e){return(-1*(100-e)).toFixed(0)+"dB"},a.renderAutomaticVADToggle=function(){var e=this,t=this.props.autoThreshold;return P(_.UID,{},void 0,(function(n){return P(c.default,{className:b.default.marginBottom4},void 0,P(E.default,{tag:E.Tags.H3},void 0,P("label",{htmlFor:n},void 0,T.default.Messages.FORM_LABEL_AUTOMATIC_VAD)),P(m.default,{id:n,checked:t,onChange:e.handleAutoThresholdChange}))}))},a.renderSlider=function(){var e=this.props,t=e.autoThreshold,n=e.threshold;if(!t)return P(y.default,{initialValue:n+100,onValueRender:this.handleValueRender,onValueChange:this.handleSensitivityChange})},a.render=function(){return P(h.default,{title:T.default.Messages.FORM_LABEL_INPUT_SENSITIVTY,className:b.default.marginBottom8},void 0,this.renderAutomaticVADToggle(),this.renderSlider())},r}(a.PureComponent);L.displayName="VoiceSensitivity";var D=function(e){var t,n=e.mediaEngineContext,r=e.inputMode,i=e.shortcut,l=e.delay,d=e.vadThreshold,f=e.vadAutoThreshold,c=e.inputDevices,m=e.inputDeviceId,_=e.inputVolume,E=e.outputDeviceId,g=e.outputDevices,S=e.outputVolume,C=e.speaking,M=void 0!==C&&C,N=o.default.first(c),A=null!=N&&N.disabled,R=o.default.first(g),D=null!=R&&R.disabled,w=[{value:I.InputModes.VOICE_ACTIVITY,name:T.default.Messages.INPUT_MODE_VAD},{value:I.InputModes.PUSH_TO_TALK,name:T.default.Messages.INPUT_MODE_PTT}];return t=r===I.InputModes.PUSH_TO_TALK?P(a.Fragment,{},void 0,P(h.default,{title:T.default.Messages.FORM_LABEL_SHORTCUT,className:b.default.marginBottom20},void 0,P(s.default,{defaultValue:i,onChange:function(e){return u.default.setMode(r,{shortcut:e},n)}})),P(h.default,{title:T.default.Messages.INPUT_MODE_PTT_RELEASE_DELAY,className:b.default.marginBottom8},void 0,P(y.default,{initialValue:l,onValueChange:function(e){return u.default.setMode(r,{delay:e},n)},onValueRender:function(e){return e>=1e3?(e/=1e3).toFixed(2)+"s":e.toFixed(0)+"ms"},maxValue:I.MAX_PTT_RELEASE_DELAY}))):P(L,{speaking:M,inputMode:r,threshold:d,autoThreshold:f,onThresholdChange:function(e,t){return u.default.setMode(r,{threshold:e,autoThreshold:t},n)}}),P(a.Fragment,{},void 0,P(h.default,{title:T.default.Messages.FORM_LABEL_INPUT_DEVICE,className:b.default.marginBottom20},void 0,P(v.default,{value:m,clearable:!1,searchable:!1,onChange:function(e){var t=e.value;return u.default.setInputDevice(t,"Voice Settings")},options:o.default.map(c,(function(e){return{value:e.id,label:e.name}})),disabled:A})),P(h.default,{title:T.default.Messages.FORM_LABEL_INPUT_VOLUME,className:b.default.marginBottom20},void 0,P(y.default,{initialValue:(0,O.amplitudeToPerceptual)(_),asValueChanges:function(e){return u.default.setInputVolume((0,O.perceptualToAmplitude)(e))}})),P(h.default,{title:T.default.Messages.FORM_LABEL_OUTPUT_DEVICE,className:b.default.marginBottom20},void 0,P(v.default,{value:E,clearable:!1,searchable:!1,onChange:function(e){var t=e.value;return u.default.setOutputDevice(t,"Voice Settings")},options:o.default.map(g,(function(e){return{value:e.id,label:e.name}})),disabled:D})),P(h.default,{title:T.default.Messages.FORM_LABEL_OUTPUT_VOLUME,className:b.default.marginBottom20},void 0,P(y.default,{initialValue:(0,O.amplitudeToPerceptual)(S),maxValue:200,asValueChanges:function(e){return u.default.setOutputVolume((0,O.perceptualToAmplitude)(e))}})),P(h.default,{title:T.default.Messages.FORM_LABEL_INPUT_MODE,className:b.default.marginBottom20},void 0,P(p.default,{onChange:function(e){var t=e.value;return u.default.setMode(t,{},n)},options:w,value:r})),t)};D.displayName="Content";var w=i.default.connectStores([f.default],(function(e){var t=e.mediaEngineContext;return{inputVolume:f.default.getInputVolume(),outputVolume:f.default.getOutputVolume(),inputDeviceId:f.default.getInputDeviceId(),inputDevices:f.default.getInputDevices(),outputDevices:f.default.getOutputDevices(),outputDeviceId:f.default.getOutputDeviceId(),inputMode:f.default.getMode(t),shortcut:f.default.getModeOptions(t).shortcut,vadThreshold:f.default.getModeOptions(t).threshold,vadAutoThreshold:f.default.getModeOptions(t).autoThreshold,delay:f.default.getModeOptions(t).delay}}))(D);function j(e){var t;return(0,d.default)((function(){null!=I.CURRENT_APP_CONTEXT&&e.onClose()})),P(g.ModalRoot,{transitionState:e.transitionState,"aria-label":T.default.Messages.VOICE_SETTINGS},void 0,P(g.ModalHeader,{},void 0,P(c.default.Child,{},void 0,P(E.default,{tag:E.default.Tags.H1,className:b.default.marginReset},void 0,T.default.Messages.VOICE_SETTINGS),P(S.default,{size:S.default.Sizes.SIZE_12,className:C.default.title},void 0,e.title)),P(c.default.Child,{grow:0},void 0,P(g.ModalCloseButton,{onClick:e.onClose}))),P(g.ModalContent,{},void 0,P(w,{mediaEngineContext:null!==(t=e.mediaEngineContext)&&void 0!==t?t:l.MediaEngineContextTypes.DEFAULT})))}j.displayName="VoiceSettingsModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=de;var r,a,o=Q(n(0)),i=X(n(8)),l=X(n(5)),u=n(67),s=n(3),d=X(n(8477)),f=X(n(8416)),c=X(n(1282)),p=X(n(8489)),v=n(180),y=n(1271),m=X(n(8512)),_=n(31),h=X(n(10)),E=X(n(1252)),g=X(n(684)),S=X(n(15)),O=X(n(70)),I=Q(n(181)),T=X(n(12)),C=X(n(29)),b=X(n(467)),M=X(n(1160)),N=X(n(55)),A=X(n(1162)),P=X(n(8267)),R=X(n(149)),L=X(n(1165)),D=X(n(476)),w=X(n(474)),j=X(n(159)),k=X(n(8672)),U=X(n(9733)),G=X(n(8307)),F=X(n(8374)),B=X(n(8490)),H=n(35),x=X(n(47)),V=X(n(9734)),W=n(374),Y=X(n(24)),z=n(48),K=n(1),$=X(n(6)),Z=X(n(7662)),q=X(n(370));function X(e){return e&&e.__esModule?e:{default:e}}function J(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return J=function(){return e},e}function Q(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=J();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function ee(){return(ee=Object.assign||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}).apply(this,arguments)}function te(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function ne(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,re(e,t)}function re(e,t){return(re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ae(e){return[{name:$.default.Messages.FORM_LABEL_ALL_MESSAGES,value:K.UserNotificationSettings.ALL_MESSAGES,desc:null!=e&&e>=K.MAX_MEMBERS_NOTIFY_ALL_MESSAGES?$.default.Messages.LARGE_GUILD_NOTIFY_ALL_MESSAGES_DESCRIPTION:null},{name:$.default.Messages.FORM_LABEL_ONLY_MENTIONS.format(),value:K.UserNotificationSettings.ONLY_MENTIONS},{name:$.default.Messages.FORM_LABEL_NOTHING,value:K.UserNotificationSettings.NO_MESSAGES}]}function oe(e){return e.type===K.ChannelTypes.GUILD_CATEGORY?U.default:e.isNSFW()?B.default:(0,p.default)(e)?F.default:G.default}!function(e){e.MUTED="muted",e.MESSAGE_NOTIFICATIONS="message_notifications",e.SUPPRESS_EVERYONE="suppress_everyone",e.SUPPRESS_ROLES="suppress_roles",e.MOBILE_PUSH="mobile_push"}(a||(a={}));var ie=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={highlight:!1},t.unhighlight=function(){t.setState({highlight:!1})},t.handleMute=function(e,n){var r=t.props.messageNotifications;t.setMessageNotification(r||K.UserNotificationSettings.NULL,n)},t.handleDelete=function(){var e=t.props,n=e.onDelete,r=e.channel;t.setMessageNotification(K.UserNotificationSettings.NULL,!1),n(r.id)},t}ne(t,e);var n=t.prototype;return n.highlight=function(){var e=this;this.setState({highlight:!0},(function(){null!=e._timeout&&clearTimeout(e._timeout),e._timeout=setTimeout(e.unhighlight,1e3)}))},n.componentWillUnmount=function(){null!=this._timeout&&clearTimeout(this._timeout)},n.setMessageNotification=function(e,t){void 0===t&&(t=!1);var n=this.props.channel,r=n.getGuildId();null!=r&&d.default.updateChannelOverrideSettings(r,n.id,{message_notifications:e,muted:t})},n.handleRadioChange=function(e){this.setMessageNotification(e)},n.messageNotificationsRadioOption=function(e){var t=this.props,n=t.messageNotifications,r=t.guildMuted,a=t.muted,o=t.guildMessageNotifications,i=n===e;null!=n&&n!==K.UserNotificationSettings.NULL||e!==o||(i=!0);var l=M.default.Types.INVERTED;return(a||n===K.UserNotificationSettings.NULL||null==n)&&(l=M.default.Types.GHOST),te(M.default,{value:!r&&i,disabled:r,shape:M.default.Shapes.ROUND,color:K.Colors.STATUS_GREEN_600,type:l,onChange:this.handleRadioChange.bind(this,e)})},n.renderName=function(){var e,t=this.props.channel;t.parent_id&&(e=h.default.getChannel(t.parent_id));var n,r=oe(t);if(t.type===K.ChannelTypes.GUILD_CATEGORY&&t.guild_id){var a=E.default.getCategories(t.guild_id);n=$.default.Messages.NUM_CHANNELS.format({num:a[t.id]?a[t.id].length:0})}else n=null!=e?$.default.Messages.IN_CATEGORY.format({categoryName:(0,v.computeChannelName)(e,T.default,O.default)}):$.default.Messages.NO_CATEGORY;return te(N.default,{align:N.default.Align.START},void 0,te(N.default,{grow:0,shrink:0,className:Z.default.iconContainer,align:N.default.Align.CENTER},void 0,te(r,{className:Z.default.icon})),te(N.default.Child,{grow:1,shrink:1,className:q.default.marginReset},void 0,te(Y.default,{size:Y.default.Sizes.SIZE_16,className:Z.default.channelName},void 0,(0,v.computeChannelName)(t,T.default,O.default)),te(Y.default,{size:Y.default.Sizes.SIZE_12,className:Z.default.channelNameByline},void 0,n)))},n.renderOptions=function(){var e=this.props,t=e.muted,n=e.guildMuted;return te(N.default,{grow:0,shrink:0,className:Z.default.checkboxGroup,justify:N.default.Justify.AROUND,align:N.default.Align.CENTER},void 0,te(N.default.Child,{wrap:!0,grow:0,shrink:0,className:n?Z.default.checkboxContainerMuted:Z.default.checkboxContainer},void 0,this.messageNotificationsRadioOption(K.UserNotificationSettings.ALL_MESSAGES)),te(N.default.Child,{wrap:!0,grow:0,shrink:0,className:n?Z.default.checkboxContainerMuted:Z.default.checkboxContainer},void 0,this.messageNotificationsRadioOption(K.UserNotificationSettings.ONLY_MENTIONS)),te(N.default.Child,{wrap:!0,grow:0,shrink:0,className:n?Z.default.checkboxContainerMuted:Z.default.checkboxContainer},void 0,this.messageNotificationsRadioOption(K.UserNotificationSettings.NO_MESSAGES)),te(N.default.Child,{wrap:!0,grow:0,shrink:0,className:Z.default.checkboxMute},void 0,te(M.default,{value:t,shape:M.default.Shapes.BOX,type:M.default.Types.INVERTED,onChange:this.handleMute})))},n.render=function(){var e=this.state.highlight;return te(b.default,{outline:!0,editable:!0,className:e?Z.default.overrideHighlight:Z.default.override},void 0,this.renderName(),this.renderOptions(),te(f.default,{className:Z.default.removeOverride,onClick:this.handleDelete}))},t}(o.PureComponent);function le(e){return Object.keys(e).filter((function(t){return!(!(0,I.computeIsMuted)(e[t])&&e[t].message_notifications===K.UserNotificationSettings.NULL)}))}ie.displayName="ChannelNotificationSettings";var ue=te(L.default,{}),se=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._scroller=null,t._channelRefs={},t.state={overrides:new Set(le(t.props.channelOverrides)),channelOverridesProp:t.props.channelOverrides,lastSelected:null},t.setScrollerRef=function(e){t._scroller=e},t.handleSelectChange=function(e){if(null!=e){var n=t.state.overrides;(n=new Set(n)).add(e),t.setState({overrides:n,lastSelected:e})}},t.handleSelectMuteTime=function(e){var n=e>0?(0,l.default)().add(e,"second").toISOString():null;d.default.updateGuildNotificationSettings(t.props.guildId,{muted:!0,mute_config:{selected_time_window:e,end_time:n}})},t.handleDeleteOverride=function(e){var n=t.state.overrides;(n=new Set(n)).delete(e),t.setState({overrides:n})},t.renderOptionLabel=function(e){var t=h.default.getChannel(e.value);if(null==t)return e.label;var n=h.default.getChannel(t.parent_id),r=null!=n?n.name:null;return te(k.default,{icon:oe(t),title:e.label,subtitle:r})},t}ne(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.overrides,r=t.channelOverridesProp;return e.channelOverrides!==r?(n=new Set(n),le(e.channelOverrides).forEach((function(e){return n.add(e)})),{overrides:n,channelOverridesProp:e.channelOverrides}):null};var n=t.prototype;return n.componentDidUpdate=function(e,t){var n=this,r=this.state.lastSelected,a=null!=r?this._channelRefs[r]:null;if(null!=this._scroller&&null!=a&&r!==t.lastSelected){var o,i=(0,u.findDOMNode)(a);if(null!=this._scroller&&null!=i&&i instanceof HTMLElement)null===(o=this._scroller)||void 0===o||o.scrollIntoViewNode({node:i,animate:!0,padding:20,callback:function(){return n.setState({lastSelected:null})}}),a.highlight()}if(this.props.channelOverrides!==e.channelOverrides){var l=this.state.overrides;l=new Set(l),le(this.props.channelOverrides).forEach((function(e){return l.add(e)})),this.setState({overrides:l})}},n.handleCheckboxChange=function(e,t){var n;d.default.updateGuildNotificationSettings(this.props.guildId,((n={})[e]=t,n))},n.handleRadioChange=function(e,t){var n,r=t.value;d.default.updateGuildNotificationSettings(this.props.guildId,((n={})[e]=r,n))},n.renderHeader=function(){var e=this.props.guild;return null==e?null:te(H.ModalHeader,{},void 0,te(N.default.Child,{},void 0,te(x.default,{size:x.default.Sizes.SIZE_20},void 0,$.default.Messages.NOTIFICATION_SETTINGS),te(Y.default,{size:Y.default.Sizes.SIZE_16,className:Z.default.guildName},void 0,e.name)),te(N.default.Child,{grow:0},void 0,te(H.ModalCloseButton,{onClick:this.props.onClose})))},n.renderFooter=function(){return te(H.ModalFooter,{},void 0,te(C.default,{onClick:this.props.onClose},void 0,$.default.Messages.DONE))},n.renderMute=function(){var e=this.props,t=e.muted,n=e.muteConfig,r=e.guild,o=(null==n?void 0:n.selected_time_window)||y.MuteUntilSeconds.ALWAYS;return null==r?null:te(D.default,{className:Z.default.largeSpacing},void 0,te(P.default,{hideBorder:!0,value:t,onChange:this.handleCheckboxChange.bind(this,a.MUTED),note:$.default.Messages.FORM_LABEL_MUTE_SERVER_DESCRIPTION},void 0,$.default.Messages.FORM_LABEL_MUTE_SERVER.format({name:r.name})),t?te(N.default,{className:Z.default.spacing,align:N.default.Align.CENTER},void 0,te(N.default,{direction:N.default.Direction.VERTICAL,className:Z.default.muteUntilTextWrapper},void 0,te(j.default,{tag:j.default.Tags.H3,className:Z.default.muteUntilTitle},void 0,$.default.Messages.MUTE_UNTIL),te(m.default,{className:Z.default.muteUntilText,muteConfig:n})),te(W.SingleSelect,{className:Z.default.muteTimeSelector,options:[{label:$.default.Messages.MUTE_DURATION_15_MINUTES,value:y.MuteUntilSeconds.MINUTES_15},{label:$.default.Messages.MUTE_DURATION_1_HOUR,value:y.MuteUntilSeconds.HOURS_1},{label:$.default.Messages.MUTE_DURATION_8_HOURS,value:y.MuteUntilSeconds.HOURS_8},{label:$.default.Messages.MUTE_DURATION_24_HOURS,value:y.MuteUntilSeconds.HOURS_24},{label:$.default.Messages.MUTE_DURATION_ALWAYS,value:y.MuteUntilSeconds.ALWAYS}],value:o,onChange:this.handleSelectMuteTime})):null,ue)},n.renderServerSettings=function(){var e=this.props,t=e.messageNotifications,n=e.muted,r=e.memberCount;return te(D.default,{title:$.default.Messages.FORM_LABEL_SERVER_NOTIFICATION_SETTINGS,className:Z.default.spacing},void 0,te(A.default,{disabled:n,value:t,onChange:this.handleRadioChange.bind(this,a.MESSAGE_NOTIFICATIONS),options:ae(r)}))},n.renderNotificationOptions=function(){var e=this.props,t=e.suppressEveryone,n=e.suppressRoles,r=e.mobilePush,o=e.muted;return te(D.default,{className:Z.default.largeSpacing},void 0,te(P.default,{onChange:this.handleCheckboxChange.bind(this,a.SUPPRESS_EVERYONE),value:t},void 0,$.default.Messages.FORM_LABEL_SUPPRESS_EVERYONE.format()),te(P.default,{onChange:this.handleCheckboxChange.bind(this,a.SUPPRESS_ROLES),value:n},void 0,$.default.Messages.FORM_LABEL_SUPPRESS_ROLES),te(P.default,{value:!o&&r,disabled:o,onChange:this.handleCheckboxChange.bind(this,a.MOBILE_PUSH)},void 0,$.default.Messages.FORM_LABEL_MOBILE_PUSH_NOTIFICATIONS))},n.renderOverrideSelect=function(){var e=this.props,t=e.channels,n=e.categories,r=(0,i.default)(t).filter((function(e){var t=e.channel;return t.type!==K.ChannelTypes.GUILD_CATEGORY||null!=n[t.id]&&n[t.id].length>0})).map((function(e){var t=e.channel;return{value:t.id,label:(0,v.computeChannelName)(t,T.default,O.default)}})).value();return te(D.default,{title:$.default.Messages.NOTIFICATION_OVERRIDES,className:Z.default.largeSpacing},void 0,te(w.default,{type:w.default.Types.DESCRIPTION,className:Z.default.smallSpacing},void 0,$.default.Messages.ADD_CHANNEL_TO_OVERRIDE),te(V.default,{value:"",placeholder:$.default.Messages.SELECT_CHANNEL_OR_CATEGORY,renderOptionLabel:this.renderOptionLabel,options:r,onChange:this.handleSelectChange}))},n.renderChannelNotifications=function(){var e=this,t=this.props,n=t.channelOverrides,r=t.muted,a=t.channels,i=t.messageNotifications,l=t.categories,u=this.state.overrides,s=a.map((function(t){var a=t.channel;if(!u.has(a.id)||null!=l[a.id]&&0===l[a.id].length)return null;var s=n[a.id];return o.createElement(ie,{key:a.id,ref:function(t){e._channelRefs[a.id]=t},channel:a,guildMuted:r,muted:null!=s&&(0,I.computeIsMuted)(s),messageNotifications:null!=s?s.message_notifications:null,guildMessageNotifications:i,onDelete:e.handleDeleteOverride})})).filter(z.isNotNullish);return 0!==u.size&&0!==s.length||s.push(te("div",{className:Z.default.overridePlaceholder},"placeholder",te(Y.default,{className:Z.default.overrideHeader},void 0,$.default.Messages.ADD_CHANNEL_TO_OVERRIDE))),te("div",{className:Z.default.overrideList},void 0,te(N.default,{},void 0,te(x.default,{size:x.default.Sizes.SIZE_12,uppercase:!0,className:Z.default.headerName},void 0,$.default.Messages.CHANNEL_OR_CATEGORY),te(x.default,{size:x.default.Sizes.SIZE_12,uppercase:!0,className:Z.default.headerOption},void 0,$.default.Messages.FORM_LABEL_ALL),te(x.default,{size:x.default.Sizes.SIZE_12,uppercase:!0,className:Z.default.headerOption},void 0,$.default.Messages.FORM_LABEL_MENTIONS),te(x.default,{size:x.default.Sizes.SIZE_12,uppercase:!0,className:Z.default.headerOption},void 0,$.default.Messages.FORM_LABEL_NOTHING),te(x.default,{size:x.default.Sizes.SIZE_12,uppercase:!0,className:Z.default.headerOption},void 0,te(R.default,{text:$.default.Messages.FORM_LABEL_MUTE_SERVER_DESCRIPTION,position:R.default.Positions.BOTTOM},void 0,(function(e){return o.createElement("span",e,$.default.Messages.SOUND_MUTE)})))),s)},n.render=function(){return te(H.ModalRoot,{"aria-label":"Lol",size:H.ModalSize.MEDIUM,transitionState:this.props.transitionState},void 0,this.renderHeader(),te(H.ModalContent,{scrollerRef:this.setScrollerRef},void 0,this.renderMute(),this.renderServerSettings(),this.renderNotificationOptions(),this.renderOverrideSelect(),this.renderChannelNotifications()),this.renderFooter())},t}(o.PureComponent);function de(e){var t=e.guildId,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["guildId"]),r=(0,s.useStateFromStoresObject)([E.default,S.default,g.default,I.default],(function(){var e=E.default.getCategories(t);return{guildId:t,categories:e,guild:S.default.getGuild(t),memberCount:g.default.getMemberCount(t),suppressEveryone:I.default.isSuppressEveryoneEnabled(t),suppressRoles:I.default.isSuppressRolesEnabled(t),mobilePush:I.default.isMobilePushEnabled(t),muted:I.default.isMuted(t),muteConfig:I.default.getMuteConfig(t),messageNotifications:I.default.getMessageNotifications(t),channelOverrides:I.default.getChannelOverrides(t),channels:(0,c.default)(e._categories,e,(function(e){var t=e.channel.type;return(0,_.isGuildSelectableChannelType)(t)||t===K.ChannelTypes.GUILD_CATEGORY}))}}));return o.createElement(se,ee({},r,n))}se.displayName="NotificationSettings",de.displayName="ConnectedNotificationSettings"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=m(n(274)),i=m(n(39)),l=m(n(29)),u=m(n(8267)),s=m(n(476)),d=m(n(159)),f=n(35),c=m(n(47)),p=n(9166),v=m(n(6)),y=m(n(7663));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e){var t=e.guild,n=e.transitionState,r=e.onClose,m=t.id,_=(0,a.useStateFromStores)([i.default],(function(){return i.default.isGuildRestricted(m)}),[m]);var E=v.default.Messages.PRIVACY_SETTINGS+"—"+(null!=t?t.toString():"??");return h(f.ModalRoot,{transitionState:n,size:f.ModalSize.SMALL,"aria-label":E},void 0,h(f.ModalHeader,{},void 0,h(c.default,{tag:c.default.Tags.H2,size:c.default.Sizes.SIZE_20},void 0,E)),h(f.ModalContent,{className:y.default.content},void 0,h(s.default,{},void 0,h(d.default,{tag:d.default.Tags.H5,style:{marginBottom:4}},void 0,v.default.Messages.DIRECT_MESSAGES),h(u.default,{value:!_,onChange:function(e){var t=new Set((0,p.getSanitizedRestrictedGuilds)());e?t.delete(m):t.add(m),o.default.updateRemoteSettings({restrictedGuilds:Array.from(t)})},hideBorder:!0},void 0,v.default.Messages.ALLOW_SERVER_DMS))),h(f.ModalFooter,{},void 0,h(l.default,{onClick:function(){return r()}},void 0,v.default.Messages.DONE)))}E.displayName="GuildContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSanitizedRestrictedGuilds=function(){var e=o.default.restrictedGuilds;0===r.default.totalUnavailableGuilds&&(e=e.filter((function(e){return null!=a.default.getGuild(e)})));return e},t.computeFlags=function(){var e,t,n=o.default.friendSourceFlags;return n[l.FriendSourceFlagKeys.ALL]?((t={})[l.FriendSourceFlagKeys.ALL]=!0,t[l.FriendSourceFlagKeys.FRIENDS]=!0,t[l.FriendSourceFlagKeys.GUILDS]=!0,t):((e={})[l.FriendSourceFlagKeys.ALL]=!1,e[l.FriendSourceFlagKeys.FRIENDS]=!!n[l.FriendSourceFlagKeys.FRIENDS],e[l.FriendSourceFlagKeys.GUILDS]=!!n[l.FriendSourceFlagKeys.GUILDS],e)},t.harvestDisabled=function(e,t){if(!t.verified)return!0;if(null==e)return!1;return s>Date.now()-new Date(e.created_at).getTime()},t.trackPaneViewed=function(e){i.default.track(l.AnalyticEvents.SETTINGS_PANE_VIEWED,{settings_type:"user",destination_pane:e})};var r=u(n(298)),a=u(n(15)),o=u(n(39)),i=u(n(13)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}var s=864e5*l.REQUEST_DATA_LIMIT_DAYS},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,o.useStateFromStores)([u.default],(function(){return u.default.can(d.Permissions.MANAGE_CHANNELS,e)}));if(__OVERLAY__)return null;return t?[v(l.MenuItem,{id:"create-channel",label:f.default.Messages.CREATE_CHANNEL,action:function(){return(0,s.openModal)((function(t){return a.createElement(i.default,y({},t,{channelType:d.ChannelTypes.GUILD_TEXT,guildId:e.id}))}))}}),v(l.MenuItem,{id:"create-category",label:f.default.Messages.CREATE_CATEGORY,action:function(){return(0,s.openModal)((function(t){return a.createElement(i.default,y({},t,{channelType:d.ChannelTypes.GUILD_CATEGORY,guildId:e.id}))}))}})]:null};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=c(n(8458)),l=n(8253),u=c(n(40)),s=n(41),d=n(1),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(){return(y=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(95),a=s(n(2)),o=s(n(727)),i=s(n(482)),l=n(1274),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}var d={open:function(e,t,n,r){a.default.dispatch({type:u.ActionTypes.CREATE_CHANNEL_MODAL_OPEN,channelType:e,guildId:t,categoryId:n,cloneChannelId:r})},close:function(){a.default.dispatch({type:u.ActionTypes.CREATE_CHANNEL_MODAL_CLOSE})},createChannel:function(e,t,n,s,d,f,c,p,v){var y=this;void 0===s&&(s=[]),a.default.dispatch({type:u.ActionTypes.CREATE_CHANNEL_MODAL_SUBMIT});var m={type:t,name:n,permission_overwrites:s};if(null!=d&&d!==u.BITRATE_DEFAULT&&(m.bitrate=d),null!=f&&f>0&&(m.user_limit=f),null!=c&&(m.parent_id=c),t===u.ChannelTypes.GUILD_STORE){if(null==p)throw new Error("Unexpected missing SKU");m.sku_id=p,m.branch_id=v}return i.default.post({url:u.Endpoints.GUILD_CHANNELS(e),body:m,oldFormErrors:!0,trackedActionData:{event:r.NetworkActionNames.CHANNEL_CREATE,metadata:function(e){var t,n;return(0,l.exact)({is_private:!!s.length,channel_id:null==e||null===(t=e.body)||void 0===t?void 0:t.id,channel_type:null==e||null===(n=e.body)||void 0===n?void 0:n.type})}}}).then((function(t){return y.close(),o.default.checkGuildTemplateDirty(e),t}),(function(e){throw a.default.dispatch({type:u.ActionTypes.CREATE_CHANNEL_MODAL_SUBMIT_FAILURE,errors:e.body}),e}))}};t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createModeratorOverwrite=N,t.default=P;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(8481),l=n(275),u=n(286),s=n(1229),d=n(8482),f=T(n(10)),c=T(n(15)),p=T(n(29)),v=T(n(55)),y=n(85),m=T(n(291)),_=n(35),h=T(n(47)),E=T(n(24)),g=T(n(78)),S=n(203),O=T(n(6)),I=T(n(7667));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function N(e,t){return{id:e,type:t,deny:g.default.NONE,allow:S.MODERATE_STAGE_CHANNEL_PERMISSIONS}}function A(e,t){var n=Object.values(t).filter((function(e){return null!=e.row.id})).map((function(e){var t=e.row;return t.rowType===s.RowType.ROLE?N(t.id,u.PermissionOverwriteType.ROLE):N(t.id,u.PermissionOverwriteType.MEMBER)}));return(0,i.savePermissionUpdates)(e.id,n,!0)}function P(e){var t=e.transitionState,n=e.onClose,r=e.channelId,i=(0,y.useUID)(),u=(0,o.useStateFromStores)([f.default],(function(){return f.default.getChannel(r)})),s=(0,o.useStateFromStores)([c.default],(function(){return c.default.getGuild(null==u?void 0:u.getGuildId())})),g=a.useState({}),T=g[0],C=g[1],N=a.useState(!1),P=N[0],R=N[1],L=a.useState(null),D=L[0],w=L[1];if(null==u||null==s)return null;var j=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return R(!0),e.prev=1,e.next=4,A(u,T);case 4:n(),e.next=12;break;case 7:e.prev=7,e.t0=e.catch(1),t=new l.APIError(e.t0),R(!1),w(t);case 12:case"end":return e.stop()}}),e,null,[[1,7]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){M(o,r,a,i,l,"next",e)}function l(e){M(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();return b(_.ModalRoot,{transitionState:t,"aria-labelledby":i,size:_.ModalSize.SMALL,className:I.default.modalRoot},void 0,b(_.ModalHeader,{separator:!1,direction:v.default.Direction.VERTICAL,align:v.default.Align.CENTER,className:I.default.header},void 0,b(h.default,{tag:h.default.Tags.H2,size:h.default.Sizes.SIZE_24},void 0,O.default.Messages.CHANNEL_PERMISSIONS_ADD_MEMBERS_TITLE),b(E.default,{size:E.default.Sizes.SIZE_16,color:E.default.Colors.HEADER_SECONDARY,className:I.default.headerSubtitle},void 0,b(m.default,{height:16,width:16,className:I.default.headerSubtitleIcon}),u.name)),b(d.AddMembersBody,{guild:s,channel:u,permission:S.MODERATE_STAGE_CHANNEL_PERMISSIONS,pendingAdditions:T,setPendingAdditions:C}),null!=D?b(E.default,{className:I.default.error,size:E.default.Sizes.SIZE_12,color:E.default.Colors.STATUS_RED},void 0,D.getAnyErrorMessage()):null,b(_.ModalFooter,{},void 0,b(p.default,{onClick:j,submitting:P},void 0,O.default.Messages.ADD),b(p.default,{look:p.default.Looks.LINK,color:p.default.Colors.PRIMARY,onClick:n},void 0,O.default.Messages.CANCEL)))}P.displayName="AddModeratorsModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getGuildSettingsSections=function(e,t){return he(me({channels:t,showDirtyGuildTemplateIndicator:!1},w.default.getGuildPermissionProps(e))).filter((function(e){var t=e.section;return t!==d.SectionTypes.HEADER&&t!==d.SectionTypes.DIVIDER})).filter((function(e){return null==e.predicate||e.predicate()}))},t.default=Oe;var r,a=ve(n(0)),o=n(95),i=n(3),l=ce(n(8254)),u=n(687),s=ce(n(8575)),d=n(8305),f=ce(n(9742)),c=ce(n(9743)),p=ce(n(105)),v=ce(n(106)),y=ce(n(9744)),m=ce(n(9748)),_=ve(n(9769)),h=ce(n(1178)),E=ce(n(1176)),g=n(395),S=ce(n(702)),O=n(8474),I=ce(n(8492)),T=n(1209),C=n(9174),b=ce(n(8679)),M=ce(n(9795)),N=ce(n(86)),A=ce(n(684)),P=ce(n(8982)),R=ce(n(8355)),L=ce(n(8255)),D=ce(n(8983)),w=ce(n(40)),j=ce(n(39)),k=ce(n(12)),U=ce(n(466)),G=n(41),F=ce(n(24)),B=n(121),H=ce(n(9796)),x=ce(n(9802)),V=ce(n(9809)),W=ve(n(9813)),Y=ce(n(9829)),z=ve(n(9832)),K=ce(n(9847)),$=ve(n(9852)),Z=ce(n(9867)),q=ce(n(9868)),X=ce(n(9874)),J=ve(n(9876)),Q=ce(n(9879)),ee=ce(n(9897)),te=ce(n(9902)),ne=ce(n(9903)),re=ve(n(9908)),ae=ce(n(9910)),oe=ce(n(9911)),ie=ve(n(9913)),le=ce(n(9916)),ue=ce(n(9918)),se=n(1),de=ce(n(6)),fe=ce(n(7762));function ce(e){return e&&e.__esModule?e:{default:e}}function pe(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return pe=function(){return e},e}function ve(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=pe();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function ye(e,t){return(ye=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function me(){return(me=Object.assign||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}).apply(this,arguments)}function _e(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function he(e){var t=e.guild,n=e.canManageGuild,r=e.canViewAuditLog,i=e.canManageRoles,s=e.canManageEmoji,p=e.canManageWebhooks,v=e.canManageBans,h=e.canViewGuildAnalytics,E=e.isOwnerWithRequiredMfaLevel,T=e.showDirtyGuildTemplateIndicator,C=e.memberCount,N=e.threadsOptInConfig;return[{section:d.SectionTypes.HEADER,label:t.toString()||de.default.Messages.SERVER_SETTINGS},{section:se.GuildSettingsSections.OVERVIEW,impressionName:o.ImpressionNames.GUILD_SETTINGS_OVERVIEW,label:de.default.Messages.OVERVIEW,element:J.default,notice:{store:L.default,element:J.GuildSettingsOverviewNotice}},{section:se.GuildSettingsSections.ROLES,impressionName:o.ImpressionNames.GUILD_SETTINGS_ROLES,label:de.default.Messages.ROLES,element:_.default,type:d.ContentTypes.MINIMAL,notice:{store:R.default,element:_.GuildSettingsRolesNotice},predicate:function(){return i}},{section:se.GuildSettingsSections.EMOJI,impressionName:o.ImpressionNames.GUILD_SETTINGS_EMOJI,label:de.default.Messages.EMOJI,element:K.default,predicate:function(){return s}},{section:se.GuildSettingsSections.STICKERS,impressionName:o.ImpressionNames.GUILD_SETTINGS_STICKERS,label:de.default.Messages.GUILD_SETTINGS_STICKERS,ariaLabel:de.default.Messages.GUILD_SETTINGS_STICKERS,element:ne.default,newIndicator:S.default.hasHotspot(g.HotspotLocations.GUILD_STICKERS_GUILD_SETTINGS_MENU),predicate:function(){return s}},{section:se.GuildSettingsSections.MODERATION,impressionName:o.ImpressionNames.GUILD_SETTINGS_MODERATION,label:de.default.Messages.MODERATION,element:X.default,notice:{store:L.default,element:J.GuildSettingsOverviewNotice},predicate:function(){return n}},{section:se.GuildSettingsSections.AUDIT_LOG,impressionName:o.ImpressionNames.GUILD_SETTINGS_AUDIT_LOG,label:de.default.Messages.GUILD_SETTINGS_LABEL_AUDIT_LOG,element:x.default,type:d.ContentTypes.CUSTOM,predicate:function(){return r}},{section:se.GuildSettingsSections.INTEGRATIONS,impressionName:o.ImpressionNames.GUILD_SETTINGS_INTEGRATION,label:de.default.Messages.INTEGRATIONS_OVERVIEW,ariaLabel:de.default.Messages.INTEGRATIONS_OVERVIEW,element:$.default,notice:{store:P.default,element:$.GuildSettingsIntegrationsNotice},predicate:function(){return n||p}},{section:se.GuildSettingsSections.WIDGET,impressionName:o.ImpressionNames.GUILD_SETTINGS_WIDGET,label:de.default.Messages.WIDGET,element:le.default,predicate:function(){return n}},{section:se.GuildSettingsSections.GUILD_TEMPLATES,impressionName:o.ImpressionNames.GUILD_SETTINGS_TEMPLATE,label:_e(ae.default,{showDirtyIndicator:T}),ariaLabel:de.default.Messages.GUILD_TEMPLATES,element:re.default,notice:{store:re.GuildSettingsTemplateMetadataStore,element:re.GuildSettingsTemplateNotice},predicate:function(){return n}},{section:se.GuildSettingsSections.VANITY_URL,impressionName:o.ImpressionNames.GUILD_SETTINGS_VANITY_URL,label:de.default.Messages.VANITY_URL,element:ie.default,notice:{store:D.default,element:ie.GuildSettingsVanityURLNotice},predicate:function(){return n&&t.hasFeature(se.GuildFeatures.VANITY_URL)}},{section:d.SectionTypes.DIVIDER,predicate:function(){return n}},{section:d.SectionTypes.HEADER,label:de.default.Messages.COMMUNITY,predicate:function(){return n}},{section:se.GuildSettingsSections.COMMUNITY,impressionName:t.hasFeature(se.GuildFeatures.COMMUNITY)?o.ImpressionNames.GUILD_SETTINGS_COMMUNITY_OVERVIEW:o.ImpressionNames.GUILD_SETTINGS_ENABLE_COMMUNITY,label:t.hasFeature(se.GuildFeatures.COMMUNITY)?de.default.Messages.OVERVIEW:de.default.Messages.GUILD_SETTINGS_COMMUNITY_ENABLE_COMMUNITY,element:W.default,ariaLabel:t.hasFeature(se.GuildFeatures.COMMUNITY)?de.default.Messages.OVERVIEW:de.default.Messages.GUILD_SETTINGS_COMMUNITY_ENABLE_COMMUNITY,newIndicator:!t.hasFeature(se.GuildFeatures.COMMUNITY)&&null!=C&&C>=O.COMMUNITY_UPSELL_MINIMUM_GUILD_SIZE&&S.default.hasHotspot(g.HotspotLocations.GUILD_SETTINGS_COMMUNITY_GUILD_UPSELL),notice:{store:L.default,element:W.GuildSettingsCommunityOverviewNotice},predicate:function(){return n}},{section:se.GuildSettingsSections.ANALYTICS,impressionName:o.ImpressionNames.GUILD_SETTINGS_ANALYTICS,label:de.default.Messages.SERVER_INSIGHTS,ariaLabel:de.default.Messages.SERVER_INSIGHTS,element:H.default,newIndicator:S.default.hasHotspot(g.HotspotLocations.GUILD_ANALYTICS_GUILD_SETTINGS_MENU),predicate:function(){return h&&t.hasFeature(se.GuildFeatures.COMMUNITY)}},{section:se.GuildSettingsSections.PARTNER,impressionName:o.ImpressionNames.GUILD_SETTINGS_PARTNER,label:de.default.Messages.PARTNER_PROGRAM,element:Q.default,predicate:function(){return n&&t.hasFeature(se.GuildFeatures.COMMUNITY)&&!t.hasFeature(se.GuildFeatures.PARTNERED)},ariaLabel:de.default.Messages.PARTNER_PROGRAM},{section:se.GuildSettingsSections.DISCOVERY,impressionName:o.ImpressionNames.GUILD_SETTINGS_DISCOVERY,label:de.default.Messages.DISCOVERY,element:z.default,notice:{store:L.default,element:z.GuildSettingsDiscoveryNotice},predicate:function(){return n&&t.hasFeature(se.GuildFeatures.COMMUNITY)},ariaLabel:t.hasFeature(se.GuildFeatures.DISCOVERABLE)?de.default.Messages.DISCOVERY:de.default.Messages.GUILD_SETTINGS_ENABLE_DISCOVERABLE},{section:se.GuildSettingsSections.MEMBER_VERIFICATION,impressionName:o.ImpressionNames.GUILD_SETTINGS_MEMBER_VERIFICATION,label:de.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION,element:m.default,predicate:function(){return n&&t.hasFeature(se.GuildFeatures.COMMUNITY)}},{section:se.GuildSettingsSections.COMMUNITY_WELCOME,impressionName:o.ImpressionNames.GUILD_SETTINGS_COMMUNITY_WELCOME,label:de.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME,ariaLabel:de.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME,element:Y.default,notice:{store:b.default,element:M.default},predicate:function(){return n&&t.hasFeature(se.GuildFeatures.COMMUNITY)}},{section:se.GuildSettingsSections.TICKETED_EVENTS,label:t.hasFeature(se.GuildFeatures.TICKETED_EVENTS_ENABLED)?de.default.Messages.GUILD_MONETIZATION_TICKETING_SETTINGS_PAGE_TITLE:de.default.Messages.GUILD_MONETIZATION_ENABLE_TICKETING_SETTINGS_PAGE_TITLE,ariaLabel:t.hasFeature(se.GuildFeatures.TICKETED_EVENTS_ENABLED)?de.default.Messages.GUILD_MONETIZATION_TICKETING_SETTINGS_PAGE_TITLE:de.default.Messages.GUILD_MONETIZATION_ENABLE_TICKETING_SETTINGS_PAGE_TITLE,element:ue.default,predicate:function(){return!!I.default.getCurrentConfig({guildId:t.id}).enabled&&(!!t.hasFeature(se.GuildFeatures.COMMUNITY)&&(t.hasFeature(se.GuildFeatures.MONETIZATION_ENABLED)?n:E))}},{section:se.GuildSettingsSections.THREADS,label:de.default.Messages.THREADS,ariaLabel:de.default.Messages.THREADS,element:oe.default,predicate:function(){return null==N?void 0:N.viewBots}},{section:d.SectionTypes.DIVIDER},{section:se.GuildSettingsSections.GUILD_PREMIUM,impressionName:o.ImpressionNames.GUILD_SETTINGS_BOOST_STATUS,label:de.default.Messages.GUILD_PREMIUM,ariaLabel:de.default.Messages.GUILD_PREMIUM,element:ee.default,className:fe.default.serverBoostTabItem,icon:_e(te.default,{className:fe.default.icon})},{section:d.SectionTypes.DIVIDER},{section:d.SectionTypes.HEADER,label:de.default.Messages.USER_MANAGEMENT},{section:se.GuildSettingsSections.MEMBERS,impressionName:o.ImpressionNames.GUILD_SETTINGS_MEMBERS,label:de.default.Messages.MEMBERS,element:q.default,type:d.ContentTypes.CUSTOM},{section:se.GuildSettingsSections.INSTANT_INVITES,impressionName:o.ImpressionNames.GUILD_SETTINGS_INVITES,label:de.default.Messages.INVITES,element:Z.default,type:d.ContentTypes.CUSTOM,predicate:function(){return n}},{section:se.GuildSettingsSections.BANS,impressionName:o.ImpressionNames.GUILD_SETTINGS_BANS,label:de.default.Messages.BANS,element:V.default,type:d.ContentTypes.CUSTOM,predicate:function(){return v}},{section:d.SectionTypes.DIVIDER,predicate:function(){return E}},{section:se.GuildSettingsSections.DELETE,onClick:function(){var e=k.default.getCurrentUser(),n=t.toString(),r={header:de.default.Messages.DELETE_SERVER_TITLE.format({name:n}),confirmText:de.default.Messages.DELETE_SERVER,cancelText:de.default.Messages.CANCEL,onConfirm:function(){B.ComponentDispatch.subscribeOnce(se.ComponentActions.LAYER_POP_COMPLETE,(function(){l.default.deleteGuild(t.id,n).then((function(){S.default.hasHotspot(g.HotspotLocations.GUILD_DELETE_FEEDBACK)&&(c.default.trackExposure({}),c.default.getCurrentConfig({}).showFeedback&&(0,G.openModal)((function(e){return a.createElement(y.default,me({},e,{guildId:t.id}))})))}))})),(0,u.popLayer)()}};e.mfaEnabled?(0,G.openModal)((function(e){return a.createElement(U.default,me({},e,r),_e(F.default,{size:F.default.Sizes.SIZE_16},void 0,de.default.Messages.DELETE_SERVER_BODY.format({name:n})))})):(0,G.openModal)((function(e){return a.createElement(f.default,me({},e,r,{validationText:n,instructionText:de.default.Messages.DELETE_SERVER_ENTER_NAME,errorText:de.default.Messages.DELETE_SERVER_INCORRECT_NAME}),de.default.Messages.DELETE_SERVER_BODY.format({name:n}))}))},label:de.default.Messages.DELETE_SERVER,color:se.Colors.STATUS_RED,predicate:function(){return E}}]}function Ee(e,t,n){void 0===t&&(t=null),v.default.trackWithMetadata(se.AnalyticEvents.SETTINGS_PANE_VIEWED,{settings_type:"guild",origin_pane:t,destination_pane:e,location:n})}var ge={canManageGuild:!1,canManageChannels:!1,canManageRoles:!1,canManageBans:!1,canManageNicknames:!1,canManageEmoji:!1,canViewAuditLog:!1,canManageWebhooks:!1,canViewGuildAnalytics:!1,isOwnerWithRequiredMfaLevel:!1},Se=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,ye(t,n);var a=r.prototype;return a.componentDidMount=function(){Ee(this.props.section,null,this.props.analyticsLocation)},a.componentWillUnmount=function(){l.default.close()},a.componentDidUpdate=function(e){var t=e.section,n=this.props,r=n.section,a=n.canManageGuild,o=n.canManageRoles,i=n.canManageBans,l=n.canManageNicknames,s=n.canManageEmoji,d=n.canViewAuditLog,f=n.canManageWebhooks,c=n.canViewGuildAnalytics;r!==t&&Ee(r,t),(a||o||i||l||s||d||f)&&(d||r!==se.GuildSettingsSections.AUDIT_LOG)&&(o||r!==se.GuildSettingsSections.ROLES)&&(s||r!==se.GuildSettingsSections.EMOJI)&&(i||r!==se.GuildSettingsSections.BANS)&&(c||r!==se.GuildSettingsSections.ANALYTICS)||(0,u.popLayer)()},a.render=function(){var e=this.props,t=e.theme,n=e.sidebarTheme,r=e.section,a=e.guild,o=e.channels,i=e.canManageGuild,d=e.canViewAuditLog,f=e.canManageRoles,c=e.canManageEmoji,p=e.canManageWebhooks,v=e.canManageBans,y=e.canViewGuildAnalytics,m=e.isOwnerWithRequiredMfaLevel,_=e.showDirtyGuildTemplateIndicator,h=e.memberCount,E=e.threadsOptInConfig;return null==a?null:_e("div",{},void 0,_e(s.default,{theme:t,sidebarTheme:n,section:r,onSetSection:l.default.setSection,onClose:u.popLayer,sections:he({guild:a,channels:o,canManageGuild:i,canViewAuditLog:d,canManageRoles:f,canManageEmoji:c,canManageWebhooks:p,canManageBans:v,canViewGuildAnalytics:y,isOwnerWithRequiredMfaLevel:m,showDirtyGuildTemplateIndicator:_,memberCount:h,threadsOptInConfig:E})}),_e(C.ViewingRolesSettingsNotice,{guildId:a.id}))},r}(a.PureComponent);function Oe(){var e=(0,i.useStateFromStores)([L.default],(function(){return L.default.getProps()}),[]),t=e.guild,n=e.section,r=e.analyticsLocation,o=(0,i.useStateFromStores)([j.default],(function(){return j.default.theme}),[]),u=(0,i.useStateFromStores)([p.default],(function(){return p.default.darkSidebar?se.ThemeTypes.DARK:void 0}),[]),s=(0,i.useStateFromStores)([N.default],(function(){return null!=t?N.default.getChannels(t.id).SELECTABLE:null}),[t]),d=(0,i.useStateFromStores)([w.default],(function(){return null!=t?w.default.getGuildPermissionProps(t):ge})),f=(0,i.useStateFromStores)([w.default],(function(){return null!=t&&w.default.canAccessGuildSettings(t)})),c=(0,i.useStateFromStores)([E.default],(function(){var e;return null!=(null==t?void 0:t.id)&&!0===(null===(e=E.default.getForGuild(t.id))||void 0===e?void 0:e.isDirty)}),[t]),v=(0,i.useStateFromStores)([A.default],(function(){return A.default.getMemberCount(null==t?void 0:t.id)}),[t]),y=(0,T.useThreadsOptInConfig)(t),m=null==t?void 0:t.id;return a.useEffect((function(){null!=m&&d.canManageGuild&&h.default.loadTemplatesForGuild(m)}),[m,d.canManageGuild]),a.useEffect((function(){f||l.default.close()}),[f]),a.createElement(Se,me({guild:t,section:n,theme:o,sidebarTheme:u,channels:s,showDirtyGuildTemplateIndicator:c,analyticsLocation:r,memberCount:v,threadsOptInConfig:y},d))}Se.displayName="GuildSettings",Oe.displayName="ConnectedGuildSettings"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=h(n(0)),o=m(n(9)),i=m(n(63)),l=m(n(9781)),u=m(n(8267)),s=m(n(149)),d=m(n(681)),f=h(n(159)),c=m(n(8978)),p=m(n(78)),v=m(n(7687)),y=m(n(370));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var S=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,g(t,n);var m=r.prototype;return m.getOverwriteValue=function(e){var t=this.props,n=t.allow,r=t.deny;if(null==n||null==r)throw new Error("PermissionsForm.getOverwriteValue: Invalid allow or deny props");return i.default.has(n,e)?p.default.ALLOW:i.default.has(r,e)?p.default.DENY:p.default.PASSTHROUGH},m.getPermissionValue=function(e,t){return i.default.has(t,e)},m.handleChange=function(e,t){(0,this.props.onChange)(e,t)},m.renderDisabledIndicator=function(e){return E(s.default,{text:e,position:s.default.Positions.TOP,color:s.default.Colors.RED},void 0,(function(e){return a.createElement("span",e,E(c.default,{className:v.default.icon,width:18,height:18}))}))},m.renderComponent=function(e){var t,n=this,r=e.title,a=e.description,i=e.flag,s=this.props,d=s.permissions,f=s.locked,c=s.permissionRender,p=null==c?void 0:c(i),y=Boolean(f||p),m="string"==typeof p?this.renderDisabledIndicator(p):null,_=(0,o.default)(((t={})[v.default.title]=null!=m,t));return null==d?E(l.default,{disabled:y,value:this.getOverwriteValue(i),onChange:function(e){return n.handleChange(i,e)},note:a},String(i),m,E("span",{className:_},void 0,r)):E(u.default,{disabled:y,value:this.getPermissionValue(i,d),onChange:function(e){return n.handleChange(i,e)},note:a},String(i),m,E("span",{className:_},void 0,r))},m.render=function(){var e=this.props,t=e.spec,n=e.className;return E(d.default,{className:n},void 0,E(f.default,{tag:f.Tags.H5,className:y.default.marginBottom20},void 0,t.title),t.permissions.map(this.renderComponent,this))},r}(a.PureComponent);S.displayName="PermissionsForm";var O=S;t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(10379)),a=c(n(473)),o=n(1229),i=c(n(1280)),l=c(n(8492)),u=n(8971),s=n(1209),d=n(1),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e){return r.generateGuildPermissionSpec(f.default.Messages,function(e){var t=(0,u.isGuildEligibleForStageChannels)(e),n=l.default.getCurrentConfig({guildId:e}),r=i.default.getCurrentConfig({guildId:e});return{PRIORITY_SPEAKER_DESCRIPTION:f.default.Messages.ROLE_PERMISSIONS_PRIORITY_SPEAKER_DESCRIPTION_APP.format({keybind:f.default.Messages.KEYBIND_PUSH_TO_TALK_PRIORITY,onClick:function(){a.default.open(d.UserSettingsSections.KEYBINDS)}}),showStageChannelPermissions:t,showGuildEventsPermissions:n.enabled||r.enabled,showThreadPermissions:(0,s.computeCanSeeThreadsInGuild)(e),showExperimental:!0}}(e))}var m={generateChannelPermissionSpec:function(e,t,n){var a=(0,o.getChannelPermissionSpecMap)(t,n);switch(t){case d.ChannelTypes.GUILD_CATEGORY:var i=[r.generateChannelGeneralSection(a,f.default.Messages.ROLE_PERMISSIONS_SECTION_GENERAL_CATEGORY),r.generateChannelMembershipSection(a,f.default.Messages.ROLE_PERMISSIONS_SECTION_MEMBERSHIP),r.generateChannelTextSection(a,f.default.Messages.ROLE_PERMISSIONS_SECTION_TEXT,{showThreadPermissions:(0,s.computeCanSeeThreadsInGuild)(e),showPrivateThreads:!0}),r.generateChannelVoiceSection(a,f.default.Messages.ROLE_PERMISSIONS_SECTION_VOICE)];return(0,u.isGuildEligibleForStageChannels)(e)&&i.push(r.generateChannelStageSection(a,f.default.Messages.ROLE_PERMISSIONS_SECTION_STAGE)),i;case d.ChannelTypes.GUILD_VOICE:return[r.generateChannelGeneralSection(a,f.default.Messages.ROLE_PERMISSIONS_SECTION_GENERAL_CHANNEL,{showManageWebhooks:!1}),r.generateChannelMembershipSection(a,f.default.Messages.ROLE_PERMISSIONS_SECTION_MEMBERSHIP),r.generateChannelVoiceSection(a,f.default.Messages.ROLE_PERMISSIONS_SECTION_VOICE)];case d.ChannelTypes.GUILD_STAGE_VOICE:return[r.generateChannelGeneralSection(a,f.default.Messages.ROLE_PERMISSIONS_SECTION_GENERAL_CHANNEL,{showManageWebhooks:!1}),r.generateChannelMembershipSection(a,f.default.Messages.ROLE_PERMISSIONS_SECTION_MEMBERSHIP),r.generateChannelStageVoiceSection(a,f.default.Messages.ROLE_PERMISSIONS_SECTION_VOICE),r.generateChannelStageSection(a,f.default.Messages.ROLE_PERMISSIONS_SECTION_STAGE)];default:return[r.generateChannelGeneralSection(a,f.default.Messages.ROLE_PERMISSIONS_SECTION_GENERAL_CHANNEL),r.generateChannelMembershipSection(a,f.default.Messages.ROLE_PERMISSIONS_SECTION_MEMBERSHIP),r.generateChannelTextSection(a,f.default.Messages.ROLE_PERMISSIONS_SECTION_TEXT,{showThreadPermissions:(0,s.computeCanSeeThreadsInGuild)(e),showPrivateThreads:t!==d.ChannelTypes.GUILD_ANNOUNCEMENT})]}},generateGuildPermissionSpec:function(e){var t=new Set;return e.hasFeature(d.GuildFeatures.COMMUNITY)||t.add(d.Permissions.VIEW_GUILD_ANALYTICS.toString()),function(e,t){return 0===t.size?e:e.map((function(e){return v({},e,{permissions:e.permissions.filter((function(e){return!t.has(e.flag.toString())}))})}))}(y(e.id),t)}};t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Content=t.Sidebar=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=s(n(55)),l=s(n(272)),u=s(n(7689));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function v(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,y(e,t)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=function(e){function t(){return e.apply(this,arguments)||this}return v(t,e),t.prototype.render=function(){var e=this.props,t=e.scrollable,n=p(e,["scrollable"]);return t?f("aside",{className:u.default.sidebarScrollable},void 0,f(l.default,{fade:!0,className:u.default.scroller},void 0,a.createElement(i.default.Child,c({},n,{wrap:!0})))):a.createElement(i.default.Child,c({},n,{wrap:!0}))},t}(a.PureComponent);t.Sidebar=m,m.displayName="Sidebar",m.defaultProps={basis:232,grow:0,shrink:0,className:u.default.sidebar};var _=function(e){function t(){return e.apply(this,arguments)||this}return v(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=p(e,["className"]);return a.createElement(i.default.Child,c({className:(0,o.default)(u.default.content,t),wrap:!0},n))},t}(a.PureComponent);t.Content=_,_.displayName="Content";var h=function(e){function t(){return e.apply(this,arguments)||this}return v(t,e),t.prototype.render=function(){return a.createElement(i.default,this.props)},t}(a.PureComponent);h.displayName="Layout",h.defaultProps={className:u.default.layout,direction:i.default.Direction.HORIZONTAL,justify:i.default.Justify.START,align:i.default.Align.START,wrap:i.default.Wrap.NO_WRAP,shrink:1,grow:1,basis:"auto"},h.Direction=i.default.Direction,h.Justify=i.default.Justify,h.Align=i.default.Align,h.Wrap=i.default.Wrap,h.Sidebar=m,h.Content=_;var E=h;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=C,t.ViewingRolesSettingsNotice=function(e){var t,n=e.guildId;return(0,o.useStateFromStores)([y.default],(function(){return y.default.isViewingRoles(n)}))?I("div",{className:(0,a.default)(E.default.settingsWrapper,(t={},t[E.default.windows]=p.default.isWindows(),t[E.default.osx]=p.default.isOSX(),t))},void 0,b):null};O(n(0));var r,a=g(n(9)),o=n(3),i=g(n(8254)),l=g(n(107)),u=g(n(29)),s=g(n(278)),d=g(n(8354)),f=g(n(683)),c=O(n(8678)),p=g(n(16)),v=n(8532),y=g(n(712)),m=g(n(9794)),_=n(1),h=g(n(6)),E=g(n(7699));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(e){var t=e.className,n=e.onClick,r=e.children;return I(u.default,{className:(0,a.default)(E.default.button,t),innerClassName:E.default.buttonInner,look:u.default.Looks.OUTLINED,color:u.default.Colors.WHITE,size:u.default.Sizes.NONE,onClick:n},void 0,r)}function C(){var e=(0,o.useStateFromStores)([l.default],(function(){return l.default.getGuildId()})),t=(0,o.useStateFromStores)([y.default],(function(){return null!=e?y.default.getViewingRoles(e):null}));if(null==t||null==e)return null;var n=I(m.default,{guildId:e});return I(c.default,{color:c.NoticeColors.BRAND,className:E.default.notice},void 0,I(T,{onClick:function(){null!=e&&((0,v.viewAsRolesStop)(e),i.default.open(e,_.GuildSettingsSections.ROLES))},className:E.default.backButton},void 0,I(d.default,{width:16,height:16,direction:d.default.Directions.LEFT,className:E.default.backArrow}),h.default.Messages.VIEWING_AS_ROLES_BACK),I("div",{className:E.default.noticeContents},void 0,I("div",{className:E.default.noticeText},void 0,h.default.Messages.VIEWING_AS_ROLES.format({numRoles:Object.keys(t).length})),I(s.default,{position:s.default.Positions.BOTTOM,renderPopout:function(){return n}},void 0,(function(e){return I(T,{onClick:e.onClick},void 0,h.default.Messages.VIEWING_AS_ROLES_SELECT,I(f.default,{width:16,height:16,direction:f.default.Directions.DOWN,className:E.default.selectCaret}))}))),I(T,{onClick:function(){return(0,v.viewAsRolesStop)(e)}},void 0,h.default.Messages.DISABLE))}T.displayName="NoticeButton",C.displayName="ViewingRolesNotice";var b=I(C,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(8)),a=l(n(3)),o=l(n(2)),i=l(n(8369));n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d,f={},c={};function p(e,t){return null==t&&(t="guild"),e+":"+t}function v(e){return null!=f[e]||(f[e]={}),f[e]}function y(e){var t=e.guildId,n=e.webhook;v(t)[n.id]=n}var m=new(function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var o,i,l,f=a.prototype;return f.isFetching=function(e,t){return null!=c[p(e,t)]},f.getWebhooksForGuild=function(e){return r.default.values(v(e))},f.getWebhooksForChannel=function(e,t){return(0,r.default)(v(e)).values().filter((function(e){return e.channel_id===t})).value()},o=a,(i=[{key:"error",get:function(){return d}}])&&u(o.prototype,i),l&&u(o,l),a}(a.default.Store))(o.default,{WEBHOOKS_UPDATE:function(e){var t=e.guildId,n=e.channelId,a=e.webhooks,o=e.error;if(a){d=null;var l=[];n&&(l=(0,r.default)(v(t)).values().filter((function(e){return e.channel_id!==n})).value());var u=f[t]={};l.concat(a).forEach((function(e){return u[e.id]=e})),delete c[p(t,n)]}else null!=o?(d=o,delete c[p(t,n)]):null!=n&&null!=f[t]&&(d=null,i.default.fetchForChannel(t,n))},WEBHOOKS_FETCHING:function(e){var t=e.guildId,n=e.channelId;c[p(t,n)]=!0},WEBHOOK_CREATE:y,WEBHOOK_UPDATE:y,WEBHOOK_DELETE:function(e){var t=e.guildId,n=e.webhookId;delete v(t)[n]}});t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?18:t,r=e.height,a=void 0===r?18:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 18 18"}),s("path",{fill:d,className:f,d:"M4.5,16.5v-3H3A1.5,1.5,0,0,1,1.5,12V3A1.5,1.5,0,0,1,3,1.5H15A1.5,1.5,0,0,1,16.5,3v9A1.5,1.5,0,0,1,15,13.5H8.5ZM3,3v9H6v1.5L8,12h7V3Z"}),s("path",{fill:d,className:f,d:"M6.75,4.5H5.25v6h1.5Z"}),s("path",{fill:d,className:f,d:"M9.75,7.5H8.25v3h1.5Z"}),s("path",{fill:d,className:f,d:"M12.75,6h-1.5v4.5h1.5Z"}))}d.displayName="AnalyticsBubble"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=C(n(8)),i=n(3),l=C(n(8317)),u=n(8575),s=C(n(8377)),d=C(n(86)),f=C(n(40)),c=C(n(5690)),p=C(n(55)),v=n(131),y=n(121),m=C(n(93)),_=C(n(9853)),h=C(n(9857)),E=C(n(9860)),g=C(n(9861)),S=C(n(9866)),O=n(1),I=C(n(6)),T=C(n(7735));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return A(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function P(e,t){switch(e){case O.IntegrationSettingsSections.APPLICATION:return(null==t?void 0:t.application.name)||"";case O.IntegrationSettingsSections.OVERVIEW:return I.default.Messages.INTEGRATIONS_OVERVIEW;case O.IntegrationSettingsSections.CHANNEL_FOLLOWING:return I.default.Messages.INTEGRATIONS_CHANNEL_FOLLOWING;case O.IntegrationSettingsSections.TWITCH:return I.default.Messages.INTEGRATIONS_TWITCH;case O.IntegrationSettingsSections.WEBHOOKS:return I.default.Messages.INTEGRATIONS_WEBHOOKS;case O.IntegrationSettingsSections.YOUTUBE:return I.default.Messages.INTEGRATIONS_YOUTUBE;default:return""}}var R=a.memo((function(e){var t=e.section,n=e.guild,r=e.channel,C=e.integrations,b=e.editedIntegration,A=e.webhooks,R=e.editedWebhook,L=e.isFetching,D=e.refToScroller,w=e.errors,j=e.hasChanges,k=(0,i.useStateFromStores)([d.default],(function(){return null!=n?d.default.getDefaultChannel(n.id):null}),[n]),U=(0,i.useStateFromStores)([d.default,f.default],(function(){return null!=n?o.default.keyBy(d.default.getChannels(n.id).SELECTABLE.map((function(e){return e.channel})).filter((function(e){return f.default.can(O.Permissions.MANAGE_WEBHOOKS,e)})),"id"):{}}),[n]),G=r||k,F=a.useState(null),B=F[0],H=F[1],x=a.useState(u.SHAKE_INTENSITY_DEFAULT),V=x[0],W=x[1],Y=a.useCallback((function(){return j()?(y.ComponentDispatch.dispatch(O.ComponentActions.SHAKE_APP,{duration:300,intensity:V}),W(Math.min(V+u.SHAKE_INTENSITY_INCREMENT,u.SHAKE_INTENSITY_MAX)),y.ComponentDispatch.dispatch(O.ComponentActions.EMPHASIZE_NOTICE),!1):(W(u.SHAKE_INTENSITY_DEFAULT),!0)}),[j,V]),z=a.useCallback((function(e){return!!Y()&&(l.default.setSection(e),!0)}),[Y]),K=a.useMemo((function(){var e={},t={},n=[],r=[];if(null!=C)for(var a,o=N(C);!(a=o()).done;){var i=a.value;if("discord"===i.type){if(null!=i.application)e[i.application.id]={application:i.application,integration:i,webhooks:[]}}else i.type in t||(t[i.type]=[]),t[i.type].push(i)}for(var l,u=N(A);!(l=u()).done;){var s=l.value;s.channel_id in U&&(null!=s.application_id&&s.application_id in e?e[s.application_id].webhooks.push(s):s.type===O.WebhookTypes.CHANNEL_FOLLOWER?r.push(s):n.push(s))}return{applicationIntegrations:e,builtInIntegrations:t,customWebhooks:n,followedChannelWebhooks:r}}),[C,U,A]),$=K.applicationIntegrations,Z=K.builtInIntegrations,q=K.customWebhooks,X=K.followedChannelWebhooks;a.useEffect((function(){switch(t){case O.IntegrationSettingsSections.TWITCH:null==Z[O.PlatformTypes.TWITCH]&&l.default.setSection(O.IntegrationSettingsSections.OVERVIEW);break;case O.IntegrationSettingsSections.YOUTUBE:null==Z[O.PlatformTypes.YOUTUBE]&&l.default.setSection(O.IntegrationSettingsSections.OVERVIEW);break;case O.IntegrationSettingsSections.APPLICATION:null!=B&&B in $||l.default.setSection(O.IntegrationSettingsSections.OVERVIEW)}}),[$,Z,B,t]);var J=null;switch(t){case O.IntegrationSettingsSections.TWITCH:null!=Z[O.PlatformTypes.TWITCH]&&(J=M(h.default,{guild:n,integrations:Z[O.PlatformTypes.TWITCH],editedIntegration:b,labelText:I.default.Messages.INTEGRATIONS_TWITCH,platformType:O.PlatformTypes.TWITCH,descriptionText:I.default.Messages.INTEGRATIONS_TWITCH_DESCRIPTION,helpText:I.default.Messages.INTEGRATIONS_TWITCH_HELP.format({connectAction:function(){return(0,s.default)(O.PlatformTypes.TWITCH)},helpdeskArticle:m.default.getArticleURL(O.HelpdeskArticles.TWITCH_INTEGRATION)}),canNavigate:Y}));break;case O.IntegrationSettingsSections.YOUTUBE:null!=Z[O.PlatformTypes.YOUTUBE]&&(J=M(h.default,{guild:n,integrations:Z[O.PlatformTypes.YOUTUBE],editedIntegration:b,labelText:I.default.Messages.INTEGRATIONS_YOUTUBE,platformType:O.PlatformTypes.YOUTUBE,descriptionText:I.default.Messages.INTEGRATIONS_YOUTUBE_DESCRIPTION,helpText:I.default.Messages.INTEGRATIONS_YOUTUBE_HELP.format({connectAction:function(){return(0,s.default)(O.PlatformTypes.YOUTUBE)},helpdeskArticle:m.default.getArticleURL(O.HelpdeskArticles.YOUTUBE_INTEGRATION)}),canNavigate:Y}));break;case O.IntegrationSettingsSections.APPLICATION:var Q=null!=B?$[B]:null;null!=Q&&(J=M(_.default,{guild:n,applicationIntegration:Q,editedWebhook:R,selectableWebhookChannels:U,errors:w,canNavigate:Y}));break;case O.IntegrationSettingsSections.CHANNEL_FOLLOWING:J=M(E.default,{followedChannelWebhooks:X,editedWebhook:R,selectableWebhookChannels:U,canNavigate:Y,errors:w});break;case O.IntegrationSettingsSections.WEBHOOKS:J=M(S.default,{guild:n,channel:r,customWebhooks:q,editedWebhook:R,selectableWebhookChannels:U,canNavigate:Y,refToScroller:D,errors:w});break;default:J=M(g.default,{guild:n,channel:r,applicationIntegrations:$,builtInIntegrations:Z,customWebhooks:q,followedChannelWebhooks:X,isLoading:L||null==n,canCreateWebhook:null!=G,onManageCustomWebhooks:function(){l.default.setSection(O.IntegrationSettingsSections.WEBHOOKS)},onManageFollowedChannels:function(){l.default.setSection(O.IntegrationSettingsSections.CHANNEL_FOLLOWING)},onManageApplication:function(e){H(e),l.default.setSection(O.IntegrationSettingsSections.APPLICATION)},onManageBuiltIn:function(e){switch(e){case O.PlatformTypes.TWITCH:l.default.setSection(O.IntegrationSettingsSections.TWITCH);break;case O.PlatformTypes.YOUTUBE:l.default.setSection(O.IntegrationSettingsSections.YOUTUBE)}}})}return a.createElement(a.Fragment,null,M(p.default,{align:p.default.Align.CENTER,className:T.default.breadcrumbs},void 0,t===O.IntegrationSettingsSections.OVERVIEW?M(v.FormTitle,{tag:v.FormTitle.Tags.H1},void 0,P(O.IntegrationSettingsSections.OVERVIEW)):M(c.default,{activeId:t.toString(),breadcrumbs:[O.IntegrationSettingsSections.OVERVIEW,t].map((function(e){return{id:e.toString(),label:P(e,$[B])}})),onBreadcrumbClick:function(e){z(parseInt(e.id))},renderCustomBreadcrumb:function(e,t){return M(v.FormTitle,{tag:v.FormTitle.Tags.H1,className:t?T.default.breadcrumbActive:T.default.breadcrumbInactive},void 0,e.label)}})),J)}));t.default=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=R(n(0)),o=A(n(9)),i=A(n(8)),l=A(n(1211)),u=A(n(8416)),s=A(n(8283)),d=n(180),f=A(n(70)),c=A(n(12)),p=A(n(8685)),v=R(n(8302)),y=A(n(55)),m=A(n(151)),_=n(131),h=n(41),E=A(n(24)),g=n(393),S=n(8305),O=A(n(8300)),I=R(n(8332)),T=n(1),C=A(n(6)),b=A(n(7736)),M=A(n(7347)),N=A(n(370));function A(e){return e&&e.__esModule?e:{default:e}}function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function L(){return(L=Object.assign||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}).apply(this,arguments)}function D(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function w(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,j(e,t)}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var k=3,U=3,G=1,F=2,B=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleRevokeInvite=function(){l.default.revokeInvite(t.props.invite)},t}w(t,e);var n=t.prototype;return n.renderChannel=function(){var e=this.props,t=e.showChannel,n=e.invite;return t?D(E.default,{size:E.default.Sizes.SIZE_12,color:E.default.Colors.HEADER_SECONDARY},void 0,(0,d.computeChannelName)(n.channel,c.default,f.default,!0)):null},n.renderUser=function(){var e=this.props.invite.inviter;return null==e?null:D("div",{className:b.default.user},void 0,D(I.default,{user:e,size:I.Sizes.SIZE_24,className:b.default.avatar}),D(O.default,{className:b.default.username,discriminatorClass:b.default.discriminator,user:e}))},n.render=function(){var e=this.props,t=e.invite,n=e.hide,r=t.uses;return t.maxUses>0&&(r=t.uses+"/"+t.maxUses),D(y.default,{className:(0,o.default)(b.default.inviteSettingsInviteRow,M.default.card)},void 0,D(y.default,{grow:k,basis:0,align:y.default.Align.CENTER,className:(0,o.default)(b.default.text)},void 0,D(y.default.Child,{},void 0,this.renderUser(),this.renderChannel())),D(y.default,{grow:U,shrink:1,basis:0,align:y.default.Align.CENTER,className:b.default.text},void 0,D(E.default,{className:b.default.inviteCode},void 0,n?"...":t.code)),D(y.default,{grow:G,basis:0,justify:y.default.Justify.END,align:y.default.Align.CENTER,className:(0,o.default)(b.default.text)},void 0,D(E.default,{className:b.default.uses},void 0,r)),D(y.default,{grow:F,basis:0,align:y.default.Align.CENTER,justify:y.default.Justify.END,className:(0,o.default)(b.default.text,b.default.countdownColumn)},void 0,D(E.default,{className:b.default.countdown},void 0,D(p.default,{deadline:t.getExpiresAt()}))),D(u.default,{className:b.default.revokeInvite,onClick:this.handleRevokeInvite}))},t}(a.PureComponent);B.displayName="InviteRow";var H=function(e){function t(){for(var t,r=arguments.length,o=new Array(r),l=0;l<r;l++)o[l]=arguments[l];return(t=e.call.apply(e,[this].concat(o))||this).handleShowInviteModal=function(){var e=t.props,n=e.guild,r=e.channel;(0,h.openModal)((function(e){return a.createElement(s.default,L({},e,{channel:r,guild:n,source:T.InstantInviteSources.SETTINGS_INVITE}))}))},t.memoizedGetInvites=(0,g.cachedFunction)((function(e,t){return null==e||t?[]:(0,i.default)(e).sortBy((function(e){return(e.inviter&&e.inviter.username||"").toLowerCase()})).value()})),t.getRowHeight=function(e,n){var r=t.props,a=r.invites,o=r.loading,i=t.memoizedGetInvites(a,!!o);return e>0?0:0===i.length&&0===n&&o||null!=i[n]?62:0},t.renderRow=function(e){var n=e.section,r=e.row,a=t.props,o=a.loading,i=a.invites,l=a.showChannel,u=a.hide,s=t.memoizedGetInvites(i,!!o);if(0===s.length&&0===r&&o)return D(m.default,{className:N.default.marginTop20,type:m.default.Type.SPINNING_CIRCLE},"spinner");if(n>0)return null;var d=s[r];return null==d?null:D(B,{hide:u,invite:d,showChannel:l},d.code)},t.renderSection=function(){var e,r=t.props,a=r.invites,o=r.loading,i=r.theme,l=r.canCreateInvites;return e=0!==t.memoizedGetInvites(a,!!o).length||o?D(y.default,{},void 0,D(y.default.Child,{grow:k,basis:0,className:N.default.marginReset},void 0,D(_.FormTitle,{},void 0,C.default.Messages.INSTANT_INVITE_INVITER)),D(y.default.Child,{basis:0,grow:U,className:N.default.marginReset},void 0,D(_.FormTitle,{},void 0,C.default.Messages.INSTANT_INVITE_INVITE_CODE)),D(y.default.Child,{grow:G,basis:0,className:b.default.textAlignRight},void 0,D(_.FormTitle,{},void 0,C.default.Messages.INSTANT_INVITE_USES)),D(y.default.Child,{grow:F,basis:0,className:b.default.textAlignRight},void 0,D(_.FormTitle,{},void 0,C.default.Messages.INSTANT_INVITE_EXPIRES))):D(v.default,{theme:i},void 0,D(v.EmptyStateImage,{darkSrc:n(8997),lightSrc:n(8998),width:256,height:130}),D(v.EmptyStateText,{note:C.default.Messages.NO_INVITES_BODY},void 0,C.default.Messages.NO_INVITES_LABEL)),D(_.FormSection,{className:b.default.headerSection},"header",D(_.FormTitle,{tag:_.FormTitleTags.H1},void 0,C.default.Messages.INVITES),D(_.FormText,{className:N.default.marginBottom20,type:_.FormTextTypes.DESCRIPTION},void 0,l?C.default.Messages.SETTINGS_INVITE_TIP.format({onCreateInvite:t.handleShowInviteModal}):C.default.Messages.SETTINGS_INVITE_TIP_WITHOUT_CREATE),D(_.FormDivider,{className:b.default.headerDivider}),e)},t.getSectionHeight=function(){var e=t.props,n=e.invites,r=e.loading;return 0!==t.memoizedGetInvites(n,!!r).length||r?120:344},t}return w(t,e),t.prototype.render=function(){var e=this.props,t=e.invites,n=e.loading,r=this.memoizedGetInvites(t,!!n);return D(S.ListContentScroller,{sections:[Math.max(1,r.length)],renderSection:this.renderSection,renderRow:this.renderRow,rowHeight:this.getRowHeight,sectionHeight:this.getSectionHeight})},t}(a.PureComponent);H.displayName="SettingsInvites";var x=H;t.default=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateVerificationLevelOptions=function(e){void 0===e&&(e=!1);return[{name:o.default.Messages.VERIFICATION_LEVEL_NONE,desc:o.default.Messages.VERIFICATION_LEVEL_NONE_CRITERIA,value:a.VerificationLevels.NONE,disabled:e,tooltipText:e?o.default.Messages.TOOLTIP_COMMUNITY_FEATURE_DISABLED:null},{name:o.default.Messages.VERIFICATION_LEVEL_LOW,desc:o.default.Messages.VERIFICATION_LEVEL_LOW_CRITERIA,value:a.VerificationLevels.LOW,color:a.Colors.STATUS_GREEN_600},{name:o.default.Messages.VERIFICATION_LEVEL_MEDIUM,desc:o.default.Messages.VERIFICATION_LEVEL_MEDIUM_CRITERIA.format({min:a.VerificationCriteria.ACCOUNT_AGE}),value:a.VerificationLevels.MEDIUM,color:a.Colors.STATUS_YELLOW},{name:o.default.Messages.VERIFICATION_LEVEL_HIGH,desc:o.default.Messages.VERIFICATION_LEVEL_HIGH_CRITERIA.format({min:a.VerificationCriteria.MEMBER_AGE}),value:a.VerificationLevels.HIGH,color:a.Colors.STATUS_ORANGE},{name:o.default.Messages.VERIFICATION_LEVEL_VERY_HIGH,desc:o.default.Messages.VERIFICATION_LEVEL_VERY_HIGH_CRITERIA,value:a.VerificationLevels.VERY_HIGH,color:a.Colors.STATUS_RED}]},t.generateContentFilterOptions=function(e){void 0===e&&(e=!1);return[{name:o.default.Messages.EXPLICIT_CONTENT_FILTER_DISABLED,desc:o.default.Messages.EXPLICIT_CONTENT_FILTER_DISABLED_DESCRIPTION,value:a.GuildExplicitContentFilterTypes.DISABLED,disabled:e,tooltipText:e?o.default.Messages.TOOLTIP_COMMUNITY_FEATURE_DISABLED:null},{name:o.default.Messages.EXPLICIT_CONTENT_FILTER_MEDIUM,desc:o.default.Messages.EXPLICIT_CONTENT_FILTER_MEDIUM_DESCRIPTION,value:a.GuildExplicitContentFilterTypes.MEMBERS_WITHOUT_ROLES,disabled:e,tooltipText:e?o.default.Messages.TOOLTIP_COMMUNITY_FEATURE_DISABLED:null},{name:o.default.Messages.EXPLICIT_CONTENT_FILTER_HIGH,desc:o.default.Messages.EXPLICIT_CONTENT_FILTER_HIGH_DESCRIPTION,value:a.GuildExplicitContentFilterTypes.ALL_MEMBERS}]},t.generateDMSafetyOptions=function(){return[{name:o.default.Messages.USER_EXPLICIT_CONTENT_FILTER_FRIENDS_AND_NON_FRIENDS,desc:o.default.Messages.USER_EXPLICIT_CONTENT_FILTER_FRIENDS_AND_NON_FRIENDS_HELP,value:a.ExplicitContentFilterTypes.FRIENDS_AND_NON_FRIENDS,color:a.Colors.STATUS_GREEN_600},{name:o.default.Messages.USER_EXPLICIT_CONTENT_FILTER_NON_FRIENDS,desc:o.default.Messages.USER_EXPLICIT_CONTENT_FILTER_NON_FRIENDS_HELP,value:a.ExplicitContentFilterTypes.NON_FRIENDS,color:a.Colors.STATUS_YELLOW_560},{name:o.default.Messages.USER_EXPLICIT_CONTENT_FILTER_DISABLED,desc:o.default.Messages.USER_EXPLICIT_CONTENT_FILTER_DISABLED_HELP,value:a.ExplicitContentFilterTypes.DISABLED,color:a.Colors.STATUS_RED}]};var r,a=n(1),o=(r=n(6))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=c(n(9)),o=c(n(183)),i=c(n(8377)),l=c(n(88)),u=c(n(149)),s=c(n(13)),d=n(1),f=c(n(7744));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=function(e){var t=e.disabled,n=void 0!==t&&t,r=e.type,c=e.className,p=e.innerClassName,y=e.onConnect;var m=o.default.get(r);return v(u.default,{text:m.name},void 0,(function(e){var t=e.onMouseEnter,u=e.onMouseLeave;return v("div",{className:(0,a.default)(f.default.wrapper,c)},void 0,v(l.default,{},void 0,v("button",{onMouseEnter:t,onMouseLeave:u,className:(0,a.default)(f.default.inner,p),type:"button",disabled:n,style:{backgroundImage:"url('"+m.icon.color+"')"},onClick:null!=y?y:function(){return function(e){var t=o.default.get(e);(0,i.default)(t.type,"Friends List"),s.default.track(d.AnalyticEvents.ACCOUNT_LINK_STEP,{previous_step:"desktop connections",current_step:"desktop oauth",platform_type:t.type})}(r)},"aria-label":m.name})))}))};y.displayName="ConnectAccountButton";var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=u(n(9)),o=u(n(7760)),i=u(n(9923)),l=u(n(9924));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t=e.Icon,n=e.className;return d("div",{className:(0,a.default)(o.default.container,n)},void 0,d("div",{className:o.default.innerContainer},void 0,d("img",{src:l.default,alt:"",className:o.default.star}),d("div",{className:o.default.iconWrapper},void 0,d(t,{width:40,height:40})),d("img",{src:i.default,alt:"",className:o.default.sparkle})))}f.displayName="SparklyIcon"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,d:"M23 10V4H1V10C2.1 10 3 10.9 3 12C3 13.1 2.1 14 1 14V20H23V14C21.9 14 21 13.1 21 12C21 10.9 21.9 10 23 10ZM13 16V18H11V16H9V14H13C13.27 14 13.5 13.83 13.5 13.62C13.5 12.58 8.5 13.62 8.5 10.37C8.5 9.07 9.62 8 11 8V6H13V8H15V10H11C10.73 10 10.5 10.17 10.5 10.38C10.5 11.42 15.5 10.38 15.5 13.63C15.5 14.93 14.38 16 13 16Z"}))}d.displayName="Ticket"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=s(n(8768)),i=n(8253),l=s(n(181)),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=(0,a.useStateFromStores)([l.default],(function(){return l.default.isGuildCollapsed(e)}),[e]);return f(i.MenuCheckboxItem,{id:"hide-muted-channels",label:u.default.Messages.HIDE_MUTED_CHANNELS,action:function(){return o.default.toggleCollapseGuild(e)},checked:t})}c.displayName="useHideMutedChannelsItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=v(n(8283)),l=n(8253),u=n(8256),s=v(n(40)),d=n(41),f=n(8286),c=n(1),p=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e,t){var n=(0,o.useStateFromStores)([s.default],(function(){return(0,f.canViewInviteModal)(s.default,e,t)}));return null!=t&&n?m(l.MenuItem,{id:"invite-people",label:p.default.Messages.INVITE_PEOPLE,color:u.MenuItemColor.BRAND,action:function(){return(0,d.openModal)((function(n){return a.createElement(i.default,_({},n,{guild:e,channel:t,source:c.InstantInviteSources.GUILD_CONTEXT_MENU}))}))}}):null}h.displayName="useInvitePeopleItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(){return(l=Object.assign||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}).apply(this,arguments)}var u=null;var s=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var a=r.prototype;return a.getCurrentPath=function(){return null!=u?u.pathname:null},a.getCurrentRoute=function(){return function(e){var t=null!=e&&null!=e.search?e.search:"";return null!=e?""+e.pathname+t:null}(u)},a.reset=function(){throw new Error("Should not reset the store this way outside of a test environment")},r}(r.default.Store))(a.default,{APPLICATION_STORE_LOCATION_CHANGE:function(e){var t=e.location;u=l({},t)},APPLICATION_STORE_RESET_NAVIGATION:function(e){u=null}});t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);var i={toggleMembersSection:function(){a.default.dispatch({type:o.ActionTypes.CHANNEL_TOGGLE_MEMBERS_SECTION})}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(29)),i=p(n(55)),l=p(n(371)),u=p(n(47)),s=p(n(24)),d=p(n(6)),f=p(n(7350)),c=p(n(9944));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=function(e){var t=e.reapplyText,n=e.onReapply,r=e.confirmText,p=e.onConfirm,v=e.rejectionReason,m=void 0===v?null:v,_=e.guild,h=void 0===_?null:_;return y(i.default,{direction:i.default.Direction.VERTICAL,align:i.default.Align.CENTER,className:f.default.confirmation},void 0,y("div",{className:f.default.confirmationContent},void 0,null!==h?y(l.default,{size:l.default.Sizes.LARGER,guild:h,className:f.default.guildIcon}):y("img",{alt:d.default.Messages.MEMBER_VERIFICATION_APPLICATION_REJECTED_ICON,src:c.default,className:f.default.verificationStateIcon}),y(u.default,{size:u.default.Sizes.SIZE_24,className:f.default.header},void 0,(null==h?void 0:h.name)?d.default.Messages.MEMBER_VERIFICATION_APPLICATION_REJECTED_TITLE_WITH_GUILD_NAME.format({guildName:null==h?void 0:h.name}):d.default.Messages.MEMBER_VERIFICATION_APPLICATION_REJECTED_TITLE),m&&a.createElement(a.Fragment,null,y(s.default,{size:s.default.Sizes.SIZE_14},void 0,y("span",{className:f.default.rejectionReasonLabel},void 0,d.default.Messages.MEMBER_VERIFICATION_APPLICATION_REJECTED_REASON),y("span",{className:f.default.rejectionReason},void 0,m)))),y("div",{className:f.default.confirmationButtonRow},void 0,y(o.default,{onClick:n,color:o.default.Colors.GREY,className:f.default.confirmationButton},void 0,t),y(o.default,{onClick:p,color:o.default.Colors.GREY,className:f.default.confirmationButton},void 0,r)))};m.displayName="MemberVerificationApplicationRejected";var _=m;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===t&&(t=!1);var n=(0,r.default)(e,!0);if(null==e||null==n)return"";if(t)return o.default.Messages.READ_ONLY_CHANNEL;switch(e.type){case a.ChannelTypes.DM:return o.default.Messages.DM_TEXTAREA_PLACEHOLDER.format({channel:n});default:return o.default.Messages.TEXTAREA_PLACEHOLDER.format({channel:n})}};var r=i(n(180)),a=n(1),o=i(n(6));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TutorialIndicator=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=g(n(9)),i=g(n(8)),l=n(67),u=g(n(3)),s=g(n(8691)),d=g(n(11)),f=g(n(694)),c=g(n(1238)),p=g(n(8692)),v=g(n(161)),y=g(n(9947)),m=n(9948),_=n(9952),h=n(1),E=g(n(7768));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(){return(O=Object.assign||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}).apply(this,arguments)}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,C(e,t)}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b=Object.freeze({x:0,y:0}),M=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={offsetX:null,offsetY:null,popoutOffsetX:0,popoutOffsetY:0},t.handleDismiss=function(){s.default.dismiss(t.props.tutorialId)},t}T(t,e);var n=t.prototype;return n.componentDidMount=function(){this.updateCache()},n.componentDidUpdate=function(e){var t=e.tutorialId,n=e.x,r=e.y,a=e.targetWidth,o=e.targetHeight,i=e.position,l=e.offset;this.props.tutorialId===t&&this.props.x===n&&this.props.y===r&&this.props.targetWidth===a&&this.props.targetHeight===o&&this.props.position===i&&this.props.offset.x===l.x&&this.props.offset.y===l.y||this.updateCache()},n.getPopoutOffset=function(){var e=this.props,t=e.popoutOffset,n=e.tutorialDefinition;return null!=t?t:null!=n.popoutOffset?n.popoutOffset:b},n.updateCache=function(){var e=(0,l.findDOMNode)(this);if(e&&e instanceof HTMLElement){var t=this.getPopoutOffset(),n=e.offsetWidth,r=e.offsetHeight,a={offsetX:(this.props.targetWidth-n)/2,offsetY:(this.props.targetHeight-r)/2,popoutOffsetX:0,popoutOffsetY:0};switch(this.props.position){case"left":a.offsetX=-n,a.popoutOffsetX=n;break;case"right":a.offsetX=this.props.targetWidth,a.popoutOffsetX=-n;break;case"bottom":a.offsetY=this.props.targetHeight,a.popoutOffsetY=-r;break;case"top":default:a.offsetY=-r,a.popoutOffsetY=r}a.popoutOffsetX+=t.x,a.popoutOffsetY+=t.y,a.offsetX+=this.props.offset.x?this.props.offset.x:0,a.offsetY+=this.props.offset.y?this.props.offset.y:0,this.setState(a)}},n.handleSkipTips=function(){s.default.suppressAll()},n.getTutorialPopoutText=function(){var e=this.props.tutorialId;return(0,_.getTutorialPopoutText)(e)},n.render=function(){var e,t,n,r=this.props,i=r.tutorialId,l=r.preventInvert,u=(0,m.getTutorialPopoutAttributes)(i);if(null==u)return null;var s=u.media,d=u.textAlign,f=u.isLongText,c=u.arrowAlignment,p=u.highPriority,v=u.popoutPosition,_={left:null!=this.state.offsetX?this.props.x+this.state.offsetX:void 0,top:null!=this.state.offsetY?this.props.y+this.state.offsetY:void 0},g=this.props.visible,S=!0!==p?null:I("div",{},void 0,I("div",{className:(0,o.default)(E.default.top,(e={},e[E.default.animating]=g,e[E.default.notAnimating]=!g,e))}),I("div",{className:(0,o.default)(E.default.bottom,(t={},t[E.default.animating]=g,t[E.default.notAnimating]=!g,t))})),T=((n={})[E.default.animating]=g,n[E.default.notAnimating]=!g,n[E.default.highPriority]=p,n),C=this.getTutorialPopoutText(),b=this.state,M=b.popoutOffsetX,N=b.popoutOffsetY;return a.createElement(y.default,O({position:v,renderMedia:s,textAlign:d,isLongText:f,arrowAlignment:c,uniqueId:i,showArrow:!0,preventInvert:l,forceTheme:h.ThemeTypes.LIGHT,onSkipAll:this.handleSkipTips,onComplete:this.handleDismiss,offsetX:M,offsetY:N},C),I("div",{className:E.default.indicator,style:_,"data-tutorial-id":i},void 0,I("div",{className:(0,o.default)(E.default.animationContainer,T)},void 0,S,I("div",{className:(0,o.default)(E.default.innerCircle,T)}),I("div",{className:(0,o.default)(E.default.outerCircle,T)}))))},t}(a.PureComponent);t.TutorialIndicator=M,M.displayName="TutorialIndicator";var N=u.default.connectStores([p.default,f.default,v.default,d.default],(function(){return{indicators:p.default.getIndicators(),tutorialData:p.default.getData(),shouldShowAny:p.default.shouldShowAnyIndicators()&&!f.default.hasLayers()&&!d.default.isGuest(),isFocused:v.default.isFocused()}}))(function(e){function t(){return e.apply(this,arguments)||this}return T(t,e),t.prototype.render=function(){var e=this.props,t=e.indicators,n=e.shouldShowAny,r=e.isFocused,o=e.tutorialData;return n?i.default.map(t,(function(e,t){var n=o[t];return null==n?null:a.createElement(M,O({key:t,tutorialId:t,tutorialDefinition:n,visible:r&&!c.default.isOpen(t)},e))})):null},t}(a.Component));t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHubGuildTemplatesMap=function(){var e;return(e={})[o.CREATE]={id:o.CREATE,code:"2TffvPucqHkN",label:s.default.Messages.GUILD_TEMPLATE_HEADER_CREATE,channels:[],system_channel_id:null},e[o.HUB_SCHOOL_CLUB]={id:o.HUB_SCHOOL_CLUB,code:"UMUbvRpRZhS6",label:s.default.Messages.GUILD_TEMPLATE_HEADER_SCHOOL_CLUB,channels:[{id:"00",parent_id:null,name:s.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_INFORMATION,type:u.ChannelTypes.GUILD_CATEGORY},{id:"01",parent_id:"00",name:s.default.Messages.GUILD_TEMPLATE_NAME_WELCOME_AND_RULES,type:u.ChannelTypes.GUILD_TEXT},{id:"02",parent_id:"00",name:s.default.Messages.GUILD_TEMPLATE_NAME_ANNOUNCEMENTS,type:u.ChannelTypes.GUILD_TEXT},{id:"03",parent_id:"00",name:s.default.Messages.GUILD_TEMPLATE_NAME_RESOURCES,type:u.ChannelTypes.GUILD_TEXT},{id:"10",parent_id:null,name:s.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_TEXT,type:u.ChannelTypes.GUILD_CATEGORY},{id:"11",parent_id:"10",name:s.default.Messages.GUILD_TEMPLATE_NAME_INTRODUCTIONS,type:u.ChannelTypes.GUILD_TEXT},{id:"12",parent_id:"10",name:s.default.Messages.GUILD_TEMPLATE_NAME_GENERAL,type:u.ChannelTypes.GUILD_TEXT},{id:"13",parent_id:"10",name:s.default.Messages.GUILD_TEMPLATE_NAME_OFF_TOPIC,type:u.ChannelTypes.GUILD_TEXT},{id:"20",parent_id:null,name:s.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_VOICE,type:u.ChannelTypes.GUILD_CATEGORY},{id:"21",parent_id:"20",name:s.default.Messages.GUILD_TEMPLATE_NAME_VOICE_LOUNGE,type:u.ChannelTypes.GUILD_VOICE},{id:"22",parent_id:"20",name:s.default.Messages.GUILD_TEMPLATE_NAME_VOICE_MEETING_ROOM_1,type:u.ChannelTypes.GUILD_VOICE},{id:"22",parent_id:"20",name:s.default.Messages.GUILD_TEMPLATE_NAME_VOICE_MEETING_ROOM_2,type:u.ChannelTypes.GUILD_VOICE}],roles:[{id:"00",name:"@everyone",permissions:l.default.DEFAULT},{id:"01",name:"officers (example)",mentionable:!0,hoist:!0,permissions:i.default.combine(l.default.DEFAULT,u.Permissions.MANAGE_ROLES,u.Permissions.MANAGE_CHANNELS,u.Permissions.KICK_MEMBERS,u.Permissions.BAN_MEMBERS,u.Permissions.MANAGE_NICKNAMES,u.Permissions.MANAGE_EMOJIS,u.Permissions.MANAGE_MESSAGES,u.Permissions.SEND_TTS_MESSAGES),color:3066993}],system_channel_id:"12"},e[o.HUB_STUDY]={id:o.HUB_STUDY,code:"2JBhzzca2vfT",label:s.default.Messages.GUILD_TEMPLATE_HEADER_STUDY,channels:[{id:"00",parent_id:null,name:s.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_INFO,type:u.ChannelTypes.GUILD_CATEGORY},{id:"01",parent_id:"00",name:s.default.Messages.GUILD_TEMPLATE_NAME_NOTES_RESOURCES,type:u.ChannelTypes.GUILD_TEXT},{id:"02",parent_id:"00",name:s.default.Messages.GUILD_TEMPLATE_NAME_HELP_QUESTIONS,type:u.ChannelTypes.GUILD_TEXT},{id:"10",parent_id:null,name:s.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_CHAT,type:u.ChannelTypes.GUILD_CATEGORY},{id:"11",parent_id:"10",name:s.default.Messages.GUILD_TEMPLATE_NAME_INTRODUCTIONS,type:u.ChannelTypes.GUILD_TEXT},{id:"12",parent_id:"10",name:s.default.Messages.GUILD_TEMPLATE_NAME_GENERAL,type:u.ChannelTypes.GUILD_TEXT},{id:"12",parent_id:"10",name:s.default.Messages.GUILD_TEMPLATE_NAME_OFF_TOPIC,type:u.ChannelTypes.GUILD_TEXT},{id:"20",parent_id:null,name:s.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_VOICE,type:u.ChannelTypes.GUILD_CATEGORY},{id:"21",parent_id:"20",name:s.default.Messages.GUILD_TEMPLATE_NAME_VOICE_LOUNGE,type:u.ChannelTypes.GUILD_VOICE},{id:"22",parent_id:"20",name:s.default.Messages.GUILD_TEMPLATE_NAME_VOICE_STUDY_ROOM.format({number:1}),type:u.ChannelTypes.GUILD_VOICE},{id:"23",parent_id:"20",name:s.default.Messages.GUILD_TEMPLATE_NAME_VOICE_STUDY_ROOM.format({number:2}),type:u.ChannelTypes.GUILD_VOICE}],system_channel_id:"12"},e[o.HUB_CLASS]={id:o.HUB_CLASS,code:"r86WWBwTGspb",label:s.default.Messages.GUILD_TEMPLATE_HEADER_CLASS,channels:[{id:"00",parent_id:null,name:s.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_INFO,type:u.ChannelTypes.GUILD_CATEGORY},{id:"01",parent_id:"00",name:s.default.Messages.GUILD_TEMPLATE_NAME_ASSIGNMENTS,type:u.ChannelTypes.GUILD_TEXT},{id:"02",parent_id:"00",name:s.default.Messages.GUILD_TEMPLATE_NAME_HELP_QUESTIONS,type:u.ChannelTypes.GUILD_TEXT},{id:"10",parent_id:null,name:s.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_CHAT,type:u.ChannelTypes.GUILD_CATEGORY},{id:"11",parent_id:"10",name:s.default.Messages.GUILD_TEMPLATE_NAME_INTRODUCTIONS,type:u.ChannelTypes.GUILD_TEXT},{id:"12",parent_id:"10",name:s.default.Messages.GUILD_TEMPLATE_NAME_GENERAL,type:u.ChannelTypes.GUILD_TEXT},{id:"13",parent_id:"10",name:s.default.Messages.GUILD_TEMPLATE_NAME_OFF_TOPIC,type:u.ChannelTypes.GUILD_TEXT},{id:"20",parent_id:null,name:s.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_VOICE,type:u.ChannelTypes.GUILD_CATEGORY},{id:"21",parent_id:"20",name:s.default.Messages.GUILD_TEMPLATE_NAME_VOICE_LOUNGE,type:u.ChannelTypes.GUILD_VOICE},{id:"22",parent_id:"20",name:s.default.Messages.GUILD_TEMPLATE_NAME_VOICE_STUDY_ROOM.format({number:1}),type:u.ChannelTypes.GUILD_VOICE},{id:"23",parent_id:"20",name:s.default.Messages.GUILD_TEMPLATE_NAME_VOICE_STUDY_ROOM.format({number:2}),type:u.ChannelTypes.GUILD_VOICE}],system_channel_id:"12"},e[o.HUB_SOCIAL]={id:o.HUB_SOCIAL,code:"AvvtXE3mfbCR",label:s.default.Messages.GUILD_TEMPLATE_HEADER_SOCIAL,channels:[{id:"00",parent_id:null,name:s.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_CHAT,type:u.ChannelTypes.GUILD_CATEGORY},{id:"01",parent_id:"00",name:s.default.Messages.GUILD_TEMPLATE_NAME_INTRODUCTIONS,type:u.ChannelTypes.GUILD_TEXT},{id:"02",parent_id:"00",name:s.default.Messages.GUILD_TEMPLATE_NAME_GENERAL,type:u.ChannelTypes.GUILD_TEXT},{id:"03",parent_id:"00",name:s.default.Messages.GUILD_TEMPLATE_NAME_OFF_TOPIC,type:u.ChannelTypes.GUILD_TEXT},{id:"04",parent_id:"00",name:s.default.Messages.GUILD_TEMPLATE_NAME_MEETUPS,type:u.ChannelTypes.GUILD_TEXT},{id:"10",parent_id:null,name:s.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_VOICE,type:u.ChannelTypes.GUILD_CATEGORY},{id:"11",parent_id:"10",name:s.default.Messages.GUILD_TEMPLATE_NAME_VOICE_COUCHES,type:u.ChannelTypes.GUILD_VOICE},{id:"12",parent_id:"10",name:s.default.Messages.GUILD_TEMPLATE_NAME_VOICE_MOVIE_ROOM,type:u.ChannelTypes.GUILD_VOICE},{id:"13",parent_id:"10",name:s.default.Messages.GUILD_TEMPLATE_NAME_VOICE_UNNUMBERED_STUDY_ROOM,type:u.ChannelTypes.GUILD_VOICE}],system_channel_id:"02"},e[o.HUB_MAJOR]={id:o.HUB_MAJOR,code:"FhmfDR6Arvsc",label:s.default.Messages.GUILD_TEMPLATE_HEADER_MAJOR,channels:[{id:"00",parent_id:null,name:s.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_INFO,type:u.ChannelTypes.GUILD_CATEGORY},{id:"01",parent_id:"00",name:s.default.Messages.GUILD_TEMPLATE_NAME_RESOURCES,type:u.ChannelTypes.GUILD_TEXT},{id:"02",parent_id:"00",name:s.default.Messages.GUILD_TEMPLATE_NAME_HELP_QUESTIONS,type:u.ChannelTypes.GUILD_TEXT},{id:"10",parent_id:null,name:s.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_CHAT,type:u.ChannelTypes.GUILD_CATEGORY},{id:"11",parent_id:"10",name:s.default.Messages.GUILD_TEMPLATE_NAME_INTRODUCTIONS,type:u.ChannelTypes.GUILD_TEXT},{id:"12",parent_id:"10",name:s.default.Messages.GUILD_TEMPLATE_NAME_GENERAL,type:u.ChannelTypes.GUILD_TEXT},{id:"13",parent_id:"10",name:s.default.Messages.GUILD_TEMPLATE_NAME_OFF_TOPIC,type:u.ChannelTypes.GUILD_TEXT},{id:"20",parent_id:null,name:s.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_VOICE,type:u.ChannelTypes.GUILD_CATEGORY},{id:"21",parent_id:"20",name:s.default.Messages.GUILD_TEMPLATE_NAME_VOICE_LOUNGE,type:u.ChannelTypes.GUILD_VOICE},{id:"22",parent_id:"20",name:s.default.Messages.GUILD_TEMPLATE_NAME_VOICE_STUDY_ROOM.format({number:1}),type:u.ChannelTypes.GUILD_VOICE},{id:"23",parent_id:"20",name:s.default.Messages.GUILD_TEMPLATE_NAME_VOICE_STUDY_ROOM.format({number:2}),type:u.ChannelTypes.GUILD_VOICE}],system_channel_id:"12"},e[o.HUB_DORM]={id:o.HUB_DORM,code:"fkq8xHfrGE58",label:s.default.Messages.GUILD_TEMPLATE_HEADER_DORM,channels:[{id:"00",parent_id:null,name:s.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_INFO,type:u.ChannelTypes.GUILD_CATEGORY},{id:"01",parent_id:"00",name:s.default.Messages.GUILD_TEMPLATE_NAME_DORM_NEWS,type:u.ChannelTypes.GUILD_TEXT},{id:"10",parent_id:null,name:s.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_CHAT,type:u.ChannelTypes.GUILD_CATEGORY},{id:"11",parent_id:"10",name:s.default.Messages.GUILD_TEMPLATE_NAME_INTRODUCTIONS,type:u.ChannelTypes.GUILD_TEXT},{id:"12",parent_id:"10",name:s.default.Messages.GUILD_TEMPLATE_NAME_GENERAL,type:u.ChannelTypes.GUILD_TEXT},{id:"13",parent_id:"10",name:s.default.Messages.GUILD_TEMPLATE_NAME_OFF_TOPIC,type:u.ChannelTypes.GUILD_TEXT},{id:"20",parent_id:null,name:s.default.Messages.GUILD_TEMPLATE_NAME_CATEGORY_VOICE,type:u.ChannelTypes.GUILD_CATEGORY},{id:"21",parent_id:"20",name:s.default.Messages.GUILD_TEMPLATE_NAME_VOICE_LOUNGE,type:u.ChannelTypes.GUILD_VOICE},{id:"22",parent_id:"20",name:s.default.Messages.GUILD_TEMPLATE_NAME_VOICE_MOVIE_ROOM,type:u.ChannelTypes.GUILD_VOICE},{id:"23",parent_id:"20",name:s.default.Messages.GUILD_TEMPLATE_NAME_VOICE_COUCHES,type:u.ChannelTypes.GUILD_VOICE}],system_channel_id:"12"},e},t.HubGuildTemplateId=t.CreateOrAddGuildSlideTypes=t.DirectoryEntryTypes=void 0;var r,a,o,i=d(n(63)),l=d(n(78)),u=n(1),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}t.DirectoryEntryTypes=r,function(e){e[e.GUILD=0]="GUILD"}(r||(t.DirectoryEntryTypes=r={})),t.CreateOrAddGuildSlideTypes=a,function(e){e.GUILD_TEMPLATES="guild-templates",e.CUSTOMIZE_NEW_GUILD="customize-new-guild",e.CHOOSE_GUILD="choose-guild",e.CUSTOMIZE_EXISTING_GUILD="customize-existing-guild",e.CONFIRMATION="confirmation"}(a||(t.CreateOrAddGuildSlideTypes=a={})),t.HubGuildTemplateId=o,function(e){e.CREATE="CREATE",e.HUB_SCHOOL_CLUB="HUB_SCHOOL_CLUB",e.HUB_STUDY="HUB_STUDY",e.HUB_CLASS="HUB_CLASS",e.HUB_SOCIAL="HUB_SOCIAL",e.HUB_MAJOR="HUB_MAJOR",e.HUB_DORM="HUB_DORM"}(o||(t.HubGuildTemplateId=o={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(180)),i=f(n(29)),l=f(n(466)),u=f(n(24)),s=f(n(6)),d=f(n(7769));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e){var t=e.channel,n=e.category,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["channel","category"]),f=(0,o.default)(t,!0),c=(0,o.default)(n);return a.createElement(l.default,p({header:s.default.Messages.CONFIRM_CHANNEL_DRAG_TITLE,confirmText:s.default.Messages.SYNC_PERMISSIONS,cancelText:s.default.Messages.KEEP_PERMISSIONS,confirmButtonColor:i.default.Colors.BRAND},r),v(u.default,{size:u.default.Sizes.SIZE_16,className:d.default.message,selectable:!1},void 0,s.default.Messages.SYNC_PERMISSIONS_EXPLANATION.format({channelName:f,categoryName:c})))}y.displayName="ConfirmChannelDrag"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color"]);return o.createElement("svg",u({},(0,i.default)(f),{width:n,height:a,viewBox:"0 0 24 24",fill:"none"}),s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C5.93 2 1 6.93 1 13C1 15 1.55 16.88 2.48 18.49L3.77 17.74C2.97 16.35 2.5 14.73 2.5 13C2.5 7.75 6.75 3.5 12 3.5C17.25 3.5 21.5 7.75 21.5 13H23C23 6.93 18.07 2 12 2ZM5.5 13C5.5 9.42 8.42 6.5 12 6.5C15.58 6.5 18.5 9.42 18.5 13H17C17 10.24 14.76 8 12 8C9.24 8 7 10.24 7 13C7 13.91 7.26 14.75 7.69 15.49L6.38 16.25C5.82 15.29 5.5 14.18 5.5 13ZM12 15C13.1046 15 14 14.1046 14 13C14 11.8954 13.1046 11 12 11C10.8954 11 10 11.8954 10 13C10 14.1046 10.8954 15 12 15ZM12 16.5C9.94 16.5 8.5 17.8 8.5 19.5V20H13V16.62C12.69 16.55 12.36 16.5 12 16.5ZM17 15H22C23.1 15 24 15.9 24 17V22C24 23.1 23.1 24 22 24H17C15.9 24 15 23.1 15 22V17C15 15.9 15.9 15 17 15ZM17 22H22V21H17V22ZM17 20H22V19H17V20ZM17 18H22V17H17V18Z",fill:d}))}d.displayName="StageEvents"},,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=l(n(9)),i=l(n(7797));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=Object.freeze({SMALL:1,MEDIUM:2,LARGE:4}),c=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var a=r.prototype;return a.renderCircle=function(){var e=this.props,t=e.strokeSize,n=e.percent,r=e.colorOverride,a=e.background,l=Math.min(Math.max(n,0),100),u=(20-t)/2,d=u*Math.PI*2;return s("svg",{viewBox:"0 0 20 20",className:i.default.circle},void 0,s("circle",{className:i.default.circleBackgroundAlt,cx:10,cy:10,r:10}),s("circle",{className:(0,o.default)(i.default.circleBackground,a),cx:10,cy:10,r:(20-2*t)/2}),s("circle",{className:i.default.circleProgress,cx:10,cy:10,r:u,strokeWidth:t+"px",strokeLinecap:"round",transform:"rotate(-90 10 10)",stroke:null!=r?r:"currentColor",style:{strokeDasharray:d,strokeDashoffset:(1-l/100)*d}}))},a.render=function(){var e=this.props,t=e.className,n=e.children;return s("div",{className:(0,o.default)(i.default.progressCircle,t)},void 0,this.renderCircle(),null!=n?s("div",{className:i.default.circleOverlay},void 0,n):null)},r}(a.Component);c.displayName="ProgressCircle",c.StrokeSizes=f,c.defaultProps={strokeSize:f.MEDIUM};var p=c;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color"]);return o.createElement("svg",u({},(0,i.default)(f),{width:n,height:a,viewBox:"0 0 24 24",fill:"none"}),s("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.25 18L13.25 6L11.75 6L11.75 18L13.25 18Z",fill:d}),s("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 12.75C6.30964 12.75 5.75 13.3096 5.75 14V18H4.25V14C4.25 12.4812 5.48122 11.25 7 11.25H18C19.5188 11.25 20.75 12.4812 20.75 14V18H19.25V14C19.25 13.3096 18.6904 12.75 18 12.75H7Z",fill:d}),s("path",{d:"M12.5 7C11.1193 7 10 5.88071 10 4.5C10 3.11929 11.1193 2 12.5 2C13.8807 2 15 3.11929 15 4.5C15 5.88071 13.8807 7 12.5 7Z",fill:d}),s("path",{d:"M20 22C18.6193 22 17.5 20.8807 17.5 19.5C17.5 18.1193 18.6193 17 20 17C21.3807 17 22.5 18.1193 22.5 19.5C22.5 20.8807 21.3807 22 20 22Z",fill:d}),s("path",{d:"M12.5 22C11.1193 22 10 20.8807 10 19.5C10 18.1193 11.1193 17 12.5 17C13.8807 17 15 18.1193 15 19.5C15 20.8807 13.8807 22 12.5 22Z",fill:d}),s("path",{d:"M5 22C3.61929 22 2.5 20.8807 2.5 19.5C2.5 18.1193 3.61929 17 5 17C6.38071 17 7.5 18.1193 7.5 19.5C7.5 20.8807 6.38071 22 5 22Z",fill:d}))}d.displayName="Hub"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l={};var u=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var a=r.prototype;return a.initialize=function(e){var t=e;null!=t&&Object.keys(t).forEach((function(e){"number"==typeof t[e]&&(l[e]=t[e])}))},a.getState=function(){return l},a.hasViewed=function(e){return null!=l[e]},r}(r.default.PersistedStore);u.persistKey="ViewHistoryStore";var s=new u(a.default,{VIEW_HISTORY_MARK_VIEW:function(e){var t=e.key;l[t]=Date.now()}});t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.open=function(e,t){m.default.track(_.AnalyticEvents.OPEN_MODAL,{type:"Guest Mode - Login Modal",location:e}),T=(0,v.openModal)((function(e){return a.createElement(b,I({},e,{openRegister:t}))}))},t.close=C,t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=g(n(2)),l=g(n(199)),u=g(n(5702)),s=n(42),d=g(n(413)),f=g(n(36)),c=g(n(107)),p=n(35),v=n(41),y=g(n(24)),m=g(n(13)),_=n(1),h=g(n(6)),E=g(n(7390));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(){return(I=Object.assign||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}).apply(this,arguments)}var T=null;function C(){null!=T&&(0,v.closeModal)(T),T=null}var b=function(e){var t=e.transitionState,r=e.openRegister,a=(0,o.useStateFromStores)([c.default],(function(){return c.default.getGuildId()}),[]),v=(0,o.useStateFromStores)([f.default],(function(){return f.default.getChannelId()})),m=(0,o.useStateFromStores)([d.default],(function(){return d.default.getGuildId()}),[]);return O(p.ModalRoot,{transitionState:t,className:E.default.modal,size:p.ModalSize.MEDIUM,"aria-label":h.default.Messages.LOGIN_TITLE},void 0,O("div",{className:E.default.information},void 0,O(y.default,{size:y.default.Sizes.SIZE_24},void 0,h.default.Messages.LOGIN_TITLE),O(y.default,{className:E.default.body},void 0,h.default.Messages.AUTH_LOGIN_BODY),O("img",{alt:"",src:n(8772),className:E.default.image})),O(u.default,{transitionTo:function(e){i.default.wait((function(){var t=[];null!=a&&void 0!==a&&t.push(l.default.joinGuild(a,!1,_.JoinGuildSources.CHAT_INPUT_BLOCKER)),null!=m&&m!==a&&t.push(l.default.joinGuild(m,!1,_.JoinGuildSources.CHAT_INPUT_BLOCKER)),Promise.all(t).then((function(){(0,s.transitionTo)(e)}))}))},redirectTo:_.Routes.CHANNEL(a,v),isGuest:!0,authBoxClassName:E.default.card,closeLogin:C,openRegister:r}))};b.displayName="Login";var M=b;t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.open=function(e,t){m.default.track(_.AnalyticEvents.OPEN_MODAL,{type:"Guest Mode - Register Modal",location:e}),T=(0,v.openModal)((function(e){return a.createElement(b,I({},e,{openLogin:t}))}))},t.close=C,t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=g(n(2)),l=g(n(199)),u=g(n(8704)),s=n(42),d=g(n(413)),f=g(n(36)),c=g(n(107)),p=n(35),v=n(41),y=g(n(24)),m=g(n(13)),_=n(1),h=g(n(6)),E=g(n(7390));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(){return(I=Object.assign||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}).apply(this,arguments)}var T=null;function C(){null!=T&&(0,v.closeModal)(T),T=null}var b=function(e){var t=e.transitionState,r=e.openLogin,a=(0,o.useStateFromStores)([c.default],(function(){return c.default.getGuildId()}),[]),v=(0,o.useStateFromStores)([f.default],(function(){return f.default.getChannelId()})),m=(0,o.useStateFromStores)([d.default],(function(){return d.default.getGuildId()}),[]);return O(p.ModalRoot,{transitionState:t,size:p.ModalSize.MEDIUM,className:E.default.modal,"aria-label":h.default.Messages.GUEST_LURKER_MODE_CHAT_INPUT_HEADER},void 0,O("div",{className:E.default.information},void 0,O(y.default,{size:y.default.Sizes.SIZE_24},void 0,h.default.Messages.GUEST_LURKER_MODE_CHAT_INPUT_HEADER),O(y.default,{className:E.default.body},void 0,h.default.Messages.GUEST_LURKER_MODE_CHAT_INPUT_BODY),O("img",{alt:"",src:n(8772),className:E.default.image})),O(u.default,{transitionTo:function(e){i.default.wait((function(){var t=[];null!=a&&t.push(l.default.joinGuild(a,!1,_.JoinGuildSources.CHAT_INPUT_BLOCKER)),null!=m&&m!==a&&t.push(l.default.joinGuild(m,!1,_.JoinGuildSources.CHAT_INPUT_BLOCKER)),Promise.all(t).then((function(){(0,s.transitionTo)(e)}))}))},redirectTo:_.Routes.CHANNEL(a,v),isGuest:!0,closeRegister:C,openLogin:r,authBoxClassName:E.default.card}))};b.displayName="Register";var M=b;t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(1153)),a=u(n(3)),o=u(n(2)),i=u(n(16)),l=n(742);n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=null;var f=new(function(e){var t,n;function a(){return e.apply(this,arguments)||this}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n),a.prototype.isUnderageAnonymous=function(){return i.default.embedded?null!=d&&d+l.AGE_GATE_REGISTER_TIMEOUT_MS>Date.now():null!=r.default.parse(document.cookie).underage},a}(a.default.Store))(o.default,{AGE_GATE_PREVENT_UNDERAGE_REGISTRATION:function(e){return!0,d=Date.now(),void(document.cookie="underage=1;path=/")},LOGIN_SUCCESS:function(e){return!1,d=null,void(document.cookie="underage=1;path=/;max-age=0")}});t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,r.isOnXbox)(e))return i.XBOX_APPLICATION_ID_PREFIX+e.name;if((0,r.isListeningOnSpotify)(e)&&null!=e.party&&null!=e.party.id)return a.SpotifyApplication.id;if((0,r.isStreaming)(e)&&null!=e.url)return o.TWITCH_APPLICATION_ID_PREFIX+e.url;if(null!=e.application_id)return e.application_id;return null};var r=n(1214),a=n(1264),o=n(9213),i=n(9214)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TWITCH_APPLICATION_ID_PREFIX=void 0;var r=i(n(183)),a=i(n(379)),o=i(n(6));function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.TWITCH_APPLICATION_ID_PREFIX="twitch:";var u=function(e){var t,n;function a(t){var n;return(n=e.call(this,t)||this).id="twitch:"+t.url,n.name=o.default.Messages.GAME_FEED_ACTIVITY_STREAMING_TWITCH,n}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n),a.prototype.getIconURL=function(){return r.default.get("twitch").icon.svg},a}(a.default);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.XBOX_APPLICATION_ID_PREFIX=void 0;var r=o(n(183)),a=o(n(379));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.XBOX_APPLICATION_ID_PREFIX="xbox:";var l=function(e){var t,n;function a(t){var n;return(n=e.call(this,t)||this).id="xbox:"+t.name,n.name=t.name,n}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n),a.prototype.getIconURL=function(){return r.default.get("xbox").icon.svg},a}(a.default);t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fill:d,className:f,d:"M12 2C6.485 2 2 6.485 2 12H5.33333C5.33333 8.32333 8.32333 5.33333 12 5.33333C15.6767 5.33333 18.6667 8.32333 18.6667 12C18.6667 15.6767 15.6767 18.6667 12 18.6667C10.2033 18.6667 8.55833 17.9333 7.315 16.6867L10.3333 13.6667H2V22L4.935 19.065C6.79833 20.94 9.30167 22 12 22C17.515 22 22 17.515 22 12C22 6.48667 17.515 2 12 2Z"}))}d.displayName="Retry"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=c(n(0)),o=d(n(9)),i=d(n(55)),l=n(85),u=c(n(35)),s=d(n(7813));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).headerId=(0,l.uid)(),t.scrollerRef=a.createRef(),t.handleScroll=function(){var e,n,r=t.scrollerRef.current;null!=r&&(null===(e=(n=t.props).onScroll)||void 0===e||e.call(n,r))},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n),r.prototype.render=function(){var e,t=this,n=this.props,r=n.renderFooter,l=n.selectable,d=n.renderHeader,f=n.className,c=n.onClose,y=n.children;return r&&(e=v(u.ModalFooter,{direction:i.default.Direction.HORIZONTAL},void 0,r())),v(u.default,{onCloseRequest:c,renderModal:function(n){var r=n.onClose,m=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(n,["onClose"]);return a.createElement(u.ModalRoot,p({className:s.default.modal},m,{"aria-labelledby":t.headerId}),v(u.ModalHeader,{align:i.default.Justify.BETWEEN,separator:!1,id:t.headerId},void 0,d(),v(i.default.Child,{grow:0},void 0,v(u.ModalCloseButton,{onClick:function(){null!=c&&c(),r()}}))),v(u.ModalContent,{className:(0,o.default)(f,s.default.content,{selectable:l}),scrollerRef:t.scrollerRef,onScroll:t.handleScroll},void 0,y),e)}})},r}(a.PureComponent);m.displayName="Markdown",m.defaultProps={selectable:!1};var _=m;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=O;g(n(0));var r,a=n(389),o=h(n(8258)),i=g(n(8253)),l=h(n(11)),u=h(n(8579)),s=h(n(10067)),d=h(n(8484)),f=h(n(8329)),c=h(n(8370)),p=h(n(8485)),v=h(n(8399)),y=h(n(8571)),m=n(1),_=h(n(6));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e){var t=e.channel,n=e.guild,r=e.includeTopic,h=void 0!==r&&r,E=e.onSelect,g=(0,v.default)(t),O=(0,y.default)(t),I=(0,s.default)(t),T=(0,c.default)(t),C=(0,p.default)(t,n),b=(0,u.default)(t,n),M=(0,d.default)(t,n,m.ChannelTypes.GUILD_TEXT),N=(0,d.default)(t,n,m.ChannelTypes.GUILD_VOICE),A=(0,f.default)(t),P=(0,o.default)(t.id);return l.default.isGuest()?null:S(i.default,{navId:"channel-context",onClose:a.closeContextMenu,"aria-label":_.default.Messages.CHANNEL_ACTIONS_MENU_LABEL,onSelect:E},void 0,S(i.MenuGroup,{},void 0,g),S(i.MenuGroup,{},void 0,h?I:O,T),S(i.MenuGroup,{},void 0,C,b,M,N),S(i.MenuGroup,{},void 0,A),S(i.MenuGroup,{},void 0,P))}O.displayName="ChannelListTextChannelContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WelcomeMessageCTA=G,t.default=F;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=j();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=w(n(9)),i=n(276),l=w(n(273)),u=n(3),s=n(206),d=w(n(8254)),f=w(n(8283)),c=n(1228),p=w(n(763)),v=w(n(106)),y=n(8769),m=n(10068),_=w(n(11)),h=w(n(15)),E=w(n(12)),g=w(n(61)),S=w(n(683)),O=w(n(372)),I=n(41),T=w(n(47)),C=w(n(24)),b=n(121),M=w(n(93)),N=w(n(16)),A=w(n(97)),P=w(n(8373)),R=n(1),L=w(n(6)),D=w(n(7815));function w(e){return e&&e.__esModule?e:{default:e}}function j(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return j=function(){return e},e}function k(){return(k=Object.assign||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}).apply(this,arguments)}function U(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function G(e){var t,n,r=e.className,i=e.iconUrl,l=e.icon,u=e.header,s=e.completed,d=e.onClick,f=a.useState(!1),c=f[0],v=f[1],y=(0,p.default)(s);return a.useEffect((function(){null!=y&&s!==y&&(v(!0),setTimeout((function(){return v(!1)}),1e3))}),[s,y]),U(g.default,{className:(0,o.default)(r,D.default.card,(t={},t[D.default.completed]=s,t)),onClick:d},void 0,l||U("div",{className:D.default.icon,style:{backgroundImage:"url('"+i+"')"}}),U(C.default,{color:C.default.Colors.HEADER_PRIMARY,className:D.default.cardHeader},void 0,u),s?U(O.default,{className:(0,o.default)(D.default.checkmark,(n={},n[D.default.animate]=c,n))}):U(S.default,{className:D.default.arrow,direction:S.default.Directions.RIGHT}))}function F(e){var t,r=e.channel,p=(0,u.useStateFromStores)([h.default],(function(){return null!=r?h.default.getGuild(r.getGuildId()):null}),[r]),g=null!=p&&A.default.extractTimestamp(p.id)<(0,s.now)()-R.WELCOME_OLD_GUILD_AGE_THRESHOLD,S=(0,u.useStateFromStores)([_.default],(function(){return(null==p?void 0:p.ownerId)===_.default.getId()}),[p]),O=(0,m.usePermissions)(r,p),w=O.canInvite,j=O.canCustomize,F=O.canMessage,B=(0,u.useStateFromStores)([E.default],(function(){var e,t;return!0===(null===(e=E.default.getNullableCurrentUser())||void 0===e?void 0:e.desktop)||!0===(null===(t=E.default.getNullableCurrentUser())||void 0===t?void 0:t.mobile)})),H=(0,m.useCompletedStates)(r,p),x=H.guildPopulated,V=H.guildMessaged,W=H.guildPersonalized,Y=function(e){return{handleInvite:a.useCallback((function(){v.default.trackWithMetadata(R.AnalyticEvents.SERVER_SETUP_CTA_CLICKED,{setup_type:y.AnalyticsSetupTypes.CHANNEL_WELCOME,action:y.AnalyticsActions.INVITE}),null!=e&&(0,I.openModal)((function(t){return a.createElement(f.default,k({},t,{guild:e,source:R.InstantInviteSources.CHANNEL_WELCOME,analyticsLocation:{section:R.AnalyticsSections.CHANNEL_WELCOME_CTA}}))}))}),[e]),handleMessage:a.useCallback((function(){v.default.trackWithMetadata(R.AnalyticEvents.SERVER_SETUP_CTA_CLICKED,{setup_type:y.AnalyticsSetupTypes.CHANNEL_WELCOME,action:y.AnalyticsActions.SEND_MESSAGE}),b.ComponentDispatch.dispatch(R.ComponentActions.TEXTAREA_FOCUS,{highlight:!0})}),[]),handlePersonalize:a.useCallback((function(){v.default.trackWithMetadata(R.AnalyticEvents.SERVER_SETUP_CTA_CLICKED,{setup_type:y.AnalyticsSetupTypes.CHANNEL_WELCOME,action:y.AnalyticsActions.PERSONALIZE_SERVER}),null!=e&&d.default.open(e.id,R.GuildSettingsSections.OVERVIEW,{section:R.AnalyticsSections.CHANNEL_WELCOME_CTA})}),[e]),handleDownload:a.useCallback((function(){v.default.trackWithMetadata(R.AnalyticEvents.SERVER_SETUP_CTA_CLICKED,{setup_type:y.AnalyticsSetupTypes.CHANNEL_WELCOME,action:y.AnalyticsActions.DOWNLOAD}),(0,c.showAppDownloadModal)(R.AnalyticsSections.CHANNEL_WELCOME_CTA)}),[])}}(p),z=Y.handleInvite,K=Y.handleMessage,$=Y.handlePersonalize,Z=Y.handleDownload,q=!(B||x||V||W),X=function(e){var t=(0,i.useLazyValue)((function(){return new l.default.Value(0)})),n=(0,i.useLazyValue)((function(){return new l.default.Value(0)})),r=[];return r.push((0,i.useLazyValue)((function(){return new l.default.Value(0)}))),r.push((0,i.useLazyValue)((function(){return new l.default.Value(0)}))),r.push((0,i.useLazyValue)((function(){return new l.default.Value(0)}))),r.push((0,i.useLazyValue)((function(){return new l.default.Value(0)}))),a.useEffect((function(){l.default.stagger(300,[l.default.parallel([l.default.timing(n,{toValue:1,duration:450}),l.default.timing(t,{toValue:1,duration:450})]),l.default.stagger(100,[l.default.timing(r[0],{toValue:1,duration:300}),l.default.timing(r[1],{toValue:1,duration:300}),l.default.timing(r[2],{toValue:1,duration:300}),l.default.timing(r[3],{toValue:1,duration:300})])]).start()}),[n,t,r]),{titleAnimatedStyle:e?{transform:[{translateY:t.interpolate({inputRange:[0,1],outputRange:["-20px","0px"]})}],opacity:n}:{},opacities:r}}(q),J=X.titleAnimatedStyle,Q=X.opacities;if(null==p)return null;var ee=[];g||(w&&ee.push(U(l.default.div,{className:D.default.cardWrapper,style:q?{opacity:Q[ee.length]}:{}},"invite",U(G,{iconUrl:n(9219),header:L.default.Messages.WELCOME_CTA_INVITE_TITLE,completed:x,onClick:z}))),j&&ee.push(U(l.default.div,{className:D.default.cardWrapper,style:q?{opacity:Q[ee.length]}:{}},"customize",U(G,{iconUrl:n(10069),header:L.default.Messages.WELCOME_CTA_PERSONALIZE_TITLE,completed:W,onClick:$}))),F&&ee.push(U(l.default.div,{className:D.default.cardWrapper,style:q?{opacity:Q[ee.length]}:{}},"message",U(G,{iconUrl:n(10070),header:L.default.Messages.WELCOME_CTA_MESSAGE_TITLE,completed:V,onClick:K}))),N.default.isWeb()&&ee.push(U(l.default.div,{className:D.default.cardWrapper,style:q?{opacity:Q[ee.length]}:{}},"download",U(G,{iconUrl:n(10071),header:L.default.Messages.WELCOME_CTA_DOWNLOAD_TITLE,completed:B,onClick:Z}))));var te=S?L.default.Messages.WELCOME_CTA_SUBTITLE_OWNER:L.default.Messages.WELCOME_CTA_SUBTITLE_MEMBER;g&&(te=L.default.Messages.WELCOME_CTA_SUBTITLE_EXISTING_SERVER);var ne=M.default.getArticleURL(R.HelpdeskArticles.GUILD_GETTING_STARTED)+"?utm_source=discord&utm_medium=blog&utm_campaign=2020-06_help-new-user&utm_content=--t%3Apm";return U(P.default,{channelId:r.id},void 0,U("div",{className:D.default.container},void 0,U("div",{className:D.default.inner},void 0,U(l.default.div,{style:J},void 0,U(T.default,{className:D.default.titleName,size:T.default.Sizes.SIZE_32},void 0,L.default.Messages.WELCOME_CTA_TITLE.format({guildName:p.name})),U(C.default,{color:C.default.Colors.HEADER_SECONDARY,className:(0,o.default)((t={},t[D.default.subtitle]=!0,t[D.default.noChildren]=0===ee.length,t))},void 0,te," ",ee.length>0?L.default.Messages.WELCOME_CTA_SUBTITLE_ACTION_WITH_GUIDE.format({guideURL:ne}):null)),ee)))}G.displayName="WelcomeMessageCTA",F.displayName="WelcomeArea"},function(e,t,n){e.exports=n.p+"e7b5ebef60788733060075b99faed415.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){switch(e){case r.SpoilerRenderSetting.ALWAYS:return!0;case r.SpoilerRenderSetting.IF_MODERATOR:return t;case r.SpoilerRenderSetting.ON_CLICK:default:return!1}};var r=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=v(n(8)),a=v(n(3)),o=v(n(2)),i=n(297),l=v(n(10)),u=v(n(56)),s=v(n(15)),d=v(n(201)),f=v(n(70)),c=v(n(39)),p=v(n(12));n(1);function v(e){return e&&e.__esModule?e:{default:e}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m={};function _(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=!1),void 0===r&&(r=!1);var a=l.default.getChannel(e),o=null!=a?a.getGuildId():null;return{id:e,messages:t.map((function(e){return(0,i.createMessageRecord)(e)})),guildId:o,loaded:n,loading:r}}function h(e){var t=e.channel;delete m[t.id]}function E(){r.default.forEach(m,(function(e){r.default.forEach(e.messages,(function(e){e.timestamp.locale(c.default.locale)}))}))}function g(){r.default.forEach(m,(function(e){e.messages=e.messages.map((function(e){return e.set("blocked",f.default.isBlocked(e.author.id))}))}))}var S=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(l.default,s.default,u.default,d.default,p.default,c.default)},a.getPinnedMessages=function(e){return m[e]&&m[e]||null},a.loaded=function(e){return null!=m[e]&&m[e].loaded},r}(a.default.Store))(o.default,{CONNECTION_OPEN:function(e){m={}},GUILD_DELETE:function(e){var t=e.guild;m=(0,r.default)(m).filter((function(e){return e.guildId!==t.id})).keyBy("id").value()},MESSAGE_UPDATE:function(e){var t=e.message.id,n=e.message.channel_id;if(null!=n){var a=m[n];if(null!=e.message.author)if(e.message.pinned){if(!a)return a=_(n,[e.message],!1),void(m[n]=a);a.messages=a.messages.slice();var o=r.default.findIndex(a.messages,(function(e){return e.id===t}));-1===o?a.messages.unshift((0,i.createMessageRecord)(e.message)):a.messages[o]=(0,i.updateMessageRecord)(a.messages[o],e.message),m[n]=a}else{if(!a)return;var l=r.default.findIndex(a.messages,(function(e){return e.id===t}));if(-1===l)return;a.messages=a.messages.slice(),a.messages.splice(l,1),m[n]=a}else if(a){var u=r.default.findIndex(a.messages,(function(e){return e.id===t}));if(u>=0){var s=a.messages[u],d=(0,i.updateMessageRecord)(s,e.message);if(d!==s){var f=a.messages.slice();f[u]=d,m[n].messages=f}}}}},MESSAGE_DELETE:function(e){var t=e.id,n=e.channelId,a=m[n];a&&0!==r.default.remove(a.messages,(function(e){return e.id===t})).length&&(a.messages=a.messages.slice(),m[n]=a)},MESSAGE_DELETE_BULK:function(e){var t=e.ids,n=e.channelId,r=m[n];r&&(r.messages=r.messages.filter((function(e){return-1===t.indexOf(e.id)})))},LOAD_PINNED_MESSAGES:function(e){var t=e.channelId;m[t]=_(t,[],!1,!0)},LOAD_PINNED_MESSAGES_SUCCESS:function(e){var t=e.channelId,n=e.messages;m[t]=_(t,n,!0)},LOAD_PINNED_MESSAGES_FAILURE:function(e){var t=e.channelId;delete m[t]},USER_SETTINGS_UPDATE:function(e){return E()},I18N_LOAD_SUCCESS:function(e){return E()},CHANNEL_DELETE:h,THREAD_DELETE:h,RELATIONSHIP_ADD:function(e){return g()},RELATIONSHIP_REMOVE:function(e){return g()}});t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,a.useStateFromStores)([u.default],(function(){return u.default.can(s.Permissions.MANAGE_MESSAGES,t)}),[t]);if(e.state===s.MessageStates.SEND_FAILED)return null;if(!n&&!t.isPrivate()||t.isArchivedThread())return null;return!1===e.pinned?p(l.MenuItem,{id:"pin",action:function(n){n.shiftKey?o.default.pinMessage(t,e.id):i.default.confirmPin(t,e)},label:d.default.Messages.PIN_MESSAGE}):p(l.MenuItem,{id:"unpin",action:function(n){n.shiftKey?o.default.unpinMessage(t,e.id):i.default.confirmUnpin(t,e)},label:d.default.Messages.UNPIN_MESSAGE})};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=f(n(8581)),i=f(n(8487)),l=n(8253),u=f(n(40)),s=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=F(n(0)),o=U(n(9)),i=U(n(8)),l=U(n(5)),u=U(n(273)),s=n(202),d=U(n(3)),f=U(n(10074)),c=U(n(1366)),p=U(n(10075)),v=n(8342),y=U(n(10078)),m=U(n(71)),_=U(n(15)),h=U(n(40)),E=U(n(70)),g=U(n(107)),S=U(n(479)),O=F(n(1242)),I=U(n(8582)),T=U(n(39)),C=U(n(12)),b=U(n(161)),M=U(n(149)),N=U(n(10079)),A=U(n(1251)),P=U(n(13)),R=n(121),L=n(48),D=U(n(258)),w=n(1),j=U(n(6)),k=U(n(7817));function U(e){return e&&e.__esModule?e:{default:e}}function G(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return G=function(){return e},e}function F(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=G();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function B(){return(B=Object.assign||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}).apply(this,arguments)}function H(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function x(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,V(e,t)}function V(e,t){return(V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var W=[],Y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={fadeIn:!1},t.timeout=null,t.handleDismissInviteEducation=function(){var e=t.props.activity;null!=e&&null!=e.application_id&&f.default.dismissForApplicationId(e.application_id)},t}x(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this;this.timeout=setTimeout((function(){e.setState({fadeIn:!0}),e.timeout=null,e.logShownEventIfNeeded()}),100)},n.componentDidUpdate=function(){this.logShownEventIfNeeded()},n.logShownEventIfNeeded=function(){var e=this.props.activity.application_id;null!=e&&-1===W.indexOf(e)&&(P.default.track(w.AnalyticEvents.SHOW_TUTORIAL,{tutorial:"activity-invite-nux-inline",application_id:e}),W.push(e))},n.componentWillUnmount=function(){null!==this.timeout&&clearTimeout(this.timeout)},n.render=function(){var e,t=this.props.activity;return H("div",{className:(0,o.default)(k.default.activityInviteEducation,(e={},e[k.default.activityInviteEducationFadeIn]=this.state.fadeIn,e))},void 0,H("div",{className:k.default.activityInviteEducationArrow}),H("span",{},void 0,j.default.Messages.USER_ACTIVITY_CHAT_INVITE_EDUCATION.format({game:t.name,dismissOnClick:this.handleDismissInviteEducation})))},t}(a.PureComponent);Y.displayName="ActivityInviteEducation";var z=H(p.default,{}),K=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={color:new u.default.Value(0)},t.emphasizeSlowmodeCooldown=function(){var e=t.state.color;u.default.sequence([u.default.timing(e,{toValue:1,duration:100,easing:u.default.Easing.quad}),u.default.timing(e,{delay:250,toValue:0,duration:100,easing:u.default.Easing.quad})]).start()},t}x(t,e);var n=t.prototype;return n.componentDidMount=function(){R.ComponentDispatch.subscribe(w.ComponentActions.EMPHASIZE_SLOWMODE_COOLDOWN,this.emphasizeSlowmodeCooldown)},n.componentWillUnmount=function(){R.ComponentDispatch.unsubscribe(w.ComponentActions.EMPHASIZE_SLOWMODE_COOLDOWN,this.emphasizeSlowmodeCooldown)},n.getCooldownTextStyle=function(){var e=this.props.theme,t=this.state.color,n=w.HEXColors.WHITE;return e===w.ThemeTypes.LIGHT&&(n=w.HEXColors.PRIMARY_DARK_500),{color:t.interpolate({inputRange:[0,1],outputRange:[n,(0,s.hex2rgb)(w.HEXColors.STATUS_RED_500,.9)]})}},n.render=function(){var e=this,t=this.props,n=t.guildId,r=t.activity,s=t.showInviteEducation,d=t.isFocused,f=t.typingUsers,c=t.className,p=t.slowmodeCooldownGuess,y=t.isBypassSlowmode,m=t.channel,h=t.isThreadCreation,g=m.rateLimitPerUser,S=C.default.getNullableCurrentUser(),O=_.default.getGuild(n),I=g>0,T=h?[]:(0,i.default)(f).keys().filter((function(e){return e!==(null==S?void 0:S.id)})).reject(E.default.isBlocked).map((function(e){return C.default.getUser(e)})).filter(L.isNotNullish).map((function(t){return D.default.getName(n,e.props.channel.id,t)})).value();if(0===T.length&&!I)return s&&null!=r?H(Y,{activity:r,isFocused:d}):(0,v.isChannelAvailableForCallout)(m,O)?z:null;var b="",P=null,R="";if(I){if(P=H(N.default,{className:k.default.slowModeIcon}),g>=w.Durations.HOUR){var U=Math.floor(g/w.Durations.HOUR),G=Math.floor((g-U*w.Durations.HOUR)/w.Durations.MINUTE),F=g-U*w.Durations.HOUR-G*w.Durations.MINUTE;R=j.default.Messages.CHANNEL_SLOWMODE_DESC_HOURS.format({hours:U,minutes:G,seconds:F})}else if(g>=60){var x=Math.floor(g/60),V=g-60*x;R=j.default.Messages.CHANNEL_SLOWMODE_DESC_MINUTES.format({minutes:x,seconds:V})}else R=j.default.Messages.CHANNEL_SLOWMODE_DESC.format({seconds:g});if(!y&&p>0){var W=l.default.duration(p);if(p>1e3*w.Durations.HOUR){var K=(""+W.minutes()).padStart(2,"0"),$=(""+W.seconds()).padStart(2,"0");b=W.hours()+":"+K+":"+$}else{var Z=(""+W.seconds()).padStart(2,"0");b=W.minutes()+":"+Z}}else 0===T.length&&(b=y?j.default.Messages.CHANNEL_SLOWMODE_DESC_IMMUNE:j.default.Messages.CHANNEL_SLOWMODE_DESC_SHORT)}var q,X=T[0],J=T[1],Q=T[2];return q=0===T.length?"":1===T.length?j.default.Messages.ONE_USER_TYPING.format({a:X}):2===T.length?j.default.Messages.TWO_USERS_TYPING.format({a:X,b:J}):3===T.length?j.default.Messages.THREE_USERS_TYPING.format({a:X,b:J,c:Q}):j.default.Messages.SEVERAL_USERS_TYPING,H("div",{className:(0,o.default)(k.default.typing,{"stop-animation":!d},c)},void 0,T.length>0&&H(A.default,{className:k.default.ellipsis,dotRadius:3.5,themed:!0}),H("span",{className:k.default.text,"aria-live":"polite","aria-atomic":!0},void 0,q),I&&H(M.default,{text:R},void 0,(function(t){return a.createElement(u.default.div,B({style:e.getCooldownTextStyle(),className:k.default.cooldownWrapper},t),b,P)})))},t}(a.PureComponent);K.displayName="TypingUsers";var $=d.default.connectStores([y.default,m.default,S.default,T.default,I.default,b.default,O.default,g.default,h.default],(function(e){var t=e.channel,n=e.isThreadCreation,r=S.default.findActivity((function(e){return null!=e.application_id}));return{showInviteEducation:(0,c.default)(t,r,y.default,m.default),activity:r,typingUsers:I.default.getTypingUsers(t.id),isFocused:b.default.isFocused(),guildId:g.default.getGuildId(),slowmodeCooldownGuess:O.default.getSlowmodeCooldownGuess(t.id,n?O.SlowmodeType.CreateThread:O.SlowmodeType.SendMessage),theme:T.default.theme,isBypassSlowmode:n?h.default.can(w.Permissions.MANAGE_THREADS,t):h.default.can(w.Permissions.MANAGE_CHANNELS,t)||h.default.can(w.Permissions.MANAGE_MESSAGES,t)}}))(K);t.default=$},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var a,o;if(null!=e.execute)return u.default.trackWithMetadata(h.AnalyticEvents.APPLICATION_COMMAND_USED,{command_id:e.id,application_id:e.applicationId}),e.execute(t,n);if(e.type===m.ApplicationCommandType.BUILT_IN||e.type===m.ApplicationCommandType.BUILT_IN_TEXT||e.type===m.ApplicationCommandType.BUILT_IN_INTEGRATION)return;var i=[];if(null!=e.options)for(var l,s=O(e.options);!(l=s()).done;){var d=l.value;if(d.type!==m.ApplicationCommandOptionType.SUB_COMMAND&&d.type!==m.ApplicationCommandOptionType.SUB_COMMAND_GROUP&&d.name in t){var f=null;if(d.type!==m.ApplicationCommandOptionType.STRING){var c=y.filterEmpty(t[d.name]);(0,r.default)(1===c.length,'Option "'+d.name+'" expects a single option type');var p=c[0];switch(d.type){case m.ApplicationCommandOptionType.CHANNEL:"channelMention"===p.type?f=p.channelId:"text"===p.type&&(f=p.text.trim());break;case m.ApplicationCommandOptionType.ROLE:if("roleMention"===p.type)f=p.roleId;else if("text"===p.type)f=p.text.trim();else if("textMention"===p.type&&"@everyone"===p.text){var v;f=null===(v=n.guild)||void 0===v?void 0:v.id}break;case m.ApplicationCommandOptionType.USER:"userMention"===p.type?f=p.userId:"text"===p.type&&(f=p.text.trim());break;case m.ApplicationCommandOptionType.MENTIONABLE:if("userMention"===p.type)f=p.userId;else if("roleMention"===p.type)f=p.roleId;else if("text"===p.type)f=p.text.trim();else if("textMention"===p.type&&"@everyone"===p.text){var _;f=null===(_=n.guild)||void 0===_?void 0:_.id}break;case m.ApplicationCommandOptionType.BOOLEAN:"text"===p.type&&(f=C(p.text.trim()));break;case m.ApplicationCommandOptionType.INTEGER:"text"===p.type&&(f=null!=d.choices?Number(T(d.choices,p.text.trim())):Number(p.text.trim()));break;default:(0,r.default)("Unsupported option type: "+d.type);continue}(0,r.default)(null!==f,'Unexpected value for option "'+d.name+'"'),i.push({type:d.type,name:d.name,value:f})}else{var E,g,S=null!==(E=null===(g=y.getOptionalString(t,d.name))||void 0===g?void 0:g.trim())&&void 0!==E?E:"";f=null!=d.choices?T(d.choices,S):S,i.push({type:d.type,name:d.name,value:f})}}}if(null!=e.subCommandPath)for(var I,M=O(e.subCommandPath.reverse());!(I=M()).done;){var N=I.value,A=N.name,P=N.type;i=[{type:P,name:A,options:i}]}var R={version:e.version,id:null!==(a=e.rootId)&&void 0!==a?a:e.id,guild_id:e.guildId,name:null!==(o=e.rootName)&&void 0!==o?o:e.name,options:i};b(e.applicationId,R,n)},t.retryCommandMessage=void 0;var r=S(n(23)),a=S(n(2)),o=S(n(390)),i=n(286),l=g(n(1324)),u=S(n(106)),s=g(n(8612)),d=n(8506),f=g(n(1263)),c=S(n(15)),p=S(n(12)),v=n(8290),y=g(n(8434)),m=n(8260),_=n(8279),h=n(1);function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function S(e){return e&&e.__esModule?e:{default:e}}function O(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return I(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return I(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var T=function(e,t){var n,a=null==e||null===(n=e.find((function(e){return e.name===t})))||void 0===n?void 0:n.value;return(0,r.default)(null!=a,"Failed to find value for choice: "+t),a},C=function(e){var t=e.toLowerCase()===v.TRUE_OPTION_NAME.toLowerCase(),n=e.toLowerCase()===v.FALSE_OPTION_NAME.toLowerCase();return(0,r.default)(t||n,"Failed to find value for boolean: "+e),t};t.retryCommandMessage=function(e,t,n){if(e.type===h.MessageTypes.APPLICATION_COMMAND){var r=t.guild_id;e.interactionData&&b(n,e.interactionData,{channel:t,guild:null!=r?c.default.getGuild(r):null})}};var b=function(e,t,n){var r=n.channel,u=n.guild,c=r.id,v=null==u?void 0:u.id,y=(0,_.getInteractionAuthor)(n,e),m=y[0],E=y[1],g=(0,f.default)(c,"",!1,h.MessageTypes.APPLICATION_COMMAND,void 0,void 0,m);g.application=null!=E?E:void 0,g.interaction={id:t.id,name:t.name,type:i.InteractionTypes.APPLICATION_COMMAND,user:(0,f.userRecordToServer)(p.default.getCurrentUser())},g.interaction_data=t;var S={applicationId:e,channelId:c,guildId:v,data:t,nonce:g.id};o.default.receiveMessage(c,g,!0,{applicationId:e}),s.addQueued(S.nonce,g.id,{onCreate:function(e){null!=g.interaction&&(g.interaction.id=e)},onFailure:function(e,t){return function(e,t){null==t&&null!=e&&o.default.sendClydeError(c,e),a.default.dirtyDispatch({type:h.ActionTypes.MESSAGE_SEND_FAILED,messageId:g.id,channelId:c,reason:t})}(e,t)},data:{interactionType:i.InteractionTypes.APPLICATION_COMMAND}}),l.default.enqueue({type:l.MessageDataType.COMMAND,message:S},(function(e){return(0,d.handleInteractionResponse)(S.nonce,e)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{foreground:f,fill:d,d:"M22 12L12.101 2.10101L10.686 3.51401L12.101 4.92901L7.15096 9.87801V9.88001L5.73596 8.46501L4.32196 9.88001L8.56496 14.122L2.90796 19.778L4.32196 21.192L9.97896 15.536L14.222 19.778L15.636 18.364L14.222 16.95L19.171 12H19.172L20.586 13.414L22 12Z"}))}d.displayName="Pin"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=w;L(n(0));var r,a=n(389),o=P(n(8257)),i=n(286),l=P(n(8323)),u=P(n(8258)),s=P(n(8405)),d=L(n(8253)),f=P(n(8430)),c=P(n(11)),p=n(717),v=P(n(8378)),y=P(n(8379)),m=P(n(8380)),_=P(n(8340)),h=P(n(8384)),E=P(n(8385)),g=P(n(8386)),S=P(n(8505)),O=P(n(8343)),I=P(n(8608)),T=P(n(10131)),C=P(n(8324)),b=P(n(8435)),M=P(n(8388)),N=n(1),A=P(n(6));function P(e){return e&&e.__esModule?e:{default:e}}function R(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return R=function(){return e},e}function L(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=R();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function D(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function w(e){var t=e.user,n=e.guildId,r=e.channelId,P=e.popoutPosition,R=void 0===P?p.PopoutPositions.RIGHT:P,L=e.target,w=e.analyticsContext,j=e.context,k=e.onSelect,U=(0,C.default)(t.id,n,j),G=(0,S.default)(t,n,j),F=(0,O.default)(t.id,j),B=(0,M.default)(t.id),H=(0,E.default)(t,j),x=(0,m.default)({user:t,guildId:n,channelId:r,target:L,popoutPosition:R,context:j}),V=(0,y.default)(t),W=(0,s.default)(n,t.id,{page:N.AnalyticsPages.GUILD_CHANNEL,section:N.AnalyticsSections.CHAT_USERNAME,object:N.AnalyticsObjects.CONTEXT_MENU_ITEM},j),Y=(0,g.default)(t,n),z=(0,l.default)(null,t),K=(0,v.default)(t),$=(0,h.default)(t),Z=(0,T.default)(t,n,r),q=(0,b.default)(t.id,n),X=(0,I.default)(t,n),J=(0,u.default)(t.id),Q=(0,f.default)(t),ee=(0,_.default)(i.ApplicationCommandTarget.USER,r,n);return c.default.isGuest()||t.isNonUserBot()?null:D(o.default,{context:w,object:N.AnalyticsObjects.CONTEXT_MENU},void 0,D(d.default,{navId:"user-context",onClose:a.closeContextMenu,"aria-label":A.default.Messages.USER_ACTIONS_MENU_LABEL,onSelect:k},void 0,D(d.MenuGroup,{},void 0,Q),D(d.MenuGroup,{},void 0,U,G,F,H,x,V,B),D(d.MenuGroup,{},void 0,z),D(d.MenuGroup,{},void 0,W,ee,Y,K,$),D(d.MenuGroup,{},void 0,Z),D(d.MenuGroup,{},void 0,q,X),D(d.MenuGroup,{},void 0,J)))}w.displayName="ThreadUserContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PendingGuildMemberModal=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=m(n(15)),l=n(85),u=n(35),s=m(n(8294)),d=m(n(1233)),f=m(n(10139)),c=m(n(8398)),p=m(n(9187)),v=n(1),y=m(n(6));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(){return(E=Object.assign||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}).apply(this,arguments)}function g(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}var S=function(e){var t=e.guildId,n=e.transitionState,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["guildId","transitionState"]),m=(0,l.useUID)(),_=(0,o.useStateFromStores)([d.default],(function(){return d.default.getRequest(t)}),[t]),S=(0,o.useStateFromStores)([i.default],(function(){return i.default.getGuild(t)}),[t]),O=function(){var e,n=(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!S||!S.hasFeature(v.GuildFeatures.PREVIEW_ENABLED)){e.next=13;break}return e.prev=1,e.next=4,s.default.removeGuildJoinRequest(t);case 4:e.next=9;break;case 6:throw e.prev=6,e.t0=e.catch(1),e.t0;case 9:r.onClose(),(0,c.default)(t),e.next=14;break;case 13:s.default.resetGuildJoinRequest(t);case 14:case"end":return e.stop()}}),e,null,[[1,6]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){g(o,r,a,i,l,"next",e)}function l(e){g(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return n.apply(this,arguments)}}();return h(u.ModalRoot,{size:u.ModalSize.DYNAMIC,transitionState:n,"aria-labelledby":m},void 0,a.createElement(p.default,E({},r,{reapplyText:y.default.Messages.MEMBER_VERIFICATION_APPLICATION_REAPPLY,onReapply:O,confirmText:y.default.Messages.OKAY,onConfirm:function(){r.onClose(),(0,f.default)()},rejectionReason:null==_?void 0:_.rejectionReason,guild:S})))};t.PendingGuildMemberModal=S,S.displayName="PendingGuildMemberModal";var O=S;t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=j();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=w(n(9)),i=w(n(3)),l=w(n(2)),u=w(n(8514)),s=n(180),d=n(8328),f=w(n(10)),c=w(n(86)),p=w(n(15)),v=w(n(40)),y=w(n(70)),m=w(n(36)),_=w(n(12)),h=w(n(29)),E=w(n(371)),g=w(n(1159)),S=n(85),O=w(n(476)),I=w(n(8672)),T=w(n(8345)),C=n(35),b=n(41),M=w(n(47)),N=w(n(24)),A=w(n(13)),P=w(n(10143)),R=n(1),L=w(n(6)),D=w(n(7843));function w(e){return e&&e.__esModule?e:{default:e}}function j(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return j=function(){return e},e}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function U(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function G(e){var t=e.label,n=e.guild;return U("div",{className:D.default.guildOption},void 0,U(E.default,{className:D.default.icon,guild:n,size:E.default.Sizes.MINI}),U(N.default,{size:N.default.Sizes.SIZE_16},void 0,t))}function F(e){var t=e.label,n=e.channel,r=e.category,a=(0,d.getChannelIconComponent)(n);return U(I.default,{title:t,icon:a,subtitle:r})}G.displayName="renderGuildOption",F.displayName="renderChannelOption";var B=function(e){var t,n;function r(t){var n;(n=e.call(this,t)||this).handleGuildSelect=function(e){var t=e.value,r=n.props.guilds,a=n.state.selectedGuildId,o=r[t].channels,i=n.getDefaultChannelId(o);a!==t&&n.setState({selectedGuildId:t,selectedChannelId:i,channels:o})},n.handleChannelSelect=function(e){var t=e.value;n.setState({selectedChannelId:t})},n.handleFollow=function(){var e=n.props,t=e.channel,r=e.onClose,o=n.state,i=o.selectedChannelId,s=o.selectedGuildId;null!=i&&(n.setState({submitting:!0}),u.default.createChannelFollower(i,t.id).then((function(){l.default.dispatch({type:R.ActionTypes.CHANNEL_FOLLOWER_CREATED,channelId:i,guildId:s}),r(),(0,b.openModal)((function(e){return a.createElement(P.default,e)}))})).catch((function(e){e.body.code===R.AbortCodes.TOO_MANY_WEBHOOKS?n.setState({errorMessage:L.default.Messages.FOLLOW_MODAL_TOO_MANY_WEBHOOKS,submitting:!1}):n.setState({errorMessage:L.default.Messages.FOLLOW_MODAL_FAIL,submitting:!1})})))};var r=t.guilds,o=t.lastChannelFollowingDestination,i=o.guildId,s=o.channelId;return n.state={selectedGuildId:i,selectedChannelId:s,channels:null!=i&&null!=r[i]?r[i].channels:[],errorMessage:null,submitting:!1,headerId:(0,S.uid)("modal")},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,k(t,n);var i=r.prototype;return i.componentDidMount=function(){A.default.track(R.AnalyticEvents.OPEN_MODAL,{type:"Follow Channel Modal",num_guild_permissions:Object.keys(this.props.guilds).length,location:"Chat Input Blocker - Follow Channel"})},i.getDefaultChannelId=function(e){var t=e.find((function(e){var t=e.channel;return"general"===(0,s.computeChannelName)(t,_.default,y.default)})),n=null!=t?t:e[0];return null!=n?n.channel.id:null},i.renderFooter=function(){var e=this.state,t=e.selectedGuildId,n=e.selectedChannelId,r=e.submitting,o=this.props.onClose;return U(a.Fragment,{},void 0,U(h.default,{submitting:r,onClick:this.handleFollow,disabled:null==t||null==n},void 0,L.default.Messages.FOLLOW),U(h.default,{look:h.default.Looks.LINK,color:h.default.Colors.PRIMARY,onClick:o},void 0,L.default.Messages.CANCEL))},i.renderForm=function(){var e=this.props.guilds,t=this.state,n=t.channels,r=t.selectedGuildId,o=t.selectedChannelId,i=t.errorMessage,l=Object.keys(e).map((function(t){var n=e[t].guild;return{value:t,label:n.toString(),guild:n}})),u=n.map((function(e){var t=e.channel,n=e.category;return{value:t.id,label:(0,s.computeChannelName)(t,_.default,y.default),channel:t,category:n}})),d=0===l.length,f=d?L.default.Messages.FOLLOW_MODAL_HINT_NO_PERMS:L.default.Messages.FOLLOW_MODAL_HINT;return U(a.Fragment,{},void 0,U(O.default,{className:D.default.bottomMargin,title:L.default.Messages.FORM_LABEL_SEND_TO},void 0,U(g.default,{value:r,clearable:!1,searchable:!0,options:l,disabled:d,optionRenderer:G,valueRenderer:G,onChange:this.handleGuildSelect})),U(O.default,{className:D.default.bottomMargin,title:L.default.Messages.FORM_LABEL_SELECT_CHANNEL},void 0,U(g.default,{value:o,clearable:!1,searchable:!0,options:u,disabled:0===u.length,optionRenderer:F,valueRenderer:F,onChange:this.handleChannelSelect})),U(N.default,{className:D.default.bottomMargin,color:d||null!=i?N.default.Colors.ERROR:N.default.Colors.MUTED},void 0,null!=i?i:f))},i.renderBody=function(){var e,t=this.props.channel.nsfw;return U("div",{className:D.default.body},void 0,U(M.default,{size:M.default.Sizes.SIZE_20,id:this.state.headerId},void 0,L.default.Messages.FOLLOW_MODAL_TITLE),U(N.default,{color:N.default.Colors.MUTED,className:(0,o.default)(D.default.topMargin,(e={},e[D.default.formMargin]=!t,e)),size:N.default.Sizes.SIZE_14},void 0,L.default.Messages.FOLLOW_MODAL_BODY),t?U(N.default,{className:(0,o.default)(D.default.formMargin,D.default.topMargin),color:N.default.Colors.ERROR},void 0,L.default.Messages.FOLLOW_MODAL_WARNING):null)},i.renderHeader=function(){var e=this.props,t=e.guildToFollow,n=e.channelNameToFollow,r=e.channel,a=(0,d.getChannelIconComponent)(r)||T.default;return U(C.ModalHeader,{className:D.default.header},void 0,U(E.default,{guild:t,size:E.default.Sizes.LARGE}),U("div",{className:D.default.channelContainer},void 0,U("div",{className:D.default.channel},void 0,U(a,{width:20,height:20,className:D.default.channelIcon}),U(N.default,{size:N.default.Sizes.SIZE_16,className:D.default.channelName},void 0,n))))},i.render=function(){var e=this.props.transitionState;return U(C.ModalRoot,{transitionState:e,"aria-labelledby":this.state.headerId},void 0,this.renderHeader(),U(C.ModalContent,{className:D.default.content},void 0,this.renderBody(),this.renderForm()),U(C.ModalFooter,{},void 0,this.renderFooter()))},r}(a.PureComponent);B.displayName="FollowModal";var H=i.default.connectStores([p.default,f.default,c.default,v.default,m.default],(function(e){var t=e.channel,n=p.default.getGuild(t.guild_id),r=Object.values(p.default.getGuilds()).reduce((function(e,t){var n=c.default.getChannels(t.id).SELECTABLE.map((function(e){return e.channel})).filter((function(e){return e.type===R.ChannelTypes.GUILD_TEXT&&v.default.can(R.Permissions.MANAGE_WEBHOOKS,e)})).map((function(e){var t=f.default.getChannel(e.parent_id);return{channel:e,category:null!=t?t.name:null}}));return n.length>0&&(e[t.id]={guild:t,channels:n}),e}),{}),a=m.default.getLastChannelFollowingDestination();return{guildToFollow:n,channelNameToFollow:t.name,guilds:r,lastChannelFollowingDestination:null!=a?a:{}}}),{forwardRef:!0})(B);t.default=H},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderTitle=function(e){var t,n,r=e.channel,p=e.channelName,y=e.parentChannel,g=e.guild,S=e.isMobile,T=void 0!==S&&S,C=e.inSidebar,b=void 0!==C&&C,M=e.handleClick,N=e.handleContextMenu,A=e.handleParentClick,P=e.handleParentContextMenu,R=e.renderFollowButton,L=p,D=(0,u.default)(r,g);switch(r.type){case _.ChannelTypes.DM:var w=r.getRecipientId(),j=r.isSystemDM(),k=null!=s.default.getNickname(w)?null===(t=d.default.getUser(w))||void 0===t?void 0:t.tag:null,U=O(m.default.Title,{onContextMenu:N,onClick:M,className:E.default.cursorPointer},void 0,L);return a.createElement(a.Fragment,null,null!==D?O(m.default.Icon,{icon:D,disabled:!0,"aria-label":h.default.Messages.DIRECT_MESSAGE}):null,null!=k?O(f.TooltipContainer,{text:k,position:c.Positions.BOTTOM},void 0,U):U,j?null:O(i.default,{size:10,userId:w,className:E.default.status,isMobile:T,position:c.Positions.BOTTOM},w));case _.ChannelTypes.GROUP_DM:return r.isManaged()?L:O(a.Fragment,{},void 0,null!==D?O(m.default.Icon,{icon:D,disabled:!0,"aria-label":h.default.Messages.GROUP_DM}):null,O(v.default,{channel:r},"channel-"+r.id));case _.ChannelTypes.GUILD_ANNOUNCEMENT:case _.ChannelTypes.GUILD_TEXT:return O(a.Fragment,{},void 0,null!==D?O(m.default.Icon,{icon:D,disabled:!0,"aria-label":r.type===_.ChannelTypes.GUILD_ANNOUNCEMENT?h.default.Messages.NEWS_CHANNEL:h.default.Messages.TEXT_CHANNEL}):null,O(m.default.Title,{onContextMenu:N,onClick:M},void 0,L),null!=R?R():null);case _.ChannelTypes.GUILD_VOICE:return O(a.Fragment,{},void 0,null!==D?O(m.default.Icon,{icon:D,disabled:!0,"aria-label":h.default.Messages.VOICE_CHANNEL}):null,O(m.default.Title,{onContextMenu:N,onClick:M},void 0,L));case _.ChannelTypes.ANNOUNCEMENT_THREAD:case _.ChannelTypes.PUBLIC_THREAD:case _.ChannelTypes.PRIVATE_THREAD:var G=null;if(!b&&y){var F=(0,u.default)(y,g);G=O(a.Fragment,{},void 0,null!==F?O(m.default.Icon,{icon:F,disabled:!0,"aria-label":h.default.Messages.TEXT_CHANNEL}):null,O(m.default.Title,{onContextMenu:P,onClick:A,className:(0,o.default)(E.default.parentChannelName,E.default.cursorPointer)},void 0,(0,l.computeChannelName)(y,d.default,s.default)),I)}return O(a.Fragment,{},void 0,G,null!==D?O(m.default.Icon,{icon:D,disabled:!0,"aria-label":h.default.Messages.THREAD}):null,O(m.default.Title,{onContextMenu:N,onClick:M,className:(0,o.default)((n={},n[E.default.cursorPointer]=b,n))},void 0,L));case _.ChannelTypes.GUILD_DIRECTORY:return O(a.Fragment,{},void 0,null!==D?O(m.default.Icon,{icon:D,disabled:!0,"aria-label":""}):null,O(m.default.Title,{onContextMenu:N,onClick:M},void 0,h.default.Messages.HUB_DIRECTORY_CHANNEL_TITLE.format({guildName:null==g?void 0:g.name})));default:return null}},t.renderTopic=function(e,t){switch(e.type){case _.ChannelTypes.DM:return O(p.default,{channel:e},e.id);case _.ChannelTypes.GUILD_ANNOUNCEMENT:case _.ChannelTypes.GUILD_TEXT:case _.ChannelTypes.GUILD_VOICE:case _.ChannelTypes.GROUP_DM:return null!=t?O(y.default,{channel:e,guild:t},e.id):null;default:return null}};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=g(n(9)),i=g(n(10154)),l=n(180),u=g(n(8449)),s=g(n(70)),d=g(n(12)),f=n(149),c=n(250),p=g(n(10155)),v=g(n(10156)),y=g(n(10158)),m=g(n(8318)),_=n(1),h=g(n(6)),E=g(n(7391));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var I=O(m.default.Caret,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){var n,o;return o=n=function(n){var o,u;function s(){for(var e,t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return(e=n.call.apply(n,[this].concat(r))||this)._subscriptions=null,e.handleSetRef=function(t){e._ref=t},e}u=n,(o=s).prototype=Object.create(u.prototype),o.prototype.constructor=o,l(o,u);var d=s.prototype;return d.componentDidMount=function(){for(var t in this._subscriptions=e(this.props,this._ref),this._subscriptions)null!=this._subscriptions&&this._subscriptions.hasOwnProperty(t)&&a.ComponentDispatch.subscribe(t,this._subscriptions[t])},d.componentWillUnmount=function(){for(var e in this._subscriptions)null!=this._subscriptions&&this._subscriptions.hasOwnProperty(e)&&a.ComponentDispatch.unsubscribe(e,this._subscriptions[e])},d.render=function(){return r.createElement(t,i({ref:this.handleSetRef},this.props))},s}(r.Component),n.displayName="componentDispatchSubscriber("+(t.displayName||t.name||"Component")+")",o}};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(121);function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function i(){return(i=Object.assign||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}).apply(this,arguments)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=$(n(0)),o=z(n(9)),i=n(122),l=n(3),u=z(n(2)),s=$(n(287)),d=n(5946),f=z(n(473)),c=n(8839),p=z(n(8316)),v=z(n(9058)),y=z(n(9059)),m=z(n(10168)),_=z(n(9061)),h=z(n(8687)),E=n(123),g=z(n(10169)),S=z(n(160)),O=z(n(39)),I=z(n(5833)),T=z(n(693)),C=z(n(1147)),b=z(n(151)),M=n(131),N=z(n(372)),A=z(n(255)),P=z(n(10170)),R=z(n(5686)),L=z(n(24)),D=z(n(96)),w=n(281),j=n(280),k=n(5689),U=z(n(10171)),G=z(n(10173)),F=n(9062),B=z(n(5948)),H=n(9232),x=n(1),V=z(n(6)),W=z(n(7392)),Y=z(n(370));function z(e){return e&&e.__esModule?e:{default:e}}function K(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return K=function(){return e},e}function $(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=K();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function Z(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var q={page:x.AnalyticsPages.USER_SETTINGS,section:x.AnalyticsSections.SETTINGS_PREMIUM};function X(e){var t=e.perkText,n=e.hasPerk;return Z("div",{className:W.default.perkListItem},void 0,n?Z(N.default,{className:(0,o.default)(W.default.perkListItemIcon,W.default.hasPerkIcon)}):Z(A.default,{className:W.default.perkListItemIcon}),Z(L.default,{size:L.default.Sizes.SIZE_14},void 0,t))}function J(e){var t=e.perkList;return Z("div",{className:W.default.perkList},void 0,t.map((function(e){var t=e.perkText;return Z(X,{perkText:t,hasPerk:e.hasPerk},t)})))}X.displayName="PerkListItem",J.displayName="ClassicPerkList";var Q=Z(F.PremiumTier1Buttons,{premiumModalAnalyticsLocation:q});function ee(){var e=O.default.locale,t=(0,w.formatPercent)(e,j.PREMIUM_GUILD_FOR_PREMIUM_USER_DISCOUNT_PERCENT/100),r=D.default.getPrice(x.SubscriptionPlans.PREMIUM_MONTH_TIER_1),a=D.default.getPrice(x.SubscriptionPlans.PREMIUM_YEAR_TIER_1),o=V.default.Messages.MARKETING_REFRESH_PREMIUM_TIER_1_CTA_DESCRIPTION_WITH_PRICE_NO_INFO_HOOK.format({discountPercentage:t,monthlyPrice:(0,w.formatPrice)(r.amount,r.currency),yearlyPrice:(0,w.formatPrice)(a.amount,a.currency)});return Z("section",{className:W.default.marketingRefreshSectionTier1},void 0,Z("img",{alt:"",className:W.default.marketingRefreshTier1Graphic,src:n(10187)}),Z("div",{className:W.default.marketingRefreshPlanInfo},void 0,Z(P.default,{className:W.default.marketingRefreshTier1Logo}),Z("p",{className:W.default.marketingRefreshDescription},void 0,o),Z("div",{className:W.default.classicPerkGrid},void 0,Z(J,{perkList:[{perkText:V.default.Messages.MARKETING_TIER_1_PERK_LIST_CUSTOM_EMOJI,hasPerk:!0},{perkText:V.default.Messages.MARKETING_TIER_1_PERK_LIST_UPLOAD_SIZE,hasPerk:!0},{perkText:V.default.Messages.MARKETING_TIER_1_PERK_LIST_STREAM_QUALITY,hasPerk:!0},{perkText:V.default.Messages.MARKETING_TIER_1_PERK_LIST_BOOST_DISCOUNT,hasPerk:!0}]}),Z(J,{perkList:[{perkText:V.default.Messages.GUILD_SETTINGS_PREMIUM_UPSELL_BODY_PERK_NO_FREE_GUILD_SUBSCRIPTIONS.format({numFreeGuildSubscriptions:j.NUM_FREE_GUILD_SUBSCRIPTIONS_WITH_PREMIUM}),hasPerk:!1},{perkText:V.default.Messages.MARKETING_PREMIUM_TIER_1_PERK_LIST_OMIT_MESSAGE_LENGTH,hasPerk:!1},{perkText:V.default.Messages.MARKETING_PREMIUM_TIER_1_PERK_LIST_OMIT_GUILD_CAP,hasPerk:!1},{perkText:V.default.Messages.MARKETING_PREMIUM_TIER_1_PERK_LIST_OMIT_PROFILE_CUSTOMIZATION,hasPerk:!1},{perkText:V.default.Messages.MARKETING_TIER_1_PERK_OMIT_STICKERS,hasPerk:!1}]})),Q))}ee.displayName="PremiumTier1Subscription";var te=Z("br",{});function ne(e){var t=e.isTrial;return Z("div",{className:W.default.marketingRefreshTier2Cta},void 0,Z("p",{className:W.default.marketingRefreshTitle},void 0,t?V.default.Messages.PREMIUM_TIER_2_TRIAL_CTA_TITLE:V.default.Messages.MARKETING_REFRESH_PREMIUM_TIER_2_CTA_TITLE),Z("p",{className:W.default.marketingRefreshSubtitle},void 0,t?a.createElement(a.Fragment,null,V.default.Messages.PREMIUM_TIER_2_TRIAL_CTA_SUBTITLE,te,V.default.Messages.PREMIUM_TIER_2_TRIAL_CTA_NOTE):V.default.Messages.MARKETING_REFRESH_PREMIUM_TIER_2_CTA_SUBTITLE),Z(F.PremiumTier2Buttons,{className:W.default.tier2Buttons,premiumModalAnalyticsLocation:q}))}function re(e){var t=e.userTrialOffer,n=a.useContext(E.AccessibilityPreferencesContext).reducedMotion,r=a.useRef(null==t.expires_at),o=!n.enabled&&r.current,l=(0,i.useSpring)({from:{transform:"translateX(-40px)",opacity:0},to:{transform:"translateX(0px)",opacity:1},delay:550,config:i.config.stiff,onRest:function(){return(0,c.userTrialOfferViewed)(t)}});a.useEffect((function(){o||(0,c.userTrialOfferViewed)(t)}),[t,o]);var u=(0,h.default)(null!=t.expires_at?Date.parse(t.expires_at):0);return null!=t.expires_at&&Object.values(u).every((function(e){return 0===e}))?null:Z(i.animated.div,{className:W.default.trialBanner,style:o?l:{}},void 0,Z(R.default,{className:W.default.trialIcon}),Z(L.default,{size:L.default.Sizes.SIZE_14,className:W.default.trialDescription},void 0,null==t.expires_at?V.default.Messages.PREMIUM_TRIAL_CTA_DESCRIPTION:u.days>0?V.default.Messages.PREMIUM_TRIAL_CTA_DESCRIPTION_EXPIRING_DAYS.format({days:u.days}):u.hours>0?V.default.Messages.PREMIUM_TRIAL_CTA_DESCRIPTION_EXPIRING_HOURS.format({hours:u.hours}):V.default.Messages.PREMIUM_TRIAL_CTA_DESCRIPTION_EXPIRING_MINUTES.format({minutes:Math.max(u.minutes,1)})),Z(B.default,{subscriptionTier:x.PremiumSubscriptionSKUs.TIER_2,trialId:t.trial_id,premiumModalAnalyticsLocation:q,className:W.default.trialButton,isTrialCTA:!0}))}function ae(e){var t=e.premiumSubscription,n=e.useStandaloneSubscriptionsTab,r=(0,l.useStateFromStores)([T.default],(function(){return null!=t&&null!=t.paymentSourceId?T.default.getPaymentSource(t.paymentSourceId):null}),[t]),i=(0,l.useStateFromStores)([I.default],(function(){return I.default.isBusy}));return null===t?null:n?a.createElement(a.Fragment,null,Z(L.default,{size:L.default.Sizes.SIZE_16,className:Y.default.marginTop10},void 0,V.default.Messages.PREMIUM_SUBSCRIPTION_SUBSCRIPTIONS_LINK.format({onSubscriptionsClick:function(){f.default.open(x.UserSettingsSections.SUBSCRIPTIONS)}})),Z(M.FormDivider,{className:(0,o.default)(Y.default.marginTop20,Y.default.marginBottom20)})):Z(y.default,{className:W.default.subscriptionDetails,subscription:t,paymentSource:r,busy:i,useStandaloneSubscriptionsTab:n})}ne.displayName="SecondaryTier2Subscription",re.displayName="PremiumTrialsBanner",ae.displayName="PremiumSubscriptionDetails";var oe=Z(p.default,{}),ie=Z(b.default,{}),le=Z(g.default,{}),ue=Z(G.default,{}),se=Z(ee,{}),de=Z(U.default,{});function fe(){var e=(0,l.useStateFromStores)([C.default],(function(){return C.default.getPremiumTypeSubscription()})),t=(0,l.useStateFromStores)([C.default],(function(){return C.default.hasFetchedSubscriptions()})),n=(0,k.usePremiumTrialOffer)(),r=m.default.useExperiment({})[0].enableTestPage;a.useEffect((function(){u.default.wait((function(){s.fetchSubscriptions(),(0,d.fetchUserPremiumGuildSubscriptionSlots)(),s.fetchPaymentSources()}))}),[]);var i=_.default.useExperiment({})[0].useStandaloneSubscriptionsTab;return S.default.enabled?oe:t?Z("div",{className:W.default.container},void 0,Z("div",{className:W.default.content},void 0,Z(ae,{premiumSubscription:e,useStandaloneSubscriptionsTab:i}),le,null==e&&null!=n?Z(re,{userTrialOffer:n}):null,i?null:Z(H.AccountCredit,{useStandaloneSubscriptionsTab:i}),ue,Z(ne,{isTrial:null!=n}),se,i||null==e?null:Z(v.default,{subscription:e,withOverheadSeparator:!0}),r?de:null)):Z("div",{className:(0,o.default)(W.default.container,W.default.loading)},void 0,ie)}fe.displayName="PremiumMarketing";var ce=fe;t.default=ce},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccountCredit=j,t.default=void 0;var r,a=R(n(0)),o=A(n(9)),i=n(3),l=A(n(2)),u=R(n(287)),s=n(5829),d=n(5946),f=A(n(8316)),c=A(n(9058)),p=R(n(9059)),v=A(n(160)),y=A(n(5833)),m=A(n(693)),_=A(n(1147)),h=A(n(5826)),E=A(n(467)),g=A(n(55)),S=A(n(477)),O=A(n(151)),I=n(131),T=A(n(96)),C=A(n(10186)),b=n(1),M=A(n(6)),N=A(n(7863));function A(e){return e&&e.__esModule?e:{default:e}}function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function D(){return L(E.default,{className:N.default.noItemsCard,type:E.default.Types.CUSTOM},void 0,L(g.default,{align:g.default.Align.CENTER},void 0,L(S.default,{game:null,size:S.default.Sizes.SMALL,className:N.default.noItemsIcon}),L("span",{className:N.default.cardText},void 0,M.default.Messages.USER_SETTINGS_NO_SUBSCRIPTION_CREDIT)))}D.displayName="NoAccountCredit";var w=L(D,{});function j(e){var t=e.useStandaloneSubscriptionsTab,n=(0,i.useStateFromStores)([h.default],(function(){return h.default.getForApplication(b.PREMIUM_SUBSCRIPTION_APPLICATION)}));a.useEffect((function(){(0,s.fetchUserEntitlementsForApplication)(b.PREMIUM_SUBSCRIPTION_APPLICATION)}),[]);var r=null==n||!T.default.hasAccountCredit(n);if(!t&&r)return null;var o=I.FormTitleTags.H1,l=M.default.Messages.BILLING_SUBSCRIPTION_CREDIT;return t||(o=I.FormTitleTags.H5,l=M.default.Messages.BILLING_ACCOUNT_CREDIT),L("section",{className:N.default.sectionAccountCredit},void 0,L(I.FormTitle,{className:N.default.accountCreditTitle,tag:o},void 0,l),L("p",{className:N.default.accountCreditDescription},void 0,M.default.Messages.BILLING_ACCOUNT_CREDIT_DESCRIPTION),null!=n&&T.default.hasAccountCredit(n)?L(C.default,{className:N.default.accountCredit,entitlements:n}):w)}j.displayName="AccountCredit";var k=L(f.default,{}),U=L(O.default,{}),G=L(j,{useStandaloneSubscriptionsTab:!0});function F(){var e=(0,i.useStateFromStores)([_.default],(function(){return _.default.getPremiumTypeSubscription()})),t=(0,i.useStateFromStores)([m.default],(function(){return null!=e&&null!=e.paymentSourceId?m.default.getPaymentSource(e.paymentSourceId):null}),[e]),n=(0,i.useStateFromStores)([_.default],(function(){return _.default.hasFetchedSubscriptions()})),r=(0,i.useStateFromStores)([y.default],(function(){return y.default.isBusy}));return a.useEffect((function(){l.default.wait((function(){u.fetchSubscriptions(),(0,d.fetchUserPremiumGuildSubscriptionSlots)(),u.fetchPaymentSources()}))}),[]),v.default.enabled?k:n?L("div",{className:N.default.container},void 0,L("div",{className:N.default.content},void 0,null!=e?L(p.default,{className:N.default.subscriptionDetails,subscription:e,paymentSource:t,busy:r,useStandaloneSubscriptionsTab:!0}):L(p.SubscriptionDetailsEmpty,{className:N.default.subscriptionDetails}),G,null!=e?L(c.default,{subscription:e,withOverheadSeparator:!1}):null)):L("div",{className:(0,o.default)(N.default.container,N.default.loading)},void 0,U)}F.displayName="Subscriptions";var B=F;t.default=B},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=he(n(0)),o=me(n(9)),i=n(8),l=me(n(67)),u=n(262),s=me(n(3)),d=n(57),f=me(n(2)),c=n(10189),p=n(5829),v=n(8344),y=me(n(8257)),m=me(n(8470)),_=me(n(10190)),h=me(n(8318)),E=me(n(8283)),g=me(n(8273)),S=me(n(8543)),O=me(n(1177)),I=me(n(8440)),T=n(42),C=me(n(71)),b=me(n(15)),M=me(n(40)),N=me(n(39)),A=me(n(161)),P=me(n(9063)),R=me(n(8895)),L=me(n(5826)),D=me(n(373)),w=me(n(8364)),j=me(n(1167)),k=me(n(29)),U=me(n(1227)),G=me(n(55)),F=me(n(10191)),B=me(n(151)),H=me(n(149)),x=me(n(736)),V=me(n(5686)),W=me(n(8620)),Y=n(41),z=n(468),K=me(n(13)),$=n(99),Z=n(281),q=n(289),X=n(1163),J=n(9234),Q=me(n(10192)),ee=me(n(10194)),te=me(n(10195)),ne=me(n(10198)),re=me(n(10199)),ae=me(n(10205)),oe=he(n(9067)),ie=me(n(10206)),le=me(n(10212)),ue=me(n(10218)),se=me(n(10219)),de=he(n(10220)),fe=me(n(10221)),ce=n(8403),pe=n(1),ve=me(n(6)),ye=me(n(7893));function me(e){return e&&e.__esModule?e:{default:e}}function _e(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _e=function(){return e},e}function he(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_e();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function Ee(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function ge(){return(ge=Object.assign||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}).apply(this,arguments)}function Se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Oe(e,t){return(Oe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ie(e){return location.protocol+"//"+location.host+e}var Te=Ee(B.default,{}),Ce=Ee(_.default,{}),be=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),u=0;u<n;u++)r[u]=arguments[u];return(t=e.call.apply(e,[this].concat(r))||this).showCopyLinkTextTimeout=new d.Timeout,t._purchaseRef=a.createRef(),t._trackedViewed=!1,t._analyticsSource=null,t._extraAnalyticsProperties=null,t.state={showHeaderPurchaseUnit:!1,showLinkCopied:!1},t.trackCarouselScroll=function(e,n,r){var a=t.props.sku;null!=a&&K.default.track(pe.AnalyticEvents.STORE_LISTING_MEDIA_SCROLLED,ge({},(0,O.default)(a),{card_index:r,card_type:e.type===pe.CarouselMediaTypes.IMG?"image":"video"}))},t.copyCurrentUrl=function(){var e=t.props.location;(0,X.copy)(Ie(e.pathname)),t.setState({showLinkCopied:!0},(function(){t.showCopyLinkTextTimeout.start(1500,(function(){t.setState({showLinkCopied:!1})}))}))},t.handleCreateInstantInvite=function(){var e=t.props,n=e.channel,r=e.guild;null!=n&&null!=r&&(0,Y.openModal)((function(e){return a.createElement(E.default,ge({},e,{guild:r,channel:n,source:pe.InstantInviteSources.GUILD_CHANNELS}))}))},t.renderInviteLink=function(){var e=t.props,n=e.channel,r=e.guild;return null==n||null==r?null:M.default.can(pe.Permissions.CREATE_INSTANT_INVITE,r)||null!=r.vanityURLCode?Ee(k.default,{"aria-label":ve.default.Messages.CREATE_INSTANT_INVITE,look:k.default.Looks.BLANK,size:k.default.Sizes.NONE,onClick:t.handleCreateInstantInvite,className:ye.default.link},void 0,Ee(x.default,{className:ye.default.linkIcon})):null},t.renderCopyLink=function(){var e=t.state.showLinkCopied;return t.isChannelType?t.renderInviteLink():Ee(H.default,{text:e?ve.default.Messages.APPLICATION_STORE_LINK_COPIED:null,position:H.default.Positions.LEFT,forceOpen:e},void 0,(function(n){var r=n.onMouseEnter,a=n.onMouseLeave;return Ee(k.default,{"aria-label":e?ve.default.Messages.APPLICATION_STORE_LINK_COPIED:ve.default.Messages.COPY_LINK,look:k.default.Looks.BLANK,size:k.default.Sizes.NONE,onClick:t.copyCurrentUrl,onMouseEnter:r,onMouseLeave:a,className:ye.default.link},void 0,Ee(x.default,{className:ye.default.linkIcon}))}))},t.renderHeaderToolbar=function(e,n){var r,a=t.props,i=a.isInTestMode,l=a.slug,u=a.storeListing,s=a.channel,d=a.analyticsContext.location,f=t.state.showHeaderPurchaseUnit;return Ee("div",{className:ye.default.headerBarListing},void 0,Ee("div",{className:ye.default.headerSection},void 0,i&&null!=n?Ee(de.default,{size:de.TestModeStoreListingButtonEnums.Sizes.MIN,dropdownSize:de.TestModeStoreListingButtonEnums.DropdownSizes.MEDIUM,look:de.TestModeStoreListingButtonEnums.Looks.OUTLINED,color:de.TestModeStoreListingButtonEnums.Colors.YELLOW,skuId:n.id,className:ye.default.testModeSelectButton,currentStoreListingId:null!=u?u.id:null,onStoreListingSelect:function(e){null!=n&&(0,v.goToSKUStoreListing)(n.id,{slug:l,analyticsSource:{page:d.page,section:pe.AnalyticsSections.NAVIGATION,object:null},storeListingId:e.id})}}):null),Ee("div",{className:ye.default.headerSection},void 0,Ee("div",{className:(0,o.default)(ye.default.headerPurchase,(r={},r[ye.default.active]=f,r))},void 0,null!=n?(0,I.default)(n):null,null!=e&&null!=n?Ee(m.default,{wrapperClassName:ye.default.headerActionButton,applicationId:e.id,skuId:n.id,color:k.default.Colors.GREEN,size:k.default.Sizes.SMALL,tooltipPosition:H.default.Positions.BOTTOM,entitlementBranchId:null!=u?u.entitlementBranchId:null,channelId:null!=s?s.id:null,onStoreListing:!0}):null,Ee(oe.default,{messageStyle:oe.MessageStyles.SHORT,className:ye.default.purchaseError}))),t.renderCopyLink())},t.renderCarousel=function(e,n){if(0===n.carouselItems.length)return null;var r=t.props,a=r.pageSize,o=r.isFocused;return Ee(y.default,{section:pe.AnalyticsSections.HERO},void 0,Ee(re.default,{pageSize:a,items:n.carouselItems.map((function(r){return t.parseMediaItems(e,r,n.assets)})),autoplayInterval:8e3,paused:!o,onIntentionalChange:t.trackCarouselScroll}))},t.handleScroll=(0,i.debounce)((function(){if(null!=t._purchaseRef.current){var e=l.default.findDOMNode(t._purchaseRef.current.getApplicationBuyButton());if(e instanceof HTMLElement){var n=e.getBoundingClientRect().top,r=n<0||n>window.innerHeight;t.state.showHeaderPurchaseUnit!==r&&t.setState({showHeaderPurchaseUnit:r})}}}),50),t.renderListing=function(){var e=t.props,n=e.application,r=e.storeListing,a=e.sku,o=e.pageSize;return null==n||null==a||null==r||r.isSlimDirectoryVersion()?Ee(G.default,{align:G.default.Align.CENTER,justify:G.default.Justify.CENTER},void 0,Te):o===ce.PageSizes.SMALL?t.renderSmall(n,r,a):t.renderLarge(n,r,a)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,Oe(t,n);var s,_,g,S=r.prototype;return S.componentDidMount=function(){var e=this.props,t=e.sku,n=e.storeListing,r=e.isFetchingEntitlements,a=e.shouldFetchStatistics,o=e.didFetchEntitlements,i=e.location,l=e.fetchStoreListing;if(null!=i.state){var u=i.state,s=u.analyticsSource,d=u.analyticsProperties;this._analyticsSource=s,this._extraAnalyticsProperties=d}else this._analyticsSource=pe.DIRECT_ANALYTICS_LOCATION;(null==n||n.isSlimDirectoryVersion())&&l(),null!=t&&(r||o||(0,p.fetchUserEntitlementsForApplication)(t.applicationId),a&&f.default.wait((function(){return(0,c.fetchStatisticsForApplication)(t.applicationId)}))),this.handleScroll(),this.trackViewed(),this.replaceUrlWithSlug()},S.componentDidUpdate=function(e){var t=this.props,n=t.locale,r=t.sku,a=t.shouldFetchStatistics,o=t.skuId,i=t.storeListingId,l=t.slug,u=t.storeListing,s=t.fetchStoreListing;if(u!==e.storeListing&&null!=u&&(0,J.deepLinkRouteIfLandedAndNotAuthed)(pe.RPCDeepLinks.STORE_LISTING,{skuId:o,slug:l}),n===e.locale&&o===e.skuId||s(),a&&!e.shouldFetchStatistics){if(null==r)throw new Error("Unexpected missing sku");f.default.wait((function(){return(0,c.fetchStatisticsForApplication)(r.applicationId)}))}o===e.skuId&&i===e.storeListingId||(this._trackedViewed=!1),this.trackViewed(),this.replaceUrlWithSlug()},S.componentWillUnmount=function(){this.showCopyLinkTextTimeout.stop();var e=this.props.analyticsContext,t=e.loadId,n=e.loadDate;null!=n&&K.default.track(pe.AnalyticEvents.STORE_LISTING_EXITED,{load_id:t,duration_ms:Date.now()-n})},S.replaceUrlWithSlug=function(){var e=this.props,t=e.sku,n=e.application,r=e.channel,a=e.skuId,o=e.applicationId,i=e.slug;null==r&&(null!=a&&null!=t&&i!==t.slug&&(0,T.replaceWith)({pathname:pe.Routes.APPLICATION_STORE_LISTING_SKU(t.id,t.slug),search:location.search}),null!=o&&null!=n&&null!=n.slug&&i!==n.slug&&(0,T.replaceWith)({pathname:pe.Routes.APPLICATION_STORE_LISTING_APPLICATION(n.id,n.slug),search:location.search}))},S.trackViewed=function(){var e=this.props,t=e.sku,n=e.storeListing,r=e.hasFetchedNews,a=e.analyticsContext;if(!this._trackedViewed&&null!=t&&null!=n&&null!=n.description&&(this.isChannelType||r)){var o=n.carouselItems.reduce((function(e,t){return null!=t.assetId?e.images++:e.videos++,e}),{images:0,videos:0});K.default.track(pe.AnalyticEvents.STORE_LISTING_VIEWED,ge({},this._extraAnalyticsProperties,{load_id:a.loadId,has_description:null!=n.description&&n.description.length>0,has_staff_review:null!=n.staffNotes,carousel_image_count:o.images,carousel_video_count:o.videos,location:a.location.page,source:this._analyticsSource},(0,O.default)(t,!0))),this._trackedViewed=!0}},S.renderHeader=function(e,t){var n=this.props,r=n.channel,o=n.isAuthenticated;return Ee(h.default,{isAuthenticated:o,toolbar:this.renderHeaderToolbar(e,t)},void 0,null!=r?Ee(a.Fragment,{},void 0,Ee(h.default.Icon,{icon:W.default,"aria-label":ve.default.Messages.STORE_CHANNEL}),Ee(h.default.Title,{},void 0,r.name)):null!=t&&t.premium?Ee(a.Fragment,{},void 0,Ee(h.default.Icon,{icon:V.default,"aria-label":ve.default.Messages.PREMIUM}),Ee(ue.default,{sku:t})):null!=t?Ee(a.Fragment,{},void 0,Ee(h.default.Icon,{icon:W.default,"aria-label":ve.default.Messages.STORE_CHANNEL}),Ee(h.default.Title,{},void 0,t.name)):null)},S.parseMediaItems=function(e,t,n){var r=t.assetId,a=t.youtubeVideoId;if(null!=r){var o=n.find((function(e){return e.id===r}));if(null!=o){var i=o.width,l=o.height;if(null==i||null==l)throw new Error("ApplicationStoreListing.parseMediaItems: Video and Image assets must have a width and height defined");return o.mimeType.startsWith("video/")?{type:pe.CarouselMediaTypes.VIDEO,thumbnailSrc:(0,q.getAssetURL)(e.id,o,1024,"webp"),src:(0,q.getAssetURL)(e.id,o),height:l,width:i}:{type:pe.CarouselMediaTypes.IMG,src:(0,q.getAssetURL)(e.id,o,1024),height:l,width:i}}}if(null!=a)return{type:pe.CarouselMediaTypes.YOUTUBE_VIDEO,youtubeVideoId:a};throw new Error("Store carousel item must have one of assetId or youtubeVideoId")},S.renderHeaderAssets=function(e,t,n){var r=this.props.theme,a=t.headerBackground,o=r===pe.ThemeTypes.LIGHT?t.headerLogoLightTheme:t.headerLogoDarkTheme;return null==a||null==o?Ee("div",{className:ye.default.noHeaderSpacer}):Ee("div",{className:ye.default.headerAssets},void 0,Ee("div",{className:ye.default.headerBackground,style:{backgroundImage:"url("+(0,q.getAssetURL)(e.id,a,1024,"png")+")"}}),Ee("img",{className:ye.default.headerLogo,src:(0,q.getAssetURL)(e.id,o,1024,"png"),alt:n.name}))},S.renderPurchaseSection=function(e,t,n){var r=this.props,o=r.channel,i=r.isFocused,l=r.fetchStoreListing;return Ee(y.default,{section:pe.AnalyticsSections.STORE_LISTING_BUY_GAME},void 0,a.createElement(ie.default,{storeListing:e,fetchStoreListing:l,game:t,sku:n,guildId:null!=o?o.guild_id:null,channelId:null!=o?o.id:null,isFocused:i,className:ye.default.purchaseUnit,ref:this._purchaseRef}))},S.renderWhyYouMightLikeThis=function(e,t){return Ee(le.default,{sku:e,storeListing:t,className:ye.default.whyYouMightLikeIt})},S.renderVerifiedGuildInvite=function(e,t){if(null==e.guild)return null;var n=this.props,r=n.channel,a=n.pageSize;return Ee(fe.default,{skuId:t.id,guild:e.guild,className:ye.default.guildInvite,inChannel:null!=r,pageSize:a})},S.renderFeatures=function(e){return Ee(te.default,{sku:e})},S.renderSystemRequirements=function(e){return null==e.systemRequirements||0===Object.keys(e.systemRequirements).length?null:Ee(se.default,{className:ye.default.systemRequirements,systemRequirements:e.systemRequirements,pageSize:this.props.pageSize})},S.renderDescription=function(e,t,n){var r=t.description;if(null==r)throw new Error("Rendering ApplicationStoreListing without description");return Ee(a.Fragment,{},void 0,Ee(U.default,{tag:"h1"},void 0,ve.default.Messages.APPLICATION_STORE_ABOUT_HEADER.format({name:n.name})),Ce,Ee(ee.default,{applicationId:e.id,blurb:t.summary,description:r,className:ye.default.description,assets:t.assets}))},S.renderApplicationContentRating=function(e){return Ee(Q.default,{sku:e,className:ye.default.contentRating})},S.renderApplicationLegalInfo=function(e){return Ee(ne.default,{sku:e,className:ye.default.legalInfo})},S.renderJsonLD=function(){var e=this.props,t=e.sku,n=e.storeListing,r=e.application;if(null==t||null==n||null==r)return null;var a=[],o=r.getSplashURL(1024);null!=o&&a.push(o),null!=n.headerLogoLightTheme&&a.unshift((0,q.getAssetURL)(r.id,n.headerLogoLightTheme,1024,"jpg"));var i=F.default.Product({name:t.name,description:t.summary||n.tagline,image:F.default.Product.Image(a),sku:t.id}),l=t.getPrice();if(null!=l){var u=l.amount,s=l.currency;i.offers=F.default.Offer({priceCurrency:s.toUpperCase(),price:(0,Z.formatPrice)(u,s,{style:"decimal"})})}var d=F.default.ItemPage({mainEntity:i});return Ee(F.default,{data:d})},S.renderSmall=function(e,t,n){return Ee("div",{className:(0,o.default)(ye.default.listing,ye.default.listingSmall)},void 0,this.renderHeaderAssets(e,t,n),this.renderCarousel(e,t),this.renderPurchaseSection(t,e,n),this.renderWhyYouMightLikeThis(n,t),this.renderDescription(e,t,n),this.renderVerifiedGuildInvite(t,n),this.renderFeatures(n),this.renderSystemRequirements(n),this.renderApplicationContentRating(n),this.renderApplicationLegalInfo(n))},S.renderLarge=function(e,t,n){return Ee("div",{className:ye.default.listing},void 0,this.renderHeaderAssets(e,t,n),this.renderCarousel(e,t),Ee("div",{className:ye.default.listingLarge},void 0,Ee("div",{className:ye.default.body},void 0,Ee("div",{className:ye.default.leftColumn},void 0,this.renderWhyYouMightLikeThis(n,t),this.renderDescription(e,t,n),this.renderSystemRequirements(n),this.renderApplicationContentRating(n),this.renderApplicationLegalInfo(n)),Ee("div",{className:ye.default.rightColumn},void 0,this.renderPurchaseSection(t,e,n),this.renderVerifiedGuildInvite(t,n),this.renderFeatures(n)))))},S.render=function(){var e=this.props,t=e.application,n=e.sku,r=e.storeListing,o=e.matureAgree,i=e.isAuthenticated;if(null==t||null==n||null==r||r.isSlimDirectoryVersion())return Ee(a.Fragment,{},void 0,this.renderHeader(t,n),Ee(G.default,{align:G.default.Align.CENTER,justify:G.default.Justify.CENTER},void 0,Ee(B.default,{className:ye.default.spinner})));if(!o&&n.showAgeGate){var l=i?null:Ee("div",{className:ye.default.gatedListing},void 0,this.renderListing());return Ee(a.Fragment,{},void 0,Ee(u.Helmet,{title:t.name}),this.renderJsonLD(),this.renderHeader(t,n),Ee(ae.default,{game:t}),l)}return i?Ee("div",{className:ye.default.listingWrapper},void 0,Ee(u.Helmet,{title:t.name}),this.renderJsonLD(),Ee(y.default,{section:pe.AnalyticsSections.NAVIGATION},void 0,this.renderHeader(t,n)),Ee(z.AdvancedScrollerAuto,{onScroll:this.handleScroll,className:ye.default.scroller},void 0,Ee(y.default,{section:pe.AnalyticsSections.BODY},void 0,this.renderListing()))):Ee("div",{},void 0,Ee(u.Helmet,{title:t.name}),this.renderJsonLD(),this.renderHeader(t,n),this.renderListing())},s=r,(_=[{key:"isChannelType",get:function(){return null!=this.props.channel}}])&&Se(s.prototype,_),g&&Se(s,g),r}(a.PureComponent);be.displayName="ApplicationStoreListing";var Me=(0,g.default)((0,S.default)(s.default.connectStores([R.default,N.default,j.default,A.default,w.default,D.default,C.default,P.default,b.default,L.default],(function(e){var t,n,r,a,o=e.inputSkuId,i=e.applicationId,l=e.storeListingId,u=e.isAuthenticated,s=e.channel;if(null==i){if(null==o)throw new Error("Needs applicationId or skuId");n=o,null!=(i=null!=(r=D.default.get(o))?r.applicationId:null)&&(a=C.default.getGame(i))}else if(null==o){if(null==i)throw new Error("Needs applicationId or skuId");null!=(a=C.default.getGame(i))&&(n=a.destinationSkuId),r=null!=n?D.default.get(n):null}null!=(null===(t=r)||void 0===t?void 0:t.flags)&&(0,$.hasFlag)(r.flags,pe.SKUFlags.STICKER_PACK)&&(r=null);var d=null!=i&&j.default.inTestModeForApplication(i);return{skuId:n,application:null!=i?C.default.getGame(i):null,isFetchingEntitlements:null!=i&&L.default.applicationIdsFetching.has(i),didFetchEntitlements:null!=i&&L.default.applicationIdsFetched.has(i),shouldFetchStatistics:u&&null!=i&&P.default.shouldFetchStatisticsForApplication(i),sku:r,isFocused:A.default.isFocused(),storeListing:w.default.getStoreListing({storeListingId:l,skuId:n,channelId:null!=s?s.id:null,isTestMode:d}),isInTestMode:null!=i&&d,matureAgree:R.default.didMatureAgree,theme:N.default.theme,locale:N.default.locale,guild:null!=s?b.default.getGuild(s.getGuildId()):null}}))(be)));t.default=Me},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deepLinkRouteIfLandedAndNotAuthed=t.deepLinkRouteIfLanded=void 0;var r=u(n(740)),a=n(42),o=u(n(11)),i=u(n(16)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||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}).apply(this,arguments)}var d=i.default.embedded?l.NOOP:function(e,t){i.default.isDesktop&&!(0,a.hasNavigated)()&&r.default.requestOnce(l.RPCCommands.DEEP_LINK,{type:e,params:t})};t.deepLinkRouteIfLanded=d;var f=i.default.embedded?l.NOOP:function(e,t){if(!o.default.isAuthenticated()&&!o.default.isGuest())return d(e,s({},t||{},{fingerprint:o.default.getFingerprint()}))};t.deepLinkRouteIfLandedAndNotAuthed=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("rect",{width:"24",height:"24"});function f(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,f=void 0===l?"currentColor":l,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:c,fill:f,d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96z"}),d))}f.displayName="Cloud"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function i(e){var t=e.width,n=void 0===t?18:t,r=e.height,a=void 0===r?18:r,i=e.color,l=void 0===i?"currentColor":i,u=e.foreground;return o("svg",{width:n,height:a,className:e.className,viewBox:"0 0 18 18"},void 0,o("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},void 0,o("path",{d:"M9,3 L9,0.75 L6,3.75 L9,6.75 L9,4.5 C11.4825,4.5 13.5,6.5175 13.5,9 C13.5,9.7575 13.3125,10.4775 12.975,11.1 L14.07,12.195 C14.655,11.2725 15,10.1775 15,9 C15,5.685 12.315,3 9,3 Z M9,13.5 C6.5175,13.5 4.5,11.4825 4.5,9 C4.5,8.2425 4.6875,7.5225 5.025,6.9 L3.93,5.805 C3.345,6.7275 3,7.8225 3,9 C3,12.315 5.685,15 9,15 L9,17.25 L12,14.25 L9,11.25 L9,13.5 Z",fill:l,className:u,fillRule:"nonzero"})))}i.displayName="Synced"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(8354))&&r.__esModule?r:{default:r};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(){return(l=Object.assign||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}).apply(this,arguments)}function u(e){return a.createElement(o.default,l({},e,{direction:o.default.Directions.UP}))}u.displayName="ArrowUp"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=c(n(133)),l=c(n(29)),u=c(n(61)),s=c(n(55)),d=c(n(1266)),f=c(n(7891));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=(0,i.default)({SMALL:null,MEDIUM:null,LARGE:null}),m=((r={})[y.SMALL]=f.default.dropdownSmall,r[y.MEDIUM]=f.default.dropdownMedium,r[y.LARGE]=f.default.dropdownLarge,r),_=function(e){var t=e.onDropdownClick,n=e.children,r=e.contentClassName,a=e.dropdownSize,i=void 0===a?y.MEDIUM:a,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onDropdownClick","children","contentClassName","dropdownSize"]);return o.createElement(l.default,c,v(s.default,{align:s.default.Align.CENTER},void 0,v(s.default.Child,{className:r},void 0,n),null!=t?v(u.default,{className:m[i],onClick:function(e){e.stopPropagation(),null!=t&&t(e)}},void 0,v("div",{className:f.default.arrowSeparator}),v(d.default,{className:f.default.dropdownArrow})):null))};_.displayName="DropdownButton",_.DropdownSizes=y,_.Sizes=l.default.Sizes,_.Colors=l.default.Colors,_.Looks=l.default.Looks;var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GroupDM=t.DirectMessage=t.LinkButton=void 0;var r,a=U(n(0)),o=j(n(23)),i=n(3),l=j(n(391)),u=n(389),s=j(n(707)),d=j(n(8694)),f=n(5937),c=j(n(180)),p=j(n(8703)),v=j(n(8476)),y=j(n(163)),m=j(n(256)),_=j(n(200)),h=j(n(8582)),E=j(n(181)),g=j(n(12)),S=j(n(1222)),O=j(n(61)),I=j(n(8319)),T=j(n(255)),C=j(n(466)),b=n(41),M=U(n(279)),N=j(n(8553)),A=j(n(24)),P=j(n(43)),R=j(n(8468)),L=n(1),D=j(n(6)),w=j(n(7895));function j(e){return e&&e.__esModule?e:{default:e}}function k(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return k=function(){return e},e}function U(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=k();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function G(){return(G=Object.assign||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}).apply(this,arguments)}function F(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function B(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,H(e,t)}function H(e,t){return(H=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var V=P.default.getEnableHardwareAcceleration()?M.AnimatedAvatar:M.default,W={offset:{top:2,bottom:2,right:4}},Y=function(e){var t=e.onClick;return x(O.default,{onClick:t,className:w.default.closeButton},void 0,x(T.default,{className:w.default.closeIcon}))};Y.displayName="CloseButton";var z=function(e){function t(){return e.apply(this,arguments)||this}return B(t,e),t.prototype.render=function(){var e=this.props,t=e.route,n=e.selected,r=e.icon,o=e.text,i=e.children,l=e.locationState,u=e.onClick,s=F(e,["route","selected","icon","text","children","locationState","onClick"]);return a.createElement(N.default,G({selected:n,className:w.default.channel,to:{pathname:t,state:l},onClick:u,avatar:x(r,{className:w.default.linkButtonIcon}),name:o,focusProps:W},s),i)},t}(a.Component);t.LinkButton=z,z.displayName="LinkButton";var K=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={hovered:!1},t.handleMouseEnter=function(){t.setState({hovered:!0})},t.handleMouseLeave=function(){t.setState({hovered:!1})},t.handleClose=function(e){null!=e&&(e.preventDefault(),e.stopPropagation());var n=t.props.channel;l.default.closePrivateChannel(n.id,t.props.selected)},t.handleContextMenu=function(e){var n=t.props,r=n.channel,o=n.selected,i=n.user;r.isMultiUserDM()?(0,u.openContextMenu)(e,(function(e){return a.createElement(p.default,G({},e,{channel:r,selected:o}))}),{noBlurEvent:!0}):(0,u.openContextMenu)(e,(function(e){return a.createElement(v.default,G({},e,{user:i,channel:r,channelSelected:o}))}))},t.handleLeaveGroup=function(e){e.preventDefault(),e.stopPropagation();var n=t.props,r=n.channel,o=n.channelName,i=D.default.Messages.LEAVE_GROUP_DM_TITLE.format({name:o}),l=D.default.Messages.LEAVE_GROUP_DM_BODY.format({name:o});r.isManaged()&&(i=D.default.Messages.LEAVE_GROUP_DM_MANAGED_TITLE.format({name:o}),l=D.default.Messages.LEAVE_GROUP_DM_MANAGED_BODY.format({name:o})),(0,b.openModal)((function(e){return a.createElement(C.default,G({header:i,confirmText:D.default.Messages.LEAVE_GROUP_DM,cancelText:D.default.Messages.CANCEL,onConfirm:t.handleClose},e),x(A.default,{size:A.default.Sizes.SIZE_16},void 0,l))}))},t.handleMouseDown=function(){l.default.preload(L.ME,t.props.channel.id)},t}B(t,e);var n=t.prototype;return n.renderSubtitle=function(){var e=this.props,t=e.channel,n=e.activities,r=e.applicationStream,o={className:w.default.activity,textClassName:w.default.activityText,emojiClassName:w.default.activityEmoji};return t.isSystemDM()?x("div",{className:w.default.subtext},void 0,D.default.Messages.SYSTEM_DM_ACTIVITY_TEXT):t.isMultiUserDM()?x("div",{className:w.default.subtext},void 0,D.default.Messages.MEMBERS_HEADER.format({members:t.recipients.length+1})):null!=n?a.createElement(R.default,G({},o,{activities:n,applicationStream:r,animate:this.state.hovered,hideTooltip:!0})):null},n.renderAvatar=function(){var e=this.props,t=e.channel,n=e.user,r=e.status,a=e.activities,i=e.isTyping,l=e.isMobile;if(t.isMultiUserDM())return x(V,{src:(0,f.getChannelIconURL)(t),"aria-hidden":!0,className:w.default.avatar,size:M.Sizes.SIZE_32});(0,o.default)(null!=n,"PrivateChannel.renderAvatar: Invalid prop configuration - no user or channel");var u=null;return n.isSystemUser()||(u=(0,s.default)(a)?L.StatusTypes.STREAMING:r),x(V,{size:M.Sizes.SIZE_32,src:n.getAvatarURL(void 0),status:u,isMobile:l,isTyping:i,className:w.default.avatar,"aria-label":n.username,statusTooltip:!0})},n.render=function(){var e=this.props,t=e.channel,n=e.channelName,r=e.selected,a=e.muted,o=e.onClick,i=e.onFocus,l=e.tabIndex,u=e.id,s=e.hasUnreadMessages;return x(N.default,{className:w.default.channel,avatar:this.renderAvatar(),selected:r,highlighted:s,muted:a,name:x(I.default,{},void 0,n),decorators:t.isSystemDM()?x(S.default,{className:w.default.decorator,type:S.default.Types.SYSTEM_DM,verified:!0}):null,to:L.Routes.CHANNEL(L.ME,t.id),onContextMenu:this.handleContextMenu,onClick:o,onFocus:i,onMouseDown:this.handleMouseDown,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,subText:this.renderSubtitle(),"aria-label":(0,d.default)(t,s),"aria-setsize":this.props["aria-setsize"],"aria-posinset":this.props["aria-posinset"],id:u,tabIndex:l,focusProps:W},void 0,x(Y,{onClick:t.isMultiUserDM()?this.handleLeaveGroup:this.handleClose}))},t}(a.PureComponent);K.displayName="PrivateChannel",K.defaultProps={selected:!1};var $=function(e){var t=e.channel,n=e.selected,r=F(e,["channel","selected"]),o=(0,i.useStateFromStores)([g.default],(function(){return g.default.getUser(t.getRecipientId())})),l=(0,i.useStateFromStoresObject)([m.default,y.default],(function(){return{status:null!=o?m.default.getStatus(o.id):null,activities:null!=o?m.default.getActivities(o.id):null,applicationStream:null!=o?y.default.getStreamForUser(o.id):null,isMobile:null!=o&&m.default.isMobileOnline(o.id)}}),[null==o?void 0:o.id]),u=(0,i.useStateFromStores)([h.default],(function(){return null!=o?h.default.isTyping(t.id,t.getRecipientId()):void 0})),s=(0,i.useStateFromStores)([E.default],(function(){return E.default.isChannelMuted(t.getGuildId(),t.id)})),d=(0,i.useStateFromStores)([_.default],(function(){return _.default.getMentionCount(t.id)>0})),f=(0,c.default)(t);return a.createElement(K,G({channel:t,channelName:f,selected:n},l,{user:o,isTyping:u,muted:s,hasUnreadMessages:d},r))};t.DirectMessage=$,$.displayName="DirectMessage";var Z=function(e){var t=e.channel,n=e.selected,r=F(e,["channel","selected"]),o=(0,i.useStateFromStores)([E.default],(function(){return E.default.isChannelMuted(t.getGuildId(),t.id)})),l=(0,i.useStateFromStores)([_.default],(function(){return _.default.getMentionCount(t.id)>0})),u=(0,c.default)(t);return a.createElement(K,G({channel:t,channelName:u,selected:n,muted:o,hasUnreadMessages:l},r))};t.GroupDM=Z,Z.displayName="GroupDM";var q=K;t.default=q},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_IMAGE_UPLOAD_FILESIZE_BYTES=t.BIO_MAX_LENGTH=void 0;t.BIO_MAX_LENGTH=190;t.MAX_IMAGE_UPLOAD_FILESIZE_BYTES=10485760},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var i=o("path",{d:"M-4-4h24v24H-4z"});function l(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,u=void 0===l?"currentColor":l,s=e.className,d=e.foreground;return o("svg",{className:s,width:n,height:a,viewBox:"0 0 16 16"},void 0,o("g",{fill:"none"},void 0,i,o("path",{className:d,fill:u,d:"M14.994 1.006C13.858-.257 11.904-.3 10.72.89L8.637 2.975l-.696-.697-1.387 1.388 5.557 5.557 1.387-1.388-.697-.697 1.964-1.964c1.13-1.13 1.3-2.985.23-4.168zm-13.25 10.25c-.225.224-.408.48-.55.764L.02 14.37l1.39 1.39 2.35-1.174c.283-.14.54-.33.765-.55l4.808-4.808-2.776-2.776-4.813 4.803z"})))}l.displayName="Dropper"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(14)),a=u(n(2)),o=u(n(755)),i=n(1),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function d(e,t){return a.default.dispatch({type:i.ActionTypes.MFA_SMS_TOGGLE}),r.default.post({url:e,body:{password:t},oldFormErrors:!0}).then((function(e){return a.default.dispatch({type:i.ActionTypes.MFA_SMS_TOGGLE_COMPLETE}),e}),(function(e){throw a.default.dispatch({type:i.ActionTypes.MFA_SMS_TOGGLE_COMPLETE}),e}))}var f={enableMFAStart:function(e){return(t=regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.default.post({url:i.Endpoints.MFA_TOTP_ENABLE,body:{password:e},oldFormErrors:!0});case 2:return n=t.sent,t.abrupt("return",n.body);case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,a){var o=t.apply(e,n);function i(e){s(o,r,a,i,l,"next",e)}function l(e){s(o,r,a,i,l,"throw",e)}i(void 0)}))})();var t},enable:function(e){var t=e.password,n=e.code,o=e.secret;return r.default.post({url:i.Endpoints.MFA_TOTP_ENABLE,body:{code:n,secret:o,password:t},oldFormErrors:!0}).then((function(e){return a.default.dispatch({type:i.ActionTypes.MFA_ENABLE_SUCCESS,token:e.body.token,codes:e.body.backup_codes})}))},disable:function(){(0,o.default)({title:l.default.Messages.TWO_FA_DISABLE,actionText:l.default.Messages.TWO_FA_REMOVE},(function(e){return r.default.post({url:i.Endpoints.MFA_TOTP_DISABLE,body:e,oldFormErrors:!0})}),{checkEnabled:!0}).then((function(e){var t=e.body.token;return a.default.dispatch({type:i.ActionTypes.MFA_DISABLE_SUCCESS,token:t})}))},enableSMS:function(e){return d(i.Endpoints.MFA_SMS_ENABLE,e)},disableSMS:function(e){return d(i.Endpoints.MFA_SMS_DISABLE,e)},viewBackupCodes:function(e,t){return void 0===t&&(t=!1),r.default.post({url:i.Endpoints.MFA_CODES,body:{password:e,regenerate:t},oldFormErrors:!0}).then((function(e){return a.default.dispatch({type:i.ActionTypes.MFA_VIEW_BACKUP_CODES,codes:e.body.backup_codes})}))},clearBackupCodes:function(){a.default.dirtyDispatch({type:i.ActionTypes.MFA_CLEAR_BACKUP_CODES})}};t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=z(n(0)),o=W(n(9)),i=W(n(23)),l=W(n(3)),u=W(n(10236)),s=W(n(8273)),d=W(n(399)),f=z(n(484)),c=W(n(1273)),p=W(n(9244)),v=W(n(9245)),y=W(n(1248)),m=W(n(8756)),_=W(n(5966)),h=W(n(163)),E=W(n(11)),g=W(n(10)),S=W(n(71)),O=W(n(86)),I=W(n(15)),T=W(n(51)),C=W(n(40)),b=W(n(256)),M=W(n(79)),N=W(n(36)),A=W(n(710)),P=W(n(477)),R=W(n(8313)),L=W(n(8368)),D=W(n(8520)),w=W(n(5955)),j=n(41),k=W(n(8710)),U=W(n(9070)),G=W(n(8414)),F=W(n(13)),B=W(n(16)),H=n(1),x=W(n(6)),V=W(n(7911));function W(e){return e&&e.__esModule?e:{default:e}}function Y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Y=function(){return e},e}function z(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=Y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function K(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function $(){return($=Object.assign||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}).apply(this,arguments)}function Z(e,t){return(Z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var q=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleClickGoLiveButton=function(){var e=t.props,n=e.guildId,r=e.voiceChannel,o=null!=r?r.getGuildId():n;t.modalKey=(0,j.openModal)((function(e){return a.createElement(m.default,$({},e,{selectSource:!1,guildId:o,analyticsLocation:H.AnalyticsLocations.ACTIVITY_PANEL}))}))},t.handleClickStopStreamingButton=function(){var e=t.props.stream;(0,_.default)(e)},t.handleClickInviteButton=function(){var e=t.props,n=e.activity,r=e.analyticsContext;(0,i.default)(null!=n,"Received null activity"),F.default.track(H.AnalyticEvents.OPEN_MODAL,{type:"Send Join Invite",application_id:n.application_id,location:r.location}),(0,j.openModal)((function(e){return a.createElement(u.default,$({activity:n},e))}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,Z(t,n);var l=r.prototype;return l.isJoinableActivity=function(){var e=this.props,t=e.application,n=e.activity;return null!=t&&null!=n&&n.application_id===t.id&&n.type===H.ActivityTypes.PLAYING&&(0,d.default)(n,H.ActivityFlags.JOIN)},l.renderGoLiveButton=function(){var e,t,n,r,a=this.props,o=a.canGoLive,i=a.guildId,l=a.isStreaming,u=a.voiceChannel,s=a.canStream,d=a.runningGame;return l||o?(l?(e=!1,t=this.handleClickStopStreamingButton,n=D.default,r=x.default.Messages.STOP_STREAMING):s?(e=!1,t=this.handleClickGoLiveButton,n=w.default,r=null!=d?x.default.Messages.ACTIVITY_PANEL_GO_LIVE_STREAM_GAME.format({game:d.name}):x.default.Messages.ACTIVITY_PANEL_GO_LIVE):(e=!0,t=null,n=w.default,r=null!=u?x.default.Messages.ACTIVITY_PANEL_GO_LIVE_TOOLTIP_NO_PERMISSION_IN_VOICE:null!=i?x.default.Messages.ACTIVITY_PANEL_GO_LIVE_TOOLTIP_NO_PERMISSION_IN_GUILD:x.default.Messages.ACTIVITY_PANEL_GO_LIVE_TOOLTIP_NOT_IN_GUILD),K(k.default,{tooltipText:r,disabled:e,onClick:t,icon:n,iconForeground:V.default.actionIcon})):null},l.renderInviteButton=function(){return this.isJoinableActivity()?K(k.default,{tooltipText:x.default.Messages.INVITE_EMBED_INVITE_TO_JOIN,onClick:this.handleClickInviteButton,icon:L.default,iconForeground:V.default.actionIcon}):null},l.renderActions=function(){var e=this.renderGoLiveButton(),t=this.renderInviteButton();return null==e&&null==t?null:K("div",{className:V.default.actions},void 0,e,t)},l.getGameName=function(){var e=this.props,t=e.runningGame,n=e.application;return null!=n?n.name:null!=t?t.name:x.default.Messages.STATUS_UNKNOWN},l.renderGame=function(){var e,t=this.props,n=t.isStreaming,r=t.application,a=this.getGameName();return K("div",{className:(0,o.default)(V.default.gameWrapper,(e={},e[V.default.clickableGameWrapper]=null!=r,e))},void 0,K("div",{className:V.default.gameIconWrapper},void 0,K(P.default,{className:V.default.gameIcon,game:r}),n?K(R.default,{className:V.default.liveBadge}):null),K("div",{className:V.default.info},void 0,null!=a?K(U.default,{},void 0,a):null))},l.renderScreenshare=function(){var e=this.props,t=e.isStreaming,n=e.streamMetadata,r=(0,p.default)(n),a=r.title,o=r.sanitizedTitle;return K("div",{className:V.default.gameWrapper},void 0,t?K(v.default,{title:o}):K(G.default,{look:G.default.Looks.GRAY,size:G.default.Sizes.SMALL,className:V.default.liveIndicator}),K("div",{className:V.default.info},void 0,K(U.default,{},void 0,a)))},l.render=function(){var e=this.props,t=e.canGoLive,n=e.runningGame,r=e.isStreaming,a=e.streamMetadata,i=e.className;if(!r){if(!this.isJoinableActivity()&&!t)return null;if(null==n)return null}return K("div",{className:(0,o.default)(V.default.panel,i)},void 0,K("div",{className:V.default.body},void 0,null==n||r&&null==(null==a?void 0:a.pid)?this.renderScreenshare():this.renderGame(),this.renderActions()))},r}(a.PureComponent);q.displayName="ActivityPanelGameCard";var X=(0,s.default)(l.default.connectStores([M.default,A.default,E.default,g.default,h.default,N.default,I.default,T.default,S.default,b.default,O.default,C.default],(function(e){var t=e.guildId,n=E.default.getId(),r=(0,y.default)(M.default,A.default),a=g.default.getChannel(N.default.getVoiceChannelId()),o=h.default.getActiveStreamForUser(n),i=h.default.getStreamerActiveStreamMetadata(),l=!1;if(null!=a)l=f.canStreamInChannel(a,I.default,C.default,!1);else if(null!=t){l=f.getStreamEligibleChannels(O.default.getChannels(t),I.default,C.default).length>0}var u=null;return null!=i&&null!=i.id?u=S.default.getGame(i.id):null!=r&&(u=S.default.getGameBySettingGame(r)),{canGoLive:(0,c.default)(T.default)&&B.default.isWindows(),activity:null!=n?b.default.findActivity(n,(function(e){return e.type===H.ActivityTypes.PLAYING})):null,runningGame:r,application:u,isStreaming:null!=o&&o.ownerId===n&&o.state!==H.ApplicationStreamStates.ENDED,voiceChannel:a,canStream:l,stream:o,streamMetadata:i}}))(q));t.default=X},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=a.default.Messages.ACTIVITY_PANEL_GO_LIVE;null!=e&&null!=e.sourceName&&e.sourceName.length>0&&(t=e.sourceName);return{sanitizedTitle:t.replace(o,""),title:t}};var r,a=(r=n(6))&&r.__esModule?r:{default:r};var o=/[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]/g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v,t.SCREEN_ICON_COLORS=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=n(202),l=s(n(8313)),u=s(n(7910));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=[1752220,3066993,3447003,10181046,15277667,15844367];function p(e){return(0,i.int2hex)(c[function(e){var t=5381,n=0;for(;n<e.length;)t=33*t^e.charCodeAt(n++);return t>>>0}(e)%c.length])}function v(e){var t=e.title,n=e.className,r=a.useState(p(t)),i=r[0],s=r[1];return a.useEffect((function(){s(p(t))}),[t]),f("div",{className:(0,o.default)(u.default.icon,n),style:{backgroundColor:i}},void 0,t[0]||"?",f(l.default,{className:u.default.badge}))}t.SCREEN_ICON_COLORS=c,v.displayName="ScreenshareIcon"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=E(n(0)),o=n(10241),i=n(34),l=E(n(744)),u=_(n(51)),s=_(n(271)),d=_(n(47)),f=_(n(13)),c=_(n(93)),p=_(n(8778)),v=n(1),y=_(n(6)),m=_(n(7912));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var O=g("hr",{}),I=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this)._graphView=null,t._dataSeries=new o.TimelineDataSeries,t.openDebugPanel=function(){var e=t.props.closePopout;null!=e&&e(),l.open()},t.handleSetCanvas=function(e){null!=e&&(t._graphView=new o.TimelineGraphView(e),t.setThemeColors(),t._graphView.addDataSeries(t._dataSeries),t._dataSeries.addPoint(Date.now(),0),t._dataSeries.setColor(v.HEXColors.BRAND),t._graphView.updateEndDate())},t.renderVoiceConnected=function(){var e=t.props,n=e.hostname,r=e.averagePing,o=e.lastPing,i=e.outboundLossRate,l=null!=i?y.default.Messages.RTC_CONNECTION_STATE_RTC_CONNECTED_LOSS_RATE:y.default.Messages.RTC_CONNECTION_STATE_RTC_CONNECTED;return g(a.Fragment,{},void 0,a.createElement("canvas",{width:210,height:80,ref:t.handleSetCanvas}),l.format({hostname:p.default.getShortHostname(n),badPing:250,averagePing:r.toFixed(0),lastPing:(o||0).toFixed(0),outboundLossRate:(i||0).toFixed(1),badLossRate:10}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n);var _=r.prototype;return _.componentDidMount=function(){f.default.track(v.AnalyticEvents.OPEN_POPOUT,{type:"RTC Connection"})},_.componentDidUpdate=function(e){var t=this.props,n=t.theme,r=t.lastPing;t.averagePing===e.averagePing&&n===e.theme||null==this._graphView||(this.setThemeColors(),this._dataSeries.addPoint(Date.now(),r||0),this._graphView.updateEndDate())},_.setThemeColors=function(){var e=this.props.theme;null!=this._graphView&&(this._graphView.backgroundColor=e===v.ThemeTypes.LIGHT?v.HEXColors.WHITE:v.HEXColors.PRIMARY_DARK_600,this._graphView.textColor=e===v.ThemeTypes.LIGHT?v.HEXColors.BLACK:v.HEXColors.WHITE,this._graphView.gridColor=this.props.theme===v.ThemeTypes.LIGHT?v.HEXColors.BLACK_100:v.HEXColors.WHITE_800)},_.render=function(){var e,t=this.props.connectionState,n=(e={},e[v.RTCConnectionStates.AWAITING_ENDPOINT]=y.default.Messages.RTC_CONNECTION_STATE_AWAITING_ENDPOINT.format({url:v.Links.STATUS}),e[v.RTCConnectionStates.CONNECTING]=y.default.Messages.RTC_CONNECTION_STATE_CONNECTING,e[v.RTCConnectionStates.AUTHENTICATING]=y.default.Messages.RTC_CONNECTION_STATE_AUTHENTICATING,e[v.RTCConnectionStates.DISCONNECTED]=y.default.Messages.RTC_CONNECTION_STATE_DISCONNECTED,e[v.RTCConnectionStates.RTC_CONNECTING]=y.default.Messages.RTC_CONNECTION_STATE_RTC_CONNECTING,e[v.RTCConnectionStates.ICE_CHECKING]=y.default.Messages.RTC_CONNECTION_STATE_ICE_CHECKING.format({url:c.default.getArticleURL(v.HelpdeskArticles.VOICE_CONNECTION_ERRORS)}),e[v.RTCConnectionStates.RTC_CONNECTED]=this.renderVoiceConnected,e[v.RTCConnectionStates.NO_ROUTE]=y.default.Messages.RTC_CONNECTION_STATE_NO_ROUTE.format({url:c.default.getArticleURL(v.HelpdeskArticles.VOICE_CONNECTION_ERRORS)}),e[v.RTCConnectionStates.RTC_DISCONNECTED]=y.default.Messages.RTC_CONNECTION_STATE_DISCONNECTED,e)[t];return g("div",{className:m.default.container},void 0,g(d.default,{tag:d.default.Tags.H3,className:m.default.header},void 0,y.default.Messages.RTC_CONNECTION),g("section",{},void 0,"function"==typeof n?n():g("p",{},void 0,n),O,g("div",{className:m.default.popoutBottom},void 0,g("span",{className:m.default.secured},void 0,y.default.Messages.IP_ADDRESS_SECURED),u.default.supports(i.Features.DIAGNOSTICS)&&!__OVERLAY__&&g(s.default,{className:m.default.debugButton,onClick:this.openDebugPanel},void 0,y.default.Messages.DEBUG))))},r}(a.PureComponent);I.displayName="RTCConnectionPopout";var T=I;t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(8)),a=c(n(3)),o=c(n(28)),i=c(n(2)),l=n(1229),u=c(n(78)),s=c(n(8711)),d=c(n(10)),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _(){return(_=Object.assign||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}).apply(this,arguments)}var h,E,g=new Set,S=f.FormStates.CLOSED,O=!1,I=null,T=null,C=null,b=null,M=null,N=null,A=o.default.get(l.ADVANCED_MODE_ON_KEY)||!1;function P(){if(C=s.default.getChannel(),b=s.default.getCategory(),null==C)return!1;var e=C.getGuildId();T=I=function(e){var t=e.getGuildId(),n=_({},e.permissionOverwrites);return null!=t&&null==n[t]&&(n[t]=u.default.makeEveryoneOverwrite(t)),n}(C),null==I[M]&&(M=e),E=null!=b,h=u.default.areChannelsLocked(C,b),N=null,O=!1,S=f.FormStates.CLOSED,g.clear()}function R(e){if(null==C||C.id!==e)return!1;if(null==(C=d.default.getChannel(e)))return!1;b=s.default.getCategory();var t=C.getGuildId();if(null==t)return!1;var n={};g.forEach((function(e){null!=I&&(n[e]=I[e])})),null==n[t]&&null==C.permissionOverwrites[t]&&(n[t]=u.default.makeEveryoneOverwrite(t)),null==(I=_({},C.permissionOverwrites,{},n))[M]?M=t:N&&I[N]&&(M=N,N=null),h=u.default.areChannelsLocked(C,b)}var L=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var a,o,i,l=r.prototype;return l.initialize=function(){this.waitFor(s.default,d.default)},l.hasChanges=function(){return O},l.showNotice=function(){return this.hasChanges()},l.getPermissionOverwrite=function(e){return I&&I[e]},a=r,(o=[{key:"editedPermissionIds",get:function(){return Array.from(g)}},{key:"permissionOverwrites",get:function(){return I}},{key:"selectedOverwriteId",get:function(){return M}},{key:"formState",get:function(){return S}},{key:"isLockable",get:function(){return E}},{key:"locked",get:function(){return h}},{key:"channel",get:function(){return C}},{key:"category",get:function(){return b}},{key:"advancedMode",get:function(){return A}}])&&p(a.prototype,o),i&&p(a,i),r}(a.default.Store))(i.default,{CHANNEL_SETTINGS_SET_SECTION:function(e){var t=e.section;if(null!=C||t!==f.ChannelSettingsSections.PERMISSIONS)return!1;P()},CHANNEL_SETTINGS_PERMISSIONS_INIT:function(e){return P()},CHANNEL_SETTINGS_PERMISSIONS_UPDATE_PERMISSION:function(e){var t,n=e.id,a=e.allow,o=e.deny,i=I&&I[n];if(null==i||null==C)return!1;i=_({},i,{allow:a,deny:o}),I=_({},I,((t={})[n]=i,t)),g.add(n),S=f.FormStates.OPEN,O=!r.default.isEqual(I,T),h=u.default.areChannelsLocked(C,b)},CHANNEL_SETTINGS_PERMISSIONS_SELECT_PERMISSION:function(e){var t=e.id;if(null!=I&&null!=I[t])M=t;else{if(null==C)return!1;N=t}},CHANNEL_SETTINGS_CLOSE:function(e){return S=f.FormStates.CLOSED,I=null,T=null,C=null,b=null,O=!1,g.clear(),M=null,void(N=null)},CHANNEL_UPDATES:function(e){var t=e.updates;if(null==C)return!1;for(var n,r=!1,a=y(t);!(n=a()).done;){!1!==R(n.value.channel.id)&&(r=!0)}return r},CHANNEL_SETTINGS_PERMISSIONS_SUBMITTING:function(e){S=f.FormStates.SUBMITTING},CHANNEL_SETTINGS_PERMISSIONS_SAVE_SUCCESS:function(e){e.silent?S=f.FormStates.OPEN:(S=f.FormStates.CLOSED,P())},CHANNEL_SETTINGS_PERMISSIONS_SET_ADVANCED_MODE:function(e){var t=e.advancedMode;A=t,o.default.set(l.ADVANCED_MODE_ON_KEY,t)}});t.default=L},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderTwoColumns=m,t.renderStreams=function(e,t,n,r){return e.map((function(e){for(var i,c=[],p=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(function(e){return Object.keys(e).sort((function(e,t){var n=_[e],r=_[t];return n!==r?void 0===n?1:void 0===r?-1:n-r:s.graphs[e]!==s.graphs[t]?s.graphs[e]?1:-1:e>t?1:-1}))}(e));!(i=p()).done;){var h=i.value,E=e[h];s.hidden[h]||void 0===E||c.push(y(s.Item,{section:n,label:h,value:E},h))}return y(u.default,{className:f.default.marginBottom40,title:e.type},e.type+" + "+e.ssrc,"video"===e.type&&null!=t&&null!=n&&null!=r&&function(e,t,n,r){var i=r.get(t,n,e.ssrc);return null!=i?y("div",{className:(0,a.default)(d.default.videoWrapper,f.default.marginBottom40)},void 0,y(l.default,{streamId:i,videoComponent:o.default.getMediaEngine().Video,paused:!1})):null}(e,t,n,r),m(c))}))};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=c(n(9)),o=c(n(51)),i=c(n(55)),l=c(n(9139)),u=c(n(681)),s=n(10242),d=c(n(7394)),f=c(n(370));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t=[],n=0;for(e.length%2!=0&&e.push(y(i.default,{basis:"50%",grow:0},n++));e.length>0;)t.push(y(i.default,{basis:"50%",grow:0},n++,e.splice(0,2)));return t}var _={ssrc:1,codec:2}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getOverlayLayoutContent=function(){return[{description:T.default.Messages.KEYBIND_DESCRIPTION_MODAL_NAVIGATE_SERVERS,binds:C(I.KeybindActions.SERVER_PREV,I.KeybindActions.SERVER_NEXT)},{description:T.default.Messages.KEYBIND_DESCRIPTION_MODAL_NAVIGATE_CHANNELS,binds:C(I.KeybindActions.CHANNEL_PREV,I.KeybindActions.CHANNEL_NEXT)},{description:T.default.Messages.KEYBIND_DESCRIPTION_MODAL_NAVIGATE_BACK_FORWARD,binds:C(I.KeybindActions.NAVIGATE_BACK,I.KeybindActions.NAVIGATE_FORWARD)},{description:T.default.Messages.KEYBIND_DESCRIPTION_MODAL_UNREAD_CHANNELS,binds:C(I.KeybindActions.UNREAD_PREV,I.KeybindActions.UNREAD_NEXT)},{description:T.default.Messages.KEYBIND_DESCRIPTION_MODAL_UNREAD_MENTION_CHANNELS,binds:C(I.KeybindActions.MENTION_CHANNEL_PREV,I.KeybindActions.MENTION_CHANNEL_NEXT),groupEnd:!0},{description:T.default.Messages.KEYBIND_DESCRIPTION_MODAL_TOGGLE_PREVIOUS_GUILD,binds:C(I.KeybindActions.TOGGLE_PREVIOUS_GUILD)},{description:T.default.Messages.KEYBIND_DESCRIPTION_MODAL_MARK_SERVER_READ,binds:C(I.KeybindActions.MARK_SERVER_READ)},{description:T.default.Messages.KEYBIND_DESCRIPTION_MODAL_MARK_CHANNEL_READ,binds:C(I.KeybindActions.MARK_CHANNEL_READ)},{description:T.default.Messages.KEYBIND_DESCRIPTION_MODAL_SEARCH_EMOJIS,binds:C(I.KeybindActions.SEARCH_EMOJIS),groupEnd:!0},{description:T.default.Messages.KEYBIND_DESCRIPTION_MODAL_TOGGLE_MUTE,binds:C(I.KeybindActions.TOGGLE_MUTE)},{description:T.default.Messages.KEYBIND_DESCRIPTION_MODAL_TOGGLE_DEAFEN,binds:C(I.KeybindActions.TOGGLE_DEAFEN)},{description:T.default.Messages.KEYBIND_DESCRIPTION_MODAL_CALL_ACCEPT,binds:C(I.KeybindActions.CALL_ACCEPT)},{description:T.default.Messages.KEYBIND_DESCRIPTION_MODAL_CALL_DECLINE,binds:C(I.KeybindActions.MARK_CHANNEL_READ)},{description:T.default.Messages.KEYBIND_DESCRIPTION_MODAL_CALL_START,binds:C(I.KeybindActions.CALL_START),groupEnd:!0},{description:T.default.Messages.KEYBIND_DESCRIPTION_MODAL_SCROLL_CHAT,binds:C(I.KeybindActions.SCROLL_UP,I.KeybindActions.SCROLL_DOWN)},{description:T.default.Messages.KEYBIND_DESCRIPTION_MODAL_JUMP_TO_FIRST_UNREAD,binds:C(I.KeybindActions.JUMP_TO_FIRST_UNREAD)},{description:T.default.Messages.KEYBIND_DESCRIPTION_MODAL_FOCUS_TEXT_AREA,binds:C(I.KeybindActions.TEXTAREA_FOCUS)},{description:T.default.Messages.KEYBIND_DESCRIPTION_MODAL_QUICKSWITCHER,binds:C(I.KeybindActions.QUICKSWITCHER_SHOW)}]},t.default=t.OVERLAY_LOCKED_LAYOUT=t.OVERLAY_LAYOUT=void 0;var r,a,o,i=n(9002),l=n(9003),u=n(1322),s=n(9006),d=n(9007),f=n(9008),c=n(10244),p=n(9009),v=n(9010),y=n(9011),m=n(9012),_=n(9013),h=n(9014),E=n(9015),g=n(9016),S=n(1298),O=n(9017),I=n(1),T=(r=n(6))&&r.__esModule?r:{default:r};function C(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.map((function(e){var t=b[e];if(null==t)throw new Error("getBindsFor(...): No bind for "+t);return t.binds[0]}))}var b=((a={})[I.KeybindActions.SERVER_NEXT]=m.SERVER_NEXT,a[I.KeybindActions.SERVER_PREV]=m.SERVER_PREV,a[I.KeybindActions.CHANNEL_NEXT]=l.CHANNEL_NEXT,a[I.KeybindActions.CHANNEL_PREV]=l.CHANNEL_PREV,a[I.KeybindActions.NAVIGATE_BACK]=l.NAVIGATE_BACK,a[I.KeybindActions.NAVIGATE_FORWARD]=l.NAVIGATE_FORWARD,a[I.KeybindActions.UNREAD_NEXT]=O.UNREAD_NEXT,a[I.KeybindActions.UNREAD_PREV]=O.UNREAD_PREV,a[I.KeybindActions.MENTION_CHANNEL_NEXT]=O.MENTION_NEXT,a[I.KeybindActions.MENTION_CHANNEL_PREV]=O.MENTION_PREV,a[I.KeybindActions.TOGGLE_PREVIOUS_GUILD]=l.TOGGLE_PREVIOUS_GUILD,a[I.KeybindActions.JUMP_TO_GUILD]=u.JUMP_TO_GUILD,a[I.KeybindActions.SUBMIT]=_.SUBMIT,a[I.KeybindActions.TEXTAREA_FOCUS]=h.TEXTAREA_FOCUS,a[I.KeybindActions.MARK_CHANNEL_READ]=s.MARK_CHANNEL_READ,a[I.KeybindActions.MARK_SERVER_READ]=d.MARK_SERVER_READ,a[I.KeybindActions.TOGGLE_MUTE]=E.TOGGLE_MUTE,a[I.KeybindActions.TOGGLE_DEAFEN]=E.TOGGLE_DEAFEN,a[I.KeybindActions.TOGGLE_CATEGORY_COLLAPSED]=g.TOGGLE_CATEGORY_COLLAPSED,a[I.KeybindActions.SCROLL_UP]=v.SCROLL_UP,a[I.KeybindActions.SCROLL_DOWN]=v.SCROLL_DOWN,a[I.KeybindActions.SEARCH_EMOJIS]=y.SEARCH_EMOJIS,a[I.KeybindActions.TOGGLE_HOTKEYS]=S.TOGGLE_HOTKEYS,a[I.KeybindActions.JUMP_TO_FIRST_UNREAD]=f.JUMP_TO_FIRST_UNREAD,a[I.KeybindActions.RETURN_TO_AUDIO_CHANNEL]=p.RETURN_TO_AUDIO_CHANNEL,a[I.KeybindActions.CALL_ACCEPT]=i.CALL_ACCEPT,a[I.KeybindActions.CALL_START]=i.CALL_START,a[I.KeybindActions.QUICKSWITCHER_SHOW]=c.QUICKSWITCHER_SHOW,a);t.OVERLAY_LAYOUT=b;var M=((o={})[I.KeybindActions.QUICKSWITCHER_SHOW]=c.QUICKSWITCHER_SHOW,o);t.OVERLAY_LOCKED_LAYOUT=M;var N=b;t.default=N},,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=f(n(2)),o=f(n(9262)),i=f(n(218)),l=f(n(216)),u=n(41),s=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y="ActivityInviteManager",m=function(){a.default.dirtyDispatch({type:s.ActionTypes.ACTIVITY_INVITE_MODAL_CLOSE})},_=new(function(e){var t,n;function l(){return e.apply(this,arguments)||this}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var f=l.prototype;return f._initialize=function(){a.default.subscribe(s.ActionTypes.ACTIVITY_INVITE_MODAL_OPEN,this.handleModalOpen),a.default.subscribe(s.ActionTypes.ACTIVITY_INVITE_MODAL_CLOSE,this.handleModalClose)},f._terminate=function(){a.default.unsubscribe(s.ActionTypes.ACTIVITY_INVITE_MODAL_OPEN,this.handleModalOpen),a.default.unsubscribe(s.ActionTypes.ACTIVITY_INVITE_MODAL_CLOSE,this.handleModalClose)},f.handleModalOpen=function(e){var t=e.activity;e.isPrivate?(0,u.openModal)((function(e){return r.createElement(i.default,p({title:d.default.Messages.ACTIVITY_INVITE_MODAL_HEADER.format({name:t.name}),body:d.default.Messages.ACTIVITY_INVITE_PRIVATE,confirmText:d.default.Messages.OKAY},e))}),{onCloseCallback:m,modalKey:y}):(0,u.openModal)((function(e){return r.createElement(o.default,e)}),{onCloseCallback:m,modalKey:y})},f.handleModalClose=function(e){(0,u.closeModal)(y)},l}(l.default));t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=w;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=M();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=b(n(9)),i=n(3),l=n(8787),u=b(n(8297)),s=n(714),d=n(5937),f=b(n(8489)),c=b(n(180)),p=b(n(9263)),v=b(n(29)),y=b(n(159)),m=b(n(8307)),_=b(n(8374)),h=b(n(8490)),E=n(35),g=b(n(279)),S=n(121),O=n(1),I=b(n(6)),T=b(n(7412)),C=b(n(370));function b(e){return e&&e.__esModule?e:{default:e}}function M(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return M=function(){return e},e}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var P=function(e){var t=e.channel,n=e.categoryName,r=e.guildName,a=m.default;return(0,f.default)(t)?a=_.default:t.isNSFW()&&(a=h.default),A("div",{className:T.default.result},void 0,A(a,{className:T.default.resultIcon,background:T.default.resultIconBackground,width:16,height:16}),A("div",{className:T.default.resultText},void 0,A("span",{},void 0,t.name),A("span",{className:T.default.resultCategoryName},void 0,n)),A("div",{className:T.default.resultGuildName},void 0,r))};P.displayName="ResultTextChannel";var R=function(e){var t=e.channel,n=(0,c.default)(t);return A("div",{className:T.default.result},void 0,A(g.default,{src:(0,d.getChannelIconURL)(t),"aria-label":null!=n?n:"",className:T.default.resultAvatar,size:g.default.Sizes.SIZE_32}),A("div",{className:T.default.resultText},void 0,n))};R.displayName="ResultGroupDM";var L=function(e){var t,n=e.user,r=e.comparator,a=e.status;if(null!=r&&r===n.tag){var o=r.split("#");o.pop(),t=o.join("#")}else t=r||n.username;return A("div",{className:T.default.result},void 0,A(g.default,{src:n.getAvatarURL(void 0),"aria-label":n.username,className:T.default.resultAvatar,size:g.default.Sizes.SIZE_32,status:a}),A("div",{className:T.default.resultText},void 0,A("span",{},void 0,t),A("span",{className:T.default.resultUsername},void 0,n.tag)))};L.displayName="ResultUser";var D=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(){var e=t.props;(0,e.onInvite)(e.row)},t.handleMouseEnter=function(){var e=t.props;(0,e.onMouseEnter)(e.row)},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,N(t,n),r.prototype.render=function(){var e,t,n,r=this.props,a=r.result,i=r.selected,l=r.sending;switch(a.type){case s.AutocompleterResultTypes.GROUP_DM:t=A(R,{channel:a.data.record});break;case s.AutocompleterResultTypes.TEXT_CHANNEL:var u=a.categoryName,d=a.guildName;t=A(P,{channel:a.data.record,categoryName:u,guildName:d});break;case s.AutocompleterResultTypes.USER:var f=a.data,c=f.comparator,p=f.record,y=a.status;t=A(L,{comparator:c,user:p,status:y})}return n=a.sent?A(v.default,{className:T.default.inviteButton,look:v.default.Looks.LINK,size:v.default.Sizes.SMALL,disabled:!0,color:v.default.Colors.GREY},void 0,I.default.Messages.ACTIVITY_INVITE_MODAL_SENT):A(v.default,{color:v.default.Colors.GREEN,look:i?v.default.Looks.FILLED:v.default.Looks.OUTLINED,className:T.default.inviteButton,size:v.default.Sizes.SMALL,submitting:l,onClick:this.handleClick},void 0,I.default.Messages.ACTIVITY_INVITE_MODAL_INVITE),A("div",{className:(0,o.default)(T.default.resultWrapper,(e={},e[T.default.resultWrapperSelected]=i,e)),onMouseEnter:this.handleMouseEnter},void 0,t,n)},r}(a.Component);function w(e){var t=e.transitionState,n=e.onClose,r=e.renderFooter,o=(0,i.useStateFromStoresObject)([p.default],(function(){return{results:p.default.getResults(),query:p.default.getQuery(),activity:p.default.getActivity()}}),[]),d=o.results,f=o.query,c=o.activity,v=a.useState(f),m=v[0],_=v[1],h=a.useState(0),g=h[0],b=h[1],M=a.useState([]),N=M[0],P=M[1],R=a.useRef(null),L=a.useCallback((function(){var e;null===(e=R.current)||void 0===e||e.scrollPageUp({animate:!0})}),[R]),w=a.useCallback((function(){var e;null===(e=R.current)||void 0===e||e.scrollPageDown({animate:!0})}),[R]);a.useEffect((function(){return S.ComponentDispatch.subscribe(O.ComponentActions.SCROLL_PAGE_UP,L),function(){S.ComponentDispatch.unsubscribe(O.ComponentActions.SCROLL_PAGE_UP,L)}}),[L]),a.useEffect((function(){return S.ComponentDispatch.subscribe(O.ComponentActions.SCROLL_PAGE_DOWN,w),function(){S.ComponentDispatch.unsubscribe(O.ComponentActions.SCROLL_PAGE_DOWN,w)}}),[w]),a.useEffect((function(){c||n()}),[n,c]);var j=a.useCallback((function(e){var t=d[e],n=t.data,r=t.data.record.id;if(null!=r&&!N.includes(r))switch(P([].concat(N,[r])),n.type){case s.AutocompleterResultTypes.GROUP_DM:case s.AutocompleterResultTypes.TEXT_CHANNEL:(0,l.inviteChannel)(n.record.id);break;case s.AutocompleterResultTypes.USER:(0,l.inviteUser)(n.record.id)}}),[d,N]),k=a.useCallback((function(e){b(e)}),[b]),U=function(){b(0),_(""),(0,l.updateQuery)(m)};return c?A(E.ModalRoot,{transitionState:t,size:E.ModalSize.SMALL,"aria-label":I.default.Messages.ACTIVITY_INVITE_MODAL_HEADER.format({name:c.name})},void 0,A(E.ModalHeader,{},void 0,A(E.ModalCloseButton,{className:T.default.closeButton,onClick:n}),A("div",{className:T.default.header},void 0,A(y.default,{tag:y.default.Tags.H2,className:C.default.marginBottom8},void 0,I.default.Messages.ACTIVITY_INVITE_MODAL_HEADER.format({name:c.name})),A(u.default,{size:u.default.Sizes.MEDIUM,query:m,selectedSection:0,selectedRow:g,sections:[d.length],className:C.default.marginTop4,onSelect:function(e,t){null==t?U():j(t)},onSelectionChange:function(e,t){var n;b(t),null===(n=R.current)||void 0===n||n.scrollIntoViewRect({start:44*t,end:44*t+44})},onQueryChange:function(e){b(0),_(e),(0,l.updateQuery)(e)},placeholder:I.default.Messages.ACTIVITY_INVITE_MODAL_SEARCH_PLACEHOLDER,autoFocus:!0,onClear:U}))),A(E.ModalContent,{},void 0,0===d.length?A("div",{className:T.default.noResults}):A(E.ModalListContent,{scrollerRef:R,className:T.default.results,paddingBottom:14,sections:[d.length],sectionHeight:0,renderSection:O.NOOP_NULL,rowHeight:function(e,t){return e>0?0:d[t]?44:0},renderRow:function(e){var t=e.section,n=e.row;if(t>0)return null;var r=d[n];return null==r?null:A(D,{row:n,result:r,sending:null!=r.data.record.id&&N.includes(r.data.record.id),selected:n===g,onMouseEnter:k,onInvite:j},r.data.record.id)}}),r&&r())):null}D.displayName="Result",w.displayName="ActivityInviteModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_(n(3)),a=_(n(2)),o=_(n(1234)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(714)),l=n(180),u=_(n(10)),s=_(n(15)),d=_(n(1255)),f=_(n(256)),c=_(n(70)),p=_(n(12)),v=_(n(699)),y=n(1);function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e){return e&&e.__esModule?e:{default:e}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(){return(E=Object.assign||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}).apply(this,arguments)}var g,S=[i.AutocompleterResultTypes.TEXT_CHANNEL,i.AutocompleterResultTypes.GROUP_DM,i.AutocompleterResultTypes.USER],O=null,I=null,T=[],C=[];function b(e){T=[].concat(T,[e]),C=C.map((function(e){return E({},e,{sent:T.includes(e.data.record.id)})})),P.emitChange()}function M(e,t){C=(""===t.trim()?function(){var e=[];return v.default.getPrivateChannelIds().forEach((function(t){var n=u.default.getChannel(t);if(null!=n)if(n.type===y.ChannelTypes.DM){var r=n.getRecipientId(),a=null!=r?p.default.getUser(r):null;null!=a&&e.push({type:i.AutocompleterResultTypes.USER,record:a,score:0})}else n.isMultiUserDM()&&e.push({type:i.AutocompleterResultTypes.GROUP_DM,record:n,score:0})})),e}():e).map((function(e){switch(e.type){case i.AutocompleterResultTypes.USER:var t=e.record;return{type:i.AutocompleterResultTypes.USER,sent:T.includes(t.id),status:f.default.getStatus(t.id),data:e};case i.AutocompleterResultTypes.TEXT_CHANNEL:var n=e.record,r=u.default.getChannel(n.parent_id),a=s.default.getGuild(n.guild_id);return{type:i.AutocompleterResultTypes.TEXT_CHANNEL,sent:T.includes(n.id),categoryName:null!=r?(0,l.computeChannelName)(r,p.default,c.default):"",guildName:null!=a?a.toString():"",data:e};case i.AutocompleterResultTypes.GROUP_DM:var o=e.record;return{type:i.AutocompleterResultTypes.GROUP_DM,sent:T.includes(o.id),data:e};default:throw new Error("Unknown Result Type: "+e.type)}})),P.emitChange()}function N(){O=null,null!=g&&(g.destroy(),g=null),null!=I&&I()}function A(){var e=null!=O&&null!=O.application_id?d.default.getApplicationActivity(O.application_id):null;if(null!=O&&(null==e||null==e.party||null==e.party.id))return N()}var P=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(d.default)},a.getActivity=function(){return O},a.getQuery=function(){var e;return(null===(e=g)||void 0===e?void 0:e.query)||""},a.getResults=function(){return C},r}(r.default.Store))(a.default,{ACTIVITY_INVITE_MODAL_OPEN:function(e){O=e.activity,I=e.resolve,T=[],null==g&&(g=new i.default((function(e,t){return M(e,t)}),S,100)),g.search("")},ACTIVITY_INVITE_MODAL_QUERY:function(e){var t=e.query;null!=g&&g.search(t)},ACTIVITY_INVITE_MODAL_SEND:function(e){if(null!=O){var t=e.channelId,n=e.userId;null!=t?o.default.sendActivityInvite({channelId:t,type:y.ActivityActionTypes.JOIN,activity:O,location:"Channel Text Area - Invite to Join Modal"}).then((function(){return b(t)})):null!=n&&o.default.sendActivityInviteUser({userId:n,type:y.ActivityActionTypes.JOIN,activity:O,location:"Channel Text Area - Invite to Join Modal"}).then((function(){return b(n)}))}},ACTIVITY_INVITE_MODAL_CLOSE:function(e){return N()},OVERLAY_SET_INPUT_LOCKED:function(e){return!(!e.locked||null==O)&&(N(),!0)},LOCAL_ACTIVITY_UPDATE:function(e){return A()},RPC_APP_DISCONNECTED:function(e){return A()}}),R=P;t.default=R},function(e,t,n){e.exports=n.p+"c83861b2303b7ee40c419e9590d57f11.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=n(95),o=n(275),i=(r=n(482))&&r.__esModule?r:{default:r},l=n(1);function u(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){u(o,r,a,i,l,"next",e)}function l(e){u(o,r,a,i,l,"throw",e)}i(void 0)}))}}function d(){return(d=s(regeneratorRuntime.mark((function e(t,n,r,u){var s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,i.default.post({url:l.Endpoints.GUILDS,body:{name:t,icon:n,channels:r.channels,system_channel_id:r.system_channel_id,roles:r.roles,guild_template_code:r.code},trackedActionData:{event:a.NetworkActionNames.GUILD_CREATE,metadata:{template_name:r.id,is_community_intent:u}}});case 3:return s=e.sent,e.abrupt("return",s.body);case 7:throw e.prev=7,e.t0=e.catch(0),new o.APIError(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})))).apply(this,arguments)}var f={createGuildFromTemplate:function(e,t,n,r){return d.apply(this,arguments)}};t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2020-09_guild_template_reorder",label:"Reorder guild templates for school use cases",defaultConfig:{reorderTemplates:!1},treatments:[{id:1,label:"Reorder templates to prioritize school-related templates",config:{reorderTemplates:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GUILD_TEMPLATE_ICONS=void 0;var r=d(n(8718)),a=d(n(9091)),o=d(n(9092)),i=d(n(9093)),l=d(n(9094)),u=d(n(8719)),s=d(n(9095));function d(e){return e&&e.__esModule?e:{default:e}}var f={CREATE:o.default,GAMING:l.default,FRIENDS:i.default,STUDY:s.default,CLUBS:a.default,CREATORS:r.default,LOCAL_COMMUNITY:u.default,SCHOOL_CLUB:a.default};t.GUILD_TEMPLATE_ICONS=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=N;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=S(n(9)),i=S(n(1211)),l=S(n(195)),u=S(n(29)),s=S(n(61)),d=S(n(55)),f=S(n(153)),c=n(85),p=n(131),v=n(35),y=S(n(47)),m=S(n(24)),_=n(8491),h=n(1),E=S(n(6)),g=S(n(7421));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var T,C,b=(T=window.GLOBAL_ENV.INVITE_HOST,C="",null==T&&(T=location.host,C=h.Routes.INVITE("")),location.protocol+"//"+T+C+"/"),M=["hTKzmak",b+"hTKzmak",b+"cool-people"];function N(e){var t,n=e.onBack,r=e.onClose,h=e.isSlideReady,S=(0,c.useUID)(),O=a.useState(""),T=O[0],C=O[1],N=a.useState(!1),A=N[0],P=N[1],R=a.useState(null),L=R[0],D=R[1],w=a.useRef(null);a.useEffect((function(){var e;h&&(null===(e=w.current)||void 0===e||e.focus())}),[h]);var j=function(e){e.preventDefault();var t=T.trim();if(""!==t){D(null),P(!0);var n=t.split("/"),a=n[n.length-1];i.default.resolveInvite(a,"Join Guild",{inputValue:t}).then((function(e){var t=e.invite;if(P(!1),null!=t){if(null!=t.channel){var n=i.default.getInviteContext("Join Guild",t);i.default.acceptInvite(t.code,n,(function(e){r(),i.default.transitionToInvite(e)})).catch((function(e){if(e instanceof l.default){var t=(0,_.getInviteError)(e.code);D(t)}else D(E.default.Messages.INVITE_MODAL_ERROR_DEFAULT)}))}}else D(E.default.Messages.INSTANT_INVITE_EXPIRED)}),(function(e){P(!1);var t=new l.default(e),n=(0,_.getInviteError)(t.code);D(n)}))}else D(E.default.Messages.INVALID_INVITE_LINK_ERROR)};return I("div",{},void 0,I(v.ModalHeader,{className:g.default.header,direction:d.default.Direction.VERTICAL,separator:!1,id:S},void 0,I(y.default,{className:g.default.title,size:y.default.Sizes.SIZE_24},void 0,E.default.Messages.JOIN_SERVER_TITLE),I(m.default,{color:m.default.Colors.HEADER_SECONDARY},void 0,E.default.Messages.JOIN_SERVER_DESCRIPTION_NUF),I(v.ModalCloseButton,{className:g.default.closeButton,onClick:r})),I(v.ModalContent,{className:g.default.content},void 0,I("form",{onSubmit:j,className:g.default.inputForm},void 0,I(p.FormItem,{title:E.default.Messages.FORM_LABEL_INVITE_LINK,error:L,titleClassName:(0,o.default)(g.default.formTitle,(t={},t[g.default.error]=null!=L,t)),required:!0},void 0,I(f.default,{value:T,onChange:C,className:g.default.input,inputClassName:g.default.inputInner,placeholder:b+"hTKzmak",inputRef:w}))),I(p.FormItem,{title:E.default.Messages.JOIN_SERVER_INVITE_EXAMPLES_HEADER,titleClassName:g.default.formTitle,className:g.default.examplesForm},void 0,M.map((function(e){return I(s.default,{className:g.default.sampleLink,onClick:function(){return C(e)}},e,e)})))),I(v.ModalFooter,{className:g.default.footer},void 0,I(u.default,{color:u.default.Colors.BRAND,submitting:A,onClick:j},void 0,E.default.Messages.NUF_JOIN_SERVER_BUTTON),I(u.default,{color:u.default.Colors.PRIMARY,look:u.default.Looks.LINK,size:u.default.Sizes.MIN,onClick:n},void 0,E.default.Messages.BACK)))}N.displayName="JoinGuildSlide"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=D;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=C(n(9)),i=C(n(8)),l=C(n(1296)),u=C(n(8551)),s=C(n(1259)),d=C(n(29)),f=C(n(9096)),c=C(n(61)),p=C(n(55)),v=C(n(8272)),y=n(85),m=n(131),_=C(n(1336)),h=n(35),E=C(n(24)),g=C(n(93)),S=n(9097),O=n(8795),I=C(n(6)),T=C(n(7396));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var N=[{className:T.default.emojiSad,rating:O.FeedbackRating.BAD},{className:T.default.emojiNeutral,rating:O.FeedbackRating.NEUTRAL},{className:T.default.emojiHappy,rating:O.FeedbackRating.GOOD}];function A(e){var t=e.selectedRating,n=e.onChangeRating;return M(p.default,{justify:p.default.Justify.BETWEEN,align:p.default.Align.CENTER,className:T.default.emojis},void 0,N.map((function(e){var r=e.rating,a=e.className;return M(c.default,{onClick:function(){return n(r)},"aria-label":r},r,M("div",{className:(0,o.default)(a,t===r?T.default.selected:null)}))})))}function P(){return M(E.default,{className:T.default.helpdeskLink,size:E.default.Sizes.SIZE_12,color:E.default.Colors.MUTED},void 0,I.default.Messages.FEEDBACK_NEED_MORE_HELP.format({helpdeskURL:g.default.getSubmitRequestURL()}))}A.displayName="RatingsSelector",P.displayName="HelpdeskLink";var R=M(u.default,{}),L=M(P,{});function D(e){var t=e.header,n=e.body,r=e.problemTitle,o=e.problems,u=e.transitionState,c=e.feedbackProblems,g=void 0===c?[]:c,C=e.otherKey,b=e.onSubmit,N=e.onClose,P=(0,s.default)(o),D=a.useState(!1),w=D[0],j=D[1],k=a.useState(null),U=k[0],G=k[1],F=a.useState(null),B=F[0],H=F[1],x=a.useState(i.default.shuffle(o)),V=x[0],W=x[1],Y=a.useState(""),z=Y[0],K=Y[1],$=(0,y.useUID)(),Z=(0,_.default)(U),q=(0,_.default)(w),X=(0,_.default)(B),J=(0,_.default)(b),Q=(0,_.default)(z),ee=null!=B&&g.includes(B);return a.useEffect((function(){i.default.isEqual(P,o)||W((0,S.shuffleProblems)(o,C))}),[o,P,C]),a.useEffect((function(){return function(){J.current({rating:Z.current,problem:X.current,dontShowAgain:q.current,feedback:Q.current})}}),[]),M(h.ModalRoot,{transitionState:u,className:T.default.modalRoot,"aria-labelledby":$},void 0,R,M(h.ModalHeader,{separator:!1,className:T.default.headerContainer},void 0,M(E.default,{id:$,className:T.default.header,color:E.default.Colors.CUSTOM,size:E.default.Sizes.SIZE_24},void 0,t),M(E.default,{size:E.default.Sizes.SIZE_16,color:E.default.Colors.CUSTOM,className:T.default.ratingBody},void 0,n),ee?null:M(A,{selectedRating:U,onChangeRating:function(e){G(e),e===O.FeedbackRating.GOOD&&N()}})),M(h.ModalContent,{className:T.default.content},void 0,null==U||U===O.FeedbackRating.GOOD||ee?null:M(m.FormItem,{title:r,className:T.default.problemInfo},void 0,M(f.default,{options:V,onClick:function(e){var t=e.value;H(t),g.includes(t)||N()}})),ee?M(m.FormItem,{title:I.default.Messages.FEEDBACK_DESCRIBE_ISSUE,className:T.default.problemInfo},void 0,M(v.default,{value:z,maxLength:O.FEEDBACK_FREEFORM_LENGTH,onChange:K}),L):null),M(h.ModalFooter,{className:T.default.footer,direction:p.default.Direction.HORIZONTAL},void 0,ee?a.createElement(a.Fragment,null,M(d.default,{size:d.default.Sizes.SMALL,look:d.default.Looks.LINK,color:d.default.Colors.PRIMARY,onClick:function(){H(null),K("")}},void 0,I.default.Messages.BACK),M(d.default,{size:d.default.Sizes.SMALL,onClick:N},void 0,I.default.Messages.SUBMIT)):M(l.default,{checked:w,onChange:function(){return j(!w)}},void 0,M(E.default,{},void 0,I.default.Messages.DONT_SHOW_AGAIN))))}D.displayName="FeedbackModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(9)),i=y(n(8)),l=y(n(8721)),u=y(n(29)),s=y(n(47)),d=y(n(24)),f=n(8494),c=y(n(9271)),p=y(n(6)),v=y(n(7425));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=function(e){var t=e.setStep,n=e.email,r=e.onClose;a.useEffect((function(){return c.default.initialize(r),function(){c.default.terminate()}}),[r]);var y=i.default.throttle((function(){l.default.sendVerificationEmail(n)}),1e3);return _("div",{className:v.default.container},void 0,_("div",{className:v.default.topImage}),_(s.default,{className:(0,o.default)(v.default.centerText,v.default.header),size:d.default.Sizes.SIZE_24},void 0,p.default.Messages.HUB_EMAIL_CONFIRMATION_HEADER.format({email:n})),_("div",{className:v.default.descriptionWidth},void 0,_(d.default,{className:v.default.centerText,size:d.default.Sizes.SIZE_14,color:d.default.Colors.HEADER_SECONDARY},void 0,p.default.Messages.HUB_EMAIL_CONFIRMATION_DESCRIPTION)),_(u.default,{onClick:y,look:u.default.Looks.LINK,size:u.default.Sizes.SMALL,color:u.default.Colors.LINK},void 0,p.default.Messages.HUB_EMAIL_CONFIRMATION_RESEND),_(u.default,{look:u.default.Looks.LINK,size:u.default.Sizes.SMALL,color:u.default.Colors.LINK,onClick:function(){t(f.HubEmailConnectionSteps.VERIFY_EMAIL)},className:v.default.resendLink},void 0,p.default.Messages.HUB_EMAIL_CONFIRMATION_DIFFERENT_EMAIL))};h.displayName="HubEmailConnectionConfirmation";var E=h;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(2)),a=l(n(216)),o=n(42),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=new(function(e){var t,n;function a(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleGuildCreate=function(e){var n,r,a,l=e.guild;null!=l&&(null===(n=l.features)||void 0===n?void 0:n.includes(i.GuildFeatures.HUB))&&(null===(r=(a=t).onClose)||void 0===r||r.call(a),(0,o.transitionTo)(i.Routes.CHANNEL(l.id)))},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var l=a.prototype;return l._initialize=function(e){this.onClose=e,r.default.subscribe(i.ActionTypes.GUILD_CREATE,this.handleGuildCreate)},l._terminate=function(){r.default.unsubscribe(i.ActionTypes.GUILD_CREATE,this.handleGuildCreate)},a}(a.default));t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(9)),i=m(n(8721)),l=n(275),u=m(n(29)),s=m(n(153)),d=n(131),f=m(n(47)),c=m(n(24)),p=n(8494),v=m(n(6)),y=m(n(7362));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}var g=function(e){var t=e.setStep,n=e.email,r=e.setEmail,m=e.invite,_=a.useState(null),g=_[0],S=_[1],O=function(){var e,r=(e=regeneratorRuntime.mark((function e(r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.preventDefault(),S(null),e.prev=2,e.next=5,i.default.sendVerificationEmail(n);case 5:if(!e.sent.has_matching_guild){e.next=11;break}t(p.HubEmailConnectionSteps.EMAIL_CONFIRMATION),e.next=15;break;case 11:return e.next=13,i.default.signup(n);case 13:e.sent&&t(p.HubEmailConnectionSteps.EMAIL_WAITLIST);case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(2),S(new l.APIError(e.t0));case 20:case"end":return e.stop()}}),e,null,[[2,17]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){E(o,r,a,i,l,"next",e)}function l(e){E(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(e){return r.apply(this,arguments)}}(),I=v.default.Messages.HUB_EMAIL_CONNECTION_CONTENT_HEADER;if(null!=(null==m?void 0:m.guild)){var T=m.guild.name;I=v.default.Messages.HUB_EMAIL_CONNECTION_INVITE_HEADER.format({guildName:T,count:m.approximate_member_count||0})}return h("div",{className:y.default.container},void 0,h("div",{className:y.default.topImage}),h(f.default,{className:(0,o.default)(y.default.centerText,y.default.header),size:c.default.Sizes.SIZE_24},void 0,I),h("div",{className:y.default.descriptionWidth},void 0,h(c.default,{className:y.default.centerText,size:c.default.Sizes.SIZE_14,color:c.default.Colors.HEADER_SECONDARY},void 0,v.default.Messages.HUB_EMAIL_CONNECTION_CONTENT_DESCRIPTION)),h("form",{className:y.default.formContent,onSubmit:O},void 0,h(d.FormItem,{title:v.default.Messages.HUB_EMAIL_CONNECTION_CONTENT_INPUT_HEADER},void 0,h(s.default,{placeholder:v.default.Messages.HUB_EMAIL_CONNECTION_CONTENT_INPUT_PLACEHOLDER,onChange:function(e){r(e)},error:null==g?void 0:g.getAnyErrorMessage()})),h(c.default,{color:c.default.Colors.HEADER_SECONDARY,className:y.default.formDescription,size:c.default.Sizes.SIZE_14},void 0,v.default.Messages.HUB_EMAIL_CONNECTION_CONTENT_INPUT_DESCRIPTION),h(u.default,{type:"submit",size:u.default.Sizes.LARGE,color:u.default.Colors.BRAND,className:y.default.submitButton},void 0,h(c.default,{className:y.default.submitText,size:c.default.Sizes.SIZE_14},void 0,v.default.Messages.HUB_EMAIL_CONNECTION_CONTENT_BUTTON))))};g.displayName="HubEmailConnectionContent";var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=f(n(9)),o=f(n(29)),i=f(n(47)),l=f(n(24)),u=n(8494),s=f(n(6)),d=f(n(7362));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=function(e){var t=e.setStep;return p("div",{className:d.default.container},void 0,p("div",{className:d.default.topImage}),p(i.default,{className:(0,a.default)(d.default.centerText,d.default.header),size:l.default.Sizes.SIZE_24},void 0,s.default.Messages.HUB_WAITLIST_MODAL_JOINED_HEADER),p(o.default,{look:o.default.Looks.LINK,size:o.default.Sizes.SMALL,color:o.default.Colors.LINK,onClick:function(){t(u.HubEmailConnectionSteps.VERIFY_EMAIL)},className:d.default.resendLink},void 0,s.default.Messages.HUB_EMAIL_CONFIRMATION_DIFFERENT_EMAIL))};v.displayName="HubEmailConnectionWaitlist";var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(54),a=_(n(2)),o=_(n(154)),i=_(n(390)),l=n(1362),u=_(n(762)),s=_(n(10)),d=_(n(709)),f=_(n(715)),c=_(n(15)),p=_(n(36)),v=_(n(1263)),y=n(1),m=_(n(6));function _(e){return e&&e.__esModule?e:{default:e}}function h(e){var t=e.guildId,n=e.channelId,r=e.messageId,a=e.forceFetch,o=e.isPreload,p=e.jumpType;if(null!=n){var v=s.default.getChannel(n);if(null==v||v.type!==y.ChannelTypes.GUILD_STORE){var m=u.default.getOrCreate(n);m.jumpTargetId&&null==r&&(m=m.mutate({jumpTargetId:null,jumped:!1,jumpType:l.JumpTypes.ANIMATED}),u.default.commit(m));var _=a;if(!o||d.default.isConnected()||m.loadingMore)if(!d.default.isConnectedOrOverlay()||m.loadingMore||m.ready&&!m.cached){if(d.default.isConnectedOrOverlay()&&r)_=!0;else if(!_&&f.default.isAtBottom(n))return void u.default.commit(m.truncateTop(y.MAX_MESSAGES_PER_CHANNEL))}else(null==t||c.default.getGuild(t))&&(_=!0,u.default.commit(m.mutate({loadingMore:!0})));else _=!0,u.default.commit(m.mutate({loadingMore:!0}));_&&(o=o&&!d.default.isConnected(),r?i.default.jumpToMessage({channelId:n,messageId:r,flash:!0,isPreload:o,jumpType:p}):i.default.fetchMessages({channelId:n,limit:y.MAX_MESSAGES_PER_CHANNEL,isPreload:o}))}}}function E(){var e=p.default.getChannelId();if(null!=e){var t=s.default.getChannel(e);if(null!=t){var n,a=(0,r.matchPath)(location.pathname,{path:y.Routes.CHANNEL(":guild",":channel",":message"),exact:!0});h({guildId:t.getGuildId(),channelId:t.id,messageId:null==a||null===(n=a.params)||void 0===n?void 0:n.message})}}}function g(e){e.guild}function S(e){h({guildId:e.guildId,channelId:e.channelId,messageId:e.messageId,jumpType:e.jumpType})}function O(e){var t=e.guildId,n=e.channelId;e.context===y.CURRENT_APP_CONTEXT&&h({guildId:t,channelId:n})}function I(e){var t=e.channel,n=t.guild_id;null!=n&&p.default.getChannelId(n)===t.id&&h({guildId:n,channelId:t.id})}function T(e){var t=e.channelId;i.default.fetchMessages({channelId:t,limit:y.MAX_MESSAGES_PER_CHANNEL})}function C(e){var t=e.response;if(null==t||null==t.body)return null;if(t.body.code===y.AbortCodes.CHANNEL_FOLLOWING_EDIT_RATE_LIMITED){var n=t.body.retry_after;null!=n&&o.default.show({title:m.default.Messages.RATE_LIMITED,body:m.default.Messages.ANNOUNCEMENT_EDIT_RATE_LIMIT.format({retryAfterMinutes:Math.ceil(n/60)})})}}var b={};function M(e){var t=e.channelId,n=e.jump,r=e.isStale,a=b[t]||0;Date.now()-a<1e4||(b[t]=Date.now(),r&&d.default.isConnected()&&i.default.fetchMessages({channelId:t,limit:y.MAX_MESSAGES_PER_CHANNEL,jump:n}))}function N(e){var t=e.channelId,n=e.messageRecord;if(null!=n){var r=(0,v.default)(t,n.content,!0);r.id=n.id,r.nonce=n.nonce,a.default.dispatch({type:y.ActionTypes.MESSAGE_CREATE,channelId:t,message:r,isPushNotification:!1,optimistic:!0}),a.default.dispatch({type:y.ActionTypes.MESSAGE_SEND_FAILED,channelId:t,messageId:r.id})}}var A={fetchMessages:h,init:function(){a.default.subscribe(y.ActionTypes.CONNECTION_OPEN,E),a.default.subscribe(y.ActionTypes.OVERLAY_INITIALIZE,E),a.default.subscribe(y.ActionTypes.CHANNEL_SELECT,S),a.default.subscribe(y.ActionTypes.THREAD_CREATE,I),a.default.subscribe(y.ActionTypes.CHANNEL_CREATE,I),a.default.subscribe(y.ActionTypes.CHANNEL_PRELOAD,O),a.default.subscribe(y.ActionTypes.THREAD_CREATE_LOCAL,T),a.default.subscribe(y.ActionTypes.GUILD_CREATE,g),a.default.subscribe(y.ActionTypes.MESSAGE_END_EDIT,C),a.default.subscribe(y.ActionTypes.LOAD_MESSAGES_SUCCESS,M),a.default.subscribe(y.ActionTypes.UPLOAD_FAIL,N)}};t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessageCustomEmoji=t.MessageStandardEmoji=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(5938)),i=p(n(9276)),l=p(n(61)),u=p(n(278)),s=p(n(149)),d=n(8591),f=n(8308),c=p(n(7440));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(){return(m=Object.assign||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}).apply(this,arguments)}var _=function(e){var t=e.node,n=e.tooltipPosition,r=void 0===n?f.EXPRESSION_TOOLTIP_PROPS.position:n;i.default.trackExposure({});var p=i.default.useExperiment({})[0].popoutEnabled,v=function(e){return a.createElement(o.default,m({},e,{emojiName:t.name,jumboable:t.jumboable,src:t.src,animated:!1}))};if(!p)return a.createElement(s.default,m({text:t.name},f.EXPRESSION_TOOLTIP_PROPS,{position:r}),(function(e){return v(e)}));return y(u.default,{animation:u.default.Animation.TRANSLATE,align:u.default.Align.CENTER,autoInvert:!0,nudgeAlignIntoViewport:!0,position:u.default.Positions.RIGHT,renderPopout:function(e){return a.createElement(d.MessageStandardEmojiPopout,m({},e,{node:t}))}},void 0,(function(e){var n=e.onClick;return a.createElement(s.default,m({text:(0,f.renderClickableTooltipNode)(t.name),"aria-label":t.name},f.EXPRESSION_TOOLTIP_PROPS,{position:r}),(function(e){return y(l.default,{tag:"span",className:c.default.emojiContainer,onClick:n},void 0,v(e))}))}))};t.MessageStandardEmoji=_,_.displayName="MessageStandardEmoji";var h=function(e){var t=e.node,n=e.isInteracting,r=e.tooltipPosition,p=void 0===r?f.EXPRESSION_TOOLTIP_PROPS.position:r;i.default.trackExposure({});var v=a.useState(String(Date.now())),_=v[0],h=v[1],E=i.default.useExperiment({})[0].popoutEnabled,g=function(e){return a.createElement(o.default,m({},e,{emojiName:t.name,jumboable:t.jumboable,emojiId:t.emojiId,animated:t.animated,isInteracting:n}))};if(!E)return a.createElement(s.default,m({text:t.name},f.EXPRESSION_TOOLTIP_PROPS,{position:p}),(function(e){return g(e)}));return y(u.default,{animation:u.default.Animation.TRANSLATE,align:u.default.Align.CENTER,autoInvert:!0,nudgeAlignIntoViewport:!0,position:u.default.Positions.RIGHT,renderPopout:function(e){return a.createElement(d.MessageCustomEmojiPopout,m({},e,{node:t,refreshPositionKey:function(){return h(String(Date.now()))}}))},positionKey:_},void 0,(function(e){var n=e.onClick;return a.createElement(s.default,m({text:(0,f.renderClickableTooltipNode)(t.name),"aria-label":t.name},f.EXPRESSION_TOOLTIP_PROPS,{position:p}),(function(e){return y(l.default,{tag:"span",className:c.default.emojiContainer,onClick:n},void 0,g(e))}))}))};t.MessageCustomEmoji=h,h.displayName="MessageCustomEmoji"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2020-06_emoji_upsell_popout",label:"Emoji Upsell Popout",defaultConfig:{popoutEnabled:!1},treatments:[{id:1,label:"Popout enabled",config:{popoutEnabled:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDiscoverableGuildType=void 0;var r,a=(r=n(162))&&r.__esModule?r:{default:r};t.isDiscoverableGuildType=function(e){return!(e instanceof a.default)&&null!=e.presenceCount}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(14))&&r.__esModule?r:{default:r},o=n(701),i=n(1);var l=function(e){return a.default.get({url:i.Endpoints.EMOJI_GUILD_DATA(e),oldFormErrors:!0}).then((function(e){return null!=(null==e?void 0:e.body)?(0,o.makeDiscoverableGuild)(e.body):null})).catch((function(){return null}))};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=c(n(161)),o=c(n(9280)),i=c(n(8337)),l=n(35),u=n(41),s=n(1239),d=c(n(6)),f=c(n(7432));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=function(e){var t,n;function c(){for(var t,n=arguments.length,i=new Array(n),c=0;c<n;c++)i[c]=arguments[c];return(t=e.call.apply(e,[this].concat(i))||this)._isListeningToWindow=!1,t.state={isWindowFocused:a.default.isFocused()},t.addWindowListeners=function(){t._isListeningToWindow=!0,a.default.addChangeListener(t.onChangeWindowStore),t.onChangeWindowStore()},t.removeWindowListeners=function(){t._isListeningToWindow=!1,a.default.removeChangeListener(t.onChangeWindowStore)},t.onChangeWindowStore=function(){var e=a.default.isFocused();e!==t.state.isWindowFocused&&t.setState({isWindowFocused:e})},t.onMouseEnter=function(e,n){var r=n.preloadImage,a=t.props,o=a.width,i=a.height;r((0,s.zoomFit)(o,i))},t.onZoom=function(e,n){var a=n.placeholder;e.preventDefault();var i=t.props,s=i.src,c={src:s,original:i.original||s,width:i.width,height:i.height,animated:i.animated,children:i.children,placeholder:a,renderLinkComponent:i.renderLinkComponent};e.currentTarget instanceof HTMLElement&&e.currentTarget.blur(),(0,u.openModal)((function(e){return r.createElement(l.ModalRoot,v({className:f.default.modal},e,{size:l.ModalSize.DYNAMIC,"aria-label":d.default.Messages.IMAGE}),r.createElement(o.default,v({},c,{className:f.default.image,shouldAnimate:t.state.isWindowFocused})))}))},t}n=e,(t=c).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n);var p=c.prototype;return p.componentDidMount=function(){i.default.isAnimated(this.props)&&!this._isListeningToWindow&&this.addWindowListeners()},p.componentDidUpdate=function(){var e=i.default.isAnimated(this.props);e&&!this._isListeningToWindow?this.addWindowListeners():!e&&this._isListeningToWindow&&this.removeWindowListeners()},p.componentWillUnmount=function(){this._isListeningToWindow&&this.removeWindowListeners()},p.render=function(){return r.createElement(i.default,v({},this.props,{onZoom:this.onZoom,onMouseEnter:this.onMouseEnter,shouldAnimate:this.state.isWindowFocused}))},c}(r.PureComponent);t.default=m,m.displayName="LazyImageZoomable",m.defaultProps={alt:"",shouldLink:!0,autoPlay:!1,animated:!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(1239),i=s(n(8337)),l=s(n(6)),u=s(n(7431));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n),r.prototype.render=function(){var e=this.props,t=e.src,n=e.original,r=e.placeholder,s=e.width,d=e.height,p=e.animated,v=e.children,y=e.renderLinkComponent,m=(e.maxWidth,e.maxHeight,e.shouldAnimate,function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["src","original","placeholder","width","height","animated","children","renderLinkComponent","maxWidth","maxHeight","shouldAnimate"])),_=(0,o.zoomFit)(s,d),h=_.width,E=_.height;return f("div",{className:u.default.wrapper},void 0,a.createElement(i.default,c({src:t,placeholder:r,shouldLink:!1,width:s,height:d,maxWidth:h,maxHeight:E,children:v,animated:p,autoPlay:!0},m)),null!=n&&y({href:n,target:"_blank",rel:"noreferrer noopener",className:u.default.downloadLink,children:l.default.Messages.OPEN_ORIGINAL_IMAGE}))},r}(a.PureComponent);t.default=v,v.displayName="ImageModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ImageReadyStates=void 0;var r,a=p(n(0)),o=f(n(9)),i=f(n(133)),l=n(1239),u=f(n(271)),s=p(n(151)),d=f(n(7430));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=(0,i.default)({LOADING:null,ERROR:null,READY:null});t.ImageReadyStates=_;var h=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n),r.prototype.render=function(){var e,t=this.props,n=t.className,r=t.imageClassName,i=t.readyState,f=t.src,c=t.alt,p=t.width,m=t.height,h=t.maxWidth,E=void 0===h?p:h,g=t.maxHeight,S=void 0===g?m:g,O=t.minWidth,I=t.minHeight,T=t.accessory,C=t.zoomable,b=t.original,M=t.children,N=t.renderItem,A=t.renderAccessory,P=t.tabIndex,R=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(t,["className","imageClassName","readyState","src","alt","width","height","maxWidth","maxHeight","minWidth","minHeight","accessory","zoomable","original","children","renderItem","renderAccessory","tabIndex"]);if(1===p&&1===m)return null;var L,D=(0,l.fit)(p,m,E,S,O,I),w={},j="div";null!=b&&(j=u.default,w.href=b,w.tabIndex=P),L=null!=f&&i===_.READY&&"function"==typeof M?null!=N?N():M({src:f,size:D,alt:c,className:r}):i===_.LOADING?y("div",{className:d.default.imageWrapperInner},void 0,f?y("img",{alt:c,className:d.default.imagePlaceholder,src:f,style:D}):null,f?y("div",{className:d.default.imagePlaceholderOverlay}):null,y(s.default,{type:s.SpinnerTypes.WANDERING_CUBES})):y("div",{className:d.default.imageWrapperInner},void 0,y("div",{className:d.default.imageError}));var k=null!=A?A():null;return k=k||T,a.createElement(j,v({className:(0,o.default)(d.default.imageWrapper,(e={},e[d.default.imageZoom]=C,e[d.default.imageWrapperBackground]=i!==_.READY,e[d.default.clickable]=null!=R.onClick,e),n),style:null!=N?null:D},w,R),k?y("div",{className:d.default.imageAccessory},void 0,k):null,L)},r}(a.PureComponent);t.default=h,h.displayName="Image",h.defaultProps={readyState:_.READY,zoomable:!0,alt:"",children:function(e){var t=e.src,n=e.size,r=e.alt;return y("img",{className:e.className||void 0,alt:r,src:t,style:n})},minWidth:0,minHeight:0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(8289),l=(r=n(8799))&&r.__esModule?r:{default:r};function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n),r.prototype.render=function(){var e=this.props,t=e.src,n=e.fileSize,r=e.fileName,a=e.className,o=e.playable,u=e.volume,d=e.renderLinkComponent,f=e.onVolumeChange,c=e.autoMute,p=e.onMute;return s(l.default,{src:t,fileName:r,fileSize:(0,i.sizeString)(n),type:l.default.Types.AUDIO,className:a,playable:o,volume:u,onMute:p,autoMute:c,onVolumeChange:f,renderLinkComponent:d})},r}(o.PureComponent);t.default=f,f.displayName="LazyAudio"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,transform:"translate(3.000000, 4.000000)",d:"M16 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h4v-2H2V4h14v10h-4v2h4c1.1 0 2-.9 2-2V2a2 2 0 0 0-2-2zM9 6l-4 4h3v6h2v-6h3L9 6z"}))}d.displayName="OpenExternal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24",fill:"none"}),s("path",{className:f,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M10.293 3.29604C10.579 3.01004 11.009 2.92504 11.383 3.07904C11.757 3.23204 12 3.59904 12 4.00204V20.002C12 20.407 11.757 20.772 11.383 20.927C11.009 21.082 10.579 20.996 10.293 20.71L6 16.002H3C2.45 16.002 2 15.552 2 15.002V9.00204C2 8.45304 2.45 8.00204 3 8.00204H6L10.293 3.29604ZM14 9.00195C15.654 9.00195 17 10.349 17 12.002C17 13.657 15.654 15.002 14 15.002V13.002C14.551 13.002 15 12.553 15 12.002C15 11.451 14.551 11.002 14 11.002V9.00195Z"}))}d.displayName="SpeakerQuiet"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,d:"M12,5 L12,1 L7,6 L12,11 L12,7 C15.31,7 18,9.69 18,13 C18,16.31 15.31,19 12,19 C8.69,19 6,16.31 6,13 L4,13 C4,17.42 7.58,21 12,21 C16.42,21 20,17.42 20,13 C20,8.58 16.42,5 12,5 L12,5 Z"}))}d.displayName="Replay"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 16 16"}),s("path",{className:f,fill:d,d:"M1.93956 14.6668H6.18203C6.51658 14.6668 6.7881 14.3953 6.7881 14.0607C6.7881 13.7262 6.51658 13.4547 6.18203 13.4547H3.40261L7.21658 9.64069C7.45325 9.40402 7.45325 9.02038 7.21658 8.78371C7.0984 8.66522 6.94325 8.60613 6.7881 8.60613C6.63294 8.60613 6.47779 8.66522 6.35961 8.78371L2.54563 12.5977V9.81826C2.54563 9.48372 2.27411 9.2122 1.93956 9.2122C1.60501 9.2122 1.3335 9.48372 1.3335 9.81826V14.0607C1.3335 14.3953 1.60501 14.6668 1.93956 14.6668Z"}),s("path",{className:f,fill:d,d:"M8.78374 7.21643C9.02041 7.4531 9.40405 7.4531 9.64072 7.21643L13.4547 3.40245V6.18188C13.4547 6.51643 13.7262 6.78794 14.0608 6.78794C14.3953 6.78794 14.6668 6.51643 14.6668 6.18188V1.93941C14.6668 1.60486 14.3953 1.33334 14.0608 1.33334L9.8183 1.33334C9.48375 1.33334 9.21223 1.60486 9.21223 1.93941C9.21223 2.27396 9.48375 2.54548 9.8183 2.54548H12.5977L8.78374 6.35945C8.54707 6.59612 8.54707 6.97976 8.78374 7.21643Z"}))}d.displayName="ExpandIcon"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M12.291 5.70697L15.998 9.41397L21.705 3.70697L20.291 2.29297L15.998 6.58597L13.705 4.29297L12.291 5.70697ZM1.99805 7H11.088C11.564 9.837 14.025 12 16.998 12V18C16.998 19.103 16.102 20 14.998 20H8.33205L2.99805 24V20H1.99805C0.894047 20 -0.00195312 19.103 -0.00195312 18V9C-0.00195312 7.897 0.894047 7 1.99805 7Z"}))}d.displayName="ChatCheck"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVolume=o,t.setVolume=function(e){a.default.set("MediaPlayerVolume",{volume:e,muted:i()})},t.getMuted=i,t.setMuted=function(e){a.default.set("MediaPlayerVolume",{volume:o(),muted:e})};var r,a=(r=n(28))&&r.__esModule?r:{default:r};function o(){var e=(a.default.get("MediaPlayerVolume")||{}).volume;return"number"!=typeof e&&(e=1),e=Math.min(1,Math.max(0,e))}function i(){var e=(a.default.get("MediaPlayerVolume")||{}).muted;return"boolean"!=typeof e&&(e=!1),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.smartOutput=function(e,t,n){return"string"==typeof e.content||void 0===e.content?e.content:t(e.content,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(389),i=s(n(9291)),l=s(n(9369)),u=s(n(8322));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}var p={handleUserContextMenu:function(e,t,n,r){(0,o.openContextMenu)(r,(function(r){return a.createElement(u.default,c({},r,{user:e,channelId:t,guildId:n}))}))},react:function(e,t,n){var r=e.userId,o=e.channelId;return null==r?a.createElement(i.default,c({key:n.key},e),t(e.content,n)):f(l.default,{className:"mention",userId:r,channelId:o},n.key)}};t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=N;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=I(n(8)),i=n(389),l=I(n(8725)),u=n(50),s=I(n(8322)),d=I(n(8264)),f=I(n(8268)),c=I(n(10)),p=I(n(56)),v=I(n(15)),y=I(n(12)),m=I(n(55)),_=I(n(8426)),h=I(n(278)),E=I(n(8436)),g=I(n(272)),S=I(n(6)),O=I(n(7342));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function b(){return(b=Object.assign||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}).apply(this,arguments)}var M=(0,u.createExperiment)({kind:"user",id:"2021-07_role_popout",label:"Role Popout",defaultConfig:{enabled:!1},treatments:[{id:1,label:"Enable Popout",config:{enabled:!0}}]});function N(e){var t=e.color,n=e.roleId,r=e.channelId,u=e.roleName,I=e.guildId,T=e.children,N=function(e){return a.createElement(_.default,b({className:O.default.roleMention,color:0===t?null:t},e),T)};return M.getCurrentConfig({}).enabled&&r&&I&&(null!=n||"@everyone"===u)?C(h.default,{renderPopout:function(e){var t=c.default.getChannel(r),_=v.default.getGuild(I),T=p.default.getMembers(_.id),M=null==n?_.roles[_.id]:_.roles[n],N=(0,o.default)(T).filter((function(e){return!("@everyone"!==u&&!e.roles.includes(n))&&null!=y.default.getUser(e.userId)})).sortBy((function(e){var t=y.default.getUser(e.userId);return(null!=t?e.nick||t.username:"").toLocaleLowerCase()})).map((function(e){var n=y.default.getUser(e.userId);return C(h.default,{preload:function(){return(0,d.default)(n.id,n.getAvatarURL(t.guild_id))},renderPopout:function(n){return a.createElement(f.default,b({},n,{userId:e.userId,guildId:_.id,channelId:t.id}))},spacing:14},void 0,(function(r,o){return a.createElement(l.default,b({key:e.userId,selected:o,colorString:e.colorString,user:n,isOwner:e.userId===_.ownerId,nick:e.nick,premiumSince:null==e.premiumSince?null:new Date(e.premiumSince),channel:t,guildId:_.id,onContextMenu:function(e){(0,i.openContextMenu)(e,(function(e){return a.createElement(s.default,b({},e,{user:n,guildId:_.id,channelId:t.id,showMediaItems:!0,popoutPosition:h.default.Positions.LEFT}))}))}},r))}))})).value();return a.createElement(m.default,b({className:O.default.rolePopout},e),C(g.default,{className:O.default.roleScroller},void 0,C(E.default,{className:O.default.roleHeader,"aria-label":S.default.Messages.CHANNEL_MEMBERS_A11Y_LABEL.format({title:M.name,count:N.length})},void 0,C("span",{"aria-hidden":!0},void 0,M.name," — ",N.length)),N))},position:h.default.Positions.RIGHT},void 0,N):N()}N.displayName="RoleMention"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(e.type!==i.ActivityTypes.CUSTOM_STATUS||null==e.emoji)return!1;var l=e.emoji;if(null==l.id||null==n||!(0,r.isGuildTextChannelType)(n.type))return!0;var u=a.default.getUsableCustomEmojiById(l.id),s=null==u||u.guildId!==n.getGuildId(),d=o.default.can(i.Permissions.USE_EXTERNAL_EMOJIS,t,n);return!s||d};var r=n(31),a=l(n(249)),o=l(n(78)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),l=f(n(9)),u=f(n(55)),s=n(279),d=f(n(7443));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}!function(e){e.SINGLE_AVATAR="1",e.MULTIPLE_AVATAR="2"}(o||(o={}));var y=((r={})[s.Sizes.SIZE_32]=d.default.avatarSmall,r[s.Sizes.SIZE_40]=d.default.avatarLarge,r),m=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).placeholderMaxWidth=Math.floor(40*Math.random())+40+"%",t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n),r.prototype.render=function(){var e=this.props,t=e.type,n=e.avatarSize,r=e.className;return t===o.MULTIPLE_AVATAR?p("div",{className:(0,l.default)(d.default.multiplePlaceholder,r)},void 0,p(u.default,{},void 0,p("div",{className:(0,l.default)(d.default.placeholderAvatar,y[n],d.default.avatarMasked)}),p("div",{className:(0,l.default)(d.default.placeholderAvatar,y[n],d.default.avatarMasked)}),p("div",{className:(0,l.default)(d.default.placeholderAvatar,y[n])})),p(u.default,{grow:1,className:d.default.mulitplePlaceholderUsername,style:{maxWidth:this.placeholderMaxWidth}})):p(u.default,{className:(0,l.default)(d.default.placeholder,r)},void 0,p("div",{className:(0,l.default)(d.default.placeholderAvatar,y[n])}),p(u.default,{grow:1,className:d.default.placeholderUsername,style:{maxWidth:this.placeholderMaxWidth}}))},r}(i.Component);m.displayName="PlaceholderAvatarWithMessage",m.defaultProps={type:o.SINGLE_AVATAR},m.Types=o;var _=m;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=p(n(29)),o=p(n(55)),i=n(85),l=n(35),u=p(n(47)),s=p(n(24)),d=n(8596),f=p(n(6)),c=p(n(7447));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t=e.transitionState,n=e.onClose,r=(0,i.useUID)();return y(l.ModalRoot,{"aria-labelledby":r,transitionState:t,size:l.ModalSize.SMALL},void 0,y(l.ModalHeader,{separator:!1},void 0,y(u.default,{id:r,tag:u.default.Tags.H2,size:u.default.Sizes.SIZE_20},void 0,f.default.Messages.SPOTIFY_PREMIUM_UPGRADE_HEADER)),y(l.ModalContent,{},void 0,y(o.default,{justify:o.default.Justify.CENTER},void 0,y("div",{className:c.default.image})),y(s.default,{className:c.default.text},void 0,f.default.Messages.SPOTIFY_PREMIUM_UPGRADE_BODY)),y(l.ModalFooter,{},void 0,y(a.default,{onClick:function(){(0,d.openPremiumSite)(),n()}},void 0,f.default.Messages.SPOTIFY_PREMIUM_UPGRADE_BUTTON),y(a.default,{look:a.default.Looks.LINK,color:a.default.Colors.PRIMARY,onClick:n},void 0,f.default.Messages.CANCEL)))}m.displayName="SpotifyPremiumUpgrade"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,o,i,l){var u,s=null===(u=o.getVoiceStateForSession(e.id,null==t?void 0:t.session_id))||void 0===u?void 0:u.channelId;if(null==s)return!1;var d=n.getChannel(s);if(null==d)return!1;var f=o.getCurrentClientVoiceChannelId(d.getGuildId())===s,c=(0,r.isChannelFull)(d,o,l),p=i.can(a.Permissions.CONNECT,d);return!!(f||!c&&p)};var r=n(292),a=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=n(8253),i=v(n(10)),l=v(n(15)),u=v(n(40)),s=v(n(12)),d=n(301),f=v(n(205)),c=n(1),p=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e,t,n,r){var v=i.default.getChannel(n),y=(0,a.useStateFromStores)([l.default],(function(){return l.default.getGuild(t)}),[t]),_=(0,a.useStateFromStores)([f.default],(function(){return f.default.getPermissionsForUser(e.id,n)}),[n,e.id]),h=s.default.getCurrentUser().id===e.id,E=(0,a.useStateFromStores)([u.default],(function(){return null!=n&&u.default.canWithPartialContext(c.Permissions.MUTE_MEMBERS,{channelId:n})}),[n]);if(null==v||null==y||r===c.AppContext.POPOUT)return null;if(!E&&!h)return null;if(!_.speaker)return null;return m(o.MenuItem,{id:"audience",label:p.default.Messages.STAGE_CHANNEL_USER_MOVE_TO_AUDIENCE,action:function(){h?(0,d.moveSelfToAudience)(v):(0,d.moveUserToAudience)(e,v)}})}_.displayName="useMoveToAudienceItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,a.useStateFromStores)([i.default],(function(){return i.default.getCurrentUser()})),t=null==e?void 0:e.isStaff();t||l.trackExposure({});var n=l.useExperiment({},{disable:t})[0];return t||n.enabled},t.FriendNicknamesExperiment=void 0;var r,a=n(3),o=n(50),i=(r=n(12))&&r.__esModule?r:{default:r};var l=(0,o.createExperiment)({kind:"user",id:"2021-04_friend_nicknames",label:"Friend nicknames",defaultConfig:{enabled:!1},treatments:[{id:1,label:"Enable friend nicknames",config:{enabled:!0}}]});t.FriendNicknamesExperiment=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(1217)),i=y(n(29)),l=y(n(153)),u=n(85),s=n(131),d=n(35),f=y(n(47)),c=y(n(24)),p=y(n(6)),v=y(n(7452));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function E(e){var t=e.user,n=e.nickname,r=e.transitionState,y=e.onClose,m=(0,u.useUID)(),E=a.useState(!1),g=E[0],S=E[1],O=a.useState(n),I=O[0],T=O[1],C=a.useRef(null),b=function(){var e,n=(e=regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),S(!0),e.prev=2,e.next=5,o.default.updateRelationship(t.id,I);case 5:y(),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(2);case 10:return e.prev=10,S(!1),e.finish(10);case 13:case"end":return e.stop()}}),e,null,[[2,8,10,13]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){h(o,r,a,i,l,"next",e)}function l(e){h(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(e){return n.apply(this,arguments)}}(),M=null==n?p.default.Messages.ADD_FRIEND_NICKNAME:p.default.Messages.CHANGE_FRIEND_NICKNAME;return _(d.ModalRoot,{transitionState:r,size:d.ModalSize.SMALL,"aria-labelledby":m},void 0,_("form",{onSubmit:b},void 0,_(d.ModalHeader,{separator:!1},void 0,_(f.default,{tag:f.default.Tags.H2,size:f.default.Sizes.SIZE_20},void 0,M)),_(d.ModalContent,{},void 0,_(c.default,{size:c.default.Sizes.SIZE_16,className:v.default.description},void 0,p.default.Messages.FRIEND_NICKNAME_DESCRIPTION),_(s.FormItem,{title:p.default.Messages.FRIEND_NICKNAME},void 0,_(l.default,{inputRef:C,value:null!=I?I:"",placeholder:t.toString(),onChange:T,className:v.default.input,autoFocus:!0})),_(i.default,{look:i.default.Looks.LINK,color:i.default.Colors.LINK,size:i.default.Sizes.NONE,onClick:function(){var e;T(null),null===(e=C.current)||void 0===e||e.focus()},className:v.default.reset},void 0,p.default.Messages.RESET_FRIEND_NICKNAME)),_(d.ModalFooter,{},void 0,_(i.default,{type:"submit",disabled:g},void 0,p.default.Messages.SAVE),_(i.default,{onClick:y,look:i.default.Looks.LINK,color:i.default.Colors.PRIMARY},void 0,p.default.Messages.CANCEL))))}E.displayName="AddFriendNicknameModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.preloadUserBannerImage=void 0;var r=n(1);function a(){return(a=Object.assign||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}).apply(this,arguments)}var o={};o=n(9300).default;var i=r.NOOP;t.preloadUserBannerImage=i;var l=a({preloadUserBannerImage:i},o);t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(105)),a=o(n(150));function o(e){return e&&e.__esModule?e:{default:e}}var i={preloadUserBannerImage:function(e){var t=e.user,n=t.id,o=t.banner,i=r.default.useReducedMotion,l=a.default.getUserBannerURL({id:n,banner:o},!i);null!=l&&((new Image).src=l)}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l={};function u(){l={}}var s=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n),r.prototype.getNote=function(e){return l[e]},r}(r.default.Store))(a.default,{CONNECTION_OPEN:function(e){return u()},OVERLAY_INITIALIZE:function(e){return u()},USER_NOTE_UPDATE:function(e){l[e.id]={loading:!1,note:e.note}},USER_NOTE_LOAD_START:function(e){var t=e.userId;l[t]={loading:!0,note:null}},USER_NOTE_LOADED:function(e){var t=e.userId,n=e.note;l[t]={loading:!1,note:null==n?void 0:n.note}}});t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=u.default.getCurrentUser().id===e,s=(0,r.useStateFromStores)([a.default],(function(){return null!=t&&a.default.isLurking(t)}));return(0,r.useStateFromStores)([i.default,o.default,l.default],(function(){return!n&&!s&&(i.default.isFriend(e)||null!=o.default.memberOf(e).find((function(e){return!l.default.isGuildRestricted(e)})))}))};var r=n(3),a=s(n(182)),o=s(n(56)),i=s(n(70)),l=s(n(39)),u=s(n(12));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){e.exports=n.p+"bc5b30202ee8144be31e24302871cc1c.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;var r,a=y(n(0)),o=p(n(9)),i=p(n(8501)),l=p(n(9108)),u=y(n(8556)),s=p(n(47)),d=n(1),f=p(n(6)),c=p(n(7464));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e){var t=e.activity,n=e.customStatusActivity,r=e.user,p=e.guild,v=e.guildMember,y=e.channelId,_=e.onClose,h=e.setNote,E=e.canDM,g=e.hidePersonalInformation;return r.isNonUserBot()?null:m("div",{className:c.default.bodyInnerWrapper},void 0,m(u.default,{type:u.UserActivityTypes.USER_POPOUT,activity:null!=t?t:n,className:(0,o.default)(c.default.activity,"newPopoutActivityStyles"),user:r,guildId:null==p?void 0:p.id,channelId:y,source:d.AnalyticsLocations.PROFILE_POPOUT,onOpenGameProfile:_,onOpenConnections:_,onAction:_}),null!=p&&null!=v?a.createElement(a.Fragment,null,m(s.default,{size:s.default.Sizes.SIZE_12,className:c.default.bodyTitle,muted:!0,uppercase:!0},void 0,f.default.Messages.ROLES_LIST.format({numRoles:v.roles.length})),m(i.default,{className:c.default.rolesList,guild:p,user:r,userRoles:v.roles},"roles")):null,!g&&a.createElement(a.Fragment,null,m(s.default,{size:s.default.Sizes.SIZE_12,className:c.default.bodyTitle,muted:!0,uppercase:!0},void 0,f.default.Messages.NOTE),m(l.default,{className:c.default.note,userId:r.id,autoFocus:h||!E},"note")))}_.displayName="UserPopoutBody"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(14))&&r.__esModule?r:{default:r},o=n(1);var i={updateNote:function(e,t){a.default.put({url:o.Endpoints.NOTE(e),body:{note:t},oldFormErrors:!0})}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=n(57),l=s(n(55)),u=s(n(7457));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.percentage;return c("div",{className:u.default.bar},void 0,c("div",{className:u.default.barInner,style:{width:100*Math.max(Math.min(t,1),0)+"%"}}))}function v(e){return String(e).padStart(2,"0")}function y(e){var t=Math.floor(e)%60,n=Math.floor(e/60)%60,r=Math.floor(e/3600);return 0===r?n+":"+v(t):r+":"+v(n)+":"+v(t)}p.displayName="Bar";var m=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).timer=new i.Interval,t.state={now:Date.now()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var a=r.prototype;return a.componentDidMount=function(){var e=this;this.timer.start(500,(function(){e.setState({now:Date.now()})}))},a.componentWillUnmount=function(){this.timer.stop()},a.render=function(){var e,t=this.props,n=t.start,r=t.end,a=t.className,i=t.themed,s=this.state.now,d=(r-n)/1e3,f=Math.max(Math.min((s-n)/1e3,d),0);return c("div",{className:(0,o.default)(a,(e={},e[u.default.themed]=i,e))},void 0,c(p,{percentage:f/d}),c(l.default,{},void 0,c(l.default.Child,{grow:1,className:u.default.textLeft},void 0,y(f)),c(l.default.Child,{grow:0,className:u.default.textRight},void 0,y(d))))},r}(a.PureComponent);m.displayName="ActivityTimeBar",m.defaultProps={themed:!1};var _=m;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?20:t,r=e.height,a=void 0===r?20:r,l=e.color,d=void 0===l?"currentColor":l,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color"]);return o.createElement("svg",u({},(0,i.default)(f),{width:n,height:a,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),s("path",{d:"M10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 7.34784 18.9464 4.8043 17.0711 2.92893C15.1957 1.05357 12.6522 0 10 0ZM14.5625 14.4375C14.3791 14.7161 14.0145 14.8107 13.7188 14.6562C11.375 13.2188 8.40625 12.9062 4.9375 13.6875C4.71979 13.7377 4.49182 13.668 4.33945 13.5046C4.18709 13.3412 4.13348 13.1089 4.19883 12.8952C4.26417 12.6816 4.43854 12.519 4.65625 12.4688C8.46875 11.5938 11.7188 11.9688 14.375 13.5938C14.5149 13.6781 14.6141 13.816 14.6495 13.9755C14.685 14.1349 14.6535 14.3019 14.5625 14.4375ZM15.8125 11.6875C15.7053 11.8622 15.5328 11.9869 15.3333 12.0338C15.1338 12.0807 14.9238 12.0461 14.75 11.9375C12.0625 10.2812 7.96875 9.8125 4.78125 10.7812C4.5133 10.8594 4.22401 10.7887 4.02236 10.5957C3.8207 10.4027 3.73731 10.1168 3.80361 9.84569C3.8699 9.57457 4.0758 9.3594 4.34375 9.28125C7.96875 8.1875 12.5 8.71875 15.5625 10.625C15.9134 10.8575 16.0229 11.3229 15.8125 11.6875ZM15.9062 8.875C12.6875 6.96875 7.375 6.78125 4.28125 7.71875C3.81691 7.79284 3.36952 7.5115 3.23513 7.0609C3.10074 6.61031 3.32093 6.12986 3.75 5.9375C7.28125 4.875 13.1562 5.0625 16.875 7.28125C17.0893 7.40709 17.2434 7.61436 17.3023 7.85577C17.3612 8.09717 17.3198 8.35214 17.1875 8.5625C16.9054 8.98221 16.3499 9.1177 15.9062 8.875Z",fill:d}))}d.displayName="Spotify"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.activity,n=e.color,r=e.user,s=e.look;if(null==(null==t?void 0:t.buttons)||t.buttons.length<1)return null;function d(){return(d=p(regeneratorRuntime.mark((function e(t,n,r){var a,u,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,o.getMetadata)(t,n);case 3:if(null!=(a=e.sent)&&Array.isArray(a.button_urls)){e.next=6;break}return e.abrupt("return");case 6:if("string"==typeof(u=a.button_urls[r])){e.next=9;break}return e.abrupt("return");case 9:if(null!=(s=l.default.safeParseWithQuery(u))&&null!=s.protocol&&null!=s.hostname){e.next=12;break}return e.abrupt("return");case 12:(0,i.handleClick)({href:l.default.format(s),trusted:!1}),e.next=17;break;case 15:e.prev=15,e.t0=e.catch(0);case 17:case"end":return e.stop()}}),e,null,[[0,15]])})))).apply(this,arguments)}return a.createElement(a.Fragment,null,t.buttons.map((function(e,a){return f(u.default,{color:n,look:s,onClick:function(){return function(e,t,n){return d.apply(this,arguments)}(t,r.id,a)}},"customButton-"+a,e)})))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(8428),i=n(730),l=s(n(186)),u=s(n(8339));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){c(o,r,a,i,l,"next",e)}function l(e){c(o,r,a,i,l,"throw",e)}i(void 0)}))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=G;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=j();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=w(n(1234)),l=w(n(478)),u=w(n(132)),s=w(n(1245)),d=n(42),f=w(n(10)),c=w(n(400)),p=w(n(155)),v=w(n(684)),y=w(n(15)),m=w(n(120)),_=w(n(40)),h=w(n(70)),E=w(n(36)),g=w(n(80)),S=w(n(8429)),O=w(n(149)),I=n(263),T=w(n(16)),C=w(n(294)),b=n(1214),M=w(n(8597)),N=w(n(8598)),A=w(n(8499)),P=w(n(8339)),R=n(156),L=n(1),D=w(n(6));function w(e){return e&&e.__esModule?e:{default:e}}function j(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return j=function(){return e},e}function k(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function U(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function G(e){var t=e.activity,n=e.isCurrentUser,r=e.color,w=e.look,j=e.hover,G=e.user,F=a.useState(!1),B=F[0],H=F[1],x=(0,N.default)(t),V=(0,o.useStateFromStores)([m.default,s.default,p.default,c.default],(function(){return x||null!=(null==t?void 0:t.application_id)&&(0,I.isLaunchable)(m.default,s.default,p.default,c.default,t.application_id)})),W=(0,o.useStateFromStores)([C.default],(function(){return Array.from(C.default.getSelfEmbeddedActivities().values()).some((function(e){return e.applicationId===(null==t?void 0:t.application_id)}))})),Y=(0,o.useStateFromStores)([S.default],(function(){return null!=t&&null!=t.application_id&&S.default.getState(t.application_id,L.ActivityActionTypes.JOIN)===L.ActivityActionStates.LOADING})),z=(0,o.useStateFromStores)([f.default,y.default,v.default,h.default,E.default,g.default,_.default],(function(){return(0,M.default)(G,t,f.default,y.default,v.default,h.default,E.default,g.default,_.default)})),K=!T.default.embedded;if(null==t||!(0,b.hasFlag)(t,L.ActivityFlags.JOIN)||null==t.application_id)return null;var $=!n&&(K||V)&&!B&&!W&&(!x||z),Z=null;n?Z=D.default.Messages.USER_ACTIVITY_CANNOT_JOIN_SELF:K||V||(Z=D.default.Messages.USER_ACTIVITY_NOT_DETECTED.format({name:t.name}));var q=function(){var e,n=(e=regeneratorRuntime.mark((function e(){var n,r,a,o,s,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=(0,N.default)(t),null==t.session_id||null==t.application_id){e.next=16;break}if(n&&z&&(a=null===(r=g.default.getVoiceStateForSession(G.id,t.session_id))||void 0===r?void 0:r.channelId,null!=(o=f.default.getChannel(a))&&(u.default.selectVoiceChannel(o.id),(0,d.transitionTo)(L.Routes.CHANNEL(null!==(s=o.getGuildId())&&void 0!==s?s:L.ME,o.id)))),e.t0=z,!e.t0){e.next=8;break}return e.next=7,l.default.join(G.id,t.session_id,t.application_id,E.default.getVoiceChannelId(),null,R.ActivityIntent.PLAY,n);case 7:e.t0=e.sent;case 8:if(!e.t0){e.next=11;break}return(0,A.default)(L.AnalyticsGameOpenTypes.JOIN,L.AnalyticsLocations.USER_ACTIVITY_ACTIONS,G.id,t),e.abrupt("return");case 11:return H(!0),e.next=14,i.default.sendActivityInviteUser({type:L.ActivityActionTypes.JOIN_REQUEST,userId:G.id,activity:t,location:L.AnalyticsLocations.PROFILE_POPOUT});case 14:null!=(c=e.sent)&&u.default.selectPrivateChannel(c.id);case 16:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){U(o,r,a,i,l,"next",e)}function l(e){U(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return n.apply(this,arguments)}}(),X=z?D.default.Messages.JOIN:D.default.Messages.USER_ACTIVITY_ACTION_ASK_TO_JOIN;return x&&(X=D.default.Messages.EMBEDDED_ACTIVITIES_JOIN_ACTIVITY),k(O.default,{text:Z},"join",(function(e){var t=e.onMouseEnter,n=e.onMouseLeave;return k(P.default,{onClick:q,onMouseEnter:t,onMouseLeave:n,color:r,look:w,hover:j,disabled:!$,submitting:Y,fullWidth:!0},void 0,X)}))}G.displayName="JoinActivityButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;p(n(0));var r,a=f(n(9)),o=n(3),i=p(n(1232)),l=f(n(80)),u=f(n(8339)),s=f(n(6)),d=f(n(7459));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=function(e){var t,n=e.guildId,r=e.channelId,f=e.color,c=e.look,p=e.isProfile,y=(0,o.useStateFromStores)([l.default],(function(){return l.default.isInChannel(r)}),[r]);return v(u.default,{className:(0,a.default)(d.default.button,(t={},t[d.default.popout]=!p,t)),color:f,look:c,disabled:y,onClick:function(){return i.connectOrLurkStage(n,r)},fullWidth:!0},"stage",s.default.Messages.STAGE_CHANNEL_JOIN_BUTTON)};y.displayName="ListenStageButton";var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(26)),o=n(1214),i=s(n(8339)),l=n(1),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.activity,n=e.user,r=e.look,s=e.color;if(!(0,o.hasFlag)(t,l.ActivityFlags.INSTANCE))return null;return f(i.default,{look:r,color:s,onClick:function(){new a.default("UserActivityActions").log("notify",n.id,t)},fullWidth:!0},"notify",u.default.Messages.USER_ACTIVITY_ACTION_NOTIFY_ME)}c.displayName="NotifyActivityButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=k;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=D();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=L(n(478)),i=L(n(132)),l=L(n(1245)),u=n(42),s=L(n(10)),d=L(n(400)),f=L(n(155)),c=L(n(684)),p=L(n(15)),v=L(n(120)),y=L(n(40)),m=L(n(70)),_=L(n(36)),h=L(n(80)),E=L(n(8429)),g=L(n(149)),S=n(263),O=L(n(16)),I=L(n(294)),T=n(1214),C=L(n(8597)),b=L(n(8598)),M=L(n(8499)),N=L(n(8339)),A=n(156),P=n(1),R=L(n(6));function L(e){return e&&e.__esModule?e:{default:e}}function D(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return D=function(){return e},e}function w(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function j(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function k(e){var t=e.activity,n=e.isCurrentUser,r=e.color,L=e.look,D=e.hover,k=e.user,U=(0,b.default)(t),G=(0,a.useStateFromStores)([v.default,l.default,f.default,d.default],(function(){return(0,b.default)(t)||null!=(null==t?void 0:t.application_id)&&(0,S.isLaunchable)(v.default,l.default,f.default,d.default,t.application_id)})),F=(0,a.useStateFromStores)([I.default],(function(){return Array.from(I.default.getSelfEmbeddedActivities().values()).some((function(e){return e.applicationId===(null==t?void 0:t.application_id)}))})),B=(0,a.useStateFromStores)([E.default],(function(){return null!=t&&null!=t.application_id&&E.default.getState(t.application_id,P.ActivityActionTypes.JOIN)===P.ActivityActionStates.LOADING})),H=(0,a.useStateFromStores)([s.default,p.default,c.default,m.default,_.default,h.default,y.default],(function(){return(0,C.default)(k,t,s.default,p.default,c.default,m.default,_.default,h.default,y.default)})),x=!O.default.embedded;if(null==t||t.application_id!==A.POKER_NIGHT_APPLICATION_ID||!U||!(0,T.hasFlag)(t,P.ActivityFlags.JOIN)||null==t.application_id)return null;var V=!n&&(x||G)&&H&&!F,W=null;n?W=R.default.Messages.USER_ACTIVITY_CANNOT_JOIN_SELF:x||G||(W=R.default.Messages.USER_ACTIVITY_NOT_DETECTED.format({name:t.name}));var Y=function(){var e,n=(e=regeneratorRuntime.mark((function e(){var n,r,a,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==t.session_id||null==t.application_id){e.next=9;break}if(U&&H&&(r=null===(n=t.party)||void 0===n?void 0:n.id,null!=(a=s.default.getChannel(r))&&(i.default.selectVoiceChannel(a.id),(0,u.transitionTo)(P.Routes.CHANNEL(null!==(l=a.getGuildId())&&void 0!==l?l:P.ME,a.id)))),e.t0=H,!e.t0){e.next=7;break}return e.next=6,o.default.join(k.id,t.session_id,t.application_id,_.default.getVoiceChannelId(),null,A.ActivityIntent.SPECTATE,U);case 6:e.t0=e.sent;case 7:if(!e.t0){e.next=9;break}(0,M.default)(P.AnalyticsGameOpenTypes.SPECTATE,P.AnalyticsLocations.USER_ACTIVITY_ACTIONS,k.id,t);case 9:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){j(o,r,a,i,l,"next",e)}function l(e){j(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return n.apply(this,arguments)}}();return w(g.default,{text:W},"spectate",(function(e){var t=e.onMouseEnter,n=e.onMouseLeave;return w(N.default,{onClick:Y,onMouseEnter:t,onMouseLeave:n,color:r,look:L,hover:D,disabled:!V,submitting:B,fullWidth:!0},void 0,R.default.Messages.SPECTATE)}))}k.displayName="SpectateActivityButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=u(n(9314)),o=n(1214),i=n(1),l=u(n(7351));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e){var t=e.activity,n=e.user,u=e.color,s=e.look,f=e.guildId,c=e.channelId,p=e.source;if(null==t||!(0,o.hasFlag)(t,i.ActivityFlags.PLAY))return null;if(!(0,o.isListeningOnSpotify)(t))return null;var v={key:"play",className:l.default.button,size:l.default.buttonSize,color:u,look:s,activity:t,user:n,fullWidth:!0};return r.createElement(a.default,d({guildId:null!=f?f:void 0,channelId:c,source:p},v))}f.displayName="SpotifyActivityPlayButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(29)),i=f(n(55)),l=f(n(149)),u=f(n(8825)),s=n(8601),d=f(n(7365));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e){var t=e.activity,n=e.user,r=e.source,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["activity","user","source"]),c=(0,s.useSpotifyPlayAction)(t,n,r),y=c.label,m=c.tooltip,_=c.loading,h=c.disabled,E=c.onClick;return v(l.default,{text:m},void 0,(function(e){var t=e.onMouseEnter,n=e.onMouseLeave;return a.createElement(o.default,p({},f,{onClick:E,onMouseEnter:t,onMouseLeave:n,disabled:h,submitting:_}),v(i.default,{align:i.default.Align.CENTER},void 0,v(u.default,{className:d.default.spotifyButtonLogo}),y))}))}y.displayName="SpotifyPlayButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=u(n(9316)),o=n(1214),i=n(1),l=u(n(7351));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e){var t=e.activity,n=e.user,u=e.color,s=e.look,f=e.guildId,c=e.channelId,p=e.source;if(null==t||!(0,o.hasFlag)(t,i.ActivityFlags.SYNC))return null;var v={key:"sync",className:l.default.button,size:l.default.buttonSize,color:u,look:s,user:n,activity:t};return(0,o.isListeningOnSpotify)(t)?r.createElement(a.default,d({guildId:null!=f?f:void 0,channelId:c,source:p},v)):null}f.displayName="SpotifyActivitySyncButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(9)),i=c(n(29)),l=c(n(149)),u=c(n(8826)),s=c(n(258)),d=n(8601),f=c(n(7365));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t=e.activity,n=e.user,r=e.channelId,c=e.guildId,p=e.source,m=e.size,_=e.className,h=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["activity","user","channelId","guildId","source","size","className"]),E=(0,d.useSpotifySyncAction)(t,n,p,s.default.getNickname(c,r,n)),g=E.tooltip,S=E.loading,O=E.disabled,I=E.onClick;return y(l.default,{text:g},void 0,(function(e){var n=e.onMouseEnter,r=e.onMouseLeave;return a.createElement(i.default,v({},h,{size:(0,o.default)(m,f.default.iconButtonSize),className:(0,o.default)(_,f.default.iconButton),onClick:I,onMouseEnter:n,onMouseLeave:r,disabled:O,submitting:S,"aria-label":g||t.name}),y(u.default,{className:f.default.listenAlongIcon}))}))}m.displayName="SpotifySyncButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(1214),o=l(n(8339)),i=l(n(6));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}function d(e){var t=e.activity,n=e.color,l=e.look;if(!(0,a.isStreaming)(t))return null;var u={color:n,look:l};return r.createElement(o.default,s({key:"play-activity",onClick:function(){var e=(0,a.getStreamURL)(t);return window.open(null!=e?e:void 0)}},u,{fullWidth:!0}),i.default.Messages.WATCH)}d.displayName="WatchActivityButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.isCurrentUser,n=e.color,r=e.look,I=e.applicationStream,T=(0,o.useStateFromStoresObject)([d.default],(function(){return{activeStream:d.default.getActiveStreamForApplicationStream(I),watchingOtherStream:null!=I&&d.default.getAllActiveStreamsForChannel(I.channelId).filter((function(e){return e.ownerId!==I.ownerId})).length>0}})),M=T.activeStream,N=T.watchingOtherStream,A=(0,o.useStateFromStores)([f.default],(function(){return f.default.getChannel(null==I?void 0:I.channelId)})),P=(0,o.useStateFromStores)([v.default,c.default,p.default],(function(){return null!=A&&(0,s.canWatchStream)(A,v.default,c.default,p.default)}),[A]),R=null!=M&&null!=I&&M.state!==g.ApplicationStreamStates.ENDED&&M.ownerId===I.ownerId,L=function(e){null!=I&&(l.default.selectVoiceChannel(I.channelId),R||(0,u.watchStreamAndTransitionToStream)(I,{forceMultiple:e}),h.ComponentDispatch.dispatch(g.ComponentActions.POPOUT_CLOSE),h.ComponentDispatch.dispatch(g.ComponentActions.MODAL_CLOSE),i.default.popAll())};if(null==I)return null;var D=S.default.Messages.WATCH_STREAM;t?D=S.default.Messages.WATCH_STREAM_STREAMING:R&&(D=S.default.Messages.WATCH_STREAM_WATCHING);var w={color:n,look:r};return a.createElement(a.Fragment,null,a.createElement(E.default,C({key:"play",disabled:t||R||!P,onClick:function(){return L(!1)}},w,{fullWidth:!0}),b(_.default,{className:O.default.streamIcon}),D),N&&!R?b(y.default,{text:S.default.Messages.STREAM_WATCH_MULTIPLE_TOOLTIP},void 0,(function(e){return a.createElement(E.default,C({},e,{onClick:function(){var t;null===(t=e.onClick)||void 0===t||t.call(e),L(!0)}},w,{className:O.default.iconButton,size:O.default.iconButtonSize}),b(m.default,{className:O.default.iconSize}))})):null)};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=I(n(397)),l=I(n(132)),u=n(364),s=n(484),d=I(n(163)),f=I(n(10)),c=I(n(15)),p=I(n(40)),v=I(n(80)),y=I(n(149)),m=I(n(9110)),_=I(n(5955)),h=n(121),E=I(n(8339)),g=n(1),S=I(n(6)),O=I(n(7460));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(){return(C=Object.assign||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}).apply(this,arguments)}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(3),o=d(n(9320)),i=d(n(183)),l=d(n(725)),u=n(1),s=d(n(7351));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e){var t=e.color,n=e.look,d=e.onOpenConnections;if((0,a.useStateFromStores)([l.default],(function(){return l.default.getAccounts().some((function(e){return e.type===i.default.get(u.PlatformTypes.XBOX).type}))})))return null;var f={className:s.default.button,size:s.default.buttonSize,color:t,look:n,fullWidth:!0};return r.createElement(o.default,c({onOpenConnections:d},f))}p.displayName="XboxActivityButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(473)),i=p(n(183)),l=p(n(29)),u=p(n(55)),s=p(n(9111)),d=n(1),f=p(n(6)),c=p(n(7461));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=i.default.get(d.PlatformTypes.XBOX).name,h=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(){var e=t.props.onOpenConnections;e&&e(),o.default.open(d.UserSettingsSections.CONNECTIONS)},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n),r.prototype.render=function(){var e=this.props,t=e.className,n=e.look,r=e.size,a=e.color;return y(l.default,{size:r,look:n,color:a,className:t,onClick:this.handleClick},void 0,y(u.default,{align:u.default.Align.CENTER},void 0,y(s.default,{className:c.default.xboxButtonLogo}),f.default.Messages.USER_ACTIVITY_CONNECT_PLATFORM.format({platform:_})))},r}(a.Component);t.default=h,h.displayName="XboxButton",h.defaultProps={look:l.default.Looks.OUTLINED,color:l.default.Colors.WHITE,size:l.default.Sizes.MAX}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=S;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(9)),i=m(n(9322)),l=n(716),u=m(n(6)),s=m(n(7467)),d=m(n(9326)),f=m(n(9327)),c=m(n(9328)),p=m(n(9329)),v=m(n(9330)),y=m(n(9331));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var E=[m(n(9332)).default,d.default,p.default,c.default,v.default,f.default,y.default];function g(e){var t,n,r=e.userId,i=a.useState(!1),l=i[0],d=i[1];return a.useLayoutEffect((function(){l||d(!0)}),[l]),h("div",{className:s.default.wumpusWrapper},void 0,h("div",{className:(0,o.default)(s.default.wumpus,(t={},t[s.default.wumpusShown]=l,t))},void 0,h("img",{className:s.default.wumpusImage,alt:u.default.Messages.IMG_ALT_ICON.format({name:u.default.Messages.WUMPUS}),src:(n=parseInt(r.slice(-6),10),E[n%E.length])}),h("span",{className:s.default.wumpusTooltip},void 0,u.default.Messages.USER_POPOUT_WUMPUS_TOOLTIP)))}function S(e){var t=e.user,n=e.setNote,r=e.canDM,a=e.onClose;if(t.isNonUserBot()||!r)return null;var o=r&&(0,l.isNewUser)(t)&&!t.bot;return h("div",{className:s.default.footer},void 0,o&&r?h(g,{userId:t.id}):null,r?h(i.default,{user:t,onClose:function(){return null==a?void 0:a()},autoFocus:!n}):null)}g.displayName="BouncyWumpus",S.displayName="UserPopoutFooter"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=_(n(23)),i=n(3),l=_(n(391)),u=n(687),s=_(n(390)),d=_(n(1216)),f=_(n(10)),c=_(n(70)),p=_(n(153)),v=n(8381),y=_(n(6)),m=_(n(7466));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e){var t=e.user,n=e.autoFocus,r=void 0!==n&&n,_=e.onClose,h=e.className,g=a.useRef(null),S=(0,i.useStateFromStores)([c.default],(function(){return c.default.isBlocked(t.id)})),O=a.useCallback((function(e){if("Enter"===e.key){e.preventDefault(),(0,o.default)(null!=g.current,"Keypress on Input when not mounted");var n=g.current.value.trim();return(0,v.applyChatRestrictions)({target:null,type:null,content:n,channel:null}).then((function(e){e.valid&&(l.default.openPrivateChannel(t.id).then((function(e){var t=f.default.getChannel(e);(0,o.default)(null!=t,"Newly created PrivateChannel is null"),s.default.sendMessage(t.id,d.default.parse(t,n)),(0,u.popLayer)()})),null==_||_())})),!0}}),[_,t]);return E(p.default,{className:h,inputClassName:m.default.input,inputRef:g,autoFocus:r,placeholder:S?y.default.Messages.QUICK_DM_BLOCKED:y.default.Messages.QUICK_DM_USER.format({name:t.username}),onKeyPress:O,disabled:S})}g.displayName="QuickMessage"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=T,t.showPopout=function(e,t,n,r,o,i,l,u,s){var d=t===y.TextareaTypes.FORM;(0,f.openPopout)(e,{onClose:r,closeOnScroll:!1,backdrop:!0,shadow:!1,position:f.default.Positions.TOP_LEFT,animationType:f.default.Animations.NONE,zIndexBoost:d?1e3:0,render:function(e){return a.createElement(T,I({},e,{channel:n,onConfirm:o,onCancel:i,analyticsType:l,popoutText:u,animation:s}))}},"popout-channel-text-area-shouting")};var r,a=S(n(0)),o=E(n(5962)),i=E(n(8309)),l=n(106),u=E(n(39)),s=E(n(29)),d=E(n(282)),f=S(n(8382)),c=E(n(8602)),p=E(n(24)),v=E(n(13)),y=n(1),m=E(n(6)),_=E(n(7465)),h=E(n(7342));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(){return(I=Object.assign||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}).apply(this,arguments)}function T(e){var t=e.onConfirm,n=e.onCancel,r=e.popoutKey,f=e.channel,E=e.analyticsType,g=e.popoutText,S=e.animation;a.useEffect((function(){v.default.track(y.AnalyticEvents.OPEN_POPOUT,I({type:E},(0,l.collectChannelAnalyticsMetadata)(f)))}),[E,f]);var T=a.useCallback((function(){i.default.close(r)}),[r]),C=a.useCallback((function(){null==t||t(),T()}),[t,T]),b=a.useCallback((function(){null==n||n(),T()}),[n,T]),M=a.useRef(null);return a.useEffect((function(){var e,t=u.default.theme;if(S){var n=t===y.ThemeTypes.DARK?S.dark:S.light;e=o.default.loadAnimation({container:M.current,renderer:"svg",loop:!0,autoplay:!0,animationData:n})}return function(){null!=e&&(e.destroy(),e=void 0)}}),[S]),O(d.default,{"aria-labelledby":"content-warning-popout-label"},void 0,O("form",{className:_.default.contentWarningPopout,onSubmit:C},void 0,O("div",{className:_.default.body},void 0,S&&a.createElement("div",{className:_.default.animation,ref:M}),O("div",{className:_.default.content},void 0,O("div",{className:_.default.header},void 0,m.default.Messages.SELF_XSS_HEADER),O(p.default,{id:"content-warning-popout-label",className:h.default.markup},void 0,g.body),O("div",{className:_.default.buttonWrapper},void 0,O("div",{className:_.default.buttonContainer},void 0,O(s.default,{className:_.default.button,color:s.default.Colors.GREY,onClick:b},void 0,m.default.Messages.EDIT_MESSAGE),O(p.default,{size:p.default.Sizes.SIZE_12,className:_.default.buttonHint},void 0,m.default.Messages.EVERYONE_POPOUT_ESC.format())),O("div",{className:_.default.buttonContainer},void 0,O(s.default,{className:_.default.button,onClick:C,type:"submit",autoFocus:!0},void 0,m.default.Messages.EVERYONE_POPOUT_SEND_NOW),O(p.default,{size:p.default.Sizes.SIZE_12,className:_.default.buttonHint},void 0,m.default.Messages.EVERYONE_POPOUT_ENTER.format()))))),g.footer&&O("div",{className:_.default.footer},void 0,O(c.default,{color:y.Colors.PRIMARY_DARK_400,className:_.default.icon}),O(p.default,{},void 0,g.footer))))}T.displayName="ContentWarningPopout"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RESTRICTIONS=void 0;var r=i(n(9325)),a=n(1),o=i(n(6));function i(e){return e&&e.__esModule?e:{default:e}}var l=[{check:function(e,t,n){if(!n)return!1;if(!t.getGuildId())return!1;var a=r.default.extractEveryoneRole(e,t);if(null==a)return!1;if(!r.default.shouldShowEveryoneGuard(a,t))return!1;var i=r.default.everyoneMemberCount(a,t),l=i>100?100:10;return{body:(t.isThread()?o.default.Messages.EVERYONE_POPOUT_BODY_THREAD:o.default.Messages.EVERYONE_POPOUT_BODY).format({role:a,count:(parseInt(i/l,10)*l).toLocaleString()}),footer:o.default.Messages.EVERYONE_POPOUT_FOOTER}},analyticsType:"@Everyone Warning",animation:{dark:n(10315),light:n(10316)}},{check:function(e){return!!a.TOKEN_REGEX.test(e)&&{body:o.default.Messages.TOKEN_POPOUT_BODY}},analyticsType:"API Token Warning"}];t.RESTRICTIONS=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(23)),a=u(n(1216)),o=u(n(8731)),i=u(n(40)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var f=new RegExp(/@(:?everyone|here)/);function c(e,t){var n,r=0;return t.isThread()?null!==(n=t.memberCount)&&void 0!==n?n:0:(o.default.getProps(t.getGuildId(),t.id).groups.forEach((function(t){"@everyone"!==e&&t.id===l.StatusTypes.OFFLINE||(r+=t.count)})),r)}function p(e){if("string"==typeof e.content){var t;if("inlineCode"===e.type||"codeBlock"===e.type)return null;var n=null===(t=e.content)||void 0===t?void 0:t.match(f);if(n)return n[0]}else if(Array.isArray(e.content)){for(var r,a=s(e.content);!(r=a()).done;){var o=p(r.value);if(null!=o)return o}return null}return null}var v={shouldShowEveryoneGuard:function(e,t){var n=t.getGuildId();return(0,r.default)(n,"isGuildChannel with null guildId"),c(e,t)>30&&i.default.can(l.Permissions.MENTION_EVERYONE,t)},everyoneMemberCount:c,extractEveryoneRole:function(e,t){for(var n,r=s(a.default.parsePreprocessor(t,e));!(n=r()).done;){var o=p(n.value);if(null!=o)return o}return null}};t.default=v},function(e,t,n){e.exports=n.p+"14ce1e8528e32f1a13659e476a3c0716.svg"},function(e,t,n){e.exports=n.p+"273ec1aee7edca70e8038dfcb26436b1.svg"},function(e,t,n){e.exports=n.p+"006ca0d19c6267812c15ff9611d4e6d5.svg"},function(e,t,n){e.exports=n.p+"69599bf4774238ea687b769da6a9595e.svg"},function(e,t,n){e.exports=n.p+"b3bbdcadbdb67b466e9330da22ed0221.svg"},function(e,t,n){e.exports=n.p+"5947547ef2316bb7db5650751f2ccb2f.svg"},function(e,t,n){e.exports=n.p+"c613a8513d53c5b2a4d5941419100a11.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BotTypes",{enumerable:!0,get:function(){return o.BotTagTypes}}),t.default=void 0;s(n(0));var r,a=l(n(9)),o=s(n(1222)),i=l(n(7468));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var f=function(e){var t=e.name,n=e.discriminator,r=e.invertBotTagColor,l=e.nameColor,u=e.className,s=e.botType,f=e.usernameClass,c=e.discriminatorClass,p=e.botClass,v=e.botVerified,y=void 0!==v&&v,m=e.style,_=e.useRemSizes,h=void 0!==_&&_,E=e.usernameIcon;return d("div",{className:(0,a.default)(u,i.default.nameTag),style:m},void 0,d("span",{className:(0,a.default)(i.default.username,f),style:null!=l?{color:l}:void 0},void 0,E,t),null!=n?d("span",{className:null!=c?c:void 0},void 0,"#",n):null,null!=s?d(o.default,{type:s,invertColor:r,className:(0,a.default)(p,i.default.bot),verified:y,useRemSizes:h}):null)};f.displayName="NameTag";var c=f;t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseBioReact=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(718)),a=i(n(8798)),o=i(n(1284));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}var u=(0,i(n(1285)).default)([o.default.BIO_RULES,(0,a.default)({enableBuildOverrides:!1})]),s=r.reactParserFor(u);t.parseBioReact=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.user,n=e.premiumSince,r=e.premiumGuildSince,f=e.openPremiumSettings,v=[];function y(){o.ComponentDispatch.dispatch(s.ComponentActions.POPOUT_CLOSE),(0,l.closeUserProfileModal)(),a.default.open(s.UserSettingsSections.HYPESQUAD_ONLINE)}t.hasFlag(s.UserFlags.STAFF)&&v.push({tooltip:d.default.Messages.STAFF_BADGE_TOOLTIP,onClick:function(){return window.open(s.MarketingURLs.COMPANY,"_blank")},key:u.BadgeKeys.STAFF});t.hasFlag(s.UserFlags.PARTNER)&&v.push({tooltip:d.default.Messages.PARTNER_BADGE_TOOLTIP,onClick:function(){return window.open(s.MarketingURLs.PARTNERS,"_blank")},key:u.BadgeKeys.PARTNER});t.hasFlag(s.UserFlags.CERTIFIED_MODERATOR)&&v.push({tooltip:d.default.Messages.CERTIFIED_MODERATOR_BADGE_TOOLTIP,onClick:function(){return window.open("https://discord.com/moderation","_blank")},key:u.BadgeKeys.CERTIFIED_MODERATOR});t.hasFlag(s.UserFlags.HYPESQUAD)&&v.push({tooltip:d.default.Messages.HYPESQUAD_BADGE_TOOLTIP,onClick:y,key:u.BadgeKeys.HYPESQUAD});t.hasFlag(s.UserFlags.HYPESQUAD_ONLINE_HOUSE_1)&&v.push({tooltip:d.default.Messages.HYPESQUAD_ONLINE_BADGE_TOOLTIP.format({houseName:d.default.Messages.HYPESQUAD_HOUSE_1}),onClick:y,key:u.BadgeKeys.HYPESQUAD_ONLINE_HOUSE_1});t.hasFlag(s.UserFlags.HYPESQUAD_ONLINE_HOUSE_2)&&v.push({tooltip:d.default.Messages.HYPESQUAD_ONLINE_BADGE_TOOLTIP.format({houseName:d.default.Messages.HYPESQUAD_HOUSE_2}),onClick:y,key:u.BadgeKeys.HYPESQUAD_ONLINE_HOUSE_2});t.hasFlag(s.UserFlags.HYPESQUAD_ONLINE_HOUSE_3)&&v.push({tooltip:d.default.Messages.HYPESQUAD_ONLINE_BADGE_TOOLTIP.format({houseName:d.default.Messages.HYPESQUAD_HOUSE_3}),onClick:y,key:u.BadgeKeys.HYPESQUAD_ONLINE_HOUSE_3});t.hasFlag(s.UserFlags.BUG_HUNTER_LEVEL_1)&&v.push({tooltip:d.default.Messages.BUG_HUNTER_BADGE_TOOLTIP,onClick:function(){return window.open(c,"_blank")},key:u.BadgeKeys.BUG_HUNTER_LEVEL_1});t.hasFlag(s.UserFlags.BUG_HUNTER_LEVEL_2)&&v.push({tooltip:d.default.Messages.BUG_HUNTER_BADGE_TOOLTIP,onClick:function(){return window.open(c,"_blank")},key:u.BadgeKeys.BUG_HUNTER_LEVEL_2});t.hasFlag(s.UserFlags.VERIFIED_DEVELOPER)&&v.push({tooltip:d.default.Messages.VERIFIED_DEVELOPER_BADGE_TOOLTIP,key:u.BadgeKeys.EARLY_VERIFIED_DEVELOPER});t.hasFlag(s.UserFlags.PREMIUM_EARLY_SUPPORTER)&&v.push({tooltip:d.default.Messages.EARLY_SUPPORTER_TOOLTIP,onClick:f,key:u.BadgeKeys.EARLY_SUPPORTER});null!=n&&v.push({tooltip:d.default.Messages.PREMIUM_BADGE_TOOLTIP.format({date:n}),onClick:f,key:u.BadgeKeys.PREMIUM});null!=r&&v.push({tooltip:d.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_TOOLTIP.format({date:r}),onClick:f,key:p[(0,i.getUserLevel)(r)]});return v};var r,a=f(n(473)),o=n(121),i=n(5935),l=n(8310),u=n(8433),s=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}var c=s.INVITE_ENDPOINT+"/discord-testers",p=((r={})[s.UserPremiumGuildSubscriptionLevels.LEVEL_1]=u.BadgeKeys.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_1,r[s.UserPremiumGuildSubscriptionLevels.LEVEL_2]=u.BadgeKeys.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_2,r[s.UserPremiumGuildSubscriptionLevels.LEVEL_3]=u.BadgeKeys.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_3,r[s.UserPremiumGuildSubscriptionLevels.LEVEL_4]=u.BadgeKeys.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_4,r[s.UserPremiumGuildSubscriptionLevels.LEVEL_5]=u.BadgeKeys.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_5,r[s.UserPremiumGuildSubscriptionLevels.LEVEL_6]=u.BadgeKeys.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_6,r[s.UserPremiumGuildSubscriptionLevels.LEVEL_7]=u.BadgeKeys.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_7,r[s.UserPremiumGuildSubscriptionLevels.LEVEL_8]=u.BadgeKeys.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_8,r[s.UserPremiumGuildSubscriptionLevels.LEVEL_9]=u.BadgeKeys.PREMIUM_GUILD_SUBSCRIPTION_LEVEL_9,r)},function(e,t,n){e.exports=n.p+"1d3c9e1123aee11a325af328609d1274.svg"},function(e,t,n){e.exports=n.p+"dd50d32cf4fee241b2fa022d8c0435ae.svg"},function(e,t,n){e.exports=n.p+"7294cc730410a1caeceeca736f800b42.svg"},function(e,t,n){e.exports=n.p+"496aa1174817ec391612f745dc8e0725.svg"},function(e,t,n){e.exports=n.p+"ce54a4f8c0e133a6f2d60336e7acac7d.svg"},function(e,t,n){e.exports=n.p+"c0c9db2de008e61a1a720581ca175fa1.svg"},function(e,t,n){e.exports=n.p+"556158300f0dca136d3c902586ff1316.svg"},function(e,t,n){e.exports=n.p+"ba38c1c57dfccb94127e53b7ac502a90.svg"},function(e,t,n){e.exports=n.p+"42ecb902decfc8e83a7446a0904b1e18.svg"},function(e,t,n){e.exports=n.p+"46f6a28f462889f1a36cfca2591fcade.svg"},function(e,t,n){e.exports=n.p+"5c6bb5c4640972078fc993f1b5f503ce.svg"},function(e,t,n){e.exports=n.p+"2af69d4f9d2ff38a7cf76fab0907ea7a.svg"},function(e,t,n){e.exports=n.p+"d66ce47c4ab7817190af9544f97e98cc.svg"},function(e,t,n){e.exports=n.p+"f5354673c9cff61c1dcc70081ef774e5.svg"},function(e,t,n){e.exports=n.p+"995ecfdbdf94ad84dd4d802c104e4630.svg"},function(e,t,n){e.exports=n.p+"473dadec13ab7e90e209cc60fccb31c5.svg"},function(e,t,n){e.exports=n.p+"58f11abcf3c13812bff969baaeb84d82.svg"},function(e,t,n){e.exports=n.p+"53828e0c0fb6676440ad11b5d2586241.svg"},function(e,t,n){e.exports=n.p+"e04ce699dcd2fd50d352a384511687a9.svg"},function(e,t,n){e.exports=n.p+"f62be1ec9bdd82d3d77158ad81830e68.svg"},function(e,t,n){e.exports=n.p+"877dc8bece1590e63fac6d5a0cd2a225.svg"},function(e,t,n){e.exports=n.p+"62ac6016dc438a1fe4926ed43d3fe280.webm"},function(e,t,n){e.exports=n.p+"6b3cc6ff5c09de83cc37561a43304dee.mp4"},function(e,t,n){e.exports=n.p+"1923b5f96b83785235595042bd7f5a0d.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-06_context_menu_commands",label:"Context Menu Commands",defaultConfig:{allowCommands:!1},treatments:[{id:1,label:"Enables the commands in context menu",config:{allowCommands:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=n(150),o=n(8290),i=n(8260),l=(r=n(6))&&r.__esModule?r:{default:r};var u=[{id:o.SECTION_BUILT_IN,type:i.ApplicationCommandSectionType.BUILT_IN,name:l.default.Messages.COMMAND_SECTION_BUILT_IN_NAME,icon:a.DEFAULT_AVATARS[0]}];t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(8)),a=n(286),o=n(8290),i=n(8260),l=n(1),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(e){switch(e){case l.ChannelTextAreaIntegrations.GIPHY.title:case l.ChannelTextAreaIntegrations.TENOR.title:return u.default.Messages.COMMAND_GIPHY_DESCRIPTION;default:return""}}var f=[].concat((0,r.default)(l.ChannelTextAreaIntegrations).values().map((function(e){return{id:e.commandId,name:e.command,target:a.ApplicationCommandTarget.CHAT,type:i.ApplicationCommandType.BUILT_IN_INTEGRATION,applicationId:o.SECTION_BUILT_IN,description:d(e.title),options:e.type===l.ChannelTextAreaIntegrationTypes.GIF?[{name:"query",type:i.ApplicationCommandOptionType.STRING,description:u.default.Messages.COMMAND_GIPHY_QUERY_DESCRIPTION,required:!0}]:[],integrationType:e.type,integrationTitle:e.title}})).value());t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i,l=f(n(3)),u=f(n(2)),s=f(n(8341)),d=f(n(9364));n(1);function f(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(){o=null,a=null,r=null,i=null}function v(e){var t=e.guildId;if(o!==t)return!1;y()}function y(){var e;a=null===(e=a)||void 0===e?void 0:e.markStale()}var m=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var o=r.prototype;return o.initialize=function(){this.waitFor(s.default)},o.getGuildCommands=function(e,t){var n,r;return(null===(n=a)||void 0===n?void 0:n.guildId)===e&&(null===(r=a)||void 0===r?void 0:r.commandTarget)===t?a:null},r}(l.default.Store))(u.default,{LOGOUT:function(e){return p()},CLEAR_GUILD_DISCOVERY_COMMANDS:function(e){return p()},CHANNEL_SELECT:function(e){var t=e.guildId;if(o===t)return!1;o=t,a=null,r=null,i=null},GUILD_APPLICATION_COMMANDS_UPDATE:function(e){var t,n=e.nonce,o=e.applicationCommands;n===r&&null!=i&&(a=null===(t=a)||void 0===t?void 0:t.loadComplete(o,i.isBefore,i.offset,i.commandTarget,i.jumpDescriptor),i=null)},INTEGRATION_DELETE:function(e){var t=e.guildId,n=e.applicationId;if(o!==t)return!1;null!=n&&y()},APPLICATION_COMMAND_DISCOVERY_REQUEST:function(e){var t=e.guildId,n=e.offset,o=e.isBefore,l=e.jumpDescriptor,u=e.nonce,s=e.commandTarget;r=u,i={guildId:t,offset:n,isBefore:o,jumpDescriptor:l,commandTarget:s},null!=a&&a.guildId===t||(a=new d.default(t)),a=a.loadStart()},APPLICATIONS_REQUEST:function(e){var t=e.nonce,n=e.guildId,o=e.commandTarget;r=t,i={guildId:n,offset:0,isBefore:!1,commandTarget:o},(null==a||a.guildId!==n||a.isStale)&&(a=new d.default(n))},APPLICATION_COMMAND_CREATE:v,APPLICATION_COMMAND_DELETE:v,APPLICATION_COMMAND_UPDATE:v});t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(8279);t.default=function e(t){var n=this;this.commandTarget=null,this.commandsArray=[],this._map={},this._commandIds=new Set,this.topOffset=-1,this.bottomOffset=-1,this.jumpDescriptor=null,this.jumpSequenceId=1,this.loadingMore=!1,this.isStale=!1,this.mutate=function(t){var r=new e(n.guildId);return r.commandTarget=n.commandTarget,r.commandsArray=n.commandsArray,r._map=n._map,r._commandIds=n._commandIds,r.topOffset=n.topOffset,r.bottomOffset=n.bottomOffset,r.jumpDescriptor=n.jumpDescriptor,r.loadingMore=n.loadingMore,r.jumpSequenceId=n.jumpSequenceId,r.isStale=n.isStale,t(r),r},this.loadStart=function(){return n.mutate((function(e){e.loadingMore=!0,e.jumpDescriptor=null}))},this.loadComplete=function(e,t,r,a,o){return(null!=o?n.reset(e,r):n.merge(e,t)).mutate((function(e){e.jumpDescriptor=o,e.loadingMore=!1,e.commandTarget=a,o&&(e.jumpSequenceId=n.jumpSequenceId+1)}))},this.reset=function(e,t){return n.mutate((function(n){n.commandsArray=(0,r.buildApplicationCommands)(e),n._map={},n.commandsArray.forEach((function(e){return n._map[e.id]=e})),n._commandIds.clear(),e.forEach((function(e){return e.id&&n._commandIds.add(e.id)})),n.topOffset=t,n.bottomOffset=Math.max(t+e.length-1,t),n.isStale=!1}))},this.merge=function(e,t){return n.mutate((function(n){var a=e.filter((function(e){return null!=e.id&&(!n._commandIds.has(e.id)&&(n._commandIds.add(e.id),!0))})).length,o=(0,r.buildApplicationCommands)(e).filter((function(e){var t=n._map[e.id];return n._map[e.id]=e,null==t||(n.commandsArray[n.commandsArray.indexOf(t)]=e,!1)}));n.commandsArray=t?[].concat(o,n.commandsArray):[].concat(n.commandsArray,o),a>0&&(t?n.topOffset-=a:n.bottomOffset+=a,n.topOffset=-1===n.topOffset?0:n.topOffset,n.bottomOffset=-1===n.bottomOffset?0:n.bottomOffset,n.isStale=!1)}))},this.markStale=function(){return n.mutate((function(e){e.isStale=!0}))},this.guildId=t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r,a,o=f(n(0)),i=f(n(248)),l=f(n(150)),u=n(8260),s=(r=n(7476))&&r.__esModule?r:{default:r};function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function c(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.section,n=e.isSelected,r=e.width,a=e.height,d=e.className,f=o.useState(!1),p=f[0],v=f[1],y=o.useCallback((function(){return v(!0)}),[]),m=o.useCallback((function(){return v(!1)}),[]),_=o.useMemo((function(){switch(t.type){case u.ApplicationCommandSectionType.GUILD:return l.default.getApplicationIconURL({id:t.id,icon:t.icon,bot:t.bot});case u.ApplicationCommandSectionType.DM:return l.default.getUserAvatarURL({id:t.id,avatar:t.icon,discriminator:"0",bot:!0})}return l.DEFAULT_AVATARS[0]}),[t]);return c("div",{className:d,onFocus:y,onBlur:m,onMouseOver:y,onMouseLeave:m},void 0,c(i.default,{className:s.default.mask,mask:n||p?i.MaskIDs.SQUIRCLE:i.MaskIDs.AVATAR_DEFAULT,width:r,height:a},void 0,c("img",{alt:"",className:s.default.icon,style:{width:r,height:a},src:_})))}p.displayName="ApplicationCommandDiscoveryApplicationIcon"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=s(n(8606)),l=n(8260),u=s(n(7477));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e){var t,n=e.section,r=e.className,s=e.width,d=e.height,p=e.padding,v=e.isSelected,y=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["section","className","width","height","padding","isSelected"]),m=function(e){if(e.type===l.ApplicationCommandSectionType.BUILT_IN)return i.default}(n);return f("div",{className:(0,o.default)(u.default.wrapper,r,(t={},t[u.default.selected]=v,t)),style:{width:s,height:d,padding:null!=p?p:0}},void 0,null!=m?a.createElement(m,c({className:u.default.icon,width:s,height:d},y)):null)}p.displayName="ApplicationCommandDiscoverySectionIcon"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(1251)),o=i(n(7478));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var s=u(a.default,{dotRadius:4,themed:!0}),d=function(){return u("div",{className:o.default.loadingWrapper},void 0,s)};d.displayName="ApplicationCommandLoadingMenuItem";var f=d;t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_AGE_OPTIONS=t.INVITE_OPTIONS_FOREVER=t.INVITE_OPTIONS_7_DAYS=t.INVITE_OPTIONS_1_DAY=t.INVITE_OPTIONS_12_HOURS=t.INVITE_OPTIONS_6_HOURS=t.INVITE_OPTIONS_1_HOUR=t.INVITE_OPTIONS_30_MINUTES=t.MAX_USES_OPTIONS=t.INVITE_OPTIONS_100_TIMES=t.INVITE_OPTIONS_50_TIMES=t.INVITE_OPTIONS_25_TIMES=t.INVITE_OPTIONS_10_TIMES=t.INVITE_OPTIONS_5_TIMES=t.INVITE_OPTIONS_ONCE=t.INVITE_OPTIONS_UNLIMITED=void 0;var r,a=(r=n(6))&&r.__esModule?r:{default:r};function o(e,t){return{value:e,get label(){return t()}}}var i=o(0,(function(){return a.default.Messages.MAX_USES.format({maxUses:0})}));t.INVITE_OPTIONS_UNLIMITED=i;var l=o(1,(function(){return a.default.Messages.MAX_USES.format({maxUses:1})}));t.INVITE_OPTIONS_ONCE=l;var u=o(5,(function(){return a.default.Messages.MAX_USES.format({maxUses:5})}));t.INVITE_OPTIONS_5_TIMES=u;var s=o(10,(function(){return a.default.Messages.MAX_USES.format({maxUses:10})}));t.INVITE_OPTIONS_10_TIMES=s;var d=o(25,(function(){return a.default.Messages.MAX_USES.format({maxUses:25})}));t.INVITE_OPTIONS_25_TIMES=d;var f=o(50,(function(){return a.default.Messages.MAX_USES.format({maxUses:50})}));t.INVITE_OPTIONS_50_TIMES=f;var c=o(100,(function(){return a.default.Messages.MAX_USES.format({maxUses:100})}));t.INVITE_OPTIONS_100_TIMES=c;var p=[i,l,u,s,d,f,c];t.MAX_USES_OPTIONS=p;var v=o(1800,(function(){return a.default.Messages.DURATION_MINUTES.format({minutes:30})}));t.INVITE_OPTIONS_30_MINUTES=v;var y=o(3600,(function(){return a.default.Messages.DURATION_HOURS.format({hours:1})}));t.INVITE_OPTIONS_1_HOUR=y;var m=o(21600,(function(){return a.default.Messages.DURATION_HOURS.format({hours:6})}));t.INVITE_OPTIONS_6_HOURS=m;var _=o(43200,(function(){return a.default.Messages.DURATION_HOURS.format({hours:12})}));t.INVITE_OPTIONS_12_HOURS=_;var h=o(86400,(function(){return a.default.Messages.DURATION_DAYS.format({days:1})}));t.INVITE_OPTIONS_1_DAY=h;var E=o(604800,(function(){return a.default.Messages.DURATION_DAYS.format({days:7})}));t.INVITE_OPTIONS_7_DAYS=E;var g=o(0,(function(){return a.default.Messages.MAX_AGE_NEVER}));t.INVITE_OPTIONS_FOREVER=g;var S=[v,y,m,_,h,E,g];t.MAX_AGE_OPTIONS=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=O;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(23)),i=n(3),l=n(389),u=h(n(8322)),s=h(n(8264)),d=h(n(8268)),f=h(n(10)),c=h(n(56)),p=h(n(70)),v=h(n(12)),y=h(n(8426)),m=h(n(278)),_=h(n(258));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(){return(S=Object.assign||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}).apply(this,arguments)}function O(e){var t=e.className,n=e.userId,r=e.channelId,h=(0,i.useStateFromStores)([v.default],(function(){return v.default.getUser(n)})),E=(0,i.useStateFromStores)([f.default],(function(){return f.default.getChannel(r)})),O=E?E.getGuildId():null,I=null!=h&&null!=O&&null!=r?function(e){(0,l.openContextMenu)(e,(function(e){return a.createElement(u.default,S({},e,{user:h,channelId:r,guildId:O}))}))}:void 0,T=(0,i.useStateFromStores)([f.default,c.default,p.default],(function(){return _.default.getName(O,r,h)}));return g(m.default,{preload:null==h?void 0:function(){return(0,s.default)(h.id,h.getAvatarURL(O||void 0))},renderPopout:function(e){return(0,o.default)(null!=h,"Unexpected missing user"),a.createElement(d.default,S({userId:h.id,guildId:null!=O?O:void 0,channelId:r},e))},position:m.default.Positions.RIGHT},void 0,(function(e){return a.createElement(y.default,S({className:t,onContextMenu:I},e),"@"+T)}))}O.displayName="UserMention"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{content:l(o.default,{message:e}),hasSpoilerEmbeds:!1}};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a,o=(r=n(8609))&&r.__esModule?r:{default:r};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateAnalyticsMetadata=function(e,t,n){var a,o=null!=t?((a={})[t]=1,a):{},i=null!=n?n:{},l=i.offset,u=i.limit,s=i.results,d=i.totalResults;return{search_type:r.SearchTypes.GIF,load_id:e,limit:u,offset:l,page:null!=u&&null!=l?Math.floor(l/u)+1:1,total_results:d,page_results:s?s.length:null,num_modifiers:Object.keys(o).length,modifiers:o}};var r=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=D(n(0)),o=R(n(9)),i=R(n(5)),l=R(n(3)),u=R(n(473)),s=n(8614),d=R(n(8273)),f=R(n(8299)),c=n(42),p=R(n(11)),v=R(n(8557)),y=R(n(120)),m=R(n(12)),_=R(n(257)),h=R(n(373)),E=R(n(29)),g=R(n(61)),S=R(n(55)),O=R(n(8508)),I=n(41),T=R(n(13)),C=D(n(402)),b=R(n(8834)),M=n(8835),N=n(1),A=R(n(6)),P=R(n(7556));function R(e){return e&&e.__esModule?e:{default:e}}function L(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return L=function(){return e},e}function D(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=L();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function w(){return(w=Object.assign||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}).apply(this,arguments)}function j(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t,n){return t&&j(e.prototype,t),n&&j(e,n),e}function U(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,G(e,t)}function G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function F(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function B(e){var t=e.onClick,n=e.libraryApplication;return F(g.default,{className:P.default.libraryLink,onClick:t},void 0,F(O.default,{className:P.default.libraryIcon}),F("div",{},void 0,n.isHidden()?A.default.Messages.APPLICATION_STORE_PURCHASE_IN_LIBRARY_HIDDEN:A.default.Messages.APPLICATION_STORE_PURCHASE_IN_LIBRARY))}B.displayName="LibraryLink";var H=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).renderMedia=function(){var e;return F("div",{className:(0,o.default)(P.default.invalidPoop,(e={},e[P.default.invalidPoopHorizontal]=t.isHorizontal,e))})},t.renderTitle=function(){return t.props.isSelfGift?A.default.Messages.GIFT_EMBED_INVALID_TITLE_SELF:A.default.Messages.GIFT_EMBED_INVALID_TITLE_OTHER},t.renderActions=function(){return t.props.isSelfGift?F(E.default,{size:E.default.Sizes.SMALL,onClick:t.handleViewInventory},void 0,A.default.Messages.GIFT_INVENTORY):F(E.default,{disabled:!0,size:E.default.Sizes.SMALL},void 0,A.default.Messages.GIFT_EMBED_BUTTON_ACCEPT)},t.renderTagline=function(){return t.props.isSelfGift?A.default.Messages.GIFT_EMBED_INVALID_TAGLINE_SELF:A.default.Messages.GIFT_EMBED_INVALID_TAGLINE_OTHER},t}U(t,e);var n=t.prototype;return n.handleViewInventory=function(){u.default.open(N.UserSettingsSections.INVENTORY)},n.render=function(){return F(s.ResponsiveEmbedTile,{isHorizontal:this.isHorizontal,renderTitle:this.renderTitle,renderTagline:this.renderTagline,renderMedia:this.renderMedia,renderActions:this.renderActions})},k(t,[{key:"isHorizontal",get:function(){return this.props.width>=s.HORIZONTAL_EMBED_BREAKPOINT}}]),t}(a.PureComponent);H.displayName="InvalidGift";var x=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleViewLibrary=function(e){var n=t.props.libraryApplication;e.preventDefault(),null!=n&&n.isHidden()?(0,c.transitionTo)(N.Routes.APPLICATION_LIBRARY_SETTINGS):(0,c.transitionTo)(N.Routes.APPLICATION_LIBRARY,{state:{applicationId:null!=n?n.id:null}})},t.handleVerificationClick=function(e){e.preventDefault(),u.default.open(N.UserSettingsSections.ACCOUNT)},t.handleAccept=function(e){var n=t.props,r=n.channelId,o=n.code;e.preventDefault(),e.stopPropagation(),T.default.track(N.AnalyticEvents.OPEN_MODAL,{type:"gift_accept",location:w({},t.analyticsLocation,{object:N.AnalyticsObjects.BUTTON_CTA})}),(0,I.openModal)((function(e){return a.createElement(b.default,w({code:o,channelContext:r},e))}))},t.handleEmbedClick=function(e){var n=t.props.giftCode;null!=n&&n.isSubscription&&(e.preventDefault(),u.default.open(N.UserSettingsSections.PREMIUM))},t}U(t,e);var n=t.prototype;return n.renderActions=function(e){var t=this.props.libraryApplication;return F(S.default,{justify:S.default.Justify.BETWEEN},void 0,F(S.default,{},void 0,this.renderButton(e),null==t||e.isSubscription?null:F(B,{onClick:this.handleViewLibrary,libraryApplication:t})),F(S.default,{align:S.default.Align.END,justify:S.default.Justify.END,className:P.default.metadata,direction:S.default.Direction.VERTICAL},void 0,e.hasMultipleCopies?F("div",{},void 0,this.renderGiftCodeCopiesLeft(e)):null,e.redeemed||e.isClaimed||null!=t||null==e.expiresAt?null:F("div",{},void 0,A.default.Messages.GIFT_EMBED_EXPIRATION.format({hours:e.expiresAt.diff((0,i.default)(),"h")}))))},n.renderGiftCodeCopiesLeft=function(e){return(e.isSubscription?A.default.Messages.GIFT_EMBED_SUBSCRIPTIONS_LEFT:A.default.Messages.GIFT_EMBED_COPIES_LEFT).format({remaining:e.remainingUses,total:e.maxUses})},n.renderButton=function(e){var t=this.props,n=t.libraryApplication,r=t.currentUser,o=t.isSelfGift,i={onClick:this.handleAccept,color:E.default.Colors.GREEN},l=!e.isSubscription&&null!=n||!e.isSelfRedeemable&&o||e.isExistingPremiumSubscriptionDisallowed&&r.hasPremiumPerks;return(e.redeemed||l||e.isClaimed||!r.verified)&&(i.color=E.default.Colors.PRIMARY,i.disabled=!0),a.createElement(E.default,w({},i,{size:E.default.Sizes.SMALL}),e.redeemed?A.default.Messages.GIFT_EMBED_BUTTON_CLAIMED:A.default.Messages.GIFT_EMBED_BUTTON_ACCEPT)},n.renderTitle=function(e){var t=this.props,n=t.isSelfGift;return null==t.sku?null:e.isSubscription?n?A.default.Messages.GIFT_EMBED_TITLE_SUBSCRIPTION_SELF:A.default.Messages.GIFT_EMBED_TITLE_SUBSCRIPTION:n?A.default.Messages.GIFT_EMBED_TITLE_SELF:A.default.Messages.GIFT_EMBED_TITLE},n.renderBody=function(e){var t=this.props,n=t.libraryApplication,r=t.isSelfGift,a=t.sku,o=t.gifter,i=t.subscriptionPlan,l=t.currentUser;if(null==a)return A.default.Messages.LOADING;var u=a.isPreorder()?A.default.Messages.PREORDER_SKU_NAME.format({name:a.name}):a.name;if(e.redeemed)return e.isSubscription?A.default.Messages.GIFT_EMBED_BODY_CLAIMED_SELF_SUBSCRIPTION:A.default.Messages.GIFT_EMBED_BODY_CLAIMED_SELF.format({skuName:u,onViewInLibrary:this.handleViewLibrary});if(!e.isSubscription&&null!=n)return A.default.Messages.GIFT_EMBED_BODY_OWNED.format({skuName:u,onViewInLibrary:this.handleViewLibrary});if(e.isClaimed)return A.default.Messages.GIFT_EMBED_BODY_CLAIMED_OTHER;if(!l.verified)return A.default.Messages.GIFT_EMBED_BODY_REQUIRES_VERIFICATION.format({onClick:this.handleVerificationClick});if(r)return e.isSelfRedeemable?A.default.Messages.GIFT_EMBED_BODY_SELF:A.default.Messages.GIFT_EMBED_BODY_SELF_NOT_REDEEMABLE.format({skuName:u});if(e.isExistingPremiumSubscriptionDisallowed)return A.default.Messages.GIFT_EMBED_BODY_SUBSCRIPTION_ALREADY_ACTIVE;if(e.hasMultipleCopies)return null!=o?e.isSubscription?A.default.Messages.GIFT_EMBED_BODY_SUBSCRIPTION_GIVEAWAY.format({username:o.tag,maxUses:e.maxUses,skuName:u}):A.default.Messages.GIFT_EMBED_BODY_GIVEAWAY.format({username:o.tag,totalCopies:e.maxUses,skuName:u}):e.isSubscription?A.default.Messages.GIFT_EMBED_BODY_SUBSCRIPTION_NO_USER_GIVEAWAY.format({maxUses:e.maxUses,skuName:u}):A.default.Messages.GIFT_EMBED_BODY_NO_USER_GIVEAWAY.format({totalCopies:e.maxUses,skuName:u});if(e.isSubscription){if(null==i)throw new Error("How could you let this happen??");return null!=o?(i.interval===N.SubscriptionIntervalTypes.MONTH?A.default.Messages.GIFT_EMBED_BODY_SUBSCRIPTION_DEFAULT_MONTHS:A.default.Messages.GIFT_EMBED_BODY_SUBSCRIPTION_DEFAULT_YEARS).format({username:o.tag,skuName:u,intervalCount:i.intervalCount}):(i.interval===N.SubscriptionIntervalTypes.MONTH?A.default.Messages.GIFT_EMBED_BODY_SUBSCRIPTION_NO_USER_DEFAULT_MONTHS:A.default.Messages.GIFT_EMBED_BODY_SUBSCRIPTION_NO_USER_DEFAULT_YEARS).format({skuName:u,intervalCount:i.intervalCount})}return null!=o?A.default.Messages.GIFT_EMBED_BODY_DEFAULT.format({username:o.tag}):A.default.Messages.GIFT_EMBED_BODY_NO_USER_DEFAULT},n.render=function(){var e=this,t=this.props,n=t.giftCode,r=t.resolved,a=t.width,o=t.isSelfGift;return null==n||n.revoked?r?F(H,{isSelfGift:o,width:a}):F(s.ResponsiveLoadingEmbedTile,{isHorizontal:a>=s.HORIZONTAL_EMBED_BREAKPOINT}):F(M.StoreEmbedWithoutDimensions,{skuId:n.skuId,onEmbedClick:this.handleEmbedClick,analyticsSection:N.AnalyticsSections.GIFT_CODE_EMBED,renderCustomActions:function(){return e.renderActions(n)},renderCustomTitle:function(){return e.renderTitle(n)},renderCustomTagline:function(){return e.renderBody(n)},width:a})},k(t,[{key:"analyticsLocation",get:function(){return w({},this.props.analyticsContext.location,{section:N.AnalyticsSections.GIFT_CODE_EMBED})}}]),t}(a.Component);x.displayName="GiftCodeEmbed";var V=(0,f.default)((0,d.default)(x));var W=l.default.connectStores([v.default,h.default,m.default,y.default,_.default,p.default],(function(e){var t=e.code,n=e.author,r=v.default.get(t),a=null!=r?h.default.get(r.skuId):null;return{sku:a,giftCode:r,gifter:null!=r&&null!=r.userId?m.default.getUser(r.userId):null,subscriptionPlan:null!=r&&null!=r.subscriptionPlanId?_.default.get(r.subscriptionPlanId):null,isSelfGift:null!=r?p.default.getId()===r.userId:p.default.getId()===n.id,currentUser:m.default.getCurrentUser(),resolved:v.default.getIsResolved(t),libraryApplication:null!=a&&null!=r?C.firstLibraryApplicationForGiftCode(r,a,y.default):null}}))(V);t.default=W},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(62)),a=n(9374),o=i(n(89));function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){var t,n;function r(t){var n;return(n=e.call(this)||this).id=t.id,n.skuId=t.skuId,n.summary=t.summary,n.tagline=t.tagline,n.flavorText=t.flavorText,n.description=t.description,n.carouselItems=t.carouselItems||[],n.childSkuIds=t.childSkuIds||[],n.alternativeSkuIds=t.alternativeSkuIds||[],n.assets=t.assets||[],n.staffNotes=t.staffNotes,n.guild=t.guild,n.thumbnail=t.thumbnail||null,n.boxArt=t.boxArt||null,n.previewVideo=t.previewVideo||null,n.headerBackground=t.headerBackground||null,n.headerLogoDarkTheme=t.headerLogoDarkTheme||null,n.headerLogoLightTheme=t.headerLogoLightTheme||null,n.heroBackground=t.heroBackground||null,n.heroVideo=t.heroVideo||null,n.entitlementBranchId=t.entitlementBranchId||null,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n),r.createFromServer=function(e){var t=e.staff_notes;return new r({id:e.id,skuId:e.sku.id,summary:e.summary,tagline:e.tagline,flavorText:e.flavor_text,description:e.description,childSkuIds:null!=e.child_skus?e.child_skus.map((function(e){return e.id})):null,alternativeSkuIds:null!=e.alternative_skus?e.alternative_skus.map((function(e){return e.id})):null,carouselItems:null!=e.carousel_items?e.carousel_items.map((function(e){return{assetId:e.asset_id,youtubeVideoId:e.youtube_video_id}})):null,assets:null!=e.assets?e.assets.map(a.transformStoreAssetFromServer):null,staffNotes:null!=t?{content:t.content,user:null!=t.user?new o.default(t.user):null}:null,guild:null!=e.guild?{id:e.guild.id,name:e.guild.name,icon:e.guild.icon,approximateMemberCount:e.guild.approximate_member_count,approximatePresenceCount:e.guild.approximate_presence_count}:null,thumbnail:null!=e.thumbnail?(0,a.transformStoreAssetFromServer)(e.thumbnail):null,previewVideo:null!=e.preview_video?(0,a.transformStoreAssetFromServer)(e.preview_video):null,headerBackground:null!=e.header_background?(0,a.transformStoreAssetFromServer)(e.header_background):null,headerLogoDarkTheme:null!=e.header_logo_dark_theme?(0,a.transformStoreAssetFromServer)(e.header_logo_dark_theme):null,headerLogoLightTheme:null!=e.header_logo_light_theme?(0,a.transformStoreAssetFromServer)(e.header_logo_light_theme):null,boxArt:null!=e.box_art?(0,a.transformStoreAssetFromServer)(e.box_art):null,heroBackground:null!=e.hero_background?(0,a.transformStoreAssetFromServer)(e.hero_background):null,heroVideo:null!=e.hero_video?(0,a.transformStoreAssetFromServer)(e.hero_video):null,entitlementBranchId:e.entitlement_branch_id})},r.prototype.isSlimDirectoryVersion=function(){return null==this.description},r}(r.default);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transformStoreAssetFromServer=function(e){return{id:e.id,filename:e.filename,size:e.size,width:e.width,height:e.height,mimeType:e.mime_type}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=c(n(473)),o=c(n(8735)),i=n(1225),l=n(8289),u=n(280),s=c(n(5953)),d=n(1),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e){return null!=(null==e?void 0:e.getGuildId())?d.AnalyticsPages.GUILD_CHANNEL:(null==e?void 0:e.isGroupDM())||(null==e?void 0:e.isPrivate())?d.AnalyticsPages.DM_CHANNEL:null}function m(e){var t=e.channel,c=e.onClose,p=e.content,m=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["channel","onClose","content"]);return r.createElement(s.default,v({artURL:n(8887),type:u.PremiumUpsellTypes.MESSAGE_LENGTH_UPSELL,title:f.default.Messages.PREMIUM_MESSAGE_LENGTH_ROADBLOCK_MODAL_HEADER,body:f.default.Messages.PREMIUM_MESSAGE_LENGTH_ROADBLOCK_MODAL_BODY.format({maxLength:d.MAX_MESSAGE_LENGTH,onLearnMore:function(){c(),a.default.open(d.UserSettingsSections.PREMIUM,null,{openWithoutBackstack:!0})}}),premiumType:d.PremiumTypes.TIER_2,analyticsSource:{page:y(t)},analyticsLocation:{section:d.AnalyticsSections.MESSAGE_LENGTH_UPSELL_MODAL,object:d.AnalyticsObjects.BUTTON_CTA},onClose:c,secondaryCTA:f.default.Messages.PREMIUM_MESSAGE_LENGTH_UPSELL_MODAL_UPLOAD,onSecondaryClick:function(){c();var e=new Blob([p],{type:"text/plain"});(0,o.default)([(0,l.makeFile)(e,"message.txt")],t,i.DraftType.ChannelMessage,!1,!0,!0,!0)}},m))}m.displayName="PremiumMessageLengthRoadblockUpsell"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(23)),a=l(n(419)),o=l(n(9377)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){var t,n;function o(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._handleXHRProgress=function(e){t._handleProgress(e.loaded,e.total)},t}return n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n),o.prototype.upload=function(t,n){var o=this;void 0===n&&(n={});var l=n,u=l.hasSpoiler,s=l.filename,d=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(l,["hasSpoiler","filename"]);e.prototype.upload.call(this,t,d);var f=a.default.post(this._url),c=u?i.SPOILER_ATTACHMENT_PREFIX:"";f.attach("file",t,""+c+(null!=s?s:t.name)),f.field("payload_json",JSON.stringify(d)),f.end((function(e,t){var n;null!=t&&t.ok?o._handleComplete():o._handleError(null==t||null===(n=t.body)||void 0===n?void 0:n.code)}));var p=f.xhr;(0,r.default)(null!=p,"Unexpected null XHR"),p.upload?p.upload.onprogress=this._handleXHRProgress:p.addEventListener("progress",this._handleXHRProgress,!1),this._handleStart((function(){return f.abort()}))},o}(o.default);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(64)),a=o(n(8));function o(e){return e&&e.__esModule?e:{default:e}}function i(){return(i=Object.assign||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}).apply(this,arguments)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){var t,n;function r(t){var n;return(n=e.call(this)||this)._lastUpdate=0,n._loaded=0,n._aborted=!1,n._handleStart=function(e){n._cancel=e,n.emit("start",n._file)},n._handleProgress=function(e,t){var r=Date.now(),a=Math.min(Math.floor(e/t*100),100),o=Math.floor((e-n._loaded)/((r-n._lastUpdate)/1e3));n._lastUpdate=r,n._loaded=e,n._file=i({},n._file,{size:t,progress:a,rate:o}),n.emit("progress",n._file)},n._handleError=function(e){n._aborted||(n.emit("error",n._file,e),n.removeAllListeners())},n._handleComplete=function(){n.emit("complete",n._file),n.removeAllListeners()},n._url=t,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var o=r.prototype;return o.cancel=function(){null!=this._cancel&&(this._aborted=!0,this._cancel()),this._handleComplete()},o.upload=function(e,t,n){if(null!=this._cancel)throw new Error("Uploader.upload(...): An upload is already in progress.");this._lastUpdate=Date.now(),this._loaded=0,this._file={id:a.default.uniqueId("Uploader"),name:e.name,size:0,progress:0,rate:0,hasImage:!1,hasVideo:!1,attachmentsCount:0,uris:n}},r}(r.default);t.default=u},,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=L(n(0)),o=P(n(9)),i=P(n(8)),l=n(3),u=n(286),s=n(106),d=n(8392),f=P(n(8618)),c=n(8277),p=P(n(15)),v=P(n(12)),y=P(n(8291)),m=P(n(8362)),_=P(n(13)),h=L(n(8311)),E=n(8290),g=P(n(8383)),S=P(n(8341)),O=n(8260),I=n(8279),T=n(8829),C=P(n(9400)),b=P(n(9401)),M=n(8342),N=n(1),A=P(n(7494));function P(e){return e&&e.__esModule?e:{default:e}}function R(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return R=function(){return e},e}function L(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=R();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function D(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var w=[8,8,0,8],j=i.default.debounce((function(e,t,n,r,a){h.getApplicationDiscoveryCommands(e,t,r,n,u.ApplicationCommandTarget.CHAT,a)}),100,{maxWait:100}),k=i.default.debounce((function(){_.default.track(N.AnalyticEvents.APPLICATION_COMMAND_BROWSER_SCROLLED)}),300),U=a.forwardRef((function(e,t){var n=e.channel,r=e.canOnlyUseTextCommands,i=a.useRef(!1),P=a.useRef(null),R=a.useRef(0),L=a.useRef(0),U=a.useRef(null),G=a.useRef(0),F=a.useRef(0),B=a.useRef(null),H=a.useState(0),x=H[0],V=H[1],W=a.useState(0),Y=W[0],z=W[1],K=a.useState(!1),$=K[0],Z=K[1],q=a.useMemo((function(){return{channel:n,guild:null!=n.guild_id?p.default.getGuild(n.guild_id):null}}),[n]),X=(0,T.useApplicationCommandsDiscoveryState)(q,7,u.ApplicationCommandTarget.CHAT,r),J=X.discoverySections,Q=X.applicationCommandSections,ee=X.commands,te=X.guildCommands,ne=X.hasMoreBefore,re=X.hasMoreAfter,ae=X.sectionsOffset;a.useEffect((function(){Q.length>1&&(0,c.hideHotspot)(c.HotspotLocations.APPLICATION_COMMAND_TOOLTIP)}),[Q.length]);var oe=a.useMemo((function(){return J.map((function(e){return e.data.length}))}),[J]);a.useLayoutEffect((function(){if(null!=te){var e=!1,t=te.jumpDescriptor;if(null!=t&&te.jumpSequenceId!==G.current){if(null==t.sectionId)window.requestAnimationFrame((function(){var e,n;return null===(e=B.current)||void 0===e?void 0:e.scrollTo(null!==(n=t.offset)&&void 0!==n?n:0)}));else{var n=J.findIndex((function(e){return e.section.id===t.sectionId}));if(n>=0){for(var r,a=0,o=0;o<n;o++)a+=J[o].data.length;z(a),null===(r=B.current)||void 0===r||r.scrollToSectionTop(n,{offset:t.offset})}}G.current=te.jumpSequenceId,e=!0,_.default.track(N.AnalyticEvents.APPLICATION_COMMAND_BROWSER_JUMPED,{target_application_id:null==t?void 0:t.sectionId})}if(ee.length>0&&ee[0].id!==P.current){if(!e&&null!=P.current){var i=ee.findIndex((function(e){return e.id===P.current})),l=R.current,u=i;if(ne||(u-=7),0!==u){z(Y+u);var s=B.current;if(!$&&null!=l&&null!=s){var d=l+u,f=s.getRowDescriptors()[d>=0?d:0];null!=f&&window.requestAnimationFrame((function(){var e;null===(e=B.current)||void 0===e||e.scrollTo(f.offset.top+L.current)}))}}}P.current=ee[0].id}}}),[ee,J,te,ne,$,oe,Y]);var ie=(0,l.useStateFromStores)([S.default],(function(){return null==n.guild_id?null:S.default.getRemoteGuildApplications(n.guild_id)}),[n.guild_id]),le=a.useCallback((function(e,t,r,a){void 0===r&&(r=E.DISCOVERY_COMMANDS_QUERY_LIMIT),null!=n.guild_id&&j(n.guild_id,e,t,r,a)}),[n.guild_id]);a.useEffect((function(){if((0,s.trackWithMetadata)(N.AnalyticEvents.APPLICATION_COMMAND_BROWSER_OPENED),null!=n.guild_id)h.queryGuildApplications(n.guild_id,E.DISCOVERY_COMMANDS_QUERY_LIMIT,u.ApplicationCommandTarget.CHAT);else if(n.type===N.ChannelTypes.DM){var e=v.default.getUser(n.getRecipientId());!0===(null==e?void 0:e.bot)&&null==g.default.getCommands(e.id,u.ApplicationCommandTarget.CHAT)&&h.queryDmApplicationCommands(e.id,u.ApplicationCommandTarget.CHAT)}return function(){return h.clearGuildDiscoveryCommands()}}),[n]),a.useEffect((function(){null!=te&&te.isStale&&le(0,!1,E.DISCOVERY_COMMANDS_QUERY_LIMIT,{sectionId:null,offset:0})}),[n.guild_id]),a.useEffect((function(){null!=B.current&&$&&B.current.scrollRowIntoView(Y)}),[$,Y]);var ue=a.useCallback((function(e){return e===J.length-1&&!re?0:16}),[J.length,re]),se=a.useCallback((function(e){var t;(h.setActiveCommand(e),(null==e?void 0:e.id)&&e.id!==U.current)&&((0,s.trackWithMetadata)(N.AnalyticEvents.APPLICATION_COMMAND_SELECTED,{command_id:null!==(t=e.rootId)&&void 0!==t?t:e.id,application_id:e.applicationId}),U.current=e.id)}),[U]),de=a.useCallback((function(e){var t=J.findIndex((function(t){return t.section.id===e.id}));if(t>=0){var n;null===(n=B.current)||void 0===n||n.scrollToSectionTop(t)}else{var r=Q.findIndex((function(t){return t.id===e.id})),a=Math.max(ae[r]-E.DISCOVERY_COMMANDS_QUERY_LIMIT,0);le(a,!1,2*E.DISCOVERY_COMMANDS_QUERY_LIMIT,{sectionId:Q[r].id})}}),[Q,J,le,ae]);a.useImperativeHandle(t,(function(){return{onTabOrEnter:function(){var e=ee[Y-(ne?7:0)];return null!=e&&se(e),!0},onMoveSelection:function(e){if(0===ee.length)return!0;var t=ne?7:0,n=re?7:0,r=ee.length+t+n,a=Y+e;return a>=r?a=r-1:a<0&&(a=0),z(a),Z(!0),!0}}}),[ee,re,ne,se,Y]);var fe=a.useCallback((function(e,t){var r=J[t.sectionIndex],a=null==r?void 0:r.data[t.sectionRowIndex];return null==a||r.section.id!==a.applicationId||a.type===O.ApplicationCommandType.PLACEHOLDER?D(b.default,{},a.id):D(y.default.NewCommand,{index:e,command:a,channel:n,className:A.default.itemWrapper,selected:Y===e,onClick:function(){return se(a)},onHover:function(){z(e),Z(!1)}},a.id)}),[n,J,se,Y]),ce=a.useCallback((function(e){var t=J[e].section;if(null==t)return null;var n=D((0,M.getIconComponent)(t),{section:t,width:16,height:16,padding:0});return D(f.default,{className:A.default.categoryHeader,icon:n},e,(0,I.getApplicationCommandSectionName)(t))}),[J]),pe=a.useCallback((function(e,t){var r;if(null==ie&&null!=n.guild_id)return null;var a=e===J.length-1;return D("div",{className:(0,o.default)(A.default.categorySection,(r={},r[A.default.categorySectionLast]=a,r))},e,t)}),[n.guild_id,J.length,ie]),ve=(0,d.useSynchronizedActiveCategoryIndexForScrollPosition)({activeCategoryIndex:x,isScrolling:i,listRef:B,onActiveCategoryIndexChange:function(e){var t,n,r=null===(t=B.current)||void 0===t?void 0:t.getRowDescriptors(),a=null==r||null===(n=r[0])||void 0===n?void 0:n.sectionIndex,o=Q.findIndex((function(e){var t;return e.id===(null===(t=J[null!=a?a:0])||void 0===t?void 0:t.section.id)}));o<0||V(e+o)},scrollOffset:20,searchQuery:""});return D(y.default,{className:A.default.outerWrapper,innerClassName:A.default.wrapper,onMouseDown:function(e){e.preventDefault()}},void 0,D(C.default,{className:A.default.rail,sections:Q,activeSectionIndex:x,onSectionClick:de}),a.createElement(m.default,{className:A.default.list,listPadding:w,onScroll:function(e){var t,r;if(null!=te&&null!=n.guild_id&&!te.loadingMore){var a=48*Q.length+56*ee.length-56*(ne?7:0)-56*(re?7:0)-512;if(te.isStale&&(e<512||e+420>a)){var o,i=(null!==(o=R.current)&&void 0!==o?o:0)+te.topOffset,l=L.current+32,s=Math.ceil(388/56),d=Math.max(S.default.getTotalGuildCommands(n.guild_id,u.ApplicationCommandTarget.CHAT)-s,0);i>d&&(l-=56*((i=d)-d)),i<0&&(i=0),l<0&&(l=0),ne||0===i?ne&&0===i&&(l-=392):l+=392,le(i,!1,E.DISCOVERY_COMMANDS_QUERY_LIMIT,{sectionId:null,offset:l})}else ne&&e<512?le(Math.max(te.topOffset-E.DISCOVERY_COMMANDS_QUERY_LIMIT,0),!0):re&&e+420>a&&le(te.bottomOffset,!1)}ve(e),F.current=e;var f=function(e){var t,n=null===(t=B.current)||void 0===t?void 0:t.getRowDescriptors();if(null==n||0===n.length)return null;for(var r=1;r<n.length;r++)if(e<=n[r].offset.top)return r-1;return n.length-1}(e);R.current=f;var c=null!=f&&null!==(t=null===(r=B.current)||void 0===r?void 0:r.getRowDescriptors()[f].offset.top)&&void 0!==t?t:0;L.current=e-c,k()},renderRow:fe,renderSection:pe,renderSectionHeader:ce,rowCount:J.length,rowCountBySection:oe,rowHeight:56,sectionHeaderHeight:32,sectionMarginBottom:ue,ref:B,stickyHeaders:!0}))}));t.default=U},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=u(n(9)),o=u(n(61)),i=u(n(24)),l=u(n(7488));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t,n,r=e.name,u=e.className,s=e.state,f=e.isInline,c=e.onClick,p=r+(f?":":""),v=null,y=i.default.Colors.HEADER_PRIMARY;(null==s?void 0:s.isActive)&&!f?v=l.default.active:!1===(null==s||null===(t=s.lastValidationResult)||void 0===t?void 0:t.success)?v=l.default.error:(null==s?void 0:s.hasValue)&&!f&&(v=l.default.set);var m=d(i.default,{size:f?i.default.Sizes.SIZE_16:i.default.Sizes.SIZE_14,color:y,className:(0,a.default)(l.default.option,(n={},n[l.default.inline]=f,n),v,u)},void 0,p);return null==c?m:d(o.default,{className:l.default.clickable,onClick:function(){return c(r)}},void 0,m)}f.displayName="ApplicationCommandItemOption"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24",fill:"none"}),s("path",{className:f,fill:d,d:"M19.0999 3.99994V5.12653L4.84988 8.26441V18.1176C4.84988 18.5496 5.14628 18.9251 5.56998 19.0315L9.36998 19.9726C9.44598 19.9905 9.52388 19.9999 9.59988 19.9999C9.89533 19.9999 10.1775 19.8635 10.3599 19.6235L10.5599 19.3593V16.2214L9.21798 17.9943L6.74988 17.3825V15.2112L10.5599 16.0509V13.92C10.5599 12.3294 11.8493 11.04 13.4399 11.04H20.9999V3.99994H19.0999Z"}),s("path",{className:f,fill:d,d:"M3.89988 8.25994H1.99988V15.2941H3.89988V8.25994Z"}),s("path",{className:f,fill:d,d:"M12.48 13.92C12.48 13.3898 12.9098 12.96 13.44 12.96H22.56C23.0901 12.96 23.52 13.3898 23.52 13.92V20.2213C23.52 20.7514 23.0901 21.1813 22.56 21.1813H18.1294C17.8916 21.1813 17.6623 21.2695 17.4858 21.4289L15.0408 23.6378C14.8865 23.7772 14.64 23.6677 14.64 23.4597V21.4213C14.64 21.2887 14.5325 21.1813 14.4 21.1813H13.44C12.9098 21.1813 12.48 20.7514 12.48 20.2213V13.92Z"}))}d.displayName="AnnouncementThreadIcon"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function i(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,i=e.color,l=void 0===i?"currentColor":i,u=e.className,s=e.foreground;return o("svg",{className:u,width:n,height:a,viewBox:"0 0 16 16"},void 0,o("g",{fill:"none",fillRule:"evenodd"},void 0,o("path",{className:e.background,fill:l,d:"M14,8.99751269 L14,11.6666667 L11.3333333,9 L11.3333333,11.3333333 C11.3333333,11.7 11.0333333,12 10.6666667,12 L2.66666667,12 C2.3,12 2,11.7 2,11.3333333 L2,4.66666667 C2,4.3 2.3,4 2.66666667,4 L9.01132709,4 L9.00227441,7.99603187 L9.00227328,7.9999947 C9.00321074,8.55227865 9.4516853,8.9992333 10.0039693,8.99829584 L11.96,8.99497564 L14,8.99751269 Z",opacity:".6"}),o("path",{className:s,fill:l,fillRule:"nonzero",d:"M15.1,3.2 L15.1,2 C15.1,0.88 14.05,0 13,0 C11.95,0 10.9,0.88 10.9,2 L10.9,3.2 C10.45,3.2 10,3.68 10,4.16 L10,6.96 C10,7.52 10.45,8 10.9,8 L15.025,8 C15.55,8 16,7.52 16,7.04 L16,4.24 C16,3.68 15.55,3.2 15.1,3.2 Z M14,3 L12,3 L12,1.92857143 C12,1.35714286 12.4666667,1 13,1 C13.5333333,1 14,1.35714286 14,1.92857143 L14,3 Z"})))}i.displayName="CallVideoCameraLimited"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24",fill:"none"}),s("path",{className:f,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M20.4681 4.76205L22.8092 9.51655C23.1365 10.1812 22.6552 10.96 21.9172 10.96L17.2103 10.96C16.4705 10.96 15.9893 10.1777 16.3201 9.5128L18.686 4.75829C19.0536 4.01951 20.1036 4.02173 20.4681 4.76205ZM19.0832 5.96001H20.0785V8.46001H19.0832L19.0832 5.96001ZM19.0832 9.45888C19.0832 9.7359 19.3061 9.96001 19.5808 9.96001C19.8555 9.96001 20.0784 9.7359 20.0784 9.45888C20.0784 9.18225 19.8555 8.95774 19.5808 8.95774C19.3061 8.95774 19.0832 9.18225 19.0832 9.45888Z"}),s("path",{className:f,fill:d,d:"M16.6811 5.6591L4.84988 8.26437V18.1175C4.84988 18.5495 5.14628 18.9251 5.56998 19.0314L9.36998 19.9726C9.44598 19.9905 9.52388 19.9999 9.59988 19.9999C9.89533 19.9999 10.1775 19.8634 10.3599 19.6234L10.5599 19.3592V16.2214L9.21798 17.9943L6.74988 17.3825V15.2112L10.5599 16.0508V13.9199C10.5599 12.3294 11.8493 11.0399 13.4399 11.0399H13.92L16.6811 5.6591Z"}),s("path",{className:f,fill:d,d:"M3.89988 8.2599H1.99988V15.294H3.89988V8.2599Z"}),s("path",{className:f,fill:d,d:"M13.44 12.96C12.9098 12.96 12.48 13.3898 12.48 13.92V20.2213C12.48 20.7515 12.9098 21.1813 13.44 21.1813H14.4C14.5325 21.1813 14.64 21.2887 14.64 21.4213V23.4597C14.64 23.6677 14.8865 23.7773 15.0408 23.6378L17.4858 21.4289C17.6623 21.2695 17.8916 21.1813 18.1294 21.1813H22.56C23.0901 21.1813 23.52 20.7515 23.52 20.2213V13.92C23.52 13.3898 23.0901 12.96 22.56 12.96H13.44Z"}))}d.displayName="NSFWAnnouncementThreadIcon"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24",fill:"none"}),s("path",{className:f,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M22.545 4.88V5.88H23.28C23.4126 5.88 23.52 5.98746 23.52 6.12001V10.64C23.52 10.7726 23.4126 10.88 23.28 10.88H17.76C17.6275 10.88 17.52 10.7726 17.52 10.64V6.12C17.52 5.98746 17.6275 5.88 17.76 5.88H18.52V4.88C18.52 3.76 19.47 2.88 20.52 2.88C21.57 2.88 22.545 3.76 22.545 4.88ZM19.52 5.88H21.52V4.88C21.52 4.30858 21.0534 3.88 20.52 3.88C19.9867 3.88 19.52 4.30858 19.52 4.88V5.88Z"}),s("path",{className:f,fill:d,d:"M15.84 5.84438L4.85 8.26441V18.1176C4.85 18.5496 5.1464 18.9251 5.5701 19.0315L9.3701 19.9726C9.4461 19.9905 9.524 19.9999 9.6 19.9999C9.89545 19.9999 10.1776 19.8635 10.36 19.6235L10.56 19.3593V16.2214L9.2181 17.9943L6.75 17.3825V15.2112L10.56 16.0509V13.92C10.56 12.3294 11.8494 11.04 13.44 11.04H15.84V5.84438Z"}),s("path",{className:f,fill:d,d:"M3.9 8.25994H2V15.2941H3.9V8.25994Z"}),s("path",{className:f,fill:d,d:"M13.44 12.96C12.9098 12.96 12.48 13.3898 12.48 13.92V20.2213C12.48 20.7515 12.9098 21.1813 13.44 21.1813H14.4C14.5326 21.1813 14.64 21.2887 14.64 21.4213V23.4597C14.64 23.6677 14.8866 23.7773 15.0409 23.6378L17.4859 21.4289C17.6623 21.2695 17.8917 21.1813 18.1294 21.1813H22.56C23.0902 21.1813 23.52 20.7515 23.52 20.2213V13.92C23.52 13.3898 23.0902 12.96 22.56 12.96H13.44Z"}))}d.displayName="PrivateAnnouncementThreadIcon"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?32:t,r=e.height,a=void 0===r?32:r,l=e.color,d=void 0===l?"currentColor":l,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color"]);return o.createElement("svg",u({},(0,i.default)(f),{width:n,height:a,viewBox:"0 0 24 24",fill:"none"}),s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.025 2V3C22.5635 3 23 3.43652 23 3.975V7C23 7.55228 22.5523 8 22 8H18C17.4477 8 17 7.55228 17 7V4C17 3.44772 17.4477 3 18 3V2C18 0.88 18.95 0 20 0C21.05 0 22.025 0.88 22.025 2ZM19 3H21V2C21 1.42857 20.5333 1 20 1C19.4667 1 19 1.42857 19 2V3Z",fill:d}),s("path",{d:"M15 2.41495C14.0462 2.14467 13.0398 2 12 2C5.93 2 1 6.93 1 13C1 15 1.55 16.88 2.48 18.49L3.77 17.74C2.97 16.35 2.5 14.73 2.5 13C2.5 7.75 6.75 3.5 12 3.5C13.0485 3.5 14.0571 3.66952 15 3.98267V2.41495Z",fill:d}),s("path",{d:"M21.0173 10C21.3305 10.9429 21.5 11.9515 21.5 13C21.5 14.73 21.03 16.35 20.22 17.75L21.51 18.5C22.45 16.88 23 15 23 13C23 11.9602 22.8553 10.9538 22.585 10H21.0173Z",fill:d}),s("path",{d:"M14 13C14 14.1 13.1 15 12 15C10.9 15 10 14.1 10 13C10 11.9 10.9 11 12 11C13.1 11 14 11.9 14 13Z",fill:d}),s("path",{d:"M8.5 19.5V20H15.5V19.5C15.5 17.8 14.06 16.5 12 16.5C9.94 16.5 8.5 17.8 8.5 19.5Z",fill:d}),s("path",{d:"M7 13C7 10.24 9.24 8 12 8C14.76 8 17 10.24 17 13C17 13.91 16.74 14.75 16.31 15.49L17.62 16.25C18.17 15.29 18.5 14.19 18.5 13C18.5 9.42 15.58 6.5 12 6.5C8.42 6.5 5.5 9.42 5.5 13C5.5 14.18 5.82 15.29 6.38 16.25L7.69 15.49C7.26 14.75 7 13.91 7 13Z",fill:d}))}d.displayName="StageLimited"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(280),i=n(8619),l=c(n(248)),u=c(n(13)),s=n(1),d=c(n(6)),f=c(n(7490));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=function(e){var t=e.emojis;a.useEffect((function(){u.default.track(s.AnalyticEvents.PREMIUM_UPSELL_VIEWED,{type:o.PremiumUpsellTypes.EMOJI_AUTOCOMPLETE_INLINE})}),[]);var n=v("div",{className:f.default.emojis},void 0,t.slice(0,3).map((function(e,n){if(null==e.url)return null;var r=n===t.length-1,a=v("div",{className:f.default.emojiBackground},e.id,v("img",{alt:e.name,className:f.default.emoji,src:e.url}));return r?a:v(l.default,{className:f.default.emojiMask,mask:l.default.Masks.AUTOCOMPLETE_EMOJI_UPSELL_EMOJI},e.id,a)})));return v(i.AutocompleteRowContent,{className:f.default.upsell},void 0,v(i.AutocompleteRowContentPrimary,{},void 0,v(i.AutocompleteRowHeading,{},void 0,d.default.Messages.AUTOCOMPLETE_EMOJI_UPSELL.format({count:t.length}))),v(i.AutocompleteRowContentSecondary,{},void 0,n))};y.displayName="ChannelAutocompleteEmojiUpsell";var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(9)),i=v(n(8621)),l=v(n(61)),u=n(8319),s=v(n(149)),d=n(8260),f=n(8279),c=n(8342),p=v(n(7492));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=[16,12,8,12];function E(e){var t=e.className,n=e.sections,r=e.activeSectionIndex,v=e.onSectionClick,y=a.useCallback((function(e){var t,r;return 32+((null===(t=n[e])||void 0===t?void 0:t.type)===d.ApplicationCommandSectionType.BUILT_IN?0:(null===(r=n[e+1])||void 0===r?void 0:r.type)===d.ApplicationCommandSectionType.BUILT_IN?24:8)}),[n]),E=a.useCallback((function(e){var t=n[e];if(null!=t){var o=(0,c.getIconComponent)(t),i=t.type===d.ApplicationCommandSectionType.BUILT_IN?4:0,y=32-2*i,h=_(o,{section:t,isSelected:r===e,padding:i,width:y,height:y}),E=t.type!==d.ApplicationCommandSectionType.BUILT_IN&&e<n.length-1&&n[e+1].type===d.ApplicationCommandSectionType.BUILT_IN;return _("div",{className:p.default.section},t.id,_(s.default,{text:(0,f.getApplicationCommandSectionName)(t),position:u.Positions.RIGHT},void 0,(function(e){var n=e.onClick,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onClick"]);return a.createElement(l.default,m({"aria-label":t.name,onClick:function(){v(t),null==n||n()}},r),h)})),E?_("hr",{className:p.default.builtInSeparator}):null)}}),[r,v,n]);return 0===n.length?null:_("div",{className:(0,o.default)(t,p.default.wrapper)},void 0,_(i.default,{activeIndex:r,className:p.default.list,renderCategoryListItem:E,rowCount:n.length,rowHeight:y,listPadding:h}))}E.displayName="ApplicationCommandDiscoverySectionList"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(8)),o=n(8342),i=l(n(7493));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=function(e){var t=e.showImage,n=a.default.random(60,120),r=a.default.random(200,600),l=a.default.random(45,90);return s("div",{className:i.default.wrapper},void 0,t?s("div",{className:i.default.image}):null,s("div",{className:i.default.infoWrapper},void 0,s("div",{style:{maxWidth:(0,o.pxToRem)(n)},className:i.default.usageWrapper}),s("div",{style:{maxWidth:(0,o.pxToRem)(r)},className:i.default.description})),s("div",{style:{width:(0,o.pxToRem)(l)},className:i.default.source}))};d.displayName="ApplicationCommandLoadingItem";var f=d;t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(680),i=n(3),l=y(n(15)),u=y(n(8291)),s=y(n(165)),d=y(n(468)),f=n(8281),c=n(9403),p=y(n(9404)),v=y(n(7497));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(){return(h=Object.assign||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}).apply(this,arguments)}var E=a.forwardRef((function(e,t){var n,r=e.type,y=e.channel,m=(0,i.useStateFromStores)([l.default],(function(){var e;return null!==(e=l.default.getGuild(y.guild_id))&&void 0!==e?e:null}),[y.guild_id]),E=a.useRef(),g=(0,p.default)(h({},e,{guild:m}),t,E),S=g[0],O=g[1],I=g[2],T=(0,c.useChannelAutocompleteLayerPosition)(r,S);if(!S.isVisible||null==S.query)return null;var C=null!==(n=S.query.typeInfo.renderResults(S.query.results,S.selectedIndex,y,m,S.query.queryText,S.query.options,(function(e){return O.onResultHover(e)}),(function(e){return O.onResultClick(e)})))&&void 0!==n?n:null;if(null==C)return null;var b=_(u.default,{className:v.default.autocomplete,innerClassName:v.default.autocompleteInner,onMouseDown:function(e){return e.preventDefault()}},void 0,_(o.ListNavigatorProvider,{navigator:I},void 0,_(o.ListNavigatorContainer,{},void 0,(function(e){var t=e.ref,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["ref"]);return a.createElement(d.default,h({ref:function(e){var n;t.current=null!==(n=null==e?void 0:e.getScrollerNode())&&void 0!==n?n:null,E.current=e}},n,{className:v.default.scroller,style:{maxHeight:null!=T?f.LAYER_MAX_HEIGHT:f.DEFAULT_MAX_HEIGHT},role:"listbox"}),C)}))));if(null!=T){var M=T.left,N=T.bottom,A=T.top,P={left:M};return null!=N?P.bottom=N:null!=A&&(P.top=A),_(s.default,{},void 0,_("div",{className:v.default.autocompleteLayer,style:P},void 0,b))}return b}));t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useChannelAutocompleteLayerPosition=function(e,t){return r.useMemo((function(){var n=window.getSelection();if(!(u.includes(e)&&n&&n.anchorNode&&n.isCollapsed&&null!=t.query))return null;var r,o,i=n.anchorNode,s=n.anchorOffset;i.nodeType===Node.TEXT_NODE&&((s-=t.query.queryText.length+(null!==(r=null===(o=t.query.typeInfo.sentinel)||void 0===o?void 0:o.length)&&void 0!==r?r:0))<0&&(s=0));var d=document.createRange();d.setStart(i,s),d.setEnd(i,s);var f=d.getBoundingClientRect(),c=f.y>a.LAYER_MAX_HEIGHT?{bottom:window.innerHeight-f.y}:{top:f.y+a.LAYER_VERTICAL_BUFFER};return l({left:f.x},c)}),[t,e])};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(8281),o=n(1);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(){return(l=Object.assign||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}).apply(this,arguments)}var u=[o.TextareaTypes.RULES_INPUT,o.TextareaTypes.FORM]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var y,m,_,E,S,O,I,T=e.channel,C=e.type,b=r.useState((function(){return(0,c.createInitialState)()})),M=b[0],N=b[1],A=(0,a.useStateFromStores)([u.default,f.default],(function(){var e,t,n=f.default.getCurrentUser();return null!==(e=null!=T.guild_id&&null!=n?null===(t=u.default.getMember(T.guild_id,n.id))||void 0===t?void 0:t.isPending:null)&&void 0!==e&&e})),P=(0,a.useStateFromStoresObject)([s.default,d.default],(function(){return{canMentionEveryone:T.isPrivate()||A||C===v.TextareaTypes.RULES_INPUT||s.default.can(v.Permissions.MENTION_EVERYONE,T),hidePersonalInformation:d.default.hidePersonalInformation}}),[T,C,A]),R=P.canMentionEveryone,L=P.hidePersonalInformation,D=(0,a.useStateFromStoresObject)([i.default],(function(){return{activeCommand:i.default.getActiveCommand(),activeCommandOption:i.default.getActiveOption()}})),w=D.activeCommand,j=D.activeCommandOption,k=(0,p.default)({navId:"channel-autocomplete",scrollerRef:n,state:M,onFocus:function(e){return F.setSelectedIndex(e)}}),U=null===(y=e.editorRef.current)||void 0===y?void 0:y.getCurrentWord(),G=g({},e,{navigator:k,activeCommand:w,activeCommandOption:j,canMentionUsers:C!==v.TextareaTypes.RULES_INPUT,canMentionEveryone:R,hidePersonalInformation:L,hideMentionDescription:C===v.TextareaTypes.RULES_INPUT,emojiIntention:C===v.TextareaTypes.RULES_INPUT?v.EmojiIntention.COMMUNITY_CONTENT:v.EmojiIntention.CHAT,currentWord:null!==(m=null==U?void 0:U.word)&&void 0!==m?m:"",currentWordIsAtStart:!0===(null==U?void 0:U.isAtStart),firstText:null!==(_=null===(E=e.editorRef.current)||void 0===E?void 0:E.getFirstText())&&void 0!==_?_:"",optionText:(null==w?void 0:w.type)===l.ApplicationCommandType.BUILT_IN_INTEGRATION&&"query"===(null==j?void 0:j.name)?(0,o.getString)({query:null!==(S=null===(O=e.editorRef.current)||void 0===O?void 0:O.getCurrentCommandOptionValue())&&void 0!==S?S:[]},"query"):""}),F=r.useState((function(){return new c.default(G)}))[0];return r.useEffect((function(){F.updateProps(G)})),r.useImperativeHandle(t,(function(){return F}),[F]),r.useEffect((function(){var e=function(e){return N(e)};return F.on("change",e),function(){F.off("change",e)}}),[F]),r.useEffect((function(){var e,t=null===(e=M.query)||void 0===e?void 0:e.typeInfo.stores;if(null!=t){for(var n,r=function(){return F.queryResults()},a=h(t);!(n=a()).done;){n.value.addChangeListener(r)}return function(){for(var e,n=h(t);!(e=n()).done;){e.value.removeChangeListener(r)}}}}),[F,null===(I=M.query)||void 0===I?void 0:I.typeInfo]),[M,F,k]};var r=_(n(0)),a=n(3),o=n(8434),i=y(n(8280)),l=n(8260),u=y(n(56)),s=y(n(40)),d=y(n(160)),f=y(n(12)),c=_(n(9405)),p=y(n(9417)),v=n(1);function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function h(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(){return(g=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createInitialState=c,t.default=void 0;var r,a=(r=n(64))&&r.__esModule?r:{default:r},o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(8311)),i=n(8849),l=n(8281),u=n(9406);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(){return{query:null,selectedIndex:null,isVisible:!1}}var p=function(e){var t,n;function r(t){var n;return(n=e.call(this)||this).props=t,n.state={query:null,selectedIndex:null,isVisible:!1},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var a=r.prototype;return a.updateProps=function(e){var t=this.props.focused!==e.focused,n=this.props.currentWord!==e.currentWord||this.props.currentWordIsAtStart!==e.currentWordIsAtStart||this.props.firstText!==e.firstText||this.props.optionText!==e.optionText||this.props.channel.id!==e.channel.id||this.props.activeCommandOption!==e.activeCommandOption;this.props=e,n?this.updateResults(!0):t&&this.setState({isVisible:this.canShow()&&this.hasResults()})},a.setSelectedIndex=function(e){this.setState({selectedIndex:e})},a.onTabOrEnter=function(e){return null!=this.state.selectedIndex&&this.selectResult(this.state.selectedIndex,e)},a.onMoveSelection=function(e){var t;if(!this.state.isVisible)return!1;if(e<0?this.props.navigator.focusPreviousItem():e>0&&this.props.navigator.focusNextItem(),null!=this.state.selectedIndex&&(null===(t=this.state.query)||void 0===t?void 0:t.type)===l.AutocompleteOptionTypes.COMMANDS){var n,r=null===(n=this.state.query.results.commands)||void 0===n?void 0:n[this.state.selectedIndex];null!=r&&o.setPreferredCommandId(r.id)}return!0},a.onMaybeShowAutocomplete=function(){this.updateResults(!1)},a.onResultHover=function(e){this.props.navigator.setFocus(""+e),this.setSelectedIndex(e)},a.onResultClick=function(e){this.selectResult(e,!0)},a.clearQuery=function(){this.setState({query:null,isVisible:!1,selectedIndex:null})},a.queryResults=function(){this.updateResults(!1)},a.isVisible=function(){return this.state.isVisible},a.updateResults=function(e){var t;if(null!=this.props.editorRef.current){var n=(0,u.getOptions)(this.props),r=(0,u.findMatchingAutocompleteType)(this.props.channel,this.props.guild,n,this.props.currentWord,this.props.currentWordIsAtStart,this.props.firstText,this.props.optionText),a=(0,u.findCommandOptionAutcompleteType)(this.props.activeCommandOption,this.props.currentWord);if(null==r&&null!=a)r=a;else if(null==r||null!=a&&r.type!==a.type)return void this.clearQuery();var o=r,l=o.type,s=o.typeInfo,d=o.query;e=e||(null===(t=this.state.query)||void 0===t?void 0:t.typeInfo)!==r.typeInfo;for(var f=s.queryResults(this.props.channel,this.props.guild,d,n,e),c=f.results,p=f.metadata,v=0,y=0,m=Object.values(c);y<m.length;y++){var _=m[y];Array.isArray(_)&&(v+=_.length)}var h=!0===c.isLoading,E=this.canShow()&&(v>0||h),g=this.state.selectedIndex;!E||h?g=null:null!=g&&g>=v&&(g=v-1),E&&!this.state.isVisible&&(0,i.trackAutocompleteOpen)(l,this.props.channel,p),this.setState({query:{type:l,typeInfo:s,queryText:d,results:c,resultCount:v,options:n,isLoading:h},isVisible:E,selectedIndex:g})}},a.hasResults=function(){return null!=this.state.query&&this.state.query.resultCount>0},a.canShow=function(){return this.props.focused&&null==this.props.expressionPickerView},a.selectResult=function(e,t){var n,r;if(!this.state.isVisible)return!1;var a=this.state.query,o=a.type,u=a.typeInfo,s=a.results,d=a.resultCount,f=a.options;if(e>=d)return!1;var c=null===(n=u.onSelect)||void 0===n?void 0:n.call(u,s,e,t?l.SelectType.SEND:l.SelectType.INSERT,f);return(0,i.trackAutocompleteSelect)(o,null!==(r=null==c?void 0:c.type)&&void 0!==r?r:null,this.props.channel,null==c?void 0:c.metadata),this.clearQuery(),!0},a.setState=function(e){for(var t in e)if(e[t]!==this.state[t])return this.state=d({},this.state,{},e),void this.emit("change",this.state)},r}(a.default);t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getOptions=function(e){var t=e.activeCommand,n=e.activeCommandOption,o=e.canMentionUsers,l=void 0===o||o,u=e.canMentionRoles,s=void 0===u||u,d=e.canMentionChannels,f=void 0===d||d,c=e.canMentionEveryone,p=e.canExecuteCommands,v=e.useNewSlashCommands,y=e.canOnlyUseTextCommands,m=e.canSendStickers,_=e.hideMentionDescription,h=e.hidePersonalInformation,E=e.type,g=e.emojiIntention,S=e.editorRef,O=e.onSendMessage,I=e.onSendSticker,T={mentions:{channel:i.ChannelMentionMode.DENY,global:i.GlobalMentionMode.DENY,role:i.RoleMentionMode.DENY,user:i.UserMentionMode.DENY},commands:i.CommandMode.DISABLED,allowStickers:!0===m,forNonStringCommandOption:null!=n&&n.type!==r.ApplicationCommandOptionType.STRING,hideMentionDescription:!0===_,hidePersonalInformation:!0===h,textareaType:E,emojiIntention:g,sendMessage:O,sendSticker:I,insertText:function(e,t){var n;null===(n=S.current)||void 0===n||n.insertAutocomplete(e,null!=t?t:e)}};if(null!=n){var C=(0,a.getApplicationCommandOptionQueryOptions)(n);C.canMentionChannels&&(T.mentions.channel=i.ChannelMentionMode.ALLOW_SELECTABLE),C.canMentionEveryone&&(T.mentions.global=C.canMentionHere?i.GlobalMentionMode.ALLOW_EVERYONE_OR_HERE:i.GlobalMentionMode.ALLOW_EVERYONE),C.canMentionRoles&&(T.mentions.role=C.canMentionNonMentionableRoles?i.RoleMentionMode.ALLOW_ALL:i.RoleMentionMode.ALLOW_MENTIONABLE),C.canMentionUsers&&(T.mentions.user=C.canMentionAnyGuildUser?i.UserMentionMode.ALLOW_GUILD:i.UserMentionMode.ALLOW_CHANNEL)}else f&&(T.mentions.channel=i.ChannelMentionMode.ALLOW_SELECTABLE),s&&(T.mentions.role=i.RoleMentionMode.ALLOW_MENTIONABLE),l&&(T.mentions.user=i.UserMentionMode.ALLOW_CHANNEL),c&&(T.mentions.global=i.GlobalMentionMode.ALLOW_EVERYONE_OR_HERE);if(p)if(v){T.commands=y?i.CommandMode.NEW_TEXT_ONLY:i.CommandMode.NEW;var b=T.insertText;T.insertText=function(e,a){var o;(b(e,a),null==t||t.type===r.ApplicationCommandType.BUILT_IN_INTEGRATION||null==n||n.type===r.ApplicationCommandOptionType.STRING&&null==n.choices)||(null===(o=S.current)||void 0===o||o.completeCurrentCommandOption())}}else T.commands=i.CommandMode.OLD_BUILT_INS;return T},t.matchesType=u,t.findMatchingAutocompleteType=function(e,t,n,r,a,s,d){for(var f,c=null,p=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(o.AUTOCOMPLETE_PRIORITY);!(f=p()).done;){var v=f.value,y=o.AUTOCOMPLETE_OPTIONS[v];if(v===i.AutocompleteOptionTypes.GIFS){if(u(v,e,t,d,!1,n)){c={type:v,typeInfo:y,query:d};break}}else if(v===i.AutocompleteOptionTypes.COMMANDS){if(u(v,e,t,s,!0,n)){var m,_;c={type:v,typeInfo:y,query:s.substring(null!==(m=null===(_=y.sentinel)||void 0===_?void 0:_.length)&&void 0!==m?m:0)};break}}else if(u(v,e,t,r,a,n)){var h,E;c={type:v,typeInfo:y,query:r.substring(null!==(h=null===(E=y.sentinel)||void 0===E?void 0:E.length)&&void 0!==h?h:0)};break}}if(null==c)return null;return c.query=c.query.toLocaleLowerCase(),c},t.findCommandOptionAutcompleteType=function(e,t){if(null==e)return null;var n;if(null!=e.choices)n=i.AutocompleteOptionTypes.CHOICES;else switch(e.type){case r.ApplicationCommandOptionType.BOOLEAN:n=i.AutocompleteOptionTypes.CHOICES;break;case r.ApplicationCommandOptionType.CHANNEL:n=i.AutocompleteOptionTypes.CHANNELS;break;case r.ApplicationCommandOptionType.ROLE:case r.ApplicationCommandOptionType.USER:case r.ApplicationCommandOptionType.MENTIONABLE:n=i.AutocompleteOptionTypes.MENTIONS;break;default:return null}var a=o.AUTOCOMPLETE_OPTIONS[n];return{type:n,typeInfo:a,query:t}},t.getDefaultSelectionType=function(e){switch(e){case i.AutocompleteOptionTypes.CHANNELS:return i.AutocompleteSelectionTypes.CHANNEL;case i.AutocompleteOptionTypes.CHOICES:return i.AutocompleteSelectionTypes.CHOICE;case i.AutocompleteOptionTypes.COMMANDS:return i.AutocompleteSelectionTypes.COMMAND;case i.AutocompleteOptionTypes.GIFS:return i.AutocompleteSelectionTypes.GIF;case i.AutocompleteOptionTypes.MENTIONS:return i.AutocompleteSelectionTypes.MENTION;case i.AutocompleteOptionTypes.REACTIONS:return i.AutocompleteSelectionTypes.REACTION;default:throw new Error("Cannot determine selection type")}};var r=n(8260),a=n(8279),o=n(9407),i=n(8281);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t,n,r,a,i){var l=o.AUTOCOMPLETE_OPTIONS[e];if(null!=l.sentinel){if(!r.startsWith(l.sentinel))return!1;r=r.substring(l.sentinel.length)}return!(null!=l.matches&&!l.matches(t,n,r,a,i))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AUTOCOMPLETE_OPTIONS=t.AUTOCOMPLETE_PRIORITY=void 0;var r,a=n(8281),o=p(n(9408)),i=p(n(8850)),l=p(n(9409)),u=p(n(9410)),s=p(n(9412)),d=p(n(8852)),f=p(n(9415)),c=p(n(9416));function p(e){return e&&e.__esModule?e:{default:e}}var v=[a.AutocompleteOptionTypes.CHOICES,a.AutocompleteOptionTypes.GIFS,a.AutocompleteOptionTypes.COMMANDS,a.AutocompleteOptionTypes.EMOJIS_AND_STICKERS,a.AutocompleteOptionTypes.REACTIONS,a.AutocompleteOptionTypes.CHANNELS,a.AutocompleteOptionTypes.MENTIONS,a.AutocompleteOptionTypes.LEGACY_COMMANDS];t.AUTOCOMPLETE_PRIORITY=v;var y=((r={})[a.AutocompleteOptionTypes.CHANNELS]=o.default,r[a.AutocompleteOptionTypes.COMMANDS]=i.default,r[a.AutocompleteOptionTypes.CHOICES]=l.default,r[a.AutocompleteOptionTypes.EMOJIS_AND_STICKERS]=u.default,r[a.AutocompleteOptionTypes.GIFS]=s.default,r[a.AutocompleteOptionTypes.LEGACY_COMMANDS]=d.default,r[a.AutocompleteOptionTypes.MENTIONS]=f.default,r[a.AutocompleteOptionTypes.REACTIONS]=c.default,r);t.AUTOCOMPLETE_OPTIONS=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(714),a=p(n(10)),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(86)),i=p(n(8291)),l=p(n(697)),u=n(8278),s=n(8346),d=n(8281),f=p(n(6));function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){return e&&e.__esModule?e:{default:e}}var v={sentinel:u.CHANNEL_SENTINEL,matches:function(e,t,n,r,a){return a.mentions.channel!==d.ChannelMentionMode.DENY&&!e.isPrivate()},queryResults:function(e,t,n,a,i){var u=o.GUILD_SELECTABLE_CHANNELS_KEY;return n.charAt(0)===r.AutocompleterQuerySymbols.VOICE_CHANNEL&&(u=o.GUILD_VOCAL_CHANNELS_KEY,n=n.substring(1)),{results:a.forNonStringCommandOption?l.default.queryApplicationCommandChannelResults(n,e):l.default.queryChannelResults(n,e,u)}},renderResults:function(e,t,n,o,l,d,c,p){var v,y,m=e.channels,_=l.charAt(0)===r.AutocompleterQuerySymbols.VOICE_CHANNEL;return _?(v=f.default.Messages.VOICE_CHANNELS_MATCHING,y=f.default.Messages.VOICE_CHANNELS,l=l.substring(1)):d.forNonStringCommandOption?(v=f.default.Messages.CHANNELS_MATCHING,y=f.default.Messages.CHANNELS):(v=f.default.Messages.TEXT_CHANNELS_MATCHING,y=f.default.Messages.TEXT_CHANNELS),(0,s.renderAutocompleteGroup)(l,t,m,c,p,v,y,i.default.Channel,(function(e){return{channel:e,key:e.id,category:a.default.getChannel(e.parent_id)}}),(function(e){return _?""+u.CHANNEL_SENTINEL+r.AutocompleterQuerySymbols.VOICE_CHANNEL+e:""+u.CHANNEL_SENTINEL+e}),"channels")},onSelect:function(e,t,n,r){var a=e.channels[t];return r.insertText(function(e){var t=o.default.getTextChannelNameDisambiguations(e.guild_id)[e.id];return"#"+(null!=t?t.name:e.name)}(a),function(e){return"<#"+e.id+">"}(a)),{type:d.AutocompleteSelectionTypes.CHANNEL}}};t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(8290),a=f(n(8280)),o=n(8260),i=f(n(8291)),l=f(n(697)),u=n(8346),s=n(8281),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}var c={results:{choices:[]}};var p={stores:[a.default],matches:function(e,t,n,r,i){var l=a.default.getActiveOption();return null!=l&&(l.type===o.ApplicationCommandOptionType.BOOLEAN||null!=(null==l?void 0:l.choices)&&l.choices.length>0)},queryResults:function(e,t,n,i,u){var s,d=a.default.getActiveOption();return null==d?c:{results:l.default.queryChoiceResults(n,d.type===o.ApplicationCommandOptionType.BOOLEAN?r.BOOLEAN_CHOICES:null!==(s=d.choices)&&void 0!==s?s:[])}},renderResults:function(e,t,n,r,a,o,l,s){var f=e.choices;return(0,u.renderAutocompleteGroup)(a,t,f,l,s,d.default.Messages.OPTIONS_MATCHING,d.default.Messages.OPTIONS,i.default.Option,(function(e,t){return{key:t.toString(),name:e.name}}),(function(e){return e}),"choice")},onSelect:function(e,t,n,r){var a=e.choices[t];return r.insertText(function(e){return e.name}(a)),{type:s.AutocompleteSelectionTypes.CHOICE}}};t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=g(n(9411)),i=n(1172),l=n(5940),u=g(n(362)),s=n(366),d=g(n(5936)),f=g(n(15)),c=g(n(8291)),p=g(n(697)),v=n(8278),y=n(8346),m=n(8281),_=n(1),h=g(n(6)),E=g(n(7495));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(e,t){return O(d.default,{sticker:e,isInteracting:t,size:40})}I.displayName="renderSticker";var T={sentinel:v.EMOJI_SENTINEL,stores:[u.default],matches:function(e,t,n,r,a){return n.length>1},queryResults:function(e,t,n,r,a){var u=o.default.getCurrentConfig({}).emojiAutocompleteUpsellEnabled,s=p.default.queryEmojiResults(n,e,r.emojiIntention),d=[];if(r.allowStickers){(0,l.fetchStickerPacks)();var f=p.default.queryStickers([n],!0,[e,function(e,t){return t===i.StickerSendability.SENDABLE}]),c=Math.max(4,8-s.emojis.unlocked.length);d=f.stickers.slice(0,c)}var v=s.emojis.unlocked.slice(0,_.MAX_AUTOCOMPLETE_RESULTS-d.length),y=v.length+d.length<_.MAX_AUTOCOMPLETE_RESULTS&&s.emojis.locked.length>0?[{emojis:s.emojis.locked}]:[];return y.length>0&&o.default.trackExposure({}),{results:{emojis:v,emojisLocked:u?y:[],stickers:d},metadata:{numEmojiResults:v.length,numStickerResults:d.length}}},renderResults:function(e,t,n,r,o,i,l,u){var s=e.emojis,d=e.stickers,p=e.emojisLocked;return a.createElement(a.Fragment,null,(0,y.renderAutocompleteGroup)(o,t,s,l,u,h.default.Messages.EMOJI_MATCHING,h.default.Messages.EMOJI,c.default.Emoji,(function(e){return{emoji:e,key:e.id||e.uniqueName||e.name,sentinel:v.EMOJI_SENTINEL,guild:null!=e.guildId?f.default.getGuild(e.guildId):null}}),(function(e){return""+v.EMOJI_SENTINEL+e}),"emoji"),p.length>0?(0,y.renderAutocompleteGroup)(o,t,p,l,u,0===s.length?h.default.Messages.EMOJI_MATCHING:null,0===s.length?h.default.Messages.EMOJI:null,c.default.EmojiUpsell,(function(e){return{key:"emoji-upsell",emojis:e.emojis}}),(function(e){return""+v.EMOJI_SENTINEL+e}),"emoji-upsell",s.length):null,(s.length>0||p.length>0)&&d.length>0&&O(c.default.Divider,{className:E.default.emojiStickersDivider}),(0,y.renderAutocompleteGroup)(o,t,d,l,u,h.default.Messages.STICKERS_MATCHING,h.default.Messages.STICKER,c.default.Sticker,(function(e){var t=e.comparator,n=e.sticker;return{renderSticker:I,queryMatch:t!==n.name.toLocaleLowerCase()?t:void 0,sticker:n,key:n.id}}),(function(e){return e}),"stickers",s.length+p.length,s.length>0?E.default.stickersHeaderWithEmojiResults:void 0))},onSelect:function(e,t,n,r){var a=e.emojis,o=e.emojisLocked,i=e.stickers;if(t<a.length){var l=a[t];return r.insertText(function(e){return""+v.EMOJI_SENTINEL+e.name+v.EMOJI_SENTINEL}(l),function(e){var t=e.animated?"a":"";return e.managed||null==e.id?""+v.EMOJI_SENTINEL+e.name+v.EMOJI_SENTINEL:"<"+t+":"+(e.originalName||e.name)+":"+e.id+">"}(l)),{type:m.AutocompleteSelectionTypes.EMOJI,metadata:{numEmojiResults:a.length,numStickerResults:i.length}}}if((t-=a.length)<o.length)return{type:null};if((t-=o.length)<i.length){var u=i[t];return r.insertText(""),r.sendSticker(u.sticker,s.StickerSelectLocation.AUTOCOMPLETE),{type:m.AutocompleteSelectionTypes.STICKER,metadata:{numEmojiResults:a.length,numStickerResults:i.length,stickerId:u.sticker.id}}}return{type:null}}};t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useEmojiAutocompleteUpsellIOSExperiment=t.EmojiAutocompleteUpsellIOSExperiment=t.default=t.useEmojiAutocompleteUpsellExperiment=t.EmojiAutocompleteUpsellExperiment=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(50);function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}var i=(0,a.createExperiment)({kind:"user",id:"2021-03_nitro_emoji_autocomplete_upsell",label:"Emoji Autocomplete Upsell",defaultConfig:{emojiAutocompleteUpsellEnabled:!1},treatments:[{id:1,label:"Show emoji autocomplete upsell",config:{emojiAutocompleteUpsellEnabled:!0}}]});t.EmojiAutocompleteUpsellExperiment=i;t.useEmojiAutocompleteUpsellExperiment=function(e){return r.useEffect((function(){e&&i.trackExposure({})}),[e]),i.useExperiment({})};var l=i;t.default=l;var u=(0,a.createExperiment)({kind:"user",id:"2021-04_nitro_emoji_autocomplete_upsell_ios",label:"Emoji Autocomplete Upsell iOS",defaultConfig:{emojiAutocompleteUpsellEnabled:!1},treatments:[{id:1,label:"Show emoji autocomplete upsell",config:{emojiAutocompleteUpsellEnabled:!0}}]});t.EmojiAutocompleteUpsellIOSExperiment=u;t.useEmojiAutocompleteUpsellIOSExperiment=function(){return u.useExperiment({})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(8)),i=E(n(9413)),l=E(n(106)),u=E(n(8280)),s=n(8260),d=E(n(8851)),f=E(n(8291)),c=E(n(55)),p=E(n(151)),v=n(8278),y=n(8281),m=n(1),_=E(n(6)),h=E(n(7496));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var O={results:{command:null,integrations:[],isLoading:!1}};function I(e,t){var n,r,a;t.commands===y.CommandMode.OLD_BUILT_INS?(n=e.split(" ")[0].substring(v.COMMAND_SENTINEL.length),e=e.substring((null!==(r=n.length)&&void 0!==r?r:0)+v.COMMAND_SENTINEL.length)):n=null===(a=u.default.getActiveCommand())||void 0===a?void 0:a.name;return{command:n,query:e.trim()}}function T(e){return e.meta.url}var C={stores:[u.default,d.default],matches:function(e,t,n,r,a){var o;return a.commands!==y.CommandMode.DISABLED&&(a.commands===y.CommandMode.OLD_BUILT_INS?r&&n.startsWith(v.COMMAND_SENTINEL+"giphy")||n.startsWith(v.COMMAND_SENTINEL+"tenor"):(null===(o=u.default.getActiveCommand())||void 0===o?void 0:o.integrationType)===m.ChannelTextAreaIntegrationTypes.GIF&&u.default.getOptionStates().query.hasValue)},queryResults:function(e,t,n,r,a){var l=I(n,r),u=l.command,s=l.query;if(null==u)return O;var f=o.default.findKey(m.ChannelTextAreaIntegrations,(function(e){return e.command===u}));a&&null!=f&&s.length>0&&i.default.search(f,s);var c=d.default.getResults(f,s);return null==c?O:{results:{command:u,integrations:c.results,isLoading:c.loading}}},renderResults:function(e,t,n,r,o,i,l,s){var d=e.integrations,v=e.isLoading,E=I(o,i),g=E.command,O=E.query;if(null==g||0===O.length)return null;if(v)return S(p.default,{className:h.default.spinner,type:p.default.Type.SPINNING_CIRCLE});if(null!=d){var T,C,b=!1,M=d.map((function(e,n){switch(e.type){case m.ChannelTextAreaIntegrationTypes.GIF:return b=!0,S(f.default.GIFIntegration,{className:h.default.horizontalAutocomplete,onClick:s,onHover:l,selected:t===n,index:n,width:e.meta.width||0,height:e.meta.height||0,src:e.meta.src||"",url:e.meta.url},""+e.meta.url+e.meta.src)}})),N=i.commands===y.CommandMode.OLD_BUILT_INS?g:null!==(T=null===(C=u.default.getActiveCommand())||void 0===C?void 0:C.integrationTitle)&&void 0!==T?T:g,A=O.length>0&&null!=N?_.default.Messages.CONTENT_MATCHING.format({query:O,command:N}):null!=N?N:g;return S(a.Fragment,{},"gifs",S(f.default.Title,{title:A}),b?S(c.default,{className:h.default.horizontalAutocompletes},void 0,M):M)}},onSelect:function(e,t,n,r){var a=e.command,o=e.integrations;if(null==a)return{type:null};var i=o[t];if(n===y.SelectType.INSERT?r.insertText(T(i)):r.sendMessage(T(i)),l.default.trackWithMetadata(m.AnalyticEvents.SEARCH_RESULT_SELECTED,{search_type:m.SearchTypes.GIF,index_num:t,source_object:"/"+a}),r.commands!==y.CommandMode.OLD_BUILT_INS){var d=u.default.getActiveCommand();(null==d?void 0:d.type)===s.ApplicationCommandType.BUILT_IN_INTEGRATION&&l.default.trackWithMetadata(m.AnalyticEvents.APPLICATION_COMMAND_USED,{command_id:d.id,application_id:d.applicationId})}return{type:y.AutocompleteSelectionTypes.GIF}}};t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(14)),a=l(n(2)),o=l(n(8851)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}var u={search:function(e,t){null==o.default.getResults(e,t)&&(a.default.dirtyDispatch({type:i.ActionTypes.INTEGRATION_QUERY,integration:e,query:t}),r.default.get({url:i.Endpoints.INTEGRATION_SEARCH(i.ChannelTextAreaIntegrations[e].command),query:{q:t},oldFormErrors:!0}).then((function(n){a.default.dispatch({type:i.ActionTypes.INTEGRATION_QUERY_SUCCESS,integration:e,query:t,results:n.body})}),(function(){return a.default.dispatch({type:i.ActionTypes.INTEGRATION_QUERY_FAILURE,integration:e,query:t})})))}};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-05_application_command_suggestions",label:"Application Command Suggestion experiment",defaultConfig:{showApplicationCommandSuggestions:!1},treatments:[{id:1,label:"Show suggestions",config:{showApplicationCommandSuggestions:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(8291)),i=f(n(697)),l=n(8278),u=n(8346),s=n(8281),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=p(o.default.Divider,{}),y=p(o.default.Divider,{});var m={sentinel:l.MENTION_SENTINEL,matches:function(e,t,n,r,a){return a.mentions.user!==s.UserMentionMode.DENY||a.mentions.role!==s.RoleMentionMode.DENY||a.mentions.global!==s.GlobalMentionMode.DENY},queryResults:function(e,t,n,r,a){var o=r.mentions.global===s.GlobalMentionMode.ALLOW_EVERYONE||r.mentions.global===s.GlobalMentionMode.ALLOW_EVERYONE_OR_HERE,l=r.mentions.global===s.GlobalMentionMode.ALLOW_EVERYONE_OR_HERE,u=r.mentions.user!==s.UserMentionMode.DENY,d=r.mentions.role!==s.RoleMentionMode.DENY,f=r.mentions.user===s.UserMentionMode.ALLOW_GUILD,c=r.mentions.role===s.RoleMentionMode.ALLOW_ALL;return{results:i.default.queryMentionResults(n,e,o,l,u,d,f,c)}},renderResults:function(e,t,n,r,i,f,c,m){var _,h,E=e.users,g=e.globals,S=e.roles,O=E.map((function(e,r){return p(o.default.User,{guildId:n.guild_id,onClick:m,onHover:c,selected:t===r,index:r,user:e.user,nick:e.nick,status:e.status,hidePersonalInformation:f.hidePersonalInformation},e.user.id)})),I=g.map((function(e,n){return p(o.default.Generic,{onClick:m,onHover:c,selected:t===n+E.length,index:E.length+n,text:e.text,description:f.hideMentionDescription?null:e.description,"aria-label":e.text},e.text)})),T=S.map((function(e,n){return p(o.default.Role,{onClick:m,onHover:c,selected:t===n+E.length+g.length,index:E.length+g.length+n,role:e,hideDescription:f.hideMentionDescription},e.id)}));return f.mentions.user===s.UserMentionMode.DENY?(_=d.default.Messages.ROLES_MATCHING,h=d.default.Messages.ROLES):(_=d.default.Messages.MEMBERS_MATCHING,h=d.default.Messages.MEMBERS),p(a.Fragment,{},"mentions",(0,u.renderHeader)(_,h,i,(function(e){return""+l.MENTION_SENTINEL+e})),O,E.length>0&&g.length>0?v:null,I,E.length>0&&S.length>0||g.length>0&&S.length>0?y:null,T)},onSelect:function(e,t,n,r){var a=e.users,o=e.globals,i=e.roles,u=a[t],d=o[t-a.length],f=i[t-a.length-o.length];return null!=u?r.insertText(function(e,t){return t?""+l.MENTION_SENTINEL+e.username:""+l.MENTION_SENTINEL+e.tag}(u.user,r.hidePersonalInformation),function(e){return"<@!"+e.id+">"}(u.user)):null!=d?r.insertText(function(e){return e.text}(d)):null!=f&&r.insertText(function(e){return""+l.MENTION_SENTINEL+e.name}(f),function(e){return"<@&"+e.id+">"}(f)),{type:s.AutocompleteSelectionTypes.MENTION}}};t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(40)),a=f(n(8291)),o=f(n(697)),i=n(8278),l=n(8346),u=n(8281),s=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}var c={sentinel:i.REACTION_START_SENTINEL,matches:function(e,t,n,a,o){return a&&(o.textareaType===s.TextareaTypes.NORMAL||o.textareaType===s.TextareaTypes.SIDEBAR)&&(r.default.can(s.Permissions.ADD_REACTIONS,e)||e.isPrivate())},queryResults:function(e,t,n,r,a){return{results:{emojis:o.default.queryEmojiResults(n,e,s.EmojiIntention.REACTION).emojis.unlocked}}},renderResults:function(e,t,n,r,o,u,s,f){var c=e.emojis;return(0,l.renderAutocompleteGroup)(o,t,c,s,f,d.default.Messages.REACTIONS_MATCHING,d.default.Messages.EMOJI,a.default.Emoji,(function(e){return{emoji:e,key:e.id||e.uniqueName||e.name,sentinel:i.EMOJI_SENTINEL}}),(function(e){return""+i.REACTION_START_SENTINEL+e}),"reactions")},onSelect:function(e,t,n,r){var a=e.emojis[t];return r.sendMessage(function(e){return""+i.REACTION_START_SENTINEL+e.name+i.REACTION_END_SENTINEL}(a)),{type:u.AutocompleteSelectionTypes.REACTION}}};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r,l=e.navId,u=e.scrollerRef,s=e.state,d=e.onFocus,f=function(e,t){var n;null===(n=u.current)||void 0===n||n.scrollToTop(),e&&null!=s.query&&(!s.isVisible||!0===t&&!1===s.query.typeInfo.autoFocus?(p.setFocus(null),null==d||d(null)):(p.setFocus("0"),null==d||d(0)))},c=function(e){var t;if(null===(t=u.current)||void 0===t||t.scrollToBottom(),e&&null!=s.query&&s.query.resultCount>0){var n=s.query.resultCount-1;p.setFocus(n.toString()),null==d||d(n)}},p=(0,o.default)({id:l,isEnabled:s.isVisible,orientation:i.Orientations.VERTICAL,useVirtualFocus:!0,setFocus:function(e,t){var n,r=document.querySelector(e);null!=r&&(null===(n=u.current)||void 0===n||n.scrollIntoViewNode({node:r}));null==d||d(+t)},onNavigateNextAtEnd:function(){return f(!0)},onNavigatePreviousAtStart:function(){return c(!0)},scrollToStart:function(){return f(!1,!1),Promise.resolve()},scrollToEnd:function(){return c(!1),Promise.resolve()}});return a.useEffect((function(){f(!0,!0)}),[null===(t=s.query)||void 0===t?void 0:t.type,null===(n=s.query)||void 0===n?void 0:n.queryText,null===(r=s.query)||void 0===r?void 0:r.isLoading,s.isVisible]),p};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(680))&&r.__esModule?r:{default:r},i=n(704);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=R(n(0)),o=A(n(9)),i=A(n(8)),l=n(3),u=A(n(274)),s=A(n(9419)),d=A(n(8257)),f=R(n(9124)),c=n(1168),p=A(n(8408)),v=n(398),y=A(n(9461)),m=A(n(39)),_=A(n(29)),h=n(721),E=n(250),g=n(165),S=n(41),O=A(n(13)),I=n(121),T=n(1218),C=n(8365),b=n(1),M=A(n(6)),N=A(n(7531));function A(e){return e&&e.__esModule?e:{default:e}}function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function D(){return(D=Object.assign||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}).apply(this,arguments)}var w=T.MIN_EXPRESSION_PICKER_WIDTH+c.EmojiSize.MEDIUM,j=a.memo((function(e){var t,n=e.isActive,r=e.className,i=e.viewType,l=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["isActive","className","viewType"]);return a.createElement(_.default,D({},l,{onClick:function(){O.default.track(b.AnalyticEvents.EXPRESSION_PICKER_TAB_CLICKED,{tab:i,badged:!1}),(0,C.setExpressionPickerView)(i)},"aria-current":n?"page":void 0,className:(0,o.default)(r,N.default.navButton,(t={},t[N.default.navButtonActive]=n,t)),look:_.default.Looks.BLANK,size:_.default.Sizes.NONE}))}));function k(e){var t=e.positionTargetRef,n=e.onSelectGIF,r=e.onSelectEmoji,_=e.onSelectSticker,A=e.channel,P=e.gifButtonRef,R=e.stickerButtonRef,D=e.emojiButtonRef,k=e.isEditingMessage,U=e.canAddGIFs,G=e.canAttachStickers,F=a.useRef(null),B=a.useRef(!1),H=a.useRef(null),x=function(e){var t=e.positionContainerRef,n=e.drawerRef,r=(0,l.useStateFromStores)([m.default],(function(){return m.default.expressionPickerWidth})),o=a.useState(window.innerWidth),s=o[0],d=o[1],c=a.useState(null!=r?r:T.ExpressionPickerWidths.MIN),p=c[0],v=c[1],y=a.useMemo((function(){switch(p){case T.ExpressionPickerWidths.MIN:return T.MIN_EXPRESSION_PICKER_WIDTH;case T.ExpressionPickerWidths.MAX:return null;default:return p}}),[p]),_=a.useCallback((function(e){var t=e>=s?T.ExpressionPickerWidths.MAX:e<=T.MIN_EXPRESSION_PICKER_WIDTH?T.ExpressionPickerWidths.MIN:e;null==t&&null!=n.current&&(n.current.style.width=""),u.default.updateLocalSettings({expressionPickerWidth:t}),v(t)}),[n,s]),h=(0,f.default)({initialElementDimension:y,maxDimension:s,minDimension:T.MIN_EXPRESSION_PICKER_WIDTH,resizableDomNodeRef:n,onElementResize:_,orientation:f.ResizeOrientation.HORIZONTAL});return a.useEffect((function(){var e=i.default.debounce((function(){null!=t.current&&d(t.current.offsetWidth)}),500);return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[t]),a.useLayoutEffect((function(){null!=t.current&&d(t.current.offsetWidth)}),[t]),{drawerWidth:y,handleDrawerResizeHandleMouseDown:a.useCallback((function(e){e.stopPropagation(),null!=t.current&&d(t.current.offsetWidth),h(e)}),[t,h])}}({positionContainerRef:F,drawerRef:H}),V=x.drawerWidth,W=x.handleDrawerResizeHandleMouseDown,Y=(0,C.useExpressionPickerStore)((function(e){return e.activeView})),z=a.useCallback((function(e){if(!(0,S.hasAnyModalOpen)()){for(var t=e.target;t instanceof Element;){if(t===H.current)return;if(t===P.current||t===D.current||t===R.current)return;t=t.parentNode}(0,C.closeExpressionPicker)(),null!=document.activeElement&&"BODY"!==document.activeElement.tagName||I.ComponentDispatch.dispatchToLastSubscribed(b.ComponentActions.TEXTAREA_FOCUS)}}),[D,R,P]),K=a.useCallback((function(){(0,C.closeExpressionPicker)()}),[]);a.useLayoutEffect((function(){var e=function(){Y===T.ExpressionPickerViewType.GIF&&(0,C.closeExpressionPicker)()};return window.addEventListener("mousedown",z),window.addEventListener("contextmenu",z),I.ComponentDispatch.subscribe(b.ComponentActions.POPOUT_CLOSE,K),I.ComponentDispatch.subscribe(b.ComponentActions.CLOSE_GIF_PICKER,e),function(){window.removeEventListener("mousedown",z),window.removeEventListener("contextmenu",z),I.ComponentDispatch.unsubscribe(b.ComponentActions.POPOUT_CLOSE,K),I.ComponentDispatch.unsubscribe(b.ComponentActions.CLOSE_GIF_PICKER,e)}}),[Y,K,z]),(0,h.useFocusLock)(F),a.useEffect((function(){null==H.current||B.current||(O.default.track(b.AnalyticEvents.EXPRESSION_PICKER_OPENED,{width:H.current.offsetWidth,tab:Y,badged:!1}),B.current=!0)}));var $=!k&&(U||G),Z=L(y.default,{channel:A,onSelectSticker:_,containerWidth:V,closePopout:K}),q=L(s.default,{onSelectGIF:n});return L(d.default,{section:b.AnalyticsSections.EXPRESSION_PICKER},void 0,L(g.AppReferencePositionLayer,{className:N.default.positionLayer,reference:t,position:E.Positions.TOP,align:E.Align.RIGHT,spacing:8,autoInvert:!0},void 0,(function(e){var t,n=e.isPositioned;return a.createElement("section",{className:(0,o.default)(N.default.positionContainer,(t={},t[N.default.positionContainerOnlyEmoji]=!$,t)),ref:F},n?a.createElement("div",{className:N.default.drawerSizingWrapper,style:{width:null==V?void 0:V},ref:H},L("div",{className:N.default.resizeHandle,onMouseDown:W}),L("div",{className:N.default.contentWrapper},void 0,$?L("nav",{className:N.default.nav},void 0,L("div",{className:N.default.navList,role:"tablist","aria-label":"Expression Picker"},void 0,U&&L("div",{className:N.default.navItem,role:"tab",id:c.GIF_PICKER_TAB_ID,"aria-controls":c.GIF_PICKER_TAB_PANEL_ID,"aria-selected":Y===T.ExpressionPickerViewType.GIF},void 0,L(j,{isActive:Y===T.ExpressionPickerViewType.GIF,viewType:T.ExpressionPickerViewType.GIF},void 0,M.default.Messages.EXPRESSION_PICKER_GIF)),G?L("div",{className:N.default.navItem,role:"tab",id:v.STICKER_PICKER_TAB_ID,"aria-controls":v.STICKER_PICKER_TAB_PANEL_ID,"aria-selected":Y===T.ExpressionPickerViewType.STICKER},void 0,L(j,{isActive:Y===T.ExpressionPickerViewType.STICKER,viewType:T.ExpressionPickerViewType.STICKER},void 0,L("div",{className:N.default.stickersNavItem},void 0,M.default.Messages.EXPRESSION_PICKER_STICKER))):null,L("div",{className:N.default.navItem,role:"tab",id:c.EMOJI_PICKER_TAB_ID,"aria-controls":c.EMOJI_PICKER_TAB_PANEL_ID,"aria-selected":Y===T.ExpressionPickerViewType.EMOJI},void 0,L(j,{isActive:Y===T.ExpressionPickerViewType.EMOJI,viewType:T.ExpressionPickerViewType.EMOJI},void 0,M.default.Messages.EXPRESSION_PICKER_EMOJI)))):null,Y!==T.ExpressionPickerViewType.STICKER||k?null:Z,Y!==T.ExpressionPickerViewType.GIF||k?null:q,Y===T.ExpressionPickerViewType.EMOJI?L(p.default,{inExpressionPicker:!0,channel:A,closePopout:K,onSelectEmoji:r,containerWidth:V,emojiSize:null!=V&&V<w?c.EmojiSize.MEDIUM:c.EmojiSize.LARGE,pickerIntention:b.EmojiIntention.CHAT}):null)):null)})))}k.displayName="ExpressionPicker";var U=a.memo(k);t.default=U},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=T(n(0)),o=O(n(9)),i=n(3),l=O(n(2)),u=T(n(8507)),s=n(1168),d=O(n(8438)),f=O(n(8613)),c=O(n(61)),p=O(n(55)),v=O(n(5942)),y=n(131),m=O(n(8853)),_=O(n(9420)),h=O(n(8857)),E=n(1),g=O(n(6)),S=O(n(7503));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function C(){return(C=Object.assign||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}).apply(this,arguments)}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var N=function(e){return e.stopPropagation()},A=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={resultType:null},t.searchBarRef=a.createRef(),t.backToFrontPage=function(e){var n=t.state.resultType;e.keyCode===E.KeyboardKeys.ESCAPE&&null!=n&&(e.stopPropagation(),e.preventDefault(),t.handleClearQuery())},t.handleChangeQuery=function(e){t.search(e,E.GIFPickerResultTypes.SEARCH)},t.handleSelectSuggestion=function(e){u.resetSearch(),t.search(e,E.GIFPickerResultTypes.SEARCH_SUGGESTION,!0)},t.handleClearQuery=function(){var e=t.searchBarRef.current;u.resetSearch(),t.setState({resultType:null}),null!=e&&e.focus()},t.handleSelectGIF=function(e){var n=t.props.onSelectGIF;null!=n&&n(e)},t.handleSelectItem=function(e,n){var r=t.searchBarRef.current;switch(e){case E.GIFPickerResultTypes.TRENDING_CATEGORY:u.search(n,E.GIFPickerResultTypes.TRENDING_CATEGORY,!0),null!=r&&r.focus();break;case E.GIFPickerResultTypes.TRENDING_GIFS:u.fetchTrendingGIFs()}t.setState({resultType:e})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,M(t,n);var i=r.prototype;return i.componentDidMount=function(){u.initializeSearch(),document.addEventListener("keydown",this.backToFrontPage)},i.componentWillUnmount=function(){l.default.wait((function(){return u.resetSearch()})),document.removeEventListener("keydown",this.backToFrontPage)},i.search=function(e,t,n){u.search(e,t,n),""===e?this.setState({resultType:null}):this.state.resultType!==E.GIFPickerResultTypes.SEARCH&&this.setState({resultType:E.GIFPickerResultTypes.SEARCH})},i.renderHeaderContent=function(){var e=this.props.query;switch(this.state.resultType){case E.GIFPickerResultTypes.FAVORITES:return b(y.FormTitle,{tag:y.FormTitle.Tags.H5,className:S.default.searchHeader},void 0,g.default.Messages.GIF_PICKER_FAVORITES);case E.GIFPickerResultTypes.TRENDING_GIFS:return b(y.FormTitle,{tag:y.FormTitle.Tags.H5,className:S.default.searchHeader},void 0,g.default.Messages.GIF_PICKER_RESULT_TYPE_TRENDING_GIFS);default:return a.createElement(v.default,{className:S.default.searchBar,size:v.default.Sizes.MEDIUM,query:e,onChange:this.handleChangeQuery,onClear:this.handleClearQuery,placeholder:g.default.Messages.SEARCH_TENOR,ref:this.searchBarRef,autoFocus:!0})}},i.renderHeader=function(){var e=null;return null!=this.state.resultType&&(e=b(c.default,{onClick:this.handleClearQuery,className:S.default.backButton},void 0,b(m.default,{title:g.default.Messages.BACK}))),b(p.default,{align:p.default.Align.CENTER},void 0,e,this.renderHeaderContent())},i.renderContent=function(){var e=this.props,t=e.resultItems,n=e.resultQuery,r=e.query,a=e.favorites,o=e.searchOffset,i=e.searchLimit,l=e.searchTotalResults,u=e.suggestions,s=this.state.resultType;return null==s?b(_.default,{onSelectItem:this.handleSelectItem}):b(h.default,{data:s===E.GIFPickerResultTypes.FAVORITES?a:t,onSelectGIF:this.handleSelectGIF,resultType:s,resultQuery:n,query:r,searchOffset:o,searchLimit:i,searchTotalResults:l,suggestions:u,onSelectSuggestion:this.handleSelectSuggestion})},i.render=function(){var e=this.props,t=e.className,n=e.forwardedRef;return a.createElement("div",{id:s.GIF_PICKER_TAB_PANEL_ID,role:"tabpanel","aria-labelledby":s.GIF_PICKER_TAB_ID,className:(0,o.default)(S.default.container,t),onClick:N,ref:n},b("div",{className:S.default.header},void 0,this.renderHeader()),b("div",{className:S.default.content},void 0,this.renderContent()))},r}(a.PureComponent);A.displayName="GIFPicker";var P=a.forwardRef((function(e,t){var n=(0,i.useStateFromStoresObject)([f.default],(function(){return{query:f.default.getQuery(),resultQuery:f.default.getResultQuery(),resultItems:f.default.getResultItems(),suggestions:f.default.getSuggestions()}})),r=n.query,o=n.resultQuery,l=n.resultItems,u=n.suggestions,s=(0,i.useStateFromStores)([d.default],(function(){return d.default.getFavorites()}));return a.createElement(A,C({},e,{forwardedRef:t,query:r,resultQuery:o,resultItems:l,suggestions:u,favorites:s,searchOffset:0,searchTotalResults:f.default.getResultItems().length,searchLimit:null}))}));t.default=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(3)),i=n(8507),l=E(n(8854)),u=E(n(8438)),s=E(n(8613)),d=E(n(8623)),f=E(n(8855)),c=n(393),p=E(n(8856)),v=n(9422),y=n(8857),m=n(1),_=E(n(6)),h=E(n(7502));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var I=function(e,t){return O(v.CategoryColumn,{columns:e},t)};function T(){var e=u.default.getRandomFavorite();return{type:m.GIFPickerResultTypes.FAVORITES,name:_.default.Messages.GIF_PICKER_FAVORITES,icon:d.default,src:null!=e?e.src:"https://media.giphy.com/media/1TOSaJsWtnhe0/giphy.gif",format:null!=e?e.format:m.GIFResultFormat.IMAGE}}I.displayName="renderColumn";var C=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this)._masonryRef=a.createRef(),t.state={favoritesTile:T(),selectedIndex:{column:0,row:0},focusedId:null},t.handleFocus=function(e){var n=t._masonryRef.current;if(null!=n){var r=n.getCoordsMap()[e];null!=r&&(n.scrollIntoViewRect({start:r.top-10,end:r.top+r.height+10}),t.setState({focusedId:e}))}},t.handleSelect=function(e){var n=t.props.onSelectItem,r=t.getData().find((function(t){return t.name===e}));null!=r&&null!=n&&n(r.type,r.name)},t.getItemKey=function(e,n){if(e>0)return null;var r=t.getData()[n];return null!=r?r.name:null},t.memoizedData=(0,c.cachedFunction)((function(e,t){return[e].concat(t)})),t.renderItem=function(e,n,r,a){if(e>0)return null;var o=t.getData()[n];if(null!=o){var i=t.props.onSelectItem,l=t.state.focusedId;return O(y.GIFPickerSearchItem,{format:o.format,color:m.Colors.PRIMARY_DARK_800,src:o.src,item:o,index:n,coords:r,onClick:function(){return i(o.type,o.name)},renderExtras:t.renderCategoryExtras,focused:o.name===l},a)}},t.renderContent=function(e,n,r){return 0===t.props.trendingCategories.length?O(v.ResultsLoader,{columns:e,width:n,renderColumn:I}):a.createElement(f.default,{ref:t._masonryRef,fade:!0,className:h.default.container,itemGutter:12,getItemKey:t.getItemKey,columns:e,getItemHeight:function(){return 110},renderItem:t.renderItem,sections:[t.getData().length],chunkSize:50})},t.getItemGrid=function(){var e=t._masonryRef.current;return null!=e?e.getItemGrid():[]},t.getCoordsMap=function(){var e=t._masonryRef.current;return null!=e?e.getCoordsMap():{}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n);var o=r.prototype;return o.componentDidMount=function(){0===this.props.trendingCategories.length&&(0,i.fetchTrending)()},o.getData=function(){return this.memoizedData(this.state.favoritesTile,this.props.trendingCategories)},o.renderCategoryExtras=function(e){var t=e.name,n=e.icon,r=e.type;return O(a.Fragment,{},void 0,O("div",{className:r===m.GIFPickerResultTypes.FAVORITES?h.default.categoryFadeBlurple:h.default.categoryFade}),O("div",{className:h.default.categoryText},void 0,null!=n?O(n,{className:h.default.categoryIcon}):null,O("span",{className:h.default.categoryName},void 0,t)))},o.render=function(){return O(l.default,{getItemGrid:this.getItemGrid,getCoordsMap:this.getCoordsMap,onFocus:this.handleFocus,onSelect:this.handleSelect},void 0,O(p.default,{desiredItemWidth:200,maxColumns:6},void 0,this.renderContent))},r}(a.PureComponent);C.displayName="GIFPickerFrontPage";var b=o.default.connectStores([s.default],(function(){return{trendingCategories:s.default.getTrendingCategories()}}))(C);t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=(0,l.getScrollbarSpecs)(e),s=new Map,d=new n((function(e){e.forEach((function(e){var t,n=e.target;null===(t=s.get(n))||void 0===t||t(e)}))}));return(0,a.forwardRef)((function(n,p){var v,y=n.onScroll,m=n.dir,_=void 0===m?"ltr":m,h=n.sections,E=n.columns,g=n.getItemKey,S=n.getItemHeight,O=n.getSectionHeight,I=n.chunkSize,T=n.renderSection,C=n.renderItem,b=n.itemGutter,M=n.sectionGutter,N=n.padding,A=n.fade,P=void 0!==A&&A,R=n.className,L=n.style,D=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(n,["onScroll","dir","sections","columns","getItemKey","getItemHeight","getSectionHeight","chunkSize","renderSection","renderItem","itemGutter","sectionGutter","padding","fade","className","style"]),w=a.default.useRef(null),j=a.default.useRef(null),k=a.default.useState(!1),U=k[0],G=k[1],F=(0,l.useCachedScrollerState)(),B=F.scrollerRef,H=F.scrollerState,x=F.getScrollerState;(0,l.usePaddingFixes)({scrollerRef:B,className:R,specs:r,orientation:"vertical",dir:_});var V=(0,l.useVirtualizedMasonryState)({sections:h,columns:E,getItemKey:g,getItemHeight:S,getSectionHeight:O,chunkSize:I,itemGutter:b,sectionGutter:M,padding:N,getScrollerState:x,dir:_}),W=V.forceUpdateOnChunkChange,Y=V.coordsMap,z=V.visibleSections,K=V.totalHeight,$=V.forceUpdate,Z=V.masonryComputer,q=(0,a.useCallback)((function(e){void 0===e&&(e=2),e>H.current.dirty&&(H.current.dirty=e,2===e?$():W(1))}),[W,H,$]),X=(0,l.useScrollSpring)(B),J=(0,a.useCallback)((function(){return Z.itemGrid}),[Z]),Q=(0,a.useCallback)((function(){return Z.coordsMap}),[Z]),ee=a.default.useCallback((function(){return q()}),[q]);(0,l.useResizeObserverSubscription)({ref:B,key:"container",onUpdate:ee,resizeObserver:d,listenerMap:s}),(0,a.useImperativeHandle)(p,(function(){return c({getScrollerNode:function(){return B.current},getItemGrid:J,getCoordsMap:Q,getScrollerState:x},(0,l.getAnimatedScrollHelpers)(B,x,X))}),[B,x,J,X,Q]);var te=(0,a.useCallback)((function(e){q(1),null==w.current?G(!0):clearTimeout(w.current),w.current=setTimeout((function(){w.current=null,G(!1)}),200),null!=y&&y(e)}),[y,q]);return a.default.createElement("div",c({ref:B,onScroll:te,className:(0,o.default)(R,(v={},v[e]=!0,v[t]=P,v[u.default.scrolling]=U,v)),style:(0,l.getMergedOrientationStyles)(L)},D),(0,a.useMemo)((function(){return f(i.FocusRingScope,{containerRef:j},void 0,a.default.createElement("div",{style:{height:K},className:u.default.content,ref:j},Object.keys(z).map((function(e){var t=(0,l.getMasonryListSectionIndex)(e),n=Y[e],r=z[e],a=Y[(0,l.getMasonryListSectionHeaderKey)(t)];return null!=n&&null!=r?f("div",{style:n},e,null!=T&&null!=a&&T(t,a,e),r.map((function(e){var t=e[0],n=e[1],r=e[2],a=Y[t];return null!=a?C(n,r,a,t):null}))):null}))))}),[z,C,T,Y,K]))}))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=n(88),l=n(414),u=s(n(381));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResultsLoader=t.CategoryColumn=t.AnimatedColumn=t.Block=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(8)),i=s(n(273)),l=n(1),u=s(n(7498));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,p(e,t)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=[l.Colors.PREMIUM_TIER_1_PURPLE,l.Colors.PREMIUM_TIER_1_BLUE,"#929AFA"],y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={backgroundColor:o.default.sample(v)},t}return c(t,e),t.prototype.render=function(){return f("div",{style:{height:this.props.height,backgroundColor:this.state.backgroundColor},className:u.default.gif})},t}(a.PureComponent);t.Block=y,y.displayName="Block";var m=function(e){function t(t){var n;(n=e.call(this,t)||this).animateSlide=function(){var e=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n),t=e.props.direction,r=e.state,a=r.translateY,o=r.height,l=t>0?0:-o/2+12,u=t>0?-o/2+12:0;a.setValue(l),i.default.timing(a,{toValue:u,duration:800,easing:i.default.Easing.linear}).start(n.animateSlide)};var r=new Array(10).fill(null).map((function(){return o.default.random(40,150)}));return n.state={blocks:r,height:2*r.reduce((function(e,t){return e+t+12}),12),translateY:new i.default.Value(0)},n}c(t,e);var n=t.prototype;return n.componentDidMount=function(){this.animateSlide()},n.getAnimatedStyle=function(){return{width:100/this.props.columns+"%",transform:[{translateY:this.state.translateY.interpolate({inputRange:[0,1],outputRange:["0px","1px"]})}]}},n.render=function(){var e=this.state.blocks;return f(i.default.div,{className:u.default.column,style:this.getAnimatedStyle()},void 0,e.map((function(e,t){return f(y,{height:e},t)})),e.map((function(e,t){return f(y,{height:e},"alt"+t)})))},t}(a.Component);t.AnimatedColumn=m,m.displayName="AnimatedColumn",m.defaultProps={direction:-1};var _=function(e){var t=e.columns;return f("div",{className:u.default.column,style:{width:100/t+"%"}},void 0,new Array(4).fill(null).map((function(e,t){return f("div",{className:u.default.categoryLoader},t)})))};t.CategoryColumn=_,_.displayName="CategoryColumn";var h=function(e){function t(){return e.apply(this,arguments)||this}return c(t,e),t.prototype.render=function(){var e=this.props,t=e.columns,n=e.renderColumn;return f("div",{className:u.default.container},void 0,new Array(t).fill(null).map((function(e,r){return n(t,r)})))},t}(a.PureComponent);t.ResultsLoader=h,h.displayName="ResultsLoader"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,d:"M19.6,9l-4.2-0.4c-0.4,0-0.7-0.3-0.8-0.6l-1.6-3.9c-0.3-0.8-1.5-0.8-1.8,0L9.4,8.1C9.3,8.4,9,8.6,8.6,8.7L4.4,9 c-0.9,0.1-1.2,1.2-0.6,1.8L7,13.6c0.3,0.2,0.4,0.6,0.3,1l-1,4.1c-0.2,0.9,0.7,1.5,1.5,1.1l3.6-2.2c0.3-0.2,0.7-0.2,1,0l3.6,2.2 c0.8,0.5,1.7-0.2,1.5-1.1l-1-4.1c-0.1-0.4,0-0.7,0.3-1l3.2-2.8C20.9,10.2,20.5,9.1,19.6,9z M12,15.4l-3.8,2.3l1-4.3l-3.3-2.9 l4.4-0.4l1.7-4l1.7,4l4.4,0.4l-3.3,2.9l1,4.3L12,15.4z"}))}d.displayName="Favorite"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=N();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=M(n(9)),i=M(n(8)),l=n(3),u=n(8296),s=M(n(105)),d=n(1218),f=M(n(8621)),c=M(n(8859)),p=M(n(161)),v=M(n(61)),y=M(n(5954)),m=M(n(13)),_=n(139),h=n(1168),E=n(8347),g=n(5949),S=M(n(8860)),O=M(n(8394)),I=n(8861),T=n(1),C=M(n(7507)),b=M(n(7352));function M(e){return e&&e.__esModule?e:{default:e}}function N(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return N=function(){return e},e}function A(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var P=(0,_.cssValueToNumber)(b.default.guildCategoryIconSize),R=(0,_.cssValueToNumber)(b.default.guildCategoryIconMarginVerical),L=(0,_.cssValueToNumber)(b.default.unicodeCategoryIconSize),D=(0,_.cssValueToNumber)(b.default.unicodeCategoryIconMarginVertical),w=(0,_.cssValueToNumber)(b.default.unicodeCategoryIconPadding),j=(0,_.cssValueToNumber)(C.default.unicodeCategoryShortcutHeight),k=(0,_.cssValueToNumber)(b.default.categorySeparatorSize),U=(0,_.cssValueToNumber)(b.default.categorySeparatorMarginVertical),G=L+R+2*w,F=P+R,B=F+(k+2*U),H=L+D+2*w,x=A(y.default,{height:L,width:L}),V=function(e){var t,n=e.className,r=e.emojiListRef,y=e.sectionDescriptors,_=e.intention,b=e.channel,M=(0,E.useEmojiPickerStore)((function(e){return e.activeCategoryIndex})),N=(0,I.useCategorySelectHandler)({sectionDescriptors:y,emojiListRef:r}),P=(0,u.useAnalyticsContext)(),w=(0,g.useEmojiCategories)(_,b),V=a.useRef(null),W=(0,l.useStateFromStores)([p.default],(function(){return p.default.isFocused()})),Y=(0,l.useStateFromStores)([s.default],(function(){return s.default.useReducedMotion}),[]),z=a.useMemo((function(){return i.default.memoize((function(e){var t,n=w[e];if(null!=n){var r=n.type!==h.EmojiCategoryTypes.GUILD?n.id:null,i=M===e,l=n.type===h.EmojiCategoryTypes.GUILD?n.guild:null,u=A(v.default,{"aria-label":n.type===h.EmojiCategoryTypes.GUILD?null==l?void 0:l.toString():n.id,className:(0,o.default)((t={},t[C.default.categoryItemGuildCategory]=null!=l,t[C.default.categoryItemDefaultCategory]=null==l,t[C.default.categoryItemDefaultCategorySelected]=null==l&&i,t[C.default.categoryItemRecentEmoji]=n.type===h.EmojiCategoryTypes.RECENT,t)),onClick:function(){null!=l&&m.default.track(T.AnalyticEvents.EXPRESSION_PICKER_CATEGORY_SELECTED,{location:null==P?void 0:P.location,tab:d.ExpressionPickerViewType.EMOJI,guild_id:l.id}),N(e)}},e,null!=l?A(O.default,{guild:l,isSelected:i,shouldAnimate:!Y&&W}):null,null==l&&null!=r?A(S.default,{categoryId:r,className:C.default.categoryIcon,height:L,width:L}):null),s=w[e+1],f=null!=s&&n.type===h.EmojiCategoryTypes.GUILD&&s.type!==h.EmojiCategoryTypes.GUILD;return null==l?u:A(a.Fragment,{},e,A(c.default,{guild:l,includeActivity:!1},void 0,A("div",{},void 0,u)),f?A("hr",{className:C.default.guildCategorySeparator},"separator"):null)}}))}),[M,P,w,N,W,Y]),K=a.useMemo((function(){return[8,8,0,8]}),[]),$=a.useCallback((function(e){var t=w[e];if(t.type===h.EmojiCategoryTypes.RECENT)return G;if(t.type===h.EmojiCategoryTypes.GUILD){var n=w[e+1];return null!=n&&n.type!==h.EmojiCategoryTypes.GUILD?B:F}return H}),[w]),Z=a.useMemo((function(){var e=w.reduce((function(e,t){return t.type===h.EmojiCategoryTypes.GUILD||t.type===h.EmojiCategoryTypes.FAVORITES?e+1:e}),0);return{guildCategoryCount:e,firstUnicodeCategoryIndex:e+1,firstUnicodeCategoryOffsetTop:G+e*F+B}}),[w]),q=Z.guildCategoryCount,X=Z.firstUnicodeCategoryIndex,J=Z.firstUnicodeCategoryOffsetTop,Q=a.useState(!0),ee=Q[0],te=Q[1];a.useLayoutEffect((function(){te(q>=7)}),[q]);var ne=a.useCallback((function(e){var t,n=null===(t=V.current)||void 0===t?void 0:t.getListDimensions();if(null!=n){var r=e+n.height;te(!(r-k>=J))}}),[J]),re=a.useCallback((function(){var e;N(X),null===(e=V.current)||void 0===e||e.scrollTo(J)}),[J,X,N]),ae=a.useCallback((function(e,t){var n=w[e];if(null==n)return 0;var r=ee?j:0;if(n.type===h.EmojiCategoryTypes.RECENT)return t?0:D;if(n.type===h.EmojiCategoryTypes.GUILD){var a=w[e+1];return null!=a&&a.type!==h.EmojiCategoryTypes.GUILD?t?k+-2*U+R+r:R:t?r:R}return t?R+r:2*R}),[w,ee]);return a.createElement(f.default,{ref:V,activeIndex:M,className:n,listPadding:K,onScroll:ne,renderCategoryListItem:z,rowCount:w.length,rowHeight:$,getScrollOffsetForIndex:ae},q>=7&&A(v.default,{"aria-hidden":!ee,className:(0,o.default)(C.default.unicodeShortcut,(t={},t[C.default.unicodeShortcutInvisible]=!ee,t)),onClick:re},void 0,x))};V.displayName="EmojiCategoryList";var W=V;t.default=W},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{d:"M5.66487 5H18.3351C19.9078 5 21.2136 6.21463 21.3272 7.78329L21.9931 16.9774C22.0684 18.0165 21.287 18.9198 20.248 18.9951C20.2026 18.9984 20.1572 19 20.1117 19C18.919 19 17.8785 18.1904 17.5855 17.0342L17.0698 15H6.93015L6.41449 17.0342C6.12142 18.1904 5.08094 19 3.88826 19C2.84645 19 2.00189 18.1554 2.00189 17.1136C2.00189 17.0682 2.00354 17.0227 2.00682 16.9774L2.67271 7.78329C2.78632 6.21463 4.0921 5 5.66487 5ZM14.5 10C15.3284 10 16 9.32843 16 8.5C16 7.67157 15.3284 7 14.5 7C13.6716 7 13 7.67157 13 8.5C13 9.32843 13.6716 10 14.5 10ZM18.5 13C19.3284 13 20 12.3284 20 11.5C20 10.6716 19.3284 10 18.5 10C17.6716 10 17 10.6716 17 11.5C17 12.3284 17.6716 13 18.5 13ZM6.00001 9H4.00001V11H6.00001V13H8.00001V11H10V9H8.00001V7H6.00001V9Z",fill:d,className:f}))}d.displayName="EmojiActivityCategory"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{d:"M20 6.002H14V3.002C14 2.45 13.553 2.002 13 2.002H4C3.447 2.002 3 2.45 3 3.002V22.002H5V14.002H10.586L8.293 16.295C8.007 16.581 7.922 17.011 8.076 17.385C8.23 17.759 8.596 18.002 9 18.002H20C20.553 18.002 21 17.554 21 17.002V7.002C21 6.45 20.553 6.002 20 6.002Z",fill:d,className:f}))}d.displayName="EmojiFlagsCategory"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{d:"M11 18H13V22H11V18Z",fill:d,className:f}),s("path",{d:"M12 2C8.822 2 7 4.187 7 8V16C7 16.552 7.447 17 8 17H16C16.553 17 17 16.552 17 16V8C17 4.187 15.178 2 12 2ZM11 14.001H10V5.001H11V14.001ZM14 14.001H13V5.001H14V14.001Z",fill:d,className:f}))}d.displayName="EmojiFoodCategory"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{d:"M6.814 8.982C4.539 11.674 4.656 15.591 6.931 18.153L4.034 21.579L5.561 22.87L8.463 19.437C9.569 20.127 10.846 20.513 12.161 20.513C14.231 20.513 16.183 19.607 17.516 18.027C20.069 15.01 20.771 6.945 21 3C17.765 3.876 9.032 6.356 6.814 8.982V8.982ZM8.935 17.331C6.826 15.548 6.56 12.382 8.342 10.272C9.592 8.793 14.904 6.845 18.764 5.698L8.935 17.331V17.331Z",fill:d,className:f}))}d.displayName="EmojiNatureCategory"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{d:"M18 5.999H17V4.999C17 4.448 16.553 3.999 16 3.999H4C3.447 3.999 3 4.448 3 4.999V12.999C3 14.488 3.47 15.865 4.265 16.999H15.722C16.335 16.122 16.761 15.105 16.92 13.999H18C20.205 13.999 22 12.205 22 9.999C22 7.794 20.205 5.999 18 5.999V5.999ZM18 12H17V8H18C19.104 8 20 8.897 20 10C20 11.102 19.104 12 18 12Z",fill:d,className:f}),s("path",{d:"M2 18H18V20H2V18Z",fill:d,className:f}))}d.displayName="EmojiObjectsCategory"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{d:"M12 2C6.477 2 2 6.477 2 12C2 17.522 6.477 22 12 22C17.523 22 22 17.522 22 12C22 6.477 17.522 2 12 2ZM16.293 6.293L17.707 7.706L16.414 9L17.707 10.293L16.293 11.706L13.586 9L16.293 6.293ZM6.293 7.707L7.707 6.294L10.414 9L7.707 11.707L6.293 10.294L7.586 9L6.293 7.707ZM12 19C9.609 19 7.412 17.868 6 16.043L7.559 14.486C8.555 15.92 10.196 16.831 12 16.831C13.809 16.831 15.447 15.92 16.443 14.481L18 16.04C16.59 17.867 14.396 19 12 19Z",fill:d,className:f}))}d.displayName="EmojiPeopleCategory"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{d:"M16 4.001C14.406 4.001 12.93 4.838 12 6.081C11.07 4.838 9.594 4.001 8 4.001C5.243 4.001 3 6.244 3 9.001C3 14.492 11.124 19.633 11.471 19.849C11.633 19.95 11.817 20.001 12 20.001C12.183 20.001 12.367 19.95 12.529 19.849C12.876 19.633 21 14.492 21 9.001C21 6.244 18.757 4.001 16 4.001V4.001Z",fill:d,className:f}))}d.displayName="EmojiSymbolsCategory"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{d:"M22 17H19.725C19.892 16.529 20 16.029 20 15.5C20 13.015 17.985 11 15.5 11H13.5L12.276 8.553C12.107 8.214 11.761 8 11.382 8H7C6.448 8 6 8.447 6 9V11.051C3.753 11.302 2 13.186 2 15.5C2 17.986 4.015 20 6.5 20H15.5C16.563 20 17.527 19.616 18.297 19H22V17ZM6.5 16.75C5.81 16.75 5.25 16.19 5.25 15.5C5.25 14.81 5.81 14.25 6.5 14.25C7.19 14.25 7.75 14.81 7.75 15.5C7.75 16.19 7.19 16.75 6.5 16.75ZM11.5 16.75C10.81 16.75 10.25 16.19 10.25 15.5C10.25 14.81 10.81 14.25 11.5 14.25C12.19 14.25 12.75 14.81 12.75 15.5C12.75 16.19 12.19 16.75 11.5 16.75ZM16.5 16.75C15.81 16.75 15.25 16.19 15.25 15.5C15.25 14.81 15.81 14.25 16.5 14.25C17.19 14.25 17.75 14.81 17.75 15.5C17.75 16.19 17.19 16.75 16.5 16.75Z",fill:d,className:f}),s("path",{d:"M8 7H10C10 5.346 8.654 4 7 4H6V6H7C7.551 6 8 6.449 8 7Z",fill:d,className:f}))}d.displayName="EmojiTravelCategory"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(488)),i=E(n(9)),l=E(n(8)),u=n(122),s=n(680),d=E(n(8511)),f=E(n(9434)),c=E(n(61)),p=E(n(261)),v=n(139),y=n(1),m=E(n(6)),_=E(n(7352)),h=E(n(7508));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(){return(O=Object.assign||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}).apply(this,arguments)}var I=o.default.convert.fromCodePoint("1f44f"),T=(0,v.cssValueToNumber)(_.default.emojiContainerPaddingVertical),C=(0,v.cssValueToNumber)(_.default.diversityEmojiSize);function b(e){switch(o.default.convert.toCodePoint(e)){case"1f3fb":return m.default.Messages.EMOJI_MODIFIER_LIGHT_SKIN_TONE;case"1f3fc":return m.default.Messages.EMOJI_MODIFIER_MEDIUM_LIGHT_SKIN_TONE;case"1f3fd":return m.default.Messages.EMOJI_MODIFIER_MEDIUM_SKIN_TONE;case"1f3fe":return m.default.Messages.EMOJI_MODIFIER_MEDIUM_DARK_SKIN_TONE;case"1f3ff":return m.default.Messages.EMOJI_MODIFIER_DARK_SKIN_TONE;default:return m.default.Messages.EMOJI_MODIFIER_NONE}}var M=function(e){var t=e.fade,n=e.surrogate,r=e.onClick,o=e.delay,i=e.index,l=(0,s.useListItem)("item-"+i),d=p.default.getURL(I+n),f=(0,u.useSpring)({opacity:1,from:{opacity:t?0:1},delay:o});return a.createElement(c.default,O({},l,{onClick:function(){return r(n)},className:h.default.diversityEmojiItem,role:"option"}),S(u.animated.div,{"aria-label":b(n),className:h.default.diversityEmojiItemImage,style:O({backgroundImage:'url("'+d+'")'},f)}))};M.displayName="DiversityOption";var N=function(e){var t=e.selectedSurrogate,n=e.onClick,r=e.inExpressionPicker,o=(0,f.default)("diversity"),d=(0,u.useSpring)({height:(C+2*T)*(y.DIVERSITY_SURROGATES.length+1),from:{height:C},config:{duration:125}});a.useEffect((function(){o.focusFirstVisibleItem()}),[o]);var c=[""].concat(y.DIVERSITY_SURROGATES);return l.default.remove(c,(function(e){return e===t})),c.unshift(t),S(s.ListNavigatorProvider,{navigator:o},void 0,S(s.ListNavigatorContainer,{},void 0,(function(e){var t,o=e.ref,l=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["ref"]);return a.createElement(u.animated.div,O({},l,{ref:o,className:(0,i.default)(h.default.diversitySelectorOptions,(t={},t[h.default.diversitySelectorOptionsInExpressionPicker]=r,t)),style:d,role:"listbox"}),c.map((function(e,t){return S(M,{index:t,fade:0!==t,delay:20*t,surrogate:e,onClick:n},t)})))})))};N.displayName="DiversityOptions";var A=function(e){var t=e.searchBarRef,n=e.selectedSurrogate,r=e.className,o=e.inExpressionPicker,i=p.default.getURL(I+n),l=a.useState(!1),u=l[0],s=l[1],f=a.useRef(null),v=a.useCallback((function(e){var t;(null==e?void 0:e.target)instanceof Node&&(null===(t=f.current)||void 0===t?void 0:t.contains(null==e?void 0:e.target))||s(!1)}),[]);return a.useEffect((function(){return document.addEventListener("click",v,!0),function(){return document.removeEventListener("click",v,!0)}}),[v]),a.createElement("div",{ref:f,className:r},S(c.default,{className:h.default.diversitySelectorButton,onClick:function(){s(!0)},"aria-haspopup":!0,"aria-expanded":u,tabIndex:u?-1:0},void 0,S("div",{className:h.default.diversityEmojiItemImage,style:{backgroundImage:'url("'+i+'")'}})),u?S(N,{inExpressionPicker:o,selectedSurrogate:n,onClick:function(e){var n;d.default.setDiversityColor(e),v(),null===(n=t.current)||void 0===n||n.focus()}}):null)};A.displayName="DiversitySelector";var P=A;t.default=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,a.useStateFromStores)([o.default],(function(){return o.default.keyboardModeEnabled}));return(0,r.default)({id:e,isEnabled:t,setFocus:u,scrollToStart:l,scrollToEnd:l})};var r=i(n(680)),a=n(3),o=i(n(105));function i(e){return e&&e.__esModule?e:{default:e}}function l(){return Promise.resolve()}function u(e){var t=document.querySelector(e);null!=t&&t.focus()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=_(n(105)),l=_(n(8862)),u=_(n(249)),s=_(n(15)),d=_(n(161)),f=_(n(24)),c=_(n(150)),p=n(8347),v=_(n(8394)),y=_(n(6)),m=_(n(7510));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var g=a.memo((function(e){var t,n=e.className,r=e.emojiGrid,_=(0,p.useEmojiPickerStore)((function(e){return e.inspectedEmojiPosition})),h=a.useMemo((function(){var e,t=_.rowIndex,n=_.columnIndex;return null===(e=r[t])||void 0===e?void 0:e[n]}),[r,_]),g=null==h?void 0:h.emoji,S=(0,o.useStateFromStores)([s.default],(function(){return null==g?null:s.default.getGuild(g.guildId)}),[g]),O=(0,o.useStateFromStores)([d.default],(function(){return d.default.isFocused()})),I=(0,o.useStateFromStores)([i.default],(function(){return i.default.useReducedMotion}),[]),T=(0,o.useStateFromStores)([u.default],(function(){return u.default.getDisambiguatedEmojiContext(null==S?void 0:S.id).isFavoriteEmoji(g)}),[S,g]);if(null==g)return null;var C=null!=g.id?c.default.getEmojiURL({id:g.id,animated:g.animated}):g.url,b=""===C?E(f.default,{size:f.default.Sizes.SIZE_16,className:m.default.glyphEmoji},void 0,"surrogates"in g?g.surrogates:null):E("img",{alt:null!==(t=g.allNamesString)&&void 0!==t?t:"",src:C,className:m.default.emoji}),M=null==S?null:E(v.default,{className:m.default.guildIcon,guild:S,shouldAnimate:!I&&O});return E(l.default,{className:n,graphicPrimary:b,graphicSecondary:M,titlePrimary:g.allNamesString,titleSecondary:null==S?null:y.default.Messages.EMOJI_FROM_GUILD.format({guildName:S.name}),isFavorite:T})}));t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=D();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=L(n(488)),i=L(n(9)),l=L(n(8)),u=n(3),s=L(n(8624)),d=n(8296),f=L(n(105)),c=n(1218),p=n(8392),v=L(n(8618)),y=n(8277),m=n(280),_=L(n(8362)),h=L(n(13)),E=n(139),g=n(1168),S=n(8347),O=n(5949),I=L(n(8860)),T=L(n(8394)),C=L(n(9437)),b=L(n(9438)),M=n(1),N=L(n(6)),A=L(n(7352)),P=L(n(7515)),R=L(n(7353));function L(e){return e&&e.__esModule?e:{default:e}}function D(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return D=function(){return e},e}function w(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var j=(0,E.cssValueToNumber)(A.default.emojiListPaddingTop),k=(0,E.cssValueToNumber)(A.default.emojiListPaddingRight),U=(0,E.cssValueToNumber)(A.default.emojiListPaddingBottom),G=(0,E.cssValueToNumber)(A.default.emojiListPaddingLeft),F=(0,E.cssValueToNumber)(A.default.emojiListSearchResultsPaddingTop),B=(0,E.cssValueToNumber)(R.default.expressionPickerListSectionHeadingHeight),H=(0,E.cssValueToNumber)(A.default.emojiSectionMarginBottom),x=(0,E.cssValueToNumber)(A.default.emojiPremiumUpsellHeight)+(0,E.cssValueToNumber)(A.default.emojiPremiumUpsellMarginTop),V=a.memo((function(e){var t=e.diversitySurrogate,n=e.emojiGrid,r=e.emojiListRef,E=e.emojiSize,A=e.onEmojiSelect,R=e.sectionDescriptors,L=e.rowCountBySection,D=e.collapsedSections,V=e.setCollapsedSections,W=e.getEmojiItemProps,Y=e.getEmojiRowProps,z=e.rowCount,K=e.emojiRowHeight,$=e.isUsingKeyboardNavigation,Z=a.useRef(!1),q=(0,S.useEmojiPickerStore)((function(e){return e.activeCategoryIndex})),X=(0,S.useEmojiPickerStore)((function(e){return e.searchQuery})),J=function(e){var t=e.collapsedSections,n=e.diversitySurrogate,r=e.emojiGrid,s=e.emojiSize,f=e.onEmojiSelect,p=e.searchQuery,_=e.sectionDescriptors,E=e.setCollapsedSections,N=e.getEmojiItemProps,A=e.getEmojiRowProps,R=e.isScrolling,L=e.isUsingKeyboardNavigation,D=e.useReducedMotion,V=(0,d.useAnalyticsContext)(),W=a.useRef(M.UNREACHABLE_REQUEST_ANIMATION_FRAME_ID),Y=a.useMemo((function(){return""!==n?o.default.convert.toCodePoint(n):""}),[n]),z=a.useCallback((function(e,n){void 0===n&&(n=null);var r=new Set(t),a=t.has(e);a?r.delete(e):r.add(e),null!=n&&h.default.track(M.AnalyticEvents.EXPRESSION_PICKER_CATEGORY_COLLAPSE_TOGGLED,{location:V.location,tab:c.ExpressionPickerViewType.EMOJI,collapsed:!a,guild_id:n.id}),E(r)}),[V,t,E]),K=a.useCallback((function(e){var t=e.emoji,n=e.visibleRowIndex,r=e.columnIndex;W.current!==M.UNREACHABLE_REQUEST_ANIMATION_FRAME_ID&&window.cancelAnimationFrame(W.current),W.current=window.requestAnimationFrame((function(){(0,S.setInspectedEmojiPosition)(r,n,S.InspectedEmojiChangeSource.MOUSE_EVENT),(0,S.setSearchPlaceholder)(t.allNamesString),W.current=M.UNREACHABLE_REQUEST_ANIMATION_FRAME_ID}))}),[]),$=(0,u.useStateFromStores)([y.HotspotStore],(function(){return y.HotspotStore.hasHotspot(y.HotspotLocations.FAVORITE_EMOJI_TOOLTIP)}),[]),Z=a.useMemo((function(){return l.default.memoize((function(e){var t=r[e];return w(b.default,{emojiDescriptors:t,emojiSize:s,surrogateCodePoint:Y,onInspect:K,onSelect:f,getEmojiItemProps:N,getEmojiRowProps:A,isScrolling:R,isUsingKeyboardNavigation:L,rowIndex:e,useReducedMotion:D,showEmojiFavoriteTooltip:$},e)}))}),[r,s,Y,K,f,N,A,R,L,D,$]),q=a.useMemo((function(){return l.default.memoize((function(e){var n=_[e];if(null!=n){var r=n.guild,a=n.categoryId,o=n.type,i=n.sectionId;if(o!==g.EmojiCategoryTypes.SEARCH_RESULTS){var l=null==r?null!=a?w(I.default,{categoryId:a,height:16,width:16}):null:w(T.default,{guild:r,height:16,width:16});return w(v.default,{className:P.default.header,icon:l,isCollapsed:t.has(i),onClick:function(){return z(i,r)},onVisible:function(){a===g.EmojiCategories.PREMIUM_UPSELL&&h.default.track(M.AnalyticEvents.PREMIUM_UPSELL_VIEWED,{type:m.PremiumUpsellTypes.EMOJI_PICKER_SEARCH,location:V.location})}},i,null==r?null==a?null:(0,O.getStringForEmojiCategory)(a):r.toString())}}}))}),[t,_,z,V.location]),X=a.useCallback((function(e,n){var r,a=_[e];return w("div",{className:(0,i.default)(P.default.categorySection,(r={},r[P.default.categorySectionLast]=e===_.length-1,r[P.default.categorySectionCollapsed]=t.has(a.sectionId),r))},e,n)}),[t,_]),J=a.useCallback((function(e){var n=_[e];return n.sectionId!==g.EmojiCategoryTypes.PREMIUM_UPSELL||t.has(n.sectionId)?null:w(C.default,{className:P.default.premiumUpsell},"emoji-picker-inline-upsell")}),[_,t]),Q=a.useCallback((function(e){var n=_[e];return n.sectionId!==g.EmojiCategoryTypes.PREMIUM_UPSELL||t.has(n.sectionId)?0:x}),[_,t]),ee=a.useCallback((function(e){var n;return e===_.length-1||t.has(null===(n=_[e])||void 0===n?void 0:n.sectionId)?0:H}),[t,_]);return{listPadding:a.useMemo((function(){return[""!==p?F:j,k,U,G]}),[p]),renderRow:Z,renderSection:X,renderSectionHeader:q,renderSectionFooter:J,sectionMarginBottom:ee,sectionHeaderHeight:a.useCallback((function(e){return _[e].type===g.EmojiCategoryTypes.SEARCH_RESULTS?0:B}),[_]),sectionFooterHeight:Q}}({collapsedSections:D,diversitySurrogate:t,emojiGrid:n,emojiSize:E,onEmojiSelect:A,searchQuery:X,sectionDescriptors:R,setCollapsedSections:V,getEmojiItemProps:W,getEmojiRowProps:Y,isScrolling:Z,isUsingKeyboardNavigation:$,useReducedMotion:(0,u.useStateFromStores)([f.default],(function(){return f.default.useReducedMotion}),[])}),Q=J.listPadding,ee=J.renderRow,te=J.renderSection,ne=J.renderSectionHeader,re=J.renderSectionFooter,ae=J.sectionMarginBottom,oe=J.sectionHeaderHeight,ie=J.sectionFooterHeight,le=(0,p.useSynchronizedActiveCategoryIndexForScrollPosition)({activeCategoryIndex:q,isScrolling:Z,listRef:r,onActiveCategoryIndexChange:S.setActiveCategoryIndex,scrollOffset:20,searchQuery:X});(0,p.useSynchronizedScrollPositionForActiveCategoryIndex)({searchQuery:X,activeCategoryIndex:q,listRef:r});var ue=R.length>0;return w("div",{className:P.default.listWrapper},void 0,ue?a.createElement(_.default,{className:P.default.list,listPadding:Q,onScroll:le,renderRow:ee,renderSection:te,renderSectionHeader:ne,renderSectionFooter:re,rowCount:z,rowCountBySection:L,rowHeight:K,sectionHeaderHeight:oe,sectionMarginBottom:ae,sectionFooterHeight:ie,stickyHeaders:!0,ref:r}):w(s.default,{message:N.default.Messages.NO_EMOJI_SEARCH_RESULTS,className:P.default.noSearchResultsContainer}))}));t.default=V},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(9)),i=n(8296),l=n(5688),u=y(n(29)),s=n(1149),d=y(n(5686)),f=y(n(24)),c=n(1),p=y(n(6)),v=y(n(7511));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(){return(h=Object.assign||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}).apply(this,arguments)}var E=function(e){var t=e.className,n=(0,i.useAnalyticsContext)().location,r=a.useCallback((function(){(0,l.openPremiumSelectPlanModal)({subscriptionTier:c.PremiumSubscriptionSKUs.TIER_2,analyticsLocation:h({},n,{object:c.AnalyticsObjects.BUTTON_CTA,objectType:c.AnalyticsObjectTypes.TIER_2})})}),[n]);return _("div",{className:(0,o.default)(v.default.upsell,t)},void 0,_(d.default,{color:s.GradientCssUrls.PREMIUM_TIER_2,className:v.default.premiumIcon}),_(f.default,{color:f.default.Colors.INTERACTIVE_NORMAL,className:v.default.body},void 0,p.default.Messages.EMOJI_PICKER_PREMIUM_UPSELL_BODY),_(u.default,{look:u.default.Looks.LINK,color:u.default.Colors.LINK,onClick:r},void 0,p.default.Messages.EMOJI_PICKER_PREMIUM_UPSELL_CTA))};E.displayName="EmojiPickerInlinePremiumUpsell";var g=E;t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),l=E(n(9)),u=E(n(66)),s=n(3),d=E(n(5675)),f=n(8277),c=E(n(249)),p=E(n(149)),v=n(1168),y=n(8347),m=E(n(9439)),_=E(n(6)),h=E(n(7514));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(){return(S=Object.assign||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}).apply(this,arguments)}function O(e,t,n,r){o||(o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&a)for(var s in a)void 0===t[s]&&(t[s]=a[s]);else t||(t=a||{});return{$$typeof:o,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var I=/Darwin|OS X/.test(null!==(r=null===(a=u.default.os)||void 0===a?void 0:a.family)&&void 0!==r?r:""),T=function(e){var t,n=e.emojiDescriptors,r=e.emojiSize,a=e.onSelect,o=e.onInspect,u=e.surrogateCodePoint,E=e.getEmojiItemProps,g=e.getEmojiRowProps,T=e.isScrolling,C=e.isUsingKeyboardNavigation,b=e.rowIndex,M=e.useReducedMotion,N=e.showEmojiFavoriteTooltip,A=y.useEmojiPickerStore.getState(),P=i.useState(A.inspectedEmojiPosition),R=P[0],L=P[1],D=(0,d.default)(null,300),w=D[0],j=D[1],k=(0,s.useStateFromStores)([c.default],(function(){return c.default.getDisambiguatedEmojiContext()}),[]);i.useEffect((function(){return y.useEmojiPickerStore.subscribe((function(e){return L(e)}),(function(e){return e.inspectedEmojiPosition}))}),[]);var U=r===v.EmojiSize.LARGE,G=r===v.EmojiSize.MEDIUM;return i.createElement("ul",S({},g(b),{className:(0,l.default)(h.default.emojiListRow,(t={},t[h.default.emojiListRowLargeSize]=U,t[h.default.emojiListRowMediumSize]=G,t))}),n.map((function(e){var t=e.rowIndex+"c"+e.columnIndex,n=e.emoji,r=e.size,s=e.isDisabled,d=e.visibleRowIndex,v=e.columnIndex,y=R.rowIndex===d&&R.columnIndex===v,g=function(r){if(!T.current&&!C.current){var o=r.altKey;o&&!c.default.getDisambiguatedEmojiContext().isFavoriteEmoji(n)&&j(t),(0,f.hideHotspot)(f.HotspotLocations.FAVORITE_EMOJI_TOOLTIP),a(e,{isFinalSelection:!r.shiftKey,toggleFavorite:o})}},A=function(){T.current||C.current||o(e)},P=function(e){var a,o=void 0===e?{}:e,d=o.onMouseEnter,f=o.onMouseLeave;return i.createElement("li",S({},E(v,b),{key:t,className:(0,l.default)(h.default.emojiItem,(a={},a[h.default.emojiItemLarge]=U,a[h.default.emojiItemMedium]=G,a[h.default.emojiItemSelected]=y,a[h.default.emojiItemDisabled]=s,a[h.default.showPulse]=w===t,a)),onMouseEnter:d,onMouseLeave:f,onMouseOver:A,onClick:g}),O(m.default,{"aria-label":k.isFavoriteEmoji(n)?_.default.Messages.EMOJI_NAMES_WITH_FAVORITED.format({names:n.allNamesString}):n.allNamesString,columnIndex:v,rowIndex:b,emoji:n,size:r,surrogateCodePoint:u,useReducedMotion:M}))};return N?O(p.default,{text:_.default.Messages.EMOJI_FAVORITE_TOOLTIP.format({key:I?"Opt":"Alt"}),position:p.default.Positions.TOP,delay:200},t,(function(e){return P(e)})):P()})))};T.displayName="EmojiPickerListRow";var C=T;t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(8)),i=f(n(185)),l=f(n(9440)),u=f(n(150)),s=n(1),d=f(n(7513));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=o.default.memoize((function(e){return e*s.EmojiSprites.NonDiversityPerRow+"px "+e*Math.ceil(i.default.numNonDiversitySprites/s.EmojiSprites.NonDiversityPerRow)+"px"})),y=o.default.memoize((function(e){return e*s.EmojiSprites.DiversityPerRow+"px "+e*Math.ceil(i.default.numDiversitySprites/s.EmojiSprites.DiversityPerRow)+"px"})),m=function(e,t,r){if(e.useSpriteSheet){var a,o,i,l=null!=e.index?e.index:0;return e.hasDiversity?(a=n(9441)("./spritesheet-"+t+"-"+r+".png"),o=y(r),i=s.EmojiSprites.DiversityPerRow):(a=n(9455)("./spritesheet-emoji-"+r+".png"),o=v(r),i=s.EmojiSprites.NonDiversityPerRow),{backgroundImage:"url('"+a+"')",backgroundPosition:-l%i*r+"px "+-Math.floor(l/i)*r+"px",backgroundSize:o,height:r,width:r}}},_=a.memo((function(e){var t,n=e.emoji,r=e.size,o=e.surrogateCodePoint,i=e.useReducedMotion,s=e["aria-label"];if(!n.useSpriteSheet){var f=null==n.id?n.url:u.default.getEmojiURL({id:n.id,animated:!i&&n.animated});return null!=f?p(l.default,{"aria-label":s,src:f,size:r,alt:n.allNamesString||""}):null}var c="emoji-picker-list-row-item-"+(null!==(t=n.id)&&void 0!==t?t:n.name);return a.createElement(a.Fragment,null,p("div",{"aria-describedby":c,className:d.default.emojiSpriteImage,style:m(n,o,r)}),p("span",{style:{position:"absolute",top:-999999},id:c},void 0,s))}));t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(7512))&&r.__esModule?r:{default:r};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}var l=function(e){var t=e.src,n=e.alt,r=e.size,i=e["aria-label"],l=a.useRef(null),u=a.useRef(!1);return a.createElement("img",{className:u.current?o.default.image:o.default.imageLoading,alt:n,src:t,ref:l,"aria-label":i,style:{backgroundSize:r,height:r,width:r},onLoad:u.current?void 0:function(){window.requestAnimationFrame((function(){null!=l.current&&(u.current=!0,l.current.classList.remove(o.default.imageLoading),l.current.classList.add(o.default.image))}))}})};l.displayName="ExpressionPickerListItemImage";var u=l;t.default=u},function(e,t,n){var r={"./spritesheet--32.png":9442,"./spritesheet--48.png":9443,"./spritesheet-1f3fb-32.png":9444,"./spritesheet-1f3fb-48.png":9445,"./spritesheet-1f3fc-32.png":9446,"./spritesheet-1f3fc-48.png":9447,"./spritesheet-1f3fd-32.png":9448,"./spritesheet-1f3fd-48.png":9449,"./spritesheet-1f3fe-32.png":9450,"./spritesheet-1f3fe-48.png":9451,"./spritesheet-1f3ff-32.png":9452,"./spritesheet-1f3ff-48.png":9453,"./spritesheet-emoji-32.png":8863,"./spritesheet-emoji-48.png":8864,"./spritesheet-picker-22.png":9454};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=9441},function(e,t,n){e.exports=n.p+"28b51c7a7a5cf0f7690d36408f7646e1.png"},function(e,t,n){e.exports=n.p+"8cadc8badb226d9b5da5efbb060c9331.png"},function(e,t,n){e.exports=n.p+"b69c83cab6023848edc9bbcc336a2c20.png"},function(e,t,n){e.exports=n.p+"da12bf7fb7f27251ea31f551461128da.png"},function(e,t,n){e.exports=n.p+"b80dd412b0ff44e03adbc7c3576c0069.png"},function(e,t,n){e.exports=n.p+"14417b3f0dcdd9c94ab68e1ccedbc79f.png"},function(e,t,n){e.exports=n.p+"cccf9c9b84c8f187a0661b1cedaa10b0.png"},function(e,t,n){e.exports=n.p+"513268e8df31f87c8fc4df907a2ac60f.png"},function(e,t,n){e.exports=n.p+"001c14ae5cc33a5b753e98c36e835b60.png"},function(e,t,n){e.exports=n.p+"5ebc560cfa0291df74f75ba447c0afec.png"},function(e,t,n){e.exports=n.p+"b4f9a122a083fd298c089a6476bdb1dc.png"},function(e,t,n){e.exports=n.p+"27ace143e2b1e377b1e4a322d300a5c7.png"},function(e,t,n){e.exports=n.p+"7e5013a9afc1404b0b89d99aaec0b398.png"},function(e,t,n){var r={"./spritesheet-emoji-32.png":8863,"./spritesheet-emoji-48.png":8864};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=9455},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=b(n(0)),o=T(n(5)),i=n(3),l=T(n(28)),u=n(287),s=T(n(473)),d=n(1148),f=n(280),c=T(n(1147)),p=T(n(271)),v=T(n(61)),y=n(1149),m=T(n(255)),_=T(n(5686)),h=T(n(24)),E=b(n(96)),g=n(5949),S=n(1),O=T(n(6)),I=T(n(7516));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var N=l.default.get("premiumRetentionEmojiPickerNotice"),A=(0,d.registerUserExperiment)({id:d.Experiments.PREMIUM_RETENTION_EMOJI_PICKER,title:"Nitro Retention: Emoji Picker",description:["Treatment 1: Users see the notice"],buckets:[d.ExperimentBuckets.CONTROL,d.ExperimentBuckets.TREATMENT_1],clientFilter:(0,d.createFluxStoreExperimentClientFilter)([c.default],(function(){var e=c.default.getPremiumSubscription();return null!=e&&(0,E.isSubscriptionStatusFailedPayment)(e.status)}))}),P=function(e){var t=e.closePopout,n=e.channel,r=(0,d.useAndTrackExposureToUserExperiment)(A),T=a.useState(!1),C=T[0],b=T[1],P=(0,i.useStateFromStoresObject)([c.default],(function(){return{subscription:c.default.getPremiumSubscription(),hasFetchedSubscriptions:c.default.hasFetchedSubscriptions()}})),R=P.subscription,L=P.hasFetchedSubscriptions;if(a.useEffect((function(){L||(0,u.fetchSubscriptions)()}),[L]),r!==d.ExperimentBuckets.TREATMENT_1||null==R||!(0,E.isSubscriptionStatusFailedPayment)(R.status)||C)return null;var D=R.status===S.SubscriptionStatusTypes.PAST_DUE?f.MAX_INVOICE_PAYMENT_DAYS:f.MAX_ACCOUNT_HOLD_DAYS,w=(0,o.default)(R.currentPeriodStart).add(D,"days"),j=R.id+":"+w.toISOString();return N===j?null:M("div",{className:I.default.premiumRetentionNotice},void 0,M(_.default,{className:I.default.premiumRetentionNoticeIcon,color:E.default.getPremiumType(R.planId)===S.PremiumTypes.TIER_1?y.GradientCssUrls.PREMIUM_TIER_1:y.GradientCssUrls.PREMIUM_TIER_2}),M("div",{className:I.default.premiumRetentionNoticeContent},void 0,M(h.default,{size:h.default.Sizes.SIZE_12},void 0,O.default.Messages.PREMIUM_RETENTION_EMOJI_PICKER_DESCRIPTION.format({planName:E.default.getDisplayPremiumType(R.planId),endsAt:w})),M("div",{},void 0,M(p.default,{onClick:function(){(0,g.trackPremiumSettingsPaneOpened)(n),t(),s.default.open(S.UserSettingsSections.PREMIUM)}},void 0,O.default.Messages.PREMIUM_RETENTION_EMOJI_PICKER_UPDATE_PAYMENT_INFORMATION))),M(v.default,{onClick:function(){l.default.set("premiumRetentionEmojiPickerNotice",j),N=j,b(!0)}},void 0,M(m.default,{className:I.default.premiumRetentionNoticeClose})))};P.displayName="EmojiPickerPremiumRetentionNotice";var R=P;t.default=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(473)),i=v(n(1166)),l=v(n(5948)),u=v(n(29)),s=v(n(61)),d=n(5949),f=n(1),c=v(n(6)),p=v(n(7517));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var _=function(e){var t=e.onLearnMore,r=e.onClose,v=e.channel,y=(0,i.default)(),_=a.useState(!1),h=_[0],E=_[1],g=y===f.ThemeTypes.LIGHT?n(9458):n(9459);return m("div",{className:p.default.premiumPromo},void 0,m(s.default,{className:p.default.premiumPromoClose,onClick:r},void 0,c.default.Messages.CLOSE),m("img",{alt:"",className:p.default.premiumPromoImage,src:g}),m("div",{className:p.default.premiumPromoTitle},void 0,c.default.Messages.PREMIUM_PROMO_TITLE_SEARCH_UPSELL),m("div",{className:p.default.premiumPromoDescription},void 0,c.default.Messages.PREMIUM_PROMO_DESCRIPTION_SEARCH_UPSELL.format({onClick:function(){(0,d.trackPremiumSettingsPaneOpened)(v),o.default.open(f.UserSettingsSections.PREMIUM),t()}})),m(l.default,{subscriptionTier:f.PremiumSubscriptionSKUs.TIER_2,submitting:h,premiumModalAnalyticsLocation:{section:f.AnalyticsSections.EMOJI_PICKER_POPOUT,object:f.AnalyticsObjects.BUTTON_CTA},size:u.default.Sizes.SMALL,color:u.default.Colors.GREEN,onClick:function(){E(!0)},onSubscribeModalClose:function(e){E(!1),e&&r()},buttonText:c.default.Messages.PREMIUM_REQUIRED_GET_NITRO}))};_.displayName="EmojiPickerPremiumUpsell";var h=_;t.default=h},function(e,t,n){e.exports=n.p+"9cbfe5105fc5f29ef4e659059ee01a46.svg"},function(e,t,n){e.exports=n.p+"222e7361d9f298ecb525cb9d9d9d7312.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=d(n(8312)),o=d(n(8297)),i=n(1168),l=n(8347),u=d(n(6)),s=d(n(7368));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}var c=r.forwardRef((function(e,t){var n=e.emojiListRef,d=e.gridNavigatorId,f=e.onKeyDown,c=r.useRef(null),p=(0,l.useEmojiPickerStore)((function(e){return{searchQuery:e.searchQuery,searchPlaceholder:e.searchPlaceholder,inspectedEmojiPosition:e.inspectedEmojiPosition}}),a.default),v=p.searchQuery,y=p.searchPlaceholder,m=p.inspectedEmojiPosition,_=r.useCallback((function(e){var t;(0,l.setActiveCategoryIndex)(""===e?0:i.INACTIVE_CATEGORY_INDEX),(0,l.setInspectedEmojiPosition)(0,0),(0,l.setSearchPlaceholder)(null),(0,l.setSearchQuery)(e),null===(t=n.current)||void 0===t||t.scrollTo(0)}),[n]),h=r.useCallback((function(){(0,l.setSearchQuery)("")}),[]);return r.useImperativeHandle(t,(function(){return{focus:function(){var e;return null===(e=c.current)||void 0===e?void 0:e.focus()}}})),r.createElement(o.default,{"aria-activedescendant":d+"-"+m.columnIndex+"-"+m.rowIndex,autoFocus:!0,query:v,ref:c,size:o.default.Sizes.MEDIUM,placeholder:null==y?u.default.Messages.SEARCH_FOR_EMOJI:y,onClear:h,onKeyDown:f,onQueryChange:_,className:s.default.searchBar,preventEscapePropagation:!1,useKeyboardNavigation:!1})})),p=r.memo(c);t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=D();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=L(n(378)),i=L(n(8312)),l=n(3),u=L(n(473)),s=n(8392),d=L(n(39)),f=L(n(12)),c=L(n(151)),p=L(n(13)),v=n(139),y=n(8348),m=n(1172),_=n(9462),h=n(5944),E=L(n(362)),g=n(366),S=n(9463),O=n(8513),I=L(n(9468)),T=L(n(9469)),C=L(n(9470)),b=L(n(9473)),M=n(9474),N=n(9476),A=n(1),P=L(n(7530)),R=L(n(7349));function L(e){return e&&e.__esModule?e:{default:e}}function D(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return D=function(){return e},e}function w(){return(w=Object.assign||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}).apply(this,arguments)}function j(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var k=(0,v.cssValueToNumber)(R.default.stickerPickerBreakpointSmall),U=(0,v.cssValueToNumber)(R.default.stickersListPaddingLeft),G=(0,v.cssValueToNumber)(R.default.stickersListPaddingRight),F=(0,v.cssValueToNumber)(R.default.stickerPickerPreviewMargin),B=(0,v.cssValueToNumber)(R.default.stickerPickerPreviewMarginSmall),H=(0,v.cssValueToNumber)(R.default.stickerPickerPreviewDimensions),x=(0,v.cssValueToNumber)(R.default.stickerPickerPreviewDimensionsSmall),V=(0,v.cssValueToNumber)(R.default.stickerPickerPreviewPadding),W=H+2*V,Y=x+2*V,z=(0,o.default)(_.trackStickerSearchEmpty,200),K=(0,o.default)(_.trackStickerSearchResultsViewed,200),$=function(e){var t=e.containerWidth,n=e.channel,r=e.onSelectSticker,o=e.closePopout,c=a.useRef(null),v=a.useRef(null),R=a.useRef(null),L=(0,y.useStickerPickerStore)((function(e){return[e.searchQuery,e.isSearchSuggestion,e.showPremiumUpsell]}),i.default),D=L[0],H=L[1],x=L[2],V=a.useRef(""),$=(0,h.useFilteredStickerPackCategories)(n),Z=0===$.length,q=(0,s.useExpressionPickerGridWidth)({gridWrapperRef:c,containerWidth:t,showingEmptyState:Z,listPaddingLeft:U,listScrollbarWidth:8}),X=(0,l.useStateFromStores)([d.default],(function(){return d.default.stickerPickerCollapsedSections})),J=a.useMemo((function(){return new Set(X)}),[X]),Q=(0,l.useStateFromStores)([f.default],(function(){return f.default.getNullableCurrentUser()})),ee=a.useMemo((function(){return(0,N.getFilteredStickers)(D,Q,n)}),[D,Q,n]),te=null!=ee?ee:{},ne=te.sendable,re=void 0===ne?[]:ne,ae=te.sendableWithPremium,oe=void 0===ae?[]:ae,ie=re.length+oe.length,le=a.useCallback((function(e){(0,_.trackStickerSearchSelect)(e,D,ie),r(e,g.StickerSelectLocation.STICKER_PICKER)}),[r,D,ie]),ue=null!=q&&q>k,se=(0,h.useStickersGrid)({filteredStickers:ee,stickersCategories:$,collapsedStickersCategories:J,listWidth:q,listPaddingRight:G,stickerNodeMargin:ue?F:B,stickerNodeWidth:ue?W:Y}),de=se.rowCount,fe=se.rowCountBySection,ce=se.stickersGrid,pe=se.gutterWidth,ve=se.columnCounts,ye=a.useCallback((function(e,t){var r=e.sticker,a=e.type,o=e.packId;t.location;if(a===g.StickerGridItemTypes.VIEW_ALL||null!=r&&!(0,m.isSendableSticker)(r,Q,n)){var i=E.default.getStickerPack(o);null!=i&&(0,O.openStickerPackViewAllModal)({stickerPack:i})}else null!=r&&le(r)}),[le,Q,n]),me=(0,S.useKeyboardNavigation)({columnCounts:ve,stickersListRef:v,stickersGrid:ce,onGridItemSelect:ye,store:y.useStickerPickerStore,setInspectedStickerPosition:y.setInspectedStickerPosition,gridNavigatorId:"sticker-picker-grid"}),_e=me.getItemProps,he=me.getRowProps,Ee=me.gridContainerProps,ge=me.handleGridContainerKeyDown,Se=me.isUsingKeyboardNavigation;a.useEffect((function(){return y.resetStoreState}),[]),a.useEffect((function(){""===V.current&&""!==D&&(0,_.trackStickerSearchStart)(),V.current=D}),[D]),a.useEffect((function(){0===ie?z(D):K(D,ie,H)}),[D,ie,H]),a.useLayoutEffect((function(){var e;null===(e=R.current)||void 0===e||e.focus()}),[]);var Oe=a.useCallback((function(){o(),p.default.track(A.AnalyticEvents.PREMIUM_PROMOTION_OPENED,{location_section:A.AnalyticsSections.STICKER_PICKER_UPSELL}),u.default.open(A.UserSettingsSections.PREMIUM)}),[o]);return a.createElement(a.Fragment,null,j("div",{className:P.default.header},void 0,a.createElement(b.default,{ref:R,onKeyDown:ge,stickersListRef:v,channel:n})),Z?j(T.default,{className:P.default.emptyState}):a.createElement(a.Fragment,null,j(I.default,{stickersListRef:v,channel:n}),a.createElement("div",w({ref:c,className:P.default.listWrapper,id:"sticker-picker-grid"},Ee),null!=q?a.createElement(C.default,{ref:v,collapsedStickersCategories:J,filteredStickers:ee,getStickerItemProps:_e,getStickerRowProps:he,gridWidth:q,gutterWidth:pe,isUsingKeyboardNavigation:Se,onSelectSticker:le,rowCount:de,rowCountBySection:fe,stickersCategories:$,stickersGrid:ce,channel:n}):null)),x&&j(M.StickersPremiumUpsell,{onLearnMore:Oe}))},Z=function(e){var t=(0,l.useStateFromStores)([E.default],(function(){return!E.default.hasLoadedStickerPacks}));return(0,h.useFetchStickerPacks)(),j("div",{className:P.default.wrapper},void 0,t?j(c.default,{className:P.default.loadingIndicator}):a.createElement($,e))};Z.displayName="StickerPickerLoader";var q=Z;t.default=q},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trackStickerSearchEmpty=t.trackStickerSearchSelect=t.trackStickerSearchResultsViewed=t.trackStickerSearchStart=void 0;var r=i(n(106)),a=i(n(13)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}t.trackStickerSearchStart=function(){a.default.track(o.AnalyticEvents.SEARCH_STARTED,{search_type:o.SearchTypes.STICKER})};t.trackStickerSearchResultsViewed=function(e,t,n){r.default.trackWithMetadata(o.AnalyticEvents.SEARCH_RESULT_VIEWED,{search_type:o.SearchTypes.STICKER,total_results:t,query:e,is_suggestion:n})};t.trackStickerSearchSelect=function(e,t,n){null!=t&&""!==t&&r.default.trackWithMetadata(o.AnalyticEvents.SEARCH_RESULT_SELECTED,{load_id:e.id,search_type:o.SearchTypes.STICKER,source_object:"Sticker Picker",total_results:n,query:t})};t.trackStickerSearchEmpty=function(e){null!=e&&""!==e&&r.default.trackWithMetadata(o.AnalyticEvents.SEARCH_RESULT_EMPTY,{query:e,search_type:o.SearchTypes.STICKER,source_object:"Sticker Picker"})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useKeyboardNavigation=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(8404),o=n(8296),i=n(8392),l=n(398);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}t.useKeyboardNavigation=function(e){var t=e.columnCounts,n=e.stickersGrid,u=e.stickersListRef,s=e.store,d=e.gridNavigatorId,f=e.setInspectedStickerPosition,c=e.onGridItemSelect,p=(0,o.useAnalyticsContext)(),v=r.useCallback((function(e){c(e,p)}),[c,p]),y=r.useCallback((function(e,t){f(e,t,l.InspectedStickerChangeSource.GRID_NAVIGATOR_EVENT)}),[f]),m=(0,i.useExpressionPickerGridKeyboardNavigation)({columnCounts:t,gridNavigatorId:d,itemGrid:n,itemList:u,onGridNavigatorItemSelect:v,onGridNavigatorPositionChange:y}),_=m.gridDispatch,h=m.getItemProps,E=m.getRowProps,g=m.gridContainerProps,S=m.handleGridContainerKeyDown,O=m.isUsingKeyboardNavigation;return r.useEffect((function(){return s.subscribe((function(e){if(null!=e){var t=e.columnIndex,n=e.rowIndex;e.source!==l.InspectedStickerChangeSource.GRID_NAVIGATOR_EVENT&&_({type:a.GridActionType.SET_FOCUSED_POSITION,x:t,y:n})}}),(function(e){return e.inspectedStickerPosition}))}),[_,s]),{getItemProps:h,getRowProps:E,gridContainerProps:g,handleGridContainerKeyDown:S,isUsingKeyboardNavigation:O}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetStoreState=t.resetInspectedStickerPosition=t.setInspectedStickerPosition=t.useStickerViewAllStore=void 0;var r,a=(r=n(251))&&r.__esModule?r:{default:r};var o=Object.freeze({inspectedStickerPosition:{rowIndex:-1,columnIndex:-1}}),i=(0,a.default)((function(e){return o})),l=i;t.useStickerViewAllStore=l;var u=function(e,t,n){i.setState({inspectedStickerPosition:{rowIndex:t,columnIndex:e,source:n}})};t.setInspectedStickerPosition=u;t.resetInspectedStickerPosition=function(){u(-1,-1)};t.resetStoreState=function(){i.setState(o)}},function(e,t,n){e.exports=n.p+"ae971fcbf3bbca191a19e338c38f0917.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(9)),i=p(n(149)),l=p(n(9467)),u=p(n(47)),s=p(n(24)),d=n(290),f=p(n(6)),c=p(n(7522));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(){return(m=Object.assign||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}).apply(this,arguments)}var _=function(e){var t=e.stickerPack;return y("div",{className:c.default.features},void 0,(0,d.isStickerPackAnimated)(t)?y(i.default,{tooltipClassName:c.default.featuresTooltip,position:i.default.Positions.TOP,text:f.default.Messages.STICKER_PICKER_PACK_DETAILS_ANIMATED},void 0,(function(e){return a.createElement(l.default,m({},e,{className:c.default.featureIcon}))})):null)};_.displayName="StickerPickerShopListHeaderFeatures";var h=function(e){var t=e.className,n=e.stickerPack,r=e.withDescription,a=void 0!==r&&r;return y("div",{className:(0,o.default)(c.default.header,t)},void 0,y("div",{className:c.default.title},void 0,y(u.default,{className:c.default.heading},void 0,n.name),y(_,{stickerPack:n})),a&&null!=n.description&&y(s.default,{className:c.default.description},void 0,n.description),y("div",{className:c.default.count},void 0,f.default.Messages.STICKER_PACK_STICKER_COUNT.format({numStickers:n.stickers.length})))};h.displayName="StickerPickerShopListHeader";var E=a.memo(h);t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 12 12"}),s("path",{d:"M2.5 1.50146V10.5015L10 6.00146L2.5 1.50146Z",fill:d,className:f}))}d.displayName="PlayIcon"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=N();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=M(n(9)),i=n(8296),l=M(n(8394)),u=n(1218),s=M(n(8621)),d=M(n(15)),f=M(n(61)),c=M(n(149)),p=M(n(1224)),v=M(n(5686)),y=M(n(13)),m=n(139),_=n(8348),h=n(5944),E=M(n(362)),g=n(366),S=n(290),O=M(n(5936)),I=n(1),T=M(n(6)),C=M(n(7524)),b=M(n(7349));function M(e){return e&&e.__esModule?e:{default:e}}function N(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return N=function(){return e},e}function A(){return(A=Object.assign||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}).apply(this,arguments)}function P(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var R=(0,m.cssValueToNumber)(b.default.stickerCategoryListPadding),L=(0,m.cssValueToNumber)(b.default.stickerCategoryIconSize),D=(0,m.cssValueToNumber)(b.default.stickerCategoryIconMargin),w=(0,m.cssValueToNumber)(b.default.stickerCategoryUnicodeIconSize),j=(0,m.cssValueToNumber)(b.default.categorySeparatorSize),k=(0,m.cssValueToNumber)(b.default.categorySeparatorMarginVertical),U=[R,R,R,R],G=2*(L+D)+R,F=j+2*k,B=P(v.default,{height:24,width:24}),H=function(e){var t,n=e.stickersListRef,r=e.channel,v=a.useRef(null),m=a.useState(!0),b=m[0],M=m[1],N=(0,_.useStickerPickerStore)((function(e){return e.activeCategoryIndex})),R=a.useCallback((function(e){var t,r=_.useStickerPickerStore.getState().searchQuery;((0,_.setActiveCategoryIndex)(e),""!==r)?(0,_.setSearchQuery)(""):null===(t=n.current)||void 0===t||t.scrollToSectionTop(e)}),[n]),k=(0,h.useFilteredStickerPackCategories)(r),H=a.useMemo((function(){var e,t=k.filter((function(e){return e.type===g.StickerCategoryTypes.GUILD})).length,n=t+((null===(e=k[0])||void 0===e?void 0:e.type)===g.StickerCategoryTypes.RECENT?1:0);return{firstStandardStickerCategoryIndex:n+1,firstStandardStickerCategoryOffsetTop:n*(L+D)-D+F,guildCategoryCount:t}}),[k]),x=H.firstStandardStickerCategoryIndex,V=H.firstStandardStickerCategoryOffsetTop,W=H.guildCategoryCount;a.useLayoutEffect((function(){M(W>=7)}),[W]);var Y=function(e){var t=e.activeIndex,n=e.handleCategorySelect,r=e.stickerPickerCategories,s=e.categoryListRef,v=e.firstStandardStickerCategoryOffsetTop,m=e.setShouldRenderShortcut,h=(0,i.useAnalyticsContext)(),b=(0,_.useStickerPickerStore)((function(e){return""!==e.searchQuery})),M=a.useCallback((function(e){var i,s,v=(null===(i=r[0])||void 0===i?void 0:i.type)===g.StickerCategoryTypes.RECENT,m=r.length>0;if(0===e&&v)return P(f.default,{"aria-label":T.default.Messages.STICKER_PICKER_CATEGORIES_RECENT,className:(0,o.default)(C.default.stickerCategory,C.default.stickerCategoryRecent,(s={},s[C.default.stickerCategoryRecentDisabled]=m&&!v,s[C.default.stickerCategoryRecentSelected]=!b&&v&&0===t,s)),onClick:function(){n(0)}},"recent",P(p.default,{className:C.default.stickerCategoryRecentIcon,height:w,width:w}));var _=t===e,M=r[e],N=r[e+1],R=null!=N&&M.type===g.StickerCategoryTypes.GUILD&&N.type!==g.StickerCategoryTypes.GUILD,D=M.type===g.StickerCategoryTypes.PACK,j="",k=null;if(M.type===g.StickerCategoryTypes.GUILD){var U=d.default.getGuild(M.id);null!=U&&(j=U.name,k=P(l.default,{guild:U,isSelected:_}))}else if(D){var G=E.default.getStickerPack(M.id);null!=G&&(j=G.name,k=P(O.default,{disableAnimation:!_||b,size:L,sticker:(0,S.getStickerPackPreviewSticker)(G)}))}return P(a.Fragment,{},M.id,P(c.default,{position:c.default.Positions.RIGHT,text:j,tooltipContentClassName:C.default.tooltip},void 0,(function(t){var r;return a.createElement(f.default,A({},t,{"aria-label":j,className:(0,o.default)(C.default.stickerCategory,(r={},r[C.default.premiumCategory]=D,r[C.default.premiumCategorySelected]=!b&&_&&D,r)),onClick:function(){M.type===g.StickerCategoryTypes.PACK&&y.default.track(I.AnalyticEvents.EXPRESSION_PICKER_CATEGORY_SELECTED,{location:null==h?void 0:h.location,tab:u.ExpressionPickerViewType.STICKER,sticker_pack_id:M.id}),n(e)}}),k)})),R?P("hr",{className:C.default.guildCategorySeparator},"separator"):null)}),[t,h,n,b,r]);return{getScrollOffsetForIndex:a.useCallback((function(e,t){return t?G:0}),[]),renderCategoryListItem:M,rowHeight:a.useCallback((function(e){var t=r[e],n=r[e+1],a=null!=n&&t.type===g.StickerCategoryTypes.GUILD&&n.type!==g.StickerCategoryTypes.GUILD;return L+(a?F:D)}),[r]),onScroll:a.useCallback((function(e){var t,n=null===(t=s.current)||void 0===t?void 0:t.getListDimensions();if(null!=n){var r=e+n.height;m(r-j<v)}}),[v])}}({activeIndex:N,stickerPickerCategories:k,categoryListRef:v,firstStandardStickerCategoryOffsetTop:V,handleCategorySelect:R,setShouldRenderShortcut:M}),z=Y.renderCategoryListItem,K=Y.rowHeight,$=Y.onScroll,Z=a.useCallback((function(){var e;R(x),null===(e=v.current)||void 0===e||e.scrollTo(V)}),[R,x,V]);return a.createElement(s.default,{activeIndex:N,className:C.default.categoryListWithSearch,listPadding:U,onScroll:$,ref:v,renderCategoryListItem:z,rowCount:k.length,rowHeight:K},W>=7&&P(f.default,{"aria-hidden":!b,className:(0,o.default)(C.default.standardStickerShortcut,(t={},t[C.default.invisibleShortcut]=!b,t)),onClick:Z},void 0,B))};H.displayName="StickerPickerCategoryList";var x=H;t.default=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=O;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(9)),i=n(3),l=n(280),u=E(n(47)),s=E(n(24)),d=E(n(13)),f=n(398),c=n(5944),p=E(n(362)),v=E(n(5936)),y=E(n(8868)),m=n(1),_=E(n(6)),h=E(n(7526));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e){var t=e.className;(0,c.useFetchStickerPacks)();var n=(0,i.useStateFromStores)([p.default],(function(){return f.EMPTY_STATE_STICKERS.map((function(e){return p.default.getStickerById(e)}))}));return a.useEffect((function(){d.default.track(m.AnalyticEvents.PREMIUM_UPSELL_VIEWED,{type:l.PremiumUpsellTypes.EMPTY_STICKER_PICKER_UPSELL,source:{section:m.AnalyticsSections.EMPTY_STICKER_PICKER_UPSELL}})}),[]),S("div",{className:(0,o.default)(h.default.emptyState,t)},void 0,S(u.default,{className:h.default.header,size:u.default.Sizes.SIZE_24},void 0,_.default.Messages.STICKER_PICKER_PREMIUM_EMPTY_STATE_TITLE),S(s.default,{className:h.default.subtitle,color:s.default.Colors.HEADER_SECONDARY,size:s.default.Sizes.SIZE_16},void 0,_.default.Messages.STICKER_PICKER_PREMIUM_EMPTY_STATE_SUBTITLE),S("div",{className:h.default.stickersRow},void 0,n.map((function(e){return S(v.default,{sticker:e,className:h.default.sticker,size:80},null==e?void 0:e.id)}))),S(y.default,{analyticsSection:m.AnalyticsSections.EXPRESSION_PICKER}))}O.displayName="StickerPickerEmptyState"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=B();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=F(n(8312)),i=n(3),l=F(n(274)),u=F(n(8624)),s=n(8296),d=F(n(8394)),f=n(1218),c=n(8392),p=F(n(8618)),v=F(n(15)),y=F(n(12)),m=F(n(61)),_=F(n(8362)),h=n(131),E=F(n(1224)),g=F(n(24)),S=F(n(13)),O=n(139),I=n(8348),T=n(1172),C=n(398),b=F(n(362)),M=n(366),N=n(290),A=F(n(5936)),P=n(8513),R=F(n(9471)),L=F(n(8866)),D=n(1),w=F(n(6)),j=F(n(7527)),k=F(n(7349)),U=F(n(7353)),G=F(n(9472));function F(e){return e&&e.__esModule?e:{default:e}}function B(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return B=function(){return e},e}function H(){return(H=Object.assign||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}).apply(this,arguments)}function x(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var V=(0,O.cssValueToNumber)(k.default.stickerPickerBreakpointSmall),W=(0,O.cssValueToNumber)(k.default.stickerPickerBreakpointMedium),Y=(0,O.cssValueToNumber)(k.default.stickersListPaddingTop),z=(0,O.cssValueToNumber)(k.default.stickersListPaddingTopSearchResults),K=(0,O.cssValueToNumber)(k.default.stickersListPaddingRight),$=(0,O.cssValueToNumber)(k.default.stickersListPaddingBottom),Z=(0,O.cssValueToNumber)(k.default.stickersListPaddingLeft),q=(0,O.cssValueToNumber)(k.default.stickersListDividerHeight),X=(0,O.cssValueToNumber)(U.default.expressionPickerListSectionHeadingHeight),J=(0,O.cssValueToNumber)(k.default.stickerPickerPreviewDimensions),Q=(0,O.cssValueToNumber)(k.default.stickerPickerPreviewDimensionsSmall),ee=(0,O.cssValueToNumber)(k.default.stickerPickerPreviewPadding),te=(0,O.cssValueToNumber)(k.default.stickerPickerPreviewMargin),ne=J+2*ee+te,re=Q+2*ee+te,ae=[Y,K,$,Z],oe=[z,K,$,Z],ie=["laugh","wave","yes","dance","sad","no","hi","bye","cry","ok"],le=function(e){var t=e.onSuggestionClick;return x("div",{className:j.default.searchSuggestions},void 0,ie.map((function(e){return x(m.default,{className:j.default.searchSuggestion,onClick:function(){return t(e)}},e,x(g.default,{size:g.default.Sizes.SIZE_14,color:g.default.Colors.STANDARD},void 0,e))})))};le.displayName="StickerPickerSearchSuggestions";var ue=x(h.FormDivider,{}),se=x(E.default,{}),de=function(e){var t=e.collapsedStickersCategories,n=e.gridWidth,r=e.onSelectSticker,o=e.getStickerItemProps,u=e.getStickerRowProps,c=e.gutterWidth,m=e.inspectedStickerPosition,_=e.isScrolling,h=e.isUsingKeyboardNavigation,E=e.stickersGrid,g=e.stickersCategories,O=e.filteredStickers,R=e.ownedStickerPacks,k=e.channel,U=(0,s.useAnalyticsContext)(),G=(0,i.useStateFromStores)([y.default],(function(){return y.default.getNullableCurrentUser()})),F=function(e){var t=e.onSelectSticker,n=e.channel,r=e.currentUser,o=(0,s.useAnalyticsContext)(),i=(0,I.useStickerPickerStore)((function(e){return e.searchQuery}));return{handleStickerInspect:a.useCallback((function(e){var t=e.visibleRowIndex,n=e.columnIndex,r=e.gridSectionIndex;(0,I.setActiveCategoryIndex)(r),(0,I.setInspectedStickerPosition)(n,t,C.InspectedStickerChangeSource.MOUSE_EVENT),e.type===M.StickerGridItemTypes.STICKER&&(0,I.setSearchPlaceholder)(e.sticker.name)}),[]),handleSelect:a.useCallback((function(e){var a=e.packId,l=e.sticker,u=e.type,s=H({},o.location,{object:""===i?D.AnalyticsObjects.STICKER_PICKER_VIEW_ALL:D.AnalyticsObjects.STICKER_SEARCH_VIEW_ALL});if(null!=l&&!(0,T.isSendableSticker)(l,r,n)){var d=b.default.getStickerPack(a);null!=d&&(S.default.track(D.AnalyticEvents.STICKER_PACK_VIEW_ALL,{sticker_id:l.id,sticker_pack_id:a,location:s}),(0,P.openStickerPackViewAllModal)({stickerPack:d}));var f=(0,N.isGuildSticker)(l),c=(0,T.getStickerSendability)(l,r,n);return c===T.StickerSendability.SENDABLE_WITH_PREMIUM&&(0,I.setShowPremiumUpsell)(!0),void(f&&T.StickerSendability.SENDABLE_WITH_PREMIUM_GUILD)}u===M.StickerGridItemTypes.STICKER&&null!=l&&t(l)}),[o.location,t,i,r,n])}}({onSelectSticker:r,channel:k,currentUser:G}),B=F.handleStickerInspect,Y=F.handleSelect,z=a.useCallback((function(e){l.default.updateLocalSettings({stickerPickerCollapsedSections:Array.from(e)})}),[]),K=a.useCallback((function(e){var t=E[e];return null!=t?x(L.default,{getStickerItemProps:o,getStickerRowProps:u,gutterWidth:c,inspectedStickerPosition:m,isScrolling:_,isUsingKeyboardNavigation:h,onInspect:B,onSelect:Y,rowIndex:e,stickerClassName:j.default.sticker,stickerDescriptors:t,stickerSize:n>V?J:Q,preferAnimation:n<=W,ownedStickerPacks:R,isDisplayingIndividualStickers:!0,channel:k,currentUser:G},e):null}),[E,o,u,c,m,_,h,B,Y,n,R,k,G]),$=a.useCallback((function(e,t){return x("div",{},e,t)}),[]),Z=a.useCallback((function(e,n){var r=(void 0===n?{}:n).isStickerPack,a=void 0===r||r,o=new Set(t),i=t.has(e);i?o.delete(e):o.add(e),S.default.track(D.AnalyticEvents.EXPRESSION_PICKER_CATEGORY_COLLAPSE_TOGGLED,{location:null==U?void 0:U.location,tab:f.ExpressionPickerViewType.STICKER,collapsed:!i,sticker_pack_id:a?e:null}),z(o)}),[U,t,z]);return{renderRow:K,renderSection:$,renderSectionHeader:a.useCallback((function(e){var n=g[e];if(null!=O){var r=O.sendable,o=O.sendableWithPremium;if(0===e&&r.length>0)return null;var i=r.length>0&&o.length>0;return a.createElement(a.Fragment,null,i?x("div",{className:j.default.divider},void 0,ue):null,x(p.default,{className:j.default.packHeader,"aria-label":w.default.Messages.STICKERS_YOU_MIGHT_LIKE_A11Y},"stickers-you-might-like-header",w.default.Messages.STICKERS_YOU_MIGHT_LIKE))}switch(n.type){case M.StickerCategoryTypes.RECENT:return x(p.default,{className:j.default.packHeader,"aria-label":w.default.Messages.STICKER_CATEGORY_A11Y_LABEL.format({categoryName:n.name}),icon:se,isCollapsed:t.has(n.id),onClick:function(){return Z(n.id,{isStickerPack:!1})}},"header-"+n.id,n.name);case M.StickerCategoryTypes.GUILD:var l=v.default.getGuild(n.id);return null==l?null:x(p.default,{className:j.default.packHeader,"aria-label":w.default.Messages.STICKER_CATEGORY_A11Y_LABEL.format({categoryName:l.name}),icon:x(d.default,{guild:l,height:16,width:16}),isCollapsed:t.has(l.id),onClick:function(){return Z(l.id)}},"h"+l.id,l.name);case M.StickerCategoryTypes.PACK:var u=b.default.getStickerPack(n.id);return null==u?null:x(p.default,{className:j.default.packHeader,"aria-label":w.default.Messages.STICKER_CATEGORY_A11Y_LABEL.format({categoryName:u.name}),icon:x(A.default,{disableAnimation:!0,size:12,sticker:(0,N.getStickerPackPreviewSticker)(u)}),isCollapsed:t.has(u.id),onClick:function(){return Z(u.id)}},"h"+u.id,u.name)}}),[t,g,Z,O]),sectionHeaderHeight:a.useCallback((function(e){if(null!=O){var t=O.sendable,n=O.sendableWithPremium;if(0===e&&t.length>0)return 0;var r=t.length>0&&n.length>0?q:0;return X+r}return X}),[O])}},fe=a.forwardRef((function(e,t){var n=e.collapsedStickersCategories,r=e.gridWidth,l=e.filteredStickers,s=e.getStickerItemProps,d=e.getStickerRowProps,f=e.gutterWidth,p=e.isUsingKeyboardNavigation,v=e.onSelectSticker,y=e.rowCount,m=e.rowCountBySection,h=e.stickersCategories,E=e.stickersGrid,g=e.channel,S=a.useRef(!1),O=a.useRef(null),T=(0,I.useStickerPickerStore)((function(e){return[e.searchQuery,e.activeCategoryIndex,e.inspectedStickerPosition]}),o.default),C=T[0],M=T[1],N=T[2],A=(0,i.useStateFromStores)([b.default],(function(){return b.default.getPremiumPacks()})),P=a.useMemo((function(){return new Set(A.map((function(e){return e.id})))}),[A]),L=de({collapsedStickersCategories:n,gridWidth:r,stickersCategories:h,stickersGrid:E,isScrolling:S,isUsingKeyboardNavigation:p,onSelectSticker:v,getStickerItemProps:s,getStickerRowProps:d,gutterWidth:f,inspectedStickerPosition:N,filteredStickers:l,ownedStickerPacks:P,channel:g}),D=L.renderRow,k=L.renderSection,U=L.renderSectionHeader,F=L.sectionHeaderHeight,B=(0,c.useSynchronizedActiveCategoryIndexForScrollPosition)({activeCategoryIndex:M,isScrolling:S,listRef:O,onActiveCategoryIndexChange:I.setActiveCategoryIndex,scrollOffset:20,searchQuery:C});return(0,c.useSynchronizedScrollPositionForActiveCategoryIndex)({searchQuery:C,activeCategoryIndex:M,listRef:O}),a.useImperativeHandle(t,(function(){return{scrollTo:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return null===(e=O.current)||void 0===e?void 0:e.scrollTo.apply(e,n)},getRowDescriptors:function(){var e,t;return null!==(e=null===(t=O.current)||void 0===t?void 0:t.getRowDescriptors())&&void 0!==e?e:[]},getSectionDescriptors:function(){var e,t;return null!==(e=null===(t=O.current)||void 0===t?void 0:t.getSectionDescriptors())&&void 0!==e?e:[]},scrollToSectionTop:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return null===(e=O.current)||void 0===e?void 0:e.scrollToSectionTop.apply(e,n)},scrollRowIntoView:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return null===(e=O.current)||void 0===e?void 0:e.scrollRowIntoView.apply(e,n)},getScrollerNode:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return null===(e=O.current)||void 0===e?void 0:e.getScrollerNode.apply(e,n)},scrollIntoViewNode:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return null===(e=O.current)||void 0===e?void 0:e.scrollIntoViewNode.apply(e,n)},getListDimensions:function(){for(var e,t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return null!==(e=null===(t=O.current)||void 0===t?void 0:t.getListDimensions.apply(t,r))&&void 0!==e?e:{height:-1,totalHeight:-1}}}}),[]),x("div",{className:j.default.wrapper},void 0,null!=l&&0===l.sendable.length&&0===l.sendableWithPremium.length?x(u.default,{message:w.default.Messages.NO_STICKER_SEARCH_RESULTS_WITH_SUGGESTIONS,className:j.default.noSearchResultsContainer,noResultsImageURL:G.default,suggestions:x(le,{onSuggestionClick:function(e){return(0,I.setSearchQuery)(e,!0)}})}):a.createElement(_.default,{listPadding:null!=l?oe:ae,onScroll:B,renderRow:D,renderSection:null==l?k:void 0,renderSectionHeader:U,rowCount:y,rowCountBySection:m,rowHeight:r>V?ne:re,sectionHeaderHeight:F,stickyHeaders:!0,ref:O}),x(R.default,{stickersGrid:E}))}));t.default=fe},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(8394)),i=m(n(8862)),l=m(n(15)),u=n(139),s=n(8348),d=m(n(362)),f=n(366),c=n(290),p=m(n(5936)),v=m(n(6)),y=m(n(7353));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var E=(0,u.cssValueToNumber)(y.default.expressionPickerInspectorBarGraphicPrimaryDimensions),g=(0,u.cssValueToNumber)(y.default.expressionPickerInspectorBarGraphicSecondaryDimensions),S=a.memo((function(e){var t=e.stickersGrid,n=(0,s.useStickerPickerStore)((function(e){return e.inspectedStickerPosition})),r=a.useMemo((function(){var e,r=n.rowIndex,a=n.columnIndex,o=null===(e=t[r])||void 0===e?void 0:e[a];return(null==o?void 0:o.type)!==f.StickerGridItemTypes.STICKER?null:o.sticker}),[t,n]);if(null==r)return null;var u=function(e){var t=null,n=null;if((0,c.isGuildSticker)(e)){var r=l.default.getGuild(e.guild_id);null!=r&&(t=v.default.Messages.STICKER_FROM_SOURCE.format({source:r.name}),n=h(o.default,{guild:r}))}else if((0,c.isStandardSticker)(e)){var a=d.default.getStickerPack(e.pack_id);null!=a&&(t=v.default.Messages.STICKER_FROM_SOURCE.format({source:a.name}),n=h(p.default,{size:g,sticker:(0,c.getStickerPackPreviewSticker)(a),disableAnimation:!0}))}return{title:t,graphic:n}}(r),y=u.graphic,m=u.title;return h(i.default,{graphicPrimary:h(p.default,{isInteracting:!0,size:E,sticker:r,disableAnimation:!0}),graphicSecondary:y,titlePrimary:r.name,titleSecondary:m})}));t.default=S},function(e,t,n){e.exports=n.p+"7445c3003909a83b8f7ace3ff361fc98.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(8312)),i=c(n(8297)),l=n(8348),u=n(398),s=n(5944),d=c(n(6)),f=c(n(7528));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=a.forwardRef((function(e,t){var n=e.onKeyDown,r=e.stickersListRef,c=e.channel,p=(0,s.useHasSendableSticker)(c),y=a.useRef(null),m=(0,l.useStickerPickerStore)((function(e){return{searchQuery:e.searchQuery,searchPlaceholder:e.searchPlaceholder,isSearchSuggestion:e.isSearchSuggestion}}),o.default),_=m.searchQuery,h=m.searchPlaceholder,E=m.isSearchSuggestion,g=a.useCallback((function(e){var t;(0,l.setActiveCategoryIndex)(""===e?0:u.INACTIVE_CATEGORY_INDEX),(0,l.setInspectedStickerPosition)(0,0),(0,l.setSearchPlaceholder)(null),(0,l.setSearchQuery)(e),null===(t=r.current)||void 0===t||t.scrollTo(0)}),[r]),S=a.useCallback((function(){(0,l.setSearchQuery)("")}),[]);return a.useImperativeHandle(t,(function(){return{focus:function(){var e;return null===(e=y.current)||void 0===e?void 0:e.focus()}}})),a.useLayoutEffect((function(){var e;E&&(null===(e=y.current)||void 0===e||e.focus())}),[E]),v("div",{className:f.default.wrapper},void 0,a.createElement(i.default,{autoFocus:!0,disabled:!p,query:_,ref:y,size:i.default.Sizes.MEDIUM,placeholder:null!=h?h:p?d.default.Messages.SEARCH_FOR_STICKERS:d.default.Messages.NO_STICKERS_TO_SEARCH_THROUGH,onClear:S,onKeyDown:n,onQueryChange:g,className:f.default.searchBar,preventEscapePropagation:!1,useKeyboardNavigation:!1}))}));t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StickersPremiumUpsell=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(280),i=m(n(61)),l=m(n(255)),u=m(n(24)),s=m(n(13)),d=n(8348),f=m(n(8868)),c=n(1),p=m(n(6)),v=m(n(7529)),y=m(n(9475));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var E=h(l.default,{}),g=function(e){var t=e.onLearnMore;a.useEffect((function(){s.default.track(c.AnalyticEvents.PREMIUM_UPSELL_VIEWED,{location_section:c.AnalyticsSections.STICKER_PICKER_UPSELL,type:o.PremiumUpsellTypes.STICKER_PICKER_UPSELL})}),[]);return h("div",{className:v.default.upsellWrapper},void 0,h("div",{className:v.default.upsellBackground}),h("div",{className:v.default.upsellContent},void 0,h("img",{className:v.default.upsellImage,src:y.default,alt:p.default.Messages.STICKER_PICKER_PREMIUM_UPSELL_ALT}),h(u.default,{className:v.default.upsellTitle,color:u.default.Colors.HEADER_PRIMARY,size:u.default.Sizes.SIZE_20,strong:!0},void 0,p.default.Messages.STICKER_PICKER_PREMIUM_UPSELL_TITLE),h(u.default,{className:v.default.upsellDescription,size:u.default.Sizes.SIZE_16},void 0,p.default.Messages.STICKER_PICKER_PREMIUM_UPSELL_DESCRIPTION.format({onClick:t})),h(f.default,{analyticsSection:c.AnalyticsSections.EXPRESSION_PICKER})),h(i.default,{className:v.default.upsellClose,onClick:function(){return(0,d.setShowPremiumUpsell)(!1)}},void 0,E))};t.StickersPremiumUpsell=g,g.displayName="StickersPremiumUpsell"},function(e,t,n){e.exports=n.p+"a375de187c8d70afb21e426ffa95453d.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFilteredStickers=void 0;var r=n(1172),a=n(9477);t.getFilteredStickers=function(e,t,n){if(""===e)return null;var o=[],i=[];return(0,a.searchAllStickers)(e).forEach((function(e){var a=(0,r.getStickerSendability)(e,t,n);a===r.StickerSendability.SENDABLE?o.push(e):a===r.StickerSendability.SENDABLE_WITH_PREMIUM&&i.push(e)})),{sendable:o,sendableWithPremium:i}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.searchUnsendableStickers=t.searchSendableStickers=t.searchAllStickers=void 0;var r,a=(r=n(697))&&r.__esModule?r:{default:r},o=n(1172);t.searchAllStickers=function(e){return a.default.queryStickers([e],!0).stickers.map((function(e){return e.sticker}))};t.searchSendableStickers=function(e,t){return a.default.queryStickers([e],!0,[t,function(e,t){return t===o.StickerSendability.SENDABLE}]).stickers.map((function(e){return e.sticker}))};t.searchUnsendableStickers=function(e,t){return a.default.queryStickers([e],!0,[t,function(e,t){return t!==o.StickerSendability.SENDABLE}]).stickers.map((function(e){return e.sticker}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=P(n(0)),o=N(n(9)),i=P(n(680)),l=n(704),u=n(1250),s=N(n(1257)),d=N(n(8622)),f=n(8365),c=n(1172),p=N(n(362)),v=n(366),y=n(290),m=N(n(5936)),_=N(n(8867)),h=n(8513),E=N(n(61)),g=N(n(248)),S=N(n(24)),O=N(n(13)),I=n(9479),T=n(1306),C=n(1),b=N(n(6)),M=N(n(7532));function N(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function P(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function R(){return(R=Object.assign||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}).apply(this,arguments)}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function D(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}var w,j=(0,u.cssValueToNumber)(M.default.containerPadding),k=(0,u.cssValueToNumber)(M.default.stickerSuggestionSize),U=(0,u.cssValueToNumber)(M.default.stickerSuggestionMargin),G=2*k+U+2*j,F=function(){return Promise.resolve()};!function(e){e[e.STICKER=0]="STICKER"}(w||(w={}));var B=L(_.default,{size:14});function H(e){var t,n=e.isFocused,r=e.isHidden,l=e.sendability,u=e.listIndex,s=e.sticker,d=e.onMouseOver,f=e.onSelectSticker,p=(0,i.useListItem)(""+u),v=p.tabIndex,y=D(p,["tabIndex"]);return a.createElement(E.default,R({},y,{tabIndex:r?-1:v,className:(0,o.default)(M.default.suggestedExpression,(t={},t[M.default.suggestedExpressionFocused]=n,t)),focusProps:{enabled:!1},onClick:function(){return f(s,l)},onMouseOver:d}),L(g.default,{mask:g.default.Masks.STICKER_ROUNDED_RECT,width:k+4,height:k+4,className:M.default.mask},void 0,L("div",{className:M.default.maskBackground})),L(m.default,{maskAsset:!0,size:k,sticker:s,className:M.default.sticker}),l!==c.StickerSendability.SENDABLE&&B)}H.displayName="ExpressionSuggestionSticker";var x=a.memo((function(e){var t,n,r=e.editorRef,u=e.channel,m=e.isEditorFocused,_=e.onSelectSticker,g=a.useContext(d.default),N=a.useState(null),A=N[0],P=N[1],j=a.useState(!1),k=j[0],U=j[1],B=a.useState(null),x=B[0],V=B[1],W=(0,f.useExpressionPickerStore)((function(e){return null!=e.activeView})),Y=a.useRef(null),z=a.useState(""),K=z[0],$=z[1],Z=a.useState(!1),q=Z[0],X=Z[1],J=a.useState(!1),Q=J[0],ee=J[1],te=(0,I.useStickerSuggestionResults)(K,k,u),ne=(0,I.useTextChangeHandler)({setTextInputValue:$,setHasDismissed:U,setHasSelection:ee,setFocusedSuggestionType:P}),re=ne.handleTextChange,ae=ne.debouncedSetTextInputValue;a.useEffect((function(){var e=function(e){X(e)},t=function(e){var t,n=""!==e&&null!=e;(ee(n),n)&&(P(null),null===(t=r.current)||void 0===t||t.focus())};return g.addListener("text-changed",re),g.addListener("autocomplete-visibility-change",e),g.addListener("selection-changed",t),function(){g.removeListener("text-changed",re),g.removeListener("autocomplete-visibility-change",e),g.removeListener("selection-changed",t)}}),[re,r,g]),a.useLayoutEffect((function(){null==A&&V(null)}),[A]);var oe=a.useState(!1),ie=oe[0],le=oe[1];a.useLayoutEffect((function(){requestAnimationFrame((function(){var e;le(m||!0===(null===(e=Y.current)||void 0===e?void 0:e.contains(document.activeElement)))}))}),[m]);var ue=te.length>0,se=ie&&!W&&!q&&!k&&!Q&&ue,de=function(e){var t=e.editorRef,n=e.hasStickerResults,r=e.shouldRenderSuggestions,o=e.focusedSuggestionType,u=e.setFocusedStickerListItem,s=e.setFocusedSuggestionType,d=e.setHasDismissed,f=e.setTextInputValue,c=a.useCallback((function(e,t){u(t)}),[u]),p=(0,i.default)({id:"expression-suggestions-stickers",isEnabled:!0,scrollToStart:F,scrollToEnd:F,orientation:l.Orientations.HORIZONTAL,setFocus:c,useVirtualFocus:!0});return a.useEffect((function(){var e=function(e){var a,i;if(!(!r||e.shiftKey||e.ctrlKey||e.altKey||e.metaKey)){switch(e.key){case"ArrowUp":e.preventDefault(),null==o&&n&&(p.focusFirstVisibleItem(),s(w.STICKER));break;case"ArrowDown":s(null),null===(a=t.current)||void 0===a||a.focus();break;case"Escape":s(null),d(!0),f(""),null===(i=t.current)||void 0===i||i.focus()}o===w.STICKER&&p.containerProps.onKeyDown(e)}};return window.addEventListener("keydown",e,{capture:!0}),function(){return window.removeEventListener("keydown",e,{capture:!0})}}),[p,r,o,s,n,t,d,u,f]),{stickersNavigator:p}}({editorRef:r,hasStickerResults:ue,shouldRenderSuggestions:se,focusedSuggestionType:A,setFocusedSuggestionType:P,setHasDismissed:U,setFocusedStickerListItem:V,setTextInputValue:$}).stickersNavigator,fe=function(e,t){if(se){if(O.default.track(C.AnalyticEvents.AUTO_SUGGEST_EXPRESSION_SELECTED,{sticker_id:e.id}),t===c.StickerSendability.SENDABLE)U(!0),_(e,v.StickerSelectLocation.EXPRESSION_SUGGESTIONS),ae.cancel(),$("");else if((0,y.isStandardSticker)(e)){var n=p.default.getStickerPack(e.pack_id);null!=n&&(0,h.openStickerPackViewAllModal)({stickerPack:n})}g.emit("sticker-suggestions-hidden")}},ce=a.useRef([]),pe=a.useRef(!1);a.useEffect((function(){se&&(ce.current=te),se!==pe.current&&(g.emit(se?"sticker-suggestions-shown":"sticker-suggestions-hidden"),se&&(0,T.throttledTrackExpressionSuggestionDisplayed)()),pe.current=se}),[g,se,te]);var ve=!se,ye=se?te:ce.current;return L(E.default,{tabIndex:ve?-1:0,"aria-hidden":ve,className:(0,o.default)(M.default.container,(t={},t[M.default.hidden]=ve,t)),innerRef:Y,style:{minWidth:G},onClick:function(){var e;return null===(e=r.current)||void 0===e?void 0:e.focus()}},void 0,a.createElement(a.Fragment,null,L(i.ListNavigatorProvider,{navigator:de},void 0,L(i.ListNavigatorContainer,{},void 0,(function(e){var t=e.ref,n=e.tabIndex,r=D(e,["ref","tabIndex"]);return a.createElement("div",R({className:M.default.stickerResults,ref:function(e){t.current=e},onMouseLeave:function(){null==A&&V(null)},tabIndex:ve?-1:n},r),ye.map((function(e,t){var n=e.sticker,r=e.sendability;return L(H,{isFocused:x===""+t,isHidden:ve,sendability:r,listIndex:t,onMouseOver:function(){de.setFocus(""+t),V(""+t)},onSelectSticker:fe,sticker:n},n.id)})))}))),L("div",{className:M.default.bottomInformationTextContainer},void 0,L("div",{className:M.default.textDivider}),L(S.default,{className:M.default.descriptionText,style:{maxWidth:G}},void 0,null!=x?b.default.Messages.EXPRESSION_SUGGESTIONS_STICKER_NAME.format({stickerName:null===(n=te[+x])||void 0===n?void 0:n.sticker.name}):b.default.Messages.EXPRESSION_SUGGESTIONS_STICKER_SHORT_NAV_PROMPT.format({upHook:function(e,t){return L(s.default,{shortcut:"up",className:M.default.keybind},t)}})))),L("div",{className:M.default.containerBackground}))}));t.default=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTextChangeHandler=t.useStickerSuggestionResults=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=y(n(378)),o=n(3),i=n(1172),l=n(5940),u=n(5944),s=y(n(362)),d=y(n(12)),f=y(n(697)),c=n(393),p=n(1361),v=n(1306);function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}var h=(0,c.promiseThrottle)(l.fetchStickerPacks,p.REQUEST_THROTTLE_DURATION_MS);t.useStickerSuggestionResults=function(e,t,n){var a=(0,u.useHasSendableSticker)(n),l=(0,o.useStateFromStores)([d.default],(function(){return d.default.getNullableCurrentUser()}));return r.useMemo((function(){var r=(0,v.getQueriesFromUserInput)(e);if(t||null==e||r.length>p.MAX_NUM_USER_INPUT_WORDS||!a)return[];var o=[],u=[],s=(0,v.removePunctuation)(e),d=s===r[0]?r:[s].concat(r);f.default.queryStickers(d,!1).stickers.forEach((function(e){var t=e.sticker,r=(0,i.getStickerSendability)(t,l,n),a={sticker:t,sendability:r};r===i.StickerSendability.SENDABLE?o.push(a):r===i.StickerSendability.SENDABLE_WITH_PREMIUM&&u.push(a)}));var c=[];return o.length>0&&(c=o.slice(0,p.MAX_NUM_SUGGESTED_STICKERS),0!==u.length&&(c.length===p.MAX_NUM_SUGGESTED_STICKERS&&c.pop(),c.push(u[0]))),c}),[e,n,a,t,l])};t.useTextChangeHandler=function(e){var t=e.setTextInputValue,n=e.setHasDismissed,o=e.setHasSelection,i=e.setFocusedSuggestionType,l=e.delayBeforeSuggestions,u=r.useRef(null),d=r.useRef(!1),f=r.useRef(!1),c=r.useMemo((function(){return(0,a.default)(t,null!=l?l:p.DELAY_BEFORE_SUGGESTIONS_MS)}),[t,l]);return{handleTextChange:function(){var e,r=(e=regeneratorRuntime.mark((function e(r){var a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=r&&""!==r){e.next=10;break}c.cancel(),null==t||t(""),null==n||n(!1),null==o||o(!1),null==i||i(null),u.current=null,d.current=!1,e.next=25;break;case 10:if(d.current||r.trim()===(null===(a=u.current)||void 0===a?void 0:a.trim())){e.next=25;break}if(u.current=r,!((0,v.getQueriesFromUserInput)(r).length>p.MAX_NUM_USER_INPUT_WORDS)){e.next=17;break}return d.current=!0,c.cancel(),t(""),e.abrupt("return");case 17:if(!0!==f.current){e.next=19;break}return e.abrupt("return");case 19:if(s.default.hasLoadedStickerPacks){e.next=24;break}return f.current=!0,e.next=23,h();case 23:f.current=!1;case 24:c(u.current);case 25:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){_(o,r,a,i,l,"next",e)}function l(e){_(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(e){return r.apply(this,arguments)}}(),debouncedSetTextInputValue:c}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=I(n(0)),o=S(n(9)),i=S(n(8)),l=S(n(10341)),u=S(n(8325)),s=S(n(142)),d=S(n(8389)),f=S(n(1216)),c=n(8349),p=n(8289),v=I(n(9481)),y=S(n(9482)),m=S(n(9483)),_=S(n(9494)),h=n(1),E=S(n(6)),g=S(n(7344));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function T(){return(T=Object.assign||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}).apply(this,arguments)}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var M={12:g.default.fontSize12Padding,14:g.default.fontSize14Padding,15:g.default.fontSize15Padding,16:g.default.fontSize16Padding,18:g.default.fontSize18Padding,20:g.default.fontSize20Padding,24:g.default.fontSize24Padding},N=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).ref=a.createRef(),n._focusBlurQueue=Promise.resolve(),n.handleSelectionChange=function(){var e,t,r;n.props.focused&&n.props.onSelectionChanged(null===(e=(t=document).getSelection)||void 0===e||null===(r=e.call(t))||void 0===r?void 0:r.toString())},n.focus=function(){var e;null===(e=n._focusBlurQueue)||void 0===e||e.then((function(){n.setState({focused:!0},(function(){var e=n.ref.current;null!=e&&e.focus()}))}))},n.handlePrependText=function(e){var t=e.text,r=n.ref.current;null!=r&&(t&&r.prependText(t),r.focus())},n.saveCurrentText=function(e){void 0===e&&(e=!0);var t=n.props,r=t.type,a=t.channel;r===h.TextareaTypes.NORMAL&&(e&&n.saveCurrentTextThrottled.cancel(),n.handleSaveCurrentText(a.id))},n.handleBeforeUnload=function(){return n.saveCurrentText()},n.saveCurrentTextThrottled=i.default.throttle(n.saveCurrentText.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n),!1),500),n.handleEnter=function(e){var t,r;return null===(t=(r=n.props).onEnter)||void 0===t?void 0:t.call(r,e)},n.handleTab=function(){var e,t;return null===(e=(t=n.props).onTab)||void 0===e?void 0:e.call(t)},n.handleMoveSelection=function(e){var t,r;return null===(t=(r=n.props).onMoveSelection)||void 0===t?void 0:t.call(r,e)},n.maybeShowAutocomplete=function(){var e,t;return null===(e=(t=n.props).onMaybeShowAutocomplete)||void 0===e?void 0:e.call(t)},n.handleSaveCurrentText=function(e){d.default.saveDraft(e,n.props.textValue,n.props.draftType)},n.handleInsertText=function(e){var t=e.content,r=e.addSpace,a=void 0!==r&&r;n.appendText(t,a),n.focus()},n.handleFocus=function(e){var t=n.props.onFocus,r=n.state.focused;null==t||t(e),r||n.setState({focused:!0})},n.handleBlur=function(e){var t=n.props.onBlur,r=n.state.focused;null==t||t(e),r&&n.setState({focused:!1})},n.handlePasteItem=function(e,t){var r=n.props,a=r.channel,o=r.canPasteFiles,i=r.uploadPromptCharacterCount,l=r.shouldUploadLongMessages,u=r.promptToUpload,s=r.maxCharacterCount,d=r.draftType;if(null==u||!a.isPrivate()&&!o||a.isPrivate()&&a.isManaged())return!1;var f=function(e,t){return u(e,a,d,!1,!0,t)};switch(t.type){case"image/png":e.preventDefault();var c=t.getAsFile();return null!=c&&(n.saveCurrentText(),2===e.clipboardData.items.length?e.clipboardData.items[0].getAsString((function(e){f([(0,p.makeFile)(c,n.extractFileName(e))])})):f([(0,p.makeFile)(c)]),!0);case"text/plain":if(!0===l){var v=e.clipboardData.getData("text/plain");if(v.length>(null!=i?i:s)){e.preventDefault();var y=new Blob([v],{type:"text/plain"});return f([(0,p.makeFile)(y,"message.txt")],!0),!0}}return!1}return!1},n.preprocessInsertedText=function(e){var t=n.props,r=t.channel,a=t.type;return f.default.parse(r,e,a===h.TextareaTypes.EDIT,!1).content},n.renderers={renderEmoji:function(e){return C(v.Emoji,{emoji:e,channel:n.props.channel})},renderCustomEmoji:function(e){return C(v.CustomEmoji,{emoji:e,channel:n.props.channel})},renderTextMention:function(e){return C(v.TextMention,{text:e,channel:n.props.channel})},renderUserMention:function(e){return C(v.UserMention,{id:e,channel:n.props.channel})},renderRoleMention:function(e){return C(v.RoleMention,{id:e,channel:n.props.channel})},renderChannelMention:function(e){return C(v.ChannelMention,{id:e,channel:n.props.channel})}},n.resolvePlaintextMention=function(e){return(0,_.default)(e,n.props.channel)},n.state={focused:!1,submitting:!1},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,b(t,n);var S=r.prototype;return S.componentDidMount=function(){var e=this;this.props.focused&&requestAnimationFrame((function(){return e.focus()})),document.addEventListener("selectionchange",this.handleSelectionChange),window.addEventListener("beforeunload",this.handleBeforeUnload)},S.componentDidUpdate=function(e){this.fixFocus(e),this.props.textValue!==e.textValue&&this.saveCurrentTextThrottled()},S.componentWillUnmount=function(){this.saveCurrentText(),window.removeEventListener("beforeunload",this.handleBeforeUnload),document.removeEventListener("selectionchange",this.handleSelectionChange),this._focusBlurQueue=null},S.blur=function(){var e=this.ref.current;null!=e&&e.blur()},S.insertEmoji=function(e,t,n){void 0===n&&(n=!1);var r=this.props.textValue,a=this.ref.current;null!=e&&null!=a&&(n&&!r.endsWith(" ")&&a.insertText(" ",!1),a.insertEmoji(e,t),t&&this.focus())},S.insertCommandOption=function(e){var t=this.ref.current;null!=t&&t instanceof m.default&&t.insertCommandOption(e)},S.handleOuterClick=function(){this.focus()},S.clearValue=function(){var e=this.props,t=e.channel,n=e.draftType;this.setState({focused:!0,submitting:!1}),d.default.saveDraft(t.id,"",n)},S.getCurrentWord=function(){var e,t=this.ref.current;return null!==(e=null==t?void 0:t.getCurrentWord())&&void 0!==e?e:{word:null,isAtStart:!1}},S.doesSelectionStartOnOrAfterLastWord=function(){return this.ref.current.doesSelectionStartOnOrAfterLastWord()},S.insertAutocomplete=function(e,t,n){var r=this.ref.current;return null==r?void 0:r.insertAutocomplete(e,t,n)},S.getCurrentCommandOption=function(){var e=this.ref.current;return null!=e&&e instanceof m.default?e.getCurrentCommandOption():null},S.getCurrentCommandOptionValue=function(){var e=this.ref.current;return null!=e&&e instanceof m.default?e.getCurrentCommandOptionValue():[]},S.getFirstText=function(){var e,t=this.ref.current;return null!==(e=null==t?void 0:t.getFirstText())&&void 0!==e?e:null},S.completeCurrentCommandOption=function(){var e=this.ref.current;null!=e&&e instanceof m.default&&e.completeCurrentCommandOption()},S.toggleMarkdownStyle=function(e){var t=this.ref.current;null!=t&&t instanceof m.default&&t.toggleMarkdownStyle(e)},S.setSelectionLineType=function(e){var t=this.ref.current;null!=t&&t instanceof m.default&&t.setSelectionLineType(e)},S.selectCommandOption=function(e){var t=this.ref.current;null!=t&&t instanceof m.default&&t.selectCommandOption(e)},S.insertNextCommandOption=function(e){var t=this.ref.current;null!=t&&t instanceof m.default&&t.insertNextCommandOption(e)},S.fixFocus=function(e){e.focused&&!this.props.focused?this.blur():!e.focused&&this.props.focused&&this.focus()},S.appendText=function(e,t){var n;void 0===t&&(t=!0),null===(n=this.ref.current)||void 0===n||n.insertText(e,t)},S.getPlaceholder=function(){var e=this.props,t=e.disabled,n=e.placeholder,r=e.isPreviewing;return t&&!r?E.default.Messages.NO_SEND_MESSAGES_PERMISSION_PLACEHOLDER:n},S.render=function(){var e,t,n=this.props,r=n.textValue,i=n.richValue,l=n.disabled,s=n.onChange,d=n.onKeyDown,f=n.onResize,p=n.onSubmit,v=n.channel,_=n.type,E=n.fontSize,S=n.useSlate,O=n.spellcheckEnabled,I=n.canUseCommands,b=n.useNewSlashCommands,N=n.canOnlyUseTextCommands,A=n.disableAutoFocus,P=n.className,R=this.state.submitting,L={className:(0,o.default)(P,g.default.textArea,(e={},e[g.default.textAreaSlate]=S,e[g.default.textAreaDisabled]=l||R,e)),placeholder:this.getPlaceholder(),disabled:l||!1,submitting:R,isEdit:_===h.TextareaTypes.EDIT,onFocus:this.handleFocus,onBlur:this.handleBlur,onPasteItem:this.handlePasteItem,onTab:this.handleTab,onEnter:this.handleEnter,moveSelection:this.handleMoveSelection,maybeShowAutocomplete:this.maybeShowAutocomplete,onChange:s,onResize:f,onKeyDown:d,onSubmit:p,textAreaPaddingClassName:(0,o.default)(M[E],(t={},t[g.default.textAreaWithoutAttachmentButton]=_!==h.TextareaTypes.NORMAL&&_!==h.TextareaTypes.THREAD_CREATION&&_!==h.TextareaTypes.SIDEBAR,t)),spellcheckEnabled:O,useNewSlashCommands:b,disableAutoFocus:A},D=l?u.default.deserialize(""):i,w=S?a.createElement(m.default,T({},L,{ref:this.ref,key:l?"disabled":"enabled",renderers:this.renderers,preprocessInsertedText:this.preprocessInsertedText,resolvePlaintextMention:this.resolvePlaintextMention,channelId:v.id,guildId:v.guild_id,value:D,canUseCommands:I,canOnlyUseTextCommands:N})):a.createElement(y.default,T({ref:this.ref},L,{value:l?"":r}));return a.createElement(a.Fragment,null,C(c.ComponentAction,{event:h.ComponentActions.INSERT_TEXT,handler:this.handleInsertText}),C(c.ComponentAction,{event:h.ComponentActions.PREPEND_TEXT,handler:this.handlePrependText}),w)},S.extractFileName=function(e){var t=(new DOMParser).parseFromString(e,"text/html").querySelector("img");if(t instanceof HTMLImageElement){var n;try{var r=s.default.parse(t.src).pathname;null!=r&&r.length>0&&(n=l.default.basename(r).split(".")[0])}catch(e){}if(null!=n&&n.length>0)return n+".png"}},r}(a.Component);t.default=N,N.displayName="ChannelEditorContainer"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Emoji=C,t.CustomEmoji=b,t.TextMention=M,t.UserMention=N,t.RoleMention=P,t.ChannelMention=function(e){var t,n=e.id,r=(0,i.useStateFromStores)([s.default],(function(){return s.default.getChannel(n)})),a=(0,m.shouldDisplayChannelIconPrefix)(null==r?void 0:r.type);return null==r?R:I(p.default,{className:(0,o.default)((t={mention:!0},t[E.default.iconMention]=a,t))},void 0,a&&I(y.default,{className:E.default.channelIcon,"aria-label":h.default.Messages.VOICE_CHANNEL}),(0,m.getChannelPrefix)(null==r?void 0:r.type),r.name)};var r,a=O(n(0)),o=g(n(9)),i=n(3),l=g(n(5938)),u=O(n(5957)),s=g(n(10)),d=g(n(15)),f=g(n(160)),c=g(n(12)),p=g(n(8426)),v=g(n(149)),y=g(n(8276)),m=n(292),_=g(n(258)),h=g(n(6)),E=g(n(7533));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(){return(T=Object.assign||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}).apply(this,arguments)}function C(e){var t=e.emoji;return I(v.default,{text:t.name,delay:750,position:v.default.Positions.TOP},void 0,(function(e){return a.createElement(l.default,T({src:t.src,emojiName:t.name,jumboable:t.jumboable,animated:!1},e))}))}function b(e){var t=e.emoji;return I(v.default,{text:t.name,delay:750,position:v.default.Positions.TOP},void 0,(function(e){return a.createElement(l.default,T({emojiId:t.emojiId,emojiName:t.name,animated:t.animated,jumboable:t.jumboable},e))}))}function M(e){var t=e.text;return I(p.default,{className:"mention"},void 0,t)}function N(e){var t=e.id,n=e.channel,r=(0,i.useStateFromStores)([c.default],(function(){return c.default.getUser(t)})),o=(0,i.useStateFromStores)([f.default],(function(){return f.default.hidePersonalInformation})),l=_.default.useName(n.guild_id,n.id,r);if(null!=r){var s=o?null:"#"+r.discriminator;return I(v.default,{text:I("div",{className:E.default.userTooltip},void 0,I(u.default,{user:r,animate:!0,size:u.Sizes.SIZE_16,className:E.default.avatar}),r.username,I("span",{className:E.default.discriminator},void 0,s)),hideOnClick:!0,"aria-label":r.tag},void 0,(function(e){return a.createElement(p.default,T({className:"mention"},e),null==l?"<@!"+t+">":"@"+l)}))}return I(p.default,{className:"mention"},void 0,null==l?"<@!"+t+">":"@"+l)}C.displayName="Emoji",b.displayName="CustomEmoji",M.displayName="TextMention",N.displayName="UserMention";var A=I("span",{},void 0,"@deleted-role");function P(e){var t=e.id,n=e.channel,r=(0,i.useStateFromStores)([d.default],(function(){var e=d.default.getGuild(n.guild_id);return null==e?null:e.roles[t]}));return null==r?A:I(p.default,{className:"mention",color:0===r.color?null:r.color},void 0,"@",r.name)}P.displayName="RoleMention";var R=I("span",{},void 0,"#deleted-channel")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(9)),i=y(n(8325)),l=n(389),u=y(n(8550)),s=n(250),d=n(8349),f=y(n(16)),c=n(5859),p=y(n(8629)),v=n(1);function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(){return(h=Object.assign||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}).apply(this,arguments)}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var S=/(\t|\s)/,O=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={nextSelection:-1},t.focus=function(){var e=E(t)._ref;null!=e&&e.focus()},t.handleSetRef=function(e){t._ref=e},t.handleKeyPress=function(e){switch(e.which){case v.KeyboardKeys.ENTER:if(!e.shiftKey&&!e.ctrlKey&&!t.hasOpenCodeBlock())return e.preventDefault(),t.props.onSubmit(t.props.value)}},t.handleKeyDown=function(e){switch(e.which){case v.KeyboardKeys.ARROW_DOWN:t.props.moveSelection(1)&&e.preventDefault();break;case v.KeyboardKeys.N:e.ctrlKey&&t.props.moveSelection(1)&&e.preventDefault();break;case v.KeyboardKeys.ARROW_UP:t.props.moveSelection(-1)&&e.preventDefault();break;case v.KeyboardKeys.P:e.ctrlKey&&t.props.moveSelection(-1)&&e.preventDefault();break;case v.KeyboardKeys.TAB:case v.KeyboardKeys.ENTER:t.handleTabOrEnterDown(e)}var n=t.props.onKeyDown;n&&n(e)},t.handleKeyUp=function(e){switch(e.which){case v.KeyboardKeys.ARROW_RIGHT:case v.KeyboardKeys.ARROW_LEFT:case v.KeyboardKeys.HOME:case v.KeyboardKeys.END:t.props.maybeShowAutocomplete()}var n=t.props.onKeyUp;n&&n(e)},t.handleGlobalPaste=function(e){var n=e.event;t.handlePaste(n)||t.focus()},t.handlePaste=function(e){if(null==e.clipboardData||null==e.clipboardData.items||0===e.clipboardData.items.length)return!1;for(var n=!1,r=0;r<e.clipboardData.items.length;r++)n=t.props.onPasteItem(e,e.clipboardData.items[r])||n;return n},t.handleClick=function(){t.props.maybeShowAutocomplete()},t.handleContextMenu=function(e){f.default.embedded&&(0,l.openContextMenu)(e,(function(e){return a.createElement(p.default,h({},e,{text:(0,c.getSelectionText)()}))}),{align:s.Align.BOTTOM})},t.handleOnChange=function(e){var n=t.props.onChange,r=e.currentTarget.value;n&&n(e,r,i.default.deserialize(r))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,g(t,n);var y=r.prototype;return y.componentDidMount=function(){var e=this;this.props.disableAutoFocus||(Promise.resolve().then((function(){var t=e.props.value;e._ref&&e._ref.setSelection(t.length,t.length)})),this.focus())},y.componentDidUpdate=function(e,t){this.state.nextSelection!==t.nextSelection&&null!=this._ref&&this._ref.setSelection(this.state.nextSelection,this.state.nextSelection)},y.getCurrentWord=function(){var e=this._ref;if(null==e)return{word:null,isAtStart:!1};var t=this.props,n=t.value,r=t.useNewSlashCommands;if(0===n.trim().length)return{word:null,isAtStart:!1};if(!r&&(n.startsWith("/giphy ")||n.startsWith("/tenor ")))return{word:n,isAtStart:!0};for(var a=e.selectionStart,o=e.selectionEnd;a>0;){if(S.test(n[a-1]))break;a--}return{word:n.slice(a,o),isAtStart:0===a}},y.doesSelectionStartOnOrAfterLastWord=function(){return!1},y.blur=function(){var e=this._ref;null!=e&&e.blur()},y.insertAutocomplete=function(e,t,n){void 0===n&&(n=!0);var r=this.getCurrentWord().word;if(null==r)this.insertText(e,n);else{var a=this._ref;if(null==a)return;var o=a.value.slice(0,a.selectionStart-r.length),i=a.value.slice(a.selectionEnd);this._insertText(e,o,i,n)}},y.insertText=function(e,t){void 0===t&&(t=!0);var n=this._ref;if(null!=n){var r=n.value.slice(0,n.selectionStart),a=n.value.slice(n.selectionEnd);this._insertText(e,r,a,t)}},y._insertText=function(e,t,n,r){var a=this;if(null!=this._ref){r&&(e+=" ");var o=t+e+n,l=this.props.onChange;l&&l(null,o,i.default.deserialize(o));var u=t.length+e.length;this.setState({nextSelection:u},(function(){a.props.maybeShowAutocomplete()}))}},y.prependText=function(e,t){void 0===t&&(t=!0);var n=this._ref;null!=n&&this._insertText("",e,n.value,t)},y.hasOpenCodeBlock=function(){var e=this._ref;if(null==e)return!1;var t=this.props.value.slice(0,e.selectionStart).match(/```/g);return null!=t&&t.length>0&&t.length%2!=0},y.render=function(){var e=this.props,t=e.value,n=e.disabled,r=e.placeholder,i=e.onResize,l=e.className,s=e.submitting,f=e.textAreaPaddingClassName,c=e.spellcheckEnabled;return a.createElement(a.Fragment,null,_(d.ComponentAction,{event:v.ComponentActions.GLOBAL_CLIPBOARD_PASTE,handler:this.handleGlobalPaste}),a.createElement(u.default,{ref:this.handleSetRef,className:(0,o.default)(l,f),rows:1,fontWidthEstimate:6,placeholder:r,disabled:n||s,onChange:this.handleOnChange,onResize:i,onKeyPress:this.handleKeyPress,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onFocus:this.props.onFocus,onBlur:this.props.onBlur,onPaste:this.handlePaste,onClick:this.handleClick,onContextMenu:this.handleContextMenu,value:n?"":t,tabIndex:0,spellCheck:c}))},y.handleTabOrEnterDown=function(e){e.which===v.KeyboardKeys.TAB&&this.props.onTab()||e.which===v.KeyboardKeys.ENTER&&this.props.onEnter(e)?(e.preventDefault(),e.stopPropagation()):e.which===v.KeyboardKeys.TAB&&this.hasOpenCodeBlock()&&(e.preventDefault(),e.stopPropagation(),this.insertText("\t",!1))},y.insertEmoji=function(e,t){this.insertText(":"+e.name+":",t)},y.getFirstText=function(){return this.props.value},r}(a.PureComponent);O.displayName="PlainTextArea";var I=O;t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=F(n(0)),o=U(n(9)),i=U(n(23)),l=n(8315),u=n(10582),s=n(389),d=F(n(8311)),f=U(n(8280)),c=n(8260),p=n(250),v=U(n(13)),y=n(8349),m=n(121),_=U(n(16)),h=U(n(9484)),E=U(n(9485)),g=U(n(9486)),S=U(n(9489)),O=U(n(9490)),I=U(n(9491)),T=F(n(8396)),C=F(n(8878)),b=F(n(8350)),M=n(8879),N=F(n(8880)),A=U(n(9492)),P=n(8882),R=U(n(8439)),L=U(n(9493)),D=n(8326),w=n(1),j=U(n(7535)),k=U(n(7342));function U(e){return e&&e.__esModule?e:{default:e}}function G(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return G=function(){return e},e}function F(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=G();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function B(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function H(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function V(){return(V=Object.assign||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}).apply(this,arguments)}function W(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y(e,t){return(Y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var z=window.ResizeObserver,K=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).lastEditorHeight=null,n.containerRef=a.createRef(),n.editorRef=null,n.resizeObserver=null,n.hasExternalUpdate=!1,n.setValue=function(e){var t=n.props.onChange;t&&t(null,R.default.serialize(e.document,"raw"),e)},n.setRef=function(e){n.editorRef=e},n.updateResizeObserver=function(e){null!=z&&(null==n.resizeObserver&&(n.resizeObserver=new z((function(){var e=W(n).editorRef;if(null!=e){var t=e.el.offsetHeight;if(n.lastEditorHeight!==t){null!=n.containerRef.current&&(n.containerRef.current.style.height=t+"px"),n.lastEditorHeight=t;var r=n.props.onResize;r&&r(t)}}}))),n.resizeObserver.disconnect(),null!=e&&(n.lastEditorHeight=e.offsetHeight,n.resizeObserver.observe(e)))},n.handleChange=function(e){var t=e.value;n.setValue(t)},n.handleCompositionStart=function(e,t,r){n.isSlateEmpty(t.value)&&n.forceUpdate(),r()},n.handleFocus=function(e,t,r){var a=n.props.onFocus;return a&&a(e),r()},n.handleBlur=function(e,t,r){var a=n.props.onBlur;return a&&a(e),r()},n.handleKeyDown=function(e,t,r){var a="MacIntel"===navigator.platform,o=a?e.metaKey:e.ctrlKey,i=!0;switch(e.which){case w.KeyboardKeys.ARROW_DOWN:n.props.moveSelection(1)&&e.preventDefault();break;case w.KeyboardKeys.N:e.ctrlKey&&n.props.moveSelection(1)&&e.preventDefault();break;case w.KeyboardKeys.ARROW_UP:n.props.moveSelection(-1)&&e.preventDefault();break;case w.KeyboardKeys.P:e.ctrlKey&&n.props.moveSelection(-1)&&e.preventDefault();break;case w.KeyboardKeys.TAB:case w.KeyboardKeys.ENTER:i=!n.handleTabOrEnterDown(e);break;case w.KeyboardKeys.A:e.ctrlKey&&a&&n.withEditor((function(e){var t=n.getSelectedLine(e),r=null==t?null:t.getFirstText();if(null!=r){var a={key:r.key,offset:0};e.select(l.Range.create({anchor:a,focus:a}))}}));break;case w.KeyboardKeys.E:e.ctrlKey&&a&&n.withEditor((function(e){var t=n.getSelectedLine(e),r=null==t?null:t.getLastText();if(null!=r){var a={key:r.key,offset:r.text.length};e.select(l.Range.create({anchor:a,focus:a}))}}));break;case w.KeyboardKeys.B:!o||e.shiftKey||e.altKey||n.isSlateEmpty(n.props.value)||(n.toggleMarkdownStyle("bold"),e.stopPropagation());break;case w.KeyboardKeys.I:!o||e.shiftKey||e.altKey||n.isSlateEmpty(n.props.value)||(n.toggleMarkdownStyle("italics"),e.stopPropagation());break;case w.KeyboardKeys.U:!o||e.shiftKey||e.altKey||n.isSlateEmpty(n.props.value)||(n.toggleMarkdownStyle("underline"),e.stopPropagation());break;case w.KeyboardKeys.S:o&&!e.shiftKey&&e.altKey&&!n.isSlateEmpty(n.props.value)&&(n.toggleMarkdownStyle("strikethrough"),e.stopPropagation())}var u=n.props.onKeyDown;return u&&u(e),i?r():void 0},n.handleCommandStoreChange=function(){n.props.canUseCommands&&n.withEditor((function(e){e.run("onChange")}))},n.handleKeyUp=function(e,t,r){var a=n.props.onKeyUp;return a&&a(e),r()},n.handleGlobalPaste=function(e){var t=e.event;n.withEditor((function(e){e.run("onPaste",t),n.focus()}))},n.handlePaste=function(e,t,r){if(!0!==e.defaultPrevented){if(null==e.clipboardData||null==e.clipboardData.items||0===e.clipboardData.items.length)return r();for(var a=!1,o=0;o<e.clipboardData.items.length;o++)a=n.props.onPasteItem(e,e.clipboardData.items[o])||a;return a?void 0:r()}},n.handleClick=function(e,t,r){return n.props.maybeShowAutocomplete(),r()},n.handleContextMenu=function(e){_.default.embedded?(0,s.openContextMenu)(e,(function(e){return a.createElement(h.default,V({},e,{editor:W(n)}))}),{align:p.Align.BOTTOM}):null!=n.editorRef&&n.isSlateEmpty(n.editorRef.value)&&n.blur()},n.resolveCommandOption=function(e,t){return n.props.canUseCommands?(0,E.default)(e,t):null},n.getCommandState=function(){var e=n.props;return{canUseCommands:!0===e.canUseCommands,canOnlyUseTextCommands:!0===e.canOnlyUseTextCommands}},n.plugins=n.createPlugins(),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,Y(t,n);var U=r.prototype;return U.isSlateEmpty=function(e){var t=e.document,n=t.nodes.size>0?t.nodes.get(0):null;return null!==n&&"block"===n.object&&"line"===n.type&&1===n.nodes.size&&(n=n.nodes.get(0)),"document"===t.object&&""===t.text&&t.nodes.size<=1&&null!=n&&("text"===n.object||"blockQuote"!==n.type)},U.withEditor=function(e){var t=this.editorRef;return t&&e(t)},U.focus=function(){this.withEditor((function(e){return e.focus()}))},U.blur=function(){this.withEditor((function(e){return e.blur()}))},U.insertText=function(e,t){var n=this;void 0===t&&(t=!0),this.withEditor((function(r){r.ensureSelection();var a=n.props,o=a.preprocessInsertedText,i=a.canUseCommands;if(e=(0,D.areStylesDisabledInEditor)(r)?e:o(e),(0,D.insertText)(r,e+(t?" ":""),"line"),null!=(i?f.default.getActiveCommand():null)){var l=b.getOptionContents(r.value.document);C.validateAllOptionContents(l)}}))},U.prependText=function(e,t){var n=this;void 0===t&&(t=!0),this.withEditor((function(r){r.ensureSelection();var a=n.props,o=a.preprocessInsertedText,i=a.canUseCommands;if(e=(0,D.areStylesDisabledInEditor)(r)?e:o(e),(0,D.prependText)(r,e+(t?" ":"")),null!=(i?f.default.getActiveCommand():null)){var l=b.getOptionContents(r.value.document);C.validateAllOptionContents(l)}}))},U.getCurrentWord=function(){var e=this.editorRef;if(null==e)return{word:null,isAtStart:!1};var t=e.value,n=t.selection,r=t.document;if(!n.isCollapsed)return{word:null,isAtStart:!1};if(this.hasOpenPlainTextCodeBlock())return{word:null,isAtStart:!1};var a=r.text;if(0===a.trim().length)return{word:null,isAtStart:!1};if(!this.props.useNewSlashCommands&&(a.startsWith("/giphy ")||a.startsWith("/tenor "))){var o=r.getNode(n.start.key);if(null!=o)return{word:o.text.substring(0,n.start.offset),isAtStart:!0}}var l=r.getNode(n.start.key);if(null==l)return{word:null,isAtStart:!1};var u="",s=!1,d=n.start.offset,f=r.getClosestBlock(l.key);for((0,i.default)(null!=f,"selected line should not be null at this point");;){if(--d<0){if(null==(l=f.getPreviousNode(l.key))){s=!0;break}if("text"!==l.object)break;d=l.text.length-1}if("text"!==l.object)break;var c=l.text[d];if(M.WHITESPACE_RE.test(c))break;u=c+u}return{word:""===u?null:u,isAtStart:s&&"line"===f.type&&r.nodes.get(0)===f}},U.getSelectedText=function(){var e=this.editorRef;if(null==e)return"";for(var t,n=e.value,r=n.document,a=n.selection,o="",i=H(r.getTextsAtRange(a));!(t=i()).done;){var l=t.value,u=l.key===a.start.key?a.start.offset:0,s=l.key===a.end.key?a.end.offset:0;o+=l.text.substring(u,s)}return o},U.doesSelectionStartOnOrAfterLastWord=function(){var e=this.editorRef;if(null==e)return!1;var t=e.value,n=t.document,r=t.selection,a=n.getNode(r.start.key);if(null==a||"text"!==a.object)return!1;if(this.hasOpenPlainTextCodeBlock())return!1;var o=n.getClosestBlock(a.key);return(0,i.default)(null!=o,"selected line should not be null at this point"),null==n.getNextBlock(o.key)&&(null==o.getNextNode(a.key)&&!M.WHITESPACE_RE.test(a.text.slice(r.start.offset).replace(/(\s|\t)+$/,"")))},U.toggleMarkdownStyle=function(e){this.withEditor((function(t){(0,P.toggleMarkdownStyle)(t,e)}))},U.setSelectionLineType=function(e){this.withEditor((function(t){var n=t.value,r=n.document,a=n.selection,o=(0,D.pointToLineChar)(r,a.start),i=(0,D.pointToLineChar)(r,a.end);if(null!=o&&null!=i)for(var l=o.line;l<=i.line;l++)t.setNodeByKey(r.nodes.get(l).key,e)}))},U.insertAutocomplete=function(e,t,n){var r=this;void 0===n&&(n=!0),this.withEditor((function(a){var o,i,l=r.props,u=l.preprocessInsertedText,s=l.canUseCommands;a.ensureSelection();var d=s?f.default.getActiveCommand():null,p=s?f.default.getActiveOption():null;if((null==d?void 0:d.type)===c.ApplicationCommandType.BUILT_IN_INTEGRATION)C.clear(a);else if(null!=p&&(p.type!==c.ApplicationCommandOptionType.STRING||(null!==(o=null===(i=p.choices)||void 0===i?void 0:i.length)&&void 0!==o?o:0)>0))C.removeCurrentOptionValues(a);else{var v=r.getCurrentWord().word;null!=v&&a.deleteBackward(v.length)}var y=null!=(null==p?void 0:p.choices)||(0,D.areStylesDisabledInEditor)(a)?e:u(t);(0,D.insertText)(a,n?y+" ":y,"line")}))},U.insertEmoji=function(e,t){var n=this;this.withEditor((function(r){var a=e.animated?"a":"",o=e.originalName||e.name||"",i=null==e.id||(0,D.areStylesDisabledInEditor)(r)?":"+e.name+":":"<"+a+":"+o.replace(/:/g,"")+":"+e.id+">";n.insertText(i,t)}))},U.insertCommandOption=function(e){this.props.canUseCommands&&this.withEditor((function(t){return C.insertCommandOption(t,e)}))},U.insertNextCommandOption=function(e){this.props.canUseCommands&&this.withEditor((function(t){return C.insertNextCommandOption(t,e)}))},U.selectCommandOption=function(e){this.props.canUseCommands&&this.withEditor((function(t){return C.selectCommandOption(t,e)}))},U.completeCurrentCommandOption=function(){var e=this;this.props.canUseCommands&&this.withEditor((function(t){for(;(0,N.runOnce)(t,e.props.guildId,e.props.resolvePlaintextMention,E.default););C.completeCurrentCommandOption(t)}))},U.getFirstText=function(){var e;return null!==(e=this.withEditor((function(e){var t;return null===(t=e.value.document.getFirstText())||void 0===t?void 0:t.text})))&&void 0!==e?e:null},U.getCurrentCommandOption=function(){var e;return this.props.canUseCommands&&null!==(e=this.withEditor((function(e){var t=e.value,n=t.document,r=t.selection,a=b.getPreviousOptionNode(n,r.start.path);return null==a||b.hasValueNodes(a)?null:a.data.get("name")})))&&void 0!==e?e:null},U.getCurrentCommandOptionValue=function(){var e;return this.props.canUseCommands&&null!==(e=this.withEditor((function(e){var t=e.value,n=t.document,r=t.selection,a=b.getPreviousOptionNode(n,r.start.path);if(null===a||b.hasValueNodes(a))return[];var o=b.getNextOptionNode(n,r.start.path),l=n.getClosestBlock(a.key);return(0,i.default)(null!=l,"Failed to find parent block when getting current option value"),b.getContentBetweenNodes({parent:l,startNode:a,endNode:o})})))&&void 0!==e?e:[]},U.componentDidMount=function(){var e=this;this.withEditor((function(t){if(e.props.disableAutoFocus)t.run("onChange");else{t.focus();var n=t.value.document.getLastText();if(null!=n){var r={key:n.key,offset:n.text.length};t.select(l.Range.create({anchor:r,focus:r}))}}})),this.props.canUseCommands&&f.default.addChangeListener(this.handleCommandStoreChange)},U.componentWillUnmount=function(){null!=this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),f.default.removeChangeListener(this.handleCommandStoreChange)},U.componentDidUpdate=function(){var e=this;this.withEditor((function(t){e.hasExternalUpdate&&(e.hasExternalUpdate=!1,t.run("onChange"))}))},U.render=function(){var e,t=this.props,n=t.className,r=t.disabled,i=t.submitting,l=t.placeholder,s=t.value,d=t.textAreaPaddingClassName,f=t.spellcheckEnabled,c=this.isSlateEmpty(s),p=(null==this.editorRef||null==this.editorRef.isComposing||!this.editorRef.isComposing())&&c,v=null==this.lastEditorHeight||c?void 0:{height:this.lastEditorHeight};return(null===(e=this.editorRef)||void 0===e?void 0:e.value)!==s&&(this.hasExternalUpdate=!0),a.createElement(a.Fragment,null,B(y.ComponentAction,{event:w.ComponentActions.GLOBAL_CLIPBOARD_PASTE,handler:this.handleGlobalPaste}),a.createElement("div",{className:(0,o.default)(n,j.default.slateContainer),style:v,ref:this.containerRef},p&&null!=l?B("div",{className:(0,o.default)(j.default.placeholder,d),"aria-hidden":!0},void 0,l):null,a.createElement(u.Editor,{value:s,plugins:this.plugins,ref:this.setRef,domRef:this.updateResizeObserver,className:(0,o.default)(k.default.markup,j.default.slateTextArea,d),onChange:this.handleChange,readOnly:r||i,placeholder:null,onFocus:this.handleFocus,onCompositionStart:this.handleCompositionStart,onContextMenu:this.handleContextMenu,onBlur:this.handleBlur,onClick:this.handleClick,onPaste:this.handlePaste,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,autoCorrect:!1,spellCheck:f,"aria-label":l,"aria-multiline":!0,"data-can-focus":!r})))},U.getSelectedLine=function(e){var t=e.value,n=t.document,r=t.selection;return r.isCollapsed?n.getClosestBlock(r.start.key):null},U.handleTabOrEnterDown=function(e){if(e.which===w.KeyboardKeys.TAB&&this.props.onTab())return e.preventDefault(),e.stopPropagation(),!0;if(e.which===w.KeyboardKeys.ENTER&&this.props.onEnter(e))return e.preventDefault(),e.stopPropagation(),!0;if(e.which===w.KeyboardKeys.TAB)this.hasOpenPlainTextCodeBlock()&&(e.preventDefault(),e.stopPropagation(),this.insertText("  ",!1));else if(e.which===w.KeyboardKeys.ENTER&&!e.ctrlKey&&!e.shiftKey&&!this.hasOpenPlainTextCodeBlock()){var t;e.preventDefault(),e.stopPropagation();var n=null!==(t=f.default.getActiveCommand())&&void 0!==t?t:null,r=null;if(null!==n){var a=this.withEditor((function(e){var t=e.value.document;if(r=b.getOptionContents(t),null!=n.options){var a,o=C.validateAllOptionContents(r),i=n.options.find((function(e){return!o[e.name].success}));if(null!=i)return C.selectCommandOption(e,i.name),m.ComponentDispatch.dispatch(w.ComponentActions.SHAKE_APP,{duration:200,intensity:2}),v.default.track(w.AnalyticEvents.APPLICATION_COMMAND_VALIDATION_FAILED,{application_id:null==n?void 0:n.applicationId,command_id:null==n?void 0:n.rootId,argument_type:c.ApplicationCommandOptionType[null!==(a=null==i?void 0:i.type)&&void 0!==a?a:3],is_required:null==i?void 0:i.required}),!0}}));if(a)return a;d.setActiveCommand(null)}return this.props.onSubmit(R.default.serialize(this.props.value.document,"raw"),n,r),!0}},U.hasOpenPlainTextCodeBlock=function(){var e=this.editorRef;return null!=e&&(0,T.isPointInCodeBlock)(e,e.value.selection.start)},U.createPlugins=function(){var e=this.props,t=e.renderers,n=e.channelId,r=e.guildId,a=e.preprocessInsertedText,o=e.resolvePlaintextMention;return[(0,T.default)(),(0,O.default)(),(0,S.default)(),(0,N.default)(t,r,o,this.resolveCommandOption),(0,g.default)(n,r,this.getCommandState,o,this.resolveCommandOption),(0,A.default)(r),(0,I.default)(a),(0,L.default)(this.setValue)]},r}(a.PureComponent);t.default=K,K.displayName="SlateChannelTextArea"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var r,a=v(n(0)),o=n(389),i=v(n(8253)),l=c(n(8630)),u=c(n(8631)),s=c(n(16)),d=c(n(43)),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t=e.editor,n=e.onHeightUpdate,r=e.target,c=e.onSelect,p=t.getSelectedText(),v=a.useCallback((function(){(0,o.closeContextMenu)(),t.focus()}),[t]),m=(0,u.default)({text:p,target:r,onHeightUpdate:n}),_=m[0],h=m[1],E=(0,l.default)();if(!s.default.embedded)return null;var g=""!==p?[y(i.MenuItem,{id:"copy",label:f.default.Messages.COPY,hint:s.default.isOSX()?"⌘C":"Ctrl+C",action:function(){return d.default.copy()}}),y(i.MenuItem,{id:"cut",label:f.default.Messages.CUT,hint:s.default.isOSX()?"⌘X":"Ctrl+X",action:function(){return d.default.cut()}})]:null;return y(i.default,{navId:"textarea-context",onClose:v,"aria-label":f.default.Messages.TEXTAREA_ACTIONS_MENU_LABEL,onSelect:c},void 0,y(i.MenuGroup,{},void 0,E),y(i.MenuGroup,{},void 0,_),y(i.MenuGroup,{},void 0,h),y(i.MenuGroup,{},void 0,g,y(i.MenuItem,{id:"paste",label:f.default.Messages.PASTE,hint:s.default.isOSX()?"⌘V":"Ctrl+V",action:function(){return d.default.paste()}})))}m.displayName="SlateTextAreaContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r=a.default.getActiveCommand();if(null==r)return null;var i=l.exec(e);if(null==i)return null;var u=i[1];if(null==(null===(n=r.options)||void 0===n?void 0:n.find((function(e){return e.name===u}))))return null;var s=t.value.document;if(!o.getOptionNames(s).has(u))return{type:"commandOption",data:{name:u}};return null};var r,a=(r=n(8280))&&r.__esModule?r:{default:r},o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(8350));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}var l=/((?:[\x2D0-9A-Z_a-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])+):/},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,a){return{renderBlock:U,renderInline:G,onChange:O.catchAndLogExceptions((function(o,i){if(!v.default.isInExperiment())return i();var u=n();return u.canUseCommands?function(e,t,n,r,a,o,i){var u,s=o.value.document,d=v.default.getActiveCommand();if(!s.data.has("commandId")){if(!o.readOnly){var p=s.data.toObject();p.commandId=null,p.commandName=null,o.setNodeByKey(s.key,{data:p})}return null!=d&&c.setActiveCommand(null),i()}if((null!==(u=null==d?void 0:d.id)&&void 0!==u?u:null)!==s.data.get("commandId",null))return function(e,t,n,r,a){var o,i;null!=t&&E.replaceCommandName(e,t);var l=e.value.document,u=l.data.toObject();u.commandId=null!==(o=null==t?void 0:t.id)&&void 0!==o?o:null,u.commandName=null!==(i=null==t?void 0:t.name)&&void 0!==i?i:null,e.setNodeByKey(l.key,{data:u}),(0,S.stripAllBlocks)(e);for(;(0,S.runOnce)(e,n,r,a););if(null!=t){var s;if(0===g.getOptionNames(l).size){var d,c=1===(null===(d=t.options)||void 0===d?void 0:d.length)&&e.value.document.text.length>t.name.length+2;E.insertNextCommandOption(e,c,c)}else E.completeAllCommandOptions(e);(0,f.trackWithMetadata)(I.AnalyticEvents.APPLICATION_COMMAND_SELECTED,{command_id:null!==(s=t.rootId)&&void 0!==s?s:t.id,application_id:t.applicationId})}}(o,d,t,r,a),null!=d&&F(o,d),i();var y=function(e,t,n,r,a){var o,i=n.value.document,u=null===(o=i.getFirstText())||void 0===o?void 0:o.text;if((0,l.default)(null!=u,"Failed to find first text in document"),null!=r){var s=""+_.COMMAND_SENTINEL+r.name;if(!u.startsWith(s))return null;if(u.length===s.length){if(null==g.findMatchingCommand(u,e,t,!0,a))return null}else if(" "!==u[s.length])return null}else if(u.startsWith(_.COMMAND_SENTINEL)){var d=g.findMatchingCommand(u,e,t,!0,a);if(null!=d)return d}return r}(e,t,o,d,n);if((null==y?void 0:y.id)!==(null==d?void 0:d.id))return c.setActiveCommand(y),i();if(null!=d)return F(o,d),i();return i()}(e,t,u.canOnlyUseTextCommands,r,a,o,i):i()})),onKeyDown:O.catchAndLogExceptions((function(e,t,r){return v.default.isInExperiment()&&n().canUseCommands?function(e,t,n){var r=!1;switch(e.which){case I.KeyboardKeys.BACKSPACE:r=function(e){var t=e.value.selection;if(!t.isCollapsed||0!==t.anchor.offset)return!1;return E.unwrapPreviousCommandOption(e)}(t);break;case I.KeyboardKeys.TAB:r=function(e){var t,n=e.value.document,r=null===(t=n.getFirstText())||void 0===t?void 0:t.text;if(null==r||!r.startsWith("/"))return!1;var a=r.substring(1),o=null!=n.data.get("commandId");if(!o&&!p.default.hasResults(a,s.ApplicationCommandTarget.CHAT))return!0;if(!o)return!1;E.completeCurrentCommandOption(e)||E.insertNextCommandOption(e,!0);return!0}(t);break;case I.KeyboardKeys.ENTER:r=function(e,t){if(null==t.value.document.data.get("commandId"))return!1;return e.shiftKey}(e,t)}if(r)return e.preventDefault(),e.stopPropagation(),!0;return n()}(e,t,r):r()}))}};var r,a,o=M(n(0)),i=C(n(9)),l=C(n(23)),u=n(3),s=n(286),d=C(n(1166)),f=n(106),c=M(n(8311)),p=C(n(8469)),v=C(n(8280)),y=n(8260),m=n(8877),_=n(8278),h=C(n(9488)),E=M(n(8878)),g=M(n(8350)),S=n(8880),O=M(n(8326)),I=n(1),T=C(n(7534));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function N(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return A(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function P(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function R(){return(R=Object.assign||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}).apply(this,arguments)}var L=new Set(["line"]),D=((r={})[I.ThemeTypes.DARK]={buttonFill:"#4F545C",buttonSideFill:"#36393F"},r[I.ThemeTypes.LIGHT]={buttonFill:"#747F8D",buttonSideFill:"#4F5660"},r);function w(){var e=(0,d.default)(),t=D[e];return o.createElement(h.default,R({className:T.default.tabButton},t))}w.displayName="TabButtonWriteahead";var j=o.forwardRef((function(e,t){var n,r,a=e.editor,l=e.optionName,s=e.isComplete,d=e.children,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["editor","optionName","isComplete","children"]),c=(0,u.useStateFromStores)([v.default],(function(){return v.default.getOptionState(l)}),[l]),p=o.useCallback((function(){var e=a.value.document,t=g.getOptionNode(e,l);null!=t&&g.unwrapOptionValueNodes(a,t,!0)}),[a,l]);return o.createElement("span",R({ref:t},f,{contentEditable:!1}),"​",P("span",{className:(0,i.default)(T.default.pill,(r={},r[T.default.completePill]=s,r[T.default.erroredPill]=!1===(null==c||null===(n=c.lastValidationResult)||void 0===n?void 0:n.success),r)),onClick:p},void 0,P("span",{className:T.default.optionKey},void 0,l,":"),s&&null!==d?P("span",{className:T.default.optionValue},void 0,d):null)," ")}));var k=P(w,{});function U(e,t,n){var r=e.attributes,a=e.children,i=e.node,l=t.value,u=l.document,s=l.selection,d=v.default.getActiveCommand();if(!L.has(i.type)||null==d||u.data.get("commandId",null)!==d.id)return n();var f=null;if(null!=d.options){var c=g.getPreviousOptionNode(u,s.start.path),p=g.getOptionNames(u),y=d.options.length>p.size,m=!1;if(null!=c&&!g.hasValueNodes(c)){var _=u.getClosestBlock(c.key);if(null!=_){var h=g.getNextOptionNode(u,s.start.path);m=0===g.getContentBetweenNodes({parent:_,startNode:c,endNode:h}).length}}s.isFocused&&y&&!m&&(f=k)}return o.createElement("div",R({},r,{className:T.default.commandBlock}),a,f)}function G(e,t,n){var r=e.attributes,a=e.children,i=e.node;if(!g.isOptionNode(i))return n();var l=i.data.get("name"),u=g.hasValueNodes(i);return o.createElement(j,R({editor:t,optionName:l,isComplete:u},r),a)}function F(e,t){var n,r,a=null===(n=e.value.document.getFirstText())||void 0===n?void 0:n.text;(0,l.default)(null!=a,"Failed to find first text in document"),null!=t.options&&1===t.options.length&&!0!==t.options[0].required&&a.length===t.name.length+3&&a.startsWith(""+_.COMMAND_SENTINEL+t.name+" ")&&0===Object.values(v.default.getOptionStates()).filter((function(e){return e.hasValue})).length&&E.insertNextCommandOption(e,!0,!0);var o=e.value,i=o.document,u=o.selection,s=v.default.getActiveOptionName(),d=u.isFocused?g.getPreviousOptionNode(i,u.start.path):null,f=null==d||g.hasValueNodes(d)?null:null!==(r=d.data.get("name"))&&void 0!==r?r:null;if(s!==f){for(var p,h=g.getOptionNames(i),S={},I=N(null!==(T=t.options)&&void 0!==T?T:[]);!(p=I()).done;){var T,C=p.value;S[C.name]={hasValue:h.has(C.name),isActive:C.name===f}}if(null!=s){var b=g.getOptionNode(i,s);if(null!=b&&!g.hasValueNodes(b)){var M=g.getOptionContent(i,s);null!=M&&(M.length>0&&t.type!==y.ApplicationCommandType.BUILT_IN_INTEGRATION&&O.restoringExactSelection(e,(function(){g.wrapOptionValueNodes(e,b)})),S[s].lastValidationResult=(0,m.validateOptionNameContent)(s,M))}}c.updateOptionStates(S)}}U.displayName="renderBlock",G.displayName="renderInline"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=n(8290),o=n(8260),i=n(8279),l=((r={})[o.ApplicationCommandOptionType.SUB_COMMAND]=function(){return{success:!1}},r[o.ApplicationCommandOptionType.SUB_COMMAND_GROUP]=function(){return{success:!1}},r[o.ApplicationCommandOptionType.STRING]=function(e,t){return null==t.choices||"text"===e.type&&t.choices.map((function(e){return e.name})).includes(e.text)?{success:!0}:{success:!1}},r[o.ApplicationCommandOptionType.BOOLEAN]=function(e){if("text"!==e.type)return{success:!1};var t=e.text.trim();return{success:a.BOOLEAN_CHOICES.map((function(e){return e.name.toLowerCase()})).includes(t.toLowerCase())}},r[o.ApplicationCommandOptionType.INTEGER]=function(e,t){if("text"!==e.type)return{success:!1};var n=e.text.trim();if(0===n.length)return{success:!1};if(null!=t.choices)return t.choices.map((function(e){return e.name})).includes(n)?{success:!0}:{success:!1};var r=Number(n);return isNaN(r)||!Number.isInteger(r)||r>Number.MAX_SAFE_INTEGER||r<Number.MIN_SAFE_INTEGER?{success:!1}:{success:!0}},r[o.ApplicationCommandOptionType.USER]=function(e){return"text"===e.type?{success:(0,i.isSnowflake)(e.text)}:{success:"userMention"===e.type}},r[o.ApplicationCommandOptionType.CHANNEL]=function(e){return"text"===e.type?{success:(0,i.isSnowflake)(e.text)}:{success:"channelMention"===e.type}},r[o.ApplicationCommandOptionType.ROLE]=function(e){return"text"===e.type?{success:(0,i.isSnowflake)(e.text)}:{success:u(e)}},r[o.ApplicationCommandOptionType.MENTIONABLE]=function(e){return"text"===e.type?{success:(0,i.isSnowflake)(e.text)}:{success:"userMention"===e.type||u(e)}},r),u=function(e){return"roleMention"===e.type||"textMention"===e.type&&"@everyone"===e.text},s=l;t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function i(e){var t=e.width,n=void 0===t?30:t,r=e.height,a=void 0===r?20:r,i=e.color,l=void 0===i?"currentColor":i,u=e.buttonFill,s=e.buttonSideFill,d=e.foreground,f=e.background;return o("svg",{width:n,height:a,className:e.className,viewBox:"0 0 30 20",fill:"none"},void 0,o("path",{className:f,d:"M0 12h30v4a4 4 0 01-4 4H4a4 4 0 01-4-4v-4z",fill:s}),o("rect",{className:f,width:"30",height:"16",rx:"4",fill:u}),o("path",{className:d,d:"M11.1 5.5L11 3.7H4.3v1.8h2.3V12h2.1V5.5h2.4zm5.4 6.6l2.1-.4-2.9-8h-2.2l-3 8.3h2l.6-1.7h2.8l.6 1.8zm-2-6.3l1 2.9h-2l1-2.9zm11 3.8c0-1.1-.6-1.7-1.5-2 .6-.3 1.2-.8 1.2-1.7 0-1.4-1-2.2-2.8-2.2h-2.9V12h2.8c2 0 3.2-.8 3.2-2.4zm-2.2-3.5c0 .6-.4 1-1.1 1h-.7V5.2h.7c.8 0 1.1.3 1.1.9zm.2 3.4c0 .7-.4 1-1.3 1h-.7V8.4h.7c.9 0 1.3.4 1.3 1z",fill:l}))}i.displayName="TabButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{renderBlock:c}};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),i=u(n(7369)),l=u(n(7342));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t,n){var r=e.attributes,u=e.children,s=e.node,c=null==s.data.get("lineType")?null:JSON.parse(s.data.get("lineType")),p=null!=c&&c.isInCodeBlock,v="blockQuote"===s.type;if(!p&&!v)return n();var y=(0,o.default)(null==c?void 0:c.lang,i.default.codeLine),m=(0,o.default)(l.default.blockquoteContainer,l.default.slateBlockquoteContainer),_=p?f("span",{className:y,spellCheck:null==c||null==c.lang},void 0,u):u;return v?a.createElement("div",d({},r,{className:m}),f("div",{contentEditable:!1,className:l.default.blockquoteDivider}),f("blockquote",{},void 0,_)):a.createElement("div",r,_)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{onChange:l.catchAndLogExceptions(p),onKeyDown:l.catchAndLogExceptions(y),onKeyUp:l.catchAndLogExceptions(m)}};var r,a=(r=n(23))&&r.__esModule?r:{default:r},o=n(8315),i=n(8396),l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(8326)),u=n(1);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=new Set(["paragraph","line"]);function p(e,t){if(e.value.document.text.indexOf(">")>=0)for(var n,r=!1,o=d(e.value.document.nodes);!(n=o()).done;){var i=n.value;(0,a.default)("block"===i.object,"Slate: Invalid block type: "+i.object+" "+i.type),c.has(i.type)&&(r=v(e,i,r)||r)}return t()}function v(e,t,n){(0,a.default)("text"!==t.object,"Slate: block may not be a text node");var r=t.nodes.first();if(null==r)return!1;var l="text"===r.object?r.text.match(/^\s*>>> /):null,u="text"===r.object?r.text.match(/^\s*> /):null;if(null==u&&null==l&&!n)return!1;var s=Array.from(t.texts())[0],d=s[0],f=s[1];if(!n&&(0,i.isPointInCodeBlock)(e,{key:d.key,offset:0}))return!1;if(e.setNodeByKey(t.key,"blockQuote"),!n){var c=null==u?null==l?0:l[0].length:u[0].length;e.deleteAtRange(o.Range.create({anchor:{key:d.key,path:f,offset:0},focus:{key:d.key,path:f,offset:c}}))}return null!=l}function y(e,t,n){switch(e.which){case u.KeyboardKeys.BACKSPACE:if(function(e){var t=e.value,n=t.document,r=t.selection;if(!r.isCollapsed)return!1;var a=n.getClosestBlock(r.anchor.key);if(null==a||"blockQuote"!==a.type)return!1;var i=a.getFirstText();if(null!=i&&r.anchor.key===i.key&&0===r.anchor.offset){var u=n.nodes.indexOf(a),s=o.Block.create({type:"line",nodes:[o.Text.create({text:a.text})]});return l.restoringExactSelection(e,(function(){e.removeNodeByKey(a.key).insertNodeByKey(n.key,u,s)})),!0}return!1}(t))return void e.preventDefault()}return n()}function m(e,t,n){switch(e.which){case u.KeyboardKeys.ENTER:if(function(e){var t=e.value,n=t.selection,r=t.document;if(!n.isCollapsed)return!1;var a=r.getClosestBlock(n.anchor.key);if(null==a||"blockQuote"!==a.type)return!1;var o=r.getPreviousSibling(a.key);if(null==o||"text"===o.object||"blockQuote"!==o.type)return!1;var i=r.getPreviousSibling(o.key);if(null==i||"text"===i.object||"blockQuote"!==i.type)return!1;if(""===a.text.trim()&&""===o.text.trim()&&""===i.text.trim())return e.removeNodeByKey(i.key).removeNodeByKey(o.key).setBlocks("line"),!0;return!1}(t))return void e.preventDefault()}return n()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{onCopy:l,onCut:u,onPaste:function(t,n,r){return function(e,t,n,r){if(n.ensureSelection(),null==t.clipboardData)return r();if(null==t.clipboardData.types)return r();if(null==t.clipboardData.types.indexOf)return r();if(-1===t.clipboardData.types.indexOf("text/plain"))return r();var o=t.clipboardData.getData("text/plain");if(null==o||""===o)return r();var l=n.value,u=l.startBlock,s=l.selection;if(n.isVoid(u))return r();t.preventDefault();var d=(0,a.isPointInCodeBlock)(n,s.start)?o:e(o),f=(null==u?void 0:u.type)||"line";(0,i.insertText)(n,d,f)}(e,t,n,r)}}};var r,a=n(8396),o=(r=n(8439))&&r.__esModule?r:{default:r},i=n(8326);function l(e,t,n){if(!s(e,t))return n();e.preventDefault();var r=t.value,a=r.document,i=r.selection;if(null==e.clipboardData)return n();e.clipboardData.setData("text/plain",o.default.serializeSelection(a,i,"plain"))}function u(e,t,n){if(!s(e,t))return n();l(e,t,n),t.delete()}function s(e,t){return!t.value.selection.isCollapsed&&null!=e.clipboardData&&null!=e.clipboardData.setData}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{decorateNode:u.catchAndLogExceptions((function(t,n,r){return function(e,t,n,r){var a;if("block"!==t.object||!y.has(t.type))return r()||[];for(var o=!0===(null===(a=(0,l.getLineState)(t))||void 0===a?void 0:a.wasInCodeBlock),s=i.parse(t.text,e,o,!0),d=[],f=0;f<s.length;f++){var c=s[f],p=c.text,v=c.attributes,m=c.start;if(v.length>0){var _=s[f-1],h=s[f+1],E=v.join(":");if("syntaxBefore"===E&&null!=h){var g=h.attributes.map((function(e){return"before_"+e})).join(":");""!==g&&(E=E+":"+g)}if("syntaxAfter"===E&&null!=_){var S=_.attributes.map((function(e){return"after_"+e})).join(":");""!==S&&(E=E+":"+S)}d.push({type:"SlateMarkdown:"+E,anchor:u.findPointInBlockNode(t,m,!0),focus:u.findPointInBlockNode(t,m+p.length,!0)})}}return[].concat(r(),d)}(e,t,0,r)})),renderDecoration:_}};var r=p(n(0)),a=f(n(9)),o=f(n(23)),i=p(n(8881)),l=n(8396),u=p(n(8326)),s=f(n(7369)),d=f(n(7364));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(){return(v=Object.assign||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}).apply(this,arguments)}var y=new Set(["paragraph","line","blockQuote"]),m={strong:s.default.bold,em:s.default.italics,u:s.default.underline,s:s.default.strikethrough,inlineCode:s.default.inlineCode,link:s.default.fakeLink,url:s.default.fakeLink,autolink:s.default.fakeLink,spoiler:(0,a.default)(d.default.spoilerText,s.default.spoiler),syntaxBefore:s.default.syntaxBefore,syntaxAfter:s.default.syntaxAfter,codeBlockText:s.default.codeBlockText,codeBlockSyntax:s.default.codeBlockSyntax,codeBlockLang:s.default.codeBlockLang};function _(e,t,n){var i=e.children,l=e.decoration,u=e.attributes,d=e.text;if(""===d)return n();if(l.type.startsWith("SlateMarkdown:")){var f,c,p=l.type.split(":").slice(1).map((function(e){return"codeBlockLang"!==e&&"codeBlockSyntax"!==e||(c=!1),e.startsWith("before_")||e.startsWith("after_")?s.default[e]:((0,o.default)(e in m,"Slate: Invalid markdown decoration: "+e),m[e])})).join(" "),y=(0,a.default)(p,((f={})[s.default.syntaxOverride]="||"===d||"\\"===d,f));return r.createElement("span",v({},u,{className:y,spellCheck:c}),i)}return n()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={index:0,stack:[],lastKey:null};return{onConstruct:function(e,n){return function(e,t,n){null!=t.value&&(e.stack=[{type:"other",textLength:-1,mergeable:!1,createdAt:Date.now(),value:t.value}]);return n()}(t,e,n)},onChange:function(e,n){return a(t,e,n)},onKeyUp:function(e,n,o){e.which===r.KeyboardKeys.SPACE&&t.lastKey!==r.KeyboardKeys.SPACE&&a(t,n,o,!0),t.lastKey=e.which,o()},commands:{undo:function(){return function(e,t){var n=Math.max(0,e.index-1);e.index=n,t(e.stack[n].value)}(t,e)},redo:function(){return function(e,t){var n=Math.min(e.index+1,e.stack.length-1);e.index=n,t(e.stack[n].value)}(t,e)}}}};var r=n(1);function a(e,t,n,r){if(void 0===r&&(r=!1),null==t.value)return n();0===e.stack.length&&(e.index=0,e.stack=[{type:"other",textLength:-1,mergeable:!1,createdAt:Date.now(),value:t.value}]);var a,o,i=t.value,l=e.stack[e.index],u=l.textLength,s=i.document.text.length,d=s-u,f=1===d||0===d?"insert":-1===d?"delete":"other",c="other"!==f,p=Date.now();if(c&&(o=f,(a=l).mergeable&&a.type===o&&!(Date.now()-a.createdAt>=4e3))||i.document===l.value.document)return l.value=i,l.textLength=s,void(r&&(l.mergeable=!1));for(l.mergeable=!1,e.stack.length=e.index+1;e.stack.length>=250;)e.stack.shift();return e.index=e.stack.length,e.stack.push({type:f,textLength:s,mergeable:c,createdAt:p,value:i}),n()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){switch(e[0]){case"@":return function(e,t){var n=e.slice(1).split("#"),r=n[0],a=n[1];if(t.isPrivate())for(var o,l=s(t.recipients);!(o=l()).done;){var u=o.value;if(f(r,a,u))return{type:"mention",data:{id:u}}}else for(var d,c=s(i.default.getMembers(t.guild_id));!(d=c()).done;){var p=d.value.userId;if(f(r,a,p))return{type:"mention",data:{id:p}}}return null}(e,t);case":":return function(e,t){var n=r.default.EMOJI_NAME_RE.exec(e);if(null==n)return null;var o=n[1],i=a.default.getDisambiguatedEmojiContext(t.guild_id).getCustomEmoji();if(null!=i&&o in i){var l=i[o];return{type:"customEmoji",data:{data:{emojiId:l.id,name:l.require_colons?":"+l.name+":":l.name,animated:l.animated}}}}return null}(e,t);case"#":return function(e,t){if(t.isPrivate())return null;var n=e.slice(1),r=o.default.getTextChannelNameDisambiguations(t.guild_id);for(var a in r){if(r[a].name===n)return{type:"channel",data:{id:a}}}return null}(e,t)}return null};var r=u(n(185)),a=u(n(249)),o=u(n(86)),i=u(n(56)),l=u(n(12));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t,n){var r=l.default.getUser(n);return null!=r&&(r.username===e&&r.discriminator===t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(8312)),i=n(1218),l=n(8365),u=d(n(8564)),s=d(n(7344));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e,t){var n=e.disabled,r=e.type,d=(0,l.useExpressionPickerStore)((function(e){return[e.activeView,e.activeViewType]}),o.default),f=d[0],p=d[1],v=a.useCallback((function(){(0,l.toggleExpressionPicker)(i.ExpressionPickerViewType.EMOJI,r)}),[r]);return n?null:a.createElement("div",{className:s.default.buttonContainer,ref:t},c(u.default,{className:s.default.emojiButton,onClick:v,active:f===i.ExpressionPickerViewType.EMOJI&&p===r,tabIndex:0,focusProps:{offset:{top:4,bottom:4,left:-4,right:-4}}}))}p.displayName="ChannelEmojiPicker";var v=a.memo(a.forwardRef(p));t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=_(n(8312)),i=n(3),l=n(1218),u=n(8365),s=_(n(8438)),d=_(n(8633)),f=_(n(149)),c=_(n(8885)),p=n(8349),v=n(1),y=_(n(6)),m=_(n(7344));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(){return(E=Object.assign||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}).apply(this,arguments)}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(e,t){var n=e.disabled,r=e.type,_=a.useState(!1),h=_[0],S=_[1],O=(0,i.useStateFromStores)([s.default],(function(){return s.default.shouldShowTooltipOnFavorite()})),I=(0,u.useExpressionPickerStore)((function(e){return[e.activeView,e.activeViewType]}),o.default),T=I[0],C=I[1],b=a.useRef(0),M=a.useCallback((function(){S(!0),clearTimeout(b.current),b.current=setTimeout((function(){S(!1)}),1500)}),[]);a.useEffect((function(){return function(){clearTimeout(b.current)}})),(0,p.useComponentAction)({event:v.ComponentActions.FAVORITE_GIF,handler:M});var N=a.useCallback((function(){(0,u.toggleExpressionPicker)(l.ExpressionPickerViewType.GIF,r)}),[r]);return n?null:g(f.default,{text:h&&O?y.default.Messages.GIF_TOOLTIP_FAVORITED_PICKER_BUTTON:null,forceOpen:!0},void 0,(function(e){return a.createElement("div",E({ref:t,className:m.default.buttonContainer},e),g(d.default,{className:m.default.button,tabIndex:0,icon:c.default,onClick:N,isActive:T===l.ExpressionPickerViewType.GIF&&C===r,pulse:h,label:y.default.Messages.GIF_BUTTON_LABEL}))}))}S.displayName="ChannelGIFPickerButton";var O=a.memo(a.forwardRef(S));t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(5697),i=c(n(8633)),l=c(n(149)),u=c(n(5694)),s=n(1),d=c(n(6)),f=c(n(7344));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=v(u.default,{});function m(e){var t=e.disabled,n=e.channel;if(t)return null;var r=function(){return(0,o.openPremiumSubscriptionNewPlanModal)({planId:s.SubscriptionPlans.PREMIUM_MONTH_TIER_2,isGift:!0,analyticsLocation:{page:n.isPrivate()?s.AnalyticsPages.DM_CHANNEL:s.AnalyticsPages.GUILD_CHANNEL,section:s.AnalyticsSections.CHANNEL_TEXT_AREA,object:s.AnalyticsObjects.BUTTON_ICON,objectType:s.AnalyticsObjectTypes.GIFT}})};return v(l.default,{text:d.default.Messages.PREMIUM_GIFT_BUTTON_TOOLTIP},void 0,(function(e){var t=e.onMouseEnter,n=e.onMouseLeave,a=e.onFocus,o=e.onBlur;return v(i.default,{className:f.default.button,tabIndex:0,onClick:r,isActive:!1,label:d.default.Messages.PREMIUM_GIFT_BUTTON_LABEL,onMouseEnter:t,onMouseLeave:n,onFocus:a,onBlur:o},void 0,y)}))}m.displayName="ChannelPremiumGiftButton";var _=a.memo(m);t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=y(n(0)),o=p(n(9)),i=p(n(8622)),l=n(1218),u=n(8365),s=y(n(8633)),d=p(n(8627)),f=(p(n(9499)),p(n(6))),c=p(n(7344));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e,t){var n,r,p=e.disabled,v=e.type,y=(0,u.useExpressionPickerStore)((function(e){return e.activeView})),_=a.useContext(i.default),h=a.useState(!1),E=h[0],g=h[1],S=y===l.ExpressionPickerViewType.STICKER,O=a.useCallback((function(){(0,u.toggleExpressionPicker)(l.ExpressionPickerViewType.STICKER,v)}),[v]);if(a.useEffect((function(){var e=function(){requestAnimationFrame((function(){g(!0)}))},t=function(){requestAnimationFrame((function(){g(!1)}))};return _.addListener("sticker-suggestions-shown",e),_.addListener("sticker-suggestions-hidden",t),function(){_.removeListener("sticker-suggestions-shown",e),_.removeListener("sticker-suggestions-hidden",t)}}),[_]),p)return null;var I=E;return r=m(d.default,{className:c.default.stickerIcon,winking:I}),a.createElement("div",{className:c.default.buttonContainer,ref:t},m(s.default,{className:(0,o.default)(c.default.button,c.default.stickerButton,(n={},n[c.default.stickerButtonWithNotification]=!1,n[c.default.stickerButtonTilted]=I&&!S,n)),tabIndex:0,onClick:O,isActive:S,label:f.default.Messages.STICKER_BUTTON_LABEL,sparkle:!1,notification:null},void 0,r))}_.displayName="ChannelStickerPickerButton";var h=a.memo(a.forwardRef(_));t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({width:n,height:a},(0,i.default)(c),{viewBox:"0 0 20 20"}),s("path",{fill:d,className:f,fillRule:"evenodd",clipRule:"evenodd",d:"M10,5.42V.06H2a2,2,0,0,0-2,2V18a2,2,0,0,0,2,2H18a2,2,0,0,0,2-2V10H14.58A4.61,4.61,0,0,1,10,5.42Zm-6.64,9a1.11,1.11,0,1,1,1.12-1.11A1.11,1.11,0,0,1,3.33,14.44ZM10,15.55a3.33,3.33,0,0,1-3.33-3.33H8a2,2,0,0,0,4,0h1.33A3.33,3.33,0,0,1,10,15.55ZM12,5.4V.66A.65.65,0,0,1,13.12.2l6.69,6.68A.66.66,0,0,1,19.34,8H14.6A2.59,2.59,0,0,1,12,5.4Z"}))}d.displayName="Sticker"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=p(n(1276)),l=n(5940),u=p(n(5936)),s=p(n(61)),d=p(n(686)),f=p(n(8472)),c=p(n(7539));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=function(e){var t=e.channelId,n=a.useState(null),r=n[0],p=n[1],v=(0,o.useStateFromStores)([i.default],(function(){return i.default.getStickerPreview(t)}));return null==v||0===v.length?null:a.createElement(a.Fragment,null,y("div",{className:c.default.stickerPreviews},void 0,v.map((function(e){return y("div",{className:c.default.stickerPreviewContainer},e.id,y(s.default,{onFocus:function(){return p(e.id)},onBlur:function(){return p(null)},className:c.default.closeButton,onClick:function(){return(0,l.clearStickerPreview)(t)}},void 0,y("div",{className:c.default.closeIconContainer},void 0,y(d.default,{className:c.default.closeIcon}))),y(u.default,{isInteracting:r===e.id,className:c.default.stickerPreview,size:48,sticker:e}))}))),y(f.default,{className:c.default.stickerPreviewDivider}))};t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?8:t,r=e.height,a=void 0===r?13:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 8 13"}),s("path",{className:null!=f?f:void 0,stroke:d,fill:"transparent",d:"M8.16639 0.5H9C10.933 0.5 12.5 2.067 12.5 4V9C12.5 10.933 10.933 12.5 9 12.5H8.16639C7.23921 12.5 6.34992 12.1321 5.69373 11.4771L0.707739 6.5L5.69373 1.52292C6.34992 0.86789 7.23921 0.5 8.16639 0.5Z"}))}d.displayName="UnreadCap"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=n(3),l=f(n(8280)),u=f(n(9503)),s=f(n(9504)),d=f(n(7344));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=function(e){var t=e.channel,n=e.type,r=e.editorRef,f=e.activeCommand,c=e.pendingReply,v=(0,i.useStateFromStoresObject)([l.default],(function(){return{activeCommandOption:l.default.getActiveOption(),activeCommandOptionStates:l.default.getOptionStates()}})),y=v.activeCommandOption,m=v.activeCommandOptionStates,_=a.useCallback((function(e){var t=r.current;null!=t&&(m[e].hasValue?t.selectCommandOption(e):t.insertCommandOption(e))}),[m,r]),h=[];return null!=f&&h.push(p(u.default,{channel:t,activeCommand:f,activeOption:null!=y?y:null,optionStates:m,onOptionClick:_})),null!=c&&h.push(p(s.default,{reply:c,textAreaType:n})),0===(h=h.map((function(e,t){var n,r=t===h.length-1;return p("div",{className:(0,o.default)((n={},n[d.default.stackedAttachedBar]=!r,n))},t,e)}))).length?null:p("div",{className:d.default.attachedBars},void 0,h)};v.displayName="ChannelTextAreaBars";var y=a.memo(v);t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(9)),o=l(n(8842)),i=l(n(7540));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.className,n=e.channel,r=e.activeCommand,l=e.activeOption,u=e.optionStates,d=e.onOptionClick;return null==r?null:s("div",{className:(0,a.default)(t,i.default.bar)},void 0,s(o.default,{command:r,activeOptionName:null==l?void 0:l.name,channel:n,optionStates:u,onOptionClick:d,showOptions:!0,showImage:!0,isSelectable:!0}))}d.displayName="ApplicationCommandBar"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=O(n(9)),i=n(3),l=n(106),u=O(n(682)),s=n(8390),d=n(42),f=O(n(8265)),c=n(1209),p=O(n(201)),v=O(n(61)),y=O(n(149)),m=O(n(8509)),_=O(n(686)),h=O(n(24)),E=n(1),g=O(n(6)),S=O(n(7541));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(e){var t=e.channel,n=e.message,r=e.replyChainLength;return a.useEffect((function(){(0,l.trackWithMetadata)(E.AnalyticEvents.THREAD_NUDGE_SHOWN,{type:"Reply Chain (3)",reply_chain_length:r+1,channel_id:t.id,guild_id:t.guild_id})}),[t]),T(v.default,{onClick:function(){(0,s.deletePendingReply)(t.id),f.default.openThreadSidebarForCreating(t,n,"Reply Chain Nudge")},className:S.default.threadSuggestionBar,focusProps:{offset:{right:-4,left:-4}}},void 0,T(h.default,{color:h.default.Colors.HEADER_SECONDARY,className:S.default.text},void 0,g.default.Messages.THREAD_REPLY_SUGGESTION.format({count:Math.min(10,r+1)})),T(h.default,{color:h.default.Colors.LINK,className:S.default.createThreadButton},void 0,g.default.Messages.CREATE_THREAD))}function b(e){var t=e.reply,n=e.textAreaType,r=t.channel,l=t.message,f=t.shouldMention,O=t.showMentionToggle,I=(0,u.default)(l),b=I.nick,M=I.colorString,N=n===E.TextareaTypes.NORMAL,A=function(e,t){var n=e.id,r=t.id;return(0,i.useStateFromStores)([p.default],(function(){for(var e=r,t=0;t<10;t++){var a=p.default.getMessage(n,e);if((null==a?void 0:a.type)!==E.MessageTypes.REPLY||!a.messageReference)return t;e=a.messageReference.message_id}return 10}),[n,r])}(r,l),P=(0,c.useCanStartPublicThread)(r,l),R=N&&A>=2&&P;function L(e){e.stopPropagation(),(0,s.setPendingReplyShouldMention)(r.id,!f)}return T("div",{className:S.default.clipContainer},void 0,T("div",{className:S.default.container},void 0,T("div",{className:S.default.replyBar},void 0,T(v.default,{onClick:function(){return(0,d.transitionTo)(E.Routes.CHANNEL(r.getGuildId(),r.id,l.id))},focusProps:{offset:{top:-8,right:-4,bottom:-8,left:-4}}},void 0,T(h.default,{color:h.default.Colors.HEADER_SECONDARY,className:(0,o.default)(S.default.text,S.default.replyLabel)},void 0,g.default.Messages.REPLYING_TO.format({userHook:function(e,t){return T("span",{className:S.default.name,style:{color:M}},t,b)}}))),T("div",{className:S.default.actions},void 0,O&&a.createElement(a.Fragment,null,T(y.default,{text:f?g.default.Messages.REPLY_MENTION_ON_TOOLTIP:g.default.Messages.REPLY_MENTION_OFF_TOOLTIP},void 0,(function(e){var t=e.onMouseEnter,n=e.onMouseLeave,r=e.onFocus,a=e.onBlur;return T(v.default,{role:"switch","aria-checked":f,onClick:L,onMouseEnter:t,onMouseLeave:n,onFocus:r,onBlur:a},void 0,T(h.default,{color:f?h.default.Colors.LINK:h.default.Colors.MUTED,className:S.default.mentionButton},void 0,T(m.default,{"aria-label":g.default.Messages.MENTION,className:S.default.mentionIcon}),f?g.default.Messages.REPLY_MENTION_ON:g.default.Messages.REPLY_MENTION_OFF))})),T("div",{className:S.default.separator,"aria-hidden":!0})),T(v.default,{className:S.default.closeButton,onClick:function(e){e.stopPropagation(),(0,s.deletePendingReply)(r.id)}},void 0,T(_.default,{className:S.default.closeIcon})))),R&&T(C,{channel:r,message:l,replyChainLength:A})))}C.displayName="ThreadSuggestion",b.displayName="ChannelReply"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(9)),i=c(n(149)),l=c(n(5686)),u=c(n(9506)),s=c(n(8439)),d=c(n(6)),f=c(n(7543));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(){return(y=Object.assign||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}).apply(this,arguments)}function m(e){var t,n=e.document,r=e.maxCharacterCount,c=e.currentLength,p=e.className,m=e.showCharacterCountAfter,_=e.upsellAroundLimit,h=void 0!==_&&_,E=e.showPremiumFlair,g=void 0!==E&&E,S=s.default.serialize(n,"raw"),O=r-(c||S.length),I=O>m,T=0===O?d.default.Messages.CHARACTER_COUNT_AT_LIMIT:O>0?d.default.Messages.CHARACTER_COUNT_CLOSE_TO_LIMIT.format({count:O}):d.default.Messages.CHARACTER_COUNT_OVER_LIMIT;return v("div",{className:(0,o.default)(p,f.default.characterCount,(t={},t[f.default.error]=O<0,t))},void 0,v("div",{className:f.default.flairContainer},void 0,g&&O>=0?v(i.default,{text:d.default.Messages.PREMIUM_MESSAGE_LENGTH_CHATBOX_FLAIR.format({maxLength:r}),position:i.default.Positions.TOP},void 0,(function(e){return a.createElement(l.default,y({className:f.default.premiumFlair},e))})):null,I?null:v(i.default,{text:T,position:i.default.Positions.TOP},void 0,(function(e){return a.createElement("span",e,O)}))),h&&!I?v(u.default,{className:f.default.upsell}):null)}m.displayName="SlateCharacterCount"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=I;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(9)),i=n(3),l=h(n(9507)),u=h(n(10)),s=h(n(36)),d=n(1149),f=h(n(5686)),c=n(41),p=h(n(24)),v=h(n(13)),y=n(1),m=h(n(6)),_=h(n(7542));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(){return(S=Object.assign||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}).apply(this,arguments)}function O(){(0,c.openModal)((function(e){return a.createElement(l.default,S({channel:null},e))}))}function I(e){var t=e.className,n=(0,i.useStateFromStores)([s.default,u.default],(function(){var e=u.default.getChannel(s.default.getChannelId());return(null==e?void 0:e.isPrivate())?y.AnalyticsPages.DM_CHANNEL:y.AnalyticsPages.GUILD_CHANNEL}));return a.useEffect((function(){v.default.track(y.AnalyticEvents.PREMIUM_UPSELL_VIEWED,{type:"longer messages inline",location:{location_page:n,location_section:y.AnalyticsSections.CHANNEL_TEXT_AREA}})}),[n]),g("div",{className:(0,o.default)(_.default.root,t)},void 0,g(f.default,{className:_.default.premium,color:d.GradientCssUrls.PREMIUM_TIER_2}),g(p.default,{size:p.default.Sizes.SIZE_14},void 0,m.default.Messages.PREMIUM_MESSAGE_LENGTH_UPSELL_TOOLTIP.format({onLearnMore:O})))}I.displayName="CharacterCountUpsell"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=s(n(473)),o=n(280),i=s(n(5953)),l=n(1),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}function c(e){return null!=(null==e?void 0:e.getGuildId())?l.AnalyticsPages.GUILD_CHANNEL:(null==e?void 0:e.isGroupDM())||(null==e?void 0:e.isPrivate())?l.AnalyticsPages.DM_CHANNEL:null}function p(e){var t=e.channel,s=e.onClose,d=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["channel","onClose"]);return r.createElement(i.default,f({artURL:n(8887),type:o.PremiumUpsellTypes.MESSAGE_LENGTH_UPSELL,title:u.default.Messages.PREMIUM_MESSAGE_LENGTH_UPSELL_MODAL_HEADER,body:u.default.Messages.PREMIUM_MESSAGE_LENGTH_UPSELL_MODAL_BODY.format({onLearnMore:function(){s(),a.default.open(l.UserSettingsSections.PREMIUM,null,{openWithoutBackstack:!0})}}),premiumType:l.PremiumTypes.TIER_2,analyticsSource:{page:c(t)},analyticsLocation:{section:l.AnalyticsSections.MESSAGE_LENGTH_UPSELL_MODAL,object:l.AnalyticsObjects.BUTTON_CTA},onClose:s},d))}p.displayName="PremiumMessageLengthUpsell"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(29)),i=y(n(9509)),l=y(n(9510)),u=y(n(8802)),s=y(n(9511)),d=y(n(9512)),f=y(n(9513)),c=y(n(165)),p=n(8882),v=y(n(7544));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).timeout=0,t.ref=a.createRef(),t.state={isActive:!1,x:null,y:null},t.hide=function(){t.setState({isActive:!1}),clearTimeout(t.timeout)},t.handleMouseDown=function(e){var n;e.target instanceof Node&&(null===(n=t.ref.current)||void 0===n?void 0:n.contains(e.target))||t.hide()},t.handleMouseUp=function(e){if(e.target instanceof Element)if(0!==e.button)t.hide();else{var n,r=e.target instanceof Node&&(null===(n=t.ref.current)||void 0===n?void 0:n.contains(e.target));clearTimeout(t.timeout),t.timeout=setTimeout((function(){var e=document.activeElement,n=t.props.containerRef.current;t.setState({isActive:r||null!=e&&null!=n&&n.contains(e)})}),100)}else t.hide()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n);var o=r.prototype;return o.componentDidMount=function(){document.addEventListener("keydown",this.hide),document.addEventListener("mousedown",this.handleMouseDown),document.addEventListener("mouseup",this.handleMouseUp),window.addEventListener("focus",this.hide),window.addEventListener("blur",this.hide)},o.componentWillUnmount=function(){document.removeEventListener("keydown",this.hide),document.removeEventListener("mousedown",this.handleMouseDown),document.removeEventListener("mouseup",this.handleMouseUp),window.removeEventListener("focus",this.hide),window.removeEventListener("blur",this.hide),clearTimeout(this.timeout)},r.getDerivedStateFromProps=function(e,t){var n,r;if(e.value.selection.isCollapsed||!t.isActive)return{x:null,y:null};var a=window.getSelection();if(!a||!a.focusNode||!a.anchorNode||a.isCollapsed)return{x:null,y:null};var o=document.createRange();o.setStart(a.focusNode,a.focusOffset),o.setEnd(a.focusNode,a.focusOffset);var i=o.getBoundingClientRect(),l=document.createRange();l.setStart(a.anchorNode,a.anchorOffset),l.setEnd(a.anchorNode,a.anchorOffset);var u=l.getBoundingClientRect(),s=document.createRange();s.setStart(a.anchorNode,a.anchorOffset),s.setEnd(a.focusNode,a.focusOffset);var d=s.getBoundingClientRect(),f=i.x===u.x,c=f?d.x:Math.min(i.x,u.x),p=f?d.x+d.width:Math.max(i.x,u.x),v=(null===(n=e.containerRef.current)||void 0===n||null===(r=n.getBoundingClientRect())||void 0===r?void 0:r.y)||0;return{x:c+(p-c)/2-102.5,y:Math.max(v,Math.min(u.y,i.y))-45}},o.render=function(){var e=this.props,t=e.editorRef,n=e.value,r=this.state,o=r.x,p=r.y;return null==o||null==p?null:_(c.default,{},void 0,a.createElement("div",{ref:this.ref,className:v.default.toolbar,style:{top:p,left:o}},_("div",{className:v.default.arrow}),_(g,{editorRef:t,value:n,markdownSyntax:"bold"},void 0,_(l.default,{className:v.default.icon})),_(g,{editorRef:t,value:n,markdownSyntax:"italics"},void 0,_(s.default,{className:v.default.icon})),_(g,{editorRef:t,value:n,markdownSyntax:"strikethrough"},void 0,_(f.default,{className:v.default.icon})),_("div",{className:v.default.divider}),_(S,{editorRef:t,value:n,lineStyle:"blockQuote"},void 0,_(i.default,{className:v.default.icon})),_(g,{editorRef:t,value:n,markdownSyntax:"inlineCode"},void 0,_(u.default,{className:v.default.icon})),_(g,{editorRef:t,value:n,markdownSyntax:"spoiler"},void 0,_(d.default,{className:v.default.icon}))))},r}(a.PureComponent);function g(e){var t=e.editorRef,n=e.value,r=e.markdownSyntax,a=e.children,i=null!=n&&null!=(0,p.parseSelectedSyntax)(n).before[r];return _(o.default,{className:v.default.button,innerClassName:v.default.buttonInner,color:i?v.default.active:v.default.inactive,hover:v.default.hover,look:o.default.Looks.FILLED,size:o.default.Sizes.NONE,onClick:function(){var e;null===(e=t.current)||void 0===e||e.toggleMarkdownStyle(r)}},void 0,a)}function S(e){var t=e.editorRef,n=e.value,r=e.lineStyle,a=e.children,i=null!=n&&(0,p.doesSelectionHaveLineStyle)(n,r);return _(o.default,{className:v.default.button,innerClassName:v.default.buttonInner,color:i?v.default.active:v.default.inactive,hover:v.default.hover,look:o.default.Looks.FILLED,size:o.default.Sizes.NONE,onClick:function(){var e,n;null===(e=t.current)||void 0===e||e.setSelectionLineType(i?"line":r),null===(n=t.current)||void 0===n||n.focus()}},void 0,a)}t.default=E,E.displayName="SlateToolbar",g.displayName="InlineMarkdownButton",S.displayName="LineMarkdownButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,d:"M19.8401 5.39392C20.1229 4.73405 19.6389 4 18.921 4H17.1231C16.7417 4 16.3935 4.21695 16.2254 4.55933L13.3297 10.4581C13.195 10.7324 13.125 11.0339 13.125 11.3394V19C13.125 19.5523 13.5727 20 14.125 20H20C20.5523 20 21 19.5523 21 19V12.875C21 12.3227 20.5523 11.875 20 11.875H17.8208C17.4618 11.875 17.2198 11.508 17.3612 11.178L19.8401 5.39392ZM9.71511 5.39392C9.99791 4.73405 9.51388 4 8.79596 4H6.99809C6.61669 4 6.2685 4.21695 6.10042 4.55933L3.20466 10.4581C3.07001 10.7324 3 11.0339 3 11.3394V19C3 19.5523 3.44772 20 4 20H9.875C10.4273 20 10.875 19.5523 10.875 19V12.875C10.875 12.3227 10.4273 11.875 9.875 11.875H7.69577C7.33681 11.875 7.0948 11.508 7.2362 11.178L9.71511 5.39392Z"}))}d.displayName="BlockQuote"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({viewBox:"0 0 24 24"},(0,i.default)(c),{width:n,height:a}),s("path",{fill:d,className:f,d:"M18.2754 16.1739C18.2754 13.5072 16.7971 12.058 14.5653 11.3623C16.3044 10.6377 17.4638 9.27536 17.4638 7.18841C17.4638 4.02899 15.3189 2 10.8261 2H5V22H10.7392C15.4348 22 18.2754 20.1159 18.2754 16.1739ZM13.8986 7.50725C13.8986 9.21739 12.7102 10.2319 10.4493 10.2319H8.68116V4.92754H10.6232C12.9421 4.92754 13.8986 5.91304 13.8986 7.50725ZM14.5942 16.058C14.5942 18.058 13.1739 19.0725 10.7392 19.0725H8.68116V12.9565H10.6812C13.2319 12.9565 14.5942 14.029 14.5942 16.058Z"}))}d.displayName="Bold"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({viewBox:"0 0 24 24"},(0,i.default)(c),{width:n,height:a}),s("path",{fill:d,className:f,d:"M21 4V2H11V4H14.461L7.351 20H3V22H13V20H9.539L16.649 4H21Z"}))}d.displayName="Italic"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({viewBox:"0 0 24 24"},(0,i.default)(c),{width:n,height:a}),s("path",{fill:d,className:f,d:"M9.09091 12C9.09091 13.5786 10.3935 14.8571 12 14.8571C13.6065 14.8571 14.9091 13.5786 14.9091 12C14.9091 10.4214 13.6065 9.14286 12 9.14286C10.3935 9.14286 9.09091 10.4214 9.09091 12ZM13.3402 12C13.3402 12.789 12.689 13.4286 11.8857 13.4286C11.0823 13.4286 10.4311 12.789 10.4311 12C10.4311 11.211 11.0823 10.5714 11.8857 10.5714C12.689 10.5714 13.3402 11.211 13.3402 12Z"}),s("path",{fill:d,className:f,d:"M4 2C2.89543 2 2 2.89543 2 4V20C2 21.1046 2.89543 22 4 22H20C21.1046 22 22 21.1046 22 20V4C22 2.89543 21.1046 2 20 2H4ZM4 12C4 12 7.38036 7 12 7C16.6196 7 20 12 20 12C20 12 16.6196 17 12 17C7.38036 17 4 12 4 12Z"}))}d.displayName="Spoiler"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({viewBox:"0 0 24 24"},(0,i.default)(c),{width:n,height:a}),s("path",{fill:d,className:f,d:"M22.004 10.8906H2V13.1133H12.002C13.8401 13.1133 15.336 14.6091 15.336 16.4473C15.336 18.2854 13.8401 19.7813 12.002 19.7813H8.668V18.67H6.44533V20.8926C6.44533 21.5061 6.94321 22.004 7.55667 22.004H12.002C15.0659 22.004 17.5587 19.5112 17.5587 16.4473C17.5587 15.1915 17.1241 14.0446 16.4196 13.1133H22.004V10.8906Z"}),s("path",{fill:d,className:f,d:"M8.87358 8.668C8.748 8.31904 8.66798 7.94786 8.66798 7.55667C8.66798 5.71852 10.1638 4.22267 12.002 4.22267H14.2246V5.334H16.4473V3.11133C16.4473 2.49788 15.9494 2 15.336 2H12.002C8.93803 2 6.44531 4.49272 6.44531 7.55667C6.44531 7.93674 6.48421 8.30904 6.55756 8.668H8.87358Z"}))}d.displayName="StrikeThrough"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Upload=void 0;var r=u(n(8)),a=u(n(3)),o=u(n(2)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(8289));n(1);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e,t,n){this.file=e,this.channelId=t,this.classification=i.classifyFile(e),this.isImage="image"===this.classification,this.sizeString=i.sizeString(e.size),this.filename=e.name,this.showLargeMessageDialog=n};t.Upload=d;var f=[];var c=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var a=r.prototype;return a.getFirstUpload=function(){return f.length>0?f[0]:null},a.hasAdditionalUploads=function(){return f.length>1},r}(a.default.Store))(o.default,{UPLOAD_MODAL_POP_FILE:function(e){return f.shift(),void(f=[].concat(f))},UPLOAD_MODAL_PUSH_FILES:function(e){var t=e.files,n=e.channelId,a=e.showLargeMessageDialog;f=[].concat(f),r.default.forEach(t,(function(e){f.push(new d(e,n,a))}))},UPLOAD_MODAL_CLEAR_ALL_FILES:function(e){f=[]}});t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=W(n(0)),o=x(n(133)),i=x(n(98)),l=n(3),u=x(n(2)),s=n(1325),d=W(n(5672)),f=x(n(9516)),c=x(n(5970)),p=x(n(8888)),v=x(n(1177)),y=x(n(71)),m=x(n(12)),_=x(n(5836)),h=x(n(5826)),E=W(n(8634)),g=x(n(373)),S=x(n(1167)),O=x(n(5690)),I=x(n(55)),T=x(n(1164)),C=x(n(477)),b=x(n(151)),M=n(131),N=x(n(8565)),A=n(35),P=x(n(13)),R=n(5835),L=x(n(16)),D=n(281),w=n(8366),j=n(289),k=x(n(5840)),U=x(n(8889)),G=n(8890),F=n(1),B=x(n(6)),H=x(n(7370));function x(e){return e&&e.__esModule?e:{default:e}}function V(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return V=function(){return e},e}function W(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=V();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function Y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function z(){return(z=Object.assign||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}).apply(this,arguments)}function K(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function $(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){K(o,r,a,i,l,"next",e)}function l(e){K(o,r,a,i,l,"throw",e)}i(void 0)}))}}function Z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function q(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,X(e,t)}function X(e,t){return(X=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var J=(0,o.default)({UNSUPPORTED_OS:null,TEST_MODE:null,GIFT_ONLY:null,PREORDER:null}),Q=Y(b.default,{}),ee=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={paymentSourceId:null},t._loadId=i.default.v4(),t._stepStartTime=Date.now(),t._flowStartTime=Date.now(),t._paymentModalRef=a.createRef(),t.handlePaymentSourceChange=function(e){var n=t.props,r=n.applicationId,a=n.skuId;null!=e?(d.fetchPurchasePreview(r,a,e.id),t.setState({paymentSourceId:e.id})):(d.fetchPurchasePreview(r,a,null),t.setState({paymentSourceId:null}))},t.handlePurchase=function(){var e=$(regeneratorRuntime.mark((function e(n){var r,a,o,i,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.props,a=r.applicationId,o=r.sku,i=t.getPrice(),l=null!=i?i.amount:0,null!=o){e.next=5;break}throw new Error("SKU is null during purchase");case 5:if(!E.default.isPurchasingSKU){e.next=7;break}return e.abrupt("return");case 7:return e.prev=7,P.default.track(F.AnalyticEvents.PAYMENT_FLOW_COMPLETED,z({},t.getBaseAnalyticsData(),{duration_ms:Date.now()-t._flowStartTime})),e.next=11,d.purchaseSKU(a,o.id,{expectedAmount:l,paymentSourceId:n.id,analyticsLoadId:t._loadId,isGift:t.isGift});case 11:(0,s.acceptPurchaseTerms)(),e.next=18;break;case 14:throw e.prev=14,e.t0=e.catch(7),P.default.track(F.AnalyticEvents.PAYMENT_FLOW_FAILED,z({},t.getBaseAnalyticsData(),{payment_gateway:n.type===F.PaymentSourceTypes.CARD?F.PaymentGateways.STRIPE:F.PaymentGateways.BRAINTREE,payment_source_id:n.id,duration_ms:Date.now()-t._flowStartTime,payment_error_code:e.t0.code})),e.t0;case 18:case"end":return e.stop()}}),e,null,[[7,14]])})));return function(t){return e.apply(this,arguments)}}(),t.handleClose=function(e){void 0===e&&(e=null),(0,t.props.onClose)(e)},t.handleStepChange=function(e,n){var r=Date.now();P.default.track(F.AnalyticEvents.PAYMENT_FLOW_STEP,z({},t.getBaseAnalyticsData(),{from_step:e,to_step:n,step_duration_ms:r-t._stepStartTime,flow_duration_ms:r-t._flowStartTime})),t._stepStartTime=r,n===R.Steps.CONFIRM&&d.showPurchaseConfirmationStep()},t.renderHeader=function(e,n,r){var a=t.props.application;switch(e){case R.Steps.CONFIRM:return null!=a?Y(p.default,{application:a,splashSize:880}):null;default:return t.renderDefaultHeader(e,n,r)}},t.renderConfirmation=function(){var e=t.props,n=e.application,r=e.sku,a=e.isIAP,o=e.giftCode;if(null==r||null==n)throw new Error("No SKU for confirmation step!");return Y("div",{className:H.default.confirmContent},void 0,Y(I.default,{direction:I.default.Direction.VERTICAL},void 0,Y(A.ModalCloseButton,{onClick:function(){return t.handleClose()},className:H.default.confirmCloseButton}),null!=o?Y(k.default,{giftCode:o,application:n,sku:r,onClose:function(){return t.handleClose()}}):Y(U.default,{application:n,sku:r,isIAP:a,onClose:function(){return t.handleClose()}})))},t}q(t,e);var n,r,o,l=t.prototype;return l.getSkuPrice=function(e,t){void 0===e&&(e=this.props),void 0===t&&(t=this.state);var n=e.prices,r=t.paymentSourceId;return null==n?null:n[null!=r?r:E.NO_PAYMENT_SOURCE]},l.componentDidMount=function(){var e=this,t=this.props,n=t.sku,r=t.skuId,a=t.applicationId;null==n?d.fetchSKU(a,r).catch((function(t){return e.handleClose(t.message)})):P.default.track(F.AnalyticEvents.PAYMENT_FLOW_STARTED,this.getBaseAnalyticsData())},l.componentDidUpdate=function(e,t){null==e.sku&&null!=this.props.sku&&P.default.track(F.AnalyticEvents.PAYMENT_FLOW_STARTED,this.getBaseAnalyticsData()),this.checkPriceChange(this.getSkuPrice(e,t),this.getSkuPrice())},l.checkPriceChange=function(e,t){var n=this.props,r=n.sku,a=n.onClose;null!=e&&null!=t&&e.discount_percent_off!==t.discount_percent_off&&u.default.wait((function(){if(null==r)throw new Error("Unexpected null SKU");a(F.PaymentModalPriceChangedError)}))},l.getPrice=function(){var e=this.props,t=e.sku,n=e.isFetchingSKU;if(null==t||n)return null;var r=this.getSkuPrice();if(null!=r)return{amount:r.amount,tax:r.tax,taxInclusive:r.tax_inclusive,currency:r.currency};if(null==this.state.paymentSourceId){var a=t.getPrice();if(null==a)throw new Error("Sku Price cannot be null");return{amount:a.amount,tax:0,taxInclusive:!1,currency:a.currency}}return null},l.getBaseAnalyticsData=function(){var e=this.props,t=e.sku,n=e.analyticsLocation,r=e.appContext,a=e.promotionId;if(null==t)return{};var o=this.getPrice();return z({},(0,v.default)(t),{load_id:this._loadId,payment_type:"sku",is_gift:this.isGift,client_event_source:r===F.AppContext.OVERLAY?F.AppContext.OVERLAY:null,location:n,price:null!=o?o.amount:null,currency:null!=o?o.currency:null,location_promotion_id:a})},l.renderPurchaseWarning=function(){var e=this.props,t=e.sku,n=e.isInTestMode,r=e.isIAP,o=e.isUserEntitledToSku;if(null==t)return null;var i=(0,j.nativePlatformTypeToSKUOperatingSystem)(L.default.getPlatform()),l=[];if(!(null!=i&&t.supportedOperatingSystems.includes(i)||r)){if(1!==t.supportedOperatingSystems.length)throw new Error("Unexpected number of supported operating systems");l.push(Y(c.default,{icon:N.default,iconSize:c.default.Sizes.SMALL,color:c.default.Colors.WARNING,className:H.default.errorBlock},J.UNSUPPORTED_OS,B.default.Messages.APPLICATION_STORE_PURCHASE_GAME_UNSUPPORTED_OS.format({operatingSystem:(0,j.skuOperatingSystemToText)(t.supportedOperatingSystems[0])})))}return n&&l.push(Y(c.default,{icon:N.default,iconSize:c.default.Sizes.SMALL,color:c.default.Colors.WARNING,className:H.default.errorBlock},J.TEST_MODE,B.default.Messages.APPLICATION_STORE_PURCHASE_TEST_MODE)),!0===o&&this.isGiftable&&l.push(Y(c.default,{icon:N.default,iconSize:c.default.Sizes.SMALL,color:c.default.Colors.PRIMARY,className:H.default.errorBlock},J.GIFT_ONLY,B.default.Messages.APPLICATION_STORE_PURCHASE_GIFT_ONLY)),t.isPreorder()&&l.push(Y(c.default,{icon:N.default,iconSize:c.default.Sizes.SMALL,color:c.default.Colors.PRIMARY,className:H.default.errorBlock},J.PREORDER,B.default.Messages.APPLICATION_STORE_PURCHASE_WARNING_PREORDER.format({date:(0,w.getReadablePreorderReleaseDate)(t)}))),Y(a.Fragment,{},void 0,l)},l.renderGenericError=function(e,t){return null==e&&null==t?null:Y(T.default,{className:H.default.errorBlock},void 0,null!=e?e.message:null!=t?t.message:null)},l.renderDefaultHeader=function(e,t,n){var r=this,a=this.props,o=a.isIAP,i=a.application,l=a.sku,u=a.purchaseError;if(null==l||null==i)return null;var s=this.getPrice();return Y(A.ModalHeader,{direction:I.default.Direction.VERTICAL,align:I.default.Align.START,separator:!1},void 0,Y(p.default,{application:i,splashSize:880}),Y(I.default,{align:I.default.Align.CENTER,className:H.default.headerHeader},void 0,Y(M.FormTitle,{tag:M.FormTitleTags.H4},void 0,(0,G.getSkuHeaderText)(o,l.type)),Y(A.ModalCloseButton,{onClick:function(){return r.handleClose()}})),Y(I.default,{align:I.default.Align.CENTER,className:H.default.headerContent},void 0,Y(I.default,{align:I.default.Align.CENTER},void 0,Y(C.default,{game:i}),Y("div",{className:H.default.applicationName},void 0,l.name)),Y("div",{className:H.default.price},void 0,null!=s?(0,D.formatPrice)(s.amount,s.currency):Y(b.default,{type:b.default.Type.PULSING_ELLIPSIS,className:H.default.priceSpinner}))),this.renderPurchaseWarning(),this.renderGenericError(u,n),t.length>1?Y(O.default,{activeId:e,breadcrumbs:t,className:H.default.breadcrumbs}):null)},l.render=function(){var e=this,t=this.props,n=t.sku,r=t.isFetchingSKU,o=t.isPurchasing,i=t.purchaseError,l=t.isUserEntitledToSku,u=t.forceConfirmationStepOnMount,s=t.transitionState;return null==n||r?Q:a.createElement(f.default,{ref:this._paymentModalRef,transitionState:s,canSubmit:null!=this.getSkuPrice(),needsToBeGift:n.type===F.SKUTypes.DURABLE_PRIMARY&&!0===l,isGiftable:this.isGiftable,isPurchasing:o,purchaseError:i,price:this.getPrice(),size:A.ModalSize.SMALL,onPurchase:this.handlePurchase,onIsGiftUpdate:d.updateSKUPaymentIsGift,onPaymentSourceChange:this.handlePaymentSourceChange,onClose:function(){return e.handleClose()},onClearError:d.clearPurchaseError,renderHeader:this.renderHeader,renderConfirmationBody:this.renderConfirmation,submitButtonText:this.isGift?B.default.Messages.APPLICATION_STORE_BUY_GIFT:B.default.Messages.APPLICATION_STORE_BUY,initialStep:u?R.Steps.CONFIRM:null,onStepChange:this.handleStepChange,isGift:this.isGift})},n=t,(r=[{key:"closable",get:function(){var e=this._paymentModalRef.current;return null!=e&&e.closable}},{key:"isGiftable",get:function(){var e=this.props.sku;return null!=e&&e.isGiftable(this.getPrice())}},{key:"isGift",get:function(){return this.props.isGift&&this.isGiftable}}])&&Z(n.prototype,r),o&&Z(n,o),t}(a.PureComponent);ee.displayName="SKUPayment";var te=a.forwardRef((function(e,t){var n=e.applicationId,r=e.skuId,o=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["applicationId","skuId"]),i=(0,l.useStateFromStores)([y.default],(function(){return y.default.getGame(n)})),u=(0,l.useStateFromStoresArray)([E.default],(function(){return[E.default.getPricesForSku(r),E.default.isPurchasingSKU,E.default.error,E.default.analyticsLocation,E.default.promotionId,E.default.giftCode,E.default.isGift,E.default.isIAP,E.default.forceConfirmationStepOnMount]})),s=u[0],d=u[1],f=u[2],c=u[3],p=u[4],v=u[5],O=u[6],I=u[7],T=u[8],C=(0,l.useStateFromStoresArray)([g.default],(function(){return[g.default.get(r),g.default.isFetching(r)]})),b=C[0],M=C[1],N=(0,l.useStateFromStores)([S.default],(function(){return S.default.inTestModeForApplication(n)})),A=(0,l.useStateFromStores)([h.default,m.default],(function(){return h.default.isEntitledToSku(m.default.getNullableCurrentUser(),r,n)})),P=(0,l.useStateFromStores)([_.default],(function(){return _.default.error}));return a.createElement(ee,z({},o,{application:i,applicationId:n,skuId:r,prices:s,isPurchasing:d,purchaseError:P||f,analyticsLocation:c,promotionId:p,isIAP:I,giftCode:v,isGift:O,forceConfirmationStepOnMount:T,sku:b,isFetchingSKU:M,isInTestMode:N,isUserEntitledToSku:A,ref:t}))})),ne=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this)._skuPaymentModalRef=a.createRef(),t}q(t,e);var n=t.prototype;return n.close=function(){null!=this._skuPaymentModalRef.current&&this._skuPaymentModalRef.current.closable&&this.handleClose()},n.handleClose=function(e){void 0===e&&(e=null),this.props.onClose(e)},n.render=function(){var e=this;return a.createElement(te,z({},this.props,{ref:this._skuPaymentModalRef,onClose:function(){return e.handleClose()}}))},t}(a.PureComponent);ne.displayName="SKUPaymentModal";var re=ne;t.default=re},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PaymentModal=void 0;var r,a=h(n(0)),o=n(377),i=n(3),l=h(n(287)),u=h(n(5837)),s=m(n(5693)),d=m(n(5836)),f=m(n(693)),c=n(5835),p=n(295),v=h(n(9517)),y=n(1);function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function E(){return(E=Object.assign||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}).apply(this,arguments)}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function O(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){S(o,r,a,i,l,"next",e)}function l(e){S(o,r,a,i,l,"throw",e)}i(void 0)}))}}function I(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var C=[c.Steps.REVIEW,c.Steps.CONFIRM],b=function(e){var t,n;function r(t){var n;(n=e.call(this,t)||this)._hasChangedSteps=!1,n.handlePaypalContinue=function(){n.setState({step:c.Steps.PAYPAL_ADDRESS})},n.handleCreditCardContinue=function(){n.setState({step:c.Steps.ADDRESS})},n.handleReviewPaymentSourceChange=function(e){n.setState({paymentSourceId:null!=e?e.id:null})},n.handleReviewPaymentSourceAdd=function(){n.setState({step:c.Steps.PAYMENT_TYPE,steps:v.ADD_PAYMENT_STEPS,paymentSourceId:null});var e=n.props.onClearError;e&&e()},n.handleBack=function(){var e=n.props,t=e.paymentSources,r=e.onClose,a=n.state,o=a.step,i=a.steps,l=n.stepsToRender,s=(0,c.getStepIndex)(o,l);if(s>0){var d=l[s-1],f=d===c.Steps.PAYMENT_TYPE;f&&u.clearError(),n.setState({step:d,steps:f?v.ADD_PAYMENT_STEPS:i})}else if((0,c.canGoBack)(s,t)){var p=n.props.defaultPaymentSourceId;n.setState({step:c.Steps.REVIEW,steps:v.REVIEW_PAYMENT_STEPS,paymentSourceId:p})}else r()},n.handleChoosePaymentType=function(e){switch(e){case y.PaymentSourceTypes.PAYPAL:n.setState({step:c.Steps.PAYPAL,steps:v.ADD_PAYPAL_STEPS});break;case y.PaymentSourceTypes.CARD:n.setState({step:c.Steps.CREDIT_CARD_INFORMATION,steps:v.ADD_CARD_STEPS});break;case y.PaymentSourceTypes.PAYMENT_REQUEST:n.setState({step:c.Steps.PAYMENT_REQUEST_INFO,steps:v.ADD_PAYMENT_REQUEST_STEPS})}},n.handlePaymentSourceAdd=function(e){n.setState({step:c.Steps.REVIEW,paymentSourceId:e})},n.handlePurchase=O(regeneratorRuntime.mark((function e(){var t,r,a,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.props,r=t.paymentSources,a=t.onPurchase,o=t.isGift,null!=(i=n.state.paymentSourceId)){e.next=4;break}return e.abrupt("return");case 4:return e.prev=4,e.next=7,a(r[i],o);case 7:n.setState({steps:C,step:c.Steps.CONFIRM}),e.next=12;break;case 10:e.prev=10,e.t0=e.catch(4);case 12:case"end":return e.stop()}}),e,null,[[4,10]])}))),n.handleSelectPlan=function(){var e=n.props.paymentSources,t=Object.values(e).length>0;n.setState({step:t?c.Steps.REVIEW:c.Steps.PAYMENT_TYPE})};var r=t.defaultPaymentSourceId,a=t.paymentSources,o=t.initialStep,i=Object.values(a).length>0,l=o;return null==l&&(l=i?c.Steps.REVIEW:c.Steps.PAYMENT_TYPE),n.state={paymentSourceId:r,steps:i?v.REVIEW_PAYMENT_STEPS:v.ADD_PAYMENT_STEPS,step:l,errorStep:null},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,T(t,n);var a,i,s,d=r.prototype;return d.componentDidMount=function(){f.default.hasFetchedPaymentSources||l.fetchPaymentSources()},d.componentDidUpdate=function(e,t){var n=this.props.onStepChange,r=this.state.step;r!==t.step&&(this._hasChangedSteps=!0,null!=n&&n(t.step,r))},r.getDerivedStateFromProps=function(e,t){var n=e.billingError,r=e.isAwaitingAuthentication,a=t.errorStep,o={};if(null==n)null!=a&&(o.errorStep=null);else{var i=(0,c.errorToStep)(n);null!=i&&i!==t.errorStep&&(o.step=i,o.errorStep=i)}return null==t.paymentSourceId&&null!=e.defaultPaymentSourceId&&(o.paymentSourceId=e.defaultPaymentSourceId),r?o.step=c.Steps.AWAITING_AUTHENTICATION:t.step===c.Steps.AWAITING_AUTHENTICATION&&(o.step=null!=n?c.Steps.REVIEW:c.Steps.CONFIRM),o},d.render=function(){var e,t=this,n=this.props,r=n.isPurchasing,a=n.canSubmit,i=n.submitButtonText,l=n.useShinySubmitButton,u=n.legalNotice,s=n.renderHeader,d=n.onPaymentSourceChange,f=n.price,m=n.onClearError,_=n.size,h=n.renderConfirmationBody,E=n.renderConfirmationFooter,S=n.className,O=n.isGift,I=n.isGiftable,T=n.needsToBeGift,C=n.onIsGiftUpdate,b=n.transitionState,M=((e={})[c.Steps.CONFIRM]={renderBody:h,renderFooter:E},e[c.Steps.SELECT_PLAN]={renderBody:function(){return t.props.renderSelectPlanBody(t.handleSelectPlan)},renderFooter:function(){return t.props.renderSelectPlanFooter()}},e),N=this.state,A=N.step,P=N.paymentSourceId,R=this.stepsToRender;return g(o.Elements,{options:y.StripeElementsOptions,stripe:(0,p.ensureStripeV3IsLoaded)()},void 0,g(v.default,{transitionState:b,className:S,isPurchasing:r,canSubmit:a,submitButtonText:i,useShinySubmitButton:l,legalNotice:u,renderHeader:s,onPaymentSourceChange:d,price:f,onClearError:m,size:_,extraRenderers:M,step:A,steps:R,paymentSourceId:P,isGiftable:I,isGift:O,needsToBeGift:T,onIsGiftUpdate:C,onBack:this.handleBack,onChoosePaymentType:this.handleChoosePaymentType,onCreditCardContinue:this.handleCreditCardContinue,onPaymentSourceAdd:this.handlePaymentSourceAdd,onPurchase:this.handlePurchase,onPaypalContinue:this.handlePaypalContinue,onReviewPaymentSourceChange:this.handleReviewPaymentSourceChange,onReviewPaymentSourceAdd:this.handleReviewPaymentSourceAdd}))},a=r,(i=[{key:"stepsToRender",get:function(){var e=this.props.prependSteps,t=this.state.steps;return null!=e?[].concat(e,t):t}},{key:"closable",get:function(){var e=this.state.step;return 0===(0,c.getStepIndex)(e,this.stepsToRender)||!this._hasChangedSteps}}])&&I(a.prototype,i),s&&I(a,s),r}(a.Component);t.PaymentModal=b,b.displayName="PaymentModal",b.defaultProps={useShinySubmitButton:!1,needsToBeGift:!1,isGiftable:!1,isGift:!1,renderConfirmationBody:y.NOOP_NULL,renderConfirmationFooter:y.NOOP_NULL,renderSelectPlanBody:y.NOOP_NULL,renderSelectPlanFooter:y.NOOP_NULL};var M=a.forwardRef((function(e,t){var n=(0,i.useStateFromStoresArray)([f.default],(function(){return[f.default.paymentSources,f.default.defaultPaymentSourceId]})),r=n[0],o=n[1],l=(0,i.useStateFromStores)([s.default],(function(){return s.default.error})),u=(0,i.useStateFromStoresArray)([d.default],(function(){return[d.default.error,d.default.isAwaitingAuthentication]})),c=u[0],p=u[1];return a.createElement(b,E({},e,{ref:t,billingError:c||l,paymentSources:r,defaultPaymentSourceId:o,isAwaitingAuthentication:p}))}));t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ADD_PAYMENT_REQUEST_STEPS=t.ADD_PAYPAL_STEPS=t.ADD_CARD_STEPS=t.ADD_PAYMENT_STEPS=t.REVIEW_PAYMENT_STEPS=void 0;var r,a=B(n(0)),o=n(377),i=G(n(3)),l=G(n(2)),u=B(n(287)),s=B(n(5692)),d=B(n(5837)),f=G(n(5673)),c=G(n(160)),p=G(n(5833)),v=G(n(5839)),y=G(n(5693)),m=G(n(693)),_=G(n(29)),h=G(n(1160)),E=G(n(55)),g=G(n(1164)),S=n(131),O=n(35),I=G(n(272)),T=n(5835),C=G(n(16)),b=n(139),M=G(n(5842)),N=G(n(5843)),A=n(5996),P=n(5997),R=n(5844),L=n(9518),D=n(9519),w=n(1),j=G(n(6)),k=G(n(5838)),U=G(n(5714));function G(e){return e&&e.__esModule?e:{default:e}}function F(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return F=function(){return e},e}function B(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=F();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function H(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function x(){return(x=Object.assign||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}).apply(this,arguments)}function V(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function W(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){V(o,r,a,i,l,"next",e)}function l(e){V(o,r,a,i,l,"throw",e)}i(void 0)}))}}function Y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function z(e,t){return(z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var K=[T.Steps.PAYMENT_TYPE,T.Steps.CREDIT_CARD_INFORMATION,T.Steps.REVIEW];t.REVIEW_PAYMENT_STEPS=K;var $=[T.Steps.PAYMENT_TYPE,T.Steps.CREDIT_CARD_INFORMATION,T.Steps.REVIEW];t.ADD_PAYMENT_STEPS=$;var Z=[T.Steps.PAYMENT_TYPE,T.Steps.CREDIT_CARD_INFORMATION,T.Steps.ADDRESS,T.Steps.REVIEW];t.ADD_CARD_STEPS=Z;var q=[T.Steps.PAYMENT_TYPE,T.Steps.PAYPAL,T.Steps.PAYPAL_ADDRESS,T.Steps.REVIEW];t.ADD_PAYPAL_STEPS=q;var X=[T.Steps.PAYMENT_TYPE,T.Steps.PAYMENT_REQUEST_INFO,T.Steps.REVIEW];t.ADD_PAYMENT_REQUEST_STEPS=X;var J=(0,b.cssValueToNumber)(U.default.innerPadding),Q=function(e){var t,n;function r(){for(var t,n,r=arguments.length,i=new Array(r),f=0;f<r;f++)i[f]=arguments[f];return(n=e.call.apply(e,[this].concat(i))||this).state={hasAcceptedNeccessaryTerms:!1,stripeToken:null},n.handleToggleIsGift=function(e,t){var r=n.props.onIsGiftUpdate;null!=r&&r(t)},n.handlePurchaseTermsChange=function(e){n.setState({hasAcceptedNeccessaryTerms:e})},n.handleReopenPaypal=function(){s.reopenPayPalWindow()},n.handleCardInfoChange=function(e,t){l.default.wait((function(){return d.updateCardInfo(e,t)}))},n.handleBillingAddressChange=function(e,t){l.default.wait((function(){return d.updateAddressInfo(e,t)}))},n.handleCreditCardAdd=function(){var e=W(regeneratorRuntime.mark((function e(t){var r,a,o,i,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.props,a=r.creditCardInfo,o=r.billingAddressInfo,i=n.state.stripeToken,e.prev=2,e.next=5,u.createCardPaymentSource(x({stripe:t},a,{billingAddress:o,type:w.PaymentSourceTypes.CARD,token:i}));case 5:l=e.sent,n.props.onPaymentSourceAdd(l.id),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(2);case 11:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(t){return e.apply(this,arguments)}}(),n.handleStripePaymentRequestAdd=function(){var e=W(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(d.updateStripePaymentRequest(t),null!=t){e.next=4;break}return n.props.onBack(),e.abrupt("return");case 4:return e.prev=4,e.next=7,u.createPaymentRequestPaymentSource(t);case 7:r=e.sent,n.props.onPaymentSourceAdd(r.id),e.next=13;break;case 11:e.prev=11,e.t0=e.catch(4);case 13:case"end":return e.stop()}}),e,null,[[4,11]])})));return function(t){return e.apply(this,arguments)}}(),n.handlePaypalAdd=W(regeneratorRuntime.mark((function e(){var t,r,a,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.props,r=t.braintreeEmail,a=t.braintreeNonce,o=t.billingAddressInfo,0!==r.length&&null!=a){e.next=3;break}return e.abrupt("return");case 3:return e.prev=3,e.next=6,u.createPaypalPaymentSource(a,o);case 6:i=e.sent,n.props.onPaymentSourceAdd(i.id),e.next=12;break;case 10:e.prev=10,e.t0=e.catch(3);case 12:case"end":return e.stop()}}),e,null,[[3,10]])}))),n.renderBackButton=function(){var e=n.props,t=e.step,r=e.steps,a=e.paymentSources,o=e.onBack,i=(0,T.getStepIndex)(t,r),l=(0,T.canGoBack)(i,a)?j.default.Messages.BACK:j.default.Messages.CANCEL;return H(_.default,{look:_.default.Looks.LINK,className:k.default.backButton,color:k.default.backButtonColor,size:k.default.backButtonSize,onClick:o},void 0,l)},n.stepRenderer=x(((t={})[T.Steps.PAYMENT_TYPE]={renderBody:function(){var e=n.props,t=e.hidePersonalInformation,r=e.onChoosePaymentType,o=e.isGiftable,i=e.needsToBeGift,l=e.isGift;return t?H(g.default,{className:k.default.errorBlock},void 0,j.default.Messages.BILLING_ERROR_ADD_PAYMENT_SOURCE_STREAMER_MODE):H(a.Fragment,{},void 0,H(M.default,{className:k.default.choosePaymentSourceType,onChooseType:r,allowStripeRequestPayments:!C.default.embedded,onStripePaymentMethodReceived:n.handleStripePaymentRequestAdd}),o&&H(h.default,{disabled:i,className:k.default.giftToggle,type:h.default.Types.INVERTED,value:l,onChange:n.handleToggleIsGift},void 0,H("div",{className:k.default.checkboxLabel},void 0,j.default.Messages.BILLING_IS_GIFT_PURCHASE)))},renderFooter:function(){return H(O.ModalFooter,{direction:E.default.Direction.HORIZONTAL},void 0,n.renderBackButton())}},t[T.Steps.PAYMENT_REQUEST_INFO]={renderBody:function(){return H(R.PaymentRequestStepBody,{className:k.default.formItem,stripePaymentMethod:n.props.stripePaymentMethod,submitting:n.props.submitting})},renderFooter:function(){return H(O.ModalFooter,{direction:E.default.Direction.HORIZONTAL},void 0,n.renderBackButton())}},t[T.Steps.PAYPAL]={renderBody:function(){return H(N.default,{className:k.default.formItem})},renderFooter:function(){var e=n.props,t=e.submitting,r=e.braintreeNonce,a=e.braintreeEmail,o=e.onPaypalContinue,i=e.paypalClient;return H(L.PaypalStepFooter,{submitting:t||null==i,braintreeNonce:r,braintreeEmail:a,onPaypalContinue:o,onReopenPaypal:n.handleReopenPaypal,renderBackButton:n.renderBackButton})}},t[T.Steps.CREDIT_CARD_INFORMATION]={renderBody:function(){var e=n.props.billingError;return H(P.CreditCardInformationBody,{onCardInfoChange:n.handleCardInfoChange,billingError:e})},renderFooter:function(){var e=n.props,t=e.isCardInfoValid,r=e.submitting;return H(o.ElementsConsumer,{},void 0,(function(e){var a=e.stripe,o=e.elements;return H(P.CreditCardInformationFooter,{isCardInfoValid:t,submitting:r,renderBackButton:n.renderBackButton,onCreditCardContinue:function(){n.onCreditCardSubmit(a,o)}})}))}},t[T.Steps.PAYPAL_ADDRESS]={renderBody:function(){var e=n.props,t=e.billingAddressInfo,r=e.billingError;return H(A.AddressStepBody,{billingAddressInfo:t,billingError:r,onBillingAddressChange:n.handleBillingAddressChange})},renderFooter:function(){var e=n.props,t=e.isBillingAddressInfoValid,r=e.submitting;return H(A.AddressStepFooter,{isBillingAddressInfoValid:t,submitting:r,onContinue:n.handlePaypalAdd,renderBackButton:n.renderBackButton})}},t[T.Steps.ADDRESS]={renderBody:function(){var e=n.props,t=e.billingAddressInfo,r=e.billingError;return H(A.AddressStepBody,{billingAddressInfo:t,billingError:r,onBillingAddressChange:n.handleBillingAddressChange})},renderFooter:function(){var e=n.props,t=e.isBillingAddressInfoValid,r=e.submitting;return H(o.ElementsConsumer,{},void 0,(function(e){var a=e.stripe;return H(A.AddressStepFooter,{isBillingAddressInfoValid:t,submitting:r,onContinue:function(){n.handleCreditCardAdd(a)},renderBackButton:n.renderBackButton})}))}},t[T.Steps.REVIEW]={renderBody:function(){var e=n.props,t=e.legalNotice,r=e.paymentSources,a=e.price,o=e.hidePersonalInformation,i=e.paymentSourceId,l=e.onReviewPaymentSourceChange,u=e.onReviewPaymentSourceAdd,s=e.isGiftable,d=e.isGift,f=e.needsToBeGift;return H(D.ReviewStepBody,{legalNotice:t,paymentSources:r,price:a,hidePersonalInformation:o,paymentSourceId:i,onPaymentSourceChange:l,onPaymentSourceAdd:u,onPurchaseTermsChange:n.handlePurchaseTermsChange,onToggleIsGift:n.handleToggleIsGift,isGiftable:s,isGift:d,needsToBeGift:f})},renderFooter:function(){var e=n.props,t=e.canSubmit,r=e.submitButtonText,a=e.useShinySubmitButton,o=e.isPurchasing,i=e.paymentSourceId,l=e.onPurchase,u=e.needsToBeGift,s=e.isGift,d=e.paymentSources;return H(D.ReviewStepFooter,{canSubmit:t,submitButtonText:r,useShinySubmitButton:a,isPurchasing:o,hasAcceptedTerms:n.state.hasAcceptedNeccessaryTerms,paymentSource:null!=i?d[i]:null,onPurchase:l,tooltipText:n.disabledTooltip,needsToBeGift:u,isGift:s})}},t[T.Steps.CONFIRM]={renderBody:w.NOOP_NULL,renderFooter:w.NOOP_NULL},t[T.Steps.AWAITING_AUTHENTICATION]={renderBody:function(){return H(S.FormTitle,{className:k.default.formTitle},void 0,j.default.Messages.PAYMENT_WAITING_FOR_AUTHENTICATION)},renderFooter:w.NOOP_NULL},t),n.props.extraRenderers),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,z(t,n);var i,c,p,v=r.prototype;return v.componentDidMount=function(){s.createClient();var e=this.props,t=e.onPaymentSourceChange,n=e.paymentSources,r=e.defaultPaymentSourceId,a=e.paymentSourceId;null!=t&&(null!=a&&a!==r&&null!=n[a]?t(n[a]):null!=r&&null!=n[r]?t(n[r]):t(null))},v.componentDidUpdate=function(e){var t=this.props,n=t.onPaymentSourceChange,r=t.paymentSources,a=t.paymentSourceId;e.paymentSourceId!==a&&null!=a&&null!=r[a]&&n&&n(r[a])},v.componentWillUnmount=function(){s.teardown(),d.clearCardInfo();var e=this.props.onClearError;e&&e()},v.preventDefault=function(e){e.preventDefault()},v.renderHeader=function(){var e=this.props,t=e.renderHeader,n=e.billingError;return t(e.step,e.steps.map((function(e){return{id:e,label:(0,T.getCrumbLabels)(e)}})),null==(0,T.errorToStep)(n)?n:null)},v.onCreditCardSubmit=function(){var e=W(regeneratorRuntime.mark((function e(t,n){var r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.props.onCreditCardContinue,e.prev=1,e.next=4,u.createCardToken(t,n);case 4:a=e.sent,this.setState({stripeToken:a}),r(),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(1);case 11:case"end":return e.stop()}}),e,this,[[1,9]])})));return function(t,n){return e.apply(this,arguments)}}(),v.render=function(){var e=this.props,t=e.size,n=e.step,r=e.steps,a=e.className,o=e.transitionState,i=this.stepRenderer[n],l=i.renderBody();return H(O.ModalRoot,{size:t,className:a,"aria-label":j.default.Messages.SKU_PAYMENT_STEPS_LABEL,transitionState:o},void 0,H(I.default,{},void 0,H("form",{className:k.default.form,onSubmit:this.preventDefault},void 0,this.renderHeader(),n!==T.Steps.CONFIRM?H("div",{className:k.default.divider}):null,null!=l&&H(O.ModalContent,{className:k.default.modalContent},void 0,H("div",{className:k.default.content},void 0,H(f.default,{step:n,steps:r,sideMargin:J},void 0,l))),i.renderFooter())))},i=r,(c=[{key:"disabledTooltip",get:function(){var e=this.props,t=e.needsToBeGift,n=e.isGift,r=e.isGiftable;return this.state.hasAcceptedNeccessaryTerms?t&&!n?r?j.default.Messages.APPLICATION_STORE_PURCHASE_GIFT_ONLY:j.default.Messages.APPLICATION_STORE_PURCHASE_GIFT_ONLY_UNGIFTABLE:null:j.default.Messages.BILLING_ACCEPT_TERMS_TOOLTIP}}])&&Y(i.prototype,c),p&&Y(i,p),r}(a.PureComponent);Q.displayName="PaymentModal",Q.defaultProps={canSubmit:!0,useShinySubmitButton:!1,size:O.ModalSize.SMALL,billingError:null,extraRenderers:{},className:k.default.modal};var ee=i.default.connectStores([m.default,y.default,p.default,c.default,v.default],(function(){return{submitting:p.default.isBusy,paymentSources:m.default.paymentSources,defaultPaymentSourceId:m.default.defaultPaymentSourceId,stripePaymentMethod:y.default.stripePaymentMethod,creditCardInfo:y.default.getCreditCardInfo(),isCardInfoValid:y.default.isCardInfoValid,billingAddressInfo:y.default.getBillingAddressInfo(),isBillingAddressInfoValid:y.default.isBillingAddressInfoValid,braintreeEmail:y.default.braintreeEmail,braintreeNonce:y.default.braintreeNonce,billingError:y.default.error,paypalClient:v.default.getPayPalClient(),hidePersonalInformation:c.default.hidePersonalInformation}}))(Q);t.default=ee},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PaypalStepFooter=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=u(n(29)),o=u(n(55)),i=n(35),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var f=function(e){var t=e.submitting,n=e.braintreeNonce,r=e.braintreeEmail,u=e.onPaypalContinue,s=e.onReopenPaypal,f=e.renderBackButton,c=0!==r.length&&null!=n;return d(i.ModalFooter,{justify:o.default.Justify.BETWEEN,direction:o.default.Direction.HORIZONTAL},void 0,f(),d(a.default,{submitting:t,color:c?a.default.Colors.BRAND:a.default.Colors.PRIMARY,onClick:c?u:s},void 0,c?l.default.Messages.NEXT:l.default.Messages.PAYMENT_SOURCE_PAYPAL_REOPEN))};t.PaypalStepFooter=f,f.displayName="PaypalStepFooter"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReviewStepFooter=t.ReviewStepBody=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(5970)),i=E(n(5674)),l=E(n(485)),u=E(n(29)),s=E(n(1160)),d=E(n(5828)),f=E(n(149)),c=n(131),p=E(n(9520)),v=E(n(8565)),y=n(35),m=n(281),_=E(n(6)),h=E(n(5838));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(){return(S=Object.assign||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}).apply(this,arguments)}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var I=function(e){var t=e.legalNotice,n=e.paymentSources,r=e.price,u=e.hidePersonalInformation,d=e.paymentSourceId,f=e.isGiftable,y=e.isGift,E=e.needsToBeGift,g=e.onPaymentSourceChange,S=e.onPaymentSourceAdd,I=e.onPurchaseTermsChange,T=e.onToggleIsGift,C=[],b=null!=d?n[d]:null;return null!=b&&b.invalid&&C.push(O(o.default,{icon:v.default,color:o.default.Colors.ERROR,iconSize:o.default.Sizes.NONE,iconClassName:h.default.invalidIcon},"source_invalid",_.default.Messages.BILLING_PAYMENT_SOURCE_INVALID)),null!=r&&(r.taxInclusive?C.push(O(o.default,{icon:p.default,color:o.default.Colors.PRIMARY,iconSize:o.default.Sizes.LARGE},"tax_included",_.default.Messages.BILLING_SALES_TAX_INCLUDED)):r.tax>0&&C.push(O(o.default,{icon:p.default,color:o.default.Colors.PRIMARY,iconSize:o.default.Sizes.LARGE},"tax_added",_.default.Messages.BILLING_SALES_TAX_ADDED.format({tax:(0,m.formatPrice)(r.tax,r.currency)})))),O(a.Fragment,{},void 0,O(c.FormTitle,{className:h.default.formTitle},void 0,_.default.Messages.BILLING_PAY_FOR_IT_WITH),O(i.default,{paymentSources:Object.values(n),selectedPaymentSourceId:d,hidePersonalInformation:u,onChange:g,onPaymentSourceAdd:S}),C,f&&O(s.default,{disabled:E,className:h.default.giftToggle,type:s.default.Types.INVERTED,value:y,onChange:T},void 0,O("div",{className:h.default.checkboxLabel},void 0,_.default.Messages.BILLING_IS_GIFT_PURCHASE)),O(l.default,{onChange:I,forceShow:!0,className:h.default.purchaseTerms,finePrint:t}))};t.ReviewStepBody=I,I.displayName="ReviewStepBody";var T=function(e){var t=e.canSubmit,n=e.submitButtonText,r=e.useShinySubmitButton,o=e.isPurchasing,i=e.hasAcceptedTerms,l=e.paymentSource,s=e.onPurchase,c=e.tooltipText,p=e.needsToBeGift,v=e.isGift,m=null!=l&&!l.invalid,_=i&&!(p&&!v)&&m&&t,E={submitting:o,color:u.default.Colors.GREEN,disabled:!_,onClick:s};return O(y.ModalFooter,{},void 0,O("div",{className:h.default.buyButtonTooltipWrapper},void 0,E.disabled&&null!=c?O(f.default,{text:c},void 0,(function(e){return a.createElement("div",S({"aria-hidden":!0,className:h.default.buyButtonTooltipTarget},e))})):null,r?a.createElement(d.default,E,n):a.createElement(u.default,S({type:"submit"},E),n)))};t.ReviewStepFooter=T,T.displayName="ReviewStepFooter"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 18 20"}),s("path",{className:f,fill:d,d:"M15,15H3V13H15Zm0-4H3V9H15Zm0-4H3V5H15ZM0,20l1.5-1.5L3,20l1.5-1.5L6,20l1.5-1.5L9,20l1.5-1.5L12,20l1.5-1.5L15,20l1.5-1.5L18,20V0L16.5,1.5,15,0,13.5,1.5,12,0,10.5,1.5,9,0,7.5,1.5,6,0,4.5,1.5,3,0,1.5,1.5,0,0Z"}))}d.displayName="Receipt"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(389),o=u(n(8253)),i=u(n(9522)),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t=e.libraryApplication,n=e.onPlay,r=e.onSelect,u=(0,i.default)(t,n);return d(o.default,{navId:"launch-context",onClose:a.closeContextMenu,"aria-label":l.default.Messages.APPLICATION_ACTIONS_MENU_LABEL,onSelect:r},void 0,u)}f.displayName="ApplicationLaunchOptionsContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,a.useStateFromStores)([l.default],(function(){return l.default.getLaunchOptions(e.id,e.branchId)})),r=(0,a.useStateFromStores)([u.default],(function(){return u.default.getActiveLaunchOptionId(e.id,e.branchId)}));return n.length<2?null:n.map((function(n){return c(i.MenuItem,{id:n.id,label:n.name,action:function(a){n.id!==r&&o.setActiveLaunchOptionId(e.id,e.branchId,n.id),t&&t(a)}})}))};f(n(0));var r,a=n(3),o=f(n(8716)),i=n(8253),l=s(n(155)),u=s(n(120));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(9)),i=h(n(8470)),l=h(n(8636)),u=n(8893),s=h(n(29)),d=h(n(9527)),f=h(n(9528)),c=h(n(9529)),p=n(289),v=n(8614),y=h(n(8833)),m=n(1),_=h(n(7554));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var O=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),v=0;v<n;v++)r[v]=arguments[v];return(t=e.call.apply(e,[this].concat(r))||this).renderActions=function(){var e=t.props,n=e.inLibrary,r=e.sku,a=e.renderCustomActions,o=e.isMouseOver,d=(e.showBuyInline||!r.requiresPayment)&&!n,f=d&&o;return null!=a?a():g("div",{className:_.default.priceOs},void 0,g(l.default,{type:l.default.Types.DIRECTORY_TILE,sku:r,inLibrary:n,className:f?_.default.tilePriceWithVisibleBuyButton:_.default.tilePrice}),g(u.OperatingSystemSection,{systems:[m.OperatingSystems.WINDOWS],className:_.default.platform}),d?g(i.default,{skuId:r.id,applicationId:r.applicationId,size:s.default.Sizes.SMALL,shouldRenderPrice:!0,onStoreListing:!0,onClick:function(e){return e.preventDefault()},className:f?_.default.tileBuyButtonVisible:_.default.tileBuyButton}):null)},t.renderMedia=function(){var e,n,r,i=t.props,l=i.playing,u=i.muted,s=i.showMediaPlaceholder,v=i.onToggleMute,y=i.sku,m=i.isHorizontal,h=i.storeListing;return g(a.Fragment,{},void 0,g(c.default,{className:(0,o.default)(_.default.splashContainer,(e={},e[_.default.splashContainerHorizontal]=m,e)),video:null!=h.previewVideo?(0,p.getAssetURL)(y.applicationId,h.previewVideo):void 0,image:null!=h.thumbnail?(0,p.getAssetURL)(y.applicationId,h.thumbnail,600):null,title:y.name,playing:l,muted:u,placeholder:s,onToggleMute:v,splashClassName:_.default.splashVideo,splashPlaceholderClassName:_.default.splashPlaceholder}),y.exclusive?g(d.default,{className:(0,o.default)(_.default.exclusiveRegular,(n={},n[_.default.exclusivePlaying]=l,n))}):y.isTheGameAwardsWinner?g(f.default,{className:(0,o.default)(_.default.exclusiveRegular,(r={},r[_.default.exclusivePlaying]=l,r))}):null)},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n),r.prototype.render=function(){var e=this.props,t=e.sku,n=e.storeListing,r=e.isHorizontal,a=e.className,o=e.renderCustomTagline,i=e.renderCustomTitle;return g(e.isEmbed?v.ResponsiveEmbedTile:y.default,{className:a,renderMedia:this.renderMedia,renderTitle:null!=i?i:function(){return t.name},renderTagline:null!=o?o:function(){return n.tagline},renderActions:this.renderActions,isHorizontal:r})},r}(a.PureComponent);O.displayName="ApplicationTile",O.defaultProps={showMediaPlaceholder:!1,isMouseOver:!1,showBuyInline:!1,isHorizontal:!1,isEmbed:!1};var I=O;t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("rect",{width:"24",height:"24"});function f(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,f=void 0===l?"currentColor":l,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:c,fill:f,d:"M14.62 8.35c-.42.28-1.75 1.04-1.95 1.19-.39.31-.75.29-1.14-.01-.2-.16-1.53-.92-1.95-1.19-.48-.31-.45-.7.08-.92 1.64-.69 3.28-.64 4.91.03.49.21.51.6.05.9m7.22 7.28c-.93-2.09-2.2-3.99-3.84-5.66a4.31 4.31 0 0 1-1.06-1.88c-.1-.33-.17-.67-.24-1.01-.2-.88-.29-1.78-.7-2.61-.73-1.58-2-2.4-3.84-2.47-1.81.05-3.16.81-3.95 2.4-.21.43-.36.88-.46 1.34-.17.76-.32 1.55-.5 2.32-.15.65-.45 1.21-.96 1.71-1.61 1.57-2.9 3.37-3.88 5.35-.14.29-.28.58-.37.88-.19.66.29 1.12.99.96.44-.09.88-.18 1.3-.31.41-.15.57-.05.67.35.65 2.15 2.07 3.66 4.24 4.5 4.12 1.56 8.93-.66 9.97-4.58.07-.27.17-.37.47-.27.46.14.93.24 1.4.35.49.09.85-.16.92-.64.03-.26-.06-.49-.16-.73"}),d))}f.displayName="OsLinux"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("rect",{width:"24",height:"24"});function f(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,f=void 0===l?"currentColor":l,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:c,fill:f,d:"M18.64 19.499c-.82 1.24-1.687 2.45-3.008 2.47-1.322.03-1.746-.79-3.245-.79-1.508 0-1.972.77-3.224.82-1.292.05-2.268-1.32-3.097-2.53-1.686-2.47-2.978-7.02-1.242-10.08.858-1.52 2.396-2.48 4.063-2.51 1.262-.02 2.465.87 3.244.87.77 0 2.229-1.07 3.757-.91.64.03 2.436.26 3.59 1.98-.09.06-2.14 1.28-2.12 3.81.029 3.02 2.612 4.03 2.642 4.04-.03.07-.414 1.44-1.36 2.83zm-5.631-16c.72-.829 1.913-1.459 2.899-1.499.128 1.17-.336 2.35-1.026 3.19-.68.85-1.804 1.51-2.909 1.42-.148-1.15.404-2.35 1.036-3.11z"}),d))}f.displayName="OsMac"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("rect",{width:"24",height:"24"});function f(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,f=void 0===l?"currentColor":l,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:c,fill:f,d:"M4 11.526V6.553l5.684-1.25v6.138L4 11.526zM20.105 3v8.29l-9.473.142V5.094L20.105 3zM4 12.474l5.684.085v6.452L4 17.92v-5.447zm16.105.237V21l-9.473-1.81v-6.622l9.473.143z"}),d))}f.displayName="OsWindows"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(9)),o=l(n(6)),i=l(n(7551));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=function(e){var t=e.className;return s("div",{className:(0,a.default)(i.default.tag,t)},void 0,s("span",{className:i.default.text},void 0,o.default.Messages.APPLICATION_STORE_FIRST_ON_DISCORD))};d.displayName="FirstOnDiscordTag";var f=d;t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(9)),o=l(n(6)),i=l(n(7552));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=function(e){var t=e.className;return s("div",{className:(0,a.default)(i.default.tag,t)},void 0,s("span",{className:i.default.text},void 0,o.default.Messages.APPLICATION_STORE_THE_GAME_AWARDS_WINNER))};d.displayName="TheGameAwardsTag";var f=d;t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=_(n(9)),i=_(n(273)),l=n(57),u=_(n(469)),s=n(299),d=_(n(61)),f=_(n(8894)),c=_(n(151)),p=_(n(8276)),v=_(n(8724)),y=_(n(5945)),m=_(n(7553));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,S(e,t)}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var O=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._animatedValue=new i.default.Value(1),t.state={imageLoadError:!1,imageLoading:!0},t.componentWillEnter=function(e){t._animatedValue.setValue(0),i.default.timing(t._animatedValue,{toValue:1,duration:400}).start(e)},t.componentWillLeave=function(e){i.default.timing(t._animatedValue,{toValue:0,duration:400}).start(e)},t.getImageStyle=function(){return{opacity:t._animatedValue}},t.handleImageError=function(){t.setState({imageLoadError:!0,imageLoading:!1})},t.handleImageLoaded=function(){t.setState({imageLoading:!1})},t}g(t,e);var n=t.prototype;return n.renderMedia=function(){var e,t=this.props,n=t.src,r=t.className,a=t.title,l=this.state.imageLoading;return E(i.default.img,{className:(0,o.default)((e={},e[m.default.imageLoading]=l,e),r),src:n,alt:a,style:this.getImageStyle(),onError:this.handleImageError,onLoad:this.handleImageLoaded})},n.render=function(){var e=this.props,t=e.className,n=e.title,r=e.src,a=this.state,l=a.imageLoadError,u=a.imageLoading;return null==r||l?E(i.default.div,{className:(0,o.default)(m.default.titleContainer,t),style:this.getImageStyle()},void 0,n):E(i.default.div,{className:(0,o.default)(u?m.default.loadingContainer:null,t),style:this.getImageStyle()},void 0,u?E(c.default,{className:m.default.spinner,itemClassName:m.default.spinnerItem,type:c.default.Type.PULSING_ELLIPSIS,animated:!0}):null,this.renderMedia())},t}(a.Component);O.displayName="TileMediaImage";var I=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={currentIndex:0,videoLoadError:!1,videoLoaded:!1},t._video=a.createRef(),t.videoTimeout=new l.Timeout,t.videoPlaying=!1,t.handleToggleMute=function(e){e.stopPropagation(),e.preventDefault();var n=t.props.onToggleMute;n&&n(e)},t.handleVideoError=function(){t.setState({videoLoadError:!0})},t.handleVideoLoaded=function(){t.setState({videoLoaded:!0})},t.renderTypeVideo=function(){var e,n=t.state.videoLoaded,r=t.props,i=r.video,l=r.image,f=r.title,c=r.playing,_=r.muted,h=r.splashClassName,g=r.splashPlaceholderClassName,S=r.renderMediaOverlay,I=_?v.default:p.default;return E(a.Fragment,{},void 0,s.isMobile?null:a.createElement(y.default,{className:(0,o.default)(m.default.splash,h),muted:_,loop:!0,preload:"none",ref:t._video,onLoadedMetadata:t.handleVideoLoaded,onError:t.handleVideoError},E("source",{src:i,type:"video/mp4"})),E(u.default,{},void 0,c&&n?null:E(O,{className:(0,o.default)(m.default.splashPlaceholder,g),src:l,title:f},0)),E(d.default,{className:(0,o.default)(m.default.muteContainer,(e={},e[m.default.muteContainerPlaying]=c&&n,e[m.default.muteContainerMediaOverlay]=null!=S,e)),onClick:t.handleToggleMute},void 0,c&&n?E(I,{className:m.default.mute}):null))},t.nextItem=function(){var e=t.props.slideImages;null!=e&&t.setState({currentIndex:(t.state.currentIndex+1)%e.length})},t.renderSlideItem=function(e){var n=t.props,r=n.image,a=n.title,i=n.playing,l=n.splashClassName,u=t.state.currentIndex;return i?E(O,{className:(0,o.default)(m.default.splash,l),src:e[u],title:a},u):E(O,{className:(0,o.default)(m.default.splash,l),src:r,title:a},"image")},t}g(t,e);var n=t.prototype;return n.componentWillUnmount=function(){this.videoTimeout.stop()},n.componentDidUpdate=function(e){var t=this,n=this.props.playing,r=this._video.current;if(null!=r)if(n&&!e.playing){this.videoTimeout.stop(),isFinite(r.duration)&&isFinite(r.currentTime)&&(r.currentTime=0),r.volume=.3;var a=r.play();null!=a&&a.then((function(){t.videoPlaying=!0}))}else e.playing&&!n&&this.videoTimeout.start(400,(function(){t.videoPlaying&&(r.pause(),t.videoPlaying=!1)}))},n.renderTypeImage=function(){var e=this.props,t=e.playing,n=e.slideImages,r=e.image,a=e.title,i=e.splashClassName;return null==n?E(O,{className:(0,o.default)(m.default.splash,i),src:r,title:a},"image"):E(f.default,{onInterval:this.nextItem,interval:2e3,className:m.default.slideshowWrapper,disable:!t},void 0,E(u.default,{},void 0,this.renderSlideItem(n)))},n.render=function(){var e=this.props,t=e.video,n=e.className,r=e.placeholder,a=e.renderMediaOverlay,i=e.playing,l=this.state,u=l.videoLoadError,s=l.videoLoaded;return r?E("div",{className:n}):E("figure",{className:(0,o.default)(m.default.tileMedia,n)},void 0,null==t||u?this.renderTypeImage():this.renderTypeVideo(),null!=a&&a(i&&s))},t}(a.Component);I.displayName="TileMedia";var T=I;t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=_(n(8514)),l=n(8896),u=_(n(29)),s=_(n(61)),d=_(n(686)),f=_(n(8345)),c=_(n(47)),p=_(n(24)),v=_(n(9531)),y=_(n(6)),m=_(n(7557));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var g=function(e){var t=e.channelId,n=e.messageId,r=(0,o.useStateFromStores)([v.default],(function(){return v.default.shouldShowBump(n)}),[n]),_=a.useCallback((function(){i.default.dismissPublishBump(n),(0,l.confirmPublish)(t,n)}),[t,n]),h=a.useCallback((function(){i.default.dismissPublishBump(n)}),[n]),g=a.useCallback((function(){i.default.permanentlyHidePublishBump(t)}),[t]);return r?E("div",{className:m.default.container},void 0,E("div",{className:m.default.bumpBox},void 0,E(f.default,{className:m.default.icon}),E(c.default,{className:m.default.tagline,size:c.default.Sizes.SIZE_14},void 0,y.default.Messages.NEWS_CHANNEL_PUBLISH_BUMP),E(u.default,{color:u.default.Colors.BRAND,look:u.default.Looks.LINK,size:u.default.Sizes.MIN,className:m.default.publish,onClick:_},void 0,y.default.Messages.NEWS_CHANNEL_PUBLISH),E(s.default,{onClick:h},void 0,E(d.default,{className:m.default.closeIcon,width:16,height:16}))),E(p.default,{color:p.default.Colors.MUTED,className:m.default.hidePermanently},void 0,E(s.default,{onClick:g},void 0,y.default.Messages.NEWS_CHANNEL_PUBLISH_BUMP_HIDE_PERMANENTLY))):null};g.displayName="ChannelFollowingPublishBump";var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(3)),a=p(n(28)),o=p(n(2)),i=p(n(11)),l=p(n(10)),u=p(n(40)),s=p(n(12)),d=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(99)),f=n(1);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){return e&&e.__esModule?e:{default:e}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=new Set,m=new Set;var _=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var o=r.prototype;return o.initialize=function(){this.waitFor(i.default),y=new Set(a.default.get("ChannelFollowingBumpChannels"))},o.shouldShowBump=function(e){return m.has(e)},r}(r.default.Store))(o.default,{MESSAGE_CREATE:function(e){var t=e.channelId,n=e.message;if(e.optimistic)return!1;if(y.has(t))return!1;var r=l.default.getChannel(t),a=s.default.getCurrentUser();if(!(null!=r&&r.type===f.ChannelTypes.GUILD_ANNOUNCEMENT&&n.type===f.MessageTypes.DEFAULT&&(n.author.id===a.id?u.default.can(f.Permissions.SEND_MESSAGES,r):u.default.can(f.Permissions.MANAGE_MESSAGES,r))&&!d.hasFlag(n.flags,f.MessageFlags.CROSSPOSTED)))return!1;m.add(n.id)},MESSAGE_UPDATE:function(e){var t=e.message;m.has(t.id)&&d.hasFlag(t.flags,f.MessageFlags.CROSSPOSTED)&&m.delete(t.id)},CHANNEL_SELECT:function(e){m.clear()},CHANNEL_FOLLOWING_PUBLISH_BUMP_DISMISSED:function(e){var t=e.messageId;m.delete(t)},CHANNEL_FOLLOWING_PUBLISH_BUMP_HIDE_PERMANENTLY:function(e){var t=e.channelId;y.add(t),a.default.set("ChannelFollowingBumpChannels",y),m.clear()}});t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=v(n(8314)),l=v(n(9533)),u=n(41),s=v(n(1176)),d=n(296),f=v(n(8743)),c=v(n(6)),p=v(n(7561));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=_(i.default.Body,{resolving:!0}),E=_(i.default.Icon,{expired:!0});function g(e){var t=e.code,n=(0,o.useStateFromStores)([s.default],(function(){return s.default.getGuildTemplate(t)}));if(null==n||n.state===d.GuildTemplateStates.RESOLVING)return _(i.default,{},void 0,_(i.default.Header,{text:c.default.Messages.GUILD_TEMPLATE_RESOLVING_TITLE}),h);if(n.state===d.GuildTemplateStates.EXPIRED)return _(i.default,{},void 0,_(i.default.Header,{text:c.default.Messages.GUILD_TEMPLATE_INVALID_TITLE}),_(i.default.Body,{},void 0,E,_(i.default.Info,{expired:!0,title:c.default.Messages.GUILD_TEMPLATE_INVALID_SUBTITLE})));var r=__OVERLAY__?_(i.default.Button,{isDisabled:!0,color:i.default.Button.Colors.GREY},void 0,c.default.Messages.GUILD_TEMPLATE_EMBED_VIEW_IN_APP):_(i.default.Button,{onClick:function(){(0,u.openModal)((function(e){return a.createElement(f.default,m({},e,{guildTemplate:n}))}))},submitting:n.state===d.GuildTemplateStates.ACCEPTING,color:i.default.Button.Colors.GREEN},void 0,c.default.Messages.GUILD_TEMPLATE_OPEN);return _(i.default,{},void 0,_(i.default.Header,{text:c.default.Messages.GUILD_TEMPLATE_RESOLVED_EMBED_TITLE}),_(i.default.Body,{},void 0,_(l.default,{className:p.default.icon}),_(i.default.Info,{title:n.name},void 0,c.default.Messages.GUILD_TEMPLATE_USAGES.format({usageCount:n.usageCount||0})),r))}g.displayName="GuildTemplateEmbed"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?40:t,r=e.height,a=void 0===r?40:r,l=e.color,d=void 0===l?"currentColor":l,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color"]);return o.createElement("svg",u({},(0,i.default)(f),{width:n,height:a,style:{minWidth:n,minHeight:a},viewBox:"0 0 40 40"}),s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 4C15.5817 4 12 7.58172 12 12V20C12 24.4183 15.5817 28 20 28H28C32.4183 28 36 24.4183 36 20V12C36 7.58172 32.4183 4 28 4H20ZM19.5962 21.6084C19.5599 21.8126 19.717 22 19.9244 22H20.5806C20.7422 22 20.8806 21.8841 20.9088 21.7249L21.3333 19.3333H25.3333L24.9295 21.6084C24.8932 21.8126 25.0503 22 25.2577 22H25.9139C26.0756 22 26.2139 21.8841 26.2421 21.7249L26.6667 19.3333H29.0533C29.2152 19.3333 29.3537 19.217 29.3816 19.0575L29.4983 18.3908C29.534 18.1868 29.377 18 29.1699 18H26.9L27.6067 14H29.9933C30.1552 14 30.2937 13.8836 30.3216 13.7241L30.4383 13.0575C30.474 12.8535 30.317 12.6667 30.1099 12.6667H27.84L28.2438 10.3916C28.2801 10.1874 28.123 10 27.9156 10H27.2594C27.0977 10 26.9594 10.1159 26.9312 10.2751L26.5067 12.6667H22.5067L22.9105 10.3916C22.9467 10.1874 22.7897 10 22.5823 10H21.926C21.7644 10 21.6261 10.1159 21.5978 10.2751L21.1733 12.6667H18.7867C18.6248 12.6667 18.4863 12.783 18.4584 12.9425L18.3417 13.6092C18.306 13.8132 18.463 14 18.6701 14H20.94L20.2333 18H17.8467C17.6848 18 17.5463 18.1164 17.5184 18.2759L17.4017 18.9425C17.366 19.1465 17.523 19.3333 17.7301 19.3333H20L19.5962 21.6084ZM21.5669 18L22.2736 14H26.2736L25.5669 18H21.5669Z",fill:d}),s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.33335 14.0208C6.11738 16.1734 4 19.8395 4 24C4 30.6274 9.37258 36 16 36C20.1604 36 23.8262 33.8829 25.979 30.6672H24.3268C22.372 33.1055 19.3683 34.6667 16 34.6667C10.109 34.6667 5.33333 29.8911 5.33333 24C5.33333 20.6315 6.89477 17.6277 9.33335 15.6729V14.0208Z",fill:d}))}d.displayName="TemplateIcon"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(14)),a=d(n(2)),o=n(42),i=d(n(709)),l=d(n(86)),u=d(n(15)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}var f={acceptGuildTemplate:function(e,t,n){return a.default.dirtyDispatch({type:s.ActionTypes.GUILD_TEMPLATE_ACCEPT,code:e}),new Promise((function(d,f){r.default.post({url:s.Endpoints.UNRESOLVED_GUILD_TEMPLATE(e),body:{name:t,icon:n},oldFormErrors:!0}).then((function(t){var n=t.body;a.default.dispatch({type:s.ActionTypes.GUILD_TEMPLATE_ACCEPT_SUCCESS,code:e,guild:n}),i.default.isConnected()?u.default.addConditionalChangeListener((function(){var e;if(null!=u.default.getGuild(n.id))return(0,o.transitionToGuild)(n.id,null===(e=l.default.getDefaultChannel(n.id))||void 0===e?void 0:e.id),d(n),!1})):((0,o.transitionToGuild)(n.id),d(n))}),(function(t){a.default.dispatch({type:s.ActionTypes.GUILD_TEMPLATE_ACCEPT_FAILURE,code:e}),f(t.body)}))}))}};t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=a.useRef([]);a.useEffect((function(){null!=e&&e.state!==i.GuildTemplateStates.RESOLVING&&(t.current.includes(e.code)||(t.current.push(e.code),o.default.track(l.AnalyticEvents.CREATE_GUILD_VIEWED,{guild_template_code:e.code,guild_template_name:e.name,guild_template_description:e.description,guild_template_guild_id:e.sourceGuildId})))}))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(13))&&r.__esModule?r:{default:r},i=n(296),l=n(1);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}},function(e,t,n){e.exports=n.p+"35edf813c8596f469ab56e28edc63969.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(286),l=v(n(8610)),u=n(8637),s=n(8899),d=v(n(9539)),f=v(n(9540)),c=v(n(9541)),p=v(n(7566));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e,t,n){switch(t.type){case i.ComponentType.ACTION_ROW:return a.createElement(c.default,_({key:n,message:e,renderComponent:h},t));case i.ComponentType.BUTTON:return a.createElement(d.default,_({key:n,message:e},t));case i.ComponentType.SELECT:return a.createElement(f.default,_({key:n,message:e},t))}}function E(e){var t=e.message,n=(0,o.useStateFromStores)([l.default],(function(){return l.default.getInteraction(t)}),[t]),r=a.useMemo((function(){var e;return(0,u.createComponents)(t,null!==(e=t.components)&&void 0!==e?e:[],n)}),[t,n]);return 0===r.length?null:m("div",{className:p.default.container},void 0,(0,s.renderComponents)(t,r,h))}E.displayName="MessageInteractionComponents"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SelectComponentExperiment=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-05_bot_ui_kit_select",label:"Bot UI Kit Select",defaultConfig:{enabled:!1},treatments:[{id:1,label:"Enabled",config:{enabled:!0}}]});t.SelectComponentExperiment=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=P;var r,a=T(n(0)),o=O(n(9)),i=n(389),l=O(n(5938)),u=n(286),s=n(8506),d=T(n(8253)),f=O(n(10)),c=O(n(29)),p=O(n(8744)),v=O(n(1251)),y=n(730),m=n(1163),_=n(8638),h=n(8637),E=O(n(6)),g=O(n(7562)),S=O(n(7563));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function C(){return(C=Object.assign||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}).apply(this,arguments)}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(e){switch(e){case u.ButtonStyle.PRIMARY:return c.default.Colors.BRAND;case u.ButtonStyle.SUCCESS:return c.default.Colors.GREEN;case u.ButtonStyle.DESTRUCTIVE:return c.default.Colors.RED;default:return c.default.Colors.GREY}}function N(e){var t=e.url,n=e.onSelect;return m.SUPPORTS_COPY&&null!=t?b(d.default,{navId:"component-button",onClose:i.closeContextMenu,"aria-label":E.default.Messages.MESSAGE_BUTTON_COMPONENT_LINK_CONTEXT_MENU_NAME,onSelect:n},void 0,b(d.MenuGroup,{},void 0,b(d.MenuItem,{id:"copy",label:E.default.Messages.MESSAGE_BUTTON_COMPONENT_LINK_CONTEXT_MENU_COPY,action:function(){return(0,m.copy)(t)}}))):null}N.displayName="ButtonLinkContextMenu";var A=b(v.default,{dotRadius:3.5,themed:!0});function P(e){var t,n,r,d=e.message,v=e.label,m=e.style,E=e.disabled,O=e.emoji,I=e.url,T=e.customId,P=e.hash,R=e.indices,L=e.applicationId,D=e.state,w=(0,h.useIsComponentDisabled)(d.channel_id),j=null!=O,k=null!=v&&v.length>0,U=m===u.ButtonStyle.LINK&&null!=I&&I.length>0,G=D===_.ActionComponentState.LOADING;return r=U?function(){(0,y.handleClick)({href:I||"",shouldConfirm:!0})}:function(){var e=f.default.getChannel(d.channel_id);null!=e&&null!=T&&(0,s.executeMessageComponentInteraction)({componentType:u.ComponentType.BUTTON,messageId:d.id,messageFlags:d.flags,customId:T,hash:P,indices:R,applicationId:L,channelId:e.id,guildId:e.guild_id})},b(c.default,{className:g.default.component,color:M(m),size:c.default.Sizes.SMALL,disabled:E||D===_.ActionComponentState.DISABLED||w,onClick:r,onContextMenu:function(e){U&&(0,i.openContextMenu)(e,(function(e){return a.createElement(N,C({},e,{url:I}))}))},role:U?"link":"button"},void 0,b("div",{className:(0,o.default)(S.default.content,(t={},t[S.default.hidden]=G,t)),"aria-hidden":G},void 0,j?b(l.default,{className:(0,o.default)((n={},n[S.default.textEmoji]=k,n)),src:O.src,emojiId:O.id,emojiName:O.name,animated:O.animated}):null,k?b("div",{className:S.default.label},void 0,v):null,U?b(p.default,{className:S.default.launchIcon,width:16,height:16}):null),G?b("div",{className:S.default.loading},void 0,A):null)}P.displayName="ButtonActionComponent"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=N;var r,a=S(n(0)),o=E(n(9)),i=n(3),l=E(n(5938)),u=n(286),s=n(8506),d=E(n(10)),f=n(8609),c=E(n(1251)),p=S(n(374)),v=n(8638),y=n(8637),m=E(n(8898)),_=E(n(6)),h=E(n(7564));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function O(){return(O=Object.assign||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}).apply(this,arguments)}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(e){var t,n=e.emoji,r=e.label,a=e.description,i=e.isDisabled,u=e.isOffset,s=(0,o.default)(h.default.labelContainer,((t={})[h.default.disabled]=i,t[h.default.offset]=null==n&&u,t));return I("div",{className:h.default.option},void 0,null!=n?I(l.default,{className:h.default.emoji,emojiId:n.id,emojiName:n.name,animated:n.animated}):null,I("div",{className:s},void 0,I("strong",{className:h.default.label},void 0,r),null!=a?I("span",{className:h.default.description},void 0,a):null))}function C(e){var t=e.emoji,n=e.label;return I("div",{className:h.default.option},void 0,I("div",{className:(0,o.default)(h.default.value,h.default.singleValue)},void 0,null!=t?I(l.default,{className:h.default.emoji,src:t.src,emojiId:t.id,emojiName:t.name,animated:t.animated}):null,I("span",{},void 0,n)))}function b(e){var t=e.options;return I("div",{className:h.default.option},void 0,I("div",{className:h.default.value},void 0,t.map((function(e){return I("span",{className:h.default.tag},e.value,e.label)}))))}T.displayName="OptionLabel",C.displayName="OptionValue",b.displayName="OptionPills";var M=I(c.default,{dotRadius:3.5,themed:!0});function N(e){var t=e.message,n=e.applicationId,r=e.options,o=e.customId,l=e.hash,c=e.indices,E=e.placeholder,g=e.maxValues,S=e.minValues,N=e.disabled,A=e.state,P=(0,y.useIsComponentDisabled)(t.channel_id),R=(0,i.useStateFromStores)([m.default],(function(){return m.default.getInteractionComponentState(t.id,c)})),L=g>1,D=A===v.ActionComponentState.LOADING,w=a.useState(!1),j=w[0],k=w[1],U=a.useState(null),G=U[0],F=U[1],B=a.useState((function(){return new Set(r.filter((function(e){return e.default})).map((function(e){return e.value})))})),H=B[0],x=B[1],V=a.useState(H),W=V[0],Y=V[1],z=a.useMemo((function(){return r.some((function(e){return null!=e.emoji}))}),[r]);a.useEffect((function(){var e=new Set(r.filter((function(e){return e.default})).map((function(e){return e.value})));x(e),Y(e)}),[r]),a.useEffect((function(){if(null!=R){var e=R.selectedOptions.map((function(e){var t;return null===(t=r[e])||void 0===t?void 0:t.value}));x(new Set(e)),Y(new Set(e))}}),[c,r,t.id,R]);var K=a.useCallback((function(){return _.default.Messages.MESSAGE_SELECT_COMPONENT_SELECT_REQUIREMENT.format({count:S})}),[S]),$=a.useCallback((function(){if(L&&(H.size<S||H.size>g))F(K());else if(W!==H){F(null),Y(H);var e=d.default.getChannel(t.channel_id);null!=e&&null!=o&&(0,s.executeMessageComponentInteraction)({componentType:u.ComponentType.SELECT,messageId:t.id,messageFlags:t.flags,customId:o,hash:l,indices:c,applicationId:n,channelId:e.id,guildId:e.guild_id,httpBodyData:{values:Array.from(H)},localState:{selectedOptions:Array.from(H).map((function(e){return r.findIndex((function(t){return t.value===e}))}))}})}}),[L,H,S,g,F,K,W,Y,n,o,l,c,t,r]);a.useEffect((function(){j||H.size===W.size&&Array.from(W).every((function(e){return H.has(e)}))||$()}),[j,H,W,$]);var Z=(0,p.useVariableSelect)({value:H,onChange:function(e){return x(e)},isMulti:L});return I(a.Fragment,{},void 0,I("div",{className:h.default.container},void 0,a.createElement(p.default,O({isDisabled:N||P,className:h.default.select,options:r.map((function(e){return O({},e,{disabled:L&&!H.has(e.value)&&H.size===g})})),placeholder:null!=E?E:_.default.Messages.MESSAGE_SELECT_COMPONENT_DEFAULT_PLACEHOLDER,onClose:function(){return k(!1)},onOpen:function(){return k(!0)},maxVisibleItems:5,closeOnSelect:!L,optionClassName:h.default.selectOption,renderOptionLabel:function(e){return a.createElement(T,O({},e,{isDisabled:L&&!H.has(e.value)&&H.size===g,isOffset:z}))},renderOptionValue:function(e){return L?I(b,{options:e}):a.createElement(C,e[0])}},Z)),D?I("div",{className:h.default.loading},void 0,M):null),null!=G?a.createElement(f.InteractionStatusMessage,O({},(0,f.getFailedContent)(G),{className:h.default.error})):null)}N.displayName="SelectActionComponent"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(8609)),o=n(8899),i=l(n(7565));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t=e.message,n=e.components,r=e.errorText,l=e.renderComponent,u=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["message","components","errorText","renderComponent"]);return null==n||0===n.length?null:d("div",{className:i.default.container},void 0,d("div",{className:i.default.children},void 0,(0,o.renderComponents)(t,n,l)),d(a.default,{className:i.default.error,message:t,component:s({errorText:r},u)}))}f.displayName="ActionRowLayoutComponent"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(8308),i=m(n(61)),l=m(n(278)),u=m(n(149)),s=m(n(8900)),d=n(139),f=n(5944),c=m(n(5936)),p=m(n(9543)),v=m(n(7568)),y=m(n(7349));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(){return(h=Object.assign||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}).apply(this,arguments)}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var g=(0,d.cssValueToNumber)(y.default.stickerDimension),S=function(e){var t=e.renderableSticker,n=e.channel,r=e.isInteracting,d=a.useState(!0),y=d[0],m=d[1],_=a.useState(String(Date.now())),S=_[0],O=_[1],I=(0,f.useStickerForRenderableSticker)(t,r)[0],T=null!=I,C=E("span",{className:v.default.stickerName},void 0,E(s.default,{className:v.default.stickerIcon}),(null!=I?I:t).name);return E(l.default,{align:l.default.Align.CENTER,animation:l.default.Animation.TRANSLATE,positionKey:S,onRequestClose:function(){m(!0)},renderPopout:function(e){return a.createElement(p.default,h({},e,{renderableSticker:t,channel:n,refreshPositionKey:function(){return O(String(Date.now()))}}))}},void 0,(function(e){var n=e.onClick;return a.createElement(u.default,h({},o.EXPRESSION_TOOLTIP_PROPS,{shouldShow:y,"aria-label":(null!=I?I:t).name,text:T?(0,o.renderClickableTooltipNode)(C):C}),(function(e){return a.createElement(i.default,h({},e,{className:v.default.clickableSticker,onClick:function(e){m(!y),n(e)},tag:"span"}),E(c.default,{isInteracting:r,size:g,sticker:null!=I?I:t}))}))}))};S.displayName="StickerMessage";var O=S;t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=H();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=B(n(9)),i=n(3),l=B(n(199)),u=B(n(473)),s=n(106),d=B(n(9544)),f=n(8591),c=n(8308),p=B(n(5948)),v=B(n(15)),y=B(n(12)),m=B(n(29)),_=B(n(61)),h=B(n(55)),E=B(n(8319)),g=B(n(5828)),S=B(n(149)),O=B(n(159)),I=B(n(8320)),T=B(n(5686)),C=B(n(47)),b=B(n(24)),M=B(n(13)),N=B(n(96)),A=n(5944),P=B(n(362)),R=n(290),L=B(n(5936)),D=n(8626),w=n(8513),j=n(9545),k=n(1),U=B(n(6)),G=B(n(7567)),F=B(n(7363));function B(e){return e&&e.__esModule?e:{default:e}}function H(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return H=function(){return e},e}function x(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function V(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){x(o,r,a,i,l,"next",e)}function l(e){x(o,r,a,i,l,"throw",e)}i(void 0)}))}}function W(){return(W=Object.assign||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}).apply(this,arguments)}function Y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function z(e){M.default.track(k.AnalyticEvents.PREMIUM_PROMOTION_OPENED,{location_page:null!=e.guild_id?k.AnalyticsPages.GUILD_CHANNEL:k.AnalyticsPages.DM_CHANNEL,location_section:k.AnalyticsSections.STICKER_POPOUT}),u.default.open(k.UserSettingsSections.PREMIUM)}function K(e){var t=e.sticker,n=e.description;return Y(h.default,{},void 0,Y(L.default,{sticker:t,size:48,isInteracting:!0}),Y(h.default,{direction:h.default.Direction.VERTICAL,justify:h.default.Justify.CENTER,className:F.default.truncatingText},void 0,Y(b.default,{className:F.default.emojiName,size:b.default.Sizes.SIZE_16},void 0,Y(E.default,{},void 0,t.name)),null!=n&&Y(b.default,{},void 0,n)))}K.displayName="StickerPopoutHeading";var $=function(e){var t=e.closePopout,n=e.sticker,r=e.channel,o=e.refreshPositionKey,l=(0,i.useStateFromStoresArray)([P.default],(function(){return[P.default.getStickerPack(n.pack_id),!P.default.hasLoadedStickerPacks,P.default.isPremiumPack(n.pack_id)]}),[n]),u=l[0],d=l[1],f=l[2],p=(0,i.useStateFromStores)([y.default],(function(){return y.default.getCurrentUser()}),[]),v=function(e){var t=e.sticker,n=e.stickerPack;return a.useMemo((function(){return null==n?[]:n.stickers.slice(0,4).reduce((function(e,n){return 3!==e.length&&n.id!==t.id?e.concat(n):e}),[])}),[t,n])}({sticker:n,stickerPack:u});(0,A.useFetchStickerPack)(n.pack_id);var h=(0,A.useFilteredStickerPackCategories)(r);if(a.useEffect((function(){o()}),[d]),a.useEffect((function(){M.default.track(k.AnalyticEvents.OPEN_POPOUT,W({type:k.AnalyticsSections.STICKER_POPOUT,guild_id:r.getGuildId(),sticker_pack_id:n.pack_id},(0,s.collectChannelAnalyticsMetadata)(r)))}),[n.pack_id]),d||null==u)return Y(c.PopoutLoadingAnimation,{className:G.default.popoutLoader});var E=N.default.isPremium(p,k.PremiumTypes.TIER_2),S=f&&E,O=function(){S?((0,j.navigateToOwnedStickerPack)({stickerPack:u,stickerPickerCategories:h}),t()):null!=u&&((0,w.openStickerPackViewAllModal)({stickerPack:u,sourceSticker:n,analyticsLocation:{section:k.AnalyticsSections.STICKER_POPOUT}}),t())};return Y(c.MessagePopoutContent,{className:G.default.popoutContent},void 0,Y(C.default,{className:G.default.packName,onClick:O},void 0,n.name),Y("p",{className:G.default.packDescription},void 0,function(e,t,n){return t?n?U.default.Messages.STICKER_POPOUT_PACK_INFO_PREMIUM.format({stickerPackName:e.name}):U.default.Messages.STICKER_POPOUT_PACK_INFO_NONPREMIUM:U.default.Messages.STICKER_POPOUT_PACK_INFO_UNAVAILABLE.format({stickerPackName:e.name})}(u,f,E)),Y("ul",{className:G.default.stickersList},void 0,v.map((function(e){return Y(_.default,{onClick:O,className:G.default.stickerWrapper},e.id,Y(L.default,{isInteracting:!0,size:80,sticker:e}))}))),f&&Y("div",{className:G.default.packActions},void 0,!E&&Y(g.default,{className:G.default.premiumButton,color:m.default.Colors.GREEN,innerClassName:G.default.premiumButtonInner,size:m.default.Sizes.SMALL,onClick:function(){return(0,D.openStickerPackPremiumUpsellModal)({section:k.AnalyticsSections.STICKER_POPOUT})}},void 0,Y(T.default,{className:G.default.premiumButtonNitroWheel}),U.default.Messages.STICKER_PACK_AVAILABLE_WITH_PREMIUM),Y(m.default,{color:m.default.Colors.PRIMARY,size:m.default.Sizes.SMALL,onClick:O},"view-sticker-pack",U.default.Messages.STICKER_VIEW_MORE_STICKERS)))};$.displayName="StandardStickerMessagePopout";var Z=function(e){var t=e.sticker,n=e.channel,r=e.closePopout,u=e.refreshPositionKey,E=a.useState(null),g=E[0],T=E[1],C=a.useState(!1),A=C[0],P=C[1],R=y.default.getCurrentUser(),D=N.default.isPremium(R,k.PremiumTypes.TIER_2),w=(0,i.useStateFromStores)([v.default],(function(){return v.default.getGuild(t.guild_id)})),j=null!=w,B=a.useState(!1),H=B[0],x=B[1],$=a.useState(null),Z=$[0],q=$[1],X=a.useMemo((function(){return{page:null!=n.guild_id?k.AnalyticsPages.GUILD_CHANNEL:k.AnalyticsPages.DM_CHANNEL,section:k.AnalyticsSections.STICKER_POPOUT}}),[n.guild_id]),J=a.useRef(W({guild_id:n.getGuildId()},(0,s.collectChannelAnalyticsMetadata)(n))).current;a.useEffect((function(){(function(){var e=V(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null==w||w.hasFeature(k.GuildFeatures.DISCOVERABLE))){e.next=6;break}return e.next=4,(0,d.default)(t.id);case 4:n=e.sent,T(n);case 6:P(!0);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[t.id,j]);var Q,ee=t.guild_id===n.getGuildId(),te=null!=g,ne=!1,re="Custom Sticker Popout";D?Q=j?ee?U.default.Messages.STICKER_POPOUT_PREMIUM_CURRENT_GUILD_DESCRIPTION:U.default.Messages.STICKER_POPOUT_PREMIUM_JOINED_GUILD_DESCRIPTION:te?U.default.Messages.STICKER_POPOUT_PREMIUM_UNJOINED_DISCOVERABLE_GUILD_DESCRIPTION:U.default.Messages.STICKER_POPOUT_PREMIUM_UNJOINED_PRIVATE_GUILD_DESCRIPTION:j?ee?(Q=U.default.Messages.STICKER_POPOUT_CURRENT_GUILD_DESCRIPTION,ne=!0,re="Custom Sticker Popout (Upsell)"):(Q=U.default.Messages.STICKER_POPOUT_JOINED_GUILD_DESCRIPTION,ne=!0,re="Custom Sticker Popout (Upsell)"):te?(Q=U.default.Messages.STICKER_POPOUT_UNJOINED_DISCOVERABLE_GUILD_DESCRIPTION,ne=!0,re="Custom Sticker Popout (Upsell)"):(Q=U.default.Messages.STICKER_POPOUT_UNJOINED_PRIVATE_GUILD_DESCRIPTION.format({openPremiumSettings:function(){z(n),r()}}),re="Custom Sticker Popout (Soft Upsell)");var ae,oe=!ne&&!j&&te&&D;if(a.useEffect((function(){u()}),[A,g]),a.useEffect((function(){M.default.track(k.AnalyticEvents.OPEN_POPOUT,W({type:re},J))}),[]),A){return Y(c.MessagePopoutContent,{className:F.default.popoutContent},void 0,(ae=function(){var e=V(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=g&&!j){e.next=2;break}return e.abrupt("return");case 2:return r(),t=g.id,e.prev=4,e.next=7,l.default.joinGuild(t);case 7:l.default.transitionToGuildSync(t),e.next=12;break;case 10:e.prev=10,e.t0=e.catch(4);case 12:case"end":return e.stop()}}),e,null,[[4,10]])})));return function(){return e.apply(this,arguments)}}(),Y("div",{className:F.default.emojiSection},void 0,Y(K,{description:Q,sticker:t}),ne&&Y(p.default,{className:F.default.ctaButton,subscriptionTier:k.PremiumSubscriptionSKUs.TIER_2,size:m.default.Sizes.SMALL,fullWidth:!0,buttonText:U.default.Messages.EMOJI_POPOUT_PREMIUM_CTA,onSubscribeModalClose:function(e){return e?ae():r()},postSuccessGuild:j||null==g?void 0:g,premiumModalAnalyticsLocation:X}),oe&&Y(m.default,{size:m.default.Sizes.SMALL,className:F.default.ctaButton,fullWidth:!0,onClick:ae},void 0,U.default.Messages.GUILD_PROFILE_JOIN_SERVER_BUTTON))),(null!=w||null!=g)&&function(){var e,n;if(te||j){var r=(null!==(e=null==g?void 0:g.stickers)&&void 0!==e?e:[]).slice(0,13).filter((function(e){return e.id!==t.id})).slice(0,12);return Y("div",{className:F.default.guildSection},void 0,Y(O.default,{className:F.default.guildTitle},void 0,j?U.default.Messages.STICKER_POPOUT_JOINED_GUILD_EMOJI_DESCRIPTION:U.default.Messages.STICKER_POPOUT_UNJOINED_GUILD_EMOJI_DESCRIPTION),Y(f.GuildDetails,{guild:null!=g?g:w}),!j&&a.createElement(a.Fragment,null,Y(_.default,{onClick:function(){u(),x(!H)},className:F.default.showMoreEmojis},void 0,Y(h.default,{},void 0,Y(b.default,{className:F.default.showMoreEmojisLabel,size:b.default.Sizes.SIZE_12,color:b.default.Colors.CUSTOM},void 0,U.default.Messages.STICKER_POPOUT_SHOW_MORE_STICKERS),Y(I.default,{className:(0,o.default)(F.default.showMoreEmojisArrow,(n={},n[F.default.showMoreEmojisArrowCollapsed]=!H,n))}))),H&&Y(h.default,{wrap:h.default.Wrap.WRAP,align:h.default.Align.START,justify:h.default.Justify.START,className:F.default.otherEmojisContainer},void 0,r.map((function(e){return a.createElement(S.default,W({key:e.id,text:e.name},c.EXPRESSION_TOOLTIP_PROPS),(function(t){var n,r=t.onMouseEnter,i=t.onMouseLeave,l=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(t,["onMouseEnter","onMouseLeave"]);return a.createElement("div",W({key:e.id,className:(0,o.default)(F.default.otherEmoji,(n={},n[G.default.nonInteractingSticker]=null==Z||Z===e.id,n)),onMouseEnter:function(){null==r||r(),q(e.id)},onMouseLeave:function(){null==i||i(),q(null)}},l),Y(L.default,{size:32,enlargeOnInteraction:!0,enlargeWithName:!1,enlargeScaleFactor:2,isInteracting:Z===e.id,sticker:e}))}))})))))}}())}return Y(c.PopoutLoadingAnimation,{className:G.default.popoutLoader})};function q(e){var t=e.channel,n=e.closePopout,r=e.sticker;return Y(c.MessagePopoutContent,{className:G.default.popoutContent},void 0,Y(K,{sticker:r,description:U.default.Messages.STICKER_POPOUT_UNJOINED_PRIVATE_GUILD_DESCRIPTION.format({openPremiumSettings:function(){n(),z(t)}})}))}q.displayName="UnavailableStickerPopout";var X=Y(c.PopoutLoadingAnimation,{}),J=function(e){var t=e.renderableSticker,n=e.channel,r=e.closePopout,a=e.refreshPositionKey,o=(0,A.useStickerForRenderableSticker)(t,!0),i=o[0],l=o[1];return null!=i&&(0,R.isStandardSticker)(i)?Y($,{sticker:i,closePopout:r,channel:n,refreshPositionKey:a}):null!=i&&(0,R.isGuildSticker)(i)?Y(Z,{sticker:i,channel:n,closePopout:r,refreshPositionKey:a}):l?l&&null==i?Y(q,{channel:n,closePopout:r,sticker:t}):(r(),null):X};t.default=J},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(14))&&r.__esModule?r:{default:r},o=n(701),i=n(1);var l=function(e){return a.default.get({url:i.Endpoints.STICKER_GUILD_DATA(e),oldFormErrors:!0}).then((function(e){return null!=(null==e?void 0:e.body)?(0,o.makeDiscoverableGuild)(e.body):null})).catch((function(){return null}))};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.navigateToOwnedStickerPack=function(e){var t=e.stickerPack,n=e.stickerPickerCategories;a.ComponentDispatch.dispatchToLastSubscribed(i.ComponentActions.OPEN_EXPRESSION_PICKER,{activeView:r.ExpressionPickerViewType.STICKER});var l=n.findIndex((function(e){return e.id===t.id}));-1!==l&&(0,o.setActiveCategoryIndex)(l)};var r=n(1218),a=n(121),o=n(8348),i=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=M;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=I(n(9)),i=n(3),l=n(389),u=I(n(8397)),s=I(n(685)),d=n(42),f=I(n(10)),c=I(n(200)),p=I(n(61)),v=I(n(8903)),y=I(n(97)),m=I(n(8265)),_=n(392),h=I(n(746)),E=n(698),g=I(n(9548)),S=I(n(6)),O=I(n(7570));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(){return(C=Object.assign||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}).apply(this,arguments)}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(e){var t=e.message,n=e.compact,r=(0,i.useStateFromStores)([f.default],(function(){return f.default.getChannel(t.id)}));return null==r?null:b(N,{channel:r,compact:n,isSystemMessage:(0,s.default)(t)})}function N(e){var t,n,r=e.channel,s=e.compact,f=e.isSystemMessage;var I=(0,i.useStateFromStores)([h.default],(function(){return h.default.getCount(r.id)})),T=function(e){var t,n=(0,i.useStateFromStores)([h.default],(function(){return h.default.getMostRecentMessage(e.id)})),r=(0,i.useStateFromStores)([h.default],(function(){return h.default.getCount(e.id)})),o=(0,i.useStateFromStores)([c.default],(function(){return c.default.lastMessageId(e.id)}));if(null===(t=e.threadMetadata)||void 0===t?void 0:t.archived)return a.createElement(a.Fragment,null,b("span",{className:O.default.archivedText},void 0,S.default.Messages.THREAD_ARCHIVED),b(v.default,{className:O.default.clock,width:14,height:14}));if(!r)return S.default.Messages.NO_THREAD_MESSAGES;if(null==n)return a.createElement(a.Fragment,null,b("span",{},void 0,S.default.Messages.NO_RECENT_THREAD_MESSAGES),b("span",{className:O.default.timestamp},void 0,(0,E.getTimestampString)(y.default.extractTimestamp(o))));return a.createElement(a.Fragment,null,b(g.default,{message:n,channel:e}),b("span",{className:O.default.timestamp},void 0,(0,E.getTimestampString)(y.default.extractTimestamp(o))))}(r);return a.createElement(a.Fragment,null,b("div",{className:(0,o.default)(O.default.spine,(t={},t[O.default.cozy]=!s,t[O.default.systemMessageSpine]=f,t))}),b(p.default,{onClick:function(e){e.shiftKey?(0,d.transitionToGuild)(r.guild_id,r.id):m.default.openThreadSidebarForViewing(r)},onContextMenu:function(e){(0,l.openContextMenu)(e,(function(e){return a.createElement(u.default,C({channel:r},e))}))},className:(0,o.default)(O.default.container,(n={},n[O.default.systemMessageContainer]=f,n))},void 0,b("div",{className:O.default.topLine},void 0,b("span",{className:O.default.name},void 0,r.name),b("span",{className:O.default.cta},void 0,I?I>=_.MAX_THREAD_MESSAGE_COUNT?S.default.Messages.THREAD_MESSAGE_COUNT_MAX:S.default.Messages.THREAD_MESSAGE_COUNT.format({count:I}):S.default.Messages.SEE_THREAD)),b("span",{className:(0,o.default)(O.default.bottomLine)},void 0,T)))}M.displayName="ThreadMessageAccessories"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n;if(null==e.threadMetadata)return 0;var o=null!==(t=r.default.lastMessageId(e.id))&&void 0!==t?t:e.id,i=a.default.extractTimestamp(o),l=e.threadMetadata.archiveTimestamp?new Date(e.threadMetadata.archiveTimestamp).getTime():0,u=60*(null===(n=e.threadMetadata)||void 0===n?void 0:n.autoArchiveDuration)*1e3;return Math.max(i,l)+u};var r=o(n(200)),a=o(n(97));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(8298),l=c(n(8361)),u=c(n(8640)),s=c(n(70)),d=n(8442),f=c(n(7341));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e){var t=e.message,n=e.channel,r=(0,o.useStateFromStores)([s.default],(function(){return s.default.isBlocked(t.author.id)})),c=a.useMemo((function(){var e;return(e={})[n.guild_id]=[t.author.id],e}),[n.guild_id,t.author.id]);(0,i.useSubscribeGuildMembers)(c);var p=a.useMemo((function(){return t.content?(0,l.default)(t,{formatInline:!0}).content:null}),[t]);return v("div",{className:f.default.threadMessageAccessory},void 0,v("img",{alt:"",src:t.author.getAvatarURL(n.guild_id),className:f.default.threadMessageAccessoryAvatar}),v(u.default,{message:t,compact:!0}),v("div",{className:f.default.threadMessageAccessoryPreview},void 0,function(e,t,n){var r=(0,d.renderSingleLineMessage)(e,t,n,f.default.threadMessageAccessoryContent,f.default.threadMessageAccessoryContentIcon),o=r.contentPlaceholder,i=r.renderedContent,l=r.icon;return a.createElement(a.Fragment,null,null!=i?i:v("span",{className:f.default.threadMessageAccessoryPlaceholder},void 0,o),l)}(t,p,r)))}y.displayName="ThreadMessageAccessoryMessage"},function(e,t,n){e.exports=n.p+"302f8a6d450ff3029c8cf2b49bb22302.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return null!=t&&!!e.mentions.includes(t.author.id)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(8517),i=s(n(5945)),l=n(1),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.poster,n=e.src,r=e.width,o=e.height,u=e.naturalWidth,s=e.naturalHeight,d=e.play,f=void 0===d||d,p=e.className,v=a.useRef(null);return a.useEffect((function(){var e=v.current;null!=e&&(f?e.play():e.pause())}),[f]),u<=l.MAX_VIDEO_WIDTH&&s<=l.MAX_VIDEO_HEIGHT||u<=l.MAX_VIDEO_HEIGHT&&s<=l.MAX_VIDEO_WIDTH?a.createElement(i.default,{ref:v,className:p,poster:t,src:n,width:r,height:o,muted:!0,loop:!0,autoPlay:f,preload:"none"}):c("img",{alt:"",src:t,width:r,height:o})}function v(e){var t=e.src,n=e.poster,r=e.naturalWidth,a=e.naturalHeight,i=e.autoPlay,l=e.className,s=e.playable,d=void 0===s||s,v=e.renderImageComponent,y=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["src","poster","naturalWidth","naturalHeight","autoPlay","className","playable","renderImageComponent"]);return c(o.GIFAccessoryContext.Consumer,{},void 0,(function(e){return v(f({},y,{alt:u.default.Messages.GIF,src:n,className:l,autoPlay:i,animated:d,renderAccessory:e,tabIndex:d?0:-1,children:function(e){var n=e.src,o=e.size,i=e.animating;return c(p,{className:l,poster:n,src:t,width:o.width,height:o.height,naturalWidth:r,naturalHeight:a,play:d&&i})}}))}))}p.displayName="Video",v.displayName="LazyGIFV"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(8475)),o=l(n(6)),i=l(n(7572));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.message,n=e.onDeleteMessage;return s("div",{className:i.default.ephemeralMessage,onClick:function(e){return e.stopPropagation()}},void 0,s(a.default,{className:i.default.icon,width:16,height:16}),o.default.Messages.ONLY_YOU_CAN_SEE_AND_DELETE_THESE.format({count:1,countMessages:1,handleDelete:function(){n(t,!0)}}))}d.displayName="EphemeralAccessories"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(9)),i=n(8594),l=m(n(8904)),u=m(n(61)),s=n(8593),d=m(n(8467)),f=n(8517),c=m(n(255)),p=n(1),v=m(n(6)),y=m(n(7574));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(){return(h=Object.assign||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}).apply(this,arguments)}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var g=/\.(mp4|webm|mov)$/i,S=/\.(mp3|m4a|ogg|wav|flac)$/i,O=function(e){var t=e.attachment,n=e.inlineMedia,r=e.autoPlayGif,a=e.onClick,o=e.onContextMenu,u=e.renderImageComponent,d=e.renderVideoComponent,c=e.renderAudioComponent,v=e.renderPlaintextFilePreview,y=e.className,m=e.focusable,_=t.filename,h=t.width,O=t.height,I=s.PlaintextFilePreviewExperiment.useExperiment({})[0].enabled;return n&&null!=h&&h>0&&null!=O&&O>0?p.IMAGE_RE.test(_)?E(f.GIFAccessoryContext.Consumer,{},void 0,(function(e){return u({alt:"",src:t.proxy_url||t.url,original:t.url,width:h,height:O,autoPlay:r,onClick:a,onContextMenu:o,renderAccessory:e,className:y,shouldLink:m})})):g.test(_)&&null!=t.proxy_url?d({poster:t.proxy_url+"?format=jpeg",fileSize:t.size,fileName:t.filename,src:t.url,width:h,height:O,onClick:a,onContextMenu:o,naturalWidth:h,naturalHeight:O,className:y,playable:m}):null:null!=n&&S.test(_)&&null!=t.url?c({fileSize:t.size,fileName:t.filename,src:t.url,className:y,playable:m}):I&&null!=t.url&&(0,i.isPlaintextPreviewableFile)(_)?v({attachment:t,className:y}):E(l.default,{url:t.url,filename:t.filename,size:t.size,onClick:a,onContextMenu:o,className:y})};O.displayName="AttachmentContent";var I=E(c.default,{width:16,height:16}),T=function(e){var t=e.className,n=e.attachment,r=e.onRemoveAttachment,i=e.canRemoveAttachment,l=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["className","attachment","onRemoveAttachment","canRemoveAttachment"]),s=n.width,f=n.height,c=n.spoiler,p=null!=s&&s<200||null!=f&&f<50,m=function(e){var s;return void 0===e&&(e=!1),E("div",{className:y.default.messageAttachment},void 0,a.createElement(O,h({},l,{attachment:n,className:(0,o.default)(t,(s={},s[y.default.spoiler]=c&&!p,s[y.default.hiddenSpoilers]=c&&e,s[y.default.inline]=c&&p,s)),focusable:!e})),i&&E(u.default,{className:y.default.removeAttachmentButton,focusProps:{offset:{bottom:4}},onClick:function(){return r(n)},"aria-label":v.default.Messages.REMOVE_MESSAGE_ATTACHMENT},void 0,I))};return c?E(d.default,{type:d.default.Types.ATTACHMENT,inline:p},void 0,(function(e){return m(e)})):m()};t.default=T},function(e,t,n){var r={"./icon-file-acrobat.svg":9555,"./icon-file-ae.svg":9556,"./icon-file-ai.svg":9557,"./icon-file-archive.svg":9558,"./icon-file-audio.svg":9559,"./icon-file-code.svg":9560,"./icon-file-document.svg":9561,"./icon-file-image.svg":9562,"./icon-file-ps.svg":9563,"./icon-file-sketch.svg":9564,"./icon-file-spreadsheet.svg":9565,"./icon-file-unknown.svg":9566,"./icon-file-video.svg":9567,"./icon-file-webcode.svg":9568};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=9554},function(e,t,n){e.exports=n.p+"aee87e981ef9acae845ef397c7a034c5.svg"},function(e,t,n){e.exports=n.p+"f8e80ba7587764ddfa27aa1e02c6ed54.svg"},function(e,t,n){e.exports=n.p+"f1141359084b3b61f3a41adbe541fdbb.svg"},function(e,t,n){e.exports=n.p+"4f27cbf7f975daa32fe7c8dec19ce2de.svg"},function(e,t,n){e.exports=n.p+"7674eb0d869afebca7b1f3a5202506c6.svg"},function(e,t,n){e.exports=n.p+"d6bb78c1d64640ad06cc8cdd1c61b67d.svg"},function(e,t,n){e.exports=n.p+"3c2ce4428c2c44824b07162f648524f5.svg"},function(e,t,n){e.exports=n.p+"2930628f6ae15f3332f9d06e4c967a89.svg"},function(e,t,n){e.exports=n.p+"06d2bb1aa36f4ded097cc069df5ee305.svg"},function(e,t,n){e.exports=n.p+"318ce2f97a8bd1d7a693938d9aff5f08.svg"},function(e,t,n){e.exports=n.p+"1939fe07993a754364bf3fee5223428d.svg"},function(e,t,n){e.exports=n.p+"66084381f55f4238d69e5cbe3b8dc42e.svg"},function(e,t,n){e.exports=n.p+"81d1e0f3ad7aa06b1a82da2492cf8699.svg"},function(e,t,n){e.exports=n.p+"557b6b6b982a8c2b2c97048b86e2e6c3.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.code,n=e.author,r=e.getAcceptInviteContext,h=(0,o.useStateFromStoresObject)([c.default],(function(){return{invite:c.default.getInvite(t),inviteError:c.default.getInviteError(t)}}),[t]),O=h.invite,I=h.inviteError;a.useEffect((function(){null==O&&i.default.resolveInvite(t)}),[t]);var b=null!=O?O:{state:S.InviteStates.RESOLVING,code:""},M=(0,o.useStateFromStores)([f.default],(function(){return null!=(null==O?void 0:O.guild)?f.default.getGuild(O.guild.id):null}),[O]),N=(0,o.useStateFromStores)([d.default],(function(){return d.default.getId()})),A=function(){null!=b.channel&&i.default.transitionToInviteSync(b)},P=function(){(0,u.isAtGuildCapAndNonPremium)()?(0,s.default)({analyticsSource:{page:S.AnalyticsPages.INVITE_EMBED},analyticsLocation:{page:S.AnalyticsPages.INVITE_EMBED,section:S.AnalyticsSections.GUILD_CAP_UPSELL_MODAL}}):i.default.acceptInvite(t,r("Invite Button Embed"),(function(){A()}))};switch(b.state){case S.InviteStates.RESOLVING:return C;case S.InviteStates.EXPIRED:case S.InviteStates.BANNED:return T(_.default,{banned:b.state===S.InviteStates.BANNED,author:n});case S.InviteStates.ERROR:return T(v.default,{author:n,inviteError:I});default:return b.target_type===l.InviteTargetTypes.STREAM?T(g.default,{onTransitionToInviteChannel:A,onAcceptInstantInvite:P,currentUserId:N,guild:M,invite:b}):b.target_type===l.InviteTargetTypes.EMBEDDED_APPLICATION?T(p.default,{invite:b,getAcceptInviteContext:r}):null!=b.channel&&b.channel.type===S.ChannelTypes.GROUP_DM?T(y.default,{onTransitionToInviteChannel:A,onAcceptInstantInvite:P,currentUserId:N,invite:b,author:n}):null!=b.stage_instance&&null!=b.guild?T(E.default,{stageInstance:b.stage_instance,guild:b.guild,isMember:null!=M,onTransitionToInviteChannel:A,onAcceptInstantInvite:P}):T(m.default,{onTransitionToInviteChannel:A,onAcceptInstantInvite:P,currentUserId:N,guild:M,invite:b,author:n})}};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=O(n(1211)),l=n(481),u=n(8444),s=O(n(8445)),d=O(n(11)),f=O(n(15)),c=O(n(1174)),p=O(n(9572)),v=O(n(9573)),y=O(n(9574)),m=O(n(9575)),_=O(n(9576)),h=O(n(8446)),E=O(n(9577)),g=O(n(9578)),S=n(1);function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var C=T(h.default,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(473)),i=y(n(61)),l=n(8263),u=n(280),s=y(n(5953)),d=n(1),f=y(n(6)),c=y(n(7575)),p=y(n(6038)),v=y(n(9571));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e){return function(t,n){return h(i.default,{className:c.default.learnMoreLink,tag:"span",onClick:function(){e(),o.default.open(d.UserSettingsSections.PREMIUM)}},n,t)}}function g(e){var t=e.guildCount,n=e.onClose,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["guildCount","onClose"]);return a.createElement(s.default,_({artURL:v.default,onClose:n,type:u.PremiumUpsellTypes.GUILD_CAP_MODAL_UPSELL,title:f.default.Messages.GUILD_CAP_UPSELL_MODAL_TITLE,body:t<d.MAX_USER_GUILDS?f.default.Messages.GUILD_CAP_UPSELL_MODAL_NEAR_LIMIT_BODY.format({guildCount:t,onAndMore:E(n),newBadgeHook:function(e,t){return h(l.TextBadge,{text:e,className:p.default.newBadge,color:d.Colors.BRAND},t)}}):f.default.Messages.GUILD_CAP_UPSELL_MODAL_AT_LIMIT_BODY.format({onAndMore:E(n),newBadgeHook:function(e,t){return h(l.TextBadge,{text:e,className:p.default.newBadge,color:d.Colors.BRAND},t)}}),premiumType:d.PremiumTypes.TIER_2},r))}g.displayName="PremiumGuildCapUpsell"},function(e,t,n){e.exports=n.p+"06f891af30f9a31efe5855164accc601.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=M;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=S(n(23)),i=n(3),l=S(n(1211)),u=n(156),s=S(n(294)),d=S(n(8646)),f=n(481),c=S(n(379)),p=S(n(162)),v=S(n(15)),y=n(29),m=S(n(8314)),_=S(n(149)),h=S(n(8446)),E=n(1),g=S(n(6));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(){return(I=Object.assign||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}).apply(this,arguments)}function T(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var b=C(h.default,{});function M(e){var t,n,r=e.invite,h=e.getAcceptInviteContext,S=r.target_type,O=r.target_application;(0,o.default)(S===f.InviteTargetTypes.EMBEDDED_APPLICATION&&null!=O,"invalid application invite");var M=(0,i.useStateFromStores)([v.default],(function(){return null!=r.guild?v.default.getGuild(r.guild.id):null}),[r]),N=c.default.createFromServer(O),A=(0,i.useStateFromStores)([s.default],(function(){return null!=(null==r?void 0:r.channel)&&null!=s.default.getSelfEmbeddedActivityForChannel(r.channel.id)})),P=(0,d.default)(null!==(t=null===(n=r.channel)||void 0===n?void 0:n.id)&&void 0!==t?t:"").some((function(e){var t=e.applicationId;return O.id===t})),R=r.state===E.InviteStates.ACCEPTING,L=null!=M;if(null==M){if(null==r.guild)return b;M=new p.default(r.guild)}var D,w=function(e){null!=r.channel&&l.default.transitionToInviteSync(r,void 0,e)},j=function(){return null};return L&&P?j=w:L||(j=function(e){l.default.acceptInvite(r.code,h("Invite Button Embed"),(function(){w(e)}))}),L&&(P?A&&(D=g.default.Messages.EMBEDDED_ACTIVITIES_ALREADY_IN_ACTIVITY):D=g.default.Messages.EMBEDDED_ACTIVITIES_INVITE_ACTIVITY_ENDED),C(m.default,{},void 0,C(m.default.Header,{text:g.default.Messages.INVITE_BUTTON_TITLE_INVITED_TO_PLAY}),C(m.default.Body,{},void 0,C(m.default.Icon,{guild:M,application:N,onClick:function(){return j(u.ActivityIntent.PLAY)}}),C(m.default.Info,{title:O.name,onClick:function(){return j(u.ActivityIntent.PLAY)}},void 0,g.default.Messages.INVITE_BUTTON_STREAMING_SUBTEXT.format({guildName:M.name})),C(_.default,{text:D},void 0,(function(e){var t=e.onClick,n=T(e,["onClick"]);return a.createElement(m.default.Button,I({onClick:function(){j(u.ActivityIntent.PLAY),null==t||t()}},n,{submitting:R,isDisabled:L&&(A||!P),color:y.ButtonColors.GREEN}),g.default.Messages.PLAY)})),C(_.default,{text:D},void 0,(function(e){var t=e.onClick,n=T(e,["onClick"]);return a.createElement(m.default.Button,I({onClick:function(){j(u.ActivityIntent.SPECTATE),null==t||t()}},n,{submitting:R,isDisabled:L&&(A||!P),color:y.ButtonColors.PRIMARY}),g.default.Messages.SPECTATE)}))))}M.displayName="EmbeddedApplicationInvite"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=s(n(11)),i=s(n(8314)),l=n(8491),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=f(i.default.Icon,{expired:!0});function p(e){var t,n,r=e.author,s=e.inviteError,d=(0,a.useStateFromStores)([o.default],(function(){return o.default.getId()}))===r.id?u.default.Messages.INVITE_BUTTON_TITLE_INVITER_INVALID:u.default.Messages.INVITE_BUTTON_TITLE_INVITED_INVALID,p=(0,l.getDescriptiveInviteError)(null==s?void 0:s.code);return f(i.default,{},void 0,f(i.default.Header,{text:d}),f(i.default.Body,{},void 0,c,f(i.default.Info,{expired:!0,title:null!==(t=null==p?void 0:p.title)&&void 0!==t?t:u.default.Messages.INVITE_BUTTON_INVALID},void 0,null!==(n=null==p?void 0:p.description)&&void 0!==n?n:null==s?void 0:s.message)))}p.displayName="ErrorInvite"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=p(n(31)),i=p(n(10)),l=p(n(12)),u=p(n(8314)),s=n(48),d=p(n(8446)),f=n(1),c=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=y(d.default,{});function _(e){var t,n=e.invite,r=e.author,d=e.currentUserId,p=e.onTransitionToInviteChannel,v=e.onAcceptInstantInvite,_=d===r.id,h=n.state===f.InviteStates.ACCEPTING,E=(0,a.useStateFromStores)([i.default],(function(){return null!=n.channel?i.default.getChannel(n.channel.id):null}),[n]),g=null!=E;if(null==E){if(null==n.channel)return m;E=new o.default(n.channel),t=null!=n.channel&&null!=n.channel.recipients?n.channel.recipients:[]}else t=E.recipients.reduce((function(e,t){var n=l.default.getUser(t);return null!=n&&e.push(n),e}),[]),g&&t.push(l.default.getCurrentUser());var S=E.name;S||(S=t.length>0?t.filter(s.isNotNullish).map((function(e){return e.username})).join(", "):c.default.Messages.UNNAMED);var O=g?p:v,I=c.default.Messages.JOIN_GUILD,T=u.default.Button.Colors.GREEN;g&&(I=c.default.Messages.JOINED_GUILD,T=u.default.Button.Colors.PRIMARY);var C=c.default.Messages.INVITE_BUTTON_TITLE_INVITED_GROUP_DM;return _&&(C=c.default.Messages.INVITE_BUTTON_TITLE_INVITER_GROUP_DM),y(u.default,{},void 0,y(u.default.Header,{text:C}),y(u.default.Body,{},void 0,y(u.default.Icon,{channel:E,onClick:g?O:void 0}),y(u.default.Info,{title:S,onClick:g?O:void 0},void 0,y(u.default.Data,{members:t.length})),y(u.default.Button,{onClick:O,submitting:h,isDisabled:g,color:T},void 0,I)))}_.displayName="GroupDMInvite"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(8720)),i=y(n(31)),l=y(n(162)),u=y(n(8314)),s=n(41),d=y(n(24)),f=y(n(8446)),c=n(1),p=y(n(6)),v=y(n(7576));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=_(f.default,{});function E(e){var t,n=e.onTransitionToInviteChannel,r=e.onAcceptInstantInvite,f=e.guild,y=e.invite,m=e.author,E=e.currentUserId===m.id,g=y.channel,S=y.approximate_member_count,O=y.approximate_presence_count,I=y.state===c.InviteStates.ACCEPTING,T=null!=g?new i.default(g):null,C=null!=f,b=null!=T,M=null!=T&&T.type===c.ChannelTypes.GUILD_VOICE;if(null==f){if(null==y.guild)return h;f=new l.default(y.guild)}var N,A,P,R=C?n:r;return A=E?f.hasFeature(c.GuildFeatures.HUB)?p.default.Messages.HUB_INVITE_BUTTON_TITLE_INVITER:p.default.Messages.INVITE_BUTTON_TITLE_INVITER:f.hasFeature(c.GuildFeatures.HUB)?p.default.Messages.HUB_INVITE_BUTTON_TITLE_INVITED:p.default.Messages.INVITE_BUTTON_TITLE_INVITED,null!=f&&(P=_(u.default.GuildName,{guild:f})),(null===(t=f)||void 0===t?void 0:t.hasFeature(c.GuildFeatures.HUB))&&(A=E?p.default.Messages.INVITE_BUTTON_TITLE_INVITER_HUB:p.default.Messages.INVITE_BUTTON_TITLE_INVITED_HUB),M?(A=E?p.default.Messages.INVITE_BUTTON_TITLE_INVITER_VOICE_CHANNEL:p.default.Messages.INVITE_BUTTON_TITLE_INVITED_VOICE_CHANNEL,P=_(u.default.Channel,{channel:T}),N=p.default.Messages.INVITE_BUTTON_BODY_IN_GUILD.format({guildName:f.name})):null!=S&&S>=5||null!=O&&O>0?N=_(u.default.Data,{members:S,membersOnline:O}):b&&(N=_(u.default.Channel,{channel:T,guild:f})),_(u.default,{},void 0,_(u.default.Header,{text:A}),_(u.default.Body,{},void 0,_(u.default.Icon,{guild:f}),_(u.default.Info,{title:P,onClick:C?R:null},void 0,N),_(u.default.Button,{onClick:R,submitting:I,color:u.default.Button.Colors.GREEN},void 0,M?p.default.Messages.INVITE_VOICE_CHANNEL_JOIN:C?p.default.Messages.JOINED_GUILD:p.default.Messages.JOIN_GUILD)),f.hasFeature(c.GuildFeatures.HUB)&&a.createElement(a.Fragment,null,_("div",{className:v.default.separator}),_(d.default,{size:d.default.Sizes.SIZE_14,color:d.default.Colors.HEADER_SECONDARY},void 0,p.default.Messages.HUB_INVITE_ANOTHER_SCHOOL_LINK.format({onClick:function(){return(0,s.openModal)((function(e){return a.createElement(o.default,e)}))}}))))}E.displayName="GuildInvite"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=p(n(8406)),i=p(n(11)),l=p(n(36)),u=p(n(160)),s=p(n(8314)),d=n(121),f=n(1),c=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=y(s.default.Icon,{expired:!0});function _(e){var t,n,r,p=e.author,v=e.banned,_=(0,a.useStateFromStores)([i.default],(function(){return i.default.getId()})),h=(0,a.useStateFromStores)([l.default],(function(){return l.default.getChannelId()}));return _===p.id?(t=c.default.Messages.INVITE_BUTTON_INVALID_OWNER,r=c.default.Messages.INVITE_BUTTON_TITLE_INVITER_INVALID):(r=c.default.Messages.INVITE_BUTTON_TITLE_INVITED_INVALID,v?t=c.default.Messages.INSTANT_INVITE_BANNED_INFO:p&&p.username?(t=c.default.Messages.INSTANT_INVITE_ASK_USER_FOR_NEW_INVITE.format({username:p.username}),n=y(s.default.Button,{onClick:function(){var e=p.username,t=p.discriminator,n="@"+e;u.default.hidePersonalInformation||(n+="#"+t),d.ComponentDispatch.dispatchToLastSubscribed(f.ComponentActions.INSERT_TEXT,{content:n}),null!=h&&o.default.startTyping(h)}},void 0,c.default.Messages.MENTION)):t=c.default.Messages.INSTANT_INVITE_ASK_FOR_NEW_INVITE),y(s.default,{},void 0,y(s.default.Header,{text:r}),y(s.default.Body,{},void 0,m,y(s.default.Info,{expired:!0,title:c.default.Messages.INVITE_BUTTON_INVALID},void 0,t),n))}_.displayName="InvalidInvite"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(8567)),o=i(n(8314));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var s=function(e){var t=e.stageInstance,n=e.guild,r=e.isMember,i=e.onTransitionToInviteChannel,l=e.onAcceptInstantInvite,s=r?i:l;return u(o.default,{},void 0,u(a.default,{isEmbed:!0,stageInstance:t,guild:n,onClick:s}))};s.displayName="StageInvite";var d=s;t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=y(n(23)),o=n(3),i=n(481),l=y(n(31)),u=y(n(162)),s=y(n(163)),d=y(n(107)),f=y(n(8314)),c=y(n(8446)),p=n(1),v=y(n(6));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=_(c.default,{});function E(e){var t=e.invite,n=e.currentUserId,r=e.guild,c=e.onTransitionToInviteChannel,y=e.onAcceptInstantInvite,m=(0,o.useStateFromStores)([d.default],(function(){return d.default.getGuildId()})),E=(0,o.useStateFromStores)([s.default],(function(){return null!=t&&null!=t.target_user?s.default.getActiveStreamForUser(t.target_user.id):null}),[t]),g=(0,o.useStateFromStores)([s.default],(function(){return null!=t&&null!=t.target_user?s.default.getStreamForUser(t.target_user.id):null}),[t]),S=null!=t&&t.target_type===i.InviteTargetTypes.STREAM&&null!=t.target_user&&null!=E,O=null!=t&&null!=g&&null!=t.channel&&null!=t.guild&&g.channelId===t.channel.id&&g.guildId===t.guild.id;(0,a.default)(null!=t,"Invite cannot be null");var I=t.target_type,T=t.target_user;(0,a.default)(I===i.InviteTargetTypes.STREAM&&null!=T,"invalid streaming invite");var C=n===T.id,b=t.state===p.InviteStates.ACCEPTING,M=null!=r;if(null==r){if(null==t.guild)return h;r=new u.default(t.guild)}var N,A,P,R=null!=t.channel?new l.default(t.channel):null,L=S?c:y;M&&!O?P=C?v.default.Messages.INVITE_BUTTON_STREAM_ENDED_STREAMER:v.default.Messages.INVITE_BUTTON_STREAM_ENDED.format({name:T.username}):(N=v.default.Messages.WATCH,A=f.default.Button.Colors.GREEN,S&&(N=v.default.Messages.INVITE_BUTTON_STREAM_WATCHING,A=f.default.Button.Colors.PRIMARY),P=C?v.default.Messages.INVITE_BUTTON_STREAMER:v.default.Messages.INVITE_BUTTON_STREAMING.format({name:T.username}));var D=m===r.id&&R?_(f.default.Channel,{channel:R}):v.default.Messages.INVITE_BUTTON_STREAMING_SUBTEXT.format({guildName:r.name});return _(f.default,{},void 0,_(f.default.Header,{text:v.default.Messages.INVITE_BUTTON_TITLE_STREAMING}),_(f.default.Body,{},void 0,_(f.default.Icon,{guild:r,onClick:M&&O?L:void 0}),_(f.default.Info,{title:P,onClick:M&&O?L:void 0},void 0,D),O?_(f.default.Button,{disabled:M&&!O,onClick:L,submitting:b,isDisabled:S&&O,color:A},void 0,N):null))}E.displayName="StreamingInvite"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=c(n(8905)),i=n(293),l=n(1264),u=c(n(11)),s=c(n(256)),d=n(1),f=c(n(7580));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e){return null!=e.application?e.application:null!=e.activity&&null!=e.activity.party_id&&(0,i.isSpotifyParty)(e.activity.party_id)?l.SpotifyApplication:void 0}var m=function(e){var t=e.channel,n=e.message,r=e.hideParty,i=(0,a.useStateFromStores)([u.default],(function(){return u.default.getId()})),l=(0,a.useStateFromStores)([s.default],(function(){if(null!=n.application){var e,r=n.author.id;return(null===(e=n.activity)||void 0===e?void 0:e.type)===d.ActivityActionTypes.JOIN_REQUEST&&(r=r===i?t.getRecipientId():i),s.default.getApplicationActivity(r,n.application.id)}return s.default.findActivity(n.author.id,(function(e){return e.type===d.ActivityTypes.LISTENING}))}),[n,t,i]);return v(o.default,{className:f.default.container,activity:l,activityActionType:null!=n.activity?n.activity.type:null,partyId:null!=n.activity?n.activity.party_id:null,userId:n.author.id,application:y(n),message:n,channelId:t.id,guildId:t.getGuildId(),hideParty:r,isSender:n.author.id===i})};m.displayName="MessageActivityInvite";var _=m;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(29)),i=u(n(149)),l=n(8601);function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(){return(f=Object.assign||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}).apply(this,arguments)}function c(e){var t=e.activity,n=e.user,r=e.source,u=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["activity","user","source"]),s=(0,l.useSpotifyJoinAction)(t,n,r),c=s.label,p=s.tooltip,v=s.loading,y=s.disabled,m=s.onClick;return d(i.default,{text:p},void 0,(function(e){var t=e.onMouseEnter,n=e.onMouseLeave;return a.createElement(o.default,f({},u,{color:y?o.default.Colors.GREY:o.default.Colors.GREEN,onClick:m,onMouseEnter:t,onMouseLeave:n,disabled:!v&&y,submitting:v}),c)}))}c.displayName="SpotifyJoinButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=N();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=M(n(9)),i=M(n(399)),l=M(n(1309)),u=M(n(1277)),s=n(293),d=M(n(8264)),f=M(n(89)),c=M(n(93)),p=n(252),v=M(n(271)),y=M(n(29)),m=M(n(61)),_=M(n(55)),h=M(n(278)),E=M(n(8824)),g=M(n(149)),S=M(n(8409)),O=M(n(8745)),I=M(n(279)),T=n(1),C=M(n(6)),b=M(n(7579));function M(e){return e&&e.__esModule?e:{default:e}}function N(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return N=function(){return e},e}function A(){return(A=Object.assign||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}).apply(this,arguments)}function P(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function R(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,L(e,t)}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var D=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).renderUserPopout=function(e){var n=t.props,r=n.renderUserPopout,a=n.member;return a.unknownUser?null:r(a.user,e)},t}return R(t,e),t.prototype.render=function(){var e=this.props,t=e.member,n=e.className,r=e.guildId;return P(h.default,{renderPopout:this.renderUserPopout,position:h.default.Positions.LEFT,preload:function(){return(0,d.default)(t.user.id,t.user.getAvatarURL(r))}},void 0,(function(e){return P(g.default,{text:t.unknownUser?null:t.nick||t.user.username},void 0,(function(i){return a.createElement(m.default,A({className:t.unknownUser?b.default.partyMember:b.default.partyMemberKnown},i,e),P(I.default,{src:t.user.getAvatarURL(r),size:I.default.Sizes.SIZE_24,className:(0,o.default)(b.default.partyAvatar,n),"aria-label":t.user.username}))}))}))},t}(a.PureComponent);D.displayName="PartyMember";var w=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleJoin=function(){var e=t.props.onJoin;e&&e()},t.handleInvite=function(){var e=t.props.onInvite;e&&e()},t.handleSync=function(){var e=t.props.onSync;e&&e()},t.handleDownloadApp=function(){var e=t.props.onDownloadApp;e&&e()},t.handleOpenSpotifyTrack=function(){var e=t.props,n=e.activity,r=e.onOpenSpotifyTrack;null!=n&&r&&r(n)},t.handleOpenSpotifyArtist=function(e){var n=t.props,r=n.activity,a=n.onOpenSpotifyArtist,o=n.message;null!=r&&null!=o&&a&&a(r,o.author.id,e)},t.handleOpenSpotifyAlbum=function(){var e=t.props,n=e.activity,r=e.onOpenSpotifyAlbum,a=e.message;null!=n&&null!=a&&r&&r(n,a.author.id)},t.renderUser=function(e,n,r){var a=t.props,i=a.renderUserPopout,l=a.guildId;return null!=e?P(D,{member:e,renderUserPopout:i,className:n,guildId:l},r):P("div",{className:(0,o.default)(b.default.partyMemberEmpty,n)},r)},t}R(t,e);var n=t.prototype;return n.isDeadInvite=function(){var e=this.props,t=e.isPreview,n=e.message,r=e.activity,a=e.applicationId;return!t&&!(null!=n&&(0,l.default)(r,n,a))},n.getPartySize=function(){var e=this.props.activity;return null==e||null==e.party||null==e.party.size||e.party.size.length<2?[-1,-1]:e.party.size},n.getActionableMode=function(){return[T.ActivityActionTypes.LISTEN,T.ActivityActionTypes].includes(this.props.activityActionType)||this.props.isPreview||this.canJoin()?"Actionable":"NotActionable"},n.isInParty=function(){var e=this.props,t=e.activity,n=e.myPartyId;return!e.isPreview&&null!=t&&null!=t.party&&n===t.party.id},n.isPartyFull=function(){var e=this.getPartySize(),t=e[0],n=e[1];return t>-1&&t>=n},n.hasPartySize=function(){var e=this.getPartySize(),t=e[0],n=e[1];return t>-1&&n>-1},n.isActionType=function(e){return this.props.activityActionType===e},n.canJoin=function(){var e=this.props,t=e.activity,n=e.isPreview,r=e.isGameLaunchable,a=e.isInBrowser;return!!n||!(this.isDeadInvite()||!this.isActionType(T.ActivityActionTypes.JOIN)||!(0,i.default)(t,T.ActivityFlags.JOIN))&&(!(!this.hasPartySize()||this.isPartyFull())&&!(a||!r||this.isInParty()))},n.canSendInvite=function(){var e=this.props,t=e.activity;return!!e.isPreview||!(this.isDeadInvite()||!this.isActionType(T.ActivityActionTypes.JOIN_REQUEST)||!(0,i.default)(t,T.ActivityFlags.JOIN))&&!(!this.hasPartySize()||this.isPartyFull())},n.canSync=function(){var e=this.props,t=e.activity,n=e.isPreview,r=e.isSyncable,a=e.isInBrowser;return!!n||!(!this.isActionType(T.ActivityActionTypes.LISTEN)&&!this.isActionType(T.ActivityActionTypes.WATCH))&&(!(this.isDeadInvite()||!(0,i.default)(t,T.ActivityFlags.SYNC))&&!(a||!r||this.isInParty()))},n.getHelpdeskArticleURL=function(){var e=this.props.partyId;return null!=e&&(0,s.isSpotifyParty)(e)?T.HelpdeskArticles.SPOTIFY_CONNECTION:T.HelpdeskArticles.RICH_PRESENCE_INTRODUCTION},n.renderHeaderText=function(){var e=this.props,t=e.activityActionType,n=e.name;switch(t){case T.ActivityActionTypes.LISTEN:return C.default.Messages.INVITE_EMBED_INVITE_TO_LISTEN.format({name:n});case T.ActivityActionTypes.WATCH:return C.default.Messages.INVITE_EMBED_INVITE_TO_WATCH.format({name:n});case T.ActivityActionTypes.JOIN:return C.default.Messages.INVITE_EMBED_INVITE_TO_JOIN_GROUP;case T.ActivityActionTypes.JOIN_REQUEST:default:return C.default.Messages.INVITE_EMBED_ASK_TO_JOIN}},n.renderPartyStatus=function(){var e=this,t=this.props,n=t.activityActionType,r=t.isGameLaunchable,a=t.isSyncable,o=t.isPreview,i=t.isInBrowser,l=t.name,s=t.activity,d=this.getPartySize(),f=d[0],c=d[1];if(this.isDeadInvite())switch(n){case T.ActivityActionTypes.LISTEN:return C.default.Messages.INVITE_EMBED_LISTEN_HAS_ENDED;case T.ActivityActionTypes.WATCH:return C.default.Messages.INVITE_EMBED_WATCH_HAS_ENDED;case T.ActivityActionTypes.JOIN:case T.ActivityActionTypes.JOIN_REQUEST:default:return C.default.Messages.INVITE_EMBED_GAME_HAS_ENDED}if(i&&!o)switch(n){case T.ActivityActionTypes.JOIN:return C.default.Messages.INVITE_EMBED_JOIN_VIA_DESKTOP_APP}if(this.isActionType(T.ActivityActionTypes.LISTEN)||this.isActionType(T.ActivityActionTypes.WATCH)){if(null!=s&&null!=s.details&&null!=s.state&&(0,u.default)(s)){return[P("div",{className:b.default.details},"details",P(v.default,{className:b.default.textLink,onClick:this.handleOpenSpotifyTrack},void 0,s.details)),P("div",{className:b.default.state},"state",C.default.Messages.USER_ACTIVITY_LISTENING_ARTISTS.format({artists:s.state,artistsHook:function(t,n){return null!=s.state?P(E.default,{artists:s.state,linkClassName:b.default.textLink,canOpen:null!=s.sync_id,onOpenSpotifyArtist:e.handleOpenSpotifyArtist},n):null}}))]}return this.isActionType(T.ActivityActionTypes.LISTEN)?C.default.Messages.USER_ACTIVITY_LISTEN_ALONG:C.default.Messages.USER_ACTIVITY_WATCH_ALONG}return this.isActionType(T.ActivityActionTypes.JOIN_REQUEST)?this.isPartyFull()?C.default.Messages.INVITE_EMBED_FULL_GROUP:C.default.Messages.INVITE_EMBED_NUM_OPEN_SLOTS.format({number:c-f}):this.isInParty()?C.default.Messages.INVITE_EMBED_IN_GROUP:r||a||o?this.isPartyFull()?C.default.Messages.INVITE_EMBED_FULL_GROUP:this.hasPartySize()?C.default.Messages.INVITE_EMBED_NUM_OPEN_SLOTS.format({number:c-f}):C.default.Messages.JOIN:C.default.Messages.USER_ACTIVITY_NOT_DETECTED.format({name:l})},n.renderActionButton=function(){var e=this,t=this.props,n=t.isInBrowser,r=t.isPreview,o=t.isGameLaunchable,i=t.isSender,l=t.partyId,u=t.activity,d=t.message,f=t.renderSpotifyJoinButton,c=t.renderCustomButton,p={className:b.default.actionButton,size:y.default.Sizes.SMALL},v=null!=c?c(p):null;if(null!=v)return v;if(!this.isDeadInvite()&&this.isActionType(T.ActivityActionTypes.LISTEN)&&null!=l&&null!=d&&null!=u&&(0,s.isSpotifyParty)(l))return f(A({},p,{activity:u,user:d.author}));return a.createElement(y.default,A({},p,r||!n||e.isDeadInvite()?e.canJoin()?{children:C.default.Messages.JOIN,onClick:e.handleJoin}:e.canSync()?{children:C.default.Messages.JOIN,onClick:e.handleSync}:e.canSendInvite()?{children:C.default.Messages.INVITE_EMBED_INVITE_TO_JOIN,onClick:e.handleInvite,disabled:i}:{children:e.isActionType(T.ActivityActionTypes.JOIN_REQUEST)?C.default.Messages.INVITE_EMBED_INVITE_TO_JOIN:C.default.Messages.JOIN,disabled:!0}:{children:C.default.Messages.USER_ACTIVITY_ACTION_DOWNLOAD_APP,onClick:e.handleDownloadApp},{color:!n&&!o||this.isDeadInvite()?y.default.Colors.GREY:y.default.Colors.GREEN,submitting:this.props.isLoading}))},n.renderMoreUsers=function(e,t,n){return P("div",{className:b.default.moreUsers},n,e)},n.renderParty=function(){var e=this.props,t=e.partyId,n=e.partyMembers,r=e.hideParty,a=e.guildId,o=this.getPartySize(),i=o[0],l=o[1],u=this.hasPartySize()||this.isActionType(T.ActivityActionTypes.LISTEN)||this.isActionType(T.ActivityActionTypes.WATCH);if(null==t||this.isDeadInvite()||!u||r)return null;for(var s=[].concat(n),d=Math.min(i,6);s.length<d;)s.push({user:new f.default({discriminator:"0005"}),unknownUser:!0});for(var c=Math.min(l,106);s.length<c;)s.push(null);return P(S.default,{guildId:a,className:b.default.partyMembers,users:s,max:l>0?Math.min(l,6):6,renderUser:this.renderUser,renderMoreUsers:this.renderMoreUsers})},n.render=function(){var e=this,t=this.props,n=t.className,r=t.coverImage,a=t.name,i=t.activity,l=this.isActionType(T.ActivityActionTypes.JOIN)||this.isActionType(T.ActivityActionTypes.JOIN_REQUEST),s=this.isDeadInvite(),d=null;null==r||null==i||l?!l&&s&&(d=P("div",{className:b.default.artworkSpotifySessionEnded})):d=P("img",{alt:"",src:r,className:(0,p.getClass)(b.default,"artwork",this.getActionableMode())});var f=null!=i&&null!=d&&null!=i.assets&&i.assets.large_text&&!s&&(0,u.default)(i)?i.assets.large_text:null,y=null!=f?P(g.default,{text:f},void 0,(function(t){var n=t.onMouseEnter,r=t.onMouseLeave;return P(v.default,{onClick:e.handleOpenSpotifyAlbum,onMouseEnter:n,onMouseLeave:r},void 0,d)})):d;return P("div",{className:(0,o.default)(b.default.invite,n)},void 0,P("div",{className:b.default.coverImageWrapper},void 0,P("div",{className:(0,o.default)((0,p.getClass)(b.default,"coverImage",this.getActionableMode()),null!=d?b.default.blurred:null),style:{backgroundImage:null!=r?"url('"+r+"')":void 0}})),P(_.default,{className:b.default.fullHeight},void 0,P(_.default,{direction:_.default.Direction.VERTICAL},void 0,P("div",{className:b.default.header},void 0,this.renderHeaderText()),P(_.default.Child,{className:b.default.partyStatus},void 0,this.renderPartyStatus()),P(_.default,{align:_.default.Align.END},void 0,P(_.default,{align:_.default.Align.CENTER,className:b.default.actionAndParty,basis:0,style:{marginRight:0}},void 0,this.renderActionButton(),this.renderParty()),null==d&&l?P("div",{className:b.default.name},void 0,a):null)),y),P(v.default,{href:c.default.getArticleURL(this.getHelpdeskArticleURL()),className:b.default.helpIcon},void 0,P(O.default,{color:T.Colors.PRIMARY_DARK_300,width:12,height:12})))},t}(a.PureComponent);w.displayName="ActivityInviteEmbed";var j=w;t.default=j},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=D(n(0)),o=R(n(9)),i=R(n(8)),l=R(n(273)),u=n(57),s=R(n(469)),d=n(1235),f=R(n(5938)),c=R(n(8408)),p=R(n(8398)),v=D(n(8914)),y=R(n(10)),m=R(n(15)),_=R(n(8916)),h=R(n(70)),E=R(n(161)),g=R(n(8917)),S=R(n(61)),O=R(n(278)),I=R(n(149)),T=R(n(8651)),C=n(99),b=R(n(258)),M=n(724),N=n(1),A=R(n(6)),P=R(n(7586));function R(e){return e&&e.__esModule?e:{default:e}}function L(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return L=function(){return e},e}function D(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=L();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function w(){return(w=Object.assign||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}).apply(this,arguments)}function j(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function k(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,U(e,t)}function U(e,t){return(U=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var G=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={isEmojiPickerActive:!1},t.onAddReaction=function(e){if(null!=e){var n=t.props,r=n.channel,a=n.message;(0,d.addReaction)(r.id,a.id,(0,M.toReactionEmoji)(e))}},t.handleEmojiPickerToggle=function(){t.setState((function(e){return{isEmojiPickerActive:!e.isEmojiPickerActive}}))},t.renderReactionPopout=function(e){var n=e.closePopout,r=t.props.channel;return j(c.default,{closePopout:n,channel:r,onSelectEmoji:function(e,r){t.onAddReaction(e),r&&n()},pickerIntention:N.EmojiIntention.REACTION})},t}return k(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.message,r=t.className,i=this.state.isEmojiPickerActive;return n.state===N.MessageStates.SENDING||(0,C.hasFlag)(n.flags,N.MessageFlags.EPHEMERAL)?null:j(O.default,{shouldShow:i,onRequestClose:this.handleEmojiPickerToggle,renderPopout:this.renderReactionPopout,position:O.default.Positions.RIGHT},void 0,(function(t,n){var i;return a.createElement(S.default,w({},t,{onClick:e.handleEmojiPickerToggle,className:(0,o.default)(P.default.reactionBtn,(i={},i[P.default.active]=n,i),r),"aria-label":A.default.Messages.ADD_REACTION}),j(T.default,{className:P.default.icon}))}))},t}(a.Component);G.displayName="ButtonAddReaction";var F=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).isMouseEntered=!1,t.scale=new l.default.Value(1),t.opacity=new l.default.Value(1),t.timeout=new u.Timeout,t.state={shouldShowTooltip:!1,tooltipText:null},t.handleClick=function(){var e=t.props,n=e.message,r=e.emoji,a=e.me,o=e.readOnly,i=e.isPendingMember,l=n.getChannelId();i?t.handleShowVerificationGate():a?(0,d.removeReaction)(l,n.id,r):o||(0,d.addReaction)(l,n.id,r)},t.handleMouseEnter=function(){t.isMouseEntered=!0,t.timeout.start(500,t.showTooltip,!1)},t.showTooltip=function(){t.isMouseEntered&&(t.handleStoreChange(),_.default.addChangeListener(t.handleStoreChange))},t.handleMouseLeave=function(){t.isMouseEntered=!1,t.hideTooltip(),t.setState({shouldShowTooltip:!1})},t.hideTooltip=function(){t.timeout.stop(),_.default.removeChangeListener(t.handleStoreChange)},t.handleStoreChange=function(){var e=t.props,n=H(e.message,e.emoji);t.setState({tooltipText:n,shouldShowTooltip:null!=n&&""!==n})},t.renderLurkerModeUpsellPopout=function(e){var n=e.closePopout,r=t.props,a=r.message;if(!r.isLurking)return null;var o=y.default.getChannel(a.getChannelId()),i=m.default.getGuild(null==o?void 0:o.getGuildId());return null!=i?j(v.default,{type:v.LurkerModeUpsellPopoutTypes.REACTIONS,guild:i,closePopout:n}):void 0},t.renderTooltip=function(){var e=t.props.emoji,n=t.state.tooltipText;return a.createElement(a.Fragment,null,j(f.default,{className:P.default.reactionTooltipEmoji,emojiId:e.id,emojiName:e.name,animated:e.animated}),null!=n&&""!==n.trim()?j("span",{className:P.default.reactionTooltipText},void 0,n):null)},t.handleShowVerificationGate=function(){var e=t.props,n=e.message;if(!e.isPendingMember)return null;var r=y.default.getChannel(n.getChannelId()),a=m.default.getGuild(null==r?void 0:r.getGuildId());null!=a&&(0,p.default)(a.id)},t}k(t,e);var n=t.prototype;return n.componentWillAppear=function(e){this.animateIn(e)},n.componentWillEnter=function(e){this.animateIn(e)},n.componentWillUnmount=function(){this.hideTooltip()},n.animateIn=function(e){E.default.isFocused()?(this.scale.setValue(0),this.opacity.setValue(0),l.default.parallel([l.default.timing(this.scale,{toValue:1,duration:300,easing:l.default.Easing.inOut(l.default.Easing.back())}),l.default.timing(this.opacity,{toValue:1,duration:300})]).start(e)):(this.scale.setValue(1),this.opacity.setValue(1),e())},n.render=function(){var e=this,t=this.props,n=t.count,r=t.emoji,i=t.me,u=t.readOnly,s=t.isLurking,d=t.isPendingMember,c=this.state,p=c.shouldShowTooltip,v=c.tooltipText,y={transform:[{scale:this.scale}],opacity:this.opacity},m=s?"div":S.default;return j(I.default,{tooltipClassName:P.default.reactionTooltip,tooltipContentClassName:P.default.reactionTooltipContent,forceOpen:p,"aria-label":null!=v&&v,text:this.renderTooltip(),onAnimationRest:function(t,n){n!==N.SpringTransitionPhases.LEAVE||e.isMouseEntered||e.setState({tooltipText:null})}},void 0,(function(t){t.onMouseEnter,t.onMouseLeave;var c,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(t,["onMouseEnter","onMouseLeave"]);return a.createElement("div",w({onMouseEnter:e.handleMouseEnter,onMouseLeave:e.handleMouseLeave},p),j(l.default.div,{className:(0,o.default)(P.default.reaction,(c={},c[P.default.reactionMe]=i,c[P.default.reactionReadOnly]=u&&!s&&!d,c)),style:y},void 0,j(O.default,{renderPopout:e.renderLurkerModeUpsellPopout,position:O.default.Positions.TOP},void 0,(function(t){return a.createElement("div",t,j(m,{className:P.default.reactionInner,onClick:s?void 0:e.handleClick,"aria-label":A.default.Messages.REACT_WITH_LABEL.format({emojiName:r.name}),"aria-pressed":i},void 0,j(f.default,{emojiId:r.id,emojiName:r.name,animated:r.animated}),j(g.default,{className:P.default.reactionCount,value:n,digitWidth:9})))}))))}))},t}(a.PureComponent);F.displayName="Reaction";var B=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={disableTransitionAppear:!0,reactionsCount:t.props.message.reactions.length},t}return k(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.message.reactions.length;return 0===t.reactionsCount&&n>0?{disableTransitionAppear:!1,reactionsCount:n}:t.reactionsCount!==n?{reactionsCount:n}:null},t.prototype.render=function(){var e=this.props,t=e.message,n=e.disableReactionCreates,r=e.disableReactionUpdates,o=e.isLurking,i=e.isPendingMember,l=e.channel,u=this.state.disableTransitionAppear;return t.reactions.length?j(s.default,{component:"div",className:P.default.reactions,transitionAppear:!u,role:"group","aria-label":A.default.Messages.REACTIONS,transitionLeave:!1},void 0,t.reactions.map((function(e){return a.createElement(F,w({key:(e.emoji.id||0)+":"+e.emoji.name,message:t,readOnly:r,isLurking:o,isPendingMember:i},e))})),!n&&j(G,{message:t,channel:l})):null},t}(a.PureComponent);function H(e,t){var n=_.default.getReactions(e.getChannelId(),e.id,t,N.REACTION_TOOLTIP_MAX_USERS),r=y.default.getChannel(e.getChannelId()),a=null==r||r.isPrivate()?null:r.getGuildId(),o=(0,i.default)(n).reject((function(e){return h.default.isBlocked(e.id)})).take(N.REACTION_TOOLTIP_MAX_USERS).map((function(e){return b.default.getName(a,null==r?void 0:r.id,e)})).value();if(!o.length)return"";var l=e.getReaction(t),u=Math.max(0,(l&&l.count||0)-o.length),s=(0,M.getReactionEmojiName)(t);return 1===o.length?u>0?A.default.Messages.REACTION_TOOLTIP_1_N.format({a:o[0],n:u,emojiName:s}):A.default.Messages.REACTION_TOOLTIP_1.format({a:o[0],emojiName:s}):2===o.length?u>0?A.default.Messages.REACTION_TOOLTIP_2_N.format({a:o[0],b:o[1],n:u,emojiName:s}):A.default.Messages.REACTION_TOOLTIP_2.format({a:o[0],b:o[1],emojiName:s}):3===o.length?u>0?A.default.Messages.REACTION_TOOLTIP_3_N.format({a:o[0],b:o[1],c:o[2],n:u,emojiName:s}):A.default.Messages.REACTION_TOOLTIP_3.format({a:o[0],b:o[1],c:o[2],emojiName:s}):A.default.Messages.REACTION_TOOLTIP_N.format({n:u,emojiName:s})}t.default=B,B.displayName="Reactions"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeInternalFields=function(e){return e.filter((function(e){return e.field_type!==a.VerificationFormFieldTypes.VERIFICATION}))},t.isValidFormResponse=void 0;var r=n(48),a=n(8262);t.isValidFormResponse=function(e){var t=e.required,n=e.response,o=e.field_type;if(!t)return!0;if(null==n)return!1;switch(o){case a.VerificationFormFieldTypes.TERMS:case a.VerificationFormFieldTypes.VERIFICATION:return n;case a.VerificationFormFieldTypes.TEXT_INPUT:case a.VerificationFormFieldTypes.PARAGRAPH:return"string"==typeof n&&""!==n.trim();case a.VerificationFormFieldTypes.MULTIPLE_CHOICE:return"number"==typeof n;default:return(0,r.assertNever)(o)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24",fill:"none"}),s("path",{d:"M12.0002 10.823L20.9652 5.26C20.6772 5.1 20.3522 5 20.0002 5H4.00016C3.64816 5 3.32216 5.1 3.03516 5.26L12.0002 10.823Z",fill:d,className:f}),s("path",{d:"M12.527 12.8489C12.366 12.9489 12.183 12.9999 12 12.9999C11.817 12.9999 11.634 12.9489 11.473 12.8499L2.003 6.97292C2.003 6.98192 2 6.99092 2 6.99892V15.9989C2 17.1009 2.897 17.9989 4 17.9989H20C21.103 17.9989 22 17.1009 22 15.9989V6.99892C22 6.98992 21.997 6.98092 21.997 6.97192L12.527 12.8489Z",fill:d,className:f}))}d.displayName="Mail"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=g(n(0)),o=h(n(9)),i=h(n(5962)),l=h(n(98)),u=n(95),s=g(n(29)),d=h(n(5981)),f=h(n(55)),c=h(n(9586)),p=n(35),v=h(n(6)),y=h(n(7585)),m=h(n(1170)),_=h(n(370));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var I=function(e){var t,r;function h(t){var n;return(n=e.call(this,t)||this)._animItem=null,n.headerId=l.default.v4(),n.setLottieRef=function(e){n._lottieRef=e},n.handleAddPhone=function(e){n.state.animated||null==n._animItem||(n._animItem.play(),n.setState({animated:!0})),n._phone=e;var t=n.props.onAddPhone;t&&t(e)},n.handleVerifyPhone=function(e){var t=n.props.onVerifyPhone;null==t||t(e)},n.handleResendCode=function(){var e=n.props.onAddPhone;null==e||e(n._phone)},n.state={animated:!1},n}r=e,(t=h).prototype=Object.create(r.prototype),t.prototype.constructor=t,O(t,r);var E=h.prototype;return E.componentDidMount=function(){var e=this;n.e(80).then(function(t){var r=n(10571);e._animItem=i.default.loadAnimation({container:e._lottieRef,renderer:"svg",loop:!0,autoplay:!1,animationData:r})}.bind(null,n)).catch(n.oe)},E.componentWillUnmount=function(){null!=this._animItem&&(this._animItem.destroy(),this._animItem=void 0)},E.render=function(){var e,t,n=this.props,r=n.error,i=n.working,l=n.transitionState,h=n.validPhone;return e=r?S("div",{className:(0,o.default)(y.default.description,y.default.error,_.default.marginBottom20)},void 0,r):h?S("div",{className:(0,o.default)(y.default.description,_.default.marginBottom20)},void 0,v.default.Messages.VERIFICATION_PHONE_DESCRIPTION):a.createElement(a.Fragment,null,S("div",{className:(0,o.default)(y.default.description,_.default.marginBottom20)},void 0,v.default.Messages.ENTER_PHONE_DESCRIPTION),S("div",{className:(0,o.default)(y.default.description,_.default.marginBottom20)},void 0,v.default.Messages.ENTER_PHONE_DESCRIPTION_NOTE.format())),t=h?S(f.default,{className:y.default.field,direction:f.default.Direction.VERTICAL,align:f.default.Align.CENTER},void 0,S(d.default,{onSubmit:this.handleVerifyPhone}),S(s.default,{className:_.default.marginTop8,size:s.ButtonSizes.SMALL,look:s.ButtonLooks.LINK,color:s.ButtonColors.PRIMARY,onClick:this.handleResendCode},void 0,v.default.Messages.RESEND_CODE)):S(c.default,{className:y.default.field,onSubmit:this.handleAddPhone,submitting:i}),S(p.ModalRoot,{impressionName:u.ImpressionNames.USER_VERIFY_PHONE,transitionState:l,className:(0,o.default)(y.default.phoneVerificationModal,m.default.vertical,m.default.alignCenter,m.default.justifyCenter,_.default.marginTop60),"aria-labelledby":this.headerId},void 0,a.createElement("div",{className:y.default.animationContainer,ref:this.setLottieRef}),S("div",{className:(0,o.default)(y.default.title,_.default.marginBottom8),id:this.headerId},void 0,h?v.default.Messages.VERIFICATION_PHONE_TITLE:v.default.Messages.ENTER_PHONE_TITLE),e,t)},h}(a.PureComponent);I.displayName="PhoneVerificationModal";var T=I;t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=_(n(0)),o=y(n(9)),i=y(n(5699)),l=y(n(5990)),u=_(n(29)),s=y(n(55)),d=y(n(683)),f=y(n(6)),c=y(n(7584)),p=y(n(5958)),v=y(n(370));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=function(e){var t,n;function r(t){var n;(n=e.call(this,t)||this).handleChange=function(e){n.closePopout(),n.setState({phone:e.currentTarget.value})},n.handleKeyPress=function(e){n.closePopout(),13===e.which&&(e.preventDefault(),n.handleSubmit())},n.handleSubmit=function(){var e=n.props,t=e.onSubmit,r=e.submitting,a=n.state,o=a.countryCode,i=a.phone;r||t&&t(""+o+i)},n.handleTogglePopout=function(){n.setState({open:!n.state.open})},n.handleClick=function(e){var t=i.default[e].code.split(" "),r=t[0],a=t[1];n.setState({open:!1,countryCode:r,phone:a||""})};var r=i.default.find((function(e){return"United States"===e.name})).code.split(" "),a=r[0],o=r[1];return n.state={countryCode:a,phone:o||"",open:!1},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,E(t,n);var a=r.prototype;return a.render=function(){var e=this.state,t=e.countryCode,n=e.phone,r=e.open,a=this.props,i=a.className,y=a.submitting,m=t.split("+")[1];return h(s.default,{className:(0,o.default)(c.default.phoneField,p.default.elevationLow,i),align:s.default.Align.CENTER,grow:0},void 0,h(u.default,{size:u.ButtonSizes.SMALL,className:c.default.countryButton,color:u.ButtonColors.GREY,innerClassName:c.default.countryButtonInner,onClick:this.handleTogglePopout},void 0,h(s.default,{className:(0,o.default)(c.default.countryCodeContainer,v.default.marginReset),justify:s.default.Justify.CENTER},void 0,h("div",{className:c.default.plusSign},void 0,"+"),h("div",{className:c.default.countryCode},void 0,m)),h(d.default,{foreground:c.default.phoneFieldExpand,expanded:r,width:16,height:16})),h("input",{className:c.default.inputField,value:n,onChange:this.handleChange,onKeyPress:this.handleKeyPress,autoFocus:!0}),h(u.default,{className:c.default.sendButton,size:u.ButtonSizes.SMALL,submitting:y,onClick:this.handleSubmit},void 0,f.default.Messages.SEND),r?h(l.default,{onClick:this.handleClick}):null)},a.closePopout=function(){this.state.open&&this.setState({open:!1})},r}(a.PureComponent);g.displayName="PhoneField";var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color"]);return o.createElement("svg",u({},(0,i.default)(f),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{fill:d,d:"M15.5 1h-8C6.12 1 5 2.12 5 3.5v17C5 21.88 6.12 23 7.5 23h8c1.38 0 2.5-1.12 2.5-2.5v-17C18 2.12 16.88 1 15.5 1zm-4 21c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4.5-4H7V4h9v14z"})))}d.displayName="MobileDevice"},function(e,t,n){e.exports=n.p+"e05a39f2363a5628be26fe1d1efbb86c.svg"},function(e,t,n){e.exports=n.p+"07ee40a8c86c515c8582bb432ac02343.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=ae(n(0)),i=n(3),l=n(389),u=ne(n(8254)),s=ne(n(132)),d=n(364),f=ne(n(8412)),c=ne(n(8397)),p=ne(n(26)),v=n(196),y=n(42),m=ne(n(1339)),_=ne(n(8265)),h=ne(n(8923)),E=ne(n(8264)),g=ne(n(8268)),S=ne(n(11)),O=ne(n(303)),I=ne(n(10)),T=ne(n(15)),C=ne(n(256)),b=ne(n(36)),M=ne(n(12)),N=ne(n(80)),A=ae(n(8382)),P=n(1230),R=ne(n(8515)),L=ne(n(9615)),D=ne(n(9617)),w=ne(n(9620)),j=ne(n(9621)),k=ne(n(9622)),U=ne(n(9623)),G=n(9625),F=ne(n(9628)),B=ne(n(9629)),H=ne(n(9635)),x=ne(n(9636)),V=ne(n(9637)),W=ne(n(9638)),Y=ne(n(9639)),z=ne(n(9640)),K=ne(n(9641)),$=ne(n(9642)),Z=n(41),q=n(121),X=ne(n(258)),J=ne(n(164)),Q=n(8928),ee=ne(n(8361)),te=n(1);function ne(e){return e&&e.__esModule?e:{default:e}}function re(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return re=function(){return e},e}function ae(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=re();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function oe(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function ie(){return(ie=Object.assign||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}).apply(this,arguments)}function le(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function ue(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){le(o,r,a,i,l,"next",e)}function l(e){le(o,r,a,i,l,"throw",e)}i(void 0)}))}}function se(e,t,n,r){return void 0===r&&(r=!1),o.useCallback(function(){var a=ue(regeneratorRuntime.mark((function a(i){var l;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(null!=e){a.next=2;break}return a.abrupt("return");case 2:return r&&i.stopPropagation(),l=i.currentTarget,a.next=6,(0,E.default)(e.id,e.getAvatarURL(n));case 6:(0,A.openPopout)(l,{closeOnScroll:!1,position:A.default.Positions.RIGHT,shadow:!1,render:function(n){var r=I.default.getChannel(t);return null==r?null:o.createElement(g.default,ie({},n,{userId:e.id,guildId:r.getGuildId(),channelId:r.id}))}});case 7:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),[e,t,r,n])}function de(e,t){return o.useCallback((function(n){var r=I.default.getChannel(t);null!=r&&null!=e&&(0,Q.openUserContextMenu)(n,e,r)}),[e,t])}function fe(e){var t=e.message,n=e.compact,r=e.channel,a=t.id,l=t.author,u=S.default.getId(),d=t.getChannelId(),f=(0,i.useStateFromStores)([O.default],(function(){return O.default.isCallActive(d,a)}),[d,a]),c=(0,i.useStateFromStores)([N.default],(function(){return N.default.getVoiceState(te.ME,u)})),p=!f&&null!=t.call&&!t.call.participants.includes(u),v=f&&(null==c||c.channelId!==d),y=o.useCallback((function(){return s.default.selectVoiceChannel(d)}),[d]),m=se(l,d,r.guild_id),_=de(l,d);return oe(D.default,{compact:n,message:t,missed:p,joinable:v,onClickUsername:m,onContextMenuUsername:_,onClickJoinCall:y})}function ce(e){var t=e.message,n=e.compact,r=e.channel,a=t.author,o=t.getChannelId(),i=se(a,o,r.guild_id),l=de(a,o);return oe(k.default,{compact:n,message:t,onClickUsername:i,onContextMenuUsername:l})}function pe(e){var t=e.message,n=e.compact,r=e.channel,a=t.author,o=t.getChannelId(),i=se(a,o,r.guild_id),l=de(a,o);return oe(j.default,{compact:n,message:t,onClickUsername:i,onContextMenuUsername:l})}function ve(e){var t=e.message,n=e.compact,r=e.channel,a=t.author,i=t.getChannelId(),l=o.useCallback((function(){if(b.default.getChannelId()!==i){var e=I.default.getChannel(i);null!=e&&(0,y.transitionToGuild)(e.guild_id,e.id)}setTimeout((function(){return q.ComponentDispatch.dispatch(te.ComponentActions.TOGGLE_CHANNEL_PINS)}),0)}),[i]),u=se(a,i,r.guild_id),s=de(a,i);return oe(U.default,{message:t,compact:n,onClickUsername:u,onContextMenuUsername:s,onClickPins:__OVERLAY__?null:l})}function ye(e){var t=e.message,n=e.channel,r=e.compact,a=se(t.author,t.channel_id,n.guild_id),i=de(t.author,t.channel_id),u=o.useCallback(ue(regeneratorRuntime.mark((function e(){var n,r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==(r=null===(n=t.messageReference)||void 0===n?void 0:n.channel_id)){e.next=6;break}return e.next=4,m.default.loadThread(r);case 4:null!=(a=I.default.getChannel(r))&&_.default.openThreadSidebarForViewing(a);case 6:case"end":return e.stop()}}),e)}))),[t]),s=o.useCallback((function(){(0,Z.openModal)((function(e){return o.createElement(h.default,ie({channel:n},e))}))}),[n]),d=o.useCallback((function(e){var n,r=I.default.getChannel(null===(n=t.messageReference)||void 0===n?void 0:n.channel_id);null!=r&&(0,l.openContextMenu)(e,(function(e){return o.createElement(c.default,ie({},e,{channel:r}))}))}),[t]);return oe(V.default,{message:t,compact:r,onClickUsername:a,onContextMenuUsername:i,onClickThread:u,onClickViewThreads:s,onContextMenuThread:d})}function me(e){var t=e.message,n=e.channel,r=e.compact,a=t.author,o=t.getChannelId(),l=(0,i.useStateFromStores)([M.default],(function(){return M.default.getUser(t.mentions[0])}),[t]),u=se(a,o,n.guild_id),s=de(a,o),d=se(l,o,n.guild_id),f=de(l,o);if(n.isThread())return oe(Y.default,{message:t,channel:n,compact:r,targetUser:l,onClickActor:u,onContextMenuActor:s,onClickTarget:d,onContextMenuTarget:f});if(null!=l&&l.id!==a.id){var c=X.default.getName(null,o,l);return oe(x.default,{message:t,compact:r,onClickUsername:u,onContextMenuUsername:s,otherUsername:c,onClickOtherUsername:d,onContextMenuOtherUsername:f})}return oe(x.default,{message:t,onClickUsername:u,onContextMenuUsername:s})}function _e(e){var t=e.message,n=e.compact,r=e.channel,a=t.author,o=t.getChannelId(),i=se(a,o,r.guild_id),l=de(a,o);return oe(K.default,{message:t,compact:n,onClickUsername:i,onContextMenuUsername:l})}function he(e){var t=e.message,n=e.channel,r=e.compact,a=t.author,l=n.guild_id,u=t.getChannelId(),s=(0,i.useStateFromStores)([T.default],(function(){return T.default.getGuild(l)}),[l]),d=o.useCallback((function(){null!=s&&(0,P.openFullScreenLayer)((function(e){var t=e.transitionState,n=e.closeLayer;return oe(f.default,{layerTransitionState:t,close:n,guildId:s.id,locationSection:te.AnalyticsSections.CHANNEL_TEXT_AREA})}))}),[s]),c=se(a,u,n.guild_id,!0),p=de(a,u);return oe($.default,{message:t,compact:r,guild:s,onClickUsername:c,onContextMenuUsername:p,onClickMessage:d})}function Ee(e){var t=e.message,n=e.compact,r=e.channel,a=t.author,o=t.getChannelId(),i=se(a,o,r.guild_id),l=de(a,o);return oe(w.default,{message:t,compact:n,onClickUsername:i,onContextMenuUsername:l})}function ge(e){var t=e.message,n=e.compact,r=t.getChannelId(),a=(0,i.useStateFromStores)([I.default],(function(){return I.default.getChannel(r)}),[r]),o=null!=a?a.getGuildId():null;return oe(G.UIKitGuildDiscoveryDisqualified,{message:t,compact:n,onClick:function(){null!=o&&u.default.open(o,te.GuildSettingsSections.DISCOVERY)}})}function Se(e){var t=e.message,n=e.compact,r=e.channel,a=t.author,o=t.getChannelId(),i=se(a,o,r.guild_id),l=de(a,o);return oe(L.default,{message:t,compact:n,onClickUsername:i,onContextMenuUsername:l})}function Oe(e){var t=e.message,n=e.channel,r=e.compact,a=(0,i.useStateFromStores)([M.default],(function(){return M.default.getCurrentUser()})),o=(0,i.useStateFromStores)([T.default],(function(){var e,t;return null!==(e=null===(t=T.default.getGuild(n.getGuildId()))||void 0===t?void 0:t.isOwner(a))&&void 0!==e&&e}));return oe(B.default,{message:t,compact:r,isOwner:o,channel:n})}fe.displayName="Call",ce.displayName="ChannelNameChange",pe.displayName="ChannelIconChange",ve.displayName="ChannelPinnedMessage",ye.displayName="ThreadCreated",me.displayName="RecipientRemove",_e.displayName="UserJoin",he.displayName="UserPremiumGuildSubscription",Ee.displayName="ChannelFollowAdd",ge.displayName="GuildDiscoveryDisqualified",Se.displayName="ApplicationCommand",Oe.displayName="InviteUsersReminder";var Ie=Object.freeze(((r={})[te.MessageTypes.DEFAULT]=void 0,r[te.MessageTypes.REPLY]=void 0,r[te.MessageTypes.APPLICATION_COMMAND]=Se,r[te.MessageTypes.RECIPIENT_ADD]=function(e){var t=e.message,n=e.channel,r=e.compact,a=t.author,o=t.getChannelId(),l=(0,i.useStateFromStores)([M.default],(function(){return M.default.getUser(t.mentions[0])}),[t]),u=X.default.getName(null,o,l),s=se(a,o,n.guild_id),d=de(a,o),f=se(l,o,n.guild_id),c=de(l,o);return n.isThread()?oe(W.default,{message:t,channel:n,compact:r,targetUser:l,onClickActor:s,onContextMenuActor:d,onClickTarget:f,onContextMenuTarget:c}):oe(H.default,{message:t,compact:r,otherUsername:u,onClickUsername:s,onContextMenuUsername:d,onClickOtherUsername:f,onContextMenuOtherUsername:c})},r[te.MessageTypes.RECIPIENT_REMOVE]=me,r[te.MessageTypes.CALL]=fe,r[te.MessageTypes.CHANNEL_NAME_CHANGE]=ce,r[te.MessageTypes.CHANNEL_ICON_CHANGE]=pe,r[te.MessageTypes.CHANNEL_PINNED_MESSAGE]=ve,r[te.MessageTypes.USER_JOIN]=_e,r[te.MessageTypes.USER_PREMIUM_GUILD_SUBSCRIPTION]=he,r[te.MessageTypes.USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1]=he,r[te.MessageTypes.USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2]=he,r[te.MessageTypes.USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3]=he,r[te.MessageTypes.CHANNEL_FOLLOW_ADD]=Ee,r[te.MessageTypes.GUILD_STREAM]=function(e){var t=e.message,n=e.compact,r=e.channel,a=t.author,l=t.author.id,u=t.messageReference,s=t.getChannelId(),f=(0,i.useStateFromStores)([C.default],(function(){return C.default.findActivity(l,(function(e){return e.type===te.ActivityTypes.PLAYING}))}),[l]),c=(0,i.useStateFromStores)([I.default],(function(){return null!=u?I.default.getChannel(u.channel_id):null}),[u]),p=null==u?void 0:u.guild_id,y=se(a,s,r.guild_id),m=de(a,s),_=o.useCallback((function(){null!=c&&null!=p&&(0,d.watchStreamAndTransitionToStream)({streamType:v.StreamTypes.GUILD,ownerId:l,channelId:c.id,guildId:p})}),[l,c,p]);return null!=u&&null!=c&&null!=u.guild_id?oe(F.default,{message:t,compact:n,channel:c,playingActivity:f,onJoinStream:_,onClickUsername:y,onContextMenuUsername:m}):null},r[te.MessageTypes.GUILD_DISCOVERY_DISQUALIFIED]=ge,r[te.MessageTypes.GUILD_DISCOVERY_REQUALIFIED]=G.UIKitGuildDiscoveryRequalified,r[te.MessageTypes.GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING]=G.UIKitGuildDiscoveryGracePeriodInitialWarning,r[te.MessageTypes.GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING]=G.UIKitGuildDiscoveryGracePeriodFinalWarning,r[te.MessageTypes.THREAD_CREATED]=ye,r[te.MessageTypes.THREAD_STARTER_MESSAGE]=z.default,r[te.MessageTypes.GUILD_INVITE_REMINDER]=Oe,r));function Te(e){var t,n=e.message,r=e.channel,a=e.compact,o=n.type,i=Ie[o];return null==i?(t=new Error("unknown message type "+n.type),J.default.captureException(t),new p.default("SystemMessage").error("",t),null):oe(R.default,{message:n,content:(0,ee.default)(n).content},void 0,oe(i,{message:n,channel:r,compact:a}))}Te.displayName="SystemMessageWrapper";var Ce=o.memo(Te);t.default=Ce},function(e,t,n){e.exports=n.p+"b4aa5e92cbf71d936e8ab48605ec1461.svg"},function(e,t,n){e.exports=n.p+"f3e713834a05aad80371aa84fb82037a.svg"},function(e,t,n){e.exports=n.p+"de8659b8a9149c4e0dcb597a09bd25d0.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(2)),a=n(1148),o=d(n(9129)),i=d(n(684)),l=d(n(15)),u=d(n(1262)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var v=null;function y(){var e=o.default.affinities;if(null==e)return!1;for(var t,n=c(e);!(t=n()).done;){var r=t.value,a=r.score,u=r.guildId,d=l.default.getGuild(u),f=i.default.getMemberCount(u);null!=d&&d.premiumSubscriberCount<s.PremiumGuildSubscriptionsRequired[s.PremiumGuildTiers.TIER_3]&&null!=f&&f>=3&&(null==v||a>v.score)&&(v=r)}}var m=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var u=r.prototype;return u.initialize=function(){this.waitFor(l.default,o.default,a.ExperimentStore,i.default),this.syncWith([l.default,o.default,a.ExperimentStore,i.default],y)},u.channelNoticePredicate=function(e,t,n){var r=a.ExperimentStore.getUserExperimentDescriptor(a.Experiments.GUILD_AFFINITY_PREMIUM_GUILD_SUBSCRIPTION_CTA),o=e&&null!=v&&v.guildId===t.id&&Date.now()-n>=s.CHANNEL_NOTICE_SHOW_DELAY;return o&&null!=r&&r.bucket===a.ExperimentBuckets.CONTROL&&(0,a.trackExposureToExperiment)(a.Experiments.GUILD_AFFINITY_PREMIUM_GUILD_SUBSCRIPTION_CTA,r),o&&null!=r&&r.bucket===a.ExperimentBuckets.TREATMENT_1},r}(u.default))(r.default);t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchGuildAffinities=void 0;var r=i(n(14)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}t.fetchGuildAffinities=function(){return r.default.get({url:o.Endpoints.GUILD_AFFINITIES,oldFormErrors:!0}).then((function(e){var t=e.body.guild_affinities;a.default.dispatch({type:o.ActionTypes.LOAD_GUILD_AFFINITIES_SUCCESS,guildAffinities:t})}),(function(){a.default.dispatch({type:o.ActionTypes.LOAD_GUILD_AFFINITIES_FAILURE})}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(2)),a=u(n(86)),o=u(n(12)),i=u(n(1262)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=null;function f(){var e=o.default.getCurrentUser();if(null==e||e.mfaEnabled===d)return!1;d=e.mfaEnabled}var c=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(o.default,a.default),this.syncWith([o.default,a.default],f)},i.channelNoticePredicate=function(e,t){return t.mfaLevel===l.MFALevels.ELEVATED&&!1===d&&a.default.hasElevatedPermissions(t.id)},r}(i.default))(r.default,{CONNECTION_OPEN:function(e){return f()},GUILD_UPDATE:function(e){return!0}});t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(2)),a=l(n(40)),o=l(n(1262)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(){return!0}var d=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var o=r.prototype;return o.initialize=function(){this.waitFor(a.default),this.syncWith([a.default],s)},o.channelNoticePredicate=function(e,t,n){var r=Date.now()-n>=i.CHANNEL_NOTICE_SHOW_DELAY;return e&&r&&a.default.can(i.Permissions.ADMINISTRATOR,t)},r}(o.default))(r.default);t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(2)),a=l(n(40)),o=l(n(1262)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var o=r.prototype;return o.initialize=function(){this.waitFor(a.default),this.syncWith([a.default],i.NOOP)},o.channelNoticePredicate=function(e,t,n){return e&&Date.now()-n>=i.CHANNEL_NOTICE_SHOW_DELAY&&a.default.can(i.Permissions.MANAGE_GUILD,t)},r}(o.default))(r.default);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=g(n(0)),o=h(n(9)),i=n(122),l=n(483),u=n(5935),s=h(n(29)),d=h(n(61)),f=g(n(149)),c=h(n(1256)),p=h(n(8656)),v=h(n(24)),y=n(1),m=h(n(6)),_=h(n(7592));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(){return(I=Object.assign||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}).apply(this,arguments)}var T={tension:140,friction:30},C={tension:180,friction:30},b={tension:800,friction:20},M=I({},b,{clamp:!0}),N=[].concat(u.GuildTierSubscriptionsOrdered,[{tier:y.PremiumGuildTiers.NONE}]).reverse();function A(e){var t=(0,l.hexToRgb)(e);return[t.r,t.g,t.b]}function P(e){switch(e){case"color":return M;case"scale":default:return b}}function R(e){var t,n=e.tier,r=e.guild,l=e.selectedTier,s=e.canSelectTier,c=e.theme,v=e.tierMarkerActive,h=e.secondaryTierMarkerActive,E=e.finishedInitialAnimation,g=e.targetTier,S=e.renderTierLabel,T=e.onSelect,C=a.useRef(null),b=r.premiumSubscriberCount>=y.PremiumGuildSubscriptionsRequired[n]&&r.premiumSubscriberCount>0,M=l===n,N=b&&y.PremiumGuildSubscriptionsRequired[v]>=y.PremiumGuildSubscriptionsRequired[n]||null!=g&&y.PremiumGuildSubscriptionsRequired[h]>=y.PremiumGuildSubscriptionsRequired[n],R=(E||N)&&M,L=c===y.ThemeTypes.DARK?y.HEXColors.PRIMARY_DARK_700:y.HEXColors.PRIMARY_LIGHT_160,D=(0,u.getTierName)(n),w=y.PremiumGuildSubscriptionsRequired[n],j=null!=D?O(a.Fragment,{},void 0,O("div",{},void 0,D),O("div",{},void 0,m.default.Messages.PREMIUM_GUILD_PERKS_MODAL_LEVEL_SUBSCRIBER_COUNT_TOOLTIP.format({subscriberCount:Math.min(r.premiumSubscriberCount,w),numRequired:w}))):null,k={scale:1,color:A(L)},U={scale:R?1.625:1,color:A(N?y.HEXColors.PREMIUM_GUILD_PINK:L)},G=O(f.default,{text:j,"aria-label":D||!1},void 0,(function(e){return a.createElement(d.default,I({},e,{onClick:function(){return T(n)},focusProps:{ringTarget:C}}),O(i.Spring,{from:k,to:U,config:P},void 0,(function(e){var t,r,l,u=e.scale,d=e.color;return a.createElement(i.animated.div,{ref:C,style:{transform:u.interpolate((function(e){return"scale("+e+")"})),background:(0,i.interpolate)([d],(function(e){return"rgb("+e.toString()+")"}))},className:(0,o.default)(N?_.default.tierMarkerAccomplished:_.default.tierMarkerInProgress,(r={},r[_.default.tierMarkerSelectable]=null===(t=null==s?void 0:s(n))||void 0===t||t,r))},n!==y.PremiumGuildTiers.NONE?O(p.default,{tier:n,className:(0,o.default)(_.default.currentTierIcon,(l={},l[_.default.tier3Icon]=n===y.PremiumGuildTiers.TIER_3,l))}):null)})))}));return O("div",{className:(0,o.default)(_.default.tierMarkerGroup,(t={},t[_.default.selectedTier]=M,t))},n,O("div",{className:_.default.tierMarkerBackground}),G,n!==y.PremiumGuildTiers.NONE?O("div",{className:_.default.tierMarkerLabelContainer},void 0,S(n,b)):null)}R.displayName="TierMarker";var L=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={finishedInitialAnimation:0===t.props.guild.premiumSubscriberCount,tierMarkerActive:y.PremiumGuildTiers.NONE,targetTier:null,hasTargetedTier:!1,subscribeModalOpen:!1,secondaryTierMarkerActive:y.PremiumGuildTiers.NONE},t.handleForegroundFrame=function(e){var n=e.width,r=void 0===n?0:n,a=t.props.guild;t.handleTierMarkers(t.state.tierMarkerActive,(function(e){return t.setState({tierMarkerActive:e})}),(function(e,t){return null!=e.amount&&r>=t&&a.premiumSubscriberCount>=e.amount}))},t.handleSecondaryFrame=function(e){var n=e.width,r=void 0===n?0:n;t.handleTierMarkers(t.state.secondaryTierMarkerActive,(function(e){return t.setState({secondaryTierMarkerActive:e})}),(function(e,t){return r>=t}))},t.handleTierMarkers=function(e,t,n){for(var r=N.length-1;r>0;r--){var a=N[r];if(n(a,r/N.length*100))return void(e!==r&&t(a.tier))}},t.handleFinishedInitialAnimation=function(){t.setState({finishedInitialAnimation:!0})},t.handleSelectTier=function(e){var n=t.props,r=n.canSelectTier,a=n.onSelectTier;(null==r||r(e))&&a(e)},t.renderTierLabel=function(e,n){var r=t.props,i=r.guild,l=r.theme;if(null!=(0,u.generateBlockGuildSubscriptionPurchasesNode)()||n)return O(v.default,{className:(0,o.default)([_.default.tierMarkerLabelText,_.default.isAccomplished])},void 0,(0,u.getTierName)(e));var d=(0,u.getTierName)(e),p=O("div",{},void 0,m.default.Messages.PREMIUM_GUILD_PERKS_MODAL_SUBSCRIBE_TO_TIER_TOOLTIP.format({tierName:d}));return O(f.default,{text:p,"aria-label":d||!1,position:f.TooltipPositions.BOTTOM},void 0,(function(n){return a.createElement(s.default,I({},n,{color:l===y.ThemeTypes.DARK?s.default.Colors.WHITE:s.default.Colors.BLACK,size:s.default.Sizes.SMALL,look:s.default.Looks.BLANK,onMouseEnter:function(){var r;null===(r=n.onMouseEnter)||void 0===r||r.call(n),t.setTargetTier(e)},onMouseLeave:function(){var e;null===(e=n.onMouseLeave)||void 0===e||e.call(n),t.maybeClearTargetTier()},onClick:function(){return t.subscribeUpToTier(e,i)}}),O(v.default,{className:_.default.tierMarkerLabelText},void 0,d,O(c.default,{className:_.default.tierMarkerLabelPlusIcon})))}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n);var l=r.prototype;return l.componentDidUpdate=function(e){var t=this.props.selectedTier;e.selectedTier!==t&&this.setState({finishedInitialAnimation:!0})},l.setTargetTier=function(e){var t=this.props.guild;e>(0,u.getGuildTierFromSubscriberCount)(t.premiumSubscriberCount)&&this.setState({targetTier:e,hasTargetedTier:!0})},l.maybeClearTargetTier=function(){this.state.subscribeModalOpen||this.setState({targetTier:null})},l.subscribeUpToTier=function(e,t){var n=this,r={page:y.AnalyticsPages.PREMIUM_GUILD_USER_MODAL,section:y.AnalyticsSections.PREMIUM_GUILD_USER_MODAL_PROGRESS_BAR,object:y.AnalyticsObjects.SUBSCRIBE_TO_TIER_BUTTON};switch(e){case y.PremiumGuildTiers.TIER_3:r.objectType=y.AnalyticsObjectTypes.TIER_3;break;case y.PremiumGuildTiers.TIER_2:r.objectType=y.AnalyticsObjectTypes.TIER_2;break;case y.PremiumGuildTiers.TIER_1:r.objectType=y.AnalyticsObjectTypes.TIER_1}this.setState({subscribeModalOpen:!0}),this.props.openPaymentModal({analyticsLocation:r,numberOfSubscriptionsToAdd:y.PremiumGuildSubscriptionsRequired[e]-t.premiumSubscriberCount,onClose:function(){return n.setState({targetTier:null,subscribeModalOpen:!1})}})},l.renderTierMarker=function(e){var t=this.props,n=t.guild,r=t.selectedTier,a=t.canSelectTier,o=t.theme,i=this.state;return O(R,{tier:e,guild:n,selectedTier:r,canSelectTier:a,theme:o,tierMarkerActive:i.tierMarkerActive,secondaryTierMarkerActive:i.secondaryTierMarkerActive,finishedInitialAnimation:i.finishedInitialAnimation,targetTier:i.targetTier,renderTierLabel:this.renderTierLabel,onSelect:this.handleSelectTier},e)},l.renderForegroundBar=function(){var e=this.state.finishedInitialAnimation,t=this.props,n=t.guild,r=t.initialAnimationDelay;return O(i.Spring,{from:{width:0},to:{width:(0,u.getProgressPercentToTopTier)(n)},config:T,delay:e?0:r,onChange:this.handleForegroundFrame,onRest:e?void 0:this.handleFinishedInitialAnimation},void 0,(function(e){var t=e.width;return O(i.animated.div,{className:_.default.barForeground,style:{width:t.interpolate((function(e){return e+"%"}))}})}))},l.renderSecondaryBar=function(){var e=this.state.targetTier,t=(0,u.getProgressPercentToTopTier)(this.props.guild),n=null!=e?100*e/u.GuildTierSubscriptionsOrdered.length:t;return O(i.Spring,{from:{width:t},to:{width:n},config:C,onChange:this.handleSecondaryFrame},void 0,(function(e){var t=e.width;return O(i.animated.div,{className:_.default.barSecondary,style:{width:t.interpolate((function(e){return e+"%"}))}})}))},l.render=function(){var e=this;return O("div",{className:(0,o.default)(this.props.className,_.default.progressBar)},void 0,O("div",{className:_.default.barBackground},void 0,this.state.hasTargetedTier?this.renderSecondaryBar():null,this.renderForegroundBar()),O("div",{className:_.default.tierMarkerContainer},void 0,N.map((function(t){return e.renderTierMarker(t.tier)}))))},r}(a.Component);t.default=L,L.displayName="PremiumGuildModalProgressBar"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?6:t,r=e.height,a=void 0===r?11:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 6 11"}),s("path",{fill:d,className:f,d:"M3 0.625244L0 3.62524V7.62524L3 10.6252L6 7.62524V3.62524L3 0.625244ZM5 7.24524L3 9.24524L1 7.24524V4.04524L3 2.04524L5 4.04524V7.24524Z"}))}d.displayName="PremiumGuildTier1Simple"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("path",{d:"M3 0.625305L0 3.62531V7.62531L3 10.6253L6 7.62531V3.62531L3 0.625305ZM5 7.24531L3 9.24531L1 7.24531V4.04531L3 2.04531L5 4.04531V7.24531Z"}),f=s("path",{d:"M3.76 4.21526L3 3.45526L2 4.45526V5.97526L3.76 4.21526Z"}),c=s("path",{d:"M2.28003 7.11532L3.00003 7.83532L4.00003 6.83532V5.39532L2.28003 7.11532Z"});function p(e){var t=e.width,n=void 0===t?6:t,r=e.height,a=void 0===r?11:r,l=e.color,p=void 0===l?"currentColor":l,v=e.foreground,y=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(y),{width:n,height:a,viewBox:"0 0 6 11"}),s("g",{fill:p,fillRule:"evenodd",className:v},void 0,d,f,c))}p.displayName="PremiumGuildTier3Simple"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 32 32"}),s("path",{fill:d,className:f,d:"M16 1L7 10V22L16 31L25 22V10L16 1ZM20.62 11.27L16.5 7.16V2.91L23.62 10.03L20.62 11.27ZM12 19.93V12.07L16 8.07L20 12.07V19.93L16 23.93L12 19.93ZM15.5 7.16L11.38 11.28L8.38 10.04L15.5 2.91V7.16ZM11 12.2V19.8L8 21.04V10.96L11 12.2ZM11.38 20.73L15.5 24.85V29.09L8.38 21.97L11.38 20.73ZM16.5 24.84L20.62 20.72L23.62 21.96L16.5 29.09V24.84ZM21 19.8V12.2L24 10.96V21.05L21 19.8Z"}))}d.displayName="PremiumGuildTier1"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 32 32"}),s("path",{fill:d,className:f,fillRule:"evenodd",clipRule:"evenodd",d:"M29 2C29 2.55 28.55 3 28 3C27.45 3 27 2.55 27 2V1C27 0.45 27.45 0 28 0C28.55 0 29 0.45 29 1V2ZM2.94 25.94L4 24L5.06 25.94L7 27L5.06 28.06L4 30L2.94 28.06L1 27L2.94 25.94ZM28 5C27.45 5 27 5.45 27 6V7C27 7.55 27.45 8 28 8C28.55 8 29 7.55 29 7V6C29 5.45 28.56 5 28 5ZM30 3H31C31.56 3 32 3.45 32 4C32 4.55 31.55 5 31 5H30C29.45 5 29 4.55 29 4C29 3.45 29.45 3 30 3ZM26 3H25C24.45 3 24 3.45 24 4C24 4.55 24.45 5 25 5H26C26.55 5 27 4.55 27 4C27 3.45 26.56 3 26 3ZM15.6201 1.46002V7.12002L11.5001 11.23L7.50012 9.58002L15.6201 1.46002ZM24.7401 9.58002L16.6201 1.46002V7.12002L20.7401 11.23L24.7401 9.58002ZM7.12012 10.5L11.1201 12.16V19.76L7.12012 21.42V10.5ZM16.6201 24.8V30.46L24.7401 22.34L20.7401 20.68L16.6201 24.8ZM15.6201 30.46L7.50012 22.34L11.5001 20.68L15.6201 24.8V30.46ZM21.1201 19.76L25.1201 21.42V10.5L21.1201 12.16V19.76ZM19.7301 11.64L20.1201 12.03V19.89L16.1201 23.89L12.1201 19.89V19.38L19.7301 11.64ZM12.1201 17.95L19.0201 10.93L18.2401 10.15L12.1201 16.38V17.95ZM17.5301 9.44002L12.1201 14.95V12.03L16.1201 8.03002L17.5301 9.44002Z"}))}d.displayName="PremiumGuildTier3"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fill:d,className:f,fillRule:"evenodd",clipRule:"evenodd",d:"M17 6V6.999H7C5.896 6.999 5 7.895 5 8.999V16H3C1.895 16 1 15.104 1 14V6C1 4.896 1.895 4 3 4H15C16.104 4 17 4.896 17 6ZM7 10.999C7 9.89502 7.896 8.99902 9 8.99902H21C22.104 8.99902 23 9.89502 23 10.999V18.999C23 20.103 22.104 20.999 21 20.999H9C7.896 20.999 7 20.103 7 18.999V10.999ZM11.828 14.462L9 18.999H21L17.023 12.618L13.85 17.706L11.828 14.462Z"}))}d.displayName="Pictures"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(5697),l=g(n(5832)),u=g(n(29)),s=g(n(371)),d=g(n(5828)),f=g(n(149)),c=g(n(5694)),p=g(n(5830)),v=g(n(47)),y=g(n(24)),m=n(5935),_=n(1),h=g(n(6)),E=g(n(7594));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(){return(I=Object.assign||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}).apply(this,arguments)}var T=function(e){var t=e.openPaymentModal,n=(0,m.generateBlockGuildSubscriptionPurchasesNode)();if(null!=n)return O(f.default,{text:n,"aria-label":!1},void 0,(function(e){return a.createElement(d.default,I({},e,{disabled:!0,size:u.default.Sizes.SMALL}),h.default.Messages.PREMIUM_GUILD_PERKS_MODAL_BUTTON_SUBSCRIBE_THIS_SERVER)}));return O(d.default,{onClick:function(){t({analyticsLocation:{page:_.AnalyticsPages.PREMIUM_GUILD_USER_MODAL,section:_.AnalyticsSections.PREMIUM_GUILD_USER_MODAL_CTA_BAR,object:_.AnalyticsObjects.BUTTON_CTA}})},size:u.default.Sizes.SMALL},void 0,h.default.Messages.PREMIUM_GUILD_PERKS_MODAL_BUTTON_SUBSCRIBE_THIS_SERVER)};T.displayName="PremiumGuildSubscribeButton";var C=function(e){var t=e.guild,n=e.closeLayer,r=e.openPaymentModal,a=(0,o.useStateFromStores)([l.default],(function(){return l.default.slots})),d=Object.keys(a).filter((function(e){var n=a[e];return null!=n.premiumGuildSubscription&&n.premiumGuildSubscription.guildId===t.id}));return O("div",{className:E.default.ctaBar},void 0,O(s.default,{guild:t,active:!0,size:s.default.Sizes.LARGE,className:E.default.guildIcon}),O("div",{className:E.default.guildDetails},void 0,O(v.default,{size:v.default.Sizes.SIZE_20,className:E.default.guildName},void 0,t.name),O("div",{className:E.default.guildSubscriptionInfo},void 0,O("div",{className:E.default.subscriberCountWrapper},void 0,O(p.default,{className:t.premiumSubscriberCount>0?E.default.badgeIconWithSubscribers:E.default.badgeIconWithoutSubscribers}),O(y.default,{className:E.default.guildSubscriptionInfoSubscriberCount},void 0,h.default.Messages.PREMIUM_GUILD_PERKS_MODAL_HEADER_SUBSCRIPTION_COUNT.format({subscriptions:t.premiumSubscriberCount}))),d.length>0?O(y.default,{className:E.default.userSubscriptionCount},void 0,h.default.Messages.PREMIUM_GUILD_PERKS_MODAL_HEADER_USER_SUBSCRIPTION_COUNT.format({numSubscriptions:d.length})):null)),O("div",{className:E.default.actions},void 0,O(T,{openPaymentModal:r}),O(u.default,{className:E.default.giftAction,innerClassName:E.default.giftActionContent,color:u.default.Colors.PRIMARY,onClick:function(){(0,i.openPremiumSubscriptionNewPlanModal)({planId:_.SubscriptionPlans.PREMIUM_MONTH_TIER_2,isGift:!0,analyticsLocation:{page:_.AnalyticsPages.PREMIUM_GUILD_USER_MODAL,section:_.AnalyticsSections.PREMIUM_GUILD_USER_MODAL_CTA_BAR,object:_.AnalyticsObjects.BUTTON_ICON,objectType:_.AnalyticsObjectTypes.GIFT},onClose:function(e){return e&&n()}})},size:u.default.Sizes.SMALL},void 0,O(c.default,{className:E.default.giftIcon}),h.default.Messages.PREMIUM_GUILD_PERKS_MODAL_GIFT_NITRO)))};C.displayName="PremiumGuildPerksModalCTABar";var b=C;t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=g(n(9)),i=n(3),l=g(n(469)),u=g(n(1147)),s=g(n(29)),d=g(n(55)),f=g(n(1164)),c=g(n(8518)),p=g(n(5827)),v=n(35),y=g(n(47)),m=g(n(24)),_=g(n(9607)),h=g(n(6)),E=g(n(7596));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,T(e,t)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var C=function(e){function t(){return e.apply(this,arguments)||this}return I(t,e),t.prototype.render=function(){var e=this.props.onClose;return O(v.ModalHeader,{separator:!1,justify:d.default.Justify.BETWEEN},void 0,O(y.default,{size:y.default.Sizes.SIZE_16},void 0,this.props.text),null!=e?O(v.ModalCloseButton,{onClick:e}):null)},t}(a.PureComponent);function b(e){var t=e.imageClass,n=e.children,r=e.error,a=e.onDismissError;return O("div",{className:E.default.content},void 0,O("div",{className:(0,o.default)(E.default.image,t)}),n,O(l.default,{},void 0,null!=r?O(c.default,{className:E.default.error},void 0,O(f.default,{onDismiss:a},void 0,r.message)):null))}C.displayName="ConfirmationHeader",b.displayName="Body";var M=function(e){var t=e.canceledCount,n=(0,i.useStateFromStores)([u.default],(function(){return u.default.getPremiumTypeSubscription()}));return null==n?null:O("div",{className:E.default.pendingCancellation},void 0,O(p.default,{className:E.default.pendingCancellationIcon}),O(m.default,{size:m.default.Sizes.SIZE_16,className:E.default.pendingCancellationMessage},void 0,h.default.Messages.PREMIUM_GUILD_SUBSCRIBE_CONFIRM_CANCEL_WARNING.format({date:n.currentPeriodEnd,canceledCount:t})))};function N(e){var t=e.imageClass,n=e.blurb,r=e.guild,a=e.warning,o=e.error,i=e.onDismissError,l=e.slotCount,u=void 0===l?1:l,s=e.canceledCount,d=void 0===s?0:s;return O(b,{imageClass:t,error:o,onDismissError:i},void 0,O(m.default,{size:m.default.Sizes.SIZE_16},void 0,n),O(_.default,{className:E.default.guildCard,guild:r,subscriptionChange:u}),O(m.default,{size:m.default.Sizes.SIZE_16},void 0,a),d>0?O(M,{canceledCount:d}):null)}function A(e){var t,n,r=e.imageClass,o=e.blurb,i=e.fromGuilds,l=e.toGuild,u=e.error,s=e.onDismissError,d=e.slotCount,f=void 0===d?1:d,c=e.canceledCount,p=void 0===c?0:c,v=a.useRef(i),y=null===(t=v.current)||void 0===t?void 0:t.length,g=null===(n=v.current)||void 0===n?void 0:n.reduce((function(e,t){return e.hasOwnProperty(t.id)||(e[t.id]=[]),e[t.id].push(t),e}),{});return O(b,{imageClass:r,error:u,onDismissError:s},void 0,O(m.default,{size:m.default.Sizes.SIZE_16},void 0,o),O(m.default,{size:m.default.Sizes.SIZE_12,className:E.default.transferGuildCardHeader},void 0,h.default.Messages.PREMIUM_GUILD_SUBSCRIBE_CONFIRM_TRANSFER_FROM_GUILD.format({guildCount:y})),null!=g?Object.keys(g).map((function(e){return O(_.default,{className:E.default.transferFromGuildCard,guild:g[e][0],subscriptionChange:-1*g[e].length},e)})):null,O(m.default,{size:m.default.Sizes.SIZE_12,className:E.default.transferGuildCardHeader},void 0,h.default.Messages.PREMIUM_GUILD_SUBSCRIBE_CONFIRM_TRANSFER_TO_GUILD.format({slotCount:f})),O("div",{className:E.default.activeTransferGuildCardBorder},void 0,O(_.default,{className:E.default.transferToGuildCard,guild:l,subscriptionChange:null!=i?i.length:1})),p>0?O(M,{canceledCount:p}):null)}M.displayName="PendingCancellationWarning",N.displayName="ConfirmationBody",A.displayName="TransferConfirmationBody";var P=function(e){function t(){return e.apply(this,arguments)||this}return I(t,e),t.prototype.render=function(){var e=this.props,t=e.confirmation,n=e.confirmationLabel,r=e.isModifyingSubscription,a=e.onConfirm,o=e.onCancel;return O(v.ModalFooter,{},void 0,O(s.default,{onClick:a,submitting:r,"aria-label":n},void 0,t),O(s.default,{look:s.default.Looks.LINK,color:s.default.Colors.PRIMARY,onClick:o,disabled:r},void 0,h.default.Messages.CANCEL))},t}(a.PureComponent);P.displayName="ConfirmationFooter";var R=function(e){function t(){return e.apply(this,arguments)||this}return I(t,e),t.prototype.render=function(){var e=this.props,t=e.guild,n=e.header,r=e.blurb,o=e.warning,i=e.confirmation,l=e.confirmationLabel,u=e.imageClass,s=e.error,d=e.isModifyingSubscription,f=e.onConfirm,c=e.onCancel,p=e.onDismissError,y=e.canceledCount;return O(a.Fragment,{},void 0,O(C,{text:n}),O(v.ModalContent,{},void 0,O(N,{guild:t,blurb:r,warning:o,imageClass:u,error:s,onDismissError:p,canceledCount:y})),O(P,{confirmation:i,confirmationLabel:l,isModifyingSubscription:d,onConfirm:f,onCancel:c}))},t}(a.PureComponent);R.displayName="PremiumGuildSubscriptionConfirmation",R.Header=C,R.SubscribeBody=N,R.TransferBody=A,R.Footer=P;var L=R;t.default=L},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(9)),i=c(n(1175)),l=c(n(371)),u=c(n(9608)),s=c(n(8656)),d=n(5935),f=c(n(7595));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,m(e,t)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=function(e){function t(){return e.apply(this,arguments)||this}return y(t,e),t.prototype.render=function(){var e=this.props.tier;return v("div",{className:f.default.tierPill},void 0,v(i.default,{className:f.default.tierPillStar},void 0,v(s.default,{tier:e,className:f.default.tierPillGem})),(0,d.getTierName)(e))},t}(a.PureComponent);_.displayName="TierPill";var h=function(e){var t=e.subscriptionChange,n=e.guild;if(0===t)return null;var r=Math.max(n.premiumSubscriberCount+t,0),o=(0,d.getGuildTierFromSubscriberCount)(r),i=o-(0,d.getGuildTierFromSubscriberCount)(n.premiumSubscriberCount);return 0===i?null:a.createElement(a.Fragment,null,v(u.default,{className:i>0?f.default.levelUpIcon:f.default.levelDownIcon}),v(_,{tier:o}))},E=function(e){function t(){return e.apply(this,arguments)||this}return y(t,e),t.prototype.render=function(){var e=this.props,t=e.guild,n=e.className,r=e.subscriptionChange;return v("div",{className:(0,o.default)(f.default.subscription,n)},void 0,v(l.default,{guild:t,size:l.default.Sizes.LARGE}),v("div",{className:f.default.subscriptionInfo},void 0,v("div",{className:f.default.guildName},void 0,t.name),v("div",{className:f.default.tierInfo},void 0,v(_,{tier:t.premiumTier}),v(h,{guild:t,subscriptionChange:null!=r?r:0}))))},t}(a.PureComponent);t.default=E,E.displayName="GuildSubscriptionCard"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color"]);return o.createElement("svg",u({},(0,i.default)(f),{width:n,height:a,viewBox:"0 0 16 16"}),s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.45329 8.53891L3.26217 13.7844C2.95995 14.0719 2.49772 14.0719 2.21328 13.7844C1.92883 13.497 1.92883 13.0299 2.21328 12.7245L6.88884 7.99999L2.21328 3.27543C1.92883 2.988 1.92883 2.50297 2.21328 2.21555C2.49772 1.92812 2.95995 1.92812 3.26217 2.21555L8.45329 7.47903C8.73774 7.76645 8.73774 8.23352 8.45329 8.53891Z",fill:d}),s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.4533 8.53891L9.26217 13.7844C8.95995 14.0719 8.49772 14.0719 8.21328 13.7844C7.92883 13.497 7.92883 13.0299 8.21328 12.7245L12.8888 7.99999L8.21328 3.27543C7.92883 2.988 7.92883 2.50297 8.21328 2.21555C8.49772 1.92812 8.95995 1.92812 9.26217 2.21555L14.4533 7.47903C14.7377 7.76645 14.7377 8.23352 14.4533 8.53891Z",fill:d}))}d.displayName="DoubleChevronRight"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=d(n(8448)),o=d(n(5830)),i=d(n(9610)),l=d(n(24)),u=d(n(6)),s=d(n(7599));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var p=function(){return c("ul",{className:s.default.perks},void 0,[{icon:o.default,text:u.default.Messages.PREMIUM_GUILD_SUBSCRIBER_FEATURE_MEMBER_BADGE},{icon:i.default,text:u.default.Messages.PREMIUM_GUILD_SUBSCRIBER_FEATURE_PROFILE_BADGE},{icon:a.default,text:u.default.Messages.PREMIUM_GUILD_SUBSCRIBER_FEATURE_ROLE}].map((function(e,t){var n=e.icon;return c("li",{className:s.default.perk},t,c(n,{className:s.default.icon}),c(l.default,{size:l.default.Sizes.SIZE_14},void 0,e.text))})))};p.displayName="PremiumGuildSubscriberPerks";var v=p;t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),i=u(n(22)),l=u(n(7598));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=function(e){return f("path",{fill:e.fill,fillRule:"evenodd",className:e.className,d:"M4 20c.3 0 .5-.2.5-.5v-1c0-.3-.2-.5-.5-.5s-.5.2-.5.5v1c0 .2.2.5.5.5zM4 24c.3 0 .5-.2.5-.5v-1c0-.3-.2-.5-.5-.5s-.5.2-.5.5v1c0 .2.2.5.5.5zM5 21c0 .3.2.5.5.5h1c.3 0 .5-.3.5-.5 0-.3-.2-.5-.5-.5h-1c-.3 0-.5.2-.5.5zM1 21c0 .3.2.5.5.5h1c.3 0 .5-.3.5-.5 0-.3-.2-.5-.5-.5h-1c-.3 0-.5.2-.5.5zM2 13l.7 1.3L4 15l-1.3.7L2 17l-.7-1.3L0 15l1.3-.7L2 13zM22 7l.7 1.3L24 9l-1.3.7L22 11l-.7-1.3L20 9l1.3-.7L22 7zM10 14.7v.6l2 2 2-2v-4.6l-4 4zM10 13.3l4-4v-.6l-.1-.2-3.9 3.9v.9zM13.1 7.8L12 6.7l-2 2V11l3.1-3.2zM15 8.2L18 7l-6-6v4.2l3 3zM15 15.8l3 1.2-6 6v-4.2l3-3z"})};c.displayName="GemSheen";var p=f(c,{fill:"#fff"});function v(e){var t=e.width,n=void 0===t?24:t,r=e.height,u=void 0===r?24:r,s=e.color,v=void 0===s?"currentColor":s,y=e.foreground,m=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return a.createElement("svg",d({},(0,i.default)(m),{width:n,height:u,viewBox:"0 0 24 24",fill:"none"}),p,f("path",{fill:v,fillRule:"evenodd",clipRule:"evenodd",d:"M12 1L6 7V17L12 23V18.8L9 15.8V8.2L12 5.2V1ZM15 15.8L18 17V7L15 8.2V15.8Z"}),f(c,{fill:v,className:(0,o.default)(l.default.gemSheen,y)}))}v.displayName="PremiumGuildSubscriberBadgeLevel4"},function(e,t,n){e.exports=n.p+"50f02014a2ac385c90461d9a4b80e482.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(9)),i=v(n(24)),l=v(n(1210)),u=n(8657),s=v(n(8924)),d=v(n(8925)),f=n(8658),c=v(n(6)),p=v(n(7376));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e){var t=e.channel,n=e.startThread,r=e.gotoThread,i=(0,u.useActiveThreads)(t),v=i.joinedThreadIds,y=i.unjoinedThreadIds,_=a.useCallback((function(e){return 0===e.section?m(h,{text:c.default.Messages.THREAD_BROWSER_JOINED_HEADER.format({count:v.length})},e.section):m(h,{text:c.default.Messages.THREAD_BROWSER_OTHER_HEADER.format({count:y.length}),divider:v.length>0},e.section)}),[v.length,y.length]),E=a.useCallback((function(e){return 1===e&&v.length>0?64:32}),[v.length]),g=a.useCallback((function(e){var t=0===e.section?v[e.row]:y[e.row];return m(d.default,{threadId:t,type:f.RowType.Active,gotoThread:r},e.section+"-"+e.row)}),[v,y,r]);return 0===v.length&&0===y.length?m(s.default,{channel:t,header:c.default.Messages.THREAD_BROWSER_EMPTY_STATE_ACTIVE_HEADER,startThread:n}):m(l.default,{className:(0,o.default)(p.default.list,p.default.activeThreadsList),fade:!0,sections:[v.length,y.length],sectionHeight:E,rowHeight:80,renderRow:g,renderSection:_,chunkSize:20})}function h(e){var t=e.text,n=e.divider;return a.createElement(a.Fragment,null,n?m("div",{className:p.default.divider}):null,m(i.default,{color:i.default.Colors.HEADER_SECONDARY,size:i.default.Sizes.SIZE_12,className:p.default.sectionHeader},void 0,t))}_.displayName="ActiveThreadsTab"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function i(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,i=e.color,l=void 0===i?"currentColor":i,u=e.className,s=e.foreground;return o("svg",{width:n,height:a,viewBox:"0 0 24 24",className:u},void 0,o("path",{className:s,fill:l,fillRule:"evenodd",clipRule:"evenodd",d:"M12.75 18L12.75 6L11.25 6L11.25 18L12.75 18Z"}),o("path",{className:s,fill:l,fillRule:"evenodd",clipRule:"evenodd",d:"M6.5 12.75C5.80964 12.75 5.25 13.3096 5.25 14V18H3.75V14C3.75 12.4812 4.98122 11.25 6.5 11.25H17.5C19.0188 11.25 20.25 12.4812 20.25 14V18H18.75V14C18.75 13.3096 18.1904 12.75 17.5 12.75H6.5Z"}),o("path",{className:s,fill:l,d:"M12 7C10.6193 7 9.5 5.88071 9.5 4.5C9.5 3.11929 10.6193 2 12 2C13.3807 2 14.5 3.11929 14.5 4.5C14.5 5.88071 13.3807 7 12 7Z"}),o("path",{className:s,fill:l,d:"M19.5 22C18.1193 22 17 20.8807 17 19.5C17 18.1193 18.1193 17 19.5 17C20.8807 17 22 18.1193 22 19.5C22 20.8807 20.8807 22 19.5 22Z"}),o("path",{className:s,fill:l,d:"M12 22C10.6193 22 9.5 20.8807 9.5 19.5C9.5 18.1193 10.6193 17 12 17C13.3807 17 14.5 18.1193 14.5 19.5C14.5 20.8807 13.3807 22 12 22Z"}),o("path",{className:s,fill:l,d:"M4.5 22C3.11929 22 2 20.8807 2 19.5C2 18.1193 3.11929 17 4.5 17C5.88071 17 7 18.1193 7 19.5C7 20.8807 5.88071 22 4.5 22Z"}))}i.displayName="ChannelDirectory"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var r,a=I(n(0)),o=S(n(9)),i=S(n(10)),l=S(n(1160)),u=S(n(151)),s=I(n(8293)),d=S(n(149)),f=S(n(8602)),c=S(n(24)),p=S(n(1210)),v=n(8657),y=n(1209),m=S(n(8924)),_=S(n(8925)),h=n(8658),E=S(n(6)),g=S(n(7376));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function T(){return(T=Object.assign||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}).apply(this,arguments)}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function b(e){var t=e.channel,n=e.startThread,r=e.gotoThread,S=a.useState(v.PrivacyTab.Public),O=S[0],I=S[1],b=a.useState(!1),M=b[0],N=b[1],A=(0,y.useIsThreadModerator)(t),P=M&&A,R=O===v.PrivacyTab.Private&&!P;(0,v.useTrackThreadBrowserTab)(!1,{tab:O,moderatorView:P});var L=(0,v.useArchivedThreads)(t,O,P),D=L.threadIds,w=L.canLoadMore,j=L.loading,k=L.loadMore,U=a.useRef(null),G=a.useMemo((function(){var e,t;return C("div",{className:g.default.controls},void 0,C(s.default,{selectedItem:O,type:s.Types.TOP_PILL,onItemSelect:I,className:g.default.tabBar},"tabs",C(s.Item,{id:v.PrivacyTab.Public,className:(0,o.default)(g.default.tab,(e={},e[g.default.active]=O===v.PrivacyTab.Public,e))},void 0,E.default.Messages.THREAD_BROWSER_PUBLIC),C(s.Item,{id:v.PrivacyTab.Private,className:(0,o.default)(g.default.tab,(t={},t[g.default.active]=O===v.PrivacyTab.Private,t))},void 0,E.default.Messages.THREAD_BROWSER_PRIVATE)),A&&O===v.PrivacyTab.Private?C("div",{className:g.default.moderatorView},void 0,C(l.default,{value:M,onChange:function(e,t){return N(t)},className:g.default.checkbox,type:l.default.Types.INVERTED,size:20}),C(c.default,{size:c.default.Sizes.SIZE_16,color:c.default.Colors.INTERACTIVE_NORMAL},void 0,E.default.Messages.MODERATOR_VIEW,C(d.default,{text:E.default.Messages.MODERATOR_VIEW_TOOLTIP},void 0,(function(e){return a.createElement(f.default,T({},e,{className:g.default.infoIcon}))})))):null)}),[O,A,M]),F=a.useCallback((function(){return G}),[G]),B=a.useCallback((function(e){return C(_.default,{threadId:D[e.row],type:R?h.RowType.MyArchived:h.RowType.AllArchived,gotoThread:r},e.section+"-"+e.row)}),[D,R,r]),H=a.useCallback((function(){var e,t,n=null===(e=U.current)||void 0===e?void 0:e.getScrollerState();if(null!=n){var r=i.default.getChannel(D[D.length-1]);if(null!=r){var a=R?r.id:null===(t=r.threadMetadata)||void 0===t?void 0:t.archiveTimestamp;if(null!=a){var o=n.scrollTop+n.scrollHeight;n.offsetHeight-o<200&&k(a)}}}}),[D,k,R]);return 0===D.length?j?C("div",{className:g.default.list},void 0,G,C(u.default,{className:g.default.spinner}),";"):C("div",{className:g.default.list},void 0,G,C(m.default,{channel:t,header:E.default.Messages.THREAD_BROWSER_EMPTY_STATE_ARCHIVED_HEADER,startThread:n})):a.createElement(p.default,{ref:U,className:g.default.list,fade:!0,sections:[D.length],sectionHeight:64,rowHeight:80,renderRow:B,renderSection:F,chunkSize:20,onScroll:w?H:void 0})}b.displayName="ArchivedThreadsTab"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=C;var r,a=S(n(0)),o=E(n(9)),i=S(n(8311)),l=n(8278),u=n(9616),s=E(n(8640)),d=E(n(61)),f=E(n(8606)),c=E(n(8443)),p=E(n(8266)),v=E(n(150)),y=n(121),m=n(1),_=E(n(6)),h=E(n(7606));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(){return O("div",{className:h.default.spine})}I.displayName="renderIconSpine";var T=O(f.default,{});function C(e){var t,r=e.message,f=e.onClickUsername,E=e.onContextMenuUsername,g=e.compact,S=r.application;if(null==S||null==S.name)return null;var C,b=(0,u.getApplicationCommand)(r.content);if(null==b)return null;if(!g){var M,N=null!==(M=v.default.getApplicationIconURL({id:S.id,icon:S.icon}))&&void 0!==M?M:n(1321);C=O("img",{alt:"","aria-hidden":!0,className:h.default.avatar,src:N})}var A=_.default.Messages.SYSTEM_MESSAGE_APPLICATION_COMMAND_USED.format({usernameHook:function(){return O(s.default,{className:h.default.username,message:r,compact:g,onClick:f,onContextMenu:E},r.author.id)},commandNameHook:function(){return O(d.default,{className:h.default.command,onClick:function(){return e=b,t=""+l.COMMAND_SENTINEL+e.name,y.ComponentDispatch.dispatchToLastSubscribed(m.ComponentActions.INSERT_TEXT,{content:t}),void i.setPreferredCommandId(e.id);var e,t}},b.id,"/",b.name)},applicationNameHook:function(){return O("span",{className:h.default.application},S.id,C,S.name)}}),P=O(c.default,{timestamp:r.timestamp,compact:g});if(g){var R,L=a.createElement(a.Fragment,null,P,b.hasOptions?I():null);return O(p.default,{className:(0,o.default)(h.default.messageApplicationCommand,(R={},R[h.default.compact]=!0,R)),iconNode:L,iconContainerClassName:h.default.messageIconContainer,compact:!0},void 0,O("div",{className:h.default.header},void 0,A),b.hasOptions?O("div",{className:h.default.content},void 0,b.content):null)}var D=a.createElement(a.Fragment,null,T,b.hasOptions?I():null);return O(p.default,{className:(0,o.default)(h.default.messageApplicationCommand,(t={},t[h.default.compact]=g,t)),iconNode:D,iconContainerClassName:h.default.messageIconContainer},void 0,O("div",{className:h.default.header},void 0,A,P),b.hasOptions?O("div",{className:(0,o.default)(h.default.cozy,h.default.content)},void 0,b.content):null)}C.displayName="ApplicationCommand"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getApplicationCommand=function(e){var t=r.exec(e);if(null==t)return null;t[0];var n=t[1],a=t[2],o=t[3];if(null==n||null==a)return null;return{content:"/"+n+(null!=o?" "+o:""),name:n,id:a,hasOptions:!!o}};var r=/<\/([^\s]+):(\d+)>(?:\s?(.*))?/},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(682)),o=l(n(8266)),i=l(n(6));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.message,r=e.compact,l=e.missed,u=e.joinable,d=e.onClickUsername,f=e.onContextMenuUsername,c=e.onClickJoinCall,p=(0,a.default)(t).nick,v=function(e){var t=null!=e.call?e.call.duration:null;return null!=t?t.humanize():null}(t),y={onClick:d,onContextMenu:f};return l?s(o.default,{icon:n(9618),timestamp:t.timestamp,compact:r},void 0,null!=v?i.default.Messages.SYSTEM_MESSAGE_CALL_MISSED_WITH_DURATION.format({username:p,usernameOnClick:y,callDuration:v}):i.default.Messages.SYSTEM_MESSAGE_CALL_MISSED.format({username:p,usernameOnClick:y})):s(o.default,{icon:n(9619),timestamp:t.timestamp,compact:r},void 0,null!=v?i.default.Messages.SYSTEM_MESSAGE_CALL_STARTED_WITH_DURATION.format({username:p,usernameOnClick:y,callDuration:v}):i.default.Messages.SYSTEM_MESSAGE_CALL_STARTED.format({username:p,usernameOnClick:y}),u?s(o.default.Action,{onClick:c},void 0,i.default.Messages.SYSTEM_MESSAGE_JOIN_CALL):null)}d.displayName="Call"},function(e,t,n){e.exports=n.p+"d80d1fdc43a3c42134a31a39581160ac.svg"},function(e,t,n){e.exports=n.p+"7f75ab26bc5deb393cd8db44d9fe14e7.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(1311)),i=d(n(271)),l=d(n(278)),u=d(n(8266)),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.children,n=e.messageReference;if(null==n)return p(i.default,{},void 0,t);var r=p(o.default,{messageReference:n});return p(l.default,{position:l.default.Positions.RIGHT,renderPopout:function(){return r}},void 0,(function(e){e["aria-controls"],e["aria-expanded"];var n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["aria-controls","aria-expanded"]);return a.createElement(i.default,n,t)}))}v.displayName="WebhookName";var y=function(e){var t,r;function a(){return e.apply(this,arguments)||this}return r=e,(t=a).prototype=Object.create(r.prototype),t.prototype.constructor=t,c(t,r),a.prototype.render=function(){var e=this.props,t=e.onClickUsername,r=e.message,a=e.onContextMenuUsername,o=e.compact,i=r.author,l=r.content,d=r.timestamp,f=r.messageReference,c=s.default.Messages.SYSTEM_MESSAGE_CHANNEL_FOLLOW_ADD.format({username:i.toString(),usernameOnClick:{onClick:t,onContextMenu:a},webhookName:l,webhookNameHook:function(e,t){return p(v,{messageReference:f},t,e)}});return p(u.default,{icon:n(8519),timestamp:d,compact:o},void 0,c)},a}(a.Component);t.default=y,y.displayName="ChannelFollowAdd"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(682)),o=l(n(8266)),i=l(n(6));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.message,r=e.onClickUsername,l=e.onContextMenuUsername,u=e.compact,d=(0,a.default)(t).nick;return s(o.default,{icon:n(8926),timestamp:t.timestamp,compact:u},void 0,i.default.Messages.SYSTEM_MESSAGE_CHANNEL_ICON_CHANGE.format({username:d,usernameOnClick:{onClick:r,onContextMenu:l}}))}d.displayName="ChannelIconChange"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(682)),o=s(n(271)),i=s(n(8266)),l=s(n(6)),u=s(n(7607));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.message,r=e.onClickUsername,s=e.onContextMenuUsername,d=e.compact,c=(0,a.default)(t),p=c.nick,v=c.colorString;return f(i.default,{compact:d,className:u.default.channelNameChange,icon:n(8926),timestamp:t.timestamp},void 0,null==v?l.default.Messages.SYSTEM_MESSAGE_CHANNEL_NAME_CHANGE.format({username:p,usernameOnClick:{onClick:r,onContextMenu:s},channelName:t.content}):l.default.Messages.SYSTEM_MESSAGE_CHANNEL_NAME_CHANGE2.format({username:p,usernameHook:function(e,t){var n=v?{color:v}:null;return f(o.default,{onClick:r,onContextMenu:s,style:n},t,e)},channelName:t.content}))}c.displayName="ChannelNameChange"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(390)),o=s(n(682)),i=s(n(271)),l=s(n(8266)),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.message,r=e.onClickUsername,s=e.onContextMenuUsername,d=e.onClickPins,c=e.compact,p=(0,o.default)(t),v=p.nick,y=p.colorString,m=function(e,t){var n=y?{color:y}:null;return f(i.default,{onClick:r,onContextMenu:s,style:n},t,e)},_=function(){if(null!=t.messageReference){var e=t.messageReference,n=e.channel_id,r=e.message_id;a.default.jumpToMessage({channelId:n,messageId:r,flash:!0})}};return f(l.default,{icon:n(9624),timestamp:t.timestamp,compact:c},void 0,null!=t.messageReference?null==d?u.default.Messages.SYSTEM_MESSAGE_PINNED_MESSAGE_NO_CTA_FORMATTED_WITH_MESSAGE.format({usernameOnClick:m,username:v,messageOnClick:_}):u.default.Messages.SYSTEM_MESSAGE_PINNED_MESSAGE_WITH_MESSAGE.format({usernameHook:m,username:v,pinsActionOnClick:d,messageOnClick:_}):null==d?u.default.Messages.SYSTEM_MESSAGE_PINNED_MESSAGE_NO_CTA_FORMATTED.format({usernameOnClick:m,username:v}):u.default.Messages.SYSTEM_MESSAGE_PINNED_MESSAGE.format({usernameHook:m,username:v,pinsActionOnClick:d}))}c.displayName="ChannelPinnedMessage"},function(e,t,n){e.exports=n.p+"5da4cdab01d4d89c593c48c62ae0d937.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIKitGuildDiscoveryDisqualified=f,t.UIKitGuildDiscoveryRequalified=c,t.UIKitGuildDiscoveryGracePeriodInitialWarning=p,t.UIKitGuildDiscoveryGracePeriodFinalWarning=v;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=u(n(5827)),o=u(n(8266)),i=u(n(6)),l=u(n(7608));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t=e.message,r=e.compact,a=e.onClick;return d(o.default,{icon:n(9626),timestamp:t.timestamp,compact:r,contentClassName:l.default.messageContent},void 0,i.default.Messages.SYSTEM_MESSAGE_GUILD_DISCOVERY_DISQUALIFIED.format({onClick:a}))}function c(e){var t=e.message,r=e.compact;return d(o.default,{icon:n(9627),timestamp:t.timestamp,compact:r,contentClassName:l.default.messageContent},void 0,i.default.Messages.SYSTEM_MESSAGE_GUILD_DISCOVERY_REQUALIFIED)}function p(e){var t=e.message,n=e.compact;return d(o.default,{iconNode:d(a.default,{className:l.default.alertIcon}),timestamp:t.timestamp,compact:n,contentClassName:l.default.messageContent},void 0,i.default.Messages.SYSTEM_MESSAGE_GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING)}function v(e){var t=e.message,n=e.compact;return d(o.default,{iconNode:d(a.default,{className:l.default.alertIcon}),timestamp:t.timestamp,compact:n,contentClassName:l.default.messageContent},void 0,i.default.Messages.SYSTEM_MESSAGE_GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING)}f.displayName="UIKitGuildDiscoveryDisqualified",c.displayName="UIKitGuildDiscoveryRequalified",p.displayName="UIKitGuildDiscoveryGracePeriodInitialWarning",v.displayName="UIKitGuildDiscoveryGracePeriodFinalWarning"},function(e,t,n){e.exports=n.p+"c7078943fc392e7dede27a20e6cfdcfb.svg"},function(e,t,n){e.exports=n.p+"86b5987e685f72352730d56690393fc8.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(682)),o=s(n(8520)),i=s(n(8266)),l=s(n(8414)),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=f(o.default,{width:20,height:20});function p(e){var t,n=e.message,r=e.channel,o=e.playingActivity,s=e.onJoinStream,d=e.onClickUsername,p=e.onContextMenuUsername,v=e.compact,y=(0,a.default)(n).nick,m=null===(t=n.call)||void 0===t?void 0:t.duration,_=u.default.Messages.SYSTEM_MESSAGE_GUILD_STREAM_ACTIVE.format({username:y,activityName:null!=o?o.name:"unknown",onJoinStream:s,usernameOnClick:{onClick:d,onContextMenu:p}});return null!=m&&(_=u.default.Messages.SYSTEM_MESSAGE_GUILD_STREAM_ENDED.format({username:y,duration:m.humanize(),channelName:r.name,usernameOnClick:{onClick:d,onContextMenu:p}})),f(i.default,{iconNode:null!=m?c:f(l.default,{size:l.default.Sizes.SMALL}),timestamp:n.timestamp,compact:v},void 0,_)}p.displayName="GuildStream"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(8283)),i=n(1389),l=y(n(15)),u=y(n(271)),s=y(n(29)),d=y(n(8266)),f=n(41),c=n(1),p=y(n(6)),v=y(n(7613));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(){return(h=Object.assign||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}).apply(this,arguments)}function E(e){var t,r=e.compact,y=e.isOwner,m=e.channel,E=function(){var e=l.default.getGuild(m.getGuildId());null!=e&&((0,f.openModal)((function(t){return a.createElement(o.default,h({},t,{guild:e,channel:m,source:c.InstantInviteSources.INVITE_SYSTEM_MESSAGE}))})),(0,i.trackGuildInviteNotificationAction)())},g=function(e,t){return _(u.default,{className:v.default.inviteLink,onClick:E},t,e)};return t=r?_("div",{className:v.default.inviteContent},void 0,y?p.default.Messages.SYSTEM_MESSAGE_INVITE_USERS_OWNER_COMPACT.format({inviteHook:g}):p.default.Messages.SYSTEM_MESSAGE_INVITE_USERS_COMPACT.format({inviteHook:g})):_("div",{className:v.default.content},void 0,_("div",{className:v.default.inviteHeader},void 0,y?p.default.Messages.SYSTEM_MESSAGE_INVITE_USERS_OWNER:p.default.Messages.SYSTEM_MESSAGE_INVITE_USERS),_("div",{className:v.default.inviteContent},void 0,y?p.default.Messages.SYSTEM_MESSAGE_INVITE_USERS_DESCRIPTION_OWNER:p.default.Messages.SYSTEM_MESSAGE_INVITE_USERS_DESCRIPTION),_(s.default,{onClick:E,size:s.default.Sizes.SMALL,className:v.default.inviteButton},void 0,p.default.Messages.SYSTEM_MESSAGE_INVITE_USERS_BUTTON)),_(d.default,{className:r?v.default.compact:v.default.inviteContent,iconNode:r?null:_("img",{alt:"",src:n(9634),width:40,height:40}),iconContainerClassName:v.default.iconContainer,compact:r},void 0,t)}E.displayName="InviteUsersReminderMessage"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadInviteSuggestions=function(e,t,n){return(0,o.fetchUserAffinities)().then((function(){a.default.dispatch({type:i.ActionTypes.LOAD_INVITE_SUGGESTIONS,omitUserIds:e||new Set,guild:t,channel:n})}))},t.searchInviteSuggestions=function(e){a.default.dispatch({type:i.ActionTypes.INVITE_SUGGESTIONS_SEARCH,query:e})};var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(9132),i=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.InvitePropertiesType=void 0;var r=u(n(391)),a=u(n(390)),o=u(n(26)),i=u(n(10)),l=u(n(1388));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d;t.InvitePropertiesType=d,function(e){e[e.GROUP_DM=0]="GROUP_DM",e[e.USER=1]="USER"}(d||(t.InvitePropertiesType=d={}));var f=new(function(e){var t,n;function l(){return e.call(this,new o.default("InviteQueue"),1010)||this}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var u=l.prototype;return u._sendInvite=function(e,t,n,r,o){a.default.sendInvite(e.id,t,n,r).then((function(){return o(null,!0)}),(function(){return o(null,!1)}))},u.drain=function(e,t){var n=this,a=e.code,o=e.location,l=e.suggested;switch(e.type){case d.GROUP_DM:this._sendInvite(e.channel,a,o,l,t);break;case d.USER:r.default.ensurePrivateChannel(e.user.id).then((function(e){var r=i.default.getChannel(e);null!=r&&n._sendInvite(r,a,o,l,t)}),(function(){return t(null,!1)}))}},l}(l.default));t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(3)),a=u(n(2)),o=n(8286),i=u(n(70)),l=u(n(8415));n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c,p,v,y,m=new Set,_=[],h=new Map;function E(e){var t=new Set,n=null==y?void 0:y.id,r=(0,o.getMostRecentDMedUser)(m,n);r&&!i.default.isBlocked(r.id)&&t.add(r.id);for(var a,u=d(l.default.getUserAffinities());!(a=u()).done;){var s=a.value.user_id;i.default.isBlocked(s)||t.add(s)}return(0,o.generateRowsForQuery)(e,m,t,100,n)}function g(e){_=e,h=new Map,e.forEach((function(e,t){h.set(e,{index:t})}))}var S=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var a=r.prototype;return a.getInviteSuggestionRows=function(){return _},a.getTotalSuggestionsCount=function(){return p},a.getInitialCounts=function(){return c},a.getSelectedInviteMetadata=function(e){var t=h.get(e),n=l.default.getUserAffinitiesUserIds();return null!=t?{rowNum:t.index,isAffinitySuggestion:e.isSuggested,numTotal:_.length,numAffinityConnections:n.size,isFiltered:v}:null},r}(r.default.Store))(a.default,{LOAD_INVITE_SUGGESTIONS:function(e){var t=e.omitUserIds,n=e.guild,r=e.channel;y=null==r?n:null,m=t,v=!1;var a=E(""),o=a.rows,i=a.counts;g(o),c=i,p=_.length},INVITE_SUGGESTIONS_SEARCH:function(e){var t=e.query;v=""!==t,g(E(t).rows)}});t.default=S},function(e,t,n){e.exports=n.p+"cf3e2e7f108d20c8d804a13c9067f5a6.svg"},function(e,t,n){e.exports=n.p+"121cb07065820e8ebb8c5218cae21d57.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(682)),o=l(n(8266)),i=l(n(6));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.message,r=e.otherUsername,l=e.onClickUsername,u=e.onContextMenuUsername,d=e.onClickOtherUsername,f=e.onContextMenuOtherUsername,c=e.compact,p=(0,a.default)(t).nick,v=i.default.Messages.SYSTEM_MESSAGE_RECIPIENT_ADD.format({username:p,usernameOnClick:{onClick:l,onContextMenu:u},otherUsername:r,otherUsernameOnClick:{onClick:d,onContextMenu:f}});return s(o.default,{icon:n(8519),timestamp:t.timestamp,compact:c},void 0,v)}d.displayName="RecipientAdd"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(682)),o=l(n(8266)),i=l(n(6));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t,r=e.message,l=e.onClickUsername,u=e.onContextMenuUsername,d=e.compact,f=(0,a.default)(r).nick;if(e.otherUsername){var c=e.otherUsername,p=e.onClickOtherUsername,v=e.onContextMenuOtherUsername;t=i.default.Messages.SYSTEM_MESSAGE_RECIPIENT_REMOVE.format({username:f,usernameOnClick:{onClick:l,onContextMenu:u},otherUsername:c,otherUsernameOnClick:{onClick:p,onContextMenu:v}})}else t=i.default.Messages.SYSTEM_MESSAGE_RECIPIENT_REMOVE_SELF.format({username:f,usernameOnClick:{onClick:l,onContextMenu:u}});return s(o.default,{icon:n(8927),timestamp:r.timestamp,compact:d},void 0,t)}d.displayName="RecipientRemove"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=d(n(682)),o=d(n(271)),i=d(n(8287)),l=d(n(8266)),u=d(n(6)),s=d(n(7614));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.message,n=e.compact,r=e.onClickUsername,d=e.onContextMenuUsername,f=e.onClickThread,p=e.onClickViewThreads,v=e.onContextMenuThread,y=(0,a.default)(t),m=y.nick,_=y.colorString,h=u.default.Messages.SYSTEM_MESSAGE_THREAD_CREATED.format({actorName:m,actorHook:function(e,t){var n=_?{color:_}:null;return c(o.default,{onClick:r,onContextMenu:d,style:n},t,e)},threadName:t.content,threadOnClick:{onClick:f,onContextMenu:v},viewThreadsOnClick:p});return c(l.default,{iconNode:c(i.default,{className:s.default.icon}),timestamp:t.timestamp,compact:n},void 0,h)}p.displayName="ThreadCreated"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;d(n(0));var r,a=d(n(682)),o=u(n(271)),i=u(n(8266)),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.message,r=e.channel,u=e.targetUser,s=e.onClickActor,d=e.onContextMenuActor,c=e.onClickTarget,p=e.onContextMenuTarget,v=e.compact,y=(0,a.default)(t),m=(0,a.useNullableUserAuthor)(u,r),_=l.default.Messages.SYSTEM_MESSAGE_THREAD_MEMBER_ADD.format({actorName:y.nick,actorHook:function(e,t){var n=y.colorString?{color:y.colorString}:null;return f(o.default,{onClick:s,onContextMenu:d,style:n},t,e)},targetName:null==m?void 0:m.nick,targetHook:function(e,t){var n=(null==m?void 0:m.colorString)?{color:m.colorString}:null;return f(o.default,{onClick:c,onContextMenu:p,style:n},t,e)}});return f(i.default,{icon:n(8519),timestamp:t.timestamp,compact:v},void 0,_)}c.displayName="ThreadMemberAdd"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;d(n(0));var r,a=d(n(682)),o=u(n(271)),i=u(n(8266)),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.message,r=e.channel,u=e.targetUser,s=e.onClickActor,d=e.onContextMenuActor,c=e.onClickTarget,p=e.onContextMenuTarget,v=e.compact,y=(0,a.default)(t),m=(0,a.useNullableUserAuthor)(u,r),_=l.default.Messages.SYSTEM_MESSAGE_THREAD_MEMBER_REMOVE.format({actorName:y.nick,actorHook:function(e,t){var n=y.colorString?{color:y.colorString}:null;return f(o.default,{onClick:s,onContextMenu:d,style:n},t,e)},targetName:null==m?void 0:m.nick,targetHook:function(e,t){var n=(null==m?void 0:m.colorString)?{color:m.colorString}:null;return f(o.default,{onClick:c,onContextMenu:p,style:n},t,e)}});return f(i.default,{icon:n(8927),timestamp:t.timestamp,compact:v},void 0,_)}c.displayName="ThreadMemberRemove"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=u(n(8287)),o=u(n(8266)),i=u(n(6)),l=u(n(7615));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t=e.message,n=e.compact;return d(o.default,{iconNode:d(a.default,{className:l.default.icon}),timestamp:t.timestamp,compact:n},void 0,i.default.Messages.THREAD_STARTER_MESSAGE_NOT_LOADED)}f.displayName="ThreadStarterMessage"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(8266)),o=i(n(8659));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(e){var t=e.message,r=e.onClickUsername,i=e.onContextMenuUsername,l=e.compact,s=t.id,d=t.author,f=o.default.getSystemMessageUserJoin(s).format({username:d.username,usernameOnClick:{onClick:r,onContextMenu:i}});return u(a.default,{icon:n(8519),timestamp:t.timestamp,compact:l},void 0,f)}s.displayName="UserJoin"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),l=O(n(9)),u=n(1250),s=n(123),d=n(682),f=O(n(9643)),c=O(n(61)),p=n(9133),v=O(n(6001)),y=O(n(5830)),m=O(n(9134)),_=O(n(8266)),h=n(5935),E=n(1),g=O(n(6)),S=O(n(7617));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e,t,n,r){o||(o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&a)for(var s in a)void 0===t[s]&&(t[s]=a[s]);else t||(t=a||{});return{$$typeof:o,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,b(e,t)}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(){return(M=Object.assign||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}).apply(this,arguments)}var N;!function(e){e.ENTER="enter",e.CONFETTI="confetti",e.LEAF_PEEL="leaf_peel",e.LEAF_FALL="leaf_fall",e.EXIT="exit"}(N||(N={}));var A,P=((r={})[N.ENTER]={BEG:0,END:22},r[N.CONFETTI]={BEG:23,END:119},r[N.LEAF_PEEL]={BEG:120,END:160},r[N.LEAF_FALL]={BEG:161,END:163},r[N.EXIT]={BEG:164,END:200},r);!function(e){e.TOP_LEFT="TOP_LEFT",e.TOP_RIGHT="TOP_RIGHT",e.BOTTOM_LEFT="BOTTOM_LEFT",e.BOTTOM_RIGHT="BOTTOM_RIGHT"}(A||(A={}));var R=[A.TOP_LEFT,A.TOP_RIGHT],L=(0,u.cssValueToNumber)(S.default.easterEggSize),D={leafX:0,leafY:0,leafSprites:[],leafRotationIncremental:0},w=Object.freeze(((a={})[A.TOP_LEFT]={x:L-11,y:L-125,angle:45,leafX:85,leafY:125,leafSprites:[n(9644)],leafRotationIncremental:.06},a[A.TOP_RIGHT]={x:11,y:L-125,angle:315,leafX:66,leafY:125,leafSprites:[n(9645)],leafRotationIncremental:-.06},a[A.BOTTOM_LEFT]=M({},D,{x:L-11,y:125,angle:135}),a[A.BOTTOM_RIGHT]=M({},D,{x:11,y:125,angle:225}),a)),j={sprites:[n(9135),n(9646),n(9647),n(9648),n(9649)],colors:[E.Colors.PREMIUM_GUILD_PINK,"#FFC0FF","#FFD836","#FF9A15","#A5F7DE","#51BC9D","#AEC7FF","#3E70DD"],fireCount:10,count:5,size:12,sizeSpread:7,angle:170,angleSpread:120,velocity:65,velocitySpread:50},k=M({},j,{count:j.count*j.fireCount,fireCount:1}),U={colors:["#61D5B2"],fireCount:1,count:1,angleSpread:0,size:45,sizeSpread:0,skew:.1,skewSpread:0,skewAngleIncremental:.01,velocity:1,velocitySpread:0,minRotation:0,maxRotation:0,dragCoefficient:.001,interval:0};function G(){switch(Math.floor(Math.random()*Object.keys(A).length)){case 0:return A.TOP_LEFT;case 2:return A.TOP_RIGHT;case 3:return A.BOTTOM_LEFT;case 4:default:return A.BOTTOM_RIGHT}}var F=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={animationRef:null,scene:null,position:G(),showAnimationLeaf:!0,fireFallingLeaf:!1,fireConfetti:!1},t.handleEasterEggScenePlay=function(e){t.setState({scene:e})},t.handleEasterEggSceneComplete=function(e){switch(e){case N.EXIT:return t.props.onAnimationComplete()}},t.handleSetAnimationRef=function(e){t.setState({animationRef:e})},t}C(t,e);var r=t.prototype;return r.loadEasterEggAnimation=function(){return n.e(25).then(n.t.bind(null,10572,3)).then((function(e){return e.default}))},r.getNextScene=function(){var e=this.state.scene;if(null==e)return N.ENTER;switch(e){case N.ENTER:return N.CONFETTI;case N.CONFETTI:return R.includes(this.state.position)?N.LEAF_PEEL:N.EXIT;case N.LEAF_PEEL:return N.LEAF_FALL;case N.LEAF_FALL:return N.EXIT;case N.EXIT:return N.ENTER}},r.render=function(){var e,t=this.props,n=t.canvasProps,r=t.parentRef,a=this.state,o=a.scene,u=a.animationRef,s=a.position,d=w[s],f=R.includes(s),c=0,y=0,m=0,_=0;if(null!=o&&null!=u&&r){var h=r.getBoundingClientRect(),E=u.getBoundingClientRect(),g=E.left-h.left,O=E.top-h.top;m=(g+d.x)/h.width*100,_=(O+d.y)/h.height*100,f&&(c=(g+d.leafX)/h.width*100,y=(O+d.leafY)/h.height*100)}var I=this.getNextScene(),C=f&&o===N.LEAF_FALL,b=f&&o===N.EXIT,L=o===N.CONFETTI;return i.createElement(i.Fragment,null,null!=I?T(v.default,{animationRef:this.handleSetAnimationRef,className:(0,l.default)(S.default.easterEggAnimation,(e={},e[S.default.easterEggAnimationTopLeft]=s===A.TOP_LEFT,e[S.default.easterEggAnimationTopRight]=s===A.TOP_RIGHT,e[S.default.easterEggAnimationBottomLeft]=s===A.BOTTOM_LEFT,e[S.default.easterEggAnimationBottomRight]=s===A.BOTTOM_RIGHT,e[S.default.easterEggAnimationHideLeaf]=b,e)),nextScene:I,sceneSegments:P,onScenePlay:this.handleEasterEggScenePlay,onSceneComplete:this.handleEasterEggSceneComplete,importData:this.loadEasterEggAnimation,pauseWhileUnfocused:!1}):null,i.createElement(p.ConfettiCannon,M({},n,k,{angle:d.angle,position:{x:m,y:_},firing:L})),f?i.createElement(p.ConfettiCannon,M({},n,U,{className:S.default.cannon,sprites:d.leafSprites,position:{x:c,y:y},angle:d.angle,minRotationIncremental:d.leafRotationIncremental,maxRotationIncremental:d.leafRotationIncremental,firing:C})):null)},t}(i.Component);F.displayName="EasterEggAnimation";var B=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={iconRef:null,confettiCannonRef:null,fireCannon:!1,showEasterEgg:!1},t.handleIconMouseEnter=function(){t.state.showEasterEgg||0!==Math.floor(50*Math.random())?t.setState({fireCannon:!0}):t.setState({showEasterEgg:!0})},t.handleIconMouseLeave=function(){t.setState({fireCannon:!1})},t.handleEasterEggAnimationComplete=function(){t.setState({showEasterEgg:!1})},t.handleSetIconRef=function(e){t.setState({iconRef:e})},t.handleSetConfettiCannonRef=function(e){t.setState({confettiCannonRef:e})},t}C(t,e);var n=t.prototype;return n.renderConfetti=function(){var e=this,t=this.state,n=t.iconRef,r=t.confettiCannonRef,a=t.fireCannon,o=t.showEasterEgg,l=0,u=0;if(null!=r&&null!=n){var s=r.getBoundingClientRect(),d=n.getBoundingClientRect(),f=d.left-s.left+d.width/2,c=d.top-s.top+d.height/2;l=f/s.width*100,u=c/s.height*100}return T(m.default,{},void 0,i.createElement("div",{className:S.default.cannonWrapper,ref:this.handleSetConfettiCannonRef},null!=r?T(p.ConfettiCanvas,{className:S.default.cannon},void 0,(function(t){return i.createElement(i.Fragment,null,o?T(F,{canvasProps:t,parentRef:r,onAnimationComplete:e.handleEasterEggAnimationComplete}):null,i.createElement(p.ConfettiCannon,M({},t,j,{position:{x:l,y:u},firing:a})))})):null))},n.render=function(){var e,t=this.props,n=t.message,r=t.onClickUsername,a=t.onContextMenuUsername,o=t.onClickMessage,i=t.guild,l=t.compact,u=function(e){switch(e.type){case E.MessageTypes.USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1:return E.PremiumGuildTiers.TIER_1;case E.MessageTypes.USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2:return E.PremiumGuildTiers.TIER_2;case E.MessageTypes.USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3:return E.PremiumGuildTiers.TIER_3}return null}(n),s=(0,f.default)(n),p=this.context.reducedMotion,v=(0,d.getMessageAuthor)(n).nick,m={onClick:r,onContextMenu:a};e=null==u||null==i?s>1?g.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_SUBSCRIBED_MANY.format({username:v,usernameOnClick:m,numSubscriptions:s}):g.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_SUBSCRIBED.format({username:v,usernameOnClick:m}):s>1?g.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_SUBSCRIBED_MANY_ACHIEVED_TIER.format({username:v,usernameOnClick:m,numSubscriptions:s,guildName:i.name,newTierName:(0,h.getTierName)(u)}):g.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_SUBSCRIBED_ACHIEVED_TIER.format({username:v,usernameOnClick:m,guildName:i.name,newTierName:(0,h.getTierName)(u)});var O=T(c.default,{className:S.default.iconWrapper,innerRef:this.handleSetIconRef,onClick:o},void 0,T(y.default,{className:S.default.icon,onMouseEnter:this.handleIconMouseEnter,onMouseLeave:this.handleIconMouseLeave}));return T(_.default,{iconNode:O,timestamp:n.timestamp,compact:l},void 0,T("div",{onClick:o,className:S.default.message},void 0,e),p.enabled?null:this.renderConfetti())},t}(i.PureComponent);t.default=B,B.displayName="UserPremiumGuildSubscription",B.contextType=s.AccessibilityPreferencesContext},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=Number(e.content);return isNaN(t)||0===t?1:t}},function(e,t,n){e.exports=n.p+"65e856f0d3fa6f1c3bc728d421240da2.svg"},function(e,t,n){e.exports=n.p+"584625557b31e29b44a3bb2f4cd7e33a.svg"},function(e,t,n){e.exports=n.p+"bb738a64264307f6a4a3e84e5f1eddb6.svg"},function(e,t,n){e.exports=n.p+"e843c51c0eec3801b70cae5c45ad343f.svg"},function(e,t,n){e.exports=n.p+"0700205862c1a590feed964754d34669.svg"},function(e,t,n){e.exports=n.p+"6b6d88307890126be8b60125143bc2f4.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=u(n(391)),o=n(8253),i=u(n(10)),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e,t){var n=i.default.getChannel(e);return null==n||n.isMultiUserDM()?null:d(o.MenuItem,{id:"close-dm",label:l.default.Messages.CLOSE_DM,action:function(){return a.default.closePrivateChannel(e,t)}})}f.displayName="useCloseDMItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=f(n(391)),i=n(8253),l=n(8256),u=f(n(10)),s=f(n(12)),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){var n=(0,a.useStateFromStores)([s.default],(function(){return s.default.getCurrentUser()}),[]),r=(0,a.useStateFromStores)([u.default],(function(){return u.default.getChannel(t)}),[t]);return null==r||r.isOwner(e)||!r.isOwner(n.id)?null:p(i.MenuItem,{id:"remove",label:d.default.Messages.REMOVE_FROM_GROUP,action:function(){return o.default.removeRecipient(t,e)},color:l.MenuItemColor.DANGER})}v.displayName="useRemoveUserFromGroupItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),a=i(n(2)),o=i(n(9653));n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||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}).apply(this,arguments)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d={hasSeenSurvey:!1},f=d,c=!1;function p(e){return null!=e&&!f.hasSeenSurvey&&(o.default.trackExposure({}),o.default.getCurrentConfig({}).showJoinSurvey&&(c=!0,f.hasSeenSurvey=!0),!0)}var v=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var a,o,i,p=r.prototype;return p.initialize=function(e){f=l({},d,{},e)},p.getState=function(){return f},a=r,(o=[{key:"isShowingSurvey",get:function(){return c}},{key:"hasSeenSurvey",get:function(){return f.hasSeenSurvey}}])&&u(a.prototype,o),i&&u(a,i),r}(r.default.PersistedStore);v.persistKey="GuildJoinReasonStore";var y=new v(a.default,{GUILD_JOIN:function(e){return p(e.guildId)},INVITE_ACCEPT_SUCCESS:function(e){var t;return p(null===(t=e.invite.guild)||void 0===t?void 0:t.id)},GUILD_JOIN_SURVEY_CLOSE:function(e){c=!1}});t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-04_new_user_guild_join_survey",label:"Survey when a new user joins a server",defaultConfig:{showJoinSurvey:!1},treatments:[{id:1,label:"Show survey",config:{showJoinSurvey:!0}}]});t.default=r},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.NUF_MODAL_KEY=t.NUFSlides=void 0,t.NUFSlides=r,function(e){e.AGE_GATE="age-gate",e.CHOOSE_TEMPLATE="choose-template",e.CUSTOMIZE_GUILD="customize-server",e.CHANNEL_PROMPT="channel-prompt",e.JOIN_GUILD="join-server",e.CREATION_INTENT="creation-intent",e.COMPLETE="complete"}(r||(t.NUFSlides=r={}));t.NUF_MODAL_KEY="nuf-refresh-modal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=i(n(9)),o=i(n(7936));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}var u=r.forwardRef((function(e,t){var n,i=e.children,l=e.className,u=e.style,s=e.noBorder,d=void 0!==s&&s;return r.createElement("div",{className:(0,a.default)(l,o.default.tile,(n={},n[o.default.noBorder]=d,n)),style:u,ref:t},i)}));t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=R(n(0)),o=A(n(9)),i=n(122),l=n(1250),u=n(3),s=n(10936),d=n(8296),f=n(123),c=A(n(8752)),p=n(280),v=A(n(12)),y=A(n(61)),m=A(n(149)),_=A(n(5686)),h=n(41),E=n(8263),g=R(n(8414)),S=A(n(13)),O=A(n(96)),I=n(774),T=A(n(10348)),C=n(1),b=A(n(6)),M=A(n(7941)),N=A(n(7399));function A(e){return e&&e.__esModule?e:{default:e}}function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function D(){return(D=Object.assign||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}).apply(this,arguments)}var w=(0,l.cssValueToNumber)(N.default.borderRadius),j={opacity:0,transform:"translate3d(100%, 0, 0)"},k={opacity:1,transform:"translate3d(0%, 0, 0)"},U={opacity:0},G={opacity:1},F={borderRadius:w+"px "+w+"px "+w+"px "+w+"px"},B={borderRadius:"0px "+w+"px "+w+"px 0px"},H={mass:1,tension:500,friction:18,clamp:!0},x=function(e){var t=e.participant,n=e.isUpsellEnabled,r=e.shape,i=e.size,l=e.didTrackUpsellViewed,s=e.setDidTrackUpsellViewed,f=e.className,N=(0,I.getMaxQuality)(t),A=null!=(0,T.default)(t.id),P=(0,I.isPremiumFPS)(N),R=(0,I.isPremiumResolution)(N),w=P||R,j=(0,d.useAnalyticsContext)().location,k=(0,u.useStateFromStores)([v.default],(function(){return v.default.getCurrentUser()})),U=n&&!O.default.isPremium(k,C.PremiumTypes.TIER_1),G=a.useCallback((function(){U&&w&&(0,h.openModal)((function(e){return a.createElement(c.default,D({},e,{analyticsSource:j}))}))}),[U,w,j]);if(a.useEffect((function(){!l&&w&&(S.default.track(C.AnalyticEvents.PREMIUM_UPSELL_VIEWED,{type:p.PremiumUpsellTypes.STREAM_QUALITY_INDICATOR,has_premium_stream_fps:P,has_premium_stream_resolution:R}),s(!0))}),[P,R,w,l,s]),null==N)return null;var F=L(m.default,{text:A?b.default.Messages.SCREENSHARE_QUALITY_TOOLTIP_REDUCED:w?b.default.Messages.SCREENSHARE_QUALITY_TOOLTIP_PREMIUM:b.default.Messages.SCREENSHARE_QUALITY_TOOLTIP_NORMAL,position:m.default.Positions.BOTTOM,color:m.default.Colors.GREY},void 0,(function(e){var t;return a.createElement(y.default,D({},e,{onClick:G,className:(0,o.default)(M.default.qualityIndicator,i,g.LiveIndicatorShapes[r],A?M.default.qualityIndicatorLowQuality:M.default.qualityIndicatorFullQuality,(t={},t[M.default.clickable]=U&&w,t))}),w?L(_.default,{className:M.default.premiumStreamIcon}):null,L("span",{className:M.default.qualityResolution},void 0,(0,I.getResolutionText)(N.maxResolution)),L("span",{},void 0,(0,I.getFPSText)(N.maxFrameRate)))}));return L(E.TextBadge,{text:F,className:f,color:C.Colors.PRIMARY_DARK_700,shape:r})};x.displayName="StreamQualityIndicator";var V=function(e){var t=e.participant,n=e.showQuality,r=e.isUpsellEnabled,l=void 0===r||r,u=e.size,d=e.className,c=a.useState(!1),p=c[0],v=c[1],y=(0,I.getMaxQuality)(t),m=a.useContext(f.AccessibilityPreferencesContext).reducedMotion,_=(0,s.useStreamQualityIndicatorExperiment)(null!=y)[0].showIndicator,h=n&&_&&null!=y,S=(0,i.useTransition)(h,{enter:{from:m.enabled?U:j,to:m.enabled?G:k},leave:m.enabled?U:j,config:H}),O=(0,i.useSpring)({to:h?B:F,config:H});return L("div",{className:(0,o.default)(M.default.streamQualityIndicator,d)},void 0,S((function(e,n){return n?L(i.animated.div,{style:e},void 0,L(x,{className:M.default.liveQualityIndicator,participant:t,size:u,shape:E.BadgeShapes.ROUND_LEFT,isUpsellEnabled:l,didTrackUpsellViewed:p,setDidTrackUpsellViewed:v})):null})),L(i.animated.div,{style:O,className:M.default.liveIndicator},void 0,L(g.default,{size:u,shape:E.BadgeShapes.SQUARE})))};V.displayName="StreamQualityLiveIndicator";var W=V;t.default=W},function(e,t,n){e.exports=n.p+"3f8ff16e485080df4e54267370420785.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(8753)),o=l(n(55)),i=l(n(7943));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.mainText,n=e.supportingText,r=e.children,l=e.size;return s(o.default,{className:i.default.root,justify:o.default.Justify.CENTER,align:o.default.Align.CENTER,direction:o.default.Direction.VERTICAL},void 0,s(a.default,{header:t,description:n,size:l}),r)}d.displayName="ScreenMessage"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=a({},e);(function(e){var t=e;return"object"==typeof t.args&&"string"==typeof t.cmd})(t)&&(t=function(e){switch(e.cmd){case r.RPCCommands.AUTHENTICATE:return a({},e,{args:a({},e.args,{access_token:"<removed>"})});default:return a({},e)}}(t));(function(e){var t=e;return"object"==typeof t.data&&"string"==typeof t.cmd})(t)&&(t=function(e){switch(e.cmd){case r.RPCCommands.AUTHENTICATE:return a({},e,{data:a({},e.data,{access_token:"<removed>"})});default:return a({},e)}}(t));return t};var r=n(1);function a(){return(a=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(8)),a=i(n(689)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t,n){if(this.transport=e,this.version=t,this.encoding=n,this.id=r.default.uniqueId(),this.authorization={authing:!1,scopes:[],accessToken:null,expires:new Date(0)},this.application={id:null,name:null,icon:null},!t||t>o.RPC_VERSION||t<1)throw new a.default(o.RPCCloseCodes.INVALID_VERSION,"Invalid Version: "+t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=M;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=g(n(8940)),l=g(n(8755)),u=g(n(10)),s=g(n(12)),d=g(n(278)),f=g(n(8367)),c=g(n(9677)),p=g(n(248)),v=g(n(96)),y=g(n(8400)),m=g(n(8288)),_=n(1),h=g(n(6)),E=g(n(7636));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(){return(O=Object.assign||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}).apply(this,arguments)}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(e){var t=e.className;return I(f.default,{className:t})}T.displayName="SettingsIcon";var C=I(T,{});function b(e){var t=e.className;return I(a.Fragment,{},void 0,I(p.default,{className:t,mask:p.default.Masks.HEADER_BAR_BADGE},void 0,C),I(c.default,{className:E.default.badgeUpgrade}))}function M(e){var t=e.hideBadges,n=void 0!==t&&t,r=e.stream,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["hideBadges","stream"]),c=(0,o.useStateFromStores)([s.default],(function(){return v.default.isPremium(s.default.getCurrentUser())})),p=(0,o.useStateFromStores)([u.default],(function(){return u.default.getChannel(null==r?void 0:r.channelId)})),E=a.useMemo((function(){return null!=r?[r]:[]}),[r]),g=a.useCallback((function(){null!=p&&(0,l.default)(p.getGuildId(),p.id,_.AnalyticsSections.STREAM_SETTINGS)}),[p]);if(null==r||null==p)return null;var S=T;return n||c||(S=b),I(d.default,{position:d.default.Positions.TOP,renderPopout:function(e){var t=e.closePopout;return I(y.default,{},void 0,I(i.default,{channel:p,currentUser:s.default.getCurrentUser(),activeStreams:E,onClose:t,showReportOption:!0,handleGoLive:g}))},animation:d.default.Animation.FADE},void 0,(function(e){return a.createElement(m.default,O({},e,{label:h.default.Messages.STREAMER_SETTINGS_TITLE,iconComponent:S},f))}))}b.displayName="UpgradeSettingsIcon",M.displayName="StreamSettingsButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(8551)),i=E(n(8552)),l=E(n(29)),u=E(n(55)),s=n(131),d=n(35),f=n(41),c=n(374),p=E(n(24)),v=E(n(9098)),y=E(n(9099)),m=E(n(6)),_=E(n(7622)),h=E(n(7623));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(){return(O=Object.assign||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}).apply(this,arguments)}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var T=S(o.default,{}),C=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={problem:null},t.handleChanged=function(e){t.setState({problem:null!=e?e:null})},t.handleSubmit=function(){var e=t.props,n=e.stream,r=e.streamApplication,o=e.analyticsData,l=e.onClose,u=t.state.problem;(0,y.default)(u,n,"",r,o,"Stream"),l(),(0,f.openModal)((function(e){return a.createElement(i.default,O({body:m.default.Messages.STREAM_REPORTED_BODY},e))}))},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,I(t,n),r.prototype.render=function(){var e=this.props,t=e.isStreamer,n=e.transitionState,r=e.onClose,a=this.state.problem;return S(d.ModalRoot,{transitionState:n,size:d.ModalSize.SMALL,"aria-label":m.default.Messages.STREAM_REPORT_A_PROBLEM},void 0,T,S(d.ModalHeader,{separator:!1},void 0,S(d.ModalCloseButton,{className:h.default.closeButton,onClick:r}),S(s.FormTitle,{tag:s.FormTitle.Tags.H2,className:h.default.title},void 0,m.default.Messages.STREAM_REPORT_A_PROBLEM)),S(d.ModalContent,{className:h.default.content},void 0,S(p.default,{},void 0,m.default.Messages.STREAM_REPORT_PROBLEM_BODY),S(s.FormItem,{title:m.default.Messages.STREAM_REPORT_LABEL},void 0,S(c.SingleSelect,{placeholder:m.default.Messages.STREAM_REPORT_PLACEHOLDER,options:(0,v.default)(t,!1),onChange:this.handleChanged,value:a,maxVisibleItems:4})),S("div",{className:_.default.art})),S(d.ModalFooter,{className:h.default.footer},void 0,S(l.default,{color:l.default.Colors.BRAND,disabled:null==a,onClick:this.handleSubmit},void 0,m.default.Messages.STREAM_REPORT_SUBMIT),S(u.default,{},void 0,S(l.default,{look:l.default.Looks.LINK,color:l.default.Colors.PRIMARY,size:l.default.Sizes.NONE,onClick:r},void 0,m.default.Messages.CANCEL))))},r}(a.PureComponent);C.displayName="ReportProblem";var b=C;t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.useStateFromStoresObject)([c.default],(function(){return c.default.getState()})),r=n.preset,S=n.resolution,O=n.fps,C=(0,o.useStateFromStores)([v.default],(function(){var e;return null!==(e=v.default.getDesktopSource())&&void 0!==e?e:{id:null}})).id,b=(0,o.useStateFromStores)([y.default],(function(){var e;return null===(e=y.default.getNullableCurrentUser())||void 0===e?void 0:e.premiumType})),M=(0,o.useStateFromStores)([p.default],(function(){var t;return null===(t=p.default.getGuild(null==e?void 0:e.guildId))||void 0===t?void 0:t.premiumTier})),N=(0,u.useAnalyticsContext)().location,A=a.useCallback((function(e,n,r,o){e?l.default.setDesktopSource(C,s.ApplicationStreamPresets.PRESET_CUSTOM,n,r,!0,i.MediaEngineContextTypes.STREAM):function(e,t){(0,m.openModal)((function(e){return a.createElement(h.default,T({},e,{analyticsSource:t}))}),{},e===E.AppContext.POPOUT?_.POPOUT_MODAL_CONTEXT:_.DEFAULT_MODAL_CONTEXT)}(t,T({},N,{object:E.AnalyticsObjects.RADIO_ITEM,objectType:o}))}),[t,N,C]);if(null==e)return null;var P=r===s.ApplicationStreamPresets.PRESET_DOCUMENTS?s.ApplicationStreamFPS.FPS_30:O,R=s.ApplicationStreamFPSButtonsWithSuffixLabel.map((function(e){var t=e.value,n=e.label,r=(0,d.default)(s.ApplicationStreamPresets.PRESET_CUSTOM,S,t,b,M);return I(f.MenuRadioItem,{group:"stream-settings-fps",id:"stream-settings-fps-"+t,label:n,checked:t===O,action:function(){return A(r,S,t,E.AnalyticsObjectTypes.RESOLUTION)}},"stream-settings-fps-"+t)})),L=s.ApplicationStreamResolutionButtonsWithSuffixLabel.map((function(e){var t=e.value,n=e.label,r=(0,d.default)(s.ApplicationStreamPresets.PRESET_CUSTOM,t,P,b,M);return I(f.MenuRadioItem,{group:"stream-settings-resolution",id:"stream-settings-resolution-"+t,label:n,checked:t===S,action:function(){return A(r,t,P,E.AnalyticsObjectTypes.RESOLUTION)}},"stream-settings-resolution-"+t)}));return a.createElement(a.Fragment,null,I(f.MenuGroup,{label:g.default.Messages.SCREENSHARE_FRAME_RATE},void 0,R),I(f.MenuGroup,{label:g.default.Messages.STREAM_RESOLUTION},void 0,L))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(34),l=S(n(288)),u=n(8296),s=n(713),d=S(n(8453)),f=n(8253),c=S(n(1185)),p=S(n(15)),v=S(n(51)),y=S(n(12)),m=n(41),_=n(217),h=S(n(8752)),E=n(1),g=S(n(6));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(){return(T=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(null==e||null==e.userPremiumType&&null==e.guildPremiumTier)return!0;var r=!1;null!=e.userPremiumType&&(r=r||o.default.isPremiumAtLeast(t,e.userPremiumType));null!=e.guildPremiumTier&&(r=r||(0,a.isGuildPremiumAtLeast)(n,e.guildPremiumTier));return r};var r,a=n(5935),o=(r=n(96))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(311)),i=m(n(79)),l=m(n(29)),u=m(n(55)),s=n(35),d=m(n(47)),f=m(n(24)),c=m(n(13)),p=n(1),v=m(n(6)),y=m(n(370));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleClose=function(){var e=t.props.onClose;e&&e()},t.handleStreamWithoutSound=function(){var e=t.props,n=e.handleStream,r=e.onClose,a=e.pid;o.default.continueNonelevatedProcess(a),n(),r()},t.handleRequestElevated=function(){var e=t.props,n=e.handleStream,r=e.onClose,a=e.pid;o.default.requestElevatedProcess(a),n(),r()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,E(t,n);var a=r.prototype;return a.componentDidMount=function(){var e=this.props.pid,t=null!=e?i.default.getGameForPID(e):null;c.default.track(p.AnalyticEvents.OPEN_MODAL,{type:"Elevated Permissions Sound",application_id:null!=t?t.id:null,application_name:null!=t?t.name:null,game_id:null!=t?t.id:null})},a.render=function(){return h(s.ModalRoot,{transitionState:this.props.transitionState,"aria-label":v.default.Messages.ELEVATED_PERMISSIONS_SOUND_TITLE},void 0,h(s.ModalHeader,{justify:u.default.Justify.BETWEEN,separator:!1},void 0,h(d.default,{tag:d.default.Tags.H2,size:d.default.Sizes.SIZE_20},void 0,v.default.Messages.ELEVATED_PERMISSIONS_SOUND_TITLE),h(s.ModalCloseButton,{onClick:this.handleClose})),h(s.ModalContent,{},void 0,h(f.default,{tag:"strong",size:f.default.Sizes.SIZE_16,className:y.default.marginBottom20},void 0,v.default.Messages.ELEVATED_PERMISSIONS_SOUND_BODY)),h(s.ModalFooter,{},void 0,h(l.default,{onClick:this.handleRequestElevated},void 0,v.default.Messages.ELEVATED_PERMISSIONS_SOUND_REQUEST_ACCESS_BUTTON),h(l.default,{look:l.default.Looks.LINK,color:l.default.Colors.PRIMARY,onClick:this.handleStreamWithoutSound},void 0,v.default.Messages.ELEVATED_PERMISSIONS_SOUND_NO_SOUND_BUTTON)))},r}(a.Component);g.displayName="ElevatedPermissionsSound";var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){for(var r,l=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(a.ApplicationStreamPresetValues[e]);!(r=l()).done;){var u=r.value;if((0,o.default)(e,u.resolution,u.fps,t,n))return[u.resolution,u.fps]}return null};var r,a=n(713),o=(r=n(8453))&&r.__esModule?r:{default:r};function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=V;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=G();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=U(n(473)),l=U(n(10)),u=U(n(71)),s=U(n(15)),d=U(n(51)),f=U(n(79)),c=U(n(36)),p=U(n(710)),v=U(n(29)),y=U(n(55)),m=U(n(477)),_=U(n(371)),h=n(131),E=U(n(8662)),g=U(n(5827)),S=U(n(9668)),O=U(n(24)),I=n(48),T=U(n(16)),C=U(n(8757)),b=U(n(1248)),M=U(n(9669)),N=U(n(9670)),A=U(n(9671)),P=U(n(8948)),R=U(n(9672)),L=U(n(8949)),D=n(1),w=U(n(6)),j=U(n(7631)),k=U(n(7348));function U(e){return e&&e.__esModule?e:{default:e}}function G(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return G=function(){return e},e}function F(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function B(e){var t=e.selectedSource,n=e.selectSource,r=e.sourceChanged,a=e.onChangeSource,i=(0,o.useStateFromStores)([f.default,p.default],(function(){return T.default.isWindows()?(0,b.default)(f.default,p.default):null})),l=(0,o.useStateFromStores)([u.default],(function(){return null!=(null==i?void 0:i.id)?u.default.getGame(i.id):null})),s=(0,o.useStateFromStores)([f.default],(function(){return f.default.getRunningGames()})),d=(0,o.useStateFromStores)([u.default],(function(){return s.map((function(e){return null!=e.id?u.default.getGame(e.id):null})).filter(I.isNotNullish)}),[s]),c=null;if(null!=t?c=t.name:null!=i&&(c=i.name),null==c)return null;var y=(0,L.default)(i,t,s),_=r?d.find((function(e){return e.id===(null==y?void 0:y.id)})):l,g=null!=t&&t.id.startsWith("screen")?E.default:S.default;return F(h.FormItem,{title:w.default.Messages.GO_LIVE_MODAL_APPLICATION_FORM_TITLE,className:k.default.modalContent,titleClassName:k.default.formItemTitle},void 0,F(P.default,{},void 0,null!=_?F(m.default,{game:_,size:m.default.Sizes.XSMALL,className:j.default.selectedIcon}):F(g,{className:j.default.selectedIcon}),F("span",{className:j.default.ellipsisText},void 0,c),n?F(v.default,{className:j.default.changeButton,color:v.default.Colors.PRIMARY,size:v.default.Sizes.SMALL,onClick:a},void 0,w.default.Messages.CHANGE):null))}function H(e){var t=e.onChange,n=e.guildId,r=(0,o.useStateFromStores)([s.default],(function(){return s.default.getGuild(n)}));return null==r?(t(),null):F(h.FormItem,{title:w.default.Messages.GO_LIVE_MODAL_GUILD_FORM_TITLE,className:k.default.modalContent,titleClassName:k.default.formItemTitle},void 0,F(P.default,{},void 0,F(_.default,{guild:r,size:_.default.Sizes.SMALLER,className:j.default.selectedIcon}),F("span",{className:j.default.ellipsisText},void 0,r.toString()),F(v.default,{className:j.default.changeButton,color:v.default.Colors.PRIMARY,size:v.default.Sizes.SMALL,onClick:t},void 0,w.default.Messages.CHANGE)))}function x(e){var t=e.text;return F(y.default,{align:y.default.Align.CENTER,className:j.default.warning},void 0,F(g.default,{className:j.default.warningIcon}),F(O.default,{color:O.default.Colors.CUSTOM,size:O.default.Sizes.SIZE_12},void 0,t))}function V(e){var t=e.selectedSource,n=e.selectedFPS,r=e.selectedChannelId,u=e.selectedPreset,s=e.selectedResolution,f=e.showExtendedSettings,p=e.sourceChanged,v=e.guildId,y=e.selectSource,m=e.selectGuild,_=e.onClose,h=e.onChangeSelectedFPS,E=e.onChangeSelectedResolution,g=e.onChangeSelectedPreset,S=e.onChangeSelectedChannelId,O=e.onChangeSource,I=e.onChangeGuild,T=(0,o.useStateFromStores)([c.default,l.default],(function(){return l.default.getChannel(c.default.getVoiceChannelId())})),b=(0,o.useStateFromStores)([C.default],(function(){return C.default.GPUDriversOutdated})),P=(0,o.useStateFromStores)([d.default],(function(){return d.default.getSoundshareEnabled()})),L=(0,M.default)();return null!=t&&t.id.startsWith("screen")?L=w.default.Messages.GO_LIVE_SCREENSHARE_NO_SOUND:null==L&&d.default.supportsEnableSoundshare()&&P!==D.SoundshareEnableState.ENABLED&&(L=w.default.Messages.GO_LIVE_SCREENSHARE_ENABLE_FOR_SOUNDSHARE.format({onVoiceSettingsClick:function(){_(),i.default.open(D.UserSettingsSections.VOICE)}})),F(a.Fragment,{},void 0,F(B,{selectSource:y,sourceChanged:p,onChangeSource:O,selectedSource:t}),null!=L?F(x,{text:L}):null,m&&null!=v?F(H,{guildId:v,onChange:I}):null,null!=T?F(A.default,{channel:T}):F(N.default,{guildId:v,selectedChannelId:r,onChangeSelectedChannelId:S}),b?F(x,{text:w.default.Messages.GO_LIVE_VIDEO_DRIVERS_OUTDATED}):null,F(R.default,{selectedPreset:u,selectedFPS:n,selectedResolution:s,guildId:v,showExtendedSettings:f,onClose:_,onFPSChange:h,onResolutionChange:E,onPresetChange:g}))}B.displayName="SelectedSource",H.displayName="SelectedGuild",x.displayName="Warning",V.displayName="Confirm"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,d:"M22 7.002V5C22 3.898 21.104 3 20 3H4C2.897 3 2 3.898 2 5V7.002H22ZM8 4C8.553 4 9 4.448 9 5C9 5.553 8.553 6 8 6C7.447 6 7 5.553 7 5C7 4.448 7.447 4 8 4ZM5 4C5.553 4 6 4.448 6 5C6 5.553 5.553 6 5 6C4.447 6 4 5.553 4 5C4 4.448 4.447 4 5 4Z"}),s("path",{fill:d,d:"M2 8.00201V19C2 20.103 2.897 21 4 21H20C21.104 21 22 20.103 22 19V8.00201H2Z"}))}d.displayName="Window"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!l.default.supports(a.Features.SOUNDSHARE))return o.GO_LIVE_SCREENSHARE_NO_SOUND;if(u.default.isWindows()&&!r.default.satisfies(null===i.default||void 0===i.default?void 0:i.default.os.release,s.WINDOWS_SOUNDSHARE_VERSION))return d.default.Messages.GO_LIVE_SCREENSHARE_UPDATE_WINDOWS_FOR_SOUNDSHARE;if(u.default.isOSX()&&!r.default.satisfies(null===i.default||void 0===i.default?void 0:i.default.os.release,s.DARWIN_SOUNDSHARE_VERSION))return d.default.Messages.GO_LIVE_SCREENSHARE_UPDATE_MACOS_FOR_SOUNDSHARE;return null};var r=f(n(1290)),a=n(34),o=n(1300),i=f(n(118)),l=f(n(51)),u=f(n(16)),s=n(196),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=m(n(86)),i=m(n(15)),l=m(n(40)),u=m(n(12)),s=m(n(365)),d=m(n(1162)),f=n(484),c=m(n(8945)),p=m(n(8946)),v=m(n(6)),y=m(n(7627));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e){var t=e.selectedChannelId,n=e.guildId,r=e.onChangeSelectedChannelId,m=(0,a.useStateFromStores)([u.default],(function(){return u.default.getCurrentUser()})),_=(0,a.useStateFromStores)([i.default,o.default,l.default],(function(){return(0,f.getStreamEligibleChannels)(o.default.getChannels(n),i.default,l.default)})),E=(0,a.useStateFromStores)([s.default],(function(){return s.default.getVoiceStates(n)})),g=_.map((function(e){var n;return{name:h(c.default,{channel:e,users:null===(n=E[e.id])||void 0===n?void 0:n.filter((function(e){return e.user.id!==m.id})).map((function(e){return e.user})),selected:e.id===t}),value:e.id}}));return h(p.default,{title:v.default.Messages.GO_LIVE_MODAL_SELECT_CHANNEL_FORM_TITLE},void 0,h(d.default,{options:g,value:t,itemInfoClassName:y.default.channelInfoWrapper,itemTitleClassName:y.default.channelTitleWrapper,onChange:function(e){var t=e.value;return r(t)}}))}E.displayName="ChannelSelect"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=c(n(11)),i=c(n(365)),l=n(131),u=c(n(8945)),s=c(n(8948)),d=c(n(6)),f=c(n(7348));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e){var t=e.channel,n=(0,a.useStateFromStores)([o.default],(function(){return o.default.getId()})),r=(0,a.useStateFromStores)([i.default],(function(){return i.default.getVoiceStatesForChannel(t)}),[t]);return v(l.FormItem,{title:d.default.Messages.GO_LIVE_MODAL_CURRENT_CHANNEL_FORM_TITLE,className:f.default.modalContent,titleClassName:f.default.formItemTitle},void 0,v(s.default,{},void 0,v(u.default,{channel:t,users:r.filter((function(e){return e.user.id!==n})).map((function(e){return e.user}))})))}y.displayName="CurrentChannel"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=L;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=N();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=M(n(9)),i=n(3),l=M(n(8257)),u=M(n(8942)),s=n(8296),d=M(n(8752)),f=M(n(15)),c=M(n(12)),p=M(n(9673)),v=M(n(55)),y=n(149),m=n(131),_=n(41),h=n(374),E=M(n(24)),g=n(713),S=M(n(8453)),O=n(1),I=M(n(6)),T=M(n(7348)),C=M(n(7630)),b=M(n(370));function M(e){return e&&e.__esModule?e:{default:e}}function N(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return N=function(){return e},e}function A(){return(A=Object.assign||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}).apply(this,arguments)}function P(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function R(e,t,n,r,i,l){var u,s,f,c=e.value,p=e.label;return n?(s=P(y.TooltipContainer,{text:I.default.Messages.STREAM_QUALITY_UNLOCK},void 0,P(v.default,{align:v.default.Align.CENTER},void 0,P(E.default,{size:E.default.Sizes.SIZE_12,className:C.default.selectorNitroText},void 0,p))),f=function(){return(0,_.openModal)((function(e){return a.createElement(d.default,A({},e,{onCloseParent:l,analyticsSource:r}))}))}):(s=P(E.default,{size:E.default.Sizes.SIZE_12,className:t?C.default.selectorTextSelected:C.default.selectorText},void 0,p),f=function(){return i(c)}),{content:s,className:(0,o.default)(t?C.default.selectorButtonSelected:C.default.selectorButton,(u={},u[C.default.selectorButtonPremiumRequired]=n,u)),onClick:f}}function L(e){var t=e.onClose,n=e.selectedPreset,r=e.selectedResolution,o=e.selectedFPS,y=e.showExtendedSettings,M=e.onResolutionChange,N=e.onFPSChange,L=e.onPresetChange,D=e.guildId,w=(0,i.useStateFromStores)([c.default],(function(){return c.default.getCurrentUser().premiumType})),j=(0,i.useStateFromStores)([f.default],(function(){var e;return null===(e=f.default.getGuild(D))||void 0===e?void 0:e.premiumTier})),k=(0,s.useAnalyticsContext)().location;a.useEffect((function(){u.default.trackExposure({})}));var U=A({},k,{section:O.AnalyticsSections.STREAM_SETTINGS}),G=P(p.default,{buttons:(y?g.ApplicationStreamResolutionButtonsExtended:g.ApplicationStreamResolutionButtons).map((function(e){return R(e,e.value===r,!(0,S.default)(n,e.value,o,w,j),U,(function(){return M(e.value)}),t)}))}),F=P(p.default,{buttons:g.ApplicationStreamFPSButtons.map((function(e){return R(e,e.value===o,!(0,S.default)(n,r,e.value,w,j),U,(function(){return N(e.value)}),t)}))});if(y){var B=[{value:g.ApplicationStreamPresets.PRESET_VIDEO,label:I.default.Messages.STREAM_PRESET_VIDEO},{value:g.ApplicationStreamPresets.PRESET_DOCUMENTS,label:I.default.Messages.STREAM_PRESET_DOCUMENTS},{value:g.ApplicationStreamPresets.PRESET_CUSTOM,label:I.default.Messages.STREAM_PRESET_CUSTOM}],H=null!=w,x=P(E.default,{size:E.default.Sizes.SIZE_12,className:C.default.documentModeDescription},void 0,H?I.default.Messages.STREAM_PRESET_DOCUMENTS_DESCRIPTION_NITRO.format({fps:o}):I.default.Messages.STREAM_PRESET_DOCUMENTS_DESCRIPTION_NON_NITRO.format({fps:o,onUpgrade:function(){return(0,_.openModal)((function(e){return a.createElement(d.default,A({},e,{onCloseParent:t,analyticsSource:U}))}))}})),V=n===g.ApplicationStreamPresets.PRESET_DOCUMENTS?P(v.default,{},void 0,P(m.FormItem,{title:I.default.Messages.STREAM_RESOLUTION,titleClassName:T.default.formItemTitleSlim,className:C.default.documentModeGroup},void 0,x)):P(v.default,{},void 0,P(m.FormItem,{title:I.default.Messages.STREAM_RESOLUTION,className:C.default.settingsGroup,titleClassName:T.default.formItemTitleSlim},void 0,G),P(m.FormItem,{title:I.default.Messages.SCREENSHARE_FRAME_RATE,className:C.default.settingsGroup,titleClassName:T.default.formItemTitleSlim},void 0,F));return a.createElement(l.default,U,P(m.FormItem,{title:I.default.Messages.STREAM_QUALITY,titleClassName:T.default.formItemTitle,className:T.default.modalContent},void 0,P("div",{className:C.default.qualitySettingsContainer},void 0,P(h.SingleSelect,{value:n,className:b.default.marginTop8,options:B,onChange:function(e){return L(e)}}),V)))}return a.createElement(l.default,U,P(v.default,{className:T.default.modalContent},void 0,P(m.FormItem,{title:I.default.Messages.STREAM_RESOLUTION,className:C.default.settingsGroup,titleClassName:T.default.formItemTitle},void 0,G),P(m.FormItem,{title:I.default.Messages.SCREENSHARE_FRAME_RATE,className:C.default.settingsGroup,titleClassName:T.default.formItemTitle},void 0,F)))}L.displayName="StreamSettings"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(9)),o=l(n(88)),i=l(n(7629));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=function(e){var t=e.data,n=e.disabled,r=t.content,l=t.className,u=t.onClick,d=t.disabled;return s(o.default,{},void 0,s("button",{type:"button",className:(0,a.default)(i.default.item,l),onClick:u,disabled:n||d},void 0,r))};d.displayName="Button";var f=function(e){var t=e.buttons,n=e.disabled,r=e.className;return s("div",{role:"group",className:(0,a.default)(i.default.group,r)},void 0,t.map((function(e,t){return s(d,{data:e,disabled:n},t)})))};f.displayName="ButtonGroup";var c=f;t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=C;O(n(0));var r,a=g(n(9)),o=g(n(8)),i=n(3),l=O(n(86)),u=g(n(15)),s=g(n(40)),d=g(n(361)),f=g(n(61)),c=g(n(371)),p=g(n(683)),v=g(n(24)),y=n(484),m=g(n(8946)),_=g(n(6)),h=g(n(7348)),E=g(n(7632));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(e){var t=e.guildId,n=e.onClick,r=(0,i.useStateFromStores)([u.default],(function(){return u.default.getGuild(t)})),a=(0,i.useStateFromStores)([l.default,u.default,s.default],(function(){return l.default.getChannels(t)[l.GUILD_VOCAL_CHANNELS_KEY].some((function(e){var t=e.channel;return(0,y.canStreamInChannel)(t,u.default,s.default)}))}));return null!=r&&a?I(f.default,{onClick:function(){return n(t)},className:E.default.guildRow},void 0,I(c.default,{guild:r,size:c.default.Sizes.SMALL,className:E.default.guildIcon}),I(v.default,{size:v.default.Sizes.SIZE_16,className:E.default.guildName},void 0,r.toString()),I(p.default,{direction:p.default.Directions.RIGHT,className:E.default.guildArrow})):null}function C(e){var t=e.onSelectGuild,n=(0,i.useStateFromStores)([d.default],(function(){return d.default.guildFolders}));return I(m.default,{title:_.default.Messages.GO_LIVE_MODAL_SELECT_GUILD_FORM_TITLE,scrollerClassName:(0,a.default)(E.default.guildScroller,h.default.marginBottom)},void 0,o.default.flatMap(n,(function(e){return e.guildIds.map((function(e){return I(T,{guildId:e,onClick:t},e)}))})))}T.displayName="GuildRow",C.displayName="GuildSelect"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=D;var r,a=b(n(0)),o=T(n(9)),i=b(n(10365)),l=n(57),u=T(n(51)),s=T(n(79)),d=T(n(710)),f=T(n(61)),c=T(n(55)),p=T(n(9676)),v=T(n(8950)),y=T(n(151)),m=T(n(24)),_=T(n(468)),h=T(n(16)),E=T(n(1302)),g=T(n(1248)),S=T(n(8947)),O=T(n(6)),I=T(n(7635));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function A(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){N(o,r,a,i,l,"next",e)}function l(e){N(o,r,a,i,l,"throw",e)}i(void 0)}))}}function P(){return(0,i.default)(u.default.getMediaEngine(),[i.DesktopSources.WINDOW,i.DesktopSources.SCREEN],{width:176,height:99}).then((function(e){var t=e.filter((function(e){return e.id.startsWith(i.DesktopSources.SCREEN)}));return{windowSources:e.filter((function(e){return e.id.startsWith(i.DesktopSources.WINDOW)})).sort((function(e,t){return R(t)-R(e)})),screenSources:t}}))}function R(e){var t=h.default.isWindows()?(0,g.default)(s.default,d.default):null,n=s.default.getRunningGames();return null!=t&&(0,E.default)(e.id,t.windowHandle)?2:null!=n.find((function(t){return(0,E.default)(e.id,t.windowHandle)}))?1:0}var L=M(y.default,{});function D(e){var t=e.selectedSource,n=e.onChangeSelectedSource,r=a.useState(null),u=r[0],s=r[1],d=a.useState(null),y=d[0],h=d[1],E=a.useState(i.DesktopSources.WINDOW),g=E[0],T=E[1],C=a.useState(!1),b=C[0],N=C[1],R=a.useRef(null),D=a.useRef(new l.Interval);a.useEffect((function(){var e=D.current;return P().then((function(t){var n=t.screenSources,r=t.windowSources;s(n),h(r),e.start(1e3,A(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,P();case 2:t=e.sent,n=t.screenSources,r=t.windowSources,s(n),h(r);case 7:case"end":return e.stop()}}),e)}))))})),function(){e.stop()}}),[]);var w=a.useCallback((function(e){var t;null!==e&&(R.current=e,N(null!==(t=!e.isScrolledToTop())&&void 0!==t&&t))}),[]),j=g===i.DesktopSources.WINDOW?y:u;if(null==j)return M(c.default,{className:I.default.spinner,justify:c.default.Justify.CENTER,align:c.default.Align.CENTER},void 0,L);var k=j.map((function(e){var r,a,i,l=e.id,u=e.name,s=e.url,d=(null==t?void 0:t.id)===l;return M(f.default,{className:(0,o.default)(I.default.tile,(r={},r[I.default.selected]=d,r)),onClick:function(){return n(e)}},l,M(c.default,{direction:c.default.Direction.VERTICAL,justify:c.default.Justify.CENTER,align:c.default.Align.CENTER},void 0,M(c.default,{justify:c.default.Justify.CENTER,align:c.default.Align.CENTER},void 0,M("div",{style:{backgroundImage:"url("+s+")"},className:(0,o.default)(I.default.sourceThumbnail,(a={},a[I.default.selected]=d,a))})),M(m.default,{className:(0,o.default)(I.default.sourceName,(i={},i[I.default.selected]=d,i))},void 0,u)))}));return M(a.Fragment,{},void 0,M("div",{className:I.default.segmentContainer},void 0,M(S.default,{separator:b}),M(v.default,{options:[{name:O.default.Messages.GO_LIVE_MODAL_APPLICATIONS,value:i.DesktopSources.WINDOW},{name:O.default.Messages.GO_LIVE_MODAL_SCREENS,value:i.DesktopSources.SCREEN}],value:g,onChange:function(e){var t=e.value;return T(t)},className:I.default.segmentControl,optionClassName:I.default.segmentControlOption})),a.createElement(_.default,{ref:w,className:I.default.sourceScroller,onScroll:function(){var e=R.current;null!=e&&N(!e.isScrolledToTop())}},M(p.default,{layout:p.default.Layout.WRAP,columns:2,className:I.default.sourceContainer},void 0,k)))}D.displayName="SourceSelect"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=s(n(9)),l=s(n(55)),u=s(n(7633));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}!function(e){e.WRAP="wrap",e.STACK="stack"}(a||(a={}));var p=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var o=r.prototype;return o.renderChildren=function(){var e,t=this.props,n=t.children,r=t.layout,o=t.columns;switch(r){case a.STACK:e="100%";break;case a.WRAP:e=1/o*100+"%"}return n.map((function(t,n){return f(l.default.Child,{className:u.default.tile,basis:e,grow:0},n,t)}))},o.render=function(){var e=this.props.className;return f(l.default,{className:(0,i.default)(e,u.default.grid),wrap:l.default.Wrap.WRAP},void 0,this.renderChildren())},r}(o.PureComponent);p.displayName="Grid",p.Layout=a,p.defaultProps={children:[],layout:a.WRAP,columns:4};var v=p;t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?8:t,r=e.height,a=void 0===r?8:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 8 8",fill:"none"}),s("path",{className:f,fill:d,d:"M8 3.99957L4 0 0 3.99957l1.20161 1.20149L3.1502 3.25268V8h1.6996V3.25268l1.94858 1.94838L8 3.99957z"}))}d.displayName="UpgradeArrow"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(){(0,a.showAppDownloadModal)("Screenshare Unavailable")}(0,o.openModal)((function(t){return r.createElement(i.default,d({},t,{header:l.default.Messages.SCREENSHARE_UNAVAILABLE,body:l.default.Messages.SCREENSHARE_UNAVAILABLE_DOWNLOAD_APP,confirmText:l.default.Messages.DOWNLOAD_APP,onConfirm:e}))}))};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(1228),o=n(41),i=u(n(10357)),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}},function(e,t,n){e.exports=n.p+"c9f51873ae719a6b4b8c6724362e999e.png"},function(e,t,n){e.exports=n.p+"7beab7b17eaa9ff7ceed3e5b1af274c2.png"},function(e,t,n){e.exports=n.p+"0113e92896135807e30f5de869074733.png"},function(e,t,n){e.exports=n.p+"554a8e1a41c2e30cdb946396d3d336f2.png"},function(e,t,n){e.exports=n.p+"554a8e1a41c2e30cdb946396d3d336f2.png"},function(e,t,n){e.exports=n.p+"554a8e1a41c2e30cdb946396d3d336f2.png"},function(e,t,n){e.exports=n.p+"7fa2adf98f26db34178bb30a63dabe8c.png"},function(e,t,n){e.exports=n.p+"a92f116201fa7ff2b4acbb39f144ec60.png"},function(e,t,n){e.exports=n.p+"716d569d0bca379a84578572c6efc7ac.png"},function(e,t,n){e.exports=n.p+"f23c5c28c4429691f7c54af93876d661.png"},function(e,t,n){e.exports=n.p+"3a79cdd1d4af225247f2ba574b97ae78.png"},function(e,t,n){e.exports=n.p+"64f37efd5319b9b581557604864f042a.png"},function(e,t,n){e.exports=n.p+"92cd1f9eabd48ec32dc2ecef617f706b.png"},function(e,t,n){e.exports=n.p+"f100f1c7bd174cdcc1f2da6ad6ad08a4.png"},function(e,t,n){e.exports=n.p+"3a3ec02f3c9193e85bda10f5d2a42574.png"},function(e,t,n){e.exports=n.p+"65e119537887668fd73fd2998d28589e.png"},function(e,t,n){e.exports=n.p+"e6d6b255259ac878d00819a9555072ad.png"},function(e,t,n){e.exports=n.p+"e6d6b255259ac878d00819a9555072ad.png"},function(e,t,n){e.exports=n.p+"e6d6b255259ac878d00819a9555072ad.png"},function(e,t,n){e.exports=n.p+"e6d6b255259ac878d00819a9555072ad.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(156),a=(0,n(50).createExperiment)({kind:"guild",id:"2020-11_poker_night",label:"Activities Experiment",defaultConfig:{enabledApplicationIds:[],useNewInviteButton:!1,rtcPanelIconsOnly:!1,showDiscordGameTooltips:!0},treatments:[{id:1,label:"Poker Night",config:{enabledApplicationIds:[r.POKER_NIGHT_APPLICATION_ID],useNewInviteButton:!0,rtcPanelIconsOnly:!0,showDiscordGameTooltips:!1}},{id:2,label:"All Activities",config:{enabledApplicationIds:[r.POKER_NIGHT_APPLICATION_ID,r.END_GAME_APPLICATION_ID,r.FISHINGTON_APPLICATION_ID,r.YOUTUBE_APPLICATION_ID],useNewInviteButton:!0,rtcPanelIconsOnly:!0,showDiscordGameTooltips:!1}},{id:3,label:"Betrayal",config:{enabledApplicationIds:[r.END_GAME_APPLICATION_ID],useNewInviteButton:!0,rtcPanelIconsOnly:!0,showDiscordGameTooltips:!1}},{id:4,label:"YouTube",config:{enabledApplicationIds:[r.YOUTUBE_APPLICATION_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!1}},{id:5,label:"Fishington",config:{enabledApplicationIds:[r.FISHINGTON_APPLICATION_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!1}},{id:6,label:"Discord Game 1",config:{enabledApplicationIds:[r.DISCORD_GAME_01_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:7,label:"Discord Game 2",config:{enabledApplicationIds:[r.DISCORD_GAME_02_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:8,label:"Discord Game 3",config:{enabledApplicationIds:[r.DISCORD_GAME_03_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:9,label:"Discord Game 4",config:{enabledApplicationIds:[r.DISCORD_GAME_04_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:10,label:"Discord Game 5",config:{enabledApplicationIds:[r.DISCORD_GAME_05_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:11,label:"Discord Game 6",config:{enabledApplicationIds:[r.DISCORD_GAME_06_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:12,label:"Discord Game 7",config:{enabledApplicationIds:[r.DISCORD_GAME_07_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:13,label:"Discord Game 8",config:{enabledApplicationIds:[r.DISCORD_GAME_08_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:14,label:"Discord Game 9",config:{enabledApplicationIds:[r.DISCORD_GAME_09_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:15,label:"Discord Game 10",config:{enabledApplicationIds:[r.DISCORD_GAME_10_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:16,label:"Discord Game 11",config:{enabledApplicationIds:[r.DISCORD_GAME_11_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:17,label:"Discord Game 12",config:{enabledApplicationIds:[r.DISCORD_GAME_12_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:18,label:"Discord Game 13",config:{enabledApplicationIds:[r.DISCORD_GAME_13_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:19,label:"Discord Game 14",config:{enabledApplicationIds:[r.DISCORD_GAME_14_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:20,label:"Discord Game 15",config:{enabledApplicationIds:[r.DISCORD_GAME_15_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:21,label:"Discord Game 16",config:{enabledApplicationIds:[r.DISCORD_GAME_16_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:22,label:"Discord Game 17",config:{enabledApplicationIds:[r.DISCORD_GAME_17_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:23,label:"Discord Game 18",config:{enabledApplicationIds:[r.DISCORD_GAME_18_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:24,label:"Discord Game 19",config:{enabledApplicationIds:[r.DISCORD_GAME_19_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:25,label:"Discord Game 20",config:{enabledApplicationIds:[r.DISCORD_GAME_20_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:26,label:"Discord Game 21",config:{enabledApplicationIds:[r.DISCORD_GAME_21_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:27,label:"Discord Game 22",config:{enabledApplicationIds:[r.DISCORD_GAME_22_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:28,label:"Discord Game 23",config:{enabledApplicationIds:[r.DISCORD_GAME_23_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:29,label:"Discord Game 24",config:{enabledApplicationIds:[r.DISCORD_GAME_24_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:30,label:"Discord Game 25",config:{enabledApplicationIds:[r.DISCORD_GAME_25_ID],rtcPanelIconsOnly:!0,useNewInviteButton:!0,showDiscordGameTooltips:!0}},{id:31,label:"Public Server Experiment",config:{enabledApplicationIds:[r.POKER_NIGHT_APPLICATION_ID,r.CHESS_IN_THE_PARK_APPLICATION_ID],useNewInviteButton:!0,rtcPanelIconsOnly:!0,showDiscordGameTooltips:!1}}]});t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;_(n(0));var r,a=y(n(8257)),o=_(n(8253)),i=y(n(10368)),l=y(n(10369)),u=y(n(10370)),s=y(n(10968)),d=y(n(10969)),f=y(n(10970)),c=n(1),p=y(n(6)),v=y(n(7966));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e){var t=e.onClose,n=e.renderOutputDevices,r=void 0!==n&&n,y=e.renderInputDevices,m=void 0!==y&&y,_=e.renderInputModes,E=void 0!==_&&_,g=e.renderInputVolume,S=void 0!==g&&g,O=e.renderOutputVolume,I=void 0!==O&&O,T=e.onSelect,C=(0,f.default)(),b=(0,s.default)(),M=(0,d.default)(),N=(0,i.default)(),A=(0,l.default)(),P=(0,u.default)();return h(a.default,{object:c.AnalyticsObjects.CONTEXT_MENU},void 0,h(o.default,{onSelect:T,className:v.default.menu,onClose:t,navId:"audio-device-context","aria-label":p.default.Messages.AUDIO_DEVICE_ACTIONS},void 0,m?h(o.MenuGroup,{label:p.default.Messages.INPUT_DEVICE},void 0,b):null,r?h(o.MenuGroup,{label:p.default.Messages.OUTPUT_DEVICE},void 0,M):null,E?h(o.MenuGroup,{label:p.default.Messages.FORM_LABEL_INPUT_MODE},void 0,N):null,h(o.MenuGroup,{},void 0,S?A:null,I?P:null,C)))}E.displayName="AudioDeviceMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;v(n(0));var r,a=n(3),o=c(n(8257)),i=v(n(8253)),l=c(n(51)),u=c(n(10971)),s=c(n(10972)),d=n(1),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t=e.onClose,n=e.onSelect,r=(0,a.useStateFromStores)([l.default],(function(){return l.default.isVideoEnabled()})),c=(0,u.default)(),p=(0,s.default)();return y(o.default,{object:d.AnalyticsObjects.CONTEXT_MENU},void 0,y(i.default,{onClose:t,navId:"video-device-context","aria-label":f.default.Messages.FORM_LABEL_VIDEO_DEVICE,onSelect:n},void 0,y(i.MenuGroup,{label:f.default.Messages.FORM_LABEL_VIDEO_DEVICE},void 0,c),y(i.MenuGroup,{},void 0,!r&&p)))}m.displayName="VideoDeviceMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(t)return void(0,i.openModal)((function(e){return r.createElement(o.default,d({},e,{title:l.default.Messages.SUPPRESSED,body:l.default.Messages.SUPPRESSED_PERMISSION_BODY}))}));if(e)return void(0,i.openModal)((function(e){return r.createElement(o.default,d({},e,{title:l.default.Messages.SERVER_MUTED_DIALOG_TITLE,body:l.default.Messages.SERVER_MUTED_DIALOG_BODY}))}));a.default.toggleSelfMute()};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=u(n(288)),o=u(n(218)),i=n(41),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.children,n=(0,a.usePreventIdle)("popup"),o=n.preventIdle,i=n.allowIdle;return r.useEffect((function(){return o(),function(){return i()}}),[i,o]),r.createElement(r.Fragment,null,t)};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(8400);function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,a.useStateFromStoresObject)([i.default],(function(){var e,t,n=null===(e=null===(t=(0,r.default)(i.default.getVideoDevices()).values().first())||void 0===t?void 0:t.disabled)||void 0===e||e;return{enabled:i.default.isVideoEnabled(),cameraUnavailable:n||!i.default.supports(o.Features.VIDEO)}})),t=e.enabled,n=e.cameraUnavailable;return{enabled:t,cameraUnavailable:n}};var r=l(n(8)),a=n(3),o=n(34),i=l(n(51));function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(3),a=d(n(712)),o=d(n(11)),i=d(n(51)),l=d(n(40)),u=d(n(80)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}var f=function(e){return(0,r.useStateFromStoresObject)([u.default,o.default,i.default,l.default,a.default],(function(){var t,n=null!=e?u.default.getVoiceState(e.getGuildId(),o.default.getId()):null,r=i.default.isSelfMute()||i.default.isSelfMutedTemporarily(),d=null==e?void 0:e.getGuildId(),f=a.default.isViewingRoles(d)&&!l.default.can(s.Permissions.SPEAK,e);return{selfMute:r,suppress:(null==n?void 0:n.suppress)||f,mute:null!==(t=null==n?void 0:n.mute)&&void 0!==t&&t}}))};t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=N;var r,a=T(n(0)),o=n(3),i=O(n(8953)),l=O(n(8758)),u=O(n(8375)),s=O(n(10)),d=O(n(36)),f=O(n(39)),c=T(n(8352)),p=O(n(8509)),v=O(n(255)),y=O(n(8958)),m=O(n(8959)),_=O(n(8960)),h=O(n(8962)),E=n(1),g=O(n(6)),S=O(n(7647));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var b={offset:{left:4,right:-12}};function M(e,t){var n=void 0===t?{}:t,r=n.guildFilter,a=n.roleFilter,o=n.everyoneFilter,l=n.messageId,u=void 0===l?null:l;r=void 0===r?y.default.guildFilter:r,a=void 0===a?y.default.roleFilter:a,o=void 0===o?y.default.everyoneFilter:o;var s=null;null!=e&&(s=r===E.RecentMentionsFilters.ALL_SERVERS?null:e.getGuildId()),i.default.fetchRecentMentions(u,E.MAX_MENTIONS_PER_FETCH,s,a,o)}function N(e){var t=e.header,n=e.onJump,r=(0,o.useStateFromStores)([s.default,d.default],(function(){return s.default.getChannel(d.default.getChannelId())})),u=(0,o.useStateFromStoresObject)([y.default],(function(){return{messages:y.default.getMentions(),hasMore:y.default.hasMore,loading:y.default.loading,guildFilter:y.default.guildFilter,roleFilter:y.default.roleFilter,everyoneFilter:y.default.everyoneFilter}})),f=u.messages,c=u.hasMore,p=u.loading,v=u.guildFilter,m=u.roleFilter,_=u.everyoneFilter;return a.useEffect((function(){M(r)}),[v,m,_,r]),a.useEffect((function(){return function(){i.default.truncateMentions(E.MAX_MENTIONS_PER_FETCH)}}),[]),C(l.default,{className:S.default.recentMentionsPopout,scrollerClassName:S.default.scroller,onFetch:L,onJump:n,onCloseMessage:function(e){i.default.deleteRecentMention(e.id)},channel:r,messages:f,loading:p,hasMore:c,analyticsName:"Recent Mentions",loadMore:function(){var e=null!=f&&f.length>0?f[f.length-1].id:null;M(r,{messageId:e})},canCloseAllMessages:!0,renderHeader:function(){return t},renderEmptyState:R,renderMessage:P,"aria-label":g.default.Messages.RECENT_MENTIONS,listName:"recents"})}N.displayName="RecentMentions";var A=C(v.default,{width:16,height:16});function P(e,t){if(null==e)return[];var n=s.default.getChannel(e.channel_id);return null==n?[]:[C("div",{className:S.default.container},void 0,C(_.default,{channel:n,gotoChannel:t},void 0,C(c.default,{className:S.default.closeButton,tooltip:g.default.Messages.CLOSE,color:c.CircleIconButtonColors.TERTIARY,icon:A,onClick:function(){return i.default.deleteRecentMention(e.id)}})),C("div",{className:S.default.messageContainer},void 0,C(m.default,{guildId:n.guild_id,message:e,className:S.default.jumpButton}),C(u.default,{message:e,channel:n,className:S.default.message,compact:f.default.messageDisplayCompact,animateAvatar:!1,focusProps:b},e.id)))]}function R(e){return C(h.default,{Icon:p.default,header:g.default.Messages.RECENT_MENTIONS_EMPTY_STATE_HEADER,tip:g.default.Messages.RECENT_MENTIONS_EMPTY_STATE_TIP})}function L(e){y.default.hasLoadedEver||M(e)}R.displayName="renderEmptyState"},function(e,t){e.exports='---changelog---\ndate: "2021-06-21"\nlocale: "en-US"\nrevision: 1\nimage: "https://cdn.discordapp.com/attachments/677236002271526936/857671612651143178/7gFzadkQ.png"\n---\nVideo Call Improvements {added marginTop}\n======================\n\n* **We’ve reduced CPU usage by more than 50% for video calls.** Your computer fans can rest easy now...\n* **We\'ve made group video calls smoother, clearer, and more stable.** Grab up to 25 friends and give it a try. Or, more realistically, up to 3 friends.\n* **Video quality is no longer based on the worst internet connection.** Previously, when someone on a slower network joined a group video call, everyone in that call would receive poorer quality video. Well, proud to announce it’s not like that anymore. You can stop bullying Kyle and his geriatric internet.\n* **New screen share resolution settings.** You can now choose a preset quality level for screen share for the best viewing experience based on what you’re doing. This includes gaming, better text readability, and smoother video.\n\n\nMac Improvements {added marginTop}\n======================\n\n* **Added audio to screen share on Macs!** There’s some setup required. Visit *Settings > Voice & Video > Screen Share* to get started. And yes I know, *finally.* Please don’t yell at me about how long it took, I just write the update notes.\n* **Reduced CPU usage on Macs** to make sharing your screen less resource intensive as you now enjoy that sweet, sweet screen share audio.  \n* **Changing default audio fix is now live.** Changing the default input/output device during a call now immediately takes effect. The default device label will also display which device is selected.\n* **Mac pop out fix.** Double clicking a pop out window title bar will now maximize properly.   \n\n\nNew Features {added marginTop}\n======================\n\n* **Added Stage Discovery.** Check out communities that are hosting live Stages—audio events like concerts, panels, talent shows, and whatever other weird but legal things you can come up with—by clicking on the new Discovery tab. \n* **Added collapse syncing.** There are people out there that use multiple Discord clients on their computers. And when those people would collapse and expand categories in their servers, it would not reflect that change across all clients. Now it does you beautifully strange, multi-client people.\n* **Added keyboard navigation in the emoji picker** for better accessibility.\n* **Uhhhh more emoji stuff.** Hovering over a reaction now shows a larger preview of the emoji. \n* **Help us test something for Discord!** We’re testing out what it’s like to have games built directly into voice channels. Come play and test [Poker in our official server](https://discord.gg/pokernight) and share your feedback!\n\n\nFixes and Updates {progress}\n======================\n\n* **Added pagination to the search bar.** You no longer have to scroll endlessly through search results. Now you can jump between pages to find the exact evidence you need against your friend while trying to make a point that they totally said this thing like 6 months ago but you can’t remember but just give you a minute to go find it because you swear they totally said that.\n* **Switch to push to talk (PTT) seamlessly.** When entering a PTT-only channel, you will now receive a pop up with the option to switch to PTT. \n* **More accurate file upload errors.** File upload errors, such as the explicit content filter, will now display more consistently.\n* **New voice transmit status.** Your *voice transmit status*, or funny little green circle that show when you talk into mic, is now visible around your bottom left avatar while in voice.\n\n\n---changelog---\ndate: "2021-06-21"\nlocale: "nl"\nrevision: 1\nimage: "https://cdn.discordapp.com/attachments/677236002271526936/857671612651143178/7gFzadkQ.png"\n---\nVerbeteringen videogesprekken {added marginTop}\n======================\n\n* **We hebben het CPU-gebruik tijdens videogesprekken met ruim 50% teruggebracht.** De ventilatoren van je computer kunnen rustig bijkomen...\n* **We hebben videogesprekken soepeler, helderder en stabieler gemaakt.** Verzamel maximaal 25 vrienden en probeer het maar uit. Of, realistischer, maximaal 3 vrienden.\n* **Videokwaliteit wordt niet langer gebaseerd op de slechtste internetverbinding.** Wanneer voorheen iemand met een langzaam netwerk zich aansloot bij een groepsvideogesprek, kreeg iedereen een slechtere videokwaliteit. Vol trots delen we mee dat daar nu verandering in is gekomen, dus stop met het pesten van Rutger en zijn aftandse internet.\n* **Nieuwe resolutie-instellingen tijdens schermdelen.** Je kunt nu een vooraf ingesteld kwaliteitsniveau kiezen voor schermdelen, voor de beste kijkervaring op basis van wat je aan het doen bent. Hieronder valt ook gamen, betere leesbaarheid van tekst en betere videobeelden.\n\n\nMac-verbeteringen {added marginTop}\n======================\n\n* **Audio toegevoegd aan schermdelen op Macs!** Hier moet je wat instellingen voor aanpassen. Ga naar *Instellingen > Spraak en video > Schermdelen* om aan de slag te gaan. En ja, ik weet het: *eindelijk.* Ik schrijf alleen maar de updatenotities, dus schreeuw alsjeblieft niet naar me dat het zo lang heeft geduurd.\n* **Verminderd CPU-gebruik op Macs** zodat het delen van je scherm minder van je computer vraagt terwijl je geniet van die heerlijke audio tijdens het schermdelen.  \n* **Je kunt nu de standaardaudio aanpassen.** Wanneer je tijdens een gesprek het standaard invoer- of uitvoerapparaat aanpast, wordt die wijziging meteen doorgevoerd. Het standaardapparaat-label geeft ook weer welk apparaat is geselecteerd.\n* **Oplossing Mac-pop-out.** Wanneer je dubbelklikt op de titelbalk van een pop-outvenster wordt die correct gemaximaliseerd.   \n\n\nNieuwe functies {added marginTop}\n======================\n\n* **Synchronisatie invouwen toegevoegd.** Er zijn mensen die meerdere Discord-clients gebruiken op hun computers. Wanneer zij categorieën op hun servers in- of uitvouwden, werd die wijziging niet op al hun clients doorgevoerd. Maar daar is nu verandering in gekomen, prachtige vreemde multi-clientmensen.\n* **Toetsenbordnavigatie toegevoegd aan de emojikiezer** voor een betere toegankelijkheid.\n* **Eh, nog meer emoji-dingen.** Beweeg de cursor boven een reactie om een grotere preview van de emoji te kunnen zien. \n\n\nProbleemoplossingen en updates {progress}\n======================\n\n* **Paginering aan de zoekbalk toegevoegd.** Je hoeft niet langer eindeloos door de zoekresultaten te scrollen. Je kunt naar andere pagina\'s springen om het exacte bewijs te vinden dat je nodig hebt om aan je vriend te laten zien dat hij dat ene zes maanden geleden echt heeft gezegd, ook al weet je niet meer wat het was. Dus zoek je het op omdat je zeker weet dat hij dat écht heeft gezegd.\n* **Schakel moeiteloos over naar push-to-talk (PTT).** Wanneer je op een PTT-only-kanaal komt, verschijnt er nu een pop-up met de optie om over te schakelen naar PTT. \n* **Foutmeldingen tijdens het uploaden van bestanden zijn nu nauwkeuriger.** Uploadfouten zoals het expliciete inhoudsfilter worden nu consistenter weergegeven.\n* **Nieuwe stemverzendstatus.** Je *stemverzendstatus*, of dat geinige groene cirkeltje dat wordt weergegeven als je in je microfoon praat, is nu zichtbaar rondom je avatar linksonder wanneer je op een spraakkanaal zit.\n\n\n---changelog---\ndate: "2021-06-21"\nlocale: "fr"\nrevision: 1\nimage: "https://cdn.discordapp.com/attachments/677236002271526936/857671612651143178/7gFzadkQ.png"\n---\nAméliorations des appels vidéo {added marginTop}\n======================\n\n* **Nous avons réduit l\'utilisation du processeur de plus de 50 % lors des appels vidéo.** Les ventilateurs de ton ordinateur peuvent se la couler douce maintenant.\n* **Nous avons rendu les appels vidéo de groupe plus fluides, plus clairs et plus stables.** Rassemble 25 amis et tente l\'expérience. Ou plutôt 3. Oui, 3 amis, c\'est plus réaliste...\n* **La qualité vidéo n\'est plus basée sur la pire connexion internet.** Auparavant, lorsqu\'une personne se trouvant sur un réseau plus lent rejoignait un appel vidéo de groupe, tous les participants à cet appel recevaient une vidéo de moins bonne qualité. Eh bien, nous sommes fiers d\'annoncer que ce n\'est plus le cas. Plus besoin de s\'énerver sur Kévin et sa connexion internet qui date du paléolithique.\n* **Nouveaux paramètres de résolution pour le partage d\'écran.** Tu peux désormais choisir un niveau de qualité prédéfini pour le partage d\'écran afin d\'obtenir la meilleure expérience visuelle en fonction de ce que tu fais. Cela inclut les jeux, une meilleure lisibilité du texte et des vidéos plus fluides.\n\n\nAméliorations pour Mac {added marginTop}\n======================\n\n* **Ajout de l\'audio pour le partage d\'écran sur Mac !** Quelques manipulations sont nécessaires. Rends-toi simplement dans *Paramètres > Voix & Vidéo > Partage d\'écran*. Et oui je sais, *enfin.* Pas la peine de me crier dessus pour le temps que ça a pris, j\'écris juste les notes de mise à jour moi.\n* **Réduction de l\'utilisation du processeur sur Mac** pour rendre le partage de ton écran moins gourmand en ressources pendant que tu profites du doux son du partage d\'écran.  \n* **Modification de la correction audio par défaut.** La modification du périphérique d\'entrée/de sortie par défaut pendant un appel prend désormais effet immédiatement. L\'étiquette du périphérique par défaut affichera également le périphérique sélectionné.\n* **Correction du lecteur réduit pour Mac.** Un double-clic sur la barre de titre d\'une fenêtre de lecteur réduit permet désormais de la maximiser correctement.   \n\n\nNouvelles fonctionnalités {added marginTop}\n======================\n\n* **Ajout de la synchronisation de réduction.** Certaines personnes utilisent plusieurs clients Discord sur leur ordinateur. Et lorsque ces personnes réduisaient et développaient des catégories dans leurs serveurs, le changement n\'était pas répercuté sur tous les clients. Maintenant, il le fait pour les personnes qui utilisent plusieurs clients.\n* **Ajout d\'une navigation au clavier dans le sélecteur d\'émojis** pour une meilleure accessibilité.\n* **Eeeeet toujours plus de trucs en lien avec les émojis.** Passer le curseur de la souris sur une réaction permet désormais d\'afficher un aperçu plus grand de l\'émoji. \n\nCorrections et mises à jour {progress}\n======================\n\n* **Ajout d\'une pagination à la barre de recherche.** Plus besoin de faire défiler pendant des heures les résultats de tes recherches. Tu peux maintenant passer d\'une page à l\'autre pour trouver la preuve exacte dont tu as besoin pour convaincre tes amis qu\'ils ont dit telle ou telle chose il y a 6 mois. Tu ne te rappelles plus quoi exactement, mais tu vas trouver dans une minute parce que tu peux jurer qu\'ils l\'ont dit.\n* **Passe facilement en mode Appuyer-pour-parler (APP).** Lorsque tu entres dans un salon en APP uniquement, une fenêtre s\'affichera désormais avec l\'option pour passer en mode APP. \n* **Alertes d\'erreurs d\'upload de fichiers plus précises.** Les alertes d\'erreurs d\'upload de fichiers, telles que le filtre de contenu explicite, s\'affichent désormais de manière plus cohérente.\n* **Nouveau statut de transmission de voix.** Ton *statut de transmission de voix*, ou si tu préfères, le petit cercle vert qui s\'allume quand tu parles dans ton micro, est désormais visible autour de ton avatar situé en bas à gauche lors des appels.\n\n\n---changelog---\ndate: "2021-06-21"\nlocale: "de"\nrevision: 1\nimage: "https://cdn.discordapp.com/attachments/677236002271526936/857671612651143178/7gFzadkQ.png"\n---\nVerbesserungen an Videoanrufen {added marginTop}\n======================\n\n* **Wir haben die CPU-Auslastung bei Videoanrufen um 50 % reduziert.** Dein Computerlüfter kann erst mal durchatmen …\n* **Gruppen-Videoanrufe laufen jetzt reibungsloser, klarer und stabiler.** Versuch es mit bis zu 25 Freunden. Oder, was viel realistischer ist, mit drei.\n* **Die Videoqualität ist nicht mehr von der schlechtesten Internetverbindung abhängig.** Zuvor wurde die Videoqualität aller Teilnehmer runtergeschraubt, sobald jemand mit einer langsamen Netzwerkverbindung dem Gruppen-Videoanruf beigetreten ist. Wir verkünden voller Stolz, dass das nicht mehr der Fall ist. Du kannst aufhören, Kyle und sein antiquiertes DSL-Modem zu mobben.\n* **Neue Auflösungseinstellungen für Bildschirmübertragungen.** Du kannst ab jetzt voreingestellte Qualitätsstufen für Bildschirmübertragungen auswählen – für ein optimales Bildergebnis, basierend auf dem, was du machst. Das beinhaltet Gaming, bessere Lesbarkeit und flüssige Videos.\n\n\nVerbesserung für Mac {added marginTop}\n======================\n\n* **Audio bei Bildschirmübertragungen für Mac hinzugefügt!** Es benötigt ein bisschen Vorarbeit. Um loszulegen, geh auf *Einstellungen > Sprach- & Videochat > Bildschirmübertragung*. Ja, ja, wir wissen schon, *endlich*. Schrei mich bitte nicht an, weil es so lange gedauert hat, ich schreib hier nur diese Updates.\n* **CPU-Auslastung für Mac reduziert**, damit Bildschirmübertragungen weniger leistungsintensiv sind und du jetzt auch bei Bildschirmübertragungen den hammergeilen Sound genießen kannst.  \n* **Fehler beim Ändern der Audioeinstellungen behoben.** Wenn Ein- oder Ausgabegeräte während eines Anrufs geändert werden, wird diese Änderung ab jetzt sofort übernommen. Außerdem wird auch angezeigt, welches Gerät ausgewählt wurde.\n* **Fehler bei Popout für Mac behoben.** Bei einem Doppelklick auf die Popout-Titelleiste wird das Fenster jetzt wie vorgesehen maximiert.   \n\n\nNeue Features {added marginTop}\n======================\n\n* **Ein- und Ausklappen von Kanälen jetzt synchronisiert.** Vielleicht gehörst du ja auch zu denen, die mehrere Discord-Clients auf ihrem Computer benutzen. Wenn du also Kanäle ein- oder ausgeklappt hast, wurde diese Änderung nicht auf allen Clients übernommen. Jetzt tut es das aber – wir lieben Multi-Client!\n* **Tastatur-Navigation für Emoji-Auswahl hinzugefügt**, für ein wenig mehr Barrierefreiheit.\n* **Uhhh, noch mehr Emoji-Zeug.** Wenn du mit der Maus über eine Reaktion fährst, wird eine größere Vorschau der Emojis angezeigt. \n\nFehlerbehebungen und Updates {progress}\n======================\n\n* **Seitennummerierung zur Suchleiste hinzugefügt.** Du musst nie wieder ewig durch die Suchergebnisse scrollen. Ab jetzt kannst du direkt zu einer Seite springen. Endlich hast du den Beweis dafür, dass deine Freunde vor sechs Monaten etwas ganz Bestimmtes gesagt haben, innerhalb von wenigen Sekunden. Du hast recht und das sollen sie ruhig wissen!\n* **Wechsle reibungslos zu Push-to-Talk (PTT).** Wenn du einen PTT-Kanal betrittst, erscheint jetzt ein Popup-Fenster mit der Option, zu PTT zu wechseln. \n* **Genauere Fehlermeldungen zu Datei-Uploads.** Die Anzeige der Fehlermeldungen zu Datei-Uploads wurde verbessert, wie zum Beispiel bei Meldungen zum Filter für anstößige Inhalte.\n* **Neuer Sprachübertragungsstatus.** Dein *Sprachübertragungsstatus*, der niedliche grüne Kreis, der beim Sprechen leuchtet, ist jetzt um deinen Avatar unten links sichtbar, wenn du sprichst.\n\n\n---changelog---\ndate: "2021-06-21"\nlocale: "it"\nrevision: 1\nimage: "https://cdn.discordapp.com/attachments/677236002271526936/857671612651143178/7gFzadkQ.png"\n---\nMiglioramenti per le videochiamate {added marginTop}\n======================\n\n* **Abbiamo ridotto l\'utilizzo della CPU di oltre il 50% per le videochiamate.** Le ventole del tuo computer ora possono stare tranquille...\n* **Abbiamo reso le videochiamate di gruppo più fluide, più chiare e più stabili.** Puoi fare una prova aggiungendo un massimo di 25 amici. Oppure, in modo più realistico, un massimo di 3 amici.\n* **La qualità del video non si basa più sulla connessione internet più scarsa.** In precedenza, quando qualcuno con una rete più lenta si univa alla videochiamata, tutti i partecipanti alla chiamata ricevevano una qualità video peggiore. Beh, siamo fieri di annunciare che ora non è più così. Puoi smettere di tormentare Kyle per la sua connessione geriatrica.\n* **Nuove impostazioni della condivisione schermo.** Ora puoi scegliere un livello di qualità prestabilito per la condivisione schermo in modo da assicurare la miglior esperienza visiva a seconda di quello che stai facendo. Include gaming, migliore leggibilità dei testi e video più fluidi.\n\n\nMiglioramenti per Mac {added marginTop}\n======================\n\n* **Aggiunto l\'audio alla condivisione schermo su Mac!** È necessaria una configurazione specifica. Vai nelle *Impostazioni > Voce e video > Condivisione schermo* per iniziare. E sì, concordo, *era ora*. Ti prego, non prendertela con me per quanto tempo ci è voluto, io scrivo solo le note sugli aggiornamenti.\n* **Abbiamo ridotto l\'utilizzo della CPU su Mac** per fare in modo che condividere lo schermo non consumi troppe risorse, ora che ti puoi finalmente godere il dolce, meraviglioso audio nella condivisione schermo.  \n* **Abbiamo risolto il problema della modifica dell\'audio predefinito.** Ora le modifiche per i dispositivi di input/output predefiniti durante la chiamata hanno effetto immediatamente. L\'etichetta del dispositivo predefinito ora indica anche quale dispositivo è selezionato al momento.\n* **Risolto il problema delle nuove finestre su Mac.** Fare doppio clic sulla barra del titolo di una finestra aperta ora la ingrandirà correttamente.   \n\n\nNuove funzionalità {added marginTop}\n======================\n\n* **Aggiunta sincronizzazione della riduzione.** C\'è gente là fuori che usa più Discord Client sul proprio computer. E quando queste persone riducevano o espandevano le categorie sui propri server, la modifica non veniva apportata a tutti i client. Ora invece sì, bella e strana gente del multi-client.\n* **Abbiamo aggiunto la navigazione con la tastiera nel selettore emoji** per una migliore accessibilità.\n* **Uhhhh altra roba sugli emoji.** Passare il cursore sopra una reazione ora ti mostra un\'anteprima più grande dell\'emoji. \n\nCorrezioni e aggiornamenti {progress}\n======================\n\n* **Aggiunte pagine alla barra di ricerca.** Non devi più scorrere all\'infinito tra i risultati di ricerca. Ora puoi saltare da una pagina all\'altra per trovare esattamente le prove da sbattere in faccia ai tuoi amici che negano di aver detto quella cosa 6 mesi fa ma tu non ti ricordi bene e ora ti basta un minuto per ritrovarla perché non hai nessun dubbio sul fatto che lo abbiano detto.\n* **Passa facilmente al push-to-talk (PTT).** Quando entri in un canale unicamente con PTT, ora ti apparirà un pop-up con l\'opzione per passare a PTT. \n* **Errori di caricamento file più precisi.** Gli errori di caricamento file, come il filtro dei contenuti espliciti, ora appariranno più regolarmente.\n* **Nuovo stato di trasmissione della voce.** Il tuo *stato di trasmissione della voce*, noto anche come buffo cerchio verde che appare quando stai parlando al microfono, ora è visibile attorno al tuo avatar in basso a sinistra quando sei in chat vocale.\n\n\n---changelog---\ndate: "2021-06-21"\nlocale: "ja"\nrevision: 1\nimage: "https://cdn.discordapp.com/attachments/677236002271526936/857671612651143178/7gFzadkQ.png"\n---\nビデオ通話を改善 {added marginTop}\n======================\n\n* **ビデオ通話時の CPU 使用率を 50% 以上抑えました。**これであなたの冷却ファンも安心です……\n* **グループビデオ通話のスムーズさ、クリアさ、安定感がアップ。**最大 25 人の友達を集めて、ぜひお試しください。まあ現実的には 3 人ってとこですかね。\n* **ビデオ画質が最低のインターネット速度に左右されなくなりました。**これまでは、低速のネット環境を使用している人がグループビデオ通話に参加すると、他の参加者全員のビデオ画質も落ちるという事態が発生していました。でも、もうそんなことが起こる心配はありません。カイルと彼のボロボロのネット環境をなじるのもやめてあげてくださいね。\n* **画面共有の画質設定が新しくなりました。**配信内容に合わせてベストな視聴体験を約束できるよう、プリセットの画質レベルを選べるようになりました。ゲーム向けの設定、テキストが読みやすいよう調整された設定、スムーズな動画配信のための設定などがあります。\n\n\nMac 向けの改善 {added marginTop}\n======================\n\n* **Mac の画面共有が音声に対応しました!** お使いいただく前に設定が必要です。「設定」>「音声・ビデオ」>「画面共有」からどうぞ。はい、そのとおりです。やっとです。遅いんだよって怒らないでくださいね。自分は更新情報を書くだけのお仕事なのです。\n* **Mac での CPU 使用率を下げました。**これで、愛しい愛しい音声つき画面共有を楽しむときも、リソースの圧迫が抑えられます。  \n* **音声のデフォルト設定変更がリアルタイムになりました。**通話中にデフォルトの入力/出力デバイスを変更すると、即時反映されます。またデフォルトのデバイスを選択すると、デフォルトであることを示すラベルも表示されます。\n* **Mac でのポップアウトを改善しました。**ポップアウト・ウィンドウのタイトルバーをダブルクリックすると、ちゃんと最大化されるようになりました。   \n\n\n新機能{added marginTop}\n======================\n\n* **折りたたみの同期を実装しました。**世の中には、パソコン上で複数の Discord クライアントを使っている人々が存在します。こういった人々がサーバーでカテゴリの折りたたみ・展開を行っても、これまではその操作を全てのクライアントに反映することはできませんでした。でも今ならできるようになりましたよ、美しくも奇妙なマルチクライアント使いの皆様。\n* **絵文字ピッカーにキーボード・ナビゲーションを追加しました**。使いやすさ、向上です。\n* **えーと、あれだ。絵文字のあれです。**リアクションにカーソルをかざすと、絵文字のプレビューができるようになりました。 \n\n\nバグ修正と更新{progress}\n======================\n\n* **検索バーでページ分けできるようになりました。**検索結果を永久にスクロールし続ける手間はもういりません。これからはページ間をジャンプして、6 ヶ月前くらいに友達が〇〇って言ったけど正確にいつかは思い出せなくて一瞬だけ時間ちょうだい絶対間違いなく言ってたからすぐに探し出して言質取るから、っていうときに役立てることができます。\n* **プッシュツートーク(PTT)への切り替えがシームレスになりました。**PTT オンリーのチャンネルに入るときには、PTT に切り替えるオプションのポップアップが表示されます。 \n* **ファイルのアップロードエラー表示がより正確に。**不適切なコンテンツのフィルターなどのファイル・アップロードエラーが、より正確に、一貫して表示されるようになりました。\n* **音声送信ステータスが新しくなりました。***音声送信ステータス*ってアレです。マイクに向かって話すと表示される変な緑の丸のことです。音声通話中、そのアレがアバターの左下に表示されるようになりました。\n\n\n---changelog---\ndate: "2021-06-21"\nlocale: "ko"\nrevision: 1\nimage: "https://cdn.discordapp.com/attachments/677236002271526936/857671612651143178/7gFzadkQ.png"\n---\n영상 통화 개선 {added marginTop}\n======================\n\n* **영상 통화를 할 때의 CPU 사용량을 50% 이상 줄였어요.** 컴덕후 여러분, 이제 노여움을 풀어주세요...\n* **그룹 영상 통화를 더 부드럽고, 더 깨끗하고, 더 안정적으로 만들었어요.** 친구를 25명까지 모아 한번 해보세요. 현실적으로 3명만 모아서 해봐도 좋아요.\n* **더 이상 동영상 품질이 가장 안 좋은 인터넷 연결 상태를 기준으로 설정되지 않아요.** 예전까지만 해도 인터넷 연결 상태가 좋지 않은 사람이 그룹 영상 통화에 참여하면, 통화에 참여 중인 모두의 동영상 품질이 나빠졌었죠. 하지만 이제 이런 일은 없을 거예요. 인터넷이 느리다고 놀림 받는 일도 없을 거고요.\n* **화면 공유 해상도 설정 기능을 사용할 수 있어요.** 현재 무얼 하고 있느냐에 따라 시청 환경을 최적화할 수 있도록 프리셋 품질 레벨을 선택할 수 있어요. 여기에는 게임, 텍스트 가독성 향상, 더 부드러운 동영상이 포함돼요.\n\n\nMac 개선 {added marginTop}\n======================\n\n* **Mac에서의 화면 공유에서 음성을 추가했어요!** 대신 설정이 좀 필요해요. *설정 > 음성 및 비디오 > 화면 공유*로 가서 시작해보세요. 왜 이렇게 오래 걸렸느냐고 화내지 마세요. 전 업데이트 소식만 전달할 뿐이니까요.\n* **Mac에서의 CPU 사용량을 줄였어요.** 달콤한 화면 공유 음성을 즐기실 수 있도록 화면 공유가 리소스를 덜 잡아먹게 했답니다.  \n* **기본 음성을 변경할 수 있어요.** 통화 중 기본 입력/출력 장치를 바꾸면 즉시 효과가 적용돼요. 기본 장치 레이블 표시는 현재 어떤 장치가 선택되어 있는지를 보여줘요.\n* **Mac 팝업창을 수정했어요.** 이제 팝업창의 타이틀 바를 더블 클릭하면 창이 정상적으로 최대화돼요.   \n\n\n새 기능 {added marginTop}\n======================\n\n* **접기 동기화 기능을 추가했어요.** 컴퓨터로 여러 개의 Discord 클라이언트를 사용하는 분들이 계시는데, 여태까지는 이분들이 서버에서 카테고리를 접거나 확장할 때 변경 내용이 모든 클라이언트에 반영되지는 않았어요. 근데 이제 된답니다.\n* **이모티콘 선택기에 키보드 탐색 기능을 추가**해서 접근성을 높였어요.\n* **더 많은 이모티콘이 출시됐어요.** 반응에 마우스 커서를 올려두면 해당 이모티콘의 더 큰 미리보기가 표시돼요. \n\n수정 및 업데이트 {progress}\n======================\n\n* **검색 창에 페이지 기능을 추가했어요.** 검색 결과를 뒤져볼 때 더는 손가락 빠지도록 스크롤을 내릴 필요가 없어요. 6개월 전 친구가 뭔가에 관해 무슨 얘기를 했는데 그게 정확히 무엇에 관한 것이었는지 기억이 가물가물하지만 왠지 당장 궁금해서 미칠 거 같을 때, 검색 결과 페이지를 오가며 편하게 그 실마리를 찾아볼 수 있을 거예요.\n* **눌러서 말하기(PTT)로의 전환이 더 매끄러워졌어요.** 이제 PTT 전용 채널에 입장 시, PTT로의 전환 여부를 묻는 팝업창이 뜰 거예요. \n* **파일 업로드 오류 표시 내용이 더 정확해졌어요.** 유해 콘텐츠 필터 등에 의해 파일 업로드 오류 발생 시 그 내용이 더 일관적으로 표시될 거예요.\n* **음성 전송 상태가 새로 표시돼요.** 음성 채팅 중 마이크에 대고 이야기를 할 때, 왼쪽 아래에 있는 자신의 아바타에 *음성 전송 상태*가 귀여운 녹색 원으로 표시돼요.\n\n\n---changelog---\ndate: "2021-06-21"\nlocale: "pl"\nrevision: 1\nimage: "https://cdn.discordapp.com/attachments/677236002271526936/857671612651143178/7gFzadkQ.png"\n---\nUsprawnienia połączeń wideo {added marginTop}\n======================\n\n* **Zmniejszyliśmy zużycie procesora o ponad 50% podczas rozmów wideo.** Twoi fani komputerowi mogą teraz spać spokojnie...\n* **Grupowe rozmowy wideo stały się płynniejsze, wyraźniejsze i stabilniejsze.** Zaproś do 25 znajomych i spróbuj. No dobrze, do 3 znajomych będzie bardziej realistyczne.\n* **Jakość wideo nie jest już zależna od najgorszego połączenia internetowego.** Wcześniej, gdy ktoś z wolniejszym łączem dołączał do grupowej rozmowy wideo, wszyscy uczestnicy otrzymywali gorszą jakość wideo. Cóż, z dumą ogłaszamy, że już tak nie jest. Możesz przestać nękać Kyle\'a z powodu jego przestarzałego internetu.\n* **Nowe ustawienia rozdzielczości współdzielenia ekranu.** Możesz teraz wybrać wstępnie ustawiony poziom jakości dla współdzielenia ekranu, aby uzyskać najlepsze warunki oglądania w zależności od tego, co robisz. Obejmuje to gry, lepszą czytelność tekstu i płynniejsze wideo.\n\n\nUsprawnienia dla komputerów Mac {added marginTop}\n======================\n\n* **Dodano dźwięk do współdzielenia ekranu na komputerach Mac!** Wymagane są pewne czynności konfiguracyjne. Przejdź do sekcji *Ustawienia > Głos i wideo > Współdzielenie ekranu*, aby zacząć. I tak, wiem, *w końcu.* Proszę nie krzyczeć na mnie, że trwało to tak długo, ja tylko piszę notatki o aktualizacji.\n* **Zmniejszono zużycie procesora na komputerach Mac**, dzięki czemu współdzielenie ekranu jest mniej zasobożerne, a Ty możesz teraz cieszyć się tym przyjemnym dźwiękiem towarzyszącym współdzieleniu ekranu.  \n* **Wprowadzono poprawkę dotyczącą zmiany domyślnego audio.** Zmiana domyślnego urządzenia wejściowego/wyjściowego podczas połączenia jest teraz natychmiast widoczna. Etykieta urządzenia domyślnego będzie również wyświetlać, które urządzenie zostało wybrane.\n* **Poprawka do wyskakujących okien na komputerach Mac.** Dwukrotne kliknięcie paska tytułu wyskakującego okna powoduje teraz prawidłową maksymalizację.   \n\n\nNowe funkcje {added marginTop}\n======================\n\n* **Dodano synchronizację zwijania.** Są osoby, które używają wielu klientów Discord na swoich komputerach. I kiedy takie osoby zwijały i rozwijały kategorie na swoich serwerach, nie odzwierciedlało to zmian na wszystkich klientach. Teraz jest to możliwe dla osób korzystających z wielu klientów.\n* **Dodano nawigację klawiaturową w narzędziu do wybierania emoji** w celu zwiększenia dostępności.\n* **I jeszcze więcej emoji!** Najechanie kursorem na reakcję pokazuje teraz większy podgląd emoji. \n\nPoprawki i aktualizacje {progress}\n======================\n\n* **Dodano paginację do paska wyszukiwania.** Nie musisz już przewijać w nieskończoność wyników wyszukiwania. Teraz możesz przeskakiwać między stronami, aby znaleźć niezbity dowód, którego potrzebujesz, chcąc udowodnić swojemu znajomemu, że naprawdę coś powiedział 6 miesięcy temu, ale nie możesz sobie przypomnieć, więc poświęcasz trochę czasu, aby to znaleźć, ponieważ przysięgasz, że naprawdę to powiedział.\n* **Bezproblemowo przełącz się do trybu Naciśnij i Mów (NIM).** Po wejściu na kanał działający tylko w trybie Naciśnij i Mów pojawia się okienko z możliwością przełączenia na tryb NIM. \n* **Bardziej precyzyjne błędy przesyłania plików.** Błędy przesyłania plików, takie jak filtr wulgarnych treści, będą teraz wyświetlane bardziej konsekwentnie.\n* **Nowy status transmisji głosowej.** Twój *status transmisji głosowej*, czyli zabawne małe zielone kółko, które pokazuje się, gdy mówisz do mikrofonu, jest teraz widoczny wokół Twojego lewego dolnego awatara, gdy jesteś w trybie głosowym.\n\n\n---changelog---\ndate: "2021-06-21"\nlocale: "ru"\nrevision: 1\nimage: "https://cdn.discordapp.com/attachments/677236002271526936/857671612651143178/7gFzadkQ.png"\n---\nУлучшения видеозвонков {added marginTop}\n======================\n\n* **Мы снизили потребление ресурсов ЦП при видеозвонках более чем на 50%.** Теперь кулеры ваших компьютеров наконец смогут отдохнуть…\n* **Групповые видеозвонки стали более плавными, чёткими и стабильными.** Организуйте видеозвонок с 25 друзьями и сами убедитесь. Ну ладно, с тремя друзьями, это уже больше похоже на правду.\n* **Качество видео больше не зависит от худшего интернет-соединения.** Раньше, когда кто-то с более медленным соединением присоединялся к групповому видеозвонку, качество видео у всех участников снижалось. Что ж, с гордостью сообщаем, что это больше не так. Вы можете перестать издеваться над Стасом и его доисторическим интернетом.\n* **Новые настройки разрешения для показа экрана.** Теперь вы можете выбрать предустановленный уровень качества изображения для показа экрана в зависимости от того, что вы делаете. У нас есть режимы для игр, лучшей читаемости текста и более плавного видео.\n\n\nУлучшения для Mac {added marginTop}\n======================\n\n* **Показ экрана на устройствах Mac теперь можно делать со звуком!** Для этого выполните следующее: перейдите в настройки > Голос и видео > Показ экрана. Да-да, «наконец-то»! Не ругайтесь на меня, пожалуйста, я знаю, что мы слишком долго над этим работали, я всего лишь пишу о том, что изменилось с этим обновлением.\n* **Снижена нагрузка на ЦП устройств Mac,** чтобы при показе экрана расходовалось меньше ресурсов, пока вы наслаждаетесь новой возможностью делать это со звуком.  \n* **Стала доступна возможность менять звук по умолчанию.** Теперь во время звонка можно свободно менять устройство ввода/вывода по умолчанию. При смене режима будет отображаться значок выбранного по умолчанию устройства.\n* **Исправление для режима отдельного окна на устройствах Mac.** При двойном щелчке по заголовку отдельного окна оно теперь разворачивается должным образом.   \n\n\nНовые функции {added marginTop}\n======================\n\n* **Добавлена синхронизация сворачивания.** Немало людей используют несколько клиентов Discord одновременно. И когда эти люди сворачивали и разворачивали категории на своих серверах, эти изменения происходили не на всех клиентах. Это больше не проблема для вас, странные, но прекрасные люди с кучей клиентов Discord.\n* **Для большего удобства добавлена навигация с клавиатуры в меню эмодзи**.\n* **Еще больше улучшений эмодзи.** Теперь при наведении курсора на реакцию отображается более крупная версия эмодзи. \n\nИсправления и улучшения {progress}\n======================\n\n* **Добавлена нумерация страниц поиска.** Больше не нужно бесконечно прокручивать результаты поиска. Теперь вы легко сможете победить в споре с друзьями и найти ту фразу, которую они сказали полгода назад, даже если они утверждают, будто такого не было.\n* **Переключайтесь в режим рации легко и просто.** При входе на канал, предназначенный только для режима рации, вы получите всплывающее окно с предложением переключиться в режим рации. \n* **Единообразие ошибок при загрузке файлов.** Теперь ошибки загрузки файлов, например из-за нежелательного содержимого, будут отображаться единообразно.\n* **Новый статус при голосовом общении.** Ваш *статус передачи голоса*, или забавный зелёный кружок, который отображается, когда вы говорите в микрофон, теперь будет появляться в левом нижнем углу вашего аватара, когда вы находитесь в голосовом чате.\n\n\n---changelog---\ndate: "2021-06-21"\nlocale: "es-ES"\nrevision: 1\nimage: "https://cdn.discordapp.com/attachments/677236002271526936/857671612651143178/7gFzadkQ.png"\n---\nMejoras en las videollamadas {added marginTop}\n======================\n\n* **Hemos reducido el uso de la CPU en las videollamadas en más de un 50 %.** Los ventiladores de vuestros ordenadores pueden tomarse un descanso...\n* **Hemos hecho que las videollamadas en grupo sean más fluidas, claras y estables.** Reuníos con hasta 25 amigos y probadlo. O, bueno, también vale con solo 3.\n* **La calidad de vídeo ya no se basa en la peor conexión a internet.** Antes, cuando alguien con una conexión lenta se unía a una videollamada en grupo, todos los participantes en esa llamada recibían un vídeo de peor calidad. Es un honor anunciar que ha dejado de ser así. Ya podéis dejar de meteros con el pobre Kyle y su internet del año de la pera.\n* **Nuevos ajustes de resolución al compartir pantalla.** Ahora podéis elegir un nivel de calidad predeterminado para compartir pantalla y conseguir la mejor calidad de visualización en función de lo que estéis haciendo. Esto incluye juegos, una mejor legibilidad de los textos y una reproducción de vídeo más fluida.\n\n\nMejoras en Mac {added marginTop}\n======================\n\n* **¡Hemos añadido audio al compartir pantalla en Mac!** Para ello, hay que configurar unas cosillas. Id a *Ajustes > Voz y vídeo > Compartir pantalla* para empezar. Y sí, lo sé, ya era hora. No me echéis la bronca por haber tardado tanto, yo solo escribo las notas de la actualización.\n* **Hemos reducido el uso de la CPU en Mac** para que compartir pantalla consuma menos recursos, ya que ahora se puede disfrutar del glorioso audio de compartir pantalla.  \n* **Hemos corregido el problema del cambio del audio por defecto.** Cambiar el dispositivo de entrada/salida por defecto durante una llamada ahora tiene efecto inmediato. La etiqueta del dispositivo por defecto también mostrará el dispositivo seleccionado.\n* **Corrección de ventana emergente de Mac.** Ahora, hacer doble clic en la barra de título de una ventana emergente hace que se maximice correctamente.   \n\n\nNuevas características {added marginTop}\n======================\n\n* **Hemos añadido la contracción sincronizada.** Algunas personas utilizan varios clientes de Discord en sus ordenadores y, cuando esas personas contraían y expandían categorías en sus servidores, el cambio no aparecía en todos los clientes. Ahora sí lo hace, extrañas y bellísimas personas multicliente.\n* **Hemos añadido la navegación por teclado en el selector de emojis** para proporcionar una mejor accesibilidad.\n* **Yyyyy más cosas sobre emojis.** Ahora pasar el ratón por encima de una reacción muestra una vista previa más grande del emoji. \n\nCorrecciones y actualizaciones {progress}\n======================\n\n* **Hemos añadido la paginación a la barra de búsqueda.** Ya no tenéis que navegar durante una eternidad por los resultados de búsqueda. Ahora podéis saltar de una página a otra para encontrar la prueba irrefutable que necesitáis contra vuestro amigo en un intento por demostrar inequívocamente que dijo una cosa hace unos 6 meses, pero que no recordáis, pero que podréis demostrar si os da un minuto para buscarla porque estáis seguros de que lo dijo.\n* **Cambiad a Pulsar para hablar (PPH) fácilmente.** Ahora, al entrar en un canal exclusivamente de PPH, aparecerá una ventana con la opción de cambiar a PPH. \n* **Errores de subida de archivos más específicos.** Ahora los errores de subida de archivos, como el filtro de contenido explícito, se mostrarán de forma más coherente.\n* **Nuevo estado de transmisión de voz.** Ahora vuestro estado de transmisión de voz, también conocido como «ese adorable circulito verde que aparece cuando habláis por el micro», también aparecerá en vuestro avatar de abajo a la izquierda mientras estéis en un chat de voz.\n\n\n---changelog---\ndate: "2021-06-21"\nlocale: "sv-SE"\nrevision: 1\nimage: "https://cdn.discordapp.com/attachments/677236002271526936/857671612651143178/7gFzadkQ.png"\n---\nFörbättrade videosamtal {added marginTop}\n======================\n\n* **Vi har reducerat CPU-användningen med mer än 50 % för videosamtal.** Nu kan fläktarna i din dator slappna av ...\n* **Vi har gjort gruppvideosamtalen smidigare, renare och stabilare.** Ta med upp till 25 vänner och testa. Eller, kanske mer realistiskt, upp till 3 vänner.\n* **Videokvaliteten styrs nu inte längre av den sämsta internetanslutningen.** Tidigare, när någon med ett långsammare nätverk gick med i ett gruppvideosamtal, fick alla i det samtalet sämre videokvalitet. Vi är stolta över att kunna meddela att det inte längre är på det viset. Ni kan sluta mobba folk för deras uråldriga internet.\n* **Nya upplösningsinställningar för skärmdelning.** Du kan nu välja en förinställd kvalitetsnivå för skärmdelning för bästa tittarupplevelse baserat på vad du gör. Detta omfattar spel, bättre läsbarhet av text och smidigare video.\n\n\nFörbättringar för Mac {added marginTop}\n======================\n\n* **Vi har lagt till ljud till skärmdelning på Mac-enheter!** Vissa inställningar krävs. Gå till *Inställningar > Röst & video > Skärmdelning* för att komma igång. Och ja, jag vet, *äntligen*. Kom inte och gnäll på mig om hur lång tid det tog. Jag har hand om uppdateringsmeddelanden, inget annat.\n* **Reducerad CPU-användning på Mac-enheter** för att det ska bli mindre resursintensivt att dela din skärm nu när du njuter av det härliga skärmdelningsljudet.  \n* **Ändring av standardljudet är nu fixat.** Ändring av standardinmatnings-/utmatningsenheten under ett samtal sätter nu igång omedelbart. Standardenheten markerar även vilken enhet som är vald.\n* **Fixade pop ut-fönster för Mac.** Genom att dubbelklicka på namnlisten för pop ut-fönster maximeras det som det ska.   \n\n\nNya funktioner {added marginTop}\n======================\n\n* **Vi ha lagt till minimeringssynkning.** De finns de som använder fler än en Discord-klient på sina datorer. När dessa användare minimerade och expanderade kategorier på sina servrar återspeglades inte dessa förändringar på alla klienter. Nu, alla ni underbart märkliga flerklientsmänniskor, så gör det det.\n* **Vi ha lagt till tangentbordsnavigering i emojiväljaren** för bättre tillgänglighet.\n* **Duuuu, mer emojigrejer!** Om du hovrar över en reaktion visas nu en större förhandsvisning av emojin. \n\nFixar och uppdateringar {progress}\n======================\n\n* **Vi har lagt till paginering till sökfältet.** Du behöver inte längre bläddra bland ändlösa sökresultat. Nu kan du hoppa mellan sidor för att hitta precis de bevis du behöver mot en kompis för att påpeka att hon eller han helt säkert sa en sak för sex månader sedan, men du kommer inte riktigt ihåg vad det var och behöver bara en minut för att hitta det som du lovar att hon eller han bergis sa.\n* **Växla till tryck-för-tal (PTT) utan problem.** När du går med i en endast-tryck-för-tal-kanal får du nu ett pop up-meddelande som ger dig möjlighet att växla till tryck-för-tal. \n* **Mer exakta filuppladdningsfel.** Filuppladdningsfel, så som filter för stötande innehåll, kommer nu att visas mer konsekvent.\n* **Ny röstsändningsstatus.** Din *röstsändningsstatus*, eller den konstiga lilla gröna cirkeln som visar att du pratar i mikrofonen, kommer nu att synas runt din avatar längst ner till vänster när du är i en röstkanal.\n\n\n---changelog---\ndate: "2021-06-21"\nlocale: "pt-BR"\nrevision: 1\nimage: "https://cdn.discordapp.com/attachments/677236002271526936/857671612651143178/7gFzadkQ.png"\n---\nMelhorias na Chamada de Vídeo {added marginTop}\n======================\n\n* **Reduzimos o uso da CPU em mais de 50% para chamadas de vídeo.** Assim, os ventiladores do seu computador podem ter um descanso…\n* **Deixamos as chamadas de vídeo em grupo mais suaves, claras e estáveis.** Chame 25 amigos ou mais e experimente. Ou, sendo mais realista, até 3 amigos.\n* **A qualidade do vídeo não é mais baseada na pior conexão com a internet.** Antes, quando uma pessoa com internet lenta se juntava à chamada, todo mundo recebia um vídeo de má qualidade. Bem, estamos orgulhosos em anunciar que não é mais assim. Vocês podem parar de zoar o Joãozinho pela internet a lenha dele.\n* **Novas configurações de resolução do compartilhamento de tela.** Agora você pode escolher o nível de qualidade da sua tela compartilhada baseado no que você está fazendo. Isso inclui jogos, melhor leitura de texto e vídeos mais suaves.\n\n\nMelhorias para o Mac {added marginTop}\n======================\n\n* **Adicionamos áudio para o compartilhamento de tela no Mac!** Algumas configurações serão necessárias. Para começar, vá para *Configuração > Voz e Vídeo > Compartilhamento de tela*. E sim, eu sei, *finalmente.* Por favor, não grite comigo sobre como isso demorou, eu só escrevo as notas de atualização.\n* **Uso da CPU no Mac reduzido** para assegurar que compartilhar sua tela use menos recursos, enquanto você aproveita o novo e maravilhoso compartilhamento tela com áudio.  \n* **Alteração da correção de áudio padrão agora está disponível.** Alterar o dispositivo de entrada/saída padrão durante uma chamada agora tem efeito imediato. A marcação do dispositivo padrão também exibirá qual dispositivo está selecionado.\n* **Consertamos os pop-ups no Mac** O duplo-clique na barra de título de um pop-up agora vai maximizá-lo corretamente.   \n\n\nNovos recursos {added marginTop}\n======================\n\n* **Adicionamos sincronização ao fechar.** Há pessoas por aí que usam múltiplos clientes Discord em seus computadores. E quando essas pessoas fechavam e abriam categorias em seus servidores, nem todos os clientes recebiam essa alteração. Agora recebem, queridas pessoas estranhas com muitos clientes.\n* **Adicionamos navegação pelo teclado no seletor de emojis** para uma melhor acessibilidade.\n* **Hããã mais coisa de emoji.** Passar o mouse pelas reações agora mostra prévias maiores do emoji. \n\n\nCorreções e atualizações {progress}\n======================\n\n* **Adicionamos paginação à barra de busca.** Você não vai mais precisar rolar infinitamente pelos resultados de busca. Agora você pode pular direto entre páginas para encontrar a prova concreta contra seu amigo, de que ele realmente disse isso, tipo, seis meses atrás, apesar de você não se lembrar direito, mas espera só um minuto para você ir procurar, porque ele disse isso sim e você pode provar.\n* **Mude para Aperte para Falar (APF) sem esforço.** Ao entrar em um canal que é apenas APF, você agora receberá um pop-up com a opção de mudar para APF. \n* **Erros ao enviar arquivos estão mais precisos.** Erros no envio de arquivos, como o filtro de conteúdo explícito, serão exibidos com mais consistência.\n* **Novo status de transmissão de voz.** Seu *status de transmissão de voz,* ou o circulozinho verde que mostra que você está falando no microfone, agora é visível na parte de baixo do seu avatar, à esquerda.\n\n\n---changelog---\ndate: "2021-06-21"\nlocale: "tr"\nrevision: 1\nimage: "https://cdn.discordapp.com/attachments/677236002271526936/857671612651143178/7gFzadkQ.png"\n---\nGörüntülü Arama Geliştirmeleri {added marginTop}\n======================\n\n* **Görüntülü aramalar esnasındaki işlemci kullanımını %50\'den fazla azalttık.** Bilgisayar fanların artık biraz dinlenebilir...\n* **Görüntülü grup aramalarını daha akıcı, temiz ve stabil hale getirdik.** 25 arkadaşını topla ve dene. Daha gerçekçi olmak gerekirse, 3 arkadaşını.\n* **Görüntü kalitesi artık en kötü internet bağlantısına göre ayarlanmıyor.** Önceden, yavaş bağlantıya sahip biri görüntülü grup aramasına katıldığında aramadaki herkesin görüntü kalitesi azalırdı. Bu durumun artık böyle olmadığını gururla duyuruyoruz. Arkadaşlarınızın çağdışı internetlerine laf atmayı bırakabilirsiniz.\n* **Yeni ekran paylaşımı çözünürlüğü ayarları.** Artık yaptığın işe en uygun görüntüleme deneyimini yaşamak adına ekran paylaşımı için önceden belirlenen bir kalite seviyesi seçebilirsin. Bunların içinde oyun, daha iyi metin okunurluğu ve daha akıcı video seçenekleri bulunur.\n\n\nMac Geliştirmeleri {added marginTop}\n======================\n\n* **Mac\'teki ekran paylaşımına ses eklendi!** Bu ufak bir kurulum gerektiriyor. *Ayarlar > Ses ve Görüntü > Ekran Paylaşımı* sekmesine gitmen gerekiyor. Evet, evet; *sonunda*. Niye bu kadar uzun sürdüğünü bana sorma, ben sadece güncelleme notlarını yazıyorum.\n* **Mac\'teki işlemci kullanımı azaldı.** Böylece ekran paylaşımın daha az kaynak gerektirecek ve sen de o güzelim sesli ekran paylaşımının tadını çıkarabileceksin.  \n* **Varsayılan ses aygıtını değiştirme sorununu çözdük.** Bir arama esnasında varsayılan ses giriş/çıkış aygıtını değiştirmek artık anında geçerli oluyor. Varsayılan cihaz etiketi de hangi cihazın seçili olduğunu gösterecek.\n* **Mac pencere modu sorununu çözdük.** Pencere modu başlığına çift tıklamak düzgün bir şekilde ekranı kaplamasını sağlayacak.   \n\n\nYeni Özellikler {added marginTop}\n======================\n\n* **Daraltma senkronizasyonu ekledik.** Bilgisayarlarında birden fazla Discord istemcisi çalıştıran bazı kişiler var. Bu kişiler sunucularındaki kategorileri daraltıp genişlettiğinde bu değişiklik tüm istemcilerde geçerli olmuyordu. Artık oluyor. Bizce hiç de tuhaf olmayan \\"çok istemci severler\\" sevinebilir.\n* **Emoji seçiciye klavye kısayolu ekledik.** Böylece erişilebilirliği arttırmış olduk.\n* **Iıı, yeni emoji zımbırtıları.** Artık imleci bir tepkinin üzerine getirmek emojinin önizlemesini daha genişçe gösteriyor. \n\n\nDüzeltmeler ve Güncellemeler {progress}\n======================\n\n* **Arama çubuğuna sayfalandırma ekledik.** Artık arama sonuçlarının içinde kaybolmana gerek kalmayacak. Böylece arkadaşının altı ay önce söylediğini iddia ettiğin, onun kesinlikle yalanladığı, ama tam hatırlamasan da senin yüzde yüz emin olduğun şey hakkındaki delili saniyeler içinde bulmak için sayfalar arasında hızlıca geçiş yapabilirsin.\n* **Bas-konuşa (PTT) kusursuzca geçiş yap.** Sadece bas-konuş kullanılan bir kanala girdiğinde bas-konuşa geçiş yapabilmen için bir pencere açılacak. \n* **Daha isabetli dosya yükleme hataları.** Sakıncalı içerik filtresi gibi dosya yükleme hataları artık daha tutarlı görünecek.\n* **Yeni ses aktarımı durumu.** *Ses aktarımı durumun*, yani mikronuna konuştuğunda görünen minik yeşil daire artık sesli sohbetteyken sol alttaki avatarının etrafında görünecek.\n\n\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=h(n(8)),a=h(n(3)),o=h(n(28)),i=h(n(2)),l=_(n(5829)),u=h(n(478)),s=_(n(5672)),d=h(n(71)),f=h(n(79)),c=h(n(12)),p=h(n(5826)),v=h(n(373)),y=n(1);function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function h(e){return e&&e.__esModule?e:{default:e}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var O="DetectedOffPlatformPremiumPerksStore",I={},T={},C=[];function b(){for(var e,t=!1,n=g(r.default.values(T));!(e=n()).done;){var a=e.value,o=a.skuId,i=a.applicationId;if(!C.includes(o)){var l=d.default.getGame(i);if(null!=l){var f=v.default.get(o);null!=f?p.default.applicationIdsFetching.has(l.id)||p.default.isEntitledToSku(c.default.getCurrentUser(),o,l.id,l.id)||!f.available?null!=I[o]&&(delete I[o],t=!0):(I[o]={skuId:o,applicationId:i},t=!0):v.default.isFetching(o)||v.default.didFetchingSkuFail(o)||s.fetchSKU(l.id,o)}else d.default.isFetching(i)||d.default.didFetchingFail(i)||u.default.fetchApplication(i)}}return t}var M=new(function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,E(t,n);var i=a.prototype;return i.initialize=function(){this.waitFor(f.default,v.default,p.default),C=o.default.get(O)||C},i.getDetectedOffPlatformPremiumPerks=function(){return r.default.values(I)},a}(a.default.Store))(i.default,{LOGOUT:function(e){return I={},void(T={})},SKU_FETCH_SUCCESS:function(e){return b()},ENTITLEMENT_FETCH_APPLICATION_SUCCESS:function(e){return b()},ENTITLEMENT_CREATE:function(e){return b()},APPLICATION_FETCH_SUCCESS:function(e){return b()},DETECTED_OFF_PLATFORM_PREMIUM_PERKS_DISMISS:function(e){var t=e.skuId;if(delete I[t],C.includes(t))return!1;C.push(t),o.default.set(O,C)},RUNNING_GAMES_CHANGE:function(e){return function(){for(var e,t=!1,n=g(f.default.getRunningGames());!(e=n()).done;){var r=e.value,a=r.id,o=r.distributor;if(null!=a&&o!==y.Distributors.DISCORD)for(var i,u=g(y.OFF_PLATFORM_PREMIUM_PERKS);!(i=u()).done;){var s=i.value,d=s.skuId,c=s.applicationId;c===a&&(C.includes(d)||null==T[d]&&(p.default.applicationIdsFetched.has(c)||p.default.applicationIdsFetching.has(c)||null!=p.default.getForSku(d)||l.fetchUserEntitlementsForApplication(c),T[d]={skuId:d,applicationId:c},t=!0))}}return t&&b(),t}()}});t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(3)),a=u(n(2)),o=u(n(97)),i=u(n(11)),l=u(n(70));n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=!1;var f=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(l.default,i.default)},a.isEligible=function(){return d},r}(r.default.Store))(a.default,{CONNECTION_OPEN:function(e){return d!==(d=l.default.getFriendIDs().length>=10&&o.default.extractTimestamp(i.default.getId())<Date.now()-15552e6)}});t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;c(n(5));var r=c(n(3)),a=c(n(28)),o=c(n(2)),i=n(9156),l=c(n(684)),u=c(n(15)),s=c(n(40)),d=c(n(12)),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v,y={hiddenSurveys:{},currentSurvey:null,iosIsPushNotificationClicked:!1,iosIsInviteShown:!1,iosFirstRunDate:a.default.get(f.FIRST_RUN_DATE_KEY)||null,lastFetched:null},m=y;!function(e){e.IS_OWNER="is_owner",e.IS_ADMIN="is_admin",e.IS_COMMUNITY="is_community",e.GUILD_SIZE="guild_size"}(v||(v={}));var _=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var a=r.prototype;return a.initialize=function(e){m=e||y},a.getState=function(){return m},a.getCurrentSurvey=function(){return m.currentSurvey},r}(r.default.PersistedStore);_.persistKey="SurveyStore";var h=new _(o.default,{CONNECTION_OPEN:function(e){var t;null!=m.lastFetched&&Date.now()-(null!==(t=m.lastFetched)&&void 0!==t?t:0)<864e5||(0,i.surveyFetch)()},SURVEY_FETCHED:function(e){var t=e.survey,n=m,r=n.hiddenSurveys;if(n.iosIsPushNotificationClicked,n.iosIsInviteShown,m.lastFetched=Date.now(),null!=t&&null==r[t.key]){if(!function(e){var t=e.guild_requirements,n=void 0===t?[]:t,r=e.guild_size,a=void 0===r?[null,null]:r;if(0===n.length)return!0;for(var o=0,i=Object.values(u.default.getGuilds());o<i.length;o++){var c=i[o];if(!n.includes(v.IS_COMMUNITY)||c.hasFeature(f.GuildFeatures.COMMUNITY)){var p=d.default.getCurrentUser(),y=(null==p?void 0:p.id)===c.ownerId,m=s.default.can(f.Permissions.ADMINISTRATOR,c);if((!n.includes(v.IS_OWNER)||y)&&(!n.includes(v.IS_ADMIN)||m)){if(n.includes(v.GUILD_SIZE)){var _=l.default.getMemberCount(c.id);if(null==_)continue;if(null!=a[0]&&_<a[0])continue;if(null!=a[1]&&_>a[1])continue}return!0}}}return!1}(t))return;0,m.currentSurvey=t}},SURVEY_HIDE:function(e){var t=e.key;m.hiddenSurveys[t]=!0,m.currentSurvey=null},PUSH_NOTIFICATION_CLICK:function(e){m.iosIsPushNotificationClicked=!0},DISPLAYED_INVITE_SHOW:function(e){m.iosIsInviteShown=!0},LOGOUT:function(e){m.hiddenSurveys={}}});t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=S;_(n(0));var r,a=n(3),o=y(n(8953)),i=_(n(8253)),l=y(n(10)),u=y(n(36)),s=_(n(8352)),d=y(n(278)),f=y(n(9712)),c=y(n(8958)),p=n(1),v=y(n(6));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e){var t=e.closePopout,n=e.onSelect,r=(0,a.useStateFromStores)([l.default,u.default],(function(){return l.default.getChannel(u.default.getChannelId())})),s=(0,a.useStateFromStoresObject)([c.default],(function(){return{everyoneFilter:c.default.everyoneFilter,roleFilter:c.default.roleFilter,guildFilter:c.default.guildFilter}})),d=s.everyoneFilter,f=s.roleFilter,y=s.guildFilter;return h(i.default,{navId:"mentions-filter","aria-label":v.default.Messages.FILTER,onClose:t,onSelect:n},void 0,h(i.MenuCheckboxItem,{id:"Everyone",label:v.default.Messages.RECENT_MENTIONS_FILTER_EVERYONE,action:function(){o.default.setGuildFilter({everyoneFilter:!d})},checked:d}),h(i.MenuCheckboxItem,{id:"Roles",label:v.default.Messages.RECENT_MENTIONS_FILTER_ROLES,action:function(){o.default.setGuildFilter({roleFilter:!f})},checked:f}),null==r||r.isPrivate()?null:h(i.MenuCheckboxItem,{id:"All Servers",label:v.default.Messages.RECENT_MENTIONS_FILTER_ALL_SERVERS,action:function(){o.default.setGuildFilter({guildFilter:y===p.RecentMentionsFilters.THIS_SERVER?p.RecentMentionsFilters.ALL_SERVERS:p.RecentMentionsFilters.THIS_SERVER})},checked:y===p.RecentMentionsFilters.ALL_SERVERS}))}E.displayName="FilterPopout";var g=h(f.default,{});function S(){return h(d.default,{align:d.default.Align.RIGHT,animation:d.default.Animation.NONE,position:d.default.Positions.BOTTOM,renderPopout:function(e){return h(E,{closePopout:e.closePopout})}},void 0,(function(e){var t=e.onClick;return h(s.default,{tooltip:v.default.Messages.FILTER,color:s.CircleIconButtonColors.SECONDARY,icon:g,onClick:t})}))}S.displayName="RecentMentionsFilterButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,fill:"none"}),s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.33331 1.33331C3.78103 1.33331 3.33331 1.78103 3.33331 2.33331V9.99998H2.33331C1.78103 9.99998 1.33331 10.4477 1.33331 11C1.33331 11.5523 1.78103 12 2.33331 12H3.33331V13.6666C3.33331 14.2189 3.78103 14.6666 4.33331 14.6666C4.8856 14.6666 5.33331 14.2189 5.33331 13.6666V12H6.33331C6.8856 12 7.33331 11.5523 7.33331 11C7.33331 10.4477 6.8856 9.99998 6.33331 9.99998H5.33331V2.33331C5.33331 1.78103 4.8856 1.33331 4.33331 1.33331ZM10.6666 2.33331C10.6666 1.78103 11.1144 1.33331 11.6666 1.33331C12.2189 1.33331 12.6666 1.78103 12.6666 2.33331V3.99998H13.6666C14.2189 3.99998 14.6666 4.44769 14.6666 4.99998C14.6666 5.55226 14.2189 5.99998 13.6666 5.99998H12.6666V13.6666C12.6666 14.2189 12.2189 14.6666 11.6666 14.6666C11.1144 14.6666 10.6666 14.2189 10.6666 13.6666V5.99998H9.66665C9.11436 5.99998 8.66665 5.55226 8.66665 4.99998C8.66665 4.44769 9.11436 3.99998 9.66665 3.99998H10.6666V2.33331Z",fill:d,className:f}))}d.displayName="Filter"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=D;var r,a=P(n(0)),o=N(n(9)),i=N(n(66)),l=n(680),u=n(3),s=N(n(2)),d=N(n(105)),f=N(n(29)),c=N(n(151)),p=N(n(8952)),v=N(n(47)),y=N(n(24)),m=n(468),_=N(n(13)),h=n(121),E=N(n(9714)),g=N(n(8962)),S=P(n(8963)),O=N(n(9715)),I=P(n(8668)),T=N(n(8954)),C=n(1),b=N(n(6)),M=N(n(7652));function N(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function P(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function R(){return(R=Object.assign||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}).apply(this,arguments)}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function D(e){var t=e.setTab,n=e.onJump,r=e.showTutorial,f=e.setSeenTutorial,v=e.closePopout,y=a.useRef(null),N=(0,I.default)(y),A=N[0],P=N[1],D=A.loadState,w=A.channels,k=P.maybeLoadMore,U=P.markAllRead;!function(e,t,n){a.useLayoutEffect((function(){var r,a=t.scrollToChannelIndex;n.clearScrollToChannelIndex();var o=e.current;if(null!=o&&null!=a){var i=null===(r=o.getScrollerNode())||void 0===r?void 0:r.children;if(null!=i){var l=i[a];if(null!=l){var u=o.getScrollerState(),s=u.scrollTop,d=s+u.scrollHeight;(l.offsetTop<s||l.offsetTop>d)&&o.scrollTo({to:l.offsetTop})}}}}))}(y,A,P),function(e,t){a.useEffect((function(){var n=function(){var n=e.channels.find((function(e){return!e.collapsed}));null!=n&&t.markChannelRead(n)};return h.ComponentDispatch.subscribe(C.ComponentActions.MARK_TOP_INBOX_CHANNEL_READ,n),function(){h.ComponentDispatch.unsubscribe(C.ComponentActions.MARK_TOP_INBOX_CHANNEL_READ,n)}}),[t,e.channels])}(A,P),a.useEffect((function(){_.default.track(C.AnalyticEvents.OPEN_POPOUT,{type:"Inbox"})}),[]),a.useEffect((function(){return s.default.subscribe(C.ActionTypes.CONNECTION_OPEN,v),function(){s.default.unsubscribe(C.ActionTypes.CONNECTION_OPEN,v)}}),[v]);var G,F=(0,u.useStateFromStores)([d.default],(function(){return d.default.messageGroupSpacing})),B=(0,T.default)("unreads",y);if(0===w.length)return L("div",{className:M.default.container},void 0,L(S.default,{tab:S.Tab.Unreads,setTab:t}),L(g.default,{Icon:p.default,header:b.default.Messages.UNREADS_EMPTY_STATE_HEADER,tip:"OS X"===(null===(G=i.default.os)||void 0===G?void 0:G.family)?b.default.Messages.UNREADS_EMPTY_STATE_TIP_MAC:b.default.Messages.UNREADS_EMPTY_STATE_TIP}));var H=L(j,{setSeenTutorial:f});return L("div",{className:(0,o.default)(M.default.container,"group-spacing-"+F),"aria-label":b.default.Messages.UNREADS_TAB_LABEL},void 0,L(S.default,{tab:S.Tab.Unreads,setTab:t},void 0,L(E.default,{onClick:U})),L(l.ListNavigatorProvider,{navigator:B},void 0,L(l.ListNavigatorContainer,{},void 0,(function(e){var t=e.ref,o=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["ref"]);return a.createElement(m.AdvancedScrollerThin,R({ref:function(e){var n;y.current=e,t.current=null!==(n=null==e?void 0:e.getScrollerNode())&&void 0!==n?n:null}},o,{onScroll:D===I.LoadState.Done?void 0:k,className:M.default.scroller}),r?H:null,(0,O.default)(w,P,n),D===I.LoadState.Done?null:L(c.default,{className:M.default.spinner}))}))))}D.displayName="UnreadMessages";var w=L(p.default,{width:24,height:24});function j(e){var t=e.setSeenTutorial;return L("div",{className:M.default.tutorial},void 0,L("div",{className:M.default.tutorialIcon},void 0,w),L("div",{},void 0,L(v.default,{className:M.default.tutorialHeader,size:v.default.Sizes.SIZE_16},void 0,b.default.Messages.UNREADS_TUTORIAL_HEADER),L(y.default,{color:y.default.Colors.HEADER_SECONDARY,size:y.default.Sizes.SIZE_14},void 0,b.default.Messages.UNREADS_TUTORIAL_BODY),L(f.default,{className:M.default.tutorialButton,onClick:t,size:f.default.Sizes.SMALL},void 0,b.default.Messages.TUTORIAL_CLOSE)))}j.displayName="Tutorial"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.onClick,n=a.useState(!1),r=n[0],i=n[1],l=function(){t(),s.default.track(d.AnalyticEvents.INBOX_CHANNEL_ACKED,{marked_all_channels_as_read:!0,num_unread_channels_remaining:0})};return a.createElement(a.Fragment,null,r?y(_,{confirm:l,cancel:function(){return i(!1)}}):null,y(o.default,{tooltip:f.default.Messages.UNREADS_MARK_READ,color:o.CircleIconButtonColors.SECONDARY,icon:m,onClick:function(e){e.shiftKey?l():i(!0)}}))};var r,a=v(n(0)),o=v(n(8352)),i=c(n(8964)),l=n(466),u=c(n(24)),s=c(n(13)),d=n(1),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=y(i.default,{});function _(e){var t=e.cancel,n=e.confirm;return y(l.DeclarativeConfirmModal,{dismissable:!0,header:f.default.Messages.UNREADS_CONFIRM_MARK_ALL_READ_HEADER,confirmText:f.default.Messages.MARK_AS_READ,cancelText:f.default.Messages.CANCEL,onCancel:t,onConfirm:n},void 0,y(u.default,{color:u.default.Colors.STANDARD},void 0,f.default.Messages.UNREADS_CONFIRM_MARK_ALL_READ_DESCRIPTION))}_.displayName="ConfirmDeleteModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=t.markChannelRead,d=t.markGuildRead,f=t.deleteChannel,p=t.toggle,v=t.getNumUnreadChannels,y=null;return a.default.flatMap(e,(function(e){var t=e.sortOrder!==y;y=e.sortOrder;var a=[];return t&&(e.hasLoadedAnything&&e.sortOrder===l.SortOrder.ReallyOldChannel?a.push(c(o.default,{className:s.default.divider,contentClassName:s.default.dividerContent},"old-divider",u.default.Messages.UNREADS_OLD_CHANNELS_DIVIDER)):e.hasLoadedAnything&&e.sortOrder===l.SortOrder.NoNotifications&&a.push(c(o.default,{className:s.default.divider,contentClassName:s.default.dividerContent},"disabled-divider",u.default.Messages.UNREADS_NO_NOTIFICATIONS_DIVIDER))),a.push(c(i.default,{channel:e,markChannelRead:r,markGuildRead:d,toggle:p,deleteChannel:f,onJump:n,getNumUnreadChannels:v},e.channelId)),a}))};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=d(n(8)),o=d(n(8472)),i=d(n(9716)),l=n(8668),u=d(n(6)),s=d(n(7651));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=N(n(0)),o=b(n(9)),i=n(122),l=n(3),u=b(n(2)),s=n(8321),d=n(106),f=b(n(8965)),c=n(42),p=b(n(10)),v=N(n(8352)),y=b(n(61)),m=b(n(149)),_=b(n(683)),h=b(n(372)),E=b(n(8964)),g=b(n(9717)),S=b(n(8960)),O=b(n(9720)),I=n(1),T=b(n(6)),C=b(n(7650));function b(e){return e&&e.__esModule?e:{default:e}}function M(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return M=function(){return e},e}function N(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=M();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function A(){return(A=Object.assign||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}).apply(this,arguments)}function P(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function R(e){var t=e.channel,n=e.deleteChannel,r=a.useRef(null),o=a.useState([0,0]),l=o[0],u=l[0],s=l[1],d=o[1],f=t.deleted&&u>0;if(t.deleted&&0===u&&null!=r.current){var c=r.current.offsetHeight,p=r.current.offsetTop,v=r.current.parentElement.scrollTop;d([c,c-(v>p?c-(v-p):c)])}var y=(0,i.useSpring)({config:{clamp:!0,friction:18,tension:200},opacity:f?0:1,size:f?0:1,onRest:function(){n(t.channelId)}}),m={opacity:y.opacity,height:y.size.to((function(e){return f?function(e,t,n){return t+(e-t)*n}(u,s,e):"auto"}))};return a.createElement(i.animated.div,{ref:r,style:m},a.createElement(w,e))}R.displayName="AnimatedUnreadChannel";var L=a.memo(R);function D(e){var t=e.channel,n=e.onJump,r=e.deleteChannel,o=e.toggle,i=(0,l.useStateFromStores)([p.default],(function(){return p.default.getChannel(t.channelId)}));if(a.useEffect((function(){null==i||!t.isFullyLoaded||t.hasError||t.collapsed||0!==t.messages.length||u.default.wait((function(){(0,s.ack)(t.channelId,!0),r(t.channelId)}))})),null==i)return null;if(!t.hasLoadedAnything)return null;var f=function(e,r){(0,d.trackWithMetadata)(I.AnalyticEvents.INBOX_CHANNEL_CLICKED,{channel_id:t.channelId,guild_id:t.guildId}),(0,c.transitionTo)(I.Routes.CHANNEL(t.guildId||I.ME,t.channelId,r||t.oldestUnreadMessageId)),n(e)};return P("div",{className:C.default.channel},void 0,P(S.default,{channel:i,gotoChannel:f,mentionCount:t.mentionCount,toggleCollapsed:o,channelState:t},void 0,P(g.default,{channel:i}),a.createElement(U,e),a.createElement(F,e)),t.collapsed?null:P(O.default,{channel:t,channelRecord:i,gotoChannel:f}))}t.default=L,D.displayName="UnreadChannel";var w=a.memo(D),j=P(E.default,{width:16,height:16}),k=P(h.default,{width:16,height:16});function U(e){var t=e.channel,n=e.markChannelRead,r=e.markGuildRead,a=e.getNumUnreadChannels,o=(0,f.default)()&&null!=t.guildId;return P(v.default,{className:C.default.markReadButton,tooltip:o?T.default.Messages.MARK_GUILD_AS_READ:T.default.Messages.MARK_AS_READ,color:v.CircleIconButtonColors.TERTIARY,icon:o?j:k,onClick:function(){o&&null!=t.guildId?r(t.guildId):n(t),(0,d.trackWithMetadata)(I.AnalyticEvents.INBOX_CHANNEL_ACKED,{channel_id:t.channelId,guild_id:t.guildId,marked_all_channels_as_read:!1,num_unread_channels_remaining:a()-1})}})}U.displayName="MarkReadButton";var G=P(_.default,{width:16,height:16});function F(e){var t=e.channel,n=e.toggle,r=e.getNumUnreadChannels;function i(){n(t),(0,d.trackWithMetadata)(I.AnalyticEvents.INBOX_CHANNEL_COLLAPSED,{channel_id:t.channelId,guild_id:t.guildId,num_unread_channels_remaining:r(),is_now_collapsed:!t.collapsed})}return P(m.default,{text:T.default.Messages.COLLAPSE},void 0,(function(e){var n;return a.createElement(y.default,A({},e,{className:(0,o.default)(C.default.collapseButton,(n={},n[C.default.collapsed]=t.collapsed,n)),onClick:i}),G)}))}F.displayName="CollapseButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;p(n(0));var r,a=p(n(8352)),o=f(n(278)),i=f(n(8666)),l=f(n(9718)),u=f(n(9719)),s=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=v(i.default,{width:16,height:16});function m(e){var t=e.channel;return v(o.default,{align:o.default.Align.RIGHT,animation:o.default.Animation.NONE,position:o.default.Positions.BOTTOM,renderPopout:function(){return t.isThread()?v(u.default,{channel:t,location:{section:s.AnalyticsSections.INBOX}}):v(l.default,{channel:t,location:{section:s.AnalyticsSections.INBOX}})}},void 0,(function(e){var t=e.onClick;return v(a.default,{tooltip:d.default.Messages.NOTIFICATION_SETTINGS,color:a.CircleIconButtonColors.TERTIARY,icon:y,onClick:t})}))}m.displayName="NotificationSettingsButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;p(n(0));var r,a=n(3),o=n(389),i=f(n(8399)),l=f(n(8966)),u=p(n(8253)),s=f(n(15)),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e){var t=e.channel,n=e.location,r=e.onSelect,f=(0,a.useStateFromStores)([s.default],(function(){return s.default.getGuild(t.guild_id)})),c=(0,i.default)(t,n),p=(0,l.default)(f,n);return v(u.default,{navId:"recents-notifications",onClose:o.closeContextMenu,"aria-label":d.default.Messages.RECENTS_NOTIFICATIONS_MENU_LABEL,onSelect:r},void 0,v(u.MenuGroup,{},void 0,c),v(u.MenuGroup,{},void 0,p))}y.displayName="RecentsNotificationSettingsContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;c(n(0));var r,a=n(389),o=c(n(8253)),i=d(n(8265)),l=n(392),u=n(8473),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.channel,n=e.onSelect,r=(0,u.useThreadNotificationSetting)(t);return p(o.default,{navId:"recents-thread-notifications",onClose:a.closeContextMenu,"aria-label":s.default.Messages.RECENTS_NOTIFICATIONS_MENU_LABEL,onSelect:n},void 0,(0,l.getThreadNotificationOptions)().map((function(e){var n=e.setting,l=e.label;return p(o.MenuRadioItem,{group:"thread-notifications",id:""+n,label:l,action:function(){i.default.setNotificationSetting(t,n),(0,a.closeContextMenu)()},checked:n===r},n)})))}v.displayName="RecentsThreadNotificationSettingsContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=P;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=I(n(5)),i=n(680),l=n(3),u=I(n(88)),s=I(n(8590)),d=I(n(8667)),f=I(n(9721)),c=I(n(40)),p=I(n(39)),v=I(n(29)),y=I(n(151)),m=I(n(8472)),_=n(1161),h=I(n(8959)),E=n(8668),g=n(1),S=I(n(6)),O=I(n(7649));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(){return(C=Object.assign||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}).apply(this,arguments)}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var M={left:4,right:-12};function N(e){var t,n=e.channel,r=e.message,o=e.compact,l=e.isGroupStart,s=(0,i.useListItem)(null!==(t=r.id)&&void 0!==t?t:""),d=a.useCallback((function(e){var t;"ArrowLeft"===e.key&&(null===(t=document.querySelector('[data-recents-channel="'+n.id+'"]'))||void 0===t||t.focus())}),[n.id]);return b(u.default,{offset:M},void 0,a.createElement("div",C({className:O.default.messageContainer,key:r.id,onKeyDown:d},s),b(h.default,{guildId:n.guild_id,message:r,className:O.default.jumpButton}),b(f.default,{id:r.id,message:r,channel:n,className:O.default.message,compact:o,animateAvatar:!1,isGroupStart:l,onKeyDown:d})))}N.displayName="UnreadMessage";var A=b(y.default,{},"spinner");function P(e){var t=e.channel,n=e.channelRecord,r=e.gotoChannel,a=(0,l.useStateFromStores)([p.default],(function(){return p.default.messageDisplayCompact})),i=(0,l.useStateFromStores)([c.default],(function(){return c.default.can(g.Permissions.CREATE_INSTANT_INVITE,n)})),u=0===t.messages.length||t.messages[0].timestamp.isSame((0,o.default)(),"day"),f=[];if(!t.collapsed){var y=null,h=null,I=t.messages.slice(0,E.MAX_SHOWN_MESSAGES);I.forEach((function(e){if(!(0,s.default)(e,i)){if(!(u||null!=y&&y.isSame(e.timestamp,"day"))){var t=(0,_.dateFormat)(e.timestamp,"LL");f.push(b(m.default,{className:O.default.divider},t,t)),y=e.timestamp}var r=null==h||(0,d.default)(h,e);h=e,f.push(b(N,{channel:n,message:e,compact:a,isGroupStart:r},e.id))}})),t.messages.length>=E.MAX_SHOWN_MESSAGES&&f.push(b(v.default,{color:v.default.Colors.LINK,look:v.default.Looks.LINK,onClick:function(e){return r(e,I[I.length-1].id)}},"view-all",S.default.Messages.UNREADS_VIEW_CHANNEL," ›")),0===f.length&&(f=[A])}return b("div",{className:O.default.messages},void 0,f)}P.displayName="UnreadChannelMessages"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=R(n(0)),o=A(n(9)),i=n(3),l=A(n(105)),u=R(n(706)),s=n(1209),d=A(n(10)),f=A(n(70)),c=A(n(39)),p=A(n(255)),v=A(n(8424)),y=A(n(8266)),m=n(99),_=A(n(685)),h=A(n(682)),E=n(8831),g=A(n(8497)),S=A(n(8652)),O=A(n(8653)),I=A(n(8654)),T=A(n(8931)),C=n(1),b=A(n(6)),M=A(n(7379)),N=A(n(7343));function A(e){return e&&e.__esModule?e:{default:e}}function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function D(){return(D=Object.assign||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}).apply(this,arguments)}function w(e){var t,n=e.channel,r=e.message,p=e.compact,y=void 0!==p&&p,b=e.className,M=e.onContextMenu,A=e.onClick,P=e.disableInteraction,R=void 0!==P&&P,j=e.hasThread,U=C.MessageTypesWithLazyLoadedReferences.has(r.type)?r.messageReference:void 0,G=(0,i.useStateFromStores)([u.default],(function(){return u.default.getMessageByReference(U)})),F=(0,i.useStateFromStores)([d.default],(function(){return r.type===C.MessageTypes.THREAD_STARTER_MESSAGE&&G.state===u.ReferencedMessageState.LOADED?d.default.getChannel(G.message.channel_id):null})),B=(0,i.useStateFromStoresObject)([l.default,c.default],(function(){var e=c.default.inlineAttachmentMedia,t=c.default.gifAutoPlay,n=c.default.renderEmbeds,r=c.default.inlineEmbedMedia,a=c.default.renderReactions,o=l.default.useReducedMotion;return{gifAutoPlay:t&&!o,renderEmbeds:n,inlineAttachmentMedia:e,inlineEmbedMedia:r,renderReactions:a}})),H=(0,g.default)(r,B.inlineEmbedMedia&&B.renderEmbeds),x=H.content,V=H.hasSpoilerEmbeds,W=(0,h.default)(r),Y=(0,s.useCanSeeThreads)(),z=(0,i.useStateFromStores)([d.default],(function(){return r.hasFlag(C.MessageFlags.HAS_THREAD)&&d.default.getChannel(r.id)}));return r.type===C.MessageTypes.THREAD_STARTER_MESSAGE&&G.state===u.ReferencedMessageState.LOADED&&null!=F?a.createElement(w,D({},e,{message:G.message,channel:F,hasThread:!1})):f.default.isBlocked(r.author.id)?L(k,{className:b,compact:y,count:1}):L(v.default,{compact:y,className:(0,o.default)(b,(t={},t[N.default.ephemeral]=(0,m.hasFlag)(r.flags,C.MessageFlags.EPHEMERAL),t[N.default.disableInteraction]=R,t[N.default.groupStart]=e.isGroupStart,t)),childrenRepliedMessage:(0,T.default)(r,U,G,y),childrenHeader:(0,O.default)(D({},e,{author:W,guildId:n.guild_id})),childrenAccessories:a.createElement(E.MessageAccessories,D({},B,{channel:n,message:r,hasSpoilerEmbeds:V,compact:y,canSuppressEmbeds:!1,canDeleteAttachments:!1,disableReactionReads:!1,disableReactionCreates:!1,disableReactionUpdates:!1,renderThreadAccessory:j,renderComponentAccessory:!1})),childrenMessageContent:(0,S.default)(e,x),childrenSystemMessage:(0,I.default)(e),onContextMenu:M,onClick:A,hasThread:Y&&!1!==j&&null!=z&&r.hasFlag(C.MessageFlags.HAS_THREAD),hasReply:r.type===C.MessageTypes.REPLY,isSystemMessage:(0,_.default)(r)})}w.displayName="InboxMessage";var j=a.memo(w);function k(e){var t=e.className,n=e.count,r=e.compact;return L(v.default,{className:t,compact:r,role:"group",childrenMessageContent:L(y.default,{compact:r,className:M.default.blockedSystemMessage,iconNode:L(p.default,{className:M.default.blockedIcon})},void 0,L("div",{className:M.default.blockedMessageText},void 0,b.default.Messages.BLOCKED_MESSAGE_COUNT.format({count:n})))})}t.default=j,k.displayName="BlockedItemMessage"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){switch(e){case i.ActivityTypes.PLAYING:return r.default;case i.ActivityTypes.WATCHING:return o.default;default:return a.default}};var r=l(n(8762)),a=l(n(9157)),o=l(n(9158)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=A(n(705)),i=n(389),l=A(n(132)),u=n(364),s=A(n(9724)),d=n(8671),f=n(196),c=n(140),p=n(484),v=A(n(1379)),y=A(n(8322)),m=A(n(8264)),_=A(n(8268)),h=A(n(11)),E=A(n(15)),g=A(n(40)),S=A(n(80)),O=A(n(278)),I=A(n(149)),T=A(n(8670)),C=n(121),b=n(1),M=A(n(6)),N=A(n(7655));function A(e){return e&&e.__esModule?e:{default:e}}function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function D(){return(D=Object.assign||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}).apply(this,arguments)}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var k=function(e){var t,n,r,d,A;function P(){for(var t,n=arguments.length,r=new Array(n),d=0;d<n;d++)r[d]=arguments[d];return(t=e.call.apply(e,[this].concat(r))||this).domElementRef=a.createRef(),t.state={userPopoutOpen:!1},t.handleClickUser=function(){t.setState({userPopoutOpen:!t.state.userPopoutOpen})},t.handleCloseUserPopout=function(){t.setState({userPopoutOpen:!1})},t.handleHidePreview=function(){var e=t.props,n=e.hidePreview,r=e.isStreaming,a=e.user;r&&(null==n||n(a.id))},t.handleMouseEnter=function(){var e=t.props,n=e.user,r=e.showPreview;e.isStreaming&&(null==r||r(n.id))},t.handleWatchStream=function(){var e=t.props,n=e.user,r=e.channel,a=e.isWatching,i=e.hidePreview;if(t.canWatchStream){var s={streamType:f.StreamTypes.GUILD,ownerId:n.id,channelId:r.id,guildId:r.guild_id};h.default.getId()!==n.id&&l.default.selectVoiceChannel(r.id),a?((0,v.default)(s),o.default.selectParticipant(s.channelId,(0,c.encodeStreamKey)(s))):(0,u.watchStreamAndTransitionToStream)(s),C.ComponentDispatch.dispatch(b.ComponentActions.POPOUT_CLOSE),null==i||i(n.id)}},t.handleUserContextMenu=function(e){var n=t.props,r=n.channel,o=n.user;(0,i.openContextMenu)(e,(function(e){return a.createElement(y.default,D({},e,{user:o,guildId:r.guild_id,channelId:r.id,showMediaItems:!0,showStageChannelItems:r.isGuildStageVoice()}))}))},t.renderUserPopout=function(e){var n=t.props,r=n.channel,o=n.user,i=r.getGuildId();return a.createElement(_.default,D({userId:o.id,guildId:null!=i?i:void 0,channelId:r.id},e))},t.renderStreamPopout=function(){var e=t.props,n=e.user,r=e.channel,a=e.previewIsOpen;return L(s.default,{user:n,channel:r,onWatch:t.handleWatchStream,canWatch:t.canWatchStream,previewIsOpen:a})},t.renderUser=function(e){var n=t.props,r=n.isSelfOnOtherClient,o=n.shouldShowPreview,i=n.mute,l=n.localMute,u=n.localVideoDisabled,s=n.speaking,d=n.user,f=n.deaf,c=n.priority,p=n.collapsed,v=n.isStreaming,y=n.nick,m=n.video,_=n.serverMute,h=n.serverDeaf,E=n.tabIndex,g=n.embeddedActivityType,S=n.embeddedApplication,C=n.channel,b=t.state.userPopoutOpen,N={user:d,speaking:s,mute:i,localMute:l,localVideoDisabled:u,isStreaming:v,video:m,priority:c,deaf:f,nick:y,collapsed:p,serverMute:_,serverDeaf:h,tabIndex:E,embeddedActivityType:g,embeddedApplication:S,disabled:r,selected:b,onClick:t.handleClickUser,onDoubleClick:t.handleWatchStream,onContextMenu:t.handleUserContextMenu,guildId:C.guild_id};return r?L(I.default,{text:M.default.Messages.CONNECTED_ON_ANOTHER_CLIENT},void 0,(function(e){e.onClick,e.onContextMenu;var t=R(e,["onClick","onContextMenu"]);return a.createElement(T.default,D({},N,t))})):L(O.default,{position:O.default.Positions.RIGHT,renderPopout:t.renderStreamPopout,shouldShow:o&&!b,onRequestClose:t.handleHidePreview,spacing:0},void 0,(function(){return a.createElement(T.default,D({},N,{onMouseDown:e.onMouseDown,onKeyDown:e.onKeyDown}))}))},t}return n=e,(t=P).prototype=Object.create(n.prototype),t.prototype.constructor=t,j(t,n),P.prototype.render=function(){var e=this,t=this.state.userPopoutOpen,n=this.props,r=n.connectUserDragSource,a=n.canDrag,o=n.isSelfOnOtherClient,i=n.user,l=n.channel,u=L("div",{className:N.default.draggable,onMouseEnter:o?void 0:this.handleMouseEnter,onMouseLeave:o?void 0:this.handleHidePreview},void 0,L(O.default,{preload:function(){return(0,m.default)(i.id,i.getAvatarURL(l.guild_id))},position:O.default.Positions.RIGHT,renderPopout:this.renderUserPopout,shouldShow:t,onRequestClose:this.handleCloseUserPopout},void 0,(function(t){return e.renderUser(t)})));return a?r(u):u},r=P,(d=[{key:"canWatchStream",get:function(){var e=this.props,t=e.channel;return e.isStreaming&&(0,p.canWatchStream)(t,S.default,E.default,g.default)}}])&&w(r.prototype,d),A&&w(r,A),P}(a.PureComponent);k.displayName="VoiceUser",k.defaultProps={isSelfOnOtherClient:!1};var U=(0,d.makeVoiceUserDraggable)(k);t.default=U},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=C(n(0)),o=I(n(9)),i=I(n(3)),l=C(n(8556)),u=I(n(8298)),s=I(n(8600)),d=n(726),f=I(n(9725)),c=I(n(163)),p=I(n(11)),v=I(n(256)),y=I(n(61)),m=I(n(8525)),_=I(n(24)),h=I(n(13)),E=I(n(8935)),g=n(1),S=I(n(6)),O=I(n(7654));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var N=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,M(t,n);var a=r.prototype;return a.componentDidMount=function(){var e=this.props,t=e.user,n=e.streamApplication;h.default.track(g.AnalyticEvents.OPEN_POPOUT,{type:"Stream Preview",other_user_id:t.id,application_id:null!=n?n.id:null,application_name:null!=n?n.name:null,game_id:null!=n?n.id:null,is_streaming:!0})},a.renderPreview=function(e){var t=this.props,n=t.onWatch,r=t.activeStream,a=t.currentUserId,o=t.canWatch;return b(y.default,{onClick:n,className:O.default.previewContainer},void 0,b(E.default,{className:O.default.previewImage,stream:e}),o?b("div",{className:O.default.previewHover},void 0,b(_.default,{size:_.default.Sizes.SIZE_14,color:_.default.Colors.CUSTOM,className:O.default.white},void 0,(0,f.default)(e,r,a))):null)},a.render=function(){var e,t=this.props,n=t.activity,r=t.user,a=t.stream,i=t.previewIsOpen;return null==a?null:b("div",{className:(0,o.default)(O.default.streamPreviewWrapper,(e={},e[O.default.mounted]=i,e))},void 0,b("div",{className:O.default.streamPreview},void 0,this.renderPreview(a),b("div",{className:O.default.body},void 0,null!=n?b(l.default,{hideHeader:!0,type:l.UserActivityTypes.STREAM_PREVIEW,activity:n,user:r,guildId:a.guildId,channelId:a.channelId,actionColor:O.default.watchButton}):b(s.default,{type:l.UserActivityTypes.STREAM_PREVIEW,applicationStream:a,user:r,guildId:a.guildId,channelId:a.channelId,className:O.default.activityActions,color:O.default.watchButton}),b(m.default,{type:m.default.Types.INLINE,className:O.default.protip},void 0,__OVERLAY__?S.default.Messages.WATCH_STREAM_IN_APP:S.default.Messages.WATCH_STREAM_TIP))))},r}(a.PureComponent);N.displayName="StreamPreviewPopout";var A=i.default.connectStores([v.default,c.default,p.default],(function(e){var t=e.user,n=c.default.getStreamForUser(t.id);return{user:t,streamApplication:(0,d.getStreamerApplication)(n,v.default),stream:n,activeStream:c.default.getActiveStreamForApplicationStream(n),currentUserId:p.default.getId(),activity:(0,d.getStreamerActivity)(n,v.default)}}))((0,u.default)((function(e){var t,n=e.channel,r=e.user;return(t={})[n.guild_id]=[r.id],t}))(N));t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(null==t||t.state===o.ApplicationStreamStates.ENDED||(0,a.encodeStreamKey)(t)!==(0,a.encodeStreamKey)(e))return i.default.Messages.WATCH_STREAM;if(t.ownerId===n)return i.default.Messages.WATCH_STREAM_STREAMING;return i.default.Messages.WATCH_STREAM_WATCHING};var r,a=n(140),o=n(1),i=(r=n(6))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=e.background,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground","background"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,d:"M21.178 1.70703L22.592 3.12103L4.12103 21.593L2.70703 20.178L21.178 1.70703Z"}),s("path",{className:c,fill:d,d:"M18 10.5283L10.5287 18H21V17C19.344 17 18 15.657 18 14V10.5283Z"}),s("path",{className:c,fill:d,d:"M8.957 19.5718L9.52877 19H15.4449C14.7519 20.19 13.4759 21 11.9999 21C10.7748 21 9.68752 20.442 8.957 19.5718Z"}),s("path",{className:c,fill:d,d:"M12 3C13.417 3 14.71 3.5 15.734 4.321L5.99805 14.058C5.99805 14.0479 5.99856 14.038 5.99907 14.0283C5.99956 14.0188 6.00005 14.0094 6.00005 14V9C6.00005 5.686 8.68605 3 12 3Z"}))}d.displayName="BellOff"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=a.useState(!1),r=n[0],u=n[1],d=a.useState(null),f=d[0],c=d[1];return{loading:r,error:f,onSave:function(){var n,r=(n=regeneratorRuntime.mark((function n(r){var a,s,d,f,p,v,y,m,_,h,E;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(a=r.topic,s=r.privacyLevel,d=r.description,f=r.schedule,p=r.ticket,""!==a&&null!=s&&null!=f){n.next=3;break}return n.abrupt("return");case 3:if(v=null!=p&&null==p.priceTier,null!=f.startDate&&!v){n.next=6;break}return n.abrupt("return");case 6:return u(!0),c(null),n.prev=8,m={name:a,description:d,privacyLevel:s,channelId:e.id,scheduledStartTime:f.startDate.toISOString(),scheduledEndTime:null===(y=f.endDate)||void 0===y?void 0:y.toISOString(),entityType:l.GuildScheduledEventEntityTypes.STAGE_INSTANCE},null!=p&&null!=(null==p?void 0:p.priceTier)&&(_=p.priceTier,h=p.color,m.tickets=[{priceTier:_,color:h}]),n.next=13,i.default.createGuildEvent(e.guild_id,m);case 13:t(),n.next=21;break;case 16:n.prev=16,n.t0=n.catch(8),E=new o.APIError(n.t0),c(E),u(!1);case 21:case"end":return n.stop()}}),n,null,[[8,16]])})),function(){var e=this,t=arguments;return new Promise((function(r,a){var o=n.apply(e,t);function i(e){s(o,r,a,i,l,"next",e)}function l(e){s(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(e){return r.apply(this,arguments)}}()}};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(275),i=(r=n(8493))&&r.__esModule?r:{default:r},l=n(8423);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,d:"M13.5605 11L11.2646 8.706L12.6842 7.294L17.4023 12.009L12.6822 16.708L11.2656 15.292L13.5685 13H2C2.50429 18.045 6.7842 22 11.9744 22C17.5025 22 22 17.513 22 12C22 6.487 17.5025 2 11.9744 2C6.7842 2 2.50429 5.954 2 11H13.5605Z"}))}d.displayName="StageLeave"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchActiveOutboundPromotions=p,t.default=void 0;var r=d(n(14)),a=d(n(2)),o=n(5829),i=n(11021),l=d(n(39)),u=d(n(8759)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){f(o,r,a,i,l,"next",e)}function l(e){f(o,r,a,i,l,"throw",e)}i(void 0)}))}}function p(){return v.apply(this,arguments)}function v(){return(v=c(regeneratorRuntime.mark((function e(){var t,n,d,f,c,p,v;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!u.default.isFetchingActiveOutboundPromotions){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,a.default.dispatch({type:s.ActionTypes.ACTIVE_OUTBOUND_PROMOTIONS_FETCH}),t=i.PromotionPreviewExperiment.getCurrentConfig({}).previewEnabled?s.Endpoints.OUTBOUND_PROMOTIONS_PREVIEW:s.Endpoints.OUTBOUND_PROMOTIONS,e.next=7,r.default.get({url:t,query:{locale:l.default.locale},oldFormErrors:!0});case 7:if(n=e.sent,d=n.body,f=u.default.consumedInboundPromotionId,u.default.hasFetchedConsumedInboundPromotionId){e.next=16;break}return e.next=13,(0,o.fetchUserEntitlementsForApplication)(s.PREMIUM_SUBSCRIPTION_APPLICATION,!1);case 13:p=e.sent,v=p.find((function(e){return null!=e.promotion_id&&!0===e.consumed})),f=null!==(c=null==v?void 0:v.promotion_id)&&void 0!==c?c:null;case 16:a.default.dispatch({type:s.ActionTypes.ACTIVE_OUTBOUND_PROMOTIONS_FETCH_SUCCESS,activeOutboundPromotions:d,consumedInboundPromotionId:f}),e.next=22;break;case 19:e.prev=19,e.t0=e.catch(2),a.default.dispatch({type:s.ActionTypes.ACTIVE_OUTBOUND_PROMOTIONS_FETCH_FAIL});case 22:case"end":return e.stop()}}),e,null,[[2,19]])})))).apply(this,arguments)}var y={fetchActiveOutboundPromotions:p,dismissOutboundPromotionNotice:function(){a.default.dispatch({type:s.ActionTypes.OUTBOUND_PROMOTION_NOTICE_DISMISS})},markOutboundPromotionsSeen:function(){a.default.dispatch({type:s.ActionTypes.OUTBOUND_PROMOTIONS_SEEN})}};t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=c(n(8)),o=c(n(3)),i=c(n(2)),l=c(n(758)),u=c(n(11)),s=c(n(1269)),d=c(n(51)),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(){return(v=Object.assign||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}).apply(this,arguments)}var y={};function m(){a.default.forEach(y,(function(e,t){e.destroy(),delete y[t]}))}function _(e,t,n){var r=y[e];return null!=r?t(r):n}function h(e){var t=e.lobbyId,n=y[t];if(null==n)return!1;n.destroy(),delete y[t]}var E=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var o=r.prototype;return o.forEach=function(e){a.default.each(y,e)},o.getState=function(e){return _(e,(function(e){return e.state}),f.RTCConnectionStates.DISCONNECTED)},o.isConnected=function(e){return this.getState(e)===f.RTCConnectionStates.RTC_CONNECTED},o.isDisconnected=function(e){return this.getState(e)===f.RTCConnectionStates.DISCONNECTED},o.getHostname=function(e){return _(e,(function(e){return e.hostname}),null)},o.getQuality=function(e){return _(e,(function(e){return e.quality}),f.RTCConnectionQuality.UNKNOWN)},o.getPings=function(e){return _(e,(function(e){return e.getPings()}),[])},o.getAveragePing=function(e){return _(e,(function(e){return e.getAveragePing()}),0)},o.getLastPing=function(e){return _(e,(function(e){return e.getLastPing()}),0)},o.getOutboundLossRate=function(e){return _(e,(function(e){return e.getOutboundLossRate()}),0)},o.getMediaSessionId=function(e){return _(e,(function(e){return e.getMediaSessionId()}),null)},o.getRTCConnectionId=function(e){return _(e,(function(e){return e.getRTCConnectionId()}),null)},o.getDuration=function(e){return _(e,(function(e){return e.getDuration()}),0)},r}(o.default.Store))(i.default,d.default.isSupported()?{CONNECTION_OPEN:function(e){r=e.sessionId,m()},CONNECTION_CLOSED:function(e){return r=null,void m()},RTC_CONNECTION_STATE:function(e){return!0},RTC_CONNECTION_PING:function(e){return!0},RTC_CONNECTION_LOSS_RATE:function(e){return!0},LOBBY_VOICE_STATE_UPDATE:function(e){if(u.default.getId()!==e.userId)return!1;if(e.sessionId!==r)return!1;var t=y[e.lobbyId];null!=t&&null==e.channelId?(t.destroy(),delete y[e.lobbyId]):null!=t?t.channelId=e.channelId:null!=e.channelId&&(t=function(e,t){if(null==r)throw new Error("Creating RTCConnection without session.");var n=s.default.getLobby(e);if(null==n)throw new Error("Creating RTCConnection without lobby.");var a=n.application_id,o=new l.default(u.default.getId(),r,e,t,a);return o.on("state",(function(t,n,r){i.default.dirtyDispatch(v({type:f.ActionTypes.RTC_CONNECTION_STATE,state:t,hostname:n},r,{lobbyId:e}))})),o.on("ping",(function(t,n){i.default.dispatch({type:f.ActionTypes.RTC_CONNECTION_PING,pings:t,quality:n,lobbyId:e})})),o.on("outboundlossrate",(function(t){i.default.dispatch({type:f.ActionTypes.RTC_CONNECTION_LOSS_RATE,lossRate:t,lobbyId:e})})),o}(e.lobbyId,e.channelId),y[e.lobbyId]=t)},LOBBY_VOICE_SERVER_UPDATE:function(e){var t=y[e.lobbyId];if(null==t)return!1;t.connect(e.endpoint,e.token)},LOBBY_DELETE:h,LOBBY_DISCONNECT:h}:{});t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(64)),a=u(n(16)),o=u(n(43)),i=n(401),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=[],f=function(e,t,n){var r=a.default.isWindows()?0:1;e===l.KeyboardDeviceTypes.MOUSE_BUTTON&&n===r||d.forEach((function(r){return r._handleEvent(e,t,n)}))},c=function(e){var t,n;function r(){var t;return(t=e.call(this)||this).combo=[],d.push(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t)),1===d.length&&o.default.setOnInputEventCallback(f),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var a=r.prototype;return a.destroy=function(){var e=this;this.removeAllListeners(),0===(d=d.filter((function(t){return t!==e}))).length&&o.default.setOnInputEventCallback(null)},a.toString=function(){return(0,i.toString)(this.combo)},a._handleEvent=function(e,t,n){0===t?this.combo=this.combo.filter((function(t){var r=t[0],a=t[1];return!(r===e&&a===n)})):(this.combo.push([e,n,(0,i.getEnv)()]),this.emit("change",this))},r}(r.default);t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RecordModes=void 0;var r,a,o,i=h(n(0)),l=m(n(9)),u=m(n(767)),s=m(n(8)),d=m(n(88)),f=n(401),c=h(n(29)),p=m(n(55)),v=m(n(6)),y=m(n(7658));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function E(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.RecordModes=o,function(e){e.DEFAULT="DEFAULT",e.RECORDING="RECORDING"}(o||(t.RecordModes=o={}));var S=((r={})[o.DEFAULT]=y.default.default,r[o.RECORDING]=y.default.recording,r),O=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._inputId=s.default.uniqueId("key-recorder-"),t._unregisterNativeRecorder=null,t._mousedownMode=null,t._inputRef=i.createRef(),t._containerRef=i.createRef(),t.setInputRef=function(e){t._input=e,t._inputRef.current=e},t.handleClick=function(e){e.stopPropagation(),e.preventDefault();var n=t.props,r=n.onClick;n.disableOnClickWhileRecording&&t._mousedownMode===o.RECORDING||r()},t.handleMouseDown=function(){t._mousedownMode=t.props.mode},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,g(t,n);var a=r.prototype;return a.componentDidMount=function(){var e=this.props.onChange;if(null!=this.props.registerNativeRecorder&&null!=e)this._unregisterNativeRecorder=this.props.registerNativeRecorder(this._inputId,e);else if(null!=e&&null!=this._input){new u.default(this._input).handleKey=e}},a.componentWillUnmount=function(){null!=this._unregisterNativeRecorder&&this._unregisterNativeRecorder()},a.componentDidUpdate=function(e){var t=this.props.mode;if(e.mode!==t){var n=this._input;if(null!=n){var r=document.activeElement;t===o.DEFAULT&&n===r&&n.blur(),t===o.RECORDING&&n!==r&&n.focus()}}},a.render=function(){var e,t,n=this,r=this.props,a=r.mode,u=r.value,s=r.disabled,m=(0,f.toString)(u,!0);t=a===o.RECORDING?v.default.Messages.SHORTCUT_RECORDER_BUTTON_RECORDING:0===u.length?v.default.Messages.SHORTCUT_RECORDER_BUTTON:v.default.Messages.SHORTCUT_RECORDER_BUTTON_EDIT;var _=a===o.DEFAULT&&u.length>0;return E(d.default,{focusTarget:this._inputRef,ringTarget:this._containerRef},void 0,i.createElement("div",{onClick:this.handleClick,onMouseDown:this.handleMouseDown,ref:this._containerRef,className:(0,l.default)(y.default.container,S[a],(e={},e[y.default.hasValue]=_,e[y.default.disabled]=s,e))},E(p.default,{className:y.default.layout},void 0,E(p.default.Child,{className:y.default.input},void 0,i.createElement("input",{id:this._inputId,placeholder:v.default.Messages.SHORTCUT_RECORDER_NO_BIND,type:"text",ref:this.setInputRef,readOnly:!0,value:m,disabled:this.props.mode!==o.RECORDING||s})),E(p.default,{shrink:1,grow:0,style:{margin:0}},void 0,E(c.default,{className:y.default.button,disabled:s,onClick:function(e){e.stopPropagation(),e.preventDefault(),n.handleClick(e)},size:c.default.Sizes.MIN,color:c.ButtonColors.GREY},void 0,E("span",{className:y.default.text},void 0,t),E("span",{className:y.default.editIcon}))))))},r}(i.PureComponent);O.displayName="KeyRecorder";var I=O;t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function i(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,i=e.color,l=void 0===i?"currentColor":i;return o("svg",{width:n,height:a,className:e.className,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},void 0,o("path",{transform:"translate(2.000000, 2.000000)",fillRule:"nonzero",fill:l,className:e.foreground,d:"M4,0 L4,3 L0,3 L0,0 L4,0 Z M12,4 L12,7 L8,7 L8,4 L12,4 Z M8,9 L12,9 L12,12 L8,12 L8,9.33333333 L8,9 Z M7,7 L3,7 L3,10 L7,10 L7,12 L3,12 L1,12 L1,4 L3,4 L3,5 L7,5 L7,7 Z"}))}i.displayName="ChannelCategory"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=M;var r,a=O(n(0)),o=g(n(9)),i=g(n(480)),l=O(n(680)),u=g(n(9735)),s=g(n(88)),d=g(n(61)),f=g(n(278)),c=n(85),p=g(n(1266)),v=g(n(1337)),y=g(n(729)),m=n(1375),_=n(1210),h=n(1),E=g(n(5713));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function I(){return(I=Object.assign||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}).apply(this,arguments)}function T(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function b(e){return e.label}function M(e){var t=e.options,n=e.value,r=e.onChange,d=e.placeholder,y=e.className,_=e.isDisabled,g=void 0!==_&&_,S=e.maxVisibleItems,O=void 0===S?3:S,I=e.look,T=void 0===I?m.Looks.FILLED:I,M=e.autoFocus,A=void 0!==M&&M,P=e.renderOptionLabel,R=void 0===P?b:P,L=(0,u.default)(),D=L[0],w=L[1],j=a.useRef(null),k=a.useState(null),U=k[0],G=k[1],F=a.useState(!1),B=F[0],H=F[1],x=a.useState(null),V=x[0],W=x[1],Y=a.useState(!1),z=Y[0],K=Y[1],$=a.useRef(null),Z=(0,c.useUID)(),q=(0,c.useUID)(),X=a.useCallback((function(e,t){var n=document.querySelector(e),r=$.current;G(t),null!=r&&null!=n&&r.scrollIntoViewNode({node:n})}),[]),J=a.useCallback((function(){return new Promise((function(e){var t=$.current;if(null==t)return e();t.scrollToTop({callback:function(){return requestAnimationFrame((function(){return e()}))}})}))}),[]),Q=a.useCallback((function(){return new Promise((function(e){var t=$.current;if(null==t)return e();t.scrollToBottom({callback:function(){return requestAnimationFrame((function(){return e()}))}})}))}),[]),ee=(0,l.default)({id:q,scrollToStart:J,scrollToEnd:Q,isEnabled:!0,wrap:!0,useVirtualFocus:!0,setFocus:X}),te=t.find((function(e){return e.value===n}));a.useEffect((function(){B&&null!=te&&requestAnimationFrame((function(){var e=$.current,n=t.indexOf(te);null==e||e.scrollToIndex({section:0,row:n})}))}),[B]),a.useLayoutEffect((function(){W((function(e){var t;return null!==(t=null==te?void 0:te.label)&&void 0!==t?t:e}))}),[te]);var ne=a.useCallback((function(e){r(e),G(null),H(!1),K(!1)}),[r]);a.useLayoutEffect((function(){var e;A&&(null===(e=j.current)||void 0===e||e.focus())}),[A]);var re=a.useCallback((function(e){switch(e.keyCode){case h.KeyboardKeys.ESCAPE:H(!1);break;case h.KeyboardKeys.ARROW_DOWN:H(!0)}}),[]);return C(l.ListNavigatorProvider,{navigator:ee},void 0,C(f.default,{spacing:0,shouldShow:B,renderPopout:function(e){var r=e.closePopout;return C(N,{listRef:$,listId:Z,maxVisibleItems:O,width:w,value:n,closePopout:r,onSelect:ne,options:z&&null!=V?t.filter((function(e){return(0,i.default)(V.toLowerCase(),e.label.toLowerCase())})):t,activeDescendant:U,renderOptionLabel:R})},position:f.default.Positions.BOTTOM},void 0,(function(e,t){var n,r,i=e["aria-expanded"],u=e["aria-controls"],f=t?v.default:p.default,c=ee.containerProps,_=c.ref,h=c.onKeyDown;return C(s.default,{within:!0,offset:4},void 0,a.createElement("div",{role:"combobox","aria-expanded":i,"aria-haspopup":"listbox","aria-owns":Z,onClick:function(){return H(!0)},ref:D,className:(0,o.default)(E.default.select,E.default.searchable,y,(n={},n[E.default.open]=t,n[E.default.lookFilled]=T===m.Looks.FILLED,n[E.default.disabled]=g,n))},a.createElement("input",{"aria-autocomplete":"list","aria-controls":u,"aria-multiline":!1,"aria-activedescendant":null!=U?(0,l.createListItemId)(q,U):void 0,value:null!=V?V:"",onChange:function(e){W(e.target.value),H(!0),K(!0)},onFocus:function(){return H(!0)},onBlur:function(e){var t,n;(null===(t=$.current)||void 0===t||null===(n=t.getScrollerNode())||void 0===n?void 0:n.contains(e.relatedTarget))||H(!1)},className:(0,o.default)(E.default.searchInput,(r={},r[E.default.editing]=z,r)),onKeyDown:function(e){h(e),re(e)},placeholder:null==te?d:"",ref:function(e){_.current=e,j.current=e}}),C(f,{})))})))}function N(e){var t=e.onSelect,n=e.closePopout,r=e.value,o=e.options,i=e.width,u=e.maxVisibleItems,s=e.activeDescendant,d=e.listRef,f=e.listId,c=e.renderOptionLabel,p=a.useRef(null),v=a.useCallback((function(e){t(e),n()}),[n,t]),y=o.length<=u?_.ListNone:_.ListAuto;return C(l.ListNavigatorContainer,{},void 0,(function(e){var t=e.ref,n=(e.onKeyDown,T(e,["ref","onKeyDown"]));return a.createElement(y,I({id:f,className:E.default.popout,style:{width:i,maxHeight:44*u},ref:function(e){var n;d.current=e;var r=null!==(n=null==e?void 0:e.getScrollerNode())&&void 0!==n?n:null;p.current=r,t.current=r}},n,{role:"listbox",rowHeight:44,sections:[o.length],sectionHeight:0,renderRow:function(e){var t,n=e.row,a=o[n],i=c(a);return C(A,{"aria-posinset":n,"aria-setsize":o.length,isSelected:a.value===r,isFocused:s===String(a.value),value:a.value,label:i,onSelect:v},null!==(t=a.key)&&void 0!==t?t:n)},renderSection:function(){return null}}))}))}function A(e){var t,n=e.value,r=e.label,i=e.onSelect,u=e.isSelected,s=e.isFocused,f=T(e,["value","label","onSelect","isSelected","isFocused"]),c=(0,l.useListItem)(String(n));return a.createElement(d.default,I({style:{height:44},focusProps:{enabled:!1},className:(0,o.default)(E.default.option,(t={},t[E.default.focused]=s,t)),onClick:function(){return i(n)}},c,f,{"aria-selected":u,id:c["data-list-item-id"],role:"option"}),r,u&&C(y.default,{className:E.default.selectedIcon,width:20,height:20}))}M.displayName="SearchableSelect",N.displayName="SelectPopout",A.displayName="Option"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=r.useState(void 0),t=e[0],n=e[1],a=r.useRef(null);return r.useLayoutEffect((function(){var e=a.current;if(null!=e){var t=new ResizeObserver((function(e){var t,r,o=e[0],i=null==o||null===(t=o.borderBoxSize)||void 0===t||null===(r=t[0])||void 0===r?void 0:r.inlineSize;if(null==i){var l=a.current;if(null!=l){var u=window.getComputedStyle(l);i=parseFloat(u.width||"0")}}n(i)}));return t.observe(e),function(){return t.disconnect()}}}),[]),[a,t]};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(3)),i=n(752),l=d(n(9737)),u=n(374),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleChange=function(e){t.props.onChange(e)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var a=r.prototype;return a.componentDidMount=function(){var e=this.props,t=e.applicationId,n=e.branches,r=e.onHasBranchesChange;(0,i.fetchBranchesForApplication)(t),r&&r(n.length>0)},a.componentDidUpdate=function(e){var t=this.props,n=t.onHasBranchesChange,r=t.branches.length>0;null!=n&&r!==e.branches.length>0&&n(r)},a.render=function(){var e=this.props,t=e.branches,n=e.selectedBranchId,r=e.applicationId,a=e.includeMaster,o=e.hide,i=e.className;if(0===t.length||o)return null;var l=a?t:t.filter((function(e){return e.id!==r}));return c(u.SingleSelect,{options:l.map((function(e){return{label:e.getName(r),value:e.id}})),placeholder:s.default.Messages.CREATE_STORE_CHANNEL_SELECT_BRANCH,value:n,onChange:this.handleChange,className:i})},r}(a.Component);v.displayName="ApplicationBranchSelector",v.defaultProps={includeMaster:!1};var y=o.default.connectStores([l.default],(function(e){var t=e.applicationId;return{branches:l.default.getBranches(t)}}))(v);t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l={};var u=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n),r.prototype.getBranches=function(e){return l[e]||[]},r}(r.default.Store))(a.default,{OWNED_APPLICATION_BRANCHES_FETCH_SUCCESS:function(e){var t=e.applicationId,n=e.branches;l[t]=n},LOGOUT:function(e){l={}}});t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(3)),i=n(5672),l=d(n(373)),u=n(374),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleChange=function(e){t.props.onChange(e)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var a=r.prototype;return a.componentDidMount=function(){var e=this.props,t=e.applicationId,n=e.skus,r=e.selectedSkuId,a=e.onChange;null==n?(0,i.fetchSKUsForApplication)(t,!1):1===n.length&&null==r&&a(n[0].id)},a.componentDidUpdate=function(){var e=this.props,t=e.skus,n=e.selectedSkuId,r=e.onChange;null!=t&&1===t.length&&null==n&&r(t[0].id)},a.render=function(){var e=this.props,t=e.skus,n=e.selectedSkuId,r=e.className,a=null!=t&&0===t.length;return c(u.SingleSelect,{options:null!=t?t.map((function(e){return{label:e.name,value:e.id}})):[],placeholder:a?s.default.Messages.CREATE_STORE_CHANNEL_NO_SKUS:s.default.Messages.CREATE_STORE_CHANNEL_SELECT_SKU,value:n,onChange:this.handleChange,className:r,isDisabled:a})},r}(a.Component);v.displayName="ApplicationSKUSelector";var y=o.default.connectStores([l.default],(function(e){var t=e.applicationId;return{skus:l.default.getForApplication(t)}}))(v);t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=i(n(8297)),o=i(n(7665));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}var u=r.forwardRef((function(e,t){var n=e.query,i=e.onQueryChange,l=e.onRemoveTag,u=e.onSelect,s=e.onSelectionChange,d=e.selectedSection,f=e.selectedRow,c=e.tags,p=e.sections,v=e.placeholder,y=void 0===v?"":v,m=e.focusAfterReady,_=e.isReady;return r.createElement(a.default,{autoFocus:!0,className:o.default.searchBar,maxHeight:100,onQueryChange:i,onRemoveTag:l,selectedSection:d,selectedRow:f,onSelect:u,onSelectionChange:s,placeholder:0===c.length?y:"",query:n,ref:t,size:a.default.Sizes.MEDIUM,tags:c,sections:p,focusAfterReady:m,isReady:_})}));t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fill:d,className:f,d:"M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"}))}d.displayName="Key"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=c(n(8254)),i=n(9170),l=n(8253),u=c(n(86)),s=c(n(40)),d=n(1),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e){var t=(0,a.useStateFromStoresObject)([s.default,u.default],(function(){return{canManageGuild:s.default.can(d.Permissions.MANAGE_GUILD,e),canManageRoles:s.default.can(d.Permissions.MANAGE_ROLES,e),canBanMembers:s.default.can(d.Permissions.BAN_MEMBERS,e),canManageNicknames:s.default.can(d.Permissions.MANAGE_NICKNAMES,e),canManageEmojis:s.default.can(d.Permissions.MANAGE_EMOJIS,e),canManageWebhooks:s.default.can(d.Permissions.MANAGE_WEBHOOKS,e),canViewAuditLog:s.default.can(d.Permissions.VIEW_AUDIT_LOG,e),channels:u.default.getChannels(e.id).SELECTABLE}}),[e]),n=t.canManageGuild,r=t.canManageRoles,c=t.canBanMembers,p=t.canManageNicknames,y=t.canManageEmojis,m=t.canManageWebhooks,_=t.canViewAuditLog,h=t.channels;function E(t){o.default.open(e.id,t)}return __OVERLAY__||!(n||r||c||p||y||m||_)?null:v(l.MenuItem,{id:"guild-settings",label:f.default.Messages.SERVER_SETTINGS,action:function(){return E()}},void 0,(0,i.getGuildSettingsSections)(e,h).map((function(e){var t=e.section,n=e.label;if(null==n)return null;switch(t){case d.GuildSettingsSections.DELETE:return null;case d.GuildSettingsSections.COMMUNITY:return v(l.MenuItem,{id:t,action:function(){return E(t)},label:f.default.Messages.GUILD_SETTINGS_COMMUNITY},t);default:return v(l.MenuItem,{id:t,action:function(){return E(t)},label:n},t)}})))}y.displayName="useGuildSettingsItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(29)),i=y(n(467)),l=y(n(153)),u=n(85),s=y(n(476)),d=n(35),f=y(n(47)),c=y(n(24)),p=y(n(6)),v=y(n(7670));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e){var t=e.onConfirm,n=e.onClose,r=e.validationText,y=e.errorText,m=e.header,h=e.className,E=e.cancelText,g=e.confirmText,S=e.instructionText,O=e.transitionState,I=e.children,T=a.useState(""),C=T[0],b=T[1],M=a.useState(null),N=M[0],A=M[1],P=(0,u.useUID)(),R=a.Children.count(I)?_(i.default,{type:i.default.Types.WARNING,className:v.default.card},void 0,_(c.default,{className:v.default.warning,size:c.default.Sizes.SIZE_16},void 0,I)):null;return _(d.ModalRoot,{transitionState:O,"aria-labelledby":P,className:h},void 0,_("form",{onSubmit:function(e){e.preventDefault(),C.toLowerCase()===r.toLowerCase()?(null==t||t(),n()):A(y)}},void 0,_(d.ModalHeader,{separator:!1},void 0,_(f.default,{id:P,tag:f.default.Tags.H2,size:f.default.Sizes.SIZE_20},void 0,m)),_(d.ModalContent,{},void 0,R,_(s.default,{title:S,className:v.default.spacing},void 0,_(l.default,{id:"text-entry-confirm",type:"text",value:C,autoComplete:"off",onChange:b,autoFocus:!0}),N?_(c.default,{color:c.default.Colors.STATUS_RED,size:c.default.Sizes.SIZE_12,className:v.default.error},void 0,N):null)),_(d.ModalFooter,{},void 0,_(o.default,{type:"submit",color:o.default.Colors.RED},void 0,g||p.default.Messages.CONFIRM),_(o.default,{onClick:n,look:o.default.Looks.LINK,color:o.default.Colors.PRIMARY},void 0,E||p.default.Messages.CANCEL))))}h.displayName="TextEntryConfirm"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2020-12_guild_delete_feedback",label:"Guild Delete Feedback experiment",defaultConfig:{showFeedback:!1},treatments:[{id:1,label:"Show guild delete feedback",config:{showFeedback:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=S;var r,a=_(n(0)),o=y(n(8552)),i=y(n(9745)),l=n(395),u=n(1220),s=_(n(41)),d=y(n(13)),f=y(n(9746)),c=n(9747),p=n(1),v=y(n(6));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(){return(E=Object.assign||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}).apply(this,arguments)}var g=[c.GuildDeleteReasons.OTHER];function S(e){var t=e.transitionState,n=e.onClose,r=e.guildId;return a.useEffect((function(){d.default.track(p.AnalyticEvents.OPEN_MODAL,{type:"Guild Delete Report"})}),[]),h(i.default,{header:v.default.Messages.GUILD_DELETE_FEEDBACK_HEADER,body:v.default.Messages.GUILD_DELETE_FEEDBACK_BODY,problems:c.GUILD_DELETE_REASONS,feedbackProblems:g,onSubmit:function(e){var t=e.problem,n=e.dontShowAgain,i=e.feedback;n&&(0,u.hideHotspot)(l.HotspotLocations.GUILD_DELETE_FEEDBACK);var d=null==t;(0,f.default)(r,t,i,d),d||s.openModal((function(e){return a.createElement(o.default,E({body:v.default.Messages.GUILD_DELETE_FEEDBACK_REPORT},e))}))},onClose:n,transitionState:t,otherKey:c.GuildDeleteReasons.OTHER})}S.displayName="GuildDeleteFeedback"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=P;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=T(n(9)),i=T(n(8)),l=T(n(1296)),u=T(n(8551)),s=T(n(1259)),d=T(n(29)),f=T(n(9096)),c=T(n(55)),p=T(n(8272)),v=n(85),y=n(131),m=T(n(1336)),_=n(35),h=T(n(24)),E=T(n(93)),g=n(9097),S=n(8795),O=T(n(6)),I=T(n(7396));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(){return b(h.default,{className:I.default.helpdeskLink,size:h.default.Sizes.SIZE_12,color:h.default.Colors.MUTED},void 0,O.default.Messages.FEEDBACK_NEED_MORE_HELP.format({helpdeskURL:E.default.getSubmitRequestURL()}))}M.displayName="HelpdeskLink";var N=b(u.default,{}),A=b(M,{});function P(e){var t=e.header,n=e.body,r=e.problems,u=e.transitionState,E=e.feedbackProblems,T=void 0===E?[]:E,C=e.otherKey,M=e.onSubmit,P=e.onClose,R=(0,s.default)(r),L=a.useState(!1),D=L[0],w=L[1],j=a.useState(null),k=j[0],U=j[1],G=a.useState(i.default.shuffle(r)),F=G[0],B=G[1],H=a.useState(""),x=H[0],V=H[1],W=(0,v.useUID)(),Y=(0,m.default)(D),z=(0,m.default)(k),K=(0,m.default)(M),$=(0,m.default)(x),Z=null!=k&&T.includes(k);return a.useEffect((function(){i.default.isEqual(R,r)||B((0,g.shuffleProblems)(r,C))}),[r,R,C]),a.useEffect((function(){return function(){K.current({problem:z.current,dontShowAgain:Y.current,feedback:$.current})}}),[]),b(_.ModalRoot,{transitionState:u,className:I.default.modalRoot,"aria-labelledby":W},void 0,N,b(_.ModalHeader,{separator:!1,className:(0,o.default)(I.default.headerContainer,I.default.simpleHeaderContainer)},void 0,b(h.default,{id:W,className:I.default.header,color:h.default.Colors.CUSTOM,size:h.default.Sizes.SIZE_24},void 0,t),b(h.default,{size:h.default.Sizes.SIZE_16,color:h.default.Colors.CUSTOM,className:I.default.ratingBody},void 0,n)),b(_.ModalContent,{className:I.default.content},void 0,Z?null:b(y.FormItem,{className:I.default.problemInfo},void 0,b(f.default,{options:F,onClick:function(e){var t=e.value;U(t),T.includes(t)||P()}})),Z?b(y.FormItem,{title:O.default.Messages.FEEDBACK_DESCRIBE_ISSUE,className:I.default.problemInfo},void 0,b(p.default,{value:x,maxLength:S.FEEDBACK_FREEFORM_LENGTH,onChange:V}),A):null),b(_.ModalFooter,{className:I.default.footer,direction:c.default.Direction.HORIZONTAL},void 0,Z?a.createElement(a.Fragment,null,b(d.default,{size:d.default.Sizes.SMALL,look:d.default.Looks.LINK,color:d.default.Colors.PRIMARY,onClick:function(){U(null),V("")}},void 0,O.default.Messages.BACK),b(d.default,{size:d.default.Sizes.SMALL,onClick:P},void 0,O.default.Messages.SUBMIT)):b(l.default,{checked:D,onChange:function(){return w(!D)}},void 0,b(h.default,{},void 0,O.default.Messages.DONT_SHOW_AGAIN))))}P.displayName="FeedbackModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){a.default.track(o.AnalyticEvents.USER_REPORT_SUBMITTED,{report_name:"Guild Deletion",guild_id:e,reason:t,feedback:n,skipped:r})};var r,a=(r=n(13))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GUILD_DELETE_REASONS=t.GuildDeleteReasons=void 0;var r,a,o=(r=n(6))&&r.__esModule?r:{default:r};t.GuildDeleteReasons=a,function(e){e.TOO_HARD="Too hard",e.TEST="Testing purposes",e.ACCIDENT="Created on accident",e.TEMPLATE="Curious about server/template",e.LONELY="Empty server",e.INACTIVE="Inactive server",e.OTHER="Other"}(a||(t.GuildDeleteReasons=a={}));var i=[{value:a.TOO_HARD,label:o.default.Messages.GUILD_DELETE_FEEDBACK_TOO_HARD},{value:a.TEST,label:o.default.Messages.GUILD_DELETE_FEEDBACK_TEST},{value:a.ACCIDENT,label:o.default.Messages.GUILD_DELETE_FEEDBACK_ACCIDENT},{value:a.TEMPLATE,label:o.default.Messages.GUILD_DELETE_FEEDBACK_TEMPLATE},{value:a.LONELY,label:o.default.Messages.GUILD_DELETE_FEEDBACK_LONELY},{value:a.INACTIVE,label:o.default.Messages.GUILD_DELETE_FEEDBACK_INACTIVE},{value:a.OTHER,label:o.default.Messages.GUILD_DELETE_FEEDBACK_OTHER}];t.GUILD_DELETE_REASONS=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i=L(n(0)),l=P(n(9)),u=n(3),s=P(n(199)),d=P(n(8255)),f=P(n(12)),c=P(n(29)),p=P(n(151)),v=L(n(8293)),y=P(n(681)),m=P(n(24)),_=n(48),h=P(n(8294)),E=P(n(8673)),g=P(n(8410)),S=P(n(8411)),O=n(8262),I=P(n(9749)),T=P(n(9752)),C=P(n(9763)),b=P(n(9766)),M=n(1),N=P(n(6)),A=P(n(7679));function P(e){return e&&e.__esModule?e:{default:e}}function R(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return R=function(){return e},e}function L(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=R();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function D(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}!function(e){e[e.LOADING=0]="LOADING",e[e.INTRO=1]="INTRO",e[e.SETTINGS=2]="SETTINGS"}(a||(a={})),function(e){e[e.EDIT=0]="EDIT",e[e.APPLICATIONS=1]="APPLICATIONS",e[e.REVIEW_APPLICATION=2]="REVIEW_APPLICATION"}(o||(o={}));var w=D(C.default,{}),j=function(e){var t=e.setView;return D(y.default,{title:N.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION,tag:y.default.Tags.H2},void 0,D("div",{className:A.default.introDescription},void 0,D(m.default,{size:m.default.Sizes.SIZE_14,className:A.default.description},void 0,N.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_DESCRIPTION),D(m.default,{size:m.default.Sizes.SIZE_14,className:A.default.description},void 0,N.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_DESCRIPTION_COMING_SOON),D(c.default,{onClick:function(){t(a.SETTINGS)}},void 0,N.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_INTRO_BUTTON)),w)};j.displayName="GuildSettingsMemberVerificationIntro";var k=function(e){var t,n=e.guildId,r=e.setPreventNavigation,a=(0,u.useStateFromStores)([E.default],(function(){return E.default.getRequests(n)}),[n]),c=null!=a?a[O.GuildJoinRequestApplicationStatuses.PENDING].total:0,p=(0,u.useStateFromStores)([f.default],(function(){return f.default.getCurrentUser().isStaff()})),g=(0,u.useStateFromStores)([d.default],(function(){return d.default.getProps()})).guild,C=i.useState(c>0?o.APPLICATIONS:o.EDIT),P=C[0],R=C[1],L=i.useState(null),w=L[0],j=L[1],k=i.useState(1),U=k[0],G=k[1],F=i.useState(O.GuildJoinRequestApplicationStatuses.PENDING),B=F[0],H=F[1],x=(0,u.useStateFromStores)([S.default],(function(){return null!=g?S.default.get(g.id):null}));i.useEffect((function(){null!=n&&h.default.fetchGuildJoinRequests({guildId:n})}),[n]),i.useEffect((function(){null!=w&&P!==o.REVIEW_APPLICATION?R(o.REVIEW_APPLICATION):null==w&&P===o.REVIEW_APPLICATION&&R(o.APPLICATIONS)}),[w,P]),i.useEffect((function(){s.default.fetchGuildBans(n)}),[n]);var V=i.useCallback((function(e){R(e)}),[]),W=null==g?void 0:g.hasFeature(M.GuildFeatures.MEMBER_VERIFICATION_GATE_ENABLED),Y=null==x?void 0:x.formFields,z=i.useMemo((function(){return!(!W||null==Y||0===Y.length)&&(1!==Y.length||Y[0].field_type!==O.VerificationFormFieldTypes.TERMS)}),[W,Y]),K=null;switch(P){case o.EDIT:K=D(T.default,{setPreventNavigation:r,pendingRequestsCount:c});break;case o.APPLICATIONS:K=D(I.default,{guildId:n,setSelectedJoinRequest:function(e,t,r){if(void 0===e&&(e=null),void 0===t&&(t=O.GuildJoinRequestApplicationStatuses.PENDING),null!=n&&null!=e&&null!=a){var o=a[t].requests.findIndex((function(t){return t.userId===e}));j(o),G(r)}},setApplicationStatus:H,applicationStatus:B,totalCount:a[B].total});break;case o.REVIEW_APPLICATION:break;default:return(0,_.assertNever)(P)}return P===o.REVIEW_APPLICATION&&null!=w?D(b.default,{guildId:n,selectedIndex:w,applicationStatus:B,setSelectedIndex:j,page:U}):D(y.default,{title:N.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION,tag:y.default.Tags.H2},void 0,D(m.default,{className:A.default.description,color:m.default.Colors.HEADER_SECONDARY},void 0,N.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_DESCRIPTION),D(m.default,{className:(0,l.default)(A.default.description,(t={},t[A.default.descriptionSpaced]=!p,t)),color:m.default.Colors.HEADER_SECONDARY},void 0,N.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_DESCRIPTION_COMING_SOON),D(v.default,{className:A.default.tabs,selectedItem:P,type:v.default.Types.TOP,look:v.default.Looks.BRAND,onItemSelect:V},void 0,D(v.Item,{className:(0,l.default)(A.default.tab,A.default.spacer),id:o.EDIT},void 0,N.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_SCREEN_TITLE),z?D(v.Item,{className:(0,l.default)(A.default.tab,A.default.spacer),id:o.APPLICATIONS,"aria-label":N.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_APPLICATIONS_TITLE+" "+(c>0&&c.toLocaleString())},void 0,N.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_APPLICATIONS_TITLE,c>0&&D(m.default,{size:m.default.Sizes.SIZE_12,className:A.default.badge},void 0,c.toLocaleString())):null),K)};k.displayName="GuildSettingsMemberVerificationSettings";var U=function(e){var t=e.setPreventNavigation,n=(0,u.useStateFromStores)([d.default],(function(){return d.default.getProps()})).guild,r=(0,u.useStateFromStores)([f.default],(function(){return f.default.getCurrentUser().isStaff()})),o=i.useState(a.LOADING),l=o[0],s=o[1];switch(i.useEffect((function(){null!=n&&g.default.fetchVerificationForm(n.id).then((function(e){s(null==e?a.INTRO:a.SETTINGS)}))}),[null==n?void 0:n.id]),l){case a.LOADING:return D(p.default,{type:p.default.Type.SPINNING_CIRCLE});case a.INTRO:return D(j,{setView:s});case a.SETTINGS:return r&&null!=n?D(k,{guildId:null==n?void 0:n.id,setPreventNavigation:t}):D(T.default,{setPreventNavigation:t});default:return(0,_.assertNever)(l)}};t.default=U},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=S(n(1159)),l=S(n(151)),u=S(n(372)),s=S(n(8883)),d=S(n(8884)),f=S(n(47)),c=S(n(8972)),p=S(n(24)),v=S(n(272)),y=S(n(8294)),m=S(n(8673)),_=n(8262),h=S(n(9751)),E=S(n(6)),g=S(n(7382));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var T=[{value:_.GuildJoinRequestApplicationStatuses.PENDING,label:E.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_PENDING},{value:_.GuildJoinRequestApplicationStatuses.REJECTED,label:E.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_REJECTED},{value:_.GuildJoinRequestApplicationStatuses.APPROVED,label:E.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_APPROVED}],C=function(e){var t=e.status,n=E.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_EMPTY_PENDING_APPLICATIONS_TITLE,r=E.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_EMPTY_PENDING_APPLICATIONS_BODY;switch(t){case _.GuildJoinRequestApplicationStatuses.REJECTED:n=E.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_EMPTY_REJECTED_APPLICATIONS_TITLE,r=E.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_EMPTY_REJECTED_APPLICATIONS_BODY;break;case _.GuildJoinRequestApplicationStatuses.APPROVED:n=E.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_EMPTY_APPROVED_APPLICATIONS_TITLE,r=E.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_EMPTY_APPROVED_APPLICATIONS_BODY;break;default:n=E.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_EMPTY_PENDING_APPLICATIONS_TITLE,r=E.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_EMPTY_PENDING_APPLICATIONS_BODY}return I("div",{className:g.default.emptyContainer},void 0,I("div",{className:g.default.emptyIcon},void 0,I(d.default,{className:g.default.star}),I(u.default,{className:g.default.checkmark}),I(s.default,{className:g.default.plus})),I(f.default,{size:f.default.Sizes.SIZE_24},void 0,n),I(p.default,{color:p.default.Colors.HEADER_SECONDARY,className:g.default.emptyBody},void 0,r))};C.displayName="ApplicationsEmptyState";var b=function(e){var t,n=e.guildId,r=e.setSelectedJoinRequest,u=e.setApplicationStatus,s=e.applicationStatus,d=e.totalCount,f=a.useState(1),p=f[0],E=f[1],S=(0,o.useStateFromStores)([m.default],(function(){return m.default.getRequests(n)||{}}),[n])[s],O=(0,o.useStateFromStores)([m.default],(function(){return m.default.isFetching()}),[]);a.useEffect((function(){null!=n&&y.default.fetchGuildJoinRequests({guildId:n,status:s}),E(1)}),[s,n]);return a.createElement(a.Fragment,null,I(i.default,{value:s,clearable:!1,options:T,onChange:function(e){var t=e.value;u(t)},className:g.default.search}),!O&&null!==(t=null==S?void 0:S.requests.length)&&void 0!==t&&t?I(v.default,{},void 0,S.requests.map((function(e){return I(h.default,{guildJoinRequest:e,setSelectedJoinRequest:r,page:p},"guild-join-request-"+e.userId)})),I(c.default,{pageSize:_.MAX_RESULTS_PER_PAGE,totalCount:d,currentPage:p,maxVisiblePages:5,onPageChange:function(e){var t,r=e>p,a=r?S.requests[S.requests.length-1]:S.requests[0];y.default.fetchGuildJoinRequests(((t={guildId:n,status:s})[r?"before":"after"]=new Date(a.createdAt).getTime(),t)),E(e)}})):I(C,{status:s}),O&&I(l.default,{className:g.default.fetchingSpinner}))};t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PaginationTypes=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=i(n(133)),o=i(n(8));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=(0,a.default)({PAGE:null,GAP:null,BACK:null,NEXT:null});t.PaginationTypes=s;var d=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).changePageTo=function(e){var n=t.props,r=n.selectedPage,a=n.onPageChange;r!==e&&null!=a&&a(e)},t.handleForward=function(){t.changePageTo(Math.min(t.props.selectedPage+1,t.props.totalPageCount))},t.handleBackward=function(){t.changePageTo(Math.max(t.props.selectedPage-1,1))},t.handleJump=function(e){t.changePageTo(e)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var a=r.prototype;return a.getNeighborBounds=function(){var e=this.props,t=e.totalPageCount,n=e.maxVisiblePages,r=e.selectedPage,a=Math.ceil(n/2),o=Math.floor(n/2),i=r<=a?[1,n]:r>t-o?[t-n+1,t]:[r-a+1,r+o],l=i[0],u=i[1];return[Math.max(l,1),Math.min(u,t)]},a.getPageList=function(){var e=this,t=this.props,n=t.totalPageCount,r=t.selectedPage,a=this.getNeighborBounds(),i=a[0],l=a[1],u={type:s.BACK,key:"back",disabled:1===r,selected:!1,navigateToPage:this.handleBackward},d={type:s.NEXT,key:"next",disabled:r===n,selected:!1,navigateToPage:this.handleForward},f=[],c=[];i>1&&(f=[{type:s.PAGE,key:"page-1",targetPage:1,navigateToPage:function(){return e.handleJump(1)}},{type:s.GAP,key:"left-gap"}],i+=2),l<n&&(c=[{type:s.GAP,key:"right-gap"},{type:s.PAGE,key:"page-"+n,targetPage:n,navigateToPage:function(){return e.handleJump(n)}}],l-=2);var p=o.default.range(i,l+1).map((function(t){return{type:s.PAGE,key:"page-"+t,targetPage:t,selected:t===r,disabled:!1,navigateToPage:function(){return e.handleJump(t)}}}));return[u].concat(f,p,c,[d])},a.render=function(){var e=this.props,t=e.totalPageCount;return(0,e.children)({pages:this.getPageList(),hasMultiplePages:t>1})},r}(r.PureComponent);d.displayName="PaginationController",d.defaultProps={maxVisiblePages:9};var f=d;t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=y(n(9)),o=y(n(89)),i=y(n(61)),l=y(n(5950)),u=y(n(279)),s=y(n(47)),d=y(n(24)),f=y(n(150)),c=n(8262),p=y(n(6)),v=y(n(7382));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=function(e){var t,n=e.guildJoinRequest,r=e.page,y=e.setSelectedJoinRequest,m=n.user,h=n.createdAt,E=n.applicationStatus;if(null==m)throw new Error("Missing user on this guild join request!");var g=f.default.getUserAvatarURL(new o.default(m)),S=function(){y(m.id,E,r)};return _(i.default,{onClick:S,className:v.default.guildJoinRequestRow},void 0,_("div",{className:v.default.inline},void 0,_(u.default,{src:g,size:u.default.Sizes.SIZE_40,"aria-label":m.username,className:v.default.spacer}),_("div",{},void 0,_("div",{className:v.default.inline},void 0,_(s.default,{size:s.default.Sizes.SIZE_16},void 0,m.username),_(d.default,{size:d.default.Sizes.SIZE_16,color:d.default.Colors.HEADER_SECONDARY},void 0,"#"+m.discriminator)),_(d.default,{color:d.default.Colors.HEADER_SECONDARY},void 0,new Date(h).toLocaleString(p.default.getLocale(),{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit"})))),_("div",{className:v.default.inline},void 0,_(s.default,{muted:E===c.GuildJoinRequestApplicationStatuses.PENDING,size:s.default.Sizes.SIZE_12,className:(0,a.default)(v.default.status,(t={},t[v.default.approved]=E===c.GuildJoinRequestApplicationStatuses.APPROVED,t[v.default.rejected]=E===c.GuildJoinRequestApplicationStatuses.REJECTED,t))},void 0,E),_(i.default,{onClick:S},void 0,_(l.default,{className:v.default.caret}))))};h.displayName="GuildJoinRequestRow";var E=h;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=w();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=D(n(9)),i=n(3),l=D(n(8254)),u=D(n(105)),s=D(n(8255)),d=D(n(12)),f=D(n(29)),c=D(n(55)),p=D(n(151)),v=D(n(8522)),y=D(n(8272)),m=n(131),_=D(n(681)),h=D(n(372)),E=D(n(1215)),g=D(n(466)),S=n(41),O=D(n(47)),I=D(n(24)),T=D(n(13)),C=D(n(8410)),b=D(n(8411)),M=D(n(9753)),N=D(n(9754)),A=D(n(8906)),P=n(1),R=D(n(6)),L=D(n(7674));function D(e){return e&&e.__esModule?e:{default:e}}function w(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return w=function(){return e},e}function j(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function k(){return(k=Object.assign||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}).apply(this,arguments)}function U(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var G=U(p.default,{}),F=function(e){var t,n,r,p,D,w=e.setPreventNavigation,F=e.pendingRequestsCount,B=(0,i.useStateFromStores)([s.default],(function(){return s.default.getProps()})).guild,H=(0,i.useStateFromStores)([u.default],(function(){return u.default.useReducedMotion})),x=(0,i.useStateFromStores)([d.default],(function(){return d.default.getCurrentUser().isStaff()})),V=a.useState(!1),W=V[0],Y=V[1],z=(0,i.useStateFromStores)([b.default],(function(){return null!=B?b.default.get(B.id):null})),K=a.useState(null!==(t=null==z?void 0:z.description)&&void 0!==t?t:""),$=K[0],Z=K[1],q=a.useState(!1),X=q[0],J=q[1],Q=null==B?void 0:B.hasFeature(P.GuildFeatures.MEMBER_VERIFICATION_GATE_ENABLED),ee=a.useState(!Q||(null==B?void 0:B.hasFeature(P.GuildFeatures.PREVIEW_ENABLED))),te=ee[0],ne=ee[1];a.useEffect((function(){null!=B&&C.default.fetchVerificationForm(B.id).then((function(e){var t;Z(null!==(t=null==e?void 0:e.description)&&void 0!==t?t:"")}))}),[null==B?void 0:B.id]),a.useEffect((function(){if(null!=B&&Q){var e=B.features;te?e.add(P.GuildFeatures.PREVIEW_ENABLED):e.delete(P.GuildFeatures.PREVIEW_ENABLED),l.default.saveGuild(B.id,{features:e})}}),[te]);var re=a.useRef(!1);a.useEffect((function(){return function(){re.current=!0}}),[]);var ae=a.useCallback((function(e){var t,n,r,o;""!==$&&(null!==(t=null==z||null===(n=z.formFields)||void 0===n?void 0:n.length)&&void 0!==t?t:0)>0?e():(o=""===$&&0===(null==z||null===(r=z.formFields)||void 0===r?void 0:r.length)?R.default.Messages.MEMBER_VERIFICATION_WARNING_DESCRIPTION_AND_FIELDS:""===$?R.default.Messages.MEMBER_VERIFICATION_WARNING_DESCRIPTION:R.default.Messages.MEMBER_VERIFICATION_WARNING_FIELDS,(0,S.openModal)((function(t){return a.createElement(g.default,k({},t,{header:R.default.Messages.MEMBER_VERIFICATION_WARNING_TITLE,cancelText:R.default.Messages.MEMBER_VERIFICATION_WARNING_CANCEL,confirmText:R.default.Messages.MEMBER_VERIFICATION_WARNING_CONFIRM,onConfirm:e}),U(I.default,{size:I.default.Sizes.SIZE_16},void 0,o))})))}),[$,z]);if(a.useEffect((function(){var e,t;!Q||""!==$&&0!==(null!==(e=null==z||null===(t=z.formFields)||void 0===t?void 0:t.length)&&void 0!==e?e:0)?w(!1,null):w(!0,ae)}),[Q,w,ae,$,z]),a.useEffect((function(){return function(){if(re.current&&X){var e,t=null==z||null===(e=z.formFields)||void 0===e?void 0:e.map((function(e){return e.field_type}));T.default.track(P.AnalyticEvents.GUILD_MEMBERSHIP_GATE_SETTINGS_UPDATED,{guild_id:null==B?void 0:B.id,is_enabled:Q,requirements:t,preview_enabled:null==B?void 0:B.hasFeature(P.GuildFeatures.PREVIEW_ENABLED)})}}}),[re,X,Q,z,null==B?void 0:B.id,null==B?void 0:B.features]),null==B||null==z)return G;var oe=a.createElement(a.Fragment,null,U(c.default,{align:c.default.Align.CENTER,className:L.default.enableContainer},void 0,Q?U(h.default,{width:24,height:24,className:(0,o.default)(L.default.activeCircle,(n={},n[L.default.animate]=W,n))}):U(E.default,{width:24,height:24,className:(0,o.default)(L.default.editCircle,(r={},r[L.default.animate]=W,r))}),Q?U(c.default.Child,{className:L.default.enableDescription},void 0,U(I.default,{},void 0,R.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_ENABLED),U(I.default,{},void 0,R.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_ENABLED_SECOND_LINE)):U(c.default.Child,{className:L.default.enableDescription},void 0,U(I.default,{},void 0,R.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_PROGRESS_WILL_SAVE),U(I.default,{},void 0,R.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_ENABLE_REMINDER)),U(c.default,{grow:0,justify:c.default.Justify.END},void 0,U(f.default,{className:L.default.previewButton,disabled:null==(null==z||null===(p=z.formFields)||void 0===p?void 0:p.length)||0===(null==z||null===(D=z.formFields)||void 0===D?void 0:D.length),look:f.default.Looks.LINK,size:f.default.Sizes.SMALL,onClick:function(){(0,S.openModal)((function(e){return a.createElement(A.default,k({},e,{guildId:B.id,isPreview:!0}))}))},color:f.default.Colors.PRIMARY},void 0,R.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_PREVIEW),U(f.default,{size:f.default.Sizes.SMALL,color:Q?f.default.Colors.RED:f.default.Colors.BRAND,onClick:function(){var e=function(){var e,t=(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return J(!0),e.next=3,C.default.enableVerificationForm(B.id,!Q);case 3:Y(!H);case 4:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){j(o,r,a,i,l,"next",e)}function l(e){j(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();Q?Q&&null!=F&&F>0?(0,S.openModal)((function(t){return a.createElement(M.default,k({},t,{guildId:B.id,onSuccess:e}))})):e():ae(e)}},void 0,Q?R.default.Messages.DISABLE:R.default.Messages.ENABLE))),x?U("div",{className:(0,o.default)(L.default.descriptionWrapper,L.default.switchField)},void 0,U("div",{},void 0,U(O.default,{size:O.default.Sizes.SIZE_16},void 0,R.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_PREVIEW_ENABLED_TITLE),U(I.default,{color:I.default.Colors.HEADER_SECONDARY},void 0,R.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_PREVIEW_DESCRIPTION.format({helpdeskArticle:""}))),U(v.default,{className:L.default.switch,checked:te,onChange:ne})):null,U("div",{className:L.default.descriptionWrapper},void 0,U(m.FormTitle,{},void 0,R.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_DESCRIPTION_TITLE),U(y.default,{placeholder:R.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_DESCRIPTION_PLACEHOLDER,onChange:function(e){Z(e)},onBlur:function(){var e=$.trim();e!==z.description&&(J(!0),C.default.updateVerificationFormDescription(B.id,e))},value:$,maxLength:300,autosize:!0})),U("div",{className:L.default.divider}),U(N.default,{guildId:B.id,verificationForm:z,setHasChanges:J}));return x?oe:U(_.default,{title:R.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION,tag:_.default.Tags.H2},void 0,U("div",{className:L.default.introDescription},void 0,U(I.default,{size:I.default.Sizes.SIZE_14,className:L.default.description},void 0,R.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_DESCRIPTION),U(I.default,{size:I.default.Sizes.SIZE_14,className:L.default.description},void 0,R.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_DESCRIPTION_COMING_SOON)),oe)};F.displayName="GuildSettingsMemberVerificationEditScreen";var B=F;t.default=B},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(29)),i=n(85),l=n(35),u=v(n(47)),s=v(n(24)),d=v(n(8294)),f=n(8262),c=v(n(6)),p=v(n(7672));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function h(e){var t=e.guildId,n=e.onClose,r=e.transitionState,v=e.onSuccess,y=(0,i.useUID)(),h=a.useState(null),E=h[0],g=h[1],S=function(){var e,r=(e=regeneratorRuntime.mark((function e(r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return g(r),e.prev=1,e.next=4,d.default.actionAllPendingJoinRequests(t,r);case 4:return e.next=6,v();case 6:n(),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(1),g(null);case 12:case"end":return e.stop()}}),e,null,[[1,9]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){_(o,r,a,i,l,"next",e)}function l(e){_(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(e){return r.apply(this,arguments)}}();return m(l.ModalRoot,{transitionState:r,"aria-labelledby":y},void 0,m(l.ModalHeader,{separator:!1,id:y},void 0,m(u.default,{tag:u.default.Tags.H2,size:u.default.Sizes.SIZE_20},void 0,c.default.Messages.MEMBER_VERIFICATION_DISABLE_CONFIRM_TITLE)),m(l.ModalContent,{className:p.default.body},void 0,m(s.default,{},void 0,c.default.Messages.MEMBER_VERIFICATION_DISABLE_CONFIRM_BODY)),m(l.ModalFooter,{},void 0,m(o.default,{color:o.default.Colors.PRIMARY,size:o.default.Sizes.SMALL,disabled:null!=E,onClick:n},void 0,c.default.Messages.CANCEL),m(o.default,{className:p.default.spacedButton,color:o.default.Colors.RED,size:o.default.Sizes.SMALL,disabled:null!=E,submitting:E===f.GuildJoinRequestApplicationStatuses.REJECTED,onClick:function(){return S(f.GuildJoinRequestApplicationStatuses.REJECTED)}},void 0,c.default.Messages.MEMBER_VERIFICATION_DISABLE_CONFIRM_KICK_ALL),m(o.default,{color:o.default.Colors.GREEN,size:o.default.Sizes.SMALL,disabled:null!=E,submitting:E===f.GuildJoinRequestApplicationStatuses.APPROVED,onClick:function(){return S(f.GuildJoinRequestApplicationStatuses.APPROVED)}},void 0,c.default.Messages.MEMBER_VERIFICATION_DISABLE_CONFIRM_APPROVE_ALL)))}h.displayName="DisableVerificationConfirmModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FIELD_TO_EDIT_MODAL_MAP=void 0;var r,a,o=X(n(0)),i=Z(n(9)),l=Z(n(8)),u=n(5941),s=n(3),d=Z(n(10)),f=Z(n(15)),c=Z(n(39)),p=Z(n(12)),v=Z(n(29)),y=Z(n(61)),m=Z(n(55)),_=X(n(1164)),h=Z(n(149)),E=Z(n(159)),g=Z(n(255)),S=Z(n(8431)),O=Z(n(9755)),I=Z(n(9756)),T=Z(n(1215)),C=Z(n(1283)),b=Z(n(9757)),M=Z(n(466)),N=n(41),A=Z(n(47)),P=Z(n(24)),R=Z(n(78)),L=Z(n(8410)),D=n(8301),w=n(8262),j=Z(n(9758)),k=Z(n(9759)),U=n(9760),G=Z(n(8908)),F=Z(n(8909)),B=Z(n(8910)),H=Z(n(8911)),x=Z(n(8912)),V=Z(n(8913)),W=n(1),Y=Z(n(6)),z=Z(n(7673)),K=Z(n(9761)),$=Z(n(9762));function Z(e){return e&&e.__esModule?e:{default:e}}function q(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return q=function(){return e},e}function X(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=q();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function J(){return(J=Object.assign||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}).apply(this,arguments)}function Q(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var ee=((r={})[w.VerificationFormFieldTypes.VERIFICATION]=null,r[w.VerificationFormFieldTypes.TERMS]=k.default,r[w.VerificationFormFieldTypes.TEXT_INPUT]=U.TextInputFieldModal,r[w.VerificationFormFieldTypes.PARAGRAPH]=U.ParagraphFieldModal,r[w.VerificationFormFieldTypes.MULTIPLE_CHOICE]=j.default,r);t.FIELD_TO_EDIT_MODAL_MAP=ee;var te=function(e){var t,n=e.icon,r=e.label,a=e.disabled,l=e.onClick,u=e.disabledText,s=Q(m.default,{className:(0,i.default)(z.default.addFieldRow,(t={},t[z.default.disabled]=a,t)),align:m.default.Align.CENTER,justify:m.default.Justify.START},void 0,n,Q(P.default,{},void 0,r));return a?Q(h.default,{text:null!=u?u:Y.default.Messages.MEMBER_VERIFICATION_FORM_ITEM_COMING_SOON},void 0,(function(e){return o.createElement("div",e,s)})):Q(y.default,{className:z.default.addFieldButton,onClick:l},void 0,s)},ne=function(e){var t,n=e.index,r=e.field,a=e.inputComponent,l=e.disableEdit,s=void 0!==l&&l,d=e.draggable,f=void 0===d||d,c=e.disabledText,p=e.onEdit,v=e.onDelete,m=e.onFieldReorder,_=e.isDropHovered,E=o.useRef(null),S=(0,u.useDrag)({item:{type:"FORM_FIELD",field:r,index:n},end:function(e,t){null==e||t.didDrop()||m&&m(e.field,null,!0)}})[1];(0,(0,u.useDrop)({accept:"FORM_FIELD",hover:function(e,t){var r,a=e.index,o=null===(r=E.current)||void 0===r?void 0:r.getBoundingClientRect(),i=t.getClientOffset();if(null!=o&&null!=i){var l=(o.bottom-o.top)/2,u=i.y-o.top;a<n&&u<l||a>n&&u<l||m&&m(e.field,n,!1)}},drop:function(e){m&&m(e.field,n,!0)}})[1])(S(E)),f&&(a=o.createElement("div",{className:z.default.draggableWrapper,ref:E},a));var O=s?Q(h.default,{text:c},void 0,(function(e){return o.createElement("div",J({},e,{className:z.default.editButtonsWrapper}),Q("div",{},void 0,Q(T.default,{height:32,width:32,className:(0,i.default)(z.default.editButton,z.default.editButtonDisabled)})),Q("div",{},void 0,Q(g.default,{height:32,width:32,className:(0,i.default)(z.default.editButton,z.default.editButtonDisabled)})))})):Q("div",{className:z.default.editButtonsWrapper},void 0,Q(y.default,{onClick:function(){return p&&p(r,n)}},void 0,Q(T.default,{height:32,width:32,className:z.default.editButton})),Q(y.default,{onClick:function(){return v&&v(n)}},void 0,Q(g.default,{height:32,width:32,className:z.default.editButton})));return Q("div",{className:(0,i.default)(z.default.editableFormFieldWrapper,(t={},t[z.default.dragging]=_,t))},void 0,a,O)};ne.displayName="EditableFormField";var re=Q(H.default,{isSettingsView:!0,isPreview:!0}),ae=Q(G.default,{isSettingsView:!0,isPreview:!0}),oe=function(e){var t,n=e.verificationForm,r=e.guildId,a=e.setHasChanges,i=(0,s.useStateFromStores)([c.default],(function(){return c.default.theme})),u=(0,s.useStateFromStores)([f.default],(function(){return f.default.getGuild(r)})),y=null==u?void 0:u.verificationLevel,g=null==u?void 0:u.hasFeature(W.GuildFeatures.PREVIEW_ENABLED),T=y===W.VerificationLevels.VERY_HIGH,j=(0,s.useStateFromStores)([f.default],(function(){var e;return null===(e=f.default.getGuild(r))||void 0===e?void 0:e.rulesChannelId})),k=(0,s.useStateFromStores)([d.default],(function(){return d.default.getChannel(j)})),U=(0,s.useStateFromStores)([p.default],(function(){return p.default.getCurrentUser()})),G=R.default.can(W.Permissions.SEND_MESSAGES,U,k),H=o.useState(null!==(t=n.formFields)&&void 0!==t?t:[]),Z=H[0],q=H[1],X=o.useState(null),oe=X[0],ie=X[1],le=null==u?void 0:u.hasFeature(W.GuildFeatures.MEMBER_VERIFICATION_GATE_ENABLED),ue=null==U?void 0:U.isStaff(),se=o.useMemo((function(){return Z.some(w.isTermsFormField)}),[Z]),de=o.useMemo((function(){return!(!le||null==Z||0===Z.length)&&(1!==Z.length||Z[0].field_type!==w.VerificationFormFieldTypes.TERMS)}),[le,Z]),fe=o.useMemo((function(){return[{type:w.VerificationFormFieldTypes.TERMS,label:Y.default.Messages.MEMBER_VERIFICATION_FORM_ITEM_RULES,icon:Q(S.default,{className:z.default.icon,height:24,width:24}),disabled:!G||null!=Z&&Z.some(w.isTermsFormField),disabledText:G?Y.default.Messages.MEMBER_VERIFICATION_RULE_TOOLTIP:Y.default.Messages.MEMBER_VERIFICATION_NEED_RULES_CHANNEL_PERMS},{type:w.VerificationFormFieldTypes.TEXT_INPUT,label:Y.default.Messages.MEMBER_VERIFICATION_FORM_ITEM_TEXT_INPUT,icon:Q(b.default,{className:z.default.icon,height:24,width:24}),disabled:!ue},{type:w.VerificationFormFieldTypes.PARAGRAPH,label:Y.default.Messages.MEMBER_VERIFICATION_FORM_ITEM_PARAGRAPH,icon:Q(I.default,{className:z.default.icon,height:24,width:24}),disabled:!ue},{type:w.VerificationFormFieldTypes.MULTIPLE_CHOICE,label:Y.default.Messages.MEMBER_VERIFICATION_FORM_ITEM_MULTIPLE_CHOICE,icon:Q(O.default,{className:z.default.icon,background:z.default.iconBackground,height:24,width:24}),disabled:!ue},{label:Y.default.Messages.MEMBER_VERIFICATION_FORM_ITEM_VERIFICATION,icon:Q(C.default,{className:z.default.icon,height:24,width:24}),disabled:!0}]}),[G,ue,Z]),ce=function(e){q(e),L.default.updateVerificationForm(r,e)},pe=function(e){if(null!=e){var t=ee[e];null!=t&&(0,N.openModal)((function(e){return o.createElement(t,J({},e,{onSave:function(e){ce([].concat(Z,[e]))}}))}),{onCloseRequest:W.NOOP})}},ve=function(e,t){var n=ee[e.field_type];null!=n&&(0,N.openModal)((function(r){return o.createElement(n,J({},r,{field:e,onSave:function(e){return function(e,t){if(!l.default.isEqual(Z[t],e)){a(!0);var n=[].concat(Z);n[t]=e,ce(n)}}(e,t)}}))}),{onCloseRequest:W.NOOP})},ye=function(e){(0,N.openModal)((function(t){return o.createElement(M.default,J({header:Y.default.Messages.MEMBER_VERIFICATION_DELETE_FIELD_CONFIRM_TITLE,confirmText:Y.default.Messages.REMOVE,cancelText:Y.default.Messages.CANCEL,onConfirm:function(){return function(e){a(!0),ce([].concat(Z.slice(0,e),Z.slice(e+1)))}(e)},onCancel:t.onClose},t),Q(P.default,{size:P.default.Sizes.SIZE_14},void 0,Y.default.Messages.MEMBER_VERIFICATION_DELETE_FIELD_CONFIRM_TEXT))}))},me=function(e,t,n){if(null!=Z){var r=Z.indexOf(e),a=[].concat(Z);null!=t&&t!==r&&(a.splice(r,1),a.splice(t,0,e),q(a)),n?(ce(a),ie(null)):ie(t)}},_e=function(e){switch(e.field_type){case w.VerificationFormFieldTypes.VERIFICATION:return T?re:ae;case w.VerificationFormFieldTypes.TERMS:return Q(x.default,{field:e,channelId:j,isSettingsView:!0});case w.VerificationFormFieldTypes.TEXT_INPUT:return Q(V.default,{field:e,isSettingsView:!0});case w.VerificationFormFieldTypes.PARAGRAPH:return Q(B.default,{field:e,isSettingsView:!0});case w.VerificationFormFieldTypes.MULTIPLE_CHOICE:return Q(F.default,{field:e,isSettingsView:!0});default:return null}},he=null;se&&(G?!g&&ue&&(he=Y.default.Messages.MEMBER_VERIFICATION_PREVIEW_DISABLED_MARKDOWN_WARNING):he=Y.default.Messages.MEMBER_VERIFICATION_NEED_RULES_CHANNEL_PERMS);var Ee=Z.length===D.MAX_FORM_ELEMENTS;return Q(m.default,{align:m.default.Align.START,justify:m.default.Justify.BETWEEN},void 0,Q("div",{className:z.default.addFieldButtonsContainer},void 0,ue&&(de?Q("div",{className:z.default.approvalTypeNotice},void 0,Q(A.default,{size:A.default.Sizes.SIZE_12,className:z.default.manualApprovalTitle},void 0,Y.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_MANUAL_APPROVAL),Q(P.default,{size:P.default.Sizes.SIZE_12,color:P.default.Colors.HEADER_SECONDARY,className:z.default.approvalTypeBody},void 0,Y.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_MANUAL_APPROVAL_DESCRIPTION)):Q("div",{className:z.default.approvalTypeNotice},void 0,Q(A.default,{size:A.default.Sizes.SIZE_12,className:z.default.autoApprovalTitle},void 0,Y.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_AUTO_APPROVAL),Q(P.default,{size:P.default.Sizes.SIZE_12,color:P.default.Colors.HEADER_SECONDARY,className:z.default.approvalTypeBody},void 0,Y.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_AUTO_APPROVAL_DESCRIPTION))),Q(E.default,{},void 0,Y.default.Messages.MEMBER_VERIFICATION_ADD_QUESTION),fe.map((function(e){var t=e.type,n=e.icon,r=e.label,a=e.disabled,o=e.disabledText;return Q(te,{icon:n,label:r,disabled:Ee||a,disabledText:Ee?Y.default.Messages.MEMBER_VERIFICATION_FORM_FIELDS_LIMIT.format({number:D.MAX_FORM_ELEMENTS}):o,onClick:function(){return pe(t)}},r)}))),Q("div",{className:z.default.previewContainer},void 0,null!=he?Q(_.default,{backgroundColor:_.Colors.BACKGROUND_ACCENT,className:z.default.errorBanner},void 0,he):null,Q("div",{className:z.default.editableFieldsContainer},void 0,D.REQUIRED_FORM_FIELDS.map((function(e,t){return Q(ne,{field:e,inputComponent:_e(e),index:t,disableEdit:!0,disabledText:Y.default.Messages.MEMBER_VERIFICATION_FORM_REQUIRED_ITEM,draggable:!1},"required-"+t)}))),0===Z.length?Q(m.default,{direction:m.default.Direction.VERTICAL,align:m.default.Align.CENTER,className:z.default.getStartedWrapper},void 0,Q("img",{alt:"",src:i===W.ThemeTypes.DARK?K.default:$.default,className:z.default.getStartedIcon}),Q(A.default,{size:A.default.Sizes.SIZE_20,className:z.default.getStartedTitle},void 0,Y.default.Messages.MEMBER_VERIFICATION_GET_STARTED_TITLE),Q(P.default,{className:z.default.getStartedSubtitle},void 0,Y.default.Messages.MEMBER_VERIFICATION_GET_STARTED_SUBTITLE),Q(h.default,{text:G?null:Y.default.Messages.MEMBER_VERIFICATION_NEED_RULES_CHANNEL_PERMS},void 0,(function(e){return o.createElement(v.default,J({},e,{disabled:!G,size:v.default.Sizes.SMALL,onClick:function(){return pe(w.VerificationFormFieldTypes.TERMS)}}),Y.default.Messages.MEMBER_VERIFICATION_GET_STARTED_BUTTON)}))):Q("div",{className:z.default.editableFieldsContainer},void 0,Z.map((function(e,t){return Q(ne,{field:e,inputComponent:_e(e),index:t,disableEdit:(0,w.isTermsFormField)(e)&&!G,disabledText:Y.default.Messages.MEMBER_VERIFICATION_NEED_RULES_CHANNEL_PERMS,onEdit:ve,onDelete:ye,onFieldReorder:me,isDropHovered:t===oe},"field-"+t)})))))};oe.displayName="MemberVerificationFormBuilder";var ie=oe;t.default=ie},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=e.background,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground","background"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}),s("circle",{className:f,cx:"8",cy:"8",r:"8",fill:d}),s("path",{className:c,fillRule:"evenodd",clipRule:"evenodd",d:"M11.06 6L8 9.09042L4.94 6L4 6.95142L8 11L12 6.95142L11.06 6Z"}))}d.displayName="MultipleChoice"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}),s("rect",{className:f,y:"3",width:"16",height:"2",rx:"1",fill:d}),s("rect",{className:f,y:"11",width:"8",height:"2",rx:"1",fill:d}),s("rect",{className:f,y:"7",width:"16",height:"2",rx:"1",fill:d}))}d.displayName="Paragraph"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?17:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg"}),s("rect",{className:f,y:"5",width:"16",height:"2",rx:"1",fill:d}),s("rect",{className:f,y:"9",width:"8",height:"2",rx:"1",fill:d}))}d.displayName="ShortAnswer"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=S(n(9)),i=n(5941),l=S(n(29)),u=S(n(55)),s=S(n(153)),d=S(n(149)),f=n(85),c=S(n(686)),p=S(n(8528)),v=n(35),y=S(n(47)),m=S(n(24)),_=n(8301),h=n(8262),E=S(n(6)),g=S(n(7355));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(){return(I=Object.assign||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}).apply(this,arguments)}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var C=function(e){var t,n=e.choice,r=e.index,u=e.onChange,d=e.onClear,f=e.onReorder,v=e.isDropHovered,y=a.useRef(null),m=a.useRef(null),_=(0,i.useDrag)({item:{type:"MULTIPLE_CHOICE",choice:n,index:r},end:function(e,t){null==e||t.didDrop()||f(e.choice,null,!0)}}),h=_[1],S=_[2],O=(0,i.useDrop)({accept:"MULTIPLE_CHOICE",hover:function(e,t){var n,a=e.index,o=null===(n=y.current)||void 0===n?void 0:n.getBoundingClientRect(),i=t.getClientOffset();if(null!=o&&null!=i){var l=(o.bottom-o.top)/2,u=i.y-o.top;a<r&&u<l||a>r&&u>l||f(e.choice,r,!1)}},drop:function(e){f(e.choice,r,!0)}})[1];return h(m),S(O(y)),a.createElement("div",{ref:y,className:(0,o.default)(g.default.draggableInputContainer,(t={},t[g.default.dragging]=v,t))},T("div",{className:g.default.inputWrapper},void 0,T(s.default,{autoFocus:!0,onChange:function(e){return u(e)},placeholder:E.default.Messages.MEMBER_VERIFICATION_MULTIPLE_CHOICE_PLACEHOLDER.format({index:r+1}),value:n}),T(l.default,{className:g.default.clearButtonRight,onClick:d,look:l.default.Looks.BLANK,size:l.default.Sizes.NONE},void 0,T(c.default,{className:g.default.clearIcon}))),a.createElement("div",{ref:m,className:g.default.dragContainer},T(p.default,{className:g.default.dragIcon})))};C.displayName="DraggableChoiceRow";var b=function(e){var t,n,r=e.field,o=e.transitionState,i=e.onSave,c=e.onClose,p=a.useState(null!==(t=null==r?void 0:r.label)&&void 0!==t?t:""),S=p[0],O=p[1],b=a.useState(null!==(n=null==r?void 0:r.choices)&&void 0!==n?n:[""]),M=b[0],N=b[1],A=a.useState(null),P=A[0],R=A[1],L=a.useState(null),D=L[0],w=L[1],j=(0,f.useUID)(),k=function(){M.length!==_.MAX_NUM_CHOICES&&N([].concat(M,[""]))},U=function(e,t,n){if(null!=M){var r=M.indexOf(e),a=[].concat(M);null!=t&&t!==r&&(a.splice(r,1),a.splice(t,0,e),N(a)),w(n?null:t)}},G=M.length===_.MAX_NUM_CHOICES;return T(v.ModalRoot,{transitionState:o,"aria-labelledby":j},void 0,T(v.ModalContent,{className:g.default.modalContent},void 0,T(y.default,{size:y.default.Sizes.SIZE_16,className:g.default.headerText,id:j},void 0,E.default.Messages.MEMBER_VERIFICATION_FORM_ITEM_MULTIPLE_CHOICE),T(s.default,{autoFocus:!0,className:g.default.spacedItem,onChange:function(e){var t=e.replace(/(\r\n|\n|\r)/g," ");t.length>_.MAX_QUESTION_LENGTH&&(t=e.slice(0,_.MAX_QUESTION_LENGTH)),O(t)},placeholder:E.default.Messages.MEMBER_VERIFICATION_FIELD_QUESTION,value:S}),T("div",{className:g.default.divider}),M.map((function(e,t){return T(C,{choice:e,index:t,onChange:function(e){return function(e,t){var n=e.replace(/(\r\n|\n|\r)/g," ");n.length>_.MAX_CHOICE_LENGTH&&(n=n.slice(0,_.MAX_CHOICE_LENGTH));var r=[].concat(M);r[t]=n,N(r)}(e,t)},onClear:function(){return function(e){var t=[].concat(M.slice(0,e),M.slice(e+1));N(0===t.length?[""]:t)}(t)},onReorder:U,isDropHovered:t===D},"choice-"+t)})),T(d.default,{text:G?E.default.Messages.MEMBER_VERIFICATION_MULTIPLE_CHOICE_LIMIT.format({number:_.MAX_NUM_CHOICES}):null},void 0,(function(e){return a.createElement(l.default,I({},e,{onClick:k,disabled:G,color:l.default.Colors.GREY,size:l.default.Sizes.SMALL,className:g.default.addItemButton}),E.default.Messages.MEMBER_VERIFICATION_MULTIPLE_CHOICE_ADD)})),P&&T(m.default,{className:g.default.errorText,size:m.default.Sizes.SIZE_12,color:m.default.Colors.ERROR},void 0,P)),T(v.ModalFooter,{justify:u.default.Justify.BETWEEN},void 0,T(u.default,{grow:0},void 0,T(l.default,{className:g.default.cancelButton,color:l.default.Colors.GREY,onClick:c,size:l.default.Sizes.SMALL},void 0,E.default.Messages.CANCEL),T(l.default,{onClick:function(){var e=S.trim();if(""!==e)if(0!==M.map((function(e){return e.trim()})).filter((function(e){return""!==e})).length){var t={field_type:h.VerificationFormFieldTypes.MULTIPLE_CHOICE,label:e,choices:M,required:!0};i(t),c()}else R(E.default.Messages.MEMBER_VERIFICATION_CHOICES_REQUIRED_ERROR);else R(E.default.Messages.MEMBER_VERIFICATION_FIELD_QUESTION_REQUIRED_ERROR)},size:l.default.Sizes.SMALL},void 0,E.default.Messages.SAVE))))};b.displayName="MultipleChoiceModal";var M=b;t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=R();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=P(n(9)),i=P(n(188)),l=n(5941),u=P(n(8325)),s=n(3),d=P(n(8257)),f=P(n(8391)),c=P(n(10)),p=P(n(8255)),v=P(n(29)),y=P(n(61)),m=P(n(55)),_=P(n(149)),h=n(85),E=P(n(159)),g=P(n(686)),S=P(n(8528)),O=n(35),I=P(n(47)),T=P(n(24)),C=n(8301),b=n(8262),M=n(1),N=P(n(6)),A=P(n(7355));function P(e){return e&&e.__esModule?e:{default:e}}function R(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return R=function(){return e},e}function L(){return(L=Object.assign||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}).apply(this,arguments)}function D(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var w=function(e){var t,n=e.rule,r=e.rulesChannel,i=e.index,s=e.onChange,d=e.onKeyDown,c=e.onClear,p=e.onRuleReorder,m=e.isDropHovered,_=e.focused,h=e.onFocus,E=e.previewEnabled,O=a.useRef(null),I=a.useRef(null),b=a.useState({textValue:n.value,richValue:u.default.deserialize(n.value)}),P=b[0],R=P.textValue,L=P.richValue,w=b[1],j=(0,l.useDrag)({item:{type:"RULE",rule:n,index:i},end:function(e,t){null==e||t.didDrop()||p(e.rule,null,!0)}}),k=j[1],U=j[2],G=(0,l.useDrop)({accept:"RULE",hover:function(e,t){var n,r=e.index,a=null===(n=O.current)||void 0===n?void 0:n.getBoundingClientRect(),o=t.getClientOffset();if(null!=a&&null!=o){var l=(a.bottom-a.top)/2,u=o.y-a.top;r<i&&u<l||r>i&&u>l||p(e.rule,i,!1)}},drop:function(e){p(e.rule,i,!0)}})[1];k(I),U(G(O));return a.useEffect((function(){""!==n.value&&""===R&&w({textValue:n.value,richValue:u.default.deserialize(n.value)})}),[n.value,R]),null==r?null:a.createElement("div",{ref:O,className:(0,o.default)(A.default.draggableInputContainer,(t={},t[A.default.dragging]=m,t))},D("div",{className:A.default.inputWrapper},void 0,D(y.default,{onMouseDown:function(){return h(i)}},void 0,D(f.default,{innerClassName:A.default.rulesTextAreaInput,type:M.TextareaTypes.RULES_INPUT,textValue:R,richValue:L,channel:r,placeholder:N.default.Messages.MEMBER_VERIFICATION_RULE_PLACEHOLDER,focused:_,onChange:function(e,t,n){var r=t;r.length>C.MAX_RULE_LENGTH&&(r=r.slice(0,C.MAX_RULE_LENGTH)),t!==r&&(t=r,n=u.default.deserialize(r)),s(t),w({textValue:t,richValue:n})},onKeyDown:d,canMentionChannels:E,canMentionRoles:E,maxCharacterCount:C.MAX_RULE_LENGTH,characterCountClassName:A.default.characterCount,onSubmit:function(){return Promise.resolve({shouldClear:!1,shouldRefocus:!0})}})),D(v.default,{className:A.default.clearButton,onClick:c,look:v.default.Looks.BLANK,size:v.default.Sizes.NONE},void 0,D(g.default,{className:A.default.clearIcon})),D(T.default,{className:A.default.rulesInputNumber,size:T.default.Sizes.SIZE_16,color:T.default.Colors.MUTED},void 0,i+1+".")),a.createElement("div",{ref:I,className:A.default.dragContainer},D(S.default,{className:A.default.dragIcon})))};w.displayName="DraggableRulesRow";var j=function(e){var t,n=e.shortRule,r=e.fullRule,i=e.disabled,l=e.onClick,u=D(T.default,{},void 0,n);return i?D(_.default,{text:N.default.Messages.MEMBER_VERIFICATION_RULE_LIMIT.format({number:C.MAX_NUM_RULES})},void 0,(function(e){var t;return a.createElement("div",L({},e,{className:(0,o.default)(A.default.exampleRule,(t={},t[A.default.disabled]=i,t))}),u)})):D(y.default,{className:(0,o.default)(A.default.exampleRule,(t={},t[A.default.disabled]=i,t)),onClick:function(){return l(r)}},void 0,D(T.default,{},void 0,n))},k=function(e){var t=e.field,n=e.transitionState,r=e.onSave,o=e.onClose,l=(0,s.useStateFromStores)([p.default],(function(){return p.default.getProps().guild})),u=null==l?void 0:l.rulesChannelId,f=null==l?void 0:l.hasFeature(M.GuildFeatures.PREVIEW_ENABLED),y=(0,s.useStateFromStores)([c.default],(function(){return null!=u?c.default.getChannel(u):null})),g=a.useState(null!=(null==t?void 0:t.values)?null==t?void 0:t.values.map((function(e){return{id:(0,i.default)(),value:e}})):[{id:(0,i.default)(),value:""}]),S=g[0],P=g[1],R=a.useState(null),k=R[0],U=R[1],G=a.useState(null),F=G[0],B=G[1],H=a.useState(0),x=H[0],V=H[1],W=(0,h.useUID)(),Y=function(e){if(S.length!==C.MAX_NUM_RULES)if(null!=e&&""===S[S.length-1].value){var t=[].concat(S);t[S.length-1].value=e,P(t),V(t.length-1)}else P([].concat(S,[{id:(0,i.default)(),value:null!=e?e:""}])),V(S.length)},z=a.useCallback((function(e,t,n){if(null!=S){var r=S.indexOf(e);if(null!=t&&t!==r){var a=[].concat(S);a.splice(r,1),a.splice(t,0,e),P(a)}B(n?null:t)}}),[S,P]);if(null==l||null==y)return null;var K=S.length===C.MAX_NUM_RULES;return D(d.default,{page:M.AnalyticsPages.GUILD_RULES_CREATE_MODAL},void 0,D(O.ModalRoot,{className:A.default.modal,size:O.ModalSize.MEDIUM,transitionState:n,"aria-labelledby":W},void 0,D(O.ModalContent,{className:A.default.modalContent},void 0,D(I.default,{size:I.default.Sizes.SIZE_16,className:A.default.headerText,id:W},void 0,N.default.Messages.MEMBER_VERIFICATION_FORM_ITEM_RULES),S.map((function(e,t){return D(w,{rulesChannel:y,rule:e,index:t,onChange:function(e){return function(e,t){var n=[].concat(S);n[t].value=e,P(n)}(e,t)},onClear:function(){return function(e){var t=[].concat(S.slice(0,e),S.slice(e+1));P(0===t.length?[{id:(0,i.default)(),value:""}]:t)}(t)},onRuleReorder:z,isDropHovered:t===F,focused:t===x,onFocus:V,previewEnabled:null==f||f},e.id)})),D(_.default,{text:K?N.default.Messages.MEMBER_VERIFICATION_RULE_LIMIT.format({number:C.MAX_NUM_RULES}):null},void 0,(function(e){return a.createElement(v.default,L({},e,{className:A.default.addItemButton,color:v.default.Colors.GREY,size:v.default.Sizes.SMALL,disabled:K,onClick:function(){return Y()}}),N.default.Messages.MEMBER_VERIFICATION_ADD_RULE)})),D("div",{className:A.default.divider}),D(E.default,{},void 0,N.default.Messages.MEMBER_VERIFICATION_EXAMPLE_RULES),D(m.default,{direction:m.default.Direction.VERTICAL},void 0,D(m.default,{wrap:m.default.Wrap.WRAP,justify:m.default.Justify.START},void 0,D(j,{shortRule:N.default.Messages.MEMBER_VERIFICATION_RULE_BE_RESPECTFUL,fullRule:N.default.Messages.MEMBER_VERIFICATION_RULE_BE_RESPECTFUL_FULL,disabled:K,onClick:Y}),D(j,{shortRule:N.default.Messages.MEMBER_VERIFICATION_RULE_NO_SPAM,fullRule:N.default.Messages.MEMBER_VERIFICATION_RULE_NO_SPAM_FULL,disabled:K,onClick:Y})),D(m.default,{wrap:m.default.Wrap.WRAP,justify:m.default.Justify.START},void 0,D(j,{shortRule:N.default.Messages.MEMBER_VERIFICATION_RULE_NO_NSFW,fullRule:N.default.Messages.MEMBER_VERIFICATION_RULE_NO_NSFW_FULL,disabled:K,onClick:Y}),D(j,{shortRule:N.default.Messages.MEMBER_VERIFICATION_RULE_SAFE,fullRule:N.default.Messages.MEMBER_VERIFICATION_RULE_SAFE_FULL,disabled:K,onClick:Y}))),k&&D(T.default,{className:A.default.errorText,size:T.default.Sizes.SIZE_12,color:T.default.Colors.ERROR},void 0,k)),D(O.ModalFooter,{},void 0,D(v.default,{onClick:function(){var e=S.map((function(e){return e.value.trim()})).filter((function(e){return""!==e}));if(0!==e.length){var t={field_type:b.VerificationFormFieldTypes.TERMS,label:N.default.Messages.MEMBER_VERIFICATION_FORM_RULES_LABEL,values:e,required:!0};r(t),o()}else U(N.default.Messages.MEMBER_VERIFICATION_RULES_REQUIRED_ERROR)},size:v.default.Sizes.SMALL},void 0,N.default.Messages.SAVE),D(v.default,{className:A.default.cancelButton,color:v.default.Colors.GREY,onClick:o,size:v.default.Sizes.SMALL},void 0,N.default.Messages.CANCEL))))};k.displayName="RulesFieldModal";var U=k;t.default=U},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParagraphFieldModal=t.TextInputFieldModal=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=_(n(29)),i=_(n(55)),l=_(n(8272)),u=_(n(153)),s=n(85),d=n(35),f=_(n(47)),c=_(n(24)),p=n(8301),v=n(8262),y=_(n(6)),m=_(n(7355));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(){return(E=Object.assign||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}).apply(this,arguments)}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var S=function(e){var t,n,r=e.type,_=e.title,h=e.field,E=e.transitionState,S=e.onSave,O=e.onClose,I=a.useState(null!==(t=null==h?void 0:h.label)&&void 0!==t?t:""),T=I[0],C=I[1],b=a.useState(null!==(n=null==h?void 0:h.placeholder)&&void 0!==n?n:""),M=b[0],N=b[1],A=a.useState(null),P=A[0],R=A[1],L=(0,s.useUID)(),D=r===v.VerificationFormFieldTypes.TEXT_INPUT?u.default:l.default;return g(d.ModalRoot,{transitionState:E,"aria-labelledby":L},void 0,g(d.ModalContent,{className:m.default.modalContent},void 0,g(f.default,{size:f.default.Sizes.SIZE_16,className:m.default.headerText,id:L},void 0,_),g(u.default,{className:m.default.spacedItem,onChange:function(e){var t=e.replace(/(\r\n|\n|\r)/g," ");t.length>p.MAX_QUESTION_LENGTH&&(t=t.slice(0,p.MAX_QUESTION_LENGTH)),C(t)},placeholder:y.default.Messages.MEMBER_VERIFICATION_FIELD_QUESTION,value:T}),g(D,{onChange:function(e){var t=e.replace(/(\r\n|\n|\r)/g," ");t.length>p.MAX_PLACEHOLDER_LENGTH&&(t=t.slice(0,p.MAX_PLACEHOLDER_LENGTH)),N(t)},placeholder:y.default.Messages.MEMBER_VERIFICATION_FIELD_PLACEHOLDER,value:M}),P&&g(c.default,{className:m.default.errorText,size:c.default.Sizes.SIZE_12,color:c.default.Colors.ERROR},void 0,P)),g(d.ModalFooter,{justify:i.default.Justify.BETWEEN},void 0,g(i.default,{grow:0},void 0,g(o.default,{className:m.default.cancelButton,color:o.default.Colors.GREY,onClick:O,size:o.default.Sizes.SMALL},void 0,y.default.Messages.CANCEL),g(o.default,{onClick:function(){var e=T.trim();""===e&&R(y.default.Messages.MEMBER_VERIFICATION_FIELD_QUESTION_REQUIRED_ERROR);var t={field_type:r,label:e,placeholder:M.trim(),required:!0};S(t),O()},size:o.default.Sizes.SMALL},void 0,y.default.Messages.SAVE))))};S.displayName="TextFieldModal";var O=function(e){return a.createElement(S,E({title:y.default.Messages.MEMBER_VERIFICATION_FORM_ITEM_TEXT_INPUT,type:v.VerificationFormFieldTypes.TEXT_INPUT},e))};t.TextInputFieldModal=O,O.displayName="TextInputFieldModal";var I=function(e){return a.createElement(S,E({title:y.default.Messages.MEMBER_VERIFICATION_FORM_ITEM_PARAGRAPH,type:v.VerificationFormFieldTypes.PARAGRAPH},e))};t.ParagraphFieldModal=I,I.displayName="ParagraphFieldModal"},function(e,t,n){e.exports=n.p+"ad082dc120a6e6a20b3062870b34d4b5.svg"},function(e,t,n){e.exports=n.p+"2829631f7e09423e4c97e995647a9a65.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=E(n(9)),o=n(3),i=E(n(39)),l=E(n(1160)),u=E(n(55)),s=E(n(159)),d=E(n(47)),f=E(n(24)),c=n(1),p=E(n(6)),v=E(n(7675)),y=E(n(7350)),m=E(n(7345)),_=E(n(9764)),h=E(n(9765));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var O=function(e){var t=e.width,n=e.className;return S("div",{className:(0,a.default)(v.default.exampleTextSingleLine,n),style:{width:t}})};O.displayName="ExampleTextSingleLine";var I=S(O,{width:"70%"}),T=function(e){var t=e.className;return S(u.default,{className:t,direction:u.default.Direction.VERTICAL,align:u.default.Align.START},void 0,S(O,{width:"100%",className:v.default.spacedSingleLine}),S(O,{width:"50%",className:v.default.spacedSingleLine}),I)};T.displayName="ExampleTextMultiLine";var C=S(T,{}),b=S(O,{width:"80px"}),M=S(O,{width:"80px"}),N=function(){var e=(0,o.useStateFromStores)([i.default],(function(){return i.default.theme}));return S("div",{className:v.default.exampleContainer},void 0,S("div",{className:v.default.exampleWumpus},void 0,S("img",{className:v.default.wumpus,alt:"",src:n(8767)}),S("div",{className:v.default.tooltipPointer}),S("div",{className:v.default.tooltip},void 0,p.default.Messages.GUILD_SETTINGS_EXAMPLE_TOOLTIP)),S(u.default,{className:v.default.exampleModal},void 0,S(u.default,{className:v.default.guildSidebar,direction:u.default.Direction.VERTICAL,justify:u.default.Justify.BETWEEN},void 0,S("div",{className:v.default.guildInfo},void 0,S("img",{alt:"",className:y.default.guildIcon,src:n(8973),width:48,height:48}),S(d.default,{size:d.default.Sizes.SIZE_20,className:y.default.guildName},void 0,p.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_EXAMPLE_GUILD_NAME),C),S("div",{},void 0,S(u.default,{align:u.default.Align.CENTER,className:y.default.onlineCount},void 0,S("div",{className:y.default.dotOnline}),b),S(u.default,{align:u.default.Align.CENTER},void 0,S("div",{className:y.default.dotMembers}),M))),S("div",{className:v.default.content},void 0,S("img",{alt:"",src:e===c.ThemeTypes.DARK?_.default:h.default,className:v.default.applicationIcon}),S(d.default,{size:d.default.Sizes.SIZE_24,className:v.default.header},void 0,p.default.Messages.MEMBER_VERIFICATION_MODAL_TITLE),S(f.default,{size:f.default.Sizes.SIZE_14,color:f.default.Colors.HEADER_SECONDARY},void 0,p.default.Messages.MEMBER_VERIFICATION_MODAL_SUBTITLE),S("hr",{className:v.default.divider}),S("div",{className:v.default.formItem},void 0,S(s.default,{},void 0,p.default.Messages.MEMBER_VERIFICATION_FORM_RULES_LABEL),S("div",{className:m.default.formFieldWrapper},void 0,[1,2,3,4].map((function(e){return S("div",{className:m.default.termsRow},e,S(f.default,{size:f.default.Sizes.SIZE_16,color:f.default.Colors.MUTED},void 0,e+"."),S(T,{className:v.default.rule}))}))),S(l.default,{size:20,type:l.default.Types.INVERTED,value:!0,className:v.default.checkbox},void 0,S(f.default,{className:m.default.checkboxText,size:f.default.Sizes.SIZE_16},void 0,p.default.Messages.MEMBER_VERIFICATION_READ_RULES))),S("div",{className:y.default.footer},void 0,S("div",{className:v.default.fakeButton},void 0,p.default.Messages.SUBMIT)))))};N.displayName="GuildSettingsMemberVerificationIntroExample";var A=N;t.default=A},function(e,t,n){e.exports=n.p+"65dbc9c659143d244038e4d4b496a058.svg"},function(e,t,n){e.exports=n.p+"0fea698e63eef5b6d219258e7d1da1e6.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=g(n(9)),i=n(3),l=g(n(61)),u=g(n(681)),s=g(n(8354)),d=g(n(5971)),f=g(n(5950)),c=g(n(47)),p=g(n(24)),v=g(n(8294)),y=g(n(8673)),m=n(8262),_=g(n(9767)),h=g(n(6)),E=g(n(7678));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var I=function(e){var t=e.guildId,n=e.selectedIndex,r=e.applicationStatus,g=e.setSelectedIndex,S=e.page,I=a.useState(S-1),T=I[0],C=I[1],b=(0,i.useStateFromStoresObject)([y.default],(function(){var e=y.default.getRequests(t)[r],a=e.requests;return{total:e.total,selectedJoinRequest:a[n]}})),M=b.selectedJoinRequest,N=b.total;if(null==M)return null;var A=m.MAX_RESULTS_PER_PAGE*T+(n+1)<N,P=0!==T||0!==n;return O(u.default,{},void 0,O("div",{className:E.default.header},void 0,O(l.default,{onClick:function(){g(null)}},void 0,O(s.default,{direction:s.default.Directions.LEFT,className:E.default.back})),O(c.default,{size:c.default.Sizes.SIZE_16,muted:!0},void 0,h.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION),O(f.default,{className:E.default.chevron}),O(c.default,{size:c.default.Sizes.SIZE_16},void 0,h.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_REVIEW_APPLICATION_TITLE)),O(p.default,{color:p.default.Colors.HEADER_SECONDARY},void 0,h.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_REVIEW_APPLICATION_DESCRIPTION),O("div",{className:E.default.navbar},void 0,P?O(l.default,{onClick:function(){if(0!==n||0!==T)return 0===n?(v.default.fetchGuildJoinRequests({guildId:t,status:r,after:new Date(M.createdAt).getTime()}),g(m.MAX_RESULTS_PER_PAGE-1),void C(T-1)):void g(n-1)},className:(0,o.default)(E.default.navButton,E.default.previous)},void 0,O(d.default,{direction:s.default.Directions.LEFT,className:(0,o.default)(E.default.chevron,E.default.navSpacing)}),O(c.default,{muted:!0},void 0,h.default.Messages.PAGINATION_PREVIOUS)):null,A?O(l.default,{onClick:function(){n+1>=m.MAX_RESULTS_PER_PAGE?(v.default.fetchGuildJoinRequests({guildId:t,status:r,before:new Date(M.createdAt).getTime()}),g(0),C(T+1)):g(n+1)},className:(0,o.default)(E.default.navButton,E.default.next)},void 0,O(c.default,{muted:!0,className:E.default.navSpacing},void 0,h.default.Messages.PAGINATION_NEXT),O(f.default,{direction:s.default.Directions.RIGHT,className:E.default.chevron})):null,O(p.default,{className:E.default.navbarTitle},void 0,h.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_REVIEW_PENDING_APPLICATIONS.format({count:N}))),O("hr",{className:E.default.separator}),O(_.default,{guildId:t,guildJoinRequest:M}))};I.displayName="GuildSettingsMemberVerificationReviewApplication";var T=I;t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=N();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=M(n(9)),i=n(3),l=M(n(8604)),u=M(n(89)),s=M(n(8255)),d=M(n(15)),f=M(n(40)),c=M(n(29)),p=M(n(372)),v=M(n(255)),y=M(n(8431)),m=n(41),_=M(n(279)),h=M(n(47)),E=M(n(24)),g=M(n(8294)),S=n(8262),O=M(n(9768)),I=M(n(8907)),T=n(1),C=M(n(6)),b=M(n(7677));function M(e){return e&&e.__esModule?e:{default:e}}function N(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return N=function(){return e},e}function A(){return(A=Object.assign||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}).apply(this,arguments)}function P(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var R=function(e){var t=e.onApprove,n=e.onDeny,r=e.onBan,l=e.canBanUser,u=e.guildJoinRequest,d=u.applicationStatus,f=u.actionedByUser,m=u.actionedAt,_=u.rejectionReason,g=u.user;if(null==g)throw new Error("Missing user on this guild join request!");var O=(0,i.useStateFromStores)([s.default],(function(){return s.default.getProps().bans})),I=null!=O?O[g.id]:null;switch(d){case S.GuildJoinRequestApplicationStatuses.PENDING:return a.createElement(a.Fragment,null,P(c.default,{onClick:t},void 0,C.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_APPROVE_APPLICATION),P("hr",{className:b.default.sidebarSeparator}),P(c.default,{color:c.default.Colors.RED,onClick:function(){return n()}},void 0,C.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_DENY_APPLICATION),l?P(c.default,{color:c.default.Colors.PRIMARY,onClick:function(){n(!0)},className:b.default.buttonSpacing},void 0,C.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_DENY_AND_BAN_APPLICATION):null);case S.GuildJoinRequestApplicationStatuses.APPROVED:case S.GuildJoinRequestApplicationStatuses.REJECTED:var T=d===S.GuildJoinRequestApplicationStatuses.APPROVED,M=null!=I?y.default:T?p.default:v.default,N=null;return null!=I?N=a.createElement(a.Fragment,null,P(h.default,{size:h.default.Sizes.SIZE_12,muted:!0,className:b.default.sidebarTitle},void 0,null!=I.reason?C.default.Messages.BAN_REASON:C.default.Messages.NO_BAN_REASON),null!=I.reason?P(E.default,{color:E.default.Colors.HEADER_SECONDARY,className:b.default.rejectionReason},void 0,I.reason):null):l&&(N=P(c.default,{color:c.default.Colors.PRIMARY,onClick:r},void 0,C.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_BAN_USER)),a.createElement(a.Fragment,null,P(M,{className:(0,o.default)(b.default.statusIcon,T?b.default.approvedIcon:b.default.deniedIcon),width:24,height:24}),P(h.default,{size:h.default.Sizes.SIZE_16,className:b.default.status},void 0,null!=I?C.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_BANNED:T?C.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_APPROVED:C.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_DENIED),null!=f&&null!=m?P(E.default,{color:E.default.Colors.HEADER_SECONDARY,className:b.default.actionedBy},void 0,C.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_ACTIONED_BY.format({username:f.username,discriminator:f.discriminator,date:new Date(m).toLocaleString(C.default.getLocale(),{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"})})):null,null!=_?a.createElement(a.Fragment,null,P("hr",{className:b.default.sidebarSeparator}),P(h.default,{size:h.default.Sizes.SIZE_12,muted:!0,className:b.default.sidebarTitle},void 0,C.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_REASON_TITLE),P(E.default,{color:E.default.Colors.HEADER_SECONDARY,className:b.default.rejectionReason},void 0,_),N):null);default:return null}},L=function(e){var t=e.guildId,n=e.guildJoinRequest,r=new u.default(n.user),o=n.createdAt,s=n.formResponses,c=(0,i.useStateFromStores)([d.default],(function(){return d.default.getGuild(t)}),[t]),p=(0,i.useStateFromStores)([f.default],(function(){return null!=c&&f.default.canManageUser(T.Permissions.BAN_MEMBERS,r,c)}),[r,c]),v=function(){p&&(0,m.openModal)((function(e){return a.createElement(l.default,A({},e,{guildId:t,user:r}))}))};return P("div",{className:b.default.container},void 0,P("div",{className:b.default.application},void 0,P(_.default,{size:_.default.Sizes.SIZE_80,src:r.getAvatarURL(t),"aria-label":r.username,className:b.default.avatar}),P("div",{className:b.default.username},void 0,P(h.default,{size:h.default.Sizes.SIZE_24},void 0,r.toString()),P(E.default,{color:E.default.Colors.HEADER_SECONDARY,size:E.default.Sizes.SIZE_16},void 0,"#"+r.discriminator)),P(E.default,{color:E.default.Colors.HEADER_SECONDARY},void 0,C.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_APPLICATION_SUBMITTED_TIME.format({date:new Date(o).toLocaleString()})),P("hr",{className:b.default.applicationSeparator}),P(I.default,{guildId:t,formState:s,requestingUser:r})),P("div",{className:b.default.sidebar},void 0,P(R,{onApprove:function(){g.default.updateGuildJoinRequest(t,r.id,S.GuildJoinRequestApplicationStatuses.APPROVED)},onDeny:function(e){void 0===e&&(e=!1),(0,m.openModal)((function(n){return P(O.default,{modalProps:n,guildId:t,userId:r.id,onConfirm:e?v:void 0})}))},onBan:v,canBanUser:p,guildJoinRequest:n})))};L.displayName="GuildJoinRequestApplication";var D=L;t.default=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(8272)),i=d(n(466)),l=d(n(8294)),u=n(8262),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=function(e){var t=e.guildId,n=e.userId,r=e.onConfirm,d=e.modalProps,f=a.useState(),v=f[0],y=f[1];return a.createElement(i.default,c({header:s.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_DENY_MODAL_TITLE,cancelText:s.default.Messages.CANCEL,confirmText:s.default.Messages.GUILD_SETTINGS_MEMBER_VERIFICATION_DENY_APPLICATION,onConfirm:function(){l.default.updateGuildJoinRequest(t,n,u.GuildJoinRequestApplicationStatuses.REJECTED,v),null==r||r()}},d),p(o.default,{value:v,onChange:y,maxLength:160}))};v.displayName="DenyApplicationModal";var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=M,t.GuildSettingsRolesNotice=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=O(n(23)),i=n(3),l=O(n(199)),u=O(n(8254)),s=n(8459),d=O(n(8292)),f=O(n(684)),c=O(n(8355)),p=O(n(8255)),v=O(n(39)),y=n(48),m=n(8303),_=n(8529),h=O(n(9770)),E=O(n(9788)),g=O(n(9792)),S=n(1);function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(e){u.default.selectRole(e)}var b=function(){var e=(0,i.useStateFromStores)([p.default],(function(){return p.default.getProps()})).guild,t=(0,i.useStateFromStores)([c.default],(function(){return c.default.formState})),n=(0,i.useStateFromStores)([v.default],(function(){return v.default.theme}));return T(d.default,{onSave:function(){if(null!=e){var t=e.id,n=c.default.editedRoleIds.map((function(e){return c.default.getRole(e)})).filter(y.isNotNullish),r=c.default.getSortDeltas();(0,s.saveRoleSettings)(t,n,r)}},submitting:t===S.FormStates.SUBMITTING,onReset:s.init,theme:n})};function M(){var e=(0,i.useStateFromStoresObject)([c.default],(function(){return{guild:c.default.guild,roles:c.default.roles}}),[]),t=e.guild,n=e.roles;(0,o.default)(null!=t,"Guild cannot be null here");var r=a.useMemo((function(){return n.find((function(e){return e.id===t.id}))}),[n,t]);(0,o.default)(null!=r,"Guild must have an everyone role");var u=a.useMemo((function(){return n.filter((function(e){return e.id!==t.id}))}),[n,t]),s=(0,i.useStateFromStores)([p.default],(function(){return p.default.getSelectedRoleId()})),d=a.useState(u.length>0),v=d[0],y=d[1];a.useEffect((function(){y(v||u.length>0)}),[v,u.length]),a.useEffect((function(){var e=f.default.getMemberCount(t.id);null!=e&&e<=_.MAX_PREFETCH_MEMBER_COUNT&&l.default.requestMembers(t.id,"",0,!1)}),[]);var S=a.useState(m.GuildSettingsRoleEditSections.DISPLAY),O=S[0],I=S[1];return a.useEffect((function(){null==s&&I(m.GuildSettingsRoleEditSections.DISPLAY)}),[s]),null!=s?T(h.default,{editRoleId:s,setEditRoleId:C,selectedSection:O,setSelectedSection:I}):v?T(g.default,{setEditRoleId:C,guild:t,everyoneRole:r,otherRoles:u,setSelectedSection:I}):T(E.default,{guild:t,everyoneRole:r,setEditRoleId:C})}t.GuildSettingsRolesNotice=b,b.displayName="GuildSettingsRolesNotice",M.displayName="GuildSettingsRolesMain"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=M;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=I(n(23)),i=n(3),l=n(106),u=n(88),s=I(n(8355)),d=I(n(40)),f=n(131),c=I(n(13)),p=n(48),v=I(n(8460)),y=n(8303),m=n(8529),_=I(n(9771)),h=I(n(9777)),E=I(n(9780)),g=I(n(9783)),S=n(1),O=I(n(7693));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function b(){return(b=Object.assign||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}).apply(this,arguments)}function M(e){var t=e.editRoleId,n=e.setEditRoleId,r=e.selectedSection,I=e.setSelectedSection,T=(0,i.useStateFromStores)([s.default],(function(){return s.default.guild}),[]);(0,o.default)(null!=T,"guildId cannot be null here");var M=(0,i.useStateFromStores)([s.default],(function(){return s.default.getRole(t)}),[t]);a.useEffect((function(){null==M&&n(null)}),[M,n]);var N,A=(0,i.useStateFromStores)([d.default],(function(){return d.default.getHighestRole(T)}),[T]),P=(0,i.useStateFromStores)([d.default],(function(){return!d.default.isRoleHigher(T,A,M)})),R=a.useRef(null);if(a.useEffect((function(){var e,n,a=(0,m.getSectionAnalyticsName)(r),o=null!==(e=null===(n=v.default.getRoleMemberCount(T.id))||void 0===n?void 0:n[t])&&void 0!==e?e:0;c.default.track(S.AnalyticEvents.ROLE_PAGE_VIEWED,b({tab_opened:a,is_everyone:T.id===t,role_id:t,role_mentionable:null==M?void 0:M.mentionable,role_hoist:null==M?void 0:M.hoist,role_permissions:null==M?void 0:M.permissions.toString(),role_num_members:o},(0,l.collectGuildAnalyticsMetadata)(T.id)))}),[r,T.id,null==M?void 0:M.id]),null==M)return null;switch(r){case y.GuildSettingsRoleEditSections.DISPLAY:N=C(_.default,{guild:T,role:M,locked:P,highestRole:A,setSelectedSection:I});break;case y.GuildSettingsRoleEditSections.PERMISSIONS:N=C(E.default,{guild:T,role:M,locked:P,setSelectedSection:I});break;case y.GuildSettingsRoleEditSections.MEMBERS:N=C(h.default,{guild:T,role:M,locked:P,setSelectedSection:I});break;default:(0,p.assertNever)(r)}return C(f.FormSection,{className:O.default.page},void 0,C(g.default,{guild:T,currentRoleId:t,setCurrentRoleId:n,setSelectedSection:I}),a.createElement("div",{className:O.default.contentContainer,ref:R},C(u.FocusRingScope,{containerRef:R},void 0,N)))}M.displayName="GuildSettingsRolesEdit"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NameFormItem=G,t.ColorPickerFormItem=F,t.RolePreview=B,t.SettingsFormItem=H,t.default=x;var r,a=D(n(0)),o=R(n(9)),i=R(n(8)),l=n(3),u=n(8459),s=n(277),d=n(297),f=R(n(1263)),c=R(n(8975)),p=R(n(89)),v=R(n(40)),y=R(n(8496)),m=R(n(278)),_=R(n(8267)),h=R(n(153)),E=n(131),g=n(468),S=n(259),O=n(8303),I=n(8530),T=R(n(8675)),C=D(n(8531)),b=n(9775),M=n(1),N=R(n(6)),A=R(n(7682)),P=R(n(7356));function R(e){return e&&e.__esModule?e:{default:e}}function L(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return L=function(){return e},e}function D(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=L();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function w(){return(w=Object.assign||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}).apply(this,arguments)}function j(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var k=(0,s.makeLazy)({createPromise:function(){return Promise.all([n.e(0),n.e(9),n.e(15)]).then(n.t.bind(null,8421,7))},webpackId:8421}),U=i.default.debounce((function(e,t){return(0,u.updateRoleName)(e,t)}),200);function G(e){var t=e.role,n=e.disabled,r=a.useState(t.name),o=r[0],i=r[1];return a.useEffect((function(){i(t.name)}),[t.name]),j(E.FormItem,{title:N.default.Messages.FORM_LABEL_ROLE_NAME,required:!0},void 0,j(h.default,{type:"text",value:o,maxLength:I.ROLE_NAME_MAX_LENGTH,onChange:function(e){i(e),U(t.id,e)},disabled:n}))}function F(e){var t=e.role,n=e.disabled;return j(E.FormItem,{className:A.default.colorPicker,title:N.default.Messages.FORM_LABEL_ROLE_COLOR,required:!0},void 0,j(E.FormText,{className:A.default.colorDescription},void 0,N.default.Messages.ROLE_COLOR_HELP),j(k,{defaultColor:M.DEFAULT_ROLE_COLOR,colors:M.ROLE_COLORS,value:t.color,disabled:n,onChange:function(e){return function(e,t){e.color===t||t===M.DEFAULT_ROLE_COLOR&&0===e.color||(t===M.DEFAULT_ROLE_COLOR&&(t=0),(0,u.updateRoleColor)(e.id,t))}(t,e)},customPickerPosition:m.default.Positions.RIGHT},t.id))}function B(e){var t,r,o=e.role,i=(r=N.default.Messages.ROLE_SAMPLE_MESSAGE,a.useMemo((function(){var e=(0,d.createMessageRecord)(w({},(0,f.default)("1337",r),{state:M.MessageStates.SENT,id:"31337"}));return e.author=new p.default({id:"313337",username:N.default.Messages.WUMPUS,discriminator:"0000",bot:!1}),e.author.getAvatarURL=function(){return n(9776)},e}),[r])),l={nick:i.author.username,colorString:null!==(t=o.colorString)&&void 0!==t?t:void 0};return j(y.default,{},void 0,j("div",{className:A.default.previewContainer,"aria-hidden":!0},void 0,j("div",{className:(0,S.getThemeClass)(M.ThemeTypes.LIGHT)},void 0,j("div",{className:A.default.messageContainer},void 0,j(c.default,{author:l,message:i,isGroupStart:!0}))),j("div",{className:(0,S.getThemeClass)(M.ThemeTypes.DARK)},void 0,j("div",{className:A.default.messageContainer},void 0,j(c.default,{author:l,message:i,isGroupStart:!0})))))}function H(e){var t=e.role,n=e.disabled;return a.createElement(a.Fragment,null,j(_.default,{disabled:n,value:t.hoist,onChange:function(e){return(0,u.toggleRoleSettings)(t.id,e,t.mentionable)},hideBorder:!0},void 0,N.default.Messages.FORM_LABEL_HOIST_DESCRIPTION),j(E.FormDivider,{className:A.default.divider}),j(_.default,{disabled:n,value:t.mentionable,onChange:function(e){return(0,u.toggleRoleSettings)(t.id,t.hoist,e)},note:N.default.Messages.FORM_LABEL_MENTIONABLE_DESCRIPTION,hideBorder:!0},void 0,N.default.Messages.FORM_LABEL_MENTIONABLE.format()))}function x(e){var t,n=e.guild,r=e.role,i=e.locked,u=e.highestRole,s=e.setSelectedSection,d=(0,l.useStateFromStores)([v.default],(function(){return v.default.can(M.Permissions.ADMINISTRATOR,n)})),f=r.id===(null==n?void 0:n.id),c=r.id===(null==u?void 0:u.id),p=i||f,y=d&&(!i||c),m=(0,T.default)(0),_=m.headerHeight,h=m.headerRef,S=(0,C.useScrolledToTop)(),I=S.scrolledToTop,N=S.handleScroll;return j(g.AdvancedScrollerAuto,{className:A.default.scroller,style:{scrollPaddingTop:_},onScroll:N},void 0,j("div",{className:P.default.contentWidth},void 0,a.createElement("div",{className:(0,o.default)(P.default.header,P.default.stickyHeader,(t={},t[P.default.stickyHeaderElevated]=!I,t)),ref:h},j(C.default,{guild:n,role:r,selectedSection:O.GuildSettingsRoleEditSections.DISPLAY,setSelectedSection:s})),j(G,{role:r,disabled:p}),j(E.FormDivider,{className:A.default.divider}),j(F,{role:r,disabled:p}),j(B,{role:r}),j(E.FormDivider,{className:A.default.divider}),j(H,{role:r,disabled:p}),y?a.createElement(a.Fragment,null,j(E.FormDivider,{className:A.default.divider}),j(b.ViewAsRoleDescription,{guildId:n.id,role:r})):null))}G.displayName="NameFormItem",F.displayName="ColorPickerFormItem",B.displayName="RolePreview",x.displayName="GuildSettingsRolesEditDisplay"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,a.useStateFromStoresObject)([f.default],(function(){var n=f.default.getHighestRole(e);return{canViewAsRoles:f.default.can(v.Permissions.ADMINISTRATOR,e),locked:!f.default.isRoleHigher(e,n,t),highestRole:n}})),r=n.canViewAsRoles,m=n.locked,_=n.highestRole,E=r&&(!m||t.id===(null==_?void 0:_.id)),g=[];E&&g.push(h(u.MenuItem,{id:"view-as-role",label:y.default.Messages.VIEW_AS_ROLE,icon:c.default,action:function(){var n;(0,d.viewAsRoles)(e.id,((n={})[t.id]=t,n))}},"view-as-role"));var S=(0,l.default)(t.id);null!=S&&g.push(S);var O=t.managed,I=null!=t&&t.id===e.id;m||O||I||g.push(h(u.MenuGroup,{},"delete-role",h(u.MenuItem,{id:"delete-role",label:y.default.Messages.DELETE,color:s.MenuItemColor.DANGER,icon:p.default,action:function(){i.default.show({title:y.default.Messages.SETTINGS_ROLES_DELETE_TITLE,body:y.default.Messages.SETTINGS_ROLES_DELETE_BODY.format({name:name}),cancelText:y.default.Messages.CANCEL,onConfirm:function(){return o.default.deleteRole(e.id,t.id)}})}})));return g};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=m(n(199)),i=m(n(1354)),l=m(n(8258)),u=n(8253),s=n(8256),d=n(8532),f=m(n(40)),c=m(n(9773)),p=m(n(8676)),v=n(1),y=m(n(6));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(8354))&&r.__esModule?r:{default:r};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(){return(l=Object.assign||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}).apply(this,arguments)}function u(e){return a.createElement(o.default,l({},e,{direction:o.default.Directions.RIGHT}))}u.displayName="ArrowRight"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getManagedRoleWarningText=y,t.default=function(e){var t=(0,o.useStateFromStores)([u.default],(function(){return u.default.getProps().integrations}));return a.useMemo((function(){return y(e,t)}),[e,t])};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=c(n(8254)),l=c(n(183)),u=c(n(8255)),s=c(n(8976)),d=n(1),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e,t){var n,r,a,o;if(!e.managed)return null;var u,c=null===(n=e.tags)||void 0===n?void 0:n.bot_id,p=null===(r=e.tags)||void 0===r?void 0:r.integration_id,y=void 0!==(null===(a=e.tags)||void 0===a?void 0:a.premium_subscriber);if(null!=c?u=null==t?void 0:t.find((function(e){var t,n=e.application;return(null==n||null===(t=n.bot)||void 0===t?void 0:t.id)===c})):null!=p&&(u=null==t?void 0:t.find((function(e){return e.id===p}))),null!=(null===(o=u)||void 0===o?void 0:o.name)){var m=u.name;[d.PlatformTypes.TWITCH,d.PlatformTypes.YOUTUBE].includes(u.type)&&(m=l.default.get(u.type).name+" - "+m);var _=function(){i.default.setSection(d.GuildSettingsSections.INTEGRATIONS)};return f.default.Messages.MANAGED_ROLE_INTEGRATION_LINKED_EXPLANATION.format({name:m,integrationNameHook:function(e,t){return v(s.default,{onClick:_},t,e)}})}return y?f.default.Messages.MANAGED_ROLE_PREMIUM_SUBSCRIBER_EXPLANATION:f.default.Messages.MANAGED_ROLE_EXPLAINATION}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ViewAsRoleDescription=function(e){var t=e.guildId,n=e.role;return a.createElement(a.Fragment,null,v(l.default,{title:d.default.Messages.VIEW_AS_ROLE,className:f.default.container},void 0,v(s.default,{},void 0,d.default.Messages.VIEW_AS_ROLE_DESCRIPTION),v(i.default,{className:f.default.button,innerClassName:f.default.buttonInner,size:i.default.Sizes.SMALL,color:i.default.Colors.GREY,onClick:function(){var e;return(0,o.viewAsRoles)(t,((e={})[n.id]=n,e))}},void 0,d.default.Messages.VIEW_AS_ROLE,v(u.default,{width:16,height:16,direction:u.default.Directions.RIGHT,className:f.default.arrowIcon}))))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(8532),i=c(n(29)),l=c(n(476)),u=c(n(8354)),s=c(n(24)),d=c(n(6)),f=c(n(7681));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){e.exports=n.p+"82c30e69b6fdf3d4284f0b91d5694bd5.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MemberList=ee,t.MemberSearcher=te,t.default=ne;var r,a=V(n(0)),o=H(n(9)),i=n(3),l=n(389),u=H(n(8254)),s=H(n(1279)),d=n(8298),f=H(n(9778)),c=H(n(8264)),p=H(n(8268)),v=H(n(8355)),y=H(n(12)),m=H(n(271)),_=H(n(29)),h=H(n(61)),E=V(n(8353)),g=H(n(278)),S=H(n(5942)),O=H(n(149)),I=H(n(686)),T=H(n(696)),C=H(n(466)),b=n(41),M=H(n(24)),N=n(1210),A=H(n(13)),P=H(n(8460)),R=n(8303),L=n(8529),D=H(n(8675)),w=H(n(8977)),j=V(n(8531)),k=H(n(9779)),U=n(1),G=H(n(6)),F=H(n(7685)),B=H(n(7356));function H(e){return e&&e.__esModule?e:{default:e}}function x(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return x=function(){return e},e}function V(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=x();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function W(){return(W=Object.assign||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}).apply(this,arguments)}function Y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function z(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function K(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){z(o,r,a,i,l,"next",e)}function l(e){z(o,r,a,i,l,"throw",e)}i(void 0)}))}}function $(e,t,n){return Z.apply(this,arguments)}function Z(){return(Z=K(regeneratorRuntime.mark((function e(t,n,r){var o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=t.roles.filter((function(e){return e!==r})),e.prev=1,e.next=4,u.default.updateMemberRoles(n,t.id,o,[],[r]);case 4:e.next=10;break;case 6:e.prev=6,e.t0=e.catch(1),i=new s.default(e.t0),(0,b.openModal)((function(e){return a.createElement(C.default,W({},e,{header:G.default.Messages.ERROR_GENERIC_TITLE,confirmText:G.default.Messages.OKAY,confirmButtonColor:_.default.Colors.BRAND}),Y(M.default,{color:M.default.Colors.STANDARD,size:M.default.Sizes.SIZE_16},void 0,i.getAnyErrorMessage()))}));case 10:case"end":return e.stop()}}),e,null,[[1,6]])})))).apply(this,arguments)}var q=Y(I.default,{width:16,height:16});function X(e){var t=e.member,n=e.guildId,r=e.roleId,i=e.locked,u=a.useMemo((function(){var e;return(e={})[n]=[t.id],e}),[n,t.id]);function s(e){e.stopPropagation(),i||(e.shiftKey?$(t,n,r):function(e,t,n){var r=v.default.getRole(n);(0,b.openModal)((function(o){return a.createElement(C.default,W({},o,{header:G.default.Messages.ROLE_REMOVE_MEMBER_CONFIRM_TITLE,confirmText:G.default.Messages.REMOVE,cancelText:G.default.Messages.CANCEL,onConfirm:function(){return $(e,t,n)}}),Y(M.default,{color:M.default.Colors.STANDARD,size:M.default.Sizes.SIZE_16},void 0,G.default.Messages.ROLE_REMOVE_MEMBER_CONFIRM_BODY.format({username:e.name,roleName:null==r?void 0:r.name})),Y(M.default,{className:F.default.removeTip,color:M.default.Colors.MUTED,size:M.default.Sizes.SIZE_16},void 0,G.default.Messages.ROLE_REMOVE_MEMBER_CONFIRM_TIP))}))}(t,n,r))}function m(e){var r=y.default.getUser(t.id);null!=r&&(0,l.openContextMenu)(e,(function(e){return a.createElement(f.default,W({},e,{user:r,guildId:n,showChatItems:!1}))}))}return(0,d.useSubscribeGuildMembers)(u),Y("div",{className:B.default.contentWidth},void 0,Y(g.default,{renderPopout:function(e){return a.createElement(p.default,W({guildId:n,userId:t.id},e))},position:g.default.Positions.LEFT,preload:function(){return(0,c.default)(t.id,t.avatarURL)}},void 0,(function(e){return a.createElement(h.default,W({},e,{className:F.default.memberRow,onContextMenu:m}),Y(k.default,{className:F.default.memberDetails,avatarURL:t.avatarURL,name:t.name,bot:t.bot,verifiedBot:t.verifiedBot,userTag:t.userTag}),Y("div",{className:F.default.removeButtonContainer},void 0,Y(O.default,{text:i?G.default.Messages.ROLE_REMOVE_MEMBER_MANAGED:G.default.Messages.ROLE_REMOVE_MEMBER_CONFIRM_TITLE,position:O.default.Positions.TOP},void 0,(function(e){var t;return a.createElement(h.default,W({},e,{className:(0,o.default)(F.default.removeButton,(t={},t[F.default.removeButtonDisabled]=i,t)),onClick:s}),q)}))))})))}X.displayName="MemberRow";var J=Y(T.default,{});function Q(e){var t=e.handleAddClick;return Y("div",{className:B.default.contentWidth},void 0,Y("div",{className:(0,o.default)(F.default.memberRow,F.default.emptyRowContainer)},void 0,J,Y(M.default,{className:F.default.emptyRowText,size:M.default.Sizes.SIZE_14,color:M.default.Colors.MUTED},void 0,G.default.Messages.ROLE_EDIT_MEMBERS_NO_SEARCH_RESULTS.format({addMembersHook:function(e,n){return Y(m.default,{onClick:t},n,e)}}))))}function ee(e){var t=e.guildId,n=e.roleId,r=e.query,o=e.headerHeight,i=e.locked,l=e.onScroll,u=e.roleMembers,s=e.handleAddClick,d=a.useMemo((function(){return r.trim().toLowerCase()}),[r]);(0,L.useQueryGuildMembers)(t,d);var f=a.useMemo((function(){return u.filter((function(e){return(0,L.filterFullMembersByQuery)(d,e)}))}),[u,d]),c=Y(Q,{handleAddClick:s},"empty");return Y(N.ListAuto,{className:F.default.list,sections:[Math.max(f.length,1)],sectionHeight:o,renderSection:function(){return Y("div",{style:{height:o}},"section")},style:{scrollPaddingTop:o},rowHeight:40,renderRow:function(e){var r=e.row;if(0===f.length)return c;var a=f[r];return Y(X,{member:a,guildId:t,roleId:n,locked:i},a.id)},onScroll:l})}function te(e){var t=e.query,n=e.setQuery,r=e.locked,a=e.handleAddClick;return Y("div",{className:F.default.searchContainer},void 0,Y(S.default,{size:S.default.Sizes.MEDIUM,query:t,onChange:n,onClear:function(){return n("")},placeholder:G.default.Messages.SEARCH_MEMBERS}),Y(_.default,{className:F.default.addButton,size:_.default.Sizes.SMALL,onClick:a,disabled:r},void 0,G.default.Messages.ROLE_ADD_MEMBERS_BUTTON))}function ne(e){var t,n=e.guild,r=e.role,l=e.locked,u=e.setSelectedSection,s=a.useState(""),d=s[0],f=s[1],c=(0,D.default)(0),p=c.headerHeight,v=c.headerRef,y=(0,j.useScrolledToTop)(),m=y.scrolledToTop,_=y.handleScroll,h=r.managed||l,g=(0,L.useGuildRoleMembers)(n.id,r.id),S=(0,i.useStateFromStores)([P.default],(function(){var e,t;return null!==(e=null===(t=P.default.getRoleMemberCount(n.id))||void 0===t?void 0:t[r.id])&&void 0!==e?e:0}))>g.length,O=function(){A.default.track(U.AnalyticEvents.OPEN_MODAL,{type:"Add Role Members",location_page:"Role Settings",location_section:"Members"}),(0,b.openModal)((function(e){return a.createElement(w.default,W({},e,{roleId:r.id,guildId:n.id}))}))};return Y("div",{className:F.default.container},void 0,a.createElement("div",{className:F.default.headerContainer,ref:v},Y("div",{className:B.default.contentWidth},void 0,Y("div",{className:(0,o.default)(B.default.header,(t={},t[B.default.stickyHeaderElevated]=!m,t))},void 0,Y(j.default,{guild:n,role:r,selectedSection:R.GuildSettingsRoleEditSections.MEMBERS,setSelectedSection:u}),Y(te,{query:d,setQuery:f,locked:h,handleAddClick:O}),S?Y(E.default,{className:F.default.searchWarning,messageType:E.HelpMessageTypes.INFO,fontSize:E.HelpMessageFontSizes.FONT_SIZE_14},void 0,G.default.Messages.ROLE_EDIT_MEMBERS_MISSING):null))),Y(ee,{headerHeight:p+8,query:d,guildId:n.id,roleId:r.id,locked:h,onScroll:_,roleMembers:g,handleAddClick:O}))}Q.displayName="MembersEmptyRow",ee.displayName="MemberList",te.displayName="MemberSearcher",ne.displayName="GuildSettingsRolesEditMembers"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=w;L(n(0));var r,a=n(389),o=P(n(8257)),i=n(286),l=P(n(8323)),u=P(n(8258)),s=P(n(8405)),d=L(n(8253)),f=n(717),c=P(n(8378)),p=P(n(8379)),v=P(n(8380)),y=P(n(8603)),m=P(n(8340)),_=P(n(8384)),h=P(n(8385)),E=P(n(8386)),g=P(n(8505)),S=P(n(8343)),O=P(n(8608)),I=P(n(8387)),T=P(n(8324)),C=P(n(8435)),b=P(n(8407)),M=P(n(8388)),N=n(1),A=P(n(6));function P(e){return e&&e.__esModule?e:{default:e}}function R(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return R=function(){return e},e}function L(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=R();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function D(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function w(e){var t=e.user,n=e.guildId,r=e.showModalItems,P=void 0===r||r,R=e.showMediaItems,L=void 0!==R&&R,w=e.showChatItems,j=void 0===w||w,k=e.popoutPosition,U=void 0===k?f.PopoutPositions.RIGHT:k,G=e.target,F=e.analyticsContext,B=e.context,H=e.onSelect,x=(0,T.default)(t.id,n,B),V=(0,g.default)(t,n,B),W=(0,S.default)(t.id,B),Y=(0,M.default)(t.id),z=(0,h.default)(t,B),K=(0,v.default)({user:t,guildId:n,target:G,popoutPosition:U,context:B}),$=(0,p.default)(t),Z=(0,b.default)(t.id),q=(0,I.default)(t.id),X=(0,s.default)(n,t.id,{page:N.AnalyticsPages.GUILD_CHANNEL,section:N.AnalyticsSections.CHAT_USERNAME,object:N.AnalyticsObjects.CONTEXT_MENU_ITEM},B),J=(0,E.default)(t,n),Q=(0,l.default)(null,t),ee=(0,c.default)(t),te=(0,_.default)(t),ne=(0,y.default)(t,n),re=(0,C.default)(t.id,n),ae=(0,O.default)(t,n),oe=(0,u.default)(t.id),ie=(0,m.default)(i.ApplicationCommandTarget.USER,void 0,n);return D(o.default,{context:F,object:N.AnalyticsObjects.CONTEXT_MENU},void 0,D(d.default,{navId:"user-context",onClose:a.closeContextMenu,"aria-label":A.default.Messages.USER_ACTIONS_MENU_LABEL,onSelect:H},void 0,D(d.MenuGroup,{},void 0,P&&x,j&&V,W,z,P&&K,P&&$,Y),L&&D(d.MenuGroup,{},void 0,Z),D(d.MenuGroup,{},void 0,P&&Q),D(d.MenuGroup,{},void 0,L&&q,P&&X,ie,P&&J,ee,P&&te),D(d.MenuGroup,{},void 0,ne),D(d.MenuGroup,{},void 0,re,ae),D(d.MenuGroup,{},void 0,oe)))}w.displayName="GuildUserContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=f(n(9)),o=f(n(1288)),i=f(n(160)),l=f(n(1222)),u=f(n(279)),s=f(n(24)),d=f(n(7684));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.className,n=e.avatarURL,r=e.name,f=e.bot,c=e.verifiedBot,v=e.userTag,y=(0,o.default)([i.default],(function(){return i.default.hidePersonalInformation}));return p("div",{className:(0,a.default)(d.default.container,t)},void 0,p(u.default,{className:d.default.avatar,src:n,size:u.default.Sizes.SIZE_24,"aria-label":r}),p("div",{className:d.default.textContainer},void 0,p(s.default,{tag:"span",className:d.default.name,color:s.default.Colors.HEADER_PRIMARY,size:s.default.Sizes.SIZE_14},void 0,r),f?p(l.default,{className:d.default.botTag,verified:c}):null,y?null:p(s.default,{tag:"span",color:s.default.Colors.INTERACTIVE_NORMAL,className:d.default.userTag,size:s.default.Sizes.SIZE_14},void 0,v)))}v.displayName="MemberDetails"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClearPermissionsButton=D,t.PermissionsList=w,t.default=j;var r,a=P(n(0)),o=N(n(9)),i=N(n(63)),l=n(3),u=n(8459),s=N(n(9171)),d=N(n(40)),f=N(n(12)),c=N(n(29)),p=N(n(5942)),v=N(n(149)),y=N(n(24)),m=n(468),_=N(n(13)),h=N(n(9172)),E=N(n(78)),g=n(8303),S=N(n(8970)),O=N(n(8675)),I=P(n(8531)),T=n(1),C=N(n(6)),b=N(n(7688)),M=N(n(7356));function N(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function P(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function R(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function L(){return(L=Object.assign||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}).apply(this,arguments)}function D(e){var t=e.guild,n=e.role,r=e.locked,o=(0,l.useStateFromStores)([f.default],(function(){return f.default.getCurrentUser()})),s=a.useMemo((function(){return E.default.computePermissions(o,t)}),[o,t]),d=a.useMemo((function(){var e;return(e={})[n.id]=L({},n,{permissions:E.default.NONE}),e}),[n]),p=a.useMemo((function(){return E.default.computePermissions(o,t,null,d)}),[o,t,d]),y=!i.default.equals(s,p);return R("div",{className:b.default.clearButtonWrapper},void 0,R(v.default,{text:y?C.default.Messages.HELP_CLEAR_PERMISSIONS:null,position:v.default.Positions.TOP,color:v.default.Colors.RED},void 0,(function(e){var t=e.onMouseEnter,a=e.onMouseLeave;return R(c.default,{className:b.default.clearButton,size:c.default.Sizes.TINY,look:c.default.Looks.LINK,color:c.default.Colors.LINK,onClick:function(){return(0,u.clearRolePermissions)(n.id)},onMouseEnter:t,onMouseLeave:a,disabled:i.default.equals(n.permissions,E.default.NONE)||y||r},void 0,C.default.Messages.ROLE_PERMISSIONS_CLEAR_PERMISSIONS)})))}function w(e){var t=e.guild,n=e.role,r=e.specs,a=e.locked;if(0===r.length)return R("div",{className:b.default.noResultsContainer},void 0,R(S.default,{className:b.default.noResults}),R(y.default,{},void 0,C.default.Messages.ROLE_PERMISSIONS_EMPTY_TEXT));function o(e){var r;return d.default.can(e,t)?!d.default.can(e,t,null,(r={},r[n.id]=L({},n,{permissions:i.default.remove(n.permissions,e)}),r))&&C.default.Messages.HELP_SINGULAR_PERMISSION:C.default.Messages.HELP_MISSING_PERMISSION}return R("div",{className:b.default.permissionsWrapper},void 0,R(D,{guild:t,role:n,locked:a}),r.map((function(e,t){return R(s.default,{className:b.default.permissionsForm,spec:e,permissions:n.permissions,locked:a,onChange:function(e,t){return(0,u.updateRolePermissions)(n.id,e,t)},permissionRender:o},t)})))}function j(e){var t,n=e.guild,r=e.role,i=e.locked,l=e.setSelectedSection,u=a.useState(""),s=u[0],d=u[1],f=a.useMemo((function(){return h.default.generateGuildPermissionSpec(n)}),[n]).map((function(e){return L({},e,{permissions:e.permissions.filter((function(e){return e.title.toLowerCase().includes(s.trimStart().toLowerCase())}))})})).filter((function(e){return e.permissions.length>0})),c=(0,O.default)(0),v=c.headerHeight,y=c.headerRef,E=(0,I.useScrolledToTop)(),S=E.scrolledToTop,N=E.handleScroll,A=a.useRef(!1);return a.useEffect((function(){A.current||""===s.trimStart()||(_.default.track(T.AnalyticEvents.SEARCH_STARTED,{search_type:"Permissions"}),A.current=!0)}),[s]),R(m.AdvancedScrollerAuto,{className:b.default.scroller,style:{scrollPaddingTop:v},onScroll:N},void 0,R("div",{className:M.default.contentWidth},void 0,a.createElement("div",{className:(0,o.default)(M.default.header,M.default.stickyHeader,(t={},t[M.default.stickyHeaderElevated]=!S,t)),ref:y},R(I.default,{guild:n,role:r,selectedSection:g.GuildSettingsRoleEditSections.PERMISSIONS,setSelectedSection:l}),R("div",{className:b.default.searchContainer},void 0,R(p.default,{size:p.default.Sizes.MEDIUM,query:s,onChange:d,onClear:function(){return d("")},placeholder:C.default.Messages.ROLE_PERMISSIONS_SEARCH_PLACEHOLDER}))),R(w,{guild:n,role:r,specs:f,locked:i})))}D.displayName="ClearPermissionsButton",w.displayName="PermissionsList",j.displayName="GuildSettingsRolesEditPermissions"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_,t.PermissionOverrideTypes=void 0;p(n(0));var r,a=f(n(55)),o=f(n(9782)),i=n(85),l=f(n(1165)),u=p(n(474)),s=p(n(159)),d=f(n(370));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=o.default.Types;t.PermissionOverrideTypes=y;var m=v(l.default,{});function _(e){var t=e.value,n=e.onChange,r=e.children,l=e.note,f=e.style,c=e.disabled,p=void 0!==c&&c,y=e.hideBorder,_=void 0!==y&&y,h=e.className,E=void 0===h?d.default.marginBottom20:h,g=(0,i.useUID)();return v(a.default,{style:f,className:E,direction:a.default.Direction.VERTICAL},void 0,v(a.default,{},void 0,v(a.default.Child,{},void 0,v(s.default,{id:g,className:d.default.marginReset,tag:s.Tags.H3,disabled:p},void 0,r)),v(a.default.Child,{grow:0,shrink:0},void 0,v(o.default,{value:t,onChange:n,disabled:p,labelledBy:g}))),l&&v(a.default.Child,{className:d.default.marginTop4},void 0,v(u.default,{type:u.Types.DESCRIPTION},void 0,l)),!_&&v(a.default.Child,{className:d.default.marginTop20},void 0,m))}_.displayName="PermissionOverrideItem",_.Types=o.default.Types},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PermissionOverrideType=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=v(n(9)),l=v(n(61)),u=n(1162),s=v(n(372)),d=v(n(255)),f=v(n(8848)),c=v(n(6)),p=v(n(7686));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}t.PermissionOverrideType=a,function(e){e.DENY="DENY",e.PASSTHROUGH="PASSTHROUGH",e.ALLOW="ALLOW"}(a||(t.PermissionOverrideType=a={}));var h=Object.keys(a);function E(e){var t,n=e.value,r=void 0===n?a.PASSTHROUGH:n,l=e.onChange,s=e.labelledBy,d=e.disabled,f=void 0!==d&&d,c=(0,u.useRadioGroup)({orientation:"horizontal",isDisabled:f,labelledBy:s});return o.createElement("div",m({className:(0,i.default)(p.default.group,(t={},t[p.default.disabled]=f,t))},c),h.map((function(e){return _(g,{type:e,isSelected:r===e,onSelect:function(e){r===e||f||l(e)}},e)})))}function g(e){var t,n,r,v,y=e.type,h=e.onSelect,E=e.isSelected;switch(y){case a.DENY:v=c.default.Messages.PERMISSION_OVERRIDE_DENY,n=d.default,r=p.default.deny;break;case a.ALLOW:v=c.default.Messages.PERMISSION_OVERRIDE_ALLOW,n=s.default,r=p.default.allow;break;case a.PASSTHROUGH:default:v=c.default.Messages.PERMISSION_OVERRIDE_PASSTHROUGH,n=f.default,r=p.default.passthrough}var g=(0,u.useRadioItem)({isSelected:E,label:v});return o.createElement(l.default,m({className:(0,i.default)(p.default.item,r,(t={},t[p.default.selected]=E,t)),onClick:function(){return h(y)}},g),_(n,{width:16,height:16}))}E.displayName="PermissionOverride",E.Types=a,g.displayName="PermissionOverrideOption";var S=E;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=F;var r,a=D(n(0)),o=R(n(9)),i=n(5941),l=n(202),u=n(3),s=n(389),d=R(n(199)),f=R(n(8527)),c=R(n(8576)),p=R(n(8355)),v=R(n(40)),y=R(n(61)),m=R(n(9173)),_=R(n(8293)),h=n(149),E=R(n(8354)),g=R(n(5951)),S=R(n(24)),O=R(n(468)),I=n(8303),T=D(n(8979)),C=R(n(8677)),b=R(n(8980)),M=n(8531),N=n(1),A=R(n(6)),P=R(n(7692));function R(e){return e&&e.__esModule?e:{default:e}}function L(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return L=function(){return e},e}function D(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=L();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function w(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function j(){return(j=Object.assign||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}).apply(this,arguments)}function k(e){return e?S.default.Colors.HEADER_PRIMARY:S.default.Colors.INTERACTIVE_ACTIVE}function U(e){var t,n,r=e.guild,u=e.role,d=e.highestRole,f=e.selectedItem,p=e.onClick,v=e.currentPosition,y=e.onDragStart,m=e.onDragReset,h=e.onDragComplete,E=(0,T.useLockTooltip)(r,d,u),g=(null==r?void 0:r.id)===u.id,O=null==E&&!g,I=(0,i.useDrag)({item:{type:"DRAGGABLE_ROLE",id:u.id,position:v},canDrag:function(){return O},begin:function(){y(u.id)},end:function(e,t){var n=t.getDropResult();null!=n?h(n.roleId):m()}})[1],C=(0,i.useDrop)({accept:"DRAGGABLE_ROLE",canDrop:function(){return O},collect:function(e){var t=e.getItem();return null==t?{dragSourcePosition:null}:e.isOver()&&e.canDrop()?{dragSourcePosition:t.position}:{dragSourcePosition:null}},drop:function(){return{roleId:u.id}}}),b=C[0].dragSourcePosition,M=C[1];return w(_.default.Item,{className:(0,o.default)(P.default.row,(t={},t[P.default.dragBefore]=null!==b&&v<b,t[P.default.dragAfter]=null!==b&&v>b,t)),id:u.id,selectedItem:f,itemType:_.default.Types.SIDE,onClick:p,onContextMenu:function(e){(0,s.openContextMenu)(e,(function(e){return a.createElement(c.default,j({},e,{role:u,guild:r}))}))},"aria-label":u.name,clickableRef:function(e){var t,n;I(null!==(t=null==e?void 0:e.ref)&&void 0!==t?t:null),M(null!==(n=null==e?void 0:e.ref)&&void 0!==n?n:null)}},void 0,w("div",{className:P.default.roleDot,style:{backgroundColor:null!==(n=u.colorString)&&void 0!==n?n:(0,l.int2hex)(N.DEFAULT_ROLE_COLOR)}}),null!=E?w(T.default,{className:P.default.lock,tooltipText:E}):null,w(S.default,{className:P.default.roleName,color:k(g)},void 0,u.name))}U.displayName="RoleRow";var G=w(g.default,{width:20,height:20});function F(e){var t,n=e.guild,r=e.currentRoleId,i=e.setCurrentRoleId,l=e.setSelectedSection,s=(0,u.useStateFromStores)([p.default],(function(){return p.default.roles})),c=(0,u.useStateFromStores)([v.default],(function(){return v.default.getHighestRole(n)})),g=f.default.useExperiment({guildId:n.id})[0].showNewRolesCreationFlow,T=a.useState(s.length),N=T[0],R=T[1],L=(0,M.useScrolledToTop)(),D=L.scrolledToTop,j=L.handleScroll,k=(0,b.default)(s),F=k.handleDragStart,B=k.handleDragReset,H=k.handleDragComplete,x=a.useRef(null),V=a.useCallback((function(e){var t,n,r=s.findIndex((function(t){return t.id===e}));null===(t=x.current)||void 0===t||null===(n=t.getScrollerNode())||void 0===n||n.scrollTo({top:Math.max(34*(r-2),0)})}),[s]);a.useEffect((function(){V(r)}),[]),a.useEffect((function(){s.length>N&&V(r),s.length!==N&&R(s.length)}),[s.length,N,R,V,r]);var W=g?w("div",{className:P.default.tooltip},void 0,w(S.default,{},void 0,A.default.Messages.ROLE_CREATE_CTA),w(S.default,{color:S.default.Colors.MUTED},void 0,A.default.Messages.ROLE_CREATE_TOOLTIP_TIP)):A.default.Messages.GUILD_SETTINGS_ACTION_FILTER_ROLE_CREATE;return w(m.default.Sidebar,{className:P.default.sidebar},void 0,w("div",{className:P.default.container},void 0,w("div",{className:(0,o.default)(P.default.titleContainer,(t={},t[P.default.titleElevated]=!D,t))},void 0,w(y.default,{className:P.default.title,onClick:function(){return i(null)}},void 0,w(E.default,{direction:E.default.Directions.LEFT}),w(S.default,{className:P.default.titleText,size:S.default.Sizes.SIZE_16,color:S.default.Colors.CUSTOM},void 0,A.default.Messages.BACK)),w(h.TooltipContainer,{position:g?h.TooltipPositions.RIGHT:h.TooltipPositions.TOP,"aria-label":g?A.default.Messages.ROLE_CREATE_TOOLTIP_TIP:A.default.Messages.GUILD_SETTINGS_ACTION_FILTER_ROLE_CREATE,text:w(S.default,{className:P.default.tooltip},void 0,W)},void 0,w(y.default,{className:P.default.addRole,onClick:function(e){return(0,C.default)(e,n,(function(){d.default.createRole(n.id),l(I.GuildSettingsRoleEditSections.DISPLAY)}))}},void 0,G))),a.createElement(O.default,{className:P.default.list,ref:x,onScroll:j},w(_.default,{selectedItem:r,onItemSelect:function(e){return i(e)},orientation:"vertical"},void 0,s.map((function(e,t){return w(U,{guild:n,role:e,highestRole:c,selectedItem:r,onClick:function(){return i(e.id)},currentPosition:t,onDragStart:F,onDragReset:B,onDragComplete:H},e.id)}))))))}F.displayName="GuildSettingsRolesSidebar"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=S,t.CreateRoleSlideTypes=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(95),l=n(3),u=_(n(40)),s=n(703),d=n(85),f=n(35),c=n(8530),p=_(n(9785)),v=_(n(9786)),y=_(n(9787)),m=n(1);function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}t.CreateRoleSlideTypes=a,function(e){e.DISPLAY="display",e.PERMISSIONS="permissions",e.ADD_MEMBERS="add-members"}(a||(t.CreateRoleSlideTypes=a={}));var g=[a.DISPLAY,a.PERMISSIONS,a.ADD_MEMBERS];function S(e){var t=e.guild,n=e.transitionState,r=e.initialSlide,_=void 0===r?a.DISPLAY:r,h=e.onClose,S=(0,d.useUID)(),O=(0,l.useStateFromStores)([u.default],(function(){return u.default.can(m.Permissions.ADMINISTRATOR,t)})),I=o.useState(_),T=I[0],C=I[1],b=o.useState(null),M=b[0],N=b[1],A=o.useState(_),P=A[0],R=A[1],L=o.useState(c.DEFAULT_TEMPLATE_TYPE),D=L[0],w=L[1];o.useEffect((function(){C(_)}),[C,_]);var j=o.useCallback((function(){var e=g.indexOf(T);e>0&&C(g[e-1])}),[T]),k=o.useCallback((function(){var e=g.indexOf(T);e<g.length-1&&C(g[e+1])}),[T]),U=o.useCallback((function(e){O||h(),N(e)}),[N,O,h]),G={impression_group:i.ImpressionGroups.ROLE_ADD_FLOW};return E(f.ModalRoot,{transitionState:n,"aria-labelledby":S},void 0,E(s.Slides,{activeSlide:T,width:c.CREATE_ROLE_DESKTOP_MODAL_WIDTH,onSlideReady:function(e){return R(e)}},void 0,E(s.Slide,{id:a.DISPLAY,impressionName:i.ImpressionNames.ROLE_CREATE_DISPLAY,impressionMetadata:G},void 0,E(p.default,{guildId:t.id,roleId:M,onClose:h,onRoleCreated:U,onNext:k})),E(s.Slide,{id:a.PERMISSIONS,impressionName:i.ImpressionNames.ROLE_CREATE_PERMISSIONS,impressionMetadata:G},void 0,E(y.default,{guildId:t.id,roleId:M,selectedTemplate:D,setSelectedTemplate:w,onClose:h,onBack:j,onNext:k})),E(s.Slide,{id:a.ADD_MEMBERS,impressionName:i.ImpressionNames.ROLE_CREATE_ADD_MEMBERS,impressionMetadata:G},void 0,E(v.default,{guildId:t.id,roleId:M,onClose:h,onBack:j,isReady:P===a.ADD_MEMBERS}))))}S.displayName="CreateRoleModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorPickerFormItem=P,t.default=function(e){var t,n,r=e.guildId,l=e.onClose,f=e.onRoleCreated,c=e.roleId,v=e.onNext,y=(0,p.useUID)(),E=(0,o.useStateFromStores)([u.default],(function(){return null!=c?u.default.getRole(c):null})),g=a.useState(null!==(t=null==E?void 0:E.name)&&void 0!==t?t:S.default.Messages.NEW_ROLE),O=g[0],T=g[1],C=a.useState(null!==(n=null==E?void 0:E.color)&&void 0!==n?n:0),A=C[0],R=C[1],L=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=c){e.next=7;break}return e.next=3,i.default.createRoleWithNameColor(r,O,A);case 3:t=e.sent,f(t.id),e.next=9;break;case 7:return e.next=9,i.default.updateRoleDisplay(r,c,O,A);case 9:v();case 10:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){b(o,r,a,i,l,"next",e)}function l(e){b(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();return a.createElement(a.Fragment,null,M(m.ModalHeader,{direction:d.default.Direction.VERTICAL,className:I.default.header,separator:!1,id:y},void 0,M(_.default,{className:I.default.title,size:_.default.Sizes.SIZE_24},void 0,null!=c?S.default.Messages.ROLE_UPDATE_CTA:S.default.Messages.ROLE_CREATE_DISPLAY_TITLE),M(h.default,{color:h.default.Colors.STANDARD,size:h.default.Sizes.SIZE_16},void 0,S.default.Messages.ROLE_CREATE_DISPLAY_SUBTITLE),l&&M(m.ModalCloseButton,{className:I.default.closeButton,onClick:l})),M(m.ModalContent,{className:I.default.content},void 0,M(N,{name:O,setName:T}),M(P,{color:A,setColor:R})),M(m.ModalFooter,{className:I.default.footer},void 0,M(s.default,{className:I.default.footerButton,disabled:""===O,onClick:L},void 0,null!=c?S.default.Messages.ROLE_UPDATE_CTA:S.default.Messages.ROLE_CREATE_CTA)))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=T(n(199)),l=n(277),u=T(n(8355)),s=T(n(29)),d=T(n(55)),f=T(n(278)),c=T(n(153)),p=n(85),v=n(131),y=T(n(686)),m=n(35),_=T(n(47)),h=T(n(24)),E=n(8530),g=n(1),S=T(n(6)),O=T(n(7690)),I=T(n(7383));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(e){var t=e.name,n=e.setName;return M(v.FormItem,{className:I.default.formItem,title:S.default.Messages.FORM_LABEL_ROLE_NAME,required:!0},void 0,M("div",{className:O.default.inputWithClearWrapper},void 0,M(c.default,{type:"text",value:t,maxLength:E.ROLE_NAME_MAX_LENGTH,onChange:function(e){n(e)}}),t.length>0?M(s.default,{className:O.default.clearButton,onClick:function(){n("")},look:s.default.Looks.BLANK,size:s.default.Sizes.NONE},void 0,M(y.default,{className:O.default.clearIcon})):null),M(v.FormText,{className:I.default.formHelpText},void 0,S.default.Messages.ROLE_CREATE_NAME_EXAMPLES))}N.displayName="NameFormItem";var A=(0,l.makeLazy)({createPromise:function(){return Promise.all([n.e(0),n.e(9),n.e(15)]).then(n.t.bind(null,8421,7))},webpackId:8421});function P(e){var t=e.color,n=e.setColor;return M(v.FormItem,{className:I.default.formItem,title:S.default.Messages.FORM_LABEL_ROLE_COLOR,required:!0},void 0,M(v.FormText,{className:I.default.formHelpText},void 0,S.default.Messages.ROLE_COLOR_HELP),M(A,{className:I.default.colorPicker,defaultColor:g.DEFAULT_ROLE_COLOR,colors:g.ROLE_COLORS,value:t,onChange:function(e){return function(e){n(e===g.DEFAULT_ROLE_COLOR?0:e)}(e)},customPickerPosition:f.default.Positions.RIGHT}))}P.displayName="ColorPickerFormItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(85),o=n(8977);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function u(e){var t=e.onClose,n=e.guildId,r=e.roleId,i=e.onBack,u=e.isReady,s=(0,a.useUID)();return null==r?null:l(o.AddRoleMembersModalContent,{headerId:s,onClose:t,guildId:n,roleId:r,onBack:i,isCreateRoleFlow:!0,focusSearchAfterReady:!0,isReady:u})}u.displayName="CreateRoleMembersSlide"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.onClose,n=e.guildId,r=e.roleId,o=e.selectedTemplate,i=e.setSelectedTemplate,d=e.onBack,c=e.onNext,v=(0,p.useUID)(),E=a.useState(o),I=E[0],T=E[1];return a.createElement(a.Fragment,null,b(y.ModalHeader,{direction:f.default.Direction.VERTICAL,className:S.default.header,separator:!1,id:v},void 0,b(m.default,{className:O.default.title,size:_.default.Sizes.SIZE_24},void 0,g.default.Messages.ROLE_CREATE_PERMISSIONS_TITLE),b(_.default,{color:_.default.Colors.STANDARD,size:_.default.Sizes.SIZE_16},void 0,g.default.Messages.ROLE_CREATE_PERMISSIONS_SUBTITLE),t&&b(y.ModalCloseButton,{className:O.default.closeButton,onClick:t})),b(y.ModalContent,{className:S.default.content},void 0,b(N,{selectedTemplate:o,setSelectedTemplate:i,sliderOverrideValue:I}),b(s.CarouselWithPreview,{width:h.CREATE_ROLE_DESKTOP_MODAL_WIDTH,currentIndex:o,renderItem:function(e,t,a){return b(A,{template:e,index:t,animation:a,selectedTemplate:o,setSelectedTemplate:i,setSliderOverrideValue:T,onTemplateSelect:function(){return t=e,void(null!=r&&(l.default.updateRolePermissions(n,r,t.permissions),c()));var t}})},items:Object.values(h.PermissionTemplates),itemSize:M,edgeItems:0})),b(y.ModalFooter,{className:O.default.footer},void 0,b(u.default,{color:u.default.Colors.GREY,className:O.default.footerButton,onClick:function(){i(h.DEFAULT_TEMPLATE_TYPE),c()}},void 0,g.default.Messages.ROLE_CREATION_SKIP),b(u.default,{onClick:d,look:u.default.Looks.LINK,color:u.default.Colors.PRIMARY,size:u.default.Sizes.TINY,className:O.default.backButton},void 0,g.default.Messages.BACK)))};var r,a=C(n(0)),o=I(n(9)),i=I(n(273)),l=I(n(199)),u=I(n(29)),s=n(8655),d=I(n(61)),f=I(n(55)),c=C(n(8360)),p=n(85),v=I(n(372)),y=n(35),m=I(n(47)),_=I(n(24)),h=n(8530),E=n(1),g=I(n(6)),S=I(n(7691)),O=I(n(7383));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var M={width:248,height:336,margin:16},N=function(e){var t=e.selectedTemplate,n=e.setSelectedTemplate,r=e.sliderOverrideValue;return b(c.default,{className:S.default.slider,markers:[h.PermissionTemplateTypes.COSMETIC,h.PermissionTemplateTypes.MEMBER,h.PermissionTemplateTypes.MODERATOR,h.PermissionTemplateTypes.MANAGER],initialValue:r,asValueChanges:n,stickToMarkers:!0,equidistant:!0,renderMarker:function(e){var n;return b("div",{className:S.default.markWrapper},void 0,b("div",{className:(0,o.default)(S.default.markDot,(n={},n[S.default.hiddenMark]=t>=e,n))}),b(_.default,{size:_.default.Sizes.SIZE_12,color:_.default.Colors.HEADER_PRIMARY,className:S.default.markLabel},void 0,h.PermissionTemplates[e].title()))},markerPosition:c.MarkerPositions.BELOW,fillStyles:{background:h.PermissionTemplates[t].color},barClassName:S.default.sliderBar,grabberClassName:S.default.grabber,grabberStyles:{background:h.PermissionTemplates[t].color}})};N.displayName="RoleTemplateSelectSlider";var A=function(e){var t,n=e.template,r=e.index,a=e.animation,l=e.selectedTemplate,s=e.setSelectedTemplate,f=e.onTemplateSelect,c=e.setSliderOverrideValue;return b(i.default.div,{style:null!=a?{opacity:a.interpolate({inputRange:[0,1],outputRange:[.3,1]})}:null},void 0,b(d.default,{onClick:function(){l!==r&&(s(r),c(r))},className:(0,o.default)(S.default.templateWrapper,(t={},t[S.default.clickableTemplate]=l!==r,t))},void 0,b("div",{className:S.default.templateContent},void 0,b(_.default,{className:S.default.templateHeader,size:_.default.Sizes.SIZE_16,color:_.default.Colors.HEADER_PRIMARY},void 0,n.title()),b(_.default,{size:_.default.Sizes.SIZE_14,className:S.default.templateDescription},void 0,n.description()),n.contentPreface()&&b(_.default,{size:_.default.Sizes.SIZE_14,className:S.default.templatePreface},void 0,n.contentPreface()),n.contents().map((function(e,t){return b("div",{className:S.default.permissionItem},"permission-"+r+"-"+t,b(v.default,{color:E.Colors.STATUS_GREEN_600,className:S.default.permissionIcon}),b(_.default,{size:_.default.Sizes.SIZE_14},void 0,e))}))),b(u.default,{disabled:l!==r,onClick:f},void 0,g.default.Messages.SELECT)))};A.displayName="RoleTemplateCard"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=P;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=S(n(9)),i=n(3),l=S(n(199)),u=n(8305),s=S(n(105)),d=S(n(29)),f=n(131),c=n(159),p=S(n(279)),v=S(n(47)),y=S(n(24)),m=S(n(8981)),_=S(n(8677)),h=n(1),E=S(n(6)),g=S(n(7695));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function T(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){I(o,r,a,i,l,"next",e)}function l(e){I(o,r,a,i,l,"throw",e)}i(void 0)}))}}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function b(e){var t=e.color,n=e.children,r={backgroundColor:t};return C("div",{className:g.default.roleTag},void 0,C("span",{className:g.default.roleDot,style:r}),C("span",{className:g.default.roleText},void 0,n))}function M(e){var t,n=e.guild,r=e.display;return C("div",{className:(0,o.default)(g.default.banner,n.backgroundClass,(t={},t[g.default.bannerOut]=!r,t))},void 0,C("div",{className:g.default.roles},void 0,n.roles.map((function(e,t){return C("div",{className:g.default.rolesRow},t,e.map((function(e){return C(b,{color:e.color},e.name,e.name)})))}))),C("div",{className:g.default.profileCard},void 0,C("div",{className:g.default.avatarContainer},void 0,C(p.default,{className:g.default.avatar,size:p.default.Sizes.SIZE_80,"aria-hidden":!0,status:h.StatusTypes.ONLINE,src:n.avatar}),C(y.default,{color:y.default.Colors.HEADER_PRIMARY,size:y.default.Sizes.SIZE_16,className:g.default.avatarName},void 0,n.username))))}b.displayName="RoleTag",M.displayName="ExampleGuild";function N(){var e=(0,i.useStateFromStores)([s.default],(function(){return s.default.useReducedMotion})),t=a.useMemo((function(){return[{backgroundClass:g.default.bannerClubs,username:"Wumpus#0000",avatar:n(9789),roles:[[{name:E.default.Messages.ROLE_EMPTY_STATE_CLUBS_ROLE_1,color:"#7e00fc"},{name:E.default.Messages.ROLE_EMPTY_STATE_CLUBS_ROLE_2,color:"#faa61a"},{name:E.default.Messages.ROLE_EMPTY_STATE_CLUBS_ROLE_3,color:"#f06ea8"}],[{name:E.default.Messages.ROLE_EMPTY_STATE_CLUBS_ROLE_4,color:"#45ddc0"},{name:E.default.Messages.ROLE_EMPTY_STATE_CLUBS_ROLE_5,color:"#00b0f4"},{name:E.default.Messages.ROLE_EMPTY_STATE_CLUBS_ROLE_6,color:"#ba1616"}]]},{backgroundClass:g.default.bannerGaming,username:"Graggle#0000",avatar:n(9790),roles:[[{name:E.default.Messages.ROLE_EMPTY_STATE_GAMING_ROLE_1,color:"#4a76e6"},{name:E.default.Messages.ROLE_EMPTY_STATE_GAMING_ROLE_2,color:"#ad87ff"},{name:E.default.Messages.ROLE_EMPTY_STATE_GAMING_ROLE_3,color:"#6defcf"}],[{name:E.default.Messages.ROLE_EMPTY_STATE_GAMING_ROLE_4,color:"#ff73fa"},{name:E.default.Messages.ROLE_EMPTY_STATE_GAMING_ROLE_5,color:"#3ba55c"},{name:E.default.Messages.ROLE_EMPTY_STATE_GAMING_ROLE_6,color:"#ff1b66"}]]},{backgroundClass:g.default.bannerHobbies,username:"Mallow#0000",avatar:n(9791),roles:[[{name:E.default.Messages.ROLE_EMPTY_STATE_HOBBIES_ROLE_1,color:"#20d6b8"},{name:E.default.Messages.ROLE_EMPTY_STATE_HOBBIES_ROLE_2,color:"#236136"},{name:E.default.Messages.ROLE_EMPTY_STATE_HOBBIES_ROLE_3,color:"#ff9a15"}],[{name:E.default.Messages.ROLE_EMPTY_STATE_HOBBIES_ROLE_4,color:"#ff78b9"},{name:E.default.Messages.ROLE_EMPTY_STATE_HOBBIES_ROLE_5,color:"#00b0f4"},{name:E.default.Messages.ROLE_EMPTY_STATE_HOBBIES_ROLE_6,color:"#6f52e4"}]]}]}),[]),r=a.useState(0),o=r[0],l=r[1];return a.useEffect((function(){if(!e){var n=setTimeout((function(){return l((o+1)%t.length)}),6332);return function(){return clearTimeout(n)}}}),[o]),C("div",{className:g.default.bannerContainer,"aria-hidden":!0},void 0,t.map((function(e,t){return C(M,{guild:e,display:t===o},t)})))}N.displayName="ExampleRolesBanner";var A=C(N,{});function P(e){var t=e.guild,n=e.everyoneRole,r=e.setEditRoleId,o=a.useState(!1),i=o[0],s=o[1],p=a.useCallback((function(){r(n.id)}),[r,n.id]);return C(u.DefaultCustomContentScroller,{},void 0,C(f.FormSection,{className:g.default.section,title:E.default.Messages.ROLES,tag:c.Tags.H2},void 0,C("div",{className:g.default.container},void 0,A,C(v.default,{size:v.default.Sizes.SIZE_24},void 0,E.default.Messages.ROLE_OVERVIEW_EMPTY_SUBHEADER),C(y.default,{color:y.default.Colors.HEADER_SECONDARY,size:y.default.Sizes.SIZE_16,className:g.default.introBody},void 0,E.default.Messages.ROLE_OVERVIEW_DESCRIPTION),C(d.default,{className:g.default.button,size:d.default.Sizes.MEDIUM,onClick:function(e){return(0,_.default)(e,t,T(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(!0),e.next=3,l.default.createRole(t.id);case 3:s(!1);case 4:case"end":return e.stop()}}),e)}))))},submitting:i},void 0,E.default.Messages.ROLE_CREATE_CTA)),C(f.FormDivider,{className:g.default.divider}),C(m.default,{role:n,onClick:p})))}P.displayName="GuildSettingsRolesIntro"},function(e,t,n){e.exports=n.p+"3a55d3972a7d68bcb306af32ab1b226a.svg"},function(e,t,n){e.exports=n.p+"f17da3efc8cf47226d362fee2f5f7197.svg"},function(e,t,n){e.exports=n.p+"642982d3d82323a8fb69860f116ebca7.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=ie;var r,a=W(n(0)),o=x(n(9)),i=n(5941),l=n(202),u=n(3),s=n(389),d=x(n(199)),f=n(8305),c=x(n(8527)),p=W(n(8576)),v=x(n(40)),y=x(n(29)),m=W(n(8352)),_=x(n(61)),h=x(n(5942)),E=x(n(149)),g=W(n(159)),S=x(n(8528)),O=x(n(8475)),I=x(n(8331)),T=x(n(1215)),C=x(n(696)),b=x(n(8577)),M=x(n(8448)),N=x(n(24)),A=x(n(13)),P=x(n(93)),R=n(8674),L=x(n(8460)),D=n(8303),w=x(n(9793)),j=x(n(8981)),k=W(n(8979)),U=x(n(8677)),G=x(n(8980)),F=n(1),B=x(n(6)),H=x(n(7697));function x(e){return e&&e.__esModule?e:{default:e}}function V(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return V=function(){return e},e}function W(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=V();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function Y(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function z(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Y(o,r,a,i,l,"next",e)}function l(e){Y(o,r,a,i,l,"throw",e)}i(void 0)}))}}function K(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function $(){return($=Object.assign||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}).apply(this,arguments)}var Z=K(S.default,{}),q=K(O.default,{width:20,height:20}),X=K(T.default,{width:20,height:20}),J=K(I.default,{width:20,height:20});function Q(e){var t,n,r,u=e.role,d=e.guild,f=e.highestRole,c=e.currentPosition,v=e.memberCount,y=e.onDragStart,h=e.onDragReset,g=e.onDragComplete,S=e.disableHover,O=e.disableDrag,I=e.setEditRoleId,T=e.setSelectedSection,C=(0,k.useLockTooltip)(d,f,u),A=null!=C,P=a.useState(!1),R=P[0],L=P[1],w=a.useMemo((function(){return{item:{type:"DRAGGABLE_ROLE",id:u.id,position:c},canDrag:function(){return R&&!A},collect:function(e){return{isDragging:e.isDragging()}},begin:function(){y(u.id)},end:function(e,t){var n=t.getDropResult();null!=n?g(n.roleId):h()}}}),[u,y,h,g,A,R]),j=(0,i.useDrag)(w),U=j[0].isDragging,G=j[1],x=a.useMemo((function(){return{accept:"DRAGGABLE_ROLE",canDrop:function(){return!A},collect:function(e){var t=e.getItem();return null==t?{dragSourcePosition:null}:e.isOver()&&e.canDrop()?{dragSourcePosition:t.position}:{dragSourcePosition:null}},drop:function(){return{roleId:u.id}}}}),[A,u]),V=(0,i.useDrop)(x),W=V[0].dragSourcePosition,Y=V[1],z=a.useCallback((function(e){(0,s.openContextMenu)(e,(function(e){return a.createElement(p.default,$({},e,{role:u,guild:d}))}))}),[d,u]),Q=(0,p.useHasGuildRoleItems)(d,u);if(U)return a.createElement("div",{ref:G,className:(0,o.default)(H.default.roleRow,H.default.roleRowDragging)});function ee(){I(u.id)}function te(){ee(),T(D.GuildSettingsRoleEditSections.MEMBERS)}return a.createElement(_.default,{className:(0,o.default)(H.default.roleRow,(t={},t[H.default.roleRowDisableHover]=S,t[H.default.containerDragBefore]=null!=W&&c<W,t[H.default.containerDragAfter]=null!=W&&c>W,t)),onClick:ee,onContextMenu:z,ref:function(e){var t,n;G(null!==(t=null==e?void 0:e.ref)&&void 0!==t?t:null),Y(null!==(n=null==e?void 0:e.ref)&&void 0!==n?n:null)},"aria-label":B.default.Messages.ROLE_ROW_DESCRIPTION.format({name:u.name,count:""+v})},K("div",{className:(0,o.default)(H.default.dragIcon,H.default.dragSpacing,(n={},n[H.default.dragIconHidden]=A||O,n)),onMouseEnter:function(){return L(!0)},onMouseLeave:function(){return L(!1)}},void 0,Z),K("div",{className:(0,o.default)(H.default.roleNameContainer,H.default.roleNameSpacing)},void 0,K(M.default,{className:H.default.shield,color:null!==(r=u.colorString)&&void 0!==r?r:(0,l.int2hex)(F.DEFAULT_ROLE_COLOR)}),null!=C?K(k.default,{className:H.default.lock,tooltipText:C}):null,K(N.default,{className:H.default.roleName,color:N.default.Colors.HEADER_PRIMARY,size:N.default.Sizes.SIZE_16},void 0,u.name)),K(E.default,{text:B.default.Messages.ROLE_OVERVIEW_VIEW_MEMBERS,"aria-label":B.default.Messages.ROLE_ROW_VIEW_MEMBERS.format({count:""+v}),position:E.default.Positions.RIGHT},void 0,(function(e){return a.createElement(_.default,$({},e,{className:(0,o.default)(H.default.memberCountContainer,H.default.memberSpacing),onClick:te}),K(N.default,{size:N.default.Sizes.SIZE_16,color:N.default.Colors.CUSTOM},void 0,v),K(b.default,{className:H.default.person,width:20,height:20}))})),K("div",{className:(0,o.default)(H.default.buttonsContainer,H.default.buttonsSpacing)},void 0,K(m.default,{className:(0,o.default)(H.default.circleButton,H.default.editButton),tooltip:A?B.default.Messages.VIEW:B.default.Messages.EDIT,color:m.CircleIconButtonColors.SECONDARY,size:m.CircleIconButtonSizes.SIZE_36,icon:A?q:X,onClick:ee}),K(m.default,{className:H.default.circleButton,tooltip:B.default.Messages.MORE,color:m.CircleIconButtonColors.SECONDARY,size:m.CircleIconButtonSizes.SIZE_36,icon:J,onClick:z,disabled:!Q})))}Q.displayName="RoleRow";var ee=K(C.default,{});function te(){return K("div",{className:H.default.emptyRoles},void 0,K("div",{className:H.default.dragSpacing}),ee,K(N.default,{className:H.default.emptyRolesText,size:N.default.Sizes.SIZE_16,color:N.default.Colors.MUTED},void 0,B.default.Messages.ROLE_LIST_EMPTY))}function ne(e){var t=e.guild,n=e.query,r=e.setQuery,o=a.useState(!1),i=o[0],l=o[1],u=c.default.useExperiment({guildId:t.id})[0].showNewRolesCreationFlow,s=a.useCallback((function(e){r(e)}),[r]),f=a.useCallback((function(){r("")}),[r]),p=function(e){return(0,U.default)(e,t,z(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l(!0),e.next=3,d.default.createRole(t.id);case 3:l(!1);case 4:case"end":return e.stop()}}),e)}))))},v=u?K(E.default,{"aria-label":B.default.Messages.ROLE_CREATE_TIP_TOOLTIP_TEXT,text:K(N.default,{className:H.default.tooltip},void 0,B.default.Messages.ROLE_CREATE_TIP_TOOLTIP_TEXT)},void 0,(function(e){return a.createElement(y.default,$({},e,{className:H.default.createButton,size:y.default.Sizes.SMALL,onClick:p,submitting:i}),B.default.Messages.ROLE_CREATE_CTA)})):K(y.default,{className:H.default.createButton,size:y.default.Sizes.SMALL,onClick:p,submitting:i},void 0,B.default.Messages.ROLE_CREATE_CTA);return K("div",{className:H.default.rolesList},void 0,K("div",{className:H.default.searchContainer},void 0,K(h.default,{size:h.default.Sizes.MEDIUM,query:n,onChange:s,onClear:f,placeholder:B.default.Messages.SEARCH_ROLES}),v))}te.displayName="EmptyRoles",ne.displayName="RolesSearcher";var re=K(w.default,{});function ae(e){var t=e.guild,n=e.everyoneRole,r=e.filteredRoles,i=e.setEditRoleId,l=e.query,u=e.setQuery,s=e.setHeaderHeight,d=a.useRef(null);a.useEffect((function(){var e,t;s(null!==(e=null===(t=d.current)||void 0===t?void 0:t.offsetHeight)&&void 0!==e?e:371)}),[s]);var f=a.useCallback((function(){i(n.id)}),[i,n.id]);return a.createElement("div",{ref:d},K(g.default,{tag:g.Tags.H1},void 0,B.default.Messages.ROLES),re,K(j.default,{role:n,onClick:f}),K(N.default,{className:H.default.helpText,color:N.default.Colors.HEADER_SECONDARY,size:N.default.Sizes.SIZE_14},void 0,B.default.Messages.ROLE_LIST_BODY_WITH_HELP.format({articleURL:P.default.getArticleURL(F.HelpdeskArticles.PERMISSIONS_TUTORIAL)})),K(ne,{guild:t,query:l,setQuery:u}),K("div",{className:H.default.rolesTable},void 0,K("div",{className:H.default.tableHeader},void 0,K("div",{className:H.default.dragSpacing}),K(N.default,{className:(0,o.default)(H.default.tableTitle,H.default.roleNameSpacing)},void 0,B.default.Messages.ROLE_LIST_HEADER.format({numRoles:r.length||"0"})),K(N.default,{className:(0,o.default)(H.default.tableTitle,H.default.memberSpacing)},void 0,B.default.Messages.MEMBERS),K("div",{className:H.default.buttonsSpacing}))))}ae.displayName="PageHeader";var oe=K(te,{},"empty-role");function ie(e){var t=e.setEditRoleId,n=e.guild,r=e.everyoneRole,o=e.otherRoles,i=e.setSelectedSection,l=(0,u.useStateFromStores)([L.default],(function(){return L.default.getRoleMemberCount(n.id)}),[n.id]),s=(0,u.useStateFromStores)([v.default],(function(){return v.default.getHighestRole(n)}),[n]),d=a.useState(""),c=d[0],p=d[1],y=c.trim();a.useEffect((function(){(0,R.fetchMemberCounts)(n.id)}),[n.id]);var m=a.useRef(!1);a.useEffect((function(){m.current||""===c.trimStart()||(A.default.track(F.AnalyticEvents.SEARCH_STARTED,{search_type:"Roles"}),m.current=!0)}),[c]);var _=a.useMemo((function(){return o.filter((function(e){return function(e,t){return""===t||e.name.toLowerCase().includes(t.toLowerCase())}(e,y)}))}),[o,y]),h=a.useState(371),E=h[0],g=h[1],S=K(ae,{guild:n,everyoneRole:r,filteredRoles:_,setEditRoleId:t,query:c,setQuery:p,setHeaderHeight:g},"header"),O=a.useCallback((function(){return S}),[n,r,_,t,c]),I=a.useMemo((function(){return[].concat(o,[r])}),[o,r]),T=(0,G.default)(I),C=T.draggingRoleId,b=T.handleDragStart,M=T.handleDragReset,N=T.handleDragComplete,P=a.useCallback((function(e){var r,a=e.row;if(0===_.length)return oe;var u=_[a];return K(Q,{role:u,guild:n,highestRole:s,currentPosition:a,memberCount:null!==(r=null==l?void 0:l[u.id])&&void 0!==r?r:0,onDragStart:b,onDragReset:M,onDragComplete:N,disableHover:null!=C,disableDrag:o.length!==_.length,setEditRoleId:t,setSelectedSection:i},u.id)}),[_,n,s,l,b,M,N,C,o,t,i]);return K(f.ListContentScroller,{sections:[Math.max(_.length,1)],sectionHeight:E,renderSection:O,rowHeight:61,renderRow:P})}ie.displayName="GuildSettingsRolesOverview"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(24)),o=l(n(6)),i=l(n(7696));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(){return s(a.default,{className:i.default.description,color:a.default.Colors.HEADER_SECONDARY,size:a.default.Sizes.SIZE_14},void 0,o.default.Messages.ROLE_OVERVIEW_DESCRIPTION)}d.displayName="GuildSettingsRolesDescription"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=C;var r,a=h(n(0)),o=m(n(480)),i=n(3),l=m(n(15)),u=m(n(12)),s=h(n(8595)),d=m(n(78)),f=n(8532),c=m(n(712)),p=n(1),v=m(n(6)),y=m(n(7698));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function E(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e){var t;return S("span",{style:{color:null!==(t=e.colorString)&&void 0!==t?t:"currentColor"}},void 0,e.name)}O.displayName="coloredRoleLabel";var I=S(s.ComboboxItem.Checkbox,{}),T=S(s.ComboboxItem.Checkbox,{checked:!0});function C(e){var t=e.guildId,n=(0,i.useStateFromStores)([u.default],(function(){return u.default.getNullableCurrentUser()})),r=(0,i.useStateFromStores)([l.default],(function(){return l.default.getGuild(t)})),m=(0,i.useStateFromStores)([c.default],(function(){return c.default.getViewingRoles(t)})),_=(0,s.useMultiSelect)(null==m?[]:Object.keys(m)),h=_[0],g=_[1],C=a.useRef(r);a.useEffect((function(){var e={},t=C.current;if(null!=t){for(var n,r=E(h);!(n=r()).done;){var a=n.value,o=t.getRole(a);null!=o&&(e[a]=o)}(0,f.viewAsRoles)(t.id,e)}}),[h]);var b=null!=r&&null!=n?d.default.getHighestRole(r,n.id):null,M=a.useMemo((function(){return null!=r&&null!=n?Object.values(r.roles).filter((function(e){return e.id!==r.id})).filter((function(e){return(null==b?void 0:b.id)===e.id||d.default.isRoleHigher(r,n.id,b,e)})):[]}),[r,n,b]);return null==n||null==r?null:d.default.can(p.Permissions.ADMINISTRATOR,n,r)?S("div",{className:y.default.container},void 0,S(s.default,{placeholder:v.default.Messages.SEARCH_ROLES,value:h,onChange:g,autoFocus:!0},void 0,(function(e){var t=M.reduce((function(t,n){return(0,o.default)(e.toLowerCase(),n.name.toLowerCase())&&t.push(S(s.ComboboxItem,{value:n.id},n.id,S(s.ComboboxItem.Label,{},void 0,O(n)),I)),t}),[]),n=r.getRole(r.id);return null!=n&&t.push(S(s.ComboboxItem,{value:n.id,disabled:!0},n.id,S(s.ComboboxItem.Label,{},void 0,O(n)),T)),t}))):null}C.displayName="ViewAsRoleSelector"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=f(n(8292)),i=f(n(8255)),l=f(n(39)),u=f(n(8451)),s=f(n(8679)),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=function(){var e=(0,a.useStateFromStores)([l.default],(function(){return l.default.theme})),t=(0,a.useStateFromStores)([i.default],(function(){return i.default.getProps()})).guild,n=(0,a.useStateFromStores)([s.default],(function(){return s.default.getSettingsProps()})),r=n.submitting,f=n.welcomeSettings;if(null==t)return null;return p(o.default,{onSave:function(){return u.default.saveWelcomeScreen(t.id,f)},onReset:function(){return u.default.resetWelcomeScreen()},theme:e,submitting:r,onSaveText:d.default.Messages.TRY_AGAIN,message:d.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_UPDATE_FAILURE})};v.displayName="GuildSettingsCommunityWelcomeNotice";var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=R(n(0)),o=A(n(98)),i=n(10380),l=n(3),u=A(n(14)),s=n(9797),d=A(n(9798)),f=n(395),c=n(1220),p=A(n(684)),v=A(n(9800)),y=A(n(8255)),m=A(n(15)),_=A(n(39)),h=A(n(29)),E=R(n(1164)),g=A(n(681)),S=R(n(474)),O=n(159),I=A(n(1236)),T=A(n(24)),C=A(n(13)),b=n(1),M=A(n(6)),N=A(n(7701));function A(e){return e&&e.__esModule?e:{default:e}}function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function L(){return(L=Object.assign||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}).apply(this,arguments)}function D(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var w=function(e,t,n,r){void 0===r&&(r=!1);var a=null;return null==t||Number.isNaN(t)?null!=t&&!Number.isNaN(t)||null==e||(a=M.default.Messages.GUILD_ANALYTICS_METRICS_LAST_WEEK):a=M.default.Messages.PERCENTAGE_SINCE_LAST_WEEK.format({percentage:(0,i.truncateAndLocalizeNumber)(Math.abs(t),n)}),{localizedNumber:null!=e?(0,i.truncateAndLocalizeNumber)(e,n)+(r?"%":""):M.default.Messages.NOT_AVAILABLE,subtext:a,isTrendingUp:t>0,isTrendingDown:t<0}},j=function(e,t){return void 0===t&&(t=!1),t||e===b.AbortCodes.NOT_ENOUGH_GUILD_MEMBERS?D(E.default,{icon:I.default,className:N.default.notEnoughMembersError,backgroundColor:E.Colors.BACKGROUND_ACCENT},void 0,M.default.Messages.GUILD_ANALYTICS_ERROR_GUILD_SIZE):null==e?null:D(E.default,{backgroundColor:E.Colors.BACKGROUND_ACCENT},void 0,M.default.Messages.GUILD_ANALYTICS_ERROR_MESSAGE)};j.displayName="getErrorBlock";var k=function(){var e=a.useState(!1),t=e[0],n=e[1],r=(0,l.useStateFromStores)([y.default],(function(){return y.default.getGuildId()}));return D(h.default,{className:N.default.developerPortalCta,onClick:function(){n(!0),C.default.track(b.AnalyticEvents.GUILD_INSIGHTS_SETTINGS_CTA_CLICKED,{guild_id:r});var e=null==r?b.RelativeMarketingURLs.DEVELOPER_PORTAL:b.RelativeMarketingURLs.DEVELOPER_PORTAL_GUILD_ANALYTICS(r),t=o.default.v4();u.default.post({url:b.Endpoints.HANDOFF,body:{key:t},oldFormErrors:!0}).then((function(n){var r=n.body.handoff_token;window.open(b.MarketingURLs.DEVELOPER_PORTAL_LOGIN_HANDOFF(t,r,e))}),(function(){window.open(e)})).then((function(){n(!1)}))},submitting:t},void 0,M.default.Messages.GUILD_ANALYICS_DEVELOPERS_BUTTON)};k.displayName="DevPortalButton";var U=D(k,{}),G=function(){var e=(0,l.useStateFromStores)([y.default],(function(){return y.default.getGuildId()})),t=(0,l.useStateFromStores)([p.default],(function(){return p.default.getMemberCount(e)})),n=(0,l.useStateFromStores)([m.default],(function(){return m.default.getGuild(e)})),r=(0,l.useStateFromStores)([_.default],(function(){return _.default.locale})),o=(0,l.useStateFromStoresObject)([v.default],(function(){return{analytics:null!=e?v.default.getOverviewAnalytics(e):null,errorCode:v.default.getError()}})),i=o.analytics,u=o.errorCode,h=null==t||null==n||null!=t&&t<500&&null!=n&&!n.hasFeature(b.GuildFeatures.PARTNERED)&&!n.hasFeature(b.GuildFeatures.VERIFIED);a.useEffect((function(){null==e||h||((0,s.fetchEngagementOverview)(e),(0,s.fetchGrowthActivationOverview)(e),(0,s.fetchGrowthActivationRetention)(e))}),[e,h]),a.useEffect((function(){(0,c.hideHotspot)(f.HotspotLocations.GUILD_ANALYTICS_GUILD_SETTINGS_MENU)}),[]);var E=null!=i?D("div",{className:N.default.guildAnalyticsOverviewWrapper},void 0,D("div",{className:N.default.overviewData},void 0,a.createElement(d.default,L({title:M.default.Messages.WEEKLY_VISITORS,tooltipText:M.default.Messages.VISITORS_INFO},w(i.visitors,i.visitorsChange,r))),a.createElement(d.default,L({title:M.default.Messages.WEEKLY_COMMUNICATORS,tooltipText:M.default.Messages.COMMUNICATORS_INFO},w(i.communicators,i.communicatorsChange,r))),a.createElement(d.default,L({title:M.default.Messages.WEEKLY_NEW_MEMBERS},w(i.newMembers,i.newMembersChange,r))),a.createElement(d.default,L({title:M.default.Messages.WEEKLY_NEW_MEMBER_RETENTION,tooltipText:M.default.Messages.NEW_MEMBER_RETENTION_INFO},w(i.pctRetained,i.pctRetainedChange,r,!0))))):null;return D(g.default,{tag:O.Tags.H1,title:M.default.Messages.SERVER_INSIGHTS},void 0,D(S.default,{type:S.Types.DESCRIPTION},void 0,M.default.Messages.GUILD_ANALYTICS_DESCRIPTION.format()),j(u,h),D("div",{className:N.default.developerPortalCtaWrapper},void 0,D("div",{className:N.default.placeholderImage}),D(T.default,{className:N.default.developerPortalCtaText},void 0,M.default.Messages.GUILD_ANALYTICS_DEVELOPERS_CTA),U),E)};G.displayName="GuildSettingsAnalytics";var F=G;t.default=F},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchEngagementOverview=function(e){return l(e,o.Endpoints.GUILD_ANALYTICS_ENGAGEMENT_OVERVIEW).then((function(t){var n=t.body;a.default.dispatch({type:o.ActionTypes.GUILD_ANALYTICS_ENGAGEMENT_OVERVIEW_FETCH_SUCCESS,guildId:e,stats:n.slice(0,2)})}),(function(e){a.default.dispatch({type:o.ActionTypes.GUILD_ANALYTICS_ENGAGEMENT_OVERVIEW_FETCH_FAILURE,error:e.body})}))},t.fetchGrowthActivationOverview=function(e){return l(e,o.Endpoints.GUILD_ANALYTICS_GROWTH_ACTIVATION_OVERVIEW).then((function(t){var n=t.body;a.default.dispatch({type:o.ActionTypes.GUILD_ANALYTICS_GROWTH_ACTIVATION_OVERVIEW_FETCH_SUCCESS,guildId:e,stats:n.slice(0,2)})}),(function(e){a.default.dispatch({type:o.ActionTypes.GUILD_ANALYTICS_GROWTH_ACTIVATION_OVERVIEW_FETCH_FAILURE,error:e.body})}))},t.fetchGrowthActivationRetention=function(e){return l(e,o.Endpoints.GUILD_ANALYTICS_GROWTH_ACTIVATION_RETENTION).then((function(t){var n=t.body.filter((function(e){return e.hasOwnProperty("pct_retained")})).map((function(e){var t=e.interval_start_timestamp,n=e.pct_retained;!function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n])}(e,["interval_start_timestamp","pct_retained"]);return{interval_start_timestamp:t,pct_retained:n}}));a.default.dispatch({type:o.ActionTypes.GUILD_ANALYTICS_GROWTH_ACTIVATION_RETENTION_FETCH_SUCCESS,guildId:e,stats:n.slice(0,2)})}),(function(e){a.default.dispatch({type:o.ActionTypes.GUILD_ANALYTICS_GROWTH_ACTIVATION_RETENTION_FETCH_FAILURE,error:e.body})}))};var r=i(n(14)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var n=new Date,a=new Date(n.getTime()-864e5*(n.getDay()+1)-36288e5);return r.default.get({url:t(e),query:{start:a.toISOString(),end:n.toISOString(),interval:2},oldFormErrors:!0})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(149)),i=v(n(159)),l=v(n(1236)),u=v(n(9799)),s=v(n(47)),d=v(n(24)),f=n(1),c=v(n(6)),p=v(n(7700));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(){return(_=Object.assign||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}).apply(this,arguments)}var h=function(e){var t=e.title,n=e.subtext,r=void 0===n?c.default.Messages.NOT_AVAILABLE:n,v=e.localizedNumber,y=e.isTrendingUp,h=e.isTrendingDown,E=e.tooltipText,g="string"==typeof E?E:t,S=null!=E?m(o.default,{text:E,position:o.default.Positions.TOP,"aria-label":g},void 0,(function(e){return a.createElement(l.default,_({},e,{className:p.default.infoIcon,height:16,width:16}))})):null;return m("div",{className:p.default.analyticsCard},void 0,m(i.default,{className:p.default.analyticsCardTitle},void 0,t,S),m("div",{className:p.default.analyticsCardContent},void 0,m(s.default,{className:null!=v?p.default.analyticsCardNumber:p.default.analyticsCardNumberNotAvailable,size:s.default.Sizes.SIZE_24},void 0,null!=v?v:c.default.Messages.NOT_AVAILABLE)),m("div",{className:p.default.analyticsCardArrowSubText},void 0,y?m(u.default,{className:p.default.trendingArrow,color:f.Colors.STATUS_GREEN_600,"aria-label":c.default.Messages.TRENDING_ARROW_UP,width:14,height:12}):null,h?m(u.default,{className:p.default.trendingArrowIconDown,color:f.Colors.STATUS_RED,"aria-label":c.default.Messages.TRENDING_ARROW_DOWN,width:14,height:12}):null,m(d.default,{size:d.default.Sizes.SIZE_12},void 0,r)))};h.displayName="AnalyticsCard";var E=h;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var i=function(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,i=e.color,l=void 0===i?"currentColor":i;return o("svg",{className:e.className,width:n,height:a,viewBox:"0 0 14 12"},void 0,o("path",{d:"M7 0L13.9282 12H0.0717969L7 0Z",fill:l}))};i.displayName="TrendingArrow";var l=i;t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(9801)),a=i(n(3)),o=i(n(2));n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(){return(u=Object.assign||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}).apply(this,arguments)}var s=["pct_retained","new_members","visitors","communicators"],d={},f=null;function c(e){var t=e.guildId,n=e.stats;f=null;var a={},o={},i=n[0],l=n[1];null!=i&&s.forEach((function(e){if(null!=i[e]){var t=(0,r.default)(e);null!=l&&0!==l[e]&&(a[t+"Change"]=100*(i[e]-l[e])/l[e]),o[t]=i[e]}})),d[t]=u({},o,{},a,{},d[t])}function p(e){var t=e.error;f=t.code}var v=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var a=r.prototype;return a.getOverviewAnalytics=function(e){return d[e]},a.getError=function(){return f},r}(a.default.Store))(o.default,{GUILD_ANALYTICS_ENGAGEMENT_OVERVIEW_FETCH_SUCCESS:c,GUILD_ANALYTICS_GROWTH_ACTIVATION_OVERVIEW_FETCH_SUCCESS:c,GUILD_ANALYTICS_GROWTH_ACTIVATION_RETENTION_FETCH_SUCCESS:c,GUILD_ANALYTICS_ENGAGEMENT_OVERVIEW_FETCH_FAILURE:p,GUILD_ANALYTICS_GROWTH_ACTIVATION_OVERVIEW_FETCH_FAILURE:p,GUILD_ANALYTICS_GROWTH_ACTIVATION_RETENTION_FETCH_FAILURE:p});t.default=v},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=K(n(0)),o=Y(n(9)),i=Y(n(67)),l=n(680),u=Y(n(3)),s=n(9803),d=n(389),f=Y(n(8316)),c=Y(n(8984)),p=Y(n(6008)),v=Y(n(9804)),y=Y(n(8502)),m=Y(n(1291)),_=Y(n(9805)),h=n(8681),E=Y(n(89)),g=Y(n(10)),S=Y(n(8680)),O=Y(n(8255)),I=Y(n(15)),T=Y(n(160)),C=Y(n(39)),b=Y(n(12)),M=K(n(9806)),N=n(717),A=Y(n(29)),P=n(8503),R=K(n(8302)),L=Y(n(55)),D=Y(n(151)),w=n(131),j=Y(n(696)),k=Y(n(279)),U=n(468),G=K(n(8985)),F=n(48),B=n(1),H=Y(n(6)),x=Y(n(7704)),V=Y(n(7381)),W=Y(n(5958));function Y(e){return e&&e.__esModule?e:{default:e}}function z(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return z=function(){return e},e}function K(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=z();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function $(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function Z(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function q(){return(q=Object.assign||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}).apply(this,arguments)}function X(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,J(e,t)}function J(e,t){return(J=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Q=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleHeaderClick=function(){var e=t.props,n=e.onHeaderClick,r=e.log;null==n||n(r)},t.handleUserContextMenu=function(e){var n=t.props,r=n.log,o=n.guildId,i=r.user;null!=i&&null!=o&&(0,d.openContextMenu)(e,(function(e){return a.createElement(_.default,q({},e,{guildId:o,user:i}))}))},t.handleChannelContextMenu=function(e){var n=t.props,r=n.log,o=n.guildId,i=I.default.getGuild(o);null!=r.options.channel&&null!=i&&(0,d.openContextMenu)(e,(function(e){return a.createElement(v.default,q({},e,{channel:r.options.channel}))}))},t.handleTargetContextMenu=function(e){var n=t.props,r=n.log,o=n.guildId;(0,d.openContextMenu)(e,(function(e){switch(r.targetType){case B.AuditLogTargetTypes.CHANNEL:case B.AuditLogTargetTypes.CHANNEL_OVERWRITE:var t=g.default.getChannel(r.targetId),n=I.default.getGuild(o);return null!=t&&null!=n?a.createElement(v.default,q({},e,{channel:t})):a.createElement(y.default,q({},e,{id:r.targetId}));case B.AuditLogTargetTypes.USER:var i=b.default.getUser(r.targetId);if(null!=i&&null!=o)return a.createElement(_.default,q({},e,{guildId:o,user:i}))}return null}))},t}return X(t,e),t.prototype.render=function(){var e=this.props,t=(e.onHeaderClick,e.guildId),n=Z(e,["onHeaderClick","guildId"]);return null==t?null:a.createElement(M.default,q({},n,{onHeaderClick:this.handleHeaderClick,onUserContextMenu:this.handleUserContextMenu,onChannelContextMenu:this.handleChannelContextMenu,onTargetContextMenu:this.handleTargetContextMenu}))},t}(a.PureComponent);function ee(e){return{label:e.username,value:e.id,user:e}}function te(e){var t=e.logs,n=e.guildId,r=e.expandedId,o=e.lastExpandedId,i=e.scroller,u=e.setExpandedRef,s=e.setLastExpandedRef,d=e.onHeaderClick,f=e.onContentClick,c=a.useRef(i);a.useEffect((function(){c.current=i}),[i]);var v=(0,p.default)("audit-log",c);return $(l.ListNavigatorProvider,{navigator:v},void 0,$(l.ListNavigatorContainer,{},void 0,(function(e){var i=e.ref,l=Z(e,["ref"]);return a.createElement("div",q({ref:i},l),t.map((function(e){var t=r===e.id,i=o===e.id,l=t?u:i?s:null;return a.createElement(Q,{guildId:n,ref:l,className:x.default.marginBottom8,onHeaderClick:d,onContentClick:f,log:e,key:e.id,expanded:t})})))})))}Q.displayName="AuditLogClickWrap",te.displayName="AuditLogList";var ne=$(P.ComboboxItem.Checkmark,{}),re=$(P.ComboboxItem.Checkmark,{}),ae=$(P.ComboboxItem.Icon,{},void 0,$(j.default,{width:30,height:30})),oe=$(P.ComboboxItem.Checkmark,{}),ie=$(f.default,{}),le=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this)._clickedInside=!1,t._scrollerRef=null,t._prevRects=t.getRects(),t._contentRef=a.createRef(),t.state={expandedId:null,lastExpandedId:null,actionFilterQuery:""},t.renderActionQuickSelectItem=function(e,n){var r,a=t.props.actionFilter,o=(0,h.getActionType)(e.value),i=(0,h.getTargetType)(e.value),l=e.value===a;return $(P.ComboboxItem,{value:e.value,selectedColor:P.ComboboxItem.Colors.BRAND},null!==(r=e.key)&&void 0!==r?r:n,$(P.ComboboxItem.Icon,{},void 0,$(M.AuditLogIcon,{themeOverride:l?B.ThemeTypes.DARK:null,actionType:o,targetType:i,action:e.value})),$(P.ComboboxItem.Label,{},void 0,e.label),ne)},t.renderUserQuickSelectItem=function(e,n){if(e.user instanceof E.default){var r=e.user;return $(P.ComboboxItem,{value:r.id,selectedColor:P.ComboboxItem.Colors.BRAND},r.id,$(P.ComboboxItem.Icon,{},void 0,$(k.default,{size:k.default.Sizes.SIZE_32,src:r.getAvatarURL(t.props.guildId||void 0),"aria-label":r.username,className:x.default.avatar})),$(P.ComboboxItem.Label,{},void 0,$("span",{className:x.default.username},void 0,r.username),$("span",{className:x.default.discriminator},void 0,"#",r.discriminator)),re)}var a;return $(P.ComboboxItem,{value:e.value,selectedColor:P.ComboboxItem.Colors.BRAND},null!==(a=e.key)&&void 0!==a?a:n,ae,$(P.ComboboxItem.Label,{},void 0,e.label),oe)},t.renderHeaderDropdowns=function(){var e,n,r=t.props,a=r.actionFilter,i=r.hide,l=r.userIdFilter,u=r.moderators;if(i)return null;var s=G.ACTION_FILTER_ITEMS(),d=s,f=null!==(e=s.find((function(e){var t=e.value;return a===t})))&&void 0!==e?e:s[0],p={label:H.default.Messages.GUILD_SETTINGS_FILTER_ALL_USERS,valueLabel:H.default.Messages.GUILD_SETTINGS_FILTER_ALL,value:null},v=[p].concat(u).map((function(e){return e instanceof E.default?ee(e):e})),y=null!==(n=v.find((function(e){return e.value===l})))&&void 0!==n?n:p;return[$(L.default.Child,{},"user-filter",$(c.default,{popoutClassName:(0,o.default)(x.default.guildSettingsAuditLogsUserFilterPopout,W.default.elevationBorderHigh),items:v,renderItem:t.renderUserQuickSelectItem,renderValue:t.renderUserQuickSelectValue,value:y,onChange:t.handleFilterUserChange,label:H.default.Messages.GUILD_SETTINGS_FILTER_USER,placeholder:H.default.Messages.SEARCH_MEMBERS,popoutProps:{autoInvert:!1,position:N.PopoutPositions.BOTTOM}})),$(L.default.Child,{},"action-filter",$(c.default,{placeholder:H.default.Messages.SEARCH_ACTIONS,label:H.default.Messages.GUILD_SETTINGS_FILTER_ACTION,popoutClassName:(0,o.default)(x.default.guildSettingsAuditLogsUserFilterPopout,W.default.elevationBorderLow),items:d,renderItem:t.renderActionQuickSelectItem,renderValue:t.renderActionQuickSelectValue,value:f,onChange:t.handleFilterActionChange,popoutProps:{autoInvert:!1,position:N.PopoutPositions.BOTTOM}}))]},t.renderLoadMore=function(){var e=t.props,n=e.showLoadMore,r=e.hasOlderLogs,a=e.hide;if(n&&r&&!a)return $(A.default,{color:A.default.Colors.PRIMARY,className:x.default.marginTop20,onClick:t.handleFetchNextPage},void 0,H.default.Messages.GUILD_SETTINGS_AUDIT_LOG_LOAD_MORE)},t.handleFilterActionChange=function(e){(0,s.filterByAction)(e,t.props.guildId)},t.handleFilterUserChange=function(e){(0,s.filterByUserId)(e,t.props.guildId)},t.handleHeaderClick=function(e){var n=t.state.expandedId;n!==e.id?(t._clickedInside=!0,t.setState({expandedId:e.id,lastExpandedId:n}),t._prevRects=t.getRects()):(t._expandedRef=null,t._lastExpandedRef=null,null!=n&&(t._prevRects=t.getRects()),t.setState({expandedId:null,lastExpandedId:null}))},t.handleOutsideClick=function(){null==t.state.expandedId||t._clickedInside?null!=t.state.expandedId&&(t._clickedInside=!1):(t._expandedRef=null,t._lastExpandedRef=null,t.setState({expandedId:null,lastExpandedId:null}),t._prevRects=t.getRects())},t.handleContentClick=function(e){t._clickedInside=!0,e.stopPropagation()},t.handleSetScrollerRef=function(e){t._scrollerRef=e},t.handleOnScroll=function(){t.isScrollerAtBottom()&&t.handleFetchNextPage()},t.handleFetchNextPage=function(){(0,s.fetchNextLogPage)(t.props.guildId)},t.handleActionFilterQueryChange=function(e){t.setState({actionFilterQuery:e})},t.handleActionFilterQueryClear=function(){t.setState({actionFilterQuery:""})},t.handleSetExpandedRef=function(e){t._expandedRef=e},t.handleSetLastExpandedRef=function(e){t._lastExpandedRef=e},t}X(t,e);var r=t.prototype;return r.componentDidMount=function(){(0,s.fetchLogs)(this.props.guildId),document.addEventListener("click",this.handleOutsideClick)},r.componentWillUnmount=function(){document.removeEventListener("click",this.handleOutsideClick)},r.componentDidUpdate=function(e,t){this.state.expandedId!==t.expandedId&&this.fixScroll(),!this.props.showLoadMore&&this.props.logs.length!==e.logs.length&&null!=this._scrollerRef&&this.isScrollerAtBottom()&&(0,s.fetchNextLogPage)(this.props.guildId,!0)},r.isScrollerAtBottom=function(){var e;return(null===(e=this._scrollerRef)||void 0===e?void 0:e.isScrolledToBottom())||!1},r.fixScroll=function(){var e=this._scrollerRef;if(null!=e){var t=this.getRects(),n=this._prevRects;if(null!=t.expanded&&null!=t.lastExpanded&&null!=n.expanded&&!(t.expanded.top<t.lastExpanded.top)){var r=n.expanded.height-t.lastExpanded.height,a=e.getScrollerState().scrollTop-r;e.scrollTo({to:a})}}},r.getRects=function(){var e={lastExpanded:null,expanded:null};if(null!=this._lastExpandedRef){var t=i.default.findDOMNode(this._lastExpandedRef);null!=t&&t instanceof Element&&(e.lastExpanded=t.getBoundingClientRect())}if(null!=this._expandedRef){var n=i.default.findDOMNode(this._expandedRef);null!=n&&n instanceof Element&&(e.expanded=n.getBoundingClientRect())}return e},r.renderUserQuickSelectValue=function(e){return e.valueLabel||e.label},r.renderActionQuickSelectValue=function(e){return e.valueLabel||e.label},r.renderHeader=function(){return $(L.default,{direction:L.default.Direction.VERTICAL,className:x.default.customHeader},void 0,$(L.default,{align:L.default.Align.CENTER},void 0,$(w.FormTitle,{tag:w.FormTitleTags.H1,className:x.default.marginReset},void 0,H.default.Messages.GUILD_SETTINGS_LABEL_AUDIT_LOG),this.renderHeaderDropdowns()),$(w.FormDivider,{className:(0,o.default)(x.default.marginBottom20,x.default.marginTop20)}))},r.renderSpinner=function(){return $(D.default,{type:D.default.Type.SPINNING_CIRCLE})},r.renderContent=function(){var e=this.state,t=e.expandedId,r=e.lastExpandedId,a=this.props,o=a.logs,i=a.theme,l=a.hide,u=a.isInitialLoading,s=a.isLoading,d=a.hasError,f=a.guildId;if(l)return ie;if(s||u)return this.renderSpinner();if(0===o.length){var c=d?H.default.Messages.GUILD_SETTINGS_LABEL_AUDIT_LOG_ERROR_BODY:H.default.Messages.GUILD_SETTINGS_LABEL_AUDIT_LOG_EMPTY_BODY,p=d?H.default.Messages.GUILD_SETTINGS_LABEL_AUDIT_LOG_ERROR_TITLE:H.default.Messages.GUILD_SETTINGS_LABEL_AUDIT_LOG_EMPTY_TITLE;return $(R.default,{theme:i,className:x.default.marginTop40},void 0,$(R.EmptyStateImage,{darkSrc:n(9807),lightSrc:n(9808),width:272,height:130}),$(R.EmptyStateText,{note:c,style:{maxWidth:300}},void 0,p))}return $(te,{logs:o,guildId:f,expandedId:t,lastExpandedId:r,setExpandedRef:this.handleSetExpandedRef,setLastExpandedRef:this.handleSetLastExpandedRef,onHeaderClick:this.handleHeaderClick,onContentClick:this.handleContentClick,scroller:this._scrollerRef})},r.render=function(){var e=this.props,t=e.isLoadingNextPage,n=e.hide,r=e.isLoading;return $("div",{className:V.default.customColumn},void 0,$("div",{className:V.default.customContainer},void 0,a.createElement(U.AdvancedScrollerAuto,{className:(0,o.default)(V.default.customScroller,x.default.scroller),onScroll:this.handleOnScroll,ref:this.handleSetScrollerRef},a.createElement("div",{className:x.default.content,ref:this._contentRef},$(m.default,{containerRef:this._contentRef},void 0,this.renderHeader(),this.renderContent(),this.renderLoadMore(),!t||n||r?null:this.renderSpinner())))))},t}(a.PureComponent);le.displayName="GuildSettingsAuditLog";var ue=u.default.connectStores([S.default,O.default,I.default,C.default,T.default,b.default],(function(){var e=O.default.getGuildId(),t=I.default.getGuild(e),n=S.default.logs;return{guildId:e,moderators:S.default.userIds.map((function(e){return b.default.getUser(e)})).filter(F.isNotNullish),isInitialLoading:S.default.isInitialLoading,isLoading:S.default.isLoading,isLoadingNextPage:S.default.isLoadingNextPage,showLoadMore:S.default.groupedFetchCount>2,hasError:S.default.hasError,hasOlderLogs:S.default.hasOlderLogs,logs:null!=n&&null!=t?G.transformLogs(n,t):[],actionFilter:S.default.actionFilter,userIdFilter:S.default.userIdFilter,theme:C.default.theme,hide:T.default.enabled}}))(le);t.default=ue},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchLogs=d,t.fetchNextLogPage=function(e,t){void 0===t&&(t=!1);if(!o.default.hasOlderLogs||u()||null==e)return;var n=o.default.logs,r=n[n.length-1],l=null;null!=r&&(l=r.id);return a.default.dirtyDispatch({type:i.ActionTypes.AUDIT_LOG_FETCH_NEXT_PAGE_START,before:l,isGroupedFetch:t}),s(e,{before:l}).then((function(e){var t=e.body,n=t.audit_log_entries,r=t.integrations,o=t.users,l=t.webhooks,u=t.guild_scheduled_events,s=t.threads;a.default.dispatch({type:i.ActionTypes.AUDIT_LOG_FETCH_NEXT_PAGE_SUCCESS,logs:n,integrations:r,users:o,webhooks:l,guildScheduledEvents:u,threads:s})}),(function(){return a.default.dispatch({type:i.ActionTypes.AUDIT_LOG_FETCH_NEXT_PAGE_FAIL})}))},t.filterByAction=function(e,t){if(u()||null==t)return;return a.default.dispatch({type:i.ActionTypes.AUDIT_LOG_FILTER_BY_ACTION,action:e}),d(t,null,e)},t.filterByUserId=function(e,t){if(u()||null==t)return;return a.default.dispatch({type:i.ActionTypes.AUDIT_LOG_FILTER_BY_USER,userId:e}),d(t,e)};var r=l(n(14)),a=l(n(2)),o=l(n(8680)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(){return o.default.isLoading||o.default.isLoadingNextPage}function s(e,t){var n=function(e){var t=e.before,n=e.userId,r=e.action;n=n||o.default.userIdFilter,r=r||o.default.actionFilter;var a={limit:i.AUDIT_LOG_PAGE_LIMIT};return null!=t&&(a.before=t),null!=n&&(a.user_id=n),null!=r&&(a.action_type=r),a}(t);return r.default.get({url:i.Endpoints.GUILD_AUDIT_LOG(e),query:n,oldFormErrors:!0})}function d(e,t,n){if(!u()&&null!=e)return a.default.dirtyDispatch({type:i.ActionTypes.AUDIT_LOG_FETCH_START}),s(e,{userId:t,action:n}).then((function(e){var t=e.body,n=t.audit_log_entries,r=t.integrations,o=t.users,l=t.webhooks,u=t.guild_scheduled_events,s=t.threads;a.default.dispatch({type:i.ActionTypes.AUDIT_LOG_FETCH_SUCCESS,logs:n,integrations:r,users:o,webhooks:l,guildScheduledEvents:u,threads:s})}),(function(){return a.default.dispatch({type:i.ActionTypes.AUDIT_LOG_FETCH_FAIL})}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;v(n(0));var r,a=n(389),o=n(687),i=c(n(8258)),l=v(n(8253)),u=n(42),s=c(n(11)),d=c(n(8370)),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t=e.channel,n=e.onSelect,r=(0,d.default)(t),c=(0,i.default)(t.id);return s.default.isGuest()?null:y(l.default,{navId:"channel-context",onClose:a.closeContextMenu,"aria-label":f.default.Messages.CHANNEL_ACTIONS_MENU_LABEL,onSelect:n},void 0,y(l.MenuGroup,{},void 0,r,t.isCategory()?null:y(l.MenuItem,{id:"jump-to-channel",label:f.default.Messages.JUMP_TO_CHANNEL,action:function(){(0,u.transitionToGuild)(t.guild_id,t.id),(0,o.popLayer)()}})),y(l.MenuGroup,{},void 0,c))}m.displayName="ChannelAuditLogContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;m(n(0));var r,a=n(389),o=v(n(8257)),i=v(n(8258)),l=m(n(8253)),u=v(n(11)),s=v(n(8343)),d=v(n(8324)),f=v(n(8435)),c=n(1),p=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e){var t=e.user,n=e.guildId,r=e.analyticsContext,v=e.onSelect,y=(0,d.default)(t.id),m=(0,f.default)(t.id,n),h=(0,i.default)(t.id),E=(0,s.default)(t.id);return u.default.isGuest()||t.isNonUserBot()?null:_(o.default,{context:r,object:c.AnalyticsObjects.CONTEXT_MENU},void 0,_(l.default,{navId:"user-context",onClose:a.closeContextMenu,"aria-label":p.default.Messages.USER_ACTIONS_MENU_LABEL,onSelect:v},void 0,_(l.MenuGroup,{},void 0,y,E),_(l.MenuGroup,{},void 0,m),_(l.MenuGroup,{},void 0,h)))}h.displayName="AuditLogUserContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.AuditLogIcon=void 0;var r,a,o=O(n(0)),i=g(n(9)),l=n(680),u=n(180),s=g(n(70)),d=g(n(12)),f=O(n(8985)),c=n(292),p=n(139),v=g(n(61)),y=g(n(55)),m=g(n(683)),_=g(n(279)),h=n(1),E=g(n(7703));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function I(){return(I=Object.assign||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}).apply(this,arguments)}function T(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,b(e,t)}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e,t){var n=f.NotRenderedChanges[e.targetType];return null!=n&&!0===n[t.key]}var N=((r={})[h.AuditLogActionTypes.CREATE]=E.default.typeCreate,r[h.AuditLogActionTypes.UPDATE]=E.default.typeUpdate,r[h.AuditLogActionTypes.DELETE]=E.default.typeDelete,r),A=function(e){function t(){return e.apply(this,arguments)||this}return C(t,e),t.prototype.render=function(){var e=this.props,t=e.actionType,n=e.targetType,r=e.action,a=e.themeOverride,o=null!=a?E.default["themeOverride"+(0,p.upperCaseFirstChar)(a)]:null;return T("div",{className:(0,i.default)(E.default.icon,N[t],function(e,t){var n;return t===h.AuditLogActions.MESSAGE_DELETE?E.default.targetMessage:(n={},n[h.AuditLogTargetTypes.ALL]=E.default.targetAll,n[h.AuditLogTargetTypes.GUILD]=E.default.targetGuild,n[h.AuditLogTargetTypes.CHANNEL]=E.default.targetChannel,n[h.AuditLogTargetTypes.CHANNEL_OVERWRITE]=E.default.targetChannel,n[h.AuditLogTargetTypes.USER]=E.default.targetMember,n[h.AuditLogTargetTypes.ROLE]=E.default.targetRole,n[h.AuditLogTargetTypes.INTEGRATION]=E.default.targetIntegration,n[h.AuditLogTargetTypes.INVITE]=E.default.targetInvite,n[h.AuditLogTargetTypes.WEBHOOK]=E.default.targetWebhook,n[h.AuditLogTargetTypes.EMOJI]=E.default.targetEmoji,n[h.AuditLogTargetTypes.STICKER]=E.default.targetSticker,n[h.AuditLogTargetTypes.STAGE_INSTANCE]=E.default.targetStageInstance,n[h.AuditLogTargetTypes.GUILD_SCHEDULED_EVENT]=E.default.targetGuildScheduledEvent,n[h.AuditLogTargetTypes.THREAD]=E.default.thread,n)[e]}(n,r),o)})},t}(o.PureComponent);t.AuditLogIcon=A,A.displayName="AuditLogIcon";var P=function(e){function t(){return e.apply(this,arguments)||this}return C(t,e),t.prototype.render=function(){var e=this.props,t=e.user;return T("span",{onContextMenu:e.onContextMenu,className:E.default.userHook},void 0,T("span",{},void 0,t.username),T("span",{className:E.default.discrim},void 0,"#",t.discriminator))},t}(o.PureComponent);P.displayName="UserHook";var R=function(e){function t(){return e.apply(this,arguments)||this}C(t,e);var n=t.prototype;return n.hasChangesToRender=function(){var e=this.props.log,t=e.changes;return(e.actionType!==h.AuditLogActionTypes.DELETE||e.action===h.AuditLogActions.MEMBER_BAN_ADD||e.action===h.AuditLogActions.MEMBER_KICK||e.action===h.AuditLogActions.MEMBER_PRUNE)&&(null!=t&&t.some((function(t){return!M(e,t)})))},n.renderTitle=function(){var e=this.props,t=e.log,n=e.onUserContextMenu,r=e.onTargetContextMenu,a=e.onChannelContextMenu,o=t.user,i=t.target,l=t.options,c=f.getChangeTitle(t);return null!=c?T("div",{className:E.default.overflowEllipsis},void 0,c.format({user:o,target:i,userHook:function(e,r){return T(P,{user:t.user,onContextMenu:n},r)},targetHook:function(e,n){return t.targetType===h.AuditLogTargetTypes.USER?T(P,{user:t.target,onContextMenu:r},n):T("span",{onContextMenu:r},n,e)},count:l.count,channel:l.channel?"string"==typeof l.channel?l.channel:(0,u.computeChannelName)(l.channel,d.default,s.default,!0):null,channelHook:function(e,t){return T("span",{onContextMenu:a},t,e)}})):null},n.renderRoleUpdate=function(e){var t=e.newValue;return Array.isArray(t)?t.map((function(e){return T("div",{className:E.default.subListItem},e.id,e.name)})):null},n.renderPermissionUpdate=function(e){var t=this,n=e.newValue;return Array.isArray(n)?n.map((function(e){return T("div",{className:E.default.subListItem},e,f.getStringForPermission(e,t.props.log))})):null},n.renderChangeDetails=function(e){var t=this,n=this.props,r=n.log,a=n.onContentClick;if(null==r.changes)return null;var o=0,l=r.changes.map((function(n,a){var l=n.oldValue,u=n.newValue,s=null;r.action===h.AuditLogActions.MEMBER_ROLE_UPDATE?s=t.renderRoleUpdate(n):r.targetType!==h.AuditLogTargetTypes.ROLE&&r.action!==h.AuditLogActions.CHANNEL_OVERWRITE_CREATE&&r.action!==h.AuditLogActions.CHANNEL_OVERWRITE_UPDATE||(s=t.renderPermissionUpdate(n)),r.action!==h.AuditLogActions.CHANNEL_UPDATE&&!h.AuditLogActions.CHANNEL_CREATE||n.key!==h.AuditLogChangeKeys.TYPE||(null!=l&&(l=(0,c.channelTypeString)({type:l})),null!=u&&(u=(0,c.channelTypeString)({type:u})));var d=e[n.key];if(M(r,n))return null;if("function"==typeof d&&(d=d(n)),null!=d&&"object"==typeof d){if(null==d.format){var p=d[n.newValue];null==p&&null!=d[f.DEFAULT_FOR_STRINGS_KEY]?d=d[f.DEFAULT_FOR_STRINGS_KEY]:null!=p&&(d=p)}var v;if(null!=d&&null!=d.format)d=d.format({user:r.user,target:r.target,oldValue:l,newValue:u,count:Array.isArray(u)?u.length:null,subtarget:null!==(v=r.options.subtarget)&&void 0!==v?v:null,newColorHook:function(e,t){return T("div",{className:E.default.colorHook,style:{backgroundColor:n.newValue}},t)},oldColorHook:function(e,t){return T("div",{className:E.default.colorHook,style:{backgroundColor:n.oldValue}},t)}})}if(!d)return console.warn("No change string for",n),null;var m=(0,i.default)(E.default.prefix,N[r.actionType]);return o++,T(y.default,{className:E.default.detail,style:{position:"relative",top:1}},a,T(y.default,{className:m,grow:0},void 0,T("div",{className:E.default.number},void 0,o<10?"0":null,o),T("div",{className:E.default.dash},void 0,"—")),T(y.default,{className:E.default.change,direction:y.default.Direction.VERTICAL},void 0,T("div",{className:E.default.changeStr},void 0,d),null!=s?T("div",{},void 0,s):null))}));return T(y.default,{onClick:a,className:E.default.changeDetails,direction:y.default.Direction.VERTICAL},void 0,l)},n.renderChangeSummary=function(){var e=this.props,t=e.expanded,n=e.log;if(t)switch(n.targetType){case h.AuditLogTargetTypes.GUILD:return this.renderChangeDetails(f.GuildChangeStrings());case h.AuditLogTargetTypes.CHANNEL:case h.AuditLogTargetTypes.CHANNEL_OVERWRITE:return this.renderChangeDetails(f.ChannelChangeStrings());case h.AuditLogTargetTypes.USER:return this.renderChangeDetails(f.UserChangeStrings());case h.AuditLogTargetTypes.ROLE:return this.renderChangeDetails(f.RoleChangeStrings());case h.AuditLogTargetTypes.INVITE:return this.renderChangeDetails(f.InviteChangeStrings());case h.AuditLogTargetTypes.WEBHOOK:return this.renderChangeDetails(f.WebhookChangeStrings());case h.AuditLogTargetTypes.EMOJI:return this.renderChangeDetails(f.EmojiChangeStrings());case h.AuditLogTargetTypes.STICKER:return this.renderChangeDetails(f.StickerChangeStrings());case h.AuditLogTargetTypes.INTEGRATION:return this.renderChangeDetails(f.IntegrationChangeStrings());case h.AuditLogTargetTypes.STAGE_INSTANCE:return this.renderChangeDetails(f.StageInstanceChangeStrings());case h.AuditLogTargetTypes.GUILD_SCHEDULED_EVENT:return this.renderChangeDetails(f.GuildScheduledEventChangeStrings());case h.AuditLogTargetTypes.THREAD:return this.renderChangeDetails(f.ThreadChangeStrings())}return null},n.render=function(){var e=this,t=this.props,n=t.log,r=t.className,a=t.expanded,u=t.onHeaderClick,s=this.hasChangesToRender(),d=E.default.headerDefault;a?d=E.default.headerExpanded:s&&(d=E.default.headerClickable);var f,c=n.timestampStart.calendar(),p=n.timestampEnd.calendar();f=c===p?T("div",{className:E.default.timestamp},void 0,c):T("div",{className:E.default.timestamp},void 0,c,"—",p);var g=s?u:h.NOOP;return T(l.ListNavigatorItem,{id:n.id},void 0,(function(t){var l;return T(y.default,{direction:y.default.Direction.VERTICAL,className:(0,i.default)(E.default.auditLog,r)},void 0,o.createElement(v.default,I({className:d,"aria-expanded":a,onClick:g},t),T(A,{action:n.action,actionType:n.actionType,targetType:n.targetType}),T(_.default,{className:E.default.avatar,src:null===(l=n.user)||void 0===l?void 0:l.getAvatarURL(void 0),"aria-hidden":!0,size:_.default.Sizes.SIZE_40}),T(y.default,{className:E.default.timeWrap,direction:y.default.Direction.VERTICAL},void 0,T(y.default.Child,{grow:1},void 0,e.renderTitle()),f),s?T(m.default,{className:E.default.expand,foreground:E.default.expandForeground,expanded:a,"aria-hidden":!0}):null),a?T("div",{className:E.default.divider}):null,e.renderChangeSummary())}))},t}(o.PureComponent);R.displayName="AuditLog";var L=R;t.default=L},function(e,t,n){e.exports=n.p+"99253cefda98913b1e9f7d155ad81ed3.svg"},function(e,t,n){e.exports=n.p+"0049cd2d5d8dad87fac3811fa651988e.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=x(n(0)),o=B(n(9)),i=B(n(8)),l=B(n(3)),u=n(389),s=B(n(199)),d=B(n(8254)),f=n(8305),c=B(n(1279)),p=B(n(9810)),v=B(n(8255)),y=B(n(160)),m=B(n(39)),_=B(n(12)),h=B(n(29)),E=B(n(61)),g=x(n(8302)),S=B(n(55)),O=B(n(5942)),I=B(n(151)),T=n(85),C=B(n(1165)),b=B(n(681)),M=x(n(474)),N=n(159),A=n(35),P=n(41),R=B(n(279)),L=B(n(24)),D=n(393),w=B(n(264)),j=n(1),k=B(n(6)),U=B(n(7705)),G=B(n(7347)),F=B(n(370));function B(e){return e&&e.__esModule?e:{default:e}}function H(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return H=function(){return e},e}function x(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=H();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function V(){return(V=Object.assign||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}).apply(this,arguments)}function W(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Y(e,t)}function Y(e,t){return(Y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function K(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function $(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){K(o,r,a,i,l,"next",e)}function l(e){K(o,r,a,i,l,"throw",e)}i(void 0)}))}}function Z(e){var t=e.transitionState,n=e.guild,r=e.user,o=e.ban,i=e.hideDiscriminator,l=e.onClose,u=(0,T.useUID)(),d=a.useState(!1),f=d[0],p=d[1],v=a.useState(null),y=v[0],m=v[1];function _(){return(_=$(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=n){e.next=2;break}return e.abrupt("return");case 2:return m(null),p(!0),e.prev=4,e.next=7,s.default.unbanUser(n.id,r.id);case 7:l(),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(4),m(new c.default(e.t0)),p(!1);case 14:case"end":return e.stop()}}),e,null,[[4,10]])})))).apply(this,arguments)}return z(A.ModalRoot,{className:U.default.bannedUserModal,transitionState:t,"aria-labelledby":u},void 0,z(A.ModalHeader,{justify:S.default.Justify.CENTER,id:u,className:U.default.header,separator:!1},void 0,z(L.default,{className:U.default.userUsername},void 0,r.toString()),i?null:z(L.default,{className:U.default.userDiscrim},void 0,"#",r.discriminator)),z(A.ModalContent,{className:U.default.content},void 0,z(L.default,{className:U.default.reasonHeader,size:L.default.Sizes.SIZE_12},void 0,k.default.Messages.BAN_REASON),z(L.default,{},void 0,o.reason||k.default.Messages.NO_BAN_REASON),null!=y?z(L.default,{className:U.default.error,color:L.default.Colors.STATUS_RED},void 0,y.getAnyErrorMessage()):null),z(A.ModalFooter,{},void 0,z(S.default,{justify:S.default.Justify.BETWEEN},void 0,z(h.default,{onClick:function(){return _.apply(this,arguments)},look:h.default.Looks.LINK,color:h.default.Colors.RED,submitting:f},void 0,k.default.Messages.REVOKE_BAN),z(h.default,{onClick:l},void 0,k.default.Messages.DONE))))}Z.displayName="BannedUserModal";var q=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleShowModal=function(){var e=t.props,n=e.guild,r=e.user,o=e.hideDiscriminator,i=e.ban;(0,P.openModal)((function(e){return a.createElement(Z,V({},e,{guild:n,user:r,ban:i,hideDiscriminator:o}))}))},t.handleContextMenu=function(e){(0,u.openContextMenu)(e,(function(e){return a.createElement(p.default,V({},e,{user:t.props.user}))}))},t}return W(t,e),t.prototype.render=function(){var e=this.props,t=e.user,n=e.hideDiscriminator,r=e.guild;return z(E.default,{className:(0,o.default)(U.default.bannedUser,G.default.card),onClick:this.handleShowModal,onContextMenu:this.handleContextMenu},void 0,z(R.default,{src:t.getAvatarURL(null==r?void 0:r.id),"aria-label":t.username,size:R.default.Sizes.SIZE_40,className:U.default.bannedUserAvatar}),z("div",{className:U.default.username},void 0,t.toString(),!n&&z("span",{className:U.default.discrim},void 0,"#",t.discriminator)))},t}(a.PureComponent);q.displayName="BannedUser";var X=function(e){function t(){for(var t,r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(t=e.call.apply(e,[this].concat(a))||this).getSortedBans=(0,D.cachedFunction)((function(e,n){return null!=e?(0,i.default)(e).keys().map(_.default.getUser).filter(t.makeFilter(n)).sortBy((function(e){return e.username.toLowerCase()})).value():[]})),t.getRowHeight=function(e,n){if(e>0)return 0;var r=t.props,a=r.bans,o=r.searchQuery,i=t.getSortedBans(a,o);if(0===i.length&&1===n)return 56;var l=i[n],u=null==a?void 0:a[(null==l?void 0:l.id)||""];return null==l||null==u?0:56},t.renderRow=function(e){var n=e.section,r=e.row,a=t.props,o=a.bans,i=a.streamerMode,l=a.guild,u=a.searchQuery;if(n>0)return null;if(null==o&&0===r)return z(I.default,{className:F.default.marginTop20,type:I.default.Type.SPINNING_CIRCLE},"spinner");var s=t.getSortedBans(o,u)[r],d=null==o?void 0:o[(null==s?void 0:s.id)||""];return null!=s&&null!=d?z(q,{user:s,ban:d,hideDiscriminator:i,guild:l},s.id):void 0},t.getSectionHeight=function(e){return e>0?0:null==t.props.bans?462:120},t.renderSection=function(){var e,r=t.props,a=r.bans,o=r.theme,l=r.searchQuery;null==a?e=null:i.default.isEmpty(a)&&(e=z(g.default,{theme:o,className:F.default.marginTop40},void 0,z(g.EmptyStateImage,{darkSrc:n(9811),lightSrc:n(9812),width:256,height:212}),z(g.EmptyStateText,{note:k.default.Messages.BANS_NO_USERS_BANNED,style:{maxWidth:300}},void 0,k.default.Messages.NO_BANS)));var u=(0,i.default)(a||{}).keys().value().length;return z(b.default,{tag:N.Tags.H1,title:k.default.Messages.BANS_HEADER.format({bans:u})},"bans-header",z(S.default,{justify:S.default.Justify.BETWEEN,align:S.default.Align.START},void 0,z(M.default,{type:M.Types.DESCRIPTION,className:F.default.marginBottom20},void 0,k.default.Messages.BANS_HINT.format({onModerationClick:t.handleModerationClick})),null==e&&z(O.default,{className:U.default.searchBar,query:l||"",placeholder:k.default.Messages.BANS_SEARCH_PLACEHOLDER,onChange:t.handleQueryChange,onClear:t.handleQueryClear})),z(C.default,{style:{marginBottom:-1}}),e)},t}W(t,e);var r=t.prototype;return r.makeFilter=function(e){if(null==e||0===e.length)return function(e){return null!=e};var t=new RegExp("^"+w.default.escape(e),"i");return function(e){return null!=e&&t.test(e.username)}},r.render=function(){var e=this.props,t=e.bans,n=e.guild,r=e.searchQuery;if(null==n)return null;var a=this.getSortedBans(t,r);return z(f.ListContentScroller,{sections:[Math.max(1,a.length)],sectionHeight:this.getSectionHeight,renderSection:this.renderSection,rowHeight:this.getRowHeight,renderRow:this.renderRow})},r.handleModerationClick=function(){d.default.setSection(j.GuildSettingsSections.MODERATION)},r.handleQueryChange=function(e){d.default.setSearchQuery(e)},r.handleQueryClear=function(){d.default.setSearchQuery("")},t}(a.PureComponent);X.displayName="GuildSettingsBans";var J=l.default.connectStores([v.default,m.default,y.default],(function(){var e=v.default.getProps(),t=e.bans,n=e.guild;return{searchQuery:e.searchQuery||"",bans:t,guild:n,theme:m.default.theme,streamerMode:y.default.hidePersonalInformation}}))(X);t.default=J},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;y(n(0));var r,a=n(389),o=p(n(8257)),i=p(n(8258)),l=y(n(8253)),u=p(n(11)),s=p(n(8343)),d=p(n(8324)),f=n(1),c=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e){var t=e.user,n=e.analyticsContext,r=e.onSelect,p=(0,d.default)(t.id),v=(0,i.default)(t.id),y=(0,s.default)(t.id);return u.default.isGuest()||t.isNonUserBot()?null:m(o.default,{context:n,object:f.AnalyticsObjects.CONTEXT_MENU},void 0,m(l.default,{navId:"user-context",onClose:a.closeContextMenu,"aria-label":c.default.Messages.USER_ACTIONS_MENU_LABEL,onSelect:r},void 0,m(l.MenuGroup,{},void 0,p,y),m(l.MenuGroup,{},void 0,v)))}_.displayName="BannedUserContextMenu"},function(e,t,n){e.exports=n.p+"789de85a973b1d974a21aa03c1e14323.svg"},function(e,t,n){e.exports=n.p+"e3fb8fe698a871db1d0e34ededf8a954.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GuildSettingsCommunityOverviewNotice=void 0;var r,a=G(n(0)),o=k(n(9)),i=n(3),l=k(n(28)),u=k(n(8254)),s=k(n(8292)),d=n(180),f=n(1213),c=G(n(86)),p=k(n(8255)),v=k(n(40)),y=k(n(70)),m=k(n(39)),_=k(n(12)),h=k(n(29)),E=k(n(1159)),g=k(n(8272)),S=k(n(149)),O=n(131),I=k(n(681)),T=G(n(474)),C=G(n(159)),b=k(n(255)),M=k(n(466)),N=n(41),A=k(n(47)),P=k(n(24)),R=k(n(8986)),L=n(1),D=k(n(6)),w=k(n(7709)),j=k(n(9828));function k(e){return e&&e.__esModule?e:{default:e}}function U(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return U=function(){return e},e}function G(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=U();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function F(){return(F=Object.assign||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}).apply(this,arguments)}function B(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var H=function(){var e=(0,i.useStateFromStores)([p.default],(function(){return p.default.getProps()})),t=e.guild,n=e.submitting,r=(0,i.useStateFromStores)([m.default],(function(){return m.default.theme}));return B(s.default,{theme:r,submitting:n,onReset:function(){null!=t&&u.default.init(t.id)},onSave:function(){null!=t&&u.default.saveGuild(t.id,{rulesChannelId:t.rulesChannelId,preferredLocale:t.preferredLocale,publicUpdatesChannelId:t.publicUpdatesChannelId,description:t.description,features:t.features})}})};t.GuildSettingsCommunityOverviewNotice=H,H.displayName="GuildSettingsCommunityOverviewNotice";var x=B(b.default,{width:24,height:24}),V=function(e){var t=e.discoveryEnabled,n=e.welcomeScreenEnabled,r=a.useState(!0===l.default.get("dismissedCommunityFeaturesUpsell")),o=r[0],i=r[1];if(t&&n)return null;return o?null:B("div",{className:w.default.upsellContainer},void 0,B("div",{className:w.default.upsellContent},void 0,B("img",{src:j.default,alt:"",width:60,className:w.default.upsellImage}),B("div",{},void 0,B(A.default,{size:A.default.Sizes.SIZE_16,className:w.default.upsellHeader},void 0,D.default.Messages.GUILD_SETTINGS_COMMUNITY_UPSELL_HEADER),B(P.default,{},void 0,D.default.Messages.GUILD_SETTINGS_COMMUNITY_UPSELL_BODY))),B(h.default,{"aria-label":D.default.Messages.CLOSE,look:h.default.Looks.BLANK,size:h.default.Sizes.NONE,className:w.default.upsellClose,onClick:function(){l.default.set("dismissedCommunityFeaturesUpsell",!0),i(!0)}},void 0,x),B("div",{className:w.default.upsellFooter},void 0,n?null:B(h.default,{size:h.default.Sizes.SMALL,onClick:function(){u.default.setSection(L.GuildSettingsSections.COMMUNITY_WELCOME)},className:w.default.upsellButton},void 0,D.default.Messages.GUILD_SETTINGS_COMMUNITY_UPSELL_BUTTON_WELCOME_SCREEN),t?null:B(h.default,{size:h.default.Sizes.SMALL,onClick:function(){u.default.setSection(L.GuildSettingsSections.DISCOVERY)},className:w.default.upsellButton,color:h.default.Colors.PRIMARY},void 0,D.default.Messages.GUILD_SETTINGS_COMMUNITY_UPSELL_BUTTON_DISCOVERY),B(h.default,{size:h.default.Sizes.SMALL,onClick:function(){u.default.setSection(L.GuildSettingsSections.ANALYTICS)},className:w.default.upsellButton,color:h.default.Colors.PRIMARY},void 0,D.default.Messages.GUILD_SETTINGS_COMMUNITY_UPSELL_BUTTON_ANALYTICS)))};V.displayName="CommunityFeaturesUpsell";var W=function(){var e=(0,i.useStateFromStores)([p.default],(function(){return p.default.getProps()})).guild,t=(0,i.useStateFromStoresObject)([v.default],(function(){return{canManageGuild:v.default.can(L.Permissions.MANAGE_GUILD,e),isGuildAdmin:v.default.can(L.Permissions.ADMINISTRATOR,e)}})),n=t.canManageGuild,r=t.isGuildAdmin,s=(0,i.useStateFromStores)([c.default],(function(){return null!=e?c.default.getChannels(e.id):null})),m=!0!==l.default.get("dismissedCommunityFeaturesUpsell");if(null==e)return null;var b=[];null!=s&&s[c.GUILD_SELECTABLE_CHANNELS_KEY].forEach((function(e){var t=e.channel;t.type===L.ChannelTypes.GUILD_TEXT&&b.push({value:t.id,label:(0,d.computeChannelName)(t,_.default,y.default,!0)})}));var A=function(){if(null!=e){var t=new Set(e.features);t.delete(L.GuildFeatures.COMMUNITY),t.delete(L.GuildFeatures.DISCOVERABLE),t.delete(L.GuildFeatures.MEMBER_VERIFICATION_GATE_ENABLED),t.delete(L.GuildFeatures.PREVIEW_ENABLED),u.default.updateGuild({features:t,rulesChannelId:null,publicUpdatesChannelId:null})}},R=function(e){var t=e.value;u.default.updateGuild({rulesChannelId:t})},j=function(e){var t=e.value;u.default.updateGuild({publicUpdatesChannelId:t})},k=function(e){var t=e.value;u.default.updateGuild({preferredLocale:t})},U=function(e){u.default.updateGuild({description:e})},G=function(){e.features.has(L.GuildFeatures.DISCOVERABLE)&&e.features.has(L.GuildFeatures.PARTNERED)?(0,N.openModal)((function(e){return a.createElement(M.default,F({},e,{header:D.default.Messages.GUILD_SETTINGS_COMMUNITY_DISABLE_PUBLIC_CONFIRM_DEFAULT_TITLE,confirmText:D.default.Messages.CONFIRM,cancelText:D.default.Messages.NEVERMIND,onConfirm:A}),B(P.default,{},void 0,D.default.Messages.GUILD_SETTINGS_PARTNER_AND_DISCOVERY_DISABLE_PUBLIC_CONFIRM_TEXT))})):e.features.has(L.GuildFeatures.DISCOVERABLE)?(0,N.openModal)((function(e){return a.createElement(M.default,F({},e,{header:D.default.Messages.GUILD_SETTINGS_COMMUNITY_DISABLE_PUBLIC_CONFIRM_DEFAULT_TITLE,confirmText:D.default.Messages.CONFIRM,cancelText:D.default.Messages.NEVERMIND,onConfirm:A}),B(P.default,{},void 0,D.default.Messages.GUILD_SETTINGS_DISCOVERY_DISABLE_PUBLIC_CONFIRM_TEXT))})):e.features.has(L.GuildFeatures.PARTNERED)?(0,N.openModal)((function(e){return a.createElement(M.default,F({},e,{header:D.default.Messages.GUILD_SETTINGS_COMMUNITY_DISABLE_PUBLIC_CONFIRM_DEFAULT_TITLE,confirmText:D.default.Messages.CONFIRM,cancelText:D.default.Messages.NEVERMIND,onConfirm:A}),B(P.default,{},void 0,D.default.Messages.GUILD_SETTINGS_PARTNER_DISABLE_PUBLIC_CONFIRM_TEXT))})):A()};return B(I.default,{title:D.default.Messages.GUILD_SETTINGS_COMMUNITY,tag:C.Tags.H1},void 0,m?B(V,{discoveryEnabled:e.features.has(L.GuildFeatures.DISCOVERABLE),welcomeScreenEnabled:e.features.has(L.GuildFeatures.WELCOME_SCREEN_ENABLED)}):null,B(I.default,{className:(0,o.default)(w.default.twoColumnFormSection,w.default.firstSection)},void 0,B("div",{className:w.default.descriptionColumn},void 0,B(C.default,{className:w.default.formTitle},void 0,D.default.Messages.FORM_LABEL_DISCOVERY_RULES_CHANNEL),B(T.default,{type:T.Types.DESCRIPTION,className:w.default.formDescription},void 0,D.default.Messages.GUILD_SETTINGS_COMMUNITY_RULES_CHANNEL_HELP)),B(E.default,{className:(0,o.default)(w.default.formSelect,w.default.selectColumn),value:e.rulesChannelId,clearable:!1,searchable:!0,options:b,onChange:R,disabled:!n})),B(O.FormDivider,{className:w.default.divider}),B(I.default,{className:(0,o.default)(w.default.twoColumnFormSection,w.default.firstSection)},void 0,B("div",{className:w.default.descriptionColumn},void 0,B(C.default,{className:w.default.formTitle},void 0,D.default.Messages.GUILD_SETTINGS_COMMUNITY_MOD_CHANNEL_TITLE),B(T.default,{type:T.Types.DESCRIPTION,className:w.default.formDescription},void 0,D.default.Messages.GUILD_SETTINGS_COMMUNITY_MOD_CHANNEL_HELP)),B(E.default,{className:(0,o.default)(w.default.formSelect,w.default.selectColumn),value:e.publicUpdatesChannelId,clearable:!1,searchable:!0,options:b,onChange:j,disabled:!n})),B(O.FormDivider,{className:w.default.divider}),B(I.default,{className:w.default.twoColumnFormSection},void 0,B("div",{className:w.default.descriptionColumn},void 0,B(C.default,{className:w.default.formTitle},void 0,D.default.Messages.FORM_LABEL_SERVER_LANGUAGE),B(T.default,{type:T.Types.DESCRIPTION,className:w.default.formDescription},void 0,D.default.Messages.GUILD_SETTINGS_COMMUNITY_LOCALE_HELP)),B(E.default,{className:(0,o.default)(w.default.formSelect,w.default.selectColumn),value:e.preferredLocale,clearable:!1,searchable:!0,options:f.LOCALE_OPTIONS,onChange:k,disabled:!n})),B(O.FormDivider,{className:w.default.divider}),function(){if(null!=e)return B(I.default,{},void 0,B(C.default,{className:w.default.formTitle},void 0,D.default.Messages.FORM_LABEL_SERVER_DESCRIPTION),B(T.default,{className:w.default.description,type:T.Types.DESCRIPTION},void 0,D.default.Messages.FORM_HELP_SERVER_DESCRIPTION),B(g.default,{value:e.description||"",placeholder:D.default.Messages.SERVER_DESCIPTION_EMPTY,onChange:U,maxLength:120,disabled:!n}))}(),B(O.FormDivider,{className:w.default.divider}),B(I.default,{className:w.default.twoColumnFormSection},void 0,B("div",{className:w.default.descriptionColumn},void 0,B(C.default,{className:w.default.formTitle},void 0,D.default.Messages.GUILD_SETTINGS_COMMUNITY_DISABLE_COMMUNITY),B(T.default,{type:T.Types.DESCRIPTION,className:w.default.formDescription},void 0,D.default.Messages.GUILD_SETTINGS_COMMUNITY_DISABLE_COMMUNITY_DESCRIPTION)),B(S.default,{text:r?null:D.default.Messages.GUILD_SETTINGS_COMMUNITY_ADMINISTRATOR_ONLY,"aria-label":r?void 0:D.default.Messages.GUILD_SETTINGS_COMMUNITY_ADMINISTRATOR_ONLY},void 0,(function(e){return a.createElement(h.default,F({size:h.default.Sizes.SMALL,onClick:G,color:h.default.Colors.RED,disabled:!r},e),D.default.Messages.GUILD_SETTINGS_COMMUNITY_DISABLE_COMMUNITY)}))))};W.displayName="GuildSettingsCommunitySettings";var Y=B(W,{}),z=function(){var e=(0,i.useStateFromStores)([p.default],(function(){return p.default.getProps()})).guild;return null==e?null:e.features.has(L.GuildFeatures.COMMUNITY)?Y:B(R.default,{guild:e})};t.default=z},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=x(n(0)),o=B(n(9)),i=B(n(63)),l=n(3),u=B(n(8254)),s=n(8459),d=n(180),f=B(n(8987)),c=x(n(86)),p=B(n(8255)),v=B(n(15)),y=B(n(70)),m=B(n(39)),_=B(n(12)),h=B(n(1160)),E=B(n(1159)),g=B(n(149)),S=n(85),O=x(n(474)),I=B(n(159)),T=B(n(1236)),C=B(n(47)),b=B(n(24)),M=B(n(93)),N=B(n(78)),A=n(8474),P=n(1),R=B(n(6)),L=B(n(7707)),D=B(n(9815)),w=B(n(9816)),j=B(n(9817)),k=B(n(9818)),U=B(n(9819)),G=B(n(9820)),F=B(n(8988));function B(e){return e&&e.__esModule?e:{default:e}}function H(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return H=function(){return e},e}function x(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=H();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function V(){return(V=Object.assign||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}).apply(this,arguments)}function W(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var Y=function(e){var t=e.guild,n=e.onAcceptVerificationLevel,r=e.onAcceptContentFilter,a=e.disableContentFilter,o=e.disableVerificationLevel,i=e.headerId,u=e.theme,s=(0,l.useStateFromStores)([v.default],(function(){return v.default.getGuild(t.id)}),[t.id]),d=null!=s&&s.verificationLevel>P.VerificationLevels.NONE,f=(null==s?void 0:s.explicitContentFilter)===P.GuildExplicitContentFilterTypes.ALL_MEMBERS,c=u===P.ThemeTypes.DARK?U.default:G.default;return W("div",{className:L.default.container},void 0,W("div",{className:L.default.content},void 0,W("img",{alt:"",src:c,width:80}),W(C.default,{size:C.default.Sizes.SIZE_24,className:L.default.header,id:i},void 0,R.default.Messages.ENABLE_COMMUNITY_MODAL_STEP_1_HEADER),W(b.default,{color:b.default.Colors.CUSTOM,size:b.default.Sizes.SIZE_16,className:L.default.headerCaption},void 0,R.default.Messages.ENABLE_COMMUNITY_MODAL_STEP_1_BODY)),W("div",{className:L.default.form},void 0,W(I.default,{},void 0,R.default.Messages.FORM_LABEL_VERIFICATION_LEVEL),W(O.default,{type:O.Types.DESCRIPTION,className:L.default.description},void 0,d?R.default.Messages.ENABLE_COMMUNITY_MODAL_VERIFICATION_LEVEL_MET:R.default.Messages.ENABLE_COMMUNITY_MODAL_VERIFICATION_LEVEL_HELP),W(h.default,{type:h.default.Types.ROW,disabled:o,value:t.verificationLevel>P.VerificationLevels.NONE,onChange:n},void 0,W(b.default,{},void 0,R.default.Messages.ENABLE_PUBLIC_MODAL_VERIFICATION_LEVEL_DESCRIPTION))),W("div",{className:L.default.form},void 0,W(I.default,{},void 0,R.default.Messages.FORM_LABEL_EXPLICIT_CONTENT_FILTER),W(O.default,{type:O.Types.DESCRIPTION,className:L.default.description},void 0,f?R.default.Messages.ENABLE_COMMUNITY_MODAL_CONTENT_FILTER_MET:R.default.Messages.ENABLE_PUBLIC_MODAL_CONTENT_FILTER_HELP),W(h.default,{type:h.default.Types.ROW,disabled:a,value:t.explicitContentFilter===P.GuildExplicitContentFilterTypes.ALL_MEMBERS,onChange:r},void 0,W(b.default,{},void 0,R.default.Messages.EXPLICIT_CONTENT_FILTER_HIGH))))};Y.displayName="EnableCommunityModalFirstStep";var z=function(e){var t=e.selectableChannels,n=e.onRuleChannelChange,r=e.ruleChannel,a=e.onPublicUpdatesChannelChange,o=e.publicUpdatesChannel,i=e.headerId,l=e.theme===P.ThemeTypes.DARK?D.default:w.default;return W("div",{className:L.default.container},void 0,W("div",{className:L.default.content},void 0,W("img",{alt:"",src:l,width:80}),W(C.default,{size:C.default.Sizes.SIZE_24,className:L.default.header,id:i},void 0,R.default.Messages.ENABLE_COMMUNITY_MODAL_STEP_2_HEADER),W(b.default,{color:b.default.Colors.CUSTOM,size:b.default.Sizes.SIZE_16,className:L.default.headerCaption},void 0,R.default.Messages.ENABLE_COMMUNITY_MODAL_STEP_2_BODY)),W("div",{className:L.default.form},void 0,W(I.default,{},void 0,R.default.Messages.ENABLE_PUBLIC_MODAL_RULES_CHANNEL_TITLE),W(O.default,{type:O.Types.DESCRIPTION,className:L.default.description},void 0,R.default.Messages.ENABLE_PUBLIC_MODAL_RULES_CHANNEL_HELP),W(E.default,{clearable:!1,searchable:!0,options:t,onChange:n,value:r,maxMenuHeight:200})),W("div",{className:L.default.form},void 0,W(I.default,{},void 0,R.default.Messages.GUILD_SETTINGS_COMMUNITY_MOD_CHANNEL_TITLE),W(O.default,{type:O.Types.DESCRIPTION,className:L.default.description},void 0,R.default.Messages.GUILD_SETTINGS_COMMUNITY_MOD_CHANNEL_HELP),W(E.default,{clearable:!1,searchable:!0,options:t,menuPlacement:E.default.MenuPlacements.TOP,onChange:a,value:o,maxMenuHeight:200})))};z.displayName="EnableCommunityModalSecondStep";var K=function(e){var t=e.guild,n=e.policyAccepted,r=e.everyoneRolePermissionsAccepted,i=e.onAcceptPolicy,l=e.onAcceptDefaultNotifications,u=e.onAcceptEveryoneRolePermissions,s=e.disableDefaultNotifications,d=e.disableEveryoneRolePermissions,f=e.headerId,c=e.theme===P.ThemeTypes.DARK?j.default:k.default;return W("div",{className:L.default.container},void 0,W("div",{className:L.default.content},void 0,W("img",{alt:"",src:c,width:80}),W(C.default,{size:C.default.Sizes.SIZE_24,className:L.default.header,id:f},void 0,R.default.Messages.ENABLE_COMMUNITY_MODAL_STEP_3_HEADER),W(b.default,{color:b.default.Colors.CUSTOM,size:b.default.Sizes.SIZE_16,className:L.default.headerCaption},void 0,R.default.Messages.ENABLE_COMMUNITY_MODAL_STEP_3_BODY)),W("div",{className:L.default.form},void 0,W(g.default,{text:s?R.default.Messages.ENABLE_COMMUNITY_MODAL_REQUIREMENT_SATISFIED_TOOLTIP:null,"aria-label":!!s&&R.default.Messages.ENABLE_COMMUNITY_MODAL_REQUIREMENT_SATISFIED_TOOLTIP},void 0,(function(e){var n;return a.createElement("div",e,W(h.default,{type:h.default.Types.ROW,disabled:s,value:t.defaultMessageNotifications===P.UserNotificationSettings.ONLY_MENTIONS,onChange:l,className:(0,o.default)((n={},n[L.default.disabled]=s,n))},void 0,W(b.default,{},void 0,R.default.Messages.ENABLE_COMMUNITY_MODAL_DEFAULT_NOTIFICATIONS_LABEL.format({infoHook:function(){return W(g.default,{text:R.default.Messages.ENABLE_COMMUNITY_MODAL_DEFAULT_NOTIFICATIONS_TOOLTIP,"aria-label":R.default.Messages.ENABLE_COMMUNITY_MODAL_DEFAULT_NOTIFICATIONS_TOOLTIP},void 0,(function(e){return a.createElement(T.default,V({className:L.default.icon},e))}))}}))))}))),W(g.default,{text:d?R.default.Messages.ENABLE_COMMUNITY_MODAL_REQUIREMENT_SATISFIED_TOOLTIP:null,"aria-label":!!d&&R.default.Messages.ENABLE_COMMUNITY_MODAL_REQUIREMENT_SATISFIED_TOOLTIP},void 0,(function(e){var t;return a.createElement("div",V({},e,{className:L.default.checkboxOption}),W(h.default,{type:h.default.Types.ROW,disabled:d,value:r,onChange:u,className:(0,o.default)((t={},t[L.default.disabled]=d,t))},void 0,W(b.default,{},void 0,R.default.Messages.ENABLE_COMMUNITY_MODAL_EVERYONE_ROLE_PERMISSION_LABEL.format({infoHook:function(){return W(g.default,{text:R.default.Messages.ENABLE_COMMUNITY_MODAL_EVERYONE_ROLE_PERMISSION_TOOLTIP,"aria-label":R.default.Messages.ENABLE_COMMUNITY_MODAL_EVERYONE_ROLE_PERMISSION_TOOLTIP},void 0,(function(e){return a.createElement(T.default,V({className:L.default.icon},e))}))}}))))})),W("div",{className:L.default.form},void 0,W(I.default,{},void 0,R.default.Messages.PUBLIC_GUILD_POLICY_TITLE),W(O.default,{type:O.Types.DESCRIPTION,className:L.default.description},void 0,R.default.Messages.COMMUNITY_POLICY_HELP.format({helpdeskArticle:M.default.getArticleURL(P.HelpdeskArticles.PUBLIC_GUILD_GUILDLINES)})),W(h.default,{type:h.default.Types.ROW,value:n,onChange:i},void 0,W(b.default,{},void 0,R.default.Messages.PUBLIC_GUILD_POLICY_ACCEPT))))};K.displayName="EnableCommunityModalFinalStep";var $=function(e){var t=e.transitionState,n=e.onClose,r=(0,l.useStateFromStoresObject)([p.default],(function(){return p.default.getProps()})).guild,o=(0,l.useStateFromStores)([m.default],(function(){return m.default.theme})),v=a.useState(!1),h=v[0],E=v[1],g=a.useState(!A.MODERATOR_PERMISSIONS.some((function(e){return N.default.canEveryone(e,r)}))),O=g[0],I=g[1],T=a.useState(A.CREATE_NEW_CHANNEL_VALUE),C=T[0],b=T[1],M=a.useState(A.CREATE_NEW_CHANNEL_VALUE),D=M[0],w=M[1],j=a.useState(null==r?void 0:r.defaultMessageNotifications)[0],k=a.useState(null==r?void 0:r.verificationLevel)[0],U=a.useState(null==r?void 0:r.explicitContentFilter)[0],G=a.useState(O)[0],B=null==r?void 0:r.getRole(null==r?void 0:r.id),H=(0,l.useStateFromStores)([c.default],(function(){return null!=r?c.default.getChannels(r.id):null}),[r]),x=(0,S.useUID)();if(null==r)return null;var $=[{value:A.CREATE_NEW_CHANNEL_VALUE,label:R.default.Messages.ENABLE_PUBLIC_MODAL_CREATE_CHANNEL}];H[c.GUILD_SELECTABLE_CHANNELS_KEY].forEach((function(e){var t=e.channel;t.type===P.ChannelTypes.GUILD_TEXT&&$.push({value:t.id,label:(0,d.computeChannelName)(t,_.default,y.default,!0)})}));var Z=k!==P.VerificationLevels.NONE,q=U===P.GuildExplicitContentFilterTypes.ALL_MEMBERS,X=j===P.UserNotificationSettings.ONLY_MENTIONS,J=G,Q=W(Y,{guild:r,disableVerificationLevel:Z,disableContentFilter:q,onAcceptVerificationLevel:function(e,t){t?t&&u.default.updateGuild({verificationLevel:P.VerificationLevels.LOW}):u.default.updateGuild({verificationLevel:k})},onAcceptContentFilter:function(e,t){t?u.default.updateGuild({explicitContentFilter:P.GuildExplicitContentFilterTypes.ALL_MEMBERS}):u.default.updateGuild({explicitContentFilter:U})},headerId:x,theme:o}),ee=W(z,{selectableChannels:$,onRuleChannelChange:function(e){var t=e.value;b(t)},onPublicUpdatesChannelChange:function(e){var t=e.value;w(t)},ruleChannel:C,publicUpdatesChannel:D,headerId:x,theme:o}),te=W(K,{guild:r,disableDefaultNotifications:X,disableEveryoneRolePermissions:J,policyAccepted:h,everyoneRolePermissionsAccepted:O,onAcceptPolicy:function(e,t){E(!!t)},onAcceptDefaultNotifications:function(e,t){t?u.default.updateGuild({defaultMessageNotifications:P.UserNotificationSettings.ONLY_MENTIONS}):u.default.updateGuild({defaultMessageNotifications:j})},onAcceptEveryoneRolePermissions:function(e,t){null!=B&&I(!!t)},headerId:x,theme:o}),ne=W("img",{alt:"",src:F.default,className:L.default.footerImage,width:240}),re=[{modalContent:Q,disableNextStep:r.explicitContentFilter!==P.GuildExplicitContentFilterTypes.ALL_MEMBERS||r.verificationLevel===P.VerificationLevels.NONE,overviewTitle:R.default.Messages.ENABLE_COMMUNITY_MODAL_STEP_1_TITLE},{modalContent:ee,disableNextStep:null==C||null==D,overviewTitle:R.default.Messages.ENABLE_COMMUNITY_MODAL_STEP_2_TITLE},{modalContent:te,disableNextStep:!h,overviewTitle:R.default.Messages.ENABLE_COMMUNITY_MODAL_STEP_3_TITLE}];return W(f.default,{stepData:re,title:R.default.Messages.ENABLE_COMMUNITY_MODAL_TITLE,transitionState:t,onClose:n,completeButtonText:R.default.Messages.ENABLE_COMMUNITY_BUTTON_TEXT,onComplete:function(){if(null!=B&&h){var e=new Set(r.features);e.add(P.GuildFeatures.COMMUNITY);var t=O?i.default.remove(B.permissions,A.MODERATOR_PERMISSIONS_FLAG):B.permissions,n=V({},B,{permissions:t});u.default.updateGuild({features:e,rulesChannelId:C,publicUpdatesChannelId:D}),u.default.saveGuild(r.id,{features:e,rulesChannelId:C,verificationLevel:r.verificationLevel,explicitContentFilter:r.explicitContentFilter,publicUpdatesChannelId:D,defaultMessageNotifications:r.defaultMessageNotifications}),t!==B.permissions&&(0,s.saveRoleSettings)(r.id,[n])}},overviewFooter:ne,sequencerClassName:L.default.container})};$.displayName="EnableCommunityModal";var Z=$;t.default=Z},function(e,t,n){e.exports=n.p+"78aa59ccfc53326f0459a72541bd9a51.svg"},function(e,t,n){e.exports=n.p+"896f03c6652b88b11ec2587ee4121198.svg"},function(e,t,n){e.exports=n.p+"4a5245103f9ed585ea37487ecabae871.svg"},function(e,t,n){e.exports=n.p+"803b292832d042cb5983e1096eff8c9b.svg"},function(e,t,n){e.exports=n.p+"fe3d06954b50aa53b1a088b1caa1462a.svg"},function(e,t,n){e.exports=n.p+"6b1c2a6dff0f80b740220b790ea29837.svg"},function(e,t,n){e.exports=n.p+"a00896b9b5af1ccebeb80816b71995d0.svg"},function(e,t,n){e.exports=n.p+"614d2dd57ee7dce69074063e93438add.png"},function(e,t,n){e.exports=n.p+"17150afdf12eb23743d4d53915b05355.png"},function(e,t,n){e.exports=n.p+"94dc6f30a819026fa295d85f1f72b4ab.svg"},function(e,t,n){e.exports=n.p+"908c2d8370ee8df51ee0b28245778206.png"},function(e,t,n){e.exports=n.p+"8639f5f6242256805bc4f4bb19c2b23b.png"},function(e,t,n){e.exports=n.p+"054d740c3f3a4ebc8823ab52ea3070cf.png"},function(e,t,n){e.exports=n.p+"5ac53bbce4bc51dd14d5413bd7d1c77d.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(3),l=I(n(2)),u=I(n(5938)),s=I(n(8451)),d=I(n(8255)),f=I(n(29)),c=I(n(55)),p=I(n(151)),v=I(n(681)),y=I(n(159)),m=I(n(47)),_=I(n(24)),h=n(48),E=I(n(9830)),g=I(n(6)),S=I(n(7712)),O=I(n(7377));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}!function(e){e[e.LOADING=0]="LOADING",e[e.INTRO=1]="INTRO",e[e.SETTINGS=2]="SETTINGS"}(a||(a={}));var b=function(e){var t=e.setWelcomeView,r=e.setShowCreateModal,o=[{emoji:"💬",description:g.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_EXAMPLE_CHANNEL_DESCRIPTION_1,name:g.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_EXAMPLE_CHANNEL_NAME_1},{emoji:"🏹",description:g.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_EXAMPLE_CHANNEL_DESCRIPTION_2,name:g.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_EXAMPLE_CHANNEL_NAME_2},{emoji:"🗞",description:g.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_EXAMPLE_CHANNEL_DESCRIPTION_3,name:g.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_EXAMPLE_CHANNEL_NAME_3}];return C(v.default,{title:g.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME,tag:v.default.Tags.H2},void 0,C("div",{className:S.default.welcomeDescription},void 0,C(_.default,{size:_.default.Sizes.SIZE_14},void 0,g.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_INTRO_TEXT.format()),C(f.default,{onClick:function(){r(!0),t(a.SETTINGS)}},void 0,g.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_INTRO_BUTTON)),C("div",{className:S.default.exampleContainer},void 0,C("div",{className:S.default.exampleWumpus},void 0,C("img",{className:S.default.wumpus,alt:"",src:n(8767)}),C("div",{className:S.default.tooltipPointer}),C("div",{className:S.default.tooltip},void 0,g.default.Messages.GUILD_SETTINGS_EXAMPLE_TOOLTIP)),C(c.default,{direction:c.default.Direction.VERTICAL,align:c.default.Align.CENTER,className:S.default.exampleModal},void 0,C("img",{alt:"",className:O.default.guildIcon,src:n(8973),width:64,height:64}),C(m.default,{size:m.default.Sizes.SIZE_24,className:S.default.header},void 0,g.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_EXAMPLE_TITLE.format()),C(_.default,{size:_.default.Sizes.SIZE_14,color:_.default.Colors.HEADER_SECONDARY,className:O.default.guildDescription},void 0,g.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_EXAMPLE_DESCRIPTION),C(y.default,{className:O.default.choiceHeader},void 0,g.default.Messages.WELCOME_SCREEN_CHOICE_HEADER),C("div",{className:O.default.options},void 0,o.map((function(e){return C(c.default,{align:c.default.Align.CENTER,className:S.default.optionContainer},e.name,C(u.default,{emojiName:e.emoji,className:O.default.optionEmoji}),C("div",{className:O.default.optionTextContainer},void 0,C(_.default,{size:_.default.Sizes.SIZE_16,className:O.default.channelDescription},void 0,e.description),C(_.default,{size:_.default.Sizes.SIZE_12,color:_.default.Colors.HEADER_SECONDARY},void 0,"#"+e.name)))}))))))};b.displayName="GuildSettingsCommunityWelcomeIntro";var M=function(){var e=(0,i.useStateFromStores)([d.default],(function(){return d.default.getProps()})).guild,t=o.useState(a.LOADING),n=t[0],r=t[1],u=o.useState(!1),f=u[0],c=u[1];switch(o.useEffect((function(){null!=e&&l.default.wait((function(){s.default.fetchWelcomeScreen(e.id).then((function(e){r(null==e?a.INTRO:a.SETTINGS)}))}))}),[e]),n){case a.LOADING:return C(p.default,{type:p.default.Type.SPINNING_CIRCLE});case a.INTRO:return C(b,{setWelcomeView:r,setShowCreateModal:c});case a.SETTINGS:return C(E.default,{guild:e,showCreateModal:f});default:return(0,h.assertNever)(n)}};t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=V();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=x(n(9)),i=x(n(130)),l=n(5941),u=n(92),s=n(3),d=n(389),f=x(n(5938)),c=x(n(105)),p=x(n(180)),v=x(n(8451)),y=x(n(8679)),m=x(n(8989)),_=x(n(8990)),h=x(n(9831)),E=x(n(8932)),g=x(n(10)),S=x(n(249)),O=x(n(29)),I=x(n(55)),T=x(n(375)),C=x(n(371)),b=x(n(8272)),M=n(131),N=x(n(681)),A=x(n(159)),P=x(n(8307)),R=x(n(372)),L=x(n(1215)),D=x(n(8565)),w=n(41),j=x(n(47)),k=x(n(24)),U=x(n(13)),G=x(n(78)),F=n(1),B=x(n(6)),H=x(n(7711));function x(e){return e&&e.__esModule?e:{default:e}}function V(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return V=function(){return e},e}function W(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function Y(){return(Y=Object.assign||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}).apply(this,arguments)}var z=function(e){var t,n,r=e.guildId,i=e.welcomeChannel,c=e.onEdit,v=e.onChannelReorder,y=e.isDropHovered,E=e.index,I=a.useState(!1),T=I[0],C=I[1],b=a.useRef(null),M=(0,s.useStateFromStores)([g.default],(function(){return g.default.getChannel(i.channel_id)})),N=(0,s.useStateFromStores)([S.default],(function(){return null!=i.emoji_id?S.default.getUsableCustomEmojiById(i.emoji_id):null})),A=null!=M&&G.default.canEveryoneRole(F.Permissions.VIEW_CHANNEL,M),R=(0,p.default)(M,!0);if((0,(0,l.useDrag)({item:{type:"WELCOME_CHANNEL",channel:i,index:E},end:function(e,t){null==e||t.didDrop()||v(e.channel,null,!0)}})[1])((0,(0,l.useDrop)({accept:"WELCOME_CHANNEL",hover:function(e){v(e.channel,E,!1)},drop:function(e){v(e.channel,E,!0)}})[1])(b)),A)if(null!=N||null!=i.emoji_name){var L;n=W(f.default,{className:(0,o.default)((L={},L[H.default.disabledEmoji]=null!=(null==N?void 0:N.id),L)),emojiId:null==N?void 0:N.id,emojiName:null!=N?N.name:i.emoji_name,animated:Boolean(null==N?void 0:N.animated)})}else n=W(P.default,{width:24,height:24,className:H.default.channelIcon});else n=W(D.default,{width:24,height:24,className:H.default.warningIcon});return a.createElement("div",{className:(0,o.default)(H.default.welcomeChannel,(t={},t[H.default.dragging]=y,t)),ref:b,onContextMenu:function(e){(0,d.openContextMenu)(e,(function(e){return a.createElement(h.default,Y({},e,{guildId:r,welcomeChannel:i,onChannelReorder:v,setShowConfirmModal:C,onEdit:c,index:E}))}))}},n,W("div",{className:H.default.channelDescriptionWrapper},void 0,W(k.default,{size:k.default.Sizes.SIZE_16,color:k.default.Colors.HEADER_PRIMARY,className:H.default.channelDescription},void 0,i.description),W(k.default,{size:k.default.Sizes.SIZE_12,color:A?k.default.Colors.HEADER_SECONDARY:k.default.Colors.CUSTOM,className:A?null:H.default.channelWarning},void 0,A?R:B.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_INVALID_CHANNEL)),W(O.default,{color:O.default.Colors.GREY,size:O.default.Sizes.SMALL,onClick:function(){return(0,w.openModal)((function(e){return a.createElement(m.default,Y({},e,{welcomeChannel:i,guildId:r,onSave:c}))}),{onCloseRequest:function(){return u.NOOP_NULL}})}},void 0,B.default.Messages.EDIT),T&&W(_.default,{onConfirm:function(){return c()},onCancel:function(){return C(!1)},channelId:i.channel_id}))};z.displayName="GuildWelcomeChannelRow";var K=function(e){var t,n,r=e.guild,l=e.showCreateModal,d=(0,s.useStateFromStores)([y.default],(function(){return y.default.getSettingsProps()})),f=d.welcomeSettings,p=d.originalWelcomeSettings,_=(0,s.useStateFromStores)([c.default],(function(){return c.default.useReducedMotion})),h=a.useState(null),g=h[0],S=h[1],P=a.useState(!1),D=P[0],G=P[1],x=a.useState(!1),V=x[0],K=x[1],$=f.description,Z=f.channels,q=f.enabled,X=function(e){null!=r&&((0,i.default)(e,p.channels)||(v.default.saveWelcomeScreen(r.id,{channels:e}),G(!0)))},J=function(e){null!=r&&e!==p.enabled&&(v.default.saveWelcomeScreen(r.id,{enabled:e}),K(!_),G(!0))},Q=function(e){if(null!=e){var t=[].concat(null!=Z?Z:[],[e]);v.default.updateSettings({channels:t}),X(t)}},ee=function(e){return function(t){var n=[].concat(null!=Z?Z:[]);null==t?n.splice(e,1):n[e]=t,v.default.updateSettings({channels:n}),X(n),0===n.length&&q&&(v.default.updateSettings({enabled:!1}),J(!1))}},te=function(e,t,n){if(null!=Z){var r=Z.indexOf(e),a=[].concat(Z);null!=t&&t!==r&&(a.splice(r,1),a.splice(t,0,e),v.default.updateSettings({channels:a})),n?(X(a),S(null)):S(t)}},ne=a.useRef(!1);return a.useEffect((function(){return null!=r&&l&&(0,w.openModal)((function(e){return a.createElement(m.default,Y({},e,{guildId:r.id,onSave:Q}))}),{onCloseRequest:function(){return u.NOOP_NULL}}),function(){ne.current=!0}}),[]),a.useEffect((function(){return function(){if(ne.current&&D){var e=[],t=[],n=!1;null==Z||Z.forEach((function(r){e.push(r.description),t.push(r.channel_id),null!=r.emoji_id&&(n=!0)})),U.default.track(F.AnalyticEvents.GUILD_WELCOME_SCREEN_SETTINGS_UPDATED,{guild_id:null==r?void 0:r.id,options:e,options_channel_ids:t,guild_description:$,has_custom_emojis:n,is_enabled:q})}}}),[D,Z,$,q,r,ne]),null==r?null:W(N.default,{title:B.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME,tag:N.default.Tags.H2},void 0,W(k.default,{className:H.default.description,size:k.default.Sizes.SIZE_14},void 0,B.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_SETTINGS_TEXT),W(I.default,{align:I.default.Align.CENTER,className:H.default.enableContainer},void 0,q?W(R.default,{width:24,height:24,className:(0,o.default)(H.default.activeCircle,(t={},t[H.default.animate]=V,t))}):W(L.default,{width:24,height:24,className:(0,o.default)(H.default.editCircle,(n={},n[H.default.animate]=V,n))}),q?W(I.default.Child,{className:H.default.enableDescription},void 0,W(k.default,{},void 0,B.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_ENABLED),W(k.default,{},void 0,B.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_ENABLED_SECOND_LINE)):W(I.default.Child,{className:H.default.enableDescription},void 0,W(k.default,{},void 0,B.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_PROGRESS_WILL_SAVE),W(k.default,{},void 0,B.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_ENABLE_REMINDER)),W(I.default,{grow:0,justify:I.default.Justify.END},void 0,W(O.default,{disabled:0===(null==Z?void 0:Z.length),className:H.default.previewButton,look:O.default.Looks.LINK,size:O.default.Sizes.SMALL,onClick:function(){null!=r&&(0,w.openModal)((function(e){return a.createElement(E.default,Y({},e,{guildId:r.id,isPreview:!0}))}))},color:O.default.Colors.PRIMARY},void 0,B.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_PREVIEW),W(O.default,{disabled:!q&&0===(null==Z?void 0:Z.length),size:O.default.Sizes.SMALL,color:q?O.default.Colors.RED:O.default.Colors.BRAND,onClick:function(){J(!q)}},void 0,q?B.default.Messages.DISABLE:B.default.Messages.ENABLE))),W("div",{className:H.default.previewContainer},void 0,W(I.default,{className:H.default.welcomeHeader,direction:I.default.Direction.VERTICAL},void 0,W(C.default,{size:C.default.Sizes.LARGER,className:H.default.icon,guild:r,animate:!0,tabIndex:-1}),W(j.default,{className:H.default.welcomeTitle,tag:j.default.Tags.H1,size:j.default.Sizes.SIZE_24},void 0,B.default.Messages.WELCOME_SCREEN_TITLE.format({guildName:r.name,guildNameHook:function(e,t){return W("span",{},t,W(T.default,{guild:r,className:H.default.headerGuildBadge,flowerStarClassName:H.default.flowerStar}),W("strong",{},void 0,e))}})),W("div",{className:H.default.descriptionWrapper},void 0,W(b.default,{className:H.default.descriptionInput,placeholder:B.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_DESCRIPTION_PLACEHOLDER,onChange:function(e){v.default.updateSettings({description:e})},onBlur:function(){null!=r&&$!==p.description&&(v.default.saveWelcomeScreen(r.id,{description:null==$?void 0:$.trim()}),G(!0))},onKeyDown:function(e){e.keyCode===F.KeyboardKeys.ENTER&&e.preventDefault()},value:$,maxLength:140}))),W(M.FormDivider,{className:H.default.divider}),W(I.default,{className:H.default.welcomeChannels,direction:I.default.Direction.VERTICAL},void 0,W(A.default,{},void 0,B.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_RECOMMENDED_CHANNELS_TITLE),W(k.default,{size:k.default.Sizes.SIZE_14,className:H.default.addChannelSubtext},void 0,B.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_RECOMMENDED_CHANNELS_DESCRIPTION),null==Z?void 0:Z.map((function(e,t){return W(z,{guildId:r.id,welcomeChannel:e,onEdit:ee(t),onChannelReorder:te,isDropHovered:t===g,index:t},t)})),(null==Z||Z.length<5)&&W(O.default,{onClick:function(){return(0,w.openModal)((function(e){return a.createElement(m.default,Y({},e,{guildId:r.id,onSave:Q}))}),{onCloseRequest:function(){return u.NOOP_NULL}})},className:H.default.addChannelButton,color:O.default.Colors.PRIMARY},void 0,B.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_ADD_RECOMMENDED_CHANNEL))))};K.displayName="GuildSettingsCommunityWelcomeSettings";var $=K;t.default=$},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=y(n(0)),o=n(3),i=n(389),l=y(n(8253)),u=n(8256),s=n(41),d=p(n(8523)),f=p(n(8989)),c=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=function(e){var t,n=e.guildId,r=e.welcomeChannel,p=e.onEdit,v=e.onChannelReorder,y=e.setShowConfirmModal,h=e.index,E=e.onSelect,g=(0,o.useStateFromStores)([d.default],(function(){return d.default.get(n)})),S=(null!==(t=null==g?void 0:g.welcome_channels)&&void 0!==t?t:[]).length-1,O=function(e){v(r,e,!0)};return _(l.default,{navId:"welcome-settings-context","aria-label":c.default.Messages.GENERIC_ACTIONS_MENU_LABEL,onClose:i.closeContextMenu,onSelect:E},void 0,_(l.MenuGroup,{},void 0,_(l.MenuItem,{id:"move-up",label:c.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_CHANNEL_MOVE_UP,disabled:h<=0,action:function(){return O(h-1)}}),_(l.MenuItem,{id:"move-down",label:c.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_CHANNEL_MOVE_DOWN,disabled:h>S,action:function(){return O(h+1)}})),_(l.MenuGroup,{},void 0,_(l.MenuItem,{id:"edit",label:c.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_CHANNEL_EDIT,action:function(){return(0,s.openModal)((function(e){return a.createElement(f.default,m({},e,{welcomeChannel:r,guildId:n,onSave:p}))}))}}),_(l.MenuItem,{id:"delete",label:c.default.Messages.GUILD_SETTINGS_PUBLIC_WELCOME_CHANNEL_DELETE,action:function(){return y(!0)},color:u.MenuItemColor.DANGER})))};h.displayName="WelcomeChannelsSettingsContextMenu";var E=h;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GuildSettingsDiscoveryNotice=void 0;var r,a=Z(n(0)),o=K(n(3)),i=K(n(8254)),l=K(n(8338)),u=K(n(8327)),s=K(n(8292)),d=n(8305),f=K(n(9833)),c=n(180),p=n(8991),v=n(1213),y=n(9834),m=K(n(8533)),_=n(9835),h=Z(n(8578)),E=K(n(8483)),g=K(n(9836)),S=K(n(8992)),O=n(8591),I=Z(n(86)),T=K(n(8255)),C=K(n(40)),b=K(n(70)),M=K(n(12)),N=K(n(29)),A=K(n(61)),P=K(n(1159)),R=K(n(149)),L=n(131),D=K(n(681)),w=Z(n(474)),j=Z(n(159)),k=K(n(255)),U=n(41),G=K(n(24)),F=K(n(150)),B=n(701),H=n(193),x=K(n(9838)),V=K(n(9842)),W=n(1),Y=K(n(6)),z=K(n(7720));function K(e){return e&&e.__esModule?e:{default:e}}function $(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return $=function(){return e},e}function Z(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=$();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function q(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function X(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function J(){return(J=Object.assign||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}).apply(this,arguments)}function Q(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var te=o.default.connectStores([T.default],(function(){var e=T.default.getProps(),t=e.guild,n=e.originalGuild,r=e.submitting,a=e.guildMetadata;return{guild:t,submitting:r,onReset:function(){null!=t&&i.default.init(t.id)},onSave:function(){null!=t&&((0,_.trackDiscoverySettingsChange)(t,n),i.default.saveGuild(t.id,{features:t.features,discoverySplash:t.discoverySplash,description:t.description,rulesChannelId:t.rulesChannelId,preferredLocale:t.preferredLocale}),h.saveGuildMetadata(t.id,a.primaryCategoryId,a.keywords,a.emojiDiscoverabilityEnabled,a.partnerActionedTimestamp,a.partnerApplicationTimestamp))}}}))(s.default);t.GuildSettingsDiscoveryNotice=te;var ne=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={discoverableGuild:null},t.handleToggleDiscovery=function(){var e=t.props.guild;if(null!=e){var n=new Set(e.features);e.hasFeature(W.GuildFeatures.DISCOVERABLE)?n.delete(W.GuildFeatures.DISCOVERABLE):n.add(W.GuildFeatures.DISCOVERABLE),i.default.updateGuild({features:n})}},t.handleEnableDiscovery=function(e){var n=t.props.guild;if(null!=n){var r=new Set(n.features);if(!n.hasFeature(W.GuildFeatures.DISCOVERABLE)){r.add(W.GuildFeatures.DISCOVERABLE),i.default.updateGuild({features:r}),null!=e&&e.scrollTo({to:0});var o=(0,U.openModal)((function(e){var t=e.onClose,o=Q(e,["onClose"]);return a.createElement(g.default,J({guildName:n.name,onClose:function(){i.default.saveGuild(n.id,{features:r}),t()}},o))}),{onCloseRequest:function(){i.default.saveGuild(n.id,{features:r}),(0,U.closeModal)(o)}})}}},t.handleSplashChange=function(e){i.default.updateGuild({discoverySplash:e})},t.handleLocaleChange=function(e){var t=e.value;i.default.updateGuild({preferredLocale:t})},t.handlePrimaryCategoryChange=function(e){var n=t.props.guild;null!=(null==n?void 0:n.id)&&h.updateGuildPrimaryCategory(null==n?void 0:n.id,(null==e?void 0:e.value)||v.DEFAULT_DISCOVERY_CATEGORY_ID)},t.handleSubcategoryChange=function(e){var n=t.props,r=n.guild,a=n.guildMetadata.secondaryCategoryIds;if(null!=r){var o=e.map((function(e){return e.value}));if(e.length<a.length){a.filter((function(e){return!o.includes(e)})).forEach((function(e){return h.deleteGuildCategory(r.id,e)}))}else{if(a.length>=5)return;o.filter((function(e){return!a.includes(e)})).forEach((function(e){return h.addGuildCategory(r.id,e)}))}}},t.handleRemoveSubcategory=function(e){var n=t.props.guild;null!=n&&h.deleteGuildCategory(n.id,e)},t.handleRemoveKeyword=function(e){var n=t.props,r=n.guild,a=n.guildMetadata;if(null!=(null==r?void 0:r.id)){var o=[].concat(a.keywords);o.splice(e,1),h.updateGuildKeywords(r.id,o)}},t.handleAddKeyword=function(e){var n=t.props,r=n.guild,a=n.guildMetadata.keywords;null!=(null==r?void 0:r.id)&&(a.length>=10||h.updateGuildKeywords(r.id,[].concat(a,[e])))},t.handleToggleEmojiDiscoverability=function(){var e=t.props,n=e.guild,r=e.guildMetadata.emojiDiscoverabilityEnabled;null!=(null==n?void 0:n.id)&&h.updateGuildEmojiDiscoverabilityEnabled(n.id,!r)},t.renderMultiValue=function(e){var n=e.label,r=e.value;return X("span",{className:z.default.tag},void 0,n,X(A.default,{className:z.default.closeWrapper,onClick:function(){return t.handleRemoveSubcategory(r)}},void 0,X(k.default,{width:16,height:16,className:z.default.close})))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,ee(t,n);var o=r.prototype;return o.componentDidMount=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==(t=this.props.guild)){e.next=9;break}return(0,y.fetchDiscoveryChecklist)(t.id).then((function(){(0,p.trackGuildSettingsDiscoveryViewed)(t.id)})),h.maybeFetchGuildDiscoveryCategories(),h.fetchMetadataForGuild(t.id),e.next=7,(0,B.getDiscoverableGuild)(t.id);case 7:null!=(n=e.sent)&&this.setState({discoverableGuild:n});case 9:case"end":return e.stop()}}),e,this)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){q(o,r,a,i,l,"next",e)}function l(e){q(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}(),o.renderDiscoverableSection=function(){var e=this,t=this.props,n=t.guild,r=t.isGuildAdmin;if(null!=n){var o=n.hasFeature(W.GuildFeatures.DISCOVERABLE);return X(D.default,{className:z.default.twoColumnFormSection},void 0,X("div",{},void 0,X(j.default,{className:z.default.formTitle},void 0,Y.default.Messages.GUILD_SETTINGS_ENABLE_DISCOVERABLE),X(w.default,{type:w.Types.DESCRIPTION,className:z.default.formDescription},void 0,Y.default.Messages.FORM_HELP_ENABLE_DISCOVERABLE),X(w.default,{type:w.Types.DESCRIPTION,className:z.default.formDescription},void 0,Y.default.Messages.FORM_HELP_DISCOVERABLE_CHANGE_TIME),X(R.default,{text:r?null:Y.default.Messages.GUILD_SETTINGS_DISCOVERY_ADMIN_ONLY},void 0,(function(t){return a.createElement(N.default,J({size:N.default.Sizes.SMALL,onClick:e.handleToggleDiscovery,color:o?N.default.Colors.PRIMARY:N.default.Colors.GREEN,hover:o?N.default.Colors.PRIMARY:N.default.Colors.GREEN,disabled:!r},t),o?Y.default.Messages.GUILD_SETTINGS_DISABLE_DISCOVERABLE:Y.default.Messages.GUILD_SETTINGS_ENABLE_DISCOVERABLE)}))),X(S.default,{className:z.default.guildCard,loading:null==n,guild:n}))}},o.renderCoverImageSection=function(){var e=this.props,t=e.guild,n=e.errors,r=e.canManageGuild;if(null!=t)return a.createElement(a.Fragment,null,X(D.default,{className:z.default.twoColumnFormSection},void 0,X("div",{},void 0,X(j.default,{className:z.default.formTitle},void 0,Y.default.Messages.FORM_LABEL_DISCOVERY_COVER_IMAGE),X(w.default,{type:w.Types.DESCRIPTION,className:z.default.formDescription},void 0,Y.default.Messages.FORM_HELP_DISCOVERY_COVER_IMAGE),X(N.default,{size:N.default.Sizes.SMALL,color:N.default.Colors.PRIMARY,hover:N.default.Colors.PRIMARY},void 0,Y.default.Messages.UPLOAD_BACKGROUND,X(u.default,{disabled:!r,onChange:this.handleSplashChange}))),X(l.default,{avatar:t.discoverySplash,makeURL:function(e){return e&&F.default.getGuildDiscoverySplashURL({id:t.id,splash:e,size:512*(0,H.getDevicePixelRatio)()})},disabled:!r,onChange:this.handleSplashChange,hint:Y.default.Messages.CHANGE_SPLASH,className:z.default.avatarUploader,avatarClassName:z.default.avatarUploaderInnerSquare,hideSize:!0,showEditingModal:!1})),null!=(null==n?void 0:n.discovery_splash)?X(G.default,{color:G.default.Colors.ERROR},void 0,n.discovery_splash):null)},o.renderEmojiDiscoverabilitySection=function(){var e,t=this.props,n=t.canManageGuild,r=t.guildMetadata,a=this.state.discoverableGuild,o=r.emojiDiscoverabilityEnabled,i=null==a||null===(e=a.emojis)||void 0===e?void 0:e[0],l=null!=i?{name:i.require_colons?":"+i.name+":":i.name,emojiId:i.id,animated:i.animated,jumboable:!0}:{};return X(D.default,{className:z.default.twoColumnFormSection},void 0,X("div",{className:z.default.formColumnLeft},void 0,X(j.default,{className:z.default.formTitle},void 0,Y.default.Messages.GUILD_SETTINGS_DISCOVERY_EMOJI_DISCOVERABILITY_TITLE),X(w.default,{className:z.default.description,type:w.Types.DESCRIPTION},void 0,Y.default.Messages.GUILD_SETTINGS_DISCOVERY_EMOJI_DISCOVERABILITY_DESCRIPTION),X(N.default,{size:N.default.Sizes.SMALL,color:o?N.default.Colors.PRIMARY:N.default.Colors.GREEN,hover:o?N.default.Colors.PRIMARY:N.default.Colors.GREEN,disabled:!n,onClick:this.handleToggleEmojiDiscoverability},void 0,o?Y.default.Messages.GUILD_SETTINGS_DISCOVERY_EMOJI_DISCOVERABILITY_DISABLE:Y.default.Messages.GUILD_SETTINGS_DISCOVERY_EMOJI_DISCOVERABILITY_ENABLE)),null!=i&&null!=a&&X(O.CustomGuildEmojiPopout,{emojiSourceDiscoverableGuild:a,node:l,closePopout:W.NOOP,demoMode:!0}))},o.renderLocaleSelector=function(){var e=this.props,t=e.guild,n=e.canManageGuild;if(null!=t)return X(D.default,{className:z.default.twoColumnFormSection},void 0,X("div",{},void 0,X(j.default,{className:z.default.formTitle},void 0,Y.default.Messages.FORM_LABEL_SERVER_LANGUAGE),X(w.default,{type:w.Types.DESCRIPTION,className:z.default.formDescription},void 0,Y.default.Messages.GUILD_SETTINGS_DISCOVERY_LOCALE_HELP)),X(P.default,{className:z.default.formSelect,value:t.preferredLocale,clearable:!1,searchable:!1,options:v.LOCALE_OPTIONS,onChange:this.handleLocaleChange,disabled:!n}))},o.renderCategoriesSection=function(){var e=this.props,t=e.canManageGuild,n=e.guildMetadata,r=e.primaryCategoryOptions,o=e.allCategoryOptions,i=e.errors;return a.createElement(a.Fragment,null,X(D.default,{},void 0,X(j.default,{className:z.default.formTitle},void 0,Y.default.Messages.GUILD_SETTINGS_DISCOVERY_PRIMARY_CATEGORY_TITLE),X(w.default,{type:w.Types.DESCRIPTION,className:z.default.description},void 0,Y.default.Messages.GUILD_SETTINGS_DISCOVERY_PRIMARY_CATEGORY_DESCRIPTION)),X(P.default,{value:n.primaryCategoryId===v.DEFAULT_DISCOVERY_CATEGORY_ID?null:n.primaryCategoryId,placeholder:Y.default.Messages.SELECT,clearable:!0,searchable:!0,options:r,onChange:this.handlePrimaryCategoryChange,disabled:!t}),X(D.default,{className:z.default.noDividerFormSection},void 0,X(j.default,{className:z.default.formTitle},void 0,Y.default.Messages.GUILD_SETTINGS_DISCOVERY_SUBCATEGORY_TITLE),X(P.default,{value:n.secondaryCategoryIds,searchable:!0,clearable:!1,options:o,onChange:this.handleSubcategoryChange,disabled:!t,multiValueRenderer:this.renderMultiValue,isMulti:!0})),null!=(null==i?void 0:i.category)?X(G.default,{color:G.default.Colors.ERROR,className:z.default.error},void 0,i.category):null)},o.renderKeywordsSection=function(){var e=this.props,t=e.canManageGuild,n=e.guildMetadata,r=e.errors;return X(D.default,{},void 0,X(j.default,{className:z.default.formTitle},void 0,Y.default.Messages.GUILD_SETTINGS_DISCOVERY_SEARCH_KEYWORDS_TITLE),X(w.default,{className:z.default.description,type:w.Types.DESCRIPTION},void 0,Y.default.Messages.GUILD_SETTINGS_DISCOVERY_SEARCH_KEYWORDS_DESCRIPTION.format()),X(f.default,{tags:n.keywords,onRemoveTag:this.handleRemoveKeyword,onAddTag:this.handleAddKeyword,maxTags:10,maxTaxLength:30,disabled:!t}),null!=(null==r?void 0:r.keywords)?X(G.default,{color:G.default.Colors.ERROR,className:z.default.error},void 0,r.keywords):null)},o.render=function(){var e=this,t=this.props,n=t.guild,r=t.discoveryChecklist,a=t.isGuildAdmin;if(null==n||null==r)return null;switch((0,_.getSettingsView)(n,r)){case _.DiscoverySettingsViews.INTRO:return X(d.ScrollerContext.Consumer,{},void 0,(function(t){return X(V.default,{guild:n,onEnableDiscovery:function(){return e.handleEnableDiscovery(t)},isGuildAdmin:a})}));case _.DiscoverySettingsViews.DISQUALIFIED:return X(x.default,{guild:n});case _.DiscoverySettingsViews.SETTINGS:return X(D.default,{className:z.default.discoverySettings,title:Y.default.Messages.DISCOVERY,tag:j.Tags.H1},void 0,this.renderDiscoverableSection(),X(L.FormDivider,{className:z.default.divider}),this.renderCoverImageSection(),X(L.FormDivider,{className:z.default.divider}),this.renderEmojiDiscoverabilitySection(),X(L.FormDivider,{className:z.default.divider}),this.renderCategoriesSection(),X(L.FormDivider,{className:z.default.divider}),this.renderKeywordsSection(),X(L.FormDivider,{className:z.default.divider}),this.renderLocaleSelector());default:return null}},r}(a.PureComponent);ne.displayName="GuildSettingsDiscovery";var re=o.default.connectStores([T.default,C.default,m.default,I.default,E.default,M.default,b.default],(function(){var e=T.default.getProps(),t=e.guild,n=e.errors,r=e.submitting,a=e.guildMetadata,o=C.default.can(W.Permissions.MANAGE_GUILD,t),i=C.default.can(W.Permissions.ADMINISTRATOR,t),l=null!=t?m.default.getDiscoveryChecklist(t.id):null,u=null!=t?I.default.getChannels(t.id):null,s=[];null!=u&&u[I.GUILD_SELECTABLE_CHANNELS_KEY].forEach((function(e){var t=e.channel;t.type===W.ChannelTypes.GUILD_TEXT&&s.push({value:t.id,label:(0,c.computeChannelName)(t,M.default,b.default,!0)})}));var d=E.default.getPrimaryCategories().map((function(e){return{value:e.categoryId,label:e.name}})),f=E.default.getAllCategories().map((function(e){return{value:e.categoryId,label:e.name}}));return{guild:t,errors:n,submitting:r,discoveryChecklist:l,selectableChannels:s,canManageGuild:o,isGuildAdmin:i,guildMetadata:a,primaryCategoryOptions:d,allCategoryOptions:f}}))(ne);t.default=re},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=f(n(61)),l=f(n(153)),u=f(n(255)),s=n(1),d=f(n(7713));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=function(e){var t,n=e.className,r=e.tags,f=e.value,c=e.onRemoveTag,y=e.onAddTag,m=e.maxTaxLength,_=e.maxTags,h=e.disabled,E=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["className","tags","value","onRemoveTag","onAddTag","maxTaxLength","maxTags","disabled"]),g=a.useState(f||""),S=g[0],O=g[1],I=r.map((function(e,t){var n;return v("span",{className:(0,o.default)(d.default.tag,(n={},n[d.default.disabledTag]=h,n))},t,e,!h&&v(i.default,{className:d.default.closeWrapper,onClick:function(){return c(t)}},void 0,v(u.default,{width:16,height:16,className:d.default.close})))})),T=a.useCallback((function(){var e=S.trim();0!==e.length&&(null!=_&&r.length>=_||(y(e),O("")))}),[S,_,y,r.length]),C=a.useCallback((function(e){switch(e.keyCode){case s.KeyboardKeys.BACKSPACE:0===S.length&&r.length>0&&(e.preventDefault(),e.stopPropagation(),c(r.length-1));break;case s.KeyboardKeys.ENTER:case s.KeyboardKeys.TAB:case s.KeyboardKeys.COMMA:e.preventDefault(),e.stopPropagation(),T()}}),[T,S.length,c,r.length]);return v("div",{className:(0,o.default)(n,d.default.inputWrapper,(t={},t[d.default.disabled]=h,t))},void 0,I,a.createElement(l.default,p({className:d.default.inputOuter,inputClassName:d.default.inputInner},E,{value:S,onKeyDown:C,onChange:O,maxLength:m,disabled:h,onBlur:T})))};y.displayName="TextInputWithTags";var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchDiscoveryChecklist=function(e){return s.apply(this,arguments)};var r=i(n(14)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){l(o,r,a,i,u,"next",e)}function u(e){l(o,r,a,i,u,"throw",e)}i(void 0)}))}}function s(){return(s=u(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a.default.dispatch({type:o.ActionTypes.DISCOVER_CHECKLIST_FETCH_START,guildId:t}),e.prev=1,e.next=4,r.default.get({url:o.Endpoints.GUILD_DISCOVERY_REQUIREMENTS(t),oldFormErrors:!0});case 4:n=e.sent,a.default.dispatch({type:o.ActionTypes.DISCOVER_CHECKLIST_FETCH_SUCCESS,guildId:t,checklist:n.body}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),a.default.dispatch({type:o.ActionTypes.DISCOVER_CHECKLIST_FETCH_FAILURE,guildId:t});case 11:case"end":return e.stop()}}),e,null,[[1,8]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSettingsView=function(e,t){var n=e.hasFeature(l.GuildFeatures.VERIFIED),r=e.hasFeature(l.GuildFeatures.DISCOVERABLE),a=e.hasFeature(l.GuildFeatures.ENABLED_DISCOVERABLE_BEFORE);if(n)return o.SETTINGS;if(!r&&!a)return o.INTRO;if(null==t)return o.SETTINGS;var i=t.sufficientWithoutGracePeriod&&null!=t.gracePeriodEndDate&&t.gracePeriodEndDate>new Date;if(!t.sufficient&&!i&&r)return o.DISQUALIFIED;return t.sufficient||i?o.SETTINGS:o.INTRO},t.trackDiscoverySettingsChange=function(e,t){var n=!1,r={guild_id:e.id,automatic:!1};null!=t&&e.discoverySplash===t.discoverySplash||(r.discovery_splash_edit_type=null==e.discoverySplash?a.REMOVED:a.UPLOADED,n=!0);null!=t&&e.features.has(l.GuildFeatures.DISCOVERABLE)===t.features.has(l.GuildFeatures.DISCOVERABLE)||(r.is_discoverable=e.features.has(l.GuildFeatures.DISCOVERABLE),n=!0);null!=t&&e.rulesChannelId===t.rulesChannelId||(r.rules_channel_id=e.rulesChannelId,n=!0);n&&i.default.track(l.AnalyticEvents.GUILD_SETTINGS_DISCOVERY_UPDATED,r)},t.DiscoverySettingsViews=void 0;var r,a,o,i=(r=n(13))&&r.__esModule?r:{default:r},l=n(1);!function(e){e.UPLOADED="uploaded",e.REMOVED="removed"}(a||(a={})),t.DiscoverySettingsViews=o,function(e){e.INTRO="intro",e.DISQUALIFIED="disqualified",e.SETTINGS="settings"}(o||(t.DiscoverySettingsViews=o={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=f(n(29)),o=n(85),i=n(35),l=f(n(47)),u=f(n(24)),s=f(n(6)),d=f(n(7714));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=function(e){var t=e.transitionState,r=e.onClose,f=e.guildName,c=(0,o.useUID)();return p(i.ModalRoot,{transitionState:t,className:d.default.root,"aria-labelledby":c},void 0,p("div",{className:d.default.modal},void 0,p("img",{alt:"",src:n(9837),className:d.default.image,width:320}),p(l.default,{size:l.default.Sizes.SIZE_24,className:d.default.title,id:c},void 0,s.default.Messages.GUILD_SETTINGS_DISCOVERY_ENABLED_MODAL_HEADER.format({serverName:f})),p(u.default,{color:u.default.Colors.MUTED,size:u.default.Sizes.SIZE_16,className:d.default.body},void 0,s.default.Messages.GUILD_SETTINGS_DISCOVERY_ENABLED_MODAL_BODY),p(u.default,{color:u.default.Colors.MUTED,size:u.default.Sizes.SIZE_16,className:d.default.body},void 0,s.default.Messages.FORM_HELP_DISCOVERABLE_CHANGE_TIME),p(a.default,{className:d.default.button,onClick:r},void 0,s.default.Messages.GUILD_SETTINGS_DISCOVERY_ENABLED_MODAL_DISMISS)))};v.displayName="DiscoverySuccessModal";var y=v;t.default=y},function(e,t,n){e.exports=n.p+"26959a88e27a4b7b0eae1da83d17d37f.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=d(n(681)),o=d(n(47)),i=d(n(24)),l=d(n(8682)),u=d(n(6)),s=d(n(7718));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var p=function(e){var t=e.guild;return c(a.default,{title:u.default.Messages.DISCOVERY,tag:a.default.Tags.H2},void 0,c("div",{className:s.default.background}),c("div",{className:s.default.discoverySettings},void 0,c("div",{className:s.default.image}),c(o.default,{className:s.default.header,size:o.default.Sizes.SIZE_24},void 0,u.default.Messages.GUILD_SETTINGS_DISCOVERY_DISQUALIFIED),c(i.default,{className:s.default.description,size:i.default.Sizes.SIZE_16},void 0,u.default.Messages.GUILD_SETTINGS_DISCOVERY_DISQUALIFIED_DESCRIPTION.format()),c(l.default,{className:s.default.checklist,guildId:t.id,noHeader:!0,failedItemsOnly:!0})))};p.displayName="GuildSettingsDiscoveryDisqualified";var v=p;t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(122),i=n(1213),l=n(85),u=n(35),s=v(n(47)),d=v(n(24)),f=n(1),c=v(n(6)),p=v(n(7716));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var _=m("sup",{"aria-hidden":!0},void 0,"1"),h=function(e){var t=e.currentNumber,n=e.thresholdNumber,r=e.currentLabel,i=e.isPercent,l=void 0!==i&&i,u=null!=n?Math.floor(t/n*100):0,s=c.default.Messages.NUMBERS_ONLY.format({count:t}),v=null!=n?c.default.Messages.NUMBERS_ONLY.format({count:n}):"--";return a.createElement(a.Fragment,null,m("div",{className:p.default.progressWrapper},void 0,m("div",{className:p.default.progressBackground}),m(o.Spring,{from:{width:0},to:{width:u},config:{tension:200,friction:20,mass:50,clamp:!0}},void 0,(function(e){var t=e.width;return m(o.animated.div,{className:p.default.progressBar,style:{width:t.interpolate((function(e){return e+"%"})),backgroundColor:t.interpolate((function(e){return e<33?f.Colors.STATUS_RED:f.Colors.STATUS_YELLOW}))}})}))),m("div",{className:p.default.labelWrapper},void 0,m("div",{className:p.default.current},void 0,m(d.default,{color:u<33?d.default.Colors.ERROR:d.default.Colors.STATUS_YELLOW,className:p.default.bold},void 0,l?s+"%":s),m(d.default,{"aria-describedby":"health-score-details-score-explain",size:d.default.Sizes.SIZE_12,color:d.default.Colors.HEADER_SECONDARY},void 0,r,_)),m("div",{className:p.default.requirement},void 0,m(d.default,{className:p.default.bold},void 0,l?v+"%":v),m(d.default,{"aria-describedby":"health-score-details-requirement-explain",size:d.default.Sizes.SIZE_12,color:d.default.Colors.HEADER_SECONDARY},void 0,c.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_PROGRESS_REQUIREMENT_LABEL))))},E=m("sup",{"aria-hidden":!0},void 0,"1 "),g=function(e){var t,n,r,a=e.guildChecklist,o=e.transitionState,f=e.onClose,v=(0,l.useUID)(),y=a.retentionHealthy,_=a.engagementHealthy,g=a.healthScore,S=g.avg_nonnew_participators,O=g.avg_nonnew_communicators,I=g.perc_ret_w1_intentful;if(!_&&null!=S&&S<i.DISCOVERY_PARTICIPATOR_REQUIREMENT&&(n=m("div",{className:p.default.failingBlock},void 0,m(s.default,{className:p.default.marginAfter,tag:s.default.Tags.H3,size:s.default.Sizes.SIZE_16},void 0,c.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_VISITOR_FAILING_ACTION),m(d.default,{},void 0,c.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_VISITOR_FAILING_ACTION_DETAILS),m(h,{currentNumber:S,thresholdNumber:40,currentLabel:c.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_VISITOR_PROGRESS_LABEL}))),!_&&null!=O&&O<i.DISCOVERY_COMMUNICATOR_REQUIREMENT&&(r=m("div",{className:p.default.failingBlock},void 0,m(s.default,{className:p.default.marginAfter,tag:s.default.Tags.H3,size:s.default.Sizes.SIZE_16},void 0,c.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_COMMUNICATOR_FAILING_ACTION),m(d.default,{},void 0,c.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_COMMUNICATOR_FAILING_ACTION_DETAILS),m(h,{currentNumber:O,thresholdNumber:20,currentLabel:c.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_COMMUNICATOR_PROGRESS_LABEL}))),!y&&null!=I){var T=Math.floor(100*I);t=m("div",{className:p.default.failingBlock},void 0,m(s.default,{className:p.default.marginAfter,tag:s.default.Tags.H3,size:s.default.Sizes.SIZE_16},void 0,c.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_RETENTION_FAILING_ACTION),m(d.default,{},void 0,c.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_RETENTION_FAILING_ACTION_DETAILS_UPDATED.format()),m(h,{currentNumber:T,thresholdNumber:10,currentLabel:c.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_RETENTION_PROGRESS_LABEL,isPercent:!0}))}return m(u.ModalRoot,{transitionState:o,size:u.ModalSize.MEDIUM,className:p.default.modal,"aria-labelledby":v},void 0,m(u.ModalContent,{className:p.default.content},void 0,m(s.default,{tag:s.default.Tags.H2,size:s.default.Sizes.SIZE_24,className:p.default.modalHeader,id:v},void 0,c.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTHY_FAILING),m(d.default,{className:p.default.marginAfter},void 0,c.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTH_DEFINITIONS_INTRO),m("div",{className:p.default.separator}),n,r,t,m("div",{className:p.default.separator}),m(d.default,{className:p.default.marginAfter,color:d.default.Colors.HEADER_SECONDARY,id:"health-score-details-score-explain"},void 0,E,c.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_SCORE_EXPLAIN)),m(u.ModalCloseButton,{onClick:f,className:p.default.closeButton}))};g.displayName="HealthScoreDetailsModal";var S=g;t.default=S},function(e,t,n){e.exports=n.p+"eda26f0407efedaa721199f939511167.svg"},function(e,t,n){e.exports=n.p+"84c2ac411161e2270327766e6c44a4fe.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=C(n(0)),o=I(n(8)),i=n(276),l=n(3),u=I(n(8533)),s=C(n(9843)),d=I(n(9844)),f=I(n(8992)),c=I(n(684)),p=I(n(29)),v=I(n(149)),y=I(n(47)),m=I(n(24)),_=I(n(93)),h=I(n(8682)),E=n(1),g=I(n(6)),S=I(n(7719)),O=I(n(9846));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function b(){return(b=Object.assign||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}).apply(this,arguments)}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var N=["322850917248663552","172018499005317120","414234792121597953","228406572756369408"],A=["620723483965653003","662246299369734154","181970867549503489","102860784329052160"],P=function(e){var t=e.guild,n=e.onEnableDiscovery,r=e.isGuildAdmin,I=(0,i.useStableMemo)((function(){return[o.default.sample(N),o.default.sample(A)]}),[]),T=I[0],C=I[1];a.useEffect((function(){s.fetchDiscoverableGuilds([T,C])}),[T,C]);var P=(0,l.useStateFromStoresArray)([d.default],(function(){return[d.default.getGuild(T),d.default.getGuild(C)]}),[T,C]),R=P[0],L=P[1],D=(0,l.useStateFromStoresObject)([u.default],(function(){return{canEnableDiscovery:u.default.passesChecklist(t.id),isPendingSuccess:u.default.isPendingSuccess(t.id)}}),[t.id]),w=D.canEnableDiscovery,j=D.isPendingSuccess,k=(0,l.useStateFromStoresArray)([c.default],(function(){return[null,c.default.getMemberCount(t.id)]}),[t.id]),U=k[0],G=k[1],F=a.useCallback((function(){null!=n&&n()}),[n]),B=null;return r?j?B=g.default.Messages.GUILD_SETTINGS_DISCOVERY_PENDING_HEALTHY:w||(B=g.default.Messages.GUILD_SETTINGS_DISCOVERY_REQUIREMENTS_NOT_MET):B=g.default.Messages.GUILD_SETTINGS_DISCOVERY_ADMIN_ONLY,M("div",{className:S.default.container},void 0,M("img",{alt:"",src:O.default,className:S.default.sparkles}),M("div",{className:S.default.discoverPreview},void 0,M(f.default,{className:S.default.placeholderCard,disabled:!0,small:!0,loading:null==R,guild:R}),M(f.default,{className:S.default.previewCard,guild:t,description:g.default.Messages.GUILD_SETTINGS_DISCOVERY_PREVIEW_DESCRIPTION,presenceCount:U,memberCount:G}),M(f.default,{className:S.default.placeholderCard,disabled:!0,small:!0,loading:null==L,guild:L})),M(y.default,{className:S.default.header,size:y.default.Sizes.SIZE_24},void 0,g.default.Messages.GUILD_SETTINGS_DISCOVERY_HEADER),M(m.default,{size:m.default.Sizes.SIZE_16,className:S.default.byline,color:m.default.Colors.HEADER_SECONDARY},void 0,g.default.Messages.GUILD_SETTINGS_DISCOVERY_DESCRIPTION),M(v.default,{text:B},void 0,(function(e){return a.createElement(p.default,b({},e,{className:S.default.enableButton,color:p.default.Colors.BRAND,size:p.default.Sizes.LARGE,disabled:!w||!r,onClick:F}),g.default.Messages.GUILD_SETTINGS_ENABLE_DISCOVERABLE)})),M(m.default,{className:S.default.guidelines,color:m.default.Colors.HEADER_SECONDARY,size:m.default.Sizes.SIZE_12},void 0,g.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_ABIDE_BY_GUIDELINES.format({guidelinesURL:_.default.getArticleURL(E.HelpdeskArticles.PUBLIC_GUILD_GUILDLINES)})),M(h.default,{className:S.default.checklist,guildId:t.id}))};P.displayName="GuildSettingsDiscoveryIntro";var R=P;t.default=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.viewGuild=function(e,t,n){return p.apply(this,arguments)},t.fetchDiscoverableGuilds=function(e){return v.apply(this,arguments)};var r=d(n(137)),a=d(n(14)),o=d(n(2)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(701)),l=n(8991),u=n(1);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){f(o,r,a,i,l,"next",e)}function l(e){f(o,r,a,i,l,"throw",e)}i(void 0)}))}}function p(){return(p=c(regeneratorRuntime.mark((function e(t,n,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(0,l.trackGuildSelected)(t,n,r),e.next=3,i.startLurking(t,r.location);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(){return(v=c(regeneratorRuntime.mark((function e(t){var n,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.default.dirtyDispatch({type:u.ActionTypes.DISCOVER_GUILDS_FETCH_START,guildIds:t}),e.prev=1,e.next=4,a.default.get({url:u.Endpoints.GUILD_DISCOVERY,query:r.default.stringify({guild_ids:t}),oldFormErrors:!0});case 4:n=e.sent,i=n.body.guilds,o.default.dispatch({type:u.ActionTypes.DISCOVER_GUILDS_FETCH_SUCCESS,guilds:i}),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(1),o.default.dispatch({type:u.ActionTypes.DISCOVER_GUILDS_FETCH_FAILURE});case 12:case"end":return e.stop()}}),e,null,[[1,9]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(8)),a=s(n(3)),o=s(n(2)),i=s(n(11)),l=n(48),u=s(n(9845));n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f={},c=0;var p=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(i.default)},a.isFetching=function(){return c>0},a.getGuild=function(e){return f[e]},a.getGuilds=function(e){return e.map((function(e){return f[e]})).filter(l.isNotNullish)},r}(a.default.Store))(o.default,{DISCOVER_GUILDS_FETCH_START:function(e){c+=1},DISCOVER_GUILDS_FETCH_SUCCESS:function(e){var t=e.guilds;c-=1,r.default.map(t,u.default).forEach((function(e){return f[e.id]=e}))},DISCOVER_GUILDS_FETCH_FAILURE:function(e){c-=1}});t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{id:e.id,name:e.name,description:e.description,splash:e.splash,banner:e.banner,icon:e.icon,features:new Set(e.features),presenceCount:e.approximate_presence_count,memberCount:e.approximate_member_count,premiumSubscriptionCount:e.premium_subscription_count,preferredLocale:e.preferred_locale,discoverySplash:e.discovery_splash,emojis:e.emojis}}},function(e,t,n){e.exports=n.p+"495f448b98d1a52201497439bee093b6.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=w(n(0)),o=L(n(9)),i=L(n(8)),l=L(n(3)),u=L(n(154)),s=L(n(8511)),d=L(n(8416)),f=L(n(8327)),c=L(n(9848)),p=L(n(8255)),v=L(n(39)),y=L(n(29)),m=w(n(8302)),_=L(n(55)),h=L(n(151)),E=L(n(153)),g=L(n(149)),S=L(n(681)),O=w(n(474)),I=w(n(159)),T=L(n(279)),C=L(n(150)),b=L(n(261)),M=n(1),N=L(n(6)),A=L(n(7721)),P=L(n(7347)),R=L(n(370));function L(e){return e&&e.__esModule?e:{default:e}}function D(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return D=function(){return e},e}function w(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=D();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function j(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function k(){return(k=Object.assign||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}).apply(this,arguments)}function U(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,G(e,t)}function G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var F=i.default.throttle(s.default.fetchEmoji,1e3),B=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleDeleteEmoji=function(){var e=n.props,t=e.guildId,r=e.emoji;s.default.deleteEmoji(t,r.id)},n.handleNameKeyPress=function(e){var t=e.currentTarget;13===e.which&&t.blur()},n.handleNameChange=function(e){n.setState({name:e})},n.handleNameBlur=function(){var e=n.props.emoji,t=n.state.name;if(t!==e.name){var r=n.props.guildId;s.default.updateEmoji(r,e.id,b.default.sanitizeEmojiName(t))}},n.state={name:t.emoji.name},n}U(t,e);var n=t.prototype;return n.renderEmoji=function(){var e=this.props.emoji,t=C.default.getEmojiURL({id:e.id,animated:e.animated});return j(_.default.Child,{basis:"40px",grow:0},void 0,j(g.default,{text:e.available?null:N.default.Messages.EMOJI_DISABLED_PREMIUM_TIER_LOST},void 0,(function(n){var r;return a.createElement("div",k({},n,{className:(0,o.default)(A.default.emojiImage,(r={},r[A.default.emojiDisabled]=!e.available,r)),style:{backgroundImage:"url("+t+")"}}))})))},n.renderEmojiName=function(){var e=this.state.name;return j(_.default.Child,{basis:"50%"},void 0,j("div",{className:A.default.positionRelative},void 0,j(E.default,{className:A.default.emojiAliasInput,inputClassName:A.default.emojiInput,placeholder:N.default.Messages.GUILD_SETTINGS_EMOJI_ALIAS_PLACEHOLDER,onKeyPress:this.handleNameKeyPress,onChange:this.handleNameChange,onBlur:this.handleNameBlur,size:E.default.Sizes.MINI,value:e,maxLength:M.EMOJI_MAX_LENGTH}),j("div",{className:A.default.emojiAliasPlaceholder},void 0,e.length>0?e:N.default.Messages.GUILD_SETTINGS_EMOJI_ALIAS_PLACEHOLDER)))},n.renderUser=function(){var e=this.props,t=e.emoji,n=e.guildId;return j(_.default.Child,{basis:"50%",className:A.default.emojiUploader},void 0,j(T.default,{src:t.user.getAvatarURL(n),"aria-label":t.user.username,size:T.default.Sizes.SIZE_24,className:A.default.avatar}),j(O.default,{className:(0,o.default)(A.default.emojiRowText)},void 0,t.user.username))},n.renderDeleteButton=function(){return j(d.default,{className:A.default.emojiRemove,onClick:this.handleDeleteEmoji})},n.render=function(){return j(_.default,{className:(0,o.default)(A.default.emojiRow,P.default.card),align:_.default.Align.CENTER},void 0,this.renderEmoji(),this.renderEmojiName(),this.renderUser(),this.renderDeleteButton())},t}(a.PureComponent);B.displayName="EmojiRow";var H=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleFileChange=function(e,n){var r=t.props.guild;if(null!=r){var a=b.default.sanitizeEmojiName(n.split(".")[0]);s.default.uploadEmoji(r.id,e,a).catch((function(e){var t,n=e.body;null!=n&&(n.code===M.AbortCodes.TOO_MANY_EMOJI?t=N.default.Messages.TOO_MANY_EMOJI:n.code===M.AbortCodes.TOO_MANY_ANIMATED_EMOJI?t=N.default.Messages.TOO_MANY_ANIMATED_EMOJI:null!=n.image&&(t=N.default.Messages.EMOJI_TOO_BIG.format({maxSize:M.EMOJI_MAX_FILESIZE_KB}))),null!=t&&u.default.show({body:t})}))}},t}U(t,e);var r=t.prototype;return r.componentDidMount=function(){var e=this.props.guild;null!=e&&F(e.id)},r.componentDidUpdate=function(e){var t=this.props,n=t.revision,r=t.guild;null!=r&&e.revision<n&&F(r.id)},r.getMaxSlots=function(){var e=this.props.guild;return null!=e?e.getMaxEmojiSlots():M.EMOJI_MAX_SLOTS},r.renderUploader=function(){var e=this.props,t=e.emojis,n=e.isUploading,r=t?t.filter((function(e){return!e.animated})).length:0,a=t?t.filter((function(e){return e.animated})).length:0,o=this.getMaxSlots(),i=o-r,l=Math.max(i,o-a),u=N.default.Messages.GUILD_SETTINGS_EMOJI_UPLOAD_TO_SERVER_MESSAGE;return j(S.default,{className:R.default.marginBottom40},void 0,j(_.default,{align:_.default.Align.START,className:R.default.marginBottom20},void 0,j(_.default.Child,{},void 0,j(O.default,{type:O.Types.DESCRIPTION},void 0,u.format({count:o,maxSize:M.EMOJI_MAX_FILESIZE_KB}))),j(_.default.Child,{wrap:!0,grow:0},void 0,j(y.default,{tabIndex:-1,disabled:n||0===l,submitting:n,focusProps:{within:!0}},void 0,N.default.Messages.UPLOAD_EMOJI,l>0?j(f.default,{tabIndex:0,onChange:this.handleFileChange,multiple:!0}):null))))},r.renderTitle=function(e,t){var n=t.length,r=this.getMaxSlots()-n;return j(I.default,{tag:I.Tags.H5,className:R.default.marginBottom20},void 0,e,j("span",{},void 0," — ",N.default.Messages.EMOJI_SLOTS_AVAILABLE.format({count:r})))},r.renderEmojiTable=function(e,t){return 0===t.length?j(O.default,{type:O.Types.DESCRIPTION,className:R.default.marginBottom40},void 0,N.default.Messages.NO_EMOJI_BODY):j(S.default,{className:R.default.marginBottom40},void 0,j(_.default,{className:R.default.marginBottom4},void 0,j(_.default.Child,{basis:"40px",grow:0,wrap:!0},void 0,j(O.default,{type:O.default.Types.DESCRIPTION},void 0,N.default.Messages.EMOJI)),j(_.default.Child,{basis:"50%",wrap:!0},void 0,j(O.default,{type:O.default.Types.DESCRIPTION,className:A.default.emojiAliasOffset},void 0,N.default.Messages.GUILD_SETTINGS_EMOJI_ALIAS)),j(_.default.Child,{basis:"50%",wrap:!0},void 0,j(O.default,{type:O.default.Types.DESCRIPTION},void 0,N.default.Messages.UPLOADED_BY))),t.reverse().map((function(t){return j(B,{guildId:e.id,emoji:t},t.id)})))},r.renderEmojis=function(){var e=this.props,t=e.emojis,r=e.theme,a=e.guild;if(null==t||null==a)return j(h.default,{className:R.default.marginTop40,type:h.default.Type.SPINNING_CIRCLE});if(0===t.length)return j(m.default,{theme:r,className:R.default.marginTop20},void 0,j(m.EmptyStateImage,{darkSrc:n(9850),lightSrc:n(9851),width:272,height:212}),j(m.EmptyStateText,{note:N.default.Messages.NO_EMOJI},void 0,N.default.Messages.NO_EMOJI_TITLE));var o=i.default.partition(t,(function(e){return!e.animated})),l=o[0],u=o[1];return j("div",{},void 0,this.renderTitle(N.default.Messages.EMOJI,l),this.renderEmojiTable(a,l),this.renderTitle(N.default.Messages.ANIMATED_EMOJI,u),this.renderEmojiTable(a,u))},r.render=function(){return j(S.default,{tag:I.Tags.H1,title:N.default.Messages.SERVER_EMOJI},void 0,this.renderUploader(),this.renderEmojis())},t}(a.PureComponent);H.displayName="GuildSettingsEmoji";var x=l.default.connectStores([v.default,c.default,p.default],(function(){var e=p.default.getProps().guild;return{guild:e,emojis:null!=e?c.default.getEmojis(e.id):[],revision:null!=e?c.default.getEmojiRevision(e.id):null,isUploading:c.default.isUploadingEmoji(),theme:v.default.theme}}))(H);t.default=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),a=l(n(2)),o=l(n(9849)),i=l(n(107));n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s={},d={},f=0;var c=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(i.default)},a.isUploadingEmoji=function(){return f>0},a.getEmojiRevision=function(e){return s[e]||0},a.getEmojis=function(e){return d[e]},r}(r.default.Store))(a.default,{EMOJI_DELETE:function(e){var t=e.guildId,n=e.emojiId;d[t]=d[t].filter((function(e){return e.id!==n}))},EMOJI_FETCH_SUCCESS:function(e){var t=e.guildId,n=e.emojis;d[t]=n.map((function(e){return new o.default(e)}))},EMOJI_FETCH_FAILURE:function(e){var t=e.guildId;d[t]=[]},EMOJI_UPLOAD_START:function(e){f++},EMOJI_UPLOAD_STOP:function(e){f--},GUILD_EMOJIS_UPDATE:function(e){var t=e.guildId;s[t]=(s[t]||0)+1}});t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(62)),a=o(n(89));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e){var t,n;function r(t){var n;return(n=e.call(this)||this).id=t.id,n.name=t.name,n.managed=t.managed,n.roles=t.roles,n.requiredColons=t.requiredColons,n.user=new a.default(t.user),n.animated=t.animated,n.available=t.available,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n),r}(r.default);t.default=l},function(e,t,n){e.exports=n.p+"a7371de3223292c6f31f8aeed62f17c1.svg"},function(e,t,n){e.exports=n.p+"3236694e0c095adfbbd5334fc8dc7aa0.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v,t.GuildSettingsIntegrationsNotice=y;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=f(n(8317)),i=f(n(8292)),l=f(n(9177)),u=f(n(8982)),s=f(n(8255)),d=f(n(39));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.refToScroller,n=(0,a.useStateFromStores)([s.default],(function(){return s.default.getProps()}),[]).guild,r=(0,a.useStateFromStores)([u.default],(function(){return u.default.getProps()}),[]),o=r.section,i=r.integrations,d=r.editedIntegration,f=r.webhooks,c=r.editedWebhook,v=r.isFetching,y=r.errors;return null==n?null:p(l.default,{guild:n,section:o,integrations:i,webhooks:f,editedIntegration:d,editedWebhook:c,isFetching:v,hasChanges:u.default.hasChanges,errors:y,refToScroller:t})}function y(){var e=(0,a.useStateFromStores)([s.default],(function(){return s.default.getProps()})),t=e.guild,n=e.submitting,r=(0,a.useStateFromStores)([d.default],(function(){return d.default.theme}));return p(i.default,{theme:r,submitting:n,onReset:function(){o.default.init()},onSave:function(){null!=t&&(null!=u.default.editedIntegration?o.default.saveIntegration(t.id,u.default.editedIntegration):null!=u.default.editedWebhook&&o.default.saveWebhook(t.id,u.default.editedWebhook))}})}v.displayName="GuildSettingsIntegrations",y.displayName="GuildSettingsIntegrationsNotice"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.guild,n=e.applicationIntegration,r=e.selectableWebhookChannels,i=e.editedWebhook,l=e.errors,_=e.canNavigate,A=n.application,P=n.integration,w=n.webhooks,j=(0,o.useStateFromStores)([u.default],(function(){return null==A.bot||u.default.canManageUser(b.Permissions.MANAGE_GUILD,A.bot.id,t)}),[A.bot,t]),k=a.useCallback((function(){_()&&(0,h.openModal)((function(e){return a.createElement(D,R({guild:t,application:A,integration:P},e))}))}),[A,_,t,P]),U=a.useMemo((function(){var e=[{icon:p.default,text:M.default.Messages.INTEGRATION_ADDED_DATE.format({timestamp:O.default.extractTimestamp(P.id)})}];return null!=P.user&&e.push({icon:v.default,text:M.default.Messages.INTEGRATION_ADDED_USER.format({user:P.user.tag})}),e}),[P.id,P.user]),G=L(T.default,{guild:t,applicationIntegration:n}),F=a.useMemo((function(){return null!=A.bot?G:L(d.default,{className:N.default.emptyCard,editable:!0},void 0,L(g.default,{color:g.default.Colors.MUTED},void 0,M.default.Messages.INTEGRATIONS_APPLICATION_NO_BOT))}),[A.bot,n,t]);return a.createElement(a.Fragment,null,L(I.default,{name:A.name,imageSrc:A.getIconURL(32)||S.DEFAULT_AVATARS[0],details:U,isHeader:!0}),null!=(null==A?void 0:A.description)?L(c.FormText,{className:N.default.headerDescription,type:c.FormTextTypes.DESCRIPTION},void 0,A.description):null,L(c.FormDivider,{className:N.default.headerDivider}),null!=A.bot?L("div",{className:N.default.section},void 0,L(f.default,{className:N.default.sectionHeader,align:f.default.Align.CENTER},void 0,L(y.default,{className:N.default.sectionIcon,width:24,height:24}),L(E.default,{size:E.default.Sizes.SIZE_16},void 0,M.default.Messages.INTEGRATIONS_APPLICATION_BOT)),F):null,L("div",{className:N.default.section},void 0,L(f.default,{className:N.default.sectionHeader,align:f.default.Align.CENTER},void 0,L(m.default,{className:N.default.sectionIcon,width:24,height:24}),L(E.default,{size:E.default.Sizes.SIZE_16},void 0,M.default.Messages.INTEGRATIONS_APPLICATION_WEBHOOKS)),w.length>0?L(C.default,{webhooks:w,editedWebhook:i,selectableWebhookChannels:r,errors:l,canNavigate:_}):L(d.default,{className:N.default.emptyCard,editable:!0},void 0,L(g.default,{color:g.default.Colors.MUTED},void 0,M.default.Messages.INTEGRATIONS_APPLICATION_NO_WEBHOOKS))),L(c.FormDivider,{className:N.default.headerDivider}),L(f.default,{className:N.default.section,justify:f.default.Justify.BETWEEN,align:f.default.Align.CENTER},void 0,L(g.default,{color:g.default.Colors.HEADER_SECONDARY},void 0,j?M.default.Messages.INTEGRATIONS_APPLICATION_REMOVE_SUMMARY:M.default.Messages.INTEGRATIONS_APPLICATION_REMOVE_NO_PERMISSIONS),L(f.default.Child,{grow:0,shrink:0},void 0,L(s.default,{size:s.default.Sizes.SMALL,color:s.default.Colors.RED,look:s.default.Looks.FILLED,disabled:!j,onClick:k},void 0,M.default.Messages.INTEGRATIONS_APPLICATION_REMOVE))))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=A(n(154)),l=A(n(8254)),u=A(n(40)),s=A(n(29)),d=A(n(467)),f=A(n(55)),c=n(131),p=A(n(1224)),v=A(n(8577)),y=A(n(1283)),m=A(n(8683)),_=A(n(466)),h=n(41),E=A(n(47)),g=A(n(24)),S=n(150),O=A(n(97)),I=A(n(8401)),T=A(n(9854)),C=A(n(8684)),b=n(1),M=A(n(6)),N=A(n(7727));function A(e){return e&&e.__esModule?e:{default:e}}function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(){return(R=Object.assign||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}).apply(this,arguments)}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function D(e){var t=e.application,n=e.guild,r=e.integration,o=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["application","guild","integration"]);return a.createElement(_.default,R({},o,{header:M.default.Messages.INTEGRATIONS_APPLICATION_REMOVE_TITLE.format({applicationName:t.name}),confirmText:M.default.Messages.INTEGRATIONS_APPLICATION_REMOVE,cancelText:M.default.Messages.CANCEL,onConfirm:function(){l.default.disableIntegration(n.id,r.id).catch((function(){i.default.show({title:M.default.Messages.INTEGRATIONS_APPLICATION_REMOVE_ERROR_TITLE,body:M.default.Messages.INTEGRATIONS_APPLICATION_REMOVE_ERROR})}))}}),L(g.default,{size:g.default.Sizes.SIZE_16},void 0,M.default.Messages.INTEGRATIONS_APPLICATION_REMOVE_BODY.format({applicationName:t.name})))}D.displayName="RemoveApplicationModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=A;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=T(n(9)),i=T(n(63)),l=n(3),u=T(n(199)),s=T(n(8501)),d=n(1383),f=T(n(89)),c=T(n(56)),p=T(n(1222)),v=T(n(467)),y=T(n(55)),m=n(131),_=T(n(372)),h=T(n(255)),E=T(n(24)),g=n(48),S=T(n(78)),O=T(n(6)),I=T(n(7723));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return N(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function A(e){var t=e.guild,n=e.applicationIntegration.application,r=null!=n.bot?new f.default(n.bot):null,T=(0,l.useStateFromStores)([c.default],(function(){return null!=r?c.default.getMember(t.id,r.id):null}),[r,t]),C=null==r?void 0:r.id;a.useEffect((function(){null!=C&&u.default.requestMembersById(t.id,C)}),[t.id,C]);var N=a.useMemo((function(){for(var e,n,r,a=t.getRole(t.id),o=(null==T||null===(e=T.roles)||void 0===e?void 0:e.map((function(e){return t.getRole(e)})).filter(g.isNotNullish))||[],l=null!==(n=null==a?void 0:a.permissions)&&void 0!==n?n:S.default.NONE,u=M(o);!(r=u()).done;){var s=r.value;l=i.default.add(l,s.permissions)}return l}),[t,T]);return null==r?null:b(v.default,{editable:!0,className:I.default.card},void 0,b(y.default,{direction:y.default.Direction.VERTICAL},void 0,b(y.default,{align:y.default.Align.CENTER},void 0,b("img",{alt:"",src:r.getAvatarURL(t.id),className:I.default.iconWrapper}),b(E.default,{color:E.default.Colors.HEADER_PRIMARY},void 0,O.default.Messages.INTEGRATIONS_APPLICATION_BOT_NAME.format({user:r})),b(p.default,{className:I.default.tag,verified:r.isVerifiedBot()})),function(e,t,n,r){for(var l,u=[],f=[],c=M(d.OrderedPermissions);!(l=c()).done;){var p=l.value,v=void 0,g=void 0;i.default.has(r,p)?(v=u,g=b(_.default,{width:16,height:16,className:(0,o.default)(I.default.check,I.default.integratedCheck)})):(v=f,g=b(h.default,{width:16,height:16,className:(0,o.default)(I.default.cross)})),v.push(b("div",{className:I.default.permission},String(p),g,b(E.default,{},void 0,(0,d.getPermissionName)(p))))}return a.createElement(a.Fragment,null,b(m.FormDivider,{className:I.default.divider}),n.length>0?a.createElement(a.Fragment,null,b(m.FormTitle,{className:I.default.permissionHeader},void 0,O.default.Messages.ROLES_LIST.format({numRoles:n.length})),b(s.default,{className:I.default.rolePills,user:e,guild:t,userRoles:n,wrap:!1,readOnly:!0})):null,u.length>0?a.createElement(a.Fragment,null,b(m.FormTitle,{className:I.default.permissionHeader},void 0,O.default.Messages.INTEGRATIONS_APPLICATION_GRANTED_PERMISSIONS),b(y.default,{wrap:y.default.Wrap.WRAP},void 0,u)):null,f.length>0?a.createElement(a.Fragment,null,b(m.FormTitle,{className:I.default.permissionHeader},void 0,O.default.Messages.INTEGRATIONS_APPLICATION_DENIED_PERMISSIONS),b(y.default,{wrap:y.default.Wrap.WRAP},void 0,f)):null)}(r,t,(null==T?void 0:T.roles)||[],N)))}A.displayName="BotCard"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=R;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=M();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=b(n(154)),i=b(n(8317)),l=b(n(8369)),u=b(n(8338)),s=b(n(8401)),d=b(n(29)),f=b(n(467)),c=b(n(61)),p=b(n(55)),v=b(n(1159)),y=b(n(153)),m=n(131),_=b(n(683)),h=b(n(8345)),E=b(n(466)),g=n(41),S=b(n(24)),O=n(150),I=n(1),T=b(n(6)),C=b(n(7724));function b(e){return e&&e.__esModule?e:{default:e}}function M(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return M=function(){return e},e}function N(){return(N=Object.assign||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}).apply(this,arguments)}function A(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function P(e,t){return null!=t&&/^data:/.test(t)?t:(0,O.getUserAvatarURL)({id:e.id,avatar:t,discriminator:I.NON_USER_BOT_DISCRIMINATOR})}function R(e){var t=e.webhook,n=e.editedWebhook,r=e.channelOptions,O=e.isExpanded,I=e.errors,b=e.onToggleExpand,M=a.useMemo((function(){return P(t,t.avatar)}),[t]),R=a.useCallback((function(){(0,g.openModal)((function(e){return a.createElement(E.default,N({},e,{header:T.default.Messages.INTEGRATIONS_FOLLOWED_CHANNEL_DELETE_TITLE.format({name:t.name}),confirmText:T.default.Messages.INTEGRATIONS_FOLLOWED_CHANNEL_DELETE,cancelText:T.default.Messages.CANCEL,onConfirm:function(){l.default.delete(t.guild_id,t.id).catch((function(){o.default.show({title:T.default.Messages.INTEGRATIONS_FOLLOWED_CHANNEL_ERROR_DELETING,body:T.default.Messages.WEBHOOK_ERROR_INTERNAL_SERVER_ERROR})}))}}),A(S.default,{size:S.default.Sizes.SIZE_16},void 0,T.default.Messages.INTEGRATIONS_FOLLOWED_CHANNEL_DELETE_BODY))}))}),[t.guild_id,t.id,t.name]),L=[];null!=t.source_channel&&null!=t.source_guild&&(L.push({icon:h.default,text:t.source_channel.name}),L.push({text:A("span",{className:C.default.guildSource},void 0,T.default.Messages.INTEGRATIONS_FOLLOWED_CHANNEL_GUILD_SOURCE.format({guildHook:function(){return A("span",{className:C.default.sourceName},void 0,t.source_guild.name)}}))}));var D=null;return O&&null!=n&&(D=A("div",{className:C.default.body},void 0,A(m.FormDivider,{className:C.default.topDivider}),A(p.default,{},void 0,A(p.default.Child,{shrink:1,grow:0},void 0,A(p.default,{className:C.default.avatarWrapper,direction:p.default.Direction.VERTICAL},void 0,A(u.default,{avatar:n.avatar,onChange:function(e){i.default.updateWebhook({avatar:e})},makeURL:function(e){return P(t,e)},avatarClassName:C.default.avatarUploaderInner,showIcon:!0}),I.avatar?a.createElement(a.Fragment,null,I.avatar):null)),A(p.default,{direction:p.default.Direction.VERTICAL},void 0,A(p.default,{},void 0,A(p.default.Child,{basis:"50%"},void 0,A(m.FormItem,{title:T.default.Messages.INTEGRATIONS_FOLLOWED_CHANNEL_NAME},void 0,A(y.default,{value:n.name,onChange:function(e){i.default.updateWebhook({name:e})},maxLength:80,error:I.name}))),A(p.default.Child,{basis:"50%"},void 0,A(m.FormItem,{title:T.default.Messages.INTEGRATIONS_FOLLOWED_CHANNEL_DEST_CHANNEL},void 0,A(v.default,{value:n.channel_id,clearable:!1,searchable:!1,options:r,onChange:function(e){var t=e.value;i.default.updateWebhook({channelId:t})}})))),A(m.FormDivider,{className:C.default.bottomDivider}),A(p.default,{},void 0,A(d.default,{onClick:R,size:d.default.Sizes.SMALL,color:d.default.Colors.RED,look:d.default.Looks.LINK,className:C.default.removeButton},void 0,T.default.Messages.INTEGRATIONS_FOLLOWED_CHANNEL_DELETE)))))),A(f.default,{editable:!0,className:C.default.card},void 0,A(p.default,{direction:p.default.Direction.VERTICAL},void 0,A(c.default,{className:C.default.header,"aria-expanded":O,onClick:b},void 0,A(p.default,{align:p.default.Align.CENTER},void 0,A(s.default,{name:t.name,imageSrc:M,detailsClassName:C.default.description,details:L}),A(_.default,{className:C.default.expandIcon,expanded:O,"aria-hidden":!0}))),D))}R.displayName="FollowedChannelCard"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=H;var r,a=k(n(0)),o=w(n(9)),i=w(n(14)),l=n(57),u=w(n(154)),s=w(n(8317)),d=w(n(8369)),f=w(n(8338)),c=w(n(8401)),p=w(n(89)),v=w(n(160)),y=w(n(29)),m=w(n(467)),_=w(n(61)),h=w(n(55)),E=w(n(1159)),g=w(n(153)),S=k(n(149)),O=n(131),I=w(n(683)),T=w(n(1224)),C=w(n(466)),b=n(41),M=w(n(24)),N=n(150),A=w(n(97)),P=n(1163),R=n(1),L=w(n(6)),D=w(n(7725));function w(e){return e&&e.__esModule?e:{default:e}}function j(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return j=function(){return e},e}function k(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=j();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function U(){return(U=Object.assign||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}).apply(this,arguments)}function G(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var F=function(e){if(null==e)return null;var t=new p.default(e);return v.default.enabled?t.username:t.tag};function B(e,t){return null!=t&&/^data:/.test(t)?t:(0,N.getUserAvatarURL)({id:e.id,avatar:t,discriminator:R.NON_USER_BOT_DISCRIMINATOR})}function H(e){var t=e.id,n=e.webhook,r=e.editedWebhook,p=e.channelOptions,v=e.isExpanded,N=e.isNew,w=e.errors,j=e.onToggleExpand,k=a.useState(!1),H=k[0],x=k[1],V=a.useState(new l.Timeout)[0],W=a.useMemo((function(){return B(n,n.avatar)}),[n]),Y=a.useCallback((function(){var e=""+i.default.getAPIBaseURL(!1)+R.Endpoints.WEBHOOK_INTEGRATION(n.id,n.token);(0,P.copy)(e)}),[n]),z=a.useCallback((function(){(0,b.openModal)((function(e){return a.createElement(C.default,U({},e,{header:L.default.Messages.WEBHOOK_DELETE_TITLE.format({name:name}),confirmText:L.default.Messages.WEBHOOK_DELETE,cancelText:L.default.Messages.WEBHOOK_CANCEL,onConfirm:function(){d.default.delete(n.guild_id,n.id).catch((function(){u.default.show({title:L.default.Messages.WEBHOOK_ERROR_DELETING_WEBHOOK,body:L.default.Messages.WEBHOOK_ERROR_INTERNAL_SERVER_ERROR})}))}}),G(M.default,{size:M.default.Sizes.SIZE_16},void 0,L.default.Messages.WEBHOOK_DELETE_BODY.format({name:name})))}))}),[n.guild_id,n.id]),K=[];null!=n.user?K.push({icon:T.default,text:L.default.Messages.INTEGRATION_CREATED_USER_DATE.format({user:F(n.user),timestamp:A.default.extractTimestamp(n.id)})}):K.push({icon:T.default,text:L.default.Messages.INTEGRATION_CREATED_DATE.format({timestamp:A.default.extractTimestamp(n.id)})});var $=null;return v&&null!=r&&($=G("div",{className:D.default.body},void 0,G(O.FormDivider,{className:D.default.topDivider}),G(h.default,{},void 0,G(h.default.Child,{shrink:1,grow:0},void 0,G(h.default,{className:D.default.avatarWrapper,direction:h.default.Direction.VERTICAL},void 0,G(f.default,{avatar:r.avatar,onChange:function(e){s.default.updateWebhook({avatar:e})},makeURL:function(e){return B(n,e)},avatarClassName:D.default.avatarUploaderInner,showIcon:!0,disabled:!n.token}),w.avatar?a.createElement(a.Fragment,null,w.avatar):null)),G(h.default,{direction:h.default.Direction.VERTICAL},void 0,G(h.default,{},void 0,G(h.default.Child,{basis:"50%"},void 0,G(O.FormItem,{title:L.default.Messages.WEBHOOK_FORM_NAME},void 0,G(g.default,{value:r.name,onChange:function(e){s.default.updateWebhook({name:e})},maxLength:80,error:w.name,disabled:!n.token}))),G(h.default.Child,{basis:"50%"},void 0,G(O.FormItem,{title:L.default.Messages.CHANNEL},void 0,G(E.default,{value:r.channel_id,clearable:!1,searchable:!1,options:p,onChange:function(e){var t=e.value;s.default.updateWebhook({channelId:t})}})))),G(O.FormDivider,{className:D.default.bottomDivider}),G(h.default,{},void 0,G(S.default,{text:L.default.Messages.INTEGRATIONS_WEBHOOK_COPIED_URL,forceOpen:H,color:S.TooltipColors.GREEN,disableTooltipPointerEvents:!0},void 0,(function(e){var t=e.onClick,r=(e.onMouseEnter,e.onMouseLeave,function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onClick","onMouseEnter","onMouseLeave"]));return a.createElement(y.default,U({},r,{onClick:function(){t&&t(),x(!0),V.start(1e3,(function(){return x(!1)})),Y()},size:y.default.Sizes.SMALL,color:y.default.Colors.PRIMARY,look:y.default.Looks.FILLED,className:D.default.copyButton,disabled:!n.token}),L.default.Messages.INTEGRATIONS_WEBHOOK_COPY_URL)})),G(y.default,{onClick:z,size:y.default.Sizes.SMALL,color:y.default.Colors.RED,look:y.default.Looks.LINK},void 0,L.default.Messages.INTEGRATIONS_WEBHOOK_DELETE)))))),G(m.default,{editable:!0,id:t,className:(0,o.default)(D.default.card,N?D.default.pulse:null)},void 0,G(h.default,{direction:h.default.Direction.VERTICAL},void 0,G(_.default,{className:D.default.header,"aria-expanded":v,onClick:j},void 0,G(h.default,{align:h.default.Align.CENTER},void 0,G(c.default,{name:n.name,imageSrc:W,details:K}),G(I.default,{className:D.default.expandIcon,expanded:v,"aria-hidden":!0}))),$))}H.displayName="WebhookCard"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.integrations,n=e.editedIntegration,r=e.guild,p=e.platformType,v=e.labelText,_=e.descriptionText,h=e.helpText,E=e.canNavigate,g=l.default.get(p),S=a.useCallback(function(){var e,t=(e=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!E()){e.next=4;break}return e.next=3,o.default.enableIntegration(r.id,t.type,t.id);case 3:i.default.startEditingIntegration(t.id);case 4:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){m(o,r,a,i,l,"next",e)}function l(e){m(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}(),[E,r.id]),O=a.useCallback((function(e){E()&&(e.id===(null==n?void 0:n.id)&&i.default.stopEditingIntegration(),o.default.disableIntegration(r.id,e.id))}),[E,n,r.id]),I=a.useCallback((function(e){E()&&(e===(null==n?void 0:n.id)?i.default.stopEditingIntegration():i.default.startEditingIntegration(e))}),[E,n]);return a.createElement(a.Fragment,null,y(d.default,{name:v,icon:g.icon.white,iconBackgroundColor:g.color,iconClassName:c.default.platformIcon,description:_,isHeader:!0}),y(u.FormDivider,{className:c.default.headerDivider}),t.map((function(e){return y(f.default,{integration:e,editedIntegration:n,guild:r,isExpanded:(null==n?void 0:n.id)===e.id,onEnable:S,onDisable:O,onToggleExpand:function(){return I(e.id)}},e.id)})),y(s.default,{className:c.default.helpText,color:s.default.Colors.MUTED},void 0,h))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(8254)),i=p(n(8317)),l=p(n(183)),u=n(131),s=p(n(24)),d=p(n(8401)),f=p(n(9858)),c=p(n(7730));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=Y;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=U();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=k(n(9)),i=k(n(5)),l=n(3),u=k(n(8254)),s=k(n(8317)),d=k(n(8401)),f=k(n(183)),c=k(n(89)),p=k(n(249)),v=k(n(160)),y=k(n(271)),m=k(n(29)),_=k(n(467)),h=k(n(1160)),E=k(n(61)),g=k(n(55)),S=k(n(149)),O=n(131),I=k(n(683)),T=k(n(1224)),C=k(n(9859)),b=k(n(466)),M=n(41),N=n(374),A=k(n(24)),P=k(n(150)),R=k(n(97)),L=n(1),D=k(n(6)),w=k(n(7729)),j=k(n(370));function k(e){return e&&e.__esModule?e:{default:e}}function U(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return U=function(){return e},e}function G(){return(G=Object.assign||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}).apply(this,arguments)}function F(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var B=F(C.default,{width:24,height:24});function H(e,t,n,r,o,i){return F(g.default,{},void 0,F(g.default.Child,{basis:"50%"},void 0,F(O.FormTitle,{className:j.default.marginBottom8},void 0,D.default.Messages.FORM_LABEL_SYNCED_ROLE),F(A.default,{className:w.default.syncedRole,color:A.default.Colors.HEADER_PRIMARY},void 0,o)),F(g.default.Child,{basis:"50%"},void 0,F(O.FormTitle,{className:j.default.marginBottom8},void 0,t),F(g.default,{justify:g.default.Justify.BETWEEN},void 0,F(g.default,{direction:g.default.Direction.VERTICAL},void 0,F(A.default,{color:A.default.Colors.HEADER_PRIMARY},void 0,n),F(A.default,{color:A.default.Colors.HEADER_SECONDARY,size:A.default.Sizes.SIZE_12},void 0,r)),F(m.default,{size:m.default.Sizes.SMALL,look:m.default.Looks.FILLED,color:m.default.Colors.PRIMARY,disabled:e.syncing||e.revoked,onClick:i},void 0,e.syncing?B:a.createElement(a.Fragment,null,D.default.Messages.SYNC)))))}function x(e,t,n,r){return F(g.default,{},void 0,F(g.default.Child,{basis:"50%"},void 0,F(O.FormTitle,{className:j.default.marginBottom8},void 0,t),F(N.SingleSelect,{placeholder:t,value:""+e.expire_behavior,options:[{value:"0",label:D.default.Messages.REMOVE_SYNCED_ROLE},{value:"1",label:D.default.Messages.KICK_FROM_SERVER}],isDisabled:e.syncing,onChange:function(e){return n(parseInt(e))}})),F(g.default.Child,{basis:"50%"},void 0,F(O.FormTitle,{className:j.default.marginBottom8},void 0,D.default.Messages.FORM_LABEL_EXPIRE_GRACE_PERIOD),F(N.SingleSelect,{placeholder:D.default.Messages.FORM_LABEL_EXPIRE_GRACE_PERIOD,maxVisibleItems:5,value:""+e.expire_grace_period,options:[1,3,7,14,30].map((function(e){return{value:""+e,label:D.default.Messages.N_DAYS.format({days:e})}})),onChange:function(e){return r(parseInt(e))},isDisabled:e.syncing})))}function V(e,t,n){return F(g.default,{direction:g.default.Direction.VERTICAL},void 0,F(h.default,{type:h.default.Types.INVERTED,className:(0,o.default)(j.default.marginTop20,j.default.marginBottom8),value:e.enable_emoticons,disabled:e.syncing,onChange:function(e){var t=e.currentTarget;return n(t.checked)}},void 0,F(O.FormText,{},void 0,D.default.Messages.ENABLE_TWITCH_EMOJI_SYNC)),F(g.default,{wrap:g.default.Wrap.WRAP,className:w.default.twitchEmojis},void 0,t.map((function(e,t){return F(S.default,{text:e.name},t,(function(t){return a.createElement("img",G({alt:D.default.Messages.IMG_ALT_EMOJI.format({name:e.name}),key:e.name,draggable:!1,className:(0,o.default)(w.default.emoji,"emoji","jumboable"),src:P.default.getEmojiURL({id:e.id,animated:e.animated})},t))}))}))))}H.displayName="renderSyncSection",x.displayName="renderExpirationSection",V.displayName="renderEmoticonSection";var W=F(C.default,{width:24,height:24});function Y(e){var t=e.guild,n=e.integration,r=e.editedIntegration,o=e.isExpanded,h=e.onToggleExpand,S=e.onDisable,C=e.onEnable,N=a.useState(!1),P=N[0],j=N[1],k=(0,l.useStateFromStores)([v.default],(function(){return v.default.hidePersonalInformation})),U=a.useCallback((function(){j(!0),C(n)}),[n,C]),B=a.useCallback((function(){n.syncing||(0,M.openModal)((function(e){var t=0===n.expire_behavior?D.default.Messages.REMOVE_SYNCED_ROLE:D.default.Messages.KICK_FROM_SERVER;return a.createElement(b.default,G({},e,{header:D.default.Messages.DISABLE_INTEGRATION_TITLE,confirmText:t,cancelText:D.default.Messages.CANCEL,onConfirm:function(){return S(n)}}),F(A.default,{size:A.default.Sizes.SIZE_16},void 0,n.type===L.PlatformTypes.YOUTUBE?D.default.Messages.DISABLE_INTEGRATION_YOUTUBE_BODY:D.default.Messages.DISABLE_INTEGRATION_TWITCH_BODY))}))}),[n,S]);var Y,z=a.useCallback((function(){u.default.syncIntegration(t.id,n.id)}),[t.id,n.id]),K=a.useCallback((function(){null!=n.role_id&&(u.default.setSection(L.GuildSettingsSections.ROLES),u.default.selectRole(n.role_id))}),[n.role_id]),$=a.useMemo((function(){var e,t,r=(null===(e=(t=f.default.get(n.type)).getPlatformUserUrl)||void 0===e?void 0:e.call(t,n.account))||"";switch(n.type){case L.PlatformTypes.YOUTUBE:return{serviceName:D.default.Messages.INTEGRATIONS_YOUTUBE,expireBehaviorLabel:D.default.Messages.FORM_LABEL_MEMBERSHIP_EXPIRE_BEHAVIOR,syncLabel:D.default.Messages.FORM_LABEL_SYNCED_MEMBERS,subscribersText:D.default.Messages.NUM_MEMBERS.format({subscribers:n.subscriber_count||0}),channelURL:r};case L.PlatformTypes.TWITCH:default:return{serviceName:D.default.Messages.INTEGRATIONS_TWITCH,expireBehaviorLabel:D.default.Messages.FORM_LABEL_SUB_EXPIRE_BEHAVIOR,syncLabel:D.default.Messages.FORM_LABEL_SYNCED_SUBS,subscribersText:D.default.Messages.NUM_SUBSCRIBERS.format({subscribers:n.subscriber_count||0}),channelURL:r}}}),[n.account,n.subscriber_count,n.type]),Z=$.serviceName,q=$.channelURL,X=$.expireBehaviorLabel,J=$.syncLabel,Q=$.subscribersText,ee=a.useMemo((function(){var e=null!=n.role_id?t.getRole(n.role_id):null;return{roleLink:null!=e?F(y.default,{onClick:K},void 0,e.name):D.default.Messages.NONE,syncDescriptionText:n.revoked?D.default.Messages.SYNC_REVOKED.format({user:n.user,platformName:f.default.get(n.type).name}):D.default.Messages.INTEGRATIONS_LAST_SYNC.format({datetime:(0,i.default)(n.synced_at).calendar()})}}),[t,K,n.revoked,n.role_id,n.synced_at,n.type,n.user]),te=ee.roleLink,ne=ee.syncDescriptionText,re=a.useMemo((function(){var e=p.default.getGuildEmoji(t.id),r=Object.values(t.roles).filter((function(e){return null!=e.tags&&e.tags.integration_id===n.id})).map((function(e){return e.id}));return n.enable_emoticons?e.sort((function(e,t){return e.name.localeCompare(t.name)})).filter((function(e){return null!=n.role_id&&(null==e?void 0:e.roles.some((function(e){return r.includes(e)})))})):[]}),[t.id,t.roles,n.enable_emoticons,n.id,n.role_id]);if(a.useEffect((function(){(null==r?void 0:r.id)===n.id&&!0===(null==r?void 0:r.enabled)&&j(!1)}),[r,n.id]),n.enabled&&n.user)Y=[{icon:T.default,text:k?D.default.Messages.INTEGRATION_ADDED_DATE.format({timestamp:R.default.extractTimestamp(n.id)}):D.default.Messages.INTEGRATION_ADDED_USER_DATE.format({user:null!=n.user?new c.default(n.user).tag:null,timestamp:R.default.extractTimestamp(n.id)})}];else{var ae=new URL(q);Y=[{text:D.default.Messages.INTEGRATIONS_ACCOUNT_DESCRIPTION.format({serviceName:Z,accountUrl:q,accountUrlText:ae.hostname+ae.pathname})}]}var oe=F(g.default,{className:w.default.header,align:g.default.Align.CENTER},void 0,F(d.default,{name:""+n.name,detailsClassName:w.default.description,details:Y}),n.enabled?F(g.default.Child,{shrink:0,grow:0},void 0,F(I.default,{className:w.default.expandIcon,expanded:o&&!P,"aria-hidden":!0})):F(g.default.Child,{shrink:0,grow:0},void 0,F(m.default,{size:m.default.Sizes.SMALL,color:m.default.Colors.PRIMARY,onClick:U,disabled:P},void 0,P?W:a.createElement(a.Fragment,null,D.default.Messages.INTEGRATIONS_ENABLE)))),ie=null;return o&&!P&&null!=r&&(ie=F(g.default,{className:w.default.body,direction:g.default.Direction.VERTICAL},void 0,F(O.FormDivider,{className:w.default.topDivider}),H(r,J,Q,ne,te,z),F(O.FormDivider,{className:w.default.midDivider}),x(r,X,(function(e){s.default.updateIntegration({expireBehavior:e})}),(function(e){s.default.updateIntegration({expireGracePeriod:e})})),n.type===L.PlatformTypes.TWITCH?V(r,re,(function(e){s.default.updateIntegration({enableEmoticons:e})})):null,F(O.FormDivider,{className:w.default.bottomDivider}),F(g.default,{},void 0,F(m.default,{className:w.default.disableButton,size:m.default.Sizes.SMALL,color:m.default.Colors.RED,look:m.default.Looks.LINK,onClick:B},void 0,D.default.Messages.INTEGRATIONS_DISABLE)))),F(_.default,{editable:!0,className:w.default.card},void 0,F(g.default,{direction:g.default.Direction.VERTICAL},void 0,n.enabled?F(E.default,{className:w.default.expandableHeader,"aria-expanded":o&&!P,onClick:h},void 0,oe):oe,ie))}Y.displayName="BuiltInIntegrationCard"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),i=u(n(22)),l=u(n(7728));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=f("polygon",{points:"24 0 0 0 0 24 24 24"});function p(e){var t=e.width,n=void 0===t?16:t,r=e.height,u=void 0===r?16:r,s=e.color,p=void 0===s?"currentColor":s,v=e.foreground,y=e.className,m=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground","className"]);return a.createElement("svg",d({className:(0,o.default)(l.default.updateAvailable,y)},(0,i.default)(m),{width:n,height:u,viewBox:"0 0 24 24"}),f("g",{fill:"none",fillRule:"evenodd"},void 0,f("path",{fill:p,className:v,fillRule:"nonzero",d:"M5,8 L9,12 L6,12 C6,15.31 8.69,18 12,18 C13.01,18 13.97,17.75 14.8,17.3 L16.26,18.76 C15.03,19.54 13.57,20 12,20 C7.58,20 4,16.42 4,12 L1,12 L5,8 Z M18,12 C18,8.69 15.31,6 12,6 C10.99,6 10.03,6.25 9.2,6.7 L7.74,5.24 C8.97,4.46 10.43,4 12,4 C16.42,4 20,7.58 20,12 L23,12 L19,16 L15,12 L18,12 Z"}),c))}p.displayName="UpdateAvailable"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=m(n(1166)),o=m(n(29)),i=m(n(55)),l=n(131),u=m(n(47)),s=m(n(93)),d=m(n(8684)),f=n(1),c=m(n(6)),p=m(n(7731)),v=m(n(8995)),y=m(n(8996));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e,t){var n=e===f.ThemeTypes.DARK?v.default:y.default;return h(i.default,{direction:i.default.Direction.VERTICAL,align:i.default.Align.CENTER},void 0,h("img",{alt:"",src:n,className:p.default.emptyStateImage}),h(u.default,{size:u.default.Sizes.SIZE_16},void 0,c.default.Messages.INTEGRATIONS_CHANNEL_FOLLOWING_EMPTY),h(o.default,{className:p.default.emptyStateButton,onClick:t},void 0,c.default.Messages.INTEGRATIONS_CHANNEL_FOLLOWING_EMPTY_BUTTON))}function g(e){var t=e.followedChannelWebhooks,n=e.editedWebhook,r=e.selectableWebhookChannels,o=e.errors,i=e.canNavigate,u=(0,a.default)();return h(l.FormSection,{},void 0,h(l.FormText,{type:l.FormTextTypes.DESCRIPTION},void 0,c.default.Messages.INTEGRATIONS_CHANNEL_FOLLOWING_DESCRIPTION.format({helpdeskArticle:s.default.getArticleURL(f.HelpdeskArticles.CHANNEL_FOLLOWING)})),h(l.FormDivider,{className:p.default.headerDivider}),t.length>0?h(d.default,{webhooks:t,editedWebhook:n,selectableWebhookChannels:r,errors:o,canNavigate:i}):E(u,(function(){return open(s.default.getArticleURL(f.HelpdeskArticles.CHANNEL_FOLLOWING))})))}E.displayName="renderEmptyState",g.displayName="IntegrationsChannelFollowing"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=F;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=R();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=P(n(9)),i=n(3),l=P(n(1166)),u=P(n(183)),s=P(n(8377)),d=P(n(725)),f=P(n(40)),c=P(n(467)),p=P(n(55)),v=P(n(151)),y=n(131),m=P(n(1224)),_=P(n(9862)),h=P(n(8683)),E=P(n(47)),g=P(n(24)),S=n(150),O=P(n(93)),I=P(n(97)),T=P(n(9863)),C=n(1),b=P(n(6)),M=P(n(7733)),N=P(n(9864)),A=P(n(9865));function P(e){return e&&e.__esModule?e:{default:e}}function R(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return R=function(){return e},e}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function D(e,t,n){var r;return r=e>0?b.default.Messages.INTEGRATIONS_WEBHOOKS_BUTTON:b.default.Messages.INTEGRATIONS_WEBHOOKS_EMPTY_BUTTON,L(T.default,{name:b.default.Messages.INTEGRATIONS_WEBHOOKS,icon:h.default,buttonText:r,buttonDisabled:!t,onButtonClick:n,hasNextSection:e>0,details:[{text:b.default.Messages.INTEGRATIONS_WEBHOOKS_SUMMARY.format({count:e})}]})}function w(e,t){var n,r;return e>0?(n=b.default.Messages.INTEGRATIONS_CHANNEL_FOLLOWING_BUTTON,r=t):(n=b.default.Messages.INTEGRATIONS_CHANNEL_FOLLOWING_EMPTY_BUTTON,r=function(){return open(O.default.getArticleURL(C.HelpdeskArticles.CHANNEL_FOLLOWING))}),L(T.default,{name:b.default.Messages.INTEGRATIONS_CHANNEL_FOLLOWING,icon:_.default,buttonText:n,onButtonClick:r,hasNextSection:e>0,details:[{text:b.default.Messages.INTEGRATIONS_CHANNEL_FOLLOWING_SUMMARY.format({count:e})}]})}function j(e,t,n){var r,a,o,i=u.default.get(C.PlatformTypes.TWITCH);return e>0?(r=b.default.Messages.INTEGRATIONS_TWITCH_BUTTON,a=b.default.Messages.INTEGRATIONS_TWITCH_SUMMARY.format({count:t}),o=function(){return n(C.PlatformTypes.TWITCH)}):(r=b.default.Messages.INTEGRATIONS_TWITCH_EMPTY_BUTTON,a=b.default.Messages.INTEGRATIONS_TWITCH_EMPTY_SUMMARY,o=function(){return(0,s.default)(C.PlatformTypes.TWITCH)}),L(T.default,{name:b.default.Messages.INTEGRATIONS_TWITCH,icon:i.icon.white,iconBackgroundColor:i.color,iconClassName:M.default.platformIcon,buttonText:r,onButtonClick:o,hasNextSection:e>0,details:[{text:a}]})}function k(e,t,n){var r,a,o,i=u.default.get(C.PlatformTypes.YOUTUBE);return e>0?(r=b.default.Messages.INTEGRATIONS_YOUTUBE_BUTTON,a=b.default.Messages.INTEGRATIONS_YOUTUBE_SUMMARY.format({count:t}),o=function(){return n(C.PlatformTypes.YOUTUBE)}):(r=b.default.Messages.INTEGRATIONS_YOUTUBE_EMPTY_BUTTON,a=b.default.Messages.INTEGRATIONS_YOUTUBE_EMPTY_SUMMARY,o=function(){return(0,s.default)(C.PlatformTypes.YOUTUBE)}),L(T.default,{name:b.default.Messages.INTEGRATIONS_YOUTUBE,icon:i.icon.white,iconBackgroundColor:i.color,iconClassName:M.default.platformIcon,buttonText:r,onButtonClick:o,hasNextSection:e>0,details:[{text:a}]})}function U(e,t){var n=e.application,r=e.integration,a=[];return null!=r.user?a.push({icon:m.default,text:b.default.Messages.INTEGRATION_ADDED_USER_DATE.format({timestamp:I.default.extractTimestamp(r.id),user:r.user.tag})}):a.push({icon:m.default,text:b.default.Messages.INTEGRATION_ADDED_DATE.format({timestamp:I.default.extractTimestamp(r.id)})}),L(T.default,{name:n.name,imageSrc:n.getIconURL(48)||S.DEFAULT_AVATARS[0],integration:e,buttonText:b.default.Messages.INTEGRATIONS_APPLICATION_BUTTON,hasNextSection:!0,onButtonClick:function(){return t(n.id)},details:a},r.id)}function G(e){var t=e===C.ThemeTypes.DARK?N.default:A.default;return L(p.default,{direction:p.default.Direction.VERTICAL,align:p.default.Align.CENTER,className:M.default.emptyStateWrapper},void 0,L("img",{alt:"",src:t,className:M.default.emptyStateImage}),L(c.default,{editable:!0,className:M.default.emptyStateCard},void 0,L(g.default,{color:g.default.Colors.MUTED},void 0,b.default.Messages.INTEGRATIONS_OVERVIEW_NO_APPLICATIONS)))}function F(e){var t=e.guild,n=e.channel,r=e.applicationIntegrations,u=e.builtInIntegrations,s=e.customWebhooks,c=e.followedChannelWebhooks,p=e.isLoading,m=e.canCreateWebhook,_=e.onManageBuiltIn,h=e.onManageCustomWebhooks,g=e.onManageFollowedChannels,S=e.onManageApplication,I=(0,l.default)(),T=(0,i.useStateFromStoresObject)([d.default],(function(){return{isFetchingConnections:d.default.isFetching(),accounts:d.default.getAccounts()}}),[]),N=T.isFetchingConnections,A=T.accounts,P=(0,i.useStateFromStoresObject)([f.default],(function(){return{canManageWebhooks:null!=t&&f.default.can(C.Permissions.MANAGE_WEBHOOKS,t)||null!=n&&f.default.can(C.Permissions.MANAGE_WEBHOOKS,n),canManageGuild:null!=t&&null==n&&f.default.can(C.Permissions.MANAGE_GUILD,t)}}),[t,n]),R=P.canManageWebhooks,F=P.canManageGuild,B=a.useMemo((function(){var e,t,n,r;return{availableTwitchIntegrations:(null===(e=u.twitch)||void 0===e?void 0:e.length)||0,availableYoutubeIntegrations:(null===(t=u.youtube)||void 0===t?void 0:t.length)||0,guildTwitchIntegrations:(null===(n=u.twitch)||void 0===n?void 0:n.filter((function(e){return e.enabled})).length)||0,guildYoutubeIntegrations:(null===(r=u.youtube)||void 0===r?void 0:r.filter((function(e){return e.enabled})).length)||0}}),[u.twitch,u.youtube]),H=B.availableTwitchIntegrations,x=B.availableYoutubeIntegrations,V=B.guildTwitchIntegrations,W=B.guildYoutubeIntegrations,Y=a.useMemo((function(){if(N||!F)return{showTwitchCard:!1,showYoutubeCard:!1};var e=null==t?void 0:t.hasFeature(C.GuildFeatures.COMMUNITY),n=A.filter((function(e){return e.type===C.PlatformTypes.TWITCH})).length>0,r=A.filter((function(e){return e.type===C.PlatformTypes.YOUTUBE})).length>0;return{showTwitchCard:H>0||!n&&e,showYoutubeCard:x>0||!r&&e}}),[N,F,t,A,H,x]),z=Y.showTwitchCard,K=Y.showYoutubeCard,$=Object.values(r).map((function(e){return U(e,S)})),Z=L("div",{className:M.default.footerImage});0===$.length&&F&&($=G(I),Z=null);var q=O.default.getArticleURL(C.HelpdeskArticles.INTEGRATIONS),X=null!=n?b.default.Messages.INTEGRATIONS_OVERVIEW_DESCRIPTION_CHANNEL:b.default.Messages.INTEGRATIONS_OVERVIEW_DESCRIPTION_GUILD,J=[];return R&&(J.push(D(s.length,m,h)),J.push(w(c.length,g))),z&&J.push(j(H,V,_)),K&&J.push(k(x,W,_)),L(y.FormSection,{className:(0,o.default)(null!=Z?M.default.footerPlaceholder:null)},void 0,L(y.FormText,{type:y.FormTextTypes.DESCRIPTION},void 0,X.format({helpdeskArticle:q})),L(y.FormDivider,{className:M.default.divider}),p||N||null==t?L(v.default,{className:M.default.spinner,type:v.default.Type.SPINNING_CIRCLE}):a.createElement(a.Fragment,null,J,F?a.createElement(a.Fragment,null,J.length>0?L(y.FormDivider,{className:M.default.divider}):null,L(E.default,{size:E.default.Sizes.SIZE_16,className:M.default.sectionHeader},void 0,b.default.Messages.INTEGRATIONS_APPLICATION_SECTION),$):null,Z))}D.displayName="renderWebhooksCard",w.displayName="renderFollowedChannelsCard",j.displayName="renderTwitchCard",k.displayName="renderYoutubeCard",U.displayName="renderApplicationCard",G.displayName="renderEmptyState",F.displayName="IntegrationsOverview"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function i(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,i=e.color,l=void 0===i?"currentColor":i;return o("svg",{width:n,height:a,viewBox:"0 0 24 24",className:e.className},void 0,o("path",{fillRule:"evenodd",clipRule:"evenodd",fill:l,className:e.foreground,d:"M20 1.707V4.293L16.707 1L15.293 2.414L18.586 5.707H16V7.707H22V1.707H20ZM5 14.707H8V8.70697C8 7.60497 8.897 6.70697 10 6.70697H14V3.70697C14 2.60497 13.103 1.70697 12 1.70697H5C3.897 1.70697 3 2.60497 3 3.70697V12.707C3 13.809 3.897 14.707 5 14.707ZM12 8.70697H19C20.103 8.70697 21 9.60497 21 10.707V19.707C21 20.81 20.103 21.707 19 21.707H12C10.897 21.707 10 20.81 10 19.707V10.707C10 9.60497 10.897 8.70697 12 8.70697ZM16 12.707V11.707H12V12.707H16ZM12 18.707H19V17.707H12V18.707ZM12 15.707H19V14.707H12V15.707Z"}))}i.displayName="Manifest"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.name,n=e.icon,r=e.imageSrc,E=e.iconBackgroundColor,g=e.iconClassName,O=e.details,I=e.integration,T=e.buttonText,C=e.buttonDisabled,b=e.hasNextSection,M=e.onButtonClick,N=a.useState(!1),A=N[0],P=N[1],R=S(f.default,{},void 0,S(i.default,{name:t,icon:n,imageSrc:r,iconBackgroundColor:E,iconClassName:g,details:O}),S(f.default.Child,{shrink:0,grow:0},void 0,S(f.default,{align:f.default.Align.CENTER,justify:f.default.Justify.END},void 0,function(e,t){if(null==e)return null;var n=[],r=e.application,a=e.webhooks;null!=r.bot&&n.push(S(c.TooltipContainer,{forceOpen:t,text:new l.default(r.bot).isVerifiedBot()?_.default.Messages.INTEGRATIONS_APPLICATION_VERIFIED_BOT:_.default.Messages.INTEGRATIONS_APPLICATION_BOT,className:h.default.feature},"bot",S(v.default,{width:24,height:24,className:h.default.featureIcon})));a.length>0&&n.push(S(c.TooltipContainer,{forceOpen:t,text:_.default.Messages.INTEGRATIONS_WEBHOOKS_SUMMARY.format({count:a.length}),className:h.default.feature},"webhooks",S(y.default,{width:24,height:24,className:h.default.featureIcon})));return n}(I,A),function(e,t,n,r){if(null==e||null==r)return null;return n?S(f.default,{align:f.default.Align.CENTER},void 0,S(m.default,{},void 0,e),n?S(p.default,{width:10,height:10,className:h.default.caret}):null):S(u.default,{size:u.default.Sizes.SMALL,look:n?u.default.Looks.LINK:u.default.Looks.FILLED,color:n?u.default.Colors.PRIMARY:u.default.Colors.BRAND,disabled:t,onClick:r},void 0,e)}(T,C,b,M))));return b?S(d.default,{onClick:M,onFocus:function(){return P(!0)},onBlur:function(){return P(!1)}},void 0,S(s.default,{editable:!0,className:(0,o.default)(h.default.card,h.default.clickable)},void 0,R)):S(s.default,{editable:!0,className:h.default.card},void 0,R)};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(9)),i=E(n(8401)),l=E(n(89)),u=E(n(29)),s=E(n(467)),d=E(n(61)),f=E(n(55)),c=n(149),p=E(n(5950)),v=E(n(1283)),y=E(n(8683)),m=E(n(24)),_=E(n(6)),h=E(n(7732));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){e.exports=n.p+"36d0e0bb009fa362c2533003c0af67b5.svg"},function(e,t,n){e.exports=n.p+"c9b2eb9473c66578a8e021e9fe46b74b.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=N;var r,a=I(n(0)),o=S(n(8)),i=S(n(154)),l=S(n(8317)),u=S(n(8369)),s=S(n(1166)),d=S(n(29)),f=S(n(55)),c=n(131),p=S(n(47)),v=S(n(93)),y=I(n(8684)),m=n(1),_=S(n(6)),h=S(n(7734)),E=S(n(8995)),g=S(n(8996));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function T(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function C(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){T(o,r,a,i,l,"next",e)}function l(e){T(o,r,a,i,l,"throw",e)}i(void 0)}))}}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(e,t,n){var r=e===m.ThemeTypes.DARK?E.default:g.default;return b(f.default,{direction:f.default.Direction.VERTICAL,align:f.default.Align.CENTER},void 0,b("img",{alt:"",src:r,className:h.default.emptyStateImage}),b(p.default,{size:p.default.Sizes.SIZE_16},void 0,_.default.Messages.INTEGRATIONS_WEBHOOKS_EMPTY),b(d.default,{className:h.default.emptyStateButton,disabled:!t,onClick:n},void 0,_.default.Messages.INTEGRATIONS_WEBHOOKS_EMPTY_BUTTON))}function N(e){var t,n=e.guild,r=e.channel,f=e.customWebhooks,p=e.editedWebhook,E=e.selectableWebhookChannels,g=e.refToScroller,S=e.errors,O=e.canNavigate,I=(0,s.default)(),T=a.useState(null),N=T[0],A=T[1],P=a.useState(null),R=P[0],L=P[1];if(null!=r)t=r;else{var D=Object.values(E);t=D.length>0?D[0]:null}var w=a.useCallback(C(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!O()||null===t){e.next=5;break}return e.next=3,u.default.create(n.id,t.id).catch((function(e){var t=e.body;return t&&t.code===m.AbortCodes.TOO_MANY_WEBHOOKS?i.default.show({title:_.default.Messages.WEBHOOK_ERROR_CREATING_WEBHOOK,body:_.default.Messages.WEBHOOK_ERROR_MAX_WEBHOOKS_REACHED}):i.default.show({title:_.default.Messages.WEBHOOK_ERROR_CREATING_WEBHOOK,body:_.default.Messages.WEBHOOK_ERROR_INTERNAL_SERVER_ERROR}),null}));case 3:null!=(r=e.sent)&&(L(r.id),A(r));case 5:case"end":return e.stop()}}),e)}))),[O,t,n]);a.useEffect((function(){if(null!=R){var e,t=document.getElementById((0,y.getNodeId)(R));if(null!=t)l.default.startEditingWebhook(R),null===(e=g.current)||void 0===e||e.scrollIntoViewNode({node:t}),L(null)}}),[f,R,g]),a.useEffect((function(){if(null!=N){var e=f.find((function(e){return e.id===N.id}));null==e||o.default.isEqual(e,N)||A(null)}}),[f,R,N]),a.useEffect((function(){0===f.length&&w()}),[]);var j=null!==t;return b(c.FormSection,{},void 0,b(c.FormText,{type:c.FormTextTypes.DESCRIPTION},void 0,_.default.Messages.INTEGRATIONS_WEBHOOKS_DESCRIPTION.format({helpdeskArticle:v.default.getArticleURL(m.HelpdeskArticles.WEBHOOKS),developersArticle:m.MarketingURLs.API_DOCS_WEBHOOKS})),b(c.FormDivider,{className:h.default.headerDivider}),f.length>0?a.createElement(a.Fragment,null,b(d.default,{className:h.default.createButton,size:d.default.Sizes.SMALL,disabled:!j,onClick:w},void 0,_.default.Messages.INTEGRATIONS_WEBHOOKS_CREATE),b(y.default,{webhooks:f,editedWebhook:p,selectableWebhookChannels:E,lastCreatedWebhookId:null==N?void 0:N.id,errors:S,canNavigate:O})):M(I,j,w))}M.displayName="renderEmptyState",N.displayName="IntegrationsWebhooks"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(3)),a=u(n(9178)),o=u(n(8255)),i=u(n(160)),l=u(n(39));function u(e){return e&&e.__esModule?e:{default:e}}var s=r.default.connectStores([o.default,l.default,i.default],(function(){var e=o.default.getProps(),t=e.invites;return{guild:e.guild,invites:t,showChannel:!0,hide:i.default.hideInstantInvites,theme:l.default.theme}}))(a.default);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=z(n(0)),o=W(n(9)),i=W(n(8)),l=W(n(3)),u=n(389),s=W(n(199)),d=W(n(8254)),f=W(n(8501)),c=W(n(8984)),p=n(8305),v=W(n(9869)),y=z(n(714)),m=W(n(9871)),_=W(n(684)),h=W(n(56)),E=W(n(8255)),g=W(n(40)),S=W(n(160)),O=W(n(39)),I=W(n(12)),T=W(n(271)),C=n(717),b=W(n(1222)),M=W(n(29)),N=n(8503),A=W(n(55)),P=W(n(5942)),R=W(n(149)),L=n(131),D=W(n(8803)),w=W(n(8663)),j=n(41),k=W(n(279)),U=n(393),G=n(1),F=W(n(6)),B=W(n(7739)),H=W(n(5958)),x=W(n(7347)),V=W(n(370));function W(e){return e&&e.__esModule?e:{default:e}}function Y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Y=function(){return e},e}function z(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=Y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function K(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function $(){return($=Object.assign||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}).apply(this,arguments)}function Z(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,q(e,t)}function q(e,t){return(q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var X=[],J=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this)._isMounted=!1,t.state={overflowShown:!1},t.showOverflow=function(e){var n=t.props,r=n.guild,o=n.user;t.setState({overflowShown:!0}),(0,u.openContextMenu)(e,(function(e){return a.createElement(m.default,$({user:o,guildId:r.id,channelId:r.id},e))}),{onClose:t.handleOverflowClose})},t.handleOverflowClose=function(){t._isMounted&&t.setState({overflowShown:!1})},t}Z(t,e);var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0},n.componentWillUnmount=function(){this._isMounted=!1},n.renderOwnerHelpIcon=function(){var e=this.props,t=e.user,n=e.guild;return t.id!==n.ownerId?null:K(R.default,{text:F.default.Messages.MEMBER_LIST_SERVER_OWNER_HELP},void 0,(function(e){return a.createElement(D.default,$({className:B.default.ownerHelpIcon},e,{"aria-label":F.default.Messages.GUILD_OWNER}))}))},n.render=function(){var e=this.props,t=e.user,n=e.member,r=e.streamerMode,a=e.guild,i=this.state.overflowShown,l={color:n.colorString||void 0};return K(A.default,{className:(0,o.default)(B.default.member,x.default.card,{active:i}),align:A.default.Align.CENTER,onContextMenu:this.showOverflow},void 0,K(k.default,{className:B.default.avatar,src:t.getAvatarURL(a.id),"aria-label":t.username,size:k.default.Sizes.SIZE_40}),K(A.default,{className:B.default.nameTag,direction:A.default.Direction.VERTICAL,grow:0},void 0,K(A.default,{align:A.default.Align.CENTER},void 0,K(L.FormText,{className:B.default.name,style:l},void 0,n.nick||t.toString()),t.bot?K(b.default,{verified:t.isVerifiedBot()}):null,this.renderOwnerHelpIcon()),r?null:K(L.FormText,{className:B.default.tag},void 0,"@",t.tag)),K(A.default.Child,{className:B.default.roleWrapper},void 0,K("div",{},void 0,K(f.default,{user:t,guild:a,userRoles:n.roles,wrap:!1}))),K(A.default,{className:B.default.overflowButton,align:A.default.Align.CENTER,grow:0},void 0,K(M.default,{look:M.default.Looks.BLANK,color:M.default.Colors.TRANSPARENT,size:M.default.Sizes.ICON,onClick:this.showOverflow,"aria-label":F.default.Messages.OTHER_OPTIONS},void 0,K(w.default,{className:B.default.overflowIcon,foreground:B.default.overflowIconFg,"aria-hidden":!0}))))},t}(a.PureComponent);function Q(e){return{role:e,label:e.name,value:e.id}}J.displayName="Member";var ee=K(N.ComboboxItem.Checkmark,{}),te=function(e){function t(){for(var t,n,r=arguments.length,l=new Array(r),u=0;u<r;u++)l[u]=arguments[u];return(t=e.call.apply(e,[this].concat(l))||this).state=(n=t.props.guild,{searchQuery:"",autocompleter:new y.default((function(){return t.forceUpdate()}),[y.AutocompleterResultTypes.USER],100,{userFilters:{guild:(null==n?void 0:n.id)||"",strict:!0}})}),t.handlePruneClick=function(){var e=t.props.guild;null!=e&&(0,j.openModal)((function(t){return a.createElement(v.default,$({},t,{guild:e}))}))},t.renderItem=function(e){var t,n=e.role;return K(N.ComboboxItem,{value:n.id},n.id,K(N.ComboboxItem.Label,{},void 0,K("span",{style:{color:null!==(t=n.colorString)&&void 0!==t?t:""}},void 0,n.name)),ee)},t.sortedMembers=(0,U.cachedFunction)((function(e,t,n,r,a){var o=[];return null==r||(""===t?(0,i.default)(e).sortBy((function(e){var t=I.default.getUser(e.userId);return(null!=t?e.nick||t.username:"").toLocaleLowerCase()})).forEach((function(e){null!=I.default.getUser(e.userId)&&(n!==r.id&&null!=n&&-1===e.roles.indexOf(n)||o.push(e))})):(0,i.default)(a).forEach((function(e){if(e.type===y.AutocompleterResultTypes.USER){var t=e.record,a=h.default.getMember(r.id,t.id);null!=a&&(n!==r.id&&null!=n&&-1===a.roles.indexOf(n)||o.push(a))}}))),o})),t.renderRow=function(e){var n=e.section,r=e.row;if(n>0)return null;var a=t.getSortedMembers()[r];if(null==a)return null;var o=t.props,i=o.currentUser,l=o.guild,u=o.streamerMode,s=I.default.getUser(a.userId);return null==s||null==l?null:K(J,{currentUser:i,member:a,user:s,guild:l,streamerMode:u},a.userId)},t.getRowHeight=function(e,n){if(e>0)return 0;var r=t.getSortedMembers()[n];return null==r||null==I.default.getUser(r.userId)?0:72},t.renderSection=function(){var e=t.getSortedMembers(),n=t.state.searchQuery,r=t.props,a=r.guild,l=r.selectedRoleId,u=r.memberCount;if(null==a)return null;var s={label:"???",value:l},d=(0,i.default)(a.roles).sortBy((function(e){return-e.position})).map((function(e){return e.id===l&&(s.label=e.name),Q(e)})).value(),f=new Intl.NumberFormat(F.default.getLocale()).format(0===n.length?u:e.length);return K(L.FormSection,{},"header",K(L.FormTitle,{tag:L.FormTitleTags.H1},void 0,F.default.Messages.GUILD_SETTINGS_MEMBERS_SERVER_MEMBERS),K(A.default,{className:B.default.membersHeader,align:A.default.Align.CENTER,style:{height:20}},void 0,K(A.default.Child,{},void 0,K(L.FormText,{type:L.FormTextTypes.DESCRIPTION,className:B.default.membersCount},void 0,F.default.Messages.MEMBERS_HEADER.format({members:f}),t.renderPruneAction())),K(A.default,{align:A.default.Align.CENTER,grow:0},void 0,K(c.default,{popoutClassName:(0,o.default)(B.default.membersFilterPopout,H.default.elevationBorderLow),items:d,label:F.default.Messages.GUILD_SETTINGS_MEMBERS_DISPLAY_ROLE,value:s,renderItem:t.renderItem,renderValue:t.renderValue,onChange:t.handleRoleChange,placeholder:F.default.Messages.SEARCH_ROLES,popoutProps:{autoInvert:!1,position:C.PopoutPositions.BOTTOM}}),K(P.default,{className:B.default.searchBar,query:n,onChange:t.handleQueryChange,onClear:t.handleQueryClear}))),K(L.FormDivider,{className:V.default.marginTop20,style:{marginBottom:-1}}))},t.handleQueryChange=function(e){var n=t.props.guild;t.setState({searchQuery:e}),t.state.autocompleter.search(e,null==n?void 0:n.id)},t.handleQueryClear=function(){t.setState({searchQuery:""}),t.state.autocompleter.clear()},t}Z(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this.props,t=e.guild,n=e.memberCount;n>0&&n<=1e4&&null!=t&&s.default.requestMembers(t.id,"",1e4,!1)},n.componentWillUnmount=function(){this.state.autocompleter.destroy()},n.renderPruneAction=function(){return this.props.canPrune?K("span",{},void 0," — ",K(T.default,{onClick:this.handlePruneClick,className:B.default.pruneLink},void 0,F.default.Messages.PRUNE)):null},n.renderValue=function(e){return e.label},n.getSortedMembers=function(){var e=this.props,t=e.members,n=e.guild,r=e.selectedRoleId,a=this.state,o=a.searchQuery,i=a.autocompleter;return this.sortedMembers(t,o,r,n||null,i.results)},n.render=function(){var e=this.getSortedMembers();return K(p.ListContentScroller,{sections:[Math.max(1,e.length)],rowHeight:this.getRowHeight,renderRow:this.renderRow,renderSection:this.renderSection,sectionHeight:81})},n.handleRoleChange=function(e){d.default.selectRole(e)},t}(a.PureComponent);te.displayName="GuildSettingsMembers";var ne=l.default.connectStores([E.default,O.default,S.default,I.default,h.default,g.default,_.default],(function(){var e=E.default.getProps(),t=e.guild,n=e.selectedRoleId;return{memberCount:null!=t&&_.default.getMemberCount(t.id)||0,guild:t,selectedRoleId:n,members:null!=t?h.default.getMembers(t.id):X,theme:O.default.theme,currentUser:I.default.getCurrentUser(),canPrune:null!=t&&g.default.can(G.Permissions.KICK_MEMBERS,t),streamerMode:S.default.hidePersonalInformation}}))(te);t.default=ne},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=S(n(0)),o=E(n(8)),i=n(3),l=E(n(9870)),u=n(8501),s=E(n(40)),d=E(n(29)),f=E(n(1162)),c=S(n(1159)),p=E(n(476)),v=E(n(474)),y=n(35),m=E(n(47)),_=E(n(6)),h=E(n(7737));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function T(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){I(o,r,a,i,l,"next",e)}function l(e){I(o,r,a,i,l,"throw",e)}i(void 0)}))}}function C(){return(C=Object.assign||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}).apply(this,arguments)}var b=C({},c.DEFAULT_SELECT_STYLES,{control:function(e,t){var n=t.isDisabled,r=t.isFocused,a=t.menuIsOpen,o=t.theme.colors;return C({},e,{borderColor:n?o.neutral10:r?o.primary:o.neutral20,boxShadow:null,borderRadius:a?"3px 3px 0 0":"3px",minHeight:40,transition:"border 0.15s ease",cursor:n?"not-allowed":null,pointerEvents:n?"none":null,maxHeight:150,overflowY:"auto",":hover":{borderColor:n?o.neutral10:o.primary}})}}),M=function(e){var t=e.guild,n=e.transitionState,r=e.onClose,E=a.useState(7),g=E[0],S=E[1],I=a.useState(null),C=I[0],M=I[1],N=a.useState([]),A=N[0],P=N[1],R=a.useCallback(T(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return M(null),e.next=3,l.default.updateEstimate(t.id,g,A);case 3:n=e.sent,M(n);case 5:case"end":return e.stop()}}),e)}))),[g,t.id,A]);a.useEffect((function(){R()}),[R]);var L=(0,i.useStateFromStores)([s.default],(function(){var e=s.default.getHighestRole(t);return(0,o.default)(t.roles).sortBy((function(e){return e.position})).filter((function(e){return e.id!==t.id})).filter((function(n){return s.default.isRoleHigher(t,e,n)})).value()})).map((function(e){var t=e.id;return{label:e.name,value:t}}));return O(y.ModalRoot,{"aria-labelledby":_.default.Messages.PRUNE_MEMBERS,transitionState:n},void 0,O(y.ModalHeader,{separator:!1},void 0,O(m.default,{tag:m.default.Tags.H2,size:m.default.Sizes.SIZE_20},void 0,_.default.Messages.PRUNE_MEMBERS,"—",null!=t?t.toString():"")),O("div",{className:h.default.content},void 0,O(p.default,{title:_.default.Messages.FORM_LABEL_LAST_SEEN},void 0,O(f.default,{value:g,options:[{name:_.default.Messages.LAST_SEEN.format({days:7}),value:7},{name:_.default.Messages.LAST_SEEN.format({days:30}),value:30}],onChange:function(e){var t=e.value;S(t)},className:h.default.spacing})),O(p.default,{title:_.default.Messages.PRUNE_WITH_ROLES},void 0,O(c.default,{isMulti:!0,options:L,onChange:function(e){P(e.map((function(e){return e.value})))},value:A,multiValueRenderer:function(e){var n=e.value,r=t.getRole(n);if(null==r)return null;var a=A.indexOf(n);return O(u.MemberRole,{className:h.default.role,role:r,canRemove:!0,onRemove:function(){P([].concat(A.slice(0,a),A.slice(a+1)))}})},maxMenuHeight:200,styleOverrides:b})),O(v.default,{type:v.default.Types.DESCRIPTION,className:h.default.spacing},void 0,A.length>0?_.default.Messages.FORM_HELP_LAST_SEEN_WITH_ROLES.format({members:C,days:g}):_.default.Messages.FORM_HELP_LAST_SEEN.format({members:C,days:g}))),O(y.ModalFooter,{},void 0,O(d.default,{onClick:function(){l.default.prune(t.id,g,A),r()}},void 0,_.default.Messages.PRUNE),O(d.default,{look:d.default.Looks.LINK,color:d.default.Colors.PRIMARY,onClick:r},void 0,_.default.Messages.CANCEL)))};M.displayName="PruneGuildModal";var N=M;t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(14))&&r.__esModule?r:{default:r},o=n(1);function i(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}var l={updateEstimate:function(e,t,n){return(r=regeneratorRuntime.mark((function r(){var i;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return void 0===t&&(t=7),r.next=3,a.default.get({url:o.Endpoints.GUILD_PRUNE(e),query:{days:t,include_roles:n},oldFormErrors:!0});case 3:return i=r.sent,r.abrupt("return",i.body.pruned);case 5:case"end":return r.stop()}}),r)})),function(){var e=this,t=arguments;return new Promise((function(n,a){var o=r.apply(e,t);function l(e){i(o,n,a,l,u,"next",e)}function u(e){i(o,n,a,l,u,"throw",e)}l(void 0)}))})();var r},prune:function(e,t,n){return a.default.post({url:o.Endpoints.GUILD_PRUNE(e),body:{days:t,compute_prune_count:!1,include_roles:n},oldFormErrors:!0})}};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;h(n(0));var r,a=n(389),o=m(n(8257)),i=m(n(8258)),l=m(n(8405)),u=h(n(8253)),s=m(n(11)),d=m(n(8603)),f=m(n(9872)),c=m(n(8387)),p=m(n(8435)),v=n(1),y=m(n(6));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e){var t=e.user,n=e.guildId,r=e.channelId,m=e.analyticsContext,_=e.onSelect,h=(0,c.default)(t.id),g=(0,l.default)(n,t.id,{page:v.AnalyticsPages.GUILD_CHANNEL,section:v.AnalyticsSections.CHAT_USERNAME,object:v.AnalyticsObjects.CONTEXT_MENU_ITEM}),S=(0,d.default)(t,n,r),O=(0,p.default)(t.id,n),I=(0,f.default)(t,n),T=(0,i.default)(t.id);return s.default.isGuest()||t.isNonUserBot()?null:E(o.default,{context:m,object:v.AnalyticsObjects.CONTEXT_MENU},void 0,E(u.default,{navId:"user-context",onClose:a.closeContextMenu,"aria-label":y.default.Messages.USER_ACTIONS_MENU_LABEL,onSelect:_},void 0,E(u.MenuGroup,{},void 0,h,g),E(u.MenuGroup,{},void 0,S),E(u.MenuGroup,{},void 0,O),E(u.MenuGroup,{},void 0,I),E(u.MenuGroup,{},void 0,T)))}g.displayName="GuildSettingsUserContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=p(n(9873)),l=n(8253),u=n(8256),s=p(n(15)),d=p(n(12)),f=n(41),c=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t){var n=(0,o.useStateFromStores)([d.default],(function(){return d.default.getCurrentUser()})),r=(0,o.useStateFromStores)([s.default],(function(){return s.default.getGuild(t)}));return null==r||null==n||e.id===r.ownerId||e.bot||!r.isOwnerWithRequiredMfaLevel(n)?null:y(l.MenuItem,{id:"transfer-ownership",color:u.MenuItemColor.DANGER,label:c.default.Messages.TRANSFER_OWNERSHIP,action:function(){return(0,f.openModal)((function(t){return a.createElement(i.default,m({},t,{guild:r,fromUser:n,toUser:e}))}))}})}_.displayName="useTransferGuildOwnershipItems"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=T;var r,a=g(n(0)),o=h(n(8254)),i=n(687),l=g(n(8332)),u=h(n(29)),s=h(n(55)),d=h(n(8267)),f=n(85),c=h(n(474)),p=n(35),v=h(n(47)),y=n(1),m=h(n(6)),_=h(n(7738));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function I(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){O(o,r,a,i,l,"next",e)}function l(e){O(o,r,a,i,l,"throw",e)}i(void 0)}))}}function T(e){var t=e.guild,n=e.toUser,r=e.fromUser,h=e.onClose,E=e.transitionState,g=a.useState(!1),O=g[0],T=g[1],C=(0,f.useUID)(),b=t.hasFeature(y.GuildFeatures.VERIFIED)||t.hasFeature(y.GuildFeatures.PARTNERED),M=b?m.default.Messages.TRANSFER_OWNERSHIP_PROTECTED_GUILD:null;function N(){return(N=I(regeneratorRuntime.mark((function e(r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.preventDefault(),h(),e.prev=2,e.next=5,o.default.transferOwnership(t.id,n.id);case 5:(0,i.popLayer)(),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(2);case 10:case"end":return e.stop()}}),e,null,[[2,8]])})))).apply(this,arguments)}return S(p.ModalRoot,{transitionState:E,"aria-labelledby":C},void 0,S("form",{onSubmit:function(e){return N.apply(this,arguments)}},void 0,S(p.ModalHeader,{separator:!1},void 0,S(v.default,{id:C,tag:v.default.Tags.H2,size:v.default.Sizes.SIZE_20},void 0,m.default.Messages.TRANSFER_OWNERSHIP,"—",n.toString())),S(p.ModalContent,{},void 0,S(s.default,{className:_.default.fromToWrapper,justify:s.default.Justify.CENTER},void 0,S("div",{className:_.default.from},void 0,S(l.default,{user:r,size:l.Sizes.SIZE_80})),S("div",{className:_.default.to},void 0,S(l.default,{user:n,size:l.Sizes.SIZE_80}))),S(d.default,{disabled:b,tooltipNote:M,hideBorder:!0,value:O,onChange:function(e){T(e)}},void 0,S(c.default,{type:c.default.Types.DESCRIPTION},void 0,m.default.Messages.TRANSFER_OWNERSHIP_ACKNOWLEDGE.format({username:n.toString()})))),S(p.ModalFooter,{},void 0,S(u.default,{type:"submit",disabled:!O,color:u.default.Colors.RED},void 0,m.default.Messages.TRANSFER_OWNERSHIP),S(u.default,{look:u.default.Looks.LINK,color:u.default.Colors.PRIMARY,onClick:h},void 0,m.default.Messages.CANCEL))))}T.displayName="TransferOwnership"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=b(n(0)),o=T(n(9)),i=T(n(3)),l=T(n(8254)),u=T(n(8316)),s=T(n(11)),d=T(n(8255)),f=T(n(40)),c=T(n(160)),p=T(n(1162)),v=n(149),y=T(n(1165)),m=T(n(681)),_=b(n(474)),h=n(159),E=n(9179),g=T(n(9875)),S=n(1),O=T(n(6)),I=T(n(370));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(){return(N=Object.assign||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}).apply(this,arguments)}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var P=M(u.default,{}),R=M(g.default,{}),L=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleVerificationLevelChange=function(e){var t=e.value;l.default.updateGuild({verificationLevel:t})},t.handleExplicitContentFilterChange=function(e){var t=e.value;l.default.updateGuild({explicitContentFilter:t})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,A(t,n);var a=r.prototype;return a.renderVerificationLevelSection=function(){var e=this.props,t=e.canManageGuild,n=e.guild,r=(0,E.generateVerificationLevelOptions)(n.hasFeature(S.GuildFeatures.COMMUNITY)).map((function(e){return N({},e,{tooltipPosition:v.TooltipPositions.LEFT})}));return M(m.default,{title:O.default.Messages.FORM_LABEL_VERIFICATION_LEVEL},void 0,M(_.default,{type:_.Types.DESCRIPTION,className:I.default.marginBottom20},void 0,O.default.Messages.FORM_HELP_VERIFICATION_LEVEL.format()),M(p.default,{value:n.verificationLevel,options:r,disabled:!t,onChange:this.handleVerificationLevelChange}))},a.renderExplicitContentFilter=function(){var e=this.props,t=e.canManageGuild,n=e.guild,r=(0,E.generateContentFilterOptions)(n.hasFeature(S.GuildFeatures.COMMUNITY)).map((function(e){return N({},e,{tooltipPosition:v.TooltipPositions.LEFT})}));return M(m.default,{title:O.default.Messages.FORM_LABEL_EXPLICIT_CONTENT_FILTER},void 0,M(_.default,{type:_.Types.DESCRIPTION,className:I.default.marginBottom20},void 0,O.default.Messages.FORM_HELP_EXPLICIT_CONTENT_FILTER.format()),M(p.default,{value:n.explicitContentFilter,options:r,disabled:!t,onChange:this.handleExplicitContentFilterChange}))},a.render=function(){var e=this.props,t=e.hide,n=e.canManageGuild;if(t)return P;var r=!1;return n&&(r=!0),M(m.default,{title:O.default.Messages.MODERATION,tag:h.Tags.H1},void 0,this.renderVerificationLevelSection(),M(y.default,{className:(0,o.default)(I.default.marginTop40,I.default.marginBottom40)}),this.renderExplicitContentFilter(),r&&M(y.default,{className:(0,o.default)(I.default.marginTop40,I.default.marginBottom40)}),r&&R)},r}(a.PureComponent);L.displayName="GuildSettingsModeration";var D=i.default.connectStores([c.default,s.default,d.default,f.default],(function(){var e=d.default.getProps().guild,t=!1;return null!=e&&(t=f.default.can(S.Permissions.MANAGE_GUILD,e)),{currentUserId:s.default.getId(),canManageGuild:t,guild:e,hide:c.default.enabled}}))(L);t.default=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=g(n(0)),o=h(n(3)),i=h(n(8254)),l=h(n(473)),u=h(n(8255)),s=h(n(12)),d=g(n(29)),f=h(n(149)),c=h(n(681)),p=g(n(474)),v=n(1),y=h(n(6)),m=h(n(7740)),_=h(n(370));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(){return(O=Object.assign||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}).apply(this,arguments)}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var T=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).setMFAEnabled=function(e){var n=t.props.guild;i.default.updateMFALevel({guildId:n.id,level:e?v.MFALevels.ELEVATED:v.MFALevels.NONE,isEnabled:!e})},t.handleEnableMFA=function(){t.setMFAEnabled(!0)},t.handleDisableMFA=function(){t.setMFAEnabled(!1)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,I(t,n);var o=r.prototype;return o.renderEnableButton=function(){var e=this,t=this.props,n=t.currentUser,r=t.guild,o=n.mfaEnabled&&r.isOwnerWithRequiredMfaLevel(n),i=o?null:y.default.Messages.GUILD_SECURITY_REQ_OWNER_ONLY;return S(f.default,{text:i},void 0,(function(t){return a.createElement(d.default,O({className:m.default.buttonWithTooltip,disabled:!o,look:d.ButtonLooks.OUTLINED,color:d.ButtonColors.PRIMARY,onClick:e.handleEnableMFA},t),y.default.Messages.GUILD_SECURITY_REQ_MFA_GUILD_ENABLE)}))},o.renderDisableButton=function(){var e=this.props,t=e.currentUser,n=e.guild,r=t.mfaEnabled&&n.isOwnerWithRequiredMfaLevel(t);return n.hasFeature(v.GuildFeatures.DISCOVERABLE)?S(f.default,{text:y.default.Messages.TOOLTIP_DISCOVERABLE_GUILD_FEATURE_DISABLED},void 0,(function(e){return a.createElement(d.default,O({className:m.default.buttonWithTooltip,disabled:!0,look:d.ButtonLooks.OUTLINED,color:d.ButtonColors.RED},e),y.default.Messages.GUILD_SECURITY_REQ_MFA_GUILD_DISABLE)})):S(d.default,{disabled:!r,look:d.ButtonLooks.OUTLINED,color:d.ButtonColors.RED,onClick:this.handleDisableMFA},void 0,y.default.Messages.GUILD_SECURITY_REQ_MFA_GUILD_DISABLE)},o.render=function(){var e=this.props,t=e.currentUser,n=e.mfaLevel;return S(c.default,{title:y.default.Messages.GUILD_SECURITY_REQ_MFA_LABEL},void 0,S(p.default,{type:p.Types.DESCRIPTION,className:_.default.marginBottom20},void 0,y.default.Messages.GUILD_SECURITY_REQ_MFA_BODY.format()," ",t.mfaEnabled?null:y.default.Messages.GUILD_SECURITY_REQ_MFA_ENABLE.format({onClick:this.openUserAccountModal})),n===v.MFALevels.ELEVATED?this.renderDisableButton():this.renderEnableButton())},o.openUserAccountModal=function(){l.default.open(v.UserSettingsSections.ACCOUNT)},r}(a.PureComponent);T.displayName="MFASettings";var C=o.default.connectStores([s.default,u.default],(function(){var e=u.default.getProps(),t=e.mfaLevel,n=e.guild;return{currentUser:s.default.getCurrentUser(),mfaLevel:t,guild:n}}))(T);t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GuildSettingsOverviewNotice=void 0;var r,a=$(n(0)),o=z(n(9)),i=z(n(8)),l=z(n(3)),u=z(n(8254)),s=z(n(8664)),d=z(n(8338)),f=z(n(9877)),c=z(n(8327)),p=n(9146),v=z(n(8292)),y=z(n(1331)),m=n(180),_=n(8328),h=z(n(10)),E=z(n(684)),g=z(n(8255)),S=z(n(40)),O=z(n(8665)),I=z(n(70)),T=z(n(39)),C=z(n(12)),b=$(n(29)),M=z(n(55)),N=z(n(1162)),A=z(n(9878)),P=z(n(1159)),R=z(n(8267)),L=z(n(153)),D=z(n(476)),w=z(n(681)),j=$(n(474)),k=$(n(159)),U=z(n(8672)),G=n(41),F=z(n(150)),B=n(99),H=z(n(93)),x=n(1),V=z(n(6)),W=z(n(7742)),Y=z(n(370));function z(e){return e&&e.__esModule?e:{default:e}}function K(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return K=function(){return e},e}function $(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=K();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function Z(){return(Z=Object.assign||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}).apply(this,arguments)}function q(e,t){return(q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function X(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function J(e){var t=e.label,n=e.channel,r=e.category,a=(0,_.getChannelIconComponent)(n),o=null!=r?(0,m.computeChannelName)(r,C.default,I.default):null;return X(U.default,{title:t,icon:a,subtitle:o})}function Q(e){return{value:e.id,label:(0,m.computeChannelName)(e,C.default,I.default),channel:e,category:h.default.getChannel(e.parent_id)}}J.displayName="renderChannelOption";var ee=l.default.connectStores([g.default,T.default],(function(){var e=g.default.getProps(),t=e.guild,n=e.submitting;return{theme:T.default.theme,submitting:n,onReset:function(){null!=t&&u.default.init(t.id)},onSave:function(){null!=t&&u.default.saveGuild(t.id,{name:t.name,region:t.region,icon:t.icon,splash:t.splash,afkChannelId:t.afkChannelId,afkTimeout:t.afkTimeout,systemChannelId:t.systemChannelId,verificationLevel:t.verificationLevel,defaultMessageNotifications:t.defaultMessageNotifications,explicitContentFilter:t.explicitContentFilter,description:t.description,banner:t.banner,systemChannelFlags:t.systemChannelFlags,features:t.features,publicUpdatesChannelId:t.publicUpdatesChannelId})}}}))(v.default);t.GuildSettingsOverviewNotice=ee;var te=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this)._imageInputRef=a.createRef(),t.handleUploadImage=function(e){var n;e.target===e.currentTarget&&(null===(n=t._imageInputRef.current)||void 0===n||n.activateUploadDialogue())},t.handleShowJoinsChange=function(e){return t.handleSystemChannelFlagsChange(x.SystemChannelFlags.SUPPRESS_JOIN_NOTIFICATIONS,!e)},t.handleShowSubscriptionsChange=function(e){return t.handleSystemChannelFlagsChange(x.SystemChannelFlags.SUPPRESS_PREMIUM_SUBSCRIPTIONS,!e)},t.handleShowGuildRemindersChange=function(e){t.handleSystemChannelFlagsChange(x.SystemChannelFlags.SUPPRESS_GUILD_REMINDER_NOTIFICATIONS,!e)},t.handleRegionSelectorClick=function(){var e=t.props.regions;if(null!=e){var n=e.filter((function(e){return!e.deprecated}));(0,G.openModal)((function(e){return a.createElement(p.RegionSelectModal,Z({regions:n,onChange:t.handleRegionChange},e))}))}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,q(t,n);var l=r.prototype;return l.componentDidMount=function(){null==this.props.regions&&null!=this.props.guild&&s.default.fetchRegions(this.props.guild.id)},l.componentDidUpdate=function(e){var t=this.props.guild;null!=t&&null!=e.guild&&t.id!==e.guild.id&&(null==O.default.getRegions(t.id)&&s.default.fetchRegions(t.id))},l.handleNameChange=function(e){u.default.updateGuild({name:e})},l.handleIconChange=function(e){u.default.updateGuild({icon:e})},l.handleAFKChannelChange=function(e){var t=e.value;"NO_AFK_CHANNEL"===t&&(t=null),u.default.updateGuild({afkChannelId:t})},l.handleAFKTimeoutChange=function(e){var t=e.value;u.default.updateGuild({afkTimeout:parseInt(t,10)})},l.handleSystemChannelChange=function(e){var t=e.value;"NO_SYSTEM_CHANNEL"===t&&(t=null),u.default.updateGuild({systemChannelId:t})},l.handleDefaultMessageNotificationsChange=function(e){var t=e.value;u.default.updateGuild({defaultMessageNotifications:t})},l.handleSplashChange=function(e){u.default.updateGuild({splash:e})},l.handleRegionChange=function(e){var t=e.id;u.default.updateGuild({region:t})},l.handleSystemChannelFlagsChange=function(e,t){var n=this.props.guild;if(null!=n){var r=(0,B.setFlag)(n.systemChannelFlags,e,t);u.default.updateGuild({systemChannelFlags:r})}},l.handleChangeDescription=function(e){u.default.updateGuild({description:e})},l.handleBannerChange=function(e){u.default.updateGuild({banner:e})},l.renderBaseSettings=function(){var e,t,n=this.props,r=n.guild,i=n.region,l=n.regions,u=n.errors,s=n.canManageGuild,d=null==l||0===l.length;return null==r?null:(t=y.default.getCurrentConfig({guildId:r.id}).useGuildVoiceChannelLatencyRouting?X(j.default,{type:j.Types.DESCRIPTION},void 0,V.default.Messages.GUILD_REGION_DEPRECATED_BLURB.format({helpURL:H.default.getArticleURL(x.HelpdeskArticles.CHANNEL_RTC_REGION)})):X(A.default,{disabled:!s||d,region:i,onClick:this.handleRegionSelectorClick,error:null!=u.region}),X(M.default,{className:(0,o.default)(W.default.baseSection,Y.default.marginBottom40)},void 0,X(M.default,{basis:"50%",justify:M.default.Justify.BETWEEN},void 0,X(M.default.Child,{wrap:!0},void 0,X(f.default,{showIcon:!0,name:r.name,icon:r.icon,onChange:this.handleIconChange,disabled:!s,makeURL:function(e){return null!=e&&F.default.getGuildIconURL({id:r.id,icon:e,canAnimate:!0})},className:(0,o.default)((e={},e[W.default.avatarUploader]=s,e[W.default.avatarUploaderDisabled]=!s,e)),avatarClassName:W.default.avatarUploaderInner}),null!=u.icon?X("div",{className:W.default.iconError},void 0,u.icon):null),X(M.default,{direction:M.default.Direction.VERTICAL,align:M.default.Align.START,style:{maxWidth:180}},void 0,X(j.default,{type:j.Types.DESCRIPTION,className:Y.default.marginBottom8},void 0,V.default.Messages.GUILD_SETTINGS_ICON_RECOMMEND),X(b.default,{look:b.ButtonLooks.OUTLINED,color:b.ButtonColors.PRIMARY,disabled:!s,className:Y.default.marginTop8,onClick:this.handleUploadImage},void 0,V.default.Messages.UPLOAD_IMAGE,a.createElement(c.default,{ref:this._imageInputRef,onChange:this.handleIconChange,disabled:!s,showEditingModal:!0})))),X(M.default.Child,{basis:"50%"},void 0,X(D.default,{title:V.default.Messages.FORM_LABEL_SERVER_NAME,className:Y.default.marginBottom20},void 0,X(L.default,{type:"text",disabled:!s,value:r.name,maxLength:100,onChange:this.handleNameChange,error:u.name})),X(D.default,{title:V.default.Messages.FORM_LABEL_SERVER_REGION},void 0,t))))},l.renderAFKSection=function(){var e=this.props,t=e.guild,n=e.canManageGuild,r=e.channels;if(null==t)return null;var a=null!=t.afkTimeout?""+t.afkTimeout:null,o=t.afkChannelId||"NO_AFK_CHANNEL",l=[{value:"60",label:V.default.Messages.DURATION_MINUTES.format({minutes:1})},{value:"300",label:V.default.Messages.DURATION_MINUTES.format({minutes:5})},{value:"900",label:V.default.Messages.DURATION_MINUTES.format({minutes:15})},{value:"1800",label:V.default.Messages.DURATION_MINUTES.format({minutes:30})},{value:"3600",label:V.default.Messages.DURATION_HOURS.format({hours:1})}],u=(0,i.default)(r).filter((function(e){return e.guild_id===t.id})).filter((function(e){return e.type===x.ChannelTypes.GUILD_VOICE})).map((function(e){return Q(e)})).value();return u.unshift({value:"NO_AFK_CHANNEL",label:V.default.Messages.NO_AFK_CHANNEL}),X(w.default,{className:W.default.divider},void 0,X(M.default,{},void 0,X(M.default.Child,{},void 0,X(D.default,{title:V.default.Messages.FORM_LABEL_AFK_CHANNEL},void 0,X(P.default,{value:o,clearable:!1,searchable:!1,options:u,disabled:!n,optionRenderer:J,valueRenderer:J,onChange:this.handleAFKChannelChange}))),X(M.default.Child,{},void 0,X(D.default,{title:V.default.Messages.FORM_LABEL_AFK_TIMEOUT},void 0,X(P.default,{value:a,clearable:!1,searchable:!1,options:l,disabled:"NO_AFK_CHANNEL"===o||!n,onChange:this.handleAFKTimeoutChange})))),X(j.default,{className:Y.default.marginTop8,type:j.Types.DESCRIPTION},void 0,V.default.Messages.FORM_HELP_AFK_CHANNEL))},l.renderJoinNotificationSection=function(){var e=this.props,t=e.guild,n=e.canManageGuild;if(null==t)return null;var r=h.default.getMutableGuildChannels(),a=t.systemChannelId||"NO_SYSTEM_CHANNEL",l=(0,i.default)(r).filter((function(e){return e.getGuildId()===t.id})).filter((function(e){return e.type===x.ChannelTypes.GUILD_TEXT})).map((function(e){return Q(e)})).value();return l.unshift({value:"NO_SYSTEM_CHANNEL",label:V.default.Messages.NO_SYSTEM_CHANNEL}),X(w.default,{className:W.default.divider},void 0,X(k.default,{},void 0,V.default.Messages.FORM_LABEL_SYSTEM_CHANNEL),X(P.default,{value:a,clearable:!1,searchable:!1,options:l,disabled:!n,optionRenderer:J,valueRenderer:J,onChange:this.handleSystemChannelChange}),X(j.default,{className:Y.default.marginTop8,type:j.Types.DESCRIPTION},void 0,V.default.Messages.FORM_HELP_SYSTEM_CHANNEL),X(R.default,{className:Y.default.marginTop20,onChange:this.handleShowJoinsChange,value:!(0,B.hasFlag)(t.systemChannelFlags,x.SystemChannelFlags.SUPPRESS_JOIN_NOTIFICATIONS),hideBorder:!0,disabled:!n||"NO_SYSTEM_CHANNEL"===a},void 0,V.default.Messages.FORM_HELP_SYSTEM_CHANNEL_JOIN_MESSAGES),X(R.default,{className:(0,o.default)(Y.default.marginReset,Y.default.marginTop20),onChange:this.handleShowSubscriptionsChange,value:!(0,B.hasFlag)(t.systemChannelFlags,x.SystemChannelFlags.SUPPRESS_PREMIUM_SUBSCRIPTIONS),hideBorder:!0,disabled:!n||"NO_SYSTEM_CHANNEL"===a},void 0,V.default.Messages.FORM_HELP_SYSTEM_CHANNEL_PREMIUM_SUBSCRIPTION_MESSAGES),X(R.default,{className:(0,o.default)(Y.default.marginReset,Y.default.marginTop20),onChange:this.handleShowGuildRemindersChange,value:!(0,B.hasFlag)(t.systemChannelFlags,x.SystemChannelFlags.SUPPRESS_GUILD_REMINDER_NOTIFICATIONS),hideBorder:!0,disabled:!n||"NO_SYSTEM_CHANNEL"===a},void 0,V.default.Messages.FORM_HELP_SYSTEM_CHANNEL_GUILD_REMINDERS))},l.renderNotificationSection=function(){var e=this.props,t=e.guild,n=e.canManageGuild,r=e.guildMemberCount;if(null==t)return null;var a=[{name:V.default.Messages.FORM_LABEL_ALL_MESSAGES,value:x.UserNotificationSettings.ALL_MESSAGES,desc:null!=r&&r>=x.MAX_MEMBERS_NOTIFY_ALL_MESSAGES?V.default.Messages.GUILD_SETTINGS_DEFAULT_NOTIFICATIONS_LARGE_GUILD_NOTIFY_ALL:null},{name:V.default.Messages.FORM_LABEL_ONLY_MENTIONS.format(),value:x.UserNotificationSettings.ONLY_MENTIONS}];return X(w.default,{className:W.default.divider},void 0,X(k.default,{},void 0,V.default.Messages.FORM_LABEL_DEFAULT_NOTIFICATION_SETTINGS),X(j.default,{type:j.Types.DESCRIPTION,className:Y.default.marginBottom20},void 0,V.default.Messages.GUILD_SETTINGS_DEFAULT_NOTIFICATION_SETTINGS_INTRO),X(j.default,{type:j.Types.DESCRIPTION,className:Y.default.marginBottom20},void 0,V.default.Messages.GUILD_SETTINGS_DEFAULT_NOTIFICATION_SETTINGS_PROTIP.format({videoURL:"https://www.youtube.com/watch?v=zGl796352RI"})),X(N.default,{options:a,value:t.defaultMessageNotifications,disabled:!n,onChange:this.handleDefaultMessageNotificationsChange}))},l.renderServerInviteBGSection=function(){var e,t=this.props,n=t.guild,r=t.canManageGuild;return null==n?null:X(w.default,{title:V.default.Messages.GUILD_SETTINGS_SERVER_INVITE_BACKGROUND,className:W.default.divider},void 0,X(M.default,{},void 0,X(M.default,{basis:"50%",direction:M.default.Direction.VERTICAL,align:M.default.Align.START},void 0,X(j.default,{type:j.Types.DESCRIPTION,className:Y.default.marginBottom8},void 0,V.default.Messages.GUILD_SETTINGS_SPLASH_RECOMMEND.format({articleURL:H.default.getArticleURL(x.HelpdeskArticles.GUILD_BANNER_SPLASH)})),X(b.default,{disabled:!r,look:b.ButtonLooks.OUTLINED,color:b.ButtonColors.PRIMARY,className:Y.default.marginTop8},void 0,V.default.Messages.UPLOAD_BACKGROUND,X(c.default,{disabled:!r,onChange:this.handleSplashChange}))),X(M.default.Child,{wrap:!0,basis:"50%"},void 0,X(d.default,{avatar:n.splash,makeURL:function(e){return e&&F.default.getGuildSplashURL({id:n.id,splash:e})},disabled:!r,onChange:this.handleSplashChange,hint:V.default.Messages.CHANGE_SPLASH,className:(0,o.default)((e={},e[W.default.avatarUploader]=r,e[W.default.avatarUploaderDisabled]=!r,e)),avatarClassName:W.default.avatarUploaderInnerSquare,showEditingModal:!1,hideSize:!0}))))},l.renderBanner=function(){var e,t=this.props,n=t.guild,r=t.canManageGuild;return null==n?null:X(w.default,{title:V.default.Messages.FORM_LABEL_SERVER_BANNER,className:W.default.divider},void 0,X(M.default,{},void 0,X(M.default,{basis:"50%",direction:M.default.Direction.VERTICAL,align:M.default.Align.START},void 0,X(j.default,{type:j.Types.DESCRIPTION,className:Y.default.marginBottom8},void 0,V.default.Messages.FORM_HELP_SERVER_BANNER),X(j.default,{type:j.Types.DESCRIPTION,className:Y.default.marginBottom8},void 0,V.default.Messages.GUILD_SETTINGS_BANNER_RECOMMEND.format({articleURL:H.default.getArticleURL(x.HelpdeskArticles.GUILD_BANNER_SPLASH)})),X(b.default,{disabled:!r,look:b.default.Looks.OUTLINED,color:b.default.Colors.PRIMARY,className:Y.default.marginTop8},void 0,V.default.Messages.UPLOAD_BACKGROUND,X(c.default,{disabled:!r,onChange:this.handleBannerChange}))),X(M.default.Child,{wrap:!0,basis:"50%"},void 0,X(d.default,{avatar:n.banner,makeURL:function(e){return e&&F.default.getGuildBannerURL({id:n.id,banner:e})},disabled:!r,onChange:this.handleBannerChange,hint:V.default.Messages.CHANGE_BANNER,className:(0,o.default)((e={},e[W.default.avatarUploader]=r,e[W.default.avatarUploaderDisabled]=!r,e)),avatarClassName:W.default.avatarUploaderInnerSquare,showEditingModal:!1,hideSize:!0}))))},l.render=function(){var e=this.props.guild;if(null==e)return null;var t=e.hasFeature(x.GuildFeatures.INVITE_SPLASH),n=e.hasFeature(x.GuildFeatures.BANNER);return X(w.default,{title:V.default.Messages.SERVER_OVERVIEW,tag:k.Tags.H1},void 0,this.renderBaseSettings(),this.renderAFKSection(),this.renderJoinNotificationSection(),this.renderNotificationSection(),t?this.renderServerInviteBGSection():null,n?this.renderBanner():null)},r}(a.PureComponent);te.displayName="GuildSettingsOverview";var ne=l.default.connectStores([h.default,g.default,S.default,O.default,C.default,E.default],(function(){var e=g.default.getProps(),t=e.guild,n=e.errors,r=e.submitting,a=null!=t?O.default.getRegions(t.id):null,o={id:"unknown",name:V.default.Messages.UNKNOWN_REGION,vip:!1,sample_hostname:"",sample_port:1,optimal:!1,deprecated:!1};null!=a&&null!=t&&(o=a.find((function(e){return e.id===t.region}))||o);var i=S.default.can(x.Permissions.MANAGE_GUILD,t),l=S.default.can(x.Permissions.ADMINISTRATOR,t),u=null!=t?E.default.getMemberCount(t.id):0;return{channels:h.default.getMutableGuildChannels(),guildChannelsVersion:null!=t?h.default.getGuildChannelsVersion(t.id):-1,canManageGuild:i,isGuildAdmin:l,regions:a,region:o,guild:t,errors:n,submitting:r,currentUser:C.default.getCurrentUser(),guildMemberCount:u}}))(te);t.default=ne},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(8338)),o=i(n(6));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(e){var t=e.name,n=e.icon,r=e.makeURL,i=e.onChange,l=e.disabled,s=e.showIcon,d=e.className,f=e.avatarClassName;return u(a.default,{name:t,avatar:n,makeURL:r,onChange:i,disabled:l,hint:o.default.Messages.CHANGE_ICON,showIcon:s,className:d,avatarClassName:f})}s.displayName="GuildIconUploader"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=p(n(0)),o=f(n(9)),i=p(n(29)),l=f(n(61)),u=f(n(55)),s=f(n(6)),d=f(n(7741));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=function(e){var t,r,a=e.region;if("unknown"===a.id)r=n(8454);else{var i=a.id.replace(/^vip-/,"");try{r=n(8951)("./"+i+".png")}catch(e){r=n(8454)}}var l={backgroundImage:'url("'+r+'")'};return y("div",{className:(0,o.default)(d.default.flag,(t={},t[d.default.vip]=a.vip,t)),style:l})};m.displayName="RegionFlag";var _=function(e){var t=e.region.name.replace(/ \(VIP\)$/,"");return y("div",{className:d.default.name},void 0,t)};_.displayName="RegionName";var h=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).handleClick=function(){var e=n.props,t=e.onClick;e.disabled||t()},n.handleMouseLeave=function(){n.setState({hover:!1})},n.handleMouseEnter=function(){n.setState({hover:!0})},n.state={hover:!1},n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n),r.prototype.render=function(){var e,t=this.props,n=t.region,r=t.error,a=t.disabled,f=this.state.hover,c=i.ButtonColors.GREY;return a||(f?c=i.ButtonColors.BRAND:!0===r&&(c=i.ButtonColors.RED)),y(l.default,{className:(0,o.default)(d.default.container,(e={},e[d.default.hover]=f,e[d.default.disabled]=a,e[d.default.error]=r,e)),onClick:this.handleClick,onMouseEnter:this.handleMouseEnter,tabIndex:-1,onMouseLeave:this.handleMouseLeave},void 0,y(u.default,{className:d.default.layout},void 0,y(u.default,{className:d.default.input,align:u.default.Align.CENTER},void 0,y(u.default.Child,{grow:0,shrink:0},void 0,y(m,{region:n})),y(u.default.Child,{},void 0,y(_,{region:n}))),y(u.default,{shrink:1,grow:0,style:{margin:0}},void 0,y(i.default,{className:d.default.button,onClick:function(){},size:i.ButtonSizes.MIN,color:c,disabled:a},void 0,s.default.Messages.CHANGE))))},r}(a.PureComponent);h.displayName="RegionSelector",h.defaultProps={disabled:!1};var E=h;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=j(n(0)),o=n(3),i=D(n(2)),l=j(n(8578)),u=n(8461),s=D(n(9880)),d=D(n(9881)),f=D(n(9891)),c=D(n(8255)),p=D(n(12)),v=D(n(29)),y=j(n(8353)),m=D(n(151)),_=D(n(149)),h=D(n(9892)),E=D(n(1368)),g=D(n(8920)),S=n(41),O=D(n(47)),I=D(n(24)),T=D(n(93)),C=n(8986),b=n(1),M=D(n(6)),N=D(n(7746)),A=D(n(9893)),P=D(n(9894)),R=D(n(9895)),L=D(n(9896));function D(e){return e&&e.__esModule?e:{default:e}}function w(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return w=function(){return e},e}function j(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=w();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function k(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function U(){return(U=Object.assign||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}).apply(this,arguments)}var G;!function(e){e[e.PENDING=0]="PENDING",e[e.COOLDOWN=1]="COOLDOWN",e[e.APPLICATION=2]="APPLICATION",e[e.LOADING=3]="LOADING"}(G||(G={}));var F=function(){var e=(0,o.useStateFromStores)([c.default],(function(){return c.default.getProps()})),t=e.guild,n=e.guildMetadata,r=(0,o.useStateFromStores)([p.default],(function(){return p.default.getCurrentUser()})),D=(0,o.useStateFromStoresArray)([f.default],(function(){return[null!=t?f.default.getPartnerChecklist(t.id):null,f.default.isLoading()]}),[t]),w=D[0],j=D[1],F=a.useState(!1),B=F[0],H=F[1];a.useEffect((function(){null!=t&&(i.default.wait((function(){return(0,u.fetchPartnerRequirements)(t.id)})),i.default.wait((function(){return l.fetchMetadataForGuild(t.id)})))}),[t]);var x=(w||{}).sufficient,V=null==t?void 0:t.isOwner(r),W=r.verified,Y=null!=n&&null!=n.partnerApplicationTimestamp?new Date(n.partnerApplicationTimestamp):null,z=null!=n&&null!=n.partnerActionedTimestamp?new Date(n.partnerActionedTimestamp):null,K=new Date,$=null!=z?60-Math.floor((K.valueOf()-z.valueOf())/864e5):0,Z=null!=Y&&null==z,q=null!=z&&$>0,X=null!=z&&z>K,J=null,Q=G.LOADING;q?(Q=G.COOLDOWN,J=M.default.Messages.GUILD_SETTINGS_PARTNER_INTRO_APPLY_BUTTON_TOOLTIP_REJECTED):Z||B?(Q=G.PENDING,J=M.default.Messages.GUILD_SETTINGS_PARTNER_INTRO_APPLY_BUTTON_TOOLTIP_PENDING):j||(Q=G.APPLICATION,x?V||(J=M.default.Messages.GUILD_SETTINGS_PARTNER_INTRO_APPLY_BUTTON_TOOLTIP_ONLY_OWNER):J=M.default.Messages.GUILD_SETTINGS_DISCOVERY_REQUIREMENTS_NOT_MET),J=M.default.Messages.GUILD_PARTNER_APPLICATION_BUTTON_PAUSE;var ee=function(){(0,S.openModal)((function(e){return a.createElement(d.default,U({},e,{onSuccess:function(){return H(!0)}}))}),{onCloseRequest:b.NOOP_NULL})};if(null==t)return null;var te=function(){return k(_.default,{text:J},void 0,(function(e){return a.createElement(v.default,U({},e,{onClick:ee,disabled:null!=J,className:N.default.button}),M.default.Messages.GUILD_SETTINGS_PARTNER_INTRO_APPLY_BUTTON)}))},ne=k(s.default,{checklist:w,guild:t});return k("div",{className:N.default.container},void 0,k("img",{src:A.default,className:N.default.banner,alt:""}),k(O.default,{size:O.default.Sizes.SIZE_24},void 0,M.default.Messages.GUILD_SETTINGS_PARTNER_INTRO_HEADER),k(I.default,{color:I.default.Colors.HEADER_SECONDARY,size:I.default.Sizes.SIZE_16,className:N.default.body},void 0,M.default.Messages.GUILD_SETTINGS_PARTNER_INTRO_BODY.format({helpdeskArticle:b.MarketingURLs.PARTNERS})),k("div",{className:N.default.featureCards},void 0,[{icon:h.default,color:b.Colors.BRAND,header:M.default.Messages.GUILD_SETTINGS_PARTNER_INTRO_UPSELL_BRANDING_HEADER,body:M.default.Messages.GUILD_SETTINGS_PARTNER_INTRO_UPSELL_BRANDING_BODY},{icon:g.default,color:b.Colors.BRAND,header:M.default.Messages.GUILD_SETTINGS_PARTNER_INTRO_UPSELL_PERKS_HEADER,body:M.default.Messages.GUILD_SETTINGS_PARTNER_INTRO_UPSELL_PERKS_BODY},{icon:E.default,color:b.Colors.BRAND,header:M.default.Messages.GUILD_SETTINGS_PARTNER_INTRO_UPSELL_RECOGNITION_HEADER,body:M.default.Messages.GUILD_SETTINGS_PARTNER_INTRO_UPSELL_RECOGNITION_BODY}].map((function(e,t){return a.createElement(C.FeatureCard,U({key:t},e))}))),function(){switch(Q){case G.APPLICATION:return a.createElement(a.Fragment,null,k(y.default,{className:N.default.applicationPauseWarning,messageType:y.HelpMessageTypes.WARNING},void 0,M.default.Messages.GUILD_PARTNER_APPLICATION_PAUSE),te(),k(I.default,{color:I.default.Colors.HEADER_SECONDARY,className:N.default.paragraph},void 0,M.default.Messages.GUILD_SETTINGS_PARTNER_INTRO_APPLY_DETAILS.format({helpdeskArticle:T.default.getArticleURL(b.HelpdeskArticles.PARTNER_CODE_OF_CONDUCT)})),k("hr",{className:N.default.separator}),W?k("div",{className:N.default.checklistContainer},void 0,k("div",{className:N.default.checklistHeader},void 0,k("img",{src:x?L.default:P.default,className:N.default.requirementsImage,alt:""}),k("div",{},void 0,x?a.createElement(a.Fragment,null,k(O.default,{size:O.default.Sizes.SIZE_16},void 0,M.default.Messages.GUILD_SETTINGS_PARTNER_CHECKLIST_PASSING_HEADER),k(O.default,{size:O.default.Sizes.SIZE_16},void 0,M.default.Messages.GUILD_SETTINGS_PARTNER_CHECKLIST_PASSING_SUBHEADER)):a.createElement(a.Fragment,null,k(O.default,{size:O.default.Sizes.SIZE_16},void 0,M.default.Messages.GUILD_SETTINGS_PARTNER_CHECKLIST_FAILING_HEADER),k(O.default,{size:O.default.Sizes.SIZE_16},void 0,M.default.Messages.GUILD_SETTINGS_PARTNER_CHECKLIST_FAILING_SUBHEADER.format({warningHook:function(e,t){return k("strong",{className:N.default.warning},t,e)}}))))),ne):k("div",{className:N.default.pendingBar},void 0,k("img",{src:P.default,className:N.default.requirementsImage,alt:""}),k(O.default,{size:O.default.Sizes.SIZE_16},void 0,M.default.Messages.GUILD_SETTINGS_PARTNER_NOT_VERIFIED)));case G.PENDING:return a.createElement(a.Fragment,null,te(),k("hr",{className:N.default.separator}),k("div",{className:N.default.pendingBar},void 0,k("img",{src:R.default,className:N.default.requirementsImage,alt:""}),k(O.default,{size:O.default.Sizes.SIZE_16},void 0,M.default.Messages.GUILD_SETTINGS_PARTNER_INTRO_PENDING.format({pendingHook:function(e,t){return k("strong",{className:N.default.info},t,e)}}))));case G.COOLDOWN:return a.createElement(a.Fragment,null,te(),X?null:a.createElement(a.Fragment,null,k(I.default,{color:I.default.Colors.HEADER_SECONDARY,className:N.default.cooldown},void 0,M.default.Messages.GUILD_SETTINGS_PARTNER_INTRO_COOLDOWN),k(I.default,{color:I.default.Colors.HEADER_SECONDARY},void 0,M.default.Messages.GUILD_SETTINGS_PARTNER_INTRO_COOLDOWN_COUNTER.format({numDays:$}))),k("hr",{className:N.default.separator}),k("div",{className:N.default.pendingBar},void 0,k("img",{src:P.default,className:N.default.requirementsImage,alt:""}),k(O.default,{size:O.default.Sizes.SIZE_16},void 0,M.default.Messages.GUILD_SETTINGS_PARTNER_INTRO_REJECTED.format({warningHook:function(e,t){return k("strong",{className:N.default.warning},t,e)}}))));default:return a.createElement(a.Fragment,null,k(O.default,{className:N.default.loadingText,tag:O.default.Tags.H2,size:I.default.Sizes.SIZE_16},void 0,M.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_LOADING),k(m.default,{className:N.default.spinner}))}}())};F.displayName="GuildSettingsPartner";var B=F;t.default=B},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=_(n(5)),i=_(n(98)),l=_(n(14)),u=_(n(8254)),s=n(8682),d=_(n(29)),f=_(n(24)),c=_(n(93)),p=_(n(97)),v=n(1),y=_(n(6)),m=_(n(7743));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var g=function(e){var t=e.checklist,n=e.guild,r=t||{},_=r.healthScorePending,h=r.nsfwProperties,g=void 0===h?{}:h,S=r.safeEnvironment,O=r.healthy,I=r.size,T=r.protected,C=r.retentionHealthy,b=r.engagementHealthy,M=r.age,N=r.minimumGuildAge,A=void 0===N?0:N,P=r.minimumGuildSize,R=void 0===P?0:P,L=[{name:y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_SAFE,failingName:y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_SAFE_FAILING,description:y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_SAFE_DESCRIPTION,failingDescription:y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_SAFE_DESCRIPTION_FAILING_GUIDELINES.format({termsURL:v.MarketingURLs.TERMS,guidelinesURL:c.default.getArticleURL(v.HelpdeskArticles.PUBLIC_GUILD_GUILDLINES)}),checked:S},{name:y.default.Messages.GUILD_SETTINGS_PARTNER_CHECKLIST_SIZE.format({minMembers:R}),failingName:y.default.Messages.GUILD_SETTINGS_PARTNER_CHECKLIST_SIZE_FAILING,description:y.default.Messages.GUILD_SETTINGS_PARTNER_CHECKLIST_SIZE_DESCRIPTION.format({minMembers:R.toLocaleString()}),failingDescription:y.default.Messages.GUILD_SETTINGS_PARTNER_CHECKLIST_SIZE_DESCRIPTION_FAILING.format({minMembers:R.toLocaleString()}),checked:I},{name:y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_AGE,failingName:y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_AGE_FAILING,description:y.default.Messages.GUILD_SETTINGS_PARTNER_CHECKLIST_AGE_DESCRIPTION.format({minimumGuildAge:Math.ceil(A/7)}),failingDescription:y.default.Messages.GUILD_SETTINGS_PARTNER_CHECKLIST_AGE_DESCRIPTION_FAILING.format({minimumGuildAge:Math.ceil(A/7),passDate:(0,o.default)(p.default.extractTimestamp(n.id)).add(A,"days").format("LL")}),checked:M},{name:_?y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTHY_PENDING:y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTHY,failingName:y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTHY_FAILING,description:y.default.Messages.GUILD_SETTINGS_PARTNER_CHECKLIST_HEALTHY_DESCRIPTION,failingDescription:a.createElement(a.Fragment,null,E(f.default,{color:f.default.Colors.MUTED,className:m.default.healthFailingDescription},void 0,y.default.Messages.GUILD_SETTINGS_PARTNER_CHECKLIST_HEALTHY_DESCRIPTION_FAILING),b?null:E(f.default,{color:f.default.Colors.ERROR},void 0,y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_ENGAGEMENT_FAILING),C?null:E(f.default,{color:f.default.Colors.ERROR},void 0,y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_RETENTION_FAILING),b&&C?null:E(d.default,{className:m.default.detailsButton,look:d.default.Looks.LINK,size:d.default.Sizes.NONE,color:d.default.Colors.LINK,onClick:function(){var e=null==(null==n?void 0:n.id)?v.RelativeMarketingURLs.DEVELOPER_PORTAL:v.RelativeMarketingURLs.DEVELOPER_PORTAL_GUILD_ANALYTICS(n.id),t=i.default.v4();l.default.post({url:v.Endpoints.HANDOFF,body:{key:t},oldFormErrors:!0}).then((function(n){var r=n.body.handoff_token;window.open(v.MarketingURLs.DEVELOPER_PORTAL_LOGIN_HANDOFF(t,r,e))}),(function(){window.open(e)}))}},void 0,y.default.Messages.GUILD_SETTINGS_PARTNER_CHECKLIST_HEALTH_VIEW_DETAILS)),pendingDescription:I?y.default.Messages.GUILD_SETTINGS_PARTNER_CHECKLIST_HEALTHY_DESCRIPTION_PENDING.format({checkBackHook:function(e,t){return E("strong",{className:m.default.healthPending},t,e)}}):y.default.Messages.GUILD_SETTINGS_PARTNER_CHECKLIST_HEALTHY_DESCRIPTION_PENDING_SIZE.format({minMembers:500}),checked:O,pending:_},{name:y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_NSFW,failingName:y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_NSFW_FAILING,description:y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_NSFW_DESCRIPTION,failingDescription:a.createElement(a.Fragment,null,(null==g?void 0:g.channels)?E(f.default,{color:f.default.Colors.MUTED},void 0,y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_CHANGE_CHANNEL_NAMES_2.format({channelHook:function(e,t){return E("span",{className:m.default.doesNot},t,e)}})):null,null!=(null==g?void 0:g.name)?E(f.default,{color:f.default.Colors.MUTED},void 0,y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_CHANGE_NAME.format({nameHook:function(e,t){return E("span",{className:m.default.doesNot},t,e)}})):null,null!=(null==g?void 0:g.description)?E(f.default,{color:f.default.Colors.MUTED},void 0,y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_CHANGE_DESCRIPTION.format({descriptionHook:function(e,t){return E("span",{className:m.default.doesNot},t,e)}})):null),checked:0===Object.keys(g).length},{name:y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_2FA,failingName:y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_2FA_FAILING,description:y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_2FA_DESCRIPTION,failingDescription:y.default.Messages.GUILD_SETTINGS_DISCOVERY_CHECKLIST_2FA_DESCRIPTION_FAILING.format({onClick:function(){return u.default.setSection(v.GuildSettingsSections.MODERATION)}}),checked:T}];return a.createElement(a.Fragment,null,L.map((function(e,t){return E(a.Fragment,{},e.name,a.createElement(s.ChecklistItem,e),t<L.length-1?E("hr",{className:m.default.separator}):null)})))};t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=b(n(0)),o=n(3),i=n(1213),l=n(8578),u=T(n(9882)),s=T(n(8987)),d=T(n(8255)),f=T(n(39)),c=T(n(12)),p=n(85),v=n(8461),y=n(8534),m=b(n(8462)),_=T(n(9883)),h=T(n(9885)),E=T(n(9887)),g=n(1),S=T(n(6)),O=T(n(7354)),I=T(n(9890));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function M(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function A(){return(A=Object.assign||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}).apply(this,arguments)}var P=function(e){var t=e.transitionState,n=e.onClose,r=e.onSuccess,T=(0,o.useStateFromStores)([d.default],(function(){return d.default.getProps()})).guild,C=(0,o.useStateFromStores)([m.default],(function(){return null!=T?m.default.getApplication(T.id):null})),b=(0,o.useStateFromStores)([m.default],(function(){return m.default.isSubmitting()})),P=(0,o.useStateFromStores)([f.default],(function(){return f.default.locale})),R=(0,o.useStateFromStores)([c.default],(function(){return c.default.getCurrentUser()}));(0,u.default)(T,R,!0),a.useEffect((function(){if((0,l.maybeFetchGuildDiscoveryCategories)(),null!=T&&null==C){var e=A({},m.EMPTY_APPLICATION,{guildId:T.id,language:P});(0,l.fetchMetadataForGuild)(T.id).then((function(t){(0,v.updatePartnerApplication)(T.id,A({},e,{primaryCategoryId:null==t?void 0:t.primaryCategoryId,secondaryCategoryIds:null==t?void 0:t.secondaryCategoryIds}))}))}}),[null==T?void 0:T.id]);var L=(0,p.useUID)();if(null==T)return null;var D=N("img",{alt:"",src:I.default,className:O.default.footerImage,width:240}),w=function(){var e,t=(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.submitPartnerApplication)(T.id,C);case 2:e.sent&&(r(),n());case 4:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){M(o,r,a,i,l,"next",e)}function l(e){M(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}(),j=[{modalContent:N(_.default,{headerId:L,guild:T}),disableNextStep:null==C||""===C.inviteUrl.trim()||""===C.description.trim()||""===C.whyYou.trim()||null==C.language||null==C.serverType||null==C.primaryCategoryId||C.primaryCategoryId===i.DEFAULT_DISCOVERY_CATEGORY_ID,overviewTitle:S.default.Messages.GUILD_PARTNER_APPLICATION_SERVER_STEP},{modalContent:N(E.default,{headerId:L,guild:T}),disableNextStep:null==C||""===C.firstName.trim()||""===C.lastName.trim()||null==C.country||C.connectedAccounts===[]||null===C.survey||C.serverType===y.PartnerTypes.CONTENT_CREATOR&&(null==C||null===C.platform||null==(C.platform===y.PrimaryPlatformTypes.TWITTER&&C.connectedAccounts.find((function(e){return e.type===g.PlatformTypes.TWITTER})))||null==(C.platform===y.PrimaryPlatformTypes.TWITCH&&C.connectedAccounts.find((function(e){return e.type===g.PlatformTypes.TWITCH})))||null==(C.platform===y.PrimaryPlatformTypes.YOUTUBE&&C.connectedAccounts.find((function(e){return e.type===g.PlatformTypes.YOUTUBE})))||null==(C.platform===y.PrimaryPlatformTypes.REDDIT&&C.connectedAccounts.find((function(e){return e.type===g.PlatformTypes.REDDIT})))||null==(C.platform===y.PrimaryPlatformTypes.FACEBOOK&&C.connectedAccounts.find((function(e){return e.type===g.PlatformTypes.FACEBOOK})))||C.platform===y.PrimaryPlatformTypes.OTHER&&""===C.otherPlatform),overviewTitle:S.default.Messages.GUILD_PARTNER_APPLICATION_USER_STEP},{modalContent:N(h.default,{headerId:L,guild:T}),disableNextStep:!1,overviewTitle:S.default.Messages.GUILD_PARTNER_APPLICATION_SUBMIT_STEP}];return N(s.default,{autoCloseOnComplete:!1,submitting:b,stepData:j,title:S.default.Messages.GUILD_PARTNER_APPLICATION_TITLE,transitionState:t,onClose:n,completeButtonText:S.default.Messages.GUILD_PARTNER_APPLICATION_SUBMIT_STEP,onComplete:w,overviewFooter:D,sequencerClassName:O.default.container})};P.displayName="PartnerApplicationModal";var R=P;t.default=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){void 0===n&&(n=!1);var s=null==e?void 0:e.id,d=null==e?void 0:e.isOwner(t),f=(0,a.useStateFromStores)([l.default],(function(){var e;return null!=s?null===(e=l.default.getDefaultChannel(s))||void 0===e?void 0:e.id:null}),[s]);r.useEffect((function(){n&&d&&null!=f&&o.default.wait((function(){return i.default.createInvite(f,{max_age:u.default.INVITE_OPTIONS_FOREVER.value},"Partner Application Modal")}))}),[n,d,f])};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(3),o=s(n(2)),i=s(n(1211)),l=s(n(86)),u=s(n(8286));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=M(n(0)),o=n(3),i=n(1213),l=C(n(8483)),u=C(n(61)),s=C(n(55)),d=C(n(1159)),f=C(n(8272)),c=C(n(153)),p=M(n(474)),v=C(n(159)),y=C(n(255)),m=C(n(47)),_=C(n(24)),h=n(8461),E=n(8534),g=C(n(8462)),S=n(8686),O=C(n(6)),I=C(n(7354)),T=C(n(9884));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var A=O.default.getAvailableLocales().map((function(e){return{value:e.value,label:e.name}})),P=N("img",{alt:"",src:T.default}),R=function(e){var t,n=e.headerId,r=e.guild,T=(0,o.useStateFromStores)([g.default],(function(){return g.default.getApplication(r.id)})),C=(0,o.useStateFromStoresObject)([l.default],(function(){return{primaryCategories:l.default.getPrimaryCategories(),allCategories:l.default.getAllCategories()}})),b=C.primaryCategories,M=C.allCategories,R=null!==(t=a.useRef(null==T?void 0:T.inviteUrl).current)&&void 0!==t?t:"",L=b.map((function(e){return{value:e.categoryId,label:e.name}})),D=M.map((function(e){return{value:e.categoryId,label:e.name}})),w=null!=T?T:{},j=w.primaryCategoryId,k=w.secondaryCategoryIds,U=w.language,G=w.description,F=w.website,B=w.serverType,H=w.whyYou,x=w.inviteUrl;a.useEffect((function(){(0,S.trackApplicationFunnel)(E.ApplicationTypes.PARTNER,E.PartnerApplicationSteps.SERVER)}),[]);return null==r?null:N("div",{className:I.default.container},void 0,N("div",{className:I.default.headerContent},void 0,P,N(m.default,{size:m.default.Sizes.SIZE_24,className:I.default.header,id:n},void 0,O.default.Messages.GUILD_PARTNER_APPLICATION_SERVER_STEP_TITLE),N(_.default,{color:_.default.Colors.CUSTOM,size:_.default.Sizes.SIZE_16,className:I.default.headerCaption},void 0,O.default.Messages.GUILD_PARTNER_APPLICATION_SERVER_STEP_DESCRIPTION)),N("div",{className:I.default.formItem},void 0,N(v.default,{},void 0,O.default.Messages.FORM_LABEL_SERVER_NAME),N(c.default,{value:r.name,disabled:!0})),N("div",{className:I.default.formItem},void 0,N(v.default,{},void 0,O.default.Messages.GUILD_PARTNER_APPLICATION_INVITE_LINK_TITLE),N(p.default,{type:p.Types.DESCRIPTION,className:I.default.description},void 0,O.default.Messages.GUILD_PARTNER_APPLICATION_INVITE_LINK_DESCRIPTION),N(c.default,{value:null==x?void 0:x.toString(),onChange:function(e){(0,h.updatePartnerApplication)(r.id,{inviteUrl:e})},disabled:""!==R})),N("div",{className:I.default.formItem},void 0,N(v.default,{},void 0,O.default.Messages.GUILD_PARTNER_APPLICATION_TYPE),N(s.default,{justify:s.default.Justify.AROUND,direction:s.default.Direction.VERTICAL,className:I.default.checkboxWrap},void 0,N(d.default,{value:B,options:[{label:O.default.Messages.GUILD_PARTNER_APPLICATION_TYPE_CONTENT,value:E.PartnerTypes.CONTENT_CREATOR},{label:O.default.Messages.GUILD_PARTNER_APPLICATION_TYPE_FAN,value:E.PartnerTypes.COMMUNITY},{label:O.default.Messages.GUILD_PARTNER_APPLICATION_TYPE_BRAND,value:E.PartnerTypes.BRAND},{label:O.default.Messages.GUILD_PARTNER_APPLICATION_TYPE_SOFTWARE,value:E.PartnerTypes.SOFTWARE},{label:O.default.Messages.GUILD_PARTNER_APPLICATION_TYPE_OTHER,value:E.PartnerTypes.OTHER}],onChange:function(e){(0,h.updatePartnerApplication)(r.id,{serverType:e.value})}}))),N("div",{className:I.default.formItem},void 0,N(v.default,{className:I.default.formTitle},void 0,O.default.Messages.GUILD_PARTNER_APPLICATION_WEBSITE),N(c.default,{maxLength:250,value:F||"",onChange:function(e){(0,h.updatePartnerApplication)(r.id,{website:e})}})),N("div",{className:I.default.formItem},void 0,N(v.default,{className:I.default.formTitle},void 0,O.default.Messages.GUILD_PARTNER_APPLICATION_CATEGORY_LABEL),N(p.default,{type:p.Types.DESCRIPTION,className:I.default.description},void 0,O.default.Messages.GUILD_PARTNER_APPLICATION_CATEGORY_DESCRIPTION)),N(d.default,{value:j===i.DEFAULT_DISCOVERY_CATEGORY_ID?null:j,clearable:!0,searchable:!0,maxMenuHeight:150,options:L,onChange:function(e){(0,h.updatePartnerApplication)(r.id,{primaryCategoryId:(null==e?void 0:e.value)||i.DEFAULT_DISCOVERY_CATEGORY_ID})}}),N("div",{className:I.default.formItem},void 0,N(p.default,{type:p.Types.DESCRIPTION,className:I.default.description},void 0,O.default.Messages.GUILD_PARTNER_APPLICATION_SUBCATEGORY_DESCRIPTION),N(d.default,{value:k,searchable:!0,clearable:!1,options:D,onChange:function(e){var t=e.map((function(e){return e.value}));(0,h.updatePartnerApplication)(r.id,{secondaryCategoryIds:t})},multiValueRenderer:function(e){var t=e.label,n=e.value;return N("span",{className:I.default.tag},void 0,t,N(u.default,{className:I.default.closeWrapper,onClick:function(){return function(e){var t=null!=k?[].concat(k):[],n=t.indexOf(e);-1!==n&&(t.splice(n,1),(0,h.updatePartnerApplication)(r.id,{secondaryCategoryIds:t}))}(n)}},void 0,N(y.default,{className:I.default.close})))},maxMenuHeight:150,isMulti:!0})),N("div",{className:I.default.formItem},void 0,N(v.default,{},void 0,O.default.Messages.GUILD_PARTNER_APPLICATION_LANGUAGE),N(d.default,{options:A,value:U,onChange:function(e){(0,h.updatePartnerApplication)(r.id,{language:null==e?void 0:e.value})},maxMenuHeight:150,searchable:!0})),N("div",{className:I.default.formItem},void 0,N(v.default,{},void 0,O.default.Messages.GUILD_PARTNER_APPLICATION_DESCRIPTION_TITLE),N(p.default,{type:p.Types.DESCRIPTION,className:I.default.description},void 0,O.default.Messages.GUILD_PARTNER_APPLICATION_DESCRIPTION_DESCRIPTION),N(f.default,{value:G,maxLength:250,onChange:function(e){(0,h.updatePartnerApplication)(r.id,{description:e})}})),N("div",{className:I.default.formItem},void 0,N(v.default,{},void 0,O.default.Messages.GUILD_PARTNER_APPLICATION_WHY_YOU_TITLE),N(p.default,{type:p.Types.DESCRIPTION,className:I.default.description},void 0,O.default.Messages.GUILD_PARTNER_APPLICATION_WHY_YOU_DESCRIPTION),N(f.default,{value:H,maxLength:250,onChange:function(e){(0,h.updatePartnerApplication)(r.id,{whyYou:e})}})))};R.displayName="PartnerApplicationServerInfoStep";var L=R;t.default=L},function(e,t,n){e.exports=n.p+"ce47e05754afa547e93d8dde62b02356.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=p(n(47)),l=p(n(24)),u=n(8534),s=p(n(8462)),d=n(8686),f=p(n(6)),c=p(n(7354));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=y("img",{alt:"",src:p(n(9886)).default}),_=function(e){var t=e.headerId,n=e.guild,r=(0,o.useStateFromStores)([s.default],(function(){return s.default.getApplication(n.id)}));a.useEffect((function(){(0,d.trackApplicationFunnel)(u.ApplicationTypes.PARTNER,u.PartnerApplicationSteps.SUBMIT)}),[]);var p=(null!=r?r:{}).errors;return y("div",{className:c.default.container},void 0,y("div",{className:c.default.centeredContent},void 0,y("div",{className:c.default.headerContent},void 0,m,y(i.default,{size:i.default.Sizes.SIZE_24,className:c.default.header,id:t},void 0,f.default.Messages.GUILD_PARTNER_APPLICATION_SUBMIT_STEP_TITLE),y(l.default,{color:l.default.Colors.CUSTOM,size:l.default.Sizes.SIZE_16,className:c.default.headerCaption},void 0,f.default.Messages.GUILD_PARTNER_APPLICATION_SUBMIT_STEP_DESCRIPTION),y(l.default,{color:l.default.Colors.CUSTOM,size:l.default.Sizes.SIZE_16,className:c.default.headerCaptionSecondLine},void 0,f.default.Messages.GUILD_PARTNER_APPLICATION_SUBMIT_STEP_DESCRIPTION_2))),null!=p&&y(l.default,{color:l.default.Colors.ERROR,size:l.default.Sizes.SIZE_14,className:c.default.errorNotice},void 0,f.default.Messages.GUILD_PARTNER_APPLICATION_HAS_ERRORS))};_.displayName="PartnerApplicationSubmissionStep";var h=_;t.default=h},function(e,t,n){e.exports=n.p+"ce0080388259b1b4d7d805dd3bcb7229.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=I(n(0)),o=S(n(6006)),i=n(3),l=S(n(1159)),u=S(n(153)),s=I(n(474)),d=S(n(159)),f=S(n(47)),c=S(n(24)),p=n(8461),v=n(8534),y=S(n(8462)),m=n(8686),_=S(n(9888)),h=S(n(6)),E=S(n(7354)),g=S(n(9889));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var C=o.default.map((function(e){return{value:e.code,label:e.name}})),b=T("img",{alt:"",src:g.default}),M=function(e){var t=e.headerId,n=e.guild,r=(0,i.useStateFromStores)([y.default],(function(){return y.default.getApplication(n.id)}));a.useEffect((function(){(0,m.trackApplicationFunnel)(v.ApplicationTypes.PARTNER,v.PartnerApplicationSteps.USER)}),[]);if(null==n)return null;var o=null!=r?r:{},g=o.firstName,S=o.lastName,O=o.otherPlatform,I=o.country,M=o.serverType,N=o.platform,A=o.survey,P=o.surveyOther;return T("div",{className:E.default.container},void 0,T("div",{className:E.default.headerContent},void 0,b,T(f.default,{size:f.default.Sizes.SIZE_24,className:E.default.header,id:t},void 0,h.default.Messages.GUILD_PARTNER_APPLICATION_USER_STEP_TITLE),T(c.default,{color:c.default.Colors.CUSTOM,size:c.default.Sizes.SIZE_16,className:E.default.headerCaption},void 0,M===v.PartnerTypes.CONTENT_CREATOR?h.default.Messages.GUILD_PARTNER_APPLICATION_USER_STEP_DESCRIPTION_CONTENT_CREATOR:h.default.Messages.GUILD_PARTNER_APPLICATION_USER_STEP_DESCRIPTION)),T("div",{className:E.default.twoColumn},void 0,T("div",{className:E.default.spacedColumnItem},void 0,T(d.default,{},void 0,h.default.Messages.GUILD_PARTNER_APPLICATION_FIRST_NAME),T(u.default,{maxLength:250,value:g,onChange:function(e){(0,p.updatePartnerApplication)(n.id,{firstName:e})}})),T("div",{className:E.default.columnItem},void 0,T(d.default,{},void 0,h.default.Messages.GUILD_PARTNER_APPLICATION_LAST_NAME),T(u.default,{maxLength:250,value:S,onChange:function(e){(0,p.updatePartnerApplication)(n.id,{lastName:e})}}))),T("div",{className:E.default.formItem},void 0,T(d.default,{},void 0,h.default.Messages.GUILD_PARTNER_APPLICATION_COUNTRY),T(l.default,{options:C,value:I,onChange:function(e){(0,p.updatePartnerApplication)(n.id,{country:null==e?void 0:e.value})},maxMenuHeight:150,searchable:!0})),T("div",{className:E.default.formItem},void 0,T(d.default,{},void 0,h.default.Messages.GUILD_PARTNER_APPLICATION_SURVEY_TITLE),T(s.default,{type:s.Types.DESCRIPTION,className:E.default.description},void 0,h.default.Messages.GUILD_PARTNER_APPLICATION_SURVEY_DESCRIPTION),T(l.default,{searchable:!1,options:[{value:v.PartnerReasons.TALK_WITH_OTHER_PARTNERS,label:h.default.Messages.GUILD_PARTNER_APPLICATION_SURVEY_TALK_WITH_OTHER_PARTNERS},{value:v.PartnerReasons.COMMUNITY_TEAM_ACCESS,label:h.default.Messages.GUILD_PARTNER_APPLICATION_SURVEY_COMMUNITY_TEAM_ACCESS},{value:v.PartnerReasons.NEW_IDEAS_SUGGESTIONS,label:h.default.Messages.GUILD_PARTNER_APPLICATION_SURVEY_NEW_IDEAS_SUGGESTIONS},{value:v.PartnerReasons.EARLY_ACCESS_TO_FEATURES,label:h.default.Messages.GUILD_PARTNER_APPLICATION_SURVEY_EARLY_ACCESS_TO_FEATURES},{value:v.PartnerReasons.OTHER,label:h.default.Messages.GUILD_PARTNER_APPLICATION_SURVEY_OTHER}],value:A,onChange:function(e){(0,p.updatePartnerApplication)(n.id,{survey:null==e?void 0:e.value})},maxMenuHeight:150}),T(s.default,{type:s.default.Types.DESCRIPTION,className:E.default.otherDescription},void 0,h.default.Messages.GUILD_PARTNER_APPLICATION_SURVEY_DESCRIPTION_OTHER),T(u.default,{maxLength:250,value:P,onChange:function(e){(0,p.updatePartnerApplication)(n.id,{surveyOther:e})}})),M===v.PartnerTypes.CONTENT_CREATOR&&T("div",{className:E.default.formItem},void 0,T(d.default,{},void 0,h.default.Messages.GUILD_PARTNER_APPLICATION_CONTENT_PLATFORM),T(l.default,{options:v.PLATFORM_OPTIONS,value:N,onChange:function(e){(0,p.updatePartnerApplication)(n.id,{platform:null==e?void 0:e.value})},maxMenuHeight:150})),T("div",{className:E.default.formItem},void 0,T(d.default,{},void 0,M===v.PartnerTypes.CONTENT_CREATOR?h.default.Messages.GUILD_PARTNER_APPLICATION_CREATOR_CONNECT:h.default.Messages.GUILD_PARTNER_APPLICATION_CONNECT),M===v.PartnerTypes.CONTENT_CREATOR&&T(s.default,{type:s.default.Types.DESCRIPTION,className:E.default.description},void 0,h.default.Messages.GUILD_PARTNER_APPLICATION_CREATOR_MUST_CONNECT_PRIMARY),T(_.default,{guildId:n.id})),M===v.PartnerTypes.CONTENT_CREATOR&&T("div",{className:E.default.formItem},void 0,T(d.default,{},void 0,N===v.PrimaryPlatformTypes.OTHER?h.default.Messages.GUILD_PARTNER_APPLICATION_OTHER_PLATFORM:h.default.Messages.GUILD_PARTNER_APPLICATION_OTHER_PLATFORM_OPTIONAL),T(s.default,{type:s.default.Types.DESCRIPTION,className:E.default.description},void 0,h.default.Messages.GUILD_PARTNER_APPLICATION_OTHER_PLATFORM_DESCRIPTION),T(u.default,{maxLength:250,value:O,onChange:function(e){(0,p.updatePartnerApplication)(n.id,{otherPlatform:e})}})))};M.displayName="PartnerApplicationUserInfoStep";var N=M;t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Providers=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=_(n(9)),i=n(3),l=_(n(2)),u=_(n(9180)),s=_(n(8377)),d=_(n(725)),f=_(n(55)),c=_(n(372)),p=n(8461),v=_(n(8462)),y=n(1),m=_(n(7745));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var g=[{value:y.PlatformTypes.TWITTER,label:"Twitter"},{value:y.PlatformTypes.TWITCH,label:"Twitch"},{value:y.PlatformTypes.YOUTUBE,label:"YouTube"},{value:y.PlatformTypes.REDDIT,label:"Reddit"},{value:y.PlatformTypes.FACEBOOK,label:"Facebook"},{value:y.PlatformTypes.GITHUB,label:"Github"}];t.Providers=g;var S=function(e){var t=e.guildId,n=(0,i.useStateFromStores)([d.default],(function(){return d.default.getAccounts()})),r=(0,i.useStateFromStores)([v.default],(function(){return v.default.getApplication(t)})),_=a.useState(new Set),h=_[0],S=_[1],O=function(e){return r.connectedAccounts.some((function(t){return t.type===e}))};return a.useEffect((function(){var e=new Set(h);h.forEach((function(a){var o=n.filter((function(e){return e.type===a}));o.length>0&&(l.default.wait((function(){return(0,p.updatePartnerApplication)(t,{connectedAccounts:[].concat(r.connectedAccounts,o)})})),e.delete(a))})),S(e)}),[n]),E(f.default,{align:f.default.Align.CENTER},void 0,g.map((function(e){var a,i=O(e.value),l=(0,o.default)(m.default.oauthButton,((a={})[m.default.connected]=i,a));return E(f.default.Child,{grow:0,shrink:0,className:m.default.buttonFlexContainer},e.value,E("div",{className:m.default.buttonWrapper},void 0,E(u.default,{innerClassName:l,type:e.value,onConnect:function(){return function(e){if(O(e)){var a=r.connectedAccounts.filter((function(t){return t.type!==e}));(0,p.updatePartnerApplication)(t,{connectedAccounts:a})}else{var o=n.filter((function(t){return t.type===e}));if(0===o.length){(0,s.default)(e);var i=new Set(h);i.add(e),S(i)}else(0,p.updatePartnerApplication)(t,{connectedAccounts:[].concat(r.connectedAccounts,o)})}}(e.value)}}),i&&E("div",{className:m.default.checkmarkCircle},void 0,E(c.default,{color:y.Colors.WHITE,width:12,height:12}))))})))};S.displayName="PartnerApplicationConnectAccountButtonRow";var O=S;t.default=O},function(e,t,n){e.exports=n.p+"94035933c0f95c852079ad9673fdc331.svg"},function(e,t,n){e.exports=n.p+"2faba1d53070a3ae96ec26e3ed600476.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l={},u=!1;var s=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var a=r.prototype;return a.isLoading=function(){return u},a.passesChecklist=function(e){var t;return!u&&(null===(t=l[e])||void 0===t?void 0:t.sufficient)},a.isPendingSuccess=function(e){var t=l[e];return null!=t&&(!u&&t.healthScorePending&&t.safeEnvironment&&0===Object.keys(t.nsfwProperties).length&&t.size&&t.protected)},a.getPartnerChecklist=function(e){return l[e]},r}(r.default.Store))(a.default,{PARTNER_REQUIREMENTS_FETCH_START:function(e){u=!0},PARTNER_REQUIREMENTS_FETCH_FAILURE:function(e){u=!1},PARTNER_REQUIREMENTS_FETCH_SUCCESS:function(e){var t=e.checklist,n=e.guildId;u=!1,l[n]={guildId:t.guild_id,safeEnvironment:t.safe_environment,healthy:t.healthy,healthScorePending:t.health_score_pending,nsfwProperties:t.nsfw_properties,size:t.size,protected:t.protected,sufficient:t.sufficient,sufficientWithoutGracePeriod:t.sufficient_without_grace_period,gracePeriodEndDate:null!=t.grace_period_end_date?new Date(t.grace_period_end_date):null,retentionHealthy:t.retention_healthy,engagementHealthy:t.engagement_healthy,minimumGuildSize:null!=t.minimum_size?t.minimum_size:500,healthScore:t.health_score,minimumGuildAge:t.minimum_age||0,age:t.age}}});t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fillRule:"evenodd",clipRule:"evenodd",className:f,d:"M6.81394 8.982C4.53894 11.674 4.65594 15.591 6.93094 18.153L4.03394 21.579L5.56094 22.87L8.46294 19.437C9.56894 20.127 10.8459 20.513 12.1609 20.513C14.2309 20.513 16.1829 19.607 17.5159 18.027C20.0689 15.01 20.7709 6.945 20.9999 3C17.7649 3.876 9.03194 6.356 6.81394 8.982ZM8.93494 17.331C6.82594 15.548 6.55994 12.382 8.34194 10.272C9.59194 8.793 14.9039 6.845 18.7639 5.698L8.93494 17.331Z",fill:d}))}d.displayName="Leaf"},function(e,t,n){e.exports=n.p+"fd7c94580512371af3a5bb3bf25299e9.svg"},function(e,t,n){e.exports=n.p+"bc7f9210390707aa76067bf85b8137e6.svg"},function(e,t,n){e.exports=n.p+"90a5fc7dafd68c6868245d3d6f2cf015.svg"},function(e,t,n){e.exports=n.p+"c23c8cecd8ba616bebacb3d498aac9ee.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.useStateFromStores)([f.default],(function(){return f.default.getGuildId()})),t=(0,o.useStateFromStores)([c.default],(function(){return null!=e?c.default.getSubscriptionsForGuild(e):null}));return a.createElement(a.Fragment,null,I(a.Fragment,{},void 0,I(v.FormTitle,{tag:v.FormTitleTags.H1},void 0,h.default.Messages.GUILD_SETTINGS_PREMIUM_GUILD_TITLE),null!=t?I(C,{subscriptions:t}):null,I(v.FormText,{type:v.FormText.Types.DESCRIPTION,className:E.default.titleBlurb},void 0,h.default.Messages.GUILD_SETTINGS_PREMIUM_GUILD_BLURB.format({helpdeskArticle:y.default.getArticleURL(_.HelpdeskArticles.GUILD_SUBSCRIPTIONS)}))),I(s.default,{tiers:(0,m.getTiers)(),renderTier:b}),I("div",{className:E.default.divider}),M,N)};var r,a=O(n(0)),o=n(3),i=g(n(8687)),l=g(n(8747)),u=g(n(8748)),s=g(n(8999)),d=g(n(9e3)),f=g(n(8255)),c=g(n(8568)),p=O(n(8353)),v=n(131),y=g(n(93)),m=n(5935),_=n(1),h=g(n(6)),E=g(n(7750));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(e){var t=e.endsAt,n=e.premiumGuildSubscriptionsToMaintain,r=e.tierName,o=(0,i.default)(t),l=o.days,u=o.hours;return n<=0?null:a.createElement(a.Fragment,null,0===l&&0===u?h.default.Messages.PREMIUM_GUILD_GRACE_PERIOD_COOLDOWN_SOON.format({tierName:r,numPremiumSubscriptions:n}):h.default.Messages.PREMIUM_GUILD_GRACE_PERIOD_COOLDOWN.format({days:l,hours:u,tierName:r,numPremiumSubscriptions:n}))}function C(e){var t=e.subscriptions,n=(0,m.getGracePeriodEndingDate)(t),r=(0,m.getTierName)((0,m.getGuildTierFromSubscriberCount)(t.length));if(null==n||null==r)return null;var a=(0,m.premiumGuildSubscriptionsRequiredForPerks)(t);return I(p.default,{messageType:p.HelpMessageTypes.WARNING},void 0,I("div",{className:E.default.premiumGuildGracePeriodTitle},void 0,h.default.Messages.PREMIUM_GUILD_GRACE_PERIOD_TITLE.format()),I(T,{endsAt:n,premiumGuildSubscriptionsToMaintain:a,tierName:r}))}C.displayName="GuildSettingsGracePeriodNotice";var b=function(e){var t=e.isAnimatedTo,n=e.onSetRef,r=e.subscriptionCount,a=e.tier,o=e.tiers,i=e.tierIndex;return I(d.default,{subscriptionCount:r,tier:a,onSetRef:n,isAnimatedTo:t,hasBottomMargin:i!==o.length-1},a.tier)};b.displayName="renderTier";var M=I(u.default,{}),N=I(l.default,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,a.useRef)(e);(0,a.useEffect)((function(){n.current=e}),[e]),(0,a.useEffect)((function(){var e=setInterval((function(){(0,o.default)(null!=n.current,"Missing callback"),n.current()}),t);return function(){return clearInterval(e)}}),[t])};var r,a=n(0),o=(r=n(23))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=y(n(0)),o=p(n(9)),i=n(122),l=p(n(98)),u=n(139),s=y(n(149)),d=p(n(372)),f=p(n(6)),c=p(n(7747));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E=(0,u.cssValueToNumber)(c.default.progressBarWidth),g=(0,u.cssValueToNumber)(c.default.tierMarkerSize),S={tension:140,friction:30},O={tension:800,friction:20},I=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={showForegroundTooltip:!1,foregroundTooltipY:0,tierMarkerActive:0,finishedInitialAnimation:!1},t.foregroundTooltipElementRef=a.createRef(),t.tierMarkerMaskId=l.default.v4(),t.handleForegroundMouseEnter=function(e){t.setState({showForegroundTooltip:!0}),t.handleForegroundMouseMove(e)},t.handleForegroundMouseMove=function(e){if(e.target instanceof Element){var n=e.target.getBoundingClientRect(),r=e.clientY-n.top;r!==t.state.foregroundTooltipY&&t.setState({foregroundTooltipY:r})}},t.handleForegroundMouseLeave=function(){t.setState({showForegroundTooltip:!1})},t.handleForegroundFrame=function(e){for(var n=e.height,r=t.props,a=r.tiers,o=r.progress,i=r.onAnimatedTierMaker,l=t.state.tierMarkerActive,u=a.length-1;u>0;u--){var s=a[u],d=l===u;if(n+20>=s.y&&o>=s.numRequired)return void(d||(t.setState({tierMarkerActive:u}),null!=i&&i(s)))}},t.handleFinishedInitialAnimation=function(){t.setState({finishedInitialAnimation:!0})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n);var u=r.prototype;return u.getTotalHeight=function(){var e=this.props.tiers;return e[e.length-1].y+g/2},u.getProgressHeight=function(e){var t=this.props,n=t.tiers,r=t.progress,a=n[e],o=n[e+1];if(null==o||r===a.numRequired)return a.y;var i=o.y-a.y,l=o.numRequired-a.numRequired,u=(r-a.numRequired)/l*i;return a.y+u},u.getCurrentTierIndex=function(){for(var e=this.props,t=e.tiers,n=e.progress,r=t.length-1;r>0;r--)if(n>=t[r].numRequired)return r;return 0},u.renderForegroundTooltip=function(){var e=this.props,t=e.progress,n=e.tiers,r=this.state,a=r.showForegroundTooltip,o=r.foregroundTooltipY;if(!a||null==this.foregroundTooltipElementRef.current)return null;var i=n[this.getCurrentTierIndex()+1],l=null!=i?i.numRequired:null,u=null!=l?l-t:null;return _(s.TooltipLayer,{targetElementRef:this.foregroundTooltipElementRef,position:s.default.Positions.RIGHT,color:s.default.Colors.BLACK,tooltipClassName:c.default.foregroundTooltip},o,_("div",{},void 0,f.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_NUM_SUBSCRIPTIONS.format({numSubscriptions:t})),null!=u&&null!=i?_("div",{className:c.default.tooltipMuted},void 0,f.default.Messages.PREMIUM_GUILD_SETTINGS_MEMBERS_SUBSCRIBED_NEEDED.format({number:u,tier:i.name})):null)},u.renderTierMarkerTooltip=function(e){var t=this.props.progress;if(null==e.name)return null;var n=Math.min(t,e.numRequired);return _("div",{className:c.default.tierTooltip},void 0,_("div",{},void 0,e.name),_("div",{},void 0,f.default.Messages.PREMIUM_GUILD_SETTINGS_X_OF_Y_SUBSCRIPTIONS.format({subscribers:n,numRequired:e.numRequired})))},u.renderTierMarker=function(e,t,n){var r,o=this.props,l=o.progress,u=o.tiers[n],f=l>=e.numRequired,p=null!=u&&e.numRequired===u.numRequired,v=0===e.numRequired;r=v?c.default.tierDefault:p?c.default.tierCurrent:f?c.default.tierAccomplished:c.default.tierInProgress;var y=v?0:g/2,h=e.y-y,E=this.state.tierMarkerActive===t,S=!v&&p&&E;return _(s.default,{text:this.renderTierMarkerTooltip(e),position:s.default.Positions.RIGHT,"aria-label":e.name||""},e.key,(function(e){return _(i.Spring,{from:{scale:1},to:{scale:S?1.625:1},config:O},void 0,(function(t){return a.createElement(i.animated.div,m({},e,{className:r,style:{top:h,transform:t.scale.interpolate((function(e){return"scale("+e+")"}))}}),S&&_(d.default,{className:c.default.currentTierIcon}))}))}))},u.renderProgressMask=function(e){var t=this.props.tiers;return _("mask",{id:""+this.tierMarkerMaskId},void 0,_("rect",{x:"0",y:"0",width:E,height:e,fill:"white"}),t.map((function(e){return _("circle",{cx:E/2,cy:e.y,r:E/2,fill:"black"},e.key)})))},u.renderProgressBar=function(e,t){var n=this,r=this.getProgressHeight(t),a=this.state,o=a.finishedInitialAnimation,l=a.showForegroundTooltip;return _("g",{mask:"url(#"+this.tierMarkerMaskId+")"},void 0,_("rect",{className:c.default.background,height:e,fill:"currentColor"}),_(i.Spring,{from:{height:0},to:{height:r},config:S,delay:o?0:this.props.initialAnimationDelay,onChange:this.handleForegroundFrame,onRest:o?void 0:this.handleFinishedInitialAnimation},void 0,(function(e){return _(i.animated.rect,{className:c.default.foreground,height:e.height.interpolate((function(e){return Math.max(0,e)})),onMouseEnter:n.handleForegroundMouseEnter,onMouseLeave:n.handleForegroundMouseLeave,onMouseMove:l?n.handleForegroundMouseMove:void 0,fill:"currentColor"})})))},u.render=function(){var e=this,t=this.props,n=t.className,r=t.tiers,i=this.getCurrentTierIndex(),l=this.getTotalHeight();return _("div",{className:(0,o.default)(n,c.default.progressBar),style:{height:l}},void 0,_("svg",{viewBox:"0 0 "+E+" "+l,width:E,height:l},void 0,this.renderProgressMask(l),this.renderProgressBar(l,i)),a.createElement("div",{ref:this.foregroundTooltipElementRef,style:{top:this.state.foregroundTooltipY},className:c.default.foregroundTooltipPosition}),r.map((function(t,n){return e.renderTierMarker(t,n,i)})),this.renderForegroundTooltip())},r}(a.Component);I.displayName="PremiumGuildProgressBar",I.defaultProps={initialAnimationDelay:0};var T=I;t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),i=n(122),l=u(n(7748));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n),r.prototype.render=function(){var e=this.props,t=e.icon,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["icon"]);return a.createElement(t,n)},r}(a.Component);c.displayName="Icon";var p=(0,i.animated)(c);function v(e){var t=e.className,n=e.name,r=e.icon,a=e.iconClassName,u=(0,i.useTransition)({name:n,icon:r,iconClassName:a},{key:function(e){return e.name},initial:null,from:{opacity:0},enter:{opacity:1},leave:{opacity:0}});return d("div",{className:(0,o.default)(l.default.crossfade,t)},void 0,u((function(e,t){var n=t.icon,r=t.iconClassName;return d(p,{icon:n,className:(0,o.default)(l.default.icon,r),style:e})})))}v.displayName="CrossfadeIcon";var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=d(n(9)),l=d(n(8)),u=d(n(10382)),s=d(n(7749));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function y(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){v(o,r,a,i,l,"next",e)}function l(e){v(o,r,a,i,l,"throw",e)}i(void 0)}))}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}!function(e){e[e.HOVERING=0]="HOVERING",e[e.FLYING=1]="FLYING"}(a||(a={}));var _=Object.freeze({HOVERING:{Y_DURATION:1500,Y_VALUE:-5,Y_VALUE_MODIFIER:-1,FIRE_COUNT:10,FIRE_MIN_INTENSITY_FALLING:.8,FIRE_MAX_INTENSITY_FALLING:1,FIRE_MIN_INTENSITY_RISING:1,FIRE_MAX_INTENSITY_RISING:1.2},FALLING:{Y_VALUE:10,FIRE_COUNT:10,FIRE_VALUE:.2},STAGING:{DURATION:500,Y_VALUE:22,SHAKE_COUNT:10,SHAKE_INTENSITY:2,FIRE_COUNT:4,FIRE_MIN_INTENSITY:.6,FIRE_MAX_INTENSITY:1},FLYING:{DURATION:500,Y_VALUE:-1e3,Y_EASING:u.default.Easing.bezier(.46,.01,1,-.3),X_VALUE:200,X_EASING:u.default.Easing.bezier(.65,.05,1,.25),FIRE_COUNT:10,FIRE_MIN_INTENSITY:1.2,FIRE_MAX_INTENSITY:1.4,OPACITY_VALUE:0,OPACITY_DURATION_DIVIDEND:2}});function h(e,t,n,r){return u.default.sequence(l.default.times(t,(function(a){return u.default.timing(e,{toValue:r(a),duration:n/t})})))}var E=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).x=new u.default.Value(0),t.y=new u.default.Value(0),t.opacity=new u.default.Value(1),t.fireScale=new u.default.Value(1),t.currentAnimation=null,t.isUnmounted=!1,t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var o=r.prototype;return o.componentDidMount=function(){this.startAnimation()},o.componentWillUnmount=function(){this.isUnmounted=!0},o.componentDidUpdate=function(e){this.props.stage!==e.stage&&this.startAnimation()},o.startAnimation=function(){switch(null!=this.currentAnimation&&this.currentAnimation.stop(),this.props.stage){case a.HOVERING:return this.startHoverAnimate();case a.FLYING:return this.flyAnimate()}},o.resetAnimation=function(){this.y.setValue(0),this.x.setValue(0),this.opacity.setValue(1),this.fireScale.setValue(1)},o.startHoverAnimate=function(){this.resetAnimation(),this.hoverAnimate(_.HOVERING.Y_VALUE)},o.createFireAnimation=function(e,t,n,r){return h(this.fireScale,e,t,(function(){return l.default.random(n,r)}))},o.hoverAnimate=function(){var e=y(regeneratorRuntime.mark((function e(t){var n,r,o,i,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.props.stage===a.HOVERING&&!this.isUnmounted){e.next=2;break}return e.abrupt("return");case 2:return r=(n=t>1)?_.HOVERING.FIRE_MIN_INTENSITY_FALLING:_.HOVERING.FIRE_MIN_INTENSITY_RISING,o=n?_.HOVERING.FIRE_MAX_INTENSITY_FALLING:_.HOVERING.FIRE_MAX_INTENSITY_RISING,i=this.createFireAnimation(_.HOVERING.FIRE_COUNT,_.HOVERING.Y_DURATION,r,o),l=u.default.timing(this.y,{toValue:t,duration:_.HOVERING.Y_DURATION,easing:u.default.Easing.inOut(u.default.Easing.ease)}),this.currentAnimation=u.default.parallel([l,i]),e.next=10,this.currentAnimation.start();case 10:this.hoverAnimate(t*_.HOVERING.Y_VALUE_MODIFIER);case 11:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),o.createShakeAnimation=function(e,t,n){return h(this.x,e,t,(function(e){return l.default.random(1,n)*(e%2==0?1:-1)}))},o.flyAnimate=function(){var e=y(regeneratorRuntime.mark((function e(){var t,n,r,a,o,i,l,s,d,f,c,p,v;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=u.default.spring(this.y,{toValue:_.FALLING.Y_VALUE,overshootClamping:!0}),n=u.default.spring(this.fireScale,{toValue:_.FALLING.FIRE_VALUE,overshootClamping:!0}),r=u.default.parallel([t,n]),a=u.default.timing(this.y,{toValue:_.STAGING.Y_VALUE,duration:_.STAGING.DURATION}),o=this.createShakeAnimation(_.STAGING.SHAKE_COUNT,_.STAGING.DURATION,_.STAGING.SHAKE_INTENSITY),i=this.createFireAnimation(_.STAGING.FIRE_COUNT,_.STAGING.DURATION,_.STAGING.FIRE_MIN_INTENSITY,_.STAGING.FIRE_MAX_INTENSITY),l=u.default.parallel([a,o,i]),s=u.default.timing(this.y,{toValue:_.FLYING.Y_VALUE,duration:_.FLYING.DURATION,easing:_.FLYING.Y_EASING}),d=u.default.timing(this.x,{toValue:_.FLYING.X_VALUE,duration:_.FLYING.DURATION,easing:_.FLYING.X_EASING}),f=u.default.timing(this.opacity,{toValue:_.FLYING.OPACITY_VALUE,duration:_.FLYING.DURATION/_.FLYING.OPACITY_DURATION_DIVIDEND,delay:_.FLYING.DURATION/_.FLYING.OPACITY_DURATION_DIVIDEND}),c=this.createFireAnimation(_.FLYING.FIRE_COUNT,_.FLYING.DURATION,_.FLYING.FIRE_MIN_INTENSITY,_.FLYING.FIRE_MAX_INTENSITY),p=u.default.parallel([s,d,f,c]),this.currentAnimation=u.default.sequence([r,l,p]),e.next=15,this.currentAnimation.start();case 15:this.isUnmounted||null!=(v=this.props.onFlyingComplete)&&v();case 16:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),o.getWumpusStyle=function(){return{transform:[{translateY:this.y.interpolate({inputRange:[0,1],outputRange:["0px","1px"]})},{translateX:this.x.interpolate({inputRange:[0,1],outputRange:["0px","1px"]})}],opacity:this.opacity}},o.getFireStyle=function(){return{transform:[{scale:this.fireScale}]}},o.render=function(){var e=this.props,t=e.className,n=e.style;return c(u.default.div,{className:(0,i.default)(s.default.animation,t),style:p({},n,{},this.getWumpusStyle())},void 0,c("div",{className:s.default.fireTopWrapper},void 0,c(u.default.div,{className:s.default.fire,style:this.getFireStyle()})),c("div",{className:s.default.fireBottomWrapper},void 0,c(u.default.div,{className:s.default.fire,style:this.getFireStyle()})),c("div",{className:s.default.wumpus}))},r}(o.Component);E.displayName="MechaWumpusFlying",E.Stages=a;var g=E;t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function i(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function l(){return(l=Object.assign||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}).apply(this,arguments)}var u=i("path",{d:"M5 0.5L0 5.5V10.5L5 15.5L10 10.5V5.5L5 0.5ZM8.75 9.9875L5 13.7375L1.25 9.9875V6.0125L5 2.2625L8.75 6.0125V9.9875Z"}),s=i("path",{d:"M2.5 6.53751V9.46251L5 11.9625L7.5 9.46251V6.53751L5 4.03751L2.5 6.53751Z"});function d(e){return a.createElement("svg",l({},e,{width:"10",height:"16",viewBox:"0 0 10 16",fill:"#FF73FA",xmlns:"http://www.w3.org/2000/svg"}),u,s)}d.displayName="GuildSettingsServerBoostIcon"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=b(n(0)),o=n(3),i=T(n(8412)),l=n(8277),u=n(5972),s=n(398),d=T(n(9904)),f=T(n(8255)),c=T(n(29)),p=n(131),v=b(n(474)),y=n(1230),m=T(n(47)),_=T(n(24)),h=n(380),E=T(n(93)),g=n(5935),S=n(1),O=T(n(6)),I=T(n(7753));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var N=function(e){var t=e.guild,n=S.PremiumGuildSubscriptionsRequired[S.PremiumGuildTiers.TIER_1]-t.premiumSubscriberCount;return M("div",{className:I.default.upsellContainer},void 0,M(m.default,{className:I.default.upsellHeader,size:m.default.Sizes.SIZE_24},void 0,O.default.Messages.GUILD_SETTINGS_STICKERS_UPSELL_TITLE),M(_.default,{className:I.default.upsellDescription,size:_.default.Sizes.SIZE_16},void 0,O.default.Messages.GUILD_SETTINGS_STICKERS_UPSELL_DESCRIPTION),M("div",{className:I.default.upsellButtons},void 0,M(c.default,{className:I.default.upsellButtonPrimary,innerClassName:I.default.upsellButton,color:c.default.Colors.WHITE,onClick:function(){return(0,u.openPremiumGuildSubscriptionPurchaseModal)({analyticsLocation:{page:S.AnalyticsPages.GUILD_SETTINGS,section:S.AnalyticsSections.GUILD_SETTINGS_STICKERS,object:S.AnalyticsObjects.BOOSTING_BANNER},guildId:t.id,totalNumberOfSlotsToAssign:n})}},void 0,O.default.Messages.GUILD_SETTINGS_STICKERS_BOOST_SERVER),M(c.default,{innerClassName:I.default.upsellButton,color:c.default.Colors.WHITE,onClick:function(){return(0,y.openFullScreenLayer)((function(e){var n=e.transitionState,r=e.closeLayer;return M(i.default,{layerTransitionState:n,close:r,guildId:t.id,locationSection:S.AnalyticsSections.GUILD_SETTINGS_STICKERS})}))}},void 0,O.default.Messages.LEARN_MORE)))};N.displayName="BoostUpsell";var A=function(){return M(p.FormSection,{title:O.default.Messages.GUILD_SETTINGS_STICKERS_UPLOAD_HEADING},void 0,M(v.default,{type:v.Types.DESCRIPTION},void 0,O.default.Messages.GUILD_SETTINGS_STICKERS_UPLOAD_REQUIREMENTS,M("ul",{className:I.default.uploadRequirementsList},void 0,M("li",{},void 0,O.default.Messages.GUILD_SETTINGS_STICKERS_UPLOAD_REQUIREMENTS_1),M("li",{},void 0,O.default.Messages.GUILD_SETTINGS_STICKERS_UPLOAD_REQUIREMENTS_2.format({fileSize:(0,h.formatKbSize)(s.MAX_STICKER_FILE_SIZE,{useKibibytes:!0})})),M("li",{},void 0,O.default.Messages.GUILD_SETTINGS_STICKERS_UPLOAD_REQUIREMENTS_3),M("li",{},void 0,O.default.Messages.GUILD_SETTINGS_STICKERS_UPLOAD_REQUIREMENTS_4)),O.default.Messages.GUILD_SETTINGS_STICKERS_UPLOAD_HELP.format({articleUrl:E.default.getArticleURL(S.HelpdeskArticles.STICKERS_UPLOAD)})))};A.displayName="UploadRequirements";var P=M(A,{}),R=function(){a.useEffect((function(){(0,l.hideHotspot)(l.HotspotLocations.GUILD_STICKERS_GUILD_SETTINGS_MENU)}),[]);var e=(0,o.useStateFromStores)([f.default],(function(){return f.default.getGuild()}));return null==e?null:M(p.FormSection,{title:O.default.Messages.GUILD_SETTINGS_STICKERS,tag:p.FormTitleTags.H1},void 0,(0,g.isGuildPremiumAtLeast)(e.premiumTier,S.PremiumGuildTiers.TIER_1)?P:M(N,{guild:e}),M(p.FormDivider,{className:I.default.divider}),M(d.default,{guild:e}))};R.displayName="GuildSettingsStickers";var L=R;t.default=L},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=C(n(9)),i=n(3),l=n(5972),u=C(n(29)),s=C(n(61)),d=C(n(151)),f=C(n(5951)),c=n(41),p=C(n(24)),v=n(5935),y=n(5940),m=C(n(362)),_=C(n(8999)),h=C(n(9e3)),E=C(n(9905)),g=n(9001),S=n(1),O=C(n(6)),I=C(n(7386)),T=C(n(7752));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function N(){return(N=Object.assign||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}).apply(this,arguments)}function A(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var P=function(e){var t=e.children,n=e.currentGuildTier,r=e.guildStickers,o=e.tier,i=n<o,l=(0,v.getIncrementalStickerCountForTier)(o);return a.createElement(a.Fragment,null,A(p.default,{color:p.default.Colors.HEADER_PRIMARY,size:p.default.Sizes.SIZE_16},void 0,t),!i&&A(p.default,{color:p.default.Colors.STANDARD,className:T.default.tierCardSubheading,size:p.default.Sizes.SIZE_12},void 0,O.default.Messages.GUILD_STICKER_SETTINGS_REMAINING_SLOTS_AVAILABLE.format({numTotal:l,numAvailable:(0,v.getAvailableStickerSlotCount)(r,o)})))},R=function(e){var t=e.guild;return A(s.default,{className:(0,o.default)(I.default.wrapper,T.default.uploadCard),onClick:function(){return(0,c.openModal)((function(e){return a.createElement(g.StickerUploadModal,N({guildId:t.id},e))}))}},void 0,A("div",{className:T.default.iconWrapper},void 0,A(f.default,{className:T.default.icon})),A(p.default,{className:T.default.uploadCardLabel,color:p.default.Colors.INTERACTIVE_ACTIVE,size:p.default.Sizes.SIZE_12},void 0,O.default.Messages.GUILD_STICKER_GRID_UPLOAD_LABEL))};R.displayName="UploadCard";var L=A(d.default,{}),D=function(e){var t=e.guild,n=a.useState(!0),r=n[0],o=n[1],s=(0,i.useStateFromStores)([m.default],(function(){var e;return null!==(e=m.default.getStickersByGuildId(t.id))&&void 0!==e?e:[]}),[t]),d=t.premiumTier;if(a.useEffect((function(){var e=!1;return function(){var n,r=(n=regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o(!0),n.next=3,(0,y.fetchGuildStickers)(t.id);case 3:if(!e){n.next=5;break}return n.abrupt("return");case 5:o(!1);case 6:case"end":return n.stop()}}),n)})),function(){var e=this,t=arguments;return new Promise((function(r,a){var o=n.apply(e,t);function i(e){M(o,r,a,i,l,"next",e)}function l(e){M(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return r.apply(this,arguments)}}()(),function(){e=!0}}),[t]),r)return L;var f=A(R,{guild:t}),c=[{tier:S.PremiumGuildTiers.TIER_1,title:A(P,{guildStickers:s,currentGuildTier:d,tier:S.PremiumGuildTiers.TIER_1},void 0,O.default.Messages.PREMIUM_GUILD_TIER_1)},{tier:S.PremiumGuildTiers.TIER_2,title:A(P,{guildStickers:s,currentGuildTier:d,tier:S.PremiumGuildTiers.TIER_2},void 0,O.default.Messages.PREMIUM_GUILD_TIER_2)},{tier:S.PremiumGuildTiers.TIER_3,title:A(P,{guildStickers:s,currentGuildTier:d,tier:S.PremiumGuildTiers.TIER_3},void 0,O.default.Messages.PREMIUM_GUILD_TIER_3)}];return A(_.default,{tiers:c,renderTier:function(e){var n,r=e.isAnimatedTo,a=e.onSetRef,o=e.tier,i=e.tiers,c=e.tierIndex,y=i[c-1],m=null!=y?(0,v.getTotalStickerCountForTier)(y.tier):0,_=(0,v.getTotalStickerCountForTier)(o.tier),g=s.slice(m,_),I=d<o.tier,C=!I&&((n=s.length)<(0,v.getTotalStickerCountForTier)(S.PremiumGuildTiers.TIER_1)?S.PremiumGuildTiers.TIER_1:n<(0,v.getTotalStickerCountForTier)(S.PremiumGuildTiers.TIER_2)?S.PremiumGuildTiers.TIER_2:n<(0,v.getTotalStickerCountForTier)(S.PremiumGuildTiers.TIER_3)?S.PremiumGuildTiers.TIER_3:S.PremiumGuildTiers.NONE)===o.tier,b=C||g.length>0;return A(h.default,{subscriptionCount:t.premiumSubscriberCount,tier:o,onSetRef:a,isAnimatedTo:r,hasBottomMargin:c!==i.length-1,withCardBody:I&&!b},o.tier,b&&A("div",{className:T.default.grid},void 0,C&&f,g.map((function(e){return A(E.default,{isDisabled:I,sticker:e},e.id)}))),!I&&!C&&0===g.length&&A("div",{className:T.default.emptyTierWrapper},void 0,A(p.default,{size:p.default.Sizes.SIZE_16,color:p.default.Colors.HEADER_SECONDARY},void 0,O.default.Messages.GUILD_STICKER_UNUSED_TIER)),I&&A("div",{className:T.default.emptyTierWrapper},void 0,A(p.default,{className:T.default.unlockTierCtaHeading,size:p.default.Sizes.SIZE_16,color:p.default.Colors.HEADER_SECONDARY},void 0,O.default.Messages.GUILD_STICKER_SETTINGS_ADDITIONAL_SLOTS.format({numAdditional:_-m,numTotal:_})),A(u.default,{onClick:function(){return function(e,n){var r=null;n===S.PremiumGuildTiers.TIER_1?r=S.AnalyticsObjectTypes.TIER_1:n===S.PremiumGuildTiers.TIER_2?r=S.AnalyticsObjectTypes.TIER_2:n===S.PremiumGuildTiers.TIER_3&&(r=S.AnalyticsObjectTypes.TIER_3),(0,l.openPremiumGuildSubscriptionPurchaseModal)({analyticsLocation:{page:S.AnalyticsPages.GUILD_SETTINGS,section:S.AnalyticsSections.GUILD_SETTINGS_STICKERS,objectType:r},guildId:t.id,totalNumberOfSlotsToAssign:e})}(S.PremiumGuildSubscriptionsRequired[o.tier]-t.premiumSubscriberCount,o.tier)}},void 0,O.default.Messages.GUILD_STICKER_SETTINGS_BUY_LEVEL)))}})};D.displayName="GuildStickersTiers";var w=D;t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=S(n(9)),i=S(n(8332)),l=S(n(5675)),u=S(n(185)),s=S(n(61)),d=S(n(151)),f=S(n(149)),c=S(n(255)),p=S(n(1215)),v=n(41),y=S(n(279)),m=S(n(24)),_=n(5940),h=n(9001),E=S(n(5936)),g=S(n(7386));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function C(){return(C=Object.assign||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}).apply(this,arguments)}var b=function(e){var t=e.className,n=e.isDisabled,r=e.sticker,S=a.useState(!1),O=S[0],b=S[1],M=(0,l.default)(null,4e3),N=M[0],A=M[1],P=function(){(0,v.openModal)((function(e){return a.createElement(h.StickerUploadModal,C({sticker:r,guildId:r.guild_id},e))}))},R=function(){var e,t=(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return A(null),b(!0),e.prev=2,e.next=5,(0,_.deleteGuildSticker)(r);case 5:e.next=11;break;case 7:e.prev=7,e.t0=e.catch(2),A(e.t0.body.message),b(!1);case 11:case"end":return e.stop()}}),e,null,[[2,7]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){T(o,r,a,i,l,"next",e)}function l(e){T(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}(),L=null!=r.tags?u.default.getByName(r.tags):null;return I(f.default,{color:f.default.Colors.RED,forceOpen:null!=N,text:N},void 0,(function(){var e,l;return I("div",{className:(0,o.default)(g.default.wrapper,t,(e={},e[g.default.wrapperDisabled]=n,e))},void 0,I("div",{className:(0,o.default)(g.default.content,(l={},l[g.default.contentRemoving]=O,l))},void 0,null!=L&&I(f.default,{text:":"+L.uniqueName+":"},void 0,(function(e){return a.createElement("img",C({alt:L.allNamesString,src:L.url,className:g.default.relatedEmoji},e))})),I(E.default,{className:g.default.sticker,size:90,sticker:r}),I(m.default,{color:m.default.Colors.HEADER_PRIMARY,size:m.default.Sizes.SIZE_12,className:g.default.stickerName},void 0,r.name),null!=r.user&&I("div",{className:g.default.user},void 0,I(i.default,{className:g.default.userAvatar,size:y.default.Sizes.SIZE_16,user:r.user}),I(m.default,{color:m.default.Colors.HEADER_SECONDARY,size:m.default.Sizes.SIZE_12},void 0,r.user.username)),I("div",{className:g.default.actions},void 0,I(s.default,{className:(0,o.default)(g.default.action,g.default.actionEdit),onClick:P},void 0,I(p.default,{className:g.default.icon})),I(s.default,{className:(0,o.default)(g.default.action,g.default.actionRemove),onClick:R},void 0,I(c.default,{className:g.default.icon})))),O&&I(d.default,{className:g.default.spinner}))}))};b.displayName="GuildStickerCard";var M=b;t.default=M},function(e,t,n){e.exports=n.p+"aba6e7203fb389c111886a52373ada06.svg"},function(e,t,n){e.exports=n.p+"bd8311f30604bc3a780e3a97cbf1af64.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GuildSettingsTemplateNotice=V,t.default=Y,t.GuildSettingsTemplateMetadataStore=void 0;var r,a=k(n(0)),o=w(n(9)),i=w(n(23)),l=k(n(3)),u=w(n(2)),s=w(n(8688)),d=w(n(8292)),f=w(n(195)),c=w(n(1178)),p=w(n(1176)),v=n(296),y=w(n(9909)),m=w(n(8743)),_=w(n(8255)),h=w(n(39)),E=w(n(29)),g=w(n(151)),S=w(n(8272)),O=w(n(153)),I=n(131),T=w(n(729)),C=w(n(686)),b=n(466),M=n(41),N=w(n(24)),A=n(1),P=w(n(6)),R=w(n(7755)),L=w(n(370)),D=w(n(5712));function w(e){return e&&e.__esModule?e:{default:e}}function j(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return j=function(){return e},e}function k(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=j();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function U(){return(U=Object.assign||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}).apply(this,arguments)}function G(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function F(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function B(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){F(o,r,a,i,l,"next",e)}function l(e){F(o,r,a,i,l,"throw",e)}i(void 0)}))}}function H(e,t){return(H=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var x=new(function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).name="",t.description="",t.error=null,t.reset=function(){var e,n,r=t.getTemplate();null!=r?(t.name=null!==(e=r.name)&&void 0!==e?e:t.name,t.description=null!==(n=r.description)&&void 0!==n?n:t.description):(t.name="",t.description="");t.emitChange()},t.setName=function(e){t.name=e,t.emitChange()},t.setDescription=function(e){t.description=e,t.emitChange()},t.setError=function(e){t.error=e,t.emitChange()},t.save=B(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c.default.updateGuildTemplate(_.default.getProps().guild.id,t.getTemplate().code,t.name,t.description);case 2:t.emitChange();case 3:case"end":return e.stop()}}),e)}))),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,H(t,n);var a=r.prototype;return a.getTemplate=function(){var e=_.default.getProps().guild;if(null==e)return null;var t=p.default.getForGuild(e.id);return null!=t&&t.state!==v.GuildTemplateStates.RESOLVING?t:null},a.showNotice=function(){var e=this.getTemplate();return null!=e&&(!!this.name&&(this.name.trim()!==e.name||this.description.trim()!==e.description))},r}(l.default.Store))(u.default);function V(){var e=(0,l.useStateFromStores)([h.default],(function(){return h.default.theme})),t=a.useState(!1),n=t[0],r=t[1],o=function(){var e=B(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r(!0),e.next=3,x.save();case 3:r(!1);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return G(d.default,{theme:e,submitting:n,onReset:x.reset,onSave:o})}function W(e){return null!=e&&e.trim().length>=2}function Y(){return G(I.FormSection,{className:L.default.marginBottom4},void 0,G(I.FormTitle,{tag:I.FormTitleTags.H1},void 0,P.default.Messages.GUILD_TEMPLATES),G(I.FormText,{className:L.default.marginBottom20,type:I.FormTextTypes.DESCRIPTION},void 0,P.default.Messages.GUILD_TEMPLATE_SETTINGS_DESCRIPTION.format()),Z,G(I.FormDivider,{className:R.default.divider}),K)}function z(){var e=_.default.getProps().guild;(0,i.default)(null!=e,"guild cannot be null");var t=(0,l.useStateFromStores)([x],(function(){return x.error})),n=a.useState(!0),r=n[0],o=n[1],u=function(e){var t=a.useState(!0),n=t[0],r=t[1];return a.useEffect((function(){function t(){return(t=B(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r(!0),t.prev=1,t.next=4,c.default.loadTemplatesForGuild(e);case 4:r(!1),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(1),x.setError(new f.default(t.t0));case 10:case"end":return t.stop()}}),t,null,[[1,7]])})))).apply(this,arguments)}!function(){t.apply(this,arguments)}()}),[e]),{loading:n,guildTemplate:(0,l.useStateFromStores)([p.default],(function(){return p.default.getForGuild(e)}),[e])}}(e.id),s=u.loading,d=u.guildTemplate;return a.useEffect((function(){if(r&&!s){var e,t;if(null!=d)x.setName(null!==(e=d.name)&&void 0!==e?e:""),x.setDescription(null!==(t=d.description)&&void 0!==t?t:"");o(!1)}}),[r,d,s]),a.useEffect((function(){return function(){x.reset(),x.setError(null)}}),[]),r?t?G(N.default,{color:N.default.Colors.ERROR},void 0,t.message):G(g.default,{className:L.default.marginTop40}):a.createElement(a.Fragment,null,J,G(Q,{guild:e,guildTemplate:d}),null!=(null==t?void 0:t.message)&&G(N.default,{className:L.default.marginTop8,color:N.default.Colors.ERROR},void 0,t.message))}t.GuildSettingsTemplateMetadataStore=x,V.displayName="GuildSettingsTemplateNotice",Y.displayName="GuildSettingsTemplate";var K=G(z,{});function $(){return G("div",{className:R.default.descriptionBox},void 0,G("div",{className:R.default.descriptionSection},void 0,G("h5",{className:(0,o.default)(R.default.descriptionTitle,D.default.h5)},void 0,P.default.Messages.GUILD_TEMPLATES_FORM_DESCRIPTION_WILL_COPY),G("div",{className:R.default.descriptionRow},void 0,G(T.default,{className:R.default.descriptionIcon,color:A.Colors.STATUS_GREEN_600,backgroundColor:A.Colors.WHITE}),P.default.Messages.GUILD_TEMPLATES_FORM_DESCRIPTION_CHANNELS),G("div",{className:R.default.descriptionRow},void 0,G(T.default,{className:R.default.descriptionIcon,color:A.Colors.STATUS_GREEN_600,backgroundColor:A.Colors.WHITE}),P.default.Messages.GUILD_TEMPLATES_FORM_DESCRIPTION_ROLES),G("div",{className:R.default.descriptionRow},void 0,G(T.default,{className:R.default.descriptionIcon,color:A.Colors.STATUS_GREEN_600,backgroundColor:A.Colors.WHITE}),P.default.Messages.GUILD_TEMPLATES_FORM_DESCRIPTION_SETTINGS)),G("div",{className:R.default.descriptionSection},void 0,G("h5",{className:(0,o.default)(R.default.descriptionTitle,D.default.h5)},void 0,P.default.Messages.GUILD_TEMPLATES_FORM_DESCRIPTION_WONT_COPY),G("div",{className:R.default.descriptionRow},void 0,G(C.default,{className:R.default.descriptionIcon,color:A.Colors.STATUS_RED,backgroundColor:A.Colors.WHITE}),P.default.Messages.GUILD_TEMPLATES_FORM_DESCRIPTION_MESSAGES),G("div",{className:R.default.descriptionRow},void 0,G(C.default,{className:R.default.descriptionIcon,color:A.Colors.STATUS_RED,backgroundColor:A.Colors.WHITE}),P.default.Messages.GUILD_TEMPLATES_FORM_DESCRIPTION_MEMBERS),G("div",{className:R.default.descriptionRow},void 0,G(C.default,{className:R.default.descriptionIcon,color:A.Colors.STATUS_RED,backgroundColor:A.Colors.WHITE}),P.default.Messages.GUILD_TEMPLATES_FORM_DESCRIPTION_PERKS)))}$.displayName="DescriptionBox";var Z=G($,{});function q(e){var t=e.cancel,n=e.confirm;return G(b.DeclarativeConfirmModal,{dismissable:!0,header:P.default.Messages.GUILD_TEMPLATES_DELETE_TEMPLATE,confirmText:P.default.Messages.GUILD_TEMPLATES_DELETE_TEMPLATE,cancelText:P.default.Messages.CANCEL,onCancel:t,onConfirm:n},void 0,G(N.default,{size:N.default.Sizes.SIZE_16,color:N.default.Colors.STANDARD},void 0,P.default.Messages.GUILD_TEMPLATES_DELETE_DESCRIPTION))}function X(){var e=(0,l.useStateFromStores)([x],(function(){return x.name})),t=(0,l.useStateFromStores)([x],(function(){return x.description})),n=(0,l.useStateFromStores)([x],(function(){return x.error}));return a.createElement(a.Fragment,null,G(I.FormItem,{className:L.default.marginBottom20,title:P.default.Messages.GUILD_TEMPLATES_FORM_LABEL_NAME,error:null==n?void 0:n.getFieldMessage("name")},void 0,G(O.default,{value:e,onChange:function(e){return x.setName(e)},placeholder:P.default.Messages.GUILD_TEMPLATES_FORM_PLACEHOLDER_NAME,maxLength:100})),G(I.FormItem,{className:L.default.marginBottom20,title:P.default.Messages.GUILD_TEMPLATES_FORM_LABEL_DESCRIPTION,error:null==n?void 0:n.getFieldMessage("description")},void 0,G(S.default,{value:t,onChange:function(e){return x.setDescription(e)},placeholder:P.default.Messages.GUILD_TEMPLATES_FORM_PLACEHOLDER_DESCRIPTION,maxLength:120})))}q.displayName="ConfirmDeleteModal";var J=G(X,{});function Q(e){var t=e.guild,n=e.guildTemplate;return null==n?G(ee,{guild:t}):a.createElement(a.Fragment,null,G(I.FormItem,{title:P.default.Messages.GUILD_TEMPLATES_FORM_LABEL_LINK},void 0,G(s.default,{buttonLook:E.default.Looks.FILLED,buttonColor:E.default.Colors.BRAND,value:(0,y.default)(n.code)})),n.isDirty&&G(N.default,{color:N.default.Colors.STATUS_YELLOW,className:L.default.marginTop8},void 0,P.default.Messages.GUILD_TEMPLATES_UNSYNCED_WARNING),G("div",{className:(0,o.default)(L.default.marginTop20,R.default.buttonContainer)},void 0,n.isDirty&&G(te,{guild:t,guildTemplate:n}),G("div",{className:R.default.rightButtonContainer},void 0,G(ne,{guild:t,guildTemplate:n}),G(re,{guildTemplate:n}))),n.isDirty&&G("div",{className:R.default.lastSync},void 0,P.default.Messages.GUILD_TEMPLATES_LAST_SYNC.format({timestamp:new Date(n.updatedAt)})))}function ee(e){var t=e.guild,n=(0,l.useStateFromStores)([x],(function(){return x.name})),r=a.useState(!1),o=r[0],i=r[1],u=function(){var e=B(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return x.setError(null),i(!0),e.prev=2,e.next=5,c.default.createGuildTemplate(t.id,x.name,x.description);case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(2),x.setError(new f.default(e.t0));case 10:i(!1);case 11:case"end":return e.stop()}}),e,null,[[2,7]])})));return function(){return e.apply(this,arguments)}}();return G(E.default,{submitting:o,disabled:!W(n),color:E.default.Colors.BRAND,onClick:u},void 0,P.default.Messages.GUILD_TEMPLATES_CREATE_LINK)}function te(e){var t=e.guild,n=e.guildTemplate,r=a.useState(!1),o=r[0],i=r[1],l=function(){var e=B(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return x.setError(null),i(!0),e.prev=2,e.next=5,c.default.syncGuildTemplate(t.id,n.code);case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(2),x.setError(new f.default(e.t0));case 10:i(!1);case 11:case"end":return e.stop()}}),e,null,[[2,7]])})));return function(){return e.apply(this,arguments)}}();return G(E.default,{submitting:o,className:R.default.button,onClick:l},void 0,P.default.Messages.GUILD_TEMPLATES_SYNC_TEMPLATE)}function ne(e){var t=e.guild,n=e.guildTemplate,r=a.useState(!1),o=r[0],i=r[1],l=function(){var e=B(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return x.setError(null),e.prev=1,e.next=4,c.default.deleteGuildTemplate(t.id,n.code);case 4:x.setName(""),x.setDescription(""),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),x.setError(new f.default(e.t0));case 11:i(!1);case 12:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(){return e.apply(this,arguments)}}();return a.createElement(a.Fragment,null,G(E.default,{look:E.default.Looks.OUTLINED,className:R.default.button,color:E.default.Colors.RED,onClick:function(){return i(!0)}},void 0,P.default.Messages.GUILD_TEMPLATES_DELETE_TEMPLATE),o?G(q,{confirm:l,cancel:function(){return i(!1)}}):null)}function re(e){var t=e.guildTemplate;return G(E.default,{color:E.default.Colors.GREY,className:R.default.button,onClick:function(){return(0,M.openModal)((function(e){return a.createElement(m.default,U({},e,{guildTemplate:t}))}))}},void 0,P.default.Messages.GUILD_TEMPLATES_PREVIEW_TEMPLATE)}ee.displayName="GenerateTemplateButton",te.displayName="SyncTemplateButton",re.displayName="PreviewTemplateButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===e&&(e="");void 0===t&&(t=!0);var n=window.GLOBAL_ENV.GUILD_TEMPLATE_HOST,r="/"+e;return(t?""+location.protocol:"")+"//"+n+r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=l(n(6)),i=l(n(7756));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){return e.showDirtyIndicator?s("div",{className:i.default.container},void 0,o.default.Messages.GUILD_TEMPLATES,s("div",{className:i.default.dot})):a.createElement(a.Fragment,null,o.default.Messages.GUILD_TEMPLATES)}d.displayName="GuildSettingsTemplateLabel"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.useStateFromStores)([u.default],(function(){return u.default.getProps()})).guild,t=(0,l.useThreadsOptInConfig)(e);return null==e?null:a.createElement(a.Fragment,null,E("div",{className:y.default.container},void 0,E("img",{src:m.default,className:y.default.banner,alt:""}),E(p.default,{size:p.default.Sizes.SIZE_24},void 0,"Say Hello to Threads!"),E(v.default,{color:v.default.Colors.HEADER_SECONDARY,size:v.default.Sizes.SIZE_16,className:y.default.body},void 0,"Threads are temporary sub-discussions within a channel that keep conversations focused in your server. And they're coming soon.")),t.viewBots?E(R,{guild:e,config:t}):null)};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=_(n(14)),l=n(1209),u=_(n(8255)),s=_(n(271)),d=_(n(29)),f=n(131),c=_(n(159)),p=_(n(47)),v=_(n(24)),y=_(n(7757)),m=_(n(9912));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var g=E("p",{},void 0,"Since it looks like you might be a bot developer, we want to share an exciting update: Maintainers of bots who want to ",E("strong",{},void 0,"get those bots updated")," before Threads launches can enable Threads in"," ",E("strong",{},void 0,"small testing servers")," to get a head start!"),S=E(c.default,{},void 0,"Qualifying servers must:"),O=E("li",{},void 0,"Have fewer than five members, one of which is a bot"),I=E("li",{},void 0,"Be using the Canary or PTB desktop Discord client"),T=E("p",{},void 0,"If you meet those requirements, just click the button above."),C=E(c.default,{},void 0,"Please keep in mind:"),b=E("li",{},void 0,"If you go above the five member limit, or stop using canary, etc, you won't be able to keep testing Threads"),M=E("li",{},void 0,"Threads are still in development, so there will be issues, bear with us please :D"),N=E("li",{},void 0,"To help with testing, premium Thread features will be enabled until Threads fully launches"),A=E("li",{},void 0,"Be sure to check out ",E(s.default,{href:"https://discord.com/developers/docs/topics/threads"},void 0,"the docs")),P=E("li",{},void 0,"Hype!");function R(e){var t=e.guild,n=e.config,r=a.useState(15),o=r[0],l=r[1];return a.useEffect((function(){var e=setInterval((function(){l((function(t){return--t<=0&&clearInterval(e),t}))}),1e3);return function(){return clearInterval(e)}}),[]),a.createElement(a.Fragment,null,n.enableBots?o>0?E(d.default,{className:y.default.button,disabled:!0},void 0,"Enable Threads (",o,")"):E(d.default,{className:y.default.button,onClick:function(){i.default.post("/guilds/"+t.id+"/threads/bot-opt-in")}},void 0,"Enable Threads"):E(d.default,{className:y.default.button,disabled:!0},void 0,"Threads Enabled"),E(v.default,{size:v.default.Sizes.SIZE_14},void 0,g,E(f.FormDivider,{className:y.default.divider}),S,E("ul",{className:y.default.list},void 0,O,I),T,E(f.FormDivider,{className:y.default.divider}),C,E("ul",{className:y.default.list},void 0,b,M,N,A,P)))}},function(e,t,n){e.exports=n.p+"a2f58145ca2b860e613b54a32ddc6d9f.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GuildSettingsVanityURLNotice=void 0;var r,a=M(n(0)),o=C(n(3)),i=n(9914),l=C(n(8316)),u=C(n(8292)),s=C(n(1258)),d=C(n(8255)),f=C(n(8983)),c=C(n(160)),p=C(n(29)),v=C(n(467)),y=C(n(55)),m=C(n(9915)),_=C(n(151)),h=C(n(681)),E=M(n(474)),g=M(n(159)),S=C(n(24)),O=n(1),I=C(n(6)),T=C(n(7759));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var P=o.default.connectStores([d.default,f.default],(function(){var e=f.default.vanityURLCode,t=d.default.getGuildId();return{vanityURLCode:e,guildId:t,onReset:function(){(0,i.resetCode)()},onSave:function(){null!=t&&(0,i.saveCode)(t,e)}}}))(u.default);t.GuildSettingsVanityURLNotice=P;var R=N(_.default,{}),L=N(l.default,{}),D=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={isRemoving:!1},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,A(t,n);var a=r.prototype;return a.componentWillUnmount=function(){(0,i.close)()},a.renderEditCard=function(){var e=this.state.isRemoving,t=this.props,n=t.hasError,r=t.originalVanityURLCode,a=t.vanityURLCode,o=t.vanityURLUses;return null==a?R:N(v.default,{editable:!0,className:T.default.editVanityUrlCard},void 0,N(g.default,{},void 0,N(y.default,{},void 0,N("div",{className:T.default.formTitleField},void 0,I.default.Messages.INVITE_URL),a.length>0?N("div",{},void 0,I.default.Messages.VANITY_URL_USES.format({uses:o})):null)),N(m.default,{prefix:O.INVITE_ENDPOINT+"/",value:a,onChange:this.handleInviteCodeChange,maxLength:25,autoFocus:!0,error:n}),null!=r&&r.length>0?N(p.default,{className:T.default.removeVanityUrlButton,onClick:this.handleRemoveVanityURL,submitting:e,look:p.default.Looks.LINK,size:p.default.Sizes.MIN,color:p.default.Colors.RED},void 0,I.default.Messages.REMOVE_VANITY_URL):null)},a.renderInfo=function(){var e=this.props,t=e.hasError,n=e.originalVanityURLCode;if(t)return N(S.default,{size:S.default.Sizes.SIZE_16,color:S.default.Colors.STATUS_RED,className:T.default.marginTop20},void 0,I.default.Messages.CHANGE_VANITY_URL_ERROR);if(null!=n&&n.length>0){var r=(0,s.default)(n);return N(E.default,{className:T.default.marginTop20,type:E.Types.LABEL_DESCRIPTOR},void 0,I.default.Messages.VANITY_URL_HELP_EXTENDED_LINK.format({urlText:r,urlValue:r}))}},a.handleRemoveVanityURL=function(){(0,i.setCode)("")},a.handleInviteCodeChange=function(e){(0,i.setCode)(e.replace(/ /g,"-"))},a.render=function(){return this.props.hide?L:N(h.default,{tag:g.Tags.H1,title:I.default.Messages.VANITY_URL},void 0,N(E.default,{type:E.Types.DESCRIPTION,className:T.default.marginBottom8},void 0,I.default.Messages.VANITY_URL_HELP),N(E.default,{type:E.Types.DESCRIPTION,className:T.default.marginBottom20},void 0,I.default.Messages.VANITY_URL_HELP_CONFLICT),this.renderEditCard(),this.renderInfo())},r}(a.PureComponent);D.displayName="GuildSettingsVanityURL";var w=o.default.connectStores([d.default,f.default,c.default],(function(){return{vanityURLCode:f.default.vanityURLCode,vanityURLUses:f.default.vanityURLUses,originalVanityURLCode:f.default.originalVanityURLCode,guildId:d.default.getGuildId(),hasError:f.default.hasError(),hide:c.default.hideInstantInvites}}))(D);t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.close=function(){a.default.dispatch({type:o.ActionTypes.GUILD_SETTINGS_VANITY_URL_CLOSE})},t.resetCode=function(){a.default.dispatch({type:o.ActionTypes.GUILD_SETTINGS_VANITY_URL_RESET})},t.setCode=function(e){a.default.dispatch({type:o.ActionTypes.GUILD_SETTINGS_VANITY_URL_SET,code:e})},t.saveCode=function(e,t){return r.default.patch({url:o.Endpoints.GUILD_VANITY_URL(e),body:{code:t},oldFormErrors:!0}).then((function(e){var t=e.body,n=t.code,r=t.uses;a.default.dispatch({type:o.ActionTypes.GUILD_SETTINGS_SET_VANITY_URL,code:n,uses:r})}),(function(){a.default.dispatch({type:o.ActionTypes.GUILD_SETTINGS_VANITY_URL_ERROR})}))};var r=i(n(14)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=s(n(55)),l=s(n(7758)),u=s(n(370));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){var t,n;function r(t){var n;(n=e.call(this,t)||this).setInputRef=function(e){n._inputRef=e},n.handleChange=function(e){(0,n.props.onChange)(e.currentTarget.value)},n.handleFocus=function(){n.setState({focused:!0})},n.handleBlur=function(){n.setState({focused:!1})},n.handleFocusInput=function(){null!=n._inputRef&&n._inputRef.focus()};var r=n.props.autoFocus;return n.state={focused:null!=r&&r},n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),r.prototype.render=function(){var e,t=this.state.focused,n=this.props,r=n.value,s=n.placeholder,d=n.error,c=n.className,p=n.maxLength,v=n.autoFocus,y=n.prefix;return f(i.default,{align:i.default.Align.CENTER,justify:i.default.Justify.START,className:(0,o.default)(l.default.prefixInput,c,(e={},e[l.default.focused]=t,e[l.default.error]=d,e)),onClick:this.handleFocusInput},void 0,f(i.default.Child,{grow:0,className:l.default.prefixInputPrefix},void 0,y),f(i.default.Child,{className:u.default.marginReset},void 0,a.createElement("input",{ref:this.setInputRef,className:l.default.prefixInputInput,value:r,placeholder:s,maxLength:p,onChange:this.handleChange,onFocus:this.handleFocus,onBlur:this.handleBlur,autoFocus:v})))},r}(a.PureComponent);p.displayName="PrefixInput";var v=p;t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=A(n(0)),o=M(n(9)),i=M(n(8)),l=M(n(3)),u=M(n(8254)),s=M(n(8316)),d=M(n(8688)),f=n(180),c=M(n(10)),p=M(n(8255)),v=M(n(70)),y=M(n(160)),m=M(n(12)),_=M(n(55)),h=M(n(1159)),E=M(n(8267)),g=M(n(1165)),S=M(n(476)),O=M(n(681)),I=A(n(474)),T=A(n(159)),C=M(n(6)),b=M(n(370));function M(e){return e&&e.__esModule?e:{default:e}}function N(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return N=function(){return e},e}function A(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=N();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function P(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var L=P(s.default,{}),D=function(e){var t,r;function a(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={internalEnabled:t.props.widgetEnabled,widgetEnabledProp:t.props.widgetEnabled},t.renderToggle=function(){return P(E.default,{className:b.default.marginBottom40,value:t.state.internalEnabled,onChange:t.handleToggleWidget},void 0,C.default.Messages.GUILD_SETTINGS_WIDGET_ENABLE_WIDGET)},t.handleToggleWidget=function(e){var n=t.props,r=n.guild,a=n.widgetChannelId;null!=r&&(t.setState({internalEnabled:e}),u.default.updateEmbed(r.id,e,a))},t.handleChannelSelect=function(e){var n=e.value,r=t.props,a=r.guild,o=r.widgetEnabled;null!=a&&u.default.updateEmbed(a.id,o,"NO_INSTANT_INVITE"!==n?n:null)},t}r=e,(t=a).prototype=Object.create(r.prototype),t.prototype.constructor=t,R(t,r),a.getDerivedStateFromProps=function(e,t){var n=e.widgetEnabled;return n!==t.widgetEnabledProp?{internalEnabled:n,widgetEnabledProp:n}:null};var l=a.prototype;return l.renderChannelSelect=function(e){var t=this.props.widgetChannelId,n=(0,i.default)(c.default.getMutableGuildChannels()).filter((function(t){return t.guild_id===e.id})).map((function(e){return{value:e.id,label:(0,f.computeChannelName)(e,m.default,v.default,!0)}})).value(),r={value:"NO_INSTANT_INVITE",label:C.default.Messages.NO_INSTANT_INVITE};n.unshift(r);var a=t||r;return P(S.default,{title:C.default.Messages.FORM_LABEL_INSTANT_INVITE_CHANNEL},void 0,P(h.default,{className:b.default.marginBottom20,options:n,value:a,onChange:this.handleChannelSelect,searchable:!1,clearable:!1}),P(I.default,{type:I.Types.DESCRIPTION},void 0,C.default.Messages.FORM_HELP_INSTANT_INVITE_CHANNEL))},l.renderAPIInfo=function(e){var t=""+location.protocol+window.GLOBAL_ENV.API_ENDPOINT+"/guilds/"+e.id+"/widget.json";return P(_.default,{},void 0,P(_.default.Child,{},void 0,P(S.default,{title:C.default.Messages.FORM_LABEL_SERVER_ID},void 0,P(d.default,{value:e.id}))),P(_.default.Child,{},void 0,P(S.default,{title:C.default.Messages.FORM_LABEL_JSON_API},void 0,P(d.default,{value:t}))))},l.renderWidget=function(e){var t='<iframe src="'+(""+location.protocol+window.GLOBAL_ENV.WIDGET_ENDPOINT+"?id="+e.id+"&theme=dark")+'" width="350" height="500" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>';return P(_.default,{direction:_.default.Direction.VERTICAL},void 0,P(T.default,{},void 0,C.default.Messages.FORM_LABEL_PREMADE_WIDGET),P(_.default,{},void 0,P(_.default.Child,{basis:"50%"},void 0,P(S.default,{},void 0,P(d.default,{value:t}),P(I.default,{type:I.Types.DESCRIPTION},void 0,C.default.Messages.GUILD_SETTINGS_WIDGET_EMBED_HELP.format()))),P(_.default.Child,{basis:"50%"},void 0,P("img",{"data-accessibility":"desaturate",alt:"",src:n(9917)}))))},l.render=function(){var e=this.props.guild;return null==e?null:this.props.hide?L:P(O.default,{tag:T.Tags.H1,title:C.default.Messages.GUILD_SETTINGS_TITLE_SERVER_WIDGET},void 0,this.renderToggle(),this.renderChannelSelect(e),P(g.default,{className:(0,o.default)(b.default.marginTop40,b.default.marginBottom40)}),this.renderAPIInfo(e),P(g.default,{className:(0,o.default)(b.default.marginTop40,b.default.marginBottom40)}),this.renderWidget(e))},a}(a.PureComponent);D.displayName="GuildSettingsWidget";var w=l.default.connectStores([p.default,y.default],(function(){var e=p.default.getProps();return{guild:e.guild,widgetChannelId:e.embedChannelId,widgetEnabled:e.embedEnabled,hide:y.default.enabled}}))(D);t.default=w},function(e,t,n){e.exports=n.p+"4697ec960e57790ad4f6251af4c246b4.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=A(n(23)),i=n(3),l=n(275),u=A(n(9919)),s=n(9920),d=A(n(9921)),f=n(9922),c=A(n(8255)),p=A(n(15)),v=A(n(29)),y=A(n(9181)),m=(n(131),A(n(681))),_=n(159),h=A(n(9182)),E=A(n(466)),g=n(41),S=A(n(47)),O=n(374),I=A(n(24)),T=A(n(93)),C=n(1),b=A(n(6)),M=A(n(7761)),N=A(n(9925));function A(e){return e&&e.__esModule?e:{default:e}}function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(){return(R=Object.assign||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}).apply(this,arguments)}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function D(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function w(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){D(o,r,a,i,l,"next",e)}function l(e){D(o,r,a,i,l,"throw",e)}i(void 0)}))}}var j=function(){return L(m.default,{title:b.default.Messages.GUILD_MONETIZATION_TICKETING_INSIGHTS_SECTION},void 0,L(S.default,{className:M.default.enableTicketingDescription},void 0,b.default.Messages.GUILD_MONETIZATION_TICKETING_INSIGHTS_DESCRIPTION))};j.displayName="TicketingInsightsSection";var k=function(){return L("div",{className:M.default.ticketingEnabledContainer},void 0,L("img",{src:N.default,alt:"",className:M.default.ticketingEnabledIcon}),L("div",{},void 0,L(S.default,{className:M.default.ticketingEnabledTitle},void 0,b.default.Messages.GUILD_MONETIZATION_TICKETING_ENABLED_BADGE_TITLE),L(I.default,{color:I.default.Colors.HEADER_SECONDARY},void 0,b.default.Messages.GUILD_MONETIZATION_TICKETING_ENABLED_BADGE_SUBTITLE.format({URL:T.default.getSubmitRequestURL()}))))};k.displayName="TicketingEnabledBadge";var U=L(k,{}),G=function(){var e=a.useState(),t=e[0],n=e[1],r=(0,i.useStateFromStores)([c.default],(function(){return c.default.getGuildId()})),T=(0,i.useStateFromStores)([p.default],(function(){return p.default.getGuild(r)})),N=function(){var e=a.useState([]),t=e[0],n=e[1],r=a.useState(!1),o=r[0],i=r[1],l=function(){var e=w(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i(!0),e.prev=1,e.next=4,d.default.fetchTeams(!0);case 4:t=e.sent,n(t.body),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(1);case 10:i(!1);case 11:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(){return e.apply(this,arguments)}}();return a.useEffect((function(){l()}),[]),{teams:t,loading:o}}().teams,A=function(){var e=a.useState(!1),t=e[0],n=e[1],r=a.useState(),o=r[0],i=r[1];return{createTicketingApplication:function(){var e=w(regeneratorRuntime.mark((function e(t,r){var a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n(!0),i(null),e.prev=2,e.next=5,u.default.createApplication({name:b.default.Messages.GUILD_MONETIZATION_APP_NAME.format({guildName:t.name}),guildId:t.id,type:s.ApplicationTypes.GUILD_MONETIZATION,teamId:r});case 5:e.next=12;break;case 7:e.prev=7,e.t0=e.catch(2),a=new l.APIError(e.t0),console.error(e.t0),i(a.getAnyErrorMessage());case 12:n(!1);case 13:case"end":return e.stop()}}),e,null,[[2,7]])})));return function(t,n){return e.apply(this,arguments)}}(),submitting:t,error:o}}(),P=A.createTicketingApplication,D=A.submitting,j=A.error,k=N.filter((function(e){return e.payout_account_status===f.PayoutAccountStatuses.ACTIVE})).map((function(e){return{label:e.name,value:e.id}})),G=function(){(0,o.default)(null!=T,"No guild provided"),(0,o.default)(null!=t,"No team selected"),P(T,t)},F=(null==T?void 0:T.hasFeature(C.GuildFeatures.TICKETED_EVENTS_ENABLED))||!1;return L(m.default,{tag:_.Tags.H1,title:b.default.Messages.GUILD_MONETIZATION_TICKETING_SETTINGS_PAGE_TITLE},void 0,L(I.default,{size:I.default.Sizes.SIZE_14,color:I.default.Colors.HEADER_SECONDARY,className:M.default.intro},void 0,b.default.Messages.GUILD_MONETIZATION_TICKETING_SETTINGS_PAGE_DESCRIPTION),F?a.createElement(a.Fragment,null,U,!1):L(m.default,{title:b.default.Messages.GUILD_MONETIZATION_ENABLE_TICKETING_SECTION_TITLE},void 0,L(I.default,{size:I.default.Sizes.SIZE_14,color:I.default.Colors.HEADER_SECONDARY,className:M.default.enableTicketingDescription},void 0,b.default.Messages.GUILD_MONETIZATION_ENABLE_TICKETING_DESCRIPTION.format({createTeamURL:C.MarketingURLs.DEVELOPER_PORTAL_TEAMS})),L("div",{className:M.default.selectTeamContainer},void 0,L(O.SingleSelect,{className:M.default.teamSelect,options:k,placeholder:b.default.Messages.GUILD_MONETIZATION_ENABLE_TICKETING_SELECT_PLACEHOLDER,value:t,isDisabled:0===k.length,onChange:function(e){return n(e)}}),L(v.default,{onClick:function(){var e;e=G,(0,g.openModal)((function(t){return a.createElement(E.default,R({confirmButtonColor:v.default.Colors.BRAND,confirmText:b.default.Messages.GUILD_MONETIZATION_ENABLE_TICKETING_CTA,cancelText:b.default.Messages.CANCEL,onConfirm:e},t),L("div",{className:M.default.confirmationBody},void 0,L(y.default,{Icon:h.default,className:M.default.confirmationIcon}),L(S.default,{size:S.default.Sizes.SIZE_24,className:M.default.confirmationHeader},void 0,b.default.Messages.GUILD_MONETIZATION_ENABLE_TICKETING_CONFIRMATION_TITLE),L(I.default,{size:I.default.Sizes.SIZE_16,color:I.default.Colors.HEADER_SECONDARY,className:M.default.confirmationBody},void 0,b.default.Messages.GUILD_MONETIZATION_ENABLE_TICKETING_CONFIRMATION_SUBTITLE)))}))},className:M.default.enableTicketingButton,submitting:D,disabled:null==t},void 0,b.default.Messages.GUILD_MONETIZATION_ENABLE_TICKETING_CTA)),null!=j&&L(I.default,{className:M.default.error},void 0,j)))};G.displayName="GuildSettingsTicketedEvents";var F=G;t.default=F},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(14))&&r.__esModule?r:{default:r},o=n(1);var i={createApplication:function(e){var t=e.name,n=e.guildId,r=e.type,i=e.teamId;return a.default.post({url:o.Endpoints.APPLICATIONS,body:{name:t,type:r,guild_id:n,team_id:i}})}};t.default=i},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ApplicationTypes=void 0,t.ApplicationTypes=r,function(e){e[e.GAME=1]="GAME",e[e.MUSIC=2]="MUSIC",e[e.GUILD_MONETIZATION=3]="GUILD_MONETIZATION"}(r||(t.ApplicationTypes=r={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(14))&&r.__esModule?r:{default:r},o=n(1);var i={fetchTeams:function(e){return void 0===e&&(e=!1),a.default.get({url:o.Endpoints.TEAMS,query:{include_payout_account_status:e}})}};t.default=i},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.PayoutAccountStatuses=void 0,t.PayoutAccountStatuses=r,function(e){e[e.UNSUBMITTED=1]="UNSUBMITTED",e[e.PENDING=2]="PENDING",e[e.ACTION_REQUIRED=3]="ACTION_REQUIRED",e[e.ACTIVE=4]="ACTIVE",e[e.BLOCKED=5]="BLOCKED",e[e.SUSPENDED=6]="SUSPENDED"}(r||(t.PayoutAccountStatuses=r={}))},function(e,t,n){e.exports=n.p+"605ae14dee1349dcc4e873f5fbf09a8d.svg"},function(e,t,n){e.exports=n.p+"03fb3f616aa0e2d40dfed558d3224cd7.svg"},function(e,t,n){e.exports=n.p+"fb62591562beffd61103a56078d7bd1d.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=s(n(2)),o=n(8838),i=s(n(9927)),l=n(41),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}var c,p,v=null;function y(e){null!=c&&e?c():null!=p&&p(),c=null,p=null}function m(){var e=!1;(0,l.openModal)((function(t){var n=t.onClose,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(t,["onClose"]);return r.createElement(i.default,f({},a,{onClose:function(t){e=t,n()}}))}),{onCloseCallback:function(){(0,o.closeModal)(e)}})}var _={init:function(){a.default.subscribe(u.ActionTypes.PREMIUM_REQUIRED_MODAL_OPEN,(function(e){y(!1),v=e.context,c=e.resolve,p=e.reject,u.CURRENT_APP_CONTEXT===e.context&&m()})),a.default.subscribe(u.ActionTypes.PREMIUM_REQUIRED_MODAL_CLOSE,(function(e){var t=e.shouldContinue;v=null,y(t)})),a.default.subscribe(u.ActionTypes.OVERLAY_SET_INPUT_LOCKED,(function(e){e.locked&&null!=v&&(v=null,y(!1))}))}};t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(3)),i=d(n(5993)),l=d(n(12)),u=d(n(96)),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n),r.prototype.render=function(){var e=this.props,t=e.user,n=e.transitionState,r=e.onClose;return c(i.default,{transitionState:n,"aria-label":s.default.Messages.PREMIUM_REQUIRED},void 0,c(i.default.Header,{onClose:function(){return r(!1)}},void 0,s.default.Messages.PREMIUM_REQUIRED),c(i.default.Content,{type:i.default.Types.UPGRADE},void 0,t.premiumType&&!u.default.canInstallPremiumApplications(t)?s.default.Messages.PREMIUM_UPGRADE_REQUIRED_BODY:s.default.Messages.PREMIUM_SUBSCRIPTION_REQUIRED_BODY),c(i.default.Footer,{primary:{onClick:function(){return r(!0)},label:s.default.Messages.PREMIUM_REQUIRED_GET_NITRO}}))},r}(a.Component);v.displayName="PremiumRequiredModal";var y=o.default.connectStores([l.default],(function(){return{user:l.default.getCurrentUser()}}))(v);t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=s(n(2)),o=n(8615),i=s(n(9929)),l=n(41),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}var c,p,v=null,y=null;function m(e){null!=c&&null!=v?c(v):null!=p&&p(e),c=null,p=null}function _(e,t,n,a){var s=null;(0,l.openModal)((function(o){var l=o.onClose,d=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(o,["onClose"]);return r.createElement(i.default,f({},d,{onClose:function(e){void 0===e&&(e=null),s=e,l()},applicationId:t,skuId:n,analyticsSource:a,isIAP:e===u.AppContext.OVERLAY}))}),{onCloseCallback:function(){(0,o.closePurchaseConfirmationModal)(s)}})}var h={init:function(){a.default.subscribe(u.ActionTypes.PURCHASE_CONFIRMATION_MODAL_OPEN,(function(e){m(),y=e.context,v=e.entitlements,c=e.resolve,p=e.reject,u.CURRENT_APP_CONTEXT===e.context&&_(e.context,e.applicationId,e.skuId,e.analyticsSource)})),a.default.subscribe(u.ActionTypes.PURCHASE_CONFIRMATION_MODAL_CLOSE,(function(e){var t=e.error;y=null,m(t)})),a.default.subscribe(u.ActionTypes.OVERLAY_SET_INPUT_LOCKED,(function(e){e.locked&&null!=y&&(y=null,m())}))}};t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(3)),i=n(5672),l=E(n(8888)),u=E(n(71)),s=E(n(373)),d=E(n(55)),f=E(n(1346)),c=n(35),p=E(n(13)),v=E(n(8889)),y=n(8890),m=n(1),_=E(n(7370)),h=E(n(5838));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var I=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,O(t,n);var a=r.prototype;return a.componentDidMount=function(){var e=this.props,t=e.application,n=e.skuId,r=e.sku,a=e.onClose;null==r?(0,i.fetchSKU)(t.id,n).catch((function(e){return a(e.message)})):this.track(r)},a.componentDidUpdate=function(e){var t=this.props.sku;t!==e.sku&&null!=t&&this.track(t)},a.track=function(e){var t=this.props.analyticsSource;p.default.track(m.AnalyticEvents.OPEN_MODAL,{type:"Application Entitlement Confirmation",source:t,application_id:e.applicationId,sku_id:e.id})},a.render=function(){var e=this.props,t=e.sku,n=e.application,r=e.onClose,a=e.isIAP,o=e.transitionState,i=null!=t?(0,y.getSkuHeaderText)(a,t.type):null;return S(c.ModalRoot,{transitionState:o,size:c.ModalSize.SMALL,"aria-label":i,className:h.default.modal},void 0,S(l.default,{application:n,splashSize:880}),S(f.default.Content,{className:h.default.content},void 0,S(d.default,{direction:d.default.Direction.VERTICAL,className:_.default.confirmContent},void 0,S(c.ModalCloseButton,{onClick:function(){return r()},className:_.default.confirmCloseButton}),null!=t?S(v.default,{application:n,sku:t,isIAP:a,onClose:function(){return r()}}):null)))},r}(a.Component);I.displayName="PurchaseConfirmationModal";var T=o.default.connectStores([u.default,s.default],(function(e){var t=e.applicationId,n=e.skuId;return{application:u.default.getGame(t),sku:s.default.get(n)}}))(I);t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){void 0===e&&(e=1);var t=a.default.getState().guildId;null==t?function(e){var t=a.default.getState(),n=t.channelId,r=t.path,o=t.basePath,i=u.default.getPrivateChannelIds(),s=__OVERLAY__?i:[].concat(p(),i),c=(null==n?(y=r||o,p().findIndex((function(e){return y.startsWith(e)}))):null!=n?s.indexOf(n):0)+e;var y;c>=s.length?c=0:c<0&&(c=s.length-1);var m=s[c];p().includes(m)?(_=m,h=l.default.getCurrentRoute(),_===f.Routes.APPLICATION_STORE&&null!=h?(0,d.transitionToPage)(h):(0,d.transitionToPage)(_)):v(f.ME,m);var _,h}(e):function(e,t){var n=a.default.getState().channelId,o=(0,r.default)(t).map((function(e){return e.channel.id})),i=function(e,t){if(e<0)return t-1;if(e>=t)return 0;return e}(o.indexOf(n)+e,o.length);v(t,o[i])}(e,t)};var r=c(n(8689)),a=c(n(5939)),o=c(n(120)),i=c(n(39)),l=c(n(9185)),u=c(n(699)),s=n(48),d=n(8356),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}var p=function(){return[f.Routes.FRIENDS,f.Routes.STAGE_DISCOVERY,o.default.hasLibraryApplication()&&!i.default.disableGamesTab?f.Routes.APPLICATION_LIBRARY:null,f.Routes.APPLICATION_STORE].filter(s.isNotNullish)};function v(e,t){(0,d.transitionToChannel)(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CREATE_DM_GROUP=void 0;var r,a=n(8356),o=(r=n(107))&&r.__esModule?r:{default:r},i=n(121),l=n(1);var u={binds:["mod+shift+t"],comboKeysBindGlobal:!0,action:function(){return o.default.getGuildId()&&(0,a.transitionToChannel)(l.ME),i.ComponentDispatch.safeDispatch(l.ComponentActions.TOGGLE_DM_CREATE),!1}};t.CREATE_DM_GROUP=u;var s={CREATE_DM_GROUP:u};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CREATE_GUILD=void 0;var r,a=(r=n(8548))&&r.__esModule?r:{default:r},o=n(8588),i=n(41);var l={binds:["mod+shift+n"],comboKeysBindGlobal:!0,action:function(){(0,i.hasModalOpen)(a.default.CREATE_GUILD_MODAL_KEY)?a.default.updateCreateGuildModal({slide:o.CreateGuildSlideTypes.JOIN_GUILD,location:"Keyboard Shortcut"}):a.default.openCreateGuildModal({location:"Keyboard Shortcut"})}};t.CREATE_GUILD=l;var u={CREATE_GUILD:l};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FOCUS_SEARCH=void 0;var r=n(121),a=n(1),o={binds:["mod+f"],comboKeysBindGlobal:!0,action:function(e){e.preventDefault(),e.stopPropagation(),r.ComponentDispatch.dispatch(a.ComponentActions.FOCUS_SEARCH,{prefillCurrentChannel:!0})}};t.FOCUS_SEARCH=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JUMP_TO_CURRENT_CALL=void 0;var r,a=n(8356),o=(r=n(94))&&r.__esModule?r:{default:r},i=n(1);var l={binds:["mod+shift+alt+v"],comboKeysBindGlobal:!0,action:function(e){e.preventDefault(),e.stopPropagation();var t=o.default.getGuildId(),n=o.default.getChannelId();return n&&(0,a.transitionToChannel)(null!=t?t:i.ME,n),!1}};t.JUMP_TO_CURRENT_CALL=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SEARCH_GIFS=void 0;var r=n(121),a=n(1),o={binds:["mod+g"],comboKeysBindGlobal:!0,action:function(){return r.ComponentDispatch.dispatchToLastSubscribed(a.ComponentActions.TOGGLE_GIF_PICKER),!1}};t.SEARCH_GIFS=o;var i={SEARCH_GIFS:o};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SEARCH_STICKERS=void 0;var r=n(121),a=n(1),o={binds:["mod+s"],comboKeysBindGlobal:!0,action:function(){return r.ComponentDispatch.dispatchToLastSubscribed(a.ComponentActions.TOGGLE_STICKER_PICKER),!1}};t.SEARCH_STICKERS=o;var i={SEARCH_STICKERS:o};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(8)),a=d(n(5939)),o=d(n(36)),i=d(n(361)),l=d(n(8690)),u=n(8356),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}var f=r.default.throttle((function(e){void 0===e&&(e=1);var t,n=i.default.getFlattenedGuildIds(),r=a.default.getState().guildId,s=-1;if(r&&(s=n.indexOf(r)),-2===(s+=e)&&(s=n.length-1),s>=n.length||s<0)(0,u.transitionToPage)(l.default.getHomeLink());else{t=n[s];var d=o.default.getChannelId(t);(0,u.transitionToChannel)(t,d===t?null:d,!1)}}),s.NAVIGATION_THROTTLE);t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TOGGLE_CHANNEL_PINS=void 0;var r=n(121),a=n(1),o={binds:["mod+p"],comboKeysBindGlobal:!0,action:function(){return r.ComponentDispatch.dispatch(a.ComponentActions.TOGGLE_CHANNEL_PINS),!1}};t.TOGGLE_CHANNEL_PINS=o;var i={TOGGLE_CHANNEL_PINS:o};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TOGGLE_HELP=void 0;var r=n(93),a={binds:["mod+shift+h","f1"],comboKeysBindGlobal:!0,action:function(){return window.open(r.SUPPORT_LOCATION),!1}};t.TOGGLE_HELP=a;var o={TOGGLE_HELP:a};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MARK_TOP_INBOX_CHANNEL_READ=t.TOGGLE_INBOX_UNREADS_TAB=void 0;var r,a=(r=n(8))&&r.__esModule?r:{default:r},o=n(121),i=n(1);var l={binds:["mod+i"],comboKeysBindGlobal:!0,action:function(){return o.ComponentDispatch.dispatch(i.ComponentActions.TOGGLE_INBOX_UNREADS_TAB),!1}};t.TOGGLE_INBOX_UNREADS_TAB=l;var u={binds:["mod+shift+e"],comboKeysBindGlobal:!0,action:a.default.debounce((function(){if(o.ComponentDispatch.hasSubscribers(i.ComponentActions.MARK_TOP_INBOX_CHANNEL_READ))return o.ComponentDispatch.dispatch(i.ComponentActions.MARK_TOP_INBOX_CHANNEL_READ),!1}),100,{leading:!0})};t.MARK_TOP_INBOX_CHANNEL_READ=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TOGGLE_USERS=void 0;var r,a=(r=n(9186))&&r.__esModule?r:{default:r};var o={binds:["mod+u"],comboKeysBindGlobal:!0,action:function(){return a.default.toggleMembersSection(),!1}};t.TOGGLE_USERS=o;var i={TOGGLE_USERS:o};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(8)),a=f(n(8689)),o=f(n(5939)),i=f(n(361)),l=f(n(699)),u=n(121),s=n(8356),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function c(e){return e===d.ME?l.default.getPrivateChannelIds():(0,a.default)(e).map((function(e){return e.channel.id}))}var p=r.default.throttle((function(e,t,n){void 0===e&&(e=1),void 0===t&&(t=function(e,t){return!0}),void 0===n&&(n=function(e){return!0});for(var r,a=o.default.getState().guildId||d.ME,l=o.default.getState().channelId,f=function(e,t){var n=[d.ME].concat(i.default.getFlattenedGuildIds()),r=n.indexOf(e);return t>0?n.slice(r).concat(n.slice(0,r),e):(n.splice(r,0,e),n.slice(r+1).concat(n.slice(0,r+1)))}(a,e),p=e>0?0:f.length-1,v=c(a),y=v.indexOf(l)+e;a;){if(r=v[y],n(a))for(;r;){if(t(a,r))return(0,s.transitionToChannel)(a,r);r=v[y+=e]}if(!(a=f[p+=e]))break;v=c(a),y=e<0?v.length-1:0}u.ComponentDispatch.dispatch(d.ComponentActions.SHAKE_APP,{duration:200,intensity:2})}),d.NAVIGATION_THROTTLE);t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UPLOAD_FILE=void 0;var r=l(n(10)),a=l(n(36)),o=n(121),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}var u={binds:["mod+shift+u"],comboKeysBindGlobal:!0,action:function(){var e=r.default.getChannel(a.default.getChannelId());return null==e||e.isManaged()||o.ComponentDispatch.dispatch(i.ComponentActions.UPLOAD_FILE),!1}};t.UPLOAD_FILE=u;var s={UPLOAD_FILE:u};t.default=s},function(e,t,n){e.exports=n.p+"a29b29d9bf5197674f91f77296aae66e.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(3)),a=u(n(2)),o=u(n(11)),i=u(n(10)),l=n(8769);n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c={};function p(e,t){var n=c[e];return null!=n&&(!n.has(t)&&(c[e]=new Set(n.add(t)),!0))}var v=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var a=r.prototype;return a.initialize=function(e){this.waitFor(o.default),c={},null!=e&&Object.keys(e).forEach((function(t){var n=e[t];null!=n&&"function"==typeof n[Symbol.iterator]&&(c[t]=new Set(n))}))},a.getProgress=function(e){return c[e]},a.hasProgress=function(e){var t=c[e];return null!=t&&!t.has(l.Steps.DISMISSED)},a.getState=function(){return c},r}(r.default.PersistedStore);v.persistKey="GuildProgressStore";var y=new v(a.default,{CONNECTION_OPEN:function(e){return t=[],Object.keys(c).forEach((function(e){c[e].has(l.Steps.COMPLETED)&&t.push(e)})),void t.forEach((function(e){return p(e,l.Steps.DISMISSED)}));var t},GUILD_PROGRESS_INITIALIZE:function(e){var t=e.guildId;null==c[t]&&(c[t]=new Set),c[t].has(l.Steps.COMPLETED)||c[t].delete(l.Steps.DISMISSED)},GUILD_PROGRESS_COMPLETED_SEEN:function(e){var t=e.guildId;if(null==c[t])return!1;c[t]=new Set(c[t].add(l.Steps.COMPLETED))},GUILD_PROGRESS_DISMISS:function(e){return p(e.guildId,l.Steps.DISMISSED)},GUILD_CREATE:function(e){var t=e.guild;t.owner_id===o.default.getId()&&null!=c[t.id]&&(null!=t.icon&&c[t.id].add(l.Steps.AVATAR),t.member_count>1&&c[t.id].add(l.Steps.INVITE))},CHANNEL_CREATE:function(e){var t=e.channel;return null!=t&&null!=t.guild_id&&null!=c[t.guild_id]&&p(t.guild_id,l.Steps.CHANNEL)},CHANNEL_UPDATES:function(e){for(var t,n=!1,r=d(e.updates);!(t=r()).done;){var a=t.value.channel;null!=a&&null!=a.guild_id&&null!=c[a.guild_id]&&!1!==p(a.guild_id,l.Steps.CHANNEL)&&(n=!0)}return n},GUILD_SETTINGS_SUBMIT_SUCCESS:function(e){var t=e.guild;return null!=t&&(null!=t.id&&null!=c[t.id]&&null!=t.icon&&p(t.id,l.Steps.AVATAR))},MESSAGE_CREATE:function(e){var t=e.channelId,n=e.message,r=i.default.getChannel(t);return n.author.id===o.default.getId()&&null!=r&&null!=c[r.guild_id]&&p(r.guild_id,l.Steps.MESSAGE)},GUILD_MEMBER_LIST_UPDATE:function(e){var t=e.guildId,n=e.memberCount;return null!=c[t]&&n>1&&p(t,l.Steps.INVITE)}});t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=Object.freeze({"voice-conversations":{popoutOffset:{x:45,y:0}},"writing-messages":{prerequisites:["voice-conversations"],popoutOffset:{x:-36,y:0}},"direct-messages":{popoutOffset:{x:50,y:0}},"create-first-server":{popoutOffset:{x:45,y:0}},"organize-by-topic":{popoutOffset:{x:50,y:0}},"instant-invite":{prerequisites:["organize-by-topic"],popoutOffset:{x:-10,y:0}},"whos-online":{prerequisites:["instant-invite"],popoutOffset:{x:-50,y:0}},"server-settings":{prerequisites:["instant-invite"],popoutOffset:{y:32,x:0}},"friends-list":{prerequisites:["instant-invite"],popoutOffset:{x:45,y:0}},"create-more-servers":{prerequisites:["server-settings"],popoutOffset:{x:45,y:0}}});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=m(n(0)),i=v(n(9)),l=v(n(13)),u=m(n(29)),s=v(n(55)),d=v(n(8382)),f=n(1),c=v(n(6)),p=v(n(7763));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,g(e,t)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}!function(e){e.CENTER="center",e.LEFT="left"}(a||(a={}));var S=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={confirmed:!1},t.handleDismiss=function(){var e=t.props.onClickComplete;t.setState({confirmed:!0},(function(){return e&&e()}))},t}E(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this.props.uniqueId;l.default.track(f.AnalyticEvents.SHOW_TUTORIAL,{tutorial:e})},n.componentWillUnmount=function(){l.default.track(f.AnalyticEvents.CLOSE_TUTORIAL,{tutorial:this.props.uniqueId,acknowledged:this.state.confirmed})},n.render=function(){var e,t,n=this.props,r=n.renderMedia,l=n.textAlign,d=n.isLongText,v=n.title,y=n.body,m=n.forceTheme,_=n.onClickSkipAll,E="string"==typeof y?"p":"div",g=l===a.LEFT||d,S=l===a.CENTER||!g;return h(o.Fragment,{},void 0,null!=r&&h(s.default,{className:p.default.mediaContainer,justify:g?s.default.Justify.START:s.default.Justify.CENTER},void 0,r()),h("h4",{className:(0,i.default)((e={},e[p.default.titleCenter]=S,e[p.default.titleLeft]=g,e))},void 0,v),h(E,{className:(0,i.default)((t={},t[p.default.bodyCenter]=S,t[p.default.bodyLeft]=g,t))},void 0,y),h(s.default,{className:p.default.buttonContainer,justify:g?s.default.Justify.BETWEEN:s.default.Justify.CENTER},void 0,h(u.default,{size:u.ButtonSizes.SMALL,onClick:this.handleDismiss},void 0,c.default.Messages.TUTORIAL_CLOSE),h(u.default,{size:u.ButtonSizes.SMALL,look:u.default.Looks.BLANK,onClick:_,color:m===f.ThemeTypes.LIGHT?u.default.Colors.PRIMARY:u.default.Colors.WHITE,className:g?p.default.buttonSkipLeftAlign:p.default.buttonSkipCenterAlign},void 0,c.default.Messages.SKIP_ALL_TIPS)))},t}(o.PureComponent);S.displayName="TutorialPopoutContent";var O=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).popoutRef=o.createRef(),t.onClickComplete=function(){t.popoutRef.current&&t.popoutRef.current.close(),t.props.onComplete()},t.onClickSkipAll=function(){var e=t.props,n=e.onSkipAll,r=e.uniqueId;t.popoutRef.current&&t.popoutRef.current.close(),n(),l.default.track(f.AnalyticEvents.DISMISS_ALL_TUTORIALS,{tutorial:r})},t.renderChildren=function(){return o.createElement(S,_({},t.props,{onClickComplete:t.onClickComplete,onClickSkipAll:t.onClickSkipAll}))},t}return E(t,e),t.prototype.render=function(){var e,t=this.props,n=t.renderMedia,r=(t.textAlign,t.onComplete,t.onSkipAll,t.isLongText),a=(t.title,t.body,t.forceTheme),l=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(t,["renderMedia","textAlign","onComplete","onSkipAll","isLongText","title","body","forceTheme"]),u=null!=n;return o.createElement(d.default,_({forceTheme:a,ref:this.popoutRef},l,{render:this.renderChildren,containerClass:(0,i.default)((e={},e[p.default.topArrow]=l.position===d.default.Positions.BOTTOM,e[p.default.contentNarrowNoMedia]=!r&&!u,e[p.default.contentNarrowWithMedia]=!r&&u,e[p.default.contentWideNoMedia]=r&&!u,e[p.default.contentWideWithMedia]=r&&u,e[p.default.leftArrow]=l.position===d.default.Positions.RIGHT,e[p.default.rightArrow]=l.position===d.default.Positions.LEFT,e))}))},t}(o.PureComponent);t.default=O,O.displayName="TutorialPopout",O.TextAlignments=a,O.defaultProps={textAlign:a.LEFT}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTutorialPopoutAttributes=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(9949)),o=l(n(9950)),i=l(n(9951));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s(o.default,{}),f=s(i.default,{}),c=s(a.default,{}),p=Object.freeze({"voice-conversations":{popoutPosition:"right",highPriority:!0,textAlign:"center",media:function(){return d}},"writing-messages":{popoutPosition:"top",highPriority:!0,textAlign:"center",media:function(){return f}},"direct-messages":{popoutPosition:"right"},"create-first-server":{popoutPosition:"right",highPriority:!0},"organize-by-topic":{popoutPosition:"right",textAlign:"center",media:function(){return c}},"instant-invite":{popoutPosition:"right",highPriority:!0},"whos-online":{popoutPosition:"left"},"server-settings":{popoutPosition:"bottom"},"friends-list":{popoutPosition:"right"},"create-more-servers":{popoutPosition:"right"}});t.getTutorialPopoutAttributes=function(e){return e in p?p[e]:null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(7764)),o=l(n(9019)),i=l(n(9020));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("svg",{width:"224",height:"148",viewBox:"0 0 224 148",fill:"none",xmlns:"http://www.w3.org/2000/svg"},void 0,s("path",{d:"M0.5 33.5H223.5V140C223.5 144.142 220.142 147.5 216 147.5H8C3.85786 147.5 0.5 144.142 0.5 140V33.5Z",fill:"#F2F3F4",stroke:"#E3E5E8"}),s("circle",{cx:"28",cy:"120",r:"16",fill:"url(#tutorial-media-channels-image1)"}),s("path",{d:"M62.104 116L61.468 107.72H59.488L57.4 113.96L55.3 107.72H53.284L52.648 116H54.076L54.496 109.892L56.584 116.024H58L60.076 109.892L60.52 116H62.104ZM65.7704 111.08C66.4664 111.08 66.8264 111.584 66.9224 112.484H64.6064C64.7144 111.548 65.1944 111.08 65.7704 111.08ZM68.3144 115.412L68.1464 114.284C67.5104 114.728 66.8984 115.004 66.1544 115.004C65.2664 115.004 64.6544 114.512 64.5944 113.384H68.3144C68.3144 113.3 68.3264 113.156 68.3264 113.036C68.3264 111.392 67.5464 110.084 65.8064 110.084C64.2944 110.084 63.1664 111.224 63.1664 113.108C63.1664 115.196 64.3784 116.12 65.9984 116.12C66.9344 116.12 67.6904 115.844 68.3144 115.412ZM72.6338 112.088C72.6338 112.724 72.2498 113.192 71.6138 113.192C70.9898 113.192 70.6058 112.736 70.6058 112.136C70.6058 111.5 70.9778 111.008 71.6138 111.008C72.2258 111.008 72.6338 111.476 72.6338 112.088ZM74.6858 116.24C74.6858 115.352 73.9418 114.98 72.7538 114.812L72.0098 114.74C71.1098 114.608 70.9298 114.56 70.9298 114.368C70.9298 114.272 71.0258 114.164 71.1698 114.056C71.3138 114.08 71.4698 114.092 71.6378 114.092C72.8858 114.092 73.9538 113.348 73.9538 112.1C73.9538 111.836 73.9058 111.572 73.7978 111.344L74.8538 111.272L74.6618 110.12L73.2458 110.624C72.8258 110.276 72.2738 110.084 71.6018 110.084C70.3058 110.084 69.2738 110.864 69.2738 112.136C69.2738 112.904 69.6818 113.504 70.3658 113.828C69.8858 114.116 69.6338 114.428 69.6338 114.752C69.6338 114.98 69.7418 115.196 69.9698 115.376C69.2498 115.784 68.8778 116.204 68.8778 116.744C68.8778 117.704 70.0658 118.184 71.6378 118.184C73.3178 118.184 74.6858 117.488 74.6858 116.24ZM71.7338 117.332C70.6418 117.332 70.1258 117.02 70.1258 116.588C70.1258 116.288 70.3178 116.012 70.7378 115.712C71.0258 115.772 71.2058 115.808 71.6018 115.856L72.3818 115.952C73.1018 116.06 73.3538 116.24 73.3538 116.552C73.3538 116.984 72.7658 117.332 71.7338 117.332ZM78.8219 114.404C78.4259 114.788 77.9579 115.028 77.4659 115.028C77.0219 115.028 76.7579 114.776 76.7579 114.356C76.7579 113.804 77.1539 113.312 78.8219 113.108V114.404ZM80.2619 116V112.028C80.2619 110.636 79.5179 110.084 78.0179 110.084C77.0939 110.084 76.3859 110.288 75.7139 110.552L75.8939 111.704C76.5179 111.428 77.1539 111.236 77.8259 111.236C78.4619 111.236 78.8219 111.476 78.8219 112.1V112.268C76.4819 112.496 75.3299 113.108 75.3299 114.512C75.3299 115.52 75.9899 116.12 76.9739 116.12C77.8379 116.12 78.4379 115.736 78.9059 115.244L79.0259 116H80.2619ZM86.633 116V111.824C86.633 110.744 86.057 110.084 84.977 110.084C84.197 110.084 83.585 110.504 83.045 111.02L82.913 110.204H81.689V116H83.129V112.088C83.549 111.644 84.005 111.356 84.449 111.356C84.977 111.356 85.193 111.704 85.193 112.208V116H86.633Z",fill:"#060607"}),s("path",{d:"M62.02 132L61.372 123.72H59.992L57.412 130.512L54.832 123.72H53.44L52.78 132H53.836L54.34 125.316L56.932 132.036H57.832L60.424 125.316L60.94 132H62.02ZM65.8287 126.996C66.6567 126.996 67.0647 127.524 67.1967 128.448H64.4367C64.6047 127.476 65.1687 126.996 65.8287 126.996ZM68.2647 131.352L68.1087 130.392C67.4847 130.884 66.8847 131.208 66.0567 131.208C65.0607 131.208 64.4367 130.584 64.3887 129.252H68.2767V129.024C68.2767 127.44 67.5087 126.156 65.8407 126.156C64.4007 126.156 63.3207 127.284 63.3207 129.12C63.3207 131.22 64.4847 132.12 65.9727 132.12C66.9207 132.12 67.6527 131.832 68.2647 131.352ZM71.073 123.72H69.789L70.077 129.54L70.773 129.384L71.073 123.72ZM71.025 132V130.572H69.825V132H71.025ZM84.7192 132L84.0712 123.72H82.6912L80.1112 130.512L77.5312 123.72H76.1392L75.4792 132H76.5352L77.0392 125.316L79.6312 132.036H80.5312L83.1232 125.316L83.6392 132H84.7192ZM89.6079 130.428C89.1279 130.92 88.5279 131.232 87.9039 131.232C87.3639 131.232 87.0519 130.932 87.0519 130.464C87.0519 129.876 87.4959 129.3 89.6079 129.096V130.428ZM90.6759 132V127.992C90.6759 126.72 90.0039 126.156 88.6119 126.156C87.7239 126.156 87.0759 126.36 86.3919 126.636L86.5359 127.56C87.1599 127.284 87.8199 127.068 88.5159 127.068C89.1759 127.068 89.6079 127.32 89.6079 128.04V128.28C87.2199 128.532 85.9959 129.096 85.9959 130.524C85.9959 131.496 86.6439 132.12 87.6759 132.12C88.6119 132.12 89.2359 131.7 89.6919 131.232L89.8119 132H90.6759ZM92.6347 134.184C93.4747 134.184 94.0987 133.872 94.5667 132.6L96.9067 126.276H95.7907L94.2907 130.728L92.7547 126.192L91.6747 126.36L93.7627 132.024L93.6187 132.408C93.3907 133.02 93.0667 133.248 92.5867 133.248C92.4187 133.248 92.2027 133.212 92.0227 133.164L92.1787 134.136C92.2867 134.16 92.4067 134.184 92.6347 134.184ZM103.068 128.976C103.068 127.068 102.048 126.156 100.812 126.156C100.032 126.156 99.4795 126.552 99.0955 126.948V123.336L98.0275 123.504V131.712C98.7835 131.94 99.3955 132.072 100.26 132.072C101.916 132.072 103.068 131.064 103.068 128.976ZM101.988 129.024C101.988 130.5 101.364 131.16 100.248 131.16C99.7195 131.16 99.4555 131.1 99.0955 130.968V128.04C99.5275 127.5 100.056 127.104 100.656 127.104C101.424 127.104 101.988 127.776 101.988 129.024ZM106.61 126.996C107.438 126.996 107.846 127.524 107.978 128.448H105.218C105.386 127.476 105.95 126.996 106.61 126.996ZM109.046 131.352L108.89 130.392C108.266 130.884 107.666 131.208 106.838 131.208C105.842 131.208 105.218 130.584 105.17 129.252H109.058V129.024C109.058 127.44 108.29 126.156 106.622 126.156C105.182 126.156 104.102 127.284 104.102 129.12C104.102 131.22 105.266 132.12 106.754 132.12C107.702 132.12 108.434 131.832 109.046 131.352ZM117.779 129.768C117.779 128.52 117.227 127.968 115.619 127.236C114.359 126.66 114.047 126.36 114.047 125.724C114.047 125.112 114.467 124.608 115.415 124.608C116.075 124.608 116.699 124.872 117.155 125.22L117.335 124.092C116.855 123.816 116.255 123.624 115.451 123.624C113.951 123.624 112.931 124.476 112.931 125.808C112.931 126.996 113.519 127.512 115.079 128.22C116.327 128.784 116.663 129.096 116.663 129.852C116.663 130.656 116.051 131.112 115.187 131.112C114.359 131.112 113.579 130.776 113.015 130.404L112.847 131.556C113.459 131.88 114.263 132.096 115.163 132.096C116.711 132.096 117.779 131.196 117.779 129.768ZM122.456 130.428C121.976 130.92 121.376 131.232 120.752 131.232C120.212 131.232 119.9 130.932 119.9 130.464C119.9 129.876 120.344 129.3 122.456 129.096V130.428ZM123.524 132V127.992C123.524 126.72 122.852 126.156 121.46 126.156C120.572 126.156 119.924 126.36 119.24 126.636L119.384 127.56C120.008 127.284 120.668 127.068 121.364 127.068C122.024 127.068 122.456 127.32 122.456 128.04V128.28C120.068 128.532 118.844 129.096 118.844 130.524C118.844 131.496 119.492 132.12 120.524 132.12C121.46 132.12 122.084 131.7 122.54 131.232L122.66 132H123.524ZM127.928 132.024L127.784 131.112C127.652 131.136 127.484 131.148 127.292 131.148C126.692 131.148 126.5 130.86 126.5 130.392V127.176H127.88L127.736 126.276H126.5V124.212L125.456 124.368V126.276H124.592V127.176H125.456V130.584C125.456 131.736 126.116 132.096 127.124 132.096C127.496 132.096 127.748 132.06 127.928 132.024ZM129.199 126.276V130.44C129.199 131.472 129.763 132.12 130.855 132.12C131.659 132.12 132.343 131.676 132.883 131.172L133.015 132H133.867V126.276H132.799V130.236C132.283 130.788 131.707 131.16 131.143 131.16C130.519 131.16 130.267 130.764 130.267 130.176V126.276H129.199ZM138.755 127.176L138.587 126.156C137.651 126.204 136.991 126.792 136.583 127.44L136.403 126.276H135.551V132H136.619V128.616C137.003 127.86 137.807 127.224 138.755 127.176ZM140.397 129.252C140.397 127.836 141.045 127.104 141.945 127.104C142.557 127.104 142.905 127.2 143.349 127.428V130.164C142.893 130.776 142.389 131.172 141.729 131.172C140.961 131.172 140.397 130.512 140.397 129.252ZM139.317 129.3C139.317 131.22 140.337 132.12 141.573 132.12C142.413 132.12 143.001 131.688 143.433 131.172L143.565 132H144.417V123.336L143.349 123.504V126.456C142.989 126.312 142.473 126.204 141.909 126.204C140.517 126.204 139.317 127.212 139.317 129.3ZM149.362 130.428C148.882 130.92 148.282 131.232 147.658 131.232C147.118 131.232 146.806 130.932 146.806 130.464C146.806 129.876 147.25 129.3 149.362 129.096V130.428ZM150.43 132V127.992C150.43 126.72 149.758 126.156 148.366 126.156C147.478 126.156 146.83 126.36 146.146 126.636L146.29 127.56C146.914 127.284 147.574 127.068 148.27 127.068C148.93 127.068 149.362 127.32 149.362 128.04V128.28C146.974 128.532 145.75 129.096 145.75 130.524C145.75 131.496 146.398 132.12 147.43 132.12C148.366 132.12 148.99 131.7 149.446 131.232L149.566 132H150.43ZM152.389 134.184C153.229 134.184 153.853 133.872 154.321 132.6L156.661 126.276H155.545L154.045 130.728L152.509 126.192L151.429 126.36L153.517 132.024L153.373 132.408C153.145 133.02 152.821 133.248 152.341 133.248C152.173 133.248 151.957 133.212 151.777 133.164L151.933 134.136C152.041 134.16 152.161 134.184 152.389 134.184ZM159.19 129.54L159.886 129.384L159.994 128.196C161.422 127.548 162.286 126.984 162.286 125.688C162.286 124.38 161.29 123.564 159.826 123.564C158.842 123.564 157.99 123.912 157.258 124.452L157.414 125.556C158.086 125.004 158.83 124.584 159.766 124.584C160.57 124.584 161.158 125.004 161.158 125.736C161.158 126.504 160.654 126.888 159.526 127.356L159.034 127.56L159.19 129.54ZM158.938 132H160.138V130.572H158.938V132Z",fill:"#2E3338"}),s("path",{d:"M0.5 8C0.5 3.85786 3.85786 0.5 8 0.5H216C220.142 0.5 223.5 3.85786 223.5 8V33.5H0.5V8Z",fill:"#F2F3F4",stroke:"#E3E5E8"}),s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5641 23.75C12.253 23.75 12.0174 23.4689 12.0718 23.1626L12.5 20.75H10.0951C9.78449 20.75 9.54905 20.4698 9.60259 20.1638L9.69009 19.6638C9.73196 19.4246 9.93972 19.25 10.1826 19.25H12.7625L13.5575 14.75H11.1526C10.842 14.75 10.6065 14.4698 10.6601 14.1638L10.7476 13.6638C10.7895 13.4246 10.9972 13.25 11.2401 13.25H13.82L14.2793 10.6626C14.3216 10.4239 14.5291 10.25 14.7716 10.25H15.2559C15.567 10.25 15.8026 10.5311 15.7482 10.8374L15.32 13.25H19.82L20.2793 10.6626C20.3216 10.4239 20.5291 10.25 20.7716 10.25H21.2559C21.567 10.25 21.8026 10.5311 21.7482 10.8374L21.32 13.25H23.7249C24.0355 13.25 24.271 13.5302 24.2174 13.8362L24.1299 14.3362C24.0881 14.5754 23.8803 14.75 23.6374 14.75H21.0575L20.2625 19.25H22.6674C22.978 19.25 23.2135 19.5302 23.1599 19.8362L23.0724 20.3362C23.0306 20.5754 22.8228 20.75 22.5799 20.75H20L19.5407 23.3374C19.4984 23.5761 19.2909 23.75 19.0484 23.75H18.5641C18.253 23.75 18.0174 23.4689 18.0718 23.1626L18.5 20.75H14L13.5407 23.3374C13.4984 23.5761 13.2909 23.75 13.0484 23.75H12.5641ZM15.0578 14.75L14.2628 19.25H18.7628L19.5578 14.75H15.0578Z",fill:"#4F5660"}),s("path",{d:"M41.014 22V17.128C41.014 15.868 40.384 15.098 39.11 15.098C38.2 15.098 37.458 15.588 36.856 16.19C36.604 15.532 36.086 15.098 35.12 15.098C34.21 15.098 33.524 15.588 32.894 16.19L32.74 15.238H31.312V22H32.992V17.422C33.482 16.918 33.972 16.582 34.49 16.582C35.106 16.582 35.33 16.988 35.33 17.576V22H37.01V17.422C37.5 16.918 37.99 16.582 38.508 16.582C39.124 16.582 39.334 16.988 39.334 17.576V22H41.014ZM46.3967 20.138C45.9347 20.586 45.3887 20.866 44.8147 20.866C44.2967 20.866 43.9887 20.572 43.9887 20.082C43.9887 19.438 44.4507 18.864 46.3967 18.626V20.138ZM48.0767 22V17.366C48.0767 15.742 47.2087 15.098 45.4587 15.098C44.3807 15.098 43.5547 15.336 42.7707 15.644L42.9807 16.988C43.7087 16.666 44.4507 16.442 45.2347 16.442C45.9767 16.442 46.3967 16.722 46.3967 17.45V17.646C43.6667 17.912 42.3227 18.626 42.3227 20.264C42.3227 21.44 43.0927 22.14 44.2407 22.14C45.2487 22.14 45.9487 21.692 46.4947 21.118L46.6347 22H48.0767ZM53.8857 22.098L55.6777 21.832L53.0317 18.29L55.5237 15.238H53.6197L51.4217 18.038V11.892L49.7417 12.158V22H51.4217V18.64L53.8857 22.098ZM59.1699 16.26C59.9819 16.26 60.4019 16.848 60.5139 17.898H57.8119C57.9379 16.806 58.4979 16.26 59.1699 16.26ZM62.1379 21.314L61.9419 19.998C61.1999 20.516 60.4859 20.838 59.6179 20.838C58.5819 20.838 57.8679 20.264 57.7979 18.948H62.1379C62.1379 18.85 62.1519 18.682 62.1519 18.542C62.1519 16.624 61.2419 15.098 59.2119 15.098C57.4479 15.098 56.1319 16.428 56.1319 18.626C56.1319 21.062 57.5459 22.14 59.4359 22.14C60.5279 22.14 61.4099 21.818 62.1379 21.314ZM66.9533 18.78V17.156H63.3133V18.78H66.9533ZM72.9665 18.528C72.9665 20.012 72.3085 20.726 71.4405 20.726C70.8665 20.726 70.5445 20.628 70.1385 20.432V17.534C70.5865 16.96 71.0625 16.582 71.6645 16.582C72.4205 16.582 72.9665 17.226 72.9665 18.528ZM74.6605 18.43C74.6605 16.162 73.5265 15.098 72.1125 15.098C71.1745 15.098 70.5165 15.616 70.0405 16.162L69.8865 15.238H68.4585V24.604L70.1385 24.352V21.804C70.5445 21.958 71.0625 22.07 71.7065 22.07C73.2605 22.07 74.6605 20.95 74.6605 18.43ZM77.7827 22V11.892L76.1027 12.158V22H77.7827ZM83.2561 20.138C82.7941 20.586 82.2481 20.866 81.6741 20.866C81.1561 20.866 80.8481 20.572 80.8481 20.082C80.8481 19.438 81.3101 18.864 83.2561 18.626V20.138ZM84.9361 22V17.366C84.9361 15.742 84.0681 15.098 82.3181 15.098C81.2401 15.098 80.4141 15.336 79.6301 15.644L79.8401 16.988C80.5681 16.666 81.3101 16.442 82.0941 16.442C82.8361 16.442 83.2561 16.722 83.2561 17.45V17.646C80.5261 17.912 79.1821 18.626 79.1821 20.264C79.1821 21.44 79.9521 22.14 81.1001 22.14C82.1081 22.14 82.8081 21.692 83.3541 21.118L83.4941 22H84.9361ZM92.3691 22V17.128C92.3691 15.868 91.6971 15.098 90.4371 15.098C89.5271 15.098 88.8131 15.588 88.1831 16.19L88.0291 15.238H86.6011V22H88.2811V17.436C88.7711 16.918 89.3031 16.582 89.8211 16.582C90.4371 16.582 90.6891 16.988 90.6891 17.576V22H92.3691ZM99.0642 20.012C99.0642 18.738 98.3782 18.262 96.6282 17.814C95.6202 17.548 95.3682 17.338 95.3682 16.974C95.3682 16.61 95.6762 16.358 96.3062 16.358C96.9782 16.358 97.7762 16.596 98.4482 16.974L98.6722 15.574C98.0002 15.28 97.1882 15.098 96.3062 15.098C94.7382 15.098 93.8142 15.924 93.8142 17.1C93.8142 18.332 94.5002 18.808 96.1382 19.228C97.2162 19.494 97.5102 19.69 97.5102 20.166C97.5102 20.614 97.1182 20.88 96.3902 20.88C95.5502 20.88 94.6542 20.558 93.9262 20.082L93.7022 21.482C94.3462 21.832 95.3542 22.14 96.3342 22.14C98.1122 22.14 99.0642 21.342 99.0642 20.012Z",fill:"#060607"}),s("circle",{cx:"28",cy:"62",r:"16",fill:"url(#tutorial-media-channels-image2)"}),s("path",{d:"M59.572 60V51.72H58.096V57.144L54.376 51.72H52.876V60H54.352V54.3L58.252 60H59.572ZM63.4852 55.08C64.1812 55.08 64.5412 55.584 64.6372 56.484H62.3212C62.4292 55.548 62.9092 55.08 63.4852 55.08ZM66.0292 59.412L65.8612 58.284C65.2252 58.728 64.6132 59.004 63.8692 59.004C62.9812 59.004 62.3692 58.512 62.3092 57.384H66.0292C66.0292 57.3 66.0412 57.156 66.0412 57.036C66.0412 55.392 65.2612 54.084 63.5212 54.084C62.0092 54.084 60.8812 55.224 60.8812 57.108C60.8812 59.196 62.0932 60.12 63.7132 60.12C64.6492 60.12 65.4052 59.844 66.0292 59.412ZM68.7047 60V51.336L67.2647 51.564V60H68.7047ZM71.7281 60V51.336L70.2881 51.564V60H71.7281ZM73.8635 62.184C74.9075 62.184 75.5795 61.764 76.0715 60.372L78.2915 54.204H76.8395L75.5435 58.284L74.2235 54.12L72.7235 54.312L74.8235 59.988L74.7755 60.156C74.5835 60.78 74.1995 60.996 73.7195 60.996C73.4675 60.996 73.2635 60.96 73.0835 60.912L73.2755 62.124C73.4075 62.16 73.5515 62.184 73.8635 62.184Z",fill:"#060607"}),s("path",{d:"M58.792 76.084L59.908 75.844L56.716 67.684H55.588L52.348 76H53.524L54.448 73.516H57.82L58.792 76.084ZM56.128 69.004L57.448 72.52H54.82L56.128 69.004ZM65.7697 76V71.836C65.7697 70.804 65.1937 70.156 64.1137 70.156C63.2977 70.156 62.6257 70.612 62.0857 71.104L61.9537 70.276H61.1017V76H62.1697V72.04C62.6857 71.488 63.2617 71.116 63.8257 71.116C64.4497 71.116 64.7017 71.512 64.7017 72.1V76H65.7697ZM67.7558 78.184C68.5958 78.184 69.2198 77.872 69.6878 76.6L72.0278 70.276H70.9118L69.4118 74.728L67.8758 70.192L66.7958 70.36L68.8838 76.024L68.7398 76.408C68.5118 77.02 68.1878 77.248 67.7078 77.248C67.5398 77.248 67.3238 77.212 67.1438 77.164L67.2998 78.136C67.4078 78.16 67.5278 78.184 67.7558 78.184ZM77.9291 73.144C77.9291 71.26 76.8011 70.156 75.2651 70.156C73.7411 70.156 72.6371 71.26 72.6371 73.144C72.6371 75.028 73.7411 76.12 75.2651 76.12C76.8011 76.12 77.9291 75.028 77.9291 73.144ZM76.8491 73.144C76.8491 74.344 76.3211 75.232 75.2651 75.232C74.2571 75.232 73.7171 74.32 73.7171 73.144C73.7171 71.944 74.2331 71.044 75.2651 71.044C76.2971 71.044 76.8491 71.968 76.8491 73.144ZM83.9572 76V71.836C83.9572 70.804 83.3812 70.156 82.3012 70.156C81.4852 70.156 80.8132 70.612 80.2732 71.104L80.1412 70.276H79.2892V76H80.3572V72.04C80.8732 71.488 81.4492 71.116 82.0132 71.116C82.6372 71.116 82.8892 71.512 82.8892 72.1V76H83.9572ZM87.8013 70.996C88.6293 70.996 89.0373 71.524 89.1693 72.448H86.4093C86.5773 71.476 87.1413 70.996 87.8013 70.996ZM90.2373 75.352L90.0813 74.392C89.4573 74.884 88.8573 75.208 88.0293 75.208C87.0333 75.208 86.4093 74.584 86.3613 73.252H90.2493V73.024C90.2493 71.44 89.4813 70.156 87.8133 70.156C86.3733 70.156 85.2933 71.284 85.2933 73.12C85.2933 75.22 86.4573 76.12 87.9453 76.12C88.8933 76.12 89.6253 75.832 90.2373 75.352ZM101.73 70.276H100.662L99.4503 74.512L98.1903 70.276H97.2903L96.0303 74.512L94.7823 70.192L93.7383 70.36L95.5743 76.024H96.4623L97.7223 71.704L98.9943 76.024H99.8943L101.73 70.276ZM106.014 74.428C105.534 74.92 104.934 75.232 104.31 75.232C103.77 75.232 103.458 74.932 103.458 74.464C103.458 73.876 103.902 73.3 106.014 73.096V74.428ZM107.082 76V71.992C107.082 70.72 106.41 70.156 105.018 70.156C104.13 70.156 103.482 70.36 102.798 70.636L102.942 71.56C103.566 71.284 104.226 71.068 104.922 71.068C105.582 71.068 106.014 71.32 106.014 72.04V72.28C103.626 72.532 102.402 73.096 102.402 74.524C102.402 75.496 103.05 76.12 104.082 76.12C105.018 76.12 105.642 75.7 106.098 75.232L106.218 76H107.082ZM113.406 76V71.836C113.406 70.804 112.83 70.156 111.75 70.156C110.934 70.156 110.262 70.612 109.722 71.104L109.59 70.276H108.738V76H109.806V72.04C110.322 71.488 110.898 71.116 111.462 71.116C112.086 71.116 112.338 71.512 112.338 72.1V76H113.406ZM117.815 76.024L117.671 75.112C117.539 75.136 117.371 75.148 117.179 75.148C116.579 75.148 116.387 74.86 116.387 74.392V71.176H117.767L117.623 70.276H116.387V68.212L115.343 68.368V70.276H114.479V71.176H115.343V74.584C115.343 75.736 116.003 76.096 117.011 76.096C117.383 76.096 117.635 76.06 117.815 76.024ZM124.494 76.024L124.35 75.112C124.218 75.136 124.05 75.148 123.858 75.148C123.258 75.148 123.066 74.86 123.066 74.392V71.176H124.446L124.302 70.276H123.066V68.212L122.022 68.368V70.276H121.158V71.176H122.022V74.584C122.022 75.736 122.682 76.096 123.69 76.096C124.062 76.096 124.314 76.06 124.494 76.024ZM130.71 73.144C130.71 71.26 129.582 70.156 128.046 70.156C126.522 70.156 125.418 71.26 125.418 73.144C125.418 75.028 126.522 76.12 128.046 76.12C129.582 76.12 130.71 75.028 130.71 73.144ZM129.63 73.144C129.63 74.344 129.102 75.232 128.046 75.232C127.038 75.232 126.498 74.32 126.498 73.144C126.498 71.944 127.014 71.044 128.046 71.044C129.078 71.044 129.63 71.968 129.63 73.144ZM139.375 76V71.836C139.375 70.804 138.799 70.156 137.719 70.156C136.903 70.156 136.243 70.612 135.775 71.032V67.336L134.707 67.504V76H135.775V72.04C136.291 71.488 136.867 71.116 137.431 71.116C138.055 71.116 138.307 71.512 138.307 72.1V76H139.375ZM144.299 74.428C143.819 74.92 143.219 75.232 142.595 75.232C142.055 75.232 141.743 74.932 141.743 74.464C141.743 73.876 142.187 73.3 144.299 73.096V74.428ZM145.367 76V71.992C145.367 70.72 144.695 70.156 143.303 70.156C142.415 70.156 141.767 70.36 141.083 70.636L141.227 71.56C141.851 71.284 142.511 71.068 143.207 71.068C143.867 71.068 144.299 71.32 144.299 72.04V72.28C141.911 72.532 140.687 73.096 140.687 74.524C140.687 75.496 141.335 76.12 142.367 76.12C143.303 76.12 143.927 75.7 144.383 75.232L144.503 76H145.367ZM151.692 76V71.836C151.692 70.804 151.116 70.156 150.036 70.156C149.22 70.156 148.548 70.612 148.008 71.104L147.876 70.276H147.024V76H148.092V72.04C148.608 71.488 149.184 71.116 149.748 71.116C150.372 71.116 150.624 71.512 150.624 72.1V76H151.692ZM156.484 72.136C156.484 72.82 156.028 73.36 155.296 73.36C154.588 73.36 154.132 72.844 154.132 72.184C154.132 71.488 154.576 70.936 155.296 70.936C156.004 70.936 156.484 71.452 156.484 72.136ZM158.188 76.42C158.188 75.532 157.432 75.148 156.22 74.932L155.812 74.86C154.804 74.68 154.6 74.632 154.6 74.428C154.6 74.32 154.72 74.188 154.888 74.08C155.032 74.104 155.176 74.116 155.32 74.116C156.484 74.116 157.516 73.372 157.516 72.148C157.516 71.824 157.444 71.524 157.288 71.26L158.38 71.152L158.224 70.192L156.772 70.636C156.376 70.324 155.872 70.156 155.296 70.156C154.132 70.156 153.1 70.912 153.1 72.148C153.1 72.928 153.532 73.528 154.168 73.852C153.784 74.08 153.568 74.356 153.568 74.632C153.568 74.848 153.676 75.052 153.928 75.232C153.124 75.664 152.716 76.12 152.716 76.708C152.716 77.716 153.904 78.184 155.392 78.184C156.88 78.184 158.188 77.62 158.188 76.42ZM155.44 77.416C154.324 77.416 153.736 77.08 153.736 76.624C153.736 76.228 154.036 75.892 154.708 75.556C154.936 75.604 155.104 75.64 155.416 75.7L156.1 75.82C156.916 75.964 157.18 76.204 157.18 76.552C157.18 77.032 156.556 77.416 155.44 77.416ZM167.003 73.144C167.003 71.26 165.875 70.156 164.339 70.156C162.815 70.156 161.711 71.26 161.711 73.144C161.711 75.028 162.815 76.12 164.339 76.12C165.875 76.12 167.003 75.028 167.003 73.144ZM165.923 73.144C165.923 74.344 165.395 75.232 164.339 75.232C163.331 75.232 162.791 74.32 162.791 73.144C162.791 71.944 163.307 71.044 164.339 71.044C165.371 71.044 165.923 71.968 165.923 73.144ZM168.339 70.276V74.44C168.339 75.472 168.903 76.12 169.995 76.12C170.799 76.12 171.483 75.676 172.023 75.172L172.155 76H173.007V70.276H171.939V74.236C171.423 74.788 170.847 75.16 170.283 75.16C169.659 75.16 169.407 74.764 169.407 74.176V70.276H168.339ZM177.44 76.024L177.296 75.112C177.164 75.136 176.996 75.148 176.804 75.148C176.204 75.148 176.012 74.86 176.012 74.392V71.176H177.392L177.248 70.276H176.012V68.212L174.968 68.368V70.276H174.104V71.176H174.968V74.584C174.968 75.736 175.628 76.096 176.636 76.096C177.008 76.096 177.26 76.06 177.44 76.024ZM184.119 76.024L183.975 75.112C183.843 75.136 183.675 75.148 183.483 75.148C182.883 75.148 182.691 74.86 182.691 74.392V71.176H184.071L183.927 70.276H182.691V68.212L181.647 68.368V70.276H180.783V71.176H181.647V74.584C181.647 75.736 182.307 76.096 183.315 76.096C183.687 76.096 183.939 76.06 184.119 76.024ZM190.082 76V71.836C190.082 70.804 189.506 70.156 188.426 70.156C187.61 70.156 186.95 70.612 186.482 71.032V67.336L185.414 67.504V76H186.482V72.04C186.998 71.488 187.574 71.116 188.138 71.116C188.762 71.116 189.014 71.512 189.014 72.1V76H190.082ZM193.038 68.452C193.038 68.08 192.738 67.768 192.366 67.768C191.994 67.768 191.682 68.08 191.682 68.452C191.682 68.824 191.994 69.124 192.366 69.124C192.738 69.124 193.038 68.824 193.038 68.452ZM192.894 76V70.276H191.826V76H192.894ZM198.656 74.404C198.656 73.312 198.02 72.904 196.604 72.544C195.704 72.316 195.416 72.1 195.416 71.716C195.416 71.308 195.752 71.056 196.4 71.056C197 71.056 197.636 71.26 198.14 71.548L198.308 70.54C197.768 70.3 197.132 70.156 196.424 70.156C195.176 70.156 194.408 70.828 194.408 71.74C194.408 72.76 194.948 73.168 196.292 73.504C197.324 73.756 197.648 73.948 197.648 74.476C197.648 74.956 197.216 75.232 196.484 75.232C195.704 75.232 195.008 74.944 194.468 74.572L194.312 75.58C194.804 75.856 195.644 76.12 196.4 76.12C197.876 76.12 198.656 75.448 198.656 74.404ZM60.328 86.276H59.26L58.048 90.512L56.788 86.276H55.888L54.628 90.512L53.38 86.192L52.336 86.36L54.172 92.024H55.06L56.32 87.704L57.592 92.024H58.492L60.328 86.276ZM63.5318 86.996C64.3598 86.996 64.7678 87.524 64.8998 88.448H62.1398C62.3078 87.476 62.8718 86.996 63.5318 86.996ZM65.9678 91.352L65.8118 90.392C65.1878 90.884 64.5878 91.208 63.7598 91.208C62.7638 91.208 62.1398 90.584 62.0918 89.252H65.9798V89.024C65.9798 87.44 65.2118 86.156 63.5438 86.156C62.1038 86.156 61.0238 87.284 61.0238 89.12C61.0238 91.22 62.1878 92.12 63.6758 92.12C64.6238 92.12 65.3558 91.832 65.9678 91.352ZM69.5201 86.996C70.3481 86.996 70.7561 87.524 70.8881 88.448H68.1281C68.2961 87.476 68.8601 86.996 69.5201 86.996ZM71.9561 91.352L71.8001 90.392C71.1761 90.884 70.5761 91.208 69.7481 91.208C68.7521 91.208 68.1281 90.584 68.0801 89.252H71.9681V89.024C71.9681 87.44 71.2001 86.156 69.5321 86.156C68.0921 86.156 67.0121 87.284 67.0121 89.12C67.0121 91.22 68.1761 92.12 69.6641 92.12C70.6121 92.12 71.3441 91.832 71.9561 91.352ZM76.9364 92.084L78.1004 91.904L75.4844 88.808L77.8964 86.276H76.6124L74.3924 88.676V83.336L73.3244 83.504V92H74.3924V89L76.9364 92.084ZM81.1099 86.996C81.9379 86.996 82.3459 87.524 82.4779 88.448H79.7179C79.8859 87.476 80.4499 86.996 81.1099 86.996ZM83.5459 91.352L83.3899 90.392C82.7659 90.884 82.1659 91.208 81.3379 91.208C80.3419 91.208 79.7179 90.584 79.6699 89.252H83.5579V89.024C83.5579 87.44 82.7899 86.156 81.1219 86.156C79.6819 86.156 78.6019 87.284 78.6019 89.12C78.6019 91.22 79.7659 92.12 81.2539 92.12C82.2019 92.12 82.9339 91.832 83.5459 91.352ZM89.5822 92V87.836C89.5822 86.804 89.0062 86.156 87.9262 86.156C87.1102 86.156 86.4382 86.612 85.8982 87.104L85.7662 86.276H84.9142V92H85.9822V88.04C86.4982 87.488 87.0742 87.116 87.6382 87.116C88.2622 87.116 88.5142 87.512 88.5142 88.1V92H89.5822ZM91.9983 89.252C91.9983 87.836 92.6463 87.104 93.5463 87.104C94.1583 87.104 94.5063 87.2 94.9503 87.428V90.164C94.4943 90.776 93.9903 91.172 93.3303 91.172C92.5623 91.172 91.9983 90.512 91.9983 89.252ZM90.9183 89.3C90.9183 91.22 91.9383 92.12 93.1743 92.12C94.0143 92.12 94.6023 91.688 95.0343 91.172L95.1663 92H96.0183V83.336L94.9503 83.504V86.456C94.5903 86.312 94.0743 86.204 93.5103 86.204C92.1183 86.204 90.9183 87.212 90.9183 89.3ZM99.3194 89.54L100.015 89.384L100.123 88.196C101.551 87.548 102.415 86.984 102.415 85.688C102.415 84.38 101.419 83.564 99.9554 83.564C98.9714 83.564 98.1194 83.912 97.3874 84.452L97.5434 85.556C98.2154 85.004 98.9594 84.584 99.8954 84.584C100.699 84.584 101.287 85.004 101.287 85.736C101.287 86.504 100.783 86.888 99.6554 87.356L99.1634 87.56L99.3194 89.54ZM99.0674 92H100.267V90.572H99.0674V92Z",fill:"#2E3338"}),s("defs",{},void 0,s("pattern",{id:"tutorial-media-channels-image1",x:"0",y:"0",patternUnits:"objectBoundingBox",height:"1",width:"1"},void 0,s("image",{x:"0",y:"0",height:"32",width:"32",href:o.default})),s("pattern",{id:"tutorial-media-channels-image2",x:"0",y:"0",patternUnits:"objectBoundingBox",height:"1",width:"1"},void 0,s("image",{x:"0",y:"0",height:"32",width:"32",href:i.default}))));function f(){return s("div",{className:a.default.container},void 0,d)}f.displayName="MediaChannels"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(7765)),o=l(n(9019)),i=l(n(9020));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("svg",{width:"248",height:"67",viewBox:"0 0 248 67",fill:"none",xmlns:"http://www.w3.org/2000/svg"},void 0,s("path",{d:"M1.91937 22.0819L0.353585 25.3514C0.282937 25.5093 0.265227 25.6857 0.303076 25.8544C0.311999 25.943 0.339002 26.0288 0.382429 26.1067C0.425856 26.1845 0.484791 26.2527 0.555622 26.3071C0.607907 26.38 0.675826 26.4403 0.754452 26.4838C0.833079 26.5273 0.920441 26.5529 1.0102 26.5586C1.19659 26.5915 1.38843 26.5741 1.5658 26.5083L4.74788 24.949L5.15196 24.8484L5.55603 24.949L8.73811 26.5083H9.29371L9.74829 26.2568C9.85659 26.1275 9.92655 25.9707 9.95033 25.8041C9.98818 25.6354 9.97046 25.459 9.89982 25.3011L8.33403 22.0315C8.2926 21.919 8.27539 21.799 8.28352 21.6794C8.27533 21.5434 8.29245 21.4069 8.33403 21.277L9.89982 18.1081C9.94425 18.0329 9.97177 17.949 9.98049 17.8621C9.98921 17.7753 9.97892 17.6876 9.95033 17.6051C9.93611 17.4208 9.86561 17.2453 9.74829 17.1021C9.60449 16.9853 9.42824 16.9151 9.2432 16.9009C9.16036 16.8724 9.07231 16.8622 8.98511 16.8709C8.89791 16.8796 8.81364 16.907 8.73811 16.9512L5.50552 18.5105L5.10145 18.6111L4.69737 18.5105L1.5153 16.9512C1.43095 16.9057 1.3382 16.8778 1.24269 16.8692C1.14717 16.8605 1.05089 16.8713 0.959695 16.9009C0.792331 16.9246 0.634911 16.9943 0.505112 17.1021C0.372179 17.2408 0.284186 17.416 0.252566 17.6051C0.236844 17.779 0.271925 17.9537 0.353585 18.1081L1.86886 21.3273C1.94921 21.4454 1.98499 21.5879 1.96988 21.7297C1.98577 21.7888 1.98948 21.8504 1.9808 21.9109C1.97212 21.9715 1.95122 22.0296 1.91937 22.0819Z",fill:"#AEC7FF"}),s("path",{d:"M205.949 47.6259C218.112 47.6259 227.971 37.8071 227.971 25.695C227.971 13.5829 218.112 3.76405 205.949 3.76405C193.787 3.76405 183.927 13.5829 183.927 25.695C183.927 37.8071 193.787 47.6259 205.949 47.6259Z",fill:"url(#tutorial-media-voice-channels-image2)"}),s("path",{d:"M206.106 47.5713C218.256 47.5713 228.106 37.7216 228.106 25.5713C228.106 13.4211 218.256 3.57133 206.106 3.57133C193.956 3.57133 184.106 13.4211 184.106 25.5713C184.106 37.7216 193.956 47.5713 206.106 47.5713Z",stroke:"#3ba55c",strokeWidth:"3"}),s("path",{d:"M43.8822 66.4461C56.0446 66.4461 65.9042 56.6273 65.9042 44.5152C65.9042 32.4031 56.0446 22.5843 43.8822 22.5843C31.7198 22.5843 21.8602 32.4031 21.8602 44.5152C21.8602 56.6273 31.7198 66.4461 43.8822 66.4461Z",fill:"url(#tutorial-media-voice-channels-image1)"}),s("path",{d:"M43.6684 66.0315C55.8187 66.0315 65.6684 56.1818 65.6684 44.0315C65.6684 31.8813 55.8187 22.0315 43.6684 22.0315C31.5181 22.0315 21.6684 31.8813 21.6684 44.0315C21.6684 56.1818 31.5181 66.0315 43.6684 66.0315Z",stroke:"#3ba55c",strokeWidth:"3"}),s("path",{d:"M138.597 43.8116C134.96 31.857 134.96 19.0973 138.597 7.14265",stroke:"#FF6E5C",strokeWidth:"5",strokeMiterlimit:"10",strokeLinecap:"round"}),s("path",{d:"M111.562 25.5955C115.2 37.5501 115.2 50.3098 111.562 62.2644",stroke:"#FFED00",strokeWidth:"5",strokeMiterlimit:"10",strokeLinecap:"round"}),s("path",{d:"M159.71 37.6246C158.509 33.6948 157.896 29.6101 157.892 25.5023C157.9 21.3782 158.513 17.2775 159.71 13.3296",stroke:"#FF6E5C",strokeWidth:"5",strokeMiterlimit:"10",strokeLinecap:"round"}),s("path",{d:"M149.154 10.2613C146.124 20.198 146.124 30.8065 149.154 40.7433",stroke:"#FF6E5C",strokeWidth:"5",strokeMiterlimit:"10",strokeLinecap:"round"}),s("path",{d:"M170.266 16.4482C169.347 19.3785 168.887 22.4324 168.903 25.5023C168.887 28.5721 169.347 31.626 170.266 34.5563",stroke:"#FF6E5C",strokeWidth:"5",strokeMiterlimit:"10",strokeLinecap:"round"}),s("path",{d:"M90.0579 56.1351C91.2957 52.1951 91.9258 48.0908 91.9267 43.9625C91.9301 39.8503 91.2999 35.7619 90.0579 31.8401",stroke:"#FFED00",strokeWidth:"5",strokeMiterlimit:"10",strokeLinecap:"round"}),s("path",{d:"M100.614 28.6068C103.644 38.5435 103.644 49.152 100.614 59.0887",stroke:"#FFED00",strokeWidth:"5",strokeMiterlimit:"10",strokeLinecap:"round"}),s("path",{d:"M79.5015 34.9084C81.3857 40.7986 81.3857 47.1263 79.5015 53.0165",stroke:"#FFED00",strokeWidth:"5",strokeMiterlimit:"10",strokeLinecap:"round"}),s("path",{d:"M182.237 57.1914L184.257 56.4872C184.354 56.4431 184.436 56.3722 184.494 56.2831C184.551 56.1939 184.582 56.0902 184.582 55.9842C184.582 55.8783 184.551 55.7746 184.494 55.6854C184.436 55.5962 184.354 55.5254 184.257 55.4812L182.237 54.777C182.16 54.7552 182.088 54.7169 182.027 54.6648C181.966 54.6127 181.917 54.548 181.884 54.4752L181.176 52.4632C181.143 52.3626 181.079 52.275 180.993 52.2128C180.907 52.1507 180.803 52.1173 180.697 52.1173C180.59 52.1173 180.487 52.1507 180.4 52.2128C180.314 52.275 180.25 52.3626 180.217 52.4632L179.51 54.4752C179.476 54.548 179.427 54.6127 179.366 54.6648C179.305 54.7169 179.233 54.7552 179.156 54.777L177.186 55.4812C177.052 55.4812 176.924 55.5342 176.829 55.6286C176.734 55.7229 176.681 55.8508 176.681 55.9842C176.681 56.1176 176.734 56.2456 176.829 56.3399C176.924 56.4343 177.052 56.4872 177.186 56.4872L179.156 57.1914C179.233 57.2133 179.305 57.2516 179.366 57.3037C179.427 57.3558 179.476 57.4205 179.51 57.4933L180.217 59.5053C180.25 59.6059 180.314 59.6935 180.4 59.7556C180.487 59.8178 180.59 59.8512 180.697 59.8512C180.803 59.8512 180.907 59.8178 180.993 59.7556C181.079 59.6935 181.143 59.6059 181.176 59.5053L181.884 57.4933C181.917 57.4205 181.966 57.3558 182.027 57.3037C182.088 57.2516 182.16 57.2133 182.237 57.1914Z",fill:"#EC7DF7"}),s("path",{d:"M242.696 1.35812C242.696 0.746955 242.199 0.251511 241.585 0.251511C240.972 0.251511 240.474 0.746955 240.474 1.35812V2.4949C240.474 3.10607 240.972 3.60151 241.585 3.60151C242.199 3.60151 242.696 3.10607 242.696 2.4949V1.35812Z",fill:"#7196FF"}),s("path",{d:"M242.696 10.2613C242.696 9.65011 242.199 9.15466 241.585 9.15466C240.972 9.15466 240.474 9.65011 240.474 10.2613V11.3981C240.474 12.0092 240.972 12.5047 241.585 12.5047C242.199 12.5047 242.696 12.0092 242.696 11.3981V10.2613Z",fill:"#7196FF"}),s("path",{d:"M246.636 7.49476C247.25 7.49476 247.747 6.99933 247.747 6.38817C247.747 5.77701 247.25 5.28156 246.636 5.28156H245.495C244.881 5.28156 244.384 5.77701 244.384 6.38817C244.384 6.99933 244.881 7.49476 245.495 7.49476H246.636Z",fill:"#7196FF"}),s("path",{d:"M237.696 7.49477C238.31 7.49477 238.807 6.99931 238.807 6.38815C238.807 5.77699 238.31 5.28154 237.696 5.28154H236.555C235.941 5.28154 235.443 5.77699 235.443 6.38815C235.443 6.99931 235.941 7.49477 236.555 7.49477H237.696Z",fill:"#7196FF"}),s("path",{d:"M25.2929 2.23526C24.8786 1.82274 24.207 1.82274 23.7928 2.23526C23.3786 2.64777 23.3786 3.31659 23.7928 3.7291L24.5535 4.48669C24.9678 4.8992 25.6394 4.8992 26.0536 4.48669C26.4678 4.07418 26.4678 3.40536 26.0536 2.99285L25.2929 2.23526Z",fill:"#F7D036"}),s("path",{d:"M31.3539 8.25656C30.9397 7.84404 30.2681 7.84404 29.8538 8.25656C29.4396 8.66907 29.4396 9.33789 29.8538 9.7504L30.6146 10.508C31.0288 10.9205 31.7004 10.9205 32.1146 10.508C32.5289 10.0955 32.5289 9.42666 32.1146 9.01415L31.3539 8.25656Z",fill:"#F7D036"}),s("path",{d:"M32.109 3.71739C32.5233 3.30488 32.5233 2.63606 32.109 2.22354C31.6948 1.81103 31.0232 1.81103 30.609 2.22355L29.8482 2.98114C29.434 3.39365 29.434 4.06247 29.8482 4.47498C30.2625 4.88749 30.9341 4.88749 31.3483 4.47498L32.109 3.71739Z",fill:"#F7D036"}),s("path",{d:"M26.0985 9.73869C26.5128 9.32618 26.5128 8.65736 26.0985 8.24485C25.6843 7.83233 25.0127 7.83233 24.5985 8.24485L23.8378 9.00244C23.4235 9.41495 23.4235 10.0838 23.8378 10.4963C24.252 10.9088 24.9236 10.9088 25.3378 10.4963L26.0985 9.73869Z",fill:"#F7D036"}),s("defs",{},void 0,s("pattern",{id:"tutorial-media-voice-channels-image1",x:"0",y:"0",patternUnits:"objectBoundingBox",height:"1",width:"1"},void 0,s("image",{x:"0",y:"0",height:"44",width:"44",href:o.default})),s("pattern",{id:"tutorial-media-voice-channels-image2",x:"0",y:"0",patternUnits:"objectBoundingBox",height:"1",width:"1"},void 0,s("image",{x:"0",y:"0",height:"44",width:"44",href:i.default}))));function f(){return s("div",{className:a.default.container},void 0,d)}f.displayName="MediaVoiceChannels"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=y(n(8312)),o=n(3),i=n(5937),l=y(n(5939)),u=y(n(10)),s=y(n(15)),d=y(n(12)),f=y(n(371)),c=y(n(279)),p=n(150),v=y(n(7766));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=_("g",{fill:"none",fillRule:"evenodd"},void 0,_("path",{fill:"#D3D6ED",d:"M7.6003,3.7337 C7.6003,3.1817 7.1533,2.7337 6.6003,2.7337 C5.7663,2.7337 5.0903,2.0577 5.0903,1.2237 C5.0903,0.6717 4.6423,0.2237 4.0903,0.2237 C3.5383,0.2237 3.0903,0.6717 3.0903,1.2237 C3.0903,2.0577 2.4133,2.7337 1.5803,2.7337 C1.0283,2.7337 0.5803,3.1817 0.5803,3.7337 C0.5803,4.2857 1.0283,4.7337 1.5803,4.7337 C2.4133,4.7337 3.0903,5.4097 3.0903,6.2437 C3.0903,6.7967 3.5383,7.2437 4.0903,7.2437 C4.6423,7.2437 5.0903,6.7967 5.0903,6.2437 C5.0903,5.4097 5.7663,4.7337 6.6003,4.7337 C7.1533,4.7337 7.6003,4.2857 7.6003,3.7337"}),_("path",{fill:"#ACB0FF",d:"M96.6157,5.4263 C96.6157,4.8743 96.1687,4.4263 95.6157,4.4263 C95.0627,4.4263 94.6157,4.8743 94.6157,5.4263 C94.6157,6.2603 93.9397,6.9363 93.1057,6.9363 C92.5537,6.9363 92.1057,7.3843 92.1057,7.9363 C92.1057,8.4883 92.5537,8.9363 93.1057,8.9363 C93.9397,8.9363 94.6157,9.6123 94.6157,10.4463 C94.6157,10.9983 95.0627,11.4463 95.6157,11.4463 C96.1687,11.4463 96.6157,10.9983 96.6157,10.4463 C96.6157,9.6123 97.2917,8.9363 98.1257,8.9363 C98.6787,8.9363 99.1257,8.4883 99.1257,7.9363 C99.1257,7.3843 98.6787,6.9363 98.1257,6.9363 C97.2917,6.9363 96.6157,6.2603 96.6157,5.4263 Z"}),_("path",{fill:"#FFF",d:"M120.7351 14.0452L119.5511 15.2282C119.1611 15.6182 119.1611 16.2512 119.5511 16.6422 119.7471 16.8372 120.0031 16.9352 120.2581 16.9352 120.5141 16.9352 120.7701 16.8372 120.9651 16.6422L122.1491 15.4592C122.5401 15.0682 122.5401 14.4362 122.1491 14.0452 121.7581 13.6542 121.1261 13.6542 120.7351 14.0452zM113.635 21.1452C113.245 21.5352 113.245 22.1682 113.635 22.5592 113.831 22.7542 114.087 22.8522 114.342 22.8522 114.598 22.8522 114.855 22.7542 115.049 22.5592L116.233 21.3752C116.624 20.9842 116.624 20.3522 116.233 19.9612 115.842 19.5702 115.209 19.5702 114.819 19.9612L113.635 21.1452zM120.9655 19.9612C120.5745 19.5702 119.9425 19.5702 119.5515 19.9612 119.1605 20.3522 119.1605 20.9842 119.5515 21.3752L120.7355 22.5592C120.9305 22.7542 121.1865 22.8522 121.4425 22.8522 121.6975 22.8522 121.9535 22.7542 122.1495 22.5592 122.5395 22.1682 122.5395 21.5352 122.1495 21.1452L120.9655 19.9612zM115.0491 14.0449C114.6591 13.6549 114.0251 13.6549 113.6351 14.0449 113.2451 14.4359 113.2451 15.0689 113.6351 15.4589L114.8191 16.6419C115.0141 16.8369 115.2701 16.9349 115.5261 16.9349 115.7821 16.9349 116.0381 16.8369 116.2331 16.6419 116.6241 16.2509 116.6241 15.6189 116.2331 15.2279L115.0491 14.0449z"}),_("rect",{width:"40",height:"25",x:"68",y:"22",fill:"#999CF4",fillRule:"nonzero",rx:"3"}),_("path",{fill:"#999CF4",fillRule:"nonzero",d:"M90,46 L90,53.8100983 C90,54.362383 90.4477153,54.8100983 91,54.8100983 C91.2501917,54.8100983 91.4912948,54.7163131 91.6757246,54.5472524 L101,46 L90,46 Z",transform:"matrix(-1 0 0 1 191 0)"}),_("g",{fill:"#FFF",fillRule:"nonzero",opacity:".902",transform:"translate(78 32)"},void 0,_("circle",{cx:"2.5",cy:"2.5",r:"2.5"}),_("circle",{cx:"10.5",cy:"2.5",r:"2.5"}),_("circle",{cx:"18.5",cy:"2.5",r:"2.5"})),_("rect",{width:"40",height:"25",x:"13",y:"9",fill:"#5865f2",fillRule:"nonzero",rx:"3"}),_("path",{fill:"#5865f2",fillRule:"nonzero",d:"M20,33 L20,40.8100983 C20,41.362383 20.4477153,41.8100983 21,41.8100983 C21.2501917,41.8100983 21.4912948,41.7163131 21.6757246,41.5472524 L31,33 L20,33 Z"}),_("g",{fill:"#FFF",fillRule:"nonzero",opacity:".902",transform:"translate(23 19)"},void 0,_("circle",{cx:"2.5",cy:"2.5",r:"2.5"}),_("circle",{cx:"10.5",cy:"2.5",r:"2.5"}),_("circle",{cx:"18.5",cy:"2.5",r:"2.5"})));function E(){var e=(0,l.default)((function(e){return{guildId:e.guildId,channelId:e.channelId}}),a.default),t=e.guildId,n=e.channelId,r=(0,o.useStateFromStores)([s.default],(function(){return s.default.getGuild(t)})),y=(0,o.useStateFromStores)([u.default],(function(){return null==r?u.default.getChannel(n):null})),m=(0,o.useStateFromStores)([d.default],(function(){return d.default.getCurrentUser()})),E=y&&(0,i.getChannelIconURL)(y),g=m?m.getAvatarURL(t||void 0):p.DEFAULT_AVATARS[0],S=_(c.default,{src:g,"aria-hidden":!0,size:c.default.Sizes.SIZE_80,className:v.default.avatarSizeOverride}),O=null;return O=r?_(f.default,{guild:r}):E?_(c.default,{"aria-hidden":!0,src:E,size:c.default.Sizes.SIZE_80,className:v.default.avatarSizeOverride}):S,_("div",{className:v.default.container},void 0,_("div",{className:v.default.personAvatar},void 0,S),_("div",{className:v.default.guildAvatar},void 0,O),_("svg",{className:v.default.illustration,xmlns:"http://www.w3.org/2000/svg",width:"156",height:"70",viewBox:"0 0 123 55"},void 0,h))}E.displayName="Media"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTutorialPopoutText=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=f(n(15)),l=f(n(107)),u=f(n(8368)),s=f(n(6)),d=f(n(7767));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=function(){return a.createElement(a.Fragment,null,s.default.Messages.TIP_INSTANT_INVITE_BODY3.format({shareIcon:s.default.Messages.INSTANT_INVITE,shareIconHook:function(){return p(u.default,{className:d.default.icon},"icon")}}))},y=p((function(){var e=(0,o.useStateFromStores)([i.default,l.default],(function(){return i.default.getGuild(l.default.getGuildId())}),[]),t=null==e?void 0:e.name;return a.createElement(a.Fragment,null,s.default.Messages.TIP_WRITING_MESSAGES_BODY3.format({serverName:t}))}),{}),m=p(v,{});t.getTutorialPopoutText=function(e){var t,n={VOICE_CONVERSATIONS:{title:p("div",{className:d.default.voiceChannelsTitle},void 0,s.default.Messages.NUF_VOICE_CHANNELS_TITLE),body:s.default.Messages.NUF_VOICE_CHANNELS_DESCRIPTION},WRITING_MESSAGES:{title:p("div",{className:d.default.writingMessagesTitle},void 0,s.default.Messages.TIP_WRITING_MESSAGES_TITLE3),body:y},ORGANIZE_BY_TOPIC:{title:p("div",{className:d.default.channelsTitle},void 0,s.default.Messages.NUF_CHANNELS_TITLE),body:s.default.Messages.NUF_CHANNELS_DESCRIPTION},WHOS_ONLINE:{title:s.default.Messages.TIP_WHOS_ONLINE_TITLE3,body:s.default.Messages.TIP_WHOS_ONLINE_BODY3.format()},INSTANT_INVITE:{title:s.default.Messages.TIP_INSTANT_INVITE_TITLE3,body:m},SERVER_SETTINGS:{title:s.default.Messages.TIP_SERVER_SETTINGS_TITLE3,body:s.default.Messages.TIP_SERVER_SETTINGS_BODY3.format()},DIRECT_MESSAGES:{title:s.default.Messages.TIP_DIRECT_MESSAGES_TITLE3,body:s.default.Messages.TIP_DIRECT_MESSAGES_BODY3.format()},CREATE_MORE_SERVERS:{title:s.default.Messages.TIP_CREATE_MORE_SERVERS_TITLE3,body:s.default.Messages.TIP_CREATE_MORE_SERVERS_BODY3.format()},CREATE_FIRST_SERVER:{title:s.default.Messages.TIP_CREATE_FIRST_SERVER_TITLE3,body:s.default.Messages.TIP_CREATE_FIRST_SERVER_BODY3.format()},FRIENDS_LIST:{title:s.default.Messages.TIP_FRIENDS_LIST_TITLE3,body:s.default.Messages.TIP_FRIENDS_LIST_BODY3.format()}}[e.replace(/-/g,"_").toUpperCase()]||{};return{title:n.title,body:n.body,isLongText:null!==(t=n.isLongText)&&void 0!==t&&t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.guildDirectoryEntryFromServer=function(e){var t,n,a,i,l,u;return(0,r.default)(e.type===o.DirectoryEntryTypes.GUILD,"Directory entries must be connected to a guild!"),{channelId:e.directory_channel_id,guildId:e.entity_id,type:e.type,authorId:e.author_id,createdAt:e.created_at,description:e.description,name:null===(t=e.guild)||void 0===t?void 0:t.name,icon:null===(n=e.guild)||void 0===n?void 0:n.icon,splash:null===(a=e.guild)||void 0===a?void 0:a.splash,features:new Set(null===(i=e.guild)||void 0===i?void 0:i.features),approximateMemberCount:null===(l=e.guild)||void 0===l?void 0:l.approximate_member_count,approximatePresenceCount:null===(u=e.guild)||void 0===u?void 0:u.approximate_presence_count}},t.orderGuildEntries=function(e){return a.default.orderBy(e,[function(e){return e.approximateMemberCount}],["desc"])};var r=i(n(23)),a=i(n(8)),o=n(9190);function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=K(n(0)),o=Y(n(8)),i=K(n(680)),l=n(3),u=Y(n(1226)),s=Y(n(8691)),d=K(n(8357)),f=Y(n(105)),c=Y(n(9005)),p=n(1246),v=Y(n(8572)),y=Y(n(8456)),m=Y(n(9955)),_=K(n(300)),h=n(9004),E=n(1209),g=n(31),S=Y(n(1212)),O=Y(n(10)),I=Y(n(715)),T=n(86),C=Y(n(40)),b=Y(n(200)),M=Y(n(8692)),N=Y(n(181)),A=Y(n(8393)),P=Y(n(1210)),R=n(292),L=n(393),D=n(6057),w=Y(n(9956)),j=Y(n(9960)),k=Y(n(9962)),U=Y(n(9984)),G=Y(n(9985)),F=Y(n(9987)),B=Y(n(9988)),H=Y(n(9991)),x=n(1),V=Y(n(6)),W=Y(n(7790));function Y(e){return e&&e.__esModule?e:{default:e}}function z(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return z=function(){return e},e}function K(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=z();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function $(){return($=Object.assign||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}).apply(this,arguments)}function Z(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function q(e,t){return(q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var X={x:-36,y:7,targetWidth:232,targetHeight:40,offset:{x:0,y:0}};var J=o.default.memoize((function(e){var t=null;return e._categories.filter((function(e){return e.index>=0})).map((function(e){return e.channel.id})).some((function(n){return null!=(t=e[n].find((function(e){return e.channel.isGuildVoice()})))})),t}));J.cache=new WeakMap;var Q=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this)._list=null,t.unreadTopRef=a.createRef(),t.unreadBottomRef=a.createRef(),t.state={initialized:!1,isUnreadVisible:!0,topUnread:null,topMention:null,bottomUnread:null,bottomMention:null},t.setListRef=function(e){t.context.ref.current=(null==e?void 0:e.getScrollerNode())||null,t._list=e},t.jumpToChannel=function(e,n){var r=n[0],a=n[1];return t.scrollToChannel(e,!0,null!=r&&null!=a?32:8)},t.isChannelVisible=function(e,n){var r=t.getChannelSectionRow(e),a=t._list;if(null==a||null==r)return!1;var o=r.row,i=r.section,l=a.getScrollPosition(i,o),u=l[0],s=l[1],d=a.getScrollerState();return!!(n&&u+s<d.scrollTop+d.offsetHeight)||!n&&u>d.scrollTop},t.handleResize=function(){t.setState({isUnreadVisible:t.isUnreadVisible()})},t.handleListScroll=function(){var e,n=t.props.onScroll,r=(null===(e=t._list)||void 0===e?void 0:e.getScrollerState())||null;if(null!=r){var a=r.scrollTop;null!=n&&n(r),t.updateChannelListScroll(a)}null!=t.unreadTopRef.current&&t.unreadTopRef.current.calculateState(),null!=t.unreadBottomRef.current&&t.unreadBottomRef.current.calculateState()},t.updateChannelListScroll=o.default.throttle((function(e){u.default.updateChannelListScroll(t.props.guildId,e)}),100),t.handleUnreadCalculate=function(e,n,r){var a=t.isUnreadVisible();r?t.setState({isUnreadVisible:a,bottomUnread:n,bottomMention:e}):t.setState({isUnreadVisible:a,topUnread:n,topMention:e})},t.getSectionHeight=function(e){var n=t.props,r=n.categories,a=n.channels[x.ChannelTypes.GUILD_CATEGORY][e].channel;return 0===e&&r[a.id].length>0?16:0===e?0:40},t.getFooterHeight=function(e){var n=t.props,r=n.categories,a=n.channels,o=n.voiceStates,i=n.selectedVoiceChannelId,l=a[x.ChannelTypes.GUILD_CATEGORY][e].channel;return(0,R.shouldRenderVoiceUserSummary)(l.id,r,i,o)?34:0},t.getRowHeight=function(e,n){var r=null!=n?n:0,a=t.props,o=a.channels,i=a.collapsedChannels,l=a.voiceStates,u=a.categories,s=a.hoistedRows,d=a.stageChannelSpeakerVoiceStates,f=34;if(0===n&&null!=s&&(n-=s.length)<0)return f;var p=o[x.ChannelTypes.GUILD_CATEGORY][e],v=p?u[p.channel.id][r]:u.null[r];if(null==v)return 0;var y=v.channel,m=(0,h.getVisibleThreadsForChannel)({channel:y,selectedChannel:t.props.selectedChannel,activeJoinedThreads:t.props.activeJoinedThreads,activeJoinedUnreadThreads:t.props.activeJoinedUnreadThreads}).count;if((0,c.default)(y)&&0===m)return 0;if(g.THREADED_CHANNEL_TYPES.has(y.type)&&(f+=34*m),y.isGuildVoice()){var _=l[y.id];if(null!=_&&_.length>0){var E=32*_.length;(i[y.id]||S.default.isCollapsed(y.parent_id))&&(E=Math.ceil(E/5)),f+=E+8}}if(y.isGuildStageVoice()){var O,I,T=null!==(O=l[y.id])&&void 0!==O?O:[],C=null!==(I=d[y.id])&&void 0!==I?I:[];if(null!=T&&T.length>0){var b=32*C.length;i[y.id]||S.default.isCollapsed(y.parent_id)?b=Math.ceil(b/5):b+=32,f+=b+8}}return f},t.renderSection=function(e){var n=e.section,r=t.props,a=r.categories,o=r.disableManageChannels,i=r.hoistedRows,l=a._categories[n];if(null==l)return null;if(-1===l.index)return a.null.length>0||null!=i?Z("div",{style:{height:16}},"spacer"):null;var u=l.channel,s=l.index,d=null==a[u.id]||0===a[u.id].length;return Z(w.default,{channel:u,position:s,isEmpty:d,disableManageChannels:o},u.id,1===n?t.renderCachedTutorialIndicator(u.id):void 0)},t.renderCachedTutorialIndicator=(0,L.cachedFunction)((function(e){return Z(d.default,{preventInvert:!0,inlineSpecs:X,tutorialId:"organize-by-topic",position:d.TutorialIndicatorPositions.RIGHT},e)})),t.renderRow=function(e){var n,r,o=e.section,i=e.row,l=t.props,u=l.guild,s=l.selectedChannel,d=l.selectedChannelId,f=l.selectedVoiceChannelId,p=l.mutedChannels,v=l.channels,y=l.categories,m=l.collapsedChannels,_=l.voiceStates,E=l.disableManageChannels,g=l.hoistedRows,S=l.stageChannelSpeakerVoiceStates;if(0===o&&null!=g){if(i<g.length)switch(g[i]){case D.ChannelListHoistedRow.GUILD_SCHEDULED_EVENTS:return Z(B.default,{guild:u,selected:d===D.ChannelListHoistedRow.GUILD_SCHEDULED_EVENTS},D.ChannelListHoistedRow.GUILD_SCHEDULED_EVENTS);default:return null}i-=g.length}var O=v[x.ChannelTypes.GUILD_CATEGORY][o];if(null==O)return null;var I=y[O.channel.id][i];if(null==I)return null;var T=I.channel,C=(0,h.getVisibleThreadsForChannel)({channel:T,selectedChannel:s,activeJoinedThreads:t.props.activeJoinedThreads,activeJoinedUnreadThreads:t.props.activeJoinedUnreadThreads}),b=C.count,M=C.threads;if((0,c.default)(T)&&0===b)return null;var N=I.index;switch(I.channel.type){case x.ChannelTypes.GUILD_ANNOUNCEMENT:case x.ChannelTypes.GUILD_TEXT:case x.ChannelTypes.GUILD_DIRECTORY:var A=p.has(T.id);return Z(a.Fragment,{},T.id,Z(G.default,{channel:T,guild:u,position:N,selected:d===T.id,muted:A,disableManageChannels:E}),b>0?Z(j.default,{channel:T,selectedChannel:s,threads:M}):null);case x.ChannelTypes.GUILD_STAGE_VOICE:return Z(k.default,{channel:T,guild:u,position:N,selected:d===T.id,connected:f===T.id,collapsed:m[T.id],voiceStates:null!==(n=_[T.id])&&void 0!==n?n:[],speakerVoiceStates:null!==(r=S[T.id])&&void 0!==r?r:[],disableManageChannels:E},T.id);case x.ChannelTypes.GUILD_VOICE:var P=J(t.props.categories);return Z(H.default,{channel:T,guild:u,position:N,selected:d===T.id,connected:f===T.id,collapsed:m[T.id],voiceStates:_[T.id],disableManageChannels:E,showTutorial:null!=P&&P.channel===T&&P.index===N},T.id);case x.ChannelTypes.GUILD_STORE:return Z(U.default,{channel:T,guild:u,position:N,selected:d===T.id},T.id);default:return null}},t.renderFooter=function(e){var n=e.section,r=t.props,a=r.channels,o=r.categories,i=r.voiceStates,l=r.selectedVoiceChannelId,u=a[x.ChannelTypes.GUILD_CATEGORY][n];if(null==u)return null;var s=u.channel;if(!S.default.isCollapsed(s.id))return null;var d=(0,R.computeSummarizedVoiceUsers)(o[s.id],l,i);return 0===d.length?null:Z("div",{className:W.default.voiceUserSummary},n+"-footer",Z(A.default,{renderIcon:!0,users:d,max:8,showUserPopout:!0,guildId:t.props.guildId}))},t.getAnchorId=function(e,n){var r,a=t.props,o=a.categories,i=a.channels;if(null==n){var l,u,s=0===e?null:null===(l=i[x.ChannelTypes.GUILD_CATEGORY])||void 0===l||null===(u=l[e])||void 0===u?void 0:u.channel;return 0===e?"null-uncat":null==s?void 0:s.id}var d=i[x.ChannelTypes.GUILD_CATEGORY][e],f=null===(r=d?o[d.channel.id][n]:o.null[n])||void 0===r?void 0:r.channel;return null==f?void 0:f.id},t.testShouldSkipTutorial=function(){var e=t.props.categories;if(M.default.shouldShow("voice-conversations")){var n=J(e);if(null!=n){var r=n.channel,a=t._list,o=t.getChannelSectionRow(r.id);if(null!=a&&null!=o){var i=o.section,l=o.row;a.isItemVisible(i,l)&&!(0,c.default)(r)||s.default.dismiss("voice-conversations")}}else s.default.dismiss("voice-conversations")}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,q(t,n);var i=r.prototype;return i.componentDidMount=function(){this.setState({initialized:!0})},i.componentWillUnmount=function(){this.updateChannelListScroll.cancel()},i.componentDidUpdate=function(e,t){var n=this.props,r=n.scrollToChannel,a=n.guildId,o=n.channels,i=n.selectedChannelId,l=this.state.initialized,s=I.default.getGuildDimensions(a).scrollTop;null!=r?(this.scrollToChannel(r),u.default.clearChannelListScrollTo(a)):a!==e.guildId?(s||0===s)&&this.scrollTo(s):0===e.channels[T.GUILD_SELECTABLE_CHANNELS_KEY].length&&o[T.GUILD_SELECTABLE_CHANNELS_KEY].length>0||i!==e.selectedChannelId?this.scrollToChannel(i):!t.initialized&&l&&(null==s&&null!=i?this.scrollToChannel(i,!1,8,this.handleListScroll):this.scrollTo(s||0,this.handleListScroll)),this.testShouldSkipTutorial()},i.getChannelSectionRow=function(e){var t=this.props;return function(e,t,n){var r;if(null!=e&&null!=n){var a=n.indexOf(e);if(-1!==a)return{row:a,section:0}}var o=0,i=0,l=O.default.getChannel(e);if(null==l)return null;if(g.THREAD_CHANNEL_TYPES.has(l.type)&&(l=O.default.getChannel(l.parent_id)),null==l)return null;var u=l.isCategory()?l.id:null!==(r=l.parent_id)&&void 0!==r?r:"null",s=t[String(u)];return null==s?null:(t._categories.find((function(e,t){return e.channel.id===u&&(o=t,!0)})),s.find((function(e,t){return e.channel.id===l.id&&(i=t,!0)})),0===o&&null!=n&&(i+=n.length),{section:o,row:i})}(e,t.categories,t.hoistedRows)},i.scrollTo=function(e,t){var n;null===(n=this._list)||void 0===n||n.scrollTo({to:e,animate:!1,callback:t})},i.scrollToChannel=function(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=8);var a=this._list,o=this.getChannelSectionRow(e);null!=o&&null!=a&&a.scrollToIndex({section:o.section,row:o.row,animate:t,padding:n,callback:r})},i.isUnreadVisible=function(){var e=this.props,t=e.mutedChannels,n=e.categories,r=this._list;return null!=r&&r.getItems().some((function(e){if("row"!==e.type)return!1;var a=e.section,o=e.row,i=n._categories[a];if(null==i)return!1;var l=n[i.channel.id][o];if(null==l)return!1;var u=l.channel;if(!(0,g.isGuildTextChannelType)(u.type))return!1;var s=i.channel.id;return!(S.default.isCollapsed(s)&&N.default.isChannelMuted(u.getGuildId(),s)||t.has(u.id)||!r.isItemVisible(a,o,!0))&&b.default.hasUnread(u.id)}))},i.renderList=function(){var e=this,t=this.props,n=t.categories,r=t.guild,o=t.guildBanner,i=t.collapseMuted,l=t.mutedChannels,u=t.selectedChannel,s=t.selectedChannelId,d=t.hoistedRows,f=t.activeJoinedThreads,c=t.activeJoinedUnreadThreads,v=[];n._categories.forEach((function(e){var t=e.channel,a=n[t.id].length;if(0===a&&null!=r&&C.default.can(x.Permissions.MANAGE_CHANNELS,t)&&C.default.can(x.Permissions.VIEW_CHANNEL,t))a=1;else if(i){n[t.id].some((function(e){var t=e.channel;return t.id===s||!l.has(t.id)||(0,h.getVisibleThreadsForChannel)({channel:t,selectedChannel:u,activeJoinedThreads:f,activeJoinedUnreadThreads:c}).count>0}))||(a=0)}v.push(a)})),null!=d&&d.length>0&&(null==v[0]&&v.push(0),v[0]+=d.length);var y=this.context,m=(y.ref,function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(y,["ref"]));return Z(p.FocusJumpSection,{},void 0,(function(t){return a.createElement(P.default,$({key:"guild-channels",ref:e.setListRef,className:W.default.scroller,fade:!0,sectionHeight:e.getSectionHeight,footerHeight:e.getFooterHeight,rowHeight:e.getRowHeight,paddingTop:null!=o?84:0,paddingBottom:16,renderSection:e.renderSection,renderFooter:e.renderFooter,renderRow:e.renderRow,onScroll:e.handleListScroll,sections:v,"aria-label":V.default.Messages.CHANNELS,onResize:e.handleResize,getAnchorId:e.getAnchorId},m,t))}))},i.renderTopUnread=function(){var e=this.state,t=e.topMention,n=e.bottomUnread,r=e.bottomMention,o=e.isUnreadVisible,i=this.props.guildId,l=null==t&&(o||null!=n||null!=r);return Z("div",{className:W.default.positionedContainer},void 0,a.createElement(F.default,{ref:this.unreadTopRef,textUnread:V.default.Messages.NEW_UNREADS,textMention:V.default.Messages.NEW_MENTIONS,hide:l,className:W.default.unreadTop,barClassName:W.default.unreadBar,guildId:i,isVisible:this.isChannelVisible,onJumpTo:this.jumpToChannel,onCalculate:this.handleUnreadCalculate}))},i.renderBottomUnread=function(){var e=this.props.guildId,t=this.state,n=t.bottomMention,r=t.isUnreadVisible,o=null==n&&r;return a.createElement(F.default,{reverse:!0,ref:this.unreadBottomRef,textUnread:V.default.Messages.NEW_UNREADS,textMention:V.default.Messages.NEW_MENTIONS,hide:o,className:W.default.unreadBottom,barClassName:W.default.unreadBar,guildId:e,isVisible:this.isChannelVisible,onJumpTo:this.jumpToChannel,onCalculate:this.handleUnreadCalculate})},i.render=function(){return Z(a.Fragment,{},void 0,this.renderTopUnread(),this.renderList(),this.renderBottomUnread())},r}(a.PureComponent);Q.displayName="Channels",Q.contextType=i.ListContainerContext;var ee=function(e){var t,n=e.guildId,r=e.selectedChannelId,o=(0,l.useStateFromStores)([f.default],(function(){return f.default.keyboardModeEnabled})),u=(0,E.useCanSeeThreads)(),s=(0,l.useStateFromStoresObject)([_.default],(function(){return{activeJoinedThreads:u?_.default.getActiveJoinedThreadsForGuild(n):_.NO_GUILD_JOINED_THREADS,activeJoinedUnreadThreads:u?_.default.getActiveJoinedUnreadThreadsForGuild(n):_.NO_GUILD_JOINED_THREADS}})),d=s.activeJoinedThreads,c=s.activeJoinedUnreadThreads,p=(0,l.useStateFromStores)([O.default],(function(){return O.default.getChannel(r)})),h=(0,y.default)(n),g=h.canStartEvents,S=h.canSeeEvents;((0,v.default)(n).length>0&&S||g)&&(t=[D.ChannelListHoistedRow.GUILD_SCHEDULED_EVENTS]);var I=a.useRef(null),T=a.useCallback((function(e,t){var n=I.current;null!=n&&n.scrollToChannel(t,!1,16,(function(){requestAnimationFrame((function(){var t;return null===(t=document.querySelector(e))||void 0===t?void 0:t.focus()}))}))}),[]),C=a.useCallback((function(){return new Promise((function(e){var t=I.current;if(null==t)return e();t.scrollTo(0,(function(){return requestAnimationFrame((function(){return e()}))}))}))}),[]),b=a.useCallback((function(){return new Promise((function(e){var t=I.current;if(null==t)return e();t.scrollTo(Number.MAX_SAFE_INTEGER,(function(){return requestAnimationFrame((function(){return e()}))}))}))}),[]),M=(0,i.default)({id:"channels",defaultFocused:null!=r?r:void 0,isEnabled:o,setFocus:T,scrollToStart:C,scrollToEnd:b}),N=M.setFocus;a.useEffect((function(){null!=r&&N(r)}),[r,N]);var A=(0,m.default)(n);return Z(i.ListNavigatorProvider,{navigator:M},void 0,a.createElement(Q,$({},e,{listNavigator:M,ref:I,activeJoinedThreads:d,activeJoinedUnreadThreads:c,selectedChannel:p,stageChannelSpeakerVoiceStates:A,hoistedRows:t})))};ee.displayName="NavigableChannels";var te=ee;t.default=te},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transformParticipantToSortedVoiceState=s,t.default=function(e){return(0,a.useStateFromStores)([i.default],(function(){var t=i.default.getChannels(e);return[t.reduce((function(e,t){var n=i.default.getMutableParticipants(t.id,l.StageChannelParticipantNamedIndex.SPEAKER);return e[t.id]=n.map(s),e}),{}),t.reduce((function(e,t){var n=t.id;return e+i.default.getParticipantsVersion(n)}),0)]}),[e],u.isVersionEqual)[0]};var r,a=n(3),o=n(365),i=(r=n(302))&&r.__esModule?r:{default:r},l=n(260),u=n(734);function s(e){var t=e.voiceState,n=e.userNick;return{user:e.user,voiceState:t,nick:n,comparator:(0,o.getComparator)(t,n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=A(n(9)),i=n(680),l=n(3),u=n(8450),s=n(389),d=A(n(8458)),f=n(8463),c=A(n(9957)),p=A(n(88)),v=A(n(1212)),y=A(n(15)),m=A(n(40)),_=A(n(181)),h=A(n(29)),E=A(n(61)),g=A(n(8319)),S=A(n(149)),O=A(n(8320)),I=A(n(8536)),T=n(41),C=A(n(8436)),b=n(1),M=A(n(6)),N=A(n(7770));function A(e){return e&&e.__esModule?e:{default:e}}function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function L(){return(L=Object.assign||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}).apply(this,arguments)}function D(e){e.stopPropagation()}var w=a.memo((function(e){var t,n,r=e.channel,f=e.connectChannelDragSource,A=e.connectChannelDropTarget,P=e.disableManageChannels,w=e.position,j=e.sortingPosition,k=e.hideIcon,U=e.children,G=(0,l.useStateFromStores)([_.default],(function(){return _.default.isChannelMuted(r.getGuildId(),r.id)})),F=(0,l.useStateFromStores)([v.default],(function(){return v.default.isCollapsed(r.id)})),B=(0,l.useStateFromStores)([m.default],(function(){return m.default.can(b.Permissions.MANAGE_CHANNELS,r)}));n=null!=j?w>j?N.default.containerDragAfter:N.default.containerDragBefore:N.default.containerDefault;var H=a.useCallback((function(){F?(0,u.categoryExpand)(r.id):(0,u.categoryCollapse)(r.id)}),[r.id,F]),x=a.useCallback((function(e){if("null"!==r.id){var t=y.default.getGuild(r.getGuildId());null!=t&&(0,s.openContextMenu)(e,(function(e){return a.createElement(c.default,L({},e,{channel:r,guild:t}))}))}}),[r]),V=a.useCallback((function(){var e=r.type===b.ChannelTypes.GUILD_CATEGORY?null:r.type,t=r.getGuildId();null!=t&&(0,T.openModal)((function(n){return a.createElement(d.default,L({},n,{channelType:e,guildId:t,categoryId:"null"!==r.id?r.id:null}))}))}),[r]),W=(0,i.useListItem)(r.id),Y=W.role,z=W.tabIndex,K=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(W,["role","tabIndex"]),$=a.useRef(null),Z=a.useRef(null),q=R("div",{className:n},void 0,R(p.default,{focusTarget:$,ringTarget:Z,offset:{left:4,right:4}},void 0,a.createElement("div",{ref:Z,className:(0,o.default)(N.default.iconVisibility,N.default.wrapper,(t={},t[N.default.collapsed]=F,t[N.default.muted]=G,t[N.default.clickable]=!0,t)),onContextMenu:x,role:Y},a.createElement(E.default,L({innerRef:$,className:N.default.mainContent,tabIndex:z},K,{onClick:H,"aria-label":M.default.Messages.CATEGORY_A11Y_LABEL.format({categoryName:r.name}),"aria-expanded":!F,focusProps:{enabled:!1}}),k?null:R(O.default,{className:N.default.icon}),R(C.default,{className:N.default.name},void 0,R(g.default,{},void 0,r.name))),R("div",{onClick:D,className:N.default.children},void 0,B&&!P?R(S.default,{text:M.default.Messages.CREATE_CHANNEL},void 0,(function(e){var t=e.onMouseEnter,n=e.onMouseLeave;return R(h.default,{"aria-label":M.default.Messages.CREATE_CHANNEL,look:h.default.Looks.BLANK,size:h.default.Sizes.NONE,className:(0,o.default)(N.default.addButton,N.default.forceVisible),onClick:V,onMouseEnter:t,onMouseLeave:n,tabIndex:z,focusProps:{offset:{top:-3,right:-4,bottom:-3,left:-4}}},void 0,R(I.default,{className:N.default.addButtonIcon}))})):null))),U);return null!=A&&null!=f?A(f(q)):q})),j=(0,f.makeChannelSortable)(w);t.default=j},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;h(n(0));var r,a=n(389),o=m(n(8258)),i=h(n(8253)),l=m(n(11)),u=m(n(9958)),s=m(n(9959)),d=m(n(8484)),f=m(n(8329)),c=m(n(8370)),p=m(n(8441)),v=m(n(8399)),y=m(n(6));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e){var t=e.channel,n=e.guild,r=e.onSelect,m=(0,p.default)(t),_=(0,v.default)(t),h=(0,s.default)(t),g=(0,u.default)(t),S=(0,c.default)(t),O=(0,d.default)(t,n),I=(0,f.default)(t),T=(0,o.default)(t.id);return l.default.isGuest()?null:E(i.default,{navId:"channel-context",onClose:a.closeContextMenu,"aria-label":y.default.Messages.CHANNEL_ACTIONS_MENU_LABEL,onSelect:r},void 0,E(i.MenuGroup,{},void 0,m),E(i.MenuGroup,{},void 0,_),E(i.MenuGroup,{},void 0,h,g,S,O),E(i.MenuGroup,{},void 0,I),E(i.MenuGroup,{},void 0,T))}g.displayName="ChannelListTextChannelContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=n(8450),i=n(8253),l=f(n(1212)),u=f(n(10)),s=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){return(0,a.useStateFromStores)([l.default,u.default],(function(){var t=Object.values(u.default.getMutableGuildChannels()).filter((function(t){return t.guild_id===e.guild_id&&t.type===s.ChannelTypes.GUILD_CATEGORY}));return 0===t.length||t.every((function(e){return l.default.isCollapsed(e.id)}))}))?null:p(i.MenuItem,{id:"collapse-all-categories",label:d.default.Messages.COLLAPSE_ALL_CATEGORIES,action:function(){return(0,o.categoryCollapseAll)(e.guild_id)}})}v.displayName="useCategoryCollapseAllItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=n(8450),i=n(8253),l=s(n(1212)),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=(0,a.useStateFromStores)([l.default],(function(){return l.default.isCollapsed(e.id)}),[e.id]);return f(i.MenuCheckboxItem,{id:"collapse-category",label:u.default.Messages.COLLAPSE_CATEGORY,action:function(){return t?(0,o.categoryExpand)(e.id):(0,o.categoryCollapse)(e.id)},checked:t})}c.displayName="useCategoryCollapseItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(8)),i=n(31),l=s(n(9961)),u=s(n(7771));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.channel,n=e.selectedChannel,r=e.threads,a=(0,o.default)(r).values().sortBy("joinTimestamp").reverse().value();null==n||n.parent_id!==t.id||!i.THREAD_CHANNEL_TYPES.has(n.type)||null!=r&&n.id in r||a.unshift({channel:n,joinTimestamp:Date.now()});for(var s=1===a.length?y:2===a.length?_:E,d=[],c=a.length-3;c>0;c--)d.push(f(E,{style:{top:8+34*c+"px"}},c));return f("div",{className:u.default.container},void 0,f(s,{}),d,a.map((function(e){return f(l.default,{thread:e.channel,selected:(null==n?void 0:n.id)===e.channel.id},e.channel.id)})))}c.displayName="GuildSidebarThreadList";var p=a.memo(c);t.default=p;var v=f("path",{d:"M11 9H4C2.89543 9 2 8.10457 2 7V1C2 0.447715 1.55228 0 1 0C0.447715 0 0 0.447715 0 1V7C0 9.20914 1.79086 11 4 11H11C11.5523 11 12 10.5523 12 10C12 9.44771 11.5523 9 11 9Z",fill:"currentColor"}),y=function(){return f("svg",{className:u.default.spine,width:"12",height:"11",viewBox:"0 0 12 11",fill:"none"},void 0,v)};y.displayName="Spine1";var m=f("path",{d:"M2 1C2 0.447715 1.55228 0 1 0C0.447715 0 0 0.447715 0 1V41C0 43.2091 1.79086 45 4 45H11C11.5523 45 12 44.5523 12 44C12 43.4477 11.5523 43 11 43H4C2.89543 43 2 42.1046 2 41V13C2 11.8954 2.89543 11 4 11H11C11.5523 11 12 10.5523 12 10C12 9.44771 11.5523 9 11 9H4C2.89543 9 2 8.10457 2 7V1Z",fill:"currentColor"}),_=function(){return f("svg",{className:u.default.spine,width:"12",height:"45",viewBox:"0 0 12 45",fill:"none"},void 0,m)};_.displayName="Spine2";var h=f("path",{d:"M1 0C0.447715 0 0 0.447713 0 0.999998V75C0 77.2091 1.79086 79 4 79H11C11.5523 79 12 78.5523 12 78C12 77.4477 11.5523 77 11 77H4C2.89543 77 2 76.1046 2 75V47C2 45.8954 2.89543 45 4 45H11C11.5523 45 12 44.5523 12 44C12 43.4477 11.5523 43 11 43H4C2.89543 43 2 42.1046 2 41V13C2 11.8954 2.89543 11 4 11H11C11.5523 11 12 10.5523 12 10C12 9.44771 11.5523 9 11 9H4C2.89543 9 2 8.10457 2 7V1C2 0.447715 1.55228 0 1 0Z",fill:"currentColor"}),E=function(e){var t=e.style;return f("svg",{className:u.default.spine,width:"12",height:"79",viewBox:"0 0 12 79",fill:"none",style:t},void 0,h)};E.displayName="Spine3"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=I(n(9)),i=n(680),l=n(3),u=I(n(391)),s=n(389),d=I(n(8397)),f=I(n(88)),c=n(42),p=I(n(8265)),v=n(392),y=I(n(10)),m=I(n(200)),_=I(n(61)),h=I(n(8319)),E=n(8263),g=I(n(6)),S=I(n(7346)),O=I(n(7357));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function b(){return(b=Object.assign||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}).apply(this,arguments)}function M(e){var t,n,r=e.thread,I=e.selected,T=(0,l.useStateFromStoresObject)([m.default],(function(){return{unread:m.default.hasUnread(r.id),mentionCount:m.default.getMentionCount(r.id)}})),M=T.unread,N=T.mentionCount,A=a.useCallback((function(e){e.shiftKey?p.default.openThreadSidebarForViewing(r):(0,c.transitionToThread)(r.guild_id,r.id,v.OpenThreadAnalyticsLocations.CHANNEL_LIST)}),[r]),P=a.useCallback((function(){u.default.preload(r.guild_id,r.id)}),[r.guild_id,r.id]),R=a.useCallback((function(e){var t=y.default.getChannel(r.id);null!=t&&(0,s.openContextMenu)(e,(function(e){return a.createElement(d.default,b({},e,{channel:t}))}))}),[r.id]),L=(0,i.useListItem)(r.id),D=L.role,w=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(L,["role"]),j=a.useRef(null),k=a.useRef(null),U=(N>0?g.default.Messages.GUILD_SIDEBAR_DEFAULT_CHANNEL_A11Y_LABEL_WITH_MENTIONS:M?g.default.Messages.GUILD_SIDEBAR_DEFAULT_CHANNEL_A11Y_LABEL_WITH_UNREADS:g.default.Messages.GUILD_SIDEBAR_DEFAULT_CHANNEL_A11Y_LABEL).format({channelName:r.name,mentionCount:N});return C("div",{className:(0,o.default)(S.default.containerDefault,(t={},t[S.default.selected]=I,t))},void 0,C(f.default,{focusTarget:j,ringTarget:k,offset:{top:2,bottom:2,right:4}},void 0,C("div",{className:(0,o.default)(S.default.iconVisibility,O.default.wrapper,O.default.typeThread,(n={},n[O.default.modeSelected]=I,n[O.default.modeUnread]=!I&&M,n)),onMouseDown:P,onContextMenu:R,role:D},void 0,M&&!I?C("div",{className:O.default.unread}):null,a.createElement("div",{className:O.default.content,ref:k},a.createElement(_.default,b({innerRef:j,className:(0,o.default)(O.default.mainContent,O.default.threadMainContent),onClick:A},w,{"aria-label":U,focusProps:{enabled:!1}}),C(h.default,{className:(0,o.default)(O.default.name,O.default.channelName),"aria-hidden":!0},void 0,r.name),C("div",{className:O.default.children},void 0,null!=N&&N>0?C("div",{className:S.default.mentionsBadge,"aria-hidden":!0},void 0,C(E.NumberBadge,{count:N})):null))))))}M.displayName="GuildSidebarThreadListEntry";var N=a.memo(M);t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=W;var r,a=j(n(0)),o=D(n(9)),i=n(3),l=n(389),u=n(8463),s=n(8671),d=D(n(8693)),f=n(42),c=n(1232),p=n(1260),v=n(260),y=D(n(81)),m=j(n(9982)),_=D(n(1212)),h=D(n(10)),E=D(n(15)),g=D(n(1219)),S=D(n(40)),O=D(n(80)),I=D(n(696)),T=D(n(24)),C=n(292),b=D(n(8537)),M=D(n(8538)),N=D(n(8763)),A=n(1),P=D(n(6)),R=D(n(7346)),L=D(n(7782));function D(e){return e&&e.__esModule?e:{default:e}}function w(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return w=function(){return e},e}function j(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=w();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function k(){return(k=Object.assign||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}).apply(this,arguments)}function U(e,t){return(U=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function G(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function F(e){var t=e.getGuildId();if(null==t)throw new Error("StageChannel, transitionTo: Channel does not have a guildId");(0,f.transitionTo)(A.Routes.CHANNEL(t,e.id))}var B=G(I.default,{width:16,height:16});function H(e){var t=e.numAudience;return G("div",{className:L.default.audienceVoiceUserContainer},void 0,G("div",{className:L.default.audienceVoiceUserIconContainer},void 0,B),G(T.default,{className:L.default.audienceVoiceUserText,size:T.default.Sizes.SIZE_14},void 0,t>0?P.default.Messages.STAGE_CHANNEL_AUDIENCE_COUNT.format({userCount:t}):P.default.Messages.STAGE_CHANNEL_NO_AUDIENCE))}H.displayName="AudienceVoiceUser";var x=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(){var e=t.props,n=e.channel,r=e.connectAction,a=e.locked,o=e.connected;switch(a||o||(0,c.connectAndOpen)(n),__OVERLAY__||F(n),r){case m.ChannelConnectAction.NORMAL:case m.ChannelConnectAction.START_EVENT:}},t.handleContextMenu=function(e){var n=t.props.channel,r=E.default.getGuild(n.getGuildId());null!=r&&(0,l.openContextMenu)(e,(function(e){return a.createElement(d.default,k({},e,{channel:n,guild:r}))}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,U(t,n);var i=r.prototype;return i.getVoiceStatesCount=function(){var e,t=this.props.voiceStates;return null!==(e=null==t?void 0:t.length)&&void 0!==e?e:0},i.isFull=function(){var e=this.props.channel;return(0,C.isChannelFull)(e,O.default,E.default)},i.getModeClass=function(){var e=this.props,t=e.position,n=e.sortingPosition;return e.isUserOver?R.default.containerUserOver:null!=n?t>n?R.default.containerDragAfter:R.default.containerDragBefore:R.default.containerDefault},i.renderVoiceUsers=function(){var e=this.props,t=e.channel,n=e.voiceStates,r=e.collapsed,a=e.categoryCollapsed,o=e.tabIndex,i=e.speakerVoiceStates,l=e.numAudience,u=r||a;return G(N.default,{channel:t,voiceStates:i,collapsed:u,tabIndex:o},void 0,u||0===n.length?null:G(H,{numAudience:l}))},i.render=function(){var e,t,n=this.props,r=n.channel,a=n.selected,i=n.connected,l=n.locked,u=n.connectChannelDropTarget,s=n.connectChannelDragSource,d=n.connectUserDropTarget,f=n.connectDragPreview,c=n.canManageCategory,p=n.canMoveMembers,v=n.stageInstance,y=G("div",{className:(0,o.default)(this.getModeClass(),(e={},e[R.default.disabled]=this.isDisabled(),e))},void 0,G(M.default,{className:R.default.iconVisibility,iconClassName:(0,o.default)((t={},t[L.default.iconLive]=null!=v,t)),channel:r,selected:a,connected:i,locked:l,onClick:this.handleClick,onContextMenu:this.handleContextMenu,connectDragPreview:f,subtitle:null==v?void 0:v.topic,"aria-label":P.default.Messages.STAGE_VOICE_CHANNEL},void 0,this.renderInviteButton(),this.renderEditButton()),this.renderVoiceUsers());return p&&(y=d(y)),c&&(y=u(s(y))),y},r}(b.default);x.displayName="StageChannel";var V=(0,u.makeChannelSortable)((0,s.makeVoiceUserDroppable)(x));function W(e){var t=e.guild,n=e.channel,r=(0,i.useStateFromStoresObject)([S.default,h.default,g.default],(function(){var e=h.default.getChannel(n.parent_id),r=g.default.getCheck(n.guild_id);return{canManageChannel:t&&S.default.can(A.Permissions.MANAGE_CHANNELS,n),canManageCategory:null!=e?S.default.can(A.Permissions.MANAGE_CHANNELS,e):null!=t&&S.default.can(A.Permissions.MANAGE_CHANNELS,t),canMoveMembers:S.default.can(A.Permissions.MOVE_MEMBERS,n),locked:!S.default.can(A.Permissions.CONNECT,n),bypassLimit:S.default.can(A.Permissions.MOVE_MEMBERS,n),unverifiedAccount:!r.canChat}})),o=(0,i.useStateFromStores)([_.default],(function(){return _.default.isCollapsed(n.parent_id)})),l=(0,m.default)(n.id),u=(0,i.useStateFromStores)([y.default],(function(){return y.default.getStageInstanceByChannel(n.id)}),[n.id]),s=(0,p.useStageParticipantsCount)(n.id,v.StageChannelParticipantNamedIndex.AUDIENCE);return a.createElement(V,k({categoryCollapsed:o},r,e,{connectAction:l,numAudience:s,stageInstance:u}))}W.displayName="ConnectedStageChannel"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=s(n(8768)),i=n(8253),l=s(n(9023)),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=(0,a.useStateFromStores)([l.default],(function(){return l.default.isCollapsed(e.id)}),[e.id]);return __OVERLAY__?null:f(i.MenuCheckboxItem,{id:"hide-voice-names",label:u.default.Messages.VOICE_CHANNEL_HIDE_NAMES,action:function(){return o.default.update(e.id)},checked:t})}c.displayName="useChannelHideNamesItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=f(n(9965)),o=n(9966),i=n(8253),l=n(8256),u=f(n(81)),s=f(n(8431)),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){a.default.trackExposure({});var t=a.default.useExperiment({})[0],n=u.default.isLive(e.id);if(!e.isGuildStageVoice()||!n||!t.reportModal)return null;return p(i.MenuItem,{id:"report-stage",label:d.default.Messages.REPORT_MODAL_REPORT_STAGE_MENU_ITEM,action:function(){return(0,o.showReportModalForStageChannel)(e)},icon:s.default,color:l.MenuItemColor.DANGER})}v.displayName="useChannelReportStageItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-05_stages_in_app_reporting_experiment",label:"Stages In App Reporting Experiment",defaultConfig:{reportModal:!1},treatments:[{id:1,label:"Can see in-app reporting modal",config:{reportModal:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showReportModalForGuild=function(e){_({name:d.ReportNames.GUILD,record:e})},t.showReportModalForMessage=function(e){_({name:d.ReportNames.MESSAGE,record:e})},t.showReportModalForStageChannel=function(e){var t=o.default.getStageInstanceByChannel(e.id);if(!t)return;_({name:d.ReportNames.STAGE_CHANNEL,record:t})};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(81)),i=n(703),l=n(85),u=n(35),s=n(41),d=n(9967),f=c(n(9968));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=function(e){var t=e.reportType,n=e.menu,r=e.modalProps,o=(0,l.useUID)(),s=n.nodes,c=n.root_node_id,p=n.success_node_id,v=n.fail_node_id,m=a.useState(c),_=m[0],h=m[1],E=a.useState(void 0),g=E[0],S=E[1],O=a.useState([]),I=O[0],T=O[1],C=function(e){var t=e.destination[1];T([].concat(I,[e])),S(void 0),h(t)},b=function(){return(0,d.submitReport)(n,t,I)},M=function(){var e;if(!(I.length<1)){var t=[].concat(I),n=t.pop();S(null==n||null===(e=n.multiSelect)||void 0===e?void 0:e.state),h((null==n?void 0:n.nodeRef)||c),T(t)}},N=[];for(var A in s){var P=s[A];P.id!==p&&P.id!==v&&N.push(P)}return N.push(s[p],s[v]),y(u.ModalRoot,{transitionState:r.transitionState,"aria-labelledby":o},void 0,y(i.Slides,{width:440,activeSlide:_},void 0,N.map((function(e){return y(i.Slide,{id:e.id},e.id,y(f.default,{node:e,reportType:t,history:I,onModalClose:r.onClose,onSelectChild:C,onNavigateBack:M,multiSelect:g,successNodeId:p,failNodeId:v,onSubmit:b}))}))))};m.displayName="InAppReportModal";var _=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,d.getReportMenu)(t.name);case 3:n=e.sent,(0,s.openModal)((function(e){return y(m,{menu:n,reportType:t,modalProps:e})})),e.next=9;break;case 7:e.prev=7,e.t0=e.catch(0);case 9:case"end":return e.stop()}}),e,null,[[0,7]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){v(o,r,a,i,l,"next",e)}function l(e){v(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getReportMenu=function(e){return f.apply(this,arguments)},t.submitReport=function(e,t,n){return a.default.post({url:i.Endpoints.SUBMIT_REPORT_MENU(t.name),body:c(e,t,n)})},t.getTitleAsChild=t.ReportNames=void 0;var r,a=l(n(14)),o=l(n(97)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){s(o,r,a,i,l,"next",e)}function l(e){s(o,r,a,i,l,"throw",e)}i(void 0)}))}}function f(){return(f=d(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.default.get({url:i.Endpoints.GET_REPORT_MENU(t)});case 2:return r=e.sent,e.abrupt("return",null!==(n=r.body)&&void 0!==n?n:JSON.parse(r.text));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}t.ReportNames=r,function(e){e.GUILD="guild",e.MESSAGE="message",e.STAGE_CHANNEL="stage_channel"}(r||(t.ReportNames=r={}));var c=function(e,t,n){var a=e.version,i=e.variant,l=e.language,s={id:o.default.fromTimestamp(Date.now()),version:a,variant:i,language:null!=l?l:"en",breadcrumbs:n.map((function(e){return e.destination[1]})),elements:n.reduce((function(e,t){var n,r=t.multiSelect;return null==r?e:u({},e,((n={})[r.name]=Object.keys(r.state),n))}),{})};if(t.name===r.MESSAGE){var d=t.record,f=d.channel_id,c=d.id;return u({},s,{name:t.name,channel_id:f,message_id:c,guild_id:void 0,stage_instance_id:void 0})}if(t.name===r.GUILD){var p=t.record.id;return u({},s,{name:t.name,channel_id:void 0,message_id:void 0,stage_instance_id:void 0,guild_id:p})}if(t.name===r.STAGE_CHANNEL){var v=t.record,y=v.id,m=v.guild_id,_=v.channel_id;return u({},s,{name:t.name,channel_id:_,message_id:void 0,guild_id:m,stage_instance_id:y})}return null};t.getTitleAsChild=function(e){var t;return null!==(t=e.menu_name)&&void 0!==t?t:e.header}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(55)),i=n(35),l=E(n(9969)),u=E(n(9970)),s=E(n(9971)),d=E(n(9972)),f=E(n(9973)),c=E(n(9974)),p=E(n(9975)),v=E(n(9976)),y=E(n(9977)),m=E(n(9978)),_=E(n(9979)),h=E(n(7781));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(){return(O=Object.assign||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}).apply(this,arguments)}function I(e,t){return e.elements.find((function(e){return e.type===t}))}var T=function(e){var t=e.node,n=e.reportType,r=e.history,E=e.onSelectChild,g=e.onModalClose,T=e.multiSelect,C=a.useState(!1),b=C[0],M=C[1],N=a.useState(!1),A=N[0],P=N[1],R=a.useState((function(){return{}})),L=R[0],D=R[1],w=I(t,"checkbox"),j=a.useMemo((function(){return function(e){return E({nodeRef:t.id,destination:e,multiSelect:w&&{name:w.name,state:L}})}}),[t,E,w,L]);a.useEffect((function(){T&&D(T)}),[T]);return S("div",{className:h.default.container},void 0,S(i.ModalCloseButton,{className:h.default.closeButton,onClick:g}),S(i.ModalHeader,{separator:!1,direction:o.default.Direction.VERTICAL,className:h.default.header},void 0,S(_.default,{element:I(t,"success")}),S(c.default,{node:t}),S(p.default,{node:t})),S(i.ModalContent,{className:h.default.body},void 0,I(t,"breadcrumbs")&&S(s.default,{history:r}),I(t,"message_preview")&&"message"===n.name&&S(v.default,{message:n.record}),I(t,"block_users")&&"message"===n.name&&S(u.default,{userId:n.record.author.id}),I(t,"channel_preview")&&"stage_channel"===n.name&&S(m.default,{stageInstance:n.record}),w&&S(y.default,{element:w,onChange:function(e,t){var n=O({},L);e in L?delete n[e]:n[e]=t,D(n)},state:L}),S(d.default,{node:t,onSelectChild:j}),S(f.default,{hasError:A,onClose:function(){P(!1)}})),S(l.default,{button:t.button,submitting:b,onClick:function(t){switch(t.type){case"done":case"cancel":g();break;case"next":j(["",t.target]);break;case"submit":M(!0),e.onSubmit().then((function(){P(!1),j(["",e.successNodeId])})).catch((function(){P(!0)})).finally((function(){M(!1)}))}},onBackClicked:e.onNavigateBack,canNavigateBack:!!r.length}))};T.displayName="NodeView";var C=T;t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(29)),o=s(n(55)),i=n(35),l=s(n(6)),u=s(n(7772));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=function(e){var t=e.button,n=e.submitting,r=e.onClick,s=e.canNavigateBack,d=e.onBackClicked,c=!!t&&"cancel"!==t.type,p=s&&"done"!==(null==t?void 0:t.type);if(!(c||p))return null;var v,y=l.default.Messages.DONE;return"submit"===(null==t?void 0:t.type)?(y=l.default.Messages.MOBILE_REPORTS_SUBMIT_REPORT,v=a.default.Colors.RED):"next"===(null==t?void 0:t.type)?y=l.default.Messages.NEXT:"cancel"===(null==t?void 0:t.type)&&(y=l.default.Messages.CANCEL,v=a.default.Colors.TRANSPARENT),f(i.ModalFooter,{direction:o.default.Direction.HORIZONTAL},void 0,p&&f(a.default,{onClick:d,color:a.default.Colors.TRANSPARENT,disabled:n},void 0,l.default.Messages.BACK),c&&f(a.default,{onClick:function(){t&&r(t)},color:v,className:u.default.actionButton,disabled:n},void 0,y))};c.displayName="InAppReportsNodeFooter";var p=c;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=v(n(1217)),l=v(n(70)),u=v(n(12)),s=v(n(29)),d=v(n(279)),f=v(n(24)),c=n(1),p=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var _=function(e){var t=e.userId,n=a.useState(!1),r=n[0],v=n[1],y=(0,o.useStateFromStores)([u.default],(function(){return u.default.getUser(t)}),[t]),_=(0,o.useStateFromStores)([l.default],(function(){return l.default.getRelationshipType(t)}),[t])===c.RelationshipTypes.BLOCKED;a.useEffect((function(){v(_)}),[_]);var h=a.useCallback((function(){v(!0),i.default.addRelationship(t,{location:"ReportMenuBlockUser-iOS"},c.RelationshipTypes.BLOCKED)}),[t]);return y?m("div",{},void 0,m(f.default,{},void 0,p.default.Messages.MOBILE_REPORTS_BLOCK_ELEMENT_HEADER),m(f.default,{},void 0,p.default.Messages.MOBILE_REPORTS_BLOCK_ELEMENT_DESCRIPTION),m(d.default,{size:d.default.Sizes.SIZE_32,src:y.getAvatarURL(void 0)}),m(f.default,{},void 0,y.username,m(f.default,{},void 0,"#",y.discriminator)),m(s.default,{onClick:function(){return h()},disabled:r,size:s.default.Sizes.SMALL,color:s.default.Colors.RED},void 0,r?p.default.Messages.BLOCKED:p.default.Messages.BLOCK)):null};_.displayName="BlockUserElement";var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(8),o=s(n(47)),i=s(n(24)),l=s(n(6)),u=s(n(7773));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=function(e){var t=(0,a.flatMap)(e.history,(function(e){var t,n=e.destination[0],r=e.multiSelect,a=[null,null],o=Object.values(null!==(t=null==r?void 0:r.state)&&void 0!==t?t:{});return o.length>0&&(a[0]=o.join(", ")),""!==n&&(a[1]=n),a})).filter((function(e){return null!=e}));return 0===t.length?null:f("div",{className:u.default.container},void 0,f(o.default,{className:u.default.breadcrumbsHeader,color:i.default.Colors.HEADER_SECONDARY},void 0,l.default.Messages.MOBILE_REPORTS_BREADCRUMBS_TITLE),t.map((function(e,t){return f("div",{className:u.default.breadcrumbContainer},e+"+"+t,f("div",{className:u.default.breadcrumbDot}),f(i.default,{size:i.default.Sizes.SIZE_16,className:u.default.breadcrumbText},void 0,e))})))};c.displayName="BreadcrumbsElement";var p=c;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=u(n(61)),o=u(n(683)),i=u(n(24)),l=u(n(7774));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var f=function(e){var t=e.child,n=e.onClick,r=t[0];return d(a.default,{className:l.default.childButton,onClick:function(){return n(t)}},void 0,d(i.default,{className:l.default.childText,size:i.default.Sizes.SIZE_16},void 0,r),d(o.default,{className:l.default.childIcon,direction:o.default.Directions.RIGHT}))};f.displayName="ChildElement";var c=function(e){var t=e.node.children,n=e.onSelectChild;if(null==t||0===t.length)return null;var r=t.map((function(e){var t=e[0],r=e[1];return d(f,{child:e,onClick:n},t+"+"+r)}));return d("div",{className:l.default.childrenContainer},void 0,r)};c.displayName="ChildrenElement";var p=c;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(61)),o=s(n(5827)),i=s(n(24)),l=s(n(6)),u=s(n(7775));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=function(e){var t=e.hasError,n=e.onClose;if(!t)return null;return f("div",{className:u.default.errorContainer},void 0,f(o.default,{width:20,height:20,className:u.default.errorIcon}),f(i.default,{className:u.default.errorText},void 0,l.default.Messages.MOBILE_REPORTS_SUBMIT_FAILED),f(a.default,{onClick:function(){n()},"aria-label":l.default.Messages.DISMISS,className:u.default.closeIcon}))};c.displayName="ErrorElement";var p=c;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(101)),i=c(n(8295)),l=c(n(271)),u=c(n(47)),s=c(n(24)),d=c(n(6)),f=c(n(7776));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(){return(y=Object.assign||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}).apply(this,arguments)}var m=y({},o.default.defaultRules.link,{react:function(e,t,n){return v(l.default,{href:e.target,target:"_blank"},void 0,t(e.content,n))}}),_=function(e){var t=e.node,n=t.header,r=t.subheader,o=t.button,l="submit"===(null==o?void 0:o.type),c=a.useRef(i.default.reactParserFor(y({},i.default.defaultRules,{link:m})));return v("div",{className:f.default.headerContainer},void 0,n&&v(u.default,{tag:u.default.Tags.H1,size:u.default.Sizes.SIZE_24,color:s.default.Colors.HEADER_PRIMARY},void 0,n),r&&v(s.default,{size:s.default.Sizes.SIZE_16,color:s.default.Colors.HEADER_SECONDARY},void 0,c.current(r)),l&&v(s.default,{},void 0,d.default.Messages.MOBILE_REPORTS_SUBMIT_INFO_TEXT.format()))};_.displayName="HeaderElement";var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;u(n(0));var r,a,o=u(n(8353)),i=(r=n(7777))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=function(e){var t=e.node.info;return null==t?null:s(o.default,{className:i.default.infoBox,messageType:o.HelpMessageTypes.INFO},void 0,t)};d.displayName="InfoElement";var f=d;t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(24)),o=i(n(6));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var s=function(e){var t=e.message;return u("div",{},void 0,u(a.default,{},void 0,o.default.Messages.MOBILE_REPORTS_MESSAGE_PREVIEW_TITLE),u(a.default,{},void 0,t.content))};s.displayName="MessagePreviewElement";var d=s;t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(1160)),o=l(n(24)),i=l(n(7778));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=function(e){var t=e.onChange,n=e.label,r=e.selected;return s("div",{className:i.default.checkboxRow},void 0,s(a.default,{type:a.default.Types.INVERTED,onChange:function(){return t()},value:r},void 0,s(o.default,{color:o.default.Colors.INTERACTIVE_ACTIVE,size:o.default.Sizes.SIZE_16},void 0,n)))};d.displayName="CheckboxRow";var f=function(e){var t=e.element,n=e.state,r=e.onChange;return"checkbox"!==(null==t?void 0:t.type)?null:s("div",{},void 0,t.data.map((function(e,t){var a=e[0],o=e[1];return s(d,{onChange:function(){return r(a,o)},selected:a in n,label:o},t+"+button")})))};f.displayName="MultiSelectElement";var c=f;t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=d(n(15)),o=d(n(371)),i=d(n(47)),l=d(n(24)),u=d(n(6)),s=d(n(7779));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var p=function(e){var t=e.stageInstance,n=a.default.getGuild(t.guild_id);return n?c("div",{className:s.default.container},void 0,c(i.default,{className:s.default.header},void 0,u.default.Messages.MOBILE_REPORTS_STAGE_CHANNEL_PREVIEW_TITLE),c("div",{className:s.default.guildContainer},void 0,c("div",{className:s.default.guildInfo},void 0,c(o.default,{guild:n,size:o.default.Sizes.MINI,className:s.default.guildIcon}),c(l.default,{color:l.default.Colors.HEADER_SECONDARY},void 0,n.name)),c(l.default,{size:l.default.Sizes.SIZE_16,color:l.default.Colors.HEADER_PRIMARY,className:s.default.channelTopic},void 0,t.topic))):null};p.displayName="StageChannelPreviewElement";var v=p;t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a,o=(r=n(7780))&&r.__esModule?r:{default:r};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var u=n(9980),s=function(e){var t=e.element;return"success"!==(null==t?void 0:t.type)?null:l("img",{alt:"",src:u,className:o.default.successImg})};s.displayName="SuccessElement";var d=s;t.default=d},function(e,t,n){e.exports=n.p+"bdbd49069c7a6d9e21adcca22803c386.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(8253),l=n(8256),u=n(301),s=n(203),d=y(n(40)),f=y(n(466)),c=n(41),p=y(n(24)),v=y(n(6));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e,t){var n=(0,o.useStateFromStores)([d.default],(function(){return d.default.can(s.MODERATE_STAGE_CHANNEL_PERMISSIONS,e)}),[e]);if(null==t||!n)return null;return h(i.MenuItem,{id:"end-stage",label:v.default.Messages.END_STAGE,color:l.MenuItemColor.DANGER,action:function(){(0,c.openModal)((function(t){return a.createElement(f.default,_({},t,{header:v.default.Messages.END_STAGE_TITLE,confirmText:v.default.Messages.END_STAGE,cancelText:v.default.Messages.CANCEL,onConfirm:function(){return(0,u.endStage)(e)}}),h(p.default,{size:p.default.Sizes.SIZE_16,color:p.default.Colors.HEADER_SECONDARY},void 0,v.default.Messages.EXPLICIT_END_STAGE_SUBTITLE))}))}})}E.displayName="useEndStageItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStageChannelStartEvent=function(e){var t=(0,o.default)(e),n=(0,a.default)(e).moderator;return{isLive:t,isModerator:n}},t.default=function(e){var t=(0,o.default)(e),n=(0,a.default)(e).moderator;if(!t&&n)return r.START_EVENT;return r.NORMAL},t.ChannelConnectAction=void 0;var r,a=i(n(9159)),o=i(n(9983));function i(e){return e&&e.__esModule?e:{default:e}}t.ChannelConnectAction=r,function(e){e[e.NORMAL=0]="NORMAL",e[e.START_EVENT=1]="START_EVENT"}(r||(t.ChannelConnectAction=r={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.useStateFromStores)([o.default],(function(){return o.default.isLive(e)}),[e])};var r,a=n(3),o=(r=n(81))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=g(n(9)),i=n(3),l=g(n(391)),u=n(389),s=n(8463),d=g(n(8694)),f=g(n(9025)),c=n(42),p=g(n(10)),v=g(n(15)),y=g(n(40)),m=g(n(8537)),_=g(n(8538)),h=n(1),E=g(n(7346));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(){return(I=Object.assign||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}).apply(this,arguments)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(e){var t=e.getGuildId();if(null==t)throw new Error("TextChannel, transitionTo: Channel does not have a guildId");(0,c.transitionTo)(h.Routes.CHANNEL(t,e.id),{state:{analyticsSource:{page:h.AnalyticsPages.GUILD_CHANNEL,section:h.AnalyticsSections.CHANNEL_LIST,object:h.AnalyticsObjects.CHANNEL}}})}function b(e,t){var n=t.getGuildId();if(null==n)throw new Error("TextChannel, preloadChannel: Channel does not have a guildId");l.default.preload(n,t.id)}var M=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleContextMenu=function(e){var n=t.props.channel,r=v.default.getGuild(n.getGuildId());null!=r&&(0,u.openContextMenu)(e,(function(e){return a.createElement(f.default,I({},e,{channel:n,guild:r}))}))},t.handleClick=function(e){C(e)},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,T(t,n),r.prototype.render=function(){var e,t=this.props,n=t.channel,r=t.selected,a=t.connectChannelDropTarget,i=t.connectChannelDragSource,l=t.connectDragPreview,u=t.canManageCategory,s=O("div",{className:(0,o.default)(this.getClassName(),(e={},e[E.default.disabled]=this.isDisabled(),e))},void 0,O(_.default,{className:E.default.iconVisibility,channel:n,selected:r,onClick:this.handleClick,onMouseDown:b,onContextMenu:this.handleContextMenu,connectDragPreview:u?l:null,"aria-label":(0,d.default)(n)},void 0,this.renderInviteButton(),this.renderEditButton()));return u?a(i(s)):s},r}(m.default);M.displayName="StoreChannel";var N=(0,s.makeChannelSortable)(M),A=a.memo((function(e){var t=e.channel,n=e.guild,r=(0,i.useStateFromStoresObject)([p.default,y.default],(function(){var e=p.default.getChannel(t.parent_id);return{canManageChannel:y.default.can(h.Permissions.MANAGE_CHANNELS,t),canManageCategory:null!=e?y.default.can(h.Permissions.MANAGE_CHANNELS,e):y.default.can(h.Permissions.MANAGE_CHANNELS,n)}}));return a.createElement(N,I({},r,e))}));t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=L;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=C(n(9)),i=n(3),l=C(n(391)),u=n(389),s=n(8463),d=C(n(8694)),f=C(n(9026)),c=n(1209),p=C(n(10)),v=C(n(86)),y=C(n(15)),m=C(n(40)),_=C(n(200)),h=C(n(278)),E=n(8263),g=C(n(9986)),S=C(n(8537)),O=C(n(8538)),I=n(1),T=C(n(7346));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(){return(N=Object.assign||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}).apply(this,arguments)}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var P=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={shouldShowThreadsPopout:!1},t.enterTimer=0,t.exitTimer=0,t.handleMouseEnter=function(){t.resetThreadPopoutTimers(),t.enterTimer=setTimeout((function(){t.setState({shouldShowThreadsPopout:!0})}),200)},t.handleMouseLeave=function(){t.resetThreadPopoutTimers(),t.exitTimer=setTimeout((function(){t.state.shouldShowThreadsPopout&&t.setState({shouldShowThreadsPopout:!1})}),250)},t.handleThreadsPopoutClose=function(){t.resetThreadPopoutTimers(),t.setState({shouldShowThreadsPopout:!1})},t.handleMouseDown=function(){t.handleThreadsPopoutClose();var e=t.props.channel,n=e.getGuildId();if(null==n)throw new Error("TextChannel, preloadChannel: Channel does not have a guildId");l.default.preload(n,e.id)},t.renderThreadsPopout=function(e){return a.createElement(g.default,N({},e,{channel:t.props.channel}))},t.handleContextMenu=function(e){var n=t.props.channel,r=y.default.getGuild(n.getGuildId());null!=r&&(0,u.openContextMenu)(e,(function(e){return a.createElement(f.default,N({},e,{channel:n,guild:r}))}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,A(t,n);var i=r.prototype;return i.componentWillUnmount=function(){this.resetThreadPopoutTimers()},i.resetThreadPopoutTimers=function(){clearTimeout(this.enterTimer),clearTimeout(this.exitTimer)},i.renderMentionBadge=function(){var e=this.props.mentionCount;if(null!=e&&e>0)return M("div",{className:T.default.mentionsBadge,"aria-hidden":!0},void 0,M(E.NumberBadge,{count:e}))},i.render=function(){var e,t=this,n=this.props,r=n.channel,a=n.guild,i=n.selected,l=n.muted,u=n.unread,s=n.hasActiveThreads,f=n.hasActiveUnjoinedThreads,c=n.mentionCount,p=n.connectChannelDropTarget,v=n.connectChannelDragSource,y=n.connectDragPreview,m=n.canManageCategory,_=M("div",{className:(0,o.default)(this.getClassName(),(e={},e[T.default.disabled]=this.isDisabled(),e[T.default.selected]=i,e)),onMouseEnter:f?this.handleMouseEnter:void 0,onMouseLeave:f?this.handleMouseLeave:void 0},void 0,M(h.default,{position:h.default.Positions.RIGHT,renderPopout:this.renderThreadsPopout,onRequestClose:this.handleThreadsPopoutClose,spacing:0,shouldShow:f&&this.state.shouldShowThreadsPopout},void 0,(function(){return M(O.default,{className:T.default.iconVisibility,channel:r,guild:a,selected:i,muted:l,unread:u,hasActiveThreads:s,onMouseDown:t.handleMouseDown,onContextMenu:t.handleContextMenu,connectDragPreview:m?y:null,"aria-label":(0,d.default)(r,u,c)},void 0,t.renderInviteButton(),t.renderEditButton(),t.renderMentionBadge())})));return m?p(v(_)):_},r}(S.default);P.displayName="TextChannel";var R=(0,s.makeChannelSortable)(P);function L(e){var t=e.channel,n=e.guild,r=(0,i.useStateFromStores)([v.default],(function(){return t===v.default.getDefaultChannel(n.id)})),o=(0,c.useHasActiveThreads)(t),l=o.hasActiveThreads,u=o.hasActiveUnjoinedThreads,s=(0,i.useStateFromStoresObject)([_.default],(function(){return{unread:_.default.hasUnread(t.id),mentionCount:_.default.getMentionCount(t.id)}})),d=(0,i.useStateFromStoresObject)([m.default,p.default],(function(){var e=p.default.getChannel(t.parent_id);return{canManageChannel:m.default.can(I.Permissions.MANAGE_CHANNELS,t),canManageCategory:null!=e?m.default.can(I.Permissions.MANAGE_CHANNELS,e):m.default.can(I.Permissions.MANAGE_CHANNELS,n)}}));return a.createElement(R,N({},s,d,e,{isDefaultChannel:r,hasActiveThreads:l,hasActiveUnjoinedThreads:u}))}L.displayName="ConnectedTextChannel"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=P;var r,a=M(n(0)),o=C(n(8)),i=n(3),l=M(n(5957)),u=n(42),s=C(n(300)),d=C(n(8265)),f=n(392),c=n(698),p=C(n(8923)),v=C(n(40)),y=C(n(200)),m=C(n(12)),_=C(n(61)),h=n(41),E=C(n(24)),g=C(n(150)),S=C(n(97)),O=n(1),I=C(n(6)),T=C(n(7783));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function N(){return(N=Object.assign||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}).apply(this,arguments)}function A(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function P(e){var t=e.channel,n=(0,i.useStateFromStoresArray)([s.default,y.default,v.default],(function(){return(0,o.default)(s.default.getActiveUnjoinedThreadsForParent(t.guild_id,t.id)).values().filter((function(e){return v.default.can(O.Permissions.VIEW_CHANNEL,e)})).sort((function(e,t){var n=y.default.lastMessageId(e.id),r=y.default.lastMessageId(t.id);return S.default.compare(n,r)})).reverse().value()}));return a.useEffect((function(){(0,c.trackActiveThreadsPopoutOpened)()}),[]),A("div",{className:T.default.popout},void 0,A(E.default,{className:T.default.title,size:E.default.Sizes.SIZE_12,color:E.default.Colors.HEADER_SECONDARY},void 0,I.default.Messages.ACTIVE_THREADS_POPOUT_HEADER),n.slice(0,3).map((function(e){return A(R,{thread:e},e.id)})),A(_.default,{className:T.default.more,onClick:function(){(0,h.openModal)((function(e){return a.createElement(p.default,N({channel:t},e))}))}},void 0,A(E.default,{size:E.default.Sizes.SIZE_14,color:E.default.Colors.CUSTOM},void 0,I.default.Messages.ACTIVE_THREADS_POPOUT_LINK)))}function R(e){var t=e.thread,n=(0,i.useStateFromStores)([m.default],(function(){return m.default.getUser(t.ownerId)})),r=(0,c.getTimestampString)(S.default.extractTimestamp(y.default.lastMessageId(t.id)));return A(_.default,{className:T.default.row,onClick:function(e){e.shiftKey?d.default.openThreadSidebarForViewing(t):(0,u.transitionToThread)(t.guild_id,t.id,f.OpenThreadAnalyticsLocations.POPOUT)}},void 0,null==n?A("img",{className:T.default.avatar,src:g.default.getDefaultAvatarURL(),alt:""}):A(l.default,{className:T.default.avatar,user:n,size:l.Sizes.SIZE_16}),A(E.default,{className:T.default.name,size:E.default.Sizes.SIZE_14,color:E.default.Colors.CUSTOM},void 0,t.name),A(E.default,{className:T.default.timestamp,size:E.default.Sizes.SIZE_14,color:E.default.Colors.CUSTOM},void 0,A("span",{className:T.default.bullet},void 0,"•"),r))}P.displayName="ActiveThreadsPopout",R.displayName="Row"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(3),o=n(8689),i=f(n(10)),l=f(n(200)),u=f(n(181)),s=f(n(161)),d=f(n(9027));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e){var t=i.default.getChannel(e);return null!=t&&null!=t.getGuildId()&&(!u.default.isChannelMuted(t.getGuildId(),t.id)&&l.default.hasUnread(e))}function y(e){var t=i.default.getChannel(e);if(null==t)return!1;var n=t.getGuildId();if(null==n)return!1;var r=u.default.isGuildCollapsed(n),a=u.default.isChannelMuted(n,t.id);return(!r||!a)&&l.default.getMentionCount(e)>0}var m=r.forwardRef((function(e,t){var n=e.guildId,i=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["guildId"]),l=(0,o.useFlattenedChannelIdListWithThreads)(n),u=(0,a.useStateFromStores)([s.default],(function(){return s.default.isFocused()}));return r.createElement(d.default,p({ref:t},i,{isUnread:v,isMentioned:y,items:l,animate:u}))}));t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(9)),i=p(n(9989)),l=p(n(61)),u=p(n(9192)),s=n(41),d=p(n(6)),f=p(n(7346)),c=p(n(7357));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e){var t,n,r=e.guild,p=e.selected;return y("div",{className:(0,o.default)(f.default.containerDefault,(t={},t[f.default.selected]=p,t))},void 0,y("div",{className:(0,o.default)(f.default.iconVisibility,c.default.wrapper,(n={},n[c.default.modeSelected]=p,n))},void 0,y("div",{className:c.default.content},void 0,y(l.default,{className:c.default.mainContent,onClick:function(){(0,s.openModal)((function(e){return a.createElement(i.default,m({},e,{guildId:r.id}))}))}},void 0,y("div",{className:c.default.iconContainer},void 0,y(u.default,{className:c.default.icon})),y("div",{className:c.default.name},void 0,d.default.Messages.GUILD_STAGE_INSTANCE_DISCOVERY_TITLE)))))}_.displayName="UpcomingEventsChannelRow"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(8456)),i=y(n(29)),l=n(85),u=y(n(8455)),s=n(35),d=(n(41),y(n(47))),f=y(n(8572)),c=y(n(9990)),p=(y(n(9161)),y(n(6))),v=y(n(7786));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e){var t=e.transitionState,n=e.guildId,r=(0,l.useUID)(),y=(0,o.default)(n),m=y.canStartEvents,h=y.canSeeEvents,E=(0,f.default)(n);if(!h)return null;return _(s.ModalRoot,{size:s.ModalSize.MEDIUM,transitionState:t,"aria-labelledby":r},void 0,_(s.ModalHeader,{className:v.default.header},void 0,_(u.default,{className:v.default.icon}),_(d.default,{size:d.default.Sizes.SIZE_16},void 0,p.default.Messages.GUILD_EVENTS),m&&a.createElement(a.Fragment,null,_("div",{className:v.default.divider},void 0,"|"),_(i.default,{size:i.default.Sizes.MIN,onClick:function(){}},void 0,p.default.Messages.SCHEDULE_EVENT))),_(s.ModalContent,{className:v.default.content},void 0,E.map((function(e){return _(c.default,{guildEvent:e},e.id)}))))}h.displayName="GuildEventsModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=T;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=g(n(9)),o=g(n(5)),i=n(3),l=g(n(8493)),u=g(n(8456)),s=n(1232),d=g(n(81)),f=g(n(10)),c=g(n(29)),p=g(n(8455)),v=g(n(291)),y=g(n(47)),m=g(n(24)),_=n(1),h=g(n(6)),E=g(n(7785));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(e){var t=e.startTime,n=e.isLive,r=p.default,i=_.Colors.BRAND_NEW,l=(0,o.default)(t),u=(0,o.default)(),s=l<=u,d=l.diff(u,"days")>7?new Date(t).toLocaleString(void 0,{dateStyle:"full",timeStyle:"short"}):l.calendar();return n?(d=h.default.Messages.STAGE_CHANNEL_LIVE_NOW,r=v.default,i=_.Colors.STATUS_GREEN_600):s&&(d=h.default.Messages.STARTING_SOON,i=_.Colors.STATUS_RED_400),O("div",{className:(0,a.default)(E.default.inline,E.default.status)},void 0,O(r,{width:16,height:16,color:i}),O(y.default,{size:y.default.Sizes.SIZE_12,uppercase:!0,color:i,className:E.default.label},void 0,d))}function T(e){var t=e.guildEvent,n=t.id,r=t.guild_id,p=t.channel_id,v=t.name,_=t.description,g=t.scheduled_start_time,S=t.rsvped,T=(0,u.default)(r).canStartEvents,C=(0,i.useStateFromStores)([d.default],(function(){return d.default.getStageInstanceByChannel(p)}),[p]),b=(0,i.useStateFromStores)([f.default],(function(){return null!=p?f.default.getChannel(p):null}),[p]),M=null!=C,N=(0,o.default)(g)<=(0,o.default)().add(1,"hour"),A=h.default.Messages.STAGE_INSTANCE_INTERESTED_LABEL,P=c.default.Colors.GREY,R=c.default.Looks.FILLED,L=function(){S?l.default.deleteRsvpForGuildEvent(n):l.default.createRsvpForGuildEvent(n)};return M?(A=h.default.Messages.STAGE_CHANNEL_JOIN_BUTTON,P=c.default.Colors.GREEN,L=function(){(null==b?void 0:b.isGuildStageVoice())&&(0,s.connectAndOpen)(b)}):T&&N?(A=h.default.Messages.START_EVENT,P=c.default.Colors.GREEN,L=function(){}):S&&(P=c.default.Colors.BRAND,R=c.default.Looks.OUTLINED),O("div",{className:E.default.card},void 0,O(I,{startTime:g,isLive:M}),O(y.default,{size:y.default.Sizes.SIZE_20},void 0,v),O(m.default,{color:m.default.Colors.HEADER_SECONDARY,className:E.default.description},void 0,_),O("div",{className:(0,a.default)(E.default.inline,E.default.spacing)},void 0,O(c.default,{onClick:L,color:P,look:R},void 0,A)))}I.displayName="GuildEventStatus",T.displayName="GuildEvent"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=$;var r,a=B(n(0)),o=G(n(9)),i=n(3),l=n(57),u=n(389),s=G(n(132)),d=B(n(8357)),f=n(8463),c=n(8671),p=G(n(8646)),v=G(n(8967)),y=G(n(8478)),m=G(n(180)),_=G(n(8693)),h=B(n(9992)),E=n(42),g=G(n(6012)),S=G(n(1212)),O=G(n(10)),I=G(n(15)),T=G(n(1219)),C=G(n(40)),b=G(n(80)),M=G(n(278)),N=G(n(149)),A=n(292),P=G(n(8537)),R=G(n(8538)),L=G(n(9993)),D=G(n(9994)),w=G(n(8763)),j=n(1),k=G(n(6)),U=G(n(7346));function G(e){return e&&e.__esModule?e:{default:e}}function F(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return F=function(){return e},e}function B(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=F();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function H(){return(H=Object.assign||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}).apply(this,arguments)}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function V(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function W(e){var t=e.getGuildId();if(null==t)throw new Error("VoiceChannel, transitionTo: Channel does not have a guildId");(0,E.transitionTo)(j.Routes.CHANNEL(t,e.id))}function Y(e){var t=e.channel,n=e.locked,r=e.video,a=e.selected,o=e.userCount,i=(0,g.default)(t).limit,l=-1,u=!1;return t.userLimit>0&&(l=t.userLimit),r&&i>0&&(u=l<0||i<l,l=l>0?Math.min(l,i):i),l>0&&!n&&!a?V("div",{className:U.default.userLimit},void 0,V(D.default,{users:o,total:l,videoLimit:u})):null}var z=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={shouldShowActivities:!1,shouldShowGuildVerificationPopout:!1},t.activitiesHideTimeout=new l.Timeout,t.closeGuildVerificationPopout=function(){t.setState({shouldShowGuildVerificationPopout:!1})},t.handleVoiceConnect=function(){var e=t.props,n=e.locked,r=e.connected,a=e.channel;e.unverifiedAccount&&t.setState({shouldShowGuildVerificationPopout:!0}),n||r||s.default.selectVoiceChannel(a.id),!__OVERLAY__&&r&&W(a)},t.handleContextMenu=function(e){var n=t.props.channel,r=I.default.getGuild(n.getGuildId());null!=r&&(0,u.openContextMenu)(e,(function(e){return a.createElement(_.default,H({},e,{channel:n,guild:r}))}))},t.handleMouseEnter=function(){t.activitiesHideTimeout.stop(),t.setState({shouldShowActivities:!0})},t.handleMouseLeave=function(){t.activitiesHideTimeout.start(100,(function(){return t.setState({shouldShowActivities:!1})}))},t.closePopout=function(){t.activitiesHideTimeout.stop(),t.setState({shouldShowActivities:!1})},t.handleClick=function(){t.handleVoiceConnect()},t.renderPopout=function(){var e=t.props,n=e.channel,r=e.voiceStates,a=e.sorting,o=e.isUserOver,i=t.state,l=i.shouldShowActivities,u=i.shouldShowGuildVerificationPopout;return!l||a||o||u?u?V(h.default,{type:h.GuildVerificationPopoutTypes.VOICE,guildId:n.guild_id,closePopout:t.closeGuildVerificationPopout}):void 0:V(L.default,{onAction:t.closePopout,channel:n,voiceStates:r})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,x(t,n);var i=r.prototype;return i.componentWillUnmount=function(){this.activitiesHideTimeout.stop()},i.getVoiceStatesCount=function(){var e,t=this.props.voiceStates;return null!==(e=null==t?void 0:t.length)&&void 0!==e?e:0},i.isFull=function(){var e=this.props.channel;return(0,A.isChannelFull)(e,b.default,I.default)},i.getModeClass=function(){var e=this.props,t=e.position,n=e.sortingPosition;return e.isUserOver?U.default.containerUserOver:null!=n?t>n?U.default.containerDragAfter:U.default.containerDragBefore:U.default.containerDefault},i.renderVoiceUsers=function(){var e=this.props,t=e.channel,n=e.voiceStates,r=e.collapsed,a=e.categoryCollapsed,o=e.tabIndex;return V(w.default,{channel:t,voiceStates:n,collapsed:r||a,tabIndex:o})},i.render=function(){var e,t=this,n=this.props,r=n.channel,i=n.channelName,l=n.selected,u=n.connected,s=n.locked,f=n.video,c=n.sorting,p=n.isUserOver,y=n.embeddedApplication,m=n.embeddedActivityType,_=n.connectChannelDropTarget,h=n.connectChannelDragSource,E=n.connectUserDropTarget,g=n.connectDragPreview,S=n.canManageCategory,O=n.canMoveMembers,I=n.showTutorial,T=this.state,C=T.shouldShowActivities,b=T.shouldShowGuildVerificationPopout,A=this.getVoiceStatesCount(),P=k.default.Messages.GUILD_SIDEBAR_VOICE_CHANNEL_A11Y_LABEL.format({channelName:i});null!=r.userLimit&&r.userLimit>0?P=k.default.Messages.GUILD_SIDEBAR_VOICE_CHANNEL_A11Y_LABEL_WITH_LIMIT.format({channelName:i,userCount:A,limit:r.userLimit}):A>0&&(P=k.default.Messages.GUILD_SIDEBAR_VOICE_CHANNEL_A11Y_LABEL_WITH_USERS.format({channelName:i,userCount:A}));var L=V("div",{className:(0,o.default)(this.getModeClass(),(e={},e[U.default.disabled]=this.isDisabled(),e))},void 0,V("div",{onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},void 0,V(M.default,{position:M.default.Positions.RIGHT,renderPopout:this.renderPopout,spacing:0,onRequestClose:this.closeGuildVerificationPopout,shouldShow:C&&!c&&!p&&!b||b},void 0,(function(){return V(N.default,{text:t.isFull()&&!u?k.default.Messages.UNABLE_TO_JOIN_CHANNEL_FULL:null},void 0,(function(e){var n=e.onClick,o=e.onContextMenu,i=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onClick","onContextMenu"]);return a.createElement(R.default,H({className:U.default.iconVisibility,channel:r,selected:l,connected:u,locked:s,subtitle:null!=y&&null!=m?(0,v.default)(y.name,m):null,onClick:function(){t.handleClick(),null==n||n()},onContextMenu:function(e){t.handleContextMenu(e),null==o||o()},connectDragPreview:g,"aria-label":P},i),t.renderInviteButton(),t.renderEditButton(),V(Y,{userCount:t.getVoiceStatesCount(),video:f,channel:r,locked:s,selected:l}))}))}))),this.renderVoiceUsers());return O&&(L=E(L)),S&&(L=_(h(L))),I&&(L=V(d.default,{tutorialId:"voice-conversations",position:d.TutorialIndicatorPositions.RIGHT,offsetX:-20},void 0,L)),L},r}(P.default);z.displayName="VoiceChannel";var K=(0,f.makeChannelSortable)((0,c.makeVoiceUserDroppable)(z));function $(e){var t,n=e.guild,r=e.channel,o=(0,i.useStateFromStoresObject)([C.default,O.default,T.default],(function(){var e=O.default.getChannel(r.parent_id),t=T.default.getCheck(r.guild_id);return{canManageChannel:n&&C.default.can(j.Permissions.MANAGE_CHANNELS,r),canManageCategory:null!=e?C.default.can(j.Permissions.MANAGE_CHANNELS,e):null!=n&&C.default.can(j.Permissions.MANAGE_CHANNELS,n),canMoveMembers:C.default.can(j.Permissions.MOVE_MEMBERS,r),locked:!C.default.can(j.Permissions.CONNECT,r),bypassLimit:C.default.can(j.Permissions.MOVE_MEMBERS,r),unverifiedAccount:!t.canChat}})),l=(0,i.useStateFromStores)([b.default],(function(){return null!=r&&b.default.hasVideo(r.id)})),u=(0,i.useStateFromStores)([S.default],(function(){return S.default.isCollapsed(r.parent_id)})),s=(0,p.default)(r.id),d=(0,y.default)(s.map((function(e){return e.applicationId})))[0],f=(0,m.default)(r);return a.createElement(K,H({channelName:f,embeddedApplication:d,embeddedActivityType:null===(t=s[0])||void 0===t?void 0:t.type,video:l,categoryCollapsed:u},o,e))}$.displayName="ConnectedVoiceChannel"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GuildVerificationPopoutTypes=void 0;var r,a,o=C(n(0)),i=n(3),l=I(n(363)),u=I(n(8447)),s=C(n(735)),d=n(5831),f=I(n(1219)),c=I(n(12)),p=I(n(29)),v=I(n(282)),y=n(85),m=I(n(466)),_=n(41),h=I(n(47)),E=I(n(24)),g=n(1),S=I(n(6)),O=I(n(7787));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function b(){return(b=Object.assign||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}).apply(this,arguments)}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}t.GuildVerificationPopoutTypes=a,function(e){e[e.VOICE=0]="VOICE"}(a||(t.GuildVerificationPopoutTypes=a={}));var N=function(e){var t=e.type,r=e.guildId,I=e.closePopout,T=(0,y.useUID)(),C=(0,i.useStateFromStores)([f.default],(function(){return f.default.getCheck(r)}),[r]),N=C.notClaimed,A=C.notEmailVerified,P=C.notPhoneVerified,R=C.newAccount,L=C.newMember,D=t===a.VOICE?S.default.Messages.GUILD_VERIFICATION_VOICE_HEADER:null,w=null,j=null;if(t===a.VOICE&&(N?(w=S.default.Messages.GUILD_VERIFICATION_VOICE_NOT_CLAIMED,j=S.default.Messages.CLAIM_ACCOUNT):P?(w=S.default.Messages.GUILD_VERIFICATION_VOICE_NOT_PHONE_VERIFIED,j=S.default.Messages.VERIFY_PHONE):A?(w=S.default.Messages.GUILD_VERIFICATION_VOICE_NOT_VERIFIED,j=S.default.Messages.RESEND_VERIFICATION_EMAIL):L?(w=S.default.Messages.GUILD_VERIFICATION_VOICE_MEMBER_AGE.format({min:g.VerificationCriteria.MEMBER_AGE}),j=S.default.Messages.OKAY):R&&(w=S.default.Messages.GUILD_VERIFICATION_VOICE_ACCOUNT_AGE.format({min:g.VerificationCriteria.ACCOUNT_AGE}),j=S.default.Messages.OKAY)),null==D||null==w)return null;return M(v.default,{className:O.default.container,"aria-labelledby":T},void 0,M("img",{alt:"",className:O.default.image,src:n(8915)}),M("div",{className:O.default.content},void 0,M(h.default,{size:h.default.Sizes.SIZE_16,id:T},void 0,D),M(E.default,{color:E.default.Colors.HEADER_SECONDARY},void 0,w),M("div",{className:O.default.buttonContainer},void 0,null!=j?M(p.default,{onClick:function(){N?s.openClaimAccountModal():P?(0,_.openModal)((function(e){return o.createElement(u.default,e)}),{modalKey:d.PHONE_VERIFICATION_MODAL_KEY}):A&&(l.default.verifyResend(),(0,_.openModal)((function(e){return o.createElement(m.default,b({header:S.default.Messages.VERIFICATION_EMAIL_TITLE,confirmText:S.default.Messages.OKAY,confirmButtonColor:p.default.Colors.BRAND},e),M(E.default,{size:E.default.Sizes.SIZE_16},void 0,S.default.Messages.VERIFICATION_EMAIL_BODY.format({email:c.default.getCurrentUser().email})))}))),I()},className:O.default.primaryButton},void 0,j):null,N||P||A?M(p.default,{onClick:I,look:p.default.Looks.BLANK,className:O.default.cancel},void 0,S.default.Messages.NEVERMIND):null)))};N.displayName="GuildVerificationPopout";var A=N;t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=M;var r,a=O(n(0)),o=g(n(9)),i=n(3),l=O(n(8556)),u=n(8298),s=g(n(399)),d=g(n(8600)),f=g(n(11)),c=g(n(256)),p=g(n(149)),v=g(n(8409)),y=g(n(279)),m=g(n(272)),_=n(150),h=n(1),E=g(n(7788));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(){return(T=Object.assign||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}).apply(this,arguments)}function C(e){var t=e.guildId,n=e.member,r=e.className,i=null!=n.member?(0,_.getGuildMemberAvatarURL)(n.member):null;return I(p.default,{text:n.nick,position:p.default.Positions.BOTTOM},void 0,(function(e){return a.createElement(y.default,T({src:null!=i?i:n.user.getAvatarURL(t),size:y.default.Sizes.SIZE_16,className:(0,o.default)(E.default.partyAvatar,r),"aria-label":n.nick},e))}))}function b(e){var t=e.members,n=e.guildId;return I(v.default,{className:E.default.partyMembers,guildId:n,users:t,max:6,renderUser:function(e,t,r){return I(C,{guildId:n,member:e,className:t},r)},renderMoreUsers:function(e,t,n){return I("div",{className:(0,o.default)(E.default.morePartyMembers,t)},n,e)}})}function M(e){var t=e.channel,n=e.onAction,r=e.voiceStates;!function(e,t){var n=a.useMemo((function(){var n,r;return null==t||t.length>50?{}:((r={})[e.getGuildId()]=null!==(n=t.map((function(e){return e.user.id})))&&void 0!==n?n:[],r)}),[e,t]);(0,u.useSubscribeGuildMembers)(n)}(t,r);var o=(0,i.useStateFromStores)([c.default],(function(){var e={};return null==r||r.forEach((function(t){var n=c.default.findActivity(t.user.id,(function(e){return[h.ActivityTypes.PLAYING,h.ActivityTypes.WATCHING].includes(e.type)&&(null!=e.assets||null!=e.state||null!=e.details||null!=e.party)&&(null==e.session_id||e.session_id===t.voiceState.sessionId)||e.type===h.ActivityTypes.LISTENING}));if(null!=n){var r,a,o,i,l=(null!==(r=n.application_id)&&void 0!==r?r:"")+":"+(null!==(a=null===(o=n.party)||void 0===o?void 0:o.id)&&void 0!==a?a:t.user.id),u=null!==(i=e[l])&&void 0!==i?i:[[],n];u[0].push(t),(0,s.default)(u[1],h.ActivityFlags.JOIN)||(u[1]=n),e[l]=u}})),Object.values(e)}),[r],i.statesWillNeverBeEqual);return 0===o.length?null:I(m.default,{className:E.default.container},void 0,o.map((function(e,r){var a,o,i=e[0],u=e[1];return I("div",{className:E.default.activity},r,I(l.default,{type:l.UserActivityTypes.VOICE_CHANNEL,activity:u,user:i[0].user,guildId:t.getGuildId(),channelId:t.id,renderHeaderAccessory:function(){return I(b,{guildId:t.guild_id,members:i})}}),I(d.default,{type:l.UserActivityTypes.VOICE_CHANNEL,activity:u,user:null!==(a=null===(o=i.find((function(e){return e.user.id!==f.default.getId()})))||void 0===o?void 0:o.user)&&void 0!==a?a:i[0].user,guildId:t.getGuildId(),channelId:t.id,color:E.default.button,onAction:n}))})))}C.displayName="PartyMember",b.displayName="PartyMembers",M.displayName="VoiceChannelActivities"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(9)),o=l(n(8313)),i=l(n(7789));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t,n,r=e.total,l=e.users,u=e.videoLimit;return s("div",{className:i.default.wrapper},void 0,s("span",{className:(0,a.default)(i.default.users,(t={},t[i.default.video]=u,t[i.default.extraLong]=l>=100,t))},void 0,u?s(o.default,{className:i.default.videoIcon}):null,l.toString().padStart(2,"0")),s("span",{className:(0,a.default)(i.default.total,(n={},n[i.default.extraLong]=r>=100,n))},void 0,r.toString().padStart(2,"0")))}d.displayName="VoiceChannelUserLimit"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnimatedBanner=N,t.default=void 0;var r,a,o,i=T(n(0)),l=O(n(9)),u=n(122),s=O(n(8412)),d=n(123),f=O(n(61)),c=O(n(1175)),p=O(n(375)),v=O(n(149)),y=O(n(8656)),m=n(1230),_=O(n(150)),h=T(n(5935)),E=n(1),g=O(n(6)),S=O(n(7791));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function C(){return(C=Object.assign||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}).apply(this,arguments)}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e,t,n,r){o||(o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&a)for(var s in a)void 0===t[s]&&(t[s]=a[s]);else t||(t=a||{});return{$$typeof:o,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(e){var t=e.guild,n=e.controller,r=e.guildBanner,a=n.springs.value,o=i.useContext(d.AccessibilityPreferencesContext).reducedMotion;return M(u.animated.div,{className:S.default.animatedContainer,style:{opacity:a,transform:a.to((function(e){return"translateY(-"+90*(1-e)+"px)"}))}},void 0,M(u.animated.div,{className:S.default.bannerImage,style:{backgroundImage:"url("+(_.default.getGuildBannerURL({id:t.id,banner:r})||"")+")",transform:a.to((function(e){return o.enabled?"translateY("+90*(1-e)+"px)":"translateY("+60*(1-e)+"px) scale("+(1+.2*(1-e))+")"}))}}))}N.displayName="AnimatedBanner";var A=((r={})[E.PremiumGuildTiers.NONE]=S.default.iconBackgroundTierNone,r[E.PremiumGuildTiers.TIER_1]=S.default.iconBackgroundTierOne,r[E.PremiumGuildTiers.TIER_2]=S.default.iconBackgroundTierTwo,r[E.PremiumGuildTiers.TIER_3]=S.default.iconBackgroundTierThree,r),P=((a={})[E.PremiumGuildTiers.NONE]=S.default.iconTierNone,a[E.PremiumGuildTiers.TIER_1]=S.default.iconTierOne,a[E.PremiumGuildTiers.TIER_2]=S.default.iconTierTwo,a[E.PremiumGuildTiers.TIER_3]=S.default.iconTierThree,a),R=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).showGuildSubscribeModal=function(e){e.stopPropagation(),e.preventDefault(),(0,m.openFullScreenLayer)((function(e){var n=e.transitionState,r=e.closeLayer;return M(s.default,{layerTransitionState:n,close:r,guildId:t.props.guild.id,locationSection:E.AnalyticsSections.GUILD_HEADER})}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,b(t,n);var a=r.prototype;return a.hasBanner=function(){var e=this.props,t=e.renderBanner;return null!=e.guildBanner&&!t},a.renderPremiumGuildBadge=function(){var e=this,t=this.props.guild,n=t.premiumTier,r=t.premiumSubscriberCount;if(0===r)return null;var a=n===E.PremiumGuildTiers.NONE?g.default.Messages.PREMIUM_GUILD_HEADER_BADGE_NO_TIER:h.getTierName(n),o=M(i.Fragment,{},void 0,M("div",{className:S.default.tierTooltipTitle},void 0,a),M("div",{},void 0,g.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_SUBSCRIBER_COUNT_TOOLTIP.format({subscriberCount:r})));return M("div",{className:S.default.guildIconContainer},void 0,M(v.default,{text:o,position:v.default.Positions.BOTTOM,"aria-label":a||""},void 0,(function(t){return i.createElement(f.default,C({},t,{className:S.default.premiumGuildIcon,onClick:e.showGuildSubscribeModal}),M(c.default,{className:(0,l.default)(A[n])},void 0,M(y.default,{tier:n,className:(0,l.default)(S.default.premiumGuildIconGem,P[n])})))})))},a.renderBadge=function(){var e,t=this.props.guild,n=this.hasBanner();return t.hasFeature(E.GuildFeatures.VERIFIED)||t.hasFeature(E.GuildFeatures.PARTNERED)?M("div",{className:S.default.guildIconContainer},void 0,M(p.default,{guild:t,tooltipPosition:v.default.Positions.BOTTOM,tooltipColor:v.default.Colors.PRIMARY,className:(0,l.default)(S.default.guildBadge,(e={},e[S.default.disableColor]=!n,e))})):this.renderPremiumGuildBadge()},a.renderHeader=function(){var e=this.props,t=e.guild,n=e.children,r=e.headerClassName;return M("header",{className:(0,l.default)(S.default.header,r)},void 0,this.renderBadge(),M("h1",{className:S.default.name},void 0,t.toString()),n)},a.renderBanner=function(){var e=this.props,t=e.guild,n=e.controller,r=e.guildBanner;return null!=r?M(N,{guild:t,guildBanner:r,controller:n}):null},a.render=function(){var e,t,n=this.props,r=n.bannerVisible,a=n.onClick,o=n.onMouseDown,i=n.onContextMenu,u=n.selected,s=n.className,d=n["aria-controls"],c=n["aria-expanded"],p=this.renderHeader(),v=this.renderBanner();return null!=a?M(f.default,{className:(0,l.default)(s,(t={},t[S.default.container]=!0,t[S.default.clickable]=!0,t[S.default.hasBanner]=this.hasBanner(),t[S.default.bannerVisible]=r,t[S.default.selected]=u,t)),"aria-controls":d,"aria-expanded":c,onClick:a,onContextMenu:i,onMouseDown:o,focusProps:{offset:{top:4,right:4,bottom:4,left:4}}},void 0,p,v):M("div",{className:(0,l.default)(s,(e={},e[S.default.container]=!0,e[S.default.hasBanner]=this.hasBanner(),e[S.default.bannerVisible]=r,e)),onMouseDown:o},void 0,p,v)},r}(i.PureComponent);R.displayName="GuildHeader",R.defaultProps={selected:!1};var L=R;t.default=L},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSharedStageInstanceDiscoveryStates=void 0;var r=n(3),a=n(203),o=d(n(40)),i=d(n(5826)),l=d(n(373)),u=n(48),s=n(8423);function d(e){return e&&e.__esModule?e:{default:e}}t.useSharedStageInstanceDiscoveryStates=function(e,t,n){var d=e.sku_ids,f=(0,r.useStateFromStoresArray)([l.default],(function(){return d.map((function(e){return l.default.get(e)})).filter(u.isNotNullish)}),d),c=d.length>0,p=(0,r.useStateFromStores)([i.default],(function(){return f.some((function(e){return i.default.isEntitledToSku(null,e.id,e.applicationId)}))}),[f]),v=e.status===s.GuildScheduledEventStatus.ACTIVE,y=!s.GuildScheduledEventStatusDone.has(e.status),m=f[0],_=(0,r.useStateFromStores)([o.default],(function(){return o.default.can(a.JOIN_VOCAL_CHANNEL_PERMISSIONS,n)}));return{isTicketedEvent:c,isTicketPurchased:p,isLive:v,sku:m,canPurchaseTicket:c&&!t&&!p&&y&&!_,canJoinChannel:_}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=R(n(0)),o=A(n(9)),i=n(9193),l=A(n(1243)),u=A(n(3)),s=R(n(8699)),d=A(n(8526)),f=A(n(8457)),c=A(n(105)),p=A(n(106)),v=A(n(88)),y=A(n(10)),m=A(n(86)),_=A(n(1241)),h=A(n(36)),E=A(n(278)),g=n(121),S=R(n(9033)),O=R(n(8480)),I=R(n(10013)),T=A(n(10015)),C=n(8297),b=n(1),M=A(n(6)),N=A(n(7795));function A(e){return e&&e.__esModule?e:{default:e}}function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n(7796);var w=(0,l.default)(s.search,500),j=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).state={focused:!1,selectedIndex:void 0},n._searchPopoutRef=a.createRef(),n.handleSetSearchQuery=function(e){var t=e.query,r=e.anchor,a=e.focus,o=e.performSearch,i=e.replace,l=n.props.editorState,u=S.getFirstTextBlock(l);" "!==t.charAt(t.length-1)&&(t+=" "),r&&" "!==u.charAt(r-1)&&" "!==t.charAt(0)&&(t=" "+t),i?(l=S.replaceAllContent(t,l),r=0):l=S.updateContent(t,l,r,a),l=S.truncateContent(l,512),l=n.tokenize(l);var s=r+t.length;l=S.setCollapsedSelection(s,l),n.setEditorState(l),o&&n.search(S.getFirstTextBlock(l))},n.handleSelectedIndexChanged=function(e){var t,r;null===(t=n._editorRef)||void 0===t||null===(r=t.editor)||void 0===r||r.setAttribute("aria-activedescendant",null!=e?"search-results-"+e:void 0),n.setState({selectedIndex:e})},n.renderPopout=function(){return a.createElement(T.default,{ref:n._searchPopoutRef,navId:"search-results",onSelectedIndexChanged:n.handleSelectedIndexChanged})},n.search=function(e){var t=n.props,r=t.searchId,a=t.isSearching;if(!e){var o=n.props.editorState;e=S.getFirstTextBlock(o)}if(r&&!a){for(var i=O.tokenizeQuery(e),l=O.getSearchQueryFromTokens(i),u=0;u<i.length;u++)O.filterHasAnswer(i[u],i[u+1])||(e=e.substring(0,i[u].start)+e.substring(i[u].end));if(!i.length||0===Object.keys(l).length)return!1;w(r,l,e),n.onBlur()}return!0},n.handleClearSearch=function(e){var t=n.props.editorState,r=n.state.focused;e.preventDefault(),e.stopPropagation(),""!==S.getFirstTextBlock(t)?(t=S.truncateContent(t,0),n.setEditorState(t),r||Promise.resolve().then((function(){return n.blurEditor()}))):n.focusEditor()},n.handleFocusSearch=function(e){var t;if(e.prefillCurrentChannel&&S.isEmpty(n.props.editorState)){var r,a=h.default.getChannelId(),o=y.default.getChannel(a);if(null===(t=o)||void 0===t?void 0:t.isThread())o=y.default.getChannel(null===(r=o)||void 0===r?void 0:r.parent_id);if(null==o||o.isPrivate())n.focusEditor();else{var i=m.default.getTextChannelNameDisambiguations(o.getGuildId())[o.id],l=null!=i?i.name:o.name;n.handleSetSearchQuery({query:f.default[b.SearchTokenTypes.FILTER_IN].key+"#"+l+" ",replace:!0})}}else n.focusEditor()},n.focusEditor=function(){var e=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n)._editorRef;e&&Promise.resolve().then((function(){return e.focus()}))},n.blurEditor=function(){n._editorRef&&n._editorRef.blur()},n.setEditorRef=function(e){n._editorRef=e},n.onFocus=function(){var e=n.props.searchType;p.default.trackWithMetadata(b.AnalyticEvents.SEARCH_OPENED,{search_type:e}),n.setState({focused:!0})},n.onBlur=function(){n.setState({focused:!1},(function(){S.isEmpty(n.props.editorState)&&n.clearSearch()}))},n.handleReturn=function(e){e.preventDefault();var t=n._searchPopoutRef.current;return null!=t&&t.selectOption()||n.search(),!0},n.handleBeforeInput=function(e){var t=n.props.editorState,r=n.state.focused;return S.getFirstTextBlock(t).length>=512||(t=S.updateContent(e,t),t=S.truncateContent(t,512),t=n.tokenize(t),n.setEditorState(t),r||n.setState({focused:!0})),!0},n.handleKeyCommand=function(e){var t=n.props.editorState,r=n.state.focused;switch(e){case"backspace":case"backspace-word":case"backspace-to-start-of-line":case"delete":case"delete-word":return t=S.deleteContent(e,t),t=n.tokenize(t),n.setEditorState(t),r||n.setState({focused:!0}),!0;case"transpose-characters":case"move-selection-to-start-of-block":case"move-selection-to-end-of-block":return t=S.miscCommand(e,t),t=n.tokenize(t),n.setEditorState(t),!0;case"split-block":case"underline":case"bold":case"italic":return!0}},n.handlePastedText=function(e){var t=n.props.editorState,r=n.state.focused;return e=null!=e?e.replace(/\n/g,""):"",t=S.updateContent(e,t),t=S.truncateContent(t,512),t=n.tokenize(t),r||n.setState({focused:!0}),n.setEditorState(t),!0},n.setEditorState=function(e){var t=n.props.searchId;s.setSearchState(t,e)},n.handleKeyBind=function(e){var t=e.key,r=e.metaKey,a=e.shiftKey,o=n.props,i=o.editorState,l=o.searchId,u=o.keyboardModeEnabled;if(e.stopPropagation(),"Escape"===t){if(e.preventDefault(),S.isEmpty(i))n.blurEditor();else{var d=S.clearContent(i);s.setSearchState(l,d),n.setState({focused:!0})}return!0}if("ArrowUp"===t){e.preventDefault();var f=n._searchPopoutRef.current;return null!=f&&f.focusPreviousOption(),!0}if("ArrowDown"===t){e.preventDefault();var c=n._searchPopoutRef.current;return null!=c&&c.focusNextOption(),!0}if("Tab"===t){if(u)return;e.preventDefault();var p=n._searchPopoutRef.current;return null!=p&&p.selectOption(),!0}return"Home"===t||"ArrowLeft"===t&&r?(e.preventDefault(),i=a?S.setToStartSelection(i):S.setCollapsedStartSelection(i),n.setEditorState(i),!0):"End"===t||"ArrowRight"===t&&r?(e.preventDefault(),i=a?S.setToEndSelection(i):S.setCollapsedEndSelection(i),n.setEditorState(i),!0):S.getDefaultKeyBinding(e)},O.clearTokenCache(),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,D(t,n);var l=r.prototype;return l.componentDidMount=function(){g.ComponentDispatch.subscribe(b.ComponentActions.PERFORM_SEARCH,this.search),g.ComponentDispatch.subscribe(b.ComponentActions.SET_SEARCH_QUERY,this.handleSetSearchQuery),g.ComponentDispatch.subscribe(b.ComponentActions.FOCUS_SEARCH,this.handleFocusSearch)},l.componentDidUpdate=function(e){var t=this.props,n=t.editorState,r=t.searchId;if(n!==e.editorState){var a=O.tokenizeQuery(S.getFirstTextBlock(n)),o=I.getSelectionScope(a,n);s.updateAutocompleteQuery(r,a,o),this._editorRef&&S.scrollCursorIntoView(this._editorRef.editor)}},l.componentWillUnmount=function(){g.ComponentDispatch.unsubscribe(b.ComponentActions.PERFORM_SEARCH,this.search),g.ComponentDispatch.unsubscribe(b.ComponentActions.SET_SEARCH_QUERY,this.handleSetSearchQuery),g.ComponentDispatch.unsubscribe(b.ComponentActions.FOCUS_SEARCH,this.handleFocusSearch)},l.tokenize=function(e){var t=O.tokenizeQuery(S.getFirstTextBlock(e)).filter((function(e){return e.type!==d.default.NON_TOKEN_TYPE}));return S.applyTokensAsEntities(t,e,f.default)},l.clearSearch=function(){var e=this.props.searchId;e&&s.clearSearchState(e)},l.handlePastedFiles=function(){return!0},l.handleDroppedFiles=function(){return!0},l.handleDrop=function(){return!0},l.renderInput=function(){var e=this.props.editorState;return a.createElement(i.Editor,{ref:this.setEditorRef,onBlur:this.onBlur,onFocus:this.onFocus,handleReturn:this.handleReturn,handleBeforeInput:this.handleBeforeInput,handleKeyCommand:this.handleKeyCommand,handlePastedText:this.handlePastedText,handlePastedFiles:this.handlePastedFiles,handleDroppedFiles:this.handleDroppedFiles,handleDrop:this.handleDrop,keyBindingFn:this.handleKeyBind,placeholder:M.default.Messages.SEARCH,editorState:e,onChange:this.setEditorState})},l.render=function(){var e=this,t=this.props,n=t.searchId,r=t.editorState,a=t.hasResults,i=t.className,l=this.state.focused,u=!!S.getFirstTextBlock(r).length;return n?L(E.default,{renderPopout:this.renderPopout,position:E.default.Positions.BOTTOM,animation:E.default.Animation.NONE,shouldShow:l,autoInvert:!1},void 0,(function(t,r){var s;return L("div",{className:i},void 0,L("div",{className:(0,o.default)(N.default.search,(s={},s[N.default.open]=u||l,s[N.default.focused]=l,s))},void 0,L(v.default,{within:!0},void 0,L("div",{className:N.default.searchBar,role:"combobox","aria-label":M.default.Messages.SEARCH,"aria-owns":"search-results","aria-expanded":r},n,e.renderInput(),L(C.SearchBarIcon,{onClear:e.handleClearSearch,hasContent:u||a,className:N.default.icon})))))})):null},r}(a.PureComponent);j.displayName="Search";var k=u.default.connectStores([c.default,_.default],(function(){var e=_.default.getCurrentSearchId(),t=_.default.getSearchType(),n=!!e&&_.default.isSearching(e),r=e&&_.default.getEditorState(e)||S.createEmptyEditorState(I.generateDecorators(f.default)),a=c.default.keyboardModeEnabled;return{searchId:e,searchType:t,isSearching:n,editorState:r,hasResults:_.default.hasResults(e),keyboardModeEnabled:a}}))(j);t.default=k},,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchColonGroup=c,t.generateDecorators=function(e){void 0===e&&(e={});var t=[];return Object.keys(e).forEach((function(n){var r=e[n];t.push({strategy:function(e,t,r){return c(r,e,t,n)},component:f[r.componentType]})})),t},t.cleanQueryTokens=function(e,t){var n=!1,r=[];if(e.forEach((function(t,a){var o=e[a];r.push(t.getFullMatch()),d.IS_SEARCH_ANSWER_TOKEN.test(t.type)&&(o&&o.type!==i.default.NON_TOKEN_TYPE||!o)&&(n=!0,r.push(" "))})),!n)return t;return(0,u.replaceAllContent)(r.join(""),t)},t.getSelectionScope=function(e,t){var n=t.getSelection(),r=n.focusOffset,a=n.anchorOffset;return(0,s.getSelectionScope)(e,r,a)},t.Components=void 0;var r,a,o=n(10014),i=(r=n(8526))&&r.__esModule?r:{default:r},l=n(8457),u=n(9033),s=n(8480),d=n(1);var f=((a={})[l.ComponentTypes.FILTER]=o.Filter,a[l.ComponentTypes.ANSWER]=o.Answer,a);function c(e,t,n,r){t.findEntityRanges((function(t){var n=t.getEntity();return null!==n&&e.getEntity(n).getType()===r}),n)}t.Components=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Answer=t.Filter=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a,o=(r=n(7792))&&r.__esModule?r:{default:r};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function u(e,t){return l("span",{className:t},void 0,e.children)}u.displayName="renderToken";t.Filter=function(e){return u(e,o.default.searchFilter)};t.Answer=function(e){return u(e,o.default.searchAnswer)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SearchPopoutComponent=t.GroupData=void 0;var r,a,o=H(n(0)),i=F(n(9)),l=F(n(23)),u=F(n(8)),s=F(n(5)),d=n(1303),f=n(3),c=n(8699),p=n(8526),v=H(n(8457)),y=n(180),m=n(8328),_=F(n(10)),h=F(n(56)),E=F(n(70)),g=F(n(10016)),S=F(n(36)),O=F(n(107)),I=F(n(160)),T=F(n(39)),C=F(n(12)),b=F(n(271)),M=F(n(61)),N=F(n(149)),A=F(n(10017)),P=F(n(10018)),R=F(n(8536)),L=n(121),D=F(n(93)),w=H(n(8480)),j=H(n(10019)),k=n(1),U=F(n(6)),G=F(n(7794));function F(e){return e&&e.__esModule?e:{default:e}}function B(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return B=function(){return e},e}function H(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=B();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function V(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function W(){return(W=Object.assign||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}).apply(this,arguments)}function Y(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var z=(0,s.default)("2015-05-15").local(),K=(0,d.makeLazy)({createPromise:function(){return Promise.resolve().then(n.t.bind(null,1316,7))},webpackId:1316});function $(e){var t=!0,n=e.trim();return(0,u.default)(v.default).forOwn((function(e){e.key&&n===e.key&&(t=!1)})),t}var Z=function(e,t,n){var r,a,o=n.user,i=n.text;if(null==o)return Y("strong",{},void 0,i);var l=_.default.getChannel(e),u=(null==l?void 0:l.isPrivate())?E.default.getNickname(o.id):null,s=null!==(r=null!==(a=h.default.getNick(e,o.id))&&void 0!==a?a:u)&&void 0!==r?r:o.username,d=o.avatarURL||o.getAvatarURL();return[Y("img",{alt:"",className:G.default.displayAvatar,src:d},"avatar-"+t+"-"+o.id),Y("span",{className:G.default.displayedNick},"display-nick-"+t+"-"+o.id,s),Y("span",{className:G.default.displayUsername},"display-username-"+t+"-"+o.id,I.default.enabled?o.username:i)]},q=function(e,t,n){var r=n.channel,a=n.text;if(null==r)return Y("strong",{},void 0,a);var o=_.default.getChannel(r.parent_id),i=(0,m.getChannelIconComponent)(r);return Y("div",{className:G.default.resultChannel},void 0,null!=i?Y(i,{className:G.default.searchResultChannelIcon}):null,Y("strong",{},void 0,(0,y.computeChannelName)(r,C.default,E.default)),null!=o?Y("span",{className:G.default.searchResultChannelCategory},void 0,(0,y.computeChannelName)(o,C.default,E.default)):null)};q.displayName="renderChannel";var X=function(e){var t,n,r,a=e.id,o=e.searchId,l=e.result,u=e.group,s=e.selected,d=e.className,f=e.role,c=e.tabIndex,p=e["aria-selected"],y=e.onSelect,m=e.onFocus,_=e.showFilter,h=e.renderResult;return _&&(n=Y("span",{className:G.default.filter},void 0,v.default[u].key||"addme:")),r=h?h(o,u,l):Y("strong",{},void 0,l.text),Y(M.default,{className:(0,i.default)(G.default.option,d,(t={},t[G.default.selected]=s,t)),onClick:y,onMouseOver:m,onFocus:m,id:a,role:f,tabIndex:c,"aria-selected":p},void 0,n,r,Y(R.default,{className:G.default.plusIcon}))};X.displayName="ResultComponent";var J=function(e){return o.createElement(X,W({},e,{className:G.default.user,renderResult:Z}))};J.displayName="UserResultComponent";var Q=function(e){return o.createElement(X,W({},e,{renderResult:q}))};function ee(e){var t,n=e.selected,r=e.onSelect,a=e.onFocus,l=e.result,u=(e.showFilter,e.searchId,e.renderResult,e.group,V(e,["selected","onSelect","onFocus","result","showFilter","searchId","renderResult","group"])),s="",d=o.useMemo((function(){return e=l.text,w.tokenizeQuery(e).map((function(e,t,n){return w.filterHasAnswer(e,n[t+1])?e:new p.Token(e.getFullMatch(),p.NON_TOKEN_TYPE)}));var e}),[l.text]).map((function(e){var t,n=e.getFullMatch();if(""===n.trim())return null;var r=k.IS_SEARCH_FILTER_TOKEN.test(e.type),a=k.IS_SEARCH_ANSWER_TOKEN.test(e.type),o=!r&&!a;return s+=n,Y("span",{className:(0,i.default)((t={},t[G.default.filter]=r,t[G.default.answer]=a,t[G.default.nonText]=o,t))},e.type+n,n)}));return o.createElement(M.default,W({className:(0,i.default)(G.default.option,G.default.history,(t={},t[G.default.selected]=n,t)),onClick:r,onMouseOver:a,onFocus:a},u,{"aria-label":U.default.Messages.SEARCH_FROM_SUGGESTIONS.format({suggestion:s})}),d,Y(R.default,{className:G.default.plusIcon}))}Q.displayName="ChannelResultComponent",ee.displayName="HistoryComponent";var te=Y(A.default,{}),ne=Y(P.default,{}),re=((r={})[k.SearchTokenTypes.FILTER_FROM]={titleText:function(){return U.default.Messages.SEARCH_GROUP_HEADER_FROM},component:J},r[k.SearchTokenTypes.FILTER_MENTIONS]={titleText:function(){return U.default.Messages.SEARCH_GROUP_HEADER_MENTIONS},component:J},r[k.SearchTokenTypes.FILTER_HAS]={titleText:function(){return U.default.Messages.SEARCH_GROUP_HEADER_HAS}},r[k.SearchTokenTypes.FILTER_FILE_TYPE]={titleText:function(){return U.default.Messages.SEARCH_GROUP_HEADER_FILE_TYPE}},r[k.SearchTokenTypes.FILTER_IN]={titleText:function(){return U.default.Messages.SEARCH_GROUP_HEADER_CHANNELS},component:Q},r[k.SearchAutocompleteGroups.DATES]={titleText:function(){return U.default.Messages.SEARCH_GROUP_HEADER_DATES}},r[k.SearchAutocompleteGroups.HISTORY]={titleText:function(){return U.default.Messages.SEARCH_GROUP_HEADER_HISTORY},groupTip:function(e){var t=e.searchId;return Y(N.default,{text:U.default.Messages.SEARCH_CLEAR_HISTORY,position:N.default.Positions.LEFT},void 0,(function(e){var n=e.onMouseEnter,r=e.onMouseLeave;return Y(M.default,{onClick:function(){return(0,c.clearHistory)(t)},onMouseEnter:n,onMouseLeave:r,className:G.default.searchClearHistory,title:U.default.Messages.SEARCH_CLEAR_HISTORY,"aria-label":U.default.Messages.SEARCH_CLEAR_HISTORY},void 0,te)}))},component:ee},r[k.SearchAutocompleteGroups.SEARCH_OPTIONS]={titleText:function(){return U.default.Messages.SEARCH_GROUP_HEADER_SEARCH_OPTIONS},groupTip:function(){return Y(N.default,{text:U.default.Messages.LEARN_MORE,position:N.default.Positions.LEFT},void 0,(function(e){return o.createElement("div",W({className:G.default.searchLearnMore},e),Y(b.default,{href:D.default.getArticleURL(k.HelpdeskArticles.USING_SEARCH),title:U.default.Messages.LEARN_MORE},void 0,ne))}))},component:function(e){var t,n,r=e.result,a=e.selected,l=e.onSelect,u=e.onFocus,s=(e.showFilter,e.searchId,V(e,["result","selected","onSelect","onFocus","showFilter","searchId"])),d=w.getSearchOptionAnswer(r.token||"");return o.createElement(M.default,W({className:(0,i.default)(G.default.option,G.default.searchOption,(t={},t[G.default.selected]=a,t)),onClick:l,onMouseOver:u,onFocus:u},s),Y("span",{className:G.default.filter},void 0,r.text),Y("span",{className:(0,i.default)((n={},n[G.default.answer]=d,n))},void 0,d),Y(R.default,{className:G.default.plusIcon}))}},r);t.GroupData=re;var ae=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={dateHint:(0,v.getRandomDateShortcut)(),selectedIndex:-1},t.handleDateChange=function(e){t.setSearchQuery(e.format(k.SEARCH_DATE_FORMAT)+" ",!0)},t.keepCurrentOptionSelected=function(e,n){var r=t.state.selectedIndex,a=t.props,o=a.resultsState,i=a.totalResults,l=o.mode,u=o.autocompletes,s=e.resultsState;if(l.type!==s.mode.type)t.setSelectedIndex(-1);else if(n.selectedIndex>=0&&(n.selectedIndex===r||s.autocompletes.length!==u.length)){var d=w.getFlattenedStringArray(s.autocompletes,s.mode.type)[n.selectedIndex-1],f=w.getFlattenedStringArray(u,l.type).indexOf(d);-1!==f?t.setSelectedIndex(f):n.selectedIndex>=i&&t.setSelectedIndex(i-1)}},t.focusNextOption=function(){t.focusOtherOption(1)},t.focusPreviousOption=function(){t.focusOtherOption(-1)},t.focusOtherOption=function(e){var n=t.state.selectedIndex,r=t.props.resultsState;w.showDatePicker(r.mode.filter)||t.focusOption(n+e)},t.focusOption=function(e){var n=e,r=t.props.resultsState.autocompletes,a=t.shouldShowSearchQuery();n<-1||!a&&n<0?n=w.getTotalResults(r)-1:a&&n>=w.getTotalResults(r)?n=-1:!a&&n>=w.getTotalResults(r)&&(n=0),t.setSelectedIndex(n)},t.selectOption=function(e){var n=e;if(null==n&&(n=t.state.selectedIndex),n<0)return!1;var r=t.props.resultsState,a=r.autocompletes,o=r.mode;if(!w.showDatePicker(o.filter)){var i=w.getFlattenedStringArray(a,o.type);if(n>=i.length)return!1;var l=i[n],u=$(l);return t.setSearchQuery(l,u),!0}},t.setSearchQuery=function(e,n){void 0===n&&(n=!1);var r=t.props.resultsState,a=r.mode,o=r.cursorScope,i=0;a.token?i=a.token.start:o&&o.currentToken&&(i=o.currentToken.end);var l=a.token?a.token.end:i;L.ComponentDispatch.dispatch(k.ComponentActions.SET_SEARCH_QUERY,{query:e,anchor:i,focus:l,performSearch:n}),t.setSelectedIndex(-1)},t.shouldShowSearchQuery=function(){var e=t.props.resultsState.mode;return e.type!==k.SearchPopoutModes.FILTER&&e.type!==k.SearchPopoutModes.EMPTY&&!w.showDatePicker(e.filter)},t.renderDatePicker=function(){return Y("div",{className:G.default.datePicker},void 0,Y(K,{locale:t.props.locale,onSelect:t.handleDateChange,maxDate:(0,s.default)().local(),minDate:z}),Y("div",{className:G.default.datePickerHint},void 0,Y("span",{className:G.default.hint},void 0,U.default.Messages.SEARCH_DATE_PICKER_HINT," "),Y(M.default,{tag:"span",className:G.default.hintValue,onClick:t.handleHintClick},void 0,t.state.dateHint)))},t.handleHintClick=function(){t.setSearchQuery(t.state.dateHint,!0)},t.performSearch=function(){L.ComponentDispatch.dispatch(k.ComponentActions.PERFORM_SEARCH)},t.renderAutocompletes=function(){var e=t.state.selectedIndex,n=t.props,r=n.navId,a=n.searchId,i=t.props.resultsState,l=i.autocompletes,u=i.mode;if(w.showDatePicker(u.filter))return t.renderDatePicker();var s=-1;return l.map((function(n){if(!n||!n.results.length)return null;var i,l=re[n.group]||{};l.titleText&&(i=Y("div",{className:G.default.header},void 0,l.titleText()));var d=l.groupTip||null,f=d?Y(d,{searchId:a}):null,c=l.component||X,p=u.type===k.SearchPopoutModes.FILTER_ALL||!1;return Y("div",{className:G.default.resultsGroup},n.group,i,f,n.results.map((function(i){if(!i||!n)return null;var l=e===(s+=1);return o.createElement(c,W({key:n.group+"-"+i.text+"-"+(i.key||""),searchId:a,group:i.group||n.group,result:i,showFilter:p,selected:l,onSelect:t.selectOption.bind(null,s),onFocus:t.focusOption.bind(null,s)},(0,j.getListboxOptionProps)(r,s,l)))})))}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,x(t,n);var a=r.prototype;return a.componentDidUpdate=function(e,t){var n=this.props,r=n.resultsState,a=n.totalResults,o=r.mode,i=e.resultsState;o.filter&&!i.mode.filter&&a?this.setSelectedIndex(0):o.type===k.SearchPopoutModes.FILTER_ALL&&i.mode.type!==o.type?this.setSelectedIndex(-1):this.keepCurrentOptionSelected(e,t)},a.setSelectedIndex=function(e){var t=this;this.setState({selectedIndex:e},(function(){return t.props.onSelectedIndexChanged(e)}))},a.render=function(){var e=this,t=this.state.selectedIndex,n=this.props,r=n.navId,a=n.resultsState,o=n.totalResults;return Y(j.default,{numResults:o,query:a.query,navId:r,hideQuery:!this.shouldShowSearchQuery(),focusedIndex:t,renderCustomResults:this.renderAutocompletes,renderInitialState:this.renderAutocompletes,onHighlightQuery:function(){return e.focusOption(-1)},onSelectQuery:this.performSearch,renderNoResults:function(){return null}})},r}(o.PureComponent);t.SearchPopoutComponent=ae,ae.displayName="SearchPopoutComponent";var oe=o.forwardRef((function(e,t){var n=(0,f.useStateFromStoresArray)([O.default,S.default,g.default],(function(){var e=O.default.getGuildId(),t=S.default.getChannelId(),n=e||t;(0,l.default)(null!=n,"SearchPopout.getStateFromStores - invalid searchId");var r=g.default.getState(n);return[n,r,w.getTotalResults(r.autocompletes)]})),r=n[0],a=n[1],i=n[2],u=(0,f.useStateFromStores)([T.default],(function(){return T.default.locale}));return o.createElement(ae,W({},e,{searchId:r,resultsState:a,totalResults:i,locale:u,ref:t}))}));t.default=oe},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_(n(3)),a=_(n(2)),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(8457)),i=_(n(1186)),l=_(n(697)),u=_(n(723)),s=n(8480),d=_(n(56)),f=_(n(1238)),c=_(n(1241)),p=_(n(160)),v=_(n(12)),y=n(1);function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e){return e&&e.__esModule?e:{default:e}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E={},g={};function S(e,t,n,r,a,o){var l=g[e];return null==l&&(l={results:[],context:i.default.getSearchContext(O.bind(null,e))},g[e]=l),{query:t||"",mode:n||{type:y.SearchPopoutModes.EMPTY,filter:null,token:null},tokens:r||[],cursorScope:a||null,autocompletes:o||[]}}function O(e,t){var n=t.results,r=g[e],a=E[e];if(null!=r&&null!=a){var o=a.mode,i=o.type,l=o.filter;if(i!==y.SearchPopoutModes.EMPTY&&(i!==y.SearchPopoutModes.FILTER||l===y.SearchTokenTypes.FILTER_FROM||l===y.SearchTokenTypes.FILTER_MENTIONS)){var u=3;a.mode.type===y.SearchPopoutModes.FILTER&&(u=10),r.results=function(e,t){void 0===t&&(t=10);(e=e.reduce((function(e,t){var n=v.default.getUser(t.id);return null==n||e.push({id:n.id,text:n.tag,user:n}),e}),[])).length>t&&(e.length=t);return e}(n,u);var s=a.query,d=a.mode,f=a.tokens,c=a.cursorScope,p=a.autocompletes;p=b(e,d),E[e]=S(e,s,d,f,c,p),P.emitChange()}}}function I(e,t,n,r){if(void 0===r&&(r=10),!e)return null;var a;if(e===y.SearchTokenTypes.FILTER_FROM||e===y.SearchTokenTypes.FILTER_MENTIONS){var i=g[n];null==i?a=null:(null!=t&&0!==t.getFullMatch().trim().length||(i.results=l.default.getRecentlyTalked(n,10).map((function(e){var t=e.user;return{user:t,text:t.tag}}))),a=i.results)}else{var u,s=o.default[e]&&o.default[e].getAutocompletions,d=(null!=t?t.getFullMatch():"").trim();a=s?s(d,n,null!==(u=r)&&void 0!==u?u:10):[]}return a&&a.length?{group:e,results:a}:null}function T(e){var t,n=(null!=e?e.getFullMatch():"").trim(),r=((t={})[y.SearchTokenTypes.FILTER_FROM]=!p.default.hidePersonalInformation,t[y.SearchTokenTypes.FILTER_MENTIONS]=!p.default.hidePersonalInformation,t[y.SearchTokenTypes.FILTER_HAS]=!0,t[y.SearchTokenTypes.FILTER_BEFORE]=!0,t[y.SearchTokenTypes.FILTER_AFTER]=!0,t[y.SearchTokenTypes.FILTER_ON]=!0,t[y.SearchTokenTypes.FILTER_IN]=c.default.getSearchType()===y.SearchTypes.GUILD,t),a=(0,o.getFilterAutocompletions)(n).filter((function(e){return null!=r[e.token]}));return{group:y.SearchAutocompleteGroups.SEARCH_OPTIONS,results:a}}function C(e,t){var n=(null!=e?e.getFullMatch():"").trim(),r=[];return n&&(function(e){var t=c.default.getSearchType(e),n=[y.SearchTokenTypes.FILTER_HAS];return p.default.hidePersonalInformation||(n.push(y.SearchTokenTypes.FILTER_FROM),n.push(y.SearchTokenTypes.FILTER_MENTIONS)),t===y.SearchTypes.GUILD&&n.push(y.SearchTokenTypes.FILTER_IN),n}(t).forEach((function(n){if(n){var a=I(n,e,t,3);a&&r.push(a)}})),r.push(function(e,t){var n=(null!=e?e.getFullMatch():"").trim();if(n){var r=o.default[y.SearchTokenTypes.FILTER_BEFORE].getAutocompletions(n,t,1)[0],a=o.default[y.SearchTokenTypes.FILTER_ON].getAutocompletions(n,t,1)[0],i=o.default[y.SearchTokenTypes.FILTER_AFTER].getAutocompletions(n,t,1)[0];if(!r)return null;var l=[r,a,i];return{group:y.SearchAutocompleteGroups.DATES,results:l}}}(e,t))),(0,s.getTotalResults)(r)<5&&r.push(T(e)),r}function b(e,t){var n=[];return t.type===y.SearchPopoutModes.FILTER?n.push(I(t.filter,t.token,e,10)):t.type===y.SearchPopoutModes.FILTER_ALL?n=C(t.token,e):t.type===y.SearchPopoutModes.EMPTY&&(n.push(T(t.token)),n.push(function(e){if(p.default.hidePersonalInformation)return null;var t=c.default.getHistory(e);return t?{group:y.SearchAutocompleteGroups.HISTORY,results:t.map((function(e){return{text:e}}))}:null}(e))),n}function M(){(0,s.clearTokenCache)()}function N(e){var t=E[e];if(t){var n=t.query,r=t.mode,a=t.tokens,o=t.cursorScope,i=t.autocompletes;E[e]=S(e,n,r,a,o,i.map((function(e){return e&&e.group===y.SearchAutocompleteGroups.HISTORY?null:e})))}}function A(){if(f.default.isOpen(y.SEARCH_POPOUT_ID)){var e=c.default.getCurrentSearchId();if(e&&E[e]){var t=E[e],n=t.query,r=t.mode,a=t.tokens,o=t.cursorScope;E[e]=S(e,n,r,a,o,b(e,r))}}}var P=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(d.default,p.default,f.default)},a.getState=function(e){return E[e]||S(e)},r}(r.default.Store))(a.default,{SEARCH_AUTOCOMPLETE_QUERY_UPDATE:function(e){var t,n=e.searchId,r=e.tokens,a=e.cursorScope,o=(0,s.getQueryFromTokens)(r),i=(0,s.getAutocompleteMode)(a,r),l=E[n]||{},d=g[n],f=!0;if(o!==l.query||l.mode&&l.mode.filter!==i.filter){if(i.type===y.SearchPopoutModes.EMPTY||i.type===y.SearchPopoutModes.FILTER&&i.filter!==y.SearchTokenTypes.FILTER_FROM&&i.filter!==y.SearchTokenTypes.FILTER_MENTIONS)null!=d&&(d.context.clearQuery(),d.results=[]),t=b(n,i);else if(null!=d){var c=i.token;null!=c&&c.getFullMatch().trim().length>0?(u.default.requestMembers(n,c.getFullMatch(),10),d.context.setQuery(c.getFullMatch().trim(),{guild:n}),t=l.autocompletes,f=!1):(d.context.clearQuery(),t=b(n,i))}}else t=l.autocompletes,f=!1;return E[n]=S(n,o,i,r,a,t),f},SEARCH_EDITOR_STATE_CLEAR:function(e){var t=e.searchId,n=g[t];null!=n&&(n.context.destroy(),n.results=[],delete g[t]),delete E[t]},CHANNEL_CREATE:function(e){return M()},CHANNEL_DELETE:function(e){return M()},STREAMER_MODE_UPDATE:function(e){return A()},POPOUT_OPEN:function(e){return A()},SEARCH_MODAL_OPEN:function(e){return A()},SEARCH_CLEAR_HISTORY:function(e){var t=e.searchId;null!=t?N(t):Object.keys(E).forEach(N)},LOGOUT:function(e){Object.keys(E).forEach(N)}}),R=P;t.default=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?18:t,r=e.height,a=void 0===r?18:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 18 18"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:f,fill:d,d:"M7.5 7.5h-6V9h6V7.5zm3-3h-9V6h9V4.5zm3.3106602 6.75l2.1213203-2.12132034-1.0606602-1.06066018L12.75 10.1893398l-2.1213203-2.12132032-1.06066022 1.06066018L11.6893398 11.25l-2.12132032 2.1213203 1.06066022 1.0606602L12.75 12.3106602l2.1213203 2.1213203 1.0606602-1.0606602L13.8106602 11.25zM1.5 12h6v-1.5h-6V12z"})))}d.displayName="ClearHistory"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?18:t,r=e.height,a=void 0===r?18:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 18 18"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:f,fill:d,d:"M8.25 13.5h1.5V12h-1.5v1.5zM9 1.5C4.86 1.5 1.5 4.86 1.5 9c0 4.14 3.36 7.5 7.5 7.5 4.14 0 7.5-3.36 7.5-7.5 0-4.14-3.36-7.5-7.5-7.5zM9 15c-3.3075 0-6-2.6925-6-6s2.6925-6 6-6 6 2.6925 6 6-2.6925 6-6 6zM9 4.5c-1.6575 0-3 1.3425-3 3h1.5C7.5 6.675 8.175 6 9 6s1.5.675 1.5 1.5c0 1.5-2.25 1.3125-2.25 3.75h1.5C9.75 9.5625 12 9.375 12 7.5c0-1.6575-1.3425-3-3-3z"})))}d.displayName="HelpOutline"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getListboxOptionProps=_,t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=f(n(61)),l=f(n(1257)),u=f(n(6)),s=f(n(5710)),d=f(n(7793));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){e.stopPropagation(),e.preventDefault()}function _(e,t,n){return{id:e+"-"+t,role:"option",tabIndex:-1,"aria-selected":n}}var h=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n);var f=r.prototype;return f.renderQuery=function(e){var t,n=this.props,r=n.query,f=n.navId,c=n.focusedIndex,y=n.onSelectQuery,m=n.onHighlightQuery,h=n.hideQuery;if(e||h)return null;var E=-1===c;return a.createElement(i.default,p({className:(0,o.default)(d.default.queryContainer,(t={},t[d.default.focused]=E,t))},_(f,-1,E),{onMouseEnter:m,onClick:y}),v("div",{className:d.default.queryText},void 0,u.default.Messages.SEARCH_FOR_VALUE.format({value:r})),v("div",{className:d.default.queryShortcut,"aria-hidden":!0},void 0,v(l.default,{shortcut:"return",className:(0,o.default)(s.default.dim,s.default.keybindShortcutSearchPopout)})))},f.renderResults=function(e){var t=this.props,n=t.numResults,r=t.renderNoResults,a=t.renderInitialState,o=t.renderResult,i=t.renderCustomResults;if(e)return a();if(0===n)return r();if(null!=o)return Array.from({length:n}).map((function(e,t){return o(t)}));if(null!=i)return i();throw new Error("SearchResultsPopout.renderResults: Flow should never allow this...")},f.render=function(){var e=this.props,t=e.query,n=e.focusedIndex,r=e.navId,a=e.width,o=""===t.trim();return v("div",{className:d.default.container,style:{width:a},onMouseDown:m,role:"listbox",id:r,tabIndex:-1,"aria-activedescendant":r+"-"+n},void 0,this.renderQuery(o),this.renderResults(o))},r}(a.PureComponent);h.displayName="SearchResultsPopout",h.defaultProps={renderInitialState:function(){return null},hideQuery:!1,width:320};var E=h;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=v(n(12)),i=v(n(271)),l=v(n(5999)),u=n(8282),s=v(n(13)),d=n(93),f=n(716),c=n(1),p=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(){var e=(0,a.useStateFromStores)([o.default],(function(){return o.default.getNullableCurrentUser()})),t=(0,f.isNewUser)(e);return m(i.default,{href:d.SUPPORT_LOCATION,target:"_blank",tabIndex:-1},void 0,m(u.Icon,{color:t?c.Colors.STATUS_GREEN_600:"currentColor",onClick:function(){return s.default.track(c.AnalyticEvents.HELP_CLICKED,{highlighted:t})},icon:l.default,tooltip:p.default.Messages.HELP}))}_.displayName="HelpButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=_(n(3)),i=_(n(154)),l=n(1228),u=_(n(10022)),s=_(n(94)),d=_(n(8376)),f=_(n(10023)),c=n(8282),p=n(10024),v=n(1),y=_(n(6)),m=_(n(7387));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var S=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={memoizedMode:t.props.mode,clicked:!1},t.handleInstallDownload=function(){s.default.isConnected()?i.default.show({title:y.default.Messages.UPDATE_DURING_CALL_TITLE,body:y.default.Messages.UPDATE_DURING_CALL_BODY,onConfirm:t.doUpdate,cancelText:y.default.Messages.CANCEL,confirmText:y.default.Messages.UPDATE_DURING_CALL_CONTINUE}):t.doUpdate()},t.doUpdate=function(){t.state.clicked||(t.setState({clicked:!0}),(0,p.quitAndInstall)())},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,g(t,n),r.getDerivedStateFromProps=function(e,t){return e.mode!==t.memoizedMode?{memoizedMode:e.mode,clicked:!1}:null};var a=r.prototype;return a.handleDownloadApps=function(){(0,l.showAppDownloadModal)("Links")},a.render=function(){switch(this.props.mode){case v.ActionTypes.UPDATE_AVAILABLE:return E(c.Icon,{hideOnClick:!1,tooltip:y.default.Messages.UPDATE_AVAILABLE,foreground:m.default.downloadArrow,background:m.default.cloud,icon:f.default});case v.ActionTypes.UPDATE_MANUALLY:case v.ActionTypes.UPDATE_DOWNLOADED:return E(c.Icon,{tooltip:y.default.Messages.UPDATE_DOWNLOADED,foreground:m.default.updateIconForeground,onClick:this.handleInstallDownload,icon:d.default});case v.ActionTypes.UPDATE_NOT_AVAILABLE:case v.ActionTypes.UPDATE_ERROR:case v.ActionTypes.CHECKING_FOR_UPDATES:default:return null}},r}(a.PureComponent);S.displayName="UpdateButton";var O=o.default.connectStores([u.default],(function(){return{mode:u.default.getState()}}))(S);t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=n(1).ActionTypes.UPDATE_NOT_AVAILABLE;function u(e){l=e.type}var s=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n),r.prototype.getState=function(){return l},r}(r.default.Store))(a.default,{CHECKING_FOR_UPDATES:u,UPDATE_NOT_AVAILABLE:u,UPDATE_AVAILABLE:u,UPDATE_MANUALLY:u,UPDATE_ERROR:u,UPDATE_DOWNLOADED:u});t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=e.background,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground","background"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:c,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M13 0C16.5198 0 19.4422 2.61306 19.9288 6.00063C19.9525 6.00021 19.9762 6 20 6C22.2091 6 24 7.79086 24 10C24 10.7708 23.782 11.4907 23.4043 12.1013C21.9807 10.7964 20.0834 10 18 10C15.0389 10 12.4535 11.6088 11.0703 14H5C2.243 14 0 11.757 0 9C0 6.243 2.243 4 5 4C6.393 4 7.678 4.454 9.175 6.58L9.992 6.004C9.018 4.62 7.987 3.815 7.022 3.357C8.26 1.31 10.49 0 13 0Z"}),s("path",{className:f,fill:d,d:"M21.293 17.292L19 19.585V13.999H17V19.585L14.707 17.292L13.293 18.706L18 23.413L22.707 18.706L21.293 17.292Z"}))}d.displayName="Downloading"},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.checkForUpdates=function(e){void 0===e&&(e=!1);return a.checkForUpdates(e)},t.quitAndInstall=function(){a.quitAndInstall()};var a=new(((r=n(10025))&&r.__esModule?r:{default:r}).default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(14)),a=p(n(28)),o=p(n(2)),i=p(n(10026)),l=n(307),u=p(n(26)),s=p(n(16)),d=p(n(164)),f=p(n(43)),c=n(1);function p(e){return e&&e.__esModule?e:{default:e}}function v(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}var y=a.default.get("lastNonRequiredUpdateShown",Date.now()),m=new u.default("AutoUpdateManager"),_=function(){function e(e){var t=this;void 0===e&&(e=36e5),this.updateAvailable=!1,this.hasNativeUpdate=!1,this._callbacks=[],this._bootstrapNewUpdater=!1,this._bootstrapper=null,this.checkForUpdates=function(e){if(void 0===e&&(e=!1),e||!t.hasNativeUpdate)if(s.default.embedded){var n="win32"===s.default.platform&&f.default.canBootstrapNewUpdater;n&&i.default.trackExposure({}),t._bootstrapNewUpdater&&n?t._requestNewUpdaterBootstrap():f.default.send("CHECK_FOR_UPDATES")}else t._handleNativeUpdateNotAvailable();return new Promise((function(e){t.updateAvailable?e(!0):t._callbacks.push(e)}))},this._handleCheckingForUpdates=function(){o.default.dispatch({type:c.ActionTypes.CHECKING_FOR_UPDATES})},this._handleNativeUpdateNotAvailable=function(){t._handleCheckingForUpdates(),r.default.get({url:location.protocol+"//"+location.host+"/assets/version."+window.GLOBAL_ENV.RELEASE_CHANNEL+".json",query:{_:Date.now()/1e3/60/5|0},oldFormErrors:!0}).then((function(e){if(null==e.body||"337b0b53d10875228a5b553e10dbfb3f270aa0dd"===e.body.hash)return t._handleUpdateNotAvailable();if(e.body.required||(0,l.probablyHasBuildOverride)())return t._handleUpdateDownloaded(!1);var n="stable"===window.GLOBAL_ENV.RELEASE_CHANNEL?6048e5:864e5;return Date.now()-y>n?(a.default.set("lastNonRequiredUpdateShown",Date.now()),t._handleUpdateDownloaded(!1)):void 0}),(function(){return t._handleUpdateError()}))},this._handleUpdateNotAvailable=function(){o.default.dispatch({type:c.ActionTypes.UPDATE_NOT_AVAILABLE}),t._emitCallbacks()},this._handleUpdateAvailable=function(e){t.updateAvailable=!0,t.hasNativeUpdate=e,o.default.dispatch({type:c.ActionTypes.UPDATE_AVAILABLE})},this._handleUpdateManually=function(){t.updateAvailable=!0,t.hasNativeUpdate=!0,o.default.dispatch({type:c.ActionTypes.UPDATE_MANUALLY})},this._handleUpdateError=function(e){t.updateAvailable=!1,o.default.dispatch({type:c.ActionTypes.UPDATE_ERROR,message:e})},this._handleUpdateDownloaded=function(e,n,r,a,i){t._handleUpdateAvailable(e),o.default.dispatch({type:c.ActionTypes.UPDATE_DOWNLOADED,releaseNotes:n,releaseName:r,releaseDate:a,updateURL:i}),t._emitCallbacks()},s.default.embedded&&(f.default.on(c.ActionTypes.CHECKING_FOR_UPDATES,this._handleCheckingForUpdates),f.default.on(c.ActionTypes.UPDATE_NOT_AVAILABLE,this._handleNativeUpdateNotAvailable),f.default.on(c.ActionTypes.UPDATE_AVAILABLE,(function(){return t._handleUpdateAvailable(!0)})),f.default.on(c.ActionTypes.UPDATE_ERROR,this._handleUpdateError),f.default.on(c.ActionTypes.UPDATE_DOWNLOADED,(function(){return t._handleUpdateDownloaded(!0)})),f.default.on(c.ActionTypes.UPDATE_MANUALLY,this._handleUpdateManually)),i.default.subscribe({},(function(e){t._bootstrapNewUpdater=e.bootstrapNewUpdater,o.default.wait((function(){t._bootstrapNewUpdater&&t.checkForUpdates()}))})),this._checkInterval=setInterval(this.checkForUpdates,e)}var t=e.prototype;return t.destroy=function(){clearInterval(this._checkInterval)},t.quitAndInstall=function(){this.updateAvailable&&(this.hasNativeUpdate?null!=this._bootstrapper?this._bootstrapper.finishBootstrap():f.default.send("QUIT_AND_INSTALL"):location.reload(!0))},t._requestNewUpdaterBootstrap=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m.log("Bootstrapping new updater host..."),e.prev=1,e.next=4,f.default.ensureModule("discord_updater_bootstrap");case 4:t=f.default.requireModule("discord_updater_bootstrap"),this._bootstrapper=t,e.next=12;break;case 8:return e.prev=8,e.t0=e.catch(1),this._handleNativeUpdateNotAvailable(),e.abrupt("return");case 12:return e.prev=12,this._handleCheckingForUpdates(),e.next=16,t.bootstrap(f.default.releaseChannel,"win");case 16:this.updateAvailable=!0,this.hasNativeUpdate=!0,this._handleUpdateDownloaded(!0),e.next=26;break;case 21:e.prev=21,e.t1=e.catch(12),m.log("Failed to bootstrap new updater:",e.t1),this._handleNativeUpdateNotAvailable(),d.default.captureException(e.t1);case 26:case"end":return e.stop()}}),e,this,[[1,8],[12,21]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){v(o,r,a,i,l,"next",e)}function l(e){v(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}(),t._emitCallbacks=function(){var e=this;this._callbacks.forEach((function(t){return t(e.updateAvailable)})),this._callbacks=[]},e}();t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2020-08_new_desktop_user",label:"New Desktop Updater Bootstrap",defaultConfig:{bootstrapNewUpdater:!1},treatments:[{id:1,label:"Update button runs new updater bootstrap",config:{bootstrapNewUpdater:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFormattedEventDateAndTime=function(e){var t,n=(0,r.default)(e.scheduled_start_time),i=(0,r.default)();t=(0,a.isSameDay)(n,i)?o.default.Messages.STAGE_INSTANCE_TODAY_LABEL+" · "+l(n,"h:mm A","h A"):l(n,"MMM D · h:mm A","MMM D · h A");if(null!=e.scheduled_end_time){var u=(0,r.default)(e.scheduled_end_time),s=(0,a.isSameDay)(n,u)?l(u,"h:mm A","h A"):l(u,"MMM D · h:mm A","MMM D · h A");t=t+" - "+s}return t},t.isEventReadyToStart=function(e){return(0,r.default)(e.scheduled_start_time).valueOf()-(0,r.default)().valueOf()<6e5},t.getFormattedEventDateAndTimeForConfirmation=function(e){var t=(0,r.default)(e.scheduled_start_time),n=t.format("MMM D"),a=l(t,"h:mm A","h A");return{eventDate:n,eventTime:a}};var r=i(n(5)),a=n(1161),o=i(n(6));function i(e){return e&&e.__esModule?e:{default:e}}var l=function(e,t,n){return 0===e.minutes()?e.format(n):e.format(t)}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t){var n=t.id,o=t.image,i=t.size;if(null==o)return null;null==i&&(i=window.screen.width*(0,r.getDevicePixelRatio)());i=(0,r.getBestMediaProxySize)(i);var l,u=window.GLOBAL_ENV.CDN_HOST;l=null!=u?(e.env.API_PROTOCOL||location.protocol)+"//"+u+"/guild-events/"+n+"/"+o:location.protocol+window.GLOBAL_ENV.API_ENDPOINT+a.Endpoints.GUILD_EVENT_IMAGE(n,o,"png");return l+="?size="+i};var r=n(193),a=n(1)}).call(this,n(100))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=he(n(0)),o=me(n(9)),i=me(n(8)),l=n(5941),u=n(67),s=n(192),d=he(n(680)),f=he(n(3)),c=me(n(184)),p=n(57),v=me(n(469)),y=n(389),m=me(n(1226)),_=me(n(274)),h=me(n(491)),E=n(8771),g=n(1228),S=me(n(688)),O=me(n(180)),I=me(n(8548)),T=n(1246),C=me(n(10030)),b=n(10031),M=n(8444),N=me(n(8445)),A=me(n(5939)),P=me(n(163)),R=me(n(11)),L=me(n(10)),D=me(n(715)),w=me(n(155)),j=me(n(405)),k=me(n(9035)),U=me(n(298)),G=me(n(1223)),F=me(n(15)),B=me(n(690)),H=me(n(10035)),x=me(n(94)),V=me(n(200)),W=me(n(70)),Y=me(n(36)),z=me(n(361)),K=me(n(12)),$=me(n(9208)),Z=me(n(80)),q=me(n(161)),X=me(n(5959)),J=me(n(8690)),Q=me(n(9027)),ee=n(41),te=n(468),ne=n(393),re=n(48),ae=he(n(136)),oe=me(n(16)),ie=n(259),le=n(8358),ue=me(n(10036)),se=he(n(8540)),de=me(n(9036)),fe=n(10042),ce=me(n(10049)),pe=n(1),ve=me(n(6)),ye=me(n(7809));function me(e){return e&&e.__esModule?e:{default:e}}function _e(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _e=function(){return e},e}function he(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_e();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function Ee(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ge(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function Se(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Oe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Oe(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function Oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ie(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Te(e,t)}function Te(e,t){return(Te=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ce(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function be(){return(be=Object.assign||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}).apply(this,arguments)}var Me=oe.default.isWindows()?4:oe.default.isOSX()?0:12,Ne=Me+0+10;function Ae(){return window.location.pathname.startsWith(pe.Routes.GUILD_DISCOVERY)}function Pe(){return window.location.pathname.startsWith(pe.Routes.GUILD_MEMBER_VERIFICATION_FOR_HUB(""))}function Re(e){var t=G.default.getMentionCounts();return"app-download-item"!==e&&"add-server-item"!==e&&(null!=t[e]?t[e]>0:e===pe.ViewHistoryKeys.SERVER_DISCOVERY_BADGE&&!$.default.hasViewed(pe.ViewHistoryKeys.SERVER_DISCOVERY_BADGE))}function Le(){return!1}function De(){(0,g.showAppDownloadModal)("Guilds")}function we(){(0,M.isAtGuildCapAndNonPremium)()?(0,N.default)({analyticsSource:pe.AnalyticsLocations.CREATE_JOIN_GUILD_MODAL,analyticsLocation:{page:pe.AnalyticsLocations.CREATE_JOIN_GUILD_MODAL,section:pe.AnalyticsSections.GUILD_CAP_UPSELL_MODAL}}):I.default.openCreateGuildModal({location:"Guild List"})}var je=(0,ne.cachedFunction)((function(e,t){return["null"].concat(t,e,["add-server-item",pe.ViewHistoryKeys.E3_SERVER_DISCOVERY_BADGE,"app-download-item"])})),ke=a.forwardRef((function(e,t){var n=(0,f.useStateFromStoresArray)([z.default,H.default,G.default],(function(){return je(z.default.guildFolders,H.default.getUnreadPrivateChannelIds(),G.default.getMentionCounts())})),r=(0,f.useStateFromStores)([q.default],(function(){return q.default.isFocused()})),o=(0,f.useStateFromStores)([k.default],(function(){return k.default.getExpandedFolders()}));return a.createElement(Q.default,be({},e,{ref:t,items:n,isUnread:Le,textUnread:"",textMention:ve.default.Messages.NEW,isMentioned:Re,animate:r,expandedFolders:o}))}));function Ue(e){var t=e.showDMsOnly,n=e.isOnOtherSidebarRoute,r=(0,f.useStateFromStores)([j.default,w.default],(function(){var e=(0,E.getDispatchApplicationStates)(j.default.activeItems,w.default),t=ae.getCombinedProgress(e),n=t.total,r=t.progress,a=ae.calculateProgressPercentage(r,n);return a>0&&a<100})),a=(0,f.useStateFromStores)([W.default],(function(){return W.default.getPendingCount()})),o=(0,f.useStateFromStores)([X.default],(function(){return X.default.getUnacknowledgedOffers().length})),i=(0,A.default)((function(e){return e.guildId})),l=(0,f.useStateFromStores)([K.default],(function(){return K.default.getCurrentUser()}));return Ce(fe.DefaultHomeButton,{showDMsOnly:t,selected:null==i&&!n,user:l,selectedChannelId:Y.default.getChannelId(pe.ME),badge:a+o,link:J.default.getHomeLink(),showProgressBadge:r})}Ue.displayName="ConnectedHomeButton";var Ge=f.default.connectStores([B.default],(function(){return{selected:B.default.isModalOpen(h.default)}}))(le.AppDownloadButton),Fe=function(e){var t=(0,f.useStateFromStores)([F.default],(function(){return F.default.getGuilds()})),n=(0,f.useStateFromStores)([K.default],(function(){return K.default.getCurrentUser()})),r=a.useMemo((function(){return i.default.some(t,(function(e){return e.isOwner(n)}))}),[t,n]),o=(0,ee.useModalsStore)((function(e){return(0,ee.hasModalOpenSelector)(e,I.default.CREATE_GUILD_MODAL_KEY)}));return a.createElement(le.CreateJoinGuildButton,be({},e,{isOwnerOfAny:r,selected:o}))};function Be(e){var t=e.lurkingGuildIds;return a.createElement(a.Fragment,null,t.map((function(e){return Ce(He,{guildId:e},e)})))}Fe.displayName="ConnectedCreateJoinGuildButton";var He=a.forwardRef((function(e){var t=e.guildId,n=(0,f.useStateFromStores)([F.default],(function(){return null!=t?F.default.getGuild(t):null})),r=(0,f.useStateFromStores)([q.default],(function(){return q.default.isFocused()})),a=t===(0,A.default)((function(e){return e.guildId}));return Ce(se.LurkingGuild,{guildId:t,animatable:r,guild:n,selected:a})})),xe=a.forwardRef((function(e,t){var n=e.channel.id,r=(0,O.default)(e.channel),o=(0,f.useStateFromStores)([x.default],(function(){return x.default.getChannelId()}),[]),i=(0,f.useStateFromStores)([S.default],(function(){return null!=o?S.default.getMode(o):pe.ChannelModes.VOICE}),[o]),l=(0,f.useStateFromStores)([P.default],(function(){return P.default.getAllApplicationStreamsForChannel(n).length>0})),u=(0,f.useStateFromStores)([Y.default],(function(){return Y.default.getChannelId()}),[]),s=(0,f.useStateFromStores)([V.default],(function(){return V.default.getMentionCount(n)}),[n]),d=o===n,c=!1,p=!1;return d&&(c=i===pe.ChannelModes.VOICE,p=i===pe.ChannelModes.VIDEO),a.createElement(ue.default,be({},e,{ref:t,channelName:r,unread:s>0,selected:u===n,badge:s,audio:c,video:p,stream:l,isCurrentUserInThisDMCall:d}))})),Ve=function(e){function t(){return e.apply(this,arguments)||this}Ie(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!(0,c.default)(e,this.props,["channels"])},n.render=function(){var e=this.props,t=e.channels,n=e.unreadPrivateChannelIds,r=e.selectedVoiceGuildId,o=e.selectedVoiceChannelId,i=n.map((function(e){var n=t[e];return null==n||n.id===o?null:Ce(xe,{channel:n},n.id)}));if(!r&&o){var l=t[o];null!=l&&i.unshift(Ce(xe,{channel:l},l.id))}return Ce(v.default,{component:a.Fragment},void 0,i)},t}(a.Component);Ve.displayName="UnreadDMs";var We=function(){var e=L.default.getMutablePrivateChannels(),t=(0,f.useStateFromStores)([L.default],(function(){return L.default.getPrivateChannelsVersion()})),n=(0,f.useStateFromStoresArray)([H.default],(function(){return H.default.getUnreadPrivateChannelIds()})),r=(0,f.useStateFromStoresObject)([x.default],(function(){return{selectedVoiceGuildId:x.default.getGuildId(),selectedVoiceChannelId:x.default.getChannelId()}})),a=r.selectedVoiceGuildId,o=r.selectedVoiceChannelId,i=(0,f.useStateFromStores)([Y.default],(function(){return Y.default.getChannelId(pe.ME)}));return Ce(Ve,{channels:e,unreadPrivateChannelIds:n,privateChannelsVersion:t,selectedVoiceGuildId:a,selectedVoiceChannelId:o,selectedPrivateChannelId:i})};We.displayName="ConnectedUnreadDMs";var Ye,ze=a.forwardRef((function(e,t){var n,r=e.guildIds,o=e.folderId,i=ge(e,["guildIds","folderId"]),l=(0,A.default)((function(e){return e.guildId})),u=(0,f.useStateFromStores)([x.default],(function(){return x.default.getGuildId()})),s=null!=u&&r.includes(u),d=!1,c=!1,p=!1,v=(0,f.useStateFromStores)([x.default],(function(){return x.default.getChannelId()})),y=(0,f.useStateFromStores)([L.default],(function(){return L.default.getChannel(v)}),[v]),m=(0,f.useStateFromStores)([Z.default],(function(){return null!=v&&Z.default.hasVideo(v)}),[v]),_=(0,f.useStateFromStores)([P.default,R.default],(function(){return P.default.getActiveStreamForUser(R.default.getId())}));s&&(d=!m,c=m,p=null!=_&&null!=_.guildId&&r.includes(_.guildId),n=null==y?void 0:y.type);var h=function(e){for(var t,n=2*pe.MAX_GUILD_FOLDER_NAME_LENGTH,r=[],a=Se(e);!(t=a()).done;){var o=t.value;(o.length<n||0===r.length)&&(r.push(o),n-=o.length)}return r.join(", ")+(r.length<e.length?", ...":"")}(r.map((function(e){var t=F.default.getGuild(e);return null!=t?t.name:null})).filter(re.isNotNullish)),E=(0,f.useStateFromStoresObject)([G.default],(function(){return{badge:r.map((function(e){return G.default.getMentionCount(e)})).reduce((function(e,t){return e+t}),0),unread:r.some((function(e){return G.default.hasUnread(e)}))}})),g=E.badge,S=E.unread;return a.createElement(de.default,be({ref:t},i,{guildIds:r,folderId:o,expanded:(0,f.useStateFromStores)([k.default],(function(){return k.default.isFolderExpanded(o)})),selected:null!=l&&r.includes(l),badge:g,unread:S,audio:d,video:c,screenshare:p,currentActiveVoiceType:n,defaultFolderName:h}))})),Ke=(Ye=ze,(0,l.DragSource)(pe.GuildsBarDragTypes.FOLDER,{beginDrag:function(e){return{folderIndex:e.index}},endDrag:function(e){e.onDragEnd(),_.default.updateRemoteSettings({guildFolders:z.default.guildFolders})}},(function(e,t){return{connectDragSource:e.dragSource(),dragging:t.isDragging()}}),{arePropsEqual:c.default})(Ye)),$e=f.default.connectStores([U.default,F.default],(function(){return{unavailableGuilds:U.default.unavailableGuilds.filter((function(e){return null==F.default.getGuild(e)})).length}}))(le.UnavailableGuildsButton),Ze=Ce(fe.GuestHomeButton,{}),qe=Ce(We,{}),Xe=Ce(ce.default,{}),Je=Ce(le.GuildCapUpsell,{}),Qe=Ce(le.Separator,{}),et=Ce($e,{}),tt=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={isScrolling:!1,isSorting:!1,draggingGuildId:null},t.initialized=!1,t.scroller=null,t.guildRefs={},t.folderRefs={},t.guildDiscoveryRef=a.createRef(),t.unreadTopRef=a.createRef(),t.unreadBottomRef=a.createRef(),t.timeout=new p.Timeout,t.handleJumpToGuild=function(e){t.scrollToGuild(e,!0)},t.handleScrollComplete=function(){return t.setState({isScrolling:!1})},t.handleScroll=function(){t.state.isScrolling||t.setState({isScrolling:!0}),t.timeout.start(200,t.handleScrollComplete),t._handleScroll()},t._handleScroll=i.default.debounce((function(){if(null!=t.scroller){var e=t.scroller.getScrollerState().scrollTop;m.default.updateGuildListScrollTo(e),null!=t.unreadTopRef.current&&t.unreadTopRef.current.calculateState(),null!=t.unreadBottomRef.current&&t.unreadBottomRef.current.calculateState()}}),200),t.handleStartSorting=function(e){t.setState({isSorting:!0,draggingGuildId:e})},t.handleStopSorting=function(){t.setState({isSorting:!1,draggingGuildId:null})},t.isItemVisible=function(e,n,r){var a=Ee(t).scroller,o=r.findIndex((function(t){return"string"==typeof t||null==t?t===e:t.includes(e)}));if(o<0||null==a)return!1;var i=56*o+Ne;n||(i+=40);var l=a.getScrollerState();return!!(!n&&i>=l.scrollTop||n&&i+56<=l.scrollTop+l.offsetHeight)},t.setGuildRef=function(e,n){t.guildRefs[e]=n},t.setFolderRef=function(e,n){t.folderRefs[e]=n},t.setScrollerRef=function(e){t.scroller=e},t}Ie(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e,t){return!!e.isVisible&&(!(0,c.default)(e,this.props)||!(0,c.default)(t,this.state))},n.componentDidMount=function(){var e=this.props.guildFolders,t=this.initialized,n=this.scroller,r=D.default.getGuildListDimensions().scrollTop;!t&&e.length&&null!=n&&(Ae()?this.scrollToGuild(null,!1):n.scrollTo({to:r,animate:!1}),this.initialized=!0)},n.componentDidUpdate=function(){var e,t=this,n=this.props.guildFolders,r=this.initialized,a=A.default.getState().guildId;!r&&n.length&&(this.scrollToGuild(a,!1),this.initialized=!0,this._unlisten=A.default.subscribe((e=null,function(n){var r=n.guildId;r!==e&&(e=r,t.scrollToGuild(e,!1))})))},n.componentWillUnmount=function(){var e;null===(e=this._unlisten)||void 0===e||e.call(this),this.timeout.stop()},n.scrollToGuild=function(e,t){var n=this.scroller,r=this.props.guildFolders;if(null!=n){var a,o=null==e&&Ae()||e===pe.ViewHistoryKeys.SERVER_DISCOVERY_BADGE||e===pe.ViewHistoryKeys.E3_SERVER_DISCOVERY_BADGE?this.guildDiscoveryRef.current:this.guildRefs[e],i=(0,u.findDOMNode)(o);if(null!=e){var l=r.find((function(t){return t.guildIds.includes(e)}));null!=l&&null!=l.folderId&&(a=this.folderRefs[l.folderId])}null!=o&&null!=i&&i instanceof HTMLElement?n.scrollIntoViewNode({node:i,animate:t,padding:8}):null!=a&&a instanceof HTMLElement?n.scrollIntoViewNode({node:a,animate:t,padding:8}):n.scrollTo({to:0,animate:t})}},n.render=function(){var e=this,t=this.props,n=t.guildFolders,r=t.disableAppDownload,i=t.isOverlay,l=t.isGuest,u=t.className,f=t.lurkingGuildIds,c=t.isStaff,p=t.themeOverride,v=t.isAppFullscreen,y=this.state,m=y.isSorting,_=y.draggingGuildId,h=y.isScrolling,E=n.map((function(t,n){var r=t.folderId,a=t.guildIds,o=t.muteConfig,i=t.folderName,l=t.folderColor;return null!=r?Ce(Ke,{folderId:r,folderName:i,folderColor:l,muteConfig:o,setGuildRef:e.setGuildRef,setFolderRef:e.setFolderRef,guildIds:a,draggable:!0,index:n,sorting:m,draggingGuildId:_,onDragStart:e.handleStartSorting,onDragEnd:e.handleStopSorting},r):Ce(se.default,{setRef:e.setGuildRef,guildId:a[0],draggable:!0,folderIndex:n,sorting:m,draggingGuildId:_,onDragStart:e.handleStartSorting,onDragEnd:e.handleStopSorting},a[0])})),g=Ce(Be,{lurkingGuildIds:f});return Ce(d.ListNavigatorContainer,{},void 0,(function(t){var d,y=t.ref,m=ge(t,["ref"]);return Ce("nav",{className:(0,o.default)(ye.default.wrapper,u,(0,ie.getThemeClass)(p),(d={},d[ye.default.hidden]=v,d)),"aria-label":ve.default.Messages.GUILDS_BAR_A11Y_LABEL},void 0,Ce(T.FocusJumpSection,{},void 0,(function(t){var u;return a.createElement("ul",be({ref:y},m,t,{role:"tree",className:ye.default.tree}),a.createElement(ke,{ref:e.unreadTopRef,isVisible:e.isItemVisible,onJumpTo:e.handleJumpToGuild,className:ye.default.unreadMentionsIndicatorTop,barClassName:ye.default.unreadMentionsBar}),a.createElement(te.AdvancedScrollerNone,{className:(0,o.default)((u={},u[ye.default.scroller]=!0,u[ye.default.scrolling]=h,u)),ref:e.setScrollerRef,onScroll:e.handleScroll},Ce(s.Route,{path:"*",render:function(){return l?Ze:Ce(Ue,{showDMsOnly:i,isOnOtherSidebarRoute:Ae()||window.location.pathname.startsWith(pe.Routes.GUILD_MEMBER_VERIFICATION(""))||Pe()})}}),Ce(s.Route,{path:"*",render:function(){return Ce(b.HubVerification,{isOnHubVerificationRoute:Pe()})}}),qe,g,c?Xe:null,Je,Qe,Ce("div",{"aria-label":ve.default.Messages.SERVERS},void 0,E),l||i?null:Ce(Fe,{disableTooltip:f.length>0,onContextMenu:e.handleContextMenu,onClick:we,folderIndex:n.length}),i?null:Ce(s.Route,{path:"*",render:function(){return a.createElement(le.GuildDiscovery,{ref:e.guildDiscoveryRef,selected:Ae()})}}),et,Ce(Ge,{disable:l||r,onClick:De})),a.createElement(ke,{reverse:!0,ref:e.unreadBottomRef,isVisible:e.isItemVisible,onJumpTo:e.handleJumpToGuild,className:ye.default.unreadMentionsIndicatorBottom,barClassName:ye.default.unreadMentionsBar}))})))}))},n.handleContextMenu=function(e){(0,y.openContextMenu)(e,(function(e){return a.createElement(C.default,e)}))},t}(a.Component);function nt(e){var t=a.useCallback((function(){return Promise.resolve()}),[]),n=a.useCallback((function(){return Promise.resolve()}),[]),r=(0,d.default)({id:"guildsnav",isEnabled:!0,scrollToStart:t,scrollToEnd:n});return Ce(d.ListNavigatorProvider,{navigator:r},void 0,a.createElement(tt,e))}tt.displayName="Guilds",tt.defaultProps={isOverlay:!1,disableAppDownload:oe.default.embedded,isVisible:!0,isAppFullscreen:!1},nt.displayName="NavigableGuilds";var rt=a.memo(nt);t.default=rt},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;c(n(0));var r,a=n(389),o=d(n(8548)),i=n(8588),l=c(n(8253)),u=d(n(11)),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.onSelect;return u.default.isGuest()?null:p(l.default,{navId:"guild-context","aria-label":s.default.Messages.GUILD_ACTIONS_MENU_LABEL,onClose:a.closeContextMenu,onSelect:t},void 0,p(l.MenuItem,{id:"join",label:s.default.Messages.JOIN_SERVER_BUTTON_CTA,action:function(){return o.default.openCreateGuildModal({initialSlide:i.CreateGuildSlideTypes.JOIN_GUILD,location:"Guild List - ContextMenu"})}}),p(l.MenuItem,{id:"create",label:s.default.Messages.CREATE_SERVER_BUTTON_CTA,action:function(){return o.default.openCreateGuildModal({location:"Guild List - ContextMenu"})}}))}v.displayName="GuildIconNewContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HubVerification=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(54),o=n(3),i=n(8358),l=n(8540),u=f(n(162)),s=f(n(1174)),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=p(i.HubDefault,{}),y=function(e){var t=e.isOnHubVerificationRoute,n=(0,a.matchPath)(window.location.pathname||"",{path:d.Routes.GUILD_MEMBER_VERIFICATION_FOR_HUB(":guildId",":inviteCode")}),r=(0,o.useStateFromStores)([s.default],(function(){if(null==n)return null;var e=n.params.inviteCode;return null!=e?s.default.getInvite(e):null})),i=null!=(null==r?void 0:r.guild)?new u.default(null==r?void 0:r.guild):null;return t?null!=i&&null!=r?p(l.HubGuild,{guild:i,invite:r}):v:null};t.HubVerification=y,y.displayName="HubVerification"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?32:t,r=e.height,a=void 0===r?32:r,l=e.color,d=void 0===l?"currentColor":l,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color"]);return o.createElement("svg",u({},(0,i.default)(f),{width:n,height:a,viewBox:"0 0 12 12",fill:"none"}),s("path",{d:"M7.25 1H4.75V7.25H7.25V1Z",fill:d}),s("path",{d:"M4.75 9.75C4.75 10.4167 5.33333 11 6 11C6.66667 11 7.25 10.4167 7.25 9.75C7.25 9.08333 6.66667 8.5 6 8.5C5.33333 8.5 4.75 9.08333 4.75 9.75Z",fill:d}))}d.displayName="Alert"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=O;var r,a=E(n(0)),o=n(389),i=_(n(8258)),l=_(n(8294)),u=E(n(8253)),s=n(8256),d=n(42),f=_(n(107)),c=_(n(466)),p=n(41),v=_(n(24)),y=n(1),m=_(n(6));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function g(){return(g=Object.assign||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}).apply(this,arguments)}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e){var t=e.guild,n=e.onSelect,r=t.id,_=(0,i.default)(t.id),h=function(){l.default.removeGuildJoinRequest(r),f.default.getGuildId()===r&&(0,d.transitionTo)(y.Routes.ME)};return S(u.default,{navId:"join-request-guild-context",onClose:o.closeContextMenu,"aria-label":m.default.Messages.GUILD_ACTIONS_MENU_LABEL,onSelect:n},void 0,S(u.MenuItem,{id:"leave-guild",label:m.default.Messages.LEAVE_SERVER,action:function(){(0,p.openModal)((function(e){return a.createElement(c.default,g({header:m.default.Messages.LEAVE_SERVER_TITLE.format({name:t.name}),confirmText:m.default.Messages.LEAVE_SERVER,cancelText:m.default.Messages.CANCEL,onConfirm:h},e),S(v.default,{size:v.default.Sizes.SIZE_16},void 0,m.default.Messages.LEAVE_SERVER_BODY.format({name:t.name})))}))},color:s.MenuItemColor.DANGER}),S(u.MenuGroup,{},void 0,_))}O.displayName="JoinRequestGuildContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.guild,n=e.show,r=e.active,f=e.onAnimationStart,c=e.onAnimationRest,v={},y={};v.transform="translate3d(10px, 10px, 0) scale3d(3, 3, 1)",y.transform="translate3d(0, 0, 0) scale3d(1, 1, 1)",r&&null==t.icon&&(v.backgroundColor=s.Colors.BRAND,y.backgroundColor=s.Colors.PRIMARY_DARK_630);var m=(0,i.useTransition)(n,{from:v,enter:y,leave:v,config:{duration:100},onStart:f,onRest:c});return a.createElement(a.Fragment,null,m((function(e,n,r){return n&&p("div",{className:(0,o.default)(d.default.folder,d.default.hover)},r.key,p("div",{className:d.default.folderIconWrapper},void 0,p("div",{className:d.default.closedFolderIconWrapper},void 0,p(i.animated.div,{className:d.default.folderIconPreview,style:e},void 0,p(l.default,{guild:t,size:l.default.Sizes.SMOL,className:d.default.guildIcon})),p(u.DragPlaceholder,{className:d.default.miniPlaceholder}))))})))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=n(122),l=f(n(371)),u=n(8358),s=n(1),d=f(n(7388));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(3)),a=f(n(2)),o=n(31),i=n(393),l=f(n(10)),u=f(n(200)),s=f(n(36)),d=f(n(699));n(1);function f(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var y=[];function m(){var e=d.default.getPrivateChannelIds().filter((function(e){return u.default.getMentionCount(e)>0}));return e.length>20&&(e.length=20),!(0,i.areArraysShallowlyEqual)(e,y)&&(y=e,!0)}function _(){return m()}function h(e){var t=e.channelId,n=l.default.getChannel(t);return!(null==n||!(0,o.isPrivate)(n.type))&&m()}var E=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(d.default,l.default,s.default,u.default)},a.getUnreadPrivateChannelIds=function(){return y},r}(r.default.Store))(a.default,{CONNECTION_OPEN:function(e){return _()},OVERLAY_INITIALIZE:function(e){return _()},MESSAGE_CREATE:h,MESSAGE_ACK:h,CHANNEL_SELECT:function(e){var t=e.channelId,n=l.default.getChannel(t);return!(null==n||!(0,o.isPrivate)(n.type))&&m()},CHANNEL_DELETE:function(e){var t=e.channel.id,n=l.default.getChannel(t);return!(null==n||!(0,o.isPrivate)(n.type))&&m()},WINDOW_FOCUS:function(e){return!(null==(t=l.default.getChannel(s.default.getChannelId()))||!(0,o.isPrivate)(t.type))&&m();var t},CHANNEL_CREATE:function(e){var t=e.channel.id,n=l.default.getChannel(t);return!(null==n||!(0,o.isPrivate)(n.type))&&m()},CHANNEL_UPDATES:function(e){for(var t,n=!1,r=p(e.updates);!(t=r()).done;){var a=t.value.channel.id,i=l.default.getChannel(a);null!=i&&(0,o.isPrivate)(i.type)&&(n=!0)}return!!n&&m()}});t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(122),i=n(680),l=n(389),u=n(5937),s=g(n(8703)),d=g(n(8476)),f=g(n(12)),c=g(n(161)),p=g(n(8464)),v=n(8263),y=g(n(8465)),m=g(n(8702)),_=n(8358),h=n(1),E=g(n(7804));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(){return(T=Object.assign||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}).apply(this,arguments)}var C={friction:28,tension:600};function b(e){switch(e){case"height":case"opacity":return T({duration:150},C);case"scale":return T({},C);default:throw new Error("DirectMessage: getSpringConfigs() - Invalid spring "+String(e))}}var M=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={hovered:!1,animating:!0,controller:new o.Controller({scale:0,height:0,opacity:0,config:b})},t.handleContextMenu=function(e){var n=t.props.channel,r=n.type===h.ChannelTypes.DM?f.default.getUser(n.getRecipientId()):null;(0,l.openContextMenu)(e,(function(e){return null!=r?a.createElement(d.default,T({},e,{channel:n,user:r})):a.createElement(s.default,T({},e,{channel:n,selected:!1}))}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,I(t,n);var g=r.prototype;return g.componentWillEnter=function(e){var t=this,n=this.state.controller;e(),n.update({immediate:!c.default.isFocused(),height:1,opacity:1,scale:1,config:b}).start().then((function(){return t.setState({animating:!1})}))},g.componentWillAppear=function(e){this.state.controller.update({immediate:!0,scale:1,opacity:1,height:1,config:b}).start().then(e)},g.componentWillLeave=function(e){var t=this.state.controller;this.setState({animating:!0},(function(){return t.update({immediate:!c.default.isFocused(),height:0,opacity:0,scale:0,config:b}).start().then(e)}))},g.componentWillUnmount=function(){this.state.controller.dispose()},g.getAnimatedStyle=function(){var e=this.state.controller.springs,t=e.opacity,n=e.height,r=e.scale;return{opacity:t,height:n.to([0,1],[0,56]),transform:r.to([0,1],[.5,1]).to((function(e){return"scale("+e+")"}))}},g.getChannelIcon=function(){var e=this.props.channel,t=e.type===h.ChannelTypes.DM?f.default.getUser(e.getRecipientId()):null;return null!=t?t.getAvatarURL(void 0,!1):(0,u.getChannelIconURL)(e)},g.render=function(){var e=this,t=this.props,n=t.channel,r=t.channelName,l=t.selected,u=t.badge,s=t.audio,d=t.video,f=t.stream,c=t.isCurrentUserInThisDMCall,g=t.unread,S=this.state,I=S.hovered,C=S.animating;return O(o.animated.div,{style:this.getAnimatedStyle()},void 0,(0,_.renderListItem)(O(a.Fragment,{},void 0,O(p.default,{hovered:!C&&I,selected:!C&&l,unread:!C&&g,className:E.default.pill}),O(_.ListItemTooltip,{text:null!=r?r:""},void 0,O(y.default,{selected:l||I,lowerBadge:u>0?(0,_.renderMentionBadge)(u):null,upperBadge:(0,_.renderIconBadge)({audio:s,video:d,screenshare:f,participating:c}),lowerBadgeWidth:(0,v.getBadgeWidthForValue)(u)},void 0,O(i.ListNavigatorItem,{id:n.id},void 0,(function(t){return a.createElement(m.default,T({to:h.Routes.CHANNEL(h.ME,n.id),onMouseEnter:function(){return e.setState({hovered:!0})},onMouseLeave:function(){return e.setState({hovered:!1})},icon:e.getChannelIcon(),selected:l||I,ariaLabel:null!=r?r:"",onContextMenu:e.handleContextMenu},t))})))))))},r}(a.PureComponent);M.displayName="DirectMessage",M.defaultProps={badge:0,audio:!1,video:!1,isCurrentUserInThisDMCall:!1};var N=M;t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=j(n(0)),o=D(n(9)),i=D(n(8)),l=D(n(3)),u=D(n(14)),s=D(n(1211)),d=D(n(8416)),f=D(n(8300)),c=j(n(8332)),p=n(106),v=D(n(8569)),y=D(n(89)),m=D(n(10)),_=D(n(160)),h=D(n(39)),E=D(n(29)),g=D(n(8685)),S=j(n(8302)),O=D(n(55)),I=D(n(151)),T=n(131),C=n(35),b=D(n(24)),M=D(n(13)),N=n(1),A=D(n(6)),P=D(n(7803)),R=D(n(7347)),L=D(n(370));function D(e){return e&&e.__esModule?e:{default:e}}function w(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return w=function(){return e},e}function j(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=w();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function k(){return(k=Object.assign||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}).apply(this,arguments)}function U(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function G(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,F(e,t)}function F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var B=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleRevokeInvite=function(){var e=t.props,n=e.onRevoke,r=e.invite;null!=n&&n(r)},t}return G(t,e),t.prototype.render=function(){var e=this.props,t=e.invite,n=e.hideDiscriminator,r=e.hideInviteCode,a=new y.default(t.inviter);return U(O.default,{className:(0,o.default)(P.default.row,R.default.card)},void 0,U(O.default,{align:O.default.Align.CENTER,className:P.default.userColumn},void 0,U(c.default,{user:a,size:c.Sizes.SIZE_24,className:P.default.avatar}),U(f.default,{user:a,hideDiscriminator:n,usernameClass:P.default.username,discriminatorClass:P.default.discrimClass})),U(O.default,{align:O.default.Align.CENTER,grow:0,shrink:0,basis:100,className:P.default.boostZIndex},void 0,U(b.default,{className:P.default.code},void 0,r?"...":t.code)),U(O.default,{basis:100,grow:0,shrink:0,align:O.default.Align.CENTER,justify:O.default.Justify.END,className:P.default.boostZIndex},void 0,U(b.default,{className:P.default.countdown},void 0,U(g.default,{deadline:t.getExpiresAt(),showDays:!1})),U(d.default,{className:P.default.revokeInvite,onClick:this.handleRevokeInvite})))},t}(a.PureComponent);B.displayName="InviteRow";var H=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={loading:!0,invites:null},t.handleRevoke=function(e){s.default.revokeInvite(e),t.setState({invites:t.state.invites.filter((function(t){return t!==e}))})},t.handleClose=function(){var e=t.props.onClose;e&&e()},t}G(t,e);var r=t.prototype;return r.componentDidMount=function(){var e=this,t=this.props.channelId;u.default.get({url:N.Endpoints.INSTANT_INVITES(t),retries:3,oldFormErrors:!0}).then((function(t){var n=t.body.map((function(e){return new v.default(k({},e,{maxUses:e.max_uses,maxAge:e.max_age,createdAt:e.created_at}))}));e.setState({loading:!1,invites:n})})),M.default.track(N.AnalyticEvents.OPEN_MODAL,k({},(0,p.collectChannelAnalyticsMetadata)(m.default.getChannel(t)),{type:"Group DM Invites",source:"Group DM Menu"}))},r.renderContent=function(){var e=this.state,t=e.loading,n=e.invites;return t||null==n?U(I.default,{className:L.default.marginTop20,type:I.default.Type.SPINNING_CIRCLE}):i.default.isEmpty(n)?this.renderEmpty():U("div",{className:P.default.container},void 0,this.renderHeader(),this.renderInvites())},r.renderEmpty=function(){return U(S.default,{theme:this.props.theme},void 0,U(S.EmptyStateImage,{darkSrc:n(8997),lightSrc:n(8998),width:256,height:130,style:{marginBottom:0}}),U(S.EmptyStateText,{className:L.default.marginTop20},void 0,A.default.Messages.NO_INVITES_CAPTION))},r.renderHeader=function(){return U(O.default,{},void 0,U(O.default.Child,{wrap:!0},void 0,U(T.FormTitle,{},void 0,A.default.Messages.INSTANT_INVITE_INVITER)),U(O.default.Child,{wrap:!0,grow:0,shrink:0,basis:100},void 0,U(T.FormTitle,{},void 0,A.default.Messages.INSTANT_INVITE_INVITE_CODE)),U(O.default.Child,{wrap:!0,grow:0,shrink:0,basis:100},void 0,U(T.FormTitle,{className:P.default.alignRight},void 0,A.default.Messages.INSTANT_INVITE_EXPIRES)))},r.renderInvites=function(){var e=this,t=this.props,n=t.hideDiscriminators,r=t.hideInviteCodes;return(0,i.default)(this.state.invites).sortBy((function(e){return(e.inviter.username||"").toLocaleLowerCase()})).map((function(t){return U(B,{invite:t,hideDiscriminator:n,hideInviteCode:r,onRevoke:e.handleRevoke},t.code)})).value()},r.render=function(){return U(C.ModalRoot,{transitionState:this.props.transitionState,"aria-label":A.default.Messages.INVITES,size:C.ModalSize.MEDIUM},void 0,U(C.ModalHeader,{direction:O.default.Direction.VERTICAL,align:O.default.Align.START,separator:!1},void 0,U(T.FormTitle,{tag:T.FormTitleTags.H1},void 0,A.default.Messages.INVITES),U(T.FormText,{type:T.FormTextTypes.DESCRIPTION},void 0,A.default.Messages.SETTINGS_INVITE_TIP_WITHOUT_CREATE)),U(C.ModalContent,{},void 0,this.renderContent()),U(C.ModalFooter,{},void 0,U(E.default,{onClick:this.handleClose},void 0,A.default.Messages.DONE)))},t}(a.PureComponent);H.displayName="InviteSettingsModal";var x=l.default.connectStores([_.default,h.default],(function(){return{hideDiscriminators:_.default.hidePersonalInformation,hideInviteCodes:_.default.hideInstantInvites,theme:h.default.theme}}))(H);t.default=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(8327))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(){return(s=Object.assign||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}).apply(this,arguments)}var d=o.forwardRef((function(e,t){var n=o.useRef(null);return o.useImperativeHandle(t,(function(){return{focus:function(){return null},activate:function(){var e;return null===(e=n.current)||void 0===e||e.activateUploadDialogue(),!1}}}),[]),u("div",{style:{position:"relative"}},void 0,o.createElement(i.default,s({ref:n},e)))}));t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(391)),i=n(8253),l=n(8256),u=p(n(466)),s=n(41),d=p(n(24)),f=p(n(180)),c=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(){return(y=Object.assign||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}).apply(this,arguments)}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e,t){var n=(0,f.default)(e),r=a.useCallback((function(){var r=c.default.Messages.LEAVE_GROUP_DM_TITLE.format({name:n}),i=c.default.Messages.LEAVE_GROUP_DM_BODY.format({name:n});e.isManaged()&&(r=c.default.Messages.LEAVE_GROUP_DM_MANAGED_TITLE.format({name:n}),i=c.default.Messages.LEAVE_GROUP_DM_MANAGED_BODY.format({name:n})),(0,s.openModal)((function(n){return a.createElement(u.default,y({header:r,confirmText:c.default.Messages.LEAVE_GROUP_DM,cancelText:c.default.Messages.CANCEL,onConfirm:function(){return o.default.closePrivateChannel(e.id,t)}},n),m(d.default,{size:d.default.Sizes.SIZE_16},void 0,i))}))}),[e,n,t]);return m(i.MenuItem,{id:"leave-channel",label:c.default.Messages.LEAVE_GROUP_DM,action:r,color:l.MenuItemColor.DANGER})}_.displayName="useChannelLeaveItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var r,a=y(n(0)),o=n(389),i=p(n(10041)),l=y(n(8253)),u=p(n(11)),s=p(n(361)),d=n(41),f=p(n(8669)),c=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e){var t=e.folderId,n=e.folderName,r=e.folderColor,p=e.unread,v=e.onSelect;if(u.default.isGuest())return null;return _(l.default,{navId:"guild-context","aria-label":c.default.Messages.GUILD_ACTIONS_MENU_LABEL,onClose:o.closeContextMenu,onSelect:v},void 0,_(l.MenuGroup,{},void 0,_(l.MenuItem,{id:"mark-folder-read",label:c.default.Messages.SERVER_FOLDER_MARK_AS_READ,action:function(){var e=s.default.getGuildFolderById(t);if(null!=e){var n=e.guildIds;(0,f.default)(n)}},disabled:!p})),_(l.MenuGroup,{},void 0,_(l.MenuItem,{id:"folder-settings",label:c.default.Messages.SERVER_FOLDER_SETTINGS,action:function(){return(0,d.openModal)((function(e){return a.createElement(i.default,m({},e,{folderId:t,folderName:n,folderColor:r}))}))}})))}h.displayName="GuildFolderContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(274)),i=n(277),l=n(9037),u=h(n(361)),s=h(n(29)),d=h(n(55)),f=h(n(153)),c=n(131),p=n(35),v=h(n(47)),y=n(1),m=h(n(6)),_=h(n(370));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(){return(S=Object.assign||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}).apply(this,arguments)}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var I=(0,i.makeLazy)({createPromise:function(){return Promise.all([n.e(0),n.e(9),n.e(15)]).then(n.t.bind(null,8421,7))},webpackId:8421}),T=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={name:t.props.folderName||"",color:t.props.folderColor},t.close=function(){t.props.onClose()},t.handleNameChange=function(e){t.setState({name:e})},t.handleColorChange=function(e){t.setState({color:e})},t.handleSubmit=function(e){e.preventDefault();var n=t.props.folderId,r=t.state,a=r.name,i=r.color,l=u.default.guildFolders.map((function(e){return e.folderId===n?S({},e,{folderName:a,folderColor:i}):e}));o.default.updateRemoteSettings({guildFolders:l}),t.close()},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,O(t,n),r.prototype.render=function(){var e=this.props.transitionState,t=this.state,n=t.name,r=t.color,a=(0,l.getDefaultFolderColor)();return g(p.ModalRoot,{transitionState:e,"aria-label":m.default.Messages.SERVER_FOLDER_SETTINGS,size:p.ModalSize.DYNAMIC},void 0,g(p.ModalHeader,{justify:d.default.Justify.BETWEEN,separator:!1},void 0,g(v.default,{tag:v.default.Tags.H2,size:v.default.Sizes.SIZE_20},void 0,m.default.Messages.SERVER_FOLDER_SETTINGS),g(p.ModalCloseButton,{onClick:this.close})),g(p.ModalContent,{},void 0,g("form",{onSubmit:this.handleSubmit},void 0,g(c.FormItem,{title:m.default.Messages.GUILD_FOLDER_NAME,className:_.default.marginBottom20},void 0,g(f.default,{maxLength:y.MAX_GUILD_FOLDER_NAME_LENGTH,value:n,onChange:this.handleNameChange,placeholder:m.default.Messages.SERVER_FOLDER_PLACEHOLDER,autoFocus:!0})),g(c.FormItem,{title:m.default.Messages.GUILD_FOLDER_COLOR,className:_.default.marginBottom20},void 0,g(I,{defaultColor:a,colors:y.ROLE_COLORS,value:null!=r?r:a,onChange:this.handleColorChange})))),g(p.ModalFooter,{},void 0,g(s.default,{type:"submit",onClick:this.handleSubmit},void 0,m.default.Messages.DONE)))},r}(a.PureComponent);T.displayName="GuildFolderSettingsModal";var C=T;t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultHomeButton=t.GuestHomeButton=void 0;var r,a=P(n(0)),o=n(680),i=n(3),l=N(n(28)),u=P(n(8357)),s=N(n(8771)),d=n(9209),f=n(9210),c=N(n(10047)),p=n(395),v=P(n(1220)),y=N(n(702)),m=N(n(9038)),_=N(n(149)),h=N(n(10048)),E=N(n(8464)),g=n(8263),S=N(n(8465)),O=N(n(8702)),I=n(1247),T=n(8358),C=n(1),b=N(n(6)),M=N(n(7807));function N(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function P(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function R(){return(R=Object.assign||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}).apply(this,arguments)}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var D={x:-16,y:0,targetWidth:48,targetHeight:48,offset:{x:0,y:0}};function w(e){e.preventDefault(),(0,f.open)(C.AnalyticsLocations.HOME_BUTTON,d.open)}function j(){return L(s.default,{className:M.default.downloadProgress,determineOwnVisibility:!1})}t.GuestHomeButton=function(){var e=a.useState(!1),t=e[0],n=e[1];return(0,T.renderListItem)(L(a.Fragment,{},void 0,L(E.default,{hovered:t,className:M.default.pill}),L(T.ListItemTooltip,{text:b.default.Messages.HOME},void 0,L(S.default,{selected:t},void 0,L(O.default,{to:"#",selected:t,onClick:w,onMouseEnter:function(){return n(!0)},onMouseLeave:function(){return n(!1)},ariaLabel:b.default.Messages.HOME},void 0,L(h.default,{className:M.default.homeIcon}))))))},j.displayName="renderInstallProgress";var k=function(e){var t=e.selected,n=e.user,r=e.badge,s=e.link,d=e.showDMsOnly,f=e.showProgressBadge,N=a.useState(!1),A=N[0],P=N[1],w=a.useState(!1),k=w[0],U=w[1],G=a.useState(null),F=G[0],B=G[1],H=a.useState(0),x=H[0],V=H[1],W=c.default.getCurrentConfig({}).showStageDiscoveryTooltip,Y=(0,m.default)(),z=(0,i.useStateFromStores)([y.default],(function(){return y.default.hasHotspot(p.HotspotLocations.STAGE_DISCOVERY)})),K=W&&z&&Y;a.useEffect((function(){t&&K&&v.hideHotspot(p.HotspotLocations.STAGE_DISCOVERY)}),[t]);var $=function(){B(null),V(0),clearTimeout(F)},Z=function(){if(!__OVERLAY__&&(null!=F&&clearTimeout(F),B(setTimeout($,500)),V(x+1),15===x)){$();var e=!l.default.get(C.DISCODO_STORAGE_KEY);l.default.set(C.DISCODO_STORAGE_KEY,e),e?(0,I.playSound)("discodo"):(0,I.playSound)("user_leave"),U(!0),setTimeout((function(){U(!1)}),1e3)}};if(null==n)return null;var q=d?b.default.Messages.DIRECT_MESSAGES:b.default.Messages.HOME;return k?q=l.default.get(C.DISCODO_STORAGE_KEY)?b.default.Messages.DISCODO_ENABLED:b.default.Messages.DISCODO_DISABLED:K&&(q=b.default.Messages.STAGE_DISCOVERY_TOOLTIP),L("div",{className:M.default.tutorialContainer},void 0,L(u.default,{inlineSpecs:D,tutorialId:"friends-list",position:u.TutorialIndicatorPositions.RIGHT},void 0,(0,T.renderListItem)(L(a.Fragment,{},void 0,L(E.default,{selected:t,hovered:A,className:M.default.pill}),L(T.ListItemTooltip,{color:K?_.default.Colors.BRAND:_.default.Colors.PRIMARY,shouldShow:K||void 0,forceOpen:K,hideOnClick:!0,text:q},void 0,L(S.default,{selected:t||A,lowerBadge:r>0?(0,T.renderMentionBadge)(r):null,upperBadge:!t&&f?j():null,lowerBadgeWidth:(0,g.getBadgeWidthForValue)(r)},void 0,L(o.ListNavigatorItem,{id:"home"},void 0,(function(e){return a.createElement(O.default,R({onMouseEnter:function(){return P(!0)},onMouseLeave:function(){return P(!1)},onClick:Z,selected:t||A,ariaLabel:d?b.default.Messages.DIRECT_MESSAGES:b.default.Messages.HOME},e,{to:{pathname:s,state:{analyticsSource:{page:C.AnalyticsPages.GUILD_CHANNEL,section:C.AnalyticsSections.NAVIGATION,object:C.AnalyticsObjects.BUTTON_HOME}}}}),L(h.default,{className:M.default.homeIcon}))}))))))))};t.DefaultHomeButton=k,k.displayName="DefaultHomeButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PhoneRegistrationVariant=void 0;var r,a=n(50),o=n(5964);t.PhoneRegistrationVariant=r,function(e){e[e.Control=0]="Control",e[e.CombinedInput=1]="CombinedInput",e[e.SplitTabInputs=2]="SplitTabInputs",e[e.SubtleInputSwitcher=3]="SubtleInputSwitcher"}(r||(t.PhoneRegistrationVariant=r={}));var i=(0,a.createExperiment)({kind:"user",id:"2021-06_desktop_phone_registration",label:"Desktop: Phone Registration",defaultConfig:{variant:r.Control},treatments:[{id:1,label:"Combined Email/Phone Input",config:{variant:r.CombinedInput}},{id:2,label:"Split Tab Inputs: Email Default",config:{variant:r.SplitTabInputs,defaultInputMode:o.PhoneOrEmailSelectorForceMode.EMAIL}},{id:3,label:"Split Tab Inputs: Phone Default",config:{variant:r.SplitTabInputs,defaultInputMode:o.PhoneOrEmailSelectorForceMode.PHONE}},{id:4,label:"Subtle Link to Switch Inputs",config:{variant:r.SubtleInputSwitcher,defaultInputMode:o.PhoneOrEmailSelectorForceMode.PHONE}}]});t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;p(n(0));var r,a=n(42),o=f(n(29)),i=p(n(475)),l=f(n(93)),u=n(1),s=f(n(6)),d=f(n(7805));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=function(){return(0,a.transitionTo)(u.Routes.LOGIN)},m=function(e){var t=e.authBoxClassName,r=e.underageMessage,a=e.fromRegister;return v(i.default,{className:t},void 0,v("img",{alt:"",src:n(9085),className:d.default.img}),v(i.Title,{className:d.default.title},void 0,s.default.Messages.AGE_GATE_UNDERAGE_HEADER),v(i.SubTitle,{className:d.default.subtitle},void 0,a?s.default.Messages.AGE_GATE_UNDERAGE_BODY_POST_REGISTER_MESSAGE:s.default.Messages.AGE_GATE_UNDERAGE_BODY.format({underageMessage:r||s.default.Messages.AGE_GATE_UNDERAGE_BODY_DEFAULT_MESSAGE,helpURL:l.default.getArticleURL(u.HelpdeskArticles.AGE_GATE)})),v(o.default,{fullWidth:!0,onClick:y},void 0,s.default.Messages.AGE_GATE_UNDERAGE_BACK_TO_LOGIN))};m.displayName="AgeGateUnderage";var _=m;t.default=_},function(e,t,n){"use strict";var r,a;Object.defineProperty(t,"__esModule",{value:!0}),t.RegistrationSteps=t.RegistrationTransitionActionTypes=void 0,t.RegistrationTransitionActionTypes=r,function(e){e.VIEWED="viewed",e.SUBMITTED="submitted",e.RESEND_CODE="resend_code",e.RESEND_CODE_CALL="resend_code_call",e.INPUT_ERROR="input_error",e.RESPONSE_ERROR="response_error",e.SUCCESS="success"}(r||(t.RegistrationTransitionActionTypes=r={})),t.RegistrationSteps=a,function(e){e.IDENTITY="identity",e.ACCOUNT_INFORMATION="account_information",e.FULL="full",e.AGE_GATE="age_gate",e.CAPTCHA="captcha",e.INVITE="invite",e.SMS_VERIFY="sms_verify"}(a||(t.RegistrationSteps=a={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerPhone=function(e){return m.apply(this,arguments)},t.registerDeferred=function(e){a.default.dispatch({type:d.ActionTypes.REGISTER_SAVE_FORM,form:e})},t.default=function(e){var t=e.invite,n=void 0===t?null:t,r=e.giftCodeSKUId,a=void 0===r?null:r,o=e.captchaKey,i=void 0===o?null:o;return _(p({},function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["invite","giftCodeSKUId","captchaKey"]),{invite:n,giftCodeSKUId:a,captchaKey:i}))},t.registerFull=_;var r=n(95),a=c(n(2)),o=c(n(195)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(1314)),l=c(n(11)),u=c(n(482)),s=c(n(1369)),d=n(1);function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){return e&&e.__esModule?e:{default:e}}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function y(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){v(o,r,a,i,l,"next",e)}function l(e){v(o,r,a,i,l,"throw",e)}i(void 0)}))}}function m(){return(m=y(regeneratorRuntime.mark((function e(t){var n,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.phone,e.prev=1,e.next=4,u.default.post({url:d.Endpoints.REGISTER_PHONE,body:{phone:n},oldFormErrors:!0,trackedActionData:{event:r.NetworkActionNames.USER_REGISTER_PHONE}});case 4:return e.abrupt("return",e.sent);case 7:throw e.prev=7,e.t0=e.catch(1),i=new o.default(e.t0),a.default.dispatch({type:d.ActionTypes.REGISTER_FAILURE,error:i}),e.t0;case 12:case"end":return e.stop()}}),e,null,[[1,7]])})))).apply(this,arguments)}function _(e){var t=e.email,n=e.phoneToken,f=e.username,c=e.consent,p=e.password,v=e.guildTemplateCode,y=e.birthday,m=e.invite,_=void 0===m?null:m,h=e.giftCodeSKUId,E=void 0===h?null:h,g=e.captchaKey,S=void 0===g?null:g,O=e.multiStep,I=void 0!==O&&O;return a.default.dispatch({type:d.ActionTypes.REGISTER,birthday:I?y:null}),null!=y&&(0,s.default)(y,d.AnalyticsSections.REGISTER),u.default.post({url:d.Endpoints.REGISTER,body:{fingerprint:l.default.getFingerprint(),email:t,username:f,password:p,invite:_,consent:c,phone_token:n,date_of_birth:null==y?void 0:y.format("YYYY-MM-DD"),gift_code_sku_id:E,guild_template_code:v,captcha_key:S},oldFormErrors:!0,trackedActionData:{event:r.NetworkActionNames.USER_REGISTER,metadata:{invite_code:_}}}).then((function(e){a.default.dispatch({type:d.ActionTypes.REGISTER_SUCCESS,token:e.body.token})}),(function(e){var t=new o.default(e);throw a.default.dispatch({type:d.ActionTypes.REGISTER_FAILURE,error:t}),t.fields.hasOwnProperty("date_of_birth")&&i.preventUnderageRegistration(),e}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-05_stage_discovery_tooltip",label:"Stage Discovery Tooltip",defaultConfig:{showStageDiscoveryTooltip:!1},treatments:[{id:1,label:"Shows the Stage Discovery tooltip for users",config:{showStageDiscoveryTooltip:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?28:t,r=e.height,a=void 0===r?20:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 28 20"}),s("path",{className:f,fill:d,d:"M23.0212 1.67671C21.3107 0.879656 19.5079 0.318797 17.6584 0C17.4062 0.461742 17.1749 0.934541 16.9708 1.4184C15.003 1.12145 12.9974 1.12145 11.0283 1.4184C10.819 0.934541 10.589 0.461744 10.3368 0.00546311C8.48074 0.324393 6.67795 0.885118 4.96746 1.68231C1.56727 6.77853 0.649666 11.7538 1.11108 16.652C3.10102 18.1418 5.3262 19.2743 7.69177 20C8.22338 19.2743 8.69519 18.4993 9.09812 17.691C8.32996 17.3997 7.58522 17.0424 6.87684 16.6135C7.06531 16.4762 7.24726 16.3387 7.42403 16.1847C11.5911 18.1749 16.408 18.1749 20.5763 16.1847C20.7531 16.3332 20.9351 16.4762 21.1171 16.6135C20.41 17.0369 19.6639 17.3997 18.897 17.691C19.3052 18.4993 19.7718 19.2689 20.3021 19.9945C22.6677 19.2689 24.8929 18.1364 26.8828 16.6466H26.8893C27.43 10.9731 25.9665 6.04728 23.0212 1.67671ZM9.68041 13.6383C8.39754 13.6383 7.34085 12.4453 7.34085 10.994C7.34085 9.54272 8.37155 8.34973 9.68041 8.34973C10.9893 8.34973 12.0395 9.54272 12.0187 10.994C12.0187 12.4453 10.9828 13.6383 9.68041 13.6383ZM18.3161 13.6383C17.0332 13.6383 15.9765 12.4453 15.9765 10.994C15.9765 9.54272 17.0124 8.34973 18.3161 8.34973C19.6184 8.34973 20.6751 9.54272 20.6543 10.994C20.6543 12.4453 19.6184 13.6383 18.3161 13.6383Z"}))}d.displayName="Discord"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=m(n(8294)),l=m(n(1233)),u=m(n(107)),s=m(n(10050)),d=m(n(10051)),f=n(8540),c=m(n(9036)),p=n(1),v=m(n(6)),y=m(n(7808));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var E=function(){var e=a.useState(!1),t=e[0],n=e[1],r=(0,o.useStateFromStores)([u.default],(function(){return u.default.getGuildId()})),m=(0,o.useStateFromStores)([l.default],(function(){return l.default.hasFetchedRequestToJoinGuilds})),_=(0,d.default)();if(a.useEffect((function(){t&&!m&&i.default.fetchRequestToJoinGuilds()}),[t,m]),0===_.length)return null;var E=null!=r&&_.includes(r);return h(c.default,{guildIds:null!=_?_:[],folderId:-1,index:-1,folderName:v.default.Messages.MEMBER_VERIFICATION_FOLDER_NAME,expanded:t,useCircleMask:!t&&!E,selected:E,draggable:!1,sorting:!1,dragging:!1,onClickOverride:function(){return n(!t)},onContextClickOverride:p.NOOP,folderIconOverride:h(s.default,{width:24,height:24,className:y.default.pendingIcon}),guildNodeOverride:f.JoinRequestGuild})};E.displayName="PendingGuildJoinRequestsFolder";var g=E;t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,d:"M7 1C6.73479 1.00003 6.48045 1.10539 6.29292 1.29292C6.10539 1.48045 6.00003 1.73479 6 2V6C6.00009 6.23417 6.08234 6.46088 6.23242 6.64062L10.6992 12L6.23242 17.3594C6.08234 17.5391 6.00009 17.7658 6 18V22C6.00003 22.2652 6.10539 22.5195 6.29292 22.7071C6.48045 22.8946 6.73479 23 7 23H17C17.2652 23 17.5195 22.8946 17.7071 22.7071C17.8946 22.5195 18 22.2652 18 22V18C17.9999 17.7658 17.9177 17.5391 17.7676 17.3594L13.3008 12L17.7676 6.64062C17.9177 6.46088 17.9999 6.23417 18 6V2C18 1.73479 17.8946 1.48045 17.7071 1.29292C17.5195 1.10539 17.2652 1.00003 17 1H7ZM12 13.5625L16 18.3613V21H8V18.3613L12 13.5625Z"}))}d.displayName="Pending"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.useStateFromStoresArray)([a.default,o.default],(function(){var e=a.default.computeGuildIds(),t=o.default.getGuilds();return e.filter((function(e){return null==t[e]}))}))};var r=n(3),a=i(n(1233)),o=i(n(15));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setHomeLink=function(e){a.default.dirtyDispatch({type:o.ActionTypes.APP_VIEW_SET_HOME_LINK,link:e})};var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);var i={search:function(e,t){a.default.dispatch({type:o.ActionTypes.PRIVATE_CHANNEL_RECIPIENTS_INVITE_QUERY,query:e,channelId:t})},clear:function(e){a.default.dispatch({type:o.ActionTypes.PRIVATE_CHANNEL_RECIPIENTS_INVITE_QUERY,query:"",channelId:e})},select:function(e){a.default.dispatch({type:o.ActionTypes.PRIVATE_CHANNEL_RECIPIENTS_INVITE_SELECT,row:e})},addUser:function(e){a.default.dispatch({type:o.ActionTypes.PRIVATE_CHANNEL_RECIPIENTS_ADD_USER,userId:e})},removeUser:function(e){a.default.dispatch({type:o.ActionTypes.PRIVATE_CHANNEL_RECIPIENTS_REMOVE_USER,userId:e})},open:function(e){a.default.dispatch({type:o.ActionTypes.PRIVATE_CHANNEL_RECIPIENTS_INVITE_OPEN,channelId:e})},close:function(){a.default.dispatch({type:o.ActionTypes.PRIVATE_CHANNEL_RECIPIENTS_INVITE_CLOSE})}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-04_longer_group_dm_invites",label:"Longer Group DM Invites",defaultConfig:{inviteMaxAgeSeconds:86400},treatments:[{id:1,label:"Makes group DM invites expire after 1 week.",config:{inviteMaxAgeSeconds:604800}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(8)),a=p(n(3)),o=p(n(2)),i=p(n(1186)),l=p(n(31)),u=p(n(1385)),s=p(n(10)),d=p(n(70)),f=p(n(12)),c=n(1);function p(e){return e&&e.__esModule?e:{default:e}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y,m=!1,_="",h=0,E=[],g=!1,S=new Set,O=null;function I(){_="",h=0,E=[],S=new Set,m=!1,O=null}function T(e){_=e,h=0,C()}function C(){if(!m)return!1;var e=s.default.getChannel(O);if(0===_.trim().length)return null!=y&&y.clearQuery(),E=function(e){var t=d.default.getFriendIDs();null!=e&&(t=t.filter((function(t){return!e.recipients.includes(t)})));return t.reduce((function(e,t){var n=f.default.getUser(t);return null==n||e.push({user:n}),e}),[]).sort(M)}(e),!0;var t,n,r,a=null!=e?e.recipients:[];return null!=y&&y.setQuery(_,{friends:!0},a,(t=u.default.getFrequently().filter((function(e){return e instanceof l.default&&e.type===c.ChannelTypes.DM})),n=Math.max.apply(Math,t.map((function(e){var t=e.id;return u.default.getScore(t)}))),r={},t.forEach((function(e){var t=u.default.getScore(e.id),a=e.getRecipientId(),o=d.default.isFriend(a)?.2:0,i=s.default.getDMFromUserId(a)?.1:0;r[a]=1+t/n+o+i})),r)),!1}function b(){if(!m)return!1;var e=g;return(g=r.default.some(d.default.getRelationships(),(function(e){return e===c.RelationshipTypes.FRIEND})))!==e}function M(e,t){return e.user.usernameNormalized.localeCompare(t.user.usernameNormalized)}function N(e){var t=e.results;m&&""!==_&&(E=t.map((function(e){var t=e.user,n=e.id,r=e.score,a=e.comparator;return{user:null!=t?t:f.default.getUser(n),score:r,comparator:a}})),R.emitChange())}function A(e){m=!0,b(),y=i.default.getSearchContext(N,1e3),O=e.channelId,T("")}function P(){null!=y&&(y.destroy(),y=null),I()}var R=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(f.default,s.default,d.default),this.syncWith([f.default,s.default],C),this.syncWith([d.default],b)},a.getResults=function(){return E},a.hasFriends=function(){return g},a.getSelectedUsers=function(){return S},a.getQuery=function(){return _},a.getState=function(){return{query:_,selectedRow:h,selectedUsers:S,results:E,hasFriends:g}},r}(a.default.Store))(o.default,{CONNECTION_OPEN:function(e){I()},CHANNEL_SELECT:function(e){var t=e.guildId,n=e.channelId;if(null!=t)return!1;var r=m;return I(),m=r,O=n,C()},MODAL_PUSH:A,SHOW_ACTION_SHEET:A,PRIVATE_CHANNEL_RECIPIENTS_INVITE_OPEN:A,MODAL_POP:function(e){return P()},HIDE_ACTION_SHEET:function(e){return P()},PRIVATE_CHANNEL_RECIPIENTS_INVITE_CLOSE:function(e){return P()},PRIVATE_CHANNEL_RECIPIENTS_INVITE_QUERY:function(e){O=e.channelId,T(e.query)},PRIVATE_CHANNEL_RECIPIENTS_INVITE_SELECT:function(e){h=e.row},PRIVATE_CHANNEL_RECIPIENTS_ADD_USER:function(e){var t=e.userId;S.add(t),S=new Set(S)},PRIVATE_CHANNEL_RECIPIENTS_REMOVE_USER:function(e){var t=e.userId;S.delete(t),S=new Set(S)}}),L=R;t.default=L},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{foreground:f,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M20.998 0V3H23.998V5H20.998V8H18.998V5H15.998V3H18.998V0H20.998ZM2.99805 20V24L8.33205 20H14.998C16.102 20 16.998 19.103 16.998 18V9C16.998 7.896 16.102 7 14.998 7H1.99805C0.894047 7 -0.00195312 7.896 -0.00195312 9V18C-0.00195312 19.103 0.894047 20 1.99805 20H2.99805Z"}))}d.displayName="ChatNew"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=y(n(9)),o=n(3),i=y(n(8300)),l=y(n(8332)),u=y(n(256)),s=y(n(1160)),d=y(n(61)),f=y(n(55)),c=y(n(24)),p=n(1),v=y(n(7810));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e){var t,n=e.user,r=e.row,y=e.hideDiscriminator,m=e.comparator,h=e.selected,E=e.checked,g=e.onClick,S=e.onMouseEnter,O=e["aria-setsize"],I=e["aria-posinset"],T=(0,o.useStateFromStores)([u.default],(function(){return u.default.getStatus(n.id)}));return _(d.default,{tabIndex:-1,onClick:function(){null!=g&&g(n.id)},onMouseEnter:function(){null!=S&&S(r)},className:v.default.friendWrapper,"aria-selected":h,role:"option",id:"user-row-"+r,"aria-setsize":O,"aria-posinset":I},void 0,_(f.default,{align:f.default.Align.CENTER,className:(0,a.default)(v.default.friend,(t={},t[v.default.friendSelected]=h,t))},void 0,_(l.default,{user:n,status:T,className:v.default.avatar}),_(f.default,{className:v.default.match,align:f.default.Align.BASELINE},void 0,_(c.default,{tag:"strong",className:v.default.nickname},void 0,null!=m&&m===n.tag?n.username:m||n.username),_(i.default,{user:n,hideDiscriminator:y,className:v.default.discordTag,usernameClass:v.default.weightMedium,discriminatorClass:v.default.weightMedium})),_(s.default,{displayOnly:!0,color:p.Colors.PRIMARY_DARK,size:22,value:E,className:v.default.checkbox})))}h.displayName="InviteModalUserRow"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,l=e.padded,u=void 0===l||l,d=e.inset,f=void 0!==d&&d,c=e.active,p=void 0!==c&&c,v=e.className,y=e.children,m=e.onClick,_=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["padded","inset","active","className","children","onClick"]);return null!=m?r.createElement(o.default,s({onClick:m,tabIndex:null!=m?0:-1,className:(0,a.default)(v,(t={},t[i.default.outer]=!f,t[i.default.inset]=f,t[i.default.padded]=u,t[i.default.active]=p,t[i.default.interactive]=null!=m,t))},_),y):r.createElement("div",s({className:(0,a.default)(v,(n={},n[i.default.outer]=!f,n[i.default.inset]=f,n[i.default.padded]=u,n[i.default.active]=p,n))},_),y)};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=l(n(9)),o=l(n(61)),i=l(n(8049));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createHeader=function(e){var t,n=e.application_id;if(!n)return;var r=f[n];if(r&&!1!==(null===(t=r.shouldShow)||void 0===t?void 0:t.call(r,e)))return r.createHeader(e)},t.createBody=function(e){var t,n=e.application_id;if(!n)return;var r=f[n];if(r&&r.body&&!1!==(null===(t=r.shouldShow)||void 0===t?void 0:t.call(r,e))){var a=r.body;return d("section",{className:u.default.section},"delegate-"+n,d(a,{activity:e}))}},t.shouldShowActivity=function(e){var t,n=e.application_id;if(!n)return!0;var r=f[n];return null==r||!1!==(null===(t=r.shouldShow)||void 0===t?void 0:t.call(r,e))};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a,o,i=n(134),l=n(11263),u=(r=n(7812))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,r){o||(o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&a)for(var s in a)void 0===t[s]&&(t[s]=a[s]);else t||(t=a||{});return{$$typeof:o,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var f=((a={})[i.STAGE_APPLICATION_ID]=new l.StageChannelNowPlayingDelegate,a)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=w();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=D(n(9)),i=D(n(133)),l=D(n(8935)),u=D(n(9109)),s=D(n(183)),d=D(n(1332)),f=D(n(732)),c=D(n(1333)),p=D(n(1277)),v=D(n(707)),y=D(n(1334)),m=D(n(180)),_=D(n(88)),h=D(n(8524)),E=D(n(61)),g=D(n(8432)),S=D(n(10058)),O=D(n(8762)),I=D(n(8825)),T=D(n(9111)),C=D(n(8276)),b=D(n(279)),M=D(n(24)),N=D(n(8414)),A=D(n(11266)),P=n(1),R=D(n(6)),L=D(n(7812));function D(e){return e&&e.__esModule?e:{default:e}}function w(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return w=function(){return e},e}function j(){return(j=Object.assign||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}).apply(this,arguments)}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function U(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var G=64,F=160,B=[14,14,12,12,10,8,6],H=function(e,t){return void 0===t&&(t=null),U(M.default,{className:(0,o.default)(L.default.sectionTitle,L.default.textContent,t),size:M.default.Sizes.SIZE_14},void 0,e)};H.displayName="renderSectionTitle";var x=function(e,t){return void 0===t&&(t=null),U(M.default,{className:(0,o.default)(L.default.textContent,t),size:M.default.Sizes.SIZE_12},void 0,e)};x.displayName="renderSectionText";var V=(0,u.default)((function(e){var t=e.message;return U("div",{className:L.default.timestamp},void 0,t)})),W=function(e){var t=e.children;return U("section",{className:L.default.section},void 0,t)};W.displayName="Section";var Y=function(e){var t,n=e.inset,r=e.className;return U("div",{className:(0,o.default)(L.default.separator,(t={},t[L.default.inset]=n,t),r)})};Y.displayName="Separator";var z=function(e){var t,r;function a(){return e.apply(this,arguments)||this}r=e,(t=a).prototype=Object.create(r.prototype),t.prototype.constructor=t,k(t,r);var i=a.prototype;return i.renderTimePlayed=function(){var e,t=this.props.activity,n=t.timestamps;return null==n||!(0,c.default)(t)||(0,p.default)(t)?null:(e=(0,f.default)(t)?U(V,{timestamps:n}):U(g.default,{start:n.start,end:n.end,location:g.default.Locations.USER_ACTIVITY,className:L.default.playTime}),x(e))},i.render=function(){var e,t=this.props,r=t.activity,a=r.assets,i=r.details,l=r.state,u=r.application_id,s=t.getAssetImage;return U(W,{},void 0,U("div",{className:L.default.activitySection},void 0,null!=a&&0!==Object.keys(a).length?U("div",{className:L.default.activitySectionAssets},void 0,U("img",{alt:a.large_text||"",src:s(u,a.large_image,[F,F]),className:(0,o.default)(L.default.largeImage,(e={},e[L.default.largeImageMask]=null!=a.small_image,e))}),null!=a.small_image?U("img",{alt:a.small_text||"",src:s(u,a.small_image,[G,G]),className:L.default.smallImage}):null):U("div",{className:L.default.activitySectionAssets},void 0,U("img",{alt:"",src:n(10441),className:L.default.largeImage})),U("div",{},void 0,H(i||R.default.Messages.USER_ACTIVITY_HEADER_PLAYING),null!=l?x(l):null,this.renderTimePlayed())))},a}(a.Component);z.displayName="RichPresenceSection";var K=U("div",{}),$=function(e){var t,n=e.activity,r=n.assets,a=n.details,i=n.state,l=n.application_id,u=e.partySize,s=e.members,d=e.isSolo,f=e.getAssetImage;return U(W,{},void 0,U("div",{className:L.default.spotifySection},void 0,null!=r?U("div",{className:L.default.activitySectionAssets},void 0,U("img",{alt:r.large_text||"",src:f(l,r.large_image,[F,F]),className:(0,o.default)(L.default.largeImage,(t={},t[L.default.largeImageMask]=null!=r.small_image,t))}),d?null:U(I.default,{className:L.default.smallImage,color:P.Colors.SPOTIFY})):K,U("div",{},void 0,null!=a?H(a):null,null!=i?x(i):null),U(A.default,{minAvatarsShown:d?2:1,partySize:u,members:s})))};$.displayName="SpotifySection";var Z=function(e){var t,r,a=e.activity,i=e.user,l=e.getAssetImage,u=e.guildId,f=a.name,c=a.details,p=a.assets,y=a.application_id;return null!=p&&(0,v.default)(a)&&(r=U(h.default,{className:L.default.twitchSectionPreviewWrapper,aspectRatio:16/9},void 0,U(E.default,{href:(0,d.default)(a),tag:"a",target:"_blank"},void 0,U("img",{alt:p.large_text||"",src:l(y,p.large_image,[900,500]),className:L.default.twitchSectionPreview}),U("img",{src:n(11268),className:L.default.twitchSectionPlayButton,alt:""})))),U(W,{},void 0,U("div",{className:(0,o.default)((t={},t[L.default.twitchSectionSimple]=null==i,t[L.default.twitchSectionFull]=null!=i,t))},void 0,U("img",{alt:"",src:s.default.get(P.PlatformTypes.TWITCH).icon.color,className:L.default.twitchSectionIcon}),U("div",{},void 0,H(f),null!=c?x(c):null),null!=i?U(b.default,{src:i.getAvatarURL(u),"aria-label":i.username,className:L.default.twitchSectionAvatar,size:b.default.Sizes.SIZE_24}):null),r)};Z.displayName="TwitchSection";var q=function(e){var t=e.guild,n=e.channel,r=e.onGuildClick,i=e.partySize,l=e.members,u=e.onChannelContextMenu,s=a.useRef(null),d=(0,m.default)(n,!0);return U(W,{},void 0,a.createElement("div",{className:L.default.voiceSection,ref:s,onContextMenu:function(e){return u(e,n)}},U(E.default,{onClick:r,focusProps:{ringTarget:s}},void 0,U("div",{className:L.default.voiceSectionAssets},void 0,null!=t.getIconURL()?U("img",{alt:"",src:t.getIconURL()||void 0,className:(0,o.default)(L.default.voiceSectionGuildImage,L.default.largeImageMask)}):U("div",{className:L.default.voiceSectionNoGuildImageWrapper},void 0,U("div",{className:L.default.voiceSectionNoGuildImage,style:{fontSize:B[t.acronym.length]||B[B.length-1]}},void 0,t.acronym)),U("div",{className:L.default.voiceSectionIconWrapper},void 0,U(C.default,{className:L.default.voiceSectionIcon})))),U(E.default,{onClick:r,tabIndex:-1},void 0,U("div",{className:L.default.voiceSectionDetails},void 0,H(t.toString(),L.default.voiceSectionText),x(d,L.default.voiceSectionText))),U(A.default,{partySize:i,members:l,guildId:t.id})))};q.displayName="VoiceSection";var X=function(e){var t=e.title;return U(W,{},void 0,U("div",{className:L.default.xboxSection},void 0,U(T.default,{className:L.default.xboxSectionIcon}),U("div",{className:L.default.xboxSectionDetails},void 0,H(t),x(R.default.Messages.GAME_FEED_ACTIVITY_PLAYING_XBOX))))};X.displayName="XboxSection";var J=function(e){var t=e.icon,n=e.name,r=e.partySize,a=e.members;return U(W,{},void 0,U("div",{className:L.default.gameSection},void 0,null!=t?U("img",{alt:"",src:t,className:L.default.gameSectionIcon}):null,U("div",{},void 0,H(n),x(R.default.Messages.ACTIVITY_FEED_SINGLE_MEMBER_LIST_HEADER.format({memberCount:r.totalSize}))),U(A.default,{partySize:r,members:a})))};J.displayName="GameSection";var Q=function(e){var t=e.activity,n=e.user,r=e.applicationStream,a=e.onPreviewClick,o=e.guildId,i=U(h.default,{className:L.default.applicationStreamingPreviewWrapper,aspectRatio:16/9},void 0,U(E.default,{onClick:a,className:L.default.applicationStreamingPreviewSize},void 0,U(l.default,{stream:r,className:L.default.applicationStreamingPreviewSize}),U("div",{className:L.default.applicationStreamingHoverWrapper},void 0,U("div",{className:L.default.applicationStreamingHoverText},void 0,R.default.Messages.WATCH_STREAM)))),u=(0,y.default)(t,r)||R.default.Messages.SHARING_SCREEN;return U(W,{},void 0,U("div",{className:L.default.applicationStreamingSection},void 0,U(b.default,{size:b.default.Sizes.SIZE_32,src:n.getAvatarURL(o),"aria-label":n.username,className:L.default.applicationStreamingAvatar}),U("div",{},void 0,H(n.toString()),x(u)),U(N.default,{size:N.default.Sizes.SMALL})),i)};Q.displayName="ApplicationStreamingSection";var ee=(0,i.default)({XBOX:null,SPOTIFY:null,MULTIPLE:null}),te=function(e){var t,n=e.src,r=e.onClick,a=e.onContextMenu;switch(n){case ee.XBOX:t=U(T.default,{className:L.default.headerIcon,color:P.Colors.PRIMARY_DARK_300});break;case ee.SPOTIFY:t=U(I.default,{className:L.default.headerIcon,color:P.Colors.SPOTIFY});break;case ee.MULTIPLE:t=U("div",{className:L.default.multipleIconWrapper},void 0,U(O.default,{className:(0,o.default)(L.default.headerIcon,L.default.multipleIcon),color:P.Colors.PRIMARY_DARK_300}));break;default:t=U("img",{src:n||void 0,alt:"",className:L.default.headerIcon})}return null!=r||null!=a?U(E.default,{onClick:r,className:(0,o.default)(null!=r?L.default.clickableIcon:""),onContextMenu:a},void 0,t):t};te.Src=ee;var ne=function(e){var t=e.priorityUser,n=e.title,r=e.subtitle,a=e.icon,i=e.onContextMenu,l=e.guildId;return U("header",{className:null!=a?L.default.headerFull:L.default.headerSimple},void 0,U(b.default,{src:t.user.getAvatarURL(l),"aria-label":t.user.username,size:b.default.Sizes.SIZE_32,className:L.default.headerAvatar,status:t.status,onContextMenu:i}),U("div",{className:L.default.headerDetails},void 0,U(M.default,{className:(0,o.default)(L.default.sectionTitle,L.default.textContent),size:M.default.Sizes.SIZE_16},void 0,n),U(M.default,{color:M.default.Colors.HEADER_SECONDARY,className:L.default.textContent},void 0,r)),null!=a?a:null)};ne.displayName="NowPlayingHeader",ne.Icon=te;var re=function(e){var t=e.children;return U(S.default,{inset:!0,padded:!1,className:L.default.body},void 0,t)};re.displayName="NowPlayingBody";var ae=function(e){var t=e.children,n=e.className,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["children","className"]);return U(_.default,{},void 0,a.createElement(S.default,j({className:(0,o.default)(n,L.default.wrapper),padded:!0},r),t))};ae.displayName="NowPlayingItem",ae.Header=ne,ae.Body=re,ae.Separator=Y,ae.VoiceSection=q,ae.GameSection=J,ae.RichPresenceSection=z,ae.XboxSection=X,ae.SpotifySection=$,ae.TwitchSection=Z,ae.ApplicationStreamingSection=Q;var oe=ae;t.default=oe},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Rows=t.Row=void 0;var r=y(n(8)),a=y(n(3)),o=y(n(2)),i=y(n(1217)),l=y(n(62)),u=y(n(163)),s=y(n(56)),d=y(n(15)),f=y(n(256)),c=y(n(70)),p=y(n(12)),v=n(1);function y(e){return e&&e.__esModule?e:{default:e}}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,E(e,t)}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t=p.default.getUser(e);return{user:t,usernameLower:null!=t?t.username.toLowerCase():null}}function S(e){return{status:f.default.getStatus(e),isMobile:f.default.isMobileOnline(e),activities:f.default.getActivities(e),applicationStream:u.default.getStreamForUser(e)}}var O=function(e){function t(t){var n;return(n=e.call(this)||this).key=t.key,n.type=t.type,n.status=t.status,n.activities=t.activities,n.applicationStream=t.applicationStream,n.user=t.user,n.isMobile=t.isMobile,n.usernameLower=t.usernameLower,n.mutualGuildsLength=t.mutualGuildsLength,n.mutualGuilds=t.mutualGuilds,n.nickname=t.nickname,n}var n,r,a;return h(t,e),n=t,(r=[{key:"comparator",get:function(){var e,t;return[this.type,null!==(e=null===(t=this.nickname)||void 0===t?void 0:t.toLowerCase())&&void 0!==e?e:this.usernameLower]}}])&&_(n.prototype,r),a&&_(n,a),t}(l.default);t.Row=O;var I=function(){function e(e){void 0===e&&(e=[]),this._rows=e}var t=e.prototype;return t.reset=function(){return new e(r.default.map(c.default.getRelationships(),(function(e,t){return new O(m({key:t,type:e,nickname:c.default.getNickname(t)},g(t),{},S(t),{},function(e){var t=[];return(0,r.default)(s.default.memberOf(e)).map(d.default.getGuild).sortBy((function(e){return null!=e?e.name.toLowerCase():null})).forEach((function(e){null!=e&&t.push(e)})),{mutualGuildsLength:t.length,mutualGuilds:t.slice(0,v.MAX_MUTUAL_GUILDS)}}(t)))})))},t.clone=function(){return new e(this._rows)},t.update=function(e){for(var t=!1,n=0;n<this._rows.length;n++){var r=this._rows[n],a=r.merge(e(r.key));t=t||a!==r,this._rows[n]=a}return t},t.filter=function(e){return(0,r.default)(this._rows).filter((function(e){return null!=e.user})).filter((function(t){switch(e){case v.FriendsSections.ONLINE:return t.type===v.RelationshipTypes.FRIEND&&t.status!==v.StatusTypes.OFFLINE;case v.FriendsSections.PENDING:return t.type===v.RelationshipTypes.PENDING_INCOMING||t.type===v.RelationshipTypes.PENDING_OUTGOING;case v.FriendsSections.BLOCKED:return t.type===v.RelationshipTypes.BLOCKED;case v.FriendsSections.ALL:default:return t.type===v.RelationshipTypes.FRIEND}})).sortBy((function(e){return e.comparator})).value()},t.getRelationshipCounts=function(){var e,t=((e={})[v.RelationshipTypes.FRIEND]=0,e[v.RelationshipTypes.PENDING_INCOMING]=0,e[v.RelationshipTypes.PENDING_OUTGOING]=0,e[v.RelationshipTypes.BLOCKED]=0,e);return this._rows.forEach((function(e){null!=e.user&&null!=t[e.type]&&t[e.type]++})),t},e}();t.Rows=I;var T=!0,C=!1,b=v.FriendsSections.ONLINE,M=new I,N=!0;function A(e){void 0===e&&(e=!1),T&&(e||b!==v.FriendsSections.ONLINE&&b!==v.FriendsSections.ADD_FRIEND)&&!C&&(T=!1,C=!0,i.default.fetchRelationships())}function P(){T=!0,N?C=!1:A();var e=(M=M.reset()).getRelationshipCounts();b=0===e[v.RelationshipTypes.FRIEND]?0!==e[v.RelationshipTypes.PENDING_INCOMING]?v.FriendsSections.PENDING:v.FriendsSections.ADD_FRIEND:v.FriendsSections.ONLINE}function R(){M=N?new I:M.reset()}function L(e){return function(){return!N&&(!!M.update(e)&&(M=M.clone(),!0))}}var D=new(function(e){function t(){return e.apply(this,arguments)||this}h(t,e);var n=t.prototype;return n.initialize=function(){this.waitFor(c.default,f.default,p.default,d.default,s.default,u.default),this.syncWith([c.default],R),this.syncWith([p.default],L(g)),this.syncWith([f.default,u.default],L(S)),P()},n.getState=function(){return{fetching:C,section:b,pendingCount:c.default.getPendingCount(),rows:M}},t}(a.default.Store))(o.default,{CONNECTION_OPEN:function(e){P()},FRIENDS_SET_SECTION:function(e){b=e.section,A()},CHANNEL_SELECT:function(e){var t=e.channelId;return N=null!=t,R(),!N},LOAD_RELATIONSHIPS_SUCCESS:function(e){C=!1},LOAD_RELATIONSHIPS_FAILURE:function(e){return T=!0,void(C=!0)},DRAWER_SELECT_TAB:function(e){var t=e.tab;return N=t!==v.DrawerTabTypes.FRIENDS,R(),!N}});t.default=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=d(n(9)),l=d(n(61)),u=d(n(149)),s=d(n(8058));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.icon,n=e.tooltip,r=e.onClick,d=e.actionType,f=void 0===d?a.DEFAULT:d,v=e.shouldHighlight;return p(u.default,{text:n},void 0,(function(e){var u;return o.createElement(l.default,c({},e,{"aria-label":n,onClick:r,className:(0,i.default)(s.default.actionButton,(u={},u[s.default.actionAccept]=f===a.ACCEPT,u[s.default.actionDeny]=f===a.DENY,u[s.default.highlight]=v,u))}),p(t,{className:s.default.icon}))}))}!function(e){e[e.ACCEPT=0]="ACCEPT",e[e.DENY=1]="DENY",e[e.DEFAULT=2]="DEFAULT"}(a||(a={})),v.displayName="ActionButton",v.ActionTypes=a;var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(9)),i=p(n(273)),l=n(680),u=n(389),s=p(n(88)),d=p(n(8351)),f=n(10064),c=p(n(8059));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var h=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={height:new i.default.Value(f.PEOPLE_LIST_ITEM_HEIGHT),opacity:new i.default.Value(1),hovered:!1,isContextMenuActive:!1},t.handleMouseEnter=function(){var e=t.props,n=e.isFocused,r=e.isActive,a=e.onOtherHover,o=t.state.isContextMenuActive;t.setState({hovered:n}),!n||r||o||a&&a()},t.handleMouseLeave=function(){t.setState({hovered:!1})},t.handleContextMenu=function(e,n){t.setState({isContextMenuActive:!0}),(0,u.openContextMenu)(e,(function(e){return a.createElement(d.default,m({},e,{user:n}))}),{onClose:function(){t.setState({isContextMenuActive:!1})}})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n);var p=r.prototype;return p.componentWillLeave=function(e){i.default.parallel([i.default.timing(this.state.opacity,{toValue:0,duration:200}),i.default.timing(this.state.height,{toValue:0,duration:200})]).start(e)},p.componentWillEnter=function(e){this.state.opacity.setValue(0),this.state.height.setValue(0),i.default.parallel([i.default.timing(this.state.opacity,{toValue:1,duration:200}),i.default.timing(this.state.height,{toValue:f.PEOPLE_LIST_ITEM_HEIGHT,duration:200})]).start(e)},p.render=function(){var e=this,t=this.state,n=t.height,r=t.opacity,u=t.hovered,d=t.isContextMenuActive,f=this.props,p=f.children,v=f.user,_=f.onClick,h=f.isActive;return y(l.ListNavigatorItem,{id:v.id},void 0,(function(t){var l;return y(s.default,{offset:{left:-8,right:-8}},void 0,a.createElement(i.default.div,m({className:(0,o.default)(c.default.peopleListItem,(l={},l[c.default.active]=h||d,l)),onContextMenu:function(t){return e.handleContextMenu(t,v)},onMouseEnter:e.handleMouseEnter,onMouseLeave:e.handleMouseLeave,onClick:null!=_?_:void 0,style:{height:n,opacity:r}},t),p(u||h||d)))}))},r}(a.PureComponent);h.displayName="PeopleListItem";var E=h;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.STATUS_HEADER_HEIGHT=t.PEOPLE_LIST_ITEM_HEIGHT=t.RELATIONSHIP_COUNT_ANIMATION_THRESHOLD=void 0;t.RELATIONSHIP_COUNT_ANIMATION_THRESHOLD=64;t.PEOPLE_LIST_ITEM_HEIGHT=62;t.STATUS_HEADER_HEIGHT=24},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=d(n(9)),o=n(3),i=d(n(8300)),l=d(n(8332)),u=d(n(70)),s=d(n(8060));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t,n=e.user,r=e.hovered,d=e.subText,f=e.status,p=e.isMobile,v=e.className,y=(0,o.useStateFromStores)([u.default],(function(){return u.default.getNickname(n.id)}));return c("div",{className:(0,a.default)(s.default.userInfo,v,(t={},t[s.default.hovered]=r,t))},void 0,c(l.default,{user:n,className:s.default.avatar,animate:r,status:f,isMobile:p}),c("div",{className:s.default.text},void 0,c(i.default,{nick:y,user:n,className:s.default.discordTag,usernameClass:s.default.username,discriminatorClass:s.default.discriminator}),c("div",{className:s.default.subtext},void 0,d)))}p.displayName="UserInfo";var v=p;t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("rect",{width:"20",height:"16"});function f(e){var t=e.width,n=void 0===t?20:t,r=e.height,a=void 0===r?16:r,l=e.color,f=void 0===l?"currentColor":l,c=e.className,p=e.foreground,v=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","className","foreground"]);return o.createElement("svg",u({className:c,width:n,height:a,viewBox:"0 0 20 16"},(0,i.default)(v)),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:p,fill:f,d:"M1,14.1538462 L1.95,14.1538462 C3.73125,14.1538462 5.5125,13.5384615 6.81875,12.4307692 C5.15625,12.4307692 3.73125,11.2 3.1375,9.6 C3.375,9.6 3.6125,9.72307692 3.85,9.72307692 C4.20625,9.72307692 4.5625,9.72307692 4.91875,9.6 C3.1375,9.23076923 1.7125,7.63076923 1.7125,5.66153846 C2.1875,5.90769231 2.78125,6.15384615 3.49375,6.15384615 C2.425,5.41538462 1.83125,4.18461538 1.83125,2.70769231 C1.83125,1.96923077 2.06875,1.23076923 2.30625,0.615384615 C4.20625,3.07692308 7.05625,4.67692308 10.38125,4.8 C10.2625,4.67692308 10.2625,4.30769231 10.2625,4.06153846 C10.2625,1.84615385 12.04375,0 14.18125,0 C15.25,0 16.31875,0.492307692 17.03125,1.23076923 C17.8625,1.10769231 18.8125,0.738461538 19.525,0.246153846 C19.2875,1.23076923 18.575,1.96923077 17.8625,2.46153846 C18.575,2.46153846 19.2875,2.21538462 20,1.84615385 C19.525,2.70769231 18.8125,3.32307692 18.1,3.93846154 L18.1,4.43076923 C18.1,9.84615385 14.18125,16 6.9375,16 C4.68125,16 2.6625,15.3846154 1,14.1538462 Z"}),d))}f.displayName="Twitter"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a,o=n(8253),i=n(1163),l=(r=n(6))&&r.__esModule?r:{default:r};function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){return i.SUPPORTS_COPY?s(o.MenuItem,{id:"copy-channel-topic",label:l.default.Messages.COPY_CHANNEL_TOPIC,action:function(){return(0,i.copy)(e.topic)}}):null}d.displayName="useChannelCopyTopicItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePermissions=function(e,t){return(0,r.useStateFromStoresObject)([c.default],(function(){return{canInvite:(0,p.canViewInviteModal)(c.default,t,e),canCustomize:null!=t&&c.default.can(y.Permissions.MANAGE_GUILD,t),canMessage:null!=e&&c.default.can(y.Permissions.SEND_MESSAGES,e),canCreateChannel:null!=t&&c.default.can(y.Permissions.MANAGE_CHANNELS,t)}}),[t,e])},t.useGuildChannelCreated=h,t.useGuildPopulated=E,t.useGuildPersonalized=g,t.useChannelMessaged=S,t.useCompletedStates=function(e,t){return{guildPopulated:E(t),guildMessaged:S(e),guildPersonalized:g(t),guildChannelCreated:h(t)}};var r=n(3),a=_(n(685)),o=_(n(11)),i=_(n(10)),l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(86)),u=_(n(684)),s=_(n(15)),d=_(n(694)),f=_(n(201)),c=_(n(40)),p=n(8286),v=_(n(97)),y=n(1);function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e){return e&&e.__esModule?e:{default:e}}function h(e){return(0,r.useStateFromStores)([l.default],(function(){var t=l.default.getChannels(null==e?void 0:e.id),n=t[l.GUILD_VOCAL_CHANNELS_KEY];function r(t){return null!=e&&v.default.extractTimestamp(t.channel.id)-v.default.extractTimestamp(e.id)>500}return t[l.GUILD_SELECTABLE_CHANNELS_KEY].some(r)||n.some(r)}),[e])}function E(e){var t=(0,r.useStateFromStores)([i.default],(function(){return i.default.getChannel(null==e?void 0:e.systemChannelId)})),n=(0,r.useStateFromStoresArray)([f.default],(function(){return null!=t?f.default.getMessages(t.id).toArray():[]}));return(0,r.useStateFromStores)([u.default],(function(){var t,r=null!==(t=u.default.getMemberCount(null==e?void 0:e.id))&&void 0!==t&&t,a=n.some((function(e){return e.type===y.MessageTypes.USER_JOIN}));return r>1||a}),[e,n])}function g(e){var t=(0,r.useStateFromStores)([d.default],(function(){return d.default.hasLayers()})),n=(0,r.useStateFromStores)([s.default],(function(){return s.default.getGuild(null==e?void 0:e.id)}));return null!=(null==n?void 0:n.icon)&&!t}function S(e){var t=(0,r.useStateFromStoresArray)([f.default],(function(){return null!=e?f.default.getMessages(e.id).toArray():[]}));return(0,r.useStateFromStores)([o.default],(function(){return t.some((function(e){return e.author.id===o.default.getId()&&!(0,a.default)(e)}))}),[t])}},function(e,t,n){e.exports=n.p+"472c7d0bdf6d64d6268ac6ccec5bef02.svg"},function(e,t,n){e.exports=n.p+"99fa9665e3eb82012f301396f6061bc7.svg"},function(e,t,n){e.exports=n.p+"8d2b5dee096a9060d3eccc4eea89a520.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(9)),i=v(n(88)),l=v(n(61)),u=v(n(153)),s=v(n(686)),d=v(n(5968)),f=v(n(24)),c=v(n(6)),p=v(n(8080));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this)._textInputRef=a.createRef(),t._containerRef=a.createRef(),t.handleClear=function(){var e=t.props,n=e.onClear,r=e.forwardedRef,a=(null!=r?r:t._textInputRef).current;null!=a&&a.focus(),null!=n&&n()},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n),r.prototype.render=function(){var e=this.props,t=e.autoFocus,n=e.label,r=e.placeholder,v=e.searchTerm,y=e.inputClassName,m=e.className,h=e.onChange,E=e.onFocus,g=e.onBlur,S=e.onKeyPress,O=e.autoComplete,I=e.forwardedRef,T=e.closeIconClassName,C=e.searchIconClassName,b=e.cta,M=null!=v&&v.length>0,N=null!=I?I:this._textInputRef;return _(i.default,{focusTarget:N,ringTarget:this._containerRef},void 0,a.createElement("div",{className:(0,o.default)(p.default.searchBox,m),ref:this._containerRef},_(u.default,{inputRef:N,focusProps:{enabled:!1},name:"search",maxLength:100,className:p.default.searchBoxInputWrapper,inputClassName:(0,o.default)(p.default.searchBoxInput,y),onChange:h,onFocus:E,onBlur:g,onKeyPress:S,value:M?v:"",placeholder:r,autoFocus:t,"aria-label":n,autoComplete:O?"on":"off"}),null!=b?_(f.default,{color:f.default.Colors.MUTED,size:f.default.Sizes.SIZE_12,className:p.default.cta},void 0,b):null,M?_(l.default,{onClick:this.handleClear,className:p.default.clear},void 0,_(s.default,{className:(0,o.default)(p.default.clearIcon,T)})):_(d.default,{className:(0,o.default)(p.default.searchIcon,C),"aria-label":c.default.Messages.SEARCH})))},r}(a.Component);E.displayName="SearchBox",E.defaultProps={autoComplete:!1};var g=a.forwardRef((function(e,t){return a.createElement(E,m({forwardedRef:t},e))}));t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(8)),i=h(n(8495)),l=h(n(106)),u=n(682),s=h(n(29)),d=h(n(1162)),f=h(n(151)),c=h(n(476)),p=h(n(474)),v=n(35),y=h(n(47)),m=n(1),_=h(n(6));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var O=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._isMounted=!1,t.headerID=o.default.uniqueId(),t.state={loading:!0,submitting:!1,reasons:[],selectedReason:null},t.handleReasonChange=function(e){var n=e.value;t.setState({selectedReason:n})},t.handleReport=function(e){e.preventDefault(),t.setState({submitting:!0});var n=t.props.onReport,r=t.getReportData();l.default.trackWithMetadata(m.AnalyticEvents.MESSAGE_REPORTED,{reason_enum:r.reason,location_object:"admin_delete_message_modal",guild_id:r.guild_id,channel_id:r.channel_id,message_id:r.message_id}),i.default.report(r).then((function(){n&&n(),t.close()}),(function(){return t.setState({submitting:!1})}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n);var a=r.prototype;return a.componentDidMount=function(){var e=this;this._isMounted=!0,i.default.getReasons(this.getReportData()).then((function(t){e._isMounted&&e.setState({reasons:t,loading:!1})}))},a.componentWillUnmount=function(){this._isMounted=!1},a.close=function(){(0,this.props.onClose)()},a.renderHeader=function(){var e,t=this.props,n=t.guild,r=t.message,a=t.user;return n?e=_.default.Messages.REPORT_SERVER.format({name:n.toString()}):r?e=_.default.Messages.REPORT_MESSAGE.format({name:(0,u.getMessageAuthor)(r).nick}):a&&(e=_.default.Messages.REPORT_USER.format({name:a.tag})),g(v.ModalHeader,{separator:!1},void 0,g(y.default,{id:this.headerID,tag:y.default.Tags.H2,size:y.default.Sizes.SIZE_20},void 0,e))},a.getReportData=function(){var e=this.props,t=e.guild,n=e.channel,r=e.message,a=e.user,o=this.state.selectedReason,i={};return null!=r?(i.channel_id=r.getChannelId(),i.message_id=r.id):null!=a?i.user_id=a.id:null!=t&&(i.guild_id=t.id),null==i.guild_id&&null!=n&&(i.guild_id=n.getGuildId()),null!=o&&(i.reason=o),i},a.renderReasons=function(){var e=this.state,t=e.loading,n=e.reasons,r=e.selectedReason;if(t)return g(f.default,{style:{height:100}});var a=n.map((function(e){var t=e.reason;return{name:e.label,desc:e.description,value:t}}));return g(d.default,{value:r,onChange:this.handleReasonChange,options:a})},a.renderFooter=function(){var e=this,t=this.state,n=t.loading,r=t.selectedReason,a=t.submitting,o=n||a||null==r;return g(v.ModalFooter,{},void 0,g(s.default,{type:"submit",disabled:o,submitting:a},void 0,_.default.Messages.REPORT),g(s.default,{look:s.default.Looks.LINK,color:s.default.Colors.PRIMARY,onClick:function(){return e.close()}},void 0,_.default.Messages.CANCEL))},a.render=function(){var e=this.props.transitionState;return g(v.ModalRoot,{"aria-labelledby":this.headerID,transitionState:e},void 0,g("form",{onSubmit:this.handleReport},void 0,this.renderHeader(),g(v.ModalContent,{},void 0,g(c.default,{title:_.default.Messages.FORM_LABEL_REPORT_REASON},void 0,this.renderReasons()),g(p.default,{type:p.default.Types.DESCRIPTION},void 0,_.default.Messages.FORM_REPORT_HELP_TEXT.format({guidelinesURL:m.MarketingURLs.GUIDELINES}))),this.renderFooter()))},r}(a.Component);O.displayName="Report";var I=O;t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(2)),a=i(n(13)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}var l={dismissForApplicationId:function(e){r.default.dispatch({type:o.ActionTypes.ACTIVITY_INVITE_EDUCATION_DISMISS,key:e,value:!0}),a.default.track(o.AnalyticEvents.CLOSE_TUTORIAL,{tutorial:"activity-invite-nux-inline",application_id:e,acknowledged:!0})}};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(9)),i=n(3),l=n(10076),u=n(8277),s=n(10077),d=v(n(12)),f=n(8342),c=v(n(6)),p=v(n(7816));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var _=function(){var e,t=(0,i.useStateFromStores)([d.default],(function(){return d.default.getNullableCurrentUser()})),n=(0,l.useApplicationCommandCalloutExperiment)((0,f.isEligibleForCallout)(t))[0],r=n.shouldShowMessageEducation,v=n.shouldShowInfoIcon,y=(0,s.useShouldShowHotspot)(u.HotspotLocations.APPLICATION_COMMAND_TOOLTIP),_=a.useState(!1),h=_[0],E=_[1];a.useEffect((function(){var e=setTimeout((function(){E(!0)}),100);return function(){return clearTimeout(e)}}),[]);return r&&y?m("div",{className:(0,o.default)(p.default.applicationCommandEducation,(e={},e[p.default.applicationCommandEducationFadeIn]=h,e))},void 0,m("div",{className:v?p.default.applicationCommandEducationInfo:p.default.applicationCommandEducationArrow}),m("div",{className:(0,o.default)(p.default.applicationCommandEducationPrompt)},void 0,c.default.Messages.APPLICATION_COMMAND_EDUCATION.format({dismissOnClick:function(){(0,u.hideHotspot)(u.HotspotLocations.APPLICATION_COMMAND_TOOLTIP)}}))):null};_.displayName="ApplicationCommandEducation";var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.useApplicationCommandCalloutExperiment=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-05_application_command_callout",label:"Application Command Callout experiment",defaultConfig:{shouldShowTooltip:!1,shouldShowMessageEducation:!1,shouldShowInfoIcon:!1},treatments:[{id:1,label:"Show Tooltip",config:{shouldShowTooltip:!0,shouldShowMessageEducation:!1,shouldShowInfoIcon:!1}},{id:2,label:"Show Message Education",config:{shouldShowTooltip:!1,shouldShowMessageEducation:!0,shouldShowInfoIcon:!1}},{id:3,label:"Show Message Education Info Icon",config:{shouldShowTooltip:!1,shouldShowMessageEducation:!0,shouldShowInfoIcon:!0}}]});t.useApplicationCommandCalloutExperiment=function(e){return e&&r.trackExposure({}),r.useExperiment({},{disable:!e})};var a=r;t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useShouldShowHotspot=function(e){return(0,r.useStateFromStores)([a.default,o.default,i.default],(function(){return!a.default.hasLayers()&&null==o.default.getModal()&&i.default.hasHotspot(e)}))};var r=n(3),a=l(n(694)),o=l(n(690)),i=l(n(702));function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n),r.prototype.shouldShowEducation=function(e){return!0!==this.get(e)},r}(r.default.CachedStore))(a.default,"ActivityInviteEducationExperimentStore",o.ActionTypes.ACTIVITY_INVITE_EDUCATION_DISMISS,{});t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:f,fill:d,fillRule:"nonzero",d:"M15 1H9v2h6V1zm-4 13h2V8h-2v6zm8.03-6.61l1.42-1.42c-.43-.51-.9-.99-1.41-1.41l-1.42 1.42C16.07 4.74 14.12 4 12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9 9-4.03 9-9c0-2.12-.74-4.07-1.97-5.61zM12 20c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"})))}d.displayName="Timer"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=T(n(9)),i=n(3),l=T(n(8589)),u=T(n(399)),s=n(1209),d=T(n(40)),f=T(n(479)),c=T(n(29)),p=T(n(278)),v=T(n(1256)),y=T(n(9042)),m=n(121),_=n(8289),h=T(n(10081)),E=T(n(9043)),g=T(n(8735)),S=n(1),O=T(n(6)),I=T(n(7820));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(){return(b=Object.assign||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}).apply(this,arguments)}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var N=a.memo((function(e){var t=e.className,n=e.channel,r=e.draftType,T=a.useRef(null),C=(0,i.useStateFromStores)([f.default],(function(){return f.default.getActivities()})),N=n.isPrivate(),A=(0,i.useStateFromStores)([d.default],(function(){return N||d.default.can(S.Permissions.ATTACH_FILES,n)}));a.useEffect((function(){var e=function(){var e;return null===(e=T.current)||void 0===e?void 0:e.activateUploadDialogue()};return m.ComponentDispatch.subscribe(S.ComponentActions.UPLOAD_FILE,e),function(){m.ComponentDispatch.unsubscribe(S.ComponentActions.UPLOAD_FILE,e)}}));var P=(0,s.useCanStartPublicThread)(n),R=(0,s.useCanStartPrivateThread)(n),L=P||R,D=(0,E.default)(A,L,n,C);if(0===D.length)return null;var w=C.some((function(e){return(0,u.default)(e,S.ActivityFlags.SYNC)})),j=C.some((function(e){return(0,u.default)(e,S.ActivityFlags.JOIN)&&!(0,u.default)(e,S.ActivityFlags.EMBEDDED)}))||w?M(y.default,{className:I.default.attachButtonIcon,foreground:I.default.attachButtonPlay,background:I.default.attachButtonPlus,width:24,height:24}):M(v.default,{className:I.default.attachButtonIcon,foreground:I.default.attachButtonPlus,width:24,height:24}),k=M(p.default,{renderPopout:function(e){var t=e.closePopout,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["closePopout"]);return a.createElement(h.default,b({},r,{onClose:t,options:D,channel:n,onFileUpload:function(){var e;return null===(e=T.current)||void 0===e?void 0:e.activateUploadDialogue()}}))},position:p.default.Positions.TOP,align:p.default.Align.LEFT,animation:p.default.Animation.NONE},void 0,(function(e){return a.createElement(c.default,b({look:c.default.Looks.BLANK,size:c.default.Sizes.NONE,className:(0,o.default)(I.default.attachButton,t),innerClassName:I.default.attachButtonInner,"aria-label":O.default.Messages.CHAT_ATTACH_UPLOAD_OR_INVITE,onDoubleClick:A?function(){var e;return null===(e=T.current)||void 0===e?void 0:e.activateUploadDialogue()}:void 0,role:"menubutton"},e),j)}));return a.createElement(a.Fragment,null,M("div",{className:I.default.uploadInput},void 0,a.createElement(l.default,{ref:T,onChange:function(e){var t,a;t=e.currentTarget.files,(0,g.default)(t,n,r,!1,!0,a),e.currentTarget.value=""},multiple:n.rateLimitPerUser<=0,tabIndex:-1,maxSize:(0,_.maxFileSize)(n.getGuildId())})),M("div",{className:I.default.attachWrapper},void 0,k))}));t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=S;var r,a=_(n(0)),o=y(n(10082)),i=_(n(8253)),l=y(n(8265)),u=y(n(1256)),s=n(41),d=y(n(13)),f=n(9043),c=n(1),p=y(n(6)),v=y(n(7819));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(){return(E=Object.assign||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}).apply(this,arguments)}function g(e,t,n){(0,s.openModal)((function(r){return a.createElement(o.default,E({},r,{activity:e,channel:t,activityActionType:n}))}))}function S(e){var t=e.channel,n=e.options,r=e.onFileUpload,o=e.onClose,s=e.onSelect;function y(){l.default.openThreadSidebarForCreating(t,void 0,"Plus Button")}return a.useEffect((function(){d.default.track(c.AnalyticEvents.OPEN_POPOUT,{type:"Send Attachment"})}),[]),h(i.default,{onSelect:s,navId:"channel-attach",onClose:o,"aria-label":p.default.Messages.CHANNEL_ACTIONS_MENU_LABEL,className:v.default.menu},void 0,n.map((function(e){var n=h("div",{className:v.default.optionLabel},void 0,h(e.icon,{className:v.default.optionIcon}),h("div",{className:v.default.optionName},void 0,e.display));switch(e.type){case f.AttachmentTypes.UPLOAD_A_FILE:return h(i.MenuItem,{id:"upload-file",label:n,subtext:h("span",{className:v.default.tipSubtext},void 0,p.default.Messages.UPLOAD_FILE_SUBTEXT.format({icon:function(e,t){return h(u.default,{className:v.default.tipIcon},t)}})),action:r},"upload-file");case f.AttachmentTypes.INVITE_TO_PLAY_GAME:return h(i.MenuItem,{id:"play",label:n,action:function(){return n=e.activity,d.default.track(c.AnalyticEvents.OPEN_MODAL,{type:"Send Join Invite",application_id:n.application_id,location:c.AnalyticsSections.CHANNEL_TEXT_AREA}),void g(n,t,c.ActivityActionTypes.JOIN);var n}},"play");case f.AttachmentTypes.INVITE_TO_LISTEN:return h(i.MenuItem,{id:"listen",label:n,action:function(){return n=e.activity,d.default.track(c.AnalyticEvents.OPEN_MODAL,{type:"Send Listen Invite",location:c.AnalyticsSections.CHANNEL_TEXT_AREA}),void g(n,t,c.ActivityActionTypes.LISTEN);var n}},"listen");case f.AttachmentTypes.INVITE_TO_WATCH:return h(i.MenuItem,{id:"watch",label:n,action:function(){return n=e.activity,d.default.track(c.AnalyticEvents.OPEN_MODAL,{type:"Send Watch Invite",location:c.AnalyticsSections.CHANNEL_TEXT_AREA}),void g(n,t,c.ActivityActionTypes.WATCH);var n}},"watch");case f.AttachmentTypes.CREATE_THREAD:return h(i.MenuItem,{id:"THREAD",label:n,action:y},"THREAD");default:return null}})))}S.displayName="ChannelAttachMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=M();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=b(n(8325)),i=b(n(3)),l=b(n(478)),u=b(n(390)),s=b(n(8309)),d=b(n(8905)),f=b(n(106)),c=b(n(8391)),p=b(n(1216)),v=n(1264),y=b(n(71)),m=b(n(1238)),_=b(n(1242)),h=b(n(29)),E=b(n(149)),g=n(35),S=b(n(47)),O=n(8381),I=n(1),T=b(n(6)),C=b(n(7818));function b(e){return e&&e.__esModule?e:{default:e}}function M(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return M=function(){return e},e}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var P="popout-channel-text-area-shouting",R=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).channelTextAreaRef=a.createRef(),t.state={textValue:"",richValue:o.default.deserialize(""),textFocused:!0},t.trackInvite=function(e){if(null!=e&&e.ok){var n=t.props,r=n.activity,a=n.channel,o="";switch(n.activityActionType){case I.ActivityActionTypes.JOIN:o="Invite to Join";break;case I.ActivityActionTypes.LISTEN:o="Invite to Listen";break;case I.ActivityActionTypes.WATCH:o="Invite to Watch"}return f.default.trackWithMetadata(I.AnalyticEvents.INVITE_SENT,{location:"Channel Text Area - "+o,invite_type:r.type===I.ActivityTypes.LISTENING?I.InviteTypes.SPOTIFY:I.InviteTypes.APPLICATION,application_id:r.application_id,guild_id:a.getGuildId(),channel_id:a.id,message_id:null!=e?e.body.id:null}),Promise.resolve()}},t.handleTextChange=function(e,n,r){t.setState({textValue:n,richValue:r})},t.handleShare=function(){var e=t.props,n=e.channel,r=e.activity,a=e.activityActionType,o=e.cooldown,i=e.onClose,l=t.state.textValue;if(o>0)return Promise.resolve({shouldClear:!1,shouldRefocus:!0});var d=p.default.parse(n,l),f={activity:r,type:a};return m.default.isOpen(P)?(s.default.close(P),u.default.sendMessage(n.id,d,!0,{activityAction:f}).then((function(e){return t.trackInvite(e)})),i(),Promise.resolve({shouldClear:!0,shouldRefocus:!0})):(0,O.applyChatRestrictions)({target:t.channelTextAreaRef.current,type:I.TextareaTypes.FORM,content:l,channel:n}).then((function(e){return e.valid?(u.default.sendMessage(n.id,d,!0,{activityAction:f}).then((function(e){return t.trackInvite(e)})),i(),{shouldClear:!1,shouldRefocus:!1}):{shouldClear:!1,shouldRefocus:!1}}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,A(t,n);var i=r.prototype;return i.componentDidMount=function(){this.fetchApplication()},i.componentDidUpdate=function(e){this.props.activity.application_id!==e.activity.application_id&&this.fetchApplication()},i.fetchApplication=function(){var e=this.props,t=e.activity,n=e.application;null!=t.application_id&&null==n&&l.default.fetchApplication(t.application_id)},i.renderTitle=function(){switch(this.props.activity.type){case I.ActivityTypes.LISTENING:return T.default.Messages.INVITE_EMBED_LISTENING_INVITE;case I.ActivityTypes.PLAYING:case I.ActivityTypes.STREAMING:default:return T.default.Messages.INVITE_EMBED_GAME_INVITE}},i.render=function(){var e=this,t=this.state,n=t.textValue,r=t.richValue,o=t.textFocused,i=this.props,l=i.activity,u=i.channel,s=i.activityActionType,f=i.cooldown,p=i.application,v=i.transitionState,y=i.onClose,m=f>0,_=m?T.default.Messages.CHANNEL_SLOWMODE_COOLDOWN.format({seconds:Math.round((f+1e3)/1e3)}):null;return N(g.ModalRoot,{size:g.ModalSize.SMALL,transitionState:v,"aria-label":this.renderTitle()},void 0,N(g.ModalHeader,{separator:!1},void 0,N(S.default,{tag:S.default.Tags.H2,size:S.default.Sizes.SIZE_20},void 0,this.renderTitle())),N(g.ModalContent,{},void 0,N("div",{className:C.default.subHeader},void 0,T.default.Messages.MESSAGE_PREVIEW),N(d.default,{activityActionType:s,activity:l,className:C.default.preview,application:p,partyId:null!=l.party?l.party.id:null,isPreview:!0}),N("div",{className:C.default.subHeader},void 0,T.default.Messages.ADD_A_COMMENT_OPTIONAL),a.createElement(c.default,{className:C.default.textArea,textValue:n,richValue:r,focused:o,channel:u,onChange:this.handleTextChange,onSubmit:this.handleShare,type:I.TextareaTypes.FORM,ref:this.channelTextAreaRef})),N(g.ModalFooter,{},void 0,N(E.default,{text:_},void 0,(function(t){return a.createElement("div",t,N(h.default,{disabled:m,onClick:e.handleShare},void 0,T.default.Messages.INVITE_EMBED_SEND_INVITE))})),N(h.default,{look:h.default.Looks.LINK,onClick:y},void 0,T.default.Messages.CANCEL)))},r}(a.PureComponent);R.displayName="ActivityInvite";var L=i.default.connectStores([_.default,y.default],(function(e){var t=e.channel,n=e.activity;return{cooldown:_.default.getSlowmodeCooldownGuess(t.id),application:null!=n.application_id?y.default.getGame(n.application_id):v.SpotifyApplication}}))(R);t.default=L},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,d:"M9 16h6v-6h4l-7-7-7 7h4v6zm-4 2h14v2H5v-2z"}))}d.displayName="Upload"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=R();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=P(n(9)),i=n(680),l=n(3),u=P(n(105)),s=n(1246),d=P(n(712)),f=P(n(8333)),c=P(n(1219)),p=P(n(201)),v=P(n(40)),y=P(n(200)),m=P(n(10085)),_=P(n(39)),h=n(8467),E=P(n(10086)),g=n(8349),S=P(n(10088)),O=n(9045),I=P(n(9220)),T=P(n(10090)),C=P(n(10091)),b=P(n(10122)),M=n(1),N=P(n(6)),A=P(n(7838));function P(e){return e&&e.__esModule?e:{default:e}}function R(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return R=function(){return e},e}function L(){return(L=Object.assign||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}).apply(this,arguments)}function D(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function w(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}n(8709);function j(e){var t,n,r,f,c,p=e.className,y=e.messageGroupSpacing,m=e.scrollerClassName,_=e.channel,h=e.messages,S=e.unreadCount,I=e.showNewMessagesBar,P=e.messageDisplayCompact,R=e.channelStream,j=e.uploads,k=e.hasUnreads,U=e.editingMessageId,G=e.fontSize,F=e.keyboardModeEnabled,B=a.useMemo((function(){return P?(0,O.generateMessageSpecs)(!0,30,4,8,G,y):(0,O.generateMessageSpecs)(!1,26,4,8,G,y)}),[P,G,y]),H=(0,C.default)({messages:h,channel:_,compact:P,hasUnreads:k,focusId:U,placeholderHeight:B.totalHeight}),x=(0,T.default)({scrollerRef:H.ref,isEditing:null!=U,keyboardModeEnabled:F,hasMoreAfter:h.hasMoreAfter}),V=function(e){return(0,l.useStateFromStores)([d.default],(function(){return v.default.can(M.Permissions.READ_MESSAGE_HISTORY,e)?null:d.default.getViewingRolesTimestamp(e.getGuildId())}))}(_),W=(0,b.default)({channel:_,messages:h,unreadCount:S,showNewMessagesBar:I,messageDisplayCompact:P,channelStream:R,uploads:j,loadMore:H.loadMore,scrollManager:H,specs:B,viewingRolesMessageHistoryHackTimestamp:V}),Y=W.channelStreamMarkup,z=W.newMessagesBar,K=W.jumpToPresentBar;n=H.ref,r=a.useCallback((function(){var e;return null===(e=n.current)||void 0===e?void 0:e.scrollToBottom()}),[n]),f=a.useCallback((function(){var e;return null===(e=n.current)||void 0===e?void 0:e.scrollPageUp({animate:!u.default.useReducedMotion})}),[n]),c=a.useCallback((function(){var e;return null===(e=n.current)||void 0===e?void 0:e.scrollPageDown({animate:!u.default.useReducedMotion})}),[n]),(0,g.useComponentAction)({event:M.ComponentActions.SCROLLTO_PRESENT,handler:r}),(0,g.useComponentAction)({event:M.ComponentActions.SCROLL_PAGE_UP,handler:f}),(0,g.useComponentAction)({event:M.ComponentActions.SCROLL_PAGE_DOWN,handler:c});var $=(0,s.useFocusJumpSection)(),Z=(0,i.getContainerPropsFromNavigator)(x),q=Z.ref,X=w(Z,["ref"]),J=a.useCallback((function(e){var t;H.ref.current=e,q.current=null!==(t=null==e?void 0:e.getScrollerNode())&&void 0!==t?t:null}),[]);return D(i.ListNavigatorProvider,{navigator:x},void 0,D("div",{className:(0,o.default)(A.default.messagesWrapper,p,"group-spacing-"+y)},void 0,z,a.createElement(E.default,L({ref:J,className:(0,o.default)(m,A.default.scroller),contentClassName:A.default.scrollerContent,onResize:H.handleResize,onScroll:H.handleScroll,onMouseDown:H.handleMouseDown,onMouseUp:H.handleMouseUp},$,{tabIndex:-1}),a.createElement("div",L({className:A.default.scrollerInner,"aria-label":N.default.Messages.CHANNEL_MESSAGES_A11Y_LABEL.format({channelName:_.name})},X,{role:"log","aria-describedby":F?"messagesNavigationDescription":void 0,"aria-live":"off"}),D("span",{className:A.default.navigationDescription,id:"messagesNavigationDescription","aria-hidden":!0},void 0,N.default.Messages.CHANNEL_MESSAGES_A11Y_DESCRIPTION),Y,D("div",{className:(0,o.default)((t={},t[A.default.scrollerSpacer]=!0,t[A.default.empty]=0===h.length&&!h.loadingMore,t))}))),K))}j.displayName="Messages";var k=a.memo(j,(function(e,t){return null!=e.isHidden&&null!=t.isHidden&&e.isHidden&&t.isHidden}));var U=a.memo((function(e){var t=e.channel,n=e.forceCompact,r=void 0!==n&&n,o=w(e,["channel","forceCompact"]),i=function(e){var t=e.getGuildId(),n=(0,l.useStateFromStores)([c.default],(function(){return null==t||c.default.canChatInGuild(t)}),[t]),r=(0,l.useStateFromStoresObject)([v.default],(function(){return{canManageMessages:v.default.can(M.Permissions.MANAGE_MESSAGES,e),permissionVersion:null!=t?v.default.getGuildVersion(t):null}}),[e,t]),a=r.canManageMessages;return{canChat:n,permissionVersion:r.permissionVersion,canManageMessages:a}}(t),s=i.canManageMessages,d=i.permissionVersion,E=i.canChat,g=function(){var e=(0,l.useStateFromStoresObject)([_.default],(function(){return{messageDisplayCompact:_.default.messageDisplayCompact,renderSpoilers:_.default.renderSpoilers}})),t=e.messageDisplayCompact,n=e.renderSpoilers,r=(0,l.useStateFromStoresObject)([u.default],(function(){return{messageGroupSpacing:u.default.messageGroupSpacing,fontSize:u.default.fontSize,keyboardModeEnabled:u.default.keyboardModeEnabled}}));return{messageGroupSpacing:r.messageGroupSpacing,messageDisplayCompact:t,renderSpoilers:n,fontSize:r.fontSize,keyboardModeEnabled:r.keyboardModeEnabled}}(),O=g.messageGroupSpacing,T=g.fontSize,C=g.messageDisplayCompact,b=g.renderSpoilers,N=g.keyboardModeEnabled,A=function(e){var t=(0,l.useStateFromStores)([p.default],(function(){return p.default.getMessages(e.id)}),[e.id]),n=(0,l.useStateFromStores)([y.default],(function(){return y.default.getOldestUnreadMessageId(e.id)||null}),[e]),r=a.useMemo((function(){return(0,S.default)({messages:t,oldestUnreadMessageId:n})}),[t,e,n]),o=(0,l.useStateFromStores)([f.default],(function(){var t;return null===(t=f.default.getEditingMessage(e.id))||void 0===t?void 0:t.id}));return{messages:t,channelStream:r,oldestUnreadMessageId:n,editingMessageId:o}}(t),P=A.messages,R=A.channelStream,j=A.oldestUnreadMessageId,U=A.editingMessageId;return D(h.SpoilerDisplayContext.Provider,{value:(0,I.default)(b,s)},void 0,a.createElement(k,L({},o,{messageGroupSpacing:O,showNewMessagesBar:!0,channel:t,messageDisplayCompact:r||C,messages:P,channelStream:R,permissionVersion:d,uploads:(0,l.useStateFromStores)([m.default],(function(){return m.default.getFiles(t.id)}),[t]),unreadCount:(0,l.useStateFromStores)([y.default],(function(){return y.default.getUnreadCount(t.id)}),[t]),hasUnreads:null!=j,canChat:E,editingMessageId:U,fontSize:T,keyboardModeEnabled:N})))}));t.default=U},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),a=i(n(2)),o=i(n(201));n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(){return(u=Object.assign||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}).apply(this,arguments)}var s=Object.freeze([]),d={},f={},c={},p={};function v(e,t){var n=d[e];return null!=n&&(d[e]=n.filter((function(e){return e.id!==t})),delete f[t],delete c[t],n.length!==d[e].length)}var y=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(o.default)},a.getFiles=function(e){return d[e]||s},a.getMessageForFile=function(e){return c[e]},a.getUrisForMessageId=function(e){return p[e]},r}(r.default.Store))(a.default,{UPLOAD_START:function(e){var t=e.channelId,n=e.file,r=e.uploader,a=e.message,o=d[t]||s;f[n.id]=r,d[t]=[].concat(o,[n]),c[n.id]=a;var i=n.uris;null!=i&&(p[a.id]=u({},n,{uris:i}))},UPLOAD_PROGRESS:function(e){var t=e.channelId,n=e.file,r=d[t];if(null==r)return!1;d[t]=r.map((function(e){return e.id===n.id?u({},e,{},n):e}));var a=c[n.id];null!=a&&p[a.id]&&(p[a.id]=u({},p[a.id],{},n))},UPLOAD_COMPLETE:function(e){return v(e.channelId,e.file.id)},UPLOAD_FAIL:function(e){return v(e.channelId,e.file.id)},UPLOAD_CANCEL_REQUEST:function(t){var n=t.file,r=f[n.id];if(null==r)return!1;e((function(){return r.cancel()}))},UPLOAD_RESTORE_FAILED_UPLOAD:function(e){var t=e.file,n=e.messageId;p[n]=t}});t.default=y}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ManagedReactiveScrollerRef",{enumerable:!0,get:function(){return o.ManagedReactiveScrollerRef}}),Object.defineProperty(t,"ManagedReactiveScrollerProps",{enumerable:!0,get:function(){return o.ManagedReactiveScrollerProps}}),Object.defineProperty(t,"ScrollerState",{enumerable:!0,get:function(){return o.ScrollerState}}),Object.defineProperty(t,"ScrollEvent",{enumerable:!0,get:function(){return o.ScrollEvent}}),t.default=t.PinToBottomScrollerAuto=void 0;var r=n(741),a=u(n(9)),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(10087)),i=u(n(381));function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){return e&&e.__esModule?e:{default:e}}var s=(0,o.default)((0,a.default)(i.default.auto,i.default.disableScrollAnchor),ResizeObserver||r.ResizeObserver);t.PinToBottomScrollerAuto=s;var d=s;t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,l.getScrollbarSpecs)(e),r=new Map,s=new t((function(e){e.forEach((function(e){var t,n=e.target;null===(t=r.get(n))||void 0===t||t(e)}))}));return a.forwardRef((function(t,d){var p,v=t.children,y=t.className,m=t.onResize,_=t.contentClassName,h=t.onScroll,E=t.dir,g=void 0===E?"ltr":E,S=t.paddingFix,O=void 0===S||S,I=t.style,T=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(t,["children","className","onResize","contentClassName","onScroll","dir","paddingFix","style"]),C=a.useRef(null),b=a.useRef(null),M=a.useState(!1),N=M[0],A=M[1],P=(0,l.useUncachedScrollerState)(),R=P.scrollerRef,L=P.getScrollerState,D=(0,l.useScrollSpring)(R);a.useImperativeHandle(d,(function(){return c({getScrollerNode:function(){return R.current},isScrolling:function(){return null!=C.current},getScrollerState:L},(0,l.getAnimatedScrollHelpers)(R,L,D))}),[R,L,D]);var w=a.useCallback((function(e){null==C.current?A(!0):clearTimeout(C.current),C.current=setTimeout((function(){C.current=null,A(!1)}),200),null!=h&&h(e)}),[h]);return(0,l.usePaddingFixes)({paddingFix:O,dir:g,className:y,scrollerRef:R,specs:n}),(0,l.useResizeObserverSubscription)({ref:R,key:"container",onUpdate:m,resizeObserver:s,listenerMap:r}),(0,l.useResizeObserverSubscription)({ref:b,key:"content",onUpdate:m,resizeObserver:s,listenerMap:r}),a.createElement("div",c({ref:R,className:(0,o.default)(y,(p={},p[e]=!0,p[u.default.scrolling]=N,p)),style:(0,l.getMergedOrientationStyles)(I),dir:g,onScroll:w},T),a.useMemo((function(){return f(i.FocusRingScope,{containerRef:b},void 0,a.createElement("div",{ref:b,className:(0,o.default)(_,u.default.content)},v))}),[v,_]))}))},Object.defineProperty(t,"ScrollerState",{enumerable:!0,get:function(){return l.ScrollerState}}),Object.defineProperty(t,"ScrollEvent",{enumerable:!0,get:function(){return l.ScrollEvent}});var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=n(88),l=n(414),u=s(n(381));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r=e.messages,u=e.oldestUnreadMessageId,s=[],d=null!=u?o.default.extractTimestamp(u):null;return r.forEach((function(e){var f=(0,a.dateFormat)(e.timestamp,"LL");f!==t&&(null!=t&&s.push({type:l.ChannelStreamTypes.DIVIDER,content:f,contentKey:f}),t=f);var c,p=s[s.length-1];e.blocked&&(null==p||p.type!==l.ChannelStreamTypes.MESSAGE_GROUP_BLOCKED?(c={type:l.ChannelStreamTypes.MESSAGE_GROUP_BLOCKED,content:[],key:e.id},s.push(c)):p=(c=p).content[c.content.length-1]),u===e.id&&null!=d?null!=p&&p.type===l.ChannelStreamTypes.DIVIDER?(p.unreadId=e.id,d=null):e.blocked&&c?(c.content.push({type:l.ChannelStreamTypes.DIVIDER,unreadId:e.id}),c.hasUnread=!0,d=null):(s.push({type:l.ChannelStreamTypes.DIVIDER,unreadId:e.id}),d=null):null!=d&&o.default.extractTimestamp(e.id)>d&&(s.push({type:l.ChannelStreamTypes.DIVIDER,unreadId:e.id}),d=null),(0,i.isNewGroupItem)(p,e)&&(n=e.id);var v={type:e.type===l.MessageTypes.THREAD_STARTER_MESSAGE?l.ChannelStreamTypes.THREAD_STARTER_MESSAGE:l.ChannelStreamTypes.MESSAGE,content:e,groupId:n},y=r.jumpSequenceId,m=r.jumpFlash,_=r.jumpTargetId;m&&e.id===_&&null!=y&&(v.flashKey=y),r.jumpTargetId===e.id&&(v.jumpTarget=!0),e.blocked&&c?(c.content.push(v),v.jumpTarget&&(c.hasJumpTarget=!0)):s.push(v)})),s};var r,a=n(1161),o=(r=n(97))&&r.__esModule?r:{default:r},i=n(8667),l=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.messages,n=e.groupSpacing,r=void 0===n?0:n,o=e.compact,l=void 0!==o&&o,u=e.attachmentSpecs,s=null!=u?i.default.random(0,t-1):-1,d=i.default.random(80,120),p=i.default.random(.1,.2);return a.createElement(a.Fragment,null,new Array(t).fill(null).map((function(e,t){return f(m,{compact:l,usernameWidth:d,usernameOpacity:p,groupStart:0===t,attachmentSpecs:t===s?u:void 0,style:0===t?{marginTop:c(r)}:void 0},t)})))},t.HEIGHT_ATTACHMEMT_PADDING=t.HEIGHT_COMPACT_MESSAGE=t.HEIGHT_COMPACT_MESSAGE_START=t.HEIGHT_COZY_MESSAGE=t.HEIGHT_COZY_MESSAGE_START=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),i=u(n(8)),l=u(n(7821));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){return e/16+"rem"}function p(){return f("div",{className:l.default.avatar,style:{opacity:.08}})}function v(e){var t,n=e.width,r=e.opacity,a=e.className;return f("div",{className:(0,o.default)(a,(t={},t[l.default.blob]=!0,t)),style:{width:c(n),opacity:null!=r?r:i.default.random(.02,.08)}})}p.displayName="Avatar",v.displayName="ContentBlob";var y=f(p,{});function m(e){var t,n,r=e.groupStart,u=void 0!==r&&r,s=e.compact,c=void 0!==s&&s,p=e.attachmentSpecs,m=e.usernameWidth,_=e.usernameOpacity,h=e.className,E=e.style,g=c?50:i.default.random(40,50);if(!c&&u)n=a.createElement(a.Fragment,null,y,f("h2",{className:l.default.header},void 0,f(v,{width:m,opacity:_,className:l.default.username})));else if(c){var S;n=a.createElement(a.Fragment,null,c&&f(v,{width:g,className:(0,o.default)((S={},S[l.default.compactTimestamp]=!0,S[l.default.hidden]=!u,S))}),f("h2",{className:l.default.header},void 0,f(v,{width:m,opacity:_})))}return f("div",{"aria-hidden":!0,className:(0,o.default)(h,(t={},t[l.default.wrapper]=!0,t[l.default.compact]=c,t[l.default.cozy]=!c,t)),style:E},void 0,f("div",{className:l.default.contents},void 0,n,f("div",{className:l.default.content},void 0,new Array(i.default.random(3,8)).fill(null).map((function(){return i.default.random(30,80)})).map((function(e,t){return f(v,{width:e,opacity:.06},t)})))),null!=p&&f("div",{className:l.default.attachmentContainer},void 0,f("div",{className:l.default.attachment,style:d({opacity:.03},p)})))}m.displayName="MessagePlaceholder";t.HEIGHT_COZY_MESSAGE_START=44;t.HEIGHT_COZY_MESSAGE=22;t.HEIGHT_COMPACT_MESSAGE_START=26;t.HEIGHT_COMPACT_MESSAGE=26;t.HEIGHT_ATTACHMEMT_PADDING=6},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.scrollerRef,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["scrollerRef"]),s=r.useCallback((function(){var e=t.current;return null==e?Promise.resolve():new Promise((function(t){e.scrollToBottom({callback:function(){return requestAnimationFrame(t)}})}))}),[]),d=r.useCallback((function(){var e=t.current;return null==e?Promise.resolve():new Promise((function(t){e.scrollToTop({callback:function(){return requestAnimationFrame(t)}})}))}),[]),f=r.useCallback((function(e){var r;if(n.keyboardModeEnabled){var a=document.querySelector(e);null!=a&&(null===(r=t.current)||void 0===r||r.scrollIntoViewNode({node:a,padding:4*i.MESSAGE_PADDING,callback:function(){return null==a?void 0:a.focus()}}))}}),[n.keyboardModeEnabled]),c=r.useCallback((function(){n.hasMoreAfter||o.ComponentDispatch.dispatch(u.ComponentActions.TEXTAREA_FOCUS)}),[n.hasMoreAfter]),p=(0,a.default)({id:l.MESSAGE_ID_PREFIX,preserveFocusPosition:!1,setFocus:f,isEnabled:n.keyboardModeEnabled&&!n.isEditing,scrollToStart:d,scrollToEnd:s,onNavigateNextAtEnd:c});return r.useLayoutEffect((function(){var e=function(e){var t=e.atEnd;void 0!==t&&t?p.focusLastVisibleItem():p.focusFirstVisibleItem()};return o.ComponentDispatch.subscribe(u.ComponentActions.FOCUS_MESSAGES,e),function(){o.ComponentDispatch.unsubscribe(u.ComponentActions.FOCUS_MESSAGES,e)}}),[p]),p},Object.defineProperty(t,"ListNavigator",{enumerable:!0,get:function(){return a.ListNavigator}});var r=d(n(0)),a=d(n(680)),o=n(121),i=n(1254),l=n(8541),u=n(1);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logMessageChanges=function(e,t){0},t.default=function(e){var t=e.messages,n=e.channel,a=e.compact,o=e.hasUnreads,i=e.focusId,l=e.placeholderHeight,u=r.useState((function(){return new S({messages:t,channel:n,compact:a,hasUnreads:o,focusId:i,placeholderHeight:l})}))[0];return u.getSnapshotBeforeUpdate(i),r.useLayoutEffect((function(){return u.mergePropsAndUpdate({messages:t,channel:n,compact:a,hasUnreads:o,focusId:i,placeholderHeight:l})})),r.useEffect((function(){return function(){return u.cleanup()}}),[u]),u},t.MessagesScrollManager=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=m(n(8)),o=m(n(1226)),i=m(n(390)),l=n(8321),u=m(n(105)),s=n(42),d=m(n(715)),f=m(n(97)),c=n(1254),p=n(8707),v=m(n(10121)),y=n(1);function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(){return(h=Object.assign||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}).apply(this,arguments)}function E(e){if(null==e.jumpTargetId||!e.ready)return null;var t=e.jumpTargetId,n=e.jumpTargetOffset;if(e.has(t)||!e.hasMoreBefore&&t===e.channelId){if(0===n)return t;var r=e.getByIndex(e.indexOf(t)+n);return(null==r?void 0:r.id)||t}var a=[t].concat(e.map((function(e){return e.id}))).sort(f.default.compare),o=a.indexOf(t),i=a[o+(Math.abs(n)>0?n:1)]||a[o-1];return null!=i?i:null}var g={scrollTop:0,scrollHeight:0,offsetHeight:0},S=function(){function e(e){var t=this;this.ref=r.createRef(),this.automaticAnchor=null,this.messageFetchAnchor=null,this.focusAnchor=null,this.jumping=!1,this.attemptedFetch=!1,this.dragging=!1,this.prevScrollTop=null,this.anchorTimeout=null,this.initialScrollTop=null,this.acking=!1,this.scrollCounter=0,this.offsetHeightCache=0,this.scrollHeightCache=0,this.scrollTopCache=-1,this.handleScroll=function(e){var n;if(t.isInitialized()){var r=t.getScrollerState();if(r.offsetHeight!==t.offsetHeightCache||r.scrollHeight!==t.scrollHeightCache)t.scrollCounter=0,clearTimeout(t.anchorTimeout),t.isPinned()||(null==t.automaticAnchor?t.automaticAnchor=t.findAnchor():t.updateAutomaticAnchor(r.scrollTop,!0)),clearTimeout(t.anchorTimeout),t.fixScrollPosition(r.offsetHeight,r.scrollHeight),t.scrollTopCache=r.scrollTop;else{if(null!=e&&e.target!==(null===(n=t.ref.current)||void 0===n?void 0:n.getScrollerNode()))return;t.scrollTopCache!==r.scrollTop&&(t.pinned=t.isScrolledToBottom(r),t.scrollCounter=Math.min(t.scrollCounter+1,5),t.pinned?t.cleanAutomaticAnchor():t.automaticAnchor?t.updateAutomaticAnchor(r.scrollTop,!0):t.automaticAnchor=t.findAnchor(),t.scrollTopCache=r.scrollTop,clearTimeout(t.anchorTimeout),t.anchorTimeout=setTimeout((function(){t.scrollCounter=0,t.anchorTimeout=null,t.prevScrollTop=null;var e=t.getScrollerState(),n=e.scrollHeight,r=e.offsetHeight;t.isHeightChange(r,n)?t.handleScroll():(t.cleanAutomaticAnchor(),t.isPinned()||(t.automaticAnchor=t.findAnchor()))}),35))}if(t.handleFocusAnchorScroll(r.scrollTop,r.offsetHeight),t.updateStoreDimensionsDebounced(),t.isScrollLoadingDisabled())return t.handleScrollSpeed(r);var a=t.isInScrollTriggerLoadingRegion(r);1===a?t.loadMore():2===a?t.loadMore(!0):t.enableAutomaticAck(),t.handleScrollSpeed(r)}},this.handleResize=function(e,n){var r=t.offsetHeightCache,a=t.scrollHeightCache;"container"===n?r=e.contentRect.height:"content"===n&&(a=e.contentRect.height),t.isHeightChange(r,a)&&t.fixScrollPosition(r,a)},this.handleMouseDown=function(e){e.target===e.currentTarget&&(t.dragging=!0)},this.handleMouseUp=function(){t.dragging=!1,t.handleScroll()},this.loadMore=function(e){void 0===e&&(e=!1);var n,r,a=t.props.messages;if(e){var o=a.last();null!=o&&(r=o.id)}else{var l=a.first();null!=l&&(n=l.id)}t.messageFetchAnchor=t.findFetchAnchor(e),t.loading=!0,i.default.fetchMessages({channelId:t.props.channel.id,before:n,after:r,limit:y.MAX_MESSAGES_PER_CHANNEL,truncate:!0})},this.updateStoreDimensionsDebounced=a.default.debounce(this.updateStoreDimensions,200),this.props=e,this.loading=e.messages.loadingMore;var n=d.default.getChannelDimensions(e.channel.id);null!=e.messages.jumpTargetId?this.pinned=!1:(this.initialScrollTop=(null==n?void 0:n.scrollTop)||null,this.pinned=null==n)}var t=e.prototype;return t.isReady=function(){return this.props.messages.ready},t.isLoading=function(){return this.loading||this.props.messages.loadingMore},t.isPinned=function(){return this.pinned},t.isJumping=function(){return this.jumping},t.isDragging=function(){return this.dragging},t.isInitialized=function(){return void 0===this.initialScrollTop},t.isScrollLoadingDisabled=function(){return this.isLoading()||!this.isInitialized()||this.isJumping()||this.isDragging()},t.isActivelyScrolling=function(){return this.scrollCounter>=5},t.isScrolledToBottom=function(e){var t=void 0===e?this.getScrollerState():e;return t.scrollTop>=t.scrollHeight-t.offsetHeight-c.MESSAGE_PADDING&&!this.props.messages.hasMoreAfter},t.mergePropsAndUpdate=function(e){var t=this.props.messages,n=this.props.focusId;this.props=h({},e);var r=this.getScrollerState(),a=r.offsetHeight,o=r.scrollHeight,l=this.isHeightChange(a,o);if(this.offsetHeightCache=a,this.scrollHeightCache=o,this.loading=e.messages.loadingMore,!this.isInitialized()&&!this.isReady())return null==e.messages.jumpTargetId&&this.scrollTo(Number.MAX_SAFE_INTEGER),void(this.isLoading()||e.messages.error||this.attemptedFetch||(this.attemptedFetch=!0,i.default.fetchMessages({channelId:e.channel.id,limit:y.MAX_MESSAGES_PER_CHANNEL,truncate:!0})));if(this.isInitialized()){if(null!=e.messages.jumpTargetId){if(this.isLoading())return;var u=E(e.messages);if(null!=u&&!this.isJumping()&&e.messages.jumpSequenceId!==t.jumpSequenceId){var s,d=t.first();return null!=d&&e.messages.last()!==t.last()&&e.messages.first()!==t.first()&&(s=f.default.extractTimestamp(d.id)),void this.scrollToMessage(u,!0,s)}if(this.isJumping())return void(null!=u?this.scrollToMessage(u,!0):this.jumping=!1)}if(e.messages.jumpedToPresent&&t.jumpSequenceId!==e.messages.jumpSequenceId)return this.jumping=!0,this.scrollTo(0),void this.setScrollToBottom(!0);var v=e.messages.last();if(null==v||v.state!==y.MessageStates.SENDING){var m=this.props.focusId;if(null!=m&&n!==m){var _,g=(0,p.getElementFromMessageId)(m);if(null!=g)return void(null===(_=this.ref.current)||void 0===_||_.scrollIntoViewNode({node:g,padding:c.MESSAGE_PADDING,callback:this.handleScroll}))}l&&this.fixScrollPosition(a,o)}else this.setScrollToBottom()}else this.restoreScroll()},t.getAnchorData=function(e,t,n){var r,a=(0,p.getElementFromMessageId)(e),o=null===(r=this.ref.current)||void 0===r?void 0:r.getScrollerNode();if(!(a instanceof HTMLElement)||null==o)return null;var i=a.offsetHeight,l=(0,v.default)(a,o),u=l-t;return null!=n&&(u=Math.max(-i,Math.min(n,u))),{id:e,offsetFromTop:u,offsetTop:l,offsetHeight:i,clamped:null!=u}},t.cleanAutomaticAnchor=function(){this.automaticAnchor=null},t.findAnchor=function(){for(var e,t=this.props,n=t.messages,r=t.hasUnreads,a=t.channel,o=this.getScrollerState().scrollTop,i=r&&o>=c.NEW_MESSAGE_BAR_BUFFER?c.NEW_MESSAGE_BAR_BUFFER:0,l=null,u=function(e){var t;return-1===e?a.id:null===(t=n._array[e])||void 0===t?void 0:t.id},s=-1;e=u(s);s++){var d=this.getAnchorData(e,o);if(null!=d&&(d.offsetTop>=o+i||s===n.length-1)){l=d;break}}return l},t.findFetchAnchor=function(e){for(var t,n=this.props.messages,r=this.getScrollerState().scrollTop,a=e?-1:1,o=null,i=n._array.length-1,l=e?i:0;t=n._array[l];l+=a){var u=this.getAnchorData(t.id,r);if(null!=u){o=u;break}}return o},t.getAnchorFixData=function(){for(var e=0,t=[this.focusAnchor,this.isLoading()?null:this.messageFetchAnchor,this.automaticAnchor];e<t.length;e++){var n=t[e];if(null!=n){var r=(0,p.getElementFromMessageId)(n.id);if(r instanceof HTMLElement){var a=n===this.messageFetchAnchor?n.offsetHeight-r.offsetHeight:0;return{node:r,fixedScrollTop:r.offsetTop-(n.offsetFromTop+a)}}}}return null},t.fixAnchorScrollPosition=function(){var e=this.getAnchorFixData();if(null!=e){var t,n=e.node,r=e.fixedScrollTop;if(this.focusAnchor)this.isPinned()?this.scrollTo(Number.MAX_SAFE_INTEGER,!1,this.handleScroll):this.mergeTo(r,this.handleScroll),null===(t=this.ref.current)||void 0===t||t.scrollIntoViewNode({node:n,padding:c.MESSAGE_PADDING,callback:this.handleScroll});else this.mergeTo(r,this.handleScroll);this.isActivelyScrolling()?this.automaticAnchor=null:this.automaticAnchor=this.findAnchor(),this.isLoading()||(this.messageFetchAnchor=null)}else this.handleScroll()},t.hasAnchor=function(){return null!=this.focusAnchor||null!=this.messageFetchAnchor||null!=this.automaticAnchor},t.updateFocusAnchor=function(e,t,n){var r=this.focusAnchor=null!=e?this.getAnchorData(e,t):null;null!=r&&(r.offsetFromTop>=n||t>r.offsetTop+r.offsetHeight)&&(this.focusAnchor=null)},t.handleFocusAnchorScroll=function(e,t){var n;this.updateFocusAnchor(null===(n=this.focusAnchor)||void 0===n?void 0:n.id,e,t)},t.updateFetchAnchor=function(e,t,n){var r,a=null===(r=this.ref.current)||void 0===r?void 0:r.getScrollerNode();null!=this.messageFetchAnchor&&null!=a&&(this.messageFetchAnchor=this.getAnchorData(this.messageFetchAnchor.id,e,this.isInPlaceholderRegion({scrollTop:e,offsetHeight:t,scrollHeight:n})>0?t:void 0))},t.updateAutomaticAnchor=function(e,t){var n;void 0===t&&(t=!1);var r=null===(n=this.ref.current)||void 0===n?void 0:n.getScrollerNode();if(null!=this.automaticAnchor&&null!=r){var a=this.getAnchorData(this.automaticAnchor.id,e);t&&null!=a&&null!=this.automaticAnchor&&(a.offsetFromTop=this.automaticAnchor.offsetFromTop),this.automaticAnchor=a}},t.getScrollerState=function(){var e;return(null===(e=this.ref.current)||void 0===e?void 0:e.getScrollerState())||g},t.isHeightChange=function(e,t){return e!==this.offsetHeightCache||t!==this.scrollHeightCache},t.isInPlaceholderRegion=function(e){var t=e.scrollTop,n=e.offsetHeight,r=e.scrollHeight,a=this.props,o=a.messages,i=a.placeholderHeight,l=i,u=r-n-i;return o.hasMoreBefore&&t<l&&r>n?1:o.hasMoreAfter&&t>=u?2:0},t.isInScrollTriggerLoadingRegion=function(e){var t=e.scrollTop,n=e.offsetHeight,r=e.scrollHeight,a=this.props.messages;return a.hasMoreBefore&&t<=this.getOffsetToTriggerLoading("top",e)&&r>n?1:a.hasMoreAfter&&t>=this.getOffsetToTriggerLoading("bottom",e)?2:0},t.handleScrollSpeed=function(e){if(!this.isJumping()&&!this.isDragging()){var t=e.scrollTop,n=e.offsetHeight,r=e.scrollHeight,a=this.prevScrollTop,o=this.props.placeholderHeight;if(this.prevScrollTop=t,null!=a){var i=this.isInPlaceholderRegion(e),l=t-a;0!==i&&(1===i&&t+l<=0?(this.mergeTo(o-n),this.prevScrollTop=o-n):2===i&&t+l>=r-n&&(this.mergeTo(r-o),this.prevScrollTop=r-o))}}},t.enableAutomaticAck=function(){var e=this;this.isInitialized()&&!this.acking&&(this.acking=!0,this.updateStoreDimensions((function(){(0,l.enableAutomaticAck)(e.props.channel.id)})))},t.fixScrollPosition=function(e,t){this.offsetHeightCache=e,this.scrollHeightCache=t,this.fixJumpTarget(),this.isPinned()&&null==this.messageFetchAnchor&&null==this.focusAnchor?this.scrollTo(Number.MAX_SAFE_INTEGER,!1,this.handleScroll):this.fixAnchorScrollPosition()},t.fixJumpTarget=function(){if(this.isJumping()){var e=this.props,t=e.messages,n=e.hasUnreads;if(null!=t.jumpTargetId){var r=E(t);if(null==r)return;var a=(0,p.getElementFromMessageId)(r);a instanceof HTMLElement?this.scrollTo(this.getOffsetOrientationFromNode(a,"middle",n?c.NEW_MESSAGE_BAR_BUFFER:c.MESSAGE_PADDING),!0):this.scrollToNewMessages(!0,"middle")}else this.scrollTo(Number.MAX_SAFE_INTEGER,!0)}},t.scrollToNewMessages=function(e,t,n){var r=this;void 0===e&&(e=!1),void 0===t&&(t="top");var a=document.getElementById(c.NEW_MESSAGE_BAR_ID),o=function(){r.jumping=!1,r.automaticAnchor=r.findAnchor(),null!=n&&n(),r.handleScroll()};this.pinned=!1,this.jumping=e,null!=a?this.scrollTo(this.getOffsetOrientationFromNode(a,t,c.NEW_MESSAGE_BAR_BUFFER),e,o):this.scrollTo(this.getOffsetToPreventLoading("top"),e,o)},t.getOffsetOrientationFromNode=function(e,t,n){var r;void 0===n&&(n=0);var a=null===(r=this.ref.current)||void 0===r?void 0:r.getScrollerNode();if(null==a)return 0;var o=this.getScrollerState(),i=(0,v.default)(e,a);return"middle"===t?Math.min(i-.5*o.offsetHeight+.5*e.offsetHeight-8,i-n):i-n},t.restoreScroll=function(){if(!this.isInitialized()){var e=this.initialScrollTop;this.initialScrollTop=void 0;var t=E(this.props.messages);null!=t?this.scrollToMessage(t,!1):this.props.hasUnreads?this.scrollToNewMessages():null!=e?this.scrollTo(e+this.props.placeholderHeight,!1,this.handleScroll):this.setScrollToBottom()}},t.scrollTo=function(e,t,n){var r;void 0===t&&(t=!1),null===(r=this.ref.current)||void 0===r||r.scrollTo({to:e,animate:!u.default.useReducedMotion&&t,callback:n}),this.isPinned()?this.updateStoreDimensions():this.updateStoreDimensionsDebounced()},t.mergeTo=function(e,t){var n;null===(n=this.ref.current)||void 0===n||n.mergeTo({to:e,callback:t}),this.isPinned()?this.updateStoreDimensions():this.updateStoreDimensionsDebounced()},t.setScrollToBottom=function(e){var t=this;void 0===e&&(e=!1);var n=this.props,r=n.messages,a=n.channel;r.hasMoreAfter?function(e){i.default.jumpToPresent(e.id,y.MAX_MESSAGES_PER_CHANNEL),(0,s.transitionToGuild)(e.getGuildId()||y.ME,e.id)}(a):this.scrollTo(Number.MAX_SAFE_INTEGER,e,(function(){t.jumping=!1,t.handleScroll()}))},t.updateStoreDimensions=function(e){if(!this.isJumping()&&this.isInitialized()){var t=this.props.channel;if(this.isPinned())o.default.clearChannelDimensions(t.id,e);else{var n=this.props.placeholderHeight,r=this.getScrollerState(),a=r.scrollTop,i=r.scrollHeight,l=r.offsetHeight;o.default.updateChannelDimensions(t.id,a-n,i-n,l,e)}}},t.scrollIntoViewRect=function(){},t.scrollPageUp=function(e){var t;void 0===e&&(e=!1),null===(t=this.ref.current)||void 0===t||t.scrollPageUp({animate:e})},t.scrollPageDown=function(e){var t;void 0===e&&(e=!1),null===(t=this.ref.current)||void 0===t||t.scrollPageDown({animate:e})},t.scrollToMessage=function(e,t,n){var r=this;if(void 0===t&&(t=!1),null!=this.ref.current){var a=(0,p.getElementFromMessageId)(e);if(!this.isJumping()&&t&&null!=n&&!u.default.useReducedMotion)f.default.extractTimestamp(e)>n?this.scrollTo(0):this.scrollTo(Number.MAX_SAFE_INTEGER);this.pinned=!1,this.jumping=!0;var o=function(){r.jumping=!1,a instanceof HTMLElement&&u.default.keyboardModeEnabled&&a.focus({preventScroll:!0}),r.scrollCounter=0,r.handleScroll()};a instanceof HTMLElement?this.scrollTo(this.getOffsetOrientationFromNode(a,"middle",this.props.hasUnreads?c.NEW_MESSAGE_BAR_BUFFER:c.MESSAGE_PADDING),t,o):this.scrollToNewMessages(t,"middle",o)}},t.getOffsetToTriggerLoading=function(e,t){var n=t.scrollHeight,r=t.offsetHeight,a=this.props,o=a.messages,i=a.hasUnreads,l=a.placeholderHeight;return"top"===e?o.hasMoreBefore?i?l-c.PLACEHOLDER_BUFFER-2:l+500:0:o.hasMoreAfter?n-r-l-500:n-r},t.getOffsetToPreventLoading=function(e){var t=this.props.messages,n=0;return"top"===e&&t.hasMoreBefore?n=2:"bottom"===e&&t.hasMoreAfter&&(n=-2),this.getOffsetToTriggerLoading(e,this.getScrollerState())+n},t.getSnapshotBeforeUpdate=function(e){if(this.hasAnchor()||null!=e){var t=this.getScrollerState(),n=t.scrollTop,r=t.offsetHeight,a=t.scrollHeight;this.updateFocusAnchor(e,n,r),this.updateFetchAnchor(n,r,a),this.updateAutomaticAnchor(n)}},t.cleanup=function(){this.acking=!1,this.updateStoreDimensionsDebounced.cancel(),(0,l.disableAutomaticAck)(this.props.channel.id)},e}();t.MessagesScrollManager=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(122),i=n(483),l=n(1);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=(0,i.hexWithOpacity)(l.HEXColors.BRAND,.2),f=(0,i.hexWithOpacity)(l.HEXColors.BRAND,0);function c(e){var t=e.children,n=e.className,r=e.flashKey,i=(0,o.useSpring)((function(){return{immediate:!0,from:{backgroundColor:d}}})),l=i[0],u=i[1];return a.useEffect((function(){u({reset:!0,immediate:!0,to:{backgroundColor:d}}),u({delay:1e3,immediate:!1,to:{backgroundColor:f}})}),[r,u]),s(o.animated.div,{style:l,className:n},void 0,t)}c.displayName="BackgroundFlash"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=j;D(n(0));var r,a=n(389),o=n(286),i=n(9046),l=R(n(8258)),u=n(141),s=R(n(1320)),d=D(n(8253)),f=R(n(8773)),c=R(n(8632)),p=R(n(8395)),v=R(n(8471)),y=R(n(8340)),m=R(n(10094)),_=R(n(8774)),h=R(n(8775)),E=R(n(10095)),g=R(n(8776)),S=R(n(9222)),O=R(n(10096)),I=R(n(10097)),T=R(n(10098)),C=R(n(10099)),b=R(n(10100)),M=R(n(10101)),N=R(n(10102)),A=R(n(10103)),P=R(n(6));function R(e){return e&&e.__esModule?e:{default:e}}function L(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return L=function(){return e},e}function D(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=L();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function w(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function j(e){var t,n,r,R,L=e.channel,D=e.message,j=e.target,k=e.attachment,U=e.onSelect,G=(0,s.default)(i.ExperimentInAppReporting),F=j;if(k)r=n=k.url;else for(;F instanceof Node;)F instanceof HTMLImageElement&&null!=F.src&&(r=F.src),F instanceof HTMLAnchorElement&&null!=F.href&&(n=F.href,R=F.textContent),F=F.parentNode;var B=null===(t=document.getSelection())||void 0===t?void 0:t.toString(),H=(0,f.default)(B),x=(0,v.default)(B),V=(0,O.default)(D,L),W=(0,m.default)(D,L),Y=(0,E.default)(D,L),z=(0,S.default)(D,L),K=(0,M.default)(D,L),$=(0,g.default)(D,L),Z=(0,I.default)(D),q=(0,_.default)(D,L),X=(0,T.default)(D,L),J=(0,h.default)(D,L),Q=(0,b.default)(D,L),ee=(0,N.default)(D,L),te=(0,p.default)(n||r,R),ne=(0,c.default)(r),re=(0,l.default)(D.id,D.channel_id+"-"+D.id),ae=(0,C.default)(D,L),oe=(0,A.default)(D,L),ie=(0,y.default)(o.ApplicationCommandTarget.MESSAGE,L.id),le=G===u.ExperimentBuckets.TREATMENT_1;return w(d.default,{navId:"message",onClose:a.closeContextMenu,"aria-label":P.default.Messages.MESSAGE_ACTIONS_MENU_LABEL,onSelect:U},void 0,w(d.MenuGroup,{},void 0,H),w(d.MenuGroup,{},void 0,x),w(d.MenuGroup,{},void 0,""===B?V:null,W,Z,Y,z,ae,oe,ie,K,$,q,ee,X,J,le&&Q),w(d.MenuGroup,{},void 0,ne),w(d.MenuGroup,{},void 0,te),w(d.MenuGroup,{},void 0,re))}j.displayName="MessageContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=O;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(1235),l=n(123),u=n(8253),s=E(n(249)),d=E(n(40)),f=E(n(39)),c=E(n(8651)),p=E(n(150)),v=n(121),y=E(n(261)),m=n(724),_=n(1),h=E(n(6));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e,t){var n=a.useContext(l.AccessibilityPreferencesContext).reducedMotion,r=(0,o.useStateFromStores)([d.default],(function(){return(t.isPrivate()||d.default.can(_.Permissions.ADD_REACTIONS,t))&&!t.isArchivedThread()}),[t]);if(!f.default.renderReactions||!r||e.type===_.MessageTypes.GUILD_INVITE_REMINDER)return null;var E=t.getGuildId(),g=s.default.getDisambiguatedEmojiContext(E).getEmojiInPriorityOrder().filter((function(e){return!y.default.isEmojiPremiumLocked(e,t,_.EmojiIntention.REACTION)&&!y.default.isEmojiFiltered(e,t,_.EmojiIntention.REACTION)})).slice(0,12).map((function(r,a){var o,l,s;return S(u.MenuItem,{id:null!==(o=null!==(l=null!==(s=r.id)&&void 0!==s?s:r.optionallyDiverseSequence)&&void 0!==l?l:r.name)&&void 0!==o?o:":"+r.name+":",label:null==r.id?r.name:":"+r.name+":",imageUrl:function(e){var t,a=e.isFocused;return null!=r.id?p.default.getEmojiURL({id:r.id,animated:r.animated&&(!n.enabled||a)}):y.default.getURL(null!==(t=r.optionallyDiverseSequence)&&void 0!==t?t:"")},action:function(){return(0,i.addReaction)(t.id,e.id,(0,m.toReactionEmoji)(r))}},a)}));return S(u.MenuItem,{id:"add-reaction",label:h.default.Messages.ADD_REACTION,action:function(){return v.ComponentDispatch.dispatch(_.ComponentActions.TOGGLE_REACTION_POPOUT(e.id),!0)}},void 0,g,S(u.MenuItem,{id:"other-reactions",label:h.default.Messages.OTHER_REACTIONS,icon:c.default,action:function(){return v.ComponentDispatch.dispatch(_.ComponentActions.TOGGLE_REACTION_POPOUT(e.id),!0)}}))}O.displayName="useMessageAddReactionItems"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=d(n(390)),o=n(8253),i=d(n(12)),l=n(297),u=n(1),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e,t){var n=i.default.getCurrentUser();return e.state===u.MessageStates.SEND_FAILED||e.author.id!==n.id||!(0,l.canEditMessageWithStickers)(e)||t.isArchivedThread()?null:c(o.MenuItem,{id:"edit",label:s.default.Messages.EDIT_MESSAGE,action:function(){return a.default.startEditMessage(t.id,e.id,e.content)}})}p.displayName="useMessageEditItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,i.useStateFromStoresArray)([s.default],(function(){var e=s.default.getDisambiguatedEmojiContext(t.guild_id).getEmojiInPriorityOrder().filter((function(e){return!(e.useSpriteSheet&&I.indexOf(e.uniqueName||"")>=0)&&!v.default.isEmojiPremiumLocked(e,t,m.EmojiIntention.REACTION)}));return e.length>4&&(e.length=4),e}),[t]);return(0,i.useStateFromStores)([d.default,f.default],(function(){return f.default.renderReactions&&!t.isArchivedThread()&&(t.isPrivate()||d.default.can(m.Permissions.ADD_REACTIONS,t))}),[t])&&n.length>0?S(u.MenuGroup,{className:h.default.wrapper},void 0,n.map((function(n,r){var a;return S(u.MenuItem,{id:"quickreact-"+(null!==(a=n.id)&&void 0!==a?a:r),render:function(e){var t=e.isFocused;return S(T,{emoji:n,isFocused:t})},action:function(){return(0,l.addReaction)(t.id,e.id,(0,y.toReactionEmoji)(n))}},r)}))):null};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(9)),i=n(3),l=n(1235),u=n(8253),s=E(n(249)),d=E(n(40)),f=E(n(39)),c=E(n(149)),p=E(n(150)),v=E(n(261)),y=n(724),m=n(1),_=E(n(6)),h=E(n(7823));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(){return(O=Object.assign||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}).apply(this,arguments)}var I=["slight_smile","frowning","smile","stuck_out_tongue","wink"];function T(e){var t=e.emoji,n=e.isFocused,r=t.animated,i=t.src,l=t.surrogates;return null==i&&null!=t.id?i=p.default.getEmojiURL({id:t.id,animated:!!r}):null==i&&(i=v.default.getURL(l)),S(c.default,{text:t.allNamesString,hideOnClick:!0,spacing:16,forceOpen:n},t.id||t.name,(function(e){var r;return a.createElement("div",O({"aria-label":_.default.Messages.ADD_REACTION_NAMED.format({emojiName:t.name}),className:(0,o.default)(h.default.button,(r={},r[h.default.focused]=n,r))},e),null==i||""===i.trim()?a.createElement("span",O({className:(0,o.default)("emoji","emoji-text",h.default.icon)},e),l):S("img",{className:h.default.icon,src:i,alt:""}))}))}T.displayName="EmojiButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9047)),i=n(8253),l=n(41),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e){return e.reactions&&0!==e.reactions.length?f(i.MenuItem,{id:"reactions",label:u.default.Messages.REACTIONS,action:function(){return(0,l.openModal)((function(t){return a.createElement(o.default,c({},t,{message:e}))}))}}):null}p.displayName="useMessageReactionsItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=c(n(154)),i=n(1235),l=n(8253),u=n(8256),s=c(n(40)),d=n(1),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e,t){return(0,a.useStateFromStores)([s.default],(function(){return s.default.can(d.Permissions.MANAGE_MESSAGES,t)&&!t.isArchivedThread()}),[t])&&e.reactions&&0!==e.reactions.length?v(l.MenuItem,{id:"remove-reactions",label:f.default.Messages.REMOVE_ALL_REACTIONS,action:function(n){n.shiftKey?(0,i.removeAllReactions)(t.id,e.id):o.default.show({title:f.default.Messages.REMOVE_ALL_REACTIONS_CONFIRM_TITLE,body:f.default.Messages.REMOVE_ALL_REACTIONS_CONFIRM_BODY,confirmText:f.default.Messages.YES_TEXT,cancelText:f.default.Messages.NO_TEXT,onConfirm:function(){(0,i.removeAllReactions)(t.id,e.id)}})},color:u.MenuItemColor.DANGER}):null}y.displayName="useMessageRemoveReactionsItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a,o=n(8253),i=n(8708),l=n(8466),u=(r=n(6))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e,t){return(0,i.useCanReplyToMessage)(t,e)?d(o.MenuItem,{id:"reply",label:u.default.Messages.MESSAGE_ACTION_REPLY,action:function(n){(0,l.replyToMessage)(t,e,n)}}):null}f.displayName="useMessageReplyItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(8495)),o=n(8253),i=n(8256),l=n(8705),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t){return(0,l.canReportMessage)(e)?f(o.MenuItem,{id:"report",label:u.default.Messages.REPORT_MESSAGE_MENU_OPTION,action:function(){return a.default.openReportMessageModal(t,e)},color:i.MenuItemColor.DANGER}):null}c.displayName="useMessageReportItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(8253),o=s(n(9048)),i=s(n(9049)),l=n(1),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t){return e.state!==l.MessageStates.SEND_FAILED?null:f(a.MenuItem,{id:"resend",label:u.default.Messages.RESEND_MESSAGE,action:function(){return(0,i.default)(t,e,void 0,o.default.getOptions(e.id))}})}c.displayName="useMessageResendItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=n(8253),i=s(n(8709)),l=n(8466),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t){var n=(0,a.useStateFromStores)([i.default],(function(){return i.default.isSpeakingMessage(t.id,e.id)}),[t,e]);return""===e.content?null:f(o.MenuItem,{id:"tts",label:n?u.default.Messages.STOP_SPEAKING_MESSAGE:u.default.Messages.SPEAK_MESSAGE,action:function(){return n?(0,l.stopSpeakingMessage)():(0,l.speakMessage)(t,e)}})}c.displayName="useMessageSpeakItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a,o=n(8253),i=n(1209),l=n(8466),u=(r=n(6))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e,t){return(0,i.useCanStartPublicThread)(t,e)?d(o.MenuItem,{id:"thread",label:u.default.Messages.CREATE_THREAD,action:function(){(0,l.createThread)(t,e)}}):null}f.displayName="useMessageStartThreadItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;m(n(0));var r,a=n(389),o=v(n(8258)),i=m(n(8253)),l=v(n(8773)),u=v(n(8395)),s=v(n(8471)),d=v(n(8774)),f=v(n(8775)),c=v(n(8776)),p=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e){var t,n,r,v,y=e.channel,m=e.message,h=e.target,E=e.attachment,g=e.onSelect,S=h;if(E)r=n=E.url;else for(;S instanceof Node;)S instanceof HTMLImageElement&&null!=S.src&&(r=S.src),S instanceof HTMLAnchorElement&&null!=S.href&&(n=S.href,v=S.textContent),S=S.parentNode;var O=null===(t=document.getSelection())||void 0===t?void 0:t.toString(),I=(0,l.default)(O),T=(0,s.default)(O),C=(0,c.default)(m,y),b=(0,d.default)(m,y),M=(0,f.default)(m,y),N=(0,u.default)(n||r,v),A=(0,o.default)(m.id,m.channel_id+"-"+m.id);return _(i.default,{navId:"message",onClose:a.closeContextMenu,"aria-label":p.default.Messages.MESSAGE_ACTIONS_MENU_LABEL,onSelect:g},void 0,_(i.MenuGroup,{},void 0,I),_(i.MenuGroup,{},void 0,T),_(i.MenuGroup,{},void 0,C,b,M),_(i.MenuGroup,{},void 0,N),_(i.MenuGroup,{},void 0,A))}h.displayName="SystemMessageContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=O(n(390)),o=O(n(182)),i=n(8708),l=O(n(8265)),u=n(1209),s=O(n(11)),d=O(n(10)),f=O(n(8333)),c=O(n(1219)),p=O(n(201)),v=O(n(40)),y=O(n(39)),m=n(121),_=n(1163),h=O(n(685)),E=O(n(8645)),g=n(8466),S=n(1);function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e){return v.default.can(S.Permissions.MANAGE_MESSAGES,e)}var C=function(e,t,n){var O=r.useRef(n);return O.current=n,r.useCallback((function(n){if(O.current&&n.target===n.currentTarget){var r=!(n.altKey||n.ctrlKey||n.metaKey||n.shiftKey),I=n.altKey&&!(n.ctrlKey||n.metaKey||n.shiftKey),C=n.metaKey&&!(n.altKey||n.ctrlKey||n.shiftKey),b=n.shiftKey&&!(n.altKey||n.ctrlKey||n.metaKey),M=p.default.getMessage(t,e),N=d.default.getChannel(t);if(null!=M&&null!=N){var A=s.default.getId(),P=M.author.id===A;switch(n.key.toLowerCase()){case"backspace":r&&(T(N)||P)&&(n.preventDefault(),(0,g.deleteMessage)(N,M,n));break;case"c":C&&_.SUPPORTS_COPY&&(n.preventDefault(),(0,_.copy)(M.content));break;case"e":r&&function(e,t,n){return!t.isSystemDM()&&!(0,h.default)(n)&&n.author.id===e}(A,N,M)&&(n.preventDefault(),(0,g.editMessage)(N,M));break;case"p":(r||b)&&function(e,t){return!e.isSystemDM()&&!(0,h.default)(t)&&(T(e)||e.isPrivate())}(N,M)&&(n.preventDefault(),(0,g.pinMessage)(N,M,n));break;case"+":(r||b)&&function(e){var t=null==e.guild_id||c.default.canChatInGuild(e.guild_id),n=y.default.renderReactions;return!(0,E.default)({channel:e,canChat:t,renderReactions:n,canAddNewReactions:t&&v.default.can(S.Permissions.ADD_REACTIONS,e),isLurking:null!=e.guild_id&&o.default.isLurking(e.guild_id)}).disableReactionCreates&&n}(N)&&(n.preventDefault(),m.ComponentDispatch.dispatch(S.ComponentActions.TOGGLE_REACTION_POPOUT(M.id),!0));break;case"r":r&&(0,i.canReplyToMessage)(N,M,v.default)&&(n.preventDefault(),(0,g.replyToMessage)(N,M,n));break;case"t":if(r)if((0,u.computeCanStartPublicThread)(N,M))n.preventDefault(),l.default.openThreadSidebarForCreating(N,M,"Message Shortcut");else if(M.hasFlag(S.MessageFlags.HAS_THREAD)&&(0,u.computeCanSeeThreads)()){var R=d.default.getChannel(M.id);null!=R&&(n.preventDefault(),l.default.openThreadSidebarForViewing(R))}break;case"enter":I&&(n.preventDefault(),(0,g.markMessageUnread)(N,M));break;case"escape":f.default.isEditing(N.id,M.id)?a.default.endEditMessage(N.id):m.ComponentDispatch.dispatch(S.ComponentActions.TEXTAREA_FOCUS)}}}}),[e,t])};t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=e.message,s=e.channel,d=e.groupId,c=e.compact,p=void 0!==c&&c,v=n.emojiPicker,y=n.moreUtilities,m=r.state===l.MessageStates.SENDING,_=r.id===d,h=(0,a.hasFlag)(r.flags,l.MessageFlags.EPHEMERAL),E=r.state===l.MessageStates.SEND_FAILED;return m||h&&!E?null:f(i.default,{className:u.default.buttons,isHeader:!p&&_&&!(0,o.default)(r),channel:s,message:r,setPopout:t,showEmojiPicker:v,showMoreUtilities:y})};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(99),o=s(n(685)),i=s(n(10107)),l=n(1),u=s(n(7343));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useConnectedUtilitiesProps=_e,t.default=void 0;var r,a=ae(n(0)),o=ne(n(9)),i=n(3),l=n(1235),u=n(286),s=n(9046),d=ne(n(8408)),f=n(141),c=ne(n(1320)),p=ne(n(182)),v=ae(n(8253)),y=n(8256),m=n(8708),_=n(1209),h=ne(n(8340)),E=ne(n(11)),g=ne(n(8333)),S=ne(n(15)),O=ne(n(1219)),I=ne(n(40)),T=ne(n(8709)),C=ne(n(39)),b=ae(n(278)),M=ne(n(149)),N=ne(n(8651)),A=ne(n(10108)),P=ne(n(5954)),R=ne(n(8431)),L=ne(n(8745)),D=ne(n(736)),w=ne(n(10109)),j=ne(n(8345)),k=ne(n(8331)),U=ne(n(1215)),G=ne(n(9225)),F=ne(n(10110)),B=ne(n(9215)),H=ne(n(10111)),x=ne(n(8287)),V=ne(n(8676)),W=ae(n(10112)),Y=n(724),z=n(8705),K=n(1163),$=n(297),Z=ne(n(685)),q=ne(n(8645)),X=n(8466),J=ne(n(8965)),Q=n(1),ee=ne(n(6)),te=ne(n(7826));function ne(e){return e&&e.__esModule?e:{default:e}}function re(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return re=function(){return e},e}function ae(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=re();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function oe(){return(oe=Object.assign||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}).apply(this,arguments)}function ie(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function le(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function ue(e){e.stopPropagation()}function se(e){var t=e.message,n=e.channel,r=e.canCopy,a=e.canPin,o=e.canDelete,i=e.canReport,l=e.canConfigureJoin,s=e.canEdit,d=e.canReply,f=e.canStartThread,c=e.hasReactions,p=e.hasDeveloperMode,m=e.canSpeakMessage,_=e.isSpeakingMessage,E=e.onClose,g=e.isGuildInviteReminder,S=e.onSelect;return le(v.default,{onSelect:S,navId:"message-actions",onClose:E,style:v.MenuStyle.FLEXIBLE,"aria-label":ee.default.Messages.MESSAGE_UTILITIES_A11Y_LABEL},void 0,s&&le(v.MenuItem,{id:"edit",label:ee.default.Messages.EDIT_MESSAGE,icon:U.default,action:function(){return(0,X.editMessage)(n,t)}}),a&&le(v.MenuItem,{id:"pin",label:t.pinned?ee.default.Messages.UNPIN_MESSAGE:ee.default.Messages.PIN_MESSAGE,icon:G.default,action:function(e){return(0,X.pinMessage)(n,t,e)}}),d&&le(v.MenuItem,{id:"reply",label:ee.default.Messages.MESSAGE_ACTION_REPLY,icon:F.default,action:function(e){return(0,X.replyToMessage)(n,t,e)}}),f?le(v.MenuItem,{id:"thread",label:ee.default.Messages.CREATE_THREAD,icon:x.default,action:function(){return(0,X.createThread)(n,t)}}):t.hasFlag(Q.MessageFlags.HAS_THREAD)?le(v.MenuItem,{id:"goto-thread",label:ee.default.Messages.VIEW_THREAD,icon:x.default,action:function(){return(0,X.gotoThread)(n,t)}}):null,(0,h.default)(u.ApplicationCommandTarget.MESSAGE,n.id),le(v.MenuItem,{id:"mark-unread",label:ee.default.Messages.MARK_UNREAD,icon:w.default,action:function(){return(0,X.markMessageUnread)(n,t)}}),c&&le(v.MenuItem,{id:"reactions",label:ee.default.Messages.REACTIONS,icon:P.default,action:function(){return(0,X.showReactionsModal)(n,t)}}),l&&le(v.MenuItem,{id:"configure",label:ee.default.Messages.CONFIGURE,icon:L.default,action:function(){return(0,X.configureJoin)(n)}}),r&&!g&&le(v.MenuItem,{id:"copy-link",label:ee.default.Messages.COPY_MESSAGE_LINK,icon:D.default,action:function(){return(0,X.copyLink)(n,t)}}),m&&le(v.MenuItem,{id:"tts",label:_?ee.default.Messages.STOP_SPEAKING_MESSAGE:ee.default.Messages.SPEAK_MESSAGE,icon:H.default,action:function(){return _?(0,X.stopSpeakingMessage)():(0,X.speakMessage)(n,t)}}),o&&le(v.MenuItem,{id:"delete",label:ee.default.Messages.DELETE_MESSAGE,icon:V.default,action:function(e){return(0,X.deleteMessage)(n,t,e)},color:y.MenuItemColor.DANGER}),i&&le(v.MenuItem,{id:"report",label:ee.default.Messages.REPORT_MESSAGE_MENU_OPTION,icon:R.default,action:function(){return(0,X.reportMessage)(n,t)},color:y.MenuItemColor.DANGER}),r&&p&&le(v.MenuItem,{id:"copy-id",label:ee.default.Messages.COPY_ID,icon:A.default,action:function(e){return(0,X.copyId)(n,t,e)}}))}function de(e){var t=e.label,n=e.icon,r=e.channel,o=e.message,i=e.onClick,l=e.key,u=e.disabled,s=e.dangerous,d=ie(e,["label","icon","channel","message","onClick","key","disabled","dangerous"]);return le(M.default,{text:t,hideOnClick:!0},l,(function(e){var l=e.onMouseEnter,f=e.onMouseLeave,c=e.onClick;return a.createElement(W.Button,oe({onMouseEnter:l,onMouseLeave:f,onClick:function(e){null!=c&&c(),i(r,o,e)},"aria-label":t,disabled:u,dangerous:s},d),le(n,{className:te.default.icon}))}))}se.displayName="MessageActionsMenu",de.displayName="renderIconButton";var fe=le(W.Separator,{}),ce=le(W.Separator,{}),pe=le(W.Separator,{});function ve(e){var t=e.channel,n=e.message,r=e.expanded,o=e.canCopy,i=e.canPin,l=e.canDelete,u=e.canReport,s=e.canReact,d=e.canConfigureJoin,f=e.canEdit,c=e.canPublish,p=e.canReply,v=e.canStartThread,y=e.forceOpen,m=void 0!==y&&y,_=e.showMoreUtilities,h=e.showEmojiPicker,E=e.canSpeakMessage,g=e.isSpeakingMessage,S=e.setPopout,O=e.hasDeveloperMode,I=e.isGuildInviteReminder,T=n.reactions.length>0,C=a.useCallback((function(e){var r=e.closePopout;return le(se,{message:n,channel:t,canCopy:o,canPin:i,canDelete:l,canReport:u,canConfigureJoin:d,canEdit:f,canPublish:c,canReply:p,canStartThread:v,hasReactions:T,hasDeveloperMode:O,canSpeakMessage:E,isSpeakingMessage:g,onClose:r,isGuildInviteReminder:I})}),[n,t,o,i,l,u,d,f,c,p,v,T,O,E,g,I]),M=a.useCallback((function(){return S({moreUtilities:!_})}),[_,S]),R=a.useCallback((function(){S({emojiPicker:!h})}),[h,S]),B=n.hasFlag(Q.MessageFlags.CROSSPOSTED);return r&&!h&&!_||m?a.createElement(a.Fragment,null,c&&m?a.createElement(a.Fragment,null,de({key:"publish",label:B?ee.default.Messages.NEWS_CHANNEL_PUBLISHED:ee.default.Messages.NEWS_CHANNEL_PUBLISH,icon:j.default,channel:t,message:n,disabled:B,onClick:X.publishMessage}),pe):null,p?de({key:"reply",label:ee.default.Messages.MESSAGE_ACTION_REPLY,icon:F.default,channel:t,message:n,onClick:X.replyToMessage}):null,f?de({key:"edit",label:ee.default.Messages.EDIT,icon:U.default,channel:t,message:n,onClick:X.editMessage}):null,v?de({key:"thread",label:ee.default.Messages.CREATE_THREAD,icon:x.default,channel:t,message:n,onClick:X.createThread}):n.hasFlag(Q.MessageFlags.HAS_THREAD)?de({key:"view-thread",label:ee.default.Messages.VIEW_THREAD,icon:x.default,channel:t,message:n,onClick:X.gotoThread}):null,de({key:"mark-unread",label:ee.default.Messages.MARK_UNREAD,icon:w.default,channel:t,message:n,onClick:X.markMessageUnread}),i?de({key:"pin",label:n.pinned?ee.default.Messages.UNPIN_MESSAGE:ee.default.Messages.PIN_MESSAGE,icon:G.default,channel:t,message:n,onClick:X.pinMessage}):null,o?a.createElement(a.Fragment,null,I?null:de({key:"copy-link",label:ee.default.Messages.COPY_LINK,icon:D.default,channel:t,message:n,onClick:X.copyLink}),de({key:"copy-id",label:ee.default.Messages.COPY_ID,icon:A.default,channel:t,message:n,onClick:X.copyId})):null,T?de({key:"reactions-modal",label:ee.default.Messages.REACTIONS,icon:P.default,channel:t,message:n,onClick:X.showReactionsModal}):null,l?de({key:"delete",label:ee.default.Messages.DELETE,icon:V.default,dangerous:!0,channel:t,message:n,onClick:X.deleteMessage}):null,d?de({key:"configure",label:ee.default.Messages.CONFIGURE,icon:L.default,channel:t,message:n,onClick:X.configureJoin}):null):a.createElement(a.Fragment,null,s&&!I?le(b.default,{renderPopout:function(e){var r=e.closePopout;return me(t,n,r)},shouldShow:h,onRequestClose:R,position:b.Positions.LEFT,align:b.Align.TOP},void 0,(function(e,r){e.onClick;var a=ie(e,["onClick"]);return de(oe({key:"add-reaction",label:ee.default.Messages.ADD_REACTION,icon:N.default,channel:t,selected:r,message:n,onClick:R},a))})):null,p&&!f?de({key:"reply",label:ee.default.Messages.MESSAGE_ACTION_REPLY,icon:F.default,channel:t,message:n,onClick:X.replyToMessage}):null,f?de({key:"edit",label:ee.default.Messages.EDIT,icon:U.default,channel:t,message:n,onClick:X.editMessage}):null,v?de({key:"thread",label:ee.default.Messages.CREATE_THREAD,icon:x.default,channel:t,message:n,onClick:X.createThread}):n.hasFlag(Q.MessageFlags.HAS_THREAD)?de({key:"view-thread",label:ee.default.Messages.VIEW_THREAD,icon:x.default,channel:t,message:n,onClick:X.gotoThread}):null,c?a.createElement(a.Fragment,null,de({key:"publish",label:B?ee.default.Messages.NEWS_CHANNEL_PUBLISHED:ee.default.Messages.NEWS_CHANNEL_PUBLISH,icon:j.default,channel:t,message:n,disabled:B,onClick:X.publishMessage}),fe):null,l&&I?a.createElement(a.Fragment,null,de({key:"delete",label:ee.default.Messages.DELETE,icon:V.default,dangerous:!0,channel:t,message:n,onClick:X.deleteMessage}),ce):null,le(b.default,{renderPopout:C,shouldShow:_,onRequestClose:M,position:b.Positions.LEFT,align:b.Align.TOP,animation:b.default.Animation.NONE},void 0,(function(e,r){e.onClick;var a=ie(e,["onClick"]);return de(oe({key:"more",label:ee.default.Messages.MORE,icon:k.default,channel:t,message:n,selected:r,onClick:M},a))})))}function ye(e){var t=e.channel,n=e.message;return a.createElement(a.Fragment,null,de({key:"retry",label:ee.default.Messages.RETRY,icon:B.default,channel:t,message:n,onClick:X.retrySendMessage}),de({key:"delete-usent",label:ee.default.Messages.DELETE,icon:V.default,channel:t,message:n,onClick:X.deleteMessage}))}function me(e,t,n){return le(d.default,{channel:e,pickerIntention:Q.EmojiIntention.REACTION,closePopout:n,onSelectEmoji:function(r,a){!function(e,t,n){null!=e&&(0,l.addReaction)(t.id,n.id,(0,Y.toReactionEmoji)(e))}(r,e,t),a&&n()}})}function _e(e){var t=e.channel,n=e.message,r=e.isHeader,a=e.showEmojiPicker,o=e.showMoreUtilities,l=e.setPopout,u=n.author,d=(0,i.useStateFromStores)([S.default],(function(){return S.default.getGuild(t.guild_id)}),[t.guild_id]),v=(0,i.useStateFromStores)([E.default],(function(){return E.default.getId()})),y=(0,c.default)(s.ExperimentInAppReporting),h=(0,i.useStateFromStoresObject)([C.default],(function(){return{renderReactions:C.default.renderReactions,developerMode:C.default.developerMode}})),b=h.renderReactions,M=h.developerMode,N=(0,i.useStateFromStores)([O.default],(function(){return null==t.guild_id||O.default.canChatInGuild(t.guild_id)}),[t]),A=(0,i.useStateFromStoresObject)([I.default],(function(){return{canAddNewReactions:N&&I.default.can(Q.Permissions.ADD_REACTIONS,t),canManageMessages:I.default.can(Q.Permissions.MANAGE_MESSAGES,t)}}),[t,N]),P=A.canManageMessages,R=A.canAddNewReactions,L=(0,m.useCanReplyToMessage)(t,n),D=(0,_.useCanStartPublicThread)(t,n),w=(0,i.useStateFromStores)([p.default],(function(){return null!=t.guild_id&&p.default.isLurking(t.guild_id)}),[t]),j=u.id===v,k=(P||j)&&!t.isArchivedThread()&&n.type in Q.MessageTypesDeletable,U=(0,z.canReportMessage)(n)&&null!=y&&y===f.ExperimentBuckets.TREATMENT_1,G=!t.isSystemDM()&&!(0,Z.default)(n),F=G&&(P||t.isPrivate())&&!t.isArchivedThread(),B=G&&j&&(0,$.canEditMessageWithStickers)(n)&&!t.isArchivedThread(),H=(0,q.default)({channel:t,canChat:N,renderReactions:b,canAddNewReactions:R,isLurking:w}).disableReactionCreates,x=t.type===Q.ChannelTypes.GUILD_ANNOUNCEMENT&&null!=d&&d.hasFeature(Q.GuildFeatures.NEWS)&&(j||P)&&n.type===Q.MessageTypes.DEFAULT,V=t.getGuildId(),W=null!=V&&(n.type===Q.MessageTypes.USER_JOIN||n.type===Q.MessageTypes.GUILD_INVITE_REMINDER)&&I.default.canWithPartialContext(Q.Permissions.MANAGE_GUILD,{guildId:V}),Y=t.id,X=n.id,J=(0,i.useStateFromStores)([g.default],(function(){return g.default.isEditing(Y,X)}),[Y,X]),ee=(0,i.useStateFromStores)([T.default],(function(){return T.default.isSpeakingMessage(Y,X)}),[Y,X]),te=""!==n.content;return{channel:t,message:n,isHeader:r,canPin:F,canEdit:B,canDelete:k,canReport:U,canReply:L,canStartThread:D,canCopy:K.SUPPORTS_COPY,hasDeveloperMode:M,canReact:!H&&b,canPublish:x,canConfigureJoin:W,isEditing:J,showEmojiPicker:a,showMoreUtilities:o,canSpeakMessage:te,isSpeakingMessage:ee,setPopout:l,experimentBucket:y,isGuildInviteReminder:n.type===Q.MessageTypes.GUILD_INVITE_REMINDER}}me.displayName="renderEmojiPicker";var he=a.memo((function(e){var t,n,r,i,l=_e(e),u=l.isHeader,s=l.isEditing,d=(0,J.default)(),f=(r=(n=l).channel,(i=n.message).state===Q.MessageStates.SEND_FAILED?le(ye,{channel:r,message:i}):null),c=function(e,t){return e.message.state!==Q.MessageStates.SEND_FAILED?a.createElement(ve,oe({},e,{expanded:t})):null}(l,d);return s||null==f&&null==c?null:le("div",{className:(0,o.default)(e.className,(t={},t[te.default.container]=!0,t[te.default.isHeader]=u,t)),onClick:ue,onContextMenu:ue,"aria-label":ee.default.Messages.MESSAGE_UTILITIES_A11Y_LABEL},void 0,le(W.default,{},void 0,f,c))}));t.default=he},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M5 2C3.34315 2 2 3.34315 2 5V19C2 20.6569 3.34315 22 5 22H19C20.6569 22 22 20.6569 22 19V5C22 3.34315 20.6569 2 19 2H5ZM8.79741 7.72V16H6.74541V7.72H8.79741ZM13.2097 7.72C16.0897 7.72 17.5897 9.388 17.5897 11.848C17.5897 14.308 16.0537 16 13.2577 16H10.3537V7.72H13.2097ZM13.1497 14.404C14.6137 14.404 15.5257 13.636 15.5257 11.86C15.5257 10.12 14.5537 9.316 13.1497 9.316H12.4057V14.404H13.1497Z"}))}d.displayName="CopyID"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f||void 0,fill:d,d:"M14 3H20C21 3 22.0001 4 22.0001 5V19.0003C22.0001 20 21 21 20 21H14C13 21 6 13 6 13H2V11H6C6 11 13 3 14 3Z"}))}d.displayName="MarkUnread"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function i(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,i=e.color,l=void 0===i?"currentColor":i;return o("svg",{className:e.className,width:n,height:a,viewBox:"0 0 24 24"},void 0,o("path",{d:"M10 8.26667V4L3 11.4667L10 18.9333V14.56C15 14.56 18.5 16.2667 21 20C20 14.6667 17 9.33333 10 8.26667Z",className:e.foreground,fill:l}))}i.displayName="Reply"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M2.99805 4.8C2.99805 3.8055 3.80445 3 4.79805 3H19.198C20.1925 3 20.998 3.8055 20.998 4.8V15.6C20.998 16.5936 20.1925 17.4 19.198 17.4H11.098L7.49805 21V17.4H4.79805C3.80445 17.4 2.99805 16.5936 2.99805 15.6V4.8ZM11.5737 5.16264C11.7336 5.00375 11.9739 4.95652 12.183 5.04208C12.3921 5.12708 12.5279 5.33098 12.5279 5.55487V14.444C12.5279 14.669 12.3921 14.8718 12.183 14.9579C11.9739 15.0435 11.7336 14.9963 11.5737 14.8374L9.1739 12.2217H7.4969C7.18945 12.2217 6.9379 11.9717 6.9379 11.6662V8.33273C6.9379 8.02772 7.18945 7.77716 7.4969 7.77716H9.1739L11.5737 5.16264ZM13.6459 7.22159V6.11044C15.8037 6.11044 17.5589 7.85549 17.5589 9.99944C17.5589 12.1445 15.8037 13.8884 13.6459 13.8884V12.7773C15.1871 12.7773 16.4409 11.5312 16.4409 9.99944C16.4409 8.46829 15.1871 7.22159 13.6459 7.22159ZM15.3229 9.99944C15.3229 9.08108 14.5705 8.33273 13.6459 8.33273V9.44387C13.9539 9.44387 14.2049 9.69332 14.2049 9.99944C14.2049 10.3056 13.9539 10.555 13.6459 10.555V11.6662C14.5705 11.6662 15.3229 10.9189 15.3229 9.99944Z"}))}d.displayName="SpeakMessage"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Separator=c,t.Button=p,t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),i=u(n(61)),l=u(n(7825));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.className;return f("div",{className:(0,o.default)(t,l.default.separator)})}function p(e){var t,n=e.onClick,r=e.onContextMenu,u=e.className,s=e.selected,f=void 0!==s&&s,c=e.children,p=e.disabled,v=void 0!==p&&p,y=e.dangerous,m=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onClick","onContextMenu","className","selected","children","disabled","dangerous"]);return a.createElement(i.default,d({onClick:v?void 0:n,onContextMenu:v?void 0:r,className:(0,o.default)(u,(t={},t[l.default.button]=!0,t[l.default.selected]=f,t[l.default.disabled]=v,t[l.default.dangerous]=y,t))},m),c)}function v(e){var t=e.className,n=e.children;return f("div",{className:(0,o.default)(t,l.default.wrapper)},void 0,n)}c.displayName="Separator",p.displayName="Button",v.displayName="MiniPopover";var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,a){var o=e.message,i=e.compact,u=e.channel,s=e.groupId,d=n.usernameProfile,f=n.avatarProfile;if((0,l.default)(o))return null;var c=o.id===s;return c||i||null!=r?v(y,{message:o,channel:u,compact:i,subscribeToGroupId:s,isGroupStart:c,groupId:s,setPopout:t,usernameProfile:d,avatarProfile:f,repliedMessage:a}):v(m,{compact:!0,timestamp:o.timestamp,isInline:!1,isVisibleOnlyOnHover:!0,cozyAlt:!0})};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(8918)),i=c(n(8443)),l=c(n(685)),u=c(n(682)),s=c(n(9050)),d=n(8542),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=a.memo((function(e){var t=e.message,n=e.channel,r=e.compact,i=void 0!==r&&r,l=e.groupId,c=e.isGroupStart,p=e.usernameProfile,y=e.avatarProfile,m=e.setPopout,_=e.repliedMessage,h=(0,d.useContextMenuUser)(t.author.id,n.id),E=(0,d.useClickMessageAuthorUsername)(t,n,p,m),g=(0,d.useClickMessageAuthorAvatar)(y,m),S=a.useCallback((function(){return m({usernameProfile:!1,avatarProfile:!1,referencedUsernameProfile:!1})}),[m]),O=(0,u.default)(t);return v(o.default,{guildId:n.guild_id,message:t,repliedMessage:_,author:O,compact:i,subscribeToGroupId:l,showTimestampOnHover:!c&&i&&t.type!==f.MessageTypes.REPLY,renderPopout:s.default,showAvatarPopout:y,showUsernamePopout:p,onClickAvatar:g,onClickUsername:E,onContextMenu:h,onPopoutRequestClose:S})})),m=a.memo(i.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(55)),i=v(n(1175)),l=v(n(149)),u=v(n(47)),s=v(n(24)),d=n(8643),f=n(1),c=v(n(6)),p=v(n(7827));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=function(){return _(o.default,{align:o.default.Align.CENTER,justify:o.default.Justify.CENTER,direction:o.default.Direction.VERTICAL,className:p.default.popout},void 0,_("img",{alt:"",src:(0,d.getPublicSystemMessageAvatar)(),className:p.default.avatar}),_(o.default,{align:o.default.Align.CENTER,justify:o.default.Justify.CENTER,className:p.default.nameWrapper},void 0,_(l.default,{text:c.default.Messages.STAFF_BADGE_TOOLTIP},void 0,(function(e){return a.createElement(i.default,m({color:f.Colors.BRAND,size:16},e),_("div",{className:p.default.staffBadge}))})),_(u.default,{className:p.default.header,size:s.default.Sizes.SIZE_16},void 0,c.default.Messages.ANNOUNCEMENT_GUILD_POPOUT_NAME)),_(s.default,{className:p.default.description,color:s.default.Colors.HEADER_SECONDARY},void 0,c.default.Messages.ANNOUNCEMENT_GUILD_DESCRIPTION),_(s.default,{className:p.default.description,color:s.default.Colors.HEADER_SECONDARY},void 0,c.default.Messages.ANNOUNCEMENT_GUILD_HERE_TO_HELP))};h.displayName="PublicGuildAnnouncementPopout";var E=h;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=e.message,a=e.channel;return n?O(C,{channel:a,message:r}):O(p.default,{message:r,content:t})};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=g(n(390)),l=g(n(8487)),u=g(n(8391)),s=g(n(11)),d=g(n(8333)),f=g(n(15)),c=g(n(40)),p=g(n(8515)),v=g(n(10116)),y=n(121),m=n(99),_=n(8381),h=n(1),E=g(n(7343));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(){return(I=Object.assign||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}).apply(this,arguments)}function T(e){var t=e.value,n=e.channel;return(0,_.applyChatRestrictions)({target:null,type:h.TextareaTypes.EDIT,content:t,channel:n,restrictMentions:!1,respectCooldown:!1})}function C(e){var t=e.channel,n=e.message,r=t.id,u=n.id,p=t.getGuildId(),y=(0,o.useStateFromStores)([f.default],(function(){return f.default.getGuild(p)}),[p]),_=t.type===h.ChannelTypes.GUILD_ANNOUNCEMENT,g=null!=y&&y.hasFeature(h.GuildFeatures.NEWS),S=_&&g,O=(0,o.useStateFromStoresObject)([d.default],(function(){return{editingMessage:d.default.getEditingMessage(r),editingTextValue:d.default.getEditingTextValue(r),editingRichValue:d.default.getEditingRichValue(r)}}),[r,u]),C=O.editingMessage,M=O.editingTextValue,N=O.editingRichValue,A=(0,o.useStateFromStores)([s.default],(function(){return s.default.getId()})),P=a.useCallback((function(e,n,r){var a=r.content,o=c.default.can(h.Permissions.MANAGE_MESSAGES,t),u=null!=C&&null!=C.author?C.author.id:null;S&&(u===A||o)&&null!=C&&(0,m.hasFlag)(C.flags,h.MessageFlags.CROSSPOSTED)?l.default.confirmEdit(e,n,a):i.default.editMessage(e,n,{content:a})}),[C,S,A,t]),R=a.useCallback((function(e){return a.createElement(b,I({},e,{className:E.default.channelTextArea,key:u}))}),[u]);return null!=M&&null!=N?a.createElement(v.default,{ref:void 0,channel:t,message:n,textValue:M,richValue:N,onCancel:i.default.endEditMessage,onChange:i.default.updateEditMessage,onConfirmDelete:l.default.confirmDelete,saveMessage:P,validateEdit:T},R):null}function b(e){var t=e.textValue,n=e.richValue,r=e.message,o=e.channel,i=e.onChange,l=e.onSubmit,s=e.onKeyDown,d=a.useState(!0),f=d[0],c=d[1],p=a.useCallback((function(){return c(!0)}),[]),v=a.useCallback((function(){return c(!1)}),[]);return a.useEffect((function(){return y.ComponentDispatch.subscribe(h.ComponentActions.TEXTAREA_FOCUS,p),y.ComponentDispatch.subscribe(h.ComponentActions.TEXTAREA_BLUR,v),function(){y.ComponentDispatch.unsubscribe(h.ComponentActions.TEXTAREA_FOCUS,p),y.ComponentDispatch.unsubscribe(h.ComponentActions.TEXTAREA_BLUR,v)}}),[p,v]),O(u.default,{className:E.default.channelTextArea,textValue:t,richValue:n,channel:o,type:h.TextareaTypes.EDIT,onChange:i,onSubmit:l,onKeyDown:s,focused:f,onFocus:p,onBlur:v},r.id)}b.displayName="MessageEditorInner"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(1216)),i=n(1),l=s(n(6)),u=s(n(7828));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){e.stopPropagation()}var v=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),l=0;l<n;l++)r[l]=arguments[l];return(t=e.call.apply(e,[this].concat(r))||this).node=a.createRef(),t.onClickSave=function(){var e=t.props.textValue;t.onSubmit(e)},t.onSubmit=function(e){var n=t.props,r=n.message,a=n.channel,i=n.onConfirmDelete,l=n.onCancel,u=n.saveMessage,s=n.validateEdit;return 0===e.length?(i(a,r),l(a.id),Promise.resolve({shouldClear:!1,shouldRefocus:!1})):s({value:e,channel:a}).then((function(n){if(!n.valid)return Promise.resolve({shouldClear:!1,shouldRefocus:!1});var r=o.default.parse(t.props.channel,e,!0);return r.content!==t.props.message.content&&u(t.props.channel.id,t.props.message.id,r),l(a.id),Promise.resolve({shouldClear:!0,shouldRefocus:!0})}))},t.onChange=function(e,n,r){var a=t.props,o=a.channel;(0,a.onChange)(o.id,n,r)},t.onKeyDown=function(e){if(e.keyCode===i.KeyboardKeys.ESCAPE&&!e.shiftKey){var n=t.props,r=n.channel,a=n.onCancel;e.preventDefault(),a(r.id)}},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),r.prototype.render=function(){var e=this.props,t=e.className,n=e.textValue,r=e.richValue,o=e.message,i=e.channel,s=e.onCancel,d=e.children;return a.createElement("div",{className:t,ref:this.node,onContextMenu:p},d({textValue:n,richValue:r,message:o,channel:i,onChange:this.onChange,onSubmit:this.onSubmit,onKeyDown:this.onKeyDown}),f("div",{className:u.default.operations},void 0,l.default.Messages.EDIT_TEXTAREA_HELP.format({onCancel:function(){return s(i.id)},onSave:this.onClickSave})))},r}(a.PureComponent);t.default=v,v.displayName="MessageEditor"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=e.message,a=e.channel,o=e.compact,i=n.interactionUsernameProfile,l=n.interactionAvatarProfile,u=n.interactionData;return null!=r.interaction?f(c,{message:r,channel:a,compact:o,setPopout:t,interactionUsernameProfile:i,interactionAvatarProfile:l,interactionData:u}):null};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=s(n(70)),l=s(n(10118)),u=n(8542);function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=a.memo((function(e){var t,n=e.message,r=e.channel,s=e.compact,d=void 0!==s&&s,c=e.interactionUsernameProfile,p=e.interactionAvatarProfile,v=e.interactionData,y=e.setPopout,m=(0,o.useStateFromStores)([i.default],(function(){return null!=n.interaction&&i.default.isBlocked(n.interaction.user.id)}),[n.interaction]),_=(0,u.useContextMenuUser)(null===(t=n.interaction)||void 0===t?void 0:t.user.id,r.id),h=(0,u.useClickInteractionUserUsername)(n.interaction,r,c,y),E=(0,u.useClickInteractionUserAvatar)(p,y),g=(0,u.useClickInteractionCommandName)(v,y),S=a.useCallback((function(){return y({interactionUsernameProfile:!1,interactionAvatarProfile:!1,interactionData:!1})}),[y]);return f(l.default,{message:n,channel:r,content:"ExecutedCommand",compact:d,isInteractionUserBlocked:m,showAvatarPopout:p,showUsernamePopout:c,showDataPopout:v,onClickAvatar:E,onClickUsername:h,onClickCommand:g,onUserContextMenu:_,onPopoutRequestClose:S})}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(9)),i=h(n(5)),l=n(682),u=h(n(8644)),s=h(n(8268)),d=h(n(61)),f=h(n(278)),c=h(n(150)),p=n(1161),v=h(n(10119)),y=h(n(8641)),m=h(n(6)),_=h(n(7341));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(){return(g=Object.assign||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}).apply(this,arguments)}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e){var t=e.width,n=void 0===t?6:t,r=e.height,a=void 0===r?10:r,o=e.color,i=void 0===o?"currentColor":o;return S("svg",{className:e.className,width:n,height:a,viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},void 0,S("path",{d:"M4.61241 0L6 0.845294L1.38759 10L0 9.15471L4.61241 0Z",className:e.foreground,fill:i}))}function I(e,t,n,r,a,i){var l;return S("img",{alt:"",src:null!=n?n:e.getAvatarURL(t),onClick:r,onContextMenu:a,onMouseDown:i,className:(0,o.default)((l={},l[_.default.executedCommandAvatar]=!0,l[_.default.clickable]=null!=r,l))})}function T(e,t,n){var r,a=e.message,o=e.showUsernamePopout,i=e.onClickUsername,l=e.onUserContextMenu,u=e.onPopoutRequestClose;return S(y.default,{compact:!0,author:t,message:a,userOverride:null===(r=a.interaction)||void 0===r?void 0:r.user,showPopout:o,renderPopout:n,onClick:i,onContextMenu:l,onPopoutRequestClose:u,hideTag:!0})}function C(e,t){var n=e.showDataPopout,r=e.message,i=e.onClickCommand,l=e.onPopoutRequestClose;return S(f.default,{renderPopout:t,shouldShow:n,position:f.default.Positions.TOP,align:f.default.Align.CENTER,onRequestClose:l,animation:f.default.Animation.FADE,positionKey:null!=r.interactionData?"ready":"loading"},void 0,(function(e){e.onClick;var t=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onClick"]);return a.createElement(d.default,g({},t,{tag:"span",onClick:i}),S("div",{className:(0,o.default)(_.default.commandName,_.default.clickable)},void 0,"/"+r.interaction.name))}))}function b(e){var t,n=e.message,r=e.channel,d=a.useMemo((function(){return function(e,t){return null!=r&&null!=t?a.createElement(s.default,g({},e,{channelId:r.id,guildId:r.guild_id,userId:t.id})):null}}),[r]),y=a.useMemo((function(){return function(e){return null!=r?a.createElement(v.default,g({},e,{channel:r,messageId:n.id,interactionData:n.interactionData})):null}}),[r,n.id,n.interactionData]),h=(0,l.useNullableUserAuthor)(null===(t=n.interaction)||void 0===t?void 0:t.user,r),E=a.useMemo((function(){return e.compact?(0,u.default)((0,p.dateFormat)((0,i.default)(),"LT")):null}),[e.compact]);if(null==n.interaction||null==h)return null;var b=function(e,t){var n,r=e.message,a=e.compact,o=e.channel,i=e.isInteractionUserBlocked,u=e.showAvatarPopout,s=e.onClickAvatar,d=e.onUserContextMenu,p=e.onPopoutRequestClose;if(a||i)return S("div",{className:_.default.replyBadge},void 0,S(O,{className:_.default.commandIcon}));if(null!=r.interaction){var v,y,m,h=(0,l.getUserAuthor)(r.interaction.user,o);n=null!==(v=c.default.getGuildMemberAvatarURL({guildMemberAvatar:null!==(y=h.guildMemberAvatar)&&void 0!==y?y:void 0,userId:r.interaction.user.id,guildId:null!==(m=null==o?void 0:o.guild_id)&&void 0!==m?m:""}))&&void 0!==v?v:void 0}var E=function(){return null!=r.interaction&&I(r.interaction.user,o.guild_id,n,s,d)};return null!=t&&null!=u?S(f.default,{renderPopout:t,shouldShow:u,position:f.default.Positions.RIGHT,onRequestClose:p},void 0,E):E()}(e,(function(e){var t;return d(e,null===(t=n.interaction)||void 0===t?void 0:t.user)})),M=T(e,h,(function(e){var t;return d(e,null===(t=n.interaction)||void 0===t?void 0:t.user)})),N=C(e,y),A=S(a.Fragment,{},"user",b,M),P=S(a.Fragment,{},"command",N),R=m.default.Messages.APPLICATION_COMMAND_USED_SHORT.format({userHook:function(){return A},commandHook:function(){return P}});return S("div",{className:(0,o.default)(_.default.repliedMessage,_.default.executedCommand,E),"aria-hidden":!e.compact},void 0,R)}O.displayName="CommandIcon",I.displayName="baseRenderUserAvatar",T.displayName="renderUsername",C.displayName="renderCommand",b.displayName="ExecutedCommand"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=S(n(0)),o=E(n(9)),i=n(3),l=n(8260),u=n(8278),s=S(n(8612)),d=n(682),f=n(8310),c=E(n(10)),p=E(n(15)),v=E(n(12)),y=E(n(8426)),m=E(n(151)),_=E(n(24)),h=E(n(7829));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function O(){return(O=Object.assign||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}).apply(this,arguments)}function I(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return T(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var b={tag:"span",size:_.default.Sizes.SIZE_16,color:_.default.Colors.HEADER_SECONDARY},M={className:(0,o.default)("mention",h.default.mention)};function N(e,t,n,r){var o,i,s=null!=r?r+" "+e.name:e.name;if(e.type===l.ApplicationCommandOptionType.SUB_COMMAND||e.type===l.ApplicationCommandOptionType.SUB_COMMAND_GROUP){for(var p,m=[C(a.Fragment,{},s," ",a.createElement(_.default,b,e.name))],h=I(null!==(E=e.options)&&void 0!==E?E:[]);!(p=h()).done;){var E,g=p.value;m=m.concat(N(g,t,n,s))}return m}if(null!=e.value)switch(e.type){case l.ApplicationCommandOptionType.USER:var S=e.value.toString(),T=v.default.getUser(S);if(null!=T){var A=(0,d.getUserAuthor)(T,t);o=a.createElement(y.default,O({},M,{onClick:function(){return(0,f.openUserProfileModal)({userId:T.id,guildId:t.guild_id||void 0})}}),u.MENTION_SENTINEL,A.nick)}break;case l.ApplicationCommandOptionType.CHANNEL:var P=e.value.toString(),R=c.default.getChannel(P);null!=R&&(o=a.createElement(y.default,M,u.CHANNEL_SENTINEL,R.name));break;case l.ApplicationCommandOptionType.ROLE:var L=e.value.toString(),D=null!=(null==n?void 0:n.roles)?n.roles[L]:null;null!=D&&(o=a.createElement(y.default,M,u.MENTION_SENTINEL,D.name));break;case l.ApplicationCommandOptionType.MENTIONABLE:var w=e.value.toString(),j=null!=(null==n?void 0:n.roles)?n.roles[w]:null;if(null!=j)o=C(y.default,{},void 0,u.MENTION_SENTINEL,j.name);else{var k=v.default.getUser(w);if(null!=k){var U=(0,d.getUserAuthor)(k,t);o=a.createElement(y.default,O({},M,{onClick:function(){return(0,f.openUserProfileModal)({userId:k.id,guildId:t.guild_id||void 0})}}),u.MENTION_SENTINEL,U.nick)}}}null==o&&(o=a.createElement(_.default,O({},b,{color:_.default.Colors.HEADER_PRIMARY}),null===(i=e.value)||void 0===i?void 0:i.toString()));return[C(a.Fragment,{},s,a.createElement(_.default,b," ",e.name,": "),o)]}function A(e){var t,n=e.channel,r=e.messageId,o=e.interactionData,l=(0,i.useStateFromStores)([p.default],(function(){return p.default.getGuild(n.guild_id)}),[n.guild_id]);if(a.useEffect((function(){null==o&&s.fetchMessageInteractionData(n.id,r)}),[n.id,r,o]),null==o)t=C(m.default,{type:m.default.Type.SPINNING_CIRCLE,className:h.default.spinner});else{for(var u,d=[],f=I(null!==(c=o.options)&&void 0!==c?c:[]);!(u=f()).done;){var c,v=u.value;d=d.concat(N(v,n,l,null))}t=a.createElement(a.Fragment,null,a.createElement(_.default,b,"/",o.name),d)}return C("div",{className:h.default.container},void 0,C("div",{className:h.default.tooltip},void 0,t),C("div",{className:h.default.tooltipPointer}))}A.displayName="ExecutedCommandPopout";var P=a.memo(A);t.default=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,o){var i=e.message,l=e.channel,u=e.compact,s=n.referencedUsernameProfile,d=n.referencedAvatarProfile,f=i.type===y.MessageTypes.REPLY&&null!=r&&h(E,{baseMessage:i,replyReference:r,referencedMessage:o,channel:l,compact:u,setPopout:t,referencedUsernameProfile:s,referencedAvatarProfile:d});return a.createElement(a.Fragment,null,f)};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(718),l=n(706),u=m(n(70)),s=m(n(8442)),d=m(n(8659)),f=m(n(8361)),c=n(682),p=m(n(9050)),v=n(8542),y=n(1);function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var E=a.memo((function(e){var t=e.baseMessage,n=e.referencedMessage,r=e.channel,m=e.compact,_=void 0!==m&&m,E=e.referencedUsernameProfile,g=e.referencedAvatarProfile,S=e.setPopout,O=n.state===l.ReferencedMessageState.LOADED?n.message:void 0,I=a.useMemo((function(){return null!=O&&O.type===y.MessageTypes.USER_JOIN?(0,i.astToString)(d.default.getSystemMessageUserJoin(O.id).astFormat({username:O.author.username,usernameOnClick:y.NOOP})):null!=O&&O.content?(0,f.default)(O,{formatInline:!0}).content:null}),[O]),T=(0,o.useStateFromStores)([u.default],(function(){return null!=O&&u.default.isBlocked(O.author.id)}),[O]),C=(0,v.useContextMenuUser)(null==O?void 0:O.author.id,r.id),b=(0,v.useClickReply)(t,O,T),M=(0,v.useClickReferencedMessageAuthorUsername)(O,r,E,S),N=(0,v.useClickReferencedMessageAuthorAvatar)(g,S),A=a.useCallback((function(){return S({referencedUsernameProfile:!1,referencedAvatarProfile:!1})}),[S]),P=(0,c.useNullableMessageAuthor)(O),R=(0,c.useNullableMessageAuthor)(t);return h(s.default,{author:P,baseMessage:t,baseAuthor:R,referencedMessage:n,content:I,compact:_,isReplyAuthorBlocked:T,showAvatarPopout:g,showUsernamePopout:E,renderPopout:p.default,onClickAvatar:N,onClickUsername:M,onClickReply:b,onContextMenu:C,onPopoutRequestClose:A})}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.offsetTop,r=e.offsetParent;for(;null!=r&&r!==t&&r instanceof HTMLElement;)n+=r.offsetTop||0,r=r.offsetParent||null;return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r=e.channel,l=e.messages,y=e.unreadCount,I=e.showNewMessagesBar,R=e.messageDisplayCompact,L=e.channelStream,D=e.uploads,F=e.scrollManager,B=e.specs,H=e.viewingRolesMessageHistoryHackTimestamp,x=v.default.getCurrentUser(),V=function(){return F.isInitialized()||l.ready},W=(0,S.useShowConvoStarterInDM)(r),Y=L.map((function(e,t){if(e.type===A.ChannelStreamTypes.DIVIDER){var n=null!=e.unreadId;return null!=H?null:j(C.default,{isUnread:n,isBeforeGroup:null==e.content&&k(L[t+1]),id:n?_.NEW_MESSAGE_BAR_ID:void 0},"divider-"+(e.contentKey||e.unreadId||t),e.content)}if(e.type===A.ChannelStreamTypes.MESSAGE_GROUP_BLOCKED)return j(O.default,{unreadId:_.NEW_MESSAGE_BAR_ID,messages:e,channel:r,compact:R},e.key);if(!(null!=H&&H>1e3*e.content.timestamp.unix())){var a=c.default.can(A.Permissions.CREATE_INSTANT_INVITE,r);if(!(0,E.default)(e.content,a))return j(e.type===A.ChannelStreamTypes.THREAD_STARTER_MESSAGE?T.ThreadStarterChatMessage:T.default,{compact:R,channel:r,message:e.content,groupId:e.groupId,flashKey:e.flashKey,id:(0,h.getMessageDOMId)(e.content.id)},e.content.id)}})),z=L[L.length-1];if(D.forEach((function(e,t){var n=0===t&&(0,g.isNewGroupItem)(z,new f.default({type:A.MessageTypes.DEFAULT,author:x}));Y.push(j(U,{file:e,channel:r,user:x,isGroupStart:n},"upload-"+e.id))})),l.hasMoreBefore){l.length>0&&Y.unshift(j("div",{style:{height:_.PLACEHOLDER_BUFFER,flex:"0 0 auto"}},"buffer"));var K=u.default.useReducedMotion;(K&&V()||!K)&&Y.unshift(a.createElement(M.default,w({key:"has-more",compact:R},B)))}l.hasMoreBefore||Y.unshift(j(s.default,{channel:r},"empty-message"));l.hasMoreAfter&&Y.push(a.createElement(M.default,w({key:"has-more-after",compact:R},B)));W&&V()&&Y.push(j(N.default,{channel:r}));if(y>0&&I&&V()){var $,Z=p.default.getOldestUnreadTimestamp(r.id),q=(0,m.isSameDay)((0,o.default)(),(0,o.default)(new Date(Z)));$=p.default.isEstimated(r.id)?q?P.default.Messages.NEW_MESSAGES_ESTIMATED:P.default.Messages.NEW_MESSAGES_ESTIMATED_WITH_DATE:q?P.default.Messages.NEW_MESSAGES:P.default.Messages.NEW_MESSAGES_WITH_DATE,t=j(b.NewMessagesBar,{content:$.format({count:y,timestamp:Z}),channelId:r.id})}if(l.error)n=j(b.ErrorLoadingBar,{loading:l.loadingMore,onClick:function(){return e=r.id,void i.default.fetchMessages({channelId:e,limit:A.MAX_MESSAGES_PER_CHANNEL,truncate:!0});var e}});else if(l.hasMoreAfter&&V()){var X=l.jumpReturnTargetId;n=l.loadingMore&&l.jumpedToPresent?G:j(b.JumpToPresentBar,null!=X?{type:b.JumpBarType.REPLY,onClick:function(){return function(e,t){i.default.jumpToMessage({channelId:e.id,messageId:t,flash:!0})}(r,X)}}:{onClick:function(){return function(e){i.default.jumpToPresent(e.id,A.MAX_MESSAGES_PER_CHANNEL),(0,d.transitionToGuild)(e.getGuildId()||A.ME,e.id)}(r)}})}return{channelStreamMarkup:Y,newMessagesBar:t,jumpToPresentBar:n}};var r,a=D(n(0)),o=R(n(5)),i=R(n(390)),l=R(n(8558)),u=R(n(105)),s=R(n(10123)),d=n(42),f=R(n(1307)),c=R(n(40)),p=R(n(200)),v=R(n(12)),y=n(8904),m=n(1161),_=n(1254),h=n(8541),E=R(n(8590)),g=n(8667),S=n(10132),O=R(n(10133)),I=R(n(8375)),T=D(n(8707)),C=R(n(9053)),b=n(8308),M=R(n(9045)),N=R(n(10134)),A=n(1),P=R(n(6));function R(e){return e&&e.__esModule?e:{default:e}}function L(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return L=function(){return e},e}function D(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=L();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function w(){return(w=Object.assign||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}).apply(this,arguments)}function j(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function k(e){return null!=e&&e.type===A.ChannelStreamTypes.MESSAGE&&e.content.id===e.groupId}var U=a.memo((function(e){var t=e.file,n=e.channel,r=e.user,a=e.isGroupStart;return j(I.default,{isGroupStart:a,channel:n,message:new f.default({id:t.id,key:"pending-upload-"+t.id,type:A.MessageTypes.DEFAULT,author:r,channel_id:n.id,customRenderedContent:{hasSpoilerEmbeds:!1,content:j(y.AttachmentUpload,{filename:t.name,progress:null!=t.progress?t.progress:0,size:t.size,onCancelUpload:function(){l.default.cancel(t)}})}})})})),G=j(b.JumpToPresentBar,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=N;var r,a=C(n(0)),o=n(3),i=I(n(2)),l=n(1150),u=I(n(180)),s=n(8574),d=I(n(8363)),f=n(31),c=I(n(86)),p=I(n(40)),v=I(n(10124)),y=C(n(8373)),m=I(n(10125)),_=I(n(10126)),h=I(n(10129)),E=I(n(10130)),g=I(n(9218)),S=n(1),O=I(n(6));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(e){var t=e.canManageRoles,n=e.channel,r=t&&(0,s.isPrivateGuildChannel)(n),a=(0,o.useStateFromStores)([c.default],(function(){return null!=n.guild_id&&n===c.default.getDefaultChannel(n.guild_id)}),[n]);return f.THREAD_CHANNEL_TYPES.has(n.type)?b(E.default,{channel:n}):b(a?g.default:r?_.default:h.default,{channel:n})}function N(e){var t=e.channel,n=(0,u.default)(t),r=t.type,s=t.getRecipientId(),f=(0,o.useStateFromStoresObject)([p.default],(function(){return{canManageRoles:p.default.can(S.Permissions.MANAGE_ROLES,t),canReadMessageHistory:p.default.can(S.Permissions.READ_MESSAGE_HISTORY,t)}})),c=f.canManageRoles,_=f.canReadMessageHistory,h=(0,o.useStateFromStores)([d.default],(function(){return r===S.ChannelTypes.DM?d.default.getMutualGuilds(s):null}),[r,s]);return a.useEffect((function(){r===S.ChannelTypes.DM&&null==h&&i.default.wait((function(){return(0,l.fetchProfile)(s,{withMutualGuilds:!0})}))}),[h,r,s]),t.isSystemDM()?b(m.default,{channel:t},void 0,O.default.Messages.SYSTEM_DM_EMPTY_MESSAGE):r===S.ChannelTypes.DM?b(m.default,{channel:t},void 0,O.default.Messages.BEGINNING_DM.format({username:n}),b(v.default,{userId:s})):t.isMultiUserDM()?t.isManaged()?b(y.default,{channelId:t.id},void 0,b(y.EmptyMessageHeader,{},void 0,O.default.Messages.BEGINNING_CHANNEL_WELCOME.format({channelName:n})),b(y.EmptyMessageBody,{},void 0,O.default.Messages.BEGINNING_GROUP_DM_MANAGED)):b(m.default,{channel:t},void 0,O.default.Messages.BEGINNING_GROUP_DM.format({name:n})):_?b(M,{channel:t,canManageRoles:c}):b(y.default,{channelId:t.id},void 0,b(y.EmptyMessageBody,{},void 0,O.default.Messages.BEGINNING_CHANNEL_NO_HISTORY.format({channelName:n})))}M.displayName="TextChannelEmptyMessageWrapper",N.displayName="EmptyMessages"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=g(n(1217)),l=n(8433),u=g(n(8363)),s=n(8310),d=g(n(70)),f=g(n(12)),c=g(n(29)),p=g(n(61)),v=g(n(248)),y=g(n(24)),m=g(n(150)),_=n(1),h=g(n(6)),E=g(n(7830));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var I=function(e){var t=e.userId,n=(0,o.useStateFromStores)([u.default],(function(){return u.default.getMutualGuilds(t)}),[t]),r=a.useMemo((function(){return null!=n?n.slice(0,3).map((function(e,t){var r=e.guild,a=null!=r?m.default.getGuildIconURL({id:r.id,icon:r.icon,size:24}):null;if(null==a)return null;var o=t===(n.length>3?3:n.length)-1,i=O("img",{src:a,alt:"",className:E.default.avatar},t);return o?i:O(v.default,{className:E.default.avatarMask,mask:v.default.Masks.VOICE_USER_SUMMARY_ITEM,width:24,height:24},t,i)})).filter((function(e){return null!=e})):[]}),[n]);if(null==n||0===n.length)return O(y.default,{color:y.default.Colors.HEADER_SECONDARY},void 0,h.default.Messages.NO_MUTUAL_GUILDS);return a.createElement(a.Fragment,null,O("div",{className:E.default.avatarContainer},void 0,r),O(p.default,{onClick:function(){(0,s.openUserProfileModal)({userId:t,section:l.UserProfileSections.MUTUAL_GUILDS})}},void 0,O(y.default,{className:E.default.mutualGuilds},void 0,h.default.Messages.USER_PROFILE_MUTUAL_GUILDS.format({count:n.length}))))},T=function(e){var t,n=e.relationshipType,r=e.userId,o=null===(t=f.default.getUser(r))||void 0===t?void 0:t.bot,l=function(){i.default.removeRelationship(r,{location:_.AnalyticsPages.DM_CHANNEL})},u=function(){i.default.addRelationship(r,{location:_.AnalyticsPages.DM_CHANNEL})},s=O(c.default,{className:E.default.action,size:c.default.Sizes.TINY,color:c.default.Colors.PRIMARY,onClick:function(){i.default.addRelationship(r,{location:_.AnalyticsPages.DM_CHANNEL},_.RelationshipTypes.BLOCKED)}},void 0,h.default.Messages.BLOCK);switch(n){case _.RelationshipTypes.NONE:return a.createElement(a.Fragment,null,!o&&O(c.default,{className:E.default.action,size:c.default.Sizes.TINY,onClick:u},void 0,h.default.Messages.ADD_FRIEND),s);case _.RelationshipTypes.FRIEND:return a.createElement(a.Fragment,null,O(c.default,{className:E.default.action,size:c.default.Sizes.TINY,onClick:l,color:c.default.Colors.PRIMARY},void 0,h.default.Messages.REMOVE_FRIEND),s);case _.RelationshipTypes.BLOCKED:return O(c.default,{className:E.default.action,size:c.default.Sizes.TINY,onClick:l,color:c.default.Colors.PRIMARY},void 0,h.default.Messages.UNBLOCK);case _.RelationshipTypes.PENDING_INCOMING:return a.createElement(a.Fragment,null,O(y.default,{className:E.default.action,color:y.default.Colors.HEADER_SECONDARY},void 0,h.default.Messages.FRIEND_REQUEST_RECEIVED),O(c.default,{className:E.default.action,size:c.default.Sizes.TINY,onClick:u},void 0,h.default.Messages.FRIEND_REQUEST_ACCEPT),O(c.default,{className:E.default.action,size:c.default.Sizes.TINY,color:c.default.Colors.PRIMARY,onClick:l},void 0,h.default.Messages.FRIEND_REQUEST_IGNORE),s);case _.RelationshipTypes.PENDING_OUTGOING:return a.createElement(a.Fragment,null,O(c.default,{className:E.default.action,size:c.default.Sizes.TINY,disabled:!0},void 0,h.default.Messages.ADD_FRIEND_BUTTON_AFTER),s);default:return null}},C=function(e){var t=e.userId,n=(0,o.useStateFromStores)([d.default],(function(){return d.default.getRelationshipType(t)}),[t]);return O("div",{className:E.default.container},void 0,O(I,{userId:t}),O("div",{className:E.default.divider}),O(T,{relationshipType:n,userId:t}))};C.displayName="DMRelationshipStatus";var b=C;t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r,a=f(n(0)),o=n(5937),i=s(n(180)),l=s(n(279)),u=f(n(8373));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t,n=e.channel,r=e.children,s=a.useState(!1),d=s[0],f=s[1],p=null!==(t=(0,i.default)(n))&&void 0!==t?t:"";return c(u.default,{channelId:n.id,onMouseEnter:function(){return f(!0)},onMouseLeave:function(){return f(!1)}},void 0,c(l.default,{"aria-label":p,size:l.default.Sizes.SIZE_80,src:(0,o.getChannelIconURL)(n,d)}),c(u.EmptyMessageHeader,{},void 0,p),c(u.EmptyMessageBody,{},void 0,r))}p.displayName="PrivateChannelEmptyMessage"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=H;var r,a=j(n(0)),o=D(n(9)),i=D(n(8)),l=D(n(63)),u=n(202),s=n(3),d=D(n(8330)),f=D(n(8254)),c=n(286),p=D(n(180)),v=D(n(8482)),y=D(n(8295)),m=D(n(15)),_=D(n(40)),h=D(n(12)),E=D(n(1215)),g=D(n(696)),S=D(n(35)),O=D(n(279)),I=D(n(10127)),T=D(n(9051)),C=D(n(24)),b=D(n(78)),M=D(n(9052)),N=j(n(8373)),A=D(n(10128)),P=n(1),R=D(n(6)),L=D(n(7835));function D(e){return e&&e.__esModule?e:{default:e}}function w(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return w=function(){return e},e}function j(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=w();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function k(){return(k=Object.assign||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}).apply(this,arguments)}function U(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var G=U(g.default,{width:16,height:16}),F=U(E.default,{width:16,height:16}),B=U(N.EmptyMessageIcon,{locked:!0});function H(e){var t=e.channel,n=a.useState(!1),r=n[0],E=n[1],g=(0,p.default)(t,!0),D=(0,s.useStateFromStores)([m.default],(function(){return m.default.getGuild(t.guild_id)})),w=(0,s.useStateFromStores)([h.default],(function(){return h.default.getUser(null==D?void 0:D.ownerId)})),j=a.useMemo((function(){return null!=D?(0,i.default)(D.roles).sortBy((function(e){return-e.position})).filter((function(e){return e.id!==D.id})).value():[]}),[D]),H=a.useMemo((function(){return(0,i.default)(j).filter((function(e){var n;if(null==D)return!1;var r=b.default.computePermissionsForRoles(((n={})[e.id]=e,n),t);return l.default.has(r,P.Permissions.ADMINISTRATOR)||l.default.has(r,P.Permissions.VIEW_CHANNEL)})).value()}),[t,D,j]),x=(0,s.useStateFromStoresArray)([h.default],(function(){var e={};null!=w&&(e[w.id]=w);for(var n=0,r=Object.values(t.permissionOverwrites);n<r.length;n++){var a=r[n];if(a.type===c.PermissionOverwriteType.MEMBER&&null==e[a.id]){var o=h.default.getUser(a.id);null!=o&&(e[o.id]=o)}}return(0,i.default)(e).filter((function(e){var n,r=b.default.can(P.Permissions.ADMINISTRATOR,e,t),a=null!==(n=t.permissionOverwrites[e.id])&&void 0!==n?n:b.default.NONE,o=l.default.has(a.allow,P.Permissions.VIEW_CHANNEL);return r||o})).value()}),[t,w]),V=_.default.can(P.Permissions.MANAGE_CHANNELS,t)||_.default.can(P.Permissions.MANAGE_ROLES,t);function W(){d.default.open(t.id)}var Y=a.useCallback((function(){return E(!1)}),[]);return U(N.default,{channelId:t.id},void 0,B,U(N.EmptyMessageHeader,{},void 0,R.default.Messages.BEGINNING_CHANNEL_WELCOME.format({channelName:g})),U(N.EmptyMessageBody,{},void 0,R.default.Messages.BEGINNING_ROLE_REQUIRED_CHANNEL_DESCRIPTION.format({channelName:g,topicHook:function(){return y.default.parseTopic(t.topic,!0,{channelId:t.id})}})),V?U("div",{className:L.default.channelSettingButtons},void 0,U(M.default,{label:R.default.Messages.CHANNEL_PERMISSIONS_ADD_MEMBERS_TITLE,onClick:function(){return E(!0)},icon:G}),U(M.default,{label:R.default.Messages.EDIT_CHANNEL,onClick:W,icon:F})):null,U("div",{className:L.default.members},void 0,function(){if(1!==x.length||H.length>0)return U(A.default,{guildId:t.guild_id,className:L.default.avatars,maxUsers:5,users:x});var e=x[0],n=e.toString();return U("div",{className:L.default.avatars},void 0,U(O.default,{src:e.getAvatarURL(t.guild_id),"aria-label":n,size:O.default.Sizes.SIZE_24}),U(C.default,{tag:"span",className:L.default.singleUserName,size:C.default.Sizes.SIZE_16},void 0,n)," ",U(C.default,{tag:"span",size:C.default.Sizes.SIZE_16,color:C.default.Colors.MUTED},void 0,R.default.Messages.ROLE_REQUIRED_SINGLE_USER_MESSAGE))}(),H.map((function(e,n){var r,a,i,l=null!==(r=e.colorString)&&void 0!==r?r:(0,u.int2hex)(P.DEFAULT_ROLE_COLOR);return V?U(I.default,{className:(0,o.default)(L.default.role,(a={},a[L.default.last]=n===H.length-1,a)),roleName:e.name,roleColor:l,disabled:!V,onClick:function(){f.default.open(t.guild_id,P.GuildSettingsSections.MEMBERS),f.default.selectRole(e.id)}},e.id):U(T.default,{className:(0,o.default)(L.default.role,(i={},i[L.default.last]=n===H.length-1,i)),roleName:e.name,roleColor:l},e.id)}))),r?U(S.default,{renderModal:function(e){return a.createElement(v.default,k({},e,{onClose:Y,channelId:t.id}))},onCloseRequest:function(){return E(!1)}}):null)}H.displayName="RoleRequiredEmptyMessage"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(9)),o=s(n(29)),i=s(n(255)),l=s(n(9051)),u=s(n(7832));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.className,n=e.roleColor,r=e.roleName,s=e.hasRemoveIcon,d=void 0!==s&&s,c=e.onClick,p=e.disabled,v=void 0!==p&&p;return f(o.default,{className:(0,a.default)(t,u.default.button),look:o.default.Looks.BLANK,size:o.default.Sizes.NONE,onClick:c,disabled:v},void 0,f(l.default,{className:u.default.role,roleColor:n,roleName:r},void 0,d&&f(i.default,{height:6,width:6,className:u.default.removeRole,foreground:u.default.removeRoleIcon})))}c.displayName="RoleButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=S;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=_(n(9)),i=_(n(8)),l=n(389),u=_(n(9143)),s=_(n(8351)),d=_(n(29)),f=_(n(282)),c=_(n(278)),p=n(149),v=_(n(279)),y=_(n(272)),m=_(n(7834));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(){return(g=Object.assign||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}).apply(this,arguments)}function S(e){var t,n,r=e.className,_=e.maxUsers,h=e.users,S=e.guildId,O=a.useState(!1),I=O[0],T=O[1];function C(){return E(f.default,{className:m.default.popoutWrapper},void 0,E(y.default,{className:m.default.scroller},void 0,h.map((function(e){return E(u.default,{guildId:S,user:e,nick:e.toString(),onContextMenu:function(t){return(0,l.openContextMenu)(t,(function(t){return a.createElement(s.default,g({},t,{user:e}))}),{onClose:function(){return T(!1)}})}},e.id)}))))}return h.length<=0?null:E("div",{className:(0,o.default)(r,m.default.avatars)},void 0,(t=(0,i.default)(h).take(_).map((function(e){var t=e.toString();return E(p.TooltipContainer,{text:t,className:m.default.avatar},e.id,E(v.default,{src:e.getAvatarURL(S),"aria-label":t,size:v.default.Sizes.SIZE_24}))})).value(),(n=h.length-_)>0&&(t[t.length-1]=E(c.default,{renderPopout:C,shouldShow:I,position:c.default.Positions.BOTTOM,onRequestClose:function(){return T(!1)}},"overflow",(function(){return E(d.default,{className:(0,o.default)(m.default.avatar,m.default.overflow),onClick:function(){return T(!0)},look:d.default.Looks.BLANK,size:d.default.Sizes.NONE},void 0,"+",n+1)}))),t))}S.displayName="StackedAvatars"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=O;h(n(0));var r,a=n(3),o=m(n(8330)),i=m(n(180)),l=m(n(8295)),u=n(31),s=m(n(40)),d=m(n(1215)),f=m(n(9052)),c=h(n(8373)),p=n(1),v=m(n(6)),y=m(n(7836));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var g=E(c.EmptyMessageIcon,{}),S=E(d.default,{width:16,height:16});function O(e){var t=e.channel,n=(0,i.default)(t,!0),r=(0,a.useStateFromStores)([s.default],(function(){return s.default.can(p.Permissions.MANAGE_CHANNELS,t)&&u.EDITABLE_CHANNEL_TYPES.has(t.type)}));return E(c.default,{channelId:t.id},void 0,g,E(c.EmptyMessageHeader,{},void 0,v.default.Messages.BEGINNING_CHANNEL_WELCOME.format({channelName:n})),E(c.EmptyMessageBody,{},void 0,v.default.Messages.BEGINNING_CHANNEL_DESCRIPTION.format({channelName:n,topicHook:function(){return l.default.parseTopic(t.topic,!0,{channelId:t.id})}})),r?E("div",{className:y.default.buttonContainer},void 0,E(f.default,{label:v.default.Messages.EDIT_CHANNEL,onClick:function(){o.default.open(t.id)},icon:S})):null)}O.displayName="TextChannelEmptyMessage"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=P;var r,a=C(n(0)),o=I(n(23)),i=n(3),l=n(389),u=I(n(8449)),s=n(8566),d=I(n(9226)),f=I(n(8264)),c=I(n(8268)),p=I(n(56)),v=I(n(12)),y=I(n(61)),m=I(n(278)),_=I(n(8287)),h=I(n(24)),E=C(n(8373)),g=n(1),S=I(n(6)),O=I(n(7405));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(){return(M=Object.assign||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}).apply(this,arguments)}function N(e){var t,n,r=e.userId,u=e.channel,s=(0,i.useStateFromStores)([v.default],(function(){return v.default.getUser(r)})),_=(0,i.useStateFromStores)([p.default],(function(){return null!=r?p.default.getMember(u.guild_id,r):null}));function h(e){if(null==s)return null;(0,l.openContextMenu)(e,(function(e){return a.createElement(d.default,M({},e,{user:s,guildId:u.guild_id,channelId:u.id}))}))}var E=null!==(t=null!==(n=null==_?void 0:_.nick)&&void 0!==n?n:null==s?void 0:s.username)&&void 0!==t?t:"???",g=null==_?void 0:_.colorString;return b(m.default,{preload:null==s?void 0:function(){return(0,f.default)(s.id,s.getAvatarURL(u.guild_id))},renderPopout:function(e){return(0,o.default)(null!=s,"Unexpected missing user"),a.createElement(c.default,M({userId:s.id,guildId:u.guild_id,channelId:u.id},e))},position:m.default.Positions.RIGHT},void 0,(function(e){return a.createElement(y.default,M({},e,{tag:"span",className:O.default.threadCreatorName,style:null!=g?{color:g}:void 0,onContextMenu:h}),E)}))}function A(e){var t=e.channel,n=t.threadMetadata;return null==n?b("div",{style:{marginTop:-8}}):a.createElement(a.Fragment,null,b(h.default,{size:h.default.Sizes.SIZE_16,color:h.default.Colors.HEADER_SECONDARY},void 0,b("div",{className:O.default.subtitle},void 0,S.default.Messages.THREAD_STARTED_BY.format({usernameHook:function(e,n){return b(N,{userId:t.ownerId,channel:t},n)}})),S.default.Messages.BEGINNING_THREAD_ARCHIVE_DESCRIPTION.format({autoArchiveDurationHook:function(e,t){return b("span",{className:O.default.autoArchiveDuration},t,(0,s.getAutoArchiveDurationText)(n.autoArchiveDuration))}})),t.type===g.ChannelTypes.PRIVATE_THREAD?b(h.default,{size:h.default.Sizes.SIZE_16,color:h.default.Colors.HEADER_SECONDARY},void 0,S.default.Messages.EMPTY_MESSAGE_PRIVATE_THREAD_INSTRUCTIONS):null)}function P(e){var t,n=e.channel,r=null!==(t=(0,u.default)(n))&&void 0!==t?t:_.default;return b(E.default,{channelId:n.id},void 0,b("div",{className:O.default.iconWrapper},void 0,b(r,{className:O.default.icon})),b(E.EmptyMessageHeader,{},void 0,n.name),b(A,{channel:n}))}N.displayName="Username",P.displayName="ThreadEmptyMessage"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=a.useMemo((function(){var n;return(n={})[t]=[e.id],n}),[t,e.id]);(0,u.useSubscribeGuildMembers)(r),(0,o.useStateFromStores)([m.default],(function(){return m.default.getGuildVersion(t)}),[t]);var S=(0,o.useStateFromStores)([v.default],(function(){return v.default.getChannel(n)})),O=(0,o.useStateFromStores)([y.default],(function(){return y.default.getGuild(t)}),[t]),C=(0,o.useStateFromStores)([_.default],(function(){return _.default.getNullableCurrentUser()})),b=(0,s.default)(S,"Context Menu"),M=(0,p.useIsThreadModerator)(S);if((null==C?void 0:C.id)===e.id)return[b];if(null==O||null==S||null==C)return[];var N=M||S.ownerId===C.id&&S.type===E.ChannelTypes.PRIVATE_THREAD;return[N?T(d.MenuItem,{id:"remove",label:g.default.Messages.REMOVE_USER_FROM_THREAD.format({user:e.username}),color:f.MenuItemColor.DANGER,action:function(){return c.default.removeMember(S,e.id,"Context Menu")}}):null,m.default.canManageUser(E.Permissions.KICK_MEMBERS,e,O)?T(d.MenuItem,{id:"kick",label:N?g.default.Messages.KICK_USER_FROM_SERVER.format({user:e.username}):g.default.Messages.KICK_USER.format({user:e.username}),color:f.MenuItemColor.DANGER,action:function(){return(0,h.openModal)((function(t){return a.createElement(l.default,I({},t,{guildId:O.id,user:e}))}))}}):null,m.default.canManageUser(E.Permissions.BAN_MEMBERS,e,O)?T(d.MenuItem,{id:"ban",label:N?g.default.Messages.BAN_USER_FROM_SERVER.format({user:e.username}):g.default.Messages.BAN_USER.format({user:e.username}),color:f.MenuItemColor.DANGER,action:function(){return(0,h.openModal)((function(t){return a.createElement(i.default,I({},t,{guildId:O.id,user:e}))}))}}):null]};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=S(n(8604)),l=S(n(8828)),u=n(8298),s=S(n(8639)),d=n(8253),f=n(8256),c=S(n(8265)),p=n(1209),v=S(n(10)),y=S(n(15)),m=S(n(40)),_=S(n(12)),h=n(41),E=n(1),g=S(n(6));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(){return(I=Object.assign||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}).apply(this,arguments)}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useShowConvoStarterInDM=function(e){var t=e.isDM()&&!e.isSystemDM()&&!e.rawRecipients.some((function(e){return e.bot}));return(0,a.useStateFromStores)([o.default],(function(){if(!t)return!1;var n=o.default.getMessages(e.id);return n.ready&&!n.hasMoreBefore&&!n.hasMoreAfter&&n.length<25&&!o.default.hasCurrentUserSentMessage(e.id)}),[e.id,t])},t.MAX_MESSAGES_ALLOWED_FOR_GREETING=void 0;var r,a=n(3),o=(r=n(201))&&r.__esModule?r:{default:r};t.MAX_MESSAGES_ALLOWED_FOR_GREETING=25},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=h(n(0)),o=m(n(9)),i=m(n(61)),l=m(n(255)),u=m(n(8424)),s=m(n(8266)),d=h(n(8707)),f=m(n(9053)),c=n(1),p=m(n(6)),v=m(n(7379)),y=m(n(7343));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e){var t=e.expanded,n=e.onClick,r=e.count,a=e.compact;return E(u.default,{compact:a,role:"group",childrenMessageContent:E(s.default,{compact:a,className:v.default.blockedSystemMessage,iconNode:E(l.default,{className:v.default.blockedIcon})},void 0,E("div",{className:v.default.blockedMessageText},void 0,p.default.Messages.BLOCKED_MESSAGE_COUNT.format({count:r})," —"," ",E(i.default,{tag:"span",onClick:n,className:v.default.blockedAction},void 0,t?p.default.Messages.BLOCKED_MESSAGES_HIDE.format({count:r}):p.default.Messages.BLOCKED_MESSAGES_SHOW.format({count:r}))))})}function S(e){var t,n,r=e.messages,i=e.channel,l=e.compact,u=void 0!==l&&l,s=e.unreadId,p=r.hasJumpTarget,m=void 0!==p&&p,_=a.useState(m),h=_[0],S=_[1],O=a.useCallback((function(){return S((function(e){return!e}))}),[]),I=r.hasUnread?r.content.length-1:r.content.length;return E("div",{className:(0,o.default)((t={},t[y.default.groupStart]=!0,t[v.default.expanded]=h,t))},void 0,!r.hasUnread||h&&(null===(n=r.content[0])||void 0===n?void 0:n.type)!==c.ChannelStreamTypes.DIVIDER?null:E(f.default,{isUnread:!0,id:s},"divider"),E(g,{count:I,compact:u,expanded:h,onClick:O},"blocked-message-item"),h?r.content.map((function(e,t){if(e.type===c.ChannelStreamTypes.DIVIDER&&t>0){var n,a,o=null!==(n=null===(a=r.content[t+1])||void 0===a?void 0:a.isGroupStart)&&void 0!==n&&n;return E(f.default,{isUnread:!0,isBeforeGroup:o,id:s},"divider")}if(e.type===c.ChannelStreamTypes.MESSAGE||e.type===c.ChannelStreamTypes.THREAD_STARTER_MESSAGE)return E(e.type===c.ChannelStreamTypes.THREAD_STARTER_MESSAGE?d.ThreadStarterChatMessage:d.default,{className:v.default.blocked,compact:u,channel:i,message:e.content,groupId:e.groupId,flashKey:e.flashKey},e.content.id)})):null)}g.displayName="BlockedItemMessage",S.displayName="BlockedMessages";var O=a.memo(S);t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.channel,n=a.useState(""),r=n[0],O=n[1];a.useEffect((function(){(0,u.fetchStickerPack)("749043879713701898",!0)}),[]);var I=(0,i.useStateFromStores)([c.default,f.default],(function(){return Boolean((0,o.default)(c.default.getMessages(t.id).toArray()).reverse().find((function(e){return e.author.id!==f.default.getId()&&e.state===E.MessageStates.SENT&&!(0,h.default)(e)})))})),C=(0,i.useStateFromStores)([p.default],(function(){var e;return(null===(e=p.default.getUser(t.getRecipientId()))||void 0===e?void 0:e.username)||g.default.Messages.WAVE_DEFAULT_RECIPIENT})),M=(0,i.useStateFromStores)([s.default],(function(){return s.default.getStickerById("749054660769218631")})),N=a.useCallback(b(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!r){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,e.next=5,l.default.sendGreetMessage(t.id,"749054660769218631");case 5:_.default.track(E.AnalyticEvents.DM_EMPTY_ACTION,{channel_id:t.id,channel_type:t.type,source:"Wave",type:"Send wave"}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(2),e.t0.ok||429!==e.t0.status||O(g.default.Messages.RATE_LIMITED);case 11:case"end":return e.stop()}}),e,null,[[2,8]])}))),[t.id,t.type,r]),A=g.default.Messages.WAVE_TO.format({username:C}),P=r?T(m.default,{className:S.default.error,color:m.default.Colors.ERROR},void 0,r):null;return I?T("div",{className:S.default.containerCompact},void 0,T(y.default,{className:r?S.default.compactButtonDisabled:S.default.compactButton,"aria-label":g.default.Messages.SEND_WAVE,onClick:N},void 0,T(d.default,{sticker:M,size:24}),T(m.default,{className:S.default.text,size:m.default.Sizes.SIZE_16},void 0,A)),P):T("div",{className:S.default.containerExpanded},void 0,T(d.default,{sticker:M,size:160}),T(v.default,{className:S.default.button,onClick:N,disabled:Boolean(r)},void 0,A),P)};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=O(n(8)),i=n(3),l=O(n(390)),u=n(5940),s=O(n(362)),d=O(n(5936)),f=O(n(11)),c=O(n(201)),p=O(n(12)),v=O(n(29)),y=O(n(61)),m=O(n(24)),_=O(n(13)),h=O(n(685)),E=n(1),g=O(n(6)),S=O(n(7837));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function b(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){C(o,r,a,i,l,"next",e)}function l(e){C(o,r,a,i,l,"throw",e)}i(void 0)}))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(3),o=f(n(1217)),i=f(n(70)),l=f(n(93)),u=f(n(9054)),s=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){var t=e.channel,f=e.children,c=(0,a.useStateFromStores)([i.default],(function(){return i.default.isBlocked(t.getRecipientId())})),p=t.isSystemDM(),v=c&&!p&&!t.isMultiUserDM(),y={};return p?(y.message=d.default.Messages.SYSTEM_DM_CHANNEL_DESCRIPTION,y.subtitle=d.default.Messages.SYSTEM_DM_CHANNEL_DESCRIPTION_SUBTEXT,y.buttonText=d.default.Messages.LEARN_MORE,y.onButtonClick=function(){return open(l.default.getArticleURL(s.HelpdeskArticles.SYSTEM_DMS))},y.imageSrc=n(10136)):v&&(y.message=d.default.Messages.DM_VERIFICATION_TEXT_BLOCKED,y.buttonText=d.default.Messages.UNBLOCK,y.onButtonClick=function(){o.default.removeRelationship(t.getRecipientId())}),r.createElement(u.default,y,f)}p.displayName="DMVerification"},function(e,t,n){e.exports=n.p+"808cc31ed06de30bacc3bbc88437b0f8.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=$(n(0)),o=z(n(3)),i=z(n(363)),l=z(n(8514)),u=z(n(199)),s=z(n(105)),d=$(n(735)),f=z(n(8294)),c=n(8262),p=z(n(1233)),v=z(n(10138)),y=z(n(9227)),m=z(n(8398)),_=z(n(10140)),h=z(n(182)),E=$(n(10141)),g=$(n(8914)),S=n(5831),O=n(42),I=z(n(11)),T=z(n(8897)),C=z(n(56)),b=z(n(15)),M=z(n(1219)),N=z(n(40)),A=z(n(39)),P=z(n(12)),R=$(n(29)),L=z(n(61)),D=z(n(278)),w=n(8382),j=z(n(466)),k=z(n(35)),U=n(41),G=z(n(24)),F=z(n(78)),B=z(n(9054)),H=z(n(9228)),x=z(n(8447)),V=n(1),W=z(n(6)),Y=z(n(7844));function z(e){return e&&e.__esModule?e:{default:e}}function K(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return K=function(){return e},e}function $(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=K();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function Z(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function q(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Z(o,r,a,i,l,"next",e)}function l(e){Z(o,r,a,i,l,"throw",e)}i(void 0)}))}}function X(){return(X=Object.assign||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}).apply(this,arguments)}function J(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function Q(e,t){return(Q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ee=function(e){var t,r;function o(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).chatInputRef=a.createRef(),t.state={submitting:!1,shouldShowLurkerModeUpsellPopout:!1},t.handleCancelApplication=function(){var e=t.props.guild;null!=e&&(0,U.openModal)((function(t){return a.createElement(j.default,X({header:W.default.Messages.MODIFY_FOLLOWED_NEWS_HEADER,confirmText:W.default.Messages.CONFIRM,cancelText:W.default.Messages.CANCEL,onConfirm:function(){return f.default.removeGuildJoinRequest(e.id)},confirmButtonColor:R.default.Colors.BRAND},t),J(G.default,{size:G.default.Sizes.SIZE_16},void 0,W.default.Messages.MEMBER_VERIFICATION_CANCEL_APPLICATION_SUBTITLE))}))},t.handleViewApplicationRejection=function(){(0,U.openModal)((function(e){var n=t.props.guild;if(null!=n)return a.createElement(y.default,X({guildId:n.id},e))}))},t.handleShowMemberVerification=function(){var e=t.props.guild;null!=e&&(0,m.default)(e.id)},t.handleClaimAccount=function(){d.openClaimAccountModal()},t.handleVerifyPhone=function(){(0,U.openModal)((function(e){return a.createElement(x.default,e)}),{modalKey:S.PHONE_VERIFICATION_MODAL_KEY})},t.handleResendVerification=function(){i.default.verifyResend(),(0,U.openModal)((function(e){return a.createElement(j.default,X({},e,{header:W.default.Messages.VERIFICATION_EMAIL_TITLE,confirmText:W.default.Messages.OKAY,confirmButtonColor:R.default.Colors.BRAND}),J(G.default,{size:G.default.Sizes.SIZE_16},void 0,W.default.Messages.VERIFICATION_EMAIL_BODY.format({email:P.default.getCurrentUser().email})))}))},t.handleTextAreaClick=function(){var e=t.props.showLurkerModeUpsellPopout;t.setState({shouldShowLurkerModeUpsellPopout:e})},t.handleJoinServer=q(regeneratorRuntime.mark((function e(){var n,r,a,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.props.hasVerificationGate,t.setState({submitting:!0}),r=t.props.channel.getGuildId(),e.prev=3,e.next=6,u.default.joinGuild(r,!1,V.JoinGuildSources.CHAT_INPUT_BLOCKER);case 6:o=e.sent,n&&null!=(null===(a=o.body)||void 0===a?void 0:a.member_verification_form)&&null!=r&&(0,m.default)(r),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(3),t.setState({submitting:!1});case 13:case"end":return e.stop()}}),e,null,[[3,10]])}))),t.handleGoBack=function(){t.setState({submitting:!0}),(0,O.getHistory)().goBack()},t.handleFollowAnnouncement=function(){var e=t.props.channel;(0,U.openModal)((function(t){return a.createElement(H.default,X({channel:e},t))}))},t.closeLurkerModeUpsellPopout=function(){t.setState({shouldShowLurkerModeUpsellPopout:!1})},t.renderLurkerModeUpsellPopout=function(){var e=t.props.guild;return null==e?null:J(g.default,{type:g.LurkerModeUpsellPopoutTypes.CHAT,guild:e,closePopout:t.closeLurkerModeUpsellPopout})},t.renderMemberVerificationSuccessModal=function(){var e=t.props,n=e.guild,r=e.guildJoinRequest,o=(null==r?void 0:r.applicationStatus)===c.GuildJoinRequestApplicationStatuses.APPROVED&&null!=(null==r?void 0:r.lastSeen);if(null==(null==n?void 0:n.id)||(null==r?void 0:r.applicationStatus)!==c.GuildJoinRequestApplicationStatuses.APPROVED||o)return null;var i=function(){f.default.ackUserGuildJoinRequest(null==n?void 0:n.id)};return J(k.default,{renderModal:function(e){return a.createElement(v.default,X({},e,{onAccept:i,guildName:null==n?void 0:n.name}))},onCloseRequest:i})},t}r=e,(t=o).prototype=Object.create(r.prototype),t.prototype.constructor=t,Q(t,r);var s=o.prototype;return s.componentDidMount=function(){var e=this.props,t=e.isFollowable,n=e.channelFollowingUsersSeen,r=e.channel;t&&null==n&&l.default.fetchChannelFollowerStats(r.id)},s.componentDidUpdate=function(e){var t=this.props,n=t.shouldShowLurkerModeSuccessPopout,r=t.guild;t.showMemberVerificationModal||e.shouldShowLurkerModeSuccessPopout||!n||null==this.chatInputRef.current||(0,w.openPopout)(this.chatInputRef.current,{closeOnScroll:!1,backdrop:!0,shadow:!1,position:"top-left",animationType:"default",render:function(e){return a.createElement(E.default,X({},e,{guild:r}))}},E.LURKER_MODE_SUCCESS_POPOUT_KEY)},s.render=function(){var e=this,t=this.props,r=t.isFollowable,o=t.isLurking,i=t.notClaimed,l=t.notPhoneVerified,u=t.notEmailVerified,s=t.newMember,d=t.memberDeadline,f=t.newAccount,p=t.accountDeadline,v=t.theme,y=t.children,m=t.canSendMessages,_=t.channelFollowingUsersSeen,h=t.showLurkerModeUpsellPopout,E=t.showMemberVerificationModal,g=t.useReducedMotion,S=t.isStaff,O=t.guildJoinRequest,I=this.state.shouldShowLurkerModeUpsellPopout,T={theme:v,useReducedMotion:g};if(r&&!m){if(T.message=W.default.Messages.FOLLOW_NEWS_CHAT_INPUT_MESSAGE,null!=_&&_>=1e3){var C=1e3*Math.floor(_/1e3);T.subtitle=W.default.Messages.FOLLOW_NEWS_CHAT_INPUT_SUBTITLE.format({count:C.toLocaleString()})}T.buttonText=W.default.Messages.FOLLOW,T.onButtonClick=this.handleFollowAnnouncement,T.imageSrc=n(10150),o&&(T.onSecondaryButtonClick=this.handleJoinServer,T.secondaryButtonText=W.default.Messages.LURKER_MODE_CHAT_INPUT_BUTTON)}else if(i)T.message=W.default.Messages.GUILD_VERIFICATION_TEXT_NOT_CLAIMED,T.buttonText=W.default.Messages.CLAIM_ACCOUNT,T.onButtonClick=E?this.handleShowMemberVerification:this.handleClaimAccount,T.imageSrc=n(9055);else if(E)switch(null==O?void 0:O.applicationStatus){case c.GuildJoinRequestApplicationStatuses.PENDING:T.message=W.default.Messages.MEMBER_VERIFICATION_APPLICATION_CONFIRMATION_TITLE,T.subtitle=W.default.Messages.MEMBER_VERIFICATION_APPLICATION_CONFIRMATION_SUBTITLE,T.buttonText=W.default.Messages.MEMBER_VERIFICATION_CANCEL_APPLICATION,T.onButtonClick=this.handleCancelApplication,T.imageSrc=n(10151);break;case c.GuildJoinRequestApplicationStatuses.REJECTED:T.message=W.default.Messages.MEMBER_VERIFICATION_REJECTED_TITLE,T.buttonText=W.default.Messages.MEMBER_VERIFICATION_LEARN_MORE,T.onButtonClick=this.handleViewApplicationRejection,T.imageSrc=n(10152);break;default:T.message=W.default.Messages.MEMBER_VERIFICATION_CHAT_BLOCKER_TEXT,T.buttonText=W.default.Messages.MEMBER_VERIFICATION_NOTICE_CTA,T.buttonColor=R.ButtonColors.BRAND,T.onButtonClick=this.handleShowMemberVerification;T.animationSrc=function(){return n.e(20).then(n.t.bind(null,9259,3)).then((function(e){return e.default}))}}else l&&!S?(T.message=W.default.Messages.GUILD_VERIFICATION_TEXT_NOT_PHONE_VERIFIED,T.buttonText=W.default.Messages.VERIFY_PHONE,T.onButtonClick=this.handleVerifyPhone,T.imageSrc=n(10153)):u?(T.message=W.default.Messages.GUILD_VERIFICATION_TEXT_NOT_VERIFIED,T.buttonText=W.default.Messages.RESEND_VERIFICATION_EMAIL,T.onButtonClick=this.handleResendVerification,T.imageSrc=n(9055)):s?(T.message=W.default.Messages.GUILD_VERIFICATION_TEXT_MEMBER_AGE.format({min:V.VerificationCriteria.MEMBER_AGE}),T.countdown=d):f&&(T.message=W.default.Messages.GUILD_VERIFICATION_TEXT_ACCOUNT_AGE.format({min:V.VerificationCriteria.ACCOUNT_AGE}),T.countdown=p);return a.createElement("div",{ref:this.chatInputRef},a.createElement(B.default,T,J(a.Fragment,{},void 0,this.renderMemberVerificationSuccessModal(),J(D.default,{renderPopout:this.renderLurkerModeUpsellPopout,shouldShow:I,position:D.default.Positions.TOP},void 0,(function(t){return h?a.createElement(L.default,X({},t,{className:Y.default.clickableChannelTextArea,onClick:e.handleTextAreaClick}),y):a.createElement("div",t,y)})))))},o}(a.PureComponent);ee.displayName="GuildVerification";var te=o.default.connectStores([b.default,M.default,h.default,A.default,T.default,I.default,_.default,N.default,C.default,P.default,p.default,s.default],(function(e){var t,n,r,a,o=e.channel,i=o.getGuildId(),l=b.default.getGuild(i),u=M.default.getCheck(i),d=o.type===V.ChannelTypes.GUILD_ANNOUNCEMENT&&null!=l&&l.hasFeature(V.GuildFeatures.NEWS),f=d?T.default.getFollowerStatsForChannel(o.id):null,v=h.default.isLurking(i),y=P.default.getCurrentUser(),m=null!==(t=null==y?void 0:y.isStaff())&&void 0!==t&&t,E=null!=y&&(null!==(n=null===(r=C.default.getMember(i,y.id))||void 0===r?void 0:r.isPending)&&void 0!==n&&n),g=null!=l&&l.hasFeature(V.GuildFeatures.MEMBER_VERIFICATION_GATE_ENABLED)&&l.hasFeature(V.GuildFeatures.COMMUNITY),S=(E||u.notClaimed)&&g,O=p.default.getRequest(i);return X({},u,{guild:l,isLurking:v,isGuest:I.default.isGuest(),isFollowable:d,shouldShowLurkerModeSuccessPopout:_.default.shouldShowPopout(i),showLurkerModeUpsellPopout:v&&null!=l&&F.default.canEveryoneRole(V.Permissions.SEND_MESSAGES,o),theme:A.default.theme,canSendMessages:N.default.can(V.Permissions.SEND_MESSAGES,o),channelFollowingUsersSeen:null!=f?f.usersSeenEver:null,hasVerificationGate:g,showMemberVerificationModal:S,guildJoinRequestStatus:null!==(a=null==O?void 0:O.applicationStatus)&&void 0!==a?a:c.GuildJoinRequestApplicationStatuses.STARTED,guildJoinRequest:O,useReducedMotion:s.default.useReducedMotion,isStaff:m})}))(ee);t.default=te},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(276),i=v(n(98)),l=v(n(29)),u=v(n(8649)),s=n(35),d=v(n(47)),f=v(n(24)),c=v(n(6)),p=v(n(7841));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=function(){return n.e(17).then(n.t.bind(null,10573,3)).then((function(e){return e.default}))},E=function(){return n.e(18).then(n.t.bind(null,10574,3)).then((function(e){return e.default}))},g=function(){return n.e(19).then(n.t.bind(null,10575,3)).then((function(e){return e.default}))},S=function(e){var t=(0,o.useLazyValue)((function(){return i.default.v4()}))[0];return a.createElement(s.ModalRoot,m({},e,{transitionState:e.transitionState,"aria-labelledby":t}),_("div",{className:p.default.animationContainer},void 0,_(u.default,{importData:h,className:p.default.animationLeft}),_(u.default,{importData:E,className:p.default.animationMiddle}),_(u.default,{importData:g,className:p.default.animationRight})),_(s.ModalContent,{},void 0,_("div",{className:p.default.container},void 0,_(d.default,{size:f.default.Sizes.SIZE_24,className:p.default.header,id:t},void 0,c.default.Messages.MEMBER_VERIFICATION_APPROVED_APPLICATION_MODAL_TITLE.format({guildName:e.guildName})),_(f.default,{size:f.default.Sizes.SIZE_14,color:f.default.Colors.HEADER_SECONDARY},void 0,c.default.Messages.MEMBER_VERIFICATION_APPROVED_APPLICATION_MODAL_DESC),_(l.default,{className:p.default.button,onClick:function(){e.onAccept(),e.onClose()}},void 0,c.default.Messages.MEMBER_VERIFICATION_APPROVED_APPLICATION_MODAL_CONFIRM))))};S.displayName="MemberVerificationSuccessModal";var O=S;t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,r.getHistory)();e.length?e.goBack():(0,r.transitionTo)(a.Routes.ME)};var r=n(42),a=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),a=i(n(2)),o=i(n(182));function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=null,s=null;function d(){var e=o.default.mostRecentLurkedGuildId();null!=e?(u=e,s=null):null!=u?(s=u,u=null):(s=null,u=null)}var f=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var a=r.prototype;return a.initialize=function(){this.syncWith([o.default],d)},a.shouldShowPopout=function(e){return s===e},r}(r.default.Store))(a.default);t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LURKER_MODE_SUCCESS_POPOUT_KEY=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=d(n(8309)),o=d(n(29)),i=d(n(47)),l=d(n(24)),u=d(n(6)),s=d(n(7374));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}t.LURKER_MODE_SUCCESS_POPOUT_KEY="LURKER_MODE_SUCCESS_POPOUT";var p=function(){a.default.close("LURKER_MODE_SUCCESS_POPOUT")},v=function(e){var t=e.guild;return c("div",{className:s.default.container},void 0,c("img",{alt:"",className:s.default.image,src:n(10142)}),c("div",{className:s.default.content},void 0,c(i.default,{size:i.default.Sizes.SIZE_16},void 0,u.default.Messages.LURKER_MODE_POPOUT_SUCCESS_HEADER.format({guild:t.name})),c(l.default,{color:l.default.Colors.HEADER_SECONDARY},void 0,u.default.Messages.LURKER_MODE_POPOUT_SUCCESS_BODY),c("div",{className:s.default.buttonContainer},void 0,c(o.default,{onClick:p},void 0,u.default.Messages.LURKER_MODE_POPOUT_SUCCESS_BUTTON))))};v.displayName="LurkerModeSuccessPopout";var y=v;t.default=y},function(e,t,n){e.exports=n.p+"7750f287cdbdc519ace5f3c8854c6f6c.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a,o=O(n(8)),i=n(276),l=O(n(1166)),u=O(n(29)),s=n(85),d=n(35),f=O(n(47)),c=O(n(24)),p=n(1),v=O(n(6)),y=O(n(7842)),m=O(n(10144)),_=O(n(10145)),h=O(n(10146)),E=O(n(10147)),g=O(n(10148)),S=O(n(10149));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var C=((r={})[p.ThemeTypes.LIGHT]=[E.default,g.default,S.default],r[p.ThemeTypes.DARK]=[m.default,_.default,h.default],r),b=[v.default.Messages.FOLLOW_SUCCESS_MODAL_HEADER_01,v.default.Messages.FOLLOW_SUCCESS_MODAL_HEADER_02,v.default.Messages.FOLLOW_SUCCESS_MODAL_HEADER_03,v.default.Messages.FOLLOW_SUCCESS_MODAL_HEADER_04,v.default.Messages.FOLLOW_SUCCESS_MODAL_HEADER_05,v.default.Messages.FOLLOW_SUCCESS_MODAL_HEADER_06,v.default.Messages.FOLLOW_SUCCESS_MODAL_HEADER_07,v.default.Messages.FOLLOW_SUCCESS_MODAL_HEADER_08,v.default.Messages.FOLLOW_SUCCESS_MODAL_HEADER_09,v.default.Messages.FOLLOW_SUCCESS_MODAL_HEADER_10],M=function(e){var t=e.transitionState,n=e.onClose,r=(0,l.default)(),a=(0,s.useUID)(),p=(0,i.useStableMemo)((function(){return o.default.sample(C[r])}),[r]),m=(0,i.useStableMemo)((function(){return o.default.sample(b)}),[]);return T(d.ModalRoot,{transitionState:t,className:y.default.root,"aria-labelledby":a},void 0,T("img",{alt:"",src:p,className:y.default.image}),T(d.ModalContent,{className:y.default.modal},void 0,T(f.default,{size:f.default.Sizes.SIZE_24,className:y.default.followSuccessHeader,id:a},void 0,m),T(c.default,{color:c.default.Colors.MUTED,size:c.default.Sizes.SIZE_16,className:y.default.body},void 0,v.default.Messages.FOLLOW_SUCCESS_MODAL_BODY),T(u.default,{onClick:n},void 0,v.default.Messages.TUTORIAL_CLOSE)))};M.displayName="FollowSuccessModal";var N=M;t.default=N},function(e,t,n){e.exports=n.p+"3d5742be4e4344542d190d09e7848ad9.svg"},function(e,t,n){e.exports=n.p+"519c307aa0e0541936a1efe408a0a898.svg"},function(e,t,n){e.exports=n.p+"097e4735ce238a3adbdb1b90c146aea5.svg"},function(e,t,n){e.exports=n.p+"35462ef5c4e67741bc865a7f09b7d2b4.svg"},function(e,t,n){e.exports=n.p+"4688672f33ab19dd400c5714f9a2074d.svg"},function(e,t,n){e.exports=n.p+"0aab05e7b7f37e6eb593a32ce06efb2c.svg"},function(e,t,n){e.exports=n.p+"dc7e9e55b3a6d39d24acdd650ecc2ef3.svg"},function(e,t,n){e.exports=n.p+"4987d30459fadaa3c0268cbc178bdd3f.svg"},function(e,t,n){e.exports=n.p+"fb6dd8fcf4c9cec036103f1aa358eeea.svg"},function(e,t,n){e.exports=n.p+"ea12bc00248d8242d5b5a0ed93d3ef5a.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TooltipPositions",{enumerable:!0,get:function(){return d.Positions}}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(9)),i=y(n(3)),l=y(n(707)),u=y(n(256)),s=y(n(149)),d=n(250),f=n(1312),c=n(716),p=y(n(43)),v=y(n(7845));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(){return(h=Object.assign||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}).apply(this,arguments)}var E=p.default.getEnableHardwareAcceleration()?f.AnimatedStatus:f.Status,g=function(e){var t=e.streaming,n=e.status,r=e.hideTooltip,i=e.className,l=e.style,u=e.isMobile,p=e.size,y=e.defaultStatus,m=e.position,g=void 0===m?d.Positions.TOP:m,S=t?f.StatusTypes.STREAMING:n||y,O=_(E,{isMobile:u,status:S,size:p});return _(s.default,{text:r?null:(0,c.humanizeStatus)(S),position:g},void 0,(function(e){return a.createElement("div",h({},e,{className:(0,o.default)(i,v.default.disableFlex),style:l}),O)}))};g.displayName="Status";var S=i.default.connectStores([u.default],(function(e){var t=e.userId,n=e.defaultStatus;return{status:null!=t?u.default.getStatus(t,null,n):null,streaming:null!=t&&(0,l.default)(u.default.getActivities(t))}}))(g);t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=function(e){var t=(0,i.useStateFromStores)([f.default],(function(){return f.default.getUser(e)}),[e]),n=a.useState((function(){return new M(e,t||void 0)}))[0];return n.updateData(e,t||void 0),n}(e.channel.getRecipientId());if(0===t.getNicknameGuildPairs().length&&0===t.getAvatarGuildPairs().length)return b("div",{className:O.default.spacer});return a.createElement(a.Fragment,null,N,b(m.TextBadge,{text:S.default.Messages.AKA,disableColor:!0,className:O.default.akaBadge}),t.getAvatarGuildPairs().length>0?b(h.default,{size:16,users:t.getUsersArray(),showUserPopout:!1,renderUser:t.renderUser,renderMoreUsers:t.renderMoreAvatars,guildId:void 0,max:3,className:O.default.avatars}):null,t.getNicknameGuildPairs().length>0?b(p.default,{position:p.Positions.BOTTOM,className:O.default.nicknames},void 0,t.renderNicknamePairs()):null)};var r,a=C(n(0)),o=I(n(8)),i=n(3),l=n(8433),u=n(8310),s=I(n(56)),d=I(n(15)),f=I(n(12)),c=I(n(61)),p=C(n(8319)),v=n(149),y=I(n(1256)),m=n(8263),_=n(8282),h=I(n(8393)),E=n(393),g=n(48),S=I(n(6)),O=I(n(7846));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var M=function(){function e(e,t){var n=this;this.generateNicknameGuildPairs=(0,E.cachedFunction)((function(e){var t;return(0,o.default)(s.default.getNicknameGuildsMapping(null!==(t=null==e?void 0:e.id)&&void 0!==t?t:n.userId)).toPairs().map((function(e){return[e[0],e[1].map((function(e){var t;return null===(t=d.default.getGuild(e))||void 0===t?void 0:t.name})).filter(g.isNotNullish)]})).value()})),this.generateAvatarGuildPairs=(0,E.cachedFunction)((function(e){var t;return(0,o.default)(s.default.getAvatarGuildsMapping(null!==(t=null==e?void 0:e.id)&&void 0!==t?t:n.userId)).toPairs().map((function(e){return[e[0],e[1][0]]})).value()})),this.generateUsersArray=(0,E.cachedFunction)((function(e){return new Array(e.length).fill(null)})),this.renderMoreAvatars=function(){return b(v.TooltipContainer,{text:S.default.Messages.AKA_MORE_AVATARS_OVERFLOW,position:p.Positions.BOTTOM},"more-avatars",b(c.default,{className:O.default.moreAvatars,onClick:n.handleClick},void 0,b(y.default,{className:O.default.plusIcon})))},this.renderUser=function(e,t,r){var a,o=n.user,i=n.getAvatarGuildPairs()[r];return null==i||null==o?null:b(v.TooltipContainer,{text:null===(a=d.default.getGuild(i[1]))||void 0===a?void 0:a.name,position:p.Positions.BOTTOM},i[1],b("img",{alt:"",className:O.default.avatar,onClick:n.handleClick,src:o.getAvatarURL(i[1]),"aria-hidden":!0}))},this.handleClick=function(){(0,u.openUserProfileModal)({userId:n.userId,section:l.UserProfileSections.MUTUAL_GUILDS})},this.userId=e,this.user=t}var t=e.prototype;return t.updateData=function(e,t){this.userId=e,this.user=t},t.getNicknameGuildPairs=function(){return this.generateNicknameGuildPairs(this.user)},t.getAvatarGuildPairs=function(){return this.generateAvatarGuildPairs(this.user)},t.getUsersArray=function(){return this.generateUsersArray(this.getAvatarGuildPairs())},t.renderNicknamePairs=function(){var e=this;return this.getNicknameGuildPairs().map((function(t,n){var r=t[0],o=t[1],i=b(c.default,{tag:"span",onClick:e.handleClick},void 0,r);return o.length>0&&(i=b(v.TooltipContainer,{className:O.default.tooltip,text:o.join(", "),position:p.Positions.BOTTOM},void 0,i)),b(a.Fragment,{},n,0!==n?", ":null,i)}))},e}();var N=b(_.Divider,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(391)),o=s(n(10157)),i=s(n(180)),l=n(1),u=s(n(7848));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=function(e){var t=e.channel,n=(0,i.default)(t);return f("div",{className:u.default.container,onDoubleClick:function(e){return e.stopPropagation()}},void 0,f(o.default,{minLen:1,maxLen:l.MAX_CHANNEL_NAME_LENGTH,className:u.default.channelName,name:"channel_name",autoComplete:"off",value:null!=n?n:"",onBlur:function(e){n!==e.currentTarget.value&&a.default.setName(t.id,e.currentTarget.value)}}))};c.displayName="ChannelName";var p=c;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),i=n(1),l=u(n(7847));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).inputRef=a.createRef(),t.state={focused:!1,lastGoodValue:t.props.value,value:t.props.value},t.handleChange=function(e){var n=t.props.onChange;t.setState({value:e.currentTarget.value}),null==n||n(e)},t.handleFocus=function(e){var n=t.props.onFocus;t.setState({focused:!0,lastGoodValue:e.currentTarget.value}),null==n||n(e)},t.handleBlur=function(e){if(p("",t.props,t.state)){t.setState({focused:!1});var n=t.props.onBlur;null==n||n(e)}else t.setState({focused:!1,value:t.state.lastGoodValue})},t.handleKeyPress=function(e){var n;e.which===i.KeyboardKeys.ENTER&&(null===(n=t.inputRef.current)||void 0===n||n.blur())},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var u=r.prototype;return u.componentDidUpdate=function(e,t){var n;t.focused!==this.state.focused&&this.state.focused&&(null===(n=this.inputRef.current)||void 0===n||n.focus());null!==this.props.value&&this.props.value!==e.value&&this.props.value!==this.state.value&&p(this.props.value,this.props,this.state)&&this.setState({value:this.props.value})},u.render=function(){var e,t=this.props,n=t.className,r=t.name,i=t.autoComplete,u=t.maxLen,s={position:"absolute",left:0,width:"100%",opacity:1};return this.state.focused?e={visibility:"hidden",pointerEvents:"none"}:s.opacity=0,d("div",{className:(0,o.default)(l.default.outer,n)},void 0,d("div",{className:l.default.container},void 0,a.createElement("input",{type:"text",className:l.default.input,ref:this.inputRef,style:s,value:this.state.value,name:r,maxLength:u,autoComplete:i,onKeyPress:this.handleKeyPress,onChange:this.handleChange,onFocus:this.handleFocus,onBlur:this.handleBlur}),d("div",{className:l.default.input,style:e},void 0,this.state.value)))},r}(a.Component);function p(e,t,n){void 0===e&&(e="");var r=e||n.value||"";return!(t.minLen&&r.length<t.minLen||t.maxLen&&r.length>t.maxLen)}t.default=c,c.displayName="InputAutosize"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=g(n(9)),i=n(389),l=g(n(9216)),u=g(n(180)),s=g(n(9217)),d=g(n(8295)),f=g(n(61)),c=n(35),p=n(41),v=g(n(47)),y=g(n(24)),m=g(n(8318)),_=n(1),h=g(n(6)),E=g(n(7849));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(){return(O=Object.assign||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}).apply(this,arguments)}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(e){var t=e.channel,n=e.onClose,r=e.transitionState,a=(0,u.default)(t,!0);return T(c.ModalRoot,{transitionState:r,"aria-label":h.default.Messages.FORM_LABEL_CHANNEL_TOPIC},void 0,T(c.ModalContent,{},void 0,T(l.default,{selectable:!0,onClose:n,renderHeader:function(){return T(v.default,{tag:v.default.Tags.H2,size:v.default.Sizes.SIZE_20},void 0,a)}},void 0,T(y.default,{selectable:!0,size:y.default.Sizes.SIZE_16,className:E.default.content},void 0,d.default.parseTopic(t.topic,!0,{channelId:t.id})))))}C.displayName="ChannelTopicModal";var b=T(m.default.Divider,{}),M=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this)._mouseDown=!1,t._mouseUp=!1,t.handleOpenTopic=function(e){!(e.target.matches("a")||e.target.parentNode.matches("a")||"highlight"===e.target.className||"highlight"===e.target.parentNode.className)&&(0,p.openModal)((function(e){return a.createElement(C,O({},e,t.props))}))},t.onMouseDown=function(){t._mouseDown=!0},t.onMouseMove=function(){t._mouseDown&&(t._mouseDown=!1)},t.onMouseUp=function(e){t._mouseDown&&e.button!==_.MouseButtons.SECONDARY&&t.handleOpenTopic(e),t._mouseUp=!0,t._mouseDown=!1},t.handleContextMenu=function(e){var n=t.props,r=n.channel,o=n.guild;(0,i.openContextMenu)(e,(function(e){return a.createElement(s.default,O({},e,{channel:r,guild:o,includeTopic:!0}))}))},t.handleClick=function(e){t._mouseUp?t._mouseUp=!1:t.handleOpenTopic(e)},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,I(t,n),r.prototype.render=function(){var e=this.props.channel;return e.isMultiUserDM()||null==e.topic||0===e.topic.length?null:T(a.Fragment,{},void 0,b,T(f.default,{className:(0,o.default)(E.default.topic,E.default.expandable),onMouseDown:this.onMouseDown,onMouseMove:this.onMouseMove,onMouseUp:this.onMouseUp,onContextMenu:this.handleContextMenu,onClick:this.handleClick},void 0,d.default.parseTopic(e.topic,!0,{channelId:e.id})))},r}(a.Component);M.displayName="ChannelTopic";var N=M;t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(9)),i=y(n(3)),l=y(n(199)),u=y(n(12)),s=y(n(9056)),d=y(n(468)),f=y(n(93)),c=n(1),p=y(n(6)),v=y(n(7851));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).scroller=a.createRef(),t.handleDisagree=function(){var e=t.props.guild;null!=e&&l.default.nsfwReturnToSafety(e.id)},t.handleAgree=function(){var e=t.props.guild;null!=e&&l.default.nsfwAgree(e.id)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n);var i=r.prototype;return i.componentDidMount=function(){var e=this.scroller.current;null==e||e.scrollToBottom()},i.render=function(){var e=this.props.nsfwDisallowed,t=p.default.Messages.NSFW_DESCRIPTION;t=e?p.default.Messages.AGE_GATE_NSFW_UNDERAGE_BODY.format({helpURL:f.default.getArticleURL(c.HelpdeskArticles.NSFW_AGE_GATING)}):p.default.Messages.AGE_GATE_NSFW_DESCRIPTION;var n=_(s.default,e?{onAgree:this.handleAgree,onDisagree:this.handleDisagree,title:p.default.Messages.AGE_GATE_NSFW_UNDERAGE_HEADER,description:t,agreement:null,disagreement:p.default.Messages.BACK,imageClassName:v.default.ageGatedImage}:{onAgree:this.handleAgree,onDisagree:this.handleDisagree,title:p.default.Messages.NSFW_TITLE,description:t,agreement:p.default.Messages.NSFW_ACCEPT,disagreement:p.default.Messages.NSFW_DECLINE});return a.createElement(d.default,{ref:this.scroller,className:v.default.scroller},_("div",{className:(0,o.default)(this.props.className,v.default.wrapper)},void 0,n))},r}(a.PureComponent);E.displayName="GuildNSFW";var g=i.default.connectStores([u.default],(function(){var e;return{nsfwDisallowed:!1===(null===(e=u.default.getNullableCurrentUser())||void 0===e?void 0:e.nsfwAllowed)}}))(E);t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateLocation=function(e){a.default.wait((function(){return a.default.dispatch({type:o.ActionTypes.APPLICATION_STORE_LOCATION_CHANGE,location:e})}))},t.handleDirectoryUnmount=function(e,t){a.default.dispatch({type:o.ActionTypes.APPLICATION_STORE_DIRECTORY_UNMOUNT,scrollTop:e,directoryLocation:t})};var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.APPLICATION_STORE_LAYOUT=void 0;var r,a=n(9057),o=n(8535),i=n(1);function l(){return(l=Object.assign||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}).apply(this,arguments)}var u=l({},o.DEFAULT_LAYOUT,((r={})[i.KeybindActions.CAROUSEL_NEXT]=a.CAROUSEL_NEXT,r[i.KeybindActions.CAROUSEL_PREV]=a.CAROUSEL_PREV,r));t.APPLICATION_STORE_LAYOUT=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(137)),i=n(192),l=f(n(8273)),u=f(n(13)),s=f(n(10163)),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._applicationIdsViewed=new Set,t._skuIdsViewed=new Set,t.handleSKUViewed=function(e){t._applicationIdsViewed.add(e.applicationId),t._skuIdsViewed.add(e.id)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var l=r.prototype;return l.componentDidMount=function(){var e=this.props,t=e.location,n=e.analyticsContext,r=null!=t.search?o.default.parse(t.search.slice(1)):null;u.default.track(d.AnalyticEvents.PREMIUM_MARKETING_PAGE_VIEWED,{load_id:n.loadId,source:null!=t.state?t.state.analyticsSource:d.DIRECT_ANALYTICS_LOCATION,location:n.location.page,utm_campaign_current:null!=r?r.utm_campaign_current:null})},l.componentWillUnmount=function(){var e=this.props.analyticsContext,t=e.loadId,n=e.loadDate;if(null==n)throw new Error("loadDate was null during unmount");u.default.track(d.AnalyticEvents.PREMIUM_MARKETING_PAGE_EXITED,{load_id:t,duration_ms:Date.now()-n,application_ids_viewed:Array.from(this._applicationIdsViewed),sku_ids_viewed:Array.from(this._skuIdsViewed)})},l.render=function(){return p(i.Switch,{},void 0,p(i.Route,{path:d.Routes.APPLICATION_STORE,exact:!0,render:function(e){return a.createElement(s.default,e)}}),p(i.Redirect,{to:d.Routes.APP}))},r}(a.Component);y.displayName="ApplicationStoreDirectory";var m=(0,l.default)(y);t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(262),i=n(192),l=S(n(3)),u=S(n(8257)),s=S(n(8318)),d=S(n(8273)),f=S(n(8543)),c=S(n(9231)),p=S(n(12)),v=S(n(55)),y=S(n(151)),m=S(n(5686)),_=n(272),h=n(1),E=S(n(6)),g=S(n(7864));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var C=I(c.default,{}),b=I(o.Helmet,{title:"Discord"}),M=I(s.default.Icon,{icon:m.default,"aria-hidden":!0}),N=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,T(t,n);var a=r.prototype;return a.renderLoading=function(){return I(v.default,{align:v.default.Align.CENTER,justify:v.default.Justify.CENTER},void 0,I(y.default,{className:g.default.spinner}))},a.renderPremiumPage=function(){return I("div",{className:g.default.premiumContainer},void 0,C)},a.render=function(){var e=this.props,t=e.isAuthenticated,n=e.user;return t?I("div",{className:g.default.homeWrapperNormal},void 0,b,I(u.default,{section:h.AnalyticsSections.NAVIGATION},void 0,I(s.default,{isAuthenticated:t,className:g.default.headerBar},void 0,M,I(s.default.Title,{},void 0,E.default.Messages.PREMIUM))),I(_.ScrollerAuto,{className:g.default.scroller},void 0,null==n?this.renderLoading():this.renderPremiumPage())):I(i.Redirect,{to:h.Routes.LOGIN})},r}(a.PureComponent);N.displayName="ApplicationStoreHome";var A=l.default.connectStores([p.default],(function(){return{user:p.default.getNullableCurrentUser()}}))((0,f.default)((0,d.default)(N)));t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=O(n(0)),o=g(n(9)),i=g(n(23)),l=O(n(5691)),u=n(10165),s=n(5688),d=g(n(271)),f=O(n(29)),c=g(n(149)),p=g(n(5998)),v=g(n(1151)),y=O(n(96)),m=g(n(9060)),_=n(1),h=g(n(6)),E=g(n(7855));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function I(){return(I=Object.assign||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}).apply(this,arguments)}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b={page:_.AnalyticsPages.USER_SETTINGS,section:_.AnalyticsSections.SETTINGS_PREMIUM,object:_.AnalyticsObjects.CARD},M=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).unsubscribe=function(){var e=t.props.subscription;e.status!==_.SubscriptionStatusTypes.ACTIVE&&e.status!==_.SubscriptionStatusTypes.PAST_DUE||t.showCancelModal()},t.showCancelModal=function(){var e=t.props.subscription;(0,u.openPremiumSubscriptionCancellationModal)(e)},t.showSwitchPlans=function(){(0,s.openPremiumSelectPlanModal)({analyticsLocation:b})},t.resubscribe=function(){var e=t.props,n=e.paymentSource,r=e.subscription;null!=r&&(null!=n?l.resubscribe(r,n):(0,s.openPremiumSelectPlanModal)({initialPlanId:r.planId,analyticsLocation:b}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,C(t,n);var g=r.prototype;return g.renderSubscriptionInfo=function(e){var t=this.props,n=t.subscription,r=t.renewalInvoicePreview;return(0,i.default)(null!=r,"Expected renewalInvoicePreview"),T("div",{className:E.default.planInfo},void 0,(0,y.getPlanDescriptionFromInvoice)({planId:e,subscription:n,renewalInvoicePreview:r}))},g.renderButtons=function(){var e=this,t=this.props,n=t.busy,r=t.subscription,i=r.status;if(r.isPurchasedExternally){var l=(0,y.getExternalSubscriptionMethodUrl)(r.paymentGateway,"SUBSCRIPTION_MANAGEMENT");return T(d.default,{href:l,useDefaultUnderlineStyles:!1},void 0,T(f.default,{className:(0,o.default)(E.default.toolsButton,E.default.externalButton),size:f.default.Sizes.SMALL,look:f.ButtonLooks.OUTLINED,color:f.ButtonColors.WHITE,submitting:n},void 0,h.default.Messages.BILLING_MANAGE_SUBSCRIPTION))}if(y.default.isBaseSubscriptionCanceled(r))return T(f.default,{className:E.default.toolsButton,size:f.default.Sizes.SMALL,look:f.ButtonLooks.INVERTED,color:f.ButtonColors.BRAND,submitting:n,onClick:this.resubscribe},void 0,h.default.Messages.RESUBSCRIBE);if(i===_.SubscriptionStatusTypes.ACTIVE||i===_.SubscriptionStatusTypes.PAST_DUE){var u=!1,s=null;return null!=r.renewalMutations&&(u=!0,s=r.renewalMutations.planId!==r.planId?h.default.Messages.PREMIUM_SWITCH_PLAN_DISABLED_PENDING_MUTATION_PLAN:h.default.Messages.PREMIUM_SWITCH_PLAN_DISABLED_PENDING_MUTATION_PREMIUM_GUILD_SUBSCRIPTION),null!=r.trialEndsAt&&(u=!0,s=h.default.Messages.PREMIUM_SWITCH_PLAN_DISABLED_IN_TRIAL),i===_.SubscriptionStatusTypes.PAST_DUE&&(u=!0),T("div",{className:E.default.toolsButtons},void 0,T(f.default,{className:E.default.toolsButton,size:f.default.Sizes.SMALL,look:f.ButtonLooks.LINK,color:f.ButtonColors.WHITE,submitting:n,onClick:this.unsubscribe},void 0,h.default.Messages.CANCEL),T(c.default,{text:s},void 0,(function(t){return a.createElement(m.default,I({},t,{disabled:u,className:E.default.toolsButton,onClick:e.showSwitchPlans}),h.default.Messages.PREMIUM_SWITCH_PLANS)})))}},g.render=function(){var e,t=this.props,n=t.subscription,r=t.renewalInvoicePreview,i=y.default.getPlanIdFromInvoice(n,r);if(y.default.isNoneSubscription(i))return null;var l=y.default.getStatusFromInvoice(n,r),u=y.default.getPremiumType(i),s=y.default.isGrandfathered(i),d=((e={})[E.default.tierGrandfathered]=y.default.isSubscriptionStatusActive(l)&&s,e[E.default.tier1]=!(y.default.isSubscriptionStatusActive(l)&&s||u!==_.PremiumTypes.TIER_1),e[E.default.tier2]=!(y.default.isSubscriptionStatusActive(l)&&s||u!==_.PremiumTypes.TIER_2),e[E.default.canceled]=l===_.SubscriptionStatusTypes.CANCELED,e[E.default.failedPayment]=(0,y.isSubscriptionStatusFailedPayment)(l),e);return T("div",{className:(0,o.default)(E.default.banner,d)},void 0,T("div",{className:E.default.bannerBackgroundImage}),T("div",{className:E.default.image}),T("div",{className:E.default.details},void 0,u===_.PremiumTypes.TIER_2||s?T(p.default,{className:E.default.planName,"aria-label":h.default.Messages.PREMIUM_TITLE}):a.createElement(a.Fragment,null,T(v.default,{className:E.default.discordWordmark,"aria-label":h.default.Messages.PREMIUM_TIER_1}),T("div",{className:E.default.classicWordmark})),this.renderSubscriptionInfo(i)),T("div",{className:E.default.buttons},void 0,this.renderButtons()))},r}(a.Component);M.displayName="SubscriptionHeader";var N=M;t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=V,t.openPremiumSubscriptionCancellationModal=function(e){(0,h.openModal)((function(t){return o.createElement(V,D({},t,{premiumSubscription:e}))}))};var r,a,o=L(n(0)),i=P(n(9)),l=P(n(23)),u=n(3),s=n(287),d=P(n(257)),f=P(n(29)),c=P(n(55)),p=P(n(1164)),v=P(n(151)),y=n(85),m=n(131),_=n(35),h=n(41),E=L(n(96)),g=n(281),S=n(1169),O=n(1237),I=P(n(5695)),T=n(5676),C=P(n(6e3)),b=n(5700),M=n(1),N=P(n(6)),A=P(n(7854));function P(e){return e&&e.__esModule?e:{default:e}}function R(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return R=function(){return e},e}function L(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=R();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function D(){return(D=Object.assign||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}).apply(this,arguments)}function w(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function j(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function k(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){j(o,r,a,i,l,"next",e)}function l(e){j(o,r,a,i,l,"throw",e)}i(void 0)}))}}function U(e){return G.apply(this,arguments)}function G(){return(G=k(regeneratorRuntime.mark((function e(t){var n,r,a,o,i,l,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.premiumSubscription,r=t.onClose,a=t.setHasError,o=t.setIsCancelling,e.prev=1,o(!0),a(!1),n.status!==M.SubscriptionStatusTypes.PAST_DUE){e.next=9;break}return e.next=7,(0,s.cancelSubscription)(n.id);case 7:e.next=12;break;case 9:return u=null!==(i=null===(l=n.renewalMutations)||void 0===l?void 0:l.items)&&void 0!==i?i:n.items,e.next=12,(0,s.updateSubscription)(n,{items:(0,E.getItemsWithoutPremiumPlanItem)(u)});case 12:r(),e.next=19;break;case 15:e.prev=15,e.t0=e.catch(1),a(!0),o(!1);case 19:case"end":return e.stop()}}),e,null,[[1,15]])})))).apply(this,arguments)}function F(e){var t=e.premiumSubscription,n=e.hasAdditionalPlans,r=e.headerId,i=e.setStep,l=e.onClose,u=o.useState(!1),s=u[0],d=u[1],v=o.useState(!1),y=v[0],h=v[1],g=E.default.getPremiumType(t.planId),S=n?w(f.default,{onClick:function(){return i(a.PREVIEW)}},void 0,N.default.Messages.NEXT):w(f.default,{color:f.default.Colors.RED,disabled:s,onClick:k(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,U({setHasError:h,onClose:l,premiumSubscription:t,setIsCancelling:d});case 2:case"end":return e.stop()}}),e)})))},void 0,N.default.Messages.PREMIUM_CANCEL_CONFIRM_NEW.format({planPremiumType:E.default.getDisplayPremiumType(t.planId)}));return o.createElement(o.Fragment,null,w(_.ModalHeader,{separator:!1,id:r},void 0,w(m.FormTitle,{tag:m.FormTitleTags.H4},void 0,N.default.Messages.PREMIUM_CANCEL_CONFIRM_TITLE.format({planPremiumType:E.default.getDisplayPremiumType(t.planId)})),w(_.ModalCloseButton,{onClick:l})),w(_.ModalContent,{className:A.default.body},void 0,y?w(p.default,{className:A.default.errorBlock},void 0,N.default.Messages.BILLING_ERROR_GENERIC):null,w("div",{className:A.default.cancelImage}),w("div",{},void 0,t.status===M.SubscriptionStatusTypes.PAST_DUE?N.default.Messages.PREMIUM_CANCEL_PAST_DUE_CONFIRM_BODY:g===M.PremiumTypes.TIER_1?N.default.Messages.PREMIUM_CANCEL_CONFIRM_BODY_TIER_1.format({date:t.currentPeriodEnd}):N.default.Messages.PREMIUM_CANCEL_CONFIRM_BODY_TIER_2.format({date:t.currentPeriodEnd}))),w(_.ModalFooter,{justify:c.default.Justify.START},void 0,S,w(f.default,{look:f.default.Looks.LINK,color:f.default.Colors.WHITE,onClick:l},void 0,N.default.Messages.CANCEL)))}!function(e){e[e.START=1]="START",e[e.PREVIEW=2]="PREVIEW"}(a||(a={}));var B=w(O.PremiumInvoiceTableDivider,{});function H(e){var t=e.premiumSubscription,n=(0,S.useSubscriptionInvoicePreview)({subscriptionId:t.id,items:(0,E.getItemsWithoutPremiumPlanItem)(t.items),renewal:!0})[0],r=(0,u.useStateFromStores)([d.default],(function(){return d.default.getHardcoded(t.planId)}));if(null==n)return w(v.default,{className:A.default.loading});var a=E.default.getIntervalForInvoice(n);return w("div",{className:A.default.bodyText},void 0,w("div",{className:A.default.renewalInvoiceDate},void 0,0!==n.total?N.default.Messages.BILLING_SWITCH_PLAN_CHANGE_DATE_WITH_CHARGE.format({renewalDate:n.subscriptionPeriodStart,rate:(0,g.formatRate)((0,g.formatPrice)(n.total,n.currency),a)}):N.default.Messages.BILLING_SWITCH_PLAN_CHANGE_DATE.format({renewalDate:n.subscriptionPeriodStart})),w(O.PremiumInvoiceTable,{},void 0,w(O.PremiumInvoiceTableHeader,{},void 0,N.default.Messages.PREMIUM_SUBSCRIPTION_UPDATES),w(O.PremiumInvoiceTableRow,{label:N.default.Messages.PREMIUM_SUBSCRIPTION_CANCELLED.format({planName:E.default.getDisplayName(r.id)}),value:(0,E.getFormattedRateForPlan)(r),className:A.default.invoiceCancelRow}),B,w(T.SubscriptionInvoiceFooter,{premiumSubscription:t,renewalInvoice:n,isUpdate:!0})))}function x(e){var t=e.premiumSubscription,n=e.headerId,r=e.onBack,a=e.onClose,u=o.useState(!1),s=u[0],d=u[1],v=o.useState(!1),y=v[0],m=v[1],h=E.default.getPremiumType(t.planId);return(0,l.default)(null!=h,"Should not be cancelling Nitro without premiumType"),o.createElement(o.Fragment,null,w(C.default,{premiumType:h,onClose:a,headerId:n}),w(_.ModalContent,{className:(0,i.default)(A.default.previewStep,A.default.body)},void 0,y?w(p.default,{className:A.default.errorBlock},void 0,N.default.Messages.BILLING_ERROR_GENERIC):null,w(H,{premiumSubscription:t})),w(_.ModalFooter,{align:c.default.Align.CENTER,justify:c.default.Justify.BETWEEN},void 0,w(f.default,{color:f.default.Colors.RED,disabled:s,onClick:k(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,U({setHasError:m,onClose:a,premiumSubscription:t,setIsCancelling:d});case 2:case"end":return e.stop()}}),e)})))},void 0,N.default.Messages.PREMIUM_CANCEL_CONFIRM_NEW.format({planPremiumType:E.default.getDisplayPremiumType(t.planId)})),w(I.default,{onClick:r})))}function V(e){var t=e.premiumSubscription,n=e.transitionState,r=e.onClose,i=o.useState(a.START),l=i[0],u=i[1],s=null!=t.additionalPlans&&(null==t.renewalMutations||null==t.renewalMutations.additionalPlans);(0,b.useUnsupportedExternalSubscriptionModalHandler)(t,r,!1);var d,f=(0,y.useUID)();switch(l){case a.START:d=w(F,{premiumSubscription:t,hasAdditionalPlans:s,headerId:f,setStep:u,onClose:r});break;case a.PREVIEW:d=w(x,{premiumSubscription:t,headerId:f,onBack:function(){return u(a.START)},onClose:r});break;default:throw new Error("Unexpected step: "+l)}return w(_.ModalRoot,{transitionState:n,"aria-labelledby":f},void 0,d)}H.displayName="CancelInvoicePreview",V.displayName="PremiumSubscriptionCancellationModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=I(n(0)),o=S(n(23)),i=n(92),l=S(n(3)),u=I(n(5691)),s=S(n(6007)),d=S(n(5674)),f=S(n(160)),c=S(n(693)),p=S(n(1147)),v=S(n(271)),y=S(n(29)),m=n(131),_=n(41),h=n(96),E=S(n(6)),g=S(n(7856));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(){return(C=Object.assign||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}).apply(this,arguments)}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var M=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).setSubscriptionPaymentSource=function(e){var n=t.props.subscription;null!=n&&null!=e&&u.changePaymentSource(n,e)},t.handlePaymentSourceChange=function(e){t.setSubscriptionPaymentSource(e)},t.handlePaymentSourceAdded=function(e){t.setSubscriptionPaymentSource(e)},t.handlePaymentSourceAdd=function(){(0,_.openModal)((function(e){return a.createElement(s.default,C({},e,{onAddPaymentSource:t.handlePaymentSourceAdded}))}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,b(t,n);var l=r.prototype;return l.renderDropdown=function(){var e=this.props,t=e.paymentSources,n=e.hidePersonalInformation,r=e.premiumSubscriptionPaymentSourceId;return T("div",{className:g.default.dropdown},void 0,T(d.default,{prependOption:null==r?{label:E.default.Messages.ATTACH_PAYMENT_SOURCE_PROMPT_OPTION,value:null}:null,paymentSources:t,hidePersonalInformation:n,selectedPaymentSourceId:r,onChange:this.handlePaymentSourceChange,onPaymentSourceAdd:this.handlePaymentSourceAdd}))},l.renderAddButton=function(){return T(y.default,{fullWidth:!0,look:y.default.Looks.FILLED,color:y.default.Colors.PRIMARY,onClick:this.handlePaymentSourceAdd},void 0,E.default.Messages.BILLING_ADD_PAYMENT_METHOD)},l.renderManagedExternally=function(e){(0,o.default)(null!=e.paymentGateway,"Expected payment gateway when managed externally");var t=(0,h.getExternalSubscriptionMethodUrl)(e.paymentGateway,"PAYMENT_SOURCE_MANAGEMENT");return T("div",{className:g.default.externalContainer},void 0,T(m.FormTitle,{tag:m.FormTitle.Tags.H3,className:g.default.header},void 0,E.default.Messages.BILLING_MANAGED_BY_PAYMENT_GATEWAY.format({paymentGatewayName:i.PaymentGatewayToFriendlyName[e.paymentGateway]})),T(v.default,{href:t,useDefaultUnderlineStyles:!1,className:g.default.externalLink},void 0,T(y.default,{fullWidth:!0,look:y.default.Looks.FILLED,color:y.default.Colors.PRIMARY},void 0,E.default.Messages.BILLING_MANAGE_BILLING)))},l.render=function(){var e=this.props,t=e.paymentSources,n=e.subscription;return T("div",{className:e.className},void 0,T("div",{},void 0,n.isPurchasedExternally?this.renderManagedExternally(n):T("div",{},void 0,T(m.FormTitle,{tag:m.FormTitle.Tags.H3,className:g.default.header},void 0,E.default.Messages.BILLING_PAY_FOR_IT_WITH),t.length>0?this.renderDropdown():this.renderAddButton())),T("div",{className:g.default.finePrint},void 0,E.default.Messages.BILLING_APPLIES_TO_ALL_SUBSCRIPTIONS))},r}(a.Component);M.displayName="SubscriptionPaymentSource";var N=l.default.connectStores([f.default,c.default,p.default],(function(){var e=p.default.getPremiumTypeSubscription(),t=null!=e?e.paymentSourceId:null;return{paymentSources:Object.values(c.default.paymentSources).filter((function(e){return!e.invalid})),hidePersonalInformation:f.default.hidePersonalInformation,premiumSubscriptionPaymentSourceId:t,defaultPaymentSourceId:c.default.defaultPaymentSourceId}}))(M);t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=A;var r,a=T(n(0)),o=O(n(9)),i=O(n(23)),l=n(3),u=n(287),s=O(n(39)),d=O(n(257)),f=O(n(271)),c=O(n(29)),p=O(n(55)),v=n(131),y=O(n(5827)),m=T(n(35)),_=T(n(96)),h=n(281),E=n(1),g=O(n(6)),S=O(n(7857));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function b(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function M(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){b(o,r,a,i,l,"next",e)}function l(e){b(o,r,a,i,l,"throw",e)}i(void 0)}))}}function N(e){var t=e.subscription,n=e.renewalMutations,r=e.transitionState,a=e.onClose,o=(0,l.useStateFromStores)([s.default],(function(){return s.default.theme}));function f(){return(f=M(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,u.upgradeSubscription)(t,t.planId);case 2:a();case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var y=d.default.get(t.planId);(0,i.default)(null!=y,"Missing subscriptionPlan");var O=(0,h.formatRate)((0,h.formatPrice)(y.price,y.currency),y.interval);return C(m.ModalRoot,{transitionState:r,"aria-label":g.default.Messages.PREMIUM_PENDING_PLAN_CHANGE_CANCEL_HEADER},void 0,C(m.ModalHeader,{justify:p.default.Justify.BETWEEN,separator:!1},void 0,C(v.FormTitle,{tag:v.FormTitleTags.H4},void 0,g.default.Messages.PREMIUM_PENDING_PLAN_CHANGE_CANCEL_HEADER),C(m.ModalCloseButton,{onClick:a})),C(m.ModalContent,{className:S.default.modalBody},void 0,_.default.isNoneSubscription(t.planId)?g.default.Messages.PREMIUM_PENDING_PLAN_CHANGE_CANCEL_BODY_NO_EXISTING_PLAN.format({downgradedPlan:_.default.getDisplayName(n.planId),existingRate:O}):g.default.Messages.PREMIUM_PENDING_PLAN_CHANGE_CANCEL_BODY.format({existingPlan:_.default.getDisplayName(t.planId),downgradedPlan:_.default.getDisplayName(n.planId),existingRate:O})),C(m.ModalFooter,{},void 0,C(c.default,{onClick:function(){return f.apply(this,arguments)}},void 0,g.default.Messages.PREMIUM_PENDING_PLAN_CHANGE_CANCEL_BUTTON),C(c.default,{look:c.default.Looks.LINK,color:o===E.ThemeTypes.LIGHT?c.default.Colors.PRIMARY:c.default.Colors.WHITE,onClick:a},void 0,g.default.Messages.NEVERMIND)))}function A(e){var t=e.subscription,n=e.renewalMutations,r=e.className,i=a.useState(!1),l=i[0],u=i[1],s=(0,_.isUpgradingFromGrandfathered)(t);return C("div",{className:(0,o.default)(S.default.root,r)},void 0,C(y.default,{className:S.default.infoIcon}),C("div",{className:S.default.text},void 0,s?g.default.Messages.PREMIUM_PENDING_PLAN_CHANGE_NOTICE_GRANDFATHERED_UPGRADE.format({date:_.default.GRANDFATHERED_YEARLY_END_DATE}):g.default.Messages.PREMIUM_PENDING_PLAN_CHANGE_NOTICE.format({planName:t.hasExternalPlanChange?(0,_.getExternalPlanDisplayName)(n):_.default.getDisplayName(n.planId),date:t.currentPeriodEnd})),t.isPurchasedExternally?null:C(f.default,{onClick:function(e){u(!0),e.preventDefault()},className:S.default.cancelLink},void 0,g.default.Messages.CANCEL),l?C(m.default,{renderModal:function(e){var r=e.transitionState;return C(N,{subscription:t,renewalMutations:n,transitionState:r,onClose:function(){return u(!1)}})},onCloseRequest:function(){return u(!1)}}):null)}N.displayName="SubscriptionCancelDowngradeModal",A.displayName="SubscriptionPendingMutation"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-06_guild_subscriptions_payment_flow_test_page",label:"Test page for guild subscription payment flows",defaultConfig:{enableTestPage:!1},treatments:[{id:1,label:"Test page for guild subscription payment flows",config:{enableTestPage:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=a.useContext(l.AccessibilityPreferencesContext).reducedMotion,t=(0,o.useSpring)({from:{transform:"translateX(-40px)",opacity:0},to:{transform:"translateX(0px)",opacity:1},delay:550,config:o.config.stiff});return(0,d.useAndTrackExposureToExperiment)()?m(o.animated.div,{className:p.default.banner,style:e.enabled?{}:t},void 0,m(s.default,{size:s.default.Sizes.SIZE_14,className:p.default.description},void 0,c.default.Messages.INCENTIVIZED_INSTALL_PREMIUM_SETTINGS_BANNER.format()),m(u.default,{look:u.default.Looks.INVERTED,className:p.default.button,onClick:_},void 0,c.default.Messages.DOWNLOAD)):null};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(122),i=n(1228),l=n(123),u=v(n(29)),s=v(n(24)),d=n(8796),f=n(1),c=v(n(6)),p=v(n(7859));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(){(0,i.showAppDownloadModal)(f.AnalyticsSections.SETTINGS_PREMIUM)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("title",{},void 0,"Nitro Classic"),f=s("path",{d:"M75.4829 6.68251L74.5173 13.1841C74.2956 14.7208 72.5637 15.4357 70.9694 15.4357C69.4817 15.4357 68.025 14.7208 68.2186 13.322L69.1842 6.68251C69.406 5.23022 71.1378 4.48437 72.7321 4.48437C74.3236 4.48437 75.7046 5.23022 75.4829 6.68251ZM73.49 0.0120925H63.1185C62.849 0.0120925 62.6273 0.203479 62.5908 0.46523L62.0856 3.90176C62.0406 4.22543 62.2849 4.5097 62.6133 4.5097H64.5051C64.696 4.5097 64.8279 4.70109 64.7493 4.8784C64.5107 5.43286 64.3423 6.03236 64.2441 6.67688L63.2785 13.3163C62.6582 17.7745 66.3745 19.9952 70.4136 19.9952C74.652 19.9952 78.8063 17.7745 79.4434 13.3248L80.409 6.68533C81.0321 2.32563 77.4449 0.104972 73.49 0.0120925ZM11.7242 8.7343L11.7775 11.9232C11.7775 11.9935 11.7326 12.047 11.6708 12.0611L10.5986 8.21924C10.5986 8.2108 10.5986 8.20517 10.5902 8.20517L7.27242 0.332948C7.18821 0.133117 7.00296 0.00927734 6.78963 0.00927734H3.02558C2.76454 0.00927734 2.55121 0.200665 2.51192 0.462416L0.00535493 18.6245C-0.0395555 18.9398 0.204645 19.224 0.519018 19.224H4.26623C4.52727 19.224 4.74902 19.0326 4.77989 18.7709L5.76231 11.5545C5.76231 11.546 5.76231 11.5404 5.76231 11.5319L5.70898 7.82802L5.81564 7.79706L6.9412 11.6389C6.9412 11.6473 6.9412 11.6473 6.94963 11.653L10.0541 18.9004C10.1383 19.0917 10.3235 19.2156 10.5284 19.2156H14.59C14.851 19.2156 15.0728 19.0242 15.1037 18.7624L17.6187 0.603142C17.6636 0.296359 17.4194 0.0120925 17.105 0.0120925H13.3802C13.1192 0.0120925 12.8974 0.203479 12.8666 0.46523L11.7242 8.71178C11.7242 8.72023 11.7242 8.72586 11.7242 8.7343ZM18.9379 19.2268H22.8788C23.1539 19.2268 23.384 19.0355 23.4233 18.7737L26.059 0.611585C26.0983 0.296359 25.8457 0.0120925 25.5145 0.0120925H21.5736C21.2985 0.0120925 21.0683 0.203479 21.029 0.46523L18.3934 18.6273C18.3541 18.9426 18.6067 19.2268 18.9379 19.2268ZM28.8715 0.456787L28.3663 3.85392C28.3214 4.16914 28.574 4.45341 28.894 4.45341H32.9499C33.2783 4.45341 33.5254 4.73768 33.4776 5.0529L31.5689 18.6273C31.5296 18.9426 31.7767 19.2268 32.1051 19.2268H36.0375C36.307 19.2268 36.5372 19.0355 36.5652 18.7737L38.5132 4.90936C38.5525 4.64761 38.7743 4.45622 39.0409 4.45622H43.4028C43.6723 4.45622 43.894 4.26484 43.9305 4.01153L44.4358 0.622844C44.4891 0.299173 44.2449 0.0149065 43.9137 0.0149065H29.3964C29.1382 0.012092 28.908 0.203479 28.8715 0.456787ZM56.2584 6.71347C56.1209 7.82802 55.2395 8.94257 53.721 8.94257H51.4446C51.1218 8.94257 50.8692 8.65831 50.9169 8.34308L51.3997 4.99943C51.4306 4.73768 51.6607 4.54629 51.9274 4.54629H54.3582C55.8121 4.54629 56.396 5.54544 56.2584 6.71347ZM54.9083 0.0120925H47.5739C47.3044 0.0120925 47.0827 0.203479 47.0462 0.46523L44.4638 18.6273C44.4189 18.9426 44.6631 19.2268 44.9915 19.2268H48.9016C49.171 19.2268 49.3928 19.0355 49.4292 18.7737L50.1871 13.3473C50.2011 13.2178 50.3162 13.1165 50.4566 13.1165H50.9618C51.0544 13.1165 51.1387 13.1615 51.1836 13.2404L54.9167 18.982C55.015 19.1368 55.1862 19.2268 55.3686 19.2268H60.1965C60.626 19.2268 60.887 18.7512 60.6344 18.3966L56.7188 12.8857C56.6261 12.7563 56.6739 12.5705 56.817 12.5001C59.3151 11.2927 60.7719 10.0628 61.2463 6.63467C61.7993 2.1258 58.9334 0.0120925 54.9083 0.0120925Z"}),c=s("path",{d:"M97.7021 13.8447L100.93 15.4434C101.107 15.5278 101.174 15.7417 101.09 15.919C101.082 15.9331 101.068 15.9584 101.059 15.9725C98.7379 19.0995 96.0629 19.9917 93.7163 19.9917C89.9214 19.9917 86.4268 17.771 87.0247 13.3522L87.9509 6.65645C88.5488 2.26016 92.6946 0.00854492 96.5737 0.00854492C98.8417 0.00854492 101.432 0.931708 102.592 4.02768C102.684 4.27255 102.561 4.55118 102.317 4.64969L98.968 5.94156C98.7379 6.02599 98.4852 5.94156 98.3561 5.73328C97.8284 4.89456 96.8236 4.5343 95.8103 4.5343C94.4152 4.56526 93.0286 5.33362 92.8349 6.648L91.9087 13.3409C91.7178 14.6018 92.9192 15.4012 94.2861 15.4012C95.2966 15.4012 96.4165 14.979 97.107 13.9855C97.2362 13.8081 97.4944 13.7378 97.7021 13.8447Z"}),p=s("path",{d:"M188.225 13.8447L191.453 15.4434C191.63 15.5278 191.697 15.7417 191.613 15.919C191.604 15.9331 191.59 15.9584 191.582 15.9725C189.261 19.0995 186.586 19.9917 184.239 19.9917C180.444 19.9917 176.95 17.771 177.547 13.3522L178.474 6.65645C179.072 2.26016 183.22 0.00854492 187.097 0.00854492C189.367 0.00854492 191.958 0.931708 193.115 4.02768C193.207 4.27255 193.084 4.55118 192.839 4.64969L189.488 5.94156C189.258 6.02599 189.005 5.94156 188.876 5.73328C188.346 4.89456 187.344 4.5343 186.33 4.5343C184.935 4.56526 183.549 5.33362 183.355 6.648L182.429 13.3409C182.238 14.6018 183.439 15.4012 184.803 15.4012C185.817 15.4012 186.934 14.979 187.624 13.9855C187.759 13.8081 188.02 13.7378 188.225 13.8447Z"}),v=s("path",{d:"M102.724 18.6885L105.177 1.07236C105.239 0.627666 105.621 0.287109 106.075 0.287109H109.157C109.654 0.287109 110.061 0.695214 110.061 1.19338C110.061 1.23842 110.061 1.27782 110.053 1.31722L108.298 13.8221C108.228 14.3203 108.573 14.7763 109.073 14.8523C109.112 14.8607 109.157 14.8607 109.197 14.8607H114.984C115.481 14.8607 115.888 15.2688 115.888 15.767C115.888 15.8064 115.888 15.8514 115.88 15.8908L115.467 18.9333C115.405 19.3865 115.024 19.7186 114.569 19.7186H103.622C103.122 19.7186 102.718 19.3105 102.718 18.8123C102.715 18.7729 102.715 18.725 102.724 18.6885Z"}),y=s("path",{d:"M135 18.6181L131.191 1.002C131.099 0.588262 130.731 0.287109 130.31 0.287109H127.152C126.807 0.287109 126.493 0.48694 126.341 0.793723L117.78 18.4098C117.718 18.5337 117.687 18.6716 117.687 18.8095C117.687 19.3105 118.094 19.7158 118.591 19.7158H121.794C122.153 19.7158 122.476 19.499 122.622 19.1782L123.863 16.3665C124.009 16.0372 124.331 15.8289 124.691 15.8289H128.508C128.946 15.8289 129.322 16.1357 129.398 16.5663L129.858 18.9868C129.942 19.4174 130.313 19.7242 130.748 19.7242H134.122C134.184 19.7242 134.254 19.7158 134.313 19.7017C134.796 19.5947 135.107 19.1106 135 18.6181ZM125.816 11.4551L127.947 5.77543H128.138L128.713 11.4551H125.816Z"}),m=s("path",{d:"M136.988 15.9809L139.157 14.1739C139.534 13.8587 140.078 13.8728 140.446 14.2049C141.341 15.0183 142.624 15.4348 143.794 15.4348C145.105 15.4348 146.256 14.9648 146.447 13.9516C146.663 12.7442 144.976 12.2235 143.421 11.9983C140.392 11.5058 137.656 9.06277 138.341 5.38137C139.076 1.39882 142.571 0 146.121 0C148.235 0 150.222 0.537574 151.817 2.43738C152.083 2.76105 152.047 3.24514 151.724 3.52097C151.71 3.53504 151.685 3.55193 151.671 3.566L149.363 5.17309C149.041 5.39544 148.611 5.38137 148.305 5.14213C147.508 4.51168 146.472 4.2049 145.552 4.18238C144.325 4.15142 143.284 4.62145 143.177 5.61216C143.039 6.73515 144.019 7.23332 145.498 7.56544C148.855 8.19589 152.137 9.48776 151.233 14.3203C150.52 18.1086 147.247 20 143.07 20C140.985 20 138.456 19.0459 136.892 17.1573C136.589 16.7971 136.634 16.2736 136.988 15.9809Z"}),_=s("path",{d:"M153.419 15.9809L155.589 14.1739C155.965 13.8587 156.518 13.8728 156.877 14.2049C157.776 15.0183 159.053 15.4348 160.226 15.4348C161.537 15.4348 162.685 14.9648 162.879 13.9516C163.095 12.7442 161.408 12.2235 159.85 11.9983C156.824 11.5058 154.087 9.06277 154.769 5.38137C155.505 1.39882 158.999 0 162.55 0C164.664 0 166.651 0.537574 168.245 2.43738C168.512 2.76105 168.475 3.24514 168.153 3.52097C168.139 3.53504 168.113 3.55193 168.099 3.566L165.792 5.17309C165.469 5.39544 165.04 5.38137 164.734 5.14213C163.937 4.51168 162.904 4.2049 161.983 4.18238C160.757 4.15142 159.715 4.62145 159.608 5.61216C159.471 6.73515 160.451 7.23332 161.93 7.56544C165.287 8.19589 168.568 9.48776 167.664 14.3203C166.951 18.1086 163.678 20 159.502 20C157.419 20 154.887 19.0459 153.324 17.1573C153.021 16.7971 153.066 16.2736 153.419 15.9809Z"}),h=s("path",{d:"M176.537 1.31722L174.084 18.9333C174.022 19.378 173.64 19.7186 173.186 19.7186H170.129C169.629 19.7186 169.225 19.3105 169.225 18.8123C169.225 18.7729 169.225 18.7279 169.234 18.6885L171.687 1.07236C171.748 0.627666 172.13 0.287109 172.585 0.287109H175.642C176.138 0.287109 176.548 0.695214 176.548 1.19338C176.545 1.23279 176.545 1.27782 176.537 1.31722Z"});function E(e){var t=e.width,n=void 0===t?194:t,r=e.height,a=void 0===r?20:r,l=e.color,E=void 0===l?"currentColor":l,g=e.foreground,S=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(S),{width:n,height:a,viewBox:"0 0 194 20"}),d,s("g",{fill:E,className:g,fillRule:"evenodd",clipRule:"evenodd","aria-hidden":!0},void 0,f,c,p,v,y,m,_,h))}E.displayName="NitroClassicHorizontal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(10172),l=p(n(257)),u=p(n(1147)),s=p(n(29)),d=p(n(153)),f=n(5688),c=p(n(7392));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=y("div",{},void 0,"header"),_=function(e){var t=e.skuId,n=e.skuGroup,r=(0,o.useStateFromStoresObject)([l.default],(function(){return{plansForSku:l.default.getForSKU(t),plansInSkuGroup:l.default.getPlanIdsForSkus(n)}})),a=r.plansForSku,i=r.plansInSkuGroup,d=(0,o.useStateFromStores)([u.default],(function(){return u.default.getSubscriptionForPlanIds(i)}));return y("ul",{},void 0," ",a.map((function(e){return y("li",{},e.id,y(s.default,{onClick:function(){(0,f.openGuildSelectPlanModal)({activeSubscription:null!=d?d:void 0,renderHeader:function(){return m},initialPlanId:e.id,planGroup:i,renderPurchaseConfirmation:function(e,t){return y("div",{},void 0,"You bought ",null==e?void 0:e.name)}})}},void 0,"Buy "+e.name+": "+t))}))," ")};function h(){var e=a.useState(""),t=e[0],n=e[1],r=a.useState([]),o=r[0],l=r[1],u=o.map((function(e){return y("li",{},e,y(_,{skuId:e,skuGroup:o}))}));return y("div",{},void 0,y("div",{className:c.default.marketingRefreshTitle},void 0,"Server Subscriptions"),y(d.default,{placeholder:"Enter skus in sku group",value:t,onChange:function(e){return n(e)}}),y(s.default,{onClick:function(){var e=t.split(",").map((function(e){return e.trim()}));e.forEach((function(e){return(0,i.fetchSubscriptionPlansForSKU)(e)})),l(e)}},void 0,"Fetch Plans"),y("ul",{},void 0,u))}_.displayName="GuildSubscriptionButtons",h.displayName="GuildSubscriptionsTestButtonsGenerator"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchSubscriptionPlansForSKU=function(e){return d.apply(this,arguments)};var r=l(n(2)),a=l(n(195)),o=n(289),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){u(o,r,a,i,l,"next",e)}function l(e){u(o,r,a,i,l,"throw",e)}i(void 0)}))}}function d(){return(d=s(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.default.dispatch({type:i.ActionTypes.SUBSCRIPTION_PLANS_FETCH,skuId:t}),e.prev=1,e.next=4,(0,o.httpGetWithCountryCodeQuery)({url:i.Endpoints.STORE_PUBLISHED_LISTINGS_SUBSCRIPTION_PLANS(t),oldFormErrors:!0});case 4:n=e.sent,r.default.dispatch({type:i.ActionTypes.SUBSCRIPTION_PLANS_FETCH_SUCCESS,skuId:t,subscriptionPlans:n.body}),e.next=12;break;case 8:throw e.prev=8,e.t0=e.catch(1),r.default.dispatch({type:i.ActionTypes.SUBSCRIPTION_PLANS_FETCH_FAILURE,skuId:t}),new a.default(e.t0);case 12:case"end":return e.stop()}}),e,null,[[1,8]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.createElement(a.Fragment,null,U,N(_.default,{className:T.default.featuresHeader,size:_.default.Sizes.SIZE_32},void 0,I.default.Messages.PREMIUM_MARKETING_FEATURE_HEADER),G)};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=C(n(9)),i=n(3),l=C(n(473)),u=n(5943),s=C(n(39)),d=C(n(29)),f=C(n(61)),c=C(n(149)),p=C(n(1236)),v=C(n(10174)),y=C(n(22)),m=n(8263),_=C(n(47)),h=C(n(24)),E=n(281),g=n(280),S=n(9062),O=n(1),I=C(n(6)),T=C(n(7861));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(){return(M=Object.assign||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}).apply(this,arguments)}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var A={page:O.AnalyticsPages.USER_SETTINGS,section:O.AnalyticsSections.SETTINGS_PREMIUM},P={look:d.default.Looks.INVERTED,color:d.default.Colors.BRAND};function R(){return N("div",{className:T.default.hero},void 0,N(v.default,{className:T.default.heroIcon}),N(_.default,{className:T.default.heroHeader,size:_.default.Sizes.SIZE_24},void 0,I.default.Messages.PREMIUM_MARKETING_HERO_HEADER),N(h.default,{color:h.default.Colors.CUSTOM,className:T.default.heroBody,size:h.default.Sizes.SIZE_16},void 0,I.default.Messages.PREMIUM_MARKETING_HERO_BODY),N(S.PremiumTier2Buttons,{className:T.default.heroButtons,premiumModalAnalyticsLocation:A,subscribeButtonProps:P,giftButtonProps:P}))}function L(e){var t=e.title,n=e.description,r=e.className,i=e.imgSrc,l=e.children,u=e.isNew,s=void 0!==u&&u;return N("li",{className:(0,o.default)(T.default.feature,r)},void 0,s?N(j,{className:T.default.featureNewBadge}):null,N(_.default,{className:T.default.featureTitle,size:_.default.Sizes.SIZE_20},void 0,t),N(h.default,{className:T.default.featureDescription,size:h.default.Sizes.SIZE_14},void 0,n),a.createElement(a.Fragment,null,null!=i?N("div",{className:T.default.featureImageWrapper},void 0,N("img",{className:T.default.featureImage,src:i,alt:""})):null,null!=l?N("div",{className:T.default.featureChildrenWrapper},void 0,l):null))}R.displayName="Hero",L.displayName="Feature";var D=N("path",{d:"M9.30705 8.36284L13.5731 6.46363C13.5889 6.45487 13.6022 6.44203 13.6114 6.42644C13.6206 6.41086 13.6255 6.39309 13.6255 6.375C13.6255 6.35691 13.6206 6.33914 13.6114 6.32356C13.6022 6.30797 13.5889 6.29513 13.5731 6.28637L9.30705 4.38716C9.29358 4.38716 9.28066 4.38183 9.27114 4.37233C9.26162 4.36283 9.25627 4.34995 9.25627 4.33652L7.3518 0.0569762C7.30102 -0.0189921 7.19944 -0.0189921 7.17405 0.0569762L5.26958 4.33652C5.24419 4.36184 5.24419 4.38716 5.2188 4.38716L0.927401 6.28637C0.911525 6.29513 0.898291 6.30797 0.889077 6.32356C0.879862 6.33914 0.875 6.35691 0.875 6.375C0.875 6.39309 0.879862 6.41086 0.889077 6.42644C0.898291 6.44203 0.911525 6.45487 0.927401 6.46363L5.2188 8.36284C5.24419 8.36284 5.24419 8.38816 5.26958 8.41348L7.17405 12.693C7.19944 12.769 7.30102 12.769 7.3518 12.693L9.25627 8.41348C9.25627 8.40005 9.26162 8.38717 9.27114 8.37767C9.28066 8.36817 9.29358 8.36284 9.30705 8.36284Z",fill:"currentColor"});function w(e){return a.createElement("svg",M({},(0,y.default)(M({},e)),{width:"14",height:"13",viewBox:"0 0 14 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),D)}function j(e){var t=e.className;return N("span",{className:(0,o.default)(T.default.newBadgeContainer,t)},void 0,N(m.TextBadge,{disableColor:!0,className:T.default.newBadge,text:I.default.Messages.NEW}),N(w,{className:T.default.sparkleStarTopRight}),N(w,{className:T.default.sparkleStarRight}),N(w,{className:T.default.sparkleStarBottomLeft}))}function k(){var e=(0,u.useAndTriggerGuildMemberAvatarExperiment)(),t=(0,i.useStateFromStores)([s.default],(function(){return s.default.locale})),r=a.useRef(null);return a.createElement("div",{ref:r,className:T.default.featureGrid},N(L,{isNew:!0,title:I.default.Messages.PREMIUM_FEATURES_PROFILE_CUSTOMIZATION_HEADER,description:I.default.Messages.PREMIUM_FEATURES_PROFILE_CUSTOMIZATION_SUBHEADER,className:T.default.featureProfile,imgSrc:n(10175)}),N(L,{isNew:!0,title:I.default.Messages.PREMIUM_MARKETING_FEATURE_STICKERS_TITLE,description:I.default.Messages.PREMIUM_MARKETING_FEATURE_STICKERS_DESCRIPTION.format({infoHook:function(e,t){return N(c.default,{text:I.default.Messages.PREMIUM_MARKETING_FEATURE_STICKERS_INFO},t,(function(e){return a.createElement(p.default,M({},e,{className:T.default.itemInfoIcon}))}))}}),className:T.default.stickers,imgSrc:n(10176)}),e?N(L,{isNew:!0,title:I.default.Messages.PER_GUILD_AVATARS_PREMIUM_FEATURE_TITLE,description:I.default.Messages.PER_GUILD_AVATARS_PREMIUM_FEATURE_DESCRIPTION,className:T.default.featurePerGuildAvatar,imgSrc:n(10177)}):null,N(L,{title:I.default.Messages.PREMIUM_MARKETING_FEATURE_EMOJI_TITLE,description:I.default.Messages.PREMIUM_MARKETING_FEATURE_EMOJI_DESCRIPTION,className:T.default.featureEmoji,imgSrc:n(10178)}),N(L,{title:I.default.Messages.PREMIUM_MARKETING_FEATURE_PROFILE_TITLE,description:I.default.Messages.PREMIUM_MARKETING_FEATURE_PROFILE_DESCRIPTION,className:T.default.featureProfile,imgSrc:n(10179)}),N(L,{title:I.default.Messages.PREMIUM_MARKETING_FEATURE_PREMIUM_GUILD_TITLE,description:I.default.Messages.PREMIUM_MARKETING_FEATURE_PREMIUM_GUILD_DESCRIPTION.format({numFreeGuildSubscriptions:g.NUM_FREE_GUILD_SUBSCRIPTIONS_WITH_PREMIUM,percentageOff:(0,E.formatPercent)(t,g.PREMIUM_GUILD_FOR_PREMIUM_USER_DISCOUNT_PERCENT/100),learnMoreHook:function(e,t){return N(f.default,{className:T.default.learnMoreLink,tag:"span",onClick:function(){return l.default.open(O.UserSettingsSections.PREMIUM_GUILD_SUBSCRIPTION)}},t,e)}}),className:T.default.featurePremiumGuild,imgSrc:n(10180)}),N(L,{title:I.default.Messages.PREMIUM_MARKETING_FEATURE_PREMIUM_BADGE_TITLE,description:I.default.Messages.PREMIUM_MARKETING_FEATURE_PREMIUM_BADGE_DESCRIPTION,className:T.default.featureBadge,imgSrc:n(10181)}),N(L,{title:I.default.Messages.PREMIUM_MARKETING_FEATURE_PREMIUM_UPLOAD_SIZE_TITLE,description:I.default.Messages.PREMIUM_MARKETING_FEATURE_PREMIUM_UPLOAD_SIZE_DESCRIPTION,className:T.default.featureUploadSize,imgSrc:n(10182)}),N(L,{title:I.default.Messages.PREMIUM_MARKETING_FEATURE_PREMIUM_GO_LIVE_TITLE,description:I.default.Messages.PREMIUM_MARKETING_FEATURE_PREMIUM_GO_LIVE_DESCRIPTION.format({infoHook:function(e,t){return N(c.default,{text:I.default.Messages.MARKETING_REFRESH_PREMIUM_FEATURES_GO_LIVE_INFO},t,(function(e){return a.createElement(p.default,M({},e,{className:T.default.itemInfoIcon}))}))}}),className:T.default.featureGoLive,imgSrc:n(10183)}),N(L,{title:I.default.Messages.PREMIUM_FEATURES_MESSAGE_LENGTH_HEADING,description:I.default.Messages.PREMIUM_FEATURES_MESSAGE_LENGTH_SUBHEADING,className:T.default.featureLongerMessageContent,imgSrc:n(10184)}),N(L,{title:I.default.Messages.GUILD_CAP_PREMIUM_FEATURE_TITLE,description:I.default.Messages.GUILD_CAP_PREMIUM_FEATURE_DESCRIPTION,className:T.default.featureMoreServers,imgSrc:n(10185)}))}w.displayName="BadgeSparkleStar",j.displayName="NewBadge",k.displayName="FeatureGrid";var U=N(R,{}),G=N(k,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=O;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function i(){return(i=Object.assign||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}).apply(this,arguments)}function l(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var u=l("path",{d:"M135.444 24.5787H117.119C116.652 24.5787 116.243 24.9294 116.184 25.397L115.307 31.4759C115.22 32.0312 115.658 32.5572 116.243 32.5572H119.603C119.954 32.5572 120.159 32.9079 120.042 33.2002C119.633 34.1646 119.311 35.246 119.165 36.3858L117.47 48.1637C116.359 56.0546 122.906 59.9708 130.066 59.9708C137.548 59.9708 144.913 56.0253 146.023 48.1637L147.718 36.3858C148.771 28.6702 142.429 24.754 135.444 24.5787ZM138.951 36.415L137.256 47.9299C136.876 50.6478 133.807 51.9045 130.972 51.9045C128.342 51.9045 125.77 50.6478 126.121 48.1637L127.816 36.3858C128.196 33.8139 131.264 32.4988 134.099 32.4988C136.934 32.4988 139.36 33.8139 138.951 36.415Z"}),s=l("path",{d:"M33.7681 24.5787H26.9294C26.4618 24.5787 26.0526 24.9294 25.9942 25.397L23.8899 40.3897V40.4189L23.9776 46.2056C23.9776 46.3225 23.8899 46.4394 23.773 46.4686L21.8149 39.4837V39.4545L15.7068 25.1632C15.5606 24.8125 15.2099 24.5787 14.83 24.5787H7.90356C7.43595 24.5787 7.0268 24.9294 6.96835 25.397L2.35071 58.4218C2.26304 59.0063 2.73064 59.5032 3.28593 59.5032H10.1832C10.6508 59.5032 11.0599 59.1525 11.1184 58.6849L12.9304 45.5626V45.5334L12.8427 38.8115L13.0473 38.7531L15.1223 45.7379V45.7672L20.8212 58.9479C20.9674 59.2986 21.3181 59.5324 21.698 59.5324H29.1797C29.6474 59.5324 30.0565 59.1817 30.115 58.7141L34.7326 25.6892C34.8203 25.1047 34.3527 24.5787 33.7681 24.5787Z"}),d=l("path",{d:"M48.7314 24.5787H41.8342C41.3666 24.5787 40.9575 24.9294 40.899 25.397L36.2814 58.3926C36.1937 58.9771 36.6613 59.474 37.2166 59.474H44.1138C44.5814 59.474 44.9906 59.1232 45.049 58.6556L49.6667 25.66C49.7543 25.1047 49.316 24.5787 48.7314 24.5787Z"}),f=l("path",{d:"M81.0843 24.5787H55.2782C54.8106 24.5787 54.4014 24.9294 54.343 25.397L53.437 31.5636C53.3493 32.1481 53.7877 32.6449 54.3722 32.6449H61.5909C62.1754 32.6449 62.6138 33.1418 62.5261 33.7263L59.1359 58.3926C59.0483 58.9771 59.5159 59.474 60.0712 59.474H67.0561C67.5237 59.474 67.9328 59.1232 67.9913 58.6556L71.4691 33.4632C71.5276 32.9956 71.9367 32.6449 72.4043 32.6449H80.1491C80.6167 32.6449 81.0259 32.2942 81.0843 31.8266L81.9903 25.66C82.1364 25.1047 81.6688 24.5787 81.0843 24.5787Z"}),c=l("path",{d:"M100.811 24.5787H87.6892C87.2216 24.5787 86.8124 24.9294 86.754 25.397L82.1364 58.3926C82.0487 58.9771 82.5163 59.4739 83.0716 59.4739H90.0565C90.5241 59.4739 90.9332 59.1232 90.9917 58.6556L92.3361 48.8066C92.3653 48.5728 92.5699 48.3975 92.8037 48.3975H93.7097C93.885 48.3975 94.0312 48.4851 94.1188 48.6313L100.782 59.0648C100.958 59.3278 101.25 59.5032 101.601 59.5032H110.251C111.011 59.5032 111.479 58.6264 111.04 58.0127L104.026 47.9883C103.851 47.7545 103.939 47.4038 104.202 47.2869C108.673 45.095 111.274 42.8738 112.122 36.6196C113.115 28.4364 108.001 24.5787 100.811 24.5787ZM103.208 36.7657C102.974 38.7823 101.396 40.7988 98.678 40.7988H94.6157C94.0311 40.7988 93.5928 40.2728 93.6804 39.7175L94.5572 33.6386C94.6157 33.171 95.0248 32.8203 95.4924 32.8203H99.847C102.419 32.8203 103.471 34.6615 103.208 36.7657Z"}),p=l("path",{d:"M59.8372 3.6824H64.8055C66.0037 3.6824 67.0266 3.85776 67.845 4.23769C68.6048 4.55917 69.2478 5.11445 69.7154 5.81587C70.1246 6.51728 70.3584 7.30637 70.3291 8.09546C70.3291 8.91377 70.1246 9.70286 69.6862 10.4043C69.2186 11.1349 68.5171 11.6902 67.7281 12.0409C66.8513 12.4501 65.7407 12.6546 64.4548 12.6546H59.8372V3.6824V3.6824ZM64.3963 10.3458C65.2147 10.3458 65.8284 10.1412 66.2668 9.73209C66.7052 9.2937 66.939 8.70919 66.9097 8.06623C66.939 7.48172 66.7344 6.92644 66.3252 6.51728C65.9453 6.13735 65.3608 5.93277 64.5717 5.93277H63.0227V10.3166H64.3963V10.3458Z"}),v=l("path",{d:"M77.8109 12.6254C77.1679 12.4501 76.5249 12.187 75.9404 11.8363V9.70286C76.4373 10.0828 77.0218 10.3458 77.6063 10.4919C78.2785 10.6965 78.9507 10.7842 79.6521 10.8134C79.8859 10.8134 80.1197 10.7842 80.3535 10.6965C80.4996 10.6088 80.5873 10.5212 80.5873 10.4043C80.5873 10.2874 80.5581 10.1705 80.4704 10.0828C80.3243 9.96589 80.1489 9.90743 79.9735 9.87821L78.4538 9.5275C77.5771 9.32292 76.9633 9.03067 76.5834 8.67996C76.2035 8.30003 75.9989 7.77397 76.0281 7.24791C76.0281 6.7803 76.2035 6.31269 76.5249 5.96199C76.9049 5.55283 77.3725 5.26058 77.8985 5.11445C78.5707 4.90987 79.2721 4.79297 80.0028 4.82219C80.675 4.82219 81.3179 4.88064 81.9609 5.056C82.4869 5.1729 82.9838 5.37748 83.4514 5.64051V7.65707C83.013 7.39404 82.5454 7.21869 82.0778 7.10178C81.5517 6.95566 80.9964 6.89721 80.4704 6.89721C79.6813 6.89721 79.2721 7.04333 79.2721 7.30636C79.2721 7.42326 79.3306 7.54017 79.4475 7.59862C79.6521 7.68629 79.8859 7.74475 80.1197 7.8032L81.4056 8.037C82.2239 8.18313 82.8669 8.44616 83.276 8.79686C83.6852 9.14757 83.8898 9.70286 83.8898 10.4043C83.8898 11.1641 83.5098 11.8655 82.8669 12.2455C82.1947 12.6839 81.2302 12.9177 79.9735 12.9177C79.2137 12.8884 78.483 12.8008 77.8109 12.6254Z"}),y=l("path",{d:"M86.8417 12.3624C86.1696 12.0409 85.585 11.5441 85.1759 10.9011C84.796 10.2874 84.6206 9.55675 84.6206 8.82612C84.6206 8.09548 84.796 7.39407 85.2051 6.78033C85.6143 6.13737 86.1988 5.66976 86.9002 5.34828C87.7477 4.99757 88.6537 4.79299 89.5597 4.82222C90.8456 4.82222 91.8978 5.08525 92.7453 5.64053V7.97858C92.4238 7.774 92.0731 7.59864 91.6932 7.48174C91.284 7.36484 90.8456 7.27716 90.4073 7.27716C89.6182 7.27716 89.0044 7.42329 88.5368 7.71555C87.8939 8.06625 87.6893 8.85534 88.04 9.4983C88.1569 9.70288 88.3322 9.87824 88.5368 9.99514C88.9752 10.2874 89.5889 10.4335 90.4365 10.4335C90.8749 10.4335 91.284 10.3751 91.6932 10.2582C92.0731 10.1413 92.4238 9.99514 92.7453 9.79056V12.0409C91.7516 12.6254 90.6411 12.9177 89.5013 12.8885C88.5953 12.9177 87.6893 12.7423 86.8417 12.3624Z"}),m=l("path",{d:"M95.931 12.3624C95.2295 12.0409 94.645 11.5441 94.2359 10.9011C93.8559 10.2874 93.6514 9.55674 93.6514 8.8261C93.6514 8.09547 93.8267 7.39405 94.2359 6.78032C94.645 6.16658 95.2295 5.66975 95.931 5.37749C97.5968 4.70531 99.4965 4.70531 101.162 5.37749C101.835 5.66975 102.419 6.16658 102.828 6.78032C103.208 7.39405 103.413 8.12469 103.413 8.8261C103.413 9.55674 103.208 10.2874 102.828 10.9011C102.419 11.5441 101.835 12.0409 101.162 12.3624C99.4965 13.0638 97.5968 13.0638 95.931 12.3624ZM99.818 10.0828C100.139 9.76132 100.315 9.29371 100.286 8.85533C100.315 8.38772 100.139 7.94934 99.818 7.62786C99.4673 7.30638 98.9996 7.16025 98.532 7.16025C98.0644 7.13102 97.5968 7.30638 97.2461 7.62786C96.9246 7.94934 96.7493 8.38772 96.7785 8.85533C96.7493 9.32294 96.9246 9.76132 97.2461 10.0828C97.5968 10.4043 98.0644 10.5796 98.532 10.5504C98.9996 10.5796 99.4673 10.4043 99.818 10.0828Z"}),_=l("path",{d:"M111.099 5.28981V8.06624C110.719 7.83243 110.281 7.71553 109.842 7.74476C109.17 7.74476 108.644 7.94934 108.264 8.35849C107.913 8.76765 107.709 9.41061 107.709 10.2874V12.6254H104.582V5.14369H107.65V7.51095C107.826 6.63419 108.089 5.99123 108.469 5.58207C108.848 5.17291 109.375 4.93911 109.93 4.96833C110.339 4.96833 110.748 5.08523 111.099 5.28981Z"}),h=l("path",{d:"M121.474 3.41937V12.6254H118.347V10.9596C118.113 11.5441 117.675 12.0701 117.149 12.3916C116.535 12.7423 115.863 12.9177 115.161 12.8884C114.518 12.9177 113.875 12.7131 113.32 12.3624C112.794 12.0117 112.356 11.5148 112.093 10.9303C111.8 10.2874 111.654 9.58596 111.654 8.88455C111.625 8.15391 111.8 7.42327 112.093 6.78031C112.385 6.16657 112.853 5.66974 113.408 5.31903C113.992 4.96833 114.665 4.79297 115.337 4.79297C116.827 4.79297 117.821 5.43593 118.347 6.72186V3.41937H121.474ZM117.909 10.0243C118.23 9.70286 118.405 9.26448 118.376 8.82609C118.376 8.38771 118.201 7.94933 117.909 7.65707C117.178 7.04334 116.126 7.04334 115.366 7.65707C115.044 7.97855 114.869 8.38771 114.898 8.82609C114.869 9.26448 115.044 9.70286 115.366 10.0243C115.717 10.3458 116.155 10.4919 116.623 10.4919C117.09 10.5212 117.558 10.3458 117.909 10.0243Z"}),E=l("path",{d:"M48.2932 1.46128C46.7735 0.789089 45.1661 0.292255 43.5002 0C43.2664 0.409157 43.0618 0.818315 42.8865 1.2567C41.133 0.993668 39.321 0.993668 37.5674 1.2567C37.3921 0.818315 37.1875 0.409157 36.9537 0C35.2879 0.292255 33.6804 0.789089 32.1607 1.4905C29.1213 5.96201 28.303 10.3458 28.7121 14.642C30.4949 15.9571 32.4822 16.9508 34.5864 17.5938C35.054 16.9508 35.4924 16.2786 35.8431 15.5772C35.171 15.3142 34.4988 14.9927 33.8558 14.642C34.0312 14.5251 34.1773 14.4082 34.3526 14.2913C38.0643 16.0448 42.3604 16.0448 46.1013 14.2913C46.2474 14.4082 46.4228 14.5543 46.5981 14.642C45.9552 15.0219 45.3122 15.3434 44.6108 15.5772C44.9615 16.2786 45.3999 16.9508 45.8675 17.5938C47.9717 16.9508 49.9591 15.9571 51.7418 14.642C52.2386 9.64442 50.9235 5.31904 48.2932 1.46128ZM36.3984 11.9825C35.2586 11.9825 34.2942 10.9303 34.2942 9.67365C34.2942 8.41695 35.2002 7.3356 36.3692 7.3356C37.5382 7.3356 38.4734 8.38772 38.4734 9.67365C38.4734 10.9596 37.5674 11.9825 36.3984 11.9825ZM44.114 11.9825C42.9742 11.9825 42.0389 10.9303 42.0389 9.67365C42.0389 8.41695 42.9449 7.3356 44.114 7.3356C45.283 7.3356 46.2182 8.38772 46.189 9.67365C46.1597 10.9596 45.2538 11.9825 44.114 11.9825Z"}),g=l("path",{d:"M72.9889 5.96202C73.8444 5.96202 74.5378 5.33396 74.5378 4.5592C74.5378 3.78444 73.8444 3.15637 72.9889 3.15637C72.1334 3.15637 71.4399 3.78444 71.4399 4.5592C71.4399 5.33396 72.1334 5.96202 72.9889 5.96202Z"}),S=l("path",{d:"M71.4104 6.92645C72.4041 7.33561 73.5439 7.33561 74.5375 6.92645V12.6839H71.4104V6.92645Z"});function O(e){var t=e.color,n=void 0===t?"currentColor":t,r=e.foreground,o=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["color","foreground"]);return a.createElement("svg",i({},o,{viewBox:"0 0 149 60",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),l("g",{className:r,fill:n},void 0,u,s,d,f,c,p,v,y,m,_,h,E,g,S))}O.displayName="NitroStackedIcon"},function(e,t,n){e.exports=n.p+"d7ff363b09ab2d8cec4f4a4933fcd589.svg"},function(e,t,n){e.exports=n.p+"9e6263705c5d39cd4f3c26b353208b29.svg"},function(e,t,n){e.exports=n.p+"07f041fc91c18e7ce56a6d12c568acdc.png"},function(e,t,n){e.exports=n.p+"ac6a1118b3a9266551ac5fe1cc6f05ca.svg"},function(e,t,n){e.exports=n.p+"844d97f0961fcfd35bb12d450f21b076.svg"},function(e,t,n){e.exports=n.p+"d4053689db0ab9e30abcfd4737017598.svg"},function(e,t,n){e.exports=n.p+"dfbe1ee67ae724b485a7d61961457f17.svg"},function(e,t,n){e.exports=n.p+"ee4463cea419cc2442892787bc27c435.png"},function(e,t,n){e.exports=n.p+"d14825a72be9bc05e41a5579c03d8e94.png"},function(e,t,n){e.exports=n.p+"cb42ba50d7cf18fc9853d40ecd26bf8f.svg"},function(e,t,n){e.exports=n.p+"6bb6b608827debf8ff08b1ae403acc59.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=_(n(9)),o=_(n(8)),i=n(3),l=_(n(12)),u=_(n(257)),s=_(n(1147)),d=_(n(5686)),f=_(n(47)),c=_(n(24)),p=_(n(96)),v=n(1),y=_(n(6)),m=_(n(7862));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e){var t=e.user,n=e.planId,r=e.count,a=e.userPremiumSubscription,o=(0,i.useStateFromStoresArray)([u.default],(function(){return[u.default.get(n),null!=a?u.default.get(a.planId):null]})),l=o[0],s=o[1];if(null==l||p.default.getInterval(n)!==v.SubscriptionIntervalTypes.MONTH)return null;var _=null!=s?s.skuId:null,h=l.skuId===_,g=p.default.getDisplayName(n);return E("div",{className:m.default.accountCreditRow},void 0,E("div",{className:l.skuId===v.PremiumSubscriptionSKUs.TIER_2?m.default.iconBackgroundTier2:m.default.iconBackgroundTier1},void 0,E(d.default,{className:m.default.icon})),E("div",{className:m.default.rowDetails},void 0,E(f.default,{size:f.default.Sizes.SIZE_16},void 0,y.default.Messages.PREMIUM_SUBSCRIPTION_CREDIT.format({planName:g})),t.hasFreePremium()?null:E(f.default,{muted:!0,className:m.default.rowApplied},void 0,h&&null!=a?y.default.Messages.PREMIUM_SUBSCRIPTION_CREDIT_APPLIED_ON.format({date:a.currentPeriodEnd}):y.default.Messages.PREMIUM_SUBSCRIPTION_CREDIT_APPLIED_MISMATCHED_PLAN.format({planName:g}))),E(c.default,{className:m.default.rowCreditCount,size:c.default.Sizes.SIZE_16},void 0,y.default.Messages.PREMIUM_SUBSCRIPTION_CREDIT_COUNT_MONTHS.format({count:r})))}function S(e){var t=e.className,n=e.entitlements,r=(0,o.default)(Array.from(n)).filter((function(e){var t=e.subscriptionPlanId,n=e.parentId,r=e.consumed;return null!=t&&null!=n&&!r})).groupBy((function(e){return e.subscriptionPlanId})).value(),u=(0,i.useStateFromStores)([s.default],(function(){return s.default.getPremiumSubscription()})),d=(0,i.useStateFromStores)([l.default],(function(){return l.default.getCurrentUser()}));return E("div",{className:(0,a.default)(t,m.default.premiumSubscriptionAccountCredit)},void 0,Object.keys(r).map((function(e){return E(g,{planId:e,count:r[e].length,userPremiumSubscription:u,user:d},e)})))}g.displayName="AccountCreditRow",S.displayName="PremiumSubscriptionAccountCredit";var O=S;t.default=O},function(e,t,n){e.exports=n.p+"5a4ac7879fb43bc2509169b8fac68a4a.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(8344),l=(r=n(9233))&&r.__esModule?r:{default:r};function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).fetchStoreListing=function(e){var n=t.props,r=n.storeListingId,a=n.skuId,o=n.applicationId,l=null!=e?e:a;return null!=r?(0,i.fetchStoreListingById)(r):null!=l?(0,i.fetchStoreListingForSku)(l):null!=o?(0,i.fetchStoreListingForApplication)(o):void 0},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var a=r.prototype;return a.componentDidMount=function(){this.fetchStoreListing()},a.render=function(){var e=this.props,t=e.skuId,n=e.applicationId,r=e.slug,a=e.storeListingId,o=e.pageSize,i=e.location;return s(l.default,{inputSkuId:t,applicationId:n,fetchStoreListing:this.fetchStoreListing,slug:r,storeListingId:a,location:i,pageSize:o})},r}(o.Component);f.displayName="DirectoryStoreListing";var c=f;t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchStatisticsForApplication=function(e){return d.apply(this,arguments)};var r=l(n(14)),a=l(n(2)),o=l(n(195)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){u(o,r,a,i,l,"next",e)}function l(e){u(o,r,a,i,l,"throw",e)}i(void 0)}))}}function d(){return(d=s(regeneratorRuntime.mark((function e(t){var n,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a.default.dispatch({type:i.ActionTypes.APPLICATION_ACTIVITY_STATISTICS_FETCH_START,applicationId:t}),e.prev=1,e.next=4,r.default.get({url:i.Endpoints.APPLICATION_ACTIVITY_STATISTICS(t),oldFormErrors:!0});case 4:return n=e.sent,l=n.body,a.default.dispatch({type:i.ActionTypes.APPLICATION_ACTIVITY_STATISTICS_FETCH_SUCCESS,statistics:l,applicationId:t}),e.abrupt("return",l);case 10:throw e.prev=10,e.t0=e.catch(1),a.default.dispatch({type:i.ActionTypes.APPLICATION_ACTIVITY_STATISTICS_FETCH_FAIL,applicationId:t}),new o.default(e.t0);case 14:case"end":return e.stop()}}),e,null,[[1,10]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a,o=(r=n(7865))&&r.__esModule?r:{default:r};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function u(){return l("div",{className:o.default.divider})}u.displayName="Divider"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(){return(s=Object.assign||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}).apply(this,arguments)}function d(e){return function e(t){return Object.keys(t).forEach((function(n){null==t[n]?delete t[n]:"object"==typeof t[n]&&(t[n]=e(t[n]))})),t}(function(e){var t;try{t=JSON.parse(JSON.stringify(e))}catch(e){throw new Error("[JSONLD] Invalid object format")}return t}(e))}function f(e,t){return s({"@type":e},d(t))}function c(e){return f(a.THING,e)}!function(e){e.THING="Thing",e.PERSON="Person",e.PRODUCT="Product",e.OFFER="Offer",e.AGGREGATE_OFFER="AggregateOffer",e.RATING="Rating",e.AGGREGATE_RATING="AggregateRating",e.ORGANIZATION="Organization",e.ITEM_PAGE="ItemPage",e.UNIT_PRICE_SPECIFICATION="UnitPriceSpecification",e.QUANTITATIVE_VALUE="QuantitativeValue"}(a||(a={}));var p,v,y,m=c;function _(e){return f(a.PRODUCT,e)}function h(e){return f(a.OFFER,e)}function E(e){return f(a.QUANTITATIVE_VALUE,e)}_.Image=function(e){if(null==e)return null;var t=e.filter((function(e){return null!=e&&""!==e}));return 0===t.length?null:1===t.length?t[0]:t},function(e){e.DAMAGED="http://schema.org/DamagedCondition",e.NEW="http://schema.org/NewCondition",e.REFURBISHED="http://schema.org/RefurbishedCondition",e.USED="http://schema.org/UsedCondition"}(p||(p={})),function(e){e.DISCONTINUED="http://schema.org/Discontinued",e.IN_STOCK="http://schema.org/InStock",e.IN_STORE_ONLY="http://schema.org/InStoreOnly",e.LIMITED_AVAILABILITY="http://schema.org/LimitedAvailability",e.ONLINE_ONLY="http://schema.org/OnlineOnly",e.OUT_OF_STOCK="http://schema.org/OutOfStock",e.PREORDER="http://schema.org/PreOrder",e.PRESALE="http://schema.org/PreSale",e.SOLD_OUT="http://schema.org/SoldOut"}(v||(v={})),h.ItemConditions=p,h.ItemAvailability=v,function(e){e.YEARLY="ANN",e.MONTHLY="MON"}(y||(y={})),E.UnitCodes=y;var g=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n),r.prototype.render=function(){var e=this.props,t=(e.debug,e.data);return l("script",{type:"application/ld+json"},void 0,JSON.stringify(s({"@context":"http://schema.org"},t)))},r}(o.Component);g.displayName="JSONLD",g.Thing=c,g.Brand=m,g.Person=function(e){return f(a.PERSON,e)},g.Organization=function(e){return f(a.ORGANIZATION,e)},g.ItemPage=function(e){return f(a.ITEM_PAGE,e)},g.Product=_,g.Offer=h,g.Rating=function(e){return f(a.RATING,e)},g.AggregateRating=function(e){return f(a.AGGREGATE_RATING,e)},g.AggregateOffer=function(e){return f(a.AGGREGATE_OFFER,e)},g.QuantitativeValue=E,g.UnitPriceSpecification=function(e){return f(a.UNIT_PRICE_SPECIFICATION,e)};var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=c(n(1227)),l=c(n(10193)),u=c(n(55)),s=n(1),d=c(n(6)),f=c(n(7867));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=((r={})[s.ContentRatingAgencies.ESRB]={1:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_ALCOHOL_REFERENCE,2:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_ANIMATED_BLOOD,3:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_BLOOD,4:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_BLOOD_AND_GORE,5:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_CARTOON_VIOLENCE,6:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_COMIC_MISCHIEF,7:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_CRUDE_HUMOR,8:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_DRUG_REFERENCE,9:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_FANTASY_VIOLENCE,10:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_INTENSE_VIOLENCE,11:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_LANGUAGE,12:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_LYRICS,13:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_MATURE_HUMOR,14:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_NUDITY,15:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_PARTUAL_NUDITY,16:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_REAL_GAMBLING,17:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_SEXUAL_CONTENT,18:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_SEXUAL_THEMES,19:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_SEXUAL_VIOLENCE,20:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_SIMULATED_GAMBLING,21:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_STRONG_LANGUAGE,22:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_STRONG_LYRICS,23:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_STRONG_SEXUAL_CONTENT,24:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_SUGGESTIVE_THEMES,25:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_TOBACCO_REFERENCE,26:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_USE_OF_ALCOHOL,27:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_USE_OF_DRUGS,28:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_USE_OF_TOBACCO,29:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_VIOLENCE,30:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_VIOLENT_REFERENCES,31:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_IN_GAME_PURCHASES,32:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_USERS_INTERACT,33:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_SHARES_LOCATION,34:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_UNRESTRICTED_INTERNET,35:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_MILD_BLOOD,36:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_MILD_CARTOON_VIOLENCE,37:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_MILD_FANTASY_VIOLENCE,38:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_MILD_LANGUAGE,39:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_MILD_LYRICS,40:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_MILD_SEXUAL_THEMES,41:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_MILD_SUGGESTIVE_THEMES,42:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_MILD_VIOLENCE,43:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_ANIMATED_VIOLENCE},r[s.ContentRatingAgencies.PEGI]={1:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_PEGI_VIOLENCE,2:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_PEGI_BAD_LANGUAGE,3:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_PEGI_FEAR,4:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_PEGI_GAMBLING,5:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_PEGI_SEX,6:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_PEGI_DRUGS,7:d.default.Messages.APPLICATION_STORE_RATING_DESCRIPTORS_PEGI_DISCRIMINATION},r),_=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n);var a=r.prototype;return a.renderContentRatingImage=function(){var e=this.props.sku,t=e.contentRating,n=e.contentRatingAgency;return null==t||null==n?null:v(l.default,{className:f.default.rating,agency:n,rating:t.rating})},a.render=function(){var e=this.props,t=e.sku,n=t.contentRating,r=t.contentRatingAgency,a=e.className;if(null==n||null==r)return null;var o=n.descriptors.map((function(e){return m[r][e]})).join(", ");return v("div",{className:a},void 0,v(i.default,{},void 0,d.default.Messages.APPLICATION_STORE_SECTION_TITLE_RATINGS),v(u.default,{className:f.default.content},void 0,this.renderContentRatingImage(),v("div",{className:f.default.info},void 0,o)))},r}(o.PureComponent);_.displayName="ApplicationContentRating";var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Categories=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a,o,i,l=d(n(9)),u=n(1),s=d(n(7866));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,o=arguments.length-3;if(t||0===o||(t={children:void 0}),1===o)t.children=r;else if(o>1){for(var l=new Array(o),u=0;u<o;u++)l[u]=arguments[u+3];t.children=l}if(t&&a)for(var s in a)void 0===t[s]&&(t[s]=a[s]);else t||(t=a||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var p={ESRB:{EVERYONE:"1",EVERYONE_TEN_PLUS:"2",TEEN:"3",MATURE:"4",ADULT:"5",RATING_PENDING:"6"},PEGI:{THREE:"1",SEVEN:"2",TWELVE:"3",SIXTEEN:"4",EIGHTEEN:"5"}};t.Categories=p;var v=((o={})[u.ContentRatingAgencies.ESRB]=((r={})[p.ESRB.EVERYONE]=s.default.esrbEveryone,r[p.ESRB.EVERYONE_TEN_PLUS]=s.default.esrbEveryoneTenPlus,r[p.ESRB.TEEN]=s.default.esrbTeen,r[p.ESRB.MATURE]=s.default.esrbMature,r[p.ESRB.ADULT]=s.default.esrbAdult,r[p.ESRB.RATING_PENDING]=s.default.esrbRatingPending,r),o[u.ContentRatingAgencies.PEGI]=((a={})[p.PEGI.THREE]=s.default.pegiThree,a[p.PEGI.SEVEN]=s.default.pegiSeven,a[p.PEGI.TWELVE]=s.default.pegiTwelve,a[p.PEGI.SIXTEEN]=s.default.pegiSixteen,a[p.PEGI.EIGHTEEN]=s.default.pegiEighteen,a),o),y=function(e){var t=e.agency,n=e.rating,r=e.className,a=v[t][n];return null==a?null:c("div",{className:(0,l.default)(s.default.contentRating,a,r)})};y.displayName="ContentRating";var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(9)),i=p(n(101)),l=p(n(29)),u=p(n(1227)),s=p(n(1392)),d=n(289),f=p(n(6)),c=p(n(7868));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(){return(_=Object.assign||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}).apply(this,arguments)}var h=/^!\[([^\]]*)\]\(asset:\/\/(\d+)\)/,E=_({},s.default.rules,{heading:_({},s.default.rules.heading,{react:function(e,t,n){var r="h"+Math.min(Math.max(2,e.level+1),4);return m(u.default,{tag:r},n.key,t(e.content,n))}}),assetImage:{order:5,match:function(e,t){var n=e.match(h);if(null!=n){var r=n[2],a=t.assets.find((function(e){return e.id===r}));return null!=a&&[].concat(n,[a,t.applicationId])}return!1},parse:function(e){return{asset:e[3],alt:e[1],applicationId:e[4]}},react:function(e,t,n){return m("div",{className:c.default.assetWrapper},n.key,m("img",{alt:e.alt,src:(0,d.getAssetURL)(e.applicationId,e.asset,800),className:c.default.asset}))}}}),g=i.default.parserFor(E),S=i.default.reactFor(i.default.ruleOutput(E,"react")),O=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={collapsed:!0,collapsable:!0},t.handleToggleCollapse=function(){t.setState({collapsed:!t.state.collapsed})},t.setContentContainerRef=function(e){t._container=e},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n);var i=r.prototype;return i.componentDidMount=function(){if(null!=this._container){var e=this._container.getBoundingClientRect().height>400;this.setState({collapsable:e})}},i.render=function(){var e,t=this.props,n=t.applicationId,r=t.description,i=t.blurb,u=t.className,d=t.assets,p=this.state,v=p.collapsed,y=p.collapsable;return m("div",{className:u},void 0,m("div",{className:(0,o.default)((e={},e[c.default.collapsed]=y&&v,e))},void 0,a.createElement("div",{ref:this.setContentContainerRef},m("div",{className:c.default.blurb},void 0,i),m(s.default,{className:c.default.description,parser:g,output:S,state:{assets:d,applicationId:n}},void 0,r))),y?m(l.default,{className:c.default.toggleCollapseButton,onClick:this.handleToggleCollapse,color:l.default.Colors.PRIMARY},void 0,v?f.default.Messages.APPLICATION_STORE_DESCRIPTION_READ_MORE:f.default.Messages.APPLICATION_STORE_DESCRIPTION_READ_LESS):null)},r}(a.PureComponent);O.displayName="ApplicationDescription";var I=O;t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=S(n(1227)),i=S(n(149)),l=S(n(8313)),u=S(n(372)),s=S(n(9235)),d=S(n(9044)),f=S(n(10196)),c=S(n(696)),p=S(n(8577)),v=S(n(9042)),y=S(n(8804)),m=S(n(10197)),_=S(n(9236)),h=n(1),E=S(n(6)),g=S(n(7869));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(){return(C=Object.assign||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}).apply(this,arguments)}var b=[{feature:h.SKUFeatureTypes.SINGLE_PLAYER,getText:function(){return E.default.Messages.APPLICATION_STORE_SINGLE_PLAYER},getTooltip:function(){return E.default.Messages.APPLICATION_STORE_SINGLE_PLAYER_TOOLTIP},IconComponent:p.default},{feature:h.SKUFeatureTypes.LOCAL_MULTIPLAYER,getText:function(){return E.default.Messages.APPLICATION_STORE_LOCAL_MULTIPLAYER},getTooltip:function(){return E.default.Messages.APPLICATION_STORE_LOCAL_MULTIPLAYER_TOOLTIP},IconComponent:c.default},{feature:h.SKUFeatureTypes.ONLINE_MULTIPLAYER,getText:function(){return E.default.Messages.APPLICATION_STORE_ONLINE_MULTIPLAYER},getTooltip:function(){return E.default.Messages.APPLICATION_STORE_ONLINE_MULTIPLAYER_TOOLTIP},IconComponent:c.default},{feature:h.SKUFeatureTypes.PVP,getText:function(){return E.default.Messages.APPLICATION_STORE_PVP},getTooltip:function(){return E.default.Messages.APPLICATION_STORE_PVP_TOOLTIP},IconComponent:f.default},{feature:h.SKUFeatureTypes.LOCAL_COOP,getText:function(){return E.default.Messages.APPLICATION_STORE_LOCAL_COOP},getTooltip:function(){return E.default.Messages.APPLICATION_STORE_LOCAL_COOP_TOOLTIP},IconComponent:c.default},{feature:h.SKUFeatureTypes.ONLINE_COOP,getText:function(){return E.default.Messages.APPLICATION_STORE_ONLINE_COOP},getTooltip:function(){return E.default.Messages.APPLICATION_STORE_ONLINE_COOP_TOOLTIP},IconComponent:c.default},{feature:h.SKUFeatureTypes.CROSS_PLATFORM,getText:function(){return E.default.Messages.APPLICATION_STORE_CROSS_PLATFORM},getTooltip:function(){return E.default.Messages.APPLICATION_STORE_CROSS_PLATFORM_TOOLTIP},IconComponent:_.default},{feature:h.SKUFeatureTypes.RICH_PRESENCE,getText:function(){return E.default.Messages.APPLICATION_STORE_RICH_PRESENCE},getTooltip:function(){return E.default.Messages.APPLICATION_STORE_RICH_PRESENCE_TOOLTIP},IconComponent:y.default},{feature:h.SKUFeatureTypes.DISCORD_GAME_INVITES,getText:function(){return E.default.Messages.APPLICATION_STORE_DISCORD_GAME_INVITES},getTooltip:function(){return E.default.Messages.APPLICATION_STORE_DISCORD_GAME_INVITES_TOOLTIP},IconComponent:v.default},{feature:h.SKUFeatureTypes.SPECTATOR_MODE,getText:function(){return E.default.Messages.APPLICATION_STORE_SPECTATOR_MODE},getTooltip:function(){return E.default.Messages.APPLICATION_STORE_SPECTATOR_MODE_TOOLTIP},IconComponent:l.default},{feature:h.SKUFeatureTypes.CONTROLLER_SUPPORT,getText:function(){return E.default.Messages.APPLICATION_STORE_CONTROLLER_SUPPORT},getTooltip:function(){return E.default.Messages.APPLICATION_STORE_CONTROLLER_SUPPORT_TOOLTIP},IconComponent:d.default},{feature:h.SKUFeatureTypes.CLOUD_SAVES,getText:function(){return E.default.Messages.APPLICATION_STORE_CLOUD_SAVES},getTooltip:function(){return E.default.Messages.APPLICATION_STORE_CLOUD_SAVES_TOOLTIP},IconComponent:s.default},{feature:h.SKUFeatureTypes.SECURE_NETWORKING,getText:function(){return E.default.Messages.APPLICATION_STORE_SECURE_NETWORKING},getTooltip:function(){return E.default.Messages.APPLICATION_STORE_SECURE_NETWORKING_TOOLTIP},IconComponent:m.default}],M=function(e){var t=e.IconComponent,n=e.text,r=e.tooltip;return T("div",{className:g.default.row},void 0,T(i.default,{text:r},void 0,(function(e){return a.createElement(t,C({className:g.default.featureIcon},e))})),T("span",{className:g.default.featureText},void 0,n),T(u.default,{className:g.default.checkmarkIcon}))};M.displayName="ApplicationFeature";var N=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,I(t,n),r.prototype.render=function(){var e=this.props.sku,t=b.filter((function(t){var n=t.feature;return e.features.has(n)})).map((function(e){var t=e.feature,n=e.IconComponent,r=e.getText,a=e.getTooltip;return T(M,{IconComponent:n,text:r(),tooltip:a()},t)}));return 0===t.length?null:T("div",{className:g.default.features},void 0,T(o.default,{},void 0,E.default.Messages.APPLICATION_STORE_SECTION_TITLE_FEATURES),t)},r}(a.PureComponent);N.displayName="ApplicationFeatureFlags";var A=N;t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("rect",{width:"24",height:"24"});function f(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,f=void 0===l?"currentColor":l,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:c,fill:f,d:"M6.2,2.44 L18.1,14.34 L20.22,12.22 L21.63,13.63 L19.16,16.1 L22.34,19.28 C22.73,19.67 22.73,20.3 22.34,20.69 L21.63,21.4 C21.24,21.79 20.61,21.79 20.22,21.4 L17,18.23 L14.56,20.7 L13.15,19.29 L15.27,17.17 L3.37,5.27 L3.37,2.44 L6.2,2.44 Z M15.89,10 L20.63,5.26 L20.63,2.44 L17.8,2.44 L13.06,7.18 L15.89,10 Z M10.94,15 L8.11,12.13 L5.9,14.34 L3.78,12.22 L2.37,13.63 L4.84,16.1 L1.66,19.29 C1.27,19.68 1.27,20.31 1.66,20.7 L2.37,21.41 C2.76,21.8 3.39,21.8 3.78,21.41 L7,18.23 L9.44,20.7 L10.85,19.29 L8.73,17.17 L10.94,15 Z"}),d))}f.displayName="Moderation"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("rect",{width:"24",height:"24"});function f(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,f=void 0===l?"currentColor":l,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:c,fill:f,d:"M22 4v-.5C22 2.12 20.88 1 19.5 1S17 2.12 17 3.5V4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h5c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zm-.8 0h-3.4v-.5c0-.94.76-1.7 1.7-1.7s1.7.76 1.7 1.7V4zm-2.28 8c.04.33.08.66.08 1 0 2.08-.8 3.97-2.1 5.39-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H7v-2h2c.55 0 1-.45 1-1V8h2c1.1 0 2-.9 2-2V3.46c-.95-.3-1.95-.46-3-.46C5.48 3 1 7.48 1 13s4.48 10 10 10 10-4.48 10-10c0-.34-.02-.67-.05-1h-2.03zM10 20.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L8 16v1c0 1.1.9 2 2 2v1.93z"}),d))}f.displayName="SecureNetworking"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(1227)),i=u(n(6)),l=u(n(7870));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n),r.prototype.render=function(){var e=this.props,t=e.className,n=e.sku;return null==n.legalNotice?null:d("div",{className:t},void 0,d(o.default,{},void 0,i.default.Messages.APPLICATION_STORE_SECTION_TITLE_COPYRIGHT),d("div",{className:l.default.content},void 0,n.legalNotice))},r}(a.PureComponent);c.displayName="ApplicationLegalInfo";var p=c;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=f(n(397)),o=f(n(9064)),i=f(n(10200)),l=f(n(690)),u=f(n(10202)),s=n(8403),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function h(e){return e.split("?")[0]+"?size=2048"}var E=function(e){for(var t,n=e.index,a=e.items,o=_(e,["index","items"]),l=a[n],u=0,s=[],f=y(a);!(t=f()).done;){var c=t.value;if(c.type===d.CarouselMediaTypes.IMG){var p=c.width,m=c.height,E=c.src;c===l&&(u=s.length),s.push({src:h(E),width:p,height:m})}}return r.createElement(i.default,v({},o,{items:s,startWith:u}))};E.displayName="ZoomedCarousel";var g=function(e){var t,n;function i(){for(var t,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).handleCurrentItemClick=function(e,n){e.type!==d.CarouselMediaTypes.IMG||l.default.hasModalOpen()||a.default.push((function(e){return r.createElement(E,v({},e,{index:n,items:t.props.items}))}))},t}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n),i.prototype.render=function(){var e=this.props,t=e.pageSize,n=_(e,["pageSize"]),a=t===s.PageSizes.SMALL?u.default:o.default;return r.createElement(a,v({},n,{onCurrentItemClick:this.handleCurrentItemClick}))},i}(r.Component);g.displayName="ApplicationStoreListingCarousel";var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(1243)),i=y(n(273)),l=y(n(469)),u=y(n(9230)),s=n(10201),d=y(n(403)),f=n(9065),c=n(193),p=n(1),v=y(n(7874));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(){return(h=Object.assign||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}).apply(this,arguments)}function E(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,g(e,t)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var S={friction:10,tension:100};function O(e,t){return(e%t+t)%t}var I=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={translate:new i.default.Value(0),opacity:new i.default.Value(1)},t}E(t,e);var n=t.prototype;return n.componentWillEnter=function(e){var t=this.props.directionHistory,n=this.state,r=n.translate,a=n.opacity;r.setValue(t[t.length-1]),a.setValue(0),e(),i.default.parallel([i.default.timing(a,{toValue:1,easing:i.default.Easing.out(i.default.Easing.linear),duration:200}),i.default.spring(r,h({toValue:0},S))]).start()},n.componentWillLeave=function(e){var t=this.props.directionHistory,n=this.state,r=n.opacity,a=n.translate;i.default.parallel([i.default.timing(r,{toValue:0,easing:i.default.Easing.in(i.default.Easing.linear),duration:200}),i.default.spring(a,h({toValue:-1*t[t.length-1]},S))]).start(e)},n.getStyle=function(){var e=this.state,t=e.translate,n=e.opacity;return i.default.accelerate({opacity:n,transform:[{translateX:t.interpolate({inputRange:[0,1],outputRange:["0px","300px"]})}]})},n.render=function(){var e=this.props.item;return _(i.default.img,{src:e.src,alt:"",className:v.default.slide,style:this.getStyle()})},t}(a.Component);I.displayName="ModalCarouselItem";var T=function(e){function t(t){var n;return(n=e.call(this,t)||this).gotoNext=function(){var e=n.state.currentIndex;n.navigateTo(e+1)},n.gotoPrev=function(){var e=n.state.currentIndex;n.navigateTo(e-1)},n.state={currentIndex:t.startWith,directionHistory:[]},n}E(t,e);var n=t.prototype;return n.componentDidMount=function(){this.preloadNextImages(),d.default.disable(),d.default.enableTemp(s.MODAL_CAROUSEL_LAYOUT)},n.componentWillUnmount=function(){d.default.disableTemp()},n.preloadNextImages=function(){var e=this.state.currentIndex,t=this.props.items,n=O(e+1,t.length),r=O(e-1,t.length);this.preloadImage(t[n]),this.preloadImage(t[r])},n.preloadImage=function(e){(0,c.loadImage)(e.src)},n.componentDidUpdate=function(e,t){this.state.currentIndex!==t.currentIndex&&this.preloadNextImages()},n.navigateTo=function(e){var t=this.state,n=t.directionHistory,r=t.currentIndex;n.push(e-r),e=O(e,this.props.items.length),this.setState({currentIndex:e,directionHistory:n})},n.render=function(){var e=this.props.onClose,t=this.state,n=t.currentIndex,r=t.directionHistory;return _(l.default,{component:"div",className:v.default.wrapper,onClick:e},void 0,_(f.CarouselPrevious,{className:v.default.navPrev,onClick:this.gotoPrev}),_(I,{item:this.props.items[n],directionHistory:r},this.props.items[n].src),_(f.CarouselNext,{className:v.default.navNext,onClick:this.gotoNext}))},t}(a.Component);T.displayName="ModalCarousel",T.defaultProps={startWith:0};var C=(0,u.default)((function(e,t){var n;return(n={})[p.ComponentActions.MODAL_CAROUSEL_NEXT]=(0,o.default)(t.gotoNext,300),n[p.ComponentActions.MODAL_CAROUSEL_PREV]=(0,o.default)(t.gotoPrev,300),n}))(T);t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MODAL_CAROUSEL_LAYOUT=void 0;var r,a=n(9057),o=n(1),i=((r={})[o.KeybindActions.MODAL_CAROUSEL_NEXT]=a.MODAL_CAROUSEL_NEXT,r[o.KeybindActions.MODAL_CAROUSEL_PREV]=a.MODAL_CAROUSEL_PREV,r);t.MODAL_CAROUSEL_LAYOUT=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(9)),i=n(9064),l=n(8308),u=m(n(10203)),s=m(n(61)),d=n(8516),f=m(n(8337)),c=m(n(8801)),p=n(8403),v=n(1),y=m(n(7877));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(){return(g=Object.assign||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}).apply(this,arguments)}var S=function(e){var t=e.className,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["className"]);return a.createElement(c.default,g({},n,{className:(0,o.default)(y.default.sizedToParent,t),mediaPlayerClassName:y.default.sizedToParent,renderLinkComponent:l.renderMaskedLinkComponent}))};S.displayName="renderVideoComponent";var O=function(e){return a.createElement(f.default,e)};O.displayName="renderImageComponent";var I={width:1280,height:720},T={width:640,height:360},C=function(e){var t,n,r=e.item,a=e.onPlay,o=e.volume,u=e.onVolumeChange,s=e.onMute,f=e.isMuted;if(r.type===v.CarouselMediaTypes.YOUTUBE_VIDEO)t=g({url:(0,v.YOUTUBE_PREVIEW_URL)(r.youtubeVideoId)},I),n=g({url:(0,v.YOUTUBE_EMBED_URL)(r.youtubeVideoId)+"?rel=0&iv_load_policy=3&showinfo=0&modestbranding=1"},T);else{var c=null!=r.width?r.width:0,m=null!=r.height?r.height:0;t={url:r.thumbnailSrc,width:c,height:m},n={url:r.src,proxyURL:r.src,width:c,height:m}}return E("div",{className:y.default.embedContainer},void 0,E(d.EmbedVideo,{className:y.default.sizedToParent,href:null,thumbnail:t,video:n,maxHeight:i.ItemSizes.SMALL.height,maxWidth:p.PageSizes.SMALL,onPlay:a,playable:!0,volume:o,onVolumeChange:u,autoMute:f,onMute:s,autoPlay:!0,renderImageComponent:O,renderVideoComponent:S,renderLinkComponent:l.renderMaskedLinkComponent}))};C.displayName="Video";var b=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={hasInteracted:!1,isVideoPlaying:!1,isMuted:!0,volume:1},t.handlePlay=function(e){t.setState({isVideoPlaying:!0,hasInteracted:!e})},t.handleVolumeChange=function(e){t.setState({volume:e,hasInteracted:!0})},t.handleMute=function(e){t.setState({isMuted:e,hasInteracted:!0})},t.handleChangeItem=function(){t.setState({isVideoPlaying:!1})},t.handleIntentionalChange=function(e,n,r,a){t.setState({hasInteracted:!0});var o=t.props.onIntentionalChange;null!=o&&o(e,n,r,a)},t.renderItem=function(e,n){var r,a=t.state,o=a.isMuted,i=a.volume;switch(e.type){case v.CarouselMediaTypes.YOUTUBE_VIDEO:case v.CarouselMediaTypes.VIDEO:r=E(C,{item:e,onPlay:t.handlePlay,isMuted:o,volume:i,onVolumeChange:t.handleVolumeChange,onMute:t.handleMute});break;case v.CarouselMediaTypes.IMG:r=E("img",{className:y.default.smallCarouselImage,src:e.src,alt:""});break;default:throw new Error("Unexpected MediaType")}return E(s.default,{className:y.default.smallCarouselItem,onClick:function(){return t.handleCurrentItemClick(e,n)}},void 0,r)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n);var a=r.prototype;return a.handleCurrentItemClick=function(e,t){var n=this.props.onCurrentItemClick;null!=n&&n(e,t),this.setState({hasInteracted:!0})},a.render=function(){var e=this.props,t=e.items,n=e.autoplayInterval,r=e.paused,a=this.state.hasInteracted;return E(u.default,{items:t.slice(0,12),delay:n,paused:r||a,renderItem:this.renderItem,className:y.default.smallCarousel,onIntentionalChange:this.handleIntentionalChange,onChangeItem:this.handleChangeItem})},r}(a.PureComponent);b.displayName="SmallMediaCarousel",b.defaultProps={paused:!1};var M=b;t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(9)),i=y(n(8)),l=n(57),u=n(121),s=y(n(9066)),d=y(n(8524)),f=y(n(55)),c=y(n(10204)),p=n(1),v=y(n(7876));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,E(e,t)}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g="jump",S="next",O="previous",I=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleDotClick=function(e){var n=t.props,r=n.onSetItem,a=n.onIntentionalChange,o=n.current;a&&a(o,e,g),r(e)},t.handleNext=function(){var e=t.props,n=e.onIntentionalChange,r=e.current,a=(0,e.onChangePage)(1);n&&n(r,a,S)},t.handlePrevious=function(){var e=t.props,n=e.onIntentionalChange,r=e.current,a=(0,e.onChangePage)(-1);n&&n(r,a,O)},t}h(t,e);var n=t.prototype;return n.componentDidMount=function(){u.ComponentDispatch.subscribe(p.ComponentActions.CAROUSEL_PREV,this.handlePrevious),u.ComponentDispatch.subscribe(p.ComponentActions.CAROUSEL_NEXT,this.handleNext)},n.componentWillUnmount=function(){u.ComponentDispatch.unsubscribe(p.ComponentActions.CAROUSEL_PREV,this.handlePrevious),u.ComponentDispatch.unsubscribe(p.ComponentActions.CAROUSEL_NEXT,this.handleNext)},n.render=function(){var e,t=this,n=this.props,r=n.current,a=n.count,l=n.includeHitboxPadding,u=i.default.times(a,(function(e){return _("button",{onClick:function(){return t.handleDotClick(e)},className:e===r?v.default.dotSelected:v.default.dotNormal},"dot-"+e)})),d=(0,o.default)(v.default.arrowHitbox,((e={})[v.default.arrowHitboxPadding]=l,e));return _(f.default,{className:this.props.className,justify:f.default.Justify.BETWEEN,align:f.default.Align.CENTER},void 0,_("button",{className:d,onClick:this.handlePrevious},void 0,_(s.default,{className:v.default.arrow,direction:s.default.Directions.LEFT})),_("div",{className:v.default.dots},void 0,u),_("button",{className:d,onClick:this.handleNext},void 0,_(s.default,{className:v.default.arrow,direction:s.default.Directions.RIGHT})))},t}(a.PureComponent);I.displayName="PaginationController",I.defaultProps={includeHitboxPadding:!0};var T=function(e){function t(t){var n;return(n=e.call(this,t)||this).timer=new l.Interval,n.getCurrentDirection=function(){return n.state.direction},n.nextItem=function(){var e=n.props.items;n.changeItem(e,1)},n.previousItem=function(){var e=n.props.items;n.changeItem(e,-1)},n.handleSetItem=function(e){var t=n.state.visibleIndex,r=n.props.items;n.changeItem(r,e-t)},n.handleMouseEnter=function(){n.setState({hovered:!0})},n.handleMouseLeave=function(){n.setState({hovered:!1})},n.handleIntentionalChange=function(e,t,r){var a=n.props,o=a.items,i=a.onIntentionalChange;return i&&i(o[t],e,t,r)},n.state={visibleIndex:!0===t.randomize?i.default.random(0,t.items.length-1):0,direction:1,hovered:!1},n}h(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.paused||this.state.hovered||this.startTimer()},n.componentWillUnmount=function(){this.stopTimer()},n.componentDidUpdate=function(e,t){var n=function(e,t){return!e.paused&&!t.hovered},r=n(this.props,this.state),a=n(e,t);r&&!a?this.startTimer():!r&&a&&this.stopTimer();var o=this.props.items;null==o[this.state.visibleIndex]&&this.changeItem(o,1)},n.startTimer=function(){this.timer.start(this.props.delay,this.nextItem)},n.stopTimer=function(){this.timer.stop()},n.changeItem=function(e,t){var n=this.state.visibleIndex+t;n<0?n=e.length-1:n>e.length-1&&(n=0);var r=this.props.onChangeItem;return r&&r(e[n],this.state.visibleIndex,n),this.setState({visibleIndex:n,direction:t>0?1:-1}),n},n.render=function(){var e=this,t=this.props,n=t.items,r=t.renderItem,a=t.className,i=t.paginationClassName,l=t.themedPagination,u=t.includeHitboxPadding,s=t.style,f=this.state.visibleIndex;return _("div",{className:(0,o.default)(v.default.root,a),style:s,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},void 0,_(d.default,{aspectRatio:16/9},void 0,_(c.default,{step:f,getDirection:this.getCurrentDirection,className:v.default.carousel},void 0,r(n[f],f))),_(I,{className:(0,o.default)(i,l?v.default.themedPagination:v.default.pagination),includeHitboxPadding:u,current:f,count:n.length,onChangePage:function(t){return e.changeItem(n,t)},onSetItem:this.handleSetItem,onIntentionalChange:this.handleIntentionalChange}))},t}(a.PureComponent);T.displayName="CarouselWithSlide";var C=T;t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=s(n(273)),l=s(n(469)),u=s(n(7875));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v={friction:7,tension:40,overshootClamping:!0},y=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this)._animated=new i.default.Value(-1*t.getDirection()),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var a=r.prototype;return a.componentWillEnter=function(e){this._animated.setValue(-this.props.getDirection()),i.default.spring(this._animated,c({toValue:0},v)).start(e)},a.componentDidAppear=function(){this._animated.setValue(0)},a.componentWillLeave=function(e){i.default.spring(this._animated,c({toValue:this.props.getDirection()},v)).start(e)},a.getStyle=function(){return i.default.accelerate({transform:[{translateX:this._animated.interpolate({inputRange:[0,1],outputRange:["0%","-100%"]})}]})},a.render=function(){return f(i.default.div,{style:this.getStyle(),className:u.default.item},void 0,this.props.children)},r}(a.PureComponent);y.displayName="Item";var m=function(e){var t=e.children,n=e.step,r=e.getDirection,a=e.className;return f(l.default,{component:"div",className:(0,o.default)(u.default.animator,a)},void 0,f(y,{getDirection:r},n,t))};m.displayName="SlideAnimator";var _=m;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(8344),i=s(n(9056)),l=s(n(6)),u=s(n(7878));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleDisagree=function(){(0,o.matureDisagree)()},t.handleAgree=function(){(0,o.matureAgree)()},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),r.prototype.render=function(){var e=this.props.game.name;return f("div",{className:u.default.matureListing},void 0,f(i.default,{onAgree:this.handleAgree,onDisagree:this.handleDisagree,title:l.default.Messages.MATURE_LISTING_TITLE.format({name:e}),description:l.default.Messages.MATURE_LISTING_DESCRIPTION,agreement:l.default.Messages.MATURE_LISTING_ACCEPT,disagreement:l.default.Messages.MATURE_LISTING_DECLINE}))},r}(a.PureComponent);p.displayName="ApplicationStoreListingMature";var v=p;t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ApplicationStorePurchaseUnit=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=j();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=w(n(9)),i=n(192),l=n(3),u=n(5829),s=w(n(8470)),d=w(n(8636)),f=n(42),c=w(n(120)),p=w(n(12)),v=w(n(5826)),y=w(n(10207)),m=w(n(29)),_=w(n(55)),h=w(n(1151)),E=w(n(8508)),g=w(n(5845)),S=w(n(96)),O=n(281),I=n(8366),T=w(n(10208)),C=w(n(10209)),b=w(n(9067)),M=w(n(10210)),N=n(8893),A=w(n(10211)),P=n(1),R=w(n(6)),L=w(n(7884)),D=w(n(7371));function w(e){return e&&e.__esModule?e:{default:e}}function j(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return j=function(){return e},e}function k(){return(k=Object.assign||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}).apply(this,arguments)}function U(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var F=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this)._applicationBuyButtonRef=a.createRef(),t.handleViewLibrary=function(e){var n=t.props.libraryApplication;null!=n&&n.isHidden()&&(e.preventDefault(),(0,f.transitionTo)(P.Routes.APPLICATION_LIBRARY_SETTINGS))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,G(t,n);var l=r.prototype;return l.componentDidMount=function(){var e=this.props,t=e.isEntitled,n=e.isFetchingEntitlementsForApplication,r=e.sku,a=e.currentUser;null!=t||n||null==a||r.type===P.SKUTypes.DURABLE_PRIMARY||(0,u.fetchUserEntitlementsForApplication)(r.applicationId)},l.getApplicationBuyButton=function(){return this._applicationBuyButtonRef.current},l.getActionText=function(){var e=this.props,t=e.sku,n=e.isEntitled,r=e.storeListing,a=function(e){switch(e.type){case P.SKUTypes.DURABLE:return{distribution:R.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_DISTRIBUTION_DLC,free:R.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_FREE_DLC,preorder:R.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_PREORDER_DLC,preorderEntitled:R.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_PREORDER_ENTITLED};case P.SKUTypes.CONSUMABLE:return{distribution:R.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_DISTRIBUTION_CONSUMABLE,free:R.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_FREE_CONSUMABLE,preorder:R.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_PREORDER_CONSUMABLE,preorderEntitled:R.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_PREORDER_ENTITLED};case P.SKUTypes.BUNDLE:return{distribution:R.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_DISTRIBUTION_BUNDLE,free:R.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_FREE_BUNDLE,preorder:R.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_PREORDER_BUNDLE,preorderEntitled:R.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_PREORDER_ENTITLED};case P.SKUTypes.DURABLE_PRIMARY:default:return{distribution:R.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_DISTRIBUTION_APPLICATION,free:R.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_FREE_APPLICATION,preorder:R.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_PREORDER_APPLICATION,preorderEntitled:R.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_PREORDER_ENTITLED}}}(t),o=null!=r.entitlementBranchId;return!t.available&&t.premium?R.default.Messages.APPLICATION_STORE_COMING_SOON:t.isPreorder()&&!o?n?a.preorderEntitled:a.preorder:t.requiresPayment&&!o?a.distribution:a.free},l.renderHeader=function(){var e=this.props,t=e.isEntitled,n=e.libraryApplication,r=e.sku,a=e.currentUser;if(!0===t){var o=null!=n&&n.isHidden();return U(i.Link,{className:L.default.entitledHeader,to:{pathname:P.Routes.APPLICATION_LIBRARY,state:{applicationId:null!=n?n.id:null}},onClick:this.handleViewLibrary},void 0,U(E.default,{className:L.default.entitledHeaderIcon}),U("div",{},void 0,o?R.default.Messages.APPLICATION_STORE_PURCHASE_IN_LIBRARY_HIDDEN:R.default.Messages.APPLICATION_STORE_PURCHASE_IN_LIBRARY))}return r.exclusive?U("div",{className:L.default.exclusiveHeader},void 0,U("div",{className:L.default.exclusiveHeaderExclusive},void 0,R.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_FIRST_ON),U(h.default,{className:L.default.exclusiveHeaderIcon})):r.premium?U("div",{className:L.default.premiumHeader},void 0,U(g.default,{className:L.default.premiumHeaderIcon}),S.default.canInstallPremiumApplications(a)?null:U("div",{className:L.default.premiumHeaderPrice},void 0,R.default.Messages.BILLING_PRICE_PER_MONTH.format({price:(0,O.formatPrice)(P.SubscriptionPlanInfo[P.SubscriptionPlans.PREMIUM_MONTH_TIER_2].price,P.CurrencyCodes.USD)}))):null},l.renderAlternativeSkus=function(){var e=this.props,t=e.storeListing,n=e.sku,r=e.guildId,o=e.channelId;return null!=t.entitlementBranchId||0===t.alternativeSkuIds.length?null:U(a.Fragment,{},void 0,U("div",{className:L.default.actionText},void 0,R.default.Messages.APPLICATION_STORE_LISTING_SELECT_EDITION),U(T.default,{storeListing:t,selectedSkuId:n.id,className:L.default.alternativeSkus,guildId:r,channelId:o}))},l.renderAccuratePreorderInfo=function(){var e=this.props,t=e.isEntitled,n=e.sku,r=e.isFocused;return n.isPreorder()&&null!=n.preorderReleaseAt&&t?U("div",{className:L.default.countdownSection},void 0,U("div",{className:L.default.countdownHeader},void 0,R.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_TIME_LEFT_UNTIL_RELEASE),U(y.default,{endTime:n.preorderReleaseAt.valueOf(),interval:r?1e3:6e4})):null},l.renderApproximatePreorderInfo=function(){var e=this.props,t=e.isEntitled,n=e.sku;if(!n.isPreorder()||null==n.preorderApproximateReleaseDate&&null!=n.preorderReleaseAt&&t)return null;var r=(0,I.getReadablePreorderReleaseDate)(n);return U("div",{className:L.default.releaseDate},void 0,R.default.Messages.APPLICATION_STORE_PURCHASE_AVAILABLE_DATE.format({releaseDate:r}))},l.renderPrice=function(){var e=this.props,t=e.sku,n=e.storeListing,r=e.isEntitled;if(t.restricted)return U("div",{className:L.default.price},void 0,R.default.Messages.APPLICATION_STORE_RESTRICTED);var a=null!=n.entitlementBranchId;return t.available&&(t.premium||null!=t.getPrice())||a?U("div",{className:L.default.price},void 0,U(d.default,{type:d.default.Types.LISTING,inLibrary:!0===r,sku:t,hasEntitlementBranch:a}),this.renderApproximatePreorderInfo()):!t.available&&t.premium?U("div",{className:(0,o.default)(L.default.price,D.default.listingPrice)},void 0,R.default.Messages.APPLICATION_STORE_FREE_WITH_PREMIUM):U("div",{className:L.default.price},void 0,R.default.Messages.APPLICATION_STORE_COMING_SOON)},l.renderBody=function(){var e=this.props,t=e.sku,n=e.game,r=e.channelId,o=e.isEntitled,i=e.isUserPremium,l=e.storeListing,u=t.isGiftable(),d=null!=l.entitlementBranchId;return U(a.Fragment,{},void 0,this.renderAccuratePreorderInfo(),U(_.default,{justify:_.default.Justify.BETWEEN,align:_.default.Align.CENTER,className:L.default.headerBar},void 0,U("div",{className:L.default.actionText},void 0,this.getActionText()),U(N.OperatingSystemSection,{systems:t.supportedOperatingSystems})),this.renderPrice(),!0!==o||!u||d?U(a.Fragment,{},void 0,a.createElement(s.default,{ref:this._applicationBuyButtonRef,skuId:t.id,applicationId:n.id,channelId:r,entitlementBranchId:l.entitlementBranchId,fullWidth:!0,onStoreListing:!0}),t.premium&&!i&&t.isAvailableForDistribution()&&!d?U(s.default,{skuId:t.id,applicationId:n.id,channelId:r,color:m.default.Colors.PRIMARY,className:L.default.secondaryBuyButton,forceDistribution:!0,shouldRenderPrice:!0,fullWidth:!0,onStoreListing:!0}):null):null,u&&!d?U(s.default,{asGift:!0,className:L.default.secondaryBuyButton,skuId:t.id,applicationId:n.id,channelId:r,fullWidth:!0,onStoreListing:!0,color:!0===o?m.default.Colors.GREEN:m.default.Colors.PRIMARY,hover:m.default.Hovers.DEFAULT}):null,U(b.default,{className:L.default.purchaseError}),U(M.default,{className:L.default.warning,sku:t}))},l.render=function(){var e=this.props,t=e.game,n=e.storeListing,r=e.sku,a=e.guildId,o=e.channelId,i=e.fetchStoreListing;return U("div",{className:e.className},void 0,this.renderHeader(),U("div",{className:L.default.bodySection},void 0,this.renderAlternativeSkus(),this.renderBody()),null==n.entitlementBranchId?U("div",{className:L.default.bodySection},void 0,U(A.default,{storeListing:n,sku:r,guildId:a,channelId:o,fetchStoreListing:i})):null,U("div",{className:L.default.bodySection},void 0,U(C.default,{game:t,sku:r})))},r}(a.PureComponent);t.ApplicationStorePurchaseUnit=F,F.displayName="ApplicationStorePurchaseUnit";var B=a.forwardRef((function(e,t){var n=e.storeListing,r=e.game,o=e.sku,i=null!=n.entitlementBranchId?n.entitlementBranchId:r.id,u=(0,l.useStateFromStoresArray)([p.default,v.default],(function(){var e=p.default.getNullableCurrentUser();return[e,S.default.canInstallPremiumApplications(e),v.default.isEntitledToSku(e,o.id,r.id,i),v.default.applicationIdsFetching.has(o.applicationId)]})),s=u[0],d=u[1],f=u[2],y=u[3],m=(0,l.useStateFromStores)([c.default],(function(){return c.default.getLibraryApplication(r.id,i)}));return a.createElement(F,k({},e,{currentUser:s,isUserPremium:d,isEntitled:f,isFetchingEntitlementsForApplication:y,libraryApplication:m,ref:t}))}));t.default=B},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=n(57),l=n(1161),u=f(n(8917)),s=f(n(6)),d=f(n(7879));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={now:Date.now()},t.interval=new i.Interval,t.handleIntervalUpdate=function(){t.setState({now:Date.now()})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var a=r.prototype;return a.componentDidMount=function(){this.interval.start(this.props.interval,this.handleIntervalUpdate)},a.componentWillUnmount=function(){this.interval.stop()},a.componentDidUpdate=function(e){this.props.interval!==e.interval&&this.interval.start(this.props.interval,this.handleIntervalUpdate)},a.renderSection=function(e,t,n){return p("div",{className:n?d.default.unitClose:d.default.unitNormal},void 0,p(u.default,{className:d.default.duration,value:e,padStartLength:2,forcePosition:u.default.Positions.ABOVE}),p("div",{className:d.default.header},void 0,t))},a.render=function(){var e=this.props,t=e.endTime,n=e.className,r=(0,l.diffAsUnits)(this.state.now,t),a=r.days<1;return p("div",{className:(0,o.default)(d.default.countdown,n)},void 0,this.renderSection(r.days,s.default.Messages.APPLICATION_STORE_COUNTDOWN_DAYS,a),this.renderSection(r.hours,s.default.Messages.APPLICATION_STORE_COUNTDOWN_HOURS,a),this.renderSection(r.minutes,s.default.Messages.APPLICATION_STORE_COUNTDOWN_MINUTES,a),this.renderSection(r.seconds,s.default.Messages.APPLICATION_STORE_COUNTDOWN_SECONDS,a))},r}(a.Component);y.displayName="ApplicationStoreCountdown",y.defaultProps={interval:1e3};var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(192),i=m(n(3)),l=m(n(8273)),u=m(n(8440)),s=m(n(373)),d=m(n(149)),f=m(n(372)),c=n(48),p=n(289),v=n(1),y=m(n(7880));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(){return(h=Object.assign||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}).apply(this,arguments)}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var O=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n);var i,l,s,c=r.prototype;return c.renderSku=function(e,t){var n=this,r=this.props,i=r.selectedSkuId,l=r.guildId,s=r.channelId,c=e.id===i;return E(d.default,{text:(0,u.default)(e)},e.id,(function(r){return a.createElement(o.Link,h({className:c?y.default.alternativeSkuSelected:y.default.alternativeSkuDefault,to:(0,p.getStoreListingLocation)(e.id,{guildId:l,channelId:s,slug:e.slug,analyticsSource:n.analyticsLocation})},r),c?E(f.default,{className:y.default.selectedIcon}):null,t)}))},c.render=function(){var e=this,t=this.props,n=t.skus,r=t.className;return 0===n.length?null:E("div",{className:r},void 0,E("div",{className:y.default.alternativeSkus},void 0,n.map((function(t){return e.renderSku(t,t.name)}))))},i=r,(l=[{key:"analyticsLocation",get:function(){return h({},this.props.analyticsContext.location,{object:v.AnalyticsObjects.ALTERNATIVE_SKU})}}])&&g(i.prototype,l),s&&g(i,s),r}(a.PureComponent);O.displayName="AlternativeSkus";var I=i.default.connectStores([s.default],(function(e){return{skus:e.storeListing.alternativeSkuIds.map((function(e){return s.default.get(e)})).filter(c.isNotNullish)}}))((0,l.default)(O));t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=p(n(0)),o=f(n(9)),i=f(n(1227)),l=p(n(1161)),u=n(8366),s=f(n(6)),d=f(n(7881));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=function(e){var t=e.label,n=e.value;return y("div",{className:d.default.row},void 0,y("label",{className:d.default.label},void 0,t,":"),y("span",{className:d.default.info},void 0,n))};m.displayName="Row";var _=y("span",{},void 0,", "),h=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var f=r.prototype;return f.renderReleaseDate=function(){var e=this.props.sku;return null==e.releaseDate?null:y(m,{label:s.default.Messages.APPLICATION_STORE_DETAILS_RELEASE_DATE,value:l.dateFormat(e.releaseDate,"LL")})},f.renderGenres=function(){var e=this.props.sku;if(null==e.genres||0===e.genres.size)return null;var t=[];return e.genres.forEach((function(n){t.push(y(a.Fragment,{},n,(0,u.getGenreText)(n),t.length<e.genres.size-1?_:null))})),y(m,{label:s.default.Messages.APPLICATION_STORE_DETAILS_GENRES,value:t})},f.renderDevelopers=function(){var e=this.props.game;if(0===e.developers.length)return null;var t=e.developers.map((function(e){return e.name})).join(", ");return y(m,{label:s.default.Messages.APPLICATION_STORE_DETAILS_DEVELOPER,value:t})},f.renderPublishers=function(){var e=this.props.game;if(0===e.publishers.length)return null;var t=e.publishers.map((function(e){return e.name})).join(", ");return y(m,{label:s.default.Messages.APPLICATION_STORE_DETAILS_PUBLISHER,value:t})},f.render=function(){var e=this.props.className;return y("div",{className:(0,o.default)(e,d.default.details)},void 0,y(i.default,{className:d.default.contentHeader},void 0,s.default.Messages.APPLICATION_STORE_SECTION_TITLE_DETAILS),this.renderReleaseDate(),this.renderGenres(),this.renderDevelopers(),this.renderPublishers())},r}(a.Component);h.displayName="ApplicationDetails";var E=h;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=C(n(0)),i=I(n(9)),l=n(192),u=I(n(3)),s=n(5672),d=n(1228),f=I(n(39)),c=I(n(12)),p=I(n(5826)),v=I(n(373)),y=I(n(61)),m=I(n(93)),_=C(n(16)),h=n(289),E=n(299),g=n(1),S=I(n(6)),O=I(n(7882));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}!function(e){e[e.RESTRICTED_IN_REGION=1]="RESTRICTED_IN_REGION",e[e.REQUIRES_DESKTOP_APP=2]="REQUIRES_DESKTOP_APP",e[e.UNAVAILABLE_OPERATING_SYSTEM=3]="UNAVAILABLE_OPERATING_SYSTEM",e[e.DLC_REQUIRES_BASE_APPLICATION=4]="DLC_REQUIRES_BASE_APPLICATION",e[e.EARLY_ACCESS=5]="EARLY_ACCESS",e[e.UNAVAILABLE_IN_LANGUAGE=6]="UNAVAILABLE_IN_LANGUAGE"}(a||(a={}));var N=m.default.getArticleURL(g.HelpdeskArticles.APPLICATION_STORE_OVERVIEW),A=m.default.getArticleURL(g.HelpdeskArticles.APPLICATION_STORE_EARLY_ACCESS),P=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,M(t,n);var o=r.prototype;return o.componentDidMount=function(){var e=this.props,t=e.sku,n=e.dependentSku;null!=t.dependentSkuId&&null==n&&(0,s.fetchSKU)(t.applicationId,t.dependentSkuId)},o.getTitle=function(e){switch(e){case a.RESTRICTED_IN_REGION:return S.default.Messages.APPLICATION_STORE_WARNING_RESTRICTED_IN_REGION_TITLE;case a.REQUIRES_DESKTOP_APP:return S.default.Messages.APPLICATION_STORE_WARNING_REQUIRES_DESKTOP_APP_TITLE;case a.UNAVAILABLE_OPERATING_SYSTEM:switch(_.default.getPlatform()){case _.PlatformTypes.WINDOWS:return S.default.Messages.APPLICATION_STORE_WARNING_UNAVAILABLE_WINDOWS_TITLE;case _.PlatformTypes.OSX:return S.default.Messages.APPLICATION_STORE_WARNING_UNAVAILABLE_MAC_OS_TITLE;case _.PlatformTypes.LINUX:return S.default.Messages.APPLICATION_STORE_WARNING_UNAVAILABLE_LINUX_TITLE;default:return S.default.Messages.APPLICATION_STORE_WARNING_REQUIRES_DESKTOP_APP_TITLE}case a.DLC_REQUIRES_BASE_APPLICATION:return S.default.Messages.APPLICATION_STORE_WARNING_DLC_REQUIRES_BASE_APPLICATION_TITLE;case a.EARLY_ACCESS:return S.default.Messages.APPLICATION_STORE_WARNING_EARLY_ACCESS_TITLE;case a.UNAVAILABLE_IN_LANGUAGE:return S.default.Messages.APPLICATION_STORE_WARNING_UNAVAILABLE_IN_LANGUAGE_TITLE}},o.getDescription=function(e){var t=this;switch(e){case a.RESTRICTED_IN_REGION:return S.default.Messages.APPLICATION_STORE_WARNING_RESTRICTED_IN_REGION_DESCRIPTION.format({helpArticle:N});case a.REQUIRES_DESKTOP_APP:return S.default.Messages.APPLICATION_STORE_WARNING_REQUIRES_DESKTOP_APP_DESCRIPTION.format({downloadHook:function(e,n){return E.isMobile?e:b(y.default,{className:O.default.link,tag:"a",onClick:t.handleDownloadApps},n,e)}});case a.UNAVAILABLE_OPERATING_SYSTEM:switch(_.default.getPlatform()){case _.PlatformTypes.LINUX:return S.default.Messages.APPLICATION_STORE_WARNING_UNAVAILABLE_LINUX_DESCRIPTION;default:return S.default.Messages.APPLICATION_STORE_WARNING_UNAVAILABLE_OS_DESCRIPTION}case a.DLC_REQUIRES_BASE_APPLICATION:var n=this.props.dependentSku;return null==n?null:S.default.Messages.APPLICATION_STORE_WARNING_DLC_REQUIRES_BASE_APPLICATION_DESCRIPTION.format({baseName:n.name,helpArticle:N,baseHook:function(e,t){return b(l.Link,{to:{pathname:g.Routes.APPLICATION_STORE_LISTING_SKU(n.id),state:{analyticsSource:g.AnalyticsLocations.APPLICATION_STORE_WARNING}}},t,e)}});case a.EARLY_ACCESS:return S.default.Messages.APPLICATION_STORE_WARNING_EARLY_ACCESS_DESCRIPTION.format({helpArticle:A});case a.UNAVAILABLE_IN_LANGUAGE:return S.default.Messages.APPLICATION_STORE_WARNING_UNAVAILABLE_IN_LANGUAGE_DESCRIPTION}},o.handleDownloadApps=function(){(0,d.showAppDownloadModal)(g.AnalyticsLocations.APPLICATION_STORE_WARNING)},o.getColorClass=function(e){switch(e){case a.RESTRICTED_IN_REGION:return O.default.red;default:return O.default.yellow}},o.renderWarning=function(e){var t=this.getTitle(e),n=this.getDescription(e);return b("div",{className:(0,i.default)(O.default.warning,this.getColorClass(e))},e,b("div",{className:O.default.title},void 0,t),b("div",{className:O.default.description},void 0,n))},o.render=function(){var e=this.props,t=e.sku,n=e.dependentSku,r=e.isEntitledToDependentSku,o=e.className,i=[];return t.restricted&&i.push(this.renderWarning(a.RESTRICTED_IN_REGION)),_.default.isWeb()?i.push(this.renderWarning(a.REQUIRES_DESKTOP_APP)):t.supportedOperatingSystems.includes((0,h.nativePlatformTypeToSKUOperatingSystem)(_.default.getPlatform()))||i.push(this.renderWarning(a.UNAVAILABLE_OPERATING_SYSTEM)),null==n||r||i.push(this.renderWarning(a.DLC_REQUIRES_BASE_APPLICATION)),t.accessType===g.SKUAccessTypes.EARLY_ACCESS&&i.push(this.renderWarning(a.EARLY_ACCESS)),0===i.length?null:b("div",{className:o},void 0,i)},r}(o.PureComponent);P.displayName="ApplicationStoreWarning";var R=u.default.connectStores([f.default,v.default,p.default,c.default],(function(e){var t=e.sku,n=null!=t.dependentSkuId?v.default.get(t.dependentSkuId):null;return{locale:f.default.locale,dependentSku:n,isEntitledToDependentSku:null!=t.dependentSkuId&&!0===p.default.isEntitledToSku(c.default.getNullableCurrentUser(),t.dependentSkuId,t.applicationId)}}))(P);t.default=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(192),i=E(n(3)),l=n(5672),u=E(n(8273)),s=E(n(8440)),d=E(n(71)),f=E(n(373)),c=E(n(8364)),p=E(n(29)),v=n(48),y=n(289),m=n(1),_=E(n(6)),h=E(n(7883));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return I(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return I(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(e,t){var n=e.applicationId,r=(0,y.getPrimarySKUForApplication)(n,d.default,f.default);return null!=r?c.default.getForSKU(r.id,t):null}var b=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={isCollapsed:!0},t.handleCollapsedToggle=function(){t.setState({isCollapsed:!t.state.isCollapsed})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,T(t,n);var i=r.prototype;return i.componentDidMount=function(){var e=this.props,t=e.sku,n=e.fetchStoreListing;null==C(t,e.channelId)&&n(t.id)},i.componentDidUpdate=function(e){var t=this.props,n=t.sku,r=t.relatedSkuIds;if(null!=r&&r!==e.relatedSkuIds)for(var a,o=O(r);!(a=o()).done;){var i=a.value;(0,l.fetchSKU)(n.applicationId,i)}},i.renderSection=function(e,t,n){var r=this.props,i=r.sku,l=r.channelId,u=r.guildId,d=r.analyticsContext,f=this.state.isCollapsed,c=5===t.length?5:4,v=f?t.slice(0,c):t,E=v.map((function(e,t){return S(o.Link,{className:n&&t===v.length-1?h.default.skuLast:h.default.skuNormal,to:(0,y.getStoreListingLocation)(e.id,{guildId:u,channelId:l,slug:e.slug,analyticsSource:d.location})},e.id,S("div",{className:h.default.name},void 0,e.name),S("div",{className:h.default.price},void 0,null!=e.getPrice()?(0,s.default)(e):null))}));return 0===E.length?null:S(a.Fragment,{},void 0,S("div",{className:h.default.title},void 0,function(e,t){if(e===t)switch(e){case m.SKUTypes.DURABLE_PRIMARY:return _.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_GAMES_SAME;case m.SKUTypes.DURABLE:return _.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_DLC_SAME;case m.SKUTypes.CONSUMABLE:return _.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_CONSUMABLES_SAME;case m.SKUTypes.BUNDLE:return _.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_BUNDLES_SAME}else switch(e){case m.SKUTypes.DURABLE_PRIMARY:return _.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_GAMES_DIFFERENT;case m.SKUTypes.DURABLE:return _.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_DLC_DIFFERENT;case m.SKUTypes.CONSUMABLE:return _.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_CONSUMABLES_DIFFERENT;case m.SKUTypes.BUNDLE:return _.default.Messages.APPLICATION_STORE_PURCHASE_HEADER_BUNDLES_DIFFERENT}}(e,i.type)),E,c<t.length&&f?S(p.default,{color:p.default.Colors.PRIMARY,size:p.default.Sizes.SMALL,onClick:this.handleCollapsedToggle,className:h.default.collapseButton},void 0,_.default.Messages.APPLICATION_STORE_EXPAND_DOWNLOADABLE_CONTENT):null)},i.render=function(){var e=this.props.relatedSKUs;if(0===e.length)return null;var t=e.filter((function(e){return e.type===m.SKUTypes.BUNDLE})),n=e.filter((function(e){return e.type===m.SKUTypes.DURABLE})),r=e.filter((function(e){return e.type===m.SKUTypes.CONSUMABLE}));return S("div",{},void 0,this.renderSection(m.SKUTypes.BUNDLE,t,0===n.length&&0===r.length),this.renderSection(m.SKUTypes.DURABLE,n,0===r.length),this.renderSection(m.SKUTypes.CONSUMABLE,r,!0))},r}(a.PureComponent);b.displayName="RelatedContent";var M=(0,u.default)(i.default.connectStores([f.default],(function(e){var t=e.sku,n=e.channelId,r=C(t,n);if(null==r)return{relatedSkuIds:void 0,relatedSKUs:[]};var a=r.childSkuIds.filter((function(e){return t.id!==e})).map(f.default.get).filter(v.isNotNullish).filter((function(e){return!e.isPremiumPerk()}));return{relatedSkuIds:a.map((function(e){return e.id})),relatedSKUs:a}}))(b));t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(9)),i=E(n(3)),l=E(n(10213)),u=E(n(160)),s=E(n(12)),d=E(n(9063)),f=E(n(373)),c=E(n(8364)),p=E(n(10214)),v=n(289),y=E(n(10216)),m=E(n(10217)),_=E(n(6)),h=E(n(7888));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var I=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,O(t,n);var a=r.prototype;return a.renderReasons=function(e,t,n){return 0===e.length&&0===t.length?null:S("div",{className:h.default.section},void 0,S("div",{className:h.default.sectionContent},void 0,e.map((function(e){return S("div",{className:h.default.unit},e.type,S(y.default,{reason:e,hidePersonalInformation:n}))})),t.map((function(e){return S("div",{className:h.default.unit},e.type,S(p.default,{reason:e}))}))))},a.getReviewToRender=function(){var e=this.props.storeListing;return null!=e.staffNotes?{type:m.default.Types.STAFF_NOTES,staffNotes:e.staffNotes}:null},a.render=function(){var e=this.props,t=e.socialReasons,n=e.nonSocialReasons,r=e.storeListing,a=e.hidePersonalInformation,i=e.className;if(0===t.length&&0===n.length&&null==r.staffNotes)return null;var l=n,u=this.getReviewToRender();return S("div",{className:(0,o.default)(h.default.root,i)},void 0,S("div",{className:h.default.header},void 0,_.default.Messages.APPLICATION_STORE_SECTION_TITLE_RECOMMENDATION),this.renderReasons(t,l,a),null!=u?S(m.default,{data:u,className:h.default.review}):null)},r}(a.Component);I.displayName="ApplicationWhyYouMightLikeIt";var T=i.default.connectStores([f.default,s.default,c.default,l.default,d.default,u.default],(function(e){var t=e.sku;return{socialReasons:(0,v.getSocialRecommendationReasons)(t.id,f.default,s.default,l.default,d.default),nonSocialReasons:(0,v.getNonSocialRecommendationReasons)(t.id,f.default,c.default),hidePersonalInformation:u.default.hidePersonalInformation}}))(I);t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(3)),a=d(n(2)),o=d(n(9212)),i=d(n(256)),l=d(n(8415)),u=d(n(12)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(){return(p=Object.assign||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}).apply(this,arguments)}var v=!1,y={},m={};function _(e){var t=!1;return e.forEach((function(e){t=!1!==E(e)||t})),t}function h(e){var t=m[e];if(null==t)return!1;var n=t.gameId;return y[n]&&(delete(y=p({},y))[n][e],0===Object.values(y[n]).length&&delete y[n]),delete(m=p({},m))[e],!0}function E(e){var t=e.user,n=e.activities;if(null==t||!l.default.getUserAffinitiesUserIds().has(t.id))return!1;var r=n.find((function(e){return e.type!==s.ActivityTypes.CUSTOM_STATUS}));if(null==r)return h(t.id);var a=(0,o.default)(r);if(null==a)return h(t.id);var i=m[t.id];i&&i.gameId!==a&&h(t.id);var u=null!=r.timestamps&&r.timestamps.start||Date.now();return function(e,t){var n,r,a;y=p({},y,((r={})[e]=p({},y[e],((n={})[t.userId]=t,n)),r)),m=p({},m,((a={})[t.userId]={gameId:e,startedPlaying:t.startedPlaying},a))}(a,{userId:t.id,activity:r,startedPlaying:u}),!0}function g(){var e=!1;return l.default.needsRefresh()||v||(e=function(){y={},m={};var e=!1;return i.default.getUserIds().forEach((function(t){var n=u.default.getUser(t);null!=n&&(e=E({user:n,activities:i.default.getActivities(t)})||e)})),e}()),v=!l.default.needsRefresh(),e}var S=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var a,o,i,u=r.prototype;return u.initialize=function(){this.waitFor(l.default),this.syncWith([l.default],g)},u.getNowPlaying=function(e){return y[e]},u.getUserGame=function(e){return m[e]},a=r,(o=[{key:"games",get:function(){return y}},{key:"usersPlaying",get:function(){return m}},{key:"gameIds",get:function(){return Object.keys(y)}}])&&f(a.prototype,o),i&&f(a,i),r}(r.default.Store))(a.default,{CONNECTION_OPEN:function(e){return y={},void(m={})},CONNECTION_OPEN_SUPPLEMENTAL:function(e){return _(e.presences)},LOGOUT:function(e){return y={},void(m={})},PRESENCE_UPDATE:function(e){return E(e)},PRESENCES_REPLACE:function(e){return _(e.presences)}});t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(9)),i=n(1161),l=v(n(8455)),u=v(n(372)),s=v(n(10215)),d=v(n(5686)),f=n(1),c=v(n(6)),p=v(n(7885));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=function(e){var t=e.IconComponent,n=e.className;return _("div",{className:(0,o.default)(p.default.iconCircle,n)},void 0,_(t,{className:p.default.icon}))};h.displayName="IconCircle";var E=function(e){var t=e.circle,n=e.smallHeader,r=e.text,a=e.className;return _("div",{className:(0,o.default)(p.default.recommendationReason,a)},void 0,t,_("div",{className:p.default.description},void 0,null!=n?_("div",{className:p.default.smallHeader},void 0,n):null,_("div",{className:p.default.text},void 0,r)))};E.displayName="Unit";var g=_(h,{IconComponent:l.default}),S=_(h,{IconComponent:l.default}),O=_(h,{IconComponent:u.default}),I=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n),r.prototype.render=function(){var e=this.props,t=e.reason,n=e.className;return t.type===f.StoreRecommendationTypes.RECENT_RELEASE_DATE?_(E,{className:n,circle:g,smallHeader:c.default.Messages.APPLICATION_STORE_NEW_RELEASE,text:(0,i.dateFormat)(t.releaseDate,"LL")}):t.type===f.StoreRecommendationTypes.RELEASE_DATE?_(E,{className:n,circle:S,smallHeader:c.default.Messages.APPLICATION_STORE_DETAILS_RELEASE_DATE,text:(0,i.dateFormat)(t.releaseDate,"LL")}):t.type===f.StoreRecommendationTypes.EARLY_ACCESS?null!=t.releaseDate?_(E,{className:n,circle:_(h,{IconComponent:s.default,className:p.default.earlyAccess}),smallHeader:c.default.Messages.APPLICATION_STORE_EARLY_ACCESS,text:(0,i.dateFormat)(t.releaseDate,"LL")}):_(E,{className:n,circle:_(h,{IconComponent:s.default,className:p.default.earlyAccess}),text:c.default.Messages.APPLICATION_STORE_EARLY_ACCESS}):t.type===f.StoreRecommendationTypes.FLAVOR_TEXT?_(E,{circle:O,text:t.flavorText,className:n}):t.type===f.StoreRecommendationTypes.HAS_FREE_PREMIUM_CONTENT?_(E,{className:n,circle:_(h,{IconComponent:d.default,className:p.default.premiumCircle}),text:c.default.Messages.APPLICATION_STORE_FREE_PREMIUM_CONTENT}):null},r}(a.Component);t.default=I,I.displayName="StoreRecommendationReason"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?12:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 12 16"}),s("path",{className:f,fill:d,d:"M9.9047619 5H10c1.1045695 0 2 .8954305 2 2v7c0 1.1045695-.8954305 2-2 2H2c-1.1045695 0-2-.8954305-2-2V7c0-1.1045695.8954305-2 2-2h6.45714286V3.80952381c0-1.30285714-1.05904762-2.36190476-2.36190476-2.36190476-1.01858607 0-1.88814941.64731751-2.21911842 1.55238095H2.3720229c.37146099-1.71441439 1.89811833-3 3.7232152-3 2.10285714 0 3.8095238 1.70666667 3.8095238 3.80952381V5zM6 12.5c1.1045695 0 2-.8954305 2-2s-.8954305-2-2-2-2 .8954305-2 2 .8954305 2 2 2z"}))}d.displayName="EarlyAccess"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=_(n(9)),l=_(n(8264)),u=_(n(8268)),s=_(n(8432)),d=_(n(278)),f=_(n(149)),c=_(n(8409)),p=_(n(279)),v=n(1),y=_(n(6)),m=_(n(7886));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(){return(g=Object.assign||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}).apply(this,arguments)}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var O=((r={})[v.StoreRecommendationTypes.NOW_PLAYING]={single:function(e,t){return y.default.Messages.APPLICATION_STORE_RECOMMENDATION_NOW_PLAYING_SINGLE.format({user1:e.username,user1Hook:function(){return t(e)}})},double:function(e,t,n){return y.default.Messages.APPLICATION_STORE_RECOMMENDATION_NOW_PLAYING_DOUBLE.format({user1:e.username,user1Hook:function(){return n(e)},user2:t.username,user2Hook:function(){return n(t)}})},other:function(e){return y.default.Messages.APPLICATION_STORE_RECOMMENDATION_NOW_PLAYING_OTHER.format({count:e})}},r[v.StoreRecommendationTypes.RECENTLY_PLAYED]={single:function(e,t){return y.default.Messages.APPLICATION_STORE_RECOMMENDATION_RECENTLY_PLAYED_SINGLE.format({user1:e.username,user1Hook:function(){return t(e)}})},double:function(e,t,n){return y.default.Messages.APPLICATION_STORE_RECOMMENDATION_RECENTLY_PLAYED_DOUBLE.format({user1:e.username,user1Hook:function(){return n(e)},user2:t.username,user2Hook:function(){return n(t)}})},other:function(e){return y.default.Messages.APPLICATION_STORE_RECOMMENDATION_RECENTLY_PLAYED_OTHER.format({count:e})}},r[v.StoreRecommendationTypes.EVER_PLAYED]={single:function(e,t){return y.default.Messages.APPLICATION_STORE_RECOMMENDATION_EVER_PLAYED_SINGLE.format({user1:e.username,user1Hook:function(){return t(e)}})},double:function(e,t,n){return y.default.Messages.APPLICATION_STORE_RECOMMENDATION_EVER_PLAYED_DOUBLE.format({user1:e.username,user1Hook:function(){return n(e)},user2:t.username,user2Hook:function(){return n(t)}})},other:function(e){return y.default.Messages.APPLICATION_STORE_RECOMMENDATION_EVER_PLAYED_OTHER.format({count:e})}},r),I=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).renderUserPopout=function(e,t){return o.createElement(u.default,g({},t,{userId:e.id}))},t.renderUserTooltip=function(e,t,n,r){return E("div",{className:m.default.tooltip},void 0,E("div",{},void 0,t?e.username:e.tag),E(s.default,{className:m.default.tooltipTimestamp,start:n,end:r,location:s.default.Locations.ACTIVITY_FEED}))},t.renderPlayer=function(e,n,r,a){var u=e;if(null==u)return null;var s=t.props.reason.userInfo.find((function(e){return e.user===u}));return null==s?null:E(d.default,{preload:function(){return(0,l.default)(u.id,u.getAvatarURL(void 0))},renderPopout:function(e){return t.renderUserPopout(u,e)},position:d.default.Positions.RIGHT},u.id,(function(e){return E(f.default,{text:t.renderUserTooltip(u,t.props.hidePersonalInformation,s.startTime,s.endTime),"aria-label":u.tag},void 0,(function(t){var n;return o.createElement(p.default,g({className:(0,i.default)(m.default.playerAvatar,(n={},n[m.default.avatarMasked]=!a,n)),src:u.getAvatarURL(void 0),"aria-label":u.username,size:p.default.Sizes.SIZE_32},t,e))}))}))},t.renderPlayerOverflow=function(e,t,n){return E("div",{className:m.default.playerOverflow},n,e)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n);var a=r.prototype;return a.renderDescription=function(e,t){var n=this,r=O[e];return 1===t.length?r.single(t[0].user,(function(e){return n.renderActivityDiscordTag(e)})):2===t.length?r.double(t[0].user,t[1].user,(function(e){return n.renderActivityDiscordTag(e)})):r.other(t.length)},a.renderActivityDiscordTag=function(e){var t=this;return E(d.default,{preload:function(){return(0,l.default)(e.id,e.getAvatarURL(void 0))},renderPopout:function(n){return t.renderUserPopout(e,n)},position:d.default.Positions.RIGHT},e.id,(function(t){return o.createElement("span",g({className:m.default.username},t),e.username)}))},a.render=function(){var e=this.props,t=e.reason,n=e.className,r=t.type,a=t.userInfo;return 0===a.length?null:E("div",{className:(0,i.default)(m.default.recommendationActivity,n)},void 0,E(c.default,{className:m.default.players,users:a.map((function(e){return e.user})),renderUser:this.renderPlayer,max:4,renderMoreUsers:this.renderPlayerOverflow}),E("div",{className:m.default.description},void 0,this.renderDescription(r,a)))},r}(o.PureComponent);I.displayName="ApplicationRecommendationActivity";var T=I;t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;p(n(0));var r,a,o=f(n(9)),i=f(n(3)),l=p(n(8332)),u=f(n(161)),s=f(n(6)),d=f(n(7887));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}!function(e){e[e.STAFF_NOTES=1]="STAFF_NOTES"}(a||(a={}));var y=function(e){var t=e.user,n=e.className,r=e.animate;return v("div",{className:(0,o.default)(d.default.staffReviewHeader,n)},void 0,v(l.default,{size:l.Sizes.SIZE_32,user:t,animate:r}),v("div",{className:d.default.headerText},void 0,v("div",{className:d.default.label},void 0,s.default.Messages.APPLICATION_STORE_STAFF_PICK),v("div",{className:d.default.username},void 0,t.username)))};y.displayName="StaffReason";var m=i.default.connectStores([u.default],(function(){return{animate:u.default.isFocused()}}))(y),_=function(e){var t=e.data,n=e.className;if(t.type===a.STAFF_NOTES){if(null==t.staffNotes)return null;var r=t.staffNotes,o=r.user,i=r.content;return null==o?null:v("div",{className:n},void 0,v(m,{user:o,className:d.default.header}),v("div",{className:d.default.notes},void 0,i))}throw new Error("Unknown type")};_.Types=a;var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(3)),i=n(5672),l=y(n(8318)),u=y(n(8273)),s=n(42),d=y(n(71)),f=y(n(373)),c=y(n(5690)),p=n(1),v=y(n(7889));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(e){var n=t.props.sku;(0,s.transitionTo)(e.id,{state:{analyticsSource:{object:p.AnalyticsObjects.NAVIGATION_LINK,section:p.AnalyticsSections.NAVIGATION,page:null==n?p.AnalyticsPages.STORE_DIRECTORY_BROWSE:p.AnalyticsPages.STORE_LISTING}}})},t.renderCustomBreadcrumb=function(e,t){return _(l.default.Title,{className:t?null:v.default.breadcrumb,muted:!t},void 0,e.label)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n);var a=r.prototype;return a.componentDidMount=function(){var e=this.props,t=e.sku,n=e.primarySkuId,r=e.isFetchingPrimarySku;null==n||r||null==t||(0,i.fetchSKU)(t.applicationId,n)},a.render=function(){var e=this.props,t=e.sku,n=e.primarySku,r=[],a=null;if(null!=t){var o=p.Routes.APPLICATION_STORE_LISTING_SKU(t.id,t.slug);a=o,null!=n&&r.push({id:p.Routes.APPLICATION_STORE_LISTING_SKU(n.id,n.slug),label:n.name}),r.push({id:o,label:t.name})}return _(c.default,{renderCustomBreadcrumb:this.renderCustomBreadcrumb,onBreadcrumbClick:this.handleClick,breadcrumbs:r,activeId:a})},r}(a.PureComponent);E.displayName="StoreBreadcrumbs";var g=(0,u.default)(o.default.connectStores([d.default,f.default],(function(e){var t=e.sku,n=null!=t?d.default.getGame(t.applicationId):null,r=null!=n&&null!=n.primarySkuId&&n.primarySkuId!==t.id?n.primarySkuId:null;return{primarySkuId:r,isFetchingPrimarySku:null!=r&&f.default.isFetching(r),primarySku:null!=r?f.default.get(r):null}}))(E));t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i=g(n(0)),l=h(n(9)),u=h(n(29)),s=h(n(1227)),d=h(n(55)),f=n(380),c=n(48),p=g(n(16)),v=n(8403),y=n(1),m=h(n(6)),_=h(n(7890));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function S(e,t,n,r){o||(o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&a)for(var s in a)void 0===t[s]&&(t[s]=a[s]);else t||(t=a||{});return{$$typeof:o,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,I(e,t)}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var T=((r={})[y.OperatingSystems.WINDOWS]=m.default.Messages.WINDOWS,r[y.OperatingSystems.MACOS]=m.default.Messages.MACOS,r[y.OperatingSystems.LINUX]=m.default.Messages.LINUX,r),C=((a={})[y.OperatingSystems.WINDOWS]=p.PlatformTypes.WINDOWS,a[y.OperatingSystems.MACOS]=p.PlatformTypes.OSX,a[y.OperatingSystems.LINUX]=p.PlatformTypes.LINUX,a),b=function(e){function t(){return e.apply(this,arguments)||this}return O(t,e),t.prototype.render=function(){var e,t=this.props,n=t.active,r=t.children,a=t.pageSize,o=t.onClick,i=a===v.PageSizes.LARGE;return S(u.default,{size:i?u.default.Sizes.MIN:u.default.Sizes.LARGE,fullWidth:!i,color:n?_.default.tabSelectedColor:_.default.tabNotSelectedColor,className:(0,l.default)((e={},e[_.default.tabPageLarge]=i,e[_.default.tabPageSmall]=!i,e[_.default.tabSelected]=n,e[_.default.tabNotSelected]=!n,e)),onClick:o},void 0,r)},t}(i.PureComponent);b.displayName="Tab";var M=function(e){function t(t){var n;(n=e.call(this,t)||this).handleSelectOperatingSystem=function(e){n.setState({selectedOperatingSystem:e})};for(var r=p.default.getPlatform(),a=Object.keys(t.systemRequirements),o=a[0],i=0,l=a;i<l.length;i++){var u=l[i];C[u]===r&&(o=u)}return n.state={selectedOperatingSystem:o},n}O(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.systemRequirements,r=t.selectedOperatingSystem,a=Object.keys(n);return a.includes(r)?null:{selectedOperatingSystem:a[0]}};var n=t.prototype;return n.renderTabs=function(){var e=this,t=this.props,n=t.pageSize,r=t.systemRequirements,a=this.state.selectedOperatingSystem,o=Object.keys(r);return 1===o.length?null:S(d.default,{className:_.default.tabs},void 0,S("div",{className:_.default.separator}),o.map((function(t){return S(b,{active:t===a,onClick:function(){return e.handleSelectOperatingSystem(t)},pageSize:n},t,T[t])})))},n.renderRequirementsSection=function(e,t){if(null==e)return null;var n=function(e){return[{key:m.default.Messages.APPLICATION_STORE_SPECS_OS,value:e.operating_system_version},{key:m.default.Messages.APPLICATION_STORE_SPECS_CPU,value:e.cpu},{key:m.default.Messages.APPLICATION_STORE_SPECS_MEMORY,value:null!=e.ram?m.default.Messages.APPLICATION_STORE_SPECS_MEMORY_VALUE.format({size:(0,f.formatSize)(1e3*e.ram,{showDecimalForGB:!1})}):null},{key:m.default.Messages.APPLICATION_STORE_SPECS_VIDEO,value:e.gpu},{key:m.default.Messages.APPLICATION_STORE_SPECS_STORAGE,value:null!=e.disk?(0,f.formatSize)(1e3*e.disk,{showDecimalForGB:!1}):null},{key:m.default.Messages.APPLICATION_STORE_SPECS_SOUND,value:e.sound_card},{key:m.default.Messages.APPLICATION_STORE_SPECS_NETWORK,value:e.network},{key:m.default.Messages.APPLICATION_STORE_SPECS_NOTES,value:e.notes}]}(e).map((function(e,t){var n=null!=e.value?e.value.trim():null;return null==n||0===n.length?null:S("div",{className:_.default.requirement},t,S("span",{className:_.default.requirementKey},void 0,e.key,":"),n)})).filter(c.isNotNullish);return S("div",{className:_.default.requirements},void 0,S(s.default,{tag:"h4"},void 0,t),n)},n.renderBody=function(){var e=this.props.systemRequirements[this.state.selectedOperatingSystem],t=e.minimum,n=e.recommended;return S("div",{className:_.default.requirementsContainer},void 0,this.renderRequirementsSection(t,m.default.Messages.APPLICATION_STORE_SPECS_MINIMUM),this.renderRequirementsSection(n,m.default.Messages.APPLICATION_STORE_SPECS_RECOMMENDED))},n.render=function(){return S("div",{className:this.props.className},void 0,S(s.default,{},void 0,m.default.Messages.APPLICATION_STORE_SECTION_TITLE_SYSTEM_REQUIREMENTS),this.renderTabs(),this.renderBody())},t}(i.PureComponent);M.displayName="SystemRequirements";var N=M;t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TestModeStoreListingButtonEnums=void 0;var r,a=p(n(0)),o=f(n(3)),i=p(n(389)),l=f(n(9238)),u=p(n(8253)),s=f(n(8364)),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _={DropdownSizes:l.default.DropdownSizes,Sizes:l.default.Sizes,Colors:l.default.Colors,Looks:l.default.Looks};t.TestModeStoreListingButtonEnums=_;var h=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).renderContextMenu=function(){var e=t.props,n=e.storeListings,r=e.onStoreListingSelect,a=e.currentStoreListingId,o=e.onMenuSelect,l=n.map((function(e){return e.id!==a?y(u.MenuItem,{id:""+e.id,label:e.id,action:function(){i.closeContextMenu(),r&&r(e)}}):null}));return y(u.default,{onSelect:o,navId:"test-store-listing","aria-label":d.default.Messages.GENERIC_ACTIONS_MENU_LABEL,onClose:i.closeContextMenu},void 0,l)},t.handleContextMenu=function(e){e.stopPropagation(),i.openContextMenu(e,t.renderContextMenu)},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n),r.prototype.render=function(){var e=this.props,t=e.storeListings,n=e.primaryStoreListing,r=(e.skuId,e.onStoreListingSelect,e.currentStoreListingId,function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["storeListings","primaryStoreListing","skuId","onStoreListingSelect","currentStoreListingId"])),o=null!=n?1:0;return(o+=t.length)<2?null:a.createElement(l.default,v({onClick:this.handleContextMenu,onDropdownClick:this.handleContextMenu,onContextMenu:this.handleContextMenu},r),d.default.Messages.APPLICATION_TEST_MODE_VIEW_OTHER_LISTINGS)},r}(a.PureComponent);h.displayName="TestModeStoreListingButton";var E=o.default.connectStores([s.default],(function(e){var t=e.skuId;return{storeListings:s.default.getUnpublishedForSKU(t),primaryStoreListing:s.default.getForSKU(t)}}))(h);t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=C(n(9)),i=n(394),l=C(n(3)),u=C(n(199)),s=n(8344),d=C(n(8543)),f=C(n(182)),c=n(42),p=C(n(162)),v=C(n(15)),y=C(n(36)),m=C(n(29)),_=C(n(1227)),h=C(n(55)),E=C(n(371)),g=C(n(372)),S=n(8403),O=n(1),I=C(n(6)),T=C(n(7892));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function A(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){N(o,r,a,i,l,"next",e)}function l(e){N(o,r,a,i,l,"throw",e)}i(void 0)}))}}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var R=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleJoinOrView=A(regeneratorRuntime.mark((function e(){var n,r,a,o,i,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.props,r=n.guild,a=n.skuId,o=n.isInGuild,i=n.isLurking,l=function(){return(0,c.transitionTo)(O.Routes.CHANNEL(r.id,y.default.getChannelId(r.id)))},!i){e.next=6;break}(0,s.joinPublishedStoreListingSkuGuild)(a).then(l),e.next=18;break;case 6:if(!o){e.next=10;break}l(),e.next=18;break;case 10:return e.prev=10,e.next=13,u.default.joinGuild(r.id,!0,O.JoinGuildSources.APPLICATION_STORE);case 13:l(),e.next=18;break;case 16:e.prev=16,e.t0=e.catch(10);case 18:case"end":return e.stop()}}),e,null,[[10,16]])}))),t.handleLogin=function(){var e={redirect_to:O.Routes.APPLICATION_STORE_LISTING_SKU(t.props.skuId)};(0,c.transitionTo)(O.Routes.LOGIN,{search:(0,i.stringify)(e)})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,P(t,n);var a=r.prototype;return a.renderMemberInfo=function(){var e=this.props.guild,t=e.approximateMemberCount,n=e.approximatePresenceCount;return null==t||null==n?null:M(h.default,{className:T.default.memberInfo,align:h.default.Align.CENTER},void 0,M("div",{className:T.default.dotOnline}),M("span",{className:T.default.memberText},void 0,I.default.Messages.INSTANT_INVITE_GUILD_MEMBERS_ONLINE.format({membersOnline:n})),M("div",{className:T.default.dotOffline}),M("span",{className:T.default.memberText},void 0,I.default.Messages.INSTANT_INVITE_GUILD_MEMBERS_TOTAL.format({count:t})))},a.render=function(){var e=this.props,t=e.guild,n=e.inChannel,r=e.isInGuild,a=e.isLurking,i=e.isAuthenticated,l=e.className,u=e.pageSize;if(n&&r)return null;var s=new p.default(t),d=I.default.Messages.LURKER_MODE_VIEW_GUILD,f=this.handleJoinOrView,c=m.default.Looks.FILLED,v=m.default.Colors.PRIMARY;return i?r?(c=m.default.Looks.OUTLINED,v=T.default.buttonColorInGuild,d=M(h.default,{align:h.default.Align.CENTER},void 0,M("div",{},void 0,I.default.Messages.JOINED_GUILD),M(g.default,{className:T.default.joinedCheckmark}))):a&&n&&(d=I.default.Messages.JOIN_GUILD):(d=I.default.Messages.LOGIN,f=this.handleLogin),M("div",{className:(0,o.default)(l,u===S.PageSizes.SMALL?T.default.inviteSmall:T.default.inviteLarge)},void 0,M(_.default,{},void 0,I.default.Messages.APPLICATION_STORE_SECTION_TITLE_VERIFIED_GUILD),M("div",{className:T.default.content},void 0,M("div",{className:T.default.info},void 0,M(E.default,{guild:s,active:!0,size:E.default.Sizes.LARGE,className:T.default.guildIcon}),M("div",{className:T.default.infoText},void 0,M("div",{className:T.default.name},void 0,t.name),this.renderMemberInfo())),M(m.default,{size:m.default.Sizes.SMALL,className:T.default.actionButton,fullWidth:!0,color:v,look:c,onClick:f},void 0,d)))},r}(a.PureComponent);R.displayName="VerifiedGuildInvite";var L=(0,d.default)(l.default.connectStores([v.default,f.default],(function(e){var t=e.guild,n=f.default.isLurking(t.id);return{isInGuild:null!=v.default.getGuild(t.id)&&!n,isLurking:n}}))(R));t.default=L},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NotificationOptions",{enumerable:!0,get:function(){return r.NotificationOptions}}),t.default=void 0;var r=n(10460),a=n(10460).default;t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=M();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=b(n(1243)),i=n(8404),l=n(3),u=b(n(184)),s=b(n(1226)),d=b(n(9039)),f=b(n(105)),c=b(n(106)),p=n(1246),v=b(n(10)),y=b(n(256)),m=b(n(699)),_=b(n(278)),h=b(n(149)),E=b(n(8536)),g=b(n(8436)),S=b(n(1210)),O=n(9239),I=n(1),T=b(n(6)),C=b(n(7896));function b(e){return e&&e.__esModule?e:{default:e}}function M(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return M=function(){return e},e}function N(){return(N=Object.assign||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}).apply(this,arguments)}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var R;!function(e){e[e.PAGES=0]="PAGES",e[e.DMS=1]="DMS"}(R||(R={}));var L=P("rect",{x:40,y:6,width:144,height:20,rx:10}),D=P("circle",{cx:16,cy:16,r:16}),w=P("rect",{x:40,y:50,width:144,height:20,rx:10,opacity:.9}),j=P("circle",{cx:16,cy:60,r:16,opacity:.9}),k=P("rect",{x:40,y:94,width:144,height:20,rx:10,opacity:.8}),U=P("circle",{cx:16,cy:104,r:16,opacity:.8}),G=P("rect",{x:40,y:138,width:144,height:20,rx:10,opacity:.7}),F=P("circle",{cx:16,cy:148,r:16,opacity:.7}),B=P("rect",{x:40,y:182,width:144,height:20,rx:10,opacity:.6}),H=P("circle",{cx:16,cy:192,r:16,opacity:.6}),x=P("rect",{x:40,y:226,width:144,height:20,rx:10,opacity:.5}),V=P("circle",{cx:16,cy:236,r:16,opacity:.5}),W=P("rect",{x:40,y:270,width:144,height:20,rx:10,opacity:.4}),Y=P("circle",{cx:16,cy:280,r:16,opacity:.4}),z=P("rect",{x:40,y:314,width:144,height:20,rx:10,opacity:.3}),K=P("circle",{cx:16,cy:324,r:16,opacity:.3}),$=P("rect",{x:40,y:358,width:144,height:20,rx:10,opacity:.2}),Z=P("circle",{cx:16,cy:368,r:16,opacity:.2}),q=P("rect",{x:40,y:402,width:144,height:20,rx:10,opacity:.1}),X=P("circle",{cx:16,cy:412,r:16,opacity:.1}),J=P(a.memo((function(){return P("svg",{width:"184",height:"428",viewBox:"0 0 184 428",className:C.default.empty},void 0,L,D,w,j,k,U,G,F,B,H,x,V,W,Y,z,K,$,Z,q,X)})),{},"no-private-channels"),Q=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={initialized:!1,preRenderedChildren:0,nonNullChildren:[]},t._list=null,t.hasReportedAnalytics=!1,t.reportAnalytics=function(){var e;if(!t.hasReportedAnalytics){var n=null===(e=t._list)||void 0===e?void 0:e.getScrollerState();if(null!=n){var r=t.props,o=r.privateChannelIds,i=r.channels;if(0!==o.length){var l=44*a.Children.count(t.props.children);if(null!=n){var u=Math.round((n.offsetHeight-l)/44),s=u>o.length?o.slice(0,u+1):o,d=s.map((function(e){return null!=i[e]?i[e].getRecipientId():null})),f={num_users_visible:s.length,num_users_visible_with_mobile_indicator:d.filter((function(e){return null!=e&&y.default.isMobileOnline(e)})).length};t.hasReportedAnalytics=!0,c.default.trackWithMetadata(I.AnalyticEvents.DM_LIST_VIEWED,N({},f))}}}}},t.getSectionHeight=function(e){var n=t.props.showDMHeader;return e===R.PAGES?0:n?40:0},t.setList=function(e){t._list=e,t.props.listRef.current=e,t.props.listNavigator.getContainerProps().ref.current=(null==e?void 0:e.getScrollerNode())||null},t.handleScroll=(0,o.default)((function(){if(null!=t._list){var e=t._list.getScrollerNode();null!=e&&s.default.updateChannelListScroll(I.ME,e.scrollTop)}}),100),t.renderDM=function(e,n,r){var o=t.props,i=o.privateChannelIds,l=o.channels,u=o.selectedChannelId,s=o.listNavigator,d=l[i[n]];if(null==d)return null;var f=d.isMultiUserDM()?O.GroupDM:O.DirectMessage;return a.createElement(f,N({key:d.id,channel:d,selected:d.id===u},s.getItemProps({index:r})))},t.renderChild=function(e,n){var r=t.props.listNavigator,a=t.state.nonNullChildren[e];return null!=a?a(r.getItemProps,n):null},t.renderRow=function(e){var n=e.section,r=e.row,a=e.rowIndex,o=t.props.privateChannelIds;return n===R.PAGES?t.renderChild(r,a):0===r&&0===o.length?J:t.renderDM(n,r,a)},t.renderSection=function(e){var n=e.section,r=t.props.showDMHeader;return n!==R.PAGES&&r?P(g.default,{className:C.default.privateChannelsHeaderContainer},n,P("span",{className:C.default.headerText},void 0,T.default.Messages.DIRECT_MESSAGES),P(d.default,{tooltip:T.default.Messages.CREATE_DM,tooltipPosition:h.default.Positions.TOP,popoutAlign:_.default.Align.LEFT,iconClassName:C.default.privateChannelRecipientsInviteButtonIcon,icon:E.default,subscribeToGlobalHotkey:!0})):null},t.getRowHeight=function(e,n){var r=t.props.privateChannelIds;return e===R.DMS&&0===n&&0===r.length?428:44},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,A(t,n),r.getDerivedStateFromProps=function(e){var t=e.children;if(null==t)return{preRenderedChildren:0,nonNullChildren:[]};var n=t.filter((function(e){return null!=e}));return{preRenderedChildren:n.length,nonNullChildren:n}};var i=r.prototype;return i.componentDidMount=function(){var e=this.props,t=e.selectedChannelId,n=e.homeLink;null!=t&&null!=n&&n.indexOf(t)>=0&&this.scrollToChannel(t),this.reportAnalytics()},i.shouldComponentUpdate=function(e){return!(0,u.default)(this.props,e,["children"])},i.componentDidUpdate=function(e){var t=this.props,n=t.selectedChannelId,r=t.homeLink;null!=n&&n!==e.selectedChannelId?this.scrollToChannel(n):null==n&&r!==e.homeLink&&this.scrollToChannel(null),this.reportAnalytics()},i.scrollToChannel=function(e){if(null!=this._list){var t=this.props.padding,n=this.state.preRenderedChildren,r=null!=e?this.props.privateChannelIds.indexOf(e):-1,a=0;r<0||null==e?this._list.scrollTo({to:a}):(a+=44*(r+n)+t,this._list.scrollIntoViewRect({start:Math.max(a-8,0),end:a+44+8}))}},i.render=function(){var e=this,t=this.props,n=t.privateChannelIds,r=t.padding,o=t.listNavigator,i=this.state.preRenderedChildren,l=o.getContainerProps(),u=(l.ref,function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(l,["ref"]));return P(p.FocusJumpSection,{},void 0,(function(t){return a.createElement(S.default,N({fade:!0,ref:e.setList,onScroll:e.handleScroll,className:C.default.scroller,sectionHeight:e.getSectionHeight,paddingTop:r,paddingBottom:8,rowHeight:e.getRowHeight,renderSection:e.renderSection,renderRow:e.renderRow,sections:[i,n.length||1]},u,t))}))},r}(a.Component);Q.displayName="PrivateChannelsList",Q.defaultProps={padding:8};var ee=function(e){var t=e.version,n=e.theme,r=e.children,o=e.showDMHeader,u=e.selectedChannelId,s=a.Children.count(r),d=v.default.getMutablePrivateChannels(),c=(0,l.useStateFromStoresObject)([m.default,v.default,f.default],(function(){return{privateChannelIds:m.default.getPrivateChannelIds(),theme:f.default.darkSidebar?I.ThemeTypes.DARK:n,keyboardModeEnabled:f.default.keyboardModeEnabled,version:null!=t?t+":"+v.default.getPrivateChannelsVersion():v.default.getPrivateChannelsVersion()}})),p=c.privateChannelIds,y=a.useRef(null),_=a.useCallback((function(e,t){var n=y.current;if(null!=n)if(null!=t){var r=n.getSectionRowFromIndex(t),a=r[0],o=r[1];n.scrollToIndex({section:a,row:o,padding:176,callback:function(){requestAnimationFrame((function(){var t;return null===(t=document.getElementById(e))||void 0===t?void 0:t.focus()}))}})}else{var i;null===(i=document.getElementById(e))||void 0===i||i.focus({preventScroll:!0})}}),[]),h=a.useCallback((function(e){var t=y.current;if(null==t)return e;for(var n=t.getItems(),r=0;r<n.length;r++){var a=n[r];if("row"===a.type){var o=a.section,i=a.row,l=a.rowIndex;if(null!=i&&null!=l&&t.isItemVisible(o,i,!0))return l}}return e}),[]),E=o?1:0,g=s+p.length+E,S=s+E,O=(0,i.useListNavigator)({navId:"private-channels",itemCount:g,focusedIndex:S,setFocus:_,getNewFocusIndex:h,enabled:c.keyboardModeEnabled});return a.createElement(Q,N({channels:d,selectedChannelId:u,listRef:y,theme:n,version:t,children:r},e,c,{listNavigator:O}))};ee.displayName="ConnectedPrivateChannelsList";var te=ee;t.default=te},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var i=function(e){var t=e.id,n=e.startColor,r=e.stopColor,a=e.color,i=e.stop;return o("linearGradient",{id:t},void 0,o("stop",{offset:"0",stopColor:n}),o("stop",{offset:i,stopColor:r}),o("stop",{offset:i,stopColor:a}),o("stop",{offset:"1",stopColor:a}))};i.displayName="Gradient";var l=i;t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=l(n(9)),i=l(n(8114));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n),r.prototype.render=function(){var e,t=this.props,n=t.tag,r=t.children,l=t.hoverText,u=t.className,f=t.forceHover,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(t,["tag","children","hoverText","className","forceHover"]);return a.createElement("div",s({},c,{className:(0,o.default)(u,i.default.hoverRoll,(e={},e[i.default.disabled]=null==l,e[i.default.forceHover]=f,e))}),d(n,{className:i.default.hovered},void 0,l),d(n,{className:i.default.default},void 0,r))},r}(a.PureComponent);c.displayName="HoverRoll",c.defaultProps={tag:"div",forceHover:!1};var p=c;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){r.default.push(a.default,{title:l.default.Messages.UPLOAD_AREA_TOO_LARGE_TITLE,help:l.default.Messages.UPLOAD_AREA_TOO_LARGE_HELP.format({maxSize:(0,o.sizeString)(i.MAX_IMAGE_UPLOAD_FILESIZE_BYTES)})})};var r=u(n(397)),a=u(n(8422)),o=n(8289),i=n(9240),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=P,t.CustomColorPicker=t.CustomColorButton=t.DefaultColorButton=void 0;var r,a=g(n(0)),o=h(n(9)),i=g(n(680)),l=n(202),u=h(n(88)),s=h(n(10228)),d=h(n(282)),f=h(n(153)),c=h(n(372)),p=h(n(9241)),v=n(1),y=h(n(6)),m=h(n(7901)),_=h(n(370));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function S(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,O(e,t)}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(){return(I=Object.assign||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}).apply(this,arguments)}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var C=function(){return Promise.resolve()};function b(e){var t,n=e.color,r=e.isDefault,s=void 0!==r&&r,d=e.isCustom,f=void 0!==d&&d,y=e.isSelected,_=void 0!==y&&y,h=e.disabled,E=void 0!==h&&h,g=e.style,S=void 0===g?{}:g,O=e.onClick,C=(0,i.useListItem)("color-"+n),b=null!=n?(0,l.int2hex)(n):S.backgroundColor,M=!1;return f&&!_?M=!0:(f||_)&&(M=(0,l.getDarkness)(n)>.1),T(u.default,{offset:-2},void 0,a.createElement("button",I({type:"button",className:(0,o.default)(m.default.colorPickerSwatch,(t={},t[m.default.disabled]=E,t[m.default.default]=s,t[m.default.custom]=f,t[m.default.noColor]=null==n,t)),disabled:E,onClick:function(){return null==O?void 0:O(n)},style:I({},S,{backgroundColor:b})},C),f?T(p.default,{className:m.default.colorPickerDropper,foreground:m.default.colorPickerDropperFg,width:14,height:14,color:M?v.Colors.WHITE:v.Colors.BLACK}):null,function(){var e=16,t=16;if((f||s)&&(e=32,t=24),_)return T(c.default,{width:e,height:t,color:M?v.Colors.WHITE:v.Colors.BLACK})}()))}b.displayName="Swatch";var M=function(e){function t(){return e.apply(this,arguments)||this}return S(t,e),t.prototype.render=function(){var e=this.props,t=e.color,n=e.onChange,r=e.value;return T(b,{isDefault:!0,color:t,isSelected:t===r||0===r,onClick:n,disabled:e.disabled})},t}(a.PureComponent);t.DefaultColorButton=M,M.displayName="DefaultColorButton";var N=function(e){function t(){return e.apply(this,arguments)||this}return S(t,e),t.prototype.render=function(){var e=this.props,t=e.customColor;return T(b,{isCustom:!0,color:t,isSelected:e.value===t,disabled:e.disabled})},t}(a.PureComponent);t.CustomColorButton=N,N.displayName="CustomColorButton";var A=function(e){function t(t){var n;(n=e.call(this,t)||this).handleHexChange=function(e){var t="#"===e[0]?e:"#"+e,r=(0,l.isValidHex)(t);n.setState({color:t,validColor:r?t:n.state.validColor}),r&&n.callOnChange(t)},n.handleOnChange=function(e){n.setState({color:e.hex,validColor:e.hex})},n.handleOnChangeComplete=function(e){n.callOnChange(e.hex)};var r=t.value,a=(0,l.int2hex)(null!=r?r:0);return n.state={color:a,validColor:a},n}S(t,e);var n=t.prototype;return n.componentWillUnmount=function(){var e=this.props.onClose;e&&e()},n.render=function(){var e=this.state,t=e.color,n=e.validColor;return T(d.default,{"aria-label":y.default.Messages.PICK_A_COLOR,className:m.default.colorPickerCustom},void 0,T(s.default,{onChangeComplete:this.handleOnChangeComplete,onChange:this.handleOnChange,color:n}),T(f.default,{className:(0,o.default)(m.default.customColorPickerInput,_.default.marginTop8),value:t,onChange:this.handleHexChange,maxLength:7}))},n.callOnChange=function(e){(0,this.props.onChange)((0,l.hex2int)(e))},t}(a.PureComponent);function P(e){var t=e.className,n=e.defaultColor,r=e.customColor,l=e.colors,u=e.value,s=e.disabled,d=e.onChange,f=e.renderDefaultButton,c=e.renderCustomButton,p=e.colorContainerClassName,v=function(e){return T("div",{className:m.default.colorPickerRow},void 0,e.map((function(e){return T(b,{color:e,isSelected:e===u,onClick:d,disabled:s},e)})))},y=l.slice(0,l.length/2),_=l.slice(l.length/2,l.length),h=(0,i.default)({id:"color-picker",isEnabled:!0,scrollToStart:C,scrollToEnd:C});return T(i.ListNavigatorProvider,{navigator:h},void 0,T(i.ListNavigatorContainer,{},void 0,(function(e){var i=e.ref,l=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["ref"]);return a.createElement("div",I({className:(0,o.default)(m.default.container,t),ref:i},l),T("div",{className:(0,o.default)(m.default.defaultContainer,p)},void 0,f({value:u,color:n,onChange:d,disabled:s})),T("div",{className:(0,o.default)(m.default.customContainer,p)},void 0,c({value:u,customColor:r,disabled:s})),T("div",{className:m.default.presets},void 0,v(y),v(_)))})))}t.CustomColorPicker=A,A.displayName="CustomColorPicker",P.displayName="ColorPicker"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(10472),l=n(8285),u=(r=n(7900))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),r.prototype.render=function(){return f("div",{className:u.default.wrapper},void 0,f("div",{className:u.default.saturation},void 0,o.createElement(l.Saturation,this.props)),f("div",{className:u.default.hue},void 0,o.createElement(l.Hue,d({},this.props,{direction:"horizontal"}))))},r}(o.PureComponent);p.displayName="ColorPickerControl";var v=(0,i.CustomPicker)(p);t.default=v},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(8)),a=l(n(211)),o=l(n(3)),i=l(n(2));n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=!1,f=[];var c=new(function(e){var t,n,r,a,o;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n),i.prototype.getBackupCodes=function(){return f},r=i,(a=[{key:"togglingSMS",get:function(){return d}}])&&u(r.prototype,a),o&&u(r,o),i}(o.default.Store))(i.default,{MFA_ENABLE_SUCCESS:function(e){var t=e.token,n=e.codes;a.default.setToken(t),f=n},MFA_DISABLE_SUCCESS:function(e){var t=e.token;a.default.setToken(t)},MFA_SMS_TOGGLE:function(e){d=!0},MFA_SMS_TOGGLE_COMPLETE:function(e){d=!1},MFA_CLEAR_BACKUP_CODES:function(e){f=[]},MFA_VIEW_BACKUP_CODES:function(e){var t=e.codes;f=r.default.sortBy(t,"code")}});t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatExpiration=f,t.default=void 0;var r,a=(r=n(11608))&&r.__esModule?r:{default:r};var o={type:"",gaps:[4,8,12],lengths:[16],code:{name:"CVV",size:3}},i=/[^0-9]/g,l=/[^0-9/]/g;function u(e){for(var t=s(e).split(""),n=d(e),r=0;r<n.gaps.length;){var a=n.gaps[r]+r;if(!(a<t.length))break;t.splice(a,0," "),r+=1}return t.join("")}function s(e){return e.replace(i,"")}function d(e){var t=s(e);return t&&(0,a.default)(t)[0]||o}function f(e){var t=e.replace(l,"").split("/"),n=t[0],r=t[1],a=[];return parseInt(n,10)>12&&(n=n.substring(0,1)),a.push(n),(parseInt(n,10)>1||2===n.length||r)&&a.push("/"),r&&parseInt(r,10)>99&&(r=(r+"").substring(0,2)),a.push(r),a.join("")}var c={DEFAULT_CARD_TYPE:o,prettifyCreditCardNumber:u,formatCreditCardNumber:function(e){var t=s(e);return d(t),u(t)},getCreditCardType:d,cleanCardNumber:s,validateCardNumber:function(e){var t=d(e);if(null==t)throw new Error("Could not recognize card type.");if(!t.lengths.includes(e.length))throw new Error("Card number length is incorrect.")},getTypeInfo:function(e){return a.default.getTypeInfo(e)},formatExpiration:f};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=y(n(0)),o=p(n(9)),i=p(n(88)),l=y(n(474)),u=p(n(8978)),s=n(1),d=p(n(6)),f=p(n(7903)),c=p(n(370));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var _=0,h=function(e){switch(e){case s.OverlayNotificationPositions.TOP_LEFT:return d.default.Messages.OVERLAY_NOTIFICATIONS_TOP_LEFT;case s.OverlayNotificationPositions.TOP_RIGHT:return d.default.Messages.OVERLAY_NOTIFICATIONS_TOP_RIGHT;case s.OverlayNotificationPositions.BOTTOM_LEFT:return d.default.Messages.OVERLAY_NOTIFICATIONS_BOTTOM_LEFT;case s.OverlayNotificationPositions.BOTTOM_RIGHT:return d.default.Messages.OVERLAY_NOTIFICATIONS_BOTTOM_RIGHT;default:return d.default.Messages.OVERLAY_NOTIFICATIONS_DISABLED}},E=[s.OverlayNotificationPositions.DISABLED,s.OverlayNotificationPositions.TOP_LEFT,s.OverlayNotificationPositions.TOP_RIGHT,s.OverlayNotificationPositions.BOTTOM_LEFT,s.OverlayNotificationPositions.BOTTOM_RIGHT];function g(e){var t,n=e.position,r=e.onChange,p=a.useState((function(){return"notification-position-selector-"+_++}))[0],v=n===s.OverlayNotificationPositions.DISABLED?d.default.Messages.OVERLAY_NOTIFICATION_SETTINGS_DISABLED:d.default.Messages.OVERLAY_NOTIFICATION_SETTINGS_POSITION.format({position:h(n)});return m("div",{},void 0,m(i.default,{within:!0,offset:-2},void 0,m("div",{className:(0,o.default)(f.default.wrapper,(t={},t[f.default.disabledSelected]=n===s.OverlayNotificationPositions.DISABLED,t))},void 0,E.map((function(e){var t;return m("label",{className:(0,o.default)((t={},t[f.default.selected]=e===n,t[f.default.disabled]=e===s.OverlayNotificationPositions.DISABLED,t[f.default.topRight]=e===s.OverlayNotificationPositions.TOP_RIGHT,t[f.default.topLeft]=e===s.OverlayNotificationPositions.TOP_LEFT,t[f.default.bottomRight]=e===s.OverlayNotificationPositions.BOTTOM_RIGHT,t[f.default.bottomLeft]=e===s.OverlayNotificationPositions.BOTTOM_LEFT,t))},e,h(e),e===s.OverlayNotificationPositions.DISABLED?m(u.default,{className:f.default.disabledIcon}):null,m("input",{type:"radio",name:p,value:e,onChange:function(t){return r(t,e)},className:f.default.hiddenInput}))})))),m(l.default,{type:l.Types.DESCRIPTION,className:c.default.marginTop8},void 0,v))}g.displayName="NotificationSettings",g.Positions=s.OverlayNotificationPositions;var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(1234)),i=p(n(391)),l=n(42),u=p(n(10)),s=p(n(10237)),d=n(1),f=p(n(6)),c=p(n(7909));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).sendToChannel=function(e){var n=t.props,r=n.activity,a=n.onClose,i=e.record.id,s=u.default.getChannel(i);if(null!=s){switch(s.type){case d.ChannelTypes.DM:case d.ChannelTypes.GROUP_DM:(0,l.transitionTo)(d.Routes.CHANNEL(d.ME,s.id));break;case d.ChannelTypes.GUILD_TEXT:(0,l.transitionTo)(d.Routes.CHANNEL(s.guild_id,s.id))}setTimeout((function(){return o.default.sendActivityInvite({channelId:i,type:d.ActivityActionTypes.JOIN,activity:r,location:"Activity Panel- Invite to Join"}).then(a,a)}),200)}},t.sendToUser=function(e){var n=t.props,r=n.activity,a=n.onClose,l=e.record.id;i.default.openPrivateChannel(l).then((function(){o.default.sendActivityInviteUser({userId:l,type:d.ActivityActionTypes.JOIN,activity:r,location:"Activity Panel- Invite to Join"}).then(a,a)}))},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n),r.prototype.render=function(){var e=this.props,t=e.activity,n=e.transitionState,r=e.onClose;return y(s.default,{title:f.default.Messages.USER_ACTIVITY_INVITE_TO_JOIN.format({name:t.name}),sendToChannel:this.sendToChannel,sendToUser:this.sendToUser,className:c.default.modal,onClose:r,transitionState:n})},r}(a.PureComponent);t.default=_,_.displayName="UserActivityInviteModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=T(n(0)),o=O(n(9)),i=O(n(8297)),l=T(n(714)),u=O(n(10)),s=O(n(15)),d=O(n(12)),f=O(n(699)),c=n(9071),p=O(n(151)),v=O(n(159)),y=n(35),m=O(n(1210)),_=n(121),h=n(1),E=O(n(6)),g=O(n(7908)),S=O(n(370));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(){var e=[];return f.default.getPrivateChannelIds().forEach((function(t){var n=u.default.getChannel(t);if(null!=n)if(n.type===h.ChannelTypes.DM){var r=n.getRecipientId(),a=null!=r?d.default.getUser(r):null;null!=a&&e.push({type:l.AutocompleterResultTypes.USER,record:a,score:0})}else n.isMultiUserDM()&&e.push({type:l.AutocompleterResultTypes.GROUP_DM,record:n,score:0})})),e}var N=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this)._scrollerRef=a.createRef(),t.state={autocompleter:null,results:[],query:"",selectedRow:0,sendingRecordId:null,keyboardMode:!0},t.scrollPageUp=function(){var e;null===(e=t._scrollerRef.current)||void 0===e||e.scrollPageUp({animate:!0})},t.scrollPageDown=function(){var e;null===(e=t._scrollerRef.current)||void 0===e||e.scrollPageDown({animate:!0})},t.handleResultsChange=function(e,n){var r=""===n.trim()?M():e;t.setState({results:r})},t.handleKeyDown=function(){t.state.keyboardMode||t.setState({keyboardMode:!0})},t.disableKeyboardMode=function(){t.setState({keyboardMode:!1})},t.handleMouseEnter=function(e){t.state.keyboardMode||t.setState({selectedRow:e})},t.handleSend=function(e){var n=t.props,r=n.sendToChannel,a=n.sendToUser,o=t.state.results[e],i=null!=o?o.record:null,u=t.state.sendingRecordId;if(null!=i&&null!=i.id&&null!=o&&null==u)switch(t.setState({sendingRecordId:i.id}),o.type){case l.AutocompleterResultTypes.GROUP_DM:case l.AutocompleterResultTypes.TEXT_CHANNEL:r(o);break;case l.AutocompleterResultTypes.USER:a(o)}},t.handleSelect=function(e,n){null==n?t.handleClear():t.handleSend(n)},t.handleSelectionChange=function(e,n){t.setState({selectedRow:n})},t.handleQueryChange=function(e){t.query(e)},t.handleClear=function(){t.query("")},t.getRowHeight=function(e,n){return e>0?0:null!=t.state.results[n]?34:0},t.renderRow=function(e){var n=e.section,r=e.row;if(n>0)return null;var a=t.state.results[r];return null!=a?t.renderResult(a,r):null},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,b(t,n);var u=r.prototype;return u.componentDidMount=function(){var e=new l.default(this.handleResultsChange,[l.AutocompleterResultTypes.TEXT_CHANNEL,l.AutocompleterResultTypes.GROUP_DM,l.AutocompleterResultTypes.USER],100);e.search("");var t=e.results;this.setState((function(){return{autocompleter:e,results:t}})),_.ComponentDispatch.subscribe(h.ComponentActions.SCROLL_PAGE_UP,this.scrollPageUp),_.ComponentDispatch.subscribe(h.ComponentActions.SCROLL_PAGE_DOWN,this.scrollPageDown)},u.componentDidUpdate=function(e,t){var n=this.state.query,r=this._scrollerRef.current;n!==t.query&&null!=r&&r.scrollTo({to:0})},u.componentWillUnmount=function(){var e=this.state.autocompleter;null!=e&&e.destroy()},u.query=function(e){var t=this.state,n=t.results,r=t.autocompleter;null!=r&&(r.search(e),n=r.results),this.setState({query:e,selectedRow:0,results:n}),_.ComponentDispatch.unsubscribe(h.ComponentActions.SCROLL_PAGE_UP,this.scrollPageUp),_.ComponentDispatch.unsubscribe(h.ComponentActions.SCROLL_PAGE_DOWN,this.scrollPageDown)},u.scrollIntoView=function(e){var t=this.state.keyboardMode,n=this._scrollerRef.current;t&&null!=n&&n.scrollToIndex({section:0,row:e,padding:10})},u.renderResult=function(e,t){var n=this,r=this.state,a=r.selectedRow,o=r.sendingRecordId;switch(e.type){case l.AutocompleterResultTypes.TEXT_CHANNEL:var i=s.default.getGuild(e.record.guild_id);return C(c.Channel,{focused:a===t,onClick:function(){return n.handleSend(t)},onFocus:function(){return n.scrollIntoView(t)},onMouseEnter:function(){return n.handleMouseEnter(t)},channel:e.record},e.type+"-"+e.record.id,C("div",{className:g.default.miscContainer},void 0,o===e.record.id?C(p.default,{type:p.default.Type.PULSING_ELLIPSIS}):null!=i?i.name:null));case l.AutocompleterResultTypes.GROUP_DM:return C(c.GroupDM,{focused:a===t,onClick:function(){return n.handleSend(t)},onFocus:function(){return n.scrollIntoView(t)},onMouseEnter:function(){return n.handleMouseEnter(t)},channel:e.record,mentions:0},e.type+"-"+e.record.id,o===e.record.id?C(p.default,{type:p.default.Type.PULSING_ELLIPSIS}):null);case l.AutocompleterResultTypes.USER:return C(c.User,{focused:a===t,onClick:function(){return n.handleSend(t)},onFocus:function(){return n.scrollIntoView(t)},onMouseEnter:function(){return n.handleMouseEnter(t)},user:e.record,mentions:0,comparator:e.comparator},e.type+"-"+e.record.id,o===e.record.id?C(p.default,{type:p.default.Type.PULSING_ELLIPSIS}):null)}},u.renderSection=function(){return null},u.render=function(){var e=this.props,t=e.className,n=e.renderFooter,r=e.title,l=e.onClose,u=e.transitionState,s=this.state,d=s.query,f=s.selectedRow,c=s.results,p=s.keyboardMode;return C("div",{className:g.default.wrapper,onMouseMove:p?this.disableKeyboardMode:void 0},void 0,C(y.ModalRoot,{transitionState:u,size:y.ModalSize.DYNAMIC,className:(0,o.default)(g.default.modalSize,t),"aria-label":r},void 0,C(y.ModalHeader,{},void 0,C(y.ModalCloseButton,{className:g.default.closeButton,onClick:l}),C("div",{className:g.default.header},void 0,C(v.default,{tag:v.default.Tags.H2,className:S.default.marginBottom8},void 0,r),C(i.default,{size:i.default.Sizes.MEDIUM,query:d,selectedSection:0,selectedRow:f,sections:[c.length],className:g.default.queryInput,onSelect:this.handleSelect,onSelectionChange:this.handleSelectionChange,onQueryChange:this.handleQueryChange,onKeyDown:this.handleKeyDown,placeholder:E.default.Messages.ACTIVITY_FEED_SHARE_MODAL_SEARCH_PLACEHOLDER,autoFocus:!0,onClear:this.handleClear}))),0===c.length?C("div",{className:g.default.noResults}):a.createElement(m.default,{ref:this._scrollerRef,sections:[c.length],renderSection:this.renderSection,sectionHeight:0,renderRow:this.renderRow,rowHeight:this.getRowHeight,paddingBottom:20}),null!=n?n():null))},r}(a.PureComponent);t.default=N,N.displayName="ChannelSelectModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,d:"m4 3.33325h6.9167c-.0834.25-.0834.58334-.0834.83334 0 3.25 2.5834 5.83333 5.8334 5.83333.25 0 .5833 0 .8333-.08334v3.91672c0 .8333-.6667 1.5-1.5 1.5h-6.75l-3 3v-3h-2.25c-.83333 0-1.5-.6667-1.5-1.5v-9.00005c0-.83333.66667-1.5 1.5-1.5z"}),s("path",{className:f,fill:d,d:"m20.0002 4.08325-3.5-3.499998-1 1.083338 1.6666 1.66666h-3.8333v1.5h3.8333l-1.6666 1.66667 1.0833 1.08333z"}))}d.displayName="GoToMessage"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i,l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),u=g(n(9)),s=g(n(3)),d=g(n(94)),f=g(n(39)),c=g(n(29)),p=g(n(278)),v=g(n(149)),y=g(n(10240)),m=g(n(8778)),_=g(n(9246)),h=n(1),E=g(n(7913));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(){return(O=Object.assign||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}).apply(this,arguments)}function I(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,o=arguments.length-3;if(t||0===o||(t={children:void 0}),1===o)t.children=r;else if(o>1){for(var l=new Array(o),u=0;u<o;u++)l[u]=arguments[u+3];t.children=l}if(t&&a)for(var s in a)void 0===t[s]&&(t[s]=a[s]);else t||(t=a||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var C=((r={})[h.RTCConnectionQuality.UNKNOWN]=v.default.Colors.BLACK,r[h.RTCConnectionQuality.BAD]=v.default.Colors.RED,r[h.RTCConnectionQuality.AVERAGE]=v.default.Colors.YELLOW,r[h.RTCConnectionQuality.FINE]=v.default.Colors.GREEN,r),b=((a={})[h.ConnectionStatus.CONNECTED]=E.default.rtcConnectionStatusConnected,a[h.ConnectionStatus.CONNECTING]=E.default.rtcConnectionStatusConnecting,a[h.ConnectionStatus.ERROR]=E.default.rtcConnectionStatusError,a),M=((o={})[h.RTCConnectionQuality.FINE]=E.default.rtcConnectionQualityFine,o[h.RTCConnectionQuality.AVERAGE]=E.default.rtcConnectionQualityAverage,o[h.RTCConnectionQuality.BAD]=E.default.rtcConnectionQualityBad,o[h.RTCConnectionQuality.UNKNOWN]=null,o),N=s.default.connectStores([d.default,f.default],(function(){return{theme:f.default.theme,connectionState:d.default.getState(),hostname:d.default.getHostname(),averagePing:d.default.getAveragePing(),lastPing:d.default.getLastPing(),outboundLossRate:d.default.getOutboundLossRate()}}))(_.default),A=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).renderPopout=function(e){return l.createElement(N,e)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,T(t,n);var a=r.prototype;return a.renderPopoutTarget=function(e){return I(p.default,{renderPopout:this.renderPopout,position:p.default.Positions.TOP},void 0,e)},a.renderStatus=function(){var e=this.props,t=e.statusTextClassName,n=e.hasVideo,r=e.state,a=m.default.getStatus(r,n),o=a.connectionStatus,i=a.connectionStatusText;return this.renderPopoutTarget((function(e){var n=e.onClick;return I(c.default,{look:c.default.Looks.BLANK,size:c.default.Sizes.NONE,className:(0,u.default)(t,b[o]),onClick:n},void 0,i)}))},a.render=function(){var e,t=this.props,n=t.quality,r=t.smallPing,a=t.lastPing,o=t.state,i=t.className,s=t.children;return o===h.RTCConnectionStates.RTC_CONNECTED&&(e=I(v.default,{text:n!==h.RTCConnectionQuality.UNKNOWN&&null!=a?a.toFixed(0)+" ms":null,color:C[n]},void 0,(function(e){var t;return l.createElement(y.default,O({className:(0,u.default)(E.default.ping,(t={},t[E.default.smallPing]=r,t)),foreground:E.default.pingForeground},e))}))),I("div",{},void 0,I("div",{className:(0,u.default)(E.default.rtcConnectionStatus,M[n],i)},void 0,e,I("div",{className:E.default.labelWrapper},void 0,this.renderStatus())),s)},r}(l.PureComponent);A.displayName="RTCConnectionStatus";var P=A;t.default=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{d:"M7.19999 18C7.19999 17.3364 6.77 16.8 6.24019 16.8H3.3598C2.82999 16.8 2.39999 17.3364 2.39999 18V20.4C2.39999 21.0636 2.82999 21.6 3.3598 21.6H6.23923C6.76904 21.6 7.19903 21.0636 7.19903 20.4V18H7.19999Z",fill:d,className:f}),s("path",{d:"M14.4 10.6909C14.4 10.0876 13.9699 9.6 13.44 9.6H10.56C10.0301 9.6 9.60001 10.0876 9.60001 10.6909V20.5091C9.60001 21.1124 10.0301 21.6 10.56 21.6H13.44C13.9699 21.6 14.4 21.1124 14.4 20.5091V10.6909Z",fill:d,className:f}),s("path",{d:"M21.6 3.46667C21.6 2.8768 21.1699 2.4 20.64 2.4H17.76C17.2301 2.4 16.8 2.8768 16.8 3.46667V20.5333C16.8 21.1232 17.2301 21.6 17.76 21.6H20.64C21.1699 21.6 21.6 21.1232 21.6 20.5333V3.46667Z",fill:d,className:f}))}d.displayName="Ping"},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Item=S,t.valueRenderers=t.hidden=t.graphs=t.labelRenderers=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(8794)),o=l(n(11738)),i=l(n(10494));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d={accelerateRate:"Accelerate Rate",audioDetected:"Audio Detected",audioLevel:"Audio Level",availableOutgoingBitrate:"Available Outgoing Bitrate",averageDecodeTime:"Average Decode Time",averageEncodeTime:"Average Encode Time",bandwidthLimitedResolution:"Bandwidth Limited Resolution",bitrate:"Bitrate",bitrateTarget:"Bitrate (Target)",bytesReceived:"Bytes Received",bytesSent:"Bytes Sent",capturedFramesCount:"Captured Frames per Second",capturedFramesDropped:"Captured Frames Dropped",capturedFramesMean:"Captured Frames Mean (ms)",capturedFramesStdev:"Captured Frames Standard Deviation (ms)",codec:"Codec",cpuLimitedResolution:"CPU Limited Resolution",currentDelay:"Current Delay",decoderImplementationName:"Decoder",decodingCNG:"Decoding CNG",decodingMutedOutput:"Decoding Muted Output",decodingNormal:"Decoding Normal",decodingPLC:"Decoding PLC",decodingPLCCNG:"Decoding PLC CNG",decryptionFailures:"Decryption Failures",delayEstimate:"Delay Estimate",encoderImplementationName:"Encoder",encodeUsage:"Encode Usage",expandRate:"Expand Rate",firCount:"FIR",fractionLost:"Packet Loss",frameRateDecode:"Frame Rate (Decode)",frameRateEncode:"Frame Rate (Encode)",frameRateInput:"Frame Rate (Input)",frameRateNetwork:"Frame Rate (Network)",frameRateRender:"Frame Rate (Render)",framesDecoded:"Frames Decoded",framesDropped:"Frames Dropped",framesEncoded:"Frames Encoded",framesReceived:"Frames Received",framesSent:"Frames Sent",hostname:"Hostname",hybridDxgiFrames:"Hybrid DXGI Frames",hybridGdiFrames:"Hybrid GDI Frames",hybridVideohookFrames:"Hybrid Videohook Frames",inboundBitrateEstimate:"Inbound Bitrate Estimate",jitter:"Jitter",jitterBuffer:"Jitter Buffer",jitterBufferPreferred:"Jitter Buffer (Preferred)",localAddress:"Local Address",minPlayoutDelay:"Minimum Playout Delay",nackCount:"NACK",opAccelerate:"Accelerated Frames",opCNG:"CNG Frames",opExpand:"Expand Frames",opMerge:"Merge Frames",opNormal:"Normal Frames",opPreemptiveExpand:"Preemptive Expand Frames",opSilence:"Silent Frames",outboundBitrateEstimate:"Outbound Bitrate Estimate",pacerDelay:"Pacer Delay",packetsLost:"Packets Lost",packetsReceived:"Packets Received",packetsSent:"Packets Sent",ping:"Ping",pliCount:"PLI",preemptiveExpandRate:"Pre-emptive Expand Rate",qpSum:"qpSum",receiverBitrateEstimate:"Receiver Bitrate Estimate (REMB)",relativePlayoutDelay:"Relative Playout Delay",relativeReceptionDelay:"Relative Reception Delay",renderDelay:"Render Delay",resolution:"Resolution",screenshareFrames:"WebRTC Frames",secondaryDecodedRate:"Secondary Decode Rate",sinkWant:"Sink Quality Level",speechExpandRate:"Speech Expand Rate",ssrc:"SSRC",targetDelay:"Target Delay",videohookBackend:"Videohook Backend",videohookFrames:"Videohook Frames"};function f(e){return(e/1e3).toFixed(2)+" Kbps"}function c(e){return a.default.filesize(e)}function p(e){return e}function v(e){return e+" ms"}function y(e){return e.toFixed(0)+"%"}function m(e){return e?"Yes":"No"}function _(e){return e.last+" ms"}t.labelRenderers=d;var h={availableOutgoingBitrate:!0,bitrate:!0,bitrateTarget:!0,bytesReceived:!0,bytesSent:!0,encodeUsage:!0,frameRateDecode:!0,frameRateEncode:!0,frameRateInput:!0,frameRateNetwork:!0,frameRateRender:!0,inboundBitrateEstimate:!0,packetsLost:!0,packetsReceived:!0,packetsSent:!0,ping:!0};t.graphs=h;t.hidden={audioJitterBuffer:!0,audioJitterDelay:!0,audioJitterTarget:!0,audioPlayoutUnderruns:!0,fractionLost:!0,framesCaptured:!0,framesRendered:!0,noiseCancellerProcessTime:!0,timestamp:!0,type:!0,videoJitterBuffer:!0,videoJitterDelay:!0,videoJitterTarget:!0,voiceActivityDetectorProcessTime:!0};var E={accelerateRate:y,audioDetected:m,audioLevel:function(e){return Math.max(e,0).toFixed(2)+" dB"},availableOutgoingBitrate:f,averageDecodeTime:v,averageEncodeTime:v,bandwidthLimitedResolution:m,bitrate:f,bitrateTarget:f,bytesReceived:c,bytesSent:c,codec:function(e){var t=e.id,n=e.name;return""+(n=n||"unknown")[0].toUpperCase()+n.slice(1)+" ("+t+")"},cpuLimitedResolution:m,currentDelay:v,decoderImplementationName:p,delayEstimate:v,encoderImplementationName:p,encodeUsage:y,expandRate:y,fractionLost:y,inboundBitrateEstimate:f,jitter:v,jitterBuffer:v,jitterBufferPreferred:v,minPlayoutDelay:v,outboundBitrateEstimate:f,pacerDelay:v,ping:v,preemptiveExpandRate:y,receiverBitrateEstimate:f,relativePlayoutDelay:_,relativeReceptionDelay:_,renderDelay:v,resolution:function(e){return e.width+"x"+e.height},secondaryDecodedRate:y,speechExpandRate:y,targetDelay:v,videohookBackend:function(e){var t=["N/A","Direct3D 9","Direct3D 10","Direct3D 11","Direct3D 12","OpenGL","Vulkan"];return e<t.length?t[e]:"Unknown"}};function g(e){return s(o.default,{datapoint:e})}function S(e){var t=e.label,n=e.value,r=e.section,a=E[t]||function(e){return e};return s(i.default,{label:t,valueRendered:a(n),section:r,renderGraph:h[t]&&g.bind(null,n)},void 0,d[t]||t)}t.valueRenderers=E,g.displayName="renderGraph",S.displayName="Item"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=L();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=R(n(9)),l=R(n(23)),u=R(n(8)),s=R(n(273)),d=R(n(3)),f=R(n(469)),c=R(n(1327)),p=n(8535),v=n(9249),y=R(n(403)),m=R(n(105)),_=R(n(1397)),h=R(n(61)),E=R(n(1165)),g=R(n(47)),S=R(n(24)),O=n(468),I=n(121),T=n(1247),C=R(n(10245)),b=R(n(1257)),M=n(1),N=R(n(6)),A=R(n(7916)),P=R(n(5710));function R(e){return e&&e.__esModule?e:{default:e}}function L(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return L=function(){return e},e}function D(){return(D=Object.assign||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}).apply(this,arguments)}function w(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,j(e,t)}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var U=((r={})[M.Arrows.UP]=u.default.throttle((function(){return(0,T.playSound)("ddr-up")}),100),r[M.Arrows.DOWN]=u.default.throttle((function(){return(0,T.playSound)("ddr-down")}),100),r[M.Arrows.LEFT]=u.default.throttle((function(){return(0,T.playSound)("ddr-left")}),100),r[M.Arrows.RIGHT]=u.default.throttle((function(){return(0,T.playSound)("ddr-right")}),100),r),G=(0,u.default)((0,p.getDefaultLayoutContent)()).groupBy((function(e){return e.group})).value();function F(e){switch(e.keyCode){case M.KeyboardKeys.ARROW_UP:return M.Arrows.UP;case M.KeyboardKeys.ARROW_DOWN:return M.Arrows.DOWN;case M.KeyboardKeys.ARROW_LEFT:return M.Arrows.LEFT;case M.KeyboardKeys.ARROW_RIGHT:return M.Arrows.RIGHT;default:return null}}function B(){var e=[p.KeybindGroup.MESSAGE,p.KeybindGroup.NAVIGATION,p.KeybindGroup.VOICE_AND_VIDEO,p.KeybindGroup.CHAT,p.KeybindGroup.MISCELLANEOUS];return k("div",{className:A.default.keyboardShortcutList},void 0,e.map((function(t,n){var r,a=n===e.length-1,o=0===n,l=G[t],u=(0,p.getNameForKeybindGroup)(t),s=(0,p.getDescriptionForKeybindGroup)(t);return k("div",{className:(0,i.default)(A.default.keyboardShortcutListGroup,(r={},r[A.default.firstGroup]=o,r))},void 0,k("div",{className:(0,i.default)(A.default.keybindGroup)},t,k(g.default,{size:g.default.Sizes.SIZE_16},void 0,u),null!=s&&k(S.default,{className:A.default.keybindGroupDescription},void 0,s)),l.map((function(e,t){var n;return!1===(null===(n=e.predicate)||void 0===n?void 0:n.call(e))?null:k("div",{className:(0,i.default)(A.default.keybindGroup)},t,k("div",{className:A.default.keybindDescription},void 0,e.description),k("div",{className:"keybind-shortcuts"},void 0,e.binds.map((function(e){return k(b.default,{shortcut:e},e)}))))})),!a&&k(E.default,{className:A.default.keybindGroupDivider}))})))}B.displayName="HotkeyLayoutContent";var H=k(B,{}),x=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={UP:!1,DOWN:!1,LEFT:!1,RIGHT:!1,opacity:new s.default.Value(1),scaleX:new s.default.Value(1),scaleY:new s.default.Value(0),animating:!1},t.scrollerRef=o.createRef(),t.lastInputedKeys=[],t.scrollPageUp=function(){var e=t.scrollerRef.current;(0,l.default)(null!=e,"Scroller is pagedUp when not mounted"),e.scrollPageUp({animate:!0})},t.scrollPageDown=function(){var e=t.scrollerRef.current;(0,l.default)(null!=e,"Scroller is pagedDown when not mounted"),e.scrollPageDown({animate:!0})},t.arrowUp=function(e){var n,r=e.direction;t.setState(((n={})[r]=!1,n))},t.arrowDown=function(e){var n,r=e.direction;U[r](),t.setState(((n={})[r]=!0,n))},t.componentWillLeave=function(e){t.setState({animating:!0}),t.state.opacity.setValue(1),t.state.scaleX.setValue(.5),t.state.scaleY.setValue(1),s.default.sequence([s.default.timing(t.state.opacity,{toValue:.7,duration:1e3/60*2}),s.default.timing(t.state.opacity,{toValue:1,duration:1e3/60*2}),s.default.timing(t.state.opacity,{toValue:.7,duration:1e3/60*2}),s.default.timing(t.state.opacity,{toValue:1,duration:1e3/60*2}),s.default.timing(t.state.opacity,{delay:300,toValue:.7,duration:1e3/60*2}),s.default.timing(t.state.opacity,{toValue:1,duration:1e3/60*2}),s.default.timing(t.state.opacity,{toValue:.7,duration:1e3/60*2}),s.default.timing(t.state.opacity,{toValue:1,duration:1e3/60*2}),s.default.timing(t.state.opacity,{toValue:.7,duration:1e3/60*2}),s.default.timing(t.state.opacity,{toValue:1,duration:1e3/60*2}),s.default.timing(t.state.opacity,{toValue:.7,duration:1e3/60*2}),s.default.timing(t.state.opacity,{toValue:1,duration:1e3/60*2}),s.default.timing(t.state.scaleY,{delay:100,toValue:.005,duration:1e3/60*8,easing:s.default.Easing.in(s.default.Easing.ease)}),s.default.parallel([s.default.timing(t.state.scaleX,{toValue:1,duration:1e3/60*10,easing:s.default.Easing.out(s.default.Easing.ease)}),s.default.timing(t.state.opacity,{toValue:0,duration:200})])]).start(e)},t.toggleOpacity=function(){1===t.state.opacity._value?t.state.opacity.setValue(0):t.state.opacity.setValue(1)},t.getStyles=function(){return{opacity:t.state.opacity.interpolate({inputRange:[0,1],outputRange:[0,1]}),transform:[{scaleX:t.state.scaleX.interpolate({inputRange:[0,1],outputRange:[0,2]})},{scaleY:t.state.scaleY.interpolate({inputRange:[0,1],outputRange:[0,1]})}]}},t.handleKeyDown=function(e){if(t.lastInputedKeys.push(e.keyCode),t.lastInputedKeys=t.lastInputedKeys.slice(-5),t.lastInputedKeys[0]===M.KeyboardKeys.H&&t.lastInputedKeys[1]===M.KeyboardKeys.H&&t.lastInputedKeys[2]===M.KeyboardKeys.ARROW_RIGHT&&t.lastInputedKeys[3]===M.KeyboardKeys.N&&t.lastInputedKeys[4]===M.KeyboardKeys.K&&t.props.activateRagingDemon(),!t.props.keyboardModeEnabled){var n=F(e);null!==n&&(e.stopPropagation(),e.preventDefault(),t.arrowDown({direction:n}))}},t.handleKeyUp=function(e){if(!t.props.keyboardModeEnabled){var n=F(e);null!==n&&(e.stopPropagation(),e.preventDefault(),t.arrowUp({direction:n}))}},t.onArrowClick=function(e){t.arrowDown({direction:e})},t}w(t,e);var n=t.prototype;return n.componentDidMount=function(){this.lastInputedKeys=[],I.ComponentDispatch.subscribe(M.ComponentActions.SCROLL_PAGE_UP,this.scrollPageUp),I.ComponentDispatch.subscribe(M.ComponentActions.SCROLL_PAGE_DOWN,this.scrollPageDown),window.addEventListener("keydown",this.handleKeyDown,{capture:!0}),window.addEventListener("keyup",this.handleKeyUp,{capture:!0})},n.componentWillUnmount=function(){I.ComponentDispatch.unsubscribe(M.ComponentActions.SCROLL_PAGE_UP,this.scrollPageUp),I.ComponentDispatch.unsubscribe(M.ComponentActions.SCROLL_PAGE_DOWN,this.scrollPageDown),window.removeEventListener("keydown",this.handleKeyDown,{capture:!0}),window.removeEventListener("keyup",this.handleKeyUp,{capture:!0})},n.render=function(){var e=this.state,t=e.UP,n=e.DOWN,r=e.LEFT,a=e.RIGHT;return k(s.default.div,{className:A.default.keyboardShortcutsModal,style:this.getStyles()},void 0,k("h1",{className:A.default.modalTitle},void 0,k("div",{className:A.default.content},void 0,N.default.Messages.KEYBIND_DESCRIPTION_MODAL_TITLE),k(b.default,{shortcut:"mod+/",className:(0,i.default)(P.default.keyboardShortcuts)})),k("div",{className:A.default.modalSubtitle},void 0,N.default.Messages.KEYBIND_DESCRIPTION_MODAL_SUBTITLE),k("div",{className:A.default.ddrArrows},void 0,k(V,{arrow:M.Arrows.LEFT,isActive:r,className:A.default.left},void 0,"left"),k(V,{arrow:M.Arrows.DOWN,isActive:n,className:A.default.down},void 0,"down"),k(V,{arrow:M.Arrows.UP,isActive:t,className:A.default.up},void 0,"up"),k(V,{arrow:M.Arrows.RIGHT,isActive:a,className:A.default.right},void 0,"right")),o.createElement(O.AdvancedScrollerAuto,{ref:this.scrollerRef,fade:!0},H))},t}(o.PureComponent);function V(e){var t,n=e.isActive,r=e.arrow,a=e.className,l=e.children,u=o.useState(n),s=u[0],d=u[1],f=o.useCallback((function(){U[r](),d(!0)}),[r]);return o.useEffect((function(){if(s){var e=setTimeout((function(){return d(!1)}),500);return function(){return clearTimeout(e)}}}),[s]),k(h.default,{onClick:f,className:(0,i.default)(A.default.arrow,a,(t={},t[A.default.active]=n||s,t))},void 0,l)}x.displayName="HotkeyLayout",V.displayName="DDRArrow";var W=k(C.default,{},"raging-demo"),Y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={content:__OVERLAY__?(0,v.getOverlayLayoutContent)():(0,p.getDefaultLayoutContent)()},t}w(t,e);var n=t.prototype;return n.close=function(){c.default.hide()},n.activateRagingDemon=function(){y.default.disable(),c.default.activateRagingDemon()},n.render=function(){var e;return e=this.props.ragingDemon?W:k(x,{content:this.state.content,keyboardModeEnabled:this.props.keyboardModeEnabled,activateRagingDemon:this.activateRagingDemon},"modal"),k(f.default,{component:"div"},void 0,e)},t}(o.PureComponent);Y.displayName="KeyboardShortcuts";var z=d.default.connectStores([_.default,m.default],(function(){return D({},_.default.getState(),{keyboardModeEnabled:m.default.keyboardModeEnabled})}),{forwardRef:!0})(Y);z.modalConfig={store:_.default};var K=z;t.default=K},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QUICKSWITCHER_SHOW=void 0;var r=n(1272),a={binds:["mod+k","mod+t"],comboKeysBindGlobal:!0,action:function(){return(0,r.show)("KEYBIND",""),!1}};t.QUICKSWITCHER_SHOW=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=f(n(8)),l=f(n(1327)),u=n(121),s=n(1),d=f(n(7915));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,m(e,t)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=function(){return!0},E=function(){return!0},g=function(){return _("div",{className:d.default.symbol},"symbol",_("div",{className:d.default.symbolBackground}),_("img",{alt:"",src:n(10246)}))};g.displayName="Symbol";var S=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._renderSecondaryTimeout=null,t._doneTimeout=null,t.state={animating:!1,renderSecondary:!1,scale:i.default.random(.6,1,!0),offsetX:i.default.random(0,140,!1)-70,offsetY:i.default.random(0,140,!1)-70},t.done=function(){t.props.onAnimationComplete(t.props.componentId)},t}y(t,e);var r=t.prototype;return r.componentDidMount=function(){var e=this;this.setState({animating:!0}),this._renderSecondaryTimeout=setTimeout((function(){e.setState({renderSecondary:!0})}),120),this._doneTimeout=setTimeout(this.done,1e3),h()},r.componentDidUpdate=function(e,t){this.state.renderSecondary&&!t.renderSecondary&&E()},r.componentWillUnmount=function(){clearTimeout(this._renderSecondaryTimeout),clearTimeout(this._doneTimeout)},r.renderPrimary=function(){return _("div",{className:d.default.primaryExplosion},"primary-explosion",_("img",{alt:"",className:d.default.circleInner,src:n(10247),width:70,height:69}),_("img",{alt:"",className:d.default.circleOuter,src:n(10248),width:96,height:95}),_("img",{alt:"",className:d.default.linesSecondary,src:n(10249),width:183,height:104}),_("img",{alt:"",className:d.default.linesMain,src:n(10250),width:69,height:180}))},r.renderSecondary=function(e,t){return _("div",{className:d.default.secondaryExplosion,style:{top:t,left:e}},"secondary-explosion",_("img",{alt:"",className:d.default.circleInner,src:n(10251),width:61,height:58},"circle-inner"),_("img",{alt:"",className:d.default.circleOuter,src:n(10252),width:85,height:85},"circle-outer"),_("img",{alt:"",className:d.default.linesSecondary,src:n(10253),width:162,height:173},"lines-secondary"),_("img",{alt:"",className:d.default.linesMain,src:n(10254),width:156,height:306},"lines-main"))},r.render=function(){var e,t=this.state,n=t.renderSecondary,r=t.offsetX,a=t.offsetY,i=t.animating,l=t.scale,u=[this.renderPrimary()];return n&&u.push(this.renderSecondary(r,a)),_("div",{className:(0,o.default)(d.default.container,(e={},e[d.default.animate]=i,e)),style:{top:this.props.top,left:this.props.left,transform:"scale("+l+")"}},void 0,u)},t}(a.PureComponent);S.displayName="Explosion";var O=_(g,{},"symbol"),I=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._timeouts=[],t.children=[],t.state={explosions:0},t.setTimeout=function(e,n){var r=setTimeout(e,n);return t._timeouts.push(r),r},t.removeExplosion=function(e){var n=t.children,r=n.findIndex((function(t){if(t.type!==S)return!1;var n=t.props;return null!=n.componentId&&n.componentId===e}));r>=0&&n.splice(r,1),t.forceUpdate()},t.createExplosion=function(){var e=t.children,n=window.innerWidth/2>>0,r=window.innerHeight/2>>0;if(t.state.explosions<8){var a="expl-"+t.state.explosions;e.push(_(S,{componentId:a,top:i.default.random(r-100,r+100,!1),left:i.default.random(n-200,n+200,!1),onAnimationComplete:t.removeExplosion},a)),t.setTimeout(t.createExplosion,240),t.setState({explosions:t.state.explosions+1})}else t.setTimeout(t.addSymbol,750)},t.addSymbol=function(){t.children=[O],t.forceUpdate(),t.setTimeout(t.delayedClose,3e3)},t}y(t,e);var n=t.prototype;return n.componentDidMount=function(){this.setTimeout((function(){return u.ComponentDispatch.dispatch(s.ComponentActions.SHAKE_APP,{duration:2400})}),1800),this.setTimeout(this.createExplosion,1800)},n.componentWillUnmount=function(){this.children.length=0;for(var e,t=p(this._timeouts);!(e=t()).done;){var n=e.value;clearTimeout(n)}},n.delayedClose=function(){l.default.hide()},n.render=function(){return _("div",{className:d.default.ragingDemon},void 0,this.children)},t}(a.PureComponent);I.displayName="RagingDemon";var T=I;t.default=T},function(e,t,n){e.exports=n.p+"597156b41950001366498e8d03915086.svg"},function(e,t,n){e.exports=n.p+"2fa100868d36281cf16e9b488d6783e6.png"},function(e,t,n){e.exports=n.p+"343d87c6185c5a798189dbe0454338d2.png"},function(e,t,n){e.exports=n.p+"8d32a8a24b95bbb21533636279d44c4c.png"},function(e,t,n){e.exports=n.p+"d848be8a53ceaaf74385fa2240c277fe.png"},function(e,t,n){e.exports=n.p+"156b50b1934142012e13cddb292be82f.png"},function(e,t,n){e.exports=n.p+"37168b17cb52c41180fc7dc3464416e3.png"},function(e,t,n){e.exports=n.p+"264c4f75df7b5cfca2445a01ac303e4c.png"},function(e,t,n){e.exports=n.p+"b2609efe7eaf6066ccf83c63b831b9f5.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=A(n(9)),i=A(n(10256)),l=A(n(5961)),u=A(n(8567)),s=n(8444),d=n(280),f=A(n(8445)),c=A(n(379)),p=A(n(10257)),v=A(n(61)),y=A(n(55)),m=n(1149),_=A(n(149)),h=n(475),E=A(n(5686)),g=A(n(272)),S=A(n(13)),O=A(n(150)),I=A(n(16)),T=A(n(43)),C=n(1),b=A(n(6)),M=A(n(7917)),N=A(n(370));function A(e){return e&&e.__esModule?e:{default:e}}function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function D(){return a.useEffect((function(){S.default.track(C.AnalyticEvents.PREMIUM_UPSELL_VIEWED,{type:d.PremiumUpsellTypes.GUILD_CAP_INLINE_INVITE_MODAL,location:{page:C.AnalyticsPages.NATIVE_INVITE_MODAL}})}),[]),L(v.default,{onClick:function(){return(0,f.default)({analyticsSource:C.AnalyticsLocations.EXTERNAL_INVITE_LINK_MODAL,analyticsLocation:{page:C.AnalyticsLocations.EXTERNAL_INVITE_LINK_MODAL,section:C.AnalyticsSections.GUILD_CAP_UPSELL_MODAL}})},className:M.default.experimentUpsellError},void 0,L(E.default,{width:24,height:24,className:M.default.experimentUpsellIcon,color:m.GradientCssUrls.PREMIUM_TIER_2}),L("span",{className:M.default.experimentUpsellText},void 0,b.default.Messages.GUILD_CAP_UPSELL_TOOLTIP),L("span",{className:M.default.experimentGetNitro},void 0,b.default.Messages.GUILD_CAP_UPSELL_GET_NITRO))}D.displayName="GuildCapNitroUpsell";var w=L(D,{}),j=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).acceptInvite=function(){var e=t.props.invite;i.default.acceptInvite(e)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,R(t,n);var a=r.prototype;return a.componentDidMount=function(){__OVERLAY__||(I.default.isWindows()?T.default.minimize():T.default.restore(),T.default.focus())},a.close=function(){i.default.close()},a.render=function(){var e=this,t=this.props,n=t.invite,r=t.error,a=t.submitting;if(null==n||null==n.channel)return null;var i,d,f=n.guild,p=n.channel,v=n.inviter,m=n.target_application,E=null!=f,S=null!=n.stage_instance;if(null!=m)i=null==f?void 0:f.name,d=c.default.createFromServer(m).getCoverImageURL(1024);else if(null!=f)i=f.name,d=O.default.getGuildSplashURL({id:f.id,splash:f.splash});else if((i=p.name)||null==v||(i=v.username),null==i)throw new Error("no name for group DM invite");var I=(0,s.isAtGuildCapAndNonPremium)(),T=S?b.default.Messages.INSTANT_INVITE_ACCEPT_STAGE:b.default.Messages.INVITE_MODAL_BUTTON.format({guildName:i});return L("div",{className:M.default.container},void 0,L("div",{className:M.default.contentWrapper},void 0,L(g.default,{className:M.default.scroller},void 0,L(y.default,{className:M.default.inviteContent,direction:y.default.Direction.VERTICAL,justify:y.default.Justify.BETWEEN},void 0,L("div",{className:N.default.marginBottom20},void 0,L(l.default,{invite:n,disableUser:E,error:r})),S&&null!=f?L("div",{className:(0,o.default)(N.default.marginBottom20,M.default.stage)},void 0,L(u.default,{isCard:!0,stageInstance:n.stage_instance,guild:f})):null,L("div",{},void 0,I?w:null,null==m?L(_.default,{text:I?b.default.Messages.TOO_MANY_USER_GUILDS_DESCRIPTION:null,position:_.default.Positions.BOTTOM},void 0,(function(t){var n=t.onMouseEnter,r=t.onMouseLeave;return L(h.Button,{size:h.Button.Sizes.LARGE,onClick:e.acceptInvite,submitting:a,disabled:I,color:S?h.Button.Colors.GREEN:h.Button.Colors.BRAND,onMouseEnter:n,onMouseLeave:r},void 0,I?b.default.Messages.GUILD_CAP_INVITE_MODAL_BUTTON:T)})):L("div",{className:M.default.buttonGroup},void 0,L(h.Button,{size:h.Button.Sizes.LARGE,onClick:this.acceptInvite,submitting:a},void 0,b.default.Messages.PLAY),L(h.Button,{color:h.Button.Colors.PRIMARY,size:h.Button.Sizes.LARGE,onClick:this.acceptInvite,submitting:a},void 0,b.default.Messages.SPECTATE)),L(y.default,{justify:y.default.Justify.CENTER,className:N.default.marginTop8},void 0,L(h.Button,{look:h.Button.Looks.LINK,className:M.default.noThanksButton,onClick:this.close,color:S?h.Button.Colors.TRANSPARENT:h.Button.Colors.BRAND},void 0,b.default.Messages.INIVTE_MODAL_NO_THANKS)))))),null!=d&&L("div",{className:M.default.inviteSplash,style:{backgroundImage:"url("+d+")"}}))},r}(a.PureComponent);j.displayName="Invite",j.modalConfig={closable:!0,store:p.default};var k=j;t.default=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(2)),a=n(8491),o=l(n(1211)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}var u={acceptInvite:function(e){var t=this,n=o.default.getInviteContext("Desktop Invite Modal",e);o.default.acceptInvite(e.code,n).then((function(e){null==e||null==e.guild||null==e.channel||__OVERLAY__||o.default.transitionToInvite(e),t.close()}),(function(e){r.default.dispatch({type:i.ActionTypes.INVITE_MODAL_ERROR,message:(0,a.getInviteError)(e.code)})}))},close:function(){r.default.dispatch({type:i.ActionTypes.INVITE_MODAL_CLOSE})}};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=y(n(3)),a=y(n(2)),o=n(481),i=n(42),l=n(31),u=y(n(162)),s=y(n(43)),d=y(n(10)),f=y(n(15)),c=y(n(1174)),p=y(n(12)),v=n(1);function y(e){return e&&e.__esModule?e:{default:e}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(){return(_=Object.assign||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}).apply(this,arguments)}var h,E=v.AppContext.APP,g=!1,S=!1,O=[];function I(){g=!0}var T=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(f.default,c.default,p.default)},a.isOpen=function(){var e=__OVERLAY__?v.AppContext.OVERLAY:v.AppContext.APP;return g&&O.length&&E===e},a.getProps=function(){var e;return{invite:O.length>0?O[0][0]:null,error:h||null,submitting:S,premiumType:null===(e=p.default.getNullableCurrentUser())||void 0===e?void 0:e.premiumType}},r}(r.default.Store))(a.default,{OVERLAY_INITIALIZE:function(e){return I()},CONNECTION_OPEN:function(e){return I()},CONNECTION_CLOSED:function(e){g=!1},INVITE_MODAL_OPEN:function(e){var t=e.invite;if(null==t)return!1;var n=t.channel,r=t.guild;if(null==n)return!1;var a=t.target_type===o.InviteTargetTypes.STREAM&&null!=t.target_user;if((0,l.isMultiUserDM)(n.type)){if(null!=d.default.getChannel(n.id))return(0,i.transitionToGuild)(v.ME,n.id),s.default.focus(),!1}else{if(null==r)return!1;if(null!=f.default.getGuild(r.id)&&!a)return(0,i.transitionToGuild)(r.id),s.default.focus(),!1}if(O.some((function(e){return e[0].code===y})))return!1;var c=t.approximate_member_count,p=t.approximate_presence_count,y=t.code,m=t.target_type,h=t.target_user,g=t.target_application,I=t.stage_instance;E=e.context,S=!1;var T={code:y,approximate_member_count:c,approximate_presence_count:p,target_type:m,target_user:h,target_application:g,channel:_({},n),stage_instance:I};null!=r&&(T.guild=new u.default(r)),t.inviter&&(T.inviter=_({},t.inviter)),O.push([T,e.resolve])},INVITE_MODAL_CLOSE:function(e){return function(){if(h=null,S=!1,O.length>0){var e=O.shift()[1];null!=e&&e()}}()},INVITE_ACCEPT:function(e){S=!0},INVITE_MODAL_ERROR:function(e){var t=e.message;h=t,S=!1},CURRENT_USER_UPDATE:function(e){return!0}});t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=F();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=G(n(3)),i=n(389),l=n(1272),u=G(n(10259)),s=n(9069),d=G(n(403)),f=n(714),c=G(n(9025)),p=G(n(9026)),v=G(n(8397)),y=G(n(8693)),m=G(n(8703)),_=G(n(10263)),h=G(n(88)),E=G(n(8573)),g=G(n(8351)),S=G(n(10)),O=G(n(1223)),I=G(n(15)),T=G(n(1323)),C=G(n(200)),b=G(n(36)),M=G(n(365)),N=G(n(271)),A=G(n(8525)),P=n(9071),R=G(n(149)),L=n(1210),D=n(121),w=G(n(93)),j=n(1),k=G(n(6)),U=G(n(7919));function G(e){return e&&e.__esModule?e:{default:e}}function F(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return F=function(){return e},e}function B(){return(B=Object.assign||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}).apply(this,arguments)}function H(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,x(e,t)}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function V(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var W=15,Y=10,z=function(){return V("div",{className:U.default.emptyState},void 0,V("div",{className:U.default.emptyStateNote},void 0,k.default.Messages.QUICKSWITCHER_EMPTY_TEXT),V("div",{className:U.default.emptyStateCTA},void 0,V(N.default,{href:w.default.getArticleURL(j.HelpdeskArticles.QUICK_SWITCHER_TUTORIAL)},void 0,k.default.Messages.QUICKSWITCHER_EMPTY_CTA)))};z.displayName="QuickSwitcherNoResults";var K=function(e){function t(){return e.apply(this,arguments)||this}return H(t,e),t.prototype.render=function(){var e=I.default.getGuild(this.props.channel.guild_id);return a.createElement(P.Channel,this.props,V("div",{className:U.default.miscContainer},void 0,null!=e?e.name:null))},t}(a.Component);K.displayName="ExtendedChannel",K.defaultProps={unread:!1};var $=o.default.connectStores([C.default,S.default],(function(e){var t=e.channel;return{unread:C.default.hasUnread(t.id),mentions:C.default.getMentionCount(t.id),category:S.default.getChannel(t.parent_id)}}))(K),Z=o.default.connectStores([M.default],(function(e){var t=e.channel;if(null==t.guild_id)throw new Error("ConnectedVoiceChannel - somehow we got a voice channel with no guild_id...");return{voiceStates:M.default.getVoiceStates(t.guild_id)[t.id]}}))(K),q=o.default.connectStores([O.default],(function(e){var t=e.guild;return{unread:O.default.hasUnread(t.id)}}))(P.Guild),X=o.default.connectStores([C.default],(function(e){var t=e.channel;return{mentions:C.default.getMentionCount(t.id)}}))(P.GroupDM),J=o.default.connectStores([S.default,C.default],(function(e){var t=e.user,n=S.default.getDMFromUserId(t.id);return{mentions:null!=n?C.default.getMentionCount(n):0}}))(P.User);function Q(e,t,n){return V(R.default,{text:n},e,(function(e){return a.createElement("span",B({},e,{className:U.default.autocompleteQuerySymbol}),t)}))}function ee(e,t){var n=I.default.getGuild(e.getGuildId());if(null!=n)switch(e.type){case j.ChannelTypes.GUILD_TEXT:case j.ChannelTypes.GUILD_ANNOUNCEMENT:return a.createElement(p.default,B({},t,{channel:e,guild:n,onSelect:l.hide}));case j.ChannelTypes.GUILD_VOICE:case j.ChannelTypes.GUILD_STAGE_VOICE:return a.createElement(y.default,B({},t,{channel:e,guild:n,onSelect:l.hide}));case j.ChannelTypes.ANNOUNCEMENT_THREAD:case j.ChannelTypes.PUBLIC_THREAD:case j.ChannelTypes.PRIVATE_THREAD:return a.createElement(v.default,B({},t,{channel:e,onSelect:l.hide}));case j.ChannelTypes.GUILD_STORE:return a.createElement(c.default,B({},t,{channel:e,guild:n,onSelect:l.hide}))}}Q.displayName="renderAutocompleteQuerySymbol";var te=V(z,{}),ne=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).scrollerRef=a.createRef(),t.inputRef=a.createRef(),t.state={query:t.props.query,mouseFocusDisabled:!0},t.handleInputChange=function(){var e=t.inputRef.current;null!=e&&t.search(e.value)},t.handleMouseMove=function(){!1!==t.state.mouseFocusDisabled&&t.setState({mouseFocusDisabled:!1})},t.focusResult=function(e){t.state.mouseFocusDisabled||(0,l.selectResult)(t.props.results.indexOf(e))},t.selectResult=function(e){(0,l.switchToResult)(e)},t.handleContextMenu=function(e){var n=t.props.results[t.props.selectedIndex];(0,i.openContextMenu)(e,(function(e){switch(n.type){case f.AutocompleterResultTypes.GUILD:return a.createElement(E.default,B({},e,{guild:n.record,onSelect:l.hide}));case f.AutocompleterResultTypes.TEXT_CHANNEL:case f.AutocompleterResultTypes.VOICE_CHANNEL:return ee(n.record,e);case f.AutocompleterResultTypes.GROUP_DM:return a.createElement(m.default,B({},e,{channel:n.record,selected:b.default.getChannelId()===n.record.id,onSelect:l.hide}));case f.AutocompleterResultTypes.USER:return a.createElement(g.default,B({},e,{user:n.record,onSelect:l.hide}))}}))},t.handleKeyDown=function(e){var n=t.state,r=n.mouseFocusDisabled,a=n.query,o=t.props.results;!1===r&&t.setState({mouseFocusDisabled:!0});var i=e.key.toLowerCase(),u=t.props.selectedIndex;switch(i){case"escape":return e.preventDefault(),e.stopPropagation(),void(a.length>0?t.search(""):(0,l.hide)());case"k":return void(!0!==e.ctrlKey&&!0!==e.metaKey||(e.preventDefault(),e.stopPropagation(),(0,l.hide)()));case"enter":if(-1===u)return;if(e.preventDefault(),e.altKey)return t.handleContextMenu(e);var s=o[u];return void(null!=s&&t.selectResult(s));case"arrowup":u=(0,f.findNextSelectedResult)(f.FindResultDirections.UP,u,o);break;case"arrowdown":u=(0,f.findNextSelectedResult)(f.FindResultDirections.DOWN,u,o);break;case"n":if(!e.ctrlKey)return;u=(0,f.findNextSelectedResult)(f.FindResultDirections.DOWN,u,o);break;case"p":if(!e.ctrlKey)return;u=(0,f.findNextSelectedResult)(f.FindResultDirections.UP,u,o);break;default:return}e.preventDefault(),(0,l.selectResult)(u)},t.renderRow=function(e){var n=e.row,r=t.props.results[n],a=t.props.selectedIndex,o=_.default.getCurrentConfig({}).showScores;switch(r.type){case f.AutocompleterResultTypes.HEADER:return V(P.Header,{},r.type+"-"+r.record.id,r.record.text);case f.AutocompleterResultTypes.TEXT_CHANNEL:return V($,{focused:a>=0&&n===a,onClick:function(){return t.selectResult(r)},onMouseEnter:function(){return t.focusResult(r)},onFocus:t.focusNode,onContextMenu:t.handleContextMenu,channel:r.record,score:o?r.score:void 0},r.type+"-"+r.record.id);case f.AutocompleterResultTypes.VOICE_CHANNEL:return V(Z,{focused:a>=0&&n===a,onClick:function(){return t.selectResult(r)},onMouseEnter:function(){return t.focusResult(r)},onFocus:t.focusNode,onContextMenu:t.handleContextMenu,channel:r.record,score:o?r.score:void 0},r.type+"-"+r.record.id);case f.AutocompleterResultTypes.GUILD:return V(q,{focused:a>=0&&n===a,onClick:function(){return t.selectResult(r)},onMouseEnter:function(){return t.focusResult(r)},onFocus:t.focusNode,onContextMenu:t.handleContextMenu,guild:r.record,score:o?r.score:void 0},r.type+"-"+r.record.id);case f.AutocompleterResultTypes.USER:return V(J,{focused:a>=0&&n===a,onClick:function(){return t.selectResult(r)},onMouseEnter:function(){return t.focusResult(r)},onFocus:t.focusNode,onContextMenu:t.handleContextMenu,user:r.record,comparator:r.comparator,score:o?r.score:void 0},r.type+"-"+r.record.id);case f.AutocompleterResultTypes.GROUP_DM:return V(X,{focused:a>=0&&n===a,onClick:function(){return t.selectResult(r)},onMouseEnter:function(){return t.focusResult(r)},onFocus:t.focusNode,onContextMenu:t.handleContextMenu,channel:r.record,score:o?r.score:void 0},r.type+"-"+r.record.id);case f.AutocompleterResultTypes.APPLICATION:return V(P.Application,{focused:a>=0&&n===a,onClick:function(){return t.selectResult(r)},onMouseEnter:function(){return t.focusResult(r)},onFocus:t.focusNode,application:r.record},r.type+"-"+r.record.id);case f.AutocompleterResultTypes.LINK:return V(P.Link,{focused:a>=0&&n===a,onClick:function(){return t.selectResult(r)},onMouseEnter:function(){return t.focusResult(r)},onFocus:t.focusNode,onContextMenu:t.handleContextMenu,link:r.record,score:o?r.score:void 0},r.type+"-"+r.record.id);default:return null}},t}H(t,e);var n=t.prototype;return n.componentDidMount=function(){d.default.disable(),d.default.enableTemp(s.SETTINGS_LAYERS_LAYOUT)},n.componentWillUnmount=function(){d.default.disableTemp(),d.default.enable()},n.componentDidUpdate=function(e,t){var n=this.state,r=n.mouseFocusDisabled,a=n.query,o=this.props.selectedIndex,i=this.scrollerRef.current;null!=i&&(a!==t.query?i.scrollTo({to:0}):r&&o>=0&&i.scrollToIndex({section:0,row:o,padding:10}))},n.close=function(){(0,l.hide)()},n.search=function(e){this.setState({query:e}),(0,l.search)(e)},n.renderInput=function(){return V(h.default,{},void 0,a.createElement("input",{className:U.default.input,ref:this.inputRef,type:"text",placeholder:k.default.Messages.QUICKSWITCHER_PLACEHOLDER,onChange:this.handleInputChange,onKeyDown:this.handleKeyDown,value:this.state.query,spellCheck:!1,autoFocus:!0}))},n.renderSection=function(){return null},n.renderResults=function(){var e=this.state.query,t=this.props.results;return 0===t.length&&e.length>0?te:0===t.length?null:a.createElement(L.ListAuto,{ref:this.scrollerRef,sectionHeight:0,rowHeight:34,paddingTop:W,paddingBottom:Y,sections:[t.length],className:U.default.scroller,renderRow:this.renderRow,renderSection:this.renderSection})},n.focusNode=function(e){D.ComponentDispatch.dispatch(j.ComponentActions.QUICKSWITCHER_RESULT_FOCUS,{node:e})},n.renderProtip=function(){return V(A.default,{className:U.default.protip,type:A.default.Types.INLINE},void 0,k.default.Messages.QUICKSWITCHER_PROTIP.format({userSymbolHook:function(e,t){return Q(t,f.AutocompleterQuerySymbols.USER,k.default.Messages.QUICKSWITCHER_PROTIP_USERNAMES)},textChannelSymbolHook:function(e,t){return Q(t,f.AutocompleterQuerySymbols.TEXT_CHANNEL,k.default.Messages.QUICKSWITCHER_PROTIP_TEXT_CHANNELS)},voiceChannelSymbolHook:function(e,t){return Q(t,f.AutocompleterQuerySymbols.VOICE_CHANNEL,k.default.Messages.QUICKSWITCHER_PROTIP_VOICE_CHANNELS)},guildSymbolHook:function(e,t){return Q(t,f.AutocompleterQuerySymbols.GUILD,k.default.Messages.QUICKSWITCHER_PROTIP_GUILDS)},helpdeskArticle:w.default.getArticleURL(j.HelpdeskArticles.QUICK_SWITCHER_TUTORIAL)}))},n.renderTutorial=function(){var e=this.state.query,t=this.props,n=t.seenTutorial,r=t.results;return n?null:V(u.default,{hasQuery:e.length>0&&r.length>0})},n.render=function(){return V("div",{className:U.default.container},void 0,V("div",{className:U.default.quickswitcher,onMouseMove:this.handleMouseMove},void 0,this.renderInput(),this.renderResults(),this.renderProtip(),this.renderTutorial()))},t}(a.PureComponent);ne.displayName="QuickSwitcher",ne.modalConfig={disableAnimation:!0,backdropInstant:!0,store:T.default};var re=ne;t.default=re},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(9)),i=c(n(273)),l=n(57),u=n(121),s=n(1),d=c(n(6)),f=c(n(7918));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(){return(y=Object.assign||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}).apply(this,arguments)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _={friction:15,tension:100},h=function(e){var t,r;function c(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={shown:!1,translateY:new i.default.Value(0)},t.rootRef=a.createRef(),t.focusTimeout=new l.Timeout,t.handleResultFocus=function(e){var n=e.node;t.focusTimeout.start(1,(function(){if(t.props.hasQuery&&null!=n&&null!=t.rootRef.current){var e=t.rootRef.current.getBoundingClientRect().top,r=n.getBoundingClientRect().top,a=Math.abs(e-r);t.springTo(a-118+9)}else t.springTo(0)}))},t}r=e,(t=c).prototype=Object.create(r.prototype),t.prototype.constructor=t,m(t,r);var p=c.prototype;return p.componentDidMount=function(){this.setState({shown:!0}),u.ComponentDispatch.subscribe(s.ComponentActions.QUICKSWITCHER_RESULT_FOCUS,this.handleResultFocus)},p.componentWillUnmount=function(){this.focusTimeout.stop(),u.ComponentDispatch.unsubscribe(s.ComponentActions.QUICKSWITCHER_RESULT_FOCUS,this.handleResultFocus)},p.componentDidUpdate=function(){this.props.hasQuery||this.springTo(0)},p.springTo=function(e){i.default.spring(this.state.translateY,y({toValue:Math.min(e,250)},_)).start()},p.renderArrowGroup=function(e){return v("div",{className:(0,o.default)(f.default.arrowGroup,e)},void 0,v(i.default.div,{className:(0,o.default)(f.default.arrowContainer,f.default.horizontal),style:this.getStyle()},void 0,v("img",{alt:"",src:n(10260),className:f.default.arrowIcon})),v("div",{className:(0,o.default)(f.default.arrowContainer,f.default.diag1)},void 0,v("img",{alt:"",src:n(10261),className:f.default.arrowIcon})),v("div",{className:(0,o.default)(f.default.arrowContainer,f.default.diag2)},void 0,v("img",{alt:"",src:n(10262),className:f.default.arrowIcon})))},p.renderContent=function(){return v("div",{className:f.default.tutorialMessages},void 0,v("div",{className:f.default.searchMessage},void 0,d.default.Messages.QUICKSWITCHER_TUTORIAL_MESSAGE_SEARCH),v("div",{className:f.default.selectMessage},void 0,d.default.Messages.QUICKSWITCHER_TUTORIAL_MESSAGE_SELECT))},p.render=function(){var e,t=this.props.hasQuery,n=this.state.shown;return a.createElement("div",{ref:this.rootRef,className:(0,o.default)(f.default.tutorial,(e={},e[f.default.shown]=n,e[f.default.hasQuery]=t,e))},this.renderContent(),this.renderArrowGroup(f.default.left),this.renderArrowGroup(f.default.right))},p.getStyle=function(){return{transform:[{translateY:this.state.translateY.interpolate({inputRange:[0,250],outputRange:["0px","250px"]})},{translateZ:0}]}},c}(a.PureComponent);h.displayName="QuickSwitcherTutorial";var E=h;t.default=E},function(e,t,n){e.exports=n.p+"85761f5edbfdfbeba087f67ced11fe8e.svg"},function(e,t,n){e.exports=n.p+"86deade60ada88b092a0de67a3800ce8.svg"},function(e,t,n){e.exports=n.p+"7c5e2c588b7325c8433db1ac2a03a6b6.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-02_staff_qc_debugging",label:"Display QS scores in results. Not a real experiment",defaultConfig:{showScores:!1},treatments:[{id:1,label:"Show scores in QS results",config:{showScores:!0}}]});t.default=r},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uninstallBranchPrompt=function(e,t,n){!function(e,t){var n=a.default.getGame(e);if(!n)return void new r.default("DispatchUninstallActionCreators").log("Application not found for game "+e);(0,o.openModal)((function(e){return s(u({game:n,onConfirmUninstall:t},e))}))}(e,(function(){return(0,i.uninstallApplication)(e,t,n)}))};var r=l(n(26)),a=l(n(71)),o=n(41),i=n(266);function l(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||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}).apply(this,arguments)}var s=function(){return null};s=n(10775).default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-06_hub_email_connection",label:"Hub Email Connection",defaultConfig:{showModal:!1,showTab:!1,forceShowModal:!1},treatments:[{id:1,label:"Show email connection modal",config:{showModal:!0,showTab:!0,forceShowModal:!1}},{id:2,label:"Force show email connection modal",config:{showModal:!0,showTab:!0,forceShowModal:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return"activityembed:"+e+":"+t}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2020-06_voice_panel_introduction",label:"Voice Panel Introduction",defaultConfig:{showPopout:!1},treatments:[{id:1,label:"Show voice panel introduction",config:{showPopout:!0}}]});t.default=r},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.userNeedsAgeGate=function(){var e=a.default.getNullableCurrentUser();return null!=e&&o.default.extractTimestamp(e.id)>l.getTime()&&!e.isClaimed()&&null==e.nsfwAllowed},t.AgeRestrictedGuildsExperiment=void 0;var r=n(50),a=i(n(12)),o=i(n(97));function i(e){return e&&e.__esModule?e:{default:e}}var l=new Date("06/16/2020");var u=(0,r.createExperiment)({id:"2021-05_age_restricted_guilds",label:"Process age restricted guilds",kind:"user",defaultConfig:{enabled:!1},treatments:[{id:1,label:"On",config:{enabled:!0}}]});t.AgeRestrictedGuildsExperiment=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=h(n(0)),i=m(n(3)),l=h(n(8788)),u=m(n(10929)),s=m(n(5952)),d=m(n(10961)),f=m(n(8789)),c=m(n(39)),p=m(n(161)),v=m(n(10355)),y=n(1);function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function E(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var S=((r={})[y.PictureInPictureComponents.VIDEO]=d.default,r[y.PictureInPictureComponents.EMBED_IFRAME]=u.default,r),O=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleWindowMove=function(e,t){l.moveTo(e,t)},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,g(t,n),r.prototype.render=function(){var e=this.props,t=e.selectedPIPWindow,n=e.pipWindows,r=e.maxX,a=e.maxY,o=e.theme,i=e.dockedRect;return E(v.default,{pictureInPictureComponents:S,selectedPIPWindow:t,pipWindows:n,maxX:r,maxY:a,dockedRect:i,theme:o,onWindowMove:this.handleWindowMove})},r}(o.PureComponent);O.displayName="PictureInPictureContainer";var I=i.default.connectStores([f.default,s.default,p.default,c.default],(function(e){var t=e.showInPopoutWindow,n=void 0!==t&&t,r=s.default.getWindowOpen(y.PopoutWindowKeys.CHANNEL_CALL_POPOUT),a=p.default.windowSize();if(r){var o=s.default.getWindow(y.PopoutWindowKeys.CHANNEL_CALL_POPOUT);a=null==o?a:{width:o.innerWidth,height:o.innerHeight}}var i=f.default.pipWindows,l=r&&!n?null:f.default.pipWindow;return{selectedPIPWindow:l,pipWindows:i,maxX:a.width,maxY:a.height,theme:c.default.theme,dockedRect:null!=l?f.default.getDockedRect(l.id):null}}))(O);t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FORCE_HIDE_PARTICIPANTS_WIDTH=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=N();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=M(n(9)),i=n(122),l=n(3),u=M(n(8299)),s=M(n(294)),d=n(691),f=M(n(10930)),c=M(n(10346)),p=M(n(11)),v=M(n(51)),y=M(n(8524)),m=M(n(55)),_=n(121),h=n(48),E=M(n(9137)),g=M(n(8934)),S=M(n(10944)),O=M(n(10946)),I=M(n(10950)),T=M(n(10952)),C=n(1),b=M(n(7954));function M(e){return e&&e.__esModule?e:{default:e}}function N(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return N=function(){return e},e}function A(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function P(){return(P=Object.assign||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}).apply(this,arguments)}function R(e){var t,n=e.onSelectParticipant,r=e.onContextMenuParticipant,u=e.onFullscreenParticipant,f=e.participants,m=e.filteredParticipants,O=e.popoutWindow,I=e.inCall,M=e.channel,N=e.selectedParticipant,R=e.showParticipants,L=void 0===R||R,D=e.className,w=e.paused,j=e.width,k=e.height,U=e.layout,G=e.idle,F=null!=O,B=j<=456,H=L&&!B,x=v.default.getVideoComponent(),V=p.default.getId(),W=(0,l.useStateFromStores)([s.default],(function(){return s.default.getSelfEmbeddedActivityForChannel(M.id)})),Y=a.useState({width:0,height:0}),z=Y[0],K=Y[1],$=a.useState(!1),Z=$[0],q=$[1],X=(0,i.useSpring)({value:H?1:0,config:P({},i.config.stiff,{clamp:!0}),onStart:function(){return q(!0)},onChange:function(){return _.ComponentDispatch.dispatch(C.ComponentActions.REMEASURE_TARGET)},onRest:function(){q(!1),_.ComponentDispatch.dispatch(C.ComponentActions.REMEASURE_TARGET)}}),J=(0,i.useTransition)(N,{keys:function(e){return null==e?void 0:e.id},config:P({},i.config.stiff,{clamp:!0}),initial:null,from:{opacity:0},enter:{opacity:1},leave:{opacity:0}}),Q=a.useCallback((function(e){K(e)}),[]),ee=N.type===d.ParticipantTypes.ACTIVITY&&(null==W?void 0:W.applicationId)===N.id,te=N.type!==d.ParticipantTypes.ACTIVITY&&null!=N.streamId&&z.width>0&&z.height>0?z.width/z.height:16/9,ne=H||w||null==N||N.type===d.ParticipantTypes.ACTIVITY?[]:[N.type===d.ParticipantTypes.STREAM?f.find((function(e){return e.type===d.ParticipantTypes.USER&&e.id===(null==N?void 0:N.user.id)&&e.id!==V&&(0,E.default)(e)})):null,N.type===d.ParticipantTypes.USER?f.find((function(e){return e.type===d.ParticipantTypes.STREAM&&e.user.id===(null==N?void 0:N.user.id)&&null!=e.streamId})):null,N.id!==V?f.find((function(e){return e.type===d.ParticipantTypes.USER&&e.id===V&&(0,E.default)(e)})):null].filter(h.isNotNullish),re=Math.min(k,k-(N.type===d.ParticipantTypes.ACTIVITY?144:0))*te,ae=H?j-228:j;return A(i.animated.div,{style:{paddingLeft:X.value.to((function(e){return 8*e+"px"})),paddingRight:X.value.to((function(e){return 228*e+8*e+"px"}))},className:(0,o.default)(b.default.root,b.default.flexCenter,D)},void 0,A("div",{className:b.default.videoFrame},void 0,A("div",{style:{maxWidth:re+"px"},className:b.default.videoWrapper},void 0,A(y.default,{className:b.default.videoSizer,aspectRatio:te},void 0,J((function(e,t,a){var o=a.key;return null!=t?A(i.animated.div,{className:b.default.videoWrapperAnimated,style:e},o,A(g.default,{focused:!0,noBorder:!H,channel:M,className:b.default.focusedVideo,videoComponent:x,paused:w,width:ae,participant:t,onClick:n,onDoubleClick:u,onContextMenu:r,onVideoResize:Q,inCall:I,inPopout:F})):null})))),B||U===C.ChannelLayouts.MINIMUM||U===C.ChannelLayouts.NORMAL||ee?null:A(c.default,{channelId:M.id,isParticipantsOpen:L,className:(0,o.default)(b.default.participantsButton,(t={},t[b.default.idle]=G,t))})),A(i.animated.div,{className:b.default.participantsWrapperAnimated,style:{transform:X.value.to((function(e){return"translateX("+-1*e*228+"px)"})),visibility:X.value.to((function(e){return 0===e?"hidden":"visible"}))}},void 0,A(T.default,{channel:M,onClick:n,onContextMenu:r,onDoubleClick:u,participants:m,selectedParticipantId:N.id,inCall:I,paused:w||Z||!H,popoutWindow:O})),ne.length>0?A(S.default,{onContextMenuParticipant:r,width:j,height:k,channel:M,participants:ne}):null)}t.FORCE_HIDE_PARTICIPANTS_WIDTH=456,R.displayName="FocusedView";var L=(0,u.default)((function(e){var t=e.participants,n=e.filteredParticipants,r=e.selectedParticipant,i=e.participantsVersion,l=e.layout,u=e.onSelectParticipant,s=e.onContextMenuParticipant,c=e.onFullscreenParticipant,v=e.channel,y=e.className,_=e.inCall,h=e.showParticipants,E=void 0===h||h,g=e.paused,S=void 0!==g&&g,T=e.width,M=e.height,N=e.idle,P=e.mode,L=e.popoutWindow,D=a.useMemo((function(){return n.filter((function(e){return e.type!==d.ParticipantTypes.ACTIVITY||!e.participants.has(p.default.getId())}))}),[n,i]);if(P===C.ChannelModes.VOICE)return A(f.default,{guildId:v.guild_id,width:T,className:b.default.voiceCallWrapper,participants:t,onContextMenu:s});n=_?n:t;var w=null!=L;return null==r?0===n.length?A(I.default,{className:(0,o.default)(b.default.videoGrid,b.default.hiddenParticipants),channelId:v.id,width:T}):A(m.default,{className:b.default.videoGridWrapper,justify:m.default.Justify.CENTER,align:m.default.Align.CENTER},void 0,A(O.default,{channel:v,className:b.default.videoGrid,participants:D,totalNumberOfParticipants:t.length,layout:l,onClick:u,onDoubleClick:c,onContextMenu:s,paused:S,inCall:_,inPopout:w})):A(R,{onFullscreenParticipant:c,onContextMenuParticipant:s,onSelectParticipant:u,selectedParticipant:r,filteredParticipants:D,participants:t,popoutWindow:L,className:y,idle:N,height:M,width:T,layout:l,inCall:_,channel:v,showParticipants:E})}));t.default=L},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=f(n(9)),o=f(n(705)),i=f(n(8320)),l=f(n(696)),u=f(n(8288)),s=f(n(6)),d=f(n(7938));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.className;return p("div",{className:d.default.iconContainer},void 0,p(i.default,{className:(0,a.default)(d.default.leftCaret,t)}),p(l.default,{className:(0,a.default)(d.default.members,t)}))}function y(e){var t=e.className;return p("div",{className:d.default.iconContainer},void 0,p(i.default,{className:(0,a.default)(d.default.rightCaret,t)}))}function m(e){var t=e.channelId,n=e.className,r=e.isParticipantsOpen;return p(u.default,{label:r?s.default.Messages.VIDEO_CALL_HIDE_MEMBERS:s.default.Messages.VIDEO_CALL_SHOW_MEMBERS,className:(0,a.default)(d.default.participantsButton,n),onClick:function(){o.default.toggleParticipants(t,!r)},iconComponent:r?y:v})}v.displayName="OpenIcon",y.displayName="CloseIcon",m.displayName="ToggleParticipantsButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){if(e.state===a.ApplicationStreamStates.ENDED||e.state===a.ApplicationStreamStates.FAILED)return null;if(e.state===a.ApplicationStreamStates.RECONNECTING)return{mainText:o.default.Messages.STREAM_RECONNECTING_ERROR,supportingText:o.default.Messages.STREAM_RECONNECTING_ERROR_SUBTEXT};if(e.state===a.ApplicationStreamStates.PAUSED)return n?{mainText:o.default.Messages.STREAM_CAPTURE_PAUSED,supportingText:o.default.Messages.STREAM_CAPTURE_PAUSED_DETAILS}:{mainText:o.default.Messages.STREAM_CAPTURE_PAUSED,supportingText:o.default.Messages.STREAM_CAPTURE_PAUSED_DETAILS_VIEWER.format({username:r.default.getName(e.guildId,e.channelId,t)})};if(i)return{mainText:o.default.Messages.STREAM_PREVIEW_PAUSED,supportingText:o.default.Messages.STREAM_PREVIEW_PAUSED_SUBTEXT};return null};var r=i(n(258)),a=n(1),o=i(n(6));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.useStateFromStores)([i.default,o.default,a.default],(function(){return null!=e?(0,l.default)(i.default.getQuality(),i.default.getStatsHistory(e,e===a.default.getId()),null!=o.default.getHookError(u.MediaEngineHookTypes.SOUND)):null}),[e])};var r=n(3),a=s(n(11)),o=s(n(1407)),i=s(n(1270)),l=s(n(10937)),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;d(n(0));var r,a,o=n(364),i=n(140),l=d(n(8753)),u=(r=n(6))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function f(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=n(10939);function p(e){var t=e.stream,n=e.width,r=e.noArt,a=void 0!==r&&r,s=e.selected,d=void 0!==s&&s;return f(l.default,{artURL:c,noArt:a,selected:d,size:(0,l.getSizeForWidth)(n),header:u.default.Messages.STREAM_ENDED,onCTAClick:function(){return(0,o.closeStream)((0,i.encodeStreamKey)(t))},callToAction:u.default.Messages.CLOSE_STREAM})}p.displayName="StreamEnded"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;c(n(0));var r,a=n(364),o=n(140),i=d(n(93)),l=c(n(8753)),u=n(1),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=n(10351);function y(e){var t=e.stream,n=e.width,r=e.selected,d=void 0!==r&&r,f=e.noArt,c=void 0!==f&&f;return p(l.default,{artURL:v,header:s.default.Messages.STREAM_FAILED_TITLE,size:(0,l.getSizeForWidth)(n),noArt:c,selected:d,description:s.default.Messages.STREAM_FAILED_DESCRIPTION.format({helpUrl:i.default.getArticleURL(u.HelpdeskArticles.STREAM_FAILED)}),onCTAClick:function(){return(0,a.closeStream)((0,o.encodeStreamKey)(t))},callToAction:s.default.Messages.CLOSE_STREAM})}y.displayName="StreamFailed"},function(e,t,n){e.exports=n.p+"2ceb472e89545af8543aa44b072b910d.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.streamerId,n=e.className,r=function(e){if(null==e)return null;return i.default.isDeveloper?e.message+" ("+e.errorType+")":e.message}((0,a.default)(t));return null!=r?s(o.default,{className:n,errorMessage:r}):null};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(10348)),o=l(n(10940)),i=l(n(759));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isVideoCompact=function(e){return e<=220},t.isNamesCompact=function(e){return e<=200}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(8555)),i=f(n(10942)),l=f(n(55)),u=f(n(279)),s=n(1),d=f(n(7947));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e){var t=e.style,n=e.src,r=e.backgroundSrc,f=e.pulseSpeakingIndicator,c=void 0!==f&&f,y=e.speaking,m=void 0!==y&&y,_=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["style","src","backgroundSrc","pulseSpeakingIndicator","speaking"]),h=null!=r?r:n,E=(0,o.default)(h,s.Colors.PRIMARY_DARK_800);if(null==n)return null;var g=a.createElement(u.default,v({className:d.default.avatarWrapper,src:n},_));return p(l.default,{style:v({},t,{backgroundColor:E}),className:d.default.background,justify:l.default.Justify.CENTER,align:l.default.Align.CENTER},void 0,c?p(i.default,{shouldAnimate:m},void 0,g):g)}y.displayName="VideoBackground",y.AvatarSizes=u.default.Sizes;var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PictureInPictureWindow=void 0;var r,a=v(n(0)),o=c(n(9)),i=n(67),l=v(n(16)),u=c(n(10945)),s=n(1),d=c(n(7948)),f=c(n(5958));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=80,h=132,E=80,g=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).ensureIsInPosition=function(){t.setPosition(t.props.position)},t.handleSetInnerDivRef=function(e){var n;(t._innerDiv=e,null!=e)&&(t._resizeObserver=new ResizeObserver(t.ensureIsInPosition),null===(n=t._resizeObserver)||void 0===n||n.observe(e))},t.handleSetDraggableRef=function(e){t._draggable=e},t.handleDragStart=function(e,n){t._velocityX=0,t._velocityY=0,t._lastMoveX=e,t._lastMoveY=n,t._lastMoveTime=new Date},t.handleDrag=function(e,n){var r=new Date,a=r-t._lastMoveTime;t._velocityX=(e-t._lastMoveX)/a,t._velocityY=(n-t._lastMoveY)/a,t._lastMoveX=e,t._lastMoveY=n,t._lastMoveTime=r},t.handleDragEnd=function(e,n){var r,a=t.props,o=a.maxX,i=a.maxY,l=t.calculateDecayingPosition(e,n,t._velocityX,t._velocityY),u=!0,d=!0;if(l.x>o/2&&(d=!1),l.y>i/2&&(u=!1),r=u&&d?s.PictureInPicturePositions.TOP_LEFT:u&&!d?s.PictureInPicturePositions.TOP_RIGHT:!u&&d?s.PictureInPicturePositions.BOTTOM_LEFT:s.PictureInPicturePositions.BOTTOM_RIGHT,t.animateToPosition(r,t.ensureIsInPosition),r!==t.props.position){var f=t.props,c=f.id,p=f.onMove;p&&p(c,r)}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var c=r.prototype;return c.componentDidMount=function(){this.setPosition(this.props.position)},c.componentDidUpdate=function(e){e.edgeOffsetTop===this.props.edgeOffsetTop&&e.edgeOffsetLeft===this.props.edgeOffsetLeft&&e.edgeOffsetBottom===this.props.edgeOffsetBottom&&e.edgeOffsetRight===this.props.edgeOffsetRight&&e.maxX===this.props.maxX&&e.maxY===this.props.maxY&&e.dockedRect===this.props.dockedRect||this.ensureIsInPosition()},c.componentWillUnmount=function(){var e;null===(e=this._resizeObserver)||void 0===e||e.disconnect()},c.getPosition=function(e){var t=(0,i.findDOMNode)(this._innerDiv);if(null!=t){var n=t.getBoundingClientRect();this._width=n.width,this._height=n.height}var r,a,o=this.props,u=o.edgeOffsetTop,d=o.edgeOffsetLeft,f=o.edgeOffsetBottom,c=o.edgeOffsetRight,p=o.maxX,v=o.maxY,y=o.dockedRect,m=u,_=v-f-this._height,h=d,E=p-c-this._width,g=l.default.getPlatform()===l.PlatformTypes.WINDOWS?22:0;if(null!=y)return{y:(null!==(r=null==y?void 0:y.y)&&void 0!==r?r:0)-g,x:null!==(a=null==y?void 0:y.x)&&void 0!==a?a:0};switch(e){case s.PictureInPicturePositions.TOP_LEFT:return{y:m,x:h};case s.PictureInPicturePositions.BOTTOM_LEFT:return{y:_,x:h};case s.PictureInPicturePositions.TOP_RIGHT:return{y:m,x:E};default:return{y:_,x:E}}},c.setPosition=function(e){var t,n=this.getPosition(e),r=n.x,a=n.y;null===(t=this._draggable)||void 0===t||t.setPosition(r,a)},c.animateToPosition=function(e,t){var n,r=this.getPosition(e),a=r.x,o=r.y;null===(n=this._draggable)||void 0===n||n.animateToPosition(a,o,{},t)},c.calculateDecayingPosition=function(e,t,n,r){return{x:e+200*n,y:t+200*r}},c.getXOffset=function(){var e=this.props,t=e.position,n=e.edgeOffsetLeft,r=e.edgeOffsetRight;switch(t){case s.PictureInPicturePositions.TOP_LEFT:case s.PictureInPicturePositions.BOTTOM_LEFT:return-n;default:return r}},c.getYOffset=function(){var e=this.props,t=e.position,n=e.edgeOffsetTop,r=e.edgeOffsetBottom;switch(t){case s.PictureInPicturePositions.TOP_LEFT:case s.PictureInPicturePositions.TOP_RIGHT:return-n;default:return r}},c.render=function(){var e,t=this.props,n=t.maxX,r=t.maxY,i=t.dockedRect,l=t.hidden,s={};return null!=i&&(s={transform:"translate3d("+i.x+", "+i.y+", 0)",width:i.width,height:i.height}),a.createElement(u.default,{dragAnywhere:!0,ref:this.handleSetDraggableRef,className:(0,o.default)(d.default.pictureInPictureWindow,(e={},e[d.default.hidden]=l,e)),maxX:n,maxY:r,disabled:null!=i,onDragStart:this.handleDragStart,onDrag:this.handleDrag,onDragEnd:this.handleDragEnd},a.createElement("div",{ref:this.handleSetInnerDivRef,className:f.default.elevationHigh,style:s},this.props.children))},r}(a.PureComponent);t.PictureInPictureWindow=g,g.displayName="PictureInPictureWindow",g.defaultProps={hidden:!1};var S=function(e){var t=e.selectedPIPWindow,n=e.pipWindows,r=e.maxX,o=e.maxY,i=e.onWindowMove,l=e.dockedRect,u=e.pictureInPictureComponents;return y("div",{className:d.default.pictureInPicture},void 0,function(){if(null==t)return null;var e=Array.from(n.values()).map((function(e){if(e.id!==t.id&&e.component!==s.PictureInPictureComponents.EMBED_IFRAME)return null;var n="string"==typeof e.component?u[e.component]:e.component;return a.createElement(n,e.props)}));return y(g,{position:t.position,id:t.id,hidden:t.hidden,onMove:i,maxX:r,maxY:o,dockedRect:l,edgeOffsetTop:_,edgeOffsetBottom:h,edgeOffsetLeft:E,edgeOffsetRight:_},void 0,e)}())};S.displayName="PictureInPicture";var O=a.memo(S);t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.OPCODES=void 0;var r=p(n(64)),a=p(n(1398)),o=p(n(26)),i=p(n(267)),l=n(121),u=p(n(689)),s=n(8452),d=p(n(9659)),f=p(n(9660)),c=n(1);function p(e){return e&&e.__esModule?e:{default:e}}function v(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function y(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,m(e,t)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=new o.default("RPCServer:PostMessage"),h=new Map,E=new Set,g={HANDSHAKE:0,FRAME:1,CLOSE:2,HELLO:3};t.OPCODES=g;var S=a.default.object().required().keys({v:a.default.number().min(1).max(1).required(),encoding:a.default.string().equal("json").optional(),client_id:a.default.string().required(),frame_id:a.default.string().required()}),O=a.default.object().required().keys({code:a.default.number().valid(Object.values(c.RPCCloseCodes)).required(),message:a.default.string().optional()});function I(e,t,n){e.postMessage([g.CLOSE,n],t)}var T=function(e){function t(t,n,r,a,o){var i;if(i=e.call(this,c.TransportTypes.POST_MESSAGE,a,o)||this,-1===["etf","json"].indexOf(o))throw new u.default(c.RPCCloseCodes.INVALID_ENCODING,"Invalid Encoding: "+o);if("etf"===o)throw new u.default(c.RPCCloseCodes.INVALID_ENCODING,"Erlpack cannot be used on this client");return i.eventSource=n,i.origin=t,i.frameId=r,i}y(t,e);var n=t.prototype;return n.send=function(e){(i.default.isLoggingOverlayEvents||e.cmd!==c.RPCCommands.OVERLAY&&e.evt!==c.RPCEvents.OVERLAY)&&_.info("Socket Emit: "+this.id,(0,d.default)(e)),this.eventSource.postMessage([g.FRAME,e],this.origin)},n.close=function(e,t){I(this.eventSource,this.origin,{code:e,message:t})},t}(f.default),C=new(function(e){function t(){var t;return(t=e.call(this)||this).disconnectSocket=function(e,n,r){var a,o;void 0===r&&(r=!1),t.emit("disconnect",e,r?void 0:n),e.close(n.code,null!==(a=n.message)&&void 0!==a?a:"Unknown");var i=(null!==(o=Array.from(h.entries()).find((function(t){t[0];return t[1]===e})))&&void 0!==o?o:[null,null])[0];null!=i&&h.delete(i)},t.handleIFrameMount=function(e){var t=e.id;E.add(t)},t.handleIFrameUnmount=function(e){var n,r=e.id;E.delete(r);var a=null!==(n=Array.from(h.entries()).find((function(e){e[0];return e[1].frameId===r})))&&void 0!==n?n:[null,null],o=a[0],i=a[1];null!=i&&null!=o&&(t.disconnectSocket(i,{code:c.RPCCloseCodes.CLOSE_NORMAL,message:"iFrame gone"},!0),h.delete(o))},t.handleMessage=function(e){if(window!==e.source)if(null!=e.source&&null!=!e.source.postMessage){var n=e.source,r=e.data,a=e.origin,o=h.get(n);try{t.routeEvent(o,n,a,r)}catch(e){null!=o?t.disconnectSocket(o,{code:e.code,message:e.message},!0):I(n,a,{code:e.code,message:e.message})}}else _.error("Unknown event source")},t.handleFrame=function(e,n,r){if(e!==n.origin)throw new u.default(c.RPCCloseCodes.INVALID_ORIGIN,"Origin has changed");var a;try{a="string"==typeof r?JSON.parse(r):r}catch(e){throw new u.default(c.RPCCloseCodes.CLOSE_UNSUPPORTED,"Payload not recognized encoding")}(i.default.isLoggingOverlayEvents||a.cmd!==c.RPCCommands.OVERLAY)&&_.info("Socket Message: "+n.id,(0,d.default)(a)),t.emit("request",n,a)},t.handleHandshake=function(){var e,n=(e=regeneratorRuntime.mark((function e(n,r,o){var i,l,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.prev=0,a.default.assert(o,S),e.next=7;break;case 4:throw e.prev=4,e.t0=e.catch(0),new u.default(c.RPCCloseCodes.CLOSE_UNSUPPORTED,e.t0.message);case 7:if(l=(i=o).frame_id,E.has(l)){e.next=13;break}throw _.error("Unrecognized frame ID "+l),new u.default(c.RPCCloseCodes.CLOSE_UNSUPPORTED,"Unrecognized frame ID "+l);case 13:e.prev=13,d=new T(r,n,i.frame_id,Number(i.v),i.encoding||"json"),e.next=21;break;case 17:throw e.prev=17,e.t1=e.catch(13),_.error("Error opening window socket "+e.t1),e.t1;case 21:return _.info("Socket Opened: "+d.id),e.prev=22,e.next=25,(0,s.validateSocketClient)(d,r,i.client_id);case 25:h.set(n,d),E.delete(l),t.emit("connect",d),_.info("Socket Validated: "+d.id),e.next=35;break;case 31:throw e.prev=31,e.t2=e.catch(22),_.info("Socket Closed: "+d.id+", "+e.t2.message),e.t2;case 35:case"end":return e.stop()}}),e,null,[[0,4],[13,17],[22,31]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){v(o,r,a,i,l,"next",e)}function l(e){v(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(e,t,r){return n.apply(this,arguments)}}(),t.handleClose=function(e,n){try{a.default.assert(n,O)}catch(e){throw new u.default(c.RPCCloseCodes.CLOSE_UNSUPPORTED,e.message)}var r=n;t.disconnectSocket(e,r)},window.addEventListener("message",t.handleMessage),l.ComponentDispatch.subscribe(c.ComponentActions.IFRAME_MOUNT,t.handleIFrameMount),l.ComponentDispatch.subscribe(c.ComponentActions.IFRAME_UNMOUNT,t.handleIFrameUnmount),t}return y(t,e),t.prototype.routeEvent=function(e,t,n,r){if(!Array.isArray(r))throw new u.default(c.RPCCloseCodes.CLOSE_UNSUPPORTED,"Protocol error");var a=r,o=a[0],i=a[1];switch(o){case g.HANDSHAKE:if(null!=e)throw new u.default(c.RPCCloseCodes.CLOSE_UNSUPPORTED,"Already connected");return this.handleHandshake(t,n,i);case g.FRAME:if(null==e)throw new u.default(c.RPCCloseCodes.CLOSE_UNSUPPORTED,"Not connected");return this.handleFrame(n,e,i);case g.CLOSE:if(null==e)throw new u.default(c.RPCCloseCodes.CLOSE_UNSUPPORTED,"Not connected");return this.handleClose(e,i);default:throw new u.default(c.RPCCloseCodes.CLOSE_UNSUPPORTED,"Invalid opcode")}},t}(r.default));t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(29)),i=n(35),l=f(n(47)),u=f(n(24)),s=f(n(6)),d=f(n(7955));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=function(e){var t,r;function a(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleConfirm=function(){var e=t.props,n=e.onConfirm,r=e.onClose;null==r||r(),null==n||n()},t.handleDismiss=function(){var e=t.props,n=e.onDismiss,r=e.onClose;null==r||r(),null==n||n()},t}return r=e,(t=a).prototype=Object.create(r.prototype),t.prototype.constructor=t,v(t,r),a.prototype.render=function(){var e=this.props,t=e.transitionState,r=e.header,a=e.body,f=e.confirmText;return p(i.ModalRoot,{transitionState:t,"aria-label":r},void 0,p(i.ModalContent,{className:d.default.content},void 0,p("img",{src:n(10958),alt:r}),p(l.default,{size:l.default.Sizes.SIZE_24,className:d.default.header},void 0,r),p(u.default,{size:u.default.Sizes.SIZE_16},void 0,a)),p(i.ModalFooter,{className:d.default.footer},void 0,p(o.default,{size:o.default.Sizes.SMALL,onClick:this.handleConfirm},void 0,f),p(o.default,{size:o.default.Sizes.SMALL,look:o.default.Looks.LINK,color:o.default.Colors.PRIMARY,onClick:this.handleDismiss},void 0,s.default.Messages.CLOSE)))},a}(a.PureComponent);y.displayName="VideoDevicesWarningModal";var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PictureInPictureHeader=I,t.default=T;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(9)),i=n(3),l=E(n(469)),u=E(n(94)),s=E(n(61)),d=E(n(55)),f=n(10959),c=E(n(8853)),p=E(n(47)),v=E(n(10960)),y=E(n(9658)),m=n(1),_=E(n(6)),h=E(n(7378));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(){return(S=Object.assign||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}).apply(this,arguments)}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(e){var t=e.title,n=e.onJumpToChannel,r=e.idle,a=e.preventIdleComponent,o=(0,i.useStateFromStores)([u.default],(function(){return u.default.getChannelId()})),l=null!=o?O(v.default,{voiceChannelId:o,idle:r}):null;return O(a,{className:h.default.headerIdleContainer},void 0,O(s.default,{className:h.default.headerTitle,onClick:n},void 0,O(c.default,{"aria-label":_.default.Messages.OPEN_IN_THEATER,className:h.default.backButton,width:20,height:20}),O(p.default,{className:h.default.headerText,size:p.default.Sizes.SIZE_16,color:m.Colors.WHITE},void 0,t)),l)}function T(e){var t,n=e.children,r=e.idle,i=e.onJumpToChannel,u=e.backgroundKey,s=e.onActive,c=e.onForceIdle,p=e.renderBottomLeftControls,v=e.renderBottomRightControls,m=e.screenMessage,_=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["children","idle","onJumpToChannel","backgroundKey","onActive","onForceIdle","renderBottomLeftControls","renderBottomRightControls","screenMessage"]);return O("div",{onMouseMove:s,onMouseDown:s,onMouseLeave:c,className:(0,o.default)(h.default.pictureInPictureVideo,(t={},t[h.default.idle]=r,t)),onDoubleClick:i},void 0,O(l.default,{},void 0,O(f.BackgroundTransition,{},u,n)),null!=m?a.createElement(y.default,S({size:"small"},m)):null,O("div",{className:h.default.videoControls},void 0,O("div",{className:h.default.topControls},void 0,a.createElement(I,S({idle:r,onJumpToChannel:i},_))),O("div",{className:h.default.bottomControls},void 0,O(d.default,{grow:0,shrink:1,basis:"50%",align:d.default.Align.CENTER},void 0,null==p?void 0:p()),O(d.default,{grow:0,shrink:1,justify:d.default.Justify.END,basis:"50%",align:d.default.Align.CENTER},void 0,null==v?void 0:v()))))}I.displayName="PictureInPictureHeader",T.displayName="PictureInPictureVideo"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=s(n(0)),a=l(n(10360)),o=s(n(8288)),i=l(n(6));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e){var t=e.centerButton,n=void 0!==t&&t,l=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["centerButton"]),u=n?o.CenterControlButton:o.default;return r.createElement(u,d({},l,{iconComponent:a.default,label:i.default.Messages.EMBEDDED_ACTIVITIES_LEAVE_ACTIVITY}))}f.displayName="LeaveCallButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,d:"M18 2H7C5.897 2 5 2.898 5 4V11H12.59L10.293 8.708L11.706 7.292L16.414 11.991L11.708 16.706L10.292 15.294L12.582 13H5V20C5 21.103 5.897 22 7 22H18C19.103 22 20 21.103 20 20V4C20 2.898 19.103 2 18 2Z"}))}d.displayName="Logout"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=k;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=N(n(9)),i=N(n(8)),l=n(3),u=n(57),s=n(389),d=N(n(9143)),f=N(n(8257)),c=N(n(8351)),p=N(n(163)),v=N(n(12)),y=N(n(282)),m=N(n(278)),_=n(149),h=N(n(8475)),E=N(n(279)),g=N(n(47)),S=N(n(272)),O=n(48),I=N(n(258)),T=n(691),C=n(1),b=N(n(6)),M=N(n(7961));function N(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function P(){return(P=Object.assign||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}).apply(this,arguments)}function R(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function L(e,t){switch(e){case T.ParticipantTypes.ACTIVITY:return b.default.Messages.EMBEDDED_ACTIVITIES_NUM_PARTICIPANTS.format({numUsers:t});case T.ParticipantTypes.STREAM:return b.default.Messages.SPECTATORS.format({numViewers:t});default:throw new Error("Unknown participant type.")}}function D(e){var t=e.users,n=e.disableInteraction,r=e.guildId,a=e.participantType,i=e.channelId,l=e.handleUserContextMenu,u=L(a,t.length);return R(y.default,{"aria-label":u,className:M.default.popoutWrapper},void 0,R(S.default,{className:M.default.scroller},void 0,R(g.default,{size:g.default.Sizes.SIZE_12,className:M.default.memberListHeader},void 0,u),R("div",{},void 0,t.map((function(e){var t;return R(d.default,{guildId:r||void 0,className:(0,o.default)(M.default.memberListItem,(t={},t[M.default.popoutDisabled]=n,t)),textClassName:M.default.memberListItemText,user:e,disablePopout:n,nick:I.default.getNickname(r,i,e),onContextMenu:function(t){return n?null:l(t,e)}},e.id)})))))}function w(e){var t=e.users,n=e.guildId,r=e.channelId,a=e.maxVisibleUsers,i=void 0===a?3:a,l=e.className,u=L(e.participantType,t.length),s=t.length<i?t.map((function(e){return R("div",{className:M.default.viewersTooltipItem},e.id,I.default.getName(n,r,e))})):u;return R(_.TooltipContainer,{text:s,"aria-label":u,color:_.TooltipColors.GREY},void 0,R("div",{className:(0,o.default)(M.default.viewers,l)},void 0,R(h.default,{className:M.default.viewersIcon}),R("span",{"aria-hidden":"true"},void 0,t.length)))}D.displayName="PopoutList",w.displayName="CompactUsers";var j=[];function k(e){var t=e.channelId,n=e.guildId,r=e.participant,d=e.className,y=e.compact,_=void 0!==y&&y,h=e.disableInteraction,g=void 0!==h&&h,S=e.maxVisibleUsers,I=void 0===S?3:S,b=a.useState(!1),N=b[0],A=b[1],L=a.useRef(new u.DelayedCall(150,(function(){return A(!1)}))),k=(0,l.useStateFromStoresArray)([p.default,v.default],(function(){if(r.type===T.ParticipantTypes.STREAM){var e=p.default.getViewerIds(r.id);return e.length>0?e.map((function(e){return v.default.getUser(e)})).filter(O.isNotNullish):j}return r.type===T.ParticipantTypes.ACTIVITY&&r.participants.size>0?Array.from(r.participants).map((function(e){return v.default.getUser(e)})).filter(O.isNotNullish):j}),[r]),U=a.useCallback((function(){L.current.cancel(),A(!0)}),[]),G=a.useCallback((function(){L.current.delay()}),[]),F=a.useCallback((function(e,t){U(),(0,s.openContextMenu)(e,(function(e){return a.createElement(c.default,P({},e,{user:t}))}),{onClose:G})}),[G,U]);if(0===k.length)return null;if(_)return R(w,{maxVisibleUsers:I,users:k,guildId:n,channelId:t,className:d,participantType:r.type});var B=(0,i.default)(k).take(I).map((function(e){return R(E.default,{src:e.getAvatarURL(n||void 0),"aria-label":e.username,size:E.default.Sizes.SIZE_24,className:M.default.viewer},e.id)})).value();return k.length>I&&(B[B.length-1]=R("div",{className:M.default.overflow},"overflow","+",k.length-I+1)),R(f.default,{section:C.AnalyticsSections.STREAM_VIEWER_POPOUT},void 0,R("div",{onMouseEnter:U,onMouseLeave:G},void 0,R(m.default,{renderPopout:function(){return R(D,{participantType:r.type,handleUserContextMenu:F,guildId:n,channelId:t,users:k,disableInteraction:g})},shouldShow:N,position:m.default.Positions.TOP},void 0,(function(){return R("div",{className:(0,o.default)(M.default.viewers,d)},void 0,B)}))))}k.displayName="ParticipantsForSelectedParticipant"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=s(n(0)),a=l(n(8938)),o=s(n(8288)),i=l(n(6));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e){var t=e.centerButton,n=void 0!==t&&t,l=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["centerButton"]),u=n?o.CenterControlButton:o.default;return r.createElement(u,d({},l,{iconComponent:a.default,label:i.default.Messages.DISCONNECT_SELF}))}f.displayName="LeaveCallButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r=d(n(0)),a=u(n(8520)),o=u(n(9144)),i=d(n(8288)),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function f(){return(f=Object.assign||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}).apply(this,arguments)}function c(e){return e?l.default.Messages.STOP_STREAMING:l.default.Messages.STOP_WATCHING}function p(e){var t=e.isSelfStream,n=e.centerButton,l=void 0!==n&&n,u=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["isSelfStream","centerButton"]),s=l?i.CenterControlButton:i.default;return r.createElement(s,f({label:c(t),iconComponent:t?a.default:o.default},u))}p.displayName="StopStreamButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=s(n(0)),a=l(n(8939)),o=s(n(8288)),i=l(n(6));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e){var t=e.hasPermission,n=e.centerButton,l=void 0!==n&&n,u=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["hasPermission","centerButton"]),s=l?o.CenterControlButton:o.default,f=t?i.default.Messages.SHARE_YOUR_SCREEN:i.default.Messages.ACTIVITY_PANEL_GO_LIVE_TOOLTIP_NO_PERMISSION_IN_VOICE;return r.createElement(s,d({label:f,disabled:!t,iconComponent:a.default},u))}f.displayName="StreamButton"},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=P(n(0)),o=N(n(9)),i=N(n(23)),l=n(3),u=N(n(1345)),s=N(n(1201)),d=N(n(754)),f=N(n(6126)),c=n(285),p=N(n(105)),v=N(n(1434)),y=N(n(1291)),m=N(n(5952)),_=N(n(39)),h=N(n(161)),E=n(165),g=n(41),S=n(217),O=P(n(745)),I=n(248),T=N(n(16)),C=n(259),b=n(1),M=N(n(7964));function N(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function P(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function R(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function L(){return(L=Object.assign||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}).apply(this,arguments)}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var w=R(I.MaskLibrary,{}),j=R(O.default,{}),k=R(E.AppLayerContainer,{}),U=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).rootRef=a.createRef(),t.handleContextMenu=function(e){e.preventDefault()},t.handleKeyboardUsage=function(e){var n=t.props.guestWindow;if(null==n)throw new Error("");!0===e.ctrlKey||!0===e.altKey||!0===e.metaKey||e.keyCode!==b.KeyboardKeys.TAB||((0,c.enableKeyboardMode)(),n.addEventListener("mousedown",t.handleMouseUsage),n.removeEventListener("keydown",t.handleKeyboardUsage))},t.handleMouseUsage=function(){var e=t.props.guestWindow;(0,i.default)(e),(0,c.disableKeyboardMode)(),e.addEventListener("keydown",t.handleKeyboardUsage),e.removeEventListener("mousedown",t.handleMouseUsage)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,D(t,n);var l=r.prototype;return l.componentDidMount=function(){var e=this.props,t=e.guestWindow,n=e.keyboardModeEnabled,r=t.document;null==r.querySelector("title")&&null!=r.head&&r.head.appendChild(r.createElement("title")),this.updateTitle(),this.updateFontScale(),this.updateLocale(),r.addEventListener("contextmenu",this.handleContextMenu,!0),n?t.addEventListener("mousedown",this.handleMouseUsage):t.addEventListener("keydown",this.handleKeyboardUsage)},l.componentDidUpdate=function(e){var t=this.props,n=t.title,r=t.fontScale,a=t.locale;e.title!==n&&this.updateTitle(),e.fontScale!==r&&this.updateFontScale(),e.locale!==a&&this.updateLocale()},l.componentWillUnmount=function(){var e=this.props.guestWindow,t=e.document;e.removeEventListener("keydown",this.handleKeyboardUsage),e.removeEventListener("mousedown",this.handleMouseUsage),t.removeEventListener("contextmenu",this.handleContextMenu,!0),g.useModalsStore.setState((function(e){var t;return L({},e,((t={})[S.POPOUT_MODAL_CONTEXT]=[],t))}))},l.updateLocale=function(){var e=this.props,t=e.locale,n=e.guestWindow.document.documentElement;(0,i.default)(null!=n,"Window document element was null"),n.lang=t},l.updateTitle=function(){var e=this.props,t=e.title,n=e.guestWindow.document.querySelector("title");null!=n&&(n.innerText=t)},l.updateFontScale=function(){var e=this.props,t=e.fontScale,n=e.guestWindow.document.documentElement;(0,i.default)(null!=n,"Window document element was null"),n.style.fontSize=t+"%"},l.render=function(){var e=this.props,t=e.theme,n=e.focused,r=e.appFocused,i=e.children,l=e.windowKey,f=e.keyboardModeEnabled,c=e.fontScaleClass,p=e.saturation,m=e.withTitleBar,_=T.default.getPlatform(),h=(0,o.default)(c,{"keyboard-mode":f,"app-focused":n||r,"low-saturation":p<=.4});return a.createElement("div",{"data-popout-root":!0,ref:this.rootRef,className:(0,o.default)((0,C.getThemeClass)(t),(0,v.default)(),h)},R(y.default,{containerRef:this.rootRef},void 0,R(u.default,{},void 0,w,R(E.AppLayerProvider,{},void 0,R(O.ModalProvider,{contextKey:S.POPOUT_MODAL_CONTEXT},void 0,R("div",{className:M.default.popout},void 0,m&&null!=_?R(s.default,{appContext:b.AppContext.POPOUT,focused:n,type:_,windowKey:l,macOSFrame:!0}):null,R("div",{className:M.default.content},void 0,i)),j,R(d.default,{context:b.AppContext.POPOUT}),k)))))},r}(a.Component);function G(e,t){var n=(0,l.useStateFromStoresObject)([m.default],(function(){return{guestWindow:m.default.getWindow(e.windowKey),focused:m.default.getWindowFocused(e.windowKey)}})),r=n.guestWindow,o=n.focused,i=(0,l.useStateFromStores)([h.default],(function(){return h.default.isFocused()})),u=(0,l.useStateFromStoresObject)([_.default],(function(){return{locale:_.default.locale,theme:_.default.theme}})),s=u.locale,d=u.theme,f=(0,l.useStateFromStoresObject)([p.default],(function(){return{fontScale:p.default.fontScale,keyboardModeEnabled:p.default.keyboardModeEnabled,fontScaleClass:p.default.fontScaleClass,saturation:p.default.saturation}})),c=f.fontScale,v=f.keyboardModeEnabled,y=f.fontScaleClass,E=f.saturation;return null==r?null:a.createElement(U,L({ref:t},e,{guestWindow:r,focused:o,appFocused:i,locale:s,theme:d,fontScale:c,keyboardModeEnabled:v,fontScaleClass:y,saturation:E}))}U.displayName="PopoutWindow",U.defaultProps={withTitleBar:!0},G.displayName="ConnectedPopoutWindow";var F=(0,f.default)(a.forwardRef(G));t.default=F},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i=Se(n(0)),l=Ee(n(9)),u=Ee(n(23)),s=Ee(n(1243)),d=n(3),f=n(34),c=n(57),p=Ee(n(2)),v=Ee(n(705)),y=n(389),m=Ee(n(132)),_=n(364),h=Ee(n(1439)),E=Ee(n(10964)),g=Ee(n(8257)),S=Ee(n(754)),O=Ee(n(9699)),I=Se(n(9124)),T=n(106),C=n(140),b=n(484),M=Ee(n(10966)),N=Se(n(1293)),A=Ee(n(5952)),P=n(42),R=Ee(n(8476)),L=Ee(n(8930)),D=Ee(n(8322)),w=Ee(n(10967)),j=Ee(n(10345)),k=Ee(n(10974)),U=Ee(n(8661)),G=Ee(n(8400)),F=Ee(n(10374)),B=Ee(n(10975)),H=Ee(n(10976)),x=Ee(n(9148)),V=Ee(n(9142)),W=Ee(n(10978)),Y=Ee(n(10979)),z=Ee(n(163)),K=Ee(n(11)),$=Ee(n(303)),Z=Ee(n(15)),q=Ee(n(51)),X=Ee(n(40)),J=Ee(n(200)),Q=Ee(n(36)),ee=Ee(n(12)),te=Ee(n(80)),ne=Ee(n(55)),re=n(165),ae=n(8263),oe=Ee(n(13)),ie=n(121),le=Ee(n(16)),ue=n(259),se=Ee(n(43)),de=n(733),fe=n(691),ce=Ee(n(688)),pe=Ee(n(9138)),ve=Ee(n(10980)),ye=Ee(n(10361)),me=n(1),_e=Ee(n(6)),he=Ee(n(7977));function Ee(e){return e&&e.__esModule?e:{default:e}}function ge(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return ge=function(){return e},e}function Se(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=ge();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function Oe(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function Ie(){return(Ie=Object.assign||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}).apply(this,arguments)}function Te(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ce(e,t){return(Ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function be(e,t,n,r){o||(o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&a)for(var s in a)void 0===t[s]&&(t[s]=a[s]);else t||(t=a||{});return{$$typeof:o,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var Me=((r={})[me.ChannelLayouts.NORMAL]=he.default.normal,r[me.ChannelLayouts.MINIMUM]=he.default.minimum,r[me.ChannelLayouts.NO_CHAT]=he.default.noChat,r[me.ChannelLayouts.FULL_SCREEN]=he.default.fullScreen,r),Ne=((a={})[me.AppContext.POPOUT]=he.default.popout,a[me.AppContext.APP]=null,a[me.AppContext.OVERLAY]=null,a);function Ae(e){var t=e.resizableNode,n=e.onResize,r=e.maxHeight,a=i.useState(null),o=a[0],l=a[1];return i.useEffect((function(){var e,n;l(null!==(e=null===(n=t.current)||void 0===n?void 0:n.offsetHeight)&&void 0!==e?e:null)}),[t]),be("div",{onMouseDown:(0,I.default)({initialElementDimension:o,minDimension:200,maxDimension:r,resizableDomNodeRef:t,onElementResize:n,orientation:I.ResizeOrientation.VERTICAL}),className:he.default.resizeHandle})}function Pe(e){var t;return(null!==(t=null==e?void 0:e.window)&&void 0!==t?t:window).document.querySelector("#app-mount")}Ae.displayName="ResizeHandle";var Re=be(re.AppLayerContainer,{}),Le=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._prevLayout=me.ChannelLayouts.MINIMUM,t._wrapperRef=i.createRef(),t._contentRef=i.createRef(),t._timeout=new c.Timeout,t._lastIdleProps=null,t._rootNode=Pe(t.props.popoutWindow),t.state={maxHeight:window.innerHeight-200,resizedHeight:null},t.handleFullScreenChange=function(){var e=t._rootNode;null!=e&&((0,de.isFullScreen)(e,t.currentDocument)||t.props.layout!==me.ChannelLayouts.FULL_SCREEN||t.handleFullScreen())},t.handleFullScreen=function(){var e=t._rootNode;null!=e&&(t.props.layout!==me.ChannelLayouts.FULL_SCREEN?(t._prevLayout=t.props.layout,t.handleChangeLayout(me.ChannelLayouts.FULL_SCREEN),(0,de.requestFullScreen)(e,h.default.resized)):t.maybeLeaveFullScreen())},t.maybeLeaveFullScreen=function(){var e=t._rootNode;null!=e&&t.props.layout===me.ChannelLayouts.FULL_SCREEN&&(t.handleChangeLayout(t._prevLayout),(0,de.exitFullScreen)(e,h.default.resized,t.currentDocument))},t.handleToggleLayout=function(){t.handleChangeLayout(t.props.layout===me.ChannelLayouts.NORMAL?me.ChannelLayouts.NO_CHAT:me.ChannelLayouts.NORMAL)},t.handleChangeLayout=function(e){var n=t.props,r=n.channel,a=n.appContext;n.layout!==e&&(v.default.updateLayout(r.id,e,a),e===me.ChannelLayouts.FULL_SCREEN&&r.isPrivate()&&ie.ComponentDispatch.dispatch(me.ComponentActions.TEXTAREA_BLUR))},t.handleDisconnect=function(){t.props.layout===me.ChannelLayouts.FULL_SCREEN&&t.handleFullScreen()},t.handleContextMenu=function(e,n){var r,a,o=t.props,l=o.channel,s=o.appContext,d=o.layout,f=!(d===me.ChannelLayouts.FULL_SCREEN)&&!t.inPopout,c={onClose:function(){var e;return null===(e=t._lastIdleProps)||void 0===e?void 0:e.onAllowIdle("menu")},context:s};switch(null===(r=t._lastIdleProps)||void 0===r||r.onPreventIdle("menu"),null===(a=t._lastIdleProps)||void 0===a||a.onActive(),e.type){case fe.ParticipantTypes.STREAM:return void(0,y.openContextMenu)(n,(function(n){return i.createElement(M.default,Ie({},n,{stream:e.stream,exitFullscreen:t.maybeLeaveFullScreen,appContext:s}))}),c);case fe.ParticipantTypes.USER:var p=ee.default.getUser(e.id);if(null!=p)switch(l.type){case me.ChannelTypes.DM:return(0,y.openContextMenu)(n,(function(e){return i.createElement(R.default,Ie({},e,{showChannelCallItems:!0,showMediaItems:!0,user:p,channel:l,showModalItems:f}))}),c);case me.ChannelTypes.GROUP_DM:return(0,y.openContextMenu)(n,(function(e){return i.createElement(L.default,Ie({},e,{showChannelCallItems:!0,showMediaItems:!0,showChatItems:d===me.ChannelLayouts.MINIMUM||d===me.ChannelLayouts.NORMAL,user:p,channel:l,showModalItems:f}))}),c);case me.ChannelTypes.GUILD_VOICE:var v=l.getGuildId();return(0,u.default)(null!=v,"GuildID null for guild voice channel"),(0,y.openContextMenu)(n,(function(e){return i.createElement(D.default,Ie({},e,{showMediaItems:!0,showChannelCallItems:!0,showChatItems:!1,user:p,channelId:l.id,guildId:v,showModalItems:f}))}),c)}}},t.handleCallResize=function(e){t.setState({resizedHeight:e})},t.handleWindowResize=(0,s.default)((function(){t.setState({maxHeight:window.innerHeight-200})}),300),t.handleSelectParticipant=function(e,n){var r=t.props,a=r.channel,o=r.selectedParticipant,i=r.allActiveStreams,l=r.inCall,u=r.mode;if(e.type===fe.ParticipantTypes.STREAM&&(m.default.selectVoiceChannel(a.id),0===i.filter((function(t){return(0,C.encodeStreamKey)(t)===e.id&&t.state!==me.ApplicationStreamStates.ENDED})).length)){if(!(0,b.canWatchStream)(a,te.default,Z.default,X.default))return;(0,_.watchStream)((0,C.decodeStreamKey)(e.id),{forceMultiple:n.shiftKey})}l&&u===me.ChannelModes.VIDEO&&((null==o?void 0:o.id)===e.id?v.default.selectParticipant(a.id,null):v.default.selectParticipant(a.id,e.id))},t.handleOpenPopout=function(){var e=t.props,n=e.channel,r=e.mostRecentSelectedTextChannelId,a=n.getGuildId();null!=a&&null!=r&&(0,P.transitionToGuild)(a,r),N.openChannelCallPopout(n)},t.handleStayOnTop=function(e){N.setAlwaysOnTop(me.PopoutWindowKeys.CHANNEL_CALL_POPOUT,e)},t.handleClosePopout=function(){N.close(me.PopoutWindowKeys.CHANNEL_CALL_POPOUT)},t.handleFullscreenParticipant=function(e,n){var r=t.props,a=r.layout,o=r.selectedParticipant,i=a===me.ChannelLayouts.FULL_SCREEN;(!i&&(null==o?void 0:o.id)!==e.id||i&&(null==o?void 0:o.id)===e.id)&&t.handleSelectParticipant(e,n),t.handleFullScreen()},t.renderRegionSelect=function(){var e,n=t.props,r=n.call,a=n.channel,o=n.layout;return t.inPopout||o===me.ChannelLayouts.FULL_SCREEN||null==r||a.isManaged()||(e=be(E.default,{call:r})),be(ne.default,{justify:ne.default.Justify.END},void 0,e)},t.renderBottomCenter=function(){var e=t.props,n=e.channel,r=e.mode;return be(w.default,{exitFullScreen:t.maybeLeaveFullScreen,channel:n,mode:r,inPopout:t.inPopout,onDisconnectCall:t.handleDisconnect})},t.renderBottomLeft=function(){var e=t.props,n=e.layout,r=e.mentionCount,a=e.channel,o=e.appContext,l=e.useNewInviteButton,u=e.selectedParticipant,s=n===me.ChannelLayouts.NO_CHAT?B.default.Directions.UP:B.default.Directions.DOWN,d=[me.ChannelLayouts.FULL_SCREEN,me.ChannelLayouts.NO_CHAT].includes(n),f=n===me.ChannelLayouts.FULL_SCREEN?function(){t._prevLayout=me.ChannelLayouts.NORMAL,t.handleFullScreen()}:t.handleToggleLayout,c=t.viewProperties,p=c.canChangeLayout,v=c.canInvite,y=l?be(k.default,{channel:a,stream:(null==u?void 0:u.type)===fe.ParticipantTypes.STREAM?(0,C.decodeStreamKey)(u.id):void 0,applicationId:(null==u?void 0:u.type)===fe.ParticipantTypes.ACTIVITY?u.id:void 0,appContext:o,className:he.default.leftTrayIcon,exitFullScreen:t.maybeLeaveFullScreen,analyticsLocation:a.type===me.ChannelTypes.GUILD_VOICE?me.AnalyticsPages.GUILD_CHANNEL:me.AnalyticsPages.DM_CHANNEL}):be(x.default,{channel:a,stream:(null==u?void 0:u.type)===fe.ParticipantTypes.STREAM?(0,C.decodeStreamKey)(u.id):void 0,appContext:o,className:he.default.leftTrayIcon,exitFullScreen:t.maybeLeaveFullScreen,analyticsLocation:a.type===me.ChannelTypes.GUILD_VOICE?me.AnalyticsPages.GUILD_CHANNEL:me.AnalyticsPages.DM_CHANNEL});return i.createElement(i.Fragment,null,v?y:null,p?be(ne.default,{className:he.default.iconWrapper,align:ne.default.Align.CENTER,grow:0},void 0,be(B.default,{label:d?_e.default.Messages.SHOW_CHAT:_e.default.Messages.HIDE_CHAT,direction:s,className:he.default.leftTrayIcon,onClick:f}),d&&r>0?be(ae.NumberBadge,{className:he.default.badge,count:r}):null):null,(null==u?void 0:u.type)===fe.ParticipantTypes.STREAM||(null==u?void 0:u.type)===fe.ParticipantTypes.ACTIVITY?be(G.default,{},void 0,be(ye.default,{className:he.default.viewersButton,participant:u,maxVisibleUsers:4,guildId:a.getGuildId(),channelId:a.id,disableInteraction:t.inPopout||n===me.ChannelLayouts.FULL_SCREEN})):null)},t.renderBottomRight=function(){var e=t.props,n=e.popoutWindow,r=e.popoutWindowAlwaysOnTop,a=e.currentUserId,o=e.selectedParticipant,l=t.viewProperties,u=l.canFullscreen,s=l.canStayOnTop,d=l.canPopout,f=l.useTheme;return i.createElement(i.Fragment,null,null!=o&&o.type!==fe.ParticipantTypes.ACTIVITY&&o.user.id!==a?be(Y.default,{context:(0,pe.default)(o.type),userId:o.user.id,currentWindow:t.inPopout?null!=n?n:void 0:window,sliderClassName:he.default.volumeSlider}):null,s?be(W.default,{className:he.default.rightTrayIcon,popoutWindowAlwaysOnTop:r,onToggleStayOnTop:t.handleStayOnTop}):null,d?be(V.default,{themeable:f,popoutOpen:t.popoutOpen,className:he.default.rightTrayIcon,onOpenPopout:t.handleOpenPopout,onClosePopout:t.handleClosePopout}):null,u?be(H.default,{themeable:f,node:t._rootNode,guestWindow:n,className:he.default.rightTrayIcon,onClick:t.handleFullScreen}):null)},t.renderHeader=function(){var e=t.props,n=e.renderExternalHeader,r=e.channel,a=e.appContext,o=e.layout,i=t.viewProperties,l=i.useExternalHeader,u=i.canSelectRegion,s=i.renderHeader,d=o===me.ChannelLayouts.FULL_SCREEN;return s?be(G.default,{},void 0,be("div",{className:he.default.headerWrapper},void 0,l?null==n?void 0:n():be(ve.default,{channel:r,appContext:a,inPopout:t.inPopout,isFullScreen:d,exitFullScreen:t.maybeLeaveFullScreen})),u?t.renderRegionSelect():null):null},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,Ce(t,n);var a,o,d,f=r.prototype;return f.componentDidMount=function(){var e=this.props,t=e.channel,n=e.layout;this.currentDocument.addEventListener(de.FULLSCREEN_CHANGE_EVENT,this.handleFullScreenChange),window.addEventListener("resize",this.handleWindowResize),oe.default.track(me.AnalyticEvents.VIDEO_LAYOUT_TOGGLED,Ie({video_layout:this.inPopout?"popout":n},(0,T.collectVoiceAnalyticsMetadata)(t.id)))},f.componentWillUnmount=function(){this._timeout.stop(),this.currentDocument.removeEventListener(de.FULLSCREEN_CHANGE_EVENT,this.handleFullScreenChange),window.removeEventListener("resize",this.handleWindowResize),this.inPopout&&le.default.isOSX()||this.maybeLeaveFullScreen()},f.componentDidUpdate=function(e){var t,n=this,r=this.props,a=r.onResize,o=r.participantsOpen,i=r.filteredParticipants,l=r.inCall,u=r.mode,s=r.layout,d=this._rootNode;(null!=d&&e.mode===me.ChannelModes.VIDEO&&u===me.ChannelModes.VOICE&&(0,de.isFullScreen)(d,this.currentDocument)&&(0,de.exitFullScreen)(d,h.default.resized,this.currentDocument),e.filteredParticipants.length!==i.length&&(null==a||a()),e.layout!==s&&(this._timeout.stop(),this._timeout.start(350,(function(){return null==a?void 0:a()}))),e.participantsOpen!==o||s!==e.layout)&&(null===(t=this._contentRef.current)||void 0===t||t.triggerResize());e.inCall&&!l&&this.inPopout&&p.default.wait((function(){return n.handleClosePopout()}))},f.renderContent=function(e){var t=this.props,n=t.selectedParticipant,r=t.inCall,a=t.mode,o=t.popoutWindow,l=t.participantsOpen,u=t.participants,s=t.filteredParticipants,d=t.participantsVersion,f=t.channel,c=t.layout,p=c===me.ChannelLayouts.MINIMUM,v=p||c===me.ChannelLayouts.NORMAL,y=r&&a===me.ChannelModes.VIDEO;return this._lastIdleProps=e,i.createElement(F.default,Ie({renderHeader:this.renderHeader,renderBottomLeft:this.renderBottomLeft,renderBottomCenter:this.renderBottomCenter,renderBottomRight:this.renderBottomRight},e,{screenMessage:this.screenMessage,disableGradients:p,idle:!p&&e.idle}),!this.popoutOpen||this.inPopout?i.createElement(j.default,{ref:this._contentRef,inCall:r,paused:this.paused,channel:f,participants:u,filteredParticipants:s,participantsVersion:d,selectedParticipant:y?n:null,layout:c,idle:e.idle,mode:a,onSelectParticipant:this.handleSelectParticipant,onContextMenuParticipant:this.handleContextMenu,showParticipants:l&&!v,popoutWindow:this.inPopout?o:null}):null)},f.render=function(){var e,t=this,n=this.props,r=n.layout,a=n.channel,o=n.mode,u=n.appContext,s=this.state,d=s.maxHeight,f=s.resizedHeight,c=o===me.ChannelModes.VIDEO,p=be(S.default,{context:u});return i.createElement("div",{className:(0,l.default)(he.default.wrapper,Me[r],Ne[u],(e={},e[he.default.poppedOut]=this.popoutOpen&&!this.inPopout&&r!==me.ChannelLayouts.NO_CHAT&&a.isPrivate(),e[he.default.video]=c,e[(0,ue.getThemeClass)(me.ThemeTypes.DARK)]=c,e)),ref:this._wrapperRef,style:r===me.ChannelLayouts.NO_CHAT||null==f?void 0:{minHeight:200,maxHeight:d,height:f}},be("div",{className:he.default.callContainer},void 0,be(U.default,{timeout:2e3},void 0,(function(e){return t.viewProperties.usePositionLayer?be(re.AppLayerProvider,{},void 0,t.renderContent(e),p,Re):t.renderContent(e)}))),r!==me.ChannelLayouts.NO_CHAT&&be(Ae,{maxHeight:d,resizableNode:this._wrapperRef,onResize:this.handleCallResize}))},a=r,(o=[{key:"nativePopoutSupported",get:function(){return le.default.embedded&&se.default.supportsFeature(me.NativeFeatures.POPOUT_WINDOWS)}},{key:"popoutSupported",get:function(){return!le.default.embedded||this.nativePopoutSupported}},{key:"popoutOpen",get:function(){var e=this.props.popoutWindow;return null!=e&&!e.closed}},{key:"currentDocument",get:function(){var e=this.props.popoutWindow;return null!=e&&this.popoutOpen&&this.inPopout?e.document:document}},{key:"screenMessage",get:function(){return this.popoutOpen&&!this.inPopout?{mainText:_e.default.Messages.POPOUT_PLAYER_OPENED}:null}},{key:"paused",get:function(){return this.popoutOpen&&!this.inPopout}},{key:"inPopout",get:function(){return this.props.appContext===me.AppContext.POPOUT}},{key:"viewProperties",get:function(){var e=this.props,t=e.layout,n=e.mode,r=e.channel,a=e.inCall,o=n===me.ChannelModes.VIDEO&&a&&!(this.popoutOpen&&!this.inPopout),i=n===me.ChannelModes.VIDEO&&a&&!this.inPopout&&this.popoutSupported,l=n!==me.ChannelModes.VOICE&&r.isPrivate()&&!this.inPopout&&a,u=r.type===me.ChannelTypes.GUILD_VOICE,s=t===me.ChannelLayouts.MINIMUM||t===me.ChannelLayouts.NORMAL,d=this.inPopout&&this.nativePopoutSupported,f={renderHeader:!0,useTheme:!1,usePositionLayer:!1,useExternalHeader:s,canInvite:u,canPopout:i,canFullscreen:o,canSelectRegion:r.isPrivate(),canChangeLayout:l,canStayOnTop:d};if(!a)return Ie({},f,{canFullscreen:o,useTheme:!0});switch(t){case me.ChannelLayouts.FULL_SCREEN:return Ie({},f,{canPopout:!this.inPopout&&this.popoutOpen&&f.canPopout,usePositionLayer:!0});case me.ChannelLayouts.MINIMUM:return Ie({},f,{canPopout:!1});case me.ChannelLayouts.NO_CHAT:case me.ChannelLayouts.NORMAL:return Ie({},f)}}}])&&Te(a.prototype,o),d&&Te(a,d),r}(i.PureComponent);function De(e){var t,n=e.channel,r=e.appContext,a=e.onResize,o=e.renderExternalHeader,l=(0,d.useStateFromStores)([Q.default],(function(){return Q.default.getVoiceChannelId()===n.id})),u=(0,d.useStateFromStores)([Q.default],(function(){return Q.default.getMostRecentSelectedTextChannelId(n.getGuildId())})),s=(0,d.useStateFromStoresObject)([q.default],(function(){return{video:q.default.supports(f.Features.VIDEO),videoEnabled:q.default.isVideoEnabled()}})),c=s.video,p=s.videoEnabled,v=(0,d.useStateFromStoresObject)([ce.default],(function(){var e=r===me.AppContext.POPOUT,t=ce.default.getMode(n.id);e&&(t=me.ChannelModes.VIDEO);var a=l&&t===me.ChannelModes.VIDEO?ce.default.getLayout(n.id,r):me.ChannelLayouts.MINIMUM;return e&&a!==me.ChannelLayouts.FULL_SCREEN&&(a=me.ChannelLayouts.NO_CHAT),{mode:t,layout:a,selectedParticipant:t!==me.ChannelModes.VOICE?ce.default.getSelectedParticipant(n.id):null,participants:ce.default.getParticipants(n.id),filteredParticipants:ce.default.getFilteredParticipants(n.id),participantsOpen:ce.default.getParticipantsOpen(n.id),participantsVersion:ce.default.getParticipantsVersion(n.id)}}),[n.id,n.type,c,l]),y=v.participants,m=v.filteredParticipants,_=v.participantsVersion,h=v.mode,E=v.layout,S=v.participantsOpen,I=v.selectedParticipant,T=(0,d.useStateFromStoresObject)([z.default],(function(){return{allActiveStreams:z.default.getAllActiveStreams(),selectedStream:null!=I?z.default.getActiveStreamForStreamKey(I.id):null}}),[I]),C=T.allActiveStreams,b=T.selectedStream,M=(0,d.useStateFromStores)([$.default],(function(){return $.default.getCall(n.id)}),[n.id]),N=(0,d.useStateFromStores)([J.default],(function(){return J.default.getMentionCount(n.id)}),[n.id]),P=(0,d.useStateFromStores)([K.default],(function(){return K.default.getId()})),R=(0,d.useStateFromStoresObject)([A.default],(function(){return{popoutWindow:A.default.getWindow(me.PopoutWindowKeys.CHANNEL_CALL_POPOUT),popoutWindowAlwaysOnTop:A.default.getIsAlwaysOnTop(me.PopoutWindowKeys.CHANNEL_CALL_POPOUT)}})),L=R.popoutWindow,D=R.popoutWindowAlwaysOnTop,w=O.default.useExperiment({guildId:null!==(t=n.getGuildId())&&void 0!==t?t:""})[0].useNewInviteButton;return i.useEffect((function(){var e=!1,t=null;return function(){var n,r=(n=regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!l||h!==me.ChannelModes.VIDEO){n.next=5;break}return n.next=3,se.default.blockDisplaySleep();case 3:t=n.sent,e&&null!=t&&se.default.unblockDisplaySleep(t);case 5:case"end":return n.stop()}}),n)})),function(){var e=this,t=arguments;return new Promise((function(r,a){var o=n.apply(e,t);function i(e){Oe(o,r,a,i,l,"next",e)}function l(e){Oe(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return r.apply(this,arguments)}}()(),function(){null!=t?se.default.unblockDisplaySleep(t):e=!0}}),[l,h]),be(g.default,{page:me.AnalyticsPages.CHANNEL_CALL},void 0,be(Le,{channel:n,participantsOpen:S,renderExternalHeader:o,appContext:r,call:M,onResize:a,popoutWindow:L,popoutWindowAlwaysOnTop:D,videoEnabled:p,mentionCount:N,selectedStream:b,video:c,mode:h,inCall:l,participants:y,filteredParticipants:m,participantsVersion:_,layout:E,currentUserId:P,selectedParticipant:I,allActiveStreams:C,useNewInviteButton:w,mostRecentSelectedTextChannelId:u}))}Le.displayName="ChannelCall",De.displayName="ChannelCallConnected";var we=De;t.default=we},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=!u.default.embedded,t=(0,a.useStateFromStores)([l.default],(function(){return l.default.getMode()})),n=function(e,n){return p(i.MenuRadioItem,{id:e,group:"input-modes",label:n,checked:t===e,action:function(){return o.default.setMode(e)}},e)};return[n(s.InputModes.VOICE_ACTIVITY,d.default.Messages.INPUT_MODE_VAD),n(s.InputModes.PUSH_TO_TALK,e?d.default.Messages.INPUT_MODE_PTT_LIMITED:d.default.Messages.INPUT_MODE_PTT)]};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=f(n(288)),i=n(8253),l=f(n(51)),u=f(n(16)),s=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=c(n(288)),l=n(8253),u=c(n(8733)),s=c(n(51)),d=n(8425),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(){return(y=Object.assign||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}).apply(this,arguments)}function m(){var e=(0,o.useStateFromStores)([s.default],(function(){return(0,d.amplitudeToPerceptual)(s.default.getInputVolume())}));return v(l.MenuControlItem,{id:"input",label:f.default.Messages.FORM_LABEL_INPUT_VOLUME,control:function(t,n){return a.createElement(u.default,y({},t,{ref:n,value:e,onChange:function(e){return i.default.setInputVolume((0,d.perceptualToAmplitude)(e))},"aria-label":f.default.Messages.FORM_LABEL_INPUT_VOLUME}))}})}m.displayName="useInputDeviceVolumeItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=p(n(288)),l=n(8253),u=p(n(8733)),s=p(n(51)),d=n(8425),f=p(n(16)),c=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(){var e=(0,o.useStateFromStores)([s.default],(function(){return(0,d.amplitudeToPerceptual)(s.default.getOutputVolume())}));return y(l.MenuControlItem,{id:"output",label:c.default.Messages.FORM_LABEL_OUTPUT_VOLUME,control:function(t,n){return a.createElement(u.default,m({},t,{ref:n,value:e,maxValue:f.default.embedded?200:100,onChange:function(e){return i.default.setOutputVolume((0,d.perceptualToAmplitude)(e))},"aria-label":c.default.Messages.FORM_LABEL_OUTPUT_VOLUME}))}})}_.displayName="useOutputDeviceVolumeItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=s(n(0)),a=l(n(9147)),o=s(n(8288)),i=l(n(6));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e){var t=e.channel,n=e.centerButton,l=void 0!==n&&n,u=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["channel","centerButton"]),s=l?o.CenterControlButton:o.default,f=t.isManaged()||!t.isPrivate()?i.default.Messages.CONNECT:i.default.Messages.JOIN_CALL;return r.createElement(s,d({},u,{iconComponent:a.default,label:f}))}f.displayName="JoinCallButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var r,a=c(n(0)),o=d(n(10373)),i=d(n(407)),l=d(n(1261)),u=c(n(8288)),s=d(n(7968));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e){var t=e.className;return v(l.default,{foreground:s.default.slash,className:t})}function m(e){var t=e.selfMute,n=e.serverMute,r=e.suppress,l=e.centerButton,s=void 0!==l&&l,d=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["selfMute","serverMute","suppress","centerButton"]),f=t||n||r,c=s?u.CenterControlButton:u.default,v=(0,o.default)(t,n,r),m=f?y:i.default;return a.createElement(c,p({iconComponent:m,label:v},d))}y.displayName="MuteWithForeground",m.displayName="MuteButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(n)return a.default.Messages.SUPPRESSED;if(t)return a.default.Messages.SERVER_MUTED_DIALOG_TITLE;return e?a.default.Messages.UNMUTE:a.default.Messages.MUTE};var r,a=(r=n(6))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=s(n(55)),l=s(n(9658)),u=s(n(7971));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.disableGradients,n=void 0!==t&&t,r=e.renderHeader,a=e.renderBottomLeft,o=e.renderBottomCenter,l=e.renderBottomRight,s=e.renderCenter;return c("div",{className:u.default.videoControls},void 0,!n&&c("div",{className:u.default.gradientTop}),!n&&c("div",{className:u.default.gradientBottom}),c("div",{className:u.default.topControls},void 0,null==r?void 0:r()),null==s?void 0:s(),c("div",{className:u.default.bottomControls},void 0,c(i.default,{grow:0,shrink:1,basis:"50%",align:i.default.Align.CENTER},void 0,null==a?void 0:a()),c(i.default,{grow:1,justify:i.default.Justify.CENTER,align:i.default.Align.CENTER},void 0,null==o?void 0:o()),c(i.default,{grow:0,shrink:1,justify:i.default.Justify.END,basis:"50%",align:i.default.Align.CENTER},void 0,null==l?void 0:l())))}function v(e){var t,n=e.screenMessage,r=e.onDoubleClick,i=e.onActive,s=e.onForceIdle,d=e.idle,v=e.children,y=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["screenMessage","onDoubleClick","onActive","onForceIdle","idle","children"]);return c("div",{className:(0,o.default)(u.default.root,(t={},t[u.default.idle]=d,t)),onMouseMove:i,onMouseDown:i,onMouseLeave:s,onDoubleClick:r},void 0,v,null!=n?a.createElement(l.default,f({size:"large"},n)):null,a.createElement(p,y))}p.displayName="Controls",v.displayName="FullsizePlayer"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=k;var r,a=L(n(0)),o=P(n(9)),i=n(3),l=P(n(28)),u=P(n(2)),s=P(n(8479)),d=L(n(1293)),f=P(n(5952)),c=n(42),p=P(n(10374)),v=P(n(9142)),y=P(n(36)),m=n(41),_=P(n(16)),h=n(259),E=P(n(43)),g=L(n(1425)),S=P(n(10992)),O=P(n(10995)),I=P(n(10997)),T=P(n(11008)),C=P(n(11015)),b=P(n(11018)),M=n(1),N=P(n(6)),A=P(n(7996));function P(e){return e&&e.__esModule?e:{default:e}}function R(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return R=function(){return e},e}function L(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=R();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function D(){return(D=Object.assign||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}).apply(this,arguments)}function w(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function j(e){var t=e.channel,n=e.toggleRequestToSpeakSidebar,r=e.showRequestToSpeakSidebar,o=a.useContext(s.default),l=(0,i.useStateFromStores)([f.default],(function(){return f.default.getWindow(M.PopoutWindowKeys.CHANNEL_CALL_POPOUT)})),m=(0,i.useStateFromStoresObject)([y.default],(function(){return{mostRecentSelectedTextChannelId:y.default.getMostRecentSelectedTextChannelId(t.getGuildId()),isConnected:y.default.getVoiceChannelId()===t.id}})),h=m.mostRecentSelectedTextChannelId,S=m.isConnected,C=!_.default.embedded||_.default.embedded&&E.default.supportsFeature(M.NativeFeatures.POPOUT_WINDOWS),A=null!=l&&!l.closed,P=A&&o!==M.AppContext.POPOUT,R=(0,g.default)().isOnStartStageScreen;(0,g.useUpdateIsOnStartStageScreenEffect)(t),a.useEffect((function(){!S&&A&&D()}),[A,S]);var L,D=function(){u.default.wait((function(){return d.close(M.PopoutWindowKeys.CHANNEL_CALL_POPOUT)}))};L=R?w(b.default,{channel:t,onContinueClick:function(){return(0,g.setIsOnStartStageScreen)(!1)}}):w(I.default,{channel:t});var j=w(T.default,{channel:t,toggleRequestToSpeakSidebar:n,showRequestToSpeakSidebar:r,isOnStartStageScreen:R}),k=w(v.default,{popoutOpen:A,onOpenPopout:function(){var e=t.getGuildId();null!=e&&null!=h&&(0,c.transitionToGuild)(e,h),d.openChannelCallPopout(t)},onClosePopout:D}),U=w(O.default,{channel:t});return w(p.default,{renderBottomCenter:function(){return j},renderBottomRight:function(){return C?k:null},renderHeader:function(){return U},onActive:function(){},onPreventIdle:function(){},onAllowIdle:function(){},onForceIdle:function(){},screenMessage:P?{mainText:N.default.Messages.POPOUT_PLAYER_OPENED}:null,idle:!1},void 0,!P&&L)}function k(e){var t,n=e.channel,r=e.appContext,i=void 0===r?M.AppContext.APP:r,u=a.useState(!1),d=u[0],f=u[1],c=a.useCallback((function(){f(!d)}),[d]);return a.useEffect((function(){null==l.default.get("HasBeenInStageChannel")&&((0,m.openModal)((function(e){return a.createElement(C.default,D({},e,{channelId:n.id}))})),l.default.set("HasBeenInStageChannel",Date.now()))}),[]),w("div",{className:A.default.container},void 0,w("div",{className:(0,o.default)(A.default.callContainer,(0,h.getThemeClass)(M.ThemeTypes.DARK),(t={},t[A.default.sidebarVisible]=d,t))},void 0,w(s.default.Provider,{value:i},void 0,w(j,{channel:n,toggleRequestToSpeakSidebar:c,showRequestToSpeakSidebar:d}))),d?w(S.default,{channel:n,toggleRequestToSpeakSidebar:c}):null)}j.displayName="StageChannelCallContent",k.displayName="StageChannelCall"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color"]);return o.createElement("svg",u({},(0,i.default)(f),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{clipPath:"url(#clip0)"},void 0,s("path",{d:"M18.8648 1.13516L21.0013 3.27074H16V4.72926H21.0013L18.8648 6.86484L20 8L24 4L20 0L18.8648 1.13516Z",fill:d}),s("path",{d:"M12 2C12.4342 2 12.8466 2.0917 13.2188 2.25683C13.0759 2.81411 13 3.39819 13 4C13 5.90397 13.7601 7.6304 14.9935 8.89235L14.99 11C14.99 12.66 13.66 14 12 14C10.34 14 9 12.66 9 11V5C9 3.34 10.34 2 12 2Z",fill:d}),s("path",{d:"M12 16.1C14.76 16.1 17.3 14 17.3 11H19C19 14.42 16.28 17.24 13 17.72V22H11V17.72C7.72 17.23 5 14.41 5 11H6.7C6.7 14 9.24 16.1 12 16.1Z",fill:d})),s("defs",{},void 0,s("clipPath",{id:"clip0"},void 0,s("rect",{width:"24",height:"24",fill:d}))))}d.displayName="MoveToSpeaker"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(8479)),i=p(n(8455)),l=n(41),u=n(217),s=p(n(9161)),d=p(n(9162)),f=n(1),c=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(){return(m=Object.assign||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}).apply(this,arguments)}var _=y(i.default,{height:20,width:20});function h(e){var t=e.className,n=e.channel,r=a.useContext(o.default);return y(d.default,{className:t,icon:_,color:f.Colors.BRAND_NEW,title:c.default.Messages.SCHEDULE_EVENT,description:c.default.Messages.SCHEDULE_EVENT_DESCRIPTION,onClick:function(){(0,l.openModal)((function(e){return a.createElement(s.default,m({channel:n},e))}),{},r===f.AppContext.POPOUT?u.POPOUT_MODAL_CONTEXT:u.DEFAULT_MODAL_CONTEXT)}})}h.displayName="ScheduleStageEventPrompt"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(92),i=f(n(8479)),l=n(748),u=f(n(291)),s=f(n(9162)),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=p(u.default,{height:20,width:20});function y(e){var t=e.className,n=e.channel,r=a.useContext(i.default);return p(s.default,{className:t,icon:v,color:o.Colors.STATUS_GREEN_600,title:d.default.Messages.STAGE_CHANNEL_START_TITLE,description:d.default.Messages.STAGE_CHANNEL_START_SUBTITLE,onClick:function(){(0,l.openStageChannelSettings)(n,r)}})}y.displayName="StartStageChannelEventPrompt"},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(3)),a=d(n(28)),o=d(n(2)),i=d(n(11)),l=d(n(10)),u=d(n(479)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=232,p=315,v=new Set,y=[],m=new Map,_=new Set,h=0,E=0,g=!1;function S(e){return null!=e&&(null!=m.get(e)&&(m.delete(e),void(_=new Set(_)).delete(e)))}function O(e){var t=e.channelId,n=e.ringing.includes(i.default.getId());if(!_.has(t)&&n){var r=l.default.getChannel(t);if(null==r)return!1;var a=10*_.size;m.set(t,{channel:r,x:h+a,y:E+a}),(_=new Set(_)).add(t)}else{if(!_.has(t)||n)return!1;S(t)}}function I(){g=u.default.getStatus()===s.StatusTypes.DND}!function(){var e=a.default.get("IncomingCallStore");if(e)h=+e.x,E=+e.y;else{var t=n(161).default.windowSize();h=t.width/2-c/2,E=t.height/2-p/2}}();var T=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(l.default,u.default),this.syncWith([u.default],I)},a.getIncomingCalls=function(){return g?y:Array.from(m.values())},a.getIncomingCallChannelIds=function(){return g?v:_},a.getFirstIncomingCallId=function(){return g?null:_.values().next().value},a.hasIncomingCalls=function(){return!g&&_.size>0},r}(r.default.Store))(o.default,{CALL_CREATE:O,CALL_UPDATE:O,CALL_DELETE:function(e){return S(e.channelId)},VOICE_CHANNEL_SELECT:function(e){return S(e.channelId)},INCOMING_CALL_MOVE:function(e){var t=e.x,n=e.y;return h=t,E=n,a.default.set("IncomingCallStore",{x:h,y:E}),!1},CHANNEL_DELETE:function(e){return S(e.channel.id)}});t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentStep=function(e){if(null==e)return null;return y.map((function(e){return e.step})).filter((function(t){return!e.has(t)}))[0]},t.AFTER_COMPLETION_STEP_DATA=t.STEP_DATA=t.TOTAL_STEPS=void 0;var r=v(n(8254)),a=v(n(5954)),o=v(n(8577)),i=v(n(8276)),l=n(8769),u=v(n(11110)),s=v(n(11111)),d=v(n(11112)),f=v(n(11113)),c=n(1),p=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}t.TOTAL_STEPS=4;var y=[{step:l.Steps.AVATAR,Component:d.default,title:function(){return p.default.Messages.AVATAR_STEP_TITLE},subtitle:function(){return p.default.Messages.AVATAR_STEP_TITLE}},{step:l.Steps.CHANNEL,Component:u.default,title:function(){return p.default.Messages.CHANNEL_STEP_TITLE},subtitle:function(){return p.default.Messages.CHANNEL_STEP_SUBTITLE}},{step:l.Steps.MESSAGE,Component:s.default,title:function(){return p.default.Messages.MESSAGE_STEP_TITLE},subtitle:function(){return p.default.Messages.MESSAGE_STEP_SUBTITLE}},{step:l.Steps.INVITE,Component:f.default,title:function(){return p.default.Messages.INVITE_STEP_TITLE},subtitle:function(){return p.default.Messages.INVITE_STEP_SUBTITLE}}];t.STEP_DATA=y;var m=[{title:function(){return p.default.Messages.UPLOAD_EMOJI_TITLE},subtitle:function(){return p.default.Messages.UPLOAD_EMOJI_SUBTITLE},Icon:a.default,onClick:function(e){return r.default.open(e,c.GuildSettingsSections.EMOJI)}},{title:function(){return p.default.Messages.VOICE_CHANNEL_TITLE},subtitle:function(){return p.default.Messages.VOICE_CHANNEL_SUBTITLE},Icon:i.default,onClick:function(e){}},{title:function(){return p.default.Messages.ADD_ROLE_TITLE},subtitle:function(){return p.default.Messages.ADD_ROLE_SUBTITLE},Icon:o.default,onClick:function(e){return r.default.open(e,c.GuildSettingsSections.ROLES)}}];t.AFTER_COMPLETION_STEP_DATA=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=C;var r,a=S(n(0)),o=n(95),i=E(n(8791)),l=n(703),u=n(85),s=n(35),d=n(259),f=S(n(9022)),c=n(9190),p=E(n(11121)),v=E(n(11123)),y=E(n(11124)),m=E(n(11125)),_=n(1),h=E(n(8019));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function T(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){I(o,r,a,i,l,"next",e)}function l(e){I(o,r,a,i,l,"throw",e)}i(void 0)}))}}function C(e){var t=e.directoryChannelId,n=e.transitionState,r=e.initialSlide,E=void 0===r?c.CreateOrAddGuildSlideTypes.CHOOSE_GUILD:r,g=e.onClose,S=e.directoryGuildName,I=e.directoryGuildId,C=(0,u.useUID)(),b=a.useState(E),M=b[0],N=b[1],A=a.useState(null),P=A[0],R=A[1],L=a.useState(null),D=L[0],w=L[1],j=a.useState(null),k=j[0],U=j[1],G=a.useState(null),F=G[0],B=G[1],H=a.useState(""),x=H[0],V=H[1];a.useEffect((function(){N(E)}),[N,E]);var W=function(){var e=T(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.addDirectoryGuildEntry(t,n.id,x);case 2:B(n),U(null),N(c.CreateOrAddGuildSlideTypes.CONFIRMATION);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Y=function(){var e=T(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.addDirectoryGuildEntry(t,n,x);case 2:N(c.CreateOrAddGuildSlideTypes.CONFIRMATION);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),z={impression_group:o.ImpressionGroups.DIRECTORY_GUILD_ADD_FLOW};return O("div",{className:(0,d.getThemeClass)(_.ThemeTypes.LIGHT)},void 0,O(s.ModalRoot,{transitionState:n,"aria-labelledby":C,disableTrack:!0},void 0,O("div",{className:h.default.container},void 0,O(l.Slides,{activeSlide:M,width:440,onSlideReady:function(e){return R(e)}},void 0,O(l.Slide,{id:c.CreateOrAddGuildSlideTypes.CHOOSE_GUILD,impressionName:o.ImpressionNames.HUB_EXISTING_GUILD_CHOOSE,impressionMetadata:z},void 0,O(p.default,{directoryChannelId:t,directoryGuildName:S,directoryGuildId:I,onGuildChosen:function(e){N(c.CreateOrAddGuildSlideTypes.CUSTOMIZE_EXISTING_GUILD),U(e),B(null)},onClose:g,setSlide:N})),O(l.Slide,{id:c.CreateOrAddGuildSlideTypes.CUSTOMIZE_EXISTING_GUILD,impressionName:o.ImpressionNames.HUB_EXISTING_GUILD_CUSTOMIZE,impressionMetadata:z},void 0,O(v.default,{guild:k,description:x,onDescriptionChange:V,onSubmit:Y,onBack:function(){return N(c.CreateOrAddGuildSlideTypes.CHOOSE_GUILD)},onClose:g})),O(l.Slide,{id:c.CreateOrAddGuildSlideTypes.GUILD_TEMPLATES,impressionName:o.ImpressionNames.HUB_CREATE_GUILD_TEMPLATE,impressionMetadata:z},void 0,O(m.default,{directoryGuildName:S,onChooseTemplate:function(e){N(c.CreateOrAddGuildSlideTypes.CUSTOMIZE_NEW_GUILD),w(e)},onClose:g,onBack:function(){return N(c.CreateOrAddGuildSlideTypes.CHOOSE_GUILD)}})),O(l.Slide,{id:c.CreateOrAddGuildSlideTypes.CUSTOMIZE_NEW_GUILD,impressionName:o.ImpressionNames.HUB_CREATE_GUILD_CUSTOMIZE,impressionMetadata:z},void 0,O(i.default,{guildTemplate:D,onHubGuildCreated:W,onClose:g,onBack:function(){return N(c.CreateOrAddGuildSlideTypes.GUILD_TEMPLATES)},isSlideReady:P===c.CreateOrAddGuildSlideTypes.CUSTOMIZE_NEW_GUILD,isHubCreationFlow:!0,description:x,onDescriptionChange:V})),O(l.Slide,{id:c.CreateOrAddGuildSlideTypes.CONFIRMATION,impressionName:o.ImpressionNames.DIRECTORY_ADD_GUILD_CONFIRMATION,impressionMetadata:z},void 0,O(y.default,{directoryGuildName:S,existingGuild:k,newGuild:F,onClose:g}))))))}C.displayName="CreateOrAddGuildModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),a=i(n(2)),o=n(9953);n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(){return(u=Object.assign||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}).apply(this,arguments)}var s={},d={};var f=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var a=r.prototype;return a.getSearchState=function(e){var t;return null!==(t=s[e])&&void 0!==t?t:{mostRecentQuery:"",fetching:!1}},a.getSearchResults=function(e,t){var n,r,a;return null!==(n=null===(r=d[e])||void 0===r||null===(a=r[t])||void 0===a?void 0:a.results)&&void 0!==n?n:[]},a.shouldFetch=function(e,t){var n,r,a=null===(n=d[e])||void 0===n||null===(r=n[t])||void 0===r?void 0:r.lastSearchedAt;return null==a||Date.now()-a>12e4},r}(r.default.Store))(a.default,{GUILD_DIRECTORY_SEARCH_START:function(e){var t=e.channelId,n=e.query;s[t]={fetching:!0,mostRecentQuery:n}},GUILD_DIRECTORY_SEARCH_SUCCESS:function(e){var t,n=e.channelId,r=e.query,a=e.results;s[n]=u({},s[n],{fetching:!1});var i=[];a.forEach((function(e){var t=(0,o.guildDirectoryEntryFromServer)(e);i.push(t)})),d[n]=u({},d[n],((t={})[r]={results:(0,o.orderGuildEntries)(i),lastSearchedAt:Date.now()},t))},GUILD_DIRECTORY_SEARCH_FAILURE:function(e){var t=e.channelId;s[t]=u({},s[t],{fetching:!1})},GUILD_DIRECTORY_SEARCH_CLEAR:function(e){var t=e.channelId;s[t]={fetching:!1,mostRecentQuery:""}},GUILD_DIRECTORY_CACHED_SEARCH:function(e){var t=e.channelId,n=e.query;s[t]={fetching:!1,mostRecentQuery:n}}});t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),a=i(n(2)),o=n(9953);n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(){return(u=Object.assign||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}).apply(this,arguments)}var s=!1,d={};var f=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var a=r.prototype;return a.isFetching=function(){return s},a.getDirectoryEntries=function(e){return d[e]},a.getDirectoryEntry=function(e,t){var n;return null===(n=d[e])||void 0===n?void 0:n[t]},r}(r.default.Store))(a.default,{GUILD_DIRECTORY_FETCH_START:function(e){s=!0},GUILD_DIRECTORY_FETCH_SUCCESS:function(e){var t=e.channelId,n=e.entries;s=!1;var r={};n.forEach((function(e){var t=(0,o.guildDirectoryEntryFromServer)(e);r[t.guildId]=t})),d[t]=r},GUILD_DIRECTORY_FETCH_FAILURE:function(e){s=!1},GUILD_DIRECTORY_ENTRY_CREATE:function(e){var t,n,r=e.channelId,a=e.entry,i=(0,o.guildDirectoryEntryFromServer)(a);null!=i&&null==(null===(t=d[r])||void 0===t?void 0:t[i.guildId])&&(d[r]=u({},d[r],((n={})[i.guildId]=i,n)))},GUILD_DIRECTORY_ENTRY_DELETE:function(e){var t=e.channelId,n=e.guildId,r=Object.assign({},d[t]);delete r[n],d[t]=r},GUILD_DIRECTORY_ENTRY_UPDATE:function(e){var t,n,r=e.channelId,a=e.entry,i=(0,o.guildDirectoryEntryFromServer)(a);d[r]=u({},d[r],((n={})[i.guildId]=u({},null===(t=d[r])||void 0===t?void 0:t[i.guildId],{description:i.description}),n))}});t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(3)),a=c(n(28)),o=c(n(2)),i=c(n(106)),l=c(n(684)),u=c(n(15)),s=c(n(40)),d=n(8474),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=new Set;var y=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var o=r.prototype;return o.initialize=function(){this.waitFor(s.default,u.default,l.default),this.syncWith([s.default,u.default,l.default],f.NOOP),v=new Set(a.default.get("publicUpsellChannelNoticeGuilds"))||new Set},o.isVisible=function(e){if(null!=e){var t=l.default.getMemberCount(e.id);return!v.has(e.id)&&null!=t&&t>=d.COMMUNITY_UPSELL_MINIMUM_GUILD_SIZE&&s.default.can(f.Permissions.ADMINISTRATOR,e)&&!e.hasFeature(f.GuildFeatures.COMMUNITY)}},r}(r.default.Store))(o.default,{PUBLIC_UPSELL_NOTICE_DISMISS:function(e){var t=e.guildId;if(!v.has(t))return v.add(t),a.default.set("publicUpsellChannelNoticeGuilds",v),i.default.trackWithMetadata(f.AnalyticEvents.CHANNEL_NOTICE_CLOSED,{notice_type:f.ChannelNoticeTypes.PUBLIC_UPSELL}),!0}});t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(3)),a=f(n(28)),o=f(n(2)),i=f(n(106)),l=f(n(684)),u=f(n(15)),s=f(n(40)),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p={MAX_MEMBER_COUNT_100:new Set,MAX_MEMBER_COUNT_250:new Set};var v=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var o=r.prototype;return o.initialize=function(){this.waitFor(s.default,u.default,l.default),this.syncWith([s.default,u.default,l.default],d.NOOP),p[d.ChannelNoticeTypes.MAX_MEMBER_COUNT_100]=new Set(a.default.get(d.ChannelNoticeTypes.MAX_MEMBER_COUNT_100))||new Set,p[d.ChannelNoticeTypes.MAX_MEMBER_COUNT_250]=new Set(a.default.get(d.ChannelNoticeTypes.MAX_MEMBER_COUNT_250))||new Set},o.isVisible=function(e){var t=this.getNoticeType(e);if(null==e||null==t)return!1;var n=l.default.getMemberCount(e.id)||0,r=s.default.can(d.Permissions.ADMINISTRATOR,e);return!p[t].has(e.id)&&r&&e.maxMembers>0&&e.maxMembers-n<=1e4},o.getNoticeType=function(e){return null==e?null:e.maxMembers<=1e5?d.ChannelNoticeTypes.MAX_MEMBER_COUNT_100:d.ChannelNoticeTypes.MAX_MEMBER_COUNT_250},r}(r.default.Store))(o.default,{MAX_MEMBER_COUNT_NOTICE_DISMISS:function(e){var t=e.guildId,n=e.noticeType;if(!p[n].has(t))return p[n].add(t),a.default.set(n,p[n]),i.default.trackWithMetadata(d.AnalyticEvents.CHANNEL_NOTICE_CLOSED,{notice_type:n}),!0}});t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),a=l(n(2)),o=n(5935),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(){return(s=Object.assign||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}).apply(this,arguments)}var d={};d={lastDismissedGracePeriods:{},isVisible:{}};var f=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var a=r.prototype;return a.initialize=function(e){null!=e&&(d=e)},a.getLastDismissedGracePeriodForGuild=function(e){return null!=d.lastDismissedGracePeriods[e]?d.lastDismissedGracePeriods[e]:null},a.isVisible=function(e){return null!=e&&(null!=d.isVisible[e]&&d.isVisible[e])},a.getState=function(){return d},r}(r.default.PersistedStore);f.persistKey="PremiumGuildGracePeriodNoticeStore",f.migrations=[function(e){return s({},e,{lastDismissedGracePeriods:null!=e?s({},e.lastDismissedGracePeriods):{},isVisible:{}})}];var c=new f(a.default,{GUILD_PREMIUM_SUBSCRIPTIONS_FETCH_SUCCESS:function(e){var t,n=e.guildId,r=e.subscriptions,a=null!=d.lastDismissedGracePeriods[n]?d.lastDismissedGracePeriods[n]:null,l=null!=a&&Date.now()-a<=i.GRACE_PERIOD_CHANNEL_NOTICE_SHOW_DELAY,u=null!=r&&!l&&(0,o.isInGracePeriod)(r);d=s({},d,{isVisible:s({},d.isVisible,(t={},t[n]=u,t))})},PREMIUM_GUILD_GRACE_PERIOD_NOTICE_DISMISS:function(e){var t,n,r=e.guildId;d=s({},d,{lastDismissedGracePeriods:s({},d.lastDismissedGracePeriods,(t={},t[r]=Date.now(),t)),isVisible:s({},d.isVisible,(n={},n[r]=!1,n))})}});t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.JoinableStageChannelEventNotice=void 0;S(n(0));var r,a=n(3),o=n(42),i=E(n(29)),l=E(n(1240)),u=E(n(291)),s=E(n(24)),d=S(n(8393)),f=n(1232),c=E(n(302)),p=n(260),v=n(734),y=E(n(81)),m=E(n(11133)),_=E(n(6)),h=E(n(8021));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var I=function(e){var t=e.guild,n=e.channel,r=e.children,o=t.id,i=(0,a.useStateFromStoresObject)([c.default],(function(){var e=c.default.getMutableParticipants(n.id,p.StageChannelParticipantNamedIndex.SPEAKER),t=c.default.getMutableParticipants(n.id,p.StageChannelParticipantNamedIndex.AUDIENCE);return{users:e.map((function(e){return e.user})),listenerCount:t.length}}),[n.id]),f=i.users,m=i.listenerCount,E=f.slice(0,3),g=_.default.Messages.LISTENING_COUNT.format({count:m||"0"}),S=(0,a.useStateFromStores)([y.default],(function(){return y.default.getStageInstanceByChannel(n.id)}),[n.id]);return null==n||null==o||null==S?null:O("div",{className:h.default.channelNotice},void 0,O("div",{className:h.default.textBlock},void 0,O("div",{className:h.default.liveIndicator}),O(s.default,{color:s.default.Colors.STATUS_GREEN,size:s.default.Sizes.SIZE_12,className:h.default.liveNowText},void 0,_.default.Messages.STAGE_CHANNEL_LIVE_NOW)),O(s.default,{color:s.default.Colors.HEADER_PRIMARY,size:s.default.Sizes.SIZE_16,className:h.default.eventName},void 0,S.topic),O("div",{className:h.default.textBlock},void 0,O(u.default,{width:16,height:16,className:h.default.stageIcon}),O(s.default,{color:s.default.Colors.HEADER_SECONDARY,size:s.default.Sizes.SIZE_12,className:h.default.channelName},void 0,n.name),O(s.default,{className:h.default.dotDivider,color:s.default.Colors.HEADER_SECONDARY,size:s.default.Sizes.SIZE_12},void 0,"•"),O(l.default,{width:14,height:14,className:h.default.stageIcon}),O(s.default,{color:s.default.Colors.HEADER_SECONDARY,size:s.default.Sizes.SIZE_12},void 0,g)),f.length>0?O("div",{className:h.default.textBlock},void 0,O(d.default,{guildId:o,users:E,showUserPopout:!0,size:d.Sizes.SIZE_16}),O(s.default,{color:s.default.Colors.HEADER_SECONDARY,size:s.default.Sizes.SIZE_12,className:h.default.userNames},void 0,(0,v.summarizeUsernamesParticipating)(o,f,n.id))):null,r)};I.displayName="StageChannelEventNotice";var T=function(e){var t=e.guild,n=e.channel,r=(0,m.default)(n.id);return O(I,{guild:t,channel:n},void 0,O(i.default,{fullWidth:!0,className:h.default.joinButton,onClick:function(){(0,f.connectAndOpen)(n),(0,o.transitionToGuild)(t.id,n.id)},color:i.default.Colors.GREEN,size:i.default.Sizes.SMALL,disabled:null!=r},void 0,_.default.Messages.STAGE_CHANNEL_JOIN_BUTTON))};t.JoinableStageChannelEventNotice=T,T.displayName="JoinableStageChannelEventNotice";var C=I;t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(9)),o=s(n(29)),i=n(281),l=s(n(6)),u=s(n(8022));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=function(e){var t=e.sku,n=e.handlePurchase,r=e.className,s=null!=t&&null!=t.price?(0,i.formatPrice)(t.price.amount,t.price.currency):null;return f(o.default,{className:(0,a.default)(r,u.default.purchaseButton),innerClassName:u.default.purchaseButtonContent,onClick:n},void 0,l.default.Messages.STAGE_INSTANCE_TICKET_BUY_LABEL,f("div",{className:u.default.buyButtonDotSeparator}),s)};c.displayName="PurchaseTicketButton";var p=c;t.default=p},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=A(n(23)),i=n(3),l=n(275),u=n(1423),s=n(207),d=A(n(8492)),f=A(n(15)),c=A(n(29)),p=A(n(1164)),v=n(703),y=n(85),m=n(131),_=A(n(686)),h=(A(n(5950)),n(35)),E=A(n(24)),g=A(n(8493)),S=n(8423),O=A(n(10429)),I=A(n(11233)),T=A(n(11234)),C=A(n(11235)),b=n(1),M=A(n(6)),N=A(n(7359));function A(e){return e&&e.__esModule?e:{default:e}}function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(){return(R=Object.assign||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}).apply(this,arguments)}function L(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function D(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var w;!function(e){e.SELECT_SERVER="SELECT_SERVER",e.SELECT_PRIVACY="SELECT_PRIVACY",e.TICKET_DETAILS="TICKET_DETAILS"}(w||(w={}));w.SELECT_SERVER,w.SELECT_PRIVACY,w.TICKET_DETAILS;var j=function(e){var t=e.transitionState,n=e.onClose,r=e.guildId,A=d.default.useExperiment({guildId:r})[0].enabled,P=(0,y.useUID)(),j=a.useState(w.TICKET_DETAILS),k=j[0],U=j[1],G=(0,i.useStateFromStores)([f.default],(function(){return f.default.getGuild(r)}),[r]),F=a.useState(A),B=F[0],H=F[1],x=a.useState(s.StageInstancePrivacyLevel.GUILD_ONLY),V=x[0],W=x[1],Y=a.useState({}),z=Y[0],K=Y[1],$=a.useState(!0),Z=$[0],q=$[1],X=a.useState({startDate:(0,u.getInitialEventStartDate)()}),J=X[0],Q=X[1],ee=a.useState({color:b.DEFAULT_ROLE_COLOR}),te=ee[0],ne=ee[1],re=a.useState(!1),ae=re[0],oe=re[1],ie=a.useState(),le=ie[0],ue=ie[1],se=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return oe(!0),ue(void 0),e.prev=2,(0,o.default)(null!=G,"Guild not selected"),(0,o.default)(null!=z.title,"Title required"),(0,o.default)(null!=J.startDate,"Start date required"),r={name:z.title,description:z.description,image:z.imageData,privacyLevel:s.StageInstancePrivacyLevel.GUILD_ONLY,scheduledStartTime:J.startDate.toISOString(),scheduledEndTime:null===(t=J.endDate)||void 0===t?void 0:t.toISOString(),entityType:S.GuildScheduledEventEntityTypes.STAGE_INSTANCE},B&&((0,o.default)(null!=te.priceTier,"Must select a price for a ticketed event"),r.tickets=[{priceTier:te.priceTier,color:te.color}]),e.next=10,g.default.createGuildEvent(G.id,r);case 10:n(),e.next=19;break;case 13:e.prev=13,e.t0=e.catch(2),a=new l.APIError(e.t0),console.error(e.t0),ue(a.getAnyErrorMessage()),oe(!1);case 19:case"end":return e.stop()}}),e,null,[[2,13]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){L(o,r,a,i,l,"next",e)}function l(e){L(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}(),de=a.createElement(a.Fragment,null,D(h.ModalHeader,{separator:!1,className:N.default.modalHeader},void 0,D(E.default,{size:E.default.Sizes.SIZE_16,className:N.default.modalHeaderText},void 0,M.default.Messages.CREATE_STAGE_EVENT_MODAL_TITLE),D(h.ModalCloseButton,{className:N.default.closeButton,onClick:function(){return n()}})),D(m.FormDivider,{className:N.default.divider}),null!=le&&D("div",{className:N.default.formErrorContainer},void 0,D(p.default,{icon:function(e){return a.createElement(_.default,R({height:20,width:20},e))},className:N.default.formError,iconClassName:N.default.formErrorIcon},void 0,le))),fe=D(c.default,{onClick:function(){U(w.TICKET_DETAILS)}},void 0,"Continue");return D(h.ModalRoot,{className:N.default.modal,transitionState:t,"aria-labelledby":P},void 0,de,D(v.Slides,{activeSlide:k,width:440},void 0,D(v.Slide,{id:w.SELECT_SERVER},void 0,D(I.default,{onSelectGuild:function(e){U(w.SELECT_PRIVACY)}})),D(v.Slide,{id:w.SELECT_PRIVACY},void 0,D(T.default,{value:V,onSelect:W})),D(v.Slide,{id:w.TICKET_DETAILS},void 0,D(C.default,{guildEvent:z,onGuildEventChange:K,hasEvent:Z,onHasEventChange:q,schedule:J,onScheduleChange:Q,hasTicket:B,onHasTicketChange:H,ticket:te,onTicketChange:ne,maxTitleChars:50,maxDescriptionChars:120}))),function(){switch(k){case w.SELECT_PRIVACY:return D(h.ModalFooter,{className:N.default.modalFooter},void 0,fe,D(O.default,{onClick:function(){return U(w.SELECT_SERVER)}}));case w.TICKET_DETAILS:return D(h.ModalFooter,{className:N.default.modalFooter},void 0,D(c.default,{color:Z?void 0:c.default.Colors.GREEN,onClick:se,submitting:ae,disabled:!!(null==(null==z?void 0:z.title)||0===z.title.length||z.title.length>50||null!=z.description&&z.description.length>120)},void 0,M.default.Messages.CREATE_EVENT_SUBMIT_LABEL));default:return null}}())};j.displayName="Modal";var k=j;t.default=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(29)),o=l(n(5971)),i=l(n(7359));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("span",{},void 0,"Back"),f=function(e){var t=e.onClick;return s(a.default,{look:a.default.Looks.BLANK,size:a.default.Sizes.MIN,color:a.default.Colors.WHITE,onClick:t},void 0,s("div",{className:i.default.linkButtonContent},void 0,s(o.default,{width:12,height:12,className:i.default.linkButtonIcon}),d))};f.displayName="BackButton";var c=f;t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormRowRadio=t.FormRowButton=t.FormDescription=t.FormLabel=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=f(n(61)),l=f(n(750)),u=f(n(751)),s=f(n(5950)),d=f(n(8030));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=function(e){var t,n=e.children,r=e.inactive;return v("label",{className:(0,o.default)((t={},t[d.default.label]=!0,t[d.default.labelInactive]=r,t))},void 0,n)};t.FormLabel=y,y.displayName="FormLabel";var m=function(e){var t=e.children;return v("div",{className:d.default.description},void 0,t)};t.FormDescription=m,m.displayName="FormDescription";var _=function(e){var t=e.leadingComponent,n=e.label,r=e.labelInactive,a=e.description,o=e.onClick,l=e.children;return v(i.default,{className:d.default.container,onClick:o},void 0,t,v("div",{className:d.default.content},void 0,v("div",{className:d.default.labelContainer},void 0,v(y,{inactive:r},void 0,n),a&&v(m,{},void 0,a)),l))};_.displayName="FormRow";var h=function(e){return a.createElement(_,e,v(s.default,{width:12,height:12,className:d.default.icon}))};t.FormRowButton=h,h.displayName="FormRowButton";var E=function(e){var t=e.selected,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["selected"]);return a.createElement(_,p({},n,{labelInactive:!t}),t?v(u.default,{width:20,height:20,foreground:d.default.radioIconSelectedForeground,className:d.default.icon}):v(l.default,{width:20,height:20,className:d.default.icon}))};t.FormRowRadio=E,E.displayName="FormRowRadio",_.Label=y,_.Description=m;var g=_;t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(377),i=n(287),l=n(1249),u=n(692),s=n(1173),d=N(n(5696)),f=n(5677),c=n(42),p=N(n(693)),v=N(n(55)),y=N(n(151)),m=n(85),_=n(35),h=N(n(13)),E=n(295),g=N(n(10429)),S=n(11242),O=N(n(11243)),I=N(n(11245)),T=N(n(11248)),C=N(n(11250)),b=n(1),M=N(n(8042));function N(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function P(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function R(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}var L=[u.Step.REVIEW,u.Step.CONFIRM],D=[].concat(f.SHARED_ADD_PAYMENT_STEPS,[u.Step.REVIEW,u.Step.CONFIRM]),w=[].concat(f.SHARED_CREDIT_CARD_STEPS,[u.Step.REVIEW,u.Step.CONFIRM]),j=[].concat(f.SHARED_PAYPAL_STEPS,[u.Step.REVIEW,u.Step.CONFIRM]),k=[].concat(f.SHARED_PAYMENT_REQUEST_STEPS,[u.Step.REVIEW,u.Step.CONFIRM]),U=function(e){var t=e.hasPaymentMethod,n=[];return e.hasFetchedPaymentSources||n.push(u.Step.LOADING_PAYMENT_SOURCES),[].concat(n,t?L:D)},G=P("div",{},void 0,P(y.default,{})),F=function(e){var t=e.guild,n=e.guildEvent,r=e.sku,y=e.transitionState,N=e.onClose,A=(0,m.useUID)(),L=(0,f.useSharedPaymentModal)(),F=L.paymentSources,B=L.paymentSourceId,H=L.hasFetchedPaymentSources,x=L.setPaymentSourceId,V=L.creditCardState,W=L.setCreditCardState,Y=L.tokenState,z=L.setTokenState,K=L.billingAddressState,$=L.setBillingAddressState,Z=L.isSubmittingCurrentStep,q=L.setIsSubmittingCurrentStep,X=L.braintreeEmail,J=L.braintreeNonce,Q=L.paymentError,ee=L.paymentAuthenticationState,te=L.purchaseError,ne=L.setPurchaseError,re=L.purchaseErrorBlockRef,ae=Object.keys(F).length>0,oe=a.useState((function(){return U({hasPaymentMethod:ae,hasFetchedPaymentSources:p.default.hasFetchedPaymentSources})[0]})),ie=oe[0],le=oe[1],ue=a.useState((function(){return U({hasPaymentMethod:ae,hasFetchedPaymentSources:p.default.hasFetchedPaymentSources})})),se=ue[0],de=ue[1],fe=a.useState(s.PurchaseState.WAITING),ce=fe[0],pe=fe[1],ve=a.useState(!1),ye=ve[0],me=ve[1],_e=a.useCallback((function(e){le(e),null!=te&&ne(null)}),[te,le,ne]),he=a.useCallback((function(e,t){pe(e),ne(t)}),[ne,pe]),Ee=a.useRef(!1),ge=a.useRef(!1);a.useEffect((function(){h.default.track(b.AnalyticEvents.GUILD_SCHEDULED_EVENT_PURCHASE_INITIATED,{guild_scheduled_event_id:n.id})}),[n.id]),a.useEffect((function(){p.default.hasFetchedPaymentSources||Ee.current||function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Ee.current=!0,e.next=3,(0,i.fetchPaymentSources)();case 3:if(Ee.current=!1,!ge.current){e.next=6;break}return e.abrupt("return");case 6:t={hasPaymentMethod:Object.keys(p.default.paymentSources).length>0,hasFetchedPaymentSources:p.default.hasFetchedPaymentSources},n=U(t),de(n),le(n[0]);case 10:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){R(o,r,a,i,l,"next",e)}function l(e){R(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}()()})),a.useEffect((function(){return function(){ge.current=!0}}),[]);var Se=(0,S.useFetchTicketPrice)({paymentSourceId:B,skuId:null==r?void 0:r.id,applicationId:null==r?void 0:r.applicationId}),Oe=Se.isLoading,Ie=Se.price;null!=ie&&((0,l.setPaymentStepForAuthentication)(ie,ee,_e),(0,u.setPurchaseStateForStep)(ie,ce,pe));var Te,Ce,be,Me=P(I.default,{guild:t,event:n,onClose:N,sku:r,canPurchaseTicket:!0}),Ne=!1;switch(ie){case u.Step.LOADING_PAYMENT_SOURCES:Te=null,Ce=G,Ne=!0;break;case u.Step.PAYMENT_TYPE:case u.Step.CREDIT_CARD_INFORMATION:case u.Step.PAYPAL_INFORMATION:case u.Step.PAYMENT_REQUEST_INFORMATION:case u.Step.ADDRESS:case u.Step.AWAITING_AUTHENTICATION:var Ae=(0,f.renderPaymentModalStep)(ie,_e,se,de,K,$,F,x,V,W,Y,z,Z,q,X,J,u.Step.REVIEW,w,j,k,D),Pe=Ae.body,Re=Ae.backStep,Le=Ae.submitButton;Ce=Pe,Te=Me,be=null!=Le||null!=Re?P(_.ModalFooter,{justify:v.default.Justify.BETWEEN,align:v.default.Align.CENTER},void 0,Le,null!=Re?P(g.default,{onClick:function(){return _e(Re)}}):null):null;break;case u.Step.REVIEW:Te=Me,Ce=P(T.default,{paymentSources:F,paymentSourceId:B,eventName:n.name,isLoadingPrice:Oe,setPaymentSourceId:x,setHasAcceptedTerms:me,handleStepChange:_e,price:Ie}),be=P(C.default,{setPurchaseState:he,paymentSourceId:B,onNext:function(){le(u.Step.CONFIRM)},onPurchaseError:ne,hasAcceptedTerms:ye,price:Ie,isLoadingPrice:Oe,sku:r});break;case u.Step.CONFIRM:Ne=!0,Ce=P(O.default,{guild:t,event:n,sku:r,onClose:function(){(0,c.transitionTo)(b.Routes.UPCOMING_STAGES(t.id)),N()}});break;default:throw new Error("Unexpected step "+ie)}return P(o.Elements,{options:b.StripeElementsOptions,stripe:(0,E.ensureStripeV3IsLoaded)()},void 0,P(_.ModalRoot,{transitionState:y,"aria-labelledby":A,className:M.default.modal},void 0,P("form",{className:M.default.modalContentForm,onSubmit:function(e){return e.preventDefault()}},void 0,P(d.default,{body:Ce,header:Te,footer:be,hideBreadcrumbs:Ne,isLoading:!H,paymentError:Q||te,purchaseErrorBlockRef:re,currentStep:ie,steps:se,withScroller:!0}))))};F.displayName="GuildEventTicketPurchaseModal";var B=F;t.default=B},function(e,t,n){e.exports=n.p+"527a1772f347d80aea6b932b6c4404f6.svg"},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=n(8277),i=v(n(11261)),l=v(n(1265)),u=v(n(47)),s=v(n(272)),d=v(n(11262)),f=n(1),c=v(n(6)),p=v(n(8054));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var _=m(d.default,{});function h(){var e=(0,a.useStateFromStores)([l.default],(function(){return l.default.hasConsented(f.Consents.PERSONALIZATION)})),t=(0,a.useStateFromStores)([o.HotspotStore],(function(){return o.HotspotStore.hasHotspot(o.HotspotLocations.NOW_PLAYING_CONSENT_CARD)}));return m("div",{className:p.default.container},void 0,m(s.default,{className:p.default.scroller},void 0,m(u.default,{tag:u.default.Tags.H3,size:u.default.Sizes.SIZE_20,className:p.default.header},void 0,c.default.Messages.GAME_FEED_CURRENT_HEADER_TITLE),!e&&t?m(i.default,{className:p.default.consentCard}):null,_))}h.displayName="NowPlayingSidebar"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchConsents=function(){return r.default.get({url:o.Endpoints.SETTINGS_CONSENT,oldFormErrors:!0}).then(s,(function(e){return Promise.reject(new Error(e.body.message))}))},t.setConsents=function(e,t){return r.default.post({url:o.Endpoints.SETTINGS_CONSENT,body:{grant:e,revoke:t},oldFormErrors:!0}).then(s,d)};var r=l(n(14)),a=l(n(2)),o=n(1),i=l(n(6));function l(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e){return null!=e&&null!=e.body&&a.default.dispatch({type:o.ActionTypes.UPDATE_CONSENTS,consents:u({},e.body)}),e.body}function d(e){var t;throw t=e.status>=500&&e.status<=599?i.default.Messages.DATA_PRIVACY_UPDATE_CONSENTS_FAILED:null!=e&&null!=e.body&&null!=e.body.message?e.body.message:i.default.Messages.DATA_PRIVACY_UPDATE_CONSENTS_FAILED,new Error(t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=L(n(8)),a=L(n(3)),o=L(n(2)),i=L(n(478)),l=L(n(1277)),u=L(n(753)),s=L(n(707)),d=L(n(9212)),f=R(n(10059)),c=n(1264),p=R(n(9213)),v=R(n(9214)),y=L(n(163)),m=L(n(10)),_=L(n(709)),h=L(n(1265)),E=L(n(8647)),g=L(n(71)),S=L(n(15)),O=L(n(40)),I=L(n(256)),T=L(n(70)),C=L(n(8415)),b=L(n(12)),M=L(n(80)),N=n(48),A=n(1);function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function L(e){return e&&e.__esModule?e:{default:e}}function D(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function U(){return(U=Object.assign||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}).apply(this,arguments)}var G=!1,F=!1,B=[],H=[],x={},V={},W=new Set,Y=new Set;function z(){var e=T.default.getFriendIDs();return h.default.hasConsented(A.Consents.PERSONALIZATION)?new Set([].concat(C.default.getUserAffinitiesUserIds(),e)):new Set(e)}function K(e){return I.default.findActivity(e,(function(e){return e.type!==A.ActivityTypes.CUSTOM_STATUS}))}function $(e){var t;null==x[e]&&(x=U({},x,((t={})[e]=new v.default({name:e}),t)));return x[e]}function Z(e){var t;null==V[e]&&(V=U({},V,((t={})[e]=new p.default({url:e}),t)));return V[e]}function q(e){Y.has(e)||W.add(e)}function X(e){if((0,l.default)(e))return c.SpotifyApplication;var t=null!=e.application_id?g.default.getGame(e.application_id):null;return null!=t?t:(0,u.default)(e)?$(e.name):(0,s.default)(e)&&null!=e.url?Z(e.url):(null!=e.application_id&&q(e.application_id),t)}function J(e){var t=M.default.getVoiceStateForUser(e);return null!=(null==t?void 0:t.channelId)&&O.default.canWithPartialContext(A.Permissions.VIEW_CHANNEL,{channelId:t.channelId})?t.channelId:null}function Q(e){return T.default.isFriend(e.id)}function ee(e,t,n){for(var a,o,i=t.map((function(e){return e.id})),l=t.filter((function(t){return e.has(t.id)})),u=!1,s=[],_=new Set,h=!1,O=[],T=function(){var e,n=a.value,o=y.default.getStreamForUser(n.id),i=K(n.id);if(null!=o&&O.push({stream:o,streamUser:n,activity:i}),null==i)return"continue";var l=null===(e=i.timestamps)||void 0===e?void 0:e.start;if(null==l)return"continue";var m=(0,d.default)(i);if(null==m)return"continue";if(h=m===c.SPOTIFY_APPLICATION_ID,!f.shouldShowActivity(i))return"continue";var S=function(e){var t=g.default.getGame(e);return null!=t?t:e===c.SPOTIFY_APPLICATION_ID?c.SpotifyApplication:e.startsWith(v.XBOX_APPLICATION_ID_PREFIX)?$(e.slice(v.XBOX_APPLICATION_ID_PREFIX.length)):e.startsWith(p.TWITCH_APPLICATION_ID_PREFIX)?Z(e.slice(p.TWITCH_APPLICATION_ID_PREFIX.length)):(q(e),null)}(m);if(null==S||_.has(S.id))return"continue";var I=null!=i?X(i):null;null!=I&&I.id===S.id||(i=null);var T=[];if(null!=i&&null!=i.party&&null!=i.party.id){var C=E.default.getParty(i.party.id)||[];T=Array.from(C).reduce((function(e,t){var n=b.default.getUser(t);return null!=n&&e.push(n),e}),[])}else T=t.filter((function(e){var t=K(e.id),n=null!=t?X(t):null;return null!=n&&n.id===S.id}));(T=r.default.orderBy(T,[Q],["desc"])).length!==t.length&&(u=!0),_.add(S.id),s.push({game:S,activity:i,activityUser:n,startedPlayingTime:l,playingMembers:T})},C=j(t);!(a=C()).done;)T();for(var A,P,R,L=1===l.length,D=[],w=new Set,k=new Set,U=j(t);!(A=U()).done;){var G=J(A.value.id),F=m.default.getChannel(G),B=null!=F?F.getGuildId():null,H=S.default.getGuild(B);if(k.has(B)&&w.has(G)||null==F||null==H||F.id===H.afkChannelId)null==F&&(o=null,L=!0);else{var x=(0,r.default)(M.default.getVoiceStatesForChannel(F.id)).map((function(e){var t=e.userId;return b.default.getUser(t)})).filter(N.isNotNullish).orderBy([Q],["desc"]).value();x.filter((function(e){return!i.includes(e.id)})).forEach((function(e){return t.push(e)})),L?k.has(B)||(o=null):(o=H,L=!0),k.add(B),w.add(G),D.push({channel:F,guild:H,members:x})}}return{id:n,voiceChannels:D,isSpotifyActivity:h,priorityMembers:l.map((function(e){return{user:e,status:I.default.getStatus(e.id)}})),partiedMembers:t,showPlayingMembers:u,guildContext:o,currentActivities:(P=s,R=function(e){return e.startedPlayingTime},(0,r.default)(P).orderBy([R,function(e){return e.game.name}],["desc","asc"])).value(),applicationStreams:O}}function te(){return G&&_.default.isConnected()}function ne(){if(!te())return!1;W.clear();var e,t,n,a,o=Array.from(z()).reduce((function(e,t){var n=b.default.getUser(t);return null==n||n.bot||e.push(n),e}),[]),l=(e=o,(0,r.default)(e).groupBy((function(e){var t,n=J(e.id),r=K(e.id);return null!=n?"channel--"+n:null!=(null==r||null===(t=r.party)||void 0===t?void 0:t.id)?"party--"+r.party.id:"user--"+e.id}))),u=(t=l,n=z(),a=ee.bind(null,n),(0,r.default)(t).mapValues(a)),s=u.values().orderBy([function(e){return e.partiedMembers.length>1},function(e){return e.applicationStreams.length>0},function(e){return e.voiceChannels.length>0},function(e){return e.currentActivities.length>0},function(e){return e.isSpotifyActivity},function(e){return e.priorityMembers.map((function(e){return e.user.username.toLowerCase()})).join(" ")}],["desc","desc","desc","desc","asc","asc"]).value();B=function(e){return e.filter((function(e){return e.voiceChannels.length>=1||e.currentActivities.length>0||e.applicationStreams.length>0}))}(s),H=function(e){return e.map((function(e){return{type:A.ActivityCardTypes.USER,party:e}}))}(B),function(){if(W.size>0){var e=Array.from(W);i.default.fetchApplications(e),e.forEach((function(e){return Y.add(e)})),W.clear()}}(),F=!0}var re=r.default.throttle((function(){ne(),oe.emitChange()}),1e3);function ae(){return!!te()&&(re(),!1)}var oe=new(function(e){var t,n,r,a,o;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,w(t,n),i.prototype.initialize=function(){this.syncWith([b.default,g.default,I.default,E.default,M.default,y.default,T.default,h.default,C.default],ae),this.waitFor(_.default,S.default,g.default,b.default,C.default)},r=i,(a=[{key:"currentActivityParties",get:function(){return B}},{key:"nowPlayingCards",get:function(){return H}},{key:"isMounted",get:function(){return G}},{key:"loaded",get:function(){return F}}])&&D(r.prototype,a),o&&D(r,o),i}(a.default.Store))(o.default,{LOGOUT:function(e){return G=!1,B=[],void W.clear()},NOW_PLAYING_MOUNTED:function(e){return G=!0,void re()},NOW_PLAYING_UNMOUNTED:function(e){G=!1}}),ie=oe;t.default=ie},function(e,t,n){e.exports=n.p+"b09888a1a6c74c8bb9af76ee61eb70e7.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ICON_SIZE=void 0;t.ICON_SIZE=64},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPartyMetadata=function(e){return{af_voice_chat:e.voiceChannels.length>0,af_people_count:e.partiedMembers.length,af_rich_presence:e.currentActivities.some((function(e){var t=e.activity;return(0,a.default)(t)})),game_platform:e.currentActivities.length>0?(0,r.default)(e.currentActivities[0].activity):null}};var r=o(n(486)),a=o(n(732));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(273)),i=v(n(3)),l=v(n(39)),u=v(n(29)),s=v(n(8302)),d=n(1),f=v(n(6)),c=v(n(8056)),p=v(n(370));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=Object.freeze({SECTION_ALL:{lightSrc:n(11283),darkSrc:n(11284),width:376,height:162,renderContent:function(e){return _(a.Fragment,{},void 0,_(s.default.Text,{note:f.default.Messages.FRIENDS_EMPTY_STATE_ALL}),_(u.default,{className:p.default.marginTop20,onClick:e},void 0,f.default.Messages.ADD_FRIEND))}},SECTION_ONLINE:{lightSrc:n(11285),darkSrc:n(11286),width:421,height:218,renderContent:function(){return _(s.default.Text,{note:f.default.Messages.FRIENDS_EMPTY_STATE_ONLINE})}},SECTION_BLOCKED:{lightSrc:n(11287),darkSrc:n(11288),width:433,height:232,renderContent:function(){return _(s.default.Text,{note:f.default.Messages.FRIENDS_EMPTY_STATE_BLOCKED})}},SECTION_PENDING:{lightSrc:n(11289),darkSrc:n(11290),width:415,height:200,renderContent:function(){return _(s.default.Text,{note:f.default.Messages.FRIENDS_EMPTY_STATE_PENDING})}}});var E=function(e){var t=e.theme,n=f.default.Messages.FRIENDS_EMPTY_STATE_ALL,r=h.SECTION_ALL;return _(a.Fragment,{},void 0,_(s.default,{theme:t},void 0,_(s.default.Image,{width:r.width,height:r.height,lightSrc:r.lightSrc,darkSrc:r.darkSrc,theme:t}),_(s.default.Text,{note:n})))};E.displayName="AddFriendEmpty";var g=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={opacity:new o.default.Value(1)},t.componentWillEnter=function(e){t.state.opacity.setValue(0),o.default.timing(t.state.opacity,{toValue:1,duration:250}).start(e)},t.componentWillLeave=function(e){o.default.timing(t.state.opacity,{toValue:0,duration:250}).start(e)},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n),r.prototype.render=function(){var e=this.props,t=e.type,n=e.onClick,r=e.theme,a={opacity:this.state.opacity},i=function(e){switch(e){case d.FriendsSections.ADD_FRIEND:case d.FriendsSections.ALL:return h.SECTION_ALL;case d.FriendsSections.ONLINE:return h.SECTION_ONLINE;case d.FriendsSections.PENDING:return h.SECTION_PENDING;case d.FriendsSections.BLOCKED:return h.SECTION_BLOCKED;default:throw new Error("FriendsEmptyState: Invalid empty state")}}(t);return t===d.FriendsSections.ADD_FRIEND?_(o.default.div,{className:c.default.friendsEmpty,style:a},void 0,_(E,{theme:r})):_(o.default.div,{className:c.default.friendsEmpty,style:a},void 0,_(s.default,{theme:r},void 0,_(s.default.Image,{width:i.width,height:i.height,lightSrc:i.lightSrc,darkSrc:i.darkSrc,theme:r}),i.renderContent(n)))},r}(a.PureComponent);g.displayName="FriendsEmptyState";var S=i.default.connectStores([l.default],(function(){return{theme:l.default.theme}}),{forwardRef:!0})(g);t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(8436)),o=i(n(8065));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(e){var t=e.title;return u(a.default,{className:o.default.title},void 0,t)}s.displayName="SectionTitle"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStageDiscoveryListState=g,t.default=function(){var e=r.useState(!1),t=e[0],n=e[1],a=g(),o=a[0],i=a[1];function l(){return(l=h(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===t&&(t=function(){}),n(!0),e.next=4,O();case 4:r=e.sent,t(),i(r),n(!1);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return{list:o,refresh:function(e){return l.apply(this,arguments)},loading:t,clear:function(){return i([])}}},t.useStageDiscoveryListStore=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=y(n(251)),o=y(n(8312)),i=y(n(81)),l=n(8559),u=y(n(10)),s=y(n(1265)),d=y(n(36)),f=n(722),c=n(10447),p=n(11302),v=n(1);function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function h(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){_(o,r,a,i,l,"next",e)}function l(e){_(o,r,a,i,l,"throw",e)}i(void 0)}))}}var E=(0,a.default)((function(e){return{list:[],setList:function(t){return e({list:t})}}}));function g(){return E((function(e){return[e.list,e.setList]}),o.default)}function S(){var e=u.default.getChannel(d.default.getVoiceChannelId());return null!=i.default.getStageInstanceByChannel(null==e?void 0:e.id)&&(null==e?void 0:e.isGuildStageVoice())?e:null}function O(){return I.apply(this,arguments)}function I(){return(I=h(regeneratorRuntime.mark((function e(){var t,n,r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=function(e,r){var a=e.reduce((function(e,t){var a=r(t);return n.has(a.id)?e:(n.add(a.id),[].concat(e,[a]))}),[]);t.push.apply(t,a)},t=[],n=new Set,null!=(a=S())&&r([a],f.createConnectedDiscoveryItemMetadata),!s.default.hasConsented(v.Consents.PERSONALIZATION)){e.next=13;break}return e.t0=r,e.next=9,(0,p.getRichPresenceStagesWithEnhancedData)();case 9:e.t1=e.sent,e.t2=f.createFriendGuildsDiscoveryItem,(0,e.t0)(e.t1,e.t2),r((0,l.getAllLiveStageChannels)(),f.createUserGuildDiscoveryItem);case 13:return e.t3=r,e.next=16,(0,c.fetchRecommendedStages)();case 16:return e.t4=e.sent,e.t5=f.createRecommendedDiscoveryItem,(0,e.t3)(e.t4,e.t5),e.abrupt("return",t);case 20:case"end":return e.stop()}}),e)})))).apply(this,arguments)}t.useStageDiscoveryListStore=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchRecommendedStages=function(){return d.apply(this,arguments)},t.fetchRichPresenceStagesMetadata=function(e){return f.apply(this,arguments)};var r=l(n(137)),a=l(n(14)),o=n(275),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){u(o,r,a,i,l,"next",e)}function l(e){u(o,r,a,i,l,"throw",e)}i(void 0)}))}}function d(){return(d=s(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.default.get(i.Endpoints.STAGE_INSTANCES);case 2:return t=e.sent,e.abrupt("return",t.body);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(){return(f=s(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,a.default.get({url:i.Endpoints.STAGE_INSTANCES_EXTRA,query:r.default.stringify({channel_ids:t})});case 3:return n=e.sent,e.abrupt("return",n.body);case 7:throw e.prev=7,e.t0=e.catch(0),new o.APIError(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LiveStageTile=t.LoadingLiveStageTile=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=_(n(9)),i=n(3),l=n(389),u=_(n(132)),s=_(n(94)),d=_(n(61)),f=n(9040),c=_(n(1416)),p=_(n(11305)),v=_(n(11306)),y=_(n(11307)),m=_(n(8069));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(){return(g=Object.assign||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}).apply(this,arguments)}var S=a.forwardRef((function(e,t){return a.createElement("div",{ref:t,className:(0,o.default)(m.default.container,m.default.loading)})}));t.LoadingLiveStageTile=S;var O=a.forwardRef((function(e,t){var n,r=e.channelId,_=e.guild,h=e.speakers,S=e.speakerCount,O=e.audienceCount,I=e.stage,T=e.onSelectStage,C=e.isStageSelected,b=e.score,M=e.source,N=e.context,A=e.discoveryItemType,P=a.useState(!1),R=P[0],L=P[1],D=a.useState(!1),w=D[0],j=D[1],k=(0,i.useStateFromStores)([s.default],(function(){return s.default.isConnected()&&s.default.getChannelId()===r}),[r]),U=k&&C&&!R;return a.createElement("div",{ref:t,className:(0,o.default)(m.default.container,(n={},n[m.default.connected]=U,n))},E(d.default,{onClick:function(){w||(T(_.id,r),L(!1))},onContextMenu:function(e){(0,l.openContextMenu)(e,(function(e){return a.createElement(p.default,g({},e,{source:M,score:b,guildId:_.id,channelId:r,stageInstanceId:I.id}))}))}},void 0,E(v.default,{discoveryItemType:A,context:N}),E(c.default,{guild:_,stageInstance:I,showGuildPopout:w,setShowGuildPopout:j,handleGuildNameClick:function(e){e.stopPropagation(),j(!0)},source:M,speakers:h,speakerCount:S,audienceCount:O}),E(y.default,{isStageSelected:C,isConnected:k,channelId:r,onExit:function(e){L(!0),e.stopPropagation(),u.default.disconnect(),(0,f.trackStageDiscoveryStageExited)(r)},isExiting:R})))}));t.LiveStageTile=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(101))&&r.__esModule?r:{default:r};function o(){return(o=Object.assign||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}).apply(this,arguments)}var i,l=a.default.defaultRules.lheading,u=a.default.defaultRules.heading,s=a.default.defaultRules.link,d=a.default.defaultRules.image,f=a.default.defaultRules.list,c=a.default.defaultRules.blockQuote,p=a.default.defaultRules.paragraph,v=/\{(.+?)}/,y=/^\$(\w+?)\$/;i=n(11321);var m=function(e){var t=e.transformUpperCase,n=void 0!==t&&t;return function(e,t,r){var o=v.exec(e[1]),i=e[1].replace(v,"");return n&&(i=i.toUpperCase()),{className:null!=o?o[1]:null,level:"="===e[2]?1:2,content:a.default.parseInline(t,i,r)}}},_=function(e){return o({},i.baseRules,{image:o({},d,{},"function"==typeof i.customRules.image?i.customRules.image(e):i.customRules.image),link:o({},s,{},"function"==typeof i.customRules.link?i.customRules.link(e):i.customRules.link),list:o({},f,{},"function"==typeof i.customRules.list?i.customRules.list(e):i.customRules.list),interpolation:{order:a.default.defaultRules.text.order,match:function(e){return y.exec(e)},parse:function(e,t,n){var r=n.interpolations[e[1]];return null==r?{type:"text",content:e[0]}:{type:"interpolation",renderer:r}},react:function(e){return e.renderer()}},lheading:o({},l,{parse:m({transformUpperCase:!0})},"function"==typeof i.customRules.lheading?i.customRules.lheading(e):i.customRules.lheading),heading:o({},u,{},"function"==typeof i.customRules.heading?i.customRules.heading(e):i.customRules.heading),blockQuote:o({},c,{},"function"==typeof i.customRules.blockQuote?i.customRules.blockQuote(e):i.customRules.blockQuote),paragraph:o({},p,{},"function"==typeof i.customRules.paragraph?i.customRules.paragraph(e):i.customRules.paragraph)})},h={getDefaultRules:function(e){return o({},_(e))},getSpecialRules:function(e){return o({},_(e),{},function(e){return{lheading:o({},l,{parse:m({transformUpperCase:!1})},"function"==typeof i.customRules.lheading?i.customRules.lheading(e):i.customRules.lheading)}}(e))}};t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("rect",{width:"16",height:"16"});function f(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,f=void 0===l?"currentColor":l,c=e.className,p=e.foreground,v=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","className","foreground"]);return o.createElement("svg",u({className:c,width:n,height:a,viewBox:"0 0 16 16"},(0,i.default)(v)),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:p,fill:f,d:"M0,1.99406028 C0,0.892771196 0.894513756,0 1.99406028,0 L14.0059397,0 C15.1072288,0 16,0.894513756 16,1.99406028 L16,14.0059397 C16,15.1072288 15.1054862,16 14.0059397,16 L1.99406028,16 C0.892771196,16 0,15.1054862 0,14.0059397 L0,1.99406028 Z M8.23182341,16 L10.3991764,16 L10.3991764,9.93141161 L12.5663127,9.93141161 L13,7.76405862 L10.3991764,7.76405862 L10.3246195,6.3468265 C10.3246195,5.66107601 10.5049432,5.17342158 11.4698488,5.17342158 L12.974642,5.17385505 L12.974642,3.12202197 C12.7618079,3.09319618 12.3142495,3 11.4644304,3 C9.69001851,3 8.18500859,4.20353112 8.18500859,6.23043964 L8.23182341,7.76405862 L6.06425368,7.76405862 L6.06425368,9.93141161 L8.23182341,9.93141161 L8.23182341,16 Z"}),d))}f.displayName="Facebook"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("rect",{width:"16",height:"16"});function f(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r,l=e.color,f=void 0===l?"currentColor":l,c=e.className,p=e.foreground,v=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","className","foreground"]);return o.createElement("svg",u({className:c,xmlns:"http://www.w3.org/2000/svg",width:n,height:a,viewBox:"0 0 16 16"},(0,i.default)(v)),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:p,fill:f,d:"M4.70012698,0.0531746 C3.84888888,0.092 3.2675238,0.22720635 2.7588254,0.42492063 C2.23292063,0.62926983 1.78692063,0.90273016 1.3422857,1.34733333 C0.89768254,1.79196825 0.62422222,2.23796825 0.41987302,2.76387303 C0.22215872,3.27257143 0.08695238,3.85393651 0.04812698,4.7051746 C0.00920635,5.55819048 0,5.83053968 0,8.00253968 C0,10.1745079 0.00920635,10.4468571 0.04812698,11.299873 C0.08695238,12.1511111 0.22215873,12.7324762 0.41987302,13.2411746 C0.62422222,13.7670794 0.89768254,14.2130794 1.34228572,14.6577143 C1.78692062,15.1023175 2.23292062,15.3757778 2.7588254,15.5801587 C3.2675238,15.7778413 3.8488889,15.9130476 4.70012698,15.951873 C5.55314286,15.9907937 5.82549206,16 7.99749206,16 C10.1694603,16 10.4418095,15.9907937 11.2948254,15.951873 C12.1460635,15.9130476 12.7274286,15.7778413 13.236127,15.5801587 C13.7620317,15.3757778 14.2080317,15.1023175 14.6526667,14.6577143 C15.0972698,14.2130794 15.3707302,13.7670794 15.5751111,13.2411746 C15.7727937,12.7324762 15.908,12.1511111 15.9468254,11.299873 C15.985746,10.4468571 15.9949524,10.1745079 15.9949524,8.00253968 C15.9949524,5.83053968 15.985746,5.55819048 15.9468254,4.7051746 C15.908,3.8539365 15.7727937,3.27257143 15.5751111,2.76387302 C15.3707302,2.23796825 15.0972698,1.79196825 14.6526667,1.34733332 C14.2080317,0.90273016 13.7620317,0.62926984 13.236127,0.42492064 C12.7274286,0.22720634 12.1460635,0.092 11.2948254,0.0531746 C10.4418095,0.01425397 10.1694603,0.00504762 7.99749206,0.00504762 C5.82549206,0.00504762 5.55314286,0.01425397 4.70012698,0.0531746 L4.70012698,0.0531746 Z M8.00001453,2.00504762 C9.95416635,2.00504762 10.185649,2.01251386 10.9573741,2.04772432 C11.6709381,2.08026206 12.0584565,2.19948958 12.3163471,2.29971739 C12.6579641,2.43248289 12.9017646,2.59107525 13.157854,2.84719363 C13.4139723,3.10328295 13.5725647,3.34708347 13.7053302,3.68870053 C13.805558,3.94659105 13.9247856,4.33410953 13.9573233,5.04767346 C13.9925338,5.8193986 14,6.05088127 14,8.00506213 C14,9.95921396 13.9925338,10.1906966 13.9573233,10.9624217 C13.9247856,11.6759857 13.805558,12.0635042 13.7053302,12.3213947 C13.5725647,12.6630117 13.4139723,12.9068123 13.157854,13.1629016 C12.9017646,13.41902 12.6579641,13.5776123 12.3163471,13.7103779 C12.0584565,13.8106057 11.6709381,13.9298332 10.9573741,13.9623709 C10.1857652,13.9975814 9.9543116,14.0050476 8.00001453,14.0050476 C6.04568839,14.0050476 5.81426383,13.9975814 5.04262587,13.9623709 C4.32906195,13.9298332 3.94154347,13.8106057 3.68365294,13.7103779 C3.34203588,13.5776123 3.09823536,13.41902 2.84214604,13.1629016 C2.58605671,12.9068123 2.42743531,12.6630117 2.29466977,12.3213947 C2.19444197,12.0635042 2.07521444,11.6759857 2.04267671,10.9624217 C2.00746628,10.1906966 2,9.95921395 2,8.00506212 C2,6.05088125 2.00746625,5.81939858 2.0426767,5.04767347 C2.07521444,4.33410953 2.19444196,3.94659104 2.29466977,3.68870052 C2.42743531,3.34708346 2.58602767,3.10328294 2.84214604,2.84719362 C3.09823536,2.59107524 3.34203588,2.43248288 3.68365294,2.29971735 C3.94154346,2.19948953 4.32906194,2.08026201 5.04262587,2.04772428 C5.81435097,2.01251381 6.04583365,2.00504758 8.00001453,2.00504758 L8.00001453,2.00504762 Z"}),s("path",{className:p,fill:f,d:"M8.0000119,10 C6.89542535,10 6,9.10457466 6,8.0000119 C6,6.89542535 6.89542534,6 8.0000119,6 C9.10457467,6 10,6.89542534 10,8.0000119 C10,9.10457467 9.10457466,10 8.0000119,10 L8.0000119,10 Z M8.00001546,4 C5.7908468,4 4,5.7908468 4,8.00001546 C4,10.2091532 5.7908468,12 8.00001546,12 C10.2091532,12 12,10.2091532 12,8.00001546 C12,5.7908468 10.2091532,4 8.00001546,4 L8.00001546,4 Z M13,4.00001654 C13,4.55230644 12.5522734,5 11.9999835,5 C11.4477266,5 11,4.55230645 11,4.00001654 C11,3.44772664 11.4477266,3 11.9999835,3 C12.5522734,3 13,3.44772663 13,4.00001654 L13,4.00001654 Z"}),d))}f.displayName="Instagram"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.AddEntryCard=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(389),l=A(n(199)),u=n(42),s=A(n(162)),d=A(n(15)),f=A(n(40)),c=A(n(36)),p=A(n(29)),v=A(n(61)),y=A(n(375)),m=A(n(371)),_=A(n(278)),h=A(n(149)),E=A(n(8331)),g=A(n(248)),S=A(n(24)),O=A(n(150)),I=n(193),T=A(n(11357)),C=n(1),b=A(n(6)),M=A(n(8081)),N=A(n(11359));function A(e){return e&&e.__esModule?e:{default:e}}function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function L(){return(L=Object.assign||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}).apply(this,arguments)}function D(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var w=D("img",{alt:"",src:N.default}),j=function(e){var t=e.onClick;return D(v.default,{onClick:t,className:M.default.addEntryCard},void 0,w,D(S.default,{size:S.default.Sizes.SIZE_14,color:S.default.Colors.HEADER_PRIMARY,className:M.default.addServerText},void 0,b.default.Messages.HUB_ADD_SERVER_CTA))};t.AddEntryCard=j,j.displayName="AddEntryCard";var k=function(e){var t,n=e.entry,r=a.useState(!1),v=r[0],N=r[1],A=(0,o.useStateFromStores)([d.default],(function(){return d.default.getGuild(n.guildId)})),P=null!=A,w=(0,o.useStateFromStores)([f.default],(function(){return null!=A&&f.default.can(C.Permissions.ADMINISTRATOR,A)})),j=function(){var e,t=(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(N(!0),e.prev=1,P){e.next=7;break}return e.next=5,l.default.joinGuild(n.guildId,!1,C.JoinGuildSources.DIRECTORY_ENTRY,n.channelId);case 5:e.next=8;break;case 7:(0,u.transitionToGuild)(n.guildId,c.default.getChannelId(n.guildId));case 8:return e.prev=8,N(!1),e.finish(8);case 11:case"end":return e.stop()}}),e,null,[[1,,8,11]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){R(o,r,a,i,l,"next",e)}function l(e){R(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}(),k=O.default.getGuildSplashURL({id:n.guildId,splash:n.splash,size:300*(0,I.getDevicePixelRatio)()}),U=null!==(t=O.default.getGuildIconURL({id:n.guildId,icon:n.icon,size:40}))&&void 0!==t?t:void 0;return D("div",{className:M.default.card,onContextMenu:function(e){(0,i.openContextMenu)(e,(function(e){return a.createElement(T.default,L({},e,{entry:n}))}))}},void 0,D("div",{className:M.default.cardHeader},void 0,D("div",{className:M.default.splash},void 0,null!=k&&D("img",{src:k,alt:"",className:M.default.splashImage})),D("div",{className:M.default.guildIcon},void 0,D(g.default,{mask:g.default.Masks.SQUIRCLE,width:48,height:48},void 0,D("div",{className:M.default.iconMask},void 0,D(m.default,{className:M.default.icon,iconSrc:U,guild:new s.default(n),size:m.default.Sizes.MEDIUM,active:!0})))),w&&D(_.default,{animation:_.default.Animation.NONE,position:_.default.Positions.BOTTOM,spacing:4,align:_.default.Align.RIGHT,renderPopout:function(e){var t=e.closePopout;return D(T.default,{entry:n,closePopout:t})}},void 0,(function(e){return a.createElement(E.default,L({},e,{className:M.default.overflowMenu}))}))),D("div",{className:M.default.guildInfo},void 0,D("div",{className:M.default.title},void 0,D(y.default,{className:M.default.guildBadge,guild:n,tooltipColor:h.default.Colors.PRIMARY}),D(S.default,{className:M.default.guildName,size:S.default.Sizes.SIZE_16,color:S.default.Colors.HEADER_PRIMARY},void 0,n.name)),D(S.default,{className:M.default.description,size:S.default.Sizes.SIZE_14,color:S.default.Colors.HEADER_SECONDARY},void 0,n.description),D("div",{className:M.default.memberInfo},void 0,null!=n.approximatePresenceCount&&D("div",{className:M.default.memberCount},void 0,D("div",{className:M.default.dotOnline}),D(S.default,{size:S.default.Sizes.SIZE_12,color:S.default.Colors.HEADER_SECONDARY},void 0,b.default.Messages.INSTANT_INVITE_GUILD_MEMBERS_ONLINE.format({membersOnline:n.approximatePresenceCount}))),null!=n.approximateMemberCount&&D("div",{className:M.default.memberCount},void 0,D("div",{className:M.default.dotOffline}),D(S.default,{size:S.default.Sizes.SIZE_12,color:S.default.Colors.HEADER_SECONDARY},void 0,b.default.Messages.INSTANT_INVITE_GUILD_MEMBERS_TOTAL.format({count:n.approximateMemberCount})))),D(p.default,{submitting:v,className:M.default.joinButton,color:P?p.default.Colors.GREY:p.default.Colors.GREEN,onClick:j},void 0,P?b.default.Messages.HUB_DIRECTORY_CARD_JOINED_GUILD_BUTTON:b.default.Messages.JOIN)))};k.displayName="GuildDirectoryEntryCard";var U=k;t.default=U},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e=e.replace(/[\\'"#:/@<>]/g,""),t&&(e=e.trim());return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=I;var r,a=g(n(0)),o=g(n(8253)),i=h(n(278)),l=h(n(8666)),u=h(n(9726)),s=h(n(8282)),d=n(121),f=h(n(8265)),c=n(392),p=n(1209),v=n(8473),y=n(1),m=h(n(6)),_=h(n(8093));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(){return(O=Object.assign||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}).apply(this,arguments)}function I(e){var t=e.channel,n=(0,v.useThreadNotificationSetting)(t),r=a.useState(!1),o=r[0],f=r[1];if(a.useEffect((function(){var e=function(){return f(!0)};return d.ComponentDispatch.subscribe(y.ComponentActions.OPEN_THREAD_NOTIFICATION_SETTINGS,e),function(){d.ComponentDispatch.unsubscribe(y.ComponentActions.OPEN_THREAD_NOTIFICATION_SETTINGS,e)}}),[]),!(0,p.useCanSeeThreads)())return null;var h=m.default.Messages.NOTIFICATION_SETTINGS;return S(i.default,{shouldShow:o,animation:i.default.Animation.NONE,position:i.default.Positions.BOTTOM,align:i.default.Align.RIGHT,autoInvert:!1,onRequestClose:function(){return f(!1)},renderPopout:function(e){return a.createElement(T,O({},e,{channel:t}))}},void 0,(function(e,t){return a.createElement(s.default.Icon,O({},e,{onClick:function(){return f((function(e){return!e}))},tooltip:t?null:h,icon:n===c.ThreadMemberFlags.NO_MESSAGES?u.default:l.default,foreground:n===c.ThreadMemberFlags.NO_MESSAGES?_.default.strikethrough:null,"aria-label":h,selected:t}))}))}function T(e){var t=e.channel,n=e.closePopout,r=e.onSelect,a=(0,v.useThreadNotificationSetting)(t);return S(o.default,{navId:"thread-context",onClose:n,"aria-label":m.default.Messages.THREAD_ACTIONS_MENU_LABEL,onSelect:r},void 0,(0,c.getThreadNotificationOptions)().map((function(e){var n=e.setting,r=e.label;return S(o.MenuRadioItem,{group:"thread-notifications",id:""+n,label:r,action:function(){return f.default.setNotificationSetting(t,n)},checked:n===a},n)})))}I.displayName="ThreadNotificationSettingsButton",T.displayName="PopoutMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=J(n(0)),o=q(n(8325)),i=n(3),l=q(n(705)),u=q(n(8389)),s=q(n(390)),d=q(n(8406)),f=n(286),c=n(285),p=q(n(105)),v=q(n(106)),y=q(n(8469)),m=n(8260),_=q(n(9224)),h=q(n(688)),E=q(n(9188)),g=n(8278),S=q(n(10080)),O=q(n(8391)),I=q(n(8735)),T=n(8365),C=q(n(1216)),b=q(n(10084)),M=n(8390),N=q(n(8437)),A=n(5940),P=q(n(10456)),R=J(n(1225)),L=q(n(8333)),D=q(n(201)),w=q(n(690)),j=q(n(40)),k=n(9134),U=q(n(13)),G=n(8349),F=n(121),B=n(8381),H=n(733),x=q(n(10135)),V=q(n(10137)),W=q(n(9223)),Y=q(n(8257)),z=J(n(8357)),K=n(1),$=q(n(6)),Z=q(n(7391));function q(e){return e&&e.__esModule?e:{default:e}}function X(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return X=function(){return e},e}function J(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=X();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function Q(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function ee(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,te(e,t)}function te(e,t){return(te=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ne(e){e.preventDefault()}var re=/^\+(?!\w+):?(?!:)(\w+)?:?$/,ae=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).channelTextAreaRef=a.createRef(),t.isFirstChange=!0,t.state={textValue:R.default.getDraft(t.props.channel.id,R.DraftType.ChannelMessage),richValue:o.default.deserialize(R.default.getDraft(t.props.channel.id,R.DraftType.ChannelMessage))},t.draftDidChange=function(e){void 0===e&&(e=t.props);var n=t.state.textValue,r=R.default.getDraft(e.channel.id,R.DraftType.ChannelMessage);n!==r&&""===r&&t.setState({textValue:r,richValue:o.default.deserialize(r)},(function(){if(n!==r){var e=t.props.onFocus;e&&e()}}))},t.handleKeyDown=function(e){var n=t.props,r=n.keyboardModeEnabled,a=n.onKeyDown,o=e.shiftKey||e.altKey||e.ctrlKey||e.metaKey;switch(e.which){case K.KeyboardKeys.ARROW_UP:if(o)return;if(0!==t.state.textValue.length)return;if(e.preventDefault(),r)F.ComponentDispatch.dispatch(K.ComponentActions.FOCUS_MESSAGES,{atEnd:!0});else{var i=t.props.channel,l=D.default.getLastEditableMessage(i.id);l&&(s.default.startEditMessage(i.id,l.id,l.content),v.default.trackWithMetadata(K.AnalyticEvents.MESSAGE_EDIT_UP_ARROW))}return;case K.KeyboardKeys.ESCAPE:if(o)return;if(e.target!==e.currentTarget)return;e.preventDefault(),r&&(0,c.disableKeyboardMode)()}a&&a()},t.handleTextareaChange=function(e,n,r){var a=t.props,o=a.keyboardModeEnabled,i=a.channel.id;u.default.changeDraft(i,n,R.DraftType.ChannelMessage);var s=""!==n&&r.document!==t.state.richValue.document,f=s&&!re.test(n)&&!n.startsWith("/")&&(!t.isFirstChange||n!==t.state.textValue);t.isFirstChange=!1,f?d.default.startTyping(i):""===n&&d.default.stopTyping(i),h.default.getLayout(i)===K.ChannelLayouts.NO_CHAT&&l.default.updateLayout(i,K.ChannelLayouts.NORMAL),s&&o&&(0,c.disableKeyboardMode)(),t.setState({textValue:n,richValue:r})},t.handleSendMessage=function(e,n,r,a){var i=e;if(0===(e=e.trim()).length&&(null==n||0===n.length))return Promise.resolve({shouldClear:!1,shouldRefocus:!0});var l=t.props,u=l.guild,d=l.channel,c=l.pendingReply,p=!1;if(null!=r){if(r.type===m.ApplicationCommandType.BUILT_IN_INTEGRATION)return F.ComponentDispatch.dispatch(K.ComponentActions.SHAKE_APP,{duration:200,intensity:2}),Promise.resolve({shouldClear:!1,shouldRefocus:!0});var v=(0,_.default)(r,null!=a?a:{},{guild:u,channel:d});if(r.type!==m.ApplicationCommandType.BUILT_IN_TEXT)return Promise.resolve({shouldClear:!0,shouldRefocus:!0});null!=v&&(e=v.content||e,p=!0===v.tts)}if(null===r&&null!=u&&i.startsWith(g.COMMAND_SENTINEL)){var h=i.substring(1);if(h===h.trimStart()&&!y.default.hasResults(h,f.ApplicationCommandTarget.CHAT))return F.ComponentDispatch.dispatch(K.ComponentActions.SHAKE_APP,{duration:200,intensity:2}),Promise.resolve({shouldClear:!1,shouldRefocus:!0})}return null!=t.channelTextAreaRef.current?(0,B.applyChatRestrictions)({target:t.channelTextAreaRef.current,type:K.TextareaTypes.NORMAL,content:e,stickers:n,channel:d}).then((function(r){var a=r.valid,i=r.failureReason;if(!a)return i===K.MessageRestrictionTypes.SLOWMODE_COOLDOWN?(F.ComponentDispatch.dispatch(K.ComponentActions.SHAKE_APP,{duration:200,intensity:2}),F.ComponentDispatch.dispatch(K.ComponentActions.EMPHASIZE_SLOWMODE_COOLDOWN),{shouldClear:!1,shouldRefocus:!0}):{shouldClear:!1,shouldRefocus:!1};var l=s.default.getSendMessageOptionsForReply(c);if(null!=n&&n.length>0)s.default.sendStickers(d.id,n,e,l);else{var u=C.default.parse(d,e);u.tts=u.tts||p,s.default.sendMessage(d.id,u,void 0,l)}return t.setState({textValue:"",richValue:o.default.deserialize("")}),(0,M.deletePendingReply)(d.id),(0,A.clearStickerPreview)(d.id),{shouldClear:!0,shouldRefocus:!0}})):Promise.resolve({shouldClear:!1,shouldRefocus:!1})},t.renderAttachButton=function(e){return Q(S.default,{className:e,channel:t.props.channel,draftType:R.DraftType.ChannelMessage})},t}ee(t,e);var n=t.prototype;return n.componentDidMount=function(){R.default.addChangeListener(this.draftDidChange)},n.componentWillUnmount=function(){R.default.removeChangeListener(this.draftDidChange)},n.componentDidUpdate=function(e,t){var n=this.props.channel,r=this.state.textValue;if(e.channel.id===n.id){if(e.hasModalOpen&&!this.props.hasModalOpen){var a=R.default.getDraft(n.id,R.DraftType.ChannelMessage);a!==r&&this.setState({textValue:a,richValue:o.default.deserialize(a)})}t.textValue.length<K.MAX_MESSAGE_LENGTH&&r.length>=K.MAX_MESSAGE_LENGTH&&U.default.track(K.AnalyticEvents.MESSAGE_LENGTH_LIMIT_REACHED,{})}else this.draftDidChange(this.props)},n.render=function(){var e=this.props,t=e.channel,n=e.focused,r=e.onResize,o=e.onBlur,i=e.onFocus,l=e.highlighted,u=e.pendingReply,s=e.textareaType,d=e.disableAutoFocus,f=e.placeholder;return a.createElement(O.default,{ref:this.channelTextAreaRef,textValue:this.state.textValue,richValue:this.state.richValue,focused:n,className:Z.default.channelTextArea,channel:t,placeholder:f,pendingReply:u,type:s,onChange:this.handleTextareaChange,onSubmit:this.handleSendMessage,onResize:r,onFocus:i,onBlur:o,onKeyDown:this.handleKeyDown,shouldUploadLongMessages:!0,shouldRenderPremiumGiftButton:s!==K.TextareaTypes.SIDEBAR,renderAttachButton:this.renderAttachButton,promptToUpload:I.default,highlighted:l,canExecuteCommands:s!==K.TextareaTypes.SIDEBAR&&s!==K.TextareaTypes.THREAD_CREATION,autoSuggestEnabled:!0,canAttachStickers:!0,canAddGIFs:!0,disableAutoFocus:d})},t}(a.PureComponent);ae.displayName="ChannelTextAreaForm";var oe=Q(k.ChatLayerContainer,{}),ie=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={textAreaFocused:!1,textAreaHighlighted:!1,currentChannelId:t.props.channel.id},t.dispatchGroupRef=a.createRef(),t.handleRequestFocus=function(e){(null==e?void 0:e.channelId)===t.props.channel.id&&t.setState({textAreaFocused:!0})},t.getAnalyticsPage=function(){var e=t.props.channel;if(null==e)return null;switch(e.type){case K.ChannelTypes.GUILD_ANNOUNCEMENT:case K.ChannelTypes.GUILD_TEXT:return Y.default.Pages.GUILD_CHANNEL;case K.ChannelTypes.GROUP_DM:case K.ChannelTypes.DM:return Y.default.Pages.DM_CHANNEL;default:return null}},t.handleInputFocus=function(e){(0,H.isFullScreen)()||(null!=(null==e?void 0:e.highlight)?t.setState({textAreaFocused:!0,textAreaHighlighted:null==e?void 0:e.highlight}):t.setState({textAreaFocused:!0}))},t.handleInputBlur=function(){(document.hasFocus()||t.props.hasModalOpen)&&t.setState({textAreaFocused:!1,textAreaHighlighted:!1})},t.handleInputKeyDown=function(){t.state.textAreaHighlighted&&t.setState({textAreaHighlighted:!1})},t.handleOpenExpressionPicker=function(e){var n=e.activeView;(0,T.openExpressionPicker)(n,t.props.textareaType)},t.handleChatInteract=function(){var e;null===(e=t.dispatchGroupRef.current)||void 0===e||e.bumpDispatchPriority()},t}ee(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.channel,r=t.currentChannelId;return n.id!==r?{textAreaFocused:null!=n&&j.default.can(K.Permissions.SEND_MESSAGES,n),currentChannelId:n.id}:null};var n=t.prototype;return n.componentDidMount=function(){F.ComponentDispatch.subscribe(K.ComponentActions.FOCUS_CHANNEL_TEXT_AREA,this.handleRequestFocus)},n.componentDidUpdate=function(e){this.props.isEditing===e.isEditing&&this.props.hasModalOpen===e.hasModalOpen||(this.props.isEditing||this.props.hasModalOpen?this.handleInputBlur():this.handleInputFocus())},n.componentWillUnmount=function(){F.ComponentDispatch.unsubscribe(K.ComponentActions.FOCUS_CHANNEL_TEXT_AREA,this.handleRequestFocus)},n.render=function(){var e=this.props,t=e.channel,n=e.guild,r=e.keyboardModeEnabled,o=e.hasModalOpen,i=e.pendingReply,l=e.textareaType,u=e.disableAutoFocus,s=e.renderThreadNotice,d=e.placeholder,f=this.state,c=f.textAreaFocused,p=f.textAreaHighlighted,v=t.isPrivate()?x.default:V.default;return Q(Y.default,{page:this.getAnalyticsPage()},"messages-"+t.id,Q(k.ChatLayerProvider,{},void 0,a.createElement(G.ComponentDispatchGroupProvider,{ref:this.dispatchGroupRef},Q(G.ComponentAction,{event:K.ComponentActions.TEXTAREA_FOCUS,handler:this.handleInputFocus}),Q(G.ComponentAction,{event:K.ComponentActions.TEXTAREA_BLUR,handler:this.handleInputBlur}),Q(G.ComponentAction,{event:K.ComponentActions.OPEN_EXPRESSION_PICKER,handler:this.handleOpenExpressionPicker}),Q("main",{className:Z.default.chatContent,"aria-label":$.default.Messages.CHANNEL_A11Y_LABEL.format({channelName:t.name}),onMouseDown:this.handleChatInteract,onFocus:this.handleChatInteract},void 0,s?Q(P.default,{channel:t}):null,Q(b.default,{channel:t}),Q("form",{onSubmit:ne,className:Z.default.form},void 0,Q(v,{channel:t},void 0,Q(z.default,{tutorialId:"writing-messages",position:z.TutorialIndicatorPositions.LEFT,offsetX:75},void 0,Q(ae,{focused:c,highlighted:p,channel:t,guild:n,keyboardModeEnabled:r,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,onKeyDown:this.handleInputKeyDown,hasModalOpen:o,pendingReply:i,textareaType:l,disableAutoFocus:u,placeholder:d}))),Q(W.default,{channel:t})),oe))))},t}(a.PureComponent);ie.displayName="ChannelChat";var le=a.memo((function(e){var t=e.channel,n=e.guild,r=e.textareaType,a=void 0===r?K.TextareaTypes.NORMAL:r,o=e.disableAutoFocus,l=e.renderThreadNotice,u=(0,E.default)(t);return Q(ie,{channel:t,isEditing:null!=(0,i.useStateFromStores)([L.default],(function(){return L.default.getEditingMessageId(t.id)})),hasModalOpen:(0,i.useStateFromStores)([w.default],(function(){return w.default.hasModalOpen()})),guild:n,keyboardModeEnabled:(0,i.useStateFromStores)([p.default],(function(){return p.default.keyboardModeEnabled})),pendingReply:(0,i.useStateFromStores)([N.default],(function(){return N.default.getPendingReply(t.id)})),textareaType:a,disableAutoFocus:o,renderThreadNotice:l,placeholder:u})}));t.default=le},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r,v,y=e.channel,_=e.narrow,h=(0,o.useStateFromStores)([u.default],(function(){return null!=y&&u.default.hasJoined(y.id)})),E=(0,d.useCanUnarchiveThread)(y),g=(0,d.useIsThreadModerator)(y);if(null===(t=y.threadMetadata)||void 0===t?void 0:t.archived){var S;n=(null===(S=y.threadMetadata)||void 0===S?void 0:S.locked)?c.default.Messages.THREAD_HEADER_NOTICE_LOCKED:c.default.Messages.THREAD_HEADER_NOTICE_ARCHIVED,E&&(r=m(i.default,{size:_?i.default.Sizes.SMALL:i.default.Sizes.TINY,className:p.default.chatHeaderBarButton,color:i.default.Colors.GREY,onClick:function(){return s.default.unarchiveThread(y,g)}},void 0,c.default.Messages.UNARCHIVE))}else h||(n=c.default.Messages.THREAD_HEADER_NOTICE_JOIN,r=m(i.default,{size:_?i.default.Sizes.SMALL:i.default.Sizes.TINY,className:p.default.chatHeaderBarButton,onClick:function(){return s.default.joinThread(y,"Banner")}},void 0,c.default.Messages.JOIN));return null==n?m(f.default,{channel:y,narrow:_}):m("div",{className:(0,a.default)(p.default.chatHeaderBar,(v={},v[p.default.narrow]=_,v))},void 0,m(l.default,{className:p.default.chatHeaderBarText,size:l.default.Sizes.SIZE_14,color:l.default.Colors.HEADER_SECONDARY},void 0,n),r)};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=v(n(9)),o=n(3),i=v(n(29)),l=v(n(24)),u=v(n(204)),s=v(n(8265)),d=n(1209),f=v(n(11382)),c=v(n(6)),p=v(n(7839));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=M(n(0)),o=C(n(9)),i=C(n(3)),l=C(n(397)),u=C(n(8736)),s=C(n(8558)),d=n(180),f=C(n(1219)),c=C(n(694)),p=C(n(690)),v=C(n(40)),y=C(n(70)),m=C(n(12)),_=M(n(8289)),h=C(n(96)),E=C(n(9114)),g=C(n(8422)),S=n(1),O=C(n(6)),I=C(n(7360)),T=C(n(7618));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var P=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={isDragging:!1,isOverZone:!1,requireConfirm:!0},t.dragOverTimeout=null,t.elementDOMRef=a.createRef(),t.canDropFile=function(){var e=t.props,n=e.channel,r=e.hasLayers,a=e.canAttachFiles;if(r)return!1;var o=n.getGuildId();return!r&&(n.isPrivate()&&!n.isManaged()||null!=o&&a&&f.default.canChatInGuild(o))},t.isAllDropFiles=function(e){for(var t=0;t<e.length;t++)try{var n=e[t].webkitGetAsEntry()||e[t].getAsEntry();if(n&&!n.isFile)return!1}catch(e){continue}return!0},t.preventUnwantedDrop=function(e,n){void 0===n&&(n=!1);var r=e.dataTransfer;if(null==r)return!0;var a=r.types instanceof Array&&-1!==r.types.indexOf("text/uri-list")&&-1===r.types.indexOf("application/json"),o=null!=r.items&&!t.isAllDropFiles(r.items);return!a&&!o||(e.stopPropagation(),e.preventDefault(),r.effectAllowed="none",r.dropEffect="none",n&&(t.setState({isDragging:!1}),l.default.push(g.default,{title:O.default.Messages.UPLOAD_AREA_INVALID_FILE_TYPE_TITLE,help:O.default.Messages.UPLOAD_AREA_INVALID_FILE_TYPE_HELP})),!1)},t.handleDragOver=function(e){if(!t.preventUnwantedDrop(e))return!1;var n=e.dataTransfer;if(null!=n){n.dropEffect="copy";var r=p.default.getModal();r&&r.modal===g.default&&l.default.pop(),e.stopPropagation(),e.preventDefault(),t.state.isDragging?t.state.isDragging&&e.shiftKey!==!t.state.requireConfirm&&t.setState({requireConfirm:!e.shiftKey}):(n.types instanceof DOMStringList&&n.types.contains("application/x-moz-file")||n.types instanceof Array&&-1!==n.types.indexOf("Files"))&&t.setState((function(t){return t.isDragging?{}:{isDragging:!0,requireConfirm:!e.shiftKey}})),clearTimeout(t.dragOverTimeout),t.dragOverTimeout=setTimeout((function(){t.setState({isDragging:!1,requireConfirm:!0})}),1e3)}},t.handleDragOverZone=function(){t.setState({isOverZone:!0})},t.handleDragLeaveZone=function(){t.setState({isOverZone:!1})},t.handleDragLeave=function(e){t.state.isDragging&&(e.stopPropagation(),e.preventDefault(),t.clearDragging())},t.clearDragging=function(){t.setState({isDragging:!1,isOverZone:!1,requireConfirm:!0})},t.handleDrop=function(e){if(!t.preventUnwantedDrop(e,!0))return!1;var n=e.dataTransfer;if(null==n)return!0;t.state.isDragging&&(e.preventDefault(),e.stopPropagation(),t.canDropFile()&&null!=t.props.channel&&t.promptToUpload(n.files,t.props.channel.id,!0,t.state.requireConfirm),t.clearDragging())},t.getErrorHelp=function(e,t){var n=_.sizeString(_.maxFileSize(t));return h.default.isPremium(e,S.PremiumTypes.TIER_2)?O.default.Messages.UPLOAD_AREA_TOO_LARGE_HELP.format({maxSize:n}):h.default.isPremium(e,S.PremiumTypes.TIER_1)?O.default.Messages.UPLOAD_AREA_TOO_LARGE_HELP_PREMIUM_TIER_1.format({maxSize:n}):O.default.Messages.UPLOAD_AREA_TOO_LARGE_HELP.format({maxSize:n})},t.promptToUpload=function(e,n,r,a){void 0===r&&(r=!1),void 0===a&&(a=!0);var o=t.props.channel.getGuildId();if(_.anyFileTooLarge(e,o)){var i=m.default.getCurrentUser();l.default.push(g.default,{title:O.default.Messages.UPLOAD_AREA_TOO_LARGE_TITLE,help:t.getErrorHelp(i,o),promo:!h.default.isPremium(i,S.PremiumTypes.TIER_2)})}else a?(u.default.pushFiles({files:e,channelId:n,showLargeMessageDialog:!1}),p.default.isModalOpen(E.default)||l.default.push(E.default,{backdropInstant:r,draftType:t.props.draftType})):s.default.instantBatchUpload(n,e,t.props.draftType)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,A(t,n);var i=r.prototype;return i.componentDidMount=function(){document.body.addEventListener("dragover",this.handleDragOver,!1),document.body.addEventListener("drop",this.handleDragLeave,!1);var e=this.elementDOMRef.current;null!=e&&(e.addEventListener("dragover",this.handleDragOverZone,!1),e.addEventListener("dragleave",this.handleDragLeaveZone,!1),e.addEventListener("drop",this.handleDrop,!1))},i.componentWillUnmount=function(){document.body.removeEventListener("dragover",this.handleDragOver,!1),document.body.removeEventListener("drop",this.handleDragLeave,!1);var e=this.elementDOMRef.current;null!=e&&(e.removeEventListener("dragover",this.handleDragOverZone,!1),e.removeEventListener("dragleave",this.handleDragLeaveZone,!1),e.removeEventListener("drop",this.handleDrop,!1)),clearTimeout(this.dragOverTimeout)},i.render=function(){var e,t=this.props,n=t.channel,r=t.className,i=this.state.isDragging&&this.canDropFile(),l=O.default.Messages.UPLOAD_TO.format({destination:(0,d.computeChannelName)(n,m.default,y.default,!0)});this.state.requireConfirm||(l=O.default.Messages.UPLOAD_AREA_TITLE_NO_CONFIRMATION);var u=null;return i&&(u=N("div",{},void 0,N("div",{className:(0,o.default)(T.default.sparkleWhite,I.default.sparkleOne)}),N("div",{className:(0,o.default)(T.default.sparkleWhite,I.default.sparkleTwo)}),N("div",{className:(0,o.default)(T.default.lightWhite,I.default.lightOne)}),N("div",{className:(0,o.default)(T.default.lightWhite,I.default.lightTwo)}),N("div",{className:(0,o.default)(T.default.crossWhite,I.default.crossOne)}),N("div",{className:(0,o.default)(T.default.crossWhite,I.default.crossTwo)}),N("div",{className:(0,o.default)(T.default.popWhite,I.default.popOne)}))),a.createElement("div",{ref:this.elementDOMRef,className:(0,o.default)(r,I.default.uploadArea,(e={},e[I.default.droppable]=i,e[I.default.uploadModalIn]=this.state.isOverZone,e))},N("div",{className:I.default.uploadDropModal},void 0,u,N("div",{className:I.default.bgScale}),N("div",{className:I.default.inner},void 0,N("div",{className:I.default.icons},void 0,N("div",{className:I.default.wrapOne},void 0,N("div",{className:(0,o.default)(I.default.icon,I.default.one)})),N("div",{className:I.default.wrapThree},void 0,N("div",{className:(0,o.default)(I.default.icon,I.default.three)})),N("div",{className:I.default.wrapTwo},void 0,N("div",{className:(0,o.default)(I.default.icon,I.default.two)}))),N("div",{className:I.default.title},void 0,l),N("div",{className:I.default.instructions},void 0,N("pre",{},void 0,O.default.Messages.UPLOAD_AREA_HELP)))))},r}(a.Component);P.displayName="UploadArea";var R=i.default.connectStores([v.default,c.default],(function(e){var t=e.channel;return{hasLayers:c.default.hasLayers(),canAttachFiles:null!=t&&v.default.can(S.Permissions.ATTACH_FILES,t)}}))(P);t.default=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=y(n(8)),a=y(n(3)),o=y(n(2)),i=y(n(10)),l=y(n(56)),u=y(n(10459)),s=y(n(256)),d=y(n(479)),f=y(n(12)),c=n(48),p=y(n(78)),v=n(1);function y(e){return e&&e.__esModule?e:{default:e}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _={},h=function(){function e(e,t,n){this.guildId=e,this.parentId=t,this.threadId=n,this.version=0,this.sections={},this.allUserIds=new Set}var t=e.prototype;return t.rebuild=function(e){var t=this;this.version++,this.sections={},null!=e&&(this.allUserIds=new Set(e));var n=i.default.getChannel(this.parentId);(0,r.default)(Array.from(this.allUserIds)).map((function(e){var r=t.calculateNewState(e,n);return{userId:e,sectionId:r[0],displayName:r[1],canViewChannel:r[2]}})).sortBy((function(e){return e.userId})).sortBy((function(e){return e.displayName})).forEach((function(e){t.addUser(e.userId,e.sectionId,e.displayName,e.canViewChannel,!0)}))},t.updateMultipleUserIds=function(e,t){var n=this;return(null==t||this.guildId===t)&&(0!==(e=e.filter((function(e){return n.allUserIds.has(e)}))).length&&(e.length>50?this.rebuild():e.forEach((function(e){return n.updateUserId(e)})),!0))},t.updateUserId=function(e){if(!this.allUserIds.has(e))return!1;var t=this.findOldState(e),n=t[0],r=t[1],a=t[2],o=this.calculateNewState(e,i.default.getChannel(this.parentId)),l=o[0],u=o[1],s=o[2];return(n!==l||r!==u||a!==s)&&(this.removeUserId(e,n),this.addUser(e,l,u,s),!0)},t.addUserId=function(e){var t=this.calculateNewState(e,i.default.getChannel(this.parentId)),n=t[0],r=t[1],a=t[2];this.addUser(e,n,r,a)},t.removeUserId=function(e,t){if(this.allUserIds.delete(e),null!=t&&this.removeUserIdFromSection(e,t))return!0;for(var n in this.sections)if(this.removeUserIdFromSection(e,n))return!0;return!1},t.addUser=function(e,t,n,r,a){this.allUserIds.add(e);var o=f.default.getUser(e);if(null!=o&&""!==o.username){t in this.sections||(this.sections[t]={sectionId:t,usersById:{},userIds:[]});var i=this.sections[t];if(i.usersById[e]={userId:e,displayName:n,canViewChannel:r},a)i.userIds.push(e);else{var l=this.findUserIdSortedPosition(i,e,n);i.userIds.splice(l,0,e)}this.version++}},t.findUserIdSortedPosition=function(e,t,n){for(var r=e.userIds,a=e.usersById,o=0;o<r.length;o++){var i=r[o],l=a[i].displayName;if(l===n){if(t<i)return o}else if(null==l){if(null!=n)return o}else if(null!=n&&n<l)return o}return r.length},t.removeUserIdFromSection=function(e,t){var n=this.sections[t];return null!=t&&(e in n.usersById&&(delete n.usersById[e],n.userIds=n.userIds.filter((function(t){return t!==e})),this.version++,!0))},t.findOldState=function(e){for(var t in this.sections){var n=this.sections[t];if(e in n.usersById){var r=n.usersById[e];return[t,r.displayName,r.canViewChannel]}}return[void 0,void 0,!1]},t.calculateNewState=function(e,t){var n,r,a=l.default.getMember(this.guildId,e),o=f.default.getUser(e),i=f.default.getNullableCurrentUser(),u=(null==o?void 0:o.id)===(null==i?void 0:i.id)?d.default.getStatus():s.default.getStatus(e,this.guildId),c=null!=o&&null!=t&&p.default.can(v.Permissions.VIEW_CHANNEL,o,t),y=u!==v.StatusTypes.OFFLINE&&u!==v.StatusTypes.INVISIBLE&&u!==v.StatusTypes.UNKNOWN?null!==(n=null==a?void 0:a.hoistRoleId)&&void 0!==n?n:"online":"offline",m=null!==(r=null==a?void 0:a.nick)&&void 0!==r?r:null==o?void 0:o.username;return[y,null==m?void 0:m.toLowerCase(),c]},e}();function E(e){return g(e.user.id)}function g(e){if(null==e)return!1;var t=!1;for(var n in _)_[n].updateUserId(e)&&(t=!0);return t}function S(e){var t=e.guildId,n=!1;for(var r in _)_[r].guildId===t&&(_[r].rebuild(),n=!0);return n}var O=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(i.default,l.default,u.default,s.default,d.default,f.default),this.syncWith([u.default],(function(){var e=u.default.getSubscribedThreadIds(),t=!1;for(var n in _)e.has(n)||((window.__THREAD_DEBUG_LOG||(window.__THREAD_DEBUG_LOG=[])).push(new Date+" THREAD_DEBUG: Removing thread member list because subscription removed "+n),delete _[n],t=!0);return t})),this.syncWith([d.default],(function(){var e;return g(null===(e=f.default.getNullableCurrentUser())||void 0===e?void 0:e.id)}))},a.getMemberListVersion=function(e){var t;return null===(t=_[e])||void 0===t?void 0:t.version},a.getMemberListSections=function(e){var t;return null===(t=_[e])||void 0===t?void 0:t.sections},a.canUserViewChannel=function(e,t,n){var r,a=_[e];if(null==a)return!1;var o=a.sections[t].usersById[n];return null!==(r=null==o?void 0:o.canViewChannel)&&void 0!==r&&r},r}(a.default.Store))(o.default,{CONNECTION_OPEN:function(e){_={}},THREAD_MEMBERS_UPDATE:function(e){if(!(e.id in _))return!1;var t,n;null===(t=e.addedMembers)||void 0===t||t.forEach((function(t){var n=t.userId;return _[e.id].addUserId(n)})),null===(n=e.removedMemberIds)||void 0===n||n.forEach((function(t){return _[e.id].removeUserId(t)}))},THREAD_UPDATE:function(e){var t,n=e.channel;if(!(n.id in _)||!0!==(null===(t=n.threadMetadata)||void 0===t?void 0:t.archived))return!1;delete _[n.id]},THREAD_DELETE:function(e){var t=e.channel;if(!(t.id in _))return!1;delete _[t.id]},CHANNEL_UPDATES:function(e){var t=e.updates,n=new Set(t.map((function(e){return e.channel.id}))),r=!1;for(var a in _)n.has(_[a].parentId)&&(_[a].rebuild(),r=!0);return r},THREAD_MEMBER_LIST_UPDATE:function(e){var t=e.threadId,n=e.guildId,r=e.members,a=i.default.getChannel(t),o=null==a?void 0:a.parent_id;null!=o&&(_[t]=new h(n,o,t),_[t].rebuild(r.map((function(e){return e.user_id}))))},USER_UPDATE:E,PRESENCE_UPDATE:E,GUILD_MEMBER_ADD:E,GUILD_MEMBER_UPDATE:E,GUILD_MEMBER_REMOVE:E,PRESENCES_REPLACE:function(e){var t=e.presences,n=(0,r.default)(t).map((function(e){var t;return null===(t=e.user)||void 0===t?void 0:t.id})).filter(c.isNotNullish).uniq().value(),a=!1;for(var o in _)_[o].updateMultipleUserIds(n)&&(a=!0);return a},GUILD_MEMBERS_CHUNK:function(e){var t=e.guildId,n=e.members.map((function(e){return e.user.id})),r=!1;for(var a in _)_[a].updateMultipleUserIds(n,t)&&(r=!0);return r},GUILD_ROLE_UPDATE:S,GUILD_ROLE_DELETE:S});t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=g(n(3)),o=g(n(2)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(11395)),l=g(n(708)),u=g(n(11)),s=g(n(1268)),d=g(n(10)),f=g(n(298)),c=g(n(56)),p=g(n(15)),v=g(n(94)),y=g(n(70)),m=g(n(36)),_=g(n(107)),h=n(1);function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e){return e&&e.__esModule?e:{default:e}}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return I(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return I(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var T=new i.default((function(e,t){(null!=p.default.getGuild(e)||f.default.isUnavailable(e))&&(o.default.dispatch({type:h.ActionTypes.GUILD_SUBSCRIPTIONS_FLUSH,guildId:e,subscriptions:t}),(window.__THREAD_DEBUG_LOG||(window.__THREAD_DEBUG_LOG=[])).push(new Date+" GUILD_SUBSCRIPTIONS_FLUSH "+e+" "+JSON.stringify(t)))}));function C(){T.forEach((function(e){e===_.default.getGuildId()||e===v.default.getGuildId()||null!=r&&r.guildId===e||T.clear(e)}))}function b(e,t){return T.subscribeToGuild(e),(window.__THREAD_DEBUG_LOG||(window.__THREAD_DEBUG_LOG=[])).push(new Date+" subscribe "+t),null!=t&&s.default.getSection(t)===h.ChannelSections.MEMBERS&&M(e,t,i.DEFAULT_RANGES)}function M(e,t,n){var r=d.default.getChannel(t);return null!=r&&((null==r?void 0:r.isThread())?r.type===h.ChannelTypes.ANNOUNCEMENT_THREAD?T.subscribeChannel(e,r.parent_id,n):!!r.isActiveThread()&&((window.__THREAD_DEBUG_LOG||(window.__THREAD_DEBUG_LOG=[])).push(new Date+" Subscribe active thread "+t),T.subscribeThreadMemberList(e,t,m.default.getChannelId())):T.subscribeChannel(e,t,n))}function N(e){e.type===h.ActionTypes.CONNECTION_OPEN&&C();var t=_.default.getGuildId();null!=t&&b(t,m.default.getChannelId(t)),T.forEach((function(e){null==p.default.getGuild(e)?T.clear(e):o.default.dirtyDispatch({type:h.ActionTypes.GUILD_SUBSCRIPTIONS_FLUSH,guildId:e,subscriptions:T.get(e)})}))}function A(e){var t=e.guildId,n=e.channelId;return!f.default.isUnavailable(t)&&b(t,n)}function P(){return b(_.default.getGuildId(),m.default.getChannelId())}function R(){var e=l.default.getSyncingWith();if(null==e)null!=r&&(T.unsubscribeUser(r.guildId,r.userId),r=null);else{var t=e.userId;if(null!=r&&r.userId===t)return!1;if(y.default.isFriend(t))return!1;var n=c.default.memberOf(t);if(0===n.length)return!1;var a=n[0];r={guildId:a,userId:t},T.subscribeUser(a,t)}return!1}var L=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(d.default,p.default,_.default,m.default,v.default,u.default,s.default),this.syncWith([l.default],R)},a.isSubscribedToTyping=function(e){return!0===T.get(e).typing},a.getSubscribedThreadIds=function(){return T.getSubscribedThreadIds()},r}(a.default.Store))(o.default,{CONNECTION_OPEN:N,CONNECTION_RESUMED:N,CONNECTION_CLOSED:function(e){C()},IDLE:function(e){if(!e.idle)return!1;C()},LOGOUT:function(e){T.reset()},VOICE_CHANNEL_SELECT:A,CHANNEL_SELECT:A,GUILD_CREATE:function(e){e.guild.id===_.default.getGuildId()&&P()},GUILD_DELETE:function(e){var t=e.guild;T.clear(t.id)},GUILD_SUBSCRIPTIONS_MEMBERS_ADD:function(e){var t=e.guildId;return e.userIds.forEach((function(e){e!==u.default.getId()&&T.subscribeUser(t,e)})),!1},GUILD_SUBSCRIPTIONS_MEMBERS_REMOVE:function(e){var t=e.guildId;return e.userIds.forEach((function(e){T.unsubscribeUser(t,e)})),!1},GUILD_SUBSCRIPTIONS_CHANNEL:function(e){return M(e.guildId,e.channelId,e.ranges)},CHANNEL_PRELOAD:function(e){return b(e.guildId,e.channelId)},INBOX_OPEN:function(e){for(var t,n=O(e.guildIds);!(t=n()).done;){var r=t.value;null!=r&&T.subscribeToGuild(r)}return!1},THREAD_UPDATE:function(e){var t=e.channel;return t.isArchivedThread()?((window.__THREAD_DEBUG_LOG||(window.__THREAD_DEBUG_LOG=[])).push(new Date+" ThreadUpdate -> Archivedthread -> "+t.id),T.unsubscribeThreadMemberList(t.guild_id,t.id)):!(!t.isActiveThread()||m.default.getChannelId()!==t.id)&&((window.__THREAD_DEBUG_LOG||(window.__THREAD_DEBUG_LOG=[])).push(new Date+" ThreadUpdate -> ActiveThread -> "+t.id),void T.subscribeThreadMemberList(t.guild_id,t.id,m.default.getChannelId()))},THREAD_DELETE:function(e){var t=e.channel;return T.unsubscribeThreadMemberList(t.guild_id,t.id)},THREAD_LIST_SYNC:function(e){return P()},CHANNEL_TOGGLE_MEMBERS_SECTION:function(e){return P()}});t.default=L},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(8)),a=p(n(66)),o=p(n(118)),i=p(n(8359)),l=p(n(160)),u=p(n(13)),s=p(n(16)),d=n(1247),f=p(n(43)),c=n(1);function p(e){return e&&e.__esModule?e:{default:e}}function v(){return(v=Object.assign||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}).apply(this,arguments)}var y=s.default.embedded&&s.default.isWindows(),m=y&&parseFloat(o.default.os.release)<10,_=!0;if(y&&!m){var h=o.default.os.release.split("."),E=h[0],g=h[2];_=parseInt(E)>10||parseInt(g)>=15063}var S=m||"Chrome"===a.default.name&&parseFloat(a.default.version)<47||"Firefox"===a.default.name&&parseFloat(a.default.version)<52;function O(){f.default.flashFrame(!1)}y&&(window.addEventListener("focus",O),f.default.on("MAIN_WINDOW_FOCUS",O));var I=window.Notification;if(m){var T,C,b={};f.default.on("NOTIFICATION_CLICK",(function(e,t){var n=b[t];null!=n&&(n.onclick(),n.close())})),f.default.send("NOTIFICATIONS_CLEAR"),C=T=function(){function t(t,n){var r=this,a=n.body,o=n.icon;this.id=I._id++,this.onshow=function(){},this.onclick=function(){},this.onclose=function(){},this.title=t,this.body=a,this.icon=o,e((function(){return r.onshow()})),b[this.id]=this,f.default.send("NOTIFICATION_SHOW",{id:this.id,title:this.title,body:this.body,icon:this.icon})}return t.requestPermission=function(e){e()},t.prototype.close=function(){null!=b[this.id]&&(delete b[this.id],f.default.send("NOTIFICATION_CLOSE",this.id),this.onclose())},t}(),T.permission="granted",T._id=0,I=C}function M(){return null!=I&&"granted"===I.permission}var N={hasPermission:M,requestPermission:function(e){null!=I&&I.requestPermission((function(){null!=e&&e(M())}))},showNotification:function(e,t,n,a){if(!l.default.disableNotifications&&M()&&(!s.default.embedded||f.default.shouldDisplayNotifications())){a.sound&&(0,d.playSound)(a.sound,a.volume||1),a.trackingProps&&u.default.track(c.AnalyticEvents.NOTIFICATION_VIEWED,v({},a.trackingProps));var o=a&&a.tag||null;s.default.isLinux()&&(n=r.default.escape(n));var p,m={icon:e,body:n,tag:o,silent:!0};y&&i.default.taskbarFlash&&f.default.flashFrame(!0);try{p=new I(t,m)}catch(e){return null}return p.onclick=function(){s.default.embedded?f.default.focus():(window.focus(),p.close()),a.onClick&&a.onClick()},S&&setTimeout((function(){return p.close()}),5e3),_?p:{close:function(){p.onclose&&p.onclose()}}}a.sound&&!1!==a.playSoundIfDisabled&&(0,d.playSound)(a.sound,a.volume||1)}};t.default=N}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sortList=function(e,t){a.default.dispatch({type:o.ActionTypes.LIBRARY_TABLE_SORT_UPDATE,key:e,direction:t})},t.updateLibraryFilter=function(e){a.default.dispatch({type:o.ActionTypes.LIBRARY_APPLICATION_FILTER_UPDATE,query:e})},t.updateActiveRowKey=function(e,t){void 0===t&&(t=!1);a.default.dispatch({type:o.ActionTypes.LIBRARY_TABLE_ACTIVE_ROW_ID_UPDATE,key:e,isKeyboardEvent:t})};var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(8318)),i=n(42),l=v(n(8293)),u=v(n(8508)),s=n(13),d=n(263),f=n(1),c=v(n(6)),p=v(n(8105));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(){return(_=Object.assign||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}).apply(this,arguments)}var h=(0,d.isSupportedPlatform)()||!1,E=m(o.default.Icon,{icon:u.default,"aria-hidden":!0}),g=m(o.default.Divider,{});function S(e){var t=e.currentRoute,n=e.renderToolbar,r=a.useContext(s.AnalyticsContext);var u=h||t===f.Routes.APPLICATION_LIBRARY_SETTINGS;return m(o.default,{className:p.default.libraryHeader,toolbar:null==n?void 0:n()},void 0,E,m(o.default.Title,{},void 0,c.default.Messages.LIBRARY),g,m(l.default,{type:l.default.Types.TOP_PILL,selectedItem:t,onItemSelect:function(e){e!==t&&(0,i.transitionTo)(e,{state:{analyticsSource:_({},r.location,{section:f.AnalyticsSections.TABS,object:f.AnalyticsObjects.NAVIGATION_LINK})}})}},void 0,m(l.default.Item,{id:f.Routes.APPLICATION_LIBRARY},void 0,c.default.Messages.APPLICATION_LIBRARY_MY_GAMES),u?m(l.default.Item,{id:f.Routes.APPLICATION_LIBRARY_SETTINGS},void 0,c.default.Messages.SETTINGS):null))}S.displayName="ApplicationLibraryHeader";var O=a.memo(S);t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=N;var r,a=T(n(0)),o=n(3),i=n(389),l=O(n(8502)),u=T(n(8253)),s=O(n(71)),d=O(n(120)),f=O(n(11423)),c=O(n(11424)),p=O(n(11425)),v=O(n(11426)),y=O(n(11427)),m=O(n(11428)),_=O(n(11429)),h=O(n(11430)),E=O(n(11431)),g=n(1),S=O(n(6));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function b(){return(b=Object.assign||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}).apply(this,arguments)}function M(e){var t=e.application,n=e.libraryApplication,r=e.analyticsContext,a=e.onSelect,o=b({},null!=r?r.location:null,{object:g.AnalyticsObjects.CONTEXT_MENU}),l=(0,v.default)(n,o),s=(0,y.default)(n),d=(0,_.default)(n),O=(0,E.default)(n),I=(0,h.default)(n),T=(0,p.default)(n,t),M=(0,m.default)(n,t),N=(0,f.default)(n,t),A=(0,c.default)(t);return C(u.default,{navId:"game-context",onClose:i.closeContextMenu,"aria-label":S.default.Messages.APPLICATION_ACTIONS_MENU_LABEL,onSelect:a},void 0,l,s,d,O,I,T,M,C(u.MenuGroup,{},void 0,N),C(u.MenuGroup,{},void 0,A))}function N(e){var t=e.applicationId,n=e.branchId,r=(0,o.useStateFromStores)([s.default],(function(){return s.default.getGame(t)}),[t]),i=(0,o.useStateFromStores)([d.default],(function(){return null!=n?d.default.getLibraryApplication(t,n):d.default.getActiveLibraryApplication(t)}),[t,n]);return null==r||null==i?a.createElement(l.default,b({},e,{id:t})):a.createElement(M,b({},e,{application:r,libraryApplication:i}))}M.displayName="FullApplicationGameContextMenu",N.displayName="ApplicationGameContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=f(n(61)),l=f(n(1266)),u=f(n(1337)),s=n(1),d=f(n(8106));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=function(e){return y("div",{className:e.className},void 0,e.children)};m.displayName="RowHeader";var _=function(e){return y("div",{className:e.className},void 0,e.children)};_.displayName="Row";var h=function(e){return y("div",{className:e.className},void 0,e.children)};h.displayName="Cell";var E=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleSort=function(e){var n=t.props,r=n.sortKey,a=n.sortDirection,o=n.onSort;null!=o&&o(e,r===e&&a===s.TableSortDirections.ASCENDING?s.TableSortDirections.DESCENDING:s.TableSortDirections.ASCENDING)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var f=r.prototype;return f.isSortable=function(e){return null!=e.sort&&!1!==e.sort},f.getDefaultSort=function(e){return function(t,n){var r=t[e],a=n[e];return null!=r&&null!=a?r===a?0:r<a?-1:1:0}},f.renderHeader=function(e){var t,n=this;void 0===e&&(e=!1);var r=this.props,a=r.columns,f=r.data,c=r.sortDirection,p=r.sortKey,v=r.headerCellClassName,_=r.headerClassName,h=r.sortedHeaderCellClassName,E=r.stickyHeader,g=a.map((function(e){var t,r=null!=e.renderHeader?e.renderHeader(e,f):e.key,a=c===s.TableSortDirections.ASCENDING?u.default:l.default;return y(i.default,{className:(0,o.default)(d.default.headerCell,v,e.headerCellClassName,e.cellClassName,(t={},t[h||d.default.sortedHeaderCell]=p===e.key,t[d.default.clickable]=n.isSortable(e),t)),onClick:n.isSortable(e)?function(){return n.handleSort(e.key)}:void 0},e.key,y("div",{className:d.default.headerCellContent},void 0,r,n.isSortable(e)&&p===e.key?y(a,{className:d.default.sortIcon}):null))}));return y(m,{className:(0,o.default)(_,d.default.row,(t={},t[d.default.stickyHeader]=E&&!e,t[d.default.spacerHeader]=E&&e,t))},void 0,g)},f.renderBody=function(){var e=this.props,t=e.columns,n=e.data,r=e.sortData,i=e.sortKey,l=e.sortDirection,u=e.bodyCellClassName,f=e.rowClassName,c=e.cellProps,v=e.rowProps,y=e.rowComponent,m=e.cellComponent,_=n;if(r){var h=null!=i?t.find((function(e){return e.key===i})):null,E=[].concat(n),g=null!=h&&h.sort,S=null!=h&&null!=i&&this.isSortable(h)?E.sort("function"==typeof g?function(e,t){return g(e,t,l)}:this.getDefaultSort(i)):E;_=null!=h&&l===s.TableSortDirections.DESCENDING?S.reverse():S}return _.map((function(e,n){var r=t.map((function(t){return a.createElement(m,p({},c,{key:t.key,item:e,className:(0,o.default)(u,t.bodyCellClassName,t.cellClassName)}),null!=t.render?t.render(e,c,n):e[t.key])}));return a.createElement(y,p({},v,{key:e.key,item:e,className:(0,o.default)(d.default.row,f)}),r)}))},f.render=function(){var e=this.props,t=e.className,n=e.hasHeader,r=e.stickyHeader;return y("div",{className:t},void 0,n?this.renderHeader():null,n&&r?this.renderHeader(!0):null,this.renderBody())},r}(a.PureComponent);E.displayName="Table",E.SortDirection=s.TableSortDirections,E.defaultProps={initialSortDirection:s.TableSortDirections.ASCENDING,rowHeaderComponent:m,rowComponent:_,cellComponent:h,hasHeader:!0,sortData:!0,stickyHeader:!1};var g=E;t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=s("rect",{x:"2",y:"20",width:"26",height:"2",transform:"rotate(-45 2 20)",fill:"#ed4245"});function f(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,f=void 0===l?"currentColor":l,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:c,fill:f,d:"M8.67872 19H11V21H7V23H17V21H13V19H20C21.103 19 22 18.104 22 17V6C22 5.89841 21.9924 5.79857 21.9777 5.70101L20 7.67872V15H12.6787L8.67872 19ZM13.1496 6H4V15H4.14961L2.00515 17.1445C2.00174 17.0967 2 17.0486 2 17V6C2 4.897 2.897 4 4 4H15.1496L13.1496 6Z"}),d))}f.displayName="OverlayOff"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=O(n(9)),i=n(5965),l=n(389),u=O(n(8502)),s=O(n(150)),d=n(193),f=O(n(61)),c=O(n(375)),p=O(n(151)),v=O(n(149)),y=O(n(248)),m=O(n(24)),_=n(1),h=O(n(6)),E=O(n(8118)),g=O(n(8993)),S=O(n(8994));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(){return(C=Object.assign||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}).apply(this,arguments)}function b(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function M(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){b(o,r,a,i,l,"next",e)}function l(e){b(o,r,a,i,l,"throw",e)}i(void 0)}))}}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var A=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={loaded:!1,hasBeenSeen:!1,isVisible:!1,submitting:!1},t.handleClickView=function(){var e=M(regeneratorRuntime.mark((function e(n){var r,a,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.props,a=r.onView,o=r.guild,n.stopPropagation(),t.setState({submitting:!0}),e.prev=3,e.t0=null!=a,!e.t0){e.next=8;break}return e.next=8,a(o.id);case 8:return e.prev=8,t.setState({submitting:!1}),e.finish(8);case 11:case"end":return e.stop()}}),e,null,[[3,,8,11]])})));return function(t){return e.apply(this,arguments)}}(),t.handleVisibilityChange=function(e){var n=t.props,r=n.onGuildCardSeen,a=n.guild;null!=a&&!t.state.hasBeenSeen&&e&&(t.setState({hasBeenSeen:e}),null!=r&&r(a.id))},t.handleContextMenu=function(e){(0,l.openContextMenu)(e,(function(e){return a.createElement(u.default,C({},e,{id:t.props.guild.id}))}))},t.setIsVisible=function(e){t.setState({isVisible:e})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,N(t,n);var O=r.prototype;return O.getDefaultSplashURL=function(e){switch(e){case _.ThemeTypes.DARK:return g.default;case _.ThemeTypes.LIGHT:return S.default}},O.render=function(){var e,t,n=this,r=this.props,a=r.guild,l=r.className,u=r.theme,_=this.state,g=_.loaded,S=_.hasBeenSeen,O=_.isVisible,I=_.submitting,C=a.name,b=a.description,M=a.presenceCount,N=a.memberCount,A=s.default.getGuildDiscoverySplashURL({id:a.id,splash:a.discoverySplash,size:300*(0,d.getDevicePixelRatio)()}),P=null!=A?A:this.getDefaultSplashURL(u),R=s.default.getGuildIconURL({id:a.id,icon:a.icon,size:40})||void 0;return T(i.VisibilitySensor,{active:!O,onChange:this.setIsVisible,threshold:.1},void 0,O?T(i.VisibilitySensor,{onChange:this.handleVisibilityChange,active:!S,threshold:.55},void 0,T("div",{className:(0,o.default)(l,(e={},e[E.default.loaded]=g,e[E.default.loading]=!g,e))},void 0,I?T(p.default,{type:p.default.Type.PULSING_ELLIPSIS,className:E.default.spinner}):null,T(f.default,{onClick:this.handleClickView,className:(0,o.default)(E.default.card,(t={},t[E.default.submitting]=I,t)),onContextMenu:this.handleContextMenu},void 0,T("div",{className:E.default.cardHeader},void 0,T("div",{className:E.default.splash},void 0,T("img",{src:P,alt:"",className:E.default.splashImage,onLoad:function(){return n.setState({loaded:!0})}})),T("div",{className:E.default.guildIcon},void 0,T(y.default,{mask:y.default.Masks.SQUIRCLE,width:48,height:48},void 0,T("div",{className:E.default.iconMask},void 0,T(y.default,{mask:y.default.Masks.SQUIRCLE,width:40,height:40},void 0,T("img",{src:R,alt:"",className:E.default.avatar})))))),T("div",{className:E.default.guildInfo},void 0,T("div",{className:E.default.title},void 0,T(c.default,{className:E.default.guildBadge,guild:a,tooltipColor:v.default.Colors.PRIMARY}),T(m.default,{className:E.default.guildName,size:m.default.Sizes.SIZE_16,color:m.default.Colors.HEADER_PRIMARY},void 0,C)),T(m.default,{className:E.default.description,size:m.default.Sizes.SIZE_14,color:m.default.Colors.HEADER_SECONDARY},void 0,b),T("div",{className:E.default.memberInfo},void 0,null!=M&&T("div",{className:E.default.memberCount},void 0,T("div",{className:E.default.dotOnline}),T(m.default,{size:m.default.Sizes.SIZE_12,color:m.default.Colors.HEADER_SECONDARY},void 0,h.default.Messages.INSTANT_INVITE_GUILD_MEMBERS_ONLINE.format({membersOnline:M}))),null!=N&&T("div",{className:E.default.memberCount},void 0,T("div",{className:E.default.dotOffline}),T(m.default,{size:m.default.Sizes.SIZE_12,color:m.default.Colors.HEADER_SECONDARY},void 0,h.default.Messages.INSTANT_INVITE_GUILD_MEMBERS_TOTAL.format({count:N})))))))):T("div",{className:E.default.card}))},r}(a.PureComponent);A.displayName="GuildDiscoveryCard",A.Placeholder=function(e){return T("div",{className:(0,o.default)(e.className,E.default.cardPlaceholder)})};var P=A;t.default=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=j;var r,a=T(n(0)),o=O(n(9)),i=O(n(8)),l=n(3),u=T(n(8700)),s=n(1213),d=O(n(8483)),f=O(n(1275)),c=O(n(61)),p=O(n(10072)),v=T(n(1159)),y=O(n(24)),m=n(13),_=n(121),h=T(n(701)),E=n(1),g=O(n(6)),S=O(n(8119));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(){return(M=Object.assign||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}).apply(this,arguments)}var N=M({},v.DEFAULT_SELECT_STYLES,{container:function(e){return M({},e,{pointerEvents:null})},control:function(e,t){var n=t.menuIsOpen,r=t.theme.colors;return M({},e,{height:"100%",border:"none",backgroundColor:r.menuBackground,boxShadow:null,color:r.text,fontWeight:500,fontSize:16,cursor:"pointer",borderRadius:n?"8px 8px 0 0":"8px","&:hover":{border:"none",boxShadow:null}})},menu:function(e,t){var n=t.theme.colors;return M({},e,{backgroundColor:n.menuBackground,border:"none",borderRadius:"0 0 8px 8px",color:n.text,marginTop:-1,marginBottom:-1})}}),A=M({},v.LIGHT_THEME_COLORS,{text:E.Colors.PRIMARY_LIGHT_500,selectedOptionBackground:E.Colors.PRIMARY_DARK_100,menuBorder:E.Colors.PRIMARY_DARK_200,menuBackground:E.Colors.PRIMARY_LIGHT_200}),P=M({},v.DARK_THEME_COLORS,{menuBackground:E.Colors.PRIMARY_DARK_700}),R=i.default.throttle(h.trackSearchResultsViewed,1e3,{leading:!1,trailing:!0}),L=function(e){var t=e.value;return b(y.default,{},void 0,t.name)};L.displayName="LanguageOption";var D=function(e){var t,n=e.isSelected,r=e.onCategoryChange,a=e.categoryId,i=e.name,l=e.count;return b(c.default,{onClick:function(){return r(a)},className:(0,o.default)(S.default.categoryPill,(t={},t[S.default.selected]=n,t))},void 0,b(y.default,{className:S.default.categoryLabel},void 0,null!=l?i+" ("+l+")":i))};D.displayName="Category";var w=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this)._searchRef=a.createRef(),n.canSearch=function(e){return e.trim().length>=2},n.doSearch=function(e,t,r,a){var o=n.props,i=o.defaultLanguage,l=o.currentCategoryId,s=n.state,d=s.query,f=s.selectedLanguage;a&&u.getSearchResultsCount(d),n.setState({searchId:h.makeAnalyticsID(),queryHasChanged:!1,isSearching:!0}),u.doAlgoliaSearch(d,{categoryId:null==r?l:r,preferredLocale:(null==f?void 0:f.code)||i.code,offset:e,length:t})},n.handleSearchBlurred=function(e){var t=n.props.onSearchBlur;n.setState({inputFocused:!1}),t&&t()},n.handleSearchKeyPress=function(e){var t=n.state,r=t.query,a=t.queryHasChanged;n.canSearch(r)&&a&&e.charCode===E.KeyboardKeys.ENTER?n.doSearch(0,12,void 0,!0):0===r.length&&e.charCode===E.KeyboardKeys.ENTER&&n.setState({isSearching:!1})},n.handleQueryChanged=function(e){n.setState({query:e,queryHasChanged:!0})},n.handleQueryCleared=function(){n.setState({query:"",queryHasChanged:!0,isSearching:!1})},n.handleLanguageChange=function(e){var t=e.value,r=n.props.mostRecentQuery;n.setState({selectedLanguage:t},(function(){n.canSearch(r)&&n.doSearch(0,12)}))},n.handleCategoryChange=function(e){var t=n.props.mostRecentQuery;u.selectCategory(e),n.canSearch(t)&&n.doSearch(0,12,e)},n.handleFocus=function(){var e=n.props.onSearchFocus;n.setState({inputFocused:!0}),e&&e()},n.focusInput=function(){var e;null===(e=n._searchRef.current)||void 0===e||e.focus()},n.state={searchId:h.makeAnalyticsID(),query:t.isSearchPage?t.mostRecentQuery:"",queryHasChanged:!1,isSearching:!1,selectedLanguage:t.defaultLanguage,inputFocused:!1},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,C(t,n);var i=r.prototype;return i.componentDidMount=function(){var e=this.props,t=e.loadId,n=e.searchResults,r=e.currentCategoryId,a=this.state,o=a.searchId,i=a.query,l=this.context;if(null==f.default.getSearchIndex()&&u.createAlgoliaIndex(),_.ComponentDispatch.subscribe(E.ComponentActions.GLOBAL_CLIPBOARD_PASTE,this.focusInput),_.ComponentDispatch.subscribe(E.ComponentActions.TEXTAREA_FOCUS,this.focusInput),i.length){var d=r!==s.DISCOVERY_ALL_CATEGORIES_ID?r:null;R(t,o,i,n.guilds,l,d)}},i.componentDidUpdate=function(e,t){var n=this.props,r=n.loadId,a=n.isFetchingSearch,o=n.searchResults,i=n.currentCategoryId,l=this.state,u=l.isSearching,d=l.searchId,f=l.query,c=this.context,p=e.isFetchingSearch&&!a,v=i!==s.DISCOVERY_ALL_CATEGORIES_ID?i:null;u&&p&&R(r,d,f,o.guilds,c,v),!t.isSearching&&u&&h.trackSearchStarted(r,c)},i.componentWillUnmount=function(){_.ComponentDispatch.unsubscribe(E.ComponentActions.GLOBAL_CLIPBOARD_PASTE,this.focusInput),_.ComponentDispatch.unsubscribe(E.ComponentActions.TEXTAREA_FOCUS,this.focusInput)},i.renderSearchOptions=function(){var e=this.props.availableLanguages,t=this.state.selectedLanguage;if(null==e)return null;var n=e.map((function(e){return{value:e}}));return b(v.default,{value:t,options:n,onChange:this.handleLanguageChange,searchable:!1,optionRenderer:L,valueRenderer:L,className:S.default.languageSelector,styleOverrides:N,lightThemeColorOverrides:A,darkThemeColorOverrides:P})},i.renderCategories=function(){var e=this,t=this.props,n=t.currentCategoryId,r=t.countsByCategory;return b("div",{className:S.default.categories},void 0,null==r?void 0:r.map((function(t){var r=t[0],a=t[1];return b(D,{categoryId:r,name:r===s.DISCOVERY_ALL_CATEGORIES_ID?g.default.Messages.GUILD_DISCOVERY_ALL_CATEGORY_FILTER:d.default.getCategoryName(r),onCategoryChange:e.handleCategoryChange,isSelected:n===r,count:a},r)})))},i.render=function(){var e,t=this.state,n=t.query,r=t.inputFocused,i=this.props,l=i.placeholder,u=i.isSearchPage;return a.createElement(a.Fragment,null,b("div",{className:(0,o.default)(S.default.container,(e={},e[S.default.searchPage]=u,e))},void 0,b("div",{className:(0,o.default)(S.default.search)},void 0,a.createElement(p.default,{ref:this._searchRef,searchTerm:n,className:S.default.searchBox,inputClassName:S.default.searchBoxInput,closeIconClassName:S.default.closeIcon,searchIconClassName:S.default.searchIcon,label:g.default.Messages.GUILD_DISCOVERY_SEARCH_LABEL,placeholder:l,onChange:this.handleQueryChanged,onClear:this.handleQueryCleared,onFocus:this.handleFocus,onBlur:this.handleSearchBlurred,onKeyPress:this.handleSearchKeyPress,autoFocus:!u,cta:r&&null!=n&&n.length>1?g.default.Messages.GUILD_DISCOVERY_SEARCH_ENTER_CTA:null})),u?this.renderSearchOptions():null),u?this.renderCategories():null)},r}(a.PureComponent);function j(e){var t=(0,l.useStateFromStores)([d.default],(function(){return d.default.getDiscoveryCategories()})),n=(0,l.useStateFromStores)([f.default],(function(){return f.default.getTopCategoryCounts(e.mostRecentQuery)}));return a.createElement(w,M({},e,{categories:t,countsByCategory:n}))}w.displayName="GuildDiscoverySearchBarComponent",w.contextType=m.AnalyticsContext,j.displayName="GuildDiscoverySearchBar"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.STAGE_DISCOVERY_SIDEBAR_CATEGORIES=t.STAGE_DISCOVERY_SIDEBAR_CATEGORY_IDS=t.CategoryIcons=void 0;var r,a,o,i=(r=n(6))&&r.__esModule?r:{default:r};t.CategoryIcons=a,function(e){e[e.Activity=0]="Activity",e[e.Discover=1]="Discover",e[e.Education=2]="Education",e[e.Music=3]="Music",e[e.Science=4]="Science",e[e.Stage=5]="Stage",e[e.Television=6]="Television"}(a||(t.CategoryIcons=a={})),t.STAGE_DISCOVERY_SIDEBAR_CATEGORY_IDS=o,function(e){e[e.LiveStages=1]="LiveStages"}(o||(t.STAGE_DISCOVERY_SIDEBAR_CATEGORY_IDS=o={}));var l=[{categoryId:o.LiveStages,name:i.default.Messages.STAGE_DISCOVERY,icon:a.Stage}];t.STAGE_DISCOVERY_SIDEBAR_CATEGORIES=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClearAfterValues=t.STATUS_MAX_LENGTH=void 0;t.STATUS_MAX_LENGTH=128;var r=Object.freeze({MINUTES_30:18e5,HOURS_1:36e5,HOURS_4:144e5,TODAY:"TODAY"});t.ClearAfterValues=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUserSettingsSections=function(e){return ye(e).filter((function(e){var t=e.section;return t!==c.SectionTypes.HEADER&&t!==c.SectionTypes.CUSTOM&&t!==c.SectionTypes.DIVIDER})).filter((function(e){return null==e.predicate||e.predicate()}))},t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=fe();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=de(n(363)),l=de(n(8715)),u=n(687),s=de(n(473)),d=de(n(8257)),f=de(n(8575)),c=n(8305),p=de(n(9061)),v=de(n(1259)),y=de(n(105)),m=de(n(106)),_=n(8277),h=de(n(8759)),E=de(n(9231)),g=de(n(9232)),S=de(n(11474)),O=de(n(11476)),I=de(n(11477)),T=de(n(759)),C=de(n(51)),b=de(n(1287)),M=de(n(5956)),N=de(n(1418)),A=de(n(39)),P=de(n(12)),R=de(n(1147)),L=de(n(466)),D=n(41),w=de(n(24)),j=de(n(16)),k=n(96),U=de(n(11570)),G=de(n(11571)),F=de(n(11572)),B=de(n(11574)),H=de(n(11596)),x=de(n(11598)),V=de(n(11599)),W=de(n(11603)),Y=de(n(11612)),z=de(n(11615)),K=de(n(11619)),$=de(n(11622)),Z=de(n(11644)),q=de(n(11651)),X=de(n(11654)),J=de(n(11655)),Q=de(n(11658)),ee=de(n(11659)),te=de(n(11666)),ne=de(n(11667)),re=de(n(11668)),ae=de(n(11670)),oe=de(n(11671)),ie=de(n(11683)),le=n(1),ue=de(n(6)),se=de(n(8187));function de(e){return e&&e.__esModule?e:{default:e}}function fe(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return fe=function(){return e},e}function ce(){return(ce=Object.assign||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}).apply(this,arguments)}function pe(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var ve=ie.default;function ye(e){var t=e.user,n=e.badgeCustomProfiles,r=e.premiumSubscription,o=e.useStandaloneSubscriptionsTab,u=e.unseenGiftCount,s=[{section:c.SectionTypes.HEADER,label:ue.default.Messages.USER_SETTINGS},{section:le.UserSettingsSections.ACCOUNT,label:ue.default.Messages.USER_SETTINGS_MY_ACCOUNT,ariaLabel:ue.default.Messages.USER_SETTINGS_MY_ACCOUNT,element:B.default},{section:le.UserSettingsSections.PROFILE_CUSTOMIZATION,label:ue.default.Messages.USER_SETTINGS_USER_PROFILE,ariaLabel:ue.default.Messages.USER_SETTINGS_USER_PROFILE,element:I.default,notice:{store:M.default,element:O.default},newIndicator:n},{section:le.UserSettingsSections.PRIVACY_AND_SAFETY,label:ue.default.Messages.PRIVACY_AND_SAFETY,element:ne.default},{section:le.UserSettingsSections.AUTHORIZED_APPS,label:ue.default.Messages.AUTHORIZED_APPS,element:V.default},{section:le.UserSettingsSections.CONNECTIONS,label:ue.default.Messages.CONNECTIONS,element:Y.default},{section:c.SectionTypes.DIVIDER},{section:c.SectionTypes.HEADER,label:ue.default.Messages.BILLING_SETTINGS}];return o?s.push({section:le.UserSettingsSections.SUBSCRIPTIONS,ariaLabel:ue.default.Messages.SUBSCRIPTIONS_TITLE,label:ue.default.Messages.SUBSCRIPTIONS_TITLE,className:se.default.premiumTabItem,element:g.default},{section:le.UserSettingsSections.PREMIUM,ariaLabel:ue.default.Messages.PREMIUM_TITLE,label:ue.default.Messages.PREMIUM_TITLE,element:E.default,className:se.default.premiumTabItem,icon:pe(te.default,{className:se.default.icon})}):s.push({section:le.UserSettingsSections.PREMIUM,ariaLabel:(0,k.hasPremiumSubscriptionToDisplay)(t,r)?ue.default.Messages.SUBSCRIPTIONS_TITLE:ue.default.Messages.PREMIUM_TITLE,label:(0,k.hasPremiumSubscriptionToDisplay)(t,r)?ue.default.Messages.SUBSCRIPTIONS_TITLE:ue.default.Messages.PREMIUM_TITLE,element:E.default,className:se.default.premiumTabItem,icon:pe(te.default,{className:se.default.icon})}),s.push({section:le.UserSettingsSections.PREMIUM_GUILD_SUBSCRIPTION,label:ue.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_TITLE,element:ee.default},{section:le.UserSettingsSections.INVENTORY,label:ue.default.Messages.GIFT_INVENTORY,element:Z.default,badgeCount:u,ariaLabel:ue.default.Messages.GIFT_INVENTORY},{section:le.UserSettingsSections.BILLING,label:ue.default.Messages.BILLING,element:W.default},{section:c.SectionTypes.DIVIDER},{section:c.SectionTypes.HEADER,label:ue.default.Messages.APP_SETTINGS},{section:le.UserSettingsSections.APPEARANCE,label:ue.default.Messages.APPEARANCE,element:x.default},{section:le.UserSettingsSections.ACCESSIBILITY,label:ue.default.Messages.ACCESSIBILITY,element:F.default},{section:le.UserSettingsSections.VOICE,label:ue.default.Messages.VOICE_AND_VIDEO,element:oe.default,predicate:function(){return C.default.isSupported()}},{section:le.UserSettingsSections.TEXT,label:ue.default.Messages.TEXT_AND_IMAGES,element:ae.default},{section:le.UserSettingsSections.NOTIFICATIONS,label:ue.default.Messages.NOTIFICATIONS,element:J.default},{section:le.UserSettingsSections.KEYBINDS,label:ue.default.Messages.KEYBINDS,element:q.default},{section:le.UserSettingsSections.LOCALE,label:ue.default.Messages.LANGUAGE,element:X.default},{section:le.UserSettingsSections.WINDOWS,label:ue.default.Messages.USER_SETTINGS_WINDOWS_SETTINGS,element:ie.default,predicate:function(){return j.default.embedded&&j.default.isWindows()}},{section:le.UserSettingsSections.LINUX,label:ue.default.Messages.USER_SETTINGS_LINUX_SETTINGS,element:ve,predicate:function(){return j.default.embedded&&j.default.isLinux()}},{section:le.UserSettingsSections.STREAMER_MODE,label:ue.default.Messages.STREAMER_MODE,element:re.default},{section:le.UserSettingsSections.ADVANCED,label:ue.default.Messages.SETTINGS_ADVANCED,element:H.default},{section:c.SectionTypes.DIVIDER},{section:c.SectionTypes.HEADER,label:ue.default.Messages.ACTIVITY_SETTINGS},{section:le.UserSettingsSections.ACTIVITY_STATUS,label:ue.default.Messages.ACTIVITY_STATUS,element:K.default},{section:le.UserSettingsSections.OVERLAY,label:ue.default.Messages.OVERLAY,element:Q.default,predicate:function(){return b.default.isSupported()||!1}},{section:c.SectionTypes.DIVIDER},{section:"changelog",onClick:function(){return l.default.showChangeLog()},label:ue.default.Messages.CHANGE_LOG},{section:le.UserSettingsSections.HYPESQUAD_ONLINE,label:ue.default.Messages.USER_SETTINGS_HYPESQUAD,element:$.default},{section:le.UserSettingsSections.EXPERIMENTS,label:"Experiments",element:S.default,predicate:function(){return T.default.isDeveloper}},{section:le.UserSettingsSections.DEVELOPER_OPTIONS,label:"Developer Options",element:z.default,predicate:function(){return T.default.isDeveloper}},{section:c.SectionTypes.DIVIDER},{section:"logout",onClick:function(){(0,D.openModal)((function(e){return a.createElement(L.default,ce({header:ue.default.Messages.LOGOUT,confirmText:ue.default.Messages.LOGOUT,cancelText:ue.default.Messages.CANCEL,onCancel:e.onClose,onConfirm:function(){return i.default.logout()}},e),pe(w.default,{size:w.default.Sizes.SIZE_16},void 0,ue.default.Messages.USER_SETTINGS_CONFIRM_LOGOUT))}))},label:ue.default.Messages.LOGOUT,color:le.Colors.STATUS_RED},{section:c.SectionTypes.DIVIDER},{section:c.SectionTypes.CUSTOM,element:G.default},{section:c.SectionTypes.CUSTOM,element:U.default}),s}var me=a.forwardRef((function(){var e=(0,o.useStateFromStores)([P.default],(function(){return P.default.getNullableCurrentUser()})),t=(0,o.useStateFromStores)([A.default],(function(){return A.default.theme})),n=(0,o.useStateFromStores)([y.default],(function(){return y.default.darkSidebar?le.ThemeTypes.DARK:void 0})),r=(0,o.useStateFromStores)([N.default],(function(){return N.default.getSection()})),i=(0,v.default)(r),l=(0,o.useStateFromStores)([R.default],(function(){return R.default.getPremiumTypeSubscription()})),c=(0,o.useStateFromStores)([_.HotspotStore],(function(){return _.HotspotStore.hasHotspot(_.HotspotLocations.PROFILE_CUSTOMIZATION_SETTINGS_BADGE)})),E=p.default.useExperiment({})[0].useStandaloneSubscriptionsTab,g=(0,o.useStateFromStores)([h.default],(function(){return h.default.getUnseenOutboundPromotions()})).length;a.useEffect((function(){var e,t;null!=r&&r!==i&&(e=r,void 0===(t=null!=i?i:null)&&(t=null),m.default.trackWithMetadata(le.AnalyticEvents.SETTINGS_PANE_VIEWED,{settings_type:"user",origin_pane:t,destination_pane:e}))}),[r,i]);var S=a.useMemo((function(){return ye({user:e,premiumSubscription:l,badgeCustomProfiles:c,useStandaloneSubscriptionsTab:E,unseenGiftCount:g})}),[e,l,c,E,g]);return pe(d.default,{root:!0,page:le.AnalyticsPages.USER_SETTINGS},void 0,pe(f.default,{theme:t,sidebarTheme:n,section:r,onSetSection:s.default.setSection,onClose:u.popLayer,sections:S}))}));t.default=me},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleUpsellClick=function(){(0,i.openModal)((function(e){return a.createElement(o.default,s({},e,{source:{page:l.AnalyticsPages.USER_SETTINGS,section:l.AnalyticsSections.SETTINGS_CUSTOMIZE_PROFILE,object:l.AnalyticsObjects.BUTTON_CTA,type:l.AnalyticsObjectTypes.BUY}}))}))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(9107))&&r.__esModule?r:{default:r},i=n(41),l=n(1);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}},,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(92),o=n(742),i=s(n(1419)),l=n(41),u=s(n(1184));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}var c={openNewUserAgeGateModal:function(e){(0,l.openModal)((function(e){return r.createElement(i.default,e)}),{modalKey:o.NEW_USER_AGE_GATE_MODAL_KEY,onCloseRequest:a.NOOP,onCloseCallback:e})},openClaimAccountModal:function(e,t){void 0===e&&(e=!1),(0,l.openModal)((function(t){return r.createElement(u.default,f({claimRequired:e},t))}),{onCloseRequest:e?a.NOOP:null,onCloseCallback:t})}};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(11581),o=l(n(118)),i=l(n(16));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){var t,n;function l(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleFileDownload=function(e){e.preventDefault();var n=t.getFileContents(),r=t.props,a=r.fileName,o=r.onDownload;i.default.embedded?t.downloadNative(n,a):t.downloadHtml5(n,a),o&&o()},t}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var u=l.prototype;return u.getFileContents=function(){var e=this.props.fileContents;return"function"==typeof e&&(e=e()),e},u.downloadNative=function(e,t){o.default.fileManager.saveWithDialog(e,t)},u.downloadHtml5=function(e,t){var n=new Blob([e],{type:this.props.contentType});(0,a.saveAs)(n,t)},u.render=function(){var e=this.props.children,t=r.Children.only(e);return r.cloneElement(t,{onClick:this.handleFileDownload})},l}(r.Component);t.default=d,d.displayName="FileDownloader"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateTotpSecret=function(){return void 0===e&&(e=10),t=o.getRandomValues(new Uint8Array(e)),a.default.encode(t).toString("utf8").replace(/=/g,"").toLowerCase().replace(/(\w{4})/g,"$1 ").trim();var e;var t},t.encodeTotpSecret=l,t.encodeTotpSecretAsUrl=function(e,t,n){void 0===n&&(n="Discord");return"otpauth://totp/"+encodeURI(n)+":"+encodeURI(e)+"?secret="+l(t)+"&issuer="+encodeURIComponent(n)},t.hasCrypto=void 0;var r,a=(r=n(11585))&&r.__esModule?r:{default:r};var o=window&&window.crypto||window.msCrypto,i=o&&"getRandomValues"in o&&"Uint8Array"in window;function l(e){return e.replace(/[\s._-]+/g,"").toUpperCase()}t.hasCrypto=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHouseNameFromHouseID=t.getQuestions=t.getRandomHouse=void 0;var r=i(n(23)),a=n(1),o=i(n(6));function i(e){return e&&e.__esModule?e:{default:e}}t.getRandomHouse=function(){var e=Object.keys(a.HypeSquadHouses);return e[Math.floor(Math.random()*e.length)]};t.getQuestions=function(){var e=[a.HypeSquadHouses.HOUSE_1,a.HypeSquadHouses.HOUSE_2,a.HypeSquadHouses.HOUSE_3,a.RANDOM_HYPESQUAD_HOUSE],t=[o.default.Messages.HYPESQUAD_QUESTION_0_PROMPT,o.default.Messages.HYPESQUAD_QUESTION_1_PROMPT,o.default.Messages.HYPESQUAD_QUESTION_2_PROMPT,o.default.Messages.HYPESQUAD_QUESTION_3_PROMPT,o.default.Messages.HYPESQUAD_QUESTION_4_PROMPT,o.default.Messages.HYPESQUAD_QUESTION_5_PROMPT,o.default.Messages.HYPESQUAD_QUESTION_6_PROMPT,o.default.Messages.HYPESQUAD_QUESTION_7_PROMPT,o.default.Messages.HYPESQUAD_QUESTION_8_PROMPT,o.default.Messages.HYPESQUAD_QUESTION_9_PROMPT,o.default.Messages.HYPESQUAD_QUESTION_10_PROMPT,o.default.Messages.HYPESQUAD_QUESTION_11_PROMPT,o.default.Messages.HYPESQUAD_QUESTION_12_PROMPT,o.default.Messages.HYPESQUAD_QUESTION_13_PROMPT,o.default.Messages.HYPESQUAD_QUESTION_14_PROMPT],n=[[o.default.Messages.HYPESQUAD_QUESTION_0_RESPONSE_A,o.default.Messages.HYPESQUAD_QUESTION_0_RESPONSE_B,o.default.Messages.HYPESQUAD_QUESTION_0_RESPONSE_C,o.default.Messages.HYPESQUAD_QUESTION_0_RESPONSE_D],[o.default.Messages.HYPESQUAD_QUESTION_1_RESPONSE_A,o.default.Messages.HYPESQUAD_QUESTION_1_RESPONSE_B,o.default.Messages.HYPESQUAD_QUESTION_1_RESPONSE_C,o.default.Messages.HYPESQUAD_QUESTION_1_RESPONSE_D],[o.default.Messages.HYPESQUAD_QUESTION_2_RESPONSE_A,o.default.Messages.HYPESQUAD_QUESTION_2_RESPONSE_B,o.default.Messages.HYPESQUAD_QUESTION_2_RESPONSE_C,o.default.Messages.HYPESQUAD_QUESTION_2_RESPONSE_D],[o.default.Messages.HYPESQUAD_QUESTION_3_RESPONSE_A,o.default.Messages.HYPESQUAD_QUESTION_3_RESPONSE_B,o.default.Messages.HYPESQUAD_QUESTION_3_RESPONSE_C,o.default.Messages.HYPESQUAD_QUESTION_3_RESPONSE_D],[o.default.Messages.HYPESQUAD_QUESTION_4_RESPONSE_A,o.default.Messages.HYPESQUAD_QUESTION_4_RESPONSE_B,o.default.Messages.HYPESQUAD_QUESTION_4_RESPONSE_C,o.default.Messages.HYPESQUAD_QUESTION_4_RESPONSE_D],[o.default.Messages.HYPESQUAD_QUESTION_5_RESPONSE_A,o.default.Messages.HYPESQUAD_QUESTION_5_RESPONSE_B,o.default.Messages.HYPESQUAD_QUESTION_5_RESPONSE_C,o.default.Messages.HYPESQUAD_QUESTION_5_RESPONSE_D],[o.default.Messages.HYPESQUAD_QUESTION_6_RESPONSE_A,o.default.Messages.HYPESQUAD_QUESTION_6_RESPONSE_B,o.default.Messages.HYPESQUAD_QUESTION_6_RESPONSE_C,o.default.Messages.HYPESQUAD_QUESTION_6_RESPONSE_D],[o.default.Messages.HYPESQUAD_QUESTION_7_RESPONSE_A,o.default.Messages.HYPESQUAD_QUESTION_7_RESPONSE_B,o.default.Messages.HYPESQUAD_QUESTION_7_RESPONSE_C,o.default.Messages.HYPESQUAD_QUESTION_7_RESPONSE_D],[o.default.Messages.HYPESQUAD_QUESTION_8_RESPONSE_A,o.default.Messages.HYPESQUAD_QUESTION_8_RESPONSE_B,o.default.Messages.HYPESQUAD_QUESTION_8_RESPONSE_C,o.default.Messages.HYPESQUAD_QUESTION_8_RESPONSE_D],[o.default.Messages.HYPESQUAD_QUESTION_9_RESPONSE_A,o.default.Messages.HYPESQUAD_QUESTION_9_RESPONSE_B,o.default.Messages.HYPESQUAD_QUESTION_9_RESPONSE_C,o.default.Messages.HYPESQUAD_QUESTION_9_RESPONSE_D],[o.default.Messages.HYPESQUAD_QUESTION_10_RESPONSE_A,o.default.Messages.HYPESQUAD_QUESTION_10_RESPONSE_B,o.default.Messages.HYPESQUAD_QUESTION_10_RESPONSE_C,o.default.Messages.HYPESQUAD_QUESTION_10_RESPONSE_D],[o.default.Messages.HYPESQUAD_QUESTION_11_RESPONSE_A,o.default.Messages.HYPESQUAD_QUESTION_11_RESPONSE_B,o.default.Messages.HYPESQUAD_QUESTION_11_RESPONSE_C,o.default.Messages.HYPESQUAD_QUESTION_11_RESPONSE_D],[o.default.Messages.HYPESQUAD_QUESTION_12_RESPONSE_A,o.default.Messages.HYPESQUAD_QUESTION_12_RESPONSE_B,o.default.Messages.HYPESQUAD_QUESTION_12_RESPONSE_C,o.default.Messages.HYPESQUAD_QUESTION_12_RESPONSE_D],[o.default.Messages.HYPESQUAD_QUESTION_13_RESPONSE_A,o.default.Messages.HYPESQUAD_QUESTION_13_RESPONSE_B,o.default.Messages.HYPESQUAD_QUESTION_13_RESPONSE_C,o.default.Messages.HYPESQUAD_QUESTION_13_RESPONSE_D],[o.default.Messages.HYPESQUAD_QUESTION_14_RESPONSE_A,o.default.Messages.HYPESQUAD_QUESTION_14_RESPONSE_B,o.default.Messages.HYPESQUAD_QUESTION_14_RESPONSE_C,o.default.Messages.HYPESQUAD_QUESTION_14_RESPONSE_D]];return function(){for(var e=[];e.length<5;){var t=Math.floor(15*Math.random());e.includes(t)||e.push(t)}return e}().map((function(a){var o=t[a],i=n[a];return(0,r.default)(null!=o&&null!=i,"Invalid HypeSquad quiz question index"),{prompt:o,options:i.map((function(t,n){var a=e[n];return(0,r.default)(null!==a,"Invalid HypeSquad quiz question option index"),{copy:t,house:a}}))}}))};t.getHouseNameFromHouseID=function(e){var t;return((t={})[a.HypeSquadHouses.HOUSE_1]=o.default.Messages.HYPESQUAD_HOUSE_1,t[a.HypeSquadHouses.HOUSE_2]=o.default.Messages.HYPESQUAD_HOUSE_2,t[a.HypeSquadHouses.HOUSE_3]=o.default.Messages.HYPESQUAD_HOUSE_3,t)[e]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=u(n(14)),o=u(n(2)),i=n(275),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}var s=((r={})[l.HypeSquadHouses.HOUSE_1]=1,r[l.HypeSquadHouses.HOUSE_2]=2,r[l.HypeSquadHouses.HOUSE_3]=3,r),d={joinHypeSquadOnline:function(e){return a.default.post({url:l.Endpoints.HYPESQUAD_ONLINE,body:{house_id:s[e.houseID]},oldFormErrors:!0}).then((function(){return o.default.dispatch({type:l.ActionTypes.HYPESQUAD_ONLINE_MEMBERSHIP_JOIN_SUCCESS,houseID:e.houseID})})).catch((function(e){throw new i.V6OrEarlierAPIError(e)}))},leaveHypeSquadOnline:function(){return a.default.delete({url:l.Endpoints.HYPESQUAD_ONLINE,oldFormErrors:!0}).then((function(){return o.default.dispatch({type:l.ActionTypes.HYPESQUAD_ONLINE_MEMBERSHIP_LEAVE_SUCCESS})})).catch((function(e){throw new i.V6OrEarlierAPIError(e)}))}};t.default=d},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);var i={addKeybind:function(){a.default.dispatch({type:o.ActionTypes.KEYBINDS_ADD_KEYBIND})},setKeybind:function(e){a.default.dispatch({type:o.ActionTypes.KEYBINDS_SET_KEYBIND,keybind:e})},deleteKeybind:function(e){a.default.dispatch({type:o.ActionTypes.KEYBINDS_DELETE_KEYBIND,id:e})},enableAll:function(e){a.default.dirtyDispatch({type:o.ActionTypes.KEYBINDS_ENABLE_ALL_KEYBINDS,enable:e})}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=n(5935),l=f(n(9206)),u=f(n(8749)),s=n(1),d=f(n(8177));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var a=r.prototype;return a.renderIcon=function(e){return e===s.PremiumGuildTiers.NONE?p(u.default,{tier:s.PremiumGuildTiers.TIER_1,className:d.default.gemWithoutLabel}):p(u.default,{tier:e,className:d.default.gemWithLabel})},a.render=function(){var e=this.props,t=e.className,n=e.subscriberCount,r=(0,i.getGuildTierFromSubscriberCount)(n),a=(0,i.getNextGuildTierFromSubscriberCount)(n),u=null!=a?s.PremiumGuildSubscriptionsRequired[a]:null,f=null!=u&&u>0?n/u*100:100;return p(l.default,{background:d.default.progressBackground,percent:f,strokeSize:l.default.StrokeSizes.SMALL,className:(0,o.default)(d.default.gemIndicatorProgressCircle,t)},void 0,p("div",{className:d.default.gemIndicatorContainer},void 0,this.renderIcon(r),p("div",{className:d.default.tierLabel},void 0,(0,i.getTierName)(r))))},r}(a.Component);y.displayName="PremiumGuildGemIndicator";var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NotchBackground",{enumerable:!0,get:function(){return y.NotchBackground}}),t.default=void 0;var r,a=b(n(0)),o=T(n(9)),i=T(n(8)),l=T(n(3)),u=n(34),s=n(57),d=T(n(288)),f=T(n(51)),c=T(n(94)),p=T(n(29)),v=T(n(55)),y=b(n(11672)),m=T(n(149)),_=T(n(474)),h=b(n(159)),E=T(n(13)),g=n(1),S=T(n(6)),O=T(n(8185)),I=T(n(370));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var A=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._initTimeout=new s.Timeout,t._silenceTimeout=new s.Timeout,t._messageTimeout=new s.Timeout,t.state={volume:-100,isMicTesting:!1,isDetectingInput:!0,didDeafenUser:!1},t.setupVoiceActivity=function(){f.default.getMediaEngine().on("voiceactivity",t.handleVoiceActivity)},t.handleVoiceActivity=function(e){if(t.state.isMicTesting&&e<=-100)return t._silenceTimeout.isStarted()||t._silenceTimeout.start(2e3,(function(){t.setState({isDetectingInput:!1})})),void t.setState({volume:-100});t._silenceTimeout.stop(),t.setState({volume:e,isDetectingInput:!0})},t.handleToggleMicTest=function(){t.state.isMicTesting?t._micTestStop():t._micTestStart()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,N(t,n);var a=r.prototype;return a.componentDidMount=function(){this._initTimeout.start(1e3,this.setupVoiceActivity)},a.componentWillUnmount=function(){this._initTimeout.stop(),this._micTestStop(),f.default.getMediaEngine().removeListener("voiceactivity",this.handleVoiceActivity)},a._micTestStart=function(){var e=this.props,t=e.isVoiceConnected,n=e.inputDeviceName,r=e.inputVolume,a=e.outputDeviceName,o=e.outputVolume,i=e.inputMode,l=e.vadAutoThreshold,s=e.vadThreshold,f=e.location,c=e.isDeafened,p=!1;t&&!c&&(d.default.toggleSelfDeaf(u.MediaEngineContextTypes.DEFAULT),p=!0),d.default.setLoopback(!0),this._micTestStartTime=Date.now(),this.setState({isMicTesting:!0,isDetectingInput:!0,didDeafenUser:p}),E.default.track(g.AnalyticEvents.MIC_TESTING_STARTED,{input_device_name:n,input_device_volume:r,output_device_name:a,output_device_volume:o,input_mode:i,input_sensitivity_is_automatic:l,input_sensitivity_threshold:Math.round(s),location:f})},a._micTestStop=function(){var e=this.state,t=e.didDeafenUser,n=e.isMicTesting,r=this.props,a=r.isVoiceConnected,o=r.isDeafened;n&&(a&&o&&t&&d.default.toggleSelfDeaf(u.MediaEngineContextTypes.DEFAULT),d.default.setLoopback(!1),this.setState({isMicTesting:!1,didDeafenUser:!1}),null!=this._micTestStartTime&&E.default.track(g.AnalyticEvents.MIC_TESTING_STOPPED,{testing_duration:Math.round((Date.now()-this._micTestStartTime)/1e3)}))},a.renderCaption=function(){var e=this.props,t=e.captionVoice,n=e.captionNoVoice,r=this.state,a=r.isMicTesting,o=r.isDetectingInput;return M(_.default,{className:O.default.micTestCaption,type:_.default.Types.DESCRIPTION},void 0,a?o?t:n:null)},a.render=function(){var e=this,t=this.props,n=t.isVoiceConnected,r=t.title,a=t.description,i=t.notchBackground,l=t.buttonTest,u=t.buttonStop,s=t.buttonClassName,d=t.buttonColor,f=t.isDeafened,c=this.state,E=c.isMicTesting,g=c.volume,T=n&&!E?S.default.Messages.MIC_TEST_VOICE_CHANNEL_WARNING:null;return E&&n&&!f&&this._micTestStop(),M(v.default,{direction:v.default.Direction.VERTICAL},void 0,M(h.default,{tag:h.Tags.H5,className:(0,o.default)(I.default.marginBottom4,I.default.marginTop8)},void 0,r),a&&M(_.default,{type:_.default.Types.DESCRIPTION,className:I.default.marginBottom4},void 0,a),M(v.default,{className:(0,o.default)(I.default.marginTop4,O.default.micTest),align:v.default.Align.CENTER},void 0,M(m.default,{text:T},void 0,(function(t){var n=t.onMouseEnter,r=t.onMouseLeave;return M(p.default,{grow:!1,onClick:e.handleToggleMicTest,onMouseEnter:n,onMouseLeave:r,size:p.default.Sizes.SMALL,className:s,color:d},void 0,E?u:l)})),M(y.default,{progress:E?g+100:0,notchBackground:i}),this.renderCaption()))},r}(a.PureComponent);A.displayName="MicTester";var P=l.default.connectStores([c.default,f.default],(function(){var e=f.default.getInputDeviceId(),t=f.default.getInputDevices(),n=i.default.find(t,(function(t){return t.id===e})),r=f.default.getOutputDeviceId(),a=f.default.getOutputDevices(),o=i.default.find(a,(function(e){return e.id===r})),l=f.default.getModeOptions();return{isVoiceConnected:c.default.isConnected(),inputVolume:f.default.getInputVolume(),outputVolume:f.default.getOutputVolume(),inputMode:f.default.getMode(),vadThreshold:l.threshold,isDeafened:f.default.isSelfDeaf(),vadAutoThreshold:l.autoThreshold,inputDeviceName:null!=n?n.name:"",outputDeviceName:null!=o?o.name:""}}))(A);t.default=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[d(a.MenuGroup,{},void 0,(0,i.default)()),d(a.MenuGroup,{},void 0,(0,o.default)(),(0,l.default)())]};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(8253),o=u(n(10369)),i=u(n(10368)),l=u(n(10370));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ChannelSettingsPermissionsNotice=void 0;var r,a=Y(n(0)),o=V(n(9)),i=V(n(8)),l=V(n(63)),u=V(n(3)),s=V(n(154)),d=V(n(391)),f=n(8481),c=V(n(11718)),p=V(n(11719)),v=V(n(9171)),y=V(n(8292)),m=n(286),_=Y(n(11723)),h=n(203),E=V(n(9247)),g=V(n(8711)),S=V(n(56)),O=V(n(15)),I=V(n(40)),T=V(n(39)),C=V(n(12)),b=V(n(271)),M=V(n(29)),N=V(n(55)),A=V(n(9173)),P=V(n(278)),R=V(n(8293)),L=Y(n(474)),D=V(n(279)),w=n(48),j=V(n(723)),k=V(n(93)),U=V(n(9172)),G=V(n(78)),F=n(1),B=V(n(6)),H=V(n(8200)),x=V(n(370));function V(e){return e&&e.__esModule?e:{default:e}}function W(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return W=function(){return e},e}function Y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=W();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function z(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function K(){return(K=Object.assign||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}).apply(this,arguments)}function $(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Z(e,t)}function Z(e,t){return(Z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var q=u.default.connectStores([E.default,g.default],(function(){var e=g.default.getChannel();return{submitting:E.default.formState===F.FormStates.SUBMITTING,onReset:function(){(0,f.init)()},onSave:function(){if(null!=e){var t=E.default.editedPermissionIds.reduce((function(e,t){var n=E.default.getPermissionOverwrite(t);return null!=n&&e.push(n),e}),[]);(0,f.savePermissionUpdates)(e.id,t)}}}}))(y.default);t.ChannelSettingsPermissionsNotice=q;var X=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handlePermissionChange=function(e,n){var r,a=t.props,o=a.overwrite,i=a.channel,u=o.id,s=o.allow,d=o.deny;switch(d=l.default.remove(d,e),s=l.default.remove(s,e),n){case"ALLOW":s=l.default.add(s,e);break;case"DENY":d=l.default.add(d,e)}if(I.default.can(e,i,((r={})[u]=K({},o,{allow:s,deny:d}),r)))(0,f.updatePermission)(u,s,d);else{var c;if(o.type===m.PermissionOverwriteType.MEMBER){var p=C.default.getUser(o.id);null!=p&&(c=p.toString())}else if(o.type===m.PermissionOverwriteType.ROLE){var v=O.default.getGuild(i.getGuildId());if(null!=v){var y=v.getRole(o.id);null!=y&&(c=y.name)}}_.showPermissionLockoutModal(c)}},t.handleDeletePermission=function(){var e=t.props,n=e.channel.id,r=e.overwrite.id,a=t.getOverwriteName();s.default.show({title:B.default.Messages.SETTINGS_PERMISSIONS_DELETE_TITLE,body:B.default.Messages.SETTINGS_PERMISSIONS_DELETE_BODY.format({name:a}),cancelText:B.default.Messages.CANCEL,onConfirm:function(){return d.default.clearPermissionOverwrite(n,r)}})},t.handlePermissionRender=function(e){var n=t.props,r=n.guild,a=n.channel,o=I.default.can(F.Permissions.ADMINISTRATOR,r)||I.default.can(F.Permissions.MANAGE_ROLES,a,void 0,void 0,!0);return a.isGuildStageVoice()&&h.STAGE_CHANNEL_DISABLED_PERMISSIONS.has(e)?B.default.Messages.STAGE_CHANNEL_CANNOT_OVERWRITE_PERMISSION:!((!l.default.equals(e,F.Permissions.MANAGE_ROLES)||o)&&(null==e||I.default.can(e,r)||o))&&B.default.Messages.HELP_MISSING_PERMISSION},t}$(t,e);var n=t.prototype;return n.getOverwriteName=function(){var e=this.props,t=e.channel.guild_id,n=e.overwrite.id,r=O.default.getGuild(t);if(null==r)return"";var a=r.getRole(n),o=C.default.getUser(n),i=o?o.username:"";return a?a.name:i},n.renderRemoveButton=function(){var e=this.props;return e.channel.guild_id===e.overwrite.id?null:z(M.default,{look:M.default.Looks.OUTLINED,color:M.default.Colors.RED,onClick:this.handleDeletePermission},void 0,B.default.Messages.REMOVE_ROLE_OR_USER.format({name:this.getOverwriteName()}))},n.render=function(){var e=this,t=this.props,n=t.overwrite,r=t.channel,a=n.id===r.guild_id,i=U.default.generateChannelPermissionSpec(r.guild_id,r.type,a);return z(A.default.Content,{className:H.default.layoutStyle},void 0,i.map((function(t,r){var a;return z(v.default,{spec:t,allow:n.allow,deny:n.deny,onChange:e.handlePermissionChange,permissionRender:e.handlePermissionRender,className:(0,o.default)((a={},a[x.default.marginBottom40]=r<i.length-1,a))},r)})),this.renderRemoveButton())},t}(a.PureComponent);X.displayName="Content";var J=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handlerFilterResults=function(e,n){var r=t.props,a=r.permissionOverwrites,o=r.guildMemberIds,l=r.guild;return 0===n?(0,i.default)(l.roles).filter((function(t){return null==a[t.id]&&e(t.name)})).sortBy((function(e){return-e.position})).value():(0,i.default)(o).map(C.default.getUser).filter(w.isNotNullish).filter((function(t){return null==a[t.id]&&e(t.username.toLowerCase())})).sortBy((function(e){return e.username.toLowerCase()})).value()},t.handleCreateOverwrite=function(e,n){null!=e&&(0===n?t.props.onSelect(e.id,m.PermissionOverwriteType.ROLE):1===n&&t.props.onSelect(e.id,m.PermissionOverwriteType.MEMBER))},t.handleQueryChange=function(e){j.default.requestMembers(t.props.guild.id,e,20)},t}$(t,e);var n=t.prototype;return n.renderResult=function(e,t){var n;if(0===t)return e.colorString&&(n={color:e.colorString}),z("span",{style:n},void 0,e.name);var r=e.avatarURL||e.getAvatarURL("jpg");return z(N.default,{align:N.default.Align.CENTER},void 0,z(D.default,{size:D.default.Sizes.SIZE_32,src:r,"aria-label":e.username,className:H.default.smallAvatar}),z("span",{className:H.default.username},void 0,e.toString()))},n.render=function(){var e=this.props,t=e.position,n=e.onClose;return z(c.default,{label:B.default.Messages.OVERWRITE_AUTOCOMPLETE_LABEL,placeholder:B.default.Messages.OVERWRITE_AUTOCOMPLETE_PLACEHOLDER,"aria-label":B.default.Messages.OVERWRITE_AUTOCOMPLETE_A11Y_LABEL,sections:[B.default.Messages.ROLES,B.default.Messages.MEMBERS],onRenderResult:this.renderResult,onFilterResults:this.handlerFilterResults,onQueryChange:this.handleQueryChange,onSelect:this.handleCreateOverwrite,onClose:n,position:t})},t}(a.PureComponent);J.displayName="CreateOverwritePopout";var Q=u.default.connectStores([S.default],(function(e){var t=e.guild;return{guildMemberIds:S.default.getMemberIds(t.id)}}))(J),ee=function(e){function t(){for(var t,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).renderRole=function(e){var n=t.props,r=n.guild,a=n.selectedOverwriteId,o=n.theme;return z(p.default,{theme:o,id:e.id,role:e,guild:r,color:e.colorString},a+"-"+e.id,e.name)},t.renderMember=function(e){var n=t.props,r=n.guild,a=n.selectedOverwriteId,o=n.theme,i=e.getAvatarURL(r.id,!1);return z(p.default,{id:e.id,guild:r,theme:o},a+"-"+e.id,z(N.default,{align:N.default.Align.CENTER},void 0,z(D.default,{size:D.default.Sizes.SIZE_24,src:i,"aria-label":e.username,className:H.default.xsmallAvatar}),z("span",{className:H.default.username},void 0,e.toString())))},t.renderCreateOverwritePopout=function(e){var n=e.position,r=e.closePopout;return a.createElement(Q,K({},t.props,{position:null!=n?n:P.default.Positions.BOTTOM,onSelect:t.handleCreatePermissionOverwrite,onClose:r}))},t.renderHeader=function(){var e=t.props.theme===F.ThemeTypes.DARK?n(11724):n(11725);return z(P.default,{renderPopout:t.renderCreateOverwritePopout,position:P.default.Positions.BOTTOM,autoInvert:!1},void 0,(function(t){return a.createElement(R.default.Header,t,z(N.default,{className:H.default.sidebarHeaderDefault,justify:N.default.Justify.BETWEEN,align:N.default.Align.CENTER},void 0,z("span",{},void 0,B.default.Messages.ROLES,"/",B.default.Messages.MEMBERS),z("img",{alt:"",className:H.default.sidebarHeader,src:e})))}))},t.handleCreatePermissionOverwrite=function(e,n){var r=t.props.channel;d.default.updatePermissionOverwrite(r.id,{id:e,type:n,allow:G.default.NONE,deny:G.default.NONE}).then((function(){return(0,f.selectPermission)(e)}))},t}$(t,e);var r=t.prototype;return r.renderHelpfulNote=function(){return z(a.Fragment,{},void 0,z(R.default.Separator,{style:{marginTop:20,marginBottom:14}}),z(L.default,{type:L.Types.DESCRIPTION},void 0,z(b.default,{href:k.default.getArticleURL(F.HelpdeskArticles.PERMISSIONS_TUTORIAL),target:"_blank"},void 0,B.default.Messages.PERMISSION_HELPDESK)))},r.render=function(){var e=this.props,t=e.guild,n=e.selectedOverwriteId,r=e.permissionOverwrites;null==r[t.id]&&(r[t.id]=G.default.makeEveryoneOverwrite(t.id));var a=(0,i.default)(r).filter((function(e){return e.type===m.PermissionOverwriteType.ROLE})).map((function(e){return t.getRole(e.id)})).filter(w.isNotNullish).sortBy((function(e){return-e.position})).map(this.renderRole).value(),o=(0,i.default)(r).filter((function(e){return e.type===m.PermissionOverwriteType.MEMBER})).map((function(e){return C.default.getUser(e.id)})).filter(w.isNotNullish).sortBy((function(e){return e.username.toLowerCase()})).map(this.renderMember).value();return z(A.default.Sidebar,{className:H.default.layoutStyle,scrollable:!0},void 0,z(R.default,{onItemSelect:f.selectPermission,selectedItem:n,orientation:"vertical"},void 0,this.renderHeader(),a,o,this.renderHelpfulNote()))},t}(a.PureComponent);ee.displayName="Sidebar";var te=function(e){function t(){return e.apply(this,arguments)||this}return $(t,e),t.prototype.render=function(){var e=this.props,t=e.selectedOverwriteId,n=e.permissionOverwrites,r=e.channel,o=e.guild,i=n[t];return z(A.default,{className:H.default.container},void 0,a.createElement(ee,this.props),z(X,{type:r.type,channel:r,guild:o,overwrite:i}))},t}(a.PureComponent);te.displayName="ChannelSettingsPermissions";var ne=u.default.connectStores([E.default,T.default,O.default],(function(){var e=E.default.channel;return{channel:e,category:E.default.category,permissionOverwrites:E.default.permissionOverwrites,selectedOverwriteId:E.default.selectedOverwriteId,guild:null!=e&&O.default.getGuild(e.getGuildId()),theme:T.default.theme}}))(te);t.default=ne},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(8)),a=c(n(3)),o=c(n(2)),i=c(n(8369)),l=c(n(8711)),u=c(n(15)),s=c(n(40)),d=c(n(9175)),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _(){return(_=Object.assign||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}).apply(this,arguments)}var h,E,g,S=[],O=null,I=!1,T=f.FormStates.CLOSED,C={},b=!1;function M(){if(E=l.default.getChannel(),h=null!=E?u.default.getGuild(E.guild_id):null,S=null!=E&&null!=h&&s.default.can(f.Permissions.MANAGE_WEBHOOKS,E)?d.default.getWebhooksForChannel(h.id,E.id):[],null!=O){var e=A(O.id);null!=e&&(O=e)}T=f.FormStates.OPEN,C={},b=!1}var N=r.default.debounce((function(){b&&((null==O||r.default.isEqual(O,A(O.id)))&&(b=!1),b||P.emitChange())}),500);function A(e){return S.find((function(t){return t.id===e}))}var P=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var a,o,i,c=r.prototype;return c.initialize=function(){this.waitFor(l.default,u.default,d.default,s.default)},c.hasChanges=function(){return b},c.getWebhook=function(e){return A(e)},c.showNotice=function(){return this.hasChanges()},c.getProps=function(){return{submitting:T===f.FormStates.SUBMITTING,webhooks:S,editedWebhook:O,section:g,hasChanges:this.hasChanges(),isFetching:I,errors:C}},a=r,(o=[{key:"webhooks",get:function(){return S}},{key:"editedWebhook",get:function(){return O}},{key:"formState",get:function(){return T}}])&&p(a.prototype,o),i&&p(a,i),r}(a.default.Store))(o.default,__OVERLAY__?{}:{INTEGRATION_SETTINGS_INIT:function(e){return M()},INTEGRATION_SETTINGS_SAVE_SUCCESS:function(e){return M()},CHANNEL_SETTINGS_SET_SECTION:function(e){if(e.section!==f.ChannelSettingsSections.INTEGRATIONS)return!1;if(g=f.IntegrationSettingsSections.OVERVIEW,null==h){var t=l.default.getChannel(),n=null==t?void 0:t.getGuildId();null!=t&&null!=n&&(i.default.fetchForChannel(n,t.id),I=!0),M()}},INTEGRATION_SETTINGS_SET_SECTION:function(e){var t=e.section;g=t},INTEGRATION_SETTINGS_START_EDITING_WEBHOOK:function(e){var t=A(e.webhookId);if(null==t)return!1;O=t,C={},b=!1},INTEGRATION_SETTINGS_STOP_EDITING_WEBHOOK:function(e){return O=null,C={},void(b=!1)},INTEGRATION_SETTINGS_UPDATE_WEBHOOK:function(e){var t=e.settings;if(null==O)return!1;O=_({},O),null!=t.name&&O.name!==t.name&&(O.name=t.name,b=!0),void 0!==t.avatar&&O.avatar!==t.avatar&&(O.avatar=t.avatar,b=!0),null!=t.channelId&&O.channel_id!==t.channelId&&(O.channel_id=t.channelId,b=!0),b&&N()},CHANNEL_SETTINGS_CLOSE:function(e){return E=null,h=null,S=[],O=null,void(T=f.FormStates.CLOSED)},WEBHOOKS_UPDATE:function(e){var t=e.guildId,n=e.channelId,r=e.webhooks;if(null==h||t!==h.id||null==E||n!==E.id||null==r||T===f.FormStates.SUBMITTING)return!1;I=!1;for(var a=function(e){var t=S[e];if(null!=n&&(null==t?void 0:t.channel_id)!==n)return"continue";var a=r.find((function(e){if(e.id===t.id)return!0}));if(null!=a){var o,i=_({},t,{},a);S[e]=i,b||(null===(o=O)||void 0===o?void 0:o.id)!==i.id||(O=i)}else{var l;(null===(l=O)||void 0===l?void 0:l.id)===t.id&&(O=null),S.splice(e,1)}},o=S.length-1;o>=0;o--)a(o);for(var i,l=function(){var e=i.value;null==S.find((function(t){if(t.id===e.id)return!0}))&&S.push(e)},u=y(r);!(i=u()).done;)l();S=[].concat(S),N()},INTEGRATION_SETTINGS_SUBMITTING:function(e){return T=f.FormStates.SUBMITTING,void(C={})},INTEGRATION_SETTINGS_SAVE_FAILURE:function(e){if(T!==f.FormStates.SUBMITTING)return!1;T=f.FormStates.OPEN,C=e.errors||{}}}),R=P;t.default=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=v(n(0)),o=c(n(9)),i=c(n(55)),l=c(n(1165)),u=v(n(474)),s=c(n(8565)),d=n(1),f=c(n(7394));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=["firCount","nackCount"],h=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var a=r.prototype;return a.renderValueIcon=function(){var e=this.props.label;return _.includes(e)?y(s.default,{color:d.Colors.STATUS_YELLOW,className:f.default.valueIcon}):null},a.render=function(){var e=this.props,t=e.children,n=e.className,r=e.valueRendered,a=e.section,s=e.label,d=e.renderGraph;return y(i.default,{className:(0,o.default)(f.default.item,n),direction:i.default.Direction.VERTICAL,basis:"50%"},void 0,y(i.default,{align:i.default.Align.START},void 0,y(i.default.Child,{},void 0,y("h3",{className:f.default.title},void 0,t)),Array.isArray(r)?y(i.default.Child,{grow:1},void 0,r):y(i.default.Child,{grow:0,shrink:0},void 0,this.renderValueIcon(),y("span",{className:f.default.itemValue},void 0,r))),d&&y(i.default.Child,{className:f.default.graph},null!=a?a+"-"+s:s,y(u.default,{type:u.Types.DESCRIPTION},void 0,d())),y(l.default,{className:f.default.divider}))},r}(a.PureComponent);t.default=h,h.displayName="RTCDebugItem"},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(466)),i=u(n(24)),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.onConfirmUninstall,n=e.game,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onConfirmUninstall","game"]);return a.createElement(o.default,d({header:l.default.Messages.APPLICATION_UNINSTALL_PROMPT_TITLE.format({gameName:n.name}),confirmText:l.default.Messages.APPLICATION_UNINSTALL_PROMPT_CONFIRM,cancelText:l.default.Messages.APPLICATION_UNINSTALL_PROMPT_CANCEL,onConfirm:t},r),f(i.default,{size:i.default.Sizes.SIZE_16},void 0,l.default.Messages.APPLICATION_UNINSTALL_PROMPT_BODY.format({gameName:n.name})))}c.displayName="UninstallConfirmModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=u(n(218)),o=n(41),i=u(n(10777)),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n),i.prototype.showErrorModal=function(e){var t=e.code,n=e.message;(0,o.openModal)((function(e){return r.createElement(a.default,d({title:l.default.Messages.EMBEDDED_ACTIVITIES_ERROR_TITLE.format({code:t}),body:n},e))}))},i}(i.default));t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(57),a=_(n(2)),o=_(n(478)),i=_(n(216)),l=_(n(10)),u=_(n(256)),s=_(n(94)),d=_(n(36)),f=_(n(80)),c=_(n(13)),p=n(1297),v=_(n(294)),y=n(156),m=n(1);function _(e){return e&&e.__esModule?e:{default:e}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var S={},O={},I={};function T(e){var t=e.channelId,n=e.applicationId,a=l.default.getChannel(t);if(null!=a){var o=new r.Timeout;o.start(12e4,(function(){(0,p.stopEmbeddedActivity)(t,n)})),I[n]=o,O[n]=function(e){S[n]=e,c.default.track(m.AnalyticEvents.ACTIVITY_SESSION_JOINED,{channel_id:a.id,guild_id:a.getGuildId(),media_session_id:e.mediaSessionId,activity_session_id:e.activitySessionId,application_id:n})}}}function C(e){var t,n=e.channelId,r=e.applicationId,a=S[r],o=l.default.getChannel(n);null!=a&&null!=o&&(c.default.track(m.AnalyticEvents.ACTIVITY_SESSION_LEFT,{channel_id:o.id,guild_id:o.getGuildId(),media_session_id:a.mediaSessionId,activity_session_id:a.activitySessionId,application_id:r}),delete O[r],delete S[r],null===(t=I[r])||void 0===t||t.stop(),delete I[r])}function b(e){var t,n,r,a=e.activity,o=e.activitySessionId,i=s.default.getMediaSessionId(),l=(null==a?void 0:a.application_id)===y.POKER_NIGHT_APPLICATION_ID?o:null==a||null===(t=a.party)||void 0===t?void 0:t.id;null!=i&&null!=(null==a?void 0:a.application_id)&&null!=l&&(null===(n=O[a.application_id])||void 0===n||n.call(O,{mediaSessionId:i,activitySessionId:l}),delete O[a.application_id],null===(r=I[a.application_id])||void 0===r||r.stop(),delete I[a.application_id])}function M(){for(var e,t=d.default.getVoiceChannelId(),n=function(){var n=e.value,r=n.channelId,o=n.applicationId;r!==t&&a.default.wait((function(){return(0,p.stopEmbeddedActivity)(r,o)}))},r=E(v.default.getSelfEmbeddedActivities().values());!(e=r()).done;)n()}function N(e){var t=e.channelId,n=e.applicationId,r=e.intent;if(d.default.getVoiceChannelId()===t){for(var a=0,i=Object.keys(f.default.getVoiceStatesForChannel(t));a<i.length;a++){var l=i[a],s=u.default.getApplicationActivity(l,n);if(null!=s&&null!=s.session_id)return o.default.join(l,s.session_id,n,t,null,r,!0)}(0,p.startEmbeddedActivity)(t,n)}}var A=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleRPCDisconnect=function(e){var n=e.reason,r=e.application.id;if(null!=r&&null!=n){for(var o,i=function(){var e=o.value,t=e.applicationId,n=e.channelId;t===r&&a.default.wait((function(){return(0,p.stopEmbeddedActivity)(n,r)}))},l=E(v.default.getSelfEmbeddedActivities().values());!(o=l()).done;)i();n.code!==m.RPCCloseCodes.CLOSE_NORMAL&&t.showErrorModal(n,r)}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n);var o=r.prototype;return o._initialize=function(){d.default.addChangeListener(M),a.default.subscribe(m.ActionTypes.EMBEDDED_ACTIVITY_OPEN,T),a.default.subscribe(m.ActionTypes.EMBEDDED_ACTIVITY_CLOSE,C),a.default.subscribe(m.ActionTypes.LOCAL_ACTIVITY_UPDATE,b),a.default.subscribe(m.ActionTypes.EMBEDDED_ACTIVITY_DEFERRED_OPEN,N),a.default.subscribe(m.ActionTypes.RPC_APP_DISCONNECTED,this.handleRPCDisconnect)},o._terminate=function(){d.default.removeChangeListener(M),a.default.unsubscribe(m.ActionTypes.EMBEDDED_ACTIVITY_OPEN,T),a.default.unsubscribe(m.ActionTypes.EMBEDDED_ACTIVITY_CLOSE,C),a.default.unsubscribe(m.ActionTypes.LOCAL_ACTIVITY_UPDATE,b),a.default.unsubscribe(m.ActionTypes.EMBEDDED_ACTIVITY_DEFERRED_OPEN,N),a.default.unsubscribe(m.ActionTypes.RPC_APP_DISCONNECTED,this.handleRPCDisconnect)},r}(i.default);t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=E(n(2)),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(8788)),i=E(n(216)),l=E(n(5952)),u=E(n(10)),s=E(n(694)),d=E(n(8789)),f=E(n(94)),c=E(n(36)),p=E(n(107)),v=E(n(80)),y=E(n(294)),m=E(n(10306)),_=n(1);function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e){return e&&e.__esModule?e:{default:e}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(){var e=f.default.getChannelId(),t=y.default.getSelfEmbeddedActivityForChannel(null!=e?e:""),n=u.default.getChannel(e);return null==e||null==n||null==t?function(){var e=r;null!=e&&d.default.isOpen(e)&&(a.default.wait((function(){return o.close(e)})),r=null)}():function(e,t){if(d.default.isOpen(t))return!1;a.default.wait((function(){return o.open(t,_.PictureInPictureComponents.EMBED_IFRAME,{channel:e})})),r=t}(n,(0,m.default)(n.id,t.applicationId))}function O(){var e;return s.default.hasLayers()?void(null!=(e=r)&&d.default.isOpen(e)&&a.default.wait((function(){return o.hide(e)}))):function(){var e=r;null!=e&&d.default.isOpen(e)&&a.default.wait((function(){return o.show(e)}))}()}var I=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,g(t,n);var a=r.prototype;return a._initialize=function(){c.default.addChangeListener(S),p.default.addChangeListener(S),f.default.addChangeListener(S),v.default.addChangeListener(S),l.default.addChangeListener(S),y.default.addChangeListener(S),s.default.addChangeListener(O)},a._terminate=function(){c.default.removeChangeListener(S),p.default.removeChangeListener(S),f.default.removeChangeListener(S),v.default.removeChangeListener(S),l.default.removeChangeListener(S),y.default.removeChangeListener(S),s.default.removeChangeListener(O)},r}(i.default));t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=_(n(2)),o=_(n(216)),i=_(n(10)),l=_(n(36)),u=_(n(107)),s=_(n(12)),d=n(41),f=n(742),c=n(8790),p=_(n(10780)),v=_(n(10781)),y=_(n(10782)),m=n(1);function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(){return(E=Object.assign||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}).apply(this,arguments)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t){var n;if(null!=e){var r=s.default.getNullableCurrentUser();(null===(n=i.default.getChannel(t))||void 0===n?void 0:n.isNSFW())&&null!=r&&null==r.nsfwAllowed&&(0,c.openAgeGateModal)(f.AgeGateSource.NSFW_CHANNEL)}}var O=new(function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,g(t,n);var i=o.prototype;return i._initialize=function(){a.default.subscribe(m.ActionTypes.CONNECTION_OPEN,this.handleConnectionOpen),a.default.subscribe(m.ActionTypes.CHANNEL_SELECT,this.handleChannelSelect),a.default.subscribe(m.ActionTypes.AGE_GATE_MODAL_OPEN,this.handleAgeGateModalOpen),a.default.subscribe(m.ActionTypes.AGE_GATE_MODAL_CLOSE,this.handleAgeGateModalClose),a.default.subscribe(m.ActionTypes.AGE_GATE_SUCCESS_MODAL_OPEN,this.handleAgeGateSuccess),a.default.subscribe(m.ActionTypes.AGE_GATE_FAILURE_MODAL_OPEN,this.handleAgeGateFailure)},i._terminate=function(){a.default.unsubscribe(m.ActionTypes.CONNECTION_OPEN,this.handleConnectionOpen),a.default.unsubscribe(m.ActionTypes.CHANNEL_SELECT,this.handleChannelSelect),a.default.unsubscribe(m.ActionTypes.AGE_GATE_MODAL_OPEN,this.handleAgeGateModalOpen),a.default.unsubscribe(m.ActionTypes.AGE_GATE_MODAL_CLOSE,this.handleAgeGateModalClose),a.default.unsubscribe(m.ActionTypes.AGE_GATE_SUCCESS_MODAL_OPEN,this.handleAgeGateSuccess),a.default.unsubscribe(m.ActionTypes.AGE_GATE_FAILURE_MODAL_OPEN,this.handleAgeGateFailure)},i.handleChannelSelect=function(e){S(e.guildId,e.channelId)},i.handleConnectionOpen=function(){S(u.default.getGuildId(),l.default.getChannelId())},i.handleAgeGateModalOpen=function(){(0,d.openModal)((function(e){return r.createElement(p.default,e)}),{modalKey:f.EXISTING_USER_AGE_GATE_MODAL_KEY,onCloseRequest:m.NOOP})},i.handleAgeGateSuccess=function(){(0,d.updateModal)(f.EXISTING_USER_AGE_GATE_MODAL_KEY,(function(e){return r.createElement(y.default,e)}))},i.handleAgeGateFailure=function(e){var t=e.underageMessage;e.forceOpen?(0,d.openModal)((function(e){return r.createElement(v.default,E({underageMessage:t},e))}),{modalKey:f.EXISTING_USER_AGE_GATE_MODAL_KEY,onCloseRequest:m.NOOP}):(0,d.updateModal)(f.EXISTING_USER_AGE_GATE_MODAL_KEY,(function(e){return r.createElement(v.default,E({underageMessage:t},e))}))},i.handleAgeGateModalClose=function(){(0,d.closeModal)(f.EXISTING_USER_AGE_GATE_MODAL_KEY)},o}(o.default));t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.transitionState,r=(0,l.useStateFromStores)([f.default],(function(){return f.default.getNullableCurrentUser()})),b=(0,l.useStateFromStores)([d.default,s.default],(function(){return s.default.getChannel(d.default.getChannelId())})),M=a.useState(null),N=M[0],P=M[1],D=a.useState(null),w=D[0],j=D[1],k=a.useState(!1),U=k[0],G=k[1],F=a.useState(L.AGE_GATE_FORM),B=F[0],H=F[1],x=a.createRef(),V=a.createRef(),W=(0,v.useUID)(),Y=null!=N?(0,i.default)().diff(N,"years"):null;function z(){var e=null==b?void 0:b.getGuildId();e&&(u.default.nsfwReturnToSafety(e),(0,S.closeAgeGateModal)())}function K(){return $.apply(this,arguments)}function $(){return($=R(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(0,o.default)(null!=N,"Cannot submit null birthday."),e.prev=1,j(null),G(!0),e.next=6,(0,g.submitDateOfBirth)(N,"NSFW Channel");case 6:return e.abrupt("return",e.sent);case 9:e.prev=9,e.t0=e.catch(1),null!=e.t0.body&&null!=e.t0.body.date_of_birth?(0,S.openFailureAgeGateModal)(e.t0.body.date_of_birth):(j(e.t0.body.message),G(!1));case 12:case"end":return e.stop()}}),e,null,[[1,9]])})))).apply(this,arguments)}function Z(){return q.apply(this,arguments)}function q(){return(q=R(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((0,o.default)(null!=Y,"Cannot submit if we haven't been able to calculate age."),!(Y<18)){e.next=4;break}return H(L.CONFIRM),e.abrupt("return");case 4:return e.next=6,K();case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function X(e){return J.apply(this,arguments)}function J(){return(J=R(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),!U&&null!=N){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,Z();case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Q(){return ee.apply(this,arguments)}function ee(){return(ee=R(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,K();case 2:null==e.sent&&H(L.AGE_GATE_FORM);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}a.useEffect((function(){null!=r&&null!=r.nsfwAllowed&&(0,S.openSuccessAgeGateModal)()}));var te=a.useCallback((function(e){P(e)}),[P]),ne=a.useCallback((function(){var e;null===(e=V.current)||void 0===e||e.focus()}),[V]);return B===L.AGE_GATE_FORM?A(y.ModalRoot,{transitionState:t,size:y.ModalSize.SMALL,"aria-labelledby":W},void 0,A(y.ModalContent,{},void 0,A("div",{className:C.default.container},void 0,A("img",{alt:"",src:n(1427),className:C.default.img}),A(_.default,{size:_.default.Sizes.SIZE_24,className:C.default.title,id:W},void 0,T.default.Messages.AGE_GATE_EXISTING_HEADER),A(h.default,{color:h.default.Colors.HEADER_SECONDARY},void 0,T.default.Messages.AGE_GATE_NSFW_BODY.format({helpURL:E.default.getArticleURL(I.HelpdeskArticles.AGE_GATE)}))),A("form",{onSubmit:X},void 0,a.createElement(O.default,{label:T.default.Messages.AGE_GATE_YOUR_BIRTHDAY,wrapperClassName:C.default.birthday,name:"date_of_birth",onChange:te,onPopulated:ne,error:w,value:N,ref:x,autoFocus:!0}))),A(y.ModalFooter,{justify:p.default.Justify.BETWEEN},void 0,A(c.default,{buttonRef:V,submitting:U,disabled:null==N,size:c.ButtonSizes.SMALL,onClick:Z},void 0,T.default.Messages.AGE_GATE_SUBMIT),A(c.default,{look:c.default.Looks.LINK,size:c.default.Sizes.NONE,color:c.default.Colors.PRIMARY,onClick:z},void 0,T.default.Messages.AGE_GATE_GO_BACK))):A(y.ModalRoot,{transitionState:m.ModalTransitionState.ENTERED,size:y.ModalSize.SMALL,"aria-labelledby":W},void 0,A(y.ModalContent,{},void 0,A("div",{className:C.default.confirmContainer},void 0,A(_.default,{size:_.default.Sizes.SIZE_24,className:C.default.confirmTitle,id:W},void 0,T.default.Messages.AGE_GATE_CONFIRM_HEADER.format({age:Y})),A(h.default,{color:h.default.Colors.HEADER_SECONDARY},void 0,T.default.Messages.AGE_GATE_NSFW_BODY.format({helpURL:E.default.getArticleURL(I.HelpdeskArticles.AGE_GATE)})))),A(y.ModalFooter,{className:C.default.confirmFooter},void 0,A(c.default,{look:c.default.Looks.LINK,size:c.default.Sizes.NONE,color:c.default.Colors.PRIMARY,onClick:function(){return H(L.AGE_GATE_FORM)}},void 0,T.default.Messages.AGE_GATE_CONFIRM_GO_BACK),A(c.default,{color:c.default.Colors.BRAND,onClick:Q},void 0,T.default.Messages.AGE_GATE_CONFIRM_BUTTON)))};var r,a=N(n(0)),o=b(n(23)),i=b(n(5)),l=n(3),u=b(n(199)),s=b(n(10)),d=b(n(36)),f=b(n(12)),c=N(n(29)),p=b(n(55)),v=n(85),y=n(35),m=n(217),_=b(n(47)),h=b(n(24)),E=b(n(93)),g=n(1314),S=n(8790),O=b(n(1315)),I=n(1),T=b(n(6)),C=b(n(7927));function b(e){return e&&e.__esModule?e:{default:e}}function M(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return M=function(){return e},e}function N(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=M();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function A(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function P(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function R(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){P(o,r,a,i,l,"next",e)}function l(e){P(o,r,a,i,l,"throw",e)}i(void 0)}))}}var L;!function(e){e[e.AGE_GATE_FORM=0]="AGE_GATE_FORM",e[e.CONFIRM=1]="CONFIRM"}(L||(L={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;h(n(0));var r,a=n(95),o=n(42),i=h(n(29)),l=n(85),u=n(35),s=m(n(47)),d=m(n(24)),f=m(n(93)),c=n(8790),p=n(1),v=m(n(6)),y=m(n(7928));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e){var t=e.underageMessage,r=e.transitionState,m=(0,l.useUID)();return E(u.ModalRoot,{transitionState:r,size:u.ModalSize.SMALL,"aria-labelledby":m,impressionName:a.ImpressionNames.USER_AGE_GATE_UNDERAGE,impressionMetadata:{existing_user:!0}},void 0,E(u.ModalContent,{},void 0,E("div",{className:y.default.container},void 0,E("img",{alt:"",src:n(9085),className:y.default.img}),E(s.default,{size:s.default.Sizes.SIZE_24,className:y.default.title,id:m},void 0,v.default.Messages.AGE_GATE_UNDERAGE_EXISTING_HEADER),E(d.default,{color:d.default.Colors.HEADER_SECONDARY,className:y.default.subtitle},void 0,v.default.Messages.AGE_GATE_UNDERAGE_BODY.format({underageMessage:t||v.default.Messages.AGE_GATE_UNDERAGE_BODY_DEFAULT_MESSAGE,helpURL:f.default.getArticleURL(p.HelpdeskArticles.AGE_GATE)})),E(d.default,{color:d.default.Colors.HEADER_SECONDARY,className:y.default.subtitle},void 0,v.default.Messages.AGE_GATE_UNDERAGE_EXISTING_BODY_DELETION_WITH_DAYS.format({days:30})))),E(u.ModalFooter,{},void 0,E(i.default,{size:i.ButtonSizes.SMALL,fullWidth:!0,onClick:function(){(0,c.closeAgeGateModal)(),(0,o.transitionTo)(p.Routes.LOGIN)}},void 0,v.default.Messages.AGE_GATE_UNDERAGE_BACK_TO_LOGIN)))}g.displayName="ExistingUserAgeGateUnderage"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;y(n(0));var r,a=n(95),o=y(n(29)),i=n(85),l=n(35),u=p(n(47)),s=p(n(24)),d=n(8790),f=p(n(6)),c=p(n(7929));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e){var t=e.transitionState,r=(0,i.useUID)();return m(l.ModalRoot,{transitionState:t,size:l.ModalSize.SMALL,"aria-labelledby":r,impressionName:a.ImpressionNames.USER_AGE_GATE,impressionMetadata:{existing_user:!0}},void 0,m(l.ModalContent,{},void 0,m("div",{className:c.default.container},void 0,m("img",{alt:"",src:n(10783),className:c.default.img}),m(u.default,{size:u.default.Sizes.SIZE_24,className:c.default.title,id:r},void 0,f.default.Messages.AGE_GATE_AGE_VERIFIED),m(s.default,{color:s.default.Colors.HEADER_SECONDARY,className:c.default.subtitle},void 0,f.default.Messages.AGE_GATE_AGE_VERIFIED_BODY))),m(l.ModalFooter,{},void 0,m(o.default,{size:o.ButtonSizes.SMALL,fullWidth:!0,onClick:function(){(0,d.closeAgeGateModal)()},autoFocus:!0},void 0,f.default.Messages.CLOSE)))}_.displayName="ExistingUserAgeGateVerified"},function(e,t,n){e.exports=n.p+"68c14a2d6a011a937b3bb2380277d895.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeAuthenticated=function(e,t,n){var r=f(t,{});void 0===n&&(n={passProps:!0});function a(a){if(!(0,s.isAuthenticated)()&&!(0,s.isGuest)()&&u.default.allowLogoutRedirect()){if(null!=t)return r;var d=location.pathname+location.search;return f(i.Redirect,{to:(0,l.getLoginPath)(d,!1)})}return o.createElement(e,n.passProps?a:null)}return a.displayName="Authenticated("+(e.displayName||e.name||"<Unknown>")+")",a};var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(54),l=n(420),u=(r=n(11))&&r.__esModule?r:{default:r},s=n(487);function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(216)),a=f(n(1299)),o=f(n(303)),i=f(n(8359)),l=f(n(160)),u=f(n(80)),s=f(n(365)),d=n(1247);function f(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=(0,d.createSoundForPack)("call_calling",a.default.getSoundpack()),v=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var f=r.prototype;return f._initialize=function(){o.default.addChangeListener(this.handleRingUpdate),i.default.addChangeListener(this.handleRingUpdate),l.default.addChangeListener(this.handleRingUpdate),u.default.addChangeListener(this.handleRingUpdate),a.default.addChangeListener(this.handleSoundpackUpdate)},f._terminate=function(){o.default.removeChangeListener(this.handleRingUpdate),i.default.removeChangeListener(this.handleRingUpdate),l.default.removeChangeListener(this.handleRingUpdate),u.default.removeChangeListener(this.handleRingUpdate),a.default.removeChangeListener(this.handleSoundpackUpdate)},f.handleSoundpackUpdate=function(){p.stop(),p=(0,d.createSoundForPack)("call_calling",a.default.getSoundpack())},f.handleRingUpdate=function(){var e=o.default.getCalls().filter((function(e){return e.ringing.length>0&&u.default.getCurrentClientVoiceChannelId(null)===e.channelId})),t=u.default.getCurrentClientVoiceChannelId(null);!(null!=t&&s.default.countVoiceStatesForChannel(t)>=2)&&e.length>0&&!i.default.isSoundDisabled("call_calling")&&!l.default.disableSounds?p.loop():p.stop()},r}(r.default));t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(216)),a=i(n(94)),o=i(n(688));function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var i=r.prototype;return i._initialize=function(){o.default.addChangeListener(this.handleFocusParticipant)},i._terminate=function(){o.default.removeChangeListener(this.handleFocusParticipant)},i.handleFocusParticipant=function(){var e=a.default.getChannelId();if(null!=e){var t,n,r=o.default.getSelectedParticipantId(e),i=o.default.getVideoParticipants(e);null===(t=a.default.getRTCConnection())||void 0===t||t.setSelectedParticipant(null===(n=i.find((function(e){return e.id===r&&!e.localVideoDisabled})))||void 0===n?void 0:n.id)}},r}(r.default));t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(34),a=c(n(2)),o=c(n(288)),i=c(n(216)),l=c(n(5952)),u=c(n(51)),s=c(n(79)),d=c(n(161)),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var m=new Set,_=new Set,h=null;function E(){for(var e,t=v(m);!(e=t()).done;){var n=e.value;o.default.setDisableLocalVideo(n,!1,r.MediaEngineContextTypes.DEFAULT,!1)}_.clear(),m.clear()}var g=new(function(e){var t,n;function i(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleWindowFocus=function(e){e.focused&&E()},t.handleVoiceChannelSelect=function(e){var t=e.channelId;t!==h&&(E(),h=t)},t.handlePopoutChange=function(){l.default.getWindowFocused(f.PopoutWindowKeys.CHANNEL_CALL_POPOUT)&&E()},t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var c=i.prototype;return c._initialize=function(){a.default.subscribe(f.ActionTypes.RTC_CONNECTION_VIDEO,this.handleIncomingVideo),a.default.subscribe(f.ActionTypes.AUDIO_SET_LOCAL_VIDEO_DISABLED,this.handleManualLocalVideoToggle),a.default.subscribe(f.ActionTypes.WINDOW_FOCUS,this.handleWindowFocus),a.default.subscribe(f.ActionTypes.VOICE_CHANNEL_SELECT,this.handleVoiceChannelSelect),l.default.addChangeListener(this.handlePopoutChange)},c._terminate=function(){a.default.unsubscribe(f.ActionTypes.RTC_CONNECTION_VIDEO,this.handleIncomingVideo),a.default.unsubscribe(f.ActionTypes.AUDIO_SET_LOCAL_VIDEO_DISABLED,this.handleManualLocalVideoToggle),a.default.unsubscribe(f.ActionTypes.WINDOW_FOCUS,this.handleWindowFocus),a.default.unsubscribe(f.ActionTypes.VOICE_CHANNEL_SELECT,this.handleVoiceChannelSelect),l.default.removeChangeListener(this.handlePopoutChange),E(),h=null},c.handleIncomingVideo=function(e){var t=e.userId,n=e.context,a=e.streamId;if(n===r.MediaEngineContextTypes.DEFAULT&&null!=a){var i=null!=s.default.getCurrentGame(),c=d.default.isFocused(),p=l.default.getWindowFocused(f.PopoutWindowKeys.CHANNEL_CALL_POPOUT),v=u.default.isLocalVideoDisabled(t,n),y=_.has(t);!i||c||p||v||y||(m.add(t),o.default.setDisableLocalVideo(t,!0,n,!1))}},c.handleManualLocalVideoToggle=function(e){var t=e.userId;e.persist&&(_.add(t),m.delete(t))},i}(i.default));t.default=g},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=S(n(0)),a=E(n(2)),o=E(n(10791)),i=E(n(10794)),l=E(n(10795)),u=n(140),s=n(726),d=E(n(11)),f=E(n(10)),c=E(n(71)),p=E(n(256)),v=E(n(94)),y=E(n(1270)),m=S(n(41)),_=E(n(10798)),h=n(1);function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function O(){return(O=Object.assign||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}).apply(this,arguments)}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var T=new(function(e){var t,n;function _(){for(var t,n=arguments.length,a=new Array(n),_=0;_<n;_++)a[_]=arguments[_];return(t=e.call.apply(e,[this].concat(a))||this).handleVoiceChannelFeedback=function(e){var n=e.analyticsData;t.shouldShowVoiceFeedback()&&(m.openModal((function(e){return r.createElement(l.default,O({},e,{analyticsData:n}))})),t.updateLastVoiceFeedbackDate())},t.handleStreamClose=function(e){var n=e.streamKey,a=e.canShowFeedback,o=(0,u.decodeStreamKey)(n),l=(0,s.getStreamerApplication)(o,p.default),f={media_session_id:y.default.getActiveMediaSessionId(),rtc_connection_id:y.default.getActiveRTCConnectionId()};t.shouldShowStreamFeedback()&&a&&m.openModal((function(e){return r.createElement(i.default,O({stream:o,streamApplication:l,isStreamer:o.ownerId===d.default.getId()},e,{analyticsData:f}))}))},t.handleActivityClose=function(e){var n=e.applicationId,a=e.channelId,i=c.default.getGame(n),l=f.default.getChannel(a),u={rtc_connection_id:v.default.getRTCConnectionId(),media_session_id:v.default.getMediaSessionId()};null!=i&&null!=l&&t.shouldShowActivityFeedback()&&(m.openModal((function(e){return r.createElement(o.default,O({},e,{activityApplication:i,channel:l,analyticsData:u}))})),t.updateLastActivityFeedbackDate())},t}n=e,(t=_).prototype=Object.create(n.prototype),t.prototype.constructor=t,I(t,n);var E=_.prototype;return E._initialize=function(){a.default.subscribe(h.ActionTypes.VOICE_CHANNEL_SHOW_FEEDBACK,this.handleVoiceChannelFeedback),a.default.subscribe(h.ActionTypes.STREAM_CLOSE,this.handleStreamClose),a.default.subscribe(h.ActionTypes.EMBEDDED_ACTIVITY_CLOSE,this.handleActivityClose)},E._terminate=function(){a.default.unsubscribe(h.ActionTypes.VOICE_CHANNEL_SHOW_FEEDBACK,this.handleVoiceChannelFeedback),a.default.unsubscribe(h.ActionTypes.STREAM_CLOSE,this.handleStreamClose),a.default.unsubscribe(h.ActionTypes.EMBEDDED_ACTIVITY_CLOSE,this.handleActivityClose)},_}(_.default));t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=O;var r,a=h(n(0)),o=m(n(9269)),i=m(n(8552)),l=n(395),u=n(1220),s=h(n(41)),d=m(n(13)),f=m(n(10792)),c=m(n(10793)),p=n(156),v=n(1),y=m(n(6));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(){return(g=Object.assign||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}).apply(this,arguments)}var S=[p.ActivityFeedbackReasons.OTHER,p.ActivityFeedbackReasons.NOT_FUN];function O(e){var t=e.channel,n=e.activityApplication,r=e.onClose,m=e.transitionState,_=e.analyticsData;return a.useEffect((function(){d.default.track(v.AnalyticEvents.OPEN_MODAL,{type:"Activity Feedback Modal",application_id:n.id,application_name:n.name,game_id:n.id,source:"Activity End"})}),[n]),E(o.default,{header:y.default.Messages.ACTIVITY_REPORT_POST_ACTIVITY_HEADER.format({applicationName:n.name}),body:y.default.Messages.ACTIVITY_REPORT_ACTIVITY_BODY,problemTitle:y.default.Messages.ACTIVITY_REPORT_POST_ACTIVITY_PROBLEM_TITLE,problems:(0,f.default)(!0),feedbackProblems:S,onSubmit:function(e){var r=e.rating,o=e.problem,d=e.dontShowAgain,f=e.feedback;d&&(0,u.hideHotspot)(l.HotspotLocations.POST_ACTIVITY_FEEDBACK),null!=r&&((0,c.default)(o,t,f,n,_,"Activity End",r),null!=o&&s.openModal((function(e){return a.createElement(i.default,g({body:y.default.Messages.ACTIVITY_REPORTED_BODY},e))})))},onClose:r,transitionState:m,otherKey:p.ActivityFeedbackReasons.OTHER})}O.displayName="ActivityFeedback"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return[{value:a.ActivityFeedbackReasons.FAILED_LOAD,label:e?o.default.Messages.ACTIVITY_REPORT_ACTIVITY_END_FAILED_LOAD:o.default.Messages.ACTIVITY_REPORT_ACTIVITY_FAILED_LOAD},{value:a.ActivityFeedbackReasons.LAGGING,label:e?o.default.Messages.ACTIVITY_REPORT_ACTIVITY_END_LAGGING:o.default.Messages.ACTIVITY_REPORT_ACTIVITY_LAGGING},{value:a.ActivityFeedbackReasons.CONFUSING,label:e?o.default.Messages.ACTIVITY_REPORT_ACTIVITY_END_CONFUSING:o.default.Messages.ACTIVITY_REPORT_ACTIVITY_CONFUSING},{value:a.ActivityFeedbackReasons.NOT_FUN,label:e?o.default.Messages.ACTIVITY_REPORT_ACTIVITY_END_NOT_FUN:o.default.Messages.ACTIVITY_REPORT_ACTIVITY_NOT_FUN},{value:a.ActivityFeedbackReasons.OTHER,label:o.default.Messages.CALL_FEEDBACK_OPTION_OTHER}]};var r,a=n(156),o=(r=n(6))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,l,u,s){void 0===s&&(s=null);a.default.track(o.AnalyticEvents.ACTIVITY_REPORT_PROBLEM,i({reason:e,guild_id:t.getGuildId(),channel_id:t.id,application_id:null==r?void 0:r.id,application_name:null==r?void 0:r.name,location:u,rating:s,feedback:n},l))};var r,a=(r=n(13))&&r.__esModule?r:{default:r},o=n(1);function i(){return(i=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=O;var r,a=h(n(0)),o=m(n(9269)),i=m(n(8552)),l=n(196),u=m(n(9098)),s=m(n(9099)),d=n(395),f=n(1220),c=h(n(41)),p=m(n(13)),v=n(1),y=m(n(6));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(){return(g=Object.assign||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}).apply(this,arguments)}var S=[l.StreamIssueReportReasons.OTHER];function O(e){var t=e.isStreamer,n=e.stream,r=e.streamApplication,m=e.onClose,_=e.transitionState,h=e.analyticsData,O=t?y.default.Messages.STREAM_REPORT_RATING_BODY_STREAMER:y.default.Messages.STREAM_REPORT_RATING_BODY;return a.useEffect((function(){p.default.track(v.AnalyticEvents.OPEN_MODAL,{type:"Stream Problem Report",other_user_id:n.ownerId,application_id:null!=r?r.id:null,application_name:null!=r?r.name:null,game_id:null!=r?r.id:null,source:"Stream End"})}),[n.ownerId,r]),E(o.default,{header:y.default.Messages.STREAM_REPORT_A_PROBLEM_POST_STREAM,body:O,problemTitle:y.default.Messages.STREAM_REPORT_LABEL,problems:(0,u.default)(t,!0),feedbackProblems:S,onSubmit:function(e){var t=e.rating,o=e.problem,l=e.dontShowAgain,u=e.feedback;l&&(0,f.hideHotspot)(d.HotspotLocations.REPORT_PROBLEM_POST_STREAM),null!=t&&((0,s.default)(o,n,u,r,h,"Stream End",t),null!=o&&c.openModal((function(e){return a.createElement(i.default,g({body:y.default.Messages.STREAM_REPORTED_BODY},e))})))},onClose:m,transitionState:_,otherKey:l.StreamIssueReportReasons.OTHER})}O.displayName="ReportProblem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;var r,a=m(n(0)),o=v(n(1300)),i=v(n(9269)),l=v(n(8552)),u=n(395),s=n(1220),d=v(n(10796)),f=v(n(10797)),c=m(n(41)),p=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(){return(h=Object.assign||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}).apply(this,arguments)}var E=[o.default.CALL_FEEDBACK_OPTION_OTHER];function g(e){var t=e.onClose,n=e.transitionState,r=e.analyticsData;return _(i.default,{header:p.default.Messages.CALL_FEEDBACK_SHEET_TITLE,body:p.default.Messages.CALL_FEEDBACK_PROMPT,problemTitle:p.default.Messages.CALL_FEEDBACK_ISSUE_SECTION_HEADER,problems:(0,d.default)(!1),feedbackProblems:E,onSubmit:function(e){var t,n,o,i=e.rating,v=e.problem,y=e.dontShowAgain,m=e.feedback;y&&(0,s.hideHotspot)(u.HotspotLocations.VOICE_CALL_FEEDBACK),null!=i&&((0,f.default)(i,(t=v,null!==(n=null===(o=(0,d.default)(!1).find((function(e){return e.label===t})))||void 0===o?void 0:o.code)&&void 0!==n?n:null),v,m,r),null!=v&&c.openModal((function(e){return a.createElement(l.default,h({body:p.default.Messages.CALL_FEEDBACK_CONFIRMATION},e))})))},onClose:t,transitionState:n,otherKey:o.default.CALL_FEEDBACK_OPTION_OTHER})}g.displayName="VoiceCallFeedbackModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=[{label:a.default.Messages.CALL_FEEDBACK_OPTION_COULD_NOT_HEAR_AUDIO,code:2,value:r.default.CALL_FEEDBACK_OPTION_COULD_NOT_HEAR_AUDIO},{label:a.default.Messages.CALL_FEEDBACK_OPTION_NOBODY_COULD_HEAR_ME,code:3,value:r.default.CALL_FEEDBACK_OPTION_NOBODY_COULD_HEAR_ME},{label:a.default.Messages.CALL_FEEDBACK_OPTION_AUDIO_ECHOS,code:4,value:r.default.CALL_FEEDBACK_OPTION_AUDIO_ECHOS},{label:a.default.Messages.CALL_FEEDBACK_OPTION_AUDIO_ROBOTIC,code:5,value:r.default.CALL_FEEDBACK_OPTION_AUDIO_ROBOTIC},{label:a.default.Messages.CALL_FEEDBACK_OPTION_AUDIO_CUT,code:6,value:r.default.CALL_FEEDBACK_OPTION_AUDIO_CUT},{label:a.default.Messages.CALL_FEEDBACK_OPTION_BAD_VOLUME,code:7,value:r.default.CALL_FEEDBACK_OPTION_BAD_VOLUME},{label:a.default.Messages.CALL_FEEDBACK_OPTION_BACKGROUND_NOISE,code:8,value:r.default.CALL_FEEDBACK_OPTION_BACKGROUND_NOISE}];e&&t.push({label:a.default.Messages.CALL_FEEDBACK_OPTION_SPEAKERPHONE,code:9,value:r.default.CALL_FEEDBACK_OPTION_SPEAKERPHONE});return t.push({label:a.default.Messages.CALL_FEEDBACK_OPTION_HEADSET,code:10,value:r.default.CALL_FEEDBACK_OPTION_HEADSET},{label:a.default.Messages.CALL_FEEDBACK_OPTION_OTHER,code:1,value:r.default.CALL_FEEDBACK_OPTION_OTHER}),t};var r=o(n(1300)),a=o(n(6));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i,u){var s=r.default.getSettings(),d=r.default.getInputDeviceId(),f=r.default.getInputDevices()[d],c=r.default.getOutputDeviceId(),p=r.default.getOutputDevices()[c],v=r.default.getVideoDeviceId(),y=r.default.getVideoDevices()[v],m=r.default.getNoiseCancellation();a.default.track(o.AnalyticEvents.CALL_REPORT_PROBLEM,l({rating:e||"no response",reason_code:t,reason_description:n,feedback:i,audio_input_mode:s.mode,automatic_audio_input_sensitivity_enabled:s.modeOptions.autoThreshold,audio_input_sensitivity:s.modeOptions.threshold,echo_cancellation_enabled:s.echoCancellation,noise_suppression_enabled:s.noiseSuppression,automatic_gain_control_enabled:s.automaticGainControl,voice_output_volume:s.outputVolume,noise_cancellation_enabled:m,input_device_name:null==f?void 0:f.name,output_device_name:null==p?void 0:p.name,video_device_name:null==y?void 0:y.name},u))};var r=i(n(51)),a=i(n(13)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(28)),a=u(n(216)),o=n(8277),i=u(n(702)),l=n(8795);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var u=a.prototype;return u.getLastVoiceFeedbackDate=function(){var e;return null!==(e=r.default.get(l.LAST_VOICE_FEEDBACK_DATE_STORAGE_KEY))&&void 0!==e?e:null},u.getLastActivityFeedbackDate=function(){var e;return null!==(e=r.default.get(l.LAST_ACTIVITY_FEEDBACK_DATE_STORAGE_KEY))&&void 0!==e?e:null},u.updateLastVoiceFeedbackDate=function(){r.default.set(l.LAST_VOICE_FEEDBACK_DATE_STORAGE_KEY,Date.now())},u.updateLastActivityFeedbackDate=function(){r.default.set(l.LAST_ACTIVITY_FEEDBACK_DATE_STORAGE_KEY,Date.now())},u.shouldShowVoiceFeedback=function(){var e=this.getLastVoiceFeedbackDate(),t=null==e||Date.now()-e>=l.END_VOICE_FEEDBACK_COOLDOWN;return Math.random()<l.END_VOICE_FEEDBACK_CHANCE&&i.default.hasHotspot(o.HotspotLocations.VOICE_CALL_FEEDBACK)&&t},u.shouldShowActivityFeedback=function(){var e=this.getLastActivityFeedbackDate(),t=null==e||Date.now()-e>=l.END_ACTIVITY_FEEDBACK_COOLDOWN;return Math.random()<l.END_ACTIVITY_FEEDBACK_CHANCE&&i.default.hasHotspot(o.HotspotLocations.POST_ACTIVITY_FEEDBACK)&&t},u.shouldShowStreamFeedback=function(){return Math.random()<l.END_STREAM_FEEDBACK_CHANCE&&i.default.hasHotspot(o.HotspotLocations.REPORT_PROBLEM_POST_STREAM)},a}(a.default);t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(2)),a=u(n(478)),o=u(n(26)),i=u(n(71)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var f={};function c(e){var t=e.name,n=e.hash,r=e.missingData;i.default.markGameReported(t);for(var l,u=s(r);!(l=u()).done;){var d=l.value;switch(d){case"icon":var c=f[t];return void(null!=c&&a.default.uploadIcon(t,n,c));default:new o.default("GameStoreIconManager").log("Could not find missing data key: "+d)}}}function p(e){var t=e.gameName,n=e.icon;f[t]=n}var v={initialize:function(){r.default.subscribe(l.ActionTypes.UNVERIFIED_GAME_UPDATE,c),r.default.subscribe(l.ActionTypes.GAME_ICON_UPDATE,p)}};t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(2)),a=d(n(478)),o=n(8716),i=d(n(216)),l=d(n(11)),u=d(n(120)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=new(function(e){var t,n;function i(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).handleConnectionOpen=function(){var e=l.default.isGuest();u.default.fetched||e||(0,o.fetchLibrary)(),a.default.getDetectableGames()},t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var d=i.prototype;return d._initialize=function(){r.default.subscribe(s.ActionTypes.CONNECTION_OPEN,this.handleConnectionOpen)},d._terminate=function(){r.default.unsubscribe(s.ActionTypes.CONNECTION_OPEN,this.handleConnectionOpen)},i}(i.default));t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkLaunchableGame=s,t.default=void 0;var r=u(n(2)),a=u(n(71)),o=u(n(312)),i=u(n(1245)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e){var t=i.default.launchableGames[e],n=a.default.getGame(e);return(null!=n?o.default.isLaunchable(n):o.default.isGameLaunchable(e)).then((function(n){n!==t&&r.default.dispatch({type:l.ActionTypes.GAME_LAUNCHABLE_UPDATE,gameId:e,isLaunchable:n})}))}function d(e){s(e.gameId)}var f={initialize:function(){r.default.subscribe(l.ActionTypes.CHECK_LAUNCHABLE_GAME,d)}};t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(8786),a=i(n(120)),o=i(n(1167));function i(e){return e&&e.__esModule?e:{default:e}}var l={init:function(){a.default.whenInitialized((function(){null!=o.default.testModeApplicationId&&(0,r.authorizeAndSetTestModeApplication)(o.default.testModeApplicationId,o.default.testModeOriginURL)}))}};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(2)),a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(266)),o=s(n(11)),i=n(263),l=n(1);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}function d(){if((0,i.isSupportedPlatform)()){var e=o.default.getToken(),t=o.default.getId();if(null==e)throw new Error("missing user token");a.init(e,t)}}function f(){a.destroy()}var c={init:function(){r.default.subscribe(l.ActionTypes.CONNECTION_OPEN,d),r.default.subscribe(l.ActionTypes.LOGOUT,f)}};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=h(n(0)),a=m(n(2)),o=m(n(288)),i=n(364),l=m(n(10805)),u=m(n(163)),s=m(n(11)),d=m(n(94)),f=h(n(41)),c=m(n(5966)),p=m(n(10806)),v=n(140),y=n(1);function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}var E={init:function(){p.default.init(),a.default.subscribe(y.ActionTypes.MEDIA_ENGINE_VIDEO_STATE_CHANGED,(function(e){var t=e.videoState,n=u.default.getActiveStreamForUser(s.default.getId());if(null!=n){var r=t===y.MediaEngineVideoStates.PAUSED;(0,i.setStreamPaused)(n,r)}})),a.default.subscribe(y.ActionTypes.STREAM_DELETE,(function(e){e.reason===y.ApplicationStreamDeleteReasons.STREAM_FULL&&((0,i.closeStream)(e.streamKey,!1),f.openModal((function(e){return r.createElement(l.default,e)})))})),a.default.subscribe(y.ActionTypes.STREAM_WATCH,(function(e){var t=e.streamKey;if(!e.allowMultiple){var n=(0,v.decodeStreamKey)(t);u.default.getAllActiveStreams().forEach((function(e){e.ownerId!==n.ownerId&&e.ownerId!==s.default.getId()&&(e.ownerId===s.default.getId()&&o.default.setDesktopSource(null),(0,i.closeStream)((0,v.encodeStreamKey)(e),!1))}))}})),a.default.subscribe(y.ActionTypes.VOICE_STATE_UPDATE,(function(e){if(e.userId===s.default.getId()){var t=u.default.getAllActiveStreams(),n=d.default.getChannelId();t.forEach((function(e){e.channelId!==n&&(0,c.default)(e,!1)}))}}))}};t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=c(n(29)),o=c(n(55)),i=n(85),l=c(n(159)),u=n(35),s=c(n(24)),d=c(n(6)),f=c(n(7930));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e){var t=e.onClose,n=e.transitionState,r=(0,i.useUID)();return v(u.ModalRoot,{"aria-labelledby":r,size:u.ModalSize.SMALL,transitionState:n},void 0,v(u.ModalHeader,{justify:o.default.Justify.BETWEEN,id:r},void 0,v(l.default,{tag:l.default.Tags.H2,className:f.default.header},void 0,d.default.Messages.STREAM_FULL_MODAL_HEADER),v(u.ModalCloseButton,{onClick:t,className:f.default.modalCloseButton})),v(u.ModalContent,{},void 0,v(s.default,{size:s.default.Sizes.SIZE_16,className:f.default.content},void 0,d.default.Messages.STREAM_FULL_MODAL_BODY),v("div",{className:f.default.fullArt})),v(u.ModalFooter,{},void 0,v(a.default,{onClick:t},void 0,d.default.Messages.OKAY)))}y.displayName="StreamFullModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(57),a=v(n(2)),o=n(364),i=v(n(163)),l=v(n(11)),u=v(n(10)),s=v(n(386)),d=v(n(36)),f=v(n(1270)),c=n(140),p=n(1);function v(e){return e&&e.__esModule?e:{default:e}}function y(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var _=new r.Timeout,h=new r.Timeout,E=null;function g(e,t){var n=u.default.getChannel(e),r=i.default.getActiveStreamForUser(t);if((null==n?void 0:n.isDM())&&d.default.getVoiceChannelId()===e&&null==r){var a=i.default.getStreamForUser(t);if(null==a)return!1;var l=(0,c.encodeStreamKey)(a);return l!==E&&(E=l,(0,o.watchStream)(a,{noFocus:!0}),!0)}return!1}function S(e,t){var n=null!=t?t:s.default.getPreferredRegion();null!=n&&n!==s.default.getRegion(f.default.getHostname())&&(0,o.changeStreamRegion)(e,n)}var O={init:function(){var e=function(e){f.default.getAllActiveStreamKeys().includes(e)||h.start(5e3,(function(){a.default.dispatch({type:p.ActionTypes.STREAM_TIMED_OUT,streamKey:e})}))};a.default.subscribe(p.ActionTypes.STREAM_WATCH,(function(t){var n=t.streamKey;e(n)})),a.default.subscribe(p.ActionTypes.STREAM_START,(function(t){var n=t.streamType,r=t.guildId,a=t.channelId;e((0,c.encodeStreamKey)({streamType:n,guildId:r,channelId:a,ownerId:l.default.getId()}))})),a.default.subscribe(p.ActionTypes.STREAM_CREATE,(function(){h.stop()})),a.default.subscribe(p.ActionTypes.STREAM_UPDATE,(function(){h.stop()})),a.default.subscribe(p.ActionTypes.STREAM_DELETE,(function(){h.stop()})),a.default.subscribe(p.ActionTypes.STREAM_CLOSE,(function(){_.stop(),h.stop()})),a.default.subscribe(p.ActionTypes.VOICE_CHANNEL_SELECT,(function(e){var t=e.channelId;if(null!=t){E=null;var n=i.default.getAllApplicationStreamsForChannel(t).filter((function(e){return e.ownerId!==l.default.getId()}))[0];null!=n&&g(t,n.ownerId)}})),a.default.subscribe(p.ActionTypes.VOICE_STATE_UPDATE,(function(e){var t=e.userId,n=e.channelId,r=e.selfStream;if(t!==l.default.getId()&&null!=n){if(r&&g(n,t))return;var a=i.default.getActiveStreamForUser(t);if(null!=a&&a.channelId===n&&(r||a.state===p.ApplicationStreamStates.ENDED||_.start(18e4,(function(){return(0,o.closeStream)((0,c.encodeStreamKey)(a),!1)})),r&&a.state===p.ApplicationStreamStates.ENDED)){_.stop();var u=i.default.getStreamForUser(t);if(null==u)return;(0,o.watchStream)(u)}}})),a.default.subscribe(p.ActionTypes.CALL_UPDATE,(function(e){var t=e.channelId,n=e.region,r=i.default.getActiveStreamForUser(l.default.getId());(null==r?void 0:r.channelId)===t&&S((0,c.encodeStreamKey)(r),n)})),a.default.subscribe(p.ActionTypes.CHANNEL_UPDATES,(function(e){var t=e.updates,n=i.default.getActiveStreamForUser(l.default.getId());if(null!=n)for(var r,a=y(t);!(r=a()).done;){var o=r.value;n.channelId===o.channel.id&&S((0,c.encodeStreamKey)(n),o.channel.rtcRegion)}}))}};t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(2)),a=n(5829),o=n(5672),i=c(n(216)),l=c(n(1280)),u=c(n(8492)),s=c(n(15)),d=c(n(8493)),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e){var t=u.default.getCurrentConfig({guildId:e}).enabled,n=l.default.getCurrentConfig({guildId:e}).enabled;(t||n)&&d.default.fetchGuildEventsForGuild(e)}var _=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var l=i.prototype;return l._initialize=function(){r.default.subscribe(f.ActionTypes.CONNECTION_OPEN,this.handleConnectionOpen),r.default.subscribe(f.ActionTypes.GUILD_CREATE,this.handleGuildCreate),r.default.subscribe(f.ActionTypes.GUILD_SCHEDULED_EVENT_CREATE,this.handleGuildScheduledEventCreate),r.default.subscribe(f.ActionTypes.FETCH_GUILD_EVENTS_FOR_GUILD,this.handleGuildScheduledEventFetch)},l._terminate=function(){r.default.unsubscribe(f.ActionTypes.CONNECTION_OPEN,this.handleConnectionOpen),r.default.unsubscribe(f.ActionTypes.GUILD_CREATE,this.handleGuildCreate),r.default.unsubscribe(f.ActionTypes.GUILD_SCHEDULED_EVENT_CREATE,this.handleGuildScheduledEventCreate),r.default.unsubscribe(f.ActionTypes.FETCH_GUILD_EVENTS_FOR_GUILD,this.handleGuildScheduledEventFetch)},l.handleConnectionOpen=function(){for(var e=0,t=Object.keys(s.default.getGuilds());e<t.length;e++){m(t[e])}d.default.getGuildEventsForCurrentUser()},l.handleGuildCreate=function(e){m(e.guild.id)},l.handleGuildScheduledEventCreate=function(e){for(var t,n=v(e.guildScheduledEvent.sku_ids);!(t=n()).done;){var r=t.value;(0,o.fetchSKU)("",r)}},l.handleGuildScheduledEventFetch=function(e){var t=function(e){for(var t,n=v(e);!(t=n()).done;)for(var r,a=v(t.value.skus);!(r=a()).done;){var o=r.value;if(null!=(null==o?void 0:o.application_id))return o.application_id}return null}(e.guildScheduledEvents);null!=t&&(0,a.fetchUserEntitlementsForApplication)(t)},i}(i.default));t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(2)),a=s(n(10309)),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(1220)),i=n(395),l=n(1);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}var d=!1,f={init:function(){r.default.subscribe(l.ActionTypes.VOICE_CHANNEL_SELECT,(function(e){var t=e.channelId;a.default.subscribe({},(function(e){d=e.showPopout}))(),d&&null==t&&o.hideHotspot(i.HotspotLocations.VOICE_PANEL_INTRODUCTION)}))}};t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(14)),a=s(n(1390)),o=s(n(216)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(8796)),l=n(1);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}function d(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){d(o,r,a,i,l,"next",e)}function l(e){d(o,r,a,i,l,"throw",e)}i(void 0)}))}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=new(function(e){var t,n;function o(){for(var t,n=arguments.length,o=new Array(n),u=0;u<n;u++)o[u]=arguments[u];return(t=e.call.apply(e,[this].concat(o))||this).checked=!1,t.unsubscribe=null,t.handleExperimentUpdate=f(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.checked||!(0,i.inIncentiviedInstallExperiment)()){e.next=6;break}return t.checked=!0,e.next=4,r.default.get(l.Endpoints.ICENTIVIZED_INSTALL);case 4:(n=e.sent).ok&&n.body.eligible&&a.default.show(l.NoticeTypes.INCENTIVIZED_INSTALL);case 6:case"end":return e.stop()}}),e)}))),t}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var u=o.prototype;return u._initialize=function(){this.unsubscribe=i.default.subscribe({},this.handleExperimentUpdate)},u._terminate=function(){var e;null===(e=this.unsubscribe)||void 0===e||e.call(this)},o}(o.default));t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(57),a=l(n(2)),o=l(n(216)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=new(function(e){var t,n;function o(){for(var t,n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];return(t=e.call.apply(e,[this].concat(o))||this).clearErrorTimeout=new r.Timeout,t.handleNoiseCancellationError=function(){t.clearErrorTimeout.start(3e3,(function(){return a.default.dispatch({type:i.ActionTypes.MEDIA_ENGINE_NOISE_CANCELLATION_ERROR_RESET})}))},t}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var l=o.prototype;return l._initialize=function(){a.default.subscribe(i.ActionTypes.MEDIA_ENGINE_NOISE_CANCELLATION_ERROR,this.handleNoiseCancellationError)},l._terminate=function(){this.clearErrorTimeout.stop(),a.default.unsubscribe(i.ActionTypes.MEDIA_ENGINE_NOISE_CANCELLATION_ERROR,this.handleNoiseCancellationError)},o}(o.default));t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(0)),a=s(n(2)),o=s(n(216)),i=f(n(10812)),l=n(41),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=new(function(e){var t,n;function o(){for(var t,n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return(t=e.call.apply(e,[this].concat(a))||this)._openReportMessageModal=function(e){var t=e.channel,n=e.message;(0,l.openModal)((function(e){return r.createElement(i.default,c({channel:t,message:n},e))}),{modalKey:i.REPORT_MESSAGE_MODAL_KEY})},t}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var s=o.prototype;return s._initialize=function(){a.default.subscribe(u.ActionTypes.REPORT_MESSAGE_MODAL_OPEN,this._openReportMessageModal)},s._terminate=function(){a.default.unsubscribe(u.ActionTypes.REPORT_MESSAGE_MODAL_OPEN,this._openReportMessageModal)},o}(o.default));t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.REPORT_MESSAGE_MODAL_KEY=void 0;var r,a=v(n(0)),o=c(n(8495)),i=c(n(5673)),l=n(35),u=v(n(10813)),s=c(n(10920)),d=c(n(6)),f=c(n(7400));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function _(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){m(o,r,a,i,l,"next",e)}function l(e){m(o,r,a,i,l,"throw",e)}i(void 0)}))}}var h;t.REPORT_MESSAGE_MODAL_KEY="REPORT_MESSAGE",function(e){e[e.REPORT_MESSAGE=0]="REPORT_MESSAGE",e[e.SUCCESS=1]="SUCCESS"}(h||(h={}));var E=[h.REPORT_MESSAGE,h.SUCCESS],g=y(u.ErrorState,{}),S=function(e){var t=e.message,n=e.channel,r=e.onClose,c=e.transitionState,p=a.useState(!1),v=p[0],m=p[1],S=a.useState(null),O=S[0],I=S[1],T=a.useState(h.REPORT_MESSAGE),C=T[0],b=T[1],M=a.useState(null),N=M[0],A=M[1],P=a.useState(null),R=P[0],L=P[1];a.useEffect((function(){var e=function(){var e=_(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o.default.tokenizeReportedMessage(n.id,t.id);case 3:r=e.sent,I(r),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),m(!0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}(),r=function(){var e=_(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.default.getOptions();case 2:t=e.sent,n=t.typeOptions,r=t.subTypeOptions,A(n),L(r);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e(),v||r()}),[n.id,v,t.id]);var D=y(u.default,{token:O,message:t,channel:n,onClose:r,onSuccess:function(){b(h.SUCCESS)},typeOptions:N,subTypeOptions:R}),w=y(s.default,{message:t,channel:n,onClose:r});return y(l.ModalRoot,{transitionState:c,size:l.ModalSize.DYNAMIC,className:f.default.modal,"aria-label":d.default.Messages.REPORT_MODAL_REPORT_MESSAGE},void 0,v?g:y(i.default,{step:C,steps:E},void 0,C===h.REPORT_MESSAGE?null==N||null==R||null==O?null:D:w))};S.displayName="ReportMessageModal";var O=S;t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ErrorState=t.REPORT_MESSAGE_MODAL_KEY=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=g(n(8495)),i=g(n(106)),l=g(n(8375)),u=g(n(29)),s=g(n(1164)),d=g(n(8272)),f=g(n(153)),c=n(131),p=n(35),v=g(n(47)),y=n(374),m=g(n(272)),_=n(1),h=g(n(6)),E=g(n(7400));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}t.REPORT_MESSAGE_MODAL_KEY="REPORT_MESSAGE";var T=function(e){var t=e.className;return I(s.default,{className:t},void 0,h.default.Messages.REPORT_MODAL_ERROR.format({tnsReportUrl:"https://dis.gd/request"}))};t.ErrorState=T,T.displayName="ErrorState";var C=function(e){var t,n,r=e.token,s=e.channel,g=e.message,S=e.typeOptions,C=e.subTypeOptions,b=e.onClose,M=e.onSuccess,N=a.useState(null),A=N[0],P=N[1],R=a.useState(null),L=R[0],D=R[1],w=a.useState(""),j=w[0],k=w[1],U=a.useState(""),G=U[0],F=U[1],B=a.useState(!1),H=B[0],x=B[1],V=a.useState(!1),W=V[0],Y=V[1],z=null!=A&&null!=C[A],K=null!=L||!z,$=function(e){A!==e&&(P(e),D(null))},Z=function(e){L!==e&&D(e)},q=function(){var e,t=(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=A){e.next=2;break}return e.abrupt("return");case 2:return x(!0),e.prev=3,i.default.trackWithMetadata(_.AnalyticEvents.MESSAGE_REPORTED,{report_type:A,report_sub_type:L,subject:j,description:G,location_object:"report_message_modal",guild_id:s.getGuildId(),channel_id:s.id,message_id:g.id}),e.next=7,o.default.submitReport(r,A,L,j,G);case 7:x(!1),M(),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(3),x(!1),Y(!0);case 15:case"end":return e.stop()}}),e,null,[[3,11]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){O(o,r,a,i,l,"next",e)}function l(e){O(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}(),X=I(f.default,{value:j,onChange:k}),J=I(d.default,{value:G,onChange:F});return a.createElement(a.Fragment,null,I(p.ModalContent,{className:E.default.content},void 0,I(v.default,{className:E.default.modalHeader,size:v.default.Sizes.SIZE_24},void 0,h.default.Messages.REPORT_MODAL_REPORT_MESSAGE),W&&I(T,{className:E.default.formItem}),I(c.FormItem,{title:h.default.Messages.REPORT_MODAL_MESSAGE_SELECTED,className:E.default.formItem},void 0,I(m.default,{className:E.default.message},void 0,I(l.default,{channel:s,message:g,animateAvatar:!1,disableInteraction:!0}))),(t=S.find((function(e){return e.value===A})),n=null!=t?t.description:null,a.createElement(a.Fragment,null,I(c.FormItem,{className:E.default.formItem,title:h.default.Messages.REPORT_MODAL_TYPE_TITLE,required:!0},void 0,I(y.SingleSelect,{placeholder:h.default.Messages.REPORT_MODAL_SELECT_ONE,options:S,value:A,onChange:$,maxVisibleItems:6})),I(c.FormText,{type:c.FormText.Types.DESCRIPTION,className:E.default.description},void 0,n))),null!=A&&z?I(c.FormItem,{title:C[A].subTypeQuestion,className:E.default.formItem,required:!0},void 0,I(y.SingleSelect,{placeholder:h.default.Messages.REPORT_MODAL_SELECT_ONE,options:C[A].subTypes,value:L,onChange:Z})):null,null!=A&&K?a.createElement(a.Fragment,null,I(c.FormItem,{title:h.default.Messages.REPORT_MODAL_SUBJECT,className:E.default.formItem,required:!0},void 0,X),I(c.FormItem,{title:h.default.Messages.REPORT_MODAL_DESCRIPTION,className:E.default.formItem,required:!0},void 0,J,I(c.FormText,{type:c.FormText.Types.DESCRIPTION,className:E.default.description},void 0,h.default.Messages.REPORT_MODAL_DESCRIPTION_MIN_MAX.format({min:0,max:800})),G.length>800?I(c.FormText,{type:c.FormText.Types.DESCRIPTION,className:E.default.descriptionError},void 0,h.default.Messages.REPORT_MODAL_DESCRIPTION_MAX_EXCEEDED):null)):null),I(p.ModalFooter,{className:E.default.footer},void 0,I(u.default,{color:u.default.Colors.PRIMARY,look:u.default.Looks.LINK,onClick:b},void 0,h.default.Messages.CANCEL),I(u.default,{onClick:q,disabled:!K||0===j.length||G.length<0||G.length>800,submitting:H},void 0,h.default.Messages.REPORT_MODAL_SUBMIT)))};t.default=C},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(390)),i=m(n(1217)),l=m(n(8375)),u=m(n(29)),s=n(131),d=n(35),f=m(n(47)),c=m(n(272)),p=n(1),v=m(n(6)),y=m(n(7400));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var E=function(e){var t=e.onClose,n=e.message,r=e.channel,m=null==r.guild_id,_=m?v.default.Messages.REPORT_MODAL_SHOULD_BLOCK:v.default.Messages.REPORT_MODAL_SHOULD_DELETE,E=m?v.default.Messages.REPORT_MODAL_BLOCK_USER:v.default.Messages.DELETE_MESSAGE;return a.createElement(a.Fragment,null,h(d.ModalContent,{className:y.default.successModalContent},void 0,h(f.default,{size:f.default.Sizes.SIZE_24},void 0,v.default.Messages.REPORT_MODAL_SUBMITTED),h(s.FormText,{type:s.FormText.Types.DESCRIPTION,className:y.default.successModalText},void 0,v.default.Messages.REPORT_MODAL_SUBMITTED_EMAIL_CONFIRMATION),h(s.FormItem,{className:y.default.messageFormItem,title:_},void 0,h(c.default,{className:y.default.message},void 0,h(l.default,{channel:r,message:n,animateAvatar:!1,disableInteraction:!0})))),h(d.ModalFooter,{className:y.default.footer},void 0,h(u.default,{color:u.default.Colors.PRIMARY,look:u.default.Looks.LINK,onClick:t},void 0,v.default.Messages.CLOSE),h(u.default,{look:u.default.Looks.FILLED,color:u.default.Colors.RED,onClick:function(){m?i.default.addRelationship(n.author.id,{location:"Report Modal"},p.RelationshipTypes.BLOCKED):o.default.deleteMessage(r.id,n.id),t()}},void 0,E)))};t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=A(n(0)),a=M(n(2)),o=M(n(216)),i=A(n(10343)),l=A(n(735)),u=M(n(8398)),s=n(417),d=M(n(749)),f=M(n(8451)),c=A(n(8523)),p=M(n(8932)),v=M(n(298)),y=M(n(15)),m=M(n(107)),_=M(n(12)),h=n(41),E=A(n(48)),g=M(n(16)),S=A(n(8660)),O=n(8570),I=M(n(9136)),T=n(9654),C=M(n(10922)),b=n(1);function M(e){return e&&e.__esModule?e:{default:e}}function N(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return N=function(){return e},e}function A(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=N();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function P(){return(P=Object.assign||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}).apply(this,arguments)}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var L=new(function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,R(t,n);var M=o.prototype;return M._initialize=function(){a.default.subscribe(b.ActionTypes.CONNECTION_OPEN,this.handleConnectionOpen)},M._terminate=function(){a.default.unsubscribe(b.ActionTypes.CONNECTION_OPEN,this.handleConnectionOpen)},M.handleConnectionOpen=function(){var e=I.default.getType();if(null!=e){switch(e){case O.NewUserTypes.INVITE_UNCLAIMED:d.default.flowStart(s.FlowType.INVITE,s.RegistrationSteps.NUF_STARTED);break;case O.NewUserTypes.ORGANIC_REGISTERED:d.default.flowStart(s.FlowType.ORGANIC,s.RegistrationSteps.NUF_STARTED);break;case O.NewUserTypes.MARKETING_UNCLAIMED:d.default.flowStart(s.FlowType.ORGANIC_MARKETING,s.RegistrationSteps.NUF_STARTED)}var t=!1,n=m.default.getGuildId();if(e===O.NewUserTypes.INVITE_UNCLAIMED){var a=y.default.getGuild(n);null!=a&&a.hasFeature(b.GuildFeatures.MEMBER_VERIFICATION_GATE_ENABLED)&&a.hasFeature(b.GuildFeatures.COMMUNITY)&&(t=!0,f.default.fetchWelcomeScreen(a.id))}var o,M,N=0===v.default.totalGuilds&&!g.default.embedded,A=i.userNeedsAgeGate();o=[{key:"Unified NUF Modal",open:function(e){var t=function(e){switch(e){case T.NUFSlides.AGE_GATE:d.default.flowStep(s.FlowType.ANY,s.RegistrationSteps.AGE_GATE);break;case T.NUFSlides.CHOOSE_TEMPLATE:d.default.flowStep(s.FlowType.ANY,s.CreateGuildSteps.GUILD_TEMPLATES);break;case T.NUFSlides.CUSTOMIZE_GUILD:d.default.flowStep(s.FlowType.ANY,s.CreateGuildSteps.GUILD_CREATE);break;case T.NUFSlides.CHANNEL_PROMPT:d.default.flowStep(s.FlowType.ANY,s.CreateGuildSteps.CHANNEL_PROMPT);break;case T.NUFSlides.JOIN_GUILD:d.default.flowStep(s.FlowType.ANY,s.CreateGuildSteps.JOIN_GUILD);break;case T.NUFSlides.CREATION_INTENT:d.default.flowStep(s.FlowType.ANY,s.CreateGuildSteps.CREATION_INTENT);break;case T.NUFSlides.COMPLETE:d.default.flowStep(s.FlowType.ANY,s.CreateGuildSteps.SUCCESS);break;case null:break;default:E.assertNever(e)}};(0,h.openModal)((function(e){return r.createElement(C.default,P({},e,{onSlideChange:t}))}),{onCloseRequest:b.NOOP,onCloseCallback:e})},predicate:function(){return N}},{key:"New User Age Gate",open:l.openNewUserAgeGateModal,predicate:function(){return A&&!N}},{key:"Claim Account Modal",open:function(e){return l.openClaimAccountModal(g.default.embedded,e)},predicate:function(){var e;return!t&&!(null===(e=_.default.getNullableCurrentUser())||void 0===e?void 0:e.isClaimed())}},{key:"Verification Gate with Claim Account",open:function(e){return(0,u.default)(n,e)},predicate:function(){var e;return t&&!(null===(e=_.default.getNullableCurrentUser())||void 0===e?void 0:e.isClaimed())}},{key:"Guild Welcome Modal",open:function(e){return(0,h.openModal)((function(e){return r.createElement(p.default,P({},e,{guildId:n}))}),{onCloseCallback:e})},predicate:function(){return null!=n&&null!=c.default.get(n)&&c.default.get(n)!==c.NO_WELCOME_SCREEN}}],M=function(){S.setNewUserFlowCompleted(),d.default.flowStep(s.FlowType.ANY,s.RegistrationSteps.NUF_COMPLETE,!0)},[].concat(o).reverse().forEach((function(e){var t=M;M=function(){e.predicate()?e.open(t):t()}})),M()}},o}(o.default));t.default=L},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=k;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=D();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=L(n(9)),i=n(95),l=n(3),u=n(9090),s=n(9086),d=n(9087),f=n(8791),c=L(n(9089)),p=L(n(12)),v=L(n(271)),y=L(n(55)),m=n(703),_=n(85),h=n(35),E=L(n(24)),g=L(n(13)),S=n(259),O=n(8570),I=L(n(9136)),T=n(9654),C=L(n(10923)),b=L(n(10924)),M=L(n(10925)),N=L(n(10926)),A=n(1),P=L(n(6)),R=L(n(7935));function L(e){return e&&e.__esModule?e:{default:e}}function D(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return D=function(){return e},e}function w(){return(w=Object.assign||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}).apply(this,arguments)}function j(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function k(e){var t=(0,_.useUID)(),n=e.onSlideChange,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onSlideChange"]),L=r.onClose,D=a.useState(!1),k=D[0],U=D[1],G=(0,l.useStateFromStores)([p.default],(function(){return p.default.getNullableCurrentUser()})),F=null!=G&&null==G.nsfwAllowed,B=a.useState(F?T.NUFSlides.AGE_GATE:T.NUFSlides.CHOOSE_TEMPLATE),H=B[0],x=B[1],V=a.useState(null),W=V[0],Y=V[1];a.useEffect((function(){n(k?T.NUFSlides.COMPLETE:H)}),[n,H,k]);var z,K=a.useState(null),$=K[0],Z=K[1],q=a.useState(null),X=q[0],J=q[1],Q=a.useState(!1),ee=Q[0],te=Q[1],ne=(0,l.useStateFromStores)([I.default],(function(){return I.default.getType()===O.NewUserTypes.INVITE_UNCLAIMED})),re=a.useCallback((function(e){J(e),x(T.NUFSlides.CREATION_INTENT),g.default.track(A.AnalyticEvents.GUILD_TEMPLATE_SELECTED,{template_name:e.label,template_code:e.code})}),[J,x]),ae=(0,d.useCreationIntentSlide)({hasFooter:!1,onBack:function(){J(null),x(T.NUFSlides.CHOOSE_TEMPLATE)},onCreationIntentChosen:function(e){te(e),x(T.NUFSlides.CUSTOMIZE_GUILD)}}),oe=ae.content,ie=ae.footer,le=(0,f.useCustomizeGuildSlide)({guildTemplate:X,titleClassName:R.default.customizeGuildTitle,hasFooter:!1,onGuildCreated:function(e){Z(e),(null==X?void 0:X.id)===u.GuildTemplateId.CREATE?x(T.NUFSlides.CHANNEL_PROMPT):U(!0)},onBack:function(){x(T.NUFSlides.CREATION_INTENT)},isSlideReady:W===T.NUFSlides.CUSTOMIZE_GUILD,isCommunity:ee}),ue=le.content,se=le.footer,de=(0,s.useChannelPromptSlide)({createdGuildId:$,hasFooter:!1,onChannelPromptCompleted:function(){U(!0)},isSlideReady:W===T.NUFSlides.CHANNEL_PROMPT}),fe=de.content,ce=de.footer,pe=(0,M.default)({onBack:function(){return x(T.NUFSlides.CHOOSE_TEMPLATE)},onComplete:function(){L()},onConnect:L,isSlideReady:W===T.NUFSlides.JOIN_GUILD}),ve=pe.content,ye=pe.footer;switch(H){case T.NUFSlides.CUSTOMIZE_GUILD:z=se;break;case T.NUFSlides.CHANNEL_PROMPT:z=ce;break;case T.NUFSlides.JOIN_GUILD:z=ye;break;case T.NUFSlides.CREATION_INTENT:z=ie}if(k)return a.createElement(h.ModalRoot,w({},r,{size:h.ModalSize.MEDIUM,className:(0,o.default)(R.default.modal,R.default.completed),"aria-labelledby":t}),j(b.default,{onComplete:L}));var me={impression_group:i.ImpressionGroups.GUILD_ADD_NUF};return a.createElement(h.ModalRoot,w({},r,{size:h.ModalSize.MEDIUM,className:R.default.modal,"aria-labelledby":t}),j("div",{className:R.default.sidebar},void 0,j(N.default,{step:H})),j("div",{className:(0,o.default)(R.default.content,(0,S.getThemeClass)(A.ThemeTypes.LIGHT))},void 0,j(m.Slides,{activeSlide:H,onSlideReady:function(e){return Y(e)},centered:!1},void 0,j(m.Slide,{id:T.NUFSlides.AGE_GATE},void 0,j("div",{className:R.default.container},void 0,j(C.default,{onComplete:function(){ne?L():x(T.NUFSlides.CHOOSE_TEMPLATE)},onClose:L}))),j(m.Slide,{id:T.NUFSlides.CHOOSE_TEMPLATE,impressionName:i.ImpressionNames.GUILD_ADD_LANDING,impressionMetadata:me},void 0,j("div",{className:(0,o.default)(R.default.container,R.default.shortFooter)},void 0,j(c.default,{className:R.default.templates,onChooseTemplate:re,isNewUser:!0}))),j(m.Slide,{id:T.NUFSlides.CREATION_INTENT,impressionName:i.ImpressionNames.GUILD_ADD_INTENT_SELECTION,impressionMetadata:me},void 0,j("div",{className:(0,o.default)(R.default.container,R.default.standardFooter)},void 0,oe)),j(m.Slide,{id:T.NUFSlides.CUSTOMIZE_GUILD,impressionName:i.ImpressionNames.GUILD_ADD_CUSTOMIZE,impressionMetadata:me},void 0,j("div",{className:(0,o.default)(R.default.container,R.default.standardFooter)},void 0,ue)),j(m.Slide,{id:T.NUFSlides.CHANNEL_PROMPT,impressionName:i.ImpressionNames.GUILD_ADD_CHANNEL_PROMPT,impressionMetadata:me},void 0,j("div",{className:(0,o.default)(R.default.container,R.default.standardFooter)},void 0,fe)),j(m.Slide,{id:T.NUFSlides.JOIN_GUILD,impressionName:i.ImpressionNames.GUILD_ADD_JOIN,impressionMetadata:me},void 0,j("div",{className:(0,o.default)(R.default.container,R.default.standardFooter)},void 0,ve))),H!==T.NUFSlides.AGE_GATE?j(h.ModalCloseButton,{onClick:L,className:R.default.closeButton}):null,H===T.NUFSlides.CHOOSE_TEMPLATE?j(h.ModalFooter,{justify:y.default.Justify.BETWEEN,className:(0,o.default)(R.default.footer,R.default.join)},void 0,j(v.default,{className:R.default.joinCTA,onClick:function(){x(T.NUFSlides.JOIN_GUILD)}},void 0,j(E.default,{size:E.default.Sizes.SIZE_14,className:R.default.joinCTA},void 0,P.default.Messages.NUF_HAVE_AN_INVITE_ALREADY," ",P.default.Messages.JOIN_SERVER_BUTTON_CTA))):null,null!=z?j(h.ModalFooter,{justify:y.default.Justify.BETWEEN,className:R.default.footer},void 0,z):null))}k.displayName="NUFModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=T;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(23)),i=n(3),l=n(1314),u=n(8790),s=E(n(1315)),d=E(n(12)),f=E(n(29)),c=E(n(284)),p=E(n(47)),v=E(n(24)),y=E(n(93)),m=n(1),_=E(n(6)),h=E(n(7931));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function I(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){O(o,r,a,i,l,"next",e)}function l(e){O(o,r,a,i,l,"throw",e)}i(void 0)}))}}function T(e){var t=e.onComplete,n=e.onClose,r=a.useState(null),E=r[0],g=r[1],O=a.useState(null),T=O[0],C=O[1],b=a.useState(!1),M=b[0],N=b[1],A=(0,i.useStateFromStores)([d.default],(function(){return d.default.getNullableCurrentUser()})),P=a.createRef();function R(){return(R=I(regeneratorRuntime.mark((function e(r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.preventDefault(),(0,o.default)(null!=E,"Cannot submit null birthday."),e.prev=2,C(null),N(!0),e.next=7,(0,l.submitDateOfBirth)(E,"NUF");case 7:t(),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(2),null!=e.t0.body&&null!=e.t0.body.date_of_birth?(n(),(0,u.openFailureAgeGateModal)(e.t0.body.date_of_birth,!0)):(C(e.t0.body.message),N(!1));case 13:case"end":return e.stop()}}),e,null,[[2,10]])})))).apply(this,arguments)}a.useEffect((function(){null!=A&&null!=A.nsfwAllowed&&t()}),[A,t]);var L=a.useCallback((function(e){g(e)}),[g]),D=a.useCallback((function(){var e;null===(e=P.current)||void 0===e||e.focus()}),[P]);return null==A?null:S("form",{className:h.default.content,onSubmit:function(e){return R.apply(this,arguments)}},void 0,S("div",{className:h.default.logo}),S(p.default,{className:h.default.title,size:p.default.Sizes.SIZE_24},void 0,_.default.Messages.NUF_JOIN_SERVER_TITLE_2),S(v.default,{color:v.default.Colors.STANDARD,className:h.default.description,size:v.default.Sizes.SIZE_16},void 0,_.default.Messages.NUF_AGE_GATE_BODY.format({helpURL:y.default.getArticleURL(m.HelpdeskArticles.AGE_GATE)})),S(c.default.Provider,{value:m.ThemeTypes.LIGHT},void 0,S(s.default,{required:!0,autoFocus:!0,wrapperClassName:h.default.formItem,label:_.default.Messages.AGE_GATE_YOUR_BIRTHDAY,name:"birthday",onChange:L,onPopulated:D,error:T,value:E})),S("div",{className:h.default.footer},void 0,S("div",{className:h.default.buttonWrapper},void 0,S(f.default,{buttonRef:P,type:"submit",size:f.default.Sizes.LARGE,submitting:M,disabled:null==E,fullWidth:!0},void 0,_.default.Messages.NEXT))))}T.displayName="AgeGate"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=d(n(9)),o=d(n(29)),i=d(n(61)),l=d(n(24)),u=d(n(6)),s=d(n(7932));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.onComplete;return c(i.default,{className:s.default.container,onClick:t},void 0,c(l.default,{size:l.default.Sizes.SIZE_24,className:s.default.title},void 0,u.default.Messages.NUF_COMPLETE_TITLE),c(l.default,{size:l.default.Sizes.SIZE_24,className:(0,a.default)(s.default.title,s.default.subtitle)},void 0,u.default.Messages.NUF_COMPLETE_SUBTITLE),c(o.default,{color:o.default.Colors.WHITE,onClick:t},void 0,u.default.Messages.NUF_COMPLETE_CTA))}p.displayName="Complete"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.onBack,r=e.onComplete,g=e.onConnect,S=e.isSlideReady,I=(0,c.useUID)(),T=a.useState(""),b=T[0],M=T[1],N=a.useState(!1),A=N[0],P=N[1],R=a.useState(null),L=R[0],D=R[1],w=a.useRef(null);a.useEffect((function(){var e;S&&(null===(e=w.current)||void 0===e||e.focus())}),[S]);var j=a.useCallback((function(e){e.preventDefault();var t=b.trim();if(""!==t){D(null),P(!0);var n=t.split("/"),a=n[n.length-1];i.default.resolveInvite(a,"Join Guild",{inputValue:t}).then((function(e){var t=e.invite;if(P(!1),null!=t){if(null!=t.channel){var n=i.default.getInviteContext("Join Guild",t);i.default.acceptInvite(t.code,n,(function(e){r(),i.default.transitionToInvite(e)})).catch((function(e){if(e instanceof u.V6OrEarlierAPIError){var t=(0,m.getInviteError)(e.code);D(t)}else D(h.default.Messages.INVITE_MODAL_ERROR_DEFAULT)}))}}else D(h.default.Messages.INSTANT_INVITE_EXPIRED)}),(function(e){P(!1);var t=new u.V6OrEarlierAPIError(e),n=(0,m.getInviteError)(t.code);D(n)}))}else D(h.default.Messages.INVALID_INVITE_LINK_ERROR)}),[b,P,D,r]),k=a.createElement(a.Fragment,null,O(v.ModalHeader,{className:E.default.header,direction:d.default.Direction.VERTICAL,separator:!1,id:I},void 0,O(y.default,{className:E.default.title,size:y.default.Sizes.SIZE_24,color:y.default.Colors.HEADER_PRIMARY},void 0,h.default.Messages.JOIN_SERVER_TITLE),O(y.default,{size:y.default.Sizes.SIZE_16,color:y.default.Colors.HEADER_SECONDARY},void 0,h.default.Messages.JOIN_SERVER_DESCRIPTION_NUF)),O(v.ModalContent,{},void 0,O("form",{onSubmit:j,className:E.default.inputForm},void 0,O(p.FormItem,{title:h.default.Messages.FORM_LABEL_INVITE_LINK,error:L,titleClassName:(0,o.default)(E.default.formTitle,(t={},t[E.default.error]=null!=L,t))},void 0,O(f.default,{value:b,onChange:M,className:E.default.input,inputClassName:E.default.inputInner,inputRef:w}))),O(y.default,{color:y.default.Colors.HEADER_SECONDARY,size:y.default.Sizes.SIZE_12},void 0,h.default.Messages.JOIN_SERVER_EXAMPLES.format({examples:C+"cool-people, hTKzmak"})),O(y.default,{size:y.default.Sizes.SIZE_12,color:y.default.Colors.HEADER_SECONDARY,className:E.default.connectCTA},void 0,h.default.Messages.JOIN_GUILD_CONNECT.format({onClick:function(){g(),l.default.open(_.UserSettingsSections.CONNECTIONS)}})))),U=a.createElement(a.Fragment,null,O(s.default,{color:s.default.Colors.BRAND,onClick:j,disabled:0===b.length,submitting:A},void 0,h.default.Messages.JOIN),O(s.default,{className:E.default.skipButton,look:s.default.Looks.BLANK,size:s.default.Sizes.MIN,onClick:n},void 0,h.default.Messages.BACK));return{content:k,footer:U}};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=g(n(9)),i=g(n(1211)),l=g(n(473)),u=n(275),s=g(n(29)),d=g(n(55)),f=g(n(153)),c=n(85),p=n(131),v=n(35),y=g(n(24)),m=n(8491),_=n(1),h=g(n(6)),E=g(n(7933));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var I,T,C=(I=window.GLOBAL_ENV.INVITE_HOST,T="",null==I&&(I=location.host,T=_.Routes.INVITE("")),location.protocol+"//"+I+T+"/")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(9)),o=n(9654),i=l(n(7934));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t,n,r,l,u,d,f,c,p,v,y,m=e.step,_=m===o.NUFSlides.AGE_GATE,h=m===o.NUFSlides.CHOOSE_TEMPLATE||m===o.NUFSlides.CREATION_INTENT,E=m===o.NUFSlides.CUSTOMIZE_GUILD,g=m===o.NUFSlides.CHANNEL_PROMPT||m===o.NUFSlides.JOIN_GUILD,S=E||g,O=h||S;return s("div",{className:i.default.sidebar},void 0,s("div",{className:(0,a.default)(i.default.step1,(t={},t[i.default.show]=_,t))}),s("div",{className:(0,a.default)(i.default.step24Clouds,(n={},n[i.default.show]=O,n))}),s("div",{className:(0,a.default)(i.default.step34Flag,(r={},r[i.default.show]=S,r))}),s("div",{className:(0,a.default)(i.default.step24Base,(l={},l[i.default.show]=O,l))}),s("div",{className:(0,a.default)(i.default.step24Ground,(u={},u[i.default.show]=O,u))}),s("div",{className:(0,a.default)(i.default.step2Base,(d={},d[i.default.show]=h,d))}),s("div",{className:(0,a.default)(i.default.step2Character,(f={},f[i.default.show]=h,f))}),s("div",{className:(0,a.default)(i.default.step34Base,(c={},c[i.default.show]=S,c))}),s("div",{className:(0,a.default)(i.default.step3Character,(p={},p[i.default.show]=E,p))}),s("div",{className:(0,a.default)(i.default.step4Character,(v={},v[i.default.show]=g,v))}),s("div",{className:(0,a.default)(i.default.step24Foreground,(y={},y[i.default.show]=O,y))}))}d.displayName="SidebarArt"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;c(n(0));var r,a=d(n(2)),o=d(n(216)),i=d(n(10928)),l=d(n(10991)),u=c(n(1293)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var o=r.prototype;return o._initialize=function(){a.default.subscribe(s.ActionTypes.CHANNEL_CALL_POPOUT_WINDOW_OPEN,this.handleOpenChannelCallPopout)},o._terminate=function(){a.default.unsubscribe(s.ActionTypes.CHANNEL_CALL_POPOUT_WINDOW_OPEN,this.handleOpenChannelCallPopout)},o.handleOpenChannelCallPopout=function(e){var t=e.channel;u.open(s.PopoutWindowKeys.CHANNEL_CALL_POPOUT,(function(e){return t.isGuildStageVoice()?p(l.default,{windowKey:e,channel:t}):p(i.default,{windowKey:e,channel:t})}),{defaultWidth:854,defaultHeight:480})},r}(o.default));t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=u(n(10344)),o=u(n(10366)),i=u(n(10367)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var f=d(a.default,{showInPopoutWindow:!0});function c(e){var t=e.windowKey,n=e.channel;return d(o.default,{withTitleBar:!0,windowKey:t,title:n.name},void 0,d(i.default,{channel:n,appContext:l.AppContext.POPOUT}),f)}c.displayName="PopoutWindowChannelCall"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=R;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=N(n(9)),i=n(3),l=N(n(705)),u=N(n(1226)),s=N(n(478)),d=n(687),f=n(691),c=N(n(688)),p=N(n(5952)),v=n(42),y=N(n(9655)),m=n(10345),_=N(n(8661)),h=N(n(8789)),E=N(n(36)),g=N(n(161)),S=N(n(294)),O=N(n(10953)),I=n(10957),T=n(156),C=n(1),b=N(n(7960)),M=N(n(7378));function N(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function P(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function R(e){var t=e.channel,n=a.useState(!1),r=n[0],N=n[1],A=(0,i.useStateFromStores)([S.default],(function(){return S.default.getSelfEmbeddedActivityForChannel(t.id)})),R=(0,i.useStateFromStores)([E.default],(function(){return E.default.getChannelId()===t.id})),L=(0,i.useStateFromStoresObject)([h.default],(function(){var e=h.default.pipWindow;return{dockedRect:null!=e?h.default.getDockedRect(e.id):null,isHidden:h.default.isEmbeddedActivityHidden()}})),D=L.dockedRect,w=L.isHidden,j=(0,i.useStateFromStoresObject)([p.default,g.default],(function(){var e,t=p.default.getWindow(C.PopoutWindowKeys.CHANNEL_CALL_POPOUT);return{popoutWindow:t,windowWidth:null!==(e=null==t?void 0:t.innerWidth)&&void 0!==e?e:g.default.windowSize().width-C.LEFT_PANEL_WIDTH}})),k=j.popoutWindow,U=j.windowWidth,G=(0,i.useStateFromStoresObject)([c.default],(function(){return{selectedParticipant:c.default.getSelectedParticipant(t.id),participantsOpen:c.default.getParticipantsOpen(t.id),layout:c.default.getLayout(t.id,C.AppContext.APP)}})),F=G.selectedParticipant,B=G.participantsOpen,H=G.layout,x=U<=m.FORCE_HIDE_PARTICIPANTS_WIDTH,V=R||null!=k,W=V&&(null==F?void 0:F.type)!==f.ParticipantTypes.ACTIVITY&&null==D,Y=(!V||W)&&!w,z=!x&&![C.ChannelLayouts.MINIMUM,C.ChannelLayouts.NORMAL].includes(H),K=z&&B;function $(){if(null!=A&&l.default.selectParticipant(t.id,A.applicationId),null==k){(0,d.popAllLayers)();var e=t.getGuildId()||C.ME;u.default.channelListScrollTo(e,t.id),(0,v.transitionToGuild)(e,t.id)}}function Z(){N(!r)}function q(){if(null!=A){var e=A.joinSecret,n=A.applicationId;null!=e&&s.default.joinWithSecret(n,e,t.id,T.ActivityIntent.PLAY,!0)}}return null==A?null:P(_.default,{timeout:2e3},void 0,(function(e){var n,i,l,u=e.idle,s=e.onActive;return P(y.default,{className:(0,o.default)(b.default.root,(i={},i[b.default.pipMode]=Y,i[M.default.idle]=u&&!(null===(n=A.config)||void 0===n?void 0:n.useInteractivePIP),i[b.default.pipModeShort]=Y&&!r,i[b.default.pipModeTall]=Y&&r,i[b.default.hidden]=w,i)),noBorder:!K&&!Y},void 0,function(e,n){var o;return Y&&null!=A?(null===(o=A.config)||void 0===o?void 0:o.useInteractivePIP)?P(I.InteractivePIPHeader,{onJumpToChannel:$,applicationId:A.applicationId,channel:t,showControls:!n,onMouseMove:e,onMouseEnter:e,onToggleHeight:Z,isExpanded:r}):a.createElement(a.Fragment,null,P("div",{onMouseMove:e,onMouseDown:e,className:b.default.clickShield,onDoubleClick:$}),P(I.PIPOverlay,{idle:n,onJumpToChannel:$,channel:t,applicationId:A.applicationId})):null}(s,u),P(O.default,{allowPopups:A.applicationId===T.YOUTUBE_APPLICATION_ID,onLoad:q,url:A.url,className:(0,o.default)(b.default.iframe,(l={},l[b.default.pipModeShort]=Y&&!r,l[b.default.pipModeTall]=Y&&r,l)),shouldRefocus:!Y&&R}),!Y&&P(I.TileOverlay,{participantsOpen:B,showToggleParticipants:z,channelId:t.id}))}))}R.displayName="PersistentIFrame"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=A;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(9)),i=h(n(273)),l=n(3),u=h(n(469)),s=h(n(1166)),d=h(n(161)),f=n(314),c=h(n(1376)),p=n(691),v=n(1),y=h(n(7937)),m=h(n(1170)),_=h(n(7618));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var O=23,I=17,T=26,C={SCALE_MIN:.7,SCALE_MAX:1,DURATION_IN:300,DURATION_OUT:170,EASING_IN:i.default.Easing.inOut(i.default.Easing.back()),EASING_OUT:i.default.Easing.quad},b=200,M=125,N=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).scaleAnimation=new i.default.Value(0),t.spriteAnimation=new i.default.Value(0),t.spriteOpacity=new i.default.Value(0),t.widthAnimation=new i.default.Value(0),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n);var a=r.prototype;return a.componentDidMount=function(){this.componentDidAppear()},a.componentDidAppear=function(){var e=this.scaleAnimation,t=this.widthAnimation;e.setValue(1),t.setValue(1)},a.componentWillEnter=function(e){var t=this.scaleAnimation,n=this.widthAnimation;t.setValue(0),n.setValue(0),i.default.parallel([i.default.timing(t,{toValue:1,duration:C.DURATION_IN,easing:C.EASING_IN}),i.default.timing(n,{toValue:1,duration:b})]).start(e)},a.componentWillLeave=function(e){var t=this.scaleAnimation,n=this.spriteAnimation,r=this.spriteOpacity,a=this.widthAnimation;r.setValue(1),n.setValue(0);for(var o=[],l=0;l<O;l++)o.push(i.default.timing(n,{toValue:-T*l,duration:I}));i.default.sequence([i.default.timing(t,{toValue:0,duration:C.DURATION_OUT,easing:C.EASING_OUT}),i.default.sequence(o),i.default.timing(a,{toValue:0,duration:M})]).start(e)},a.getScaleStyle=function(){var e=this.scaleAnimation;return i.default.accelerate({transform:[{scale:e.interpolate({inputRange:[0,1],outputRange:[C.SCALE_MIN,C.SCALE_MAX]})}],opacity:e})},a.getSpriteStyle=function(){return{backgroundPosition:this.spriteAnimation,opacity:this.spriteOpacity}},a.getWidthStyle=function(){return{width:this.widthAnimation.interpolate({inputRange:[0,1],outputRange:["0px",this.props.width+"px"]})}},a.render=function(){var e,t=this.props,n=t.theme,r=t.children,a=t.className,l=n===v.ThemeTypes.DARK,u=(0,o.default)(y.default.sprite,((e={})[_.default.crossWhite]=l,e[_.default.crossGrey]=!l,e));return g(i.default.div,{className:(0,o.default)(y.default.transition,a),style:this.getWidthStyle()},void 0,g("div",{className:(0,o.default)(y.default.spriteWrapper,m.default.horizontal,m.default.justifyCenter,m.default.alignCenter)},void 0,g(i.default.div,{className:u,style:this.getSpriteStyle()})),g(i.default.div,{style:this.getScaleStyle()},void 0,r))},r}(a.PureComponent);function A(e){var t=e.participants,n=e.onContextMenu,r=e.className,a=e.onClick,i=e.width,v=e.guildId,m=(0,s.default)(),_=function(e,t){return((0,f.getAvatarSize)(f.Sizes.SIZE_80)+16)*t>e?f.Sizes.SIZE_40:f.Sizes.SIZE_80}(i,t.length),h=(0,l.useStateFromStores)([d.default],(function(){return d.default.isFocused()})),E=t.map((function(e){var t,r;if(e.type!==p.ParticipantTypes.USER)return null;var o=e.user,i=e.voiceState,l=e.speaking,u=e.ringing;return g(N,{className:y.default.participant,width:(0,f.getAvatarSize)(_),theme:m},o.id,g(c.default,{src:o.getAvatarURL(v,l&&h),size:_,muted:null!==(t=null==i?void 0:i.isVoiceMuted())&&void 0!==t&&t,deafen:null!==(r=null==i?void 0:i.isVoiceDeafened())&&void 0!==r&&r,speaking:l,ringing:u,onClick:function(t){return null==a?void 0:a(e,t)},onContextMenu:function(t){return null==n?void 0:n(e,t)}},e.id))}));return g(u.default,{component:"div",className:(0,o.default)(y.default.root,r)},void 0,E)}N.displayName="AvatarTransition",A.displayName="VoiceCallParticipants"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(t.type===r.ParticipantTypes.ACTIVITY){var n,l=a.default.getGame(t.id);return null!==(n=null==l?void 0:l.name)&&void 0!==n?n:i.default.Messages.EMBEDDED_ACTIVITIES_IN_ACTIVITY}return o.default.getName(e.getGuildId(),e.id,t.user)};var r=n(691),a=l(n(71)),o=l(n(258)),i=l(n(6));function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=L;var r,a=N(n(0)),o=b(n(9)),i=b(n(8)),l=n(3),u=b(n(478)),s=n(156),d=b(n(294)),f=b(n(10933)),c=b(n(10934)),p=b(n(10306)),v=b(n(8478)),y=b(n(11)),m=b(n(12)),_=b(n(80)),h=b(n(29)),E=N(n(149)),g=b(n(279)),S=b(n(24)),O=n(409),I=n(48),T=b(n(6)),C=b(n(7940));function b(e){return e&&e.__esModule?e:{default:e}}function M(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return M=function(){return e},e}function N(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=M();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function A(){return(A=Object.assign||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}).apply(this,arguments)}function P(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function R(e){var t,n,r,d,f,p=e.participants,v=e.application,O=e.channel,b=e.width,M=e.canJoin,N=b<=400,R=function(e){return e>400?[g.default.Sizes.SIZE_80,80]:e>300?[g.default.Sizes.SIZE_32,32]:e>200?[g.default.Sizes.SIZE_24,24]:[g.default.Sizes.SIZE_16,16]}(b),L=(0,l.useStateFromStores)([m.default,y.default],(function(){return Array.from(p).map((function(e){return y.default.getId()===e?null:m.default.getUser(e)})).filter(I.isNotNullish)})),D=L.length-3,w=(0,i.default)(L).take(3).map((function(e,t){var n,r,a=null==e?void 0:e.toString();return P(E.TooltipContainer,{text:a,color:E.TooltipColors.GREY,className:(0,o.default)(C.default.avatar,(n={},n[C.default.compact]=N,n))},e.id,P(g.default,{className:(0,o.default)((r={},r[C.default.avatarMask]=t!==L.length-1,r)),src:e.getAvatarURL(O.guild_id),"aria-label":a,size:R[0]}))})).value();return P("div",{className:C.default.splash},void 0,P("div",{className:(0,o.default)(C.default.avatars,(t={},t[C.default.compact]=N,t))},void 0,w,D>0?P("div",{style:{width:R[1],height:R[1]},className:(0,o.default)(C.default.overflow,C.default.avatar,(n={},n[C.default.compact]=N,n))},void 0,P(S.default,{color:S.default.Colors.CUSTOM,size:N?S.default.Sizes.SIZE_10:S.default.Sizes.SIZE_16},void 0,"+"+D)):null),P(S.default,{size:N?S.default.Sizes.SIZE_10:S.default.Sizes.SIZE_16,className:C.default.subheader},void 0,L.length>1?T.default.Messages.EMBEDDED_ACTIVITIES_ARE_PLAYING.format({username:null===(r=L[0])||void 0===r?void 0:r.username,count:L.length-1}):T.default.Messages.EMBEDDED_ACTIVITIES_IS_PLAYING.format({username:null===(d=L[0])||void 0===d?void 0:d.username})),P(S.default,{size:N?S.default.Sizes.SIZE_16:S.default.Sizes.SIZE_24,className:(0,o.default)(C.default.header,(f={},f[C.default.compact]=N,f))},void 0,v.name),P("div",{className:C.default.buttons},void 0,P(E.default,{text:M?null:T.default.Messages.EMBEDDED_ACTIVITIES_LAUNCHING_ACTIVITY},void 0,(function(e){var t=e.onClick,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onClick"]);return a.createElement(h.default,A({},n,{size:N?h.default.Sizes.SMALL:h.default.Sizes.MEDIUM,className:C.default.button,disabled:!M,onClick:function(e){e.stopPropagation(),null==t||t();var n=(0,c.default)(Object.keys(_.default.getVoiceStatesForChannel(O.id)),v.id);null!=n&&u.default.join(n.userId,n.sessionId,v.id,O.id,null,s.ActivityIntent.PLAY,!0)}}),T.default.Messages.EMBEDDED_ACTIVITIES_JOIN_ACTIVITY)})),v.id===s.POKER_NIGHT_APPLICATION_ID?P(h.default,{className:C.default.button,size:N?h.default.Sizes.SMALL:h.default.Sizes.MEDIUM,look:h.default.Looks.OUTLINED,color:h.default.Colors.WHITE,disabled:!M,onClick:function(e){e.stopPropagation();var t=(0,c.default)(Object.keys(_.default.getVoiceStatesForChannel(O.id)),v.id);null!=t&&u.default.join(t.userId,t.sessionId,v.id,O.id,null,s.ActivityIntent.SPECTATE,!0)}},void 0,T.default.Messages.SPECTATE):null))}function L(e){var t,n=e.participant,r=e.width,o=e.selected,i=e.interactible,u=e.channel,s=(0,l.useStateFromStores)([d.default],(function(){return d.default.getSelfEmbeddedActivityForChannel(u.id)})),c=(0,v.default)([n.id])[0],y=a.useState(null),m=y[0],_=y[1],h=(null==s?void 0:s.applicationId)===n.id,E=!o&&h,g=!h,S=!h&&!o;return a.useEffect((function(){(0,O.getAssetIds)(n.id,["embedded_background"]).then((function(e){var t=e[0];return _(t)}))}),[n.id]),P("div",{className:C.default.container},void 0,E&&P(f.default,{className:C.default.iframe,embedId:(0,p.default)(u.id,n.id)}),g&&null!=c&&null!=m&&P("img",{className:C.default.splashImage,alt:c.name,src:null!==(t=(0,O.getAssetImage)(c.id,m,1024))&&void 0!==t?t:""}),S&&null!=c&&P(R,{width:r,channel:u,participants:n.participants,application:c,canJoin:n.canJoin}),i||g?null:P("div",{className:C.default.clickShield}))}R.displayName="Splash",L.displayName="ActivityTile"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(3),o=d(n(2)),i=n(8788),l=d(n(5952)),u=n(121),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}var c=function(e,t){return o.default.wait((function(){(0,i.updateRect)(e,t)}))};function p(e){var t,n=e.embedId,o=e.className,i=e.style,d=(0,a.useStateFromStores)([l.default],(function(){return l.default.getWindow(s.PopoutWindowKeys.CHANNEL_CALL_POPOUT)})),f=null!==(t=null==d?void 0:d.window)&&void 0!==t?t:window,p=r.useRef(null),v=r.useMemo((function(){var e=null;return function(){null==e&&(e=f.requestAnimationFrame((function(){var t,r;c(n,null!==(t=null===(r=p.current)||void 0===r?void 0:r.getBoundingClientRect())&&void 0!==t?t:null),e=null})))}}),[n,f]);return r.useEffect((function(){return f.addEventListener("resize",v),u.ComponentDispatch.subscribe(s.ComponentActions.REMEASURE_TARGET,v),function(){f.removeEventListener("resize",v),u.ComponentDispatch.unsubscribe(s.ComponentActions.REMEASURE_TARGET,v)}}),[v,f]),r.useLayoutEffect((function(){var e=p.current;if(null!=e){v();var t=new ResizeObserver(v);return t.observe(e),function(){t.disconnect(),c(n,null)}}}),[n,v]),r.createElement("div",{ref:p,style:i,className:o})}p.displayName="EmbedTarget"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.map((function(e){if(e===r.default.getId())return null;var n=a.default.getApplicationActivity(e,t);return null!=(null==n?void 0:n.session_id)&&(0,o.hasFlag)(n,i.ActivityFlags.JOIN)?{userId:e,sessionId:n.session_id}:null})).find((function(e){return null!=e}))};var r=l(n(11)),a=l(n(256)),o=n(1214),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StreamTileIndicators=function(e){var t=e.participant,n=e.selected,r=e.focused,o=e.idle,l=e.width,u=(0,i.useStateFromStores)([p.default],(function(){return p.default.getActiveStreamForUser(t.user.id)})),s=(0,b.isVideoCompact)(l);return a.createElement(a.Fragment,null,n?null:D(C.default,{streamerId:null==u?void 0:u.ownerId}),r||null==u||u.state===M.ApplicationStreamStates.ENDED||u.state===M.ApplicationStreamStates.FAILED?null:D(f.default,{size:g.default.Sizes.LARGE,className:A.default.liveIndicator,participant:t,showQuality:!s&&!o,isUpsellEnabled:!1}))},t.default=function(e){var t=e.participant,n=e.selected,r=e.onVideoResize,f=e.paused,g=e.fit,C=e.inPopout,b=e.width,P=y.default.getVideoComponent(),R=(0,i.useStateFromStores)([v.default],(function(){return v.default.getId()})),w=t.stream,j=t.user,k=t.streamId,U=(0,i.useStateFromStores)([p.default],(function(){return p.default.getActiveStreamForUser(t.user.id)})),G=(0,i.useStateFromStores)([p.default],(function(){return p.default.getAllActiveStreams().length>0})),F=(0,i.useStateFromStores)([m.default],(function(){return m.default.isFocused()})),B=(null==U?void 0:U.ownerId)===R&&!F&&!C,H=null!=U?(0,d.default)(U,j,j.id===R,B):null;return(null==U?void 0:U.state)===M.ApplicationStreamStates.ENDED?D(I.default,{selected:n,stream:U,width:b}):(null==U?void 0:U.state)===M.ApplicationStreamStates.FAILED?D(T.default,{selected:n,stream:U,width:b}):null!=U&&!n&&null!=P&&y.default.supports(l.Features.VIDEO)?a.createElement(a.Fragment,null,D(_.default,{onResize:r,wrapperClassName:A.default.videoWrapper,className:A.default.content,streamId:k,videoComponent:P,fit:g,paused:f||B}),null!=H?a.createElement(c.default,L({size:(0,O.getSizeForWidth)(b)},H)):null):D("div",{className:(0,o.default)(A.default.content,A.default.streamPreview)},void 0,D(s.default,{noText:!0,className:(0,o.default)(A.default.absoluteFill,(x={},x[A.default.streamPreviewOpacity]=null==U,x)),stream:t.stream}),n?null:a.createElement(a.Fragment,null,D(S.CallTileCTA,{},void 0,D(E.default,{size:E.default.Sizes.SIZE_16,color:E.default.Colors.CUSTOM},void 0,N.default.Messages.WATCH_STREAM)),G?D(S.CallTileCTA,{className:A.default.addCTA,tooltip:N.default.Messages.STREAM_WATCH_MULTIPLE_TOOLTIP,onClick:function(e){e.stopPropagation(),(0,u.watchStream)(w,{forceMultiple:!0})}},void 0,D(h.default,{className:A.default.addStreamIcon})):null));var x};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=R();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=P(n(9)),i=n(3),l=n(34),u=n(364),s=P(n(8935)),d=P(n(10347)),f=P(n(9656)),c=P(n(9658)),p=P(n(163)),v=P(n(11)),y=P(n(51)),m=P(n(161)),_=P(n(9139)),h=P(n(9110)),E=P(n(24)),g=P(n(8414)),S=n(10938),O=n(8753),I=P(n(10349)),T=P(n(10350)),C=P(n(10352)),b=n(10353),M=n(1),N=P(n(6)),A=P(n(7402));function P(e){return e&&e.__esModule?e:{default:e}}function R(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return R=function(){return e},e}function L(){return(L=Object.assign||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}).apply(this,arguments)}function D(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.useStreamQualityIndicatorExperiment=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}var o=(0,n(50).createExperiment)({kind:"user",id:"2021-03_stream_quality_indicator",label:"Stream Quality Indicator",defaultConfig:{showIndicator:!1},treatments:[{id:1,label:"Shows a quality indicator on go live streams",config:{showIndicator:!0}}]});t.useStreamQualityIndicatorExperiment=function(e){return r.useEffect((function(){e&&o.trackExposure({})}),[e]),o.useExperiment({})};var i=o;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(n)return c(l.default.Messages.STREAM_SOUNDSHARE_FAILED,d.SOUNDSHARE_FAILED);if(null!=t){var r=f(t,5),a=f(t,30);if(a.numDatapoints>=5)return p(r)||p(a)}if(e===i.RTCConnectionQuality.BAD)return c(l.default.Messages.STREAM_NETWORK_QUALITY_ERROR,d.BAD_CONNECTION);return null};var r=n(393),a=n(48),o=u(n(16)),i=n(1),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||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}).apply(this,arguments)}var d;function f(e,t){var n={fractionLost:0,frameRate:0,resolution:0,numDatapoints:0},r=null!=t?t:e.length,o=e.slice(-1*r).filter(a.isNotNullish);if(0===o.length)return s({type:"streamer"},n);o.forEach((function(e){n.fractionLost+=e.fractionLost,n.frameRate+=e.frameRate,n.resolution+=e.resolution}));var i=o[0].type,l=o.length;return{type:i,fractionLost:n.fractionLost/l,frameRate:n.frameRate/l,resolution:n.resolution/l,numDatapoints:l}}!function(e){e.PACKET_LOSS="Packet Loss",e.FRAME_RATE_INPUT="Frame Rate Input",e.FRAME_RATE_NETWORK="Frame Rate Network",e.SOUNDSHARE_FAILED="Soundshare Failed",e.BAD_CONNECTION="Bad Connection"}(d||(d={}));var c=(0,r.cachedFunction)((function(e,t){return{message:e,errorType:t}}));function p(e){if("streamer"===e.type){if(e.fractionLost>10)return c(l.default.Messages.STREAM_BAD_STREAMER,d.PACKET_LOSS);if(e.frameRate<=15)return c(l.default.Messages.STREAM_BAD_STREAMER,d.FRAME_RATE_INPUT)}else{if(e.fractionLost>10)return c(l.default.Messages.STREAM_BAD_SPECTATOR,d.PACKET_LOSS);if(e.frameRate<=15&&!o.default.isWeb())return c(l.default.Messages.STREAM_BAD_SPECTATOR,d.FRAME_RATE_NETWORK)}return null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CallTileCTA=p;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=s(n(29)),l=s(n(149)),u=s(n(7944));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e){var t=e.children,n=e.onClick,r=e.className,s=e.tooltip;return f(l.default,{text:s},void 0,(function(e){var l=e.onClick,s=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onClick"]);return a.createElement(i.default,c({},s,{onClick:function(e){null==n||n(e),null==l||l()},innerClassName:u.default.buttonReset,color:(0,o.default)(u.default.cta,r),size:i.default.Sizes.MIN}),t)}))}p.displayName="CallTileCTA"},function(e,t,n){e.exports=n.p+"4b9c3419c57d838c4076abc9d34dbea7.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;f(n(0));var r,a=s(n(9)),o=f(n(149)),i=s(n(5827)),l=s(n(8400)),u=s(n(7945));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.errorMessage,n=e.className;return c(o.TooltipContainer,{className:(0,a.default)(n,u.default.root),text:t,position:o.default.Positions.BOTTOM,color:o.TooltipColors.GREY},void 0,c(l.default,{},void 0,c(i.default,{"aria-label":null!=t?t:"",className:u.default.warningIcon})))}p.displayName="QualityWarning"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.participant,n=e.channel,r=e.inCall,E=e.width,g=e.paused,T=e.selected,C=e.fit,b=e.onVideoResize,M=e.blocked,N=e.pulseSpeakingIndicator,A=void 0!==N&&N,P=f.default.getVideoComponent(),R=a.useState(!1),L=R[0],D=R[1],w=(0,i.useStateFromStores)([d.default],(function(){return d.default.getId()})),j=t.user,k=t.streamId,U=t.speaking,G=j.id===w,F=(0,m.default)(t),B=(0,i.useStateFromStores)([c.default],(function(){return c.default.isFocused()})),H=(0,i.useStateFromStores)([s.default],(function(){return s.default.getWindowFocused(_.PopoutWindowKeys.CHANNEL_CALL_POPOUT)})),x=(0,i.useStateFromStores)([f.default],(function(){return null!=j.id&&f.default.isLocalVideoDisabled(j.id,(0,u.default)(t.type))}),[j.id,t.type]),V=y.default.getName(n.getGuildId(),n.id,j),W=E<=150;if(r&&!x&&F&&!T&&null!=P&&f.default.supports(l.Features.VIDEO))return S(v.default,{onResize:b,wrapperClassName:h.default.videoWrapper,className:h.default.content,mirror:G,streamId:k,videoComponent:P,fit:C,paused:g});var Y,z=L||U&&(H||B);return S("div",{onMouseEnter:function(){return D(!0)},onMouseLeave:function(){return D(!1)},onMouseMove:function(){return D(!0)},className:(0,o.default)(h.default.content,(Y={},Y[h.default.blockedAvatar]=M,Y))},void 0,S(p.default,{"aria-label":V,src:j.getAvatarURL(n.guild_id,z),backgroundSrc:j.getAvatarURL(n.guild_id),size:W?I:O,pulseSpeakingIndicator:A,speaking:U}))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(9)),i=n(3),l=n(34),u=E(n(9138)),s=E(n(5952)),d=E(n(11)),f=E(n(51)),c=E(n(161)),p=E(n(10354)),v=E(n(9139)),y=E(n(258)),m=E(n(9137)),_=n(1),h=E(n(7402));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var O=p.default.AvatarSizes.SIZE_80,I=p.default.AvatarSizes.SIZE_40},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a,o=(r=n(7946))&&r.__esModule?r:{default:r};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var u=function(e){var t=e.children;return e.shouldAnimate?l("div",{className:o.default.outerContainer},void 0,l("div",{className:o.default.innerContainer},void 0,t)):t};u.displayName="SpeakerPulse";var s=u;t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r,i,l,u=null,s=null,d=null,f=!1,c=!1;switch(e.type){case a.ParticipantTypes.ACTIVITY:break;case a.ParticipantTypes.USER:u=e.streamId,d=e.voiceState,f=e.speaking,c=e.ringing;break;case a.ParticipantTypes.STREAM:u=e.streamId,s=e.stream}return{streamId:u,stream:s,speaking:f,ringing:c,muted:null!==(n=null===(r=d)||void 0===r?void 0:r.isVoiceMuted())&&void 0!==n&&n,deafen:null!==(i=null===(l=d)||void 0===l?void 0:l.isVoiceDeafened())&&void 0!==i&&i,mirror:e.type===a.ParticipantTypes.USER&&e.user.id===t,hasVideo:(0,o.default)(e)}};var r,a=n(691),o=(r=n(9137))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r,a=c(n(0)),o=d(n(28)),i=n(10355),l=c(n(8934)),u=n(1),s=d(n(7949));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.width,n=e.onContextMenuParticipant,r=e.height,d=e.channel,f=e.participants,c=function(){var e=a.useState((function(){return o.default.get("CameraPreviewPosition",u.PictureInPicturePositions.BOTTOM_RIGHT)})),t=e[0],n=e[1];return[t,a.useCallback((function(e){o.default.set("CameraPreviewPosition",e),n(e)}),[])]}(),v=c[0],y=c[1],m=a.useRef(null),_=null==d.getGuildId()?70:50;return a.useLayoutEffect((function(){var e;null===(e=m.current)||void 0===e||e.ensureIsInPosition()}),[f.length]),p("div",{className:s.default.container},void 0,a.createElement(i.PictureInPictureWindow,{position:v,id:0,ref:m,onMove:function(e,t){return y(t)},maxX:t,maxY:r,edgeOffsetTop:_,edgeOffsetBottom:70,edgeOffsetLeft:16,edgeOffsetRight:16},p("div",{className:s.default.tileContainer},void 0,f.map((function(e){return p(l.default,{participant:e,channel:d,onContextMenu:n,className:s.default.tile,fit:l.CallTileFit.COVER,inCall:!0,inPopout:!1,width:160})})))))}v.displayName="CameraPreview"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(67),i=(r=n(273))&&r.__esModule?r:{default:r},l=n(1);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=Math.pow(3,2),c=function(e){var t,n;function r(t){var n;(n=e.call(this,t)||this)._height=0,n._width=0,n._dragStart={x:0,y:0},n._offsetX=0,n._offsetY=0,n._removeListeners=function(){},n.handleSetRef=function(e){n._ref=e},n.handleMouseDown=function(e){var t=n.props,r=t.dragAnywhere,a=t.disabled,o=t.selector;if(!a){var i=n.state.position,u=e.target;if(e.button===l.MouseButtons.PRIMARY&&(r||null!=o&&u.matches(o))){n.grabDimensions(),n._dragStart={x:e.clientX,y:e.clientY},n._offsetX=e.clientX-i.x._value,n._offsetY=e.clientY-i.y._value;var s=e.nativeEvent.view;n._removeListeners(),s.addEventListener("mousemove",n.handleMouseMove),s.addEventListener("mouseup",n.handleMouseUp),n._removeListeners=function(){s.removeEventListener("mousemove",n.handleMouseMove),s.removeEventListener("mouseup",n.handleMouseUp)}}}},n.handleMouseMove=function(e){e.preventDefault();var t=n.props,r=t.onDragStart,a=t.onDrag;if(!t.disabled){var o,i,l,u,s,d,c=n.state,p=c.dragging,v=c.dragging;!p&&(o=n._dragStart,i={x:e.clientX,y:e.clientY},l=o.x,u=o.y,s=i.x,d=i.y,Math.pow(l-s,2)+Math.pow(u-d,2)>f)&&(p=!0),p&&(n.animateToPosition(e.clientX-n._offsetX,e.clientY-n._offsetY,{tension:80,friction:8},null,!1),n.setState({dragging:p},(function(){v||r&&r(e.clientX,e.clientY),a&&a(e.clientX,e.clientY)})))}},n.handleMouseUp=function(e){n._removeListeners(),n.state.dragging&&n.setState({dragging:!1},(function(){var t=n.props.onDragEnd;t&&t(e.clientX,e.clientY)}))};var r=new i.default.Value(t.initialX),a=new i.default.Value(t.initialY);return n.state={dragging:!1,position:new i.default.ValueXY({x:r,y:a})},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var u=r.prototype;return u.componentDidMount=function(){var e=this.props,t=e.initialX,n=e.initialY;this.setPosition(t,n)},u.componentWillUnmount=function(){this._removeListeners()},u.animateToPosition=function(e,t,n,r,a){void 0===n&&(n={}),void 0===a&&(a=!0),a&&this.grabDimensions();var o=this.translate(e,t);i.default.spring(this.state.position,s({toValue:{x:o.x,y:o.y}},n)).start(r)},u.setPosition=function(e,t,n){void 0===n&&(n=!0),n&&this.grabDimensions();var r=this.translate(e,t);this.state.position.setValue({x:r.x,y:r.y})},u.grabDimensions=function(){var e=(0,o.findDOMNode)(this._ref);null!=e&&e instanceof Element&&(this._height=e.clientHeight,this._width=e.clientWidth)},u.translate=function(e,t){var n=this.props,r=n.maxX,a=n.maxY;return e<0?e=0:e>r-this._width&&(e=r-this._width),t<0?t=0:t>a-this._height&&(t=a-this._height),{x:e,y:t}},u.render=function(){var e=this.state,t=e.dragging,n=e.position,r=this.props,o=r.className,l=r.children,u=[0,1],d=["0px","1px"],f=i.default.accelerate(s({pointerEvents:t?"none":"auto",transform:[{translateX:n.x.interpolate({inputRange:u,outputRange:d})},{translateY:n.y.interpolate({inputRange:u,outputRange:d})}]},this.props.style));return a.createElement(i.default.div,{ref:this.handleSetRef,className:o,onMouseDown:this.handleMouseDown,style:f},l)},r}(a.PureComponent);c.displayName="Draggable",c.defaultProps={maxX:0,maxY:0,initialX:0,initialY:0,disabled:!1,dragAnywhere:!1};var p=c;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=v(n(15)),l=v(n(40)),u=v(n(10947)),s=n(8286),d=v(n(8934)),f=v(n(10948)),c=n(1),p=v(n(7952));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e){var t=e.participants,n=e.onClick,r=e.onDoubleClick,v=e.onContextMenu,y=e.channel,_=e.className,h=e.inCall,E=e.inPopout,g=e.layout,S=e.totalNumberOfParticipants,O=e.paused,I=void 0!==O&&O,T=a.useRef({triggerResize:function(){return null}});a.useEffect((function(){var e;null===(e=T.current)||void 0===e||e.triggerResize()}),[g]);var C=(0,o.useStateFromStores)([i.default],(function(){return i.default.getGuild(y.guild_id)}),[y.guild_id]),b=(0,o.useStateFromStores)([l.default],(function(){return y.isPrivate()||(0,s.canViewInviteModal)(l.default,C,y)}),[C,y]),M=(null==C?void 0:C.afkChannelId)===y.id,N=y.userLimit<=0||y.userLimit>1,A=t.map((function(e){return function(t){return m(d.default,{participant:e,channel:y,className:p.default.tile,paused:I,onClick:n,onDoubleClick:r,onContextMenu:v,inCall:h,width:t,inPopout:E},e.id)}}));1===S&&null!=C&&b&&!M&&N&&A.push((function(e){return m(f.default,{width:e,channel:y,guild:C,inPopout:E})}));var P=a.useCallback((function(e){var n,r;return null!==(n=null===(r=t[e])||void 0===r?void 0:r.id)&&void 0!==n?n:"empty-tile"}),[t]),R=g===c.ChannelLayouts.MINIMUM||g===c.ChannelLayouts.NORMAL?96:64;return a.createElement(u.default,{ref:T,className:_,keyExtractor:P,paddingTop:64,paddingBottom:R},A)}_.displayName="ChannelCallGrid"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(9)),i=d(n(8299)),l=d(n(8524)),u=d(n(8362)),s=d(n(7950));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){return Math.ceil(t/e)}function y(e,t){return Math.floor((t-e)/(8+e))+1}function m(e,t,n,r){var a=y(e,n),o=v(a,t);return o*a>=t&&e/(16/9)*o+(8*o-1)<r}function _(e,t,n,r,a,o){if(void 0===o&&(o=0),Math.abs(t-e)<=1||o>=15)return e;var i=(t+e)/2;return m(i,n,r,a)?_(i,t,n,r,a,o++):_(e,i,n,r,a,o++)}function h(e,t,n){var r=function(e,t,n){for(var r=Math.min(25,e),a=t/10,o=25;o>0;o--){var i=t/o+8;if(!m(i,r,t,n)){o=y(a=_(a,i,r,t,n),t);break}a=i}var l=v(o,e);return{tileWidth:a,columns:Math.max(1,o),rows:l}}(e,t,n),a=r.rows,o=r.columns,i=r.tileWidth;return{tileStyle:{width:i},tileWidth:i,rows:a,columns:o}}var E=(0,i.default)((function(e){var t,n=e.width,r=e.height,i=e.className,d=e.children,f=e.keyExtractor,c=e.paddingTop,v=void 0===c?0:c,y=e.paddingBottom,m=void 0===y?0:y,_=null!==(t=null==d?void 0:d.length)&&void 0!==t?t:0,E=n-16,g=r-(v+m),S=a.useMemo((function(){return h(_,E,g)}),[_,E,g]),O=S.tileStyle,I=S.tileWidth,T=S.rows,C=S.columns,b=C+1,M=b*I+8*(b-1)<=n,N=Math.floor(I/(16/9))+8,A=Math.max(0,g-N*T)/2;return p(u.default,{fade:!0,className:i,listPadding:[v+A,0,m+A,8],renderRow:function(e){var t,n=e*C;return p("div",{className:s.default.row},e,null==d||null===(t=d.slice(n,n+C))||void 0===t?void 0:t.map((function(e,t){var r,a,i=n+t;return p("div",{style:O,className:(0,o.default)(s.default.tile,(a={},a[s.default.padColumn]=M,a[s.default.noVerticalMargin]=i>=(T-1)*C,a[s.default.noHorizontalMargin]=(i+1)%C==0||i===_-1,a))},null!==(r=null==f?void 0:f(i))&&void 0!==r?r:i,p(l.default,{className:s.default.tileSizer,aspectRatio:16/9},void 0,e(I)))})))},rowCount:T,rowCountBySection:[T],rowHeight:N})})),g=a.forwardRef((function(e,t){return a.createElement(E,c({ref:t},e))}));t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var r,a=m(n(0)),o=v(n(8283)),i=n(41),l=n(217),u=v(n(9655)),s=m(n(8753)),d=n(1),f=v(n(6)),c=v(n(7951)),p=v(n(10949));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(){return(h=Object.assign||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}).apply(this,arguments)}function E(e){var t=e.channel,n=e.guild,r=e.width,v=e.inPopout;return _(u.default,{className:c.default.root},void 0,_(s.default,{artURL:p.default,size:(0,s.getSizeForWidth)(r),header:f.default.Messages.STREAM_SINGLE_PERSON_BODY,onCTAClick:function(){return(0,i.openModal)((function(e){return a.createElement(o.default,h({},e,{guild:n,channel:t,source:d.InstantInviteSources.CHANNEL_CALL}))}),{},v?l.POPOUT_MODAL_CONTEXT:l.DEFAULT_MODAL_CONTEXT)},callToAction:f.default.Messages.INSTANT_INVITE}))}E.displayName="EmptyTile"},function(e,t,n){e.exports=n.p+"b4072228ba43fe5f9c82cadc3d13c47b.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;s(n(0));var r,a=l(n(705)),o=s(n(8753)),i=l(n(6));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var f=n(10951);function c(e){var t=e.width,n=e.className,r=e.channelId,l=e.noArt,u=void 0!==l&&l;return d(o.default,{artURL:f,noArt:u,size:(0,o.getSizeForWidth)(t),className:n,callToAction:i.default.Messages.STREAM_SHOW_ALL_PARTICIPANTS,header:i.default.Messages.STREAM_PARTICIPANTS_HIDDEN.format(),onCTAClick:function(){return a.default.toggleVoiceParticipantsHidden(r,!1)}})}c.displayName="ParticipantsHidden"},function(e,t,n){e.exports=n.p+"ae0b6029f0cc68a3149860fd30c2fb82.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r,a=f(n(0)),o=s(n(8524)),i=s(n(1210)),l=f(n(8934)),u=s(n(7953));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(){return null}function v(e){var t=e.participants,n=e.selectedParticipantId,r=e.onDoubleClick,s=e.onContextMenu,d=e.onClick,f=e.channel,v=e.inCall,y=e.popoutWindow,m=e.paused,_=void 0!==m&&m,h=null!=y,E=a.useMemo((function(){return[t.length]}),[t.length]);return c("div",{className:u.default.root},void 0,c(i.default,{paddingTop:8,className:u.default.list,renderSection:p,sectionHeight:0,rowHeight:131.75,renderRow:function(e){var a=e.row,i=t[a];return null==i?null:c(o.default,{className:u.default.tileSizer,aspectRatio:16/9},i.id,c(l.default,{participant:i,selected:n===i.id,channel:f,className:u.default.tile,fit:l.CallTileFit.COVER,onClick:d,onDoubleClick:r,onContextMenu:s,width:220,inCall:v,paused:_,inPopout:h}))},sections:E}))}v.displayName="VideoParticipants"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.url,n=e.className,r=e.style,p=e.onLoad,v=e.shouldRefocus,m=e.allowPopups,h=void 0!==m&&m,E=(0,i.useStateFromStores)([l.default],(function(){return l.default.getWindow(c.PopoutWindowKeys.CHANNEL_CALL_POPOUT)})),g=a.useRef(o.default.v4()),S=a.useRef(null),O=(0,d.default)(S,v,null==E?window:E),I={frame_id:g.current,platform:f.ActivityPlatform.DESKTOP};return a.useEffect((function(){var e=g.current;return s.ComponentDispatch.dispatch(c.ComponentActions.IFRAME_MOUNT,{id:e}),function(){s.ComponentDispatch.dispatch(c.ComponentActions.IFRAME_UNMOUNT,{id:e})}}),[]),t?y("iframe",{style:r,allow:"autoplay",referrerPolicy:"no-referrer",onLoad:function(e){var n;null==p||p(e.target),S.current=e.target,O(!0),null===(n=e.target.contentWindow)||void 0===n||n.postMessage([u.OPCODES.HELLO,I],null!=t?t:"")},sandbox:_(h),className:n,src:t+"?"+new URLSearchParams(I)}):null};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(98)),i=n(3),l=p(n(5952)),u=n(10356),s=n(121),d=p(n(10955)),f=n(156),c=n(1);function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=["allow-scripts","allow-same-origin"];function _(e){var t=m;return e&&(t=[].concat(m,["allow-popups","allow-popups-to-escape-sandbox"])),t.join(" ")}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){void 0===n&&(n=window);var a=(0,o.useStateFromStores)([l.default],(function(){return l.default.keyboardModeEnabled})),d=(0,i.default)(),f=r.useState(!1),p=f[0],v=f[1];return r.useEffect((function(){if(t)return n.addEventListener("blur",e),function(){return n.removeEventListener("blur",e)};function e(){d&&(u.ComponentDispatch.dispatch(s.ComponentActions.POPOUT_CLOSE),u.ComponentDispatch.dispatch(s.ComponentActions.CONTEXT_MENU_CLOSE))}}),[n,d,t]),r.useEffect((function(){var n,r;if(!a&&p&&t){var o,i=d;if(null===(n=e.current)||void 0===n||n.addEventListener("focusout",l),"IFRAME"!==(null===(r=document.activeElement)||void 0===r?void 0:r.tagName)&&!i)null===(o=e.current)||void 0===o||o.focus();return function(){var t;null===(t=e.current)||void 0===t||t.removeEventListener("focusout",l),i=!0}}function l(t){var n=t.relatedTarget;setTimeout((function(){null!=n&&"BUTTON"!==n.tagName||i||c(e)}),100)}}),[t,p,a,e,n,d]),v};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(8),o=n(3),i=d(n(10956)),l=d(n(105)),u=n(121),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}var c=(0,a.debounce)((function(e){setTimeout((function(){var t;null===(t=e.current)||void 0===t||t.focus()}),0)}),50)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,a.useStateFromStores)([l.default],(function(){return l.default.hasModalOpen()})),t=(0,u.useModalsStore)((function(e){return t=e,!Object.entries(t).every((function(e){return e[0],0===e[1].length}));var t})),n=(0,a.useStateFromStores)([o.default],(function(){return o.default.isOpen()})),f=(0,a.useStateFromStores)([i.default],(function(){return i.default.hasLayers()})),c=r.useState(!1),p=c[0],v=c[1];return r.useEffect((function(){function e(){v(!0)}function t(){v(!1)}return s.ComponentDispatch.subscribe(d.ComponentActions.POPOUT_SHOW,e),s.ComponentDispatch.subscribe(d.ComponentActions.POPOUT_HIDE,t),function(){s.ComponentDispatch.unsubscribe(d.ComponentActions.POPOUT_SHOW,e),s.ComponentDispatch.unsubscribe(d.ComponentActions.POPOUT_HIDE,t)}}),[]),e||t||n||p||f};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(3),o=f(n(719)),i=f(n(694)),l=f(n(690)),u=n(41),s=n(121),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PIPOverlay=D,t.TileOverlay=function(e){var t=e.channelId,n=e.participantsOpen;return e.showToggleParticipants?R(h.default,{channelId:t,isParticipantsOpen:n,className:b.default.participantsButton}):null},t.InteractivePIPHeader=w;var r,a=P(n(0)),o=N(n(9)),i=n(92),l=n(3),u=N(n(288)),s=N(n(8478)),d=P(n(1293)),f=N(n(6013)),c=N(n(8754)),p=N(n(8400)),v=n(10358),y=N(n(8288)),m=N(n(10359)),_=N(n(9142)),h=N(n(10346)),E=N(n(8937)),g=N(n(51)),S=N(n(55)),O=N(n(8320)),I=N(n(8331)),T=n(1297),C=N(n(6)),b=N(n(7959)),M=N(n(7378));function N(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function P(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function R(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function L(e){var t,n=e.onClick,r=e.isExpanded;return R(y.default,{iconClassName:(0,o.default)(b.default.arrowIcon,(t={},t[b.default.arrowIconExpanded]=r,t)),onClick:n,iconComponent:O.default,label:r?C.default.Messages.PICTURE_IN_PICTURE_COLLAPSE:C.default.Messages.PICTURE_IN_PICTURE_EXPAND})}function D(e){var t,n,r=e.channel,a=e.applicationId,o=e.onJumpToChannel,y=e.idle,h=(0,l.useStateFromStores)([g.default],(function(){return g.default.isVideoEnabled()})),O=(0,l.useStateFromStores)([g.default],(function(){return Object.values(g.default.getVideoDevices())[0]})),I=!1===(null===(t=null==O?void 0:O.disabled)||void 0===t||t),C=(0,s.default)([a])[0],N=(0,f.default)(r),A=function(e){u.default.setVideoEnabled(e)};return R("div",{className:M.default.videoControls},void 0,R("div",{className:M.default.topControls},void 0,R(v.PictureInPictureHeader,{idle:y,title:null!==(n=null==C?void 0:C.name)&&void 0!==n?n:r.name,onJumpToChannel:o,preventIdleComponent:p.default})),R("div",{className:M.default.bottomControls},void 0,R(S.default,{grow:0,shrink:1,basis:"50%",align:S.default.Align.CENTER},void 0,R(E.default,{className:b.default.leftPipIcon,enabled:h,cameraUnavailable:!I,hasPermission:N,onChange:A,onCameraUnavailable:function(){I?A(!0):(0,c.default)()}})),R(S.default,{grow:0,shrink:1,justify:S.default.Justify.END,basis:"50%",align:S.default.Align.CENTER},void 0,R(_.default,{className:b.default.rightPipIcon,popoutOpen:!1,onOpenPopout:function(){d.openChannelCallPopout(r)},onClosePopout:i.NOOP_NULL}),R(m.default,{className:b.default.rightPipIcon,onClick:function(){return(0,T.stopEmbeddedActivity)(r.id,a)}}))))}function w(e){var t,n,r=e.onMouseMove,i=e.onMouseEnter,l=e.showControls,u=e.applicationId,d=e.channel,f=e.onJumpToChannel,c=e.onToggleHeight,y=e.isExpanded,_=(0,s.default)([u])[0];return R("div",{className:b.default.pipHeader,onMouseMove:r,onMouseEnter:i},void 0,R("div",{className:(0,o.default)(M.default.topControls,b.default.pipHeaderContent,(t={},t[b.default.pipHeaderContentOpen]=l,t))},void 0,!l&&R(I.default,{className:b.default.menuIcon,width:12,height:12}),l&&a.createElement(a.Fragment,null,R(v.PictureInPictureHeader,{idle:!l,title:null!==(n=null==_?void 0:_.name)&&void 0!==n?n:d.name,onJumpToChannel:f,preventIdleComponent:p.default}),R("div",{className:b.default.pipHeaderButtonsRight},void 0,R(L,{isExpanded:y,onClick:c}),R(m.default,{iconClassName:b.default.leaveActivityIcon,onClick:function(){return(0,T.stopEmbeddedActivity)(d.id,u)}})))))}L.displayName="TogglePIPHeightButton",D.displayName="PIPOverlay",w.displayName="InteractivePIPHeader"},function(e,t,n){e.exports=n.p+"3b797e7c1a28fc5dc889ecf73b9fbd7e.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BackgroundTransition=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=p(n(9)),l=p(n(273)),u=n(57),s=p(n(469)),d=p(n(55)),f=n(1),c=p(n(7956));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_(e,t)}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var h=((r={})[f.ChannelLayouts.NORMAL]=c.default.normal,r[f.ChannelLayouts.MINIMUM]=c.default.minimum,r[f.ChannelLayouts.NO_CHAT]=c.default.noChat,r[f.ChannelLayouts.FULL_SCREEN]=c.default.fullScreen,r),E=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={animation:new l.default.Value(0)},n}m(t,e);var n=t.prototype;return n.componentDidAppear=function(){this.state.animation.setValue(1)},n.componentWillEnter=function(e){var t=this.state.animation;t.setValue(0),l.default.spring(t,{toValue:1,overshootClamping:!0}).start(e)},n.componentWillLeave=function(e){l.default.spring(this.state.animation,{toValue:0,overshootClamping:!0}).start(e)},n.render=function(){return y(l.default.div,{className:c.default.videoBackgroundTransition,style:{opacity:this.state.animation}},void 0,this.props.children)},t}(o.PureComponent);t.BackgroundTransition=E,E.displayName="BackgroundTransition";var g=function(e){function t(t){var n;return(n=e.call(this,t)||this)._timeout=new u.Timeout,n.handleMouseEvent=function(){var e=n.props.layout;e!==f.ChannelLayouts.FULL_SCREEN&&e!==f.ChannelLayouts.NO_CHAT||(n._timeout.start(3e3,(function(){return n.setState({idle:!0})})),n.state.idle&&n.setState({idle:!1}))},n.state={idle:!1,backgroundAnimation:new l.default.Value(0),layoutProp:t.layout},n}m(t,e);var n=t.prototype;return n.componentDidMount=function(){document.addEventListener("mousedown",this.handleMouseEvent,!0),document.addEventListener("mousemove",this.handleMouseEvent,!0)},n.componentWillUnmount=function(){document.removeEventListener("mousedown",this.handleMouseEvent,!0),document.removeEventListener("mousemove",this.handleMouseEvent,!0),this._timeout.stop()},t.getDerivedStateFromProps=function(e,t){return e.layout!==t.layoutProp?t.idle?{idle:!1,layoutProp:e.layout}:{layoutProp:e.layout}:null},n.componentDidUpdate=function(e){this.props.layout!==e.layout&&this._timeout.stop()},n.renderBackground=function(){var e=this.props,t=e.background,n=e.backgroundKey,r=e.layout+"-"+(n||"");return y(s.default,{className:c.default.videoBackground,component:"div"},void 0,y(E,{},r,t))},n.renderContents=function(){var e,t,n=this.props,r=n.top,a=n.center,o=n.bottom,l=n.layout,u=n.focused,s=this.state.idle;return y(d.default,{className:(0,i.default)(c.default.video,h[l],(e={},e[c.default.idle]=s,e)),direction:d.default.Direction.VERTICAL,justify:d.default.Justify.CENTER},void 0,y(d.default,{className:c.default.videoWrapper,direction:d.default.Direction.VERTICAL},void 0,this.renderBackground(),y(d.default,{className:(0,i.default)(c.default.videoInner,(t={},t[c.default.focused]=u,t)),direction:d.default.Direction.VERTICAL,justify:d.default.Justify.BETWEEN},void 0,y(d.default,{className:c.default.videoTop,grow:0},void 0,r),y(d.default,{className:c.default.videoCenter},void 0,a),y(d.default,{className:c.default.videoBottom,grow:0},void 0,o))))},n.render=function(){var e,t=this.props,n=t.layout,r=t.className,a=t.animated;return y("div",{className:(0,i.default)(c.default.videoHeight,h[n],r,(e={},e[c.default.animated]=a,e))},void 0,this.renderContents())},t}(o.PureComponent);g.displayName="Video",g.defaultProps={layout:f.ChannelLayouts.MINIMUM,animated:!0};var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=T(n(0)),o=n(3),i=O(n(705)),l=n(8788),u=O(n(294)),s=n(691),d=O(n(688)),f=T(n(8253)),c=O(n(163)),p=O(n(71)),v=O(n(8789)),y=O(n(12)),m=O(n(61)),_=O(n(278)),h=O(n(8663)),E=n(1),g=O(n(6)),S=O(n(7378));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function C(){return(C=Object.assign||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}).apply(this,arguments)}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(e){var t=e.closePopout,n=e.idle,r=e.pipWindows,a=e.voiceChannelId,y=e.onSelect;n&&t();var m,_,h,S=(0,o.useStateFromStores)([u.default],(function(){return u.default.getSelfEmbeddedActivityForChannel(a)})),O=(0,o.useStateFromStores)([v.default],(function(){return v.default.pipWindow})),I=(0,o.useStateFromStores)([d.default],(function(){return d.default.getSelectedParticipant(a)})),T=(0,o.useStateFromStores)([d.default],(function(){return d.default.getStreamParticipants(a)}));return b(f.default,{navId:"pip-menu","aria-label":"switch PIP",onClose:t,onSelect:y},void 0,(m=r.find((function(e){return e.component===E.PictureInPictureComponents.EMBED_IFRAME})),_=r.find((function(e){return e.component===E.PictureInPictureComponents.VIDEO})),h=[],null!=m&&(null==O?void 0:O.id)!==m.id&&h.push({pipWindow:m}),null!=_&&T.forEach((function(e){var t=c.default.getActiveStreamForApplicationStream(e.stream),n=e.id===(null==I?void 0:I.id)&&(null==O?void 0:O.id)===_.id;null==t||n||h.push({pipWindow:_,participant:e,stream:t})})),h).map((function(e){var t,n=e.pipWindow.id,r=null===(t=e.participant)||void 0===t?void 0:t.id,o=function(e){if(e.pipWindow.component===E.PictureInPictureComponents.EMBED_IFRAME&&null!=S){var t,n=null===(t=p.default.getGame(S.applicationId))||void 0===t?void 0:t.name;return null==n?g.default.Messages.SWITCH_PIP_TO_ACTIVITY:g.default.Messages.SWITCH_PIP_TO_ACTIVITY_NAME.format({activityName:n})}return null==e.participant||e.participant.type!==s.ParticipantTypes.STREAM?g.default.Messages.SWITCH_PIP_TO_GO_LIVE:g.default.Messages.SWITCH_PIP_TO_USER_STREAM.format({username:e.participant.userNick})}(e),u=""+n+(null!=r?r:"");return b(f.MenuItem,{id:u,label:o,action:function(){return function(e){(null==O?void 0:O.id)!==e.pipWindow.id&&(0,l.switchPIPFocus)(e.pipWindow.id);var t=e.participant;null!=t&&t.type!==s.ParticipantTypes.ACTIVITY&&i.default.selectParticipant(a,t.id)}(e)}},u)})))}function N(e){var t=e.voiceChannelId,n=e.idle,r=(0,o.useStateFromStores)([v.default],(function(){return v.default.pipWindows})),i=Array.from(r.values()),l=(0,o.useStateFromStores)([c.default],(function(){return c.default.getAllActiveStreamsForChannel(t)})).filter((function(e){return e.ownerId!==y.default.getCurrentUser().id&&e.channelId===t})),u=1===i.length&&i[0].component===E.PictureInPictureComponents.EMBED_IFRAME||0===l.length,s=1===i.length&&l.length<=1;return u||s?null:b(_.default,{position:_.default.Positions.BOTTOM,renderPopout:function(e){return a.createElement(M,C({voiceChannelId:t,pipWindows:i,idle:n},e))}},void 0,(function(e){return a.createElement(m.default,C({className:S.default.menuIcon},e),b(h.default,{color:E.Colors.WHITE}))}))}M.displayName="PictureInPictureSwitchWindowMenu",N.displayName="PictureInPictureSwitchWindowPopout";var A=N;t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=ne(n(0)),o=ee(n(23)),i=ee(n(8)),l=ee(n(3)),u=ee(n(288)),s=ee(n(1226)),d=n(687),f=ee(n(132)),c=n(106),p=n(691),v=ee(n(688)),y=ee(n(9138)),m=ee(n(10361)),_=n(180),h=n(140),E=n(484),g=ee(n(1273)),S=ee(n(10347)),O=ee(n(5966)),I=ne(n(1293)),T=n(42),C=ee(n(8661)),b=ee(n(8400)),M=ee(n(10358)),N=ee(n(10362)),A=ee(n(9142)),P=ee(n(10363)),R=ee(n(10364)),L=ee(n(9661)),D=ee(n(8937)),w=ee(n(163)),j=ee(n(11)),k=ee(n(15)),U=ee(n(51)),G=ee(n(40)),F=ee(n(70)),B=ee(n(12)),H=ee(n(10962)),x=ee(n(775)),V=ee(n(161)),W=ee(n(10354)),Y=ee(n(13)),z=ee(n(10963)),K=ee(n(10349)),$=ee(n(10350)),Z=ee(n(8754)),q=ee(n(9678)),X=ee(n(8755)),J=n(1),Q=ee(n(7963));function ee(e){return e&&e.__esModule?e:{default:e}}function te(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return te=function(){return e},e}function ne(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=te();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function re(){return(re=Object.assign||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}).apply(this,arguments)}function ae(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function oe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ie(e,t){return(ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var le=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={screensharePopoutOpen:!1},t._ref=a.createRef(),t.handleVideo=function(e){u.default.setVideoEnabled(e)},t.handleEnableVideoWhenUnavailable=function(){t.props.isVideoAvailable?t.handleVideo(!0):(0,Z.default)()},t.handleJumpToChannel=function(){var e=t.props.channel;(0,d.popAllLayers)();var n=e.getGuildId()||J.ME;s.default.channelListScrollTo(n,e.id),(0,T.transitionToGuild)(n,e.id)},t.handleStartStream=function(){var e=t.props,n=e.canGoLive,r=e.channel,a=r.getGuildId();if((0,o.default)(null!=a,"Cannot go live in non guild channel"),!n)return(0,q.default)();(0,X.default)(a,r.id,J.AnalyticsPages.GUILD_CHANNEL)},t.handleStopStream=function(){var e=t.props.participantOnScreen;(0,o.default)((null==e?void 0:e.type)===p.ParticipantTypes.STREAM,"cannot stop stream for non streamer"),(0,O.default)(e.stream)},t.handleOpenPopout=function(){var e=t.props.channel;I.openChannelCallPopout(e)},t.handleDisconnect=function(){f.default.selectVoiceChannel(null)},t.renderBottomLeftControls=function(){var e=t.viewProperties,n=e.canStream,r=e.canUseVideo,o=e.canSeeViewers;return a.createElement(a.Fragment,null,r?t.renderVideoIcon():null,n?t.renderStreamIcon():null,o?t.renderViewersIcon():null)},t.renderBottomRightControls=function(){var e=t.viewProperties,n=e.canSettings,r=e.canPopout,o=e.canDisconnect,i=e.canStopStream;return a.createElement(a.Fragment,null,n?t.renderSettingsIcon():null,r?t.renderPopoutIcon():null,i?t.renderStopStreamButton():null,o?t.renderDisconnectButton():null)},t.renderDisconnectButton=function(){return ae(N.default,{className:Q.default.rightTrayIcon,onClick:t.handleDisconnect})},t.renderStopStreamButton=function(){var e=t.viewProperties.isSelf;return ae(P.default,{isSelfStream:e,className:Q.default.rightTrayIcon,onClick:t.handleStopStream})},t.renderViewersIcon=function(){var e=t.props,n=e.participantOnScreen,r=e.channel;return(0,o.default)((null==n?void 0:n.type)===p.ParticipantTypes.STREAM||(null==n?void 0:n.type)===p.ParticipantTypes.ACTIVITY,"Cannot render participants for participant type "+(null==n?void 0:n.type)),ae(b.default,{},void 0,ae(m.default,{channelId:r.id,guildId:r.getGuildId(),className:Q.default.leftTrayIcon,participant:n,compact:!0}))},t.renderPopoutIcon=function(){return ae(A.default,{className:Q.default.rightTrayIcon,popoutOpen:!1,onOpenPopout:t.handleOpenPopout,onClosePopout:J.NOOP_NULL})},t.renderStreamIcon=function(){var e=t.props,n=e.channel,r=e.hasStreamPermission;if(n.type===J.ChannelTypes.GUILD_VOICE)return ae(R.default,{className:Q.default.leftTrayIcon,hasPermission:r,onClick:t.handleStartStream})},t.renderSettingsIcon=function(){var e=t.props,n=e.participantOnScreen,r=e.activeStreams;(0,o.default)((null==n?void 0:n.type)===p.ParticipantTypes.STREAM,"Cannot render settings for non stream participant");var a=r.find((function(e){return(0,h.encodeStreamKey)(e)===n.id}));return null==a||a.state===J.ApplicationStreamStates.ENDED?null:ae(L.default,{stream:a,className:Q.default.rightTrayIcon,appContext:J.AppContext.APP})},t.renderVideoIcon=function(){var e=t.props,n=e.isVideoAvailable,r=e.hasStreamPermission,a=e.channel,o=e.isVideoEnabled;return ae(D.default,{className:Q.default.leftTrayIcon,enabled:o,cameraUnavailable:!n,hasPermission:r||a.isPrivate(),onChange:t.handleVideo,onCameraUnavailable:t.handleEnableVideoWhenUnavailable})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,ie(t,n);var i,l,y,E=r.prototype;return E.getScreenMessage=function(){var e=this.props,t=e.participantOnScreen,n=e.currentUserId;if((null==t?void 0:t.type)!==p.ParticipantTypes.STREAM)return null;var r=this.activeStreamForSelectedParticipant;return r?(0,S.default)(r,t.user,t.user.id===n,this.streamerPaused):null},E.componentDidMount=function(){var e=this.props.channel;Y.default.track(J.AnalyticEvents.VIDEO_LAYOUT_TOGGLED,re({video_layout:"pip"},(0,c.collectVoiceAnalyticsMetadata)(e.id)))},E.componentWillUnmount=function(){var e=this.props.channel;Y.default.track(J.AnalyticEvents.VIDEO_LAYOUT_TOGGLED,re({video_layout:v.default.getLayout(e.id)},(0,c.collectVoiceAnalyticsMetadata)(e.id)))},E.renderStreamState=function(){var e=this.activeStreamForSelectedParticipant;return(null==e?void 0:e.state)===J.ApplicationStreamStates.ENDED?ae(K.default,{stream:e,width:p.PIP_WIDTH}):(null==e?void 0:e.state)===J.ApplicationStreamStates.FAILED?ae($.default,{stream:e,width:p.PIP_WIDTH}):null},E.render=function(){var e=this,t=this.props,n=t.channel,r=t.streamId,o=t.participantOnScreen,i=t.isVideoEnabled,l=(0,_.computeChannelName)(n,B.default,F.default),u=(null==o?void 0:o.id)===j.default.getId()&&i,s=this.renderStreamState(),d=null;return(null==o?void 0:o.type)!==p.ParticipantTypes.ACTIVITY&&(null!=s?d=s:(null==o?void 0:o.type)!==p.ParticipantTypes.USER&&(null==o?void 0:o.type)!==p.ParticipantTypes.STREAM||(d=ae(z.default,{paused:this.streamerPaused,streamId:r,component:U.default.getVideoComponent(),mirror:u},void 0,ae(W.default,{size:W.default.AvatarSizes.SIZE_80,src:null==o?void 0:o.user.getAvatarURL(n.guild_id),"aria-label":null==o?void 0:o.user.username})))),ae(C.default,{timeout:1800},void 0,(function(t){var n;return a.createElement(M.default,re({title:l,backgroundKey:null!==(n=null==o?void 0:o.id)&&void 0!==n?n:"",screenMessage:e.getScreenMessage(),onJumpToChannel:e.handleJumpToChannel,renderBottomLeftControls:e.renderBottomLeftControls,renderBottomRightControls:e.renderBottomRightControls,preventIdleComponent:b.default,width:p.PIP_WIDTH},t),d)}))},i=r,(l=[{key:"viewProperties",get:function(){var e=this.props,t=e.participantOnScreen,n=e.currentUserId,r=e.activeSelfStream,a=(null==t?void 0:t.type)===p.ParticipantTypes.STREAM,o=null!=t&&t.type!==p.ParticipantTypes.ACTIVITY&&t.user.id===n;return{canPopout:a&&!o,canSettings:a&&o,canStopStream:a,canSeeViewers:a,canDisconnect:!a,canStream:!a&&!r,canUseVideo:!0,isSelf:o}}},{key:"streamerPaused",get:function(){var e=this.props,t=e.isMainWindowFocused,n=e.activeSelfStream,r=e.participantOnScreen;return null!=n&&(null==r?void 0:r.id)===(0,h.encodeStreamKey)(n)&&!t}},{key:"activeStreamForSelectedParticipant",get:function(){var e=this.props,t=e.participantOnScreen,n=e.activeStreams;return(null==t?void 0:t.type)!==p.ParticipantTypes.STREAM?null:n.find((function(e){return(0,h.encodeStreamKey)(e)===t.id}))}}])&&oe(i.prototype,l),y&&oe(i,y),r}(a.PureComponent);le.displayName="PictureInPictureVideoContainer";var ue=l.default.connectStores([k.default,G.default,U.default,v.default,j.default,H.default,x.default,w.default,V.default],(function(e){var t=e.channel,n=H.default.getSpeaker(t.id),r=v.default.getParticipant(t.id,n),a=(0,i.default)(U.default.getVideoDevices()).values().first(),o=null==a||a.disabled,l=null!=r&&r.type!==p.ParticipantTypes.ACTIVITY?x.default.getStreamId(r.user.id,(0,y.default)(r.type)):null,u=!1===o,s=!o&&U.default.isVideoEnabled(),d=(0,E.canStreamInChannel)(t,k.default,G.default,!1),f=(0,g.default)(U.default),c=j.default.getId();return{channel:t,streamId:l,participantOnScreen:r,isVideoAvailable:u,isVideoEnabled:s,hasStreamPermission:d,canGoLive:f,currentUserId:c,activeStreams:w.default.getAllActiveStreams(),activeSelfStream:w.default.getActiveStreamForUser(c),isMainWindowFocused:V.default.isFocused()}}))(le);t.default=ue},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=y(n(8)),i=y(n(3)),l=y(n(2)),u=n(691),s=y(n(688)),d=n(140),f=y(n(163)),c=y(n(11)),p=y(n(51)),v=y(n(283));n(1);function y(e){return e&&e.__esModule?e:{default:e}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e){var t;if(void 0===e&&(e=!0),null==r)t=null;else{var n;t=s.default.getSelectedParticipantId(r);var i,l=f.default.getLastActiveStream(),y=null!=t?s.default.getParticipant(r,t):null;if(((null==y?void 0:y.type)===u.ParticipantTypes.ACTIVITY||(null==y?void 0:y.type)===u.ParticipantTypes.USER&&!(null===(n=y.voiceState)||void 0===n?void 0:n.selfVideo))&&(t=null),null!=l&&null==t)t=null===(i=s.default.getParticipant(r,(0,d.encodeStreamKey)(l)))||void 0===i?void 0:i.id;if(null==t){var m=c.default.getId(),_=Date.now();t=(0,o.default)(s.default.getVideoParticipants(r)).filter((function(e){return e.type===u.ParticipantTypes.USER&&e.user.id!==m&&!p.default.isLocalVideoDisabled(e.user.id)})).sortBy((function(e){return-v.default.getSpeakingDuration(e.user.id,_)})).map((function(e){return e.user.id})).first()}}a!==t&&(a=t,e&&g.emitChange())}var h=o.default.debounce(_,300);function E(){return h(),!1}var g=new(function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var i=o.prototype;return i.initialize=function(){this.waitFor(s.default,c.default,v.default,f.default,p.default),this.syncWith([s.default,f.default],E)},i.getSpeaker=function(e){var t;return r!==e&&(r=e,_(!1)),null!==(t=a)&&void 0!==t?t:c.default.getId()},o}(i.default.Store))(l.default,{AUDIO_SET_LOCAL_VIDEO_DISABLED:function(e){return E()}}),S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=l(n(9)),i=l(n(7962));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={aStreamId:null,aReady:!1,bStreamId:t.props.streamId,bReady:!0},t.handleReady=function(){t.state.aReady?t.setState({bReady:!0,aStreamId:null,aReady:!1}):t.setState({aReady:!0,bStreamId:null,bReady:!1})},t.handleDoubleClick=function(e){var n=t.props,r=n.onDoubleClick,a=n.id;null==r||r(e,a)},t.handleContextMenu=function(e){var n=t.props,r=n.onContextMenu,a=n.id;null==r||r(e,a)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n),r.getDerivedStateFromProps=function(e,t){var n=e.streamId;if(t.aReady){if(n!==t.aStreamId)return null==n?{bStreamId:n,bReady:!0,aStreamId:null,aReady:!1}:{bStreamId:n,bReady:!1}}else if(n!==t.bStreamId)return null==n?{aStreamId:n,aReady:!0,bStreamId:null,bReady:!1}:{aStreamId:n,aReady:!1};return null};var l=r.prototype;return l.renderVideo=function(e,t){var n=this.props,r=n.children,o=n.mirror,l=n.paused,u=n.component;if(null==e){if(null==r)return null;var f=a.Children.only(r);return a.cloneElement(f,d({style:{display:t&&!o?void 0:"none"}},f.props))}return s(u,{paused:l,className:i.default.media,streamId:e,onReady:t?null:this.handleReady})},l.render=function(){var e,t=this.props,n=t.mirror,r=t.className;return s("div",{className:(0,o.default)(i.default.video,r,(e={},e[i.default.mirror]=n,e)),onDoubleClick:this.handleDoubleClick,onContextMenu:this.handleContextMenu},void 0,this.renderVideo(this.state.aStreamId,this.state.aReady),this.renderVideo(this.state.bStreamId,this.state.bReady))},r}(a.PureComponent);c.displayName="BufferedVideo",c.defaultProps={paused:!0};var p=c;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(9)),i=y(n(3)),l=y(n(8664)),u=y(n(8665)),s=y(n(55)),d=n(278),f=y(n(10965)),c=n(9146),p=y(n(6)),v=y(n(7965));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,E(e,t)}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g={position:d.Positions.BOTTOM,autoInvert:!1},S=function(e){function t(){return e.apply(this,arguments)||this}return h(t,e),t.prototype.render=function(){var e=this.props,t=e.region,n=e.selected;return _(s.default,{align:s.default.Align.CENTER,className:(0,o.default)({selected:n})},void 0,_(c.RegionFlag,{region:t,className:v.default.regionSelectFlag}),_(c.RegionName,{region:t,className:v.default.regionSelectName}),n?_("i",{className:v.default.check}):null)},t}(a.PureComponent);S.displayName="RegionItem";var O=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).renderOption=function(e,t){return _(S,{region:e.value,selected:t},e.value.id)},t.handleChangeVoiceRegion=function(e){var n=e.value,r=t.props.call.channelId;l.default.changeCallRegion(r,n.id)},t}h(t,e);var n=t.prototype;return n.componentDidMount=function(){null==this.props.regions&&l.default.fetchRegions(null)},n.render=function(){var e=this.props,t=e.regions,n=e.call;if(null==t)return null;var r=t.find((function(e){return e.id===n.region}))||{id:"unknown",name:p.default.Messages.UNKNOWN_REGION,vip:!1,deprecated:!1},a={label:r.name,value:r},o=t.filter((function(e){return!e.deprecated})).map((function(e){return{label:e.name,value:e,key:e.id}}));return _(f.default,{label:p.default.Messages.REGION,options:o,value:a,onChange:this.handleChangeVoiceRegion,renderOption:this.renderOption,popoutProps:g,popoutClassName:v.default.regionSelectPopout})},t}(a.PureComponent);O.displayName="QuickRegionSelect";var I=i.default.connectStores([u.default],(function(){return{regions:u.default.getRegions(null)}}))(O);t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=d(n(0)),o=u(n(61)),i=u(n(278)),l=d(n(9145));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function f(){return(f=Object.assign||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}).apply(this,arguments)}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).renderPopout=function(e){var n=e.closePopout,r=t.props,a=r.options,o=r.value,i=r.renderOption,u=r.popoutClassName,s=r.scroller;return c(l.QuickSelectPopout,{scroller:Boolean(s),className:u,options:a,value:o,renderOption:i,onChange:function(e){t.handleChange(e),n()}})},t.handleChange=function(e){var n=t.props.onChange;null==n||n(e)},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n),r.prototype.render=function(){var e=this.props,t=e.label,n=e.value,r=e.renderValue,u=e.className,s=e.popoutProps,d=c(l.default,{label:t,value:n,renderValue:r});return a.createElement(i.default,f({},s,{renderPopout:this.renderPopout}),(function(e,t){return a.createElement(o.default,f({},e,{className:u,"aria-haspopup":"listbox","aria-expanded":t}),d)}))},r}(a.PureComponent);v.displayName="QuickSelectWrapper";var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=N;I(n(0));var r,a=n(3),o=n(34),i=S(n(288)),l=n(389),u=S(n(132)),s=n(364),d=S(n(8257)),f=S(n(8500)),c=S(n(8941)),p=I(n(8253)),v=S(n(8407)),y=S(n(163)),m=S(n(51)),_=S(n(12)),h=n(140),E=n(1),g=S(n(6));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(e){return(0,a.useStateFromStores)([y.default],(function(){var t=y.default.getActiveStreamForUser(e.ownerId);return null!=t&&(0,h.encodeStreamKey)(t)===(0,h.encodeStreamKey)(e)}))}function b(e){var t,n=C(e);return t=e.ownerId===_.default.getCurrentUser().id?g.default.Messages.STOP_STREAMING:n?g.default.Messages.STOP_WATCHING:g.default.Messages.WATCH_STREAM,T(p.MenuItem,{id:"watch",label:t,action:n?function(){(0,s.stopStream)((0,h.encodeStreamKey)(e))}:function(){u.default.selectVoiceChannel(e.channelId),(0,s.watchStream)(e)}})}function M(e){var t=C(e),n=(0,a.useStateFromStores)([m.default],(function(){return m.default.isLocalMute(e.ownerId,o.MediaEngineContextTypes.STREAM)})),r=e.ownerId===_.default.getCurrentUser().id;if(!t||r)return null;return T(p.MenuCheckboxItem,{id:"mute",label:g.default.Messages.SOUND_MUTE,action:function(){i.default.toggleLocalMute(e.ownerId,o.MediaEngineContextTypes.STREAM)},checked:n})}function N(e){var t=e.stream,n=e.analyticsContext,r=e.appContext,a=e.exitFullscreen,i=e.onSelect,u=C(t),s=function(e){var t=C(e),n=(0,v.default)(e.ownerId,o.MediaEngineContextTypes.STREAM);return t?n:null}(t),y=b(t),m=M(t),_=(0,c.default)(t,r,a),h=(0,f.default)(t.channelId);return T(d.default,{context:n,object:E.AnalyticsObjects.CONTEXT_MENU},void 0,T(p.default,{navId:"stream-context",onClose:l.closeContextMenu,"aria-label":g.default.Messages.STREAM_ACTIONS_MENU_LABEL,onSelect:i},void 0,T(p.MenuGroup,{},void 0,y,m),T(p.MenuGroup,{},void 0,s),T(p.MenuGroup,{},void 0,h,u&&_)))}b.displayName="useWatchStreamItem",M.displayName="useMuteStreamItem",N.displayName="StreamContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=ae;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=Z();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=$(n(9)),l=n(122),u=n(3),s=$(n(288)),d=$(n(132)),f=n(364),c=$(n(1166)),p=n(123),v=n(1297),y=$(n(294)),m=n(691),_=$(n(688)),h=$(n(9700)),E=$(n(9701)),g=$(n(9702)),S=n(140),O=$(n(1273)),I=$(n(5966)),T=$(n(8400)),C=$(n(9703)),b=$(n(10371)),M=$(n(10359)),N=$(n(10362)),A=$(n(10372)),P=$(n(10363)),R=$(n(10364)),L=$(n(8937)),D=$(n(163)),w=$(n(51)),j=$(n(36)),k=$(n(12)),U=$(n(278)),G=$(n(9704)),F=$(n(6012)),B=$(n(6013)),H=$(n(9705)),x=$(n(8940)),V=$(n(8754)),W=$(n(9678)),Y=$(n(8755)),z=n(1),K=$(n(7969));function $(e){return e&&e.__esModule?e:{default:e}}function Z(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Z=function(){return e},e}function q(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return X(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return X(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function J(){return(J=Object.assign||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}).apply(this,arguments)}function Q(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function ee(e){if(w.default.isVideoEnabled()!==e)return e?void s.default.setVideoEnabled(e):s.default.setVideoEnabled(e)}function te(e){var t=e.channel,n=e.currentUser,r=e.exitFullScreen,a=e.canGoLive,i=e.inPopout,l=e.coloring,s=e.hasPermission,d=(0,u.useStateFromStores)([D.default],(function(){return D.default.getAllActiveStreams()})).find((function(e){return e.ownerId===(null==n?void 0:n.id)})),f=t.getGuildId(),c=o.useCallback((function(){if(null==r||r(),!a)return(0,W.default)();(0,Y.default)(f,t.id,z.AnalyticsPages.GUILD_CHANNEL)}),[f,t.id,a,r]),p=null!=d;return Q(T.default,{},void 0,Q(U.default,{renderPopout:function(e){var r=e.closePopout;return Q(C.default,{},void 0,Q(x.default,{channel:t,currentUser:n,activeStreams:null!=d?[d]:[],handleGoLive:c,onClose:r,appContext:i?z.AppContext.POPOUT:z.AppContext.APP}))},position:U.default.Positions.TOP,align:U.default.Align.CENTER,animation:U.default.Animation.FADE},void 0,(function(e,t){var n=e.onClick,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onClick"]);return Q("div",{},void 0,null!=d?o.createElement(P.default,J({},r,{color:l[1],centerButton:!0,className:K.default.controlButton,onClick:function(){return(0,I.default)(d)},isSelfStream:!0,onPopoutClick:p?n:null,popoutOpen:t,shouldShowTooltip:!t})):o.createElement(R.default,J({},r,{centerButton:!0,color:l[0],className:K.default.controlButton,hasPermission:s,onClick:a?c:W.default,onPopoutClick:p?n:null,popoutOpen:t,shouldShowTooltip:!t})))})))}te.displayName="GoLiveButton",function(e){e.ACTIVITY="ACTIVITY",e.STREAM="STREAM",e.CALL="CALL"}(a||(a={}));var ne=o.memo((function(e){var t=e.currentUser,n=e.onDisconnectCall,r=e.channel,i=(0,u.useStateFromStores)([_.default],(function(){return _.default.getSelectedParticipant(r.id)})),s=o.useContext(p.AccessibilityPreferencesContext).reducedMotion,c=o.useState(!1),h=c[0],E=c[1],g=null==i?void 0:i.id,O=(0,u.useStateFromStores)([D.default],(function(){return null!=g?D.default.getActiveStreamForStreamKey(g):null}),[g]),I=(null==i?void 0:i.type)===m.ParticipantTypes.STREAM&&null!=O&&O.ownerId!==(null==t?void 0:t.id),T=(0,u.useStateFromStoresArray)([D.default],(function(){return D.default.getAllActiveStreamsForChannel(r.id).filter((function(e){return e.ownerId!==(null==t?void 0:t.id)}))})),C=(0,u.useStateFromStores)([y.default],(function(){return y.default.getSelfEmbeddedActivityForChannel(r.id)})),b=o.useCallback((function(){return(null==i?void 0:i.type)===m.ParticipantTypes.ACTIVITY&&C?a.ACTIVITY:I?a.STREAM:a.CALL}),[i,C,I]),A=o.useState(b()),R=A[0],L=A[1],w=(0,l.useSpring)({opacity:h?.2:1,transform:h&&!s.enabled?"scale(0.7)":"scale(1)",config:{mass:2,tension:h?600:1e3,friction:45,precision:.01,clamp:h},onRest:function(){L(b()),E(!1)}});o.useEffect((function(){b()!==R&&E(!0)}),[R,b]);var j=function(e,t){var l={centerButton:!0,className:K.default.controlButton,popoutOpen:e};switch(R){case a.ACTIVITY:return o.createElement(M.default,J({},l,{color:"red",onClick:function(){return null!=i&&(0,v.stopEmbeddedActivity)(r.id,i.id)},onPopoutClick:T.length>0?t:null}));case a.STREAM:return o.createElement(P.default,J({},l,{color:"red",onClick:function(){if(O)(0,f.stopStream)((0,S.encodeStreamKey)(O));else for(var e,t=q(T);!(e=t()).done;){var n=e.value;(0,f.stopStream)((0,S.encodeStreamKey)(n))}},onPopoutClick:T.length>1?t:null,isSelfStream:!1}));case a.CALL:return o.createElement(N.default,J({},l,{color:"red",onClick:function(){d.default.selectVoiceChannel(null),null==n||n()},onPopoutClick:T.length>0?t:null}))}};return Q(U.default,{renderPopout:function(e){var n=e.closePopout;return Q(x.default,{channel:r,currentUser:t,activeStreams:T,handleGoLive:z.NOOP_NULL,hideSelfOptions:!0,onClose:n})},position:U.default.Positions.TOP,align:U.default.Align.CENTER,animation:U.default.Animation.FADE},void 0,(function(e,t){var n=e.onClick;return Q(l.animated.div,{style:w},void 0,j(t,n))}))}));function re(e){var t=e.channel,n=e.cameraUnavailable,r=e.hasCameraPermission,a=(0,F.default)(t),l=a.reachedLimit,u=a.limit,s=o.useCallback((function(){d.default.selectVoiceChannel(t.id,!0)}),[t.id]),f=o.useCallback((function(){d.default.selectVoiceChannel(t.id,!1)}),[t.id]),c=o.useCallback((function(){n?(0,V.default)():s()}),[n,s]);return o.createElement(o.Fragment,null,Q(L.default,{enabled:!0,centerButton:!0,join:!0,color:"green",channelLimitReached:l,channelLimit:u,channel:t,cameraUnavailable:n,hasPermission:r,onCameraUnavailable:c,className:K.default.controlButton,iconClassName:K.default.joinIcon,onChange:s}),Q(b.default,{centerButton:!0,color:"green",channel:t,className:(0,i.default)(K.default.controlButton,K.default.lastButton),onClick:f}))}function ae(e){var t=e.channel,n=e.inPopout,r=e.mode,a=e.className,o=e.onDisconnectCall,l=e.exitFullScreen,s=(0,u.useStateFromStores)([k.default],(function(){return k.default.getCurrentUser()})),d=(0,G.default)(),f=d.cameraUnavailable,p=d.enabled,v=(0,B.default)(t),y=(0,H.default)(t),m=y.suppress,_=y.selfMute,S=y.mute,I=m||_||S,T=(0,u.useStateFromStoresObject)([w.default],(function(){return{canGoLive:(0,O.default)(w.default)}})).canGoLive,b=(0,u.useStateFromStores)([j.default],(function(){return j.default.getVoiceChannelId()===t.id}),[t]),M=(0,F.default)(t),N=M.reachedLimit,P=M.limit,R=(0,c.default)();if(!b)return Q(re,{channel:t,cameraUnavailable:f,hasCameraPermission:v});var D="primaryDark";r===z.ChannelModes.VOICE&&(D=R===z.ThemeTypes.LIGHT?"primaryLight":D);var x="white";return r===z.ChannelModes.VOICE&&(x=R===z.ThemeTypes.LIGHT?"activeLight":x),Q("div",{className:(0,i.default)(K.default.wrapper,a)},void 0,Q(U.default,{renderPopout:function(e){var t=e.closePopout;return Q(C.default,{},void 0,Q(E.default,{onClose:t}))},position:U.default.Positions.TOP,align:U.default.Align.CENTER,animation:U.default.Animation.FADE},void 0,(function(e,t){var n=e.onClick;return Q(L.default,{centerButton:!0,color:p?x:D,hasPermission:v,className:K.default.controlButton,enabled:p,cameraUnavailable:f,onChange:ee,onCameraUnavailable:V.default,channelLimitReached:N,channelLimit:P,popoutOpen:t,onPopoutClick:n})})),Q(te,{coloring:[D,x],channel:t,currentUser:s,exitFullScreen:l,inPopout:n,canGoLive:T,hasPermission:v}),Q(U.default,{renderPopout:function(e){var t=e.closePopout;return Q(C.default,{},void 0,Q(h.default,{onClose:t,renderInputDevices:!0,renderOutputDevices:!0,renderInputModes:!0}))},align:U.default.Align.CENTER,position:U.default.Positions.TOP,animation:U.default.Animation.FADE},void 0,(function(e,t){var n=e.onClick;return Q(A.default,{color:I?x:D,centerButton:!0,onPopoutClick:n,className:K.default.controlButton,selfMute:_,serverMute:S,suppress:m,popoutOpen:t,onClick:function(){return(0,g.default)(S,m)}})})),Q(ne,{currentUser:s,channel:t,onDisconnectCall:o}))}ae.displayName="CenterControlTray"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,a.useStateFromStores)([l.default],(function(){return Object.values(l.default.getInputDevices())})),t=(0,a.useStateFromStores)([l.default],(function(){return l.default.getInputDeviceId()}));return e.map((function(e){var n=e.id,r=e.disabled,a=e.name;return d(i.MenuRadioItem,{id:"input-"+n,group:"input-devices",disabled:r,label:a,checked:n===t,action:function(){return o.default.setInputDevice(n)}},"input-"+n)}))};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=u(n(288)),i=n(8253),l=u(n(51));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,a.useStateFromStores)([l.default],(function(){return Object.values(l.default.getOutputDevices())})),t=(0,a.useStateFromStores)([l.default],(function(){return l.default.getOutputDeviceId()}));return e.map((function(e){var n=e.id,r=e.disabled,a=e.name;return d(i.MenuRadioItem,{group:"output-devices",id:"output-"+n,disabled:r,label:a,checked:n===t,action:function(){return o.default.setOutputDevice(n)}},"output-"+n)}))};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=u(n(288)),i=n(8253),l=u(n(51));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(473)),o=n(8253),i=s(n(8367)),l=n(1),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return f(o.MenuItem,{id:"voice-settings",label:u.default.Messages.VOICE_SETTINGS,action:function(){return a.default.open(l.UserSettingsSections.VOICE)},icon:i.default})}c.displayName="useVoiceSettingsItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,a.useStateFromStores)([l.default],(function(){return Object.values(l.default.getVideoDevices())})),t=(0,a.useStateFromStores)([l.default],(function(){return l.default.getVideoDeviceId()}));return e.map((function(e){var n=e.id,r=e.disabled,a=e.name;return d(i.MenuRadioItem,{group:"video-devices",id:"video-device-"+n,disabled:r,label:a,checked:n===t,action:function(){return o.default.setVideoDevice(n)}},"video-device-"+n)}))};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=u(n(288)),i=n(8253),l=u(n(51));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(288)),i=n(8726),l=d(n(10973)),u=n(41),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(){return c(i.MenuItem,{id:"report-stream-problem",label:s.default.Messages.CAMERA_PREVIEW_MENU_ITEM,action:function(){(0,u.openModal)((function(e){return a.createElement(l.default,p({},e,{onAccept:function(){return o.default.setVideoEnabled(!0)}}))}))}})}v.displayName="usePreviewVideoItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=S;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=m(n(288)),i=m(n(51)),l=m(n(29)),u=m(n(151)),s=n(85),d=n(35),f=m(n(47)),c=n(374),p=m(n(24)),v=m(n(6)),y=m(n(7967));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var E=368,g=207;function S(e){var t=e.transitionState,n=e.onAccept,r=e.onClose,m=i.default.getCameraComponent(),_=(0,a.useStateFromStores)([i.default],(function(){return i.default.getVideoDeviceId()})),S=(0,a.useStateFromStores)([i.default],(function(){return Object.values(i.default.getVideoDevices())})),O=(0,s.useUID)();var I=S.map((function(e){return{value:e.id,label:e.name}}));return h(d.ModalRoot,{size:d.ModalSize.DYNAMIC,"aria-labelledby":O,transitionState:t},void 0,h(d.ModalContent,{className:y.default.content},void 0,h(f.default,{id:O,className:y.default.header,size:f.default.Sizes.SIZE_24},void 0,v.default.Messages.CAMERA_PREVIEW_MODAL_HEADER),h(p.default,{className:y.default.subtitle,size:p.default.Sizes.SIZE_16,color:p.default.Colors.CUSTOM},void 0,v.default.Messages.CAMERA_PREVIEW_MODAL_SUBTITLE),h("div",{className:y.default.cameraPreview},void 0,h(u.default,{className:y.default.spinner}),h("div",{className:y.default.camera},void 0,h(m,{disabled:!1,deviceId:_,width:E,height:g}))),h(c.SingleSelect,{placeholder:v.default.Messages.CHANGE_CAMERA,className:y.default.selector,options:I,value:_,onChange:function(e){return o.default.setVideoDevice(e)}})),h(d.ModalFooter,{},void 0,h(l.default,{onClick:function(){r(),n()},size:l.default.Sizes.SMALL},void 0,v.default.Messages.CAMERA_ON),h(l.default,{onClick:r,look:l.default.Looks.LINK,color:l.default.Colors.PRIMARY,size:l.default.Sizes.SMALL},void 0,v.default.Messages.CANCEL)))}S.displayName="CameraPreviewModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.stream,n=e.applicationId,r=e.channel,h=e.exitFullScreen,E=e.appContext,O=e.analyticsLocation,I=e.className,T=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["stream","applicationId","channel","exitFullScreen","appContext","analyticsLocation","className"]),C=null==r?void 0:r.getGuildId(),b=(0,l.useStateFromStores)([d.default],(function(){return null!=C?d.default.getGuild(C):null}),[C]);if(!function(e,t){return null!=e&&null!=t&&f.default.can(y.Permissions.CREATE_INSTANT_INVITE,t)}(b,r))return null;var M=m.default.Messages.INSTANT_INVITE;null!=t?M=m.default.Messages.INVITE_STREAM_HEADER:null!=n&&(M=m.default.Messages.EMBEDDED_ACTIVITIES_INVITE_TO_ACTIVITY);return a.createElement(a.Fragment,null,a.createElement(c.default,S({size:c.default.Sizes.TINY,color:_.default.buttonColor,onClick:function(){(0,i.default)(null!=b,"guild cannot be null"),(0,i.default)(null!=r,"channel cannot be null"),function(e,t,n,r,o,i,l){null==i||i(),(0,p.openModal)((function(o){return a.createElement(u.default,S({},o,{guild:e,channel:t,streamUserId:n,applicationId:r,analyticsLocation:l,source:y.InstantInviteSources.STREAM_INVITE}))}),{modalKey:"stream-invite-modal"},o===y.AppContext.POPOUT?v.POPOUT_MODAL_CONTEXT:v.DEFAULT_MODAL_CONTEXT)}(b,r,null==t?void 0:t.ownerId,n,E,h,O)},className:(0,o.default)(I,_.default.textButton)},T),M),g(s.default,{channel:r,stream:t,appContext:E,className:(0,o.default)(I,_.default.iconButton),exitFullScreen:h,analyticsLocation:O}))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(9)),i=h(n(23)),l=n(3),u=h(n(8283)),s=h(n(9148)),d=h(n(15)),f=h(n(40)),c=h(n(29)),p=n(41),v=n(217),y=n(1),m=h(n(6)),_=h(n(7970));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(){return(S=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=s(n(8320)),l=s(n(8288)),u=s(n(7972));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}function c(e){var t,n=e.direction,s=e.className,d=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["direction","className"]);return a.createElement(l.default,f({className:(0,o.default)(s,u.default.arrow,(t={},t[u.default.up]=n===r.UP,t)),iconComponent:i.default},d))}!function(e){e[e.UP=0]="UP",e[e.DOWN=1]="DOWN"}(r||(r={})),c.displayName="ArrowButton",c.Directions=r;var p=c;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=c(n(3)),o=c(n(5952)),i=c(n(161)),l=c(n(9103)),u=c(n(10977)),s=n(733),d=c(n(8288)),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e){var t=e.enabled,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["enabled"]),a=t?f.default.Messages.EXIT_FULL_SCREEN:f.default.Messages.FULL_SCREEN,o=t?u.default:l.default;return r.createElement(d.default,v({label:a,iconComponent:o},n))}y.displayName="FullscreenButton";var m=a.default.connectStores([i.default,o.default],(function(e){var t=e.node,n=e.guestWindow;return{enabled:(0,s.isFullScreen)(t,null==n?void 0:n.document)}}))(y);t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,d:"M16,8V3H14V8a2,2,0,0,0,2,2h5V8Z"}),s("path",{className:f,fill:d,d:"M14,16v5h2V16h5V14H16A2,2,0,0,0,14,16Z"}),s("path",{className:f,fill:d,d:"M8,8H3v2H8a2,2,0,0,0,2-2V3H8Z"}),s("path",{className:f,fill:d,d:"M8,14H3v2H8v5h2V16A2,2,0,0,0,8,14Z"}))}d.displayName="MinimizeScreen"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=u(n(9149)),o=u(n(9150)),i=u(n(8288)),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e){var t=e.popoutWindowAlwaysOnTop,n=e.onToggleStayOnTop,u=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["popoutWindowAlwaysOnTop","onToggleStayOnTop"]),s=t?l.default.Messages.POPOUT_REMOVE_FROM_TOP:l.default.Messages.POPOUT_STAY_ON_TOP,f=t?o.default:a.default;return r.createElement(i.default,d({onClick:function(){return n(!t)},label:s,iconComponent:f},u))}f.displayName="StayOnTopButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=p(n(9)),o=p(n(3)),i=p(n(288)),l=p(n(51)),u=p(n(9102)),s=n(8425),d=p(n(16)),f=p(n(8400)),c=p(n(7401));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t=e.iconClassName,n=e.currentVolume,r=e.sliderClassName,o=e.userId,l=e.currentWindow,p=void 0===l?window:l,v=e.muted,m=e.context;return y(f.default,{},void 0,y(u.default,{currentWindow:p,iconClassName:(0,a.default)(t,c.default.controlIcon),sliderClassName:r,value:(0,s.amplitudeToPerceptual)(n),muted:v,maxValue:d.default.embedded?200:100,onValueChange:function(e){return function(e,t,n,r){e>0&&n&&i.default.toggleLocalMute(t,r),i.default.setLocalVolume(t,(0,s.perceptualToAmplitude)(e),r)}(e,o,v,m)},onToggleMute:function(){return function(e,t){i.default.toggleLocalMute(e,t)}(o,m)}}))}m.displayName="VolumeButton";var _=o.default.connectStores([l.default],(function(e){var t=e.userId,n=e.context;return{currentVolume:l.default.getLocalVolume(t,n),muted:l.default.isLocalMute(t,n)}}))(m);t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=P;var r,a=I(n(0)),o=n(92),i=n(3),l=I(n(5957)),u=S(n(180)),s=S(n(8449)),d=S(n(10981)),f=S(n(8282)),c=S(n(24)),p=S(n(16)),v=n(259),y=S(n(43)),m=n(691),_=S(n(688)),h=S(n(10982)),E=S(n(6)),g=S(n(7976));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function b(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){C(o,r,a,i,l,"next",e)}function l(e){C(o,r,a,i,l,"throw",e)}i(void 0)}))}}function M(){return N.apply(this,arguments)}function N(){return(N=b(regeneratorRuntime.mark((function e(){var t,n,r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!p.default.isOSX()||!p.default.embedded){e.next=14;break}return e.next=3,null===(n=(r=window.DiscordNative.remoteApp).getDefaultDoubleClickAction)||void 0===n?void 0:n.call(r);case 3:if(e.t1=t=e.sent,e.t0=null!==e.t1,!e.t0){e.next=7;break}e.t0=void 0!==t;case 7:if(!e.t0){e.next=11;break}e.t2=t,e.next=12;break;case 11:e.t2="Maximize";case 12:"Minimize"===(a=e.t2)?y.default.minimize():"Maximize"===a&&y.default.maximize();case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function A(e){var t=e.stream,n=e.channel,r=e.user,o=(0,d.default)(n,r,t);return a.createElement(a.Fragment,null,T(f.default.Divider,{className:g.default.divider}),T(l.default,{className:g.default.avatar,size:l.Sizes.SIZE_24,user:r,animate:!1}),T(c.default,{className:g.default.playingText,size:c.default.Sizes.SIZE_16,color:c.default.Colors.CUSTOM},void 0,o))}function P(e){var t=e.channel,n=e.appContext,r=e.inPopout,a=e.isFullScreen,l=e.exitFullScreen,d=(0,i.useStateFromStoresObject)([_.default],(function(){return{selectedParticipant:_.default.getSelectedParticipant(t.id),participantsOpen:_.default.getParticipantsOpen(t.id)}}),[t.id]).selectedParticipant,c=(0,u.default)(t),p=(0,s.default)(t),y=E.default.Messages.VOICE_CHANNEL;return t.isDM()?y=E.default.Messages.DM:t.isGroupDM()&&(y=E.default.Messages.GROUP_DM),T(f.default,{onDoubleClick:M,transparent:!0,className:(0,v.getThemeClass)(o.ThemeTypes.DARK),toolbar:T(h.default,{channel:t,appContext:n,inPopout:r,isFullScreen:a,exitFullScreen:l})},void 0,null!=p?T(f.default.Icon,{icon:p,disabled:!0,"aria-label":y}):null,T(f.default.Title,{},void 0,c),null!=d&&d.type!==m.ParticipantTypes.ACTIVITY?T(A,{stream:d.type===m.ParticipantTypes.STREAM?d.stream:null,channel:t,user:d.user}):null)}P.displayName="ChannelCallHeader"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var u=(0,r.useStateFromStores)([o.default],(function(){return null!=n?(0,a.getStreamerApplication)(n,o.default):null}),[n]),s=i.default.getName(e.getGuildId(),e.id,t);if(null==n)return s;return null!=(null==u?void 0:u.name)?l.default.Messages.GO_LIVE_USER_PLAYING.format({applicationName:null==u?void 0:u.name,username:s}):l.default.Messages.GO_LIVE_TILE_SCREEN.format({username:s})};var r=n(3),a=n(726),o=u(n(256)),i=u(n(258)),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.channel,n=e.appContext,r=e.inPopout,o=e.isFullScreen,i=e.exitFullScreen,d=(0,l.useStateFromStoresObject)([C.default],(function(){return{selectedParticipant:C.default.getSelectedParticipant(t.id),voiceParticipantsHidden:C.default.getVoiceParticipantsHidden(t.id),userParticipantCount:C.default.getUserParticipantCount(t.id)}}),[t.id]),h=d.voiceParticipantsHidden,g=d.selectedParticipant,O=d.userParticipantCount,N=(0,c.usePreventIdle)("popup"),P=N.preventIdle,R=N.allowIdle,j=[];h&&j.push(L(w,{channelId:t.id,guildId:t.guild_id},"current-speaker"));(null==g?void 0:g.type)===T.ParticipantTypes.STREAM&&(j.push(L(f.default,{className:A.default.button,streamerId:g.stream.ownerId},"warning")),j.push(L(u.default,{size:I.default.Sizes.LARGE,className:A.default.button,participant:g,showQuality:!0},"live-indicator")));var k=L(p.default,{},void 0,L(M.default,{channel:t}));h&&j.push(L(E.default,{position:E.default.Positions.BOTTOM,renderPopout:function(){return k}},"call-members-popout",(function(e,t){return a.createElement(m.default,D({},e,{active:t,count:O,key:"call-members",className:A.default.button}))})));j.push(null!=g?L(y.default,{className:A.default.button,channelId:t.id},"deselect-participant"):L(_.default,{className:A.default.button,channelId:t.id},"select-participant")),j.push(L(E.default,{position:E.default.Positions.BOTTOM,renderPopout:function(e){var r=e.closePopout;return L(p.default,{},void 0,L(b.default,{channelId:t.id,onClose:r,appContext:n,exitFullScreen:i}))}},"more-options-popout",(function(e,t){return a.createElement(v.default,D({},e,{key:"more-options",active:t,className:A.default.lastButton}))}))),r||o||(j.push(L(S.default.Divider,{className:A.default.divider},"divider")),j.push(L(s.default,{className:A.default.button,onOpen:P,onClose:R},"recents")));return a.createElement(a.Fragment,null,j)};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=R();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=P(n(9)),i=P(n(8)),l=n(3),u=P(n(9656)),s=P(n(9151)),d=P(n(9137)),f=P(n(10352)),c=n(8400),p=P(n(9703)),v=P(n(10983)),y=P(n(10984)),m=P(n(10986)),_=P(n(10987)),h=P(n(283)),E=P(n(278)),g=P(n(149)),S=P(n(8282)),O=P(n(8670)),I=P(n(8414)),T=n(691),C=P(n(688)),b=P(n(10989)),M=P(n(10990)),N=P(n(6)),A=P(n(7975));function P(e){return e&&e.__esModule?e:{default:e}}function R(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return R=function(){return e},e}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function D(){return(D=Object.assign||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}).apply(this,arguments)}function w(e){var t=e.channelId,n=e.guildId,r=Date.now(),u=(0,l.useStateFromStores)([h.default,C.default],(function(){return(0,i.default)(h.default.getSpeakers()).map((function(e){return C.default.getParticipant(t,e)})).filter((function(e){return null!=e&&e.type===T.ParticipantTypes.USER&&!(0,d.default)(e)&&e.speaking})).sortBy((function(e){return-h.default.getSpeakingDuration(e.user.id,r)})).slice(0,3).value()}));return 0===u.length?null:a.createElement(a.Fragment,null,u.map((function(e,t){return L(g.default,{position:g.default.Positions.BOTTOM,color:g.default.Colors.GREY,text:N.default.Messages.CHANNEL_CALL_CURRENT_SPEAKER.format({username:e.user.username})},e.id,(function(r){var i;return a.createElement(O.default,D({},r,{className:(0,o.default)(A.default.speaker,(i={},i[A.default.last]=t===u.length-1,i)),user:e.user,speaking:!0,collapsed:!0,guildId:n}))}))})))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(149),o=u(n(8331)),i=u(n(8288)),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e){var t=d({},e);return r.createElement(i.default,d({label:l.default.Messages.MORE,iconComponent:o.default,tooltipPosition:a.TooltipPositions.BOTTOM},t))}f.displayName="ContextButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=s(n(705)),o=n(149),i=s(n(10985)),l=s(n(8288)),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}function c(e){var t=e.channelId,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["channelId"]);return r.createElement(l.default,f({onClick:function(){a.default.selectParticipant(t,null)},label:u.default.Messages.VIDEO_CALL_RETURN_TO_GRID,iconComponent:i.default,tooltipPosition:o.TooltipPositions.BOTTOM},n))}c.displayName="GridButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24",fill:"none"}),s("rect",{className:f,x:"4",y:"4",width:"7",height:"7",rx:"1",fill:d}),s("rect",{className:f,x:"4",y:"13",width:"7",height:"7",rx:"1",fill:d}),s("rect",{className:f,x:"13",y:"4",width:"7",height:"7",rx:"1",fill:d}),s("rect",{className:f,x:"13",y:"13",width:"7",height:"7",rx:"1",fill:d}))}d.displayName="Grid"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParticipantsCount=m,t.default=_;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(9)),i=n(149),l=c(n(696)),u=c(n(24)),s=c(n(8288)),d=c(n(6)),f=c(n(7973));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t=e.className,n=e.count;return y("div",{className:(0,o.default)(f.default.root,f.default.comboIcon,t)},void 0,y(l.default,{className:f.default.icon}),y(u.default,{color:u.default.Colors.CUSTOM,className:f.default.count,size:u.default.Sizes.SIZE_16},void 0,n))}function _(e){var t=e.count,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["count"]);return a.createElement(s.default,v({label:d.default.Messages.CHANNEL_CALL_PARTICIPANTS,iconComponent:function(e){return y(m,{className:e.className,count:t})},tooltipPosition:i.TooltipPositions.BOTTOM},n))}m.displayName="ParticipantsCount",_.displayName="ParticipantsButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=d(n(705)),o=n(691),i=n(149),l=d(n(10988)),u=d(n(8288)),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e){var t=e.channelId,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["channelId"]);return r.createElement(u.default,c({onClick:function(){a.default.selectParticipant(t,o.ParticipantSelectionTypes.AUTO)},label:s.default.Messages.VIDEO_CALL_AUTO_SELECT,iconComponent:l.default,tooltipPosition:i.TooltipPositions.BOTTOM},n))}p.displayName="VideoLayoutButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24",fill:"none"}),s("rect",{className:f,x:"1",y:"4",width:"13",height:"16",rx:"2",fill:d}),s("rect",{className:f,x:"16",y:"4",width:"7",height:"7",rx:"1",fill:d}),s("rect",{className:f,x:"16",y:"13",width:"7",height:"7",rx:"1",fill:d}))}d.displayName="VideoLayout"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;p(n(0));var r,a=n(3),o=p(n(8253)),i=n(691),l=f(n(688)),u=f(n(8500)),s=f(n(8941)),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e){var t=e.channelId,n=e.onClose,r=e.appContext,f=e.exitFullScreen,c=e.onSelect,p=(0,a.useStateFromStores)([l.default],(function(){return l.default.getSelectedParticipant(t)})),y=(null==p?void 0:p.type)===i.ParticipantTypes.STREAM?p.stream:null;return v(o.default,{navId:"channel-call-overflow-popout",style:o.MenuStyle.FLEXIBLE,onClose:n,"aria-label":d.default.Messages.CHANNEL_CALL_OVERFLOW_MENU_LABEL,onSelect:c},void 0,(0,u.default)(t),(0,s.default)(y,r,f))}y.displayName="ChannelCallOverflowMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=f(n(8763)),i=f(n(365)),l=f(n(24)),u=f(n(272)),s=f(n(6)),d=f(n(7974));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.channel,n=(0,a.useStateFromStores)([i.default],(function(){return i.default.getVoiceStatesForChannel(t)}));return p("div",{className:d.default.root},void 0,p(l.default,{size:l.default.Sizes.SIZE_12,className:d.default.header},void 0,s.default.Messages.CHANNEL_CALL_MEMBERS_POPOUT_HEADER.format({count:n.length})),p(u.default,{className:d.default.scroller},void 0,p(o.default,{allowDragging:!1,allowPreviews:!1,className:d.default.voiceUsers,channel:t,voiceStates:n,collapsed:!1})))}v.displayName="ChannelCallParticipantsPopout"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(10366)),o=l(n(10375)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.windowKey,n=e.channel;return s(a.default,{withTitleBar:!0,windowKey:t,title:n.name},void 0,s(o.default,{channel:n,appContext:i.AppContext.POPOUT}))}d.displayName="PopoutWindowStageChannelCall"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=ne;var r,a=B(n(0)),o=G(n(9)),i=G(n(23)),l=n(92),u=n(3),s=n(389),d=B(n(5957)),f=n(8298),c=G(n(8322)),p=G(n(8264)),v=G(n(8268)),y=G(n(56)),m=G(n(40)),_=G(n(256)),h=G(n(29)),E=G(n(61)),g=G(n(278)),S=G(n(8267)),O=G(n(149)),I=G(n(255)),T=G(n(407)),C=G(n(10376)),b=G(n(1318)),M=G(n(24)),N=G(n(1210)),A=n(301),P=n(1260),R=n(260),L=n(304),D=G(n(9159)),w=n(10993),j=G(n(10994)),k=G(n(6)),U=G(n(7979));function G(e){return e&&e.__esModule?e:{default:e}}function F(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return F=function(){return e},e}function B(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=F();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function H(){return(H=Object.assign||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}).apply(this,arguments)}function x(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var V,W=x(b.default,{}),Y=x(I.default,{}),z=a.memo((function(e){var t=e.toggleRequestToSpeakSidebar;return x("div",{className:U.default.headerContainer},void 0,W,x(M.default,{className:U.default.headerTitle,size:M.default.Sizes.SIZE_16,color:M.default.Colors.HEADER_PRIMARY},void 0,k.default.Messages.REQUEST_TO_SPEAK_AREA_TITLE),x(E.default,{className:U.default.headerClose,onClick:t,"aria-label":k.default.Messages.CLOSE},void 0,Y))})),K=x(T.default,{width:16,height:16}),$=a.memo((function(e){var t=e.channel;return x(E.default,{className:U.default.selfSpeakerContainer,onClick:function(){(0,A.audienceAckRequestToSpeak)(t,!1)}},void 0,x("div",{className:(0,o.default)(U.default.buttonContainer,U.default.selfSpeakerButton)},void 0,K),x(M.default,{className:U.default.selfSpeakerText,size:M.default.Sizes.SIZE_16,color:M.default.Colors.CUSTOM},void 0,k.default.Messages.MODERATOR_RAISE_OWN_HAND))})),Z=x(C.default,{width:16,height:16}),q=x(I.default,{width:16,height:16}),X=a.memo((function(e){var t=e.channel,n=e.participant,r=t.getGuildId();(0,i.default)(null!=r,"Channel cannot be guildless");var l=(0,u.useStateFromStoresObject)([_.default],(function(){return{isMobile:_.default.isMobileOnline(n.user.id),status:_.default.getStatus(n.user.id,r)}})),m=l.isMobile,S=l.status,I=(0,u.useStateFromStores)([y.default],(function(){return y.default.getMember(r,n.user.id)})),T=a.useMemo((function(){var e;return(e={})[r]=[n.user.id],e}),[r,n.user.id]);(0,f.useSubscribeGuildMembers)(T);var C=n.rtsState===L.RequestToSpeakStates.REQUESTED_TO_SPEAK_AND_AWAITING_USER_ACK;function b(){(0,A.setUserSuppress)(t,n.user.id,!1)}function N(){(0,A.setUserSuppress)(t,n.user.id,!0)}var P=function(e){(0,s.openContextMenu)(e,(function(e){return a.createElement(c.default,H({},e,{user:n.user,guildId:r,channelId:t.id,showMediaItems:!0,popoutPosition:g.default.Positions.LEFT}))}))};return x("div",{className:U.default.participantRowContainer},void 0,x(g.default,{preload:function(){return(0,p.default)(n.user.id,n.user.getAvatarURL(t.guild_id))},renderPopout:function(e){return a.createElement(v.default,H({},e,{userId:n.user.id,guildId:r,channelId:t.id}))},position:g.default.Positions.LEFT,spacing:16},void 0,(function(e){var t;return a.createElement(E.default,H({className:U.default.participantMemberContainer,onContextMenu:P},e),x(d.default,{size:d.Sizes.SIZE_40,className:U.default.participantAvatar,user:n.user,isMobile:m,status:S}),x("div",{className:U.default.participantTextContainer},void 0,x(M.default,{className:U.default.participantName,size:M.default.Sizes.SIZE_16,color:M.default.Colors.CUSTOM,style:{color:null!==(t=null==I?void 0:I.colorString)&&void 0!==t?t:void 0}},void 0,n.userNick),x(M.default,{size:M.default.Sizes.SIZE_12,color:M.default.Colors.HEADER_SECONDARY},void 0,(0,R.participantMemberInfo)(n))))})),x(O.default,{text:C?k.default.Messages.REQUEST_TO_SPEAK_INVITATION_SEND:k.default.Messages.REQUEST_TO_SPEAK_ACCEPT},void 0,(function(e){return a.createElement(h.default,H({},e,{innerClassName:U.default.buttonContainer,look:h.default.Looks.BLANK,size:h.default.Sizes.NONE,onClick:b,disabled:C}),Z)})),x(O.default,{text:k.default.Messages.REQUEST_TO_SPEAK_DECLINE},void 0,(function(e){return a.createElement(h.default,H({},e,{innerClassName:(0,o.default)(U.default.buttonContainer,U.default.buttonMargin),look:h.default.Looks.BLANK,size:h.default.Sizes.NONE,onClick:N}),q)})))})),J=a.memo((function(e){var t=e.channel,n=(0,w.useRequestToSpeakPermission)(t.id),r=n[0],a=n[1];return x(S.default,{className:U.default.toggle,onChange:a,value:r},void 0,k.default.Messages.MODERATOR_ALLOW_EVERYONE_RAISE_HAND)})),Q=x(j.default,{}),ee=a.memo((function(){return x("div",{className:U.default.emptyStateContainer},void 0,Q,x(M.default,{className:U.default.emptyStateTitle,size:M.default.Sizes.SIZE_20,color:M.default.Colors.HEADER_PRIMARY},void 0,k.default.Messages.REQUEST_TO_SPEAK_EMPTY_LIST_TITLE),x(M.default,{className:U.default.emptyStateBody,size:M.default.Sizes.SIZE_14,color:M.default.Colors.HEADER_SECONDARY},void 0,k.default.Messages.REQUEST_TO_SPEAK_EMPTY_LIST_BODY))}));!function(e){e[e.TOGGLE_REQUEST_TO_SPEAK=0]="TOGGLE_REQUEST_TO_SPEAK",e[e.MAKE_SPEAKER=1]="MAKE_SPEAKER",e[e.PARTICIPANTS=2]="PARTICIPANTS"}(V||(V={}));var te=x(ee,{},"participants-empty");function ne(e){var t=e.channel,n=e.toggleRequestToSpeakSidebar,r=(0,D.default)(t.id).speaker,a=(0,P.useSortedRequestToSpeakParticipants)(t.id),o=[(0,u.useStateFromStores)([m.default],(function(){return m.default.can(l.Permissions.MANAGE_CHANNELS,t)||m.default.can(l.Permissions.MANAGE_ROLES,t)}))?1:0,r?0:1,Math.max(1,a.length)];var i=x(J,{channel:t},"rts-toggle"),s=x($,{channel:t},"make-speaker");return x("div",{className:U.default.container},void 0,x(z,{toggleRequestToSpeakSidebar:n}),x(N.default,{className:U.default.contentContainer,sections:o,sectionHeight:function(e){switch(e){case V.PARTICIPANTS:return 40}return 0},rowHeight:function(e){switch(e){case V.TOGGLE_REQUEST_TO_SPEAK:return 66;case V.MAKE_SPEAKER:return 48;case V.PARTICIPANTS:return 0===a.length?178:48}return 0},renderRow:function(e){var n=e.section,r=e.row;switch(n){case V.TOGGLE_REQUEST_TO_SPEAK:return i;case V.MAKE_SPEAKER:return s;case V.PARTICIPANTS:if(0===a.length)return te;var o=a[r];return x(X,{channel:t,participant:o},o.id)}return null},renderSection:function(e){switch(e.section){case V.PARTICIPANTS:return x(M.default,{className:U.default.listTitle,size:M.default.Sizes.SIZE_12,color:M.default.Colors.HEADER_SECONDARY},"participants-section",a.length>0?k.default.Messages.REQUEST_TO_SPEAK_LIST_TITLE.format({numHands:a.length}):k.default.Messages.REQUEST_TO_SPEAK_AREA_TITLE)}return null}}))}ne.displayName="RequestToSpeakSidebar"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useRequestToSpeakPermission=function(e){var t=(0,a.useStateFromStores)([o.default],(function(){return o.default.getChannel(e)}),[e]),n=i.default.canEveryoneRole(u.Permissions.REQUEST_TO_SPEAK,t),s=r.useState(n),d=s[0],f=s[1];return r.useEffect((function(){n!==d&&f(n)}),[n]),[d,function(e){null!=t&&(f(e),(0,l.setEveryoneRolePermissionAllowed)(t,u.Permissions.REQUEST_TO_SPEAK,e))}]};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(3),o=s(n(10)),i=s(n(78)),l=n(301),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(291)),o=l(n(308)),i=l(n(7978));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.className;return s(o.default,{className:t},void 0,s("div",{className:i.default.background},void 0,s(a.default,{className:i.default.foreground,width:32,height:32})))}d.displayName="RaisedHandsEmptyStateImage"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=R;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=I(n(9)),i=n(3),l=I(n(9160)),u=I(n(8479)),s=I(n(180)),d=I(n(40)),f=I(n(8367)),c=I(n(291)),p=I(n(8282)),v=I(n(16)),y=n(259),m=I(n(43)),_=n(748),h=n(203),E=I(n(10996)),g=n(1),S=I(n(6)),O=I(n(7981));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function b(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function M(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){b(o,r,a,i,l,"next",e)}function l(e){b(o,r,a,i,l,"throw",e)}i(void 0)}))}}function N(){return A.apply(this,arguments)}function A(){return(A=M(regeneratorRuntime.mark((function e(){var t,n,r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!v.default.isOSX()||!v.default.embedded){e.next=14;break}return e.next=3,null===(n=(r=window.DiscordNative.remoteApp).getDefaultDoubleClickAction)||void 0===n?void 0:n.call(r);case 3:if(e.t1=t=e.sent,e.t0=null!==e.t1,!e.t0){e.next=7;break}e.t0=void 0!==t;case 7:if(!e.t0){e.next=11;break}e.t2=t,e.next=12;break;case 11:e.t2="Maximize";case 12:"Minimize"===(a=e.t2)?m.default.minimize():"Maximize"===a&&m.default.maximize();case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function P(e){var t=e.channel,n=a.useContext(u.default),r=(0,i.useStateFromStores)([d.default],(function(){return d.default.can(h.MODERATE_STAGE_CHANNEL_PERMISSIONS,t)})),o=l.default.useExperiment({guildId:t.guild_id})[0].showNotificationSurfaces;return a.createElement(a.Fragment,null,o?C(E.default,{channel:t}):null,r?C(p.default.Icon,{onClick:function(){(0,_.openStageChannelSettings)(t,n)},tooltip:S.default.Messages.STAGE_SETTINGS,"aria-label":S.default.Messages.STAGE_SETTINGS,icon:f.default}):null)}function R(e){var t=e.channel,n=(0,s.default)(t);return C(p.default,{toolbar:C(P,{channel:t}),onDoubleClick:N,transparent:!0,className:(0,o.default)((0,y.getThemeClass)(g.ThemeTypes.DARK),O.default.participants)},void 0,C(p.default.Icon,{icon:c.default,disabled:!0,"aria-label":S.default.Messages.STAGE_CHANNEL,className:O.default.icon}),C(p.default.Title,{},void 0,n))}R.displayName="StageChannelCallHeader"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=S;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(8571),l=m(n(8253)),u=m(n(181)),s=m(n(278)),d=m(n(8666)),f=m(n(9726)),c=m(n(8282)),p=n(1),v=m(n(6)),y=m(n(7980));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(){return(h=Object.assign||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}).apply(this,arguments)}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e){var t=e.channel,n=e.closePopout,r=e.onSelect,a=(0,i.useChannelNotificationRadioItems)(t);return E(l.default,{navId:"notification-settings",onClose:n,"aria-label":v.default.Messages.NOTIFICATION_SETTINGS,onSelect:r},void 0,a)}function S(e){var t=e.channel,n=a.useState(!1),r=n[0],i=n[1],l=(0,o.useStateFromStores)([u.default],(function(){return u.default.getChannelOverrides(t.guild_id)[t.id]}),[t.guild_id,t.id]),m=(null==l?void 0:l.message_notifications)===p.UserNotificationSettings.NO_MESSAGES,_=v.default.Messages.NOTIFICATION_SETTINGS;return E(s.default,{shouldShow:r,animation:s.default.Animation.NONE,position:s.default.Positions.BOTTOM,align:s.default.Align.RIGHT,autoInvert:!1,onRequestClose:function(){return i(!1)},renderPopout:function(e){return a.createElement(g,h({},e,{channel:t}))}},void 0,(function(e,t){return a.createElement(c.default.Icon,h({},e,{onClick:function(){return i((function(e){return!e}))},tooltip:t?null:_,icon:m?f.default:d.default,foreground:m?y.default.strikethrough:null,"aria-label":_}))}))}g.displayName="NotificationSettingsMenu",S.displayName="NotificationSettingsButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LayoutSections=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=_(n(8299)),i=_(n(12)),l=_(n(80)),u=_(n(302)),s=n(260),d=n(10998),f=_(n(11e3)),c=_(n(11002)),p=_(n(11003)),v=_(n(11004)),y=_(n(11005)),m=_(n(7990));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var g,S=424,O=624,I=824;t.LayoutSections=g,function(e){e[e.SPEAKER=0]="SPEAKER",e[e.AUDIENCE=1]="AUDIENCE"}(g||(t.LayoutSections=g={}));var T=function(e){var t,n=e.channel,r=e.width,o=(0,a.useStateFromStores)([i.default],(function(){var e;return null===(e=i.default.getCurrentUser())||void 0===e?void 0:e.id}),[]),_=(0,a.useStateFromStores)([l.default],(function(){return l.default.isInChannel(n.id,o)}),[o,n.id]),h=(0,a.useStateFromStoresObject)([u.default],(function(){var e=u.default.getParticipantCount(n.id,s.StageChannelParticipantNamedIndex.AUDIENCE);return{speakerCount:u.default.getParticipantCount(n.id,s.StageChannelParticipantNamedIndex.SPEAKER),audienceCount:e,blockedCount:u.default.getParticipantCount(n.id,s.StageChannelParticipantNamedIndex.BLOCKED)}})),T=h.speakerCount,C=h.audienceCount,b=h.blockedCount,M=function(e){return Math.floor((e-32)/102)}(r),N=function(e){return e<S?1:e<O?2:e<I?3:4}(r),A=((t={})[s.StageChannelParticipantNamedIndex.SPEAKER]=N,t[s.StageChannelParticipantNamedIndex.AUDIENCE]=M,t),P=(0,d.useThrottleDurationForChannel)(n.id),R=(0,d.useStageChannelParticipantsListThrottled)(n.id,A,P),L=R[0],D=R[1],w=[L[g.SPEAKER]||1,L[g.AUDIENCE]],j=function(e,t){var n=Math.max(e/t,192);return{speakerTileWidth:n,speakerTileHeight:Math.max(.5625*n,192)}}(r,N),k=j.speakerTileWidth,U=j.speakerTileHeight,G=function(e){return e===L.length-1},F=E(p.default,{channel:n,audienceCount:C,speakerCount:T,blockedCount:b},"speaker-header");return _?E(v.default,{sections:w,renderSection:function(e){var t=e.section;return t===g.SPEAKER?F:t===g.AUDIENCE?0===C?null:E(c.default,{participantCount:C},"audience-header-"+t):null},sectionHeight:function(e){return e===g.SPEAKER?148:64},renderRow:function(e){var t=e.section,r=e.row,a=D[t][r];if(null==(null==a?void 0:a.length))return null;switch(t){case g.SPEAKER:if(null==(null==a?void 0:a.length))return null;var o=Math.min(N,null==a?void 0:a.length);return E(y.default,{tileWidth:k,tileHeight:U,channel:n,participants:a,tilesInRow:o,maxTilesPerRow:N},"speakers-"+t+"-"+r);case g.AUDIENCE:return E(f.default,{channel:n,participants:a,maxTiles:M},"audience-"+t+"-"+r);default:return null}},rowHeight:function(e){return null===D[e][0]?0:e===g.SPEAKER?U:98},renderFooter:function(e){var t=e.section;return t===g.SPEAKER?E("div",{className:m.default.divider},"speaker-divider"):G(t)?E("div",{className:m.default.spacer},"bottom-spacer"):null},footerHeight:function(e){return e===g.SPEAKER?24:G(e)?88:0},className:m.default.scroller,chunkSize:60}):null};T.displayName="StageChannelCallView";var C=(0,o.default)(T);t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStageChannelParticipantsList=p,t.useThrottleDurationForChannel=function(e){var t=(0,u.useStageParticipantsCount)(e,s.StageChannelParticipantNamedIndex.AUDIENCE),n=a.useState(!1),r=n[0],o=n[1];return a.useEffect((function(){t>100?o(!0):t<75&&o(!1)}),[t]),r?5e3:0},t.useStageChannelParticipantsListThrottled=function(e,t,n){var r=p(e,y,t),a=r[0],o=r[1],i=(0,f.useThrottledState)(r,n,[t[s.StageChannelParticipantNamedIndex.AUDIENCE]]),l=i[0],u=i[1],d=[a[v.Speaker],l[v.Audience]],c=[o[v.Speaker],u[v.Audience]];return[d,c]};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(8),i=n(3),l=(r=n(302))&&r.__esModule?r:{default:r},u=n(1260),s=n(260),d=n(734),f=n(10999);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n){var r=(0,i.useStateFromStores)([l.default],(function(){return[e,l.default.getParticipantsVersion(e)]}),[e],d.isVersionEqual);return a.useMemo((function(){var e=[],a=[];return t.forEach((function(t){var i,u,s;i=l.default.getMutableParticipants(r[0],t),u=n[t],s=(0,o.chunk)(i,u),a.push(s),e.push(s.length)})),[e,a]}),[r,t,n])}var v;!function(e){e[e.Speaker=0]="Speaker",e[e.Audience=1]="Audience"}(v||(v={}));var y=[s.StageChannelParticipantNamedIndex.SPEAKER,s.StageChannelParticipantNamedIndex.AUDIENCE]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useThrottledFunction=t.useThrottledState=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(8);function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}var i=function(e){return e};t.useThrottledState=function(e,t,n,a){void 0===n&&(n=[]);var o=l(i,t,n,a),u=r.useRef(e);return r.useEffect((function(){var t=o(e);u.current=t}),[e,o]),0===t?e:u.current};var l=function(e,t,n,o){void 0===n&&(n=[]);var i=r.useRef((0,a.throttle)(e,t,o));return r.useEffect((function(){return i.current=(0,a.throttle)(e,t,o),function(){var e;null===(e=i.current)||void 0===e||e.cancel()}}),[e,t,o].concat(n)),i.current};t.useThrottledFunction=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=s(n(0)),i=s(n(11001)),l=(r=n(7983))&&r.__esModule?r:{default:r};function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function d(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var f=o.memo((function(e){var t=e.channel,n=e.participants,r=e.maxTiles;if(0===n.length)return null;for(var a=[],o=0;o<r;o++)if(o<n.length){var u=n[o];a.push(d(i.default,{channel:t,participant:u},u.id))}else a.push(d(i.AudienceEmptyTile,{},o));return d("div",{className:l.default.participants},void 0,a)}));t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.AudienceEmptyTile=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=T(n(9)),i=T(n(23)),l=n(3),u=n(389),s=T(n(8479)),d=T(n(8322)),f=T(n(8264)),c=T(n(8268)),p=T(n(56)),v=T(n(61)),y=T(n(278)),m=T(n(1317)),_=T(n(5830)),h=T(n(1318)),E=T(n(24)),g=T(n(258)),S=n(304),O=n(1),I=T(n(7982));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(){return(b=Object.assign||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}).apply(this,arguments)}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var N=a.memo((function(e){var t=e.guildId,n=e.channelId,r=e.user,a=e.isPremium,o=e.isBlocked;return M("div",{className:I.default.textContainer},void 0,o?M(m.default,{className:I.default.blockedIcon,color:O.Colors.STATUS_RED}):null,M(E.default,{className:I.default.text,size:E.default.Sizes.SIZE_14,color:E.default.Colors.HEADER_PRIMARY},void 0,g.default.getName(t,n,r)),a?M(_.default,{className:I.default.boost,color:O.Colors.PREMIUM_GUILD_PINK}):null)})),A=a.memo((function(e){var t,n,r,i=e.participant,l=e.guildId,u=e.channel,s=e.isPremium,d=i.user,f=i.blocked,c=i.rtsState,p=c===S.RequestToSpeakStates.REQUESTED_TO_SPEAK_AND_AWAITING_USER_ACK,v=c===S.RequestToSpeakStates.REQUESTED_TO_SPEAK||p;return a.createElement(a.Fragment,null,M("div",{className:I.default.avatarContainer},void 0,v&&M(h.default,{className:(0,o.default)(I.default.icon,(t={},t[I.default.invited]=p,t))}),M("img",{src:null!==(n=d.getAvatarURL(u.guild_id,!1))&&void 0!==n?n:void 0,alt:d.username,"aria-label":d.username,className:(0,o.default)(I.default.avatar,(r={},r[I.default.faded]=f,r))})),M(N,{guildId:l,channelId:u.id,user:d,isPremium:s,isBlocked:f}))})),P=function(){return M("div",{className:I.default.tileBaseContainer})};t.AudienceEmptyTile=P,P.displayName="AudienceEmptyTile";var R=a.memo((function(e){var t=e.participant,n=e.channel,r=t.user,m=t.blocked,_=n.getGuildId(),h=a.useContext(s.default),E=(0,l.useStateFromStores)([p.default],(function(){var e;return null!=_&&null!=(null===(e=p.default.getMember(_,r.id))||void 0===e?void 0:e.premiumSince)}),[_,r.id]);(0,i.default)(null!=_,"Channel cannot be guildless");var g=a.useCallback((function(e){(0,u.openContextMenu)(e,(function(e){return a.createElement(d.default,b({},e,{user:r,guildId:_,channelId:n.id,popoutPosition:y.default.Positions.LEFT,showMediaItems:!0,showStageChannelItems:!0,showChatItems:!1}))}),{context:h})}),[r,_,n.id,h]),S=a.useCallback((function(e){return a.createElement(c.default,b({},e,{guildId:_,channelId:n.id,userId:r.id}))}),[n.id,_,r.id]),O=M(A,{participant:t,guildId:_,channel:n,isPremium:E});return M(y.default,{preload:function(){return(0,f.default)(r.id,r.getAvatarURL(n.guild_id))},renderPopout:S,position:y.default.Positions.RIGHT,spacing:8},void 0,(function(e){var t;return a.createElement(v.default,b({className:(0,o.default)(I.default.tileContainer,(t={},t[I.default.singleIcon]=E||m,t[I.default.doubleIcon]=E&&m,t)),onContextMenu:g},e),O)}))}));t.default=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(24)),i=u(n(6)),l=u(n(7984));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var f=a.memo((function(e){var t,n=e.role,r=e.participantCount;return d("div",{className:l.default.roleContainer},void 0,d(o.default,{className:l.default.roleName,size:o.default.Sizes.SIZE_12},void 0,null!==(t=null==n?void 0:n.name)&&void 0!==t?t:i.default.Messages.AUDIENCE_LABEL,"—",r))}));t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=_(n(40)),l=_(n(1317)),u=_(n(1240)),s=_(n(407)),d=_(n(1374)),f=_(n(24)),c=n(203),p=n(207),v=_(n(81)),y=_(n(6)),m=_(n(7985));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var g=function(e){var t,n=e.channel,r=e.speakerCount,_=e.audienceCount,h=e.blockedCount,g=(0,o.useStateFromStores)([v.default],(function(){return v.default.getStageInstanceByChannel(n.id)}),[n.id]),S=(null==g?void 0:g.privacy_level)===p.StageInstancePrivacyLevel.PUBLIC,O=function(e){return(0,o.useStateFromStores)([i.default],(function(){return i.default.can(c.MODERATE_STAGE_CHANNEL_PERMISSIONS,e)}),[e])?y.default.Messages.STAGE_START_PROMPT_TITLE_MODERATOR:y.default.Messages.STAGE_START_PROMPT_TITLE}(n);return E("div",{className:m.default.container},void 0,E(f.default,{size:f.default.Sizes.SIZE_20,color:f.default.Colors.HEADER_PRIMARY,className:m.default.title},void 0,null!==(t=null==g?void 0:g.topic)&&void 0!==t?t:O),E("div",{className:m.default.subtitle},void 0,E(s.default,{height:14,width:14,className:m.default.icon}),E(f.default,{color:f.default.Colors.HEADER_PRIMARY,size:f.default.Sizes.SIZE_12},void 0,y.default.Messages.SPEAKING_COUNT.format({count:r||"0"})),E(u.default,{width:14,height:14,className:m.default.iconAfterText}),E(f.default,{color:f.default.Colors.HEADER_PRIMARY,size:f.default.Sizes.SIZE_12},void 0,y.default.Messages.LISTENING_COUNT.format({count:_||"0"})),h>0?a.createElement(a.Fragment,null,E(l.default,{width:14,height:14,className:m.default.iconAfterText}),E(f.default,{color:f.default.Colors.HEADER_PRIMARY,size:f.default.Sizes.SIZE_12},void 0,y.default.Messages.BLOCKED_COUNT.format({count:h||"0"}))):null,S?a.createElement(a.Fragment,null,E("div",{className:m.default.dotSeparator}),E(d.default,{width:14,height:14,className:m.default.icon}),E(f.default,{color:f.default.Colors.HEADER_PRIMARY,size:f.default.Sizes.SIZE_12},void 0,y.default.Messages.STAGE_INSTANCE_PRIVACY_TYPE_PUBLIC_LABEL)):null))};g.displayName="StageChannelCallTopic";var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(741),a=i(n(1406)),o=i(n(7986));function i(e){return e&&e.__esModule?e:{default:e}}var l=(0,a.default)(o.default.auto,o.default.fade,ResizeObserver||r.ResizeObserver);t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=l(n(11006)),i=l(n(7989));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=a.memo((function(e){var t=e.channel,n=e.participants,r=e.tileWidth,a=e.tileHeight,l=e.tilesInRow,u=e.maxTilesPerRow;return s("div",{className:i.default.rowContainer},void 0,n.map((function(e,n){return s(o.default,{channel:t,participant:e,tileWidth:r,tileHeight:a,inPopout:!1,isLastItemInRow:n===l-1,twoItemsInLastRow:2===l&&l<u},e.id)})))}));t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=g(n(23)),i=n(3),l=n(389),u=n(123),s=n(691),d=g(n(688)),f=g(n(8479)),c=g(n(8322)),p=g(n(8264)),v=g(n(8268)),y=g(n(8934)),m=g(n(278)),_=g(n(205)),h=g(n(11007)),E=g(n(7988));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(){return(I=Object.assign||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}).apply(this,arguments)}var T=O(h.default,{}),C=a.memo((function(e){var t=e.participant,n=e.channel,r=e.tileWidth,h=e.tileHeight,g=e.twoItemsInLastRow,S=e.isLastItemInRow,C=a.useContext(f.default),b=a.useContext(u.AccessibilityPreferencesContext).reducedMotion,M=n.getGuildId();(0,o.default)(null!=M,"Channel cannot be guildless");var N=t.user,A=t.blocked,P=t.id,R=(0,i.useStateFromStores)([d.default],(function(){return d.default.getParticipant(n.id,N.id)}),[n.id,N.id]),L=(0,i.useStateFromStores)([_.default],(function(){return _.default.isModerator(N.id,n.id)}),[n.id,N.id]);if((null==R?void 0:R.type)!==s.ParticipantTypes.USER)return null;var D=g?r-16:r;return a.createElement(a.Fragment,null,O(m.default,{preload:null==R?void 0:function(){return(0,p.default)(R.user.id,R.user.getAvatarURL(n.guild_id))},renderPopout:function(e){return a.createElement(v.default,I({},e,{guildId:M,channelId:n.id,userId:N.id}))},position:m.default.Positions.RIGHT,spacing:8},void 0,(function(e){return O("div",{className:E.default.outerContainer,style:{width:D,height:h}},void 0,a.createElement(y.default,I({participant:null!=R?R:t,channel:n,key:P,className:E.default.tile,blocked:A,paused:!1,inCall:!0,inPopout:!1,pulseSpeakingIndicator:!b.enabled,width:r},e,{onClick:function(t,n){return e.onClick(n)},onContextMenu:function(e,t){return function(e){(0,l.openContextMenu)(e,(function(e){return a.createElement(c.default,I({},e,{user:N,guildId:M,channelId:n.id,popoutPosition:m.default.Positions.LEFT,showMediaItems:!0,showStageChannelItems:!0,showChatItems:!1}))}),{context:C})}(t)}})),L&&T)})),!S&&O("div",{style:{width:8}}))}));t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(92),i=d(n(149)),l=d(n(1417)),u=d(n(6)),s=d(n(7987));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=function(){return p(i.default,{text:u.default.Messages.STAGE_MODERATOR_TOOLTIP},void 0,(function(e){return a.createElement("div",c({},e,{className:s.default.container}),p(l.default,{color:o.Colors.WHITE}))}))};v.displayName="ModeratorBadge";var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=ee(n(0)),o=J(n(9)),i=n(3),l=J(n(132)),u=J(n(8283)),s=J(n(9700)),d=J(n(8479)),f=J(n(9702)),c=J(n(10377)),p=J(n(11009)),v=J(n(10378)),y=J(n(8456)),m=ee(n(8253)),_=n(8256),h=J(n(9705)),E=J(n(9703)),g=n(8288),S=J(n(10372)),O=J(n(11)),I=J(n(15)),T=J(n(40)),C=J(n(29)),b=J(n(278)),M=J(n(686)),N=J(n(11010)),A=J(n(10376)),P=J(n(8368)),R=J(n(1318)),L=J(n(11011)),D=J(n(9728)),w=n(41),j=n(217),k=ee(n(248)),U=J(n(24)),G=n(748),F=n(301),B=n(1260),H=n(260),x=n(1294),V=n(203),W=J(n(205)),Y=J(n(81)),z=J(n(11012)),K=J(n(11013)),$=J(n(11014)),Z=n(1),q=J(n(6)),X=J(n(7993));function J(e){return e&&e.__esModule?e:{default:e}}function Q(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Q=function(){return e},e}function ee(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=Q();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function te(){return(te=Object.assign||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}).apply(this,arguments)}function ne(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function re(e){var t=e.channel,n=e.appContext,r=e.isTicketedEvent;(0,z.default)(t)?(0,G.openEndStageModal)(t,n,r):l.default.disconnect()}function ae(e,t){return e?q.default.Messages.AUDIENCE_LOWER_HAND:t?q.default.Messages.AUDIENCE_RAISE_HAND_CTA:q.default.Messages.AUDIENCE_RAISE_HAND_NO_PERMISSION}var oe=a.memo((function(e){var t=e.channel,n=(0,$.default)(t),r=n[0],a=n[1],o=(0,i.useStateFromStores)([T.default],(function(){return T.default.can(Z.Permissions.REQUEST_TO_SPEAK,t)}));return ne("div",{className:X.default.container},void 0,ne(g.CenterControlButton,{className:X.default.raiseHandButton,color:r?"white":"primaryDark",label:ae(r,o),iconComponent:function(){return ne(R.default,{className:r?X.default.raisedHandButtonIconActive:X.default.raisedHandButtonIcon})},onClick:a,disabled:!o&&!r}),ne(de,{channel:t}),ne(ve,{channel:t}))})),ie={16:k.MaskIDs.CHANNEL_CALL_CONTROL_BUTTON_BADGE_16,22:k.MaskIDs.CHANNEL_CALL_CONTROL_BUTTON_BADGE_22,29:k.MaskIDs.CHANNEL_CALL_CONTROL_BUTTON_BADGE_29};var le=ne(L.default,{});function ue(e){var t=e.toggleRequestToSpeakSidebar,n=e.showRequestToSpeakSidebar;return ne(g.CenterControlButton,{className:(0,o.default)(X.default.speakerRaiseHandButton),color:n?"white":"primaryDark",label:n?q.default.Messages.REQUEST_TO_SPEAK_AREA_CLOSE:q.default.Messages.REQUEST_TO_SPEAK_AREA_OPEN,iconComponent:function(){return le},onClick:t})}ue.displayName="RequestToSpeakButton";var se=ne(P.default,{});function de(e){var t=e.channel,n=a.useContext(d.default),r=(0,i.useStateFromStores)([T.default],(function(){return T.default.can(Z.Permissions.CREATE_INSTANT_INVITE,t)})),o=(0,i.useStateFromStores)([I.default],(function(){return I.default.getGuild(t.guild_id)})),l=(0,i.useStateFromStores)([Y.default],(function(){return Y.default.getStageInstanceByChannel(t.id)})),s=r||null!=(null==l?void 0:l.invite_code);if(null==o||!s)return null;return ne(g.CenterControlButton,{className:X.default.buttonSpacing,label:q.default.Messages.INSTANT_INVITE,iconComponent:function(){return se},onClick:function(){(0,w.openModal)((function(e){return a.createElement(u.default,te({},e,{guild:o,channel:t,source:Z.InstantInviteSources.CHANNEL_CALL}))}),{},n===Z.AppContext.POPOUT?j.POPOUT_MODAL_CONTEXT:j.DEFAULT_MODAL_CONTEXT)}})}de.displayName="InviteButton";var fe=ne(A.default,{});function ce(e){var t=e.onClick;return ne(g.CenterControlButton,{className:(0,o.default)(X.default.makeMeASpeakerButton),label:q.default.Messages.MODERATOR_RAISE_OWN_HAND,iconComponent:function(){return fe},onClick:t})}ce.displayName="MakeMeASpeakerButton";var pe=ne(D.default,{height:24,width:24});function ve(e){var t=e.channel,n=e.onSelect,r=a.useContext(d.default),l=(0,y.default)(t.guild_id).canManageEvents,u=(0,i.useStateFromStores)([Y.default],(function(){return Y.default.getStageInstanceByChannel(t.id)}),[t.id]),s=null!=(null==u?void 0:u.guild_scheduled_event_id),f=O.default.getId(),c=W.default.isModerator(f,t.id);return s&&(l||c)?ne(b.default,{renderPopout:function(e){var a=e.closePopout;return ne(E.default,{},void 0,ne(m.default,{navId:"exit-options","aria-label":q.default.Messages.SET_STATUS,onClose:a,onSelect:n},void 0,ne(m.MenuItem,{id:"end-stage",color:_.MenuItemColor.DANGER,action:function(){return(0,G.openEndGuildEventConfirmationModal)(t,r)},label:q.default.Messages.END_GUILD_EVENT_FOR_EVERYONE,icon:M.default})))},align:b.default.Align.CENTER,position:b.default.Positions.TOP,animation:b.default.Animation.FADE},void 0,(function(e){var n=e.onClick;return ne(g.CenterControlButton,{className:X.default.buttonSpacing,label:q.default.Messages.EXIT_EVENT_STAGE_OPTIONS_LABEL,color:"red",iconComponent:function(){return pe},onClick:function(){return re({channel:t,appContext:r,isTicketedEvent:!0})},onPopoutClick:n})})):ne(C.default,{size:C.default.Sizes.MEDIUM,color:C.default.Colors.RED,className:(0,o.default)(X.default.buttonSpacing,X.default.leaveQuietlyButton),onClick:function(){return re({channel:t,appContext:r})}},void 0,ne("div",{className:X.default.leaveQuietlyButtonInnerContainer},void 0,ne(U.default,{color:U.default.Colors.CUSTOM},void 0,q.default.Messages.AUDIENCE_DISCONNECT),ne(D.default,{height:24,width:24,className:X.default.leaveQuietlyIcon})))}ve.displayName="ExitStageButton";var ye=ne(N.default,{});function me(e){var t=e.onClick;return ne(g.CenterControlButton,{className:(0,o.default)(X.default.audienceButton),label:q.default.Messages.MOVE_ME_TO_AUDIENCE,iconComponent:function(){return ye},onClick:t})}me.displayName="MoveToAudienceButton";var _e=a.memo((function(e){var t,n=e.channel,r=e.toggleRequestToSpeakSidebar,a=e.showRequestToSpeakSidebar,i=(0,h.default)(n),l=i.suppress,u=i.selfMute,d=i.mute,c=l||u||d,p=(0,x.useCanModerateRequestToSpeak)(n.id),v=(0,B.useStageParticipantsCount)(n.id,H.StageChannelParticipantNamedIndex.REQUESTED_TO_SPEAK_ONLY),y=(t=v)<10?16:t<100?22:29;return ne("div",{className:X.default.container},void 0,!l&&ne(me,{onClick:function(){return(0,F.moveSelfToAudience)(n)}}),p&&l&&ne(ce,{onClick:function(){return(0,F.audienceAckRequestToSpeak)(n,!1)}}),ne(b.default,{renderPopout:function(e){var t=e.closePopout;return ne(E.default,{},void 0,ne(s.default,{onClose:t,renderInputDevices:!0,renderOutputDevices:!0}))},align:b.default.Align.CENTER,position:b.default.Positions.TOP,animation:b.default.Animation.FADE},void 0,(function(e,t){var n=e.onClick;return!l&&ne(S.default,{color:c?"white":"primaryDark",centerButton:!0,onPopoutClick:n,selfMute:u,serverMute:d,suppress:l,popoutOpen:t,onClick:function(){return(0,f.default)(d,l)}})})),p?ne("div",{className:(0,o.default)(X.default.speakerRaiseHandButtonContainer,X.default.buttonSpacing)},void 0,v>0?ne(k.default,{mask:ie[y],width:56,height:56},void 0,ne(ue,{toggleRequestToSpeakSidebar:r,showRequestToSpeakSidebar:a})):ne(ue,{toggleRequestToSpeakSidebar:r,showRequestToSpeakSidebar:a}),v>0?ne(U.default,{className:X.default.speakerRaiseHandBadge,size:U.default.Sizes.SIZE_12,style:{width:y}},void 0,v>=100?"99+":v):null):null,ne(de,{channel:n}),ne(ve,{channel:n}))}));function he(e){var t=e.channel;return ne("div",{className:X.default.container},void 0,ne(ve,{channel:t}))}he.displayName="StartStageControlTray";var Ee=a.memo((function(e){var t=e.channel,n=e.toggleRequestToSpeakSidebar,r=e.showRequestToSpeakSidebar,a=e.isOnStartStageScreen,o=(0,i.useStateFromStores)([Y.default],(function(){return Y.default.getStageInstanceByChannel(t.id)}),[t.id]),l=(0,K.default)(t.id),u=(0,x.useCanModerateRequestToSpeak)(t.id),s=(0,i.useStateFromStores)([T.default],(function(){return T.default.can(V.MODERATE_STAGE_CHANNEL_PERMISSIONS,t)}),[t]),d=t.guild_id,f=(0,y.default)(d),m=f.canManageEvents,_=f.canStartEvents,h=null==o;return a?ne(he,{channel:t}):l||u?ne("div",{className:X.default.containerColumn},void 0,ne("div",{className:X.default.eventPrompts},void 0,_&&ne(p.default,{guildId:d}),h&&s&&ne(v.default,{channel:t}),m&&_&&ne(c.default,{channel:t})),ne(_e,{channel:t,toggleRequestToSpeakSidebar:n,showRequestToSpeakSidebar:r})):ne(oe,{channel:t})}));t.default=Ee},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.guildId,n=(0,d.default)(t),r=(0,i.default)();if(n.length<1)return null;function l(){}return a.createElement(a.Fragment,null,_(u.default,{muted:!0,uppercase:!0,size:u.default.Sizes.SIZE_12},void 0,p.default.Messages.START_SCHEDULED_EVENT),n.map((function(e){var t=e.id,n=e.name,a=e.scheduled_start_time;return _(f.default,{icon:h,color:r===c.ThemeTypes.DARK?c.Colors.PRIMARY_DARK_700:c.Colors.PRIMARY_LIGHT_200,title:n,description:(0,s.calendarFormat)((0,o.default)(a)),onClick:l},t)})),_("hr",{className:v.default.separator}))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(5)),i=y(n(1166)),l=y(n(8455)),u=y(n(47)),s=n(1161),d=y(n(8572)),f=y(n(9162)),c=n(1),p=y(n(6)),v=y(n(7992));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=_(l.default,{height:20,width:20})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?22:t,r=e.height,a=void 0===r?20:r,l=e.color,d=void 0===l?"currentColor":l,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color"]);return o.createElement("svg",u({},(0,i.default)(f),{width:n,height:a,viewBox:"0 0 22 20"}),s("path",{d:"M19.0013 3.27074L16.8648 1.13516L18 0L22 4L18 8L16.8648 6.86484L19.0013 4.72926H14V3.27074H19.0013Z",fill:d}),s("path",{d:"M13.9829 8.45686C14.4834 8.90823 15.0602 9.2765 15.6918 9.53993C15.1979 10.7194 14.1545 11.6141 12.8834 11.9017C12.8022 11.8683 12.7203 11.8358 12.6378 11.8042C13.3982 10.8786 13.8873 9.72194 13.9829 8.45686Z",fill:d}),s("path",{d:"M12 8C12 10.205 10.206 12 8 12C5.795 12 4 10.205 4 8C4 5.795 5.794 4 8 4C10.206 4 12 5.795 12 8Z",fill:d}),s("path",{d:"M0 19C0 15.467 3.29 13 8 13C12.711 13 16 15.467 16 19V20H0V19Z",fill:d}),s("path",{d:"M20.0001 20H18.0001V19C18.0001 16.7999 17.0621 14.9067 15.5213 13.5292C18.2697 14.4355 20.0001 16.4373 20.0001 19V20Z",fill:d}))}d.displayName="GoToAudience"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color"]);return o.createElement("svg",u({},(0,i.default)(f),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{clipPath:"url(#clip0)"},void 0,s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.53 7.76998C20.455 7.60998 20.31 7.48998 20.135 7.44498C20.075 7.42832 20.0106 7.41165 19.9462 7.39498L19.85 7.36998C19.305 7.22998 18.635 7.56498 18.35 8.11498L17.37 9.99998C17.085 10.55 16.725 10.51 16.57 9.90998L14.395 1.38498C14.24 0.779981 13.64 0.459981 13.05 0.664981C12.46 0.869981 12.095 1.52498 12.225 2.13498L13.495 7.95998C13.63 8.56998 13.575 9.11498 13.375 9.18498C13.175 9.25498 12.85 8.83498 12.65 8.24498L10.55 2.07498C10.35 1.48498 9.71004 1.17498 9.12004 1.37998C8.53004 1.58498 8.21504 2.22998 8.41004 2.81998L10.47 8.99998C10.665 9.58998 10.665 10.125 10.465 10.195C10.265 10.265 9.88504 9.86498 9.62504 9.29998L7.27504 4.29998C7.01004 3.73998 6.32004 3.44498 5.73004 3.64998C5.14504 3.85498 4.87504 4.47498 5.14004 5.03998L8.10004 11.045C8.36004 11.61 8.41004 12.125 8.21004 12.195C8.01004 12.265 7.53004 11.93 7.14004 11.445L5.10504 8.82498C4.71504 8.33998 4.04004 8.07498 3.59504 8.22998C3.15504 8.38498 3.04004 8.94498 3.34504 9.48998L5.84504 13.865C5.90004 14.02 7.35504 16.8 7.46004 16.915C8.50004 18.565 10.145 19.51 12.23 18.79L12.96 18.5372V15.84C12.96 14.2494 14.2494 12.96 15.84 12.96H18.3887C18.763 12.143 19.1735 11.2467 19.5492 10.4262L19.5592 10.4045L19.5647 10.3926L19.5648 10.3922L19.5702 10.3804L19.581 10.3569C19.9595 9.53048 20.3003 8.78624 20.53 8.28498C20.605 8.11498 20.605 7.92998 20.53 7.76998ZM11.81 20.51L12.96 20.0792V23.395H11.815L11.185 22.03C11.055 21.75 11.045 21.425 11.165 21.135C11.285 20.845 11.52 20.62 11.81 20.51ZM14.4 16.32C14.4 15.2596 15.2596 14.4 16.32 14.4H22.08C23.1404 14.4 24 15.2596 24 16.32V22.08C24 23.1404 23.1404 24 22.08 24H16.32C15.2596 24 14.4 23.1404 14.4 22.08V16.32ZM16.32 16.56H22.08V17.52H16.32V16.56ZM22.08 18.72H16.32V19.68H22.08V18.72ZM16.32 20.88H22.08V21.84H16.32V20.88Z",fill:d})),s("defs",{},void 0,s("clipPath",{id:"clip0"},void 0,s("rect",{width:"24",height:"24",fill:d}))))}d.displayName="RaisedHandList"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e.isGuildStageVoice())return!1;if(!l.default.isLive(e.id))return!1;var t=r.default.getId();if(!i.default.isModerator(t,e.id))return!1;var n=a.default.getMutableParticipants(e.id,o.StageChannelParticipantNamedIndex.MODERATOR);if(n.length<=1)return!0;if(!i.default.isSpeaker(t,e.id))return!1;return n.filter((function(e){return e.id!==t&&e.speaker})).length<=0};var r=u(n(11)),a=u(n(302)),o=n(260),i=u(n(205)),l=u(n(81));function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,a.useStateFromStores)([o.default],(function(){return o.default.getId()}));return(0,i.default)(t,e)===i.RequestToSpeakStates.ON_STAGE};var r,a=n(3),o=(r=n(11))&&r.__esModule?r:{default:r},i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(304));function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,o.useStateFromStores)([i.default],(function(){return i.default.getId()})),n=(0,u.default)(t,e.id),r=n===u.RequestToSpeakStates.REQUESTED_TO_SPEAK||n===u.RequestToSpeakStates.REQUESTED_TO_SPEAK_AND_AWAITING_USER_ACK,s=a.useState(r),d=s[0],f=s[1];return a.useEffect((function(){f(r)}),[r]),[d,function(){n===u.RequestToSpeakStates.REQUESTED_TO_SPEAK_AND_AWAITING_USER_ACK?(0,l.audienceAckRequestToSpeak)(e,!0):(0,l.toggleRequestToSpeak)(e,!d);f(!d)}]};var r,a=d(n(0)),o=n(3),i=(r=n(11))&&r.__esModule?r:{default:r},l=n(301),u=d(n(304));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=T;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=E(n(29)),l=E(n(1261)),u=E(n(11016)),s=E(n(1318)),d=E(n(9728)),f=n(35),c=E(n(47)),p=E(n(24)),v=n(207),y=E(n(81)),m=E(n(6)),_=E(n(7994)),h=E(n(11017));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(){return(S=Object.assign||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}).apply(this,arguments)}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var I=function(e){var t=e.text,n=e.icon,r=e.foreground;return O("div",{className:_.default.bulletContainer},void 0,O("div",{className:_.default.iconContainer},void 0,O(n,{foreground:r,className:_.default.bulletIcon,height:40,width:40})),O(p.default,{size:p.default.Sizes.SIZE_16,color:p.default.Colors.HEADER_SECONDARY,className:_.default.bulletText},void 0,t))};function T(e){var t=e.channelId,n=e.transitionState,r=e.onClose,E=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["channelId","transitionState","onClose"]),g=(0,o.useStateFromStores)([y.default],(function(){return y.default.getStageInstanceByChannel(t)}),[t]),T=(null==g?void 0:g.privacy_level)===v.StageInstancePrivacyLevel.PUBLIC;return a.createElement(f.ModalRoot,S({transitionState:n,"aria-labelledby":m.default.Messages.START_STAGE_CHANNEL_EVENT_MODAL_TITLE},E,{size:f.ModalSize.SMALL}),O("div",{className:_.default.content},void 0,O("img",{src:h.default,alt:m.default.Messages.STAGE_CHANNEL_AUDIENCE_MODAL_ALT_TEXT,className:_.default.illustration}),O(c.default,{size:p.default.Sizes.SIZE_24,color:p.default.Colors.HEADER_PRIMARY,className:_.default.headerTitle},void 0,m.default.Messages.STAGE_CHANNEL_AUDIENCE_MODAL_TITLE),O(I,{text:m.default.Messages.STAGE_CHANNEL_AUDIENCE_MODAL_BULLET_1,icon:l.default,foreground:_.default.red}),O(I,{text:m.default.Messages.STAGE_CHANNEL_AUDIENCE_MODAL_BULLET_2,icon:d.default}),O(I,{text:m.default.Messages.STAGE_CHANNEL_AUDIENCE_MODAL_BULLET_3,icon:s.default}),T?O(I,{text:m.default.Messages.STAGE_CHANNEL_AUDIENCE_MODAL_BULLET_4,icon:u.default}):null,O(i.default,{color:i.default.Colors.BRAND,className:_.default.button,onClick:r},void 0,m.default.Messages.STAGE_CHANNEL_AUDIENCE_MODAL_ACTION)))}I.displayName="BulletItem",T.displayName="StageChannelWelcomeModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("g",{fill:"none",className:f},void 0,s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 22C12.4883 22 12.9684 21.965 13.438 21.8974C12.5414 20.8489 12 19.4877 12 18C12 17.6593 12.0284 17.3252 12.083 17H6V16.0244C6 14.0732 10 13 12 13C12.6215 13 13.436 13.1036 14.2637 13.305C15.2888 12.4882 16.5874 12 18 12C19.4877 12 20.8489 12.5414 21.8974 13.438C21.965 12.9684 22 12.4883 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM12 12C13.66 12 15 10.66 15 9C15 7.34 13.66 6 12 6C10.34 6 9 7.34 9 9C9 10.66 10.34 12 12 12Z",fill:d}),s("path",{d:"M18 22C20.2091 22 22 20.2091 22 18C22 15.7909 20.2091 14 18 14C15.7909 14 14 15.7909 14 18C14 20.2091 15.7909 22 18 22Z",fill:d})))}d.displayName="PersonStatus"},function(e,t,n){e.exports=n.p+"3916d20766c07e85e8ff8705d3403c0c.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContinuePrompt=A,t.default=L;M(n(0));var r,a=C(n(5)),o=n(3),i=n(8572),l=C(n(9162)),u=C(n(10377)),s=C(n(10378)),d=C(n(8456)),f=C(n(11)),c=C(n(40)),p=C(n(8455)),v=C(n(291)),y=C(n(47)),m=C(n(24)),_=M(n(8393)),h=n(1161),E=n(1260),g=n(203),S=C(n(308)),O=n(1),I=C(n(6)),T=C(n(7995));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function A(e){var t=e.onClick;return N(l.default,{iconContainerClassName:T.default.continueIconContainer,icon:N(v.default,{className:T.default.continueIcon,height:20,width:20}),color:O.Colors.PRIMARY_DARK_700,title:I.default.Messages.STAGE_CONTINUE_PROMPT_TITLE,description:I.default.Messages.STAGE_CONTINUE_PROMPT_SUBTITLE,onClick:t})}function P(e){var t=e.channel,n=(0,E.useStageParticipants)(t.id),r=(0,o.useStateFromStores)([f.default],(function(){return f.default.getId()}),[]),a=n.filter((function(e){return e.user.id!==r}));if(a.length<=0)return null;var i=a.slice(0,3);return N("div",{className:T.default.audienceSummary},void 0,N(_.default,{className:T.default.summaryItem,guildId:t.guild_id,users:i.map((function(e){return e.user})),size:_.Sizes.SIZE_16}),N(m.default,{size:m.default.Sizes.SIZE_14,color:m.default.Colors.HEADER_SECONDARY},void 0,function(e){if(0===e.length)return"";if(1===e.length)return I.default.Messages.STAGE_AUDIENCE_WAITING_ONE.format({first:e[0].userNick});if(2===e.length)return I.default.Messages.STAGE_AUDIENCE_WAITING_TWO.format({first:e[0].userNick,second:e[1].userNick});var t=e.length-2;return I.default.Messages.STAGE_AUDIENCE_WAITING_MANY.format({first:e[0].userNick,second:e[1].userNick,numOthers:t})}(a)))}A.displayName="ContinuePrompt",P.displayName="AudienceSummary";var R=N(p.default,{height:20,width:20});function L(e){var t=e.channel,n=e.onContinueClick,r=(0,i.useGuildChannelStageEvents)(t.guild_id,t.id),f=(0,o.useStateFromStores)([c.default],(function(){return c.default.can(g.MODERATE_STAGE_CHANNEL_PERMISSIONS,t)}),[t]),p=t.guild_id,_=(0,d.default)(p),E=_.canManageEvents,C=_.canStartEvents;function b(){}return N("div",{className:T.default.container},void 0,N(S.default,{},void 0,N("div",{className:T.default.iconBackground},void 0,N(v.default,{width:40,height:40,className:T.default.icon}))),N("div",{className:T.default.headerContainer},void 0,N(y.default,{className:T.default.title,size:y.default.Sizes.SIZE_24},void 0,I.default.Messages.STAGE_START_PROMPT_TITLE_MODERATOR),N(m.default,{className:T.default.subtitle,size:m.default.Sizes.SIZE_14},void 0,I.default.Messages.STAGE_START_PROMPT_SUBTITLE)),C?r.map((function(e){var t=e.id,n=e.name,r=e.scheduled_start_time;return N(l.default,{className:T.default.eventPrompt,icon:R,color:O.Colors.STATUS_GREEN_600,title:n,description:(0,h.calendarFormat)((0,a.default)(r)),onClick:b},t)})):null,f?N(s.default,{className:T.default.eventPrompt,channel:t}):null,E&&C?N(u.default,{className:T.default.eventPrompt,channel:t}):null,N("hr",{className:T.default.separator}),N(A,{onClick:n}),N(P,{channel:t}))}L.displayName="StartStageChannelCallView"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(273)),a=s(n(2)),o=s(n(216)),i=n(1404),l=s(n(5952)),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=new(function(e){var t,n;function o(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleMainWindowFocus=function(e){e.focused&&t.injectWindowAnimationFrame(window)},t.handlePopoutWindowChange=function(){var e=l.default.getWindowKeys().find((function(e){return l.default.getWindowFocused(e)}));if(null==e)return t.injectWindowAnimationFrame(window);var n=l.default.getWindow(e);if(null==n||n.closed)return t.injectWindowAnimationFrame(window);t.injectWindowAnimationFrame(n)},t}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var s=o.prototype;return s._initialize=function(){l.default.addChangeListener(this.handlePopoutWindowChange),a.default.subscribe(u.ActionTypes.WINDOW_FOCUS,this.handleMainWindowFocus)},s._terminate=function(){l.default.removeChangeListener(this.handlePopoutWindowChange),a.default.unsubscribe(u.ActionTypes.WINDOW_FOCUS,this.handleMainWindowFocus),this.injectWindowAnimationFrame(window)},s.injectWindowAnimationFrame=function(e){var t=function(t){return e.requestAnimationFrame(t)},n=function(t){return e.cancelAnimationFrame(t)};r.default.inject.RequestAnimationFrame(t),r.default.inject.CancelAnimationFrame(n),i.frameLoop.setRAF(t,n)},o}(o.default));t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(2)),a=l(n(216)),o=n(9729),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=new(function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var l=a.prototype;return l._initialize=function(){r.default.subscribe(i.ActionTypes.CONNECTION_OPEN,this.maybeFetchActiveOutboundPromotions)},l._terminate=function(){r.default.unsubscribe(i.ActionTypes.CONNECTION_OPEN,this.maybeFetchActiveOutboundPromotions)},l.maybeFetchActiveOutboundPromotions=function(e){e.user.premium_type===i.PremiumTypes.TIER_2&&(0,o.fetchActiveOutboundPromotions)()},a}(a.default));t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PromotionPreviewExperiment=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-06_preview_promotions",label:"Promotions Preview",defaultConfig:{previewEnabled:!1},treatments:[{id:1,label:"Preview Enabled",config:{previewEnabled:!0}}]});t.PromotionPreviewExperiment=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(11023)),i=n(1);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){e.relationship.type===i.RelationshipTypes.PENDING_INCOMING&&o.showPendingNotification(e.relationship.user)}function s(e){var t=e.user;o.showAcceptedNotification(t)}var d={init:function(){a.default.subscribe(i.ActionTypes.RELATIONSHIP_ADD,u),a.default.subscribe(i.ActionTypes.FRIEND_REQUEST_ACCEPTED,s)}};t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showPendingNotification=function(e){f(e,s.default.Messages.NOTIFICATION_PENDING_FRIEND_REQUEST,(function(){(0,i.transitionTo)(u.Routes.FRIENDS),a.default.setSection(u.FriendsSections.PENDING)}))},t.showAcceptedNotification=function(e){f(e,s.default.Messages.NOTIFICATION_ACCEPTED_FRIEND_REQUEST,(function(){r.default.openPrivateChannel(e.id)}))};var r=d(n(391)),a=d(n(8765)),o=d(n(5848)),i=n(42),l=d(n(150)),u=n(1),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n){o.default.showNotification(l.default.getUserAvatarURL(e),e.username,t,{tag:e.id,onClick:n})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=R(n(8)),a=n(3),o=n(34),i=R(n(2)),l=R(n(10)),u=R(n(56)),s=R(n(1269)),d=R(n(8968)),f=R(n(51)),c=R(n(376)),p=R(n(256)),v=R(n(94)),y=R(n(70)),m=R(n(36)),_=R(n(8415)),h=R(n(12)),E=R(n(80)),g=R(n(13)),S=n(48),O=R(n(16)),I=R(n(43)),T=R(n(11025)),C=R(n(11049)),b=n(8452),M=R(n(772)),N=R(n(1304)),A=R(n(10356)),P=n(1);function R(e){return e&&e.__esModule?e:{default:e}}function L(e){var t,n,r;e.type===P.ActionTypes.MESSAGE_CREATE&&function(e){var t=e.channelId,n=e.message,r=n.application,a=n.activity;if(null==r||null==a||null==a.party_id)return;var o=h.default.getUser(n.author.id);if(null==o)return;var i=h.default.getCurrentUser();if(o.id===i.id)return;var l=a.type===P.ActivityActionTypes.JOIN_REQUEST?p.default.getApplicationActivity(i.id,r.id):p.default.getApplicationActivity(o.id,r.id);if(null==l||null==l.party||l.party.id!==a.party_id)return;var u=l.application_id;switch(a.type){case P.ActivityActionTypes.JOIN:M.default.dispatchToSubscriptions(P.RPCEvents.ACTIVITY_INVITE,(function(e){return e.socket.application.id===u}),{user:(0,N.default)(o),activity:l,type:a.type,channel_id:t,message_id:n.id});break;case P.ActivityActionTypes.JOIN_REQUEST:M.default.dispatchToSubscriptions(P.RPCEvents.ACTIVITY_JOIN_REQUEST,(function(e){return e.socket.application.id===u}),{user:(0,N.default)(o)})}}(e);var a=null;switch(e.type){case P.ActionTypes.MESSAGE_CREATE:if("SENDING"===e.message.state)return;t=P.RPCEvents.MESSAGE_CREATE,n=e.channelId,r=e.message,a=""+t+e.message.id;break;case P.ActionTypes.MESSAGE_UPDATE:t=P.RPCEvents.MESSAGE_UPDATE,n=e.message.channel_id,r=e.message;break;case P.ActionTypes.MESSAGE_DELETE:t=P.RPCEvents.MESSAGE_DELETE,n=e.channelId,r={id:e.id},a=""+t+e.id;break;default:return(0,S.assertNever)(e)}n&&M.default.dispatchToSubscriptions(t,{channel_id:n},{channel_id:n,message:(0,b.transformInternalTextMessage)(r)},a)}var D={loadServer:function(){O.default.embedded&&I.default.ensureModule("discord_rpc").then((function(){for(var e=0,t=[n(11050).default,n(11051).default];e<t.length;e++){var r=t[e];M.default.registerTransport(r)}})),M.default.registerTransport(A.default);for(var e=0,t=Object.entries(T.default);e<t.length;e++){var r=t[e],a=r[0],o=r[1];M.default.setCommandHandler(a,o)}for(var i=0,l=Object.entries(C.default);i<l.length;i++){var u=l[i],s=u[0],d=u[1];M.default.setEventHandler(s,d)}},init:function(){M.default.getCurrentUser=function(){return h.default.getNullableCurrentUser()},M.default.onConnect=function(e){i.default.dirtyDispatch({type:P.ActionTypes.RPC_APP_CONNECTED,socketId:e.id,application:e.application}),g.default.track(P.AnalyticEvents.AUTHORIZED_APP_CONNECTED,{app_id:e.application.id,transport:e.transport})},M.default.onDisconnect=function(e,t){i.default.dirtyDispatch({type:P.ActionTypes.RPC_APP_DISCONNECTED,socketId:e.id,application:e.application,reason:t})},new a.BatchedStoreListener([l.default,u.default,p.default,E.default,f.default,v.default,c.default],(function(){return M.default.updateSubscriptions()})).attach("RPCServerManager"),i.default.subscribe(P.ActionTypes.MESSAGE_CREATE,(function(e){return L(e)})),i.default.subscribe(P.ActionTypes.MESSAGE_UPDATE,(function(e){return L(e)})),i.default.subscribe(P.ActionTypes.MESSAGE_DELETE,(function(e){return L(e)})),i.default.subscribe(P.ActionTypes.SPEAKING,(function(e){return function(e){var t=e.speakingFlags?P.RPCEvents.SPEAKING_START:P.RPCEvents.SPEAKING_STOP;if(e.context===o.MediaEngineContextTypes.DEFAULT){var n=m.default.getVoiceChannelId();if(null!=n){var r=l.default.getChannel(n);if(null==r)return;var a=E.default.getVoiceState(r.getGuildId(),e.userId);if(null==a)return;M.default.dispatchToSubscriptions(t,{channel_id:a.channelId},{channel_id:a.channelId,user_id:e.userId})}}else d.default.getLobbyIdsForUser(e.userId).forEach((function(n){var r=s.default.getLobby(n);null!=r&&r.application_id===e.context&&M.default.dispatchToSubscriptions(t,{},{lobby_id:n,user_id:e.userId})}))}(e)})),i.default.subscribe(P.ActionTypes.OAUTH2_TOKEN_REVOKE,(function(e){return t=e.accessToken,void M.default.sockets.forEach((function(e){e.authorization.accessToken===t&&e.close(P.RPCCloseCodes.TOKEN_REVOKED,"Token revoked")}));var t})),i.default.subscribe(P.ActionTypes.GUILD_CREATE,(function(e){return function(e){var t=e.guild,n=t.id,r=t.name;M.default.dispatchToSubscriptions(P.RPCEvents.GUILD_CREATE,{},{id:n,name:r})}(e)})),i.default.subscribe(P.ActionTypes.CHANNEL_CREATE,(function(e){return function(e){var t=e.channel,n=t.id,r=t.name,a=t.type;M.default.dispatchToSubscriptions(P.RPCEvents.CHANNEL_CREATE,{},{id:n,name:r,type:a})}(e)})),i.default.subscribe(P.ActionTypes.LOGOUT,(function(){M.default.sockets.forEach((function(e){return e.close(P.RPCCloseCodes.CLOSE_NORMAL,"User logout")}))})),i.default.subscribe(P.ActionTypes.VOICE_CHANNEL_SELECT,(function(e){return n=(t=e).guildId,r=t.channelId,void M.default.dispatchToSubscriptions(P.RPCEvents.VOICE_CHANNEL_SELECT,{},{channel_id:r,guild_id:n});var t,n,r})),i.default.subscribe(P.ActionTypes.RPC_NOTIFICATION_CREATE,(function(e){return n=(t=e).channelId,r=t.message,a=t.icon,o=t.title,i=t.body,void M.default.dispatchToSubscriptions(P.RPCEvents.NOTIFICATION_CREATE,{},{channel_id:n,message:(0,b.transformInternalTextMessage)(r),icon_url:null!=a?(0,b.getRemoteIconURL)(a):null,title:o,body:i});var t,n,r,a,o,i})),i.default.subscribe(P.ActionTypes.ACTIVITY_JOIN,(function(e){return n=(t=e).applicationId,r=t.secret,a=t.intent,o={secret:r},t.embedded&&(o.intent=a),M.default.dispatchToSubscriptions(P.RPCEvents.ACTIVITY_JOIN,(function(e){return e.socket.application.id===n}),o),void M.default.dispatchToSubscriptions(P.RPCEvents.GAME_JOIN,(function(e){return e.socket.application.id===n}),o);var t,n,r,a,o})),i.default.subscribe(P.ActionTypes.RELATIONSHIP_ADD,(function(e){return t=e.relationship,n=t.id,r=t.type,void M.default.dispatchToSubscriptions(P.RPCEvents.RELATIONSHIP_UPDATE,{},(0,b.transformRelationship)(r,n));var t,n,r})),i.default.subscribe(P.ActionTypes.RELATIONSHIP_REMOVE,(function(e){return t=e.relationship.id,void M.default.dispatchToSubscriptions(P.RPCEvents.RELATIONSHIP_UPDATE,{},(0,b.transformRelationship)(P.RelationshipTypes.NONE,t));var t})),i.default.subscribe(P.ActionTypes.PRESENCE_UPDATE,(function(e){return function(e){var t=e.guildId,n=e.user.id;if(null==t){var r=y.default.getRelationshipType(n);r===P.RelationshipTypes.NONE&&_.default.getUserAffinitiesUserIds().has(n)&&(r=P.RelationshipTypes.IMPLICIT),r!==P.RelationshipTypes.NONE&&M.default.dispatchToSubscriptions(P.RPCEvents.RELATIONSHIP_UPDATE,{},(0,b.transformRelationship)(r,n))}}(e)})),i.default.subscribe(P.ActionTypes.PRESENCES_REPLACE,(function(){r.default.forEach(y.default.getRelationships(),(function(e,t){M.default.dispatchToSubscriptions(P.RPCEvents.RELATIONSHIP_UPDATE,{},(0,b.transformRelationship)(e,t))}))})),i.default.subscribe(P.ActionTypes.LOBBY_UPDATE,(function(e){return t=e.lobby,void M.default.dispatchToSubscriptions(P.RPCEvents.LOBBY_UPDATE,{},t);var t})),i.default.subscribe(P.ActionTypes.LOBBY_DELETE,(function(e){return t=e.lobbyId,void M.default.dispatchToSubscriptions(P.RPCEvents.LOBBY_DELETE,{},{id:t});var t})),i.default.subscribe(P.ActionTypes.LOBBY_MEMBER_CONNECT,(function(e){return n=(t=e).lobbyId,r=t.member,void M.default.dispatchToSubscriptions(P.RPCEvents.LOBBY_MEMBER_CONNECT,{},{lobby_id:n,member:r});var t,n,r})),i.default.subscribe(P.ActionTypes.LOBBY_MEMBER_UPDATE,(function(e){return n=(t=e).lobbyId,r=t.member,void M.default.dispatchToSubscriptions(P.RPCEvents.LOBBY_MEMBER_UPDATE,{},{lobby_id:n,member:r});var t,n,r})),i.default.subscribe(P.ActionTypes.LOBBY_MEMBER_DISCONNECT,(function(e){return n=(t=e).lobbyId,r=t.member,void M.default.dispatchToSubscriptions(P.RPCEvents.LOBBY_MEMBER_DISCONNECT,{},{lobby_id:n,member:r});var t,n,r})),i.default.subscribe(P.ActionTypes.LOBBY_MESSAGE,(function(e){return n=(t=e).lobbyId,r=t.senderId,a=t.data,void M.default.dispatchToSubscriptions(P.RPCEvents.LOBBY_MESSAGE,{},{lobby_id:n,sender_id:r,data:a});var t,n,r,a})),i.default.subscribe(P.ActionTypes.ENTITLEMENT_CREATE,(function(e){return t=e.entitlement,void M.default.dispatchToSubscriptions(P.RPCEvents.ENTITLEMENT_CREATE,(function(e){return e.socket.application.id===t.application_id}),{entitlement:t});var t})),i.default.subscribe(P.ActionTypes.ENTITLEMENT_DELETE,(function(e){return t=e.entitlement,void M.default.dispatchToSubscriptions(P.RPCEvents.ENTITLEMENT_DELETE,(function(e){return e.socket.application.id===t.application_id}),{entitlement:t});var t})),i.default.subscribe(P.ActionTypes.USER_ACHIEVEMENT_UPDATE,(function(e){return t=e.userAchievement,n=t.application_id,void M.default.dispatchToSubscriptions(P.RPCEvents.USER_ACHIEVEMENT_UPDATE,(function(e){return e.socket.application.id===n}),{user_achievement:t});var t,n}))}};t.default=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=O(n(11026)),a=O(n(11028)),o=O(n(11029)),i=O(n(11031)),l=O(n(11032)),u=O(n(11034)),s=O(n(11035)),d=O(n(11036)),f=O(n(11037)),c=O(n(11038)),p=O(n(11040)),v=O(n(11041)),y=O(n(11042)),m=O(n(11043)),_=O(n(11044)),h=O(n(11045)),E=O(n(11046)),g=O(n(11047)),S=O(n(11048));function O(e){return e&&e.__esModule?e:{default:e}}function I(){return(I=Object.assign||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}).apply(this,arguments)}var T=I({},r.default,{},a.default,{},o.default,{},i.default,{},l.default,{},u.default,{},s.default,{},d.default,{},f.default,{},y.default,{},c.default,{},p.default,{},v.default,{},m.default,{},h.default,{},E.default,{},S.default,{},_.default,{},g.default);t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i=s(n(11027)),l=s(n(689)),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}var d=((o={})[u.RPCCommands.SET_USER_ACHIEVEMENT]={scope:(r={},r[u.RPC_SCOPE_CONFIG.ANY]=[u.OAuth2Scopes.RPC,u.RPC_LOCAL_SCOPE],r),validation:function(e){return e.object().required().keys({achievement_id:e.string().min(2).max(128),percent_complete:e.number().min(0).max(100).required()})},handler:function(e){var t=e.socket,n=e.args,r=n.achievement_id,a=n.percent_complete,o=t.application.id;if(null==o)throw new l.default(u.RPCErrors.INVALID_COMMAND,"No application.");return i.default.setUserAchievement(o,r,a).catch((function(e){var t=e.status,n=e.body;switch(t){case 429:throw new l.default(u.RPCErrors.RATE_LIMITED,"You are being rate limited.");case 403:throw null!=n&&n.code===u.AbortCodes.USER_NOT_AUTHORIZED_FOR_APPLICATION?new l.default(u.RPCErrors.UNAUTHORIZED_FOR_ACHIEVEMENT,"Not authorized to update this achievement."):new l.default(u.RPCErrors.UNKNOWN_ERROR,"Unknown error from API. status="+t+".");default:throw new l.default(u.RPCErrors.UNKNOWN_ERROR,"Unknown error from API. status="+t+".")}})).then((function(){return null}))}},o[u.RPCCommands.GET_USER_ACHIEVEMENTS]={scope:(a={},a[u.RPC_SCOPE_CONFIG.ANY]=[u.OAuth2Scopes.RPC,u.RPC_LOCAL_SCOPE],a),handler:function(e){var t=e.socket.application.id;if(null==t)throw new l.default(u.RPCErrors.INVALID_COMMAND,"No application.");return i.default.fetchForApplication(t).then((function(e){return e||[]}))}},o);t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(14)),a=i(n(11)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}var l={setUserAchievement:function(e,t,n){var i=a.default.getId();return r.default.put({url:o.Endpoints.USER_ACHIEVEMENTS_FOR_USER(i,e,t),body:{percent_complete:n},oldFormErrors:!0})},fetchForApplication:function(e){return r.default.get({url:o.Endpoints.USER_ACHIEVEMENTS(e),retries:1,oldFormErrors:!0}).then((function(e){return e.body}))}};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i,l,u,s,d=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=k();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),f=j(n(8)),c=j(n(2)),p=j(n(1234)),v=n(8787),y=j(n(478)),m=n(8321),_=j(n(8283)),h=j(n(1365)),E=j(n(5952)),g=j(n(10)),S=j(n(15)),O=j(n(1255)),I=j(n(40)),T=j(n(36)),C=j(n(479)),b=n(41),M=n(217),N=j(n(13)),A=n(409),P=n(8286),R=n(733),L=j(n(689)),D=n(8452),w=n(1);function j(e){return e&&e.__esModule?e:{default:e}}function k(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return k=function(){return e},e}function U(){return(U=Object.assign||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}).apply(this,arguments)}function G(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function F(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){G(o,r,a,i,l,"next",e)}function l(e){G(o,r,a,i,l,"throw",e)}i(void 0)}))}}var B=["349134787773988865"];function H(e,t,n,r,a){return x.apply(this,arguments)}function x(){return(x=F(regeneratorRuntime.mark((function e(t,n,r,a,o){var i,l,u,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===o&&(o=""),null!=(i=O.default.getApplicationActivity(n))&&null!=i.secrets&&(0,D.validateActivityInvite)(a,i.party,i.secrets)){e.next=4;break}throw new L.default(w.RPCErrors.NO_ELIGIBLE_ACTIVITY,"No eligible activity for application. Ensure an activity includes a party and appropriate secret.");case 4:if(!(l=(0,h.default)(i,C.default))){e.next=8;break}return u=(0,D.unlockOverlay)(t),s=u.lock,e.abrupt("return",(0,v.openModal)(i,l).then((function(){throw s(),new L.default(w.RPCErrors.NO_ELIGIBLE_ACTIVITY,"No eligible activity for application. Ensure user does have have privacy enabled.")})));case 8:return e.next=10,p.default.sendActivityInviteUser({userId:r,type:a,activity:i,content:o,location:"In-Game Invite"});case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var V=((s={})[w.RPCCommands.SET_ACTIVITY]={scope:(r={},r[w.RPC_SCOPE_CONFIG.ANY]=[w.OAuth2Scopes.RPC,w.OAuth2Scopes.RPC_ACTIVITIES_WRITE,w.RPC_LOCAL_SCOPE],r),validation:function(e){return e.object().required().keys({pid:e.number().min(0),activity:e.object().keys({state:e.string().min(2).max(128),details:e.string().min(2).max(128),timestamps:e.object().keys({start:e.number().min(1),end:e.number().min(1)}),assets:e.object().keys({large_image:e.string().min(1).max(32),large_text:e.string().min(2).max(128),small_image:e.string().min(1).max(32),small_text:e.string().min(2).max(128)}),party:e.object().keys({id:e.string().min(2).max(128),size:e.array().items(e.number().min(1)).length(2),privacy:e.number().default(w.ActivityPartyPrivacy.PRIVATE).valid([w.ActivityPartyPrivacy.PRIVATE,w.ActivityPartyPrivacy.PUBLIC])}),secrets:e.object().keys({match:e.string().min(2).max(128),join:e.string().min(2).max(128),spectate:e.string().min(2).max(128)}),game_session_id:e.string().max(128),buttons:e.array().items(e.object().keys({label:e.string().min(1).max(32).required(),url:e.string().uri().min(1).max(512).required()})).min(1).max(2),instance:e.boolean(),supported_platforms:e.array().items(e.string().min(1).max(32)).min(1).max(3),type:e.number().default(w.ActivityTypes.PLAYING).valid(w.ActivityTypes.PLAYING,w.ActivityTypes.WATCHING)}).allow(null)})},handler:function(e){var t,n=e.socket,r=e.args,a=r.pid,o=r.activity;if(![w.TransportTypes.IPC,w.TransportTypes.WEBSOCKET,w.TransportTypes.POST_MESSAGE].includes(n.transport))throw new L.default(w.RPCErrors.INVALID_COMMAND,'command not available from "'+n.transport+'" transport');if(null==a&&w.TransportTypes.IPC===n.transport)throw new L.default(w.RPCErrors.INVALID_COMMAND,"nonzero pid required");if(null==o)return c.default.dispatch({type:w.ActionTypes.LOCAL_ACTIVITY_UPDATE,socketId:n.id,pid:a,activity:o}),Promise.resolve(o);o.name=n.application.name,o.application_id=n.application.id;var i=n.transport===w.TransportTypes.POST_MESSAGE,l=(0,D.computeActivityFlags)(o,i);l>0&&(o.flags=l),delete o.instance,null===(t=o.party)||void 0===t||delete t.privacy;var u=o.game_session_id;delete o.game_session_id;var s,d=o.assets,p=o.party,v=o.secrets,y=o.timestamps,m=o.buttons,_=o.type;if((null==_||_!==w.ActivityTypes.PLAYING&&!i)&&(o.type=w.ActivityTypes.PLAYING),null!=v){var h=f.default.values(v).filter((function(e){return!!e}));if(null!=p&&f.default.intersection(h,[p.id]).length>0&&!B.includes(n.application.id))throw new L.default(w.RPCErrors.INVALID_ACTIVITY_SECRET,"secrets cannot match the party id");if(f.default.uniq(h).length<h.length)throw new L.default(w.RPCErrors.INVALID_ACTIVITY_SECRET,"secrets must be unique");if(null!=m)throw new L.default(w.RPCErrors.INVALID_ACTIVITY_SECRET,"secrets cannot currently be sent with buttons")}if(null!=m&&(o.metadata={button_urls:m.map((function(e){return e.url}))},o.buttons=m.map((function(e){return e.label}))),null!=y)for(var E=0,g=Object.keys(y);E<g.length;E++){var S=g[E];Date.now().toString().length-y[S].toString().length>2&&(y[S]=Math.floor(1e3*y[S]))}if(null==d)s=Promise.resolve([]);else{if(null==n.application||null==n.application.id)throw new Error;s=(0,A.getAssetIds)(n.application.id,[d.large_image,d.small_image])}return s.then((function(e){var t=e[0],r=e[1];null!=d&&(null!=t?d.large_image=t:delete d.large_image,null!=r?d.small_image=r:delete d.small_image),c.default.dispatch({type:w.ActionTypes.LOCAL_ACTIVITY_UPDATE,socketId:n.id,pid:a,activity:o,activitySessionId:u});var i=o.secrets,l=o.party,s={application_id:n.application.id,type:o.type};return null!=i&&(s.has_match_secret=!!i.match,s.has_join_secret=!!i.join),null!=d&&(s.has_images=!(!d.large_image&&!d.small_image)),null!=l&&(s.party_max=null!=l.size?l.size[1]:void 0,s.party_id=l.id),null!=u&&(s.activity_session_id=u),N.default.track(w.AnalyticEvents.ACTIVITY_UPDATED,s),o}))}},s[w.RPCCommands.SEND_ACTIVITY_JOIN_INVITE]={scope:(a={},a[w.RPC_SCOPE_CONFIG.ANY]=[w.OAuth2Scopes.RPC,w.RPC_LOCAL_SCOPE],a),handler:function(e){var t=e.socket,n=e.args,r=n.user_id,a=n.pid,o=t.application.id;if(null==o)throw new L.default(w.RPCErrors.INVALID_COMMAND,"No application.");return H(a,o,r,w.ActivityActionTypes.JOIN)}},s[w.RPCCommands.CLOSE_ACTIVITY_JOIN_REQUEST]={scope:(o={},o[w.RPC_SCOPE_CONFIG.ANY]=[w.OAuth2Scopes.RPC,w.RPC_LOCAL_SCOPE],o),handler:function(e){var t=e.args.user_id,n=g.default.getDMFromUserId(t);null!=n&&(0,m.ack)(n,!0,!0)}},s[w.RPCCommands.ACTIVITY_INVITE_USER]={scope:(i={},i[w.RPC_SCOPE_CONFIG.ANY]=[w.OAuth2Scopes.RPC,w.RPC_LOCAL_SCOPE],i),validation:function(e){return e.object().required().keys({user_id:e.string().required(),type:e.number().required().valid([w.ActivityActionTypes.JOIN]),content:e.string().min(0).max(1024),pid:e.number().min(0).required()})},handler:function(e){var t=e.socket,n=e.args,r=n.type,a=n.user_id,o=n.content,i=n.pid,l=t.application.id;if(null==l)throw new L.default(w.RPCErrors.INVALID_COMMAND,"No application.");return H(i,l,a,r,o)}},s[w.RPCCommands.ACCEPT_ACTIVITY_INVITE]={scope:(l={},l[w.RPC_SCOPE_CONFIG.ANY]=[w.OAuth2Scopes.RPC,w.RPC_LOCAL_SCOPE],l),validation:function(e){return e.object().required().keys({type:e.number().required().valid([w.ActivityActionTypes.JOIN]),user_id:e.string().required(),session_id:e.string().required(),channel_id:e.string().required(),message_id:e.string().required()})},handler:function(e){var t=e.socket,n=e.args,r=n.type,a=n.user_id,o=n.session_id,i=n.channel_id,l=n.message_id,u=t.application.id;if(null==u)throw new L.default(w.RPCErrors.INVALID_COMMAND,"No application.");var s=Promise.resolve(!1);switch(r){case w.ActivityActionTypes.JOIN:s=y.default.join(a,o,u,i,l)}return s.then((function(e){if(!e)throw new L.default(w.RPCErrors.INVALID_INVITE,"Invite is expired or invalid.")}))}},s[w.RPCCommands.OPEN_INVITE_DIALOG]={scope:(u={},u[w.RPC_SCOPE_CONFIG.ANY]=[w.OAuth2Scopes.RPC,w.RPC_LOCAL_SCOPE],u),handler:function(e){var t,n,r=e.socket,a=T.default.getVoiceChannelId(),o=g.default.getChannel(a);if(null==o)throw new L.default(w.RPCErrors.INVALID_CHANNEL,"Invalid channel "+a);var i=S.default.getGuild(o.getGuildId());if(null==i)throw new L.default(w.RPCErrors.INVALID_CHANNEL,"Invalid guild "+o.getGuildId());if(!(0,P.canViewInviteModal)(I.default,i,o))throw new L.default(w.RPCErrors.INVALID_PERMISSIONS,"No invite permissions for "+a);var l=E.default.getWindow(w.PopoutWindowKeys.CHANNEL_CALL_POPOUT);(null===(t=l)||void 0===t?void 0:t.closed)&&(l=null);var u=null!=l?w.AppContext.POPOUT:w.AppContext.APP;(0,R.exitFullScreen)({},void 0,null===(n=l)||void 0===n?void 0:n.document),(0,b.openModal)((function(e){return d.createElement(_.default,U({},e,{guild:i,channel:o,applicationId:r.application.id,analyticsLocation:w.AnalyticsLocations.ACTIVITY_RPC,source:w.InstantInviteSources.ACTIVITY_INVITE}))}),{},u===w.AppContext.POPOUT?M.POPOUT_MODAL_CONTEXT:M.DEFAULT_MODAL_CONTEXT)}},s);t.default=V},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=S(n(14)),i=n(57),l=n(5829),u=S(n(11030)),s=n(156),d=S(n(10)),f=S(n(71)),c=S(n(36)),p=S(n(12)),v=S(n(5826)),y=S(n(1167)),m=n(41),_=S(n(13)),h=S(n(43)),E=S(n(689)),g=n(1);function S(e){return e&&e.__esModule?e:{default:e}}function O(){return(O=Object.assign||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}).apply(this,arguments)}function I(e,t){var n=v.default.isEntitledToSku(p.default.getNullableCurrentUser(),e,t);return null!=n?Promise.resolve(n):(0,l.fetchUserEntitlementsForApplication)(t).then((function(){return!0===v.default.isEntitledToSku(p.default.getNullableCurrentUser(),e,t)}))}var T=((a={})[g.RPCCommands.VALIDATE_APPLICATION]={scope:g.RPC_LOCAL_SCOPE,handler:function(e){var t=e.socket.application.id;try{if(null==t)throw new E.default(g.RPCErrors.INVALID_COMMAND,"No application.");var n=f.default.getGame(t);if(null==n)throw new E.default(g.RPCErrors.INVALID_ENTITLEMENT,"SKU does not exist.");var r=n.primarySkuId;if(null==r)throw new E.default(g.RPCErrors.INVALID_ENTITLEMENT,"SKU does not exist.");return Promise.race([I(r,n.id).then((function(e){if(!e)throw new E.default(g.RPCErrors.INVALID_ENTITLEMENT,"User does not have entitlement.")})),(0,i.timeoutPromise)(1e4).then((function(){throw new E.default(g.RPCErrors.INVALID_ENTITLEMENT,"Timed out fetching entitlement.")}))])}catch(e){throw e.code===g.RPCErrors.INVALID_ENTITLEMENT&&(h.default.focus(null,!0),(0,m.openModal)((function(e){return React.createElement(u.default,O({},e,{applicationId:t}))}))),e}}},a[g.RPCCommands.GET_ENTITLEMENT_TICKET]={scope:g.RPC_LOCAL_SCOPE,handler:function(e){var t=e.socket.application.id;if(null==t)throw new E.default(g.RPCErrors.INVALID_COMMAND,"No application.");return o.default.post({url:g.Endpoints.ENTITLEMENT_TICKET(t),body:{test_mode:y.default.inTestModeForApplication(t)},retries:3,oldFormErrors:!0}).then((function(e){return e.body})).catch((function(e){throw h.default.focus(null,!0),(0,m.openModal)((function(e){return React.createElement(u.default,O({},e,{applicationId:t}))})),e}))}},a[g.RPCCommands.GET_ACTIVITY_JOIN_TICKET]=((r={})[g.RPC_SCOPE_CONFIG.ANY]=[g.OAuth2Scopes.RPC,g.RPC_AUTHENTICATED_SCOPE],r.handler=function(e){var t=e.socket;if(t.transport!==g.TransportTypes.POST_MESSAGE)throw new E.default(g.RPCErrors.INVALID_COMMAND,"Invalid transport.");var n=t.application.id;if(null==n)throw new E.default(g.RPCErrors.INVALID_COMMAND,"No application.");if(!s.JOIN_TICKET_EMBEDDED_APPS.has(n))throw new E.default(g.RPCErrors.INVALID_COMMAND,"This application cannot access this API");var r=d.default.getChannel(c.default.getVoiceChannelId()),a=null==r?void 0:r.getGuildId();if(null==r||null==a)throw new E.default(g.RPCErrors.INVALID_COMMAND,"Invalid channel");return o.default.post({url:g.Endpoints.ACTIVITY_JOIN_TICKET(n,a,r.id),retries:2,oldFormErrors:!0}).then((function(e){return e.body})).catch((function(e){throw e}))},r),a[g.RPCCommands.SEND_GENERIC_EVENT]={validation:function(e){return e.object().required().keys({type:e.string().required().min(2).max(64),name:e.string().required().min(2).max(128),details:e.string().min(1).max(256),activity_session_id:e.string().min(1).max(256)})},handler:function(e){var t=e.socket,n=e.args,r=n.name,a=n.type,o=n.activity_session_id,i=n.details;if(t.transport!==g.TransportTypes.POST_MESSAGE)throw new E.default(g.RPCErrors.INVALID_COMMAND,"Invalid transport.");var l=t.application.id;if(null==l)throw new E.default(g.RPCErrors.INVALID_COMMAND,"No application.");if(!s.GENERIC_EVENT_EMBEDDED_APPS.has(l))throw new E.default(g.RPCErrors.INVALID_COMMAND,"Invalid application");_.default.track(g.AnalyticEvents.APPLICATION_GENERATED_GENERIC_EVENT,{application_id:l,type:a,name:r,details:i,activity_session_id:o})}},a[g.RPCCommands.GET_APPLICATION_TICKET]={scope:g.RPC_LOCAL_SCOPE,handler:function(e){var t=e.socket.application.id;if(null==t)throw new E.default(g.RPCErrors.INVALID_COMMAND,"No application.");return o.default.post({url:g.Endpoints.APPLICATION_TICKET(t),body:{test_mode:y.default.inTestModeForApplication(t)},retries:3,oldFormErrors:!0}).then((function(e){return e.body}))}},a);t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=m(n(3)),o=m(n(71)),i=m(n(29)),l=m(n(55)),u=n(85),s=n(131),d=n(35),f=m(n(24)),c=m(n(93)),p=n(1),v=m(n(6)),y=m(n(7997));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var E=c.default.getArticleURL(p.HelpdeskArticles.MISSING_ENTITLEMENT);function g(e){var t=e.application,n=e.transitionState,r=e.onClose,a=(0,u.useUID)();return h(d.ModalRoot,{transitionState:n,"aria-labelledby":a,size:d.ModalSize.MEDIUM},void 0,h(d.ModalHeader,{align:l.default.Align.CENTER,justify:l.default.Justify.BETWEEN},void 0,h(s.FormTitle,{tag:s.FormTitleTags.H4},void 0,null!=t?v.default.Messages.MISSING_ENTITLEMENT_MODAL_HEADER.format({applicationName:t.name}):v.default.Messages.MISSING_ENTITLEMENT_MODAL_HEADER_UNKNOWN_APPLICATION),h(d.ModalCloseButton,{onClick:r})),h(d.ModalContent,{},void 0,h("div",{className:y.default.missingEntitlementImage}),h(f.default,{className:y.default.text,size:f.default.Sizes.SIZE_16},void 0,null!=t?v.default.Messages.MISSING_ENTITLEMENT_MODAL_BODY.format({applicationName:t.name,supportArticleURL:E}):v.default.Messages.MISSING_ENTITLEMENT_MODAL_BODY_UNKNOWN_APPLICATION.format({supportArticleURL:E}))),h(d.ModalFooter,{},void 0,h(i.default,{onClick:r},void 0,v.default.Messages.OKAY)))}g.displayName="MissingEntitlementModal";var S=a.default.connectStores([o.default],(function(e){var t=e.applicationId;return{application:o.default.getGame(t)}}))(g);t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=g(n(137)),i=g(n(63)),l=g(n(14)),u=g(n(28)),s=g(n(2)),d=g(n(397)),f=n(425),c=n(1429),p=n(1382),v=g(n(12)),y=g(n(78)),m=g(n(16)),_=g(n(43)),h=g(n(689)),E=n(1);function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(){return(O=Object.assign||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}).apply(this,arguments)}function I(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function T(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){I(o,r,a,i,l,"next",e)}function l(e){I(o,r,a,i,l,"throw",e)}i(void 0)}))}}function C(e){return b.apply(this,arguments)}function b(){return(b=T(regeneratorRuntime.mark((function e(t){var n,r,o,l,u,s,g,S,I,T,C,b,M,N,A,P,R,L,D;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.client_id,r=t.response_type,o=void 0===r?"code":r,l=t.redirect_uri,u=t.code_challenge,s=t.code_challenge_method,g=t.state,S=t.scope,I=t.permissions,T=t.guild_id,C=t.channel_id,b=t.prompt,M=t.disable_guild_select,null!=n){e.next=3;break}throw new h.default(E.RPCErrors.OAUTH2_ERROR,"No Client ID provided");case 3:if(null==l){e.next=5;break}throw new h.default(E.RPCErrors.OAUTH2_ERROR,"Redirect URI cannot be used in the RPC OAuth2 Authorization flow");case 5:if(N=[],"string"==typeof S?N=S.split(" ").filter((function(e){return e.length>0})):Array.isArray(S)&&(N=S),null!=v.default.getCurrentUser()){e.next=10;break}throw new h.default(E.RPCErrors.OAUTH2_ERROR,"Client is not logged in");case 10:return e.prev=10,e.next=13,(0,f.fetchAuthorization)(n,N,o,l,u,s,g);case 13:A=e.sent,e.next=20;break;case 16:throw e.prev=16,e.t0=e.catch(10),P=e.t0.body,new h.default(E.RPCErrors.OAUTH2_ERROR,"OAuth2 Authorization Error: "+(P.message||"Unknown Error"));case 20:if(b!==c.OAuth2Prompts.NONE||null==A||!A.authorized){e.next=32;break}return e.prev=21,e.next=24,(0,f.authorize)(!0,n,N,o,l,u,s,g);case 24:return R=e.sent,e.abrupt("return",R.location);case 28:throw e.prev=28,e.t1=e.catch(21),L=e.t1.body,new h.default(E.RPCErrors.OAUTH2_ERROR,"OAuth2 Authorize Error: "+(L.message||"Unknown Error"));case 32:m.default.embedded&&(m.default.isWindows()?_.default.minimize():_.default.restore(),_.default.focus()),D=y.default.NONE;try{D=i.default.deserialize(null!=I?I:0)}catch(e){}return e.abrupt("return",new Promise((function(e){d.default.push((function(t){return a.createElement(p.OAuth2AuthorizeModal,O({},t,{authorization:A,clientId:n,scopes:N||[],callback:e,responseType:o,redirectUri:l,codeChallenge:u,codeChallengeMethod:s,state:g,permissions:D,guildId:T,channelId:C,prompt:b,disableGuildSelect:"boolean"==typeof M?M:"true"===M}))}))})));case 36:case"end":return e.stop()}}),e,null,[[10,16],[21,28]])})))).apply(this,arguments)}function M(e,t){if(e.authorization.accessToken)throw new h.default(E.RPCErrors.INVALID_COMMAND,"Already authenticated");if(e.authorization.authing)throw new h.default(E.RPCErrors.INVALID_COMMAND,"Already authing");return e.authorization.authing=!0,l.default.get({url:E.Endpoints.OAUTH2_CURRENT_AUTH,headers:{Authorization:"Bearer "+t},oldFormErrors:!0}).then((function(n){e.authorization.authing=!1;var r=n.body,a=r.application,o=r.user,i=r.scopes,l=r.expires;if(e.application.id!==a.id)throw new h.default(E.RPCErrors.INVALID_CLIENTID,"Application does not match the connection's");var u=v.default.getCurrentUser();if(!u||!o||u.id!==o.id)throw new h.default(E.RPCErrors.INVALID_TOKEN,"Token does not match current user");return e.authorization.scopes=[].concat(e.authorization.scopes,i,[E.RPC_AUTHENTICATED_SCOPE]),e.authorization.accessToken=t,e.authorization.expires=new Date(l),s.default.dispatch({type:E.ActionTypes.RPC_APP_AUTHENTICATED,socketId:e.id,application:e.application}),O({},n.body,{access_token:t})}),(function(){throw new h.default(E.RPCErrors.INVALID_TOKEN,"Invalid access token: "+t)})).catch((function(t){throw e.authorization.authing=!1,t}))}var N=((r={})[E.RPCCommands.AUTHENTICATE]={handler:function(e){var t=e.socket,n=e.args.access_token;if(null==n&&t.transport===E.TransportTypes.IPC){var r=t.application.id;if(null==r)throw new h.default(E.RPCErrors.INVALID_COMMAND,"No application.");var a=E.OAuth2Scopes.IDENTIFY,i=function(){return C({client_id:r,scope:a,response_type:"token"}).then((function(e){if(null==e)throw new h.default(E.RPCErrors.UNKNOWN_ERROR,"Unknown error occurred");var n=e.split(/#|\?/),a=o.default.parse(n[n.length-1]);if(null!=a.error)throw new h.default(E.RPCErrors.OAUTH2_ERROR,"OAuth2 Error: "+a.error+": "+(a.error_description||"unknown error"));return function(e,t,n,r){var a=u.default.get("CachedTokens")||{};a[e]={accessToken:t,scope:n,expires:Date.now()+r},u.default.set("CachedTokens",a)}(r,a.access_token,a.scope,a.expires_in),M(t,a.access_token)}))};return null!=(n=function(e,t){var n=u.default.get("CachedTokens");if(null!=n&&null!=n[e]){var r=n[e];if(!(r.scope!==t||r.expires<=Date.now()))return r.accessToken;delete n[e],u.default.set("CachedTokens",n)}}(r,a))?M(t,n).catch((function(){return function(e){var t=u.default.get("CachedTokens")||{};delete t[e],u.default.set("CachedTokens",t)}(r),i()})):i()}if(null==n)throw new h.default(E.RPCErrors.INVALID_TOKEN,"No access token provided");return M(t,n)}},r[E.RPCCommands.AUTHORIZE]={handler:function(e){var t=e.socket,n=e.args,r=n.client_id;if(!r)throw new h.default(E.RPCErrors.INVALID_CLIENTID,"No client id provided");if(t.authorization.accessToken)throw new h.default(E.RPCErrors.INVALID_COMMAND,"Already authenticated");if(t.authorization.authing)throw new h.default(E.RPCErrors.INVALID_COMMAND,"Already authing");return t.authorization.authing=!0,l.default.get({url:E.Endpoints.APPLICATION_RPC(r),oldFormErrors:!0}).then((function(e){var r=e.body;if(t.application.id!==r.id)throw new h.default(E.RPCErrors.INVALID_CLIENTID,"Application does not match the connection's");var a=n.scopes||n.scope;return delete n.scopes,C(O({},n,{scope:a}))}),(function(){throw new h.default(E.RPCErrors.INVALID_CLIENTID,"Invalid client id: "+r)})).then((function(e){if(t.authorization.authing=!1,null==e)throw new h.default(E.RPCErrors.UNKNOWN_ERROR,"Unknown error occurred");var n=o.default.parse(e.split("?")[1].split("#")[0]);if(null!=n.error)throw new h.default(E.RPCErrors.OAUTH2_ERROR,"OAuth2 Error: "+n.error+": "+(n.error_description||"unknown error"));return{code:n.code}})).catch((function(e){throw t.authorization.authing=!1,e}))}},r);t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i=n(34),l=n(11033),u=(r=n(689))&&r.__esModule?r:{default:r},s=n(1);var d=((o={})[s.RPCCommands.SET_CERTIFIED_DEVICES]={scope:(a={},a[s.RPC_SCOPE_CONFIG.ANY]=[s.OAuth2Scopes.RPC,s.RPC_LOCAL_SCOPE],a),validation:function(e){return e.object().required().keys({devices:e.array().items(e.object().keys({type:e.string().required().valid([i.DeviceTypes.AUDIO_INPUT,i.DeviceTypes.AUDIO_OUTPUT,i.DeviceTypes.VIDEO_INPUT]),id:e.string().required().min(1),vendor:e.object().required().keys({name:e.string().min(1),url:e.string().min(1)}),model:e.object().required().keys({name:e.string().min(1),url:e.string().min(1)}),related:e.array().items(e.string().min(1)),echo_cancellation:e.boolean(),noise_suppression:e.boolean(),automatic_gain_control:e.boolean(),hardware_mute:e.boolean()}))})},handler:function(e){var t=e.socket,n=e.args.devices;if(null==t.application.id)throw new u.default(s.RPCErrors.INVALID_COMMAND,"No application.");(0,l.setCertifiedDevices)(t.application.id,n.map((function(e){return{type:e.type,id:e.id,vendor:e.vendor,model:e.model,related:e.related.filter((function(e){return n.some((function(t){return t.id===e}))})),echoCancellation:e.echo_cancellation,noiseSuppression:e.noise_suppression,automaticGainControl:e.automatic_gain_control,hardwareMute:e.hardware_mute}})))}},o);t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setCertifiedDevices=function(e,t){a.default.dispatch({type:o.ActionTypes.CERTIFIED_DEVICES_SET,applicationId:e,devices:t})};var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=E(n(8)),i=E(n(1211)),l=E(n(132)),u=n(42),s=n(31),d=E(n(10)),f=E(n(15)),c=E(n(40)),p=E(n(36)),v=E(n(80)),y=n(292),m=E(n(689)),_=n(8452),h=n(1);function E(e){return e&&e.__esModule?e:{default:e}}var g=((a={})[h.RPCCommands.GET_CHANNEL]={scope:h.OAuth2Scopes.RPC,handler:function(e){var t=e.args.channel_id,n=e.socket,r=d.default.getChannel(t);if(!r)throw new m.default(h.RPCErrors.INVALID_CHANNEL,"Invalid channel id: "+t);return(0,_.transformChannel)(r,(0,_.hasMessageReadPermission)(r,n.application.id,n.authorization.scopes))}},a[h.RPCCommands.GET_CHANNELS]={scope:h.OAuth2Scopes.RPC,handler:function(e){var t=e.args.guild_id,n=o.default.values(d.default.getMutableGuildAndPrivateChannels());if(t){var r=f.default.getGuild(t);if(!r)throw new m.default(h.RPCErrors.INVALID_GUILD,"Invalid guild id: "+t);n=n.filter((function(e){return e.guild_id===r.id}))}return{channels:n.filter((function(e){return c.default.can(h.Permissions.VIEW_CHANNEL,e)})).map((function(e){return{id:e.id,name:e.name,type:e.type}}))}}},a[h.RPCCommands.SELECT_VOICE_CHANNEL]={scope:h.OAuth2Scopes.RPC,validation:function(e){return e.object().required().keys({channel_id:e.string().allow(null),timeout:e.number().min(0).max(60),force:e.boolean()})},handler:function(e){var t=e.server,n=e.socket,r=e.args,a=r.channel_id,o=r.timeout,i=void 0===o?0:o,u=r.force,E=void 0!==u&&u;if(!a)return l.default.selectVoiceChannel(null),null;var g=p.default.getVoiceChannelId();if(g&&g!==a&&!1===E)throw new m.default(h.RPCErrors.SELECT_VOICE_FORCE_REQUIRED,"User is already joined to a voice channel.");return t.storeWait(n,(function(){return d.default.getChannel(a)}),i).catch((function(){throw new m.default(h.RPCErrors.SELECT_CHANNEL_TIMED_OUT,"Request to select voice channel timed out.")})).then((function(e){if(!e)throw new m.default(h.RPCErrors.INVALID_CHANNEL,"Invalid channel id: "+a);if(!(0,s.isVoiceChannel)(e.type))throw new m.default(h.RPCErrors.INVALID_CHANNEL,"Channel is not a voice channel");return Promise.all([Promise.resolve(e),(0,_.transformChannel)(e,(0,_.hasMessageReadPermission)(e,n.application.id,n.authorization.scopes))])})).then((function(e){var t=e[0],n=e[1];if(n.guild_id){if((0,y.isChannelFull)(t,v.default,f.default))throw new m.default(h.RPCErrors.INVALID_CHANNEL,"Channel is full");if(!c.default.can(h.Permissions.CONNECT,t))throw new m.default(h.RPCErrors.INVALID_PERMISSIONS,"Connect permission required to join channel")}return l.default.selectVoiceChannel(t.id),n}))}},a[h.RPCCommands.GET_SELECTED_VOICE_CHANNEL]={scope:(r={},r[h.RPC_SCOPE_CONFIG.ANY]=[h.OAuth2Scopes.RPC,h.OAuth2Scopes.RPC_VOICE_READ],r),handler:function(e){var t=e.socket,n=p.default.getVoiceChannelId(),r=null!=n?d.default.getChannel(n):null;return null!=r?(0,_.transformChannel)(r,(0,_.hasMessageReadPermission)(r,t.application.id,t.authorization.scopes)):null}},a[h.RPCCommands.SELECT_TEXT_CHANNEL]={scope:h.OAuth2Scopes.RPC,validation:function(e){return e.object().required().keys({channel_id:e.string().allow(null),timeout:e.number().min(0).max(60)})},handler:function(e){var t=e.server,n=e.socket,r=e.args,a=r.channel_id,o=r.timeout,i=void 0===o?0:o;return a?t.storeWait(n,(function(){return d.default.getChannel(a)}),i).catch((function(){throw new m.default(h.RPCErrors.SELECT_CHANNEL_TIMED_OUT,"Request to select text channel timed out.")})).then((function(e){if(!e)throw new m.default(h.RPCErrors.INVALID_CHANNEL,"Invalid channel id: "+a);if(!(0,s.isTextChannel)(e.type))throw new m.default(h.RPCErrors.INVALID_CHANNEL,"Channel is not a text channel");return Promise.all([Promise.resolve(e),(0,_.transformChannel)(e,(0,_.hasMessageReadPermission)(e,n.application.id,n.authorization.scopes))])})).then((function(e){var t=e[0],n=e[1];if(n.guild_id&&!c.default.can(h.Permissions.VIEW_CHANNEL,t))throw new m.default(h.RPCErrors.INVALID_CHANNEL,"No permission to see channel");return n.guild_id?(0,u.replaceWith)(h.Routes.CHANNEL(n.guild_id,t.id)):l.default.selectPrivateChannel(t.id),n})):((0,u.transitionTo)(h.Routes.ME),null)}},a[h.RPCCommands.CREATE_CHANNEL_INVITE]={scope:h.OAuth2Scopes.RPC,handler:function(e){var t=e.args,n=t.channel_id,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(t,["channel_id"]);return i.default.createInvite(n,r,"RPC").catch((function(){throw new m.default(h.RPCErrors.INVALID_PERMISSIONS,"Unable to generate an invite for "+n+". Does this user have permissions?")}))}},a);t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=l(n(2)),o=l(n(689)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}var u=((r={})[i.RPCCommands.SET_CONFIG]={validation:function(e){return e.object().required().keys({use_interactive_pip:e.boolean()})},handler:function(e){var t=e.socket,n=e.args.use_interactive_pip;if(t.transport!==i.TransportTypes.POST_MESSAGE)throw new o.default(i.RPCErrors.INVALID_COMMAND,'command not available from "'+t.transport+" transport");if(null==t.application.id)throw new o.default(i.RPCErrors.INVALID_COMMAND,"invalid application");return a.default.dispatch({type:i.ActionTypes.EMBEDDED_ACTIVITY_SET_CONFIG,applicationId:t.application.id,config:{useInteractivePIP:n}}),Promise.resolve({use_interactive_pip:n})}},r);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=u(n(8)),o=u(n(15)),i=u(n(689)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}var s=((r={})[l.RPCCommands.GET_GUILD]={scope:l.OAuth2Scopes.RPC,validation:function(e){return e.object().required().keys({guild_id:e.string(),timeout:e.number().min(0).max(60)})},handler:function(e){var t=e.socket,n=e.server,r=e.args,a=r.guild_id,u=r.timeout,s=void 0===u?0:u;return n.storeWait(t,(function(){return o.default.getGuild(a)}),s).catch((function(){throw new i.default(l.RPCErrors.GET_GUILD_TIMED_OUT,"Request to get guild timed out.")})).then((function(e){if(!e)throw new i.default(l.RPCErrors.INVALID_GUILD,"Invalid guild id: "+a);return{id:e.id,name:e.name,icon_url:e.getIconURL()||null,members:[],vanity_url_code:e.vanityURLCode}}))}},r[l.RPCCommands.GET_GUILDS]={scope:l.OAuth2Scopes.RPC,handler:function(){var e=o.default.getGuilds();return{guilds:a.default.map(e,(function(e){return{id:e.id,name:e.name,icon_url:e.getIconURL()}}))}}},r);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=u(n(12)),o=u(n(150)),i=u(n(689)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}var s=((r={})[l.RPCCommands.GET_IMAGE]={scope:l.RPC_LOCAL_SCOPE,validation:function(e){return e.object().required().keys({type:e.string().required().valid(["user"]),id:e.string().required(),format:e.string().required().valid(["png","webp","jpg"]),size:e.number().required().valid([16,32,64,128,256,512,1024])})},handler:function(e){var t,n=e.args,r=n.type,u=n.id,s=n.format,d=void 0===s?"png":s,f=n.size,c=void 0===f?128:f;switch(r){case"user":var p=a.default.getUser(u);if(null==p)throw new i.default(l.RPCErrors.INVALID_USER,"Invalid user id: "+u);t=o.default.getUserAvatarURL(p,d,c);var v=window.GLOBAL_ENV.CDN_HOST;null!=v&&-1!==t.indexOf(v)&&(t+="&_=")}if(null==t)throw new i.default(l.RPCErrors.INVALID_COMMAND,"No valid type.");return fetch(t).then((function(e){return e.blob()})).then((function(e){return new Promise((function(t,n){var r=new FileReader;r.onload=function(e){return t(e.target.result)},r.onerror=function(e){return n(e.target.error)},r.readAsDataURL(e)}))})).then((function(e){return{data_url:e}}))}},r);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(11039);n(9730);var a,o,i,l,u,s,d,f,c,p=n(1269),v=(a=n(689))&&a.__esModule?a:{default:a},y=n(1);function m(e){if(e instanceof p.LobbyError)switch(e.code){case y.LobbyErrors.FULL:throw new v.default(y.RPCErrors.LOBBY_FULL,"Lobby is full.");case y.LobbyErrors.INVALID_SECRET:throw new v.default(y.RPCErrors.INVALID_LOBBY_SECRET,"Lobby secret is invalid.");case y.LobbyErrors.NOT_FOUND:throw new v.default(y.RPCErrors.INVALID_LOBBY,"Lobby does not exist.");case y.LobbyErrors.SERVICE_UNAVAILABLE:throw new v.default(y.RPCErrors.SERVICE_UNAVAILABLE,"Lobby service is unavailable.");case y.LobbyErrors.ALREADY_CONNECTING:throw new v.default(y.RPCErrors.INVALID_COMMAND,"Already connecting to lobby.");default:throw new v.default(y.RPCErrors.UNKNOWN_ERROR,"Unknown error has occured.")}throw e}var _=((c={})[y.RPCCommands.CREATE_LOBBY]={scope:(o={},o[y.RPC_SCOPE_CONFIG.ANY]=[y.RPC_AUTHENTICATED_SCOPE,y.RPC_LOCAL_SCOPE],o),validation:function(e){return e.object().required().keys({type:e.number().valid(Object.values(y.LobbyTypes)),capacity:e.number(),locked:e.boolean(),metadata:e.object()})},handler:function(e){var t=e.socket,n=e.args,a=n.type,o=n.capacity,i=n.locked,l=n.metadata;if(null==t.application.id)throw new v.default(y.RPCErrors.INVALID_COMMAND,"No application.");return(0,r.createLobby)(t.id,t.application.id,{type:a,capacity:o,locked:i,metadata:l}).catch(m)}},c[y.RPCCommands.UPDATE_LOBBY]={scope:(i={},i[y.RPC_SCOPE_CONFIG.ANY]=[y.RPC_AUTHENTICATED_SCOPE,y.RPC_LOCAL_SCOPE],i),validation:function(e){return e.object().required().keys({id:e.string().required(),type:e.number().valid(Object.values(y.LobbyTypes)),owner_id:e.string(),capacity:e.number(),locked:e.boolean(),metadata:e.object()})},handler:function(e){var t=e.args,n=t.id,a=t.type,o=t.owner_id,i=t.capacity,l=t.locked,u=t.metadata;return(0,r.updateLobby)(n,{type:a,owner_id:o,capacity:i,locked:l,metadata:u}).catch(m)}},c[y.RPCCommands.DELETE_LOBBY]={scope:(l={},l[y.RPC_SCOPE_CONFIG.ANY]=[y.RPC_AUTHENTICATED_SCOPE,y.RPC_LOCAL_SCOPE],l),validation:function(e){return e.object().required().keys({id:e.string().required()})},handler:function(e){var t=e.args.id;return(0,r.deleteLobby)(t).catch(m)}},c[y.RPCCommands.UPDATE_LOBBY_MEMBER]={scope:(u={},u[y.RPC_SCOPE_CONFIG.ANY]=[y.RPC_AUTHENTICATED_SCOPE,y.RPC_LOCAL_SCOPE],u),validation:function(e){return e.object().required().keys({lobby_id:e.string().required(),user_id:e.string().required(),metadata:e.object()})},handler:function(e){var t=e.args,n=t.lobby_id,a=t.user_id,o=t.metadata;return(0,r.updateLobbyMember)(n,a,{metadata:o}).catch(m)}},c[y.RPCCommands.CONNECT_TO_LOBBY]={scope:(s={},s[y.RPC_SCOPE_CONFIG.ANY]=[y.RPC_AUTHENTICATED_SCOPE,y.RPC_LOCAL_SCOPE],s),validation:function(e){return e.object().required().keys({id:e.string().required(),secret:e.string().required()})},handler:function(e){var t=e.socket,n=e.args,a=n.id,o=n.secret;return(0,r.connect)(t.id,a,o).catch(m)}},c[y.RPCCommands.DISCONNECT_FROM_LOBBY]={scope:(d={},d[y.RPC_SCOPE_CONFIG.ANY]=[y.RPC_AUTHENTICATED_SCOPE,y.RPC_LOCAL_SCOPE],d),validation:function(e){return e.object().required().keys({id:e.string().required()})},handler:function(e){var t=e.args.id;(0,r.disconnect)(t)}},c[y.RPCCommands.SEND_TO_LOBBY]={scope:(f={},f[y.RPC_SCOPE_CONFIG.ANY]=[y.RPC_AUTHENTICATED_SCOPE,y.RPC_LOCAL_SCOPE],f),validation:function(e){return e.object().required().keys({lobby_id:e.string().required(),data:e.string().required()})},handler:function(e){var t=e.args,n=t.lobby_id,a=t.data;return(0,r.send)(n,a).catch(m)}},c[y.RPCCommands.SEARCH_LOBBIES]={scope:y.RPC_LOCAL_SCOPE,validation:function(e){return e.object().required().keys({filter:e.array().items(e.object().keys({key:e.string().required(),comparison:e.number().required(),cast:e.number().required(),value:e.string().required()})),sort:e.array().items(e.object().keys({key:e.string().required(),cast:e.number().required(),near_value:e.string()})),limit:e.number(),distance:e.number()})},handler:function(e){var t=e.socket,n=e.args,a=n.filter,o=n.sort,i=n.limit,l=n.distance;return(0,r.search)({application_id:t.application.id,filter:a,sort:o,limit:i,distance:l}).catch(m)}},c[y.RPCCommands.CONNECT_TO_LOBBY_VOICE]={scope:y.RPC_LOCAL_SCOPE,validation:function(e){return e.object().required().keys({id:e.string().required()})},handler:function(e){var t=e.args.id;(0,r.voiceConnect)(t)}},c[y.RPCCommands.DISCONNECT_FROM_LOBBY_VOICE]={scope:y.RPC_LOCAL_SCOPE,validation:function(e){return e.object().required().keys({id:e.string().required()})},handler:function(e){var t=e.args.id;(0,r.voiceDisconnect)(t)}},c);t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connect=u,t.disconnect=function(e){a.default.dispatch({type:o.ActionTypes.LOBBY_DISCONNECT,lobbyId:e})},t.createLobby=function(e,t,n){return r.default.post({url:o.Endpoints.LOBBIES,body:l({application_id:t},n),retries:1,oldFormErrors:!0}).then((function(t){var n=t.body;return u(e,n.id,n.secret)}))},t.updateLobby=function(e,t){return r.default.patch({url:o.Endpoints.LOBBY(e),body:l({},t),retries:1,oldFormErrors:!0}).then(o.NOOP)},t.updateLobbyMember=function(e,t,n){return r.default.patch({url:o.Endpoints.LOBBY_MEMBER(e,t),body:l({},n),retries:1,oldFormErrors:!0}).then(o.NOOP)},t.deleteLobby=function(e){return r.default.delete({url:o.Endpoints.LOBBY(e),body:{},retries:1,oldFormErrors:!0}).then(o.NOOP)},t.send=function(e,t){return r.default.post({url:o.Endpoints.LOBBY_SEND(e),body:{data:t},oldFormErrors:!0}).then(o.NOOP)},t.search=function(e){return r.default.post({url:o.Endpoints.LOBBY_SEARCH,body:e,oldFormErrors:!0}).then((function(e){return e.body}))},t.voiceConnect=function(e){a.default.dispatch({type:o.ActionTypes.LOBBY_VOICE_CONNECT,lobbyId:e})},t.voiceDisconnect=function(e){a.default.dispatch({type:o.ActionTypes.LOBBY_VOICE_DISCONNECT,lobbyId:e})};var r=i(n(14)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||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}).apply(this,arguments)}function u(e,t,n){return new Promise((function(r,i){a.default.dispatch({type:o.ActionTypes.LOBBY_CONNECT,socketId:e,lobbyId:t,lobbySecret:n,resolve:r,reject:i})}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=l(n(14)),o=l(n(13)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}var u=((r={})[i.RPCCommands.GET_NETWORKING_CONFIG]={scope:i.RPC_LOCAL_SCOPE,handler:function(){return Promise.all([a.default.get({url:location.protocol+window.GLOBAL_ENV.NETWORKING_ENDPOINT,retries:3}).then((function(e){return e.body.address})),a.default.post({url:i.Endpoints.NETWORKING_TOKEN,retries:3,oldFormErrors:!0}).then((function(e){return e.body.token}))]).then((function(e){return{address:e[0],token:e[1]}}))}},r[i.RPCCommands.NETWORKING_SYSTEM_METRICS]={scope:i.RPC_LOCAL_SCOPE,handler:function(e){var t=e.socket,n=e.args;n.application_id=t.application.id,o.default.track(i.AnalyticEvents.NETWORKING_SYSTEM_METRICS,n)}},r[i.RPCCommands.NETWORKING_PEER_METRICS]={scope:i.RPC_LOCAL_SCOPE,handler:function(e){var t=e.socket,n=e.args;n.application_id=t.application.id,o.default.track(i.AnalyticEvents.NETWORKING_PEER_METRICS,n)}},r[i.RPCCommands.NETWORKING_CREATE_TOKEN]={scope:i.RPC_LOCAL_SCOPE,handler:function(){return a.default.post({url:i.Endpoints.NETWORKING_TOKEN,retries:1,oldFormErrors:!0}).then((function(e){return e.body}))}},r);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=m(n(2)),o=n(8787),i=m(n(1211)),l=m(n(695)),u=m(n(9163)),s=m(n(1365)),d=m(n(1255)),f=m(n(479)),c=n(41),p=m(n(689)),v=n(8452),y=n(1);function m(e){return e&&e.__esModule?e:{default:e}}function _(){return(_=Object.assign||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}).apply(this,arguments)}var h=((r={})[y.RPCCommands.SET_OVERLAY_LOCKED]={scope:y.RPC_LOCAL_SCOPE,validation:function(e){return e.object().required().keys({locked:e.boolean().required(),pid:e.number().min(0).required()})},handler:function(e){var t=e.args,n=t.locked,r=t.pid;if(null==e.socket.application.id)throw new p.default(y.RPCErrors.INVALID_COMMAND,"No application.");l.default.setLocked(n,r)}},r[y.RPCCommands.OPEN_OVERLAY_ACTIVITY_INVITE]={scope:y.RPC_LOCAL_SCOPE,validation:function(e){return e.object().required().keys({type:e.number().required().valid([y.ActivityActionTypes.JOIN]),pid:e.number().min(0).required()})},handler:function(e){var t=e.socket,n=e.args,r=n.type,a=n.pid,i=t.application.id;if(null==i)throw new p.default(y.RPCErrors.INVALID_COMMAND,"No application.");var l=d.default.getApplicationActivity(i);if(null==l||null==l.secrets||!(0,v.validateActivityInvite)(r,l.party,l.secrets))throw new p.default(y.RPCErrors.NO_ELIGIBLE_ACTIVITY,"No eligible activity for application. Ensure an activity includes a party and appropriate secret.");var u=(0,v.unlockOverlay)(a).lock,c=(0,s.default)(l,f.default);return(0,o.openModal)(l,c).then((function(){if(u(),c)throw new p.default(y.RPCErrors.NO_ELIGIBLE_ACTIVITY,"No eligible activity for application. Ensure user does have have privacy enabled.")}))}},r[y.RPCCommands.OPEN_OVERLAY_GUILD_INVITE]={scope:y.RPC_LOCAL_SCOPE,validation:function(e){return e.object().required().keys({code:e.string().required(),pid:e.number().min(0).required()})},handler:function(e){var t=e.args,n=t.code,r=t.pid;if(null==e.socket.application.id)throw new p.default(y.RPCErrors.INVALID_COMMAND,"No application.");return i.default.resolveInvite(n,"Game SDK").then((function(e){var t=e.invite,n=e.code;if(null==t)throw new p.default(y.RPCErrors.INVALID_INVITE,"Invalid invite id: "+n);var o=(0,v.unlockOverlay)(r),i=o.context,l=o.lock;return new Promise((function(e){a.default.dispatch({type:y.ActionTypes.INVITE_MODAL_OPEN,invite:t,code:n,context:i,resolve:e})})).then(l)}))}},r[y.RPCCommands.OPEN_OVERLAY_VOICE_SETTINGS]={scope:y.RPC_LOCAL_SCOPE,validation:function(e){return e.object().required().keys({pid:e.number().min(0).required()})},handler:function(e){var t=e.args.pid,n=e.socket,r=n.application.id;if(null==r)throw new p.default(y.RPCErrors.INVALID_COMMAND,"No application.");var a=(0,v.unlockOverlay)(t).lock;return new Promise((function(e){(0,c.openModal)((function(t){return React.createElement(u.default,_({},t,{mediaEngineContext:r,title:n.application.name,onClose:function(){t.onClose(),a(),e()}}))}))}))}},r);t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(305),i=C(n(2)),l=n(5692),u=n(1152),s=C(n(739)),d=C(n(5960)),f=C(n(1211)),c=C(n(8834)),p=C(n(8969)),v=C(n(8743)),y=C(n(1381)),m=n(42),_=C(n(15)),h=C(n(12)),E=n(41),g=C(n(13)),S=C(n(186)),O=C(n(43)),I=C(n(689)),T=n(1);function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(){return(M=Object.assign||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}).apply(this,arguments)}function N(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function A(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){N(o,r,a,i,l,"next",e)}function l(e){N(o,r,a,i,l,"throw",e)}i(void 0)}))}}function P(e,t){null!=e&&g.default.track(T.AnalyticEvents.EXTERNAL_DYNAMIC_LINK_RECEIVED,{invite_code:null,has_auth_token:null,is_backgrounded:null,fingerprint:(0,o.extractId)(e),link_type:t})}var R=((r={})[T.RPCCommands.INVITE_BROWSER]={scope:T.RPC_PRIVATE_SCOPE,handler:function(e){return A(regeneratorRuntime.mark((function t(){var n,r,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.args.code,t.next=3,f.default.resolveInvite(n,"Desktop Modal");case 3:if(r=t.sent,null!=(a=r.invite)){t.next=7;break}throw new I.default(T.RPCErrors.INVALID_INVITE,"Invalid invite id: "+n);case 7:return i.default.dispatch({type:T.ActionTypes.INVITE_MODAL_OPEN,invite:a,code:n,context:T.AppContext.APP}),t.abrupt("return",{invite:a,code:n});case 9:case"end":return t.stop()}}),t)})))()}},r[T.RPCCommands.GUILD_TEMPLATE_BROWSER]={scope:T.RPC_PRIVATE_SCOPE,handler:function(e){return A(regeneratorRuntime.mark((function t(){var n,r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.args.code,null!=h.default.getNullableCurrentUser()){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,p.default.resolveGuildTemplate(n);case 5:if(r=t.sent,null!=(o=r.guildTemplate)){t.next=9;break}throw new I.default(T.RPCErrors.INVALID_GUILD_TEMPLATE,"Invalid guild template id: "+n);case 9:return O.default.focus(),(0,E.openModal)((function(e){return a.createElement(v.default,M({},e,{guildTemplate:o}))})),t.abrupt("return",{guildTemplate:o,code:n});case 12:case"end":return t.stop()}}),t)})))()}},r[T.RPCCommands.GIFT_CODE_BROWSER]={scope:T.RPC_PRIVATE_SCOPE,handler:function(e){var t=e.args.code;return new Promise((function(e,n){i.default.wait((function(){d.default.resolveGiftCode(t,!0,!0).then((function(n){var r=n.giftCode;O.default.focus(),g.default.track(T.AnalyticEvents.OPEN_MODAL,{type:"gift_accept",location:T.DIRECT_ANALYTICS_LOCATION}),(0,E.openModal)((function(e){return a.createElement(c.default,M({code:t},e))})),e({giftCode:r})})).catch((function(){return n(new I.default(T.RPCErrors.INVALID_GIFT_CODE,"Invalid gift code: "+t))}))}))}))}},r[T.RPCCommands.GUILD_STAGES_BROWSER]={scope:T.RPC_PRIVATE_SCOPE,handler:function(e){return A(regeneratorRuntime.mark((function t(){var n,r,o,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.args.code,null!=h.default.getNullableCurrentUser()){t.next=3;break}return t.abrupt("return");case 3:return r=n.split("/"),o=r[0],i=r[1],null!=_.default.getGuild(o)?(0,m.transitionTo)(T.Routes.UPCOMING_STAGES(o,""!==i?i:void 0)):(0,E.openModal)((function(e){return a.createElement(y.default,e)})),t.abrupt("return",{code:n});case 6:case"end":return t.stop()}}),t)})))()}},r[T.RPCCommands.DEEP_LINK]={scope:T.RPC_PRIVATE_SCOPE,handler:function(e){var t=e.args,n=t.type,r=t.params;switch(O.default.focus(),n){case T.RPCDeepLinks.USER_SETTINGS:null!=r&&((0,m.replaceWith)(T.Routes.SETTINGS(r.section,r.subsection)),P(r.fingerprint,T.DynamicLinkType.SETTINGS));break;case T.RPCDeepLinks.CHANGELOG:null!=r&&((0,m.replaceWith)(S.default.formatPathWithQuery(T.Routes.CHANGELOGS(r.date),r.query)),P(r.fingerprint,T.DynamicLinkType.CHANGELOG));break;case T.RPCDeepLinks.LIBRARY:(0,m.replaceWith)(T.Routes.APPLICATION_LIBRARY),null!=r&&P(r.fingerprint,T.DynamicLinkType.LIBRARY);break;case T.RPCDeepLinks.STORE_HOME:(0,m.replaceWith)(T.Routes.APPLICATION_STORE),null!=r&&P(r.fingerprint,T.DynamicLinkType.STORE);break;case T.RPCDeepLinks.STORE_LISTING:null!=r&&((0,m.replaceWith)(T.Routes.APPLICATION_STORE_LISTING_SKU(r.skuId,r.slug)),P(r.fingerprint,T.DynamicLinkType.STORE))}}},r[T.RPCCommands.BROWSER_HANDOFF]={scope:T.RPC_PRIVATE_LIMITED_SCOPE,handler:function(e){var t=e.args,n=t.handoffToken,r=t.fingerprint;O.default.focus(null,!0),(0,u.handoffEnd)(n,r)}},r[T.RPCCommands.CONNECTIONS_CALLBACK]={scope:T.RPC_PRIVATE_SCOPE,handler:function(e){var t=e.args,n=t.providerType,r=t.code,a=t.openid_params,o=t.state;return s.default.callback(n,{code:r,openid_params:a,state:o})}},r[T.RPCCommands.BRAINTREE_POPUP_BRIDGE_CALLBACK]={scope:T.RPC_PRIVATE_SCOPE,handler:function(e){var t=e.args,n=t.state,r=t.path,a=t.query;return(0,l.popupBridgeCallback)({state:n,path:r,query:a})}},r);t.default=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=d(n(8)),o=d(n(70)),i=d(n(8415)),l=d(n(12)),u=n(8452),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(){return(f=Object.assign||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}).apply(this,arguments)}var c=((r={})[s.RPCCommands.GET_RELATIONSHIPS]={scope:s.RPC_LOCAL_SCOPE,handler:function(){var e=f({},o.default.getRelationships());return i.default.getUserAffinitiesUserIds().forEach((function(t){null==e[t]&&null!=l.default.getUser(t)&&(e[t]=s.RelationshipTypes.IMPLICIT)})),{relationships:a.default.map(e,(function(e,t){return(0,u.transformRelationship)(e,t)}))}}},r);t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i,l,u=E(n(5829)),s=E(n(5672)),d=E(n(8344)),f=n(8837),c=_(n(8734)),p=_(n(1167)),v=_(n(689)),y=n(8452),m=n(1);function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function g(e){if(null==e)return{lock:m.NOOP_NULL,context:m.AppContext.APP};var t=(0,y.unlockOverlay)(e);return{lock:t.lock,context:t.context}}function S(e,t){var n={planId:m.SubscriptionPlans.PREMIUM_MONTH_TIER_2,analyticsLocation:t};switch(e){case m.AppContext.APP:return c.default.openPremiumPaymentModalInApp(n);case m.AppContext.OVERLAY:return c.default.openPremiumPaymentModalInOverlay(n);default:throw new Error("Unexpected app context: "+e)}}function O(e){if(m.TransportTypes.IPC!==e&&m.TransportTypes.POST_MESSAGE!==e)throw new v.default(m.RPCErrors.INVALID_COMMAND,"Invalid transport.")}var I=((l={})[m.RPCCommands.START_PURCHASE]=((r={})[m.RPC_SCOPE_CONFIG.ANY]=[m.RPC_AUTHENTICATED_SCOPE,m.RPC_LOCAL_SCOPE],r.validation=function(e){return e.object().required().keys({sku_id:e.string().required(),pid:e.number().min(0)})},r.handler=function(e){var t=e.socket,n=e.args,r=n.sku_id,a=n.pid;O(t.transport);var o=t.application.id;if(null==o)throw new v.default(m.RPCErrors.INVALID_COMMAND,"No application.");var i=g(t.transport!==m.TransportTypes.POST_MESSAGE?a:null),l=i.lock,u=i.context,s={page:m.AnalyticsPages.IN_APP};return(0,f.openIAPPurchaseModal)(o,r,(function(){return S(u,s)}),s,u).then((function(e){return l(),e}),(function(e){if(l(),null!=e)throw new v.default(m.RPCErrors.PURCHASE_ERROR,e);throw new v.default(m.RPCErrors.PURCHASE_CANCELED,"Purchase was canceled by the user.")}))},r),l[m.RPCCommands.GET_SKUS]=((a={})[m.RPC_SCOPE_CONFIG.ANY]=[m.RPC_AUTHENTICATED_SCOPE,m.RPC_LOCAL_SCOPE],a.handler=function(e){var t=e.socket;O(t.transport);var n=t.application.id;if(null==n)throw new v.default(m.RPCErrors.INVALID_COMMAND,"No application.");return p.default.inTestModeForApplication(n)?s.fetchSKUsForApplication(n).then((function(e){return e.filter((function(e){return null!=e.price}))})):d.fetchAllStoreListingsForApplication(n).then((function(e){return(e||[]).map((function(e){return e.sku})).filter((function(e){return null!=e.price}))}))},a),l[m.RPCCommands.START_PREMIUM_PURCHASE]=((o={})[m.RPC_SCOPE_CONFIG.ANY]=[m.RPC_AUTHENTICATED_SCOPE,m.RPC_LOCAL_SCOPE],o.validation=function(e){return e.object().keys({pid:e.number().min(0)})},o.handler=function(e){var t=e.socket,n=e.args.pid;if(O(t.transport),null==t.application.id)throw new v.default(m.RPCErrors.INVALID_COMMAND,"No application.");var r=g(t.transport!==m.TransportTypes.POST_MESSAGE?n:null),a=r.lock;return S(r.context,{page:m.AnalyticsPages.IN_APP}).then((function(){a()}),(function(e){if(a(),null!=e)throw new v.default(m.RPCErrors.PURCHASE_ERROR,e);throw new v.default(m.RPCErrors.PURCHASE_CANCELED,"Purchase was canceled by the user.")}))},o),l[m.RPCCommands.GET_ENTITLEMENTS]=((i={})[m.RPC_SCOPE_CONFIG.ANY]=[m.RPC_AUTHENTICATED_SCOPE,m.RPC_LOCAL_SCOPE],i.handler=function(e){var t=e.socket;O(t.transport);var n=t.application.id;if(null==n)throw new v.default(m.RPCErrors.INVALID_COMMAND,"No application.");return u.fetchUserEntitlementsForApplication(n).then((function(e){return e||[]}))},i),l);t.default=I},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=l(n(689)),o=l(n(1405)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}var u=((r={})[i.RPCCommands.SUBSCRIBE]={handler:function(t){var n=t.server,r=t.socket,l=t.evt,u=t.args;return new Promise((function(t){var s=n.events[l];if(null==s)throw new a.default(i.RPCErrors.INVALID_EVENT,"Invalid event: "+l);if(!(0,o.default)(r.authorization.scopes,s.scope))throw new a.default(i.RPCErrors.INVALID_PERMISSIONS,"Not authenticated or invalid scope");var d=s.handler({args:u,socket:r});e((function(){return n.addSubscription(r,l,u,d)})),t({evt:l})}))}},r[i.RPCCommands.UNSUBSCRIBE]={handler:function(e){var t=e.server,n=e.socket,r=e.evt,o=e.args;if(!t.events[r])throw new a.default(i.RPCErrors.INVALID_EVENT,"Invalid event: "+r);return t.removeSubscription(n,r,o),{evt:r}}},r);t.default=u}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=n(1150),o=u(n(689)),i=u(n(1304)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}var s=((r={})[l.RPCCommands.GET_USER]={scope:l.RPC_LOCAL_SCOPE,validation:function(e){return e.object().required().keys({id:e.string().required()})},handler:function(e){var t=e.args.id;return(0,a.getUser)(t).then(i.default).catch((function(){throw new o.default(l.RPCErrors.INVALID_USER,"Invalid user id: "+t)}))}},r);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=s(n(288)),o=s(n(51)),i=n(401),l=s(n(689)),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(e){var t=e.application.id;if(null==t)throw new l.default(u.RPCErrors.INVALID_COMMAND,"No application.");return t}var f=((r={})[u.RPCCommands.SET_VOICE_SETTINGS_2]={scope:u.RPC_LOCAL_SCOPE,validation:function(e){return e.object().required().keys({input_mode:e.object().keys({type:e.string().valid(Object.keys(u.InputModes)),shortcut:e.string().required()}),self_mute:e.boolean(),self_deaf:e.boolean()})},handler:function(e){var t=e.socket,n=e.args,r=n.input_mode,l=n.self_mute,u=n.self_deaf,s=d(t);null!=r&&a.default.setMode(r.type,{shortcut:(0,i.toCombo)(r.shortcut)},s),null!=l&&l!==o.default.isSelfMute(s)&&a.default.toggleSelfMute(s),null!=u&&u!==o.default.isSelfDeaf(s)&&a.default.toggleSelfDeaf(s)}},r[u.RPCCommands.SET_USER_VOICE_SETTINGS_2]={scope:u.RPC_LOCAL_SCOPE,validation:function(e){return e.object().required().keys({user_id:e.string().required(),volume:e.number().min(0).max(200),mute:e.boolean()})},handler:function(e){var t=e.socket,n=e.args,r=n.user_id,i=n.mute,l=n.volume,u=d(t);null!=i&&i!==o.default.isLocalMute(r,u)&&a.default.toggleLocalMute(r,u),null!=l&&a.default.setLocalVolume(r,l,u)}},r);t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i,l=p(n(288)),u=p(n(51)),s=p(n(12)),d=p(n(689)),f=n(8452),c=n(1);function p(e){return e&&e.__esModule?e:{default:e}}var v=((i={})[c.RPCCommands.SET_USER_VOICE_SETTINGS]={scope:(r={},r[c.RPC_SCOPE_CONFIG.ANY]=[c.OAuth2Scopes.RPC,c.OAuth2Scopes.RPC_VOICE_WRITE],r),validation:function(e){return e.object().required().keys({user_id:e.string().required(),pan:e.object().keys({left:e.number().min(0).max(1).required(),right:e.number().min(0).max(1).required()}),volume:e.number().min(0).max(200),mute:e.boolean()})},handler:function(e){var t=e.args,n=t.user_id,r=t.pan,a=t.volume,o=t.mute,i=s.default.getCurrentUser();if(!s.default.getUser(n)||i.id===n)throw new d.default(c.RPCErrors.INVALID_USER,"Invalid user id: "+n);if(null!=r&&l.default.setLocalPan(n,r.left,r.right),null!=a&&l.default.setLocalVolume(n,a),null!=o){var f=u.default.isLocalMute(n);(f&&!o||!f&&o)&&l.default.toggleLocalMute(n)}return{user_id:n,pan:u.default.getLocalPan(n),volume:u.default.getLocalVolume(n),mute:u.default.isLocalMute(n)}}},i[c.RPCCommands.GET_VOICE_SETTINGS]={scope:(a={},a[c.RPC_SCOPE_CONFIG.ANY]=[c.OAuth2Scopes.RPC,c.OAuth2Scopes.RPC_VOICE_READ],a),handler:function(){return(0,f.getDeprecatedVoiceSettings)()}},i[c.RPCCommands.SET_VOICE_SETTINGS]={scope:(o={},o[c.RPC_SCOPE_CONFIG.ANY]=[c.OAuth2Scopes.RPC,c.OAuth2Scopes.RPC_VOICE_WRITE],o),validation:function(e){return e.object().required().keys({input:e.object().keys({device_id:e.string().valid(Object.keys(u.default.getInputDevices())),volume:e.number().min(0).max(100)}),output:e.object().keys({device_id:e.string().valid(Object.keys(u.default.getOutputDevices())),volume:e.number().min(0).max(200)}),mode:e.object().keys({type:e.string().valid(Object.keys(c.InputModes)),auto_threshold:e.boolean(),threshold:e.number().min(-100).max(0),shortcut:e.array().items(e.object().keys({type:e.number().min(0).max(3).required(),code:e.number().required(),name:e.string()})),delay:e.number().min(0).max(2e3)}),automatic_gain_control:e.boolean(),echo_cancellation:e.boolean(),noise_suppression:e.boolean(),qos:e.boolean(),silence_warning:e.boolean(),deaf:e.boolean(),mute:e.boolean()})},handler:function(e){var t=e.args,n=t.input,r=t.output,a=t.mode,o=t.automatic_gain_control,i=t.echo_cancellation,s=t.noise_suppression,d=t.qos,c=t.silence_warning,p=t.deaf,v=t.mute;if(n&&(null!=n.device_id&&l.default.setInputDevice(n.device_id),null!=n.volume&&l.default.setInputVolume(n.volume)),r&&(null!=r.device_id&&l.default.setOutputDevice(r.device_id),null!=r.volume&&l.default.setOutputVolume(r.volume)),a){var y=u.default.getMode(),m=u.default.getModeOptions();null!=a.type&&(y=a.type),null!=a.auto_threshold&&(m.autoThreshold=a.auto_threshold),null!=a.threshold&&(m.threshold=a.threshold),null!=a.shortcut&&(m.shortcut=a.shortcut.map((function(e){return[e.type,e.code]}))),null!=a.delay&&(m.delay=a.delay),l.default.setMode(y,m)}if(null!=o&&l.default.setAutomaticGainControl(o),null!=i&&l.default.setEchoCancellation(i),null!=s&&l.default.setNoiseSuppression(s),null!=d&&l.default.setQoS(d),null!=c&&l.default.setSilenceWarning(c),null!=p){var _=u.default.isSelfDeaf();(_&&!p||!_&&p)&&l.default.toggleSelfDeaf()}if(null!=v){var h=u.default.isSelfMute();(h&&!v||!h&&v)&&l.default.toggleSelfMute()}return(0,f.getDeprecatedVoiceSettings)()}},i);t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i,l,u,s,d,f,c,p,v,y,m,_,h,E,g,S,O,I,T,C,b,M=H(n(8)),N=H(n(184)),A=H(n(10)),P=H(n(15)),R=H(n(120)),L=H(n(1269)),D=H(n(1287)),w=H(n(94)),j=H(n(12)),k=H(n(80)),U=H(n(689)),G=n(8452),F=H(n(1304)),B=n(1);function H(e){return e&&e.__esModule?e:{default:e}}function x(e){var t,n=e.args.channel_id,r=e.socket,a=A.default.getChannel(n);if(!a||!(0,G.hasMessageReadPermission)(a,r.application.id,r.authorization.scopes))throw new U.default(B.RPCErrors.INVALID_CHANNEL,"Invalid channel id: "+n);if(a.isNSFW()&&!0!==(null===(t=j.default.getNullableCurrentUser())||void 0===t?void 0:t.nsfwAllowed))throw new U.default(B.RPCErrors.INVALID_CHANNEL,"Invalid nsfw channel id: "+a.id)}function V(e){var t=e.args,n=t.lobby_id,r=t.channel_id;if(null!=r&&null==A.default.getChannel(r))throw new U.default(B.RPCErrors.INVALID_CHANNEL,"Invalid channel id: "+r);if(null!=n&&null==L.default.getLobby(n))throw new U.default(B.RPCErrors.INVALID_LOBBY,"Invalid lobby id: "+n)}var W=((b={})[B.RPCEvents.GUILD_STATUS]={scope:B.OAuth2Scopes.RPC,handler:function(e){var t=e.args.guild_id;if(!P.default.getGuild(t))throw new U.default(B.RPCErrors.INVALID_GUILD,"Invalid guild id: "+t);return function(e){var n=e.prevState,r=e.dispatch,a=P.default.getGuild(t);if(a){var o={guild:{id:a.id,name:a.name,icon_url:a.getIconURL()||null},online:0};return M.default.isEqual(n,o)||r(o),o}}}},b[B.RPCEvents.VOICE_STATE_CREATE]={scope:(r={},r[B.RPC_SCOPE_CONFIG.ANY]=[B.OAuth2Scopes.RPC,B.OAuth2Scopes.RPC_VOICE_READ],r),handler:function(e){var t=e.args.channel_id;if(!A.default.getChannel(t))throw new U.default(B.RPCErrors.INVALID_CHANNEL,"Invalid channel id: "+t);return function(e){var n=e.prevState,r=e.dispatch,a=A.default.getChannel(t);if(a){var o=a.getGuildId(),i=Object.values(k.default.getVoiceStatesForChannel(a.id));if(n)M.default.differenceBy(i,n,(function(e){return e.userId})).forEach((function(e){return r((0,G.transformVoiceState)(o,a.id,e))}));return i}}}},b[B.RPCEvents.VOICE_STATE_DELETE]={scope:(a={},a[B.RPC_SCOPE_CONFIG.ANY]=[B.OAuth2Scopes.RPC,B.OAuth2Scopes.RPC_VOICE_READ],a),handler:function(e){var t=e.args.channel_id;if(!A.default.getChannel(t))throw new U.default(B.RPCErrors.INVALID_CHANNEL,"Invalid channel id: "+t);return function(e){var n=e.prevState,r=e.dispatch,a=A.default.getChannel(t);if(a){var o=a.getGuildId(),i=Object.values(k.default.getVoiceStatesForChannel(a.id));return M.default.differenceBy(n,i,(function(e){return e.userId})).forEach((function(e){return r((0,G.transformVoiceState)(o,a.id,e))})),i}}}},b[B.RPCEvents.VOICE_STATE_UPDATE]={scope:(o={},o[B.RPC_SCOPE_CONFIG.ANY]=[B.OAuth2Scopes.RPC,B.OAuth2Scopes.RPC_VOICE_READ],o),handler:function(e){var t=e.args.channel_id;if(!A.default.getChannel(t))throw new U.default(B.RPCErrors.INVALID_CHANNEL,"Invalid channel id: "+t);return function(e){var n=e.prevState,r=e.dispatch,a=A.default.getChannel(t);if(a){var o=a.getGuildId(),i=Object.values(k.default.getVoiceStatesForChannel(a.id)).map((function(e){return(0,G.transformVoiceState)(o,a.id,e)}));return M.default.differenceWith(i,n,M.default.isEqual).forEach((function(e){return r(e)})),i}}}},b[B.RPCEvents.VOICE_SETTINGS_UPDATE]={scope:(i={},i[B.RPC_SCOPE_CONFIG.ANY]=[B.OAuth2Scopes.RPC,B.OAuth2Scopes.RPC_VOICE_READ],i),handler:function(){return function(e){var t=e.prevState,n=e.dispatch,r=(0,G.getDeprecatedVoiceSettings)();return M.default.isEqual(r,t)||n(r),r}}},b[B.RPCEvents.VOICE_SETTINGS_UPDATE_2]={scope:B.RPC_LOCAL_SCOPE,handler:function(e){var t=e.socket;return function(e){var n=e.prevState,r=e.dispatch;if(null==t.application.id)return n;var a=(0,G.getVoiceSettings)(t.application.id);return M.default.isEqual(a,n)||r(a),a}}},b[B.RPCEvents.VOICE_CONNECTION_STATUS]={scope:(l={},l[B.RPC_SCOPE_CONFIG.ANY]=[B.OAuth2Scopes.RPC,B.OAuth2Scopes.RPC_VOICE_READ],l),handler:function(){return function(e){var t=e.prevState,n=e.dispatch,r={state:(0,G.getVoiceConnectionState)(w.default.getState()),hostname:w.default.getHostname(),pings:w.default.getPings(),average_ping:w.default.getAveragePing(),last_ping:w.default.getLastPing()};return M.default.isEqual(r,t)||n(r),r}}},b[B.RPCEvents.MESSAGE_CREATE]={scope:B.OAuth2Scopes.RPC,handler:x},b[B.RPCEvents.MESSAGE_UPDATE]={scope:B.OAuth2Scopes.RPC,handler:x},b[B.RPCEvents.MESSAGE_DELETE]={scope:B.OAuth2Scopes.RPC,handler:x},b[B.RPCEvents.SPEAKING_START]=((u={})[B.RPC_SCOPE_CONFIG.ANY]=[B.OAuth2Scopes.RPC,B.OAuth2Scopes.RPC_VOICE_READ,B.RPC_LOCAL_SCOPE],u.handler=V,u),b[B.RPCEvents.SPEAKING_STOP]=((s={})[B.RPC_SCOPE_CONFIG.ANY]=[B.OAuth2Scopes.RPC,B.OAuth2Scopes.RPC_VOICE_READ,B.RPC_LOCAL_SCOPE],s.handler=V,s),b[B.RPCEvents.GUILD_CREATE]={scope:B.OAuth2Scopes.RPC,handler:function(){}},b[B.RPCEvents.CHANNEL_CREATE]={scope:B.OAuth2Scopes.RPC,handler:function(){}},b[B.RPCEvents.GAME_JOIN]={scope:(d={},d[B.RPC_SCOPE_CONFIG.ANY]=[B.OAuth2Scopes.RPC,B.RPC_LOCAL_SCOPE],d),handler:function(){}},b[B.RPCEvents.GAME_SPECTATE]={scope:(f={},f[B.RPC_SCOPE_CONFIG.ANY]=[B.OAuth2Scopes.RPC,B.RPC_LOCAL_SCOPE],f),handler:function(){}},b[B.RPCEvents.ACTIVITY_JOIN]={scope:(c={},c[B.RPC_SCOPE_CONFIG.ANY]=[B.OAuth2Scopes.RPC,B.RPC_AUTHENTICATED_SCOPE,B.RPC_LOCAL_SCOPE],c),handler:function(){}},b[B.RPCEvents.ACTIVITY_JOIN_REQUEST]={scope:(p={},p[B.RPC_SCOPE_CONFIG.ANY]=[B.OAuth2Scopes.RPC,B.RPC_LOCAL_SCOPE],p),handler:function(){}},b[B.RPCEvents.ACTIVITY_SPECTATE]={scope:(v={},v[B.RPC_SCOPE_CONFIG.ANY]=[B.OAuth2Scopes.RPC,B.RPC_AUTHENTICATED_SCOPE,B.RPC_LOCAL_SCOPE],v),handler:function(){}},b[B.RPCEvents.ACTIVITY_INVITE]={scope:(y={},y[B.RPC_SCOPE_CONFIG.ANY]=[B.OAuth2Scopes.RPC,B.RPC_LOCAL_SCOPE],y),handler:function(){}},b[B.RPCEvents.VOICE_CHANNEL_SELECT]={scope:B.OAuth2Scopes.RPC,handler:function(){}},b[B.RPCEvents.NOTIFICATION_CREATE]={scope:(m={},m[B.RPC_SCOPE_CONFIG.ALL]=[B.OAuth2Scopes.RPC,B.OAuth2Scopes.RPC_NOTIFICATIONS_READ],m),handler:function(){}},b[B.RPCEvents.RELATIONSHIP_UPDATE]={scope:B.RPC_LOCAL_SCOPE,handler:function(){}},b[B.RPCEvents.CURRENT_USER_UPDATE]={scope:(_={},_[B.RPC_SCOPE_CONFIG.ANY]=[B.RPC_LOCAL_SCOPE,B.OAuth2Scopes.IDENTIFY],_),handler:function(){return function(e){var t=e.prevState,n=e.dispatch,r={currentUser:j.default.getNullableCurrentUser()};return null==r.currentUser||null!=t&&(0,N.default)(r,t)||n((0,F.default)(r.currentUser)),r}}},b[B.RPCEvents.LOBBY_UPDATE]={scope:(h={},h[B.RPC_SCOPE_CONFIG.ANY]=[B.RPC_AUTHENTICATED_SCOPE,B.RPC_LOCAL_SCOPE],h),handler:function(){}},b[B.RPCEvents.LOBBY_DELETE]={scope:(E={},E[B.RPC_SCOPE_CONFIG.ANY]=[B.RPC_AUTHENTICATED_SCOPE,B.RPC_LOCAL_SCOPE],E),handler:function(){}},b[B.RPCEvents.LOBBY_MEMBER_CONNECT]={scope:(g={},g[B.RPC_SCOPE_CONFIG.ANY]=[B.RPC_AUTHENTICATED_SCOPE,B.RPC_LOCAL_SCOPE],g),handler:function(){}},b[B.RPCEvents.LOBBY_MEMBER_UPDATE]={scope:(S={},S[B.RPC_SCOPE_CONFIG.ANY]=[B.RPC_AUTHENTICATED_SCOPE,B.RPC_LOCAL_SCOPE],S),handler:function(){}},b[B.RPCEvents.LOBBY_MEMBER_DISCONNECT]={scope:(O={},O[B.RPC_SCOPE_CONFIG.ANY]=[B.RPC_AUTHENTICATED_SCOPE,B.RPC_LOCAL_SCOPE],O),handler:function(){}},b[B.RPCEvents.LOBBY_MESSAGE]={scope:(I={},I[B.RPC_SCOPE_CONFIG.ANY]=[B.RPC_AUTHENTICATED_SCOPE,B.RPC_LOCAL_SCOPE],I),handler:function(){}},b[B.RPCEvents.OVERLAY_UPDATE]={scope:B.RPC_LOCAL_SCOPE,handler:function(e){var t=e.args.pid,n=e.socket;if("number"!=typeof t||t<10)throw new U.default(B.RPCErrors.INVALID_EVENT,"Invalid pid");return function(e){var r=e.prevState,a=e.dispatch,o=D.default.enabled,i=!0,l=n.application.id;if(null!=l){var u=R.default.getActiveLibraryApplication(l);null!=u&&(o=o&&u.isOverlayEnabled()),i=D.default.isInputLocked(t)}var s={enabled:o,locked:i};return M.default.isEqual(s,r)||a(s),s}}},b[B.RPCEvents.ENTITLEMENT_CREATE]={scope:(T={},T[B.RPC_SCOPE_CONFIG.ANY]=[B.RPC_LOCAL_SCOPE,B.RPC_AUTHENTICATED_SCOPE],T),handler:function(){}},b[B.RPCEvents.ENTITLEMENT_DELETE]={scope:(C={},C[B.RPC_SCOPE_CONFIG.ANY]=[B.RPC_LOCAL_SCOPE,B.RPC_AUTHENTICATED_SCOPE],C),handler:function(){}},b[B.RPCEvents.USER_ACHIEVEMENT_UPDATE]={scope:B.RPC_LOCAL_SCOPE,handler:function(){}},b);t.default=W},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=_(n(64)),o=_(n(8)),i=_(n(137)),l=_(n(142)),u=_(n(2)),s=_(n(26)),d=_(n(267)),f=_(n(43)),c=_(n(689)),p=n(8452),v=_(n(9659)),y=_(n(9660)),m=n(1);function _(e){return e&&e.__esModule?e:{default:e}}function h(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,E(e,t)}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(){return(g=Object.assign||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}).apply(this,arguments)}try{r=f.default.requireModule("discord_erlpack")}catch(e){try{r=f.default.requireModule("erlpack")}catch(e){}}var S,O=f.default.requireModule("discord_rpc").RPCWebSocket,I=window.GLOBAL_ENV.MARKETING_ENDPOINT,T=new s.default("RPCServer:WSS"),C=[];function b(e){return"function"==typeof e?e():e}function M(e){void 0===e&&(e=0);var t=e>0?void 0:function(){if(b(S.listening)){var e=S.address().port;T.info("Starting on "+e),u.default.dispatch({type:m.ActionTypes.RPC_SERVER_READY,port:e})}};S.listen(m.RPC_STARTING_PORT+e%m.RPC_PORT_RANGE,"127.0.0.1",t)}function N(t,n,r,a,o){void 0===a&&(a=200),void 0===o&&(o={});var i=b(t.headers).origin?{"Access-Control-Allow-Origin":b(t.headers).origin,"Access-Control-Allow-Credentials":"true","Access-Control-Allow-Methods":"POST, GET, PUT, PATCH, DELETE","Access-Control-Allow-Headers":["Content-Type","Authorization"].join(", ")}:{};r=r?JSON.stringify(r):"",a=200!==a||r.length?a:204,n.setHeader("Content-Length",e.byteLength(r)),n.setHeader("Content-Type","application/json"),n.writeHead(a,g({},o,{},i)),n.end(r)}function A(e,t,n,r,a){void 0===a&&(a=0),N(e,t,{code:a,message:r},n)}var P=function(e){function t(t,n,a){var o;if(o=e.call(this,"ws",n,a)||this,-1===["etf","json"].indexOf(a))throw new c.default(m.RPCCloseCodes.INVALID_ENCODING,"Invalid Encoding: "+a);if("etf"===a&&null==r)throw new c.default(m.RPCCloseCodes.INVALID_ENCODING,"Erlpack cannot be used on this client");return o._socket=t,o}h(t,e);var n=t.prototype;return n.send=function(e){(d.default.isLoggingOverlayEvents||e.cmd!==m.RPCCommands.OVERLAY&&e.evt!==m.RPCEvents.OVERLAY)&&T.info("Socket Emit: "+this.id,(0,v.default)(e)),null!=r&&"etf"===this.encoding?this._socket.send(r.pack(e),{binary:!0}):this._socket.send(JSON.stringify(e))},n.close=function(e,t){this._socket.close(e,t)},t}(y.default),R=function(e){function t(t,n,r,a){var o;if(o=e.call(this,"http",r,a)||this,"json"!==a)throw new c.default(m.RPCCloseCodes.INVALID_ENCODING,"Invalid Encoding: "+a);return o._sendCallback=t,o._closeCallback=n,o}h(t,e);var n=t.prototype;return n.send=function(e){(d.default.isLoggingOverlayEvents||e.cmd!==m.RPCCommands.OVERLAY)&&T.info("Socket Emit: "+this.id,e),this._sendCallback(e)},n.close=function(e,t){this._closeCallback(t,e)},t}(y.default),L=new(function(e){function t(){var t;t=e.call(this)||this;var n=0;(S=O.http.createServer()).on("error",(function(e){T.error("Error: "+e.message),("EADDRINUSE"===e.code||e.message.includes("EADDRINUSE"))&&setTimeout((function(){return M(++n)}),1e3)})),S.on("request",t.handleRequest.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t))),M(n);var r={instanceId:S.instanceId||0,server:S};return new O.ws.Server(r).on("connection",(function(e){return t.handleConnection(e)})),t}h(t,e);var n=t.prototype;return n.handleRequest=function(e,t){var n=this,r=b(e.url).split("?"),a=r[0],o=r[1],u=b(e.method);if("/rpc"!==a||"OPTIONS"!==u){var s="POST"===u;if("/rpc"!==a||"GET"!==u&&!s)A(e,t,404,"Not Found");else{var d=i.default.parse(o),f=s?b(e.headers)["content-type"].split("/")[1]:"json",c=function(){var e=l.default.parse(d.callback),n=e.protocol,r=e.host;n===location.protocol&&r===location.host?t.setHeader("Location",d.callback):t.setHeader("Location",I),t.writeHead(301),t.end()},v=new R(s?N.bind(null,e,t):c,s?A.bind(null,e,t,400):c,+d.v,f);s?(0,p.validateSocketClient)(v,b(e.headers).origin,d.client_id).then((function(){var r="";e.on("data",(function(e){return r+=e})),e.on("error",(function(){return A(e,t,500,"Internal Server Error")})),e.on("end",(function(){return n.handleMessage(v,r)}))})).catch((function(e){var t=e.code,n=e.message;return v.close(t,n)})):(v.authorization.scopes=[m.RPC_PRIVATE_LIMITED_SCOPE],this.handleMessage(v,decodeURIComponent(d.payload)))}}else N(e,t,{body:""})},n.handleConnection=function(e){var t,n=this,r=i.default.parse(b(e.upgradeReq).url.split("?")[1]),a=b(e.upgradeReq).headers.origin||"";try{t=new P(e,+r.v,r.encoding||"json")}catch(t){return void e.close(t.code,t.message)}T.info("Socket Opened: "+t.id),e.on("error",(function(e){return T.error("WS Error: "+e.message)})),e.on("close",(function(e,r){T.info("Socket Closed: "+t.id+", code "+e+", message "+r),o.default.remove(C,(function(e){return e===t})),n.emit("disconnect",t)})),(0,p.validateSocketClient)(t,a,r.client_id).then((function(){C.push(t),e.on("message",(function(e){return n.handleMessage(t,e)})),n.emit("connect",t)})).catch((function(e){var n=e.code,r=e.message;return t.close(n,r)}))},n.handleMessage=function(e,t){var n;try{if(null!=r&&"etf"===e.encoding)n=r.unpack(t);else{if("string"!=typeof t)throw new Error;n=JSON.parse(t)}}catch(t){return void e.close(m.RPCCloseCodes.CLOSE_UNSUPPORTED,"Payload not "+e.encoding)}(d.default.isLoggingOverlayEvents||n.cmd!==m.RPCCommands.OVERLAY)&&T.info("Socket Message: "+e.id,(0,v.default)(n)),this.emit("request",e,n)},t}(a.default));t.default=L}).call(this,n(396).Buffer)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(396),a=c(n(64)),o=c(n(8)),i=c(n(26)),l=c(n(43)),u=n(8452),s=c(n(9659)),d=c(n(9660)),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,v(e,t)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y,m=l.default.requireModule("discord_rpc").RPCIPC,_=new i.default("RPCServer:IPC"),h={HANDSHAKE:0,FRAME:1,CLOSE:2,PING:3,PONG:4};function E(e,t){null!=e.setHandshakeComplete?e.setHandshakeComplete(t):e._didHandshake=t}function g(e){return null!=e.getHandshakeComplete?e.getHandshakeComplete():e._didHandshake}function S(e){return new Promise((function(t,n){"string"==typeof e&&(e=m.net.createConnection(e)),e.pause(),e.on("readable",(function(){try{I(e)}catch(t){e.end(O(h.CLOSE,{code:1003,message:t.message})),e.destroy()}}));var r=function(){try{e.end(),e.destroy()}catch(e){}},a=Promise.race([new Promise((function(t){return e.on("error",(function(){return t()}))})),new Promise((function(t,n){e.on("pong",(function(){return n(new Error("socket responded with pong"))}))})),new Promise((function(e,t){setTimeout((function(){return t(new Error("socket alive timeout"))}),1e3)}))]).then((function(){r()}),(function(e){throw r(),e}));return e.write(O(h.PING,o.default.uniqueId())),a.then(t,n)}))}function O(e,t){t=JSON.stringify(t);var n=r.Buffer.byteLength(t),a=r.Buffer.alloc(8+n);return a.writeInt32LE(e,0),a.writeInt32LE(n,4),a.write(t,8,n),function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}(a)}function I(e){var t=e.read(8);if(t){var n=(t=r.Buffer.from(t)).readInt32LE(0),a=t.readInt32LE(4);if(!Object.values(h).includes(n)||a<0)throw new Error("protocol error");if(!(t=e.read(a)))throw new Error("data size does not match what was received");t=r.Buffer.from(t);var o=JSON.parse(t.toString());switch(n){case h.PING:e.emit("ping",o),e.write(O(h.PONG,o));break;case h.PONG:e.emit("pong",o);break;case h.HANDSHAKE:if(g(e))throw new Error("already did handshake");E(e,!0),e.emit("handshake",o);break;case h.FRAME:if(!g(e))throw new Error("did not handshake");e.emit("request",o);break;case h.CLOSE:e.end(),e.destroy()}I(e)}}var T=function(e){function t(t,n,r){var a;return(a=e.call(this,"ipc",n,r)||this)._socket=t,a}p(t,e);var n=t.prototype;return n.send=function(e){_.info("Socket Emit: "+this.id,(0,s.default)(e)),this._socket.write(O(h.FRAME,e))},n.close=function(e,t){this._socket.end(O(h.CLOSE,{code:e,message:t})),this._socket.destroy()},t}(d.default),C=new(function(e){function t(){var t;return t=e.call(this)||this,(y=m.net.createServer((function(e){return t.handleConnection(e)}))).on("error",(function(e){return _.error("Error: "+e.message)})),m.getAvailableSocket(S).then((function(e){y.listen(e,(function(){("function"==typeof y.listening?y.listening():y.listening)&&_.info("Starting on "+y.address())}))})),t}return p(t,e),t.prototype.handleConnection=function(e){var t=this;E(e,!1),e.pause(),e.on("readable",(function(){try{I(e)}catch(t){e.end(O(h.CLOSE,{code:f.RPCCloseCodes.CLOSE_UNSUPPORTED,message:t.message})),e.destroy()}})),e.once("handshake",(function(n){var r,a=n.client_id,o=+n.v;try{r=new T(e,o,"json")}catch(t){return e.end(O(h.CLOSE,{code:t.code,message:t.message})),void e.destroy()}_.info("Socket Opened: "+r.id),e.on("error",(function(e){return _.error("Socket Error: "+e.message)})),e.on("close",(function(){_.info("Socket Close: "+r.id),t.emit("disconnect",r)})),(0,u.validateSocketClient)(r,null,a).then((function(){e.on("request",(function(e){_.info("Socket Message: "+r.id,(0,s.default)(e)),t.emit("request",r,e)})),t.emit("connect",r)})).catch((function(e){var t=e.code,n=e.message;return r.close(t,n)}))}))},t}(a.default));t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(8480),i=n(1);var l={init:function(){a.default.subscribe(i.ActionTypes.USER_SETTINGS_UPDATE,o.refreshSearchTokens),a.default.subscribe(i.ActionTypes.I18N_LOAD_SUCCESS,o.refreshSearchTokens)}};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),a=l(n(2)),o=l(n(10)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var d={init:function(){a.default.subscribe(i.ActionTypes.CHANNEL_DELETE,(function(e){var t=e.channel;if(null!=t.guild_id){var n=o.default.getAllThreadsForParent(t.id);if(n.length>0){r.default.Store.pauseEmittingChanges();try{for(var l,s=u(n);!(l=s()).done;){var d=l.value;a.default.dispatch({type:i.ActionTypes.THREAD_DELETE,channel:d,guildHashes:void 0})}}finally{r.default.Store.resumeEmittingChanges(),r.default.Store.emitChanges()}}}}))}};t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=m(n(2)),o=m(n(216)),i=m(n(486)),l=n(293),u=m(n(71)),s=m(n(256)),d=m(n(70)),f=m(n(12)),c=n(41),p=m(n(13)),v=m(n(11055)),y=n(1);function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(){return(E=Object.assign||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}).apply(this,arguments)}var g=null;function S(e){var t,n,a,o,m,_,h,S=e.userId,O=e.section,I=e.guildId,T=void 0===I?y.ME:I,C=e.friendToken,b=f.default.getUser(S);if(null!=b){var M,N,A,P=s.default.getPrimaryActivity(S);null!=P&&(M=P.party,N=P.assets,A=null!=P.application_id?u.default.getGame(P.application_id):null);var R=s.default.getStatus(S),L=s.default.isMobileOnline(S),D=R;R===y.StatusTypes.ONLINE&&(D=L?y.AnalyticsUserStatusTypes.ONLINE_MOBILE:y.AnalyticsUserStatusTypes.ONLINE_DESKTOP),g=(0,c.openModal)((function(e){return r.createElement(v.default,E({},e,{user:b,guildId:T,friendToken:C,initialSection:O}))})),p.default.track(y.AnalyticEvents.OPEN_MODAL,{type:"Profile Modal",other_user_id:S,application_id:null!==(t=null==P?void 0:P.application_id)&&void 0!==t?t:null,application_name:null==P?void 0:P.name,sku_id:null!==(n=null===(a=A)||void 0===a?void 0:a.primarySkuId)&&void 0!==n?n:null,is_friend:d.default.isFriend(S),has_images:Boolean(null!=N&&(N.large_image||N.small_image)),party_max:null===(o=M)||void 0===o||null===(m=o.size)||void 0===m?void 0:m[1],party_id:null===(_=M)||void 0===_?void 0:_.id,party_platform:(0,l.isSpotifyParty)(null===(h=M)||void 0===h?void 0:h.id)?y.PlatformTypes.SPOTIFY:null,game_platform:(0,i.default)(P),profile_user_status:D,profile_has_nitro_customization:null!=b.banner})}}function O(){null!=g&&(0,c.closeModal)(g),g=null}var I=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n);var o=r.prototype;return o._initialize=function(){a.default.subscribe(y.ActionTypes.USER_PROFILE_MODAL_OPEN,S)},o._terminate=function(){a.default.subscribe(y.ActionTypes.USER_PROFILE_MODAL_CLOSE,O)},r}(o.default));t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=M;var r,a=T(n(0)),o=O(n(9)),i=n(3),l=O(n(8257)),u=n(8298),s=O(n(707)),d=O(n(163)),f=O(n(11)),c=O(n(256)),p=O(n(12)),v=T(n(8293)),y=n(35),m=O(n(11056)),_=O(n(11077)),h=n(8433),E=n(1),g=O(n(6)),S=O(n(8003));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function b(e){var t=e.user,n=e.isCurrentUser,r=e.section,a=e.setSection,o=e.hasActivity;return C("div",{className:S.default.tabBarContainer},void 0,C(v.default,{selectedItem:r,type:v.Types.TOP,onItemSelect:a,className:S.default.tabBar},void 0,t.bot?null:C(v.Item,{className:S.default.tabBarItem,id:h.UserProfileSections.USER_INFO},void 0,g.default.Messages.USER_INFO),!t.bot&&o?C(v.Item,{className:S.default.tabBarItem,id:h.UserProfileSections.ACTIVITY},void 0,g.default.Messages.USER_PROFILE_ACTIVITY):null,n?null:C(v.Item,{className:S.default.tabBarItem,id:h.UserProfileSections.MUTUAL_GUILDS},void 0,g.default.Messages.MUTUAL_GUILDS),t.bot||n?null:C(v.Item,{className:S.default.tabBarItem,id:h.UserProfileSections.MUTUAL_FRIENDS},void 0,g.default.Messages.MUTUAL_FRIENDS)))}function M(e){var t,n,r=e.user,v=e.guildId,O=e.friendToken,I=e.initialSection,T=void 0===I?h.UserProfileSections.USER_INFO:I,M=e.transitionState,N=e.onClose,A=(0,i.useStateFromStores)([p.default],(function(){return p.default.getUser(r.id)}))||r;(0,u.useSubscribeGuildMembers)(((t={})[v]=[A.id],t));var P=(0,i.useStateFromStores)([d.default],(function(){return null!=d.default.getStreamForUser(A.id)})),R=(0,i.useStateFromStores)([c.default],(function(){return c.default.findActivity(A.id,(function(e){return e.type!==E.ActivityTypes.CUSTOM_STATUS}))})),L=a.useState(A.bot?h.UserProfileSections.MUTUAL_GUILDS:T),D=L[0],w=L[1],j=(0,i.useStateFromStores)([f.default],(function(){return f.default.getId()===A.id})),k=null!=R||P,U=!j||k;return k||D!==h.UserProfileSections.ACTIVITY||w(h.UserProfileSections.USER_INFO),C(l.default,{section:E.AnalyticsSections.PROFILE_MODAL},void 0,C(y.ModalRoot,{transitionState:M,className:S.default.root,"aria-label":g.default.Messages.USER_PROFILE_MODAL},void 0,C("div",{className:S.default.topSection},void 0,C(_.default,{user:A,friendToken:O,onClose:N,isStreaming:(0,s.default)(R)}),U?C(b,{user:A,section:D,setSection:w,hasActivity:k,isCurrentUser:j}):null),C("div",{className:(0,o.default)(S.default.body,(n={},n[S.default.noTabBar]=!U,n))},void 0,C(m.default,{user:A,selectedSection:D,onClose:N}))))}b.displayName="UserProfileTabBar",M.displayName="UserProfileModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.user,n=e.selectedSection,r=e.onClose;switch(n){case u.UserProfileSections.ACTIVITY:return f(a.default,{user:t,onClose:r});case u.UserProfileSections.MUTUAL_GUILDS:return f(l.default,{user:t,onClose:r});case u.UserProfileSections.MUTUAL_FRIENDS:return f(i.default,{user:t});case u.UserProfileSections.USER_INFO:default:return f(o.default,{user:t})}};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(11057)),o=s(n(11058)),i=s(n(11059)),l=s(n(11060)),u=n(8433);function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var r,a=m(n(0)),o=v(n(9)),i=n(3),l=m(n(8556)),u=v(n(163)),s=v(n(256)),d=n(272),f=n(1),c=v(n(7998)),p=v(n(7380));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e){var t=e.user,n=e.onClose,r=(0,i.useStateFromStores)([u.default],(function(){return null!=u.default.getStreamForUser(t.id)})),v=(0,i.useStateFromStores)([s.default],(function(){return s.default.getActivities(t.id)})),y=a.useMemo((function(){return v.filter((function(e){return e.type!==f.ActivityTypes.CUSTOM_STATUS}))}),[v]),m=a.useMemo((function(){return r?y.find((function(e){return e.type===f.ActivityTypes.PLAYING})):null}),[y,r]),h=a.useMemo((function(){return y.filter((function(e){return e!==m}))}),[m,y]);return _(d.ScrollerThin,{className:p.default.listScroller,fade:!0},void 0,r?_(l.default,{type:l.UserActivityTypes.PROFILE,user:t,source:"Profile Modal",className:(0,o.default)(c.default.userProfileActivity,"newProfileActivityStyles"),onOpenConnections:n,activity:m}):null,h.map((function(e){return _(l.default,{type:l.UserActivityTypes.PROFILE,activity:e,user:t,useStoreStream:!1,source:"Profile Modal",className:(0,o.default)(c.default.userProfileActivity,"newProfileActivityStyles"),onOpenConnections:n},e.application_id+"-"+e.session_id+"-"+e.name)})))}h.displayName="UserActivitySection"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=P;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=T(n(9108)),l=T(n(1166)),u=T(n(183)),s=T(n(160)),d=T(n(271)),f=T(n(1175)),c=n(149),p=T(n(8744)),v=T(n(489)),y=T(n(47)),m=n(272),_=T(n(13)),h=T(n(8363)),E=T(n(9113)),g=n(1),S=T(n(6)),O=T(n(7999)),I=T(n(7380));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(e){var t=e.connectedAccounts,n=e.theme;if(null==t||0===t.length)return null;var r=t.filter((function(e){return u.default.isSupported(e.type)})).map((function(e,t){var r,a,o=u.default.get(e.type),i=o.getPlatformUserUrl&&o.getPlatformUserUrl(e);return i&&(r=b(d.default,{href:i,onClick:function(){return t=e.type,void _.default.track(g.AnalyticEvents.CONNECTED_ACCOUNT_VIEWED,{platform_type:t});var t}},void 0,b(p.default,{className:O.default.connectedAccountOpenIcon}))),e.verified&&(a=b(c.TooltipContainer,{element:"span",text:S.default.Messages.CONNECTION_VERIFIED},void 0,b(f.default,{className:O.default.connectedAccountVerifiedIcon,color:n===g.ThemeTypes.LIGHT?g.Colors.STATUS_GREY_200:g.Colors.PRIMARY_DARK},void 0,b(v.default,{color:n===g.ThemeTypes.LIGHT?g.Colors.STATUS_GREY_500:g.Colors.WHITE})))),b("div",{className:O.default.connectedAccount},t,b("img",{alt:S.default.Messages.IMG_ALT_LOGO.format({name:o.name}),className:O.default.connectedAccountIcon,src:o.icon.color}),b("div",{className:O.default.connectedAccountNameInner},void 0,b("div",{className:O.default.connectedAccountName},void 0,e.name),a),r)}));return b("div",{className:O.default.userInfoSection},void 0,b("div",{className:O.default.connectedAccounts},void 0,r))}function N(){return b("div",{className:I.default.empty},void 0,b("div",{className:I.default.emptyIconStreamerMode}),b("div",{className:I.default.emptyText},void 0,S.default.Messages.STREAMER_MODE_ENABLED))}M.displayName="ConnectedUserAccounts",N.displayName="EmptyState";var A=b(N,{});function P(e){var t=e.user,n=(0,o.useStateFromStores)([h.default],(function(){var e,n;return null!==(e=null===(n=h.default.getUserProfile(t.id))||void 0===n?void 0:n.connectedAccounts)&&void 0!==e?e:[]})),r=(0,o.useStateFromStores)([s.default],(function(){return s.default.hidePersonalInformation})),u=(0,l.default)();return r?A:b(m.ScrollerThin,{fade:!0,className:O.default.infoScroller},void 0,b("div",{className:O.default.userInfoSection},void 0,t.bio&&a.createElement(a.Fragment,null,b(y.default,{size:y.default.Sizes.SIZE_12,className:O.default.userInfoSectionHeader,uppercase:!0},void 0,S.default.Messages.USER_PROFILE_ABOUT_ME),b(E.default,{className:O.default.userBio,userBio:t.bio})),b(y.default,{size:y.default.Sizes.SIZE_12,className:O.default.userInfoSectionHeader,uppercase:!0},void 0,S.default.Messages.NOTE),b(i.default,{userId:t.id,autoFocus:!1,className:O.default.note})),b(M,{connectedAccounts:n,theme:u}))}P.displayName="UserInfoBase"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=T;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(389),l=n(1150),u=h(n(8300)),s=h(n(8351)),d=h(n(61)),f=h(n(151)),c=h(n(279)),p=n(272),v=h(n(8363)),y=n(8310),m=h(n(6)),_=h(n(7380));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(){return(g=Object.assign||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}).apply(this,arguments)}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e){var t=e.user,n=e.status,r=e.onSelect,a=e.onContextMenu;return S(d.default,{className:_.default.listRow,onClick:function(){return r(t.id)},onContextMenu:function(e){return a(e,t)}},void 0,S(c.default,{src:t.getAvatarURL(void 0),"aria-label":t.username,size:c.default.Sizes.SIZE_40,status:n,className:_.default.listAvatar}),S(u.default,{user:t,className:_.default.listName,discriminatorClass:_.default.listDiscriminator}))}O.displayName="FriendRow";var I=S(f.default,{});function T(e){var t,n=e.user,r=(0,o.useStateFromStores)([v.default],(function(){return v.default.getMutualFriends(n.id)}));function u(e){(0,y.openUserProfileModal)({userId:e})}function d(e,t){(0,i.openContextMenu)(e,(function(e){return a.createElement(s.default,g({},e,{user:t}))}))}return a.useEffect((function(){null==r&&(0,l.fetchMutualFriends)(n.id)}),[r,n.id]),t=r?0===r.length?S("div",{className:_.default.empty},void 0,S("div",{className:_.default.emptyIconFriends}),S("div",{className:_.default.emptyText},void 0,m.default.Messages.NO_MUTUAL_FRIENDS)):r.map((function(e){return S(O,{user:e.user,status:e.status,onSelect:u,onContextMenu:d},e.key)})):S("div",{className:_.default.empty},void 0,I),S(p.ScrollerThin,{className:_.default.listScroller,fade:!0},void 0,t)}T.displayName="MutualFriends"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=N;var r,a=T(n(0)),o=O(n(9)),i=n(3),l=n(389),u=n(687),s=O(n(1166)),d=O(n(8573)),f=n(42),c=O(n(36)),p=O(n(61)),v=O(n(371)),y=T(n(279)),m=n(272),_=O(n(8363)),h=n(1),E=O(n(6)),g=O(n(7380)),S=O(n(8e3));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function C(){return(C=Object.assign||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}).apply(this,arguments)}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(e){var t=e.guild,n=e.nick,r=e.theme,a=e.onSelect,i=e.onContextMenu,l=e.user,u=l.hasAvatarForGuild(t.id);return b(p.default,{focusProps:{offset:{right:8}},className:g.default.listRow,onClick:function(){return a(t.id)},onContextMenu:function(e){return i(e,t)}},void 0,b(v.default,{tabIndex:-1,guild:t,showBadge:!0,className:(0,o.default)(g.default.listAvatar,null==t.icon?S.default.guildAvatarWithoutIcon:null),badgeStrokeColor:r===h.ThemeTypes.DARK?h.Colors.PRIMARY_DARK_600:h.Colors.WHITE,size:v.default.Sizes.MEDIUM,active:!0}),b("div",{className:g.default.listRowContent},void 0,b("div",{className:g.default.listName},void 0,t.toString()),u||null!=n?b("div",{className:S.default.guildNick},void 0,u&&b(y.default,{src:l.getAvatarURL(t.id),size:y.Sizes.SIZE_16,className:S.default.guildAvatar,"aria-hidden":!0}),null!=n?n:l.toString()):null))}function N(e){var t,n=e.user,r=e.onClose,o=(0,i.useStateFromStores)([_.default],(function(){return _.default.getMutualGuilds(n.id)})),p=(0,s.default)();function v(e){(0,f.transitionTo)(h.Routes.CHANNEL(e,c.default.getChannelId(e))),r(),(0,u.popLayer)()}function y(e,t){(0,l.openContextMenu)(e,(function(e){return a.createElement(d.default,C({},e,{guild:t}))}))}return t=null==o||0===o.length?b("div",{className:g.default.empty},void 0,b("div",{className:g.default.emptyIconGuilds}),b("div",{className:g.default.emptyText},void 0,E.default.Messages.NO_MUTUAL_GUILDS)):o.map((function(e){var t=e.guild,r=e.nick;return b(M,{user:n,guild:t,nick:r,theme:p,onSelect:v,onContextMenu:y},t.id)})),b(m.ScrollerThin,{className:g.default.listScroller,fade:!0},void 0,t)}M.displayName="GuildRow",N.displayName="MutualGuilds"},,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=U;var r,a=L(n(0)),o=n(92),i=n(3),l=P(n(391)),u=n(389),s=n(687),d=P(n(1217)),f=P(n(473)),c=P(n(8300)),p=P(n(8732)),v=P(n(11078)),y=P(n(11)),m=P(n(256)),_=P(n(70)),h=P(n(61)),E=P(n(8663)),g=L(n(279)),S=P(n(24)),O=P(n(13)),I=P(n(43)),T=P(n(8363)),C=L(n(8822)),b=L(n(8827)),M=P(n(11079)),N=n(1),A=P(n(8002));function P(e){return e&&e.__esModule?e:{default:e}}function R(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return R=function(){return e},e}function L(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=R();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function D(){return(D=Object.assign||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}).apply(this,arguments)}function w(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function j(e){var t=e.customStatusActivity;return w("div",{className:A.default.customStatusActivity},void 0,w(S.default,{size:S.default.Sizes.SIZE_14,color:S.default.Colors.HEADER_SECONDARY,className:A.default.customStatusText},void 0,w(p.default,{activity:t,className:A.default.customStatus,emojiClassName:A.default.customStatusEmoji,soloEmojiClassName:A.default.customStatusSoloEmoji})))}j.displayName="CustomStatusActivity";var k=I.default.getEnableHardwareAcceleration()?g.AnimatedAvatar:g.default;function U(e){var t=e.user,n=e.friendToken,r=e.isStreaming,p=e.onClose,S=(0,i.useStateFromStores)([_.default],(function(){return _.default.getRelationshipType(t.id)})),I=(0,i.useStateFromStores)([m.default],(function(){return m.default.isMobileOnline(t.id)})),P=(0,i.useStateFromStores)([m.default],(function(){return m.default.getStatus(t.id)})),R=(0,i.useStateFromStores)([T.default],(function(){return T.default.getUserProfile(t.id)})),L=(0,i.useStateFromStores)([y.default],(function(){return y.default.getId()===t.id})),U=(0,i.useStateFromStores)([m.default],(function(){return m.default.findActivity(t.id,(function(e){return e.type===N.ActivityTypes.CUSTOM_STATUS}))}));function G(){p(),(0,s.popLayer)()}function F(){d.default.removeRelationship(t.id,{location:"User Profile"})}function B(){l.default.openPrivateChannel(t.id),G()}function H(){try{d.default.addRelationship(t.id,{location:"User Profile"},N.RelationshipTypes.BLOCKED)}catch(e){G()}}return w("header",{},void 0,w(C.default,{onClose:G,user:t,bannerType:C.UserBannerTypes.PROFILE,guildId:void 0}),w("div",{className:A.default.header},void 0,w(k,{src:t.getAvatarURL(void 0,!0),size:g.Sizes.SIZE_120,className:A.default.avatar,status:r?o.StatusTypes.STREAMING:P,isMobile:I,statusTooltip:!0,"aria-label":t.username}),w("div",{className:A.default.headerTop},void 0,w(b.default,{user:t,className:A.default.badgeList,premiumSince:null==R?void 0:R.premiumSince,premiumGuildSince:null==R?void 0:R.premiumGuildSince,openPremiumSettings:function(){O.default.track(N.AnalyticEvents.PREMIUM_PROMOTION_OPENED,{location_page:null,location_section:N.AnalyticsSections.PROFILE_MODAL,location_object:N.AnalyticsObjects.TOOLTIP}),G(),f.default.open(N.UserSettingsSections.PREMIUM)},size:b.BadgeSizes.SIZE_24,shrinkAtCount:8,shrinkToSize:b.BadgeSizes.SIZE_18}),w("div",{className:A.default.relationshipButtons},void 0,w(M.default,{user:t,isCurrentUser:L,relationshipType:S,onAddFriend:function(){try{d.default.addRelationship(t.id,{location:"User Profile"},void 0,n)}catch(e){G()}},onIgnoreFriend:F,onSendMessage:B}),L||t.isNonUserBot()?null:w(h.default,{focusProps:{offset:{left:8}},onClick:function(e){(0,u.openContextMenu)(e,(function(e){return a.createElement(v.default,D({},e,{relationshipType:S,onRemoveFriend:F,onBlock:H,onMessage:B}))}))}},void 0,w(E.default,{className:A.default.additionalActionsIcon}))))),w(c.default,{user:t,className:null!=U?A.default.nameTagWithCustomStatus:A.default.nameTagNoCustomStatus,usernameClass:A.default.username,discriminatorClass:A.default.discriminator,botClass:A.default.botTag}),U&&w(j,{customStatusActivity:U}))}U.displayName="UserProfileModalHeader"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;f(n(0));var r,a,o=n(389),i=f(n(8253)),l=n(8256),u=n(1),s=(r=n(6))&&r.__esModule?r:{default:r};function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function c(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.relationshipType,n=e.onRemoveFriend,r=e.onBlock,a=e.onMessage,d=e.onSelect,f=[];switch(t){case u.RelationshipTypes.BLOCKED:f.push(c(i.MenuItem,{id:"user-unblock",label:s.default.Messages.UNBLOCK,action:n}));break;case u.RelationshipTypes.FRIEND:f.push(c(i.MenuItem,{id:"user-remove",label:s.default.Messages.REMOVE_FRIEND,action:n,color:l.MenuItemColor.DANGER})),f.push(c(i.MenuItem,{id:"user-block",label:s.default.Messages.BLOCK,action:r,color:l.MenuItemColor.DANGER}));break;case u.RelationshipTypes.NONE:case u.RelationshipTypes.PENDING_INCOMING:default:f.push(c(i.MenuItem,{id:"user-block",label:s.default.Messages.BLOCK,action:r,color:l.MenuItemColor.DANGER}))}return t!==u.RelationshipTypes.BLOCKED&&f.push(c(i.MenuItem,{id:"user-message",label:s.default.Messages.USER_POPOUT_MESSAGE,action:a})),c(i.default,{navId:"user-profile-actions","aria-label":s.default.Messages.USER_ACTIONS_MENU_LABEL,onClose:o.closeContextMenu,onSelect:d},void 0,c(i.MenuGroup,{},void 0,f))}p.displayName="UserProfileActionsMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(9)),i=d(n(29)),l=n(1),u=d(n(6)),s=d(n(8001));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e){var t=e.className,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["className"]);return a.createElement(i.default,p({},n,{look:i.default.Looks.FILLED,size:i.default.Sizes.SMALL,className:(0,o.default)(s.default.actionButton,t)}))}function y(e){var t=e.isCurrentUser,n=e.user,r=e.relationshipType,a=e.onAddFriend,o=e.onIgnoreFriend,d=e.onSendMessage;return t||r===l.RelationshipTypes.BLOCKED?null:r===l.RelationshipTypes.FRIEND||n.bot?c(v,{color:i.default.Colors.GREEN,onClick:d},void 0,u.default.Messages.SEND_MESSAGE):r===l.RelationshipTypes.PENDING_OUTGOING?c(v,{color:i.default.Colors.GREEN,disabled:!0},void 0,u.default.Messages.ADD_FRIEND_BUTTON_AFTER):r===l.RelationshipTypes.PENDING_INCOMING?c("div",{className:s.default.pendingIncoming},void 0,c(v,{color:i.default.Colors.GREEN,onClick:a},void 0,u.default.Messages.FRIEND_REQUEST_ACCEPT),c(v,{color:i.default.Colors.GREY,onClick:o,className:s.default.actionRightButton},void 0,u.default.Messages.FRIEND_REQUEST_IGNORE)):c(v,{color:i.default.Colors.GREEN,onClick:a},void 0,u.default.Messages.ADD_FRIEND_BUTTON)}v.displayName="RequestActionButton",y.displayName="UserProfileFriendRequestButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;p(n(0));var r,a=f(n(2)),o=p(n(11081)),i=f(n(12)),l=n(1230),u=f(n(761)),s=n(41),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=v(o.default,{}),m={init:function(){a.default.subscribe(d.ActionTypes.CONNECTION_OPEN,this.handleRequiredAction),a.default.subscribe(d.ActionTypes.USER_REQUIRED_ACTION_UPDATE,this.handleRequiredAction),a.default.subscribe(d.ActionTypes.CURRENT_USER_UPDATE,this.handleCurrentUserUpdate),a.default.subscribe(d.ActionTypes.LOGOUT,this.handleLogout)},handleRequiredAction:function(e){var t=e.requiredAction;null==i.default.getNullableCurrentUser()?(0,l.closeFullScreenLayer)("verification"):t===d.UserRequiredActions.REQUIRE_CAPTCHA||t===d.UserRequiredActions.REQUIRE_VERIFIED_EMAIL||t===d.UserRequiredActions.REQUIRE_VERIFIED_PHONE?(0,l.openFullScreenLayer)((function(){return y}),{layerKey:"verification",Layer:u.default}):null==t&&(0,l.closeFullScreenLayer)("verification")},handleLogout:function(){(0,l.closeFullScreenLayer)("verification")},handleCurrentUserUpdate:function(e){e.user.verified&&(0,s.closeModal)(o.EMAIL_VERIFICATION_MODAL_KEY)}};t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.EMAIL_VERIFICATION_MODAL_KEY=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=T(n(3)),i=T(n(14)),l=T(n(363)),u=n(687),s=n(1171),d=T(n(403)),f=n(5831),c=T(n(8957)),p=T(n(39)),v=T(n(12)),y=T(n(11082)),m=T(n(761)),_=T(n(466)),h=n(41),E=T(n(24)),g=T(n(11084)),S=T(n(8447)),O=n(1),I=T(n(6));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(){return(b=Object.assign||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}).apply(this,arguments)}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.EMAIL_VERIFICATION_MODAL_KEY="Email Verification";var A=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={captchaKey:0},t.handleVerifyCaptcha=function(e){i.default.post({url:O.Endpoints.CAPTCHA,body:{captcha_key:e},oldFormErrors:!0}).then((function(){t.close()}),(function(){t.setState({captchaKey:t.state.captchaKey+1})}))},t.handleClick=function(e){e===O.VerificationTypes.EMAIL_OR_PHONE||e===O.VerificationTypes.EMAIL?t.handleVerifyEmail():t.handleVerifyPhone()},t.handleVerifyEmail=function(){(0,s.accountDetailsInit)(),(0,h.openModal)((function(e){return a.createElement(g.default,e)}),{modalKey:"Email Verification",Layer:m.default})},t.handleVerifyPhone=function(){(0,h.openModal)((function(e){return a.createElement(S.default,e)}),{modalKey:f.PHONE_VERIFICATION_MODAL_KEY,Layer:m.default})},t.close=function(){(0,u.popLayer)()},t.handleLogout=function(){(0,h.openModal)((function(e){return a.createElement(_.default,b({header:I.default.Messages.LOGOUT,confirmText:I.default.Messages.LOGOUT,cancelText:I.default.Messages.CANCEL,onConfirm:function(){return l.default.logout()}},e),M(E.default,{size:E.default.Sizes.SIZE_16},void 0,I.default.Messages.USER_SETTINGS_CONFIRM_LOGOUT))}),{Layer:m.default})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,N(t,n);var o=r.prototype;return o.componentDidMount=function(){d.default.disable()},o.componentWillUnmount=function(){d.default.enable()},o.render=function(){var e=this.props,t=e.type,n=e.theme;return M(y.default,{type:t,captchaKey:this.state.captchaKey,onCaptchaVerify:this.handleVerifyCaptcha,theme:n,onClick:this.handleClick,onLogout:this.handleLogout})},r}(a.PureComponent);A.displayName="Verification";var P=o.default.connectStores([p.default,c.default,v.default],(function(){var e=v.default.getNullableCurrentUser(),t=c.default.getAction(),n=!!e&&null!=e.phone,r=O.VerificationTypes.CAPTCHA;return t===O.UserRequiredActions.REQUIRE_VERIFIED_EMAIL&&n?r=O.VerificationTypes.EMAIL:t===O.UserRequiredActions.REQUIRE_VERIFIED_EMAIL?r=O.VerificationTypes.EMAIL_OR_PHONE:t===O.UserRequiredActions.REQUIRE_VERIFIED_PHONE&&(r=O.VerificationTypes.PHONE),{theme:p.default.theme,type:r}}))(A);t.default=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(9)),i=p(n(93)),l=p(n(55)),u=p(n(11083)),s=n(1),d=p(n(6)),f=p(n(8004)),c=p(n(370));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_(e,t)}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var h=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(){var e=t.props;(0,e.onClick)(e.type)},t}return m(t,e),t.prototype.render=function(){var e=this.props.type,t=function(e){switch(e){case s.VerificationTypes.EMAIL_OR_PHONE:return d.default.Messages.VERIFY_BY_EMAIL_FORMATTED.format();case s.VerificationTypes.PHONE:return d.default.Messages.VERIFY_BY_PHONE_FORMATTED.format();case s.VerificationTypes.EMAIL:return d.default.Messages.VERIFY_BY_EMAIL_FORMATTED.format()}}(e);return y(l.default,{className:f.default.verificationBlock,align:l.default.Align.CENTER,justify:l.default.Justify.CENTER,onClick:this.handleClick},void 0,y("div",{className:(0,o.default)(f.default.image,f.default[e])}),y("div",{className:f.default.body},void 0,t))},t}(a.PureComponent);h.displayName="VerificationBlock";var E=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(e){var n=t.props.onClick;n&&n(e)},t}m(t,e);var n=t.prototype;return n.renderFields=function(){var e=this.props,t=e.type,n=e.captchaKey,r=e.theme,a=e.onCaptchaVerify,o=[];switch(t){case s.VerificationTypes.CAPTCHA:return y(u.default,{onVerify:a,theme:r},n);case s.VerificationTypes.EMAIL:return y(h,{type:s.VerificationTypes.EMAIL,onClick:this.handleClick},s.VerificationTypes.EMAIL);case s.VerificationTypes.EMAIL_OR_PHONE:o.push(y(h,{type:s.VerificationTypes.EMAIL_OR_PHONE,onClick:this.handleClick},s.VerificationTypes.EMAIL_OR_PHONE));case s.VerificationTypes.PHONE:o.push(y(h,{type:s.VerificationTypes.PHONE,onClick:this.handleClick},s.VerificationTypes.PHONE))}return o},n.render=function(){return y(l.default,{className:f.default.verification,align:l.default.Align.CENTER,direction:l.default.Direction.VERTICAL},void 0,y(l.default,{className:f.default.container,direction:l.default.Direction.VERTICAL,align:l.default.Align.CENTER,justify:l.default.Justify.CENTER},void 0,y("div",{className:f.default.image}),y("div",{className:(0,o.default)(f.default.title,c.default.marginTop20)},void 0,d.default.Messages.VERIFICATION_TITLE),y("div",{className:(0,o.default)(f.default.body,c.default.marginTop4,c.default.marginBottom20)},void 0,d.default.Messages.VERIFICATION_BODY.format()),y(l.default,{grow:0,justify:l.default.Justify.CENTER},void 0,this.renderFields())),y("div",{className:(0,o.default)(f.default.footer,c.default.marginTop20)},void 0,d.default.Messages.VERIFICATION_FOOTER),y(l.default,{className:(0,o.default)(c.default.marginTop4,c.default.marginBottom20),grow:0},void 0,y("div",{className:(0,o.default)(f.default.footer,f.default.footerAction)},void 0,d.default.Messages.VERIFICATION_FOOTER_SUPPORT.format({supportURL:i.default.getSubmitRequestURL()})),y("div",{className:(0,o.default)(f.default.footer,f.default.footerBullet)},void 0,"•"),y("div",{className:(0,o.default)(f.default.footer,f.default.footerAction)},void 0,d.default.Messages.VERIFICATION_FOOTER_LOGOUT.format({logoutOnClick:this.props.onLogout}))))},t}(a.PureComponent);E.displayName="Verification",E.defaultProps={type:s.VerificationTypes.CAPTCHA,onCaptchaVerify:s.NOOP,onLogout:s.NOOP};var g=E;t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(1428))&&r.__esModule?r:{default:r},i=n(1);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}var s=function(e){return a.createElement(o.default,u({sitekey:i.RECAPTCHA_SITE_KEY},e))};s.displayName="Recaptcha",s.Themes={LIGHT:"light",DARK:"dark"},s.Sizes={COMPACT:"compact",NORMAL:"normal",INVISIBLE:"invisible"};var d=s;t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=c(n(363)),l=n(1171),u=c(n(5956)),s=c(n(12)),d=c(n(11085)),f=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=function(e){var t=e.transitionState,n=e.onClose,r=(0,o.useStateFromStores)([u.default],(function(){return u.default.getErrors()})),c=(0,o.useStateFromStores)([u.default],(function(){return u.default.getFormState()})),p=(0,o.useStateFromStores)([s.default],(function(){return s.default.getCurrentUser()})),y=null!=p.email,m=a.useState(!0),_=m[0],h=m[1],E=c===f.FormStates.SUBMITTING;function g(e){var t,n;return null!==(t=null==r||null===(n=r[e])||void 0===n?void 0:n[0])&&void 0!==t?t:""}var S=g("email"),O=g("password");return v(d.default,{transitionState:t,email:p.email,emailError:S,passwordError:O,submitting:E,canResend:_&&!E&&y&&0===S.length&&0===O.length,onChangeEmailClick:function(){h(!1)},onVerify:function(e,t){(0,l.saveAccountChanges)({email:e,password:t}),h(!0)},onResend:function(){i.default.verifyResend()},onClose:n})};y.displayName="EmailVerificationModal";var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=g(n(0)),o=h(n(9)),i=h(n(5962)),l=h(n(98)),u=n(57),s=g(n(29)),d=h(n(153)),f=n(131),c=n(35),p=n(1),v=h(n(6)),y=h(n(8005)),m=h(n(1170)),_=h(n(370));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var I=function(e){var t,r;function p(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._animItem=null,t._timeout=new u.Timeout,t._headerId=l.default.v4(),t.state={resent:!1,shouldClose:!1,email:"",password:""},t.setLottieRef=function(e){t._lottieRef=e},t.handleVerify=function(){(0,t.props.onVerify)(t.state.email,t.state.password)},t.handleResendEmail=function(){var e=t.props,n=e.onResend,r=e.onClose;n(),t.state.resent||(t.setState({resent:!0,shouldClose:!0}),t._timeout.start(3e3,(function(){t.state.shouldClose&&r()})))},t.handleChangeEmailClick=function(){var e=t.props.onChangeEmailClick;t.setState({resent:!1,shouldClose:!1}),e()},t.handleEmailChange=function(e){t.setState({email:e})},t.handlePasswordChange=function(e){t.setState({password:e})},t.handleKeyPress=function(e){var n=t.state,r=n.email,a=n.password;13===e.which&&r.length>0&&a.length>0&&(e.preventDefault(),t.handleVerify())},t}r=e,(t=p).prototype=Object.create(r.prototype),t.prototype.constructor=t,O(t,r);var h=p.prototype;return h.componentDidMount=function(){var e=this;n.e(79).then(function(t){var r=n(12005);e._animItem=i.default.loadAnimation({container:e._lottieRef,renderer:"svg",loop:!0,autoplay:!0,animationData:r})}.bind(null,n)).catch(n.oe)},h.componentWillUnmount=function(){this._timeout.stop(),null!=this._animItem&&(this._animItem.destroy(),this._animItem=void 0)},h.renderInputs=function(){var e=this.props,t=e.emailError,n=e.passwordError,r=e.submitting,a=this.state,o=a.email,i=a.password;return S("div",{className:y.default.container},void 0,S(f.FormItem,{title:v.default.Messages.FORM_LABEL_EMAIL,className:_.default.marginBottom20},void 0,S(d.default,{value:o,error:t,onChange:this.handleEmailChange,onKeyPress:this.handleKeyPress,autoFocus:!0})),S(f.FormItem,{title:v.default.Messages.FORM_LABEL_PASSWORD,className:_.default.marginBottom40},void 0,S(d.default,{type:"password",value:i,error:n,onChange:this.handlePasswordChange,onKeyPress:this.handleKeyPress})),S(s.default,{fullWidth:!0,size:s.default.Sizes.LARGE,onClick:this.handleVerify,submitting:r,disabled:0===o.length||0===i.length},void 0,v.default.Messages.VERIFY_ACCOUNT))},h.renderActions=function(){return S("div",{className:y.default.container},void 0,S(s.default,{className:_.default.marginTop20,fullWidth:!0,size:s.default.Sizes.LARGE,look:s.ButtonLooks.INVERTED,color:s.ButtonColors.PRIMARY,onClick:this.handleResendEmail},void 0,v.default.Messages.RESEND_EMAIL),S(s.default,{className:_.default.marginTop20,fullWidth:!0,size:s.default.Sizes.MEDIUM,look:s.ButtonLooks.LINK,color:s.ButtonColors.PRIMARY,onClick:this.handleChangeEmailClick},void 0,v.default.Messages.CHANGE_EMAIL))},h.render=function(){var e,t=this.state.resent,n=this.props,r=n.email,i=n.canResend,l=n.transitionState;return e=t&&null!=r?v.default.Messages.VERIFY_EMAIL_BODY_RESENT.format({email:r}):i?v.default.Messages.VERIFY_EMAIL_BODY:v.default.Messages.ENTER_EMAIL_BODY,S(c.ModalRoot,{transitionState:l,"aria-labelledby":this._headerId,className:(0,o.default)(y.default.emailVerificationModal,m.default.vertical,m.default.alignCenter,m.default.justifyCenter,_.default.marginTop60)},void 0,a.createElement("div",{className:y.default.animationContainer,ref:this.setLottieRef}),S("div",{className:(0,o.default)(y.default.title,_.default.marginBottom8)},void 0,v.default.Messages.VERIFY_BY_EMAIL),S("div",{className:(0,o.default)(y.default.body,_.default.marginBottom20)},void 0,e),i?this.renderActions():this.renderInputs())},p}(a.PureComponent);I.displayName="EmailVerificationModal",I.defaultProps={canResend:!1,onChangeEmailClick:p.NOOP,onVerify:function(e,t){},onResend:p.NOOP,onClose:p.NOOP};var T=I;t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=n(34),o=S(n(2)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(8788)),l=S(n(216)),u=S(n(294)),s=S(n(5952)),d=S(n(163)),f=S(n(10)),c=S(n(694)),p=S(n(51)),v=S(n(8789)),y=S(n(94)),m=S(n(36)),_=S(n(107)),h=S(n(80)),E=n(1);function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e){return e&&e.__esModule?e:{default:e}}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(){var e=r;if(null==e||!v.default.isOpen(e))return!1;o.default.wait((function(){return i.close(e)})),r=null}function T(){var e=y.default.getChannelId(),t=r===e;return function(){var e=y.default.getChannelId(),t=m.default.getChannelId();if(!p.default.supports(a.Features.VIDEO))return!0;if(s.default.getWindowOpen(E.PopoutWindowKeys.CHANNEL_CALL_POPOUT))return!0;var n=d.default.getAllActiveStreams().length>0;if(!(null!=e&&Object.values(h.default.getVideoVoiceStatesForChannel(e)).some((function(e){var t=e.userId;return!p.default.isLocalVideoDisabled(t)}))||n))return!0;var r=c.default.hasLayers();return(!r||!c.default.getLayers().includes(E.Layers.RTC_DEBUG))&&(!!r||!(e!==t))}()?I():(t||I(),null!=e&&function(e){var t=f.default.getChannel(e);if(null==t||v.default.isOpen(e))return!1;o.default.wait((function(){return i.open(t.id,E.PictureInPictureComponents.VIDEO,{channel:t})})),r=e}(e))}var C=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,O(t,n);var a=r.prototype;return a._initialize=function(){m.default.addChangeListener(T),_.default.addChangeListener(T),y.default.addChangeListener(T),h.default.addChangeListener(T),c.default.addChangeListener(T),d.default.addChangeListener(T),s.default.addChangeListener(T),p.default.addChangeListener(T),u.default.addChangeListener(T)},a._terminate=function(){m.default.removeChangeListener(T),_.default.removeChangeListener(T),y.default.removeChangeListener(T),h.default.removeChangeListener(T),c.default.removeChangeListener(T),d.default.removeChangeListener(T),s.default.removeChangeListener(T),p.default.removeChangeListener(T),u.default.removeChangeListener(T)},r}(l.default));t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldImmediatelyRequestVoicePermissions=E,t.default=void 0;var r=y(n(2)),a=y(n(216)),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(773)),i=y(n(205)),l=n(304),u=y(n(1305)),s=y(n(11)),d=y(n(10)),f=y(n(51)),c=y(n(94)),p=n(1);function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){return e&&e.__esModule?e:{default:e}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=new Set;function h(){o.default.requestPermission(o.NativePermissionTypes.AUDIO),f.default.getMode()===p.InputModes.PUSH_TO_TALK&&o.default.requestPermission(o.NativePermissionTypes.INPUT_MONITORING)}function E(e,t){var n;return!(null===(n=d.default.getChannel(t))||void 0===n?void 0:n.isListenModeCapable())||i.default.isSpeaker(e,t)}var g=new(function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var o=a.prototype;return o._initialize=function(){r.default.subscribe(p.ActionTypes.VOICE_STATE_UPDATE,this.handleVoiceStateUpdate)},o._terminate=function(){r.default.unsubscribe(p.ActionTypes.VOICE_STATE_UPDATE,this.handleVoiceStateUpdate)},o.handleVoiceStateUpdate=function(e){e.type;var t=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["type"]),n=t.userId,r=t.channelId;if(null!=r&&(s.default.getId()===n&&null!=c.default.getRTCConnectionId()&&!_.has(r))){var a;if(E(n,r))return _.add(r),void h();(a=new u.default(t),(0,l.getAudienceRequestToSpeakState)(a)===l.RequestToSpeakStates.REQUESTED_TO_SPEAK_AND_AWAITING_USER_ACK)&&(_.add(r),h())}},a}(a.default));t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(57),a=v(n(2)),o=v(n(132)),i=v(n(216)),l=v(n(163)),u=v(n(10)),s=v(n(15)),d=v(n(428)),f=v(n(94)),c=v(n(16)),p=n(1);function v(e){return e&&e.__esModule?e:{default:e}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=new r.Timeout,_=new r.Timeout,h=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n);var i=r.prototype;return i._initialize=function(){a.default.subscribe(p.ActionTypes.IDLE,this.handleIdleUpdate)},i._terminate=function(){m.stop(),_.stop(),a.default.unsubscribe(p.ActionTypes.IDLE,this.handleIdleUpdate)},i.handleIdleUpdate=function(){var e=d.default.getIdleSince();if(c.default.embedded){m.stop(),_.stop();var t=l.default.getAllActiveStreams();for(var n in t)if(t[n].state!==p.ApplicationStreamStates.ENDED)return;if(null!=e){var r=f.default.getChannelId();if(null!=r){_.start(18e6,(function(){o.default.selectVoiceChannel(null)}));var a=s.default.getGuild(f.default.getGuildId());if(null!=a&&null!=a.afkChannelId&&a.afkChannelId!==r&&null!=a.afkTimeout){var i=u.default.getChannel(r);null!=i&&(i.isGuildStageVoice()||m.start(e+1e3*a.afkTimeout-Date.now(),(function(){null!=(a=s.default.getGuild(f.default.getGuildId()))&&null!=a.afkChannelId&&o.default.selectVoiceChannel(a.afkChannelId)})))}}}}},r}(i.default));t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;p(n(0));var r,a=f(n(8)),o=n(34),i=f(n(11090)),l=n(41),u=f(n(738)),s=p(n(11092)),d=f(n(51));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=new Set(["DisplayPort"]),m=!1;function _(){if(!m){var e=d.default.getInputDeviceId(),t=d.default.getOutputDeviceId();if(!s.default.getState().neverShowModal&&!a.default.isEmpty(s.default.lastDeviceConnected)){var n=(0,s.extractDisplayName)(d.default.getInputDevices()[e]),r=(0,s.extractDisplayName)(d.default.getOutputDevices()[t]);if(!a.default.some(s.default.lastDeviceConnected,(function(e){return y.has(e.displayName)||e.displayName===n||e.displayName===r}))){var f=a.default.some(s.default.lastDeviceConnected,(function(e){return u.default.isCertified(s.default.inputDevices[e.displayName])||u.default.isCertified(s.default.outputDevices[e.displayName])}));if(!(e===o.DEFAULT_DEVICE_ID&&s.default.lastInputSystemDevice.justChanged||t===o.DEFAULT_DEVICE_ID&&s.default.lastOutputSystemDevice.justChanged)||f){var c,p=a.default.first(Object.keys(s.default.lastDeviceConnected)),_=p?s.default.lastDeviceConnected[p]:null;if(null!=_)s.default.initialized&&null!=p&&(u.default.isCertified(s.default.inputDevices[p])?c=u.default.getCertifiedDevice(s.default.inputDevices[p]):u.default.isCertified(s.default.outputDevices[p])&&(c=u.default.getCertifiedDevice(s.default.outputDevices[p]))),m=!0,(0,l.openModal)((function(e){var t=e.transitionState,n=e.onClose;return v(i.default,{device:_,certifiedDeviceMetadata:c,transitionState:t,onClose:function(){m=!1,n()}})}))}}}}}var h={init:function(){s.default.addChangeListener(_)}};t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=E(n(0)),i=E(n(11091)),l=_(n(29)),u=_(n(55)),s=_(n(1162)),d=n(35),f=_(n(47)),c=_(n(24)),p=_(n(13)),v=n(1),y=_(n(6)),m=_(n(8006));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(e){switch(e){case v.ConnectedDeviceType.INPUT:return v.ConnectedDevicePreference.INPUT;case v.ConnectedDeviceType.OUTPUT:return v.ConnectedDevicePreference.OUTPUT;case v.ConnectedDeviceType.INPUT_AND_OUTPUT:return v.ConnectedDevicePreference.INPUT_AND_OUTPUT;default:return null}}!function(e){e.CERTIFIED="New Audio Device Detected - Certified",e.NOT_CERTIFIED="New Audio Device Detected - Not Certified"}(a||(a={}));var I=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).confirm=function(){var e=n.props,t=e.device,r=e.onClose,a=n.state.devicePreference;null!=a&&(i.setDevice(t.displayName,a,"New Audio Device Detected Modal"),r())},n.cancel=function(){var e=n.props,t=e.device,r=e.onClose;i.ignoreDevice(t.displayName),r()},n.neverShow=function(){var e=n.props,t=e.certifiedDeviceMetadata,r=e.onClose;i.neverShowModal(),r(),p.default.track(v.AnalyticEvents.MODAL_DISMISSED,{type:null!=t?a.CERTIFIED:a.NOT_CERTIFIED,dismiss_type:"permanent"})},n.handleConnectedDeviceType=function(e){var t=e.value;n.setState({devicePreference:t})},n.state={devicePreference:null!=t.device?O(t.device.type):null},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n);var _=r.prototype;return _.track=function(){var e=this.props,t=e.certifiedDeviceMetadata,n=e.device;p.default.track(v.AnalyticEvents.OPEN_MODAL,{type:null!=t?a.CERTIFIED:a.NOT_CERTIFIED,device_name:null!=t?t.vendor.name+" "+t.model.name:n.displayName})},_.componentDidMount=function(){this.track()},_.componentDidUpdate=function(e){this.props.device.displayName!==e.device.displayName&&this.track()},_.renderBody=function(){var e,t=this.props,n=t.device,r=t.certifiedDeviceMetadata,a=this.state.devicePreference;switch(n.type){case v.ConnectedDeviceType.INPUT:e=null!=r?y.default.Messages.CERTIFIED_DEVICE_RECOMMENDATION_AUDIO_INPUT_BODY.format({vendorName:r.vendor.name,modelName:r.model.name}):y.default.Messages.CONNECTED_DEVICE_DETECTED_INPUT_BODY.format({name:n.displayName});break;case v.ConnectedDeviceType.OUTPUT:e=null!=r?y.default.Messages.CERTIFIED_DEVICE_RECOMMENDATION_AUDIO_OUTPUT_BODY.format({vendorName:r.vendor.name,modelName:r.model.name}):y.default.Messages.CONNECTED_DEVICE_DETECTED_OUTPUT_BODY.format({name:n.displayName});break;default:e=g(o.Fragment,{},void 0,null!=r?y.default.Messages.CERTIFIED_DEVICE_RECOMMENDATION_AUDIO_INPUT_AND_OUTPUT_BODY.format({vendorName:r.vendor.name,modelName:r.model.name}):y.default.Messages.CONNECTED_DEVICE_DETECTED_INPUT_AND_OUTPUT_BODY.format({name:n.displayName}),g(s.default,{value:a,className:m.default.options,onChange:this.handleConnectedDeviceType,options:[{name:y.default.Messages.CONNECTED_DEVICE_DETECTED_OPTION_INPUT_AND_OUTPUT,value:v.ConnectedDevicePreference.INPUT_AND_OUTPUT},{name:y.default.Messages.CONNECTED_DEVICE_DETECTED_OPTION_INPUT,value:v.ConnectedDevicePreference.INPUT},{name:y.default.Messages.CONNECTED_DEVICE_DETECTED_OPTION_OUTPUT,value:v.ConnectedDevicePreference.OUTPUT}]}))}return g(o.Fragment,{},n.displayName,e,g(l.default,{className:m.default.neverShow,look:l.default.Looks.LINK,color:l.default.Colors.LINK,onClick:this.neverShow},void 0,y.default.Messages.DONT_SHOW_AGAIN))},_.render=function(){var e=this.props,t=e.certifiedDeviceMetadata,n=e.transitionState,r=null!=t?y.default.Messages.CERTIFIED_DEVICE_RECOMMENDATION_TITLE:y.default.Messages.CONNECTED_DEVICE_DETECTED_TITLE;return g(d.ModalRoot,{transitionState:n,"aria-label":r},void 0,g(d.ModalHeader,{separator:!1},void 0,g(f.default,{tag:f.default.Tags.H2,size:f.default.Sizes.SIZE_20},void 0,r)),g(d.ModalContent,{},void 0,g(c.default,{size:c.default.Sizes.SIZE_16},void 0,this.renderBody())),g(d.ModalFooter,{},void 0,g(u.default,{justify:u.default.Justify.END},void 0,g(l.default,{color:l.default.Colors.PRIMARY,onClick:this.cancel,className:m.default.cancelButton},void 0,y.default.Messages.CONNECTED_DEVICE_DETECTED_CANCEL_BUTTON),g(l.default,{onClick:this.confirm},void 0,y.default.Messages.CONNECTED_DEVICE_DETECTED_CONFIRM_BUTTON))))},r}(o.Component);t.default=I,I.displayName="ConnectedDevice"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setDevice=function(e,t,n){a.default.dispatch({type:o.ActionTypes.CONNECTED_DEVICE_SET,displayName:e,connectedDevicePreference:t,location:n})},t.ignoreDevice=function(e){a.default.dispatch({type:o.ActionTypes.CONNECTED_DEVICE_IGNORE,displayName:e})},t.neverShowModal=function(){a.default.dispatch({type:o.ActionTypes.CONNECTED_DEVICE_NEVER_SHOW_MODAL})};var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractDisplayName=C,t.default=void 0;var r=p(n(8)),a=p(n(3)),o=n(34),i=p(n(2)),l=p(n(288)),u=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(16)),s=p(n(51)),d=p(n(39)),f=n(1);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){return e&&e.__esModule?e:{default:e}}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m={},_=m,h=!1,E={},g={},S={},O={id:null,justChanged:!1},I={id:null,justChanged:!1},T=/\(([^)]+)\)/;function C(e){if(u.default.getPlatform()===u.PlatformTypes.WINDOWS){var t=e.name.match(T);if(null!=t)return t[1]}return e.name}function b(e,t,n){return null==e||e.displayName!==t?{displayName:t,type:n}:e.type===f.ConnectedDeviceType.INPUT&&n===f.ConnectedDeviceType.OUTPUT||e.type===f.ConnectedDeviceType.OUTPUT&&n===f.ConnectedDeviceType.INPUT?{displayName:t,type:f.ConnectedDeviceType.INPUT_AND_OUTPUT}:e}var M=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n);var a,o,i,l=r.prototype;return l.initialize=function(e){this.waitFor(s.default,d.default),_=e||m},l.getState=function(){return _},a=r,(o=[{key:"initialized",get:function(){return h}},{key:"lastDeviceConnected",get:function(){return S}},{key:"inputDevices",get:function(){return E}},{key:"lastInputSystemDevice",get:function(){return O}},{key:"outputDevices",get:function(){return g}},{key:"lastOutputSystemDevice",get:function(){return I}}])&&v(a.prototype,o),i&&v(a,i),r}(a.default.PersistedStore);M.persistKey="ConnectedDeviceStore";var N=new M(i.default,{MEDIA_ENGINE_DEVICES:function(e){var t=e.inputDevices,n=e.outputDevices,a={};O.justChanged=!1,t.forEach((function(e){if(a[C(e)]=e.id,e.id===o.DEFAULT_DEVICE_ID){var t=e.originalId||e.originalName;t!==O.id&&(O.justChanged=!0),O.id=t}}));var i={};if(I.justChanged=!1,n.forEach((function(e){if(i[C(e)]=e.id,e.id===o.DEFAULT_DEVICE_ID){var t=e.originalId||e.originalName;t!==I.id&&(I.justChanged=!0),I.id=t}})),!h)return E=a,g=i,void(h=!0);var l=Object.keys(E),u=Object.keys(a),s=Object.keys(g),d=Object.keys(i),c=r.default.difference(l,u),p=r.default.difference(s,d);return c.length>0||p.length>0?S={}:(r.default.difference(u,l).forEach((function(e){S[e]=b(S[e],e,f.ConnectedDeviceType.INPUT)})),r.default.difference(d,s).forEach((function(e){S[e]=b(S[e],e,f.ConnectedDeviceType.OUTPUT)}))),(!r.default.isEqual(l,u)||!r.default.isEqual(s,d))&&(E=a,g=i,!0)},CONNECTED_DEVICE_SET:function(e){var t=e.displayName;!function(e,t,n){if(t===f.ConnectedDevicePreference.INPUT||t===f.ConnectedDevicePreference.INPUT_AND_OUTPUT){var r=E[e];null!=r&&i.default.wait((function(){return l.default.setInputDevice(r,n)}))}if(t===f.ConnectedDevicePreference.OUTPUT||t===f.ConnectedDevicePreference.INPUT_AND_OUTPUT){var a=g[e];i.default.wait((function(){return l.default.setOutputDevice(a,n)}))}}(t,e.connectedDevicePreference,e.location),delete S[t]},CONNECTED_DEVICE_IGNORE:function(e){var t=e.displayName;delete S[t]},CONNECTED_DEVICE_NEVER_SHOW_MODAL:function(e){return S={},void(_={neverShowModal:!0})}});t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=u(n(2)),o=u(n(11094)),i=n(41),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var f=!1,c=null;var p={init:function(){a.default.subscribe(l.ActionTypes.CONNECTION_OPEN,(function(e){var t=e.pendingPayments;if(t&&t.length>0){if(c===t[0])return;if(null==(c=t[0]))return;!function(e){f||(f=!0,(0,i.openModal)((function(t){var n=t.transitionState,r=t.onClose;return d(o.default,{pendingPayment:e,transitionState:n,onClose:function(){f=!1,r()}})})))}(c)}}))}};t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=E(n(0)),i=n(287),l=E(n(29)),u=n(35),s=_(n(47)),d=_(n(24)),f=_(n(13)),c=n(281),p=n(295),v=n(1),y=_(n(6)),m=_(n(8007));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function O(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){S(o,r,a,i,l,"next",e)}function l(e){S(o,r,a,i,l,"throw",e)}i(void 0)}))}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}!function(e){e[e.START=0]="START",e[e.FAIL=1]="FAIL",e[e.SUCCESS=2]="SUCCESS",e[e.CANCELED=3]="CANCELED"}(a||(a={}));var T=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={step:a.START},t.close=O(regeneratorRuntime.mark((function e(){var n,r,o,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.state.step,r=t.props,o=r.onClose,l=r.pendingPayment,n!==a.START){e.next=5;break}return e.next=5,(0,i.voidPendingPayment)(l.id);case 5:o();case 6:case"end":return e.stop()}}),e)}))),t.cancelPayment=O(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.props.pendingPayment,e.prev=1,e.next=4,(0,i.voidPendingPayment)(n.id);case 4:e.next=10;break;case 6:throw e.prev=6,e.t0=e.catch(1),t.setState({step:a.CANCELED}),e.t0;case 10:t.setState({step:a.CANCELED});case 11:case"end":return e.stop()}}),e,null,[[1,6]])}))),t.handleAuthenticate=O(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.props.pendingPayment,e.next=3,(0,p.authenticatePaymentIntentForPaymentId)(n.id);case 3:r=e.sent,null!=r.error?t.setState({step:a.FAIL}):t.setState({step:a.SUCCESS});case 6:case"end":return e.stop()}}),e)}))),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,I(t,n);var _=r.prototype;return _.componentDidMount=function(){f.default.track(v.AnalyticEvents.OPEN_MODAL,{type:v.AnalyticsSections.PAYMENT_AUTHENTICATION_MODAL})},_.componentWillUnmount=function(){f.default.track(v.AnalyticEvents.MODAL_DISMISSED,{type:v.AnalyticsSections.PAYMENT_AUTHENTICATION_MODAL})},_.getTitle=function(){switch(this.state.step){case a.START:return y.default.Messages.PAYMENT_AUTHENTICATION_MODAL_TITLE;case a.SUCCESS:return y.default.Messages.PAYMENT_AUTHENTICATION_MODAL_TITLE_SUCCESS;case a.CANCELED:return y.default.Messages.PAYMENT_AUTHENTICATION_MODAL_TITLE_CANCELED;case a.FAIL:default:return y.default.Messages.PAYMENT_AUTHENTICATION_MODAL_TITLE_FAIL}},_.getImageStyle=function(){switch(this.state.step){case a.START:return m.default.authenticationRequiredImage;case a.SUCCESS:return m.default.authenticationSuccessImage;case a.CANCELED:case a.FAIL:default:return m.default.authenticationFailImage}},_.getMessage=function(){var e=this.state.step,t=this.props.pendingPayment;switch(e){case a.START:return y.default.Messages.PAYMENT_AUTHENTICATION_MODAL_START.format({price:(0,c.formatPrice)(t.amount,t.currency),item:t.description});case a.SUCCESS:return y.default.Messages.PAYMENT_AUTHENTICATION_MODAL_SUCCESS;case a.CANCELED:return y.default.Messages.PAYMENT_AUTHENTICATION_MODAL_CANCELED.format({item:t.description});case a.FAIL:default:return y.default.Messages.PAYMENT_AUTHENTICATION_MODAL_FAIL}},_.renderButtons=function(){switch(this.state.step){case a.START:return g(o.Fragment,{},void 0,g(l.default,{color:l.ButtonColors.BRAND,onClick:this.handleAuthenticate},void 0,y.default.Messages.PAYMENT_AUTHENTICATION_MODAL_BUTTON),g(l.default,{look:l.default.Looks.LINK,size:l.default.Sizes.NONE,color:l.default.Colors.PRIMARY,onClick:this.cancelPayment,className:m.default.cancelButton},void 0,y.default.Messages.PAYMENT_AUTHENTICATION_MODAL_BUTTON_CANCEL_PAYMENT));case a.SUCCESS:case a.CANCELED:case a.FAIL:default:return g(l.default,{color:l.ButtonColors.BRAND,onClick:this.close},void 0,y.default.Messages.CLOSE)}},_.render=function(){var e=this.props.transitionState;return g(u.ModalRoot,{transitionState:e,className:m.default.modal,size:u.ModalSize.SMALL,"aria-label":this.getTitle()},void 0,g(u.ModalHeader,{},void 0,g(s.default,{size:s.default.Sizes.SIZE_20},void 0,g("span",{className:m.default.modalTitle},void 0,this.getTitle())),g(u.ModalCloseButton,{className:m.default.closeIcon,onClick:this.close})),g(u.ModalContent,{className:m.default.content},void 0,g("div",{className:this.getImageStyle()}),g(d.default,{size:d.default.Sizes.SIZE_16},void 0,this.getMessage())),g(u.ModalFooter,{className:m.default.footer},void 0,this.renderButtons()))},r}(o.Component);t.default=T,T.displayName="PaymentAuthenticationModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(11096)),a=o(n(9153));function o(e){return e&&e.__esModule?e:{default:e}}var i=!1;function l(){i||a.default.getWillShow()&&(i=!0,(0,r.default)())}var u={init:function(){a.default.addChangeListener(l)}};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){(0,a.openModal)((function(e){return React.createElement(o.default,e)}))};var r,a=n(41),o=(r=n(11097))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=y(n(29)),o=n(85),i=y(n(8903)),l=y(n(5951)),u=y(n(8287)),s=n(35),d=y(n(47)),f=y(n(24)),c=y(n(5945)),p=y(n(6)),v=y(n(8008));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=_(c.default,{src:"",poster:"",width:440,height:268,loop:!0,muted:!0,autoPlay:!0}),E=_(l.default,{width:24,height:24}),g=_(i.default,{width:22,height:22}),S=_(u.default,{width:24,height:24}),O=function(e){var t=e.transitionState,r=e.onClose,i=(0,o.useUID)();return _(s.ModalRoot,{"aria-labelledby":i,transitionState:t},void 0,_("div",{className:v.default.video},void 0,_("img",{className:v.default.videoFrame,alt:"",src:n(11098)}),h),_("div",{className:v.default.content},void 0,_(d.default,{id:i,className:v.default.header,tag:d.default.Tags.H2,size:d.default.Sizes.SIZE_24},void 0,p.default.Messages.THREAD_WELCOME_TITLE),_(f.default,{size:f.default.Sizes.SIZE_16,color:f.default.Colors.HEADER_SECONDARY},void 0,p.default.Messages.THREAD_WELCOME_SUBTITLE),_("ul",{className:v.default.features},void 0,_("li",{},void 0,_("div",{className:v.default.icon},void 0,E),_(f.default,{color:f.default.Colors.HEADER_SECONDARY},void 0,p.default.Messages.THREAD_WELCOME_FEATURE_CREATE)),_("li",{},void 0,_("div",{className:v.default.icon},void 0,g),_(f.default,{color:f.default.Colors.HEADER_SECONDARY},void 0,p.default.Messages.THREAD_WELCOME_FEATURE_ARCHIVE)),_("li",{},void 0,_("div",{className:v.default.icon},void 0,S),_(f.default,{color:f.default.Colors.HEADER_SECONDARY},void 0,p.default.Messages.THREAD_WELCOME_FEATURE_JOIN))),_(a.default,{onClick:r,fullWidth:!0},void 0,p.default.Messages.TUTORIAL_CLOSE)))};O.displayName="ThreadsWelcomeModal";var I=O;t.default=I},function(e,t,n){e.exports=n.p+"6c5d2f2f4adbd6b25deb1008a14c8223.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=d(n(2)),o=d(n(1357)),i=d(n(10)),l=d(n(36)),u=d(n(1408)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(){!function(){var e=l.default.getVoiceChannelId(),t=o.default.bitrate;if(null!=e){var n=i.default.getChannel(e);null!=n&&t!==n.bitrate&&a.default.dispatch({type:"SET_CHANNEL_BITRATE",bitrate:n.bitrate})}}(),function(){var e,t=l.default.getVoiceChannelId(),n=u.default.mode;if(null!=t){var r=i.default.getChannel(t);if(null!=r){var o=null!==(e=r.videoQualityMode)&&void 0!==e?e:s.VideoQualityMode.AUTO;n!==o&&a.default.dispatch({type:"SET_CHANNEL_VIDEO_QUALITY_MODE",mode:o})}}}()}function v(e){r=e.sessionId}function y(e){for(var t,n=f(e.updates);!(t=n()).done;){var r=t.value.channel;l.default.getVoiceChannelId()===r.id&&p()}}function m(e){r===e.sessionId&&p()}var _={init:function(){a.default.subscribe(s.ActionTypes.CONNECTION_OPEN,v),a.default.subscribe(s.ActionTypes.CHANNEL_UPDATES,y),a.default.subscribe(s.ActionTypes.VOICE_STATE_UPDATE,m)}};t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=O(n(23)),i=O(n(11101)),l=O(n(8535)),u=O(n(403)),s=O(n(105)),d=n(121),f=O(n(11102)),c=O(n(11104)),p=O(n(11105)),v=O(n(11706)),y=O(n(11709)),m=O(n(11713)),_=O(n(10344)),h=O(n(9189)),E=O(n(11742)),g=n(1),S=O(n(6128));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var C=T(p.default,{}),b=T(f.default,{}),M=T(c.default,{}),N=T(i.default,{}),A=T(v.default,{}),P=T(_.default,{}),R=T(h.default,{}),L=T(y.default,{});function D(){var e=a.useRef(null),t=a.useCallback((function(t){var n=t.duration,r=t.intensity;if(!s.default.useReducedMotion){var a=e.current;(0,o.default)(null!=a,"Shakeable is shaken when not mounted"),a.shake(n,r)}}),[]);return a.useEffect((function(){return u.default.setLayout(l.default),u.default.enable(),function(){return u.default.disable()}}),[]),a.useEffect((function(){return d.ComponentDispatch.subscribe(g.ComponentActions.SHAKE_APP,t),function(){d.ComponentDispatch.unsubscribe(g.ComponentActions.SHAKE_APP,t)}}),[t]),a.createElement(E.default,{ref:e,className:S.default.app},T(m.default,{className:S.default.layers},void 0,C),b,M,N,A,P,R,L)}D.displayName="Chat";var w=a.memo(D);t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.createElement(a.Fragment,null,D,w,j,k,U,G,F)};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(140),l=n(304),u=n(31),s=O(n(163)),d=O(n(11)),f=O(n(10)),c=O(n(15)),p=O(n(51)),v=O(n(8359)),y=O(n(94)),m=O(n(36)),_=O(n(283)),h=O(n(80)),E=O(n(365)),g=n(1247),S=n(1);function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(e,t,n){a.useEffect((function(){var r=t(),a=new o.BatchedStoreListener(e,(function(){var e=t(),a=n(r,e);null==a||v.default.isSoundDisabled(a)||(0,g.playSound)(a,.4),r=e}));return a.attach("useSound"),function(){return a.detach()}}))}function b(){return C([p.default],(function(){return{selfMute:p.default.isSelfMute(),selfDeaf:p.default.isSelfDeaf()}}),(function(e,t){var n=t.selfMute,r=t.selfDeaf;return e.selfDeaf!==r?r?"deafen":"undeafen":e.selfMute!==n?n?"mute":"unmute":void 0})),null}function M(){return C([f.default,y.default,m.default],(function(){var e=f.default.getChannel(m.default.getVoiceChannelId());return{channelType:null==e?void 0:e.type,disconnected:y.default.isDisconnected()}}),(function(e,t){var n=t.channelType,r=t.disconnected,a=e.channelType,o=e.disconnected;if(o&&o!==r){if(null!=n&&u.SILENT_JOIN_LEAVE_CHANNEL_TYPES.has(n))return;return"user_join"}if(!o&&o!==r){if(null!=a&&u.SILENT_JOIN_LEAVE_CHANNEL_TYPES.has(a))return;return"disconnect"}})),null}function N(){return C([_.default],(function(){return _.default.isCurrentUserSpeaking()}),(function(e,t){if(e!==t){var n=p.default.isSelfMute();if(p.default.getMode()===S.InputModes.PUSH_TO_TALK&&!n)return t?"ptt_start":"ptt_stop"}})),null}function A(){return C([p.default],(function(){return p.default.isSelfMutedTemporarily()}),(function(e,t){if(e!==t){var n=p.default.isSelfMute();if(p.default.getMode()===S.InputModes.VOICE_ACTIVITY&&!n)return t?"ptt_stop":"ptt_start"}})),null}function P(){return C([h.default],(function(){return h.default.userHasBeenMovedVersion}),(function(e,t){if(e!==t)return"user_moved"})),null}function R(){return C([m.default,h.default],(function(){var e=m.default.getVoiceChannelId();if(null==e)return l.RequestToSpeakStates.NONE;var t=h.default.getVoiceStateForChannel(e);return(0,l.getAudienceRequestToSpeakState)(t)}),(function(e,t){if(e!==t&&t===l.RequestToSpeakStates.REQUESTED_TO_SPEAK_AND_AWAITING_USER_ACK)return"reconnect"})),null}function L(){return C([m.default,s.default,d.default,h.default,f.default],(function(){var e,t,n=m.default.getVoiceChannelId(),r=d.default.getId(),a=0,o=[],l=null,u=0,c=s.default.getAllActiveStreams();if(null!=n){var p=f.default.getChannel(n);null!=p&&(t=p.type,a=E.default.countVoiceStatesForChannel(p.id)-1,o=s.default.getAllApplicationStreamsForChannel(p.id).map((function(e){return e.ownerId})))}var v=null;return(null===(e=v=1===c.length?c[0]:null!=r?s.default.getActiveStreamForUser(r):null)||void 0===e?void 0:e.state)===S.ApplicationStreamStates.CONNECTING&&(v=null),null!=v&&(l=(0,i.encodeStreamKey)(v),u=s.default.getViewerIds(l).filter((function(e){return e!==r})).length),{channelType:t,voiceChannelId:n,voiceChannelUserCount:a,streamingUserIds:o,singleActiveStreamKey:l,singleActiveStreamViewerCount:u,currentUserId:r,allActiveStreams:c}}),(function(e,t){var n=t.channelType,r=t.voiceChannelId,a=t.voiceChannelUserCount,o=t.streamingUserIds,i=t.singleActiveStreamKey,l=t.singleActiveStreamViewerCount,s=t.currentUserId;if(e.voiceChannelId===r&&null!=r&&!(function(e){var t=f.default.getChannel(e);if(null==t)return!1;var n=t.getGuildId();if(null==n)return!1;var r=c.default.getGuild(n);return null!=r&&r.afkChannelId===t.id}(r)||null!=n&&u.SILENT_JOIN_LEAVE_CHANNEL_TYPES.has(n))){var d=null!=i&&e.singleActiveStreamKey===i,p=o.some((function(t){return!e.streamingUserIds.includes(t)})),v=e.allActiveStreams.map((function(e){return e.ownerId})),y=e.streamingUserIds.some((function(e){return!o.includes(e)&&(e===s||v.includes(e))}));return p?"stream_started":y?"stream_ended":e.singleActiveStreamViewerCount<=25&&d&&l>e.singleActiveStreamViewerCount?"stream_user_joined":e.voiceChannelUserCount<=25&&a>e.voiceChannelUserCount?"user_join":e.voiceChannelUserCount<=25&&a<e.voiceChannelUserCount?"user_leave":e.singleActiveStreamViewerCount<=25&&d&&l<e.singleActiveStreamViewerCount?"stream_user_left":void 0}})),null}var D=T(b,{}),w=T(M,{}),j=T(N,{}),k=T(A,{}),U=T(P,{}),G=T(L,{}),F=T(R,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=v(n(11103)),o=v(n(66)),i=v(n(3)),l=v(n(1223)),u=v(n(10383)),s=v(n(8359)),d=v(n(70)),f=v(n(16)),c=v(n(43)),p=n(1);function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=new Set(["Blink","Gecko","WebKit"]),h=p.NOOP;if(f.default.embedded)h=function(e){return c.default.setBadge(e)};else if(_.has(o.default.layout)){var E=new a.default({animation:"none"});h=function(e){try{E.badge(-1===e?"•":e)}catch(e){}}}var g=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).cancelBounce=null,t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var a=r.prototype;return a.componentDidMount=function(){this.componentDidUpdate()},a.componentDidUpdate=function(){var e=this.props,t=e.badge,n=e.hasIncomingCalls;h(t),n&&!this.cancelBounce?this.cancelBounce=c.default.bounceDock("critical"):!n&&this.cancelBounce&&(this.cancelBounce(),this.cancelBounce=null)},a.componentWillUnmount=function(){h(0),this.cancelBounce&&(this.cancelBounce(),this.cancelBounce=null)},a.render=function(){return null},r}(r.PureComponent);g.displayName="AppBadge";var S=function(){return null};h!==p.NOOP&&(S=i.default.connectStores([l.default,u.default,d.default,s.default],(function(){var e=l.default.getTotalMentionCount(),t=d.default.getPendingCount(),n=l.default.hasAnyUnread(),r=s.default.getDisableUnreadBadge(),a=e+t;return 0===a&&n&&!r&&(a=-1),{badge:a,hasIncomingCalls:u.default.hasIncomingCalls()}}))(g));var O=S;t.default=O},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=_(n(133)),o=_(n(3)),i=_(n(288)),l=_(n(473)),u=_(n(1223)),s=_(n(51)),d=_(n(8359)),f=_(n(94)),c=_(n(70)),p=_(n(283)),v=_(n(16)),y=_(n(43)),m=n(1);function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=(0,a.default)({DEFAULT:null,UNREAD:null,CONNECTED:null,SPEAKING:null,MUTED:null,DEAFENED:null}),S=v.default.isOSX(),O=v.default.isLinux(),I=S?null:g.DEFAULT,T=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).getIcon=function(){var e=t.props,n=e.deafened,r=e.muted,a=e.speaking,o=e.connected,i=e.unread,l=I;return S&&!o?l:O||!o?(i&&(l=g.UNREAD),l):l=n?g.DEAFENED:r?g.MUTED:a?g.SPEAKING:g.CONNECTED},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,E(t,n);var a=r.prototype;return a.componentDidMount=function(){y.default.setSystemTrayIcon(this.getIcon())},a.componentDidUpdate=function(){y.default.setSystemTrayIcon(this.getIcon())},a.componentWillUnmount=function(){y.default.setSystemTrayIcon(I)},a.render=function(){return null},r}(r.PureComponent);T.displayName="AppTray";var C=function(){return null};v.default.embedded&&(y.default.on("SYSTEM_TRAY_TOGGLE_MUTE",(function(){return i.default.toggleSelfMute()})),y.default.on("SYSTEM_TRAY_TOGGLE_DEAFEN",(function(){return i.default.toggleSelfDeaf()})),y.default.on("SYSTEM_TRAY_OPEN_VOICE_SETTINGS",(function(){l.default.open(m.UserSettingsSections.VOICE)})),C=o.default.connectStores([f.default,s.default,p.default,u.default,c.default,d.default],(function(){var e=u.default.getTotalMentionCount(),t=u.default.hasAnyUnread(),n=c.default.getPendingCount(),r=!d.default.getDisableUnreadBadge()&&!!(t||e+n>0);return{connected:f.default.isConnected(),speaking:p.default.isCurrentUserSpeaking(),muted:s.default.isSelfMute()||s.default.isSelfMutedTemporarily(),deafened:s.default.isSelfDeaf(),unread:r}}))(T));var b=C;t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=De;var r,a=te(n(0)),o=Q(n(9)),i=n(192),l=n(95),u=te(n(3)),s=n(5943),d=Q(n(105)),f=Q(n(1182)),c=Q(n(688)),p=Q(n(11106)),v=Q(n(11109)),y=Q(n(11116)),m=Q(n(11147)),_=Q(n(10029)),h=Q(n(11259)),E=Q(n(182)),g=Q(n(11260)),S=Q(n(5939)),O=Q(n(6050)),I=Q(n(11300)),T=Q(n(11)),C=Q(n(10)),b=Q(n(9035)),M=Q(n(298)),N=Q(n(8955)),A=Q(n(36)),P=Q(n(361)),R=Q(n(12)),L=Q(n(11318)),D=n(259),w=Q(n(8257)),j=Q(n(11319)),k=Q(n(11350)),U=Q(n(11405)),G=Q(n(11407)),F=Q(n(11418)),B=Q(n(11419)),H=Q(n(6127)),x=Q(n(11444)),V=Q(n(11458)),W=n(9209),Y=n(9210),z=Q(n(11465)),K=Q(n(9243)),$=Q(n(11690)),Z=Q(n(11693)),q=n(1),X=Q(n(6)),J=Q(n(8195));function Q(e){return e&&e.__esModule?e:{default:e}}function ee(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return ee=function(){return e},e}function te(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=ee();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function ne(){return(ne=Object.assign||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}).apply(this,arguments)}function re(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var ae=re(k.default,{}),oe=function(e){var t=e.match,n=(0,u.useStateFromStores)([C.default,A.default],(function(){var e=A.default.getChannelId();return C.default.getChannel(e)}));if(null!=n&&n.type===q.ChannelTypes.GUILD_STORE){var r=t.params.messageId;return re(U.default,{channel:n,inputSkuId:r},n.id)}return ae};oe.displayName="ChannelRenderer";var ie=u.default.connectStores([P.default,M.default,b.default,T.default,c.default,E.default,R.default],(function(){var e;return{guildFolders:P.default.guildFolders,expandedFolders:b.default.getExpandedFolders(),totalUnavailableGuilds:M.default.totalUnavailableGuilds,lurkingGuildIds:E.default.lurkingGuildIds(),isGuest:T.default.isGuest(),isStaff:null===(e=R.default.getCurrentUser())||void 0===e?void 0:e.isStaff(),isAppFullscreen:c.default.isFullscreenInContext()}}))(_.default),le=re(V.default,{}),ue=re(F.default,{}),se=a.memo((function(e){var t=e.hideSelectedChannel,n=(0,S.default)(),r=n.guildId,a=n.channelId;return window.location.pathname.startsWith(q.Routes.GUILD_DISCOVERY)?le:null!=r?re(y.default,{selectedChannelId:a,guildId:r,hideSelectedChannel:t},r):ue})),de=function(e){var t=e.match.params,n=t.guildId,r=t.eventId;return re(m.default,{guildId:n,eventId:r})};function fe(e){var t=(0,S.default)((function(e){return e.guildId}));return a.createElement(K.default,ne({},e,{guildId:t}))}de.displayName="renderUpcomingStages",fe.displayName="ConnectedActivityPanelGameCard";var ce=function(e){var t=e.match;return re(oe,{match:t})};ce.displayName="renderChannel";var pe=function(e){var t=e.match;return null!=t.params.guildId?re(v.default,{guildId:t.params.guildId}):ce({match:t})},ve=function(e){var t=null!=e&&e.length>0&&e.startsWith("?")?e.split("?")[1]:null;return re(x.default,{searchRoute:t})};ve.displayName="renderGuildDiscovery";var ye=function(e){var t=e.match;return null!=t.params.guildId?re(p.default,{guildId:t.params.guildId,inviteCode:t.params.inviteCode}):null},me=function(e){var t=e.match;return null!=t.params.guildId?re(h.default,{guildId:t.params.guildId,inviteCode:t.params.inviteCode}):null},_e=re(B.default,{}),he=function(){return _e};he.displayName="renderApplicationLibrary";var Ee=re(H.default,{}),ge=function(){return Ee};ge.displayName="renderLazyApplicationStore";var Se=re(g.default,{}),Oe=function(){return Se};Oe.displayName="renderPeople";var Ie=re(I.default,{}),Te=function(){return Ie};function Ce(){return window.location.pathname.startsWith(q.Routes.APPLICATION_STORE)}Te.displayName="renderStageDiscovery";var be=re($.default,{}),Me=re(Z.default,{}),Ne=re(z.default,{});function Ae(e){var t,n=e.isGuest,r=e.hasNotice,a=e.sidebarTheme,i=e.hideSidebar,l=(0,u.useStateFromStores)([c.default],(function(){return c.default.isFullscreenInContext()}));if(i)return null;var s=Ce()?J.default.hiddenOnMobileStore:null;return re("div",{className:(0,o.default)(J.default.sidebar,s,(0,D.getThemeClass)(a),(t={},t[J.default.hasNotice]=r,t[J.default.hidden]=l,t))},void 0,re(se,{hideSelectedChannel:window.location.pathname.startsWith(q.Routes.GUILD_PROGRESS(""))}),re("section",{className:J.default.panels,"aria-label":X.default.Messages.ACCOUNT_A11Y_LABEL},void 0,be,re(w.default,{section:q.AnalyticsSections.ACTIVITY_PANEL},void 0,re(fe,{className:J.default.activityPanel})),Me,re(w.default,{section:q.AnalyticsSections.ACCOUNT_PANEL},void 0,n?null:Ne)))}Ae.displayName="ChannelSidebar";var Pe=re(L.default,{onLogin:function(){(0,W.open)(void 0,Y.open)},onRegister:function(){(0,Y.open)(void 0,W.open)}});var Re=re(G.default,{}),Le=re(j.default,{});function De(){var e,t,n,r=(0,u.useStateFromStores)([T.default],(function(){return T.default.isGuest()})),c=(0,u.useStateFromStores)([N.default],(function(){return N.default.hasNotice()})),p=(0,u.useStateFromStores)([d.default],(function(){return d.default.darkSidebar?q.ThemeTypes.DARK:void 0})),v=Ce()?J.default.hiddenOnMobileStore:null,y=(e=a.useState((function(){return window.location.pathname.startsWith(q.Routes.GUILD_MEMBER_VERIFICATION(""))})),t=e[0],n=e[1],a.useEffect((function(){return O.default.addRouteChangeListener((function(e){n(e.pathname.startsWith(q.Routes.GUILD_MEMBER_VERIFICATION("")))}))}),[]),t),m=function(){var e=a.useState((function(){return window.location.pathname.startsWith(q.Routes.GUILD_MEMBER_VERIFICATION_FOR_HUB(""))})),t=e[0],n=e[1];return a.useEffect((function(){return O.default.addRouteChangeListener((function(e){n(e.pathname.startsWith(q.Routes.GUILD_MEMBER_VERIFICATION_FOR_HUB("")))}))}),[]),t}(),_=y||m,h=(0,i.useRouteMatch)([q.Routes.CHANNEL(q.ME,":channelId"),q.Routes.CHANNEL(":guildId",":channelId?",":messageId?")]);return re("div",{className:J.default.container},void 0,re(ie,{className:(0,o.default)(J.default.guilds,v),themeOverride:p}),re(s.GuildIDContext.Provider,{value:(null==h?void 0:h.params.guildId)===q.ME||null==h?void 0:h.params.guildId},void 0,re("div",{className:J.default.base},void 0,Re,re("div",{className:J.default.content},void 0,a.createElement(Ae,{isGuest:r,hasNotice:c,sidebarTheme:p,hideSidebar:_}),re(i.Switch,{},void 0,re(f.default,{path:q.Routes.ACTIVITY,disableTrack:!0},void 0,re(i.Redirect,{to:q.Routes.ME})),re(f.default,{path:q.Routes.APPLICATION_LIBRARY,render:he,impressionName:l.ImpressionNames.APPLICATION_LIBRARY,disableTrack:!0}),re(f.default,{path:q.Routes.APPLICATION_STORE,render:ge,impressionName:l.ImpressionNames.APPLICATION_STORE,disableTrack:!0}),re(f.default,{path:q.Routes.ME,exact:!0,render:Oe,impressionName:l.ImpressionNames.FRIENDS,disableTrack:!0}),re(f.default,{path:q.Routes.GUILD_PROGRESS(":guildId"),render:pe}),re(f.default,{path:q.Routes.UPCOMING_STAGES(":guildId",":eventId?"),render:de,disableTrack:!0}),re(f.default,{path:[q.Routes.CHANNEL(q.ME,":channelId"),q.Routes.CHANNEL(":guildId",":channelId?",":messageId?")],render:ce,impressionName:l.ImpressionNames.GUILD_CHANNEL,disableTrack:!0}),re(f.default,{path:q.Routes.GUILD_DISCOVERY,render:function(e){var t=e.location;return ve(t.search)},impressionName:l.ImpressionNames.GUILD_DISCOVERY,disableTrack:!0}),re(f.default,{path:q.Routes.GUILD_MEMBER_VERIFICATION(":guildId",":inviteCode?"),render:ye,impressionName:l.ImpressionNames.GUILD_MEMBER_VERIFICATION,disableTrack:!0}),re(f.default,{path:q.Routes.GUILD_MEMBER_VERIFICATION_FOR_HUB(":guildId",":inviteCode?"),render:me,impressionName:l.ImpressionNames.HUB_EMAIL_VERIFICATION_PAGE,disableTrack:!0}),re(f.default,{path:q.Routes.STAGE_DISCOVERY,exact:!0,render:Te,impressionName:l.ImpressionNames.STAGE_DISCOVERY,disableTrack:!0})),function(e){return e?Pe:null}(r)))),Le)}De.displayName="AppView"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MemberVerificationPreviewDisabled=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=N();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(42),l=M(n(15)),u=M(n(29)),s=M(n(1189)),d=n(197),f=M(n(466)),c=n(41),p=M(n(24)),v=n(487),y=M(n(150)),m=M(n(8294)),_=M(n(8410)),h=M(n(8411)),E=n(8262),g=M(n(1233)),S=M(n(9187)),O=M(n(11107)),I=M(n(9128)),T=n(1),C=M(n(6)),b=M(n(8009));function M(e){return e&&e.__esModule?e:{default:e}}function N(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return N=function(){return e},e}function A(){return(A=Object.assign||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}).apply(this,arguments)}function P(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var R=function(e){var t,n=e.guildId,r=e.inviteCode,M=a.useState(d.WaveStates.INITIAL),N=M[0],R=M[1],L=(0,o.useStateFromStores)([h.default],(function(){return h.default.get(n)})),D=(0,o.useStateFromStores)([g.default],(function(){return g.default.getRequest(n)})),w=(0,o.useStateFromStores)([l.default],(function(){return l.default.getGuild(n)})),j=(0,o.useStateFromStoresObject)([g.default],(function(){return{hasFetchedRequestToJoinGuilds:g.default.hasFetchedRequestToJoinGuilds,guildPreviewDisabled:g.default.getJoinRequestGuild(n)}})),k=j.hasFetchedRequestToJoinGuilds,U=j.guildPreviewDisabled;a.useEffect((function(){null!=w&&(0,i.transitionTo)(T.Routes.CHANNEL(n))}),[w,n]),a.useEffect((function(){k||m.default.fetchRequestToJoinGuilds()}),[k]);var G=a.useCallback((function(e){R((function(t){return Math.max(t,e)}))}),[]),F=function(e,t){return function(){(0,c.openModal)((function(n){return a.createElement(f.default,A({header:C.default.Messages.MEMBER_VERIFICATION_CONFIRM_LEAVE_TITLE,cancelText:C.default.Messages.NEVERMIND,onConfirm:t,confirmText:C.default.Messages.YES_TEXT,confirmButtonColor:u.default.Colors.RED},n),P(p.default,{size:p.default.Sizes.SIZE_14,color:p.default.Colors.HEADER_SECONDARY},void 0,e))}))}},B=function(){m.default.resetGuildJoinRequest(n)},H=F(C.default.Messages.LEAVE_SERVER_BODY.format({name:null==w?void 0:w.toString()}),(function(){R(Math.max(N,d.WaveStates.FILLING)),m.default.removeGuildJoinRequest(n),(0,i.transitionTo)(T.Routes.ME)})),x=P(I.default,{guildId:n,inviteCode:r,onComplete:function(e){_.default.submitVerificationForm(n,e)}}),V=null!=(null==L||null===(t=L.guild)||void 0===t?void 0:t.splash)?y.default.getGuildSplashURL({id:L.guild.id,splash:L.guild.splash}):(0,v.getArtForPath)();return P("div",{className:b.default.page},void 0,P(s.default,{embedded:!0,splash:V,waveState:N,showLogo:!1,updateWaveState:G},void 0,P("div",{className:b.default.dragRegion}),P("div",{className:b.default.contentWrapper},void 0,function(){switch(null==D?void 0:D.applicationStatus){case E.GuildJoinRequestApplicationStatuses.PENDING:return P(O.default,{onCancel:F(C.default.Messages.MEMBER_VERIFICATION_CANCEL_PENDING_APPLICATION_MODAL_TITLE,B),onLeave:H,guild:U});case E.GuildJoinRequestApplicationStatuses.REJECTED:return P(S.default,{reapplyText:C.default.Messages.MEMBER_VERIFICATION_APPLICATION_REAPPLY,onReapply:B,confirmText:C.default.Messages.LEAVE_SERVER,onConfirm:H,rejectionReason:null==D?void 0:D.rejectionReason,guild:U});default:return x}}())))};t.MemberVerificationPreviewDisabled=R,R.displayName="MemberVerificationPreviewDisabled";var L=R;t.default=L},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=c(n(29)),o=c(n(55)),i=c(n(371)),l=c(n(47)),u=c(n(24)),s=c(n(6)),d=c(n(7350)),f=c(n(11108));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=function(e){var t=e.onCancel,n=e.onLeave,r=e.guild,c=void 0===r?null:r;return v(o.default,{direction:o.default.Direction.VERTICAL,align:o.default.Align.CENTER,className:d.default.confirmation},void 0,v("div",{className:d.default.confirmationContent},void 0,null!==c?v(i.default,{size:i.default.Sizes.LARGER,guild:c,className:d.default.guildIcon}):v("img",{alt:s.default.Messages.MEMBER_VERIFICATION_PENDING_APPLICATION_ICON,src:f.default,className:d.default.verificationStateIcon}),v(l.default,{size:l.default.Sizes.SIZE_24,className:d.default.header},void 0,(null==c?void 0:c.name)?s.default.Messages.MEMBER_VERIFICATION_APPLICATION_CONFIRMATION_TITLE_WITH_GUILD_NAME.format({guildName:null==c?void 0:c.name}):s.default.Messages.MEMBER_VERIFICATION_APPLICATION_CONFIRMATION_TITLE),v(u.default,{size:u.default.Sizes.SIZE_14,color:u.default.Colors.HEADER_SECONDARY},void 0,s.default.Messages.MEMBER_VERIFICATION_APPLICATION_CONFIRMATION_SUBTITLE)),v("div",{className:d.default.confirmationButtonColumn},void 0,v(a.default,{onClick:t,look:a.default.Looks.LINK,color:a.default.Colors.LINK,size:a.default.Sizes.SMALL},void 0,s.default.Messages.MEMBER_VERIFICATION_CANCEL_APPLICATION),v(a.default,{onClick:n,look:a.default.Looks.LINK,color:a.default.Colors.LINK,size:a.default.Sizes.SMALL},void 0,s.default.Messages.MEMBER_VERIFICATION_PENDING_APPLICATION_MODAL_WITHDRAW_AND_LEAVE)))};y.displayName="MemberVerificationApplicationSubmitConfirmation";var m=y;t.default=m},function(e,t,n){e.exports=n.p+"5c8224502da542e816a0f83a1f6b535b.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=S;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(9)),i=n(3),l=y(n(61)),u=y(n(372)),s=y(n(8320)),d=y(n(24)),f=y(n(9945)),c=n(10384),p=y(n(6)),v=y(n(8014));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e){var t,n,r,a,i=e.completed,f=e.selected,c=e.title,p=e.subtitle,y=e.onSelect,m=e.children;return _("div",{className:v.default.task},void 0,_(l.default,{className:(0,o.default)(v.default.taskHeader,(t={},t[v.default.selected]=f,t)),onClick:y},void 0,_("div",{className:(0,o.default)(v.default.checkmarkContainer,(n={},n[v.default.completed]=i,n))},void 0,_(u.default,{className:v.default.checkmark})),_("div",{className:v.default.info},void 0,_(d.default,{size:d.default.Sizes.SIZE_16,className:v.default.taskTitle},void 0,c),_(d.default,{className:(0,o.default)(v.default.taskSubtitle,(r={},r[v.default.selected]=f,r))},void 0,p)),_(s.default,{className:v.default.expandArrow,open:f})),_("div",{className:(0,o.default)(v.default.taskBody,(a={},a[v.default.selected]=f,a))},void 0,m))}h.displayName="TaskItem";var E=_("div",{},void 0,"ART TODO");function g(e){var t=e.guildId;return _("div",{className:(0,o.default)(v.default.task,v.default.complete)},void 0,E,_(d.default,{size:d.default.Sizes.SIZE_24,color:d.default.Colors.HEADER_PRIMARY,className:v.default.bodyText},void 0,p.default.Messages.PROGRESS_COMPLETED),_(d.default,{className:v.default.bodyText},void 0,p.default.Messages.PROGRESS_COMPLETED_DESCRIPTION),c.AFTER_COMPLETION_STEP_DATA.map((function(e,n){return _(l.default,{className:v.default.followupItem,onClick:function(){return e.onClick(t)}},n,_(e.Icon,{width:24,height:24,className:v.default.followupIcon}),_("div",{className:v.default.followupInfo},void 0,_(d.default,{size:d.default.Sizes.SIZE_16,color:d.default.Colors.HEADER_PRIMARY,className:v.default.followupTitle},void 0,e.title()),_(d.default,{size:d.default.Sizes.SIZE_12,color:d.default.Colors.HEADER_SECONDARY},void 0,e.subtitle())),_(s.default,{className:v.default.caret}))})))}function S(e){var t=e.guildId,n=(0,i.useStateFromStores)([f.default],(function(){return f.default.getProgress(t)}),[t]),r=a.useState((0,c.getCurrentStep)(n)),o=r[0],l=r[1];return a.useEffect((function(){l((0,c.getCurrentStep)(n))}),[n,l]),null==n?null:_("div",{className:v.default.container},void 0,_("div",{className:v.default.contentContainer},void 0,_(d.default,{className:v.default.headerText,size:d.default.Sizes.SIZE_24},void 0,p.default.Messages.SET_UP_YOUR_SERVER),_(d.default,{className:v.default.headerSubtext},void 0,p.default.Messages.SET_UP_DESCRIPTION),c.STEP_DATA.map((function(e){var r=e.Component;return _(h,{title:e.title(),subtitle:e.subtitle(),selected:o===e.step,completed:n.has(e.step),onSelect:function(){return!n.has(e.step)&&l(e.step)}},e.step,_(r,{guildId:t}))})),null==(0,c.getCurrentStep)(n)?_(g,{guildId:t}):null))}g.displayName="Completed",S.displayName="GuildProgress"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=S;var r,a=h(n(0)),o=m(n(8)),i=n(3),l=m(n(391)),u=m(n(180)),s=h(n(86)),d=m(n(29)),f=m(n(153)),c=m(n(24)),p=n(1),v=m(n(6)),y=m(n(8010));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e){var t=e.channel,n=(0,u.default)(t,!0);return E(c.default,{className:y.default.topic},t.id,n)}function S(e){var t=e.guildId,n=a.useState(""),r=n[0],u=n[1],c=a.useState(!1),m=c[0],_=c[1],h=(0,i.useStateFromStores)([s.default],(function(){var e=s.default.getChannels(t);return o.default.filter(e[s.GUILD_SELECTABLE_CHANNELS_KEY],(function(e){return e.channel.type===p.ChannelTypes.GUILD_TEXT})).map((function(e){return e.channel}))})),S=function(){var e;l.default.createTextChannel(t,r,null===(e=h[0])||void 0===e?void 0:e.parent_id).then((function(){return u("")}),(function(){return _(!0)}))};return E("div",{className:y.default.container},void 0,E("div",{className:y.default.inputWrapper},void 0,E(f.default,{value:r,onChange:u,placeholder:v.default.Messages.ENTER_NEW_TOPIC,className:y.default.input,error:m?v.default.Messages.CREATE_CHANNEL_ERROR:null,onKeyPress:function(e){e.which===p.KeyboardKeys.ENTER&&S()}}),E(d.default,{onClick:S,color:d.default.Colors.BRAND,className:y.default.button},void 0,v.default.Messages.ADD_TOPIC)),E("div",{},void 0,h.map((function(e){return E(g,{channel:e})}))))}g.displayName="ChannelStepText",S.displayName="ChannelStep"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(8325)),i=n(3),l=m(n(390)),u=m(n(9188)),s=m(n(8391)),d=m(n(1216)),f=m(n(86)),c=m(n(15)),p=n(8381),v=n(1),y=m(n(8011));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e){var t=e.guildId,n=(0,i.useStateFromStores)([c.default],(function(){return c.default.getGuild(t)})),r=(0,i.useStateFromStores)([f.default],(function(){return f.default.getDefaultChannel(t)})),m=(0,u.default)(r),_=a.useState({textValue:"",richValue:o.default.deserialize("")}),E=_[0],g=_[1],S=a.useRef(null);if(null==n||null==r)return null;return h("div",{className:y.default.container},void 0,a.createElement(s.default,{ref:S,className:y.default.textArea,textValue:E.textValue,richValue:E.richValue,channel:r,onChange:function(e,t,n){g({textValue:t,richValue:n})},onSubmit:function(){return null!=S.current?(0,p.applyChatRestrictions)({target:S.current,type:v.TextareaTypes.NORMAL,content:E.textValue,channel:r}).then((function(e){if(!e.valid)return{shouldClear:!1,shouldRefocus:!1};var t=d.default.parse(r,E.textValue);return l.default.sendMessage(r.id,t,!0),g({textValue:"",richValue:o.default.deserialize("")}),{shouldClear:!0,shouldRefocus:!1}})):Promise.resolve({shouldClear:!1,shouldRefocus:!1})},type:v.TextareaTypes.FORM,placeholder:m,focused:!0}))}E.displayName="ChatStep"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=f(n(8254)),i=f(n(8338)),l=f(n(15)),u=f(n(150)),s=f(n(6)),d=f(n(8012));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.guildId,n=(0,a.useStateFromStores)([l.default],(function(){return l.default.getGuild(t)}));return null==n?null:p("div",{className:d.default.container},void 0,p(i.default,{name:n.name,avatar:n.icon,makeURL:function(e){return null!=e&&u.default.getGuildIconURL({id:n.id,icon:e,canAnimate:!0})},onChange:function(e){o.default.saveGuild(n.id,{icon:e})},hint:s.default.Messages.CHANGE_ICON,showIcon:!0,className:d.default.avatar,avatarClassName:d.default.avatarInner,showRemoveButton:!1}))}v.displayName="GuildAvatarStep"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=O(n(11114)),l=O(n(8283)),u=O(n(1258)),s=O(n(86)),d=O(n(15)),f=O(n(8521)),c=O(n(271)),p=O(n(29)),v=O(n(5969)),y=n(41),m=O(n(24)),_=n(8286),h=n(1163),E=n(1),g=O(n(6)),S=O(n(8013));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(){return(C=Object.assign||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}).apply(this,arguments)}function b(e){var t=e.guildId,n=a.useState(!1),r=n[0],O=n[1],I=(0,o.useStateFromStores)([s.default],(function(){return s.default.getDefaultChannel(t)})),b=(0,o.useStateFromStores)([d.default],(function(){return d.default.getGuild(t)})),M=(0,o.useStateFromStores)([f.default],(function(){return null!=I?f.default.getInvite(I.id):null}));if(a.useEffect((function(){null!=I&&i.default.init(t,I.id,{})}),[]),null==I||null==b)return null;return T("div",{className:S.default.container},void 0,T("div",{className:S.default.inputWrapper},void 0,T(v.default,{className:S.default.input,value:(0,u.default)(null==M?void 0:M.code),buttonColor:p.default.Colors.BRAND,buttonLook:p.default.Looks.FILLED,onCopy:function(){O(!0),null!=M&&(0,h.copy)(M.code)},text:r?g.default.Messages.INVITE_COPIED:g.default.Messages.COPY_LINK})),null!=M?T(m.default,{size:m.default.Sizes.SIZE_12,className:S.default.footerText},void 0,(0,_.maxAgeString)(M.maxAge,M.maxUses)," ",T(c.default,{onClick:function(){(0,y.openModal)((function(e){return a.createElement(l.default,C({},e,{guild:b,channel:I,source:E.InstantInviteSources.GUILD_PROGRESS,forceSettings:!0}))}))}},void 0,g.default.Messages.INVITE_EDIT_LINK)):null)}b.displayName="InviteStep"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(2)),a=s(n(11115)),o=s(n(13)),i=s(n(1211)),l=n(1),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}var d={init:function(e,t,n){var a=n.location,o=void 0===a?"":a,i=n.targetType,u=n.targetUserId,s=n.targetApplicationId;r.default.dispatch({type:l.ActionTypes.CREATE_INVITE_MODAL_INIT,guildId:e,channelId:t,targetType:i,targetUserId:u,targetApplicationId:s}),this.createInvite(o,!0)},openSettings:function(e,t,n,a){r.default.dispatch({type:l.ActionTypes.CREATE_INVITE_MODAL_OPEN,guildId:e,channelId:t,onClose:a}),o.default.track(l.AnalyticEvents.OPEN_MODAL,{type:"Instant Invite",source:n})},updateSettings:function(e){r.default.dispatch({type:l.ActionTypes.CREATE_INVITE_MODAL_UPDATE_SETTINGS,settings:e})},resetSettings:function(){r.default.dispatch({type:l.ActionTypes.CREATE_INVITE_MODAL_RESET_SETTINGS})},createInvite:function(e,t){var n=a.default.getPendingSettings();if(null!=n){r.default.dispatch({type:l.ActionTypes.CREATE_INVITE_MODAL_GENERATE_INVITE});var o=n.channelId,s=n.maxAge,d=n.maxUses,f=n.temporary,c=n.targetType,p=n.targetUserId,v=n.targetApplicationId,y=a.default.getInvite(),m=t&&null!=y?y.code:null;i.default.createInvite(o,{temporary:f,validate:m,max_age:parseInt(s,10),max_uses:parseInt(d,10),target_type:c,target_user_id:p,target_application_id:v},e).then((function(){r.default.dispatch({type:l.ActionTypes.CREATE_INVITE_MODAL_GENERATE_INVITE_SUCCESS,channelId:o})}),(function(e){var t=u.default.Messages.INSTANT_INVITE_FAILED_TO_GENERATE;null!=e.body&&null!=e.body.message&&(t=e.body.message),r.default.dispatch({type:l.ActionTypes.CREATE_INVITE_MODAL_GENERATE_INVITE_FAILURE,message:t})}))}},close:function(){var e=a.default.onClose;r.default.dispatch({type:l.ActionTypes.CREATE_INVITE_MODAL_CLOSE}),e&&e()}};t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(23)),a=s(n(3)),o=s(n(2)),i=s(n(8286)),l=s(n(8521)),u=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(){return(c=Object.assign||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}).apply(this,arguments)}var p,v,y,m,_,h,E=i.default.INVITE_OPTIONS_7_DAYS.value,g=i.default.INVITE_OPTIONS_UNLIMITED.value,S=u.FormStates.CLOSED,O=!1;function I(e,t){var n=t.targetType,r=t.targetUserId,a=t.targetApplicationId,o=E;y=l.default.getInvite(e,{targetType:n,targetUserId:r}),m={channelId:e,maxAge:null!=y?y.maxAge:o,maxUses:null!=y?y.maxUses:g,temporary:null!=y&&y.temporary,targetType:n,targetUserId:r,targetApplicationId:a},_=m}function T(e){p=e.guildId,v=null;var t=e.targetType||null,n=e.targetUserId||null,r=e.targetApplicationId||null;I(e.channelId,{targetType:t,targetUserId:n,targetApplicationId:r})}var C=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var a,o,i,s=r.prototype;return s.init=function(){this.waitFor(l.default)},s.isOpen=function(){return S!==u.FormStates.CLOSED},s.isSubmitting=function(){return O},s.getGuildId=function(){return p},s.getError=function(){return v},s.getInvite=function(){return y},s.getInviteSettings=function(){return m},s.getPendingSettings=function(){return _},s.getProps=function(){return{}},a=r,(o=[{key:"onClose",get:function(){return h}}])&&d(a.prototype,o),i&&d(a,i),r}(a.default.Store))(o.default,{CREATE_INVITE_MODAL_INIT:function(e){T(e)},CREATE_INVITE_MODAL_OPEN:function(e){var t;S=u.FormStates.OPEN,h=null!==(t=e.onClose)&&void 0!==t?t:null,T(e)},CREATE_INVITE_MODAL_UPDATE_SETTINGS:function(e){var t=e.settings;null!=_&&(_=c({},_,{},t))},CREATE_INVITE_MODAL_RESET_SETTINGS:function(e){_=m},CREATE_INVITE_MODAL_GENERATE_INVITE:function(e){return m=_,void(O=!0)},CREATE_INVITE_MODAL_GENERATE_INVITE_SUCCESS:function(e){var t=e.channelId;v=null,O=!1,(0,r.default)(null!=m,"No invite settings for generated invite");var n=m;I(t,{targetType:n.targetType,targetUserId:n.targetUserId,targetApplicationId:n.targetApplicationId})},CREATE_INVITE_MODAL_GENERATE_INVITE_FAILURE:function(e){y=null,O=!1,v=e.message},CREATE_INVITE_MODAL_CLOSE:function(e){return S=u.FormStates.CLOSED,void(h=null)}});t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=he;var r,a=se(n(0)),o=n(122),i=n(3),l=n(57),u=le(n(2)),s=n(389),d=le(n(11117)),f=se(n(8357)),c=n(5943),p=le(n(105)),v=le(n(11118)),y=le(n(8573)),m=le(n(727)),_=le(n(11119)),h=n(9021),E=n(8277),g=le(n(11120)),S=n(280),O=le(n(10388)),I=le(n(6050)),T=le(n(8559)),C=le(n(11)),b=le(n(1212)),M=le(n(8919)),N=le(n(10)),A=le(n(9023)),P=le(n(715)),R=le(n(298)),L=le(n(1252)),D=le(n(86)),w=le(n(1223)),j=le(n(15)),k=le(n(694)),U=le(n(40)),G=le(n(94)),F=le(n(181)),B=le(n(39)),H=le(n(12)),x=le(n(10389)),V=le(n(10390)),W=le(n(365)),Y=le(n(29)),z=le(n(278)),K=se(n(149)),$=n(250),Z=le(n(47)),q=le(n(24)),X=le(n(13)),J=le(n(9954)),Q=le(n(9995)),ee=le(n(11127)),te=le(n(11130)),ne=le(n(11145)),re=n(1),ae=le(n(6)),oe=le(n(8029)),ie=le(n(11146));function le(e){return e&&e.__esModule?e:{default:e}}function ue(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return ue=function(){return e},e}function se(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=ue();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function de(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function fe(){return(fe=Object.assign||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}).apply(this,arguments)}function ce(e,t){return(ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pe(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function ve(){X.default.track(re.AnalyticEvents.PREMIUM_UPSELL_VIEWED,{type:S.PremiumUpsellTypes.GUILD_MEMBER_AVATAR_TOOLTIP,location:{page:re.AnalyticsPages.GUILD_CHANNEL}})}function ye(){X.default.track(re.AnalyticEvents.TOOLTIP_VIEWED,{type:"Guild Stickers Guild Header Tooltip"})}function me(e){var t=e.header,n=e.content,r=e.buttonCTA,o=e.onClick,i=e.onComponentMount,l=e.asset;return a.useEffect((function(){return null==i?void 0:i()}),[]),pe("div",{className:oe.default.subscribeTooltipWrapper},void 0,l,pe(Z.default,{className:oe.default.subscribeTooltipHeader,size:Z.default.Sizes.SIZE_16},void 0,t),pe(q.default,{className:oe.default.subscribeTooltipText,size:q.default.Sizes.SIZE_14},void 0,n),pe(Y.default,{className:oe.default.subscribeTooltipButton,color:Y.default.Colors.BRAND,look:Y.default.Looks.INVERTED,onClick:o},void 0,r))}me.displayName="GuildHeaderTooltip";var _e=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).historyUnlisten=function(){},t.showTimeout=new l.Timeout,t.state={controller:new o.Controller({value:1,immediate:!0}),renderBanner:!1,bannerVisible:!1,shouldShowSubscribeTooltip:!1},t.handleHistoryChange=function(e){null!=e.state&&e.state.shouldShowSubscribeTooltip&&t.showTimeout.start(1e3,(function(){return t.setState({shouldShowSubscribeTooltip:!0})}))},t.handleContextMenu=function(e){var n=t.props.guild;null!=n&&(0,s.openContextMenu)(e,(function(e){return a.createElement(v.default,fe({},e,{guild:n}))}))},t.handleHeaderContextMenu=function(e){var n=t.props.guild;null!=n&&(0,s.openContextMenu)(e,(function(e){return a.createElement(y.default,fe({},e,{guild:n}))}))},t.handleCloseDropdownIconTooltips=function(){var e=t.props.guild;t.showTimeout.stop(),t.state.shouldShowSubscribeTooltip&&t.setState({shouldShowSubscribeTooltip:!1}),null!=e&&m.default.hideGuildTemplateDirtyTooltip(e.id)},t.handleCloseServerIdentityTooltip=function(){(0,E.hideHotspot)(E.HotspotLocations.GUILD_PER_SERVER_AVATAR_GUILD_HEADER_TOOLTIP)},t.handleCloseGuildStickerTooltip=function(){(0,E.hideHotspot)(E.HotspotLocations.GUILD_STICKERS_GUILD_HEADER_TOOLTIP)},t.renderPopout=function(e){var n=e.closePopout,r=t.props.guild;return null!=r&&pe(ee.default,{onClose:n,guild:r})},t.renderGuildTooltipPopout=function(){var e=t.props,n=e.showPerServerUpsell,r=e.showGuildStickerTooltip,a=t.state.shouldShowSubscribeTooltip;return pe(me,r&&!a?{onComponentMount:ye,header:ae.default.Messages.GUILD_STICKER_GUILD_HEADER_TOOLTIP_HEADER,content:ae.default.Messages.GUILD_STICKER_GUILD_HEADER_TOOLTIP_CONTENT,buttonCTA:ae.default.Messages.GUILD_STICKER_GUILD_HEADER_TOOLTIP_BUTTON,onClick:t.handleCloseGuildStickerTooltip}:n&&!a?{onComponentMount:ve,header:ae.default.Messages.CHANGE_IDENTITY_GUILD_HEADER_TOOLTIP_TITLE,asset:pe("img",{alt:"","aria-hidden":!0,src:ie.default,className:oe.default.tooltipAvatarAsset}),content:ae.default.Messages.CHANGE_IDENTITY_GUILD_HEADER_TOOLTIP_CONTENT,buttonCTA:ae.default.Messages.CHANGE_IDENTITY_GUILD_HEADER_TOOLTIP_BUTTON,onClick:t.handleCloseServerIdentityTooltip}:{header:ae.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_HEADER_SUBSCRIBE_TOOLTIP_HEADER,content:ae.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_HEADER_SUBSCRIBE_TOOLTIP_TEXT,buttonCTA:ae.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_HEADER_SUBSCRIBE_TOOLTIP_CLOSE,onClick:t.handleCloseDropdownIconTooltips})},t.pinBanner=function(e){var n=e.scrollTop;t.setAnimatedValue(n)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,ce(t,n),r.getDerivedStateFromProps=function(e){var t=e.guild,n=e.hasChannelNotice;return null==t||null==t.banner||n?{renderBanner:!1,bannerVisible:!1}:null};var i=r.prototype;return i.componentDidMount=function(){var e,t=this;this.setAnimatedValue(0),u.default.subscribe(re.ActionTypes.LAYER_PUSH,this.handleCloseDropdownIconTooltips),this.historyUnlisten=I.default.addRouteChangeListener(this.handleHistoryChange),(null===(e=I.default.getHistory().location.state)||void 0===e?void 0:e.shouldShowSubscribeTooltip)&&this.showTimeout.start(1e3,(function(){return t.setState({shouldShowSubscribeTooltip:!0})}))},i.componentWillUnmount=function(){this.showTimeout.stop(),this.state.controller.dispose(),this.historyUnlisten(),u.default.unsubscribe(re.ActionTypes.LAYER_PUSH,this.handleCloseDropdownIconTooltips)},i.getGuildBannerHash=function(){var e=this.props,t=e.guild,n=e.hasChannelNotice;return null==t||n?null:t.banner},i.getTooltipText=function(){return this.props.shouldShowGuildTemplateDirtyTooltip?{textNode:ae.default.Messages.GUILD_TEMPLATES_UNSYNCED_TOOLTIP,ariaLabel:ae.default.Messages.GUILD_TEMPLATES_UNSYNCED_TOOLTIP}:null},i.renderGuildHeaderDropdownButton=function(e){var t=this.props,n=t.showPerServerUpsell,r=t.showGuildStickerTooltip,o=this.state.shouldShowSubscribeTooltip,i=this.getTooltipText(),l=!o&&!e&&null!=i;return pe(z.default,{renderPopout:this.renderGuildTooltipPopout,position:z.default.Positions.BOTTOM,align:z.default.Align.CENTER,animation:z.default.Animation.TRANSLATE,shouldShow:(n||o||r)&&!e},void 0,(function(t){return pe(K.default,{forceOpen:n||o||r,color:K.TooltipColors.BRAND,position:$.Positions.BOTTOM,shouldShow:l,text:null==i?void 0:i.textNode,"aria-label":null==i?void 0:i.ariaLabel},void 0,(function(n){return a.createElement(d.default,fe({},n,t,{open:e,className:oe.default.dropdown}))}))}))},i.renderGuildHeader=function(){var e=this,t=this.props,n=t.guild,r=t.isGuest,o=t.showPerServerUpsell,i=this.state,l=i.controller,u=i.renderBanner,s=i.bannerVisible,d=i.shouldShowSubscribeTooltip;return null==n?null:pe(z.default,{renderPopout:this.renderPopout,position:z.default.Positions.BOTTOM,align:z.default.Align.CENTER,animation:z.default.Animation.SCALE},void 0,(function(t,i){var c=t.onClick,p=de(t,["onClick"]);return a.createElement(Q.default,fe({guild:n,controller:l,renderBanner:u,selected:i,guildBanner:e.getGuildBannerHash(),bannerVisible:s,onContextMenu:e.handleHeaderContextMenu,onClick:function(t){t.currentTarget.contains(t.target)&&(c&&c(t),e.handleCloseDropdownIconTooltips(),o&&!d&&e.handleCloseServerIdentityTooltip())}},r?null:p),r?null:pe(f.default,{tutorialId:"server-settings",position:f.TutorialIndicatorPositions.BOTTOM,offsetY:-31},void 0,e.renderGuildHeaderDropdownButton(i)))}))},i.setAnimatedValue=function(e){var t=this.props.guild,n=this.state,r=n.controller,a=n.renderBanner,o=n.bannerVisible;null!=t&&null!=this.getGuildBannerHash()&&((e>=64&&o||e<64&&!o)&&(o=!o),(e>=88&&!a||e<88&&a)&&(a=!a),a===this.state.renderBanner&&o===this.state.bannerVisible||this.setState({renderBanner:a,bannerVisible:o}),r.update({value:Math.min(1,Math.max(0,1-e/88)),immediate:!0}).start())},i.renderGuildSubheader=function(){var e=this.props.guild;return null!=e&&!e.hasFeature(re.GuildFeatures.HUB)&&pe(te.default,{guild:e})},i.renderChannelList=function(){var e=this.props,t=e.isUnavailable,n=e.guild,r=e.selectedChannel,o=de(e,["isUnavailable","guild","selectedChannel"]);return t||null==n?pe(ne.default,{withBannerPadding:null!=n&&null!=this.getGuildBannerHash()}):n.hasFeature(re.GuildFeatures.HUB)?pe(g.default,{guild:n,channel:null!=r?r:D.default.getDefaultChannel(n.id)}):a.createElement(J.default,fe({guild:n},o,{guildBanner:this.getGuildBannerHash(),onScroll:null!=n&&this.getGuildBannerHash()?this.pinBanner:null}))},i.render=function(){var e=this.props.guild;return pe("nav",{className:oe.default.container,onContextMenu:this.handleContextMenu,"aria-label":ae.default.Messages.GUILD_SIDEBAR_A11Y_LABEL.format({guildName:null!=e?e.toString():""})},void 0,null!=e&&this.renderGuildHeader(),null!=e&&this.renderGuildSubheader(),this.renderChannelList())},r}(a.PureComponent);function he(e){var t=e.guildId,n=e.hideSelectedChannel,r=e.selectedChannelId,a=(0,i.useStateFromStores)([j.default],(function(){return j.default.getGuild(t)})),o=(0,i.useStateFromStores)([D.default],(function(){return D.default.getChannels(t)})),l=(0,i.useStateFromStores)([L.default],(function(){return L.default.getCategories(t)})),u=(0,i.useStateFromStores)([F.default],(function(){return F.default.getMutedChannels(t)})),s=(0,i.useStateFromStores)([W.default],(function(){return W.default.getVoiceStates(t)})),d=(0,i.useStateFromStores)([A.default],(function(){return A.default.getCollapsed()})),f=(0,i.useStateFromStores)([F.default],(function(){return F.default.isGuildCollapsed(t)})),v=(0,i.useStateFromStores)([w.default],(function(){return w.default.getGuildChangeSentinel(t)})),y=(0,i.useStateFromStores)([P.default],(function(){return P.default.getGuildDimensions(t).scrollTo})),m=(0,i.useStateFromStores)([G.default],(function(){return G.default.getChannelId()})),g=(0,i.useStateFromStoresArray)([U.default],(function(){return[U.default.getGuildVersion(t),U.default.can(re.Permissions.MANAGE_EMOJIS,a)]})),S=g[0],I=g[1],Y=(0,i.useStateFromStores)([M.default],(function(){return M.default.getVersion()})),z=(0,i.useStateFromStores)([b.default],(function(){return b.default.version})),K=(0,i.useStateFromStores)([C.default],(function(){return C.default.isGuest()})),$=(0,i.useStateFromStores)([R.default],(function(){return R.default.isUnavailable(t)})),Z=(0,i.useStateFromStores)([H.default],(function(){return H.default.getNullableCurrentUser()})),q=(0,i.useStateFromStores)([_.default,U.default,k.default],(function(){return null!=a&&null!=Z&&U.default.can(re.Permissions.MANAGE_GUILD,a)&&!k.default.hasLayers()&&_.default.shouldShowGuildTemplateDirtyTooltip(t)})),X=(0,i.useStateFromStores)([N.default],(function(){return N.default.getChannel(m)})),J=(0,i.useStateFromStores)([p.default,B.default],(function(){return p.default.darkSidebar?re.ThemeTypes.DARK:B.default.theme})),Q=(0,T.default)(t),ee=null!=X&&X.guild_id===t&&X.type===re.ChannelTypes.GUILD_STAGE_VOICE,te=Q.length>0&&!ee,ne=(0,h.usePurchasableLiveScheduledEventsStageChannel)(t),ae=ne.purchasableLiveScheduledEventStageChannel,oe=ne.purchasableLiveScheduledEvent,ie=null!=ae&&null!=oe,le=(0,i.useStateFromStores)([x.default,O.default,V.default,M.default],(function(){return null!=M.default.getNotice(a)||V.default.isVisible(null!=a?a.id:null)||O.default.isVisible(a)||x.default.isVisible(a)||te||ie||!1})),ue=(0,c.useAndTriggerGuildMemberAvatarExperiment)(),se=(0,i.useStateFromStoresArray)([E.HotspotStore],(function(){return[ue&&E.HotspotStore.hasHotspot(E.HotspotLocations.GUILD_PER_SERVER_AVATAR_GUILD_HEADER_TOOLTIP),E.HotspotStore.hasHotspot(E.HotspotLocations.GUILD_STICKERS_GUILD_HEADER_TOOLTIP)]})),de=se[0],fe=se[1],ce=Object.values(N.default.getMutableGuildChannels()).find((function(e){return e.isDirectory()})),ve=(0,i.useStateFromStores)([N.default],(function(){return r?N.default.getChannel(r):ce}));return pe(_e,{guildId:t,hideSelectedChannel:n,guild:a,channels:o,categories:l,mutedChannels:u,scrollToChannel:y,selectedChannelId:n?null:r,selectedChannel:ve,selectedVoiceChannelId:m,voiceStates:s,collapsedChannels:d,collapseMuted:f,isGuest:K,isUnavailable:$,shouldShowGuildTemplateDirtyTooltip:q,theme:J,hasChannelNotice:le,showPerServerUpsell:de,showGuildStickerTooltip:fe&&I,guildReadStateSentinel:v,permissionVersion:S,channelNoticeVersion:Y,categoryCollapseVersion:z})}_e.displayName="GuildSidebar",he.displayName="ConnectedGuildSidebar"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(9)),o=i(n(8015));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var s=u("g",{fill:"none",fillRule:"evenodd"},void 0,u("path",{d:"M0 0h18v18H0"}),u("path",{stroke:"currentColor",d:"M4.5 4.5l9 9",strokeLinecap:"round"}),u("path",{stroke:"currentColor",d:"M13.5 4.5l-9 9",strokeLinecap:"round"})),d=function(e){var t,n=e.open,r=e.className;return u("svg",{width:"18",height:"18",className:(0,a.default)(o.default.button,r,(t={},t[o.default.open]=n,t))},void 0,s)};d.displayName="DropdownButton";var f=d;t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;v(n(0));var r,a=n(389),o=v(n(8253)),i=c(n(11)),l=c(n(86)),u=c(n(9167)),s=c(n(9183)),d=c(n(9184)),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t=e.guild,n=e.onSelect,r=l.default.getDefaultChannel(t.id),c=(0,s.default)(t.id),p=(0,u.default)(t),v=(0,d.default)(t,r);return i.default.isGuest()?null:y(o.default,{navId:"guild-context","aria-label":f.default.Messages.GUILD_ACTIONS_MENU_LABEL,onClose:a.closeContextMenu,onSelect:n},void 0,y(o.MenuGroup,{},void 0,c),y(o.MenuGroup,{},void 0,p,v))}m.displayName="GuildChannelListContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),a=i(n(28)),o=i(n(2));n(1);function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(){return(u=Object.assign||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}).apply(this,arguments)}var s={},d=!0===a.default.get("hasSeenGuildTemplatePromotionTooltip");function f(e){var t,n=e.guildId;s=u({},s,((t={})[n]=!1,t))}var c=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var a=r.prototype;return a.shouldShowGuildTemplateDirtyTooltip=function(e){var t;return null!==(t=s[e])&&void 0!==t&&t},a.shouldShowGuildTemplatePromotionTooltip=function(){return!d},r}(r.default.Store))(o.default,{GUILD_TEMPLATE_DIRTY_TOOLTIP_REFRESH:function(e){var t,n=e.guildTemplate;s=u({},s,((t={})[n.source_guild_id]=n.is_dirty||!1,t))},GUILD_TEMPLATE_PROMOTION_TOOLTIP_HIDE:function(e){return a.default.set("hasSeenGuildTemplatePromotionTooltip",!0),void(d=!0)},GUILD_TEMPLATE_SYNC_SUCCESS:f,GUILD_TEMPLATE_DIRTY_TOOLTIP_HIDE:f,GUILD_TEMPLATE_DELETE_SUCCESS:f});t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(9)),i=n(92),l=h(n(8283)),u=h(n(10385)),s=h(n(1313)),d=h(n(8368)),f=h(n(5951)),c=n(41),p=h(n(8553)),v=h(n(272)),y=n(1),m=h(n(6)),_=h(n(8020));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(){return(g=Object.assign||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}).apply(this,arguments)}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var O=[{icon:S(s.default,{}),key:"JOIN_SERVERS",name:m.default.Messages.HUB_SIDEBAR_JOIN_SERVERS,style:_.default.joinServerOption,handler:i.NOOP},{icon:S(f.default,{}),key:"ADD_SERVERS",name:m.default.Messages.HUB_SIDEBAR_ADD_SERVERS,style:_.default.addServerOption,handler:function(e,t){return(0,c.openModal)((function(n){return a.createElement(u.default,g({},n,{directoryGuildName:e.name,directoryGuildId:e.id,directoryChannelId:t.id}))}))}},{icon:S(d.default,{}),key:"INVITE_MEMBERS",name:m.default.Messages.HUB_SIDEBAR_INVITE_MEMBERS,style:_.default.inviteMemberOption,handler:function(e,t){return(0,c.openModal)((function(n){return a.createElement(l.default,g({},n,{guild:e,channel:t,source:y.InstantInviteSources.HUB_SIDEBAR}))}))}}],I=function(e){return S(v.default,{className:_.default.scroller},void 0,O.map((function(t){return S(p.default,{avatar:t.icon,name:t.name,focusProps:{offset:{right:4,top:1,bottom:1}},onClick:function(){return function(t){var n=e.guild,r=e.channel,a=O.find((function(e){return e.key===t}));a&&a.handler&&null!=r&&a.handler(n,r)}(t.key)},wrapContent:!0,selected:"JOIN_SERVERS"===t.key,className:(0,o.default)(_.default.optionItem,t.style),selectedClassName:_.default.selectedOptionItem,innerClassName:_.default.itemInner},t.key)})))};I.displayName="HubSidebar";var T=I;t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r,d=e.directoryChannelId,c=e.onClose,y=e.setSlide,N=e.onGuildChosen,A=e.directoryGuildName,P=e.directoryGuildId,R=(0,v.useUID)(),k=(0,i.useStateFromStores)([u.default],(function(){return u.default.getFlattenedGuilds()})),G=(0,i.useStateFromStores)([I.default],(function(){return I.default.getDirectoryEntries(d)})),F=a.useState(j.AVAILABLE),B=F[0],H=F[1],x=a.useMemo((function(){return k.filter((function(e){return l.default.can(T.Permissions.ADMINISTRATOR,e)&&null==G[e.id]&&e.id!==P}))}),[k,G,P]),V=a.useMemo((function(){return k.filter((function(e){return l.default.can(T.Permissions.ADMINISTRATOR,e)&&null!=G[e.id]}))}),[k,G]);function W(e){null!=e&&(0,h.openModal)((function(t){return a.createElement(m.default,L({header:C.default.Messages.HUB_ENTRY_REMOVE,confirmText:C.default.Messages.REMOVE,cancelText:C.default.Messages.CANCEL,onConfirm:function(){return t=e.id,void S.removeDirectoryGuildEntry(d,t);var t}},t),D(g.default,{size:g.default.Sizes.SIZE_16},void 0,C.default.Messages.HUB_ENTRY_REMOVE_BODY.format({guildName:e.name})))}))}r=B===j.AVAILABLE?0===x.length?D("div",{className:b.default.emptyContainer},void 0,D("img",{src:M.default,alt:"",className:b.default.emptyImage}),D(g.default,{className:b.default.emptyText,color:g.default.Colors.HEADER_SECONDARY,size:g.default.Sizes.SIZE_16},void 0,C.default.Messages.HUB_CHOOSE_GUILD_EMPTY)):x.map((function(e){return D(w,{guild:e,onClick:function(){return N(e)}},e.id)})):0===V.length?D("div",{className:b.default.emptyContainer},void 0,D("img",{src:M.default,alt:"",className:b.default.emptyImage}),D(g.default,{className:b.default.emptyText,color:g.default.Colors.HEADER_SECONDARY,size:g.default.Sizes.SIZE_16},void 0,C.default.Messages.HUB_CHOOSE_GUILD_ADDED_EMPTY)):V.map((function(e){return D(U,{guild:e,handleRemove:W},e.id)}));return a.createElement(a.Fragment,null,D(_.ModalHeader,{direction:f.default.Direction.VERTICAL,className:b.default.header,separator:!1,id:R},void 0,c&&D(_.ModalCloseButton,{className:b.default.closeButton,onClick:c}),D(E.default,{className:b.default.title,size:E.default.Sizes.SIZE_24},void 0,C.default.Messages.HUB_CHOOSE_GUILD_TITLE.format({guildName:A})),D(g.default,{className:b.default.subtitle,color:g.default.Colors.HEADER_SECONDARY,size:g.default.Sizes.SIZE_16},void 0,C.default.Messages.HUB_CHOOSE_GUILD_SUBTITLE),D(p.default,{className:b.default.tabBar,selectedItem:B,onItemSelect:H,type:p.default.Types.TOP,look:p.default.Looks.BRAND},void 0,D(p.Item,{className:(0,o.default)(b.default.tabBarItem,(t={},t[b.default.selectedTab]=B===j.AVAILABLE,t)),id:j.AVAILABLE},void 0,C.default.Messages.HUB_CHOOSE_GUILD_CHOOSE_TAB),D(p.Item,{className:(0,o.default)(b.default.tabBarItem,(n={},n[b.default.selectedTab]=B===j.ADDED,n)),id:j.ADDED},void 0,C.default.Messages.HUB_CHOOSE_GUILD_ADDED_TAB))),D(_.ModalContent,{className:b.default.guildList,paddingFix:!1},void 0,r),D(_.ModalFooter,{className:b.default.footer},void 0,D(E.default,{size:E.default.Sizes.SIZE_20,className:b.default.footerTitle},void 0,C.default.Messages.HUB_CREATE_GUILD_LABEL),D(s.default,{className:b.default.footerButton,color:s.default.Colors.GREY,onClick:function(){return y(O.CreateOrAddGuildSlideTypes.GUILD_TEMPLATES)}},void 0,C.default.Messages.HUB_CREATE_GUILD_CTA)))};var r,a=R(n(0)),o=A(n(9)),i=n(3),l=A(n(40)),u=A(n(361)),s=A(n(29)),d=A(n(61)),f=A(n(55)),c=A(n(371)),p=R(n(8293)),v=n(85),y=A(n(8676)),m=A(n(466)),_=n(35),h=n(41),E=A(n(47)),g=A(n(24)),S=R(n(9022)),O=n(9190),I=A(n(10387)),T=n(1),C=A(n(6)),b=A(n(8016)),M=A(n(11122)),N=A(n(9088));function A(e){return e&&e.__esModule?e:{default:e}}function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function L(){return(L=Object.assign||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}).apply(this,arguments)}function D(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function w(e){var t=e.guild,n=e.onClick;return D(d.default,{className:b.default.clickableGuildRow,onClick:n},void 0,D(c.default,{guild:t,size:c.default.Sizes.MEDIUM,active:!0}),D(g.default,{className:b.default.guildName,size:g.default.Sizes.SIZE_16},void 0,t.name),D("img",{className:b.default.arrow,alt:"",src:N.default}))}w.displayName="GuildRow";var j,k=D(y.default,{height:20,width:20});function U(e){var t=e.guild,n=e.handleRemove;return D("div",{className:b.default.guildRow},void 0,D(c.default,{guild:t,size:c.default.Sizes.MEDIUM,active:!0}),D(g.default,{className:b.default.guildName,size:g.default.Sizes.SIZE_16},void 0,t.name),D(d.default,{className:b.default.trashIcon,onClick:function(){return n(t)}},void 0,k))}U.displayName="AddedGuildRow",function(e){e[e.AVAILABLE=0]="AVAILABLE",e[e.ADDED=1]="ADDED"}(j||(j={}))},function(e,t,n){e.exports=n.p+"1edef87208ba9b5bca6448e5cd93b69f.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.guild,n=e.description,r=e.onDescriptionChange,y=e.onSubmit,m=e.onClose,E=e.onBack,g=(0,u.useUID)(),S=a.useState(!1),O=S[0],I=S[1];if(null==t)return E(),null;var T=function(){var e,n=(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return I(!0),e.next=3,y(t.id);case 3:I(!1);case 4:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){h(o,r,a,i,l,"next",e)}function l(e){h(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return n.apply(this,arguments)}}();return a.createElement(a.Fragment,null,_(d.ModalHeader,{direction:i.default.Direction.VERTICAL,className:v.default.header,separator:!1,id:g},void 0,_(f.default,{className:v.default.title,size:f.default.Sizes.SIZE_24},void 0,p.default.Messages.HUB_CUSTOMIZE_EXISTING_GUILD_TITLE.format({guildName:t.name})),_(c.default,{className:v.default.subtitle,color:c.default.Colors.HEADER_SECONDARY,size:c.default.Sizes.SIZE_16},void 0,p.default.Messages.HUB_ADD_GUILD_DESCRIPTION_HELP),m&&_(d.ModalCloseButton,{className:v.default.closeButton,onClick:m})),_(d.ModalContent,{className:v.default.createGuild,paddingFix:!1},void 0,_(s.FormItem,{title:p.default.Messages.HUB_ADD_GUILD_DESCRIPTION_TITLE},void 0,_(l.default,{value:n,maxLength:200,placeholder:p.default.Messages.HUB_ADD_GUILD_DESCRIPTION_PLACEHOLDER,onChange:r}))),_(d.ModalFooter,{justify:i.default.Justify.BETWEEN},void 0,_(o.default,{color:o.default.Colors.BRAND,onClick:T,submitting:O},void 0,p.default.Messages.HUB_ADD_SERVER_CTA),_(o.default,{look:o.default.Looks.BLANK,size:o.default.Sizes.MIN,onClick:E},void 0,p.default.Messages.BACK)))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(29)),i=y(n(55)),l=y(n(8272)),u=n(85),s=n(131),d=n(35),f=y(n(47)),c=y(n(24)),p=y(n(6)),v=y(n(7361));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.directoryGuildName,n=e.newGuild,r=e.existingGuild,m=e.onClose,_=(0,d.useUID)(),E=null!=n?n:r;(0,o.default)(null!=E,"Missing guild in Hub add guild confirmation");return a.createElement(a.Fragment,null,h(f.ModalHeader,{direction:u.default.Direction.VERTICAL,className:y.default.header,separator:!1,id:_},void 0,m&&h(f.ModalCloseButton,{className:y.default.closeButton,onClick:m}),h(s.default,{guild:E,size:s.default.Sizes.XLARGE,active:!0}),h(c.default,{className:y.default.title,size:c.default.Sizes.SIZE_24},void 0,v.default.Messages.HUB_ADD_OR_CREATE_SERVER_CONFIRMATION_TITLE),h(p.default,{className:y.default.subtitle,color:p.default.Colors.HEADER_SECONDARY,size:p.default.Sizes.SIZE_16},void 0,null!=n?v.default.Messages.HUB_CREATE_SERVER_CONFIRMATION_SUBTITLE.format({guildName:t}):v.default.Messages.HUB_ADD_SERVER_CONFIRMATION_SUBTITLE.format({guildName:t}))),h(f.ModalFooter,{className:y.default.buttonRow},void 0,null!=n?a.createElement(a.Fragment,null,h(l.default,{className:y.default.createSecondaryButton,color:l.default.Colors.GREY,onClick:m},void 0,v.default.Messages.HUB_CREATE_SERVER_CONFIRMATION_STAY),h(l.default,{className:y.default.createConfirmButton,color:l.default.Colors.BRAND,onClick:function(){(0,i.transitionToGuild)(E.id),null==m||m()}},void 0,v.default.Messages.HUB_CREATE_SERVER_CONFIRMATION_GO)):h(l.default,{className:y.default.addConfirmButton,color:l.default.Colors.BRAND,onClick:m},void 0,v.default.Messages.HUB_ADD_SERVER_CONFIRMATION_BUTTON)))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(23)),i=n(42),l=m(n(29)),u=m(n(55)),s=m(n(371)),d=n(85),f=n(35),c=m(n(47)),p=m(n(24)),v=m(n(6)),y=m(n(8017));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.onClose,n=e.onBack,r=e.onChooseTemplate,o=e.directoryGuildName,p=(0,u.useUID)(),m=(0,c.getHubGuildTemplatesMap)();return a.createElement(a.Fragment,null,E(s.ModalHeader,{direction:l.default.Direction.VERTICAL,className:y.default.header,separator:!1,id:p},void 0,E(d.default,{className:y.default.title,size:d.default.Sizes.SIZE_24},void 0,v.default.Messages.HUB_CREATE_OR_ADD_GUILD_TITLE.format({guildName:o})),E(f.default,{className:y.default.subtitle,color:f.default.Colors.HEADER_SECONDARY,size:f.default.Sizes.SIZE_16},void 0,v.default.Messages.HUB_CREATE_OR_ADD_GUILD_SUBTITLE),t&&E(s.ModalCloseButton,{className:y.default.closeButton,onClick:t})),E(s.ModalContent,{className:y.default.templatesList,paddingFix:!1},void 0,E(g,{guildTemplate:h({},m[c.HubGuildTemplateId.CREATE],{label:v.default.Messages.HUB_CREATE_GUILD_CTA}),onClick:r}),E(f.default,{className:y.default.optionHeader,color:f.default.Colors.HEADER_SECONDARY,size:f.default.Sizes.SIZE_12},void 0,v.default.Messages.GUILD_TEMPLATE_SELECTOR_OPTION_HEADER),E(g,{guildTemplate:m[c.HubGuildTemplateId.HUB_STUDY],onClick:r}),E(g,{guildTemplate:m[c.HubGuildTemplateId.HUB_SCHOOL_CLUB],onClick:r}),E(g,{guildTemplate:m[c.HubGuildTemplateId.HUB_CLASS],onClick:r}),E(g,{guildTemplate:m[c.HubGuildTemplateId.HUB_SOCIAL],onClick:r}),E(g,{guildTemplate:m[c.HubGuildTemplateId.HUB_MAJOR],onClick:r}),E(g,{guildTemplate:m[c.HubGuildTemplateId.HUB_DORM],onClick:r})),E(s.ModalFooter,{className:y.default.footer},void 0,E(i.default,{look:i.default.Looks.BLANK,size:i.default.Sizes.MIN,onClick:n},void 0,v.default.Messages.BACK)))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(8717)),i=m(n(29)),l=m(n(55)),u=n(85),s=n(35),d=m(n(47)),f=m(n(24)),c=n(9190),p=n(11126),v=m(n(6)),y=m(n(8018));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(){return(h=Object.assign||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}).apply(this,arguments)}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e){var t=e.guildTemplate,n=e.onClick,r=e.autoFocus,i=a.useCallback((function(){n(t)}),[t,n]);return E(o.default,{icon:p.GUILD_TEMPLATE_ICONS[t.id],message:t.label,onClick:i,autoFocus:r})}g.displayName="GuildTemplatesItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GUILD_TEMPLATE_ICONS=void 0;var r=d(n(8718)),a=d(n(9091)),o=d(n(9092)),i=d(n(9093)),l=d(n(9094)),u=d(n(8719)),s=d(n(9095));function d(e){return e&&e.__esModule?e:{default:e}}var f={CREATE:o.default,HUB_SCHOOL_CLUB:u.default,HUB_STUDY:i.default,HUB_CLASS:s.default,HUB_SOCIAL:l.default,HUB_MAJOR:a.default,HUB_DORM:r.default};t.GUILD_TEMPLATE_ICONS=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=B(n(0)),o=G(n(3)),i=G(n(8768)),l=G(n(8254)),u=G(n(8458)),s=G(n(8283)),d=G(n(9164)),f=G(n(9165)),c=G(n(8412)),p=G(n(8405)),v=G(n(182)),y=B(n(8253)),m=n(8256),_=n(42),h=G(n(40)),E=G(n(181)),g=G(n(12)),S=G(n(9176)),O=G(n(8666)),I=G(n(11128)),T=G(n(11129)),C=G(n(8367)),b=G(n(1215)),M=G(n(8368)),N=G(n(1256)),A=G(n(5830)),P=G(n(1430)),R=n(1230),L=G(n(466)),D=n(41),w=G(n(24)),j=n(8286),k=n(1),U=G(n(6));function G(e){return e&&e.__esModule?e:{default:e}}function F(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return F=function(){return e},e}function B(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=F();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function H(){return(H=Object.assign||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}).apply(this,arguments)}function x(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function V(e){(0,D.openModal)((function(t){return a.createElement(L.default,H({header:U.default.Messages.LEAVE_SERVER_TITLE.format({name:e.toString()}),confirmText:e.hasFeature(k.GuildFeatures.HUB)?U.default.Messages.LEAVE_HUB:U.default.Messages.LEAVE_SERVER,cancelText:U.default.Messages.CANCEL,onConfirm:function(){return l.default.leaveGuild(e.id)}},t),x(w.default,{size:w.default.Sizes.SIZE_16},void 0,e.hasFeature(k.GuildFeatures.HUB)?U.default.Messages.LEAVE_HUB_BODY.format({name:e.name}):U.default.Messages.LEAVE_SERVER_BODY.format({name:e.toString()})))}))}var W=a.memo((function(e){var t=e.canInvite,n=e.canAccessSettings,r=e.canManageChannels,o=e.guild,v=e.isCollapsed,h=e.isLurking,E=e.isOwner,g=e.showGuildAnalytics,L=e.onClose,w=e.user,j=e.onSelect,G=(0,p.default)(o.id,w.id,{page:k.AnalyticsPages.GUILD_CHANNEL,section:k.AnalyticsSections.GUILD_DROPDOWN_MENU},void 0,b.default),F=o.hasFeature(k.GuildFeatures.HUB);return h?x(y.default,{onSelect:j,navId:"guild-header-popout",style:y.MenuStyle.FIXED,onClose:L,"aria-label":U.default.Messages.GUILD_ACTIONS_MENU_LABEL},void 0,x(y.MenuItem,{id:"leave-guild",label:U.default.Messages.LEAVE_SERVER,icon:I.default,action:function(){l.default.leaveGuild(o.id),(0,_.transitionTo)(k.Routes.GUILD_DISCOVERY)}})):F?x(y.default,{onSelect:j,navId:"guild-header-popout",style:y.MenuStyle.FIXED,onClose:L,"aria-label":U.default.Messages.GUILD_ACTIONS_MENU_LABEL},void 0,x(y.MenuGroup,{},void 0,n?x(y.MenuItem,{id:"settings",label:U.default.Messages.SERVER_SETTINGS,icon:C.default,action:function(){l.default.open(o.id,k.GuildSettingsSections.OVERVIEW)}}):null,t?x(y.MenuItem,{id:"invite-people",label:U.default.Messages.INVITE_PEOPLE,icon:M.default,color:m.MenuItemColor.BRAND,action:function(){return(0,D.openModal)((function(e){return a.createElement(s.default,H({},e,{guild:o,source:k.InstantInviteSources.GUILD_HEADER}))}))}}):null,G),E?null:x(y.MenuGroup,{},void 0,x(y.MenuItem,{id:"leave",label:U.default.Messages.LEAVE_HUB,icon:I.default,color:m.MenuItemColor.DANGER,action:function(){return V(o)}}))):x(y.default,{onSelect:j,navId:"guild-header-popout",style:y.MenuStyle.FIXED,onClose:L,"aria-label":U.default.Messages.GUILD_ACTIONS_MENU_LABEL},void 0,x(y.MenuGroup,{},void 0,x(y.MenuItem,{id:"premium-subscribe",label:U.default.Messages.PREMIUM_GUILD_HEADER_DROPDOWN_NITRO_SERVER_SUBSCRIBE,icon:A.default,color:m.MenuItemColor.PREMIUM,action:function(){return(0,R.openFullScreenLayer)((function(e){var t=e.transitionState,n=e.closeLayer;return x(c.default,{layerTransitionState:t,close:n,guildId:o.id,locationSection:k.AnalyticsSections.GUILD_HEADER_POPOUT})}))}})),x(y.MenuGroup,{},void 0,t?x(y.MenuItem,{id:"invite-people",label:U.default.Messages.INVITE_PEOPLE,icon:M.default,color:m.MenuItemColor.BRAND,action:function(){return(0,D.openModal)((function(e){return a.createElement(s.default,H({},e,{guild:o,source:k.InstantInviteSources.GUILD_HEADER}))}))}}):null,n?x(y.MenuItem,{id:"settings",label:U.default.Messages.SERVER_SETTINGS,icon:C.default,action:function(){l.default.open(o.id,k.GuildSettingsSections.OVERVIEW)}}):null,g?x(y.MenuItem,{id:"insights",label:U.default.Messages.SERVER_INSIGHTS,icon:S.default,action:function(){return l.default.open(o.id,k.GuildSettingsSections.ANALYTICS)}}):null,r?a.createElement(a.Fragment,null,x(y.MenuItem,{id:"create-channel",label:U.default.Messages.CREATE_CHANNEL,icon:N.default,action:function(){return(0,D.openModal)((function(e){return a.createElement(u.default,H({},e,{channelType:k.ChannelTypes.GUILD_TEXT,guildId:o.id}))}))}}),x(y.MenuItem,{id:"create-category",label:U.default.Messages.CREATE_CATEGORY,icon:T.default,action:function(){return(0,D.openModal)((function(e){return a.createElement(u.default,H({},e,{channelType:k.ChannelTypes.GUILD_CATEGORY,guildId:o.id}))}))}})):null),x(y.MenuGroup,{},void 0,x(y.MenuItem,{id:"notifications",label:U.default.Messages.NOTIFICATION_SETTINGS,icon:O.default,action:function(){return(0,D.openModal)((function(e){return a.createElement(d.default,H({},e,{guildId:o.id}))}))}}),x(y.MenuItem,{id:"privacy",label:U.default.Messages.PRIVACY_SETTINGS,icon:P.default,action:function(){return(0,D.openModal)((function(e){return a.createElement(f.default,H({},e,{guild:o}))}))}})),x(y.MenuGroup,{},void 0,G,x(y.MenuCheckboxItem,{id:"hide-muted-channels",label:U.default.Messages.HIDE_MUTED_CHANNELS,checked:v,action:function(){return i.default.toggleCollapseGuild(o.id)}})),E?null:x(y.MenuGroup,{},void 0,x(y.MenuItem,{id:"leave",label:U.default.Messages.LEAVE_SERVER,icon:I.default,color:m.MenuItemColor.DANGER,action:function(){return V(o)}})))}));var Y=o.default.connectStores([g.default,h.default,E.default,v.default],(function(e){var t=e.guild,n=g.default.getCurrentUser();return{user:n,isCollapsed:E.default.isGuildCollapsed(t.id),canInvite:(0,j.canViewInviteModal)(h.default,t),canAccessSettings:h.default.canAccessGuildSettings(t),canManageChannels:h.default.can(k.Permissions.MANAGE_CHANNELS,t),isOwner:t.isOwner(n),isLurking:v.default.isLurking(t.id),showGuildAnalytics:h.default.can(k.Permissions.VIEW_GUILD_ANALYTICS,t)&&t.hasFeature(k.GuildFeatures.COMMUNITY)}}))(W);t.default=Y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?18:t,r=e.height,a=void 0===r?18:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,d:"M10.418 13L12.708 15.294L11.292 16.706L6.586 11.991L11.294 7.292L12.707 8.708L10.41 11H21.949C21.446 5.955 17.177 2 12 2C6.486 2 2 6.487 2 12C2 17.513 6.486 22 12 22C17.177 22 21.446 18.046 21.949 13H10.418Z"}))}d.displayName="Exit"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?18:t,r=e.height,a=void 0===r?18:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,d:"M20 7H12L10.553 5.106C10.214 4.428 9.521 4 8.764 4H3C2.447 4 2 4.447 2 5V19C2 20.104 2.895 21 4 21H20C21.104 21 22 20.104 22 19V9C22 7.896 21.104 7 20 7ZM16 15H13V18H11V15H8V13H11V10H13V13H16V15Z"}))}d.displayName="FolderAdd"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.guild;return(0,a.useStateFromStores)([i.default],(function(){return i.default.hasProgress(t.id)}),[t.id])?d(l.default,{guild:t}):d(o.default,{guild:t})};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=u(n(11131)),i=u(n(9945)),l=u(n(11142));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=L();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=R(n(8)),i=n(3),l=n(8413),u=n(5946),s=R(n(106)),d=n(9021),f=R(n(11132)),c=R(n(10388)),p=R(n(11134)),v=R(n(8559)),y=R(n(8599)),m=n(10391),_=R(n(8919)),h=R(n(40)),E=R(n(8568)),g=R(n(10389)),S=R(n(10390)),O=n(5935),I=R(n(11135)),T=R(n(11136)),C=R(n(11137)),b=R(n(11138)),M=R(n(11139)),N=R(n(11140)),A=R(n(11141)),P=n(1);function R(e){return e&&e.__esModule?e:{default:e}}function L(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return L=function(){return e},e}function D(){return(D=Object.assign||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}).apply(this,arguments)}function w(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e){e.stopPropagation()}var U=o.default.debounce(s.default.trackWithMetadata,500),G=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,j(t,n);var a=r.prototype;return a.componentDidMount=function(){var e=this.props,t=e.guild,n=e.notice;null!=n&&((0,l.showNotice)(n.type,t),U(P.AnalyticEvents.CHANNEL_NOTICE_VIEWED,{notice_type:n.type,guild_id:t.id}))},a.componentDidUpdate=function(e){var t=this.props,n=t.guild,r=t.notice;null==r||e.guild.id===n.id&&null!=e.notice&&e.notice.type===r.type||((0,l.showNotice)(r.type,n),U(P.AnalyticEvents.CHANNEL_NOTICE_VIEWED,{notice_type:r.type,guild_id:n.id}))},a.renderNotice=function(){var e=this.props,t=e.guild,n=e.notice;if(null==n)return null;switch(n.type){case P.ChannelNoticeTypes.MFA_WARNING:return w(I.default,{guild:t});case P.ChannelNoticeTypes.INVITE:return w(T.default,{guild:t});case P.ChannelNoticeTypes.QUICKSWITCHER:return w(A.default,{guild:t});case P.ChannelNoticeTypes.PREMIUM_GUILD_SUBSCRIPTIONS_GUILD_AFFINITY:return w(M.default,{guild:t});case P.ChannelNoticeTypes.PREMIUM_GUILD_SUBSCRIPTIONS:return w(N.default,{guild:t});default:return null}},a.render=function(){return null==this.props.notice?null:w("div",{onContextMenu:k},void 0,this.renderNotice())},r}(a.PureComponent);G.displayName="ChannelNotices";var F=function(e){var t=e.guild,n=(0,i.useStateFromStoresObject)([E.default],(function(){return{subscriptions:E.default.getSubscriptionsForGuild(t.id),lastFetchedAt:E.default.getLastFetchedAtForGuild(t.id)}})),r=n.subscriptions,o=n.lastFetchedAt,l=(0,i.useStateFromStoresObject)([S.default],(function(){return{lastDismissedGracePeriod:S.default.getLastDismissedGracePeriodForGuild(t.id),isGracePeriodVisible:S.default.isVisible(t.id)}})),s=l.lastDismissedGracePeriod,I=l.isGracePeriodVisible,T=(0,i.useStateFromStores)([_.default],(function(){return _.default.getNotice(e.guild)})),M=(0,i.useStateFromStores)([c.default],(function(){return c.default.isVisible(t)})),N=(0,i.useStateFromStoresObject)([g.default],(function(){return{channelNoticeType:g.default.getNoticeType(t),isMaxMemberNoticeVisible:g.default.isVisible(t)}})),A=N.channelNoticeType,R=N.isMaxMemberNoticeVisible,L=(0,i.useStateFromStores)([h.default],(function(){return h.default.can(P.Permissions.ADMINISTRATOR,t)})),j=null!=s&&Date.now()-s<=P.GRACE_PERIOD_CHANNEL_NOTICE_SHOW_DELAY,k=null!=t?t.premiumSubscriberCount:0,U=(0,O.getGuildTierFromSubscriberCount)(k)!==P.PremiumGuildTiers.NONE,F=null!=o&&Date.now()-o<=432e5,B=!j&&L&&U&&!F,H=(0,v.default)(t.id)[0],x=(0,y.default)(),V=(0,d.usePurchasableLiveScheduledEventsStageChannel)(t.id),W=V.purchasableLiveScheduledEventStageChannel,Y=V.purchasableLiveScheduledEvent;return a.useEffect((function(){B&&(0,u.fetchPremiumSubscriptions)(t.id)}),[t.id,B]),M?w(p.default,{guild:t}):I?w(b.default,{guild:t,subscriptions:r}):R&&null!=A?w(C.default,{guild:t,channelNoticeType:A}):null==Y||null==W||null!=x&&x.guild_id===t.id?null==H||null!=x&&x.guild_id===t.id?a.createElement(G,D({},e,{notice:T})):w(m.JoinableStageChannelEventNotice,{guild:t,channel:H}):w(f.default,{guild:t,channel:W,guildEvent:Y})};F.displayName="ConnectedNotices";var B=F;t.default=B},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(42),o=c(n(8492)),i=c(n(10391)),l=c(n(10392)),u=n(9996),s=c(n(8456)),d=n(1),f=c(n(8023));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=function(e){var t=e.guild,n=e.channel,r=e.guildEvent,c=(0,s.default)(t.id).canStartEvents,p=o.default.useExperiment({guildId:t.id})[0].enabled,y=(0,u.useSharedStageInstanceDiscoveryStates)(r,c,n),m=y.isTicketedEvent,_=y.isLive,h=y.sku,E=y.canPurchaseTicket,g=y.canJoinChannel;if(!_||!p||m&&!E&&!g)return null;return v("div",{},void 0,v(i.default,{guild:t,channel:n},void 0,E&&v(l.default,{sku:h,handlePurchase:function(){(0,a.transitionTo)(d.Routes.UPCOMING_STAGES(t.id,r.id))},className:f.default.purchaseButton})))};y.displayName="TicketedEventNotice";var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.useStateFromStores)([a.default,o.default,i.default],(function(){var t=a.default.getId();return o.default.getVoiceChannelId()===e?i.default.getPermissionsForUser(t,e):null}),[e])};var r=n(3),a=l(n(11)),o=l(n(36)),i=l(n(205));function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(9)),i=n(8413),l=y(n(8254)),u=y(n(29)),s=y(n(61)),d=y(n(255)),f=y(n(13)),c=n(1),p=y(n(6)),v=y(n(7358));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=function(e){var t=e.guild;a.useEffect((function(){f.default.track(c.AnalyticEvents.CHANNEL_NOTICE_VIEWED,{notice_type:c.ChannelNoticeTypes.PUBLIC_UPSELL,guild_id:t.id})}),[t.id]);var n=a.useCallback((function(){(0,i.hideEnablePublicGuildUpsellNotice)(t.id)}),[t.id]);return _("div",{className:(0,o.default)(v.default.channelNotice,v.default.publicUpsell)},void 0,_(s.default,{onClick:n,className:v.default.close},void 0,_(d.default,{className:v.default.closeIcon})),_("div",{className:v.default.message},void 0,p.default.Messages.NOTICE_ENABLE_PUBLIC_GUILD_UPSELL_MESSAGE,_(u.default,{fullWidth:!0,className:v.default.btn,onClick:function(){f.default.track(c.AnalyticEvents.CHANNEL_NOTICE_CTA_CLICKED,{source:c.ChannelNoticeCtaSources.ENABLE_PUBLIC_GUILD_UPSELL_NOTICE,guild_id:t.id}),l.default.open(t.id,c.GuildSettingsSections.COMMUNITY)}},void 0,p.default.Messages.LEARN_MORE)))};h.displayName="EnablePublicGuildUpsellNotice";var E=h;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(9)),i=n(8413),l=p(n(473)),u=p(n(29)),s=p(n(13)),d=n(1),f=p(n(6)),c=p(n(7358));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleEnableMFA=function(){var e=t.props.guild;s.default.track(d.AnalyticEvents.CHANNEL_NOTICE_CTA_CLICKED,{source:d.ChannelNoticeCtaSources.GUILD_MFA_WARNING,guild_id:e.id}),l.default.open(d.UserSettingsSections.ACCOUNT)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var a=r.prototype;return a.componentWillUnmount=function(){(0,i.hideNotice)(d.ChannelNoticeTypes.MFA_WARNING)},a.render=function(){return y("div",{className:(0,o.default)(c.default.channelNotice,c.default.guildMFAWarning)},void 0,y("div",{className:c.default.message},void 0,y("div",{},void 0,f.default.Messages.TWO_FA_GUILD_MFA_WARNING_MESSAGE_WITH_SPACING.format()),y(u.default,{className:c.default.btn,onClick:this.handleEnableMFA},void 0,f.default.Messages.TWO_FA_GUILD_MFA_WARNING_RESOLVE_BUTTON)))},r}(a.PureComponent);_.displayName="GuildMFAWarning";var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(9)),i=n(8413),l=h(n(390)),u=h(n(8283)),s=h(n(36)),d=h(n(29)),f=h(n(61)),c=h(n(255)),p=n(41),v=h(n(13)),y=n(1),m=h(n(6)),_=h(n(7358));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(){return(S=Object.assign||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}).apply(this,arguments)}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var I=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleInvite=function(){var e=t.props.guild;v.default.track(y.AnalyticEvents.CHANNEL_NOTICE_CTA_CLICKED,{source:y.ChannelNoticeCtaSources.INVITE_NOTICE,guild_id:e.id}),(0,p.openModal)((function(t){return a.createElement(u.default,S({},t,{guild:e,source:y.InstantInviteSources.INVITE_NOTICE}))}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,O(t,n);var h=r.prototype;return h.handleClose=function(){var e=s.default.getChannelId();(0,i.hideNotice)(y.ChannelNoticeTypes.INVITE),e&&l.default.sendBotMessage(e,m.default.Messages.HOW_TO_INVITE_OTHERS.format({invitePeople:m.default.Messages.INVITE_PEOPLE}))},h.render=function(){return g("div",{className:(0,o.default)(_.default.channelNotice,_.default.invite)},void 0,g(f.default,{onClick:this.handleClose,className:_.default.close},void 0,g(c.default,{className:_.default.closeIcon})),g("div",{className:_.default.message},void 0,g("div",{},void 0,m.default.Messages.INVITE_NOTICE_MESSAGE),g("div",{},void 0,m.default.Messages.INVITE_NOTICE_MESSAGE_PART_2),g(d.default,{className:_.default.btn,onClick:this.handleInvite},void 0,m.default.Messages.INVITE_PEOPLE)))},r}(a.PureComponent);I.displayName="InviteNotice";var T=I;t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(9)),i=n(8413),l=v(n(61)),u=v(n(255)),s=v(n(13)),d=v(n(93)),f=n(1),c=v(n(6)),p=v(n(7358));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var _=function(e){var t=e.guild,n=e.channelNoticeType;a.useEffect((function(){s.default.track(f.AnalyticEvents.CHANNEL_NOTICE_VIEWED,{notice_type:n,guild_id:t.id})}),[t.id,n]);var r=a.useCallback((function(){(0,i.hideMaxMemberCountChannelNotice)(t.id,n)}),[t.id,n]);return m("div",{className:(0,o.default)(p.default.channelNotice,p.default.maxMembersCount)},void 0,m(l.default,{onClick:r,className:p.default.close},void 0,m(u.default,{className:p.default.closeIcon})),m("div",{className:p.default.message},void 0,m("div",{},void 0,c.default.Messages.NOTICE_CHANNEL_MAX_MEMBERS_CAP_REACHED_MESSAGE.format({maxMemberCount:t.maxMembers,maxMembersUrl:d.default.getArticleURL(f.HelpdeskArticles.MAX_MEMBERS)}))))};_.displayName="MaxMemberCountNotice";var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(8413),i=y(n(8254)),l=y(n(29)),u=y(n(61)),s=y(n(255)),d=y(n(13)),f=n(5935),c=n(1),p=y(n(6)),v=y(n(8024));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=function(e){var t=e.guild,n=e.subscriptions,r=t.id;a.useEffect((function(){d.default.track(c.AnalyticEvents.CHANNEL_NOTICE_VIEWED,{notice_type:c.ChannelNoticeTypes.PREMIUM_GUILD_GRACE_PERIOD,guild_id:r})}),[r]);return null==n||(0,f.premiumGuildSubscriptionsRequiredForPerks)(n)<=0?null:_("div",{className:v.default.channelNotice},void 0,_(u.default,{onClick:function(){(0,o.hidePremiumGuildGracePeriodNotice)(r)},className:v.default.close},void 0,_(s.default,{className:v.default.closeIcon})),_("div",{className:v.default.message},void 0,p.default.Messages.PREMIUM_GUILD_GRACE_PERIOD_NOTICE),_(l.default,{fullWidth:!0,color:l.default.Colors.GREY,size:l.default.Sizes.SMALL,onClick:function(){d.default.track(c.AnalyticEvents.CHANNEL_NOTICE_CTA_CLICKED,{source:c.ChannelNoticeCtaSources.GRACE_PERIOD_NOTICE,guild_id:r}),i.default.open(r,c.GuildSettingsSections.GUILD_PREMIUM)},className:v.default.checkStatusButton},void 0,p.default.Messages.PREMIUM_GUILD_GRACE_PERIOD_NOTICE_BUTTON))};h.displayName="PremiumGuildSubscriptionGracePeriodNotice";var E=h;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=n(8413),i=h(n(8412)),l=n(1148),u=h(n(684)),s=h(n(29)),d=h(n(61)),f=n(5703),c=h(n(255)),p=n(1230),v=h(n(13)),y=n(1),m=h(n(6)),_=h(n(8025));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var S=(0,l.registerUserExperiment)({id:l.Experiments.GUILD_AFFINITY_PREMIUM_GUILD_SUBSCRIPTION_CTA,title:"Premium guild subscription for high-affinity guilds",description:["Show premium guild subscription CTA","Control: No CTA.","Treatment 1: Show CTA."],buckets:[l.ExperimentBuckets.CONTROL,l.ExperimentBuckets.TREATMENT_1]}),O=function(e){var t=e.guild,n=(0,l.useAndTrackExposureToUserExperiment)(S),r=(0,a.useStateFromStores)([u.default],(function(){return u.default.getMemberCount(t.id)}));if(n!==l.ExperimentBuckets.TREATMENT_1)return null;var h=null==r||r<y.SMALL_GUILD_MEMBER_THRESHOLD;return g("div",{className:_.default.channelNotice},void 0,g(d.default,{onClick:function(){(0,o.hideNotice)(y.ChannelNoticeTypes.PREMIUM_GUILD_SUBSCRIPTIONS_GUILD_AFFINITY),(0,o.hideNotice)(y.ChannelNoticeTypes.PREMIUM_GUILD_SUBSCRIPTIONS,{suppressAnalyticsTracking:!0})},className:_.default.close},void 0,g(c.default,{className:_.default.closeIcon})),g("div",{className:_.default.premiumGuildAnimationWrapper},void 0,g(f.PremiumPaymentGuildAnimation,{className:_.default.premiumGuildAnimation,nextScene:f.PremiumPaymentGuildAnimation.Scenes.IDLE})),g("div",{className:_.default.message},void 0,h?m.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_GUILD_AFFINITY_NOTICE_SMALL_GUILD:m.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_GUILD_AFFINITY_NOTICE,g(s.default,{fullWidth:!0,color:s.default.Colors.BRAND,size:s.default.Sizes.SMALL,className:_.default.guildAffinityPremiumSubscriptionButton,onClick:function(){v.default.track(y.AnalyticEvents.CHANNEL_NOTICE_CTA_CLICKED,{source:y.ChannelNoticeCtaSources.GUILD_AFFINITY_SUGGESTION,guild_id:t.id}),(0,p.openFullScreenLayer)((function(e){var n=e.transitionState,r=e.closeLayer;return g(i.default,{layerTransitionState:n,close:r,guildId:t.id,locationSection:y.AnalyticsSections.CHANNEL_NOTICE})}))}},void 0,m.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_GUILD_AFFINITY_NOTICE_BUTTON)))};O.displayName="PremiumGuildSubscriptionGuildAffinityNotice";var I=O;t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(9)),i=h(n(3)),l=n(8413),u=h(n(8412)),s=h(n(684)),d=h(n(29)),f=h(n(61)),c=h(n(255)),p=n(1230),v=h(n(13)),y=n(1),m=h(n(6)),_=h(n(7358));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var O=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleButtonClick=function(){var e=t.props.guild;v.default.track(y.AnalyticEvents.CHANNEL_NOTICE_CTA_CLICKED,{source:y.ChannelNoticeCtaSources.GUILD_SUBSCRIPTION_NOTICE,guild_id:e.id}),(0,p.openFullScreenLayer)((function(e){var n=e.transitionState,r=e.closeLayer;return g(u.default,{layerTransitionState:n,close:r,guildId:t.props.guild.id,locationSection:y.AnalyticsSections.CHANNEL_NOTICE})}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n);var a=r.prototype;return a.handleClose=function(){(0,l.hideNotice)(y.ChannelNoticeTypes.PREMIUM_GUILD_SUBSCRIPTIONS)},a.render=function(){var e=this.props.memberCount,t=null==e||e<y.SMALL_GUILD_MEMBER_THRESHOLD;return g("div",{className:(0,o.default)(_.default.channelNotice,_.default.premiumGuildSubscription)},void 0,g(f.default,{onClick:this.handleClose,className:_.default.close},void 0,g(c.default,{className:_.default.closeIcon})),g("div",{className:_.default.message},void 0,g("div",{className:t?void 0:_.default.textLargeGuild},void 0,t?m.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_NOTICE_SMALL_GUILD:m.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_NOTICE),g(d.default,{className:_.default.btn,onClick:this.handleButtonClick},void 0,m.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_NOTICE_BUTTON)))},r}(a.PureComponent);O.displayName="PremiumGuildSubscriptionNotice";var I=i.default.connectStores([s.default],(function(e){var t=e.guild;return{memberCount:s.default.getMemberCount(t.id)}}))(O);t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=m(n(9)),o=n(8413),i=n(1272),l=n(1257),u=n(1340),s=m(n(29)),d=m(n(61)),f=m(n(255)),c=m(n(13)),p=n(1),v=m(n(6)),y=m(n(7358));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var E=function(e){var t=u.QUICKSWITCHER_SHOW.binds[0].split("+").map((function(e){return l.PRETTY_KEYS[e]?l.PRETTY_KEYS[e]():e})).join(" + ");return h("div",{className:(0,a.default)(y.default.channelNotice,y.default.quickswitcher)},void 0,h(d.default,{onClick:function(){return(0,o.hideNotice)(p.ChannelNoticeTypes.QUICKSWITCHER)},className:y.default.close},void 0,h(f.default,{className:y.default.closeIcon})),h("div",{className:y.default.message},void 0,h("div",{},void 0,v.default.Messages.QUICKSWITCHER_NOTICE),h(s.default,{className:y.default.btn,onClick:function(){var t=e.guild;c.default.track(p.AnalyticEvents.CHANNEL_NOTICE_CTA_CLICKED,{source:p.ChannelNoticeCtaSources.QUICK_SWITCHER_NOTICE,guild_id:t.id}),(0,i.show)("CHANNEL_NOTICE")}},void 0,t)))};E.displayName="QuickSwitcherNotice";var g=E;t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=I;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(42),l=g(n(61)),u=g(n(8635)),s=g(n(8455)),d=g(n(255)),f=g(n(24)),c=g(n(11143)),p=n(8769),v=g(n(9945)),y=g(n(11144)),m=n(10384),_=n(1),h=g(n(6)),E=g(n(8027));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(e){var t=e.guild,n=(0,o.useStateFromStores)([v.default],(function(){return v.default.getProgress(t.id)}),[t.id]),r=null!=n?n.size:0,g=(0,m.getCurrentStep)(n),S=h.default.Messages.PROGRESS_COMPLETED;switch(g){case p.Steps.AVATAR:S=h.default.Messages.AVATAR_STEP_TITLE;break;case p.Steps.CHANNEL:S=h.default.Messages.CHANNEL_STEP_TITLE;break;case p.Steps.MESSAGE:S=h.default.Messages.MESSAGE_STEP_TITLE;break;case p.Steps.INVITE:S=h.default.Messages.INVITE_STEP_TITLE}var I=a.useRef();return O("div",{className:E.default.container},void 0,O(l.default,{onClick:function(){(0,i.transitionTo)(_.Routes.CHANNEL(t.id)),c.default.dismissProgress(t.id)},className:E.default.dismiss},void 0,O(d.default,{className:E.default.dismissIcon})),O(f.default,{color:f.default.Colors.HEADER_PRIMARY,size:f.default.Sizes.SIZE_16,className:E.default.title},void 0,S),O(l.default,{className:E.default.progressContainer,onClick:function(){(0,i.transitionTo)(_.Routes.GUILD_PROGRESS(t.id))}},void 0,O(u.default,{className:E.default.progress,size:u.default.Sizes.LARGE,percent:r/m.TOTAL_STEPS*100,animate:!0}),a.createElement("div",{className:E.default.footer,ref:I},O(s.default,{className:E.default.questIcon}),O(f.default,{size:f.default.Sizes.SIZE_12,color:f.default.Colors.HEADER_SECONDARY,className:E.default.subtitle},void 0,h.default.Messages.SERVER_QUEST),O(f.default,{size:f.default.Sizes.SIZE_12,color:f.default.Colors.MUTED,className:E.default.step},void 0,r===m.TOTAL_STEPS?h.default.Messages.PROGRESS_STEPS_FINISHED:h.default.Messages.PROGRESS_STEPS.format({step:r+1}))),O(y.default,{firing:r===m.TOTAL_STEPS,targetElementRef:I})))}I.displayName="GuildProgressBar"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);var i={createProgress:function(e){a.default.dispatch({type:o.ActionTypes.GUILD_PROGRESS_INITIALIZE,guildId:e})},markCompletedProgressSeen:function(e){a.default.wait((function(){return a.default.dispatch({type:o.ActionTypes.GUILD_PROGRESS_COMPLETED_SEEN,guildId:e})}))},dismissProgress:function(e){a.default.dispatch({type:o.ActionTypes.GUILD_PROGRESS_DISMISS,guildId:e})}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(9133),i=s(n(165)),l=n(1),u=s(n(8026));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}var p={sprites:[n(9135)],colors:[l.Colors.BRAND,"#FFC0FF","#FFD836","#FF9A15","#A5F7DE","#51BC9D","#AEC7FF","#3E70DD"],fireCount:30,count:2,size:12,sizeSpread:7,angle:100,angleSpread:60,velocity:50,velocitySpread:25,dragCoefficient:0,gravity:5};function v(e){var t,n=e.firing,r=e.targetElementRef,l=a.useRef(null);if(null==r.current)return null;var s=r.current.getBoundingClientRect(),d=null===(t=l.current)||void 0===t?void 0:t.getBoundingClientRect(),v=0,y=0;return null!=d&&(v=(s.left+s.width)/d.width*100,y=s.top/d.height*100),f(i.default,{},void 0,a.createElement("div",{className:u.default.cannon,ref:l},null!=l.current?f(o.ConfettiCanvas,{className:u.default.cannon},void 0,(function(e){return a.createElement(o.ConfettiCannon,c({},e,p,{position:{x:v,y:y},firing:n}))})):null))}v.displayName="ProgressConfetti"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(9)),o=i(n(8028));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var s=function(){return u("div",{className:o.default.spacer})};s.displayName="Spacer";var d=function(){return u("div",{className:o.default.category})};d.displayName="Category";var f=function(e){var t=e.width;return u("div",{className:o.default.channel},void 0,u("div",{className:o.default.channelIcon}),u("div",{className:o.default.channelName,style:{width:t+"px"}}))};f.displayName="Channel";var c=u(d,{}),p=u(f,{width:100}),v=u(f,{width:74}),y=u(f,{width:100}),m=u(f,{width:70}),_=u(f,{width:112}),h=u(f,{width:175}),E=u(s,{}),g=u(d,{}),S=u(f,{width:100}),O=u(f,{width:74}),I=u(f,{width:100}),T=u(f,{width:70}),C=u(f,{width:112}),b=u(f,{width:56}),M=function(e){var t,n=e.withBannerPadding;return u("div",{className:(0,a.default)(o.default.container,(t={},t[o.default.bannerPadding]=n,t))},void 0,c,p,v,y,m,_,h,E,g,S,O,I,T,C,b)};M.displayName="PlaceholderChannelList";var N=M;t.default=N},function(e,t,n){e.exports=n.p+"c62be7853cf4c6dc7a48a506cbdef44c.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(262),i=n(3),l=C(n(8318)),u=C(n(1381)),s=n(42),d=C(n(1280)),f=C(n(8492)),c=C(n(709)),p=C(n(5947)),v=C(n(15)),y=C(n(151)),m=C(n(5951)),_=C(n(9192)),h=n(41),E=C(n(10428)),g=C(n(8456)),S=C(n(11241)),O=n(1),I=C(n(6)),T=C(n(8047));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(){return(N=Object.assign||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}).apply(this,arguments)}function A(e){var t=e.guildId,n=e.canStartEvents;return a.createElement(a.Fragment,null,n&&null!=t&&M(l.default.Icon,{icon:m.default,tooltip:I.default.Messages.GUILD_STAGE_DISCOVERY_SCHEDULE_EVENT_LABEL,onClick:function(){t&&(0,h.openModal)((function(e){return a.createElement(E.default,N({guildId:t},e))}),{onCloseRequest:function(){return O.NOOP_NULL}})}}))}var P=M(l.default.Icon,{icon:_.default,"aria-hidden":!0});function R(e){var t=e.guildId,n=e.eventId,r=(0,i.useStateFromStores)([v.default],(function(){return v.default.getGuild(t)}),[t]),m=(0,i.useStateFromStores)([c.default],(function(){return c.default.isConnected()})),_=f.default.useExperiment({guildId:t})[0],E=d.default.useExperiment({guildId:t})[0],O=_.enabled||E.enabled,C=(0,g.default)(t).canStartEvents;return a.useEffect((function(){!m||null!=r&&O||((0,h.openModal)((function(e){return a.createElement(u.default,e)})),(0,s.replaceWith)(p.default.defaultRoute))}),[r,m,O]),null==r?M("div",{className:T.default.spinnerContainer},void 0,M(y.default,{className:T.default.spinner})):M("div",{className:T.default.container},void 0,M(o.Helmet,{title:I.default.Messages.DISCORD_NAME}),M(l.default,{toolbar:M(A,{guildId:t,canStartEvents:C}),className:T.default.headerBarContainer},void 0,P,M(l.default.Title,{},void 0,I.default.Messages.GUILD_STAGE_INSTANCE_DISCOVERY_TITLE)),M(S.default,{guild:r,eventId:n,canStartEvents:C}))}R.displayName="GuildTicketedEventDiscoveryPage";var L=R;t.default=L},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=c(n(361)),i=c(n(371)),l=n(35),u=n(10430),s=c(n(6)),d=c(n(7359)),f=c(n(8031));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=function(e){var t=e.guild,n=e.onClick,r=v(i.default,{guild:t,active:!0,size:i.default.Sizes.MEDIUM,className:f.default.guildIcon});return v(u.FormRowButton,{leadingComponent:r,label:t.toString(),onClick:n})};y.displayName="GuildRow";var m=function(e){var t=e.onSelectGuild,n=(0,a.useStateFromStores)([o.default],(function(){return o.default.getFlattenedGuilds()}));return v(l.ModalContent,{className:d.default.modalContent},void 0,v("div",{className:d.default.modalHeadline},void 0,s.default.Messages.CREATE_STAGE_INSTANCE_SELECT_GUILD_HEADER),v("div",{className:d.default.modalSubheadline},void 0,s.default.Messages.CREATE_STAGE_INSTANCE_SELECT_GUILD_SUBHEADER),v("div",{},void 0,n.map((function(e){return v(y,{guild:e,onClick:function(){return t(e)}},e.id)}))))};m.displayName="SelectGuildModal";var _=m;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(207),o=p(n(1221)),i=p(n(1335)),l=p(n(1374)),u=n(35),s=n(10430),d=p(n(6)),f=p(n(7359)),c=p(n(8032));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=[{Icon:l.default,label:d.default.Messages.STAGE_INSTANCE_PRIVACY_TYPE_PUBLIC_LABEL,description:d.default.Messages.STAGE_INSTANCE_PRIVACY_TYPE_PUBLIC_SUB_LABEL,value:a.StageInstancePrivacyLevel.PUBLIC},{Icon:i.default,label:d.default.Messages.STAGE_INSTANCE_PRIVACY_TYPE_FRIENDS_ONLY_LABEL,description:d.default.Messages.STAGE_INSTANCE_PRIVACY_TYPE_FRIENDS_ONLY_SUB_LABEL,value:a.StageInstancePrivacyLevel.GUILD_ONLY},{Icon:o.default,label:d.default.Messages.STAGE_INSTANCE_PRIVACY_TYPE_PRIVATE_LABEL,description:d.default.Messages.STAGE_INSTANCE_PRIVACY_TYPE_PRIVATE_SUB_LABEL,value:a.StageInstancePrivacyLevel.GUILD_ONLY}],_=function(e){var t=e.onSelect,n=e.value;return y(u.ModalContent,{className:f.default.modalContent},void 0,y("div",{className:f.default.modalHeadline},void 0,d.default.Messages.CREATE_STAGE_INSTANCE_SELECT_PRIVACY_HEADER),y("div",{className:f.default.modalSubheadline},void 0,d.default.Messages.CREATE_STAGE_INSTANCE_SELECT_PRIVACY_SUBHEADER),y("div",{},void 0,m.map((function(e){var r=e.Icon,a=e.label,o=e.description,i=e.value;return y(s.FormRowRadio,{leadingComponent:y("div",{className:c.default.iconContainer},void 0,y(r,{height:20,width:20,className:c.default.icon})),label:a,description:o,onClick:function(){return t(i)},selected:i===n},i)}))))};_.displayName="SelectPrivacyModal";var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(9)),i=y(n(1424)),l=y(n(8550)),u=n(131),s=n(35),d=y(n(11236)),f=y(n(11238)),c=y(n(6)),p=y(n(7359)),v=y(n(8035));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var E=function(e){var t,n=e.value,r=void 0===n?0:n,a=e.maxValue,i=a-r;return i>10?null:h("span",{className:(0,o.default)(v.default.charLimitIndicator,(t={},t[v.default.charLimitIndicatorError]=i<0,t))},void 0,r,"/",a)};E.displayName="CharacterLimitIndicator";var g=function(e){var t,n,r=e.guildEvent,o=e.onGuildEventChange,y=e.schedule,m=e.onScheduleChange,g=e.ticket,S=e.onTicketChange,O=e.maxTitleChars,I=e.maxDescriptionChars,T=e.hasTicket,C=a.createElement(a.Fragment,null,h(i.default,{schedule:y,onScheduleChange:m}),T&&a.createElement(a.Fragment,null,h(u.FormDivider,{className:v.default.divider}),h(f.default,{ticket:g,onTicketChange:S})));return h(s.ModalContent,{className:p.default.modalContent},void 0,h("div",{className:v.default.titleImageContainer},void 0,h(u.FormItem,{title:c.default.Messages.CREATE_STAGE_INSTANCE_TITLE_INPUT_LABEL,tag:u.FormItem.Tags.H5,className:v.default.titleContainer,titleClassName:v.default.titleContainerTitle,required:!0},void 0,h(E,{value:null===(t=r.title)||void 0===t?void 0:t.length,maxValue:O}),h(l.default,{className:v.default.titleInput,placeholder:c.default.Messages.CREATE_STAGE_INSTANCE_TITLE_INPUT_PLACEHOLDER,spellCheck:"false",value:r.title,onChange:function(e){o((function(t){return _({},t,{title:e.currentTarget.value})}))},rows:1,autoFocus:!0})),h(d.default,{src:r.imageData,onChange:function(e){o((function(t){return _({},t,{imageData:e})}))}})),h(u.FormItem,{title:c.default.Messages.CREATE_STAGE_INSTANCE_DESCRIPTION_INPUT_LABEL,className:v.default.descriptionContainer,titleClassName:v.default.descriptionContainerTitle},void 0,h(E,{value:null===(n=r.description)||void 0===n?void 0:n.length,maxValue:I}),h(l.default,{className:v.default.descriptionInput,placeholder:c.default.Messages.CREATE_STAGE_INSTANCE_DESCRIPTION_INPUT_PLACEHOLDER,value:r.description,onChange:function(e){return o((function(t){return _({},t,{description:e.currentTarget.value})}))},spellCheck:"false",rows:1})),h("div",{},void 0,C))};g.displayName="TicketDetailsModal";var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=u(n(8327)),o=u(n(11237)),i=u(n(1215)),l=u(n(8033));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var f=function(e){var t=e.src,n=e.onChange;return d("div",{className:l.default.container,style:{backgroundImage:"url("+t+")"}},void 0,void 0===t?d("div",{className:l.default.uploadIconContainer},void 0,d(o.default,{className:l.default.uploadIcon})):d("div",{className:l.default.pencilIconContainer},void 0,d(i.default,{width:20,height:20,className:l.default.pencilIcon})),d(a.default,{onChange:n,showEditingModal:!0}))};f.displayName="ImagePicker";var c=f;t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color"]);return o.createElement("svg",u({},(0,i.default)(f),{width:n,height:a,viewBox:"0 0 24 24",fill:"none"}),s("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.2899 2L6 2C3.79086 2 2 3.79086 2 6V18C2 20.2091 3.79086 22 6 22H18C20.2091 22 22 20.2091 22 18V10.7101C21.3663 10.8987 20.695 11 20 11C16.134 11 13 7.86599 13 4C13 3.30503 13.1013 2.63371 13.2899 2ZM8 6C9.1032 6 10 6.8952 10 8C10 9.1056 9.1032 10 8 10C6.8944 10 6 9.1056 6 8C6 6.8952 6.8944 6 8 6ZM6 18L9 14L11 16L15 11L18 18H6Z",fill:d}),s("path",{d:"M21 0V3H24V5H21V8H19V5H16V3H19V0H21Z",fill:d}))}d.displayName="ImageUpload"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(131),i=n(374),l=n(11239),u=d(n(6)),s=d(n(8034));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e){var t=e.ticket,n=e.onTicketChange,r=(0,l.usePriceTiers)().priceTiers,d=a.useMemo((function(){return r.filter((function(e){return e>=299&&e<=9999}))}),[r]),f=d.map((function(e){return{label:"$"+e/100,value:e}}));a.useEffect((function(){null==t.priceTier&&d.length>0&&n((function(e){return p({},e,{priceTier:d[0]})}))}),[d,t.priceTier]);return c(o.FormItem,{title:u.default.Messages.EVENT_TICKET_PRICE_PICKER_LABEL},void 0,c(i.SingleSelect,{options:f,value:t.priceTier,onChange:function(e){n((function(t){return p({},t,{priceTier:e})}))},maxVisibleItems:5}),c(o.FormText,{className:s.default.label,type:o.FormText.Types.DESCRIPTION},void 0,u.default.Messages.EVENT_TICKET_PRICE_PICKER_INSTRUCTION))}v.displayName="StageTicketPurchaseDetails"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePriceTiers=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=l(n(251)),o=l(n(11240)),i=l(n(8493));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}var d=(0,a.default)((function(e){return{priceTiers:[],setPriceTiers:function(t){return e({priceTiers:t})}}}));t.usePriceTiers=function(){var e=r.useState(!1),t=e[0],n=e[1],a=d((function(e){return e})),l=a.priceTiers,u=a.setPriceTiers,f=(0,o.default)(),c=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n(!0),e.prev=1,e.next=4,i.default.getTicketPriceTiers();case 4:t=e.sent,r=t.body,u(r),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(1);case 11:f()&&n(!1);case 12:case"end":return e.stop()}}),e,null,[[1,9]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){s(o,r,a,i,l,"next",e)}function l(e){s(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();return r.useEffect((function(){0===l.length&&c()}),[]),{loading:t,priceTiers:l}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}var o=function(){var e=r.useRef(!0);r.useEffect((function(){return function(){e.current=!1}}),[]);return function(){return e.current}};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=P(n(0)),o=n(8),i=n(3),l=N(n(8299)),u=N(n(8764)),s=N(n(8572)),d=n(42),f=N(n(39)),c=N(n(29)),p=P(n(8302)),v=N(n(151)),y=N(n(35)),m=n(41),_=N(n(24)),h=n(1210),E=n(139),g=N(n(10428)),S=N(n(10431)),O=n(9021),I=n(9996),T=N(n(11251)),C=n(1),b=N(n(6)),M=N(n(8046));function N(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function P(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function R(){return(R=Object.assign||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}).apply(this,arguments)}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var D=(0,E.cssValueToNumber)(M.default.rowHeight);function w(e){var t=e.width,r=e.canStartEvents,l=e.guild,d=e.eventId,y=(0,s.default)(null==l?void 0:l.id),E=a.useMemo((function(){return function(e,t){return(0,o.chunk)(e,t)}(y,function(e){return Math.floor(e/278)}(t))}),[y,t]),S=(0,i.useStateFromStores)([f.default],(function(){return f.default.theme})),O=null!=d?u.default.getGuildScheduledEvent(d):null;if(null==l)return null;var I=function(){null!=l&&(0,m.openModal)((function(e){return a.createElement(g.default,R({guildId:l.id},e))}),{onCloseRequest:function(){return C.NOOP_NULL}})},N=L(j,{guild:l,guildEvent:O,canStartEvents:r}),A=function(){return null==O?null:N};return 0===E.length?L("div",{className:M.default.container},void 0,L(p.default,{theme:S,className:M.default.emptyStateContainer},void 0,L(p.EmptyStateImage,{darkSrc:n(10432),lightSrc:n(11256),width:120,height:80}),L(_.default,{size:_.default.Sizes.SIZE_24,color:_.default.Colors.HEADER_PRIMARY,className:M.default.emptyStateTitle},void 0,b.default.Messages.UPCOMING_GUILD_STAGE_INSTANCE_DISCOVERY_EMPTY_STATE_TITLE),r&&L(_.default,{size:_.default.Sizes.SIZE_14,color:_.default.Colors.HEADER_SECONDARY,className:M.default.emptyStateSubTitle},void 0,b.default.Messages.UPCOMING_GUILD_STAGE_INSTANCE_DISCOVERY_EMPTY_STATE_SUB_TITLE),r&&L(c.default,{size:c.default.Sizes.LARGE,color:c.default.Colors.BRAND,className:M.default.emptyStateButton,onClick:I},void 0,b.default.Messages.GUILD_STAGE_DISCOVERY_SCHEDULE_EVENT_LABEL)),A()):L("div",{className:M.default.container},void 0,null==E||null==l?L(v.default,{className:M.default.spinner}):L(h.ListAuto,{sections:[E.length],renderSection:function(){return null},sectionHeight:40,renderRow:function(e){var t=e.section,n=e.row;if(null==E||null==l)return null;var a=E[n].map((function(e){return L(T.default,{guildEvent:e,guild:l,canStartEvents:r},e.id)}));return L("div",{className:M.default.row},t+"."+n,a)},rowHeight:D,renderFooter:function(e){return L("div",{style:{height:32}},"footer"+e.section)},footerHeight:32,className:M.default.listContainer}),A())}function j(e){var t=e.guild,n=e.guildEvent,r=e.canStartEvents,o=(0,O.useLiveScheduledEventStageChannel)(t.id,n.id),i=(0,I.useSharedStageInstanceDiscoveryStates)(n,r,o),l=i.sku;if(!i.canPurchaseTicket)return null;var u=function(){return(0,d.transitionTo)(C.Routes.UPCOMING_STAGES(t.id))};return L(y.default,{onCloseCallback:u,renderModal:function(e){return a.createElement(S.default,R({},e,{guild:t,guildEvent:n,sku:l,onClose:u}))}})}w.displayName="GuildTicketedEventDiscoveryView",j.displayName="PurchaseModal";var k=(0,l.default)(w);t.default=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFetchTicketPrice=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(5672);function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function i(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}t.useFetchTicketPrice=function(e){var t=e.paymentSourceId,n=e.skuId,o=e.applicationId,l=r.useState(!0),u=l[0],s=l[1],d=r.useState(null),f=d[0],c=d[1];return r.useEffect((function(){var e,r=!1;return(e=regeneratorRuntime.mark((function e(){var i,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=n&&null!=o){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,(0,a.fetchPurchasePreview)(o,n,t);case 4:if(i=e.sent,l=i.body,!r){e.next=8;break}return e.abrupt("return");case 8:c(l),s(!1);case 10:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function l(e){i(o,r,a,l,u,"next",e)}function u(e){i(o,r,a,l,u,"throw",e)}l(void 0)}))})(),function(){r=!0}}),[n,t,o]),{isLoading:u,price:f}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=y(n(5)),o=n(3),i=n(1232),l=y(n(36)),u=y(n(29)),s=n(35),d=y(n(24)),f=y(n(11244)),c=n(9021),p=y(n(6)),v=y(n(8037));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=_("div",{}),E=function(e){var t,n=e.guild,r=e.onClose,y=e.event,m=(0,a.default)(y.scheduled_start_time);if(m.isAfter((0,a.default)())){var E=m.calendar(void 0,{sameDay:"[today at] h:mm A",nextDay:"[tomorrow at] h:mm A",sameElse:"MMM D, h:mm A"});t=p.default.Messages.STAGE_INSTANCE_TICKET_PURCHASE_CONFIRMATION_SUB_TITLE.format({startTime:E})}else t=p.default.Messages.STAGE_INSTANCE_TICKET_PURCHASE_CONFIRMATION_STAGE_STARTED_SUB_TITLE;var g,S,O=(0,c.useLiveScheduledEventStageChannel)(n.id,y.id),I=(0,o.useStateFromStores)([l.default],(function(){return l.default.getVoiceChannelId()}),[]),T=function(){r(),null!=O&&I===O.id?(0,i.navigateToStage)(O,I):null!=O&&(0,i.connectAndOpen)(O)};return _("div",{className:v.default.confirmationModal},void 0,_(s.ModalCloseButton,{onClick:r,className:v.default.closeButton}),_(s.ModalContent,{className:v.default.confirmationModalContent},void 0,_(f.default,{className:v.default.ticketCard,guild:n,event:y}),_(d.default,{color:d.default.Colors.HEADER_PRIMARY,size:d.default.Sizes.SIZE_24,className:v.default.title},void 0,p.default.Messages.STAGE_INSTANCE_TICKET_PURCHASE_CONFIRMATION_TITLE),_(d.default,{color:d.default.Colors.HEADER_SECONDARY,size:d.default.Sizes.SIZE_16,className:v.default.subtitle},void 0,t),(g=p.default.Messages.STAGE_INSTANCE_TICKET_PURCHASE_CONFIRMATION_GOT_IT_LABEL,S=u.default.Colors.BRAND,null!=O&&(g=p.default.Messages.STAGE_CHANNEL_JOIN_BUTTON,S=u.default.Colors.GREEN),g&&_(u.default,{look:u.default.Looks.FILLED,color:S,size:u.default.Sizes.SMALL,onClick:T,className:v.default.confButton},void 0,g)),h))};E.displayName="GuildEventTicketPurchaseConfirmationModal";var g=E;t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=f(n(371)),l=f(n(248)),u=n(10027),s=f(n(10028)),d=f(n(8036));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=function e(t,n,r,a){return 0===r?null==a?null:p(i.default,{guild:a,active:!0,size:i.default.Sizes.MEDIUM,className:d.default.guildIconEmptyState}):p("div",{className:d.default.circles,style:{width:2*t,height:2*t}},void 0,e(t-n,n,r-1,a))};v.displayName="renderEmptyState";var y=function(e){var t=e.guild,n=e.event,r=e.className,f=(0,s.default)({id:n.id,image:n.image,size:256}),c=a.useMemo((function(){return(0,u.getFormattedEventDateAndTime)(n)}),[n]);return p("div",{},void 0,p(l.default,{mask:l.default.Masks.EVENT_TICKET,width:320,height:160,className:(0,o.default)(d.default.maskWrapper,r)},void 0,p("div",{className:(0,o.default)(d.default.container)},void 0,p("div",{className:(0,o.default)(d.default.textContainerOverlay,d.default.gradientBackground)},void 0,p("div",{className:d.default.textContainer},void 0,p("div",{className:d.default.date},void 0,c),p("div",{className:d.default.title},void 0,n.name),p("div",{className:d.default.serverName},void 0,t.toString()))),null==f?p("div",{className:(0,o.default)(d.default.circlesContainer,d.default.gradientBackground)},void 0,p("div",{className:d.default.circlesOverlay},void 0,v(100,16,5,t))):p("div",{className:d.default.imageContainer,style:{backgroundImage:"url("+f+")"}},void 0,t&&p(i.default,{guild:t,active:!0,size:i.default.Sizes.SMALLER,className:d.default.guildIconBottomRight})))))};y.displayName="TicketCard";var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=y(n(55)),o=y(n(371)),i=n(131),l=n(35),u=y(n(24)),s=y(n(11246)),d=y(n(10028)),f=y(n(11247)),c=y(n(6)),p=y(n(7359)),v=y(n(8040));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e){var t=e.guild,n=e.onClose,r=e.event,y=e.canPurchaseTicket,m=e.sku,h=(0,d.default)({id:r.id,image:r.image,size:128}),E=_("div",{className:v.default.guildIconContainer},void 0,_("div",{className:v.default.guildIconOuterCircle},void 0,_("div",{className:v.default.guildIconInnerCircle},void 0,_(o.default,{guild:t,size:o.default.Sizes.MEDIUM,className:v.default.guildIcon}))));return _(l.ModalHeader,{className:v.default.container,align:a.default.Align.START,direction:a.default.Direction.VERTICAL,separator:!1},void 0,_("div",{className:v.default.titleContainer},void 0,_(u.default,{size:u.default.Sizes.SIZE_16,className:p.default.modalHeaderText},void 0,c.default.Messages.PURCHASE_TICKET_MODAL_TITLE),_(l.ModalCloseButton,{onClick:n,className:p.default.closeButton})),_(i.FormDivider,{className:v.default.divider}),_("div",{className:v.default.contentContainer},void 0,null!=h?_("img",{className:v.default.eventImage,src:h,alt:""}):E,_("div",{className:v.default.headerDetail},void 0,_(s.default,{guildEvent:r,canPurchaseTicket:y,sku:m,className:v.default.eventDateContainer}),_(u.default,{className:v.default.title,color:u.default.Colors.HEADER_PRIMARY,size:u.default.Sizes.SIZE_16},void 0,r.name),_(f.default,{guild:t,className:v.default.guildInfo}))))}h.displayName="GuildEventTicketPurchaseModalHeader"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(9)),i=c(n(372)),l=c(n(24)),u=n(281),s=n(10027),d=c(n(6)),f=c(n(8038));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var y=function(e){var t,n=e.canPurchaseTicket,r=e.sku,a=null!=r.price?(0,u.formatPrice)(null===(t=r.price)||void 0===t?void 0:t.amount,r.price.currency):null;return null==a?null:r.isAvailable()?v("div",{className:n?f.default.activeTicketPriceContainer:f.default.purchaseTicketPriceContainer},void 0,v(l.default,{size:l.default.Sizes.SIZE_12,className:f.default.ticketPrice},void 0,a),!n&&v(i.default,{width:16,height:16,className:f.default.checkmark})):v("div",{className:f.default.outlineContainer},void 0,v(l.default,{size:l.default.Sizes.SIZE_12,className:f.default.soldOutText},void 0,d.default.Messages.STAGE_INSTANCE_TICKET_SOLD_OUT_LABEL))};y.displayName="EventTicketPrice";var m=function(e){var t=e.sku,n=e.canPurchaseTicket,r=e.guildEvent,i=e.className,u=a.useMemo((function(){return(0,s.getFormattedEventDateAndTime)(r)}),[r]);return v("div",{className:(0,o.default)(f.default.container,i)},void 0,v(l.default,{color:l.default.Colors.HEADER_SECONDARY,size:l.default.Sizes.SIZE_12,className:f.default.date},void 0,u),null!=t&&v(y,{canPurchaseTicket:n,sku:t}))};m.displayName="EventDateWithTicketPrice";var _=m;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=u(n(9)),o=u(n(371)),i=u(n(24)),l=u(n(8039));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t=e.guild,n=e.className;return d("div",{className:(0,a.default)(l.default.container,n)},void 0,d(o.default,{size:o.default.Sizes.SMOL,guild:t,active:!0,className:l.default.guildIcon}),d(i.default,{className:l.default.guildName,color:i.default.Colors.INTERACTIVE_NORMAL},void 0,t.name))}f.displayName="GuildNameWithIcon";var c=f;t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=h(n(0)),o=n(3),i=m(n(5674)),l=m(n(485)),u=n(692),s=m(n(160)),d=h(n(159)),f=m(n(93)),c=m(n(11249)),p=n(1),v=m(n(6)),y=m(n(8041));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var g=function(e){var t=e.paymentSources,n=e.eventName,r=e.isLoadingPrice,m=e.price,_=e.paymentSourceId,h=e.setPaymentSourceId,g=e.setHasAcceptedTerms,S=e.handleStepChange,O=(0,o.useStateFromStores)([s.default],(function(){return s.default.enabled})),I=a.useMemo((function(){return Object.values(t)}),[t]);return E("div",{className:y.default.bodyContentWrapper},void 0,E(d.default,{className:y.default.reviewBodyHeader},void 0,v.default.Messages.STAGE_INSTANCE_TICKET_PURCHASE_MODAL_PURCHASE_DETAILS_HEADER),E(c.default,{className:y.default.invoice,isLoading:r,price:m,eventName:n}),E(d.default,{className:y.default.reviewBodyHeader,tag:d.Tags.H5},void 0,v.default.Messages.PAYMENT_SOURCE_PAYMENT_REQUEST_INFO_TITLE),E(i.default,{className:y.default.paymentSourceDropdown,paymentSources:I,selectedPaymentSourceId:_,onChange:function(e){return h(null==e?void 0:e.id)},onPaymentSourceAdd:function(){return S(u.Step.PAYMENT_TYPE)},hidePersonalInformation:O}),E(l.default,{onChange:g,forceShow:!0,checkboxLabel:v.default.Messages.PURCHASE_TICKET_LEGAL_LABEL.format({tosURL:p.MarketingURLs.TERMS,refundPolicyURL:f.default.getArticleURL(p.HelpdeskArticles.TICKETED_EVENT_REFUND_POLICY)})}))};g.displayName="GuildEventTicketPurchaseModalReviewBody";var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(1237),i=s(n(151)),l=n(281),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=f(i.default,{}),p=f(o.PremiumInvoiceTableDivider,{}),v=function(e){var t=e.className,n=e.isLoading,r=e.price,i=e.eventName;return f(o.PremiumInvoiceTable,{className:t},void 0,n||null==r?c:a.createElement(a.Fragment,null,f(o.PremiumInvoiceTableRow,{label:i,value:(0,l.formatPrice)(r.amount,r.currency)}),r.tax_inclusive||0===r.tax?null:f(o.PremiumInvoiceTableRow,{label:u.default.Messages.BILLING_INVOICE_TAX,value:(0,l.formatPrice)(r.tax,r.currency)}),p,f(o.PremiumInvoiceTableTotalRow,{label:r.tax_inclusive?u.default.Messages.GUILD_EVENT_TICKET_BILLING_INVOICE_TOTAL_TAX_INCLUSIVE.format():u.default.Messages.BILLING_INVOICE_TODAY_TOTAL.format(),value:(0,l.formatPrice)(r.amount,r.currency)})))};v.displayName="StageInstanceTicketInvoice";var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(23)),i=n(5672),l=n(1173),u=p(n(29)),s=p(n(55)),d=p(n(149)),f=n(35),c=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}var h=function(e){var t=e.hasAcceptedTerms,n=e.paymentSourceId,r=e.isLoadingPrice,p=e.price,v=e.sku,h=e.setPurchaseState,E=e.onNext,g=e.onPurchaseError,S=a.useState(!1),O=S[0],I=S[1],T=c.default.Messages.STAGE_INSTANCE_TICKET_PURCHASE_LABEL,C=a.useRef(!0);a.useEffect((function(){return function(){C.current=!1}}),[]);var b,M=function(){var e,t=(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(I(!0),h(l.PurchaseState.PURCHASING),e.prev=2,(0,o.default)(null!=n,"Missing paymentSourceId"),null!=v){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,(0,i.purchaseSKU)(v.applicationId,v.id,{expectedAmount:null==p?void 0:p.amount,paymentSourceId:n});case 8:C.current&&(h(l.PurchaseState.COMPLETED),E()),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(2),C.current&&(h(l.PurchaseState.FAIL),g(e.t0));case 14:return e.prev=14,C.current&&I(!1),e.finish(14);case 17:case"end":return e.stop()}}),e,null,[[2,11,14,17]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){_(o,r,a,i,l,"next",e)}function l(e){_(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();return b=t?y(u.default,{onClick:r?void 0:M,color:u.default.Colors.GREEN,submitting:O,disabled:null==n||null==v||r},void 0,T):y(d.default,{text:c.default.Messages.BILLING_ACCEPT_TERMS_TOOLTIP},void 0,(function(e){return a.createElement(u.default,m({},e,{disabled:!0,color:u.default.Colors.GREEN,type:"submit"}),T)})),y(f.ModalFooter,{justify:s.default.Justify.BETWEEN,align:s.default.Align.CENTER},void 0,b)};h.displayName="GuildEventTicketPurchaseModalReviewFooter";var E=h;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=U(n(0)),o=j(n(9)),i=n(3),l=n(389),u=n(1232),s=j(n(11252)),d=j(n(36)),f=j(n(29)),c=U(n(8352)),p=j(n(61)),v=j(n(151)),y=j(n(149)),m=j(n(372)),_=j(n(8331)),h=j(n(8472)),E=n(41),g=j(n(24)),S=j(n(13)),O=n(281),I=j(n(10392)),T=j(n(10028)),C=j(n(10431)),b=n(10027),M=n(9021),N=n(9996),A=n(11253),P=j(n(11254)),R=j(n(11255)),L=n(1),D=j(n(6)),w=j(n(8045));function j(e){return e&&e.__esModule?e:{default:e}}function k(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return k=function(){return e},e}function U(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=k();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function G(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function F(){return(F=Object.assign||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}).apply(this,arguments)}var B=G(_.default,{width:24,height:24}),H=G(v.default,{});function x(e){var t=e.guildEvent,n=e.guild,r=e.canStartEvents,v=(0,i.useStateFromStores)([d.default],(function(){return d.default.getVoiceChannelId()}),[]),_=(0,M.useLiveScheduledEventStageChannel)(n.id,t.id),j=(0,N.useSharedStageInstanceDiscoveryStates)(t,r,_),k=j.isTicketedEvent,U=j.isTicketPurchased,x=j.sku,V=j.canPurchaseTicket,W=j.isLive,Y=(0,A.useStartEvent)(t,n.id,k),z=Y.loading,K=Y.startEvent,$=(0,b.getFormattedEventDateAndTimeForConfirmation)(t),Z=$.eventDate,q=$.eventTime,X=(0,b.isEventReadyToStart)(t),J=D.default.Messages.GUILD_STAGES_CANT_START_EVENT_YET.format({startDate:Z,startTime:q});a.useEffect((function(){S.default.track(L.AnalyticEvents.GUILD_SCHEDULED_EVENT_VIEWED,{guild_scheduled_event_id:t.id})}),[t.id]);var Q,ee,te,ne=function(){(0,E.openModal)((function(e){return a.createElement(C.default,F({},e,{guild:n,guildEvent:t,sku:x}))}))},re=function(){(0,E.openModal)((function(e){return a.createElement(R.default,F({guildEvent:t,handleStartEvent:K},e))}))},ae=function(){null!=_&&(v!==_.id?(0,u.connectAndOpen)(_):(0,u.navigateToStage)(_,v))},oe=(0,T.default)({id:t.id,image:t.image,size:128});return G("div",{className:w.default.container},void 0,G("div",{className:w.default.contentContainer},void 0,W?G("div",{className:w.default.liveTagContainer},void 0,G("span",{className:w.default.liveTagDot}),G(g.default,{color:g.default.Colors.STATUS_GREEN,size:g.default.Sizes.SIZE_12,className:w.default.liveTag},void 0,D.default.Messages.LIVE_GUILD_STAGE_EVENT_LABEL)):G(g.default,{size:g.default.Sizes.SIZE_12,color:g.default.Colors.HEADER_SECONDARY,className:w.default.eventDate},void 0,(0,b.getFormattedEventDateAndTime)(t)),G(h.default,{className:w.default.divider}),G("div",{className:w.default.eventImageContainer},void 0,null!=oe?G("img",{className:w.default.eventImage,src:oe,alt:""}):G(s.default,{guild:n,speakers:[]}),G(p.default,{className:w.default.overflowMenu},void 0,G(c.default,{tooltip:D.default.Messages.MORE,color:c.CircleIconButtonColors.PRIMARY,size:c.CircleIconButtonSizes.SIZE_24,icon:B,onClick:function(e){(0,l.openContextMenu)(e,(function(e){return a.createElement(P.default,F({},e,{guildEventId:t.id,guildEventName:t.name,guildId:n.id,canStartEvents:r}))}))}}))),G(g.default,{color:g.default.Colors.HEADER_PRIMARY,size:g.default.Sizes.SIZE_16,className:w.default.eventName},void 0,t.name),G(g.default,{color:g.default.Colors.HEADER_SECONDARY,size:g.default.Sizes.SIZE_14,className:w.default.eventDescription},void 0,t.description)),(te=null!=x&&null!=x.price?(0,O.formatPrice)(x.price.amount,x.price.currency):null,V?Q=(null==x?void 0:x.isAvailable())?G(I.default,{sku:x,handlePurchase:ne,className:w.default.button}):G(f.default,{className:w.default.button,look:f.default.Looks.OUTLINED,color:w.default.disabledOutlinedButton,disabled:!0},void 0,G(g.default,{size:g.default.Sizes.SIZE_14,color:g.default.Colors.INTERACTIVE_NORMAL},void 0,D.default.Messages.STAGE_INSTANCE_TICKET_SOLD_OUT_LABEL)):W&&null!=_?Q=G(f.default,{wrapperClassName:w.default.button,className:w.default.wrappedButton,color:f.default.Colors.GREEN,onClick:ae},void 0,D.default.Messages.STAGE_CHANNEL_JOIN_BUTTON):(U||r)&&(Q=G(f.default,{className:w.default.button,look:f.default.Looks.OUTLINED,color:w.default.disabledOutlinedButton,disabled:!0,innerClassName:w.default.buttonCheckmarkContainer},void 0,G(g.default,{size:g.default.Sizes.SIZE_14,color:g.default.Colors.INTERACTIVE_NORMAL},void 0,te),G(m.default,{width:16,height:16,className:w.default.buttonCheckmark}))),r&&!W&&(ee=G(y.default,{text:J,shouldShow:!X},void 0,(function(e){return a.createElement(f.default,F({},e,{wrapperClassName:w.default.button,className:w.default.wrappedButton,color:f.default.Colors.GREEN,disabled:!X,submitting:z,onClick:re}),D.default.Messages.STAGE_INSTANCE_START_STAGE_LABEL)}))),G("div",{className:(0,o.default)(w.default.buttonContainer)},void 0,Q,ee)),z&&G("div",{className:w.default.loadingIndicatorContainer},void 0,H,G(g.default,{size:g.default.Sizes.SIZE_12,color:g.default.Colors.CUSTOM,className:w.default.loadingIndicatorText},void 0,D.default.Messages.STAGE_INSTANCE_BUILDING_STAGE_LABEL)))}x.displayName="GuildScheduledEventTile";var V=x;t.default=V},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=d(n(9)),o=d(n(8555)),i=d(n(371)),l=d(n(279)),u=n(1),s=d(n(8043));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t,n,r=e.guild,d=e.speakers,f=null==r?void 0:r.getIconURL(),p=d[0],v=d[1],y=(0,o.default)(f,u.Colors.PRIMARY_DARK_800);return null==r?null:c("div",{className:s.default.container},void 0,c("div",{className:s.default.container,style:{backgroundColor:y}},void 0,c("div",{className:s.default.outerContainer},void 0,c("div",{className:s.default.innerContainer},void 0,c("div",{className:s.default.border},void 0,c(i.default,{guild:r,size:i.default.Sizes.MEDIUM,className:s.default.guildIcon}))))),c("div",{className:s.default.speakerContainer},void 0,null!=p&&c(l.default,{src:null==p||null===(t=p.user)||void 0===t?void 0:t.getAvatarURL(void 0),size:l.default.Sizes.SIZE_24,className:(0,a.default)(s.default.speaker,s.default.firstSpeaker),"aria-label":(null==p?void 0:p.userNick)+"-avatar"}),null!=v&&c(l.default,{src:null==v||null===(n=v.user)||void 0===n?void 0:n.getAvatarURL(void 0),size:l.default.Sizes.SIZE_24,className:(0,a.default)(s.default.speaker,s.default.secondSpeaker),"aria-label":(null==v?void 0:v.userNick)+"-avatar"})))}p.displayName="SpeakerSummaryTile";var v=p;t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStartEvent=void 0;var r=h(n(0)),a=m(n(63)),o=n(3),i=m(n(9168)),l=n(286),u=n(42),s=h(n(1232)),d=n(1421),f=n(207),c=m(n(31)),p=m(n(15)),v=n(292),y=n(1);function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function E(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}t.useStartEvent=function(e,t,n){var m=r.useState(!1),_=m[0],h=m[1],g=(0,o.useStateFromStores)([p.default],(function(){return p.default.getGuild(t)}),[t]);return{loading:_,startEvent:function(){var r,o=(r=regeneratorRuntime.mark((function r(o){var p,m,_,E,S,O;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(null!=g){r.next=2;break}return r.abrupt("return");case 2:if(h(!0),p=[],n)for(p.push((0,v.denyChannelAccessForNonPaidUsers)(t,y.ChannelTypes.GUILD_STAGE_VOICE)),m=0,_=Object.values(g.roles);m<_.length;m++)E=_[m],a.default.has(E.permissions,y.Permissions.MANAGE_EVENTS)&&p.push((0,v.allowChannelAccess)(E.id,y.ChannelTypes.GUILD_STAGE_VOICE,l.PermissionOverwriteType.ROLE));return p.push.apply(p,o),r.next=8,i.default.createChannel(t,y.ChannelTypes.GUILD_STAGE_VOICE,e.name.substring(0,100),p);case 8:if(null!=(S=r.sent)&&201===S.status){r.next=11;break}throw new Error("Can't create channel for event");case 11:return O=c.default.fromServer(S.body),r.next=14,(0,d.startStageInstance)(O.id,e.name,f.StageInstancePrivacyLevel.GUILD_ONLY,e.id);case 14:s.connectAndOpen(O),(0,u.transitionToGuild)(t,O.id),h(!1);case 17:case"end":return r.stop()}}),r)})),function(){var e=this,t=arguments;return new Promise((function(n,a){var o=r.apply(e,t);function i(e){E(o,n,a,i,l,"next",e)}function l(e){E(o,n,a,i,l,"throw",e)}i(void 0)}))});return function(e){return o.apply(this,arguments)}}()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;var r,a=_(n(0)),o=n(389),i=_(n(8253)),l=n(8256),u=y(n(466)),s=n(41),d=y(n(24)),f=n(1163),c=y(n(8493)),p=n(1),v=y(n(6));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function h(){return(h=Object.assign||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}).apply(this,arguments)}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e){var t=e.guildId,n=e.guildEventId,r=e.guildEventName,y=e.canStartEvents,m=e.onSelect,_=location.protocol+window.GLOBAL_ENV.WEBAPP_ENDPOINT+p.Routes.UPCOMING_STAGES(t,n);return E(i.default,{navId:"guild-stage-instance-discovery-context"+t+"."+n,onClose:o.closeContextMenu,"aria-label":v.default.Messages.GUILD_STAGE_INSTANCE_ACTIONS_MENU_LABEL,onSelect:m},void 0,E(i.MenuGroup,{},void 0,__OVERLAY__||!f.SUPPORTS_COPY?null:E(i.MenuItem,{id:"copy-stage-instance-url",label:v.default.Messages.GUILD_STAGE_DISCOVERY_COPY_EVENT_URL,action:function(){return(0,f.copy)(_)}}),y?E(i.MenuItem,{id:"cancel-stage-instance-"+t+"."+n,color:l.MenuItemColor.DANGER,label:v.default.Messages.DELETE_STAGE_EVENT_LABEL,action:function(){(0,s.openModal)((function(e){return a.createElement(u.default,h({header:v.default.Messages.DELETE_STAGE_EVENT_LABEL,confirmText:v.default.Messages.DELETE_STAGE_EVENT_LABEL,cancelText:v.default.Messages.NEVERMIND,onCancel:e.onClose,onConfirm:function(){return c.default.cancelGuildEvent(n)}},e),E(d.default,{size:d.default.Sizes.SIZE_16},void 0,v.default.Messages.DELETE_STAGE_EVENT_CONFIRMATION_DESCRIPTION.format({eventName:r})))}))}}):null))}g.displayName="GuildTicketedEventDiscoveryActionMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=C(n(5)),l=n(8458),u=n(286),s=n(1229),d=n(1294),f=C(n(29)),c=C(n(55)),p=n(703),v=n(85),y=C(n(291)),m=n(35),_=C(n(47)),h=C(n(24)),E=n(292),g=n(1161),S=n(1),O=C(n(6)),I=C(n(8044)),T=C(n(10432));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}!function(e){e.ADD_MODERATORS="ADD_MODERATORS",e.START_GUILD_EVENT_CONFIRMATION="START_GUILD_EVENT_CONFIRMATION"}(a||(a={}));var N=function(e){var t=e.guildEvent,n=e.handleStartEvent,r=e.handleAddModerators,a=e.onClose,o=e.transitionState,l=new Date(t.scheduled_start_time),u=(0,g.isSameDay)((0,i.default)(),(0,i.default)(t.scheduled_start_time)),s=(0,v.useUID)();return M(m.ModalRoot,{transitionState:o,"aria-labelledby":s},void 0,M(m.ModalContent,{className:I.default.confirmModalContent},void 0,M("div",{className:I.default.container},void 0,M("img",{src:T.default,alt:O.default.Messages.STAGE_CHANNEL_START_ALT_TEXT}),M(_.default,{className:I.default.header,size:_.default.Sizes.SIZE_24},void 0,O.default.Messages.START_STAGE_CONFIRMATION_TITLE),u?M(h.default,{size:h.default.Sizes.SIZE_16,color:h.default.Colors.HEADER_SECONDARY,className:I.default.description},void 0,u?O.default.Messages.START_STAGE_CONFIRMATION_DESCRIPTION_SAME_DAY.format({eventStartTime:l}):O.default.Messages.START_STAGE_CONFIRMATION_DESCRIPTION_DIFFERENT_DAY.format({eventStartTime:l})):null)),M(m.ModalFooter,{className:I.default.confirmModalFooter,justify:c.default.Justify.BETWEEN,direction:c.default.Direction.HORIZONTAL},void 0,M(f.default,{className:I.default.cancelButton,look:f.default.Looks.LINK,color:f.default.Colors.PRIMARY,onClick:a},void 0,O.default.Messages.CANCEL),M("div",{className:I.default.confirmModalPositiveButtonsContainer},void 0,M(f.default,{className:I.default.addModeratorsButton,color:f.default.Colors.GREY,onClick:r},void 0,O.default.Messages.GUILD_EVENT_ADD_MODERATORS_LABEL),M(f.default,{color:f.default.Colors.GREEN,onClick:n},void 0,O.default.Messages.STAGE_INSTANCE_START_STAGE_LABEL))))};N.displayName="StartGuildEventConfirmationModal";var A=function(e){var t=e.guildEventName,n=e.guildId,r=e.setPendingPermissionsAddition,a=e.handleStartEvent,i=e.onClose;return o.createElement(o.Fragment,null,M(m.ModalHeader,{separator:!1,direction:c.default.Direction.VERTICAL,align:c.default.Align.CENTER,className:I.default.addModeratorsHeader},void 0,M(_.default,{tag:_.default.Tags.H2,size:_.default.Sizes.SIZE_24,style:{fontWeight:700}},void 0,O.default.Messages.CHANNEL_PERMISSIONS_ADD_MODERATOR_TITLE),M(h.default,{size:h.default.Sizes.SIZE_16,color:h.default.Colors.HEADER_SECONDARY,className:I.default.addModeratorsHeaderSubtitle},void 0,M(y.default,{height:16,width:16,className:I.default.addModeratorsHeaderSubtitleIcon}),t),M(m.ModalCloseButton,{onClick:i,className:I.default.addModeratorsCloseButton})),M(l.AddMembers,{onChange:r,guildId:n,channelType:S.ChannelTypes.GUILD_STAGE_VOICE,description:O.default.Messages.GUILD_EVENT_MODERATORS_DESCRIPTION}),M(m.ModalFooter,{},void 0,M(f.default,{color:f.default.Colors.GREEN,onClick:a},void 0,O.default.Messages.STAGE_INSTANCE_START_STAGE_LABEL)))},P=function(e){var t=e.transitionState,n=e.onClose,r=e.guildEvent,i=e.handleStartEvent,l=(0,v.useUID)(),f=o.useState(a.START_GUILD_EVENT_CONFIRMATION),c=f[0],y=f[1],_=o.useState({}),h=_[0],g=_[1],O=function(){var e=function(e){var t=[];return Object.values(e).forEach((function(e){var n=e.row;if(n.id)if(n.rowType===s.RowType.ROLE){var r=(0,E.permissionOverwriteForRole)(n.id,S.ChannelTypes.GUILD_STAGE_VOICE);t.push((0,d.createOrUpdateModeratorOverwrite)(n.id,u.PermissionOverwriteType.ROLE,r))}else if(n.rowType===s.RowType.MEMBER){var a=(0,E.permissionOverwriteForUser)(n.id,S.ChannelTypes.GUILD_STAGE_VOICE);t.push((0,d.createOrUpdateModeratorOverwrite)(n.id,u.PermissionOverwriteType.MEMBER,a))}})),t}(h);i(e),n()};return M(m.ModalRoot,{className:I.default.modal,transitionState:t,"aria-labelledby":l},void 0,M(p.Slides,{activeSlide:c,width:440},void 0,M(p.Slide,{id:a.START_GUILD_EVENT_CONFIRMATION},void 0,M(N,{guildEvent:r,handleAddModerators:function(){y(a.ADD_MODERATORS)},handleStartEvent:O,transitionState:t,onClose:n})),M(p.Slide,{id:a.ADD_MODERATORS},void 0,M(A,{guildEventName:r.name,guildId:r.guild_id,setPendingPermissionsAddition:g,handleStartEvent:O,onClose:n}))))};P.displayName="StartGuildEventModal";var R=P;t.default=R},function(e,t,n){e.exports=n.p+"80a8e86e076dd453026bfe59784c907f.svg"},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.HubEmailConnectionRoute=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=m(n(1211)),l=n(42),u=m(n(15)),s=m(n(1174)),d=m(n(1189)),f=n(197),c=n(487),p=n(8720),v=n(1),y=m(n(8048));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var E=function(e){var t=e.guildId,n=e.inviteCode,r=a.useState(f.WaveStates.INITIAL),m=r[0],_=r[1],E=a.useState(null!=n),g=E[0],S=E[1];a.useEffect((function(){null!=n&&i.default.resolveInvite(n,"Hub").finally((function(){return S(!1)}))}),[n]);var O=(0,o.useStateFromStores)([s.default],(function(){return n?s.default.getInvite(n):null})),I=(0,o.useStateFromStores)([u.default],(function(){return u.default.getGuild(t)}));a.useEffect((function(){null!=I&&(0,l.transitionTo)(v.Routes.CHANNEL(t))}),[I,t]);var T=a.useCallback((function(e){_((function(t){return Math.max(t,e)}))}),[]),C=(0,c.getArtForPath)();return h("div",{className:y.default.page},void 0,h(d.default,{embedded:!0,splash:C,waveState:m,showLogo:!1,updateWaveState:T},void 0,h("div",{className:y.default.dragRegion}),h("div",{className:y.default.contentWrapper},void 0,!g&&h(p.HubEmailConnectionModalView,{invite:O}))))};t.HubEmailConnectionRoute=E,E.displayName="HubEmailConnectionRoute";var g=E;t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=T(n(0)),o=n(262),i=n(3),l=T(n(10052)),u=O(n(8765)),s=O(n(8318)),d=O(n(9039)),f=O(n(10438)),c=n(5687),p=O(n(10061)),v=T(n(8293)),y=O(n(1335)),m=n(8263),_=O(n(11281)),h=O(n(11291)),E=n(1),g=O(n(6)),S=O(n(8066));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var b=C(s.default.Divider,{});function M(){return C("div",{className:S.default.inviteToolbar},void 0,C(d.default,{tooltip:g.default.Messages.NEW_GROUP_DM}),b)}M.displayName="HeaderToolbar";var N=C(o.Helmet,{title:"Discord"}),A=C(M,{}),P=C(s.default.Icon,{icon:y.default,"aria-hidden":!0}),R=C(s.default.Divider,{}),L=C(_.default,{}),D=C(f.default,{});function w(){a.useEffect((function(){l.setHomeLink(E.Routes.FRIENDS),(0,c.trackAppUIViewed)("friends")}));var e=(0,i.useStateFromStoresObject)([p.default],(function(){return p.default.getState()})),t=e.section,n=e.pendingCount;return C("div",{className:S.default.container},void 0,N,C(s.default,{toolbar:A},void 0,P,C(s.default.Title,{},void 0,g.default.Messages.FRIENDS),R,C(v.default,{"aria-label":g.default.Messages.FRIENDS,selectedItem:t,type:v.Types.TOP_PILL,onItemSelect:function(e){u.default.setSection(e)},className:S.default.tabBar},void 0,C(v.Item,{id:E.FriendsSections.ONLINE,className:S.default.item},void 0,g.default.Messages.FRIENDS_SECTION_ONLINE),C(v.Item,{id:E.FriendsSections.ALL,className:S.default.item},void 0,g.default.Messages.FRIENDS_SECTION_ALL),C(v.Item,{id:E.FriendsSections.PENDING,className:S.default.item,"aria-label":g.default.Messages.FRIENDS_SECTION_PENDING},void 0,g.default.Messages.FRIENDS_SECTION_PENDING,n>0?C(m.NumberBadge,{count:n,className:S.default.badge,style:{paddingRight:0}}):null),C(v.Item,{id:E.FriendsSections.BLOCKED,className:S.default.item},void 0,g.default.Messages.BLOCKED),C(v.Item,{"aria-label":g.default.Messages.FRIENDS_SECTION_ADD_FRIEND,className:S.default.item,color:E.Colors.STATUS_GREEN_600,id:E.FriendsSections.ADD_FRIEND},void 0,C("span",{"aria-hidden":"true"},void 0,g.default.Messages.FRIENDS_SECTION_ADD_FRIEND)))),C("div",{className:S.default.tabBody},void 0,C(v.Panel,{id:t,className:S.default.peopleColumn},void 0,t===E.FriendsSections.ADD_FRIEND?L:C(h.default,{sectionFilter:t})),C("div",{className:S.default.nowPlayingColumn},void 0,D)))}w.displayName="PeoplePage";var j=w;t.default=j},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=m(n(9)),o=n(10439),i=m(n(473)),l=n(395),u=n(1220),s=m(n(29)),d=m(n(10058)),f=m(n(47)),c=m(n(24)),p=n(1),v=m(n(6)),y=m(n(8050));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e){var t=e.className;return h(d.default,{className:(0,a.default)(y.default.card,t)},void 0,h(f.default,{size:f.default.Sizes.SIZE_16,className:y.default.header},void 0,v.default.Messages.NOW_PLAYING_GDPR_HEADER),h(c.default,{size:f.default.Sizes.SIZE_14},void 0,v.default.Messages.NOW_PLAYING_GDPR_BODY.format({onPrivacyClick:function(){return i.default.open(p.UserSettingsSections.PRIVACY_AND_SAFETY)}})),h("div",{className:y.default.buttonContainer},void 0,h(s.default,{size:s.default.Sizes.SMALL,onClick:function(){return(0,o.setConsents)([p.Consents.PERSONALIZATION],[])}},void 0,v.default.Messages.ACTIVITY_FEED_CARD_GDPR_BUTTON_YES),h(s.default,{color:s.default.Colors.PRIMARY,size:s.default.Sizes.SMALL,onClick:function(){return(0,u.hideHotspot)(l.HotspotLocations.NOW_PLAYING_CONSENT_CARD)},look:s.default.Looks.LINK},void 0,v.default.Messages.NO_THANKS)))}E.displayName="ConsentCard"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.useStateFromStoresObject)([d.default],(function(){return{nowPlayingCards:d.default.nowPlayingCards,loaded:d.default.loaded}})),t=e.nowPlayingCards,n=e.loaded,r=(0,i.useStateFromStoresObject)([s.default],(function(){return{needsRefresh:s.default.needsRefresh(),fetching:s.default.getFetching()}})),o=r.needsRefresh,u=r.fetching;a.useEffect((function(){return l.default.wait((function(){return y.mount()})),function(){return l.default.wait((function(){return y.unmount()}))}}),[]),a.useEffect((function(){o&&!u&&A()}),[o,u]);var f=null;if(!n)return M("div",{className:O.default.emptyCard},void 0,P);f=t.length>0?t.map((function(e){var t=e.party;return M(N,{party:t},t.id)})):M("div",{className:O.default.emptyCard},void 0,M(p.default,{tag:p.default.Tags.H5,size:p.default.Sizes.SIZE_16,className:O.default.emptyHeader},void 0,S.default.Messages.ACTIVITY_FEED_NONE_PLAYING_HEADER),M(v.default,{color:v.default.Colors.CUSTOM,className:O.default.emptyText},void 0,S.default.Messages.ACTIVITY_FEED_NONE_PLAYING_BODY));return a.createElement(a.Fragment,null,f)};var r,a=C(n(0)),o=I(n(8)),i=n(3),l=I(n(2)),u=C(n(9132)),s=I(n(8415)),d=I(n(10440)),f=I(n(278)),c=I(n(151)),p=I(n(47)),v=I(n(24)),y=C(n(11264)),m=I(n(11265)),_=I(n(11269)),h=I(n(10060)),E=I(n(11270)),g=I(n(11279)),S=I(n(6)),O=I(n(8053));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function b(){return(b=Object.assign||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}).apply(this,arguments)}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var N=(0,g.default)((function(e){var t=e.party,n=e.onUserContextMenu,r=e.onChannelContextMenu,o=M(_.default,{party:t,onUserContextMenu:n}),i=M(m.default,{party:t,onChannelContextMenu:r}),l=M("div",{},void 0,o,i);return null!=o||null!=i?M(f.default,{position:f.default.Positions.LEFT,renderPopout:function(e){var n=e.closePopout;return M(E.default,{party:t,close:n})},spacing:8},void 0,(function(e,t){return a.createElement(h.default,b({},e,{className:O.default.itemCard,active:t}),l)})):null})),A=o.default.throttle((function(){return u.fetchUserAffinities(!1)}),3e5),P=M(c.default,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StageChannelNowPlayingDelegate=void 0;var r,a=y(n(0)),o=p(n(1288)),i=p(n(10)),l=p(n(61)),u=p(n(47)),s=y(n(1232)),d=n(1278),f=p(n(81)),c=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e){var t,n,r=e.activity,p=(null!==(t=(0,d.unpackStageChannelParty)(r))&&void 0!==t?t:{}).channelId,v=(0,o.default)([f.default],(function(){return f.default.getStageInstanceByChannel(p)}),[p]),y=a.useRef(null),_=a.useCallback((function(){var e=i.default.getChannel(p);e&&s.connectAndOpen(e)}),[p]),h=null!==(n=null==v?void 0:v.topic)&&void 0!==n?n:r.name,E=c.default.Messages.STAGE_CHANNEL_ACTIVITY_FEED_JOIN.format({channel:h});return a.createElement("div",{ref:y},m(l.default,{onClick:_,focusProps:{ringTarget:y}},void 0,m(u.default,{},void 0,E)))}_.displayName="StageChannelBody";var h=function(){function e(){this.body=_}var t=e.prototype;return t.shouldShow=function(e){return(0,d.shouldShowActivity)(e)},t.createHeader=function(e){return{subtitle:c.default.Messages.STAGE_CHANNEL_ACTIVITY_FEED_DEFAULT,icon:null}},e}();t.StageChannelNowPlayingDelegate=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mount=function(){a.default.dispatch({type:o.ActionTypes.NOW_PLAYING_MOUNTED})},t.unmount=function(){a.default.dispatch({type:o.ActionTypes.NOW_PLAYING_UNMOUNTED})};var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.party,n=e.onChannelContextMenu,r=t.voiceChannels,v=t.currentActivities,y=t.partiedMembers,m=t.applicationStreams,g=t.guildContext,S=[],O=function(e){var t,n,r=S.length;if(0!==r){var a=S[r-1],o=""+(null!==(t=null==e?void 0:e.key)&&void 0!==t?t:""),i=(""+(null!==(n=null==a?void 0:a.key)&&void 0!==n?n:"")).startsWith("game")&&o.startsWith("rich-presence");S.push(h(f.default.Separator,{inset:i},"sep-"+o)),S.push(e)}else S.push(e)};r.length>0&&r.forEach((function(e){var t=e.members,r=e.channel,a=e.guild;O(h(f.default.VoiceSection,{guild:a,channel:r,members:t,partySize:E(t),onChannelContextMenu:n,onGuildClick:function(){var e=u.default.getChannelId(a.id);(0,l.transitionToGuild)(a.id,e)}},"voice-"+r.id))}));for(var I,T=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(t.currentActivities);!(I=T()).done;){var C=I.value.activity;if(C){var b=d.createBody(C);if(b){O(b);break}}}m.length>0&&m.forEach((function(e){var t=e.stream,n=e.streamUser,r=e.activity;O(h(f.default.ApplicationStreamingSection,{guildId:null==g?void 0:g.id,user:n,activity:r,applicationStream:t,onPreviewClick:function(){a.default.selectVoiceChannel(t.channelId),(0,o.watchStreamAndTransitionToStream)(t)}},"application-stream-"+t.ownerId))}));return v.forEach((function(e,t){var n=e.activity,a=e.game,o=e.playingMembers,l=e.activityUser;if(null==n||null==n.type)return null;if(v.length>1&&n.type===p.ActivityTypes.PLAYING&&!(0,i.hasRichActivity)(n)&&null!=a)O(h(f.default.GameSection,{icon:a.getIconURL(c.ICON_SIZE),name:a.name,partySize:{knownSize:o.length,unknownSize:0,totalSize:o.length},members:o},"game-"+(n.session_id||t)+"-"+(n.application_id||t)));else if((0,i.hasRichActivity)(n)&&n.type===p.ActivityTypes.PLAYING)O(h(f.default.RichPresenceSection,{activity:n,getAssetImage:s.getAssetImage},"rich-presence-"+(n.session_id||t)+"-"+l.id));else if((0,i.isStreaming)(n)){var u=r.length>0&&r[0].members.length>1,d=o.length>1;O(h(f.default.TwitchSection,{guildId:null==g?void 0:g.id,activity:n,user:u||d?l:null,getAssetImage:s.getAssetImage},"streaming-"+(n.session_id||t)))}else(0,i.isListeningOnSpotify)(n)?O(h(f.default.SpotifySection,{activity:n,isSolo:1===y.length,partySize:{knownSize:o.length,unknownSize:0,totalSize:o.length},getAssetImage:s.getAssetImage,members:o},"spotify-"+(n.session_id||t)+"-"+l.id)):(0,i.isOnXbox)(n)&&O(h(f.default.XboxSection,{title:a.name},"xbox-"+(n.session_id||t)))})),S.length>0?h(f.default.Body,{},void 0,S):null};m(n(0));var r,a=v(n(132)),o=n(364),i=n(1214),l=n(42),u=v(n(36)),s=n(409),d=m(n(10059)),f=v(n(10060)),c=n(10442),p=n(1);function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e,t){var n,r=e.length,a=0;if(null!=t&&null!=t.party&&null!=t.party.size&&t.party.size.length>=2){var o=t.party.size;a=Math.max(o[0]-e.length,0),n=o[1]}else n=r+a;return{knownSize:r,unknownSize:a,totalSize:n}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(8)),i=y(n(8273)),l=y(n(8264)),u=y(n(8268)),s=y(n(278)),d=y(n(11267)),f=y(n(279)),c=n(48),p=n(1),v=y(n(8051));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var E=function(e){var t=e.member,n=e.empty,r=e.analyticsContext,o=e.guildId;if(n)return h("div",{className:v.default.partyMemberEmpty});if(null==t)return h("div",{className:v.default.partyMemberUnknown},void 0,h(d.default,{className:v.default.partyMemberUnknownIcon}));var i={location:_({},r.location,{object:p.AnalyticsObjects.AVATAR})};return h("div",{className:v.default.partyMemberKnown},void 0,h(s.default,{preload:function(){return(0,l.default)(t.id,t.getAvatarURL(o))},renderPopout:function(e){return a.createElement(u.default,_({},e,{userId:t.id,analyticsParams:i}))},position:s.default.Positions.LEFT},void 0,(function(e){return a.createElement(f.default,_({},e,{src:t.getAvatarURL(o),"aria-label":t.username,size:f.default.Sizes.SIZE_24,className:v.default.partyMember}))})))};E.displayName="PartyMember";var g=(0,i.default)(E),S=function(e){var t=e.partySize,n=e.members,r=e.minAvatarsShown,a=void 0===r?1:r,i=e.maxAvatarsShown,l=void 0===i?2:i,u=e.guildId,s=t.unknownSize,d=t.totalSize,f=t.knownSize;if(d<a)return null;for(var p=(0,o.default)(n).filter(c.isNotNullish).take(l).map((function(e){return h(g,{member:e,guildId:u},e.id)})).value(),y=0;y<s&&p.length<l;y++)p.push(h(g,{guildId:u},"unknown-member-"+y));for(var m=d-f-s,_=0;_<m&&p.length<l;_++)p.push(h(g,{empty:!0,guildId:u},"empty-member-"+_));var E=Math.max(Math.min(d-p.length,99),0);if(1===E){var S=n[l];p.push(h(g,{member:S,guildId:u},S.id))}return h("div",{className:v.default.wrapper},void 0,h("div",{className:v.default.partyMembers},void 0,p,E>1?h("div",{className:v.default.partyMemberOverflow},void 0,"+",E):null))};S.displayName="PartyAvatars";var O=S;t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color"]);return o.createElement("svg",u({},(0,i.default)(f),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{fill:d,d:"M12 14C7.289 14 4 16.467 4 20V22H20V20C20 16.467 16.711 14 12 14ZM11 19C10.447 19 10 18.553 10 18C10 17.447 10.447 17 11 17C11.553 17 12 17.447 12 18C12 18.553 11.553 19 11 19ZM14 19C13.447 19 13 18.553 13 18C13 17.447 13.447 17 14 17C14.553 17 15 17.447 15 18C15 18.553 14.553 19 14 19Z"}),s("path",{fill:d,d:"M18 6H17.91C17.432 3.167 14.967 1 12 1C9.033 1 6.568 3.167 6.09 6H6C4.896 6 4 6.896 4 8V9C4 10.104 4.896 11 6 11C6 12.102 6.897 13 8 13H16C17.104 13 18 12.102 18 11C19.104 11 20 10.104 20 9V8C20 6.896 19.104 6 18 6ZM16 10H8V6H16V10Z"}))}d.displayName="UnknownUser"},function(e,t,n){e.exports=n.p+"1747132724e5e5d09278618b69f79233.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;v(n(0));var r,a=c(n(23)),o=n(1214),i=c(n(8432)),l=v(n(10059)),u=c(n(10060)),s=n(10442),d=n(1),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t=e.party,r=e.onUserContextMenu,c=t.priorityMembers,p=t.guildContext,v=c[0],m=function(e){var t=e.priorityMembers,n=e.partiedMembers,r=new Set(t.map((function(e){return e.user.id}))),a=n.filter((function(e){return!r.has(e.id)})),o=t[0].user.toString(),i=null!=t[1]?t[1].user.toString():null!=a[0]?a[0].toString():null;switch(n.length){case 1:return o;case 2:return f.default.Messages.ACTIVITY_FEED_NOW_PLAYING_HEADER_TWO_KNOWN_ONLY.format({user1:o,user2:i});default:return f.default.Messages.ACTIVITY_FEED_NOW_PLAYING_HEADER_TWO_KNOWN.format({user1:o,user2:i,extras:n.length-2})}}(t),_=function(e){var t=e.priorityMembers,r=e.partiedMembers,c=e.voiceChannels,p=e.currentActivities,v=t.length,m=v+(r.length-v)===1,_=p[0];if(m&&null!=_){var h=_.activity,E=_.game,g=_.startedPlayingTime;if(null==h)return{subtitle:null,icon:null};var S=l.createHeader(h);if(S)return S;switch(h.type){case d.ActivityTypes.PLAYING:return(0,o.isOnXbox)(h)?{subtitle:f.default.Messages.ACTIVITY_FEED_NOW_PLAYING_XBOX,icon:y(u.default.Header.Icon,{src:u.default.Header.Icon.Src.XBOX})}:{subtitle:y(i.default,{start:g,location:i.default.Locations.ACTIVITY_FEED_NEW,messageProps:{name:h.name}}),icon:null!=E?y(u.default.Header.Icon,{src:null!=E.getIconURL(s.ICON_SIZE)?E.getIconURL(s.ICON_SIZE):n(10441)}):null};case d.ActivityTypes.STREAMING:return{subtitle:f.default.Messages.ACTIVITY_FEED_NOW_STREAMING_TWITCH,icon:null!=E&&null!=E.getIconURL(s.ICON_SIZE)?y(u.default.Header.Icon,{src:E.getIconURL(s.ICON_SIZE)}):null};case d.ActivityTypes.LISTENING:return{subtitle:f.default.Messages.ACTIVITY_FEED_NOW_PLAYING_SPOTIFY,icon:y(u.default.Header.Icon,{src:u.default.Header.Icon.Src.SPOTIFY})};case d.ActivityTypes.WATCHING:return{subtitle:f.default.Messages.ACTIVITY_FEED_NOW_PLAYING_WATCHING,icon:null!=E&&null!=E.getIconURL(s.ICON_SIZE)?y(u.default.Header.Icon,{src:E.getIconURL(s.ICON_SIZE)}):null};default:return{subtitle:f.default.Messages.ACTIVITY_FEED_NOW_PLAYING_IN_A_VOICE_CHANNEL,icon:null}}}if(0===p.length){if(c.length>0)return{subtitle:f.default.Messages.ACTIVITY_FEED_NOW_PLAYING_IN_A_VOICE_CHANNEL,icon:null};var O=p[0];if(null!=O){var I=O.activity;if(null!=I){var T=l.createHeader(I);if(T)return T}if(null!=I&&I.type===d.ActivityTypes.LISTENING)return{subtitle:f.default.Messages.ACTIVITY_FEED_NOW_PLAYING_SPOTIFY,icon:y(u.default.Header.Icon,{src:u.default.Header.Icon.Src.SPOTIFY})}}}else if(1===p.length){var C=p.find((function(e){return null!=e.activity}));if(null==C)throw new Error("Invalid Activity State - AF 2.0: No activity");var b=C.activity,M=C.game,N=C.startedPlayingTime;return(0,a.default)(null!=b,"Activity was null somehow"),{subtitle:y(i.default,{start:N,location:i.default.Locations.ACTIVITY_FEED_NEW,messageProps:{name:b.name}}),icon:null!=M&&null!=M.getIconURL(s.ICON_SIZE)?y(u.default.Header.Icon,{src:M.getIconURL(s.ICON_SIZE)}):null}}return{subtitle:f.default.Messages.ACTIVITY_FEED_NOW_PLAYING_MULTIPLE_GAMES,icon:y(u.default.Header.Icon,{src:u.default.Header.Icon.Src.MULTIPLE})}}(t),h=_.subtitle,E=_.icon;return y(u.default.Header,{priorityUser:v,guildId:null==p?void 0:p.id,title:m,subtitle:h,icon:E,onContextMenu:function(e){return r(e,v.user)}})}m.displayName="NowPlayingHeader"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;v(n(0));var r,a=v(n(8253)),o=c(n(11271)),i=c(n(11272)),l=c(n(11274)),u=c(n(11275)),s=c(n(11277)),d=c(n(11278)),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t=e.party,n=e.close,r=e.onSelect,c=(0,l.default)(t),p=(0,d.default)(t),v=(0,s.default)(t),m=(0,u.default)(t),_=(0,o.default)(t),h=(0,i.default)(t);return y(a.default,{navId:"now-playing-menu",onClose:n,"aria-label":f.default.Messages.GENERIC_ACTIONS_MENU_LABEL,onSelect:r},void 0,c,y(a.MenuGroup,{},void 0,p,v),y(a.MenuGroup,{},void 0,m),y(a.MenuGroup,{},void 0,_),h)}m.displayName="NowPlayingCardMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t,n=e.currentActivities.length>1,r=L(e),i=function(e){var t=e.currentActivities,n=a.useContext(E.AnalyticsContext);return(0,o.useStateFromStoresArray)([h.default,_.default,c.default,m.default,y.default],(function(){return t.map((function(e){var t=e.activity,r=e.game,a=_.default.getActiveLibraryApplication(r.id);return A({},e,{libraryApplication:a,canJoin:null!=t&&(0,f.default)(t,O.ActivityFlags.JOIN)&&t.type===O.ActivityTypes.PLAYING,canPlay:(0,g.isLaunchable)(_.default,c.default,m.default,y.default,r.id,null!=a?a.branchId:null),isLaunching:c.default.launchingGames.has(r.id),isRunning:h.default.getRunningVerifiedApplicationIds().includes(r.id),location:n.location})}))}),[t])}(e),l=[],u=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(i);!(t=u()).done;){var s=t.value,d=s.activity;null!=d&&null!=d.type&&l.push(D(s,n),w(s,n))}return[r].concat(l)};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=T(n(1234)),l=T(n(132)),u=T(n(473)),s=T(n(183)),d=n(1214),f=T(n(399)),c=T(n(1245)),p=n(8253),v=T(n(725)),y=T(n(400)),m=T(n(155)),_=T(n(120)),h=T(n(79)),E=n(13),g=n(263),S=n(1253),O=n(1),I=T(n(6));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function M(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function N(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){M(o,r,a,i,l,"next",e)}function l(e){M(o,r,a,i,l,"throw",e)}i(void 0)}))}}function A(){return(A=Object.assign||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}).apply(this,arguments)}function P(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var R=s.default.get(O.PlatformTypes.XBOX).name;function L(e){var t=e.currentActivities,n=(0,o.useStateFromStores)([v.default],(function(){return v.default.getAccounts().some((function(e){return e.type===s.default.get(O.PlatformTypes.XBOX).type}))})),r=t.some((function(e){var t=e.activity;return(0,d.isOnXbox)(t)}));return n||!r?null:P(p.MenuItem,{id:"xbox-connect",action:function(){return u.default.open(O.UserSettingsSections.CONNECTIONS)},label:I.default.Messages.USER_ACTIVITY_CONNECT_PLATFORM.format({platform:R})})}function D(e,t){var n=e.canJoin,r=e.activity,a=e.activityUser;if(!n||null==r)return null;function o(){return(o=N(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=r){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,i.default.sendActivityInviteUser({type:O.ActivityActionTypes.JOIN_REQUEST,userId:a.id,activity:r,location:O.AnalyticsLocations.PROFILE_POPOUT});case 4:null!=(t=e.sent)&&l.default.selectPrivateChannel(t.id);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return P(p.MenuItem,{id:"join-"+r.session_id,label:t?I.default.Messages.USER_ACTIVITY_ACTION_ASK_TO_JOIN_USER.format({name:a.toString()}):I.default.Messages.USER_ACTIVITY_ACTION_ASK_TO_JOIN,action:function(){return o.apply(this,arguments)}})}function w(e,t){var n=e.activity,r=e.game,a=e.libraryApplication,o=e.location,i=e.canPlay,l=e.isRunning,u=e.isLaunching;if(!i||null==n)return null;var s=l?I.default.Messages.ACTIVITY_FEED_POPOUT_APPLICATION_RUNNING.format({name:r.name}):u?I.default.Messages.ACTIVITY_FEED_POPOUT_APPLICATION_LAUNCHING.format({name:r.name}):void 0;return P(p.MenuItem,{id:"play-"+n.session_id,action:function(){(0,S.playApplication)(r.id,a,{analyticsParams:{location:A({},o,{object:O.AnalyticsObjects.LIST_ITEM})}})},label:t?I.default.Messages.APPLICATION_CONTEXT_MENU_LAUNCH_APPLICATION_NAME.format({name:r.name}):I.default.Messages.APPLICATION_CONTEXT_MENU_LAUNCH,subtext:s})}L.displayName="useXboxConnectItem",D.displayName="renderAskToJoinItem",w.displayName="renderPlayGameItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r=e.priorityMembers,a=e.partiedMembers,l=e.currentActivities,u=e.guildContext,d=new Set(r.map((function(e){return e.user.id}))),f=a.filter((function(e){return!d.has(e.id)})),p=o.useMemo((function(){var e=l.flatMap((function(e){return e.playingMembers})).map((function(e){return e.id}));return a.filter((function(t){return!e.includes(t.id)}))}),[a,l]);if(l.length<=1&&0===p.length)return c(i.MenuGroup,{label:a.length>1?s.default.Messages.ACTIVITY_FEED_SINGLE_MEMBER_LIST_HEADER.format({memberCount:a.length}):void 0},void 0,m(r,f,a.length,null!==(t=null===(n=l[0])||void 0===n?void 0:n.activity)&&void 0!==t?t:void 0,null==u?void 0:u.id));var v=l.map((function(e){var t=e.playingMembers,n=e.game,a=e.activity,o=new Set(t.map((function(e){return e.id})));return c(i.MenuGroup,{label:n.name+" - "+t.length},void 0,m(r.filter((function(e){var t=e.user;return o.has(t.id)})),t.filter((function(e){return!d.has(e.id)})),t.length,null!=a?a:void 0,null==u?void 0:u.id))})),y=p.map((function(e){return e.id})),_=c(i.MenuGroup,{label:s.default.Messages.ACTIVITY_FEED_OTHER_MEMBER_LIST_HEADER+" - "+p.length},void 0,m(r.filter((function(e){var t=e.user;return y.includes(t.id)})),p.filter((function(e){return!d.has(e.id)})),p.length,void 0,null==u?void 0:u.id));return[].concat(v,[_])};var r,a,o=f(n(0)),i=n(8253),l=n(8310),u=f(n(11273)),s=(r=n(6))&&r.__esModule?r:{default:r};function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function c(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t,n,r,a){for(var d,f=[],y=function(){var e=d.value,t=e.user,n=e.status;f.push(c(i.MenuItem,{id:t.id,keepItemStyles:!0,render:function(e){return o.createElement(u.default,p({},e,{user:t,status:n,guildId:a}))},action:function(){return(0,l.openUserProfileModal)({userId:t.id})}}))},m=v(e);!(d=m()).done;)y();for(var _,h=function(){var e=_.value;f.push(c(i.MenuItem,{id:e.id,keepItemStyles:!0,render:function(t){return o.createElement(u.default,p({},t,{user:e,guildId:a}))},action:function(){return(0,l.openUserProfileModal)({userId:e.id})}}))},E=v(t);!(_=E()).done;)h();var g=n-f.length;return g>0&&f.push(c(i.MenuItem,{id:"unknown-members-"+(null==r?void 0:r.session_id),render:function(e){return o.createElement(u.NowPlayingUnknownMemberMenuItem,p({},e,{label:s.default.Messages.GAME_FEED_UNKNOWN_PLAYERS.format({count:g})}))}})),f}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f,t.NowPlayingUnknownMemberMenuItem=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=u(n(9)),o=u(n(8300)),i=u(n(279)),l=u(n(8052));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t=e.user,n=e.status,r=e.isFocused,a=e.guildId;return d("div",{className:l.default.memberItem},void 0,d(i.default,{src:t.getAvatarURL(a),className:l.default.avatar,"aria-label":t.username,size:i.default.Sizes.SIZE_24,status:n,statusColor:r?"currentColor":void 0}),d(o.default,{user:t,hideDiscriminator:!0}))}function c(e){var t=e.label;return d("div",{className:l.default.memberItem},void 0,d("div",{className:(0,a.default)(l.default.avatar,l.default.unknown)}),d("div",{},void 0,t))}f.displayName="NowPlayingMemberMenuItem",c.displayName="NowPlayingUnknownMemberMenuItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(391)),i=c(n(106)),l=n(8253),u=n(10443),s=n(13),d=n(1),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(){return(y=Object.assign||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}).apply(this,arguments)}function m(e,t){void 0===t&&(t=!1);var n=e.priorityMembers,r=e.partiedMembers,c=a.useContext(s.AnalyticsContext),p=n.map((function(e){return e.user.id})),m=1===r.length&&1===n.length,_=n.length-r.length>0;if(!((m||t)&&!_)||0===p.length)return null;return v(l.MenuItem,{id:"message",action:function(){o.default.openPrivateChannel(p).then((function(t){return i.default.trackWithMetadata(d.AnalyticEvents.ACTIVITY_FEED_DM_VISITED,y({source:y({},c.location,{object:d.AnalyticsObjects.LIST_ITEM}),channel_id:t,recipient_id:"string"==typeof p?p:p[0],af_recently_played:!1},(0,u.getPartyMetadata)(e)))}))},label:f.default.Messages.SEND_DM})}m.displayName="useNowPlayingMessageItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.currentActivities,n=e.isSpotifyActivity,r=t[0],o=(0,a.default)(null==r?void 0:r.activity,null==r?void 0:r.activityUser);return n?o:null};var r,a=(r=n(11276))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=(0,a.useStateFromStores)([u.default,i.default],(function(){return null!=t?(0,d.default)(u.default,i.default,t,e):void 0}),[e,t]);if(null==r||null==e||null==t)return null;var v=r.isCurrentUser||r.notPlayable||r.playingSameTrack,y=r.isCurrentUser||r.syncingWithUser||r.syncingWithParty;return[m(o.MenuItem,{id:"spotify-play-"+e.session_id,action:function(){return(0,c.default)(r,l.SpotifyActionTypes.USER_ACTIVITY_PLAY,n)},label:p.default.Messages.ACTIVITY_FEED_NOW_PLAYING_ACTION_PLAY_ON_SPOTIFY,subtext:v?(0,s.default)(r,l.SpotifyActionTypes.USER_ACTIVITY_PLAY):void 0,disabled:v}),r.canPlaySpotify?m(o.MenuItem,{id:"spotify-sync-"+e.session_id,action:function(){return(0,f.default)(r,l.SpotifyActionTypes.USER_ACTIVITY_SYNC,n)},label:p.default.Messages.ACTIVITY_FEED_NOW_PLAYING_ACTION_LISTEN_ALONG,subtext:y?(0,s.default)(r,l.SpotifyActionTypes.USER_ACTIVITY_SYNC):void 0,disabled:y}):null]};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=n(8253),i=v(n(11)),l=n(293),u=v(n(708)),s=v(n(8727)),d=v(n(8728)),f=v(n(8729)),c=v(n(8730)),p=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.applicationStreams.map((function(e){var t=e.stream,n=e.streamUser;return d(i.MenuItem,{id:"spectate-"+t.ownerId,action:function(){a.default.selectVoiceChannel(t.channelId),(0,o.watchStreamAndTransitionToStream)(t)},label:l.default.Messages.WATCH_USER_STREAM.format({streamerName:n.toString()})})}))};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=u(n(132)),o=n(364),i=n(8253),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=a.useContext(f.AnalyticsContext),n=e.voiceChannels[0];if(null==n)return null;return[m(l.MenuItem,{id:"join-voice",action:function(){var r=s.default.getChannelId(n.guild.id);(0,u.transitionToGuild)(n.guild.id,r),o.default.selectVoiceChannel(n.channel.id),i.default.trackWithMetadata(c.AnalyticEvents.ACTIVITY_FEED_VOICE_CHANNEL_VISITED,_({source:_({},t.location,{object:c.AnalyticsObjects.LIST_ITEM}),guild_id:n.guild.id,channel_id:n.channel.id},(0,d.getPartyMetadata)(e)))},label:p.default.Messages.ACTIVITY_FEED_NOW_PLAYING_ACTION_JOIN_CHANNEL}),m(l.MenuItem,{id:"goto-server",action:function(){var r=s.default.getChannelId(n.guild.id);(0,u.transitionToGuild)(n.guild.id,r),i.default.trackWithMetadata(c.AnalyticEvents.ACTIVITY_FEED_GUILD_VISITED,_({source:_({},t.location,{object:c.AnalyticsObjects.LIST_ITEM}),guild_id:n.guild.id,af_recently_played:!1},(0,d.getPartyMetadata)(e)))},label:p.default.Messages.ACTIVITY_FEED_NOW_PLAYING_ACTION_GO_TO_SERVER})]};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(132)),i=v(n(106)),l=n(8253),u=n(42),s=v(n(36)),d=n(10443),f=n(13),c=n(1),p=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(){return(_=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(function(t){var n,i;function f(){return t.apply(this,arguments)||this}i=t,(n=f).prototype=Object.create(i.prototype),n.prototype.constructor=n,v(n,i);var c=f.prototype;return c.render=function(){return r.createElement(e,p({},this.props,{onMessageUser:this.handleMessageUser,onUserContextMenu:this.handleUserContextMenu,onGuildContextMenu:this.handleGuildContextMenu,onChannelContextMenu:this.handleChannelContextMenu}))},c.handleMessageUser=function(e,t){return a.default.openPrivateChannel(t.id)},c.handleUserContextMenu=function(e,t,n){(0,o.openContextMenu)(e,(function(e){return r.createElement(s.default,p({},e,{user:t}))}),{onClose:n})},c.handleGuildContextMenu=function(e,t){(0,o.openContextMenu)(e,(function(e){return r.createElement(u.default,p({},e,{guild:t}))}))},c.handleChannelContextMenu=function(e,t){var n=d.default.getGuild(t.getGuildId());if(null==n)return null;(0,o.openContextMenu)(e,(function(e){return r.createElement(l.default,p({},e,{channel:t,guild:n}))}))},f}(r.Component))};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=f(n(391)),o=n(389),i=f(n(8273)),l=f(n(11280)),u=f(n(8573)),s=f(n(8351)),d=f(n(15));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;m(n(0));var r,a=n(389),o=v(n(8258)),i=m(n(8253)),l=v(n(11)),u=v(n(8579)),s=v(n(8484)),d=v(n(8329)),f=v(n(8370)),c=v(n(8485)),p=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e){var t=e.channel,n=e.guild,r=e.onSelect,v=(0,f.default)(t),y=(0,c.default)(t,n),m=(0,u.default)(t,n),h=(0,s.default)(t,n),E=(0,d.default)(t),g=(0,o.default)(t.id);return l.default.isGuest()?null:_(i.default,{navId:"channel-context",onClose:a.closeContextMenu,"aria-label":p.default.Messages.CHANNEL_ACTIONS_MENU_LABEL,onSelect:r},void 0,_(i.MenuGroup,{},void 0,v),_(i.MenuGroup,{},void 0,y,m,h),_(i.MenuGroup,{},void 0,E),_(i.MenuGroup,{},void 0,g))}h.displayName="ChannelListVoiceChannelContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=f(n(11282)),l=f(n(10444)),u=n(1),s=f(n(6)),d=f(n(8057));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(){var e,t=a.useState(null),n=t[0],r=t[1],l=a.useState(null),u=l[0],f=l[1],c=!1,v=!1,y=s.default.Messages.ADD_FRIEND_DESCRIPTION;return null!=u?(c=!0,y=u):null!=n&&(v=!0,y=n),p("div",{className:d.default.sectionHeader},void 0,p("div",{className:d.default.addInputWrapper},void 0,p("h2",{className:d.default.header},void 0,s.default.Messages.ADD_FRIEND),p("div",{className:(0,o.default)(d.default.description,(e={},e[d.default.success]=c,e[d.default.error]=v,e))},void 0,y),p(i.default,{onSubmit:function(e,t){r(e),f(t)}})))}v.displayName="AddFriendHeader";var y=p(v,{});function m(){return p(a.Fragment,{},void 0,y,p("div",{className:d.default.emptyState},void 0,p(l.default,{type:u.FriendsSections.ADD_FRIEND})))}m.displayName="AddFriend";var _=m;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(23)),i=p(n(1217)),l=p(n(88)),u=p(n(29)),s=n(1420),d=n(1),f=p(n(6)),c=p(n(8055));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _={canSend:!1,hint:""},h=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),l=0;l<n;l++)r[l]=arguments[l];return(t=e.call.apply(e,[this].concat(r))||this).state=_,t.inputRef=a.createRef(),t.containerRef=a.createRef(),t.handleSubmit=function(e){e.preventDefault();var n=t.props.onSubmit;(0,o.default)(null!=t.inputRef.current,"Input is submitted when not mounted");var r=t.inputRef.current.value.trim(),a=(0,s.validateDiscordTag)(r);null!=a?n(a):(t.setState({canSend:!1}),i.default.sendRequest(r,{location:"Add Friend"}).then((function(){n(null,f.default.Messages.ADD_FRIEND_SUCCESS.format({discordTag:r})),(0,o.default)(null!=t.inputRef.current,"Input is submitting when not mounted"),t.inputRef.current.value="",t.setState(_,t.focus)}),(function(e){n((0,s.humanizeAbortCode)(e.body.code,r)),t.setState({canSend:!0})})))},t.handleChange=function(e){var n=e.currentTarget.value;if(n.length>0){var r=n.split("#")[1];t.setState({hint:n+d.PLACEHOLDER_TAG.slice(null!=r?r.length+1:0),canSend:!0})}else t.setState({hint:"",canSend:!1});t.props.onError&&t.props.onError(null)},t.handleKeyPress=function(e){var n=e.currentTarget.value;if(13!==e.which){var r=n.indexOf("#");if(r>-1){(0,o.default)(null!=t.inputRef.current,"Input is handling keypress when not mounted");var a=t.inputRef.current.selectionStart,i=8===e.which||37===e.which||39===e.which,l=e.which>=48&&e.which<=57;(null!=a&&a>r&&/^(.+?#\d{4})$/.test(n)&&!i||null!=a&&a>r&&!l&&!i)&&e.preventDefault()}}},t.focus=function(){(0,o.default)(null!=t.inputRef.current,"Input is being focussed when not mounted"),t.inputRef.current.focus()},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n),r.prototype.render=function(){var e=this.state.canSend;return y(l.default,{focusTarget:this.inputRef,ringTarget:this.containerRef,ringClassName:c.default.ring,offset:{top:12,bottom:12}},void 0,a.createElement("div",{ref:this.containerRef},y("form",{className:c.default.wrapper,onSubmit:this.handleSubmit},void 0,a.createElement("input",{ref:this.inputRef,className:c.default.addFriendInput,placeholder:f.default.Messages.ADD_FRIEND_PLACEHOLDER,onKeyPress:this.handleKeyPress,onChange:this.handleChange,autoFocus:!0,maxLength:37}),y("div",{className:c.default.addFriendHint},void 0,this.state.hint),y(u.default,{size:u.default.Sizes.SMALL,disabled:!e,type:"submit"},void 0,f.default.Messages.ADD_FRIEND_BUTTON))))},r}(a.PureComponent);h.displayName="AddFriendInput";var E=h;t.default=E},function(e,t,n){e.exports=n.p+"6b7098de4cc16f7e431ad8f9aae7f6db.svg"},function(e,t,n){e.exports=n.p+"b5eb2f7d6b3f8cc9b60be4a5dcf28015.svg"},function(e,t,n){e.exports=n.p+"d834d700306f3838c0facef39e7d8a38.svg"},function(e,t,n){e.exports=n.p+"a12ff54c4c5c03b41006fd96a4709c29.svg"},function(e,t,n){e.exports=n.p+"645df33d735507f39c78ce0cac7437f0.svg"},function(e,t,n){e.exports=n.p+"8c998f8fb62016fcfb4901e424ff378b.svg"},function(e,t,n){e.exports=n.p+"c84361b810ca7c10d6e8ddb6ea722ebe.svg"},function(e,t,n){e.exports=n.p+"b669713872b43ca42333264abf9c858e.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=g(n(8765)),l=g(n(70)),u=g(n(161)),s=g(n(10061)),d=g(n(11292)),f=g(n(11294)),c=g(n(10444)),p=g(n(11297)),v=g(n(11298)),y=g(n(11299)),m=n(10064),_=n(1),h=g(n(6)),E=g(n(7403));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(){return(I=Object.assign||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}).apply(this,arguments)}var T=function(e){var t=e.sectionFilter,n=(0,o.useStateFromStoresObject)([s.default],(function(){return s.default.getState()})),r=n.rows,g=n.section,S=(0,o.useStateFromStores)([u.default],(function(){return u.default.isFocused()})),T=(0,o.useStateFromStores)([l.default],(function(){return l.default.getRelationshipCount()}));function C(e,n){var r=e[n].length;switch(t){case _.FriendsSections.ONLINE:return h.default.Messages.FRIENDS_ONLINE_HEADER.format({online:r});case _.FriendsSections.PENDING:return h.default.Messages.FRIENDS_PENDING_HEADER.format({count:r});case _.FriendsSections.BLOCKED:return h.default.Messages.FRIENDS_BLOCKED_HEADER.format({count:r});default:return h.default.Messages.FRIENDS_ALL_HEADER.format({count:r})}}function b(e){switch(t){case _.FriendsSections.BLOCKED:return a.createElement(d.default,I({},e,{isFocused:S}));case _.FriendsSections.PENDING:return a.createElement(p.default,I({},e,{isFocused:S}));case _.FriendsSections.ONLINE:case _.FriendsSections.ALL:default:return a.createElement(f.default,I({},e,{isFocused:S}))}}var M=r.filter(t);if(0===M.length)return O("div",{className:E.default.emptyStateContainer},void 0,O(c.default,{type:t,onClick:function(){i.default.setSection(_.FriendsSections.ADD_FRIEND)}},g));var N=[M];return T>=m.RELATIONSHIP_COUNT_ANIMATION_THRESHOLD?O(v.default,{statusSections:N,getSectionTitle:C,renderRow:b}):O(y.default,{statusSections:N,getSectionTitle:C,renderRow:b})};t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=p(n(1217)),o=n(8310),i=p(n(11293)),l=p(n(10062)),u=p(n(10063)),s=p(n(10065)),d=n(1),f=p(n(6)),c=p(n(8061));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t=e.user,n=e.key,r=e.isFocused,p=function(e){e&&e.stopPropagation(),a.default.removeRelationship(t.id,{location:"Friends"})};return y(u.default,{isFocused:r,onClick:function(){return(0,o.openUserProfileModal)({userId:t.id})},user:t},n,(function(e){return y("div",{className:c.default.listItemContents},void 0,y(s.default,{user:t,hovered:e,status:d.StatusTypes.UNKNOWN,subText:f.default.Messages.BLOCKED}),y(l.default,{icon:i.default,actionType:l.default.ActionTypes.DENY,tooltip:f.default.Messages.UNBLOCK,onClick:p,shouldHighlight:e}))}))}m.displayName="BlockedRow"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{foreground:f,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M20.2949 0.298996L21.7089 1.713L19.4169 4.006L21.7089 6.299L20.2949 7.713L18.0019 5.42L15.7099 7.713L14.2949 6.299L16.5879 4.006L14.2949 1.713L15.7099 0.298996L18.0019 2.592L20.2949 0.298996ZM8.00195 13.006C10.207 13.006 12.002 11.211 12.002 9.006C12.002 6.801 10.207 5.006 8.00195 5.006C5.79695 5.006 4.00195 6.801 4.00195 9.006C4.00195 11.211 5.79695 13.006 8.00195 13.006ZM8.00195 14.006C3.29095 14.006 0.00195312 16.473 0.00195312 20.006V21.006H16.002V20.006C16.002 16.473 12.713 14.006 8.00195 14.006Z"}))}d.displayName="PersonRemove"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=P(n(0)),o=N(n(8)),i=n(3),l=n(34),u=N(n(391)),s=n(389),d=N(n(1217)),f=P(n(8253)),c=n(8256),p=n(42),v=N(n(10)),y=N(n(51)),m=N(n(11295)),_=N(n(8663)),h=N(n(466)),E=n(41),g=N(n(24)),S=N(n(10062)),O=N(n(10063)),I=N(n(11296)),T=N(n(10065)),C=n(1),b=N(n(6)),M=N(n(8063));function N(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function P(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(){return(L=Object.assign||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}).apply(this,arguments)}function D(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function w(e){var t=e.user,n=e.onSelect;var r=function(){d.default.removeRelationship(t.id,{location:"Friends"})},o=(0,i.useStateFromStores)([y.default],(function(){return y.default.supports(l.Features.VIDEO)}));return D(f.default,{navId:"friend-row","aria-label":b.default.Messages.USER_ACTIONS_MENU_LABEL,onClose:s.closeContextMenu,onSelect:n},void 0,o?D(f.MenuItem,{id:"start-video-call",label:b.default.Messages.START_VIDEO_CALL,action:function(){u.default.openPrivateChannel(t.id,!0,!0)}}):null,D(f.MenuItem,{id:"start-voice-call",label:b.default.Messages.START_VOICE_CALL,action:function(){u.default.openPrivateChannel(t.id,!0)}}),D(f.MenuItem,{id:"remove-friend",label:b.default.Messages.REMOVE_FRIEND,action:function(){(0,E.openModal)((function(e){return a.createElement(h.default,L({header:b.default.Messages.REMOVE_FRIEND_TITLE.format({name:t.toString()}),confirmText:b.default.Messages.REMOVE_FRIEND,cancelText:b.default.Messages.CANCEL,onConfirm:r},e),D(g.default,{size:g.default.Sizes.SIZE_16},void 0,b.default.Messages.REMOVE_FRIEND_BODY.format({name:t.toString()})))}))},color:c.MenuItemColor.DANGER}))}w.displayName="ActionsPopout";var j=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).peopleListItemRef=a.createRef(),t.state={isActiveRow:!1},t.handleOpenPrivateChannel=function(e){var n=t.props.user;e.stopPropagation();var r=o.default.find(v.default.getMutablePrivateChannels(),(function(e){return e.type===C.ChannelTypes.DM&&e.getRecipientId()===n.id}));null!=r?(0,p.transitionTo)(C.Routes.CHANNEL(C.ME,r.id)):u.default.openPrivateChannel(n.id)},t.handleOpenActionsMenu=function(e){var n=t.props.user;(0,s.openContextMenu)(e,(function(e){return a.createElement(w,L({},e,{user:n}))}),{onClose:function(){t.setState({isActiveRow:!1})}}),t.setState({isActiveRow:!0})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,R(t,n);var i=r.prototype;return i.componentWillLeave=function(e){null!=this.peopleListItemRef.current&&this.peopleListItemRef.current.componentWillLeave(e)},i.componentWillEnter=function(e){null!=this.peopleListItemRef.current&&this.peopleListItemRef.current.componentWillEnter(e)},i.render=function(){var e=this,t=this.props,n=t.user,r=t.isFocused,o=t.activities,i=t.applicationStream,l=t.status,u=t.isMobile,d=this.state.isActiveRow;return a.createElement(O.default,{ref:this.peopleListItemRef,isFocused:r,isActive:d,user:n,onOtherHover:function(){return d?null:(0,s.closeContextMenu)()},onClick:this.handleOpenPrivateChannel},(function(t){return D("div",{className:M.default.listItemContents},void 0,D(T.default,{user:n,status:l,isMobile:u,subText:D(I.default,{hovered:t,activities:o,applicationStream:i,status:l}),hovered:t}),D("div",{className:M.default.actions},void 0,D(S.default,{icon:m.default,tooltip:b.default.Messages.SEND_DM,onClick:e.handleOpenPrivateChannel,shouldHighlight:t}),D(S.default,{icon:_.default,tooltip:b.default.Messages.MORE,onClick:e.handleOpenActionsMenu,shouldHighlight:t})))}))},r}(a.PureComponent);j.displayName="FriendRow";var k=j;t.default=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24",fill:"none"}),s("path",{className:f,fill:d,d:"M4.79805 3C3.80445 3 2.99805 3.8055 2.99805 4.8V15.6C2.99805 16.5936 3.80445 17.4 4.79805 17.4H7.49805V21L11.098 17.4H19.198C20.1925 17.4 20.998 16.5936 20.998 15.6V4.8C20.998 3.8055 20.1925 3 19.198 3H4.79805Z"}))}d.displayName="ChatBubble"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(8468)),o=n(716),i=l(n(8062));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var d=function(e){var t=e.hovered,n=e.activities,r=e.applicationStream,l=e.status;return n.length>0?s(a.default,{className:i.default.activity,textClassName:i.default.text,emojiClassName:i.default.customStatusEmoji,activities:n,applicationStream:r,animate:t}):s("div",{className:i.default.text},void 0,(0,o.humanizeStatus)(l))};t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(1217)),i=n(8310),l=y(n(372)),u=y(n(255)),s=y(n(10062)),d=y(n(10063)),f=y(n(10065)),c=n(1),p=y(n(6)),v=y(n(8064));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e){var t=e.user,n=e.type,r=e.status,y=e.isFocused,m=function(e){e&&e.stopPropagation(),o.default.removeRelationship(t.id,{location:"Friends"})},h=function(e){e.stopPropagation(),o.default.addRelationship(t.id,{location:"Friends"})},E=r===c.StatusTypes.OFFLINE?c.StatusTypes.UNKNOWN:r,g=n===c.RelationshipTypes.PENDING_INCOMING?p.default.Messages.INCOMING_FRIEND_REQUEST:p.default.Messages.OUTGOING_FRIEND_REQUEST;return _(d.default,{isFocused:y,user:t,onClick:function(){return(0,i.openUserProfileModal)({userId:t.id})}},void 0,(function(e){var r=n===c.RelationshipTypes.PENDING_INCOMING?a.createElement(a.Fragment,null,_(s.default,{icon:l.default,actionType:s.default.ActionTypes.ACCEPT,tooltip:p.default.Messages.FRIEND_REQUEST_ACCEPT,onClick:h,shouldHighlight:e}),_(s.default,{icon:u.default,actionType:s.default.ActionTypes.DENY,tooltip:p.default.Messages.FRIEND_REQUEST_IGNORE,onClick:m,shouldHighlight:e})):_(s.default,{icon:u.default,actionType:s.default.ActionTypes.DENY,tooltip:p.default.Messages.FRIEND_REQUEST_CANCEL,onClick:m,shouldHighlight:e});return _("div",{className:v.default.listItemContents},void 0,_(f.default,{user:t,hovered:e,status:E,subText:g,className:v.default.userInfo}),_("div",{className:v.default.actions},void 0,r))}))}h.displayName="PendingRow"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=v(n(0)),o=v(n(680)),i=n(3),l=c(n(105)),u=n(1210),s=c(n(10445)),d=n(10064),f=c(n(7403));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(){return(y=Object.assign||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}).apply(this,arguments)}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e){var t=e.statusSections,n=e.getSectionTitle,r=e.renderRow,c=function(e){var r=e.section,a=n(t,r);return m(s.default,{title:a},r)},p=function(e){return 0===t[e].length?0:d.STATUS_HEADER_HEIGHT+16},v=function(e){var n=e.section,a=e.row,o=t[n];if(null==o||null==a)return null;var i=o[a];return null==i?null:r(i)},_=(0,i.useStateFromStores)([l.default],(function(){return l.default.keyboardModeEnabled})),h=a.useRef(null),E=a.useCallback((function(){return new Promise((function(e){var t=h.current;if(null==t)return e();t.scrollToTop({callback:function(){return requestAnimationFrame((function(){return e()}))}})}))}),[]),g=a.useCallback((function(){return new Promise((function(e){var t=h.current;if(null==t)return e();t.scrollToBottom({callback:function(){return requestAnimationFrame((function(){return e()}))}})}))}),[]),S=a.useCallback((function(e){var t=document.querySelector(e),n=h.current;null!=t&&null!=n&&n.scrollIntoViewNode({node:t,padding:8,callback:function(){return null==t?void 0:t.focus()}})}),[]),O=(0,o.default)({id:"people-list",isEnabled:_,scrollToStart:E,scrollToEnd:g,setFocus:S});return m(o.ListNavigatorProvider,{navigator:O},void 0,m(o.ListNavigatorContainer,{},void 0,(function(e){var n=e.ref,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["ref"]);return a.createElement(u.ListAuto,y({ref:function(e){var t;h.current=e,n.current=null!==(t=null==e?void 0:e.getScrollerNode())&&void 0!==t?t:null},renderSection:c,sectionHeight:p,renderRow:v,rowHeight:d.PEOPLE_LIST_ITEM_HEIGHT,sections:t.map((function(e){return e.length})),className:f.default.peopleList},r))})))}_.displayName="PeopleListSectionedLazy";var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=v(n(0)),o=v(n(680)),i=n(3),l=c(n(469)),u=c(n(105)),s=n(272),d=c(n(10445)),f=c(n(7403));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(){return(y=Object.assign||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}).apply(this,arguments)}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function h(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){_(o,r,a,i,l,"next",e)}function l(e){_(o,r,a,i,l,"throw",e)}i(void 0)}))}}function E(e){var t=e.statusSections,n=e.getSectionTitle,r=e.renderRow,c=(0,i.useStateFromStores)([u.default],(function(){return u.default.keyboardModeEnabled})),p=(0,o.default)({id:"people",isEnabled:c,scrollToStart:function(){return h(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()},scrollToEnd:function(){return h(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()}}),v=t.map((function(e,a){var o=n(t,a);return e.length>0?m(l.default,{transitionAppear:!1,component:"div"},a,m(d.default,{title:o}),e.map(r)):null}));return m(o.ListNavigatorProvider,{navigator:p},void 0,m(o.ListNavigatorContainer,{},void 0,(function(e){var t=e.ref,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["ref"]);return a.createElement(s.ScrollerAuto,y({ref:t,className:f.default.peopleList},n),v)})))}E.displayName="PeopleListSectionedNonLazy";var g=E;t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=b(n(0)),o=n(262),i=b(n(10052)),l=T(n(8318)),u=T(n(10438)),s=n(748),d=n(5687),f=T(n(29)),c=n(8293),p=T(n(9215)),v=T(n(291)),y=n(9040),m=T(n(9038)),_=T(n(10446)),h=T(n(11303)),E=T(n(11316)),g=T(n(11317)),S=n(1),O=T(n(6)),I=T(n(8074));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var N=M(l.default.Divider,{});function A(e){var t=e.onRefresh;return a.createElement(a.Fragment,null,M(l.default.Icon,{icon:p.default,tooltip:O.default.Messages.STAGE_DISCOVERY_REFRESH_ICON_LABEL,onClick:t}),N)}var P=M(l.default.Icon,{icon:v.default,"aria-hidden":!0}),R=M(l.default.Divider,{}),L=M(u.default,{});function D(){var e=(0,m.default)(),t=(0,_.default)(),n=t.refresh,r=t.list,u=t.loading;(0,E.default)(n);var p=(0,g.default)(n);function v(){p(!0),(0,y.trackStageDiscoveryReload)()}return(0,E.default)(p),a.useEffect((function(){p()}),[]),a.useEffect((function(){i.setHomeLink(S.Routes.STAGE_DISCOVERY),(0,d.trackAppUIViewed)("stage-discovery")}),[]),e?M("div",{className:I.default.container},void 0,M(o.Helmet,{title:O.default.Messages.DISCORD_NAME}),M(l.default,{toolbar:M(A,{onRefresh:v}),className:I.default.headerBarContainer},void 0,P,M(l.default.Title,{},void 0,O.default.Messages.STAGE_DISCOVERY),R,M(f.default,{onClick:s.openDiscoveryStartStageModal,size:f.default.Sizes.TINY,color:f.default.Colors.GREEN,className:I.default.button},void 0,O.default.Messages.START_STAGE_BUTTON_TEXT)),M("div",{className:I.default.pageContent},void 0,M(c.Panel,{id:"stage-discovery",className:I.default.stageSection},void 0,M(h.default,{items:r,loading:u,onRefresh:v})),M("div",{className:I.default.nowPlayingSidebar},void 0,L))):null}D.displayName="StageDiscoveryPage";var w=D;t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useOnStageDiscoveryExited=function(e){var t=r.useRef(e);r.useEffect((function(){t.current=e}),[e]),r.useEffect((function(){return function(){return t.current()}}),[])};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRichPresenceStagesWithEnhancedData=function(){return O.apply(this,arguments)},t.getStagesFromRichPresence=I,t.getStageFromRichPresence=T,t.default=function(){return(0,r.useStateFromStores)([s.default],(function(){return Object.values(I([s.default]))}))};var r=n(3),a=n(275),o=n(1278),i=n(134),l=n(207),u=_(n(162)),s=_(n(256)),d=_(n(70)),f=_(n(8415)),c=_(n(12)),p=_(n(258)),v=n(722),y=n(10447),m=n(1);function _(e){return e&&e.__esModule?e:{default:e}}function h(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function S(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){g(o,r,a,i,l,"next",e)}function l(e){g(o,r,a,i,l,"throw",e)}i(void 0)}))}}function O(){return(O=S(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=I(),n=Object.keys(t),e.prev=2,e.next=5,(0,y.fetchRichPresenceStagesMetadata)(n);case 5:return r=e.sent,e.abrupt("return",r.map((function(e){var n=(0,v.createRecommendedDiscoveryItem)(e);return{enhancedStage:n,richPresenceStage:t[n.id]}})));case 9:if(e.prev=9,e.t0=e.catch(2),!(e.t0 instanceof a.APIError)){e.next=15;break}return e.abrupt("return",[]);case 15:throw e.t0;case 16:case"end":return e.stop()}}),e,null,[[2,9]])})))).apply(this,arguments)}function I(e){for(var t,n={},r=h((void 0===e?[s.default]:e)[0].getAllApplicationActivities(i.STAGE_APPLICATION_ID));!(t=r()).done;){var a=t.value,o=T({userId:a.userId,activity:a.activity},n);null!=o&&(n[o.channelId]=o)}return n}function T(e,t){var n,r=e.userId,a=e.activity;if(!f.default.getUserAffinitiesUserIds().has(r)&&!d.default.isFriend(r))return null;var i=(0,o.unpackStageChannelParty)(a);if(!i)return null;var s,v=i.channelId,y=i.guildId,_=i.guildIsPartnered,h=i.guildIsVerified,E=i.userIsSpeaker,g=i.stageInstanceId;if(null!=(null==t?void 0:t[v])){var S;s=null!==(S=t[v])&&void 0!==S?S:{}}else{var O,I,T,C=[];_&&C.push(m.GuildFeatures.PARTNERED),h&&C.push(m.GuildFeatures.VERIFIED);var b=null!==(O=i.size)&&void 0!==O?O:[0,0],M=b[0],N=b[1];s={channelId:v,partialStageGuild:new u.default({id:y,name:null===(I=a.assets)||void 0===I?void 0:I.small_text,icon:null===(T=a.assets)||void 0===T?void 0:T.small_image,features:C}),stageInstance:{id:g,channel_id:v,guild_id:y,privacy_level:l.StageInstancePrivacyLevel.PUBLIC,topic:a.name},speakers:[],knownUsers:{},speakerCount:M,audienceCount:N-M}}var A=c.default.getUser(r);if(null!=A){var P={user:A,userNick:p.default.getName(y,v,A),isSpeaker:null!=E&&E};s.knownUsers[A.id]=P}return null!==(n=s)&&void 0!==n?n:null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=_(n(24)),i=n(272),l=n(9040),u=n(722),s=_(n(11304)),d=n(10448),f=_(n(11308)),c=_(n(11309)),p=_(n(11313)),v=n(11314),y=_(n(6)),m=_(n(8073));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(){return(g=Object.assign||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}).apply(this,arguments)}function S(e){var t=l.NO_VISIBLE_INDEX;for(var n in e){var r=parseInt(n);e[r]&&(t=Math.max(t,r))}return t}var O=E(d.LoadingLiveStageTile,{}),I=E(d.LoadingLiveStageTile,{}),T=E(d.LoadingLiveStageTile,{}),C=E(d.LoadingLiveStageTile,{}),b=E(d.LoadingLiveStageTile,{}),M=E(d.LoadingLiveStageTile,{});function N(){return a.createElement(a.Fragment,null,O,I,T,C,b,M)}var A=E(N,{});function P(e){var t=e.items,n=e.loading,r=e.onRefresh,d=(0,s.default)(),_=d[0],h=d[1],O=t.length>0,I=function(e,t){var n=a.useRef([]),r=a.useRef(null),o=a.useState({}),i=o[0],l=o[1],u=a.useCallback((function(e){l((function(t){var r=g({},t);return e.forEach((function(e){var t=n.current.findIndex((function(t){return t.current===e.target}));r[t]=e.isIntersecting||e.boundingClientRect.top<0})),r}))}),[]);return a.useEffect((function(){if(t)l({});else if(null!=r.current){var e={root:r.current,rootMargin:"0px",threshold:.01},a=new IntersectionObserver(u,e);return n.current.forEach((function(e){null!=e.current&&a.observe(e.current)})),function(){n.current.forEach((function(e){null!=e.current&&a.unobserve(e.current)}))}}}),[e,t,u]),{rowRefs:n,containerRef:r,lastVisibleIndex:S(i)}}(t,n),T=I.rowRefs,C=I.containerRef,b=I.lastVisibleIndex;(0,l.useStageDiscoveryLoadAnalytics)(b,n);return O||n?a.createElement(i.ScrollerAuto,{className:m.default.container,ref:C},E("div",{className:m.default.headerContainer},void 0,E(o.default,{color:o.default.Colors.HEADER_PRIMARY,size:o.default.Sizes.SIZE_20,className:m.default.pageHeader},void 0,y.default.Messages.LIVE_STAGES)),E(c.default,{loading:n}),n?A:t.map((function(e,t){var n,r=_===e.id,o=null!==(n=T.current[t])&&void 0!==n?n:a.createRef();switch(T.current[t]=o,e.type){case u.DiscoveryItemTypes.USER_GUILDS:return a.createElement(v.UserGuildLiveStageTile,g({key:e.id,ref:o},e,{onSelectStage:h,isStageSelected:r}));case u.DiscoveryItemTypes.RECOMMENDED:return a.createElement(v.RecommendationLiveStageTile,g({key:e.id,ref:o},e,{onSelectStage:h,isStageSelected:r}));case u.DiscoveryItemTypes.FRIENDS_GUILDS:return a.createElement(v.FriendsGuildLiveStageTile,g({key:e.id,ref:o},e,{onSelectStage:h,isStageSelected:r}));case u.DiscoveryItemTypes.CONNECTED:return a.createElement(v.ConnectedLiveStageTile,g({key:e.id,ref:o},e,{onSelectStage:h,isStageSelected:r}));default:return null}})),!n&&E(f.default,{onRefresh:r})):E(p.default,{refresh:r})}P.displayName="StageDiscoveryList";var R=P;t.default=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,a.useStateFromStores)([l.default],(function(){return l.default.getVoiceChannelId()}),[]),t=r.useState(e),n=t[0],s=t[1];return r.useEffect((function(){var t=setTimeout((function(){s(e)}),500);return function(){clearTimeout(t)}}),[e]),[n,function(e,t){if(n===t){var r=i.default.getChannel(t);if(null!=r)return(0,o.navigateToStage)(r),void(0,u.trackStageDiscoveryStageOpened)(t)}s(t),(0,o.connectOrLurkStage)(e,t),(0,u.trackStageDiscoveryStageJoined)(t)}]};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(3),o=n(1232),i=s(n(10)),l=s(n(36)),u=n(9040);function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;var r,a=v(n(0)),o=n(3),i=n(389),l=c(n(8258)),u=v(n(8253)),s=c(n(12)),d=n(722),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){if(!(0,o.useStateFromStores)([s.default],(function(){var e;return null===(e=s.default.getNullableCurrentUser())||void 0===e?void 0:e.isStaff()}),[]))return null;var n=function(e){switch(e){case d.StageDiscoveryRecommendationSource.FEATURED:return"Featured";case d.StageDiscoveryRecommendationSource.TRENDING:return"Trending";case d.StageDiscoveryRecommendationSource.USER_GUILDS:return"User Guilds";case d.StageDiscoveryRecommendationSource.PERSONALIZED:return"Personalized";case d.StageDiscoveryRecommendationSource.FRIENDS_GUILDS:return"Friends' Guilds";default:return"Unknown - "+e}}(e);return y(u.MenuGroup,{label:"Stage Info - Staff Only"},void 0,y(u.MenuItem,{id:"stage-source-id",label:n,disabled:!0},"stage-source-id"),null!=t?y(u.MenuItem,{id:"stage-score-id",label:t,disabled:!0},"stage-score-id"):null)}function _(e){var t=e.source,n=e.score,r=e.guildId,o=e.channelId,s=e.stageInstanceId,d=e.onSelect,c=(0,l.default)(r,r+"-"+o+"-"+s),p=m(t,n);return a.useEffect((function(){null==c&&null==p&&(0,i.closeContextMenu)()}),[c,p]),y(u.default,{navId:"live-stage-tile-context","aria-label":f.default.Messages.GENERIC_ACTIONS_MENU_LABEL,onSelect:d,onClose:i.closeContextMenu},void 0,c,p)}m.displayName="useLiveStageDebugItems",_.displayName="LiveStageTileContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(279)),o=s(n(24)),i=n(722),l=s(n(6)),u=s(n(8067));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t,n,r,s=e.context;if(e.discoveryItemType!==i.DiscoveryItemTypes.FRIENDS_GUILDS)return null;if(null==(null==s?void 0:s.user))return null;var d=null!==(t=null==s?void 0:s.userNick)&&void 0!==t?t:null===(n=s.user)||void 0===n?void 0:n.username;return f("div",{className:u.default.container},void 0,f(a.default,{src:s.user.getAvatarURL(void 0),size:a.default.Sizes.SIZE_24,"aria-hidden":!0,className:u.default.avatar}),f(o.default,{color:o.default.Colors.HEADER_SECONDARY,size:o.default.Sizes.SIZE_14},void 0,function(e,t){return t?l.default.Messages.STAGE_DISCOVERY_LIVE_STAGE_TILE_FRIENDS_GUILDS_CONTEXT_SPEAKER.format({name:e}):l.default.Messages.STAGE_DISCOVERY_LIVE_STAGE_TILE_FRIENDS_GUILDS_CONTEXT_AUDIENCE.format({name:e})}(d,null!==(r=null==s?void 0:s.isSpeaker)&&void 0!==r&&r)))}c.displayName="LiveStageTileContextualHeader"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(1232),i=p(n(10)),l=p(n(29)),u=p(n(1240)),s=p(n(24)),d=n(9040),f=p(n(6)),c=p(n(8068));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t=e.isConnected,n=e.isExiting;return t?a.createElement(a.Fragment,null,y(u.default,{height:20,width:20,className:c.default.icon}),y(s.default,{color:s.default.Colors.HEADER_PRIMARY,size:s.default.Sizes.SIZE_14,className:c.default.listeningText},void 0,f.default.Messages.STAGE_DISCOVERY_LIVE_STAGE_LISTENING_INDICATOR)):y(s.default,{color:s.default.Colors.STATUS_YELLOW,size:s.default.Sizes.SIZE_14,className:c.default.connectingText},void 0,n?f.default.Messages.STAGE_DISCOVERY_LIVE_STAGE_TILE_DISCONNECTING:f.default.Messages.CONNECTING)}function _(e){var t=e.channelId,n=e.isConnected,r=e.isStageSelected,a=e.isExiting,u=e.onExit;return r?y("div",{className:c.default.container},void 0,y(m,{isConnected:n,isExiting:a}),y(l.default,{onClick:u,size:l.default.Sizes.SMALL,color:l.default.Colors.GREY,className:c.default.leaveButton},void 0,f.default.Messages.STAGE_CHANNEL_LEAVE_BUTTON),y(l.default,{onClick:function(e){e.stopPropagation();var n=i.default.getChannel(t);null!=n&&((0,o.connectAndOpen)(n),(0,d.trackStageDiscoveryStageOpened)(t))},size:l.default.Sizes.SMALL,color:l.default.Colors.GREEN},void 0,f.default.Messages.STAGE_DISCOVERY_CARD_OPEN_STAGE)):null}_.displayName="LiveStageTileControls"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(29)),o=s(n(47)),i=s(n(24)),l=s(n(6)),u=s(n(8070));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=function(e){var t=e.onRefresh;return f("div",{className:u.default.container},void 0,f(o.default,{size:o.default.Sizes.SIZE_16,className:u.default.title},void 0,l.default.Messages.STAGE_DISCOVERY_FOOTER_TITLE),f(i.default,{color:i.default.Colors.HEADER_SECONDARY},void 0,l.default.Messages.STAGE_DISCOVERY_FOOTER_BODY),f(a.default,{onClick:t,className:u.default.button},void 0,l.default.Messages.STAGE_DISCOVERY_FOOTER_BUTTON))};c.displayName="StageDiscoveryFooter";var p=c;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(61)),i=p(n(255)),l=p(n(47)),u=p(n(24)),s=n(11310),d=n(1),f=p(n(6)),c=p(n(8071));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=a.forwardRef((function(e,t){var r=e.loading,p=(0,s.useStageDiscoveryIntroCardStore)(),v=p[0],m=p[1];return v||r?null:a.createElement("div",{ref:t,className:c.default.container},y(o.default,{onClick:m},void 0,y(i.default,{height:16,width:16,className:c.default.icon,color:d.Colors.WHITE})),y("img",{alt:f.default.Messages.STAGE_DISCOVERY_INTRO_CARD_ALT_TEXT,src:n(11312),className:c.default.illustration}),y("div",{className:c.default.content},void 0,y(l.default,{size:l.default.Sizes.SIZE_20,color:d.Colors.WHITE,className:c.default.header},void 0,f.default.Messages.STAGE_DISCOVERY_INTRO_CARD_HEADER),y(u.default,{className:c.default.body},void 0,f.default.Messages.STAGE_DISCOVERY_INTRO_CARD_BODY_DESKTOP)))}));t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStageDiscoveryIntroCardStore=function(){return u((function(e){return[e.hasSeenStageDiscoveryIntroCard,e.markAsSeen]}),a.default)};var r=l(n(251)),a=l(n(8312)),o=l(n(28)),i=n(11311);function l(e){return e&&e.__esModule?e:{default:e}}var u=(0,r.default)((function(e){return{hasSeenStageDiscoveryIntroCard:!0===o.default.get(i.STAGE_DISCOVERY_INTRO_CARD_KEY),markAsSeen:function(){o.default.set(i.STAGE_DISCOVERY_INTRO_CARD_KEY,!0),e({hasSeenStageDiscoveryIntroCard:!0})}}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StageDiscoveryStartStageScenes=t.STAGE_DISCOVERY_INTRO_CARD_KEY=t.STAGE_DISCOVERY_DEVELOPER_SHEET_KEY=void 0;t.STAGE_DISCOVERY_DEVELOPER_SHEET_KEY="stage-discovery-developer-view";var r;t.STAGE_DISCOVERY_INTRO_CARD_KEY="hasSeenStageDiscoveryIntroCard",t.StageDiscoveryStartStageScenes=r,function(e){e.GUILD_SELECTION="GUILD_SELECTION",e.START_STAGE="START_STAGE"}(r||(t.StageDiscoveryStartStageScenes=r={}))},function(e,t,n){e.exports=n.p+"1421ed20a1c29c887e1457a1004ea12e.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(29)),o=s(n(24)),i=s(n(6)),l=s(n(8072)),u=s(n(8767));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.refresh;return f("div",{className:l.default.container},void 0,f("img",{className:l.default.wumpus,alt:i.default.Messages.STAGE_DISCOVERY_NO_RESULTS_SUBHEADER,src:u.default}),f(o.default,{color:o.default.Colors.HEADER_PRIMARY,size:o.default.Sizes.SIZE_16,className:l.default.header},void 0,i.default.Messages.STAGE_DISCOVERY_NO_RESULTS_HEADER),f(o.default,{color:o.default.Colors.HEADER_SECONDARY,size:o.default.Sizes.SIZE_14,className:l.default.subheader},void 0,i.default.Messages.STAGE_DISCOVERY_NO_RESULTS_SUBHEADER),f(a.default,{onClick:t},void 0,i.default.Messages.STAGE_DISCOVERY_NO_RESULTS_BUTTON))}c.displayName="StageDiscoveryListNoResults"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RecommendationLiveStageTile=t.FriendsGuildLiveStageTile=t.ConnectedLiveStageTile=t.UserGuildLiveStageTile=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(3),o=n(1260),i=n(260),l=p(n(81)),u=p(n(10)),s=p(n(15)),d=n(722),f=p(n(11315)),c=n(10448);function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}var y=r.forwardRef((function(e,t){var n=e.data.id,f=e.isStageSelected,p=e.onSelectStage,v=(0,a.useStateFromStores)([s.default,u.default],(function(){var e;return s.default.getGuild(null===(e=u.default.getChannel(n))||void 0===e?void 0:e.getGuildId())}),[n]),y=(0,a.useStateFromStores)([l.default],(function(){return l.default.getStageInstanceByChannel(n)}),[n]),m=(0,o.useStageParticipants)(n,i.StageChannelParticipantNamedIndex.SPEAKER),_=(0,o.useStageParticipantsCount)(n,i.StageChannelParticipantNamedIndex.AUDIENCE);return null==v||null==y?null:r.createElement(c.LiveStageTile,{ref:t,audienceCount:_,channelId:n,discoveryItemType:d.DiscoveryItemTypes.USER_GUILDS,guild:v,isStageSelected:f,onSelectStage:p,speakerCount:m.length,speakers:m,stage:y,source:d.StageDiscoveryRecommendationSource.USER_GUILDS})}));t.UserGuildLiveStageTile=y;var m=r.forwardRef((function(e,t){var n=e.isStageSelected,a=e.onSelectStage,o=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["isStageSelected","onSelectStage"]),i=(0,f.default)(o),l=i.guild,u=i.speakers,s=i.stage,p=i.audienceCount,v=i.channelId;return null==l||null==s?null:r.createElement(c.LiveStageTile,{ref:t,audienceCount:p,channelId:v,discoveryItemType:d.DiscoveryItemTypes.USER_GUILDS,guild:l,isStageSelected:n,onSelectStage:a,speakerCount:u.length,speakers:u,stage:s,source:d.StageDiscoveryRecommendationSource.UNSPECIFIED})}));t.ConnectedLiveStageTile=m;var _=r.forwardRef((function(e,t){var n=e.data,a=n.channelId,o=n.guild,i=n.instance,l=n.audienceCount,u=n.speakerCount,s=n.speakers,f=e.context,p=e.isStageSelected,v=e.onSelectStage;return r.createElement(c.LiveStageTile,{ref:t,audienceCount:l,channelId:a,context:f,discoveryItemType:d.DiscoveryItemTypes.FRIENDS_GUILDS,guild:o,isStageSelected:p,onSelectStage:v,speakerCount:u,speakers:s,stage:i,source:d.StageDiscoveryRecommendationSource.FRIENDS_GUILDS})}));t.FriendsGuildLiveStageTile=_;var h=r.forwardRef((function(e,t){var n=e.data,a=e.onSelectStage,o=e.isStageSelected,i=n.guild,l=n.channelId,u=n.instance,s=n.speakers,f=n.participantCount,p=n.score,v=n.sampleSpeakerMembers,y=n.source;return null==i?null:r.createElement(c.LiveStageTile,{ref:t,audienceCount:f-s.length,channelId:l,discoveryItemType:d.DiscoveryItemTypes.RECOMMENDED,guild:i,isStageSelected:o,onSelectStage:a,score:p,source:y,speakerCount:s.length,speakers:v,stage:u})}));t.RecommendationLiveStageTile=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.id,n=e.data,s=n.guild,d=n.instance,f=n.speakers,c=n.participantCount,p=(0,r.useStateFromStores)([u.default,l.default],(function(){var e;return u.default.getGuild(null===(e=l.default.getChannel(t))||void 0===e?void 0:e.getGuildId())}),[t]),v=(0,r.useStateFromStores)([i.default],(function(){return i.default.getStageInstanceByChannel(t)}),[t]),y=(0,a.useStageParticipants)(t,o.StageChannelParticipantNamedIndex.SPEAKER),m=(0,a.useStageParticipantsCount)(t),_=null!=p?p:s,h=null!=v?v:d,E=v?y:f,g=(v?m:c)-E.length;return{channelId:t,guild:_,stage:h,speakers:E,audienceCount:g}};var r=n(3),a=n(1260),o=n(260),i=s(n(81)),l=s(n(10)),u=s(n(15));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===t&&(t=a.STAGE_DISCOVERY_RESULTS_TIME_UNTIL_STALE_MS);var n=r.useState(!1),o=n[0],i=n[1],l=r.useState(!1),u=l[0],s=l[1],d=r.useRef(0),f=function(){clearTimeout(d.current),s(!1),d.current=setTimeout((function(){i(!0)}),t)},c=function(){s(!0),clearTimeout(d.current)};r.useEffect((function(){return window.addEventListener("blur",f),window.addEventListener("focus",c),function(){window.removeEventListener("blur",f),window.removeEventListener("focus",c),clearTimeout(d.current)}}),[]),r.useEffect((function(){o&&u&&(i(!1),s(!1),e())}),[o,u,e])};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(722);function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=i((function(e){return e})),n=t.lastRefreshedAt,r=t.setLastRefreshedAt;return function(t){void 0===t&&(t=!1),(Date.now()-n>=o.STAGE_DISCOVERY_RESULTS_TIME_UNTIL_STALE_MS||t)&&(e(),r(Date.now()))}};var r,a=(r=n(251))&&r.__esModule?r:{default:r},o=n(722);var i=(0,a.default)((function(e){return{lastRefreshedAt:0,setLastRefreshedAt:function(t){return e((function(){return{lastRefreshedAt:t}}))}}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=s(n(29)),o=s(n(47)),i=s(n(24)),l=s(n(6)),u=s(n(8075));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=function(e){var t=e.onLogin,r=e.onRegister;return f("div",{className:u.default.wrapper},void 0,f("div",{className:u.default.content},void 0,f("img",{alt:"",src:n(8772),className:u.default.image}),f("div",{},void 0,f(o.default,{size:o.default.Sizes.SIZE_20,className:u.default.header},void 0,l.default.Messages.GUEST_LURKER_MODE_CHAT_INPUT_HEADER),f(i.default,{className:u.default.subHeader},void 0,l.default.Messages.GUEST_LURKER_MODE_CHAT_INPUT_BODY))),f("div",{className:u.default.buttonContainer},void 0,f(a.default,{className:u.default.button,size:a.default.Sizes.MEDIUM,onClick:t,look:a.default.Looks.OUTLINED,color:a.default.Colors.WHITE},void 0,l.default.Messages.LOGIN),f(a.default,{className:u.default.button,size:a.default.Sizes.MEDIUM,onClick:r},void 0,l.default.Messages.REGISTER)))};c.displayName="GuestLurkerGuard";var p=c;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=y(n(0)),o=n(3),i=p(n(8715)),l=y(n(8760)),u=p(n(13)),s=p(n(8761)),d=p(n(11320)),f=p(n(11349)),c=n(1);function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleScroll=function(e){var n=e.getScrollerState(),r=n.offsetHeight,a=n.scrollHeight,o=n.scrollTop/(a-r);t.maxScrolledPercentage=Math.min(Math.max(t.maxScrolledPercentage,o),1)},t.track=function(e,n,r){void 0===n&&(n={}),void 0===r&&(r=!1);var a=t.props.changeLog,o=a.id,i=a.date,l=_({change_log_id:(o||i)+":"+a.revision},n);r||(l=_({seconds_open:Math.round((Date.now()-t.mountedAt)/1e3),max_scrolled_percentage:100*parseInt(t.maxScrolledPercentage.toPrecision(4),10)},l)),u.default.track(e,l)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n);var o=r.prototype;return o.componentDidMount=function(){var e=this.props,t=e.changeLog,n=e.changeLogSource;if(null==t)return this.close();this.mountedAt=Date.now(),this.maxScrolledPercentage=0,this.joinEligibleExperiment(),this.track(c.AnalyticEvents.CHANGE_LOG_OPENED,_({},n),!0)},o.joinEligibleExperiment=function(){var e=this.props.changeLog;e.experiment_names&&s.default.trackExposureToFirstEligibleUserExperiment(e.experiment_names)},o.close=function(){i.default.hideChangeLog()},o.componentWillUnmount=function(){this.track(c.AnalyticEvents.CHANGE_LOG_CLOSED)},o.render=function(){switch(this.props.changeLog.template){case l.ChangeLogTemplate.SPECIAL:return a.createElement(d.default,_({},this.props,{onScroll:this.handleScroll,track:this.track}));default:return a.createElement(f.default,_({},this.props,{onScroll:this.handleScroll,track:this.track}))}},r}(a.PureComponent);E.displayName="ChangeLog";var g=function(){var e=(0,o.useStateFromStoresObject)([l.default],(function(){return{changeLog:l.default.changeLog,changeLogSource:l.default.changeLogSource,isOpen:l.default.isOpen()}})),t=e.changeLog,n=e.changeLogSource,r=e.isOpen;return null!=t&&r?m(E,{changeLog:t,changeLogSource:n}):null};g.displayName="ConnectedChangeLog";var S=a.memo(g);t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=M(n(0)),o=C(n(9)),i=C(n(5)),l=n(57),u=C(n(8715)),s=C(n(8295)),d=n(8308),f=C(n(8760)),c=C(n(271)),p=M(n(29)),v=n(8516),y=n(85),m=C(n(24)),_=C(n(5945)),h=C(n(13)),E=C(n(10449)),g=C(n(93)),S=C(n(11348)),O=n(1),I=C(n(6)),T=C(n(8077));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var P=s.default.reactParserFor(E.default.getSpecialRules(T.default)),R={},L=function(e){var t,r;function s(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).headerId=(0,y.uid)(),t.state={bodyWidth:451,copied:!1},t._unsetCopiedState=new l.DelayedCall(1e3,(function(){return t.setState({copied:!1})})),t.trackLinkClick=function(e){t.props.track(O.AnalyticEvents.CHANGE_LOG_CTA_CLICKED,{cta_type:"inline_link",target:e},!1)},t.scrollerRef=a.createRef(),t.handleResize=function(){var e,n,r=null!==(e=null===(n=t._bodyNode)||void 0===n?void 0:n.offsetWidth)&&void 0!==e?e:t.state.bodyWidth;"number"!=typeof r||Number.isNaN(r)||t.setState({bodyWidth:r})},t.setSpecialBodyRef=function(e){t._bodyNode=e,t.handleResize()},t.handleScroll=function(){var e,n=t.scrollerRef.current;null!=n&&(null===(e=t.props)||void 0===e||e.onScroll(n))},t}r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,A(t,r);var E=s.prototype;return E.componentDidMount=function(){window.addEventListener("resize",this.handleResize,!0)},E.componentWillUnmount=function(){window.removeEventListener("resize",this.handleResize,!0),this._unsetCopiedState.cancel()},E.close=function(){u.default.hideChangeLog()},E.track=function(e,t,n){this.props.track(e,t,n)},E.renderVideo=function(){var e=this,t=this.props.changeLog,r=this.state.bodyWidth,a=r*(9/16),i=t.youtube_video_id,l=t.video,u=t.image;if(i)return N(v.EmbedVideo,{className:(0,o.default)(T.default.video),allowFullScreen:!1,href:"https://youtu.be/"+i,thumbnail:{url:"https://i.ytimg.com/vi/"+i+"/maxresdefault.jpg",width:r,height:a},video:{url:"https://www.youtube.com/embed/"+i+"?vq=large&rel=0&controls=0&showinfo=0",width:r,height:a},maxWidth:r,maxHeight:a,renderVideoComponent:d.renderVideoComponent,renderImageComponent:d.renderImageComponent,renderLinkComponent:d.renderMaskedLinkComponent,onPlay:function(){e.track(O.AnalyticEvents.CHANGE_LOG_VIDEO_INTERACTED,{},!0)}});if(l){var s=l.startsWith("https://")?l:n(9041)("./"+l);return N(_.default,{src:s,poster:u,width:r,height:a,loop:!0,muted:!0,autoPlay:!0,className:T.default.video,onPlay:function(){e.track(O.AnalyticEvents.CHANGE_LOG_VIDEO_INTERACTED,{},!0)}})}if(u){var f=u.startsWith("https://")?u:n(9041)("./"+u);return N("img",{className:T.default.image,alt:"",src:f,width:r,height:a})}return null},E.render=function(){var e=this.props.changeLog;return N(S.default,{className:(0,o.default)(T.default.container),modalLabeledById:this.headerId,onClose:this.close,onScroll:this.handleScroll,scrollerRef:this.scrollerRef},void 0,N("div",{className:T.default.header,id:this.headerId,tabIndex:0},void 0,N("div",{className:T.default.headerContent},void 0,N(m.default,{size:m.default.Sizes.SIZE_32,className:T.default.headerText},void 0,I.default.Messages.CHANGELOG_STICKERS_HEADER),N(m.default,{size:m.default.Sizes.SIZE_16,className:T.default.dateText},void 0,I.default.Messages.WHATS_NEW_DATE.format({date:e.date?(0,i.default)(e.date).toDate():new Date}))),N("div",{className:T.default.headerGraphic})),a.createElement("div",{className:T.default.body,ref:this.setSpecialBodyRef},this.renderVideo(),P(e.body,!1,{changeLog:this,interpolations:R,onLinkClick:this.trackLinkClick})),N("div",{className:T.default.footer},void 0,N(m.default,{size:m.default.Sizes.SIZE_20,className:T.default.inviteCTAHeader},void 0,I.default.Messages.CHANGELOG_STICKERS_CTA_TITLE),N(m.default,{size:m.default.Sizes.SIZE_16,className:T.default.inviteCTABody},void 0,I.default.Messages.CHANGELOG_STICKERS_CTA_BODY.format()),N(c.default,{className:(0,o.default)((0,p.getButtonStyle)({size:p.default.Sizes.SMALL,color:p.default.Colors.GREEN}),T.default.ctaAnchor),href:g.default.getArticleURL(O.HelpdeskArticles.STICKERS),onClick:function(){var e,t;h.default.track(O.AnalyticEvents.CHANGE_LOG_CTA_CLICKED,{change_log_id:(null===(e=f.default.changeLog)||void 0===e?void 0:e.date)+":"+(null===(t=f.default.changeLog)||void 0===t?void 0:t.revision),cta_type:"stickers_cta"})}},void 0,I.default.Messages.CHANGELOG_STICKERS_CTA)))},s}(a.PureComponent);t.default=L,L.displayName="ChangelogSpecialTemplate"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.customRules=t.baseRules=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(9)),i=p(n(101)),l=p(n(8715)),u=p(n(473)),s=p(n(8295)),d=p(n(271)),f=p(n(13)),c=n(1);function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(){return(m=Object.assign||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}).apply(this,arguments)}var _=i.default.defaultRules.link,h={section:c.AnalyticsSections.SETTINGS_CHANGELOG};function E(e,t){return null==t?[]:t.split(" ").map((function(t){return e[t]}))}var g=function(e){var t=e.level,n=e.children,r=e.className,i=void 0===r?null:r,l=e.styleSheet,u=void 0===l?{}:l;return a.createElement("h"+t,{className:o.default.apply(void 0,E(u,i))},n)},S=s.default.defaultRules;t.baseRules=S;var O={link:{parse:function(e,t,n){var r,a=e[2],o=a.startsWith("https://discordapp.com/nitro")||a.startsWith("https://discord.com/nitro"),i=a.startsWith("https://discordapp.com/hypesquad")||a.startsWith("https://discord.com/hypesquad");return r=o||i?function(e){f.default.track(c.AnalyticEvents.PREMIUM_PROMOTION_OPENED,{location:h}),o?u.default.open(c.UserSettingsSections.PREMIUM):i&&u.default.open(c.UserSettingsSections.HYPESQUAD_ONLINE),n.changeLog.track(c.AnalyticEvents.CHANGE_LOG_CTA_CLICKED,{cta_type:"nitro"}),l.default.hideChangeLog(),e.preventDefault()}:function(){n&&"function"==typeof n.onLinkClick&&n.onLinkClick(a),n.changeLog.track(c.AnalyticEvents.CHANGE_LOG_CTA_CLICKED,m({},f.default.getCampaignParams(a)))},m({},_.parse(e,t,n),{callToAction:r})},react:function(e,t,n){return y(d.default,{href:i.default.sanitizeUrl(e.target),title:e.title,onClick:e.callToAction,target:"_blank",className:e.callToAction?"cta":void 0},n.key,t(e.content,n))}},lheading:function(e){return{react:function(t,n,r){return y(g,{level:t.level,className:t.className,styleSheet:e},r.key,n(t.content,r))}}},heading:{react:function(e,t,n){return y(g,{level:e.level},n.key,t(e.content,n))}},image:{react:function(e,t,r){var a=n(9041)("./"+e.target);return y("img",{alt:e.alt,src:a},r.key)}},blockQuote:{react:S.blockQuote.react},paragraph:{react:function(e,t,n){return y("p",{},n.key,t(e.content,n))}}};t.customRules=O},function(e,t,n){e.exports=n.p+"dca6464b06c48b1fab5f2e8320446b32.mp4"},function(e,t,n){e.exports=n.p+"ae046b62e28bb1ec1fbdde8185d32b9e.mp4"},function(e,t,n){e.exports=n.p+"a83f2923603bd8806103525b2c1ddd45.png"},function(e,t,n){e.exports=n.p+"05c20d7f82cdf7f46edeb54bb4c0753e.jpg"},function(e,t,n){e.exports=n.p+"7f34e6e3da7d1403bad96e20b9b3a32c.mp4"},function(e,t,n){e.exports=n.p+"7c2b742b0f9040988b4bb4e351fdedb9.mp4"},function(e,t,n){e.exports=n.p+"7f73b3e68d81916d67cc58a3deeca567.mp4"},function(e,t,n){e.exports=n.p+"abaa70ae2be9f361759c60b2ee85ff12.png"},function(e,t,n){e.exports=n.p+"5c16b0a7b65a2c2864a88ee28ce0d0eb.png"},function(e,t,n){e.exports=n.p+"69f1b8ed1ca802bad3a91ccb07f4d81e.jpg"},function(e,t,n){e.exports=n.p+"d6a1cc0cb7f729ae421d609d72839816.mp4"},function(e,t,n){e.exports=n.p+"69b70bc5e0982b11182ae6495aadd34c.png"},function(e,t,n){e.exports=n.p+"2880df085f7ca77db8e9dc270f4042d5.png"},function(e,t,n){e.exports=n.p+"3d297edce71f61b41d8f6656b3e4798d.svg"},function(e,t,n){e.exports=n.p+"25827bddb7c9639625ed5b2be4d729ec.svg"},function(e,t,n){e.exports=n.p+"2eeb95d09a8714441aae7675ea1a505f.svg"},function(e,t,n){e.exports=n.p+"0443f6aac40f937c2ebd13244809186a.svg"},function(e,t,n){e.exports=n.p+"2da087637693ad611a1ac582115eea91.svg"},function(e,t,n){e.exports=n.p+"6d28235c23cc070da7bb35f03ad49d75.png"},function(e,t,n){e.exports=n.p+"df8ac223535f4aaca900e0dfd4c06516.png"},function(e,t,n){e.exports=n.p+"7257dc66059fff2be1bc43c379edefda.png"},function(e,t,n){e.exports=n.p+"f3406f9daf47b7e260971de90b01edbb.png"},function(e,t,n){e.exports=n.p+"ef3f462cc3c68b5b86ae1c296799370f.png"},function(e,t,n){e.exports=n.p+"fc7b03021c61546fb1facf64b1178afe.png"},function(e,t,n){e.exports=n.p+"6812ba2237fb14b9fe6eb53134874f5c.png"},function(e,t,n){e.exports=n.p+"46e2829b759fbdc67b1a24ff96a415b2.jpg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=v(n(0)),o=c(n(9)),i=c(n(61)),l=c(n(255)),u=v(n(35)),s=c(n(24)),d=c(n(6)),f=c(n(8076));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(){return(y=Object.assign||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}).apply(this,arguments)}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var h=m(l.default,{width:24,height:24}),E=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n),r.prototype.render=function(){var e=this.props,t=e.selectable,n=e.className,r=e.modalLabeledById,l=e.onClose,c=e.children,p=e.onScroll,v=e.scrollerRef;return m(u.default,{onCloseRequest:l,renderModal:function(e){var _,E=e.onClose,g=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["onClose"]);return a.createElement(u.ModalRoot,y({className:f.default.modal},g,{"aria-labelledby":r}),m(u.ModalContent,{className:(0,o.default)(n,f.default.content,{selectable:t}),scrollerRef:v,onScroll:p},void 0,c),m(i.default,{className:f.default.closeButton,onClick:function(){null!=l&&l(),E()}},void 0,h),m("div",{className:f.default.updateBadge},void 0,m(s.default,{size:(_=d.default.Messages.UPDATE_BADGE_HEADER,_.length>12?s.default.Sizes.SIZE_10:_.length>10?s.default.Sizes.SIZE_12:_.length>8?s.default.Sizes.SIZE_14:s.default.Sizes.SIZE_16),className:f.default.updateBadgeText},void 0,d.default.Messages.UPDATE_BADGE_HEADER)))}})},r}(a.PureComponent);E.displayName="SpecialMarkdownModal",E.defaultProps={selectable:!1};var g=E;t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=M();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=b(n(9)),i=b(n(5)),l=b(n(8715)),u=b(n(1295)),s=b(n(8295)),d=n(8308),f=b(n(271)),c=n(8516),p=b(n(55)),v=n(85),y=b(n(10450)),m=b(n(10451)),_=b(n(10066)),h=b(n(47)),E=b(n(24)),g=b(n(5945)),S=b(n(10449)),O=b(n(9216)),I=n(1),T=b(n(6)),C=b(n(8078));function b(e){return e&&e.__esModule?e:{default:e}}function M(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return M=function(){return e},e}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var P=s.default.reactParserFor(S.default.getDefaultRules(C.default)),R={},L=N(_.default,{}),D=N(y.default,{}),w=N(m.default,{}),j=function(e){var t,r;function a(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).headerId=(0,v.uid)(),t.handleScroll=function(e){var n;null===(n=t.props)||void 0===n||n.onScroll(e)},t.trackLinkClick=function(e){t.props.track(I.AnalyticEvents.CHANGE_LOG_CTA_CLICKED,{cta_type:"inline_link",target:e},!1)},t.renderHeader=function(){var e=t.props.changeLog;return N(p.default.Child,{grow:1,shrink:1},void 0,N(h.default,{tag:h.default.Tags.H2,size:h.default.Sizes.SIZE_20},void 0,T.default.Messages.WHATS_NEW),N(E.default,{size:E.default.Sizes.SIZE_12,className:C.default.date},void 0,T.default.Messages.WHATS_NEW_DATE.format({date:e.date?(0,i.default)(e.date).toDate():new Date})))},t}r=e,(t=a).prototype=Object.create(r.prototype),t.prototype.constructor=t,A(t,r);var s=a.prototype;return s.close=function(){l.default.hideChangeLog()},s.track=function(e,t,n){this.props.track(e,t,n)},s.renderFooter=function(){return N("div",{className:C.default.footer},void 0,N(f.default,{className:C.default.socialLink,href:(0,u.default)(I.LocalizedLinks.TWITTER),target:"blank"},void 0,L),N(f.default,{className:C.default.socialLink,href:I.SOCIAL_LINKS.FACEBOOK_URL,target:"blank"},void 0,D),N(f.default,{className:C.default.socialLink,href:I.SOCIAL_LINKS.INSTAGRAM_URL,target:"blank"},void 0,w),N(E.default,{size:E.default.Sizes.SIZE_12},void 0,T.default.Messages.FOLLOW_US_FOR_MORE_UPDATES))},s.renderVideo=function(){var e=this,t=this.props.changeLog,r=t.youtube_video_id,a=t.video,i=t.image;if(r)return N(c.EmbedVideo,{className:(0,o.default)(C.default.video),allowFullScreen:!1,href:"https://youtu.be/"+r,thumbnail:{url:"https://i.ytimg.com/vi/"+r+"/maxresdefault.jpg",width:451,height:254},video:{url:"https://www.youtube.com/embed/"+r+"?vq=large&rel=0&controls=0&showinfo=0",width:451,height:254},maxWidth:451,maxHeight:254,renderVideoComponent:d.renderVideoComponent,renderImageComponent:d.renderImageComponent,renderLinkComponent:d.renderMaskedLinkComponent,onPlay:function(){e.track(I.AnalyticEvents.CHANGE_LOG_VIDEO_INTERACTED,{},!0)}});if(a){var l=a.startsWith("https://")?a:n(9041)("./"+a);return N(g.default,{src:l,poster:i,width:451,height:254,loop:!0,muted:!0,autoPlay:!0,className:C.default.video,onPlay:function(){e.track(I.AnalyticEvents.CHANGE_LOG_VIDEO_INTERACTED,{},!0)}})}if(i){var u=i.startsWith("https://")?i:n(9041)("./"+i);return N("img",{className:C.default.image,alt:"",src:u,width:451,height:254})}return null},s.render=function(){var e=this.props.changeLog;return N(O.default,{className:C.default.container,onClose:this.close,renderHeader:this.renderHeader,renderFooter:this.renderFooter,onScroll:this.handleScroll},void 0,this.renderVideo(),P(e.body,!1,{changeLog:this,interpolations:R,onLinkClick:this.trackLinkClick}))},a}(a.PureComponent);j.displayName="ChangelogStandardTemplate";var k=j;t.default=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=De(n(0)),o=Re(n(9)),i=Re(n(23)),l=n(262),u=n(192),s=n(3),d=n(389),f=n(11351),c=Re(n(1410)),p=n(691),v=Re(n(688)),y=Re(n(10367)),m=Re(n(180)),_=Re(n(8397)),h=Re(n(9217)),E=Re(n(11352)),g=Re(n(9656)),S=n(11363),O=Re(n(11364)),I=Re(n(11365)),T=Re(n(11366)),C=n(1338),b=Re(n(182)),M=n(42),N=Re(n(11367)),A=n(1232),P=n(134),R=Re(n(10375)),L=Re(n(11377)),D=Re(n(11379)),w=Re(n(10454)),j=Re(n(11380)),k=Re(n(11381)),U=n(5687),G=Re(n(8476)),F=n(8310),B=Re(n(8451)),H=Re(n(8523)),x=Re(n(8932)),V=n(31),W=Re(n(11)),Y=De(n(1268)),z=Re(n(10)),K=n(1225),$=Re(n(298)),Z=Re(n(86)),q=Re(n(56)),X=Re(n(8770)),J=Re(n(15)),Q=Re(n(690)),ee=Re(n(256)),te=Re(n(1241)),ne=Re(n(36)),re=Re(n(107)),ae=Re(n(12)),oe=Re(n(80)),ie=Re(n(29)),le=Re(n(35)),ue=n(41),se=Re(n(8414)),de=n(48),fe=n(259),ce=Re(n(10455)),pe=Re(n(11385)),ve=Re(n(11386)),ye=Re(n(11388)),me=Re(n(11391)),_e=Re(n(11393)),he=Re(n(10457)),Ee=Re(n(11398)),ge=Re(n(11399)),Se=Re(n(11400)),Oe=Re(n(8318)),Ie=n(9229),Te=Re(n(11404)),Ce=Re(n(9039)),be=Re(n(9228)),Me=Re(n(10159)),Ne=n(1),Ae=Re(n(6)),Pe=Re(n(7391));function Re(e){return e&&e.__esModule?e:{default:e}}function Le(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Le=function(){return e},e}function De(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=Le();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function we(){return(we=Object.assign||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}).apply(this,arguments)}function je(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ue(e){var t,n=z.default.getChannel(ne.default.getLastSelectedChannelId());if(null!=n&&n.getGuildId()===e&&n.type===Ne.ChannelTypes.GUILD_TEXT)t=n.id;else{var r=Z.default.getDefaultChannel(e);t=null!=r?r.id:null}return Ne.Routes.CHANNEL(e,t)}var Ge=je(ve.default,{}),Fe=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),l=0;l<n;l++)r[l]=arguments[l];return(t=e.call.apply(e,[this].concat(r))||this).state={topicExpanded:!1},t.handleTitleClick=function(){var e=t.props.channel;null!=e&&e.isDM()&&t.openUserProfile()},t.handleTitleParentClick=function(){var e=t.props.parentChannel;null!=e&&(0,M.transitionToGuild)(e.guild_id,e.id)},t._handleContextMenu=function(e,n){switch(n.type){case Ne.ChannelTypes.GUILD_VOICE:case Ne.ChannelTypes.GUILD_ANNOUNCEMENT:case Ne.ChannelTypes.GUILD_TEXT:t.openChannelContextMenu(e,n);break;case Ne.ChannelTypes.ANNOUNCEMENT_THREAD:case Ne.ChannelTypes.PUBLIC_THREAD:case Ne.ChannelTypes.PRIVATE_THREAD:t.openThreadContextMenu(e,n);break;case Ne.ChannelTypes.DM:t.openDMContextMenu(e,n)}},t.handleContextMenu=function(e){(0,i.default)(null!=t.props.channel,"Missing channel in Channel.handleContextMenu"),t._handleContextMenu(e,t.props.channel)},t.handleParentContextMenu=function(e){(0,i.default)(null!=t.props.parentChannel,"Missing parentChannel in Channel.handleParentContextMenu"),t._handleContextMenu(e,t.props.parentChannel)},t.renderStreamQualityLiveIndicatorToolbarItem=function(){var e=t.props.selectedParticipant;return(null==e?void 0:e.type)!==p.ParticipantTypes.STREAM?null:je(g.default,{size:se.default.Sizes.LARGE,participant:e,showQuality:!0},"live-indicator")},t.renderHeaderToolbar=function(){var e=t.props,n=e.channel,r=e.parentChannel,a=e.isLurking;(0,i.default)(null!=n,"Missing channel in Channel.renderHeaderToolbar");var o=[];if(n.isSystemDM())return o;switch(n.type){case Ne.ChannelTypes.GUILD_STAGE_VOICE:case Ne.ChannelTypes.GUILD_VOICE:return o;case Ne.ChannelTypes.DM:o.push(t.renderStreamQualityLiveIndicatorToolbarItem()),o.push(je(Te.default,{channel:n},"calls")),o.push(je(Se.default,{channel:n},"pins")),o.push(je(Ce.default,{channel:n,tooltip:Ae.default.Messages.GROUP_DM_ADD_FRIENDS},"invite"));break;case Ne.ChannelTypes.GROUP_DM:if(o.push(t.renderStreamQualityLiveIndicatorToolbarItem()),o.push(je(Te.default,{channel:n},"calls")),o.push(je(Se.default,{channel:n},"pins")),!n.isManaged()){var l=Ae.default.Messages.GROUP_DM_ADD_FRIENDS;o.push(je(Ce.default,{channel:n,tooltip:l},"invite"))}o.push(je(Ee.default,{channelId:n.id},"members"));break;case Ne.ChannelTypes.ANNOUNCEMENT_THREAD:case Ne.ChannelTypes.PRIVATE_THREAD:case Ne.ChannelTypes.PUBLIC_THREAD:null!=r&&o.push(je(D.default,{channel:r},"browser")),o.push(je(w.default,{channel:n},"notifications")),o.push(je(Se.default,{channel:n},"pins")),n.isArchivedThread()||o.push(je(Ee.default,{channelId:n.id},"members")),o.push(je(j.default,{channel:n},"threads-overflow"));break;case Ne.ChannelTypes.GUILD_ANNOUNCEMENT:case Ne.ChannelTypes.GUILD_TEXT:o.push(je(D.default,{channel:n},"browser")),a||o.push(je(ge.default,{channel:n},"mute")),o.push(je(Se.default,{channel:n},"pins")),o.push(je(Ee.default,{channelId:n.id},"members"));break;case Ne.ChannelTypes.GUILD_DIRECTORY:o.push(je(Ee.default,{channelId:n.id},"members"))}return o},t.renderFollowButton=function(){var e=t.props,n=e.showFollowButton,r=e.channel;return n?je(ie.default,{size:ie.default.Sizes.MIN,color:ie.default.Colors.PRIMARY,className:Pe.default.followButton,onClick:function(){return(0,ue.openModal)((function(e){return a.createElement(be.default,we({channel:r},e))}))}},void 0,Ae.default.Messages.FOLLOW):null},t.renderHeaderBar=function(){var e=t.props,n=e.channel,r=e.channelName,a=e.parentChannel,l=e.guild,u=e.guildId,s=e.isGuest,d=e.hasCall,f=e.hasVideo,c=e.isMobile,p=e.inCall;return(0,i.default)(null!=n,"Missing channel in Channel.renderHeaderBar"),(0,i.default)(null!=r,"Should not be null if channel is not null."),je(Oe.default,{guildId:u,channelId:n.id,hideSearch:n.isDirectory(),toolbar:t.renderHeaderToolbar(),className:(0,o.default)(Pe.default.title,f&&p?(0,fe.getThemeClass)(Ne.ThemeTypes.DARK):null),isGuest:s,transparent:d,"aria-label":Ae.default.Messages.CHANNEL_HEADER_BAR_A11Y_LABEL},"header-"+n.id,(0,Ie.renderTitle)({channel:n,channelName:r,parentChannel:a,guild:l,hasVideo:f,isMobile:c,handleContextMenu:t.handleContextMenu,handleParentContextMenu:t.handleParentContextMenu,handleClick:t.handleTitleClick,handleParentClick:t.handleTitleParentClick,renderFollowButton:t.renderFollowButton}),(0,Ie.renderTopic)(n,l))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,ke(t,n);var s=r.prototype;return s.componentDidMount=function(){(0,U.trackAppUIViewed)("guild_channel")},s.componentDidUpdate=function(e){this.props.channel&&e.channel&&this.props.channel.id!==e.channel.id&&this.state.topicExpanded&&this.setState({topicExpanded:!1})},s.openUserProfile=function(){var e=this.props.channel;(0,i.default)(null!=e,"Missing channel in Channel.openUserProfile"),(0,F.openUserProfileModal)({userId:e.getRecipientId(),guildId:e.guild_id||void 0})},s.openChannelContextMenu=function(e,t){var n=this.props.guild;(0,i.default)(null!=t,"Missing channel in Channel.openChannelContextMenu"),(0,i.default)(null!=n,"Missing guild in Channel.openChannelContextMenu"),(0,d.openContextMenu)(e,(function(e){return a.createElement(h.default,we({},e,{channel:t,guild:n}))}))},s.openThreadContextMenu=function(e,t){(0,i.default)(null!=t,"Missing channel in Channel.openChannelContextMenu"),(0,d.openContextMenu)(e,(function(e){return a.createElement(_.default,we({},e,{channel:t}))}))},s.openDMContextMenu=function(e,t){(0,i.default)(null!=t,"Missing channel in Channel.openDMContextMenu");var n=ae.default.getUser(t.getRecipientId());(0,i.default)(null!=n,"Missing user in Channel.openDMContextMenu"),(0,d.openContextMenu)(e,(function(e){return a.createElement(G.default,we({},e,{user:n,channelSelected:!0,channel:t}))}))},s.renderCall=function(){var e=this.props,t=e.channel,n=e.hasCall;if((0,i.default)(null!=t,"Missing channel in Channel.renderCall"),!n)return null;switch(t.type){case Ne.ChannelTypes.GUILD_STAGE_VOICE:return je(R.default,{channel:t},t.id);case Ne.ChannelTypes.GUILD_VOICE:case Ne.ChannelTypes.DM:case Ne.ChannelTypes.GROUP_DM:return je(y.default,{channel:t,renderExternalHeader:this.renderHeaderBar,appContext:Ne.AppContext.APP},"call-"+t.id);default:return null}},s.renderChat=function(){var e=this.props,t=e.channel,n=e.nsfwAgree,r=e.guild,a=e.nsfwAllowed;return(0,i.default)(null!=t,"Missing channel in Channel.renderChat"),t.isVocal()?null:t.isDirectory()?((0,i.default)(null!=r,"directory channels must exist within a guild"),je(E.default,{channel:t,guild:r})):!t.isNSFW()||a&&n?je(ce.default,{channel:t,guild:r,renderThreadNotice:t.isThread()},null!=r?r.id:"home"):je(Me.default,{guild:r})},s.renderSidebar=function(){var e=this.props,t=e.searchId,n=e.channel,r=e.parentChannel,a=e.guild,o=e.section;if((0,i.default)(null!=n,"Missing channel in Channel.renderSidebar"),o===Ne.ChannelSections.MEMBERS)switch(n.type){case Ne.ChannelTypes.GROUP_DM:return je(me.default,{channel:n},"private-channel-recipients-"+n.id);case Ne.ChannelTypes.GUILD_DIRECTORY:case Ne.ChannelTypes.GUILD_ANNOUNCEMENT:case Ne.ChannelTypes.GUILD_TEXT:return je(pe.default,{channel:n},"channel-members-"+n.id);case Ne.ChannelTypes.ANNOUNCEMENT_THREAD:if(null!=r)return je(pe.default,{channel:r},"channel-members-"+r.id);break;case Ne.ChannelTypes.PUBLIC_THREAD:case Ne.ChannelTypes.PRIVATE_THREAD:if(!n.isArchivedThread()&&null!=a)return je(_e.default,{channel:n,guild:a},"channel-members-"+n.id)}else if(o===Ne.ChannelSections.SEARCH&&null!=t)return je(N.default,{searchId:t});return null},s.renderChannelModal=function(){var e=this.props,t=e.guildId,n=e.showWelcomeModal,r=e.isLurking,o=e.showRealNameModal;if(null==t)return null;if(o){var i=function(){return O.default.viewPrompt(S.GuildPrompts.REAL_NAME_PROMPT,t)};return je(le.default,{onCloseRequest:i,renderModal:function(e){return a.createElement(T.default,we({},e,{guildId:t,onClose:i}))}})}return n?je(le.default,{renderModal:function(e){return a.createElement(x.default,we({},e,{guildId:t,onClose:function(){return B.default.welcomeScreenViewed(t,r)}}))}}):null},s.renderThreadSidebar=function(){var e,t=this.props,n=t.channel,r=t.section,a=t.threadSidebarState,o=t.nsfwAgree,i=t.nsfwAllowed;if(r!==Ne.ChannelSections.THREAD||null==a)return null;if((null==n?void 0:n.isNSFW())&&(!i||!o))return null;switch(a.type){case Y.ThreadSidebarType.CREATE:e=je(L.default,{parentChannelId:a.parentChannelId,parentMessageId:a.parentMessageId});break;case Y.ThreadSidebarType.VIEW:e=je(k.default,{channelId:a.channelId});break;default:(0,de.assertNever)(a)}return je("div",{className:Pe.default.threadSidebar},void 0,e)},s.render=function(){var e,t,n=this.props,r=n.channel,s=n.channelName,d=n.hasCall,f=n.inCall,c=n.voiceChannel,p=n.isUnavailable,v=n.hasModalOpen,y=n.layout,m=n.section,_=n.hideDirectoryChannels;if(p)return Ge;if(null==r)return je(ye.default,{channelId:this.props.channelId});if((null==r?void 0:r.isVocal())&&!f){var h=r.getGuildId(),E=null==c?void 0:c.getGuildId();return(0,i.default)(null!=h,"Guild voice channel without guild id."),(null==c?void 0:c.isVocal())&&E===h&&r.id!==(null==c?void 0:c.id)?je(u.Redirect,{to:Ne.Routes.CHANNEL(h,c.id)}):je(u.Redirect,{to:Ue(h)})}if((null==r?void 0:r.isDirectory())&&_){var g=r.getGuildId();return(0,i.default)(null!=g,"Directory channel without guild id."),je(u.Redirect,{to:Ue(g)})}return a.createElement(a.Fragment,null,je(l.Helmet,{title:s}),je("div",{className:(0,o.default)(Pe.default.chat,(e={},e[Pe.default.threadSidebarOpen]=m===Ne.ChannelSections.THREAD,e))},void 0,je(he.default,{className:Pe.default.uploadArea,channel:r,draftType:K.DraftType.ChannelMessage}),d?null:this.renderHeaderBar(),this.renderCall(),je("div",{className:(0,o.default)(Pe.default.content,(t={},t[Pe.default.noChat]=y===Ne.ChannelLayouts.NO_CHAT,t))},void 0,this.renderChat(),this.renderSidebar()),v?null:this.renderChannelModal()),this.renderThreadSidebar())},r}(a.PureComponent);Fe.displayName="Channel";var Be=a.memo((function(){var e=a.useState(null),t=e[0],n=e[1],r=(0,s.useStateFromStores)([ne.default],(function(){return ne.default.getChannelId()})),o=(0,s.useStateFromStores)([ne.default],(function(){return ne.default.getVoiceChannelId()})),i=(0,s.useStateFromStores)([re.default],(function(){return re.default.getGuildId()})),l=(0,s.useStateFromStores)([v.default],(function(){return null!=r&&v.default.getParticipants(r).length>0}),[r]),d=(0,s.useStateFromStores)([z.default],(function(){return z.default.getChannel(r)}),[r]),p=(0,s.useStateFromStores)([z.default],(function(){return z.default.getChannel(o)}),[o]),y=null==d?void 0:d.parent_id,_=(0,s.useStateFromStores)([z.default],(function(){return z.default.getChannel(y)}),[y]),h=(0,s.useStateFromStores)([J.default],(function(){return J.default.getGuild(i)}),[i]),E=(0,u.useLocation)().welcomeModalChannelId,g=(0,s.useStateFromStores)([b.default],(function(){return null!=i&&b.default.isLurking(i)}),[i]),O=(0,s.useStateFromStores)([H.default],(function(){return H.default.hasSeen(i,g)}),[g,i]),T=(0,s.useStateFromStores)([v.default],(function(){return null!=r?v.default.getLayout(r):Ne.ChannelLayouts.NORMAL}),[r]),N=(0,s.useStateFromStores)([v.default],(function(){return null!=d?v.default.getSelectedParticipant(d.id):null})),R=(0,s.useStateFromStores)([I.default],(function(){return(null==h?void 0:h.hasFeature(Ne.GuildFeatures.HUB))?I.default.hasViewedPrompt(S.GuildPrompts.REAL_NAME_PROMPT,h.id):null}),[h]),L=(0,s.useStateFromStores)([ae.default],(function(){return ae.default.getNullableCurrentUser()})),D=(0,s.useStateFromStores)([q.default],(function(){return null!=(null==h?void 0:h.id)&&null!=L?q.default.getMember(null==h?void 0:h.id,L.id):null})),w=!1===R&&null!=D&&null==D.nick,j=E===r&&null!=d&&d.getGuildId()===(null==h?void 0:h.id)&&(0,V.isGuildTextChannelType)(d.type)&&(null==h?void 0:h.hasFeature(Ne.GuildFeatures.WELCOME_SCREEN_ENABLED))&&(null==h?void 0:h.hasFeature(Ne.GuildFeatures.COMMUNITY)),k=c.default.useExperiment({})[0].allowCustomHubUI,U=(0,s.useStateFromStoresObject)([Y.default],(function(){return{section:Y.default.getSection(r),threadSidebarState:Y.default.getThreadSidebarState(r)}})),G=U.section,F=U.threadSidebarState,B=(0,m.default)(d),x=null!=d&&o===d.id,K=null!=d&&d.isGuildStageVoice();return(0,f.useDMTrialExperimentTrigger)(d),a.useEffect((function(){var e,t=(0,M.getHistory)();if((null==t||null===(e=t.location)||void 0===e?void 0:e.state)===P.STAGE_INVITE_STATE_KEY){var r,a=((0,C.tryParseChannelPath)(null==t||null===(r=t.location)||void 0===r?void 0:r.pathname)||{}).channelId;null!=a&&n(a)}}),[]),a.useEffect((function(){t&&null!=d&&K&&d.id===t&&!x&&((0,A.connectAndOpen)(d),n(null))}),[t,K]),a.createElement(Fe,we({guildId:i,channelId:r,channel:d,channelName:B,parentChannel:_,voiceChannel:p,layout:T,isLurking:g,hasModalOpen:(0,s.useStateFromStores)([Q.default],(function(){return Q.default.hasModalOpen()})),section:G,threadSidebarState:F,guild:h,searchId:(0,s.useStateFromStores)([te.default],(function(){return te.default.getCurrentSearchId()})),hasCall:l,nsfwAgree:(0,s.useStateFromStores)([X.default],(function(){return X.default.didAgree(i)})),isMobile:(0,s.useStateFromStores)([ee.default],(function(){return(null==d?void 0:d.type)===Ne.ChannelTypes.DM&&ee.default.isMobileOnline(d.getRecipientId())}),[d]),isGuest:(0,s.useStateFromStores)([W.default],(function(){return W.default.isGuest()})),isUnavailable:(0,s.useStateFromStores)([$.default],(function(){return null!=i&&$.default.isUnavailable(i)}),[i]),showRealNameModal:w,showWelcomeModal:!O&&j,showFollowButton:(null==d?void 0:d.type)===Ne.ChannelTypes.GUILD_ANNOUNCEMENT&&(null==h?void 0:h.hasFeature(Ne.GuildFeatures.NEWS))||!1},(0,s.useStateFromStoresObject)([oe.default],(function(){return{hasVideo:null!=d&&oe.default.hasVideo(d.id)}}),[d]),{inCall:x,selectedParticipant:N,nsfwAllowed:!0===(null==L?void 0:L.nsfwAllowed),hideDirectoryChannels:!k}))}));t.default=Be},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDMTrialExperimentTrigger=function(e){var t,n=(0,a.useStateFromStores)([l.default],(function(){return l.default.getId()})),o=null==e?void 0:e.id,d=null!=e&&e.type===s.ChannelTypes.DM&&!e.isSystemDM(),f=null==e||null===(t=e.recipients)||void 0===t?void 0:t.find((function(e){return e!==n}));r.useEffect((function(){if(null!=o&&d){p.trackExposure({guildId:o});var e=i.ExperimentStore.getGuildExperimentDescriptor(c,o);null!=e&&u.default.track(s.AnalyticEvents.EXPERIMENT_DM_TRIGGERED,{name:c,revision:e.revision,bucket:e.bucket,other_user_id:f,channel_id:o,channel_type:s.ChannelTypes.DM})}}),[o,d,f])};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(3),o=n(50),i=n(1148),l=d(n(11)),u=d(n(13)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}var c="2021-06_dm_experiment_test",p=(0,o.createExperiment)({kind:"guild",id:c,label:"DM experiment A/A",defaultConfig:{doNothing:!1},treatments:[{id:1,label:"This treatment does nothing, it's just for bucketing",config:{doNothing:!0}}]})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=g(n(0)),o=n(3),i=h(n(151)),l=n(41),u=g(n(9022)),s=h(n(10386)),d=h(n(10387)),f=n(9953),c=h(n(10385)),p=h(n(11353)),v=h(n(11356)),y=h(n(11361)),m=n(1),_=h(n(7404));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(){return(O=Object.assign||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}).apply(this,arguments)}var I=function(e){var t=e.channel,n=e.guild,r=(0,o.useStateFromStores)([d.default],(function(){return d.default.getDirectoryEntries(t.id)})),h=a.useMemo((function(){return null!=r?(0,f.orderGuildEntries)(Object.values(r)):null}),[r]),E=(0,o.useStateFromStoresObject)([s.default],(function(){var e=s.default.getSearchState(t.id),n=e.mostRecentQuery;return{mostRecentQuery:n,searchFetching:e.fetching,searchResults:s.default.getSearchResults(t.id,n)}})),g=E.mostRecentQuery,I=E.searchFetching,T=E.searchResults,C=a.useState(g),b=C[0],M=C[1],N=""!==g;a.useEffect((function(){u.fetchDirectoryEntries(t.id),M(g)}),[t.id]);var A=function(){(0,l.openModal)((function(e){return a.createElement(c.default,O({},e,{directoryGuildName:n.name,directoryGuildId:n.id,directoryChannelId:t.id}))}))},P=function(e){0!==b.trim().length&&e.charCode===m.KeyboardKeys.ENTER&&u.searchDirectoryEntries(t.id,b)},R=function(){M(""),u.clearDirectorySearch(t.id)};return N?S(y.default,{searchQuery:b,setSearchQuery:M,mostRecentQuery:g,handleSearchKeyPress:P,handleClearSearch:R,handleCreateOrAddGuild:A,searchResults:T,searchFetching:I}):null==h?S("div",{className:_.default.pageContainer},void 0,S(i.default,{className:_.default.spinner})):0===(null==h?void 0:h.length)?S("div",{className:_.default.pageContainer},void 0,S(p.default,{guild:n,onAddGuild:A})):S(v.default,{searchQuery:b,setSearchQuery:M,handleSearchKeyPress:P,handleClearSearch:R,handleCreateOrAddGuild:A,directoryEntries:h})};I.displayName="GuildDirectory";var T=I;t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(8283)),i=n(9218),l=n(41),u=p(n(47)),s=p(n(24)),d=n(1),f=p(n(6)),c=p(n(8079));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(){return(m=Object.assign||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}).apply(this,arguments)}var _=function(e){var t=e.guild,r=e.onAddGuild,p=a.useCallback((function(){(0,l.openModal)((function(e){return a.createElement(o.default,m({},e,{guild:t,source:d.InstantInviteSources.HUB_DIRECTORY,analyticsLocation:{section:d.AnalyticsSections.HUB_WELCOME_CTA}}))}))}),[t]);return y("div",{className:c.default.emptyWrapper},void 0,y("img",{className:c.default.emptyImage,alt:"",src:n(11354)}),y(u.default,{className:c.default.emptyTitle,size:u.default.Sizes.SIZE_24},void 0,f.default.Messages.HUB_DIRECTORY_CHANNEL_EMPTY_TITLE.format({guildName:t.name})),y(s.default,{size:s.default.Sizes.SIZE_16,className:c.default.emptySubtitle},void 0,f.default.Messages.HUB_DIRECTORY_CHANNEL_EMPTY_SUBTITLE),y(i.WelcomeMessageCTA,{className:c.default.emptyCTA,iconUrl:n(11355),header:f.default.Messages.HUB_DIRECTORY_CHANNEL_EMPTY_ADD_SERVER,completed:!1,onClick:r}),y(i.WelcomeMessageCTA,{className:c.default.emptyCTA,iconUrl:n(9219),header:f.default.Messages.HUB_DIRECTORY_CHANNEL_EMPTY_INVITE,completed:!1,onClick:p}))};_.displayName="DirectoryEmptyState";var h=_;t.default=h},function(e,t,n){e.exports=n.p+"564f89ce267784e7065850b19b8c1f82.svg"},function(e,t,n){e.exports=n.p+"97a01639f524362a4501c5371088575f.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;y(n(0));var r,a=p(n(10072)),o=p(n(47)),i=p(n(24)),l=n(272),u=y(n(10452)),s=p(n(6)),d=p(n(7404)),f=p(n(8082)),c=p(n(11360));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var _=function(e){var t=e.directoryEntries,n=e.handleCreateOrAddGuild,r=e.searchQuery,p=e.setSearchQuery,v=e.handleClearSearch,y=e.handleSearchKeyPress;return m("div",{className:d.default.pageContainer},void 0,m(l.ScrollerAuto,{className:d.default.scroller},void 0,m("div",{className:f.default.header},void 0,m("img",{alt:"",className:f.default.headerImage,src:c.default}),m("div",{className:f.default.headerContentWrapper},void 0,m("div",{className:f.default.headerContent},void 0,m(o.default,{size:o.default.Sizes.SIZE_24,className:f.default.searchTitle},void 0,s.default.Messages.HUB_DIRECTORY_SEARCH_TITLE),m(i.default,{size:i.default.Sizes.SIZE_16,className:f.default.searchSubtitle},void 0,s.default.Messages.HUB_DIRECTORY_SEARCH_SUBTITLE),m(a.default,{searchTerm:r,className:f.default.searchBox,inputClassName:f.default.searchBoxInput,closeIconClassName:f.default.closeIcon,searchIconClassName:f.default.searchIcon,label:s.default.Messages.DIRECTORY_SEARCH_PLACEHOLDER,placeholder:s.default.Messages.DIRECTORY_SEARCH_PLACEHOLDER,onChange:p,onClear:v,onKeyPress:y,cta:null!=r&&r.length>0?s.default.Messages.GUILD_DISCOVERY_SEARCH_ENTER_CTA:null})))),m("div",{className:d.default.cardsContainer},void 0,t.map((function(e){return m(u.default,{entry:e},e.guildId)})),m(u.AddEntryCard,{onClick:n}))))};_.displayName="GuildDirectoryLanding";var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=T;var r,a=S(n(0)),o=n(3),i=n(389),l=E(n(8258)),u=S(n(8253)),s=n(8256),d=E(n(15)),f=E(n(40)),c=E(n(466)),p=n(41),v=E(n(24)),y=S(n(9022)),m=E(n(11358)),_=n(1),h=E(n(6));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function O(){return(O=Object.assign||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}).apply(this,arguments)}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(e){var t=e.entry,n=e.onSelect,r=e.closePopout,E=(0,o.useStateFromStores)([d.default],(function(){return d.default.getGuild(t.guildId)})),g=(0,o.useStateFromStores)([f.default],(function(){return null!=E&&f.default.can(_.Permissions.ADMINISTRATOR,E)})),S=(0,l.default)(t.guildId,void 0,void 0,r);a.useEffect((function(){g||null!=S||(0,i.closeContextMenu)()}));var T=function(){y.removeDirectoryGuildEntry(t.channelId,t.guildId)};return I(u.default,{navId:"guild-entry-context",onClose:i.closeContextMenu,"aria-label":h.default.Messages.GUILD_ACTIONS_MENU_LABEL,onSelect:n},void 0,I(u.MenuGroup,{},void 0,g&&a.createElement(a.Fragment,null,I(u.MenuItem,{id:"update-entry",label:h.default.Messages.HUB_ENTRY_UPDATE,action:function(){null!=E&&(0,p.openModal)((function(e){return a.createElement(m.default,O({},e,{guild:E,entry:t}))})),(0,i.closeContextMenu)(),null==r||r()}}),I(u.MenuItem,{id:"remove-from-hub",label:h.default.Messages.HUB_ENTRY_REMOVE,action:function(){null!=E&&(0,p.openModal)((function(e){return a.createElement(c.default,O({header:h.default.Messages.HUB_ENTRY_REMOVE,confirmText:h.default.Messages.REMOVE,cancelText:h.default.Messages.CANCEL,onConfirm:T},e),I(v.default,{size:v.default.Sizes.SIZE_16},void 0,h.default.Messages.HUB_ENTRY_REMOVE_BODY.format({guildName:E.name})))}))},color:s.MenuItemColor.DANGER}))),I(u.MenuGroup,{},void 0,S))}T.displayName="GuildDirectoryEntryContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(29)),i=y(n(55)),l=y(n(8272)),u=n(131),s=n(35),d=y(n(47)),f=y(n(24)),c=n(9022),p=y(n(6)),v=y(n(7361));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function E(e){var t=e.transitionState,n=e.onClose,r=e.entry,y=e.guild,m=a.useState(""),E=m[0],g=m[1],S=a.useState(!1),O=S[0],I=S[1],T=function(){var e,t=(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(E===r.description){e.next=5;break}return I(!0),e.next=4,(0,c.updateDirectoryEntry)(r.channelId,r.guildId,E);case 4:I(!1);case 5:n();case 6:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){h(o,r,a,i,l,"next",e)}function l(e){h(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();return _(s.ModalRoot,{transitionState:t,"aria-label":p.default.Messages.PAYMENT_SOURCES_ADD},void 0,_(s.ModalHeader,{direction:i.default.Direction.VERTICAL,className:v.default.header,separator:!1},void 0,_(d.default,{className:v.default.title,size:d.default.Sizes.SIZE_24},void 0,p.default.Messages.HUB_ENTRY_UPDATE_DESCRIPTION_TITLE.format({guildName:y.name})),_(f.default,{className:v.default.subtitle,color:f.default.Colors.HEADER_SECONDARY,size:f.default.Sizes.SIZE_16},void 0,p.default.Messages.HUB_ADD_GUILD_DESCRIPTION_HELP),n&&_(s.ModalCloseButton,{className:v.default.closeButton,onClick:n})),_(s.ModalContent,{className:v.default.createGuild,paddingFix:!1},void 0,_(u.FormItem,{title:p.default.Messages.HUB_ADD_GUILD_DESCRIPTION_TITLE},void 0,_(l.default,{value:E,maxLength:200,placeholder:p.default.Messages.HUB_ADD_GUILD_DESCRIPTION_PLACEHOLDER,onChange:g}))),_(s.ModalFooter,{justify:i.default.Justify.BETWEEN},void 0,_(o.default,{color:o.default.Colors.BRAND,onClick:T,submitting:O},void 0,p.default.Messages.SAVE)))}E.displayName="UpdateEntryDescriptionModal"},function(e,t,n){e.exports=n.p+"eb9842c47d195485bf4a9da19fe4d89a.svg"},function(e,t,n){e.exports=n.p+"d5855245c19ceeab8d982420cc80746a.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=_(n(271)),o=_(n(61)),i=_(n(10072)),l=_(n(151)),u=_(n(8354)),s=_(n(47)),d=_(n(24)),f=n(272),c=_(n(10452)),p=_(n(6)),v=_(n(7404)),y=_(n(8083)),m=_(n(11362));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var g=function(e){var t,n=e.searchQuery,r=e.setSearchQuery,_=e.mostRecentQuery,h=e.handleClearSearch,g=e.handleSearchKeyPress,S=e.handleCreateOrAddGuild,O=e.searchResults;return t=e.searchFetching?E("div",{className:v.default.pageContainer},void 0,E(l.default,{className:v.default.spinner})):0===O.length?E("div",{className:y.default.emptySearchWrapper},void 0,E("img",{className:y.default.emptySearchImage,alt:"",src:m.default}),E(s.default,{size:s.default.Sizes.SIZE_24,color:d.default.Colors.HEADER_PRIMARY,className:y.default.emptySearchTitle},void 0,p.default.Messages.DIRECTORY_SEARCH_NO_RESULTS_TITLE),E(d.default,{size:d.default.Sizes.SIZE_16,color:d.default.Colors.HEADER_SECONDARY,className:y.default.emptySearchSubtitle},void 0,p.default.Messages.DIRECTORY_SEARCH_NO_RESULTS_SUBTITLE.format({addServerHook:function(e,t){return E(a.default,{onClick:S},t,e)}}))):E("div",{className:v.default.cardsContainer},void 0,O.map((function(e){return E(c.default,{entry:e},e.guildId)}))),E("div",{className:v.default.pageContainer},void 0,E(f.ScrollerAuto,{className:v.default.scroller},void 0,E("div",{className:y.default.searchHeader},void 0,E("div",{className:y.default.headerTitleWrapper},void 0,E(o.default,{onClick:h,className:y.default.arrow},void 0,E(u.default,{direction:u.default.Directions.LEFT})),E(s.default,{size:s.default.Sizes.SIZE_24,className:y.default.searchPageTitle},void 0,p.default.Messages.DIRECTORY_SEARCH_RESULTS_HEADER.format({numResults:O.length,query:_}))),E(i.default,{searchTerm:n,className:y.default.searchPageBox,inputClassName:y.default.searchPageInput,label:p.default.Messages.DIRECTORY_SEARCH_PLACEHOLDER,placeholder:p.default.Messages.DIRECTORY_SEARCH_PLACEHOLDER,onChange:r,onClear:h,onKeyPress:g,cta:null!=n&&n.length>0?p.default.Messages.GUILD_DISCOVERY_SEARCH_ENTER_CTA:null})),t))};g.displayName="GuildDirectorySearchResults";var S=g;t.default=S},function(e,t,n){e.exports=n.p+"0c0f8ab5cbb8cfa21ffd253e45ab8654.svg"},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.GuildPrompts=void 0;var a=(0,((r=n(133))&&r.__esModule?r:{default:r}).default)({REAL_NAME_PROMPT:null});t.GuildPrompts=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.viewPrompt=i,t.default=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);function i(e,t){a.default.wait((function(){a.default.dispatch({type:o.ActionTypes.GUILD_PROMPT_VIEWED,prompt:e,guildId:t})}))}var l={viewPrompt:i};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l={};var u=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var a=r.prototype;return a.initialize=function(e){for(var t in e){var n=e[t];l[t]=new Set(n)}},a.hasViewedPrompt=function(e,t){var n=l[t];return!!n&&!!n.has(e)},a.getState=function(){return l},r}(r.default.PersistedStore);u.persistKey="GuildPromptsStore";var s=new u(a.default,{OVERLAY_INITIALIZE:function(e){var t=e.viewedPrompts;for(var n in t){var r=t[n];l[n]=new Set(r)}},GUILD_PROMPT_VIEWED:function(e){var t=e.prompt,n=e.guildId,r=l[n];return r?!r.has(t)&&(r.add(t),!0):(l[n]=new Set,l[n].add(t),!0)},GUILD_DELETE:function(e){var t=e.guild;return null!=l[t.id]&&!t.unavailable&&(delete l[t.id],!0)}});t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=I;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=E(n(14)),l=n(275),u=E(n(15)),s=E(n(29)),d=E(n(55)),f=E(n(153)),c=n(131),p=n(35),v=E(n(47)),y=E(n(24)),m=n(1),_=E(n(6)),h=E(n(8084));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function I(e){var t=e.guildId,n=(0,o.useStateFromStores)([u.default],(function(){return u.default.getGuild(t)})),r=a.useState(null),E=r[0],g=r[1],I=a.useState(""),T=I[0],C=I[1],b=function(){var t,n=(t=regeneratorRuntime.mark((function t(n){var r,a,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.onClose,a=e.guildId,n.preventDefault(),g(null),o={nick:T},t.prev=4,t.next=7,i.default.patch({url:m.Endpoints.SET_GUILD_MEMBER(a),body:o});case 7:r&&r(),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(4),g(new l.APIError(t.t0));case 13:case"end":return t.stop()}}),t,null,[[4,10]])})),function(){var e=this,n=arguments;return new Promise((function(r,a){var o=t.apply(e,n);function i(e){O(o,r,a,i,l,"next",e)}function l(e){O(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(e){return n.apply(this,arguments)}}(),M=e.transitionState;return S(p.ModalRoot,{className:h.default.modalRoot,transitionState:M,"aria-label":_.default.Messages.HUB_REAL_NAME_MODAL_HEADER.format({guildName:null==n?void 0:n.name})},void 0,S(p.ModalHeader,{separator:!1,className:h.default.formHeaderContainer,direction:d.default.Direction.VERTICAL},void 0,S("div",{className:h.default.formImage}),S(v.default,{size:v.default.Sizes.SIZE_24,className:h.default.formHeader},void 0,_.default.Messages.HUB_REAL_NAME_MODAL_HEADER.format({guildName:null==n?void 0:n.name})),S(y.default,{color:y.default.Colors.HEADER_SECONDARY,size:y.default.Sizes.SIZE_14,className:h.default.formSubHeader},void 0,_.default.Messages.HUB_REAL_NAME_MODAL_SUBHEADER)),S("form",{className:h.default.formContent,onSubmit:b},void 0,S(p.ModalContent,{},void 0,S(c.FormItem,{title:_.default.Messages.HUB_REAL_NAME_MODAL_FORM_TITLE},void 0,S(f.default,{placeholder:_.default.Messages.HUB_REAL_NAME_MODAL_FORM_PLACEHOLDER,onChange:function(e){C(e)},error:null==E?void 0:E.getFirstFieldErrorMessage("name"),value:T}))),S(p.ModalFooter,{className:h.default.formFooter,direction:d.default.Direction.VERTICAL},void 0,S(s.default,{type:"submit",size:s.default.Sizes.LARGE,color:s.default.Colors.BRAND},void 0,_.default.Messages.HUB_REAL_NAME_CTA))))}I.displayName="HubRealNameModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=w;var r,a=C(n(0)),o=I(n(9)),i=I(n(8)),l=n(3),u=I(n(1211)),s=C(n(8699)),d=I(n(106)),f=I(n(1241)),c=I(n(36)),p=I(n(39)),v=I(n(11368)),y=I(n(468)),m=n(121),_=I(n(11369)),h=I(n(11372)),E=I(n(11373)),g=n(1),S=I(n(6)),O=I(n(8090));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function b(){return(b=Object.assign||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}).apply(this,arguments)}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,A(e,t)}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var P=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).autoAnalytics=function(e){if(void 0===e&&(e=null),null!=t.props.searchAnalyticsId){var n=0,r=0,a=0,o=0;t.props.searchResults&&(0,i.default)(t.props.searchResults).flatten().filter((function(e){return e.isSearchHit})).forEach((function(e){e.content&&(n++,/https?:\/\/[^\s]+/.test(e.content)&&o++),e.embeds&&e.embeds.length&&a++,e.attachments&&e.attachments.length&&r++})),d.default.trackWithMetadata(g.AnalyticEvents.SEARCH_RESULT_VIEWED,{search_type:t.props.searchType,search_id:t.props.searchAnalyticsId,prev_search_id:e!==t.props.searchAnalyticsId?e:null,is_error:t.props.searchHasError,limit:t.props.searchLimit,offset:t.props.searchOffset,page:Math.floor(t.props.searchOffset/t.props.searchLimit)+1,total_results:t.props.searchTotalResults,page_results:t.props.searchResults?t.props.searchResults.length:null,is_indexing:t.props.searchIsIndexing,page_num_messages:n,page_num_links:o,page_num_embeds:a,page_num_attach:r})}},t}N(t,e);var n=t.prototype;return n.componentDidMount=function(){this.autoAnalytics()},n.componentDidUpdate=function(e){this.props.searchAnalyticsId===e.searchAnalyticsId&&this.props.searchOffset===e.searchOffset||this.autoAnalytics(e.searchAnalyticsId)},n.render=function(){return null},t}(a.Component);P.displayName="SearchResultsViewedAutoAnalytics";var R=function(e){var t=e.children;return M("div",{className:O.default.emptyResultsWrap},void 0,M("div",{className:O.default.emptyResultsContent},void 0,t))};R.displayName="EmptyResults";var L=M(v.default,{}),D=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={searchMode:g.SearchModes.NEWEST},t.scrollerRef=a.createRef(),t.scrollTo=function(e,n,r){var a=t.scrollerRef.current;if(a){var o=a.getScrollerState().scrollTop-e;a.scrollTo({to:o,animate:n,callback:r})}},t.selectChannel=function(e){e!==c.default.getChannelId()&&u.default.transitionToInviteChannelSync(e)},t.searchPrevious=function(){var e=t.props,n=e.searchId;e.search.isSearching||s.searchPreviousPage(n)},t.searchNext=function(){var e=t.props,n=e.searchId;e.search.isSearching||s.searchNextPage(n)},t.handleSearchResultsClose=function(){var e=t.props.searchId;s.clearSearchState(e)},t.searchByMode=function(e){var n=t.props,r=n.searchId,a=n.search.isSearching;e===t.state.searchMode||a||(d.default.trackWithMetadata(g.AnalyticEvents.SEARCH_RESULT_SORT_CHANGED,{search_id:f.default.getAnalyticsId(r),new_sort_type:e}),s.searchByMode(r,e),t.setState({searchMode:e}))},t.toggleShowBlockedMessages=function(){var e=t.props,n=e.searchId,r=e.search.showBlockedResults;s.setShowBlockedResults(n,!r)},t.renderHeader=function(){var e=t.state.searchMode,n=t.props.search,r=n.totalResults,a=n.isSearching,o=n.isHistoricalIndexing,i=n.documentsIndexed;return M(h.default,{searchMode:e,searchByMode:t.searchByMode,totalResults:r,isSearching:a,isIndexing:o,documentsIndexed:i})},t.renderIndexing=function(){var e=f.default.getSearchType(t.props.searchId)===g.SearchTypes.GUILD?S.default.Messages.SEARCH_GUILD_STILL_INDEXING:S.default.Messages.SEARCH_DM_STILL_INDEXING;return M(R,{},void 0,L,M("div",{className:(O.default.emptyResultsText,O.default.stillIndexing)},void 0,e))},t.renderNoResults=function(){var e,n,r=t.props.search.showNoResultsAlt,a=r?S.default.Messages.SEARCH_NO_RESULTS_ALT:S.default.Messages.SEARCH_NO_RESULTS;return M(R,{},void 0,M("div",{className:(0,o.default)(O.default.noResultsImage,(e={},e[O.default.alt]=r,e))}),M("div",{className:(0,o.default)(O.default.emptyResultsText,O.default.noResults,(n={},n[O.default.alt]=r,n))},void 0,a))},t.renderError=function(){return M(R,{},void 0,M("div",{className:O.default.errorImage}),M("div",{className:(0,o.default)(O.default.emptyResultsText,O.default.errorMessage)},void 0,S.default.Messages.SEARCH_ERROR))},t.renderContent=function(){var e=t.props,n=e.searchResults,r=e.blockCount,a=t.props.search,o=a.totalResults,i=a.isSearching,l=a.isIndexing;return a.hasError?t.renderError():l?t.renderIndexing():i?null:o?M(E.default,{search:t.props.search,searchResults:n,blockCount:r,searchId:t.props.searchId,renderEmbeds:t.props.renderEmbeds,scrollTo:t.scrollTo}):t.renderNoResults()},t}N(t,e);var n=t.prototype;return n.componentDidMount=function(){m.ComponentDispatch.subscribe(g.ComponentActions.SEARCH_RESULTS_CLOSE,this.handleSearchResultsClose)},n.componentWillUnmount=function(){m.ComponentDispatch.unsubscribe(g.ComponentActions.SEARCH_RESULTS_CLOSE,this.handleSearchResultsClose)},n.componentDidUpdate=function(e){var t=e.search;if(this.props.search.showBlockedResults!==t.showBlockedResults){var n=this.scrollerRef.current;if(!n)return;n.scrollToBottom()}},n.render=function(){var e=this.props,t=e.searchAnalyticsId,n=e.searchType,r=e.searchResults,o=this.props.search,i=o.offset,l=o.hasError,u=o.totalResults,s=o.isHistoricalIndexing;return M("section",{className:O.default.searchResultsWrap,"aria-label":S.default.Messages.SEARCH_RESULTS_SECTION_LABEL},void 0,this.renderHeader(),a.createElement(y.default,{ref:this.scrollerRef,className:O.default.scroller},this.renderContent()),M(P,{searchType:n,searchAnalyticsId:t,searchResults:r,searchOffset:i,searchLimit:g.SEARCH_PAGE_SIZE,searchHasError:l,searchTotalResults:u,searchIsIndexing:s}))},t}(a.PureComponent);function w(e){var t=e.searchId;return a.createElement(D,b({searchId:t},(0,l.useStateFromStoresObject)([f.default],(function(){return{search:f.default.getResultsState(t),searchAnalyticsId:f.default.getAnalyticsId(t),searchType:f.default.getSearchType()}}),[t]),(0,_.default)(t),(0,l.useStateFromStoresObject)([p.default],(function(){return{renderEmbeds:p.default.renderEmbeds,developerMode:p.default.developerMode,theme:p.default.theme}}))))}D.displayName="SearchResults",w.displayName="ConnectedSearchResults"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(66)),i=u(n(273)),l=u(n(8085));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(e){return e.interpolate({inputRange:[0,1],outputRange:["0px","1px"]})};return{transform:[{translateX:t(e.x)},{translateY:t(e.y)}]}}var p=d("defs",{},void 0,d("rect",{id:"search-index-foreground-mask-a",width:"80",height:"80",rx:"40"})),v=d("g",{mask:"url(#search-index-foreground-mask-b)"},void 0,d("path",{fill:"#FFF",d:"M-7.1156 170.8361c0 10.68-8.658 19.338-19.339 19.338-10.68 0-19.338-8.658-19.338-19.338 0-10.68 8.658-19.338 19.338-19.338 10.681 0 19.339 8.658 19.339 19.338"}),d("path",{fill:"#FFF",d:"M-7.1156 170.8361c0 10.68-8.658 19.338-19.339 19.338-10.68 0-19.338-8.658-19.338-19.338 0-10.68 8.658-19.338 19.338-19.338 10.681 0 19.339 8.658 19.339 19.338"}),d("path",{fill:"#FFD773",d:"M-7.1156 170.8361c0 10.68-8.658 19.338-19.339 19.338-10.68 0-19.338-8.658-19.338-19.338 0-10.68 8.658-19.338 19.338-19.338 10.681 0 19.339 8.658 19.339 19.338"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M-7.1156 170.8361c0 10.68-8.658 19.338-19.339 19.338-10.68 0-19.338-8.658-19.338-19.338 0-10.68 8.658-19.338 19.338-19.338 10.681 0 19.339 8.658 19.339 19.338z",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M-15.0267 170.8361c0 6.311-5.116 11.427-11.428 11.427-6.31 0-11.426-5.116-11.426-11.427s5.116-11.427 11.426-11.427c6.312 0 11.428 5.116 11.428 11.427z",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{fill:"#FFF",d:"M6.9479 154.135c0 10.68-8.658 19.338-19.338 19.338-10.68 0-19.338-8.658-19.338-19.338 0-10.68 8.658-19.338 19.338-19.338 10.68 0 19.338 8.658 19.338 19.338"}),d("path",{fill:"#FFF",d:"M6.9479 154.135c0 10.68-8.658 19.338-19.338 19.338-10.68 0-19.338-8.658-19.338-19.338 0-10.68 8.658-19.338 19.338-19.338 10.68 0 19.338 8.658 19.338 19.338"}),d("path",{fill:"#FFD773",d:"M6.9479 154.135c0 10.68-8.658 19.338-19.338 19.338-10.68 0-19.338-8.658-19.338-19.338 0-10.68 8.658-19.338 19.338-19.338 10.68 0 19.338 8.658 19.338 19.338"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M6.9479 154.135c0 10.68-8.658 19.338-19.338 19.338-10.68 0-19.338-8.658-19.338-19.338 0-10.68 8.658-19.338 19.338-19.338 10.68 0 19.338 8.658 19.338 19.338z",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M-12.39 165.5622c-6.311 0-11.427-5.116-11.427-11.427s5.116-11.427 11.427-11.427 11.427 5.116 11.427 11.427c0 2.727-.955 5.231-2.55 7.196",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{fill:"#FFF",d:"M-4.4789 140.9499c0 10.68-8.658 19.338-19.338 19.338-10.681 0-19.338-8.658-19.338-19.338 0-10.68 8.657-19.338 19.338-19.338 10.68 0 19.338 8.658 19.338 19.338"}),d("path",{fill:"#FFF",d:"M-4.4789 140.9499c0 10.68-8.658 19.338-19.338 19.338-10.681 0-19.338-8.658-19.338-19.338 0-10.68 8.657-19.338 19.338-19.338 10.68 0 19.338 8.658 19.338 19.338"}),d("path",{fill:"#FFD773",d:"M-4.4789 140.9499c0 10.68-8.658 19.338-19.338 19.338-10.681 0-19.338-8.658-19.338-19.338 0-10.68 8.657-19.338 19.338-19.338 10.68 0 19.338 8.658 19.338 19.338"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M-4.4789 140.9499c0 10.68-8.658 19.338-19.338 19.338-10.681 0-19.338-8.658-19.338-19.338 0-10.68 8.657-19.338 19.338-19.338 10.68 0 19.338 8.658 19.338 19.338z",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M-23.8168 129.5232c6.311 0 11.427 5.116 11.427 11.427s-5.116 11.427-11.427 11.427c-6.312 0-11.427-5.116-11.427-11.427",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{fill:"#FFF",d:"M100.5348-15.3089c-10.639.941-20.026-6.919-20.968-17.558-.941-10.638 6.92-20.026 17.559-20.967 10.638-.942 20.025 6.919 20.967 17.558.941 10.638-6.919 20.026-17.558 20.967"}),d("path",{fill:"#FFF",d:"M100.5348-15.3089c-10.639.941-20.026-6.919-20.968-17.558-.941-10.638 6.92-20.026 17.559-20.967 10.638-.942 20.025 6.919 20.967 17.558.941 10.638-6.919 20.026-17.558 20.967"}),d("path",{fill:"#FFD773",d:"M100.5348-15.3089c-10.639.941-20.026-6.919-20.968-17.558-.941-10.638 6.92-20.026 17.559-20.967 10.638-.942 20.025 6.919 20.967 17.558.941 10.638-6.919 20.026-17.558 20.967"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M100.5348-15.3089c-10.639.941-20.026-6.919-20.968-17.558-.941-10.638 6.92-20.026 17.559-20.967 10.638-.942 20.025 6.919 20.967 17.558.941 10.638-6.919 20.026-17.558 20.967z",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M110.2125-35.5789c.556 6.286-4.089 11.833-10.375 12.39-6.287.556-11.834-4.089-12.391-10.375-.555-6.286 4.089-11.834 10.376-12.39",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{fill:"#C2FFF9",d:"M-76.4877 122.3928l14.704 5.777-8.133 24.358-25.269-4.57 1.997-15.671"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M-76.4877 122.3928l14.704 5.777-8.133 24.358-25.269-4.57 1.997-15.671zm-18.6982 25.5654l33.402-19.788",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M-93.1889 132.2868l23.272 20.241-6.571-30.135",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{fill:"#C2FFF9",d:"M151.5172-63.3406l4.276 12.99-20.723 8.042-10.921-19.362 11.546-7.33"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M151.5172-63.3406l4.276 12.99-20.723 8.042-10.921-19.362 11.546-7.33z",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M135.6949-69.0003l-.625 26.692 16.447-21.032m-27.3679 1.6701l31.645 11.319",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{fill:"#E4E9F8",d:"M59.7897 13.2502l-102.171 25.055c-2.453.602-4.93-.899-5.531-3.352l-17.794-72.557c-.602-2.454.9-4.93 3.353-5.532l102.171-25.055c2.454-.601 4.931.899 5.533 3.353l17.793 72.556c.601 2.454-.9 4.93-3.354 5.532"}),d("path",{fill:"#7687B2",d:"M45.3502-64.8382c-.602-2.453-3.078-3.954-5.532-3.353l-102.171 25.056c-2.454.601-3.954 3.078-3.353 5.531l3.489 14.228 111.056-27.234-3.489-14.228z"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M59.7897 13.2502l-102.171 25.055c-2.453.602-4.93-.899-5.531-3.352l-17.794-72.557c-.602-2.454.9-4.93 3.353-5.532l102.171-25.055c2.454-.601 4.931.899 5.533 3.353l17.793 72.556c.601 2.454-.9 4.93-3.354 5.532zM-62.2172-23.3763l111.057-27.234m-95.9164 3.7287l-8.367 21.844m30.0096-27.1517l-8.366 21.844m30.0096-27.1516l-8.366 21.844M17.8522-62.804L9.4862-40.96m30.0095-27.1516l-8.366 21.844",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{fill:"#FF7B78",d:"M28.693-19.9388c3.986 16.254-5.959 32.661-22.213 36.647-16.254 3.986-32.661-5.959-36.646-22.213-3.987-16.253 5.959-32.661 22.213-36.646 16.252-3.986 32.661 5.959 36.646 22.212"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M28.693-19.9388c3.986 16.254-5.959 32.661-22.213 36.647-16.254 3.986-32.661-5.959-36.646-22.213-3.987-16.253 5.959-32.661 22.213-36.646 16.252-3.986 32.661 5.959 36.646 22.212z",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{fill:"#FFF",d:"M-16.3051-26.1936l7.999 32.618 26.541-23.798"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M-16.3051-26.1936l7.999 32.618 26.541-23.798z",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{fill:"#FFF",d:"M101.5895 23.7946l33.137 35.518-29.647-1.029c-2.585-.09-4.608-2.258-4.518-4.843l1.028-29.646z"}),d("path",{fill:"#E4E9F8",d:"M134.7262 59.3127l-3.195 92.059c-.089 2.585-2.258 4.608-4.843 4.519l-93.619-3.249c-2.586-.09-4.609-2.258-4.519-4.844l4.223-121.705c.09-2.585 2.259-4.608 4.844-4.518l63.972 2.22"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M134.7262 59.3127l-3.195 92.059c-.089 2.585-2.258 4.608-4.843 4.519l-93.619-3.249c-2.586-.09-4.609-2.258-4.519-4.844l4.223-121.705c.09-2.585 2.259-4.608 4.844-4.518l63.972 2.22",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M101.5895 23.7946l33.137 35.518-29.647-1.029c-2.585-.09-4.608-2.258-4.518-4.843l1.028-29.646z",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{fill:"#FFF",d:"M104.15 6.4353l39.81 27.834-29.21 5.171c-2.547.451-4.978-1.248-5.429-3.796l-5.171-29.209z"}),d("path",{fill:"#E4E9F8",d:"M143.9596 34.2692l16.058 90.704c.45 2.547-1.249 4.978-3.796 5.429l-92.242 16.329c-2.546.452-4.977-1.248-5.428-3.795l-21.229-119.914c-.451-2.547 1.248-4.978 3.796-5.428l63.031-11.159"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M143.9596 34.2692l16.058 90.704c.45 2.547-1.249 4.978-3.796 5.429l-92.242 16.329c-2.546.452-4.977-1.248-5.428-3.795l-21.229-119.914c-.451-2.547 1.248-4.978 3.796-5.428l63.031-11.159",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M104.15 6.4353l39.81 27.834-29.21 5.171c-2.547.451-4.978-1.248-5.429-3.796l-5.171-29.209z",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{fill:"#5871B7",d:"M10.7613-26.0428h117.831c2.829 0 5.123 2.294 5.123 5.123v7.341c0 1.565.716 3.045 1.943 4.016l7 5.542c.659.522.646 1.525-.026 2.029l-6.867 5.151c-1.29.967-2.05 2.485-2.05 4.098v7.685c0 2.829-2.294 5.123-5.123 5.123H10.7613c-2.83 0-5.124-2.294-5.124-5.123v-35.862c0-2.829 2.294-5.123 5.124-5.123"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M10.7613-26.0428h117.831c2.829 0 5.123 2.294 5.123 5.123v7.341c0 1.565.716 3.045 1.943 4.016l7 5.542c.659.522.646 1.525-.026 2.029l-6.867 5.151c-1.29.967-2.05 2.485-2.05 4.098v7.685c0 2.829-2.294 5.123-5.123 5.123H10.7613c-2.83 0-5.124-2.294-5.124-5.123v-35.862c0-2.829 2.294-5.123 5.124-5.123zM64.1588 1.2805h-43.147m21.5738-8.1114h-21.574m91.3894 0H49.816m33.9815-8.1118h-62.786",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{fill:"#FFF",d:"M166.0641 58.8137l-21.664 89.53c-.608 2.514-3.14 4.06-5.654 3.451l-91.048-22.031c-2.515-.608-4.06-3.14-3.451-5.654l28.64-118.362c.609-2.515 3.14-4.059 5.655-3.451l62.215 15.055"}),d("path",{fill:"#E4E9F8",d:"M140.7574 17.3513l25.307 41.462-28.832-6.976c-2.515-.609-4.06-3.14-3.452-5.654l6.977-28.832z"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M166.0641 58.8137l-21.664 89.53c-.608 2.514-3.14 4.06-5.654 3.451l-91.048-22.031c-2.515-.608-4.06-3.14-3.451-5.654l28.64-118.362c.609-2.515 3.14-4.059 5.655-3.451l62.215 15.055",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M140.7574 17.3513l25.307 41.462-28.832-6.976c-2.515-.609-4.06-3.14-3.452-5.654l6.977-28.832z",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{fill:"#5865f2",d:"M84.6422 57.6999h-117.832c-2.829 0-5.123-2.293-5.123-5.123v-7.34c0-1.566-.716-3.045-1.943-4.017l-7-5.542c-.659-.521-.646-1.525.027-2.029l6.867-5.151c1.29-.967 2.049-2.485 2.049-4.098v-7.685c0-2.829 2.294-5.123 5.123-5.123h117.832c2.829 0 5.123 2.294 5.123 5.123v35.862c0 2.83-2.294 5.123-5.123 5.123"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M84.6422 57.6999h-117.832c-2.829 0-5.123-2.293-5.123-5.123v-7.34c0-1.566-.716-3.045-1.943-4.017l-7-5.542c-.659-.521-.646-1.525.027-2.029l6.867-5.151c1.29-.967 2.049-2.485 2.049-4.098v-7.685c0-2.829 2.294-5.123 5.123-5.123h117.832c2.829 0 5.123 2.294 5.123 5.123v35.862c0 2.83-2.294 5.123-5.123 5.123zM-26.3637 22.2653h48.67M6.0826 30.3767h68.309m-100.7553 0h22.799m53.1942 8.1118h14.942m-24.3346 0h4.534m-71.1346 0h54.093m-54.093 8.1113h63.186",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{fill:"#98AFED",d:"M63.191 113.1003h-130.64c-2.829 0-5.123-2.293-5.123-5.123v-7.34c0-1.566-.716-3.046-1.943-4.017l-7-5.542c-.658-.521-.646-1.525.026-2.029l6.868-5.151c1.291-.967 2.049-2.485 2.049-4.098v-7.685c0-2.829 2.294-5.123 5.123-5.123h130.64c2.829 0 5.123 2.294 5.123 5.123v35.862c0 2.83-2.294 5.123-5.123 5.123"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M63.191 113.1003h-130.64c-2.829 0-5.123-2.293-5.123-5.123v-7.34c0-1.566-.716-3.046-1.943-4.017l-7-5.542c-.658-.521-.646-1.525.026-2.029l6.868-5.151c1.291-.967 2.049-2.485 2.049-4.098v-7.685c0-2.829 2.294-5.123 5.123-5.123h130.64c2.829 0 5.123 2.294 5.123 5.123v35.862c0 2.83-2.294 5.123-5.123 5.123zM-60.6225 77.6657h99.433m-23.4398 8.1114h7.949m-19.6892 0h-64.253m0 8.1118h47.398m-47.398 8.1113h116.122",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{fill:"#E4E9F8",d:"M37.8805 30.8191h-105.198c-2.527 0-4.574-2.048-4.574-4.574v-74.706c0-2.527 2.047-4.574 4.574-4.574h105.198c2.526 0 4.574 2.047 4.574 4.574v74.706c0 2.526-2.048 4.574-4.574 4.574"}),d("path",{fill:"#7687B2",d:"M42.4547-33.7181v-14.743c0-2.527-2.048-4.574-4.574-4.574h-105.198c-2.527 0-4.575 2.047-4.575 4.574v14.743h114.347z"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M37.8805 30.8191h-105.198c-2.527 0-4.574-2.048-4.574-4.574v-74.706c0-2.527 2.047-4.574 4.574-4.574h105.198c2.526 0 4.574 2.047 4.574 4.574v74.706c0 2.526-2.048 4.574-4.574 4.574zM-71.892-33.8123H42.455m-94.0442-19.2231l-13.328 19.223m35.6121-19.223l-13.328 19.223m35.6132-19.223l-13.328 19.223m35.6122-19.223l-13.328 19.223m35.6121-19.223l-13.328 19.223",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{fill:"#FF7B78",d:"M15.5836-8.8211c0 16.735-13.566 30.302-30.302 30.302-16.735 0-30.302-13.567-30.302-30.302s13.567-30.302 30.302-30.302c16.736 0 30.302 13.567 30.302 30.302"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M15.5836-8.8211c0 16.735-13.566 30.302-30.302 30.302-16.735 0-30.302-13.567-30.302-30.302s13.567-30.302 30.302-30.302c16.736 0 30.302 13.567 30.302 30.302z",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{fill:"#FFF",d:"M-26.6293-25.6136v33.584l31.445-16.792"}),d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M-26.6293-25.6136v33.584l31.445-16.792zM184.3375 8.3772v6.43m3.2149-3.2152h-6.43m-292.9079 79.082v6.43m3.2148-3.2151h-6.43M195.901-43.6692l-1.516 1.515m-6.0611 6.0621l-1.516 1.516m9.0931-.0004l-1.516-1.516m-6.0611-6.0616l-1.516-1.515M-88.642 168.9265l-1.516 1.516m-6.0621 6.0616l-1.516 1.515m9.0941.0001l-1.516-1.515m-6.0621-6.0621l-1.516-1.516M174.3463-8.8211c0 1.775-1.439 3.215-3.215 3.215-1.776 0-3.215-1.44-3.215-3.215s1.439-3.215 3.215-3.215c1.776 0 3.215 1.44 3.215 3.215z",strokeLinecap:"round",strokeLinejoin:"round"})),y=d("path",{fill:"#C9D2F0",d:"M89.8311 190.9259c-2.441-2.441-2.441-6.4 0-8.841l36.771-36.771 8.841 8.841-36.771 36.771c-2.441 2.441-6.4 2.441-8.841 0"}),m=d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M89.8311 190.9259c-2.441-2.441-2.441-6.4 0-8.841l36.771-36.771 8.841 8.841-36.771 36.771c-2.441 2.441-6.4 2.441-8.841 0z",strokeLinecap:"round",strokeLinejoin:"round"}),_=d("path",{fill:"#9F7373",d:"M100.1458 189.4524l-8.841-8.841c-1.628-1.628-1.628-4.267 0-5.894l17.437-17.437c1.627-1.628 4.266-1.628 5.894 0l8.841 8.841c1.628 1.628 1.628 4.267 0 5.894l-17.437 17.437c-1.627 1.628-4.266 1.628-5.894 0"}),h=d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M100.1458 189.4524l-8.841-8.841c-1.628-1.628-1.628-4.267 0-5.894l17.437-17.437c1.627-1.628 4.266-1.628 5.894 0l8.841 8.841c1.628 1.628 1.628 4.267 0 5.894l-17.437 17.437c-1.627 1.628-4.266 1.628-5.894 0z",strokeLinecap:"round",strokeLinejoin:"round"}),E=d("path",{fill:"#F3F9FF",d:"M132.1122 148.6448c-15.621-15.621-15.621-40.948 0-56.569 15.621-15.621 40.948-15.621 56.569 0 15.621 15.621 15.621 40.948 0 56.569-15.621 15.621-40.948 15.621-56.569 0m63.895-63.895c-19.667-19.667-51.554-19.667-71.221 0s-19.667 51.554 0 71.221 51.554 19.667 71.221 0 19.667-51.554 0-71.221"}),g=d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M196.0069 155.9708c-19.667 19.667-51.554 19.667-71.221 0s-19.667-51.554 0-71.221 51.554-19.667 71.221 0 19.667 51.554 0 71.221z",strokeLinecap:"round",strokeLinejoin:"round"}),S=d("path",{stroke:"#1E2126",strokeWidth:"2",d:"M132.1122 148.6448c-15.621-15.621-15.621-40.948 0-56.569 15.621-15.621 40.948-15.621 56.569 0 15.621 15.621 15.621 40.948 0 56.569-15.621 15.621-40.948 15.621-56.569 0z",strokeLinecap:"round",strokeLinejoin:"round"}),O=d("path",{d:"M84 66h130v130H84z"}),I=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={x:new i.default.Value(0),y:new i.default.Value(0)},t._isMounted=!1,t.shouldLoop=function(){return t._isMounted},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var a=r.prototype;return a.componentDidMount=function(){this._isMounted=!0;var e=this.state,t=e.x,n=e.y;"Firefox"!==o.default.name&&(i.default.animate(t,{loop:!0,toValueMin:-74,toValueMax:95,overshootClamping:!0,friction:5,tension:1,shouldLoop:this.shouldLoop}),i.default.animate(n,{loop:!0,toValueMin:-59,toValueMax:75,overshootClamping:!0,friction:5,tension:1,shouldLoop:this.shouldLoop}))},a.componentWillUnmount=function(){this._isMounted=!1},a.render=function(){return d("div",{className:l.default.searchIndexAnimation},void 0,d("div",{className:l.default.searchIndexBackground}),d("svg",{className:l.default.searchIndexForeground,width:"320",height:"280"},void 0,p,d("g",{fill:"none",fillRule:"evenodd"},void 0,d("g",{transform:"translate(120 80)"},void 0,d("mask",{id:"search-index-foreground-mask-b",fill:"#fff"},void 0,d(i.default.use,{style:c(this.state),className:l.default.mask,xlinkHref:"#search-index-foreground-mask-a"})),v),d(i.default.g,{className:l.default.magnifyingGlass,style:c(this.state)},void 0,y,m,_,h,E,g,S,O))))},r}(a.Component);I.displayName="SearchIndexForeground";var T=I;t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.useStateFromStores)([u.default],(function(){var t=u.default.getQuery(e),n=u.default.getRawResults(e);if(null==t||null==n)return[];var r=(0,a.createASTHighlighter)(t.content||"");return n.map((function(e){return e.map((function(e){var t=(0,o.createMessageRecord)(e);return t.isSearchHit?t.set("customRenderedContent",(0,i.default)(t,{postProcessor:r})):t}))}))}),[e]),n=(0,r.useStateFromStoresArray)([l.default],(function(){var e=0;return[t.map((function(t){return t.filter((function(t){var n=l.default.isBlocked(t.author.id);return n&&t.isSearchHit&&e++,!n||t.isSearchHit}))})),e]}),[t]),s=n[0],d=n[1];return{searchResults:s,blockCount:d}};var r=n(3),a=n(11370),o=n(297),i=s(n(8361)),l=s(n(70)),u=s(n(1241));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.analyze=f,t.shouldHighlight=c,t.highlightAST=p,t.createASTHighlighter=function(e){var t=new Set(f(e));return function(e){return p(e,t)}};var r=o(n(8)),a=o(n(11371));function o(e){return e&&e.__esModule?e:{default:e}}var i=new Set(["a","an","and","are","as","at","be","but","by","for","if","in","into","is","it","no","not","of","on","or","such","that","the","their","then","there","these","they","this","to","was","will","with"]);function l(e){return e.replace(/('|\u2019|\uFF07)(s|S)$/,"")}function u(e){return e.toLowerCase()}function s(e){return i.has(e)}function d(e){return 0===e.length}function f(e){return(0,r.default)(e.split(/\W+/)).map(l).reject(d).map(u).reject(s).map(a.default).value()}function c(e,t){return!d(e=u(l(e)))&&!s(e)&&t.has((0,a.default)(e))}function p(e,t){if(Array.isArray(e))e.forEach((function(e){return p(e,t)}));else if("string"==typeof e.content&&"codeBlock"!==e.type){var n=[],r="";e.content.split(/(\W+)/g).forEach((function(e){c(e,t)?(r.length>0&&n.push({type:"text",content:r}),n.push({type:"highlight",content:e}),r=""):r+=e})),n.length>0&&(r.length>0&&n.push({type:"text",content:r}),"text"===e.type?e.content=n:e.content=[{type:"text",content:n}])}else null!=e.content&&p(e.content,t);return e}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(9)),i=y(n(271)),l=y(n(61)),u=y(n(151)),s=y(n(149)),d=y(n(24)),f=y(n(93)),c=n(1),p=y(n(6)),v=y(n(8086));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(){return(h=Object.assign||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}).apply(this,arguments)}function E(e){var t={searchMode:e.searchMode,onClick:e.searchByMode};return _("div",{className:v.default.searchHeader},void 0,a.createElement(g,e),a.createElement(O,h({mode:c.SearchModes.NEWEST,message:p.default.Messages.SEARCH_NEWEST_SHORT},t)),a.createElement(O,h({mode:c.SearchModes.OLDEST,message:p.default.Messages.SEARCH_OLDEST_SHORT},t)),a.createElement(O,h({mode:c.SearchModes.MOST_RELEVANT,message:p.default.Messages.SEARCH_MOST_RELEVANT_SHORT},t)))}function g(e){var t,n=e.isSearching,r=e.isIndexing,o=e.documentsIndexed;(r||n)&&(t=_("div",{className:v.default.spinnerWrapper},void 0,_(u.default,{type:u.default.Type.SPINNING_CIRCLE,className:v.default.spinner,itemClassName:v.default.spinnerPath})));var i=r&&!n;return _("div",{className:v.default.totalResults,role:"status"},void 0,i?_(s.default,{text:p.default.Messages.SEARCH_STILL_INDEXING_HINT.format({count:o})},void 0,(function(n){return a.createElement("div",h({className:v.default.totalResultsWrapper},n),a.createElement(S,e),t)})):a.createElement(S,e),i?null:t)}function S(e){var t=e.isSearching,n=e.isIndexing,r=e.totalResults;if(t)return _(d.default,{size:d.default.Sizes.SIZE_16,color:d.default.Colors.HEADER_PRIMARY},void 0,p.default.Messages.SEARCHING);if(n)return _(d.default,{size:d.default.Sizes.SIZE_16},void 0,_(i.default,{className:v.default.helpdeskLink,href:f.default.getArticleURL(c.HelpdeskArticles.SEARCH_INDEXING)},void 0,p.default.Messages.STILL_INDEXING));var a=r.toLocaleString();return _(d.default,{size:d.default.Sizes.SIZE_16,color:d.default.Colors.HEADER_PRIMARY},void 0,p.default.Messages.TOTAL_RESULTS.format({count:a}))}function O(e){var t,n=e.searchMode,r=e.mode,a=e.message,i=e.onClick;return _(l.default,{className:(0,o.default)(v.default.tab,(t={},t[v.default.selected]=n===r,t)),"aria-selected":n===r,onClick:function(){return i(r)}},r,a)}E.displayName="SearchHeader",g.displayName="TotalContent",O.displayName="SearchTab"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.search,n=e.searchId,r=e.renderEmbeds,D=e.scrollTo,w=e.searchResults,j=e.blockCount,G=t.offset,F=t.totalResults,B=t.isSearching,H=t.showBlockedResults,x=(0,i.useStateFromStores)([O.default],(function(){return O.default.renderSpoilers})),V=a.useCallback((function(e){e!==S.default.getChannelId()&&u.default.transitionToInviteChannelSync(e)}),[]),W=a.useCallback((function(e){B||d.changePage(n,e-1)}),[n,B]),Y=a.useCallback((function(e){if(e.blocked)l.default.show({title:R.default.Messages.UNBLOCK_TO_JUMP_TITLE,body:R.default.Messages.UNBLOCK_TO_JUMP_BODY.format({name:e.author.username}),confirmText:R.default.Messages.OKAY});else{var t=_.default.getChannel(e.channel_id),r=t?t.getGuildId():null;s.default.trackJump(e.channel_id,e.id,"Search Results",{search_id:g.default.getAnalyticsId(n)}),(0,m.transitionTo)(P.Routes.CHANNEL(r,e.channel_id,e.id))}}),[n]),z=a.useMemo((function(){if(null==w)return[];var e,t=0;return w.reduce((function(n,r){var a=r.find((function(e){return e.isSearchHit}));if(!H&&a&&E.default.isBlocked(a.author.id))return n;var o=_.default.getChannel(r[0].channel_id);return null==o||(e&&e===o.id||n.push({channel:o,results:[],startIndex:t}),t+=1,n[n.length-1].results.push(r),e=null==o?void 0:o.id),n}),[])}),[w,H]),K=a.useRef([]),$=z.reduce((function(e,t){return e+1+t.results.length}),0),Z=a.useCallback((function(e,t){if(f.default.keyboardModeEnabled){var n=K.current,r=null!=t?n[t]:void 0;if(null!=r&&null!=r.hitRef.current){var a=r.hitRef.current.getClientRects()[0],o=a.top-.5*a.height;D(o,!1,(function(){var t;null===(t=document.getElementById(e))||void 0===t||t.focus()}))}}}),[D]),q=a.useCallback((function(e){var t=K.current[e];null==t||t.jumpTo()}),[]),X=(0,o.useListNavigator)({navId:"search-results",itemCount:$,focusedIndex:0,setFocus:Z,onSelect:q}),J=z.map((function(e){var t,o=e.channel,i=e.results,l=e.startIndex,u=o?(0,c.computeChannelName)(o,I.default,E.default,!1):"???",s=null!==(t=(0,p.default)(o))&&void 0!==t?t:b.default,d=h.default.can(P.Permissions.MANAGE_MESSAGES,o);return U(C.SpoilerDisplayContext.Provider,{value:(0,y.default)(x,d)},void 0,U("div",{className:L.default.searchResultGroup,role:"group","aria-label":u},o.id+"-"+l,U(T.default,{onClick:function(){return V(o.id)}},void 0,U(M.default,{className:L.default.channelName,size:M.default.Sizes.SIZE_16,color:M.default.Colors.HEADER_PRIMARY},void 0,U(s,{className:L.default.channelNameIcon,width:16,height:16}),U("span",{},void 0,u))),i.map((function(e,t){var o=l+t;return a.createElement(A.default,{ref:function(e){return K.current[o]=e},scrollTo:D,searchId:n,renderEmbeds:r,searchOffset:G,pageResultsLength:i.length,result:e,index:o,key:"search-result-"+o,onJump:Y,listItemProps:X.getItemProps({index:o})})}))))}));J.push();var Q=a.useRef(null);a.useLayoutEffect((function(){var e;null===(e=Q.current)||void 0===e||e.focus()}),[w]);var ee=(0,v.useFocusJumpSection)();return a.createElement(a.Fragment,null,a.createElement("div",k({ref:Q},X.getContainerProps(),ee,{"aria-busy":B}),J),j?U(T.default,{tag:"div",className:L.default.resultsBlocked,onClick:function(){return d.setShowBlockedResults(n,!H)}},void 0,U("div",{className:L.default.resultsBlockedImage}),U("div",{className:L.default.resultsBlockedText},void 0,H?R.default.Messages.SEARCH_HIDE_BLOCKED_MESSAGES.format({count:j}):R.default.Messages.SEARCH_NUM_RESULTS_BLOCKED_NOT_SHOWN.format({count:j}))):null,!B&&U(N.default,{changePage:W,offset:G,totalResults:F,pageLength:P.SEARCH_PAGE_SIZE}))};var r,a=j(n(0)),o=n(8404),i=n(3),l=D(n(154)),u=D(n(1211)),s=D(n(390)),d=j(n(8699)),f=D(n(105)),c=n(180),p=D(n(8449)),v=n(1246),y=D(n(9220)),m=n(42),_=D(n(10)),h=D(n(40)),E=D(n(70)),g=D(n(1241)),S=D(n(36)),O=D(n(39)),I=D(n(12)),T=D(n(61)),C=n(8467),b=D(n(8307)),M=D(n(24)),N=D(n(11374)),A=D(n(11375)),P=n(1),R=D(n(6)),L=D(n(8089));function D(e){return e&&e.__esModule?e:{default:e}}function w(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return w=function(){return e},e}function j(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=w();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function k(){return(k=Object.assign||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}).apply(this,arguments)}function U(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(8972)),o=i(n(8087));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(e){var t=e.changePage,n=e.offset,r=e.totalResults,i=e.pageLength,l=Math.floor(n/i)+1;return u("div",{className:o.default.container},void 0,u(a.default,{currentPage:l,totalCount:r,pageSize:i,onPageChange:t,maxVisiblePages:5}))}s.displayName="SearchPagination"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(8)),i=n(389),l=p(n(8375)),u=p(n(11376)),s=p(n(10)),d=p(n(61)),f=p(n(6)),c=p(n(8088));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){var n,r=null===(n=window)||void 0===n?void 0:n.getSelection();if(null!=r&&!r.isCollapsed)return!0;if(null==e||null==t)return!1;for(;e instanceof Element&&e!==t;){var a=e.tagName;if("A"===a||"IMG"===a||"BUTTON"===a)return!0;e=e.parentNode}return!1}var E=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).containerRef=a.createRef(),t.hitRef=a.createRef(),t.handleContextMenu=function(e,t){var n=s.default.getChannel(t.channel_id);null!=n&&(e.stopPropagation(),(0,i.openContextMenu)(e,(function(e){return a.createElement(u.default,m({},e,{message:t,channel:n}))})))},t.jumpTo=function(e){null!=e&&(e.preventDefault(),e.stopPropagation());var n=t.props,r=n.onJump,a=n.result.find((function(e){return e.isSearchHit}));null!=a&&r(a)},t.handleMessageClick=function(e){h(e.target,t.containerRef.current)?e.stopPropagation():t.jumpTo(e)},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n),r.prototype.render=function(){var e=this,t=this.props,n=t.result,r=t.listItemProps,i=o.default.find(n,(function(e){return e.isSearchHit}));if(null==i)return null;var u=s.default.getChannel(i.channel_id);return null==u?null:y("div",{className:c.default.container,role:"group","aria-label":f.default.Messages.SEARCH_RESULT},void 0,a.createElement(d.default,m({},r,{onClick:this.handleMessageClick,innerRef:this.containerRef,className:c.default.searchResult,focusProps:{ringTarget:this.hitRef,ringClassName:c.default.searchResultFocusRing,offset:4}}),a.createElement("div",{ref:this.hitRef,className:c.default.message,key:i.id},y(l.default,{message:i,channel:u,onContextMenu:function(t){return e.handleContextMenu(t,i)},animateAvatar:!1,subscribeToComponentDispatch:!1}))),y("div",{className:c.default.buttonsContainer},void 0,y(d.default,{className:c.default.button,onClick:this.jumpTo},void 0,f.default.Messages.JUMP)))},r}(a.PureComponent);t.default=E,E.displayName="SearchResult"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;_(n(0));var r,a=n(389),o=y(n(8258)),i=_(n(8253)),l=y(n(8773)),u=y(n(8395)),s=y(n(8471)),d=y(n(8774)),f=y(n(8775)),c=y(n(8776)),p=y(n(9222)),v=y(n(6));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e){var t,n,r,y,m=e.channel,_=e.message,E=e.target,g=e.attachment,S=e.onSelect,O=E;if(g)r=n=g.url;else for(;O instanceof Node;)O instanceof HTMLImageElement&&null!=O.src&&(r=O.src),O instanceof HTMLAnchorElement&&null!=O.href&&(n=O.href,y=O.textContent),O=O.parentNode;var I=null===(t=document.getSelection())||void 0===t?void 0:t.toString(),T=(0,l.default)(I),C=(0,s.default)(I),b=(0,p.default)(_,m),M=(0,c.default)(_,m),N=(0,d.default)(_,m),A=(0,f.default)(_,m),P=(0,u.default)(n||r,y),R=(0,o.default)(_.id,_.channel_id+"-"+_.id);return h(i.default,{navId:"message",onClose:a.closeContextMenu,"aria-label":v.default.Messages.MESSAGE_ACTIONS_MENU_LABEL,onSelect:S},void 0,h(i.MenuGroup,{},void 0,T),h(i.MenuGroup,{},void 0,C),h(i.MenuGroup,{},void 0,b,M,N,A),h(i.MenuGroup,{},void 0,P),h(i.MenuGroup,{},void 0,R))}E.displayName="MessageSearchResultContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=K;var r,a=V(n(0)),o=H(n(9)),i=H(n(8325)),l=n(3),u=H(n(8389)),s=H(n(8406)),d=H(n(9223)),f=H(n(105)),c=H(n(8391)),p=H(n(8373)),v=H(n(8375)),y=H(n(10)),m=V(n(1225)),_=H(n(15)),h=H(n(201)),E=H(n(39)),g=H(n(29)),S=H(n(1160)),O=H(n(153)),I=n(131),T=H(n(255)),C=H(n(8740)),b=H(n(8287)),M=H(n(8282)),N=n(374),A=H(n(24)),P=H(n(272)),R=n(8349),L=n(8381),D=H(n(8265)),w=n(8566),j=n(11378),k=H(n(10453)),U=n(1),G=H(n(6)),F=H(n(8091)),B=H(n(7405));function H(e){return e&&e.__esModule?e:{default:e}}function x(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return x=function(){return e},e}function V(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=x();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function W(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function Y(){return(Y=Object.assign||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}).apply(this,arguments)}function z(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function K(e){var t=e.parentChannelId,n=e.parentMessageId,r=(0,l.useStateFromStores)([y.default],(function(){return y.default.getChannel(t)}));return null==r?null:z(R.ComponentDispatchGroupProvider,{},void 0,z(M.default,{toolbar:z(M.default.Icon,{icon:T.default,tooltip:G.default.Messages.CLOSE,onClick:function(){return D.default.closeThreadSidebar(t)}})},void 0,z(M.default.Icon,{icon:b.default,disabled:!0,"aria-label":G.default.Messages.THREAD}),z(M.default.Title,{},void 0,G.default.Messages.NEW_THREAD)),z($,{parentChannel:r,parentMessageId:n}))}function $(e){var t=e.parentChannel,n=e.parentMessageId,r=null!=n,v=!r,y=a.useContext(R.ComponentDispatchGroupContext),h=(0,l.useStateFromStores)([f.default],(function(){return f.default.messageGroupSpacing})),E=(0,l.useStateFromStores)([_.default],(function(){return _.default.getGuild(t.guild_id)})),O=a.useState((function(){var e;return null!==(e=m.default.getThreadSettings(t.id))&&void 0!==e?e:{}})),T=O[0],M=O[1],N=a.useCallback((function(e){M((function(t){return Y({},t,{},e)})),u.default.changeThreadSettings(t.id,Y({},e,{parentMessageId:n}))}),[t.id,n]),w=(0,j.usePrivateThreadMode)(t),k=a.useState((function(){var e=m.default.getDraft(t.id,m.DraftType.FirstThreadMessage);return{textValue:e,richValue:i.default.deserialize(e)}})),H=k[0],x=k[1],V=a.useRef(H.textValue.trim().length>0);a.useEffect((function(){V.current=V.current||H.textValue.trim().length>0}),[H]);var K=function(e,t,n,r,o,i){var l=a.useState(!1),u=l[0],s=l[1],d=(0,j.useCreateThread)(e,t,n,r,o,D.default.openThreadSidebarForViewing),f=a.useCallback(function(){var e,n=(e=regeneratorRuntime.mark((function e(n){var a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==(null!==(a=r.name)&&void 0!==a?a:"").length){e.next=4;break}return s(!0),e.abrupt("return",{shouldClear:!1,shouldRefocus:!0});case 4:if(null!=t){e.next=11;break}return e.next=7,(0,L.applyChatRestrictions)({target:null,type:null,content:i.textValue,stickers:n});case 7:if(e.sent.valid){e.next=11;break}return e.abrupt("return",{shouldClear:!1,shouldRefocus:!0});case 11:return e.next=13,d(i.textValue,n);case 13:return e.abrupt("return",{shouldClear:!0,shouldRefocus:!1});case 14:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){W(o,r,a,i,l,"next",e)}function l(e){W(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(e){return n.apply(this,arguments)}}(),[d,i.textValue,r.name,t]);return{hasNameError:u,submit:f}}(t,n,E,T,w,H),$=K.hasNameError,J=K.submit;a.useEffect((function(){function e(){var e=m.default.getDraft(t.id,m.DraftType.FirstThreadMessage);x({textValue:e,richValue:i.default.deserialize(e)})}return m.default.addChangeListener(e),function(){m.default.removeChangeListener(e)}}),[t.id]);var Q=function(e,t,n,r){var a=(0,j.getIsPrivate)(t,r);return e||r===j.PrivateThreadMode.Disabled?null:z(I.FormSection,{title:G.default.Messages.PRIVATE_THREAD,className:F.default.formSection},void 0,z(S.default,{className:(0,o.default)(F.default.checkbox),type:S.default.Types.INVERTED,disabled:r===j.PrivateThreadMode.PrivateOnly,value:a,onChange:function(e,t){return n({isPrivate:t})}},void 0,z(A.default,{size:A.default.Sizes.SIZE_16,color:A.default.Colors.CUSTOM},void 0,G.default.Messages.FORM_THREAD_PRIVATE_THREAD_SECTION_LABEL)),a?z(A.default,{className:F.default.privateThreadDescription,size:A.default.Sizes.SIZE_12,color:A.default.Colors.HEADER_SECONDARY},void 0,G.default.Messages.FORM_THREAD_PRIVATE_THREAD_DESCRIPTION):null)}(r,T,N,w),ee=Z(t,E,T,N),te=q(t,T,N,$),ne=function(e,t,n,r,o){var i=a.useState(!1),l=i[0],d=i[1],f=a.useCallback((function(){return d(!0)}),[]),p=a.useCallback((function(){return d(!1)}),[]),v=a.useCallback((function(t,n,a){u.default.saveDraft(e.id,n,m.DraftType.FirstThreadMessage),r((function(t){return""!==n&&t.textValue!==n?s.default.startTyping(e.id):""===n&&s.default.stopTyping(e.id),{textValue:n,richValue:a}}))}),[e.id,r]),y=a.useCallback((function(e,t){return o(t)}),[o]);return(0,R.useComponentAction)({event:U.ComponentActions.TEXTAREA_FOCUS,handler:f}),(0,R.useComponentAction)({event:U.ComponentActions.TEXTAREA_BLUR,handler:p}),t?z(I.FormSection,{title:G.default.Messages.FORM_THREAD_STARTER_MESSAGE_SECTION_LABEL,className:F.default.formSection},void 0,z(c.default,{type:U.TextareaTypes.THREAD_CREATION,channel:e,placeholder:G.default.Messages.FORM_THREAD_STARTER_MESSAGE_PLACEHOLDER,textValue:n.textValue,richValue:n.richValue,focused:l,className:F.default.channelTextArea,innerClassName:F.default.channelTextAreaInner,onFocus:f,onBlur:p,onChange:v,onSubmit:y,disableAutoFocus:!0})):null}(t,v||V.current,H,x,J),re=a.useCallback((function(){y.bumpDispatchPriority()}),[y]),ae=(0,j.getIsPrivate)(T,w)?C.default:b.default;return z("div",{className:F.default.chat,onMouseDown:re,onFocus:re},void 0,z("div",{className:(0,o.default)(F.default.messagesWrapper,"group-spacing-"+h)},void 0,z("form",{onSubmit:function(e){e.preventDefault(),J()},className:F.default.form},void 0,z(P.default,{className:F.default.scroller,fade:!0},void 0,z("div",{className:F.default.scrollerInner},void 0,z(p.default,{channelId:"create-thread-null"},void 0,z("div",{className:B.default.iconWrapper},void 0,z(ae,{className:B.default.icon})),te,ne,ee,t.type===U.ChannelTypes.GUILD_TEXT?Q:null),z(X,{parentChannel:t,parentMessageId:n}))),z("div",{className:F.default.submitContainer},void 0,z(g.default,{className:F.default.submitButton,type:"submit"},void 0,G.default.Messages.CREATE_THREAD),z(d.default,{channel:t,isThreadCreation:!0})))))}function Z(e,t,n,r){return z(I.FormSection,{title:G.default.Messages.FORM_THREAD_AUTO_ARCHIVE_SECTION_LABEL,className:F.default.formSection},void 0,z(N.SingleSelect,{options:(0,w.getAutoArchiveOptions)(t),value:(0,w.getAutoArchiveDuration)(e,t,n.autoArchiveDuration),maxVisibleItems:(0,w.getAutoArchiveOptions)(t).length,popoutWidth:150,onChange:function(e){return r({autoArchiveDuration:e})}}))}function q(e,t,n,r){var o,i=a.useRef(null),l=null!==(o=t.name)&&void 0!==o?o:"";a.useLayoutEffect((function(){var e;null===(e=i.current)||void 0===e||e.focus()}),[]);return z(I.FormSection,{title:G.default.Messages.THREAD_NAME,className:F.default.formSection},void 0,z(O.default,{inputRef:i,value:l,placeholder:G.default.Messages.FORM_THREAD_NAME_PLACEHOLDER,maxLength:U.MAX_CHANNEL_NAME_LENGTH,onChange:function(t){n({name:(0,k.default)(t,!1)}),""!==t?s.default.startTyping(e.id):s.default.stopTyping(e.id)},onBlur:function(){var e=(0,k.default)(l,!0);e!==l&&n({name:e})},error:r&&0===l.trim().length?G.default.Messages.FORM_THREAD_NAME_REQUIRED_ERROR:null}))}function X(e){var t=e.parentChannel,n=e.parentMessageId,r=(0,l.useStateFromStores)([h.default],(function(){return null==n?null:h.default.getMessage(t.id,n)})),a=(0,l.useStateFromStores)([E.default],(function(){return E.default.messageDisplayCompact}),[]);return null!=r?z(v.default,{className:F.default.messagePreview,message:r,channel:t,compact:a,renderThreadAccessory:!1}):null}K.displayName="CreateThreadSidebar",$.displayName="ChatArea",Z.displayName="useAutoArchiveDropdown",q.displayName="useThreadName"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePrivateThreadMode=function(e){var t=(0,p.useCanStartPublicThread)(e);return(0,p.useCanStartPrivateThread)(e)?t?r.Enabled:r.PrivateOnly:r.Disabled},t.getIsPrivate=E,t.useGetThreadDraftSettings=function(e){return(0,o.useStateFromStores)([d.default],(function(){var t;return null==e?null:null!==(t=d.default.getThreadSettings(e))&&void 0!==t?t:d.default.getThreadDraftWithParentMessageId(e)}))},t.useCreateThread=function(e,t,n,r,o,l){return a.useCallback(function(){var a,u=(a=regeneratorRuntime.mark((function a(u,p){var y,m,_,h,S,O,I;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return m=null==t||!1,_=E(r,o),h=null!==(y=r.name)&&void 0!==y?y:"",S=(0,c.getAutoArchiveDuration)(e,n,r.autoArchiveDuration),O=s.default.getChannel(t),a.next=7,f.default.createThread(e,t,h,_?v.ChannelTypes.PRIVATE_THREAD:e.type===v.ChannelTypes.GUILD_ANNOUNCEMENT?v.ChannelTypes.ANNOUNCEMENT_THREAD:v.ChannelTypes.PUBLIC_THREAD,S);case 7:(I=a.sent)!==O&&(i.default.clearDraft(e.id,d.DraftType.ThreadSettings),i.default.clearDraft(e.id,d.DraftType.FirstThreadMessage),null==l||l(I),(m||u.length>0||null!=p&&p.length>0)&&g(I,u,p).finally((function(){})));case 9:case"end":return a.stop()}}),a)})),function(){var e=this,t=arguments;return new Promise((function(n,r){var o=a.apply(e,t);function i(e){h(o,n,r,i,l,"next",e)}function l(e){h(o,n,r,i,l,"throw",e)}i(void 0)}))});return function(e,t){return u.apply(this,arguments)}}(),[e,t,n,r,l,o])},t.PrivateThreadMode=void 0;var r,a=_(n(0)),o=n(3),i=y(n(8389)),l=y(n(390)),u=y(n(1216)),s=y(n(10)),d=_(n(1225)),f=y(n(8265)),c=n(8566),p=n(1209),v=n(1);function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function h(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function E(e,t){return t===r.PrivateOnly||null!==(n=e.isPrivate)&&void 0!==n&&n;var n}function g(e,t,n){return null!=n&&n.length>0?l.default.sendStickers(e.id,n):l.default.sendMessage(e.id,u.default.parse(e,t))}t.PrivateThreadMode=r,function(e){e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled",e[e.PrivateOnly=3]="PrivateOnly"}(r||(t.PrivateThreadMode=r={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=O;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(8)),i=n(3),l=h(n(282)),u=h(n(278)),s=h(n(8287)),d=n(8282),f=h(n(24)),c=h(n(410)),p=n(1209),v=n(698),y=h(n(9131)),m=h(n(6)),_=h(n(8092));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(){return(g=Object.assign||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}).apply(this,arguments)}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e){var t=e.channel,n=a.useState(!1),r=n[0],h=n[1],E=(0,i.useStateFromStores)([c.default],(function(){return(0,o.default)(c.default.getThreadsForGuild(t.guild_id)).values().filter((function(e){return e.parentId===t.id})).size()})),O=(0,p.useCanSeeThreadsInChannel)(t),I=a.useCallback((function(){h(!1)}),[]),T=a.useCallback((function(){r||(0,v.trackThreadBrowserOpened)("Popout"),h(!r)}),[r]);return O?S(u.default,{animation:u.default.Animation.NONE,position:u.default.Positions.BOTTOM,align:u.default.Align.RIGHT,autoInvert:!1,shouldShow:r,onRequestClose:I,renderPopout:function(){return S(l.default,{},void 0,S(y.default,{className:_.default.browser,channel:t,onClose:I}))}},void 0,(function(e,t){return a.createElement(d.Icon,g({},e,{className:_.default.icon,onClick:T,icon:s.default,"aria-label":m.default.Messages.THREADS,tooltip:t?null:m.default.Messages.THREADS,selected:t}),E>0?S(f.default,{size:f.default.Sizes.SIZE_16,color:f.default.Colors.INTERACTIVE_NORMAL,className:_.default.count},void 0,E>=100?"99+":E):null)})):null}O.displayName="ThreadBrowserPopout"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=O;var r,a=E(n(0)),o=_(n(8901)),i=_(n(8329)),l=_(n(8639)),u=_(n(8902)),s=_(n(8258)),d=E(n(8253)),f=_(n(278)),c=_(n(8331)),p=_(n(8282)),v=_(n(8265)),y=n(1209),m=_(n(6));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(){return(S=Object.assign||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}).apply(this,arguments)}function O(e){var t=e.channel,n=a.useState(!1),r=n[0],o=n[1];if(!(0,y.useCanSeeThreads)())return null;function i(){o((function(e){return!e}))}var l=m.default.Messages.MORE;return g(f.default,{shouldShow:r,animation:f.default.Animation.NONE,position:f.default.Positions.BOTTOM,align:f.default.Align.RIGHT,autoInvert:!1,onRequestClose:function(){return o(!1)},renderPopout:function(e){return a.createElement(I,S({},e,{channel:t}))}},void 0,(function(e,t){return a.createElement(p.default.Icon,S({},e,{onClick:i,tooltip:t?null:l,icon:c.default,"aria-label":l,selected:t}))}))}function I(e){var t=e.channel,n=e.closePopout,r=e.onSelect,a=(0,o.default)(t),f=(0,u.default)(t),c=(0,s.default)(t.id),p=(0,i.default)(t),y=(0,l.default)(t,"Toolbar Overflow");return g(d.default,{navId:"thread-context",onClose:n,"aria-label":m.default.Messages.THREAD_ACTIONS_MENU_LABEL,onSelect:r},void 0,g(d.MenuGroup,{},void 0,y),g(d.MenuGroup,{},void 0,f,g(d.MenuItem,{id:"open",label:m.default.Messages.OPEN_IN_SPLIT_VIEW,action:function(){v.default.openThreadSidebarForViewing(t)}})),g(d.MenuGroup,{},void 0,a,p),g(d.MenuGroup,{},void 0,c))}O.displayName="ThreadOverflowMenuButton",I.displayName="OverflowMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.channelId,n=(0,o.useStateFromStores)([v.default],(function(){return v.default.getChannel(t)})),r=(0,o.useStateFromStores)([m.default],(function(){return m.default.getGuild(null==n?void 0:n.getGuildId())})),O=(0,f.default)(n),I=a.useRef(!1);if(a.useEffect((function(){if(null!=n&&!I.current){I.current=!0;var e=(0,d.collectThreadMetadata)(v.default.getChannel(n.id),!0);(0,d.trackWithMetadata)(g.AnalyticEvents.CHANNEL_OPENED,C({},e,{channel_id:n.id,guild_id:n.guild_id,channel_view:"Split View"}))}}),[n]),null==n||null==r)return null;var b=T(E.default,{channel:n});return a.createElement(a.Fragment,null,T(u.default,{channel:n,draftType:y.DraftType.FirstThreadMessage}),T(_.default,{toolbar:b},void 0,(0,s.renderTitle)({channel:n,channelName:O,guild:r,inSidebar:!0,handleContextMenu:function(e){(0,i.openContextMenu)(e,(function(e){return a.createElement(c.default,C({},e,{channel:n}))}))},handleClick:function(){null!=n&&(0,p.transitionToGuild)(n.guild_id,n.id)}})),T("div",{className:S.default.chat},void 0,T(h.default,{channel:n,narrow:!0}),T(l.default,{channel:n,guild:r,textareaType:g.TextareaTypes.SIDEBAR,disableAutoFocus:!0},t)))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(389),l=O(n(10455)),u=O(n(10457)),s=n(9229),d=n(106),f=O(n(180)),c=O(n(8397)),p=n(42),v=O(n(10)),y=n(1225),m=O(n(15)),_=O(n(8282)),h=O(n(10456)),E=O(n(11384)),g=n(1),S=O(n(8094));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(){return(C=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=f(n(9)),o=f(n(29)),i=f(n(61)),l=f(n(24)),u=f(n(11383)),s=f(n(6)),d=f(n(7839));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t,n=e.channel,r=e.narrow,f=(0,u.default)(n),c=f.shouldShow,v=f.handleChangeSettings,y=f.handleCancel;return c?p("div",{className:(0,a.default)(d.default.chatHeaderBar,(t={},t[d.default.narrow]=r,t))},void 0,p(l.default,{className:(0,a.default)(d.default.chatHeaderBarText,d.default.nudgeBarText),size:l.default.Sizes.SIZE_14,color:l.default.Colors.HEADER_SECONDARY},void 0,s.default.Messages.THREAD_NOTIFICATION_SETTINGS_NUDGE_DESCRIPTION," ",p(i.default,{tag:"span",onClick:y},void 0,p(l.default,{tag:"span",className:d.default.nudgeAction,size:l.default.Sizes.SIZE_14,color:l.default.Colors.LINK},void 0,s.default.Messages.THREAD_NOTIFICATION_SETTINGS_NUDGE_CANCEL))),p(o.default,{size:r?o.default.Sizes.SMALL:o.default.Sizes.TINY,className:d.default.chatHeaderBarButton,onClick:v},void 0,s.default.Messages.SETTINGS)):null}v.displayName="ThreadNotificationSettingsNudge"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=r.useState(!1),n=t[0],d=t[1],f=(0,a.useStateFromStores)([u.default],(function(){return u.default.hasRecentlyAutoUpgradedNotifications(e.id)}))&&!o.default.get("hideThreadNotificationsNudge",!1)&&!n;return r.useEffect((function(){f&&(0,i.trackWithMetadata)(s.AnalyticEvents.THREAD_NOTIFICATION_NUDGE_SHOWN,{channel_id:e.id,guild_id:e.guild_id})}),[e,f]),{shouldShow:f,handleChangeSettings:function(){(0,i.trackWithMetadata)(s.AnalyticEvents.THREAD_NOTIFICATION_NUDGE_CLICKED,{channel_id:e.id,guild_id:e.guild_id}),l.ComponentDispatch.dispatch(s.ComponentActions.OPEN_THREAD_NOTIFICATION_SETTINGS)},handleCancel:function(){(0,i.trackWithMetadata)(s.AnalyticEvents.THREAD_NOTIFICATION_NUDGE_CLOSED,{channel_id:e.id,guild_id:e.guild_id}),d(!0),o.default.set("hideThreadNotificationsNudge",!0)}}};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(3),o=d(n(28)),i=n(106),l=n(121),u=d(n(204)),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.channel;return a.createElement(a.Fragment,null,!0===(null===(t=n.threadMetadata)||void 0===t?void 0:t.archived)?null:b(g.default,{channel:n}),b(N,{channel:n}),b(_.default.Icon,{icon:v.default,tooltip:O.default.Messages.CLOSE,onClick:function(){return E.default.closeThreadSidebar(n.parent_id)}}))};var r,a=C(n(0)),o=I(n(8901)),i=I(n(8329)),l=I(n(8639)),u=I(n(8902)),s=I(n(9127)),d=I(n(8258)),f=C(n(8253)),c=n(42),p=I(n(278)),v=I(n(255)),y=I(n(8744)),m=I(n(8331)),_=I(n(8282)),h=n(121),E=I(n(8265)),g=I(n(10454)),S=n(1),O=I(n(6));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(){return(M=Object.assign||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}).apply(this,arguments)}function N(e){var t=e.channel,n=a.useState(!1),r=n[0],o=n[1];function i(){o((function(e){return!e}))}var l=O.default.Messages.MORE;return b(p.default,{shouldShow:r,animation:p.default.Animation.NONE,position:p.default.Positions.BOTTOM,align:p.default.Align.RIGHT,autoInvert:!1,onRequestClose:function(){return o(!1)},renderPopout:function(e){return a.createElement(A,M({},e,{channel:t}))}},void 0,(function(e,t){return a.createElement(_.default.Icon,M({},e,{onClick:i,tooltip:t?null:l,icon:m.default,"aria-label":l,selected:t}))}))}function A(e){var t=e.channel,n=e.closePopout,r=e.onSelect,a=(0,l.default)(t,"Sidebar Overflow"),p=(0,s.default)(t),v=(0,o.default)(t),m=(0,u.default)(t),_=(0,i.default)(t),E=(0,d.default)(t.id);function g(){(0,c.transitionToGuild)(t.guild_id,t.id)}return b(f.default,{navId:"thread-context",onClose:n,"aria-label":O.default.Messages.THREAD_ACTIONS_MENU_LABEL,onSelect:r},void 0,b(f.MenuGroup,{},void 0,a,p),b(f.MenuGroup,{},void 0,m,b(f.MenuItem,{id:"open",label:O.default.Messages.OPEN_IN_FULL_VIEW,action:g})),b(f.MenuGroup,{},void 0,b(f.MenuItem,{id:"search",label:O.default.Messages.SEARCH,icon:y.default,action:function(){g(),setTimeout((function(){h.ComponentDispatch.dispatch(S.ComponentActions.FOCUS_SEARCH,{prefillCurrentChannel:!1})}),2e3)}}),b(f.MenuItem,{id:"pins",label:O.default.Messages.PINS,icon:y.default,action:function(){g(),h.ComponentDispatch.dispatch(S.ComponentActions.TOGGLE_CHANNEL_PINS)}})),b(f.MenuGroup,{},void 0,v,_),b(f.MenuGroup,{},void 0,E))}N.displayName="OverflowMenuButton",A.displayName="OverflowMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=U(n(0)),o=j(n(9)),i=j(n(8)),l=U(n(680)),u=n(3),s=j(n(184)),d=n(389),f=n(9105),c=j(n(8406)),p=j(n(105)),v=j(n(106)),y=n(1246),m=j(n(8322)),_=j(n(8264)),h=j(n(8268)),E=U(n(8731)),g=j(n(160)),S=j(n(8582)),O=j(n(278)),I=n(1230),T=j(n(8436)),C=j(n(1210)),b=n(121),M=n(48),N=j(n(43)),A=j(n(8725)),P=U(n(8357)),R=j(n(8412)),L=n(1),D=j(n(6)),w=j(n(7406));function j(e){return e&&e.__esModule?e:{default:e}}function k(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return k=function(){return e},e}function U(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=k();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function G(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function F(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function B(){return(B=Object.assign||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}).apply(this,arguments)}function H(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,x(e,t)}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var V=N.default.getEnableHardwareAcceleration(),W={x:38,y:11,targetWidth:232,targetHeight:40,offset:{x:0,y:0}},Y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).renderUserContextMenu=function(e){(0,d.openContextMenu)(e,(function(e){return a.createElement(m.default,B({},e,{user:t.props.user,guildId:t.props.guildId,channelId:t.props.channel.id,showMediaItems:!0,popoutPosition:O.default.Positions.LEFT}))}))},t.handleShiftClick=function(){var e=t.props,n=e.user,r=n.username,a=n.tag,o=e.channel.id,i="@"+(g.default.hidePersonalInformation?r:a);b.ComponentDispatch.dispatchToLastSubscribed(L.ComponentActions.INSERT_TEXT,{content:i}),c.default.startTyping(o)},t.openGuildSubscriptionModal=function(e){var n=t.props.guildId;null!=n&&(e.stopPropagation(),(0,I.openFullScreenLayer)((function(e){var t=e.transitionState,r=e.closeLayer;return F(R.default,{layerTransitionState:t,close:r,guildId:n,locationSection:L.AnalyticsSections.MEMBER_LIST})})))},t.renderUserPopout=function(e){return a.createElement(h.default,B({},e,{userId:t.props.user.id,guildId:t.props.guildId,channelId:t.props.channel.id}))},t}H(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!(0,s.default)(this.props,e,["channelId"])},n.render=function(){var e=this,t=this.props,n=t.colorString,r=t.isOwner,o=t.nick,i=t.user,l=t.activities,u=t.applicationStream,s=t.status,d=t.channel,f=t.guildId,c=t.isTyping,p=t.isMobileOnline,v=t.premiumSince,y=G(t,["colorString","isOwner","nick","user","activities","applicationStream","status","channel","guildId","isTyping","isMobileOnline","premiumSince"]),m=null!=v?new Date(v):null;return F(O.default,{preload:function(){return(0,_.default)(i.id,i.getAvatarURL(f))},renderPopout:this.renderUserPopout,position:O.default.Positions.LEFT,spacing:16,onShiftClick:this.handleShiftClick},void 0,(function(t,v){return a.createElement(A.default,B({onContextMenu:e.renderUserContextMenu,shouldAnimateStatus:V,user:i,nick:o,status:s,activities:l,applicationStream:u,isOwner:r,premiumSince:m,colorString:n,isTyping:c,channel:d,guildId:f,isMobile:p,onClickPremiumGuildIcon:e.openGuildSubscriptionModal,selected:v,itemProps:y},t))}))},t}(a.Component);Y.displayName="ChannelMember";var z=a.memo((function(e){var t=e.channel,n=e.user,r=e.index,o=(0,l.useListItem)(""+r),i=(0,u.useStateFromStores)([S.default],(function(){return S.default.isTyping(t.id,n.id)}));return a.createElement(Y,B({},e,o,{isTyping:i}))})),K=a.memo((function(e){var t=e.id,n=e.title,r=e.count;return t===L.StatusTypes.UNKNOWN?F("div",{className:w.default.membersGroup},void 0,F("div",{className:w.default.memberGroupsPlaceholder})):F(T.default,{className:w.default.membersGroup,"aria-label":D.default.Messages.CHANNEL_MEMBERS_A11Y_LABEL.format({title:n,count:r})},void 0,F("span",{"aria-hidden":!0},void 0,n," — ",r))}));function $(e){var t=e.index,n=(0,l.useListItem)(""+t);return F(A.default,{itemProps:n})}$.displayName="ChannelMemberPlaceholder";var Z=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this)._list=null,t.setList=function(e){t._list=e,t.props.listRef.current=e},t.renderSection=function(e){var n=e.section,r=t.props.groups[n];return 0===n?F(P.default,{tutorialId:"whos-online",position:P.TutorialIndicatorPositions.LEFT,inlineSpecs:W},"section-"+n,a.createElement(K,r)):a.createElement(K,B({},r,{key:"section-"+n}))},t.getRowProps=function(e){var n=t.props,r=n.groups,a=n.rows,o=r[e.section];if(null==o)return null;var i=o.index;return null==i||"row"!==e.type?null:a[i+1+e.row]},t.renderRow=function(e){var n=e.section,r=e.row,a=e.rowIndex,o=t.props.channel,i=t.getRowProps(e);if(null!=i&&i.type===E.MemberListRowTypes.MEMBER&&"user"in i){var l=i.colorString,u=i.user,s=i.status,d=i.isOwner,f=i.isMobileOnline,c=i.nick,p=i.activities,v=i.applicationStream,y=i.premiumSince;return F(z,{colorString:l,user:u,status:s,isOwner:d,nick:c,activities:p,applicationStream:v,channel:o,guildId:o.guild_id,premiumSince:y,isMobileOnline:f,index:a},"member-"+i.user.id)}return F($,{index:a},"placeholder-"+n+":"+r)},t.handleScroll=function(){t.updateSubscription()},t.updateSubscription=i.default.debounce((function(){if(null!=t._list){var e=t.props.channel,n=t.getDimensions(),r=n.rowHeight,a=n.y,o=n.height;(0,f.subscribeChannelDimensions)(e.guild_id,e.id,a,o,r)}}),50),t.trackMemberListViewed=function(){var e;if(t.lastReportedAnalyticsChannel!==t.props.channel.id){var n=null===(e=t._list)||void 0===e?void 0:e.getItems(),r=t.getDimensions().rowsVisible;if(void 0!==r&&0!==r&&null!=n){var a=n.map((function(e){return t.getRowProps(e)})).slice(0,r+1).filter(M.isNotNullish);if(0!==a.length){var o=a.reduce((function(e,t){return t.type!==E.MemberListRowTypes.MEMBER||(e.num_users_visible++,t.isMobileOnline&&e.num_users_visible_with_mobile_indicator++,null!=t.activities&&t.activities.length>0&&(e.num_users_visible_with_activity++,t.activities.some((function(e){return e.type===L.ActivityTypes.PLAYING}))&&e.num_users_visible_with_game_activity++)),e}),{num_users_visible:0,num_users_visible_with_mobile_indicator:0,num_users_visible_with_game_activity:0,num_users_visible_with_activity:0});t.lastReportedAnalyticsChannel=t.props.channel.id,v.default.trackWithMetadata(L.AnalyticEvents.MEMBER_LIST_VIEWED,B({},o))}}}},t}H(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return e.channel.id!==this.props.channel.id||e.version!==this.props.version||e.groups.length!==this.props.groups.length},n.componentDidMount=function(){this.updateSubscription(),this.trackMemberListViewed()},n.componentDidUpdate=function(e){e.channel.id!==this.props.channel.id&&this.updateSubscription(),this.trackMemberListViewed()},n.getDimensions=function(){var e=this._list;if(null==e)return{y:0,height:0,rowHeight:0};var t=e.getScrollerState(),n=t.offsetHeight,r=t.scrollTop;return{height:n,rowHeight:44,rowsVisible:Math.floor(n/44),y:r}},n.render=function(){var e=this,t=this.props,n=t.groups,r=t.listId,i=this.context,l=i.ref,u=G(i,["ref"]);return F(y.FocusJumpSection,{},void 0,(function(t){return F("div",{className:(0,o.default)(w.default.membersWrap,w.default.hiddenMembers)},void 0,a.createElement(C.default,B({key:r,ref:function(t){var n;e._list=t,e.props.listRef.current=t,l.current=null!==(n=null==t?void 0:t.getScrollerNode())&&void 0!==n?n:null},className:w.default.members,paddingTop:0,sectionHeight:40,rowHeight:44,renderSection:e.renderSection,renderRow:e.renderRow,"aria-label":D.default.Messages.MEMBERS,sections:n.map((function(e){return e.count})),onScroll:e.handleScroll,fade:!0},u,t)))}))},t}(a.Component);Z.displayName="ChannelMembers",Z.contextType=l.ListContainerContext;t.default=function(e){var t=e.channel,n=(0,u.useStateFromStores)([p.default],(function(){return p.default.keyboardModeEnabled})),r=(0,u.useStateFromStoresObject)([E.default],(function(){return E.default.getProps(t.guild_id,t.id)})),o=r.rows,i=r.groups,s=a.useRef(null),d=a.useCallback((function(e,t){var n=s.current;if(null!=n){var r=parseInt(t,10),a=n.getSectionRowFromIndex(r),o=a[0],i=a[1],l=0===o&&0===i?44:0;n.scrollToIndex({section:o,row:i,padding:l,callback:function(){requestAnimationFrame((function(){var t;return null===(t=document.querySelector(e))||void 0===t?void 0:t.focus({preventScroll:!0})}))}})}}),[]),f=a.useCallback((function(){return new Promise((function(e){var t=s.current;if(null==t)return e();t.scrollToTop({callback:function(){return requestAnimationFrame((function(){return e()}))}})}))}),[]),c=a.useCallback((function(){return new Promise((function(e){var t=s.current;if(null==t)return e();t.scrollToBottom({callback:function(){requestAnimationFrame((function(){return setTimeout(e,100)}))}})}))}),[]),v=(0,l.default)({id:"members-"+t.id,setFocus:d,isEnabled:n,scrollToStart:f,scrollToEnd:c});return F(l.ListNavigatorProvider,{navigator:v},void 0,a.createElement(Z,B({},e,r,{groups:i,rows:o,listRef:s})))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=m(n(1166)),l=m(n(106)),u=m(n(8307)),s=m(n(24)),d=m(n(8318)),f=n(1),c=m(n(6)),p=m(n(8095)),v=m(n(10351)),y=m(n(11387));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var E=((r={})[f.ThemeTypes.DARK]=v.default,r[f.ThemeTypes.LIGHT]=y.default,r),g=h(o.Fragment,{}),S=h(d.default.Icon,{icon:u.default,"aria-hidden":!0}),O=function(){var e=(0,i.default)();return o.useEffect((function(){l.default.trackWithMetadata(f.AnalyticEvents.GUILD_OUTAGE_VIEWED,{})}),[]),h("div",{className:p.default.container},void 0,h(d.default,{toolbar:g},void 0,S,h(d.default.Title,{},void 0,c.default.Messages.GUILD_UNAVAILABLE_HEADER)),h("div",{className:p.default.content},void 0,h("img",{alt:"",className:p.default.splashImage,src:E[e]}),h(s.default,{className:p.default.splashHeader,size:s.default.Sizes.SIZE_24},void 0,c.default.Messages.GUILD_UNAVAILABLE_TITLE),h(s.default,{className:p.default.splashText,size:s.default.Sizes.SIZE_16},void 0,c.default.Messages.GUILD_UNAVAILABLE_BODY)))};O.displayName="ChannelUnavailable";var I=O;t.default=I},function(e,t,n){e.exports=n.p+"0e88c0d5ad220379d8e2438dd6444222.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var r,a=v(n(0)),o=n(3),i=c(n(1339)),l=c(n(39)),u=v(n(8302)),s=c(n(151)),d=c(n(6)),f=c(n(8096));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t=e.channelId;a.useEffect((function(){i.default.loadThread(t)}));var r,c=(0,o.useStateFromStores)([l.default],(function(){return l.default.theme}));return r=null!=t?y(s.default,{type:s.default.Type.SPINNING_CIRCLE}):y(u.EmptyStateText,{note:d.default.Messages.CHANNELS_UNAVAILABLE_BODY},void 0,d.default.Messages.CHANNELS_UNAVAILABLE_TITLE),y("div",{className:f.default.noChannel},void 0,y(u.default,{theme:c},void 0,y(u.EmptyStateImage,{darkSrc:n(11389),lightSrc:n(11390),width:272,height:222}),r))}m.displayName="EmptyChannel"},function(e,t,n){e.exports=n.p+"94b5558353f1d01035a874f6eddf6d70.svg"},function(e,t,n){e.exports=n.p+"25613a647083f6b2b196f40f58732de6.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=N;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(389),l=O(n(8930)),u=O(n(8264)),s=O(n(8268)),d=O(n(256)),f=O(n(70)),c=O(n(8582)),p=O(n(12)),v=O(n(278)),y=O(n(8436)),m=O(n(272)),_=n(11392),h=O(n(43)),E=O(n(8725)),g=O(n(6)),S=O(n(7406));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(){return(C=Object.assign||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}).apply(this,arguments)}var b=h.default.getEnableHardwareAcceleration();function M(e){var t=e.user,n=e.channel,r=(0,o.useStateFromStoresObject)([f.default,p.default,d.default],(function(){return f.default.isFriend(t.id)||t===p.default.getCurrentUser()?{status:d.default.getStatus(t.id),activities:d.default.getActivities(t.id)}:{}})),y=r.status,m=r.activities,_=(0,o.useStateFromStores)([c.default],(function(){return null!=c.default.getTypingUsers(n.id)[t.id]})),h=(0,o.useStateFromStores)([d.default],(function(){return d.default.isMobileOnline(t.id)})),S=(0,o.useStateFromStores)([f.default],(function(){return f.default.getNickname(t.id)})),O=function(e){(0,i.openContextMenu)(e,(function(e){return a.createElement(l.default,C({},e,{user:t,channel:n}))}))};return T(v.default,{preload:function(){return(0,u.default)(t.id,t.getAvatarURL(void 0))},renderPopout:function(e){return a.createElement(s.default,C({},e,{userId:t.id,channelId:n.id}))},position:v.default.Positions.LEFT},void 0,(function(e){return a.createElement(E.default,C({key:t.id,user:t,isOwner:t.id===n.ownerId,ownerTooltipText:g.default.Messages.GROUP_OWNER,shouldAnimateStatus:b,isTyping:_,status:y,activities:m,channel:n,onContextMenu:O,isMobile:h,nick:S},e))}))}function N(e){var t=e.channel,n=(0,o.useStateFromStores)([p.default],(function(){return(0,_.getRecipients)(t.recipients,p.default)}),[t.recipients]);return T("div",{className:S.default.membersWrap},void 0,T(m.default,{className:S.default.members,fade:!0},void 0,T(y.default,{className:S.default.membersGroup},void 0,g.default.Messages.MEMBERS+"—"+n.length),n.map((function(e){return a.createElement(M,C({},e,{channel:t}))}))))}M.displayName="PrivateChannelRecipient",N.displayName="PrivateChannelRecipients"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRecipients=function(e,t){return(0,a.default)(e).map(t.getUser).unshift(t.getNullableCurrentUser()).filter(o.isNotNullish).sortBy((function(e){return e.username.toLowerCase()})).map((function(e){return{key:e.id,user:e}})).value()};var r,a=(r=n(8))&&r.__esModule?r:{default:r},o=n(48)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=ee;var r,a=Y(n(0)),o=V(n(9)),i=V(n(8)),l=Y(n(680)),u=n(3),s=n(389),d=V(n(8406)),f=V(n(105)),c=n(1246),p=n(1209),v=n(11394),y=V(n(10458)),m=V(n(9226)),_=V(n(8264)),h=V(n(8268)),E=V(n(163)),g=V(n(56)),S=V(n(256)),O=V(n(479)),I=V(n(160)),T=V(n(8582)),C=V(n(12)),b=V(n(278)),M=V(n(8750)),N=V(n(1221)),A=V(n(696)),P=n(1230),R=V(n(47)),L=V(n(8436)),D=V(n(24)),w=V(n(1210)),j=n(121),k=V(n(43)),U=V(n(8725)),G=V(n(8412)),F=n(1),B=V(n(6)),H=V(n(7406)),x=V(n(8097));function V(e){return e&&e.__esModule?e:{default:e}}function W(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return W=function(){return e},e}function Y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=W();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function z(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function K(){return(K=Object.assign||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}).apply(this,arguments)}var $=k.default.getEnableHardwareAcceleration();function Z(e){var t=e.channel,n=e.sectionId,r=e.userId,o=(0,u.useStateFromStores)([T.default],(function(){return T.default.isTyping(t.id,r)})),i=(0,u.useStateFromStores)([g.default],(function(){return g.default.getMember(t.guild_id,r)})),f=(0,u.useStateFromStores)([C.default],(function(){return C.default.getUser(r)})),c=(0,u.useStateFromStores)([C.default],(function(){return C.default.getNullableCurrentUser()})),p=(null==f?void 0:f.id)===(null==c?void 0:c.id),v=(0,u.useStateFromStores)([S.default,O.default],(function(){return p?O.default.getStatus():S.default.getStatus(r,t.guild_id)})),M=(0,u.useStateFromStores)([S.default],(function(){return S.default.isMobileOnline(r)})),N=(0,u.useStateFromStores)([S.default,O.default],(function(){return p?O.default.getActivities():S.default.getActivities(r,t.guild_id)})),A=(0,u.useStateFromStores)([E.default],(function(){return E.default.getStreamForUser(r)})),R=(0,l.useListItem)(r),L=(0,u.useStateFromStores)([y.default],(function(){return y.default.canUserViewChannel(t.id,n,r)})),D=a.useCallback((function(e){null!=f&&(0,s.openContextMenu)(e,(function(e){return a.createElement(m.default,K({},e,{user:f,guildId:t.guild_id,channelId:t.id,popoutPosition:b.default.Positions.LEFT}))}))}),[f,t]),w=a.useCallback((function(){if(null!=f){var e="@"+(I.default.hidePersonalInformation?f.username:f.tag);j.ComponentDispatch.dispatchToLastSubscribed(F.ComponentActions.INSERT_TEXT,{content:e}),d.default.startTyping(t.id)}}),[f,t]),k=a.useCallback((function(e){e.stopPropagation(),(0,P.openFullScreenLayer)((function(e){var n=e.transitionState,r=e.closeLayer;return z(G.default,{layerTransitionState:n,close:r,guildId:t.guild_id,locationSection:F.AnalyticsSections.MEMBER_LIST})}))}),[t.guild_id]);if(null==f)return null;var H=null==i?void 0:i.premiumSince;return z(b.default,{preload:function(){return(0,_.default)(f.id,f.getAvatarURL(t.guild_id))},renderPopout:function(e){return a.createElement(h.default,K({},e,{userId:f.id,guildId:t.guild_id,channelId:t.id}))},position:b.default.Positions.LEFT,spacing:16,onShiftClick:w},void 0,(function(e,n){return a.createElement(U.default,K({onContextMenu:D,shouldAnimateStatus:$,user:f,nick:null==i?void 0:i.nick,status:v,activities:N,colorString:null==i?void 0:i.colorString,isTyping:o,channel:t,guildId:t.guild_id,isMobile:M,selected:n,applicationStream:A,premiumSince:null==H?null:new Date(H),onClickPremiumGuildIcon:k,itemProps:R,lostPermissionTooltipText:L?void 0:B.default.Messages.THREAD_MEMBER_WITHOUT_ACCESS},e))}))}Z.displayName="ThreadMember";var q=z(N.default,{width:12,height:12});var X=a.memo(Z),J=a.memo((function(e){var t=e.id,n=e.label,r=e.count;return t===F.StatusTypes.UNKNOWN?z("div",{className:H.default.membersGroup},void 0,z("div",{className:H.default.memberGroupsPlaceholder})):z(L.default,{className:H.default.membersGroup,"aria-label":B.default.Messages.CHANNEL_MEMBERS_A11Y_LABEL.format({title:n,count:r})},void 0,z("span",{"aria-hidden":!0},void 0,n," — ",r))})),Q=a.memo((function(e){return e.channel.type===F.ChannelTypes.PRIVATE_THREAD?a.createElement(a.Fragment,null,z("div",{className:x.default.divider}),z(D.default,{size:D.default.Sizes.SIZE_12,color:D.default.Colors.HEADER_SECONDARY,className:x.default.private},void 0,q," ",B.default.Messages.THREAD_BROWSER_PRIVATE),z(D.default,{size:D.default.Sizes.SIZE_14,color:D.default.Colors.HEADER_SECONDARY,className:x.default.instructions},void 0,B.default.Messages.MEMBER_LIST_PRIVATE_THREAD_INSTRUCTIONS)):null}));function ee(e){var t=e.channel,n=e.guild,r="members-"+t.id,s=(0,p.useCanSeeThreads)(),d=(0,v.useThreadMemberListSections)(t.id,n),y=d.filter((function(e){return e.userIds.length>0})).reverse()[0],m=function(e){var t=(0,u.useStateFromStores)([f.default],(function(){return f.default.keyboardModeEnabled})),n=a.useRef(null),r=a.useCallback((function(e,t){var r=n.current;if(null!=r){var a=parseInt(t,10),o=r.getSectionRowFromIndex(a),i=o[0],l=o[1],u=0===i&&0===l?44:0;r.scrollToIndex({section:i,row:l,padding:u,callback:function(){requestAnimationFrame((function(){var t;return null===(t=document.querySelector(e))||void 0===t?void 0:t.focus({preventScroll:!0})}))}})}}),[]),o=a.useCallback((function(){return new Promise((function(e){var t=n.current;if(null==t)return e();t.scrollToTop({callback:function(){return requestAnimationFrame((function(){return e()}))}})}))}),[]),i=a.useCallback((function(){return new Promise((function(e){var t=n.current;if(null==t)return e();t.scrollToBottom({callback:function(){requestAnimationFrame((function(){return setTimeout(e,100)}))}})}))}),[]);return{navigator:(0,l.default)({id:e,setFocus:r,isEnabled:t,scrollToStart:o,scrollToEnd:i}),listRef:n}}(r),_=m.navigator,h=m.listRef,E=0===d.length||d.every((function(e){return 0===e.userIds.length}));if(!s)return null;if(E)return re;var g=i.default.omit(_.containerProps,["ref"]),S=z(Q,{channel:t},"footer");return z(l.ListNavigatorProvider,{navigator:_},void 0,z(c.FocusJumpSection,{},void 0,(function(e){return z("div",{className:(0,o.default)(H.default.membersWrap,H.default.hiddenMembers)},void 0,a.createElement(w.default,K({key:r,ref:h,className:H.default.members,paddingTop:0,sectionHeight:40,renderSection:function(e){var t=e.section,n=d[t];return z(J,{id:n.id,label:n.label,count:n.userIds.length},n.id)},rowHeight:44,renderRow:function(e){var n=e.section,r=e.row,a=d[n],o=a.userIds,i=a.id;return z(X,{channel:t,sectionId:i,userId:o[r]},o[r])},footerHeight:function(e){return d[e]===y&&t.type===F.ChannelTypes.PRIVATE_THREAD?80:0},renderFooter:function(e){return d[e.section]===y?S:null},"aria-label":B.default.Messages.MEMBERS,sections:d.map((function(e){return e.userIds.length})),fade:!0},g,e)))})))}ee.displayName="ThreadMembers";var te=z(A.default,{width:32,height:32});function ne(){return z("div",{className:(0,o.default)(H.default.membersWrap,H.default.hiddenMembers,H.default.members,x.default.emptyState)},void 0,z(D.default,{className:x.default.emptyStateHeader,size:D.default.Sizes.SIZE_12,color:D.default.Colors.INTERACTIVE_NORMAL},void 0,B.default.Messages.MEMBERS),z("div",{className:x.default.emptyStateIconContainer},void 0,z("div",{className:x.default.emptyStateIcon},void 0,te),z(M.default,{className:x.default.emptyStateStars})),z(R.default,{size:R.default.Sizes.SIZE_16},void 0,B.default.Messages.THREAD_MEMBER_LIST_EMPTY_STATE_HEADER),z(D.default,{className:x.default.emptyStateSubtext,size:D.default.Sizes.SIZE_14,color:D.default.Colors.HEADER_SECONDARY},void 0,B.default.Messages.THREAD_MEMBER_LIST_EMPTY_STATE_SUBTEXT))}ne.displayName="EmptyState";var re=z(ne,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useThreadMemberListSections=function(e,t){(0,o.useStateFromStores)([i.default],(function(){return i.default.getMemberListVersion(e)}));var n=(0,o.useStateFromStores)([i.default],(function(){return i.default.getMemberListSections(e)})),u=r.useMemo((function(){var e=(0,a.default)(t.roles).values().filter((function(e){return e.hoist})).sortBy((function(e){return e.position})).reverse().map((function(e){return e.id})).value();return e.push("online","offline"),e}),[t.roles]);return null==n?[]:u.map((function(e){var r,a,o=t.roles[e];return{label:"online"===e?l.default.Messages.STATUS_ONLINE:"offline"===e?l.default.Messages.STATUS_OFFLINE:o.name,userIds:null!==(r=null===(a=n[e])||void 0===a?void 0:a.userIds)&&void 0!==r?r:[],id:e}}))};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=u(n(8)),o=n(3),i=u(n(10458)),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MINIMUM_RANGE",{enumerable:!0,get:function(){return o.MINIMUM_RANGE}}),Object.defineProperty(t,"DEFAULT_RANGES",{enumerable:!0,get:function(){return o.DEFAULT_RANGES}}),t.default=void 0;var r=d(n(8)),a=n(57),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(9106)),i=d(n(11396)),l=d(n(11397)),u=n(1);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){return e&&e.__esModule?e:{default:e}}function f(){return(f=Object.assign||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}).apply(this,arguments)}function c(e){return null!=e&&"null"!==e&&e!==u.ME&&"undefined"!==e}var p=function(){function e(e){var t=this;this._members=new i.default((function(e,n){return t._enqueue(e,{members:n})})),this._channels=new o.default((function(e,n){return t._enqueue(e,{channels:n})})),this._threadMemberLists=new l.default((function(e,n){return t._enqueue(e,{thread_member_lists:n})})),this._typing=new Set,this._threads=new Set,this._activities=new Set,this._subscribed=new Set,this._pending={},this._flush=new a.DelayedCall(0,(function(){return t.flush()})),this._onChange=e}var t=e.prototype;return t._enqueue=function(e,t){this._pending[e]=f({},this._pending[e],{},t),this._flush.delay()},t.reset=function(){this._subscribed.clear(),this._pending={},this._members.reset(),this._channels.reset(),this._threadMemberLists.reset(),this._typing.clear(),this._threads.clear(),this._activities.clear()},t.get=function(e){return{typing:this._typing.has(e),threads:this._threads.has(e),activities:this._activities.has(e),members:this._members.get(e),channels:this._channels.get(e),thread_member_lists:this._threadMemberLists.get(e)}},t.getSubscribedThreadIds=function(){return this._threadMemberLists.getSubscribedThreadIds()},t.forEach=function(e){this._subscribed.forEach(e)},t.clear=function(e){this._subscribed.delete(e),delete this._pending[e],this._members.clear(e),this._channels.clear(e),this._threadMemberLists.clear(e),this._typing.delete(e),this._threads.delete(e),this._activities.delete(e)},t.flush=function(){var e=this;r.default.forEach(this._pending,(function(t,n){e._subscribed.add(n),e._onChange(n,t)})),this._pending={}},t.subscribeUser=function(e,t){c(e)&&this._members.subscribe(e,t)},t.unsubscribeUser=function(e,t){c(e)&&this._members.unsubscribe(e,t)},t.subscribeChannel=function(e,t,n){return!!c(e)&&this._channels.subscribe(e,t,n)},t.subscribeThreadMemberList=function(e,t,n){return!!c(e)&&this._threadMemberLists.subscribe(e,t,n)},t.unsubscribeThreadMemberList=function(e,t){return!!c(e)&&this._threadMemberLists.unsubscribe(e,t)},t.subscribeToGuild=function(e){this._subscribeToFeature(e,this._typing,{typing:!0}),this._subscribeToFeature(e,this._activities,{activities:!0}),this._subscribeToFeature(e,this._threads,{threads:!0})},t._subscribeToFeature=function(e,t,n){c(e)&&(t.has(e)||(t.add(e),this._enqueue(e,n)))},e}();t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(8)),a=n(57),o=i(n(26));function i(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(e){var t=this;this._subscriptions={},this._unsubscriptions={},this._unsubscribe=new a.DelayedCall(6e4,(function(){return t.flushUnsubscriptions()})),this._onChange=e}var t=e.prototype;return t.reset=function(){this._subscriptions={},this._unsubscriptions={},this._unsubscribe.cancel()},t.get=function(e){var t=this._subscriptions[e]||{};return r.default.keys(t)},t.clear=function(e){delete this._subscriptions[e],delete this._unsubscriptions[e]},t.subscribe=function(e,t){var n=this._subscriptions[e]||{};n[t]=(n[t]||0)+1,this._subscriptions[e]=n,1===n[t]&&this._onChange(e,this.get(e)),this.checkForLeaks(e,t)},t.isSubscribed=function(e,t){return null!=this._subscriptions[e]&&null!=this._subscriptions[e][t]},t.unsubscribe=function(e,t){if(this.isSubscribed(e,t)){var n=this._unsubscriptions[e]||{};n[t]=(n[t]||0)+1,this._unsubscriptions[e]=n,1===n[t]&&this._unsubscribe.delay(!1)}},t.checkForLeaks=function(e,t){var n=(this._subscriptions[e]&&this._subscriptions[e][t]||0)-(this._unsubscriptions[e]&&this._unsubscriptions[e][t]||0);n>5&&new o.default("GuildMemberSubscriptions").warn("GuildMemberSubscriptions.subscribe(...): Potential reference leak! ("+n+" subscriptions)")},t.flushUnsubscriptions=function(){var e=this;r.default.isEmpty(this._unsubscriptions)||(r.default.forEach(this._unsubscriptions,(function(t,n){var a=e._subscriptions[n];r.default.forEach(t,(function(e,t){a[t]=(a[t]||0)-e,a[t]<=0&&delete a[t]})),r.default.isEmpty(a)&&delete e._subscriptions[n],e._onChange(n,e.get(n))})),this._unsubscriptions={})},e}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(404))&&r.__esModule?r:{default:r};function o(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l=function(){function e(e){this._subscriptions={},this._onChange=e}var t=e.prototype;return t.reset=function(){(window.__THREAD_DEBUG_LOG||(window.__THREAD_DEBUG_LOG=[])).push(new Date+" THREAD_DEBUG: Resetting subscriptions"),this._subscriptions={}},t.get=function(e){return this._get(e).keys()},t.getSubscribedThreadIds=function(){var e=new Set;for(var t in this._subscriptions)for(var n,r=o(this._subscriptions[t].keys());!(n=r()).done;){var a=n.value;e.add(a)}return e},t._get=function(e){return this._subscriptions[e]||new a.default({max:3,updateAgeOnGet:!0})},t.clear=function(e){(window.__THREAD_DEBUG_LOG||(window.__THREAD_DEBUG_LOG=[])).push(new Date+" THREAD_DEBUG: Clearing subscriptiongs for "+e),e in this._subscriptions&&(delete this._subscriptions[e],this._onChange(e,[]))},t.subscribe=function(e,t,n){var r=this._get(e);return r.has(t)?((window.__THREAD_DEBUG_LOG||(window.__THREAD_DEBUG_LOG=[])).push(new Date+" THREAD_DEBUG: Subscribing to "+t),r.set(t,Date.now()),!1):(null!=n&&r.has(n)&&((window.__THREAD_DEBUG_LOG||(window.__THREAD_DEBUG_LOG=[])).push(new Date+" THREAD_DEBUG: Marking selected channel "+t),r.set(n,Date.now())),r.set(t,Date.now()),(window.__THREAD_DEBUG_LOG||(window.__THREAD_DEBUG_LOG=[])).push(new Date+" THREAD_DEBUG: Setting "+t),this._subscriptions[e]=r,this._onChange(e,r.keys()),!0)},t.unsubscribe=function(e,t){if(!(e in this._subscriptions))return!1;var n=this._subscriptions[e];return!!n.has(t)&&((window.__THREAD_DEBUG_LOG||(window.__THREAD_DEBUG_LOG=[])).push(new Date+" THREAD_DEBUG: Unsubscribing from "+t),n.del(t),this._onChange(e,n.keys()),!0)},e}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=f(n(9186)),i=f(n(1268)),l=f(n(696)),u=n(8282),s=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.channelId,n=(0,a.useStateFromStores)([i.default],(function(){return i.default.getSection(t)}));return p(u.Icon,{tooltip:d.default.Messages.MEMBER_LIST,icon:l.default,onClick:o.default.toggleMembersSection,selected:n===s.ChannelSections.MEMBERS})}v.displayName="ChannelMembersButton"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(3)),i=p(n(8477)),l=p(n(181)),u=p(n(8666)),s=p(n(9726)),d=p(n(8282)),f=p(n(6)),c=p(n(8098));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(){var e=t.props,n=e.channel,r=e.isMuted;i.default.updateChannelOverrideSettings(n.getGuildId(),n.id,{muted:!r})},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n),r.prototype.render=function(){var e=this.props,t=e.channel,n=e.isMuted;return y(d.default.Icon,{tooltip:n?f.default.Messages.CHANNEL_UNMUTE_TOOLTIP:f.default.Messages.CHANNEL_MUTE_TOOLTIP,icon:n?s.default:u.default,foreground:n?c.default.strikethrough:null,onClick:this.handleClick,role:"switch","aria-checked":n,"aria-label":f.default.Messages.CHANNEL_MUTE_LABEL.format({channelName:t.name})})},r}(a.PureComponent);_.displayName="ChannelMuteButton";var h=o.default.connectStores([l.default],(function(e){var t=e.channel;return{isMuted:l.default.isChannelMuted(t.getGuildId(),t.id)}}))(_);t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=m(n(11401)),l=m(n(8770)),u=m(n(200)),s=m(n(12)),d=m(n(278)),f=m(n(9225)),c=n(8282),p=n(121),v=n(1),y=m(n(6));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(){return(E=Object.assign||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}).apply(this,arguments)}function g(e){var t=e.channel,n=(0,o.useStateFromStores)([l.default,s.default],(function(){return t.isNSFW()&&(!s.default.getCurrentUser().nsfwAllowed||!l.default.didAgree(t.getGuildId()))}),[t]),r=a.useState(!1),m=r[0],_=r[1],g=(0,o.useStateFromStores)([u.default],(function(){return u.default.hasUnreadPins(t.id)}),[t]),S=a.useCallback((function(){n||_((function(e){return!e}))}),[n]);function O(e){(null==e?void 0:e.shiftKey)||p.ComponentDispatch.dispatch(v.ComponentActions.POPOUT_CLOSE)}return a.useEffect((function(){return p.ComponentDispatch.subscribe(v.ComponentActions.TOGGLE_CHANNEL_PINS,S),function(){p.ComponentDispatch.unsubscribe(v.ComponentActions.TOGGLE_CHANNEL_PINS,S)}}),[S]),h(d.default,{shouldShow:m,animation:d.default.Animation.NONE,position:d.default.Positions.BOTTOM,align:d.default.Align.RIGHT,autoInvert:!1,onRequestClose:function(){return _(!1)},renderPopout:function(e){return a.createElement(i.default,E({},e,{onJump:O,channel:t}))}},void 0,(function(e,t){return a.createElement(c.Icon,E({},e,{onClick:S,tooltip:t?null:y.default.Messages.PINNED_MESSAGES,icon:f.default,"aria-label":y.default.Messages.PINNED_MESSAGES,disabled:n,showBadge:g,selected:t}))}))}g.displayName="ChannelPinsButton";var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var r,a=_(n(0)),o=n(3),i=y(n(8581)),l=y(n(9221)),u=y(n(200)),s=y(n(12)),d=y(n(282)),f=_(n(8758)),c=y(n(8487)),p=n(1),v=y(n(6));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e){var t=e.channel,r=e.onJump,y=(0,o.useStateFromStoresObject)([l.default],(function(){var e=l.default.getPinnedMessages(t.id),n=null!=e?e.messages:[];return{messages:n,loading:null==n||null!=e&&e.loading}})),m=y.messages,_=y.loading,E=(0,o.useStateFromStores)([u.default],(function(){return u.default.hasUnreadPins(t.id)})),g=(0,o.useStateFromStores)([s.default],(function(){var e=s.default.getUser(t.getRecipientId());return null!=e?e.username:null}));return a.useEffect((function(){E&&i.default.ackPins(t.id)}),[E,t.id]),h(d.default,{"aria-label":v.default.Messages.PINNED_MESSAGES},void 0,h(f.default,{onFetch:function(){i.default.ackPins(t.id),i.default.fetchPins(t.id)},channel:t,messages:m,loading:_,analyticsName:"Channel Pins",onCloseMessage:function(e,n){null!=e&&(n.shiftKey?i.default.unpinMessage(t,e.id):c.default.confirmUnpin(t,e))},onJump:r,getProTip:function(){return t.isPrivate()?t.type===p.ChannelTypes.DM?v.default.Messages.PINNED_MESSAGES_PRO_TIP_BODY_DM.format({other:g}):v.default.Messages.PINNED_MESSAGES_PRO_TIP_BODY_GROUP_DM:v.default.Messages.PINNED_MESSAGES_PRO_TIP_BODY_CHANNEL},renderHeader:function(){return h(f.Header,{title:v.default.Messages.PINNED_MESSAGES})},renderEmptyState:function(e){var r=v.default.Messages.NO_PINS_IN_CHANNEL;t.isPrivate()&&(r=v.default.Messages.NO_PINS_IN_DM);var a=e===p.ThemeTypes.LIGHT?n(11402):n(11403);return h(f.EmptyStateCenter,{msg:r,image:a},"emptystate")},listName:"pins"}))}E.displayName="ChannelPins"},function(e,t,n){e.exports=n.p+"03c7541028afafafd1a9f6a81cb7f149.svg"},function(e,t,n){e.exports=n.p+"6793e022dc1b065b21f12d6df02f91bd.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=O(n(3)),i=n(34),l=O(n(728)),u=O(n(132)),s=O(n(9230)),d=O(n(688)),f=O(n(8754)),c=O(n(303)),p=O(n(51)),v=O(n(70)),y=O(n(80)),m=O(n(149)),_=O(n(9147)),h=O(n(8313)),E=O(n(8282)),g=n(1),S=O(n(6));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleStartCall=function(e,n){var r=t.props,a=r.channel,o=r.notFriend,i=o?a.getRecipientId():null;l.default.call(a.id,n,!o&&!a.isManaged()&&e&&!e.shiftKey,i)},t.handleJoinCall=function(e){u.default.selectVoiceChannel(t.props.channel.id,e)},t.handleVoiceClick=function(e){var n=t.props,r=n.callUnavailable,a=n.callActive;if(!r)return a?t.handleJoinCall(!1):t.handleStartCall(e,!1)},t.handleStartVideoCall=function(e){t.handleStartCall(e,!0)},t.handleJoinVideoCall=function(){t.handleJoinCall(!0)},t.handleBrowserNotSupported=function(){(0,f.default)()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,C(t,n);var o=r.prototype;return o.renderVideoCallButton=function(){var e=this.props,t=e.inCall,n=e.callActive,r=e.callUnavailable,a=e.channel,o=e.mode;if(t||n&&o===g.ChannelModes.VOICE)return null;var l,u=a.isManaged(),s=null,d=!1;return p.default.supports(i.Features.VIDEO)?n&&o===g.ChannelModes.VIDEO?(l=this.handleJoinVideoCall,s=u?S.default.Messages.CONNECT:S.default.Messages.JOIN_VIDEO_CALL):(l=this.handleStartVideoCall,s=u?S.default.Messages.CONNECT:S.default.Messages.START_VIDEO_CALL):(d=!0,l=this.handleBrowserNotSupported,s=S.default.Messages.BROWSER_NOT_SUPPORTED),T(E.default.Icon,{icon:h.default,onClick:l,disabled:d||r,tooltip:s})},o.renderVoiceCallButton=function(){var e=this.props,t=e.inCall,n=e.callActive,r=e.callUnavailable,a=e.channel;if(t)return null;var o,i=a.isManaged(),l=null,u=!1;return r?(l=i?S.default.Messages.VOICE_UNAVAILABLE:S.default.Messages.CALL_UNAVAILABLE,o=m.default.Colors.RED,u=!0):l=n?i?S.default.Messages.CONNECT:S.default.Messages.JOIN_VOICE_CALL:i?S.default.Messages.CONNECT:S.default.Messages.START_VOICE_CALL,T(E.default.Icon,{icon:_.default,onClick:this.handleVoiceClick,disabled:u,tooltip:l,tooltipColor:o})},o.render=function(){return T(a.Fragment,{},void 0,this.renderVoiceCallButton(),this.renderVideoCallButton())},r}(a.PureComponent);b.displayName="PrivateChannelCallButton";var M=(0,s.default)((function(e,t){var n;return(n={})[g.ComponentActions.CALL_START]=t.handleVoiceClick.bind(t),n}))(b),N=o.default.connectStores([c.default,y.default,v.default,d.default],(function(e){var t=e.channel,n=y.default.isInChannel(t.id),r=t.getRecipientId();return{channel:t,mode:d.default.getMode(t.id),inCall:n,callActive:c.default.isCallActive(t.id),callUnavailable:c.default.isCallUnavailable(t.id),notFriend:t.type===g.ChannelTypes.DM&&null!=r&&!v.default.isFriend(r)}}))(M);t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(192),i=m(n(3)),l=m(n(391)),u=m(n(8299)),s=n(5687),d=m(n(11406)),f=m(n(8257)),c=n(6056),p=m(n(9233)),v=n(1),y=m(n(7393));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).fetchStoreListing=function(e){var n=t.props,r=n.channel,a=n.inputSkuId;return null!=e?l.default.fetchChannelStoreListing(r.id,e):null!=a?l.default.fetchChannelStoreListing(r.id,a):l.default.fetchChannelStoreListing(r.id)},t.renderApplicationListing=function(e){var n=e.location,r=t.props,a=r.channel,o=r.skuId,i=r.width;return h(p.default,{channel:a,inputSkuId:o,fetchStoreListing:t.fetchStoreListing,location:n,pageSize:(0,c.getPageSize)(i)})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,E(t,n);var a=r.prototype;return a.componentDidMount=function(){this.fetchStoreListing(),(0,s.trackAppUIViewed)("channel_store_listing")},a.render=function(){return null!=this.props.skuId?h(f.default,{page:v.AnalyticsPages.CHANNEL_STORE_LISTING,root:!0},void 0,h("div",{className:y.default.applicationStore},void 0,h(o.Route,{path:"*",render:this.renderApplicationListing}))):null},r}(a.Component);g.displayName="ChannelStoreListing";var S=(0,u.default)(i.default.connectStores([d.default],(function(e){var t=e.channel,n=e.inputSkuId;return{skuId:null!=n?n:d.default.getSkuIdForChannel(t.id)}}))(g));t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l={};var u=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n),r.prototype.getSkuIdForChannel=function(e){return l[e]},r}(r.default.Store))(a.default,{CONNECTION_OPEN:function(e){l={}},STORE_LISTING_FETCH_SUCCESS:function(e){var t=e.channelId,n=e.storeListing;null!=t&&(l[t]=n.sku.id)}});t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=_e(n(0)),o=n(192),i=n(3),l=n(34),u=ye(n(154)),s=ye(n(288)),d=ye(n(363)),f=_e(n(11408)),c=n(687),p=ye(n(1390)),v=ye(n(5848)),y=ye(n(11409)),m=ye(n(132)),_=ye(n(8956)),h=_e(n(8344)),E=ye(n(1343)),g=n(9156),S=_e(n(8786)),O=ye(n(473)),I=n(1228),T=ye(n(183)),C=_e(n(735)),b=ye(n(8377)),M=n(1148),N=ye(n(11410)),A=ye(n(8398)),P=ye(n(11411)),R=ye(n(11412)),L=ye(n(9729)),D=ye(n(11413)),w=n(5688),j=n(5697),k=ye(n(11414)),U=ye(n(9174)),G=ye(n(11)),F=ye(n(10)),B=ye(n(71)),H=ye(n(56)),x=ye(n(15)),V=ye(n(51)),W=ye(n(8955)),Y=ye(n(8359)),z=ye(n(94)),K=ye(n(107)),$=ye(n(12)),Z=ye(n(373)),q=ye(n(1167)),X=ye(n(271)),J=ye(n(55)),Q=ye(n(151)),ee=ye(n(5686)),te=ye(n(8825)),ne=n(41),re=_e(n(8678)),ae=ye(n(13)),oe=ye(n(93)),ie=ye(n(10222)),le=ye(n(96)),ue=ye(n(11415)),se=n(8837),de=_e(n(11416)),fe=n(11417),ce=n(1),pe=ye(n(6)),ve=ye(n(7894));function ye(e){return e&&e.__esModule?e:{default:e}}function me(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return me=function(){return e},e}function _e(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=me();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function he(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var Ee=(0,M.registerUserExperiment)({id:M.Experiments.DOWNLOAD_NAG_COLOR,title:"Download Nag bar color",description:["Differentiate the download nag from the unclaimed nag via color","Control: orange nag (matches unclaimed)","Treatment 1: blurple nag"],buckets:[M.ExperimentBuckets.CONTROL,M.ExperimentBuckets.TREATMENT_1]}),ge=(0,M.registerUserExperiment)({id:M.Experiments.NOTIFICATION_NAG,title:"Notification Nag bar",description:["Nag about enabling notifications if the user chooses not to download the app","Control: no nag","Treatment 1: green nag bar + dont miss a thing msg","Treatment 2: green nag bar + keeping up msg"],buckets:[M.ExperimentBuckets.CONTROL,M.ExperimentBuckets.TREATMENT_1,M.ExperimentBuckets.TREATMENT_2]});function Se(){switch((0,M.useAndTrackExposureToUserExperiment)(Ee)){case M.ExperimentBuckets.TREATMENT_1:return re.NoticeColors.DOWNLOAD;default:return re.NoticeColors.DEFAULT}}function Oe(e){var t=e.children;return he(re.default,{color:Se()},void 0,t)}Oe.displayName="DownloadNagColor";var Ie=function(){return he(re.default,{color:re.NoticeColors.DANGER},void 0,he(re.NoticeCloseButton,{onClick:function(){Ce(),(0,fe.open)()}}),pe.default.Messages.NOTICE_NO_INPUT_DETECTED,he(re.NoticeButtonAnchor,{href:oe.default.getArticleURL(ce.HelpdeskArticles.NO_INPUT_DETECTED)},void 0,pe.default.Messages.NOTICE_NO_INPUT_DETECTED_HELP_LINK_TEXT))};Ie.displayName="AudioIssueNoticeHelpdesk";var Te=function(){return he(re.default,{color:re.NoticeColors.DANGER},void 0,he(re.NoticeCloseButton,{onClick:function(){Ce(),(0,fe.open)()}}),pe.default.Messages.NOTICE_NO_INPUT_DETECTED_SETTINGS,he(re.NoticeButton,{onClick:function(){(0,c.pushLayer)(ce.Layers.USER_SETTINGS),O.default.setSection(ce.UserSettingsSections.VOICE)}},void 0,pe.default.Messages.NOTICE_NO_INPUT_DETECTED_SETTINGS_LINK_TEXT))};function Ce(){p.default.dismiss()}Te.displayName="AudioIssueNoticeMicTester";var be=he(R.default,{}),Me=he(N.default,{}),Ne=he(k.default,{}),Ae=he(re.NoticeCloseButton,{onClick:Ce}),Pe=he(re.NoticeCloseButton,{onClick:Ce}),Re=he(re.NoticeCloseButton,{onClick:Ce}),Le=he(P.default,{onClose:Ce}),De=he(Ie,{}),we=he(Te,{}),je=he(re.NoticeCloseButton,{onClick:Ce}),ke=he(re.NoticeCloseButton,{onClick:Ce}),Ue=he(re.NoticeCloseButton,{onClick:Ce}),Ge=he(re.NoticeCloseButton,{onClick:Ce}),Fe=he(re.NoticeCloseButton,{onClick:Ce}),Be=he(re.NoticeCloseButton,{onClick:Ce}),He=he(re.NoticeCloseButton,{onClick:Ce}),xe=he(re.NoticeCloseButton,{onClick:Ce}),Ve=he(re.NoticeCloseButton,{onClick:Ce}),We=he(re.NoticeCloseButton,{onClick:Ce}),Ye=he(D.default,{dismissCurrentNotice:Ce}),ze=he(U.default,{}),Ke=he(re.NoticeCloseButton,{onClick:Ce}),$e=a.memo((function(){var e=(0,i.useStateFromStores)([$.default],(function(){return $.default.getNullableCurrentUser()})),t=(0,i.useStateFromStores)([K.default],(function(){return K.default.getGuildId()})),n=(0,i.useStateFromStores)([x.default],(function(){return x.default.getGuild(t)})),r=(0,i.useStateFromStores)([W.default],(function(){return W.default.getNotice()})),c=(0,i.useStateFromStores)([G.default],(function(){return G.default.isGuest()})),N=(0,i.useStateFromStores)([Y.default],(function(){return Y.default.getDesktopType()})),P=(0,i.useStateFromStores)([H.default],(function(){var n,r;return null!=t&&null!=e&&(null!==(n=null===(r=H.default.getMember(t,e.id))||void 0===r?void 0:r.isPending)&&void 0!==n&&n)})),R=null==r?void 0:r.type,D=P&&(null==n?void 0:n.hasFeature(ce.GuildFeatures.MEMBER_VERIFICATION_GATE_ENABLED));if(a.useEffect((function(){null!=R&&function(e){ae.default.track(ce.AnalyticEvents.APP_NOTICE_VIEWED,{notice_type:e})}(R)}),[R]),a.useEffect((function(){if(null!=r&&r.type===ce.NoticeTypes.SURVEY&&null!=r.metadata){var e=r.metadata,t=M.ExperimentStore.getUserExperimentDescriptor(e.id);null!=t&&(0,M.trackExposureToExperiment)(e.id,t)}}),[r]),null==r)return null;if(c)return null;switch(r.type){case ce.NoticeTypes.LURKING_GUILD:return be;case ce.NoticeTypes.PENDING_MEMBER:return Me;case ce.NoticeTypes.INVITED_TO_SPEAK:return Ne;case ce.NoticeTypes.GENERIC:return he(re.default,{},void 0,Ae,r.message,null!=r.buttonText?he(re.NoticeButton,{onClick:r.callback},void 0,r.buttonText):null);case ce.NoticeTypes.VOICE_DISABLED:return he(re.default,{},void 0,he(re.NoticeCloseButton,{onClick:function(){y.default.clearRemoteDisconnectVoiceChannelId(),Ce()}}),pe.default.Messages.NOTICE_CONNECTION_CONFLICT,he(re.NoticeButton,{onClick:function(){var e=z.default.getRemoteDisconnectVoiceChannelId();null!=e&&(null!=F.default.getChannel(e)&&m.default.selectVoiceChannel(e))}},void 0,pe.default.Messages.RECONNECT));case ce.NoticeTypes.SPOTIFY_AUTO_PAUSED:var k=T.default.get(ce.PlatformTypes.SPOTIFY);return he(re.default,{color:re.NoticeColors.DANGER},void 0,Pe,he("img",{alt:"",className:ve.default.platformIcon,src:k.icon.white}),pe.default.Messages.NOTICE_SPOTIFY_AUTO_PAUSED,he(re.NoticeButton,{onClick:function(){return O.default.open(ce.UserSettingsSections.VOICE)}},void 0,pe.default.Messages.VOICE_SETTINGS),he(X.default,{className:ve.default.textLinkSmall,href:oe.default.getArticleURL(ce.HelpdeskArticles.SPOTIFY_AUTO_PAUSED),target:"_blank"},void 0,pe.default.Messages.NOTICE_WHATS_THIS));case ce.NoticeTypes.UNCLAIMED_ACCOUNT:return he(re.default,{},void 0,pe.default.Messages.NOTICE_UNCLAIMED_ACCOUNT,he(re.NoticeButton,{onClick:function(){return D&&null!=t?(0,A.default)(t):C.openClaimAccountModal()}},void 0,pe.default.Messages.CLAIM_ACCOUNT));case ce.NoticeTypes.UNVERIFIED_ACCOUNT:return he(re.default,{},void 0,pe.default.Messages.NOTICE_UNVERIFIED_ACCOUNT,he(re.NoticeButton,{onClick:function(){d.default.verifyResend(),u.default.show({title:pe.default.Messages.VERIFICATION_EMAIL_TITLE,body:pe.default.Messages.VERIFICATION_EMAIL_BODY.format({email:null==e?void 0:e.email}),minorText:pe.default.Messages.CHANGE_EMAIL,onConfirmSecondary:C.openClaimAccountModal})}},void 0,pe.default.Messages.RESEND));case ce.NoticeTypes.DOWNLOAD_NAG:return he(Oe,{},void 0,Re,pe.default.Messages.NOTICE_NATIVE_APPS_2020_06,he("i",{className:ve.default.iconApple}),he("i",{className:ve.default.iconAndroid}),he("i",{className:ve.default.iconWindows}),he(re.NoticeButton,{onClick:function(){var e=M.ExperimentStore.getUserExperimentDescriptor(ge.id);null!=e&&(0,M.trackExposureToExperiment)(ge.id,e),(0,I.showAppDownloadModal)("Top Bar Nag")}},void 0,pe.default.Messages.DOWNLOAD));case ce.NoticeTypes.NOTIFICATION_NAG:var U=M.ExperimentStore.getUserExperimentDescriptor(ge.id),fe=(null==U?void 0:U.bucket)===M.ExperimentBuckets.TREATMENT_1?pe.default.Messages.NOTICE_NOTIFICATION_MESSAGE:pe.default.Messages.NOTICE_NOTIFICATION_MESSAGE2;return he(re.default,{color:re.NoticeColors.NOTIFICATION},void 0,fe,he(re.NoticeButton,{onClick:function(){N===ce.DesktopNotificationTypes.NEVER?ie.default.requestPermission((function(e){var t=e?ce.NotificationPermissionTypes.ENABLED:ce.NotificationPermissionTypes.BLOCKED;v.default.setPermissionsState(t,"Notification Nag")})):v.default.setDesktopType(ce.DesktopNotificationTypes.ALL),ae.default.track(ce.AnalyticEvents.APP_NOTICE_CLOSED,{notice_type:ce.NoticeTypes.NOTIFICATION_NAG,action:"Enable",dismissed:!0}),p.default.dismiss(ce.NoticeTypes.NOTIFICATION_NAG,!1)}},void 0,pe.default.Messages.ENABLE_NOTIFICATIONS),he(re.NoticeButton,{minor:!0,onClick:function(){ae.default.track(ce.AnalyticEvents.APP_NOTICE_CLOSED,{notice_type:ce.NoticeTypes.NOTIFICATION_NAG,action:"Later",dismissed:!0}),p.default.dismiss(ce.NoticeTypes.NOTIFICATION_NAG,!0)}},void 0,pe.default.Messages.REMIND_ME_LATER),he(re.NoticeButton,{minor:!0,onClick:function(){ae.default.track(ce.AnalyticEvents.APP_NOTICE_CLOSED,{notice_type:ce.NoticeTypes.NOTIFICATION_NAG,action:"Dismiss",dismissed:!0}),p.default.dismiss(ce.NoticeTypes.NOTIFICATION_NAG,!1)}},void 0,pe.default.Messages.NEVER_ASK_AGAIN));case ce.NoticeTypes.INCENTIVIZED_INSTALL:return Le;case ce.NoticeTypes.SCHEDULED_MAINTENANCE:return null==r.metadata?null:he(re.default,{color:re.NoticeColors.NOTIFICATION},void 0,he(re.NoticeCloseButton,{onClick:function(){return _.default.ackScheduledMaintenance()}}),pe.default.Messages.NOTICE_SCHEDULED_MAINTENANCE.format(r.metadata),he(re.NoticeButtonAnchor,{href:ce.Links.STATUS+"/incidents/"+r.metadata.id},void 0,pe.default.Messages.LEARN_MORE));case ce.NoticeTypes.NO_INPUT_DETECTED:return V.default.supports(l.Features.LOOPBACK)?we:De;case ce.NoticeTypes.HARDWARE_MUTE:if(null==r.metadata)return null;var ye=r.metadata,me=ye.vendor,_e=ye.model;return he(re.default,{color:re.NoticeColors.DANGER},void 0,pe.default.Messages.NOTICE_HARDWARE_MUTE.format({vendorName:me.name,modelName:_e.name}),he(re.NoticeButtonAnchor,{href:_e.url,target:"_blank",rel:"noreferrer noopener"},void 0,pe.default.Messages.SUPPORT));case ce.NoticeTypes.STREAMER_MODE:return he(re.default,{color:re.NoticeColors.STREAMER_MODE},void 0,je,pe.default.Messages.NOTICE_STREAMER_MODE_TEXT,he(re.NoticeButton,{onClick:function(){return E.default.setEnabled(!1)}},void 0,pe.default.Messages.DISABLE));case ce.NoticeTypes.DETECTED_OFF_PLATFORM_PREMIUM_PERK:if(null==r.metadata)return null;var Ee=r.metadata,Se=Ee.skuId,Ie=Ee.applicationId,Te=Z.default.get(Se),$e=B.default.getGame(Ie);if(null==Te||null==$e)return null;var Ze={page:ce.AnalyticsPages.IN_APP};return he(re.default,{color:re.NoticeColors.PREMIUM_TIER_1},void 0,he(re.NoticeCloseButton,{onClick:function(){return f.dismiss(Te.id)}}),he(ee.default,{className:ve.default.premiumIcon}),pe.default.Messages.NOTICE_DETECTED_OFF_PLATFORM_PREMIUM_PERK_MESSAGE.format({applicationName:$e.name,skuName:Te.name}),he(re.NoticeButton,{onClick:function(){return(0,se.openIAPPurchaseModal)($e.id,Te.id,(function(){(0,j.openPremiumSubscriptionNewPlanModal)({planId:ce.SubscriptionPlans.PREMIUM_MONTH_TIER_2,analyticsLocation:Ze})}),Ze,__OVERLAY__?ce.AppContext.OVERLAY:ce.AppContext.APP).then((function(){return f.dismiss(Te.id)}))}},void 0,pe.default.Messages.NOTICE_DETECTED_OFF_PLATFORM_PREMIUM_PERK_BUTTON));case ce.NoticeTypes.DETECTED_OFF_PLATFORM_PREMIUM_PERK_UPSELL:if(null==r.metadata)return null;var qe=r.metadata,Xe=qe.skuId,Je=qe.applicationId,Qe=Z.default.get(Xe),et=B.default.getGame(Je);return null==Qe||null==et?null:he(re.default,{color:re.NoticeColors.PREMIUM_TIER_1},void 0,ke,he(ee.default,{className:ve.default.premiumIcon}),pe.default.Messages.NOTICE_DETECTED_OFF_PLATFORM_NO_PREMIUM_PERK_MESSAGE.format({applicationName:et.name,skuName:Qe.name}),he(re.NoticeButton,{},void 0,he(o.Link,{onClick:Ce,to:{pathname:ce.Routes.APPLICATION_STORE_LISTING_SKU(Qe.id),state:{scrollRestoration:!1}}},void 0,pe.default.Messages.LEARN_MORE)));case ce.NoticeTypes.SURVEY:var tt=r.metadata;if(null==tt)return null;var nt=tt.key,rt=tt.prompt,at=tt.cta,ot=tt.url;return he(re.default,{color:re.NoticeColors.CUSTOM},void 0,he(re.NoticeCloseButton,{onClick:function(){(0,g.surveyHide)(nt,!0)}}),rt,he(re.NoticeButton,{onClick:function(){window.open(ot,"_blank"),(0,g.surveyHide)(nt,!1)}},void 0,at));case ce.NoticeTypes.CORRUPT_INSTALLATION:return he(re.default,{color:re.NoticeColors.DANGER},void 0,pe.default.Messages.NOTICE_CORRUPT_INSTALLATION,he(re.NoticeButtonAnchor,{href:oe.default.getArticleURL(ce.HelpdeskArticles.CORRUPT_INSTALLATION),target:"_blank"},void 0,pe.default.Messages.NOTICE_CORRUPT_INSTALLATION_HELP_LINK_TEXT));case ce.NoticeTypes.VIDEO_UNSUPPORTED_BROWSER:return he(re.default,{},void 0,Ue,pe.default.Messages.VIDEO_UNSUPPORTED_BROWSER_BODY,he(re.NoticeButton,{onClick:function(){(0,I.showAppDownloadModal)("Video unsupported browser")}},void 0,pe.default.Messages.DOWNLOAD));case ce.NoticeTypes.CONNECT_SPOTIFY:return he(re.default,{color:re.NoticeColors.SPOTIFY},void 0,Ge,he(te.default,{className:ve.default.platformIcon}),pe.default.Messages.NOTICE_CONNECT_SPOTIFY,he(re.NoticeButton,{onClick:function(){return(0,b.default)(ce.PlatformTypes.SPOTIFY,"Notice Bar")}},void 0,pe.default.Messages.CONNECT));case ce.NoticeTypes.PREMIUM_PROMO:return he(re.default,{color:re.NoticeColors.DARK},void 0,he("span",{className:ve.default.premiumLogo}),he("span",{className:ve.default.premiumText},void 0,pe.default.Messages.NOTICE_PREMIUM_PROMO_MESSAGE),he(re.NoticeButton,{className:ve.default.premiumAction,onClick:function(){ae.default.track(ce.AnalyticEvents.PREMIUM_PROMOTION_OPENED,{location_section:ce.AnalyticsSections.NOTIFICATION_BAR,location_object:ce.AnalyticsObjects.BUTTON_CTA}),O.default.open(ce.UserSettingsSections.PREMIUM)}},void 0,pe.default.Messages.NOTICE_PREMIUM_PROMO_ACTION),Fe);case ce.NoticeTypes.MFA_SMS_BACKUP:return he(re.default,{color:re.NoticeColors.NOTIFICATION},void 0,Be,pe.default.Messages.NOTICE_MFA_SMS_BACKUP,he(re.NoticeButton,{onClick:function(){return O.default.open(ce.UserSettingsSections.ACCOUNT)}},void 0,pe.default.Messages.NOTICE_MFA_SMS_BACKUP_BUTTON));case ce.NoticeTypes.DISPATCH_ERROR:if(null==r.metadata)return null;var it=r.metadata.error;return he(re.default,{color:re.NoticeColors.DANGER},void 0,He,null==it?void 0:it.displayMessage,he(re.NoticeButton,{onClick:function(){return(0,ne.openModal)((function(e){return a.createElement(ue.default,e)}))}},void 0,pe.default.Messages.LEARN_MORE));case ce.NoticeTypes.DISPATCH_INSTALL_SCRIPT_PROGRESS:if(null==r.metadata)return null;var lt=r.metadata,ut=lt.progress,st=lt.total,dt=lt.name;return he(re.default,{color:re.NoticeColors.NOTIFICATION},void 0,xe,he(J.default,{justify:J.default.Justify.CENTER},void 0,null!=dt?pe.default.Messages.NOTICE_DISPATCH_INSTALL_SCRIPT_PROGRESS_WITH_NAME.format({name:""+dt,progress:""+ut,total:""+st}):pe.default.Messages.NOTICE_DISPATCH_INSTALL_SCRIPT_PROGRESS.format({progress:""+ut,total:""+st}),he(Q.default,{type:Q.default.Type.PULSING_ELLIPSIS,className:ve.default.ellipsis})));case ce.NoticeTypes.APPLICATION_TEST_MODE:return null==r.metadata?null:null!=q.default.testModeEmbeddedApplicationId?he(re.default,{},void 0,he(J.default,{justify:J.default.Justify.CENTER,align:J.default.Align.CENTER},void 0,he("div",{},void 0,pe.default.Messages.NOTICE_EMBEDDED_APPLICATION_TEST_MODE.format({applicationName:r.metadata.applicationName})),he(re.NoticeCloseButton,{onClick:S.reset}))):he(re.default,{},void 0,he(J.default,{justify:J.default.Justify.CENTER,align:J.default.Align.CENTER},void 0,he("div",{},void 0,pe.default.Messages.NOTICE_APPLICATION_TEST_MODE.format({applicationName:r.metadata.applicationName})),he(de.default,{dropdownSize:de.TestModeSKUButtonEnums.DropdownSizes.SMALL,className:ve.default.testModeSKUSelector,color:de.TestModeSKUButtonEnums.Colors.WHITE,look:de.TestModeSKUButtonEnums.Looks.OUTLINED,size:de.TestModeSKUButtonEnums.Sizes.MIN,onSKUSelect:function(e){return h.goToSKUStoreListing(e.id,{analyticsSource:{page:null,section:ce.AnalyticsSections.NOTIFICATION_BAR,object:ce.AnalyticsObjects.NAVIGATION_LINK}})},applicationId:r.metadata.applicationId},void 0,pe.default.Messages.NOTICE_APPLICATION_TEST_MODE_GO_TO_LISTING),he(re.NoticeCloseButton,{onClick:S.reset})));case ce.NoticeTypes.OUTBOUND_PROMOTION:return he(re.default,{color:re.NoticeColors.PREMIUM_TIER_2},void 0,he(re.NoticeCloseButton,{onClick:function(){L.default.dismissOutboundPromotionNotice()}}),he(ee.default,{className:ve.default.premiumIcon}),pe.default.Messages.OUTBOUND_PROMOTION_NOTICE,he(re.NoticeButton,{onClick:function(){ae.default.track(ce.AnalyticEvents.OUTBOUND_PROMOTION_NOTICE_CLICKED),O.default.open(ce.UserSettingsSections.INVENTORY),L.default.dismissOutboundPromotionNotice()}},void 0,pe.default.Messages.TAKE_ME_THERE));case ce.NoticeTypes.PREMIUM_GRANDFATHERED_ENDING:var ft=r.metadata.plan,ct=le.default.getGrandfatheredEndDate(ft),pt=le.default.getDaysToGrandfatheredEnd(ft);return he(re.default,{color:re.NoticeColors.PREMIUM_TIER_1},void 0,Ve,he(ee.default,{className:ve.default.premiumIcon}),pe.default.Messages.NOTICE_PREMIUM_GRANDFATHERED_ENDING.format({numDays:pt,date:ct}),he(re.NoticeButton,{onClick:function(){return(0,w.openPremiumSelectPlanModal)({initialPlanId:ce.SubscriptionPlans.PREMIUM_YEAR_TIER_2,analyticsLocation:{page:ce.AnalyticsPages.IN_APP,section:ce.AnalyticsSections.NOTIFICATION_BAR,object:ce.AnalyticsObjects.BUTTON_CTA}})}},void 0,pe.default.Messages.NOTICE_PREMIUM_GRANDFATHERED_UPGRADE));case ce.NoticeTypes.PREMIUM_GRANDFATHERED_ENDED:return he(re.default,{color:re.NoticeColors.PREMIUM_TIER_1},void 0,We,he(ee.default,{className:ve.default.premiumIcon}),pe.default.Messages.NOTICE_PREMIUM_GRANDFATHERED_ENDED,he(re.NoticeButton,{onClick:function(){ae.default.track(ce.AnalyticEvents.PREMIUM_PROMOTION_OPENED,{location_section:ce.AnalyticsSections.NOTIFICATION_BAR,location_object:ce.AnalyticsObjects.BUTTON_CTA}),O.default.open(ce.UserSettingsSections.PREMIUM)}},void 0,pe.default.Messages.LEARN_MORE));case ce.NoticeTypes.PREMIUM_TIER_2_TRIAL_ENDING:return Ye;case ce.NoticeTypes.VIEWING_ROLES:return ze;case ce.NoticeTypes.NOISE_DETECTED:return he(re.default,{color:re.NoticeColors.INFO},void 0,Ke,pe.default.Messages.NOTICE_NOISE_DETECTED,he(re.NoticeButton,{onClick:function(){Ce(),s.default.setNoiseCancellation(!0,{section:ce.AnalyticsSections.NOTIFICATION_BAR})}},void 0,pe.default.Messages.ENABLE_NOISE_CANCELLATION));default:return null}}));t.default=$e},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dismiss=function(e){a.default.dispatch({type:o.ActionTypes.DETECTED_OFF_PLATFORM_PREMIUM_PERKS_DISMISS,skuId:e})};var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);var i={clearRemoteDisconnectVoiceChannelId:function(){a.default.dispatch({type:o.ActionTypes.CLEAR_REMOTE_DISCONNECT_VOICE_CHANNEL_ID})}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=O(n(9)),i=n(3),l=O(n(15)),u=O(n(107)),s=O(n(29)),d=O(n(466)),f=n(41),c=O(n(24)),p=O(n(8294)),v=n(8262),y=O(n(1233)),m=O(n(8398)),_=O(n(9227)),h=n(1),E=O(n(6)),g=O(n(8099)),S=O(n(7384));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(){return(T=Object.assign||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}).apply(this,arguments)}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var b=function(){var e,t=(0,i.useStateFromStores)([u.default],(function(){return u.default.getGuildId()}),[]),n=(0,i.useStateFromStores)([l.default],(function(){return l.default.getGuild(t)}),[t]),r=(0,i.useStateFromStores)([y.default],(function(){return null!=t?y.default.getRequest(t):null}),[t]),O=(null==n?void 0:n.hasFeature(h.GuildFeatures.MEMBER_VERIFICATION_GATE_ENABLED))&&(null==n?void 0:n.hasFeature(h.GuildFeatures.COMMUNITY));if(null==n||!O)return null;var I=null!==(e=null==r?void 0:r.applicationStatus)&&void 0!==e?e:v.GuildJoinRequestApplicationStatuses.STARTED,b=null,M=null,N=null,A=[g.default.notice,S.default.notice];switch(I){case v.GuildJoinRequestApplicationStatuses.PENDING:b=E.default.Messages.MEMBER_VERIFICATION_APPLICATION_CONFIRMATION_TITLE,M=E.default.Messages.MEMBER_VERIFICATION_CANCEL_APPLICATION,N=function(){(0,f.openModal)((function(e){return a.createElement(d.default,T({header:E.default.Messages.MODIFY_FOLLOWED_NEWS_HEADER,confirmText:E.default.Messages.CONFIRM,cancelText:E.default.Messages.CANCEL,onConfirm:function(){return p.default.removeGuildJoinRequest(n.id)},confirmButtonColor:s.default.Colors.BRAND},e),C(c.default,{size:c.default.Sizes.SIZE_16},void 0,E.default.Messages.MEMBER_VERIFICATION_CANCEL_APPLICATION_SUBTITLE))}))};break;case v.GuildJoinRequestApplicationStatuses.REJECTED:b=E.default.Messages.MEMBER_VERIFICATION_REJECTED_TITLE,M=E.default.Messages.MEMBER_VERIFICATION_LEARN_MORE,N=function(){(0,f.openModal)((function(e){return a.createElement(_.default,T({guildId:n.id},e))}))},A.push(g.default.error);break;default:b=E.default.Messages.MEMBER_VERIFICATION_NOTICE_TEXT,M=E.default.Messages.MEMBER_VERIFICATION_NOTICE_CTA,N=function(){(0,m.default)(n.id)}}return C("div",{className:o.default.apply(void 0,A)},void 0,C(c.default,{className:g.default.header},void 0,b),C(s.default,{className:g.default.button,look:s.default.Looks.OUTLINED,color:s.default.Colors.WHITE,size:s.default.Sizes.NONE,onClick:N},void 0,M))};b.displayName="PendingGuildMemberNotice";var M=b;t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=c(n(0)),o=d(n(473)),i=c(n(8678)),l=n(8796),u=n(1),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=a.memo((function(e){var t=e.onClose;return(0,l.useAndTrackExposureToExperiment)()?p(i.default,{color:i.NoticeColors.PREMIUM_TIER_2},void 0,p(i.NoticeCloseButton,{onClick:t}),s.default.Messages.INCENTIVIZED_INSTALL_NOTICE.format(),p(i.NoticeButton,{onClick:function(){return o.default.open(u.UserSettingsSections.PREMIUM)}},void 0,s.default.Messages.LEARN_MORE)):null}));v.displayName="IncentivizedInstallNotice";var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=g(n(9)),i=n(3),l=g(n(199)),u=g(n(8398)),s=n(42),d=g(n(15)),f=g(n(107)),c=g(n(29)),p=g(n(8853)),v=g(n(24)),y=g(n(182)),m=n(1),_=g(n(6)),h=g(n(8100)),E=g(n(7384));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function T(){return(T=Object.assign||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}).apply(this,arguments)}var C=function(){var e=(0,i.useStateFromStores)([f.default],(function(){return f.default.getGuildId()}),[]),t=(0,i.useStateFromStores)([d.default],(function(){return d.default.getGuild(e)}),[e]),n=(0,i.useStateFromStores)([y.default],(function(){return y.default.getHistorySnapshot()}),[]),r=a.useState(!1),g=r[0],S=r[1],C=(null==t?void 0:t.hasFeature(m.GuildFeatures.MEMBER_VERIFICATION_GATE_ENABLED))&&(null==t?void 0:t.hasFeature(m.GuildFeatures.COMMUNITY));if(null==t)return null;var b=function(){var e,n=(e=regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return S(!0),e.prev=1,e.next=4,l.default.joinGuild(t.id,!1,m.JoinGuildSources.NOTICE_BAR);case 4:r=e.sent,C&&null!=(null===(n=r.body)||void 0===n?void 0:n.member_verification_form)&&(0,u.default)(t.id),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),S(!1);case 11:case"end":return e.stop()}}),e,null,[[1,8]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){I(o,r,a,i,l,"next",e)}function l(e){I(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return n.apply(this,arguments)}}();return O("div",{className:(0,o.default)(h.default.notice,E.default.notice)},void 0,O(c.default,{look:c.default.Looks.OUTLINED,color:c.default.Colors.WHITE,size:c.default.Sizes.NONE,className:(0,o.default)(h.default.button,h.default.back),innerClassName:h.default.iconButton,onClick:function(){var e=(0,s.getHistory)();null!=n&&null!=n.location?(0,s.replaceWith)(T({},n.location)):e.goBack()}},void 0,O(p.default,{width:16,height:16,className:h.default.arrow}),_.default.Messages.BACK),O(v.default,{className:h.default.header},void 0,_.default.Messages.LURKER_MODE_NAG_BAR_HEADER),O(c.default,{className:h.default.button,look:c.default.Looks.OUTLINED,color:c.default.Colors.WHITE,size:c.default.Sizes.NONE,submitting:g,onClick:b},void 0,_.default.Messages.LURKER_MODE_NAG_BAR_BUTTON.format({guild:t.name})))};C.displayName="LurkerModeNotice";var b=C;t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;v(n(0));var r,a=c(n(8687)),o=c(n(5686)),i=v(n(8678)),l=n(5689),u=n(5688),s=n(1),d=c(n(6)),f=c(n(7894));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=function(e){var t=e.dismissCurrentNotice,n=(0,l.usePremiumTrialOffer)(),r=(0,a.default)(null!=n&&null!=n.expires_at?Date.parse(n.expires_at):0);return null==n||null==n.expires_at||Object.values(r).every((function(e){return 0===e}))?null:y(i.default,{color:i.NoticeColors.PREMIUM_TIER_2},void 0,y(i.NoticeCloseButton,{onClick:t}),y(o.default,{className:f.default.premiumIcon}),r.days>0?d.default.Messages.NOTICE_PREMIUM_TIER_2_TRIAL_ENDING_DAYS.format({days:r.days}):r.hours>0?d.default.Messages.NOTICE_PREMIUM_TIER_2_TRIAL_ENDING_HOURS.format({hours:r.hours}):d.default.Messages.NOTICE_PREMIUM_TIER_2_TRIAL_ENDING_MINUTES.format({minutes:Math.max(r.minutes,1)}),y(i.NoticeButton,{onClick:function(){(0,u.openPremiumSelectPlanModal)({trialId:n.trial_id,subscriptionTier:s.PremiumSubscriptionSKUs.TIER_2,analyticsLocation:{page:s.AnalyticsPages.IN_APP,section:s.AnalyticsSections.NOTIFICATION_BAR,object:s.AnalyticsObjects.BUTTON_CTA}})}},void 0,d.default.Messages.NOTICE_PREMIUM_TIER_2_TRIAL_ENDING_CTA))};m.displayName="PremiumTier2TrialEndingNotice";var _=m;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=S;h(n(0));var r,a=m(n(9)),o=m(n(10)),i=m(n(36)),l=m(n(29)),u=m(n(1317)),s=h(n(8678)),d=m(n(24)),f=n(301),c=m(n(8599)),p=n(268),v=m(n(6)),y=m(n(8101));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e){var t=i.default.getVoiceChannelId();if(null!=t){var n=o.default.getChannel(t);null!=n&&(0,f.audienceAckRequestToSpeak)(n,e)}}function S(){var e=(0,c.default)(),t=(0,p.useStageBlockedUsersCount)(null==e?void 0:e.id)||0;return E(s.default,{className:y.default.container,color:s.NoticeColors.NOTIFICATION},void 0,E("div",{},void 0,v.default.Messages.STAGE_SPEAK_INVITE_HEADER),t>0?E("div",{className:y.default.blocked},void 0,E(u.default,{width:12,height:12,className:y.default.blockedIcon}),E("div",{className:y.default.blockedText},void 0,v.default.Messages.STAGE_SPEAK_INVITE_HEADER_BLOCKED_USERS.format({number:t}))):null,E(l.default,{className:(0,a.default)(y.default.button,y.default.acceptButton),size:l.default.Sizes.MIN,color:l.default.Colors.WHITE,onClick:function(){return g(!1)}},void 0,E(d.default,{className:y.default.acceptText,size:d.default.Sizes.SIZE_12,color:d.default.Colors.CUSTOM},void 0,v.default.Messages.STAGE_SPEAK_INVITE_ACCEPT)),E(l.default,{className:(0,a.default)(y.default.button,y.default.declineButton),look:l.default.Looks.OUTLINED,size:l.default.Sizes.MIN,color:l.default.Colors.WHITE,onClick:function(){return g(!0)}},void 0,E(d.default,{className:y.default.declineText,size:d.default.Sizes.SIZE_12,color:d.default.Colors.CUSTOM},void 0,v.default.Messages.STAGE_SPEAK_INVITE_DECLINE)))}S.displayName="InvitedToSpeakNotice"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=v(n(9154)),i=v(n(71)),l=v(n(29)),u=v(n(55)),s=n(35),d=v(n(47)),f=v(n(93)),c=v(n(6)),p=v(n(8102));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var _=function(e){var t=e.onClose,n=e.transitionState,r=(0,a.useStateFromStoresObject)([o.default,i.default],(function(){var e=o.default.getLastError(),t=null;if(null!=e&&null!=e.applicationId){var n=i.default.getGame(e.applicationId);null!=n&&(t=n.name)}return{error:e,applicationName:t}})),v=r.error,y=r.applicationName;return m(s.ModalRoot,{transitionState:n,size:s.ModalSize.SMALL,"aria-label":c.default.Messages.DISPATCH_ERROR_MODAL_HEADER},void 0,m(s.ModalHeader,{justify:u.default.Justify.BETWEEN,separator:!1},void 0,m(u.default.Child,{grow:1},void 0,m(d.default,{tag:d.default.Tags.H2,size:d.default.Sizes.SIZE_20},void 0,c.default.Messages.DISPATCH_ERROR_MODAL_HEADER)),m(u.default.Child,{grow:0},void 0,m(s.ModalCloseButton,{onClick:t}))),m(s.ModalContent,{},void 0,m("div",{className:p.default.body},void 0,m("div",{},void 0,c.default.Messages.DISPATCH_ERROR_MODAL_DESCRIPTION.format({link:"https://dis.gd/dispatch-error"})),m("div",{className:p.default.supportCallToAction},void 0,c.default.Messages.DISPATCH_ERROR_MODAL_BODY),m("div",{className:p.default.errorLabel},void 0,c.default.Messages.DISPATCH_ERROR_MODAL_ERROR_LABEL),m("div",{className:p.default.errorDetails},void 0,m("div",{},void 0,null!=y?"Game: "+y+"\n":null,null!=(null==v?void 0:v.applicationId)?"Game ID: "+v.applicationId+"\n":null,null!=(null==v?void 0:v.branchId)&&(null==v?void 0:v.applicationId)!==(null==v?void 0:v.branchId)?"Branch ID: "+(null==v?void 0:v.branchId)+"\n":null,null!=(null==v?void 0:v.code)?"Error Code: "+(null==v?void 0:v.code)+"\n":null,null!=(null==v?void 0:v.uuid)?"Unique Case ID: "+(null==v?void 0:v.uuid):null)))),m(s.ModalFooter,{},void 0,m(l.default,{onClick:function(){window.open(f.default.getSubmitRequestURL())}},void 0,c.default.Messages.DISPATCH_ERROR_MODAL_OPEN_TICKET),m(l.default,{look:l.default.Looks.LINK,onClick:t,color:p.default.closeLink},void 0,c.default.Messages.CLOSE)))};_.displayName="DispatchErrorModal";var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TestModeSKUButtonEnums=void 0;var r,a=y(n(0)),o=p(n(3)),i=y(n(389)),l=p(n(9238)),u=y(n(8253)),s=p(n(71)),d=p(n(373)),f=n(289),c=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function m(){return(m=Object.assign||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}).apply(this,arguments)}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E={DropdownSizes:l.default.DropdownSizes,Sizes:l.default.Sizes,Colors:l.default.Colors,Looks:l.default.Looks};t.TestModeSKUButtonEnums=E;var g=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).renderContextMenu=function(){var e=t.props,n=e.skus,r=e.onSKUSelect,a=e.onMenuSelect;return _(u.default,{onSelect:a,navId:"test-skus","aria-label":c.default.Messages.GENERIC_ACTIONS_MENU_LABEL,onClose:i.closeContextMenu},void 0,n.map((function(e){return _(u.MenuItem,{id:""+e.id,label:e.name,action:function(){null==r||r(e)}})})))},t.handleContextMenu=function(e){e.stopPropagation(),i.openContextMenu(e,t.renderContextMenu)},t.handleClick=function(){var e=t.props,n=e.onSKUSelect,r=e.primarySKU;n&&null!=r&&n(r)},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n),r.prototype.render=function(){var e=this.props,t=e.skus,n=e.children,r=(e.applicationId,e.primarySKU,e.onSKUSelect,function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["skus","children","applicationId","primarySKU","onSKUSelect"]));return a.createElement(l.default,m({onClick:this.handleClick,onDropdownClick:t.length>0?this.handleContextMenu:null,onContextMenu:t.length>0?this.handleContextMenu:void 0},r),n)},r}(a.PureComponent);g.displayName="TestModeSKUButton";var S=o.default.connectStores([d.default,s.default],(function(e){var t=e.applicationId,n=(0,f.getPrimarySKUForApplication)(t,s.default,d.default);return{skus:(d.default.getForApplication(t)||[]).sort((function(e,t){return null!=n&&e.id===n.id?-1:null!=n&&t.id===n.id?1:e.name>=t.name?-1:1})),primarySKU:n}}))(g);t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.close=c,t.open=function(){f=(0,i.openModal)((function(e){return r.createElement(o.default,d({title:l.default.Messages.CONFIRM_DISABLE_SILENCE_TITLE,body:l.default.Messages.CONFIRM_DISABLE_SILENCE_BODY,minorText:l.default.Messages.CONFIRM_DISABLE_SILENCE_DONT_SHOW,onConfirmSecondary:p,onConfirm:c,confirmText:l.default.Messages.OKAY},e))}))};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=u(n(288)),o=u(n(218)),i=n(41),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}var f=null;function c(){null!==f&&(0,i.closeModal)(f),f=null}function p(){a.default.setSilenceWarning(!1),c()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=$;var r,a=U(n(0)),o=j(n(9)),i=j(n(8312)),l=n(3),u=n(1272),s=n(1148),d=j(n(5939)),f=j(n(9038)),c=j(n(120)),p=j(n(70)),v=j(n(39)),y=j(n(12)),m=j(n(1147)),_=j(n(5959)),h=j(n(9185)),E=j(n(373)),g=j(n(8690)),S=j(n(8508)),O=j(n(5686)),I=j(n(1335)),T=j(n(291)),C=n(8263),b=n(96),M=n(8366),N=n(9239),A=j(n(10223)),P=U(n(8357)),R=j(n(8771)),L=n(1),D=j(n(6)),w=j(n(8103));function j(e){return e&&e.__esModule?e:{default:e}}function k(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return k=function(){return e},e}function U(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=k();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function G(){return(G=Object.assign||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}).apply(this,arguments)}function F(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function B(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}var H=function(e){var t=e.selected,n=B(e,["selected"]),r=(0,l.useStateFromStores)([p.default],(function(){return p.default.getPendingCount()}));return a.createElement(N.LinkButton,G({selected:t,route:L.Routes.FRIENDS,icon:I.default,text:D.default.Messages.FRIENDS},n),r>0?F(C.NumberBadge,{count:r}):null)};H.displayName="FriendsButton";var x=function(e){var t=e.selected,n=e.route,r=e.locationState,o=B(e,["selected","route","locationState"]),i=(0,l.useStateFromStores)([_.default],(function(){return _.default.getUnacknowledgedOffers().length}));return a.createElement(N.LinkButton,G({selected:t,route:n,icon:O.default,text:D.default.Messages.PREMIUM,locationState:r},o),i>0?F(C.NumberBadge,{count:i}):null)};x.displayName="NitroButton";var V=function(e){var t=e.selected,n=e.locationState,r=B(e,["selected","locationState"]);return(0,f.default)()?a.createElement(N.LinkButton,G({},r,{selected:t,icon:T.default,text:D.default.Messages.STAGE_DISCOVERY,locationState:n,route:L.Routes.STAGE_DISCOVERY})):null};V.displayName="DiscoveryButton";var W=function(){return(0,u.show)("DM_SEARCH")};function Y(e){switch(e){case L.Routes.APPLICATION_LIBRARY:return L.AnalyticsPages.LIBRARY;case L.Routes.FRIENDS:return L.AnalyticsPages.FRIENDS_LIST}return e.startsWith(L.Routes.APPLICATION_STORE)?e===L.Routes.APPLICATION_STORE?L.AnalyticsPages.STORE_DIRECTORY_HOME:e.startsWith(L.Routes.APPLICATION_STORE)?L.AnalyticsPages.STORE_DIRECTORY_BROWSE:L.AnalyticsPages.STORE_LISTING:L.AnalyticsPages.DM_CHANNEL}var z=function(e){var t=e.showLibrary,n=e.hasLibraryApplication,r=e.homeLink,l=e.storeLink,u=e.premiumTabSelected,s=e.showNitroTab,f=(0,d.default)((function(e){return[e.channelId,e.path]}),i.default),c=f[0],p=f[1];return F("nav",{className:w.default.privateChannels,"aria-label":D.default.Messages.PRIVATE_CHANNELS_A11Y_LABEL},void 0,F(P.default,{tutorialId:"direct-messages",position:P.TutorialIndicatorPositions.RIGHT,offsetX:-52},void 0,F("div",{className:w.default.searchBar},void 0,F("button",{type:"button",className:w.default.searchBarComponent,onClick:W},void 0,D.default.Messages.DM_SEARCH_PLACEHOLDER))),a.createElement(A.default,G({},e,{version:p,selectedChannelId:c,showDMHeader:!0}),(function(e,t){return a.createElement(H,G({key:"friends",selected:null!=p?p===L.Routes.FRIENDS:r===L.Routes.FRIENDS},e({index:t})))}),(function(e,t){return a.createElement(V,G({key:"stage-discovery",selected:null!=p?p===L.Routes.STAGE_DISCOVERY:r===L.Routes.STAGE_DISCOVERY},e({index:t})))}),n&&t?function(e,t){var n;return a.createElement(N.LinkButton,G({key:"library",selected:null==p?null!=r&&r.startsWith(L.Routes.APPLICATION_LIBRARY):p.startsWith(L.Routes.APPLICATION_LIBRARY),route:L.Routes.APPLICATION_LIBRARY,icon:S.default,text:D.default.Messages.LIBRARY},e({index:t})),F(R.default,{className:(0,o.default)(w.default.downloadProgressCircle,(n={},n[w.default.hideGameUpdateProgressIndicator]=r===L.Routes.APPLICATION_LIBRARY,n))}))}:null,s?function(e,t){return a.createElement(x,G({key:"premium",selected:null==p?u:p.startsWith(L.Routes.APPLICATION_STORE),route:null==l||location.pathname.startsWith(L.Routes.APPLICATION_STORE)?L.Routes.APPLICATION_STORE:l,locationState:{analyticsSource:{page:Y(r),section:L.AnalyticsSections.NAVIGATION,object:L.AnalyticsObjects.NAVIGATION_LINK}}},e({index:t})))}:null))};z.displayName="PrivateChannels";var K=(0,s.registerUserExperiment)({id:s.Experiments.HIDE_NITRO_TAB,title:"Hide Nitro Tab",description:["Hide Nitro tab from new users","Control: Show Nitro tab to all users","Treatment 1: Hide Nitro tab from users that are registered less than a 3 months ago"],buckets:[s.ExperimentBuckets.CONTROL,s.ExperimentBuckets.TREATMENT_1]});function $(){var e=(0,l.useStateFromStores)([g.default],(function(){return g.default.getHomeLink()})),t=(0,l.useStateFromStores)([E.default],(function(){if(e===L.Routes.APPLICATION_STORE)return!0;var t,n,r=(0,M.getSKUIdFromURL)(e);return null!=r&&(null!==(t=null===(n=E.default.get(r))||void 0===n?void 0:n.premium)&&void 0!==t&&t)}),[e]),n=(0,l.useStateFromStores)([y.default],(function(){return y.default.getNullableCurrentUser()})),r=(0,l.useStateFromStores)([m.default],(function(){return m.default.getPremiumTypeSubscription()})),a=(0,l.useStateFromStores)([_.default],(function(){return _.default.getUnacknowledgedOffers().length>0})),o=(0,l.useStateFromStoresObject)([v.default],(function(){return{theme:v.default.theme,showLibrary:!v.default.disableGamesTab}})),i=o.theme,u=o.showLibrary,d=(0,s.useAndTrackExposureToUserExperiment)(K)===s.ExperimentBuckets.CONTROL||a||null!=n&&Date.now()-n.createdAt.getTime()>7776e6||(0,b.hasPremiumSubscriptionToDisplay)(n,r),f=(0,l.useStateFromStores)([c.default],(function(){return c.default.hasLibraryApplication()})),p=(0,l.useStateFromStores)([h.default],(function(){return h.default.getCurrentPath()}));return F(z,{theme:i,showLibrary:u,showNitroTab:d,hasLibraryApplication:f,storeLink:p,homeLink:e,premiumTabSelected:t})}$.displayName="PrivateChannelsConnected"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(262),i=n(192),l=v(n(8257)),u=v(n(1182)),s=n(5687),d=v(n(11420)),f=v(n(11441)),c=n(1),p=v(n(8117));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var _=m(f.default,{}),h=m(d.default,{});function E(){return m(i.Switch,{},void 0,m(u.default,{path:c.Routes.APPLICATION_LIBRARY_SETTINGS,exact:!0},void 0,m(l.default,{page:c.AnalyticsPages.LIBRARY_SETTINGS,root:!0},void 0,_)),m(u.default,{path:c.Routes.APPLICATION_LIBRARY},void 0,m(l.default,{page:c.AnalyticsPages.LIBRARY,root:!0},void 0,h)))}E.displayName="ApplicationLibrarySwitch";var g=m(o.Helmet,{title:"Discord"}),S=m(E,{});function O(){return a.useEffect((function(){(0,s.trackAppUIViewed)("application_library")}),[]),m("div",{className:p.default.container},void 0,g,S)}O.displayName="ApplicationLibraryPage";var I=a.memo(O);t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=S(n(0)),o=E(n(9)),i=E(n(2)),l=S(n(10052)),u=n(752),s=n(6043),d=E(n(8257)),f=n(468),c=n(9234),p=E(n(11421)),v=E(n(10462)),y=E(n(11422)),m=E(n(11437)),_=n(1),h=E(n(8112));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var T=O(p.default,{}),C=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this)._scrollerRef=a.createRef(),t._scrollToPadding=0,t.state={includeUpdatesInScroller:!1},t.handleHeightTallerThanHalfViewportChange=function(e){t.setState({includeUpdatesInScroller:e})},t.scrollToRow=function(e,n){var r=t._scrollerRef.current;null!=r?(e.focus(),r.scrollIntoViewRect({start:n,end:n}),t._scrollToOnMount=null):(t._scrollToOnMount=e,t._scrollToPadding=n)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,I(t,n);var p=r.prototype;return p.componentDidMount=function(){l.setHomeLink(_.Routes.APPLICATION_LIBRARY),(0,c.deepLinkRouteIfLanded)(_.RPCDeepLinks.LIBRARY),i.default.wait((function(){return(0,u.fetchBranches)()})),(0,s.fetchActivityStatistics)(),null!=this._scrollToOnMount&&null!=this._scrollerRef.current&&this.scrollToRow(this._scrollToOnMount,this._scrollToPadding)},p.renderToolbar=function(){return T},p.render=function(){var e,t=this.state.includeUpdatesInScroller,n=O("div",{},void 0,O(d.default,{section:_.AnalyticsSections.LIBRARY_INSTALL_MODULE},void 0,O(m.default,{onHeightTallerThanHalfViewportChange:this.handleHeightTallerThanHalfViewportChange})));return O(a.Fragment,{},void 0,O(v.default,{currentRoute:_.Routes.APPLICATION_LIBRARY,renderToolbar:this.renderToolbar}),t?null:n,a.createElement(f.AdvancedScrollerAuto,{className:(0,o.default)(h.default.container,h.default.scroller,(e={},e[h.default.stickyScroller]=!t,e)),ref:this._scrollerRef},t?n:null,O(d.default,{section:_.AnalyticsSections.LIBRARY_APPLICATION_LIST},void 0,O(y.default,{stickyHeader:!t,scrollToRow:this.scrollToRow}))))},r}(a.PureComponent);t.default=C,C.displayName="GameLibrary"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=S(n(0)),o=E(n(9)),i=E(n(3)),l=E(n(2)),u=S(n(10461)),s=E(n(694)),d=E(n(690)),f=E(n(1341)),c=E(n(1386)),p=E(n(5942)),v=n(1344),y=S(n(1253)),m=n(1),_=E(n(6)),h=E(n(8104));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var C=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).searchBarRef=null,t.state={focused:!1},t.setRef=function(e){t.searchBarRef=e},t.handleKeyDown=function(e){var n=t.props,r=n.activeRowKey,a=n.hasModalOpen,o=n.applicationViewItems,i=I(t).searchBarRef;if(!(a||e.ctrlKey||e.altKey||e.metaKey||null==i||document.activeElement!==i.inputRef.current&&(0,v.isInputLikeElement)(document.activeElement)))switch(e.which){case m.KeyboardKeys.ESCAPE:e.target!==i.inputRef.current?t.reset():null!=i.inputRef.current&&i.blur();break;case m.KeyboardKeys.ENTER:if(null!=r){e.preventDefault();var l=o.find((function(e){return e.key===r}));if(null==l)return;var u=l.libraryApplication;y.performDefaultLibraryApplicationAction(u,{analyticsParams:{source:m.AnalyticsLocations.APPLICATION_LIBRARY,location:{page:m.AnalyticsPages.LIBRARY,section:m.AnalyticsSections.LIBRARY_APPLICATION_LIST,object:m.AnalyticsObjects.BUTTON_CTA}}})}break;case m.KeyboardKeys.ARROW_DOWN:case m.KeyboardKeys.ARROW_UP:e.preventDefault(),e.stopPropagation(),t.updateActiveRow(e.which===m.KeyboardKeys.ARROW_DOWN?1:-1);break;default:null!=i.inputRef.current&&e.target!==i.inputRef.current&&i.focus()}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,T(t,n);var i=r.prototype;return i.componentDidMount=function(){document.addEventListener("keydown",this.handleKeyDown)},i.componentWillUnmount=function(){l.default.wait((function(){return u.updateActiveRowKey(null)})),document.removeEventListener("keydown",this.handleKeyDown)},i.reset=function(){u.updateActiveRowKey(null),u.updateLibraryFilter("")},i.focusInput=function(){var e=this.searchBarRef;null!=e&&e.focus()},i.updateActiveRow=function(e){var t=this.props,n=t.applicationViewItems,r=t.activeRowKey,a=n.findIndex((function(e){return e.key===r})),o=0;a>=0&&(o=(a+e)%n.length)<0&&(o=n.length-1);var i=n[o];u.updateActiveRowKey(null!=i?i.key:null,!0)},i.render=function(){var e,t=this,n=this.props.filterQuery,r=this.state.focused;return O("div",{className:(0,o.default)((e={},e[h.default.libraryFilter]=!0,e[h.default.focused]=r,e))},void 0,a.createElement(p.default,{className:h.default.searchBar,ref:this.setRef,onChange:u.updateLibraryFilter,onFocus:function(){return t.setState({focused:!0})},onBlur:function(){return t.setState({focused:!1})},name:"filter",onClear:function(){t.reset(),t.focusInput()},maxLength:100,query:n,placeholder:_.default.Messages.APPLICATION_LIBRARY_FILTER_PLACEHOLDER}))},r}(a.Component);C.displayName="ApplicationLibraryFilter";var b=i.default.connectStores([f.default,s.default,d.default,c.default],(function(){return{filterQuery:f.default.applicationFilterQuery,applicationViewItems:f.default.sortedFilteredLibraryApplicationViewItems,hasModalOpen:d.default.hasModalOpen()||s.default.hasLayers(),activeRowKey:c.default.activeRowKey}}))(C);t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=Z;var r,a,o=k(n(0)),i=w(n(9)),l=n(192),u=n(3),s=n(57),d=w(n(2)),f=n(389),c=k(n(10461)),p=w(n(8470)),v=w(n(8892)),y=w(n(10463)),m=w(n(1341)),_=w(n(1386)),h=w(n(29)),E=w(n(55)),g=w(n(477)),S=w(n(8432)),O=w(n(10464)),I=w(n(149)),T=w(n(11432)),C=w(n(5686)),b=w(n(10465)),M=k(n(13)),N=n(136),A=n(139),P=w(n(11433)),R=n(1),L=w(n(6)),D=w(n(8107));function w(e){return e&&e.__esModule?e:{default:e}}function j(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return j=function(){return e},e}function k(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=j();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function U(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return G(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return G(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function B(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function H(){return(H=Object.assign||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}).apply(this,arguments)}var x=(0,A.cssValueToNumber)(D.default.rowMinHeight),V=(0,A.cssValueToNumber)(D.default.linkedToGlowDuration),W=Object.freeze(((r={})[R.GameTableListKeys.PLATFORM]="Platform",r[R.GameTableListKeys.LAST_PLAYED]="Last Played",r[R.GameTableListKeys.NAME]="Name",r));var Y=function(e){var t=e.flag,n=e.icon,r=e.item,a=e.tooltip,l=r.libraryApplication.hasFlag(t);return B(I.default,{text:a},void 0,(function(e){var t;return o.createElement(n,H({className:(0,i.default)(D.default.settingIcon,(t={},t[D.default.hidden]=!l,t))},e))}))};Y.displayName="FlagIcon";var z=[{key:R.GameTableListKeys.NAME,renderHeader:function(){return L.default.Messages.GAME_LIBRARY_LIST_HEADER_NAME},sort:!0,cellClassName:D.default.nameCell,bodyCellClassName:D.default.nameBodyCell,render:function(e){return B(E.default,{align:E.default.Align.CENTER},void 0,B(g.default,{game:e.application,size:g.default.Sizes.SMALL,className:D.default.gameIcon}),B("div",{className:D.default.nameCellInfo},void 0,B("div",{className:D.default.nameCellText},void 0,e.libraryApplication.getBranchedName(e.application)),e.libraryApplication.hasFlag(R.LibraryApplicationFlags.PREMIUM)?B(I.default,{text:L.default.Messages.PREMIUM_GAME},void 0,(function(e){return o.createElement(C.default,H({className:D.default.nitroIcon},e))})):null))}},{key:R.GameTableListKeys.PLATFORM,renderHeader:function(){return L.default.Messages.GAME_LIBRARY_LIST_HEADER_PLATFORM},sort:!0,cellClassName:D.default.platformCell,bodyCellClassName:D.default.textCell,render:function(e){var t=e.libraryApplication.getDistributor();return B(E.default,{align:E.default.Align.CENTER},void 0,null!=t?R.DistributorNames[t]:L.default.Messages.GAME_LIBRARY_NOT_APPLICABLE)}},{key:R.GameTableListKeys.LAST_PLAYED,renderHeader:function(){return L.default.Messages.GAME_LIBRARY_LIST_HEADER_LAST_PLAYED},sort:!0,cellClassName:D.default.lastPlayedCell,bodyCellClassName:D.default.textCell,render:function(e){var t,n;return n=e.isRunning?L.default.Messages.GAME_LIBRARY_LAST_PLAYED_PLAYING_NOW:e.isNew?L.default.Messages.GAME_LIBRARY_NEW:0!==e.lastPlayed?B(S.default,{end:e.lastPlayed,location:S.default.Locations.GAME_LIBRARY_LAST_PLAYED}):L.default.Messages.GAME_LIBRARY_LAST_PLAYED_NONE,B(E.default,{align:E.default.Align.CENTER,className:(0,i.default)((t={},t[D.default.lastPlayedCellNew]=e.isNew,t))},void 0,n)}},{key:R.GameTableListKeys.ACTIONS,renderHeader:function(){return null},cellClassName:D.default.actionsCell,render:function(e,t,n){var r;if(!t)throw new Error("No cell props defined.");var a,l,u=e.key===t.activeRowKey;return B(o.Fragment,{},void 0,B("div",{className:D.default.settingIcons},void 0,B(Y,{flag:R.LibraryApplicationFlags.PRIVATE,item:e,icon:T.default,tooltip:L.default.Messages.GAME_LIBRARY_PRIVATE_TOOLTIP}),B(Y,{flag:R.LibraryApplicationFlags.OVERLAY_DISABLED,item:e,icon:b.default,tooltip:L.default.Messages.GAME_LIBRARY_OVERLAY_DISABLED_TOOLTIP}),B(P.default,{className:(0,i.default)(D.default.settingIcon,(r={},r[D.default.hidden]=!e.supportsCloudSync,r)),libraryApplication:e.libraryApplication})),(0,N.isUserEntitledToLibraryApplication)(e.libraryApplication)?B(v.default,{analyticsListSort:(a=t.sortKey,l=t.sortDirection,W[a]+" "+(l===R.TableSortDirections.ASCENDING?"ASC":"DESC")),analyticsListIndex:n,source:R.AnalyticsLocations.APPLICATION_LIBRARY,libraryApplication:e.libraryApplication,color:u?h.default.Colors.GREEN:h.default.Colors.PRIMARY,isPlayShiny:u&&e.defaultAction===R.LibraryApplicationActions.PLAY,size:D.default.actionButtonSize,hideProgress:null!=e.defaultAction,onDropdownOpen:function(){return null!=t&&t.setActiveRowKey(e)},onDropdownClose:function(){return null!=t&&t.clearActiveRowKey()}}):B(p.default,{skuId:e.libraryApplication.sku.id,applicationId:e.application.id,color:u?h.default.Colors.GREEN:h.default.Colors.PRIMARY,customDisabledColor:h.default.Colors.PRIMARY,size:D.default.actionButtonSize}))}}],K=function(e){var t,n=e.item,r=e.activeRowKey,a=e.highlightedApplicationKey,l=e.onMouseEnter,u=e.onMouseLeave,s=e.onContextMenu,d=e.setRef,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["item","activeRowKey","highlightedApplicationKey","onMouseEnter","onMouseLeave","onContextMenu","setRef"]),c=n.key===r,p=n.key===a;return o.createElement("div",{className:(0,i.default)((t={},t[D.default.rowWrapperActive]=c&&!p,t[D.default.rowWrapperGlow]=p,t[D.default.rowWrapper]=!c&&!p,t[D.default.rowWrapperDim]=!c&&!n.isLaunchable,t)),ref:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return d(e,n.key)})),onMouseEnter:function(){return l(n)},onMouseLeave:u,onContextMenu:function(e){return s(e,n)}},o.createElement("div",f))};K.displayName="Row";var $=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._didUnmount=!1,t._rowRefs={},t.state={overflowMenuRowKey:null,highlightedApplicationKey:null!=t.props.location.state?t.props.location.state.applicationId:null},t.setActiveRowKey=function(e){t.setState({overflowMenuRowKey:e.key})},t.clearActiveRowKey=function(){t._didUnmount||t.setState({overflowMenuRowKey:null})},t.handleRowMouseEnter=function(e){t.props.isNavigatingByKeyboard||c.updateActiveRowKey(e.key)},t.handleRowMouseLeave=function(){t.props.isNavigatingByKeyboard||c.updateActiveRowKey(null)},t.setRowRef=function(e,n){t._rowRefs[n]=e},t.handleApplicationContextMenu=function(e,n){t.setActiveRowKey(n);var r=t.props.analyticsContext;(0,f.openContextMenu)(e,(function(e){return o.createElement(y.default,H({},e,{applicationId:n.libraryApplication.id,branchId:n.libraryApplication.branchId,analyticsContext:r}))}),{onClose:t.clearActiveRowKey})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,F(t,n);var a=r.prototype;return a.componentDidMount=function(){this.props.fetched&&(this.handleHighlightedApplicationKey(),this.trackViewed())},a.componentWillUnmount=function(){this._didUnmount=!0},a.componentDidUpdate=function(e){!e.fetched&&this.props.fetched&&(this.handleHighlightedApplicationKey(),this.trackViewed());var t=this.props.activeRowKey;if(null!=t&&e.activeRowKey!==t&&this.props.isNavigatingByKeyboard){var n=this._rowRefs[t];null!=n&&(d.default.wait(f.closeContextMenu),this.props.scrollToRow(n,x))}},a.handleHighlightedApplicationKey=function(){var e=this,t=this.state.highlightedApplicationKey;null!=t&&null!=this._rowRefs[t]&&(this.props.scrollToRow(this._rowRefs[t],x),(new s.Timeout).start(V,(function(){e._didUnmount||e.setState({highlightedApplicationKey:null})})))},a.trackViewed=function(){for(var e,t={num_applications_total:0,num_applications_discord:0,num_applications_steam:0,num_applications_battlenet:0,num_applications_twitch:0,num_applications_uplay:0,num_applications_origin:0,num_applications_gog:0,num_applications_epic:0},n=this.props,r=n.analyticsContext,a=U(n.applicationViewItems);!(e=a()).done;){switch(e.value.libraryApplication.getDistributor()){case R.Distributors.DISCORD:t.num_applications_discord++;break;case R.Distributors.STEAM:t.num_applications_steam++;break;case R.Distributors.BATTLENET:t.num_applications_battlenet++;break;case R.Distributors.TWITCH:t.num_applications_twitch++;break;case R.Distributors.UPLAY:t.num_applications_uplay++;break;case R.Distributors.ORIGIN:t.num_applications_origin++;break;case R.Distributors.GOG:t.num_applications_gog++;break;case R.Distributors.EPIC:t.num_applications_epic++}t.num_applications_total++}M.default.track(R.AnalyticEvents.LIBRARY_VIEWED,H({},t,{load_id:r.loadId}))},a.handleSort=function(e,t){c.sortList(e,t)},a.renderImportHelp=function(){var e,t=this.props,n=t.applicationViewItems,r=t.filterQuery,a=n.length>0;return a?null:(e=""!==r?L.default.Messages.APPLICATION_LIBRARY_EMPTY_SEARCH_DESCRIPTION.format({query:r}):L.default.Messages.APPLICATION_LIBRARY_EMPTY_STATE_DESCRIPTION_NO_IMPORT,B("div",{className:a?D.default.emptyStateSmall:D.default.emptyStateLarge},void 0,B("div",{className:D.default.emptyWumpus}),B(E.default,{grow:0,shrink:a?1:0,direction:E.default.Direction.VERTICAL},void 0,B("div",{className:D.default.emptyStateText},void 0,B("h5",{className:D.default.emptyStateHeader},void 0,L.default.Messages.APPLICATION_LIBRARY_EMPTY_STATE_HEADER),B("div",{className:D.default.emptyStateDescription},void 0,e)))))},a.render=function(){var e=this.props,t=e.sortKey,n=e.sortDirection,r=e.applicationViewItems,a=e.activeRowKey,i=e.stickyHeader,l=this.state,u=l.overflowMenuRowKey,s=l.highlightedApplicationKey;return B(o.Fragment,{},void 0,r.length>0?B(O.default,{columns:z,data:r,sortData:!1,rowComponent:K,className:D.default.table,headerClassName:i?D.default.stickyHeader:D.default.header,headerCellClassName:D.default.headerCell,sortedHeaderCellClassName:D.default.headerCellSorted,bodyCellClassName:D.default.bodyCell,rowClassName:D.default.row,sortKey:t,sortDirection:n,stickyHeader:i,rowProps:{activeRowKey:u||a,highlightedApplicationKey:s,onMouseEnter:this.handleRowMouseEnter,onMouseLeave:this.handleRowMouseLeave,onContextMenu:this.handleApplicationContextMenu,setRef:this.setRowRef},cellProps:{activeRowKey:u||a,onContextMenu:this.handleApplicationContextMenu,setActiveRowKey:this.setActiveRowKey,clearActiveRowKey:this.clearActiveRowKey,sortKey:t,sortDirection:n},onSort:this.handleSort}):null,this.renderImportHelp())},r}(o.PureComponent);function Z(e){var t=o.useContext(M.AnalyticsContext),n=(0,l.useLocation)(),r=(0,u.useStateFromStoresObject)([m.default],(function(){return{applicationViewItems:m.default.sortedFilteredLibraryApplicationViewItems,filterQuery:m.default.applicationFilterQuery,fetched:m.default.hasFetchedApplications}})),a=r.applicationViewItems,i=r.filterQuery,s=r.fetched,d=(0,u.useStateFromStoresObject)([_.default],(function(){return{sortKey:_.default.sortKey,sortDirection:_.default.sortDirection,activeRowKey:_.default.activeRowKey,isNavigatingByKeyboard:_.default.isNavigatingByKeyboard}})),f=d.sortKey,c=d.sortDirection,p=d.activeRowKey,v=d.isNavigatingByKeyboard;return o.createElement($,H({},e,{analyticsContext:t,location:n,applicationViewItems:a,filterQuery:i,fetched:s,sortKey:f,sortDirection:c,activeRowKey:p,isNavigatingByKeyboard:v}))}$.displayName="GameList",$.defaultProps={stickyHeader:!1},Z.displayName="ConnectedGameList"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=n(8253),i=s(n(39)),l=n(1163),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t){var n=t.primarySkuId,r=(0,a.useStateFromStores)([i.default],(function(){return i.default.developerMode}));return!__OVERLAY__&&r&&l.SUPPORTS_COPY?f(o.MenuItem,{id:"application-dev",label:u.default.Messages.COPY,action:function(){return(0,l.copy)(t.id)}},void 0,f(o.MenuItem,{id:"app-id",label:u.default.Messages.APPLICATION_CONTEXT_MENU_APPLICATION_ID,action:function(){return(0,l.copy)(t.id)}}),null!=e?f(o.MenuItem,{id:"branch-id",label:u.default.Messages.APPLICATION_CONTEXT_MENU_BRANCH_ID,action:function(){return(0,l.copy)(e.branchId)}}):null,null!=n?f(o.MenuItem,{id:"sku-id",label:u.default.Messages.APPLICATION_CONTEXT_MENU_SKU_ID,action:function(){return(0,l.copy)(n)}}):null):null}c.displayName="useApplicationDeveloperModeItems"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=f(n(9163)),l=n(8253),u=f(n(51)),s=n(41),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e){return(0,o.useStateFromStores)([u.default],(function(){return u.default.hasContext(e.id)}),[e.id])?p(l.MenuItem,{id:"ingame-voice",label:d.default.Messages.IN_GAME_VOICE_SETTINGS,action:function(){return(0,s.openModal)((function(t){return a.createElement(i.default,v({},t,{mediaEngineContext:e.id,title:e.name}))}))}}):null}y.displayName="useApplicationVoiceSettingsItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=n(8253),i=d(n(155)),l=d(n(312)),u=d(n(16)),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e,t){var n=e.getBranchedName(t),r=(0,a.useStateFromStores)([i.default],(function(){var t=i.default.getState(e.id,e.branchId);return null==t?void 0:t.installPath}),[e.branchId,e.id]);return null!=r&&u.default.isDesktop()?c(o.MenuItem,{id:"create-shortcut",label:s.default.Messages.APPLICATION_CONTEXT_MENU_CREATE_DESKTOP_SHORTCUT,action:function(){return l.default.createShortcuts(!0,!1,n,e.id,r)}}):null}p.displayName="useCreateDesktopShortcutItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;m(n(0));var r,a=n(3),o=n(8253),i=v(n(400)),l=v(n(155)),u=v(n(120)),s=v(n(79)),d=n(263),f=m(n(1253)),c=v(n(1245)),p=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t){var n=(0,a.useStateFromStores)([s.default],(function(){return s.default.getRunningVerifiedApplicationIds().includes(e.id)}),[e.id]),r=(0,a.useStateFromStores)([u.default,c.default,l.default,i.default],(function(){return(0,d.isLaunchable)(u.default,c.default,l.default,i.default,e.id,e.branchId)}),[e.branchId,e.id]);return n||!r?null:_(o.MenuItem,{id:"launch",label:p.default.Messages.APPLICATION_CONTEXT_MENU_LAUNCH,action:function(){return f.playApplication(e.id,e,{analyticsParams:{location:t}})}})}h.displayName="useLaunchApplicationItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;p(n(0));var r,a=n(3),o=n(8253),i=f(n(155)),l=f(n(79)),u=p(n(1253)),s=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e){var t=(0,a.useStateFromStores)([l.default],(function(){return l.default.getRunningVerifiedApplicationIds().includes(e.id)}),[e.id]),n=(0,a.useStateFromStoresArray)([i.default],(function(){return[i.default.isUpToDate(e.id,e.branchId),i.default.shouldPatch(e.id,e.branchId)]}),[e.id]),r=n[0],f=n[1];return r&&!t&&f?v(o.MenuItem,{id:"repair",label:d.default.Messages.APPLICATION_CONTEXT_MENU_REPAIR,action:function(){return u.repairApplication(e.id,e.branchId,s.AnalyticsLocations.APPLICATION_CONTEXT_MENU_TOGGLE_INSTALL)}}):null}y.displayName="useRepairApplicationItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=I;var r,a=g(n(0)),o=n(3),i=g(n(1286)),l=n(8253),u=h(n(155)),s=h(n(120)),d=h(n(29)),f=h(n(466)),c=n(41),p=h(n(24)),v=h(n(13)),y=n(99),m=n(1),_=h(n(6));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(){return(O=Object.assign||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}).apply(this,arguments)}function I(e,t){var n=(0,o.useStateFromStores)([u.default],(function(){return u.default.isInstalled(e.id,e.branchId)}),[e.branchId,e.id]),r=(0,o.useStateFromStores)([s.default],(function(){return!s.default.hasRemovedLibraryApplicationThisSession}));if(n&&!e.isHidden())return null;function h(){var t=(0,y.toggleFlag)(e.getFlags(),m.LibraryApplicationFlags.HIDDEN);i.updateFlags(e.id,e.branchId,t),v.default.track(m.AnalyticEvents.APPLICATION_SETTINGS_UPDATED,O({hidden_enabled:(0,y.hasFlag)(t,m.LibraryApplicationFlags.HIDDEN)},e.getAnalyticsData()))}return S(l.MenuItem,{id:"in-library",label:e.isHidden()?_.default.Messages.APPLICATION_CONTEXT_MENU_SHOW:_.default.Messages.APPLICATION_CONTEXT_MENU_HIDE,action:function(){null!=e&&null!=t&&(e.isHidden()||!r?h():(0,c.openModal)((function(e){return a.createElement(f.default,O({header:_.default.Messages.APPLICATION_LIBRARY_REMOVE_CONFIRM_HEADER,confirmText:_.default.Messages.APPLICATION_LIBRARY_REMOVE_CONFIRM_CONFIRM,cancelText:_.default.Messages.CANCEL,onConfirm:function(){return n&&h()},confirmButtonColor:d.default.Colors.BRAND},e),S(p.default,{size:p.default.Sizes.SIZE_16},void 0,_.default.Messages.APPLICATION_LIBRARY_REMOVE_CONFIRM_BODY.format({name:t.name})))})))}})}I.displayName="useToggleInLibraryItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;y(n(0));var r,a=n(3),o=n(10304),i=n(8253),l=p(n(155)),u=p(n(79)),s=p(n(306)),d=y(n(1253)),f=n(1),c=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e){var t=(0,a.useStateFromStores)([u.default],(function(){return u.default.getRunningVerifiedApplicationIds().includes(e.id)}),[e.id]),n=(0,a.useStateFromStores)([l.default],(function(){return l.default.isInstalled(e.id,e.branchId)}),[e.branchId,e.id]),r=(0,a.useStateFromStores)([s.default],(function(){return s.default.getTargetManifests(e.id,e.branchId)}),[e.branchId,e.id]);return n?t?null:m(i.MenuItem,{id:"uninstall",label:c.default.Messages.APPLICATION_CONTEXT_MENU_UNINSTALL,action:function(){return(0,o.uninstallBranchPrompt)(e.id,e.branchId,f.AnalyticsLocations.APPLICATION_CONTEXT_MENU_TOGGLE_INSTALL)}}):null==r?null:m(i.MenuItem,{id:"install",label:c.default.Messages.APPLICATION_CONTEXT_MENU_INSTALL,action:function(){return d.installApplication(e.id,e.branchId,f.AnalyticsLocations.APPLICATION_CONTEXT_MENU_TOGGLE_INSTALL)}})}_.displayName="useToggleInstallItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;c(n(0));var r,a=c(n(1286)),o=n(8253),i=d(n(13)),l=n(99),u=n(1),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e){return null==e?null:p(o.MenuCheckboxItem,{id:"on-overlay",label:s.default.Messages.APPLICATION_CONTEXT_MENU_TOGGLE_OVERLAY_DISABLE,action:function(){if(null!=e){var t=(0,l.toggleFlag)(e.getFlags(),u.LibraryApplicationFlags.OVERLAY_DISABLED);a.updateFlags(e.id,e.branchId,t),i.default.track(u.AnalyticEvents.APPLICATION_SETTINGS_UPDATED,v({overlay_disabled:(0,l.hasFlag)(t,u.LibraryApplicationFlags.OVERLAY_DISABLED)},e.getAnalyticsData()))}},checked:e.hasFlag(u.LibraryApplicationFlags.OVERLAY_DISABLED)})}y.displayName="useToggleOverlayItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;c(n(0));var r,a=c(n(1286)),o=n(8253),i=d(n(13)),l=n(99),u=n(1),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e){return null==e?null:p(o.MenuCheckboxItem,{id:"private",label:s.default.Messages.APPLICATION_CONTEXT_MENU_PRIVATE_STATUS,action:function(){if(null!=e){var t=(0,l.toggleFlag)(e.getFlags(),u.LibraryApplicationFlags.PRIVATE);a.updateFlags(e.id,e.branchId,t),i.default.track(u.AnalyticEvents.APPLICATION_SETTINGS_UPDATED,v({private_enabled:(0,l.hasFlag)(t,u.LibraryApplicationFlags.PRIVATE)},e.getAnalyticsData()))}},checked:e.hasFlag(u.LibraryApplicationFlags.PRIVATE)})}y.displayName="useTogglePrivateItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r},l=n(1);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}function d(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,u=e.color,f=void 0===u?"currentColor":u,c=e.foregroundColor,p=void 0===c?l.Colors.STATUS_RED:c,v=e.foreground,y=e.background,m=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foregroundColor","foreground","background"]);return o.createElement("svg",s({},(0,i.default)(m),{width:n,height:a,viewBox:"0 0 24 24"}),d("rect",{fill:p,className:v,x:"2",y:"21.2154",width:"26",height:"2",transform:"rotate(-45 2 21.2154)"}),d("path",{fill:f,className:y,fillRule:"evenodd",clipRule:"evenodd",d:"M10.1843 18.8115C10.7713 18.9328 11.3775 19 12 19C18.352 19 23 12 23 12C23 12 21.9643 10.4402 20.2026 8.79322L15.8265 13.1693C15.4393 14.4384 14.4382 15.4393 13.1694 15.8264L10.1843 18.8115ZM12.4818 8.02871C12.3238 8.00975 12.1631 8 12 8C9.791 8 8 9.79 8 12C8 12.1631 8.00975 12.3239 8.0287 12.4818L4.59645 15.914C2.35293 14.0375 1 12 1 12C1 12 5.648 5 12 5C13.0508 5 14.055 5.19157 14.9992 5.51132L12.4818 8.02871Z"}))}f.displayName="EyeHidden"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=m(n(3)),l=n(57),u=m(n(1342)),s=m(n(149)),d=m(n(9235)),f=m(n(11434)),c=m(n(11435)),p=m(n(11436)),v=n(1),y=m(n(6));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(){return(E=Object.assign||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}).apply(this,arguments)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var S=new Set([v.CloudSyncStateTypes.PUSHING,v.CloudSyncStateTypes.PULLING]),O=Object.freeze(((r={})[v.CloudSyncStateTypes.DONE]=d.default,r[v.CloudSyncStateTypes.PLANNING]=d.default,r[v.CloudSyncStateTypes.PREPARING]=d.default,r[v.CloudSyncStateTypes.PUSHING]=p.default,r[v.CloudSyncStateTypes.PULLING]=c.default,r[v.CloudSyncStateTypes.CONFLICT]=d.default,r[v.CloudSyncStateTypes.ERROR]=d.default,r)),I=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._doneTimer=new l.Timeout,t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,g(t,n);var a=r.prototype;return a.componentDidMount=function(){this.getIsRecentlySynced()&&this.setRecentlySyncedTimeout()},a.componentDidUpdate=function(e){null!=this.props.cloudSyncState&&(this.props.cloudSyncState.type!==v.CloudSyncStateTypes.DONE||null==this.props.cloudSyncState.timestamp||null!=e.cloudSyncState&&null!=e.cloudSyncState.timestamp||this.setRecentlySyncedTimeout())},a.componentWillUnmount=function(){this._doneTimer.stop()},a.setRecentlySyncedTimeout=function(){var e=this;this._doneTimer.start(2e3,(function(){return e.forceUpdate()}))},a.getIsRecentlySynced=function(){var e=this.props.cloudSyncState;if(null!=e&&e.type===v.CloudSyncStateTypes.DONE){var t=e.timestamp;return null!=t&&Date.now()-t<=2e3}return!1},a.getStop=function(e,t){return t?1:e.type===v.CloudSyncStateTypes.PUSHING||e.type===v.CloudSyncStateTypes.PULLING?e.progress/e.total:0},a.getTooltip=function(e,t){switch(e.type){case v.CloudSyncStateTypes.DONE:return t?y.default.Messages.CLOUD_SYNC_ICON_TOOLTIP_DONE:y.default.Messages.CLOUD_SYNC_ICON_TOOLTIP_SUPPORTED;case v.CloudSyncStateTypes.CONFLICT:case v.CloudSyncStateTypes.ERROR:return y.default.Messages.CLOUD_SYNC_ICON_TOOLTIP_SUPPORTED;case v.CloudSyncStateTypes.PLANNING:return y.default.Messages.CLOUD_SYNC_ICON_TOOLTIP_PLANNING;case v.CloudSyncStateTypes.PREPARING:return y.default.Messages.CLOUD_SYNC_ICON_TOOLTIP_PREPARING;case v.CloudSyncStateTypes.PUSHING:return y.default.Messages.CLOUD_SYNC_ICON_TOOLTIP_PUSHING;case v.CloudSyncStateTypes.PULLING:return y.default.Messages.CLOUD_SYNC_ICON_TOOLTIP_PULLING;default:return null}},a.render=function(){var e=this.props,t=e.cloudSyncState,n=e.libraryApplication,r=e.className,a=null==t?{type:v.CloudSyncStateTypes.DONE}:t,i=this.getIsRecentlySynced(),l={};(S.has(a.type)||i)&&(l.gradientConfig={id:n.id,startColor:"rgba(199, 208, 240, 1)",stopColor:"rgba(114, 137, 218, 1)",stop:this.getStop(a,i)});var u=i?f.default:O[a.type];return h(s.default,{text:this.getTooltip(a,i)},void 0,(function(e){return o.createElement(u,E({className:r},l,e))}))},r}(o.PureComponent);I.displayName="CloudSyncIcon";var T=i.default.connectStores([u.default],(function(e){var t=e.libraryApplication;return{cloudSyncState:u.default.getState(t.id,t.branchId)}}))(I);t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=l(n(10224)),i=l(n(22));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e){return"CloudDone-"+e}var c=s("path",{d:"M0 0h24v24H0z",fill:"none"});function p(e){var t=e.width,n=void 0===t?24:t,r=e.height,l=void 0===r?24:r,u=e.color,p=void 0===u?"currentColor":u,v=e.foreground,y=e.gradientConfig,m=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground","gradientConfig"]),_=null;return null!=y&&(_=a.createElement(o.default,d({},y,{color:p,id:f(y.id)}))),a.createElement("svg",d({},(0,i.default)(m),{width:n,height:l,viewBox:"0 0 24 24"}),s("defs",{},void 0,_),c,s("path",{fill:null!=y?"url(#"+f(y.id)+")":p,className:v,d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM10 17l-3.5-3.5 1.41-1.41L10 14.17 15.18 9l1.41 1.41L10 17z"}))}p.displayName="CloudDone"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=l(n(10224)),i=l(n(22));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e){return"CloudDownload-"+e}var c=s("path",{d:"M0 0h24v24H0z",fill:"none"});function p(e){var t=e.width,n=void 0===t?24:t,r=e.height,l=void 0===r?24:r,u=e.color,p=void 0===u?"currentColor":u,v=e.foreground,y=e.gradientConfig,m=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground","gradientConfig"]),_=null;return null!=y&&(_=a.createElement(o.default,d({},y,{color:p,id:f(y.id)}))),a.createElement("svg",d({},(0,i.default)(m),{width:n,height:l,viewBox:"0 0 24 24"}),s("defs",{},void 0,_),c,s("path",{fill:null!=y?"url(#"+f(y.id)+")":p,className:v,d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM17 13l-5 5-5-5h3V9h4v4h3z"}))}p.displayName="CloudDownload"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=l(n(10224)),i=l(n(22));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e){return"CloudUpload-"+e}var c=s("path",{d:"M0 0h24v24H0z",fill:"none"});function p(e){var t=e.width,n=void 0===t?24:t,r=e.height,l=void 0===r?24:r,u=e.color,p=void 0===u?"currentColor":u,v=e.foreground,y=e.gradientConfig,m=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground","gradientConfig"]),_=null;return null!=y&&(_=a.createElement(o.default,d({},y,{color:p,id:f(y.id)}))),a.createElement("svg",d({},(0,i.default)(m),{width:n,height:l,viewBox:"0 0 24 24"}),s("defs",{},void 0,_),c,s("path",{fill:null!=y?"url(#"+f(y.id)+")":p,className:v,d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"}))}p.displayName="CloudUpload"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i,l,u=z(n(0)),s=W(n(9)),d=W(n(8)),f=W(n(3)),c=W(n(2)),p=z(n(389)),v=z(n(266)),y=W(n(8892)),m=W(n(8273)),_=W(n(8299)),h=W(n(10463)),E=W(n(155)),g=W(n(405)),S=W(n(71)),O=W(n(120)),I=W(n(39)),T=W(n(161)),C=W(n(29)),b=W(n(55)),M=W(n(477)),N=n(8432),A=W(n(8635)),P=W(n(11438)),R=W(n(10464)),L=W(n(149)),D=W(n(9237)),w=W(n(255)),j=W(n(9104)),k=W(n(8723)),U=n(380),G=z(n(136)),F=W(n(9034)),B=W(n(11439)),H=n(1),x=W(n(6)),V=W(n(8111));function W(e){return e&&e.__esModule?e:{default:e}}function Y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Y=function(){return e},e}function z(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=Y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function K(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Z(e,t)}function Z(e,t){return(Z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function q(){return(q=Object.assign||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}).apply(this,arguments)}function X(e,t,n,r){l||(l="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,o=arguments.length-3;if(t||0===o||(t={children:void 0}),1===o)t.children=r;else if(o>1){for(var i=new Array(o),u=0;u<o;u++)i[u]=arguments[u+3];t.children=i}if(t&&a)for(var s in a)void 0===t[s]&&(t[s]=a[s]);else t||(t=a||{});return{$$typeof:l,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var J=function(e){var t=e.className,n=e.children,r=e.onContextMenu,a=e.item;return X("div",{className:t,onContextMenu:function(e){return r(e,a)}},void 0,n)};J.displayName="Row";var Q=[H.Colors.LINK,"var(--interactive-normal)"],ee=function(e){var t=e.tooltip,n=e.onClick,r=e.icon;return X(L.default,{text:t},void 0,(function(e){var a=e.onMouseEnter,o=e.onMouseLeave;return X(C.default,{"aria-label":t,className:V.default.actionButton,innerClassName:V.default.actionButtonContents,color:C.default.Colors.GREY,size:C.default.Sizes.ICON,onClick:n,onMouseEnter:a,onMouseLeave:o},void 0,X(r,{className:V.default.actionIcon}))}))};function te(e,t){switch(t){case H.DispatchApplicationStages.POST_INSTALL_SCRIPTS:case H.DispatchApplicationStages.PLANNING:case H.DispatchApplicationStages.FINALIZING:case H.DispatchApplicationStages.ALLOCATING_DISK:return""+e;default:return(0,U.formatSize)(e,{useKibibytes:!0})}}ee.displayName="ActionButton";var ne=((i={})[H.LocalDispatchApplicationStates.INSTALLING]=((r={})[N.TimeUnits.NONE]=function(e,t,n,r){return x.default.Messages.GAME_LIBRARY_UPDATES_INSTALLING.format({percent:e,progress:t,total:n})},r[N.TimeUnits.SECONDS]=function(e,t,n,r){return x.default.Messages.GAME_LIBRARY_UPDATES_INSTALLING_SECONDS.format({percent:e,progress:t,total:n,timeRemaining:r})},r[N.TimeUnits.MINUTES]=function(e,t,n,r){return x.default.Messages.GAME_LIBRARY_UPDATES_INSTALLING_MINUTES.format({percent:e,progress:t,total:n,timeRemaining:r})},r[N.TimeUnits.HOURS]=function(e,t,n,r){return x.default.Messages.GAME_LIBRARY_UPDATES_INSTALLING_HOURS.format({percent:e,progress:t,total:n,timeRemaining:r})},r),i[H.LocalDispatchApplicationStates.UPDATING]=((a={})[N.TimeUnits.NONE]=function(e,t,n,r){return x.default.Messages.GAME_LIBRARY_UPDATES_UPDATING.format({percent:e,progress:t,total:n})},a[N.TimeUnits.SECONDS]=function(e,t,n,r){return x.default.Messages.GAME_LIBRARY_UPDATES_UPDATING_UPDATING_SECONDS.format({percent:e,progress:t,total:n,timeRemaining:r})},a[N.TimeUnits.MINUTES]=function(e,t,n,r){return x.default.Messages.GAME_LIBRARY_UPDATES_UPDATING_UPDATING_MINUTES.format({percent:e,progress:t,total:n,timeRemaining:r})},a[N.TimeUnits.HOURS]=function(e,t,n,r){return x.default.Messages.GAME_LIBRARY_UPDATES_UPDATING_UPDATING_HOURS.format({percent:e,progress:t,total:n,timeRemaining:r})},a),i[H.LocalDispatchApplicationStates.REPAIRING]=((o={})[N.TimeUnits.NONE]=function(e,t,n,r){return x.default.Messages.GAME_LIBRARY_UPDATES_INSTALLING.format({percent:e,progress:t,total:n})},o[N.TimeUnits.SECONDS]=function(e,t,n,r){return x.default.Messages.GAME_LIBRARY_UPDATES_INSTALLING_SECONDS.format({percent:e,progress:t,total:n,timeRemaining:r})},o[N.TimeUnits.MINUTES]=function(e,t,n,r){return x.default.Messages.GAME_LIBRARY_UPDATES_INSTALLING_MINUTES.format({percent:e,progress:t,total:n,timeRemaining:r})},o[N.TimeUnits.HOURS]=function(e,t,n,r){return x.default.Messages.GAME_LIBRARY_UPDATES_INSTALLING_HOURS.format({percent:e,progress:t,total:n,timeRemaining:r})},o),i);function re(e,t,n,r,a){var o=null!=e?e/60:null,i=ne[t],l=null!=i?Object.keys(i):[],u=(0,N.getTimeAndUnit)(o,l),s=u.unit,d=u.time;if(null!=i&&null!=s){var f=i[s];return null!=f?f(n,r,a,d):null}return null}function ae(e,t,n,r,a,o){var i=te(a,t),l=te(r,t);switch(t){case H.DispatchApplicationStages.QUEUED:return 0===r?x.default.Messages.GAME_LIBRARY_UPDATES_PROGRESS_WAITING_FOR_ANOTHER_NO_TRANSITION:x.default.Messages.GAME_LIBRARY_UPDATES_PROGRESS_WAITING_FOR_ANOTHER.format({percent:n,progress:l,total:i});case H.DispatchApplicationStages.PLANNING:return x.default.Messages.GAME_LIBRARY_UPDATES_PROGRESS_PLANNING.format({percent:n});case H.DispatchApplicationStages.ALLOCATING_DISK:return x.default.Messages.GAME_LIBRARY_UPDATES_PROGRESS_ALLOCATING_DISK.format({percent:n});case H.DispatchApplicationStages.PATCHING:return re(o,e,n,l,i);case H.DispatchApplicationStages.FINALIZING:return x.default.Messages.GAME_LIBRARY_UPDATES_PROGRESS_FINALIZING.format({percent:n});case H.DispatchApplicationStages.PAUSING:return x.default.Messages.GAME_LIBRARY_UPDATES_PROGRESS_PAUSING.format({percent:n,progress:l,total:i});case H.DispatchApplicationStages.VERIFYING:return x.default.Messages.GAME_LIBRARY_UPDATES_PROGRESS_VERIFYING.format({percent:n,progress:l,total:i});case H.DispatchApplicationStages.POST_INSTALL_SCRIPTS:return x.default.Messages.GAME_LIBRARY_UPDATES_PROGRESS_POST_INSTALL_SCRIPTS.format({percent:n,progress:l,total:i});case H.DispatchApplicationStages.REPAIRING:return e===H.LocalDispatchApplicationStates.REPAIRING?re(o,e,n,l,i):x.default.Messages.GAME_LIBRARY_UPDATES_PROGRESS_REPAIRING.format({percent:n,progress:l,total:i})}throw new Error("Invalid Dispatch stage")}var oe="name",ie="progress",le="actions",ue=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).renderProgressPatchingBody=function(e,n){var r=t.props.item.state;if(null==r)return null;var a=r.stage,o=r.progress,i=r.total,l=r.type,u=r.readerProgress;if(null==o||null==i||null==a)return null;var s=G.calculateProgressPercentage(o,i),d=G.calculateProgressPercentage(u||0,i),f=e[e.length-1]/n*1e3,c=i-o,p=0!==f?Math.max(1,c/f):null,v=ae(l,a,Math.floor(s),o,i,p);return t.renderStackedProgress({percents:[s,d],message:v})},t}$(t,e);var n,r,a,o=t.prototype;return o.renderBody=function(e){var t=e.percent,n=e.foregroundColor,r=e.foregroundGradientColor,a=e.message;return X(b.default,{direction:b.default.Direction.VERTICAL},void 0,X(A.default,{percent:t,size:A.default.Sizes.SMALL,foregroundColor:n,foregroundGradientColor:r,animate:this.isFocused}),X("div",{className:V.default.progressCellText},void 0,null!=a?a:""))},o.renderStackedProgress=function(e){var t=e.percents,n=e.message;return X(b.default,{direction:b.default.Direction.VERTICAL},void 0,X(P.default,{percents:t,size:A.default.Sizes.SMALL,foregroundColors:Q,animate:this.isFocused}),X("div",{className:V.default.progressCellText},void 0,null!=n?n:""))},o.renderFinished=function(){var e=this.props.item;return this.renderBody({message:x.default.Messages.GAME_LIBRARY_UPDATES_PROGRESS_FINISHED.format({remove:function(){return v.removeFinished(e.applicationId,e.branchId)}}),foregroundColor:e.theme===H.ThemeTypes.LIGHT?H.Colors.PRIMARY_DARK_300:H.Colors.PRIMARY_DARK,percent:100})},o.renderQueued=function(){var e,t,n=this.props.item,r=n.state,a=n.theme;if(null!=r){var o=r.progress,i=r.total,l=r.stage;if(null!=o&&null!=i){var u=te(i,l),s=te(o,l);t=G.calculateProgressPercentage(o,i);var d=Math.floor(t);e=l===H.DispatchApplicationStages.PAUSING?x.default.Messages.GAME_LIBRARY_UPDATES_PROGRESS_PAUSING.format({percent:d,progress:s,total:u}):x.default.Messages.GAME_LIBRARY_UPDATES_PROGRESS_QUEUED.format({percent:d,progress:s,total:u})}}return null!=t&&null!=e||(t=0,e=x.default.Messages.GAME_LIBRARY_UPDATES_PROGRESS_QUEUED_NO_TRANSITION),this.renderBody({percent:t,foregroundColor:a===H.ThemeTypes.LIGHT?H.Colors.PRIMARY_DARK_300:H.Colors.PRIMARY_DARK,message:e})},o.renderPaused=function(){var e=this.props.item,t=e.state,n=e.theme;if(null==t)return null;var r=t.progress,a=t.total;if(null==r||null==a)return null;var o=G.calculateProgressPercentage(r,a),i=Math.floor(o),l=0===r&&1===a?x.default.Messages.GAME_LIBRARY_UPDATES_PROGRESS_PAUSED_NO_TRANSITION:x.default.Messages.GAME_LIBRARY_UPDATES_PROGRESS_PAUSED.format({percent:i,progress:(0,U.formatSize)(r),total:(0,U.formatSize)(a)});return this.renderBody({message:l,foregroundColor:n===H.ThemeTypes.LIGHT?H.Colors.PRIMARY_DARK_300:H.Colors.PRIMARY_DARK,percent:o})},o.renderProgressPatching=function(){return X(F.default,{getHistoricalTotalBytes:E.default.getHistoricalTotalBytesWritten,updateInterval:5e3},void 0,this.renderProgressPatchingBody)},o.renderProgressDefault=function(){var e=this.props.item.state;if(null==e)return null;var t=e.total,n=e.progress,r=e.stage,a=e.type;if(null==t||null==n||null==r)return null;var o=G.calculateProgressPercentage(n,t),i=Math.floor(o);return this.renderBody({percent:o,message:ae(a,r,i,n,t),foregroundColor:H.Colors.LINK})},o.renderProgress=function(){var e=this.props.item.state;switch(null!=e?e.stage:null){case H.DispatchApplicationStages.PATCHING:case H.DispatchApplicationStages.REPAIRING:return this.renderProgressPatching();default:return this.renderProgressDefault()}},o.render=function(){var e=this.props,t=e.item,n=e.cellProps;return t.finished?this.renderFinished():t.index>0?this.renderQueued():null==t.state||t.state.type!==H.LocalDispatchApplicationStates.UPDATING&&t.state.type!==H.LocalDispatchApplicationStates.REPAIRING&&t.state.type!==H.LocalDispatchApplicationStates.INSTALLING?null:null!=n&&n.paused?this.renderPaused():this.renderProgress()},n=t,(r=[{key:"isFocused",get:function(){var e=this.props.cellProps;return null!=e&&e.isFocused}}])&&K(n.prototype,r),a&&K(n,a),t}(u.PureComponent);ue.displayName="ProgressCell";var se=function(){return X(ee,{icon:k.default,tooltip:x.default.Messages.GAME_LIBRARY_UPDATES_ACTION_RESUME,onClick:function(){return v.resume()}})};se.displayName="ResumeButton";var de=function(){return X(ee,{icon:j.default,tooltip:x.default.Messages.GAME_LIBRARY_UPDATES_ACTION_PAUSE,onClick:function(){return v.pause()}})};de.displayName="PauseButton";var fe=function(e){var t=e.item;return X(ee,{icon:D.default,tooltip:x.default.Messages.GAME_LIBRARY_UPDATES_ACTION_MOVE_UP,onClick:function(){return v.moveUp(t.applicationId,t.branchId)}})};fe.displayName="MoveUpButton";var ce=function(e){var t=e.item;return X(ee,{icon:w.default,tooltip:x.default.Messages.GAME_LIBRARY_UPDATES_ACTION_REMOVE,onClick:function(){return v.cancel(t.applicationId,t.branchId)}})};ce.displayName="CancelButton";var pe=X(se,{}),ve=[{key:oe,cellClassName:V.default.nameCell,render:function(e){return X(b.default,{align:b.default.Align.CENTER},void 0,X(M.default,{game:e.application,className:V.default.gameIcon,size:M.default.Sizes.SMALL}),X("div",{className:V.default.nameCellText},void 0,e.application.name))}},{key:ie,cellClassName:V.default.progressCell,headerCellClassName:V.default.progressCellHeader,bodyCellClassName:V.default.progressCellBody,render:function(e,t){return X(ue,{item:e,cellProps:t})}},{key:le,cellClassName:V.default.actionsCell,render:function(e,t){var n,r;return e.finished?n=null!=e.libraryApplication?X(y.default,{libraryApplication:e.libraryApplication,size:C.default.Sizes.SMALL,className:V.default.gameActionButton,source:H.AnalyticsLocations.APPLICATION_LIBRARY_UPDATES}):null:null!=e.state?e.state.type!==H.LocalDispatchApplicationStates.UP_TO_DATE&&(n=e.index>0?X(fe,{item:e}):null!=t&&t.paused?pe:X(de,{item:e}),r=X(ce,{item:e})):r=X(ce,{item:e}),X(b.default,{justify:b.default.Justify.END},void 0,n,r)}}],ye=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).isUnmounted=!1,t.isTallerThanHalfViewport=!1,t.throttledUpdateHeight=d.default.throttle((function(){if(!t.isUnmounted){var e=t.props,n=e.height,r=e.onHeightTallerThanHalfViewportChange,a=n>window.innerHeight/2;t.isTallerThanHalfViewport!==a&&(t.isTallerThanHalfViewport=a,r(a))}}),1e3),t}$(t,e);var n=t.prototype;return n.componentDidMount=function(){window.addEventListener("resize",this.throttledUpdateHeight)},n.componentDidUpdate=function(e){this.props.height!==e.height&&this.throttledUpdateHeight()},n.componentWillUnmount=function(){this.props.applications.forEach((function(e){e.finished&&c.default.wait((function(){v.removeFinished(e.applicationId,e.branchId)}))})),window.removeEventListener("resize",this.throttledUpdateHeight),this.isUnmounted=!0},n.render=function(){var e=this.props,t=e.applications,n=e.paused,r=e.isFocused,a=e.theme,o=e.analyticsContext;return 0===t.length?null:X("div",{className:V.default.gameUpdates},void 0,X("div",{className:V.default.headerRow},void 0,X(B.default,{className:(0,s.default)(V.default.headerCell,V.default.networkProgress),title:x.default.Messages.GAME_LIBRARY_UPDATES_HEADER_NETWORK,getHistoricalTotalBytes:E.default.getHistoricalTotalBytesDownloaded,color:H.Colors.STATUS_GREEN_600,animate:r}),X(B.default,{className:(0,s.default)(V.default.headerCell,V.default.diskProgress),title:x.default.Messages.GAME_LIBRARY_UPDATES_HEADER_DISK,getHistoricalTotalBytes:E.default.getHistoricalTotalBytesWritten,color:H.Colors.LINK,animate:r})),X(R.default,{hasHeader:!1,columns:ve,data:t,className:V.default.table,rowClassName:V.default.row,rowComponent:J,cellProps:{paused:n,isFocused:r,theme:a},rowProps:{onContextMenu:function(e,t){return function(e,t,n){p.openContextMenu(e,(function(e){return u.createElement(h.default,q({},e,{applicationId:t.applicationId,branchId:t.branchId,analyticsContext:n}))}))}(e,t,o)}},bodyCellClassName:V.default.cell}))},t}(u.PureComponent);function me(e,t,n,r){return e.reduce((function(e,a,o){var i=a.applicationId,l=a.branchId,u=n.getGame(i),s=r.getState(i,l);return null!=u&&e.push({key:i+":"+l,applicationId:i,branchId:l,state:s,application:u,libraryApplication:O.default.getLibraryApplication(i,l),finished:t,index:o}),e}),[])}ye.displayName="GameUpdates";var _e=(0,_.default)(f.default.connectStores([g.default,I.default,T.default,S.default,E.default],(function(){var e=me(g.default.activeItems,!1,S.default,E.default),t=me(g.default.finishedItems,!0,S.default,E.default);return{applications:[].concat(e,t),paused:g.default.paused,isFocused:T.default.isFocused(),theme:I.default.theme}}))((0,m.default)(ye)));t.default=_e},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a,o=s(n(9)),i=s(n(8)),l=n(1),u=s(n(8108));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}!function(e){e.XSMALL="xsmall",e.SMALL="small",e.LARGE="large"}(a||(a={}));var p=function(e){var t=e.className,n=e.percents,r=e.size,s=void 0===r?a.SMALL:r,d=e.foregroundColors,p=void 0===d?[l.Colors.BRAND]:d,v=e.backgroundColor,y=void 0===v?"var(--background-modifier-active)":v,m=e.animate,_=void 0===m||m,h=i.default.zip(n,p).map((function(e,t){var n,r,a=e[0],i=e[1];return r=Array.isArray(i)?{background:"linear-gradient(to right, "+i[0]+", "+i[1]+")"}:{backgroundColor:i},f("div",{className:(0,o.default)(u.default.progressBar,u.default[s],(n={},n[u.default.animating]=_,n)),style:c({transform:"translate3d("+(Math.min(Math.max(0,a),100)-100)+"%, 0, 0)"},r)},t)})).reverse();return f("div",{className:(0,o.default)(t,u.default.progress,u.default[s]),style:{backgroundColor:y}},void 0,h)};p.displayName="StackedProgress",p.Sizes=a;var v=p;t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),i=f(n(55)),l=f(n(11440)),u=f(n(9034)),s=f(n(6)),d=f(n(8110));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){return e>1e3?s.default.Messages.FILE_RATE_MB.format({size:Math.round(e/1e3)}):s.default.Messages.FILE_RATE_KB.format({size:Math.round(e)})}var m=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).renderBody=function(e,n,r){var a=t.props,u=a.title,s=a.className,f=a.color,c=a.animate,v=a.gradientStopColor;return p("div",{className:(0,o.default)(d.default.monitor,s)},void 0,p(i.default,{align:i.default.Align.CENTER},void 0,p(i.default,{className:d.default.text,direction:i.default.Direction.VERTICAL},void 0,p("div",{className:d.default.title},void 0,u),p("div",{className:d.default.rate},void 0,y(e[e.length-1]/n*1e3))),p("div",{className:d.default.overflowContainer},void 0,p(l.default,{data:e,maxValue:Math.max(Math.max.apply(null,e),1e3),className:d.default.sparkChart,updateInterval:n,color:f,gradientStopColor:v,numUpdatesToShow:r,animate:c,pixelWidth:600,pixelHeight:48,lineWidth:4}))))},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n),r.prototype.render=function(){return p(u.default,{getHistoricalTotalBytes:this.props.getHistoricalTotalBytes},void 0,this.renderBody)},r}(a.PureComponent);m.displayName="GameUpdateActivityMonitor";var _=m;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=d(n(0)),o=u(n(8)),i=d(n(483)),l=u(n(8109));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).canvas=a.createRef(),t.updateAnimation=function(e){var n=t.canvas.current;if(null!=n){var r=t.props,a=r.data,o=r.updateInterval,l=r.color,u=r.numUpdatesToShow,s=r.lineWidth,d=r.animate,f=r.gradientStopColor;if(!(a.length<2)){var c=Math.max(Math.min((e-t.dataChangedAt)/o,1),0),p=n.getContext("2d"),v=t.maxValue;p.strokeStyle=l,p.lineWidth=s;var y=n.height-p.lineWidth,m=p.createLinearGradient(0,0,0,y);if(null!=f)m.addColorStop(0,f);else{var _=i.hexToRgb(l),h=_.r,E=_.g,g=_.b;m.addColorStop(0,"rgba("+h+", "+E+", "+g+", 0)")}m.addColorStop(1,t.fillColor),p.fillStyle=m;var S=a.length>=u?u:a.length;p.setTransform(1,0,0,-1,0,n.height),p.clearRect(0,0,n.width,n.height),p.translate(0,.5*p.lineWidth);var O,I,T=Math.floor(n.width/(S-3)),C=.5*T,b=T-T*c;p.translate(b,0),p.beginPath();var M=-T;a.forEach((function(e,t){O={x:M,y:y*e/v},0===t?p.moveTo(O.x,O.y):p.bezierCurveTo(I.x+C,I.y,O.x-C,O.y,O.x,O.y),I=O,M+=T})),p.stroke(),p.lineTo(M-T,0),p.lineTo(0,0),p.fill(),d&&c<1&&(t.animationFrameRequestId=window.requestAnimationFrame(t.updateAnimation))}}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var u=r.prototype;return u.onDataUpdate=function(e,t){var n=this.props,r=n.maxValue,a=n.data,l=n.animate,u=null==e||e.data!==t.data&&!o.default.isEqual(e.data,t.data);if(u&&(this.dataChangedAt=performance.now(),this.maxValue=null!=r?r:Math.max.apply(Math,a)),u||null==e||!e.animate&&l||e.color!==this.props.color){var s=i.hexToRgb(this.props.color);this.fillColor="rgba("+s.r+", "+s.g+", "+s.b+", 0.5)",window.cancelAnimationFrame(this.animationFrameRequestId),this.animationFrameRequestId=window.requestAnimationFrame(this.updateAnimation)}},u.componentDidMount=function(){this.animationFrameRequestId=0,this.onDataUpdate(null,this.props)},u.componentDidUpdate=function(e){this.onDataUpdate(e,this.props)},u.componentWillUnmount=function(){window.cancelAnimationFrame(this.animationFrameRequestId),this.animationFrameRequestId=0},u.render=function(){var e=this.props,t=e.className,n=e.pixelWidth,r=e.pixelHeight;return f("div",{className:t},void 0,a.createElement("canvas",{ref:this.canvas,className:l.default.canvas,width:n,height:r}))},r}(a.PureComponent);p.displayName="SparkChart",p.defaultProps={animate:!0};var v=p;t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=b(n(0)),o=T(n(3)),i=b(n(1286)),l=T(n(274)),u=T(n(39)),s=T(n(1341)),d=T(n(61)),f=T(n(55)),c=T(n(8267)),p=n(131),v=T(n(255)),y=n(272),m=T(n(13)),_=n(263),h=b(n(99)),E=T(n(10462)),g=T(n(11442)),S=n(1),O=T(n(6)),I=T(n(8116));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function M(){return(M=Object.assign||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}).apply(this,arguments)}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function P(e){var t=e.applicationViewItems,n=e.restoreApplication;if(0===t.length)return null;var r=t.map((function(e){var t=e.libraryApplication.getDistributor();return A("div",{className:I.default.hiddenLibraryApplication},e.key,A(f.default,{direction:f.default.Direction.VERTICAL,className:I.default.hiddenLibraryApplicationContent},void 0,A("div",{className:I.default.applicationName},void 0,e.libraryApplication.getBranchedName(e.application)),null!=t?A("div",{className:I.default.applicationSubText},void 0,S.DistributorNames[t]):null),A(d.default,{className:I.default.restoreButton,onClick:function(){return n(e.libraryApplication)}},void 0,A(v.default,{className:I.default.restoreIcon})))}));return A(p.FormSection,{className:I.default.hiddenLibraryApplications},void 0,A(p.FormTitle,{className:I.default.hiddenLibraryApplicationsTitle},void 0,O.default.Messages.SETTINGS_GAMES_HIDDEN_LIBRARY_APPLICATIONS_LABEL),r)}P.displayName="HiddenLibraryApplications";var R=A(g.default,{}),L=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleRestoreHiddenLibraryApplication=function(e){var n=h.toggleFlag(e.getFlags(),S.LibraryApplicationFlags.HIDDEN);i.updateFlags(e.id,e.branchId,n),t.trackRestoreApplication(e,h.hasFlag(n,S.LibraryApplicationFlags.HIDDEN))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,N(t,n);var o=r.prototype;return o.handleToggleShortcutDesktop=function(e){l.default.updateLocalSettings({installShortcutDesktop:e})},o.handleToggleShortcutStartMenu=function(e){l.default.updateLocalSettings({installShortcutStartMenu:e})},o.trackRestoreApplication=function(e,t){m.default.track(S.AnalyticEvents.APPLICATION_SETTINGS_UPDATED,M({hidden_enabled:t},e.getAnalyticsData()))},o.renderBody=function(){var e=this.props,t=e.hiddenLibraryApplicationViewItems,n=e.installShortcutDesktop,r=e.installShortcutStartMenu;return A("div",{className:I.default.body},void 0,(0,_.isSupportedPlatform)()?A(a.Fragment,{},void 0,A(c.default,{value:n,onChange:this.handleToggleShortcutDesktop,note:O.default.Messages.USER_SETTINGS_GAMES_SHORTCUTS_DESKTOP_NOTE},void 0,O.default.Messages.USER_SETTINGS_GAMES_SHORTCUTS_DESKTOP),A(c.default,{value:r,onChange:this.handleToggleShortcutStartMenu,note:O.default.Messages.USER_SETTINGS_GAMES_SHORTCUTS_START_MENU_NOTE},void 0,O.default.Messages.USER_SETTINGS_GAMES_SHORTCUTS_START_MENU),R):null,A(P,{restoreApplication:this.handleRestoreHiddenLibraryApplication,applicationViewItems:t}))},o.render=function(){return a.createElement(a.Fragment,null,A(E.default,{currentRoute:S.Routes.APPLICATION_LIBRARY_SETTINGS}),A(y.ScrollerAuto,{className:I.default.scroller},void 0,this.renderBody()))},r}(a.PureComponent);L.displayName="GameLibrarySettings";var D=o.default.connectStores([u.default,s.default],(function(){return{hiddenLibraryApplicationViewItems:s.default.hiddenLibraryApplicationViewItems,installShortcutDesktop:u.default.installShortcutDesktop,installShortcutStartMenu:u.default.installShortcutStartMenu}}))(L);t.default=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=M();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=b(n(3)),i=n(1432),l=b(n(210)),u=b(n(29)),s=b(n(467)),d=b(n(1160)),f=b(n(11443)),c=b(n(55)),p=b(n(10225)),v=b(n(153)),y=n(131),m=b(n(466)),_=n(41),h=b(n(47)),E=b(n(24)),g=n(380),S=b(n(16)),O=b(n(43)),I=b(n(6)),T=b(n(8115)),C=b(n(370));function b(e){return e&&e.__esModule?e:{default:e}}function M(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return M=function(){return e},e}function N(){return(N=Object.assign||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}).apply(this,arguments)}function A(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function P(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,R(e,t)}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var L=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={label:void 0,isDefault:null},t.handleStartEditing=function(){var e=t.props,n=e.path,r=e.label,a=e.isDefault;(0,e.onToggleEditing)(n),t.setState({label:r,isDefault:a})},t.handleStopEditing=function(){(0,t.props.onToggleEditing)(null),t.setState({label:void 0,isDefault:null})},t.handleRemoveLocation=function(){(0,_.openModal)((function(e){return a.createElement(m.default,N({},e,{header:I.default.Messages.USER_SETTINGS_GAMES_INSTALL_LOCATION_REMOVE,confirmText:I.default.Messages.USER_SETTINGS_GAMES_INSTALL_LOCATION_REMOVE,cancelText:I.default.Messages.CANCEL,onConfirm:function(){t.handleStopEditing(),(0,i.removeInstallLocation)(t.props.path)}}),A(E.default,{size:E.default.Sizes.SIZE_16},void 0,I.default.Messages.USER_SETTINGS_GAMES_REMOVE_LOCATION_BODY))}))},t.handleSaveChanges=function(){(0,i.updateInstallLocation)(t.props.path,{label:null!=t.state.label?t.state.label:t.props.label,isDefault:null!=t.state.isDefault?t.state.isDefault:t.props.isDefault}),t.handleStopEditing()},t.handleLabelChange=function(e){t.setState({label:e})},t.handleToggleDefault=function(){t.setState({isDefault:!t.state.isDefault})},t}P(t,e);var n=t.prototype;return n.renderDiskUsageCircle=function(){var e=this.props.metadata;return null!=e&&null!=e.availableKB&&null!=e.totalKB?A(f.default,{total:e.totalKB,used:e.totalKB-e.availableKB}):null},n.renderViewing=function(){var e,t,n=this.props,r=n.path,a=n.label,o=n.editingPath,i=n.isDefault,s=n.metadata;return null!=s&&(e=null!=s.availableKB?(0,g.formatSize)(s.availableKB,{useKibibytes:!0}):null,t=null!=s.totalKB?(0,g.formatSize)(s.totalKB,{useKibibytes:!0}):null),A(c.default,{className:T.default.installationPath,align:c.default.Align.CENTER},void 0,this.renderDiskUsageCircle(),A(c.default,{direction:c.default.Direction.VERTICAL,className:T.default.descriptionWrapper},void 0,A(c.default,{align:c.default.Align.CENTER},void 0,A(h.default,{className:T.default.rowTitle,size:h.default.Sizes.SIZE_16},void 0,null!=a?a:l.default.getLabelFromPath(r)),i?A("span",{className:T.default.defaultIndicator},void 0,I.default.Messages.DEFAULT):null),null!=s&&null!=e&&null!=t?A(p.default,{className:T.default.rowBody,hoverText:I.default.Messages.USER_SETTINGS_GAMES_INSTALL_LOCATION_SPACE.format({available:e,total:t})},void 0,r):A(E.default,{className:T.default.rowBody,size:E.default.Sizes.SIZE_12},void 0,r)),A(u.default,{size:u.default.Sizes.SMALL,disabled:null!=o,color:u.default.Colors.PRIMARY,onClick:this.handleStartEditing},void 0,I.default.Messages.EDIT))},n.renderEditing=function(){var e=this.props,t=e.path,n=e.hasGamesInstalledInPath,r=this.state,a=r.label,o=r.isDefault;return A(s.default,{editable:!0,className:T.default.installationPathEditing},void 0,A(c.default,{},void 0,this.renderDiskUsageCircle(),A(c.default.Child,{},void 0,A(y.FormItem,{title:I.default.Messages.USER_SETTINGS_GAMES_INSTALL_LOCATION_NAME},void 0,A(v.default,{value:a,placeholder:l.default.getLabelFromPath(t),onChange:this.handleLabelChange})),A(y.FormItem,{title:I.default.Messages.USER_SETTINGS_GAMES_INSTALL_LOCATION,className:C.default.marginTop20},void 0,A(v.default,{disabled:!0,value:t})),A(d.default,{type:d.default.Types.INVERTED,value:null!=o?o:this.props.isDefault,disabled:this.props.isDefault,className:T.default.defaultLocationCheckbox,onChange:this.handleToggleDefault},void 0,I.default.Messages.USER_SETTINGS_GAMES_INSTALL_LOCATION_MAKE_DEFAULT),A(y.FormDivider,{className:T.default.separator}),A(c.default,{},void 0,A(u.default,{disabled:n||this.props.isDefault,size:u.default.Sizes.SMALL,color:u.default.Colors.RED,look:u.default.Looks.OUTLINED,onClick:this.handleRemoveLocation},void 0,I.default.Messages.USER_SETTINGS_GAMES_INSTALL_LOCATION_REMOVE),A(c.default,{justify:c.default.Justify.END},void 0,A(u.default,{size:u.default.Sizes.SMALL,color:u.default.Colors.PRIMARY,look:u.default.Looks.LINK,onClick:this.handleStopEditing},void 0,I.default.Messages.CANCEL),A(u.default,{disabled:t===this.props.path&&a===this.props.label&&o===this.props.isDefault,size:u.default.Sizes.SMALL,color:u.default.Colors.GREEN,onClick:this.handleSaveChanges},void 0,I.default.Messages.SAVE))))))},n.render=function(){return this.props.editingPath===this.props.path?this.renderEditing():this.renderViewing()},t}(a.PureComponent);L.displayName="PathItem";var D=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={editingPath:null},t.handleAddInstallationLocation=function(){O.default.showOpenDialog(["openDirectory"]).then((function(e){null!=e&&0!==e.length&&null!=e[0]&&"undefined"!==e[0]&&(0,i.addInstallLocation)(e[0])}))},t.handleToggleEditing=function(e){t.setState({editingPath:e})},t}P(t,e);var n=t.prototype;return n.componentDidMount=function(){(0,i.fetchMetadata)(this.props.installationPaths.map((function(e){return e.path})))},n.render=function(){var e=this,t=this.props,n=t.installationPaths,r=t.installationPathsMetadata,a=t.defaultInstallationPath,o=this.state.editingPath;return A(y.FormSection,{className:T.default.wrapper,title:I.default.Messages.USER_SETTINGS_GAMES_INSTALL_LOCATIONS},void 0,n.map((function(t){var n=t.path,i=t.label;return A(L,{path:n,label:i,metadata:r[n],isDefault:a===n,editingPath:o,hasGamesInstalledInPath:l.default.hasGamesInstalledInPath(n),onToggleEditing:e.handleToggleEditing},n)})),A("div",{className:T.default.buttonRowWrapper},void 0,A(u.default,{disabled:!S.default.embedded,onClick:this.handleAddInstallationLocation,size:u.default.Sizes.SMALL},void 0,I.default.Messages.USER_SETTINGS_GAMES_INSTALL_LOCATION_ADD)))},t}(a.PureComponent);D.displayName="GameInstallLocations";var w=o.default.connectStores([l.default],(function(){return{installationPaths:l.default.installationPaths,installationPathsMetadata:l.default.installationPathsMetadata,defaultInstallationPath:l.default.defaultInstallationPath}}))(D);t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(149)),i=u(n(6)),l=u(n(8113));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=Math.ceil(2*Math.PI*20);function p(e){return"rgb("+Math.round(-85*e+199)+", "+Math.round(-71*e+208)+", "+Math.round(-22*e+240)+")"}function v(e){return Math.floor(c*e)+", "+c}var y=function(e){var t=e.total,n=e.used,r=Math.max(0,Math.min(1,n/t)),u=Math.floor(100*r)+"%";return f(o.default,{text:i.default.Messages.APPLICATION_INSTALLATION_SPACE_USED.format({used:u})},void 0,(function(e){return a.createElement("div",d({className:l.default.wrapper,role:"progressbar","aria-label":i.default.Messages.APPLICATION_INSTALLATION_SPACE_USED.format({used:u})},e),f("svg",{viewBox:"25 25 50 50",className:l.default.svg,"aria-hidden":!0},void 0,f("circle",{className:l.default.background,cx:"50",cy:"50",r:20}),f("circle",{className:l.default.foreground,cx:"50",cy:"50",r:20,stroke:p(r),strokeDasharray:v(r)})),f("aside",{className:l.default.usageInfo,"aria-hidden":!0},void 0,u))}))};y.displayName="DiskSpaceCircle";var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=H(n(0)),o=F(n(9)),i=F(n(8)),l=F(n(137)),u=n(262),s=F(n(273)),d=F(n(3)),f=F(n(2)),c=n(8700),p=n(6043),v=n(11445),y=n(1213),m=n(8578),_=F(n(8483)),h=F(n(11446)),E=F(n(11447)),g=F(n(11451)),S=n(42),O=n(5687),I=F(n(1265)),T=H(n(1275)),C=F(n(15)),b=F(n(39)),M=F(n(470)),N=F(n(29)),A=F(n(47)),P=F(n(24)),R=n(468),L=H(n(701)),D=F(n(10467)),w=n(1),j=F(n(6)),k=F(n(7898)),U=F(n(11456)),G=F(n(11457));function F(e){return e&&e.__esModule?e:{default:e}}function B(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return B=function(){return e},e}function H(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=B();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function x(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function V(){return(V=Object.assign||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}).apply(this,arguments)}function W(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function Y(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){W(o,r,a,i,l,"next",e)}function l(e){W(o,r,a,i,l,"throw",e)}i(void 0)}))}}function z(e,t){return(z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var K=L.AnalyticsContexts,$=x(g.default,{}),Z=x(u.Helmet,{title:"Discord"}),q=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this)._scroller=a.createRef(),t._guildIdsSeen=new Set,t.loadId=L.makeAnalyticsID(),t.state={animatedValue:new s.default.Value(0),loadingGuildId:null},t.scrollToTop=function(){null!=t._scroller.current&&t._scroller.current.scrollTo({to:0})},t.handleScroll=function(){var e,n,r=t.state.animatedValue,a=null!==(e=null===(n=t._scroller.current)||void 0===n?void 0:n.getScrollerState().scrollTop)&&void 0!==e?e:0;r.setValue(Math.min(1,a/200))},t.handleViewGuild=function(){var e=Y(regeneratorRuntime.mark((function e(n,r,a){var o,i,l,u,s,d,f,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l=t.props.currentCategoryId,u=t.state.loadingGuildId,n!==u){e.next=4;break}return e.abrupt("return");case 4:return s=null!==(o=null===(i=t._scroller.current)||void 0===i?void 0:i.getScrollerState().scrollTop)&&void 0!==o?o:0,d=(0,S.getHistory)(),f=d.location,(0,S.replaceWith)(V({},f,{state:s})),t.setState({loadingGuildId:n}),c=l!==y.DISCOVERY_ALL_CATEGORIES_ID?l:null,e.prev=9,e.next=12,L.viewGuild(t.loadId,n,r,a,c);case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(9),t.setState({loadingGuildId:null});case 17:case"end":return e.stop()}}),e,null,[[9,14]])})));return function(t,n,r){return e.apply(this,arguments)}}(),t.handleGuildCardSeen=function(e){t._guildIdsSeen.add(e)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,z(t,n);var i=r.prototype;return i.componentDidMount=function(){var e,t=this.props,n=t.isFetching,r=t.guilds,a=r.gamesYouPlay,o=r.featured,i=t.searchRoute,u=t.currentHomepageCategoryId,s=t.mostRecentQuery;if((0,p.fetchActivityStatistics)(),(0,m.maybeFetchGuildDiscoveryCategories)(),null==T.default.getSearchIndex()&&(0,c.createAlgoliaIndex)(),f.default.wait((function(){(0,v.markView)(w.ViewHistoryKeys.SERVER_DISCOVERY_BADGE)})),n||0!==s.length||L.trackDiscoveryViewed(this.loadId,a.guilds,o.guilds,u),null!=i){var d=l.default.parse(i),_=d.query,h=d.offset,E=d.limit,g=d.preferredLocale,I=d.categoryId;(0,c.doAlgoliaSearch)(_,{categoryId:parseInt(I,10),preferredLocale:g,offset:parseInt(h,10),length:parseInt(E,10)})}else null!=u&&u!==y.DISCOVERY_ALL_CATEGORIES_ID&&f.default.wait((function(){return(0,c.selectCategory)(u)}));var C,b=(null===(e=(0,S.getHistory)().location.state)||void 0===e?void 0:e.scrollTop)||0;b>0&&(null===(C=this._scroller.current)||void 0===C||C.scrollTo({to:b}));(0,O.trackAppUIViewed)("guild_discovery")},i.componentDidUpdate=function(e){var t,n=this.props,r=n.guilds,a=r.gamesYouPlay,o=r.featured,i=n.isFetching,l=n.mostRecentQuery,u=n.currentHomepageCategoryId,s=n.currentCategoryId;(e.isFetching&&!i&&L.trackDiscoveryViewed(this.loadId,a.guilds,o.guilds,u),e.currentCategoryId!==s)&&(null===(t=this._scroller.current)||void 0===t||t.scrollTo({to:0}));e.mostRecentQuery.length>0&&l.length<1&&u!==s&&(0,c.selectCategory)(u)},i.componentWillUnmount=function(){L.trackDiscoveryExited(this.loadId,Array.from(this._guildIdsSeen))},i.renderGamesYouPlay=function(){var e=this.props,t=e.guilds,n=e.mightHaveGamesYouPlay,r=e.theme,a=e.userGuilds,o=Object.keys(a),i=t[w.GuildDiscoverySections.GAMES_YOU_PLAY];i.guilds=i.guilds.filter((function(e){return!o.includes(e.id)}));var l=this.state.loadingGuildId;return n?x(h.default,{title:j.default.Messages.GUILD_DISCOVERY_HEADER_GAMES_YOU_PLAY,guildsData:i,loadingGuildId:l,analyticsContext:K.RECOMMENDED,onViewGuild:this.handleViewGuild,onGuildCardSeen:this.handleGuildCardSeen,fetchGuilds:c.fetchGamesYouPlayGuilds,theme:r}):null},i.renderSearchBar=function(){var e,t,n=this.props,r=n.mostRecentQuery,a=n.guilds.search,o=n.defaultLanguage,i=n.isFetchingSearch,l=n.currentCategoryId,u=n.categories,s=n.currentCategoryName,d=l===y.DISCOVERY_ALL_CATEGORIES_ID?j.default.Messages.GUILD_DISCOVERY_SEARCH_PLACEHOLDER:j.default.Messages.GUILD_DISCOVERY_CATEGORY_SEARCH_PLACEHOLDER.format({categoryName:s}),f=null!==(e=null===(t=a[r])||void 0===t?void 0:t[l])&&void 0!==e?e:T.EMPTY_DISCOVERABLE_GUILDS_SECTION;return x(D.default,{loadId:this.loadId,searchResults:f,mostRecentQuery:r,isFetchingSearch:i,defaultLanguage:o,placeholder:d,currentCategoryId:l,categories:u})},i.renderFeaturedGuildsSection=function(){var e=this.props,t=e.guilds,n=e.theme,r=e.currentCategoryId,a=this.state.loadingGuildId;return r===y.DISCOVERY_ALL_CATEGORIES_ID?x(h.default,{title:j.default.Messages.GUILD_DISCOVERY_FEATURED_HEADER,guildsData:t[w.GuildDiscoverySections.FEATURED],loadingGuildId:a,analyticsContext:K.RECOMMENDED,onViewGuild:this.handleViewGuild,onGuildCardSeen:this.handleGuildCardSeen,fetchGuilds:function(){return(0,c.fetchFeaturedOrPopularGuilds)(0,24)},currentCategoryId:r,theme:n}):x(h.default,{title:j.default.Messages.GUILD_DISCOVERY_POPULAR_HEADER,guildsData:t[r],loadingGuildId:a,analyticsContext:K.POPULAR,onViewGuild:this.handleViewGuild,onGuildCardSeen:this.handleGuildCardSeen,fetchGuilds:function(){return(0,c.fetchPopularGuildsForCategory)(r)},currentCategoryId:r,theme:n})},i.renderSearchResults=function(){var e,t,n=this.props,r=n.mostRecentQuery,a=n.guilds.search,o=n.availableLanguages,i=n.defaultLanguage,l=n.isFetchingSearch,u=n.theme,s=n.currentCategoryId,d=n.currentCategoryName,f=this.state.loadingGuildId,c=s===y.DISCOVERY_ALL_CATEGORIES_ID?j.default.Messages.GUILD_DISCOVERY_SEARCH_PLACEHOLDER:j.default.Messages.GUILD_DISCOVERY_CATEGORY_SEARCH_PLACEHOLDER.format({categoryName:d}),p=null!==(e=null===(t=a[r])||void 0===t?void 0:t[s])&&void 0!==e?e:T.EMPTY_DISCOVERABLE_GUILDS_SECTION;return x(E.default,{loadId:this.loadId,availableLanguages:o,defaultLanguage:i,placeholder:c,isFetchingSearch:l,searchResults:p,mostRecentQuery:r,loadingGuildId:f,currentCategoryId:s,currentCategoryName:d,scroller:this._scroller.current,theme:u,onViewGuild:this.handleViewGuild,onGuildCardSeen:this.handleGuildCardSeen})},i.render=function(){var e,t,n=this.props,r=n.currentCategoryName,i=n.mostRecentQuery,l=n.currentCategoryId,u=i.length>0;return l===y.DISCORD_HUB_ID?$:x("div",{className:k.default.pageWrapper},void 0,Z,x("div",{className:(0,o.default)(k.default.dragRegion,k.default.pageHeaderDrag,(e={},e[k.default.searchPageDrag]=u,e))}),a.createElement(R.AdvancedScrollerAuto,{className:k.default.scroller,ref:this._scroller,onScroll:this.handleScroll},x("div",{className:(0,o.default)(k.default.viewWrapper,(t={},t[k.default.searchPage]=u,t))},void 0,u?this.renderSearchResults():a.createElement(a.Fragment,null,x("div",{className:k.default.searchHeader},void 0,x("img",{alt:"",className:k.default.headerImage,src:G.default}),x("div",{className:k.default.headerContentWrapper},void 0,x("div",{className:k.default.headerContent},void 0,x(A.default,{size:A.default.Sizes.SIZE_24,className:k.default.searchTitle},void 0,l===y.DISCOVERY_ALL_CATEGORIES_ID?j.default.Messages.GUILD_DISCOVERY_HOME_TITLE:j.default.Messages.GUILD_DISCOVERY_CATEGORY_TITLE.format({categoryName:r})),x(P.default,{size:P.default.Sizes.SIZE_16,className:k.default.searchSubtitle},void 0,l===y.DISCOVERY_ALL_CATEGORIES_ID&&j.default.Messages.GUILD_DISCOVERY_HOME_SUBTITLE),this.renderSearchBar()))),x("div",{className:k.default.featuredBody},void 0,this.renderFeaturedGuildsSection(),l===y.DISCOVERY_ALL_CATEGORIES_ID&&this.renderGamesYouPlay()),x("div",{className:k.default.footer},void 0,x("img",{alt:"",src:U.default,className:k.default.footerImage}),x(A.default,{size:A.default.Sizes.SIZE_16},void 0,j.default.Messages.GUILD_DISCOVERY_CATEGORY_FOOTER_TITLE),x(N.default,{look:N.default.Looks.LINK,color:N.default.Colors.LINK,size:N.default.Sizes.MIN,onClick:this.scrollToTop},void 0,j.default.Messages.GUILD_DISCOVERY_FOOTER_BODY))))))},r}(a.PureComponent);q.displayName="GuildDiscovery";var X=d.default.connectStores([b.default,M.default,I.default,T.default,_.default,C.default],(function(){var e,t=y.LANGUAGE_OPTIONS,n=b.default.locale,r=null!==(e=i.default.find(t,{code:n}))&&void 0!==e?e:t[0],a=M.default.applicationStatistics,o=Object.keys(a),l=I.default.hasConsented(w.Consents.PERSONALIZATION)&&o.length>0,u=T.default.getCurrentCategoryId(),s=T.default.getCurrentHomepageCategoryId();return{isFetching:T.default.isFetching(),isFetchingSearch:T.default.isFetchingSearch(),guilds:T.default.getDiscoverableGuilds(),mostRecentQuery:T.default.getMostRecentQuery(),currentCategoryId:u,currentHomepageCategoryId:s,currentCategoryName:_.default.getCategoryName(u),categories:_.default.getDiscoveryCategories(),userGuilds:C.default.getGuilds(),theme:b.default.theme,mightHaveGamesYouPlay:l,availableLanguages:t,defaultLanguage:r}}))(q);t.default=X},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.markView=function(e){a.default.dispatch({type:o.ActionTypes.VIEW_HISTORY_MARK_VIEW,key:e})};var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=m(n(0)),o=v(n(2)),i=n(8444),l=v(n(8445)),u=v(n(10466)),s=v(n(47)),d=v(n(24)),f=m(n(701)),c=n(1),p=v(n(7897));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function E(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}f.AnalyticsContexts;var S=[[1696,20],[1432,16],[1168,12],[0,8]],O=function(e){var t=e.title,n=e.subtitle,r=e.guildsData,f=e.analyticsContext,v=e.theme,y=e.onViewGuild,m=e.fetchGuilds,g=e.onGuildCardSeen,O=e.currentCategoryId;a.useEffect((function(){o.default.wait((function(){return m()}))}),[O]);var I=a.useState(0),T=I[0],C=I[1],b=function(){for(var e,t=window.innerWidth,n=E(S);!(e=n()).done;){var r=e.value,a=r[0],o=r[1];if(t>=a)return void C(o)}};if(a.useEffect((function(){b()}),[]),a.useEffect((function(){return window.addEventListener("resize",b),function(){window.removeEventListener("resize",b)}})),null==r)return null;var M=r.guilds,N=r.loading,A=null==M||0===M.length;if(!N&&A)return null;var P,R=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(0,i.isAtGuildCapAndNonPremium)()){e.next=4;break}(0,l.default)({analyticsSource:{page:c.AnalyticsPages.GUILD_DISCOVERY},analyticsLocation:{page:c.AnalyticsPages.GUILD_DISCOVERY,section:c.AnalyticsSections.GUILD_CAP_UPSELL_MODAL}}),e.next=7;break;case 4:return n=M.findIndex((function(e){return e.id===t})),e.next=7,y(t,n,f);case 7:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){h(o,r,a,i,l,"next",e)}function l(e){h(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}();if(N||null==M){for(var L=[],D=0;D<T;D++)L.push(_(u.default.Placeholder,{},D));P=L}else P=M.slice(0,T).map((function(e){return _(u.default,{className:p.default.guildCard,guild:e,onView:R,theme:v,onGuildCardSeen:g},e.id)}));return _("section",{className:p.default.guildListSection},void 0,_(s.default,{className:p.default.title,size:s.default.Sizes.SIZE_20},void 0,t),null!=n&&_(d.default,{className:p.default.subtitle,size:d.default.Sizes.SIZE_14,color:d.default.Colors.HEADER_SECONDARY},void 0,n),_("div",{className:p.default.guildList},void 0,P))};O.displayName="DiscoverFeaturedGuildsSection";var I=O;t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=T(n(0)),o=O(n(8)),i=O(n(137)),l=n(3),u=T(n(8700)),s=O(n(11448)),d=O(n(10467)),f=O(n(11449)),c=n(42),p=O(n(1275)),v=O(n(61)),y=O(n(8354)),m=O(n(47)),_=O(n(24)),h=T(n(701)),E=n(1213),g=O(n(6)),S=O(n(8121));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function C(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}h.AnalyticsContexts;var b=function(e){var t=e.categoryId,n=e.categoryName,r=e.onClick,a=t===E.DISCOVERY_ALL_CATEGORIES_ID,o=a?g.default.Messages.GUILD_DISCOVERY_SEARCH_EMPTY_HEADER:g.default.Messages.GUILD_DISCOVERY_SEARCH_EMPTY_CATEGORY_HEADER.format({categoryName:n}),i=a?g.default.Messages.GUILD_DISCOVERY_SEARCH_EMPTY_BODY:g.default.Messages.GUILD_DISCOVERY_SEARCH_EMPTY_CATEGORY_BODY.format({onClick:r});return C("div",{className:S.default.emptyContainer},void 0,C("div",{className:S.default.emptyImage}),C(m.default,{size:m.default.Sizes.SIZE_24,className:S.default.emptyHeader},void 0,o),C(_.default,{size:_.default.Sizes.SIZE_16,color:_.default.Colors.HEADER_SECONDARY},void 0,i))};b.displayName="EmptySearchResults";var M=function(){return C("div",{className:S.default.emptyContainer},void 0,C("div",{className:S.default.errorImage}),C(_.default,{size:_.default.Sizes.SIZE_16,color:_.default.Colors.HEADER_SECONDARY,className:S.default.emptyHeader},void 0,g.default.Messages.GUILD_DISCOVERY_SEARCH_ERROR))};M.displayName="ErrorState";var N=C(M,{}),A=function(e){var t=e.loadId,n=e.searchResults,r=e.mostRecentQuery,_=e.defaultLanguage,O=e.availableLanguages,I=e.isFetchingSearch,T=e.scroller,M=e.loadingGuildId,A=e.theme,P=e.currentCategoryId,R=e.currentCategoryName,L=e.onViewGuild,D=e.onGuildCardSeen,w=e.placeholder,j=o.default.uniqueId("GuildDiscovery"),k=n.guilds,U=n.loading,G=n.total,F=a.useState(!1),B=F[0],H=F[1],x=(0,l.useStateFromStores)([p.default],(function(){return p.default.hasSearchError()})),V=function(e,t,n){u.doAlgoliaSearch(r,{categoryId:n?E.DISCOVERY_ALL_CATEGORIES_ID:P,preferredLocale:_.code,offset:e,length:t}),H(!1)};a.useEffect((function(){var e=(0,c.getHistory)().location.search,t=(null!=e&&e.length>0&&e.startsWith("?")?i.default.parse(e):{}).offset;1===(null!=t?Math.floor(parseInt(t,10)/12)+1:1)&&H(!0)}),[r]);var W=P===E.DISCOVERY_ALL_CATEGORIES_ID?g.default.Messages.GUILD_DISCOVERY_SEARCH_RESULTS_HEADER.format({count:null!=G?G.toLocaleString():"0",query:r}):g.default.Messages.GUILD_DISCOVERY_SEARCH_RESULTS_CATEGORY_HEADER.format({count:null!=G?G.toLocaleString():"0",query:r,category:R});return C("div",{className:S.default.container},void 0,C("div",{className:S.default.searchHeader},void 0,C(v.default,{onClick:function(){u.clearSearch()},className:S.default.arrow},void 0,C(y.default,{direction:y.default.Directions.LEFT})),C(m.default,{size:m.default.Sizes.SIZE_24,className:S.default.header},void 0,W)),C(d.default,{loadId:t,searchResults:n,mostRecentQuery:r,isFetchingSearch:I,defaultLanguage:_,placeholder:w,availableLanguages:O,isSearchPage:!0,currentCategoryId:P}),x?N:G<=0?C(b,{categoryId:P,categoryName:R,onClick:function(){u.selectCategory(E.DISCOVERY_ALL_CATEGORIES_ID),V(0,12,!0)}}):C("div",{className:S.default.results},void 0,C(s.default,{pageSize:12,totalCount:G,resetCurrentPage:B,onPageChange:function(e){V(12*(e-1),12),null==T||T.scrollTo({to:0})}},void 0,(function(e){var t=e.controller;return C("section",{"aria-labelledby":j},void 0,C(f.default,{guilds:k,loading:U,loadingPlaceholderCount:12,onViewGuild:L,loadingGuildId:M,theme:A,analyticsContext:h.AnalyticsContexts.SEARCH,onGuildCardSeen:D}),t)}))))};A.displayName="DiscoverSearchResults";var P=A;t.default=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(137)),i=n(42),l=u(n(8972));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=function(e){var t,n;function r(t){var n;(n=e.call(this,t)||this).handlePageChange=function(e){var t=n.props.onPageChange;n.setState({currentPage:e}),null!=t&&t(e)};var r=(0,i.getHistory)().location.search,a=(null!=r&&r.length>0&&r.startsWith("?")?o.default.parse(r):{}).offset,l=null!=a?Math.floor(parseInt(a,10)/t.pageSize)+1:1;return n.state={currentPage:l},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var a=r.prototype;return a.componentDidUpdate=function(e){var t=this.props.resetCurrentPage;!e.resetCurrentPage&&t&&this.setState({currentPage:1})},a.render=function(){var e=this.props,t=e.totalCount,n=e.pageSize,r=e.maxVisiblePages,a=e.children,o=this.state.currentPage;return a({controller:d(l.default,{totalCount:t,pageSize:n,currentPage:o,maxVisiblePages:r,onPageChange:this.handlePageChange})})},r}(a.PureComponent);c.displayName="GuildDiscoveryPaginator";var p=c;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o=d(n(0)),i=n(122),l=d(n(11450)),u=(r=n(7898))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function f(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){c(o,r,a,i,l,"next",e)}function l(e){c(o,r,a,i,l,"throw",e)}i(void 0)}))}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleViewGuild=function(){var e=p(regeneratorRuntime.mark((function e(n){var r,a,o,i,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.props,a=r.guilds,o=r.analyticsContext,i=r.onViewGuild,l=a.findIndex((function(e){return e.id===n})),e.next=4,i(n,l,o);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.renderGuild=function(e,n){var r=t.props.theme;return f(l.default,{guild:e,theme:r,onView:t.handleViewGuild},n)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var a=r.prototype;return a.renderPlaceholders=function(){for(var e=this.props.loadingPlaceholderCount,t=[],n=0;n<e;n++)t.push(f(l.DiscoverSearchResultPlaceholder,{},n));return t},a.render=function(){var e=this,t=this.props,n=t.guilds,r=t.loading;return f(i.Spring,{from:{opacity:r?0:1},to:{opacity:1},delay:100},void 0,(function(t){return f(i.animated.div,{className:u.default.guildList,style:t},void 0,r||null==n?e.renderPlaceholders():n.map(e.renderGuild))}))},r}(o.PureComponent);y.displayName="GuildList",y.defaultProps={loadingPlaceholderCount:12};var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DiscoverSearchResultPlaceholder=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=I(n(9)),i=n(389),l=I(n(8502)),u=n(8444),s=I(n(8445)),d=I(n(61)),f=I(n(375)),c=I(n(151)),p=I(n(47)),v=I(n(248)),y=I(n(24)),m=I(n(150)),_=n(193),h=n(1),E=I(n(6)),g=I(n(8120)),S=I(n(8993)),O=I(n(8994));function I(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function C(){return(C=Object.assign||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}).apply(this,arguments)}function b(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var N=function(){return M("div",{className:g.default.placeholder})};t.DiscoverSearchResultPlaceholder=N,N.displayName="DiscoverSearchResultPlaceholder";var A=function(e){var t,n=e.guild,r=e.theme,I=e.onView,T=n.id,N=n.discoverySplash,A=n.icon,P=n.name,R=n.description,L=n.presenceCount,D=n.memberCount,w=a.useState(!1),j=w[0],k=w[1],U=a.useState(!1),G=U[0],F=U[1],B=m.default.getGuildDiscoverySplashURL({id:T,splash:N,size:240*(0,_.getDevicePixelRatio)()}),H=null!=B?B:function(e){switch(e){case h.ThemeTypes.DARK:return S.default;case h.ThemeTypes.LIGHT:return O.default}}(r),x=m.default.getGuildIconURL({id:T,icon:A,size:32})||void 0,V=function(){var e,t=(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(0,u.isAtGuildCapAndNonPremium)()){e.next=3;break}return(0,s.default)({analyticsSource:{page:h.AnalyticsPages.GUILD_DISCOVERY},analyticsLocation:{page:h.AnalyticsPages.GUILD_DISCOVERY,section:h.AnalyticsSections.GUILD_CAP_UPSELL_MODAL}}),e.abrupt("return");case 3:if(F(!0),e.prev=4,e.t0=null!=I,!e.t0){e.next=9;break}return e.next=9,I(n.id);case 9:return e.prev=9,F(!1),e.finish(9);case 12:case"end":return e.stop()}}),e,null,[[4,,9,12]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){b(o,r,a,i,l,"next",e)}function l(e){b(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();return a.createElement(a.Fragment,null,M("div",{className:g.default.card},void 0,G?M(c.default,{type:c.default.Type.PULSING_ELLIPSIS,className:g.default.spinner}):null,M(d.default,{className:(0,o.default)(g.default.container,(t={},t[g.default.hover]=j,t[g.default.submitting]=G,t)),onClick:V,onContextMenu:function(e){(0,i.openContextMenu)(e,(function(e){return a.createElement(l.default,C({},e,{id:n.id}))}))},onMouseEnter:function(){return k(!0)},onMouseLeave:function(){return k(!1)}},void 0,M("div",{className:g.default.splashContainer},void 0,M("img",{src:H,alt:"",className:g.default.splashImage,width:240})),M("div",{className:g.default.content},void 0,M("div",{className:g.default.header},void 0,M(v.default,{mask:v.default.Masks.SQUIRCLE,width:32,height:32},void 0,M("img",{src:x,alt:"",className:g.default.avatar})),M("div",{className:g.default.headerName},void 0,M(f.default,{guild:n,className:g.default.guildBadge}),M(p.default,{size:p.default.Sizes.SIZE_16},void 0,P))),M(y.default,{className:g.default.description},void 0,R),M("div",{className:g.default.memberInfo},void 0,null!=L&&M("div",{className:g.default.memberCount},void 0,M(y.default,{size:y.default.Sizes.SIZE_12,color:y.default.Colors.HEADER_SECONDARY},void 0,E.default.Messages.INSTANT_INVITE_GUILD_MEMBERS_ONLINE.format({membersOnline:L}))),null!=D&&a.createElement(a.Fragment,null,M("div",{className:g.default.dotSeparator}),M("div",{className:g.default.memberCount},void 0,M(y.default,{size:y.default.Sizes.SIZE_12,color:y.default.Colors.HEADER_SECONDARY},void 0,E.default.Messages.INSTANT_INVITE_GUILD_MEMBERS_TOTAL.format({count:D})))))))),M("hr",{className:g.default.separator}))};t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=v(n(47)),o=v(n(24)),i=v(n(272)),l=v(n(11452)),u=v(n(11453)),s=v(n(9100)),d=v(n(9101)),f=v(n(6)),c=v(n(8123)),p=v(n(11455));function v(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var _=m(s.default,{}),h=m(d.default,{}),E=function(){var e=(0,l.default)();return e.length>0?m(i.default,{className:c.default.scroller},void 0,m("div",{className:c.default.headerContainer},void 0,m("img",{alt:"",className:c.default.headerImage,src:p.default}),m("div",{className:c.default.headerContent},void 0,m(a.default,{className:c.default.headerText,size:o.default.Sizes.SIZE_24},void 0,f.default.Messages.HUB_DIRECTORY_SEARCH_TITLE),m(o.default,{className:c.default.headerDescription,size:o.default.Sizes.SIZE_16,color:o.default.Colors.CUSTOM},void 0,f.default.Messages.HUB_DIRECTORY_SEARCH_SUBTITLE))),m(u.default,{guilds:e}),m("div",{className:c.default.divider}),m(o.default,{className:c.default.footerDescription,size:o.default.Sizes.SIZE_14,color:o.default.Colors.HEADER_SECONDARY},void 0,f.default.Messages.HUB_DISCOVERY_FOOTER_DESCRIPTION)):m("div",{className:c.default.container},void 0,m("div",{className:c.default.content},void 0,m(i.default,{className:c.default.contentScroll},void 0,m("div",{className:c.default.contentContainer},void 0,_))),m("div",{className:c.default.sidebar},void 0,m(i.default,{className:c.default.sidebarScroll},void 0,h)))};t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,a.useStateFromStores)([o.default],(function(){var e=o.default.getGuilds();return Object.entries(e).filter((function(e){e[0];return e[1].hasFeature(i.GuildFeatures.HUB)})).map((function(e){e[0];return e[1]}))}))};var r,a=n(3),o=(r=n(15))&&r.__esModule?r:{default:r},i=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=f(n(199)),i=f(n(39)),l=f(n(10466)),u=f(n(47)),s=f(n(11454)),d=f(n(7897));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(){return(v=Object.assign||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}).apply(this,arguments)}var y=p(s.default,{}),m=function(e){var t=e.guilds,n=(0,a.useStateFromStores)([i.default],(function(){return i.default.theme})),r=t.map((function(e){return p(l.default,{className:d.default.guildCard,onView:function(){return o.default.transitionToGuildSync(e.id)},guild:v({},e,{presenceCount:void 0,memberCount:void 0,premiumSubscriptionCount:void 0,emojis:void 0}),theme:n},e.id)}));return p("section",{className:d.default.guildListSection},void 0,p(u.default,{className:d.default.title,size:u.default.Sizes.SIZE_20},void 0,"Your Hubs"),p("div",{className:d.default.guildList},void 0,r,y))};m.displayName="HubDiscoveryGuildList";var _=m;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(29)),i=n(41),l=f(n(24)),u=f(n(8720)),s=f(n(6)),d=f(n(8122));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=function(){return p("div",{className:d.default.container},void 0,p("div",{className:d.default.iconContainer},void 0,p("div",{className:d.default.icon})),p(l.default,{strong:!0,color:l.default.Colors.HEADER_PRIMARY,size:l.default.Sizes.SIZE_20,className:d.default.header},void 0,s.default.Messages.HUB_EMAIL_CONNECTION_ADD_HEADER),p(l.default,{color:l.default.Colors.HEADER_SECONDARY,size:l.default.Sizes.SIZE_14,className:d.default.description},void 0,s.default.Messages.HUB_EMAIL_CONNECTION_ADD_DESCRIPTION),p("div",{className:d.default.gap}),p(o.default,{size:o.default.Sizes.LARGE,color:o.default.Colors.GREY,onClick:function(){return(0,i.openModal)((function(e){return a.createElement(u.default,e)}))}},void 0,p(l.default,{size:l.default.Sizes.SIZE_14,className:d.default.addButton,color:l.default.Colors.CUSTOM},void 0,s.default.Messages.HUB_EMAIL_CONNECTION_JOIN_ANOTHER)))};v.displayName="HubDiscoveryAddHubCard";var y=v;t.default=y},function(e,t,n){e.exports=n.p+"d5855245c19ceeab8d982420cc80746a.svg"},function(e,t,n){e.exports=n.p+"6429567e7cc7b7c04d1791a58d21795d.svg"},function(e,t,n){e.exports=n.p+"3e0acf6d69894a5d20deb7c513cd1412.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=n(8700),i=y(n(10305)),l=y(n(8483)),u=y(n(11459)),s=n(10468),d=y(n(11460)),f=n(11464),c=y(n(1275)),p=y(n(272)),v=y(n(6));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(){return(h=Object.assign||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}).apply(this,arguments)}var E=function(e){switch(e){case 1:return s.CategoryIcons.Activity;case 2:return s.CategoryIcons.Music;case 3:return s.CategoryIcons.Television;case 5:return s.CategoryIcons.Science;case 6:return s.CategoryIcons.Education;default:return s.CategoryIcons.Discover}},g=function(){var e=(0,a.useStateFromStoresObject)([c.default],(function(){return{currentCategoryId:c.default.getCurrentCategoryId(),isViewingSearchResults:c.default.getMostRecentQuery().length>0}})),t=e.currentCategoryId,n=e.isViewingSearchResults,r=(0,a.useStateFromStores)([l.default],(function(){return l.default.getDiscoveryCategories()})),s=null==r?void 0:r.map((function(e){return h({},e,{icon:E(e.categoryId)})})),y=function(e){(0,o.selectCategory)(e,!0),n&&(0,o.clearSearch)()};i.default.trackExposure({});var m=i.default.useExperiment({})[0];return _(p.default,{},void 0,_(f.DiscoverySidebarHeader,{text:v.default.Messages.DISCOVER}),_(d.default,{categories:s,handleCategorySelect:y,currentCategoryId:t,shouldDisplaySelectedCategory:!n}),m.showTab&&_(u.default,{handleCategorySelect:y,currentCategoryId:t,shouldDisplaySelectedCategory:!n}))};g.displayName="GuildDiscoveryCategorySidebar";var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=n(1213),i=n(8277),l=p(n(702)),u=p(n(9207)),s=p(n(8553)),d=p(n(24)),f=p(n(6)),c=p(n(7899));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=y(u.default,{}),_=function(e){var t=e.handleCategorySelect,n=e.shouldDisplaySelectedCategory,r=e.currentCategoryId,u=(0,a.useStateFromStores)([l.default],(function(){return l.default.hasHotspot(i.HotspotLocations.HUB_NEW)}));return y(s.default,{avatar:m,name:f.default.Messages.HUB_SCHOOL_HUBS,focusProps:{offset:{right:4,top:1,bottom:1}},onClick:function(){t(o.DISCORD_HUB_ID),(0,i.hideHotspot)(i.HotspotLocations.HUB_NEW)},wrapContent:!0,selected:n&&o.DISCORD_HUB_ID===r,className:c.default.categoryItem,selectedClassName:c.default.selectedCategoryItem,innerClassName:c.default.itemInner},o.DISCORD_HUB_ID,u&&y("div",{className:c.default.new},void 0,y(d.default,{strong:!0,color:d.default.Colors.CUSTOM,size:d.default.Sizes.SIZE_12,className:c.default.newText},void 0,f.default.Messages.NEW)))};_.displayName="HubDiscoveryListItem";var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(8762)),i=m(n(1313)),l=m(n(11461)),u=m(n(11462)),s=m(n(11463)),d=m(n(291)),f=m(n(9158)),c=m(n(8553)),p=n(48),v=n(10468),y=m(n(7899));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var E=h(o.default,{}),g=h(i.default,{}),S=h(l.default,{}),O=h(u.default,{}),I=h(s.default,{}),T=h(d.default,{height:22,width:22}),C=h(f.default,{}),b=function(e){switch(e){case v.CategoryIcons.Activity:return E;case v.CategoryIcons.Discover:return g;case v.CategoryIcons.Education:return S;case v.CategoryIcons.Music:return O;case v.CategoryIcons.Science:return I;case v.CategoryIcons.Stage:return T;case v.CategoryIcons.Television:return C;default:(0,p.assertNever)(e)}},M=function(e){var t=e.categories,n=e.currentCategoryId,r=e.handleCategorySelect,o=e.shouldDisplaySelectedCategory,i=void 0===o||o;return a.createElement(a.Fragment,null,t.map((function(e){return h(c.default,{avatar:b(e.icon),name:e.name,focusProps:{offset:{right:4,top:1,bottom:1}},onClick:function(){return r(e.categoryId)},wrapContent:!0,selected:i&&e.categoryId===n,className:y.default.categoryItem,selectedClassName:y.default.selectedCategoryItem,innerClassName:y.default.itemInner},e.categoryId)})))};M.Icons=v.CategoryIcons;var N=M;t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.className,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","className","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{className:f,width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:c,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M22.447 8.11002L12.447 3.11002C12.166 2.96902 11.834 2.96902 11.552 3.11002L1.552 8.11002C1.35 8.21002 1.197 8.38402 1.107 8.57302C1.046 8.69502 1 8.90202 1 9.00502V14.77C1 15.322 1.448 15.77 2 15.77C2.552 15.77 3 15.322 3 14.77V10.172L12.015 13.927L22.372 9.93302C22.737 9.78602 22.983 9.44002 22.999 9.04602C23.016 8.65202 22.799 8.28702 22.447 8.11002ZM12 16.005C11.869 16.005 11.738 15.979 11.615 15.928L5 13.172V16.185C5 16.564 5.214 16.91 5.553 17.08C5.7173 17.1621 5.88209 17.2461 6.04836 17.3308C7.61773 18.1306 9.31996 18.998 12 18.998C14.6812 18.998 16.3872 18.1284 17.956 17.3287C18.1208 17.2447 18.2842 17.1614 18.447 17.08C18.786 16.911 19 16.564 19 16.186V13.385L12.359 15.939C12.243 15.982 12.122 16.005 12 16.005ZM1 18.005C1 17.453 1.448 17.005 2 17.005C2.552 17.005 3 17.453 3 18.005V20.005C3 20.557 2.552 21.005 2 21.005C1.448 21.005 1 20.557 1 20.005V18.005Z"}))}d.displayName="Education"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.className,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","className","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{className:f,width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:c,fill:d,d:"M19.396 3.29898C19.016 3.01598 18.524 2.93098 18.07 3.06498L8.07 6.06498C7.435 6.25498 7 6.83998 7 7.50298V15.054C6.835 15.03 6.671 15.003 6.5 15.003C4.566 15.003 3 16.571 3 18.503C3 20.434 4.566 22.003 6.5 22.003C8.434 22.003 10 20.434 10 18.503V8.61798L17 6.51798V13.054C16.835 13.03 16.671 13.003 16.5 13.003C14.566 13.003 13 14.571 13 16.503C13 18.434 14.566 20.003 16.5 20.003C18.434 20.003 20 18.434 20 16.503V4.50298C20 4.02698 19.775 3.58198 19.396 3.29898Z"}))}d.displayName="Music"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.className,c=e.foreground,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","className","foreground"]);return o.createElement("svg",u({},(0,i.default)(p),{className:f,width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:c,fill:d,fillRule:"evenodd",clipRule:"evenodd",d:"M18.6683 11.9964C19.5992 13.2208 20.3732 14.4331 20.9422 15.5701C22.5858 18.8593 22.0118 20.4688 21.2418 21.2398C20.895 21.5846 20.2596 21.9978 19.1951 21.9978C17.3645 21.9978 14.7478 20.7553 12.0004 18.6683C9.25198 20.7553 6.63527 21.9978 4.80569 21.9978C3.74111 21.9978 3.10478 21.5846 2.75896 21.2398C1.98792 20.4677 1.41392 18.8593 3.05853 15.5701C3.62751 14.4331 4.40257 13.2218 5.33245 11.9964C2.51569 8.28291 1.00176 4.51719 2.75896 2.75898C3.10578 2.41316 3.74111 2 4.80569 2C6.63628 2 9.25298 3.24251 12.0004 5.32944C14.7488 3.24251 17.3655 2 19.1951 2C20.2596 2 20.895 2.41216 21.2418 2.75898C22.999 4.51618 21.4851 8.28191 18.6683 11.9964ZM19.8203 4.18042C19.6806 4.03969 19.4032 4.01053 19.1951 4.01053C18.0481 4.01053 15.9933 4.9203 13.6209 6.64835C15.0262 7.86472 16.2346 9.08512 17.3655 10.395C19.752 7.13188 20.3541 4.71422 19.8203 4.18042ZM14.1325 14.1316C14.8654 13.3987 15.5108 12.689 16.0928 12.0024C15.4876 11.2856 14.8342 10.5689 14.1325 9.86621C13.4128 9.14744 12.701 8.51312 12.0004 7.92202C11.2997 8.51312 10.588 9.14744 9.86821 9.86621C9.16653 10.5689 8.51311 11.2856 7.90794 12.0024C8.48999 12.689 9.13637 13.3987 9.86821 14.1316C10.588 14.8513 11.2997 15.4856 12.0004 16.0747C12.701 15.4856 13.4128 14.8513 14.1325 14.1316ZM4.80569 4.01053C4.5986 4.01053 4.32115 4.03969 4.18142 4.18042C3.64661 4.71422 4.24977 7.13088 6.63628 10.394C7.83556 9.00469 9.05696 7.79435 10.3799 6.64735C8.00645 4.9203 5.95269 4.01053 4.80569 4.01053ZM4.18041 19.8183C4.32014 19.9581 4.5976 19.9872 4.80569 19.9872C5.95269 19.9872 8.00746 19.0785 10.3799 17.3514C8.98357 16.1421 7.7873 14.9348 6.6413 13.6078C5.92053 14.593 5.31133 15.56 4.85695 16.4688C3.79539 18.5909 3.9502 19.5881 4.18041 19.8183ZM19.1941 19.9872C19.4021 19.9872 19.6796 19.9581 19.8193 19.8183C20.0495 19.5881 20.2044 18.5919 19.1428 16.4688C18.6884 15.559 18.0792 14.592 17.3584 13.6078C16.2114 14.9358 15.0152 16.1431 13.6199 17.3514C15.9933 19.0785 18.0471 19.9872 19.1941 19.9872ZM14.0109 11.9984C14.0109 13.1088 13.1108 14.0089 12.0004 14.0089C10.89 14.0089 9.98984 13.1088 9.98984 11.9984C9.98984 10.888 10.89 9.98784 12.0004 9.98784C13.1108 9.98784 14.0109 10.888 14.0109 11.9984Z"}))}d.displayName="Science"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DiscoverySidebarHeader=s;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(47)),o=i(n(8124));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(e){var t=e.text;return u(a.default,{tag:a.default.Tags.H2,size:a.default.Sizes.SIZE_24,className:o.default.discoverHeader},void 0,t)}s.displayName="DiscoverySidebarHeader"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=he;var r,a=se(n(0)),o=le(n(9)),i=n(3),l=n(57),u=n(389),s=le(n(473)),d=le(n(11466)),f=le(n(8257)),c=le(n(1431)),p=n(307),v=le(n(11470)),y=le(n(10373)),m=le(n(9700)),_=le(n(11471)),h=le(n(9702)),E=le(n(1413)),g=le(n(8732)),S=n(8277),O=n(395),I=le(n(702)),T=le(n(11472)),C=le(n(11473)),b=le(n(11689)),M=le(n(9705)),N=le(n(10)),A=le(n(694)),P=le(n(51)),R=le(n(690)),L=le(n(94)),D=le(n(479)),w=le(n(283)),j=le(n(160)),k=le(n(39)),U=le(n(12)),G=le(n(1147)),F=le(n(61)),B=le(n(55)),H=le(n(10225)),x=le(n(278)),V=le(n(5707)),W=se(n(149)),Y=le(n(8367)),z=le(n(1240)),K=le(n(1281)),$=le(n(8602)),Z=le(n(407)),q=le(n(1261)),X=le(n(8710)),J=le(n(8777)),Q=le(n(9070)),ee=se(n(279)),te=le(n(24)),ne=n(1163),re=le(n(43)),ae=n(1),oe=le(n(6)),ie=le(n(8189));function le(e){return e&&e.__esModule?e:{default:e}}function ue(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return ue=function(){return e},e}function se(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=ue();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function de(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function fe(){return(fe=Object.assign||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}).apply(this,arguments)}function ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pe(e,t){return(pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ve=re.default.getEnableHardwareAcceleration()?ee.AnimatedAvatar:ee.default;var ye=de(m.default,{onClose:u.closeContextMenu,renderInputDevices:!0,renderInputModes:!0,renderInputVolume:!0}),me=de(m.default,{onClose:u.closeContextMenu,renderOutputDevices:!0,renderOutputVolume:!0}),_e=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).copiedTimeout=new l.Timeout,t.copiedDecayTimeout=new l.Timeout,t.speakingWhileMutedTooltipTimeout=new l.Timeout,t.state={hovered:!1,copiedStreak:0,shouldShowNametagTooltip:!1,shouldShowCopiedFeedback:!1,shouldShowSpeakingWhileMutedTooltip:!1,hoveringOnMute:!1},t.handleToggleSelfMute=function(){var e=t.props,n=e.serverMute,r=e.suppress;(0,h.default)(n,r)},t.handleToggleSelfDeaf=function(){var e=t.props.serverDeaf;(0,_.default)(e)},t.handleOpenSettings=function(){t.maybeHideHotspot(),s.default.open(ae.UserSettingsSections.ACCOUNT)},t.handleOpenSettingsContextMenu=function(e){(0,u.openContextMenu)(e,(function(e){return a.createElement(C.default,fe({},e,{user:t.props.currentUser,premiumSubscription:t.props.premiumSubscription,webBuildOverride:t.props.webBuildOverride}))}))},t.handleInputAudioContextMenu=function(e){(0,u.openContextMenu)(e,(function(){return ye}))},t.handleOutputAudioContextMenu=function(e){(0,u.openContextMenu)(e,(function(){return me}))},t.handleMouseEnter=function(){t.setState({hovered:!0})},t.handleMouseLeave=function(){t.setState({hovered:!1})},t.handleMouseEnterMute=function(){t.setState({hoveringOnMute:!0,shouldShowSpeakingWhileMutedTooltip:!1}),t.speakingWhileMutedTooltipTimeout.stop()},t.handleMouseLeaveMute=function(){t.setState({hoveringOnMute:!1})},t.handleCopyTag=function(){var e=t.props.currentUser,n=t.state,r=n.shouldShowNametagTooltip,a=n.copiedStreak;(0,ne.copy)(e.tag);var o={shouldShowCopiedFeedback:!0,shouldShowNametagTooltip:!0};r||(o.copiedStreak=a+1),t.setState(o,(function(){t.copiedTimeout.start(1e3,(function(){return t.setState({shouldShowNametagTooltip:!1})})),t.copiedDecayTimeout.start(2e3,(function(){return t.setState({copiedStreak:0})}))}))},t.handleOccludedChanged=function(){t.props.occluded&&t.setState({shouldShowNametagTooltip:!1,shouldShowSpeakingWhileMutedTooltip:!1})},t.handleSpeakingWhileMutedChanged=function(){var e=t.props,n=e.selfMute,r=e.serverMute,a=e.suppress,o=e.speakingWhileMuted,i=e.occluded,l=t.state.hoveringOnMute;o?l||!n||r||a||i||t.setState({shouldShowSpeakingWhileMutedTooltip:!0},(function(){t.speakingWhileMutedTooltipTimeout.start(2e3,(function(){return t.setState({shouldShowSpeakingWhileMutedTooltip:!1})}))})):(t.setState({shouldShowSpeakingWhileMutedTooltip:!1}),t.speakingWhileMutedTooltipTimeout.stop())},t.maybeHideHotspot=function(){t.props.hasProfileCustomizationPopout&&(0,S.hideHotspot)(O.HotspotLocations.PROFILE_CUSTOMIZATION_MARKETING)},t.renderStatusPickerPopout=function(e){var n=e.closePopout;return de(d.default,{onClose:function(){t.handleMouseLeave(),n&&n()}})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,pe(t,n);var i,c,p,m=r.prototype;return m.componentDidUpdate=function(e){var t=e.speakingWhileMuted,n=e.occluded,r=this.props,a=r.speakingWhileMuted;r.occluded!==n&&this.handleOccludedChanged(),a!==t&&this.handleSpeakingWhileMutedChanged()},m.componentWillUnmount=function(){this.copiedTimeout.stop(),this.copiedDecayTimeout.stop(),this.speakingWhileMutedTooltipTimeout.stop()},m.renderCopiedSuccess=function(){var e=this.state.copiedStreak,t=[oe.default.Messages.ACCOUNT_USERNAME_COPY_SUCCESS_1,oe.default.Messages.ACCOUNT_USERNAME_COPY_SUCCESS_2,oe.default.Messages.ACCOUNT_USERNAME_COPY_SUCCESS_3,oe.default.Messages.ACCOUNT_USERNAME_COPY_SUCCESS_4,oe.default.Messages.ACCOUNT_USERNAME_COPY_SUCCESS_5,oe.default.Messages.ACCOUNT_USERNAME_COPY_SUCCESS_6,oe.default.Messages.ACCOUNT_USERNAME_COPY_SUCCESS_7,oe.default.Messages.ACCOUNT_USERNAME_COPY_SUCCESS_8,oe.default.Messages.ACCOUNT_USERNAME_COPY_SUCCESS_9,oe.default.Messages.ACCOUNT_USERNAME_COPY_SUCCESS_10,oe.default.Messages.ACCOUNT_USERNAME_COPY_SUCCESS_11],n=Math.min(Math.max(0,e-1),t.length-1);return de(V.default,{isShaking:this.isCopiedStreakGodlike},void 0,t[n])},m.renderNameTag=function(){var e=this,t=this.props,n=t.customStatusActivity,r=t.hidePrivateData,i=t.currentUser,l=this.state,u=l.hovered,s=l.shouldShowNametagTooltip,d=l.shouldShowCopiedFeedback,f=r?null:"#"+i.discriminator,c=null!=n?de(H.default,{hoverText:f,forceHover:u},void 0,de(g.default,{activity:n,emojiClassName:ie.default.emoji,className:ie.default.customStatus})):f,p=null,v=W.TooltipColors.PRIMARY;return ne.SUPPORTS_COPY&&(p=oe.default.Messages.ACCOUNT_CLICK_TO_COPY,d&&(p=this.renderCopiedSuccess(),v=this.isCopiedStreakGodlike?W.TooltipColors.RED:W.TooltipColors.GREEN)),de(W.default,{text:p,forceOpen:s,"aria-label":!!ne.SUPPORTS_COPY&&oe.default.Messages.ACCOUNT_CLICK_TO_COPY,color:v,delay:500,onAnimationRest:function(t,n){d&&!s&&n===ae.SpringTransitionPhases.LEAVE&&e.setState({shouldShowCopiedFeedback:!1})}},void 0,(function(t){var n,r=t.onClick,l=t.onMouseEnter,u=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(t,["onClick","onMouseEnter"]);return a.createElement(F.default,fe({},u,{onMouseEnter:function(){d?(e.copiedTimeout.stop(),e.setState({shouldShowNametagTooltip:!1},l)):l&&l()},onClick:function(){r&&r(),e.handleCopyTag()},className:(0,o.default)(ie.default.nameTag,(n={},n[ie.default.canCopy]=ne.SUPPORTS_COPY,n))}),de(te.default,{className:ie.default.usernameContainer},void 0,de(Q.default,{},void 0,i.username)),null!=c?de(J.default,{className:ie.default.discriminator},void 0,c):null)}))},m.render=function(){var e,t,n=this,r=this.props,i=r.currentUser,l=r.selfDeaf,u=r.selfMute,s=r.serverMute,d=r.serverDeaf,c=r.suppress,p=r.speaking,m=r.streaming,_=r.status,h=r.webBuildOverride,E=r.hasProfileCustomizationPopout,g=this.state.shouldShowSpeakingWhileMutedTooltip;if(null==i)return null;var S=u||c||s,O=l||d,I=de(ve,{size:ee.Sizes.SIZE_32,src:i.getAvatarURL(void 0,!1),"aria-label":i.username,status:m?ae.StatusTypes.STREAMING:_,isSpeaking:p,className:ie.default.avatar});return de("div",{className:ie.default.container,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},void 0,de(f.default,{object:ae.AnalyticsObjects.AVATAR},void 0,de(x.default,{renderPopout:this.renderStatusPickerPopout,position:x.default.Positions.TOP,align:x.default.Align.LEFT,animation:x.default.Animation.SCALE,spacing:14},void 0,(function(e){return a.createElement(F.default,fe({},e,{"aria-label":oe.default.Messages.SET_STATUS,className:ie.default.avatarWrapper}),I)}))),this.renderNameTag(),de(B.default,{grow:0},void 0,de(X.default,{tooltipText:g?oe.default.Messages.ACCOUNT_SPEAKING_WHILE_MUTED:(0,y.default)(u,s,c),tooltipColor:g?W.TooltipColors.GREEN:void 0,tooltipForceOpen:g||void 0,onMouseEnter:this.handleMouseEnterMute,onMouseLeave:this.handleMouseLeaveMute,icon:S?q.default:Z.default,iconForeground:S?ie.default.strikethrough:null,onClick:this.handleToggleSelfMute,innerClassName:(0,o.default)((e={},e[ie.default.redIcon]=s||c,e)),onContextMenu:this.handleInputAudioContextMenu,role:"switch","aria-label":oe.default.Messages.MUTE,"aria-checked":S}),de(X.default,{tooltipText:(0,v.default)(l,d),icon:l?K.default:z.default,onClick:this.handleToggleSelfDeaf,onContextMenu:this.handleOutputAudioContextMenu,innerClassName:(0,o.default)((t={},t[ie.default.redIcon]=d,t)),iconForeground:O?ie.default.strikethrough:null,role:"switch","aria-label":oe.default.Messages.DEAFEN,"aria-checked":O}),de(x.default,{position:x.default.Positions.TOP,align:x.default.Align.CENTER,shouldShow:E,renderPopout:function(e){return a.createElement(T.default,fe({},e,{closePopout:n.maybeHideHotspot}))}},void 0,(function(){return de(X.default,{tooltipText:null!=h?oe.default.Messages.USER_SETTINGS_WITH_BUILD_OVERRIDE.format({webBuildOverride:h.id}):oe.default.Messages.USER_SETTINGS,onClick:n.handleOpenSettings,onContextMenu:n.handleOpenSettingsContextMenu,innerClassName:null!=h?ie.default.buildOverrideButton:null,icon:Y.default},void 0,null!=h?de($.default,{width:9,height:9,className:ie.default.hasBuildOverride,"aria-hidden":!0}):null)}))))},i=r,(c=[{key:"isCopiedStreakGodlike",get:function(){return this.state.copiedStreak>=10}}])&&ce(i.prototype,c),p&&ce(i,p),r}(a.PureComponent);function he(){var e=(0,i.useStateFromStores)([U.default],(function(){return U.default.getCurrentUser()})),t=null==e?void 0:e.id,n=(0,i.useStateFromStores)([k.default],(function(){return k.default.customStatus})),r=a.useMemo((function(){return null!=n?(0,E.default)(n):null}),[n]),o=(0,i.useStateFromStoresObject)([D.default],(function(){return{streaming:null!=D.default.findActivity((function(e){return e.type===ae.ActivityTypes.STREAMING})),status:D.default.getStatus()}})),l=o.streaming,u=o.status,s=(0,i.useStateFromStores)([w.default],(function(){return null!=t&&w.default.isSpeaking(t)}),[t]),d=(0,i.useStateFromStores)([j.default],(function(){return j.default.hidePersonalInformation})),f=(0,i.useStateFromStores)([L.default,N.default],(function(){var e=L.default.getChannelId();return null!=e?N.default.getChannel(e):null})),v=(0,M.default)(f),y=v.mute,m=v.selfMute,_=v.suppress,h=(0,b.default)(f),g=h.selfDeaf,S=h.deaf,T=(0,i.useStateFromStores)([c.default],(function(){var e;return(0,p.probablyHasBuildOverride)()?null===(e=c.default.getCurrentBuildOverride().overrides)||void 0===e?void 0:e.discord_web:null})),C=(0,i.useStateFromStores)([G.default],(function(){return G.default.getPremiumTypeSubscription()})),F=(0,i.useStateFromStores)([P.default],(function(){return P.default.getEverSpeakingWhileMuted()})),B=(0,i.useStateFromStores)([A.default,R.default],(function(){return A.default.hasLayers()||R.default.hasModalOpen()})),H=(0,i.useStateFromStores)([I.default],(function(){return I.default.hasHotspot(O.HotspotLocations.PROFILE_CUSTOMIZATION_MARKETING)&&null!=e&&Date.now()-e.createdAt.getTime()>2592e5})),x=(null==e?void 0:e.bio)||null!=(null==e?void 0:e.banner);return de(_e,{hidePrivateData:d,currentUser:e,selfMute:m,serverMute:y,suppress:_,serverDeaf:S,selfDeaf:g,status:u,speaking:s,streaming:l,customStatusActivity:r,webBuildOverride:T,premiumSubscription:C,speakingWhileMuted:F,occluded:B,hasProfileCustomizationPopout:H&&!x})}_e.displayName="Account",he.displayName="AccountConnected"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=b(n(0)),o=T(n(9)),i=n(3),l=T(n(274)),u=T(n(8273)),s=T(n(8732)),d=b(n(8253)),f=T(n(1255)),c=T(n(39)),p=T(n(29)),v=T(n(149)),y=T(n(686)),m=n(41),_=n(1312),h=T(n(13)),E=n(716),g=T(n(11467)),S=n(1),O=T(n(6)),I=T(n(8126));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function M(){return(M=Object.assign||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}).apply(this,arguments)}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function A(e){var t=e.status,n=e.description,r=e.focused;return N("div",{className:I.default.statusItem},void 0,N(_.Status,{status:t,className:I.default.icon,size:10,color:r?"currentColor":void 0}),N("div",{className:I.default.status},void 0,(0,E.humanizeStatus)(t)),null!=n&&N("div",{className:I.default.description},void 0,n))}function P(e){var t=e.customStatus,n=function(e){e.stopPropagation(),l.default.updateRemoteSettings({customStatus:null})};return null!=t?N("div",{"aria-label":O.default.Messages.CUSTOM_STATUS_EDIT_CUSTOM_STATUS_PLACEHOLDER},void 0,N(s.default,{className:null!=t.emoji?I.default.customStatusWithEmoji:I.default.customStatusItem,activity:t,emojiClassName:I.default.customEmoji,textClassName:I.default.customText,placeholderText:O.default.Messages.CUSTOM_STATUS_EDIT_CUSTOM_STATUS_PLACEHOLDER},void 0,N(v.default,{text:O.default.Messages.CUSTOM_STATUS_CLEAR_CUSTOM_STATUS},void 0,(function(e){return a.createElement(p.default,M({},e,{className:I.default.clearStatusButton,onClick:n,look:p.default.Looks.BLANK,size:p.default.Sizes.NONE,tabIndex:-1,"aria-hidden":!0}),N(y.default,{className:I.default.clearStatusIcon}))})))):N("div",{className:(0,o.default)(I.default.statusItem,I.default.customStatusContentIcon),"aria-label":O.default.Messages.CUSTOM_STATUS_SET_CUSTOM_STATUS},void 0,N("div",{className:I.default.customEmojiPlaceholder}),N("div",{className:I.default.status},void 0,O.default.Messages.CUSTOM_STATUS_SET_CUSTOM_STATUS))}A.displayName="StatusMenuItem";var R=N(d.MenuSeparator,{}),L=N(d.MenuSeparator,{}),D=function(e){var t=e.customStatus,n=e.onClose,r=e.analyticsContext,o=e.onSelect;a.useEffect((function(){h.default.track(S.AnalyticEvents.OPEN_POPOUT,{type:"User Status Menu",has_custom_status:null!=t,location:r.location})}),[]);var i=function(e){l.default.updateRemoteSettings({status:e})},u=N(P,{customStatus:t});return N(d.default,{navId:"status-picker",style:d.MenuStyle.FIXED,"aria-label":O.default.Messages.SET_STATUS,onClose:n,onSelect:o},void 0,N(d.MenuItem,{id:"online",keepItemStyles:!0,render:function(e){var t=e.isFocused;return N(A,{status:_.StatusTypes.ONLINE,focused:t})},action:function(){return i(_.StatusTypes.ONLINE)}}),R,N(d.MenuItem,{id:"idle",keepItemStyles:!0,render:function(e){var t=e.isFocused;return N(A,{status:_.StatusTypes.IDLE,focused:t})},action:function(){return i(_.StatusTypes.IDLE)}}),N(d.MenuItem,{id:"dnd",keepItemStyles:!0,render:function(e){var t=e.isFocused;return N(A,{status:_.StatusTypes.DND,description:O.default.Messages.STATUS_DND_HELP,focused:t})},action:function(){return i(_.StatusTypes.DND)}}),N(d.MenuItem,{id:"invisible",keepItemStyles:!0,render:function(e){var t=e.isFocused;return N(A,{status:_.StatusTypes.INVISIBLE,description:O.default.Messages.STATUS_INVISIBLE_HELPER,focused:t})},action:function(){return i(_.StatusTypes.INVISIBLE)}}),L,N(d.MenuItem,{id:"custom-status",keepItemStyles:!0,render:function(){return u},action:function(){(0,m.openModal)((function(e){return a.createElement(g.default,M({},e,{sourceAnalyticsContext:r}))}))}}))};D.displayName="StatusPickerPopout";var w=(0,u.default)((function(e){var t=(0,i.useStateFromStores)([f.default],(function(){return f.default.getCustomStatusActivity()})),n=(0,i.useStateFromStores)([c.default],(function(){return c.default.status}));return a.createElement(D,M({},e,{customStatus:t,status:n}))}));t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=R();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=P(n(3)),i=P(n(274)),l=P(n(5938)),u=P(n(8257)),s=n(10469),d=P(n(11468)),f=P(n(8408)),c=P(n(1255)),p=P(n(39)),v=P(n(12)),y=P(n(29)),m=P(n(8564)),_=P(n(278)),h=P(n(153)),E=P(n(1165)),g=P(n(681)),S=P(n(686)),O=n(35),I=n(374),T=n(1312),C=P(n(13)),b=n(716),M=n(1),N=P(n(6)),A=P(n(8125));function P(e){return e&&e.__esModule?e:{default:e}}function R(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return R=function(){return e},e}function L(){return(L=Object.assign||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}).apply(this,arguments)}function D(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function k(){var e=p.default.customStatus;return null!=e&&null==e.expiresAt?null:s.ClearAfterValues.TODAY}function U(e){return j("div",{className:A.default.statusOptionItem},void 0,j(T.Status,{status:e.value,size:10,className:A.default.statusIcon}),e.label)}U.displayName="renderStatusOptionItem";var G=[{key:1,value:T.StatusTypes.ONLINE,label:(0,b.humanizeStatus)(T.StatusTypes.ONLINE)},{key:2,value:T.StatusTypes.IDLE,label:(0,b.humanizeStatus)(T.StatusTypes.IDLE)},{key:3,value:T.StatusTypes.DND,label:(0,b.humanizeStatus)(T.StatusTypes.DND)},{key:4,value:T.StatusTypes.INVISIBLE,label:(0,b.humanizeStatus)(T.StatusTypes.INVISIBLE)}];function F(){var e=p.default.status;return G.some((function(t){return t.value===e}))?e:T.StatusTypes.ONLINE}var B=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={emojiInfo:null!=t.props.customStatus?t.props.customStatus.emoji:null,text:null!=t.props.customStatus&&null!=t.props.customStatus.state?t.props.customStatus.state:"",clearAfter:k(),status:F()},t.handleClearStatus=function(){t.setState({emojiInfo:null,text:""})},t.handleSubmit=function(e){e.preventDefault(),t.handleSaveStatus()},t.handleStatusChange=function(e){t.setState({text:e})},t.handleEmojiChange=function(e){if(null!=e){var n=null!=e.id?{id:e.id,name:e.name,animated:e.animated}:{id:null,name:e.optionallyDiverseSequence,animated:!1};t.setState({emojiInfo:n})}},t.handleChangeClearAfter=function(e){t.setState({clearAfter:e})},t.handleChangeStatus=function(e){t.setState({status:e})},t.handleSaveStatus=function(){var e=t.props,n=e.sourceAnalyticsContext,r=e.onClose,a=t.state,o=a.emojiInfo,l=a.text,u=a.clearAfter,s=a.status;i.default.updateRemoteSettings({status:s}),(0,d.default)(l,o,u,n),r()},t.handleKeyPress=function(e){e.which===M.KeyboardKeys.ENTER&&t.handleSaveStatus()},t.renderEmojiPicker=function(e){var n=e.closePopout,r=t.props.onClose;return j(f.default,{closePopout:n,onSelectEmoji:function(e,r){t.handleEmojiChange(e),r&&n()},pickerIntention:M.EmojiIntention.STATUS,onNavigateAway:r})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,w(t,n);var o,c,p,v=r.prototype;return v.componentDidMount=function(){var e=this.props.sourceAnalyticsContext;C.default.track(M.AnalyticEvents.OPEN_MODAL,{source:e.location,type:M.AnalyticsSections.CUSTOM_STATUS_MODAL,load_id:e.loadId})},v.getEmojiButtonRenderer=function(){var e=this.state.emojiInfo;return e?function(){return j(l.default,{className:A.default.emoji,emojiId:e.id,emojiName:e.name,animated:Boolean(e.animated)})}:null},v.renderCustomStatusInput=function(){var e=this,t=this.props.user,n=this.state,r=n.text,o=n.emojiInfo;return j(g.default,{className:A.default.formGroup,title:N.default.Messages.CUSTOM_STATUS_MODAL_BODY.format({username:t.username})},void 0,j("div",{className:A.default.inputContainer},void 0,j("div",{className:A.default.emojiButtonContainer},void 0,j(_.default,{renderPopout:this.renderEmojiPicker,position:_.default.Positions.LEFT,animation:_.default.Animation.NONE,align:_.default.Align.BOTTOM},void 0,(function(t,n){return a.createElement(m.default,L({},t,{active:n,className:A.default.emojiButton,tabIndex:0,renderButtonContents:e.getEmojiButtonRenderer()}))}))),j(h.default,{maxLength:s.STATUS_MAX_LENGTH,value:r,inputClassName:A.default.input,placeholder:N.default.Messages.CUSTOM_STATUS_MODAL_PLACEHOLDER,onChange:this.handleStatusChange,onKeyPress:this.handleKeyPress,autoFocus:!0}),r.length>0||null!=o?j(y.default,{focusProps:{offset:{top:8,bottom:8,left:-2,right:-2}},className:A.default.clearButton,onClick:this.handleClearStatus,look:y.default.Looks.BLANK,size:y.default.Sizes.NONE},void 0,j(S.default,{className:A.default.clearIcon})):null))},v.renderClearAfter=function(){var e=this.state.clearAfter;return j(g.default,{className:A.default.formGroup,title:N.default.Messages.CUSTOM_STATUS_CLEAR_AFTER},void 0,j(I.SingleSelect,{placeholder:N.default.Messages.CUSTOM_STATUS_CLEAR_AFTER,maxVisibleItems:5,value:e,options:this.clearAfterOptions,onChange:this.handleChangeClearAfter}))},v.renderStatusInput=function(){var e=this.state.status;return j(g.default,{className:A.default.formGroup,title:N.default.Messages.CUSTOM_STATUS_STATUS_TITLE},void 0,j(I.SingleSelect,{maxVisibleItems:4,value:e,options:G,onChange:this.handleChangeStatus,renderOptionLabel:U}))},v.render=function(){var e=this.props,t=e.transitionState,n=e.onClose;return a.createElement(u.default,this.analyticsLocation,j(O.ModalRoot,{transitionState:t,className:A.default.modalRoot,"aria-label":N.default.Messages.CUSTOM_STATUS_SET_CUSTOM_STATUS},void 0,j(O.ModalHeader,{separator:!1,className:A.default.headerContainer},void 0,j("div",{className:A.default.art}),j("div",{className:A.default.header},void 0,j("h4",{className:A.default.headerText},void 0,N.default.Messages.CUSTOM_STATUS_SET_CUSTOM_STATUS)),j(O.ModalCloseButton,{onClick:n,className:A.default.modalCloseButton})),j(O.ModalContent,{},void 0,this.renderCustomStatusInput(),this.renderClearAfter(),j(E.default,{className:A.default.formDivider}),this.renderStatusInput()),j(O.ModalFooter,{},void 0,j(y.default,{onClick:this.handleSubmit},void 0,N.default.Messages.SAVE),j(y.default,{onClick:n,look:y.default.Looks.LINK,color:A.default.cancelButton},void 0,N.default.Messages.CANCEL))))},o=r,(c=[{key:"clearAfterOptions",get:function(){return[{key:1,value:s.ClearAfterValues.TODAY,label:N.default.Messages.CUSTOM_STATUS_TODAY},{key:2,value:s.ClearAfterValues.HOURS_4,label:N.default.Messages.CUSTOM_STATUS_HOURS.format({hours:4})},{key:3,value:s.ClearAfterValues.HOURS_1,label:N.default.Messages.CUSTOM_STATUS_HOURS.format({hours:1})},{key:4,value:s.ClearAfterValues.MINUTES_30,label:N.default.Messages.CUSTOM_STATUS_MINUTES.format({minutes:30})},{key:5,value:null,label:N.default.Messages.CUSTOM_STATUS_DONT_CLEAR}]}},{key:"analyticsLocation",get:function(){return{page:M.AnalyticsPages.CUSTOM_STATUS_MODAL}}}])&&D(o.prototype,c),p&&D(o,p),r}(a.PureComponent);B.displayName="CustomStatusModal";var H=o.default.connectStores([c.default,v.default],(function(){return{customStatus:c.default.getCustomStatusActivity(),user:v.default.getCurrentUser()}}),{forwardRef:!0})(B);t.default=H},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,u){var d=e.trim();if(d.length>0||null!=t){var f={text:d.length>0?d:null,expiresAt:null!=n?(0,r.default)().add((0,i.default)(n),"ms").toISOString():null,emojiId:null!=t?t.id:null,emojiName:null!=t?t.name:null};a.default.updateRemoteSettings({customStatus:f}),o.default.track(l.AnalyticEvents.CUSTOM_STATUS_UPDATED,{location:null!=u?u.location:null,emoji_type:s(t),text_len:d.length,clear_after:null!=n?""+n:null})}else a.default.updateRemoteSettings({customStatus:null})};var r=u(n(5)),a=u(n(274)),o=u(n(13)),i=u(n(11469)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function s(e){return null==e?null:null!=e.id?"custom":"unicode"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(e===o.ClearAfterValues.TODAY){var t=new Date;return new Date(t.getFullYear(),t.getMonth(),t.getDate()+1).getTime()-t.getTime()}return(0,a.default)("number"==typeof e,"Invalid custom status clear timeout"),e};var r,a=(r=n(23))&&r.__esModule?r:{default:r},o=n(10469)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(t)return a.default.Messages.SERVER_DEAFENED_DIALOG_TITLE;return e?a.default.Messages.UNDEAFEN:a.default.Messages.DEAFEN};var r,a=(r=n(6))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(e)return void(0,i.openModal)((function(e){return r.createElement(o.default,d({},e,{title:l.default.Messages.SERVER_DEAFENED_DIALOG_TITLE,body:l.default.Messages.SERVER_DEAFENED_DIALOG_BODY}))}));a.default.toggleSelfDeaf()};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=u(n(288)),o=u(n(218)),i=n(41),l=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(29)),i=f(n(24)),l=f(n(13)),u=n(1),s=f(n(6)),d=f(n(8127));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.closePopout;return a.useEffect((function(){l.default.track(u.AnalyticEvents.TOOLTIP_VIEWED,{type:"User Settings Cog - Custom Profiles"})}),[]),p("div",{className:d.default.container},void 0,p("div",{className:d.default.content},void 0,p("div",{className:d.default.art}),p(i.default,{className:d.default.headerText,size:i.default.Sizes.SIZE_16,color:i.default.Colors.CUSTOM},void 0,s.default.Messages.PROFILE_CUSTOMIZATION_MARKETING_TOOLTIP_HEADER),p(i.default,{className:d.default.bodyText,size:i.default.Sizes.SIZE_14,color:i.default.Colors.CUSTOM},void 0,s.default.Messages.PROFILE_CUSTOMIZATION_MARKETING_TOOLTIP_BODY),p(o.default,{className:d.default.button,size:o.default.Sizes.MAX,onClick:t,color:o.default.Colors.WHITE},void 0,s.default.Messages.PROFILE_CUSTOMIZATION_MARKETING_TOOLTIP_CTA),p("div",{className:d.default.pointer})))}v.displayName="ProfileCustomizationMarketingTooltip"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var r,a=S(n(0)),o=n(389),i=E(n(473)),l=n(10470),u=E(n(9061)),s=n(1394),d=S(n(8253)),f=n(8256),c=E(n(11684)),p=E(n(11685)),v=E(n(11686)),y=E(n(11688)),m=E(n(10491)),_=n(1),h=E(n(6));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(){return(I=Object.assign||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}).apply(this,arguments)}function T(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function C(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){T(o,r,a,i,l,"next",e)}function l(e){T(o,r,a,i,l,"throw",e)}i(void 0)}))}}function b(e){var t=e.webBuildOverride,n=e.user,r=e.premiumSubscription,E=e.onSelect,g=a.useState(!1),S=g[0],T=g[1],b=(0,y.default)(),M=(0,p.default)(),N=(0,c.default)(),A=(0,m.default)(),P=(0,v.default)(),R=u.default.useExperiment({})[0].useStandaloneSubscriptionsTab;function L(){return(L=C(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,T(!0),e.next=4,(0,s.clearBuildOverride)();case 4:window.location.reload(!0),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),T(!1);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})))).apply(this,arguments)}return O(d.default,{navId:"user-settings-cog",onClose:o.closeContextMenu,"aria-label":h.default.Messages.USER_SETTINGS_ACTIONS_MENU_LABEL,onSelect:E},void 0,(0,l.getUserSettingsSections)({user:n,premiumSubscription:r,badgeCustomProfiles:!1,useStandaloneSubscriptionsTab:R}).map((function(e){var t=e.section,n=e.label,r=e.onClick,o={label:n,action:function(){return null!=r?r():function(e){var t=Object.values(_.UserSettingsSections).filter((function(t){return t===e}))[0];null!=t&&i.default.open(t)}(t)}},l=t.replace(/\W/gi,"_");switch(t){case _.UserSettingsSections.STREAMER_MODE:return a.createElement(d.MenuItem,I({id:l},o),b);case _.UserSettingsSections.APPEARANCE:return a.createElement(d.MenuItem,I({id:l},o),M);case _.UserSettingsSections.ACCESSIBILITY:return a.createElement(d.MenuItem,I({id:l},o),N);case _.UserSettingsSections.VOICE:return a.createElement(d.MenuItem,I({id:l},o),A);case _.UserSettingsSections.EXPERIMENTS:return a.createElement(d.MenuItem,I({id:l},o),P);case"logout":return null;default:return a.createElement(d.MenuItem,I({id:l},o))}})),null!=t?O(d.MenuGroup,{},void 0,O(d.MenuItem,{id:"clear-build-override",disabled:S,label:"Clear Build Override",action:function(){return L.apply(this,arguments)},color:f.MenuItemColor.DANGER})):null)}b.displayName="UserSettingsCogContextMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=O;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(208),l=h(n(382)),u=h(n(61)),s=h(n(5942)),d=h(n(1159)),f=n(131),c=h(n(47)),p=h(n(24)),v=h(n(8761)),y=n(11475),m=h(n(8128)),_=h(n(370));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(e){var t,n,r=a.useState(!!e.descriptor),o=r[0],l=r[1],s=a.useCallback((function(){l((function(e){return!e}))}),[]),c=(t=e.experiment.description,Array.isArray(t)?t:[t]),h=(0,y.getExperimentDateFromId)(e.experimentId);return g("div",{className:m.default.group},void 0,g(f.FormSection,{},void 0,g(u.default,{onClick:s},void 0,g(f.FormTitle,{tag:f.FormTitleTags.H3,className:m.default.title},void 0,g("div",{},void 0,g("span",{},void 0,e.experiment.title),g(p.default,{color:p.default.Colors.MUTED},void 0,e.experimentId)),g("span",{className:m.default.experimentDate},void 0,h))),o?g("div",{},void 0,g(f.FormItem,{title:"Bucket Override"},void 0,g(d.default,{value:e.descriptor?e.descriptor.bucket:null,clearable:!0,searchable:!1,options:(n=e.experiment.buckets,n.map((function(e){return{label:v.default.getExperimentBucketName(e),value:e}}))),onChange:function(t){(0,i.overrideBucket)(e.experimentId,t&&t.value)}})),g("div",{className:_.default.marginTop4},void 0,c.map((function(e,t){return g(f.FormText,{type:f.FormTextTypes.DESCRIPTION},t,e," ")})))):null),g(f.FormDivider,{className:_.default.marginTop20}))}function O(){var e=(0,o.useStateFromStoresObject)([l.default],(function(){return{experiments:l.default.getRegisteredExperiments(),overrides:l.default.getExperimentOverrides()}})),t=e.experiments,n=e.overrides,r=a.useState(""),i=r[0],u=r[1],d=(0,y.getBestMatches)((0,y.sortEntries)((0,y.getEntries)(t)),i);return g(f.FormSection,{tag:f.FormTitleTags.H1,title:"Experiments"},void 0,g(s.default,{size:s.default.Sizes.LARGE,query:i,onChange:u,onClear:function(){return u("")}}),d.length?d.map((function(e){return g(S,{experiment:e.experiment,experimentId:e.id,descriptor:n[e.id]},e.id)})):g("div",{className:m.default.emptyState},void 0,g(c.default,{size:c.default.Sizes.SIZE_16},void 0,"No Experiments Found")))}S.displayName="ExperimentGroup",O.displayName="UserSettingsExperiments"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getExperimentDateFromId=u,t.getEntries=function(e){return Array.from(Object.entries(e)).map((function(e){return{id:e[0],experiment:e[1]}}))},t.matchesDeep=s,t.sortEntries=function(e){return e.slice().sort((function(e,t){var n=u(e.id),r=u(t.id);if(null!=n&&null!=r){var a=r.localeCompare(n);if(0!==a)return a}return e.experiment.title.localeCompare(t.experiment.title)}))},t.getBestMatches=function(e,t){var n=t.split(/\s+/g).filter((function(e){return""!==e}));if(0===n.length)return e;for(var r,i=[],l=o(e);!(r=l()).done;){for(var u,d=r.value,f=0,c=o(n);!(u=c()).done;){var p=u.value;s(d,p)&&(f+=1)}0!==f&&(i[f]||(i[f]=[]),i[f].push(d))}i[1]&&i[1].length&&(i=i.slice(1));return(0,a.default)(i.reverse())};var r,a=(r=n(760))&&r.__esModule?r:{default:r};function o(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l=/^(\d{4}-\d{1,2})/;function u(e){var t=l.exec(e);return t?t[1]:null}function s(e,t){if(Array.isArray(e))for(var n,r=o(e);!(n=r()).done;){if(s(n.value,t))return!0}else if("object"==typeof e&&null!==e)for(var a=0,i=Object.values(e);a<i.length;a++){if(s(i[a],t))return!0}else if("string"==typeof e&&e.toLowerCase().includes(t.toLowerCase()))return!0;return!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(1171),l=d(n(8292)),u=d(n(5956)),s=d(n(39));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function v(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){p(o,r,a,i,l,"next",e)}function l(e){p(o,r,a,i,l,"throw",e)}i(void 0)}))}}function y(){var e=(0,o.useStateFromStores)([s.default],(function(){return s.default.theme})),t=a.useState(!1),n=t[0],r=t[1],d=a.useCallback(v(regeneratorRuntime.mark((function e(){var t,n,a,o,l,s,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r(!0),t={},n=u.default.getAllPending(),a=n.pendingAvatar,o=n.pendingBanner,l=n.pendingBio,s=n.pendingBannerColor,void 0!==a&&(t.avatar=a),void 0!==o&&(t.banner=o),null!=l&&(t.bio=l),void 0!==s&&(t.bannerColor=s),e.next=9,(0,i.saveAccountChanges)(t);case 9:(null==(d=e.sent)?void 0:d.ok)&&(0,i.resetAllPending)(),r(!1);case 12:case"end":return e.stop()}}),e)}))),[]),f=a.useCallback((function(){(0,i.resetAllPending)()}),[]);return c(l.default,{theme:e,submitting:n,onSave:d,onReset:f})}y.displayName="UserSettingsAccountNotice"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=D;var r,a=P(n(0)),o=n(3),i=N(n(2)),l=n(1171),u=N(n(8316)),s=N(n(11478)),d=P(n(8555)),f=n(8277),c=n(1220),p=N(n(160)),v=N(n(5956)),y=N(n(12)),m=n(131),_=N(n(96)),h=n(10471),E=N(n(11479)),g=N(n(11483)),S=N(n(11484)),O=N(n(9068)),I=N(n(11485)),T=N(n(11486)),C=n(1),b=N(n(6)),M=N(n(8136));function N(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function P(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function R(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var L=R(u.default,{});function D(){var e=(0,o.useStateFromStores)([y.default],(function(){return y.default.getCurrentUser()})),t=(0,o.useStateFromStores)([p.default],(function(){return p.default.hidePersonalInformation})),n=(0,o.useStateFromStoresObject)([v.default],(function(){var e=v.default.getAllPending();return{pendingAvatar:e.pendingAvatar,pendingBannerColor:e.pendingBannerColor,pendingBanner:e.pendingBanner,errors:v.default.getErrors()}})),r=n.pendingAvatar,u=n.pendingBanner,N=n.pendingBannerColor,A=n.errors,P=s.default.useExperiment({})[0].showBannerColorPicker;s.default.trackExposure({});var D=_.default.canUsePremiumProfileCustomization(e),w=void 0===r?e.getAvatarURL(void 0):r,j=(0,d.default)(w,C.Colors.PRIMARY_DARK_530,d.ColorFormats.HEX),k=void 0===N?e.bannerColor:N,U=void 0===r?null!=e.avatar:null!=r,G=void 0===u?null!=e.banner:null!=u;return a.useEffect((function(){return(0,c.hideHotspot)(f.HotspotLocations.PROFILE_CUSTOMIZATION_MARKETING),function(){return i.default.wait((function(){return(0,c.hideHotspot)(f.HotspotLocations.PROFILE_CUSTOMIZATION_SETTINGS_BADGE)}))}}),[]),a.useEffect((function(){return function(){return(0,l.resetAllPending)()}}),[]),t?L:R(m.FormSection,{tag:m.FormTitleTags.H1,title:b.default.Messages.USER_SETTINGS_USER_PROFILE,className:M.default.userProfileCustomizationSection},void 0,R("div",{className:M.default.baseLayout},void 0,R("div",{},void 0,R(S.default,{showRemoveAvatarButton:U,errors:A.avatar}),P&&R(T.default,{defaultAvatarColor:j,savedUserColor:e.bannerColor,pendingColor:N}),R(I.default,{canUsePremiumCustomization:D,showRemoveBannerButton:G,errors:A.banner,user:e}),R(g.default,{user:e,errors:A.bio})),R(O.default,{title:b.default.Messages.FORM_LABEL_VIDEO_PREVIEW,className:M.default.preview},void 0,R(E.default,{user:e,canUsePremiumCustomization:D,bannerColor:null!=k?k:j,onUpsellClick:h.handleUpsellClick}))))}D.displayName="UserSettingsProfileCustomization"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-06_banner_color_picker",label:"Banner Color Picker",defaultConfig:{showBannerColorPicker:!1},treatments:[{id:1,label:"Banner Color Picker",config:{showBannerColorPicker:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=k;var r,a=R(n(0)),o=n(3),i=n(1171),l=A(n(473)),u=A(n(8338)),s=n(123),d=A(n(11480)),f=n(8549),c=n(9112),p=A(n(256)),v=A(n(5956)),y=A(n(161)),m=A(n(61)),_=A(n(8722)),h=n(41),E=A(n(47)),g=A(n(13)),S=R(n(150)),O=A(n(96)),I=n(9240),T=A(n(11481)),C=A(n(10226)),b=n(1),M=A(n(6)),N=A(n(8131));function A(e){return e&&e.__esModule?e:{default:e}}function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function D(){return(D=Object.assign||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}).apply(this,arguments)}function w(){g.default.track(b.AnalyticEvents.PREMIUM_PROMOTION_OPENED,{location_page:b.AnalyticsPages.USER_SETTINGS,location_section:b.AnalyticsSections.SETTINGS_ACCOUNT,location_object:b.AnalyticsObjects.BADGE}),l.default.setSection(b.UserSettingsSections.PREMIUM)}var j=L(T.default,{});function k(e){var t=e.user,n=e.bannerColor,r=e.canUsePremiumCustomization,l=e.onUpsellClick,g=a.useState(!1),T=g[0],A=g[1],P=(0,o.useStateFromStores)([p.default],(function(){return p.default.findActivity(t.id,(function(e){return e.type===b.ActivityTypes.CUSTOM_STATUS}))})),R=(0,o.useStateFromStores)([v.default],(function(){return v.default.getAllPending()})),k=R.pendingBanner,U=R.pendingBio,G=R.pendingAvatar,F=a.useContext(s.AccessibilityPreferencesContext).reducedMotion,B=(0,o.useStateFromStores)([y.default],(function(){return y.default.isFocused()})),H=a.useRef(null),x=S.hasAnimatedUserBanner(t),V=a.useCallback((function(){var e,t;null===(e=H.current)||void 0===e||null===(t=e.inputRef.current)||void 0===t||t.activateUploadDialogue()}),[]),W=a.useCallback((function(e,n,r){if(null==t.avatar&&null==e)(0,i.setPendingAvatar)(void 0);else if(null!=e&&null!=n&&r&&!O.default.isPremium(t)){var o=new Image;o.src=e,(0,h.openModal)((function(t){return a.createElement(d.default,D({},t,{imgURI:o.src,avatar:e,onChangeAvatar:function(){t.onClose(),V()}}))}))}else(0,i.setPendingAvatar)(e)}),[t,V]),Y=a.useCallback((function(e){var n=D({},t,{avatar:e});return S.getUserAvatarURL(n,!0)}),[t]),z=void 0!==G?G:t.avatar;return a.useEffect((function(){var e;x&&F.enabled&&((new Image).src=null!==(e=S.getUserBannerURL({id:t.id,banner:t.banner},!0))&&void 0!==e?e:"")}),[t.id,t.banner,F.enabled,x]),L("div",{className:N.default.profileBannerPreview},void 0,function(){if(r){var e=F.enabled?T:B;return L("div",{onMouseMove:function(){return A(!0)},onMouseLeave:function(){return A(!1)}},void 0,L(u.default,{className:N.default.bannerUploader,showRemoveButton:!1,disabled:!r,avatar:t.banner,makeURL:function(){return void 0===k?t.getBannerURL(e):k},onChange:i.setPendingBanner,avatarStyle:{backgroundColor:n},avatarClassName:N.default.bannerUploaderInnerSquare,hint:M.default.Messages.CHANGE_BANNER,uploadType:f.UploadTypes.BANNER,showEditingModal:!0,hideSize:!0,maxFileSizeBytes:I.MAX_IMAGE_UPLOAD_FILESIZE_BYTES,onFileSizeError:C.default}),F.enabled&&x?L(_.default,{className:N.default.gifTag}):null)}return L("div",{className:N.default.bannerNormal,style:{backgroundColor:n}},void 0,L(m.default,{onClick:l,className:N.default.bannerNitroUpsell},void 0,L(E.default,{className:N.default.bannerNitroUpsellText,size:E.default.Sizes.SIZE_12,uppercase:!0},void 0,M.default.Messages.USER_SETTINGS_UNLOCK_BANNER)))}(),a.createElement(u.default,{ref:H,showIcon:!0,showRemoveButton:!1,className:r?N.default.avatarUploaderPremium:N.default.avatarUploaderNormal,avatarClassName:N.default.avatarUploaderInner,avatar:z,onChange:W,makeURL:Y,maxFileSizeBytes:I.MAX_IMAGE_UPLOAD_FILESIZE_BYTES,onFileSizeError:C.default}),L(c.UserPopoutInfo,{user:t,nickname:null,onOpenPremiumSettings:w,hasCustomStatus:null!=P}),L("div",{className:N.default.popoutInfo},void 0,L(c.UserPopoutProfileText,{userBio:null!=U?U:t.bio,customStatus:null!=P?L(c.UserPopoutCustomStatus,{customStatusActivity:P}):void 0}),j))}k.displayName="UserSettingsProfilePreview"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=_(n(0)),o=n(1171),i=y(n(5948)),l=_(n(29)),u=n(131),s=n(35),d=_(n(279)),f=y(n(24)),c=n(1),p=y(n(6)),v=y(n(8129));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}var g=function(e){var t=e.imgURI,n=e.transitionState,r=e.onClose,y=e.onChangeAvatar,m=e.avatar,_=a.useState(!1),g=_[0],S=_[1],O=a.useState(!1),I=O[0],T=O[1],C=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return S(!0),e.next=3,(0,o.saveAccountChanges)({avatar:m});case 3:(null==(t=e.sent)?void 0:t.ok)&&(0,o.setPendingAvatar)(void 0),S(!1),r();case 7:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){E(o,r,a,i,l,"next",e)}function l(e){E(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();return h(s.ModalRoot,{transitionState:n,size:s.ModalSize.SMALL,"aria-label":p.default.Messages.IMAGE},void 0,h(s.ModalContent,{className:v.default.modalContent,paddingFix:!1,orientation:"horizontal"},void 0,h(s.ModalHeader,{separator:!1,className:v.default.header},void 0,h(u.FormTitle,{tag:u.FormTitleTags.H1},void 0,p.default.Messages.PREMIUM_UPSELL_ANIMATED_AVATAR)),h(f.default,{color:f.default.Colors.STANDARD,size:f.default.Sizes.SIZE_16},void 0,p.default.Messages.PREMIUM_UPSELL_ANIMATED_AVATAR_SUBTITLE),h("div",{className:v.default.promo},void 0,h(f.default,{color:f.default.Colors.STANDARD,size:f.default.Sizes.SIZE_14,className:v.default.promoText},void 0,p.default.Messages.PREMIUM_UPSELL_ANIMATED_AVATAR_TEXT),h(i.default,{submitting:I,premiumModalAnalyticsLocation:{section:c.AnalyticsSections.AVATAR_UPSELL_MODAL,object:c.AnalyticsObjects.BUTTON_CTA},size:l.default.Sizes.SMALL,color:l.default.Colors.GREEN,onClick:function(){T(!0)},onSubscribeModalClose:function(e){T(!1),e&&(C(),r())},buttonText:p.default.Messages.PREMIUM_REQUIRED_GET_NITRO}))),h(s.ModalFooter,{className:v.default.modalFooter},void 0,h(l.default,{look:l.default.Looks.LINK,color:l.default.Colors.PRIMARY,size:l.ButtonSizes.SMALL,onClick:y},void 0,p.default.Messages.CHANGE_AVATAR_A11Y_LABEL),h("div",{className:v.default.modalFooterActions},void 0,h(l.default,{className:v.default.cancelButton,look:l.default.Looks.LINK,color:l.default.Colors.PRIMARY,size:l.ButtonSizes.SMALL,onClick:r},void 0,p.default.Messages.AVATAR_UPLOAD_CANCEL),h(l.default,{size:l.ButtonSizes.SMALL,onClick:C,submitting:g},void 0,p.default.Messages.SAVE_CHANGES))),h(d.default,{src:t,"aria-hidden":!0,className:v.default.avatar,size:d.Sizes.SIZE_120}))};g.displayName="AvatarUploadPremiumUpsellModal";var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(122),i=f(n(47)),l=f(n(24)),u=f(n(6)),s=f(n(8130)),d=f(n(11482));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function y(e){return e-=5399,Math.min(10,e/300*10)}var m=a.memo((function(){var e,t,n=a.useState(0),r=n[0],f=n[1],c=(0,o.useSpring)((function(){return{from:{rotate:"0deg"},config:{tension:1e3,friction:5}}})),m=c[0],_=c[1],h=a.useRef({seconds:r,jitter:(e=regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=y(h.current.seconds),_({rotate:"-"+t+"deg"}),e.next=5,new Promise((function(e){return setTimeout(e,80)}));case 5:return _({rotate:t+"deg"}),e.next=8,new Promise((function(e){return setTimeout(e,80)}));case 8:e.next=0;break;case 10:case"end":return e.stop()}}),e)})),t=function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){v(o,r,a,i,l,"next",e)}function l(e){v(o,r,a,i,l,"throw",e)}i(void 0)}))},function(){return t.apply(this,arguments)})});return a.useEffect((function(){h.current.seconds=r})),a.useEffect((function(){var e=setInterval((function(){f((function(e){return 5399===e&&h.current.jitter(),++e}))}),1e3);return function(){return clearInterval(e)}}),[]),p("div",{"aria-hidden":!0},void 0,p(i.default,{className:s.default.fakeActivityTitle,size:i.default.Sizes.SIZE_12,uppercase:!0,muted:!0},void 0,u.default.Messages.USER_SETTINGS_CUSTOMIZE_PROFILE_TITLE),p("div",{className:s.default.fakeActivityLayout},void 0,p("div",{className:s.default.fakeActivityIcon},void 0,p(o.animated.img,{className:s.default.fakeActivityPencil,src:d.default,style:m})),p("div",{className:s.default.fakeActivityContent},void 0,p(l.default,{size:l.default.Sizes.SIZE_14,strong:!0},void 0,u.default.Messages.USER_SETTINGS_USER_PROFILE),p(l.default,{size:l.default.Sizes.SIZE_14},void 0,u.default.Messages.PROFILE_CUSTOMIZATION_ACTIVITY_TIME.format({renderTimeHook:function(e,t){var n=r%60,a=(r-n)/60;return p("span",{className:s.default.fakeActivityTimeValues},t,a.toString().padStart(2,"0"),":",n.toString().padStart(2,"0"))}})))))}));t.default=m},function(e,t,n){e.exports=n.p+"edb417bfb84d53275aad9b7996447ed6.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=n(1171),i=d(n(5956)),l=d(n(8272)),u=d(n(9068)),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.user,n=e.errors,r=(0,a.useStateFromStores)([i.default],(function(){return i.default.getPendingBio()}));return c(u.default,{title:s.default.Messages.USER_SETTINGS_ABOUT_ME,description:s.default.Messages.USER_SETTINGS_ABOUT_ME_DETAILS,errors:n},void 0,c(l.default,{placeholder:s.default.Messages.PROFILE_CUSTOMIZATION_BIO_PLACEHOLDER,maxLength:190,value:null!=r?r:t.bio,onChange:function(e){e!==t.bio?(0,o.setPendingBio)(e):(0,o.setPendingBio)(void 0)},rows:6}))}p.displayName="AboutMeSection"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(1171),o=p(n(8327)),i=n(8549),l=p(n(29)),u=n(9240),s=p(n(10226)),d=p(n(9068)),f=p(n(6)),c=p(n(8133));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t=e.showRemoveAvatarButton,n=e.errors;return y(d.default,{title:f.default.Messages.USER_SETTINGS_AVATAR,errors:n},void 0,y("div",{className:c.default.buttonsContainer},void 0,y(l.default,{size:l.default.Sizes.SMALL},void 0,f.default.Messages.CHANGE_AVATAR_A11Y_LABEL,y(o.default,{onChange:a.setPendingAvatar,uploadType:i.UploadTypes.AVATAR,showEditingModal:!0,maxFileSizeBytes:u.MAX_IMAGE_UPLOAD_FILESIZE_BYTES,onFileSizeError:s.default})),t&&y(l.default,{className:c.default.removeButton,color:l.default.Colors.PRIMARY,look:l.default.Looks.LINK,size:l.default.Sizes.SMALL,onClick:function(){return(0,a.setPendingAvatar)(null)}},void 0,f.default.Messages.USER_SETTINGS_REMOVE_AVATAR)))}m.displayName="AvatarSection"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(1171),i=S(n(8327)),l=n(8549),u=n(280),s=S(n(29)),d=S(n(5828)),f=S(n(149)),c=S(n(5686)),p=S(n(13)),v=n(10471),y=n(9240),m=S(n(10226)),_=S(n(9068)),h=n(1),E=S(n(6)),g=S(n(8134));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(){return(I=Object.assign||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}).apply(this,arguments)}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(e){var t=e.user.premiumType===h.PremiumTypes.TIER_1?E.default.Messages.USER_SETTINGS_CUSTOMIZATION_UPGRADE_UPSELL:E.default.Messages.USER_SETTINGS_CUSTOMIZATION_UPSELL;return a.useEffect((function(){p.default.track(h.AnalyticEvents.PREMIUM_UPSELL_VIEWED,{type:u.PremiumUpsellTypes.CUSTOM_PROFILE_SETTINGS_BANNER_BUTTON,location:{page:h.AnalyticsPages.USER_SETTINGS,section:h.AnalyticsSections.SETTINGS_CUSTOMIZE_PROFILE,object:h.AnalyticsObjects.BUTTON_CTA}})}),[]),T(d.default,{color:s.default.Colors.GREEN,onClick:v.handleUpsellClick,innerClassName:g.default.nitroUpsellButtonInner},void 0,T(c.default,{className:g.default.nitroUpsellButtonWheel}),t)}function b(e){var t=e.canUsePremiumCustomization,n=e.showRemoveBannerButton,r=e.errors,u=e.user;return T(_.default,{title:a.createElement(a.Fragment,null,E.default.Messages.USER_SETTINGS_PROFILE_BANNER," ",T(f.default,{text:E.default.Messages.PROFILE_CUSTOMIZATION_NITRO_ICON_TOOLTIP},void 0,(function(e){return a.createElement(c.default,I({},e,{className:g.default.nitroWheel}))}))),errors:r,description:E.default.Messages.USER_SETTINGS_BANNER_SPECS},void 0,t?T("div",{className:g.default.buttonsContainer},void 0,T(s.default,{size:s.default.Sizes.SMALL,disabled:!t},void 0,E.default.Messages.CHANGE_BANNER,T(i.default,{disabled:!t,onChange:o.setPendingBanner,uploadType:l.UploadTypes.BANNER,showEditingModal:!0,maxFileSizeBytes:y.MAX_IMAGE_UPLOAD_FILESIZE_BYTES,onFileSizeError:m.default})),n&&T(s.default,{className:g.default.removeButton,color:s.default.Colors.PRIMARY,look:s.default.Looks.LINK,size:s.default.Sizes.SMALL,onClick:function(){return(0,o.setPendingBanner)(null)},disabled:!t},void 0,E.default.Messages.USER_SETTINGS_REMOVE_BANNER)):T(C,{user:u}))}C.displayName="UpsellButton",b.displayName="ProfileBannerSection"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=A;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=O(n(9)),i=n(202),l=n(1171),u=O(n(1166)),s=O(n(29)),d=O(n(61)),f=n(10227),c=O(n(278)),p=O(n(149)),v=O(n(372)),y=O(n(9241)),m=n(8263),_=O(n(24)),h=O(n(9068)),E=n(1),g=O(n(6)),S=O(n(8135));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(){return(C=Object.assign||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}).apply(this,arguments)}function b(e){var t=(0,i.hex2int)(e);return(t?(0,i.getDarkness)(t):1)>.25}function M(){return T(p.default,{text:g.default.Messages.USER_SETTINGS_PROFILE_COLOR_BETA},void 0,(function(e){return a.createElement(m.TextBadge,C({},e,{className:S.default.betaBadge,color:E.Colors.BRAND_NEW_500,text:g.default.Messages.BETA}))}))}M.displayName="BetaBadge";var N=T(M,{});function A(e){var t=e.defaultAvatarColor,n=e.savedUserColor,r=e.pendingColor,p=a.useState(n),m=p[0],O=p[1],I=(0,u.default)()===E.ThemeTypes.DARK?E.HEXColors.PRIMARY_DARK_600:E.HEXColors.WHITE,M=void 0!==r&&null==r||null==r&&null==n;function A(e){(0,l.setPendingBannerColor)((0,i.int2hex)(e)),O((0,i.int2hex)(e))}a.useEffect((function(){void 0===r&&O(n)}),[r,n]);var P=null!=m?m:I,R=P===I,L=b(P)?E.Colors.WHITE:E.Colors.PRIMARY_DARK_530,D=b(M?t:P)?E.Colors.WHITE:E.Colors.PRIMARY_DARK_530,w=T(v.default,{width:32,height:24,color:D});return T(h.default,{title:T("div",{className:S.default.profileColorTitle},void 0,g.default.Messages.USER_SETTINGS_PROFLE_COLOR," ",N)},void 0,T("div",{className:S.default.buttonsContainer},void 0,T("div",{className:S.default.colorSwatch},void 0,T(d.default,{"aria-label":g.default.Messages.USER_SETTINGS_PROFILE_COLOR_DEFAULT,onClick:function(){null==n&&void 0===r||(0,l.setPendingBannerColor)(null)},className:S.default.swatch,style:{backgroundColor:t}},void 0,M?w:null),T(_.default,{className:S.default.swatchDescription,color:_.default.Colors.HEADER_SECONDARY,size:_.default.Sizes.SIZE_12},void 0,g.default.Messages.USER_SETTINGS_PROFILE_COLOR_DEFAULT)),T("div",{className:S.default.colorSwatch},void 0,T(c.default,{onRequestOpen:function(){if(P===n)return(0,l.setPendingBannerColor)(void 0);(0,l.setPendingBannerColor)(P)},renderPopout:function(e){return a.createElement(f.CustomColorPicker,C({},e,{value:(0,i.hex2int)(P),onChange:A}))}},void 0,(function(e){var t;return a.createElement(s.default,C({},e,{className:(0,o.default)(S.default.customSwatch,(t={},t[S.default.defaultSwatch]=R,t)),style:{backgroundColor:P,borderColor:R?void 0:P}}),T(y.default,{className:S.default.dropperIcon,width:14,height:14,color:L}),M?null:w)})),T(_.default,{className:S.default.swatchDescription,color:_.default.Colors.HEADER_SECONDARY,size:_.default.Sizes.SIZE_12},void 0,g.default.Messages.USER_SETTINGS_PROFILE_COLOR_CUSTOM))))}A.displayName="ProfileColorSection"},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(66)),i=s(n(118)),l=s(n(24)),u=s(n(8137));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){var e=window.GLOBAL_ENV.RELEASE_CHANNEL,t=null==="337b0b53d10875228a5b553e10dbfb3f270aa0dd"?void 0:"337b0b53d10875228a5b553e10dbfb3f270aa0dd".substr(0,7),n=null!=i.default?i.default.remoteApp.getVersion():null,r=o.default&&o.default.os?o.default.os.toString():null,s=i.default?"("+i.default.os.release+")":null;return f("div",{className:u.default.info},void 0,f(l.default,{tag:"span",className:u.default.line,size:l.default.Sizes.SIZE_12,color:l.default.Colors.MUTED},void 0,e," ","90176"," ",f("span",{className:u.default.versionHash},void 0,"(",t,")"))," ",n?a.createElement(a.Fragment,null,f(l.default,{tag:"span",className:u.default.line,size:l.default.Sizes.SIZE_12,color:l.default.Colors.MUTED},void 0,"Host ",n)," "):null,null!=r?f(l.default,{tag:"span",className:u.default.line,size:l.default.Sizes.SIZE_12,color:l.default.Colors.MUTED},void 0,r," ",s):null)}c.displayName="ClientDebugInfo"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=f(n(1295)),o=f(n(271)),i=f(n(10450)),l=f(n(10451)),u=f(n(10066)),s=n(1),d=f(n(8138));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v={offset:{top:-8}};function y(){return p("div",{className:d.default.socialLinks},void 0,p(o.default,{target:"_blank",rel:"author",title:"Twitter",href:(0,a.default)(s.LocalizedLinks.TWITTER),className:d.default.link,focusProps:v},void 0,p(u.default,{foreground:d.default.foreground,"aria-hidden":!0})),p(o.default,{target:"_blank",rel:"author",title:"Facebook",href:s.SOCIAL_LINKS.FACEBOOK_URL,className:d.default.link,focusProps:v},void 0,p(i.default,{foreground:d.default.foreground,"aria-hidden":!0})),p(o.default,{target:"_blank",rel:"author",title:"Instagram",href:s.SOCIAL_LINKS.INSTAGRAM_URL,className:d.default.link,focusProps:v},void 0,p(l.default,{foreground:d.default.foreground,"aria-hidden":!0})))}y.displayName="SocialLinks"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=x;var r,a=G(n(0)),o=k(n(9)),i=k(n(8)),l=n(3),u=k(n(274)),s=k(n(473)),d=G(n(1301)),f=n(285),c=k(n(105)),p=n(297),v=k(n(1263)),y=n(682),m=k(n(8975)),_=k(n(11573)),h=n(398),E=k(n(39)),g=k(n(29)),S=k(n(467)),O=k(n(1160)),I=k(n(8496)),T=k(n(1162)),C=k(n(8360)),b=k(n(8267)),M=n(131),N=G(n(279)),A=k(n(24)),P=k(n(93)),R=n(1),L=k(n(6)),D=k(n(8139)),w=k(n(370)),j=k(n(1350));function k(e){return e&&e.__esModule?e:{default:e}}function U(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return U=function(){return e},e}function G(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=U();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function F(){return(F=Object.assign||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}).apply(this,arguments)}function B(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var H=i.default.debounce((function(e){(0,f.setSaturation)(e)}),250);function x(e){return B(M.FormSection,{tag:M.FormTitleTags.H1,title:L.default.Messages.ACCESSIBILITY},void 0,W,z,$,q,B(A.default,{size:A.default.Sizes.SIZE_16},void 0,L.default.Messages.ACCESSIBILITY_SETTINGS_APPEARANCE_LINK.format({onAppearanceClick:function(){s.default.open(R.UserSettingsSections.APPEARANCE)}})))}function V(){var e=(0,l.useStateFromStoresObject)([c.default,E.default],(function(){return{saturation:c.default.saturation,desaturateUserColors:c.default.desaturateUserColors,messageDisplayCompact:E.default.messageDisplayCompact}})),t=e.saturation,n=e.desaturateUserColors,r=e.messageDisplayCompact,i=a.useState((function(){var e=(0,p.createMessageRecord)(F({},(0,v.default)("1337",L.default.Messages.ACCESSIBILITY_SETTINGS_SATURATION_PREVIEW_MESSAGE),{state:R.MessageStates.SENT,id:"0"}));return e.colorString="green",e}))[0];return B(M.FormSection,{},void 0,B(M.FormTitle,{className:w.default.marginBottom8},void 0,L.default.Messages.ACCESSIBILITY_SETTINGS_SATURATION_TITLE),B(M.FormText,{type:M.FormText.Types.DESCRIPTION,className:w.default.marginBottom20},void 0,L.default.Messages.ACCESSIBILITY_SETTINGS_SATURATION_DESCRIPTION),B(C.default,{markers:R.Accessibility.SATURATION_INCREMENTS,equidistant:!0,stickToMarkers:!0,maxValue:1,minValue:0,initialValue:t,onValueChange:H,onMarkerRender:function(e){return 100*e%2==0?100*e+"%":void 0}}),B(b.default,{hideBorder:!0,className:(0,o.default)(w.default.marginTop8,w.default.marginBottom20),value:n,onChange:f.toggledesaturateUserColors,note:L.default.Messages.ACCESSIBILITY_SETTINGS_SATURATION_CUSTOM_COLORS_DESCRIPTION},void 0,L.default.Messages.ACCESSIBILITY_SETTINGS_SATURATION_CUSTOM_COLORS_LABEL),B(I.default,{},void 0,B(S.default,{className:D.default.preview,"aria-hidden":!0},void 0,B("div",{className:D.default.previewHeader},void 0,B(g.default,{size:g.default.Sizes.SMALL,color:g.default.Colors.BRAND},void 0,"Example Button"),B("div",{className:D.default.previewAvatars},void 0,[R.StatusTypes.ONLINE,R.StatusTypes.DND,R.StatusTypes.IDLE].map((function(e){return B(N.AnimatedAvatar,{"aria-label":"avatar",src:j.default,size:N.default.Sizes.SIZE_32,status:e})})))),B("div",{className:D.default.previewMessage},void 0,B(m.default,{compact:r,author:F({},(0,y.getMessageAuthor)(i),{colorString:"#DD80F4"}),message:i})))))}x.displayName="UserSettingsAccessibility",V.displayName="UserSettingsAccessibilityContrast";var W=B(V,{});function Y(){var e=(0,l.useStateFromStoresObject)([c.default,E.default],(function(){return{systemPrefersReducedMotion:c.default.systemPrefersReducedMotion,rawPrefersReducedMotion:c.default.rawPrefersReducedMotion,useReducedMotion:c.default.useReducedMotion,gifAutoPlay:E.default.gifAutoPlay,gifAutoPlayOverrideReason:E.default.getAppliedOverrideReasonKey("gifAutoPlay"),animateEmoji:E.default.animateEmoji,animateEmojiOverrideReason:E.default.getAppliedOverrideReasonKey("animateEmoji")}})),t=e.useReducedMotion,n=e.rawPrefersReducedMotion,r=e.systemPrefersReducedMotion,i=e.gifAutoPlay,s=e.gifAutoPlayOverrideReason,d=e.animateEmoji,p=e.animateEmojiOverrideReason,v="auto"===n,y=a.useCallback((function(e,t){(0,f.setPrefersReducedMotion)(t?"auto":r)}),[r]),m=a.useCallback((function(e){(0,f.setPrefersReducedMotion)(e?"reduce":"no-preference")}),[]),h=a.useCallback((function(e){u.default.updateRemoteSettings({gifAutoPlay:e})}),[]),g=a.useCallback((function(e){u.default.updateRemoteSettings({animateEmoji:e})}),[]);return B(M.FormItem,{title:L.default.Messages.ACCESSIBILITY_PREFERS_REDUCED_MOTION,className:w.default.marginTop20},void 0,B(M.FormText,{type:M.FormText.Types.DESCRIPTION,className:w.default.marginBottom8},void 0,L.default.Messages.ACCESSIBILITY_PREFERS_REDUCED_MOTION_DESCRIPTION.format({helpdeskArticle:P.default.getArticleURL(R.HelpdeskArticles.REDUCED_MOTION)})),B(O.default,{className:w.default.marginTop20,value:v,shape:O.default.Shapes.BOX,type:O.default.Types.INVERTED,onChange:y},void 0,B(A.default,{},void 0,L.default.Messages.ACCESSIBILITY_PREFERS_REDUCED_MOTION_AUTO)),B(b.default,{className:w.default.marginTop20,value:t,onChange:m},void 0,L.default.Messages.ACCESSIBILITY_PREFERS_REDUCED_MOTION_ENABLE),B(b.default,{className:w.default.marginBottom40,value:i,note:null!=s?(0,_.default)(s):void 0,onChange:h},void 0,L.default.Messages.GIF_AUTO_PLAY_LABEL),B(b.default,{className:(0,o.default)(w.default.marginTop8,w.default.marginBottom20),value:d,note:null!=p?(0,_.default)(p):void 0,onChange:g},void 0,L.default.Messages.ANIMATE_EMOJI))}Y.displayName="UserSettingsAccessibilityReducedMotion";var z=B(Y,{});function K(){var e=(0,l.useStateFromStoresObject)([E.default],(function(){return{animateStickers:E.default.animateStickers,animateStickersOverrideReason:E.default.getAppliedOverrideReasonKey("animateStickers")}})),t=e.animateStickers,n=e.animateStickersOverrideReason,r=a.useCallback((function(e){u.default.updateRemoteSettings({animateStickers:e.value})}),[]);return B(M.FormItem,{className:w.default.marginBottom40,title:L.default.Messages.STICKERS_AUTO_PLAY_HEADING},void 0,B(M.FormText,{type:M.FormText.Types.DESCRIPTION,className:w.default.marginBottom8},void 0,null!=n?(0,_.default)(n):L.default.Messages.STICKERS_AUTO_PLAY_HELP),B(T.default,{options:[{name:L.default.Messages.STICKERS_ALWAYS_ANIMATE,value:h.StickerAnimationSettings.ALWAYS_ANIMATE},{name:L.default.Messages.STICKERS_ANIMATE_ON_INTERACTION,desc:L.default.Messages.STICKERS_ANIMATE_ON_INTERACTION_DESCRIPTION,value:h.StickerAnimationSettings.ANIMATE_ON_INTERACTION},{name:L.default.Messages.STICKERS_NEVER_ANIMATE,value:h.StickerAnimationSettings.NEVER_ANIMATE}],onChange:r,value:t}))}K.displayName="UserSettingsAccessibilityStickers";var $=B(K,{});function Z(){var e=(0,l.useStateFromStores)([E.default],(function(){return E.default.enableTTSCommand})),t=a.useCallback((function(e){u.default.updateRemoteSettings({enableTTSCommand:e})}),[]);return d.supported?B(M.FormSection,{},void 0,B(M.FormTitle,{className:w.default.marginBottom8},void 0,L.default.Messages.FORM_LABEL_TTS),B(b.default,{className:w.default.marginTop8,value:e,onChange:t},void 0,L.default.Messages.ALLOW_TTS_COMMAND)):null}var q=B(Z,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){switch(e){case a.SettingsOverrideReasonKeys.REDUCED_MOTION:return o.default.Messages.ACCESSIBILITY_REDUCED_MOTION_SETTINGS_OVERRIDE.format();case a.SettingsOverrideReasonKeys.REDUCED_MOTION_STICKERS:return o.default.Messages.STICKERS_AUTO_PLAY_HELP_DISABLED;default:return}};var r,a=n(1271),o=(r=n(6))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=k(n(0)),o=w(n(9)),i=n(3),l=w(n(9242)),u=n(1171),s=w(n(8316)),d=w(n(8650)),f=w(n(10482)),c=n(8277),p=w(n(8264)),v=w(n(11575)),y=w(n(11576)),m=w(n(11579)),_=w(n(15)),h=w(n(10233)),E=w(n(160)),g=w(n(39)),S=w(n(12)),O=k(n(29)),I=w(n(55)),T=n(131),C=n(466),b=n(41),M=w(n(24)),N=w(n(5994)),A=w(n(11580)),P=n(1),R=w(n(6)),L=w(n(7902)),D=w(n(370));function w(e){return e&&e.__esModule?e:{default:e}}function j(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return j=function(){return e},e}function k(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=j();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function U(){return(U=Object.assign||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}).apply(this,arguments)}function G(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var B=G(y.default,{}),H=G(s.default,{}),x=function(e){var t,r;function i(t){var n;return(n=e.call(this,t)||this).state={disableAccountErrorMessage:null,shouldRenderOwnedGuildsModal:!1,shouldRenderDeleteAccountConfirmModal:!1,shouldRenderDisableAccountErrorModal:!1},n}r=e,(t=i).prototype=Object.create(r.prototype),t.prototype.constructor=t,F(t,r);var s=i.prototype;return s.componentDidMount=function(){var e=this.props.currentUser;(0,p.default)(e.id,e.getAvatarURL(void 0))},s.componentWillUnmount=function(){l.default.clearBackupCodes(),(0,u.accountDetailsClose)()},s.renderAccountWarning=function(){var e=this.props.currentUser;if(!e.isClaimed()){var t=G("section",{},void 0,G("div",{className:L.default.accountWarningBodyText},void 0,R.default.Messages.UNCLAIMED_ACCOUNT_BODY_2),G(O.default,{look:O.ButtonLooks.INVERTED,size:O.ButtonSizes.SMALL,color:O.default.Colors.RED,onClick:function(){return f.default.openClaimAccountModal()}},void 0,R.default.Messages.CLAIM_ACCOUNT_LONG));return G(T.FormNotice,{type:T.FormNotice.Types.DANGER,className:D.default.marginBottom20,imageData:{src:n(11592),width:60,height:60},title:R.default.Messages.UNCLAIMED_ACCOUNT_TITLE,body:t})}if(null==e.email)return null;if(!e.verified){var r=G("section",{},void 0,G("div",{className:L.default.accountWarningBodyText},void 0,R.default.Messages.USER_SETTINGS_UNVERIFIED_EMAIL_BODY),G(N.default,{size:O.ButtonSizes.SMALL,color:O.default.Colors.PRIMARY}));return G(T.FormNotice,{type:T.FormNotice.Types.PRIMARY,className:D.default.marginBottom20,imageData:{src:n(11593),width:60,height:60},title:R.default.Messages.UNVERIFIED_EMAIL_TITLE,body:r})}},s.renderAccountSettings=function(){return G(T.FormSection,{tag:T.FormTitleTags.H1,title:R.default.Messages.USER_SETTINGS_MY_ACCOUNT,className:L.default.userSettingsAccount},void 0,this.renderAccountWarning(),B)},s.renderSecuritySettings=function(){var e=this.props,t=e.backupCodes,r=e.currentUser,i=e.theme===P.ThemeTypes.DARK?n(11594):n(11595);return G(T.FormSection,{className:(0,o.default)(L.default.userSettingsSecurity,D.default.marginTop40),title:R.default.Messages.USER_SETTINGS_ACCOUNT_PASSWORD_AND_AUTHENTICATION,tag:T.FormTitle.Tags.H1},void 0,G("div",{},void 0,G(O.default,{size:O.default.Sizes.SMALL,className:L.default.changePasswordButton,onClick:function(){return(0,b.openModal)((function(e){return a.createElement(m.default,e)}))}},void 0,R.default.Messages.CHANGE_PASSWORD)),G(I.default,{align:I.default.Align.STRETCH},void 0,G(I.default.Child,{wrap:!0},void 0,G(A.default,{backupCodes:t})),r.mfaEnabled?null:G(I.default,{align:I.default.Align.CENTER,basis:"323px",grow:0},void 0,G("img",{src:i,className:L.default.userSettingsSecurityImage,alt:""}))))},s.renderConfirmModals=function(){var e=this,t=this.state,n=t.shouldRenderOwnedGuildsModal,r=t.shouldRenderDeleteAccountConfirmModal,a=t.shouldRenderDisableAccountErrorModal,o=t.disableAccountErrorMessage;if(n){var i=function(){return e.setState({shouldRenderOwnedGuildsModal:!1})};return G(C.DeclarativeConfirmModal,{dismissable:!0,header:R.default.Messages.DELETE_ACCOUNT_TRANSFER_OWNERSHIP,confirmText:R.default.Messages.OKAY,confirmButtonColor:O.ButtonColors.BRAND,onCancel:i,onConfirm:i},void 0,G(M.default,{size:M.default.Sizes.SIZE_16},void 0,R.default.Messages.DELETE_ACCOUNT_TRANSFER_OWNERSHIP_BODY))}if(r){var l=function(){return e.setState({shouldRenderDeleteAccountConfirmModal:!1})};return G(C.DeclarativeConfirmModal,{dismissable:!0,header:R.default.Messages.DELETE_ACCOUNT,confirmText:R.default.Messages.DELETE_ACCOUNT,cancelText:R.default.Messages.CANCEL,onCancel:l,onConfirm:function(){return(0,u.disableAccount)("",!0).then(l)}},void 0,G(M.default,{size:M.default.Sizes.SIZE_16},void 0,R.default.Messages.DELETE_ACCOUNT_BODY))}if(a){var s=function(){return e.setState({shouldRenderDisableAccountErrorModal:!1,disableAccountErrorMessage:null})};return G(C.DeclarativeConfirmModal,{dismissable:!0,header:R.default.Messages.DELETE_ACCOUNT_ERROR,confirmText:R.default.Messages.OKAY,confirmButtonColor:O.ButtonColors.BRAND,onCancel:s,onConfirm:s},void 0,G(M.default,{size:M.default.Sizes.SIZE_16},void 0,o))}},s.render=function(){var e=this;if(this.props.hide)return H;var t=this.props.currentUser;return G("div",{},void 0,this.renderConfirmModals(),this.renderAccountSettings(),t.isClaimed()?a.createElement(a.Fragment,null,G(T.FormDivider,{className:D.default.marginTop40}),this.renderSecuritySettings(),G(T.FormDivider,{className:D.default.marginTop40})):null,G(v.default,{className:D.default.marginTop40,currentUser:t,handleDisableAccount:function(){return e.handleDisableAccount(!1)},handleDeleteAccount:function(){return e.handleDisableAccount(!0)}}))},s.handleDisableAccountError=function(e){if(e.body.code===P.AbortCodes.INVALID_PASSWORD)throw e;this.setState({shouldRenderDisableAccountErrorModal:!0,disableAccountErrorMessage:e.body.message})},s.handleSubmitDisableAccount=function(e,t){return(0,u.disableAccount)(e,t).then(P.NOOP,this.handleDisableAccountError)},s.handleDisableAccount=function(e){var t=this;void 0===e&&(e=!1);var n=this.props.currentUser,r=_.default.getGuilds();Object.keys(r).filter((function(e){return r[e].ownerId===n.id})).length>0?this.setState({shouldRenderOwnedGuildsModal:!0}):n.isClaimed()?(0,b.openModal)((function(n){return a.createElement(d.default,U({},n,{handleSubmit:function(n){return t.handleSubmitDisableAccount(n,e)},title:e?R.default.Messages.DELETE_ACCOUNT:R.default.Messages.DISABLE_ACCOUNT,actionText:e?R.default.Messages.DELETE_ACCOUNT:R.default.Messages.DISABLE_ACCOUNT}),e?R.default.Messages.DELETE_ACCOUNT_BODY:R.default.Messages.DISABLE_ACCOUNT_BODY)})):this.setState({shouldRenderDeleteAccountConfirmModal:!0})},i}(a.PureComponent);x.displayName="UserSettingsAccount";var V=function(){var e=(0,i.useStateFromStores)([S.default],(function(){return S.default.getCurrentUser()})),t=(0,i.useStateFromStores)([h.default],(function(){return h.default.getBackupCodes()})),n=(0,i.useStateFromStores)([E.default],(function(){return E.default.hidePersonalInformation})),r=(0,i.useStateFromStores)([g.default],(function(){return g.default.theme})),a=(0,i.useStateFromStores)([c.HotspotStore],(function(){return c.HotspotStore.hasHotspot(c.HotspotLocations.PROFILE_CUSTOMIZATION_SETTINGS_BADGE)}));return G(x,{currentUser:e,backupCodes:t,hide:n,theme:r,showNewBadge:a})};V.displayName="ConnectedUserAccountSettings";var W=V;t.default=W},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;d(n(0));var r,a=d(n(29)),o=n(131),i=u(n(6)),l=u(n(8140));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.className,n=e.currentUser,r=e.handleDisableAccount,u=e.handleDeleteAccount,s=n.isClaimed();return f(o.FormSection,{className:t,title:i.default.Messages.USER_SETTINGS_ACCOUNT_REMOVAL_SECTION},void 0,f(o.FormText,{className:l.default.description,type:o.FormText.Types.DESCRIPTION},void 0,s?i.default.Messages.USER_SETTINGS_ACCOUNT_REMOVAL_DESCRIPTION:i.default.Messages.USER_SETTINGS_ACCOUNT_REMOVAL_DESCRIPTION_UNCLAIMED),f("div",{className:l.default.buttonContainer},void 0,s?f(a.default,{className:l.default.disableButton,look:a.ButtonLooks.FILLED,color:a.ButtonColors.RED,size:a.ButtonSizes.SMALL,onClick:r},void 0,i.default.Messages.DISABLE_ACCOUNT):null,f(a.default,{look:a.ButtonLooks.OUTLINED,color:a.ButtonColors.RED,size:a.ButtonSizes.SMALL,onClick:u},void 0,i.default.Messages.DELETE_ACCOUNT)))}c.displayName="UserSettingsAccountDisableAccountSection"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=J;var r,a=H(n(0)),o=F(n(9)),i=n(3),l=F(n(473)),u=F(n(8300)),s=F(n(8650)),d=F(n(8447)),f=F(n(10482)),c=F(n(8258)),p=F(n(8253)),v=F(n(5834)),y=n(5831),m=F(n(8363)),_=H(n(8822)),h=H(n(8827)),E=F(n(5956)),g=F(n(39)),S=F(n(12)),O=F(n(29)),I=F(n(61)),T=F(n(278)),C=n(131),b=F(n(8331)),M=n(41),N=H(n(279)),A=F(n(24)),P=F(n(13)),R=n(1163),L=F(n(43)),D=n(11577),w=F(n(5995)),j=F(n(11578)),k=n(1),U=F(n(6)),G=F(n(8142));function F(e){return e&&e.__esModule?e:{default:e}}function B(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return B=function(){return e},e}function H(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=B();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function x(){return(x=Object.assign||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}).apply(this,arguments)}function V(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var W=L.default.getEnableHardwareAcceleration()?N.AnimatedAvatar:N.default;function Y(e){var t=e.className,n=e.user,r=a.useRef(null),i=null!=r.current&&r.current.scrollWidth>r.current.clientWidth;return V("div",{className:(0,o.default)(G.default.field,t)},void 0,V("div",{className:G.default.constrainedRow},void 0,V("div",{className:G.default.usernameRow},void 0,V(C.FormTitle,{className:G.default.fieldTitle},void 0,U.default.Messages.USER_SETTINGS_LABEL_USERNAME),a.createElement("div",{className:G.default.usernameInnerRow,ref:r},V(A.default,{tag:"span",color:A.default.Colors.HEADER_PRIMARY,size:A.default.Sizes.SIZE_16},void 0,n.username),V(A.default,{tag:"span",color:A.default.Colors.HEADER_SECONDARY,size:A.default.Sizes.SIZE_16},void 0,"#",n.discriminator)))),V(O.default,{className:G.default.fieldButton,size:O.default.Sizes.SMALL,color:O.default.Colors.GREY,onClick:function(){return(0,M.openModal)((function(e){return a.createElement(j.default,e)}))}},void 0,i?U.default.Messages.DISAPPROVAL:U.default.Messages.EDIT))}function z(e){var t=e.text,n=e.censor,r=a.useState(!1),o=r[0],i=r[1],l=o?t:n(t);return a.createElement(a.Fragment,null,l,V(O.default,{look:O.default.Looks.LINK,size:O.default.Sizes.MIN,color:O.default.Colors.LINK,onClick:function(){return i(!o)}},void 0,o?U.default.Messages.HIDE:U.default.Messages.REVEAL))}function K(e){var t,n=e.className,r=e.user;if(r.isClaimed())if(null==r.email)t={buttonText:U.default.Messages.ADD,buttonColor:O.default.Colors.GREY,valueMessage:U.default.Messages.USER_SETTINGS_NO_EMAIL_PLACEHOLDER,handleClick:function(){return(0,M.openModal)((function(e){return a.createElement(w.default,e)}))}};else{var i=r.email;t={buttonText:U.default.Messages.EDIT,buttonColor:O.default.Colors.GREY,valueMessage:V(z,{text:i,censor:D.censorEmail}),handleClick:function(){return(0,M.openModal)((function(e){return a.createElement(w.default,e)}))}}}else t={buttonText:U.default.Messages.CLAIM_ACCOUNT_SHORT,buttonColor:O.default.Colors.BRAND,valueMessage:U.default.Messages.USER_SETTINGS_ADD_EMAIL_CLAIM,handleClick:function(){return f.default.openClaimAccountModal()}};return V("div",{className:(0,o.default)(G.default.field,n)},void 0,V("div",{className:G.default.constrainedRow},void 0,V("div",{},void 0,V(C.FormTitle,{className:G.default.fieldTitle},void 0,U.default.Messages.USER_SETTINGS_LABEL_EMAIL),V("div",{},void 0,V(A.default,{tag:"span",color:A.default.Colors.HEADER_PRIMARY,size:A.default.Sizes.SIZE_16},void 0,t.valueMessage)))),V(O.default,{className:G.default.fieldButton,size:O.default.Sizes.SMALL,color:t.buttonColor,onClick:t.handleClick},void 0,t.buttonText))}function $(e){var t=e.className,n=e.user;if(!n.isClaimed())return null;var r,i=n.phone,l=n.email;return r=null==i?U.default.Messages.USER_SETTINGS_NO_PHONE_PLACEHOLDER:V(z,{text:i,censor:D.censorPhone}),V("div",{className:(0,o.default)(G.default.field,t)},void 0,V("div",{className:G.default.constrainedRow},void 0,V("div",{},void 0,V(C.FormTitle,{className:G.default.fieldTitle},void 0,U.default.Messages.USER_SETTINGS_LABEL_PHONE_NUMBER),V("div",{},void 0,V(A.default,{tag:"span",color:A.default.Colors.HEADER_PRIMARY,size:A.default.Sizes.SIZE_16},void 0,r)))),V("div",{className:G.default.fieldButtonList},void 0,null!=i&&null!=l?V(O.default,{className:(0,o.default)(G.default.fieldButton,G.default.removeButton),size:O.default.Sizes.SMALL,look:O.default.Looks.LINK,color:O.default.Colors.PRIMARY,onClick:function(){(0,M.openModal)((function(e){return a.createElement(s.default,x({},e,{title:U.default.Messages.USER_SETTINGS_ACCOUNT_REMOVE_PHONE_NUMBER_TITLE,children:n.hasFlag(k.UserFlags.MFA_SMS)?U.default.Messages.USER_SETTINGS_ACCOUNT_REMOVE_PHONE_SMS_BACKUP_WARNING:void 0,actionText:U.default.Messages.REMOVE,handleSubmit:v.default.removePhone}))}))}},void 0,U.default.Messages.REMOVE):null,V(O.default,{className:G.default.fieldButton,size:O.default.Sizes.SMALL,color:O.default.Colors.GREY,onClick:function(){(0,M.openModal)((function(e){return a.createElement(d.default,e)}),{modalKey:y.PHONE_VERIFICATION_MODAL_KEY})}},void 0,null==i?U.default.Messages.ADD:U.default.Messages.EDIT)))}function Z(e){var t=e.user,n=(0,c.default)(t.id);return(0,i.useStateFromStores)([g.default],(function(){return g.default.developerMode}))&&R.SUPPORTS_COPY?V(T.default,{renderPopout:function(e){var t=e.closePopout;return V(p.default,{onClose:t,onSelect:void 0,navId:"copy-id","aria-label":U.default.Messages.COPY_ID},void 0,n)}},void 0,(function(e){return a.createElement(I.default,x({className:G.default.overflowMenuButton},e),V(b.default,{className:G.default.overflowMenuIcon,height:24,width:24}))})):null}function q(){l.default.setSection(k.UserSettingsSections.PROFILE_CUSTOMIZATION)}function X(){P.default.track(k.AnalyticEvents.PREMIUM_PROMOTION_OPENED,{location_page:k.AnalyticsPages.USER_SETTINGS,location_section:k.AnalyticsSections.SETTINGS_ACCOUNT,location_object:k.AnalyticsObjects.TOOLTIP}),l.default.setSection(k.UserSettingsSections.PREMIUM)}function J(){var e,t=(0,i.useStateFromStores)([S.default],(function(){return S.default.getCurrentUser()})),n=(0,i.useStateFromStores)([m.default],(function(){return m.default.getUserProfile(t.id)})),r=(0,i.useStateFromStores)([g.default],(function(){return g.default.status})),a=(0,i.useStateFromStores)([E.default],(function(){return E.default.getErrors()})),o=null==a||null===(e=a.avatar)||void 0===e?void 0:e[0];return V("div",{className:G.default.accountProfileCard},void 0,V(_.default,{user:t,allowEdit:!1,guildId:void 0,bannerType:_.UserBannerTypes.SETTINGS}),V("div",{className:G.default.userInfo},void 0,V(W,{className:G.default.avatar,src:t.getAvatarURL(void 0,!0),status:r,size:N.default.Sizes.SIZE_80,"aria-label":t.username}),V("div",{},void 0,V("div",{className:G.default.profileCardUsernameRow},void 0,V(u.default,{user:t,className:G.default.userTag,discriminatorClass:G.default.discriminator}),V(Z,{user:t})),V(h.default,{user:t,premiumSince:null==n?void 0:n.premiumSince,premiumGuildSince:null==n?void 0:n.premiumGuildSince,size:h.BadgeSizes.SIZE_22,openPremiumSettings:X})),V(O.default,{onClick:q,size:O.default.Sizes.SMALL},void 0,U.default.Messages.USER_SETTINGS_EDIT_PROFILE)),V("div",{className:G.default.background},void 0,null!=o?V(A.default,{className:G.default.avatarError,size:A.default.Sizes.SIZE_12,color:A.default.Colors.STATUS_RED},void 0,o):null,V("div",{className:G.default.fieldList},void 0,V(Y,{user:t}),V(K,{className:G.default.fieldSpacer,user:t}),V($,{className:G.default.fieldSpacer,user:t}))))}Y.displayName="EditUsernameRow",K.displayName="EditEmailRow",$.displayName="EditPhoneRow",Z.displayName="CopyUserIdMenu",J.displayName="UserSettingsAccountProfileCard"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.censorPhone=function(e){return""+"*".repeat(e.length-4)+e.slice(-4)},t.censorEmail=function(e){var t=e.split("@"),n=t[0],r=t[1];return"*".repeat(n.length)+"@"+r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=D;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=N(n(9)),i=N(n(378)),l=n(3),u=n(1171),s=N(n(473)),d=N(n(5956)),f=N(n(12)),c=N(n(29)),p=N(n(61)),v=N(n(153)),y=N(n(149)),m=n(85),_=n(131),h=N(n(8745)),E=n(35),g=n(217),S=N(n(24)),O=N(n(13)),I=N(n(96)),T=n(1),C=N(n(6)),b=N(n(8141)),M=N(n(1244));function N(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function P(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function R(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function L(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){R(o,r,a,i,l,"next",e)}function l(e){R(o,r,a,i,l,"throw",e)}i(void 0)}))}}function D(e){var t,n,r=e.transitionState,N=e.onClose,A=(0,m.useUID)(),R=(0,l.useStateFromStores)([f.default],(function(){return f.default.getCurrentUser()})),D=a.useMemo((function(){return I.default.canEditDiscriminator(R)}),[R]),w=a.useState(!1),j=w[0],k=w[1],U=a.useState(R.username),G=U[0],F=U[1],B=a.useState(R.discriminator),H=B[0],x=B[1],V=a.useState(""),W=V[0],Y=V[1],z=a.useState(!1),K=z[0],$=z[1],Z=(0,l.useStateFromStores)([d.default],(function(){return d.default.getErrors()})),q=a.useRef(null),X=a.useMemo((function(){var e,t,n;return null!==(e=null==Z||null===(t=Z.username)||void 0===t?void 0:t[0])&&void 0!==e?e:null==Z||null===(n=Z.discriminator)||void 0===n?void 0:n[0]}),[Z]);a.useEffect((function(){var e;r===g.ModalTransitionState.ENTERED&&(null===(e=q.current)||void 0===e||e.focus())}),[r]);var J=H!==R.discriminator;function Q(){return(Q=L(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),$(!0),e.next=4,(0,u.saveAccountChanges)({username:G,discriminator:D?H:void 0,password:W});case 4:n=e.sent,$(!1),(null==n?void 0:n.ok)&&N();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var ee=a.useMemo((function(){return(0,i.default)(k,50)}),[]),te=a.useCallback((function(){O.default.track(T.AnalyticEvents.PREMIUM_PROMOTION_OPENED,{location_page:T.AnalyticsPages.USER_SETTINGS,location_section:T.AnalyticsSections.SETTINGS_ACCOUNT,location_object:T.AnalyticsObjects.TOOLTIP}),s.default.setSection(T.UserSettingsSections.PREMIUM),N()}),[N]);return P(E.ModalRoot,{transitionState:r,"aria-labelledby":A},void 0,P(E.ModalHeader,{id:A,separator:!1,className:b.default.header},void 0,P(S.default,{color:S.default.Colors.HEADER_PRIMARY,size:S.default.Sizes.SIZE_24,className:b.default.title},void 0,C.default.Messages.USER_SETTINGS_ACCOUNT_CHANGE_USERNAME_TITLE_DESKTOP),P(S.default,{color:S.default.Colors.HEADER_SECONDARY,size:S.default.Sizes.SIZE_16,className:b.default.subtitle},void 0,C.default.Messages.USER_SETTINGS_ACCOUNT_CHANGE_USERNAME_PROMPT_DESKTOP),P(E.ModalCloseButton,{onClick:N,className:b.default.modalCloseButton})),P("form",{onSubmit:function(e){return Q.apply(this,arguments)}},void 0,P(E.ModalContent,{className:b.default.content},void 0,P(_.FormItem,{title:C.default.Messages.FORM_LABEL_USERNAME,error:X},void 0,P("div",{className:(0,o.default)(M.default.input,b.default.multiInput,(t={},t[M.default.error]=null!=X,t[M.default.focused]=j,t))},void 0,P(v.default,{name:"username","aria-label":C.default.Messages.USER_SETTINGS_LABEL_USERNAME,value:G,onChange:F,onFocus:function(){return ee(!0)},onBlur:function(){return ee(!1)},inputRef:q,className:b.default.multiInputFirst,inputClassName:b.default.multiInputField}),P(v.default,{name:"discriminator","aria-label":C.default.Messages.USER_SETTINGS_LABEL_DISCRIMINATOR,maxLength:4,value:H,onChange:x,onFocus:function(){return ee(!0)},onBlur:function(){return ee(!1)},inputPrefix:"#",disabled:!D,className:b.default.multiInputLast,inputClassName:b.default.multiInputField}),D?null:P(y.default,{text:C.default.Messages.PREMIUM_CHANGE_DISCRIMINATOR_TOOLTIP,position:y.default.Positions.BOTTOM},void 0,(function(e){var t=e.onMouseEnter,n=e.onMouseLeave;return P(p.default,{"aria-label":C.default.Messages.PREMIUM_CHANGE_DISCRIMINATOR_TOOLTIP,tag:"span",className:b.default.questionMark,onClick:te,onMouseEnter:t,onMouseLeave:n},void 0,P(h.default,{className:b.default.icon,"aria-hidden":!0}))})))),J?P(S.default,{size:S.default.Sizes.SIZE_12,color:S.default.Colors.HEADER_SECONDARY,className:b.default.discriminatorChangeWarning},void 0,C.default.Messages.PREMIUM_CHANGE_DISCRIMINATOR_WARNING):null,P(_.FormItem,{className:b.default.password,title:C.default.Messages.USER_SETTINGS_LABEL_CURRENT_PASSWORD,error:null==Z||null===(n=Z.password)||void 0===n?void 0:n[0]},void 0,P(v.default,{type:"password",value:W,onChange:Y}))),P(E.ModalFooter,{},void 0,P(c.default,{type:"submit",color:c.default.Colors.BRAND,size:c.default.Sizes.MEDIUM,submitting:K},void 0,C.default.Messages.DONE),P(c.default,{className:b.default.cancel,look:c.default.Looks.LINK,color:c.default.Colors.PRIMARY,onClick:N},void 0,C.default.Messages.CANCEL))))}D.displayName="ChangeUsernameModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=O;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(1171),l=_(n(5956)),u=_(n(29)),s=_(n(153)),d=n(85),f=n(131),c=n(35),p=n(217),v=_(n(24)),y=_(n(6)),m=_(n(8143));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function S(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){g(o,r,a,i,l,"next",e)}function l(e){g(o,r,a,i,l,"throw",e)}i(void 0)}))}}function O(e){var t,n,r=e.transitionState,_=e.onClose,h=(0,d.useUID)(),g=a.useState(""),O=g[0],I=g[1],T=a.useState(""),C=T[0],b=T[1],M=a.useState(!1),N=M[0],A=M[1],P=(0,o.useStateFromStores)([l.default],(function(){return l.default.getErrors()})),R=a.useRef(null);function L(){return(L=S(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),A(!0),e.next=4,(0,i.saveAccountChanges)({password:O,newPassword:C});case 4:n=e.sent,A(!1),(null==n?void 0:n.ok)&&_();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return a.useEffect((function(){var e;r===p.ModalTransitionState.ENTERED&&(null===(e=R.current)||void 0===e||e.focus(),A(!1))}),[r]),E(c.ModalRoot,{transitionState:r,"aria-labelledby":h},void 0,E(c.ModalHeader,{id:h,separator:!1,className:m.default.header},void 0,E(v.default,{color:v.default.Colors.HEADER_PRIMARY,size:v.default.Sizes.SIZE_24,className:m.default.title},void 0,y.default.Messages.USER_SETTINGS_ACCOUNT_CHANGE_PASSWORD_TITLE_DESKTOP),E(v.default,{color:v.default.Colors.HEADER_SECONDARY,size:v.default.Sizes.SIZE_16,className:m.default.subtitle},void 0,y.default.Messages.USER_SETTINGS_ACCOUNT_CHANGE_PASSWORD_PROMPT_DESKTOP),E(c.ModalCloseButton,{onClick:_,className:m.default.modalCloseButton})),E("form",{onSubmit:function(e){return L.apply(this,arguments)}},void 0,E(c.ModalContent,{className:m.default.content},void 0,E(f.FormItem,{title:y.default.Messages.FORM_LABEL_CURRENT_PASSWORD,error:null==P||null===(t=P.password)||void 0===t?void 0:t[0]},void 0,E(s.default,{type:"password",value:O,onChange:I,inputRef:R})),E(f.FormItem,{className:m.default.newPassword,title:y.default.Messages.FORM_LABEL_NEW_PASSWORD,error:null==P||null===(n=P.new_password)||void 0===n?void 0:n[0]},void 0,E(s.default,{type:"password",value:C,onChange:b}))),E(c.ModalFooter,{},void 0,E(u.default,{type:"submit",color:u.default.Colors.BRAND,size:u.default.Sizes.MEDIUM,submitting:N},void 0,y.default.Messages.DONE),E(u.default,{className:m.default.cancel,look:u.default.Looks.LINK,color:u.default.Colors.PRIMARY,onClick:_},void 0,y.default.Messages.CANCEL))))}O.displayName="ChangePasswordModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=L(n(0)),o=P(n(9)),i=P(n(3)),l=P(n(9242)),u=P(n(10483)),s=P(n(11584)),d=P(n(11589)),f=P(n(8650)),c=P(n(8447)),p=n(5831),v=n(11590),y=P(n(10233)),m=P(n(12)),_=P(n(271)),h=L(n(29)),E=P(n(1160)),g=P(n(61)),S=P(n(55)),O=n(131),I=n(41),T=n(10484),C=n(1163),b=n(1),M=P(n(6)),N=P(n(7902)),A=P(n(370));function P(e){return e&&e.__esModule?e:{default:e}}function R(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return R=function(){return e},e}function L(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=R();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function D(){return(D=Object.assign||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}).apply(this,arguments)}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function k(e){var t=e.code,n=t.code,r=t.consumed,o=n.substr(0,4)+"-"+n.substr(4),i=a.useRef(null),l=a.useCallback((function(e){var t;"c"===e.key&&e.metaKey&&C.SUPPORTS_COPY&&(e.preventDefault(),e.stopPropagation(),(0,C.copy)(o),null==i||null===(t=i.current)||void 0===t||t.focus())}),[o]);return j("li",{className:A.default.marginBottom20},void 0,j(g.default,{innerRef:i,className:N.default.backupCode,onKeyDown:l},void 0,j(E.default,{displayOnly:!0,readOnly:!0,className:N.default.codeCheckbox,value:r},void 0,j("span",{className:N.default.code},void 0,o))))}k.displayName="BackupCodeItem";var U=function(e){var t,r;function i(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={revealed:!1,password:""},t.togglePhoneNumberVisibility=function(e){e.preventDefault(),t.setState({revealed:!t.state.revealed})},t.handlePasswordChange=function(e){t.setState({password:e})},t.handleEnableMFA=function(){(0,I.openModal)((function(e){return a.createElement(f.default,D({},e,{handleSubmit:function(e){return l.default.enableMFAStart(e)},onError:function(n){n.code===b.AbortCodes.MFA_INVALID_SECRET&&(e.onClose(),(0,I.openModal)((function(e){return a.createElement(s.default,D({},e,{password:t.state.password,handleEnableMFASuccess:t.handleEnableMFASuccess}))})))},onPasswordChange:t.handlePasswordChange,title:M.default.Messages.TWO_FA_ENABLE,actionText:M.default.Messages.CONTINUE}))}))},t.handleEnableMFASuccess=function(){(0,I.openModal)((function(e){return a.createElement(d.default,e)}),{onCloseRequest:b.NOOP_NULL})},t.handleDisableMFA=function(){l.default.disable()},t.generateBackupCodes=function(){(0,I.openModal)((function(e){return a.createElement(f.default,D({},e,{handleSubmit:function(e){return l.default.viewBackupCodes(e,!0)},title:M.default.Messages.TWO_FA_GENERATE_CODES,actionText:M.default.Messages.TWO_FA_GENERATE_CODES}),M.default.Messages.TWO_FA_GENERATE_CODES_CONFIRM_TEXT)}))},t.viewBackupCodes=function(){(0,I.openModal)((function(e){return a.createElement(f.default,D({},e,{handleSubmit:function(e){return l.default.viewBackupCodes(e)},title:M.default.Messages.TWO_FA_VIEW_BACKUP_CODES,actionText:M.default.Messages.TWO_FA_VIEW_CODES}))}))},t.getDownloadFileContents=function(){var e=t.props.backupCodes.map((function(e){var t=e.consumed,n=e.code;return"* "+n.substr(0,4)+"-"+n.substr(4)+" "+(t?"(used)":"")})).join("\r\n");return M.default.Messages.TWO_FA_DISCORD_BACKUP_CODES.format({email:t.props.currentUser.email})+"\r\n\r\n"+e},t.handleChangePhoneNumber=function(){t.openPhoneVerificationModal()},t.handleEnableSMS=function(){var e=function(){(0,I.openModal)((function(e){return a.createElement(f.default,D({},e,{handleSubmit:l.default.enableSMS,title:M.default.Messages.MFA_SMS_ENABLE}))}))};null==t.props.currentUser.phone?t.openPhoneVerificationModal({onAddedPhone:e}):e()},t.handleDisableSMS=function(){(0,I.openModal)((function(e){return a.createElement(f.default,D({},e,{handleSubmit:l.default.disableSMS,title:M.default.Messages.MFA_SMS_REMOVE}),M.default.Messages.MFA_SMS_CONFIRM_REMOVE_BODY)}))},t}r=e,(t=i).prototype=Object.create(r.prototype),t.prototype.constructor=t,w(t,r);var y=i.prototype;return y.maskPhoneNumber=function(e){return null==e?"":""+"*".repeat(e.length-4)+e.slice(-4)},y.renderMFASMS=function(){var e,t,n=this.state.revealed,r=this.props,a=r.currentUser,o=r.togglingSMS,i=null!=a.phone,l=a.hasFlag(b.UserFlags.MFA_SMS);if(i||l){var u=n?a.phone:this.maskPhoneNumber(a.phone);t=j(O.FormText,{type:O.FormText.Types.DESCRIPTION,className:A.default.marginBottom8},void 0,M.default.Messages.MFA_SMS_AUTH_CURRENT_PHONE.format({phoneNumber:u}),j(_.default,{onClick:this.togglePhoneNumberVisibility,className:N.default.phoneRevealer},void 0,n?M.default.Messages.MFA_SMS_PHONE_NUMBER_HIDE:M.default.Messages.MFA_SMS_PHONE_NUMBER_REVEAL))}if(l)e=j(S.default,{className:i?"":A.default.marginTop8},void 0,j(h.default,{color:h.default.Colors.RED,look:h.default.Looks.OUTLINED,size:h.default.Sizes.SMALL,submitting:o,onClick:this.handleDisableSMS},void 0,M.default.Messages.MFA_SMS_REMOVE));else{var s=(0,v.getSMSBackupDisabledMessage)(a);e=j(S.default,{className:i?"":A.default.marginTop8},void 0,j(h.default,{onClick:this.handleEnableSMS,size:h.default.Sizes.SMALL,submitting:o,disabled:null!=s},void 0,null!=s?s:M.default.Messages.MFA_SMS_ENABLE),i?j(h.default,{onClick:this.handleChangePhoneNumber,color:h.default.Colors.PRIMARY,size:h.default.Sizes.SMALL,look:h.default.Looks.LINK},void 0,M.default.Messages.CHANGE_PHONE_NUMBER):null)}return j(O.FormSection,{className:A.default.marginTop40,title:M.default.Messages.MFA_SMS_AUTH},void 0,j(O.FormText,{type:O.FormText.Types.DESCRIPTION},void 0,M.default.Messages.MFA_SMS_AUTH_SALES_PITCH),t,e)},y.renderEnabled=function(){var e,t=this.props.backupCodes,r=j(h.default,{onClick:this.viewBackupCodes,size:h.default.Sizes.SMALL},void 0,M.default.Messages.TWO_FA_VIEW_BACKUP_CODES);if(t.length){r=j(u.default,{fileContents:this.getDownloadFileContents,contentType:"text/plain",fileName:"discord_backup_codes.txt",className:(0,o.default)(N.default.btn,N.default.btnPrimary)},void 0,j(h.default,{size:h.default.Sizes.SMALL},void 0,M.default.Messages.TWO_FA_DOWNLOAD_CODES));var a=function(e){return e.map((function(e){return j(k,{code:e},e.code)}))};e=j(O.FormSection,{title:M.default.Messages.TWO_FA_BACKUP_CODES_LABEL},void 0,j(O.FormText,{type:O.FormText.Types.DESCRIPTION,className:A.default.marginBottom20},void 0,M.default.Messages.TWO_FA_BACKUP_CODES_BODY.format()),j(S.default,{},void 0,j(S.default.Child,{},void 0,j("ul",{className:N.default.checkboxGroup},void 0,a(t.slice(0,t.length/2)))),j(S.default.Child,{},void 0,j("ul",{className:N.default.checkboxGroup},void 0,a(t.slice(t.length/2))))),j("div",{},void 0,j(h.default,{onClick:this.generateBackupCodes,look:h.ButtonLooks.LINK,size:h.ButtonSizes.MIN},void 0,M.default.Messages.TWO_FA_GENERATE_CODES)),j(O.FormDivider,{className:A.default.marginTop20}))}return j(O.FormSection,{},void 0,j(O.FormTitle,{className:(0,o.default)(N.default.isEnabled,A.default.marginTop4,A.default.marginBottom8)},void 0,j("img",{alt:"",className:(0,o.default)(N.default.lockIcon),src:n(11591)}),M.default.Messages.TWO_FA_ENABLED),j(O.FormText,{type:O.FormText.Types.DESCRIPTION,className:A.default.marginBottom20},void 0,M.default.Messages.TWO_FA_DESCRIPTION),j(S.default,{justify:S.default.Justify.START,className:A.default.marginBottom20},void 0,j(S.default.Child,{wrap:!0,grow:0},void 0,r),j(S.default.Child,{wrap:!0},void 0,j(h.default,{onClick:this.handleDisableMFA,size:h.default.Sizes.SMALL,color:h.ButtonColors.RED,look:h.ButtonLooks.OUTLINED},void 0,M.default.Messages.TWO_FA_REMOVE))),e,this.renderMFASMS())},y.renderDisabled=function(){return j(O.FormSection,{title:M.default.Messages.TWO_FA},void 0,j(O.FormText,{type:O.FormText.Types.DESCRIPTION,className:A.default.marginBottom20},void 0,M.default.Messages.TWO_FA_SALES_PITCH),j(O.FormItem,{},void 0,j(h.default,{onClick:this.handleEnableMFA,size:h.ButtonSizes.SMALL},void 0,M.default.Messages.TWO_FA_ENABLE)))},y.render=function(){var e=this.props.currentUser;return T.hasCrypto?e.verified?e.mfaEnabled?this.renderEnabled():this.renderDisabled():j(O.FormSection,{title:M.default.Messages.TWO_FA},void 0,j(O.FormText,{type:O.FormText.Types.DESCRIPTION},void 0,M.default.Messages.TWO_FA_NOT_VERIFIED)):j(O.FormSection,{title:M.default.Messages.TWO_FA},void 0,j(O.FormText,{type:O.FormText.Types.DESCRIPTION},void 0,M.default.Messages.TWO_FA_USE_DESKTOP_APP))},y.openPhoneVerificationModal=function(e){void 0===e&&(e={}),(0,I.openModal)((function(t){return a.createElement(c.default,D({},t,e))}),{modalKey:p.PHONE_VERIFICATION_MODAL_KEY})},i}(a.PureComponent);U.displayName="TwoFactorAuth";var G=i.default.connectStores([m.default,y.default],(function(){return{currentUser:m.default.getCurrentUser(),togglingSMS:y.default.togglingSMS}}))(U);t.default=G},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=S(n(8)),i=S(n(9242)),l=S(n(1190)),u=S(n(12)),s=S(n(29)),d=S(n(55)),f=S(n(153)),c=S(n(1165)),p=S(n(474)),v=S(n(159)),y=n(35),m=S(n(47)),_=S(n(24)),h=n(10484),E=S(n(6)),g=S(n(8144));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var C=function(e){var t=e.image,n=e.label,r=e.text,a=e.children;return T(d.default,{className:g.default.spacing},void 0,T(d.default,{grow:0,shrink:0,basis:"156px",justify:d.default.Justify.CENTER,className:g.default.image},void 0,t),T(d.default,{direction:d.default.Direction.VERTICAL,justify:d.default.Justify.CENTER},void 0,T("div",{},void 0,T(v.default,{tag:v.default.Tags.H5,className:g.default.headerSpacing},void 0,n),T(p.default,{type:p.default.Types.DESCRIPTION},void 0,r),a)))};C.displayName="ModalSection";var b=function(e){var t,r;function a(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).headerID=o.default.uniqueId(),t.state={code:"",totpSecret:(0,h.generateTotpSecret)(),error:null,isVerifying:!1},t.handleCodeChange=function(e){t.setState({code:e})},t.handleActivate=function(e){e.preventDefault();var n=t.props.password,r=t.state,a=r.totpSecret,o=r.code;t.setState({isVerifying:!0}),i.default.enable({password:n,code:o,secret:(0,h.encodeTotpSecret)(a)}).then(t.handleActivateSuccess,(function(e){return t.setState({error:e.body.message,isVerifying:!1})}))},t.handleActivateSuccess=function(){var e=t.props,n=e.onClose,r=e.handleEnableMFASuccess;t.setState({isVerifying:!1}),null!=n&&n(),r()},t}return r=e,(t=a).prototype=Object.create(r.prototype),t.prototype.constructor=t,I(t,r),a.prototype.render=function(){var e=this.props,t=e.transitionState,r=e.onClose,a=this.state,o=a.totpSecret,i=a.code,p=a.isVerifying,S=u.default.getCurrentUser().email,O=(0,h.encodeTotpSecretAsUrl)(null!=S?S:"",o),I=T("form",{onSubmit:this.handleActivate},void 0,T(d.default,{className:g.default.inputContainer,align:d.default.Align.START},void 0,T(f.default,{value:i,className:g.default.input,placeholder:"000 000",maxLength:7,autoComplete:"off",onChange:this.handleCodeChange,error:this.state.error,autoFocus:!0}),T(d.default.Child,{grow:0,shrink:0},void 0,T(s.default,{type:"submit",submitting:p},void 0,E.default.Messages.TWO_FA_ACTIVATE))));return T(y.ModalRoot,{"aria-labelledby":this.headerID,transitionState:t,size:y.ModalSize.DYNAMIC,className:g.default.customWidth},void 0,T(y.ModalHeader,{separator:!1},void 0,T(d.default.Child,{grow:1,shrink:1},void 0,T(m.default,{tag:m.default.Tags.H2,size:m.default.Sizes.SIZE_20},void 0,E.default.Messages.TWO_FA_ENABLE),T(_.default,{size:_.default.Sizes.SIZE_12,className:g.default.subHeader},void 0,E.default.Messages.TWO_FA_ENABLE_SUBHEADER)),T(d.default.Child,{grow:0},void 0,T(y.ModalCloseButton,{onClick:r}))),T(y.ModalContent,{},void 0,T(C,{image:T("img",{alt:"",src:n(11587),width:100,height:100}),label:E.default.Messages.TWO_FA_DOWNLOAD_APP_LABEL,text:E.default.Messages.TWO_FA_DOWNLOAD_APP_BODY.format({googleAuthURL:"https://support.google.com/accounts/answer/1066447?hl=en",authyURL:"https://www.authy.com/"})}),T(c.default,{className:g.default.divider}),T(C,{image:T(l.default,{text:O}),label:E.default.Messages.TWO_FA_QR_LABEL,text:E.default.Messages.TWO_FA_QR_BODY},void 0,T("div",{className:g.default.topSpacing},void 0,T(v.default,{tag:v.default.Tags.H5,className:g.default.headerSpacing},void 0,E.default.Messages.TWO_FA_KEY),T(_.default,{size:_.default.Sizes.SIZE_16,className:g.default.secret,selectable:!0},void 0,o))),T(c.default,{className:g.default.divider}),T(C,{image:T("img",{alt:"",src:n(11588)}),label:E.default.Messages.TWO_FA_LOGIN_LABEL,text:E.default.Messages.TWO_FA_LOGIN_BODY},void 0,I)))},a}(a.PureComponent);b.displayName="MFAEnable";var M=b;t.default=M},,,function(e,t,n){e.exports=n.p+"0b8465d21b4c248c18f7e0a44fda86cc.png"},function(e,t,n){e.exports=n.p+"cdec1a78913423b428eb0013e9678244.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=N();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=M(n(3)),i=M(n(9242)),l=M(n(10483)),u=M(n(8447)),s=M(n(8295)),d=n(5831),f=M(n(10233)),c=M(n(12)),p=M(n(29)),v=M(n(55)),y=n(85),m=M(n(1165)),_=M(n(159)),h=n(466),E=n(35),g=n(41),S=M(n(47)),O=M(n(24)),I=M(n(8650)),T=n(1),C=M(n(6)),b=M(n(8145));function M(e){return e&&e.__esModule?e:{default:e}}function N(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return N=function(){return e},e}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(){return(P=Object.assign||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}).apply(this,arguments)}function R(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var L=function(e){var t=e.label,n=e.text,r=e.children,o=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["label","text","children"]);return a.createElement(v.default,P({direction:v.default.Direction.VERTICAL},o),R(_.default,{tag:_.default.Tags.H2},void 0,t),null!=n?R(O.default,{size:O.default.Sizes.SIZE_16,className:b.default.sectionBody},void 0,n):null,R(v.default.Child,{wrap:!0},void 0,r))};L.displayName="ModalSection";var D=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={didAddBackup:!1,showConfirmModal:!1},t.headerId=(0,y.uid)(),t.handleCloseModal=function(){var e=t.props,n=e.onClose,r=e.currentUser,a=t.state.didAddBackup,o=r.hasFlag(T.UserFlags.MFA_SMS);a||o?n&&n():t.setState({showConfirmModal:!0})},t.getDownloadFileContents=function(){var e=t.props.backupCodes.map((function(e){var t=e.consumed,n=e.code;return"* "+n.substr(0,4)+"-"+n.substr(4)+" "+(t?"("+C.default.Messages.TWO_FA_BACKUP_CODE_USED+")":"")})).join("\r\n");return C.default.Messages.TWO_FA_DISCORD_BACKUP_CODES.format({email:t.props.currentUser.email})+"\r\n\r\n"+e},t.handleChangePhoneNumber=function(){t.openPhoneVerificationModal()},t.handleEnableSMS=function(){var e=function(){(0,g.openModal)((function(e){return a.createElement(I.default,P({},e,{handleSubmit:function(e){return t.setState({didAddBackup:!0}),i.default.enableSMS(e)},title:C.default.Messages.MFA_SMS_ENABLE}))}))};null==t.props.currentUser.phone?t.openPhoneVerificationModal({onAddedPhone:e}):e()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,A(t,n);var o=r.prototype;return o.renderSMSSection=function(){var e=this.props.currentUser,t=null!=this.props.currentUser.phone,n=e.hasFlag(T.UserFlags.MFA_SMS),r=e.hasFlag(T.UserFlags.PARTNER)||e.hasFlag(T.UserFlags.STAFF);return t?R(L,{label:C.default.Messages.MFA_SMS_ENABLE,text:C.default.Messages.MFA_SMS_AUTH_SALES_PITCH},void 0,R(O.default,{size:O.default.Sizes.SIZE_16,className:b.default.sectionBody},void 0,R("strong",{className:b.default.phoneNumber},void 0,C.default.Messages.MFA_SMS_AUTH_CURRENT_PHONE.format({phoneNumber:e.phone})),R(p.default,{look:p.default.Looks.LINK,color:p.default.Colors.LINK,size:p.default.Sizes.MIN,className:b.default.linkButton,onClick:this.handleChangePhoneNumber},void 0,C.default.Messages.CHANGE_PHONE_NUMBER)),R(p.default,{onClick:this.handleEnableSMS,disabled:n||r,color:p.default.Colors.GREEN,size:p.default.Sizes.SMALL},void 0,r?C.default.Messages.MFA_SMS_DISABLED_PARTNER:n?C.default.Messages.MFA_SMS_ALREADY_ENABLED:C.default.Messages.MFA_SMS_ENABLE)):R(L,{label:C.default.Messages.MFA_SMS_ENABLE,text:C.default.Messages.MFA_SMS_AUTH_SALES_PITCH},void 0,R(p.default,{onClick:this.handleEnableSMS,color:p.default.Colors.GREEN,size:p.default.Sizes.SMALL,disabled:r},void 0,r?C.default.Messages.MFA_SMS_DISABLED_PARTNER:C.default.Messages.MFA_SMS_ADD_PHONE))},o.renderBackupCodesSection=function(){var e=this;return R(L,{label:C.default.Messages.TWO_FA_DOWNLOAD_CODES,text:C.default.Messages.TWO_FA_BACKUP_CODES_WARNING.format()},void 0,R(l.default,{fileContents:this.getDownloadFileContents,contentType:"text/plain",fileName:"discord_backup_codes.txt",onDownload:function(){return e.setState({didAddBackup:!0})}},void 0,R(p.default,{color:p.default.Colors.GREEN,size:p.default.Sizes.SMALL},void 0,C.default.Messages.TWO_FA_DOWNLOAD_CODES)))},o.renderHeader=function(){return R(E.ModalHeader,{separator:!1,id:this.headerId},void 0,R(v.default.Child,{grow:1,shrink:1},void 0,R(S.default,{tag:S.default.Tags.H2,size:S.default.Sizes.SIZE_20,className:b.default.header},void 0,s.default.parse(C.default.Messages.TWO_FA_SUCCESS_HEADER)),R(O.default,{size:O.default.Sizes.SIZE_12,className:b.default.subHeader},void 0,C.default.Messages.MFA_SMS_ENABLE_SHOULD_DO.format())),R(v.default.Child,{grow:0},void 0,R(E.ModalCloseButton,{onClick:this.handleCloseModal})))},o.renderConfirmModal=function(){var e=this,t=this.props.onClose;return R(h.DeclarativeConfirmModal,{dismissable:!0,header:C.default.Messages.TWO_FA_CONFIRM_TITLE,confirmText:C.default.Messages.TWO_FA_CONFIRM_CONFIRM,cancelText:C.default.Messages.CANCEL,onCancel:function(){return e.setState({showConfirmModal:!1})},onConfirm:t},void 0,R(O.default,{size:O.default.Sizes.SIZE_16,color:O.default.Colors.STANDARD},void 0,C.default.Messages.TWO_FA_CONFIRM_BODY))},o.render=function(){var e=this.props.transitionState,t=this.state.showConfirmModal;return R(E.ModalRoot,{transitionState:e,className:b.default.modal,"aria-labelledby":this.headerId},void 0,this.renderHeader(),R(E.ModalContent,{className:b.default.modalInner},void 0,this.renderSMSSection(),R(m.default,{className:b.default.divider}),this.renderBackupCodesSection()),t&&this.renderConfirmModal())},o.openPhoneVerificationModal=function(e){void 0===e&&(e={}),(0,g.openModal)((function(t){return a.createElement(u.default,P({},t,e))}),{modalKey:d.PHONE_VERIFICATION_MODAL_KEY})},r}(a.PureComponent);D.displayName="MFAEnableSuccess";var w=o.default.connectStores([c.default,f.default],(function(){return{currentUser:c.default.getCurrentUser(),backupCodes:f.default.getBackupCodes()}}))(D);t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSMSBackupDisabledMessage=function(e){if(e.hasFlag(a.UserFlags.STAFF)||e.hasFlag(a.UserFlags.PARTNER))return o.default.Messages.MFA_SMS_DISABLED_PARTNER;if(null==e.email)return o.default.Messages.MFA_SMS_DISABLED_NO_EMAIL;return null};var r,a=n(1),o=(r=n(6))&&r.__esModule?r:{default:r}},function(e,t,n){e.exports=n.p+"acea8fd38500a12d0509c027a274caaa.svg"},function(e,t,n){e.exports=n.p+"0694f38cb0b10cc3b5b89366a0893768.svg"},function(e,t,n){e.exports=n.p+"d367b6d89c7688783cd3287f485484b6.svg"},function(e,t,n){e.exports=n.p+"cdea41ede63f61153e4a3c0531fa3873.svg"},function(e,t,n){e.exports=n.p+"f8696a3854655998a24c219403420867.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=M;var r,a=T(n(0)),o=n(3),i=T(n(8786)),l=O(n(274)),u=O(n(120)),s=O(n(39)),d=O(n(1167)),f=O(n(8267)),c=n(131),p=O(n(466)),v=n(41),y=O(n(24)),m=O(n(16)),_=n(1163),h=O(n(43)),E=O(n(11597)),g=n(1),S=O(n(6));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function C(){return(C=Object.assign||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}).apply(this,arguments)}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(){var e=a.useState((function(){return h.default.getEnableHardwareAcceleration()}))[0],t=(0,o.useStateFromStoresObject)([s.default,d.default,u.default],(function(){return{developerMode:s.default.developerMode,hasLibraryApplication:u.default.hasLibraryApplication(),disableLibrary:s.default.disableGamesTab,testModeApplicationId:d.default.testModeApplicationId}})),n=t.developerMode,r=t.hasLibraryApplication,O=t.disableLibrary,I=t.testModeApplicationId,T=a.useCallback((function(e){l.default.updateRemoteSettings({developerMode:e})}),[]),M=a.useCallback((function(e){l.default.updateRemoteSettings({disableGamesTab:!e})}),[]),N=a.useCallback((function(e){e?(0,v.openModal)((function(e){return a.createElement(E.default,e)})):i.reset()}),[]),A=a.useCallback((function(e){(0,v.openModal)((function(t){return a.createElement(p.default,C({header:S.default.Messages.SWITCH_HARDWARE_ACCELERATION,confirmText:S.default.Messages.OKAY,cancelText:S.default.Messages.CANCEL,onConfirm:function(){return h.default.setEnableHardwareAcceleration(e)}},t),b(y.default,{},void 0,S.default.Messages.SWITCH_HARDWARE_ACCELERATION_BODY))}))}),[]);return b(c.FormSection,{tag:c.FormTitleTags.H1,title:S.default.Messages.SETTINGS_ADVANCED},void 0,_.SUPPORTS_COPY&&b(f.default,{value:n,onChange:T,note:S.default.Messages.DEVELOPER_MODE_HELP_TEXT.format({apiDocsUrl:g.MarketingURLs.API_DOCS})},void 0,S.default.Messages.DEVELOPER_MODE),m.default.embedded&&b(f.default,{value:e,onChange:A,note:S.default.Messages.HARDWARE_ACCELERATION_HELP_TEXT},void 0,S.default.Messages.HARDWARE_ACCELERATION),r&&b(f.default,{value:!O,onChange:M,note:S.default.Messages.USER_SETTINGS_SHOW_LIBRARY_NOTE},void 0,S.default.Messages.USER_SETTINGS_SHOW_LIBRARY),n&&b(f.default,{value:null!=I,note:S.default.Messages.DEVELOPER_APPLICATION_TEST_MODE_NOTE,onChange:N},void 0,S.default.Messages.DEVELOPER_APPLICATION_TEST_MODE))}M.displayName="UserSettingsAdvanced"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=P;var r,a=I(n(0)),o=n(3),i=S(n(2)),l=I(n(8786)),u=S(n(1359)),s=S(n(1167)),d=S(n(29)),f=S(n(55)),c=S(n(1164)),p=S(n(153)),v=n(85),y=n(131),m=n(35),_=n(374),h=S(n(6)),E=S(n(8146)),g=S(n(370));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function T(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function C(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function b(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){C(o,r,a,i,l,"next",e)}function l(e){C(o,r,a,i,l,"throw",e)}i(void 0)}))}}var M,N=/^\d+$|^$/;function A(e,t,n){if(null==e)return null;switch(e){case M.LOCALHOST:return"https://localhost:"+t;case M.PROXY:return(0,u.default)(n)}}function P(e){var t=e.onClose,n=e.transitionState,r=(0,o.useStateFromStoresObject)([s.default],(function(){return{authorizedApplicationId:s.default.testModeApplicationId,authorizationError:s.default.error,authorizing:s.default.isFetchingAuthorization}})),u=r.authorizedApplicationId,S=r.authorizationError,O=r.authorizing,I=a.useState(null!=u?u:""),C=I[0],P=I[1],R=a.useState(""),L=R[0],D=R[1],w=a.useState(null),j=w[0],k=w[1],U=(0,v.useUID)(),G=N.test(C);function F(){return(F=b(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l.resetError(),n=A(j,L,C),e.next=4,l.authorizeAndSetTestModeApplication(C,n);case 4:e.sent&&t();case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}a.useEffect((function(){return function(){return i.default.wait((function(){return l.resetError()}))}}),[]);var B=null!=u&&u===C,H=B?function(){l.reset(),P(""),k(null)}:function(){return F.apply(this,arguments)};return T(m.ModalRoot,{"aria-labelledby":U,transitionState:n},void 0,T(m.ModalHeader,{justify:f.default.Justify.BETWEEN,separator:!1},void 0,T(y.FormTitle,{id:U,tag:y.FormTitle.Tags.H1,className:g.default.marginReset},void 0,h.default.Messages.DEVELOPER_APPLICATION_TEST_MODE_MODAL_HEADER),T(m.ModalCloseButton,{onClick:t})),T(m.ModalContent,{className:E.default.modalContent},void 0,T(y.FormText,{className:g.default.marginBottom20,type:y.FormText.Types.DESCRIPTION},void 0,h.default.Messages.DEVELOPER_APPLICATION_TEST_MODE_MODAL_BODY),null==S?null:T(c.default,{className:g.default.marginBottom20},void 0,S),T("form",{onSubmit:function(e){e.preventDefault(),H()}},void 0,T(f.default,{direction:f.default.Direction.VERTICAL,align:f.default.Align.START},void 0,T(y.FormItem,{className:E.default.inputWrapper,title:h.default.Messages.DEVELOPER_APPLICATION_TEST_MODE_PLACEHOLDER,required:!0},void 0,T(p.default,{value:C,maxLength:19,error:G?null:h.default.Messages.DEVELOPER_APPLICATION_TEST_MODE_INVALID,onChange:function(e){P(e)},disabled:O})),T(y.FormItem,{className:E.default.inputWrapper,title:h.default.Messages.DEVELOPER_APPLICATION_TEST_MODE_ORIGIN_LABEL},void 0,T(_.SingleSelect,{isDisabled:!G||""===C,value:j,options:[{value:M.LOCALHOST,label:h.default.Messages.DEVELOPER_APPLICATION_TEST_MODE_LOCALHOST_OPTION,key:"localhost"},{value:M.PROXY,label:h.default.Messages.DEVELOPER_APPLICATION_TEST_MODE_PROXY_OPTION,key:"proxy"}],onChange:function(e){k(e)},placeholder:"URL Origin Type"})),j!==M.LOCALHOST?null:T(y.FormItem,{className:E.default.inputWrapper,title:h.default.Messages.DEVELOPER_APPLICATION_TEST_MODE_PORT_NUMBER_LABEL,required:!0},void 0,T(p.default,{value:L,maxLength:5,onChange:function(e){return D(e)},disabled:O})),T(d.default,{submitting:O,type:"submit",disabled:!G||0===C.length||j===M.LOCALHOST&&0===L.length,color:B?d.default.Colors.RED:d.default.Colors.GREEN},void 0,B?h.default.Messages.DEVELOPER_APPLICATION_TEST_MODE_CLEAR:h.default.Messages.DEVELOPER_APPLICATION_TEST_MODE_ACTIVATE)))))}!function(e){e.LOCALHOST="localhost",e.PROXY="proxy"}(M||(M={})),P.displayName="TextModeModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=D();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=L(n(9)),i=L(n(3)),l=L(n(274)),u=L(n(473)),s=L(n(403)),d=n(285),f=L(n(105)),c=n(1254),p=n(297),v=L(n(1263)),y=n(682),m=L(n(8975)),_=n(1348),h=L(n(39)),E=L(n(467)),g=L(n(55)),S=L(n(8496)),O=L(n(1162)),I=L(n(8360)),T=L(n(8267)),C=n(131),b=L(n(24)),M=L(n(16)),N=n(1),A=L(n(6)),P=L(n(8147)),R=L(n(370));function L(e){return e&&e.__esModule?e:{default:e}}function D(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return D=function(){return e},e}function w(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(){return(k=Object.assign||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}).apply(this,arguments)}var U="cozy",G="compact",F=function(e){var t=0;return[(0,p.createMessageRecord)(k({},(0,v.default)("1337",A.default.Messages.USER_SETTINGS_APPEARANCE_PREVIEW_MESSAGE_1),{state:N.MessageStates.SENT,id:""+t++})),(0,p.createMessageRecord)(k({},(0,v.default)("1337",e===N.ThemeTypes.DARK?A.default.Messages.USER_SETTINGS_APPEARANCE_PREVIEW_MESSAGE_2_DARK:A.default.Messages.USER_SETTINGS_APPEARANCE_PREVIEW_MESSAGE_2_LIGHT),{state:N.MessageStates.SENT,id:""+t++})),(0,p.createMessageRecord)(k({},(0,v.default)("1337",A.default.Messages.USER_SETTINGS_APPEARANCE_PREVIEW_MESSAGE_3),{state:N.MessageStates.SENT,id:""+t++})),(0,p.createMessageRecord)(k({},(0,v.default)("1337",A.default.Messages.USER_SETTINGS_APPEARANCE_PREVIEW_MESSAGE_4),{state:N.MessageStates.SENT,id:""+t++})),(0,p.createMessageRecord)(k({},(0,v.default)("1337",A.default.Messages.USER_SETTINGS_APPEARANCE_PREVIEW_MESSAGE_5),{state:N.MessageStates.SENT,id:"4"}))]},B=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).darkMessages=F(N.ThemeTypes.DARK),t.lightMessages=F(N.ThemeTypes.LIGHT),t.handleThemeChange=function(e){var t=e.value;"system"!==t&&l.default.updateRemoteSettings({theme:t}),l.default.updateLocalSettings({useSystemTheme:"system"===t?_.SystemThemeState.ON:_.SystemThemeState.OFF})},t.handleMessageDisplayModeChange=function(e){var t=e.value;l.default.updateRemoteSettings({messageDisplayCompact:t===G}),(0,d.setMessageGroupSpacing)()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,j(t,n);var i=r.prototype;return i.getPreviewMessage=function(e){return e===N.ThemeTypes.DARK?A.default.Messages.USER_SETTINGS_APPEARANCE_PREVIEW_MESSAGE_2_DARK:A.default.Messages.USER_SETTINGS_APPEARANCE_PREVIEW_MESSAGE_2_LIGHT},i.renderZoomSlider=function(){return M.default.embedded?w(C.FormItem,{title:A.default.Messages.ACCESSIBILITY_ZOOM_LEVEL_LABEL,className:R.default.marginTop20},void 0,w(I.default,{className:(0,o.default)(R.default.marginTop20,R.default.marginBottom4),initialValue:this.props.zoom,defaultValue:N.Accessibility.ZOOM_DEFAULT,markers:N.Accessibility.ZOOM_SCALES,stickToMarkers:!0,onValueChange:this.handleZoomChange,onValueRender:this.handleSliderRender}),w(C.FormText,{type:C.FormText.Types.DESCRIPTION},void 0,A.default.Messages.USER_SETTINGS_APPEARANCE_ZOOM_TIP.format({modKey:s.default.modKey}))):null},i.renderFontScaleSlider=function(){return w(C.FormItem,{title:A.default.Messages.ACCESSIBILITY_FONT_SCALING_LABEL,className:R.default.marginTop20},void 0,w(g.default,{align:g.default.Align.CENTER},void 0,w(I.default,{className:(0,o.default)(R.default.marginTop20,R.default.marginBottom4),initialValue:this.props.fontSize,defaultValue:N.Accessibility.FONT_SIZE_DEFAULT,markers:N.Accessibility.FONT_SIZES,stickToMarkers:!0,onValueChange:this.handleFontSizeChange,onValueRender:this.handleSliderRenderPX,onMarkerRender:this.handleSliderRenderPX})))},i.renderMessageGroupSpacingSlider=function(){var e=this.props,t=e.messageDisplayCompact,n=e.messageGroupSpacing;return w(C.FormItem,{title:A.default.Messages.ACCESSIBILITY_MESSAGE_GROUP_SPACING,className:R.default.marginTop20},void 0,w(I.default,{className:(0,o.default)(R.default.marginTop20,R.default.marginBottom4),initialValue:n,defaultValue:t?c.DEFAULT_COMPACT_SPACING:c.DEFAULT_COZY_SPACING,markers:c.MESSAGE_GROUP_SPACING,stickToMarkers:!0,onValueChange:this.handleMessageSpacingChange,onValueRender:this.handleSliderRenderPX,onMarkerRender:this.handleSliderRenderPX}))},i.renderPreview=function(){var e=this.props,t=e.messageDisplayCompact,n=e.theme,r=e.messageGroupSpacing,a=e.renderMediaEmbeds,i=n===N.ThemeTypes.DARK?this.darkMessages:this.lightMessages;return w(S.default,{},void 0,w(E.default,{className:(0,o.default)(P.default.preview,t?P.default.compactPreview:void 0,"group-spacing-"+(null!=r?r:t?c.DEFAULT_COMPACT_SPACING:c.DEFAULT_COZY_SPACING)),outline:!0,"aria-hidden":!0},void 0,i.map((function(e,n){return w(m.default,{author:(0,y.getMessageAuthor)(e),message:e,compact:t,isGroupStart:n%2==0,className:0===n?P.default.firstMessage:void 0,renderMediaEmbeds:a},e.id)}))))},i.renderTheme=function(){var e=this.props,t=e.theme,n=e.useSystemTheme,r=e.darkSidebar;return w(C.FormItem,{title:A.default.Messages.THEME,className:R.default.marginTop40},void 0,w(O.default,{options:[{name:A.default.Messages.THEME_DARK,value:N.ThemeTypes.DARK},{name:A.default.Messages.THEME_LIGHT,value:N.ThemeTypes.LIGHT},{name:A.default.Messages.THEME_SYSTEM,value:"system"}],onChange:this.handleThemeChange,value:n===_.SystemThemeState.ON?"system":t}),w(T.default,{value:r&&t===N.ThemeTypes.LIGHT,disabled:t!==N.ThemeTypes.LIGHT,onChange:this.handleDarkSidebarChecked,className:R.default.marginTop20},void 0,A.default.Messages.ACCESSIBILITY_DARK_SIDEBAR))},i.renderDisplayMode=function(){return w(C.FormItem,{title:A.default.Messages.MESSAGE_DISPLAY_MODE_LABEL,className:R.default.marginTop8},void 0,w(O.default,{options:[{name:A.default.Messages.COZY_MODE,value:U},{name:A.default.Messages.COMPACT_MODE,value:G}],onChange:this.handleMessageDisplayModeChange,value:this.props.messageDisplayCompact?G:U}))},i.handleDarkSidebarChecked=function(){(0,d.toggleDarkSidebar)()},i.renderScalingAndSpacing=function(){return a.createElement(a.Fragment,null,this.renderFontScaleSlider(),this.renderMessageGroupSpacingSlider(),this.renderZoomSlider(),w(C.FormDivider,{className:R.default.marginTop20}))},i.render=function(){return w(C.FormSection,{tag:C.FormTitleTags.H1,title:A.default.Messages.APPEARANCE},void 0,this.renderPreview(),this.renderTheme(),this.renderDisplayMode(),w(C.FormDivider,{className:R.default.marginTop20}),this.renderScalingAndSpacing(),w(b.default,{size:b.default.Sizes.SIZE_16,className:R.default.marginTop20},void 0,A.default.Messages.APPEARANCE_SETTINGS_ACCESSIBILITY_LINK.format({onAccessibilityClick:function(){u.default.open(N.UserSettingsSections.ACCESSIBILITY)}})))},i.handleSliderRender=function(e){return e.toFixed(0)+"%"},i.handleSliderRenderPX=function(e){return e.toFixed(0)+"px"},i.handleFontSizeChange=function(e){(0,d.setFontSize)(e)},i.handleMessageSpacingChange=function(e){switch(e){case 0:case 4:case 8:case 16:case 24:(0,d.setMessageGroupSpacing)(e)}},i.handleZoomChange=function(e){(0,d.setZoom)(e)},r}(a.Component);B.displayName="UserSettingsAppearance";var H=i.default.connectStores([h.default,f.default],(function(){return{theme:h.default.theme,useSystemTheme:h.default.useSystemTheme,darkSidebar:f.default.darkSidebar,messageDisplayCompact:h.default.messageDisplayCompact,fontSize:f.default.fontSize,zoom:f.default.zoom,messageGroupSpacing:f.default.messageGroupSpacing,renderMediaEmbeds:h.default.inlineEmbedMedia&&h.default.renderEmbeds}}))(B);t.default=H},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=A(n(0)),o=M(n(9)),i=A(n(3)),l=M(n(11600)),u=M(n(8316)),s=M(n(218)),d=n(1297),f=M(n(294)),c=M(n(9152)),p=M(n(160)),v=M(n(39)),y=A(n(29)),m=A(n(467)),_=A(n(8302)),h=M(n(55)),E=M(n(151)),g=n(131),S=n(41),O=M(n(150)),I=n(1),T=M(n(6)),C=M(n(8148)),b=M(n(370));function M(e){return e&&e.__esModule?e:{default:e}}function N(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return N=function(){return e},e}function A(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=N();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function P(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function R(){return(R=Object.assign||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}).apply(this,arguments)}var L=i.default.connectStores([v.default],(function(){return{theme:v.default.theme}}))(_.default),D=function(e){var t,n,r=e.scopes,i=e.application,l=e.onDelete,u=function(){return(0,S.openModal)((function(e){return a.createElement(s.default,R({title:T.default.Messages.DEAUTHORIZE_APP,body:T.default.Messages.DELETE_APP_CONFIRM_MSG,confirmText:T.default.Messages.DEAUTHORIZE,cancelText:T.default.Messages.CANCEL,onConfirm:l},e))}))};return P(m.default,{className:(0,o.default)(C.default.authedApp,b.default.marginBottom8),outline:!0},void 0,(t=O.default.getApplicationIconURL({id:i.id,icon:i.icon}),n=t?P(h.default.Child,{className:C.default.appAvatar,grow:0},void 0,P("img",{src:t,alt:""})):null,P(h.default,{className:(0,o.default)(C.default.header,b.default.marginBottom20)},void 0,P(h.default,{className:C.default.headerInfo},void 0,n,P(h.default.Child,{},void 0,P(g.FormText,{type:g.FormTextTypes.LABEL_BOLD},void 0,P("span",{},void 0,i.name)))),P(h.default.Child,{wrap:!0,grow:0},void 0,P(y.default,{className:C.default.deleteApp,color:y.ButtonColors.RED,look:y.ButtonLooks.OUTLINED,size:y.ButtonSizes.SMALL,onClick:u},void 0,T.default.Messages.DEAUTHORIZE)))),function(){if(i.description)return P(g.FormItem,{faded:!0,title:T.default.Messages.ABOUT_THIS_APP},void 0,P(g.FormText,{},void 0,i.description))}(),function(){var e=r.map((function(e){var t;switch(e){case I.OAuth2Scopes.IDENTIFY:t=T.default.Messages.SCOPE_IDENTIFY;break;case I.OAuth2Scopes.EMAIL:t=T.default.Messages.SCOPE_EMAIL;break;case I.OAuth2Scopes.CONNECTIONS:t=T.default.Messages.SCOPE_CONNECTIONS;break;case I.OAuth2Scopes.GUILDS:t=T.default.Messages.SCOPE_GUILDS;break;case I.OAuth2Scopes.GUILDS_JOIN:t=T.default.Messages.SCOPE_GUILDS_JOIN;break;case I.OAuth2Scopes.GDM_JOIN:t=T.default.Messages.SCOPE_GDM_JOIN;break;case I.OAuth2Scopes.BOT:t=T.default.Messages.SCOPE_BOT;break;case I.OAuth2Scopes.RPC:t=T.default.Messages.SCOPE_RPC;break;case I.OAuth2Scopes.RPC_NOTIFICATIONS_READ:t=T.default.Messages.SCOPE_RPC_NOTIFICATIONS_READ;break;case I.OAuth2Scopes.RPC_VOICE_WRITE:t=T.default.Messages.SCOPE_RPC_VOICE_WRITE;break;case I.OAuth2Scopes.RPC_VOICE_READ:t=T.default.Messages.SCOPE_RPC_VOICE_READ;break;case I.OAuth2Scopes.RPC_ACTIVITIES_WRITE:t=T.default.Messages.SCOPE_RPC_ACTIVITIES_WRITE;break;case I.OAuth2Scopes.MESSAGES_READ:t=T.default.Messages.SCOPE_MESSAGES_READ;break;case I.OAuth2Scopes.APPLICATIONS_BUILDS_UPLOAD:t=T.default.Messages.SCOPE_APPLICATIONS_BUILDS_UPLOAD;break;case I.OAuth2Scopes.APPLICATIONS_BUILDS_READ:t=T.default.Messages.SCOPE_APPLICATIONS_BUILDS_READ;break;case I.OAuth2Scopes.APPLICATIONS_STORE_UPDATE:t=T.default.Messages.SCOPE_APPLICATIONS_STORE_UPDATE;break;case I.OAuth2Scopes.APPLICATIONS_ENTITLEMENTS:t=T.default.Messages.SCOPE_APPLICATIONS_ENTITLEMENTS;break;case I.OAuth2Scopes.APPLICATIONS_COMMANDS:t=T.default.Messages.SCOPE_APPLICATIONS_COMMANDS;break;case I.OAuth2Scopes.APPLICATIONS_COMMANDS_UPDATE:t=T.default.Messages.SCOPE_APPLICATIONS_COMMANDS_UPDATE;break;case I.OAuth2Scopes.ACTIVITIES_READ:t=T.default.Messages.SCOPE_ACTIVITIES_READ;break;case I.OAuth2Scopes.ACTIVITIES_WRITE:t=T.default.Messages.SCOPE_ACTIVITIES_WRITE;break;case I.OAuth2Scopes.RELATIONSHIPS_READ:t=T.default.Messages.SCOPE_RELATIONSHIPS_READ;break;default:t=e}return P("li",{className:(0,o.default)(C.default.permission,b.default.marginTop8)},e,P("i",{className:C.default.permissionCheckmark}),P(g.FormText,{},void 0,t))}));if(e.length)return P(g.FormItem,{faded:!0,title:T.default.Messages.PERMISSIONS,className:b.default.marginTop20},void 0,P("ul",{},void 0,e))}())};D.displayName="AuthorizedApp";var w=P(u.default,{}),j=function(){var e=(0,i.useStateFromStores)([p.default],(function(){return p.default.hidePersonalInformation})),t=(0,i.useStateFromStores)([c.default],(function(){return c.default.getApps()})),r=(0,i.useStateFromStores)([f.default],(function(){return f.default.getSelfEmbeddedActivities()}));a.useEffect((function(){l.default.fetch()}),[]);return e?w:P(g.FormSection,{tag:g.FormTitleTags.H1,title:T.default.Messages.AUTHORIZED_APPS},void 0,P(g.FormNotice,{className:b.default.marginBottom40,type:m.Types.PRIMARY,title:T.default.Messages.APPLICATIONS_AND_CONNECTIONS,body:T.default.Messages.APPLICATIONS_AND_CONNECTIONS_BODY}),null==t?P(E.default,{className:b.default.marginTop20,type:E.default.Type.SPINNING_CIRCLE}):0===t.length?P(L,{className:C.default.marginTop20},void 0,P(_.EmptyStateImage,{darkSrc:n(11601),lightSrc:n(11602),width:380,height:282}),P(_.EmptyStateText,{note:T.default.Messages.NO_AUTHORIZED_APPS_NOTE},void 0,T.default.Messages.NO_AUTHORIZED_APPS)):t.map((function(e){return a.createElement(D,R({key:e.id,onDelete:function(){return function(e){var t=e.id,n=e.application;l.default.delete(t);var a=r.get(n.id);null!=a&&(0,d.stopEmbeddedActivity)(a.channelId,n.id)}(e)}},e))})))};j.displayName="UserSettingsAuthedApps";var k=j;t.default=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(14)),a=i(n(2)),o=n(1);function i(e){return e&&e.__esModule?e:{default:e}}var l={fetch:function(){r.default.get({url:o.Endpoints.OAUTH2_TOKENS,oldFormErrors:!0}).then((function(e){return a.default.dispatch({type:o.ActionTypes.USER_AUTHORIZED_APPS_UPDATE,apps:e.body})}),(function(){return a.default.dispatch({type:o.ActionTypes.USER_AUTHORIZED_APPS_UPDATE,apps:[]})}))},delete:function(e){var t=this;r.default.delete({url:o.Endpoints.OAUTH2_TOKEN(e),oldFormErrors:!0}).then((function(){t.fetch()}))}};t.default=l},function(e,t,n){e.exports=n.p+"b47564b3086d0d8d941aae95a4b7b78c.svg"},function(e,t,n){e.exports=n.p+"68b37187aee175514a1402d4088cf90b.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=M(n(0)),o=C(n(3)),i=C(n(2)),l=M(n(287)),u=C(n(473)),s=C(n(8316)),d=C(n(6109)),f=C(n(11604)),c=C(n(160)),p=C(n(39)),v=C(n(12)),y=C(n(5833)),m=C(n(693)),_=C(n(1147)),h=C(n(467)),E=C(n(55)),g=C(n(151)),S=C(n(159)),O=n(1),I=C(n(6)),T=C(n(8152));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var P=N(s.default,{}),R=N(g.default,{}),L=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,A(t,n);var a=r.prototype;return a.componentDidMount=function(){i.default.wait((function(){l.fetchPaymentSources(),l.fetchSubscriptions()}))},a.handleRedemptionRedirect=function(){u.default.setSection(O.UserSettingsSections.INVENTORY)},a.render=function(){var e=this.props,t=e.syncing,n=e.hide,r=e.paymentSources,a=e.defaultPaymentSourceId,o=e.locale,i=e.premiumSubscription,l=e.isRemovingPaymentSource,u=e.isUpdatingPaymentSource;return n?P:N("div",{className:T.default.userSettingsBilling},void 0,t&&0===Object.keys(r).length?N("div",{className:T.default.syncing},void 0,R):N(f.default,{paymentSources:r,defaultPaymentSourceId:a,premiumSubscriptionPaymentSourceId:null!=i&&i.status!==O.SubscriptionStatusTypes.CANCELED?i.paymentSourceId:null,locale:o,removing:l,submitting:u}),N("div",{className:T.default.paymentHistory},void 0,N(S.default,{tag:S.default.Tags.H1},void 0,N(E.default,{align:E.default.Align.CENTER},void 0,I.default.Messages.BILLING_PAYMENT_HISTORY)),N(d.default,{locale:o})),N(h.default,{className:T.default.codeRedemptionRedirect,type:h.default.Types.CUSTOM},void 0,I.default.Messages.BILLING_CODE_REDEMPTION_REDIRECT.format({onClick:this.handleRedemptionRedirect})))},r}(a.PureComponent);L.displayName="UserSettingsBilling";var D=o.default.connectStores([p.default,y.default,m.default,v.default,c.default,_.default],(function(){var e=_.default.getPremiumTypeSubscription(),t=v.default.getCurrentUser();return{locale:p.default.locale,hide:c.default.enabled,isClaimed:t.isClaimed(),isVerified:t.verified,premiumSubscription:e,defaultPaymentSourceId:m.default.defaultPaymentSourceId,paymentSources:m.default.paymentSources,syncing:y.default.isSyncing,isRemovingPaymentSource:y.default.isRemovingPaymentSource,isUpdatingPaymentSource:y.default.isUpdatingPaymentSource}}))(L);t.default=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=O(n(0)),o=g(n(8)),i=O(n(287)),l=g(n(29)),u=g(n(55)),s=g(n(149)),d=g(n(1165)),f=g(n(159)),c=g(n(11605)),p=n(41),v=g(n(24)),y=g(n(6007)),m=g(n(11606)),_=g(n(6045)),h=g(n(6)),E=g(n(8151));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function I(){return(I=Object.assign||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}).apply(this,arguments)}function T(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function C(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){T(o,r,a,i,l,"next",e)}function l(e){T(o,r,a,i,l,"throw",e)}i(void 0)}))}}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,N(e,t)}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var A=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleEditClick=function(){t.props.onEditClick(t.props.paymentSource.id)},t}return M(t,e),t.prototype.render=function(){var e=this.props,t=e.paymentSource,n=e.isDefault,r=e.isEditing,a=e.index,o=e.hideDivider,i=e.isForSubscription,s=e.locale,f=e.removing,c=e.submitting,p=e.onSubmit,v=e.onCancel,y=e.onDelete;return r?b(m.default,{paymentSource:t,isDefault:n,removing:f,submitting:c,locale:s,isForSubscription:i,onSubmit:p,onCancel:v,onDelete:y}):b("div",{className:E.default.paymentSourceItem},void 0,a>0&&!o?b(d.default,{className:E.default.sourceDivider}):null,b(u.default,{align:u.default.Align.CENTER,justify:u.default.Justify.BETWEEN,className:E.default.paymentSourceRow},void 0,b(_.default,{paymentSource:t,isDefault:n,isForSubscription:i,locale:s,showSubtext:!0}),r?null:b(l.default,{color:l.default.Colors.PRIMARY,onClick:this.handleEditClick,size:l.default.Sizes.SMALL},void 0,h.default.Messages.EDIT)))},t}(a.PureComponent);A.displayName="PaymentSourceItem",A.defaultProps={isEditing:!1,hideDivider:!1,onEditClick:function(){}};var P=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={editingPayment:null},t.handleEditClick=function(e){t.setState({editingPayment:e})},t.handleCancel=function(){t.setState({editingPayment:null})},t.handleDelete=function(){var e=C(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,i.deletePaymentSource(n);case 3:t.setState({editingPayment:null}),e.next=8;break;case 6:e.prev=6,e.t0=e.catch(0);case 8:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}(),t.handleSubmit=function(){var e=C(regeneratorRuntime.mark((function e(n,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==n){e.next=9;break}return e.prev=1,e.next=4,i.updatePaymentSource(n,r);case 4:t.setState({editingPayment:null}),e.next=9;break;case 7:e.prev=7,e.t0=e.catch(1);case 9:case"end":return e.stop()}}),e,null,[[1,7]])})));return function(t,n){return e.apply(this,arguments)}}(),t}M(t,e);var n=t.prototype;return n.handleAddPaymentMethod=function(){(0,p.openModal)((function(e){return a.createElement(y.default,e)}))},n.renderFooter=function(){var e=this.props.paymentSources;return b(u.default,{justify:u.default.Justify.END,className:E.default.footer},void 0,0===Object.keys(e).length?b(u.default.Child,{},void 0,b(v.default,{},void 0,h.default.Messages.BILLING_NO_PAYMENT_METHOD),b("div",{className:E.default.subText},void 0,h.default.Messages.BILLING_NO_PAYMENT_METHOD_DESCRIPTION)):null,b(l.default,{onClick:this.handleAddPaymentMethod},void 0,h.default.Messages.BILLING_ADD_PAYMENT_METHOD))},n.render=function(){var e=this,t=this.props,n=t.defaultPaymentSourceId,r=t.paymentSources,i=t.locale,l=t.removing,p=t.submitting,v=t.premiumSubscriptionPaymentSourceId,y=o.default.values(r).sort((function(e,t){return e.id===n?-1:t.id===n||e.id>t.id?1:-1})),m=this.state.editingPayment,_=y.findIndex((function(e){return e.id===m})),g=y.map((function(t,r){return b(A,{locale:i,paymentSource:t,isDefault:n===t.id,onCancel:e.handleCancel,onDelete:e.handleDelete,isForSubscription:t.id===v,hideDivider:_===r-1,onSubmit:e.handleSubmit,index:r,submitting:p,removing:l,isEditing:m===t.id,onEditClick:e.handleEditClick},t.id)}));return b("div",{},void 0,b(f.default,{tag:f.default.Tags.H1},void 0,b(u.default,{align:u.default.Align.CENTER},void 0,b(s.default,{position:s.default.Positions.LEFT,text:h.default.Messages.BILLING_SECURE_TOOLTIP},void 0,(function(e){return a.createElement(c.default,I({className:E.default.lockIcon},e))})),h.default.Messages.BILLING_PAYMENT_SOURCES)),g,_!==y.length-1?b(d.default,{className:E.default.sourceDivider}):null,this.renderFooter())},t}(a.PureComponent);P.displayName="PaymentMethods";var R=P;t.default=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24"}),s("path",{className:f,fill:d,id:"a",d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM8.9 6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H8.9V6zM16 16h-3v3h-2v-3H8v-2h3v-3h2v3h3v2z"}))}d.displayName="SecureLock"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=M();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=b(n(9)),i=b(n(3)),l=b(n(2)),u=n(287),s=n(383),d=b(n(5833)),f=b(n(29)),c=b(n(467)),p=b(n(1160)),v=b(n(55)),y=b(n(1164)),m=b(n(149)),_=n(131),h=b(n(24)),E=n(48),g=b(n(5846)),S=b(n(11607)),O=b(n(6045)),I=n(1),T=b(n(6)),C=b(n(8150));function b(e){return e&&e.__esModule?e:{default:e}}function M(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return M=function(){return e},e}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function A(){return(A=Object.assign||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}).apply(this,arguments)}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var R="isDefault",L=N(_.FormDivider,{}),D=function(e){var t,n;function r(t){var n;(n=e.call(this,t)||this).handleSubmit=function(e){if(e.preventDefault(),e.stopPropagation(),0===Object.values(n.state.dirtyFields).filter(E.isNotNullish).length)n.props.onCancel();else{var t=n.state,r=t.billingAddress,a=t.isDefault,o=t.expiresMonth,i=t.expiresYear;n.props.onSubmit(n.props.paymentSource.id,{billingAddress:r,expiresMonth:o,expiresYear:i,isDefault:a})}},n.handleCancel=function(){n.props.onCancel()},n.handleDelete=function(){var e=n.props;(0,e.onDelete)(e.paymentSource.id)},n.handleAddressUpdate=function(e,t,r){n.setState({billingAddress:e,billingAddressValid:t,dirtyFields:A({},n.state.dirtyFields,{billingAddress:r})})},n.handleExpirationDateUpdate=function(e){var t=e.expirationDate.split("/"),r=t[0],a=t[1];n.handleFieldChange(Number(r),"expiresMonth"),n.handleFieldChange(Number(""+(new Date).getFullYear().toString().slice(0,2)+a),"expiresYear")},n.handleFieldChange=function(e,t){var r,a;null!=t&&n.setState(((a={})[t]=e,a.dirtyFields=A({},n.state.dirtyFields,((r={})[t]=!0,r)),a))};var r=t.paymentSource,a=t.isDefault,o=r.billingAddress;return n.state={billingAddress:{name:o.name||"",line1:o.line1||"",line2:o.line2||"",country:o.country||"",state:o.state||"",city:o.city||"",postalCode:o.postalCode||""},expiresMonth:r instanceof s.CreditCardSourceRecord?r.expiresMonth:void 0,expiresYear:r instanceof s.CreditCardSourceRecord?r.expiresYear:void 0,billingAddressValid:!1,isDefault:a,dirtyFields:{}},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,P(t,n);var i=r.prototype;return i.componentWillUnmount=function(){l.default.wait((function(){(0,u.clearUpdatePaymentSourceError)(),(0,u.clearRemovePaymentSourceError)()}))},i.renderError=function(){var e=this.props,t=e.updateError,n=e.removeError;return null==t||t.hasCardError()||t.hasAddressError()?null!=n?N(y.default,{className:C.default.formError},void 0,n.message):null:N(y.default,{className:C.default.formError},void 0,t.message)},i.renderBillingAddressSection=function(){var e=this.state.billingAddress,t=this.props,n=t.locale,r=t.updateError;return N("div",{className:C.default.addressSection},void 0,N(h.default,{className:C.default.sectionHeader},void 0,T.default.Messages.BILLING_ADDRESS),a.createElement(g.default,A({},e,{mode:g.default.Modes.EDIT,layout:"en-US"===n?g.default.Layouts.SETTINGS_US:g.default.Layouts.SETTINGS_INTL,onBillingAddressChange:this.handleAddressUpdate,error:r})))},i.renderCardExpirationSection=function(){var e=this.state,t=e.expiresMonth,n=e.expiresYear;if(null==t||null==n)return null;var r=t.toString().padStart(2,"0")+"/"+n.toString().padStart(2,"0").slice(-2);return N("div",{className:C.default.addressSection},void 0,N(h.default,{className:C.default.sectionHeader},void 0,T.default.Messages.BILLING_STEP_CREDIT_CARD_INFORMATION),N(S.default,{expirationDate:r,layout:S.default.Layouts.SETTINGS,onCardInfoChange:this.handleExpirationDateUpdate,error:this.props.updateError}))},i.renderActions=function(){var e=this.props,t=e.submitting,n=e.removing,r=e.isForSubscription,o=this.state.billingAddressValid;return N(v.default,{justify:v.default.Justify.BETWEEN,className:C.default.formActions},void 0,N("div",{className:C.default.disabledTooltipWrapper},void 0,r?N(m.default,{text:T.default.Messages.PAYMENT_SOURCE_DELETE_DISABLED_TOOLTIP},void 0,(function(e){return a.createElement("div",A({"aria-hidden":!0,className:C.default.disabledTooltipTarget},e))})):null,N(f.default,{type:"button",disabled:r||t,submitting:n,onClick:this.handleDelete,look:f.default.Looks.OUTLINED,color:f.default.Colors.RED},void 0,T.default.Messages.PAYMENT_SOURCE_DELETE)),N(v.default,{grow:0},void 0,N(f.default,{type:"button",disabled:t||n,onClick:this.handleCancel,look:f.default.Looks.LINK,color:f.default.Colors.PRIMARY},void 0,T.default.Messages.CANCEL),N(f.default,{submitting:t,disabled:!o||n,type:"submit",color:f.default.Colors.GREEN},void 0,T.default.Messages.SAVE)))},i.render=function(){var e=this,t=this.props,n=t.paymentSource,r=t.isDefault,a=t.locale,i=t.className,l=t.isForSubscription,u=this.state.isDefault,d=n instanceof s.CreditCardSourceRecord;return N(c.default,{editable:!0,className:(0,o.default)(C.default.card,i)},void 0,N("form",{onSubmit:this.handleSubmit,noValidate:!0},void 0,this.renderError(),N("div",{className:C.default.paymentSection},void 0,N(O.default,{paymentSource:n,isDefault:r,isForSubscription:l,locale:a}),n.invalid?N("div",{className:C.default.errorSubText},void 0,T.default.Messages.PAYMENT_SOURCE_INVALID_HELP):null,N("div",{className:C.default.subText},void 0,d?T.default.Messages.PAYMENT_SOURCE_EDIT_HELP_CARD:T.default.Messages.PAYMENT_SOURCE_EDIT_HELP_PAYPAL.format({paypalURL:I.PAYPAL_URL}))),this.renderCardExpirationSection(),this.renderBillingAddressSection(),N(p.default,{name:R,value:u,onChange:function(t,n){return e.handleFieldChange(n,R)},type:p.default.Types.INVERTED,className:C.default.defaultSection},void 0,N(h.default,{className:C.default.defaultCheckboxLabel},void 0,T.default.Messages.PAYMENT_SOURCE_MAKE_DEFAULT)),L,this.renderActions()))},r}(a.PureComponent);D.displayName="EditPaymentSourceForm",D.defaultProps={onDelete:function(){},onSubmit:function(){},onCancel:function(){}};var w=i.default.connectStores([d.default],(function(){return{updateError:d.default.editSourceError,removeError:d.default.removeSourceError}}))(D);t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i,l,u,s,d=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),f=S(n(8)),c=S(n(153)),p=S(n(10234)),v=n(295),y=S(n(11609)),m=S(n(11610)),_=S(n(11611)),h=S(n(5847)),E=S(n(6)),g=S(n(5708));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,o=arguments.length-3;if(t||0===o||(t={children:void 0}),1===o)t.children=r;else if(o>1){for(var l=new Array(o),u=0;u<o;u++)l[u]=arguments[u+3];t.children=l}if(t&&a)for(var s in a)void 0===t[s]&&(t[s]=a[s]);else t||(t=a||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(){return(b=Object.assign||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}).apply(this,arguments)}!function(e){e.CARD_NUMBER="cardNumber",e.EXPIRATION_DATE="expirationDate",e.CVC="cvc",e.NAME="name"}(u||(u={})),function(e){e.MODAL="modal",e.SETTINGS="settings"}(s||(s={}));var M=((r={})[u.CARD_NUMBER]={name:u.CARD_NUMBER,title:function(){return E.default.Messages.CREDIT_CARD_NUMBER},autoComplete:"cc-number",placeholder:function(){return E.default.Messages.PAYMENT_SOURCE_CARD_NUMBER},pattern:"\\d*",getClassNameForLayout:function(){return g.default.width100},renderInput:function(e,t){return d.createElement(m.default,b({},e,{inputRef:function(n){return t.setInputRef(e.name,n)},flipped:t.codeFocused,autoFocus:!0}))}},r[u.EXPIRATION_DATE]={name:u.EXPIRATION_DATE,title:function(){return E.default.Messages.CREDIT_CARD_EXPIRATION_DATE},autoComplete:"cc-exp",placeholder:function(){return E.default.Messages.PAYMENT_SOURCE_EXPIRATION_DATE_PLACEHOLDER},pattern:"\\d*",getClassNameForLayout:function(){return g.default.width50},renderInput:function(e,t){return d.createElement(_.default,b({},e,{inputRef:function(n){return t.setInputRef(e.name,n)}}))}},r[u.CVC]={name:u.CVC,title:function(){return E.default.Messages.CREDIT_CARD_CVC},autoComplete:"cc-csc",placeholder:function(){return E.default.Messages.CREDIT_CARD_SECURITY_CODE},pattern:"\\d*",getClassNameForLayout:function(){return g.default.width50},renderInput:function(e,t){return d.createElement(y.default,b({},e,{cardType:t.cardType,inputRef:function(n){return t.setInputRef(e.name,n)}}))}},r[u.NAME]={name:u.NAME,title:function(){return E.default.Messages.CREDIT_CARD_NAME_ON_CARD},autoComplete:"cc-name",placeholder:function(){return E.default.Messages.CREDIT_CARD_NAME},getClassNameForLayout:function(){return g.default.width100},renderInput:function(e,t){return d.createElement(c.default,b({},e,{inputRef:function(n){return t.setInputRef(e.name,n)}}))}},r),N=((a={})[s.MODAL]=[{fields:[M[u.CARD_NUMBER]]},{fields:[M[u.EXPIRATION_DATE],M[u.CVC]]},{fields:[M[u.NAME]]}],a[s.SETTINGS]=[{fields:[M[u.EXPIRATION_DATE]]}],a),A=function(e){var t,n;function r(){for(var t,n,r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(n=e.call.apply(e,[this].concat(a))||this).state={codeFocused:!1,values:(t={},t[u.CARD_NUMBER]=n.props[u.CARD_NUMBER],t[u.EXPIRATION_DATE]=n.props[u.EXPIRATION_DATE],t[u.CVC]=n.props[u.CVC],t[u.NAME]=n.props[u.NAME],t),dirtyFields:{},errors:{}},n._refs={},n.setRef=function(e,t){n._refs[e]=t},n.handleFieldBlur=function(e,t){var r={errors:n.validateForm(!0)};t===u.CVC&&(r.codeFocused=!1),n.setState(r)},n.handleFieldFocus=function(e,t){t===u.CVC&&n.setState({codeFocused:!0})},n.handleFieldChange=function(e,t,r){var a,o;if(void 0===r&&(r=!1),null==t)throw new Error("You must provide a name for the field.");var i=n.state,l=i.values,u=i.dirtyFields,s=i.errors;delete s[t],n.setState({values:b({},l,(a={},a[t]=e,a)),dirtyFields:b({},u,(o={},o[t]=!0,o)),errors:s},(function(){if(r){if(null==t)throw new Error("You must provide a name for the field.");var e,a=n.getNextFieldName(t);if(null!=a)null===(e=n._refs[a])||void 0===e||e.focus()}}))},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,C(t,n);var a=r.prototype;return a.componentDidMount=function(){var e,t=(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.ensureStripeIsLoaded)();case 2:l=e.sent,this.handleInfoChange();case 4:case"end":return e.stop()}}),e,this)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){T(o,r,a,i,l,"next",e)}function l(e){T(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}(),a.componentDidUpdate=function(e,t){this.state!==t&&this.handleInfoChange()},a.getNextFieldName=function(e){var t=this.props.layout,n=N[t],r=(0,f.default)(n).flatMap((function(e){return e.fields})).map((function(e){return e.name})).value(),a=r.indexOf(e);return-1===a||a===r.length-1?null:r[a+1]},a.validateForm=function(e){if(null==l)return{};var t=this.state,n=t.values,r=t.dirtyFields,a={};return e&&!r[u.CARD_NUMBER]||(n[u.CARD_NUMBER]?l.card.validateCardNumber(n[u.CARD_NUMBER])||(a[u.CARD_NUMBER]=E.default.Messages.CREDIT_CARD_ERROR_NUMBER):a[u.CARD_NUMBER]=E.default.Messages.CREDIT_CARD_ERROR_REQUIRED),e&&!r[u.EXPIRATION_DATE]||l.card.validateExpiry(n[u.EXPIRATION_DATE])||(a[u.EXPIRATION_DATE]=E.default.Messages.CREDIT_CARD_ERROR_EXPIRATION),e&&!r[u.CVC]||l.card.validateCVC(n[u.CVC])||(a[u.CVC]=E.default.Messages.CREDIT_CARD_ERROR_SECURITY_CODE),e&&!r[u.NAME]||n[u.NAME]||(a[u.NAME]=E.default.Messages.PAYMENT_SOURCE_NAME_ERROR_REQUIRED),a},a.handleInfoChange=function(){var e=this.state.values,t=this.validateForm(!1);this.props.onCardInfoChange(e,0===Object.keys(t).length)},a.render=function(){var e=this.props,t=e.layout,n=e.error,r=e.className,a=this.state,o=a.errors,i=a.codeFocused,l=a.values,s=N[t];if(null==s)throw new Error("Provide a proper layout property.");var d=p.default.getCreditCardType(l[u.CARD_NUMBER]);return I(h.default,{className:r,form:s,layout:t,values:l,errors:o,formError:n,onFieldChange:this.handleFieldChange,onFieldBlur:this.handleFieldBlur,onFieldFocus:this.handleFieldFocus,codeFocused:i,cardType:d,setInputRef:this.setRef})},r}(d.PureComponent);A.displayName="CardInfoForm",A.Layouts=s,A.defaultProps=((o={})[u.CARD_NUMBER]="",o[u.EXPIRATION_DATE]="",o[u.CVC]="",o[u.NAME]="",o.layout=s.MODAL,o);var P=A;t.default=P},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(153))&&r.__esModule?r:{default:r};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(){return(l=Object.assign||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}).apply(this,arguments)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._inputRef=null,t.setRef=function(e){var n=t.props.inputRef;t._inputRef=e,null!=n&&n(e)},t.handleChange=function(e,n){if(null!=t._inputRef){var r=t.props,a=r.cardType,o=r.onChange,i=a.code.size,l=e.length===i&&t._inputRef.selectionStart===i;null!=o&&o(e,n,l)}},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n),r.prototype.render=function(){var e=this.props,t=e.cardType,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["cardType"]);return a.createElement(o.default,l({},n,{inputMode:"numeric",onChange:this.handleChange,maxLength:t.code.size,inputRef:this.setRef}))},r}(a.PureComponent);t.default=s,s.displayName="CVCField"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(9)),i=d(n(700)),l=d(n(153)),u=d(n(10234)),s=d(n(8149));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).selectionStart=0,t.setRef=function(e){var n=t.props.inputRef;t._inputRef=e,null!=n&&n(e)},t.handleChange=function(e,n){var r=t.props,a=r.value,o=r.onChange,i=t._inputRef;if(e!==a&&null!=i&&null!=a){var l=u.default.prettifyCreditCardNumber(e),s=i.selectionStart;if(a===l)s-=1,l=u.default.prettifyCreditCardNumber(l.substring(0,s)+l.substring(s+1));else{var d=l.length-e.length;d>0&&(s+=d)}t.selectionStart=s;var f=t.getMaxLength(l),c=l.length===f&&t.selectionStart===f;null!=o&&o(l,n,c)}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var d=r.prototype;return d.componentDidUpdate=function(e){var t=this._inputRef;e.value!==this.props.value&&null!=t&&t.setSelectionRange(this.selectionStart,this.selectionStart)},d.getMaxLength=function(e){var t=null!=e?u.default.getCreditCardType(e):u.default.DEFAULT_CARD_TYPE;return t.lengths[t.lengths.length-1]+t.gaps.length},d.render=function(){var e=this.props,t=e.value,n=e.flipped,r=e.inputClassName,d=e.className,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["value","flipped","inputClassName","className"]),v=u.default.getCreditCardType(t),y=this.getMaxLength(t);return p("div",{className:(0,o.default)(s.default.cardNumberWrapper,d)},void 0,p(i.default,{className:s.default.cardIcon,type:v.type,flipped:n}),a.createElement(l.default,c({},f,{inputMode:"numeric",value:u.default.prettifyCreditCardNumber(t),onChange:this.handleChange,inputRef:this.setRef,maxLength:y,inputClassName:(0,o.default)(s.default.cardNumberInput,r)})))},r}(a.PureComponent);y.displayName="CardNumberField",y.defaultProps={flipped:!1};var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(153))&&r.__esModule?r:{default:r},i=n(10234);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=/[^0-9]/g,f=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).selectionStart=0,t.setRef=function(e){var n=t.props.inputRef;t._inputRef=e,null!=n&&n(e)},t.handleChange=function(e,n){var r=t.props,a=r.value,o=r.onChange,l=t._inputRef;if(e!==a&&null!=l&&null!=a){var u=(0,i.formatExpiration)(e),s=l.selectionStart;u===a&&u.length<=3&&a.includes("/")&&!e.includes("/")?u=u.replace(d,""):u===a&&e.includes("/")&&!a.includes("/")&&(u+="/"),u.length>e.length&&(s+=u.length-e.length),t.selectionStart=s;var f=u.split("/")[1],c=null!=f&&2===f.length&&s===u.length;null!=o&&o(u,n,c)}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var l=r.prototype;return l.componentDidUpdate=function(e){var t=this._inputRef;e.value!==this.props.value&&null!=t&&t.setSelectionRange(this.selectionStart,this.selectionStart)},l.render=function(){return a.createElement(o.default,u({},this.props,{inputMode:"numeric",onChange:this.handleChange,inputRef:this.setRef}))},r}(a.PureComponent);f.displayName="ExpirationDateTextField";var c=f;t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=j(n(0)),o=D(n(9)),i=j(n(3)),l=D(n(739)),u=D(n(274)),s=D(n(8316)),d=D(n(9180)),f=D(n(218)),c=D(n(183)),p=D(n(8377)),v=D(n(725)),y=D(n(15)),m=D(n(160)),_=D(n(39)),h=D(n(271)),E=j(n(29)),g=D(n(61)),S=j(n(8302)),O=D(n(371)),I=D(n(151)),T=D(n(8267)),C=n(131),b=D(n(255)),M=n(41),N=D(n(16)),A=n(1),P=D(n(6)),R=D(n(8153)),L=D(n(370));function D(e){return e&&e.__esModule?e:{default:e}}function w(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return w=function(){return e},e}function j(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=w();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function k(){return(k=Object.assign||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}).apply(this,arguments)}function U(e,t){return(U=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function G(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var F=i.default.connectStores([_.default],(function(){return{theme:_.default.theme}}))(S.default),B=function(e){var t,n,r,a=e.integration,o=(0,i.useStateFromStores)([v.default],(function(){return v.default.isJoining(a.id)}),[a.id]);return(0,i.useStateFromStores)([y.default],(function(){return y.default.getGuild(a.guild.id)}),[a.guild.id])||(r=G(E.default,{size:E.ButtonSizes.SMALL,onClick:function(){l.default.joinServer(a.id,(function(){}))},disabled:o},void 0,G("span",{},void 0,o?P.default.Messages.JOINING_GUILD:P.default.Messages.JOIN_GUILD))),G("div",{className:R.default.integration},void 0,G("div",{},void 0,G(O.default,{size:O.default.Sizes.SMALL,guild:a.guild,className:R.default.guildIcon}),G("div",{className:R.default.integrationInner},void 0,G(C.FormText,{className:R.default.integrationName},void 0,a.guild.toString()),G(h.default,{className:R.default.channelLink,href:null===(t=c.default.get(a.type))||void 0===t||null===(n=t.getPlatformUserUrl)||void 0===n?void 0:n.call(t,a.account)},void 0,a.account.name))),r)};B.displayName="Integration";var H=G(b.default,{width:16,height:16}),x=function(e){var t,n;function r(t){var n;(n=e.call(this,t)||this).handleReconnect=function(){(0,p.default)(n.props.account.type,"User Settings")},n.handleDisconnect=function(){var e=c.default.get(n.props.account.type);(0,M.openModal)((function(t){return a.createElement(f.default,k({title:P.default.Messages.DISCONNECT_ACCOUNT_TITLE.format({name:e.name}),body:P.default.Messages.DISCONNECT_ACCOUNT_BODY,confirmText:P.default.Messages.DISCONNECT_ACCOUNT,cancelText:P.default.Messages.CANCEL,onConfirm:n.props.onDisconnect},t))}))},n.handleVisibilityChange=function(e){var t=n.props.account,r=e?1:0;if(!t.verified)return n._inProgressVisibility=r,void(0,p.default)(t.type);n.setState({visibility:r}),l.default.setVisibility(t.type,t.id,r)},n.handleInProgressVisibilityChange=function(){if(null!=n._inProgressVisibility){var e=n.props.account;l.default.setVisibility(e.type,e.id,n._inProgressVisibility),n._inProgressVisibility=null}},n.handleFriendSyncChange=function(e){var t=n.props.account;n.setState({friendSync:e}),l.default.setFriendSync(t.type,t.id,e)},n.handleShowActivityChange=function(e){var t=n.props.account;n.setState({showActivity:e}),l.default.setShowActivity(t.type,t.id,e)};var r=t.account,o=r.friendSync,i=r.visibility,u=r.showActivity;return n.state={friendSync:o,visibility:i,showActivity:u,accountProps:t.account},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,U(t,n),r.getDerivedStateFromProps=function(e,t){var n=t.accountProps,r=n.friendSync,a=n.visibility,o=n.showActivity,i=e.account,l=i.friendSync,u=i.visibility,s=i.showActivity;return r!==l||a!==u||o!==s?{friendSync:l,visibility:u,showActivity:s,accountProps:e.account}:null};var o=r.prototype;return o.componentDidUpdate=function(e){var t=e.account.verified,n=this.props.account.verified;!t&&n&&this.handleInProgressVisibilityChange()},o.renderHeader=function(e){var t=this.props.account;return G("div",{className:R.default.connectionHeader},void 0,G("img",{alt:e.name,className:R.default.connectionIcon,src:e.icon.color}),G("div",{},void 0,G(C.FormText,{className:R.default.connectionAccountValue},void 0,t.name),G(C.FormText,{className:R.default.connectionAccountLabel,type:C.FormTextTypes.DESCRIPTION},void 0,c.default.get(t.type).name)),G(g.default,{className:R.default.connectionDelete,onClick:this.handleDisconnect,"aria-label":P.default.Messages.SERVICE_CONNECTIONS_DISCONNECT,focusProps:{offset:{top:-4,left:-4,right:-4}}},void 0,H))},o.renderConnectionOptions=function(e){var t,n,r=this.state,a=r.visibility,o=r.friendSync,i=r.showActivity,l=this.props.account;return A.FRIEND_SYNC_PLATFORM_TYPES.has(l.type)&&(t=G(T.default,{className:R.default.connectionOptionSwitch,hideBorder:!0,value:o,onChange:this.handleFriendSyncChange},void 0,G("span",{className:R.default.subEnabledTitle},void 0,P.default.Messages.SYNC_FRIENDS))),A.ACTIVITY_PLATFORM_TYPES.has(l.type)&&(n=G(T.default,{className:R.default.connectionOptionSwitch,hideBorder:!0,value:i,onChange:this.handleShowActivityChange},void 0,G("span",{className:R.default.subEnabledTitle},void 0,P.default.Messages.DISPLAY_ACTIVITY.format({platform:e.name})))),G("div",{className:R.default.connectionOptionsWrapper},void 0,G("div",{className:R.default.connectionOptions},void 0,G(T.default,{className:R.default.connectionOptionSwitch,hideBorder:!0,value:1===a,onChange:this.handleVisibilityChange},void 0,G("span",{className:R.default.subEnabledTitle},void 0,P.default.Messages.DISPLAY_ON_PROFILE)),n,t))},o.renderIntegrations=function(){var e=this.props.account;return e.revoked?G(C.FormItem,{className:R.default.integrationsWrapper},void 0,G(C.FormTitle,{tag:C.FormTitleTags.H5},void 0,G("span",{className:R.default.subEnabledTitle},void 0,P.default.Messages.SUB_ENABLED_SERVERS)),G(C.FormText,{},void 0,P.default.Messages.CONNECTED_ACCOUNT_REVOKED.format({onReconnect:this.handleReconnect}))):e.integrations.length>0?G(C.FormItem,{className:R.default.integrationsWrapper},void 0,G(C.FormTitle,{tag:C.FormTitleTags.H5},void 0,G("span",{className:R.default.subEnabledTitle},void 0,P.default.Messages.SUB_ENABLED_SERVERS)),G("div",{},void 0,e.integrations.map((function(e){return G(B,{integration:e},e.id)})))):void 0},o.renderDivider=function(){var e=this.props.account,t=e.revoked,n=e.integrations;if(t||n.length>0)return G(C.FormDivider,{className:R.default.connectedAccountSeparator})},o.render=function(){var e=this.props.account,t=c.default.get(e.type);return G("div",{className:R.default.connection},void 0,this.renderHeader(t),this.renderConnectionOptions(t),this.renderDivider(),this.renderIntegrations())},r}(a.PureComponent);x.displayName="ConnectedAccount";var V=G(s.default,{}),W=function(){var e,t,r=(0,i.useStateFromStores)([m.default],(function(){return m.default.hidePersonalInformation})),s=(0,i.useStateFromStores)([v.default],(function(){return v.default.isFetching()})),f=(0,i.useStateFromStores)([v.default],(function(){return v.default.getAccounts()})),p=(0,i.useStateFromStores)([_.default],(function(){return _.default.detectPlatformAccounts}));function y(e){u.default.updateRemoteSettings({detectPlatformAccounts:e})}return a.useEffect((function(){l.default.fetch()}),[]),r?V:G(C.FormSection,{className:R.default.connections,tag:C.FormTitleTags.H1,title:P.default.Messages.CONNECTIONS},void 0,G("div",{className:(0,o.default)(R.default.accountList,(t={},t[L.default.marginBottom20]=!N.default.embedded,t))},void 0,G(C.FormTitle,{className:L.default.marginBottom4},void 0,P.default.Messages.CONNECT_ACCOUNT_TITLE),G(C.FormText,{className:L.default.marginBottom8},void 0,P.default.Messages.CONNECT_ACCOUNT_DESCRIPTION),G("div",{className:R.default.connectedAccounts},void 0,c.default.filter((function(e){return e.enabled})).map((function(e){return G(d.default,{type:e.type,className:R.default.accountBtn,innerClassName:R.default.accountBtnInner},e.type)})))),function(){if(N.default.embedded)return G(T.default,{value:p,onChange:y,className:(0,o.default)(L.default.marginTop20,L.default.marginBottom20)},void 0,P.default.Messages.DETECT_PLATFORM_ACCOUNTS)}(),(e=s?G(I.default,{className:L.default.marginTop20,type:I.default.Type.SPINNING_CIRCLE}):0===f.length?G(F,{className:L.default.marginTop40},void 0,G(S.EmptyStateImage,{darkSrc:n(11613),lightSrc:n(11614),width:230,height:220}),G(S.EmptyStateText,{note:P.default.Messages.CONNECTED_ACCOUNTS_NONE},void 0,P.default.Messages.CONNECTED_ACCOUNTS_NONE_TITLE)):f.filter((function(e){return c.default.isSupported(e.type)})).map((function(e,t){return G(x,{account:e,onDisconnect:function(){return n=(t=e).type,r=t.id,void l.default.disconnect(n,r);var t,n,r}},t)})),G(C.FormItem,{className:R.default.connectionList},void 0,e)))};W.displayName="UserSettingsConnections";var Y=W;t.default=Y},function(e,t,n){e.exports=n.p+"65c84ff0161c0f951f99b035170afb1e.svg"},function(e,t,n){e.exports=n.p+"caefee6eec712590e489b96139423f9f.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=U(n(0)),o=j(n(9)),i=j(n(8)),l=j(n(3)),u=n(1402),s=j(n(8416)),d=j(n(8688)),f=n(1394),c=n(11616),p=n(307),v=n(277),y=j(n(267)),m=j(n(39)),_=U(n(29)),h=j(n(467)),E=U(n(8302)),g=j(n(55)),S=j(n(1159)),O=j(n(151)),I=j(n(8267)),T=j(n(153)),C=n(131),b=n(35),M=n(41),N=j(n(47)),A=j(n(24)),P=n(1),R=j(n(8154)),L=j(n(7347)),D=j(n(370)),w=j(n(5701));function j(e){return e&&e.__esModule?e:{default:e}}function k(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return k=function(){return e},e}function U(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=k();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function G(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function F(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){G(o,r,a,i,l,"next",e)}function l(e){G(o,r,a,i,l,"throw",e)}i(void 0)}))}}function B(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,H(e,t)}function H(e,t){return(H=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(){return(x=Object.assign||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}).apply(this,arguments)}function V(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var W=["discord_web","discord_marketing","discord_ios"],Y=[{value:"branch",label:"Branch Name"},{value:"id",label:"Build ID"}];function z(e){return new Promise((function(t){(0,M.openModal)((function(n){var r=function(e){n.onClose(),t(e)};return a.createElement(b.ModalRoot,x({},n,{"aria-label":"Choose A Project to Override"}),V(b.ModalHeader,{separator:!1},void 0,V(N.default,{tag:N.default.Tags.H2,size:N.default.Sizes.SIZE_20},void 0,"Choose A Project to Override")),V(b.ModalContent,{},void 0,V(g.default,{},void 0,e.map((function(e){return V(g.default.Child,{grow:0},e,V(_.default,{value:e,color:_.default.Colors.GREEN,onClick:function(){return r(e)}},void 0,e))})))),V(b.ModalFooter,{},void 0,V(_.default,{color:_.default.Colors.PRIMARY,look:_.default.Looks.LINK,onClick:function(){return r(null)}},void 0,"Nevermind")))}))}))}var K=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleRemoveBuildOverride=function(){t.props.onBuildOverrideRemoved(t.props.project)},t.handleOverrideIdChanged=function(e){t.props.onBuildOverrideUpdated(t.props.project,{id:e})},t.handleOverrideTypeChanged=function(e){t.props.onBuildOverrideUpdated(t.props.project,{type:e.value,id:""})},t}return B(t,e),t.prototype.render=function(){var e,t=this.props,n=t.project,r=t.overrideType,a=t.overrideId,i=t.disabled,l=t.error,u="branch"===r?"Branch Name":"Build ID";return V(g.default,{direction:g.default.Direction.VERTICAL,className:(0,o.default)(R.default.buildOverrideGroup,D.default.marginBottom20,L.default.card,R.default.row)},void 0,V(s.default,{className:(0,o.default)(R.default.removeBuildOverride,(e={},e[R.default.removeBuildOverrideDisabled]=i,e)),onClick:i?void 0:this.handleRemoveBuildOverride}),V(g.default,{className:D.default.marginBottom8},void 0,V(g.default.Child,{basis:"50%"},void 0,V(C.FormItem,{title:"Override Type",className:R.default.item},void 0,V(S.default,{options:Y,onChange:this.handleOverrideTypeChanged,value:r,disabled:i,clearable:!1,searchable:!1}))),V(g.default.Child,{basis:"50%"},void 0,V(C.FormItem,{title:u,className:R.default.item},void 0,V(T.default,{value:a,onChange:this.handleOverrideIdChanged,disabled:i})))),V(g.default.Child,{},void 0,l&&V(C.FormText,{className:R.default.item,style:{color:P.Colors.STATUS_RED},type:C.FormText.Types.DESCRIPTION},void 0,l),V(C.FormText,{className:R.default.item,type:C.FormText.Types.DESCRIPTION},void 0,"This controls the build that will be served for the ",V("code",{},void 0,n)," project.")))},t}(a.Component);K.displayName="BuildOverride";var $=V(E.EmptyStateText,{},void 0,"You have no build overrides configured."),Z=V(C.FormDivider,{}),q=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={loading:!0,buildOverrides:{},loadedBuildOverrides:{},errors:{},saving:!1,didSave:!1},t.handleAddBuildOverride=F(regeneratorRuntime.mark((function e(){var n,r,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,z(t.getAvailableProjects());case 2:if(null!=(r=e.sent)){e.next=5;break}return e.abrupt("return");case 5:a=x({},t.state.buildOverrides,((n={})[r]={type:"branch",id:""},n)),t.setState({buildOverrides:a});case 7:case"end":return e.stop()}}),e)}))),t.handleBuildOverrideUpdated=function(e,n){var r,a=t.state.buildOverrides,o=x({},null!=a?a[e]:{},{},n),i=x({},t.state.buildOverrides,((r={})[e]=o,r));t.setState({buildOverrides:i})},t.handleBuildOverrideRemoved=function(e){var n=x({},t.state.buildOverrides);delete n[e],t.setState({buildOverrides:n})},t.handleDiscardChanges=function(){t.setState({buildOverrides:i.default.cloneDeep(t.state.loadedBuildOverrides),errors:{},didSave:!1})},t.handleSaveChanges=F(regeneratorRuntime.mark((function e(){var n,r,a,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=(n=t.state.buildOverrides)){e.next=3;break}return e.abrupt("return");case 3:return t.setState({saving:!0}),e.next=6,(0,f.applyStaffBuildOverride)(n);case 6:200===(r=e.sent).status?(a=r.body,t.setState({buildOverrides:a,loadedBuildOverrides:i.default.cloneDeep(a),errors:{},didSave:!0,saving:!1})):400===r.status?(o=r.body,t.setState({errors:o,saving:!1,didSave:!1})):t.setState({saving:!1,didSave:!1});case 8:case"end":return e.stop()}}),e)}))),t.handleLinkGeneration=function(){var e=t.state.buildOverrides;(0,M.openModal)((function(t){return a.createElement(X,x({},t,{buildOverrides:e}))}))},t}B(t,e);var r=t.prototype;return r.refreshBuildOverrides=function(){var e=F(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.setState({loading:!0}),e.next=3,(0,p.getBuildOverride)();case 3:t=e.sent,this.setState({loading:!1,buildOverrides:t,loadedBuildOverrides:i.default.cloneDeep(t),errors:{}});case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),r.isDirty=function(){var e=this.state,t=e.buildOverrides,n=e.loadedBuildOverrides;return!i.default.isEqual(t,n)},r.componentDidMount=function(){this.refreshBuildOverrides()},r.getAvailableProjects=function(){var e=this.state.buildOverrides;if(null==e)return[];var t=Object.keys(e);return i.default.without.apply(i.default,[W].concat(t))},r.renderEmpty=function(){return V(E.default,{theme:m.default.theme,className:(0,o.default)(D.default.marginTop40,D.default.marginBottom20)},void 0,V(E.EmptyStateImage,{darkSrc:n(11617),lightSrc:n(11618),width:294,height:192}),$)},r.renderItems=function(){var e=this,t=this.state,n=t.buildOverrides,r=t.saving,a=t.errors;return null==n?null:i.default.map(n,(function(t,n){return V(K,{project:n,overrideType:t.type,overrideId:t.id,disabled:r,error:a[n],onBuildOverrideUpdated:e.handleBuildOverrideUpdated,onBuildOverrideRemoved:e.handleBuildOverrideRemoved},n)}))},r.renderRefreshButton=function(){return!this.state.didSave||this.isDirty()?null:V(g.default,{grow:0,direction:g.default.Direction.HORIZONTAL_REVERSE},void 0,V(g.default.Child,{grow:0},void 0,V(_.default,{onClick:function(){return location.reload()},color:_.default.Colors.PRIMARY},void 0,"Reload App")))},r.renderLinkButton=function(){var e=this.state.buildOverrides;return null==e||0===Object.keys(e).length?null:V(g.default,{grow:0,direction:g.default.Direction.HORIZONTAL_REVERSE},void 0,V(g.default.Child,{grow:0},void 0,V(_.default,{onClick:this.handleLinkGeneration,color:_.default.Colors.BRAND},void 0,"Generate Public Link")))},r.renderSaveButton=function(){if(!this.isDirty())return null;var e=this.state,t=e.saving,n=e.buildOverrides;return V(g.default,{grow:0,direction:g.default.Direction.HORIZONTAL_REVERSE},void 0,V(g.default.Child,{grow:0},void 0,V(_.default,{disabled:"discord_ios"in(n||{}),onClick:this.handleSaveChanges,submitting:t,color:_.default.Colors.GREEN},void 0,"Save Build Overrides")),V(g.default.Child,{grow:0},void 0,V(_.default,{onClick:this.handleDiscardChanges,disabled:t,color:_.default.Colors.RED},void 0,"Discard Changes")))},r.render=function(){var e,t=this.state,n=t.loading,r=t.saving,a=t.buildOverrides;e=n?V(O.default,{className:D.default.marginTop20}):null!=a&&0===Object.keys(a).length?this.renderEmpty():this.renderItems();var o=!r&&!n&&this.getAvailableProjects().length>0,i=null!=a&&"discord_ios"in a&&"stable"!==window.GLOBAL_ENV.RELEASE_CHANNEL?V(A.default,{color:A.default.Colors.STATUS_RED},void 0,"iOS build overrides must be generated on stable right now!"):null;return V(C.FormSection,{className:D.default.marginTop60},void 0,V(g.default,{className:D.default.marginBottom20},void 0,V(g.default.Child,{},void 0,V(C.FormTitle,{tag:C.FormTitleTags.H1},void 0,"Build Overrides")),V(g.default.Child,{grow:0},void 0,V(_.default,{size:_.ButtonSizes.SMALL,onClick:this.handleAddBuildOverride,disabled:!o},void 0,"Add Build Override"))),Z,V(g.default,{direction:g.default.Direction.VERTICAL},void 0,i,e,V(g.default,{grow:0,direction:g.default.Direction.HORIZONTAL_REVERSE},void 0,this.renderRefreshButton(),this.renderSaveButton(),this.renderLinkButton())))},t}(a.Component);q.displayName="BuildOverrides";var X=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={ttlSeconds:3600,releaseChannel:"all",userIds:[],userIdEntry:"",userIdEntryError:null,allowedVersions:[],allowedVersionEntry:"",allowedVersionEntryError:null,publicLink:" ",statusText:null,statusTextColor:A.default.Colors.STATUS_RED,allowLoggedOut:!1},t.setUserEntryError=function(e){t.setState({userIdEntryError:e})},t.setStatusMessage=function(e,n){t.setState({statusText:e,statusTextColor:n||A.default.Colors.STATUS_RED})},t.handleUserIDEntry=function(e){if(e=e.trim(),!/^\d+$/.test(e))return t.setUserEntryError("User IDs are numbers!");t.setState({userIdEntry:e})},t.handleUserEnter=function(e){e.charCode===P.KeyboardKeys.ENTER&&t.handleAddUser()},t.handleAddUser=function(){var e=t.state,n=e.userIds,r=e.userIdEntry;return 0===r.length?t.setUserEntryError("Enter a valid user ID!"):n.indexOf(r)>=0?t.setUserEntryError("You already added that user!"):void t.setState({userIds:[].concat(n,[r]),userIdEntry:""})},t.handleRemoveUser=function(e){var n=t.state.userIds;n=n.filter((function(t){return t!==e.value})),t.setState({userIds:n})},t.setAllowedVersionError=function(e){t.setState({allowedVersionEntryError:e})},t.handleAllowedVersionEntry=function(e){t.setState({allowedVersionEntry:e})},t.handleAllowedVersionEnter=function(e){e.charCode===P.KeyboardKeys.ENTER&&t.handleAddAllowedVersion()},t.handleAddAllowedVersion=function(){var e=t.state,n=e.allowedVersions,r=e.allowedVersionEntry;return 0===(r=r.trim()).length?t.setAllowedVersionError("Enter a valid version number!"):n.indexOf(r)>=0?t.setAllowedVersionError("You already added that version!"):void t.setState({allowedVersions:[].concat(n,[r]),allowedVersionEntry:"",allowedVersionEntryError:""})},t.handleRemoveAllowedVersion=function(e){var n=t.state.allowedVersions;n=n.filter((function(t){return t!==e.value})),t.setState({allowedVersions:n})},t.handleAllowLoggedOut=function(e){t.setState({allowLoggedOut:e})},t.handleExpirationChange=function(e){var n=e.value;t.setState({ttlSeconds:n})},t.handleReleaseChannelChange=function(e){var n=e.value;t.setState({releaseChannel:n})},t.generatePayload=function(){return{overrides:t.props.buildOverrides,meta:{release_channel:"all"===t.state.releaseChannel?null:t.state.releaseChannel,ttl_seconds:t.state.ttlSeconds,user_ids:t.state.userIds,allowed_versions:t.isIos()?t.state.allowedVersions:void 0,allow_logged_out:t.state.allowLoggedOut}}},t.handleGenerateLink=F(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.isIos()||0!==t.state.allowedVersions.length){e.next=3;break}return t.setAllowedVersionError("You must add at least one allowed version for iOS"),e.abrupt("return");case 3:return t.setStatusMessage(null),n=t.generatePayload(),e.next=7,(0,f.getPublicBuildOverrideLink)(n);case 7:!1!==(r=e.sent).error?t.setStatusMessage(r.error.toString(),A.default.Colors.STATUS_RED):(t.setState({publicLink:r.url.toString()}),0===n.meta.user_ids.length&&t.setStatusMessage("Warning! No users added to the whitelist! This link could be used by anyone to override their build.",A.default.Colors.STATUS_YELLOW));case 9:case"end":return e.stop()}}),e)}))),t}B(t,e);var r=t.prototype;return r.isIos=function(){return"discord_ios"in(this.props.buildOverrides||{})},r.renderSettingsForm=function(){var e=this,t=this.state,n=t.ttlSeconds,r=t.releaseChannel,o=t.userIdEntry,i=t.userIdEntryError,l=t.userIds,u=t.allowedVersions,s=t.allowedVersionEntry,d=t.allowedVersionEntryError,f=t.allowLoggedOut,p=c.BUILD_OVERRIDE_EXPIRATION_OPTIONS.find((function(e){return e.value===n})),v=u.map((function(e){return{label:e,value:e}})),y=l.map((function(e){return{label:e,value:e}}));return V(g.default,{direction:g.default.Direction.VERTICAL},void 0,V(C.FormItem,{title:"Expire After",className:D.default.marginBottom20},void 0,V(S.default,{value:null!=p?p.value:null,clearable:!1,searchable:!1,options:c.BUILD_OVERRIDE_EXPIRATION_OPTIONS,onChange:this.handleExpirationChange})),this.isIos()?null:V(C.FormItem,{title:"Release Channel",className:D.default.marginBottom20},void 0,V(S.default,{value:r,clearable:!1,searchable:!1,options:c.BUILD_OVERRIDE_RELEASE_CHANNEL_OPTIONS,onChange:this.handleReleaseChannelChange})),this.isIos()?a.createElement(a.Fragment,null,V(C.FormItem,{title:"Add allowed app version (required)",className:D.default.marginBottom20},void 0,V(g.default,{direction:g.default.Direction.HORIZONTAL},void 0,V(g.default.Child,{wrap:!0,basis:"90%"},void 0,V(T.default,{autoFocus:!0,value:s,onKeyPress:this.handleAllowedVersionEnter,error:d,onChange:this.handleAllowedVersionEntry,placeholder:"Example: 34.0"})),V(_.default,{onClick:this.handleAddAllowedVersion},void 0,"Add"))),V(C.FormItem,{title:"Remove allowed app version",className:D.default.marginBottom20},void 0,V(S.default,{options:v,onChange:this.handleRemoveAllowedVersion,disabled:0===u.length}))):null,this.isIos()?null:a.createElement(a.Fragment,null,V(C.FormItem,{title:"Add User ID (optional)",className:D.default.marginBottom20},void 0,V(g.default,{direction:g.default.Direction.HORIZONTAL},void 0,V(g.default.Child,{wrap:!0,basis:"90%"},void 0,V(T.default,{autoFocus:!0,value:o,onKeyPress:this.handleUserEnter,error:i,onBlur:function(){return e.setUserEntryError("")},onChange:this.handleUserIDEntry})),V(_.default,{onClick:this.handleAddUser},void 0,"Add"))),V(C.FormItem,{title:"Remove User ID",className:D.default.marginBottom20},void 0,V(S.default,{options:y,onChange:this.handleRemoveUser,disabled:0===l.length}))),V(I.default,{onChange:this.handleAllowLoggedOut,value:f},void 0,"Allow logged out users"))},r.renderPayloadBlock=function(){var e=JSON.stringify(this.generatePayload(),null,2),t=function(){return e},r=V(v.LazyLibrary,{createPromise:function(){return Promise.resolve().then(n.t.bind(null,1231,7))},webpackId:1231,renderFallback:t,render:function(n){var r=n.highlight("json",e,!0);return null==r?t():V("code",{className:"hljs scroller "+r.language+" "+w.default.scrollbarGhost+" "+R.default.codebox,dangerouslySetInnerHTML:{__html:r.value}})}});return V(h.default,{},void 0,V("pre",{},void 0,r))},r.renderLinkForm=function(){var e=this.state,t=e.statusTextColor,n=e.statusText,r=e.publicLink;return V("div",{},void 0,V(C.FormItem,{title:"Signed Link"},void 0,V(g.default,{},void 0,V(g.default.Child,{wrap:!0,basis:"75%"},void 0,V(d.default,{value:r})),V(_.default,{onClick:this.handleGenerateLink},void 0,"Generate Link"))),V(A.default,{color:t,className:D.default.marginBottom8+" "+D.default.marginTop8},void 0,n))},r.render=function(){var e=this.props,t=e.onClose,n=e.transitionState;return V(b.ModalRoot,{size:b.ModalSize.LARGE,transitionState:n,"aria-label":"Generate Public Build Override Link"},void 0,V(b.ModalHeader,{justify:g.default.Justify.BETWEEN,separator:!1},void 0,V(N.default,{tag:N.default.Tags.H2,size:N.default.Sizes.SIZE_20},void 0,"Generate Public Build Override Link"),V(b.ModalCloseButton,{onClick:t})),V(b.ModalContent,{},void 0,V(g.default,{},void 0,this.renderSettingsForm(),this.renderPayloadBlock()),this.renderLinkForm()))},t}(a.Component);X.displayName="BuildOverrideLinkModal";var J=function(e){var t=e.isTracingRequests,n=e.isForcedCanary,r=e.isLoggingGatewayEvents,a=e.isLoggingOverlayEvents,o=e.isLoggingAnalyticsEvents,i=(e.isAxeEnabled,e.isSourceMapsEnabled),l=e.isAnalyticsDebuggerEnabled;return V(C.FormSection,{title:"Developer Flags",tag:C.FormTitleTags.H1},void 0,V(I.default,{value:t,note:"Force trace all client requests with APM",onChange:function(e){return(0,u.setDeveloperOptionSettings)({trace:e})}},void 0,"Enable Tracing Requests"),V(I.default,{value:n,note:"Force all API requests to canary instances",onChange:function(e){return(0,u.setDeveloperOptionSettings)({canary:e})}},void 0,"Enable Forced Canary"),V(I.default,{value:r,note:"Logs all incoming and outgoing gateway events to the developer console, enable verbose logging in the developer console to see!",onChange:function(e){return(0,u.setDeveloperOptionSettings)({logGatewayEvents:e})}},void 0,"Enable Logging of Gateway Events to Console"),V(I.default,{value:a,note:"Logs all overlay related RPC events. Super noisy if an overlay is connected",onChange:function(e){return(0,u.setDeveloperOptionSettings)({logOverlayEvents:e})}},void 0,"Enable Logging of Overlay RPC Events & Commands"),V(I.default,{value:o,note:"Logs all analytics events to the developer console",onChange:function(e){return(0,u.setDeveloperOptionSettings)({logAnalyticsEvents:e})}},void 0,"Enable Logging of Analytics Events"),V(I.default,{value:i,note:"Only enable on devices you trust.",onChange:function(e){return(0,u.setDeveloperOptionSettings)({sourceMapsEnabled:e})}},void 0,"Enable source maps to be loaded on this client"),V(I.default,{value:l,note:"Displays a floating debugger with viewed impressions",onChange:function(e){return(0,u.setDeveloperOptionSettings)({analyticsDebuggerEnabled:e})}},void 0,"Enable standard analytics debugger view"),null)};J.displayName="DeveloperFlagsInner";var Q=l.default.connectStores([y.default],(function(){return{isTracingRequests:y.default.isTracingRequests,isForcedCanary:y.default.isForcedCanary,isLoggingGatewayEvents:y.default.isLoggingGatewayEvents,isLoggingOverlayEvents:y.default.isLoggingOverlayEvents,isLoggingAnalyticsEvents:y.default.isLoggingAnalyticsEvents,isAxeEnabled:y.default.isAxeEnabled,isSourceMapsEnabled:y.default.sourceMapsEnabled,isAnalyticsDebuggerEnabled:y.default.isAnalyticsDebuggerEnabled}}))(J),ee=V(a.Fragment,{},void 0,V(Q,{}),V(q,{})),te=function(e){function t(){return e.apply(this,arguments)||this}return B(t,e),t.prototype.render=function(){return ee},t}(a.PureComponent);te.displayName="UserSettingsModalDeveloperOptions";var ne=te;t.default=ne},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BUILD_OVERRIDE_RELEASE_CHANNEL_OPTIONS=t.BUILD_OVERRIDE_EXPIRATION_OPTIONS=void 0;t.BUILD_OVERRIDE_EXPIRATION_OPTIONS=[{value:3600,label:"1 Hour"},{value:86400,label:"1 Day"},{value:259200,label:"3 Days"},{value:604800,label:"1 Week"},{value:1209600,label:"2 Weeks"},{value:1814400,label:"3 Weeks"},{value:2628e3,label:"1 Month"}];t.BUILD_OVERRIDE_RELEASE_CHANNEL_OPTIONS=[{value:"all",label:"All"},{value:"canary",label:"Canary"},{value:"ptb",label:"PTB"},{value:"stable",label:"Stable"},{value:"staging",label:"Staging"}]},function(e,t,n){e.exports=n.p+"59c726954bd8424f376ca3a7eedc4c54.svg"},function(e,t,n){e.exports=n.p+"fe5ef0f14b8d025d73465e2d76913e20.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=U(n(0)),o=j(n(9)),i=j(n(3)),l=j(n(478)),u=j(n(274)),s=j(n(8416)),d=j(n(79)),f=j(n(39)),c=U(n(29)),p=j(n(61)),v=j(n(282)),y=U(n(8302)),m=j(n(1175)),_=j(n(10225)),h=j(n(1159)),E=j(n(8267)),g=j(n(149)),S=j(n(8382)),O=n(131),I=j(n(8662)),T=j(n(10465)),C=j(n(489)),b=n(393),M=j(n(16)),N=n(1),A=j(n(6)),P=j(n(8155)),R=j(n(5958)),L=j(n(1170)),D=j(n(7347)),w=j(n(370));function j(e){return e&&e.__esModule?e:{default:e}}function k(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return k=function(){return e},e}function U(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=k();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function G(){return(G=Object.assign||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}).apply(this,arguments)}function F(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function B(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,H(e,t)}function H(e,t){return(H=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var x=i.default.connectStores([f.default],(function(){return{theme:f.default.theme}}))(y.default),V=M.default.isWindows(),W=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={selectedValue:null},t.handleGameChange=function(e){var n=e.value;t.setState({selectedValue:n})},t.handleAdd=function(){var e=t.state.selectedValue;null!=e&&(l.default.addGame(e),(0,t.props.onClose)())},t.handleClose=function(){(0,t.props.onClose)()},t}return B(t,e),t.prototype.render=function(){var e=this.props.candidates,t=this.state.selectedValue,n=e.map((function(e){return{value:e.pid,label:null!=e.name?e.name:""}}));return F(v.default,{className:(0,o.default)(P.default.addGamePopout,R.default.elevationBorderHigh),"aria-label":A.default.Messages.SETTINGS_GAMES_ADD_NEW_GAME},void 0,F(h.default,{clearable:!1,options:n,onChange:this.handleGameChange,value:t,autofocus:!0}),F(O.FormDivider,{className:(0,o.default)(w.default.marginTop8,w.default.marginBottom8)}),F("div",{className:(0,o.default)(P.default.actions,L.default.horizontal)},void 0,F(c.default,{className:P.default.cancelButton,look:c.ButtonLooks.LINK,color:c.ButtonColors.GREY,onClick:this.handleClose},void 0,A.default.Messages.CANCEL),F(c.default,{disabled:null==t,onClick:this.handleAdd},void 0,A.default.Messages.SETTINGS_GAMES_ADD_NEW_GAME)))},t}(a.PureComponent);W.displayName="AddGamePopout";var Y=i.default.connectStores([d.default],(function(){return{candidates:d.default.getCandidateGames()}}))(W),z=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={editingName:null!=t.props.game&&t.props.game.name||"",gameName:null!=t.props.game&&t.props.game.name||""},t.handleRemoveClick=function(){var e=t.props.game;null!=e&&l.default.deleteEntry(e)},t.handleNameEdit=function(){var e=t.props.game,n=t.state.editingName;null!=e&&e.name!==n&&l.default.editName(e,n)},t.handleNameChange=function(e){t.setState({editingName:e.target.value})},t.handleOverlayToggle=function(){var e=t.props.game;null!=e&&l.default.toggleOverlay(e)},t}B(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.game,r=e.nowPlaying,a=t.editingName,o=t.gameName;return r&&null!=n&&n.name!==o&&n.name!==a?{editingName:n.name,gameName:n.name}:{gameName:null!=n?n.name:""}};var n=t.prototype;return n.renderName=function(){var e=this.props,t=e.game,n=e.isOverride;return null==t?F("div",{className:P.default.gameName},void 0,A.default.Messages.SETTINGS_GAMES_NO_GAME_DETECTED):t.verified&&!n?F("div",{className:P.default.detectedApplication},void 0,F("div",{className:P.default.gameName},void 0,t.name),F(g.default,{text:A.default.Messages.SETTINGS_GAMES_VERIFIED_ICON},void 0,(function(e){return a.createElement(m.default,G({className:P.default.gameVerifiedIcon,size:18,color:N.Colors.BRAND_500},e),F(C.default,{width:18,height:18,color:N.Colors.WHITE}))}))):F("input",{className:(0,o.default)(P.default.gameName,P.default.gameNameInput),type:"text",maxLength:128,value:this.state.editingName,onBlur:this.handleNameEdit,onKeyDown:this.handleEnterKey,onChange:this.handleNameChange})},n.renderLastPlayed=function(){var e=this.props,t=e.game,n=e.nowPlaying;if(null==t)return F("div",{className:P.default.lastPlayed},void 0,A.default.Messages.SETTINGS_GAMES_NOT_PLAYING);var r,a=t.played,o=t.exePath;return n?r=A.default.Messages.SETTINGS_GAMES_NOW_PLAYING_STATE:a&&(r=A.default.Messages.SETTINGS_GAMES_LAST_PLAYED.format({when:a})),F("div",{className:P.default.lastPlayed},void 0,F(_.default,{hoverText:o?o.toUpperCase():""},void 0,r))},n.renderOverlayToggle=function(){var e=this,t=this.props.game;if(!V||null==t)return null;var n=t.overlay,r=t.overlayWarn,i=n?A.default.Messages.SETTINGS_GAMES_OVERLAY_ON:A.default.Messages.SETTINGS_GAMES_OVERLAY_OFF,l=n?F(I.default,{className:P.default.overlayToggleIconOn,foreground:P.default.fill}):F(T.default,{className:P.default.overlayToggleIconOff,foreground:P.default.fill}),u=r?F(g.default,{text:A.default.Messages.SETTINGS_GAMES_OVERLAY_WARNING},void 0,(function(e){return a.createElement("i",G({className:P.default.overlayWarningIcon},e))})):null;return F("div",{className:(0,o.default)(L.default.flexCenter,L.default.noWrap,L.default.justifyBetween)},void 0,u,F("div",{className:P.default.overlayStatusText},void 0,i),F(g.default,{text:A.default.Messages.SETTINGS_GAMES_TOGGLE_OVERLAY},void 0,(function(t){var n=t.onMouseEnter,r=t.onMouseLeave;return F(p.default,{"aria-label":A.default.Messages.SETTINGS_GAMES_TOGGLE_OVERLAY,className:P.default.overlayToggleIcon,onClick:e.handleOverlayToggle,onMouseEnter:n,onMouseLeave:r},void 0,l)})))},n.renderRemove=function(){return F(s.default,{className:P.default.removeGame,onClick:this.handleRemoveClick})},n.render=function(){var e,t=this.props,n=t.nowPlaying,r=t.game,a=t.isOverride,i=null!=r;return F("div",{className:(0,o.default)(L.default.flexCenter,((e={})[P.default.game]=!n,e[P.default.activeGame]=n,e[D.default.card]=!n,e[P.default.nowPlaying]=i&&n,e[P.default.notDetected]=!i&&n,e))},void 0,F("div",{className:(0,o.default)(P.default.gameNameLastPlayed,L.default.vertical)},void 0,this.renderName(),this.renderLastPlayed()),this.renderOverlayToggle(),null==r||n&&!a?null:this.renderRemove())},n.handleEnterKey=function(e){13===e.keyCode&&(e.target.blur(),e.preventDefault())},t}(a.PureComponent);function K(e){var t=e.children;return F(x,{className:w.default.marginTop40},void 0,F(y.EmptyStateImage,{darkSrc:n(11620),lightSrc:n(11621),width:430,height:250}),t)}z.displayName="Game",z.defaultProps={nowPlaying:!1,isOverride:!1},K.displayName="GameEmptyStateImage";var $=F(K,{}),Z=function(e){function t(){return e.apply(this,arguments)||this}B(t,e);var n=t.prototype;return n.componentDidMount=function(){d.default.watchCandidateGames(!0)},n.componentWillUnmount=function(){d.default.watchCandidateGames(!1)},n.handleToggleShowCurrentGame=function(e){u.default.updateRemoteSettings({showCurrentGame:e})},n.renderPopout=function(e){return a.createElement(Y,e)},n.renderGameList=function(){var e=this.props,t=e.gameHistory,n=e.overrideExePaths;return t.length?F(O.FormSection,{className:w.default.marginTop40},void 0,F(O.FormTitle,{className:w.default.marginBottom4},void 0,A.default.Messages.SETTINGS_GAMES_ADDED_GAMES_LABEL),t.map((function(e){return F(z,{game:e,isOverride:n.has(e.exePath)},e.exePath)}))):F(K,{},void 0,F(y.EmptyStateText,{},void 0,A.default.Messages.SETTINGS_GAMES_NO_GAMES_HEADER))},n.renderGameDetails=function(){if(!M.default.embedded)return $;var e=this.props,t=e.runningGame,n=e.overrideExePaths;return a.createElement(a.Fragment,null,F(z,{game:t,isOverride:null!=t&&n.has(t.exePath),nowPlaying:!0}),F("div",{className:(0,o.default)(P.default.nowPlayingAdd,w.default.marginReset,w.default.marginTop8,w.default.marginBottom20)},void 0,F("span",{},void 0,A.default.Messages.SETTINGS_GAMES_NOT_SEEING_GAME),F(S.default,{closeOnScroll:!1,render:this.renderPopout,shadow:!1,position:S.default.Positions.BOTTOM},void 0,F(c.default,{look:c.ButtonLooks.LINK,size:c.ButtonSizes.MIN,color:c.ButtonColors.LINK},void 0,A.default.Messages.SETTINGS_GAMES_ADD_GAME))),this.renderGameList())},n.render=function(){var e=this.props.showCurrentGame,t=M.default.embedded?A.default.Messages.SHOW_CURRENT_ACTIVITY_DESC_EMBEDDED:A.default.Messages.SHOW_CURRENT_ACTIVITY_DESC;return F(a.Fragment,{},void 0,F(O.FormSection,{tag:O.FormTitle.Tags.H1,title:A.default.Messages.ACTIVITY_STATUS},void 0,F(E.default,{value:e,onChange:this.handleToggleShowCurrentGame,note:t},void 0,A.default.Messages.SHOW_CURRENT_ACTIVITY),this.renderGameDetails()))},t}(a.PureComponent);Z.displayName="UserSettingsGameActivity";var q=(0,b.cachedFunction)((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new Set(t.map((function(e){return e.exePath})))})),X=i.default.connectStores([f.default,d.default],(function(){return{showCurrentGame:f.default.showCurrentGame,gameHistory:d.default.getGamesSeen(!0),runningGame:d.default.getSettingsGame(),overrideExePaths:q.apply(void 0,d.default.getOverrides())}}))(Z);t.default=X},function(e,t,n){e.exports=n.p+"d01c53acda73318e5b39676ef8242eb7.svg"},function(e,t,n){e.exports=n.p+"bb8e02d970950bdadb649d765f3b8488.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(3)),i=h(n(11623)),l=h(n(11626)),u=h(n(11641)),s=h(n(11642)),d=h(n(12)),f=h(n(467)),c=h(n(47)),p=h(n(24)),v=h(n(11643)),y=n(1),m=h(n(6)),_=h(n(8165));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var O=g(i.default,{}),I=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n);var o=r.prototype;return o.renderIntroHeader=function(){return null==this.props.houseMembership?m.default.Messages.HYPESQUAD_HEADING:m.default.Messages.HYPESQUAD_HEADING_EXISTING_MEMBER},o.render=function(){var e=this.props,t=e.houseMembership,n=e.isClaimed,r=e.isVerified;return g(a.Fragment,{},void 0,g("div",{className:_.default.intro},void 0,g(c.default,{size:c.default.Sizes.SIZE_32,className:_.default.introHeader},void 0,this.renderIntroHeader()),g(p.default,{size:p.default.Sizes.SIZE_20},void 0,m.default.Messages.HYPESQUAD_SUBHEADING)),g(v.default,{className:_.default.verificationNotice,unclaimedNotice:m.default.Messages.HYPESQUAD_UNCLAIMED_ACCOUNT_NOTICE,unverifiedNotice:m.default.Messages.HYPESQUAD_UNVERIFIED_EMAIL_NOTICE}),g(l.default,{houseMembership:t,isClaimed:n,isVerified:r}),O,g(u.default,{isHypeSquadOnlineMember:null!=t}),g(f.default,{className:_.default.attendeeCTA},void 0,m.default.Messages.HYPESQUAD_ATTENDEE_CTA.format({url:y.MarketingURLs.HYPESQUAD})))},r}(a.PureComponent);I.displayName="UserSettingsHypeSquad";var T=o.default.connectStores([d.default,s.default],(function(){var e=d.default.getCurrentUser();return{houseMembership:s.default.getHouseMembership(),isClaimed:e.isClaimed(),isVerified:e.verified}}))(I);t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(11624)),i=d(n(11625)),l=d(n(47)),u=d(n(6)),s=d(n(8158));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n),r.prototype.render=function(){return c("div",{className:s.default.features},void 0,c(i.default,{className:s.default.video,videoID:"SWzB1mx2o5k"}),c(l.default,{className:s.default.perksHeading},void 0,u.default.Messages.HYPESQUAD_PERKS_HEADING),c(o.default,{features:[{icon:s.default.perkNewsletter,title:u.default.Messages.HYPESQUAD_PERK_TITLE_NEWSLETTER,description:u.default.Messages.HYPESQUAD_PERK_DESCRIPTION_NEWSLETTER},{icon:s.default.perkBadge,title:u.default.Messages.HYPESQUAD_PERK_TITLE_PROFILE_BADGE,description:u.default.Messages.HYPESQUAD_PERK_DESCRIPTION_PROFILE_BADGE},{icon:s.default.perkChallenges,title:u.default.Messages.HYPESQUAD_PERK_TITLE_SQUAD_CHALLENGES,description:u.default.Messages.HYPESQUAD_PERK_DESCRIPTION_SQUAD_CHALLENGES}]}))},r}(a.Component);v.displayName="HypeSquadPerks";var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=s(n(55)),l=s(n(8156)),u=s(n(370));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),r.prototype.render=function(){var e=this.props,t=e.features,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["features"]);return t.map((function(e,t){var r;return null==e.predicate||e.predicate(n)?f(i.default,{align:i.default.Align.CENTER,className:(0,o.default)(u.default.marginTop20,l.default.feature,(r={},r[l.default.featureBorder]=0!==t,r))},t,null!=e.icon?f("div",{className:(0,o.default)(l.default.icon,e.icon)}):null,f("div",{},void 0,null!=e.title?f("div",{className:(0,o.default)(u.default.marginBottom8,l.default.title)},void 0,e.title):null,f("div",{className:l.default.description},void 0,e.description))):null}))},r}(a.Component);t.default=p,p.displayName="FeatureList"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=s(n(8524)),l=n(1),u=s(n(8157));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),r.prototype.render=function(){var e=this.props,t=e.className,n=e.videoID,r=e.videoClassName;return f(i.default,{aspectRatio:16/9,className:(0,o.default)(t,u.default.videoWrapper)},void 0,f("iframe",{className:(0,o.default)(r,u.default.video),src:"https://www.youtube.com/embed/"+n+"?rel=0&showinfo=0&controls=1&origin=https://"+l.PRIMARY_DOMAIN,allowFullScreen:!0,sandbox:"allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"}))},r}(a.Component);t.default=p,p.displayName="PromoVideo"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i,l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),u=g(n(9)),s=g(n(29)),d=g(n(61)),f=g(n(55)),c=n(41),p=g(n(47)),v=g(n(24)),y=n(10485),m=g(n(11627)),_=n(1),h=g(n(6)),E=g(n(8162));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,o=arguments.length-3;if(t||0===o||(t={children:void 0}),1===o)t.children=r;else if(o>1){for(var l=new Array(o),u=0;u<o;u++)l[u]=arguments[u+3];t.children=l}if(t&&a)for(var s in a)void 0===t[s]&&(t[s]=a[s]);else t||(t=a||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var T=((r={})[_.HypeSquadHouses.HOUSE_1]=E.default.membershipDialogHouse1,r[_.HypeSquadHouses.HOUSE_2]=E.default.membershipDialogHouse2,r[_.HypeSquadHouses.HOUSE_3]=E.default.membershipDialogHouse3,r),C=((a={})[_.HypeSquadHouses.HOUSE_1]=E.default.houseLogoHouse1,a[_.HypeSquadHouses.HOUSE_2]=E.default.houseLogoHouse2,a[_.HypeSquadHouses.HOUSE_3]=E.default.houseLogoHouse3,a),b=((o={})[_.HypeSquadHouses.HOUSE_1]=n(11638),o[_.HypeSquadHouses.HOUSE_2]=n(11639),o[_.HypeSquadHouses.HOUSE_3]=n(11640),o),M=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleJoinHypeSquadClick=function(){(0,c.openModal)((function(e){return l.createElement(m.default,e)}))},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,I(t,n),r.prototype.render=function(){var e,t,n=this.props,r=n.houseMembership,a=n.isClaimed,o=n.isVerified;if(!a||!o)return null;if(null!=r){var i=h.default.Messages.HYPESQUAD_MEMBERSHIP_HEADING.format({houseName:(0,y.getHouseNameFromHouseID)(r)});return O("div",{className:(0,u.default)(E.default.membershipDialog,T[r])},void 0,O("div",{className:E.default.membershipDialogContent},void 0,O(f.default,{},void 0,O(f.default.Child,{grow:1,shrink:1},void 0,O(v.default,{className:E.default.membershipDialogHeading,size:v.default.Sizes.SIZE_12},void 0,h.default.Messages.HYPESQUAD_YOUR_HOUSE),O(p.default,{className:E.default.membershipDialogHouseName},void 0,i),O(v.default,{className:E.default.membershipDialogHouseDescription,size:v.default.Sizes.SIZE_16},void 0,(e=r,((t={})[_.HypeSquadHouses.HOUSE_1]=h.default.Messages.HYPESQUAD_DESCRIPTION_HOUSE_1,t[_.HypeSquadHouses.HOUSE_2]=h.default.Messages.HYPESQUAD_DESCRIPTION_HOUSE_2,t[_.HypeSquadHouses.HOUSE_3]=h.default.Messages.HYPESQUAD_DESCRIPTION_HOUSE_3,t)[e]))),O(f.default.Child,{className:E.default.houseLogoWrapper,grow:0,shrink:0,wrap:!0},void 0,O("img",{className:(0,u.default)(E.default.houseLogo,C[r]),src:b[r],alt:i}))),O(v.default,{className:E.default.membershipDialogSwitchHouses,size:v.default.Sizes.SIZE_16},void 0,h.default.Messages.HYPESQUAD_SWITCH_HOUSES_PROMPT,O(d.default,{className:E.default.membershipDialogSwitchHousesAction,onClick:this.handleJoinHypeSquadClick,tag:"span"},void 0,h.default.Messages.HYPESQUAD_SWITCH_HOUSES_ACTION))))}return O("div",{className:E.default.joinCTAWrapper},void 0,O(f.default,{className:E.default.joinCTA,align:f.default.Align.CENTER,justify:f.default.Justify.CENTER,direction:f.default.Direction.HORIZONTAL},void 0,O(f.default.Child,{grow:0,shrink:0},void 0,O(v.default,{},void 0,h.default.Messages.HYPESQUAD_READY_TO_REP)),O(f.default.Child,{grow:0,shrink:0},void 0,O(s.default,{onClick:this.handleJoinHypeSquadClick},void 0,h.default.Messages.HYPESQUAD_JOIN))),O(v.default,{className:E.default.newsletterWarning},void 0,h.default.Messages.HYPESQUAD_NEWSLETTER_WARNING))},r}(l.Component);t.default=M,M.displayName="JoinHypeSquadCTA"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a,o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),l=O(n(9)),u=O(n(469)),s=O(n(10486)),d=O(n(29)),f=n(85),c=n(35),p=O(n(47)),v=O(n(24)),y=n(10485),m=O(n(11628)),_=O(n(11629)),h=n(1),E=O(n(6)),g=O(n(8161)),S=O(n(370));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(){return(T=Object.assign||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}).apply(this,arguments)}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e,t,n,r){o||(o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&a)for(var s in a)void 0===t[s]&&(t[s]=a[s]);else t||(t=a||{});return{$$typeof:o,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var M=function(e){return b("div",{className:g.default.innerContentWrapper},void 0,e.children)};M.displayName="InnerContentWrapper";var N=((r={})[h.HypeSquadHouses.HOUSE_1]=n(11635),r[h.HypeSquadHouses.HOUSE_2]=n(11636),r[h.HypeSquadHouses.HOUSE_3]=n(11637),r),A=((a={})[h.HypeSquadHouses.HOUSE_1]=g.default.quizResultLogoWrapperHouse1,a[h.HypeSquadHouses.HOUSE_2]=g.default.quizResultLogoWrapperHouse2,a[h.HypeSquadHouses.HOUSE_3]=g.default.quizResultLogoWrapperHouse3,a),P=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={currentStep:0,hasSubmittedHouse:!1,hasUnknownError:!1,isRequestPending:!1,questions:(0,y.getQuestions)(),responses:{},selectedHouse:null},t.headerId=(0,f.uid)(),t.handleQuestionSelect=function(e){t.setState((function(t){var n;return{responses:T({},t.responses,(n={},n[t.currentStep]=e,n))}}))},t.handleSubmitButtonClick=function(){var e=t.getSelectedHouseID();t.setState({isRequestPending:!0},(function(){s.default.joinHypeSquadOnline({houseID:e}).then((function(){t.setState({hasUnknownError:!1,hasSubmittedHouse:!0,isRequestPending:!1,selectedHouse:e})})).catch((function(){t.setState({hasUnknownError:!0,hasSubmittedHouse:!1,isRequestPending:!1})}))}))},t.handleKeyDown=function(e){e.keyCode===h.KeyboardKeys.ENTER&&t.handleSubmitButtonClick()},t.handleNextQuestionButtonClick=function(){t.setState((function(e){return{currentStep:e.currentStep+1}}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,C(t,n);var a=r.prototype;return a.getSelectedHouseID=function(){var e,t=this.state.responses,n={},r=0;return Object.keys(t).forEach((function(a){var o=t[a];null==n[o]&&(n[o]=0),n[o]++,n[o]>r&&(e=o,r=n[o])})),null==e||e===h.RANDOM_HYPESQUAD_HOUSE?(0,y.getRandomHouse)():e},a.renderUnknownErrorMessage=function(){return b(m.default,{},"error",b(i.Fragment,{},void 0,b(p.default,{className:g.default.quizResultHeading,size:p.default.Sizes.SIZE_24},void 0,E.default.Messages.HYPESQUAD_ERROR_HEADING),b(v.default,{},void 0,E.default.Messages.HYPESQUAD_ERROR_BODY.format({emailAddress:"hypesquad@"+h.EMAIL_DOMAIN,emailAddressLink:"mailto:hypesquad@"+h.EMAIL_DOMAIN}))))},a.renderQuizResult=function(){var e=this.state.selectedHouse;if(null==e)return null;var t,n,r=E.default.Messages.HYPESQUAD_QUIZ_TITLE.format({house:(0,y.getHouseNameFromHouseID)(e)});return b(m.default,{},"submit-step",b(i.Fragment,{},void 0,b("div",{className:(0,l.default)(g.default.quizResultLogoWrapper,A[e],S.default.marginBottom20)},void 0,b("img",{alt:r,className:g.default.quizResultLogo,src:N[e]})),b(p.default,{className:g.default.quizResultHeading,size:p.default.Sizes.SIZE_24},void 0,r),b(v.default,{className:g.default.quizResultBody},void 0,(t=e,((n={})[h.HypeSquadHouses.HOUSE_1]=E.default.Messages.HYPESQUAD_QUIZ_BODY_HOUSE_1,n[h.HypeSquadHouses.HOUSE_2]=E.default.Messages.HYPESQUAD_QUIZ_BODY_HOUSE_2,n[h.HypeSquadHouses.HOUSE_3]=E.default.Messages.HYPESQUAD_QUIZ_BODY_HOUSE_3,n)[t]))))},a.renderContent=function(){var e=this.state,t=e.currentStep,n=e.hasUnknownError,r=e.hasSubmittedHouse,a=e.questions;if(n)return this.renderUnknownErrorMessage();if(r)return this.renderQuizResult();var o=a[t];return b(m.default,{},t,b(_.default,{onSelect:this.handleQuestionSelect,options:o.options,prompt:o.prompt},t))},a.renderHeaderCopy=function(){var e=this.state,t=e.currentStep,n=e.hasUnknownError,r=e.hasSubmittedHouse,a=e.questions;return n?E.default.Messages.HYPESQUAD_QUIZ_ERROR_MODAL_TITLE:r?E.default.Messages.HYPESQUAD_QUIZ_COMPLETED_MODAL_TITLE:E.default.Messages.HYPESQUAD_QUIZ_ONGOING_MODAL_TITLE.format({currentQuestion:t+1,questionCount:a.length})},a.renderNewsletterWarning=function(){return b(m.default,{},void 0,b(v.default,{className:g.default.nameFormPreface,size:v.default.Sizes.SIZE_16},void 0,E.default.Messages.HYPESQUAD_NEWSLETTER_WARNING))},a.renderPrimaryAction=function(){var e=this.state,t=e.currentStep,n=e.responses,r=e.hasUnknownError,a=e.hasSubmittedHouse,o=e.isRequestPending,i=e.questions,l=null==n[t];return r?b(d.default,{type:"submit",color:d.default.Colors.BRAND,onClick:this.handleSubmitButtonClick,submitting:o},void 0,E.default.Messages.HYPESQUAD_QUIZ_RETRY):a?b(d.default,{type:"submit",color:d.default.Colors.BRAND,onClick:this.props.onClose},void 0,E.default.Messages.HYPESQUAD_QUIZ_CLOSE):t===i.length-1?b(d.default,{disabled:l,type:"submit",color:d.default.Colors.BRAND,onClick:this.handleSubmitButtonClick,submitting:o},void 0,E.default.Messages.HYPESQUAD_QUIZ_SHOW_MY_HOUSE):b(d.default,{disabled:l,type:"submit",color:d.default.Colors.BRAND,onClick:this.handleNextQuestionButtonClick},void 0,E.default.Messages.HYPESQUAD_QUIZ_NEXT_QUESTION)},a.renderSecondaryAction=function(){return this.state.hasSubmittedHouse?null:b(d.default,{type:"button",look:d.default.Looks.LINK,color:d.default.Colors.PRIMARY,onClick:this.props.onClose},void 0,E.default.Messages.HYPESQUAD_QUIZ_CANCEL)},a.render=function(){var e=this.state.selectedHouse,t=this.props.transitionState;return b(c.ModalRoot,{size:null==e?c.ModalSize.MEDIUM:c.ModalSize.SMALL,transitionState:t,"aria-labelledby":this.headerId},void 0,b(c.ModalHeader,{separator:!1,id:this.headerId},void 0,b(p.default,{tag:p.default.Tags.H2,size:p.default.Sizes.SIZE_20},void 0,this.renderHeaderCopy())),b("div",{className:g.default.outerContentWrapper},void 0,b(u.default,{component:M},void 0,this.renderContent())),b(c.ModalFooter,{},void 0,this.renderPrimaryAction(),this.renderSecondaryAction()))},r}(i.Component);P.displayName="HouseSelectionModal";var R=P;t.default=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(273)),i=n(35),l=u(n(8159));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={isExiting:!1,offset:new o.default.Value(0),selectedValue:null},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var a=r.prototype;return a.componentWillEnter=function(e){var t=this.state.offset;t.setValue(1),o.default.spring(t,{toValue:0,duration:75}).start(e)},a.componentWillLeave=function(e){var t=this.state.offset;t.setValue(0),this.setState({isExiting:!0},(function(){o.default.spring(t,{toValue:-1,duration:75}).start(e)}))},a.render=function(){var e=this.state,t=e.isExiting,n=e.offset;return d(o.default.div,{className:l.default.wrapper,style:{left:0,position:t?"absolute":"relative",top:0,transform:[{translateX:n.interpolate({inputRange:[-1,1],outputRange:["-100%","100%"]})}]}},void 0,d(i.ModalContent,{className:l.default.contentWrapper},void 0,this.props.children))},r}(a.Component);t.default=c,c.displayName="HouseSelectionContent"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(9116)),i=c(n(11630)),l=c(n(1162)),u=c(n(47)),s=c(n(24)),d=c(n(6)),f=c(n(8160));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={selectedValue:null},t.getQuestionOptions=(0,o.default)((function(){return(0,i.default)(t.props.options.map((function(e){return{name:e.copy,value:e.house}})))})),t.handleOptionChange=function(e){var n=t.props.onSelect;t.setState({selectedValue:e.value}),n(e.value)},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n),r.prototype.render=function(){var e=this.state.selectedValue;return v(a.Fragment,{},void 0,v(u.default,{className:f.default.prompt,size:u.default.Sizes.SIZE_16},void 0,this.props.prompt),v("hr",{className:f.default.separator}),v(s.default,{className:f.default.selectYourAnswer,size:s.default.Sizes.SIZE_12},void 0,d.default.Messages.HYPESQUAD_QUIZ_SELECT_ANSWER),v(l.default,{options:this.getQuestionOptions(),onChange:this.handleOptionChange,value:e}))},r}(a.Component);t.default=m,m.displayName="QuestionGroup"},,,,,,function(e,t,n){e.exports=n.p+"a359371246d6353de6bc32715e092eba.svg"},function(e,t,n){e.exports=n.p+"8c59bddd746488fe8acf23d8d36c1a60.svg"},function(e,t,n){e.exports=n.p+"07ed671b6c823a6cae5be39860ac8bf0.svg"},function(e,t,n){e.exports=n.p+"59419b0683ef50f5e8ecd8748ecbcfeb.svg"},function(e,t,n){e.exports=n.p+"0f1eadc1ec3616e0b1c9ce515ee5683a.svg"},function(e,t,n){e.exports=n.p+"ac89ab7dd6f700d02b0ac958b98a3309.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(10486)),i=d(n(29)),l=d(n(24)),u=d(n(6)),s=d(n(8163));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={isRequestPending:!1,hasError:!1},t.handleLeaveHypeSquadError=function(){t.setState({hasError:!0})},t.handleLeaveHypeSquadClick=function(){t.setState({isRequestPending:!0},(function(){o.default.leaveHypeSquadOnline().then((function(){t.setState({isRequestPending:!1})})).catch((function(){t.setState({hasError:!0,isRequestPending:!1})}))}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var a=r.prototype;return a.renderErrorMessage=function(){return this.state.hasError?c("div",{className:s.default.error},void 0,u.default.Messages.HYPESQUAD_LEAVE_ERROR):null},a.render=function(){var e=this.state.isRequestPending;return this.props.isHypeSquadOnlineMember?c("div",{className:s.default.leaveActionWrapper},void 0,this.renderErrorMessage(),c(l.default,{},void 0,u.default.Messages.HYPESQUAD_LEAVE_PROMPT,c(i.default,{className:s.default.leaveButton,color:i.default.Colors.LINK,look:i.default.Looks.LINK,onClick:this.handleLeaveHypeSquadClick,size:i.default.Sizes.NONE,submitting:e},void 0,u.default.Messages.HYPESQUAD_LEAVE_ACTION))):null},r}(a.PureComponent);t.default=v,v.displayName="UserSettingsHypeSquad"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),a=l(n(2)),o=l(n(12)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=null;var d=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n),r.prototype.getHouseMembership=function(){return s},r}(r.default.Store))(a.default,{CONNECTION_OPEN:function(e){var t;(t=o.default.getCurrentUser()).hasFlag(i.UserFlags.HYPESQUAD_ONLINE_HOUSE_1)?s=i.HypeSquadHouses.HOUSE_1:t.hasFlag(i.UserFlags.HYPESQUAD_ONLINE_HOUSE_2)?s=i.HypeSquadHouses.HOUSE_2:t.hasFlag(i.UserFlags.HYPESQUAD_ONLINE_HOUSE_3)&&(s=i.HypeSquadHouses.HOUSE_3)},HYPESQUAD_ONLINE_MEMBERSHIP_LEAVE_SUCCESS:function(e){s=null},HYPESQUAD_ONLINE_MEMBERSHIP_JOIN_SUCCESS:function(e){s=e.houseID}});t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(9)),i=h(n(3)),l=h(n(1184)),u=h(n(5995)),s=h(n(12)),d=h(n(29)),f=h(n(467)),c=h(n(55)),p=n(41),v=h(n(24)),y=h(n(5994)),m=h(n(6)),_=h(n(8164));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var O=g(c.default.Child,{grow:0,shrink:0},void 0,g(y.default,{})),I=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n);var i=r.prototype;return i.renderNotice=function(){var e=this.props,t=e.isClaimed,n=e.unclaimedNotice,r=e.unverifiedNotice;return t?r:n},i.renderPrimaryAction=function(){return this.props.isClaimed?this.props.hasEmail?O:g(d.default,{size:d.default.Sizes.MEDIUM,color:d.default.Colors.BRAND,onClick:this.openChangeEmailModal},void 0,m.default.Messages.ADD_EMAIL_SHORT):g(c.default.Child,{grow:0,shrink:0},void 0,g(d.default,{size:d.default.Sizes.MEDIUM,color:d.default.Colors.BRAND,onClick:this.openClaimAccountModal},void 0,m.default.Messages.CLAIM_ACCOUNT))},i.renderSecondaryAction=function(){return this.props.isClaimed&&this.props.hasEmail?g(c.default.Child,{grow:0,shrink:0},void 0,g(d.default,{color:d.default.Colors.GREY,look:d.default.Looks.LINK,onClick:this.openChangeEmailModal},void 0,m.default.Messages.CHANGE_EMAIL_SHORT)):null},i.openClaimAccountModal=function(){(0,p.openModal)((function(e){return a.createElement(l.default,e)}))},i.openChangeEmailModal=function(){(0,p.openModal)((function(e){return a.createElement(u.default,e)}))},i.render=function(){var e=this.props,t=e.className,n=e.isClaimed,r=e.isVerified;return n&&r?null:g(f.default,{className:(0,o.default)(_.default.wrapper,t)},void 0,g(c.default,{align:c.default.Align.CENTER},void 0,g(c.default.Child,{className:_.default.image,grow:0,shrink:0}),g(c.default.Child,{},void 0,g(v.default,{},void 0,this.renderNotice()),g(c.default,{justify:c.default.Justify.CENTER,className:_.default.content},void 0,this.renderPrimaryAction(),this.renderSecondaryAction()))))},r}(a.Component);I.displayName="EmailNotice",I.defaultProps={unclaimedNotice:m.default.Messages.NOTICE_UNCLAIMED_ACCOUNT,unverifiedNotice:m.default.Messages.NOTICE_UNVERIFIED_ACCOUNT};var T=i.default.connectStores([s.default],(function(){var e=s.default.getCurrentUser();return{isClaimed:e.isClaimed(),isVerified:e.verified,hasEmail:null!=e.email}}))(I);t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.createElement(a.Fragment,null,p(o.default,{section:s.AnalyticsSections.LIBRARY_INVENTORY_CODE_REDEMPTION},void 0,v),p(i.FormDivider,{className:d.default.divider}),p(o.default,{section:s.AnalyticsSections.LIBRARY_INVENTORY_GIFTS_LIST},void 0,y))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(8257)),i=n(131),l=f(n(11645)),u=f(n(11646)),s=n(1),d=f(n(8171));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var v=p(l.default,{}),y=p(u.default,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=A;var r,a=S(n(0)),o=n(3),i=E(n(5960)),l=E(n(8834)),u=E(n(160)),s=E(n(29)),d=E(n(55)),f=E(n(153)),c=n(131),p=n(41),v=S(n(13)),y=n(402),m=n(1),_=E(n(6)),h=E(n(8166));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(){return(I=Object.assign||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}).apply(this,arguments)}function T(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function C(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){T(o,r,a,i,l,"next",e)}function l(e){T(o,r,a,i,l,"throw",e)}i(void 0)}))}}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var N=function(e){var t,n,r,o,u;function E(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={codeInput:"",submitting:!1,hasError:!1},t.handleChange=function(e){t.setState({codeInput:e,hasError:!1})},t.handleSubmit=function(){var e=C(regeneratorRuntime.mark((function e(n){var r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n.preventDefault(),""!==(r=t.state.codeInput)){e.next=4;break}return e.abrupt("return");case 4:if(null!=(o=(0,y.processGiftCodeInput)(r))){e.next=8;break}return t.setState({hasError:!0}),e.abrupt("return");case 8:return t.setState({submitting:!0}),e.prev=9,e.next=12,i.default.resolveGiftCode(o);case 12:v.default.track(m.AnalyticEvents.OPEN_MODAL,{type:"gift_accept",location:I({},t.analyticsLocation,{object:m.AnalyticsObjects.BUTTON_CTA})}),(0,p.openModal)((function(e){return a.createElement(l.default,I({code:o},e))})),t.setState({codeInput:""}),e.next=20;break;case 17:e.prev=17,e.t0=e.catch(9),t.setState({hasError:!0});case 20:return e.prev=20,t.setState({submitting:!1}),e.finish(20);case 23:case"end":return e.stop()}}),e,null,[[9,17,20,23]])})));return function(t){return e.apply(this,arguments)}}(),t}return n=e,(t=E).prototype=Object.create(n.prototype),t.prototype.constructor=t,M(t,n),E.prototype.render=function(){var e=this.props.obscureInput,t=this.state,n=t.codeInput,r=t.submitting,a=t.hasError;return O(c.FormSection,{tag:c.FormTitleTags.H1,title:_.default.Messages.GIFT_INVENTORY_REDEEM_CODES},void 0,O(c.FormTitle,{},void 0,_.default.Messages.APPLICATION_ENTITLEMENT_CODE_REDEMPTION_PROMPT),O("form",{onSubmit:this.handleSubmit},void 0,O(d.default,{},void 0,O(f.default,{type:e?"password":"text",value:n,onChange:this.handleChange,placeholder:m.GIFT_CODE_REDEMPTION_PLACEHOLDER,error:a?_.default.Messages.APPLICATION_ENTITLEMENT_CODE_REDEMPTION_INVALID:null,className:h.default.codeRedemptionInput}),O(s.default,{type:"submit",submitting:r},void 0,_.default.Messages.APPLICATION_ENTITLEMENT_CODE_REDEMPTION_REDEEM))))},r=E,(o=[{key:"analyticsLocation",get:function(){return I({},this.props.analyticsContext.location,{object:m.AnalyticsObjects.BUTTON_CTA})}}])&&b(r.prototype,o),u&&b(r,u),E}(a.Component);function A(){var e=a.useContext(v.AnalyticsContext),t=(0,o.useStateFromStores)([u.default],(function(){return u.default.enabled}));return O(N,{analyticsContext:e,obscureInput:t})}N.displayName="CodeRedemption",A.displayName="ConnectedCodeRedemption"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=D();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=L(n(9)),i=L(n(8)),l=L(n(5)),u=n(3),s=L(n(2)),d=n(5829),f=L(n(473)),c=L(n(1166)),p=L(n(8295)),v=n(280),y=n(5979),m=n(11647),_=L(n(11648)),h=L(n(71)),E=L(n(5826)),g=L(n(29)),S=L(n(151)),O=n(131),I=L(n(35)),T=L(n(47)),C=L(n(24)),b=n(1161),M=n(402),N=L(n(11649)),A=n(1),P=L(n(6)),R=L(n(8170));function L(e){return e&&e.__esModule?e:{default:e}}function D(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return D=function(){return e},e}function w(){return(w=Object.assign||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}).apply(this,arguments)}function j(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function k(e){var t,n=e.outboundPromotion,r=e.code,i=e.addClaimedOutboundPromotionCode,u=a.useState(!1),s=u[0],d=u[1],f=a.useState(!1),m=f[0],h=f[1],E=function(){return d((function(e){return!e}))},S=(0,c.default)(),O=(0,y.getPromotionImageURL)(n.id,S),M=null!=r,N=M?(0,b.dateFormat)((0,l.default)(n.endDate).add(v.OUTBOUND_PROMOTION_REDEMPTION_EXPIRATION_WINDOW),"LL"):(0,b.dateFormat)((0,l.default)(n.endDate),"LL");M&&s?t=P.default.Messages.OUTBOUND_PROMOTION_CARD_CLAIMED_EXPANDED_BODY.format({endDate:N,onClickDetails:E}):M&&!s?t=P.default.Messages.OUTBOUND_PROMOTION_CARD_CLAIMED_UNEXPANDED_BODY.format({endDate:N,onClickDetails:E}):!M&&s?t=P.default.Messages.OUTBOUND_PROMOTION_CARD_UNCLAIMED_EXPANDED_BODY.format({endDate:N,onClickDetails:E}):M||s||(t=P.default.Messages.OUTBOUND_PROMOTION_CARD_UNCLAIMED_UNEXPANDED_BODY.format({endDate:N,onClickDetails:E}));var A=M?P.default.Messages.OUTBOUND_PROMOTION_SEE_CODE:P.default.Messages.PROMOTION_CARD_ACTION_CLAIM,L=a.useCallback((function(){return h(!1)}),[]),D=n.outboundTitle,k=n.outboundTermsAndConditions;return a.createElement(a.Fragment,null,j("div",{className:(0,o.default)(R.default.skuCard,R.default.promotionCard)},void 0,j("div",{className:R.default.mainPromotionCardContainer},void 0,j("div",{className:R.default.promotionCardLeftContainer},void 0,j("div",{className:R.default.promotionIcon},void 0,j("img",{alt:"",src:O,className:R.default.promotionIconImage})),j("div",{},void 0,j(T.default,{size:T.default.Sizes.SIZE_16},void 0,D),j(C.default,{size:C.default.Sizes.SIZE_14,color:C.default.Colors.STANDARD,className:R.default.promotionText},void 0,t))),j(g.default,{color:g.default.Colors.BRAND,size:g.default.Sizes.SMALL,onClick:function(){return h(!0)}},void 0,A)),s&&j(C.default,{className:R.default.promotionLegalese,size:C.default.Sizes.SIZE_12,color:C.default.Colors.HEADER_SECONDARY},void 0,p.default.parse(k))),m&&j(I.default,{renderModal:function(e){return a.createElement(_.default,w({},e,{onClose:L,onClaim:i,code:r,outboundPromotion:n}))},onCloseRequest:L}))}var U=function(){var e=(0,u.useStateFromStores)([h.default],(function(){return Boolean(h.default.lastFetched)})),t=(0,u.useStateFromStores)([E.default],(function(){return E.default.getGiftable()})),n=i.default.partition(t,(function(e){return null==e.giftCodeBatchId})),r=n[0],o=n[1],l=i.default.groupBy(r,(function(e){return(0,M.makeComboId)(e.skuId,e.subscriptionPlanId)})),c=a.useState(!1),p=c[0],y=c[1];a.useEffect((function(){s.default.wait((function(){(0,d.fetchGiftableEntitlements)().then((function(){return y(!0)}))}))}),[]);var _,g,I,T,C,b,L=(0,m.useOutboundPromotions)(),D=L.promotionsLoaded,w=L.activeOutboundPromotions,U=L.claimedEndedOutboundPromotions,G=L.claimedOutboundPromotionCodeMap,F=L.addClaimedOutboundPromotionCode;function B(){f.default.open(A.UserSettingsSections.PREMIUM)}return e&&p&&D?a.createElement(a.Fragment,null,(g=o.find((function(e){return e.giftCodeBatchId===v.BLACK_FRIDAY_2020_GIFT_CODE_BATCH_ID&&!e.consumed})),I=null!==(_=o.filter((function(e){return e.giftCodeBatchId===v.STICKERS_GIFT_CODE_BATCH_ID&&!e.consumed})))&&void 0!==_?_:[],T=i.default.partition(I,(function(e){return e.subscriptionPlanId===A.SubscriptionPlans.PREMIUM_YEAR_TIER_2})),C=T[0],b=T[1],j(O.FormSection,{tag:O.FormTitleTags.H1,title:w.length+U.length>0?P.default.Messages.GIFT_INVENTORY_YOUR_GIFTS:void 0},void 0,U.map((function(e){var t=e.code,n=e.promotion;return j(k,{outboundPromotion:n,code:t,addClaimedOutboundPromotionCode:F},n.id)})),w.map((function(e){return j(k,{outboundPromotion:e,code:G[e.id],addClaimedOutboundPromotionCode:F},e.id)})),null!=g?j(N.default,{className:R.default.skuCard,skuId:g.skuId,subscriptionPlanId:g.subscriptionPlanId,entitlements:[g],giftCodeBatchId:v.BLACK_FRIDAY_2020_GIFT_CODE_BATCH_ID},(0,M.makeComboId)(g.skuId,g.subscriptionPlanId)):null,C.length>0?j(N.default,{className:R.default.skuCard,skuId:C[0].skuId,subscriptionPlanId:C[0].subscriptionPlanId,entitlements:C,giftCodeBatchId:v.STICKERS_GIFT_CODE_BATCH_ID},(0,M.makeComboId)(C[0].skuId,C[0].subscriptionPlanId)):null,b.length>0?j(N.default,{className:R.default.skuCard,skuId:b[0].skuId,subscriptionPlanId:b[0].subscriptionPlanId,entitlements:b,giftCodeBatchId:v.STICKERS_GIFT_CODE_BATCH_ID},(0,M.makeComboId)(b[0].skuId,b[0].subscriptionPlanId)):null)),j(O.FormSection,{tag:O.FormTitleTags.H1,title:P.default.Messages.GIFT_INVENTORY_GIFTS_YOU_PURCHASED},void 0,0===Object.keys(l).length?j("div",{className:R.default.emptyState},void 0,j("div",{className:R.default.emptyStateImage}),j("h2",{className:R.default.emptyStateHeader},void 0,P.default.Messages.GIFT_INVENTORY_NO_GIFTS),j("p",{className:R.default.emptyStateSubtext},void 0,P.default.Messages.GIFT_INVENTORY_NO_GIFTS_SUBTEXT.format({onClick:B}))):i.default.keys(l).map((function(e){var t=(0,M.parseComboId)(e),n=t.skuId,r=t.subscriptionPlanId;return j(N.default,{className:R.default.skuCard,skuId:n,subscriptionPlanId:r,entitlements:l[e]},e)})))):j(S.default,{className:R.default.loading})};t.default=U},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useOutboundPromotions=function(){var e=(0,a.useStateFromStores)([s.default],(function(){return s.default.lastFetchedActivePromotions})),t=(0,a.useStateFromStores)([s.default],(function(){return s.default.getEligibleActiveOutboundPromotions()})),n=(0,a.useStateFromStores)([i.default],(function(){return i.default.getNullableCurrentUser()})),f=r.useState(!1),c=f[0],v=f[1],y=r.useState([]),m=y[0],_=y[1];r.useEffect((function(){null!=e&&o.default.wait((function(){return u.default.markOutboundPromotionsSeen()}))}),[e]);var h=r.useCallback((function(e){_((function(t){return t.some((function(t){return t.promotion.id===e.promotion.id}))?t:[].concat(t,[e])}))}),[]),E=(null==n?void 0:n.premiumType)===d.PremiumTypes.TIER_2;r.useEffect((function(){o.default.wait((function(){E&&(null==e&&u.default.fetchActiveOutboundPromotions(),(0,l.fetchClaimedOutboundPromotionCodes)().then((function(e){_(e),v(!0)})).catch((function(){_([]),v(!0)})))}))}),[e,E]);for(var g,S={},O=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(m);!(g=O()).done;){var I=g.value,T=I.code,C=I.promotion;S[C.id]=T}var b=new Set(t.map((function(e){return e.id}))),M=m.filter((function(e){var t=e.promotion;return!b.has(t.id)}));return{promotionsLoaded:!E||null!=e&&c,activeOutboundPromotions:t,claimedEndedOutboundPromotions:M,claimedOutboundPromotionCodeMap:S,addClaimedOutboundPromotionCode:h}};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(3),o=f(n(2)),i=f(n(12)),l=n(5979),u=f(n(9729)),s=f(n(8759)),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(8688)),i=m(n(29)),l=m(n(151)),u=n(85),s=n(131),d=n(35),f=m(n(47)),c=m(n(24)),p=n(5979),v=m(n(6)),y=m(n(8167));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e){var t=e.onClose;return a.createElement(a.Fragment,null,h(d.ModalHeader,{separator:!1,className:y.default.errorHeader},void 0,h("div",{className:y.default.errorArt}),h(f.default,{size:f.default.Sizes.SIZE_24},void 0,v.default.Messages.GENERIC_ERROR_TITLE)),h(d.ModalContent,{className:y.default.errorBody},void 0,h(c.default,{size:c.default.Sizes.SIZE_16,className:y.default.bodyText},void 0,v.default.Messages.GENERIC_ERROR_BODY)),h(d.ModalFooter,{},void 0,h(i.default,{color:i.default.Colors.BRAND,onClick:t},void 0,v.default.Messages.CLOSE)))}function g(e){var t=e.onClose,n=e.onClaim,r=e.code,m=e.outboundPromotion,_=e.transitionState,g=a.useState(null),S=g[0],O=g[1],I=(0,u.useUID)();a.useEffect((function(){null==r&&(0,p.claimOutboundPromotion)(m.id).then((function(e){return n(e)})).catch((function(e){return O(e)}))}),[r,m.id,n]);var T=h(E,{onClose:t});return h(d.ModalRoot,{transitionState:_,"aria-labelledby":I},void 0,null!=S?T:null==r?h(d.ModalContent,{},void 0,h(l.default,{className:y.default.loading})):a.createElement(a.Fragment,null,h(d.ModalHeader,{separator:!1,className:y.default.headerContainer},void 0,h("div",{className:y.default.art}),h(f.default,{size:f.default.Sizes.SIZE_24},void 0,v.default.Messages.OUTBOUND_PROMOTION_REDEMPTION_MODAL_TITLE)),h(d.ModalContent,{},void 0,h(c.default,{size:c.default.Sizes.SIZE_16,className:y.default.bodyText},void 0,m.outboundRedemptionModalBody),h(s.FormDivider,{className:y.default.formDivider}),h(s.FormSection,{title:v.default.Messages.REDEMPTION_CODE,className:y.default.formSection},void 0,h(o.default,{value:r,buttonColor:i.default.Colors.BRAND,buttonLook:i.default.Looks.FILLED,delay:1e3,inputClassName:y.default.textInput}),h(c.default,{size:c.default.Sizes.SIZE_12,color:c.default.Colors.HEADER_SECONDARY,className:y.default.confirmationText},void 0,v.default.Messages.OUTBOUND_PROMOTION_CODE_CONFIRMATION_EMAIL))),h(d.ModalFooter,{},void 0,h(i.default,{color:i.default.Colors.BRAND,onClick:function(){var e=(0,p.getOutboundPromotionRedemptionUrl)(r,m);window.open(e,"_blank")}},void 0,v.default.Messages.REDEEM),h(i.default,{onClick:t,look:i.default.Looks.LINK,color:y.default.maybeLaterButton},void 0,v.default.Messages.MAYBE_LATER))))}g.displayName="OutboundPromotionRedemptionModal";var S=g;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=R(n(0)),o=A(n(5)),i=A(n(3)),l=n(57),u=A(n(5960)),s=n(280),d=A(n(11)),f=A(n(71)),c=A(n(8557)),p=A(n(160)),v=A(n(257)),y=A(n(373)),m=A(n(11650)),_=A(n(29)),h=A(n(61)),E=R(n(5969)),g=A(n(55)),S=A(n(477)),O=A(n(151)),I=A(n(683)),T=n(402),C=n(1163),b=n(1),M=A(n(6)),N=A(n(8169));function A(e){return e&&e.__esModule?e:{default:e}}function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function L(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function D(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){L(o,r,a,i,l,"next",e)}function l(e){L(o,r,a,i,l,"throw",e)}i(void 0)}))}}function w(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function j(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,U(e,t)}function U(e,t){return(U=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var G=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._copyModeTimeout=new l.Timeout,t.state={copyMode:E.CopyInputModes.DEFAULT},t.handleCopy=function(e){var n=t.props,r=n.giftCode,a=n.sku;(0,T.trackGiftCodeCopy)(r,a);try{(0,C.copy)(e),t.setState({copyMode:E.CopyInputModes.SUCCESS})}catch(e){t.setState({copyMode:E.CopyInputModes.ERROR})}t._copyModeTimeout.start(1e3,(function(){t.setState({copyMode:E.CopyInputModes.DEFAULT})}))},t}k(t,e);var n,r,i,s=t.prototype;return s.componentWillUnmount=function(){this._copyModeTimeout.stop()},s.handleRevoke=function(e){u.default.revokeGiftCode(e)},s.render=function(){var e=this,t=this.props,n=t.hideCode,r=t.giftCode,i=this.state.copyMode;return w(g.default,{direction:g.default.Direction.VERTICAL,className:N.default.giftCodeRow},void 0,w(E.default,{className:N.default.codeText,value:(0,T.getGiftCodeURL)(r.code),text:this.copyButtonText,mode:i,supportsCopy:C.SUPPORTS_COPY,hideMessage:n?M.default.Messages.GIFT_INVENTORY_HIDDEN:null,onCopy:this.handleCopy,buttonColor:E.default.ButtonColors.BRAND,buttonLook:E.default.ButtonLooks.FILLED}),w("div",{className:N.default.subTextRow},void 0,null!=r.expiresAt?w(a.Fragment,{},void 0,M.default.Messages.GIFT_INVENTORY_EXPIRES_IN.format({hours:r.expiresAt.diff((0,o.default)(),"h")})," ","— "):null,w(h.default,{tag:"a",onClick:function(){return e.handleRevoke(r.code)}},void 0,M.default.Messages.REVOKE)))},n=t,(r=[{key:"copyButtonText",get:function(){switch(this.state.copyMode){case E.CopyInputModes.SUCCESS:return M.default.Messages.BILLING_GIFT_COPIED;case E.CopyInputModes.ERROR:return M.default.Messages.FAILED;default:return M.default.Messages.COPY}}}])&&j(n.prototype,r),i&&j(n,i),t}(a.PureComponent);G.displayName="GiftCodeRow";var F=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._loadedAt=null,t.state={isOpen:!1,isCreating:!1},t.handleGenerateGiftCode=function(){var e=D(regeneratorRuntime.mark((function e(n){var r,a,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.stopPropagation(),r=t.props,a=r.skuId,o=r.subscriptionPlanId,t.setState({isCreating:!0}),e.next=5,u.default.createGiftCode(a,o);case 5:t.setState({isCreating:!1,isOpen:!0});case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.handleToggleOpen=function(){var e=t.props,n=e.skuId,r=e.subscriptionPlanId,a=e.loadedAt,o=!t.state.isOpen;(null==a||null==t._loadedAt||a<t._loadedAt)&&o&&u.default.fetchUserGiftCodesForSKU(n,r),t.setState({isOpen:!t.state.isOpen})},t}k(t,e);var n=t.prototype;return n.componentDidMount=function(){this._loadedAt=Date.now()},n.renderTitle=function(){var e,t=this.props,n=t.sku,r=t.subscriptionPlan,a=t.giftCodeBatchId;return e=a===s.BLACK_FRIDAY_2020_GIFT_CODE_BATCH_ID?M.default.Messages.BLACK_FRIDAY_PROMOTION_GIFT_INVENTORY_TITLE:a===s.STICKERS_GIFT_CODE_BATCH_ID&&null!=r?(r.interval===b.SubscriptionIntervalTypes.MONTH?M.default.Messages.STICKERS_GIFT_INVENTORY_TITLE_MONTH:M.default.Messages.STICKERS_GIFT_INVENTORY_TITLE_YEAR).format({skuName:n.name,intervalCount:r.intervalCount}):null==r?n.name:(r.interval===b.SubscriptionIntervalTypes.MONTH?M.default.Messages.GIFT_INVENTORY_SUBSCRIPTION_MONTHS:M.default.Messages.GIFT_INVENTORY_SUBSCRIPTION_YEARS).format({skuName:n.name,intervalCount:r.intervalCount}),w("div",{className:N.default.gameName},void 0,e)},n.renderGenerateGiftCodeRow=function(){return w(g.default,{justify:g.default.Justify.BETWEEN,align:g.default.Align.CENTER,className:N.default.generateCodeRow},void 0,w("div",{className:N.default.codeText},void 0,M.default.Messages.GIFT_INVENTORY_GENERATE_HELP),w(_.default,{submitting:this.state.isCreating,size:_.default.Sizes.SMALL,color:_.default.Colors.BRAND,onClick:this.handleGenerateGiftCode},void 0,M.default.Messages.GIFT_INVENTORY_GENERATE_LINK))},n.render=function(){var e=this.props,t=e.entitlements,n=e.application,r=e.giftCodes,o=e.className,i=e.sku,l=e.isFetching,u=e.hideCodes,s=this.state.isOpen;return w(m.default,{className:o},void 0,w(h.default,{onClick:this.handleToggleOpen,className:N.default.card},void 0,w(m.default.Header,{splashArtURL:n.getSplashURL(512)},void 0,w("div",{className:N.default.cardHeader},void 0,w(g.default,{align:g.default.Align.CENTER},void 0,w(S.default,{game:n,size:S.default.Sizes.MEDIUM,skuId:i.id}),w("div",{className:N.default.headerText},void 0,this.renderTitle(),w("div",{className:N.default.subTextHeader},void 0,M.default.Messages.GIFT_INVENTORY_COPIES.format({copies:t.length})))),w(I.default,{direction:s?I.default.Directions.UP:I.default.Directions.DOWN,className:N.default.expandIcon})))),s?w(m.default.Body,{},void 0,l?w(O.default,{className:N.default.spinner}):w(a.Fragment,{},void 0,r.length<t.length?this.renderGenerateGiftCodeRow():null,r.map((function(e){return w(G,{giftCode:e,sku:i,hideCode:u},e.code)})))):null)},t}(a.PureComponent);F.displayName="EntitlementGiftGroupCard";var B=i.default.connectStores([y.default,p.default,c.default,f.default,v.default,d.default],(function(e){var t=e.skuId,n=e.subscriptionPlanId,r=y.default.get(t);if(null==r)throw new Error("SKU was unavailable while rendering gift.");return{sku:r,hideCodes:p.default.enabled,isFetching:c.default.getUserGiftCodesFetchingForSKUAndPlan(t,n),loadedAt:c.default.getUserGiftCodesLoadedAtForSKUAndPlan(t,n),application:f.default.getGame(r.applicationId),subscriptionPlan:null!=n?v.default.get(n):null,giftCodes:c.default.getForGifterSKUAndPlan(d.default.getId(),t,n).filter((function(e){return!e.isClaimed}))}}))(F);t.default=B},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),i=u(n(55)),l=u(n(8168));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=function(e){var t=e.children,n=e.className,r=e.splashArtURL;return f(i.default,{className:(0,o.default)(l.default.header,n),align:i.default.Align.CENTER},void 0,f("div",{className:l.default.splashArt,style:null!=r?{backgroundImage:"url("+r+")"}:void 0}),t)};c.displayName="ActivityFeedCardHeader";var p=function(e){var t=e.children,n=e.className;return f("div",{className:(0,o.default)(l.default.body,n)},void 0,t)};p.displayName="ActivityFeedCardBody";var v=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n),r.prototype.render=function(){var e=this.props,t=e.children,n=e.className,r=e.onMouseEnter,a=e.onMouseLeave;return f("div",{className:(0,o.default)(l.default.card,n),onMouseEnter:r,onMouseLeave:a},void 0,t)},r}(a.PureComponent);v.displayName="ActivityFeedCard",v.Header=c,v.Body=p;var y=v;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=x(n(0)),o=B(n(9)),i=B(n(8)),l=B(n(3)),u=B(n(10488)),s=B(n(8416)),d=B(n(8766)),f=B(n(1257)),c=n(1298),p=n(8535),v=n(9069),y=B(n(403)),m=B(n(1273)),_=n(1435),h=B(n(1180)),E=B(n(694)),g=B(n(51)),S=B(n(1287)),O=B(n(39)),I=x(n(29)),T=x(n(8302)),C=B(n(55)),b=x(n(8353)),M=B(n(1159)),N=n(131),A=x(n(474)),P=B(n(47)),R=B(n(24)),L=B(n(93)),D=B(n(16)),w=x(n(401)),j=n(1),k=B(n(6)),U=B(n(8172)),G=B(n(7347)),F=B(n(370));function B(e){return e&&e.__esModule?e:{default:e}}function H(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return H=function(){return e},e}function x(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=H();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function V(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function W(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function Y(){return(Y=Object.assign||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}).apply(this,arguments)}function z(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,K(e,t)}function K(e,t){return(K=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $(e){return(0,e.children)([p.KeybindGroup.MESSAGE,p.KeybindGroup.NAVIGATION,p.KeybindGroup.CHAT,p.KeybindGroup.VOICE_AND_VIDEO,p.KeybindGroup.MISCELLANEOUS])}var Z=(0,i.default)((0,p.getDefaultLayoutContent)()).filter((function(e){return e.description!==k.default.Messages.KEYBIND_DESCRIPTION_MODAL_EASTER_EGG})).groupBy((function(e){return e.group})).value(),q=l.default.connectStores([O.default],(function(){return{theme:O.default.theme}}))(T.default),X=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleActionChanged=function(e){u.default.setKeybind(Y({},t.props.keybind,{action:e.value}))},t.handleShortcutChange=function(e){u.default.setKeybind(Y({},t.props.keybind,{shortcut:e}))},t.handleDeleteKeybind=function(){u.default.deleteKeybind(t.props.keybind.id)},t}z(t,e);var n=t.prototype;return n.renderMessage=function(){var e=this.props.keybind,t=w.toString(e.shortcut);return y.default.hasBind(t)?W(A.default,{className:U.default.keybindMessage,type:A.Types.DESCRIPTION,style:{color:j.Colors.STATUS_RED}},void 0,k.default.Messages.KEYBIND_CONFLICT):_.NavigationShortcuts.has(t)?W(A.default,{className:U.default.keybindMessage,type:A.Types.DESCRIPTION,style:{color:j.Colors.STATUS_RED}},void 0,k.default.Messages.KEYBIND_NAVIGATION_CONFLICT.format({keyboardNavArticle:L.default.getArticleURL(j.HelpdeskArticles.KEYBOARD_NAVIGATION)})):W(A.default,{className:U.default.keybindMessage,type:A.Types.DESCRIPTION},void 0,this.props.keybindDescriptions[e.action])},n.render=function(){var e=this.props.keybind.managed;return W(C.default,{direction:C.default.Direction.VERTICAL,className:(0,o.default)(U.default.keybindGroup,G.default.card)},void 0,!e&&W(s.default,{"aria-label":k.default.Messages.REMOVE_KEYBIND,className:U.default.removeKeybind,onClick:this.handleDeleteKeybind,look:s.default.Looks.FILLED}),W(C.default,{className:F.default.marginBottom8},void 0,W(C.default.Child,{basis:"50%"},void 0,W(N.FormItem,{title:k.default.Messages.USER_SETTINGS_KEYBINDS_ACTION,className:U.default.item},void 0,W(M.default,{options:this.props.keybindActionTypes,onChange:this.handleActionChanged,value:this.props.keybind.action,clearable:!1,searchable:!1,disabled:e}))),W(C.default.Child,{basis:"50%"},void 0,W(N.FormItem,{title:k.default.Messages.USER_SETTINGS_KEYBINDS_KEYBIND,className:U.default.item},void 0,W(d.default,{defaultValue:this.props.keybind.shortcut,onChange:this.handleShortcutChange})))),W(C.default.Child,{},void 0,this.renderMessage()))},t}(a.PureComponent);X.displayName="KeybindEntry";var J=W(N.FormDivider,{}),Q=W(N.FormDivider,{}),ee=W(N.FormDivider,{}),te=W(N.FormDivider,{}),ne=W(N.FormDivider,{}),re=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleAddKeybind=function(){u.default.addKeybind()},t}z(t,e);var r,l,s,d=t.prototype;return d.componentDidMount=function(){y.default.disable()},d.componentWillUnmount=function(){y.default.enable(),E.default.getLayers().indexOf(j.Layers.USER_SETTINGS)>=0&&y.default.enableTemp(v.SETTINGS_LAYERS_LAYOUT)},d.renderKeybinds=function(e){var t=this;return e.map((function(e){return W("div",{className:U.default.row},e.id,W(X,{keybind:e,keybindDescriptions:t.keybindDescriptions,keybindActionTypes:t.keybindActionTypes},e.id))}))},d.renderEmpty=function(e){if(0===e.length)return W(q,{className:F.default.marginTop60},void 0,W(T.EmptyStateImage,{darkSrc:n(11652),lightSrc:n(11653),width:320,height:170}))},d.render=function(){var e=(0,i.default)(this.props.keybinds).reject((function(e){return e.managed&&e.action!==j.KeybindCustomActions.OVERLAY_ACTIVATE_REGION_TEXT_WIDGET})).sortBy((function(e){return e.id})).sortBy((function(e){return!0===e.managed?-1:0})).value();return a.createElement(a.Fragment,null,W(N.FormSection,{tag:N.FormTitleTags.H1,title:k.default.Messages.KEYBINDS},void 0,D.default.embedded?a.createElement(a.Fragment,null,W(C.default,{justify:C.default.Justify.BETWEEN,className:F.default.marginBottom20},void 0,W(C.default.Child,{grow:0},void 0,W(b.default,{messageType:b.HelpMessageTypes.WARNING},void 0,k.default.Messages.ADD_KEYBIND_WARNING)),W(C.default.Child,{wrap:!0,grow:0},void 0,W(I.default,{size:I.ButtonSizes.LARGE,onClick:this.handleAddKeybind},void 0,k.default.Messages.ADD_KEYBIND))),J,W(N.FormSection,{},void 0,this.renderKeybinds(e),this.renderEmpty(e))):W(b.default,{messageType:b.HelpMessageTypes.INFO,fontSize:b.HelpMessageFontSizes.FONT_SIZE_16,className:U.default.browserNotice},void 0,k.default.Messages.KEYBIND_IN_BROSWER_NOTICE.format({downloadLink:j.MarketingURLs.DOWNLOAD}))),Q,W(N.FormSection,{tag:N.FormTitleTags.H1,title:k.default.Messages.USER_SETTINGS_KEYBINDS_DEFAULT_KEYBINDS_TITLE,className:F.default.marginTop60},void 0,W("div",{className:U.default.defaultKeybind},void 0,W(R.default,{size:R.default.Sizes.SIZE_16},void 0,k.default.Messages.USER_SETTINGS_KEYBINDS_SHOW_LIST_TITLE),W("div",{className:U.default.defaultKeybindShortcutGroup},void 0,W(f.default,{shortcut:c.TOGGLE_HOTKEYS.binds[0],className:U.default.defaultKeybindShortcut}))),ee,W($,{},void 0,(function(e){return a.createElement(a.Fragment,null,e.map((function(e){var t,n=(0,p.getNameForKeybindGroup)(e),r=(0,p.getDescriptionForKeybindGroup)(e),i=Z[e];return W("div",{className:U.default.defaultKeybindGroup},void 0,W(P.default,{tag:P.default.Tags.H3,size:P.default.Sizes.SIZE_12,className:(0,o.default)(U.default.defaultKeybindGroupHeader,(t={},t[U.default.defaultKeybindGroupWithDescription]=null!=r,t))},void 0,n),null!=r&&W(R.default,{color:R.default.Colors.HEADER_SECONDARY,className:U.default.defaultKeybindGroupDescription},void 0,r),te,i.map((function(e){return W(a.Fragment,{},e.description,W("div",{className:U.default.defaultKeybind},void 0,W(R.default,{size:R.default.Sizes.SIZE_16},void 0,e.description),W("div",{className:U.default.defaultKeybindShortcutGroup},void 0,e.binds.map((function(e){return W(f.default,{shortcut:e,className:U.default.defaultKeybindShortcut},e)})))),ne)})))})))}))))},r=t,(l=[{key:"keybindActionTypes",get:function(){var e=this.props,t=e.overlaySupported,n=e.canGoLive,r=[{value:j.KeybindCustomActions.UNASSIGNED,label:k.default.Messages.KEYBIND_UNASSIGNED},{value:j.KeybindCustomActions.PUSH_TO_TALK,label:k.default.Messages.KEYBIND_PUSH_TO_TALK},{value:j.KeybindCustomActions.PUSH_TO_TALK_PRIORITY,label:k.default.Messages.KEYBIND_PUSH_TO_TALK_PRIORITY},{value:j.KeybindCustomActions.PUSH_TO_MUTE,label:k.default.Messages.KEYBIND_PUSH_TO_MUTE},{value:j.KeybindCustomActions.TOGGLE_MUTE,label:k.default.Messages.KEYBIND_TOGGLE_MUTE},{value:j.KeybindCustomActions.TOGGLE_DEAFEN,label:k.default.Messages.KEYBIND_TOGGLE_DEAFEN},{value:j.KeybindCustomActions.TOGGLE_VOICE_MODE,label:k.default.Messages.KEYBIND_TOGGLE_VOICE_MODE},{value:j.KeybindCustomActions.TOGGLE_STREAMER_MODE,label:k.default.Messages.KEYBIND_TOGGLE_STREAM_MODE}];return t&&(r.push({value:j.KeybindCustomActions.TOGGLE_OVERLAY,label:k.default.Messages.KEYBIND_TOGGLE_OVERLAY}),r.push({value:j.KeybindCustomActions.TOGGLE_OVERLAY_INPUT_LOCK,label:k.default.Messages.KEYBIND_TOGGLE_OVERLAY_INPUT_LOCK}),r.push({value:j.KeybindCustomActions.OVERLAY_ACTIVATE_REGION_TEXT_WIDGET,label:k.default.Messages.KEYBIND_ACTIVATE_OVERLAY_CHAT})),n&&D.default.isWindows()&&r.push({value:j.KeybindCustomActions.TOGGLE_GO_LIVE_STREAMING,label:k.default.Messages.KEYBIND_TOGGLE_GO_LIVE_STREAMING}),D.default.isDesktop()&&r.push({value:j.KeybindCustomActions.NAVIGATE_BACK,label:k.default.Messages.KEYBIND_NAVIGATE_BACK},{value:j.KeybindCustomActions.NAVIGATE_FORWARD,label:k.default.Messages.KEYBIND_NAVIGATE_FORWARD}),r}},{key:"keybindDescriptions",get:function(){var e,t=this.props,n=t.overlaySupported,r=t.canGoLive,a=((e={})[j.KeybindCustomActions.UNASSIGNED]=k.default.Messages.KEYBIND_DESCRIPTION_UNASSIGNED,e[j.KeybindCustomActions.PUSH_TO_MUTE]=k.default.Messages.KEYBIND_DESCRIPTION_PUSH_TO_MUTE,e[j.KeybindCustomActions.PUSH_TO_TALK]=k.default.Messages.KEYBIND_DESCRIPTION_PUSH_TO_TALK,e[j.KeybindCustomActions.PUSH_TO_TALK_PRIORITY]=k.default.Messages.KEYBIND_DESCRIPTION_PUSH_TO_TALK_PRIORITY,e[j.KeybindCustomActions.TOGGLE_MUTE]=k.default.Messages.KEYBIND_DESCRIPTION_TOGGLE_MUTE,e[j.KeybindCustomActions.TOGGLE_DEAFEN]=k.default.Messages.KEYBIND_DESCRIPTION_TOGGLE_DEAFEN,e[j.KeybindCustomActions.TOGGLE_VOICE_MODE]=k.default.Messages.KEYBIND_DESCRIPTION_TOGGLE_VOICE_MODE,e[j.KeybindCustomActions.TOGGLE_STREAMER_MODE]=k.default.Messages.KEYBIND_DESCRIPTION_TOGGLE_STREAMER_MODE,e);return n&&(a[j.KeybindCustomActions.TOGGLE_OVERLAY]=k.default.Messages.KEYBIND_DESCRIPTION_TOGGLE_OVERLAY,a[j.KeybindCustomActions.TOGGLE_OVERLAY_INPUT_LOCK]=k.default.Messages.KEYBIND_DESCRIPTION_TOGGLE_OVERLAY_INPUT_LOCK),r&&D.default.isWindows()&&(a[j.KeybindCustomActions.TOGGLE_GO_LIVE_STREAMING]=k.default.Messages.KEYBIND_DESCRIPTION_TOGGLE_GO_LIVE_STREAMING),D.default.isDesktop()&&(a[j.KeybindCustomActions.NAVIGATE_BACK]=k.default.Messages.KEYBIND_DESCRIPTION_NAVIGATE_BACK,a[j.KeybindCustomActions.NAVIGATE_FORWARD]=k.default.Messages.KEYBIND_DESCRIPTION_NAVIGATE_FORWARD),a}}])&&V(r.prototype,l),s&&V(r,s),t}(a.PureComponent);re.displayName="UserSettingsKeybinds";var ae=l.default.connectStores([h.default,g.default,S.default],(function(){return{keybinds:h.default.getState(),canGoLive:(0,m.default)(g.default),overlaySupported:S.default.isSupported()}}))(re);t.default=ae},function(e,t,n){e.exports=n.p+"f3bb89a27e9d102f748da035cd7e5df7.svg"},function(e,t,n){e.exports=n.p+"21b610d45d1f2175431413ad53258aa6.svg"},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(3)),i=c(n(274)),l=c(n(39)),u=c(n(1162)),s=n(131),d=c(n(6)),f=c(n(8173));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(){return(y=Object.assign||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}).apply(this,arguments)}function m(t){var r=a.useState(t.currentLocale),o=r[0],l=r[1],c=a.useState((function(){return d.default.getAvailableLocales().map((function(e){var t;try{t=n(1358)("./"+e.value+".png")}catch(e){t=n(1409)}return y({},e,{name:v("div",{className:f.default.option},void 0,v("span",{className:f.default.localeName},void 0,e.name),v("span",{className:f.default.localizedName},void 0,e.localizedName),v("div",{className:f.default.flag,"aria-hidden":!0},void 0,v("img",{alt:"",src:t,className:f.default.flagImage})))})}))}))[0],p=a.useCallback((function(t){var n=t.value;l(n),e.nextTick((function(){return i.default.updateRemoteSettings({locale:n})}))}),[]);return v(s.FormSection,{tag:s.FormTitleTags.H1,title:d.default.Messages.LANGUAGE},void 0,v(s.FormSection,{},void 0,v(s.FormTitle,{},void 0,d.default.Messages.LANGUAGE_SELECT),v(u.default,{onChange:p,options:c,value:o})))}m.displayName="UserSettingsLocale";var _=o.default.connectStores([l.default],(function(){return{currentLocale:l.default.locale}}))(m);t.default=_}).call(this,n(100))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=P(n(0)),o=N(n(9)),i=N(n(8)),l=N(n(3)),u=N(n(5848)),s=N(n(274)),d=N(n(1436)),f=P(n(1301)),c=N(n(11656)),p=N(n(8359)),v=N(n(39)),y=N(n(61)),m=N(n(1162)),_=N(n(1159)),h=N(n(8267)),E=n(131),g=N(n(8276)),S=N(n(10222)),O=N(n(16)),I=P(n(1247)),T=n(1),C=N(n(6)),b=N(n(8174)),M=N(n(370));function N(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function P(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function D(e){var t=e.label,n=e.enabled,r=e.onPreview,a=e.onChange;return L(h.default,{className:b.default.soundRow,value:n,onChange:a},void 0,L("div",{className:b.default.notificationSound},void 0,L("div",{className:b.default.soundName},void 0,t),L(y.default,{className:b.default.soundIcon,onClick:r,"aria-label":C.default.Messages.USER_SETTINGS_NOTIFICATIONS_PREVIEW_SOUND},void 0,L(g.default,{width:16,height:16,className:b.default.icon,"aria-hidden":!0}))))}D.displayName="NotificationSound";var w=L(c.default,{});function j(e){var t=e.disabledSounds,n=d.default.useExperiment({})[0].allowSoundpacks;a.useEffect((function(){d.default.trackExposure({})}),[]);var r=a.useRef(),i=a.useCallback((function(e,t){t.stopPropagation(),t.preventDefault(),null!=r.current&&r.current.stop(),r.current=I.playSound(e)}),[]),l=a.useCallback((function(e,n){var r=t.filter((function(t){return t!==e}));n||r.push(e),u.default.setDisabledSounds(r)}),[t]),s=[{label:C.default.Messages.SOUND_MESSAGE,sound:"message1"},{label:C.default.Messages.SOUND_DEAFEN,sound:"deafen"},{label:C.default.Messages.SOUND_UNDEAFEN,sound:"undeafen"},{label:C.default.Messages.MUTE,sound:"mute"},{label:C.default.Messages.UNMUTE,sound:"unmute"},{label:C.default.Messages.SOUND_VOICE_DISCONNECTED,sound:"disconnect"},{label:C.default.Messages.SOUND_PTT_ACTIVATE,sound:"ptt_start"},{label:C.default.Messages.SOUND_PTT_DEACTIVATE,sound:"ptt_stop"},{label:C.default.Messages.SOUND_USER_JOIN,sound:"user_join"},{label:C.default.Messages.SOUND_USER_LEAVE,sound:"user_leave"},{label:C.default.Messages.SOUND_USER_MOVED,sound:"user_moved"},{label:C.default.Messages.SOUND_OUTGOING_RING,sound:"call_calling"},{label:C.default.Messages.SOUND_INCOMING_RING,sound:"call_ringing"},{label:C.default.Messages.SOUND_STREAM_STARTED,sound:"stream_started"},{label:C.default.Messages.SOUND_STREAM_STOPPED,sound:"stream_ended"},{label:C.default.Messages.SOUND_VIEWER_JOIN,sound:"stream_user_joined"},{label:C.default.Messages.SOUND_VIEWER_LEAVE,sound:"stream_user_left"},{label:C.default.Messages.SOUND_INVITED_TO_SPEAK,sound:"reconnect"}];return L(E.FormSection,{},void 0,n?a.createElement(a.Fragment,null,L(E.FormTitle,{className:M.default.marginBottom20},void 0,C.default.Messages.SOUNDPACK_LABEL),w):null,L(E.FormTitle,{className:(0,o.default)(M.default.marginBottom20,M.default.marginTop20)},void 0,C.default.Messages.SOUNDS),s.map((function(e){var n=e.label,r=e.sound;return L(D,{label:n,onChange:function(e){return l(r,e)},onPreview:function(e){return i(r,e)},enabled:!t.includes(r)},r)})))}j.displayName="NotificationSounds";var k=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleAFKTimeoutChange=function(e){var t=e.value;s.default.updateRemoteSettings({afkTimeout:t})},t.handleToggleShowUnreadBadge=function(){u.default.setDisableUnreadBadge(!t.props.disableUnreadBadge)},t.handleToggleShowFlash=function(){u.default.setTaskbarFlash(!t.props.taskbarFlash)},t.renderTTS=function(){if(!f.supported)return null;var e=[{name:C.default.Messages.TTS_ALLS,value:T.TTSNotificationTypes.ALL_CHANNELS},{name:C.default.Messages.TTS_CURRENT,value:T.TTSNotificationTypes.SELECTED_CHANNEL},{name:C.default.Messages.TTS_NEVER,value:T.TTSNotificationTypes.NEVER}];return L(E.FormItem,{title:C.default.Messages.FORM_LABEL_TTS_NOTIFICATIONS},void 0,L(E.FormText,{type:E.FormTextTypes.DESCRIPTION,className:M.default.marginBottom8},void 0,C.default.Messages.FORM_DESCRIPTION_TTS),L(m.default,{options:e,onChange:t.handleTTSChange,value:t.props.ttsType}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,R(t,n);var a=r.prototype;return a.handleDesktopChange=function(e){var t,n=e?T.DesktopNotificationTypes.ALL:T.DesktopNotificationTypes.NEVER;n!==T.DesktopNotificationTypes.NEVER?(t="UserSettingsModal",S.default.requestPermission((function(e){var n=e?T.NotificationPermissionTypes.ENABLED:T.NotificationPermissionTypes.BLOCKED;u.default.setPermissionsState(n,t)}))):u.default.setDesktopType(n)},a.handleTTSChange=function(e){var t=e.value;u.default.setTTSType(t)},a.render=function(){var e=this.props,t=e.desktopType,n=e.afkTimeout,r=e.disableUnreadBadge,a=e.taskbarFlash,l=e.disabledSounds,u=O.default.embedded&&O.default.isWindows(),s=i.default.range(1,11).map((function(e){return{value:60*e,label:C.default.Messages.DURATION_MINUTES.format({minutes:e})}}));return L(E.FormSection,{tag:E.FormTitleTags.H1,title:C.default.Messages.NOTIFICATIONS},void 0,L(h.default,{className:M.default.marginBottom20,value:t!==T.DesktopNotificationTypes.NEVER,onChange:this.handleDesktopChange,note:C.default.Messages.DESKTOP_NOTIFICATIONS_ENABLE_BODY},void 0,C.default.Messages.DESKTOP_NOTIFICATIONS_ENABLE),L(h.default,{className:u?M.default.marginBottom20:M.default.marginBottom40,value:!r,note:C.default.Messages.USER_SETTINGS_NOTIFICATIONS_SHOW_BADGE_BODY,onChange:this.handleToggleShowUnreadBadge},void 0,C.default.Messages.USER_SETTINGS_NOTIFICATIONS_SHOW_BADGE_LABEL),u?L(h.default,{className:M.default.marginBottom40,value:a,note:C.default.Messages.USER_SETTINGS_NOTIFICATIONS_SHOW_FLASH_BODY,onChange:this.handleToggleShowFlash},void 0,C.default.Messages.USER_SETTINGS_NOTIFICATIONS_SHOW_FLASH_LABEL):null,L(E.FormItem,{title:C.default.Messages.FORM_LABEL_PUSH_AFK_TIMEOUT},void 0,L(_.default,{searchable:!1,value:n,onChange:this.handleAFKTimeoutChange,options:s}),L(E.FormText,{type:E.FormTextTypes.DESCRIPTION,className:M.default.marginTop8},void 0,C.default.Messages.FORM_DESCRIPTION_PUSH_AFK_TIMEOUT),L(E.FormDivider,{className:(0,o.default)(M.default.marginTop40,M.default.marginBottom40)})),this.renderTTS(),L(E.FormDivider,{className:(0,o.default)(M.default.marginTop40,M.default.marginBottom40)}),L(E.FormItem,{},void 0,L(j,{disabledSounds:l})))},r}(a.PureComponent);k.displayName="UserSettingsNotifications";var U=l.default.connectStores([p.default,v.default],(function(){return{disableUnreadBadge:p.default.getDisableUnreadBadge(),taskbarFlash:p.default.taskbarFlash,disabledSounds:p.default.getDisabledSounds(),desktopType:p.default.getDesktopType(),ttsType:p.default.getTTSType(),afkTimeout:v.default.afkTimeout}}))(k);t.default=U},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=s(n(1159)),i=n(11657),l=s(n(1299)),u=n(769);function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){var e=(0,a.useStateFromStores)([l.default],(function(){return l.default.getSoundpack()})),t=(0,u.getSoundpackOptions)();return f(o.default,{onChange:function(e){var t=e.value;return(0,i.setSoundpack)(t)},value:e,searchable:!1,options:t})}c.displayName="SoundpackSelect"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSoundpack=function(e){a.default.track(i.AnalyticEvents.SOUNDPACK_UPDATED,{soundpack:e,previous_soundpack:o.default.getSoundpack()}),r.default.dispatch({type:i.ActionTypes.SET_SOUNDPACK,soundpack:e})};var r=l(n(2)),a=l(n(13)),o=l(n(1299)),i=n(1);function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=T(n(3)),i=T(n(10488)),l=T(n(695)),u=T(n(8766)),s=T(n(1180)),d=T(n(1287)),f=T(n(376)),c=T(n(55)),p=T(n(1162)),v=T(n(8267)),y=n(131),m=T(n(476)),_=T(n(10235)),h=T(n(13)),E=(T(n(93)),n(401)),g=n(1),S=T(n(6)),O=T(n(8175)),I=T(n(370));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(){return(M=Object.assign||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}).apply(this,arguments)}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(){var e=f.default.getNotificationPositionMode(),t=e!==g.OverlayNotificationPositions.DISABLED,n=s.default.getOverlayKeybind(),r=s.default.getOverlayChatKeybind();h.default.track(g.AnalyticEvents.OVERLAY_SETTINGS_UPDATED,{enabled:d.default.enabled,notifications_enabled:t,notifications_position:t?e:null,text_notifications_mode:f.default.getTextChatNotificationMode(),hotkey:null!=n?(0,E.toString)(n.shortcut):null,text_activation_hotkey:null!=r?(0,E.toString)(r.shortcut):null,text_opacity_slider:f.default.getTextWidgetOpacity()})}var P=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleChangeEnabled=function(e){l.default.setEnabled(e),A(),h.default.track(g.AnalyticEvents.OVERLAY_TOGGLED,{enabled:e,setting_type:"overlay toggled - global"})},t.handleChangeDisplayNameMode=function(e){var t=e.value;l.default.setDisplayNameMode(t)},t.handleChangeAvatarSizeMode=function(e){var t=e.value;l.default.setAvatarSizeMode(t)},t.handleChangeDisplayUserMode=function(e){var t=e.value;l.default.setDisplayUserMode(t)},t.handleChangeTextNotificationMode=function(){var e=g.OverlayNotificationTextChatTypes.ENABLED,n=g.OverlayNotificationTextChatTypes.DISABLED,r=t.props.textChatNotificationMode===e?n:e;l.default.setTextChatNotificationMode(r),A()},t.handleChangeNotificationPositionMode=function(e,t){l.default.setNotificationPositionMode(t),A()},t.handleInputLockShortcutChange=function(e){i.default.setKeybind(M({},t.props.inputLockKeybind,{shortcut:e})),A()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,N(t,n);var o=r.prototype;return o.renderExplanation=function(){return null},o.renderOverlayToggle=function(){var e=this.props,t=e.enabled,n=e.inputLockKeybind;return b(c.default,{className:I.default.marginBottom20},void 0,b(c.default.Child,{basis:"50%"},void 0,b(m.default,{},void 0,b(y.FormTitle,{tag:y.FormTitleTags.H5},void 0,S.default.Messages.SETTINGS_GAMES_ENABLE_OVERLAY_LABEL),b(v.default,{className:I.default.marginBottom20,style:{marginTop:16},value:t,hideBorder:!0,onChange:this.handleChangeEnabled},void 0,S.default.Messages.ENABLE_INGAME_OVERLAY))),b(c.default.Child,{basis:"50%"},void 0,b(m.default,{title:S.default.Messages.KEYBIND_TOGGLE_OVERLAY_INPUT_LOCK},void 0,b(u.default,{disabled:!t,defaultValue:null!=n?n.shortcut:[],onChange:this.handleInputLockShortcutChange}))))},o.renderAvatarSize=function(){return b(c.default,{className:I.default.marginBottom20},void 0,b(c.default.Child,{},void 0,b(m.default,{title:S.default.Messages.FORM_LABEL_AVATAR_SIZE},void 0,b(p.default,{options:[{name:S.default.Messages.AVATAR_SIZE_OPTION_LARGE,value:g.OverlayAvatarSizes.LARGE},{name:S.default.Messages.AVATAR_SIZE_OPTION_SMALL,value:g.OverlayAvatarSizes.SMALL}],onChange:this.handleChangeAvatarSizeMode,value:this.props.avatarSizeMode}))))},o.renderDisplayNames=function(){return b(c.default,{className:I.default.marginBottom20},void 0,b(c.default.Child,{},void 0,b(m.default,{title:S.default.Messages.FORM_LABEL_DISPLAY_NAMES},void 0,b(p.default,{options:[{name:S.default.Messages.DISPLAY_OPTION_ALWAYS,value:g.OverlayDisplayNames.ALWAYS},{name:S.default.Messages.DISPLAY_OPTION_ONLY_WHILE_SPEAKING,value:g.OverlayDisplayNames.ONLY_WHILE_SPEAKING},{name:S.default.Messages.DISPLAY_OPTION_NEVER,value:g.OverlayDisplayNames.NEVER}],onChange:this.handleChangeDisplayNameMode,value:this.props.displayNameMode}))))},o.renderDisplayUsers=function(){return b(c.default,{className:I.default.marginBottom20},void 0,b(c.default.Child,{},void 0,b(m.default,{title:S.default.Messages.FORM_LABEL_DISPLAY_USERS},void 0,b(p.default,{options:[{name:S.default.Messages.DISPLAY_OPTION_ALWAYS,value:g.OverlayDisplayUsers.ALWAYS},{name:S.default.Messages.DISPLAY_OPTION_ONLY_WHILE_SPEAKING,value:g.OverlayDisplayUsers.ONLY_WHILE_SPEAKING}],onChange:this.handleChangeDisplayUserMode,value:this.props.displayUserMode}))))},o.renderTextNotificationMode=function(){var e=this.props.notificationPositionMode!==g.OverlayNotificationPositions.DISABLED,t=e&&this.props.textChatNotificationMode===g.OverlayNotificationTextChatTypes.ENABLED;return b(c.default,{className:I.default.marginBottom20},void 0,b(c.default.Child,{},void 0,b(m.default,{},void 0,b(v.default,{value:t,disabled:!e,onChange:this.handleChangeTextNotificationMode,hideBorder:!0},void 0,S.default.Messages.FORM_LABEL_OVERLAY_TEXT_CHAT_NOTIFICATIONS))))},o.renderNotificationPosition=function(){return b(c.default,{className:I.default.marginBottom20},void 0,b(c.default.Child,{},void 0,b(m.default,{title:S.default.Messages.FORM_LABEL_NOTIFICATION_POSITION},void 0,b("div",{className:O.default.notificationSettings},void 0,b(_.default,{position:this.props.notificationPositionMode,onChange:this.handleChangeNotificationPositionMode})))))},o.render=function(){return b(a.Fragment,{},void 0,b(y.FormSection,{tag:y.FormTitleTags.H1,title:S.default.Messages.OVERLAY},void 0,this.renderExplanation(),this.renderOverlayToggle(),this.renderAvatarSize(),this.renderDisplayNames(),this.renderDisplayUsers()),b(y.FormSection,{tag:y.FormTitleTags.H1,title:S.default.Messages.OVERLAY_NOTIFICATIONS_SETTINGS,className:I.default.marginTop40},void 0,this.renderNotificationPosition(),this.renderTextNotificationMode()))},r}(a.PureComponent);P.displayName="UserSettingsOverlay";var R=o.default.connectStores([d.default,f.default,s.default],(function(){return{enabled:d.default.enabled,avatarSizeMode:f.default.getAvatarSizeMode(),displayNameMode:f.default.getDisplayNameMode(),displayUserMode:f.default.getDisplayUserMode(),notificationPositionMode:f.default.getNotificationPositionMode(),textChatNotificationMode:f.default.getTextChatNotificationMode(),inputLockKeybind:s.default.getOverlayKeybind()}}))(P);t.default=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=q;var r,a=x(n(0)),o=B(n(9)),i=n(3),l=B(n(2)),u=x(n(287)),s=n(687),d=n(5946),f=B(n(11660)),c=B(n(11661)),p=B(n(8747)),v=B(n(8748)),y=n(42),m=B(n(36)),_=B(n(361)),h=B(n(1147)),E=B(n(5832)),g=B(n(61)),S=B(n(371)),O=B(n(10489)),I=B(n(10058)),T=B(n(151)),C=n(131),b=B(n(5954)),M=B(n(1240)),N=B(n(8448)),A=B(n(5830)),P=B(n(9130)),R=B(n(11665)),L=B(n(5980)),D=B(n(47)),w=B(n(24)),j=n(48),k=B(n(93)),U=n(1),G=B(n(6)),F=B(n(8181));function B(e){return e&&e.__esModule?e:{default:e}}function H(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return H=function(){return e},e}function x(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=H();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function V(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function W(e){var t=e.guild;return V(g.default,{onClick:function(){(0,y.transitionTo)(U.Routes.CHANNEL(t.id,m.default.getChannelId(t.id)),{state:{shouldShowSubscribeTooltip:!0}}),(0,s.popLayer)()},className:F.default.cardWrapper},void 0,V(I.default,{className:F.default.card},void 0,V(S.default,{guild:t,size:S.default.Sizes.LARGE,"aria-hidden":!0}),V("div",{className:F.default.guildInfo},void 0,V(w.default,{size:w.default.Sizes.SIZE_16,className:F.default.guildName},void 0,t.name),V("div",{className:F.default.subscriptionInfo},void 0,V(A.default,{className:F.default.premiumGuildIcon}),V(w.default,{className:F.default.subscriberCount},void 0,G.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_SUBSCRIBER_COUNT_TOOLTIP.format({subscriberCount:t.premiumSubscriberCount})))),V(O.default,{subscriberCount:t.premiumSubscriberCount})))}W.displayName="GuildSubscriptionInfoCard";var Y=V(p.default,{});function z(){var e=(0,i.useStateFromStores)([_.default],(function(){return _.default.getFlattenedGuilds().slice(0,U.PREMIUM_GUILD_UPSELL_LIST_AMT)}));return a.createElement(a.Fragment,null,V("div",{className:F.default.marketingLogo},void 0,V(P.default,{className:F.default.marketingLogoIcon,"aria-label":G.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_TITLE,role:"heading"}),V("div",{className:F.default.marketingLogoImage})),V(D.default,{className:F.default.marketingHeader,size:D.default.Sizes.SIZE_20},void 0,G.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_MARKETING_HEADER),V(w.default,{size:w.default.Sizes.SIZE_16},void 0,G.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_MARKETING_BLURB),V(D.default,{className:F.default.featureHeaderTop,size:D.default.Sizes.SIZE_20,muted:!0},void 0,G.default.Messages.PREMIUM_GUILD_USER_FEATURES_HEADER),V(f.default,{features:[{description:G.default.Messages.PREMIUM_GUILD_USER_FEATURE_MEMBER_BADGE,icon:A.default,iconClass:F.default.memberBadgeIcon},{description:G.default.Messages.PREMIUM_GUILD_USER_FEATURE_PROFILE_BADGE,overrideIcon:function(e){return V("div",{className:(0,o.default)(e,F.default.profileBadgeIcon)})}},{description:G.default.Messages.PREMIUM_GUILD_USER_FEATURE_ROLE,icon:N.default,iconClass:F.default.roleIcon}],columns:3}),V(D.default,{className:F.default.featureHeader,size:D.default.Sizes.SIZE_20,muted:!0},void 0,G.default.Messages.PREMIUM_GUILD_GUILD_FEATURES_HEADER),V(f.default,{features:[{description:G.default.Messages.PREMIUM_GUILD_GUILD_FEATURE_EMOJI,icon:b.default,iconClass:F.default.emojiIcon},{description:G.default.Messages.PREMIUM_GUILD_GUILD_FEATURE_STICKERS,icon:R.default,iconClass:F.default.stickerIcon},{description:G.default.Messages.PREMIUM_GUILD_GUILD_FEATURE_AUDIO_QUALITY,icon:M.default,iconClass:F.default.audioQualityIcon},{description:G.default.Messages.PREMIUM_GUILD_GUILD_FEATURE_UPLOAD_SIZE,icon:L.default,iconClass:F.default.uploadSizeIcon}].filter(j.isNotNullish),columns:3}),V(w.default,{className:F.default.guildFullFeatures,size:w.default.Sizes.SIZE_16},void 0,G.default.Messages.PREMIUM_GUILD_FULL_FEATURE_LIST.format({helpdeskArticle:k.default.getArticleURL(U.HelpdeskArticles.GUILD_SUBSCRIPTIONS)})),V("section",{className:F.default.guildsSection},void 0,V(v.default,{className:F.default.guildSubscriptionHeading}),null==e||0===e.length?a.createElement(a.Fragment,null,V("div",{className:F.default.emptyGuilds}),V(w.default,{size:D.default.Sizes.SIZE_20,className:F.default.emptyGuildsTitle},void 0,G.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_MARKETING_GUILDS_EMPTY_DESCRIPTION_TITLE),V(w.default,{size:D.default.Sizes.SIZE_16,className:F.default.emptyGuildsText},void 0,G.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_MARKETING_GUILDS_EMPTY_DESCRIPTION_TEXT)):a.createElement(a.Fragment,null,V(w.default,{size:D.default.Sizes.SIZE_16,className:F.default.guildsBlurb},void 0,G.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_MARKETING_GUILDS_BLURB),V("div",{className:F.default.guilds},void 0,e.map((function(e){return V(W,{guild:e},e.id)}))))),Y)}var K=V(T.default,{}),$=V(c.default,{}),Z=V(z,{});function q(){a.useEffect((function(){l.default.wait((function(){u.fetchSubscriptions(),(0,d.fetchUserPremiumGuildSubscriptionSlots)()}))}),[]);var e=(0,i.useStateFromStores)([h.default],(function(){return h.default.hasFetchedSubscriptions()})),t=(0,i.useStateFromStores)([E.default],(function(){return E.default.slots}));return e?V("div",{className:F.default.container},void 0,V("div",{className:F.default.background}),V("div",{className:F.default.content},void 0,Object.keys(t).length>0?a.createElement(a.Fragment,null,V(C.FormTitle,{tag:C.FormTitle.Tags.H1},void 0,G.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_TITLE),$,V("div",{className:F.default.divider})):null,Z)):V("div",{className:(0,o.default)(F.default.container,F.default.loading)},void 0,K)}q.displayName="UserSettingsPremiumGuildSubscriptions"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=l(n(9)),i=l(n(8176));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).renderFeature=function(e,n){return s("div",{className:i.default.feature},n,t.renderIcon(e),s("div",{},void 0,null!=e.title?s("div",{className:i.default.title},void 0,e.title):null,s("div",{className:null==e.title?i.default.descriptionStandalone:i.default.description},void 0,e.description)))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var a=r.prototype;return a.renderIcon=function(e){if(null!=e.overrideIcon)return e.overrideIcon(i.default.icon);if(null!=e.icon&&null!=e.iconClass)return s(e.icon,{className:(0,o.default)(i.default.icon,e.iconClass)});throw new Error("Missing overrideIcon or iconName and iconClass")},a.render=function(){return s("div",{className:i.default.features,style:{gridTemplateColumns:Array(this.props.columns).fill("1fr").join(" ")}},void 0,this.props.features.map(this.renderFeature))},r}(a.Component);f.displayName="PremiumFeaturesList";var c=f;t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,l.useStateFromStores)([p.default],(function(){return p.default.getPremiumTypeSubscription()})),t=(0,l.useStateFromStores)([v.default],(function(){return v.default.slots})),n=(0,i.default)(t).filter((function(e){return e.isAvailable()})).value(),r=(0,i.default)(t).groupBy((function(e){var t=e.premiumGuildSubscription;return null!=t?t.guildId:"0"})).value(),o=r[0],u=Object.keys(r).filter((function(e){return"0"!==e}));if(0===u.length&&null==o||null==e)return null;var s=(0,i.default)(t).filter((function(e){return!e.canceled})).value().length,d=A.default.getNumIncludedPremiumGuildSubscriptionSlots(e.planId),f=s>d;return a.createElement(a.Fragment,null,G(C.default,{size:C.default.Sizes.SIZE_14,className:j.default.blurb},void 0,w.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_SUBTITLE.format({helpdeskArticle:M.default.getArticleURL(D.HelpdeskArticles.GUILD_SUBSCRIPTIONS)})),null!=o?G(W,{guildId:"0",premiumGuildSubscriptionSlots:o,premiumSubscription:e,availablePremiumGuildSubscriptionSlots:n,hasCancelablePremiumGuildSubscriptionSlot:f}):null,u.length>0?a.createElement(a.Fragment,null,G(T.default,{size:T.default.Sizes.SIZE_12,className:j.default.subSectionHeader},void 0,w.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_ACTIVE_TITLE),u.map((function(t){return G(W,{guildId:t,premiumGuildSubscriptionSlots:r[t],premiumSubscription:e,availablePremiumGuildSubscriptionSlots:n,hasCancelablePremiumGuildSubscriptionSlot:f},t)}))):null)};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=U();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=k(n(9)),i=k(n(8)),l=n(3),u=n(687),s=k(n(8687)),d=n(42),f=k(n(15)),c=k(n(36)),p=k(n(1147)),v=k(n(5832)),y=k(n(271)),m=k(n(61)),_=k(n(371)),h=k(n(278)),E=k(n(10489)),g=k(n(8663)),S=k(n(5830)),O=k(n(5827)),I=n(41),T=k(n(47)),C=k(n(24)),b=k(n(150)),M=k(n(93)),N=n(5935),A=k(n(96)),P=k(n(97)),R=k(n(8922)),L=k(n(11662)),D=n(1),w=k(n(6)),j=k(n(8180));function k(e){return e&&e.__esModule?e:{default:e}}function U(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return U=function(){return e},e}function G(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function F(){return(F=Object.assign||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}).apply(this,arguments)}function B(e){var t=e.deadline,n=(0,s.default)(t,1e3),r=n.days,o=n.hours,i=n.minutes;return a.createElement(a.Fragment,null,w.default.Messages.PREMIUM_GUILD_COOLDOWN_AVAILABLE_COUNTDOWN.format({days:r,hours:o,minutes:i}))}function H(e){var t=e.guild,n=e.premiumGuildSubscriptionSlots,r=e.availablePremiumGuildSubscriptionSlots,o=t.premiumSubscriberCount,i=n.sort((function(e,t){return Number(null!=e.premiumGuildSubscription?e.premiumGuildSubscription.id:0)-Number(null!=t.premiumGuildSubscription?t.premiumGuildSubscription.id:0)}))[0];if(null==i)return null;var l=null!=i.premiumGuildSubscription?P.default.extractTimestamp(i.premiumGuildSubscription.id):0,s=(0,N.getPremiumGuildSubscriptionMonths)(l);var f=null!=t.banner?b.default.getGuildBannerURL(t):null;return G("div",{className:j.default.guildHeader},void 0,G("div",{className:j.default.guildHeaderBackground,style:{backgroundImage:null!=f?"url("+f+")":void 0}}),G(_.default,{guild:t,className:j.default.guildIcon}),G("div",{className:j.default.guildHeaderContent},void 0,G(T.default,{size:T.default.Sizes.SIZE_16,className:j.default.guildName},void 0,t.name),G(C.default,{size:C.default.Sizes.SIZE_12,className:j.default.guildSubscriptionDuration},void 0,w.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_DURATION.format({months:s,date:new Date(l)})),G(C.default,{size:C.default.Sizes.SIZE_12,className:j.default.guildSubscriberCount},void 0,G(S.default,{className:j.default.guildSubscriberCountIcon}),G("div",{},void 0,w.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_SUBSCRIBER_COUNT_TOOLTIP.format({subscriberCount:n.length})),0!==r.length?G(y.default,{onClick:function(){if(0!==r.length){var e=r.length>1;(0,I.openModal)((function(n){return a.createElement(R.default,F({},n,{selectedGuild:t,locationSection:D.AnalyticsSections.SETTINGS_PREMIUM,userPremiumGuildSubscriptionSlots:e?void 0:r}))}))}},className:j.default.guildSubscribeButton},void 0,w.default.Messages.PREMIUM_GUILD_PERKS_MODAL_BUTTON_SUBSCRIBE_THIS_SERVER):null)),G("div",{className:j.default.guildGemIndicatorContainer},void 0,G(m.default,{onClick:function(){(0,d.transitionTo)(D.Routes.CHANNEL(t.id,c.default.getChannelId(t.id))),(0,u.popLayer)()}},void 0,G(E.default,{className:j.default.gemIndicator,subscriberCount:o}))))}H.displayName="PremiumGuildHeader";var x=G(g.default,{});function V(e){var t,n=e.premiumGuildSubscriptionSlot,r=e.premiumSubscription,i=e.hasCancelablePremiumGuildSubscriptionSlot,l=null!=n.cooldownEndsAt?new Date(n.cooldownEndsAt):null,u=l&&l>new Date,s=null!=n.premiumGuildSubscription?new Date(P.default.extractTimestamp(n.premiumGuildSubscription.id)):null,d=n.canceled;var f=d?O.default:S.default;return G("div",{className:j.default.guildSubscriptionSlot},void 0,G(f,{className:(0,o.default)(j.default.guildSubscriptionSlotIcon,(t={},t[j.default.guildSubscriptionSlotIconCanceled]=d,t))}),G("div",{className:j.default.guildSubscriptionSlotContent},void 0,G(C.default,{size:C.default.Sizes.SIZE_14,className:j.default.guildSubscriptionCreationDate},void 0,null!=s?w.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_CREATION_DATE.format({date:s}):w.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_UNUSED_SLOT_DESCRIPTION),G(C.default,{size:C.default.Sizes.SIZE_12,color:C.default.Colors.MUTED},void 0,u&&null!=l?G(B,{deadline:l.getTime()}):null,u&&d?" • ":null,d?w.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_PENDING_CANCELATION.format({date:r.currentPeriodEnd}):null)),G(h.default,{renderPopout:function(e){var t=e.closePopout;return G(L.default,{onClose:t,userPremiumGuildSubscriptionSlot:n,premiumSubscription:r,hasCancelablePremiumGuildSubscriptionSlot:i})},position:h.default.Positions.RIGHT,align:h.default.Align.CENTER},void 0,(function(e){return a.createElement(m.default,F({},e,{className:j.default.guildSubscriptionSlotMenuIcon}),x)})))}function W(e){var t=e.guildId,n=e.premiumGuildSubscriptionSlots,r=e.premiumSubscription,a=e.availablePremiumGuildSubscriptionSlots,o=e.hasCancelablePremiumGuildSubscriptionSlot,i=(0,l.useStateFromStores)([f.default],(function(){return"0"!==t?f.default.getGuild(t):null}));return null==i&&"0"!==t?null:G("div",{className:j.default.guild},void 0,null!=i?G(H,{guild:i,premiumGuildSubscriptionSlots:n,availablePremiumGuildSubscriptionSlots:a}):null,G("div",{className:j.default.guildSubscriptionSlots},void 0,n.map((function(e){return G(V,{premiumGuildSubscriptionSlot:e,premiumSubscription:r,hasCancelablePremiumGuildSubscriptionSlot:o},e.id)}))))}V.displayName="PremiumGuildSubscriptionSlot",W.displayName="PremiumGuild"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var r,a=y(n(0)),o=y(n(8253)),i=n(8256),l=n(11663),u=n(11664),s=n(41),d=p(n(8922)),f=n(1),c=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(){return(_=Object.assign||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}).apply(this,arguments)}function h(e){var t=e.userPremiumGuildSubscriptionSlot,n=e.onClose,r=e.hasCancelablePremiumGuildSubscriptionSlot,p=e.premiumSubscription,v=e.onSelect;var y=p.status===f.SubscriptionStatusTypes.PAST_DUE;return m(o.default,{onSelect:v,navId:"subscription-context",style:o.MenuStyle.FIXED,"aria-label":c.default.Messages.GENERIC_ACTIONS_MENU_LABEL,onClose:n},void 0,m(o.MenuItem,{id:"apply",label:null!=t.premiumGuildSubscription?c.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_TRANSFER_BUTTON:c.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_SELECT_SERVER_BUTTON,subtext:t.isOnCooldown()?c.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_TRANSFER_BUTTON_DISABLED_TOOLTIP:null,action:function(){(0,s.openModal)((function(e){return a.createElement(d.default,_({},e,{userPremiumGuildSubscriptionSlots:[t],locationSection:f.AnalyticsSections.SETTINGS_PREMIUM}))}))},disabled:t.isOnCooldown()}),t.canceled?m(o.MenuItem,{id:"uncancel",label:c.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_SLOT_UNCANCEL_BUTTON,subtext:y?c.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_CANCEL_BUTTON_DISABLED_PAST_DUE_TOOLTIP:null,action:function(){(0,u.openPremiumGuildSubscriptionUncancellationModal)(t.id)},disabled:y}):m(o.MenuItem,{id:"cancel",label:c.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_SLOT_CANCEL_BUTTON,subtext:r?y?c.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_CANCEL_BUTTON_DISABLED_PAST_DUE_TOOLTIP:null:c.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_CANCEL_BUTTON_DISABLED_TOOLTIP,action:function(){(0,l.openPremiumGuildSubscriptionCancellationModal)(t)},disabled:!r||y,color:i.MenuItemColor.DANGER}))}h.displayName="UserPremiumGuildSubscriptionSlotPopout"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=$,t.openPremiumGuildSubscriptionCancellationModal=function(e){(0,g.openModal)((function(t){return o.createElement($,j({},t,{subscriptionSlot:e}))}))};var r,a,o=w(n(0)),i=L(n(8)),l=n(92),u=n(3),s=n(287),d=n(5946),f=L(n(257)),c=L(n(1147)),p=L(n(5832)),v=L(n(29)),y=L(n(55)),m=L(n(151)),_=n(85),h=n(131),E=n(35),g=n(41),S=w(n(96)),O=n(281),I=n(1169),T=n(6002),C=L(n(6009)),b=n(1237),M=L(n(5695)),N=n(5676),A=n(1),P=L(n(6)),R=L(n(8178));function L(e){return e&&e.__esModule?e:{default:e}}function D(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return D=function(){return e},e}function w(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=D();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function j(){return(j=Object.assign||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}).apply(this,arguments)}function k(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function U(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){k(o,r,a,i,l,"next",e)}function l(e){k(o,r,a,i,l,"throw",e)}i(void 0)}))}}function G(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function F(e){var t=e.premiumSubscription,n=e.isInventory,r=e.headerId,a=e.onNext,i=e.onClose;return o.createElement(o.Fragment,null,G(E.ModalHeader,{separator:!1,id:r},void 0,G(h.FormTitle,{tag:h.FormTitleTags.H4},void 0,n?P.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_CANCEL_TITLE_INVENTORY:P.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_CANCEL_TITLE_GUILD),G(E.ModalCloseButton,{onClick:i})),G(E.ModalContent,{className:R.default.body},void 0,G("div",{className:R.default.cancelImage}),G("div",{},void 0,t.isPurchasedExternally&&t.paymentGateway?P.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_CANCEL_BODY_EXTERNAL.format({paymentGatewayName:l.PaymentGatewayToFriendlyName[t.paymentGateway],subscriptionManagementLink:(0,S.getExternalSubscriptionMethodUrl)(t.paymentGateway,"SUBSCRIPTION_MANAGEMENT")}):n?P.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_CANCEL_BODY_INVENTORY.format({endDate:t.currentPeriodEnd}):P.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_CANCEL_BODY_GUILD.format({endDate:t.currentPeriodEnd}))),t.isPurchasedExternally?null:G(E.ModalFooter,{justify:y.default.Justify.START},void 0,G(v.default,{onClick:a},void 0,P.default.Messages.NEXT),G(v.default,{look:v.default.Looks.LINK,onClick:i},void 0,P.default.Messages.CANCEL)))}function B(){var e=Object.values(p.default.slots),t=i.default.sortBy(e.filter((function(e){return!e.canceled})),(function(e){return[null!=e.premiumGuildSubscription,null!=e.cooldownEndsAt?new Date(e.cooldownEndsAt):null]}))[0];return null!=t?t.id:null}function H(e,t,n){return x.apply(this,arguments)}function x(){return(x=U(regeneratorRuntime.mark((function e(t,n,r){var a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=(a=null!=r?r:B())){e.next=3;break}throw new Error("No slot to cancel");case 3:return e.next=5,(0,d.cancelUserPremiumGuildSubscriptionSlot)(a);case 5:return e.next=7,(0,s.updateSubscription)(t,{items:(0,S.getItemsFromNewAdditionalPlans)(t,n)});case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(e){e[e.START=1]="START",e[e.PREVIEW=2]="PREVIEW",e[e.CONFIRM=3]="CONFIRM"}(a||(a={}));var V=G(m.default,{}),W=G(b.PremiumInvoiceTableDivider,{});function Y(e){var t,n,r=e.premiumSubscription,a=e.subscriptionSlotId,i=e.headerId,l=e.onBack,s=e.onNext,d=e.onClose,c=o.useState(!1),p=c[0],m=c[1],_=o.useMemo((function(){try{return[(0,T.calculateAdditionalPlansWithPremiumGuildAdjustment)(r,-1),!1]}catch(e){return[[],!0]}}),[r]),h=_[0],g=_[1];o.useEffect((function(){g&&d()}),[g]);var L=(0,u.useStateFromStoresObject)([f.default],(function(){var e=f.default.getHardcoded(r.planId);return{premiumSubscriptionPlan:e,premiumGuildPlan:f.default.getHardcodedForSkuAndInterval(A.PremiumSubscriptionSKUs.GUILD,e.interval)}})),D=L.premiumSubscriptionPlan,w=L.premiumGuildPlan,j=(0,I.useSubscriptionInvoicePreview)({subscriptionId:r.id,items:(0,S.getItemsWithUpsertedPremiumGuildPlan)(r,null!==(t=null===(n=h[0])||void 0===n?void 0:n.quantity)&&void 0!==t?t:0,w.id),renewal:!0})[0];if(null==j)return V;var k=D.currency,F=D.interval,B=null!=r.renewalMutations?r.renewalMutations.planId:r.planId;return o.createElement(o.Fragment,null,G(C.default,{onClose:d,headerId:i}),G(E.ModalContent,{className:R.default.body},void 0,G("div",{},void 0,P.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_CANCEL_PREVIEW.format({endDate:j.subscriptionPeriodStart})),G(b.PremiumInvoiceTable,{className:R.default.invoiceTable},void 0,G(b.PremiumInvoiceTableHeader,{},void 0,P.default.Messages.PREMIUM_SUBSCRIPTION_UPDATES),G(b.PremiumInvoiceTableRow,{label:P.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_CANCEL_INVOICE_SUBSCRIPTION_CANCELLED.format({subscriptionCount:1}),value:(0,O.formatRate)((0,O.formatPrice)(null!=S.default.getPremiumType(B)?-w.getPriceForPremiumUser():-w.price,k),F),className:R.default.invoiceCancelRow}),W,G(N.SubscriptionInvoiceFooter,{premiumSubscription:r,renewalInvoice:j,isUpdate:!0}))),G(E.ModalFooter,{align:y.default.Align.CENTER,justify:y.default.Justify.BETWEEN},void 0,G(v.default,{color:v.default.Colors.RED,disabled:p,onClick:U(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,m(!0),e.next=4,H(r,h,a);case 4:s(),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),m(!1);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})))},void 0,P.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_CANCEL_BUTTON),G(M.default,{onClick:l})))}function z(e){var t=e.premiumSubscription,n=e.headerId,r=e.onClose;return o.createElement(o.Fragment,null,G(E.ModalHeader,{separator:!1,id:n},void 0,G(h.FormTitle,{tag:h.FormTitleTags.H4},void 0,P.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_CONFIRM_TITLE),G(E.ModalCloseButton,{onClick:r})),G(E.ModalContent,{className:R.default.body},void 0,G("div",{className:R.default.cancelImage}),G("div",{},void 0,P.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_CONFIRM_BODY.format({endDate:t.currentPeriodEnd}))),G(E.ModalFooter,{},void 0,G(v.default,{onClick:r},void 0,P.default.Messages.OKAY)))}var K=G(E.ModalContent,{},void 0,G(m.default,{}));function $(e){var t=e.subscriptionSlot,n=e.transitionState,r=e.onClose,i=(0,_.useUID)();o.useEffect((function(){c.default.hasFetchedSubscriptions()||(0,s.fetchSubscriptions)()}),[]);var l,d=(0,u.useStateFromStores)([c.default],(function(){return c.default.getPremiumTypeSubscription()})),f=o.useState(a.START),p=f[0],v=f[1];if(null==d)l=K;else switch(p){case a.START:l=G(F,{premiumSubscription:d,isInventory:null==t.premiumGuildSubscription,headerId:i,onNext:function(){return v(a.PREVIEW)},onClose:r});break;case a.PREVIEW:l=G(Y,{premiumSubscription:d,subscriptionSlotId:t.id,headerId:i,onBack:function(){return v(a.START)},onNext:function(){return v(a.CONFIRM)},onClose:r});break;case a.CONFIRM:l=G(z,{premiumSubscription:d,headerId:i,onClose:r});break;default:throw new Error("Unexpected step: "+p)}return G(E.ModalRoot,{transitionState:n,"aria-labelledby":i},void 0,l)}$.displayName="PremiumGuildSubscriptionCancellationModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=j,t.openPremiumGuildSubscriptionUncancellationModal=function(e){(0,h.openModal)((function(t){return o.createElement(j,b({},t,{subscriptionSlotId:e}))}))};var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=T(n(23)),l=n(3),u=n(287),s=n(5946),d=T(n(39)),f=T(n(1147)),c=T(n(29)),p=T(n(55)),v=T(n(151)),y=n(85),m=n(131),_=n(35),h=n(41),E=n(96),g=n(6002),S=n(1),O=T(n(6)),I=T(n(8179));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(){return(b=Object.assign||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}).apply(this,arguments)}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function A(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){N(o,r,a,i,l,"next",e)}function l(e){N(o,r,a,i,l,"throw",e)}i(void 0)}))}}function P(e,t,n){return R.apply(this,arguments)}function R(){return(R=A(regeneratorRuntime.mark((function e(t,n,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.uncancelUserPremiumGuildSubscriptionSlot)(r);case 2:return e.next=4,(0,u.updateSubscription)(t,{items:(0,E.getItemsFromNewAdditionalPlans)(t,n)});case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function L(e){var t=e.premiumSubscription,n=e.subscriptionSlotId,r=e.headerId,a=e.onNext,u=e.onClose,s=o.useState(!1),f=s[0],v=s[1],y=(0,l.useStateFromStores)([d.default],(function(){return d.default.theme}));return o.createElement(o.Fragment,null,M(_.ModalHeader,{separator:!1,id:r},void 0,M(m.FormTitle,{tag:m.FormTitleTags.H4},void 0,O.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_INVENTORY_UNCANCEL_TITLE),M(_.ModalCloseButton,{onClick:u})),M(_.ModalContent,{className:I.default.body},void 0,O.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_INVENTORY_UNCANCEL_DESCRIPTION),M(_.ModalFooter,{justify:p.default.Justify.START},void 0,M(c.default,{onClick:A(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,v(!0),(0,i.default)(null!=t.renewalMutations,"Cannot uncancel guild subscription without renewal mutations"),r=(0,g.calculateAdditionalPlansWithPremiumGuildAdjustment)(t,1),(0,i.default)((0,E.getNumPremiumGuildSubscriptions)(r)<=(0,E.getNumPremiumGuildSubscriptions)(t.additionalPlans),"Uncanceling should not increase the number of guild subscriptions"),e.next=7,P(t,r,n);case 7:a(),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),v(!1);case 13:case"end":return e.stop()}}),e,null,[[0,10]])})))},void 0,O.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_INVENTORY_UNCANCEL_BUTTON),M(c.default,{look:c.default.Looks.LINK,color:y===S.ThemeTypes.LIGHT?c.default.Colors.PRIMARY:c.default.Colors.WHITE,onClick:u,disabled:f},void 0,O.default.Messages.NEVERMIND)))}function D(e){var t=e.headerId,n=e.onClose;return o.createElement(o.Fragment,null,M(_.ModalHeader,{separator:!1,id:t},void 0,M(m.FormTitle,{tag:m.FormTitleTags.H4},void 0,O.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_INVENTORY_UNCANCEL_CONFIRM_TITLE),M(_.ModalCloseButton,{onClick:n})),M(_.ModalContent,{className:I.default.body},void 0,M("div",{className:I.default.uncancelImage}),M("div",{},void 0,O.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_INVENTORY_UNCANCEL_CONFIRM_DESCRIPTION)),M(_.ModalFooter,{},void 0,M(c.default,{onClick:n},void 0,O.default.Messages.OKAY)))}!function(e){e[e.START=1]="START",e[e.CONFIRM=2]="CONFIRM"}(a||(a={}));var w=M(_.ModalContent,{},void 0,M(v.default,{}));function j(e){var t=e.subscriptionSlotId,n=e.transitionState,r=e.onClose,i=(0,y.useUID)();o.useEffect((function(){f.default.hasFetchedSubscriptions()||(0,u.fetchSubscriptions)()}),[]);var s,d=(0,l.useStateFromStores)([f.default],(function(){return f.default.getPremiumTypeSubscription()})),c=o.useState(a.START),p=c[0],v=c[1];if(null==d)s=w;else switch(p){case a.START:s=M(L,{premiumSubscription:d,subscriptionSlotId:t,headerId:i,onNext:function(){return v(a.CONFIRM)},onClose:r});break;case a.CONFIRM:s=M(D,{headerId:i,onClose:r});break;default:throw new Error("Unexpected step: "+p)}return M(_.ModalRoot,{transitionState:n,"aria-labelledby":i},void 0,s)}j.displayName="PremiumGuildSubscriptionUncancellationModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color"]);return o.createElement("svg",u({width:n,height:a},(0,i.default)(f),{viewBox:"0 0 24 24"}),s("path",{d:"M13.8003 3.59643V7.86267C13.8003 9.15683 14.8448 10.2011 16.1393 10.2011H20.4067C20.9334 10.2011 21.2012 9.56739 20.8263 9.19253L14.8091 3.17694C14.4341 2.80208 13.8003 3.06092 13.8003 3.59643Z",fill:d}),s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9727 7.88073C11.9727 10.1692 13.8304 12.0269 16.1189 12.0269H20.9471V19.2064C20.9471 20.1936 20.1394 21.0013 19.1523 21.0013H4.79318C3.80599 21.0013 2.99829 20.1936 2.99829 19.2064V4.84737C2.99829 3.86019 3.80599 3.05249 4.79318 3.05249H11.9727V7.88073ZM13.8 14C13.8 14.9941 12.9941 15.8 12 15.8C11.0059 15.8 10.2 14.9941 10.2 14H9C9 15.6569 10.3431 17 12 17C13.6569 17 15 15.6569 15 14H13.8ZM7 15C7 15.5523 6.55228 16 6 16C5.44772 16 5 15.5523 5 15C5 14.4477 5.44772 14 6 14C6.55228 14 7 14.4477 7 15ZM18 16C18.5523 16 19 15.5523 19 15C19 14.4477 18.5523 14 18 14C17.4477 14 17 14.4477 17 15C17 15.5523 17.4477 16 18 16Z",fill:d}))}d.displayName="StickerPadded"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(85);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(){return(l=Object.assign||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}).apply(this,arguments)}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var s=u("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.84006 5.4367C2.19536 5.4367 2.49139 5.14651 2.49139 4.79823C2.49139 4.44996 2.19536 4.15977 1.84006 4.15977H1.48476C1.12947 4.15977 0.83329 4.44996 0.83329 4.79823C0.83329 5.14651 1.12947 5.4367 1.48476 5.4367H1.84006ZM15.282 13.1569C18.6574 11.6477 20.0785 7.81669 18.539 4.6241C17.4731 2.36029 15.2229 1.02527 12.8542 0.909088H6.16283C5.57062 0.909088 5.15606 1.37355 5.15606 1.89597C5.15606 2.47634 5.62989 2.88271 6.16283 2.88271H7.88006C8.23535 2.88271 8.53139 3.17289 8.53139 3.52117C8.53139 3.86945 8.23535 4.15977 7.88006 4.15977H3.67575C3.32046 4.15977 3.02428 4.44996 3.02428 4.79823C3.02428 5.14651 3.32046 5.4367 3.67575 5.4367H6.69578C7.05108 5.4367 7.34711 5.72702 7.34711 6.0753C7.34711 6.42358 7.05108 6.71376 6.69578 6.71376H4.80077C4.44547 6.71376 4.14943 7.00395 4.14943 7.35222C4.14943 7.7005 4.44547 7.99083 4.80077 7.99083H6.10357C6.16283 8.68738 6.34048 9.38394 6.63652 10.0224C8.11697 13.215 12.0252 14.6081 15.282 13.1569ZM9.22163 8.83321C8.36181 6.99779 9.18283 4.82663 11.0552 3.98379C12.9277 3.14096 15.1426 3.94576 16.0024 5.78119C16.8622 7.61661 16.0413 9.78777 14.1688 10.6306C12.2964 11.4734 10.0814 10.6686 9.22163 8.83321Z"}),d=u("path",{d:"M14.0385 5.20456L15.2228 7.17818C15.2821 7.29423 15.2821 7.35232 15.2228 7.46837L14.0385 9.44199C13.9793 9.55803 13.8609 9.55803 13.8016 9.55803H11.4922C11.3738 9.55803 11.3146 9.49994 11.2554 9.44199L10.071 7.46837C10.0119 7.35232 10.0119 7.29423 10.071 7.17818L11.2554 5.20456C11.3146 5.08852 11.4331 5.08852 11.4922 5.08852H13.8016C13.9202 5.03042 13.9793 5.08852 14.0385 5.20456Z"}),f=u("stop",{stopColor:"#B473F5"}),c=u("stop",{offset:"1",stopColor:"#E292AA"});function p(e){var t=(0,o.useUID)();return a.createElement("svg",l({},e,{width:"20",height:"14",viewBox:"0 0 20 14",xmlns:"http://www.w3.org/2000/svg",fill:"url(#"+t+")"}),s,d,u("defs",{},void 0,u("linearGradient",{id:t,x1:"0.833291",y1:"13.7309",x2:"12.8788",y2:"-3.48465",gradientUnits:"userSpaceOnUse"},void 0,f,c)))}p.displayName="UserSettingsPremiumSubscriptionsIcon"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=q;var r,a=x(n(0)),o=B(n(9)),i=B(n(5)),l=B(n(98)),u=n(3),s=B(n(154)),d=n(10439),f=n(1171),c=B(n(274)),p=B(n(473)),v=n(10343),y=B(n(1265)),m=B(n(15)),_=B(n(39)),h=B(n(12)),E=B(n(29)),g=B(n(467)),S=B(n(55)),O=B(n(1162)),I=B(n(8267)),T=B(n(149)),C=B(n(1165)),b=B(n(1370)),M=B(n(681)),N=x(n(474)),A=x(n(159)),P=B(n(466)),R=n(41),L=B(n(24)),D=B(n(93)),w=n(9179),j=n(9166),k=n(1),U=B(n(6)),G=B(n(8182)),F=B(n(370));function B(e){return e&&e.__esModule?e:{default:e}}function H(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return H=function(){return e},e}function x(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=H();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function V(e,t){return(V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function W(){return(W=Object.assign||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}).apply(this,arguments)}function Y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var z=(0,l.default)();function K(e){var t=e.body,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["body"]);(0,R.openModal)((function(e){return a.createElement(P.default,W({},e,n),Y(L.default,{size:L.default.Sizes.SIZE_16},void 0,t))}))}function $(e){var t=e.message;K({header:U.default.Messages.DATA_PRIVACY_CONTROLS_REQUEST_DATA_FAILURE_TITLE,confirmText:U.default.Messages.OKAY,red:!0,body:t})}var Z=function(e){var t,n;function r(t){var n;(n=e.call(this,t)||this).handleChangeDefaultGuildsRestricted=function(e){n.setState({defaultGuildsRestricted:!e},(function(){return n.showGuildRestrictionModal(!e)}))},n.handleUsageStatisticsChange=function(){!n.props.usageStatistics?(0,d.setConsents)([k.Consents.USAGE_STATISTICS],[]).catch($):K({header:U.default.Messages.USAGE_STATISTICS_DISABLE_MODAL_TITLE,body:U.default.Messages.USAGE_STATISTICS_DISABLE_MODAL_BODY,confirmText:U.default.Messages.USAGE_STATISTICS_DISABLE_MODAL_CONFIRM,cancelText:U.default.Messages.USAGE_STATISTICS_DISABLE_MODAL_CANCEL,onConfirm:function(){return(0,d.setConsents)([],[k.Consents.USAGE_STATISTICS]).catch($)}})},n.handlePersonalizationChange=function(){!n.props.personalization?(0,d.setConsents)([k.Consents.PERSONALIZATION],[]).catch($):K({header:U.default.Messages.PERSONALIZATION_DISABLE_MODAL_TITLE,confirmText:U.default.Messages.PERSONALIZATION_DISABLE_MODAL_CONFIRM,cancelText:U.default.Messages.PERSONALIZATION_DISABLE_MODAL_CANCEL,onConfirm:function(){return(0,d.setConsents)([],[k.Consents.PERSONALIZATION]).catch($)},body:U.default.Messages.PERSONALIZATION_DISABLE_MODAL_BODY})},n.handleAccessibilityDetectionChange=function(){var e=!n.props.allowAccessibilityDetection;c.default.updateRemoteSettings({allowAccessibilityDetection:e})},n.handleDataDownloadRequest=function(){K({header:U.default.Messages.DATA_PRIVACY_CONTROLS_REQUEST_DATA_MODAL_TITLE,body:U.default.Messages.DATA_PRIVACY_CONTROLS_REQUEST_DATA_MODAL_NOTE,confirmText:U.default.Messages.DATA_PRIVACY_CONTROLS_REQUEST_DATA_MODAL_CONFIRM,cancelText:U.default.Messages.DATA_PRIVACY_CONTROLS_REQUEST_DATA_MODAL_CANCEL,onConfirm:function(){n.setState({requestingHarvest:!0},(function(){(0,f.requestHarvest)().then((function(e){null!=e&&null!=e.body?(n.setState({currentHarvestRequest:e.body}),s.default.show({body:U.default.Messages.DATA_PRIVACY_CONTROLS_REQUEST_DATA_MODAL_SUCCESS})):s.default.show({title:U.default.Messages.DATA_PRIVACY_CONTROLS_REQUEST_DATA_FAILURE_TITLE,body:U.default.Messages.DATA_PRIVACY_CONTROLS_REQUEST_DATA_FAILURE_BODY})}),(function(){return s.default.show({title:U.default.Messages.DATA_PRIVACY_CONTROLS_REQUEST_DATA_FAILURE_TITLE,body:U.default.Messages.DATA_PRIVACY_CONTROLS_REQUEST_DATA_FAILURE_BODY})})).finally((function(){return n.setState({requestingHarvest:!1})}))}))}})};var r=t.defaultGuildsRestricted;return n.state={defaultGuildsRestricted:r,currentHarvestRequest:null,requestingHarvest:!0},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,V(t,n);var l=r.prototype;return l.componentDidMount=function(){var e=this;(0,d.fetchConsents)(),(0,f.getHarvestStatus)().then((function(t){var n={requestingHarvest:!1,currentHarvestRequest:t.body};e.setState(n)}),(function(){e.setState({requestingHarvest:!1})}))},l.componentDidUpdate=function(e){e.defaultGuildsRestricted!==this.props.defaultGuildsRestricted&&this.setState({defaultGuildsRestricted:this.props.defaultGuildsRestricted})},l.hasPermittedSourceFlag=function(e){var t=this.props.friendSourceFlags,n=function(e){return!0===t[e]};return!!n(k.FriendSourceFlagKeys.ALL)||n(e)},l.onFieldChange=function(e,t){var n,r,a,o=this.props.friendSourceFlags;if(e===k.FriendSourceFlagKeys.ALL)t?((r={})[k.FriendSourceFlagKeys.ALL]=!0,r[k.FriendSourceFlagKeys.FRIENDS]=!0,r[k.FriendSourceFlagKeys.GUILDS]=!0,n=r):((a={})[k.FriendSourceFlagKeys.ALL]=!1,a[k.FriendSourceFlagKeys.FRIENDS]=!0,a[k.FriendSourceFlagKeys.GUILDS]=!0,n=a);else if(t){var i,l=!1;switch(e){case k.FriendSourceFlagKeys.FRIENDS:l=!0===o[k.FriendSourceFlagKeys.GUILDS];break;default:l=!0===o[k.FriendSourceFlagKeys.FRIENDS]}n=W({},o,((i={})[k.FriendSourceFlagKeys.ALL]=l,i[e]=!0,i))}else{var u;n=W({},o,((u={})[k.FriendSourceFlagKeys.ALL]=!1,u[e]=!1,u))}this.updatePermittedFriendSourceFlags(n)},l.updatePermittedFriendSourceFlags=function(e){c.default.updateRemoteSettings({friendSourceFlags:e})},l.handleExplicitContentFilterChange=function(e){var t=e.value;c.default.updateRemoteSettings({explicitContentFilter:t})},l.showGuildRestrictionModal=function(e){K({header:U.default.Messages.USER_DM_SETTINGS,body:U.default.Messages.USER_DM_SETTINGS_QUESTION,confirmText:U.default.Messages.YES_TEXT,cancelText:U.default.Messages.NO_TEXT,onConfirm:function(){c.default.updateRemoteSettings({defaultGuildsRestricted:e,restrictedGuilds:e?Object.keys(m.default.getGuilds()):[]})},onCancel:function(){c.default.updateRemoteSettings({defaultGuildsRestricted:e})}})},l.renderFriendSettings=function(){var e=this;return Y(M.default,{title:U.default.Messages.FRIEND_PERMITTED_SOURCE,className:F.default.marginBottom40},void 0,Y(I.default,{className:(0,o.default)(F.default.marginTop8,F.default.marginBottom20),value:this.hasPermittedSourceFlag(k.FriendSourceFlagKeys.ALL),onChange:function(t){return e.onFieldChange(k.FriendSourceFlagKeys.ALL,t)}},void 0,U.default.Messages.FRIEND_PERMITTED_SOURCE_ALL),Y(I.default,{value:this.hasPermittedSourceFlag(k.FriendSourceFlagKeys.FRIENDS),onChange:function(t){return e.onFieldChange(k.FriendSourceFlagKeys.FRIENDS,t)}},void 0,U.default.Messages.FRIEND_PERMITTED_SOURCE_MUTUAL_FRIENDS),Y(I.default,{className:F.default.marginReset,value:this.hasPermittedSourceFlag(k.FriendSourceFlagKeys.GUILDS),onChange:function(t){return e.onFieldChange(k.FriendSourceFlagKeys.GUILDS,t)}},void 0,U.default.Messages.FRIEND_PERMITTED_SOURCE_MUTUAL_GUILDS))},l.renderDMSafety=function(){return Y(M.default,{className:F.default.marginBottom40},void 0,Y(A.default,{tag:A.Tags.H5,className:F.default.marginBottom4,id:z},void 0,U.default.Messages.USER_EXPLICIT_CONTENT_FILTER),Y(N.default,{type:N.Types.DESCRIPTION,className:F.default.marginBottom8},void 0,U.default.Messages.USER_EXPLICIT_CONTENT_FILTER_HELP),Y(O.default,{labelledBy:z,value:this.props.explicitContentFilter,options:(0,w.generateDMSafetyOptions)(),onChange:this.handleExplicitContentFilterChange}))},l.renderServerPrivacy=function(){var e=this.props,t=e.viewNsfwGuilds,n=e.showAgeRestrictedToggle;return Y(M.default,{className:F.default.marginBottom40},void 0,Y(A.default,{tag:A.Tags.H5,className:F.default.marginBottom8},void 0,U.default.Messages.USER_DM_SETTINGS),Y(I.default,{className:F.default.marginReset,value:!this.state.defaultGuildsRestricted,note:U.default.Messages.USER_DM_SETTINGS_HELP,onChange:this.handleChangeDefaultGuildsRestricted},void 0,U.default.Messages.NEW_GUILDS_DM_ALLOWED),n?Y(I.default,{className:F.default.marginReset,value:t,note:U.default.Messages.NSFW_GUILDS_TOGGLE_CAPTION,onChange:function(e){return c.default.updateRemoteSettings({viewNsfwGuilds:e})}},void 0,U.default.Messages.NSFW_GUILDS_TOGGLE_HEADER):null)},l.renderActivityPartyPrivacy=function(){var e=this.props,t=e.allowActivityPartyPrivacyFriends,n=e.allowActivityPartyPrivacyVoiceChannel;return Y(M.default,{className:F.default.marginBottom40},void 0,Y(A.default,{tag:A.Tags.H5,className:F.default.marginBottom8},void 0,U.default.Messages.ACTIVITY_PARTY_PRIVACY),Y(I.default,{value:t,note:U.default.Messages.ACTIVITY_PARTY_PRIVACY_FRIENDS_HELP,onChange:function(e){return c.default.updateLocalSettings({allowActivityPartyPrivacyFriends:e})}},void 0,U.default.Messages.ACTIVITY_PARTY_PRIVACY_FRIENDS),Y(I.default,{value:n,note:U.default.Messages.ACTIVITY_PARTY_PRIVACY_VOICE_CHANNEL_HELP,onChange:function(e){return c.default.updateLocalSettings({allowActivityPartyPrivacyVoiceChannel:e})}},void 0,U.default.Messages.ACTIVITY_PARTY_PRIVACY_VOICE_CHANNEL))},l.renderDataPrivacy=function(){var e=this.props,t=e.usageStatistics,n=e.personalization,r=e.allowAccessibilityDetection;return Y(M.default,{className:F.default.marginBottom40},void 0,Y(A.default,{tag:A.Tags.H5,className:F.default.marginBottom8},void 0,U.default.Messages.DATA_PRIVACY_CONTROLS),Y(I.default,{value:t,note:U.default.Messages.DATA_PRIVACY_CONTROLS_USAGE_STATISTICS_NOTE.format({helpdeskArticle:D.default.getArticleURL(k.HelpdeskArticles.DATA_PRIVACY_CONTROLS)}),onChange:this.handleUsageStatisticsChange},void 0,U.default.Messages.DATA_PRIVACY_CONTROLS_USAGE_STATISTICS_TITLE),Y(I.default,{value:n,note:U.default.Messages.DATA_PRIVACY_CONTROLS_PERSONALIZATION_NOTE_LEARN_MORE.format({helpdeskArticle:D.default.getArticleURL(k.HelpdeskArticles.DATA_PRIVACY_CONTROLS)}),onChange:this.handlePersonalizationChange},void 0,U.default.Messages.DATA_PRIVACY_CONTROLS_PERSONALIZATION_TITLE),Y(I.default,{value:r,note:U.default.Messages.DATA_PRIVACY_CONTROLS_ALLOW_ACCESSIBILITY_DETECTION_NOTE.format({helpdeskArticle:D.default.getArticleURL(k.HelpdeskArticles.ACCESSIBILITY_TRACKING)}),onChange:this.handleAccessibilityDetectionChange},void 0,U.default.Messages.DATA_PRIVACY_CONTROLS_ALLOW_ACCESSIBILITY_DETECTION_TITLE),Y(A.default,{tag:A.Tags.H3,className:(0,o.default)(F.default.marginTop20,F.default.marginBottom8)},void 0,U.default.Messages.DATA_PRIVACY_CONTROLS_BASIC_SERVICE_TITLE),Y(N.default,{type:N.Types.DESCRIPTION,className:F.default.marginBottom20},void 0,U.default.Messages.DATA_PRIVACY_CONTROLS_BASIC_SERVICE_NOTE.format({onClick:function(){p.default.setSection(k.UserSettingsSections.ACCOUNT)}})),this.renderHarvestRequest())},l.renderHarvestRequest=function(){var e,t=this,n=this.props.currentUser,r=this.state,o=r.requestingHarvest,l=r.currentHarvestRequest,u=(0,j.harvestDisabled)(l,n),s=Y(T.default,{text:n.verified?null:U.default.Messages.DATA_PRIVACY_CONTROLS_REQUEST_DATA_TOOLTIP},void 0,(function(e){var n=e.onMouseEnter,r=e.onMouseLeave;return Y(E.default,{disabled:u,onClick:t.handleDataDownloadRequest,onMouseEnter:n,onMouseLeave:r,look:E.default.Looks.OUTLINED,color:E.default.Colors.BRAND,submitting:o},void 0,U.default.Messages.DATA_PRIVACY_CONTROLS_REQUEST_DATA_DOWNLOAD)}));return u&&null!=l&&(e=Y(g.default,{className:G.default.card},void 0,Y(L.default,{size:L.default.Sizes.SIZE_16},void 0,U.default.Messages.DATA_DOWNLOAD_REQUESTED_STATUS_NOTE.format({date:(0,i.default)(l.created_at).add(k.REQUEST_DATA_LIMIT_DAYS,"days").format("MMMM Do YYYY")}))),s=null),null!=s&&(s=Y(S.default,{},void 0,s)),Y(a.Fragment,{},void 0,Y(C.default,{className:F.default.marginBottom20}),Y(A.default,{tag:A.Tags.H3},void 0,U.default.Messages.DATA_PRIVACY_CONTROLS_PERSONAL_DATA_TITLE),Y(N.default,{type:N.Types.DESCRIPTION,className:F.default.marginBottom20},void 0,U.default.Messages.DATA_PRIVACY_CONTROLS_REQUEST_DATA_NOTE.format({helpdeskArticle:D.default.getArticleURL(k.HelpdeskArticles.GDPR_REQUEST_DATA)})),e,s)},l.renderPrivacyAndTermsNote=function(){return Y(M.default,{className:F.default.marginBottom40},void 0,Y(b.default,{type:b.default.Types.PRIMARY,body:U.default.Messages.USER_SETTINGS_PRIVACY_TERMS.format({termsLink:k.MarketingURLs.TERMS,privacyLink:k.MarketingURLs.PRIVACY})}))},l.render=function(){var e=this.props.fetchedConsents;return Y(M.default,{tag:A.Tags.H1,title:U.default.Messages.PRIVACY_AND_SAFETY},void 0,this.renderDMSafety(),this.renderServerPrivacy(),this.renderFriendSettings(),this.renderActivityPartyPrivacy(),e?this.renderDataPrivacy():null,this.renderPrivacyAndTermsNote())},r}(a.PureComponent);function q(){var e=v.AgeRestrictedGuildsExperiment.useExperiment({})[0],t=(0,u.useStateFromStores)([h.default],(function(){return h.default.getCurrentUser()})),n=(0,u.useStateFromStoresObject)([_.default],(function(){var e=_.default.explicitContentFilter,t=_.default.defaultGuildsRestricted,n=_.default.allowAccessibilityDetection,r=_.default.allowActivityPartyPrivacyFriends,a=_.default.viewNsfwGuilds;return{explicitContentFilter:e,defaultGuildsRestricted:t,allowAccessibilityDetection:n,allowActivityPartyPrivacyFriends:r,allowActivityPartyPrivacyVoiceChannel:_.default.allowActivityPartyPrivacyVoiceChannel,viewNsfwGuilds:a,friendSourceFlags:(0,j.computeFlags)()}})),r=(0,u.useStateFromStoresObject)([y.default],(function(){return{fetchedConsents:y.default.fetchedConsents,usageStatistics:y.default.hasConsented(k.Consents.USAGE_STATISTICS),personalization:y.default.hasConsented(k.Consents.PERSONALIZATION)}}));return a.createElement(Z,W({currentUser:t,showAgeRestrictedToggle:e.enabled},n,r))}Z.displayName="UserSettingsPrivacySafety",q.displayName="ConnectedUserSettingsPrivacySafety"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(9)),i=h(n(3)),l=h(n(1343)),u=h(n(473)),s=h(n(160)),d=h(n(39)),f=h(n(8267)),c=n(131),p=h(n(16)),v=n(1),y=h(n(6)),m=h(n(8183)),_=h(n(370));function h(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function g(){return(g=Object.assign||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}).apply(this,arguments)}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var I=function(e){var t,r;function a(){return e.apply(this,arguments)||this}r=e,(t=a).prototype=Object.create(r.prototype),t.prototype.constructor=t,O(t,r);var i=a.prototype;return i.renderNotice=function(){return S(c.FormNotice,{className:_.default.marginBottom40,iconClassName:m.default.noticeIcon,type:c.FormNoticeTypes.PRIMARY,imageData:{src:n(11669),width:184,height:110,position:c.FormNoticeImagePositions.RIGHT},title:y.default.Messages.USER_SETTINGS_STREAMER_NOTICE_TITLE,body:y.default.Messages.USER_SETTINGS_STREAMER_NOTICE_BODY.format({streamkitURL:v.MarketingURLs.STREAMKIT})})},i.renderAutoToggle=function(){if(p.default.embedded)return S(f.default,{value:this.props.autoToggle,onChange:this.handleChange.bind(this,"autoToggle"),note:y.default.Messages.AUTO_TOGGLE_STREAMER_MODE_DESCRIPTION},void 0,y.default.Messages.AUTO_TOGGLE_STREAMER_MODE_LABEL)},i.render=function(){return S(c.FormSection,{className:m.default.container,tag:c.FormTitleTags.H1,title:y.default.Messages.STREAMER_MODE},void 0,this.renderNotice(),S(f.default,{value:this.props.enabled,onChange:this.handleChange.bind(this,"enabled"),note:y.default.Messages.ENABLE_STREAMER_MODE_DESCRIPTION.format({onClick:this.handleGotoKeybinds})},void 0,y.default.Messages.ENABLE_STREAMER_MODE_LABEL),this.renderAutoToggle(),S(c.FormTitle,{className:(0,o.default)(_.default.marginTop40,_.default.marginBottom8)},void 0,y.default.Messages.OPTIONS),S(f.default,{value:this.props.hidePersonalInformation,onChange:this.handleChange.bind(this,"hidePersonalInformation"),note:y.default.Messages.HIDE_PERSONAL_INFORMATION_DESCRIPTION},void 0,y.default.Messages.HIDE_PERSONAL_INFORMATION_LABEL),S(f.default,{value:this.props.hideInstantInvites,onChange:this.handleChange.bind(this,"hideInstantInvites"),note:y.default.Messages.HIDE_INSTANT_INVITES_DESCRIPTION},void 0,y.default.Messages.HIDE_INSTANT_INVITES_LABEL),S(f.default,{value:this.props.disableSounds,onChange:this.handleChange.bind(this,"disableSounds"),note:y.default.Messages.DISABLE_SOUNDS_DESCRIPTION},void 0,y.default.Messages.DISABLE_SOUNDS_LABEL),S(f.default,{value:this.props.disableNotifications,onChange:this.handleChange.bind(this,"disableNotifications"),note:y.default.Messages.DISABLE_NOTIFICATIONS_DESCRIPTION},void 0,y.default.Messages.DISABLE_NOTIFICATIONS_LABEL))},i.handleChange=function(e,t){var n;l.default.update(((n={})[e]=t,n))},i.handleGotoKeybinds=function(){u.default.setSection(v.UserSettingsSections.KEYBINDS)},a}(a.PureComponent);I.displayName="UserSettingsModalStreamerMode";var T=i.default.connectStores([d.default,s.default],(function(){return g({},s.default.getSettings(),{theme:d.default.theme})}))(I);t.default=T},function(e,t,n){e.exports=n.p+"616e078b351d0df460971441949c53a3.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=T(n(0)),o=O(n(9)),i=T(n(3)),l=O(n(274)),u=n(8742),s=O(n(8560)),d=O(n(8295)),f=O(n(39)),c=O(n(1162)),p=O(n(8267)),v=O(n(476)),y=O(n(681)),m=O(n(474)),_=T(n(159)),h=O(n(13)),E=n(1),g=O(n(6)),S=O(n(370));function O(e){return e&&e.__esModule?e:{default:e}}function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function T(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var M=function(){var e=(0,i.useStateFromStores)([s.default],(function(){return s.default.expressionSuggestionsEnabled}));return b(v.default,{className:S.default.marginBottom20,title:g.default.Messages.STICKERS_AUTO_PLAY_HEADING},void 0,b(p.default,{className:(0,o.default)(S.default.marginTop20,S.default.marginBottom20),value:e,note:g.default.Messages.AUTO_SUGGEST_STICKERS_DESCRIPTION,onChange:function(t){h.default.track(E.AnalyticEvents.STICKER_SUGGESTIONS_ENABLED_TOGGLED,{enabled:!e,location:{section:E.AnalyticsSections.SETTINGS_TEXT_AND_IMAGES}}),(0,u.toggleExpressionSuggestionsEnabled)()}},void 0,g.default.Messages.AUTO_SUGGEST_STICKERS))};M.displayName="StickersUserSettings";var N=b(M,{}),A=b(M,{}),P=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,C(t,n);var a=r.prototype;return a.onFieldChange=function(e,t){var n;l.default.updateRemoteSettings(((n={})[e]=t,n))},a.onLocalFieldChanged=function(e,t){var n;"useRichChatTextBox"===e&&h.default.track(E.AnalyticEvents.RICH_CHAT_TEXT_BOX_TOGGLED,{is_enabled:t}),l.default.updateLocalSettings(((n={})[e]=t,n))},a.renderSpoilerSettings=function(){var e=this;return b(v.default,{title:g.default.Messages.SHOW_SPOILER_CONTENT},void 0,b(m.default,{type:m.default.Types.DESCRIPTION,className:S.default.marginBottom8},void 0,g.default.Messages.SHOW_SPOILER_CONTENT_HELP),b(c.default,{options:[{name:g.default.Messages.SHOW_SPOILER_ON_CLICK,value:E.SpoilerRenderSetting.ON_CLICK},{name:g.default.Messages.SHOW_SPOILER_ON_SERVERS_I_MOD,value:E.SpoilerRenderSetting.IF_MODERATOR},{name:g.default.Messages.SHOW_SPOILER_ALWAYS,value:E.SpoilerRenderSetting.ALWAYS}],onChange:function(t){return e.onLocalFieldChanged("renderSpoilers",t.value)},value:this.props.renderSpoilers}))},a.renderStickersSettings=function(){return N},a.render=function(){var e=this,t=this.props,n=t.inlineEmbedMedia,r=t.inlineAttachmentMedia,a=t.renderEmbeds,i=t.renderReactions,l=t.convertEmoticons;return b(y.default,{tag:_.Tags.H1,title:g.default.Messages.TEXT_AND_IMAGES},void 0,b(_.default,{className:S.default.marginBottom8},void 0,g.default.Messages.INLINE_MEDIA_LABEL),b(p.default,{className:(0,o.default)(S.default.marginTop8,S.default.marginBottom20),value:n,onChange:function(t){return e.onFieldChange("inlineEmbedMedia",t)}},void 0,g.default.Messages.INLINE_EMBED_MEDIA),b(p.default,{className:(0,o.default)(S.default.marginTop8,S.default.marginBottom20),value:r,note:g.default.Messages.INLINE_ATTACHMENT_MEDIA_HELP.format({maxSize:10}),onChange:function(t){return e.onFieldChange("inlineAttachmentMedia",t)}},void 0,g.default.Messages.INLINE_ATTACHMENT_MEDIA),b(_.default,{className:S.default.marginBottom8},void 0,g.default.Messages.RENDER_EMBEDS_LABEL),b(p.default,{className:(0,o.default)(S.default.marginTop8,S.default.marginBottom40),value:a,onChange:function(t){return e.onFieldChange("renderEmbeds",t)}},void 0,g.default.Messages.RENDER_EMBEDS),b(_.default,{className:S.default.marginBottom8},void 0,g.default.Messages.EMOJI),b(p.default,{className:(0,o.default)(S.default.marginTop8,S.default.marginBottom20),value:i,onChange:function(t){return e.onFieldChange("renderReactions",t)}},void 0,g.default.Messages.RENDER_REACTIONS),b(p.default,{className:S.default.marginBottom40,value:l,note:d.default.parse(g.default.Messages.CONVERT_EMOTICONS_HELP),onChange:function(t){return e.onFieldChange("convertEmoticons",t)}},void 0,g.default.Messages.CONVERT_EMOTICONS),A,b(y.default,{className:S.default.marginBottom40},void 0,b(_.default,{className:S.default.marginBottom8},void 0,g.default.Messages.FORM_LABEL_USE_RICH_CHAT_BOX),b(p.default,{className:S.default.marginTop8,value:this.props.useRichChatTextBox,onChange:function(t){return e.onLocalFieldChanged("useRichChatTextBox",t)}},void 0,g.default.Messages.USE_RICH_CHAT_BOX_DESCRIPTION)),this.renderSpoilerSettings())},r}(a.PureComponent);P.displayName="UserSettingsTextImages";var R=i.default.connectStores([f.default],(function(){return{inlineAttachmentMedia:f.default.inlineAttachmentMedia,inlineEmbedMedia:f.default.inlineEmbedMedia,renderEmbeds:f.default.renderEmbeds,renderReactions:f.default.renderReactions,useRichChatTextBox:f.default.useRichChatTextBox,convertEmoticons:f.default.convertEmoticons,renderSpoilers:f.default.renderSpoilers}}))(P);t.default=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=re(n(0)),o=te(n(9)),i=te(n(8)),l=te(n(3)),u=n(34),s=n(57),d=te(n(288)),f=re(n(744)),c=te(n(473)),p=re(n(10490)),v=te(n(8766)),y=te(n(218)),m=n(1228),_=n(11673),h=te(n(118)),E=te(n(738)),g=te(n(51)),S=te(n(1292)),O=te(n(283)),I=te(n(39)),T=te(n(12)),C=te(n(271)),b=te(n(29)),M=n(467),N=te(n(55)),A=te(n(1162)),P=te(n(1159)),R=te(n(8360)),L=te(n(8522)),D=te(n(8267)),w=n(85),j=te(n(1165)),k=te(n(476)),U=re(n(1370)),G=te(n(681)),F=te(n(474)),B=re(n(159)),H=te(n(466)),x=n(41),V=te(n(24)),W=te(n(13)),Y=te(n(93)),z=n(8425),K=te(n(16)),$=te(n(43)),Z=n(1),q=te(n(6)),X=te(n(8186)),J=te(n(1170)),Q=te(n(370)),ee=te(n(7395));function te(e){return e&&e.__esModule?e:{default:e}}function ne(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return ne=function(){return e},e}function re(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=ne();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function ae(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function oe(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){ae(o,r,a,i,l,"next",e)}function l(e){ae(o,r,a,i,l,"throw",e)}i(void 0)}))}}function ie(){return(ie=Object.assign||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}).apply(this,arguments)}function le(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ue(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function se(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,de(e,t)}function de(e,t){return(de=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var fe=ue("div",{className:"grow"}),ce=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._timeout=new s.Timeout,t.state={volume:-100,speaking:!1},t.setupVoiceActivity=function(){g.default.getMediaEngine().on("voiceactivity",t.handleVoiceActivity),t._timeout.stop()},t.handleVoiceActivity=function(e,n){t.setState({volume:e,speaking:(n&u.SpeakingFlags.VOICE)===u.SpeakingFlags.VOICE})},t.handleAutoThresholdChange=function(e){var n=t.props,r=n.onThresholdChange,a=n.threshold;r&&r(a,e)},t.handleSensitivityChange=function(e){var n=t.props,r=n.onThresholdChange,a=n.auto;r&&r(-1*(100-e),a)},t}se(t,e);var n=t.prototype;return n.componentDidMount=function(){this._timeout.start(1e3,this.setupVoiceActivity)},n.componentWillUnmount=function(){g.default.getMediaEngine().removeListener("voiceactivity",this.handleVoiceActivity),this._timeout.stop()},n.handleValueRender=function(e){return(-1*(100-e)).toFixed(0)+"dB"},n.renderAutomaticVADToggle=function(){var e=this,t=this.props.auto;if(g.default.supports(u.Features.AUTOMATIC_VAD))return ue(w.UID,{},void 0,(function(n){return ue("div",{className:(0,o.default)(J.default.horizontal,Q.default.marginBottom4)},void 0,ue(B.default,{tag:B.Tags.H3,className:Q.default.marginReset},void 0,ue("label",{htmlFor:n},void 0,q.default.Messages.FORM_LABEL_AUTOMATIC_VAD)),ue(L.default,{id:n,checked:t,onChange:e.handleAutoThresholdChange}))}))},n.renderSlider=function(){var e,t=this.props,n=t.auto,r=t.threshold,a=this.state.speaking;return n?ue("section",{className:X.default.inputSensitivityToggle},void 0,ue("div",{className:ee.default.slider},void 0,ue("div",{className:(0,o.default)(ee.default.bar,X.default.sliderBar,(e={},e[X.default.speaking]=a||this.state.speaking,e))})),ue(F.default,{type:F.default.Types.DESCRIPTION,className:Q.default.marginBottom8},void 0,q.default.Messages.FORM_HELP_AUTOMATIC_VAD)):ue("section",{className:(0,o.default)(X.default.inputSensitivityToggle,X.default.manual)},void 0,ue(R.default,{initialValue:r+100,onValueRender:this.handleValueRender,onValueChange:this.handleSensitivityChange,barStyles:{background:Z.Colors.STATUS_GREEN_500},fillStyles:{background:Z.Colors.STATUS_YELLOW_400}},void 0,ue("div",{className:(0,o.default)(X.default.sliderBar,X.default.microphone,ee.default.bar)},void 0,ue("div",{className:(0,o.default)(X.default.fill,ee.default.barFill),style:{width:this.state.volume+100+"%"}}),fe)))},n.renderInputDisabledWarning=function(){if(!g.default.isEnabled())return ue(F.default,{type:F.default.Types.DESCRIPTION,className:(0,o.default)(X.default.inputDisabledWarning,Q.default.marginBottom8)},void 0,q.default.Messages.FORM_WARNING_INPUT_SENSITIVTY.format({onEnableClick:d.default.enable}))},n.render=function(){return ue(k.default,{className:X.default.sensitivity},void 0,ue(B.default,{tag:B.Tags.H5,className:Q.default.marginBottom8},void 0,q.default.Messages.FORM_LABEL_INPUT_SENSITIVTY),ue("div",{},void 0,this.renderAutomaticVADToggle(),this.renderSlider()),this.renderInputDisabledWarning())},t}(a.PureComponent);ce.displayName="VoiceSensitivity";var pe=l.default.connectStores([O.default],(function(){return{speaking:O.default.isCurrentUserSpeaking()}}))(ce),ve=function(e){function t(){for(var t,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).state={showCamera:!1,disableDebugUpload:!1},t.handleInputModeChange=function(e){var r=e.value;r===Z.InputModes.PUSH_TO_TALK&&t.props.usePTTLimited&&(0,x.openModal)((function(e){return a.createElement(y.default,ie({title:q.default.Messages.PTT_LIMITED_TITLE,confirmText:q.default.Messages.DOWNLOAD,cancelText:q.default.Messages.OKAY,onConfirm:t.handleDownload.bind(le(t),"PTT Limited Modal"),body:q.default.Messages.PTT_LIMITED_BODY,iconUrl:n(11674)},e))})),d.default.setMode(r)},t.handleDelayChange=function(e){d.default.setMode(t.props.inputMode,{delay:e})},t.handleThresholdChange=function(e,n){d.default.setMode(t.props.inputMode,{threshold:e,autoThreshold:n})},t.handleAdvancedVoiceActivityChange=function(e){d.default.setMode(t.props.inputMode,{vadUseKrisp:e})},t.handleHardwareH264Change=function(e){d.default.setHardwareH264(e)},t.handleDebugLoggingChange=function(e){(0,x.openModal)((function(t){return a.createElement(H.default,ie({header:q.default.Messages.SET_DEBUG_LOGGING,confirmText:q.default.Messages.OKAY,cancelText:q.default.Messages.CANCEL,onCancel:t.onClose,onConfirm:function(){return d.default.setDebugLogging(e)}},t),ue(V.default,{size:V.default.Sizes.SIZE_16},void 0,q.default.Messages.SET_DEBUG_LOGGING_BODY))}))},t.handleAecDumpChange=function(e){d.default.setAecDump(e)},t.handleAttenuationChange=function(e){d.default.setAttenuation(e,t.props.attenuateWhileSpeakingSelf,t.props.attenuateWhileSpeakingOthers)},t.handleAttenuateSelfChanged=function(e){d.default.setAttenuation(t.props.attenuation,e,t.props.attenuateWhileSpeakingOthers)},t.handleAttenuateOthersChanged=function(e){var n=t.props,r=n.attenuation,a=n.attenuateWhileSpeakingSelf;d.default.setAttenuation(r,a,e)},t.handleShortcutChange=function(e){d.default.setMode(t.props.inputMode,{shortcut:e})},t.handleShowCamera=function(){t.setState({showCamera:!0})},t.handleShowVoiceModuleFolder=oe(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==h.default.fileManager.getModulePath){e.next=6;break}return e.next=3,h.default.fileManager.getModulePath();case 3:e.t0=e.sent,e.next=7;break;case 6:e.t0=h.default.fileManager.modulePath;case 7:t=e.t0,n=h.default.fileManager.join(t,"discord_voice"),h.default.fileManager.showItemInFolder(n);case 10:case"end":return e.stop()}}),e)}))),t.handleUploadDebugFiles=function(){t.setState({disableDebugUpload:!0}),g.default.getMediaEngine().writeAudioDebugState().finally((function(){return(0,_.uploadDebugFiles)().then((function(){return(0,x.openModal)((function(e){return a.createElement(H.default,ie({header:q.default.Messages.UPLOAD_DEBUG_LOG_SUCCESS_HEADER,confirmButtonColor:b.default.Colors.BRAND,confirmText:q.default.Messages.OKAY},e),ue(V.default,{size:V.default.Sizes.SIZE_16},void 0,q.default.Messages.UPLOAD_DEBUG_LOG_SUCCESS))}))})).catch((function(e){return(0,x.openModal)((function(t){return a.createElement(H.default,ie({header:q.default.Messages.UPLOAD_DEBUG_LOG_FAILURE_HEADER,confirmButtonColor:b.default.Colors.BRAND,confirmText:q.default.Messages.OKAY},t),ue(V.default,{size:V.default.Sizes.SIZE_16},void 0,e.displayMessage))}))})).finally((function(){t.setState({disableDebugUpload:!1})}))}))},t.handleConnectionLogChange=function(e){f.setShouldRecordNextConnection(e)},t.handleOpenConnectionReplay=function(){f.openReplay()},t.handleOpenH264Change=function(e){d.default.setOpenH264(e),d.default.setHardwareH264(e)},t.handleEnableSoundshare=function(){d.default.enableSoundshare()},t.renderDevice=function(e){var r,a=e.label,o=e.value;E.default.isCertified(o)&&(r=ue("img",{src:t.props.theme===Z.ThemeTypes.LIGHT?n(11675):n(11676),alt:"Certified",className:X.default.deviceOptionCertified}));return ue("span",{className:X.default.deviceOption},o,ue("span",{className:X.default.deviceOptionLabel},void 0,E.default.getCertifiedDeviceName(o,a)),r)},t.handleKrispLinkClick=function(e){var t=e.currentTarget;W.default.track(Z.AnalyticEvents.NOISE_CANCELLATION_LINK_CLICKED,{text:t.text,href:t.href,location:{page:Z.AnalyticsPages.USER_SETTINGS,section:Z.AnalyticsSections.SETTINGS_VOICE_AND_VIDEO}})},t}se(t,e);var r=t.prototype;return r.handleInputDeviceChange=function(e){var t=e.value;d.default.setInputDevice(t,"Settings")},r.handleOutputDeviceChange=function(e){var t=e.value;d.default.setOutputDevice(t,"Settings")},r.handleDownload=function(e){(0,m.showAppDownloadModal)(e)},r.handleInputVolumeChange=function(e){d.default.setInputVolume((0,z.perceptualToAmplitude)(e))},r.handleOutputVolumeChange=function(e){d.default.setOutputVolume((0,z.perceptualToAmplitude)(e))},r.handleDelayValueRender=function(e){return e>=1e3?(e/=1e3).toFixed(2)+"s":e.toFixed(0)+" ms"},r.handleVideoDeviceChange=function(e){var t=e.value;d.default.setVideoDevice(t,Z.AnalyticsSections.SETTINGS_VOICE_AND_VIDEO)},r.handleNoiseSuppressionChange=function(e){d.default.setNoiseSuppression(e,{page:Z.AnalyticsPages.USER_SETTINGS,section:Z.AnalyticsSections.SETTINGS_VOICE_AND_VIDEO})},r.handleNoiseCancellationChange=function(e){d.default.setNoiseCancellation(e,{page:Z.AnalyticsPages.USER_SETTINGS,section:Z.AnalyticsSections.SETTINGS_VOICE_AND_VIDEO})},r.handleEchoCancellationChange=function(e){d.default.setEchoCancellation(e,{page:Z.AnalyticsPages.USER_SETTINGS,section:Z.AnalyticsSections.SETTINGS_VOICE_AND_VIDEO})},r.handleAutomaticGainControlChange=function(e){d.default.setAutomaticGainControl(e,{page:Z.AnalyticsPages.USER_SETTINGS,section:Z.AnalyticsSections.SETTINGS_VOICE_AND_VIDEO})},r.handleExperimentalEncodersChange=function(e){d.default.setExperimentalEncoders(e)},r.handleSilenceWarningChange=function(e){d.default.setSilenceWarning(e)},r.handleVideoHookChange=function(e){d.default.setVideoHook(e)},r.handleExperimentalSoundshareChange=function(e){d.default.setExperimentalSoundshare(e)},r.handleQoSChanged=function(e){d.default.setQoS(e)},r.handleVoiceReset=function(){(0,x.openModal)((function(e){return a.createElement(H.default,ie({header:q.default.Messages.RESET_VOICE_SETTINGS,confirmText:q.default.Messages.OKAY,cancelText:q.default.Messages.CANCEL,onConfirm:d.default.reset},e),ue(V.default,{size:V.default.Sizes.SIZE_16},void 0,q.default.Messages.RESET_VOICE_SETTINGS_BODY))}))},r.handleAudioSubsystemChanged=function(e){var t=e.value;(0,x.openModal)((function(e){return a.createElement(H.default,ie({header:q.default.Messages.SWITCH_SUBSYSTEM,confirmText:q.default.Messages.OKAY,cancelText:q.default.Messages.CANCEL,onConfirm:function(){return d.default.setAudioSubsystem(t)}},e),ue(V.default,{size:V.default.Sizes.SIZE_16},void 0,q.default.Messages.SWITCH_SUBSYSTEM_BODY))}))},r.renderDevices=function(){var e,t,n=this.props,r=n.inputDevices,a=n.inputDeviceId,o=n.outputDeviceId,l=n.outputDevices,u=n.canSetInputDevice,s=n.canSetOutputDevice;u||(e=ue(F.default,{type:F.default.Types.DESCRIPTION,className:Q.default.marginTop8},void 0,q.default.Messages.BROWSER_INPUT_DEVICE_WARNING.format({onDownloadClick:this.handleDownload.bind(this,"Help Text Input Devices")}))),s||(t=ue(F.default,{type:F.default.Types.DESCRIPTION,className:Q.default.marginTop8},void 0,q.default.Messages.BROWSER_OUTPUT_DEVICE_WARNING.format({onDownloadClick:this.handleDownload.bind(this,"Help Text Output Devices")})));var d=(0,i.default)(r).values().first(),f=null!=d?d.disabled:null!=e,c=(0,i.default)(l).values().first(),p=null!=c?c.disabled:null!=t;return ue(N.default,{className:Q.default.marginBottom20},void 0,ue(N.default.Child,{basis:"50%"},void 0,ue(B.default,{tag:B.Tags.H5,className:Q.default.marginBottom8},void 0,q.default.Messages.FORM_LABEL_INPUT_DEVICE),ue(P.default,{value:a,clearable:!1,searchable:!1,onChange:this.handleInputDeviceChange,options:i.default.map(r,(function(e){return{value:e.id,label:e.name}})),disabled:f,valueRenderer:this.renderDevice,optionRenderer:this.renderDevice}),e),ue(N.default.Child,{basis:"50%"},void 0,ue(B.default,{tag:B.Tags.H5,className:Q.default.marginBottom8},void 0,q.default.Messages.FORM_LABEL_OUTPUT_DEVICE),ue(P.default,{value:o,clearable:!1,searchable:!1,onChange:this.handleOutputDeviceChange,options:i.default.map(l,(function(e){return{value:e.id,label:e.name}})),disabled:p,valueRenderer:this.renderDevice,optionRenderer:this.renderDevice}),t))},r.renderVolumeControls=function(){var e=this.props,t=e.inputVolume,n=e.outputVolume;return ue(N.default,{className:"volume"},void 0,ue(N.default.Child,{basis:"50%"},void 0,ue(B.default,{tag:B.Tags.H5,className:Q.default.marginBottom4},void 0,q.default.Messages.FORM_LABEL_INPUT_VOLUME),ue(R.default,{initialValue:(0,z.amplitudeToPerceptual)(t),asValueChanges:this.handleInputVolumeChange})),ue(N.default.Child,{basis:"50%"},void 0,ue(B.default,{tag:B.Tags.H5,className:Q.default.marginBottom4},void 0,q.default.Messages.FORM_LABEL_OUTPUT_VOLUME),ue(R.default,{initialValue:(0,z.amplitudeToPerceptual)(n),maxValue:200,onValueRender:function(e){return e.toFixed(0)+"%"},asValueChanges:this.handleOutputVolumeChange})))},r.renderMicTest=function(){return g.default.supports(u.Features.LOOPBACK)?ue("div",{className:X.default.micTest},void 0,ue(p.default,{title:q.default.Messages.USER_SETTINGS_VOICE_MIC_TEST_TITLE,description:q.default.Messages.USER_SETTINGS_VOICE_MIC_TEST_DESCRIPTION,notchBackground:p.NotchBackground.GRAY,captionVoice:q.default.Messages.USER_SETTINGS_VOICE_MIC_TEST_VOICE_CAPTION,captionNoVoice:a.createElement(a.Fragment,null,q.default.Messages.USER_SETTINGS_VOICE_MIC_TEST_VOICE_NO_INPUT_NOTICE,ue(C.default,{className:X.default.micTestHelpLink,href:Y.default.getArticleURL(Z.HelpdeskArticles.NO_INPUT_DETECTED)},void 0,q.default.Messages.NOTICE_NO_INPUT_DETECTED_HELP_LINK_TEXT)),buttonTest:q.default.Messages.USER_SETTINGS_VOICE_MIC_TEST_BUTTON_INACTIVE,buttonStop:q.default.Messages.USER_SETTINGS_VOICE_MIC_TEST_BUTTON_ACTIVE,buttonClassName:X.default.micTestButton,buttonColor:b.default.Colors.BRAND,location:{page:Z.AnalyticsPages.USER_SETTINGS,section:Z.AnalyticsSections.SETTINGS_VOICE_AND_VIDEO}})):null},r.renderInputMode=function(){var e=this.props,t=e.usePTTLimited,n=e.inputMode,r=[{value:Z.InputModes.VOICE_ACTIVITY,name:q.default.Messages.INPUT_MODE_VAD},{value:Z.InputModes.PUSH_TO_TALK,name:t?q.default.Messages.INPUT_MODE_PTT_LIMITED:q.default.Messages.INPUT_MODE_PTT}];return ue(k.default,{title:q.default.Messages.FORM_LABEL_INPUT_MODE,className:Q.default.marginBottom20},void 0,ue(A.default,{onChange:this.handleInputModeChange,options:r,value:n}))},r.renderPTTTools=function(){var e,t=this.props,n=t.inputMode,r=t.delay,a=t.shortcut;return n!==Z.InputModes.PUSH_TO_TALK?null:(e=K.default.embedded||n!==Z.InputModes.PUSH_TO_TALK?ue(F.default,{type:F.default.Types.DESCRIPTION,className:(0,o.default)(X.default.pttToolsMessage,Q.default.marginBottom8)},void 0,q.default.Messages.USER_SETTINGS_VOICE_ADD_MULTIPLE.format({onClick:function(){return c.default.setSection(Z.UserSettingsSections.KEYBINDS)}})):ue(F.default,{type:F.default.Types.DESCRIPTION,className:(0,o.default)(X.default.pttToolsMessage,X.default.pttToolsWarning,Q.default.marginBottom8)},void 0,q.default.Messages.PTT_LIMITED_WARNING.format({onDownloadClick:this.handleDownload.bind(this,"Help Text PTT")})),ue("div",{className:X.default.pttTools},void 0,ue(N.default,{},void 0,ue(N.default.Child,{basis:"50%"},void 0,ue(k.default,{title:q.default.Messages.FORM_LABEL_SHORTCUT},void 0,ue(v.default,{defaultValue:a,onChange:this.handleShortcutChange}))),ue(N.default.Child,{basis:"50%"},void 0,ue(k.default,{title:q.default.Messages.INPUT_MODE_PTT_RELEASE_DELAY},void 0,ue(R.default,{initialValue:r,onValueChange:this.handleDelayChange,onValueRender:this.handleDelayValueRender,maxValue:Z.MAX_PTT_RELEASE_DELAY})))),e))},r.renderVoiceSensitivityTools=function(){var e=this.props,t=e.inputMode,n=e.vadThreshold,r=e.vadAutoThreshold;return t!==Z.InputModes.VOICE_ACTIVITY?null:ue(pe,{inputMode:t,threshold:n,auto:r,onThresholdChange:this.handleThresholdChange})},r.renderVideoDevices=function(){var e,t,r,a=this.props,l=a.videoDevices,u=a.videoDeviceId,s=a.theme;g.default.isEnabled()||(r=ue(F.default,{type:F.default.Types.DESCRIPTION,className:Q.default.marginTop8},void 0,q.default.Messages.FORM_WARNING_VIDEO_PREVIEW.format({onEnableClick:d.default.enable})));var f=(0,i.default)(l).values().first(),c=null!=f?f.disabled:null!=r,p=g.default.getCameraComponent(),v=s===Z.ThemeTypes.LIGHT?n(11677):n(11678);return ue(N.default,{},void 0,ue(N.default.Child,{basis:"50%"},void 0,ue(B.default,{tag:B.Tags.H5,className:Q.default.marginBottom8},void 0,q.default.Messages.FORM_LABEL_VIDEO_DEVICE),ue(P.default,{value:u,clearable:!1,searchable:!1,disabled:c,onChange:this.handleVideoDeviceChange,options:i.default.map(l,(function(e){return{value:e.id,label:e.name}})),valueRenderer:this.renderDevice,optionRenderer:this.renderDevice}),r),ue(N.default.Child,{basis:"50%"},void 0,ue(B.default,{tag:B.Tags.H5,className:Q.default.marginBottom8},void 0,q.default.Messages.FORM_LABEL_VIDEO_PREVIEW),ue("div",{className:X.default.previewContainer},void 0,ue(p,{deviceId:u,disabled:!this.state.showCamera||c}),ue(N.default,{className:(0,o.default)(X.default.previewOverlay,(e={},e[X.default.dismiss]=this.state.showCamera,e))},void 0,ue(N.default,{className:(0,o.default)(X.default.previewOverlayInner,(t={},t[X.default.dismiss]=this.state.showCamera,t)),direction:N.default.Direction.VERTICAL,justify:N.default.Justify.CENTER,align:N.default.Align.CENTER},void 0,ue("img",{className:Q.default.marginBottom20,alt:"",src:v}),ue(b.default,{onClick:this.handleShowCamera,disabled:this.state.showCamera||c},void 0,q.default.Messages.TEST_VIDEO))))))},r.renderVideoWarnings=function(){return ue(U.default,{type:M.Types.PRIMARY,title:q.default.Messages.VIDEO_UNSUPPORTED_BROWSER_TITLE,body:q.default.Messages.VIDEO_UNSUPPORTED_BROWSER_BODY,button:ue(b.default,{size:b.default.Sizes.SMALL,className:Q.default.marginTop20,onClick:this.handleDownload.bind(this,"Video unsupported browser")},void 0,q.default.Messages.DOWNLOAD_APP)})},r.renderNoiseCancellation=function(){var e,t=this.props,r=t.theme,a=t.noiseCancellation;if(t.noiseCancellationSupported)return e=r===Z.ThemeTypes.LIGHT?n(11679):n(11680),ue(G.default,{className:Q.default.marginBottom20},void 0,ue(D.default,{className:(0,o.default)(Q.default.marginTop8,Q.default.marginBottom20),value:a,hideBorder:!0,onChange:this.handleNoiseCancellationChange,note:q.default.Messages.USER_SETTINGS_NOISE_CANCELLATION_DESCRIPTION},void 0,q.default.Messages.USER_SETTINGS_NOISE_CANCELLATION),ue(U.default,{className:Q.default.marginBottom20,type:U.Types.PRIMARY,imageData:{src:e,width:70,height:40},align:N.default.Align.CENTER,body:ue(C.default,{href:Y.default.getArticleURL(Z.HelpdeskArticles.NOISE_SUPPRESSION),onClick:this.handleKrispLinkClick},void 0,q.default.Messages.LEARN_MORE)}))},r.renderCodec=function(){var e;return e=this.props.theme===Z.ThemeTypes.LIGHT?n(11681):n(11682),ue(G.default,{className:Q.default.marginBottom20,title:q.default.Messages.USER_SETTINGS_VOICE_CODEC_TITLE},void 0,ue(U.default,{className:Q.default.marginBottom20,type:U.Types.PRIMARY,imageData:{src:e,width:70,height:40},align:N.default.Align.CENTER,body:q.default.Messages.USER_SETTINGS_VOICE_CODEC_DESCRIPTION}))},r.renderVideoCodec=function(){if(!g.default.supports(u.Features.OPEN_H264))return null;var e,t=this.props,n=t.openH264,r=t.experimentalEncoders,a=t.hardwareH264;return"stable"!==$.default.releaseChannel&&g.default.isExperimentalEncodersSupported()&&(e=ue(D.default,{className:(0,o.default)(Q.default.marginTop8,Q.default.marginBottom20),value:r,onChange:this.handleExperimentalEncodersChange,disabled:!1},void 0,q.default.Messages.EXPERIMENTAL_ENCODERS)),ue(G.default,{className:Q.default.marginBottom20,title:q.default.Messages.USER_SETTINGS_VOICE_VIDEO_CODEC_TITLE},void 0,ue(D.default,{className:(0,o.default)(Q.default.marginTop8,Q.default.marginBottom20),value:n,onChange:this.handleOpenH264Change,disabled:!1,note:q.default.Messages.FORM_HELP_OPEN_H264},void 0,q.default.Messages.USER_SETTINGS_VOICE_OPEN_H264),ue(D.default,{className:(0,o.default)(Q.default.marginTop8,Q.default.marginBottom20),value:a,onChange:this.handleHardwareH264Change,disabled:!n,note:q.default.Messages.FORM_HELP_HARDWARE_H264},void 0,q.default.Messages.USER_SETTINGS_VOICE_HARDWARE_H264),e)},r.renderVoiceProcessing=function(){if(!g.default.supports(u.Features.VOICE_PROCESSING))return null;var e,t,n=this.props,r=n.noiseSuppression,a=n.echoCancellation,i=n.automaticGainControl,l=n.inputDeviceId,s=n.noiseCancellation,d=n.vadUseKrisp,f=n.inputMode,c=n.vadAutoThreshold,p=n.advancedVoiceActivitySupported,v=E.default.hasEchoCancellation(l),y=E.default.hasNoiseSuppression(l),m=E.default.hasAutomaticGainControl(l);if((v||v||m)&&(e=ue(F.default,{className:Q.default.marginBottom20,type:F.default.Types.DESCRIPTION},void 0,q.default.Messages.FORM_HELP_CERTIFIED_VOICE_PROCESSING)),p){var _=f===Z.InputModes.VOICE_ACTIVITY&&c;t=ue(D.default,{value:d,onChange:this.handleAdvancedVoiceActivityChange,note:q.default.Messages.USER_SETTINGS_DISABLE_ADVANCED_VOICE_ACTIVITY,disabled:!_},void 0,q.default.Messages.ADVANCED_VOICE_ACTIVITY)}return ue(G.default,{className:Q.default.marginBottom20,title:q.default.Messages.FORM_LABEL_VOICE_PROCESSING},void 0,e,ue(D.default,{className:(0,o.default)(Q.default.marginTop8,Q.default.marginBottom20),value:a,onChange:this.handleEchoCancellationChange,disabled:v},void 0,q.default.Messages.ECHO_CANCELLATION),ue(D.default,{value:r,onChange:this.handleNoiseSuppressionChange,note:s&&q.default.Messages.USER_SETTINGS_DISABLE_NOISE_SUPPRESSION,disabled:y||s},void 0,q.default.Messages.NOISE_SUPPRESSION),t,ue(D.default,{className:"",value:i,onChange:this.handleAutomaticGainControlChange,disabled:m},void 0,q.default.Messages.AUTOMATIC_GAIN_CONTROL))},r.renderQoS=function(){if(!g.default.supports(u.Features.QOS))return null;var e=this.props.qosEnabled;return ue(G.default,{className:Q.default.marginBottom20,title:q.default.Messages.FORM_LABEL_QOS},void 0,ue(D.default,{className:"",value:e,onChange:this.handleQoSChanged,note:q.default.Messages.FORM_HELP_QOS},void 0,q.default.Messages.FORM_CHECKBOX_QOS))},r.renderAttenutation=function(){if(!g.default.supports(u.Features.ATTENUATION))return null;var e=this.props,t=e.attenuation,n=e.attenuateWhileSpeakingSelf,r=e.attenuateWhileSpeakingOthers;return ue(G.default,{className:Q.default.marginBottom20,title:q.default.Messages.FORM_LABEL_ATTENUATION},void 0,ue(R.default,{initialValue:t,onValueChange:this.handleAttenuationChange}),ue(F.default,{className:Q.default.marginBottom20,type:F.default.Types.DESCRIPTION},void 0,q.default.Messages.FORM_HELP_ATTENUATION),ue(j.default,{className:Q.default.marginBottom20}),ue(D.default,{value:n,onChange:this.handleAttenuateSelfChanged},void 0,q.default.Messages.ATTENUATE_WHILE_SPEAKING_SELF),ue(D.default,{className:"",value:r,onChange:this.handleAttenuateOthersChanged},void 0,q.default.Messages.ATTENUATE_WHILE_SPEAKING_OTHERS))},r.renderAudioSubsystem=function(){if(!g.default.supports(u.Features.LEGACY_AUDIO_SUBSYSTEM)&&!g.default.supports(u.Features.EXPERIMENTAL_AUDIO_SUBSYSTEM))return null;var e=[{value:u.AudioSubsystems.STANDARD,label:"Standard"}];g.default.supports(u.Features.LEGACY_AUDIO_SUBSYSTEM)&&e.push({value:u.AudioSubsystems.LEGACY,label:"Legacy"}),g.default.supports(u.Features.EXPERIMENTAL_AUDIO_SUBSYSTEM)&&e.push({value:u.AudioSubsystems.EXPERIMENTAL,label:"Experimental"});var t=this.props.audioSubsystem;return ue(G.default,{className:Q.default.marginBottom20,title:q.default.Messages.FORM_LABEL_SUBSYSTEM},void 0,ue(P.default,{className:Q.default.marginBottom20,value:t,clearable:!1,searchable:!1,options:e,onChange:this.handleAudioSubsystemChanged}),ue(j.default,{className:Q.default.marginBottom20}))},r.renderScreenshare=function(){if(!K.default.embedded)return null;var e,t,n,r=this.props,a=r.videoHook,o=r.experimentalSoundshare,i=r.soundshareEnabled;if(g.default.supports(u.Features.VIDEO_HOOK)&&(e=ue(D.default,{value:a,onChange:this.handleVideoHookChange},void 0,q.default.Messages.USER_SETTINGS_VOICE_VIDEO_HOOK_LABEL)),g.default.supportsExperimentalSoundshare()&&(t=ue(D.default,{value:o,onChange:this.handleExperimentalSoundshareChange},void 0,q.default.Messages.USER_SETTINGS_VOICE_EXPERIMENTAL_SOUNDSHARE_LABEL)),g.default.supportsEnableSoundshare()){var l=q.default.Messages.USER_SETTINGS_VOICE_SOUNDSHARE_NOT_ENABLED_LABEL;i===Z.SoundshareEnableState.ENABLING?l=q.default.Messages.USER_SETTINGS_VOICE_SOUNDSHARE_ENABLING_LABEL:i===Z.SoundshareEnableState.ENABLED&&(l=q.default.Messages.USER_SETTINGS_VOICE_SOUNDSHARE_ENABLED_LABEL),n=ue(k.default,{},void 0,ue(F.default,{className:Q.default.marginBottom20},void 0,l.format({helpdeskArticle:Y.default.getArticleURL(Z.HelpdeskArticles.OSX_SOUNDSHARE)})),ue(N.default,{},void 0,ue(N.default.Child,{grow:0,shrink:0},void 0,ue(b.default,{className:Q.default.marginBottom20,size:b.default.Sizes.SMALL,onClick:this.handleEnableSoundshare,disabled:i!==Z.SoundshareEnableState.NOT_ENABLED},void 0,i===Z.SoundshareEnableState.NOT_ENABLED?q.default.Messages.USER_SETTINGS_VOICE_INSTALL_LABEL:q.default.Messages.USER_SETTINGS_VOICE_INSTALLED_LABEL))),ue(j.default,{className:Q.default.marginBottom20}))}return null==e&&null==t&&null==n?null:ue(G.default,{className:Q.default.marginBottom20,title:q.default.Messages.FORM_LABEL_SCREENSHARE},void 0,e,t,n)},r.renderDiagnostics=function(){if(!K.default.embedded)return null;var e=this.props.silenceWarning;return ue(G.default,{className:Q.default.marginBottom20,title:q.default.Messages.FORM_LABEL_VOICE_DIAGNOSTICS},void 0,ue(D.default,{className:"",value:e,onChange:this.handleSilenceWarningChange},void 0,q.default.Messages.DISPLAY_SILENCE_WARNING))},r.renderDebugLogs=function(){if(K.default.embedded&&g.default.supports(u.Features.DEBUG_LOGGING)&&null!=h.default.fileManager.readLogFiles){var e=this.props,t=e.debugLogging,n=e.aecDumpSupported,r=e.aecDumpEnabled,o=e.shouldRecordNextConnection,i=e.isStaff,l=this.state.disableDebugUpload,s=a.createElement(a.Fragment,null,ue(D.default,{hideBorder:!0,value:t,onChange:this.handleDebugLoggingChange,note:q.default.Messages.FORM_HELP_DEBUG_LOGGING},void 0,q.default.Messages.FORM_CHECKBOX_DEBUG_LOGGING)),d=n?a.createElement(a.Fragment,null,ue(D.default,{value:r,onChange:this.handleAecDumpChange,note:q.default.Messages.FORM_HELP_AEC_DUMP},void 0,q.default.Messages.FORM_CHECKBOX_AEC_DUMP)):null,f=("canary"===$.default.releaseChannel||"development"===$.default.releaseChannel)&&i&&g.default.supports(u.Features.CONNECTION_REPLAY)?a.createElement(a.Fragment,null,ue(D.default,{hideBorder:!0,value:o,onChange:this.handleConnectionLogChange,note:q.default.Messages.FORM_HELP_CONNECTION_LOG},void 0,q.default.Messages.FORM_CHECKBOX_CONNECTION_LOG),ue(k.default,{},void 0,ue(N.default,{className:Q.default.marginBottom20},void 0,ue(N.default.Child,{grow:0,shrink:0},void 0,ue(b.default,{size:b.default.Sizes.SMALL,onClick:this.handleOpenConnectionReplay},void 0,q.default.Messages.OPEN_CONNECTION_REPLAY))))):null;return ue(G.default,{className:Q.default.marginBottom40,title:q.default.Messages.FORM_LABEL_DEBUG},void 0,d,f,s,ue(k.default,{},void 0,ue(N.default,{},void 0,ue(N.default.Child,{grow:0,shrink:0},void 0,ue(b.default,{disabled:l,size:b.default.Sizes.SMALL,onClick:this.handleUploadDebugFiles},void 0,q.default.Messages.UPLOAD)),ue(N.default.Child,{grow:0,shrink:0},void 0,ue(b.default,{size:b.default.Sizes.SMALL,onClick:this.handleShowVoiceModuleFolder},void 0,q.default.Messages.SHOW_FOLDER)))))}},r.renderResetVoiceSettings=function(){return ue(k.default,{},void 0,ue(b.default,{look:b.default.Looks.OUTLINED,color:b.default.Colors.RED,onClick:this.handleVoiceReset,size:b.default.Sizes.SMALL},void 0,q.default.Messages.RESET_VOICE_SETTINGS))},r.renderVideoSettings=function(){var e=g.default.supports(u.Features.VIDEO);return ue("div",{},void 0,ue(B.default,{tag:B.Tags.H1,className:Q.default.marginBottom20},void 0,q.default.Messages.VIDEO_SETTINGS),e?this.renderVideoDevices():this.renderVideoWarnings(),ue(j.default,{className:(0,o.default)(Q.default.marginBottom40,Q.default.marginTop40)}))},r.render=function(){var e=Y.default.getArticleURL(Z.HelpdeskArticles.VOICE_VIDEO_TROUBLESHOOTING)+"?utm_source=discord&utm_medium=blog&utm_campaign=2020-06_help-voice-video&utm_content=--t%3Apm";return ue(G.default,{className:X.default.userSettingsVoice,tag:B.Tags.H1,title:q.default.Messages.VOICE_SETTINGS},void 0,this.renderDevices(),this.renderVolumeControls(),this.renderMicTest(),ue(F.default,{className:Q.default.marginBottom20,type:F.default.Types.DESCRIPTION},void 0,q.default.Messages.FORM_HELP_VOICE_VIDEO_TROUBLESHOOTING_GUIDE.format({guideURL:e})),ue(j.default,{className:(0,o.default)(Q.default.marginBottom40)}),this.renderInputMode(),this.renderPTTTools(),this.renderVoiceSensitivityTools(),ue(j.default,{className:Q.default.marginBottom40}),this.renderVideoSettings(),ue(B.default,{tag:B.Tags.H1,className:Q.default.marginBottom20},void 0,q.default.Messages.SETTINGS_ADVANCED),this.renderNoiseCancellation(),this.renderCodec(),this.renderVideoCodec(),this.renderVoiceProcessing(),this.renderQoS(),this.renderAttenutation(),this.renderAudioSubsystem(),this.renderScreenshare(),this.renderDiagnostics(),this.renderDebugLogs(),this.renderResetVoiceSettings())},t}(a.PureComponent);ve.displayName="UserSettingsVoice";var ye=l.default.connectStores([I.default,T.default,g.default,E.default,S.default],(function(){var e;return{theme:I.default.theme,canSetInputDevice:g.default.supports(u.Features.AUDIO_INPUT_DEVICE),canSetOutputDevice:g.default.supports(u.Features.AUDIO_OUTPUT_DEVICE),inputVolume:g.default.getInputVolume(),outputVolume:g.default.getOutputVolume(),inputDeviceId:g.default.getInputDeviceId(),inputDevices:g.default.getInputDevices(),outputDevices:g.default.getOutputDevices(),outputDeviceId:g.default.getOutputDeviceId(),videoDevices:g.default.getVideoDevices(),videoDeviceId:g.default.getVideoDeviceId(),echoCancellation:g.default.getEchoCancellation(),loopback:g.default.getLoopback(),noiseSuppression:g.default.getNoiseSuppression(),automaticGainControl:g.default.getAutomaticGainControl(),noiseCancellation:g.default.getNoiseCancellation(),noiseCancellationSupported:g.default.isNoiseCancellationSupported(),advancedVoiceActivitySupported:g.default.isAdvancedVoiceActivitySupported(),inputMode:g.default.getMode(),shortcut:g.default.getModeOptions().shortcut,vadThreshold:g.default.getModeOptions().threshold,vadAutoThreshold:g.default.getModeOptions().autoThreshold,vadUseKrisp:g.default.getModeOptions().vadUseKrisp,delay:g.default.getModeOptions().delay,usePTTLimited:!K.default.embedded,attenuation:g.default.getAttenuation(),attenuateWhileSpeakingSelf:g.default.getAttenuateWhileSpeakingSelf(),attenuateWhileSpeakingOthers:g.default.getAttenuateWhileSpeakingOthers(),silenceWarning:g.default.getEnableSilenceWarning(),debugLogging:g.default.getDebugLogging(),qosEnabled:g.default.getQoS(),audioSubsystem:g.default.getAudioSubsystem(),certifiedDeviceRevision:E.default.getRevision(),videoHook:g.default.getVideoHook(),experimentalSoundshare:g.default.getExperimentalSoundshare(),openH264:g.default.getOpenH264(),experimentalEncoders:g.default.getExperimentalEncoders(),hardwareH264:g.default.getHardwareH264(),aecDumpSupported:g.default.isAecDumpSupported(),aecDumpEnabled:g.default.getAecDump(),shouldRecordNextConnection:S.default.shouldRecordNextConnection(),isStaff:!!(null===(e=T.default.getNullableCurrentUser())||void 0===e?void 0:e.isStaff()),soundshareEnabled:g.default.getSoundshareEnabled()}}))(ve);t.default=ye},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NotchBackground=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),i=n(139),l=n(1),u=s(n(8184));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=(0,i.cssValueToNumber)(u.default.notchWidth),v=Object.freeze({BLACK:u.default.black,GRAY:u.default.gray});t.NotchBackground=v;var y=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={barWidth:0},t.sizerRef=a.createRef(),t.computeBars=function(){var e=t.sizerRef.current;t.setState({barWidth:null!=e?t.roundToNearestStep(e.clientWidth):0})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var i=r.prototype;return i.componentDidMount=function(){this.computeBars(),window.addEventListener("resize",this.computeBars)},i.componentWillUnmount=function(){window.removeEventListener("resize",this.computeBars)},i.roundToNearestStep=function(e){return Math.round(e/p)*p},i.getProgressStyles=function(){var e=this.props.progress,t=100-Math.max(0,Math.min(100,e)),n=this.state.barWidth,r=n*t/100,a=this.roundToNearestStep(r);return{transform:"translateX("+Math.abs(a-n)+"px)"}},i.getGradientStyles=function(){var e=this.props,t=e.gradientEnd,n=e.gradientStart,r=e.progress;return{width:this.state.barWidth+"px",background:r<=0?"none":"linear-gradient(to right, "+n+", "+t+")"}},i.render=function(){var e=this.props,t=e.className,n=e.notchBackground;return a.createElement("div",{className:u.default.wrapper,ref:this.sizerRef},f("div",{className:(0,o.default)(u.default.container,t),style:this.getGradientStyles()},void 0,f("div",{className:u.default.progress,style:this.getProgressStyles()}),f("div",{className:(0,o.default)(u.default.notches,n)})))},r}(a.Component);y.displayName="GradientProgress",y.defaultProps={gradientStart:l.Colors.STATUS_YELLOW_400,gradientEnd:l.Colors.STATUS_GREEN_600};var m=y;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uploadDebugFiles=function(){return p.apply(this,arguments)};var r=d(n(419)),a=n(275),o=d(n(26)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(8289)),l=d(n(118)),u=n(1);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){f(o,r,a,i,l,"next",e)}function l(e){f(o,r,a,i,l,"throw",e)}i(void 0)}))}}function p(){return(p=c(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=l.default.fileManager.readLogFiles){e.next=2;break}throw new a.UploadVoiceDebugLogsError(a.UploadErrorCodes.GENERAL);case 2:return t=[],e.prev=3,e.next=6,l.default.fileManager.readLogFiles(25e5,i.makeFile);case 6:t=(t=e.sent).map((function(e){return i.transformNativeFile(e,"application/octet-stream")})),e.next=13;break;case 10:throw e.prev=10,e.t0=e.catch(3),new a.UploadVoiceDebugLogsError(a.UploadErrorCodes.READ);case 13:if(0!==t.length){e.next=15;break}throw new a.UploadVoiceDebugLogsError(a.UploadErrorCodes.NO_FILE);case 15:return e.prev=15,n=r.default.post(u.Endpoints.DEBUG_LOGS(u.DebugLogCategory.RTC)),t.forEach((function(e){return n.attach(e.name,e,e.name)})),e.next=20,n;case 20:e.next=30;break;case 22:if(e.prev=22,e.t1=e.catch(15),429!==e.t1.status){e.next=28;break}throw new a.UploadVoiceDebugLogsError(a.UploadErrorCodes.PROGRESS);case 28:throw new o.default("DebugUploadManager").error("Debug log upload error: status: "+e.t1.status+", message: "+e.t1.message),new a.UploadVoiceDebugLogsError(a.UploadErrorCodes.UPLOAD);case 30:case"end":return e.stop()}}),e,null,[[3,10],[15,22]])})))).apply(this,arguments)}},function(e,t,n){e.exports=n.p+"d630d71d5d2a19c1a81607b7b77f8717.svg"},function(e,t,n){e.exports=n.p+"799da7cb8e1aa0bf9588a2d789c03926.svg"},function(e,t,n){e.exports=n.p+"f98fe1aef65b144ddb4dbc7eedfac860.svg"},function(e,t,n){e.exports=n.p+"baf6cccc846651d5ca897296163227f5.svg"},function(e,t,n){e.exports=n.p+"aba3ec7874f7f01fe9a8275a3e5c21a0.svg"},function(e,t,n){e.exports=n.p+"ebfb23f0cdb11b1871ed8beb3f9ec0ee.svg"},function(e,t,n){e.exports=n.p+"c28317e203e00b2d7390d5ece2399228.svg"},function(e,t,n){e.exports=n.p+"8c49c7d4a59675bb6ceaee1bb80b5803.png"},function(e,t,n){e.exports=n.p+"e8b66317ab0dc9ba3bf8d41a4f3ec914.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=y(n(0)),o=p(n(9)),i=p(n(8267)),l=p(n(681)),u=y(n(159)),s=p(n(16)),d=p(n(43)),f=p(n(6)),c=p(n(370));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function m(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).handleToggleOpenOnStartup=function(){var e=!n.state.openOnStartup;n.setState({openOnStartup:e}),d.default.send("TOGGLE_OPEN_ON_STARTUP",e)},n.handleToggleStartMinimized=function(){var e=!n.state.startMinimized;n.setState({startMinimized:e}),d.default.send("TOGGLE_START_MINIMIZED",e)},n.handleToggleMinimizeToTray=function(){var e=!n.state.minimizeToTray;n.setState({minimizeToTray:e}),d.default.send("TOGGLE_MINIMIZE_TO_TRAY",e)},n.state={openOnStartup:!0,startMinimized:!1,minimizeToTray:!0},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n);var a=r.prototype;return a.componentDidMount=function(){var e,t=(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=this,e.next=3,d.default.getSetting("OPEN_ON_STARTUP",!0);case 3:return e.t1=e.sent,e.next=6,d.default.getSetting("START_MINIMIZED",!1);case 6:return e.t2=e.sent,e.next=9,d.default.getSetting("MINIMIZE_TO_TRAY",!0);case 9:e.t3=e.sent,e.t4={openOnStartup:e.t1,startMinimized:e.t2,minimizeToTray:e.t3},e.t0.setState.call(e.t0,e.t4);case 12:case"end":return e.stop()}}),e,this)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){_(o,r,a,i,l,"next",e)}function l(e){_(o,r,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}(),a.render=function(){var e=this.state,t=e.openOnStartup,n=e.startMinimized,r=e.minimizeToTray,a=s.default.isLinux()?f.default.Messages.USER_SETTINGS_LINUX_SETTINGS:f.default.Messages.USER_SETTINGS_WINDOWS_SETTINGS;return m(l.default,{tag:u.Tags.H1,title:a},void 0,m(u.default,{},void 0,f.default.Messages.USER_SETTINGS_STARTUP_BEHAVIOR),m(i.default,{className:c.default.marginBottom20,value:t,note:f.default.Messages.USER_SETTINGS_OPEN_ON_STARTUP_BODY,onChange:this.handleToggleOpenOnStartup},void 0,f.default.Messages.USER_SETTINGS_OPEN_ON_STARTUP_LABEL),s.default.isWindows()?m(i.default,{disabled:!t,className:(0,o.default)(c.default.marginTop8,c.default.marginBottom20),value:!!t&&n,note:f.default.Messages.USER_SETTINGS_START_MINIMIZED_BODY,onChange:this.handleToggleStartMinimized},void 0,f.default.Messages.USER_SETTINGS_START_MINIMIZED_LABEL):null,m(u.default,{className:(0,o.default)(c.default.marginTop20,c.default.marginBottom8)},void 0,f.default.Messages.USER_SETTINGS_CLOSE_BUTTON),m(i.default,{className:c.default.marginBottom20,value:r,note:f.default.Messages.USER_SETTINGS_MINIMIZE_TO_TRAY_BODY,onChange:this.handleToggleMinimizeToTray},void 0,f.default.Messages.USER_SETTINGS_MINIMIZE_TO_TRAY_LABEL))},r}(a.PureComponent);E.displayName="UserSettingsWindows";var g=E;t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.useStateFromStoresObject)([l.default],(function(){return{saturation:l.default.saturation,useReducedMotion:l.default.useReducedMotion}})),t=e.saturation,n=e.useReducedMotion;return[v(u.MenuGroup,{},void 0,v(u.MenuCheckboxItem,{id:"reduced-motion",label:d.default.Messages.ACCESSIBILITY_PREFERS_REDUCED_MOTION_ENABLE,checked:n,action:function(){return(0,i.setPrefersReducedMotion)(n?"no-preference":"reduce")}})),v(u.MenuGroup,{},void 0,v(u.MenuControlItem,{id:"input",label:"Saturation",control:function(e,n){return a.createElement(s.default,p({},e,{ref:n,value:100*t,onChange:function(e){return(0,i.setSaturation)(e/100)},"aria-label":d.default.Messages.FORM_LABEL_INPUT_VOLUME}))}}))]};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),i=n(285),l=f(n(105)),u=n(8253),s=f(n(8733)),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,a.useStateFromStoresObject)([s.default],(function(){return{theme:s.default.theme,useSystemTheme:s.default.useSystemTheme,isCompact:s.default.messageDisplayCompact}})),t=e.theme,n=e.useSystemTheme,r=e.isCompact,c=function(e,r){return v(l.MenuRadioItem,{id:e,group:"input-modes",label:r,checked:n===u.SystemThemeState.ON?"system"===e:e===t,action:function(){"system"!==e&&o.default.updateRemoteSettings({theme:e}),o.default.updateLocalSettings({useSystemTheme:"system"===e?u.SystemThemeState.ON:u.SystemThemeState.OFF})}})};return[v(l.MenuGroup,{},void 0,c(d.ThemeTypes.DARK,f.default.Messages.THEME_DARK),c(d.ThemeTypes.LIGHT,f.default.Messages.THEME_LIGHT),c("system",f.default.Messages.THEME_SYSTEM)),v(l.MenuGroup,{},void 0,v(l.MenuItem,{id:"compact-mode",label:r?f.default.Messages.SWITCH_TO_COZY_MODE:f.default.Messages.SWITCH_TO_COMPACT_MODE,action:function(){o.default.updateRemoteSettings({messageDisplayCompact:!r}),(0,i.setMessageGroupSpacing)()}}))]};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=c(n(274)),i=n(285),l=n(8253),u=n(1348),s=c(n(39)),d=n(1),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,l.useStateFromStores)([s.default,p.default],(function(){var e=p.default.getRegisteredExperiments();return Object.keys(e).map((function(t){var n=e[t],r=s.default.getExperimentOverrideDescriptor(t);return{id:t,experiment:n,currentBucket:r?r.bucket:-1}}))}),[],o.default),t=a.useState(""),n=t[0],r=t[1],u=a.useState([]),f=u[0],v=u[1];a.useEffect((function(){0!==n.trim().length?v(e.filter((function(e){return(0,i.default)(n,e.experiment.title.toLowerCase())}))):v(e)}),[e,n]);var y=a.useMemo((function(){return f.map(S)}),[f]);return[g(d.MenuControlItem,{id:"experiments-search",control:function(e,t){return a.createElement(c.default,E({},e,{query:n,onChange:r,ref:t,placeholder:m.default.Messages.SEARCH}))}}),O].concat(y)};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=_(n(130)),i=_(n(480)),l=n(3),u=n(208),s=_(n(187)),d=n(8253),f=n(8256),c=_(n(11687)),p=_(n(382)),v=_(n(8676)),y=_(n(8761)),m=_(n(6));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(){return(E=Object.assign||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}).apply(this,arguments)}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(e){var t=e.id,n=e.experiment,r=e.currentBucket;return g(d.MenuItem,{id:t,label:n.title,action:function(){return(0,u.overrideBucket)(t,null)}},void 0,n.buckets.map((function(e){return g(d.MenuCheckboxItem,{id:""+e,label:y.default.getExperimentBucketName(e),checked:e===r,action:function(){return(0,u.overrideBucket)(t,e)}})})),g(d.MenuGroup,{},void 0,-1!==r&&g(d.MenuItem,{id:"clear-override",label:"Clear Override",color:f.MenuItemColor.DANGER,icon:v.default,action:function(){return(0,u.overrideBucket)(t,null)}})))}S.displayName="renderExperimentItem";var O=g(d.MenuSeparator,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(9)),i=p(n(88)),l=p(n(61)),u=p(n(151)),s=p(n(255)),d=p(n(5968)),f=p(n(6)),c=p(n(8188));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t,n){return t?y("div",{className:c.default.iconContainer},void 0,y(u.default,{type:u.default.Type.SPINNING_CIRCLE,className:(0,o.default)(c.default.icon)})):e.length>0?y(l.default,{"aria-label":f.default.Messages.SEARCH_CLEAR,className:(0,o.default)(c.default.iconContainer,c.default.iconClickable),onClick:function(e){e.stopPropagation(),n("")},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()},focusProps:{offset:{top:-3,right:-3,bottom:-3,left:-3}}},void 0,y(s.default,{width:18,height:18,className:c.default.icon,"aria-label":f.default.Messages.CLOSE})):y("div",{className:c.default.iconContainer},void 0,y(d.default,{width:18,height:18,className:c.default.icon,"aria-label":f.default.Messages.SEARCH}))}m.displayName="getIcon";var _=a.forwardRef((function(e,t){var n=e.query,r=e.onChange,o=e.loading,l=void 0!==o&&o,u=e.disabled,s=void 0!==u&&u,d=e.placeholder,p=void 0===d?f.default.Messages.SEARCH:d,v=e["aria-label"],_=a.useRef(null),h=a.useRef(null);a.useImperativeHandle(t,(function(){return{focus:function(){var e;return null===(e=h.current)||void 0===e?void 0:e.focus()},blur:function(){var e;return null===(e=h.current)||void 0===e?void 0:e.blur()},activate:function(){return!1}}}),[]);var E=m(n,l,r);return y(i.default,{focusTarget:h,ringTarget:_,offset:{top:2,bottom:2,left:4,right:4}},void 0,a.createElement("div",{className:c.default.container,ref:_},a.createElement("input",{role:"searchbox","aria-busy":l,ref:h,className:c.default.input,value:n,onChange:function(e){return r(e.currentTarget.value)},"aria-label":v,placeholder:p,disabled:s}),E))}));t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=s(n(1343)),i=n(8253),l=s(n(160)),u=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){var e=(0,a.useStateFromStores)([l.default],(function(){return l.default.enabled}),[]);return f(i.MenuCheckboxItem,{id:"streamer-mode-toggle",label:u.default.Messages.ENABLE_STREAMER_MODE_LABEL,action:function(){o.default.setEnabled(!e)},checked:e})}c.displayName="useStreamerModeItems"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(3),a=l(n(11)),o=l(n(51)),i=l(n(80));function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return(0,r.useStateFromStoresObject)([i.default,o.default,a.default],(function(){var t,n=null!=e?i.default.getVoiceState(e.getGuildId(),a.default.getId()):null;return{selfDeaf:o.default.isSelfDeaf(),deaf:null!==(t=null==n?void 0:n.deaf)&&void 0!==t&&t}}))};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(8)),i=E(n(3)),l=n(389),u=E(n(11691)),s=E(n(1412)),d=E(n(708)),f=E(n(8351)),c=E(n(8268)),p=E(n(8647)),v=E(n(70)),y=E(n(12)),m=E(n(11692)),_=n(48),h=E(n(6));function E(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(){return(O=Object.assign||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}).apply(this,arguments)}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var T=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleUserContextMenu=function(e,t){(0,l.openContextMenu)(e,(function(e){return a.createElement(f.default,O({},e,{user:t}))}))},t.renderOverflowPopout=function(){var e=t.props.party;return t.hasParty(e)?S(u.default,{party:e,header:h.default.Messages.SPOTIFY_LISTEN_ALONG_LISTENING_ALONG_COUNT.format({count:e.length})}):null},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,I(t,n);var o=r.prototype;return o.hasParty=function(e){return e.length>1},o.handleStopListening=function(){(0,s.default)()},o.renderUserPopout=function(e,t){return a.createElement(c.default,O({},e,{userId:t.id}))},o.render=function(){var e=this.props,t=e.currentUser,n=e.host,r=e.party;return this.hasParty(r)?S(m.default,{currentUser:t,host:n,party:r,renderUserPopout:this.renderUserPopout,renderOverflowPopout:this.renderOverflowPopout,onStopListening:this.handleStopListening,onUserContextMenu:this.handleUserContextMenu}):null},r}(a.PureComponent);T.displayName="ListeningAlong";var C=i.default.connectStores([d.default,y.default,v.default,p.default],(function(){var e,t,n=d.default.getSyncingWith(),r=d.default.getActivity(),a=y.default.getCurrentUser(),i=[];return null!=n?(e=y.default.getUser(n.userId),t=n.partyId):null!=r&&null!=r.party&&null!=r.party.id&&(e=a,t=r.party.id),null!=t&&(i=(0,o.default)(Array.from(p.default.getParty(t)||[])).map((function(e){return y.default.getUser(e)})).filter(_.isNotNullish).orderBy([function(t){return null==e||e.id===t.id},function(e){return v.default.isFriend(e.id)}],["desc","desc"]).value()),{currentUser:a,host:e,party:i}}))(T);t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(389),i=c(n(8300)),l=c(n(8351)),u=c(n(55)),s=c(n(279)),d=c(n(272)),f=c(n(8190));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(){return(y=Object.assign||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}).apply(this,arguments)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var c=r.prototype;return c.handleContextMenu=function(e,t){(0,o.openContextMenu)(e,(function(e){return a.createElement(l.default,y({},e,{user:t}))}))},c.renderUser=function(e){var t=this;return null==e?null:v(u.default,{className:f.default.user,align:u.default.Align.CENTER,onContextMenu:function(n){null!=e&&t.handleContextMenu(n,e)}},e.id,v(s.default,{src:e.getAvatarURL(void 0),"aria-label":e.username,size:s.default.Sizes.SIZE_24,className:f.default.avatar}),v(i.default,{user:e,className:f.default.tag,usernameClass:f.default.username,discriminatorClass:f.default.discriminator}))},c.render=function(){var e=this,t=this.props,n=t.party,r=t.header,a=n.map((function(t){return e.renderUser(t)}));return v("div",{className:f.default.userList},void 0,v("div",{className:f.default.header},void 0,r),v(d.default,{className:f.default.content,fade:!0},void 0,a))},r}(a.PureComponent);_.displayName="UserListPopout";var h=_;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=S(n(9)),i=S(n(8264)),l=S(n(55)),u=S(n(278)),s=S(n(149)),d=S(n(8409)),f=S(n(255)),c=S(n(8602)),p=S(n(279)),v=S(n(93)),y=S(n(8710)),m=S(n(8777)),_=S(n(9070)),h=n(1),E=S(n(6)),g=S(n(8191));function S(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(){return(T=Object.assign||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}).apply(this,arguments)}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b=5,M=4,N=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),l=0;l<n;l++)r[l]=arguments[l];return(t=e.call.apply(e,[this].concat(r))||this).renderPartyMember=function(e,n){if(null==e)return null;var r,l=t.props,d=l.host,f=l.renderUserPopout,c=l.onUserContextMenu;return r=d.id===e.id?E.default.Messages.SPOTIFY_LISTEN_ALONG_HOST:E.default.Messages.SPOTIFY_LISTEN_ALONG_LISTENER,I(u.default,{preload:function(){return(0,i.default)(e.id,e.getAvatarURL(void 0))},renderPopout:function(t){return null!=e&&f(t,e)},position:u.default.Positions.TOP,align:u.default.Align.CENTER},e.id,(function(t){return I(s.default,{text:r},void 0,(function(r){var i=r.onMouseEnter,l=r.onMouseLeave;return a.createElement(p.default,T({},t,{key:e.id,src:e.getAvatarURL(void 0),size:p.default.Sizes.SIZE_24,className:(0,o.default)(g.default.avatar,n),"aria-label":e.username,onMouseEnter:i,onMouseLeave:l,onContextMenu:function(t){null!=e&&(null==c||c(t,e))}}))}))}))},t.renderPartyMemberOverflow=function(e,n,r){var i=t.props.renderOverflowPopout;return I(u.default,{renderPopout:i},r,(function(t){return I(s.default,{text:E.default.Messages.SPOTIFY_LISTEN_ALONG_LISTENERS},void 0,(function(r){return a.createElement("div",T({className:(0,o.default)(g.default.overflow,n)},r,t),e)}))}))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,C(t,n);var S=r.prototype;return S.isHost=function(){var e=this.props,t=e.currentUser,n=e.host;return t.id===n.id},S.renderTitle=function(){return I("div",{},void 0,I(_.default,{},void 0,this.isHost()?E.default.Messages.SPOTIFY_LISTEN_ALONG_TITLE_HOST.format({count:this.props.party.length}):E.default.Messages.SPOTIFY_LISTEN_ALONG_TITLE_LISTENER),I(m.default,{},void 0,E.default.Messages.SPOTIFY_LISTEN_ALONG_SUBTITLE_LISTENER))},S.renderStopListeningButton=function(){var e=this.props.onStopListening;return this.isHost()?null:I(y.default,{tooltipText:E.default.Messages.SPOTIFY_LISTEN_ALONG_STOP,onClick:e,icon:f.default})},S.renderHelpIcon=function(){if(!this.isHost())return null;return I(y.default,{tooltipText:E.default.Messages.SPOTIFY_LISTEN_ALONG_INFO,onClick:function(){window.open(v.default.getArticleURL(h.HelpdeskArticles.SPOTIFY_CONNECTION),"_blank")},icon:c.default})},S.render=function(){return I("div",{className:g.default.listeningAlong},void 0,this.renderTitle(),I(l.default,{justify:l.default.Justify.END,className:g.default.party},void 0,I(d.default,{users:this.props.party,max:this.isHost()?b:M,renderUser:this.renderPartyMember,renderMoreUsers:this.renderPartyMemberOverflow})),I("div",{className:g.default.icons},void 0,this.renderHelpIcon(),this.renderStopListeningButton()))},r}(a.PureComponent);N.displayName="ListeningAlong";var A=N;t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=ke(n(0)),o=we(n(9)),i=we(n(23)),l=n(192),u=n(3),s=we(n(288)),d=n(389),f=we(n(1226)),c=we(n(132)),p=ke(n(10490)),v=we(n(10239)),y=we(n(8273)),m=we(n(9699)),_=we(n(10309)),h=n(156),E=we(n(294)),g=we(n(8646)),S=we(n(11696)),O=we(n(11697)),I=we(n(11698)),T=we(n(11699)),C=we(n(11700)),b=we(n(11701)),M=we(n(8478)),N=we(n(9701)),A=n(180),P=we(n(88)),R=we(n(1273)),L=we(n(5966)),D=n(395),w=ke(n(1220)),j=we(n(702)),k=n(42),U=we(n(302)),G=n(260),F=we(n(9704)),B=we(n(6012)),H=we(n(6013)),x=ke(n(8940)),V=we(n(8754)),W=we(n(9678)),Y=we(n(8755)),z=n(8937),K=we(n(712)),$=we(n(163)),Z=we(n(10)),q=we(n(15)),X=we(n(694)),J=we(n(51)),Q=we(n(40)),ee=we(n(94)),te=we(n(70)),ne=we(n(39)),re=we(n(12)),ae=we(n(80)),oe=we(n(365)),ie=we(n(271)),le=we(n(29)),ue=we(n(55)),se=n(721),de=we(n(278)),fe=we(n(8267)),ce=we(n(149)),pe=ke(n(159)),ve=we(n(8938)),ye=we(n(8313)),me=we(n(11702)),_e=we(n(11703)),he=we(n(9157)),Ee=we(n(8939)),ge=we(n(9728)),Se=we(n(8710)),Oe=we(n(8777)),Ie=we(n(47)),Te=we(n(24)),Ce=we(n(13)),be=we(n(93)),Me=n(716),Ne=we(n(11704)),Ae=we(n(11705)),Pe=n(1),Re=we(n(6)),Le=we(n(7914)),De=we(n(370));function we(e){return e&&e.__esModule?e:{default:e}}function je(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return je=function(){return e},e}function ke(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=je();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function Ue(e,t){return(Ue=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ge(){return(Ge=Object.assign||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}).apply(this,arguments)}function Fe(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function Be(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var He=new Set([h.YOUTUBE_APPLICATION_ID,h.POKER_NIGHT_APPLICATION_ID,h.YOUTUBE_APPLICATION_ID,h.FISHINGTON_APPLICATION_ID]);function xe(e){var t=e.currentTarget;Ce.default.track(Pe.AnalyticEvents.NOISE_CANCELLATION_LINK_CLICKED,{text:t.text,href:t.href,location:{section:Pe.AnalyticsSections.NOISE_CANCELLATION_POPOUT}})}function Ve(){var e=a.useRef(null);(0,se.useFocusLock)(e),a.useEffect((function(){return Ce.default.track(Pe.AnalyticEvents.OPEN_POPOUT,{type:Pe.AnalyticsSections.NOISE_CANCELLATION_POPOUT})}),[]);var t=(0,u.useStateFromStores)([J.default],(function(){return J.default.getNoiseCancellation()}));return a.createElement("div",{ref:e,className:Le.default.noiseCancellationPopout},Be(fe.default,{hideBorder:!0,className:De.default.marginBottom4,value:t,onChange:function(){return s.default.setNoiseCancellation(!t,{section:Pe.AnalyticsSections.NOISE_CANCELLATION_POPOUT})},note:Re.default.Messages.NOISE_CANCELLATION_POPOUT_DESCRIPTION},void 0,Re.default.Messages.NOISE_CANCELLATION_POPOUT_HEADER),Be(p.default,{title:Re.default.Messages.NOISE_CANCELLATION_POPOUT_MIC_TEST_TITLE,notchBackground:p.NotchBackground.BLACK,buttonTest:Re.default.Messages.NOISE_CANCELLATION_POPOUT_TEST,buttonStop:Re.default.Messages.NOISE_CANCELLATION_POPOUT_STOP,buttonClassName:Le.default.micTestButton,buttonColor:le.default.Colors.GREY,location:{section:Pe.AnalyticsSections.NOISE_CANCELLATION_POPOUT}}),Be(pe.default,{tag:pe.Tags.H5,className:(0,o.default)(De.default.marginBottom8,De.default.marginTop20)},void 0,Re.default.Messages.NOISE_CANCELLATION_POPOUT_FOOTER),Be(ue.default,{justify:ue.default.Justify.BETWEEN,className:Le.default.footer},void 0,Be(ie.default,{href:Pe.MarketingURLs.KRISP,onClick:function(e){return xe(e)}},void 0,Be("div",{className:Le.default.krispLogo})),Be(ie.default,{href:be.default.getArticleURL(Pe.HelpdeskArticles.NOISE_SUPPRESSION),className:Le.default.krispLink,onClick:function(e){return xe(e)}},void 0,Re.default.Messages.LEARN_MORE)))}function We(e){var t,n,r=e.channel,i=(0,F.default)(),l=(0,H.default)(r),d=null!==(t=r.getGuildId())&&void 0!==t?t:"",f=m.default.useExperiment({guildId:d})[0].rtcPanelIconsOnly,c=(0,u.useStateFromStoresObject)([E.default],(function(){return{userInActivity:null!=E.default.getSelfEmbeddedActivityForChannel(r.id)}})).userInActivity,p=(0,B.default)(r),v=p.reachedLimit,y=p.limit,_=a.useCallback((function(){(0,V.default)()}),[]),h=a.useCallback((function(e){var t;J.default.isVideoEnabled()!==e&&(s.default.setVideoEnabled(e),e&&(0,k.transitionTo)(Pe.Routes.CHANNEL(null!==(t=r.getGuildId())&&void 0!==t?t:Pe.ME,r.id)))}),[r]),g=c||f,S=Be(ye.default,{className:(0,o.default)(Le.default.buttonIcon,(n={},n[Le.default.withText]=!g,n))});return a.createElement(z.VideoButtonWrapper,Ge({onChange:h,onCameraUnavailable:_,hasPermission:l,channelLimit:y,channelLimitReached:v},i),(function(e){var t=e.unavailable,n=e.active,r=e.label,i=(e.iconComponent,Fe(e,["unavailable","active","label","iconComponent"]));return Be(de.default,{renderPopout:function(e){var t=e.closePopout;return Be(N.default,{onClose:t})},position:de.default.Positions.TOP,align:de.default.Align.CENTER,animation:de.default.Animation.FADE},void 0,(function(e,l){var u=e.onClick,s=Fe(e,["onClick"]);return Be(ce.default,{text:r},void 0,(function(e){var r;return a.createElement(le.default,Ge({},i,e,s,{onClick:function(t){var n;i.onClick(t),null===(n=e.onClick)||void 0===n||n.call(e),l&&u(t)},onContextMenu:function(t){var n;u(t),null===(n=e.onContextMenu)||void 0===n||n.call(e)},size:le.default.Sizes.SMALL,className:(0,o.default)(Le.default.button,Le.default.buttonColor,(r={},r[Le.default.buttonActive]=n,r[Le.default.fauxDisabled]=t,r[Le.default.disabled]=i.disabled,r)),wrapperClassName:Le.default.button}),g?S:Be(ue.default,{align:ue.default.Align.CENTER},void 0,S,Re.default.Messages.VIDEO))}))}))}))}function Ye(e){var t=e.closePopout,n=e.showPokerTooltip,r=e.showBetrayalTooltip,a=e.showYouTubeTooltip,o=e.showFishingtonTooltip,i=e.showDiscordGameTooltip,l=e.discordEmbeddedGameID;return o?Be(T.default,{closePopout:t}):a?Be(b.default,{closePopout:t}):r?Be(O.default,{closePopout:t}):n?Be(C.default,{closePopout:t}):i&&null!=l?Be(I.default,{closePopout:t,embeddedGameID:l}):null}function ze(e){var t,n=e.channel,r=e.shouldShowVoicePanelIntroduction,i=null!==(t=n.getGuildId())&&void 0!==t?t:"",l=m.default.useExperiment({guildId:i})[0],s=l.enabledApplicationIds,d=l.showDiscordGameTooltips,f=s.find((function(e){return!He.has(e)})),c=null!=f?f+"_ACTIVITY_TOOLTIP":null;m.default.trackExposure({guildId:i});var p=(0,u.useStateFromStoresObject)([j.default,J.default,X.default],(function(){return{hasBetrayalTooltip:j.default.hasHotspot(D.HotspotLocations.BETRAYAL_TOOLTIP),hasPokerTooltip:j.default.hasHotspot(D.HotspotLocations.POKER_NIGHT_TOOLTIP),hasYouTubeTooltip:j.default.hasHotspot(D.HotspotLocations.YOUTUBE_TOOLTIP),hasFishingtonTooltip:j.default.hasHotspot(D.HotspotLocations.FISHINGTON_TOOLTIP),hasDiscordGameTooltip:null!=c&&j.default.hasHotspot(c),shouldShowTooltip:!X.default.hasLayers()&&!r&&!J.default.isInteractionRequired()}})),v=p.shouldShowTooltip,y=p.hasBetrayalTooltip,_=p.hasYouTubeTooltip,O=p.hasPokerTooltip,I=p.hasFishingtonTooltip,T=p.hasDiscordGameTooltip,C=(0,g.default)(n.id)[0],b=(0,u.useStateFromStoresObject)([E.default],(function(){return{userInActivity:null!=E.default.getSelfEmbeddedActivityForChannel(n.id)}})).userInActivity,N=(0,M.default)(null!=C?[C.applicationId]:[])[0];if(0===s.length&&!b)return null;var A=s.includes(h.END_GAME_APPLICATION_ID),P=s.includes(h.YOUTUBE_APPLICATION_ID),R=s.includes(h.POKER_NIGHT_APPLICATION_ID),L=s.includes(h.FISHINGTON_APPLICATION_ID),k=y&&A,U=_&&P,G=O&&R,F=I&&L,B=T&&d;function H(){U&&w.hideHotspot(D.HotspotLocations.YOUTUBE_TOOLTIP),k&&w.hideHotspot(D.HotspotLocations.BETRAYAL_TOOLTIP),G&&w.hideHotspot(D.HotspotLocations.POKER_NIGHT_TOOLTIP),F&&w.hideHotspot(D.HotspotLocations.FISHINGTON_TOOLTIP),B&&null!=c&&w.hideHotspot(c)}var x=Re.default.Messages.EMBEDDED_ACTIVITIES_START_AN_ACTIVITY;return null!=C&&(b?x=Re.default.Messages.EMBEDDED_ACTIVITIES_IN_ACTIVITY_TOOLTIP:null!=N&&(x=Re.default.Messages.EMBEDDED_ACTIVITIES_CHANNEL_ACTIVITY_ACTIVE.format({applicationName:N.name}))),Be(de.default,{renderPopout:function(e){var t=e.closePopout;return Be(Ye,{showYouTubeTooltip:U,showBetrayalTooltip:k,showPokerTooltip:G,showFishingtonTooltip:F,showDiscordGameTooltip:B,discordEmbeddedGameID:f,closePopout:function(){H(),t()}})},position:de.default.Positions.TOP,align:de.default.Align.CENTER,animation:de.default.Animation.TRANSLATE,shouldShow:v&&(k||G||U||F||B)},void 0,(function(){return Be(de.default,{renderPopout:function(e){var t=e.closePopout;return Be(S.default,{channel:n,onClose:t})},position:de.default.Positions.TOP,align:de.default.Align.CENTER,animation:de.default.Animation.FADE},void 0,(function(e){var t=e.onClick,n=Fe(e,["onClick"]);return Be(ce.default,{text:x},void 0,(function(e){var r;return a.createElement(le.default,Ge({},e,n,{size:le.default.Sizes.SMALL,onClick:function(n){var r;H(),t(n),null===(r=e.onClick)||void 0===r||r.call(e)},className:(0,o.default)(Le.default.button,Le.default.buttonColor,(r={},r[Le.default.buttonActive]=b||null!=C,r)),wrapperClassName:Le.default.button}),Be(he.default,{className:Le.default.buttonIcon}))}))}))}))}function Ke(e){var t,n,r=e.channel,i=e.canGoLive,l=(0,u.useStateFromStores)([re.default],(function(){return re.default.getCurrentUser()})),s=(0,u.useStateFromStores)([$.default],(function(){return $.default.getAllActiveStreams()})),d=(0,H.default)(r),f=r.getGuildId(),c=m.default.useExperiment({guildId:null!=f?f:""})[0].rtcPanelIconsOnly,p=(0,u.useStateFromStoresObject)([E.default],(function(){return{userInActivity:null!=E.default.getSelfEmbeddedActivityForChannel(r.id)}})).userInActivity,v=a.useCallback((function(){(0,Y.default)(f,r.id,Pe.AnalyticsSections.ACTIVITY_PANEL)}),[f,r.id]),y=s.find((function(e){return e.ownerId===l.id})),_=(0,x.useOtherStreams)(r,l,s);n=null==y?i?v:W.default:function(){return(0,L.default)(y)};var h=null!=y||_.length>0,g=d?Re.default.Messages.SHARE_YOUR_SCREEN:Re.default.Messages.ACTIVITY_PANEL_GO_LIVE_TOOLTIP_NO_PERMISSION_IN_VOICE,S=!d,O=p||c,I=Be(Ee.default,{className:(0,o.default)(Le.default.buttonIcon,(t={},t[Le.default.withText]=!O,t))});return Be(de.default,{renderPopout:function(e){var t=e.closePopout;return Be(x.default,{channel:r,currentUser:l,activeStreams:s,onClose:t,handleGoLive:i?v:W.default})},position:de.default.Positions.TOP,align:de.default.Align.CENTER,animation:de.default.Animation.FADE},void 0,(function(e){var t=e.onClick,r=Fe(e,["onClick"]);return Be(ce.default,{text:g},void 0,(function(e){var i;return a.createElement(le.default,Ge({},e,{size:le.default.Sizes.SMALL,onClick:function(r){var a;h?t(r):n(),null===(a=e.onClick)||void 0===a||a.call(e)},disabled:S,className:(0,o.default)(Le.default.button,Le.default.buttonColor,(i={},i[Le.default.buttonActive]=null!=y,i[Le.default.disabled]=S,i))},h?r:null,{wrapperClassName:Le.default.button}),O?I:Be(ue.default,{align:ue.default.Align.CENTER},void 0,I,Re.default.Messages.GO_LIVE_SHARE_SCREEN))}))}))}function $e(e){var t=e.channel.isGuildStageVoice();return Be(Se.default,{tooltipText:t?Re.default.Messages.STAGE_CHANNEL_LEAVE_BUTTON:Re.default.Messages.DISCONNECT_SELF,onClick:function(){return c.default.disconnect()},icon:t?ge.default:ve.default})}Ve.displayName="NoiseCancellationPopout",We.displayName="ConnectedVideoButton",ze.displayName="ConnectedActivityButton",Ke.displayName="ConnectedStreamButton",$e.displayName="DisconnectButton";var Ze=Be(Ve,{}),qe=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),l=0;l<n;l++)r[l]=arguments[l];return(t=e.call.apply(e,[this].concat(r))||this).canScreenshare=function(){var e=t.props,n=e.channel;return e.canGoLive&&null!=n&&null!=n.getGuildId()},t.handleNoiseCancellationClicked=function(){var e=t.props.noiseCancellationActive;s.default.setNoiseCancellation(!e,{section:Pe.AnalyticsSections.NOISE_CANCELLATION_POPOUT})},t.handleGoLive=function(){var e=t.props,n=e.guild,r=e.channel,a=null!=r?r.getGuildId():null!=n?n.id:null;null!=a&&(0,Y.default)(a,r.id,Pe.AnalyticsLocations.VOICE_PANEL)},t.handleChannelLinkClick=function(e){var n=t.props,r=n.guild,a=n.channel;(0,i.default)(null!=a,"Channel is null during navigation click"),e.stopPropagation(),f.default.channelListScrollTo(r?r.id:Pe.ME,a.id)},t.handleChannelLinkContextMenu=function(e){(0,d.openContextMenu)(e,(function(e){return a.createElement(Ne.default,e)}))},t.handleCloseVoicePanelIntroduction=function(){w.hideHotspot(D.HotspotLocations.VOICE_PANEL_INTRODUCTION)},t.renderVoicePanelIntroduction=function(){return Be("div",{className:(0,o.default)(Le.default.voicePanelIntroductionWrapper,"theme-light")},void 0,Be(Ie.default,{className:Le.default.voicePanelIntroductionHeader,size:Ie.default.Sizes.SIZE_16},void 0,Re.default.Messages.VOICE_PANEL_INTRODUCTION_HEADER),Be(Te.default,{className:Le.default.voicePanelIntroductionText,size:Te.default.Sizes.SIZE_14},void 0,Re.default.Messages.VOICE_PANEL_INTRODUCTION_TEXT),Be(le.default,{className:Le.default.voicePanelIntroductionButton,color:le.default.Colors.BRAND,onClick:t.handleCloseVoicePanelIntroduction},void 0,Re.default.Messages.VOICE_PANEL_INTRODUCTION_CLOSE))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,Ue(t,n);var u=r.prototype;return u.renderConnectionStatus=function(){var e=this.props,t=e.channel,n=e.guild,r=e.rtcConnectionQuality,a=e.rtcConnectionState,o=e.rtcConnectionLastPing,i=e.hasVideo;if(null==t)return null;var u,s=(0,A.computeChannelName)(t,re.default,te.default,!0);return null!=n?(u=Pe.Routes.CHANNEL(n.id,t.id),s=s+" / "+n.name):u=Pe.Routes.CHANNEL(Pe.ME,t.id),Be(v.default,{statusTextClassName:Le.default.statusWithPopout,quality:r,state:a,lastPing:o,hasVideo:i},void 0,Be(P.default,{},void 0,Be(l.Link,{to:u,onClick:this.handleChannelLinkClick,onContextMenu:this.handleChannelLinkContextMenu},void 0,Be(Oe.default,{className:Le.default.channel},void 0,s))))},u.renderNoiseCancellation=function(){var e=this.props,t=e.noiseCancellationActive,n=e.noiseCancellationError;return!e.hasLayers&&n?Be(ce.default,{text:Re.default.Messages.NOISE_CANCELLATION_CPU_OVERUSE,tooltipClassName:Le.default.noiseCancellationTooltip,forceOpen:!0},void 0,(function(e){var t=e["aria-label"];return Be(Se.default,{"aria-label":t,tooltipText:null,disabled:!0,icon:_e.default})})):Be(de.default,{position:de.default.Positions.TOP,align:de.default.Align.CENTER,renderPopout:function(){return Ze}},"krisp-popout",(function(e,n){return a.createElement(Se.default,Ge({},e,{tooltipClassName:Le.default.noiseCancellationTooltip,tooltipText:n?null:Re.default.Messages.NOISE_CANCELLATION_TOOLTIP,icon:t?me.default:_e.default}))}))},u.renderVoiceStates=function(){var e=this.props,t=e.channel,n=e.voiceStates,r=e.showVoiceStates;return null!=t&&r&&0!==n.length?Be(Ae.default,{voiceStates:n,channel:t,className:Le.default.voiceUsers}):null},u.renderChannelButtons=function(){var e=this.props,t=e.channel,n=e.shouldShowVoicePanelIntroduction,r=e.guild,a=e.canGoLive;return null==t||t.type===Pe.ChannelTypes.GUILD_STAGE_VOICE?null:Be("div",{className:Le.default.actionButtons},void 0,Be(We,{channel:t}),Be(Ke,{channel:t,canGoLive:a}),null!=r&&["us-west","us-east","us-central","us-south"].includes(r.region)?Be(ze,{channel:t,shouldShowVoicePanelIntroduction:null!=n&&n}):null)},u.render=function(){var e=this,t=this.props,n=t.channel,r=t.noiseCancellationSupported,a=t.shouldShowVoicePanelIntroduction;if(null==n)return null;var o=Be($e,{channel:n});return Be(de.default,{renderPopout:this.renderVoicePanelIntroduction,position:de.default.Positions.TOP,align:de.default.Align.CENTER,animation:de.default.Animation.TRANSLATE,shouldShow:a},void 0,(function(){return Be("div",{className:Le.default.container},void 0,Be(ue.default,{className:Le.default.connection,align:ue.default.Align.CENTER},void 0,Be("div",{className:Le.default.inner},void 0,e.renderConnectionStatus()),Be(ue.default,{grow:0,shrink:0},void 0,r?e.renderNoiseCancellation():null,o)),e.renderVoiceStates(),e.renderChannelButtons())}))},r}(a.PureComponent);function Xe(e){var t=(0,u.useStateFromStores)([re.default],(function(){return re.default.getNullableCurrentUser()})),n=(0,u.useStateFromStoresObject)([ee.default],(function(){return{guildId:ee.default.getGuildId(),channelId:ee.default.getChannelId(),rtcConnectionQuality:ee.default.getQuality(),rtcConnectionState:ee.default.getState(),rtcConnectionLastPing:ee.default.getLastPing(),rtcConnectionConnected:ee.default.isConnected()}})),r=n.guildId,o=n.channelId,i=Fe(n,["guildId","channelId"]),l=(0,u.useStateFromStores)([q.default],(function(){return q.default.getGuild(r)}),[r]),s=(0,u.useStateFromStores)([Z.default],(function(){return Z.default.getChannel(o)}),[o]),d=(0,u.useStateFromStoresObject)([J.default],(function(){return{noiseCancellationSupported:J.default.isNoiseCancellationSupported(),noiseCancellationActive:J.default.getNoiseCancellation(),noiseCancellationError:J.default.isNoiseCancellationError(),canGoLive:(0,R.default)(J.default)}})),f=(0,u.useStateFromStores)([J.default,j.default],(function(){return j.default.hasHotspot(D.HotspotLocations.VOICE_PANEL_INTRODUCTION)&&(0,Me.isNewUser)(t)&&!J.default.isInteractionRequired()&&!(null==s?void 0:s.isGuildStageVoice())})),c=(0,u.useStateFromStores)([ae.default],(function(){return null!=o&&ae.default.hasVideo(o)}),[o]),p=(0,u.useStateFromStores)([$.default],(function(){return null!=t?$.default.getActiveStreamForUser(t.id):null}),[t]),v=(0,u.useStateFromStores)([X.default],(function(){return X.default.hasLayers()}));f&&_.default.trackExposure({});var y=_.default.useExperiment({})[0],m=(0,u.useStateFromStores)([K.default],(function(){return K.default.isViewingRoles(r)})),h=(0,u.useStateFromStores)([Q.default],(function(){return m&&!Q.default.can(Pe.Permissions.VIEW_CHANNEL,s)}),[m,s]),E=(0,u.useStateFromStores)([ne.default],(function(){return ne.default.rtcPanelShowVoiceStates})),g=(0,u.useStateFromStoresArray)([oe.default,U.default],(function(){return(null==s?void 0:s.isGuildStageVoice())?[U.default.getMutableParticipants(s.id,G.StageChannelParticipantNamedIndex.SPEAKER),U.default.getParticipantsVersion(s.id),null]:[null,null,null!=s?oe.default.getVoiceStatesForChannel(s):null]}),[s]),S=g[0],O=g[1],I=g[2],T=a.useMemo((function(){var e,t;return null!==(e=null!==(t=null==S?void 0:S.map((function(e){return{user:e.user,nick:e.userNick,voiceState:e.voiceState}})))&&void 0!==t?t:I)&&void 0!==e?e:[]}),[S,O,I]),C=a.useState(!1),b=C[0],M=C[1];return a.useEffect((function(){(m||h)&&M(!1)}),[m,h,M]),Be("div",{className:Le.default.wrapper},void 0,a.createElement(qe,Ge({},e,d,i,{guild:l,channel:s,hasVideo:c,selfStream:p,hasLayers:v,voiceStates:T,showVoiceStates:E,shouldShowVoicePanelIntroduction:y.showPopout&&f})),!b&&m&&null!=r?Be("div",{className:Le.default.viewAsRolesWarning},void 0,Be(Te.default,{size:Te.default.Sizes.SIZE_14,className:Le.default.viewAsRolesWarningText},void 0,h?Re.default.Messages.VIEW_AS_ROLES_HIDDEN_VC_WARNING:Re.default.Messages.VIEW_AS_ROLES_VOICE_WARNING),Be(le.default,{className:Le.default.viewAsRolesWarningButton,size:le.default.Sizes.MIN,onClick:function(){M(!0)}},void 0,Re.default.Messages.DISMISS)):null)}qe.displayName="RTCConnection",Xe.displayName="ConnectedRTCConnection";var Je=(0,y.default)(Xe);t.default=Je},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=P;var r,a=M(n(0)),o=n(3),i=C(n(478)),l=C(n(9699)),u=C(n(8478)),s=M(n(8253)),d=n(42),f=C(n(1167)),c=C(n(477)),p=C(n(8762)),v=C(n(10360)),y=n(8263),m=C(n(24)),_=C(n(13)),h=M(n(1297)),E=C(n(294)),g=C(n(8646)),S=n(156),O=n(1),I=C(n(6)),T=C(n(8192));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var A=N(s.MenuSeparator,{});function P(e){var t,n=e.onClose,r=e.channel,C=e.onSelect;a.useEffect((function(){_.default.track(O.AnalyticEvents.OPEN_POPOUT,{type:"Activity Menu",channel_id:r.id,guild_id:r.getGuildId()})}),[r]);var b=null!==(t=r.getGuildId())&&void 0!==t?t:"",M=l.default.useExperiment({guildId:b})[0].enabledApplicationIds,P=(0,o.useStateFromStores)([f.default],(function(){return f.default.testModeEmbeddedApplicationId}));null==P||M.includes(P)||M.push(P);var R=(0,u.default)(M),L=(0,o.useStateFromStores)([E.default],(function(){return E.default.getSelfEmbeddedActivityForChannel(r.id)})),D=(0,g.default)(r.id)[0],w=(0,u.default)(null!=(null==D?void 0:D.applicationId)?[null==D?void 0:D.applicationId]:[])[0],j=null;if(null!=L)j=N(s.MenuItem,{id:"stop",action:function(){return h.stopEmbeddedActivity(r.id,null==L?void 0:L.applicationId)},icon:v.default,label:I.default.Messages.EMBEDDED_ACTIVITIES_LEAVE_ACTIVITY},"stop");else if(null!=D){var k=I.default.Messages.EMBEDDED_ACTIVITIES_LAUNCHING_ACTIVITY;D.canJoin&&(k=null!=w?I.default.Messages.EMBEDDED_ACTIVITIES_START_APPLICATION.format({applicationName:w.name}):I.default.Messages.EMBEDDED_ACTIVITIES_JOIN_ACTIVITY),j=N(s.MenuItem,{id:"start",disabled:!D.canJoin,action:function(){i.default.join(D.userId,D.sessionId,D.applicationId,r.id,null,S.ActivityIntent.PLAY,!0),(0,d.transitionTo)(O.Routes.CHANNEL(r.getGuildId(),r.id))},icon:p.default,label:k},"start")}else j=a.createElement(a.Fragment,null,N(s.MenuGroup,{},void 0,R.map((function(e,t){var n,a;return N(s.MenuItem,{id:null!==(a=null==e?void 0:e.id)&&void 0!==a?a:String(t),action:function(){null!=e&&(h.startEmbeddedActivity(r.id,e.id),(0,d.transitionTo)(O.Routes.CHANNEL(r.getGuildId(),r.id)))},render:function(){var t,n,r=null!==(t=null==e?void 0:e.getMaxParticipants())&&void 0!==t?t:0;return N("div",{className:T.default.activityItem},void 0,N(c.default,{game:e,className:T.default.activityIcon}),N("div",{className:T.default.activityItemText},void 0,N(m.default,{className:T.default.activityHeader,size:m.default.Sizes.SIZE_16},void 0,null!==(n=null==e?void 0:e.name)&&void 0!==n?n:I.default.Messages.LOADING),N(m.default,{className:T.default.subtitle,size:m.default.Sizes.SIZE_12},void 0,r>0?I.default.Messages.EMBEDDED_ACTIVITIES_MAX_PARTICIPANTS.format({count:r}):I.default.Messages.EMBEDDED_ACTIVITIES_UNLIMITED_PARTICIPANTS)))}},null!==(n=null==e?void 0:e.id)&&void 0!==n?n:t)}))),A,N(s.MenuItem,{id:"beta",render:function(){return N("div",{className:T.default.beta},void 0,N(y.TextBadge,{text:I.default.Messages.BETA,color:O.Colors.BRAND,className:T.default.betaTag}),N(m.default,{className:T.default.subtitle,size:m.default.Sizes.SIZE_12},void 0,I.default.Messages.EMBEDDED_ACTIVITIES_LOOK_FOR_MORE))}}));return N(s.default,{navId:"activity-popout",style:s.MenuStyle.FIXED,onClose:n,"aria-label":"Activity Menu",onSelect:C},void 0,j)}P.displayName="ActivityMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(9072)),o=i(n(6));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(e){var t=e.closePopout;return u(a.default,{closePopout:t,header:o.default.Messages.EMBEDDED_ACTIVITIES_BETRAYAL_MARKETING_TOOLTIP_HEADER,body:o.default.Messages.EMBEDDED_ACTIVITIES_BETRAYAL_MARKETING_TOOLTIP_BODY})}s.displayName="BetrayalMarketingTooltip"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=l(n(8478)),o=l(n(9072)),i=l(n(6));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.embeddedGameID,n=e.closePopout,r=(0,a.default)([t])[0];return null==r?null:s(o.default,{closePopout:n,header:i.default.Messages.EMBEDDED_ACTIVITIES_DISCORD_GAME_MARKETING_TOOLTIP_HEADER.format({applicationName:r.name}),body:r.description})}d.displayName="DiscordGameMarketingTooltip"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(9072)),o=i(n(6));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(e){var t=e.closePopout;return u(a.default,{closePopout:t,header:o.default.Messages.EMBEDDED_ACTIVITIES_FISHINGTON_MARKETING_TOOLTIP_HEADER,body:o.default.Messages.EMBEDDED_ACTIVITIES_FISHINGTON_MARKETING_TOOLTIP_BODY})}s.displayName="FishingtonMarketingTooltip"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(9072)),o=i(n(6));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(e){var t=e.closePopout;return u(a.default,{closePopout:t,header:o.default.Messages.EMBEDDED_ACTIVITIES_MARKETING_TOOLTIP_HEADER,body:o.default.Messages.EMBEDDED_ACTIVITIES_MARKETING_TOOLTIP_BODY})}s.displayName="PokerMarketingTooltip"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=i(n(9072)),o=i(n(6));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function s(e){var t=e.closePopout;return u(a.default,{closePopout:t,header:o.default.Messages.EMBEDDED_ACTIVITIES_YOUTUBE_MARKETING_TOOLTIP_HEADER,body:o.default.Messages.EMBEDDED_ACTIVITIES_YOUTUBE_MARKETING_TOOLTIP_BODY})}s.displayName="YouTubeMarketingTooltip"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),s("path",{className:f,d:"M10.889 4C10.889 3.44772 11.3367 3 11.889 3H12.1112C12.6635 3 13.1112 3.44772 13.1112 4V20C13.1112 20.5523 12.6635 21 12.1112 21H11.889C11.3367 21 10.889 20.5523 10.889 20V4Z",fill:d}),s("path",{className:f,d:"M6.44439 6.25C6.44439 5.69772 6.89211 5.25 7.44439 5.25H7.66661C8.2189 5.25 8.66661 5.69772 8.66661 6.25V17.75C8.66661 18.3023 8.2189 18.75 7.66661 18.75H7.44439C6.89211 18.75 6.44439 18.3023 6.44439 17.75V6.25Z",fill:d}),s("path",{className:f,d:"M3.22222 15.375C3.77451 15.375 4.22222 14.9273 4.22222 14.375L4.22222 9.625C4.22222 9.07272 3.77451 8.625 3.22222 8.625H3C2.44772 8.625 2 9.07272 2 9.625V14.375C2 14.9273 2.44772 15.375 3 15.375H3.22222Z",fill:d}),s("path",{className:f,d:"M22.0001 13.25C22.0001 13.8023 21.5523 14.25 21.0001 14.25H20.7778C20.2255 14.25 19.7778 13.8023 19.7778 13.25V10.75C19.7778 10.1977 20.2255 9.75 20.7778 9.75H21.0001C21.5523 9.75 22.0001 10.1977 22.0001 10.75V13.25Z",fill:d}),s("path",{className:f,d:"M16.3333 7.5C15.781 7.5 15.3333 7.94772 15.3333 8.5V15.5C15.3333 16.0523 15.781 16.5 16.3333 16.5H16.5555C17.1078 16.5 17.5555 16.0523 17.5555 15.5V8.5C17.5555 7.94772 17.1078 7.5 16.5555 7.5H16.3333Z",fill:d}))}d.displayName="NoiseCancellationActive"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),s("path",{d:"M30.6666 24.9644L35.1111 20.5199V31C35.1111 32.1046 34.2156 33 33.1111 33H32.6666C31.562 33 30.6666 32.1046 30.6666 31V24.9644Z",fill:d}),s("path",{d:"M26.2224 14.1463V8C26.2224 6.89543 25.327 6 24.2224 6H23.7779C22.6734 6 21.7779 6.89543 21.7779 8V18.5907L26.2224 14.1463Z",fill:d}),s("path",{d:"M21.7779 33.8543L21.9254 33.7056L26.2224 29.4086V40C26.2224 41.1046 25.327 42 24.2224 42H23.7779C22.6734 42 21.7779 41.1046 21.7779 40V33.8543Z",fill:d}),s("path",{d:"M17.3332 23.0354L12.8888 27.4799V12.5C12.8888 11.3954 13.7842 10.5 14.8888 10.5H15.3332C16.4378 10.5 17.3332 11.3954 17.3332 12.5V23.0354Z",fill:d}),s("path",{d:"M8.44445 28.75C8.44445 29.8546 7.54902 30.75 6.44445 30.75H6C4.89543 30.75 4 29.8546 4 28.75V19.25C4 18.1454 4.89543 17.25 6 17.25H6.44445C7.54902 17.25 8.44445 18.1454 8.44445 19.25L8.44445 28.75Z",fill:d}),s("path",{d:"M44.0001 26.5C44.0001 27.6046 43.1047 28.5 42.0001 28.5H41.5557C40.4511 28.5 39.5557 27.6046 39.5557 26.5V21.5C39.5557 20.3954 40.4511 19.5 41.5557 19.5H42.0001C43.1047 19.5 44.0001 20.3954 44.0001 21.5V26.5Z",fill:d}),s("path",{d:"M42 8.54L39.46 6L6 39.46L8.54 42L16.92 33.64L19.38 31.16L22.7 27.84L29.98 20.56L42 8.54Z",fill:d,className:f}))}d.displayName="NoiseCancellationDisabled"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;p(n(0));var r,a=n(3),o=n(389),i=f(n(274)),l=p(n(8253)),u=f(n(10491)),s=f(n(39)),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e){var t=e.onSelect,n=(0,u.default)(),r=(0,a.useStateFromStores)([s.default],(function(){return s.default.rtcPanelShowVoiceStates}));return v(l.default,{navId:"rtc-channel","aria-label":d.default.Messages.GENERIC_ACTIONS_MENU_LABEL,onClose:o.closeContextMenu,onSelect:t},void 0,n,v(l.MenuGroup,{},void 0,v(l.MenuCheckboxItem,{id:"show-voice-states",checked:r,action:function(){return i.default.updateLocalSettings({rtcPanelShowVoiceStates:!r})},label:d.default.Messages.VOICE_PANEL_SHOW_VOICE_USERS})))}y.displayName="RTCConnectionMenu"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=L;var r,a=b(n(0)),o=T(n(9)),i=n(3),l=n(389),u=T(n(8322)),s=T(n(8351)),d=T(n(8264)),f=T(n(8268)),c=T(n(283)),p=b(n(8352)),v=T(n(61)),y=T(n(278)),m=T(n(149)),_=T(n(1281)),h=T(n(1261)),E=T(n(5951)),g=T(n(6010)),S=T(n(272)),O=T(n(6)),I=T(n(8194));function T(e){return e&&e.__esModule?e:{default:e}}function C(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return C=function(){return e},e}function b(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=C();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function M(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(){return(N=Object.assign||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}).apply(this,arguments)}var A={offset:2},P={serverDeaf:{icon:_.default,colorize:!0,status:O.default.Messages.SERVER_DEAFENED},serverMute:{icon:h.default,colorize:!0,status:O.default.Messages.SERVER_MUTED},deaf:{icon:_.default,colorize:!1,status:O.default.Messages.VOICE_CHANNEL_DEAFENED},mute:{icon:h.default,colorize:!1,status:O.default.Messages.VOICE_CHANNEL_MUTED}};function R(e){var t,n,r=e.channel,p=e.user,_=e.nick,h=e.mute,E=e.deaf,g=e.serverMute,S=e.serverDeaf,T=(0,i.useStateFromStores)([c.default],(function(){return c.default.isSpeaking(p.id)||c.default.isSoundSharing(p.id)}),[p.id]),C=null!==(t=r.getGuildId())&&void 0!==t?t:void 0,b=p.getAvatarURL(r.guild_id),R=null!=_?_:p.username,L=null!==(n=S?P.serverDeaf:E?P.deaf:g?P.serverMute:h?P.mute:void 0)&&void 0!==n?n:{},D=L.icon,w=L.colorize,j=L.status,k=null!=j?O.default.Messages.VOICE_PANEL_USER_TOOLTIP.format({userName:R,status:j}):R;function U(e){(0,l.openContextMenu)(e,(function(e){return null!=C?a.createElement(u.default,N({},e,{user:p,guildId:C,channelId:r.id,showMediaItems:!0})):a.createElement(s.default,N({},e,{user:p,channelId:r.id,showMediaItems:!0}))}))}return M(y.default,{preload:function(){return(0,d.default)(p.id,p.getAvatarURL(C))},position:y.default.Positions.TOP,renderPopout:function(e){return a.createElement(f.default,N({userId:p.id,guildId:C,channelId:r.id},e))}},void 0,(function(e){return M(m.default,{text:k},void 0,(function(t){var n,r;return a.createElement(v.default,N({},t,e,{className:I.default.avatarContainer,onContextMenu:U,focusProps:A}),M("div",{className:(0,o.default)(I.default.avatar,(n={},n[I.default.speaking]=T,n)),style:{backgroundImage:"url("+b+")"}},void 0,null!=D?M(D,{className:(0,o.default)(I.default.avatarIconOverlay,(r={},r[I.default.avatarIconRed]=w,r)),width:16,height:16,foreground:I.default.avatarIconRed}):null))}))}))}function L(e){var t=e.voiceStates,n=e.channel,r=e.className,i=t.length>8,l=a.useState(!1),u=l[0],s=l[1],d=u?g.default:E.default,f=M(p.default,{className:I.default.expandButton,onClick:function(){return s(!u)},color:p.CircleIconButtonColors.PRIMARY,size:p.CircleIconButtonSizes.SIZE_24,tooltip:u?O.default.Messages.VOICE_PANEL_HIDE_EXTRAS:O.default.Messages.VOICE_PANEL_SHOW_EXTRAS,icon:M(d,{width:16,height:16}),focusProps:A}),c=!i||u?t:t.slice(0,7);return M(S.default,{className:(0,o.default)(I.default.scroller,r),fade:!0},void 0,M("div",{className:I.default.voiceUsers,role:"group","aria-label":O.default.Messages.VOICE_PANEL_USERS_A11Y_LABEL},void 0,c.map((function(e){var t=e.user,r=e.nick,a=e.voiceState;return M(R,{channel:n,user:t,nick:r,mute:a.isVoiceMuted(),deaf:a.isVoiceDeafened(),video:a.selfVideo,serverMute:a.mute,serverDeaf:a.deaf},t.id)})),i?f:null))}R.displayName="User",L.displayName="RTCConnectionVoiceUsers"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=w;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=P();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(3),o=A(n(478)),i=A(n(486)),l=n(106),u=A(n(11707)),s=n(766),d=A(n(26)),f=A(n(81)),c=A(n(10)),p=A(n(709)),v=A(n(71)),y=A(n(56)),m=A(n(15)),_=A(n(51)),h=A(n(94)),E=A(n(79)),g=A(n(36)),S=A(n(107)),O=A(n(479)),I=A(n(12)),T=A(n(8690)),C=A(n(10061)),b=A(n(13)),M=n(48),N=n(1);function A(e){return e&&e.__esModule?e:{default:e}}function P(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return P=function(){return e},e}function R(){return(R=Object.assign||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}).apply(this,arguments)}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var D=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,L(t,n);var a=r.prototype;return a.componentDidMount=function(){var e=this.props,t=e.selectedChannelId,n=e.connected,r=e.isNSFWChannel;n&&null!=t&&(0,l.trackWithMetadata)(N.AnalyticEvents.CHANNEL_OPENED,{channel_is_nsfw:r})},a.componentDidUpdate=function(e){var t=this.props,n=t.voiceChannelId,r=t.voiceChannelIdJoined,a=t.voiceChannelGuildId,i=t.voiceChannelType,p=t.voiceChannelBitrate,y=t.videoEnabled,m=t.isScreenSharing,_=t.runningGame,g=t.runningGamePid,S=t.selectedChannelId,O=t.selectedGuildId,I=t.connected,T=t.homeLink,C=t.friendsTabSection,A=t.isNSFWChannel,P=t.isMemberPending,L=t.hasPreviewEnabled,D=t.rtcConnectionId;if(e.voiceChannelId!==n&&null!=e.voiceChannelId){var w=E.default.getCurrentGame(),j=null!=w?w.name:"",k=f.default.getStageInstanceByChannel(e.voiceChannelId);b.default.track(N.AnalyticEvents.LEAVE_VOICE_CHANNEL,R({channel_id:e.voiceChannelId,channel_type:e.voiceChannelType,channel_bitrate:e.voiceChannelBitrate,guild_id:e.voiceChannelGuildId,rtc_connection_id:e.rtcConnectionId,game_name:j,duration:h.default.getDuration(),game_platform:this.props.gamePlatform,game_id:this.props.gameId,media_session_id:e.mediaSessionId,stage_instance_id:null==k?void 0:k.id},(0,l.getVoiceStateMetadata)(e.voiceChannelGuildId,e.voiceChannelId,e.videoEnabled),{},h.default.getVoiceStateStats()))}if(e.voiceChannelIdJoined!==r&&null!=r){var U=E.default.getCurrentGame(),G=null!=U?U.name:"";if(null!=r&&null!=n){var F=f.default.getStageInstanceByChannel(n);b.default.track(N.AnalyticEvents.JOIN_VOICE_CHANNEL,R({channel_id:n,channel_type:i,channel_bitrate:p,guild_id:a,rtc_connection_id:D,game_name:G,game_platform:this.props.gamePlatform,game_id:this.props.gameId,stage_instance_id:null==F?void 0:F.id},(0,l.getCustomStatusMetadata)(a,n),{},(0,l.getVoiceStateMetadata)(a,n,y)))}}if(e.runningGame!==_&&null!=_&&!_.isLauncher){var B=v.default.getGameByName(_.name);if(b.default.track(N.AnalyticEvents.LAUNCH_GAME,{game:_.name,game_id:null==B?null:B.id,verified:null!=B,elevated:_.elevated,game_platform:N.ActivityGamePlatforms.DESKTOP,distributor:_.distributor}),null!=_.name&&null!=g&&v.default.shouldReport(_.name)){var H=_.name,x=g;o.default.identifyGame(x,H).then((function(e){return o.default.reportUnverifiedGame(e)})).catch((function(e){return new d.default("AutoAnalytics").error("Cannot identify game",e)}))}}if((e.videoEnabled!==y||e.isScreenSharing!==m)&&null!=n){var V="none",W=[m?"screen":null,y?"camera":null].filter(M.isNotNullish),Y=null;m?(V="screen",Y=(0,s.getDesktopSourceMetadata)()):y&&(V="camera"),b.default.track(N.AnalyticEvents.VIDEO_INPUT_TOGGLED,R({video_input_type:V,video_toggle_source:__OVERLAY__?"overlay":"app",enabled_inputs:W},Y,{},this.getGameMetadata(),{},(0,l.collectVoiceAnalyticsMetadata)(n)))}if(I&&null!=O&&(O!==e.selectedGuildId||!e.connected||P&&!e.isMemberPending)){var z=P?{is_pending:P,preview_enabled:L}:{};(0,l.trackWithMetadata)(N.AnalyticEvents.GUILD_VIEWED,z)}else!I||null!=O||T!==N.Routes.FRIENDS||e.connected&&C===e.friendsTabSection&&T===e.homeLink||b.default.track(N.AnalyticEvents.FRIENDS_LIST_VIEWED,R({tab_opened:C},(0,u.default)()));if(I&&null!=S&&(S!==e.selectedChannelId||!e.connected)){var K=(0,l.collectThreadMetadata)(c.default.getChannel(S),!0);(0,l.trackWithMetadata)(N.AnalyticEvents.CHANNEL_OPENED,R({channel_is_nsfw:A},K))}},a.getGameMetadata=function(){return{game_platform:this.props.gamePlatform,game_name:this.props.gameName,game_exe_name:this.props.gameExeName,game_id:this.props.gameId}},a.render=function(){return null},r}(r.PureComponent);function w(){var e=(0,a.useStateFromStoresArray)([g.default],(function(){return[g.default.getVoiceChannelId(),g.default.getChannelId()]}),[]),t=e[0],n=e[1],o=(0,a.useStateFromStores)([c.default],(function(){return c.default.getChannel(n)}),[n]),l=null==o?void 0:o.nsfw,u=(0,a.useStateFromStores)([c.default],(function(){return c.default.getChannel(t)}),[t]),s=(0,a.useStateFromStores)([S.default],(function(){return S.default.getGuildId()}),[]),d=(0,a.useStateFromStores)([m.default],(function(){return m.default.getGuild(s)}),[s]),f=(0,a.useStateFromStores)([I.default],(function(){return I.default.getCurrentUser()}),[]),v=(0,a.useStateFromStores)([y.default],(function(){var e,t;return null!=f&&null!=s&&(null!==(e=null===(t=y.default.getMember(s,f.id))||void 0===t?void 0:t.isPending)&&void 0!==e&&e)}),[f,s]),b=(0,a.useStateFromStores)([C.default],(function(){return C.default.getState().section}),[]),M=(0,a.useStateFromStores)([T.default],(function(){return T.default.getHomeLink()}),[]),A=(0,a.useStateFromStores)([p.default],(function(){return p.default.isConnected()}),[]),P=(0,a.useStateFromStoresArray)([_.default],(function(){return[_.default.isVideoEnabled(),_.default.isScreenSharing()]}),[]),R=P[0],L=P[1],w=(0,a.useStateFromStores)([h.default],(function(){return h.default.getChannelId()}),[]),j=(0,a.useStateFromStores)([O.default],(function(){return O.default.getPrimaryActivity()}),[]),k=(0,a.useStateFromStores)([E.default],(function(){return E.default.getCurrentGame()}),[]),U=(0,a.useStateFromStores)([h.default],(function(){return h.default.getMediaSessionId()}),[]),G=(0,a.useStateFromStores)([h.default],(function(){return h.default.getRTCConnectionId()}),[]),F={selectedChannelId:n,isNSFWChannel:l,selectedGuildId:s,friendsTabSection:b,homeLink:M,connected:A,videoEnabled:R,isScreenSharing:L,voiceChannelId:null==u?void 0:u.id,voiceChannelIdJoined:w,voiceChannelGuildId:null==u?void 0:u.getGuildId(),voiceChannelType:null==u?void 0:u.type,voiceChannelBitrate:null==u?void 0:u.bitrate,runningGame:k,runningGamePid:null!=k?k.pid:null,gamePlatform:(0,i.default)(j),gameName:null!=j?j.name:null,gameId:null!=j?j.application_id:null,gameExeName:null!=k?k.exeName:null,hasPreviewEnabled:null==d?void 0:d.features.has(N.GuildFeatures.PREVIEW_ENABLED),isMemberPending:v,mediaSessionId:U,rtcConnectionId:G};return r.createElement(D,F)}D.displayName="AutoAnalytics",w.displayName="ConnectedAutoAnalytics"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(11708).default;t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=y(n(8)),o=n(276),i=n(122),l=n(3),u=y(n(11710)),s=n(769),d=y(n(1299)),f=y(n(10383)),c=y(n(8359)),p=y(n(160)),v=n(1247);function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(){return(_=Object.assign||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}).apply(this,arguments)}var h={transform:"scale(0.7)",opacity:0},E={transform:"scale(1)",opacity:1},g=function(){var e=(0,l.useStateFromStoresArray)([f.default],(function(){return f.default.getIncomingCalls()})),t=(0,l.useStateFromStores)([f.default],(function(){return f.default.hasIncomingCalls()})),n=(0,l.useStateFromStores)([c.default],(function(){return c.default.isSoundDisabled("call_ringing")})),y=(0,l.useStateFromStores)([p.default],(function(){return p.default.disableSounds})),m=(0,l.useStateFromStores)([d.default],(function(){return d.default.getSoundpack()})),g=r.useRef(!1),S=(0,o.useStableMemo)((function(){return m===s.Soundpacks.CLASSIC?(0,v.createSound)(500===a.default.random(1,1e3)?"call_ringing_beat":"call_ringing"):(0,v.createSoundForPack)("call_ringing",m)}),[m]);return r.useEffect((function(){return function(){S.stop()}}),[S]),r.useEffect((function(){y||n?g.current&&(S.stop(),g.current=!1):t&&!g.current?(S.loop(),g.current=!0):!t&&g.current&&(S.stop(),g.current=!1)}),[n,y,t,S]),(0,i.useTransition)(e,{keys:function(e){var t;return null===(t=e.channel)||void 0===t?void 0:t.id},enter:{from:h,to:E},leave:h,config:{mass:1,tension:500,friction:18,clamp:!0}})((function(e,t){return r.createElement(u.default,_({},t,{animatedStyle:e}))}))};t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=Z;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=F();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=G(n(9)),i=n(122),l=n(3),u=n(34),s=G(n(728)),d=G(n(11711)),f=G(n(132)),c=G(n(11712)),p=n(5937),v=G(n(180)),y=n(42),m=G(n(9704)),_=G(n(6013)),h=G(n(8754)),E=n(8288),g=G(n(10371)),S=G(n(8937)),O=G(n(51)),I=G(n(161)),T=G(n(29)),C=G(n(278)),b=G(n(151)),M=G(n(255)),N=n(314),A=G(n(1376)),P=G(n(24)),R=n(259),L=G(n(688)),D=G(n(9701)),w=n(1),j=G(n(6)),k=G(n(8196)),U=G(n(5958));function G(e){return e&&e.__esModule?e:{default:e}}function F(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return F=function(){return e},e}function B(){return(B=Object.assign||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}).apply(this,arguments)}function H(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var x={width:232,height:315},V={width:232,height:267},W=475,Y=267,z=H(b.default,{});function K(e){var t=e.header,n=O.default.getCameraComponent(),r=(0,l.useStateFromStores)([O.default],(function(){return O.default.getVideoDeviceId()}));return H("div",{className:k.default.previewRoot},void 0,z,H("div",{className:k.default.preview},void 0,H(n,{disabled:!1,deviceId:r,width:W,height:Y})),H("div",{className:k.default.previewChannelHeader},void 0,t))}function $(e){var t=e.canVideo,n=e.channel,r=e.numVideoDevices,a=(0,m.default)(),i=a.cameraUnavailable,l=a.enabled,u=(0,_.default)(n);return H("div",{className:k.default.actions},void 0,H(E.CenterControlButton,{iconComponent:M.default,color:"red",className:k.default.actionButton,label:j.default.Messages.DISMISS,onClick:function(){return s.default.stopRinging(n.id)}}),t&&H(C.default,{renderPopout:function(e){var t=e.closePopout;return H(D.default,{onClose:t})},position:C.default.Positions.TOP,align:C.default.Align.CENTER,animation:C.default.Animation.FADE},void 0,(function(e,t){var a=e.onClick;return H(S.default,{join:!0,enabled:l,color:"green",centerButton:!0,hasPermission:u,cameraUnavailable:i,channel:n,onPopoutClick:r>1?a:null,className:k.default.actionButton,popoutOpen:t,onCameraUnavailable:h.default,onChange:function(){f.default.selectVoiceChannel(n.id,!0),(0,y.transitionToGuild)(w.ME,n.id)}})})),H(g.default,{channel:n,color:"green",centerButton:!0,className:(0,o.default)(k.default.actionButton,k.default.last),onClick:function(){return f.default.selectVoiceChannel(n.id)}}))}function Z(e){var t,n=e.animatedStyle,r=e.y,f=e.x,y=e.channel,m=a.useState(!1),_=m[0],h=m[1],E=(0,p.getChannelIconURL)(y),g=(0,v.default)(y),S=(0,l.useStateFromStoresArray)([O.default],(function(){return[O.default.supports(u.Features.VIDEO),Object.keys(O.default.getVideoDevices()).length]})),C=S[0],b=S[1],M=(0,l.useStateFromStores)([I.default],(function(){return I.default.isFocused()})),D=(0,l.useStateFromStores)([L.default],(function(){return L.default.getMode(y.id)})),G=a.useCallback((function(e){null!=e.top&&null!=e.left&&d.default.move(e.left,e.top)}),[]),F=(0,i.useSpring)({value:_?1:0,config:B({},i.config.stiff,{clamp:!0})});a.useEffect((function(){var e=function(e){e.keyCode===w.KeyboardKeys.ESCAPE&&s.default.stopRinging(y.id)};return window.addEventListener("keydown",e),function(){return window.removeEventListener("keydown",e)}}),[y]);var z=D===w.ChannelModes.VIDEO&&C&&b>0,Z=a.createElement(a.Fragment,null,H(A.default,{className:k.default.icon,ringing:M,src:null!=E?E:"",ringingType:A.default.RingingType.INCOMING,size:_?N.Sizes.SIZE_40:N.Sizes.SIZE_80}),H("div",{className:k.default.titleGroup},void 0,H(P.default,{color:P.default.Colors.CUSTOM,className:k.default.title,size:_?P.default.Sizes.SIZE_16:P.default.Sizes.SIZE_20},void 0,g),H(P.default,{color:P.default.Colors.CUSTOM,className:k.default.subtitle,size:_?P.default.Sizes.SIZE_14:P.default.Sizes.SIZE_16},void 0,D===w.ChannelModes.VOICE?j.default.Messages.INCOMING_CALL_ELLIPSIS:j.default.Messages.INCOMING_VIDEO_CALL_ELLIPSIS))),q=z?x:V;return H(c.default,{className:k.default.wrapper,selector:"."+k.default.root,initialPosition:{left:f,top:r},maxX:window.innerWidth,maxY:window.innerHeight,onDragEnd:G,dragAnywhere:!0},void 0,a.createElement(a.Fragment,null,H(i.animated.div,{className:(0,o.default)(k.default.root,U.default.elevationHigh,(t={},t[k.default.previewCamera]=_,t),_?(0,R.getThemeClass)("dark"):null),style:B({},n,{width:F.value.interpolate([0,1],[q.width,W]),minHeight:F.value.interpolate([0,1],[q.height,Y]),translateX:F.value.interpolate([0,1],[0,-1*Math.abs(W-q.width)/2])})},void 0,_?H(K,{header:Z}):H("div",{className:k.default.mainChannelInfo},void 0,Z),H($,{canVideo:z,channel:y,numVideoDevices:b}),z&&!_?H(T.default,{size:T.default.Sizes.SMALL,fullWidth:!0,look:T.default.Looks.LINK,color:T.default.Colors.PRIMARY,className:k.default.previewButton,onClick:function(){return h(!0)}},void 0,j.default.Messages.INCOMING_CALL_PREVIEW_CAMERA):null)))}K.displayName="CameraPreview",$.displayName="CallActionButtons",Z.displayName="IncomingCallModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);var i={move:function(e,t){a.default.dispatch({type:o.ActionTypes.INCOMING_CALL_MOVE,x:e,y:t})}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(1);function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l,u,s=Math.pow(3,2);function d(e,t,n,r,a){var o=e.top,i=e.bottom,l=e.left,u=e.right;if(null==o&&null==i?(o=0,i=n-a):null==o&&null!=i?o=n-(i+a):null!=o&&(i=n-(o+a)),null==l&&null==u?(l=0,u=t-r):null==l&&null!=u?l=t-(u+r):null==u&&null!=l&&(u=t-(l+r)),null==o||null==i||null==l||null==u)throw new Error("Logically this can never happen based on our if/else statements");return{top:o,left:l,bottom:i,right:u}}function f(e){return[null==e.bottom?u.TOP:u.BOTTOM,null==e.right?u.LEFT:u.RIGHT]}function c(e){var t=e,n=t.top,r=t.left,a=t.bottom,o=t.right;return 0===n||n<=a?a=null:n=null,0===r||r<=o?o=null:r=null,{top:n,left:r,bottom:a,right:o}}function p(e){var t=e.top,n=e.left,r=e.bottom,a=e.right;return r<0&&(t+=r,r=0),t<0&&(r+=t,t=0),a<0&&(n+=a,a=0),n<0&&(a+=n,n=0),{top:t,left:n,bottom:r,right:a}}function v(e){return null!=e?e+"px":"auto"}!function(e){e[e.DISABLED=0]="DISABLED",e[e.DEFAULT=1]="DEFAULT",e[e.OFFSET=2]="OFFSET"}(l||(l={})),function(e){e.TOP="TOP",e.BOTTOM="BOTTOM",e.RIGHT="RIGHT",e.LEFT="LEFT"}(u||(u={}));var y=function(e){var t,n;function o(t){var n;(n=e.call(this,t)||this).draggableRef=r.createRef(),n._dragStart={x:0,y:0},n.handleMouseDown=function(e){var t=n.position,r=t.top,o=t.left,i=t.bottom,l=t.right,u=n.props,s=u.dragAnywhere,f=u.selector,c=u.maxX,p=u.maxY,v=e.target,y=n.draggableRef.current;if(null!=y&&e.button===a.MouseButtons.PRIMARY&&(s||null!=v&&f&&null!=v.closest(f))){var m=function(e){var t=e.top;return{x:e.left,y:t}}(d({top:r,left:o,bottom:i,right:l},c,p,y.clientWidth,y.clientHeight)),_=m.x,h=m.y;n._dragStart={x:e.clientX,y:e.clientY},n._offsetX=e.clientX-_,n._offsetY=e.clientY-h,window.addEventListener("mousemove",n.handleMouseMove),window.addEventListener("mouseup",n.handleMouseUp)}},n.handleMouseMove=function(e){e.preventDefault();var t=e.clientX,r=e.clientY,a=n.draggableRef.current,o=n.props,i=o.maxX,u=o.maxY,v=o.flipVertical,y=o.flipHorizontal,m=o.onDragStart,_=o.onDrag,h=o.onFlip,E=o.snapOrientation,g=n.state,S=g.dragging,O=g.dragging,I=g.verticalOrientation,T=g.horizontalOrientation,C=!1;if(!(null==a||!S&&(b=n._dragStart,M={x:t,y:r},N=b.x,A=b.y,P=M.x,R=M.y,Math.pow(N-P,2)+Math.pow(A-R,2)<s))){var b,M,N,A,P,R;S=!0;var L=a.clientWidth,D=a.clientHeight,w=p(d({top:r-n._offsetY,left:t-n._offsetX},i,u,L,D));if(E){var j=f(w=c(w));I=j[0],T=j[1]}else w={top:w.top,left:w.left};y===l.OFFSET&&T!==n.state.horizontalOrientation&&(n._offsetX=L-n._offsetX,C=!0),v===l.OFFSET&&I!==n.state.verticalOrientation&&(n._offsetY=D-n._offsetY,C=!0),n.setDOMPositions(w),O||m&&m(w,a),_&&_(w,a),C&&h&&h([I,T]),n.setState({dragging:S,verticalOrientation:I,horizontalOrientation:T,atTopEdge:0===w.top})}},n.handleMouseUp=function(){window.removeEventListener("mousemove",n.handleMouseMove),window.removeEventListener("mouseup",n.handleMouseUp),n.state.dragging&&n.setState({dragging:!1},(function(){var e=n.props.onDragEnd,t=n.draggableRef.current;null!=t&&null!=e&&e(n.position,t)}))},n._checkBoundsRAF=null,n.checkBounds=function(){null!=n._checkBoundsRAF&&cancelAnimationFrame(n._checkBoundsRAF),n._checkBoundsRAF=requestAnimationFrame(n._performCheckBounds)},n._performCheckBounds=function(){var e=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n),t=e.position,r=e.state,a=e.draggableRef.current,o=e.props,i=o.maxX,l=o.maxY,u=o.onRelocated,s=o.snapOrientation,v=n.state,y=v.verticalOrientation,m=v.horizontalOrientation;if(null!=a){var _,h=a.clientHeight,E=d(t,i,l,a.clientWidth,h);if(E=p(E),s){var g=f(_=c(E));y=g[0],m=g[1]}else _={top:E.top,left:E.left,right:null,bottom:null};if(t.left!==_.left||t.right!==_.right||t.top!==_.top||t.bottom!==_.bottom){u&&u(_,a),n.setDOMPositions(_);var S=0===_.top;y===r.verticalOrientation&&m===r.horizontalOrientation&&S===r.atTopEdge||n.setState({verticalOrientation:y,horizontalOrientation:m,atTopEdge:S})}}};var o,i,u,v,y,m=f(t.initialPosition),_=m[0],h=m[1];return n.position=(o=t.initialPosition,i=o.top,u=o.left,v=o.bottom,y=o.right,null==u&&null==y&&(u=0),null!=u&&null!=y&&(y=null),null==i&&null==v&&(i=0),null!=i&&null!=v&&(v=null),{top:i,left:u,bottom:v,right:y}),n.state={dragging:!1,verticalOrientation:_,horizontalOrientation:h,atTopEdge:0===n.position.top},n}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var y=o.prototype;return y.componentDidMount=function(){this.checkBounds(),this.setDOMPositions(this.position)},y.componentDidUpdate=function(e,t){var n=this.state,r=n.verticalOrientation,a=n.horizontalOrientation,o=n.atTopEdge,i=this.props,l=i.maxX,u=i.maxY,s=i.onRelocated,d=i.snapOrientation;(e.maxX!==l||e.maxY!==u||e.onRelocated!==s||e.snapOrientation!==d||t.verticalOrientation!==r||t.horizontalOrientation!==a||t.atTopEdge!==o)&&this.checkBounds()},y.componentWillUnmount=function(){window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("mouseup",this.handleMouseUp)},y.setDOMPositions=function(e){var t=e.top,n=e.left,r=e.bottom,a=e.right,o=this.draggableRef.current;this.position={top:t,left:n,bottom:r,right:a},null!=o&&(o.style.top=v(t),o.style.bottom=v(r),o.style.left=v(n),o.style.right=v(a))},y.render=function(){var e=this.props,t=e.children,n=e.className,a=this.state,o=a.dragging,i=a.verticalOrientation,l=a.horizontalOrientation,s=a.atTopEdge,d=this.position,f=d.top,c=d.left,p=d.right,v={pointerEvents:o?"none":"auto",position:"absolute",top:f,left:c,bottom:d.bottom,right:p};return r.createElement("div",{ref:this.draggableRef,className:n,onMouseDown:this.handleMouseDown,style:v},r.cloneElement(r.Children.only(t),{flipped:l===u.RIGHT,verticalFlipped:i===u.BOTTOM,checkBounds:this.checkBounds,atTopEdge:s}))},o}(r.PureComponent);t.default=y,y.displayName="Draggable",y.FlipTypes=l,y.defaultProps={snapOrientation:!1,maxX:0,maxY:0,flipVertical:l.DISABLED,flipHorizontal:l.DISABLED,dragAnywhere:!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=H;var r,a,o=N(n(0)),i=b(n(9)),l=b(n(273)),u=N(n(3)),s=b(n(469)),d=n(687),f=n(9069),c=b(n(403)),p=n(123),v=b(n(105)),y=b(n(694)),m=b(n(721)),_=n(1230),h=n(121),E=n(259),g=b(n(11714)),S=b(n(9170)),O=b(n(11736)),I=b(n(10470)),T=n(1),C=b(n(8206));function b(e){return e&&e.__esModule?e:{default:e}}function M(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return M=function(){return e},e}function N(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=M();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function A(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function P(){return(P=Object.assign||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}).apply(this,arguments)}function R(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,L(e,t)}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var D=A(I.default,{}),w=A(g.default,{}),j=A(S.default,{}),k=A(O.default,{}),U=((r={})[T.Layers.USER_SETTINGS]=function(){return D},r[T.Layers.CHANNEL_SETTINGS]=function(){return w},r[T.Layers.GUILD_SETTINGS]=function(){return j},r[T.Layers.RTC_DEBUG]=function(){return k},r),G={friction:10,tension:100},F=function(e){function t(t){var n;(n=e.call(this,t)||this).containerRef=o.createRef();var r=1,a=1;return"HIDDEN"===t.mode&&(r=.93,a=0),n.state={animating:!1,scale:new l.default.Value(r),opacity:new l.default.Value(a),mode:t.mode},n}R(t,e),t.getDerivedStateFromProps=function(e,t){return e.mode!==t.mode?{animating:!0,mode:e.mode}:null};var n=t.prototype;return n.componentDidUpdate=function(e){var t=this.props.mode,n=e.mode;if(t!==n)return"SHOWN"===t&&"HIDDEN"===n?this.animateIn():"HIDDEN"===t&&"SHOWN"===n?this.animateUnder():void 0},n.componentWillEnter=function(e){var t=this,n=this.state,r=n.opacity;n.scale.setValue(1.1),r.setValue(0),e(),this.setState({animating:!0},(function(){return t.animateIn()}))},n.componentWillLeave=function(e){var t=this;this.setState({animating:!0},(function(){return t.animateOut(e)}))},n.animateIn=function(e){var t=this;u.default.Store.pauseEmittingChanges(500);var n=this.state,r=n.opacity,a=n.scale;l.default.parallel([l.default.spring(r,P({toValue:1},G)),l.default.spring(a,P({toValue:1},G))]).start((function(){return t.animateComplete(e)}))},n.animateOut=function(e){u.default.Store.pauseEmittingChanges(500);var t=this.state,n=t.opacity,r=t.scale;h.ComponentDispatch.dispatch(T.ComponentActions.LAYER_POP_START),l.default.parallel([l.default.spring(n,P({toValue:0},G)),l.default.spring(r,P({toValue:1.1},G))]).start((function(){e(),h.ComponentDispatch.dispatch(T.ComponentActions.LAYER_POP_COMPLETE)}))},n.animateUnder=function(){var e=this;u.default.Store.pauseEmittingChanges(500);var t=this.state,n=t.opacity,r=t.scale;l.default.parallel([l.default.spring(n,P({toValue:0},G)),l.default.spring(r,P({toValue:.93},G))]).start((function(){return e.animateComplete()}))},n.animateComplete=function(e){this.setState({animating:!1},e)},n.render=function(){var e,t=this,n=this.state.animating,r=this.props,a=r.mode,u=r.children,s=r.baseLayer,d=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(r,["mode","children","baseLayer"]),f=n||"HIDDEN"===a?this.getAnimatedStyle():null,c=o.createElement(l.default.div,P({ref:function(e){return t.containerRef.current=null!=e?e.refs.node:void 0},"aria-hidden":"HIDDEN"===a,className:(0,i.default)(C.default.layer,(e={},e[C.default.baseLayer]=s,e[C.default.animating]=n,e["stop-animations"]="HIDDEN"===a,e)),style:f},d),u);return s?c:A(m.default,{containerRef:this.containerRef},void 0,c)},n.getAnimatedStyle=function(){var e=this.state,t=e.opacity,n=e.scale;return{opacity:t,transform:this.context.reducedMotion.enabled?void 0:[{scale:n},{translateZ:0}]}},t}(o.PureComponent);F.displayName="Layer",F.defaultProps={baseLayer:!1},F.contextType=p.AccessibilityPreferencesContext;var B=function(e){function t(){return e.apply(this,arguments)||this}R(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this.props.layers;e[e.length-1]===T.Layers.USER_SETTINGS&&(c.default.enable(),c.default.enableTemp(f.SETTINGS_LAYERS_LAYOUT)),h.ComponentDispatch.subscribe(T.ComponentActions.LAYER_POP_ESCAPE_KEY,d.popLayer)},n.componentDidUpdate=function(e){var t=this.props,n=t.layers,r=t.hasFullScreenLayer,a=e.layers.length>0||e.hasFullScreenLayer,o=n.length>0||r;!a&&o||o&&n===e.layers&&n[0]===T.Layers.USER_SETTINGS?c.default.enableTemp(f.SETTINGS_LAYERS_LAYOUT):a&&!o&&c.default.disableTemp()},n.componentWillUnmount=function(){h.ComponentDispatch.unsubscribe(T.ComponentActions.LAYER_POP_ESCAPE_KEY,d.popLayer)},n.renderLayers=function(){var e=this,t=this.props,n=t.children,r=t.layers,a=t.hasFullScreenLayer,o=r.length,i=[];return i.push(A(F,{mode:0!==o||a?"HIDDEN":"SHOWN",baseLayer:!0},"layer-base",n)),r.forEach((function(t,n){return i.push(e.renderComponent(t,n,o))})),i},n.renderComponent=function(e,t,n){var r,a=t===n-1,o="layer";return"string"==typeof e?(o=e,r=U[e]()):r=A(e,{}),A(F,{"aria-label":o,mode:a?"SHOWN":"HIDDEN"},"layer-"+t,r)},n.renderArtisanalHack=function(){return A("div",{className:(0,i.default)(C.default.bg,(0,E.getThemeClass)(this.props.sidebarTheme))})},n.render=function(){return o.createElement(o.Fragment,null,this.renderArtisanalHack(),A(s.default,{component:"div",className:(0,i.default)(C.default.layers,this.props.className)},void 0,this.renderLayers()))},t}(o.PureComponent);function H(e){var t=(0,u.useStateFromStores)([v.default],(function(){return v.default.darkSidebar}))?T.ThemeTypes.DARK:void 0,n=(0,u.useStateFromStores)([y.default],(function(){return y.default.getLayers()})),r=(0,_.useFullScreenLayerStore)((function(e){return e.fullScreenLayers.length>0}));return o.createElement(B,P({},e,{sidebarTheme:t,layers:n,hasFullScreenLayer:r}))}B.displayName="Layers",H.displayName="ConnectedLayers"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=Y;var r,a=G(n(0)),o=n(3),i=k(n(2)),l=n(8330),u=n(687),s=k(n(8575)),d=n(8305),f=k(n(9126)),c=k(n(105)),p=k(n(106)),v=n(180),y=n(8328),m=k(n(11715)),_=n(1209),h=n(31),E=k(n(10493)),g=k(n(9247)),S=k(n(8711)),O=k(n(10)),I=k(n(40)),T=k(n(70)),C=k(n(39)),b=k(n(12)),M=n(41),N=n(121),A=G(n(11728)),P=k(n(11729)),R=G(n(11730)),L=n(10492),D=n(1),w=k(n(6)),j=k(n(8205));function k(e){return e&&e.__esModule?e:{default:e}}function U(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return U=function(){return e},e}function G(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=U();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function B(){return(B=Object.assign||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}).apply(this,arguments)}function H(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function x(e){var t=e.channel,n=e.category,r=e.canManageRoles,o=e.canManageChannels,i=e.canDeleteChannels,s=e.canManageWebhooks,c=(0,y.getChannelIconComponent)(t),p=D.ChannelTypes.GUILD_CATEGORY,_=h.THREAD_CHANNEL_TYPES.has(t.type);return[{section:d.SectionTypes.HEADER,label:null!=t?H("span",{},void 0,null!=c?H(c,{width:11,height:11,className:j.default.channelIcon,background:j.default.background}):null,(0,v.computeChannelName)(t,b.default,T.default),null!=n?H("span",{className:j.default.category},void 0,(0,v.computeChannelName)(n,b.default,T.default)):null):w.default.Messages.CHANNEL_SETTINGS},{section:D.ChannelSettingsSections.OVERVIEW,label:w.default.Messages.OVERVIEW,element:R.default,notice:{element:R.ChannelSettingsOverviewNotice,store:S.default}},{section:D.ChannelSettingsSections.PERMISSIONS,label:w.default.Messages.PERMISSIONS,element:m.default,notice:{element:L.ChannelSettingsPermissionsNotice,store:g.default},predicate:function(){return r&&!_}},{section:D.ChannelSettingsSections.INSTANT_INVITES,label:w.default.Messages.INVITES,element:P.default,type:d.ContentTypes.CUSTOM,predicate:function(){return t.type!==p&&o&&!_}},{section:D.ChannelSettingsSections.INTEGRATIONS,label:w.default.Messages.INTEGRATIONS_OVERVIEW,ariaLabel:w.default.Messages.INTEGRATIONS_OVERVIEW,element:A.default,notice:{store:E.default,element:A.ChannelSettingsIntegrationsNotice},predicate:function(){return(0,h.isGuildTextChannelType)(t.type)&&s&&!_}},{section:d.SectionTypes.DIVIDER},{section:D.ChannelSettingsSections.DELETE,onClick:function(){(0,M.openModal)((function(e){return a.createElement(f.default,B({},e,{onConfirm:function(){e.onClose(),N.ComponentDispatch.subscribeOnce(D.ComponentActions.LAYER_POP_COMPLETE,(function(){(0,l.deleteChannel)(t.id)})),(0,u.popLayer)()},channel:t}))}))},label:t.type===p?w.default.Messages.DELETE_CATEGORY:_?w.default.Messages.DELETE_THREAD:w.default.Messages.DELETE_CHANNEL,color:D.Colors.STATUS_RED,predicate:function(){return i}}]}function V(e,t){void 0===t&&(t=null),p.default.trackWithMetadata(D.AnalyticEvents.SETTINGS_PANE_VIEWED,{settings_type:"channel",origin_pane:t,destination_pane:e})}var W=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,F(t,n);var a=r.prototype;return a.componentDidMount=function(){V(this.props.section)},a.componentWillUnmount=function(){i.default.wait((function(){return(0,l.close)()}))},a.componentDidUpdate=function(e){var t=e.formState,n=e.section,r=this.props,a=r.formState,o=r.section,i=r.canManageRoles,l=r.canManageChannels,s=r.canManageWebhooks;!l&&!i&&!s||a===D.FormStates.CLOSED&&a!==t||!i&&o===D.ChannelSettingsSections.PERMISSIONS||!s&&o===D.ChannelSettingsSections.INTEGRATIONS?(0,u.popLayer)():o!==n&&V(o,n)},a.render=function(){var e=this.props,t=e.theme,n=e.sidebarTheme,r=e.section,a=e.channel,o=e.category,i=e.canManageRoles,d=e.canManageChannels,f=e.canDeleteChannels,c=e.canManageWebhooks;return null==a?null:H(s.default,{theme:t,sidebarTheme:n,section:r||D.ChannelSettingsSections.OVERVIEW,onSetSection:l.setSection,onClose:u.popLayer,sections:x({channel:a,category:o,canManageRoles:i,canManageChannels:d,canDeleteChannels:f,canManageWebhooks:c})})},r}(a.PureComponent);function Y(){var e=(0,o.useStateFromStores)([S.default],(function(){return S.default.getProps()})).channel,t=(0,o.useStateFromStores)([S.default],(function(){return S.default.getFormState()})),n=(0,o.useStateFromStores)([S.default],(function(){return S.default.getSection()})),r=(0,o.useStateFromStores)([C.default],(function(){return C.default.theme})),a=(0,o.useStateFromStores)([c.default],(function(){return c.default.darkSidebar?D.ThemeTypes.DARK:void 0})),i=(0,_.useCanManageThread)(e),l=(0,_.useIsThreadModerator)(e),u=(0,o.useStateFromStoresObject)([I.default],(function(){return{canManageChannels:I.default.can(D.Permissions.MANAGE_CHANNELS,e),canManageRoles:null!=e&&I.default.can(D.Permissions.MANAGE_ROLES,e),canManageWebhooks:null!=e&&I.default.can(D.Permissions.MANAGE_WEBHOOKS,e)}})),s=u.canManageChannels,d=u.canManageRoles,f=u.canManageWebhooks,p=(0,o.useStateFromStores)([O.default],(function(){return O.default.getChannel(null==e?void 0:e.parent_id)}));return H(W,{channel:e,category:p,canManageChannels:(null==e?void 0:e.isThread())?i:s,canDeleteChannels:(null==e?void 0:e.isThread())?l:s,canManageRoles:d,canManageWebhooks:f,formState:t,theme:r,sidebarTheme:a,section:n})}W.displayName="ChannelSettings",Y.displayName="ConnectedChannelSettings"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=te(n(0)),o=Q(n(9)),i=n(92),l=te(n(3)),u=Q(n(154)),s=Q(n(391)),d=n(8330),f=n(8481),c=Q(n(9191)),p=n(286),v=n(1294),y=n(203),m=n(734),_=Q(n(9169)),h=Q(n(9247)),E=Q(n(56)),g=Q(n(15)),S=Q(n(40)),O=Q(n(160)),I=Q(n(12)),T=Q(n(1222)),C=Q(n(29)),b=Q(n(61)),M=Q(n(55)),N=te(n(8353)),A=te(n(149)),P=n(131),R=Q(n(474)),L=Q(n(159)),D=Q(n(686)),w=Q(n(1221)),j=Q(n(8448)),k=Q(n(291)),U=Q(n(9236)),G=Q(n(11716)),F=n(41),B=Q(n(279)),H=Q(n(24)),x=Q(n(1210)),V=Q(n(78)),W=n(1229),Y=te(n(8574)),z=Q(n(8482)),K=Q(n(11717)),$=Q(n(11726)),Z=Q(n(11727)),q=n(1),X=Q(n(6)),J=Q(n(8204));function Q(e){return e&&e.__esModule?e:{default:e}}function ee(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return ee=function(){return e},e}function te(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=ee();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function ne(){return(ne=Object.assign||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}).apply(this,arguments)}function re(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function ae(e){var t=e.channel,n=e.roles,r=e.members,i=e.disabledReason,d=e.getRemoveTooltipHint,c=(0,l.useStateFromStores)([O.default],(function(){return O.default.enabled}));function y(e,n,r){u.default.show({title:X.default.Messages.SETTINGS_PERMISSIONS_DELETE_TITLE,body:X.default.Messages.SETTINGS_PERMISSIONS_DELETE_BODY.format({name:n}),cancelText:X.default.Messages.CANCEL,onConfirm:function(){return function(e,n){if(t.isGuildStageVoice()){var r=(0,v.removeModeratorOverwrite)(e,n===W.RowType.ROLE?p.PermissionOverwriteType.ROLE:p.PermissionOverwriteType.MEMBER,t);(0,v.isEmptyOverwrite)(r)?s.default.clearPermissionOverwrite(t.id,r.id):(0,f.savePermissionUpdates)(t.id,[r])}else s.default.clearPermissionOverwrite(t.id,e)}(e,r)}})}return re(x.default,{className:J.default.roleMemberList,sections:[n.length,r.length],renderRow:function(e){var t,l,u,s=e.section,f=e.row,p=!1;switch(s){case W.AddMembersSections.ROLES:u=n[f],l=a.createElement(a.Fragment,null,re("div",{className:J.default.rowHeight},void 0,re(j.default,{color:u.colorString,height:20})),re(H.default,{className:J.default.rowLabel,color:u.disabled?H.default.Colors.MUTED:H.default.Colors.STANDARD},void 0,u.name)),p=u.disabled;break;case W.AddMembersSections.MEMBERS:u=r[f],l=a.createElement(a.Fragment,null,re(B.default,{src:u.avatarURL,size:B.default.Sizes.SIZE_24,"aria-label":u.name}),re(H.default,{className:J.default.rowLabel},void 0,u.name),u.bot&&re(T.default,{verified:u.verifiedBot,className:J.default.rowBotTag}),!c&&re(H.default,{color:H.default.Colors.MUTED,className:J.default.rowLabelSubText},void 0,u.userTag)),p=u.disabled;break;default:u=null}return null!=u?re(M.default,{justify:M.default.Justify.BETWEEN,align:M.default.Align.CENTER,className:J.default.memberRow},u.id,re(M.default,{justify:M.default.Justify.START,align:M.default.Align.CENTER,className:J.default.memberRowBody},void 0,l),re(H.default,{color:H.default.Colors.MUTED,size:H.default.Sizes.SIZE_12},void 0,Y.getRowTypeLabel(u.rowType)),u.rowType!==W.RowType.EMPTY_STATE&&re(A.TooltipContainer,{className:J.default.removeIconContainer,text:null!=i?i:d(u.rowType,u.disabled)},void 0,re(b.default,{onClick:function(){return!p&&null==i&&null!=u&&u.id&&y(u.id,u.name,u.rowType)}},void 0,re(D.default,{className:(0,o.default)(J.default.removeIcon,(t={},t[J.default.disabledRemoveIcon]=p||i,t))})))):null},rowHeight:40,renderSection:function(e){switch(e.section){case W.AddMembersSections.ROLES:return re(le,{title:X.default.Messages.ROLES},"roles-title");case W.AddMembersSections.MEMBERS:return re(le,{title:X.default.Messages.MEMBERS},"members-title")}},sectionHeight:49})}function oe(e){var t=e.guild,n=e.channel,r=e.permissionUpdates,i=Y.getExistingRolesRowWithPermissionDisabled(t,n,y.MODERATE_STAGE_CHANNEL_PERMISSIONS,r),u=(0,l.useStateFromStores)([E.default],(function(){return Y.getExistingMembersRows(E.default.getMemberIds(t.id),n,t,y.MODERATE_STAGE_CHANNEL_PERMISSIONS,r)})),s=(0,v.useCanUpdateStageChannelModerators)(n.id);function d(){(0,F.openModal)((function(e){return a.createElement(_.default,ne({},e,{channelId:n.id}))}))}return re("div",{className:(0,o.default)(J.default.settingCard,J.default.active)},void 0,re($.default,{label:X.default.Messages.CHANNEL_PERMISSIONS_MODERATOR_TITLE,description:X.default.Messages.CHANNEL_PERMISSIONS_MODERATOR_DESCRIPTION,icon:re(k.default,{className:J.default.cardIcon,height:20,width:20}),id:"StageModeratorSettingCard"}),re("div",{className:J.default.cardFolder},void 0,re(M.default,{justify:M.default.Justify.BETWEEN,align:M.default.Align.CENTER,className:J.default.folderHeader},void 0,re(L.default,{tag:L.default.Tags.H5,className:J.default.folderTitle},void 0,X.default.Messages.CHANNEL_PERMISSIONS_MODERATOR_LABEL),re(A.default,{text:X.default.Messages.CHANNEL_PERMISSIONS_NOT_MODERATOR,shouldShow:!s},void 0,(function(e){return a.createElement(C.default,ne({},e,{size:C.default.Sizes.SMALL,color:C.default.Colors.BRAND,onClick:d,disabled:!s}),X.default.Messages.CHANNEL_PERMISSIONS_ADD_MEMBERS_TITLE)}))),re(ae,{channel:n,roles:i,members:u,disabledReason:s?null:X.default.Messages.CHANNEL_PERMISSIONS_NOT_MODERATOR,getRemoveTooltipHint:m.getRemoveModeratorTooltipHint})))}function ie(e){var t,n=e.guild,r=e.channel,u=e.isPrivateGuildChannel,s=e.roles,d=e.members,f=(0,l.useStateFromStores)([S.default],(function(){return S.default.can(i.Permissions.ADMINISTRATOR,n)})),c=V.default.canEveryoneRole(i.Permissions.VIEW_CHANNEL,n),p=V.default.canEveryoneRole(i.Permissions.ADMINISTRATOR,n);var v={title:X.default.Messages.PRIVATE_CHANNEL,subtitle:X.default.Messages.CHANNEL_PERMISSIONS_PRIVATE_CHANNEL_DESCRIPTION,formLabel:X.default.Messages.FORM_LABEL_CHANNEL_PERMISSIONS};return r.isCategory()?(v.title=X.default.Messages.PRIVATE_CATEGORY,v.subtitle=X.default.Messages.CHANNEL_PERMISSIONS_PRIVATE_CATEGORY_DESCRIPTION,v.formLabel=X.default.Messages.FORM_LABEL_CATEGORY_PERMISSIONS):r.type===q.ChannelTypes.GUILD_VOICE&&(v.subtitle=X.default.Messages.CHANNEL_PERMISSIONS_PRIVATE_CHANNEL_DESCRIPTION_VOICE),re("div",{className:(0,o.default)(J.default.settingCard,(t={},t[J.default.active]=u,t))},void 0,re($.default,{description:v.subtitle,icon:re(w.default,{className:J.default.cardIcon,height:20,width:20}),id:"PrivateChannelSettingCard",label:v.title,onChange:function(){var e=r.accessPermissions;if(Y.toggleChannelEveryonePermission(r,e,u),!u){var t=I.default.getCurrentUser();(null==n?void 0:n.isOwner(t))||f||Y.grantUserChannelAccess(r,e)}},value:u}),re("div",{className:J.default.cardFolder},void 0,p&&re("div",{className:J.default.adminWarning},void 0,re(N.default,{messageType:N.HelpMessageTypes.WARNING},void 0,X.default.Messages.CHANNEL_PERMISSIONS_EVERYONE_IS_ADMIN_WARNING)),!c&&!p&&!u&&re("div",{className:J.default.adminWarning},void 0,re(N.default,{messageType:N.HelpMessageTypes.WARNING},void 0,X.default.Messages.CHANNEL_PERMISSIONS_EVERYONE_CAN_NOT_VIEW_WARNING)),u&&a.createElement(a.Fragment,null,re(M.default,{justify:M.default.Justify.BETWEEN,align:M.default.Align.CENTER,className:J.default.folderHeader},void 0,re(L.default,{tag:L.default.Tags.H5,className:J.default.folderTitle},void 0,v.formLabel),re(C.default,{size:C.default.Sizes.SMALL,color:C.default.Colors.BRAND,onClick:function(){(0,F.openModal)((function(e){return a.createElement(z.default,ne({},e,{channelId:r.id,inSettings:!0}))}))}},void 0,X.default.Messages.CHANNEL_PERMISSIONS_ADD_MEMBERS_TITLE)),re(ae,{channel:r,roles:s,members:d,getRemoveTooltipHint:Y.getRemoveTooltipHint}))))}function le(e){var t=e.title;return re("div",{},void 0,re(P.FormDivider,{className:J.default.divider}),re(L.default,{className:(0,o.default)(J.default.folderTitle,J.default.sectionTitle),tag:L.default.Tags.H5},void 0,t))}ae.displayName="RolesMembersList",oe.displayName="StageModeratorSettingCard",ie.displayName="PrivateChannelSettingCard",le.displayName="SectionTitle";var ue=re(K.default,{});var se=l.default.connectStores([h.default,S.default,E.default,g.default],(function(){var e,t=h.default.channel,n=h.default.category,r=[],a=[],o={},l=!1;if(null!=t){var u;e=g.default.getGuild(t.getGuildId());var s=E.default.getMemberIds(null===(u=e)||void 0===u?void 0:u.id);null!=e&&(o=h.default.editedPermissionIds.reduce((function(e,t){var n=h.default.getPermissionOverwrite(t);return null!=n&&(e[t]=n),e}),{}),r=Y.getExistingRolesRows(e,t,t.viewPermission,o),a=Y.getExistingMembersRows(s,t,e,t.viewPermission,o),l=Y.isPrivateGuildChannel(t,o))}return{canSyncChannel:null!=n&&S.default.can(i.Permissions.MANAGE_ROLES,n),category:n,channel:t,filteredMembers:a,filteredRoles:r,guild:e,isPrivateGuildChannel:l,locked:h.default.locked,permissionUpdates:o}}))((function(e){var t=e.canSyncChannel,n=e.category,r=e.channel,o=e.filteredMembers,l=e.filteredRoles,u=e.guild,s=e.isPrivateGuildChannel,f=e.locked,p=e.permissionUpdates,v=a.useState(!V.default.canEveryoneRole(i.Permissions.SEND_MESSAGES,r));if(v[0],v[1],null==r||null==u)return null;function y(){null!=n&&(0,F.openModal)((function(e){return a.createElement(c.default,ne({},e,{channel:r,category:n,onConfirm:function(){var e=n.guild_id,t=ne({},n.permissionOverwrites);null!=e&&null==t[e]&&(t[e]=V.default.makeEveryoneOverwrite(e)),(0,d.saveChannel)(r.id,{permissionOverwrites:Object.values(t)})}}))}))}var m={title:X.default.Messages.CHANNEL_PERMISSIONS,subtitle:X.default.Messages.CHANNEL_PERMISSIONS_SUBTITLE};return r.isCategory()&&(m.title=X.default.Messages.CATEGORY_SETTINGS,m.subtitle=X.default.Messages.CATEGORY_PERMISSIONS_SUBTITLE),a.createElement(a.Fragment,null,re(L.default,{tag:L.default.Tags.H1},void 0,m.title),re(R.default,{},void 0,m.subtitle),null!=n&&t?re(Z.default,f?{canSync:!1,icon:U.default,noticeText:X.default.Messages.CHANNEL_LOCKED_TO_CATEGORY.format({categoryName:n.name})}:{buttonText:X.default.Messages.SYNC_NOW,canSync:!0,icon:G.default,noticeText:X.default.Messages.PERMISSIONS_UNSYNCED.format({categoryName:n.name}),onClick:y}):null,r.isGuildStageVoice()?re(oe,{guild:u,channel:r,permissionUpdates:p}):null,re(ie,{channel:r,guild:u,isPrivateGuildChannel:s,roles:l,members:o}),!1,ue)}));t.default=se},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var i=o("polygon",{points:"0 0 18 0 18 18 0 18"});function l(e){var t=e.width,n=void 0===t?18:t,r=e.height,a=void 0===r?18:r,l=e.color,u=void 0===l?"currentColor":l,s=e.foreground,d=e.background;return o("svg",{width:n,height:a,className:e.className,viewBox:"0 0 18 18"},void 0,o("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},void 0,i,o("path",{d:"M2.25,9 C2.25,10.6575 2.9325,12.15 4.02,13.23 L2.25,15 L6.75,15 L6.75,10.5 L5.07,12.18 C4.26,11.3625 3.75,10.245 3.75,9 C3.75,7.0425 5.0025,5.3775 6.75,4.7625 L6.75,3.195 C4.1625,3.8625 2.25,6.2025 2.25,9 Z M15.75,3 L11.25,3 L11.25,7.5 L12.93,5.82 C13.74,6.6375 14.25,7.755 14.25,9 C14.25,10.9575 12.9975,12.6225 11.25,13.2375 L11.25,14.805 C13.8375,14.1375 15.75,11.7975 15.75,9 C15.75,7.3425 15.0675,5.85 13.98,4.77 L15.75,3 Z",fillOpacity:"0.3",fill:u,fillRule:"nonzero",className:d}),o("path",{d:"M8.25,12.75 L8.25,11.25 L9.75,11.25 L9.75,12.75 L8.25,12.75 Z M8.25,9.75 L8.25,5.25 L9.75,5.25 L9.75,9.75 L8.25,9.75 Z",fill:u,className:s})))}l.displayName="Unsynced"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.useStateFromStores)([s.default],(function(){return s.default.advancedMode})),t=a.useState(e?new o.default.Value(1):new o.default.Value(0))[0];return a.createElement(a.Fragment,null,h(f.FormDivider,{className:y.default.advancedModeDivider}),h(d.default,{look:d.default.Looks.BLANK,color:d.default.Colors.TRANSPARENT,onClick:function(){e?o.default.timing(t,{toValue:0,duration:250}).start((function(){(0,l.setAdvancedMode)(!1)})):((0,l.setAdvancedMode)(!0),o.default.timing(t,{toValue:1,duration:250}).start())}},void 0,h(c.default,{tag:c.default.Tags.H1,className:y.default.advancedTitle},void 0,v.default.Messages.CHANNEL_PERMISSIONS_ADVANCED_PERMISSIONS,h(p.default,{expanded:e,className:y.default.titleCaret,width:20,height:20}))),e&&h(o.default.div,{style:{opacity:t}},void 0,E))};var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(273)),i=n(3),l=n(8481),u=m(n(10492)),s=m(n(9247)),d=m(n(29)),f=n(131),c=m(n(159)),p=m(n(683)),v=m(n(6)),y=m(n(8201));function m(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var E=h(u.default,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=_(n(9)),i=_(n(3)),l=_(n(105)),u=_(n(61)),s=_(n(282)),d=_(n(278)),f=_(n(1210)),c=n(393),p=_(n(264)),v=n(1),y=_(n(6)),m=_(n(8197));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function S(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e){switch(e){case d.default.Positions.BOTTOM:return m.default.positionBottom;default:return m.default.positionTop}}var C=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).inputRef=a.createRef(),t.state={query:null,selectedSection:null,selectedRow:0},t.memoizedGetRows=(0,c.cachedFunction)((function(e,t,n){var r=new RegExp("^"+p.default.escape(null!=e?e.trim():""),"i"),a=function(e){return r.test(e)};return n.map((function(e,n){return t(a,n)}))})),t.getRows=function(){var e=t.props,n=e.onFilterResults,r=e.sections,a=t.state.query;return t.memoizedGetRows(a,n,r)},t.handleChange=function(e){var n=e.target.value;t.props.onQueryChange&&t.props.onQueryChange(n),t.setState({query:n,selectedSection:null,selectedRow:0})},t.handleMouseEnter=function(e,n){t.setState({selectedSection:e,selectedRow:n})},t.handleClick=function(e,n){var r=t.getRows();t.props.onSelect(r[e][n],e),t.props.onClose()},t.handleKeyDown=function(e){var n=t.props.keyboardModeEnabled,r=t.state.selectedRow,a=t.getRows(),o=t.getSelectedSection(a);switch(e.keyCode){case v.KeyboardKeys.TAB:if(n)break;case v.KeyboardKeys.ARROW_DOWN:e.preventDefault(),t.props.sections.length>o&&++r>=a[o].length&&(++o>=t.props.sections.length&&(o=0),r=0),t.setState({selectedSection:o,selectedRow:r});break;case v.KeyboardKeys.ARROW_UP:e.preventDefault(),--r<0&&(--o<0&&(o=t.props.sections.length-1),r=a[o].length-1),t.setState({selectedSection:o,selectedRow:r});break;case v.KeyboardKeys.ENTER:e.preventDefault(),t.props.sections.length>o&&a[o].length>r&&(t.props.onSelect(a[o][r],o),t.props.onClose());break;case v.KeyboardKeys.ESCAPE:e.preventDefault(),t.props.onSelect(null,null),t.props.onClose()}},t.isEmpty=function(){return 0===t.getRows().reduce((function(e,t){return e+t.length}),0)},t.getSectionHeight=function(e){var n=t.props.sections[e];return t.isEmpty()||null==n?0:44},t.renderSection=function(e){var n=e.section,r=t.props.sections[n];return t.isEmpty()||null==r?null:S("div",{className:m.default.section},n,r)},t.renderRow=function(e){var n,r,a=e.section,i=e.row,l=t.state.selectedRow;if(t.isEmpty())return S("div",{className:m.default.empty},"empty",S("h4",{className:m.default.noResultsHeader},void 0,y.default.Messages.AUTOCOMPLETE_NO_RESULTS_HEADER),S("p",{},void 0,y.default.Messages.AUTOCOMPLETE_NO_RESULTS_BODY));var s=t.getRows(),d=t.getSelectedSection(s),f=null===(n=s[a])||void 0===n?void 0:n[i];return S(u.default,{onClick:t.handleClick.bind(O(t),a,i),onMouseEnter:t.handleMouseEnter.bind(O(t),a,i),className:(0,o.default)(m.default.row,(r={},r[m.default.selected]=d===a&&l===i,r))},a+"-"+i,S("div",{className:m.default.rowInner},void 0,t.props.onRenderResult(f,a)))},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,I(t,n);var i=r.prototype;return i.getSelectedSection=function(e){var t=this.state.selectedSection;if(null!=t)return t;for(var n=0;n<e.length;n++)if(e[n].length>0)return n;return 0},i.componentDidMount=function(){this.focus()},i.render=function(){var e=this.props.position,t=this.getRows(),n=[];if(this.isEmpty())n.push(1);else for(var r,i=E(t);!(r=i()).done;){var l=r.value;n.push(l.length)}return S(s.default,{className:(0,o.default)(m.default.container,T(e)),"aria-label":this.props["aria-label"]},void 0,S("div",{className:m.default.autocompleteShadow}),S("div",{className:m.default.autocompleteArrowWrapper},void 0,S("div",{className:m.default.autocompleteArrow})),S("header",{className:m.default.header},void 0,S("div",{className:m.default.autocompleteHeaderBackground}),S("h3",{className:m.default.headerText},void 0,this.props.label),a.createElement("input",{type:"text",className:m.default.input,placeholder:this.props.placeholder,ref:this.inputRef,onChange:this.handleChange,onKeyDown:this.handleKeyDown})),S("section",{className:m.default.sectionTag},void 0,S(f.default,{className:m.default.autocompleteScroller,fade:!0,sections:n,sectionHeight:this.getSectionHeight,rowHeight:40,renderRow:this.renderRow,renderSection:this.renderSection})))},i.focus=function(){null!=this.inputRef.current&&this.inputRef.current.focus()},r}(a.Component);C.displayName="AutocompletePopout",C.defaultProps={sections:[null]};var b=i.default.connectStores([l.default],(function(){return{keyboardModeEnabled:l.default.keyboardModeEnabled}}))(C);t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=T;var r,a=E(n(0)),o=_(n(9)),i=n(389),l=_(n(8502)),u=E(n(8576)),s=_(n(61)),d=_(n(55)),f=_(n(11720)),c=n(8293),p=_(n(149)),v=_(n(8331)),y=n(1),m=_(n(8199));function _(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function E(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function g(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(){return(S=Object.assign||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}).apply(this,arguments)}var O=g(v.default,{width:20,height:20});function I(e){var t,n=e.role,r=e.guild,l=a.useState(!1),d=l[0],f=l[1];if(!(0,u.useHasGuildRoleItems)(r,n))return null;return g(s.default,{onClick:function(e){f(!0),(0,i.openContextMenu)(e,(function(e){return a.createElement(u.default,S({},e,{role:n,guild:r}))}),{onClose:function(){return f(!1)}})},className:(0,o.default)(m.default.roleOverflow,(t={},t[m.default.open]=d,t))},void 0,O)}function T(e){var t=e.color,r=e.id,o=e.role,u=e.guild,s=e.children,v=e.isDragging,_=e.selectedItem,h=e.onItemSelect,E=e.itemType,O=e.locked,T=e.lockTooltip,C=e.showContextMenu,b=e.theme,M=a.useCallback((function(e){(0,i.openContextMenu)(e,(function(e){return a.createElement(l.default,S({},e,{id:r}))}))}),[r]);return v?g("div",{className:m.default.dragged}):g(c.Item,{className:m.default.role,id:r,color:t||void 0,selectedItem:_,onItemSelect:h,itemType:E,"aria-label":null!=T?s+", "+T:s},void 0,g(d.default,{align:d.default.Align.CENTER},void 0,function(){if(!O)return null;var e=b===y.ThemeTypes.DARK?n(11721):n(11722);return g(d.default,{shrink:0,grow:0,align:d.default.Align.CENTER,style:{marginRight:0}},void 0,g(p.default,{text:T,color:p.default.Colors.RED},void 0,(function(t){return a.createElement(f.default,S({className:m.default.lock,src:e},t))})))}(),g(d.default.Child,{className:m.default.roleInner,onContextMenu:M},void 0,s),C&&null!=o?g(I,{guild:u,role:o}):null))}I.displayName="GuildRoleOverflowIcon",T.displayName="GuildRole"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=l(n(9)),o=n(252),i=l(n(8198));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f={XSMALL:i.default.xsmall,SMALL:i.default.small,MEDIUM:i.default.medium,LARGE:i.default.large},c="default",p="static",v=function(e){var t,n;function l(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={hovered:!1},t.getMode=function(){return null!=t.props.srcHover?p:c},t.handleHover=function(e){var n=t.props.onMouseEnter;n&&n(e),t.state.hovered||t.setState({hovered:!0})},t.handleBlur=function(e){var n=t.props.onMouseLeave;n&&n(e),t.state.hovered&&t.setState({hovered:!1})},t}return n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n),l.prototype.render=function(){var e=this.props,t=e.size,n=e.src,l=e.srcHover,u=e.className,d=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["size","src","srcHover","className"]),f={backgroundImage:"url('"+(this.state.hovered&&l?l:n)+"')"},c=this.getMode();return r.createElement("button",s({className:(0,a.default)((0,o.getClass)(i.default,"iconButton",c),u,t),style:f,onMouseEnter:this.handleHover,onFocus:this.handleHover,onMouseLeave:this.handleBlur,onBlur:this.handleBlur},d))},l}(r.PureComponent);v.displayName="IconButton",v.Sizes=f,v.defaultProps={size:f.MEDIUM,disabled:!1};var y=v;t.default=y},function(e,t,n){e.exports=n.p+"959a1978f7be567071a1354a98b46ecd.svg"},function(e,t,n){e.exports=n.p+"89c5bd0afd63d925ba6a8fcd18eeb530.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showPermissionLockoutModal=function(e){r.default.show({title:i.default.Messages.SELF_DENY_PERMISSION_TITLE,body:i.default.Messages.SELF_DENY_PERMISSION_BODY.format({name:e}),cancelText:i.default.Messages.HELP_DESK,onCancel:function(){window.open(a.default.getArticleURL(o.HelpdeskArticles.PERMISSIONS_LOCKOUT))}})};var r=l(n(154)),a=l(n(93)),o=n(1),i=l(n(6));function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){e.exports=n.p+"cef02719c12d8aaf38894c16dca7fbe6.svg"},function(e,t,n){e.exports=n.p+"808132e382c228d8fc8c7f9111b9abf7.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=u(n(55)),o=u(n(8522)),i=u(n(24)),l=u(n(8202));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t=e.description,n=e.icon,r=e.id,u=e.label,s=e.onChange,f=e.value;return d("div",{className:l.default.cardContent},void 0,d(a.default,{justify:a.default.Justify.BETWEEN,align:a.default.Align.CENTER},void 0,n,d(a.default.Child,{grow:1},void 0,d(i.default,{size:i.default.Sizes.SIZE_16,className:l.default.cardTitle},void 0,u)),null!=s&&null!=f?d(o.default,{id:r,checked:f,onChange:s}):null),d(i.default,{size:i.default.Sizes.SIZE_12,color:i.default.Colors.STANDARD,className:l.default.cardDescription},void 0,t))}f.displayName="PermissionSettingCard"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=d(n(29)),o=d(n(467)),i=d(n(55)),l=d(n(24)),u=n(1),s=d(n(8203));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var p=function(e){var t=e.icon,n=e.noticeText,r=e.buttonText,d=e.onClick,f=e.canSync;return c(o.default,{className:s.default.card},void 0,c(i.default,{justify:i.default.Justify.BETWEEN,align:i.default.Align.CENTER},void 0,c(t,{width:20,height:20,color:u.Colors.STATUS_YELLOW}),c("div",{className:s.default.label},void 0,c(l.default,{size:l.default.Sizes.SIZE_16},void 0,n)),f&&c(a.default,{size:a.default.Sizes.SMALL,color:a.default.Colors.GREY,onClick:d},void 0,r)))};p.displayName="SyncStatusCard";var v=p;t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y,t.ChannelSettingsIntegrationsNotice=m;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n)}(n(0));var r,a=n(3),o=c(n(8317)),i=c(n(8292)),l=c(n(9177)),u=c(n(10493)),s=c(n(8711)),d=c(n(15)),f=c(n(39));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e){var t=e.refToScroller,n=(0,a.useStateFromStores)([s.default],(function(){return s.default.getProps()}),[]).channel,r=(0,a.useStateFromStores)([d.default],(function(){return null!=n?d.default.getGuild(n.getGuildId()):null}),[n]),o=(0,a.useStateFromStores)([u.default],(function(){return u.default.getProps()}),[]),i=o.section,f=o.webhooks,c=o.editedWebhook,p=o.isFetching,y=o.errors;return null==r||null==n?null:v(l.default,{guild:r,channel:n,section:i,webhooks:f,editedWebhook:c,isFetching:p,hasChanges:u.default.hasChanges,errors:y,refToScroller:t})}function m(){var e=(0,a.useStateFromStores)([s.default],(function(){return s.default.getProps()})),t=e.channel,n=e.submitting,r=(0,a.useStateFromStores)([d.default],(function(){return null!=t?d.default.getGuild(t.getGuildId()):null}),[t]),l=(0,a.useStateFromStores)([f.default],(function(){return f.default.theme}));return v(i.default,{theme:l,submitting:n,onReset:function(){o.default.init()},onSave:function(){null!=r&&null!=u.default.editedWebhook&&o.default.saveWebhook(r.id,u.default.editedWebhook)}})}y.displayName="ChannelSettingsIntegrations",m.displayName="ChannelSettingsIntegrationsNotice"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(3)),a=f(n(9178)),o=f(n(8711)),i=f(n(15)),l=f(n(40)),u=f(n(160)),s=f(n(39)),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||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}).apply(this,arguments)}var p=r.default.connectStores([o.default,s.default,u.default,i.default,l.default],(function(){var e=o.default.getProps().channel;return c({channel:e,guild:null!=e?i.default.getGuild(e.getGuildId()):null,theme:s.default.theme,hide:u.default.hideInstantInvites,canCreateInvites:null!=e&&l.default.can(d.Permissions.CREATE_INSTANT_INVITE,e)},o.default.getInvites())}))(a.default);t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=W,t.ChannelSettingsOverviewNotice=void 0;var r,a=F(n(0)),o=U(n(9)),i=F(n(3)),l=n(8330),u=U(n(8664)),s=U(n(8292)),d=U(n(1331)),f=U(n(185)),c=U(n(180)),p=n(8566),v=n(392),y=n(1209),m=U(n(10453)),_=n(31),h=U(n(8711)),E=U(n(15)),g=U(n(40)),S=U(n(8665)),O=U(n(39)),I=U(n(55)),T=U(n(1162)),C=U(n(1159)),b=U(n(8360)),M=U(n(8267)),N=U(n(8272)),A=U(n(153)),P=n(131),R=n(292),L=U(n(93)),D=n(11731),w=n(1),j=U(n(6)),k=U(n(370));function U(e){return e&&e.__esModule?e:{default:e}}function G(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return G=function(){return e},e}function F(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=G();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function B(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function H(e,t){return(H=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var x=i.default.connectStores([h.default],(function(){var e=h.default.getProps(),t=e.channel,n=e.submitting;return{channel:t,submitting:n,onReset:function(){null!=t&&(0,l.init)(t.id)},onSave:function(){if(null!=t){var e=t.name,n=t.type,r=t.topic,a=t.bitrate,o=t.userLimit,i=t.nsfw,u=t.rateLimitPerUser,s=t.threadMetadata,d=t.defaultAutoArchiveDuration,f=t.rtcRegion,c=t.videoQualityMode;t.isThread()&&(e=(0,m.default)(e,!0)),(0,l.saveChannel)(t.id,{name:e,type:n,topic:r,bitrate:a,userLimit:o,nsfw:i,rateLimitPerUser:u,autoArchiveDuration:null==s?void 0:s.autoArchiveDuration,defaultAutoArchiveDuration:d,rtcRegion:f,videoQualityMode:c})}}}}))(s.default);t.ChannelSettingsOverviewNotice=x;var V=function(e){var t,r;function a(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handleChangeName=function(e){var n=t.props.channel;null!=n&&(n.isThread()?e=(0,m.default)(e,!1):(0,_.isGuildTextChannelType)(n.type)&&(e=(0,R.sanitizeGuildTextChannelName)(e)),(0,l.updateChannel)({name:e}))},t.handleBlurName=function(){var e=t.props,n=e.channel,r=e.channelName;if((null==n?void 0:n.isThread())&&null!=r){var a=(0,m.default)(r,!0);a!==r&&(0,l.updateChannel)({name:a})}},t.handleChangeTopic=function(e){(0,l.updateChannel)({topic:f.default.translateInlineEmojiToSurrogates(e)})},t.handleChangeBitrate=function(e){(0,l.updateChannel)({bitrate:1e3*Math.round(e/1e3)})},t.handleUserLimitChange=function(e){(0,l.updateChannel)({userLimit:Math.round(e)})},t.handleNSFWChange=function(e){(0,l.updateChannel)({nsfw:e})},t.handleNewsChange=function(e){(0,l.updateChannel)({type:e?w.ChannelTypes.GUILD_ANNOUNCEMENT:w.ChannelTypes.GUILD_TEXT})},t.handleChangeSlowmode=function(e){(0,l.updateChannel)({rateLimitPerUser:e})},t.handleChangeDefaultAutoArchiveDuration=function(e){(0,l.updateChannel)({defaultAutoArchiveDuration:e})},t.handleRegionChange=function(e){var t=e.value;(0,l.updateChannel)({rtcRegion:"AUTOMATIC_RTC_REGION"===t?null:t})},t.handleVideoQualityModeChange=function(e){(0,l.updateChannel)({videoQualityMode:e})},t.handleAutoArchiveDurationChanged=function(e){(0,l.updateChannel)({autoArchiveDuration:e})},t}r=e,(t=a).prototype=Object.create(r.prototype),t.prototype.constructor=t,H(t,r);var i=a.prototype;return i.componentDidMount=function(){null==this.props.regions&&null!=this.props.guild&&u.default.fetchRegions(this.props.guild.id)},i.getError=function(e){var t=this.props.errors;return t&&t[e]?t[e]:""},i.getCooldownSliderMarker=function(e){return(0,D.getSecondsSliderLabel)(e,!0)},i.getAutoArchiveDurationSliderMarker=function(e){return(0,D.getSecondsSliderLabel)(e*w.Durations.MINUTE,!0)},i.renderChannelInfo=function(e,t){var n,r,a,i=this.props,l=i.canSeeThreads,u=i.canManageChannels,s=i.isThreadModerator,d=i.guild,c=_.THREAD_CHANNEL_TYPES.has(e.type),y=(0,_.isGuildTextChannelType)(e.type)&&!c?B("div",{},void 0,B(P.FormItem,{title:j.default.Messages.FORM_LABEL_CHANNEL_TOPIC,className:k.default.marginTop20},void 0,B(N.default,{placeholder:j.default.Messages.CHANNEL_TOPIC_EMPTY,value:f.default.translateSurrogatesToInlineEmoji(e.topic),onChange:this.handleChangeTopic,error:this.getError("topic"),maxLength:1024,disabled:!u,autosize:!0})),B(P.FormDivider,{className:(0,o.default)(k.default.marginTop40,k.default.marginBottom40)})):null,m=c?s:u,h=e.type===w.ChannelTypes.GUILD_TEXT||c?B("div",{},void 0,B(P.FormItem,{title:j.default.Messages.FORM_LABEL_SLOWMODE},void 0,B(b.default,{className:k.default.marginTop20,initialValue:e.rateLimitPerUser,markers:w.SLOWMODE_VALUES,stickToMarkers:!0,onValueChange:this.handleChangeSlowmode,onMarkerRender:this.getCooldownSliderMarker,disabled:!m,equidistant:!0}),B(P.FormText,{type:P.FormText.Types.DESCRIPTION},void 0,j.default.Messages.FORM_HELP_SLOWMODE)),B(P.FormDivider,{className:(0,o.default)(k.default.marginTop40,k.default.marginBottom40)})):null,E=c?B("div",{},void 0,B(P.FormItem,{title:j.default.Messages.FORM_THREAD_AUTO_ARCHIVE_SECTION_LABEL},void 0,B(b.default,{className:k.default.marginTop20,initialValue:null!==(n=null===(r=e.threadMetadata)||void 0===r?void 0:r.autoArchiveDuration)&&void 0!==n?n:v.DEFAULT_AUTO_ARCHIVE_DURATION,markers:(0,p.getAutoArchiveDurations)(d),stickToMarkers:!0,onValueChange:this.handleAutoArchiveDurationChanged,onMarkerRender:this.getAutoArchiveDurationSliderMarker,disabled:!u,equidistant:!0})),B(P.FormText,{type:P.FormText.Types.DESCRIPTION},void 0,j.default.Messages.FORM_HELP_AUTO_ARCHIVE_DURATION),B(P.FormDivider,{className:(0,o.default)(k.default.marginTop40,k.default.marginBottom40)})):null,g=(0,_.isGuildTextChannelType)(e.type)&&!c?B("div",{},void 0,B(M.default,{note:j.default.Messages.FORM_HELP_NSFW,onChange:this.handleNSFWChange,value:e.isNSFW(),hideBorder:!0,disabled:!u},void 0,j.default.Messages.FORM_LABEL_NSFW_CHANNEL)):null,S=(0,_.isGuildTextChannelType)(e.type)&&!c&&null!=d&&d.hasFeature(w.GuildFeatures.NEWS)&&e.id!==(null==d?void 0:d.rulesChannelId)&&e.id!==(null==d?void 0:d.publicUpdatesChannelId)?B("div",{},void 0,B(M.default,{note:j.default.Messages.FORM_HELP_NEWS.format({documentationLink:L.default.getArticleURL(w.HelpdeskArticles.ANNOUNCEMENT_CHANNELS)}),onChange:this.handleNewsChange,value:e.type===w.ChannelTypes.GUILD_ANNOUNCEMENT,hideBorder:!0,disabled:!u},void 0,j.default.Messages.FORM_LABEL_NEWS_CHANNEL)):null,O=l&&_.THREADED_CHANNEL_TYPES.has(e.type)?B("div",{},void 0,B(P.FormDivider,{className:(0,o.default)(k.default.marginTop40,k.default.marginBottom40)}),B(P.FormItem,{title:j.default.Messages.FORM_THREAD_AUTO_ARCHIVE_SECTION_LABEL},void 0,B(b.default,{className:k.default.marginTop20,initialValue:(0,p.getAutoArchiveDuration)(e,d,null),markers:(0,p.getAutoArchiveDurations)(d),stickToMarkers:!0,onValueChange:this.handleChangeDefaultAutoArchiveDuration,onMarkerRender:this.getAutoArchiveDurationSliderMarker,disabled:!u,equidistant:!0}),B(P.FormText,{type:P.FormText.Types.DESCRIPTION},void 0,j.default.Messages.FORM_HELP_DEFAULT_AUTO_ARCHIVE_DURATION))):null;return a=e.type===w.ChannelTypes.GUILD_CATEGORY?j.default.Messages.CATEGORY_NAME:c?j.default.Messages.THREAD_NAME:j.default.Messages.FORM_LABEL_CHANNEL_NAME,B("div",{},void 0,B(P.FormItem,{title:a},void 0,B(A.default,{value:t,onChange:this.handleChangeName,onBlur:this.handleBlurName,error:this.getError("name"),autoFocus:!0,disabled:!u,maxLength:w.MAX_CHANNEL_NAME_LENGTH})),c?B(P.FormDivider,{className:(0,o.default)(k.default.marginTop40,k.default.marginBottom40)}):null,y,h,E,g,S,O)},i.renderBitrate=function(e){return Math.round(e/1e3)+"kbps"},i.renderVoiceBitrate=function(e,t){var n=this.props.canManageChannels;if(!e.isVocal())return null;var r=(0,R.getBitrateLimit)(t,e);return B(I.default,{direction:I.default.Direction.VERTICAL,className:k.default.marginBottom40},void 0,B(P.FormTitle,{},void 0,j.default.Messages.FORM_LABEL_BITRATE),B(P.FormText,{type:P.FormTextTypes.DESCRIPTION,style:{color:w.Colors.STATUS_RED},className:k.default.marginBottom8},void 0,this.getError("bitrate")),B(b.default,{initialValue:Math.min(e.bitrate,r),onValueChange:this.handleChangeBitrate,onValueRender:this.renderBitrate,onMarkerRender:this.renderBitrate,markers:[w.BITRATE_MIN,w.BITRATE_DEFAULT,r],minValue:w.BITRATE_MIN,maxValue:r,keyboardStep:w.BITRATE_STEP,disabled:!n}),r>w.BITRATE_DEFAULT?B(P.FormText,{type:P.FormTextTypes.DESCRIPTION},void 0,j.default.Messages.FORM_HELP_BITRATE.format({bitrate:w.BITRATE_DEFAULT/1e3})):null)},i.renderVideoQualityMode=function(e){var t,n=this,r=this.props.canManageChannels;if(!e.isGuildVoice())return null;var a=[{value:w.VideoQualityMode.AUTO,name:j.default.Messages.VIDEO_QUALITY_MODE_AUTO},{value:w.VideoQualityMode.FULL,name:j.default.Messages.VIDEO_QUALITY_MODE_FULL}];return B(I.default,{direction:I.default.Direction.VERTICAL,className:k.default.marginBottom40},void 0,B(P.FormItem,{title:j.default.Messages.FORM_LABEL_VIDEO_QUALITY},void 0,B(T.default,{onChange:function(e){var t=e.value;return n.handleVideoQualityModeChange(t)},options:a,value:null!==(t=e.videoQualityMode)&&void 0!==t?t:w.VideoQualityMode.AUTO,disabled:!r})),B(P.FormText,{type:P.FormTextTypes.DESCRIPTION},void 0,j.default.Messages.FORM_HELP_VIDEO_QUALITY_MODE.format()))},i.onRenderUserLimit=function(e){return 0===(e=Math.round(e))?j.default.Messages.NO_USER_LIMIT:j.default.Messages.NUM_USERS.format({num:e})},i.renderUserLimit=function(e){var t=this.props.canManageChannels;return e.isGuildVoice()?B(I.default,{direction:I.default.Direction.VERTICAL,className:k.default.marginBottom40},void 0,B(P.FormTitle,{},void 0,j.default.Messages.FORM_LABEL_USER_LIMIT),B(P.FormText,{type:P.FormTextTypes.DESCRIPTION,style:{color:w.Colors.STATUS_RED},className:k.default.marginBottom8},void 0,this.getError("user_limit")),B(b.default,{initialValue:Math.min(e.userLimit,w.MAX_VOICE_USER_LIMIT),onValueChange:this.handleUserLimitChange,onValueRender:this.onRenderUserLimit,onMarkerRender:function(e){return 0===Math.round(e)?"∞":e},markers:[0,w.MAX_VOICE_USER_LIMIT],minValue:0,maxValue:w.MAX_VOICE_USER_LIMIT,disabled:!t}),B(P.FormText,{type:P.FormTextTypes.DESCRIPTION},void 0,j.default.Messages.FORM_HELP_USER_LIMIT.format())):null},i.renderRegionOverride=function(e){var t=this.props,n=t.regions,r=t.canManageChannels,a=t.guild;if(!a)return null;if(!d.default.getCurrentConfig({guildId:a.id}).useGuildVoiceChannelLatencyRouting||!e.isVocal())return null;var o=[];n&&(o=n.filter((function(e){return!e.deprecated})).map((function(e){return{label:e.name,value:e.id}}))).unshift({label:j.default.Messages.AUTOMATIC_REGION,value:"AUTOMATIC_RTC_REGION"});var i=e.rtcRegion||"AUTOMATIC_RTC_REGION";return B(I.default,{direction:I.default.Direction.VERTICAL},void 0,B(P.FormTitle,{},void 0,j.default.Messages.FORM_LABEL_REGION_OVERRIDE),B(C.default,{options:o,value:i,onChange:this.handleRegionChange,disabled:!r}),B(P.FormText,{type:P.FormTextTypes.DESCRIPTION},void 0,j.default.Messages.FORM_HELP_REGION_OVERRIDE))},i.renderJuiceImage=function(e){var t,r=this.props.theme;return t=e.type===w.ChannelTypes.GUILD_CATEGORY?r===w.ThemeTypes.DARK?n(11732):n(11733):r===w.ThemeTypes.DARK?n(11734):n(11735),B(I.default,{justify:I.default.Justify.CENTER,className:k.default.marginTop60},void 0,B("img",{alt:"",width:280,height:165,src:t}))},i.render=function(){var e=this.props,t=e.channel,n=e.channelName,r=e.guild;return null==t||null==n||null==r?null:B(P.FormSection,{className:"channel-settings-overview",tag:P.FormTitleTags.H2,title:j.default.Messages.OVERVIEW},void 0,this.renderChannelInfo(t,n),t.isVocal()?B(P.FormDivider,{className:(0,o.default)(k.default.marginTop40,k.default.marginBottom40)}):null,this.renderVoiceBitrate(t,r),this.renderVideoQualityMode(t),this.renderUserLimit(t),this.renderRegionOverride(t),this.renderJuiceImage(t))},a}(a.PureComponent);function W(){var e=(0,i.useStateFromStores)([h.default],(function(){return h.default.getProps()})),t=e.errors,n=e.channel,r=e.submitting,a=(0,i.useStateFromStores)([S.default],(function(){var e;return S.default.getRegions(null!==(e=null==n?void 0:n.getGuildId())&&void 0!==e?e:null)})),o=(0,i.useStateFromStores)([O.default],(function(){return O.default.theme})),l=(0,i.useStateFromStores)([E.default],(function(){return E.default.getGuild(null==n?void 0:n.getGuildId())})),u=(0,y.useCanSeeThreadsInChannel)(n),s=(0,y.useCanManageThread)(n),d=(0,y.useIsThreadModerator)(n),f=(0,i.useStateFromStores)([g.default],(function(){return g.default.can(w.Permissions.MANAGE_CHANNELS,n)})),p=(0,c.default)(n);return B(V,{errors:t,channel:n,channelName:p,submitting:r,regions:a,theme:o,guild:l,canSeeThreads:u,canManageChannels:(null==n?void 0:n.isThread())?s:f,isThreadModerator:d})}V.displayName="ChannelSettingsOverview",W.displayName="ConnectedChannelSettingsOverview"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSecondsSliderLabel=function(e,t,n){void 0===t&&(t=!0);void 0===n&&(n=a.default.Messages.FORM_LABEL_OFF);var o=r.default.duration(e,"seconds");return o.days()>0?(t?a.default.Messages.DURATION_DAYS_SHORT:a.default.Messages.DURATION_DAYS).format({days:o.days()}):o.hours()>0?(t?a.default.Messages.DURATION_HOURS_SHORT:a.default.Messages.DURATION_HOURS).format({hours:o.hours()}):o.minutes()>0?(t?a.default.Messages.DURATION_MINUTES_SHORT:a.default.Messages.DURATION_MINUTES).format({minutes:o.minutes()}):e>0?(t?a.default.Messages.DURATION_SECONDS_SHORT:a.default.Messages.DURATION_SECONDS).format({seconds:o.seconds()}):t?a.default.Messages.FORM_LABEL_OFF:n};var r=o(n(5)),a=o(n(6));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){e.exports=n.p+"58957d928db6fb9d4658eb882f33d7bc.svg"},function(e,t,n){e.exports=n.p+"c2c982c416a67d43d72d182f079a8d22.svg"},function(e,t,n){e.exports=n.p+"bfffd518c76d3f6bc5e96eb52e4ae2cf.svg"},function(e,t,n){e.exports=n.p+"9ad4d437577c5569dc231a787a5377f6.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=P(n(0)),o=N(n(8)),i=N(n(3)),l=n(34),u=n(744),s=N(n(8575)),d=n(8305),f=N(n(105)),c=N(n(10)),p=N(n(56)),v=N(n(94)),y=P(n(1292)),m=N(n(39)),_=N(n(12)),h=N(n(55)),E=N(n(279)),g=N(n(47)),S=N(n(11737)),O=N(n(11739)),I=N(n(11740)),T=N(n(11741)),C=n(1),b=N(n(6)),M=N(n(7394));function N(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function P(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var D=function(e,t,n){return L(h.default,{align:h.default.Align.CENTER},void 0,L(h.default.Child,{},void 0,L(h.default,{align:h.default.Align.CENTER},void 0,L(E.default,{size:E.default.Sizes.SIZE_24,src:e.getAvatarURL(n||void 0),"aria-label":e.username,className:M.default.avatar}),L("span",{className:M.default.username},void 0,null!=t?t:e.toString()))))};D.displayName="UserItem";var w=function(e){return L(h.default,{align:h.default.Align.CENTER},void 0,L(h.default.Child,{},void 0,L(h.default,{align:h.default.Align.CENTER},void 0,L("span",{className:M.default.username},void 0,e))))};function j(e,t,n,r,a){var i=[];if(null==t)return i;var l=t.transport,s=t.rtp,f=s.inbound,c=s.outbound;return i.push({section:d.SectionTypes.HEADER,label:b.default.Messages.RTC_DEBUG_CONTEXT.format({context:e})}),null!=l&&i.push({section:(0,y.keySection)(e,C.RTCDebugSections.TRANSPORT,n),label:b.default.Messages.RTC_DEBUG_TRANSPORT,element:T.default,elementProps:{context:e,index:n}}),null!=c&&i.push({section:(0,y.keySection)(e,C.RTCDebugSections.OUTBOUND,n),label:b.default.Messages.RTC_DEBUG_RTP_OUTBOUND,element:O.default,elementProps:{context:e,index:n}}),null==f||o.default.isEmpty(f)||(i.push({section:d.SectionTypes.HEADER,label:b.default.Messages.RTC_DEBUG_RTP_INBOUND}),Object.keys(f).forEach((function(t){var o=_.default.getUser(t),l=p.default.getNick(a,t),s=(0,y.keySection)(e,t,n);i.push({section:s,label:null!=o?D(o,l,a):w(null!=l?l:t),ariaLabel:null!=o?o.tag:t,onClick:function(){(0,u.setSection)(s)},element:S.default,elementProps:{context:e,index:n,videoStreams:r}})}))),i}function k(e,t,n,r,a){var o=e.flatMap((function(e,t){return j(l.MediaEngineContextTypes.DEFAULT,e,t,n,null==a?void 0:a.getGuildId())})),i=t.flatMap((function(e,t){return j(l.MediaEngineContextTypes.STREAM,e,t,n,null==a?void 0:a.getGuildId())})),u=[],s={section:d.SectionTypes.DIVIDER};null!=r&&(u.push(s),u.push({section:C.RTCDebugSections.SCREENSHARE,label:b.default.Messages.RTC_DEBUG_SCREENSHARE,element:I.default,elementProps:{screenshare:r}})),i.length>0&&i.unshift(s);var f=null!=a?[{section:d.SectionTypes.CUSTOM,label:"Channel Name",element:function(){return L(g.default,{className:M.default.channelName,size:g.default.Sizes.SIZE_20},void 0,a.name)}}]:[];return[].concat(f,o,i,u)}w.displayName="UnknownUserItem";var U=i.default.connectStores([v.default,y.default,m.default,f.default,c.default],(function(){var e,t=y.default.getAllStats(l.MediaEngineContextTypes.DEFAULT),n=y.default.getAllStats(l.MediaEngineContextTypes.STREAM),r=v.default.getChannelId(),a=null===(e=t.concat(n).find((function(e){return null!=e.screenshare})))||void 0===e?void 0:e.screenshare;return{theme:m.default.theme,sidebarTheme:f.default.darkSidebar?C.ThemeTypes.DARK:void 0,section:y.default.getSection(),defaultStats:t,streamStats:n,videoStreams:y.default.getVideoStreams(),screenshare:a,channel:c.default.getChannel(r)}}))(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,R(t,n),r.prototype.render=function(){var e=this.props,t=e.theme,n=e.sidebarTheme,r=e.section,a=e.defaultStats,o=e.streamStats,i=e.videoStreams,l=e.screenshare,d=e.channel;return L(s.default,{theme:t,sidebarTheme:n,section:r,onSetSection:u.setSection,onClose:u.close,sections:k(a,o,i,l,d)})},r}(a.PureComponent));t.default=U},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=_(n(0)),o=y(n(3)),i=y(n(56)),l=y(n(94)),u=_(n(1292)),s=y(n(12)),d=y(n(151)),f=y(n(681)),c=n(159),p=n(9248),v=y(n(6));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}function h(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,E(t,n),r.prototype.render=function(){var e=this.props,t=e.streams,n=e.userId,r=e.mediaEngineConnectionId,a=e.videoStreams;if(null==n||null==t||0===t.length)return h(d.default,{type:d.default.Type.SPINNING_CIRCLE});var o=l.default.getGuildId(),u=s.default.getUser(n),y=i.default.getNick(o,n),m=null==u?v.default.Messages.RTC_DEBUG_RTP_INBOUND:v.default.Messages.RTC_DEBUG_RTP_INBOUND+" — "+(null!=y?y:u.toString());return h(f.default,{tag:c.Tags.H2,title:m},void 0,(0,p.renderStreams)(t,r,n,a))},r}(a.PureComponent);g.displayName="RTCDebugInbound";var S=o.default.connectStores([u.default],(function(e){var t=e.context,n=e.index,r=e.videoStreams,a=u.default.getAllStats(t)[n],o=(0,u.parseSection)(u.default.getSection()).section;if(null==o)throw new Error("Unrecognized section format");var i=null;return null!=a&&null!=a.rtp.inbound&&(i=a.rtp.inbound[o]||[]),{mediaEngineConnectionId:null==a?void 0:a.mediaEngineConnectionId,userId:o,streams:i,videoStreams:r}}))(g);t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(10241),i=(r=n(1166))&&r.__esModule?r:{default:r},l=n(1);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={dataSeries:new o.TimelineDataSeries,graphView:null},t.handleSetCanvas=function(e){null!=e&&(t.state.graphView=new o.TimelineGraphView(e),t.state.graphView.backgroundColor=t.props.theme===l.ThemeTypes.LIGHT?l.HEXColors.WHITE:l.HEXColors.PRIMARY_DARK_600,t.state.graphView.textColor=t.props.theme===l.ThemeTypes.LIGHT?l.HEXColors.BLACK:l.HEXColors.WHITE,t.state.graphView.gridColor=t.props.theme===l.ThemeTypes.LIGHT?l.HEXColors.BLACK_100:l.HEXColors.WHITE_800,t.state.graphView.timeOptions={timeStyle:"short"},t.state.graphView.addDataSeries(t.state.dataSeries),t.state.dataSeries.addPoint(Date.now(),0),t.state.dataSeries.setColor(l.HEXColors.BRAND),t.state.graphView.updateEndDate())},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n),r.getDerivedStateFromProps=function(e,t){var n=t.dataSeries,r=t.graphView;return n.addPoint(Date.now(),e.datapoint),null!=r&&(r.backgroundColor=e.theme===l.ThemeTypes.LIGHT?l.HEXColors.WHITE:l.HEXColors.PRIMARY_DARK_600,r.textColor=e.theme===l.ThemeTypes.LIGHT?l.HEXColors.BLACK:l.HEXColors.WHITE,r.gridColor=e.theme===l.ThemeTypes.LIGHT?l.HEXColors.BLACK_100:l.HEXColors.WHITE_800,r.updateEndDate()),{dataSeries:n,graphView:r}},r.prototype.render=function(){return a.createElement("canvas",{key:"canvas",height:"100",ref:this.handleSetCanvas})},r}(a.PureComponent);function c(e){var t=(0,i.default)();return a.createElement(f,s({},e,{theme:t}))}f.displayName="RTCDebugGraph",c.displayName="ConnectedRTCDebugGraph"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(3)),i=c(n(1292)),l=c(n(151)),u=c(n(681)),s=n(159),d=n(9248),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n),r.prototype.render=function(){var e=this.props.outbound;return null==e?v(l.default,{type:l.default.Type.SPINNING_CIRCLE}):v(u.default,{tag:s.Tags.H2,title:f.default.Messages.RTC_DEBUG_RTP_OUTBOUND},void 0,(0,d.renderStreams)(e))},r}(a.PureComponent);m.displayName="RTCDebugOutbound";var _=o.default.connectStores([i.default],(function(e){var t=e.context,n=e.index,r=i.default.getAllStats(t)[n];return{outbound:null!=r?r.rtp.outbound:null}}))(m);t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(8)),i=c(n(151)),l=c(n(681)),u=n(159),s=n(9248),d=n(10242),f=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n),r.prototype.render=function(){var e=this.props.screenshare;if(null==e)return v(i.default,{type:i.default.Type.SPINNING_CIRCLE});var t=o.default.map(e,(function(e,t){return v(d.Item,{label:t,value:e},t)}));return v(l.default,{tag:u.Tags.H2,title:f.default.Messages.RTC_DEBUG_SCREENSHARE},void 0,(0,s.renderTwoColumns)(t))},r}(a.PureComponent);m.displayName="RTCDebugScreenshare";var _=m;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=C(n(8)),i=C(n(3)),l=n(34),u=C(n(94)),s=C(n(1292)),d=C(n(1270)),f=C(n(160)),c=C(n(12)),p=C(n(55)),v=C(n(151)),y=C(n(1165)),m=C(n(681)),_=n(159),h=C(n(8778)),E=n(9248),g=C(n(10494)),S=n(10242),O=C(n(6)),I=C(n(7394)),T=C(n(370));function C(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function M(){return(M=Object.assign||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}).apply(this,arguments)}function N(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var P=N("span",{},void 0,"Bitrate:"),R=N("span",{},void 0,"Packet Loss:"),L=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,A(t,n),r.prototype.render=function(){var e=this.props,t=e.transport,n=e.mediaSessionId,r=e.hidePersonalInformation,a=e.hostname;if(null==t)return N(v.default,{type:v.default.Type.SPINNING_CIRCLE});var i=M({},t,{hostname:a}),l=o.default.map(i,(function(e,t){if("receiverReports"!==t&&(!r||"localAddress"!==t))return N(S.Item,{label:t,value:e},t)})),u=o.default.map(i.receiverReports,(function(e){var t=N(p.default,{id:"bitrate-"+e.id,justify:p.default.Justify.BETWEEN},void 0,P,N("span",{},void 0,(e.bitrate/1e3).toFixed(2)," Kbps")),n=N(p.default,{id:"lost-"+e.id,justify:p.default.Justify.BETWEEN},void 0,R,N("span",{},void 0,(100*e.fractionLost/256).toFixed(0),"%")),r=c.default.getUser(e.id),a=null!=r?r.username:e.id;return N(g.default,{label:e.id,valueRendered:[t,n]},e.id,a)}));return N(m.default,{tag:_.Tags.H2,title:O.default.Messages.RTC_DEBUG_TRANSPORT+(n?" - "+n:""),className:I.default.allowSelection},void 0,(0,E.renderTwoColumns)(l),i.receiverReports?N(y.default,{className:T.default.marginBottom20}):null,(0,E.renderTwoColumns)(u))},r}(a.PureComponent);L.displayName="RTCDebugTransport";var D=i.default.connectStores([s.default,u.default,f.default,d.default],(function(e){var t=e.context,n=e.index,r=s.default.getAllStats(t)[n],a=t===l.MediaEngineContextTypes.STREAM?d.default.getHostname():u.default.getHostname();return{hidePersonalInformation:f.default.hidePersonalInformation,transport:null!=r?r.transport:null,mediaSessionId:u.default.getMediaSessionId(),hostname:h.default.getShortHostname(a)}}))(L);t.default=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=i(n(23)),o=i(n(8));function i(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){var t,n;function i(t){var n;return(n=e.call(this,t)||this).ref=r.createRef(),n._animate=function(){var e=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n).animProps;if(!n.state.shaking||e.progress>e.duration||null==n.ref.current)n._animationComplete();else{var t=Date.now();if(e.progress+=t-e.last,e.last=t,e.frameCount%2){var r=e.lastDirection*e.intensity,i=o.default.random(-e.intensity,e.intensity,!0),l=Math.max(0,Math.cbrt(e.duration-e.progress/1e3));e.intensity*=Math.min(1,l),e.lastDirection*=-1,(0,a.default)(null!=n.ref.current,"Shakeable style set when not mounted"),n.ref.current.style.transform="translate3d("+r+"px,"+i+"px,0px)"}e.frameCount+=1,n._animationFrame=requestAnimationFrame(n._animate)}},n._animationCleanup=function(){null!=n.ref.current&&(n.ref.current.style.transform=""),cancelAnimationFrame(n._animationFrame)},n.state={shaking:!1},n}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var l=i.prototype;return l.getDefaultAnimProps=function(e,t){return{duration:e||300,progress:0,last:Date.now(),intensity:t||5,lastDirection:-1,frameCount:0}},l.componentWillUnmount=function(){this._animationCleanup()},l.shake=function(e,t){this.animProps=this.getDefaultAnimProps(e,t),this.state.shaking||this.setState({shaking:!0},this._animate)},l.stop=function(){this.state.shaking&&this.setState({shaking:!1})},l._animationComplete=function(){this.setState({shaking:!1},this._animationCleanup)},l.render=function(){var e=this.props,t=e.children,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["children"]);return r.createElement("div",u({},n,{ref:this.ref}),t)},i}(r.Component);d.displayName="Shakeable";var f=d;t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=M();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=b(n(9)),i=b(n(8)),l=b(n(273)),u=b(n(3)),s=b(n(28)),d=b(n(8956)),f=b(n(1295)),c=b(n(1299)),p=b(n(709)),v=b(n(9155)),y=b(n(271)),m=b(n(11744)),_=b(n(10066)),h=b(n(5974)),E=b(n(16)),g=n(1247),S=b(n(43)),O=b(n(1257)),I=n(1),T=b(n(6)),C=b(n(8207));function b(e){return e&&e.__esModule?e:{default:e}}function M(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return M=function(){return e},e}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var P=function(e){var t,n;function r(t){var n,r;(n=e.call(this,t)||this).videoRef=null,n._noProblemsTimeout=null,n._problemsTimeout=null,n._connectedSound=n.createSound(),n._loadingText=(r=[T.default.Messages.LOADING_LINE_1,T.default.Messages.LOADING_LINE_2,T.default.Messages.LOADING_LINE_3,T.default.Messages.LOADING_LINE_4,T.default.Messages.LOADING_LINE_5,T.default.Messages.LOADING_LINE_6,T.default.Messages.LOADING_LINE_7,T.default.Messages.LOADING_LINE_8,T.default.Messages.LOADING_LINE_10,T.default.Messages.LOADING_LINE_11,T.default.Messages.LOADING_LINE_12,T.default.Messages.LOADING_LINE_13,T.default.Messages.LOADING_LINE_14,T.default.Messages.LOADING_LINE_15,T.default.Messages.LOADING_TIP_1,T.default.Messages.LOADING_TIP_2,T.default.Messages.LOADING_TIP_3,T.default.Messages.LOADING_TIP_4,T.default.Messages.LOADING_TIP_5,T.default.Messages.LOADING_TIP_6,T.default.Messages.LOADING_TIP_7,T.default.Messages.LOADING_TIP_8,T.default.Messages.LOADING_TIP_9,T.default.Messages.LOADING_TIP_10,T.default.Messages.LOADING_TIP_11,T.default.Messages.LOADING_TIP_12,T.default.Messages.LOADING_TIP_13,T.default.Messages.LOADING_TIP_14,T.default.Messages.LOADING_TIP_15,T.default.Messages.LOADING_TIP_16,T.default.Messages.LOADING_TIP_17,T.default.Messages.LOADING_TIP_18,T.default.Messages.LOADING_TIP_19,T.default.Messages.LOADING_TIP_20,T.default.Messages.LOADING_TIP_21,T.default.Messages.LOADING_TIP_22,T.default.Messages.LOADING_TIP_23,T.default.Messages.LOADING_TIP_24,T.default.Messages.LOADING_TIP_25,T.default.Messages.LOADING_TIP_26,T.default.Messages.LOADING_TIP_27.format({asterisks:"**"}),T.default.Messages.LOADING_KEYBIND_TIP_1.format({quickSwitcherHook:function(e,t){return A(O.default,{shortcut:"mod+k",className:C.default.keybind},t)}}),T.default.Messages.LOADING_KEYBIND_TIP_2.format({markUnreadHook:function(e,t){return A(O.default,{shortcut:"alt+click",className:C.default.keybind},t)}}),T.default.Messages.LOADING_KEYBIND_TIP_3.format({markServerUnreadHook:function(e,t){return A(O.default,{shortcut:"shift+esc",className:C.default.keybind},t)}}),T.default.Messages.LOADING_KEYBIND_TIP_4.format({navigateUnreadHook:function(e,t){return A(O.default,{shortcut:"shift+alt+up",className:C.default.keybind},t)},downHook:function(e,t){return A(O.default,{shortcut:"down",className:C.default.keybind},t)}}),T.default.Messages.LOADING_KEYBIND_TIP_5.format({keyboardShortcutsHook:function(e,t){return A(O.default,{shortcut:"mod+/",className:C.default.keybind},t)}}),T.default.Messages.LOADING_KEYBIND_TIP_6.format({messageNewlineHook:function(e,t){return A(O.default,{shortcut:"shift+return",className:C.default.keybind},t)}}),T.default.Messages.LOADING_KEYBIND_TIP_7.format({shiftHook:function(e,t){return A(O.default,{shortcut:"shift",className:C.default.keybind},t)}}),T.default.Messages.LOADING_KEYBIND_TIP_8.format({upHook:function(e,t){return A(O.default,{shortcut:"up",className:C.default.keybind},t)}})])[i.default.random(r.length-1)],n.handleReady=function(){n.setState({ready:!0}),E.default.isDesktop()&&(S.default.send("UPDATED_QUOTES",["Hold Tight — Loading Discord"]),S.default.send("UPDATE_OPEN_ON_STARTUP"))},n.setVideoRef=function(e){n.videoRef=e},n.setProblemsTimeout=function(){null==n._problemsTimeout&&(n._problemsTimeout=setTimeout((function(){return n.setState({problems:!0})}),1e4))},n.clearProblemsTimeout=function(){clearTimeout(n._problemsTimeout),n._problemsTimeout=null};var a=t.connected;return n.state={ready:a,hide:a,problems:!1,shouldRender:!a,opacity:new l.default.Value(a?0:1)},n._connectedSound.volume=1,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,N(t,n);var a=r.prototype;return a.createSound=function(){var e=this.props.soundpack,t=(0,g.createSoundForPack)("discodo",e);return t.volume=1,t},a.componentDidMount=function(){this.setProblemsTimeout()},a.componentDidUpdate=function(e,t){var n=this,r=this.state,a=r.ready,o=r.hide,i=r.problems,u=r.opacity,f=this.props,c=f.connected,p=f.soundpack,v=c&&a&&!o&&!i;if(e.soundpack!==p&&(this._connectedSound=this.createSound()),e.connected!==c||v)if(c&&null!=this.videoRef){var y=Math.max(Math.ceil(1e3*(this.videoRef.duration-this.videoRef.currentTime)),600);clearTimeout(this._noProblemsTimeout),s.default.get(I.DISCODO_STORAGE_KEY)&&this._connectedSound.play(),this._noProblemsTimeout=setTimeout((function(){n.setState({problems:!1,hide:c})}),y)}else this.setState({problems:!1,hide:c});else t.hide!==o?(o?this.clearProblemsTimeout():this.setProblemsTimeout(),this.setState({shouldRender:!0}),l.default.timing(u,{toValue:o?0:1,duration:200}).start((function(){return n.setState({shouldRender:!o})}))):t.problems!==i&&i&&d.default.checkIncidents()},a.componentWillUnmount=function(){this.clearProblemsTimeout(),clearTimeout(this._noProblemsTimeout)},a.render=function(){if(this.state.shouldRender){var e,t=this._loadingText,n=null;return null!=this.props.incident&&(t=this.props.incident.name,n=this.props.incident.incident_updates[0].body),A(l.default.div,{className:C.default.container,style:{opacity:this.state.opacity}},void 0,A("div",{className:C.default.content},void 0,A(h.default,{autoPlay:!0,loop:!this.props.connected,setRef:this.setVideoRef,onReady:this.handleReady,className:this.state.ready?C.default.ready:""}),A("div",{className:C.default.text},void 0,null!=this.props.incident?null:A("div",{className:C.default.tipTitle},void 0,T.default.Messages.LOADING_DID_YOU_KNOW),A("div",{className:null!=this.props.incident?C.default.title:C.default.tip},void 0,t),A("div",{className:C.default.body},void 0,n))),A("div",{className:(0,o.default)(C.default.problems,(e={},e[C.default.slideIn]=this.state.problems,e))},void 0,A("div",{className:C.default.problemsText},void 0,T.default.Messages.CONNECTING_PROBLEMS_CTA),A("div",{},void 0,A(y.default,{className:C.default.twitterLink,href:(0,f.default)(I.LocalizedLinks.TWITTER),target:"_blank"},void 0,A(_.default,{className:C.default.icon}),T.default.Messages.TWEET_US),A(y.default,{className:C.default.statusLink,href:I.Links.STATUS,target:"_blank"},void 0,A(m.default,{className:C.default.icon}),T.default.Messages.SERVER_STATUS))))}return null},r}(a.PureComponent);P.displayName="ConnectingModal";var R=u.default.connectStores([p.default,v.default,c.default],(function(){return{isTryingToConnect:p.default.isTryingToConnect(),connected:p.default.isConnected(),incident:v.default.getIncident(),soundpack:c.default.getSoundpack()}}))((function(e){var t=e.isTryingToConnect,n=e.connected,r=e.incident,a=e.soundpack;return t?A(P,{soundpack:a,connected:n,incident:r}):null}));t.default=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=(r=n(22))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=r;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.width,n=void 0===t?14:t,r=e.height,a=void 0===r?14:r,l=e.color,d=void 0===l?"currentColor":l,f=e.foreground,c=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,i.default)(c),{width:n,height:a,viewBox:"0 0 14 14"}),s("path",{fill:d,className:f,d:"M6.99471698,9.67522659 C8.47108874,9.67522659 9.66792453,8.47748685 9.66792453,7 C9.66792453,5.52251315 8.47108874,4.32477341 6.99471698,4.32477341 C5.51834522,4.32477341 4.32150943,5.52251315 4.32150943,7 C4.32150943,8.47748685 5.51834522,9.67522659 6.99471698,9.67522659 Z M6.99471698,2.67522659 C8.18867925,2.67522659 9.26641509,3.16163142 10.0483019,3.94410876 L11.9396226,2.05135952 C10.6822642,0.782477341 8.92830189,0 6.99471698,0 C3.12754717,0 0,3.14048338 0,7 L2.67320755,7 C2.67320755,4.6102719 4.60679245,2.67522659 6.99471698,2.67522659 Z M11.3267925,7 C11.3267925,9.3897281 9.39320755,11.3247734 7.00528302,11.3247734 C5.81132075,11.3247734 4.73358491,10.8383686 3.94113208,10.0558912 L2.04981132,11.9486405 C3.31773585,13.2175227 5.06113208,14 6.99471698,14 C10.8618868,14 14,10.8595166 14,7 L11.3267925,7 Z"}))}d.displayName="Status"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showAppDownloadModal=function(){var e=v.default.getSuperProperties();if("iOS"===(null==e?void 0:e.os)&&"Discord iOS"!==(null==e?void 0:e.browser)||"Android"===(null==e?void 0:e.os)){s.experiment.trackExposure({});var t=s.experiment.getCurrentConfig({}),n=t.showDownloadModal,r=t.excludeTablets,a=l.default.get("MOBILE_WEB_DOWNLOAD_CTA_LAST_SEEN")||0;n&&!(window.screen.width>480&&r)&&a+864e5<Date.now()&&(u.default.push(C),l.default.set("MOBILE_WEB_DOWNLOAD_CTA_LAST_SEEN",Date.now()))}},t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(411),i=n(305),l=g(n(28)),u=g(n(397)),s=n(11746),d=g(n(271)),f=g(n(29)),c=n(35),p=g(n(24)),v=g(n(13)),y=n(368),m=n(1),_=g(n(6)),h=g(n(8208)),E=g(n(11747));function g(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function O(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(){v.default.track(m.AnalyticEvents.MOBILE_APP_DOWNLOAD_MODAL_ACKED,{action:"Dismiss"}),u.default.pop()}var C=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,I(t,n);var a=r.prototype;return a.componentDidMount=function(){v.default.track(m.AnalyticEvents.MOBILE_APP_DOWNLOAD_MODAL_ACKED,{action:"Seen"})},a.renderContent=function(){var e,t=(0,y.getMobileDownloadLink)("mobile_web_app",null===(e=v.default.getSuperProperties())||void 0===e?void 0:e.os);return O("div",{className:h.default.container},void 0,O("div",{className:h.default.inner},void 0,O("img",{src:E.default,alt:"Discord Logo",className:h.default.logo}),O(p.default,{className:h.default.title},void 0,_.default.Messages.GET_MOBILE_APP),O(p.default,{className:h.default.subtitle},void 0,_.default.Messages.GET_MOBILE_APP_SUBTITLE),O(f.default,{className:h.default.downloadButton,onClick:function(){return function(e){var t=(0,o.parseDynamicLink)(e);null!=t&&v.default.track(m.AnalyticEvents.DEEP_LINK_CLICKED,{fingerprint:(0,i.maybeExtractId)(t.fingerprint),attempt_id:t.attemptId,source:t.utmSource}),v.default.track(m.AnalyticEvents.MOBILE_APP_DOWNLOAD_MODAL_ACKED,{action:"Download"}),window.location.href=e}(t)}},void 0,_.default.Messages.GET_MOBILE_APP_CTA),O(d.default,{className:h.default.skip,onClick:T},void 0,_.default.Messages.GET_MOBILE_APP_SKIP)))},a.render=function(){return O("div",{className:h.default.fullscreen},void 0,O(c.ModalContent,{},void 0,this.renderContent()))},r}(a.PureComponent);C.displayName="MobileAppDownload";var b=C;t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.experiment=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-06_mobile_web_app_download",label:"Show app download modal for mobile web users",defaultConfig:{showDownloadModal:!1,excludeTablets:!1},treatments:[{id:1,label:"Show download modal to both mobile and tablet",config:{showDownloadModal:!0,excludeTablets:!1}},{id:2,label:"Show download modal to only mobile",config:{showDownloadModal:!0,excludeTablets:!0}}]});t.experiment=r},function(e,t,n){e.exports=n.p+"ca67c73c553d3b8627cacb9d9d3a7e6f.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(3)),a=u(n(10243)),o=u(n(10255)),i=u(n(10258)),l=u(n(11749));function u(e){return e&&e.__esModule?e:{default:e}}r.default.initialize();var s=[l.default,i.default,o.default,a.default];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(1150),i=d(n(8957)),l=d(n(11750)),u=n(259),s=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function c(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={accepting:!1},t.handleAccept=function(){return t.setState({accepting:!0}),(0,o.acceptAgreements)().then((function(e){return t.setState({accepting:e})}))},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n),r.prototype.render=function(){return c(l.default,{className:(0,u.getThemeClass)(s.ThemeTypes.LIGHT),onAccept:this.handleAccept,accepting:this.state.accepting})},r}(a.PureComponent);t.default=v,v.displayName="UserAgreements",v.modalConfig={store:i.default,center:!0,isOpen:function(){return i.default.getAction()===s.UserRequiredActions.AGREEMENTS}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(9)),i=y(n(29)),l=y(n(1160)),u=y(n(55)),s=y(n(1165)),d=y(n(474)),f=y(n(272)),c=n(1),p=y(n(6)),v=y(n(8209));function y(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function _(e,t,n,a){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=a;else if(i>1){for(var l=new Array(i),u=0;u<i;u++)l[u]=arguments[u+3];t.children=l}if(t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E=_(s.default,{}),g=_(s.default,{}),S=_(s.default,{}),O=function(e){var t,r;function a(t){var n;return(n=e.call(this,t)||this).handleCheck=function(){n.setState({checked:!n.state.checked})},n.state={checked:!1},n}return r=e,(t=a).prototype=Object.create(r.prototype),t.prototype.constructor=t,h(t,r),a.prototype.render=function(){var e=this.props,t=e.className,r=e.accepting,a=e.onAccept,s=this.state.checked;return _("div",{className:(0,o.default)(v.default.modal,t)},void 0,_("div",{className:v.default.title},void 0,p.default.Messages.NEW_TERMS_TITLE),E,_(f.default,{},void 0,_(d.default,{className:v.default.description},void 0,p.default.Messages.NEW_TERMS_DESCRIPTION),_(u.default,{className:v.default.container,align:u.default.Align.CENTER,justify:u.default.Justify.CENTER},void 0,_(u.default,{direction:u.default.Direction.VERTICAL},void 0,_("div",{className:v.default.link},void 0,p.default.Messages.TERMS_OF_SERVICE.format({url:c.MarketingURLs.TERMS})),_("div",{className:v.default.link},void 0,p.default.Messages.PRIVACY_POLICY.format({url:c.MarketingURLs.PRIVACY}))),_("img",{alt:"",src:n(11751)}))),g,_("div",{className:v.default.container},void 0,_(l.default,{onChange:this.handleCheck,value:s},void 0,_("div",{className:v.default.ack},void 0,p.default.Messages.NEW_TERMS_ACK))),S,_(u.default,{className:v.default.buttonContainer,justify:u.default.Justify.END},void 0,_(i.default,{className:v.default.button,disabled:!s,submitting:r,onClick:a},void 0,p.default.Messages.NEW_TERMS_CONTINUE)))},a}(a.PureComponent);O.displayName="NewTermsModal",O.defaultProps={onAccept:c.NOOP,accepting:!1};var I=O;t.default=I},function(e,t,n){e.exports=n.p+"a13cfdd7220132fff399a76c3ed64519.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=c(n(3)),o=n(57),i=c(n(2)),l=c(n(390)),u=c(n(132)),s=c(n(80)),d=c(n(365)),f=(n(1),c(n(6)));function c(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=new o.Timeout;function y(){null!=r&&(l.default.sendBotMessage(r,f.default.Messages.BOT_CALL_IDLE_DISCONNECT),u.default.selectVoiceChannel(null))}var m=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n),r.prototype.initialize=function(){this.waitFor(s.default)},r}(a.default.Store))(i.default,{CONNECTION_CLOSED:function(e){return r=null,void v.stop()},VOICE_STATE_UPDATE:function(e){if(null!=e.guildId)return!1;var t=s.default.getCurrentClientVoiceChannelId(null);return null==t?(v.stop(),!1):(1===d.default.countVoiceStatesForChannel(t)?(r=t,v.start(3e5,y,!1)):v.stop(),!1)}});t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MESSAGE_SOUND_VOLUME=t.MESSAGE_SOUND=void 0;var r=I(n(3)),a=I(n(2)),o=I(n(391)),i=I(n(5848)),l=n(42),u=I(n(81)),s=I(n(13)),d=n(9073),f=I(n(10222)),c=I(n(16)),p=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(1247)),v=I(n(10)),y=I(n(15)),m=I(n(8359)),_=I(n(36)),h=I(n(479)),E=I(n(12)),g=n(1),S=I(n(6));function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e){return e&&e.__esModule?e:{default:e}}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.MESSAGE_SOUND="message1";t.MESSAGE_SOUND_VOLUME=.4;var C=c.default.hasFocus(),b=new(function(){function e(){this._channels={}}var t=e.prototype;return t.track=function(e,t){var n=this._channels[e];for(null==n&&(n=[],this._channels[e]=n),n.push(t);n.length>1;){var r=n.shift();null!=r&&null!=r.close&&r.close()}},t.clearChannel=function(e){var t=this._channels[e];null!=t&&(delete this._channels[e],t.forEach((function(e){return e.close()})))},e}());function M(){return m.default.getDesktopType()===g.DesktopNotificationTypes.NEVER||h.default.getStatus()===g.StatusTypes.DND}var N=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,T(t,n),r.prototype.initialize=function(){this.waitFor(E.default,v.default,m.default,y.default,u.default)},r}(r.default.Store))(a.default,__OVERLAY__?{}:{NOTIFICATIONS_SET_PERMISSION_STATE:function(e){e.enabled!==g.NotificationPermissionTypes.ENABLED||c.default.embedded||f.default.showNotification(n(1403),S.default.Messages.NOTIFICATION_TITLE_DISCORD,S.default.Messages.BROWSER_NOTIFICATIONS_ENABLED_BODY,{sound:"message1",volume:.4,tag:"hello",onClick:function(){window.focus()}})},NOTIFICATION_CREATE:function(e){var t=e.icon,n=e.title,r=e.body,a=e.options;return M()||f.default.showNotification(t,n,r,a),!1},WINDOW_FOCUS:function(e){if(C=e.focused){var t=_.default.getChannelId();null!=t&&b.clearChannel(t)}},MESSAGE_CREATE:function(e){var t=e.channelId,r=e.message;if(e.optimistic)return!1;var o=v.default.getChannel(t),u=E.default.getUser(r.author.id);if(null==o||null==u)return!1;if(!(0,d.shouldNotify)(r,t))return!1;var c=n(1287).default,y=n(376).default;if(null!=c.getFocusedPID()&&y.getTextChatNotificationMode()===g.OverlayNotificationTextChatTypes.ENABLED)return!1;if(C&&t===_.default.getChannelId())return!1;var h=(0,d.makeTextChatNotification)(o,r,u),S=h.icon,O=h.title,I=h.body;a.default.dirtyDispatch({type:g.ActionTypes.RPC_NOTIFICATION_CREATE,channelId:o.id,message:r,icon:S,title:O,body:I});var T=!m.default.isSoundDisabled("message1");if(m.default.getDesktopType()===g.DesktopNotificationTypes.NEVER)return T&&p.playSound("message1",.4),!1;var M=f.default.showNotification(S,O,I,{tag:r.id,sound:T?"message1":void 0,volume:.4,onClick:function(){s.default.track(g.AnalyticEvents.NOTIFICATION_CLICKED,{notif_type:g.ActionTypes.MESSAGE_CREATE,notif_user_id:r.author.id,message_id:r.id,message_type:r.type,channel_id:o.id,channel_type:o.type,guild_id:o.guild_id}),(0,l.transitionTo)(g.Routes.CHANNEL(o.getGuildId()||g.ME,o.id)),i.default.clickedNotification()}});null!=M&&b.track(o.id,M)},CHANNEL_SELECT:function(e){var t=e.channelId;return null!=t&&b.clearChannel(t),!1},MESSAGE_ACK:function(e){var t=e.channelId;return b.clearChannel(t),!1},ACTIVITY_START:function(e){var t=e.userId,n=e.activity;if(M())return!1;switch(n.type){case g.ActivityTypes.PLAYING:var r=E.default.getUser(t);if(null==r)return!1;var a=r.toString(),i=n.name,l=r.getAvatarURL(void 0),u=S.default.Messages.NOTIFICATION_TITLE_START_GAME,d=S.default.Messages.NOTIFICATION_BODY_START_GAME.format({username:a,gameName:i});return f.default.showNotification(l,u,d,{sound:"message2",playSoundIfDisabled:!1,volume:.4,onClick:function(){s.default.track(g.AnalyticEvents.NOTIFICATION_CLICKED,{notif_type:g.ActionTypes.ACTIVITY_START,activity_type:g.ActivityTypes.PLAYING,notif_user_id:t,activity_name:i}),o.default.openPrivateChannel(t)}}),!1;default:return!1}},RELATIONSHIP_ADD:function(e){var t=e.relationship,n=t.type,r=t.user.id,a=e.shouldNotify;if(n!==g.RelationshipTypes.FRIEND||!a)return!1;if(h.default.getStatus()===g.StatusTypes.DND)return!1;var i=E.default.getUser(r);if(null==i)return!1;var l=i.toString(),u=i.getAvatarURL(void 0),d=S.default.Messages.NOTIFICATION_ACCEPTED_FRIEND_REQUEST;f.default.showNotification(u,l,d,{onClick:function(){s.default.track(g.AnalyticEvents.NOTIFICATION_CLICKED,{notif_type:g.ActionTypes.RELATIONSHIP_ADD,notif_user_id:i.id}),o.default.openPrivateChannel(i.id)}})},VOICE_STATE_UPDATE:function(e){var t=e.channelId,n=e.userId,r=e.guildId,a=e.suppress,o=e.requestToSpeakTimestamp;if(null!=n&&null!=t&&null!=r&&(!a&&null!=o)){var i=E.default.getNullableCurrentUser();if(null!=i&&n===i.id){var l=y.default.getGuild(r),s=v.default.getChannel(t),d=u.default.getStageInstanceByChannel(t);null==s||null==l||M()||f.default.showNotification(l.getIconURL(),s.name,S.default.Messages.STAGE_SPEAK_INVITE_PUSH_NOTIFICATION.format({channelName:s.name,channelTopic:null==d?void 0:d.topic}),{})}}}});t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=v(n(3)),a=v(n(28)),o=n(57),i=v(n(2)),l=v(n(1234)),u=n(136),s=v(n(71)),d=v(n(120)),f=v(n(79)),c=v(n(39)),p=n(1);function v(e){return e&&e.__esModule?e:{default:e}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var h="ActivityTrackingStore",E=a.default.get(h)||{},g={},S=!1;function O(e,t){void 0===t&&(t=!0),t&&I(e,!0);var n=g[e.applicationId];null!=n&&(n.stop(),delete g[e.applicationId]),delete E[e.applicationId],a.default.set(h,E)}function I(e,t){void 0===t&&(t=!1);var n=Date.now(),r=null!=e.updatedAt?n-e.updatedAt:0;r>21e5&&(r=0),l.default.updateActivity(e.applicationId,e.isDiscordApplication?p.Distributors.DISCORD:e.distributor,(0,u.shouldShareApplicationActivity)(e.applicationId,c.default,d.default),e.token,Math.floor(r/1e3),t),e.updatedAt=n;var i=g[e.applicationId];null==i&&(i=g[e.applicationId]=new o.Interval).start(18e5,(function(){return I(e)})),t||(E[e.applicationId]=e,a.default.set(h,E))}function T(e){void 0===e&&(e=!0);for(var t,n=f.default.getRunningGames(),r=new Set,a=m(n);!(t=a()).done;){var o=t.value,i=o.name,l=o.distributor,u=s.default.getGameByName(i);null!=u&&(r.add(u.id),u.id in E||I({applicationId:u.id,updatedAt:Date.now(),distributor:l}))}for(var d=0,c=Object.keys(E);d<c.length;d++){var p=c[d];r.has(p)||O(E[p],e)}}function C(){for(var e=0,t=Object.keys(E);e<t.length;e++){var n=t[e];O(E[n])}S=!1}var b=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n);var a=r.prototype;return a.initialize=function(){this.waitFor(f.default,c.default,d.default),this.syncWith([c.default],T)},a.getActivities=function(){return E},r}(r.default.Store))(i.default,{RUNNING_GAMES_CHANGE:function(e){return T()},CONNECTION_OPEN:function(e){return function(){if(S)return!1;for(var e=0,t=Object.keys(E);e<t.length;e++){var n=t[e];I(E[n])}T(!1),S=!0}()},CONNECTION_CLOSED:function(e){4004===e.code&&C()},LOGOUT:function(e){return C()},ACTIVITY_UPDATE_SUCCESS:function(e){var t=e.applicationId,n=e.token,r=E[t];if(null==r)return!1;r.token=n,a.default.set(h,E)},ACTIVITY_UPDATE_FAIL:function(e){var t=e.applicationId,n=E[t];if(null==n)return!1;n.token=null,n.updatedAt=null,a.default.set(h,E)}});t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),a=l(n(2)),o=l(n(5848)),i=l(n(71));n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n),r}(r.default.Store))(a.default,{USER_ACHIEVEMENT_UPDATE:function(e){var t=e.userAchievement,n=t.application_id,r=t.achievement;if(100===t.percent_complete&&null!=r){var a=i.default.getGame(n),l=null!=a?a.getIconURL(64):null;o.default.showNotification(l,r.name,r.description)}}});t.default=s}])]);
-//# sourceMappingURL=7fbe1e6b1c5663e3a84e.js.map
\ No newline at end of file
diff --git a/api/assets/8c928ce26a3b4d828392.js b/api/assets/8c928ce26a3b4d828392.js
deleted file mode 100644
index c7ed2569..00000000
--- a/api/assets/8c928ce26a3b4d828392.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/*! For license information please see 8c928ce26a3b4d828392.js.LICENSE.txt */
-(this.webpackJsonp=this.webpackJsonp||[]).push([[4],{10307:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,s=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=n();if(t&&t.has(e))return t.get(e);var a={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var r=i?Object.getOwnPropertyDescriptor(e,s):null;r&&(r.get||r.set)?Object.defineProperty(a,s,r):a[s]=e[s]}a.default=e,t&&t.set(e,a);return a}(a(0));function n(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return n=function(){return e},e}function r(e,t,a,s){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var n=e&&e.defaultProps,r=arguments.length-3;if(t||0===r||(t={children:void 0}),1===r)t.children=s;else if(r>1){for(var o=new Array(r),p=0;p<r;p++)o[p]=arguments[p+3];t.children=o}if(t&&n)for(var c in n)void 0===t[c]&&(t[c]=n[c]);else t||(t=n||{});return{$$typeof:i,type:e,key:void 0===a?null:""+a,ref:null,props:t,_owner:null}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){return{position:"absolute",top:0,left:0,width:"100%",height:"100%",opacity:0,cursor:e?"not-allowed":"pointer"}},c=function(e){var t,a;function i(){for(var t,a=arguments.length,i=new Array(a),s=0;s<a;s++)i[s]=arguments[s];return(t=e.call.apply(e,[this].concat(i))||this)._input=null,t.activateUploadDialogue=function(){t.props.embedded?t.handleNativeClick():t._input&&t._input.click()},t.handleNativeClick=function(){t.props.handleNativeClick&&t.props.handleNativeClick(t.props)},t.handleNativeKeyDown=function(e){" "!==e.key&&"Enter"!==e.key||t.handleNativeClick()},t.handleBrowserInputMouseDown=function(e){e.currentTarget.value=null},t}return a=e,(t=i).prototype=Object.create(a.prototype),t.prototype.constructor=t,o(t,a),i.prototype.render=function(){var e=this,t=this.props,a=t.disabled,i=t.tabIndex,n=t.className,o=t.name,c=t["aria-label"];if(this.props.embedded)return r("div",{style:p(a),className:n||"file-input",tabIndex:i,onKeyDown:a?void 0:this.handleNativeKeyDown,onClick:a?void 0:this.handleNativeClick});var l="";return this.props.filters&&(l=this.props.filters.map((function(e){return e.extensions.map((function(e){return"."+e})).join(",")})).join(",")),s.createElement("input",{style:p(a),className:n||"file-input",disabled:a,type:"file",tabIndex:i,onMouseDown:this.handleBrowserInputMouseDown,onChange:this.props.onChange,multiple:this.props.multiple,accept:l,name:o,"aria-label":c,ref:function(t){return e._input=t}})},i}(s.Component);c.displayName="FileInput",c.defaultProps={multiple:!1,disabled:!1,tabIndex:0};var l=c;t.default=l},10308:function(e,t,a){var i=a(10788);t.types=Object.create(null),t.extensions=Object.create(null),Object.keys(i).forEach((function(e){var a=i[e].extensions;a&&a.length&&(t.extensions[e]=a,a.forEach((function(a){t.types[a]=e})))})),t.lookup=function(e){return e&&"string"==typeof e&&(e=e.replace(/.*[\.\/\\]/,"").toLowerCase())&&t.types[e]||!1},t.extension=function(e){if(!e||"string"!=typeof e)return!1;if(!(e=e.match(/^\s*([^;\s]*)(?:;|\s|$)/)))return!1;var a=t.extensions[e[1].toLowerCase()];return!(!a||!a.length)&&a[0]},t.charset=function(e){var t=i[e];return t&&t.charset?t.charset:!!/^text\//.test(e)&&"UTF-8"},t.charsets={lookup:t.charset},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;if(~e.indexOf("/")||(e=t.lookup(e)),!e)return!1;if(!~e.indexOf("charset")){var a=t.charset(e);a&&(e+="; charset="+a.toLowerCase())}return e}},10788:function(e,t,a){e.exports=a(10789)},10789:function(e){e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana"},"application/3gpp-ims+xml":{"source":"iana"},"application/a2l":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana"},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","extensions":["atomsvc"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana"},"application/bacnet-xdd+zip":{"source":"iana"},"application/batch-smtp":{"source":"iana"},"application/beep+xml":{"source":"iana"},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana"},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/cbor":{"source":"iana"},"application/ccmp+xml":{"source":"iana"},"application/ccxml+xml":{"source":"iana","extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana"},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana"},"application/cellml+xml":{"source":"iana"},"application/cfw":{"source":"iana"},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana"},"application/coap-group+json":{"source":"iana","compressible":true},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana"},"application/cpl+xml":{"source":"iana"},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana"},"application/cstadata+xml":{"source":"iana"},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","extensions":["mdp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana"},"application/dicom":{"source":"iana"},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/docbook+xml":{"source":"apache","extensions":["dbk"]},"application/dskpp+xml":{"source":"iana"},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/emma+xml":{"source":"iana","extensions":["emma"]},"application/emotionml+xml":{"source":"iana"},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana"},"application/epub+zip":{"source":"iana","extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana"},"application/fits":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false,"extensions":["woff"]},"application/font-woff2":{"compressible":false,"extensions":["woff2"]},"application/framework-attributes+xml":{"source":"iana"},"application/gml+xml":{"source":"apache","extensions":["gml"]},"application/gpx+xml":{"source":"apache","extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana"},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana"},"application/ibe-pkg-reply+xml":{"source":"iana"},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana"},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana"},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js"]},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana"},"application/kpml-response+xml":{"source":"iana"},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana"},"application/lost+xml":{"source":"iana","extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana"},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","extensions":["mads"]},"application/manifest+json":{"charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana"},"application/mathml-presentation+xml":{"source":"iana"},"application/mbms-associated-procedure-description+xml":{"source":"iana"},"application/mbms-deregister+xml":{"source":"iana"},"application/mbms-envelope+xml":{"source":"iana"},"application/mbms-msk+xml":{"source":"iana"},"application/mbms-msk-response+xml":{"source":"iana"},"application/mbms-protection-description+xml":{"source":"iana"},"application/mbms-reception-report+xml":{"source":"iana"},"application/mbms-register+xml":{"source":"iana"},"application/mbms-register-response+xml":{"source":"iana"},"application/mbms-schedule+xml":{"source":"iana"},"application/mbms-user-service-description+xml":{"source":"iana"},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana"},"application/media_control+xml":{"source":"iana"},"application/mediaservercontrol+xml":{"source":"iana","extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","extensions":["meta4"]},"application/mets+xml":{"source":"iana","extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mods+xml":{"source":"iana","extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana"},"application/mrb-publish+xml":{"source":"iana"},"application/msc-ivr+xml":{"source":"iana"},"application/msc-mixer+xml":{"source":"iana"},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana"},"application/news-groupinfo":{"source":"iana"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana"},"application/nss":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p2p-overlay+xml":{"source":"iana"},"application/parityfec":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana"},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana"},"application/pidf-diff+xml":{"source":"iana"},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","extensions":["pls"]},"application/poc-settings+xml":{"source":"iana"},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/provenance+xml":{"source":"iana"},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.hpub+zip":{"source":"iana"},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana"},"application/pskc+xml":{"source":"iana","extensions":["pskcxml"]},"application/qsig":{"source":"iana"},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf"]},"application/reginfo+xml":{"source":"iana","extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","extensions":["rld"]},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana"},"application/rls-services+xml":{"source":"iana","extensions":["rs"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana"},"application/samlmetadata+xml":{"source":"iana"},"application/sbml+xml":{"source":"iana","extensions":["sbml"]},"application/scaip+xml":{"source":"iana"},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/sep+xml":{"source":"iana"},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","extensions":["shf"]},"application/sieve":{"source":"iana"},"application/simple-filter+xml":{"source":"iana"},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","extensions":["srx"]},"application/spirits-event+xml":{"source":"iana"},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","extensions":["grxml"]},"application/sru+xml":{"source":"iana","extensions":["sru"]},"application/ssdl+xml":{"source":"apache","extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","extensions":["ssml"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/tei+xml":{"source":"iana","extensions":["tei","teicorpus"]},"application/thraud+xml":{"source":"iana","extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/ttml+xml":{"source":"iana"},"application/tve-trigger":{"source":"iana"},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana"},"application/urc-ressheet+xml":{"source":"iana"},"application/urc-targetdesc+xml":{"source":"iana"},"application/urc-uisocketdesc+xml":{"source":"iana"},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana"},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.3gpp.bsf+xml":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana"},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","extensions":["mpkg"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avistar+xml":{"source":"iana"},"application/vnd.balsamiq.bmml+xml":{"source":"iana"},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","extensions":["cdxml"]},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana"},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","extensions":["wbs"]},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana"},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana"},"application/vnd.cybank":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume-movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana"},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana"},"application/vnd.dvb.notif-container+xml":{"source":"iana"},"application/vnd.dvb.notif-generic+xml":{"source":"iana"},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana"},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana"},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana"},"application/vnd.dvb.notif-init+xml":{"source":"iana"},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana"},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana"},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.eszigno3+xml":{"source":"iana","extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana"},"application/vnd.etsi.asic-e+zip":{"source":"iana"},"application/vnd.etsi.asic-s+zip":{"source":"iana"},"application/vnd.etsi.cug+xml":{"source":"iana"},"application/vnd.etsi.iptvcommand+xml":{"source":"iana"},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana"},"application/vnd.etsi.iptvprofile+xml":{"source":"iana"},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana"},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana"},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana"},"application/vnd.etsi.iptvservice+xml":{"source":"iana"},"application/vnd.etsi.iptvsync+xml":{"source":"iana"},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana"},"application/vnd.etsi.mcid+xml":{"source":"iana"},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana"},"application/vnd.etsi.pstn+xml":{"source":"iana"},"application/vnd.etsi.sci+xml":{"source":"iana"},"application/vnd.etsi.simservs+xml":{"source":"iana"},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana"},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana"},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana"},"application/vnd.gov.sk.e-form+zip":{"source":"iana"},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana"},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana"},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana"},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana"},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana"},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana"},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana"},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana"},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana"},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana"},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana"},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las.las+xml":{"source":"iana","extensions":["lasxml"]},"application/vnd.liberty-request+xml":{"source":"iana"},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","extensions":["lbe"]},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana"},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana"},"application/vnd.marlin.drm.license+xml":{"source":"iana"},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana"},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana"},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printing.printticket+xml":{"source":"apache"},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana"},"application/vnd.nokia.iptv.config+xml":{"source":"iana"},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana"},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana"},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana"},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana"},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana"},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana"},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana"},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana"},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana"},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana"},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana"},"application/vnd.oipf.spdlist+xml":{"source":"iana"},"application/vnd.oipf.ueprofile+xml":{"source":"iana"},"application/vnd.oipf.userprofile+xml":{"source":"iana"},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana"},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana"},"application/vnd.oma.bcast.imd+xml":{"source":"iana"},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana"},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana"},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana"},"application/vnd.oma.bcast.sprov+xml":{"source":"iana"},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana"},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana"},"application/vnd.oma.cab-pcc+xml":{"source":"iana"},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana"},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana"},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana"},"application/vnd.oma.group-usage-list+xml":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana"},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana"},"application/vnd.oma.poc.final-report+xml":{"source":"iana"},"application/vnd.oma.poc.groups+xml":{"source":"iana"},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana"},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana"},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana"},"application/vnd.oma.xcap-directory+xml":{"source":"iana"},"application/vnd.omads-email+xml":{"source":"iana"},"application/vnd.omads-file+xml":{"source":"iana"},"application/vnd.omads-folder+xml":{"source":"iana"},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.presentationml-template":{"source":"iana"},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"apache","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml-template":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"apache","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml-template":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"apache","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana"},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana"},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana"},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana"},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana"},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos+xml":{"source":"iana"},"application/vnd.paos.xml":{"source":"apache"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana"},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana"},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana"},"application/vnd.radisys.msml+xml":{"source":"iana"},"application/vnd.radisys.msml-audit+xml":{"source":"iana"},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana"},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana"},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana"},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana"},"application/vnd.radisys.msml-conf+xml":{"source":"iana"},"application/vnd.radisys.msml-dialog+xml":{"source":"iana"},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana"},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana"},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana"},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana"},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana"},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana"},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.software602.filler.form+xml":{"source":"iana"},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana"},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana"},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana"},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana"},"application/vnd.wv.ssp+xml":{"source":"iana"},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana"},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","extensions":["vxml"]},"application/vq-rtcpxr":{"source":"iana"},"application/watcherinfo+xml":{"source":"iana"},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-otf":{"source":"apache","compressible":true,"extensions":["otf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-ttf":{"source":"apache","compressible":true,"extensions":["ttf","ttc"]},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"apache","extensions":["der","crt"]},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana"},"application/xaml+xml":{"source":"apache","extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana"},"application/xcap-caps+xml":{"source":"iana"},"application/xcap-diff+xml":{"source":"iana","extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana"},"application/xcap-error+xml":{"source":"iana"},"application/xcap-ns+xml":{"source":"iana"},"application/xcon-conference-info+xml":{"source":"iana"},"application/xcon-conference-info-diff+xml":{"source":"iana"},"application/xenc+xml":{"source":"iana","extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache"},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana"},"application/xmpp+xml":{"source":"iana"},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","extensions":["xpl"]},"application/xslt+xml":{"source":"iana","extensions":["xslt"]},"application/xspf+xml":{"source":"apache","extensions":["xspf"]},"application/xv+xml":{"source":"iana","extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yin+xml":{"source":"iana","extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana"},"audio/3gpp2":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana"},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana"},"audio/mp4":{"source":"iana","compressible":false,"extensions":["mp4a","m4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/opentype":{"compressible":true,"extensions":["otf"]},"image/bmp":{"source":"apache","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/fits":{"source":"iana"},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jp2":{"source":"iana"},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jpm":{"source":"iana"},"image/jpx":{"source":"iana"},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana"},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana"},"image/tiff":{"source":"iana","compressible":false,"extensions":["tiff","tif"]},"image/tiff-fx":{"source":"iana"},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana"},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana"},"image/vnd.mix":{"source":"iana"},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana"},"image/vnd.valve.source.texture":{"source":"iana"},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana"},"image/webp":{"source":"apache","extensions":["webp"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana"},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana"},"message/global-delivery-status":{"source":"iana"},"message/global-disposition-notification":{"source":"iana"},"message/global-headers":{"source":"iana"},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana"},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/vnd.collada+xml":{"source":"iana","extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana"},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana"},"model/vnd.parasolid.transmit.binary":{"source":"iana"},"model/vnd.parasolid.transmit.text":{"source":"iana"},"model/vnd.valve.source.compiled-map":{"source":"iana"},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana"},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana"},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana","compressible":false},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee"]},"text/css":{"source":"iana","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/hjson":{"extensions":["hjson"]},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"extensions":["less"]},"text/markdown":{"source":"iana"},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana"},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["markdown","md","mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"apache"},"video/3gpp":{"source":"apache","extensions":["3gp"]},"video/3gpp-tt":{"source":"apache"},"video/3gpp2":{"source":"apache","extensions":["3g2"]},"video/bmpeg":{"source":"apache"},"video/bt656":{"source":"apache"},"video/celb":{"source":"apache"},"video/dv":{"source":"apache"},"video/h261":{"source":"apache","extensions":["h261"]},"video/h263":{"source":"apache","extensions":["h263"]},"video/h263-1998":{"source":"apache"},"video/h263-2000":{"source":"apache"},"video/h264":{"source":"apache","extensions":["h264"]},"video/h264-rcdo":{"source":"apache"},"video/h264-svc":{"source":"apache"},"video/jpeg":{"source":"apache","extensions":["jpgv"]},"video/jpeg2000":{"source":"apache"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/mj2":{"source":"apache","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"apache"},"video/mp2p":{"source":"apache"},"video/mp2t":{"source":"apache","extensions":["ts"]},"video/mp4":{"source":"apache","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"apache"},"video/mpeg":{"source":"apache","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"apache"},"video/mpv":{"source":"apache"},"video/nv":{"source":"apache"},"video/ogg":{"source":"apache","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"apache"},"video/pointer":{"source":"apache"},"video/quicktime":{"source":"apache","compressible":false,"extensions":["qt","mov"]},"video/raw":{"source":"apache"},"video/rtp-enc-aescm128":{"source":"apache"},"video/rtx":{"source":"apache"},"video/smpte292m":{"source":"apache"},"video/ulpfec":{"source":"apache"},"video/vc1":{"source":"apache"},"video/vnd.cctv":{"source":"apache"},"video/vnd.dece.hd":{"source":"apache","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"apache","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"apache"},"video/vnd.dece.pd":{"source":"apache","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"apache","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"apache","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"apache"},"video/vnd.directv.mpeg-tts":{"source":"apache"},"video/vnd.dlna.mpeg-tts":{"source":"apache"},"video/vnd.dvb.file":{"source":"apache","extensions":["dvb"]},"video/vnd.fvt":{"source":"apache","extensions":["fvt"]},"video/vnd.hns.video":{"source":"apache"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"apache"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"apache"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"apache"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"apache"},"video/vnd.iptvforum.ttsavc":{"source":"apache"},"video/vnd.iptvforum.ttsmpeg2":{"source":"apache"},"video/vnd.motorola.video":{"source":"apache"},"video/vnd.motorola.videop":{"source":"apache"},"video/vnd.mpegurl":{"source":"apache","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"apache","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"apache"},"video/vnd.nokia.videovoip":{"source":"apache"},"video/vnd.objectvideo":{"source":"apache"},"video/vnd.sealed.mpeg1":{"source":"apache"},"video/vnd.sealed.mpeg4":{"source":"apache"},"video/vnd.sealed.swf":{"source":"apache"},"video/vnd.sealedmedia.softseal.mov":{"source":"apache"},"video/vnd.uvvu.mp4":{"source":"apache","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"apache","extensions":["viv"]},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},5962:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;"undefined"!=typeof navigator&&function(e,t){void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return t(e)}.call(exports,__webpack_require__,exports,module))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}(window||{},(function(window){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",initialDefaultFrame=-999999,subframeEnabled=!0,expressionsPlugin,isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),cachedColors={},bm_rounder=Math.round,bm_rnd,bm_pow=Math.pow,bm_sqrt=Math.sqrt,bm_abs=Math.abs,bm_floor=Math.floor,bm_max=Math.max,bm_min=Math.min,blitter=10,BMMath={};function ProjectInterface(){return{}}!function(){var e,t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],a=t.length;for(e=0;e<a;e+=1)BMMath[t[e]]=Math[t[e]]}(),BMMath.random=Math.random,BMMath.abs=function(e){if("object"===typeof e&&e.length){var t,a=createSizedArray(e.length),i=e.length;for(t=0;t<i;t+=1)a[t]=Math.abs(e[t]);return a}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(e){bm_rnd=e?Math.round:function(e){return e}}function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin=e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility=e.style.webkitBackfaceVisibility="visible",e.style.transformStyle=e.style.webkitTransformStyle=e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,a,i){this.type=e,this.currentTime=t,this.totalTime=a,this.direction=i<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,a,i){this.type=e,this.currentLoop=a,this.totalLoops=t,this.direction=i<0?-1:1}function BMSegmentStartEvent(e,t,a){this.type=e,this.firstFrame=t,this.totalFrames=a}function BMDestroyEvent(e,t){this.type=e,this.target=t}roundValues(!1);var createElementID=(_count=0,function(){return"__lottie_element_"+ ++_count}),_count;function HSVtoRGB(e,t,a){var i,s,n,r,o,p,c,l;switch(p=a*(1-t),c=a*(1-(o=6*e-(r=Math.floor(6*e)))*t),l=a*(1-(1-o)*t),r%6){case 0:i=a,s=l,n=p;break;case 1:i=c,s=a,n=p;break;case 2:i=p,s=a,n=l;break;case 3:i=p,s=c,n=a;break;case 4:i=l,s=p,n=a;break;case 5:i=a,s=p,n=c}return[i,s,n]}function RGBtoHSV(e,t,a){var i,s=Math.max(e,t,a),n=Math.min(e,t,a),r=s-n,o=0===s?0:r/s,p=s/255;switch(s){case n:i=0;break;case e:i=t-a+r*(t<a?6:0),i/=6*r;break;case t:i=a-e+2*r,i/=6*r;break;case a:i=e-t+4*r,i/=6*r}return[i,o,p]}function addSaturationToRGB(e,t){var a=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return a[1]+=t,a[1]>1?a[1]=1:a[1]<=0&&(a[1]=0),HSVtoRGB(a[0],a[1],a[2])}function addBrightnessToRGB(e,t){var a=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return a[2]+=t,a[2]>1?a[2]=1:a[2]<0&&(a[2]=0),HSVtoRGB(a[0],a[1],a[2])}function addHueToRGB(e,t){var a=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return a[0]+=t/360,a[0]>1?a[0]-=1:a[0]<0&&(a[0]+=1),HSVtoRGB(a[0],a[1],a[2])}var rgbToHex=function(){var e,t,a=[];for(e=0;e<256;e+=1)t=e.toString(16),a[e]=1==t.length?"0"+t:t;return function(e,t,i){return e<0&&(e=0),t<0&&(t=0),i<0&&(i=0),"#"+a[e]+a[t]+a[i]}}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,t){if(this._cbs[e])for(var a=this._cbs[e].length,i=0;i<a;i++)this._cbs[e][i](t)},addEventListener:function(e,t){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(t),function(){this.removeEventListener(e,t)}.bind(this)},removeEventListener:function(e,t){if(t){if(this._cbs[e]){for(var a=0,i=this._cbs[e].length;a<i;)this._cbs[e][a]===t&&(this._cbs[e].splice(a,1),a-=1,i-=1),a+=1;this._cbs[e].length||(this._cbs[e]=null)}}else this._cbs[e]=null}};var createTypedArray="function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(e,t){return"float32"===e?new Float32Array(t):"int16"===e?new Int16Array(t):"uint8c"===e?new Uint8ClampedArray(t):void 0}:function(e,t){var a,i=0,s=[];switch(e){case"int16":case"uint8c":a=1;break;default:a=1.1}for(i=0;i<t;i+=1)s.push(a);return s};function createSizedArray(e){return Array.apply(null,{length:e})}function createNS(e){return document.createElementNS(svgNS,e)}function createTag(e){return document.createElement(e)}function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var e,t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var getBlendMode=(blendModeEnums={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(e){return blendModeEnums[e]||""}),blendModeEnums,Matrix=function(){var e=Math.cos,t=Math.sin,a=Math.tan,i=Math.round;function s(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function n(a){if(0===a)return this;var i=e(a),s=t(a);return this._t(i,-s,0,0,s,i,0,0,0,0,1,0,0,0,0,1)}function r(a){if(0===a)return this;var i=e(a),s=t(a);return this._t(1,0,0,0,0,i,-s,0,0,s,i,0,0,0,0,1)}function o(a){if(0===a)return this;var i=e(a),s=t(a);return this._t(i,0,s,0,0,1,0,0,-s,0,i,0,0,0,0,1)}function p(a){if(0===a)return this;var i=e(a),s=t(a);return this._t(i,-s,0,0,s,i,0,0,0,0,1,0,0,0,0,1)}function c(e,t){return this._t(1,t,e,1,0,0)}function l(e,t){return this.shear(a(e),a(t))}function h(i,s){var n=e(s),r=t(s);return this._t(n,r,0,0,-r,n,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,a(i),1,0,0,0,0,1,0,0,0,0,1)._t(n,-r,0,0,r,n,0,0,0,0,1,0,0,0,0,1)}function m(e,t,a){return a||0===a||(a=1),1===e&&1===t&&1===a?this:this._t(e,0,0,0,0,t,0,0,0,0,a,0,0,0,0,1)}function d(e,t,a,i,s,n,r,o,p,c,l,h,m,d,u,f){return this.props[0]=e,this.props[1]=t,this.props[2]=a,this.props[3]=i,this.props[4]=s,this.props[5]=n,this.props[6]=r,this.props[7]=o,this.props[8]=p,this.props[9]=c,this.props[10]=l,this.props[11]=h,this.props[12]=m,this.props[13]=d,this.props[14]=u,this.props[15]=f,this}function u(e,t,a){return a=a||0,0!==e||0!==t||0!==a?this._t(1,0,0,0,0,1,0,0,0,0,1,0,e,t,a,1):this}function f(e,t,a,i,s,n,r,o,p,c,l,h,m,d,u,f){var v=this.props;if(1===e&&0===t&&0===a&&0===i&&0===s&&1===n&&0===r&&0===o&&0===p&&0===c&&1===l&&0===h)return v[12]=v[12]*e+v[15]*m,v[13]=v[13]*n+v[15]*d,v[14]=v[14]*l+v[15]*u,v[15]=v[15]*f,this._identityCalculated=!1,this;var g=v[0],x=v[1],y=v[2],b=v[3],E=v[4],k=v[5],S=v[6],P=v[7],w=v[8],_=v[9],C=v[10],A=v[11],T=v[12],M=v[13],D=v[14],F=v[15];return v[0]=g*e+x*s+y*p+b*m,v[1]=g*t+x*n+y*c+b*d,v[2]=g*a+x*r+y*l+b*u,v[3]=g*i+x*o+y*h+b*f,v[4]=E*e+k*s+S*p+P*m,v[5]=E*t+k*n+S*c+P*d,v[6]=E*a+k*r+S*l+P*u,v[7]=E*i+k*o+S*h+P*f,v[8]=w*e+_*s+C*p+A*m,v[9]=w*t+_*n+C*c+A*d,v[10]=w*a+_*r+C*l+A*u,v[11]=w*i+_*o+C*h+A*f,v[12]=T*e+M*s+D*p+F*m,v[13]=T*t+M*n+D*c+F*d,v[14]=T*a+M*r+D*l+F*u,v[15]=T*i+M*o+D*h+F*f,this._identityCalculated=!1,this}function v(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function g(e){for(var t=0;t<16;){if(e.props[t]!==this.props[t])return!1;t+=1}return!0}function x(e){var t;for(t=0;t<16;t+=1)e.props[t]=this.props[t]}function y(e){var t;for(t=0;t<16;t+=1)this.props[t]=e[t]}function b(e,t,a){return{x:e*this.props[0]+t*this.props[4]+a*this.props[8]+this.props[12],y:e*this.props[1]+t*this.props[5]+a*this.props[9]+this.props[13],z:e*this.props[2]+t*this.props[6]+a*this.props[10]+this.props[14]}}function E(e,t,a){return e*this.props[0]+t*this.props[4]+a*this.props[8]+this.props[12]}function k(e,t,a){return e*this.props[1]+t*this.props[5]+a*this.props[9]+this.props[13]}function S(e,t,a){return e*this.props[2]+t*this.props[6]+a*this.props[10]+this.props[14]}function P(e){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],a=this.props[5]/t,i=-this.props[1]/t,s=-this.props[4]/t,n=this.props[0]/t,r=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,o=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t;return[e[0]*a+e[1]*s+r,e[0]*i+e[1]*n+o,0]}function w(e){var t,a=e.length,i=[];for(t=0;t<a;t+=1)i[t]=P(e[t]);return i}function _(e,t,a){var i=createTypedArray("float32",6);if(this.isIdentity())i[0]=e[0],i[1]=e[1],i[2]=t[0],i[3]=t[1],i[4]=a[0],i[5]=a[1];else{var s=this.props[0],n=this.props[1],r=this.props[4],o=this.props[5],p=this.props[12],c=this.props[13];i[0]=e[0]*s+e[1]*r+p,i[1]=e[0]*n+e[1]*o+c,i[2]=t[0]*s+t[1]*r+p,i[3]=t[0]*n+t[1]*o+c,i[4]=a[0]*s+a[1]*r+p,i[5]=a[0]*n+a[1]*o+c}return i}function C(e,t,a){return this.isIdentity()?[e,t,a]:[e*this.props[0]+t*this.props[4]+a*this.props[8]+this.props[12],e*this.props[1]+t*this.props[5]+a*this.props[9]+this.props[13],e*this.props[2]+t*this.props[6]+a*this.props[10]+this.props[14]]}function A(e,t){if(this.isIdentity())return e+","+t;var a=this.props;return Math.round(100*(e*a[0]+t*a[4]+a[12]))/100+","+Math.round(100*(e*a[1]+t*a[5]+a[13]))/100}function T(){for(var e=0,t=this.props,a="matrix3d(";e<16;)a+=i(1e4*t[e])/1e4,a+=15===e?")":",",e+=1;return a}function M(e){return e<1e-6&&e>0||e>-1e-6&&e<0?i(1e4*e)/1e4:e}function D(){var e=this.props;return"matrix("+M(e[0])+","+M(e[1])+","+M(e[4])+","+M(e[5])+","+M(e[12])+","+M(e[13])+")"}return function(){this.reset=s,this.rotate=n,this.rotateX=r,this.rotateY=o,this.rotateZ=p,this.skew=l,this.skewFromAxis=h,this.shear=c,this.scale=m,this.setTransform=d,this.translate=u,this.transform=f,this.applyToPoint=b,this.applyToX=E,this.applyToY=k,this.applyToZ=S,this.applyToPointArray=C,this.applyToTriplePoints=_,this.applyToPointStringified=A,this.toCSS=T,this.to2dCSS=D,this.clone=x,this.cloneFromProps=y,this.equals=g,this.inversePoints=w,this.inversePoint=P,this._t=this.transform,this.isIdentity=v,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();!function(e,t){var a=this,i=t.pow(256,6),s=t.pow(2,52),n=2*s;function r(e){var t,a=e.length,i=this,s=0,n=i.i=i.j=0,r=i.S=[];for(a||(e=[a++]);s<256;)r[s]=s++;for(s=0;s<256;s++)r[s]=r[n=255&n+e[s%a]+(t=r[s])],r[n]=t;i.g=function(e){for(var t,a=0,s=i.i,n=i.j,r=i.S;e--;)t=r[s=255&s+1],a=256*a+r[255&(r[s]=r[n=255&n+t])+(r[n]=t)];return i.i=s,i.j=n,a}}function o(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function p(e,t){for(var a,i=e+"",s=0;s<i.length;)t[255&s]=255&(a^=19*t[255&s])+i.charCodeAt(s++);return c(t)}function c(e){return String.fromCharCode.apply(0,e)}t.seedrandom=function(l,h,m){var d=[],u=p(function e(t,a){var i,s=[],n=typeof t;if(a&&"object"==n)for(i in t)try{s.push(e(t[i],a-1))}catch(e){}return s.length?s:"string"==n?t:t+"\0"}((h=!0===h?{entropy:!0}:h||{}).entropy?[l,c(e)]:null===l?function(){try{void 0;var t=new Uint8Array(256);return(a.crypto||a.msCrypto).getRandomValues(t),c(t)}catch(t){var i=a.navigator,s=i&&i.plugins;return[+new Date,a,s,a.screen,c(e)]}}():l,3),d),f=new r(d),v=function(){for(var e=f.g(6),t=i,a=0;e<s;)e=256*(e+a),t*=256,a=f.g(1);for(;e>=n;)e/=2,t/=2,a>>>=1;return(e+a)/t};return v.int32=function(){return 0|f.g(4)},v.quick=function(){return f.g(4)/4294967296},v.double=v,p(c(f.S),e),(h.pass||m||function(e,a,i,s){return s&&(s.S&&o(s,f),e.state=function(){return o(f,{})}),i?(t.random=e,a):e})(v,u,"global"in h?h.global:this==t,h.state)},p(t.random(),e)}([],BMMath);var BezierFactory=function(){var e={getBezierEasing:function(e,a,i,s,n){var r=n||("bez_"+e+"_"+a+"_"+i+"_"+s).replace(/\./g,"p");if(t[r])return t[r];var o=new p([e,a,i,s]);return t[r]=o,o}},t={};var a="function"==typeof Float32Array;function i(e,t){return 1-3*t+3*e}function s(e,t){return 3*t-6*e}function n(e){return 3*e}function r(e,t,a){return((i(t,a)*e+s(t,a))*e+n(t))*e}function o(e,t,a){return 3*i(t,a)*e*e+2*s(t,a)*e+n(t)}function p(e){this._p=e,this._mSampleValues=a?new Float32Array(11):new Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return p.prototype={get:function(e){var t=this._p[0],a=this._p[1],i=this._p[2],s=this._p[3];return this._precomputed||this._precompute(),t===a&&i===s?e:0===e?0:1===e?1:r(this._getTForX(e),a,s)},_precompute:function(){var e=this._p[0],t=this._p[1],a=this._p[2],i=this._p[3];this._precomputed=!0,e===t&&a===i||this._calcSampleValues()},_calcSampleValues:function(){for(var e=this._p[0],t=this._p[2],a=0;a<11;++a)this._mSampleValues[a]=r(.1*a,e,t)},_getTForX:function(e){for(var t=this._p[0],a=this._p[2],i=this._mSampleValues,s=0,n=1;10!==n&&i[n]<=e;++n)s+=.1;var p=s+.1*((e-i[--n])/(i[n+1]-i[n])),c=o(p,t,a);return c>=.001?function(e,t,a,i){for(var s=0;s<4;++s){var n=o(t,a,i);if(0===n)return t;t-=(r(t,a,i)-e)/n}return t}(e,p,t,a):0===c?p:function(e,t,a,i,s){var n,o,p=0;do{(n=r(o=t+(a-t)/2,i,s)-e)>0?a=o:t=o}while(Math.abs(n)>1e-7&&++p<10);return o}(e,s,s+.1,t,a)}},e}();function extendPrototype(e,t){var a,i,s=e.length;for(a=0;a<s;a+=1)for(var n in i=e[a].prototype)i.hasOwnProperty(n)&&(t.prototype[n]=i[n])}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}function bezFunction(){Math;function e(e,t,a,i,s,n){var r=e*i+t*s+a*n-s*i-n*e-a*t;return r>-.001&&r<.001}var t=function(e,t,a,i){var s,n,r,o,p,c,l=defaultCurveSegments,h=0,m=[],d=[],u=bezier_length_pool.newElement();for(r=a.length,s=0;s<l;s+=1){for(p=s/(l-1),c=0,n=0;n<r;n+=1)o=bm_pow(1-p,3)*e[n]+3*bm_pow(1-p,2)*p*a[n]+3*(1-p)*bm_pow(p,2)*i[n]+bm_pow(p,3)*t[n],m[n]=o,null!==d[n]&&(c+=bm_pow(m[n]-d[n],2)),d[n]=m[n];c&&(h+=c=bm_sqrt(c)),u.percents[s]=p,u.lengths[s]=h}return u.addedLength=h,u};function a(e){this.segmentLength=0,this.points=new Array(e)}function i(e,t){this.partialLength=e,this.point=t}var s,n=(s={},function(t,n,r,o){var p=(t[0]+"_"+t[1]+"_"+n[0]+"_"+n[1]+"_"+r[0]+"_"+r[1]+"_"+o[0]+"_"+o[1]).replace(/\./g,"p");if(!s[p]){var c,l,h,m,d,u,f,v=defaultCurveSegments,g=0,x=null;2===t.length&&(t[0]!=n[0]||t[1]!=n[1])&&e(t[0],t[1],n[0],n[1],t[0]+r[0],t[1]+r[1])&&e(t[0],t[1],n[0],n[1],n[0]+o[0],n[1]+o[1])&&(v=2);var y=new a(v);for(h=r.length,c=0;c<v;c+=1){for(f=createSizedArray(h),d=c/(v-1),u=0,l=0;l<h;l+=1)m=bm_pow(1-d,3)*t[l]+3*bm_pow(1-d,2)*d*(t[l]+r[l])+3*(1-d)*bm_pow(d,2)*(n[l]+o[l])+bm_pow(d,3)*n[l],f[l]=m,null!==x&&(u+=bm_pow(f[l]-x[l],2));g+=u=bm_sqrt(u),y.points[c]=new i(u,f),x=f}y.segmentLength=g,s[p]=y}return s[p]});function r(e,t){var a=t.percents,i=t.lengths,s=a.length,n=bm_floor((s-1)*e),r=e*t.addedLength,o=0;if(n===s-1||0===n||r===i[n])return a[n];for(var p=i[n]>r?-1:1,c=!0;c;)if(i[n]<=r&&i[n+1]>r?(o=(r-i[n])/(i[n+1]-i[n]),c=!1):n+=p,n<0||n>=s-1){if(n===s-1)return a[n];c=!1}return a[n]+(a[n+1]-a[n])*o}var o=createTypedArray("float32",8);return{getSegmentsLength:function(e){var a,i=segments_length_pool.newElement(),s=e.c,n=e.v,r=e.o,o=e.i,p=e._length,c=i.lengths,l=0;for(a=0;a<p-1;a+=1)c[a]=t(n[a],n[a+1],r[a],o[a+1]),l+=c[a].addedLength;return s&&p&&(c[a]=t(n[a],n[0],r[a],o[0]),l+=c[a].addedLength),i.totalLength=l,i},getNewSegment:function(e,t,a,i,s,n,p){var c,l=r(s=s<0?0:s>1?1:s,p),h=r(n=n>1?1:n,p),m=e.length,d=1-l,u=1-h,f=d*d*d,v=l*d*d*3,g=l*l*d*3,x=l*l*l,y=d*d*u,b=l*d*u+d*l*u+d*d*h,E=l*l*u+d*l*h+l*d*h,k=l*l*h,S=d*u*u,P=l*u*u+d*h*u+d*u*h,w=l*h*u+d*h*h+l*u*h,_=l*h*h,C=u*u*u,A=h*u*u+u*h*u+u*u*h,T=h*h*u+u*h*h+h*u*h,M=h*h*h;for(c=0;c<m;c+=1)o[4*c]=Math.round(1e3*(f*e[c]+v*a[c]+g*i[c]+x*t[c]))/1e3,o[4*c+1]=Math.round(1e3*(y*e[c]+b*a[c]+E*i[c]+k*t[c]))/1e3,o[4*c+2]=Math.round(1e3*(S*e[c]+P*a[c]+w*i[c]+_*t[c]))/1e3,o[4*c+3]=Math.round(1e3*(C*e[c]+A*a[c]+T*i[c]+M*t[c]))/1e3;return o},getPointInSegment:function(e,t,a,i,s,n){var o=r(s,n),p=1-o;return[Math.round(1e3*(p*p*p*e[0]+(o*p*p+p*o*p+p*p*o)*a[0]+(o*o*p+p*o*o+o*p*o)*i[0]+o*o*o*t[0]))/1e3,Math.round(1e3*(p*p*p*e[1]+(o*p*p+p*o*p+p*p*o)*a[1]+(o*o*p+p*o*o+o*p*o)*i[1]+o*o*o*t[1]))/1e3]},buildBezierData:n,pointOnLine2D:e,pointOnLine3D:function(t,a,i,s,n,r,o,p,c){if(0===i&&0===r&&0===c)return e(t,a,s,n,o,p);var l,h=Math.sqrt(Math.pow(s-t,2)+Math.pow(n-a,2)+Math.pow(r-i,2)),m=Math.sqrt(Math.pow(o-t,2)+Math.pow(p-a,2)+Math.pow(c-i,2)),d=Math.sqrt(Math.pow(o-s,2)+Math.pow(p-n,2)+Math.pow(c-r,2));return(l=h>m?h>d?h-m-d:d-m-h:d>m?d-m-h:m-h-d)>-1e-4&&l<1e-4}}}!function(){for(var e=0,t=["ms","moz","webkit","o"],a=0;a<t.length&&!window.requestAnimationFrame;++a)window.requestAnimationFrame=window[t[a]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[a]+"CancelAnimationFrame"]||window[t[a]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,a){var i=(new Date).getTime(),s=Math.max(0,16-(i-e)),n=setTimeout((function(){t(i+s)}),s);return e=i+s,n}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}();var bez=bezFunction();function dataFunctionManager(){function e(e,t){for(var a=0,i=t.length;a<i;){if(t[a].id===e)return t[a].layers.__used?JSON.parse(JSON.stringify(t[a].layers)):(t[a].layers.__used=!0,t[a].layers);a+=1}}function t(e){var i,s,n;for(i=e.length-1;i>=0;i-=1)if("sh"==e[i].ty){if(e[i].ks.k.i)a(e[i].ks.k);else for(n=e[i].ks.k.length,s=0;s<n;s+=1)e[i].ks.k[s].s&&a(e[i].ks.k[s].s[0]),e[i].ks.k[s].e&&a(e[i].ks.k[s].e[0]);!0}else"gr"==e[i].ty&&t(e[i].it)}function a(e){var t,a=e.i.length;for(t=0;t<a;t+=1)e.i[t][0]+=e.v[t][0],e.i[t][1]+=e.v[t][1],e.o[t][0]+=e.v[t][0],e.o[t][1]+=e.v[t][1]}function i(e,t){var a=t?t.split("."):[100,100,100];return e[0]>a[0]||!(a[0]>e[0])&&(e[1]>a[1]||!(a[1]>e[1])&&(e[2]>a[2]||!(a[2]>e[2])&&void 0))}var s,n=function(){var e=[4,4,14];function t(e){var t,a,i,s=e.length;for(t=0;t<s;t+=1)5===e[t].ty&&(a=e[t],i=void 0,i=a.t.d,a.t.d={k:[{s:i,t:0}]})}return function(a){if(i(e,a.v)&&(t(a.layers),a.assets)){var s,n=a.assets.length;for(s=0;s<n;s+=1)a.assets[s].layers&&t(a.assets[s].layers)}}}(),r=(s=[4,7,99],function(e){if(e.chars&&!i(s,e.v)){var t,n,r,o,p,c=e.chars.length;for(t=0;t<c;t+=1)if(e.chars[t].data&&e.chars[t].data.shapes)for(r=(p=e.chars[t].data.shapes[0].it).length,n=0;n<r;n+=1)(o=p[n].ks.k).__converted||(a(p[n].ks.k),o.__converted=!0)}}),o=function(){var e=[4,1,9];function t(e){var a,i,s,n=e.length;for(a=0;a<n;a+=1)if("gr"===e[a].ty)t(e[a].it);else if("fl"===e[a].ty||"st"===e[a].ty)if(e[a].c.k&&e[a].c.k[0].i)for(s=e[a].c.k.length,i=0;i<s;i+=1)e[a].c.k[i].s&&(e[a].c.k[i].s[0]/=255,e[a].c.k[i].s[1]/=255,e[a].c.k[i].s[2]/=255,e[a].c.k[i].s[3]/=255),e[a].c.k[i].e&&(e[a].c.k[i].e[0]/=255,e[a].c.k[i].e[1]/=255,e[a].c.k[i].e[2]/=255,e[a].c.k[i].e[3]/=255);else e[a].c.k[0]/=255,e[a].c.k[1]/=255,e[a].c.k[2]/=255,e[a].c.k[3]/=255}function a(e){var a,i=e.length;for(a=0;a<i;a+=1)4===e[a].ty&&t(e[a].shapes)}return function(t){if(i(e,t.v)&&(a(t.layers),t.assets)){var s,n=t.assets.length;for(s=0;s<n;s+=1)t.assets[s].layers&&a(t.assets[s].layers)}}}(),p=function(){var e=[4,4,18];function t(e){var a,i,s;for(a=e.length-1;a>=0;a-=1)if("sh"==e[a].ty){if(e[a].ks.k.i)e[a].ks.k.c=e[a].closed;else for(s=e[a].ks.k.length,i=0;i<s;i+=1)e[a].ks.k[i].s&&(e[a].ks.k[i].s[0].c=e[a].closed),e[a].ks.k[i].e&&(e[a].ks.k[i].e[0].c=e[a].closed);!0}else"gr"==e[a].ty&&t(e[a].it)}function a(e){var a,i,s,n,r,o,p=e.length;for(i=0;i<p;i+=1){if((a=e[i]).hasMask){var c=a.masksProperties;for(n=c.length,s=0;s<n;s+=1)if(c[s].pt.k.i)c[s].pt.k.c=c[s].cl;else for(o=c[s].pt.k.length,r=0;r<o;r+=1)c[s].pt.k[r].s&&(c[s].pt.k[r].s[0].c=c[s].cl),c[s].pt.k[r].e&&(c[s].pt.k[r].e[0].c=c[s].cl)}4===a.ty&&t(a.shapes)}}return function(t){if(i(e,t.v)&&(a(t.layers),t.assets)){var s,n=t.assets.length;for(s=0;s<n;s+=1)t.assets[s].layers&&a(t.assets[s].layers)}}}();function c(e,t){0!==e.t.a.length||"m"in e.t.p||(e.singleShape=!0)}var l={completeData:function(i,s){i.__complete||(o(i),n(i),r(i),p(i),function i(s,n,r){var o,p,l,h,m,d,u=s.length;for(p=0;p<u;p+=1)if("ks"in(o=s[p])&&!o.completed){if(o.completed=!0,o.tt&&(s[p-1].td=o.tt),[],-1,o.hasMask){var f=o.masksProperties;for(h=f.length,l=0;l<h;l+=1)if(f[l].pt.k.i)a(f[l].pt.k);else for(d=f[l].pt.k.length,m=0;m<d;m+=1)f[l].pt.k[m].s&&a(f[l].pt.k[m].s[0]),f[l].pt.k[m].e&&a(f[l].pt.k[m].e[0])}0===o.ty?(o.layers=e(o.refId,n),i(o.layers,n,r)):4===o.ty?t(o.shapes):5==o.ty&&c(o,r)}}(i.layers,i.assets,s),i.__complete=!0)}};return l}var dataManager=dataFunctionManager(),FontManager=function(){var e={w:0,size:0,shapes:[]},t=[];function a(e,t){var a=createTag("span");a.style.fontFamily=t;var i=createTag("span");i.innerHTML="giItT1WQy@!-/#",a.style.position="absolute",a.style.left="-10000px",a.style.top="-10000px",a.style.fontSize="300px",a.style.fontVariant="normal",a.style.fontStyle="normal",a.style.fontWeight="normal",a.style.letterSpacing="0",a.appendChild(i),document.body.appendChild(a);var s=i.offsetWidth;return i.style.fontFamily=e+", "+t,{node:i,w:s,parent:a}}function i(e,t){var a=createNS("text");return a.style.fontSize="100px",a.setAttribute("font-family",t.fFamily),a.setAttribute("font-style",t.fStyle),a.setAttribute("font-weight",t.fWeight),a.textContent="1",t.fClass?(a.style.fontFamily="inherit",a.setAttribute("class",t.fClass)):a.style.fontFamily=t.fFamily,e.appendChild(a),createTag("canvas").getContext("2d").font=t.fWeight+" "+t.fStyle+" 100px "+t.fFamily,a}t=t.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var s=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this.initTime=Date.now()};return s.getCombinedCharacterCodes=function(){return t},s.prototype.addChars=function(e){if(e){this.chars||(this.chars=[]);var t,a,i,s=e.length,n=this.chars.length;for(t=0;t<s;t+=1){for(a=0,i=!1;a<n;)this.chars[a].style===e[t].style&&this.chars[a].fFamily===e[t].fFamily&&this.chars[a].ch===e[t].ch&&(i=!0),a+=1;i||(this.chars.push(e[t]),n+=1)}}},s.prototype.addFonts=function(e,t){if(e){if(this.chars)return this.isLoaded=!0,void(this.fonts=e.list);var s,n=e.list,r=n.length,o=r;for(s=0;s<r;s+=1){var p,c,l=!0;if(n[s].loaded=!1,n[s].monoCase=a(n[s].fFamily,"monospace"),n[s].sansCase=a(n[s].fFamily,"sans-serif"),n[s].fPath){if("p"===n[s].fOrigin||3===n[s].origin){if((p=document.querySelectorAll('style[f-forigin="p"][f-family="'+n[s].fFamily+'"], style[f-origin="3"][f-family="'+n[s].fFamily+'"]')).length>0&&(l=!1),l){var h=createTag("style");h.setAttribute("f-forigin",n[s].fOrigin),h.setAttribute("f-origin",n[s].origin),h.setAttribute("f-family",n[s].fFamily),h.type="text/css",h.innerHTML="@font-face {font-family: "+n[s].fFamily+"; font-style: normal; src: url('"+n[s].fPath+"');}",t.appendChild(h)}}else if("g"===n[s].fOrigin||1===n[s].origin){for(p=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),c=0;c<p.length;c++)-1!==p[c].href.indexOf(n[s].fPath)&&(l=!1);if(l){var m=createTag("link");m.setAttribute("f-forigin",n[s].fOrigin),m.setAttribute("f-origin",n[s].origin),m.type="text/css",m.rel="stylesheet",m.href=n[s].fPath,document.body.appendChild(m)}}else if("t"===n[s].fOrigin||2===n[s].origin){for(p=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),c=0;c<p.length;c++)n[s].fPath===p[c].src&&(l=!1);if(l){var d=createTag("link");d.setAttribute("f-forigin",n[s].fOrigin),d.setAttribute("f-origin",n[s].origin),d.setAttribute("rel","stylesheet"),d.setAttribute("href",n[s].fPath),t.appendChild(d)}}}else n[s].loaded=!0,o-=1;n[s].helper=i(t,n[s]),n[s].cache={},this.fonts.push(n[s])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},s.prototype.getCharData=function(t,a,i){for(var s=0,n=this.chars.length;s<n;){if(this.chars[s].ch===t&&this.chars[s].style===a&&this.chars[s].fFamily===i)return this.chars[s];s+=1}return console&&console.warn&&console.warn("Missing character from exported characters list: ",t,a,i),e},s.prototype.getFontByName=function(e){for(var t=0,a=this.fonts.length;t<a;){if(this.fonts[t].fName===e)return this.fonts[t];t+=1}return this.fonts[0]},s.prototype.measureText=function(e,t,a){var i=this.getFontByName(t),s=e.charCodeAt(0);if(!i.cache[s+1]){var n=i.helper;if(" "===e){n.textContent="|"+e+"|";var r=n.getComputedTextLength();n.textContent="||";var o=n.getComputedTextLength();i.cache[s+1]=(r-o)/100}else n.textContent=e,i.cache[s+1]=n.getComputedTextLength()/100}return i.cache[s+1]*a},s.prototype.checkLoadedFonts=function(){var e,t,a,i=this.fonts.length,s=i;for(e=0;e<i;e+=1)this.fonts[e].loaded?s-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(t=this.fonts[e].monoCase.node,a=this.fonts[e].monoCase.w,t.offsetWidth!==a?(s-=1,this.fonts[e].loaded=!0):(t=this.fonts[e].sansCase.node,a=this.fonts[e].sansCase.w,t.offsetWidth!==a&&(s-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==s&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFonts.bind(this),20):setTimeout(function(){this.isLoaded=!0}.bind(this),0)},s.prototype.loaded=function(){return this.isLoaded},s}(),PropertyFactory=function(){var e=initialDefaultFrame,t=Math.abs;function a(e,t){var a,s=this.offsetTime;"multidimensional"===this.propType&&(a=createTypedArray("float32",this.pv.length));for(var n,r,o,p,c,l,h,m,d=t.lastIndex,u=d,f=this.keyframes.length-1,v=!0;v;){if(n=this.keyframes[u],r=this.keyframes[u+1],u===f-1&&e>=r.t-s){n.h&&(n=r),d=0;break}if(r.t-s>e){d=u;break}u<f-1?u+=1:(d=0,v=!1)}var g,x=r.t-s,y=n.t-s;if(n.to){n.bezierData||(n.bezierData=bez.buildBezierData(n.s,r.s||n.e,n.to,n.ti));var b=n.bezierData;if(e>=x||e<y){var E=e>=x?b.points.length-1:0;for(p=b.points[E].point.length,o=0;o<p;o+=1)a[o]=b.points[E].point[o]}else{n.__fnct?m=n.__fnct:(m=BezierFactory.getBezierEasing(n.o.x,n.o.y,n.i.x,n.i.y,n.n).get,n.__fnct=m),c=m((e-y)/(x-y));var k,S=b.segmentLength*c,P=t.lastFrame<e&&t._lastKeyframeIndex===u?t._lastAddedLength:0;for(h=t.lastFrame<e&&t._lastKeyframeIndex===u?t._lastPoint:0,v=!0,l=b.points.length;v;){if(P+=b.points[h].partialLength,0===S||0===c||h===b.points.length-1){for(p=b.points[h].point.length,o=0;o<p;o+=1)a[o]=b.points[h].point[o];break}if(S>=P&&S<P+b.points[h+1].partialLength){for(k=(S-P)/b.points[h+1].partialLength,p=b.points[h].point.length,o=0;o<p;o+=1)a[o]=b.points[h].point[o]+(b.points[h+1].point[o]-b.points[h].point[o])*k;break}h<l-1?h+=1:v=!1}t._lastPoint=h,t._lastAddedLength=P-b.points[h].partialLength,t._lastKeyframeIndex=u}}else{var w,_,C,A,T;if(f=n.s.length,g=r.s||n.e,this.sh&&1!==n.h)if(e>=x)a[0]=g[0],a[1]=g[1],a[2]=g[2];else if(e<=y)a[0]=n.s[0],a[1]=n.s[1],a[2]=n.s[2];else{!function(e,t){var a=t[0],i=t[1],s=t[2],n=t[3],r=Math.atan2(2*i*n-2*a*s,1-2*i*i-2*s*s),o=Math.asin(2*a*i+2*s*n),p=Math.atan2(2*a*n-2*i*s,1-2*a*a-2*s*s);e[0]=r/degToRads,e[1]=o/degToRads,e[2]=p/degToRads}(a,function(e,t,a){var i,s,n,r,o,p=[],c=e[0],l=e[1],h=e[2],m=e[3],d=t[0],u=t[1],f=t[2],v=t[3];(s=c*d+l*u+h*f+m*v)<0&&(s=-s,d=-d,u=-u,f=-f,v=-v);1-s>1e-6?(i=Math.acos(s),n=Math.sin(i),r=Math.sin((1-a)*i)/n,o=Math.sin(a*i)/n):(r=1-a,o=a);return p[0]=r*c+o*d,p[1]=r*l+o*u,p[2]=r*h+o*f,p[3]=r*m+o*v,p}(i(n.s),i(g),(e-y)/(x-y)))}else for(u=0;u<f;u+=1)1!==n.h&&(e>=x?c=1:e<y?c=0:(n.o.x.constructor===Array?(n.__fnct||(n.__fnct=[]),n.__fnct[u]?m=n.__fnct[u]:(w=void 0===n.o.x[u]?n.o.x[0]:n.o.x[u],_=void 0===n.o.y[u]?n.o.y[0]:n.o.y[u],C=void 0===n.i.x[u]?n.i.x[0]:n.i.x[u],A=void 0===n.i.y[u]?n.i.y[0]:n.i.y[u],m=BezierFactory.getBezierEasing(w,_,C,A).get,n.__fnct[u]=m)):n.__fnct?m=n.__fnct:(w=n.o.x,_=n.o.y,C=n.i.x,A=n.i.y,m=BezierFactory.getBezierEasing(w,_,C,A).get,n.__fnct=m),c=m((e-y)/(x-y)))),g=r.s||n.e,T=1===n.h?n.s[u]:n.s[u]+(g[u]-n.s[u])*c,1===f?a=T:a[u]=T}return t.lastIndex=d,a}function i(e){var t=e[0]*degToRads,a=e[1]*degToRads,i=e[2]*degToRads,s=Math.cos(t/2),n=Math.cos(a/2),r=Math.cos(i/2),o=Math.sin(t/2),p=Math.sin(a/2),c=Math.sin(i/2);return[o*p*r+s*n*c,o*n*r+s*p*c,s*p*r-o*n*c,s*n*r-o*p*c]}function s(){var t=this.comp.renderedFrame-this.offsetTime,a=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==e&&(this._caching.lastFrame>=i&&t>=i||this._caching.lastFrame<a&&t<a))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var s=this.interpolateValue(t,this._caching);this.pv=s}return this._caching.lastFrame=t,this.pv}function n(e){var a;if("unidimensional"===this.propType)a=e*this.mult,t(this.v-a)>1e-5&&(this.v=a,this._mdf=!0);else for(var i=0,s=this.v.length;i<s;)a=e[i]*this.mult,t(this.v[i]-a)>1e-5&&(this.v[i]=a,this._mdf=!0),i+=1}function r(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=this._isFirstFrame;var e,t=this.effectsSequence.length,a=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)a=this.effectsSequence[e](a);this.setVValue(a),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function o(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function p(e,t,a,i){this.propType="unidimensional",this.mult=a||1,this.data=t,this.v=a?t.k*a:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=i,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=r,this.setVValue=n,this.addEffect=o}function c(e,t,a,i){this.propType="multidimensional",this.mult=a||1,this.data=t,this._mdf=!1,this.elem=e,this.container=i,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var s,p=t.k.length;this.v=createTypedArray("float32",p),this.pv=createTypedArray("float32",p);createTypedArray("float32",p);for(this.vel=createTypedArray("float32",p),s=0;s<p;s+=1)this.v[s]=t.k[s]*this.mult,this.pv[s]=t.k[s];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=r,this.setVValue=n,this.addEffect=o}function l(t,i,p,c){this.propType="unidimensional",this.keyframes=i.k,this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:e,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=i,this.mult=p||1,this.elem=t,this.container=c,this.comp=t.comp,this.v=e,this.pv=e,this._isFirstFrame=!0,this.getValue=r,this.setVValue=n,this.interpolateValue=a,this.effectsSequence=[s.bind(this)],this.addEffect=o}function h(t,i,p,c){this.propType="multidimensional";var l,h,m,d,u,f=i.k.length;for(l=0;l<f-1;l+=1)i.k[l].to&&i.k[l].s&&i.k[l].e&&(h=i.k[l].s,m=i.k[l].e,d=i.k[l].to,u=i.k[l].ti,(2===h.length&&(h[0]!==m[0]||h[1]!==m[1])&&bez.pointOnLine2D(h[0],h[1],m[0],m[1],h[0]+d[0],h[1]+d[1])&&bez.pointOnLine2D(h[0],h[1],m[0],m[1],m[0]+u[0],m[1]+u[1])||3===h.length&&(h[0]!==m[0]||h[1]!==m[1]||h[2]!==m[2])&&bez.pointOnLine3D(h[0],h[1],h[2],m[0],m[1],m[2],h[0]+d[0],h[1]+d[1],h[2]+d[2])&&bez.pointOnLine3D(h[0],h[1],h[2],m[0],m[1],m[2],m[0]+u[0],m[1]+u[1],m[2]+u[2]))&&(i.k[l].to=null,i.k[l].ti=null),h[0]===m[0]&&h[1]===m[1]&&0===d[0]&&0===d[1]&&0===u[0]&&0===u[1]&&(2===h.length||h[2]===m[2]&&0===d[2]&&0===u[2])&&(i.k[l].to=null,i.k[l].ti=null));this.effectsSequence=[s.bind(this)],this.keyframes=i.k,this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=p||1,this.elem=t,this.container=c,this.comp=t.comp,this.getValue=r,this.setVValue=n,this.interpolateValue=a,this.frameId=-1;var v=i.k[0].s.length;for(this.v=createTypedArray("float32",v),this.pv=createTypedArray("float32",v),l=0;l<v;l+=1)this.v[l]=e,this.pv[l]=e;this._caching={lastFrame:e,lastIndex:0,value:createTypedArray("float32",v)},this.addEffect=o}return{getProp:function(e,t,a,i,s){var n;if(t.k.length)if("number"==typeof t.k[0])n=new c(e,t,i,s);else switch(a){case 0:n=new l(e,t,i,s);break;case 1:n=new h(e,t,i,s)}else n=new p(e,t,i,s);return n.effectsSequence.length&&s.addDynamicProperty(n),n}}}(),TransformPropertyFactory=function(){function e(e,t,a){if(this.elem=e,this.frameId=-1,this.propType="transform",this.data=t,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(a||e),t.p&&t.p.s?(this.px=PropertyFactory.getProp(e,t.p.x,0,0,this),this.py=PropertyFactory.getProp(e,t.p.y,0,0,this),t.p.z&&(this.pz=PropertyFactory.getProp(e,t.p.z,0,0,this))):this.p=PropertyFactory.getProp(e,t.p||{k:[0,0,0]},1,0,this),t.rx){if(this.rx=PropertyFactory.getProp(e,t.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(e,t.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(e,t.rz,0,degToRads,this),t.or.k[0].ti){var i,s=t.or.k.length;for(i=0;i<s;i+=1)t.or.k[i].to=t.or.k[i].ti=null}this.or=PropertyFactory.getProp(e,t.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(e,t.r||{k:0},0,degToRads,this);t.sk&&(this.sk=PropertyFactory.getProp(e,t.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(e,t.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(e,t.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(e,t.s||{k:[100,100,100]},1,.01,this),t.o?this.o=PropertyFactory.getProp(e,t.o,0,.01,e):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return e.prototype={applyToMatrix:function(e){var t=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||t,this.a&&e.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&e.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&e.skewFromAxis(-this.sk.v,this.sa.v),this.r?e.rotate(-this.r.v):e.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?e.translate(this.px.v,this.py.v,-this.pz.v):e.translate(this.px.v,this.py.v,0):e.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(e){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||e){if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var t,a,i=this.elem.globalData.frameRate;if(this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(t=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/i,0),a=this.p.getValueAtTime(this.p.keyframes[0].t/i,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(t=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/i,0),a=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.01)/i,0)):(t=this.p.pv,a=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/i,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){t=[],a=[];var s=this.px,n=this.py;s._caching.lastFrame+s.offsetTime<=s.keyframes[0].t?(t[0]=s.getValueAtTime((s.keyframes[0].t+.01)/i,0),t[1]=n.getValueAtTime((n.keyframes[0].t+.01)/i,0),a[0]=s.getValueAtTime(s.keyframes[0].t/i,0),a[1]=n.getValueAtTime(n.keyframes[0].t/i,0)):s._caching.lastFrame+s.offsetTime>=s.keyframes[s.keyframes.length-1].t?(t[0]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/i,0),t[1]=n.getValueAtTime(n.keyframes[n.keyframes.length-1].t/i,0),a[0]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/i,0),a[1]=n.getValueAtTime((n.keyframes[n.keyframes.length-1].t-.01)/i,0)):(t=[s.pv,n.pv],a[0]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/i,s.offsetTime),a[1]=n.getValueAtTime((n._caching.lastFrame+n.offsetTime-.01)/i,n.offsetTime))}this.v.rotate(-Math.atan2(t[1]-a[1],t[0]-a[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}if(this.r){if(this.r.effectsSequence.length)return;this.pre.rotate(-this.r.v),this.appliedTransformations=4}else this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],e),e.prototype.addDynamicProperty=function(e){this._addDynamicProperty(e),this.elem.addDynamicProperty(e),this._isDirty=!0},e.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,a,i){return new e(t,a,i)}}}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var a=0;a<t;)this.v[a]=point_pool.newElement(),this.o[a]=point_pool.newElement(),this.i[a]=point_pool.newElement(),a+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(e,t,a,i,s){var n;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),a){case"v":n=this.v;break;case"i":n=this.i;break;case"o":n=this.o}(!n[i]||n[i]&&!s)&&(n[i]=point_pool.newElement()),n[i][0]=e,n[i][1]=t},ShapePath.prototype.setTripleAt=function(e,t,a,i,s,n,r,o){this.setXYAt(e,t,"v",r,o),this.setXYAt(a,i,"o",r,o),this.setXYAt(s,n,"i",r,o)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,a=this.o,i=this.i,s=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],i[0][0],i[0][1],a[0][0],a[0][1],0,!1),s=1);var n,r=this._length-1,o=this._length;for(n=s;n<o;n+=1)e.setTripleAt(t[r][0],t[r][1],i[r][0],i[r][1],a[r][0],a[r][1],n,!1),r-=1;return e};var ShapePropertyFactory=function(){function e(e,t,a){var i,s,n,r,o,p,c,l,h,m=a.lastIndex,d=this.keyframes;if(e<d[0].t-this.offsetTime)i=d[0].s[0],n=!0,m=0;else if(e>=d[d.length-1].t-this.offsetTime)i=d[d.length-1].s?d[d.length-1].s[0]:d[d.length-2].e[0],n=!0;else{for(var u,f,v=m,g=d.length-1,x=!0;x&&(u=d[v],!((f=d[v+1]).t-this.offsetTime>e));)v<g-1?v+=1:x=!1;if(m=v,!(n=1===u.h)){if(e>=f.t-this.offsetTime)l=1;else if(e<u.t-this.offsetTime)l=0;else{var y;u.__fnct?y=u.__fnct:(y=BezierFactory.getBezierEasing(u.o.x,u.o.y,u.i.x,u.i.y).get,u.__fnct=y),l=y((e-(u.t-this.offsetTime))/(f.t-this.offsetTime-(u.t-this.offsetTime)))}s=f.s?f.s[0]:u.e[0]}i=u.s[0]}for(p=t._length,c=i.i[0].length,a.lastIndex=m,r=0;r<p;r+=1)for(o=0;o<c;o+=1)h=n?i.i[r][o]:i.i[r][o]+(s.i[r][o]-i.i[r][o])*l,t.i[r][o]=h,h=n?i.o[r][o]:i.o[r][o]+(s.o[r][o]-i.o[r][o])*l,t.o[r][o]=h,h=n?i.v[r][o]:i.v[r][o]+(s.v[r][o]-i.v[r][o])*l,t.v[r][o]=h}function t(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,a=this.keyframes[this.keyframes.length-1].t-this.offsetTime,i=this._caching.lastFrame;return-999999!==i&&(i<t&&e<t||i>a&&e>a)||(this._caching.lastIndex=i<e?this._caching.lastIndex:0,this.interpolateShape(e,this.pv,this._caching)),this._caching.lastFrame=e,this.pv}function a(){this.paths=this.localShapeCollection}function i(e){(function(e,t){if(e._length!==t._length||e.c!==t.c)return!1;var a,i=e._length;for(a=0;a<i;a+=1)if(e.v[a][0]!==t.v[a][0]||e.v[a][1]!==t.v[a][1]||e.o[a][0]!==t.o[a][0]||e.o[a][1]!==t.o[a][1]||e.i[a][0]!==t.i[a][0]||e.i[a][1]!==t.i[a][1])return!1;return!0})(this.v,e)||(this.v=shape_pool.clone(e),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function s(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=!1;var e,t=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k,a=this.effectsSequence.length;for(e=0;e<a;e+=1)t=this.effectsSequence[e](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function n(e,t,i){this.propType="shape",this.comp=e.comp,this.container=e,this.elem=e,this.data=t,this.k=!1,this.kf=!1,this._mdf=!1;var s=3===i?t.pt.k:t.ks.k;this.v=shape_pool.clone(s),this.pv=shape_pool.clone(this.v),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=a,this.effectsSequence=[]}function r(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function o(e,i,s){this.propType="shape",this.comp=e.comp,this.elem=e,this.container=e,this.offsetTime=e.data.st,this.keyframes=3===s?i.pt.k:i.ks.k,this.k=!0,this.kf=!0;var n=this.keyframes[0].s[0].i.length;this.keyframes[0].s[0].i[0].length;this.v=shape_pool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,n),this.pv=shape_pool.clone(this.v),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=-999999,this.reset=a,this._caching={lastFrame:-999999,lastIndex:0},this.effectsSequence=[t.bind(this)]}n.prototype.interpolateShape=e,n.prototype.getValue=s,n.prototype.setVValue=i,n.prototype.addEffect=r,o.prototype.getValue=s,o.prototype.interpolateShape=e,o.prototype.setVValue=i,o.prototype.addEffect=r;var p=function(){var e=roundCorner;function t(e,t){this.v=shape_pool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=t.d,this.elem=e,this.comp=e.comp,this.frameId=-1,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return t.prototype={reset:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var t=this.p.v[0],a=this.p.v[1],i=this.s.v[0]/2,s=this.s.v[1]/2,n=3!==this.d,r=this.v;r.v[0][0]=t,r.v[0][1]=a-s,r.v[1][0]=n?t+i:t-i,r.v[1][1]=a,r.v[2][0]=t,r.v[2][1]=a+s,r.v[3][0]=n?t-i:t+i,r.v[3][1]=a,r.i[0][0]=n?t-i*e:t+i*e,r.i[0][1]=a-s,r.i[1][0]=n?t+i:t-i,r.i[1][1]=a-s*e,r.i[2][0]=n?t+i*e:t-i*e,r.i[2][1]=a+s,r.i[3][0]=n?t-i:t+i,r.i[3][1]=a+s*e,r.o[0][0]=n?t+i*e:t-i*e,r.o[0][1]=a-s,r.o[1][0]=n?t+i:t-i,r.o[1][1]=a+s*e,r.o[2][0]=n?t-i*e:t+i*e,r.o[2][1]=a+s,r.o[3][0]=n?t-i:t+i,r.o[3][1]=a-s*e}},extendPrototype([DynamicPropertyContainer],t),t}(),c=function(){function e(e,t){this.v=shape_pool.newElement(),this.v.setPathData(!0,0),this.elem=e,this.comp=e.comp,this.data=t,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),1===t.sy?(this.ir=PropertyFactory.getProp(e,t.ir,0,0,this),this.is=PropertyFactory.getProp(e,t.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(e,t.pt,0,0,this),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,degToRads,this),this.or=PropertyFactory.getProp(e,t.or,0,0,this),this.os=PropertyFactory.getProp(e,t.os,0,.01,this),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return e.prototype={reset:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var e,t,a,i,s=2*Math.floor(this.pt.v),n=2*Math.PI/s,r=!0,o=this.or.v,p=this.ir.v,c=this.os.v,l=this.is.v,h=2*Math.PI*o/(2*s),m=2*Math.PI*p/(2*s),d=-Math.PI/2;d+=this.r.v;var u=3===this.data.d?-1:1;for(this.v._length=0,e=0;e<s;e+=1){a=r?c:l,i=r?h:m;var f=(t=r?o:p)*Math.cos(d),v=t*Math.sin(d),g=0===f&&0===v?0:v/Math.sqrt(f*f+v*v),x=0===f&&0===v?0:-f/Math.sqrt(f*f+v*v);f+=+this.p.v[0],v+=+this.p.v[1],this.v.setTripleAt(f,v,f-g*i*a*u,v-x*i*a*u,f+g*i*a*u,v+x*i*a*u,e,!0),r=!r,d+=n*u}},convertPolygonToPath:function(){var e,t=Math.floor(this.pt.v),a=2*Math.PI/t,i=this.or.v,s=this.os.v,n=2*Math.PI*i/(4*t),r=-Math.PI/2,o=3===this.data.d?-1:1;for(r+=this.r.v,this.v._length=0,e=0;e<t;e+=1){var p=i*Math.cos(r),c=i*Math.sin(r),l=0===p&&0===c?0:c/Math.sqrt(p*p+c*c),h=0===p&&0===c?0:-p/Math.sqrt(p*p+c*c);p+=+this.p.v[0],c+=+this.p.v[1],this.v.setTripleAt(p,c,p-l*n*s*o,c-h*n*s*o,p+l*n*s*o,c+h*n*s*o,e,!0),r+=a*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],e),e}(),l=function(){function e(e,t){this.v=shape_pool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=e,this.comp=e.comp,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return e.prototype={convertRectToPath:function(){var e=this.p.v[0],t=this.p.v[1],a=this.s.v[0]/2,i=this.s.v[1]/2,s=bm_min(a,i,this.r.v),n=s*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(e+a,t-i+s,e+a,t-i+s,e+a,t-i+n,0,!0),this.v.setTripleAt(e+a,t+i-s,e+a,t+i-n,e+a,t+i-s,1,!0),0!==s?(this.v.setTripleAt(e+a-s,t+i,e+a-s,t+i,e+a-n,t+i,2,!0),this.v.setTripleAt(e-a+s,t+i,e-a+n,t+i,e-a+s,t+i,3,!0),this.v.setTripleAt(e-a,t+i-s,e-a,t+i-s,e-a,t+i-n,4,!0),this.v.setTripleAt(e-a,t-i+s,e-a,t-i+n,e-a,t-i+s,5,!0),this.v.setTripleAt(e-a+s,t-i,e-a+s,t-i,e-a+n,t-i,6,!0),this.v.setTripleAt(e+a-s,t-i,e+a-n,t-i,e+a-s,t-i,7,!0)):(this.v.setTripleAt(e-a,t+i,e-a+n,t+i,e-a,t+i,2),this.v.setTripleAt(e-a,t-i,e-a,t-i+n,e-a,t-i,3))):(this.v.setTripleAt(e+a,t-i+s,e+a,t-i+n,e+a,t-i+s,0,!0),0!==s?(this.v.setTripleAt(e+a-s,t-i,e+a-s,t-i,e+a-n,t-i,1,!0),this.v.setTripleAt(e-a+s,t-i,e-a+n,t-i,e-a+s,t-i,2,!0),this.v.setTripleAt(e-a,t-i+s,e-a,t-i+s,e-a,t-i+n,3,!0),this.v.setTripleAt(e-a,t+i-s,e-a,t+i-n,e-a,t+i-s,4,!0),this.v.setTripleAt(e-a+s,t+i,e-a+s,t+i,e-a+n,t+i,5,!0),this.v.setTripleAt(e+a-s,t+i,e+a-n,t+i,e+a-s,t+i,6,!0),this.v.setTripleAt(e+a,t+i-s,e+a,t+i-s,e+a,t+i-n,7,!0)):(this.v.setTripleAt(e-a,t-i,e-a+n,t-i,e-a,t-i,1,!0),this.v.setTripleAt(e-a,t+i,e-a,t+i-n,e-a,t+i,2,!0),this.v.setTripleAt(e+a,t+i,e+a-n,t+i,e+a,t+i,3,!0)))},getValue:function(e){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:a},extendPrototype([DynamicPropertyContainer],e),e}();var h={getShapeProp:function(e,t,a){var i;return 3===a||4===a?i=(3===a?t.pt:t.ks).k.length?new o(e,t,a):new n(e,t,a):5===a?i=new l(e,t):6===a?i=new p(e,t):7===a&&(i=new c(e,t)),i.k&&e.addDynamicProperty(i),i},getConstructorFunction:function(){return n},getKeyframedConstructorFunction:function(){return o}};return h}(),ShapeModifiers=function(){var e={},t={};return e.registerModifier=function(e,a){t[e]||(t[e]=a)},e.getModifier=function(e,a,i){return new t[e](a,i)},e}();function ShapeModifier(){}function TrimModifier(){}function RoundCornersModifier(){}function RepeaterModifier(){}function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}function DashProperty(e,t,a,i){this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=a,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(i);var s,n,r=t.length||0;for(s=0;s<r;s+=1)n=PropertyFactory.getProp(e,t[s].v,0,0,this),this.k=n.k||this.k,this.dataProps[s]={n:t[s].n,p:n};this.k||this.getValue(!0),this._isAnimated=this.k}function GradientProperty(e,t,a){this.data=t,this.c=createTypedArray("uint8c",4*t.p);var i=t.k.k[0].s?t.k.k[0].s.length-4*t.p:t.k.k.length-4*t.p;this.o=createTypedArray("float32",i),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=i,this.initDynamicPropertyContainer(a),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){var t={shape:e.sh,data:e,localShapeCollection:shapeCollection_pool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,a,i,s){var n=[];t<=1?n.push({s:e,e:t}):e>=1?n.push({s:e-1,e:t-1}):(n.push({s:e,e:1}),n.push({s:0,e:t-1}));var r,o,p=[],c=n.length;for(r=0;r<c;r+=1){var l,h;if((o=n[r]).e*s<i||o.s*s>i+a);else l=o.s*s<=i?0:(o.s*s-i)/a,h=o.e*s>=i+a?1:(o.e*s-i)/a,p.push([l,h])}return p.length||p.push([0,0]),p},TrimModifier.prototype.releasePathsData=function(e){var t,a=e.length;for(t=0;t<a;t+=1)segments_length_pool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,a,i;if(this._mdf||e){var s=this.o.v%360/360;if(s<0&&(s+=1),(t=(this.s.v>1?1:this.s.v<0?0:this.s.v)+s)>(a=(this.e.v>1?1:this.e.v<0?0:this.e.v)+s)){var n=t;t=a,a=n}t=1e-4*Math.round(1e4*t),a=1e-4*Math.round(1e4*a),this.sValue=t,this.eValue=a}else t=this.sValue,a=this.eValue;var r,o,p,c,l,h,m=this.shapes.length,d=0;if(a===t)for(r=0;r<m;r+=1)this.shapes[r].localShapeCollection.releaseShapes(),this.shapes[r].shape._mdf=!0,this.shapes[r].shape.paths=this.shapes[r].localShapeCollection;else if(1===a&&0===t||0===a&&1===t){if(this._mdf)for(r=0;r<m;r+=1)this.shapes[r].pathsData.length=0,this.shapes[r].shape._mdf=!0}else{var u,f,v=[];for(r=0;r<m;r+=1)if((u=this.shapes[r]).shape._mdf||this._mdf||e||2===this.m){if(p=(i=u.shape.paths)._length,h=0,!u.shape._mdf&&u.pathsData.length)h=u.totalShapeLength;else{for(c=this.releasePathsData(u.pathsData),o=0;o<p;o+=1)l=bez.getSegmentsLength(i.shapes[o]),c.push(l),h+=l.totalLength;u.totalShapeLength=h,u.pathsData=c}d+=h,u.shape._mdf=!0}else u.shape.paths=u.localShapeCollection;var g,x=t,y=a,b=0;for(r=m-1;r>=0;r-=1)if((u=this.shapes[r]).shape._mdf){for((f=u.localShapeCollection).releaseShapes(),2===this.m&&m>1?(g=this.calculateShapeEdges(t,a,u.totalShapeLength,b,d),b+=u.totalShapeLength):g=[[x,y]],p=g.length,o=0;o<p;o+=1){x=g[o][0],y=g[o][1],v.length=0,y<=1?v.push({s:u.totalShapeLength*x,e:u.totalShapeLength*y}):x>=1?v.push({s:u.totalShapeLength*(x-1),e:u.totalShapeLength*(y-1)}):(v.push({s:u.totalShapeLength*x,e:u.totalShapeLength}),v.push({s:0,e:u.totalShapeLength*(y-1)}));var E=this.addShapes(u,v[0]);if(v[0].s!==v[0].e){if(v.length>1)if(u.shape.paths.shapes[u.shape.paths._length-1].c){var k=E.pop();this.addPaths(E,f),E=this.addShapes(u,v[1],k)}else this.addPaths(E,f),E=this.addShapes(u,v[1]);this.addPaths(E,f)}}u.shape.paths=f}}},TrimModifier.prototype.addPaths=function(e,t){var a,i=e.length;for(a=0;a<i;a+=1)t.addShape(e[a])},TrimModifier.prototype.addSegment=function(e,t,a,i,s,n,r){s.setXYAt(t[0],t[1],"o",n),s.setXYAt(a[0],a[1],"i",n+1),r&&s.setXYAt(e[0],e[1],"v",n),s.setXYAt(i[0],i[1],"v",n+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,a,i){t.setXYAt(e[1],e[5],"o",a),t.setXYAt(e[2],e[6],"i",a+1),i&&t.setXYAt(e[0],e[4],"v",a),t.setXYAt(e[3],e[7],"v",a+1)},TrimModifier.prototype.addShapes=function(e,t,a){var i,s,n,r,o,p,c,l,h=e.pathsData,m=e.shape.paths.shapes,d=e.shape.paths._length,u=0,f=[],v=!0;for(a?(o=a._length,l=a._length):(a=shape_pool.newElement(),o=0,l=0),f.push(a),i=0;i<d;i+=1){for(p=h[i].lengths,a.c=m[i].c,n=m[i].c?p.length:p.length+1,s=1;s<n;s+=1)if(u+(r=p[s-1]).addedLength<t.s)u+=r.addedLength,a.c=!1;else{if(u>t.e){a.c=!1;break}t.s<=u&&t.e>=u+r.addedLength?(this.addSegment(m[i].v[s-1],m[i].o[s-1],m[i].i[s],m[i].v[s],a,o,v),v=!1):(c=bez.getNewSegment(m[i].v[s-1],m[i].v[s],m[i].o[s-1],m[i].i[s],(t.s-u)/r.addedLength,(t.e-u)/r.addedLength,p[s-1]),this.addSegmentFromArray(c,a,o,v),v=!1,a.c=!1),u+=r.addedLength,o+=1}if(m[i].c&&p.length){if(r=p[s-1],u<=t.e){var g=p[s-1].addedLength;t.s<=u&&t.e>=u+g?(this.addSegment(m[i].v[s-1],m[i].o[s-1],m[i].i[0],m[i].v[0],a,o,v),v=!1):(c=bez.getNewSegment(m[i].v[s-1],m[i].v[0],m[i].o[s-1],m[i].i[0],(t.s-u)/g,(t.e-u)/g,p[s-1]),this.addSegmentFromArray(c,a,o,v),v=!1,a.c=!1)}else a.c=!1;u+=r.addedLength,o+=1}if(a._length&&(a.setXYAt(a.v[l][0],a.v[l][1],"i",l),a.setXYAt(a.v[a._length-1][0],a.v[a._length-1][1],"o",a._length-1)),u>t.e)break;i<d-1&&(a=shape_pool.newElement(),v=!0,f.push(a),o=0)}return f},ShapeModifiers.registerModifier("tm",TrimModifier),extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var a=shape_pool.newElement();a.c=e.c;var i,s,n,r,o,p,c,l,h,m,d,u,f,v=e._length,g=0;for(i=0;i<v;i+=1)s=e.v[i],r=e.o[i],n=e.i[i],s[0]===r[0]&&s[1]===r[1]&&s[0]===n[0]&&s[1]===n[1]?0!==i&&i!==v-1||e.c?(o=0===i?e.v[v-1]:e.v[i-1],c=(p=Math.sqrt(Math.pow(s[0]-o[0],2)+Math.pow(s[1]-o[1],2)))?Math.min(p/2,t)/p:0,l=u=s[0]+(o[0]-s[0])*c,h=f=s[1]-(s[1]-o[1])*c,m=l-(l-s[0])*roundCorner,d=h-(h-s[1])*roundCorner,a.setTripleAt(l,h,m,d,u,f,g),g+=1,o=i===v-1?e.v[0]:e.v[i+1],c=(p=Math.sqrt(Math.pow(s[0]-o[0],2)+Math.pow(s[1]-o[1],2)))?Math.min(p/2,t)/p:0,l=m=s[0]+(o[0]-s[0])*c,h=d=s[1]+(o[1]-s[1])*c,u=l-(l-s[0])*roundCorner,f=h-(h-s[1])*roundCorner,a.setTripleAt(l,h,m,d,u,f,g),g+=1):(a.setTripleAt(s[0],s[1],r[0],r[1],n[0],n[1],g),g+=1):(a.setTripleAt(e.v[i][0],e.v[i][1],e.o[i][0],e.o[i][1],e.i[i][0],e.i[i][1],g),g+=1);return a},RoundCornersModifier.prototype.processShapes=function(e){var t,a,i,s,n,r,o=this.shapes.length,p=this.rd.v;if(0!==p)for(a=0;a<o;a+=1){if((n=this.shapes[a]).shape.paths,r=n.localShapeCollection,n.shape._mdf||this._mdf||e)for(r.releaseShapes(),n.shape._mdf=!0,t=n.shape.paths.shapes,s=n.shape.paths._length,i=0;i<s;i+=1)r.addShape(this.processPath(t[i],p));n.shape.paths=n.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},ShapeModifiers.registerModifier("rd",RoundCornersModifier),extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,a,i,s,n){var r=n?-1:1,o=i.s.v[0]+(1-i.s.v[0])*(1-s),p=i.s.v[1]+(1-i.s.v[1])*(1-s);e.translate(i.p.v[0]*r*s,i.p.v[1]*r*s,i.p.v[2]),t.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),t.rotate(-i.r.v*r*s),t.translate(i.a.v[0],i.a.v[1],i.a.v[2]),a.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),a.scale(n?1/o:o,n?1/p:p),a.translate(i.a.v[0],i.a.v[1],i.a.v[2])},RepeaterModifier.prototype.init=function(e,t,a,i){this.elem=e,this.arr=t,this.pos=a,this.elemsData=i,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[a]);for(;a>0;)a-=1,this._elements.unshift(t[a]),1;this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,a=e.length;for(t=0;t<a;t+=1)e[t]._processed=!1,"gr"===e[t].ty&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){e.length;var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var a,i=e.length;for(a=0;a<i;a+=1)e[a]._render=t,"gr"===e[a].ty&&this.changeGroupRender(e[a].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,a,i,s,n;if(this._mdf||e){var r,o=Math.ceil(this.c.v);if(this._groups.length<o){for(;this._groups.length<o;){var p={it:this.cloneElements(this._elements),ty:"gr"};p.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,p),this._groups.splice(0,0,p),this._currentCopies+=1}this.elem.reloadShapes()}for(n=0,i=0;i<=this._groups.length-1;i+=1)r=n<o,this._groups[i]._render=r,this.changeGroupRender(this._groups[i].it,r),n+=1;this._currentCopies=o;var c=this.o.v,l=c%1,h=c>0?Math.floor(c):Math.ceil(c),m=(this.tr.v.props,this.pMatrix.props),d=this.rMatrix.props,u=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var f,v,g=0;if(c>0){for(;g<h;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),g+=1;l&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,l,!1),g+=l)}else if(c<0){for(;g>h;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),g-=1;l&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-l,!0),g-=l)}for(i=1===this.data.m?0:this._currentCopies-1,s=1===this.data.m?1:-1,n=this._currentCopies;n;){if(v=(a=(t=this.elemsData[i].it)[t.length-1].transform.mProps.v.props).length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),0!==g){for((0!==i&&1===s||i!==this._currentCopies-1&&-1===s)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[15]),this.matrix.transform(u[0],u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),f=0;f<v;f+=1)a[f]=this.matrix.props[f];this.matrix.reset()}else for(this.matrix.reset(),f=0;f<v;f+=1)a[f]=this.matrix.props[f];g+=1,n-=1,i+=s}}else for(n=this._currentCopies,i=0,s=1;n;)a=(t=this.elemsData[i].it)[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,n-=1,i+=s},RepeaterModifier.prototype.addShape=function(){},ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shape_pool.release(this.shapes[e]);this._length=0},DashProperty.prototype.getValue=function(e){if((this.elem.globalData.frameId!==this.frameId||e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,a=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),t=0;t<a;t+=1)"o"!=this.dataProps[t].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),GradientProperty.prototype.comparePoints=function(e,t){for(var a=0,i=this.o.length/2;a<i;){if(Math.abs(e[4*a]-e[4*t+2*a])>.01)return!1;a+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,a,i,s=4*this.data.p;for(t=0;t<s;t+=1)a=t%4==0?100:255,i=Math.round(this.prop.v[t]*a),this.c[t]!==i&&(this.c[t]=i,this._cmdf=!e);if(this.o.length)for(s=this.prop.v.length,t=4*this.data.p;t<s;t+=1)a=t%2==0?100:1,i=t%2==0?Math.round(100*this.prop.v[t]):this.prop.v[t],this.o[t-4*this.data.p]!==i&&(this.o[t-4*this.data.p]=i,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty);var buildShapeString=function(e,t,a,i){if(0===t)return"";var s,n=e.o,r=e.i,o=e.v,p=" M"+i.applyToPointStringified(o[0][0],o[0][1]);for(s=1;s<t;s+=1)p+=" C"+i.applyToPointStringified(n[s-1][0],n[s-1][1])+" "+i.applyToPointStringified(r[s][0],r[s][1])+" "+i.applyToPointStringified(o[s][0],o[s][1]);return a&&t&&(p+=" C"+i.applyToPointStringified(n[s-1][0],n[s-1][1])+" "+i.applyToPointStringified(r[0][0],r[0][1])+" "+i.applyToPointStringified(o[0][0],o[0][1]),p+="z"),p},ImagePreloader=function(){var e=function(){var e=createTag("canvas");e.width=1,e.height=1;var t=e.getContext("2d");return t.fillStyle="#FF0000",t.fillRect(0,0,1,1),e}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function a(t){var a=function(e,t,a){var i="";if(e.e)i=e.p;else if(t){var s=e.p;-1!==s.indexOf("images/")&&(s=s.split("/")[1]),i=t+s}else i=a,i+=e.u?e.u:"",i+=e.p;return i}(t,this.assetsPath,this.path),i=createTag("img");i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded.bind(this),!1),i.addEventListener("error",function(){s.img=e,this._imageLoaded()}.bind(this),!1),i.src=a;var s={img:i,assetData:t};return s}function i(e,t){this.imagesLoadedCb=t;var a,i=e.length;for(a=0;a<i;a+=1)e[a].layers||(this.totalImages+=1,this.images.push(this._createImageData(e[a])))}function s(e){this.path=e||""}function n(e){this.assetsPath=e||""}function r(e){for(var t=0,a=this.images.length;t<a;){if(this.images[t].assetData===e)return this.images[t].img;t+=1}}function o(){this.imagesLoadedCb=null,this.images.length=0}function p(){return this.totalImages===this.loadedAssets}return function(){this.loadAssets=i,this.setAssetsPath=n,this.setPath=s,this.loaded=p,this.destroy=o,this.getImage=r,this._createImageData=a,this._imageLoaded=t,this.assetsPath="",this.path="",this.totalImages=0,this.loadedAssets=0,this.imagesLoadedCb=null,this.images=[]}}(),featureSupport=function(){var e={maskType:!0};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),e}(),filtersFactory=function(){var e={};return e.createFilter=function(e){var t=createNS("filter");return t.setAttribute("id",e),t.setAttribute("filterUnits","objectBoundingBox"),t.setAttribute("x","0%"),t.setAttribute("y","0%"),t.setAttribute("width","100%"),t.setAttribute("height","100%"),t},e.createAlphaToLuminanceFilter=function(){var e=createNS("feColorMatrix");return e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),e},e}(),assetLoader=function(){function e(e){return e.response&&"object"==typeof e.response?e.response:e.response&&"string"==typeof e.response?JSON.parse(e.response):e.responseText?JSON.parse(e.responseText):void 0}return{load:function(t,a,i){var s,n=new XMLHttpRequest;n.open("GET",t,!0);try{n.responseType="json"}catch(e){}n.send(),n.onreadystatechange=function(){if(4==n.readyState)if(200==n.status)s=e(n),a(s);else try{s=e(n),a(s)}catch(e){i&&i(e)}}}}}();function TextAnimatorProperty(e,t,a){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=a,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(a)}function TextAnimatorDataProperty(e,t,a){var i={propType:!1},s=PropertyFactory.getProp,n=t.a;this.a={r:n.r?s(e,n.r,0,degToRads,a):i,rx:n.rx?s(e,n.rx,0,degToRads,a):i,ry:n.ry?s(e,n.ry,0,degToRads,a):i,sk:n.sk?s(e,n.sk,0,degToRads,a):i,sa:n.sa?s(e,n.sa,0,degToRads,a):i,s:n.s?s(e,n.s,1,.01,a):i,a:n.a?s(e,n.a,1,0,a):i,o:n.o?s(e,n.o,0,.01,a):i,p:n.p?s(e,n.p,1,0,a):i,sw:n.sw?s(e,n.sw,0,0,a):i,sc:n.sc?s(e,n.sc,1,0,a):i,fc:n.fc?s(e,n.fc,1,0,a):i,fh:n.fh?s(e,n.fh,0,0,a):i,fs:n.fs?s(e,n.fs,0,.01,a):i,fb:n.fb?s(e,n.fb,0,.01,a):i,t:n.t?s(e,n.t,0,0,a):i},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,a),this.s.t=t.s.t}function LetterProps(e,t,a,i,s,n){this.o=e,this.sw=t,this.sc=a,this.fc=i,this.m=s,this.p=n,this._mdf={o:!0,sw:!!t,sc:!!a,fc:!!i,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,a=this._textData.a.length,i=PropertyFactory.getProp;for(e=0;e<a;e+=1)t=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,t,this);this._textData.p&&"m"in this._textData.p?(this._pathData={f:i(this._elem,this._textData.p.f,0,0,this),l:i(this._elem,this._textData.p.l,0,0,this),r:this._textData.p.r,m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=i(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,this._mdf||this._isFirstFrame||t||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var a,i,s,n,r,o,p,c,l,h,m,d,u,f,v,g,x,y,b,E=this._moreOptions.alignment.v,k=this._animatorsData,S=this._textData,P=this.mHelper,w=this._renderType,_=this.renderedLetters.length,C=(this.data,e.l);if(this._hasMaskedPath){if(b=this._pathData.m,!this._pathData.n||this._pathData._mdf){var A,T=b.v;for(this._pathData.r&&(T=T.reverse()),r={tLength:0,segments:[]},n=T._length-1,g=0,s=0;s<n;s+=1)A=bez.buildBezierData(T.v[s],T.v[s+1],[T.o[s][0]-T.v[s][0],T.o[s][1]-T.v[s][1]],[T.i[s+1][0]-T.v[s+1][0],T.i[s+1][1]-T.v[s+1][1]]),r.tLength+=A.segmentLength,r.segments.push(A),g+=A.segmentLength;s=n,b.v.c&&(A=bez.buildBezierData(T.v[s],T.v[0],[T.o[s][0]-T.v[s][0],T.o[s][1]-T.v[s][1]],[T.i[0][0]-T.v[0][0],T.i[0][1]-T.v[0][1]]),r.tLength+=A.segmentLength,r.segments.push(A),g+=A.segmentLength),this._pathData.pi=r}if(r=this._pathData.pi,o=this._pathData.f.v,m=0,h=1,c=0,l=!0,f=r.segments,o<0&&b.v.c)for(r.tLength<Math.abs(o)&&(o=-Math.abs(o)%r.tLength),h=(u=f[m=f.length-1].points).length-1;o<0;)o+=u[h].partialLength,(h-=1)<0&&(h=(u=f[m-=1].points).length-1);d=(u=f[m].points)[h-1],v=(p=u[h]).partialLength}n=C.length,a=0,i=0;var M,D,F,I,V=1.2*e.finalSize*.714,B=!0;F=k.length;var R,z,L,G,N,j,O,H,q,W,Y,K,U,X=-1,J=o,Z=m,$=h,Q=-1,ee="",te=this.defaultPropsArray;if(2===e.j||1===e.j){var ae=0,ie=0,se=2===e.j?-.5:-1,ne=0,re=!0;for(s=0;s<n;s+=1)if(C[s].n){for(ae&&(ae+=ie);ne<s;)C[ne].animatorJustifyOffset=ae,ne+=1;ae=0,re=!0}else{for(D=0;D<F;D+=1)(M=k[D].a).t.propType&&(re&&2===e.j&&(ie+=M.t.v*se),(R=k[D].s.getMult(C[s].anIndexes[D],S.a[D].s.totalChars)).length?ae+=M.t.v*R[0]*se:ae+=M.t.v*R*se);re=!1}for(ae&&(ae+=ie);ne<s;)C[ne].animatorJustifyOffset=ae,ne+=1}for(s=0;s<n;s+=1){if(P.reset(),N=1,C[s].n)a=0,i+=e.yOffset,i+=B?1:0,o=J,B=!1,0,this._hasMaskedPath&&(h=$,d=(u=f[m=Z].points)[h-1],v=(p=u[h]).partialLength,c=0),U=W=K=ee="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Q!==C[s].line){switch(e.j){case 1:o+=g-e.lineWidths[C[s].line];break;case 2:o+=(g-e.lineWidths[C[s].line])/2}Q=C[s].line}X!==C[s].ind&&(C[X]&&(o+=C[X].extra),o+=C[s].an/2,X=C[s].ind),o+=E[0]*C[s].an/200;var oe=0;for(D=0;D<F;D+=1)(M=k[D].a).p.propType&&((R=k[D].s.getMult(C[s].anIndexes[D],S.a[D].s.totalChars)).length?oe+=M.p.v[0]*R[0]:oe+=M.p.v[0]*R),M.a.propType&&((R=k[D].s.getMult(C[s].anIndexes[D],S.a[D].s.totalChars)).length?oe+=M.a.v[0]*R[0]:oe+=M.a.v[0]*R);for(l=!0;l;)c+v>=o+oe||!u?(x=(o+oe-c)/p.partialLength,L=d.point[0]+(p.point[0]-d.point[0])*x,G=d.point[1]+(p.point[1]-d.point[1])*x,P.translate(-E[0]*C[s].an/200,-E[1]*V/100),l=!1):u&&(c+=p.partialLength,(h+=1)>=u.length&&(h=0,f[m+=1]?u=f[m].points:b.v.c?(h=0,u=f[m=0].points):(c-=p.partialLength,u=null)),u&&(d=p,v=(p=u[h]).partialLength));z=C[s].an/2-C[s].add,P.translate(-z,0,0)}else z=C[s].an/2-C[s].add,P.translate(-z,0,0),P.translate(-E[0]*C[s].an/200,-E[1]*V/100,0);for(C[s].l/2,D=0;D<F;D+=1)(M=k[D].a).t.propType&&(R=k[D].s.getMult(C[s].anIndexes[D],S.a[D].s.totalChars),0===a&&0===e.j||(this._hasMaskedPath?R.length?o+=M.t.v*R[0]:o+=M.t.v*R:R.length?a+=M.t.v*R[0]:a+=M.t.v*R));for(C[s].l/2,e.strokeWidthAnim&&(O=e.sw||0),e.strokeColorAnim&&(j=e.sc?[e.sc[0],e.sc[1],e.sc[2]]:[0,0,0]),e.fillColorAnim&&e.fc&&(H=[e.fc[0],e.fc[1],e.fc[2]]),D=0;D<F;D+=1)(M=k[D].a).a.propType&&((R=k[D].s.getMult(C[s].anIndexes[D],S.a[D].s.totalChars)).length?P.translate(-M.a.v[0]*R[0],-M.a.v[1]*R[1],M.a.v[2]*R[2]):P.translate(-M.a.v[0]*R,-M.a.v[1]*R,M.a.v[2]*R));for(D=0;D<F;D+=1)(M=k[D].a).s.propType&&((R=k[D].s.getMult(C[s].anIndexes[D],S.a[D].s.totalChars)).length?P.scale(1+(M.s.v[0]-1)*R[0],1+(M.s.v[1]-1)*R[1],1):P.scale(1+(M.s.v[0]-1)*R,1+(M.s.v[1]-1)*R,1));for(D=0;D<F;D+=1){if(M=k[D].a,R=k[D].s.getMult(C[s].anIndexes[D],S.a[D].s.totalChars),M.sk.propType&&(R.length?P.skewFromAxis(-M.sk.v*R[0],M.sa.v*R[1]):P.skewFromAxis(-M.sk.v*R,M.sa.v*R)),M.r.propType&&(R.length?P.rotateZ(-M.r.v*R[2]):P.rotateZ(-M.r.v*R)),M.ry.propType&&(R.length?P.rotateY(M.ry.v*R[1]):P.rotateY(M.ry.v*R)),M.rx.propType&&(R.length?P.rotateX(M.rx.v*R[0]):P.rotateX(M.rx.v*R)),M.o.propType&&(R.length?N+=(M.o.v*R[0]-N)*R[0]:N+=(M.o.v*R-N)*R),e.strokeWidthAnim&&M.sw.propType&&(R.length?O+=M.sw.v*R[0]:O+=M.sw.v*R),e.strokeColorAnim&&M.sc.propType)for(q=0;q<3;q+=1)R.length?j[q]=j[q]+(M.sc.v[q]-j[q])*R[0]:j[q]=j[q]+(M.sc.v[q]-j[q])*R;if(e.fillColorAnim&&e.fc){if(M.fc.propType)for(q=0;q<3;q+=1)R.length?H[q]=H[q]+(M.fc.v[q]-H[q])*R[0]:H[q]=H[q]+(M.fc.v[q]-H[q])*R;M.fh.propType&&(H=R.length?addHueToRGB(H,M.fh.v*R[0]):addHueToRGB(H,M.fh.v*R)),M.fs.propType&&(H=R.length?addSaturationToRGB(H,M.fs.v*R[0]):addSaturationToRGB(H,M.fs.v*R)),M.fb.propType&&(H=R.length?addBrightnessToRGB(H,M.fb.v*R[0]):addBrightnessToRGB(H,M.fb.v*R))}}for(D=0;D<F;D+=1)(M=k[D].a).p.propType&&(R=k[D].s.getMult(C[s].anIndexes[D],S.a[D].s.totalChars),this._hasMaskedPath?R.length?P.translate(0,M.p.v[1]*R[0],-M.p.v[2]*R[1]):P.translate(0,M.p.v[1]*R,-M.p.v[2]*R):R.length?P.translate(M.p.v[0]*R[0],M.p.v[1]*R[1],-M.p.v[2]*R[2]):P.translate(M.p.v[0]*R,M.p.v[1]*R,-M.p.v[2]*R));if(e.strokeWidthAnim&&(W=O<0?0:O),e.strokeColorAnim&&(Y="rgb("+Math.round(255*j[0])+","+Math.round(255*j[1])+","+Math.round(255*j[2])+")"),e.fillColorAnim&&e.fc&&(K="rgb("+Math.round(255*H[0])+","+Math.round(255*H[1])+","+Math.round(255*H[2])+")"),this._hasMaskedPath){if(P.translate(0,-e.ls),P.translate(0,E[1]*V/100+i,0),S.p.p){y=(p.point[1]-d.point[1])/(p.point[0]-d.point[0]);var pe=180*Math.atan(y)/Math.PI;p.point[0]<d.point[0]&&(pe+=180),P.rotate(-pe*Math.PI/180)}P.translate(L,G,0),o-=E[0]*C[s].an/200,C[s+1]&&X!==C[s+1].ind&&(o+=C[s].an/2,o+=e.tr/1e3*e.finalSize)}else{switch(P.translate(a,i,0),e.ps&&P.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:P.translate(C[s].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[C[s].line]),0,0);break;case 2:P.translate(C[s].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[C[s].line])/2,0,0)}P.translate(0,-e.ls),P.translate(z,0,0),P.translate(E[0]*C[s].an/200,E[1]*V/100,0),a+=C[s].l+e.tr/1e3*e.finalSize}"html"===w?ee=P.toCSS():"svg"===w?ee=P.to2dCSS():te=[P.props[0],P.props[1],P.props[2],P.props[3],P.props[4],P.props[5],P.props[6],P.props[7],P.props[8],P.props[9],P.props[10],P.props[11],P.props[12],P.props[13],P.props[14],P.props[15]],U=N}_<=s?(I=new LetterProps(U,W,Y,K,ee,te),this.renderedLetters.push(I),_+=1,this.lettersChangedFlag=!0):(I=this.renderedLetters[s],this.lettersChangedFlag=I.update(U,W,Y,K,ee,te)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),LetterProps.prototype.update=function(e,t,a,i,s,n){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var r=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,r=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,r=!0),this.sc!==a&&(this.sc=a,this._mdf.sc=!0,r=!0),this.fc!==i&&(this.fc=i,this._mdf.fc=!0,r=!0),this.m!==s&&(this.m=s,this._mdf.m=!0,r=!0),!n.length||this.p[0]===n[0]&&this.p[1]===n[1]&&this.p[4]===n[4]&&this.p[5]===n[5]&&this.p[12]===n[12]&&this.p[13]===n[13]||(this.p=n,this._mdf.p=!0,r=!0),r},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var a in t)t.hasOwnProperty(a)&&(e[a]=t[a]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||e){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,a=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{this.lock=!0,this._mdf=!1;var i,s=this.effectsSequence.length,n=e||this.data.d.k[this.keysIndex].s;for(i=0;i<s;i+=1)n=a!==this.keysIndex?this.effectsSequence[i](n,n.t):this.effectsSequence[i](this.currentData,n.t);t!==n&&this.setCurrentData(n),this.pv=this.v=this.currentData,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,a=0,i=e.length;a<=i-1&&(e[a].s,!(a===i-1||e[a+1].t>t));)a+=1;return this.keysIndex!==a&&(this.keysIndex=a),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t=FontManager.getCombinedCharacterCodes(),a=[],i=0,s=e.length;i<s;)-1!==t.indexOf(e.charCodeAt(i))?a[a.length-1]+=e.charAt(i):a.push(e.charAt(i)),i+=1;return a},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,a,i,s,n,r,o,p=this.elem.globalData.fontManager,c=this.data,l=[],h=0,m=c.m.g,d=0,u=0,f=0,v=[],g=0,x=0,y=p.getFontByName(e.f),b=0,E=y.fStyle?y.fStyle.split(" "):[],k="normal",S="normal";for(a=E.length,t=0;t<a;t+=1)switch(E[t].toLowerCase()){case"italic":S="italic";break;case"bold":k="700";break;case"black":k="900";break;case"medium":k="500";break;case"regular":case"normal":k="400";break;case"light":case"thin":k="200"}e.fWeight=y.fWeight||k,e.fStyle=S,a=e.t.length,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),e.finalLineHeight=e.lh;var P,w=e.tr/1e3*e.finalSize;if(e.sz)for(var _,C,A=!0,T=e.sz[0],M=e.sz[1];A;){_=0,g=0,a=(C=this.buildFinalText(e.t)).length,w=e.tr/1e3*e.finalSize;var D=-1;for(t=0;t<a;t+=1)P=C[t].charCodeAt(0),i=!1," "===C[t]?D=t:13!==P&&3!==P||(g=0,i=!0,_+=e.finalLineHeight||1.2*e.finalSize),p.chars?(o=p.getCharData(C[t],y.fStyle,y.fFamily),b=i?0:o.w*e.finalSize/100):b=p.measureText(C[t],e.f,e.finalSize),g+b>T&&" "!==C[t]?(-1===D?a+=1:t=D,_+=e.finalLineHeight||1.2*e.finalSize,C.splice(t,D===t?1:0,"\r"),D=-1,g=0):(g+=b,g+=w);_+=y.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&M<_?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=C,a=e.finalText.length,A=!1)}g=-w,b=0;var F,I=0;for(t=0;t<a;t+=1)if(i=!1,P=(F=e.finalText[t]).charCodeAt(0)," "===F?s=" ":13===P||3===P?(I=0,v.push(g),x=g>x?g:x,g=-2*w,s="",i=!0,f+=1):s=e.finalText[t],p.chars?(o=p.getCharData(F,y.fStyle,p.getFontByName(e.f).fFamily),b=i?0:o.w*e.finalSize/100):b=p.measureText(s,e.f,e.finalSize)," "===F?I+=b+w:(g+=b+w+I,I=0),l.push({l:b,an:b,add:d,n:i,anIndexes:[],val:s,line:f,animatorJustifyOffset:0}),2==m){if(d+=b,""===s||" "===s||t===a-1){for(""!==s&&" "!==s||(d-=b);u<=t;)l[u].an=d,l[u].ind=h,l[u].extra=b,u+=1;h+=1,d=0}}else if(3==m){if(d+=b,""===s||t===a-1){for(""===s&&(d-=b);u<=t;)l[u].an=d,l[u].ind=h,l[u].extra=b,u+=1;d=0,h+=1}}else l[h].ind=h,l[h].extra=0,h+=1;if(e.l=l,x=g>x?g:x,v.push(g),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=x,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=v;var V,B,R=c.a;r=R.length;var z,L,G=[];for(n=0;n<r;n+=1){for((V=R[n]).a.sc&&(e.strokeColorAnim=!0),V.a.sw&&(e.strokeWidthAnim=!0),(V.a.fc||V.a.fh||V.a.fs||V.a.fb)&&(e.fillColorAnim=!0),L=0,z=V.s.b,t=0;t<a;t+=1)(B=l[t]).anIndexes[n]=L,(1==z&&""!==B.val||2==z&&""!==B.val&&" "!==B.val||3==z&&(B.n||" "==B.val||t==a-1)||4==z&&(B.n||t==a-1))&&(1===V.s.rn&&G.push(L),L+=1);c.a[n].s.totalChars=L;var N,j=-1;if(1===V.s.rn)for(t=0;t<a;t+=1)j!=(B=l[t]).anIndexes[n]&&(j=B.anIndexes[n],N=G.splice(Math.floor(Math.random()*G.length),1)[0]),B.anIndexes[n]=N}e.yOffset=e.finalLineHeight||1.2*e.finalSize,e.ls=e.ls||0,e.ascent=y.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=void 0===t?this.keysIndex:t;var a=this.copyData({},this.data.d.k[t].s);a=this.copyData(a,e),this.data.d.k[t].s=a,this.recalculate(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,a=Math.floor;function i(e,t){this._currentTextLength=-1,this.k=!1,this.data=t,this.elem=e,this.comp=e.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(e),this.s=PropertyFactory.getProp(e,t.s||{k:0},0,0,this),this.e="e"in t?PropertyFactory.getProp(e,t.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(e,t.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(e,t.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(e,t.ne||{k:0},0,0,this),this.a=PropertyFactory.getProp(e,t.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return i.prototype={getMult:function(i){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var s=BezierFactory.getBezierEasing(this.ne.v/100,0,1-this.xe.v/100,1).get,n=0,r=this.finalS,o=this.finalE,p=this.data.sh;if(2==p)n=s(n=o===r?i>=o?1:0:e(0,t(.5/(o-r)+(i-r)/(o-r),1)));else if(3==p)n=s(n=o===r?i>=o?0:1:1-e(0,t(.5/(o-r)+(i-r)/(o-r),1)));else if(4==p)o===r?n=0:(n=e(0,t(.5/(o-r)+(i-r)/(o-r),1)))<.5?n*=2:n=1-2*(n-.5),n=s(n);else if(5==p){if(o===r)n=0;else{var c=o-r,l=-c/2+(i=t(e(0,i+.5-r),o-r)),h=c/2;n=Math.sqrt(1-l*l/(h*h))}n=s(n)}else 6==p?(o===r?n=0:(i=t(e(0,i+.5-r),o-r),n=(1+Math.cos(Math.PI+2*Math.PI*i/(o-r)))/2),n=s(n)):(i>=a(r)&&(n=i-r<0?1-(r-i):e(0,t(o-i,1))),n=s(n));return n*this.a.v},getValue:function(e){this.iterateDynamicProperties(),this._mdf=e||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,e&&2===this.data.r&&(this.e.v=this._currentTextLength);var t=2===this.data.r?1:100/this.data.totalChars,a=this.o.v/t,i=this.s.v/t+a,s=this.e.v/t+a;if(i>s){var n=i;i=s,s=n}this.finalS=i,this.finalE=s}},extendPrototype([DynamicPropertyContainer],i),{getTextSelectorProp:function(e,t,a){return new i(e,t,a)}}}(),pool_factory=function(e,t,a,i){var s=0,n=e,r=createSizedArray(n);function o(){return s?r[s-=1]:t()}return{newElement:o,release:function(e){s===n&&(r=pooling.double(r),n*=2),a&&a(e),r[s]=e,s+=1}}},pooling={double:function(e){return e.concat(createSizedArray(e.length))}},point_pool=pool_factory(8,(function(){return createTypedArray("float32",2)})),shape_pool=(factory=pool_factory(4,(function(){return new ShapePath}),(function(e){var t,a=e._length;for(t=0;t<a;t+=1)point_pool.release(e.v[t]),point_pool.release(e.i[t]),point_pool.release(e.o[t]),e.v[t]=null,e.i[t]=null,e.o[t]=null;e._length=0,e.c=!1})),factory.clone=function(e){var t,a=factory.newElement(),i=void 0===e._length?e.v.length:e._length;for(a.setLength(i),a.c=e.c,t=0;t<i;t+=1)a.setTripleAt(e.v[t][0],e.v[t][1],e.o[t][0],e.o[t][1],e.i[t][0],e.i[t][1],t);return a},factory),factory,shapeCollection_pool=function(){var e={newShapeCollection:function(){var e;e=t?i[t-=1]:new ShapeCollection;return e},release:function(e){var s,n=e._length;for(s=0;s<n;s+=1)shape_pool.release(e.shapes[s]);e._length=0,t===a&&(i=pooling.double(i),a*=2);i[t]=e,t+=1}},t=0,a=4,i=createSizedArray(a);return e}(),segments_length_pool=pool_factory(8,(function(){return{lengths:[],totalLength:0}}),(function(e){var t,a=e.lengths.length;for(t=0;t<a;t+=1)bezier_length_pool.release(e.lengths[t]);e.lengths.length=0})),bezier_length_pool=pool_factory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",defaultCurveSegments),lengths:createTypedArray("float32",defaultCurveSegments)}}));function BaseRenderer(){}function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var a="";if(t&&t.title){var i=createNS("title"),s=createElementID();i.setAttribute("id",s),i.textContent=t.title,this.svgElement.appendChild(i),a+=s}if(t&&t.description){var n=createNS("desc"),r=createElementID();n.setAttribute("id",r),n.textContent=t.description,this.svgElement.appendChild(n),a+=" "+r}a&&this.svgElement.setAttribute("aria-labelledby",a);var o=createNS("defs");this.svgElement.appendChild(o);var p=createNS("g");this.svgElement.appendChild(p),this.layerElement=p,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!t||!1!==t.hideOnTransparent,viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||""},this.globalData={_mdf:!1,frameNum:-1,defs:o,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",className:t&&t.className||""},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!t||!1!==t.hideOnTransparent},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function MaskElement(e,t,a){this.data=e,this.element=t,this.globalData=a,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var i,s=this.globalData.defs,n=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(n),this.solidPath="";var r,o,p,c,l,h,m,d=this.masksProperties,u=0,f=[],v=createElementID(),g="clipPath",x="clip-path";for(i=0;i<n;i++)if(("a"!==d[i].mode&&"n"!==d[i].mode||d[i].inv||100!==d[i].o.k)&&(g="mask",x="mask"),"s"!=d[i].mode&&"i"!=d[i].mode||0!==u?c=null:((c=createNS("rect")).setAttribute("fill","#ffffff"),c.setAttribute("width",this.element.comp.data.w||0),c.setAttribute("height",this.element.comp.data.h||0),f.push(c)),r=createNS("path"),"n"!=d[i].mode){var y;if(u+=1,r.setAttribute("fill","s"===d[i].mode?"#000000":"#ffffff"),r.setAttribute("clip-rule","nonzero"),0!==d[i].x.k?(g="mask",x="mask",m=PropertyFactory.getProp(this.element,d[i].x,0,null,this.element),y=createElementID(),(l=createNS("filter")).setAttribute("id",y),(h=createNS("feMorphology")).setAttribute("operator","erode"),h.setAttribute("in","SourceGraphic"),h.setAttribute("radius","0"),l.appendChild(h),s.appendChild(l),r.setAttribute("stroke","s"===d[i].mode?"#000000":"#ffffff")):(h=null,m=null),this.storedData[i]={elem:r,x:m,expan:h,lastPath:"",lastOperator:"",filterId:y,lastRadius:0},"i"==d[i].mode){p=f.length;var b=createNS("g");for(o=0;o<p;o+=1)b.appendChild(f[o]);var E=createNS("mask");E.setAttribute("mask-type","alpha"),E.setAttribute("id",v+"_"+u),E.appendChild(r),s.appendChild(E),b.setAttribute("mask","url("+locationHref+"#"+v+"_"+u+")"),f.length=0,f.push(b)}else f.push(r);d[i].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[i]={elem:r,lastPath:"",op:PropertyFactory.getProp(this.element,d[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,d[i],3),invRect:c},this.viewData[i].prop.k||this.drawPath(d[i],this.viewData[i].prop.v,this.viewData[i])}else this.viewData[i]={op:PropertyFactory.getProp(this.element,d[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,d[i],3),elem:r,lastPath:""},s.appendChild(r);for(this.maskElement=createNS(g),n=f.length,i=0;i<n;i+=1)this.maskElement.appendChild(f[i]);u>0&&(this.maskElement.setAttribute("id",v),this.element.maskedElement.setAttribute(x,"url("+locationHref+"#"+v+")"),s.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}function HierarchyElement(){}function FrameElement(){}function TransformElement(){}function RenderableElement(){}function RenderableDOMElement(){}function ProcessedElement(e,t){this.elem=e,this.pos=t}function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=!0===e.hd,this.pElem=createNS("path"),this.msElem=null}function SVGShapeData(e,t,a){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=a,this.lvl=t,this._isAnimated=!!a.k;for(var i=0,s=e.length;i<s;){if(e[i].mProps.dynamicProperties.length){this._isAnimated=!0;break}i+=1}}function SVGTransformData(e,t,a){this.transform={mProps:e,op:t,container:a},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}function SVGStrokeStyleData(e,t,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=a,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(e,t,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=a}function SVGGradientFillStyleData(e,t,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,a)}function SVGGradientStrokeStyleData(e,t,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,a),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}BaseRenderer.prototype.checkLayers=function(e){var t,a,i=this.layers.length;for(this.completeLayers=!0,t=i-1;t>=0;t--)this.elements[t]||(a=this.layers[t]).ip-a.st<=e-this.layers[t].st&&a.op-a.st>e-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 13:return this.createCamera(e)}return this.createNull(e)},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){this.completeLayers=!1;var t,a,i=e.length,s=this.layers.length;for(t=0;t<i;t+=1)for(a=0;a<s;){if(this.layers[a].id==e[t].id){this.layers[a]=e[t];break}a+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,a){for(var i=this.elements,s=this.layers,n=0,r=s.length;n<r;)s[n].ind==t&&(i[n]&&!0!==i[n]?(a.push(i[n]),i[n].setAsParent(),void 0!==s[n].parent?this.buildElementParenting(e,s[n].parent,a):e.setHierarchy(a)):(this.buildItem(n),this.addPendingElement(e))),n+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,a=e.length;for(t=0;t<a;t+=1)if(e[t].xt){var i=this.createComp(e[t]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}},extendPrototype([BaseRenderer],SVGRenderer),SVGRenderer.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRenderer.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRenderer.prototype.createText=function(e){return new SVGTextElement(e,this.globalData,this)},SVGRenderer.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},SVGRenderer.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRenderer.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)"),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var a=createNS("clipPath"),i=createNS("rect");i.setAttribute("width",e.w),i.setAttribute("height",e.h),i.setAttribute("x",0),i.setAttribute("y",0);var s=createElementID();a.setAttribute("id",s),a.appendChild(i),this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+s+")"),t.appendChild(a),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRenderer.prototype.destroy=function(){this.animationItem.wrapper.innerHTML="",this.layerElement=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e++)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRenderer.prototype.updateContainerSize=function(){},SVGRenderer.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!=this.layers[e].ty){t[e]=!0;var a=this.createItem(this.layers[e]);t[e]=a,expressionsPlugin&&(0===this.layers[e].ty&&this.globalData.projectInterface.registerComposition(a),a.initExpressions()),this.appendElementInPos(a,e),this.layers[e].tt&&(this.elements[e-1]&&!0!==this.elements[e-1]?a.setMatte(t[e-1].layerId):(this.buildItem(e-1),this.addPendingElement(a)))}},SVGRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,a=this.elements.length;t<a;){if(this.elements[t]===e){e.setMatte(this.elements[t-1].layerId);break}t+=1}}},SVGRenderer.prototype.renderFrame=function(e){if(this.renderedFrame!==e&&!this.destroyed){null===e?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var t,a=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=a-1;t>=0;t--)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<a;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRenderer.prototype.appendElementInPos=function(e,t){var a=e.getBaseElement();if(a){for(var i,s=0;s<t;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement()&&(i=this.elements[s].getBaseElement()),s+=1;i?this.layerElement.insertBefore(a,i):this.layerElement.appendChild(a)}},SVGRenderer.prototype.hide=function(){this.layerElement.style.display="none"},SVGRenderer.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseRenderer],CanvasRenderer),CanvasRenderer.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRenderer.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRenderer.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},CanvasRenderer.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRenderer.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRenderer.prototype.ctxTransform=function(e){if(1!==e[0]||0!==e[1]||0!==e[4]||1!==e[5]||0!==e[12]||0!==e[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(e);var t=this.contextData.cTr.props;this.transformMat.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var a=this.contextData.cTr.props;this.canvasContext.setTransform(a[0],a[1],a[4],a[5],a[12],a[13])}else this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRenderer.prototype.ctxOpacity=function(e){if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=e<0?0:e,void(this.globalData.currentGlobalAlpha=this.contextData.cO);this.contextData.cO*=e<0?0:e,this.globalData.currentGlobalAlpha!==this.contextData.cO&&(this.canvasContext.globalAlpha=this.contextData.cO,this.globalData.currentGlobalAlpha=this.contextData.cO)},CanvasRenderer.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRenderer.prototype.save=function(e){if(this.renderConfig.clearCanvas){e&&this.canvasContext.save();var t=this.contextData.cTr.props;this.contextData._length<=this.contextData.cArrPos&&this.contextData.duplicate();var a,i=this.contextData.saved[this.contextData.cArrPos];for(a=0;a<16;a+=1)i[a]=t[a];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1}else this.canvasContext.save()},CanvasRenderer.prototype.restore=function(e){if(this.renderConfig.clearCanvas){e&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var t,a=this.contextData.saved[this.contextData.cArrPos],i=this.contextData.cTr.props;for(t=0;t<16;t+=1)i[t]=a[t];this.canvasContext.setTransform(a[0],a[1],a[4],a[5],a[12],a[13]),a=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=a,this.globalData.currentGlobalAlpha!==a&&(this.canvasContext.globalAlpha=a,this.globalData.currentGlobalAlpha=a)}else this.canvasContext.restore()},CanvasRenderer.prototype.configAnimation=function(e){this.animationItem.wrapper?(this.animationItem.container=createTag("canvas"),this.animationItem.container.style.width="100%",this.animationItem.container.style.height="100%",this.animationItem.container.style.transformOrigin=this.animationItem.container.style.mozTransformOrigin=this.animationItem.container.style.webkitTransformOrigin=this.animationItem.container.style["-webkit-transform"]="0px 0px 0px",this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className)):this.canvasContext=this.renderConfig.context,this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(e.layers.length),this.updateContainerSize()},CanvasRenderer.prototype.updateContainerSize=function(){var e,t,a,i;if(this.reset(),this.animationItem.wrapper&&this.animationItem.container?(e=this.animationItem.wrapper.offsetWidth,t=this.animationItem.wrapper.offsetHeight,this.animationItem.container.setAttribute("width",e*this.renderConfig.dpr),this.animationItem.container.setAttribute("height",t*this.renderConfig.dpr)):(e=this.canvasContext.canvas.width*this.renderConfig.dpr,t=this.canvasContext.canvas.height*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var s=this.renderConfig.preserveAspectRatio.split(" "),n=s[1]||"meet",r=s[0]||"xMidYMid",o=r.substr(0,4),p=r.substr(4);a=e/t,(i=this.transformCanvas.w/this.transformCanvas.h)>a&&"meet"===n||i<a&&"slice"===n?(this.transformCanvas.sx=e/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=t/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===o&&(i<a&&"meet"===n||i>a&&"slice"===n)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===o&&(i<a&&"meet"===n||i>a&&"slice"===n)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===p&&(i>a&&"meet"===n||i<a&&"slice"===n)?(t-this.transformCanvas.h*(e/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===p&&(i>a&&"meet"===n||i<a&&"slice"===n)?(t-this.transformCanvas.h*(e/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"==this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=e/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRenderer.prototype.destroy=function(){var e;for(this.renderConfig.clearCanvas&&(this.animationItem.wrapper.innerHTML=""),e=(this.layers?this.layers.length:0)-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRenderer.prototype.renderFrame=function(e,t){if((this.renderedFrame!==e||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==e){this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var a,i=this.layers.length;for(this.completeLayers||this.checkLayers(e),a=0;a<i;a++)(this.completeLayers||this.elements[a])&&this.elements[a].prepareFrame(e-this.layers[a].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),a=i-1;a>=0;a-=1)(this.completeLayers||this.elements[a])&&this.elements[a].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRenderer.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!=this.layers[e].ty){var a=this.createItem(this.layers[e],this,this.globalData);t[e]=a,a.initExpressions()}},CanvasRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){this.pendingElements.pop().checkParenting()}},CanvasRenderer.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRenderer.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([BaseRenderer],HybridRenderer),HybridRenderer.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){this.pendingElements.pop().checkParenting()}},HybridRenderer.prototype.appendElementInPos=function(e,t){var a=e.getBaseElement();if(a){var i=this.layers[t];if(i.ddd&&this.supports3d)this.addTo3dContainer(a,t);else if(this.threeDElements)this.addTo3dContainer(a,t);else{for(var s,n,r=0;r<t;)this.elements[r]&&!0!==this.elements[r]&&this.elements[r].getBaseElement&&(n=this.elements[r],s=(this.layers[r].ddd?this.getThreeDContainerByPos(r):n.getBaseElement())||s),r+=1;s?i.ddd&&this.supports3d||this.layerElement.insertBefore(a,s):i.ddd&&this.supports3d||this.layerElement.appendChild(a)}}},HybridRenderer.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRenderer.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextElement(e,this.globalData,this)},HybridRenderer.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRenderer.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)},HybridRenderer.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRenderer.prototype.createNull=SVGRenderer.prototype.createNull,HybridRenderer.prototype.getThreeDContainerByPos=function(e){for(var t=0,a=this.threeDElements.length;t<a;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}},HybridRenderer.prototype.createThreeDContainer=function(e,t){var a=createTag("div");styleDiv(a);var i=createTag("div");styleDiv(i),"3d"===t&&(a.style.width=this.globalData.compSize.w+"px",a.style.height=this.globalData.compSize.h+"px",a.style.transformOrigin=a.style.mozTransformOrigin=a.style.webkitTransformOrigin="50% 50%",i.style.transform=i.style.webkitTransform="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)"),a.appendChild(i);var s={container:i,perspectiveElem:a,startPos:e,endPos:e,type:t};return this.threeDElements.push(s),s},HybridRenderer.prototype.build3dContainers=function(){var e,t,a=this.layers.length,i="";for(e=0;e<a;e+=1)this.layers[e].ddd&&3!==this.layers[e].ty?("3d"!==i&&(i="3d",t=this.createThreeDContainer(e,"3d")),t.endPos=Math.max(t.endPos,e)):("2d"!==i&&(i="2d",t=this.createThreeDContainer(e,"2d")),t.endPos=Math.max(t.endPos,e));for(e=(a=this.threeDElements.length)-1;e>=0;e--)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRenderer.prototype.addTo3dContainer=function(e,t){for(var a=0,i=this.threeDElements.length;a<i;){if(t<=this.threeDElements[a].endPos){for(var s,n=this.threeDElements[a].startPos;n<t;)this.elements[n]&&this.elements[n].getBaseElement&&(s=this.elements[n].getBaseElement()),n+=1;s?this.threeDElements[a].container.insertBefore(e,s):this.threeDElements[a].container.appendChild(e);break}a+=1}},HybridRenderer.prototype.configAnimation=function(e){var t=createTag("div"),a=this.animationItem.wrapper;t.style.width=e.w+"px",t.style.height=e.h+"px",this.resizerElem=t,styleDiv(t),t.style.transformStyle=t.style.webkitTransformStyle=t.style.mozTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),a.appendChild(t),t.style.overflow="hidden";var i=createNS("svg");i.setAttribute("width","1"),i.setAttribute("height","1"),styleDiv(i),this.resizerElem.appendChild(i);var s=createNS("defs");i.appendChild(s),this.data=e,this.setupGlobalData(e,i),this.globalData.defs=s,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRenderer.prototype.destroy=function(){this.animationItem.wrapper.innerHTML="",this.animationItem.container=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e++)this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRenderer.prototype.updateContainerSize=function(){var e,t,a,i,s=this.animationItem.wrapper.offsetWidth,n=this.animationItem.wrapper.offsetHeight,r=s/n;this.globalData.compSize.w/this.globalData.compSize.h>r?(e=s/this.globalData.compSize.w,t=s/this.globalData.compSize.w,a=0,i=(n-this.globalData.compSize.h*(s/this.globalData.compSize.w))/2):(e=n/this.globalData.compSize.h,t=n/this.globalData.compSize.h,a=(s-this.globalData.compSize.w*(n/this.globalData.compSize.h))/2,i=0),this.resizerElem.style.transform=this.resizerElem.style.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+a+","+i+",0,1)"},HybridRenderer.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRenderer.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRenderer.prototype.show=function(){this.resizerElem.style.display="block"},HybridRenderer.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e,t=this.globalData.compSize.w,a=this.globalData.compSize.h,i=this.threeDElements.length;for(e=0;e<i;e+=1)this.threeDElements[e].perspectiveElem.style.perspective=this.threeDElements[e].perspectiveElem.style.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(a,2))+"px"}},HybridRenderer.prototype.searchExtraCompositions=function(e){var t,a=e.length,i=createTag("div");for(t=0;t<a;t+=1)if(e[t].xt){var s=this.createComp(e[t],i,this.globalData.comp,null);s.initExpressions(),this.globalData.projectInterface.registerComposition(s)}},MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t,a=this.element.finalTransform.mat,i=this.masksProperties.length;for(t=0;t<i;t++)if((this.viewData[t].prop._mdf||e)&&this.drawPath(this.masksProperties[t],this.viewData[t].prop.v,this.viewData[t]),(this.viewData[t].op._mdf||e)&&this.viewData[t].elem.setAttribute("fill-opacity",this.viewData[t].op.v),"n"!==this.masksProperties[t].mode&&(this.viewData[t].invRect&&(this.element.finalTransform.mProp._mdf||e)&&(this.viewData[t].invRect.setAttribute("x",-a.props[12]),this.viewData[t].invRect.setAttribute("y",-a.props[13])),this.storedData[t].x&&(this.storedData[t].x._mdf||e))){var s=this.storedData[t].expan;this.storedData[t].x.v<0?("erode"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="erode",this.storedData[t].elem.setAttribute("filter","url("+locationHref+"#"+this.storedData[t].filterId+")")),s.setAttribute("radius",-this.storedData[t].x.v)):("dilate"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="dilate",this.storedData[t].elem.setAttribute("filter",null)),this.storedData[t].elem.setAttribute("stroke-width",2*this.storedData[t].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(e,t,a){var i,s,n=" M"+t.v[0][0]+","+t.v[0][1];for(s=t._length,i=1;i<s;i+=1)n+=" C"+t.o[i-1][0]+","+t.o[i-1][1]+" "+t.i[i][0]+","+t.i[i][1]+" "+t.v[i][0]+","+t.v[i][1];if(t.c&&s>1&&(n+=" C"+t.o[i-1][0]+","+t.o[i-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),a.lastPath!==n){var r="";a.elem&&(t.c&&(r=e.inv?this.solidPath+n:n),a.elem.setAttribute("d",r)),a.lastPath=n}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(e){this.hierarchy=e},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(e,t){var a,i=this.dynamicProperties.length;for(a=0;a<i;a+=1)(t||this._isParent&&"transform"===this.dynamicProperties[a].propType)&&(this.dynamicProperties[a].getValue(),this.dynamicProperties[a]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&this.dynamicProperties.push(e)}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var e,t=this.finalTransform.mat,a=0,i=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;a<i;){if(this.hierarchy[a].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}a+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,t.cloneFromProps(e),a=0;a<i;a+=1)e=this.hierarchy[a].finalTransform.mProp.v.props,t.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}},globalToLocal:function(e){var t=[];t.push(this.finalTransform);for(var a=!0,i=this.comp;a;)i.finalTransform?(i.data.hasMask&&t.splice(0,0,i.finalTransform),i=i.comp):a=!1;var s,n,r=t.length;for(s=0;s<r;s+=1)n=t[s].mat.applyToPointArray(0,0,0),e=[e[0]-n[0],e[1]-n[1],0];return e},mHelper:new Matrix},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){-1===this.renderableComponents.indexOf(e)&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){-1!==this.renderableComponents.indexOf(e)&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,t=this.renderableComponents.length;for(e=0;e<t;e+=1)this.renderableComponents[e].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(e,t,a){this.initFrame(),this.initBaseData(e,t,a),this.initTransform(e,t,a),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),SVGGradientFillStyleData.prototype.initGradientData=function(e,t,a){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=a,this.stops=[],this.setGradientData(a.pElem,t),this.setGradientOpacity(t,a),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var a=createElementID(),i=createNS(1===t.t?"linearGradient":"radialGradient");i.setAttribute("id",a),i.setAttribute("spreadMethod","pad"),i.setAttribute("gradientUnits","userSpaceOnUse");var s,n,r,o=[];for(r=4*t.g.p,n=0;n<r;n+=4)s=createNS("stop"),i.appendChild(s),o.push(s);e.setAttribute("gf"===t.ty?"fill":"stroke","url("+locationHref+"#"+a+")"),this.gf=i,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var a,i,s,n=createNS("mask"),r=createNS("path");n.appendChild(r);var o=createElementID(),p=createElementID();n.setAttribute("id",p);var c=createNS(1===e.t?"linearGradient":"radialGradient");c.setAttribute("id",o),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),s=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var l=this.stops;for(i=4*e.g.p;i<s;i+=2)(a=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(a),l.push(a);r.setAttribute("gf"===e.ty?"fill":"stroke","url("+locationHref+"#"+o+")"),this.of=c,this.ms=n,this.ost=l,this.maskId=p,t.msElem=r}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix;function a(e,t,a){(a||t.transform.op._mdf)&&t.transform.container.setAttribute("opacity",t.transform.op.v),(a||t.transform.mProps._mdf)&&t.transform.container.setAttribute("transform",t.transform.mProps.v.to2dCSS())}function i(a,i,s){var n,r,o,p,c,l,h,m,d,u,f,v=i.styles.length,g=i.lvl;for(l=0;l<v;l+=1){if(p=i.sh._mdf||s,i.styles[l].lvl<g){for(m=t.reset(),u=g-i.styles[l].lvl,f=i.transformers.length-1;!p&&u>0;)p=i.transformers[f].mProps._mdf||p,u--,f--;if(p)for(u=g-i.styles[l].lvl,f=i.transformers.length-1;u>0;)d=i.transformers[f].mProps.v.props,m.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[15]),u--,f--}else m=e;if(r=(h=i.sh.paths)._length,p){for(o="",n=0;n<r;n+=1)(c=h.shapes[n])&&c._length&&(o+=buildShapeString(c,c._length,c.c,m));i.caches[l]=o}else o=i.caches[l];i.styles[l].d+=!0===a.hd?"":o,i.styles[l]._mdf=p||i.styles[l]._mdf}}function s(e,t,a){var i=t.style;(t.c._mdf||a)&&i.pElem.setAttribute("fill","rgb("+bm_floor(t.c.v[0])+","+bm_floor(t.c.v[1])+","+bm_floor(t.c.v[2])+")"),(t.o._mdf||a)&&i.pElem.setAttribute("fill-opacity",t.o.v)}function n(e,t,a){r(e,t,a),o(e,t,a)}function r(e,t,a){var i,s,n,r,o,p=t.gf,c=t.g._hasOpacity,l=t.s.v,h=t.e.v;if(t.o._mdf||a){var m="gf"===e.ty?"fill-opacity":"stroke-opacity";t.style.pElem.setAttribute(m,t.o.v)}if(t.s._mdf||a){var d=1===e.t?"x1":"cx",u="x1"===d?"y1":"cy";p.setAttribute(d,l[0]),p.setAttribute(u,l[1]),c&&!t.g._collapsable&&(t.of.setAttribute(d,l[0]),t.of.setAttribute(u,l[1]))}if(t.g._cmdf||a){i=t.cst;var f=t.g.c;for(n=i.length,s=0;s<n;s+=1)(r=i[s]).setAttribute("offset",f[4*s]+"%"),r.setAttribute("stop-color","rgb("+f[4*s+1]+","+f[4*s+2]+","+f[4*s+3]+")")}if(c&&(t.g._omdf||a)){var v=t.g.o;for(n=(i=t.g._collapsable?t.cst:t.ost).length,s=0;s<n;s+=1)r=i[s],t.g._collapsable||r.setAttribute("offset",v[2*s]+"%"),r.setAttribute("stop-opacity",v[2*s+1])}if(1===e.t)(t.e._mdf||a)&&(p.setAttribute("x2",h[0]),p.setAttribute("y2",h[1]),c&&!t.g._collapsable&&(t.of.setAttribute("x2",h[0]),t.of.setAttribute("y2",h[1])));else if((t.s._mdf||t.e._mdf||a)&&(o=Math.sqrt(Math.pow(l[0]-h[0],2)+Math.pow(l[1]-h[1],2)),p.setAttribute("r",o),c&&!t.g._collapsable&&t.of.setAttribute("r",o)),t.e._mdf||t.h._mdf||t.a._mdf||a){o||(o=Math.sqrt(Math.pow(l[0]-h[0],2)+Math.pow(l[1]-h[1],2)));var g=Math.atan2(h[1]-l[1],h[0]-l[0]),x=o*(t.h.v>=1?.99:t.h.v<=-1?-.99:t.h.v),y=Math.cos(g+t.a.v)*x+l[0],b=Math.sin(g+t.a.v)*x+l[1];p.setAttribute("fx",y),p.setAttribute("fy",b),c&&!t.g._collapsable&&(t.of.setAttribute("fx",y),t.of.setAttribute("fy",b))}}function o(e,t,a){var i=t.style,s=t.d;s&&(s._mdf||a)&&s.dashStr&&(i.pElem.setAttribute("stroke-dasharray",s.dashStr),i.pElem.setAttribute("stroke-dashoffset",s.dashoffset[0])),t.c&&(t.c._mdf||a)&&i.pElem.setAttribute("stroke","rgb("+bm_floor(t.c.v[0])+","+bm_floor(t.c.v[1])+","+bm_floor(t.c.v[2])+")"),(t.o._mdf||a)&&i.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||a)&&(i.pElem.setAttribute("stroke-width",t.w.v),i.msElem&&i.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){e.ty;switch(e.ty){case"fl":return s;case"gf":return r;case"gs":return n;case"st":return o;case"sh":case"el":case"rc":case"sr":return i;case"tr":return a}}}}();function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}function CVShapeData(e,t,a,i){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var s=4;"rc"==t.ty?s=5:"el"==t.ty?s=6:"sr"==t.ty&&(s=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,s,e);var n,r,o=a.length;for(n=0;n<o;n+=1)a[n].closed||(r={transforms:i.addTransformSequence(a[n].transforms),trNodes:[]},this.styledShapes.push(r),a[n].elements.push(r))}function BaseElement(){}function NullElement(e,t,a){this.initFrame(),this.initBaseData(e,t,a),this.initFrame(),this.initTransform(e,t,a),this.initHierarchy()}function SVGBaseElement(){}function IShapeElement(){}function ITextElement(){}function ICompElement(){}function IImageElement(e,t,a){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,a),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ISolidElement(e,t,a){this.initElement(e,t,a)}function SVGCompElement(e,t,a){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,a),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function SVGTextElement(e,t,a){this.textSpans=[],this.renderType="svg",this.initElement(e,t,a)}function SVGShapeElement(e,t,a){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,a),this.prevViewData=[]}function SVGTintFilter(e,t){this.filterManager=t;var a=createNS("feColorMatrix");if(a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),a.setAttribute("result","f1"),e.appendChild(a),(a=createNS("feColorMatrix")).setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result","f2"),e.appendChild(a),this.matrixFilter=a,100!==t.effectElements[2].p.v||t.effectElements[2].p.k){var i,s=createNS("feMerge");e.appendChild(s),(i=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),s.appendChild(i),(i=createNS("feMergeNode")).setAttribute("in","f2"),s.appendChild(i)}}function SVGFillFilter(e,t){this.filterManager=t;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),e.appendChild(a),this.matrixFilter=a}function SVGStrokeEffect(e,t){this.initialized=!1,this.filterManager=t,this.elem=e,this.paths=[]}function SVGTritoneFilter(e,t){this.filterManager=t;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),a.setAttribute("result","f1"),e.appendChild(a);var i=createNS("feComponentTransfer");i.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(i),this.matrixFilter=i;var s=createNS("feFuncR");s.setAttribute("type","table"),i.appendChild(s),this.feFuncR=s;var n=createNS("feFuncG");n.setAttribute("type","table"),i.appendChild(n),this.feFuncG=n;var r=createNS("feFuncB");r.setAttribute("type","table"),i.appendChild(r),this.feFuncB=r}function SVGProLevelsFilter(e,t){this.filterManager=t;var a=this.filterManager.effectElements,i=createNS("feComponentTransfer");(a[10].p.k||0!==a[10].p.v||a[11].p.k||1!==a[11].p.v||a[12].p.k||1!==a[12].p.v||a[13].p.k||0!==a[13].p.v||a[14].p.k||1!==a[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",i)),(a[17].p.k||0!==a[17].p.v||a[18].p.k||1!==a[18].p.v||a[19].p.k||1!==a[19].p.v||a[20].p.k||0!==a[20].p.v||a[21].p.k||1!==a[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",i)),(a[24].p.k||0!==a[24].p.v||a[25].p.k||1!==a[25].p.v||a[26].p.k||1!==a[26].p.v||a[27].p.k||0!==a[27].p.v||a[28].p.k||1!==a[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",i)),(a[31].p.k||0!==a[31].p.v||a[32].p.k||1!==a[32].p.v||a[33].p.k||1!==a[33].p.v||a[34].p.k||0!==a[34].p.v||a[35].p.k||1!==a[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",i)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(i.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(i),i=createNS("feComponentTransfer")),(a[3].p.k||0!==a[3].p.v||a[4].p.k||1!==a[4].p.v||a[5].p.k||1!==a[5].p.v||a[6].p.k||0!==a[6].p.v||a[7].p.k||1!==a[7].p.v)&&(i.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(i),this.feFuncRComposed=this.createFeFunc("feFuncR",i),this.feFuncGComposed=this.createFeFunc("feFuncG",i),this.feFuncBComposed=this.createFeFunc("feFuncB",i))}function SVGDropShadowEffect(e,t){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","400%"),e.setAttribute("height","400%"),this.filterManager=t;var a=createNS("feGaussianBlur");a.setAttribute("in","SourceAlpha"),a.setAttribute("result","drop_shadow_1"),a.setAttribute("stdDeviation","0"),this.feGaussianBlur=a,e.appendChild(a);var i=createNS("feOffset");i.setAttribute("dx","25"),i.setAttribute("dy","0"),i.setAttribute("in","drop_shadow_1"),i.setAttribute("result","drop_shadow_2"),this.feOffset=i,e.appendChild(i);var s=createNS("feFlood");s.setAttribute("flood-color","#00ff00"),s.setAttribute("flood-opacity","1"),s.setAttribute("result","drop_shadow_3"),this.feFlood=s,e.appendChild(s);var n=createNS("feComposite");n.setAttribute("in","drop_shadow_3"),n.setAttribute("in2","drop_shadow_2"),n.setAttribute("operator","in"),n.setAttribute("result","drop_shadow_4"),e.appendChild(n);var r,o=createNS("feMerge");e.appendChild(o),r=createNS("feMergeNode"),o.appendChild(r),(r=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),this.feMergeNode=r,this.feMerge=o,this.originalNodeAdded=!1,o.appendChild(r)}ShapeTransformManager.prototype={addTransformSequence:function(e){var t,a=e.length,i="_";for(t=0;t<a;t+=1)i+=e[t].transform.key+"_";var s=this.sequences[i];return s||(s={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[i]=s,this.sequenceList.push(s)),s},processSequence:function(e,t){for(var a,i=0,s=e.transforms.length,n=t;i<s&&!t;){if(e.transforms[i].transform.mProps._mdf){n=!0;break}i+=1}if(n)for(e.finalTransform.reset(),i=s-1;i>=0;i-=1)a=e.transforms[i].transform.mProps.v.props,e.finalTransform.transform(a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[10],a[11],a[12],a[13],a[14],a[15]);e._mdf=n},processSequences:function(e){var t,a=this.sequenceList.length;for(t=0;t<a;t+=1)this.processSequence(this.sequenceList[t],e)},getNewKey:function(){return"_"+this.transform_key_count++}},CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,t=this.data.masksProperties.length;e<t;){if("n"!==this.data.masksProperties[e].mode&&!1!==this.data.masksProperties[e].cl)return!0;e+=1}return!1},initExpressions:function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var e=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(e),0===this.data.ty||this.data.xt?this.compInterface=CompExpressionInterface(this):4===this.data.ty?(this.layerInterface.shapeInterface=ShapeExpressionInterface(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=TextExpressionInterface(this),this.layerInterface.text=this.layerInterface.textInterface)},setBlendMode:function(){var e=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=e},initBaseData:function(e,t,a){this.globalData=t,this.comp=a,this.data=e,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var e,t,a,i=null;if(this.data.td){if(3==this.data.td||1==this.data.td){var s=createNS("mask");s.setAttribute("id",this.layerId),s.setAttribute("mask-type",3==this.data.td?"luminance":"alpha"),s.appendChild(this.layerElement),i=s,this.globalData.defs.appendChild(s),featureSupport.maskType||1!=this.data.td||(s.setAttribute("mask-type","luminance"),e=createElementID(),t=filtersFactory.createFilter(e),this.globalData.defs.appendChild(t),t.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(a=createNS("g")).appendChild(this.layerElement),i=a,s.appendChild(a),a.setAttribute("filter","url("+locationHref+"#"+e+")"))}else if(2==this.data.td){var n=createNS("mask");n.setAttribute("id",this.layerId),n.setAttribute("mask-type","alpha");var r=createNS("g");n.appendChild(r),e=createElementID(),t=filtersFactory.createFilter(e);var o=createNS("feComponentTransfer");o.setAttribute("in","SourceGraphic"),t.appendChild(o);var p=createNS("feFuncA");p.setAttribute("type","table"),p.setAttribute("tableValues","1.0 0.0"),o.appendChild(p),this.globalData.defs.appendChild(t);var c=createNS("rect");c.setAttribute("width",this.comp.data.w),c.setAttribute("height",this.comp.data.h),c.setAttribute("x","0"),c.setAttribute("y","0"),c.setAttribute("fill","#ffffff"),c.setAttribute("opacity","0"),r.setAttribute("filter","url("+locationHref+"#"+e+")"),r.appendChild(c),r.appendChild(this.layerElement),i=r,featureSupport.maskType||(n.setAttribute("mask-type","luminance"),t.appendChild(filtersFactory.createAlphaToLuminanceFilter()),a=createNS("g"),r.appendChild(c),a.appendChild(this.layerElement),i=a,r.appendChild(a)),this.globalData.defs.appendChild(n)}}else this.data.tt?(this.matteElement.appendChild(this.layerElement),i=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var l=createNS("clipPath"),h=createNS("path");h.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var m=createElementID();if(l.setAttribute("id",m),l.appendChild(h),this.globalData.defs.appendChild(l),this.checkMasks()){var d=createNS("g");d.setAttribute("clip-path","url("+locationHref+"#"+m+")"),d.appendChild(this.layerElement),this.transformedElement=d,i?i.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+m+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},setMatte:function(e){this.matteElement&&this.matteElement.setAttribute("mask","url("+locationHref+"#"+e+")")}},IShapeElement.prototype={addShapeToModifiers:function(e){var t,a=this.shapeModifiers.length;for(t=0;t<a;t+=1)this.shapeModifiers[t].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var t=this.shapeModifiers.length;0<t;)if(this.shapeModifiers[0].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var e,t=this.shapes.length;for(e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;e>=0;e-=1)this.shapeModifiers[e].processShapes(this._isFirstFrame)}},lcEnum:{1:"butt",2:"round",3:"square"},ljEnum:{1:"miter",2:"round",3:"bevel"},searchProcessedElement:function(e){for(var t=this.processedElements,a=0,i=t.length;a<i;){if(t[a].elem===e)return t[a].pos;a+=1}return 0},addProcessedElement:function(e,t){for(var a=this.processedElements,i=a.length;i;)if(a[i-=1].elem===e)return void(a[i].pos=t);a.push(new ProcessedElement(e,t))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)}},ITextElement.prototype.initElement=function(e,t,a){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,a),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,a),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(e,t){var a,i,s=t.length,n="";for(a=0;a<s;a+=1)i=t[a].ks.k,n+=buildShapeString(i,i.i.length,!0,e);return n},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,a,i,s){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[a]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[a])/2,0,0)}t.translate(i,s,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(255*e[0])+","+Math.round(255*e[1])+","+Math.round(255*e[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,a){this.initFrame(),this.initBaseData(e,t,a),this.initTransform(e,t,a),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&t.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var a,i=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),a=i-1;a>=0;a-=1)(this.completeLayers||this.elements[a])&&(this.elements[a].prepareFrame(this.renderedFrame-this.layers[a].st),this.elements[a]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)},extendPrototype([SVGRenderer,ICompElement,SVGBaseElement],SVGCompElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextElement),SVGTextElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextElement.prototype.buildTextContents=function(e){for(var t=0,a=e.length,i=[],s="";t<a;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(i.push(s),s=""):s+=e[t],t+=1;return i.push(s),i},SVGTextElement.prototype.buildNewText=function(){var e,t,a=this.textProperty.currentData;this.renderedLetters=createSizedArray(a?a.l.length:0),a.fc?this.layerElement.setAttribute("fill",this.buildColor(a.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),a.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(a.sc)),this.layerElement.setAttribute("stroke-width",a.sw)),this.layerElement.setAttribute("font-size",a.finalSize);var i=this.globalData.fontManager.getFontByName(a.f);if(i.fClass)this.layerElement.setAttribute("class",i.fClass);else{this.layerElement.setAttribute("font-family",i.fFamily);var s=a.fWeight,n=a.fStyle;this.layerElement.setAttribute("font-style",n),this.layerElement.setAttribute("font-weight",s)}this.layerElement.setAttribute("arial-label",a.t);var r,o=a.l||[],p=!!this.globalData.fontManager.chars;t=o.length;var c,l=this.mHelper,h="",m=this.data.singleShape,d=0,u=0,f=!0,v=a.tr/1e3*a.finalSize;if(!m||p||a.sz){var g,x,y=this.textSpans.length;for(e=0;e<t;e+=1)p&&m&&0!==e||(r=y>e?this.textSpans[e]:createNS(p?"path":"text"),y<=e&&(r.setAttribute("stroke-linecap","butt"),r.setAttribute("stroke-linejoin","round"),r.setAttribute("stroke-miterlimit","4"),this.textSpans[e]=r,this.layerElement.appendChild(r)),r.style.display="inherit"),l.reset(),l.scale(a.finalSize/100,a.finalSize/100),m&&(o[e].n&&(d=-v,u+=a.yOffset,u+=f?1:0,f=!1),this.applyTextPropertiesToMatrix(a,l,o[e].line,d,u),d+=o[e].l||0,d+=v),p?(c=(g=(x=this.globalData.fontManager.getCharData(a.finalText[e],i.fStyle,this.globalData.fontManager.getFontByName(a.f).fFamily))&&x.data||{}).shapes?g.shapes[0].it:[],m?h+=this.createPathShape(l,c):r.setAttribute("d",this.createPathShape(l,c))):(m&&r.setAttribute("transform","translate("+l.props[12]+","+l.props[13]+")"),r.textContent=o[e].val,r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"));m&&r&&r.setAttribute("d",h)}else{var b=this.textContainer,E="start";switch(a.j){case 1:E="end";break;case 2:E="middle"}b.setAttribute("text-anchor",E),b.setAttribute("letter-spacing",v);var k=this.buildTextContents(a.finalText);for(t=k.length,u=a.ps?a.ps[1]+a.ascent:0,e=0;e<t;e+=1)(r=this.textSpans[e]||createNS("tspan")).textContent=k[e],r.setAttribute("x",0),r.setAttribute("y",u),r.style.display="inherit",b.appendChild(r),this.textSpans[e]=r,u+=a.finalLineHeight;this.layerElement.appendChild(b)}for(;e<this.textSpans.length;)this.textSpans[e].style.display="none",e+=1;this._sizeChanged=!0},SVGTextElement.prototype.sourceRectAtTime=function(e){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextElement.prototype.renderInnerContent=function(){if(!this.data.singleShape&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var e,t;this._sizeChanged=!0;var a,i,s=this.textAnimator.renderedLetters,n=this.textProperty.currentData.l;for(t=n.length,e=0;e<t;e+=1)n[e].n||(a=s[e],i=this.textSpans[e],a._mdf.m&&i.setAttribute("transform",a.m),a._mdf.o&&i.setAttribute("opacity",a.o),a._mdf.sw&&i.setAttribute("stroke-width",a.sw),a._mdf.sc&&i.setAttribute("stroke",a.sc),a._mdf.fc&&i.setAttribute("fill",a.fc))}},extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t,a,i,s=this.shapes.length,n=this.stylesList.length,r=[],o=!1;for(a=0;a<n;a+=1){for(i=this.stylesList[a],o=!1,r.length=0,e=0;e<s;e+=1)-1!==(t=this.shapes[e]).styles.indexOf(i)&&(r.push(t),o=t._isAnimated||o);r.length>1&&o&&this.setShapesAsAnimated(r)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,a=e.length;for(t=0;t<a;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var a,i=new SVGStyleData(e,t),s=i.pElem;if("st"===e.ty)a=new SVGStrokeStyleData(this,e,i);else if("fl"===e.ty)a=new SVGFillStyleData(this,e,i);else if("gf"===e.ty||"gs"===e.ty){a=new("gf"===e.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,e,i),this.globalData.defs.appendChild(a.gf),a.maskId&&(this.globalData.defs.appendChild(a.ms),this.globalData.defs.appendChild(a.of),s.setAttribute("mask","url("+locationHref+"#"+a.maskId+")"))}return"st"!==e.ty&&"gs"!==e.ty||(s.setAttribute("stroke-linecap",this.lcEnum[e.lc]||"round"),s.setAttribute("stroke-linejoin",this.ljEnum[e.lj]||"round"),s.setAttribute("fill-opacity","0"),1===e.lj&&s.setAttribute("stroke-miterlimit",e.ml)),2===e.r&&s.setAttribute("fill-rule","evenodd"),e.ln&&s.setAttribute("id",e.ln),e.cl&&s.setAttribute("class",e.cl),e.bm&&(s.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(i),this.addToAnimatedContents(e,a),a},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var a=TransformPropertyFactory.getTransformProperty(this,e,this),i=new SVGTransformData(a,a.o,t);return this.addToAnimatedContents(e,i),i},SVGShapeElement.prototype.createShapeElement=function(e,t,a){var i=4;"rc"===e.ty?i=5:"el"===e.ty?i=6:"sr"===e.ty&&(i=7);var s=new SVGShapeData(t,a,ShapePropertyFactory.getShapeProp(this,e,i,this));return this.shapes.push(s),this.addShapeToModifiers(s),this.addToAnimatedContents(e,s),s},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var a=0,i=this.animatedContents.length;a<i;){if(this.animatedContents[a].element===t)return;a+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t,a=e.styles,i=this.stylesList.length;for(t=0;t<i;t+=1)this.stylesList[t].closed||a.push(this.stylesList[t])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,a,i,s,n,r){var o,p,c,l,h,m,d=[].concat(n),u=e.length-1,f=[],v=[];for(o=u;o>=0;o-=1){if((m=this.searchProcessedElement(e[o]))?t[o]=a[m-1]:e[o]._render=r,"fl"==e[o].ty||"st"==e[o].ty||"gf"==e[o].ty||"gs"==e[o].ty)m?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],s),e[o]._render&&i.appendChild(t[o].style.pElem),f.push(t[o].style);else if("gr"==e[o].ty){if(m)for(c=t[o].it.length,p=0;p<c;p+=1)t[o].prevViewData[p]=t[o].it[p];else t[o]=this.createGroupElement(e[o]);this.searchShapes(e[o].it,t[o].it,t[o].prevViewData,t[o].gr,s+1,d,r),e[o]._render&&i.appendChild(t[o].gr)}else"tr"==e[o].ty?(m||(t[o]=this.createTransformElement(e[o],i)),l=t[o].transform,d.push(l)):"sh"==e[o].ty||"rc"==e[o].ty||"el"==e[o].ty||"sr"==e[o].ty?(m||(t[o]=this.createShapeElement(e[o],d,s)),this.setElementStyles(t[o])):"tm"==e[o].ty||"rd"==e[o].ty||"ms"==e[o].ty?(m?(h=t[o]).closed=!1:((h=ShapeModifiers.getModifier(e[o].ty)).init(this,e[o]),t[o]=h,this.shapeModifiers.push(h)),v.push(h)):"rp"==e[o].ty&&(m?(h=t[o]).closed=!0:(h=ShapeModifiers.getModifier(e[o].ty),t[o]=h,h.init(this,e,o,t),this.shapeModifiers.push(h),r=!1),v.push(h));this.addProcessedElement(e[o],o+1)}for(u=f.length,o=0;o<u;o+=1)f[o].closed=!0;for(u=v.length,o=0;o<u;o+=1)v[o].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t,a=this.animatedContents.length;for(e=0;e<a;e+=1)t=this.animatedContents[e],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,a=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",a[0]-t[0]+" 0 0 0 "+t[0]+" "+(a[1]-t[1])+" 0 0 0 "+t[1]+" "+(a[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 "+i+" 0")}},SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,a=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+a+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var e,t,a,i,s=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(i=this.elem.maskManager.masksProperties.length,a=0):i=(a=this.filterManager.effectElements[0].p.v-1)+1,(t=createNS("g")).setAttribute("fill","none"),t.setAttribute("stroke-linecap","round"),t.setAttribute("stroke-dashoffset",1);a<i;a+=1)e=createNS("path"),t.appendChild(e),this.paths.push({p:e,m:a});if(3===this.filterManager.effectElements[10].p.v){var n=createNS("mask"),r=createElementID();n.setAttribute("id",r),n.setAttribute("mask-type","alpha"),n.appendChild(t),this.elem.globalData.defs.appendChild(n);var o=createNS("g");for(o.setAttribute("mask","url("+locationHref+"#"+r+")");s[0];)o.appendChild(s[0]);this.elem.layerElement.appendChild(o),this.masker=n,t.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(s=this.elem.layerElement.children||this.elem.layerElement.childNodes;s.length;)this.elem.layerElement.removeChild(s[0]);this.elem.layerElement.appendChild(t),this.elem.layerElement.removeAttribute("mask"),t.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=t},SVGStrokeEffect.prototype.renderFrame=function(e){this.initialized||this.initialize();var t,a,i,s=this.paths.length;for(t=0;t<s;t+=1)if(-1!==this.paths[t].m&&(a=this.elem.maskManager.viewData[this.paths[t].m],i=this.paths[t].p,(e||this.filterManager._mdf||a.prop._mdf)&&i.setAttribute("d",a.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||a.prop._mdf)){var n;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var r=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)/100,o=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)/100,p=i.getTotalLength();n="0 0 0 "+p*r+" ";var c,l=p*(o-r),h=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100,m=Math.floor(l/h);for(c=0;c<m;c+=1)n+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100+" ";n+="0 "+10*p+" 0 0"}else n="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100;i.setAttribute("stroke-dasharray",n)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(e||this.filterManager.effectElements[3].p._mdf)){var d=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bm_floor(255*d[0])+","+bm_floor(255*d[1])+","+bm_floor(255*d[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,a=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v,s=i[0]+" "+a[0]+" "+t[0],n=i[1]+" "+a[1]+" "+t[1],r=i[2]+" "+a[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",s),this.feFuncG.setAttribute("tableValues",n),this.feFuncB.setAttribute("tableValues",r)}},SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var a=createNS(e);return a.setAttribute("type","table"),t.appendChild(a),a},SVGProLevelsFilter.prototype.getTableValue=function(e,t,a,i,s){for(var n,r,o=0,p=Math.min(e,t),c=Math.max(e,t),l=Array.call(null,{length:256}),h=0,m=s-i,d=t-e;o<=256;)r=(n=o/256)<=p?d<0?s:i:n>=c?d<0?i:s:i+m*Math.pow((n-e)/d,1/a),l[h++]=r,o+=256/255;return l.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,a=this.filterManager.effectElements;this.feFuncRComposed&&(e||a[3].p._mdf||a[4].p._mdf||a[5].p._mdf||a[6].p._mdf||a[7].p._mdf)&&(t=this.getTableValue(a[3].p.v,a[4].p.v,a[5].p.v,a[6].p.v,a[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||a[10].p._mdf||a[11].p._mdf||a[12].p._mdf||a[13].p._mdf||a[14].p._mdf)&&(t=this.getTableValue(a[10].p.v,a[11].p.v,a[12].p.v,a[13].p.v,a[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||a[17].p._mdf||a[18].p._mdf||a[19].p._mdf||a[20].p._mdf||a[21].p._mdf)&&(t=this.getTableValue(a[17].p.v,a[18].p.v,a[19].p.v,a[20].p.v,a[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||a[24].p._mdf||a[25].p._mdf||a[26].p._mdf||a[27].p._mdf||a[28].p._mdf)&&(t=this.getTableValue(a[24].p.v,a[25].p.v,a[26].p.v,a[27].p.v,a[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||a[31].p._mdf||a[32].p._mdf||a[33].p._mdf||a[34].p._mdf||a[35].p._mdf)&&(t=this.getTableValue(a[31].p.v,a[32].p.v,a[33].p.v,a[34].p.v,a[35].p.v),this.feFuncA.setAttribute("tableValues",t))}},SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*t[0]),Math.round(255*t[1]),Math.round(255*t[2])))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var a=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,s=a*Math.cos(i),n=a*Math.sin(i);this.feOffset.setAttribute("dx",s),this.feOffset.setAttribute("dy",n)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,a){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=a,a.matteElement=createNS("g"),a.matteElement.appendChild(a.layerElement),a.matteElement.appendChild(a.transformedElement),a.baseElement=a.matteElement}function SVGEffects(e){var t,a,i=e.data.ef?e.data.ef.length:0,s=createElementID(),n=filtersFactory.createFilter(s),r=0;for(this.filters=[],t=0;t<i;t+=1)a=null,20===e.data.ef[t].ty?(r+=1,a=new SVGTintFilter(n,e.effectsManager.effectElements[t])):21===e.data.ef[t].ty?(r+=1,a=new SVGFillFilter(n,e.effectsManager.effectElements[t])):22===e.data.ef[t].ty?a=new SVGStrokeEffect(e,e.effectsManager.effectElements[t]):23===e.data.ef[t].ty?(r+=1,a=new SVGTritoneFilter(n,e.effectsManager.effectElements[t])):24===e.data.ef[t].ty?(r+=1,a=new SVGProLevelsFilter(n,e.effectsManager.effectElements[t])):25===e.data.ef[t].ty?(r+=1,a=new SVGDropShadowEffect(n,e.effectsManager.effectElements[t])):28===e.data.ef[t].ty&&(a=new SVGMatte3Effect(n,e.effectsManager.effectElements[t],e)),a&&this.filters.push(a);r&&(e.globalData.defs.appendChild(n),e.layerElement.setAttribute("filter","url("+locationHref+"#"+s+")")),this.filters.length&&e.addRenderableComponent(this)}function CVContextData(){this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1;var e;for(this.savedOp=createTypedArray("float32",15),e=0;e<15;e+=1)this.saved[e]=createTypedArray("float32",16);this._length=15}function CVBaseElement(){}function CVImageElement(e,t,a){this.failed=!1,this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getImage(this.assetData),this.initElement(e,t,a)}function CVCompElement(e,t,a){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,a),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function CVMaskElement(e,t){this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var a,i=this.masksProperties.length,s=!1;for(a=0;a<i;a++)"n"!==this.masksProperties[a].mode&&(s=!0),this.viewData[a]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[a],3);this.hasMasks=s,s&&this.element.addRenderableComponent(this)}function CVShapeElement(e,t,a){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,a)}function CVSolidElement(e,t,a){this.initElement(e,t,a)}function CVTextElement(e,t,a){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(e,t,a)}function CVEffects(){}function HBaseElement(e,t,a){}function HSolidElement(e,t,a){this.initElement(e,t,a)}function HCompElement(e,t,a){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,a),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function HShapeElement(e,t,a){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,a),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(e,t,a){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,a)}function HImageElement(e,t,a){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,a)}function HCameraElement(e,t,a){this.initFrame(),this.initBaseData(e,t,a),this.initHierarchy();var i=PropertyFactory.getProp;if(this.pe=i(this,e.pe,0,0,this),e.ks.p.s?(this.px=i(this,e.ks.p.x,1,0,this),this.py=i(this,e.ks.p.y,1,0,this),this.pz=i(this,e.ks.p.z,1,0,this)):this.p=i(this,e.ks.p,1,0,this),e.ks.a&&(this.a=i(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var s,n=e.ks.or.k.length;for(s=0;s<n;s+=1)e.ks.or.k[s].to=null,e.ks.or.k[s].ti=null}this.or=i(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=i(this,e.ks.rx,0,degToRads,this),this.ry=i(this,e.ks.ry,0,degToRads,this),this.rz=i(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HEffects(){}SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,a=_svgMatteSymbols.length;t<a;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var a=e.layerElement.parentNode;if(a){for(var i,s=a.children,n=0,r=s.length;n<r&&s[n]!==e.layerElement;)n+=1;n<=r-2&&(i=s[n+1]);var o=createNS("use");o.setAttribute("href","#"+t),i?a.insertBefore(o,i):a.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var a=createElementID(),i=createNS("mask");i.setAttribute("id",t.layerId),i.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var s=e.globalData.defs;s.appendChild(i);var n=createNS("symbol");n.setAttribute("id",a),this.replaceInParent(t,a),n.appendChild(t.layerElement),s.appendChild(n);var r=createNS("use");r.setAttribute("href","#"+a),i.appendChild(r),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,a=0,i=t.length;a<i;)t[a]&&t[a].data.ind===e&&this.setElementAsMask(this.elem,t[a]),a+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGEffects.prototype.renderFrame=function(e){var t,a=this.filters.length;for(t=0;t<a;t+=1)this.filters[t].renderFrame(e)},CVContextData.prototype.duplicate=function(){var e=2*this._length,t=this.savedOp;this.savedOp=createTypedArray("float32",e),this.savedOp.set(t);var a=0;for(a=this._length;a<e;a+=1)this.saved[a]=createTypedArray("float32",16);this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){this.canvasContext=this.globalData.canvasContext,this.renderableEffectsManager=new CVEffects(this)},createContent:function(){},setBlendMode:function(){var e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var t=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=t}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},renderFrame:function(){this.hidden||this.data.hd||(this.renderTransform(),this.renderRenderable(),this.setBlendMode(),this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t,a,i=e.getContext("2d"),s=this.img.width,n=this.img.height,r=s/n,o=this.assetData.w/this.assetData.h,p=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;r>o&&"xMidYMid slice"===p||r<o&&"xMidYMid slice"!==p?t=(a=n)*o:a=(t=s)/o,i.drawImage(this.img,(s-t)/2,(n-a)/2,t,a,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(e){this.failed||this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([CanvasRenderer,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e;for(e=this.layers.length-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var e;for(e=this.layers.length-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e,t,a,i,s=this.element.finalTransform.mat,n=this.element.canvasContext,r=this.masksProperties.length;for(n.beginPath(),e=0;e<r;e++)if("n"!==this.masksProperties[e].mode){this.masksProperties[e].inv&&(n.moveTo(0,0),n.lineTo(this.element.globalData.compSize.w,0),n.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),n.lineTo(0,this.element.globalData.compSize.h),n.lineTo(0,0)),i=this.viewData[e].v,t=s.applyToPointArray(i.v[0][0],i.v[0][1],0),n.moveTo(t[0],t[1]);var o,p=i._length;for(o=1;o<p;o++)a=s.applyToTriplePoints(i.o[o-1],i.i[o],i.v[o]),n.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5]);a=s.applyToTriplePoints(i.o[o-1],i.i[0],i.v[0]),n.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5])}this.element.globalData.renderer.save(!0),n.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(e,t){var a={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:!0===e.hd},i={};if("fl"==e.ty||"st"==e.ty?(i.c=PropertyFactory.getProp(this,e.c,1,255,this),i.c.k||(a.co="rgb("+bm_floor(i.c.v[0])+","+bm_floor(i.c.v[1])+","+bm_floor(i.c.v[2])+")")):"gf"!==e.ty&&"gs"!==e.ty||(i.s=PropertyFactory.getProp(this,e.s,1,null,this),i.e=PropertyFactory.getProp(this,e.e,1,null,this),i.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),i.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),i.g=new GradientProperty(this,e.g,this)),i.o=PropertyFactory.getProp(this,e.o,0,.01,this),"st"==e.ty||"gs"==e.ty){if(a.lc=this.lcEnum[e.lc]||"round",a.lj=this.ljEnum[e.lj]||"round",1==e.lj&&(a.ml=e.ml),i.w=PropertyFactory.getProp(this,e.w,0,null,this),i.w.k||(a.wi=i.w.v),e.d){var s=new DashProperty(this,e.d,"canvas",this);i.d=s,i.d.k||(a.da=i.d.dashArray,a.do=i.d.dashoffset[0])}}else a.r=2===e.r?"evenodd":"nonzero";return this.stylesList.push(a),i.style=a,i},CVShapeElement.prototype.createGroupElement=function(e){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(e){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}}},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,a=this.stylesList.length;for(t=0;t<a;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,a=e.length;for(t=0;t<a;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,a,i,s){var n,r,o,p,c,l,h=e.length-1,m=[],d=[],u=[].concat(s);for(n=h;n>=0;n-=1){if((p=this.searchProcessedElement(e[n]))?t[n]=a[p-1]:e[n]._shouldRender=i,"fl"==e[n].ty||"st"==e[n].ty||"gf"==e[n].ty||"gs"==e[n].ty)p?t[n].style.closed=!1:t[n]=this.createStyleElement(e[n],u),m.push(t[n].style);else if("gr"==e[n].ty){if(p)for(o=t[n].it.length,r=0;r<o;r+=1)t[n].prevViewData[r]=t[n].it[r];else t[n]=this.createGroupElement(e[n]);this.searchShapes(e[n].it,t[n].it,t[n].prevViewData,i,u)}else"tr"==e[n].ty?(p||(l=this.createTransformElement(e[n]),t[n]=l),u.push(t[n]),this.addTransformToStyleList(t[n])):"sh"==e[n].ty||"rc"==e[n].ty||"el"==e[n].ty||"sr"==e[n].ty?p||(t[n]=this.createShapeElement(e[n])):"tm"==e[n].ty||"rd"==e[n].ty?(p?(c=t[n]).closed=!1:((c=ShapeModifiers.getModifier(e[n].ty)).init(this,e[n]),t[n]=c,this.shapeModifiers.push(c)),d.push(c)):"rp"==e[n].ty&&(p?(c=t[n]).closed=!0:(c=ShapeModifiers.getModifier(e[n].ty),t[n]=c,c.init(this,e,n,t),this.shapeModifiers.push(c),i=!1),d.push(c));this.addProcessedElement(e[n],n+1)}for(this.removeTransformFromStyleList(),this.closeStyles(m),h=d.length,n=0;n<h;n+=1)d[n].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t,a,i,s,n,r,o,p,c=this.stylesList.length,l=this.globalData.renderer,h=this.globalData.canvasContext;for(e=0;e<c;e+=1)if(("st"!==(o=(p=this.stylesList[e]).type)&&"gs"!==o||0!==p.wi)&&p.data._shouldRender&&0!==p.coOp&&0!==this.globalData.currentGlobalAlpha){for(l.save(),n=p.elements,"st"===o||"gs"===o?(h.strokeStyle="st"===o?p.co:p.grd,h.lineWidth=p.wi,h.lineCap=p.lc,h.lineJoin=p.lj,h.miterLimit=p.ml||0):h.fillStyle="fl"===o?p.co:p.grd,l.ctxOpacity(p.coOp),"st"!==o&&"gs"!==o&&h.beginPath(),l.ctxTransform(p.preTransforms.finalTransform.props),a=n.length,t=0;t<a;t+=1){for("st"!==o&&"gs"!==o||(h.beginPath(),p.da&&(h.setLineDash(p.da),h.lineDashOffset=p.do)),s=(r=n[t].trNodes).length,i=0;i<s;i+=1)"m"==r[i].t?h.moveTo(r[i].p[0],r[i].p[1]):"c"==r[i].t?h.bezierCurveTo(r[i].pts[0],r[i].pts[1],r[i].pts[2],r[i].pts[3],r[i].pts[4],r[i].pts[5]):h.closePath();"st"!==o&&"gs"!==o||(h.stroke(),p.da&&h.setLineDash(this.dashResetter))}"st"!==o&&"gs"!==o&&h.fill(p.r),l.restore()}},CVShapeElement.prototype.renderShape=function(e,t,a,i){var s,n;for(n=e,s=t.length-1;s>=0;s-=1)"tr"==t[s].ty?(n=a[s].transform,this.renderShapeTransform(e,n)):"sh"==t[s].ty||"el"==t[s].ty||"rc"==t[s].ty||"sr"==t[s].ty?this.renderPath(t[s],a[s]):"fl"==t[s].ty?this.renderFill(t[s],a[s],n):"st"==t[s].ty?this.renderStroke(t[s],a[s],n):"gf"==t[s].ty||"gs"==t[s].ty?this.renderGradientFill(t[s],a[s],n):"gr"==t[s].ty?this.renderShape(n,t[s].it,a[s].it):t[s].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var a,i,s,n=e.trNodes,r=t.paths,o=r._length;n.length=0;var p=e.transforms.finalTransform;for(s=0;s<o;s+=1){var c=r.shapes[s];if(c&&c.v){for(i=c._length,a=1;a<i;a+=1)1===a&&n.push({t:"m",p:p.applyToPointArray(c.v[0][0],c.v[0][1],0)}),n.push({t:"c",pts:p.applyToTriplePoints(c.o[a-1],c.i[a],c.v[a])});1===i&&n.push({t:"m",p:p.applyToPointArray(c.v[0][0],c.v[0][1],0)}),c.c&&i&&(n.push({t:"c",pts:p.applyToTriplePoints(c.o[a-1],c.i[0],c.v[0])}),n.push({t:"z"}))}}e.trNodes=n}},CVShapeElement.prototype.renderPath=function(e,t){if(!0!==e.hd&&e._shouldRender){var a,i=t.styledShapes.length;for(a=0;a<i;a+=1)this.renderStyledShape(t.styledShapes[a],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,a){var i=t.style;(t.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bm_floor(t.c.v[0])+","+bm_floor(t.c.v[1])+","+bm_floor(t.c.v[2])+")"),(t.o._mdf||a._opMdf||this._isFirstFrame)&&(i.coOp=t.o.v*a.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,a){var i=t.style;if(!i.grd||t.g._mdf||t.s._mdf||t.e._mdf||1!==e.t&&(t.h._mdf||t.a._mdf)){var s=this.globalData.canvasContext,n=t.s.v,r=t.e.v;if(1===e.t)m=s.createLinearGradient(n[0],n[1],r[0],r[1]);else var o=Math.sqrt(Math.pow(n[0]-r[0],2)+Math.pow(n[1]-r[1],2)),p=Math.atan2(r[1]-n[1],r[0]-n[0]),c=o*(t.h.v>=1?.99:t.h.v<=-1?-.99:t.h.v),l=Math.cos(p+t.a.v)*c+n[0],h=Math.sin(p+t.a.v)*c+n[1],m=s.createRadialGradient(l,h,0,n[0],n[1],o);var d,u=e.g.p,f=t.g.c,v=1;for(d=0;d<u;d+=1)t.g._hasOpacity&&t.g._collapsable&&(v=t.g.o[2*d+1]),m.addColorStop(f[4*d]/100,"rgba("+f[4*d+1]+","+f[4*d+2]+","+f[4*d+3]+","+v+")");i.grd=m}i.coOp=t.o.v*a.opacity},CVShapeElement.prototype.renderStroke=function(e,t,a){var i=t.style,s=t.d;s&&(s._mdf||this._isFirstFrame)&&(i.da=s.dashArray,i.do=s.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bm_floor(t.c.v[0])+","+bm_floor(t.c.v[1])+","+bm_floor(t.c.v[2])+")"),(t.o._mdf||a._opMdf||this._isFirstFrame)&&(i.coOp=t.o.v*a.opacity),(t.w._mdf||this._isFirstFrame)&&(i.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var e=this.canvasContext;e.fillStyle=this.data.sc,e.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var a=!1;e.sc&&(a=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var i,s,n=this.globalData.fontManager.getFontByName(e.f),r=e.l,o=this.mHelper;this.stroke=a,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,s=e.finalText.length;var p,c,l,h,m,d,u,f,v,g,x=this.data.singleShape,y=e.tr/1e3*e.finalSize,b=0,E=0,k=!0,S=0;for(i=0;i<s;i+=1){for(c=(p=this.globalData.fontManager.getCharData(e.finalText[i],n.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))&&p.data||{},o.reset(),x&&r[i].n&&(b=-y,E+=e.yOffset,E+=k?1:0,k=!1),u=(m=c.shapes?c.shapes[0].it:[]).length,o.scale(e.finalSize/100,e.finalSize/100),x&&this.applyTextPropertiesToMatrix(e,o,r[i].line,b,E),v=createSizedArray(u),d=0;d<u;d+=1){for(h=m[d].ks.k.i.length,f=m[d].ks.k,g=[],l=1;l<h;l+=1)1==l&&g.push(o.applyToX(f.v[0][0],f.v[0][1],0),o.applyToY(f.v[0][0],f.v[0][1],0)),g.push(o.applyToX(f.o[l-1][0],f.o[l-1][1],0),o.applyToY(f.o[l-1][0],f.o[l-1][1],0),o.applyToX(f.i[l][0],f.i[l][1],0),o.applyToY(f.i[l][0],f.i[l][1],0),o.applyToX(f.v[l][0],f.v[l][1],0),o.applyToY(f.v[l][0],f.v[l][1],0));g.push(o.applyToX(f.o[l-1][0],f.o[l-1][1],0),o.applyToY(f.o[l-1][0],f.o[l-1][1],0),o.applyToX(f.i[0][0],f.i[0][1],0),o.applyToY(f.i[0][0],f.i[0][1],0),o.applyToX(f.v[0][0],f.v[0][1],0),o.applyToY(f.v[0][0],f.v[0][1],0)),v[d]=g}x&&(b+=r[i].l,b+=y),this.textSpans[S]?this.textSpans[S].elem=v:this.textSpans[S]={elem:v},S+=1}},CVTextElement.prototype.renderInnerContent=function(){var e,t,a,i,s,n,r=this.canvasContext;this.finalTransform.mat.props;r.font=this.values.fValue,r.lineCap="butt",r.lineJoin="miter",r.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var o,p=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;t=c.length;var l,h,m=null,d=null,u=null;for(e=0;e<t;e+=1)if(!c[e].n){if((o=p[e])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(o.p),this.globalData.renderer.ctxOpacity(o.o)),this.fill){for(o&&o.fc?m!==o.fc&&(m=o.fc,r.fillStyle=o.fc):m!==this.values.fill&&(m=this.values.fill,r.fillStyle=this.values.fill),i=(l=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),a=0;a<i;a+=1)for(n=(h=l[a]).length,this.globalData.canvasContext.moveTo(h[0],h[1]),s=2;s<n;s+=6)this.globalData.canvasContext.bezierCurveTo(h[s],h[s+1],h[s+2],h[s+3],h[s+4],h[s+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(o&&o.sw?u!==o.sw&&(u=o.sw,r.lineWidth=o.sw):u!==this.values.sWidth&&(u=this.values.sWidth,r.lineWidth=this.values.sWidth),o&&o.sc?d!==o.sc&&(d=o.sc,r.strokeStyle=o.sc):d!==this.values.stroke&&(d=this.values.stroke,r.strokeStyle=this.values.stroke),i=(l=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),a=0;a<i;a+=1)for(n=(h=l[a]).length,this.globalData.canvasContext.moveTo(h[0],h[1]),s=2;s<n;s+=6)this.globalData.canvasContext.bezierCurveTo(h[s],h[s+1],h[s+2],h[s+3],h[s+4],h[s+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}o&&this.globalData.renderer.restore()}},CVEffects.prototype.renderFrame=function(){},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&(this.transformedElement.style.transform=this.transformedElement.style.webkitTransform=this.finalTransform.mat.toCSS()),this.finalTransform._opMdf&&(this.transformedElement.style.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=HybridRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?((e=createNS("rect")).setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((e=createTag("div")).style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)},extendPrototype([HybridRenderer,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(e,t){for(var a,i=0;i<t;)this.elements[i]&&this.elements[i].getBaseElement&&(a=this.elements[i].getBaseElement()),i+=1;a?this.layerElement.insertBefore(e,a):this.layerElement.appendChild(e)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var a,i=e.length;for(a=0;a<i;a+=1)t=e[a].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var a,i,s,n,r,o=e.sh.v,p=e.transformers,c=o._length;if(!(c<=1)){for(a=0;a<c-1;a+=1)i=this.getTransformedPoint(p,o.v[a]),s=this.getTransformedPoint(p,o.o[a]),n=this.getTransformedPoint(p,o.i[a+1]),r=this.getTransformedPoint(p,o.v[a+1]),this.checkBounds(i,s,n,r,t);o.c&&(i=this.getTransformedPoint(p,o.v[a]),s=this.getTransformedPoint(p,o.o[a]),n=this.getTransformedPoint(p,o.i[0]),r=this.getTransformedPoint(p,o.v[0]),this.checkBounds(i,s,n,r,t))}},HShapeElement.prototype.checkBounds=function(e,t,a,i,s){this.getBoundsOfCurve(e,t,a,i);var n=this.shapeBoundingBox;s.x=bm_min(n.left,s.x),s.xMax=bm_max(n.right,s.xMax),s.y=bm_min(n.top,s.y),s.yMax=bm_max(n.bottom,s.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(e,t,a,i){for(var s,n,r,o,p,c,l,h=[[e[0],i[0]],[e[1],i[1]]],m=0;m<2;++m)if(n=6*e[m]-12*t[m]+6*a[m],s=-3*e[m]+9*t[m]-9*a[m]+3*i[m],r=3*t[m]-3*e[m],n|=0,r|=0,0!==(s|=0))(p=n*n-4*r*s)<0||(0<(c=(-n+bm_sqrt(p))/(2*s))&&c<1&&h[m].push(this.calculateF(c,e,t,a,i,m)),0<(l=(-n-bm_sqrt(p))/(2*s))&&l<1&&h[m].push(this.calculateF(l,e,t,a,i,m)));else{if(0===n)continue;0<(o=-r/n)&&o<1&&h[m].push(this.calculateF(o,e,t,a,i,m))}this.shapeBoundingBox.left=bm_min.apply(null,h[0]),this.shapeBoundingBox.top=bm_min.apply(null,h[1]),this.shapeBoundingBox.right=bm_max.apply(null,h[0]),this.shapeBoundingBox.bottom=bm_max.apply(null,h[1])},HShapeElement.prototype.calculateF=function(e,t,a,i,s,n){return bm_pow(1-e,3)*t[n]+3*bm_pow(1-e,2)*e*a[n]+3*(1-e)*bm_pow(e,2)*i[n]+bm_pow(e,3)*s[n]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var a,i=e.length;for(a=0;a<i;a+=1)e[a]&&e[a].sh?this.calculateShapeBoundingBox(e[a],t):e[a]&&e[a].it&&this.calculateBoundingBox(e[a].it,t)},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var a=!1;this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),a=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),a=!0),(a||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y)&&(this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),this.shapeCont.style.transform=this.shapeCont.style.webkitTransform="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)")}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style;t.color=t.fill=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)",e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var a,i,s=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",s.fClass)this.innerElem.className=s.fClass;else{t.fontFamily=s.fFamily;var n=e.fWeight,r=e.fStyle;t.fontStyle=r,t.fontWeight=n}var o,p,c,l=e.l;i=l.length;var h,m=this.mHelper,d="",u=0;for(a=0;a<i;a+=1){if(this.globalData.fontManager.chars?(this.textPaths[u]?o=this.textPaths[u]:((o=createNS("path")).setAttribute("stroke-linecap","butt"),o.setAttribute("stroke-linejoin","round"),o.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[u]?c=(p=this.textSpans[u]).children[0]:(p=createTag("div"),(c=createNS("svg")).appendChild(o),styleDiv(p)))):this.isMasked?o=this.textPaths[u]?this.textPaths[u]:createNS("text"):this.textSpans[u]?(p=this.textSpans[u],o=this.textPaths[u]):(styleDiv(p=createTag("span")),styleDiv(o=createTag("span")),p.appendChild(o)),this.globalData.fontManager.chars){var f,v=this.globalData.fontManager.getCharData(e.finalText[a],s.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);if(f=v?v.data:null,m.reset(),f&&f.shapes&&(h=f.shapes[0].it,m.scale(e.finalSize/100,e.finalSize/100),d=this.createPathShape(m,h),o.setAttribute("d",d)),this.isMasked)this.innerElem.appendChild(o);else{if(this.innerElem.appendChild(p),f&&f.shapes){document.body.appendChild(c);var g=c.getBBox();c.setAttribute("width",g.width+2),c.setAttribute("height",g.height+2),c.setAttribute("viewBox",g.x-1+" "+(g.y-1)+" "+(g.width+2)+" "+(g.height+2)),c.style.transform=c.style.webkitTransform="translate("+(g.x-1)+"px,"+(g.y-1)+"px)",l[a].yOffset=g.y-1}else c.setAttribute("width",1),c.setAttribute("height",1);p.appendChild(c)}}else o.textContent=l[a].val,o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked?this.innerElem.appendChild(o):(this.innerElem.appendChild(p),o.style.transform=o.style.webkitTransform="translate3d(0,"+-e.finalSize/1.2+"px,0)");this.isMasked?this.textSpans[u]=o:this.textSpans[u]=p,this.textSpans[u].style.display="block",this.textPaths[u]=o,u+=1}for(;u<this.textSpans.length;)this.textSpans[u].style.display="none",u+=1},HTextElement.prototype.renderInnerContent=function(){if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;this.isMasked&&this.finalTransform._matMdf&&(this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),this.svgElement.style.transform=this.svgElement.style.webkitTransform="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)")}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var e,t,a,i,s,n=0,r=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;for(t=o.length,e=0;e<t;e+=1)o[e].n?n+=1:(i=this.textSpans[e],s=this.textPaths[e],a=r[n],n+=1,a._mdf.m&&(this.isMasked?i.setAttribute("transform",a.m):i.style.transform=i.style.webkitTransform=a.m),i.style.opacity=a.o,a.sw&&a._mdf.sw&&s.setAttribute("stroke-width",a.sw),a.sc&&a._mdf.sc&&s.setAttribute("stroke",a.sc),a.fc&&a._mdf.fc&&(s.setAttribute("fill",a.fc),s.style.color=a.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var p=this.innerElem.getBBox();this.currentBBox.w!==p.width&&(this.currentBBox.w=p.width,this.svgElement.setAttribute("width",p.width)),this.currentBBox.h!==p.height&&(this.currentBBox.h=p.height,this.svgElement.setAttribute("height",p.height));this.currentBBox.w===p.width+2&&this.currentBBox.h===p.height+2&&this.currentBBox.x===p.x-1&&this.currentBBox.y===p.y-1||(this.currentBBox.w=p.width+2,this.currentBBox.h=p.height+2,this.currentBBox.x=p.x-1,this.currentBBox.y=p.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),this.svgElement.style.transform=this.svgElement.style.webkitTransform="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)")}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t,a=this.comp.threeDElements.length;for(e=0;e<a;e+=1)"3d"===(t=this.comp.threeDElements[e]).type&&(t.perspectiveElem.style.perspective=t.perspectiveElem.style.webkitPerspective=this.pe.v+"px",t.container.style.transformOrigin=t.container.style.mozTransformOrigin=t.container.style.webkitTransformOrigin="0px 0px 0px",t.perspectiveElem.style.transform=t.perspectiveElem.style.webkitTransform="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)")},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e,t,a=this._isFirstFrame;if(this.hierarchy)for(t=this.hierarchy.length,e=0;e<t;e+=1)a=this.hierarchy[e].finalTransform.mProp._mdf||a;if(a||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(e=t=this.hierarchy.length-1;e>=0;e-=1){var i=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-i.p.v[0],-i.p.v[1],i.p.v[2]),this.mat.rotateX(-i.or.v[0]).rotateY(-i.or.v[1]).rotateZ(i.or.v[2]),this.mat.rotateX(-i.rx.v).rotateY(-i.ry.v).rotateZ(i.rz.v),this.mat.scale(1/i.s.v[0],1/i.s.v[1],1/i.s.v[2]),this.mat.translate(i.a.v[0],i.a.v[1],i.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var s=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]],n=Math.sqrt(Math.pow(s[0],2)+Math.pow(s[1],2)+Math.pow(s[2],2)),r=[s[0]/n,s[1]/n,s[2]/n],o=Math.sqrt(r[2]*r[2]+r[0]*r[0]),p=Math.atan2(r[1],o),c=Math.atan2(r[0],-r[2]);this.mat.rotateY(c).rotateX(-p)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var l=!this._prevMat.equals(this.mat);if((l||this.pe._mdf)&&this.comp.threeDElements){var h;for(t=this.comp.threeDElements.length,e=0;e<t;e+=1)"3d"===(h=this.comp.threeDElements[e]).type&&(l&&(h.container.style.transform=h.container.style.webkitTransform=this.mat.toCSS()),this.pe._mdf&&(h.perspectiveElem.style.perspective=h.perspectiveElem.style.webkitPerspective=this.pe.v+"px"));this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},HEffects.prototype.renderFrame=function(){};var animationManager=function(){var e={},t=[],a=0,i=0,s=0,n=!0,r=!1;function o(e){for(var a=0,s=e.target;a<i;)t[a].animation===s&&(t.splice(a,1),a-=1,i-=1,s.isPaused||l()),a+=1}function p(e,a){if(!e)return null;for(var s=0;s<i;){if(t[s].elem==e&&null!==t[s].elem)return t[s].animation;s+=1}var n=new AnimationItem;return h(n,e),n.setData(e,a),n}function c(){s+=1,u()}function l(){s-=1}function h(e,a){e.addEventListener("destroy",o),e.addEventListener("_active",c),e.addEventListener("_idle",l),t.push({elem:a,animation:e}),i+=1}function m(e){var o,p=e-a;for(o=0;o<i;o+=1)t[o].animation.advanceTime(p);a=e,s&&!r?window.requestAnimationFrame(m):n=!0}function d(e){a=e,window.requestAnimationFrame(m)}function u(){!r&&s&&n&&(window.requestAnimationFrame(d),n=!1)}return e.registerAnimation=p,e.loadAnimation=function(e){var t=new AnimationItem;return h(t,null),t.setParams(e),t},e.setSpeed=function(e,a){var s;for(s=0;s<i;s+=1)t[s].animation.setSpeed(e,a)},e.setDirection=function(e,a){var s;for(s=0;s<i;s+=1)t[s].animation.setDirection(e,a)},e.play=function(e){var a;for(a=0;a<i;a+=1)t[a].animation.play(e)},e.pause=function(e){var a;for(a=0;a<i;a+=1)t[a].animation.pause(e)},e.stop=function(e){var a;for(a=0;a<i;a+=1)t[a].animation.stop(e)},e.togglePause=function(e){var a;for(a=0;a<i;a+=1)t[a].animation.togglePause(e)},e.searchAnimations=function(e,t,a){var i,s=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),n=s.length;for(i=0;i<n;i+=1)a&&s[i].setAttribute("data-bm-type",a),p(s[i],e);if(t&&0===n){a||(a="svg");var r=document.getElementsByTagName("body")[0];r.innerHTML="";var o=createTag("div");o.style.width="100%",o.style.height="100%",o.setAttribute("data-bm-type",a),r.appendChild(o),p(o,e)}},e.resize=function(){var e;for(e=0;e<i;e+=1)t[e].animation.resize()},e.goToAndStop=function(e,a,s){var n;for(n=0;n<i;n+=1)t[n].animation.goToAndStop(e,a,s)},e.destroy=function(e){var a;for(a=i-1;a>=0;a-=1)t[a].animation.destroy(e)},e.freeze=function(){r=!0},e.unfreeze=function(){r=!1,u()},e.getRegisteredAnimations=function(){var e,a=t.length,i=[];for(e=0;e<a;e+=1)i.push(t[e].animation);return i},e}(),AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.subframeEnabled=subframeEnabled,this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){e.context&&(this.context=e.context),(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t=e.animType?e.animType:e.renderer?e.renderer:"svg";switch(t){case"canvas":this.renderer=new CanvasRenderer(this,e.rendererSettings);break;case"svg":this.renderer=new SVGRenderer(this,e.rendererSettings);break;default:this.renderer=new HybridRenderer(this,e.rendererSettings)}this.renderer.setProjectInterface(this.projectInterface),this.animType=t,""===e.loop||null===e.loop||(!1===e.loop?this.loop=!1:!0===e.loop?this.loop=!0:this.loop=parseInt(e.loop)),this.autoplay=!("autoplay"in e)||e.autoplay,this.name=e.name?e.name:"",this.autoloadSegments=!e.hasOwnProperty("autoloadSegments")||e.autoloadSegments,this.assetsPath=e.assetsPath,e.animationData?this.configAnimation(e.animationData):e.path&&("json"!=e.path.substr(-4)&&("/"!=e.path.substr(-1,1)&&(e.path+="/"),e.path+="data.json"),-1!=e.path.lastIndexOf("\\")?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),assetLoader.load(e.path,this.configAnimation.bind(this),function(){this.trigger("data_failed")}.bind(this)))},AnimationItem.prototype.setData=function(e,t){var a={wrapper:e,animationData:t?"object"==typeof t?t:JSON.parse(t):null},i=e.attributes;a.path=i.getNamedItem("data-animation-path")?i.getNamedItem("data-animation-path").value:i.getNamedItem("data-bm-path")?i.getNamedItem("data-bm-path").value:i.getNamedItem("bm-path")?i.getNamedItem("bm-path").value:"",a.animType=i.getNamedItem("data-anim-type")?i.getNamedItem("data-anim-type").value:i.getNamedItem("data-bm-type")?i.getNamedItem("data-bm-type").value:i.getNamedItem("bm-type")?i.getNamedItem("bm-type").value:i.getNamedItem("data-bm-renderer")?i.getNamedItem("data-bm-renderer").value:i.getNamedItem("bm-renderer")?i.getNamedItem("bm-renderer").value:"canvas";var s=i.getNamedItem("data-anim-loop")?i.getNamedItem("data-anim-loop").value:i.getNamedItem("data-bm-loop")?i.getNamedItem("data-bm-loop").value:i.getNamedItem("bm-loop")?i.getNamedItem("bm-loop").value:"";""===s||(a.loop="false"!==s&&("true"===s||parseInt(s)));var n=i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:!i.getNamedItem("bm-autoplay")||i.getNamedItem("bm-autoplay").value;a.autoplay="false"!==n,a.name=i.getNamedItem("data-name")?i.getNamedItem("data-name").value:i.getNamedItem("data-bm-name")?i.getNamedItem("data-bm-name").value:i.getNamedItem("bm-name")?i.getNamedItem("bm-name").value:"","false"===(i.getNamedItem("data-anim-prerender")?i.getNamedItem("data-anim-prerender").value:i.getNamedItem("data-bm-prerender")?i.getNamedItem("data-bm-prerender").value:i.getNamedItem("bm-prerender")?i.getNamedItem("bm-prerender").value:"")&&(a.prerender=!1),this.setParams(a)},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t,a,i=this.animationData.layers,s=i.length,n=e.layers,r=n.length;for(a=0;a<r;a+=1)for(t=0;t<s;){if(i[t].id==n[a].id){i[t]=n[a];break}t+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(s=e.assets.length,t=0;t<s;t+=1)this.animationData.assets.push(e.assets[t]);this.animationData.__complete=!1,dataManager.completeData(this.animationData,this.renderer.globalData.fontManager),this.renderer.includeLayers(e.layers),expressionsPlugin&&expressionsPlugin.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||0===e.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var t=e.shift();this.timeCompleted=t.time*this.frameRate;var a=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,assetLoader.load(a,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(e){this.renderer&&(this.animationData=e,this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.renderer.searchExtraCompositions(e.assets),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.firstFrame=Math.round(this.animationData.ip),this.frameMult=this.animationData.fr/1e3,this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded())},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.loaded()?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){this.isLoaded||!this.renderer.globalData.fontManager.loaded()||!this.imagePreloader.loaded()&&"canvas"===this.renderer.rendererType||(this.isLoaded=!0,dataManager.completeData(this.animationData,this.renderer.globalData.fontManager),expressionsPlugin&&expressionsPlugin.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play())},AnimationItem.prototype.resize=function(){this.renderer.updateContainerSize()},AnimationItem.prototype.setSubframe=function(e){this.subframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.subframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame()},AnimationItem.prototype.renderFrame=function(){!1!==this.isLoaded&&this.renderer.renderFrame(this.currentFrame+this.firstFrame)},AnimationItem.prototype.play=function(e){e&&this.name!=e||!0===this.isPaused&&(this.isPaused=!1,this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!=e||!1===this.isPaused&&(this.isPaused=!0,this._idle=!0,this.trigger("_idle"))},AnimationItem.prototype.togglePause=function(e){e&&this.name!=e||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!=e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.goToAndStop=function(e,t,a){a&&this.name!=a||(t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier),this.pause())},AnimationItem.prototype.goToAndPlay=function(e,t,a){this.goToAndStop(e,t,a),this.play()},AnimationItem.prototype.advanceTime=function(e){if(!0!==this.isPaused&&!1!==this.isLoaded){var t=this.currentRawFrame+e*this.frameModifier,a=!1;t>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(a=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(a=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),a&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.timeCompleted=this.totalFrames=e[0]-e[1],this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.timeCompleted=this.totalFrames=e[1]-e[0],this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var a=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?a=e:this.currentRawFrame+this.firstFrame>t&&(a=t-e)),this.firstFrame=e,this.timeCompleted=this.totalFrames=t-e,-1!==a&&this.goToAndStop(a,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"==typeof e[0]){var a,i=e.length;for(a=0;a<i;a+=1)this.segments.push(e[a])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),e),!0)},AnimationItem.prototype.destroy=function(e){e&&this.name!=e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=this.onLoopComplete=this.onComplete=this.onSegmentStart=this.onDestroy=null,this.renderer=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var a=e.p;-1!==a.indexOf("images/")&&(a=a.split("/")[1]),t=this.assetsPath+a}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,a=this.assets.length;t<a;){if(e==this.assets[t].id)return this.assets[t];t+=1}},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}"enterFrame"===e&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===e&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),"complete"===e&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),"segmentStart"===e&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),"destroy"===e&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))};var Expressions=function(){var e={};return e.initExpressions=function(e){var t=0,a=[];e.renderer.compInterface=CompExpressionInterface(e.renderer),e.renderer.globalData.projectInterface.registerComposition(e.renderer),e.renderer.globalData.pushExpression=function(){t+=1},e.renderer.globalData.popExpression=function(){0===(t-=1)&&function(){var e,t=a.length;for(e=0;e<t;e+=1)a[e].release();a.length=0}()},e.renderer.globalData.registerExpressionProperty=function(e){-1===a.indexOf(e)&&a.push(e)}},e}();expressionsPlugin=Expressions;var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null;function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||"boolean"===e||"string"===e||t instanceof Number}function $bm_neg(e){var t=typeof e;if("number"===t||"boolean"===t||e instanceof Number)return-e;if($bm_isInstanceOfArray(e)){var a,i=e.length,s=[];for(a=0;a<i;a+=1)s[a]=-e[a];return s}return e.propType?e.v:void 0}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,t){var a=typeof e,i=typeof t;if("string"===a||"string"===i)return e+t;if(isNumerable(a,e)&&isNumerable(i,t))return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t))return(e=e.slice(0))[0]=e[0]+t,e;if(isNumerable(a,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var s=0,n=e.length,r=t.length,o=[];s<n||s<r;)("number"==typeof e[s]||e[s]instanceof Number)&&("number"==typeof t[s]||t[s]instanceof Number)?o[s]=e[s]+t[s]:o[s]=void 0===t[s]?e[s]:e[s]||t[s],s+=1;return o}return 0}var add=sum;function sub(e,t){var a=typeof e,i=typeof t;if(isNumerable(a,e)&&isNumerable(i,t))return"string"===a&&(e=parseInt(e)),"string"===i&&(t=parseInt(t)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t))return(e=e.slice(0))[0]=e[0]-t,e;if(isNumerable(a,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var s=0,n=e.length,r=t.length,o=[];s<n||s<r;)("number"==typeof e[s]||e[s]instanceof Number)&&("number"==typeof t[s]||t[s]instanceof Number)?o[s]=e[s]-t[s]:o[s]=void 0===t[s]?e[s]:e[s]||t[s],s+=1;return o}return 0}function mul(e,t){var a,i,s,n=typeof e,r=typeof t;if(isNumerable(n,e)&&isNumerable(r,t))return e*t;if($bm_isInstanceOfArray(e)&&isNumerable(r,t)){for(s=e.length,a=createTypedArray("float32",s),i=0;i<s;i+=1)a[i]=e[i]*t;return a}if(isNumerable(n,e)&&$bm_isInstanceOfArray(t)){for(s=t.length,a=createTypedArray("float32",s),i=0;i<s;i+=1)a[i]=e*t[i];return a}return 0}function div(e,t){var a,i,s,n=typeof e,r=typeof t;if(isNumerable(n,e)&&isNumerable(r,t))return e/t;if($bm_isInstanceOfArray(e)&&isNumerable(r,t)){for(s=e.length,a=createTypedArray("float32",s),i=0;i<s;i+=1)a[i]=e[i]/t;return a}if(isNumerable(n,e)&&$bm_isInstanceOfArray(t)){for(s=t.length,a=createTypedArray("float32",s),i=0;i<s;i+=1)a[i]=e/t[i];return a}return 0}function mod(e,t){return"string"==typeof e&&(e=parseInt(e)),"string"==typeof t&&(t=parseInt(t)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,a){if(t>a){var i=a;a=t,t=i}return Math.min(Math.max(e,t),a)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if("number"==typeof e||e instanceof Number)return t=t||0,Math.abs(e-t);t||(t=helperLengthArray);var a,i=Math.min(e.length,t.length),s=0;for(a=0;a<i;a+=1)s+=Math.pow(t[a]-e[a],2);return Math.sqrt(s)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t,a,i=e[0],s=e[1],n=e[2],r=Math.max(i,s,n),o=Math.min(i,s,n),p=(r+o)/2;if(r==o)t=a=0;else{var c=r-o;switch(a=p>.5?c/(2-r-o):c/(r+o),r){case i:t=(s-n)/c+(s<n?6:0);break;case s:t=(n-i)/c+2;break;case n:t=(i-s)/c+4}t/=6}return[t,a,p,e[3]]}function hue2rgb(e,t,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?e+6*(t-e)*a:a<.5?t:a<2/3?e+(t-e)*(2/3-a)*6:e}function hslToRgb(e){var t,a,i,s=e[0],n=e[1],r=e[2];if(0===n)t=a=i=r;else{var o=r<.5?r*(1+n):r+n-r*n,p=2*r-o;t=hue2rgb(p,o,s+1/3),a=hue2rgb(p,o,s),i=hue2rgb(p,o,s-1/3)}return[t,a,i,e[3]]}function linear(e,t,a,i,s){if(void 0!==i&&void 0!==s||(i=t,s=a,t=0,a=1),a<t){var n=a;a=t,t=n}if(e<=t)return i;if(e>=a)return s;var r=a===t?0:(e-t)/(a-t);if(!i.length)return i+(s-i)*r;var o,p=i.length,c=createTypedArray("float32",p);for(o=0;o<p;o+=1)c[o]=i[o]+(s[o]-i[o])*r;return c}function random(e,t){if(void 0===t&&(void 0===e?(e=0,t=1):(t=e,e=void 0)),t.length){var a,i=t.length;e||(e=createTypedArray("float32",i));var s=createTypedArray("float32",i),n=BMMath.random();for(a=0;a<i;a+=1)s[a]=e[a]+n*(t[a]-e[a]);return s}return void 0===e&&(e=0),e+BMMath.random()*(t-e)}function createPath(e,t,a,i){var s,n=e.length,r=shape_pool.newElement();r.setPathData(!!i,n);var o,p,c=[0,0];for(s=0;s<n;s+=1)o=t&&t[s]?t[s]:c,p=a&&a[s]?a[s]:c,r.setTripleAt(e[s][0],e[s][1],p[0]+e[s][0],p[1]+e[s][1],o[0]+e[s][0],o[1]+e[s][1],s,!0);return r}function initiateExpression(elem,data,property){var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,__expression_functions=[],scoped_bm_rt;if(data.xf){var i,len=data.xf.length;for(i=0;i<len;i+=1)__expression_functions[i]=eval("(function(){ return "+data.xf[i]+"}())")}var expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(e,t){var a,i,s=this.pv.length?this.pv.length:1,n=createTypedArray("float32",s);var r=Math.floor(5*time);for(a=0,i=0;a<r;){for(i=0;i<s;i+=1)n[i]+=-t+2*t*BMMath.random();a+=1}var o=5*time,p=o-Math.floor(o),c=createTypedArray("float32",s);if(s>1){for(i=0;i<s;i+=1)c[i]=this.pv[i]+n[i]+(-t+2*t*BMMath.random())*p;return c}return this.pv+n[0]+(-t+2*t*BMMath.random())*p}.bind(this);function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(e,t){var a=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],i=Math.atan2(a[0],Math.sqrt(a[1]*a[1]+a[2]*a[2]))/degToRads;return[-Math.atan2(a[1],a[2])/degToRads,i,0]}function easeOut(e,t,a,i,s){return applyEase(easeOutBez,e,t,a,i,s)}function easeIn(e,t,a,i,s){return applyEase(easeInBez,e,t,a,i,s)}function ease(e,t,a,i,s){return applyEase(easeInOutBez,e,t,a,i,s)}function applyEase(e,t,a,i,s,n){void 0===s?(s=a,n=i):t=(t-a)/(i-a);var r=e(t=t>1?1:t<0?0:t);if($bm_isInstanceOfArray(s)){var o,p=s.length,c=createTypedArray("float32",p);for(o=0;o<p;o+=1)c[o]=(n[o]-s[o])*r+s[o];return c}return(n-s)*r+s}function nearestKey(e){var t,a,i,s=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(a=-1,(e*=elem.comp.globalData.frameRate)<data.k[0].t)a=1,i=data.k[0].t;else{for(t=0;t<s-1;t+=1){if(e===data.k[t].t){a=t+1,i=data.k[t].t;break}if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(a=t+2,i=data.k[t+1].t):(a=t+1,i=data.k[t].t);break}}-1===a&&(a=t+1,i=data.k[t].t)}else a=0,i=0;var n={};return n.index=a,n.time=i/elem.comp.globalData.frameRate,n}function key(e){var t,a,i,s;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+e);for(e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]},i=(s=e!==data.k.length-1||data.k[e].h?data.k[e].s:data.k[e].s||0===data.k[e].s?data.k[e-1].s:data.k[e].e).length,a=0;a<i;a+=1)t[a]=s[a],t.value[a]=s[a];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return e||0===e||(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return"string"==typeof value?void 0===t?value.substring(e):value.substring(e,t):""}function substr(e,t){return"string"==typeof value?void 0===t?value.substr(e):value.substr(e,t):""}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(e){return value=e,_needsRandom&&seedRandom(randSeed),this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,"shape"===scoped_bm_rt.propType&&(scoped_bm_rt=scoped_bm_rt.v),scoped_bm_rt)}return executeExpression}return ob.initiateExpression=initiateExpression,ob}(),expressionHelpers={searchExpressions:function(e,t,a){t.x&&(a.k=!0,a.x=!0,a.initiateExpression=ExpressionManager.initiateExpression,a.effectsSequence.push(a.initiateExpression(e,t,a).bind(a)))},getSpeedAtTime:function(e){var t=this.getValueAtTime(e),a=this.getValueAtTime(e+-.01),i=0;if(t.length){var s;for(s=0;s<t.length;s+=1)i+=Math.pow(a[s]-t[s],2);i=100*Math.sqrt(i)}else i=0;return i},getVelocityAtTime:function(e){if(void 0!==this.vel)return this.vel;var t,a,i=this.getValueAtTime(e),s=this.getValueAtTime(e+-.001);if(i.length)for(t=createTypedArray("float32",i.length),a=0;a<i.length;a+=1)t[a]=(s[a]-i[a])/-.001;else t=(s-i)/-.001;return t},getValueAtTime:function(e){return e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<e?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(e,this._cachingAtTime),this._cachingAtTime.lastFrame=e),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(e){this.propertyGroup=e}};!function(){function e(e,t,a){if(!this.k||!this.keyframes)return this.pv;e=e?e.toLowerCase():"";var i,s,n,r,o,p=this.comp.renderedFrame,c=this.keyframes,l=c[c.length-1].t;if(p<=l)return this.pv;if(a?s=l-(i=t?Math.abs(l-elem.comp.globalData.frameRate*t):Math.max(0,l-this.elem.data.ip)):((!t||t>c.length-1)&&(t=c.length-1),i=l-(s=c[c.length-1-t].t)),"pingpong"===e){if(Math.floor((p-s)/i)%2!=0)return this.getValueAtTime((i-(p-s)%i+s)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var h=this.getValueAtTime(s/this.comp.globalData.frameRate,0),m=this.getValueAtTime(l/this.comp.globalData.frameRate,0),d=this.getValueAtTime(((p-s)%i+s)/this.comp.globalData.frameRate,0),u=Math.floor((p-s)/i);if(this.pv.length){for(r=(o=new Array(h.length)).length,n=0;n<r;n+=1)o[n]=(m[n]-h[n])*u+d[n];return o}return(m-h)*u+d}if("continue"===e){var f=this.getValueAtTime(l/this.comp.globalData.frameRate,0),v=this.getValueAtTime((l-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(r=(o=new Array(f.length)).length,n=0;n<r;n+=1)o[n]=f[n]+(f[n]-v[n])*((p-l)/this.comp.globalData.frameRate)/5e-4;return o}return f+(p-l)/.001*(f-v)}}return this.getValueAtTime(((p-s)%i+s)/this.comp.globalData.frameRate,0)}function t(e,t,a){if(!this.k)return this.pv;e=e?e.toLowerCase():"";var i,s,n,r,o,p=this.comp.renderedFrame,c=this.keyframes,l=c[0].t;if(p>=l)return this.pv;if(a?s=l+(i=t?Math.abs(elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-l)):((!t||t>c.length-1)&&(t=c.length-1),i=(s=c[t].t)-l),"pingpong"===e){if(Math.floor((l-p)/i)%2==0)return this.getValueAtTime(((l-p)%i+l)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var h=this.getValueAtTime(l/this.comp.globalData.frameRate,0),m=this.getValueAtTime(s/this.comp.globalData.frameRate,0),d=this.getValueAtTime((i-(l-p)%i+l)/this.comp.globalData.frameRate,0),u=Math.floor((l-p)/i)+1;if(this.pv.length){for(r=(o=new Array(h.length)).length,n=0;n<r;n+=1)o[n]=d[n]-(m[n]-h[n])*u;return o}return d-(m-h)*u}if("continue"===e){var f=this.getValueAtTime(l/this.comp.globalData.frameRate,0),v=this.getValueAtTime((l+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(r=(o=new Array(f.length)).length,n=0;n<r;n+=1)o[n]=f[n]+(f[n]-v[n])*(l-p)/.001;return o}return f+(f-v)*(l-p)/.001}}return this.getValueAtTime((i-(l-p)%i+l)/this.comp.globalData.frameRate,0)}function a(e,t){if(!this.k)return this.pv;if(e=.5*(e||.4),(t=Math.floor(t||5))<=1)return this.pv;var a,i,s=this.comp.renderedFrame/this.comp.globalData.frameRate,n=s-e,r=t>1?(s+e-n)/(t-1):1,o=0,p=0;for(a=this.pv.length?createTypedArray("float32",this.pv.length):0;o<t;){if(i=this.getValueAtTime(n+o*r),this.pv.length)for(p=0;p<this.pv.length;p+=1)a[p]+=i[p];else a+=i;o+=1}if(this.pv.length)for(p=0;p<this.pv.length;p+=1)a[p]/=t;else a/=t;return a}function i(e){console.warn("Transform at time not supported")}function s(e){}var n=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(e,t,a){var r=n(e,t,a);return r.dynamicProperties.length?r.getValueAtTime=i.bind(r):r.getValueAtTime=s.bind(r),r.setGroupProperty=expressionHelpers.setGroupProperty,r};var r=PropertyFactory.getProp;PropertyFactory.getProp=function(i,s,n,o,p){var c=r(i,s,n,o,p);c.kf?c.getValueAtTime=expressionHelpers.getValueAtTime.bind(c):c.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(c),c.setGroupProperty=expressionHelpers.setGroupProperty,c.loopOut=e,c.loopIn=t,c.smooth=a,c.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(c),c.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(c),c.numKeys=1===s.a?s.k.length:0,c.propertyIndex=s.ix;var l=0;return 0!==n&&(l=createTypedArray("float32",1===s.a?s.k[0].s.length:s.k.length)),c._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:l},expressionHelpers.searchExpressions(i,s,c),c.k&&p.addDynamicProperty(c),c};var o=ShapePropertyFactory.getConstructorFunction(),p=ShapePropertyFactory.getKeyframedConstructorFunction();function c(){}c.prototype={vertices:function(e,t){this.k&&this.getValue();var a=this.v;void 0!==t&&(a=this.getValueAtTime(t,0));var i,s=a._length,n=a[e],r=a.v,o=createSizedArray(s);for(i=0;i<s;i+=1)o[i]="i"===e||"o"===e?[n[i][0]-r[i][0],n[i][1]-r[i][1]]:[n[i][0],n[i][1]];return o},points:function(e){return this.vertices("v",e)},inTangents:function(e){return this.vertices("i",e)},outTangents:function(e){return this.vertices("o",e)},isClosed:function(){return this.v.c},pointOnPath:function(e,t){var a=this.v;void 0!==t&&(a=this.getValueAtTime(t,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(a));for(var i,s=this._segmentsLength,n=s.lengths,r=s.totalLength*e,o=0,p=n.length,c=0;o<p;){if(c+n[o].addedLength>r){var l=o,h=a.c&&o===p-1?0:o+1,m=(r-c)/n[o].addedLength;i=bez.getPointInSegment(a.v[l],a.v[h],a.o[l],a.i[h],m,n[o]);break}c+=n[o].addedLength,o+=1}return i||(i=a.c?[a.v[0][0],a.v[0][1]]:[a.v[a._length-1][0],a.v[a._length-1][1]]),i},vectorOnPath:function(e,t,a){e=1==e?this.v.c?0:.999:e;var i=this.pointOnPath(e,t),s=this.pointOnPath(e+.001,t),n=s[0]-i[0],r=s[1]-i[1],o=Math.sqrt(Math.pow(n,2)+Math.pow(r,2));return"tangent"===a?[n/o,r/o]:[-r/o,n/o]},tangentOnPath:function(e,t){return this.vectorOnPath(e,t,"tangent")},normalOnPath:function(e,t){return this.vectorOnPath(e,t,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([c],o),extendPrototype([c],p),p.prototype.getValueAtTime=function(e){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shape_pool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<e?this._caching.lastIndex:0,this._cachingAtTime.lastTime=e,this.interpolateShape(e,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},p.prototype.initiateExpression=ExpressionManager.initiateExpression;var l=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(e,t,a,i,s){var n=l(e,t,a,i,s);return n.propertyIndex=t.ix,n.lock=!1,3===a?expressionHelpers.searchExpressions(e,t.pt,n):4===a&&expressionHelpers.searchExpressions(e,t.ks,n),n.k&&e.addDynamicProperty(n),n}}(),TextProperty.prototype.getExpressionValue=function(e,t){var a=this.calculateExpression(t);if(e.t!==a){var i={};return this.copyData(i,e),i.t=a.toString(),i.__complete=!1,i}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),t=this.searchExpressions();return this.kf=e||t,this.kf},TextProperty.prototype.searchExpressions=function(){if(this.data.d.x)return this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0};var ShapeExpressionInterface=function(){function e(e,h,m){var d,u=[],f=e?e.length:0;for(d=0;d<f;d+=1)"gr"==e[d].ty?u.push(t(e[d],h[d],m)):"fl"==e[d].ty?u.push(a(e[d],h[d],m)):"st"==e[d].ty?u.push(i(e[d],h[d],m)):"tm"==e[d].ty?u.push(s(e[d],h[d],m)):"tr"==e[d].ty||("el"==e[d].ty?u.push(n(e[d],h[d],m)):"sr"==e[d].ty?u.push(r(e[d],h[d],m)):"sh"==e[d].ty?u.push(l(e[d],h[d],m)):"rc"==e[d].ty?u.push(o(e[d],h[d],m)):"rd"==e[d].ty?u.push(p(e[d],h[d],m)):"rp"==e[d].ty&&u.push(c(e[d],h[d],m)));return u}function t(t,a,i){var s=function(e){switch(e){case"ADBE Vectors Group":case"Contents":case 2:return s.content;default:return s.transform}};s.propertyGroup=function(e){return 1===e?s:i(e-1)};var n=function(t,a,i){var s,n=function(e){for(var t=0,a=s.length;t<a;){if(s[t]._name===e||s[t].mn===e||s[t].propertyIndex===e||s[t].ix===e||s[t].ind===e)return s[t];t+=1}if("number"==typeof e)return s[e-1]};return n.propertyGroup=function(e){return 1===e?n:i(e-1)},s=e(t.it,a.it,n.propertyGroup),n.numProperties=s.length,n.propertyIndex=t.cix,n._name=t.nm,n}(t,a,s.propertyGroup),r=function(e,t,a){function i(e){return 1==e?s:a(--e)}t.transform.mProps.o.setGroupProperty(i),t.transform.mProps.p.setGroupProperty(i),t.transform.mProps.a.setGroupProperty(i),t.transform.mProps.s.setGroupProperty(i),t.transform.mProps.r.setGroupProperty(i),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(i),t.transform.mProps.sa.setGroupProperty(i));function s(t){return e.a.ix===t||"Anchor Point"===t?s.anchorPoint:e.o.ix===t||"Opacity"===t?s.opacity:e.p.ix===t||"Position"===t?s.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?s.rotation:e.s.ix===t||"Scale"===t?s.scale:e.sk&&e.sk.ix===t||"Skew"===t?s.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?s.skewAxis:void 0}return t.transform.op.setGroupProperty(i),Object.defineProperties(s,{opacity:{get:ExpressionPropertyInterface(t.transform.mProps.o)},position:{get:ExpressionPropertyInterface(t.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(t.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(t.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(t.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(t.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(t.transform.mProps.sa)},_name:{value:e.nm}}),s.ty="tr",s.mn=e.mn,s.propertyGroup=a,s}(t.it[t.it.length-1],a.it[a.it.length-1],s.propertyGroup);return s.content=n,s.transform=r,Object.defineProperty(s,"_name",{get:function(){return t.nm}}),s.numProperties=t.np,s.propertyIndex=t.ix,s.nm=t.nm,s.mn=t.mn,s}function a(e,t,a){function i(e){return"Color"===e||"color"===e?i.color:"Opacity"===e||"opacity"===e?i.opacity:void 0}return Object.defineProperties(i,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(a),t.o.setGroupProperty(a),i}function i(e,t,a){function i(e){return 1===e?ob:a(e-1)}function s(e){return 1===e?p:i(e-1)}function n(a){Object.defineProperty(p,e.d[a].nm,{get:ExpressionPropertyInterface(t.d.dataProps[a].p)})}var r,o=e.d?e.d.length:0,p={};for(r=0;r<o;r+=1)n(r),t.d.dataProps[r].p.setGroupProperty(s);function c(e){return"Color"===e||"color"===e?c.color:"Opacity"===e||"opacity"===e?c.opacity:"Stroke Width"===e||"stroke width"===e?c.strokeWidth:void 0}return Object.defineProperties(c,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},strokeWidth:{get:ExpressionPropertyInterface(t.w)},dash:{get:function(){return p}},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(i),t.o.setGroupProperty(i),t.w.setGroupProperty(i),c}function s(e,t,a){function i(e){return 1==e?s:a(--e)}function s(t){return t===e.e.ix||"End"===t||"end"===t?s.end:t===e.s.ix?s.start:t===e.o.ix?s.offset:void 0}return s.propertyIndex=e.ix,t.s.setGroupProperty(i),t.e.setGroupProperty(i),t.o.setGroupProperty(i),s.propertyIndex=e.ix,s.propertyGroup=a,Object.defineProperties(s,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),s.mn=e.mn,s}function n(e,t,a){function i(e){return 1==e?n:a(--e)}n.propertyIndex=e.ix;var s="tm"===t.sh.ty?t.sh.prop:t.sh;function n(t){return e.p.ix===t?n.position:e.s.ix===t?n.size:void 0}return s.s.setGroupProperty(i),s.p.setGroupProperty(i),Object.defineProperties(n,{size:{get:ExpressionPropertyInterface(s.s)},position:{get:ExpressionPropertyInterface(s.p)},_name:{value:e.nm}}),n.mn=e.mn,n}function r(e,t,a){function i(e){return 1==e?n:a(--e)}var s="tm"===t.sh.ty?t.sh.prop:t.sh;function n(t){return e.p.ix===t?n.position:e.r.ix===t?n.rotation:e.pt.ix===t?n.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?n.outerRadius:e.os.ix===t?n.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?n.innerRoundness:void 0:n.innerRadius}return n.propertyIndex=e.ix,s.or.setGroupProperty(i),s.os.setGroupProperty(i),s.pt.setGroupProperty(i),s.p.setGroupProperty(i),s.r.setGroupProperty(i),e.ir&&(s.ir.setGroupProperty(i),s.is.setGroupProperty(i)),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(s.p)},rotation:{get:ExpressionPropertyInterface(s.r)},points:{get:ExpressionPropertyInterface(s.pt)},outerRadius:{get:ExpressionPropertyInterface(s.or)},outerRoundness:{get:ExpressionPropertyInterface(s.os)},innerRadius:{get:ExpressionPropertyInterface(s.ir)},innerRoundness:{get:ExpressionPropertyInterface(s.is)},_name:{value:e.nm}}),n.mn=e.mn,n}function o(e,t,a){function i(e){return 1==e?n:a(--e)}var s="tm"===t.sh.ty?t.sh.prop:t.sh;function n(t){return e.p.ix===t?n.position:e.r.ix===t?n.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?n.size:void 0}return n.propertyIndex=e.ix,s.p.setGroupProperty(i),s.s.setGroupProperty(i),s.r.setGroupProperty(i),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(s.p)},roundness:{get:ExpressionPropertyInterface(s.r)},size:{get:ExpressionPropertyInterface(s.s)},_name:{value:e.nm}}),n.mn=e.mn,n}function p(e,t,a){var i=t;function s(t){if(e.r.ix===t||"Round Corners 1"===t)return s.radius}return s.propertyIndex=e.ix,i.rd.setGroupProperty((function(e){return 1==e?s:a(--e)})),Object.defineProperties(s,{radius:{get:ExpressionPropertyInterface(i.rd)},_name:{value:e.nm}}),s.mn=e.mn,s}function c(e,t,a){function i(e){return 1==e?n:a(--e)}var s=t;function n(t){return e.c.ix===t||"Copies"===t?n.copies:e.o.ix===t||"Offset"===t?n.offset:void 0}return n.propertyIndex=e.ix,s.c.setGroupProperty(i),s.o.setGroupProperty(i),Object.defineProperties(n,{copies:{get:ExpressionPropertyInterface(s.c)},offset:{get:ExpressionPropertyInterface(s.o)},_name:{value:e.nm}}),n.mn=e.mn,n}function l(e,t,a){var i=t.sh;function s(e){if("Shape"===e||"shape"===e||"Path"===e||"path"===e||"ADBE Vector Shape"===e||2===e)return s.path}return i.setGroupProperty((function(e){return 1==e?s:a(--e)})),Object.defineProperties(s,{path:{get:function(){return i.k&&i.getValue(),i}},shape:{get:function(){return i.k&&i.getValue(),i}},_name:{value:e.nm},ix:{value:e.ix},mn:{value:e.mn}}),s}return function(t,a,i){var s;function n(e){if("number"==typeof e)return s[e-1];for(var t=0,a=s.length;t<a;){if(s[t]._name===e)return s[t];t+=1}}return n.propertyGroup=i,s=e(t,a,n),n.numProperties=s.length,n}}(),TextExpressionInterface=function(e){var t;function a(){}return Object.defineProperty(a,"sourceText",{get:function(){e.textProperty.getValue();var a=e.textProperty.currentData.t;return void 0!==a&&(e.textProperty.currentData.t=void 0,(t=new String(a)).value=a||new String(a)),t}}),a},LayerExpressionInterface=function(){function e(e,t){var a=new Matrix;if(a.reset(),this._elem.finalTransform.mProp.applyToMatrix(a),this._elem.hierarchy&&this._elem.hierarchy.length){var i,s=this._elem.hierarchy.length;for(i=0;i<s;i+=1)this._elem.hierarchy[i].finalTransform.mProp.applyToMatrix(a);return a.applyToPointArray(e[0],e[1],e[2]||0)}return a.applyToPointArray(e[0],e[1],e[2]||0)}function t(e,t){var a=new Matrix;if(a.reset(),this._elem.finalTransform.mProp.applyToMatrix(a),this._elem.hierarchy&&this._elem.hierarchy.length){var i,s=this._elem.hierarchy.length;for(i=0;i<s;i+=1)this._elem.hierarchy[i].finalTransform.mProp.applyToMatrix(a);return a.inversePoint(e)}return a.inversePoint(e)}function a(e){var t=new Matrix;if(t.reset(),this._elem.finalTransform.mProp.applyToMatrix(t),this._elem.hierarchy&&this._elem.hierarchy.length){var a,i=this._elem.hierarchy.length;for(a=0;a<i;a+=1)this._elem.hierarchy[a].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}return t.inversePoint(e)}function i(){return[1,1,1,1]}return function(s){var n;function r(e){switch(e){case"ADBE Root Vectors Group":case"Contents":case 2:return r.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return n;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return r.effect}}r.toWorld=e,r.fromWorld=t,r.toComp=e,r.fromComp=a,r.sampleImage=i,r.sourceRectAtTime=s.sourceRectAtTime.bind(s),r._elem=s;var o=getDescriptor(n=TransformExpressionInterface(s.finalTransform.mProp),"anchorPoint");return Object.defineProperties(r,{hasParent:{get:function(){return s.hierarchy.length}},parent:{get:function(){return s.hierarchy[0].layerInterface}},rotation:getDescriptor(n,"rotation"),scale:getDescriptor(n,"scale"),position:getDescriptor(n,"position"),opacity:getDescriptor(n,"opacity"),anchorPoint:o,anchor_point:o,transform:{get:function(){return n}},active:{get:function(){return s.isInRange}}}),r.startTime=s.data.st,r.index=s.data.ind,r.source=s.data.refId,r.height=0===s.data.ty?s.data.h:100,r.width=0===s.data.ty?s.data.w:100,r.inPoint=s.data.ip/s.comp.globalData.frameRate,r.outPoint=s.data.op/s.comp.globalData.frameRate,r._name=s.data.nm,r.registerMaskInterface=function(e){r.mask=new MaskManagerInterface(e,s)},r.registerEffectsInterface=function(e){r.effect=e},r}}(),CompExpressionInterface=function(e){function t(t){for(var a=0,i=e.layers.length;a<i;){if(e.layers[a].nm===t||e.layers[a].ind===t)return e.elements[a].layerInterface;a+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t},TransformExpressionInterface=function(e){function t(e){switch(e){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity}}if(Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)}),e.p)var a=ExpressionPropertyInterface(e.p);return Object.defineProperty(t,"position",{get:function(){return e.p?a():[e.px.v,e.py.v,e.pz?e.pz.v:0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t},ProjectInterface=function(){function e(e){this.compositions.push(e)}return function(){function t(e){for(var t=0,a=this.compositions.length;t<a;){if(this.compositions[t].data&&this.compositions[t].data.nm===e)return this.compositions[t].prepareFrame&&this.compositions[t].data.xt&&this.compositions[t].prepareFrame(this.currentFrame),this.compositions[t].compInterface;t+=1}}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),EffectsExpressionInterface=function(){function e(a,i,s,n){var r,o=[],p=a.ef.length;for(r=0;r<p;r+=1)5===a.ef[r].ty?o.push(e(a.ef[r],i.effectElements[r],i.effectElements[r].propertyGroup,n)):o.push(t(i.effectElements[r],a.ef[r].ty,n,c));function c(e){return 1===e?l:s(e-1)}var l=function(e){for(var t=a.ef,i=0,s=t.length;i<s;){if(e===t[i].nm||e===t[i].mn||e===t[i].ix)return 5===t[i].ty?o[i]:o[i]();i+=1}return o[0]()};return l.propertyGroup=c,"ADBE Color Control"===a.mn&&Object.defineProperty(l,"color",{get:function(){return o[0]()}}),Object.defineProperty(l,"numProperties",{get:function(){return a.np}}),l.active=l.enabled=0!==a.en,l}function t(e,t,a,i){var s=ExpressionPropertyInterface(e.p);return e.p.setGroupProperty&&e.p.setGroupProperty(i),function(){return 10===t?a.comp.compInterface(e.p.v):s()}}return{createEffectsInterface:function(t,a){if(t.effectsManager){var i,s=[],n=t.data.ef,r=t.effectsManager.effectElements.length;for(i=0;i<r;i+=1)s.push(e(n[i],t.effectsManager.effectElements[i],a,t));return function(e){for(var a=t.data.ef||[],i=0,n=a.length;i<n;){if(e===a[i].nm||e===a[i].mn||e===a[i].ix)return s[i];i+=1}}}}}}(),MaskManagerInterface=function(){function e(e,t){this._mask=e,this._data=t}Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}});return function(t,a){var i,s=createSizedArray(t.viewData.length),n=t.viewData.length;for(i=0;i<n;i+=1)s[i]=new e(t.viewData[i],t.masksProperties[i]);return function(e){for(i=0;i<n;){if(t.masksProperties[i].nm===e)return s[i];i+=1}}}}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function a(e,t,a){Object.defineProperty(e,"velocity",{get:function(){return t.getVelocityAtTime(t.comp.currentFrame)}}),e.numKeys=t.keyframes?t.keyframes.length:0,e.key=function(i){if(e.numKeys){var s="";s="s"in t.keyframes[i-1]?t.keyframes[i-1].s:"e"in t.keyframes[i-2]?t.keyframes[i-2].e:t.keyframes[i-2].s;var n="unidimensional"===a?new Number(s):Object.assign({},s);return n.time=t.keyframes[i-1].t/t.elem.comp.globalData.frameRate,n}return 0},e.valueAtTime=t.getValueAtTime,e.speedAtTime=t.getSpeedAtTime,e.velocityAtTime=t.getVelocityAtTime,e.propertyGroup=t.propertyGroup}function i(){return e}return function(s){return s?"unidimensional"===s.propType?function(t){t&&"pv"in t||(t=e);var i=1/t.mult,s=t.pv*i,n=new Number(s);return n.value=s,a(n,t,"unidimensional"),function(){return t.k&&t.getValue(),s=t.v*i,n.value!==s&&((n=new Number(s)).value=s,a(n,t,"unidimensional")),n}}(s):function(e){e&&"pv"in e||(e=t);var i=1/e.mult,s=e.pv.length,n=createTypedArray("float32",s),r=createTypedArray("float32",s);return n.value=r,a(n,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<s;t+=1)n[t]=r[t]=e.v[t]*i;return n}}(s):i}}(),TextExpressionSelectorProp,propertyGetTextProp;function SliderEffect(e,t,a){this.p=PropertyFactory.getProp(t,e.v,0,0,a)}function AngleEffect(e,t,a){this.p=PropertyFactory.getProp(t,e.v,0,0,a)}function ColorEffect(e,t,a){this.p=PropertyFactory.getProp(t,e.v,1,0,a)}function PointEffect(e,t,a){this.p=PropertyFactory.getProp(t,e.v,1,0,a)}function LayerIndexEffect(e,t,a){this.p=PropertyFactory.getProp(t,e.v,0,0,a)}function MaskIndexEffect(e,t,a){this.p=PropertyFactory.getProp(t,e.v,0,0,a)}function CheckboxEffect(e,t,a){this.p=PropertyFactory.getProp(t,e.v,0,0,a)}function NoValueEffect(){this.p={}}function EffectsManager(){}function EffectsManager(e,t){var a=e.ef||[];this.effectElements=[];var i,s,n=a.length;for(i=0;i<n;i++)s=new GroupEffect(a[i],t),this.effectElements.push(s)}function GroupEffect(e,t){this.init(e,t)}TextExpressionSelectorProp=function(){function e(e,t){return this.textIndex=e+1,this.textTotal=t,this.v=this.getValue()*this.mult,this.v}return function(t,a){this.pv=1,this.comp=t.comp,this.elem=t,this.mult=.01,this.propType="textSelector",this.textTotal=a.totalChars,this.selectorValue=100,this.lastValue=[1,1,1],this.k=!0,this.x=!0,this.getValue=ExpressionManager.initiateExpression.bind(this)(t,a,this),this.getMult=e,this.getVelocityAtTime=expressionHelpers.getVelocityAtTime,this.kf?this.getValueAtTime=expressionHelpers.getValueAtTime.bind(this):this.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(this),this.setGroupProperty=expressionHelpers.setGroupProperty}}(),propertyGetTextProp=TextSelectorProp.getTextSelectorProp,TextSelectorProp.getTextSelectorProp=function(e,t,a){return 1===t.t?new TextExpressionSelectorProp(e,t,a):propertyGetTextProp(e,t,a)},extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var a,i,s=this.data.ef.length,n=this.data.ef;for(a=0;a<s;a+=1){switch(i=null,n[a].ty){case 0:i=new SliderEffect(n[a],t,this);break;case 1:i=new AngleEffect(n[a],t,this);break;case 2:i=new ColorEffect(n[a],t,this);break;case 3:i=new PointEffect(n[a],t,this);break;case 4:case 7:i=new CheckboxEffect(n[a],t,this);break;case 10:i=new LayerIndexEffect(n[a],t,this);break;case 11:i=new MaskIndexEffect(n[a],t,this);break;case 5:i=new EffectsManager(n[a],t,this);break;default:i=new NoValueEffect(n[a],t,this)}i&&this.effectElements.push(i)}};var lottiejs={},_isFrozen=!1;function setLocationHref(e){locationHref=e}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(e){subframeEnabled=e}function loadAnimation(e){return!0===standalone&&(e.animationData=JSON.parse(animationData)),animationManager.loadAnimation(e)}function setQuality(e){if("string"==typeof e)switch(e){case"high":defaultCurveSegments=200;break;case"medium":defaultCurveSegments=50;break;case"low":defaultCurveSegments=10}else!isNaN(e)&&e>1&&(defaultCurveSegments=e);roundValues(!(defaultCurveSegments>=50))}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(e,t){"expressions"===e&&(expressionsPlugin=t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),a=0;a<t.length;a++){var i=t[a].split("=");if(decodeURIComponent(i[0])==e)return decodeURIComponent(i[1])}}lottiejs.play=animationManager.play,lottiejs.pause=animationManager.pause,lottiejs.setLocationHref=setLocationHref,lottiejs.togglePause=animationManager.togglePause,lottiejs.setSpeed=animationManager.setSpeed,lottiejs.setDirection=animationManager.setDirection,lottiejs.stop=animationManager.stop,lottiejs.searchAnimations=searchAnimations,lottiejs.registerAnimation=animationManager.registerAnimation,lottiejs.loadAnimation=loadAnimation,lottiejs.setSubframeRendering=setSubframeRendering,lottiejs.resize=animationManager.resize,lottiejs.goToAndStop=animationManager.goToAndStop,lottiejs.destroy=animationManager.destroy,lottiejs.setQuality=setQuality,lottiejs.inBrowser=inBrowser,lottiejs.installPlugin=installPlugin,lottiejs.freeze=animationManager.freeze,lottiejs.unfreeze=animationManager.unfreeze,lottiejs.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottiejs.__getFactory=getFactory,lottiejs.version="5.5.2";var standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""},queryString=myScript.src.replace(/^[^\?]+\??/,"");renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);return lottiejs}))},6006:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=[{name:"Afghanistan",code:"AF"},{name:"Aland Islands",code:"AX"},{name:"Albania",code:"AL"},{name:"Algeria",code:"DZ"},{name:"American Samoa",code:"AS"},{name:"Andorra",code:"AD"},{name:"Angola",code:"AO"},{name:"Anguilla",code:"AI"},{name:"Antarctica",code:"AQ"},{name:"Antigua and Barbuda",code:"AG"},{name:"Argentina",code:"AR"},{name:"Armenia",code:"AM"},{name:"Aruba",code:"AW"},{name:"Australia",code:"AU"},{name:"Austria",code:"AT"},{name:"Azerbaijan",code:"AZ"},{name:"Bahamas",code:"BS"},{name:"Bahrain",code:"BH"},{name:"Bangladesh",code:"BD"},{name:"Barbados",code:"BB"},{name:"Belarus",code:"BY"},{name:"Belgium",code:"BE"},{name:"Belize",code:"BZ"},{name:"Benin",code:"BJ"},{name:"Bermuda",code:"BM"},{name:"Bhutan",code:"BT"},{name:"Bolivia, Plurinational State of",code:"BO"},{name:"Bonaire, Sint Eustatius and Saba",code:"BQ"},{name:"Bosnia and Herzegovina",code:"BA"},{name:"Botswana",code:"BW"},{name:"Bouvet Island",code:"BV"},{name:"Brazil",code:"BR"},{name:"British Indian Ocean Territory",code:"IO"},{name:"Brunei Darussalam",code:"BN"},{name:"Bulgaria",code:"BG"},{name:"Burkina Faso",code:"BF"},{name:"Burundi",code:"BI"},{name:"Cambodia",code:"KH"},{name:"Cameroon",code:"CM"},{name:"Canada",code:"CA"},{name:"Cape Verde",code:"CV"},{name:"Cayman Islands",code:"KY"},{name:"Central African Republic",code:"CF"},{name:"Chad",code:"TD"},{name:"Chile",code:"CL"},{name:"China",code:"CN"},{name:"Christmas Island",code:"CX"},{name:"Cocos (Keeling) Islands",code:"CC"},{name:"Colombia",code:"CO"},{name:"Comoros",code:"KM"},{name:"Congo",code:"CG"},{name:"Congo, The Democratic Republic of the",code:"CD"},{name:"Cook Islands",code:"CK"},{name:"Costa Rica",code:"CR"},{name:"Cote d'Ivoire",code:"CI"},{name:"Croatia",code:"HR"},{name:"Cuba",code:"CU"},{name:"Curacao",code:"CW"},{name:"Cyprus",code:"CY"},{name:"Czech Republic",code:"CZ"},{name:"Denmark",code:"DK"},{name:"Djibouti",code:"DJ"},{name:"Dominica",code:"DM"},{name:"Dominican Republic",code:"DO"},{name:"Ecuador",code:"EC"},{name:"Egypt",code:"EG"},{name:"El Salvador",code:"SV"},{name:"Equatorial Guinea",code:"GQ"},{name:"Eritrea",code:"ER"},{name:"Estonia",code:"EE"},{name:"Ethiopia",code:"ET"},{name:"Falkland Islands (Malvinas)",code:"FK"},{name:"Faroe Islands",code:"FO"},{name:"Fiji",code:"FJ"},{name:"Finland",code:"FI"},{name:"France",code:"FR"},{name:"French Guiana",code:"GF"},{name:"French Polynesia",code:"PF"},{name:"French Southern Territories",code:"TF"},{name:"Gabon",code:"GA"},{name:"Gambia",code:"GM"},{name:"Georgia",code:"GE"},{name:"Germany",code:"DE"},{name:"Ghana",code:"GH"},{name:"Gibraltar",code:"GI"},{name:"Greece",code:"GR"},{name:"Greenland",code:"GL"},{name:"Grenada",code:"GD"},{name:"Guadeloupe",code:"GP"},{name:"Guam",code:"GU"},{name:"Guatemala",code:"GT"},{name:"Guernsey",code:"GG"},{name:"Guinea",code:"GN"},{name:"Guinea-Bissau",code:"GW"},{name:"Guyana",code:"GY"},{name:"Haiti",code:"HT"},{name:"Heard Island and McDonald Islands",code:"HM"},{name:"Holy See (Vatican City State)",code:"VA"},{name:"Honduras",code:"HN"},{name:"Hong Kong",code:"HK"},{name:"Hungary",code:"HU"},{name:"Iceland",code:"IS"},{name:"India",code:"IN"},{name:"Indonesia",code:"ID"},{name:"Iran, Islamic Republic of",code:"IR"},{name:"Iraq",code:"IQ"},{name:"Ireland",code:"IE"},{name:"Isle of Man",code:"IM"},{name:"Israel",code:"IL"},{name:"Italy",code:"IT"},{name:"Jamaica",code:"JM"},{name:"Japan",code:"JP"},{name:"Jersey",code:"JE"},{name:"Jordan",code:"JO"},{name:"Kazakhstan",code:"KZ"},{name:"Kenya",code:"KE"},{name:"Kiribati",code:"KI"},{name:"Korea, Democratic People's Republic of",code:"KP"},{name:"Korea, Republic of",code:"KR"},{name:"Kuwait",code:"KW"},{name:"Kyrgyzstan",code:"KG"},{name:"Lao People's Democratic Republic",code:"LA"},{name:"Latvia",code:"LV"},{name:"Lebanon",code:"LB"},{name:"Lesotho",code:"LS"},{name:"Liberia",code:"LR"},{name:"Libya",code:"LY"},{name:"Liechtenstein",code:"LI"},{name:"Lithuania",code:"LT"},{name:"Luxembourg",code:"LU"},{name:"Macao",code:"MO"},{name:"Macedonia, Republic of",code:"MK"},{name:"Madagascar",code:"MG"},{name:"Malawi",code:"MW"},{name:"Malaysia",code:"MY"},{name:"Maldives",code:"MV"},{name:"Mali",code:"ML"},{name:"Malta",code:"MT"},{name:"Marshall Islands",code:"MH"},{name:"Martinique",code:"MQ"},{name:"Mauritania",code:"MR"},{name:"Mauritius",code:"MU"},{name:"Mayotte",code:"YT"},{name:"Mexico",code:"MX"},{name:"Micronesia, Federated States of",code:"FM"},{name:"Moldova, Republic of",code:"MD"},{name:"Monaco",code:"MC"},{name:"Mongolia",code:"MN"},{name:"Montenegro",code:"ME"},{name:"Montserrat",code:"MS"},{name:"Morocco",code:"MA"},{name:"Mozambique",code:"MZ"},{name:"Myanmar",code:"MM"},{name:"Namibia",code:"NA"},{name:"Nauru",code:"NR"},{name:"Nepal",code:"NP"},{name:"Netherlands",code:"NL"},{name:"New Caledonia",code:"NC"},{name:"New Zealand",code:"NZ"},{name:"Nicaragua",code:"NI"},{name:"Niger",code:"NE"},{name:"Nigeria",code:"NG"},{name:"Niue",code:"NU"},{name:"Norfolk Island",code:"NF"},{name:"Northern Mariana Islands",code:"MP"},{name:"Norway",code:"NO"},{name:"Oman",code:"OM"},{name:"Pakistan",code:"PK"},{name:"Palau",code:"PW"},{name:"Palestine, State of",code:"PS"},{name:"Panama",code:"PA"},{name:"Papua New Guinea",code:"PG"},{name:"Paraguay",code:"PY"},{name:"Peru",code:"PE"},{name:"Philippines",code:"PH"},{name:"Pitcairn",code:"PN"},{name:"Poland",code:"PL"},{name:"Portugal",code:"PT"},{name:"Puerto Rico",code:"PR"},{name:"Qatar",code:"QA"},{name:"Reunion",code:"RE"},{name:"Romania",code:"RO"},{name:"Russian Federation",code:"RU"},{name:"Rwanda",code:"RW"},{name:"Saint Barthélemy",code:"BL"},{name:"Saint Helena, Ascension and Tristan da Cunha",code:"SH"},{name:"Saint Kitts and Nevis",code:"KN"},{name:"Saint Lucia",code:"LC"},{name:"Saint Martin (French part)",code:"MF"},{name:"Saint Pierre and Miquelon",code:"PM"},{name:"Saint Vincent and the Grenadines",code:"VC"},{name:"Samoa",code:"WS"},{name:"San Marino",code:"SM"},{name:"Sao Tome and Principe",code:"ST"},{name:"Saudi Arabia",code:"SA"},{name:"Senegal",code:"SN"},{name:"Serbia",code:"RS"},{name:"Seychelles",code:"SC"},{name:"Sierra Leone",code:"SL"},{name:"Singapore",code:"SG"},{name:"Sint Maarten (Dutch part)",code:"SX"},{name:"Slovakia",code:"SK"},{name:"Slovenia",code:"SI"},{name:"Solomon Islands",code:"SB"},{name:"Somalia",code:"SO"},{name:"South Africa",code:"ZA"},{name:"South Georgia and the South Sandwich Islands",code:"GS"},{name:"South Sudan",code:"SS"},{name:"Spain",code:"ES"},{name:"Sri Lanka",code:"LK"},{name:"Sudan",code:"SD"},{name:"Suriname",code:"SR"},{name:"Svalbard and Jan Mayen",code:"SJ"},{name:"Swaziland",code:"SZ"},{name:"Sweden",code:"SE"},{name:"Switzerland",code:"CH"},{name:"Syrian Arab Republic",code:"SY"},{name:"Taiwan",code:"TW"},{name:"Tajikistan",code:"TJ"},{name:"Tanzania, United Republic of",code:"TZ"},{name:"Thailand",code:"TH"},{name:"Timor-Leste",code:"TL"},{name:"Togo",code:"TG"},{name:"Tokelau",code:"TK"},{name:"Tonga",code:"TO"},{name:"Trinidad and Tobago",code:"TT"},{name:"Tunisia",code:"TN"},{name:"Turkey",code:"TR"},{name:"Turkmenistan",code:"TM"},{name:"Turks and Caicos Islands",code:"TC"},{name:"Tuvalu",code:"TV"},{name:"Uganda",code:"UG"},{name:"Ukraine",code:"UA"},{name:"United Arab Emirates",code:"AE"},{name:"United Kingdom",code:"GB"},{name:"United States",code:"US"},{name:"United States Minor Outlying Islands",code:"UM"},{name:"Uruguay",code:"UY"},{name:"Uzbekistan",code:"UZ"},{name:"Vanuatu",code:"VU"},{name:"Venezuela, Bolivarian Republic of",code:"VE"},{name:"Vietnam",code:"VN"},{name:"Virgin Islands, British",code:"VG"},{name:"Virgin Islands, U.S.",code:"VI"},{name:"Wallis and Futuna",code:"WF"},{name:"Western Sahara",code:"EH"},{name:"Yemen",code:"YE"},{name:"Zambia",code:"ZM"},{name:"Zimbabwe",code:"ZW"}];t.default=i},6052:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=[{label:"Alberta",value:"AB"},{label:"British Columbia",value:"BC"},{label:"Manitoba",value:"MB"},{label:"New Brunswick",value:"NB"},{label:"Newfoundland and Labrador",value:"NL"},{label:"Nova Scotia",value:"NS"},{label:"Ontario",value:"ON"},{label:"Prince Edward Island",value:"PE"},{label:"Quebec",value:"QC"},{label:"Saskatchewan",value:"SK"},{label:"Northwest Territories",value:"NT"},{label:"Nunavut",value:"NU"},{label:"Yukon",value:"YT"}]},6053:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=[{label:"Alabama",value:"AL"},{label:"Alaska",value:"AK"},{label:"American Samoa",value:"AS"},{label:"Arizona",value:"AZ"},{label:"Arkansas",value:"AR"},{label:"Armed Forces: Americas",value:"AA"},{label:"Armed Forces: Europe",value:"AE"},{label:"Armed Forces: Pacific",value:"AP"},{label:"California",value:"CA"},{label:"Colorado",value:"CO"},{label:"Connecticut",value:"CT"},{label:"Delaware",value:"DE"},{label:"District Of Columbia",value:"DC"},{label:"Federated States Of Micronesia",value:"FM"},{label:"Florida",value:"FL"},{label:"Georgia",value:"GA"},{label:"Guam",value:"GU"},{label:"Hawaii",value:"HI"},{label:"Idaho",value:"ID"},{label:"Illinois",value:"IL"},{label:"Indiana",value:"IN"},{label:"Iowa",value:"IA"},{label:"Kansas",value:"KS"},{label:"Kentucky",value:"KY"},{label:"Louisiana",value:"LA"},{label:"Maine",value:"ME"},{label:"Marshall Islands",value:"MH"},{label:"Maryland",value:"MD"},{label:"Massachusetts",value:"MA"},{label:"Michigan",value:"MI"},{label:"Minnesota",value:"MN"},{label:"Mississippi",value:"MS"},{label:"Missouri",value:"MO"},{label:"Montana",value:"MT"},{label:"Nebraska",value:"NE"},{label:"Nevada",value:"NV"},{label:"New Hampshire",value:"NH"},{label:"New Jersey",value:"NJ"},{label:"New Mexico",value:"NM"},{label:"New York",value:"NY"},{label:"North Carolina",value:"NC"},{label:"North Dakota",value:"ND"},{label:"Northern Mariana Islands",value:"MP"},{label:"Ohio",value:"OH"},{label:"Oklahoma",value:"OK"},{label:"Oregon",value:"OR"},{label:"Palau",value:"PW"},{label:"Pennsylvania",value:"PA"},{label:"Puerto Rico",value:"PR"},{label:"Rhode Island",value:"RI"},{label:"South Carolina",value:"SC"},{label:"South Dakota",value:"SD"},{label:"Tennessee",value:"TN"},{label:"Texas",value:"TX"},{label:"Utah",value:"UT"},{label:"Vermont",value:"VT"},{label:"Virgin Islands",value:"VI"},{label:"Virginia",value:"VA"},{label:"Washington",value:"WA"},{label:"West Virginia",value:"WV"},{label:"Wisconsin",value:"WI"},{label:"Wyoming",value:"WY"}]},8794:function(e,t,a){(function(){var a=this,i=a.humanize,s={};e.exports&&(t=e.exports=s),t.humanize=s,s.noConflict=function(){return a.humanize=i,this},s.pad=function(e,t,a,i){if(e+="",a?a.length>1&&(a=a.charAt(0)):a=" ","right"===(i=void 0===i?"left":"right"))for(;e.length<t;)e+=a;else for(;e.length<t;)e=a+e;return e},s.time=function(){return(new Date).getTime()/1e3};var n=[0,0,31,59,90,120,151,181,212,243,273,304,334],r=[0,0,31,60,91,121,152,182,213,244,274,305,335];s.date=function(e,t){var a=void 0===t?new Date:t instanceof Date?new Date(t):new Date(1e3*t),i=/\\?([a-z])/gi,o=function(e,t){return l[e]?l[e]():t},p=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],c=["January","February","March","April","May","June","July","August","September","October","November","December"],l={d:function(){return s.pad(l.j(),2,"0")},D:function(){return l.l().slice(0,3)},j:function(){return a.getDate()},l:function(){return p[l.w()]},N:function(){return l.w()||7},S:function(){var e=l.j();return e>4&&e<21?"th":{1:"st",2:"nd",3:"rd"}[e%10]||"th"},w:function(){return a.getDay()},z:function(){return(l.L()?r[l.n()]:n[l.n()])+l.j()-1},W:function(){var e=l.z()-l.N()+1.5;return s.pad(1+Math.floor(Math.abs(e)/7)+(e%7>3.5?1:0),2,"0")},F:function(){return c[a.getMonth()]},m:function(){return s.pad(l.n(),2,"0")},M:function(){return l.F().slice(0,3)},n:function(){return a.getMonth()+1},t:function(){return new Date(l.Y(),l.n(),0).getDate()},L:function(){return 1===new Date(l.Y(),1,29).getMonth()?1:0},o:function(){var e=l.n(),t=l.W();return l.Y()+(12===e&&t<9?-1:1===e&&t>9)},Y:function(){return a.getFullYear()},y:function(){return String(l.Y()).slice(-2)},a:function(){return a.getHours()>11?"pm":"am"},A:function(){return l.a().toUpperCase()},B:function(){var e=a.getTime()/1e3,t=e%86400+3600;t<0&&(t+=86400);var i=t/86.4%1e3;return e<0?Math.ceil(i):Math.floor(i)},g:function(){return l.G()%12||12},G:function(){return a.getHours()},h:function(){return s.pad(l.g(),2,"0")},H:function(){return s.pad(l.G(),2,"0")},i:function(){return s.pad(a.getMinutes(),2,"0")},s:function(){return s.pad(a.getSeconds(),2,"0")},u:function(){return s.pad(1e3*a.getMilliseconds(),6,"0")},O:function(){var e=a.getTimezoneOffset(),t=Math.abs(e);return(e>0?"-":"+")+s.pad(100*Math.floor(t/60)+t%60,4,"0")},P:function(){var e=l.O();return e.substr(0,3)+":"+e.substr(3,2)},Z:function(){return 60*-a.getTimezoneOffset()},c:function(){return"Y-m-d\\TH:i:sP".replace(i,o)},r:function(){return"D, d M Y H:i:s O".replace(i,o)},U:function(){return a.getTime()/1e3||0}};return e.replace(i,o)},s.numberFormat=function(e,t,a,i){t=isNaN(t)?2:Math.abs(t),a=void 0===a?".":a,i=void 0===i?",":i;var s=e<0?"-":"";e=Math.abs(+e||0);var n=parseInt(e.toFixed(t),10)+"",r=n.length>3?n.length%3:0;return s+(r?n.substr(0,r)+i:"")+n.substr(r).replace(/(\d{3})(?=\d)/g,"$1"+i)+(t?a+Math.abs(e-n).toFixed(t).slice(2):"")},s.naturalDay=function(e,t){e=void 0===e?s.time():e,t=void 0===t?"Y-m-d":t;var a=new Date,i=new Date(a.getFullYear(),a.getMonth(),a.getDate()).getTime()/1e3;return e<i&&e>=i-86400?"yesterday":e>=i&&e<i+86400?"today":e>=i+86400&&e<i+172800?"tomorrow":s.date(t,e)},s.relativeTime=function(e){e=void 0===e?s.time():e;var t=s.time(),a=t-e;if(a<2&&a>-2)return(a>=0?"just ":"")+"now";if(a<60&&a>-60)return a>=0?Math.floor(a)+" seconds ago":"in "+Math.floor(-a)+" seconds";if(a<120&&a>-120)return a>=0?"about a minute ago":"in about a minute";if(a<3600&&a>-3600)return a>=0?Math.floor(a/60)+" minutes ago":"in "+Math.floor(-a/60)+" minutes";if(a<7200&&a>-7200)return a>=0?"about an hour ago":"in about an hour";if(a<86400&&a>-86400)return a>=0?Math.floor(a/3600)+" hours ago":"in "+Math.floor(-a/3600)+" hours";if(a<172800&&a>-172800)return a>=0?"1 day ago":"in 1 day";if(a<2505600&&a>-2505600)return a>=0?Math.floor(a/86400)+" days ago":"in "+Math.floor(-a/86400)+" days";if(a<5184e3&&a>-5184e3)return a>=0?"about a month ago":"in about a month";var i=parseInt(s.date("Y",t),10),n=parseInt(s.date("Y",e),10),r=12*i+parseInt(s.date("n",t),10)-(12*n+parseInt(s.date("n",e),10));if(r<12&&r>-12)return r>=0?r+" months ago":"in "+-r+" months";var o=i-n;return o<2&&o>-2?o>=0?"a year ago":"in a year":o>=0?o+" years ago":"in "+-o+" years"},s.ordinal=function(e){e=parseInt(e,10);var t=(e=isNaN(e)?0:e)<0?"-":"",a=(e=Math.abs(e))%100;return t+e+(a>4&&a<21?"th":{1:"st",2:"nd",3:"rd"}[e%10]||"th")},s.filesize=function(e,t,a,i,n,r){return e<=0?"0 bytes":(e<(t=void 0===t?1024:t)&&void 0===a&&(a=0),void 0===r&&(r=" "),s.intword(e,["bytes","KB","MB","GB","TB","PB"],t,a,i,n,r))},s.intword=function(e,t,a,i,n,r,o){var p,c;c=(t=t||["","K","M","B","T"]).length-1,a=a||1e3,i=isNaN(i)?2:Math.abs(i),n=n||".",r=r||",",o=o||"";for(var l=0;l<t.length;l++)if(e<Math.pow(a,l+1)){c=l;break}p=e/Math.pow(a,c);var h=t[c]?o+t[c]:"";return s.numberFormat(p,i,n,r)+h},s.linebreaks=function(e){return"<p>"+(e=(e=(e=(e=(e=e.replace(/^([\n|\r]*)/,"")).replace(/([\n|\r]*)$/,"")).replace(/(\r\n|\n|\r)/g,"\n")).replace(/(\n{2,})/g,"</p><p>")).replace(/\n/g,"<br />"))+"</p>"},s.nl2br=function(e){return e.replace(/(\r\n|\n|\r)/g,"<br />")},s.truncatechars=function(e,t){return e.length<=t?e:e.substr(0,t)+"…"},s.truncatewords=function(e,t){var a=e.split(" ");return a.length<t?e:a.slice(0,t).join(" ")+"…"}}).call(this)}}]);
-//# sourceMappingURL=8c928ce26a3b4d828392.js.map
\ No newline at end of file
diff --git a/api/assets/8da53effd7b0af7e3415.js b/api/assets/8da53effd7b0af7e3415.js
deleted file mode 100644
index dbb8da5a..00000000
--- a/api/assets/8da53effd7b0af7e3415.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/*! For license information please see 8da53effd7b0af7e3415.js.LICENSE.txt */
-(this.webpackJsonp=this.webpackJsonp||[]).push([[67],{100:function(t,n){var e,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function c(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(t){r=u}}();var a,s=[],f=!1,l=-1;function p(){f&&a&&(f=!1,a.length?s=a.concat(s):l=-1,s.length&&h())}function h(){if(!f){var t=c(p);f=!0;for(var n=s.length;n;){for(a=s,s=[];++l<n;)a&&a[l].run();l=-1,n=s.length}a=null,f=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===u||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(n){try{return r.call(null,t)}catch(n){return r.call(this,t)}}}(t)}}function d(t,n){this.fun=t,this.array=n}function v(){}o.nextTick=function(t){var n=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)n[e-1]=arguments[e];s.push(new d(t,n)),1!==s.length||f||c(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},108:function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},109:function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},110:function(t,n){t.exports=!1},111:function(t,n,e){var r=e(317),o=e(222);t.exports=Object.keys||function(t){return r(t,o)}},112:function(t,n,e){var r=e(74),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=r(t))<0?o(t+n,0):i(t,n)}},113:function(t,n,e){var r=e(20),o=e(318),i=e(222),u=e(221)("IE_PROTO"),c=function(){},a=function(){var t,n=e(219)("iframe"),r=i.length;for(n.style.display="none",e(223).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,n){var e;return null!==t?(c.prototype=r(t),e=new c,c.prototype=null,e[u]=t):e=a(),void 0===n?e:o(e,n)}},114:function(t,n,e){var r=e(317),o=e(222).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},115:function(t,n,e){var r=e(58),o=e(45),i=e(221)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},1157:function(t,n,e){"use strict";e.d(n,"d",(function(){return o})),e.d(n,"c",(function(){return i})),e.d(n,"b",(function(){return u})),e.d(n,"a",(function(){return c}));var r=e(194);function o(t,n){return void 0===n&&(n=0),"string"!=typeof t||0===n||t.length<=n?t:t.substr(0,n)+"..."}function i(t,n){var e=t,r=e.length;if(r<=150)return e;n>r&&(n=r);var o=Math.max(n-60,0);o<5&&(o=0);var i=Math.min(o+140,r);return i>r-5&&(i=r),i===r&&(o=Math.max(i-140,0)),e=e.slice(o,i),o>0&&(e="'{snip} "+e),i<r&&(e+=" {snip}"),e}function u(t,n){if(!Array.isArray(t))return"";for(var e=[],r=0;r<t.length;r++){var o=t[r];try{e.push(String(o))}catch(t){e.push("[value cannot be serialized]")}}return e.join(n)}function c(t,n){return Object(r.j)(n)?n.test(t):"string"==typeof n&&-1!==t.indexOf(n)}},1158:function(t,n,e){"use strict";e.d(n,"a",(function(){return c}));var r=e(152),o=Object(r.g)(),i="Sentry Logger ",u=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&Object(r.c)((function(){o.console.log(i+"[Log]: "+t.join(" "))}))},t.prototype.warn=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&Object(r.c)((function(){o.console.warn(i+"[Warn]: "+t.join(" "))}))},t.prototype.error=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&Object(r.c)((function(){o.console.error(i+"[Error]: "+t.join(" "))}))},t}();o.__SENTRY__=o.__SENTRY__||{};var c=o.__SENTRY__.logger||(o.__SENTRY__.logger=new u)},116:function(t,n,e){var r=e(25)("unscopables"),o=Array.prototype;null==o[r]&&e(59)(o,r,{}),t.exports=function(t){o[r][t]=!0}},117:function(t,n,e){var r=e(21);t.exports=function(t,n){if(!r(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},124:function(t,n,e){var r=e(33).f,o=e(58),i=e(25)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},125:function(t,n,e){var r=e(4),o=e(83),i=e(19),u=e(225),c="["+u+"]",a=RegExp("^"+c+c+"*"),s=RegExp(c+c+"*$"),f=function(t,n,e){var o={},c=i((function(){return!!u[t]()||"​…"!="​…"[t]()})),a=o[t]=c?n(l):u[t];e&&(o[e]=a),r(r.P+r.F*c,"String",o)},l=f.trim=function(t,n){return t=String(o(t)),1&n&&(t=t.replace(a,"")),2&n&&(t=t.replace(s,"")),t};t.exports=f},126:function(t,n){t.exports={}},127:function(t,n,e){"use strict";var r=e(18),o=e(33),i=e(32),u=e(25)("species");t.exports=function(t){var n=r[t];i&&n&&!n[u]&&o.f(n,u,{configurable:!0,get:function(){return this}})}},128:function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},129:function(t,n,e){var r=e(52);t.exports=function(t,n,e){for(var o in n)r(t,o,n[o],e);return t}},143:function(t,n,e){var r=e(82);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},144:function(t,n){n.f={}.propertyIsEnumerable},145:function(t,n,e){var r=e(82),o=e(25)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?e:i?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},146:function(t,n,e){var r=e(20),o=e(73),i=e(25)("species");t.exports=function(t,n){var e,u=r(t).constructor;return void 0===u||null==(e=r(u)[i])?n:o(e)}},152:function(t,n,e){"use strict";(function(t,r){e.d(n,"d",(function(){return i})),e.d(n,"j",(function(){return u})),e.d(n,"g",(function(){return a})),e.d(n,"n",(function(){return s})),e.d(n,"l",(function(){return f})),e.d(n,"e",(function(){return l})),e.d(n,"c",(function(){return p})),e.d(n,"b",(function(){return h})),e.d(n,"a",(function(){return d})),e.d(n,"h",(function(){return v})),e.d(n,"i",(function(){return y})),e.d(n,"m",(function(){return _})),e.d(n,"k",(function(){return b})),e.d(n,"f",(function(){return m}));var o=e(194);e(1157);function i(t,n){return t.require(n)}function u(){return"[object process]"===Object.prototype.toString.call(void 0!==t?t:0)}var c={};function a(){return u()?r:"undefined"!=typeof window?window:"undefined"!=typeof self?self:c}function s(){var t=a(),n=t.crypto||t.msCrypto;if(void 0!==n&&n.getRandomValues){var e=new Uint16Array(8);n.getRandomValues(e),e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;var r=function(t){for(var n=t.toString(16);n.length<4;)n="0"+n;return n};return r(e[0])+r(e[1])+r(e[2])+r(e[3])+r(e[4])+r(e[5])+r(e[6])+r(e[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(t){var n=16*Math.random()|0;return("x"===t?n:3&n|8).toString(16)}))}function f(t){if(!t)return{};var n=t.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!n)return{};var e=n[6]||"",r=n[8]||"";return{host:n[4],path:n[5],protocol:n[2],relative:n[5]+e+r}}function l(t){if(t.message)return t.message;if(t.exception&&t.exception.values&&t.exception.values[0]){var n=t.exception.values[0];return n.type&&n.value?n.type+": "+n.value:n.type||n.value||t.event_id||"<unknown>"}return t.event_id||"<unknown>"}function p(t){var n=a();if(!("console"in n))return t();var e=n.console,r={};["debug","info","warn","error","log","assert"].forEach((function(t){t in n.console&&e[t].__sentry_original__&&(r[t]=e[t],e[t]=e[t].__sentry_original__)}));var o=t();return Object.keys(r).forEach((function(t){e[t]=r[t]})),o}function h(t,n,e){t.exception=t.exception||{},t.exception.values=t.exception.values||[],t.exception.values[0]=t.exception.values[0]||{},t.exception.values[0].value=t.exception.values[0].value||n||"",t.exception.values[0].type=t.exception.values[0].type||e||"Error"}function d(t,n){void 0===n&&(n={});try{t.exception.values[0].mechanism=t.exception.values[0].mechanism||{},Object.keys(n).forEach((function(e){t.exception.values[0].mechanism[e]=n[e]}))}catch(t){}}function v(){try{return document.location.href}catch(t){return""}}function y(t){try{for(var n=t,e=[],r=0,o=0,i=" > ".length,u=void 0;n&&r++<5&&!("html"===(u=g(n))||r>1&&o+e.length*i+u.length>=80);)e.push(u),o+=u.length,n=n.parentNode;return e.reverse().join(" > ")}catch(t){return"<unknown>"}}function g(t){var n,e,r,i,u,c=t,a=[];if(!c||!c.tagName)return"";if(a.push(c.tagName.toLowerCase()),c.id&&a.push("#"+c.id),(n=c.className)&&Object(o.k)(n))for(e=n.split(/\s+/),u=0;u<e.length;u++)a.push("."+e[u]);var s=["type","name","title","alt"];for(u=0;u<s.length;u++)r=s[u],(i=c.getAttribute(r))&&a.push("["+r+'="'+i+'"]');return a.join("")}function _(){return(new Date).getTime()/1e3}function b(t,n){if(!n)return 6e4;var e=parseInt(""+n,10);if(!isNaN(e))return 1e3*e;var r=Date.parse(""+n);return isNaN(r)?6e4:r-t}function m(t){try{return t&&"function"==typeof t&&t.name||"<anonymous>"}catch(t){return"<anonymous>"}}}).call(this,e(100),e(44))},166:function(t,n,e){var r=e(30),o=e(18),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(110)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},167:function(t,n,e){var r=e(60),o=e(27),i=e(112);t.exports=function(t){return function(n,e,u){var c,a=r(n),s=o(a.length),f=i(u,s);if(t&&e!=e){for(;s>f;)if((c=a[f++])!=c)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===e)return t||f||0;return!t&&-1}}},168:function(t,n){n.f=Object.getOwnPropertySymbols},169:function(t,n,e){var r=e(82);t.exports=Array.isArray||function(t){return"Array"==r(t)}},170:function(t,n,e){var r=e(25)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:e=!0}},i[r]=function(){return u},t(i)}catch(t){}return e}},171:function(t,n,e){"use strict";var r=e(20);t.exports=function(){var t=r(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},172:function(t,n,e){"use strict";var r=e(145),o=RegExp.prototype.exec;t.exports=function(t,n){var e=t.exec;if("function"==typeof e){var i=e.call(t,n);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,n)}},173:function(t,n,e){"use strict";e(335);var r=e(52),o=e(59),i=e(19),u=e(83),c=e(25),a=e(240),s=c("species"),f=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l=function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var e="ab".split(t);return 2===e.length&&"a"===e[0]&&"b"===e[1]}();t.exports=function(t,n,e){var p=c(t),h=!i((function(){var n={};return n[p]=function(){return 7},7!=""[t](n)})),d=h?!i((function(){var n=!1,e=/a/;return e.exec=function(){return n=!0,null},"split"===t&&(e.constructor={},e.constructor[s]=function(){return e}),e[p](""),!n})):void 0;if(!h||!d||"replace"===t&&!f||"split"===t&&!l){var v=/./[p],y=e(u,p,""[t],(function(t,n,e,r,o){return n.exec===a?h&&!o?{done:!0,value:v.call(n,e,r)}:{done:!0,value:t.call(e,n,r)}:{done:!1}})),g=y[0],_=y[1];r(String.prototype,t,g),o(RegExp.prototype,p,2==n?function(t,n){return _.call(t,this,n)}:function(t){return _.call(t,this)})}}},174:function(t,n,e){var r=e(72),o=e(330),i=e(235),u=e(20),c=e(27),a=e(237),s={},f={};(n=t.exports=function(t,n,e,l,p){var h,d,v,y,g=p?function(){return t}:a(t),_=r(e,l,n?2:1),b=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(h=c(t.length);h>b;b++)if((y=n?_(u(d=t[b])[0],d[1]):_(t[b]))===s||y===f)return y}else for(v=g.call(t);!(d=v.next()).done;)if((y=o(v,_,d.value,n))===s||y===f)return y}).BREAK=s,n.RETURN=f},175:function(t,n,e){var r=e(18).navigator;t.exports=r&&r.userAgent||""},176:function(t,n,e){"use strict";var r=e(18),o=e(4),i=e(52),u=e(129),c=e(91),a=e(174),s=e(128),f=e(21),l=e(19),p=e(170),h=e(124),d=e(226);t.exports=function(t,n,e,v,y,g){var _=r[t],b=_,m=y?"set":"add",x=b&&b.prototype,w={},E=function(t){var n=x[t];i(x,t,"delete"==t||"has"==t?function(t){return!(g&&!f(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!f(t)?void 0:n.call(this,0===t?0:t)}:"add"==t?function(t){return n.call(this,0===t?0:t),this}:function(t,e){return n.call(this,0===t?0:t,e),this})};if("function"==typeof b&&(g||x.forEach&&!l((function(){(new b).entries().next()})))){var S=new b,O=S[m](g?{}:-0,1)!=S,j=l((function(){S.has(1)})),k=p((function(t){new b(t)})),T=!g&&l((function(){for(var t=new b,n=5;n--;)t[m](n,n);return!t.has(-0)}));k||((b=n((function(n,e){s(n,b,t);var r=d(new _,n,b);return null!=e&&a(e,y,r[m],r),r}))).prototype=x,x.constructor=b),(j||T)&&(E("delete"),E("has"),y&&E("get")),(T||O)&&E(m),g&&x.clear&&delete x.clear}else b=v.getConstructor(n,t,y,m),u(b.prototype,e),c.NEED=!0;return h(b,t),w[t]=b,o(o.G+o.W+o.F*(b!=_),w),g||v.setStrong(b,t,y),b}},177:function(t,n,e){for(var r,o=e(18),i=e(59),u=e(109),c=u("typed_array"),a=u("view"),s=!(!o.ArrayBuffer||!o.DataView),f=s,l=0,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(r=o[p[l++]])?(i(r.prototype,c,!0),i(r.prototype,a,!0)):f=!1;t.exports={ABV:s,CONSTR:f,TYPED:c,VIEW:a}},18:function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},19:function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},194:function(t,n,e){"use strict";function r(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return v(t,Error)}}function o(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)}function i(t){return"[object DOMError]"===Object.prototype.toString.call(t)}function u(t){return"[object DOMException]"===Object.prototype.toString.call(t)}function c(t){return"[object String]"===Object.prototype.toString.call(t)}function a(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function s(t){return"[object Object]"===Object.prototype.toString.call(t)}function f(t){return"undefined"!=typeof Event&&v(t,Event)}function l(t){return"undefined"!=typeof Element&&v(t,Element)}function p(t){return"[object RegExp]"===Object.prototype.toString.call(t)}function h(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function d(t){return s(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function v(t,n){try{return t instanceof n}catch(t){return!1}}e.d(n,"d",(function(){return r})),e.d(n,"e",(function(){return o})),e.d(n,"a",(function(){return i})),e.d(n,"b",(function(){return u})),e.d(n,"k",(function(){return c})),e.d(n,"i",(function(){return a})),e.d(n,"h",(function(){return s})),e.d(n,"f",(function(){return f})),e.d(n,"c",(function(){return l})),e.d(n,"j",(function(){return p})),e.d(n,"m",(function(){return h})),e.d(n,"l",(function(){return d})),e.d(n,"g",(function(){return v}))},20:function(t,n,e){var r=e(21);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},21:function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},219:function(t,n,e){var r=e(21),o=e(18).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},220:function(t,n,e){n.f=e(25)},221:function(t,n,e){var r=e(166)("keys"),o=e(109);t.exports=function(t){return r[t]||(r[t]=o(t))}},222:function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},223:function(t,n,e){var r=e(18).document;t.exports=r&&r.documentElement},224:function(t,n,e){var r=e(21),o=e(20),i=function(t,n){if(o(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{(r=e(72)(Function.call,e(75).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return i(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:i}},225:function(t,n){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},226:function(t,n,e){var r=e(21),o=e(224).set;t.exports=function(t,n,e){var i,u=n.constructor;return u!==e&&"function"==typeof u&&(i=u.prototype)!==e.prototype&&r(i)&&o&&o(t,i),t}},227:function(t,n,e){"use strict";var r=e(74),o=e(83);t.exports=function(t){var n=String(o(this)),e="",i=r(t);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(n+=n))1&i&&(e+=n);return e}},228:function(t,n){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},229:function(t,n){var e=Math.expm1;t.exports=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||-2e-17!=e(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:e},230:function(t,n,e){var r=e(74),o=e(83);t.exports=function(t){return function(n,e){var i,u,c=String(o(n)),a=r(e),s=c.length;return a<0||a>=s?t?"":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===s||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}}},231:function(t,n,e){"use strict";var r=e(110),o=e(4),i=e(52),u=e(59),c=e(126),a=e(329),s=e(124),f=e(115),l=e(25)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,n,e,d,v,y,g){a(e,n,d);var _,b,m,x=function(t){if(!p&&t in O)return O[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},w=n+" Iterator",E="values"==v,S=!1,O=t.prototype,j=O[l]||O["@@iterator"]||v&&O[v],k=j||x(v),T=v?E?x("entries"):k:void 0,I="Array"==n&&O.entries||j;if(I&&(m=f(I.call(new t)))!==Object.prototype&&m.next&&(s(m,w,!0),r||"function"==typeof m[l]||u(m,l,h)),E&&j&&"values"!==j.name&&(S=!0,k=function(){return j.call(this)}),r&&!g||!p&&!S&&O[l]||u(O,l,k),c[n]=k,c[w]=h,v)if(_={values:E?k:x("values"),keys:y?k:x("keys"),entries:T},g)for(b in _)b in O||i(O,b,_[b]);else o(o.P+o.F*(p||S),n,_);return _}},232:function(t,n,e){var r=e(233),o=e(83);t.exports=function(t,n,e){if(r(n))throw TypeError("String#"+e+" doesn't accept regex!");return String(o(t))}},233:function(t,n,e){var r=e(21),o=e(82),i=e(25)("match");t.exports=function(t){var n;return r(t)&&(void 0!==(n=t[i])?!!n:"RegExp"==o(t))}},234:function(t,n,e){var r=e(25)("match");t.exports=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[r]=!1,!"/./"[t](n)}catch(t){}}return!0}},235:function(t,n,e){var r=e(126),o=e(25)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},236:function(t,n,e){"use strict";var r=e(33),o=e(108);t.exports=function(t,n,e){n in t?r.f(t,n,o(0,e)):t[n]=e}},237:function(t,n,e){var r=e(145),o=e(25)("iterator"),i=e(126);t.exports=e(30).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},238:function(t,n,e){"use strict";var r=e(45),o=e(112),i=e(27);t.exports=function(t){for(var n=r(this),e=i(n.length),u=arguments.length,c=o(u>1?arguments[1]:void 0,e),a=u>2?arguments[2]:void 0,s=void 0===a?e:o(a,e);s>c;)n[c++]=t;return n}},239:function(t,n,e){"use strict";var r=e(116),o=e(334),i=e(126),u=e(60);t.exports=e(231)(Array,"Array",(function(t,n){this._t=u(t),this._i=0,this._k=n}),(function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},240:function(t,n,e){"use strict";var r,o,i=e(171),u=RegExp.prototype.exec,c=String.prototype.replace,a=u,s=(r=/a/,o=/b*/g,u.call(r,"a"),u.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),f=void 0!==/()??/.exec("")[1];(s||f)&&(a=function(t){var n,e,r,o,a=this;return f&&(e=new RegExp("^"+a.source+"$(?!\\s)",i.call(a))),s&&(n=a.lastIndex),r=u.call(a,t),s&&r&&(a.lastIndex=a.global?r.index+r[0].length:n),f&&r&&r.length>1&&c.call(r[0],e,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=a},241:function(t,n,e){"use strict";var r=e(230)(!0);t.exports=function(t,n,e){return n+(e?r(t,n).length:1)}},242:function(t,n,e){var r,o,i,u=e(72),c=e(323),a=e(223),s=e(219),f=e(18),l=f.process,p=f.setImmediate,h=f.clearImmediate,d=f.MessageChannel,v=f.Dispatch,y=0,g={},_=function(){var t=+this;if(g.hasOwnProperty(t)){var n=g[t];delete g[t],n()}},b=function(t){_.call(t.data)};p&&h||(p=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return g[++y]=function(){c("function"==typeof t?t:Function(t),n)},r(y),y},h=function(t){delete g[t]},"process"==e(82)(l)?r=function(t){l.nextTick(u(_,t,1))}:v&&v.now?r=function(t){v.now(u(_,t,1))}:d?(i=(o=new d).port2,o.port1.onmessage=b,r=u(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",b,!1)):r="onreadystatechange"in s("script")?function(t){a.appendChild(s("script")).onreadystatechange=function(){a.removeChild(this),_.call(t)}}:function(t){setTimeout(u(_,t,1),0)}),t.exports={set:p,clear:h}},243:function(t,n,e){"use strict";var r=e(18),o=e(32),i=e(110),u=e(177),c=e(59),a=e(129),s=e(19),f=e(128),l=e(74),p=e(27),h=e(342),d=e(114).f,v=e(33).f,y=e(238),g=e(124),_=r.ArrayBuffer,b=r.DataView,m=r.Math,x=r.RangeError,w=r.Infinity,E=_,S=m.abs,O=m.pow,j=m.floor,k=m.log,T=m.LN2,I=o?"_b":"buffer",P=o?"_l":"byteLength",R=o?"_o":"byteOffset";function F(t,n,e){var r,o,i,u=new Array(e),c=8*e-n-1,a=(1<<c)-1,s=a>>1,f=23===n?O(2,-24)-O(2,-77):0,l=0,p=t<0||0===t&&1/t<0?1:0;for((t=S(t))!=t||t===w?(o=t!=t?1:0,r=a):(r=j(k(t)/T),t*(i=O(2,-r))<1&&(r--,i*=2),(t+=r+s>=1?f/i:f*O(2,1-s))*i>=2&&(r++,i/=2),r+s>=a?(o=0,r=a):r+s>=1?(o=(t*i-1)*O(2,n),r+=s):(o=t*O(2,s-1)*O(2,n),r=0));n>=8;u[l++]=255&o,o/=256,n-=8);for(r=r<<n|o,c+=n;c>0;u[l++]=255&r,r/=256,c-=8);return u[--l]|=128*p,u}function N(t,n,e){var r,o=8*e-n-1,i=(1<<o)-1,u=i>>1,c=o-7,a=e-1,s=t[a--],f=127&s;for(s>>=7;c>0;f=256*f+t[a],a--,c-=8);for(r=f&(1<<-c)-1,f>>=-c,c+=n;c>0;r=256*r+t[a],a--,c-=8);if(0===f)f=1-u;else{if(f===i)return r?NaN:s?-w:w;r+=O(2,n),f-=u}return(s?-1:1)*r*O(2,f-n)}function A(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function M(t){return[255&t]}function L(t){return[255&t,t>>8&255]}function D(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function C(t){return F(t,52,8)}function U(t){return F(t,23,4)}function B(t,n,e){v(t.prototype,n,{get:function(){return this[e]}})}function W(t,n,e,r){var o=h(+e);if(o+n>t[P])throw x("Wrong index!");var i=t[I]._b,u=o+t[R],c=i.slice(u,u+n);return r?c:c.reverse()}function H(t,n,e,r,o,i){var u=h(+e);if(u+n>t[P])throw x("Wrong index!");for(var c=t[I]._b,a=u+t[R],s=r(+o),f=0;f<n;f++)c[a+f]=s[i?f:n-f-1]}if(u.ABV){if(!s((function(){_(1)}))||!s((function(){new _(-1)}))||s((function(){return new _,new _(1.5),new _(NaN),"ArrayBuffer"!=_.name}))){for(var G,V=(_=function(t){return f(this,_),new E(h(t))}).prototype=E.prototype,q=d(E),Y=0;q.length>Y;)(G=q[Y++])in _||c(_,G,E[G]);i||(V.constructor=_)}var z=new b(new _(2)),J=b.prototype.setInt8;z.setInt8(0,2147483648),z.setInt8(1,2147483649),!z.getInt8(0)&&z.getInt8(1)||a(b.prototype,{setInt8:function(t,n){J.call(this,t,n<<24>>24)},setUint8:function(t,n){J.call(this,t,n<<24>>24)}},!0)}else _=function(t){f(this,_,"ArrayBuffer");var n=h(t);this._b=y.call(new Array(n),0),this[P]=n},b=function(t,n,e){f(this,b,"DataView"),f(t,_,"DataView");var r=t[P],o=l(n);if(o<0||o>r)throw x("Wrong offset!");if(o+(e=void 0===e?r-o:p(e))>r)throw x("Wrong length!");this[I]=t,this[R]=o,this[P]=e},o&&(B(_,"byteLength","_l"),B(b,"buffer","_b"),B(b,"byteLength","_l"),B(b,"byteOffset","_o")),a(b.prototype,{getInt8:function(t){return W(this,1,t)[0]<<24>>24},getUint8:function(t){return W(this,1,t)[0]},getInt16:function(t){var n=W(this,2,t,arguments[1]);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t){var n=W(this,2,t,arguments[1]);return n[1]<<8|n[0]},getInt32:function(t){return A(W(this,4,t,arguments[1]))},getUint32:function(t){return A(W(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return N(W(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return N(W(this,8,t,arguments[1]),52,8)},setInt8:function(t,n){H(this,1,t,M,n)},setUint8:function(t,n){H(this,1,t,M,n)},setInt16:function(t,n){H(this,2,t,L,n,arguments[2])},setUint16:function(t,n){H(this,2,t,L,n,arguments[2])},setInt32:function(t,n){H(this,4,t,D,n,arguments[2])},setUint32:function(t,n){H(this,4,t,D,n,arguments[2])},setFloat32:function(t,n){H(this,4,t,U,n,arguments[2])},setFloat64:function(t,n){H(this,8,t,C,n,arguments[2])}});g(_,"ArrayBuffer"),g(b,"DataView"),c(b.prototype,u.VIEW,!0),n.ArrayBuffer=_,n.DataView=b},244:function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},245:function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},246:function(t,n,e){t.exports=!e(347)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},25:function(t,n,e){var r=e(166)("wks"),o=e(109),i=e(18).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},27:function(t,n,e){var r=e(74),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},30:function(t,n){var e=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=e)},315:function(t,n,e){t.exports=!e(32)&&!e(19)((function(){return 7!=Object.defineProperty(e(219)("div"),"a",{get:function(){return 7}}).a}))},316:function(t,n,e){var r=e(18),o=e(30),i=e(110),u=e(220),c=e(33).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},317:function(t,n,e){var r=e(58),o=e(60),i=e(167)(!1),u=e(221)("IE_PROTO");t.exports=function(t,n){var e,c=o(t),a=0,s=[];for(e in c)e!=u&&r(c,e)&&s.push(e);for(;n.length>a;)r(c,e=n[a++])&&(~i(s,e)||s.push(e));return s}},318:function(t,n,e){var r=e(33),o=e(20),i=e(111);t.exports=e(32)?Object.defineProperties:function(t,n){o(t);for(var e,u=i(n),c=u.length,a=0;c>a;)r.f(t,e=u[a++],n[e]);return t}},319:function(t,n,e){var r=e(60),o=e(114).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(r(t))}},32:function(t,n,e){t.exports=!e(19)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},320:function(t,n,e){"use strict";var r=e(32),o=e(111),i=e(168),u=e(144),c=e(45),a=e(143),s=Object.assign;t.exports=!s||e(19)((function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach((function(t){n[t]=t})),7!=s({},t)[e]||Object.keys(s({},n)).join("")!=r}))?function(t,n){for(var e=c(t),s=arguments.length,f=1,l=i.f,p=u.f;s>f;)for(var h,d=a(arguments[f++]),v=l?o(d).concat(l(d)):o(d),y=v.length,g=0;y>g;)h=v[g++],r&&!p.call(d,h)||(e[h]=d[h]);return e}:s},321:function(t,n){t.exports=Object.is||function(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n}},322:function(t,n,e){"use strict";var r=e(73),o=e(21),i=e(323),u=[].slice,c={},a=function(t,n,e){if(!(n in c)){for(var r=[],o=0;o<n;o++)r[o]="a["+o+"]";c[n]=Function("F,a","return new F("+r.join(",")+")")}return c[n](t,e)};t.exports=Function.bind||function(t){var n=r(this),e=u.call(arguments,1),c=function(){var r=e.concat(u.call(arguments));return this instanceof c?a(n,r.length,r):i(n,r,t)};return o(n.prototype)&&(c.prototype=n.prototype),c}},323:function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},324:function(t,n,e){var r=e(18).parseInt,o=e(125).trim,i=e(225),u=/^[-+]?0[xX]/;t.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(t,n){var e=o(String(t),3);return r(e,n>>>0||(u.test(e)?16:10))}:r},325:function(t,n,e){var r=e(18).parseFloat,o=e(125).trim;t.exports=1/r(e(225)+"-0")!=-1/0?function(t){var n=o(String(t),3),e=r(n);return 0===e&&"-"==n.charAt(0)?-0:e}:r},326:function(t,n,e){var r=e(82);t.exports=function(t,n){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(n);return+t}},327:function(t,n,e){var r=e(21),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},328:function(t,n){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},329:function(t,n,e){"use strict";var r=e(113),o=e(108),i=e(124),u={};e(59)(u,e(25)("iterator"),(function(){return this})),t.exports=function(t,n,e){t.prototype=r(u,{next:o(1,e)}),i(t,n+" Iterator")}},33:function(t,n,e){var r=e(20),o=e(315),i=e(90),u=Object.defineProperty;n.f=e(32)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},330:function(t,n,e){var r=e(20);t.exports=function(t,n,e,o){try{return o?n(r(e)[0],e[1]):n(e)}catch(n){var i=t.return;throw void 0!==i&&r(i.call(t)),n}}},331:function(t,n,e){var r=e(586);t.exports=function(t,n){return new(r(t))(n)}},332:function(t,n,e){var r=e(73),o=e(45),i=e(143),u=e(27);t.exports=function(t,n,e,c,a){r(n);var s=o(t),f=i(s),l=u(s.length),p=a?l-1:0,h=a?-1:1;if(e<2)for(;;){if(p in f){c=f[p],p+=h;break}if(p+=h,a?p<0:l<=p)throw TypeError("Reduce of empty array with no initial value")}for(;a?p>=0:l>p;p+=h)p in f&&(c=n(c,f[p],p,s));return c}},333:function(t,n,e){"use strict";var r=e(45),o=e(112),i=e(27);t.exports=[].copyWithin||function(t,n){var e=r(this),u=i(e.length),c=o(t,u),a=o(n,u),s=arguments.length>2?arguments[2]:void 0,f=Math.min((void 0===s?u:o(s,u))-a,u-c),l=1;for(a<c&&c<a+f&&(l=-1,a+=f-1,c+=f-1);f-- >0;)a in e?e[c]=e[a]:delete e[c],c+=l,a+=l;return e}},334:function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},335:function(t,n,e){"use strict";var r=e(240);e(4)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},336:function(t,n,e){e(32)&&"g"!=/./g.flags&&e(33).f(RegExp.prototype,"flags",{configurable:!0,get:e(171)})},337:function(t,n,e){"use strict";var r,o,i,u,c=e(110),a=e(18),s=e(72),f=e(145),l=e(4),p=e(21),h=e(73),d=e(128),v=e(174),y=e(146),g=e(242).set,_=e(606)(),b=e(338),m=e(607),x=e(175),w=e(339),E=a.TypeError,S=a.process,O=S&&S.versions,j=O&&O.v8||"",k=a.Promise,T="process"==f(S),I=function(){},P=o=b.f,R=!!function(){try{var t=k.resolve(1),n=(t.constructor={})[e(25)("species")]=function(t){t(I,I)};return(T||"function"==typeof PromiseRejectionEvent)&&t.then(I)instanceof n&&0!==j.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),F=function(t){var n;return!(!p(t)||"function"!=typeof(n=t.then))&&n},N=function(t,n){if(!t._n){t._n=!0;var e=t._c;_((function(){for(var r=t._v,o=1==t._s,i=0,u=function(n){var e,i,u,c=o?n.ok:n.fail,a=n.resolve,s=n.reject,f=n.domain;try{c?(o||(2==t._h&&L(t),t._h=1),!0===c?e=r:(f&&f.enter(),e=c(r),f&&(f.exit(),u=!0)),e===n.promise?s(E("Promise-chain cycle")):(i=F(e))?i.call(e,a,s):a(e)):s(r)}catch(t){f&&!u&&f.exit(),s(t)}};e.length>i;)u(e[i++]);t._c=[],t._n=!1,n&&!t._h&&A(t)}))}},A=function(t){g.call(a,(function(){var n,e,r,o=t._v,i=M(t);if(i&&(n=m((function(){T?S.emit("unhandledRejection",o,t):(e=a.onunhandledrejection)?e({promise:t,reason:o}):(r=a.console)&&r.error&&r.error("Unhandled promise rejection",o)})),t._h=T||M(t)?2:1),t._a=void 0,i&&n.e)throw n.v}))},M=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(t){g.call(a,(function(){var n;T?S.emit("rejectionHandled",t):(n=a.onrejectionhandled)&&n({promise:t,reason:t._v})}))},D=function(t){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=t,n._s=2,n._a||(n._a=n._c.slice()),N(n,!0))},C=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw E("Promise can't be resolved itself");(n=F(t))?_((function(){var r={_w:e,_d:!1};try{n.call(t,s(C,r,1),s(D,r,1))}catch(t){D.call(r,t)}})):(e._v=t,e._s=1,N(e,!1))}catch(t){D.call({_w:e,_d:!1},t)}}};R||(k=function(t){d(this,k,"Promise","_h"),h(t),r.call(this);try{t(s(C,this,1),s(D,this,1))}catch(t){D.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=e(129)(k.prototype,{then:function(t,n){var e=P(y(this,k));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=T?S.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&N(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=s(C,t,1),this.reject=s(D,t,1)},b.f=P=function(t){return t===k||t===u?new i(t):o(t)}),l(l.G+l.W+l.F*!R,{Promise:k}),e(124)(k,"Promise"),e(127)("Promise"),u=e(30).Promise,l(l.S+l.F*!R,"Promise",{reject:function(t){var n=P(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(c||!R),"Promise",{resolve:function(t){return w(c&&this===u?k:this,t)}}),l(l.S+l.F*!(R&&e(170)((function(t){k.all(t).catch(I)}))),"Promise",{all:function(t){var n=this,e=P(n),r=e.resolve,o=e.reject,i=m((function(){var e=[],i=0,u=1;v(t,!1,(function(t){var c=i++,a=!1;e.push(void 0),u++,n.resolve(t).then((function(t){a||(a=!0,e[c]=t,--u||r(e))}),o)})),--u||r(e)}));return i.e&&o(i.v),e.promise},race:function(t){var n=this,e=P(n),r=e.reject,o=m((function(){v(t,!1,(function(t){n.resolve(t).then(e.resolve,r)}))}));return o.e&&r(o.v),e.promise}})},338:function(t,n,e){"use strict";var r=e(73);function o(t){var n,e;this.promise=new t((function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r})),this.resolve=r(n),this.reject=r(e)}t.exports.f=function(t){return new o(t)}},339:function(t,n,e){var r=e(20),o=e(21),i=e(338);t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t);return(0,e.resolve)(n),e.promise}},340:function(t,n,e){"use strict";var r=e(33).f,o=e(113),i=e(129),u=e(72),c=e(128),a=e(174),s=e(231),f=e(334),l=e(127),p=e(32),h=e(91).fastKey,d=e(117),v=p?"_s":"size",y=function(t,n){var e,r=h(n);if("F"!==r)return t._i[r];for(e=t._f;e;e=e.n)if(e.k==n)return e};t.exports={getConstructor:function(t,n,e,s){var f=t((function(t,r){c(t,f,n,"_i"),t._t=n,t._i=o(null),t._f=void 0,t._l=void 0,t[v]=0,null!=r&&a(r,e,t[s],t)}));return i(f.prototype,{clear:function(){for(var t=d(this,n),e=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete e[r.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var e=d(this,n),r=y(e,t);if(r){var o=r.n,i=r.p;delete e._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),e._f==r&&(e._f=o),e._l==r&&(e._l=i),e[v]--}return!!r},forEach:function(t){d(this,n);for(var e,r=u(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(r(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!y(d(this,n),t)}}),p&&r(f.prototype,"size",{get:function(){return d(this,n)[v]}}),f},def:function(t,n,e){var r,o,i=y(t,n);return i?i.v=e:(t._l=i={i:o=h(n,!0),k:n,v:e,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[v]++,"F"!==o&&(t._i[o]=i)),t},getEntry:y,setStrong:function(t,n,e){s(t,n,(function(t,e){this._t=d(t,n),this._k=e,this._l=void 0}),(function(){for(var t=this._k,n=this._l;n&&n.r;)n=n.p;return this._t&&(this._l=n=n?n.n:this._t._f)?f(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(this._t=void 0,f(1))}),e?"entries":"values",!e,!0),l(n)}}},341:function(t,n,e){"use strict";var r=e(129),o=e(91).getWeak,i=e(20),u=e(21),c=e(128),a=e(174),s=e(77),f=e(58),l=e(117),p=s(5),h=s(6),d=0,v=function(t){return t._l||(t._l=new y)},y=function(){this.a=[]},g=function(t,n){return p(t.a,(function(t){return t[0]===n}))};y.prototype={get:function(t){var n=g(this,t);if(n)return n[1]},has:function(t){return!!g(this,t)},set:function(t,n){var e=g(this,t);e?e[1]=n:this.a.push([t,n])},delete:function(t){var n=h(this.a,(function(n){return n[0]===t}));return~n&&this.a.splice(n,1),!!~n}},t.exports={getConstructor:function(t,n,e,i){var s=t((function(t,r){c(t,s,n,"_i"),t._t=n,t._i=d++,t._l=void 0,null!=r&&a(r,e,t[i],t)}));return r(s.prototype,{delete:function(t){if(!u(t))return!1;var e=o(t);return!0===e?v(l(this,n)).delete(t):e&&f(e,this._i)&&delete e[this._i]},has:function(t){if(!u(t))return!1;var e=o(t);return!0===e?v(l(this,n)).has(t):e&&f(e,this._i)}}),s},def:function(t,n,e){var r=o(i(n),!0);return!0===r?v(t).set(n,e):r[t._i]=e,t},ufstore:v}},342:function(t,n,e){var r=e(74),o=e(27);t.exports=function(t){if(void 0===t)return 0;var n=r(t),e=o(n);if(n!==e)throw RangeError("Wrong length!");return e}},343:function(t,n,e){var r=e(114),o=e(168),i=e(20),u=e(18).Reflect;t.exports=u&&u.ownKeys||function(t){var n=r.f(i(t)),e=o.f;return e?n.concat(e(t)):n}},344:function(t,n,e){var r=e(27),o=e(227),i=e(83);t.exports=function(t,n,e,u){var c=String(i(t)),a=c.length,s=void 0===e?" ":String(e),f=r(n);if(f<=a||""==s)return c;var l=f-a,p=o.call(s,Math.ceil(l/s.length));return p.length>l&&(p=p.slice(0,l)),u?p+c:c+p}},345:function(t,n,e){var r=e(32),o=e(111),i=e(60),u=e(144).f;t.exports=function(t){return function(n){for(var e,c=i(n),a=o(c),s=a.length,f=0,l=[];s>f;)e=a[f++],r&&!u.call(c,e)||l.push(t?[e,c[e]]:c[e]);return l}}},346:function(t,n){var e=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=e)},347:function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},37:function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"a",(function(){return i})),e.d(n,"e",(function(){return u})),e.d(n,"c",(function(){return c})),e.d(n,"d",(function(){return a}));var r=function(t,n){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(t,n)};function o(t,n){function e(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}var i=function(){return(i=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var o in n=arguments[e])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t}).apply(this,arguments)};function u(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,o,i=e.call(t),u=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return u}function a(){for(var t=[],n=0;n<arguments.length;n++)t=t.concat(c(arguments[n]));return t}},4:function(t,n,e){var r=e(18),o=e(30),i=e(59),u=e(52),c=e(72),a=function(t,n,e){var s,f,l,p,h=t&a.F,d=t&a.G,v=t&a.S,y=t&a.P,g=t&a.B,_=d?r:v?r[n]||(r[n]={}):(r[n]||{}).prototype,b=d?o:o[n]||(o[n]={}),m=b.prototype||(b.prototype={});for(s in d&&(e=n),e)l=((f=!h&&_&&void 0!==_[s])?_:e)[s],p=g&&f?c(l,r):y&&"function"==typeof l?c(Function.call,l):l,_&&u(_,s,l,t&a.U),b[s]!=l&&i(b,s,p),y&&m[s]!=l&&(m[s]=l)};r.core=o,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},44:function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},45:function(t,n,e){var r=e(83);t.exports=function(t){return Object(r(t))}},465:function(t,n,e){"use strict";(function(t){e.d(n,"b",(function(){return c})),e.d(n,"e",(function(){return a})),e.d(n,"d",(function(){return l})),e.d(n,"c",(function(){return d})),e.d(n,"a",(function(){return v}));e(37);var r=e(194),o=e(5933),i=e(152),u=e(1157);function c(t,n,e){if(n in t){var r=t[n],o=e(r);if("function"==typeof o)try{o.prototype=o.prototype||{},Object.defineProperties(o,{__sentry_original__:{enumerable:!1,value:r}})}catch(t){}t[n]=o}}function a(t){return Object.keys(t).map((function(n){return encodeURIComponent(n)+"="+encodeURIComponent(t[n])})).join("&")}function s(t){if(Object(r.d)(t)){var n=t,e={message:n.message,name:n.name,stack:n.stack};for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}if(Object(r.f)(t)){var u=t,c={};c.type=u.type;try{c.target=Object(r.c)(u.target)?Object(i.i)(u.target):Object.prototype.toString.call(u.target)}catch(t){c.target="<unknown>"}try{c.currentTarget=Object(r.c)(u.currentTarget)?Object(i.i)(u.currentTarget):Object.prototype.toString.call(u.currentTarget)}catch(t){c.currentTarget="<unknown>"}for(var o in"undefined"!=typeof CustomEvent&&Object(r.g)(t,CustomEvent)&&(c.detail=u.detail),u)Object.prototype.hasOwnProperty.call(u,o)&&(c[o]=u);return c}return t}function f(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}function l(t,n,e){void 0===n&&(n=3),void 0===e&&(e=102400);var r=d(t,n);return f(r)>e?l(t,n-1,e):r}function p(n,e){return"domain"===e&&n&&"object"==typeof n&&n._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":void 0!==t&&n===t?"[Global]":"undefined"!=typeof window&&n===window?"[Window]":"undefined"!=typeof document&&n===document?"[Document]":Object(r.l)(n)?"[SyntheticEvent]":"number"==typeof n&&n!=n?"[NaN]":void 0===n?"[undefined]":"function"==typeof n?"[Function: "+Object(i.f)(n)+"]":n}function h(t,n,e,i){if(void 0===e&&(e=1/0),void 0===i&&(i=new o.a),0===e)return function(t){var n=Object.prototype.toString.call(t);if("string"==typeof t)return t;if("[object Object]"===n)return"[Object]";if("[object Array]"===n)return"[Array]";var e=p(t);return Object(r.i)(e)?e:n}(n);if(null!=n&&"function"==typeof n.toJSON)return n.toJSON();var u=p(n,t);if(Object(r.i)(u))return u;var c=s(n),a=Array.isArray(n)?[]:{};if(i.memoize(n))return"[Circular ~]";for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(a[f]=h(f,c[f],e-1,i));return i.unmemoize(n),a}function d(t,n){try{return JSON.parse(JSON.stringify(t,(function(t,e){return h(t,e,n)})))}catch(t){return"**non-serializable**"}}function v(t,n){void 0===n&&(n=40);var e=Object.keys(s(t));if(e.sort(),!e.length)return"[object has no keys]";if(e[0].length>=n)return Object(u.d)(e[0],n);for(var r=e.length;r>0;r--){var o=e.slice(0,r).join(", ");if(!(o.length>n))return r===e.length?o:Object(u.d)(o,n)}return""}}).call(this,e(44))},492:function(t,n,e){"use strict";function r(){const t=(n=e(665))&&n.__esModule?n:{default:n};var n;return r=function(){return t},t}e(493),r().default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),r().default._babelPolyfill=!0},493:function(t,n,e){"use strict";e(494),e(637),e(639),e(642),e(644),e(646),e(648),e(650),e(652),e(654),e(656),e(658),e(660),e(664)},494:function(t,n,e){e(495),e(498),e(499),e(500),e(501),e(502),e(503),e(504),e(505),e(506),e(507),e(508),e(509),e(510),e(511),e(512),e(513),e(514),e(515),e(516),e(517),e(518),e(519),e(520),e(521),e(522),e(523),e(524),e(525),e(526),e(527),e(528),e(529),e(530),e(531),e(532),e(533),e(534),e(535),e(536),e(537),e(538),e(539),e(541),e(542),e(543),e(544),e(545),e(546),e(547),e(548),e(549),e(550),e(551),e(552),e(553),e(554),e(555),e(556),e(557),e(558),e(559),e(560),e(561),e(562),e(563),e(564),e(565),e(566),e(567),e(568),e(569),e(570),e(571),e(572),e(573),e(574),e(576),e(577),e(579),e(580),e(581),e(582),e(583),e(584),e(585),e(587),e(588),e(589),e(590),e(591),e(592),e(593),e(594),e(595),e(596),e(597),e(598),e(599),e(239),e(600),e(335),e(601),e(336),e(602),e(603),e(604),e(605),e(337),e(608),e(609),e(610),e(611),e(612),e(613),e(614),e(615),e(616),e(617),e(618),e(619),e(620),e(621),e(622),e(623),e(624),e(625),e(626),e(627),e(628),e(629),e(630),e(631),e(632),e(633),e(634),e(635),e(636),t.exports=e(30)},495:function(t,n,e){"use strict";var r=e(18),o=e(58),i=e(32),u=e(4),c=e(52),a=e(91).KEY,s=e(19),f=e(166),l=e(124),p=e(109),h=e(25),d=e(220),v=e(316),y=e(497),g=e(169),_=e(20),b=e(21),m=e(45),x=e(60),w=e(90),E=e(108),S=e(113),O=e(319),j=e(75),k=e(168),T=e(33),I=e(111),P=j.f,R=T.f,F=O.f,N=r.Symbol,A=r.JSON,M=A&&A.stringify,L=h("_hidden"),D=h("toPrimitive"),C={}.propertyIsEnumerable,U=f("symbol-registry"),B=f("symbols"),W=f("op-symbols"),H=Object.prototype,G="function"==typeof N&&!!k.f,V=r.QObject,q=!V||!V.prototype||!V.prototype.findChild,Y=i&&s((function(){return 7!=S(R({},"a",{get:function(){return R(this,"a",{value:7}).a}})).a}))?function(t,n,e){var r=P(H,n);r&&delete H[n],R(t,n,e),r&&t!==H&&R(H,n,r)}:R,z=function(t){var n=B[t]=S(N.prototype);return n._k=t,n},J=G&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},X=function(t,n,e){return t===H&&X(W,n,e),_(t),n=w(n,!0),_(e),o(B,n)?(e.enumerable?(o(t,L)&&t[L][n]&&(t[L][n]=!1),e=S(e,{enumerable:E(0,!1)})):(o(t,L)||R(t,L,E(1,{})),t[L][n]=!0),Y(t,n,e)):R(t,n,e)},$=function(t,n){_(t);for(var e,r=y(n=x(n)),o=0,i=r.length;i>o;)X(t,e=r[o++],n[e]);return t},K=function(t){var n=C.call(this,t=w(t,!0));return!(this===H&&o(B,t)&&!o(W,t))&&(!(n||!o(this,t)||!o(B,t)||o(this,L)&&this[L][t])||n)},Q=function(t,n){if(t=x(t),n=w(n,!0),t!==H||!o(B,n)||o(W,n)){var e=P(t,n);return!e||!o(B,n)||o(t,L)&&t[L][n]||(e.enumerable=!0),e}},Z=function(t){for(var n,e=F(x(t)),r=[],i=0;e.length>i;)o(B,n=e[i++])||n==L||n==a||r.push(n);return r},tt=function(t){for(var n,e=t===H,r=F(e?W:x(t)),i=[],u=0;r.length>u;)!o(B,n=r[u++])||e&&!o(H,n)||i.push(B[n]);return i};G||(c((N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(e){this===H&&n.call(W,e),o(this,L)&&o(this[L],t)&&(this[L][t]=!1),Y(this,t,E(1,e))};return i&&q&&Y(H,t,{configurable:!0,set:n}),z(t)}).prototype,"toString",(function(){return this._k})),j.f=Q,T.f=X,e(114).f=O.f=Z,e(144).f=K,k.f=tt,i&&!e(110)&&c(H,"propertyIsEnumerable",K,!0),d.f=function(t){return z(h(t))}),u(u.G+u.W+u.F*!G,{Symbol:N});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;nt.length>et;)h(nt[et++]);for(var rt=I(h.store),ot=0;rt.length>ot;)v(rt[ot++]);u(u.S+u.F*!G,"Symbol",{for:function(t){return o(U,t+="")?U[t]:U[t]=N(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var n in U)if(U[n]===t)return n},useSetter:function(){q=!0},useSimple:function(){q=!1}}),u(u.S+u.F*!G,"Object",{create:function(t,n){return void 0===n?S(t):$(S(t),n)},defineProperty:X,defineProperties:$,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:tt});var it=s((function(){k.f(1)}));u(u.S+u.F*it,"Object",{getOwnPropertySymbols:function(t){return k.f(m(t))}}),A&&u(u.S+u.F*(!G||s((function(){var t=N();return"[null]"!=M([t])||"{}"!=M({a:t})||"{}"!=M(Object(t))}))),"JSON",{stringify:function(t){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(e=n=r[1],(b(n)||void 0!==t)&&!J(t))return g(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!J(n))return n}),r[1]=n,M.apply(A,r)}}),N.prototype[D]||e(59)(N.prototype,D,N.prototype.valueOf),l(N,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},496:function(t,n,e){t.exports=e(166)("native-function-to-string",Function.toString)},497:function(t,n,e){var r=e(111),o=e(168),i=e(144);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var u,c=e(t),a=i.f,s=0;c.length>s;)a.call(t,u=c[s++])&&n.push(u);return n}},498:function(t,n,e){var r=e(4);r(r.S,"Object",{create:e(113)})},499:function(t,n,e){var r=e(4);r(r.S+r.F*!e(32),"Object",{defineProperty:e(33).f})},500:function(t,n,e){var r=e(4);r(r.S+r.F*!e(32),"Object",{defineProperties:e(318)})},501:function(t,n,e){var r=e(60),o=e(75).f;e(76)("getOwnPropertyDescriptor",(function(){return function(t,n){return o(r(t),n)}}))},502:function(t,n,e){var r=e(45),o=e(115);e(76)("getPrototypeOf",(function(){return function(t){return o(r(t))}}))},503:function(t,n,e){var r=e(45),o=e(111);e(76)("keys",(function(){return function(t){return o(r(t))}}))},504:function(t,n,e){e(76)("getOwnPropertyNames",(function(){return e(319).f}))},505:function(t,n,e){var r=e(21),o=e(91).onFreeze;e(76)("freeze",(function(t){return function(n){return t&&r(n)?t(o(n)):n}}))},506:function(t,n,e){var r=e(21),o=e(91).onFreeze;e(76)("seal",(function(t){return function(n){return t&&r(n)?t(o(n)):n}}))},507:function(t,n,e){var r=e(21),o=e(91).onFreeze;e(76)("preventExtensions",(function(t){return function(n){return t&&r(n)?t(o(n)):n}}))},508:function(t,n,e){var r=e(21);e(76)("isFrozen",(function(t){return function(n){return!r(n)||!!t&&t(n)}}))},509:function(t,n,e){var r=e(21);e(76)("isSealed",(function(t){return function(n){return!r(n)||!!t&&t(n)}}))},510:function(t,n,e){var r=e(21);e(76)("isExtensible",(function(t){return function(n){return!!r(n)&&(!t||t(n))}}))},511:function(t,n,e){var r=e(4);r(r.S+r.F,"Object",{assign:e(320)})},512:function(t,n,e){var r=e(4);r(r.S,"Object",{is:e(321)})},513:function(t,n,e){var r=e(4);r(r.S,"Object",{setPrototypeOf:e(224).set})},514:function(t,n,e){"use strict";var r=e(145),o={};o[e(25)("toStringTag")]="z",o+""!="[object z]"&&e(52)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},515:function(t,n,e){var r=e(4);r(r.P,"Function",{bind:e(322)})},516:function(t,n,e){var r=e(33).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||e(32)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},517:function(t,n,e){"use strict";var r=e(21),o=e(115),i=e(25)("hasInstance"),u=Function.prototype;i in u||e(33).f(u,i,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},518:function(t,n,e){var r=e(4),o=e(324);r(r.G+r.F*(parseInt!=o),{parseInt:o})},519:function(t,n,e){var r=e(4),o=e(325);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},52:function(t,n,e){var r=e(18),o=e(59),i=e(58),u=e(109)("src"),c=e(496),a=(""+c).split("toString");e(30).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,e,c){var s="function"==typeof e;s&&(i(e,"name")||o(e,"name",n)),t[n]!==e&&(s&&(i(e,u)||o(e,u,t[n]?""+t[n]:a.join(String(n)))),t===r?t[n]=e:c?t[n]?t[n]=e:o(t,n,e):(delete t[n],o(t,n,e)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[u]||c.call(this)}))},520:function(t,n,e){"use strict";var r=e(18),o=e(58),i=e(82),u=e(226),c=e(90),a=e(19),s=e(114).f,f=e(75).f,l=e(33).f,p=e(125).trim,h=r.Number,d=h,v=h.prototype,y="Number"==i(e(113)(v)),g="trim"in String.prototype,_=function(t){var n=c(t,!1);if("string"==typeof n&&n.length>2){var e,r,o,i=(n=g?n.trim():p(n,3)).charCodeAt(0);if(43===i||45===i){if(88===(e=n.charCodeAt(2))||120===e)return NaN}else if(48===i){switch(n.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+n}for(var u,a=n.slice(2),s=0,f=a.length;s<f;s++)if((u=a.charCodeAt(s))<48||u>o)return NaN;return parseInt(a,r)}}return+n};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var n=arguments.length<1?0:t,e=this;return e instanceof h&&(y?a((function(){v.valueOf.call(e)})):"Number"!=i(e))?u(new d(_(n)),e,h):_(n)};for(var b,m=e(32)?s(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;m.length>x;x++)o(d,b=m[x])&&!o(h,b)&&l(h,b,f(d,b));h.prototype=v,v.constructor=h,e(52)(r,"Number",h)}},521:function(t,n,e){"use strict";var r=e(4),o=e(74),i=e(326),u=e(227),c=1..toFixed,a=Math.floor,s=[0,0,0,0,0,0],f="Number.toFixed: incorrect invocation!",l=function(t,n){for(var e=-1,r=n;++e<6;)r+=t*s[e],s[e]=r%1e7,r=a(r/1e7)},p=function(t){for(var n=6,e=0;--n>=0;)e+=s[n],s[n]=a(e/t),e=e%t*1e7},h=function(){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==s[t]){var e=String(s[t]);n=""===n?e:n+u.call("0",7-e.length)+e}return n},d=function(t,n,e){return 0===n?e:n%2==1?d(t,n-1,e*t):d(t*t,n/2,e)};r(r.P+r.F*(!!c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!e(19)((function(){c.call({})}))),"Number",{toFixed:function(t){var n,e,r,c,a=i(this,f),s=o(t),v="",y="0";if(s<0||s>20)throw RangeError(f);if(a!=a)return"NaN";if(a<=-1e21||a>=1e21)return String(a);if(a<0&&(v="-",a=-a),a>1e-21)if(e=(n=function(t){for(var n=0,e=t;e>=4096;)n+=12,e/=4096;for(;e>=2;)n+=1,e/=2;return n}(a*d(2,69,1))-69)<0?a*d(2,-n,1):a/d(2,n,1),e*=4503599627370496,(n=52-n)>0){for(l(0,e),r=s;r>=7;)l(1e7,0),r-=7;for(l(d(10,r,1),0),r=n-1;r>=23;)p(1<<23),r-=23;p(1<<r),l(1,1),p(2),y=h()}else l(0,e),l(1<<-n,0),y=h()+u.call("0",s);return y=s>0?v+((c=y.length)<=s?"0."+u.call("0",s-c)+y:y.slice(0,c-s)+"."+y.slice(c-s)):v+y}})},522:function(t,n,e){"use strict";var r=e(4),o=e(19),i=e(326),u=1..toPrecision;r(r.P+r.F*(o((function(){return"1"!==u.call(1,void 0)}))||!o((function(){u.call({})}))),"Number",{toPrecision:function(t){var n=i(this,"Number#toPrecision: incorrect invocation!");return void 0===t?u.call(n):u.call(n,t)}})},523:function(t,n,e){var r=e(4);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},524:function(t,n,e){var r=e(4),o=e(18).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&o(t)}})},525:function(t,n,e){var r=e(4);r(r.S,"Number",{isInteger:e(327)})},526:function(t,n,e){var r=e(4);r(r.S,"Number",{isNaN:function(t){return t!=t}})},527:function(t,n,e){var r=e(4),o=e(327),i=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},528:function(t,n,e){var r=e(4);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},529:function(t,n,e){var r=e(4);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},53:function(t,n,e){var r=e(4),o=e(19),i=e(83),u=/"/g,c=function(t,n,e,r){var o=String(i(t)),c="<"+n;return""!==e&&(c+=" "+e+'="'+String(r).replace(u,"&quot;")+'"'),c+">"+o+"</"+n+">"};t.exports=function(t,n){var e={};e[t]=n(c),r(r.P+r.F*o((function(){var n=""[t]('"');return n!==n.toLowerCase()||n.split('"').length>3})),"String",e)}},530:function(t,n,e){var r=e(4),o=e(325);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},531:function(t,n,e){var r=e(4),o=e(324);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},532:function(t,n,e){var r=e(4),o=e(328),i=Math.sqrt,u=Math.acosh;r(r.S+r.F*!(u&&710==Math.floor(u(Number.MAX_VALUE))&&u(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:o(t-1+i(t-1)*i(t+1))}})},533:function(t,n,e){var r=e(4),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:function t(n){return isFinite(n=+n)&&0!=n?n<0?-t(-n):Math.log(n+Math.sqrt(n*n+1)):n}})},534:function(t,n,e){var r=e(4),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},535:function(t,n,e){var r=e(4),o=e(228);r(r.S,"Math",{cbrt:function(t){return o(t=+t)*Math.pow(Math.abs(t),1/3)}})},536:function(t,n,e){var r=e(4);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},537:function(t,n,e){var r=e(4),o=Math.exp;r(r.S,"Math",{cosh:function(t){return(o(t=+t)+o(-t))/2}})},538:function(t,n,e){var r=e(4),o=e(229);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},539:function(t,n,e){var r=e(4);r(r.S,"Math",{fround:e(540)})},540:function(t,n,e){var r=e(228),o=Math.pow,i=o(2,-52),u=o(2,-23),c=o(2,127)*(2-u),a=o(2,-126);t.exports=Math.fround||function(t){var n,e,o=Math.abs(t),s=r(t);return o<a?s*(o/a/u+1/i-1/i)*a*u:(e=(n=(1+u/i)*o)-(n-o))>c||e!=e?s*(1/0):s*e}},541:function(t,n,e){var r=e(4),o=Math.abs;r(r.S,"Math",{hypot:function(t,n){for(var e,r,i=0,u=0,c=arguments.length,a=0;u<c;)a<(e=o(arguments[u++]))?(i=i*(r=a/e)*r+1,a=e):i+=e>0?(r=e/a)*r:e;return a===1/0?1/0:a*Math.sqrt(i)}})},542:function(t,n,e){var r=e(4),o=Math.imul;r(r.S+r.F*e(19)((function(){return-5!=o(4294967295,5)||2!=o.length})),"Math",{imul:function(t,n){var e=+t,r=+n,o=65535&e,i=65535&r;return 0|o*i+((65535&e>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},543:function(t,n,e){var r=e(4);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},544:function(t,n,e){var r=e(4);r(r.S,"Math",{log1p:e(328)})},545:function(t,n,e){var r=e(4);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},546:function(t,n,e){var r=e(4);r(r.S,"Math",{sign:e(228)})},547:function(t,n,e){var r=e(4),o=e(229),i=Math.exp;r(r.S+r.F*e(19)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(o(t)-o(-t))/2:(i(t-1)-i(-t-1))*(Math.E/2)}})},548:function(t,n,e){var r=e(4),o=e(229),i=Math.exp;r(r.S,"Math",{tanh:function(t){var n=o(t=+t),e=o(-t);return n==1/0?1:e==1/0?-1:(n-e)/(i(t)+i(-t))}})},549:function(t,n,e){var r=e(4);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},550:function(t,n,e){var r=e(4),o=e(112),i=String.fromCharCode,u=String.fromCodePoint;r(r.S+r.F*(!!u&&1!=u.length),"String",{fromCodePoint:function(t){for(var n,e=[],r=arguments.length,u=0;r>u;){if(n=+arguments[u++],o(n,1114111)!==n)throw RangeError(n+" is not a valid code point");e.push(n<65536?i(n):i(55296+((n-=65536)>>10),n%1024+56320))}return e.join("")}})},551:function(t,n,e){var r=e(4),o=e(60),i=e(27);r(r.S,"String",{raw:function(t){for(var n=o(t.raw),e=i(n.length),r=arguments.length,u=[],c=0;e>c;)u.push(String(n[c++])),c<r&&u.push(String(arguments[c]));return u.join("")}})},552:function(t,n,e){"use strict";e(125)("trim",(function(t){return function(){return t(this,3)}}))},553:function(t,n,e){"use strict";var r=e(230)(!0);e(231)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})}))},554:function(t,n,e){"use strict";var r=e(4),o=e(230)(!1);r(r.P,"String",{codePointAt:function(t){return o(this,t)}})},555:function(t,n,e){"use strict";var r=e(4),o=e(27),i=e(232),u="".endsWith;r(r.P+r.F*e(234)("endsWith"),"String",{endsWith:function(t){var n=i(this,t,"endsWith"),e=arguments.length>1?arguments[1]:void 0,r=o(n.length),c=void 0===e?r:Math.min(o(e),r),a=String(t);return u?u.call(n,a,c):n.slice(c-a.length,c)===a}})},556:function(t,n,e){"use strict";var r=e(4),o=e(232);r(r.P+r.F*e(234)("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},557:function(t,n,e){var r=e(4);r(r.P,"String",{repeat:e(227)})},558:function(t,n,e){"use strict";var r=e(4),o=e(27),i=e(232),u="".startsWith;r(r.P+r.F*e(234)("startsWith"),"String",{startsWith:function(t){var n=i(this,t,"startsWith"),e=o(Math.min(arguments.length>1?arguments[1]:void 0,n.length)),r=String(t);return u?u.call(n,r,e):n.slice(e,e+r.length)===r}})},559:function(t,n,e){"use strict";e(53)("anchor",(function(t){return function(n){return t(this,"a","name",n)}}))},560:function(t,n,e){"use strict";e(53)("big",(function(t){return function(){return t(this,"big","","")}}))},561:function(t,n,e){"use strict";e(53)("blink",(function(t){return function(){return t(this,"blink","","")}}))},562:function(t,n,e){"use strict";e(53)("bold",(function(t){return function(){return t(this,"b","","")}}))},563:function(t,n,e){"use strict";e(53)("fixed",(function(t){return function(){return t(this,"tt","","")}}))},564:function(t,n,e){"use strict";e(53)("fontcolor",(function(t){return function(n){return t(this,"font","color",n)}}))},565:function(t,n,e){"use strict";e(53)("fontsize",(function(t){return function(n){return t(this,"font","size",n)}}))},566:function(t,n,e){"use strict";e(53)("italics",(function(t){return function(){return t(this,"i","","")}}))},567:function(t,n,e){"use strict";e(53)("link",(function(t){return function(n){return t(this,"a","href",n)}}))},5671:function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r,o=e(194);!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(r||(r={}));var i=function(){function t(t){var n=this;this._state=r.PENDING,this._handlers=[],this._resolve=function(t){n._setResult(r.RESOLVED,t)},this._reject=function(t){n._setResult(r.REJECTED,t)},this._setResult=function(t,e){n._state===r.PENDING&&(Object(o.m)(e)?e.then(n._resolve,n._reject):(n._state=t,n._value=e,n._executeHandlers()))},this._attachHandler=function(t){n._handlers=n._handlers.concat(t),n._executeHandlers()},this._executeHandlers=function(){n._state!==r.PENDING&&(n._state===r.REJECTED?n._handlers.forEach((function(t){t.onrejected&&t.onrejected(n._value)})):n._handlers.forEach((function(t){t.onfulfilled&&t.onfulfilled(n._value)})),n._handlers=[])};try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}return t.prototype.toString=function(){return"[object SyncPromise]"},t.resolve=function(n){return new t((function(t){t(n)}))},t.reject=function(n){return new t((function(t,e){e(n)}))},t.all=function(n){return new t((function(e,r){if(Array.isArray(n))if(0!==n.length){var o=n.length,i=[];n.forEach((function(n,u){t.resolve(n).then((function(t){i[u]=t,0===(o-=1)&&e(i)})).then(null,r)}))}else e([]);else r(new TypeError("Promise.all requires an array as input."))}))},t.prototype.then=function(n,e){var r=this;return new t((function(t,o){r._attachHandler({onfulfilled:function(e){if(n)try{return void t(n(e))}catch(t){return void o(t)}else t(e)},onrejected:function(n){if(e)try{return void t(e(n))}catch(t){return void o(t)}else o(n)}})}))},t.prototype.catch=function(t){return this.then((function(t){return t}),t)},t.prototype.finally=function(n){var e=this;return new t((function(t,r){var o,i;return e.then((function(t){i=!1,o=t,n&&n()}),(function(t){i=!0,o=t,n&&n()})).then((function(){i?r(o):t(o)}))}))},t}()},568:function(t,n,e){"use strict";e(53)("small",(function(t){return function(){return t(this,"small","","")}}))},5685:function(t,n,e){"use strict";e.d(n,"a",(function(){return c})),e.d(n,"b",(function(){return s}));var r=e(37),o=e(5671),i=e(194),u=e(152),c=function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._context={}}return t.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},t.prototype.addEventProcessor=function(t){return this._eventProcessors.push(t),this},t.prototype._notifyScopeListeners=function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,setTimeout((function(){t._scopeListeners.forEach((function(n){n(t)})),t._notifyingListeners=!1})))},t.prototype._notifyEventProcessors=function(t,n,e,u){var c=this;return void 0===u&&(u=0),new o.a((function(o,a){var s=t[u];if(null===n||"function"!=typeof s)o(n);else{var f=s(r.a({},n),e);Object(i.m)(f)?f.then((function(n){return c._notifyEventProcessors(t,n,e,u+1).then(o)})).then(null,a):c._notifyEventProcessors(t,f,e,u+1).then(o).then(null,a)}}))},t.prototype.setUser=function(t){return this._user=t||{},this._notifyScopeListeners(),this},t.prototype.setTags=function(t){return this._tags=r.a({},this._tags,t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,n){var e;return this._tags=r.a({},this._tags,((e={})[t]=n,e)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=r.a({},this._extra,t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,n){var e;return this._extra=r.a({},this._extra,((e={})[t]=n,e)),this._notifyScopeListeners(),this},t.prototype.setFingerprint=function(t){return this._fingerprint=t,this._notifyScopeListeners(),this},t.prototype.setLevel=function(t){return this._level=t,this._notifyScopeListeners(),this},t.prototype.setTransaction=function(t){return this._transaction=t,this._span&&(this._span.transaction=t),this._notifyScopeListeners(),this},t.prototype.setContext=function(t,n){var e;return this._context=r.a({},this._context,((e={})[t]=n,e)),this._notifyScopeListeners(),this},t.prototype.setSpan=function(t){return this._span=t,this._notifyScopeListeners(),this},t.prototype.getSpan=function(){return this._span},t.clone=function(n){var e=new t;return n&&(e._breadcrumbs=r.d(n._breadcrumbs),e._tags=r.a({},n._tags),e._extra=r.a({},n._extra),e._context=r.a({},n._context),e._user=n._user,e._level=n._level,e._span=n._span,e._transaction=n._transaction,e._fingerprint=n._fingerprint,e._eventProcessors=r.d(n._eventProcessors)),e},t.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._context={},this._level=void 0,this._transaction=void 0,this._fingerprint=void 0,this._span=void 0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(t,n){var e=r.a({timestamp:Object(u.m)()},t);return this._breadcrumbs=void 0!==n&&n>=0?r.d(this._breadcrumbs,[e]).slice(-n):r.d(this._breadcrumbs,[e]),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},t.prototype._applyFingerprint=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t.prototype.applyToEvent=function(t,n){return this._extra&&Object.keys(this._extra).length&&(t.extra=r.a({},this._extra,t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=r.a({},this._tags,t.tags)),this._user&&Object.keys(this._user).length&&(t.user=r.a({},this._user,t.user)),this._context&&Object.keys(this._context).length&&(t.contexts=r.a({},this._context,t.contexts)),this._level&&(t.level=this._level),this._transaction&&(t.transaction=this._transaction),this._applyFingerprint(t),t.breadcrumbs=r.d(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,this._notifyEventProcessors(r.d(a(),this._eventProcessors),t,n)},t}();function a(){var t=Object(u.g)();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function s(t){a().push(t)}},569:function(t,n,e){"use strict";e(53)("strike",(function(t){return function(){return t(this,"strike","","")}}))},570:function(t,n,e){"use strict";e(53)("sub",(function(t){return function(){return t(this,"sub","","")}}))},571:function(t,n,e){"use strict";e(53)("sup",(function(t){return function(){return t(this,"sup","","")}}))},572:function(t,n,e){var r=e(4);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},573:function(t,n,e){"use strict";var r=e(4),o=e(45),i=e(90);r(r.P+r.F*e(19)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var n=o(this),e=i(n);return"number"!=typeof e||isFinite(e)?n.toISOString():null}})},574:function(t,n,e){var r=e(4),o=e(575);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},575:function(t,n,e){"use strict";var r=e(19),o=Date.prototype.getTime,i=Date.prototype.toISOString,u=function(t){return t>9?t:"0"+t};t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-50000000000001))}))||!r((function(){i.call(new Date(NaN))}))?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,n=t.getUTCFullYear(),e=t.getUTCMilliseconds(),r=n<0?"-":n>9999?"+":"";return r+("00000"+Math.abs(n)).slice(r?-6:-4)+"-"+u(t.getUTCMonth()+1)+"-"+u(t.getUTCDate())+"T"+u(t.getUTCHours())+":"+u(t.getUTCMinutes())+":"+u(t.getUTCSeconds())+"."+(e>99?e:"0"+u(e))+"Z"}:i},576:function(t,n,e){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&e(52)(r,"toString",(function(){var t=i.call(this);return t==t?o.call(this):"Invalid Date"}))},577:function(t,n,e){var r=e(25)("toPrimitive"),o=Date.prototype;r in o||e(59)(o,r,e(578))},578:function(t,n,e){"use strict";var r=e(20),o=e(90);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!=t)}},579:function(t,n,e){var r=e(4);r(r.S,"Array",{isArray:e(169)})},58:function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},580:function(t,n,e){"use strict";var r=e(72),o=e(4),i=e(45),u=e(330),c=e(235),a=e(27),s=e(236),f=e(237);o(o.S+o.F*!e(170)((function(t){Array.from(t)})),"Array",{from:function(t){var n,e,o,l,p=i(t),h="function"==typeof this?this:Array,d=arguments.length,v=d>1?arguments[1]:void 0,y=void 0!==v,g=0,_=f(p);if(y&&(v=r(v,d>2?arguments[2]:void 0,2)),null==_||h==Array&&c(_))for(e=new h(n=a(p.length));n>g;g++)s(e,g,y?v(p[g],g):p[g]);else for(l=_.call(p),e=new h;!(o=l.next()).done;g++)s(e,g,y?u(l,v,[o.value,g],!0):o.value);return e.length=g,e}})},5804:function(t,n){t.exports=function(t){if(!t.webpackPolyfill){var n=Object.create(t);n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),Object.defineProperty(n,"exports",{enumerable:!0}),n.webpackPolyfill=1}return n}},581:function(t,n,e){"use strict";var r=e(4),o=e(236);r(r.S+r.F*e(19)((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){for(var t=0,n=arguments.length,e=new("function"==typeof this?this:Array)(n);n>t;)o(e,t,arguments[t++]);return e.length=n,e}})},582:function(t,n,e){"use strict";var r=e(4),o=e(60),i=[].join;r(r.P+r.F*(e(143)!=Object||!e(69)(i)),"Array",{join:function(t){return i.call(o(this),void 0===t?",":t)}})},583:function(t,n,e){"use strict";var r=e(4),o=e(223),i=e(82),u=e(112),c=e(27),a=[].slice;r(r.P+r.F*e(19)((function(){o&&a.call(o)})),"Array",{slice:function(t,n){var e=c(this.length),r=i(this);if(n=void 0===n?e:n,"Array"==r)return a.call(this,t,n);for(var o=u(t,e),s=u(n,e),f=c(s-o),l=new Array(f),p=0;p<f;p++)l[p]="String"==r?this.charAt(o+p):this[o+p];return l}})},584:function(t,n,e){"use strict";var r=e(4),o=e(73),i=e(45),u=e(19),c=[].sort,a=[1,2,3];r(r.P+r.F*(u((function(){a.sort(void 0)}))||!u((function(){a.sort(null)}))||!e(69)(c)),"Array",{sort:function(t){return void 0===t?c.call(i(this)):c.call(i(this),o(t))}})},585:function(t,n,e){"use strict";var r=e(4),o=e(77)(0),i=e(69)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(t){return o(this,t,arguments[1])}})},586:function(t,n,e){var r=e(21),o=e(169),i=e(25)("species");t.exports=function(t){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)||(n=void 0),r(n)&&null===(n=n[i])&&(n=void 0)),void 0===n?Array:n}},587:function(t,n,e){"use strict";var r=e(4),o=e(77)(1);r(r.P+r.F*!e(69)([].map,!0),"Array",{map:function(t){return o(this,t,arguments[1])}})},588:function(t,n,e){"use strict";var r=e(4),o=e(77)(2);r(r.P+r.F*!e(69)([].filter,!0),"Array",{filter:function(t){return o(this,t,arguments[1])}})},589:function(t,n,e){"use strict";var r=e(4),o=e(77)(3);r(r.P+r.F*!e(69)([].some,!0),"Array",{some:function(t){return o(this,t,arguments[1])}})},59:function(t,n,e){var r=e(33),o=e(108);t.exports=e(32)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},590:function(t,n,e){"use strict";var r=e(4),o=e(77)(4);r(r.P+r.F*!e(69)([].every,!0),"Array",{every:function(t){return o(this,t,arguments[1])}})},591:function(t,n,e){"use strict";var r=e(4),o=e(332);r(r.P+r.F*!e(69)([].reduce,!0),"Array",{reduce:function(t){return o(this,t,arguments.length,arguments[1],!1)}})},592:function(t,n,e){"use strict";var r=e(4),o=e(332);r(r.P+r.F*!e(69)([].reduceRight,!0),"Array",{reduceRight:function(t){return o(this,t,arguments.length,arguments[1],!0)}})},593:function(t,n,e){"use strict";var r=e(4),o=e(167)(!1),i=[].indexOf,u=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(u||!e(69)(i)),"Array",{indexOf:function(t){return u?i.apply(this,arguments)||0:o(this,t,arguments[1])}})},5933:function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var r=function(){function t(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return t.prototype.memoize=function(t){if(this._hasWeakSet)return!!this._inner.has(t)||(this._inner.add(t),!1);for(var n=0;n<this._inner.length;n++){if(this._inner[n]===t)return!0}return this._inner.push(t),!1},t.prototype.unmemoize=function(t){if(this._hasWeakSet)this._inner.delete(t);else for(var n=0;n<this._inner.length;n++)if(this._inner[n]===t){this._inner.splice(n,1);break}},t}()},594:function(t,n,e){"use strict";var r=e(4),o=e(60),i=e(74),u=e(27),c=[].lastIndexOf,a=!!c&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(a||!e(69)(c)),"Array",{lastIndexOf:function(t){if(a)return c.apply(this,arguments)||0;var n=o(this),e=u(n.length),r=e-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=e+r);r>=0;r--)if(r in n&&n[r]===t)return r||0;return-1}})},595:function(t,n,e){var r=e(4);r(r.P,"Array",{copyWithin:e(333)}),e(116)("copyWithin")},596:function(t,n,e){var r=e(4);r(r.P,"Array",{fill:e(238)}),e(116)("fill")},597:function(t,n,e){"use strict";var r=e(4),o=e(77)(5),i=!0;"find"in[]&&Array(1).find((function(){i=!1})),r(r.P+r.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),e(116)("find")},598:function(t,n,e){"use strict";var r=e(4),o=e(77)(6),i="findIndex",u=!0;i in[]&&Array(1)[i]((function(){u=!1})),r(r.P+r.F*u,"Array",{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),e(116)(i)},599:function(t,n,e){e(127)("Array")},60:function(t,n,e){var r=e(143),o=e(83);t.exports=function(t){return r(o(t))}},600:function(t,n,e){var r=e(18),o=e(226),i=e(33).f,u=e(114).f,c=e(233),a=e(171),s=r.RegExp,f=s,l=s.prototype,p=/a/g,h=/a/g,d=new s(p)!==p;if(e(32)&&(!d||e(19)((function(){return h[e(25)("match")]=!1,s(p)!=p||s(h)==h||"/a/i"!=s(p,"i")})))){s=function(t,n){var e=this instanceof s,r=c(t),i=void 0===n;return!e&&r&&t.constructor===s&&i?t:o(d?new f(r&&!i?t.source:t,n):f((r=t instanceof s)?t.source:t,r&&i?a.call(t):n),e?this:l,s)};for(var v=function(t){t in s||i(s,t,{configurable:!0,get:function(){return f[t]},set:function(n){f[t]=n}})},y=u(f),g=0;y.length>g;)v(y[g++]);l.constructor=s,s.prototype=l,e(52)(r,"RegExp",s)}e(127)("RegExp")},601:function(t,n,e){"use strict";e(336);var r=e(20),o=e(171),i=e(32),u=/./.toString,c=function(t){e(52)(RegExp.prototype,"toString",t,!0)};e(19)((function(){return"/a/b"!=u.call({source:"a",flags:"b"})}))?c((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)})):"toString"!=u.name&&c((function(){return u.call(this)}))},602:function(t,n,e){"use strict";var r=e(20),o=e(27),i=e(241),u=e(172);e(173)("match",1,(function(t,n,e,c){return[function(e){var r=t(this),o=null==e?void 0:e[n];return void 0!==o?o.call(e,r):new RegExp(e)[n](String(r))},function(t){var n=c(e,t,this);if(n.done)return n.value;var a=r(t),s=String(this);if(!a.global)return u(a,s);var f=a.unicode;a.lastIndex=0;for(var l,p=[],h=0;null!==(l=u(a,s));){var d=String(l[0]);p[h]=d,""===d&&(a.lastIndex=i(s,o(a.lastIndex),f)),h++}return 0===h?null:p}]}))},603:function(t,n,e){"use strict";var r=e(20),o=e(45),i=e(27),u=e(74),c=e(241),a=e(172),s=Math.max,f=Math.min,l=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;e(173)("replace",2,(function(t,n,e,d){return[function(r,o){var i=t(this),u=null==r?void 0:r[n];return void 0!==u?u.call(r,i,o):e.call(String(i),r,o)},function(t,n){var o=d(e,t,this,n);if(o.done)return o.value;var l=r(t),p=String(this),h="function"==typeof n;h||(n=String(n));var y=l.global;if(y){var g=l.unicode;l.lastIndex=0}for(var _=[];;){var b=a(l,p);if(null===b)break;if(_.push(b),!y)break;""===String(b[0])&&(l.lastIndex=c(p,i(l.lastIndex),g))}for(var m,x="",w=0,E=0;E<_.length;E++){b=_[E];for(var S=String(b[0]),O=s(f(u(b.index),p.length),0),j=[],k=1;k<b.length;k++)j.push(void 0===(m=b[k])?m:String(m));var T=b.groups;if(h){var I=[S].concat(j,O,p);void 0!==T&&I.push(T);var P=String(n.apply(void 0,I))}else P=v(S,p,O,j,T,n);O>=w&&(x+=p.slice(w,O)+P,w=O+S.length)}return x+p.slice(w)}];function v(t,n,r,i,u,c){var a=r+t.length,s=i.length,f=h;return void 0!==u&&(u=o(u),f=p),e.call(c,f,(function(e,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(a);case"<":c=u[o.slice(1,-1)];break;default:var f=+o;if(0===f)return e;if(f>s){var p=l(f/10);return 0===p?e:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):e}c=i[f-1]}return void 0===c?"":c}))}}))},604:function(t,n,e){"use strict";var r=e(20),o=e(321),i=e(172);e(173)("search",1,(function(t,n,e,u){return[function(e){var r=t(this),o=null==e?void 0:e[n];return void 0!==o?o.call(e,r):new RegExp(e)[n](String(r))},function(t){var n=u(e,t,this);if(n.done)return n.value;var c=r(t),a=String(this),s=c.lastIndex;o(s,0)||(c.lastIndex=0);var f=i(c,a);return o(c.lastIndex,s)||(c.lastIndex=s),null===f?-1:f.index}]}))},605:function(t,n,e){"use strict";var r=e(233),o=e(20),i=e(146),u=e(241),c=e(27),a=e(172),s=e(240),f=e(19),l=Math.min,p=[].push,h="length",d=!f((function(){RegExp(4294967295,"y")}));e(173)("split",2,(function(t,n,e,f){var v;return v="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[h]||2!="ab".split(/(?:ab)*/)[h]||4!=".".split(/(.?)(.?)/)[h]||".".split(/()()/)[h]>1||"".split(/.?/)[h]?function(t,n){var o=String(this);if(void 0===t&&0===n)return[];if(!r(t))return e.call(o,t,n);for(var i,u,c,a=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,d=void 0===n?4294967295:n>>>0,v=new RegExp(t.source,f+"g");(i=s.call(v,o))&&!((u=v.lastIndex)>l&&(a.push(o.slice(l,i.index)),i[h]>1&&i.index<o[h]&&p.apply(a,i.slice(1)),c=i[0][h],l=u,a[h]>=d));)v.lastIndex===i.index&&v.lastIndex++;return l===o[h]?!c&&v.test("")||a.push(""):a.push(o.slice(l)),a[h]>d?a.slice(0,d):a}:"0".split(void 0,0)[h]?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,r){var o=t(this),i=null==e?void 0:e[n];return void 0!==i?i.call(e,o,r):v.call(String(o),e,r)},function(t,n){var r=f(v,t,this,n,v!==e);if(r.done)return r.value;var s=o(t),p=String(this),h=i(s,RegExp),y=s.unicode,g=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(d?"y":"g"),_=new h(d?s:"^(?:"+s.source+")",g),b=void 0===n?4294967295:n>>>0;if(0===b)return[];if(0===p.length)return null===a(_,p)?[p]:[];for(var m=0,x=0,w=[];x<p.length;){_.lastIndex=d?x:0;var E,S=a(_,d?p:p.slice(x));if(null===S||(E=l(c(_.lastIndex+(d?0:x)),p.length))===m)x=u(p,x,y);else{if(w.push(p.slice(m,x)),w.length===b)return w;for(var O=1;O<=S.length-1;O++)if(w.push(S[O]),w.length===b)return w;x=m=E}}return w.push(p.slice(m)),w}]}))},606:function(t,n,e){var r=e(18),o=e(242).set,i=r.MutationObserver||r.WebKitMutationObserver,u=r.process,c=r.Promise,a="process"==e(82)(u);t.exports=function(){var t,n,e,s=function(){var r,o;for(a&&(r=u.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?e():n=void 0,r}}n=void 0,r&&r.enter()};if(a)e=function(){u.nextTick(s)};else if(!i||r.navigator&&r.navigator.standalone)if(c&&c.resolve){var f=c.resolve(void 0);e=function(){f.then(s)}}else e=function(){o.call(r,s)};else{var l=!0,p=document.createTextNode("");new i(s).observe(p,{characterData:!0}),e=function(){p.data=l=!l}}return function(r){var o={fn:r,next:void 0};n&&(n.next=o),t||(t=o,e()),n=o}}},607:function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},608:function(t,n,e){"use strict";var r=e(340),o=e(117);t.exports=e(176)("Map",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var n=r.getEntry(o(this,"Map"),t);return n&&n.v},set:function(t,n){return r.def(o(this,"Map"),0===t?0:t,n)}},r,!0)},609:function(t,n,e){"use strict";var r=e(340),o=e(117);t.exports=e(176)("Set",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(o(this,"Set"),t=0===t?0:t,t)}},r)},610:function(t,n,e){"use strict";var r,o=e(18),i=e(77)(0),u=e(52),c=e(91),a=e(320),s=e(341),f=e(21),l=e(117),p=e(117),h=!o.ActiveXObject&&"ActiveXObject"in o,d=c.getWeak,v=Object.isExtensible,y=s.ufstore,g=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},_={get:function(t){if(f(t)){var n=d(t);return!0===n?y(l(this,"WeakMap")).get(t):n?n[this._i]:void 0}},set:function(t,n){return s.def(l(this,"WeakMap"),t,n)}},b=t.exports=e(176)("WeakMap",g,_,s,!0,!0);p&&h&&(a((r=s.getConstructor(g,"WeakMap")).prototype,_),c.NEED=!0,i(["delete","has","get","set"],(function(t){var n=b.prototype,e=n[t];u(n,t,(function(n,o){if(f(n)&&!v(n)){this._f||(this._f=new r);var i=this._f[t](n,o);return"set"==t?this:i}return e.call(this,n,o)}))})))},611:function(t,n,e){"use strict";var r=e(341),o=e(117);e(176)("WeakSet",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(o(this,"WeakSet"),t,!0)}},r,!1,!0)},612:function(t,n,e){"use strict";var r=e(4),o=e(177),i=e(243),u=e(20),c=e(112),a=e(27),s=e(21),f=e(18).ArrayBuffer,l=e(146),p=i.ArrayBuffer,h=i.DataView,d=o.ABV&&f.isView,v=p.prototype.slice,y=o.VIEW;r(r.G+r.W+r.F*(f!==p),{ArrayBuffer:p}),r(r.S+r.F*!o.CONSTR,"ArrayBuffer",{isView:function(t){return d&&d(t)||s(t)&&y in t}}),r(r.P+r.U+r.F*e(19)((function(){return!new p(2).slice(1,void 0).byteLength})),"ArrayBuffer",{slice:function(t,n){if(void 0!==v&&void 0===n)return v.call(u(this),t);for(var e=u(this).byteLength,r=c(t,e),o=c(void 0===n?e:n,e),i=new(l(this,p))(a(o-r)),s=new h(this),f=new h(i),d=0;r<o;)f.setUint8(d++,s.getUint8(r++));return i}}),e(127)("ArrayBuffer")},613:function(t,n,e){var r=e(4);r(r.G+r.W+r.F*!e(177).ABV,{DataView:e(243).DataView})},614:function(t,n,e){e(84)("Int8",1,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},615:function(t,n,e){e(84)("Uint8",1,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},616:function(t,n,e){e(84)("Uint8",1,(function(t){return function(n,e,r){return t(this,n,e,r)}}),!0)},617:function(t,n,e){e(84)("Int16",2,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},618:function(t,n,e){e(84)("Uint16",2,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},619:function(t,n,e){e(84)("Int32",4,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},620:function(t,n,e){e(84)("Uint32",4,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},621:function(t,n,e){e(84)("Float32",4,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},622:function(t,n,e){e(84)("Float64",8,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},623:function(t,n,e){var r=e(4),o=e(73),i=e(20),u=(e(18).Reflect||{}).apply,c=Function.apply;r(r.S+r.F*!e(19)((function(){u((function(){}))})),"Reflect",{apply:function(t,n,e){var r=o(t),a=i(e);return u?u(r,n,a):c.call(r,n,a)}})},624:function(t,n,e){var r=e(4),o=e(113),i=e(73),u=e(20),c=e(21),a=e(19),s=e(322),f=(e(18).Reflect||{}).construct,l=a((function(){function t(){}return!(f((function(){}),[],t)instanceof t)})),p=!a((function(){f((function(){}))}));r(r.S+r.F*(l||p),"Reflect",{construct:function(t,n){i(t),u(n);var e=arguments.length<3?t:i(arguments[2]);if(p&&!l)return f(t,n,e);if(t==e){switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var r=[null];return r.push.apply(r,n),new(s.apply(t,r))}var a=e.prototype,h=o(c(a)?a:Object.prototype),d=Function.apply.call(t,h,n);return c(d)?d:h}})},625:function(t,n,e){var r=e(33),o=e(4),i=e(20),u=e(90);o(o.S+o.F*e(19)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(t,n,e){i(t),n=u(n,!0),i(e);try{return r.f(t,n,e),!0}catch(t){return!1}}})},626:function(t,n,e){var r=e(4),o=e(75).f,i=e(20);r(r.S,"Reflect",{deleteProperty:function(t,n){var e=o(i(t),n);return!(e&&!e.configurable)&&delete t[n]}})},627:function(t,n,e){"use strict";var r=e(4),o=e(20),i=function(t){this._t=o(t),this._i=0;var n,e=this._k=[];for(n in t)e.push(n)};e(329)(i,"Object",(function(){var t,n=this._k;do{if(this._i>=n.length)return{value:void 0,done:!0}}while(!((t=n[this._i++])in this._t));return{value:t,done:!1}})),r(r.S,"Reflect",{enumerate:function(t){return new i(t)}})},628:function(t,n,e){var r=e(75),o=e(115),i=e(58),u=e(4),c=e(21),a=e(20);u(u.S,"Reflect",{get:function t(n,e){var u,s,f=arguments.length<3?n:arguments[2];return a(n)===f?n[e]:(u=r.f(n,e))?i(u,"value")?u.value:void 0!==u.get?u.get.call(f):void 0:c(s=o(n))?t(s,e,f):void 0}})},629:function(t,n,e){var r=e(75),o=e(4),i=e(20);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(t,n){return r.f(i(t),n)}})},630:function(t,n,e){var r=e(4),o=e(115),i=e(20);r(r.S,"Reflect",{getPrototypeOf:function(t){return o(i(t))}})},631:function(t,n,e){var r=e(4);r(r.S,"Reflect",{has:function(t,n){return n in t}})},632:function(t,n,e){var r=e(4),o=e(20),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return o(t),!i||i(t)}})},633:function(t,n,e){var r=e(4);r(r.S,"Reflect",{ownKeys:e(343)})},634:function(t,n,e){var r=e(4),o=e(20),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){o(t);try{return i&&i(t),!0}catch(t){return!1}}})},635:function(t,n,e){var r=e(33),o=e(75),i=e(115),u=e(58),c=e(4),a=e(108),s=e(20),f=e(21);c(c.S,"Reflect",{set:function t(n,e,c){var l,p,h=arguments.length<4?n:arguments[3],d=o.f(s(n),e);if(!d){if(f(p=i(n)))return t(p,e,c,h);d=a(0)}if(u(d,"value")){if(!1===d.writable||!f(h))return!1;if(l=o.f(h,e)){if(l.get||l.set||!1===l.writable)return!1;l.value=c,r.f(h,e,l)}else r.f(h,e,a(0,c));return!0}return void 0!==d.set&&(d.set.call(h,c),!0)}})},636:function(t,n,e){var r=e(4),o=e(224);o&&r(r.S,"Reflect",{setPrototypeOf:function(t,n){o.check(t,n);try{return o.set(t,n),!0}catch(t){return!1}}})},6363:function(t,n,e){e(492),t.exports=e(6364)},6364:function(t,n,e){"use strict";var r=e(6365);window.DiscordSentry=(0,r.initSentry)()},6365:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.initSentry=function(){r.init({dsn:"https://fa97a90475514c03a42f80cd36d147c4@sentry.io/140984",environment:window.GLOBAL_ENV.RELEASE_CHANNEL,release:"discord_web-337b0b5",beforeSend:function(t){return!function(t){var n=window;return null!=n.jQuery||null!=n.$||null!=n.BetterDiscord||null!=n.rambox||null!=t.exception&&null!=t.exception.values&&t.exception.values.every((function(t){return null==t.stacktrace||null!=t.stacktrace.frames&&1===t.stacktrace.frames.length}))&&"canary"!==window.GLOBAL_ENV.RELEASE_CHANNEL||i.some((function(t){return n.navigator.appVersion.toLowerCase().indexOf(t)>=0}))}(t)&&f()?t:null},integrations:[new r.Integrations.GlobalHandlers({onerror:!0,onunhandledrejection:"canary"===window.GLOBAL_ENV.RELEASE_CHANNEL}),new r.Integrations.Breadcrumbs({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0})],ignoreErrors:["EADDRINUSE","BetterDiscord","EnhancedDiscord","Powercord","RecipeWebview","jQuery","localStorage","has already been declared","Cannot call hover while not dragging.","Cannot call beginDrag while dragging.","getHostNode","setupCSS","on missing remote object","ChunkLoadError","Cannot find module 'discord_utils'","Failed to setup Krisp module, error code: -2"],blacklistUrls:[/recaptcha/,/mobilediscord\.com/]}),r.setTag("buildNumber","90176");var t=window.GLOBAL_ENV.SENTRY_TAGS;if(null!=t&&"object"==typeof t)for(var n in t)r.setTag(n,t[n]);return r};var r=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=o();if(n&&n.has(t))return n.get(t);var e={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var u=r?Object.getOwnPropertyDescriptor(t,i):null;u&&(u.get||u.set)?Object.defineProperty(e,i,u):e[i]=t[i]}e.default=t,n&&n.set(t,e);return e}(e(7339));function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}var i=["oppobrowser","realmebrowser","heytapbrowser"];var u,c,a,s,f=(c=(u={maxBudgetMinute:1,maxBudgetHour:3}).maxBudgetMinute,a=u.maxBudgetHour,s={minute:{slot:0,budgetUsed:0},hour:{slot:0,budgetUsed:0}},function(){var t=Date.now(),n=Math.round(t/1e3/60),e=Math.round(t/1e3/60/60);return s.minute.slot!==n&&(s.minute.slot=n,s.minute.budgetUsed=0),s.hour.slot!==e&&(s.hour.slot=e,s.hour.budgetUsed=0),s.minute.budgetUsed<c&&(s.minute.budgetUsed++,s.hour.budgetUsed<a)&&(s.hour.budgetUsed++,!0)})},637:function(t,n,e){e(638),t.exports=e(30).Array.includes},638:function(t,n,e){"use strict";var r=e(4),o=e(167)(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),e(116)("includes")},639:function(t,n,e){e(640),t.exports=e(30).Array.flatMap},640:function(t,n,e){"use strict";var r=e(4),o=e(641),i=e(45),u=e(27),c=e(73),a=e(331);r(r.P,"Array",{flatMap:function(t){var n,e,r=i(this);return c(t),n=u(r.length),e=a(r,0),o(e,r,r,n,0,1,t,arguments[1]),e}}),e(116)("flatMap")},641:function(t,n,e){"use strict";var r=e(169),o=e(21),i=e(27),u=e(72),c=e(25)("isConcatSpreadable");t.exports=function t(n,e,a,s,f,l,p,h){for(var d,v,y=f,g=0,_=!!p&&u(p,h,3);g<s;){if(g in a){if(d=_?_(a[g],g,e):a[g],v=!1,o(d)&&(v=void 0!==(v=d[c])?!!v:r(d)),v&&l>0)y=t(n,e,d,i(d.length),y,l-1)-1;else{if(y>=9007199254740991)throw TypeError();n[y]=d}y++}g++}return y}},642:function(t,n,e){e(643),t.exports=e(30).String.padStart},643:function(t,n,e){"use strict";var r=e(4),o=e(344),i=e(175),u=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*u,"String",{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},644:function(t,n,e){e(645),t.exports=e(30).String.padEnd},645:function(t,n,e){"use strict";var r=e(4),o=e(344),i=e(175),u=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*u,"String",{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},646:function(t,n,e){e(647),t.exports=e(30).String.trimLeft},647:function(t,n,e){"use strict";e(125)("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},648:function(t,n,e){e(649),t.exports=e(30).String.trimRight},649:function(t,n,e){"use strict";e(125)("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},650:function(t,n,e){e(651),t.exports=e(220).f("asyncIterator")},651:function(t,n,e){e(316)("asyncIterator")},652:function(t,n,e){e(653),t.exports=e(30).Object.getOwnPropertyDescriptors},653:function(t,n,e){var r=e(4),o=e(343),i=e(60),u=e(75),c=e(236);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var n,e,r=i(t),a=u.f,s=o(r),f={},l=0;s.length>l;)void 0!==(e=a(r,n=s[l++]))&&c(f,n,e);return f}})},654:function(t,n,e){e(655),t.exports=e(30).Object.values},655:function(t,n,e){var r=e(4),o=e(345)(!1);r(r.S,"Object",{values:function(t){return o(t)}})},656:function(t,n,e){e(657),t.exports=e(30).Object.entries},657:function(t,n,e){var r=e(4),o=e(345)(!0);r(r.S,"Object",{entries:function(t){return o(t)}})},658:function(t,n,e){"use strict";e(337),e(659),t.exports=e(30).Promise.finally},659:function(t,n,e){"use strict";var r=e(4),o=e(30),i=e(18),u=e(146),c=e(339);r(r.P+r.R,"Promise",{finally:function(t){var n=u(this,o.Promise||i.Promise),e="function"==typeof t;return this.then(e?function(e){return c(n,t()).then((function(){return e}))}:t,e?function(e){return c(n,t()).then((function(){throw e}))}:t)}})},660:function(t,n,e){e(661),e(662),e(663),t.exports=e(30)},661:function(t,n,e){var r=e(18),o=e(4),i=e(175),u=[].slice,c=/MSIE .\./.test(i),a=function(t){return function(n,e){var r=arguments.length>2,o=!!r&&u.call(arguments,2);return t(r?function(){("function"==typeof n?n:Function(n)).apply(this,o)}:n,e)}};o(o.G+o.B+o.F*c,{setTimeout:a(r.setTimeout),setInterval:a(r.setInterval)})},662:function(t,n,e){var r=e(4),o=e(242);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},663:function(t,n,e){for(var r=e(239),o=e(111),i=e(52),u=e(18),c=e(59),a=e(126),s=e(25),f=s("iterator"),l=s("toStringTag"),p=a.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=o(h),v=0;v<d.length;v++){var y,g=d[v],_=h[g],b=u[g],m=b&&b.prototype;if(m&&(m[f]||c(m,f,p),m[l]||c(m,l,g),a[g]=p,_))for(y in r)m[y]||i(m,y,r[y],!0)}},664:function(t,n,e){var r=function(t){"use strict";var n=Object.prototype,e=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",u=r.toStringTag||"@@toStringTag";function c(t,n,e,r){var o=n&&n.prototype instanceof f?n:f,i=Object.create(o.prototype),u=new w(r||[]);return i._invoke=function(t,n,e){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return S()}for(e.method=o,e.arg=i;;){var u=e.delegate;if(u){var c=b(u,e);if(c){if(c===s)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===r)throw r="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);r="executing";var f=a(t,n,e);if("normal"===f.type){if(r=e.done?"completed":"suspendedYield",f.arg===s)continue;return{value:f.arg,done:e.done}}"throw"===f.type&&(r="completed",e.method="throw",e.arg=f.arg)}}}(t,e,u),i}function a(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var s={};function f(){}function l(){}function p(){}var h={};h[o]=function(){return this};var d=Object.getPrototypeOf,v=d&&d(d(E([])));v&&v!==n&&e.call(v,o)&&(h=v);var y=p.prototype=f.prototype=Object.create(h);function g(t){["next","throw","return"].forEach((function(n){t[n]=function(t){return this._invoke(n,t)}}))}function _(t,n){var r;this._invoke=function(o,i){function u(){return new n((function(r,u){!function r(o,i,u,c){var s=a(t[o],t,i);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==typeof l&&e.call(l,"__await")?n.resolve(l.__await).then((function(t){r("next",t,u,c)}),(function(t){r("throw",t,u,c)})):n.resolve(l).then((function(t){f.value=t,u(f)}),(function(t){return r("throw",t,u,c)}))}c(s.arg)}(o,i,r,u)}))}return r=r?r.then(u,u):u()}}function b(t,n){var e=t.iterator[n.method];if(void 0===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,b(t,n),"throw"===n.method))return s;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=a(e,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,s;var o=r.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,s):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,s)}function m(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function x(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function w(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(m,this),this.reset(!0)}function E(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function n(){for(;++r<t.length;)if(e.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=void 0,n.done=!0,n};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return l.prototype=y.constructor=p,p.constructor=l,p[u]=l.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===l||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,u in t||(t[u]="GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},g(_.prototype),_.prototype[i]=function(){return this},t.AsyncIterator=_,t.async=function(n,e,r,o,i){void 0===i&&(i=Promise);var u=new _(c(n,e,r,o),i);return t.isGeneratorFunction(e)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},g(y),y[u]="Generator",y[o]=function(){return this},y.toString=function(){return"[object Generator]"},t.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=E,w.prototype={constructor:w,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var n in this)"t"===n.charAt(0)&&e.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(e,r){return u.type="throw",u.arg=t,n.next=e,r&&(n.method="next",n.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=e.call(i,"catchLoc"),a=e.call(i,"finallyLoc");if(c&&a){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,n){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&e.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=n,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(u)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),s},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),x(e),s}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var o=r.arg;x(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:E(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=void 0),s}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},665:function(t,n,e){e(666),t.exports=e(346).global},666:function(t,n,e){var r=e(667);r(r.G,{global:e(244)})},667:function(t,n,e){var r=e(244),o=e(346),i=e(668),u=e(670),c=e(677),a=function(t,n,e){var s,f,l,p=t&a.F,h=t&a.G,d=t&a.S,v=t&a.P,y=t&a.B,g=t&a.W,_=h?o:o[n]||(o[n]={}),b=_.prototype,m=h?r:d?r[n]:(r[n]||{}).prototype;for(s in h&&(e=n),e)(f=!p&&m&&void 0!==m[s])&&c(_,s)||(l=f?m[s]:e[s],_[s]=h&&"function"!=typeof m[s]?e[s]:y&&f?i(l,r):g&&m[s]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((_.virtual||(_.virtual={}))[s]=l,t&a.R&&b&&!b[s]&&u(b,s,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},668:function(t,n,e){var r=e(669);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},669:function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},670:function(t,n,e){var r=e(671),o=e(676);t.exports=e(246)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},671:function(t,n,e){var r=e(672),o=e(673),i=e(675),u=Object.defineProperty;n.f=e(246)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},672:function(t,n,e){var r=e(245);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},673:function(t,n,e){t.exports=!e(246)&&!e(347)((function(){return 7!=Object.defineProperty(e(674)("div"),"a",{get:function(){return 7}}).a}))},674:function(t,n,e){var r=e(245),o=e(244).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},675:function(t,n,e){var r=e(245);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},676:function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},677:function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},69:function(t,n,e){"use strict";var r=e(19);t.exports=function(t,n){return!!t&&r((function(){n?t.call(null,(function(){}),1):t.call(null)}))}},72:function(t,n,e){var r=e(73);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},73:function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},7339:function(t,n,e){"use strict";e.r(n);var r={};e.r(r),e.d(r,"FunctionToString",(function(){return lt})),e.d(r,"InboundFilters",(function(){return ht}));var o={};e.r(o),e.d(o,"GlobalHandlers",(function(){return Mt})),e.d(o,"TryCatch",(function(){return bt})),e.d(o,"Breadcrumbs",(function(){return Nt})),e.d(o,"LinkedErrors",(function(){return Lt})),e.d(o,"UserAgent",(function(){return Ct}));var i={};e.r(i),e.d(i,"BaseTransport",(function(){return ot})),e.d(i,"FetchTransport",(function(){return ut})),e.d(i,"XHRTransport",(function(){return ct}));var u,c,a=e(37);!function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"}(u||(u={})),function(t){t.fromString=function(n){switch(n){case"debug":return t.Debug;case"info":return t.Info;case"warn":case"warning":return t.Warning;case"error":return t.Error;case"fatal":return t.Fatal;case"critical":return t.Critical;case"log":default:return t.Log}}}(u||(u={})),function(t){t.Unknown="unknown",t.Skipped="skipped",t.Success="success",t.RateLimit="rate_limit",t.Invalid="invalid",t.Failed="failed"}(c||(c={})),function(t){t.fromHttpCode=function(n){return n>=200&&n<300?t.Success:429===n?t.RateLimit:n>=400&&n<500?t.Invalid:n>=500?t.Failed:t.Unknown}}(c||(c={}));var s=e(5685),f=e(8252);function l(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];var r=Object(f.b)();if(r&&r[t])return r[t].apply(r,a.d(n));throw new Error("No hub defined or "+t+" was not found on the hub, please open a bug report.")}function p(t){var n;try{throw new Error("Sentry syntheticException")}catch(t){n=t}return l("captureException",t,{originalException:t,syntheticException:n})}function h(t,n){var e;try{throw new Error(t)}catch(t){e=t}return l("captureMessage",t,n,{originalException:t,syntheticException:e})}function d(t){return l("captureEvent",t)}function v(t){l("configureScope",t)}function y(t){l("addBreadcrumb",t)}function g(t,n){l("setContext",t,n)}function _(t){l("setExtras",t)}function b(t){l("setTags",t)}function m(t,n){l("setExtra",t,n)}function x(t,n){l("setTag",t,n)}function w(t){l("setUser",t)}function E(t){l("withScope",t)}var S=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,n){return t.__proto__=n,t}:function(t,n){for(var e in n)t.hasOwnProperty(e)||(t[e]=n[e]);return t});var O=function(t){function n(n){var e=this.constructor,r=t.call(this,n)||this;return r.message=n,r.name=e.prototype.constructor.name,S(r,e.prototype),r}return a.b(n,t),n}(Error),j=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w\.-]+)(?::(\d+))?\/(.+)/,k=function(){function t(t){"string"==typeof t?this._fromString(t):this._fromComponents(t),this._validate()}return t.prototype.toString=function(t){void 0===t&&(t=!1);var n=this,e=n.host,r=n.path,o=n.pass,i=n.port,u=n.projectId;return n.protocol+"://"+n.user+(t&&o?":"+o:"")+"@"+e+(i?":"+i:"")+"/"+(r?r+"/":r)+u},t.prototype._fromString=function(t){var n=j.exec(t);if(!n)throw new O("Invalid Dsn");var e=a.c(n.slice(1),6),r=e[0],o=e[1],i=e[2],u=void 0===i?"":i,c=e[3],s=e[4],f=void 0===s?"":s,l="",p=e[5],h=p.split("/");h.length>1&&(l=h.slice(0,-1).join("/"),p=h.pop()),this._fromComponents({host:c,pass:u,path:l,projectId:p,port:f,protocol:r,user:o})},t.prototype._fromComponents=function(t){this.protocol=t.protocol,this.user=t.user,this.pass=t.pass||"",this.host=t.host,this.port=t.port||"",this.path=t.path||"",this.projectId=t.projectId},t.prototype._validate=function(){var t=this;if(["protocol","user","host","projectId"].forEach((function(n){if(!t[n])throw new O("Invalid Dsn")})),"http"!==this.protocol&&"https"!==this.protocol)throw new O("Invalid Dsn");if(this.port&&isNaN(parseInt(this.port,10)))throw new O("Invalid Dsn")},t}(),T=e(465),I=e(152),P=function(){function t(t){this.dsn=t,this._dsnObject=new k(t)}return t.prototype.getDsn=function(){return this._dsnObject},t.prototype.getStoreEndpoint=function(){return""+this._getBaseUrl()+this.getStoreEndpointPath()},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){var t={sentry_key:this._dsnObject.user,sentry_version:"7"};return this.getStoreEndpoint()+"?"+Object(T.e)(t)},t.prototype._getBaseUrl=function(){var t=this._dsnObject,n=t.protocol?t.protocol+":":"",e=t.port?":"+t.port:"";return n+"//"+t.host+e},t.prototype.getStoreEndpointPath=function(){var t=this._dsnObject;return(t.path?"/"+t.path:"")+"/api/"+t.projectId+"/store/"},t.prototype.getRequestHeaders=function(t,n){var e=this._dsnObject,r=["Sentry sentry_version=7"];return r.push("sentry_timestamp="+Object(I.m)()),r.push("sentry_client="+t+"/"+n),r.push("sentry_key="+e.user),e.pass&&r.push("sentry_secret="+e.pass),{"Content-Type":"application/json","X-Sentry-Auth":r.join(", ")}},t.prototype.getReportDialogEndpoint=function(t){void 0===t&&(t={});var n=this._dsnObject,e=this._getBaseUrl()+(n.path?"/"+n.path:"")+"/api/embed/error-page/",r=[];for(var o in r.push("dsn="+n.toString()),t)if("user"===o){if(!t.user)continue;t.user.name&&r.push("name="+encodeURIComponent(t.user.name)),t.user.email&&r.push("email="+encodeURIComponent(t.user.email))}else r.push(encodeURIComponent(o)+"="+encodeURIComponent(t[o]));return r.length?e+"?"+r.join("&"):e},t}(),R=e(1158),F=e(194),N=e(5671),A=e(1157),M=[];function L(t){var n={};return function(t){var n=t.defaultIntegrations&&a.d(t.defaultIntegrations)||[],e=t.integrations,r=[];if(Array.isArray(e)){var o=e.map((function(t){return t.name})),i=[];n.forEach((function(t){-1===o.indexOf(t.name)&&-1===i.indexOf(t.name)&&(r.push(t),i.push(t.name))})),e.forEach((function(t){-1===i.indexOf(t.name)&&(r.push(t),i.push(t.name))}))}else"function"==typeof e?(r=e(n),r=Array.isArray(r)?r:[r]):r=a.d(n);var u=r.map((function(t){return t.name}));return-1!==u.indexOf("Debug")&&r.push.apply(r,a.d(r.splice(u.indexOf("Debug"),1))),r}(t).forEach((function(t){n[t.name]=t,function(t){-1===M.indexOf(t.name)&&(t.setupOnce(s.b,f.b),M.push(t.name),R.a.log("Integration installed: "+t.name))}(t)})),n}var D=function(){function t(t,n){this._integrations={},this._processing=!1,this._backend=new t(n),this._options=n,n.dsn&&(this._dsn=new k(n.dsn)),this._isEnabled()&&(this._integrations=L(this._options))}return t.prototype.captureException=function(t,n,e){var r=this,o=n&&n.event_id;return this._processing=!0,this._getBackend().eventFromException(t,n).then((function(t){return r._processEvent(t,n,e)})).then((function(t){o=t&&t.event_id,r._processing=!1})).then(null,(function(t){R.a.error(t),r._processing=!1})),o},t.prototype.captureMessage=function(t,n,e,r){var o=this,i=e&&e.event_id;return this._processing=!0,(Object(F.i)(t)?this._getBackend().eventFromMessage(""+t,n,e):this._getBackend().eventFromException(t,e)).then((function(t){return o._processEvent(t,e,r)})).then((function(t){i=t&&t.event_id,o._processing=!1})).then(null,(function(t){R.a.error(t),o._processing=!1})),i},t.prototype.captureEvent=function(t,n,e){var r=this,o=n&&n.event_id;return this._processing=!0,this._processEvent(t,n,e).then((function(t){o=t&&t.event_id,r._processing=!1})).then(null,(function(t){R.a.error(t),r._processing=!1})),o},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.flush=function(t){var n=this;return this._isClientProcessing(t).then((function(e){return clearInterval(e.interval),n._getBackend().getTransport().close(t).then((function(t){return e.ready&&t}))}))},t.prototype.close=function(t){var n=this;return this.flush(t).then((function(t){return n.getOptions().enabled=!1,t}))},t.prototype.getIntegrations=function(){return this._integrations||{}},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(n){return R.a.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._isClientProcessing=function(t){var n=this;return new N.a((function(e){var r=0,o=0;clearInterval(o),o=setInterval((function(){n._processing?(r+=1,t&&r>=t&&e({interval:o,ready:!1})):e({interval:o,ready:!0})}),1)}))},t.prototype._getBackend=function(){return this._backend},t.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},t.prototype._prepareEvent=function(t,n,e){var r=this,o=this.getOptions(),i=o.environment,u=o.release,c=o.dist,s=o.maxValueLength,f=void 0===s?250:s,l=o.normalizeDepth,p=void 0===l?3:l,h=a.a({},t);void 0===h.environment&&void 0!==i&&(h.environment=i),void 0===h.release&&void 0!==u&&(h.release=u),void 0===h.dist&&void 0!==c&&(h.dist=c),h.message&&(h.message=Object(A.d)(h.message,f));var d=h.exception&&h.exception.values&&h.exception.values[0];d&&d.value&&(d.value=Object(A.d)(d.value,f));var v=h.request;v&&v.url&&(v.url=Object(A.d)(v.url,f)),void 0===h.event_id&&(h.event_id=e&&e.event_id?e.event_id:Object(I.n)()),this._addIntegrations(h.sdk);var y=N.a.resolve(h);return n&&(y=n.applyToEvent(h,e)),y.then((function(t){return"number"==typeof p&&p>0?r._normalizeEvent(t,p):t}))},t.prototype._normalizeEvent=function(t,n){return t?a.a({},t,t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((function(t){return a.a({},t,t.data&&{data:Object(T.c)(t.data,n)})}))},t.user&&{user:Object(T.c)(t.user,n)},t.contexts&&{contexts:Object(T.c)(t.contexts,n)},t.extra&&{extra:Object(T.c)(t.extra,n)}):null},t.prototype._addIntegrations=function(t){var n=Object.keys(this._integrations);t&&n.length>0&&(t.integrations=n)},t.prototype._processEvent=function(t,n,e){var r=this,o=this.getOptions(),i=o.beforeSend,u=o.sampleRate;return this._isEnabled()?"number"==typeof u&&Math.random()>u?N.a.reject("This event has been sampled, will not send event."):new N.a((function(o,u){r._prepareEvent(t,e,n).then((function(t){if(null!==t){var e=t;if(n&&n.data&&!0===n.data.__sentry__||!i)return r._getBackend().sendEvent(e),void o(e);var c=i(t,n);if(void 0===c)R.a.error("`beforeSend` method has to return `null` or a valid event.");else if(Object(F.m)(c))r._handleAsyncBeforeSend(c,o,u);else{if(null===(e=c))return R.a.log("`beforeSend` returned `null`, will not send event."),void o(null);r._getBackend().sendEvent(e),o(e)}}else u("An event processor returned null, will not send event.")})).then(null,(function(t){r.captureException(t,{data:{__sentry__:!0},originalException:t}),u("Event processing pipeline threw an error, original event will not be sent. Details has been sent as a new event.\nReason: "+t)}))})):N.a.reject("SDK not enabled, will not send event.")},t.prototype._handleAsyncBeforeSend=function(t,n,e){var r=this;t.then((function(t){null!==t?(r._getBackend().sendEvent(t),n(t)):e("`beforeSend` returned `null`, will not send event.")})).then(null,(function(t){e("beforeSend rejected with "+t)}))},t}(),C=function(){function t(){}return t.prototype.sendEvent=function(t){return N.a.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:c.Skipped})},t.prototype.close=function(t){return N.a.resolve(!0)},t}(),U=function(){function t(t){this._options=t,this._options.dsn||R.a.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype._setupTransport=function(){return new C},t.prototype.eventFromException=function(t,n){throw new O("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,n,e){throw new O("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){this._transport.sendEvent(t).then(null,(function(t){R.a.error("Error while sending event: "+t)}))},t.prototype.getTransport=function(){return this._transport},t}();function B(){if(!("fetch"in Object(I.g)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function W(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function H(){if(!B())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}var G=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,V=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,q=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Y=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,z=/\((\S*)(?::(\d+))(?::(\d+))\)/;function J(t){var n=null,e=t&&t.framesToPop;try{if(n=function(t){if(!t||!t.stacktrace)return null;for(var n,e=t.stacktrace,r=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,o=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,i=e.split("\n"),u=[],c=0;c<i.length;c+=2){var a=null;(n=r.exec(i[c]))?a={url:n[2],func:n[3],args:[],line:+n[1],column:null}:(n=o.exec(i[c]))&&(a={url:n[6],func:n[3]||n[4],args:n[5]?n[5].split(","):[],line:+n[1],column:+n[2]}),a&&(!a.func&&a.line&&(a.func="?"),u.push(a))}if(!u.length)return null;return{message:$(t),name:t.name,stack:u}}(t))return X(n,e)}catch(t){}try{if(n=function(t){if(!t||!t.stack)return null;for(var n,e,r,o=[],i=t.stack.split("\n"),u=0;u<i.length;++u){if(e=G.exec(i[u])){var c=e[2]&&0===e[2].indexOf("native");e[2]&&0===e[2].indexOf("eval")&&(n=z.exec(e[2]))&&(e[2]=n[1],e[3]=n[2],e[4]=n[3]),r={url:e[2]&&0===e[2].indexOf("address at ")?e[2].substr("address at ".length):e[2],func:e[1]||"?",args:c?[e[2]]:[],line:e[3]?+e[3]:null,column:e[4]?+e[4]:null}}else if(e=q.exec(i[u]))r={url:e[2],func:e[1]||"?",args:[],line:+e[3],column:e[4]?+e[4]:null};else{if(!(e=V.exec(i[u])))continue;e[3]&&e[3].indexOf(" > eval")>-1&&(n=Y.exec(e[3]))?(e[1]=e[1]||"eval",e[3]=n[1],e[4]=n[2],e[5]=""):0!==u||e[5]||void 0===t.columnNumber||(o[0].column=t.columnNumber+1),r={url:e[3],func:e[1]||"?",args:e[2]?e[2].split(","):[],line:e[4]?+e[4]:null,column:e[5]?+e[5]:null}}!r.func&&r.line&&(r.func="?"),o.push(r)}if(!o.length)return null;return{message:$(t),name:t.name,stack:o}}(t))return X(n,e)}catch(t){}return{message:$(t),name:t&&t.name,stack:[],failed:!0}}function X(t,n){try{return a.a({},t,{stack:t.stack.slice(n)})}catch(n){return t}}function $(t){var n=t&&t.message;return n?n.error&&"string"==typeof n.error.message?n.error.message:n:"No error message"}function K(t){var n=Z(t.stack),e={type:t.name,value:t.message};return n&&n.length&&(e.stacktrace={frames:n}),void 0===e.type&&""===e.value&&(e.value="Unrecoverable error caught"),e}function Q(t){return{exception:{values:[K(t)]}}}function Z(t){if(!t||!t.length)return[];var n=t,e=n[0].func||"",r=n[n.length-1].func||"";return-1===e.indexOf("captureMessage")&&-1===e.indexOf("captureException")||(n=n.slice(1)),-1!==r.indexOf("sentryWrapped")&&(n=n.slice(0,-1)),n.map((function(t){return{colno:null===t.column?void 0:t.column,filename:t.url||n[0].url,function:t.func||"?",in_app:!0,lineno:null===t.line?void 0:t.line}})).slice(0,50).reverse()}function tt(t,n,e){var r;if(void 0===e&&(e={}),Object(F.e)(t)&&t.error)return r=Q(J(t=t.error));if(Object(F.a)(t)||Object(F.b)(t)){var o=t,i=o.name||(Object(F.a)(o)?"DOMError":"DOMException"),u=o.message?i+": "+o.message:i;return r=nt(u,n,e),Object(I.b)(r,u),r}return Object(F.d)(t)?r=Q(J(t)):Object(F.h)(t)||Object(F.f)(t)?(r=function(t,n,e){var r={exception:{values:[{type:Object(F.f)(t)?t.constructor.name:e?"UnhandledRejection":"Error",value:"Non-Error "+(e?"promise rejection":"exception")+" captured with keys: "+Object(T.a)(t)}]},extra:{__serialized__:Object(T.d)(t)}};if(n){var o=Z(J(n).stack);r.stacktrace={frames:o}}return r}(t,n,e.rejection),Object(I.a)(r,{synthetic:!0}),r):(r=nt(t,n,e),Object(I.b)(r,""+t,void 0),Object(I.a)(r,{synthetic:!0}),r)}function nt(t,n,e){void 0===e&&(e={});var r={message:t};if(e.attachStacktrace&&n){var o=Z(J(n).stack);r.stacktrace={frames:o}}return r}var et,rt=function(){function t(t){this._limit=t,this._buffer=[]}return t.prototype.isReady=function(){return void 0===this._limit||this.length()<this._limit},t.prototype.add=function(t){var n=this;return this.isReady()?(-1===this._buffer.indexOf(t)&&this._buffer.push(t),t.then((function(){return n.remove(t)})).then(null,(function(){return n.remove(t).then(null,(function(){}))})),t):N.a.reject(new O("Not adding Promise due to buffer limit reached."))},t.prototype.remove=function(t){return this._buffer.splice(this._buffer.indexOf(t),1)[0]},t.prototype.length=function(){return this._buffer.length},t.prototype.drain=function(t){var n=this;return new N.a((function(e){var r=setTimeout((function(){t&&t>0&&e(!1)}),t);N.a.all(n._buffer).then((function(){clearTimeout(r),e(!0)})).then(null,(function(){e(!0)}))}))},t}(),ot=function(){function t(t){this.options=t,this._buffer=new rt(30),this.url=new P(this.options.dsn).getStoreEndpointWithUrlEncodedAuth()}return t.prototype.sendEvent=function(t){throw new O("Transport Class has to implement `sendEvent` method")},t.prototype.close=function(t){return this._buffer.drain(t)},t}(),it=Object(I.g)(),ut=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n._disabledUntil=new Date(Date.now()),n}return a.b(n,t),n.prototype.sendEvent=function(t){var n=this;if(new Date(Date.now())<this._disabledUntil)return Promise.reject({event:t,reason:"Transport locked till "+this._disabledUntil+" due to too many requests.",status:429});var e={body:JSON.stringify(t),method:"POST",referrerPolicy:H()?"origin":""};return void 0!==this.options.headers&&(e.headers=this.options.headers),this._buffer.add(new N.a((function(t,r){it.fetch(n.url,e).then((function(e){var o=c.fromHttpCode(e.status);if(o!==c.Success){if(o===c.RateLimit){var i=Date.now();n._disabledUntil=new Date(i+Object(I.k)(i,e.headers.get("Retry-After"))),R.a.warn("Too many requests, backing off till: "+n._disabledUntil)}r(e)}else t({status:o})})).catch(r)})))},n}(ot),ct=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n._disabledUntil=new Date(Date.now()),n}return a.b(n,t),n.prototype.sendEvent=function(t){var n=this;return new Date(Date.now())<this._disabledUntil?Promise.reject({event:t,reason:"Transport locked till "+this._disabledUntil+" due to too many requests.",status:429}):this._buffer.add(new N.a((function(e,r){var o=new XMLHttpRequest;for(var i in o.onreadystatechange=function(){if(4===o.readyState){var t=c.fromHttpCode(o.status);if(t!==c.Success){if(t===c.RateLimit){var i=Date.now();n._disabledUntil=new Date(i+Object(I.k)(i,o.getResponseHeader("Retry-After"))),R.a.warn("Too many requests, backing off till: "+n._disabledUntil)}r(o)}else e({status:t})}},o.open("POST",n.url),n.options.headers)n.options.headers.hasOwnProperty(i)&&o.setRequestHeader(i,n.options.headers[i]);o.send(JSON.stringify(t))})))},n}(ot),at=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a.b(n,t),n.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var n=a.a({},this._options.transportOptions,{dsn:this._options.dsn});return this._options.transport?new this._options.transport(n):B()?new ut(n):new ct(n)},n.prototype.eventFromException=function(t,n){var e=tt(t,n&&n.syntheticException||void 0,{attachStacktrace:this._options.attachStacktrace});return Object(I.a)(e,{handled:!0,type:"generic"}),e.level=u.Error,n&&n.event_id&&(e.event_id=n.event_id),N.a.resolve(e)},n.prototype.eventFromMessage=function(t,n,e){void 0===n&&(n=u.Info);var r=nt(t,e&&e.syntheticException||void 0,{attachStacktrace:this._options.attachStacktrace});return r.level=n,e&&e.event_id&&(r.event_id=e.event_id),N.a.resolve(r)},n}(U),st="sentry.javascript.browser",ft=function(t){function n(n){return void 0===n&&(n={}),t.call(this,at,n)||this}return a.b(n,t),n.prototype._prepareEvent=function(n,e,r){return n.platform=n.platform||"javascript",n.sdk=a.a({},n.sdk,{name:st,packages:a.d(n.sdk&&n.sdk.packages||[],[{name:"npm:@sentry/browser",version:"5.12.4"}]),version:"5.12.4"}),t.prototype._prepareEvent.call(this,n,e,r)},n.prototype.showReportDialog=function(t){void 0===t&&(t={});var n=Object(I.g)().document;if(n)if(this._isEnabled()){var e=t.dsn||this.getDsn();if(t.eventId)if(e){var r=n.createElement("script");r.async=!0,r.src=new P(e).getReportDialogEndpoint(t),t.onLoad&&(r.onload=t.onLoad),(n.head||n.body).appendChild(r)}else R.a.error("Missing `Dsn` option in showReportDialog call");else R.a.error("Missing `eventId` option in showReportDialog call")}else R.a.error("Trying to call showReportDialog with Sentry Client is disabled")},n}(D),lt=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){et=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=this.__sentry_original__||this;return et.apply(e,t)}},t.id="FunctionToString",t}(),pt=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],ht=function(){function t(n){void 0===n&&(n={}),this._options=n,this.name=t.id}return t.prototype.setupOnce=function(){Object(s.b)((function(n){var e=Object(f.b)();if(!e)return n;var r=e.getIntegration(t);if(r){var o=e.getClient(),i=o?o.getOptions():{},u=r._mergeOptions(i);if(r._shouldDropEvent(n,u))return null}return n}))},t.prototype._shouldDropEvent=function(t,n){return this._isSentryError(t,n)?(R.a.warn("Event dropped due to being internal Sentry Error.\nEvent: "+Object(I.e)(t)),!0):this._isIgnoredError(t,n)?(R.a.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+Object(I.e)(t)),!0):this._isBlacklistedUrl(t,n)?(R.a.warn("Event dropped due to being matched by `blacklistUrls` option.\nEvent: "+Object(I.e)(t)+".\nUrl: "+this._getEventFilterUrl(t)),!0):!this._isWhitelistedUrl(t,n)&&(R.a.warn("Event dropped due to not being matched by `whitelistUrls` option.\nEvent: "+Object(I.e)(t)+".\nUrl: "+this._getEventFilterUrl(t)),!0)},t.prototype._isSentryError=function(t,n){if(void 0===n&&(n={}),!n.ignoreInternal)return!1;try{return t&&t.exception&&t.exception.values&&t.exception.values[0]&&"SentryError"===t.exception.values[0].type||!1}catch(t){return!1}},t.prototype._isIgnoredError=function(t,n){return void 0===n&&(n={}),!(!n.ignoreErrors||!n.ignoreErrors.length)&&this._getPossibleEventMessages(t).some((function(t){return n.ignoreErrors.some((function(n){return Object(A.a)(t,n)}))}))},t.prototype._isBlacklistedUrl=function(t,n){if(void 0===n&&(n={}),!n.blacklistUrls||!n.blacklistUrls.length)return!1;var e=this._getEventFilterUrl(t);return!!e&&n.blacklistUrls.some((function(t){return Object(A.a)(e,t)}))},t.prototype._isWhitelistedUrl=function(t,n){if(void 0===n&&(n={}),!n.whitelistUrls||!n.whitelistUrls.length)return!0;var e=this._getEventFilterUrl(t);return!e||n.whitelistUrls.some((function(t){return Object(A.a)(e,t)}))},t.prototype._mergeOptions=function(t){return void 0===t&&(t={}),{blacklistUrls:a.d(this._options.blacklistUrls||[],t.blacklistUrls||[]),ignoreErrors:a.d(this._options.ignoreErrors||[],t.ignoreErrors||[],pt),ignoreInternal:void 0===this._options.ignoreInternal||this._options.ignoreInternal,whitelistUrls:a.d(this._options.whitelistUrls||[],t.whitelistUrls||[])}},t.prototype._getPossibleEventMessages=function(t){if(t.message)return[t.message];if(t.exception)try{var n=t.exception.values&&t.exception.values[0]||{},e=n.type,r=void 0===e?"":e,o=n.value,i=void 0===o?"":o;return[""+i,r+": "+i]}catch(n){return R.a.error("Cannot extract message for event "+Object(I.e)(t)),[]}return[]},t.prototype._getEventFilterUrl=function(t){try{if(t.stacktrace){var n=t.stacktrace.frames;return n&&n[n.length-1].filename||null}if(t.exception){var e=t.exception.values&&t.exception.values[0].stacktrace&&t.exception.values[0].stacktrace.frames;return e&&e[e.length-1].filename||null}return null}catch(n){return R.a.error("Cannot extract url for event "+Object(I.e)(t)),null}},t.id="InboundFilters",t}();var dt=0;function vt(){return dt>0}function yt(){dt+=1,setTimeout((function(){dt-=1}))}function gt(t,n,e){if(void 0===n&&(n={}),"function"!=typeof t)return t;try{if(t.__sentry__)return t;if(t.__sentry_wrapped__)return t.__sentry_wrapped__}catch(n){return t}var r=function(){var r=Array.prototype.slice.call(arguments);try{e&&"function"==typeof e&&e.apply(this,arguments);var o=r.map((function(t){return gt(t,n)}));return t.handleEvent?t.handleEvent.apply(this,o):t.apply(this,o)}catch(t){throw yt(),E((function(e){e.addEventProcessor((function(t){var e=a.a({},t);return n.mechanism&&(Object(I.b)(e,void 0,void 0),Object(I.a)(e,n.mechanism)),e.extra=a.a({},e.extra,{arguments:r}),e})),p(t)})),t}};try{for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o])}catch(t){}t.prototype=t.prototype||{},r.prototype=t.prototype,Object.defineProperty(t,"__sentry_wrapped__",{enumerable:!1,value:r}),Object.defineProperties(r,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:t}});try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:function(){return t.name}})}catch(t){}return r}var _t,bt=function(){function t(){this._ignoreOnError=0,this.name=t.id}return t.prototype._wrapTimeFunction=function(t){return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var r=n[0];return n[0]=gt(r,{mechanism:{data:{function:Object(I.f)(t)},handled:!0,type:"instrument"}}),t.apply(this,n)}},t.prototype._wrapRAF=function(t){return function(n){return t(gt(n,{mechanism:{data:{function:"requestAnimationFrame",handler:Object(I.f)(t)},handled:!0,type:"instrument"}}))}},t.prototype._wrapEventTarget=function(t){var n=Object(I.g)(),e=n[t]&&n[t].prototype;e&&e.hasOwnProperty&&e.hasOwnProperty("addEventListener")&&(Object(T.b)(e,"addEventListener",(function(n){return function(e,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=gt(r.handleEvent.bind(r),{mechanism:{data:{function:"handleEvent",handler:Object(I.f)(r),target:t},handled:!0,type:"instrument"}}))}catch(t){}return n.call(this,e,gt(r,{mechanism:{data:{function:"addEventListener",handler:Object(I.f)(r),target:t},handled:!0,type:"instrument"}}),o)}})),Object(T.b)(e,"removeEventListener",(function(t){return function(n,e,r){var o=e;try{o=o&&(o.__sentry_wrapped__||o)}catch(t){}return t.call(this,n,o,r)}})))},t.prototype._wrapXHR=function(t){return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var r=this,o=["onload","onerror","onprogress","onreadystatechange"];return o.forEach((function(t){t in r&&"function"==typeof r[t]&&Object(T.b)(r,t,(function(n){var e={mechanism:{data:{function:t,handler:Object(I.f)(n)},handled:!0,type:"instrument"}};return n.__sentry_original__&&(e.mechanism.data.handler=Object(I.f)(n.__sentry_original__)),gt(n,e)}))})),t.apply(this,n)}},t.prototype.setupOnce=function(){this._ignoreOnError=this._ignoreOnError;var t=Object(I.g)();Object(T.b)(t,"setTimeout",this._wrapTimeFunction.bind(this)),Object(T.b)(t,"setInterval",this._wrapTimeFunction.bind(this)),Object(T.b)(t,"requestAnimationFrame",this._wrapRAF.bind(this)),"XMLHttpRequest"in t&&Object(T.b)(XMLHttpRequest.prototype,"send",this._wrapXHR.bind(this)),["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"].forEach(this._wrapEventTarget.bind(this))},t.id="TryCatch",t}(),mt=Object(I.g)(),xt={},wt={};function Et(t){if(!wt[t])switch(wt[t]=!0,t){case"console":!function(){if(!("console"in mt))return;["debug","info","warn","error","log","assert"].forEach((function(t){t in mt.console&&Object(T.b)(mt.console,t,(function(n){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];Ot("console",{args:e,level:t}),n&&Function.prototype.apply.call(n,mt.console,e)}}))}))}();break;case"dom":!function(){if(!("document"in mt))return;mt.document.addEventListener("click",Rt("click",Ot.bind(null,"dom")),!1),mt.document.addEventListener("keypress",Ft(Ot.bind(null,"dom")),!1),["EventTarget","Node"].forEach((function(t){var n=mt[t]&&mt[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Object(T.b)(n,"addEventListener",(function(t){return function(n,e,r){return e&&e.handleEvent?("click"===n&&Object(T.b)(e,"handleEvent",(function(t){return function(n){return Rt("click",Ot.bind(null,"dom"))(n),t.call(this,n)}})),"keypress"===n&&Object(T.b)(e,"handleEvent",(function(t){return function(n){return Ft(Ot.bind(null,"dom"))(n),t.call(this,n)}}))):("click"===n&&Rt("click",Ot.bind(null,"dom"),!0)(this),"keypress"===n&&Ft(Ot.bind(null,"dom"))(this)),t.call(this,n,e,r)}})),Object(T.b)(n,"removeEventListener",(function(t){return function(n,e,r){var o=e;try{o=o&&(o.__sentry_wrapped__||o)}catch(t){}return t.call(this,n,o,r)}})))}))}();break;case"xhr":!function(){if(!("XMLHttpRequest"in mt))return;var t=XMLHttpRequest.prototype;Object(T.b)(t,"open",(function(t){return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var r=n[1];return this.__sentry_xhr__={method:Object(F.k)(n[0])?n[0].toUpperCase():n[0],url:n[1]},Object(F.k)(r)&&"POST"===this.__sentry_xhr__.method&&r.match(/sentry_key/)&&(this.__sentry_own_request__=!0),t.apply(this,n)}})),Object(T.b)(t,"send",(function(t){return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var r=this,o={args:n,startTimestamp:Date.now(),xhr:r};return Ot("xhr",a.a({},o)),r.addEventListener("readystatechange",(function(){if(4===r.readyState){try{r.__sentry_xhr__&&(r.__sentry_xhr__.status_code=r.status)}catch(t){}Ot("xhr",a.a({},o,{endTimestamp:Date.now()}))}})),t.apply(this,n)}}))}();break;case"fetch":!function(){if(!function(){if(!B())return!1;var t=Object(I.g)();if(W(t.fetch))return!0;var n=!1,e=t.document;if(e){var r=e.createElement("iframe");r.hidden=!0;try{e.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(n=W(r.contentWindow.fetch)),e.head.removeChild(r)}catch(t){R.a.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}}return n}())return;Object(T.b)(mt,"fetch",(function(t){return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var r={args:n,fetchData:{method:jt(n),url:kt(n)},startTimestamp:Date.now()};return Ot("fetch",a.a({},r)),t.apply(mt,n).then((function(t){return Ot("fetch",a.a({},r,{endTimestamp:Date.now(),response:t})),t}),(function(t){throw Ot("fetch",a.a({},r,{endTimestamp:Date.now(),error:t})),t}))}}))}();break;case"history":!function(){if(t=Object(I.g)(),n=t.chrome,e=n&&n.app&&n.app.runtime,r="history"in t&&!!t.history.pushState&&!!t.history.replaceState,e||!r)return;var t,n,e,r;var o=mt.onpopstate;function i(t){return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var r=n.length>2?n[2]:void 0;if(r){var o=_t,i=String(r);_t=i,Ot("history",{from:o,to:i})}return t.apply(this,n)}}mt.onpopstate=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=mt.location.href,r=_t;if(_t=e,Ot("history",{from:r,to:e}),o)return o.apply(this,t)},Object(T.b)(mt.history,"pushState",i),Object(T.b)(mt.history,"replaceState",i)}();break;default:R.a.warn("unknown instrumentation type:",t)}}function St(t){t&&"string"==typeof t.type&&"function"==typeof t.callback&&(xt[t.type]=xt[t.type]||[],xt[t.type].push(t.callback),Et(t.type))}function Ot(t,n){var e,r;if(t&&xt[t])try{for(var o=a.e(xt[t]||[]),i=o.next();!i.done;i=o.next()){var u=i.value;try{u(n)}catch(n){R.a.error("Error while triggering instrumentation handler.\nType: "+t+"\nName: "+Object(I.f)(u)+"\nError: "+n)}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}}function jt(t){return void 0===t&&(t=[]),"Request"in mt&&Object(F.g)(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function kt(t){return void 0===t&&(t=[]),"string"==typeof t[0]?t[0]:"Request"in mt&&Object(F.g)(t[0],Request)?t[0].url:String(t[0])}var Tt,It,Pt=0;function Rt(t,n,e){return void 0===e&&(e=!1),function(r){Tt=void 0,r&&It!==r&&(It=r,Pt&&clearTimeout(Pt),e?Pt=setTimeout((function(){n({event:r,name:t})})):n({event:r,name:t}))}}function Ft(t){return function(n){var e;try{e=n.target}catch(t){return}var r=e&&e.tagName;r&&("INPUT"===r||"TEXTAREA"===r||e.isContentEditable)&&(Tt||Rt("input",t)(n),clearTimeout(Tt),Tt=setTimeout((function(){Tt=void 0}),1e3))}}var Nt=function(){function t(n){this.name=t.id,this._options=a.a({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},n)}return t.prototype._consoleBreadcrumb=function(t){var n={category:"console",data:{arguments:t.args,logger:"console"},level:u.fromString(t.level),message:Object(A.b)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message="Assertion failed: "+(Object(A.b)(t.args.slice(1)," ")||"console.assert"),n.data.arguments=t.args.slice(1)}Object(f.b)().addBreadcrumb(n,{input:t.args,level:t.level})},t.prototype._domBreadcrumb=function(t){var n;try{n=t.event.target?Object(I.i)(t.event.target):Object(I.i)(t.event)}catch(t){n="<unknown>"}0!==n.length&&Object(f.b)().addBreadcrumb({category:"ui."+t.name,message:n},{event:event,name:t.name})},t.prototype._xhrBreadcrumb=function(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;Object(f.b)().addBreadcrumb({category:"xhr",data:t.xhr.__sentry_xhr__,type:"http"},{xhr:t.xhr})}else t.xhr.__sentry_own_request__&&At(t.args[0])},t.prototype._fetchBreadcrumb=function(t){if(t.endTimestamp){var n=Object(f.b)().getClient(),e=n&&n.getDsn();if(e){var r=new P(e).getStoreEndpoint();if(r&&-1!==t.fetchData.url.indexOf(r)&&"POST"===t.fetchData.method&&t.args[1]&&t.args[1].body)return void At(t.args[1].body)}t.error?Object(f.b)().addBreadcrumb({category:"fetch",data:a.a({},t.fetchData,{status_code:t.response.status}),level:u.Error,type:"http"},{data:t.error,input:t.args}):Object(f.b)().addBreadcrumb({category:"fetch",data:a.a({},t.fetchData,{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})}},t.prototype._historyBreadcrumb=function(t){var n=Object(I.g)(),e=t.from,r=t.to,o=Object(I.l)(n.location.href),i=Object(I.l)(e),u=Object(I.l)(r);i.path||(i=o),o.protocol===u.protocol&&o.host===u.host&&(r=u.relative),o.protocol===i.protocol&&o.host===i.host&&(e=i.relative),Object(f.b)().addBreadcrumb({category:"navigation",data:{from:e,to:r}})},t.prototype.setupOnce=function(){var t=this;this._options.console&&St({callback:function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];t._consoleBreadcrumb.apply(t,a.d(n))},type:"console"}),this._options.dom&&St({callback:function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];t._domBreadcrumb.apply(t,a.d(n))},type:"dom"}),this._options.xhr&&St({callback:function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];t._xhrBreadcrumb.apply(t,a.d(n))},type:"xhr"}),this._options.fetch&&St({callback:function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];t._fetchBreadcrumb.apply(t,a.d(n))},type:"fetch"}),this._options.history&&St({callback:function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];t._historyBreadcrumb.apply(t,a.d(n))},type:"history"})},t.id="Breadcrumbs",t}();function At(t){try{var n=JSON.parse(t);Object(f.b)().addBreadcrumb({category:"sentry",event_id:n.event_id,level:n.level||u.fromString("error"),message:Object(I.e)(n)},{event:n})}catch(t){R.a.error("Error while adding sentry type breadcrumb")}}var Mt=function(){function t(n){this.name=t.id,this._global=Object(I.g)(),this._oldOnErrorHandler=null,this._oldOnUnhandledRejectionHandler=null,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=a.a({onerror:!0,onunhandledrejection:!0},n)}return t.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(R.a.log("Global Handler attached: onerror"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(R.a.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler())},t.prototype._installGlobalOnErrorHandler=function(){if(!this._onErrorHandlerInstalled){var n=this;this._oldOnErrorHandler=this._global.onerror,this._global.onerror=function(e,r,o,i,u){var c=Object(f.b)(),a=c.getIntegration(t),s=u&&!0===u.__sentry_own_request__;if(!a||vt()||s)return!!n._oldOnErrorHandler&&n._oldOnErrorHandler.apply(this,arguments);var l=c.getClient(),p=Object(F.i)(u)?n._eventFromIncompleteOnError(e,r,o,i):n._enhanceEventWithInitialFrame(tt(u,void 0,{attachStacktrace:l&&l.getOptions().attachStacktrace,rejection:!1}),r,o,i);return Object(I.a)(p,{handled:!1,type:"onerror"}),c.captureEvent(p,{originalException:u}),!!n._oldOnErrorHandler&&n._oldOnErrorHandler.apply(this,arguments)},this._onErrorHandlerInstalled=!0}},t.prototype._installGlobalOnUnhandledRejectionHandler=function(){if(!this._onUnhandledRejectionHandlerInstalled){var n=this;this._oldOnUnhandledRejectionHandler=this._global.onunhandledrejection,this._global.onunhandledrejection=function(e){var r=e;try{"reason"in e?r=e.reason:"detail"in e&&"reason"in e.detail&&(r=e.detail.reason)}catch(t){}var o=Object(f.b)(),i=o.getIntegration(t),c=r&&!0===r.__sentry_own_request__;if(!i||vt()||c)return!n._oldOnUnhandledRejectionHandler||n._oldOnUnhandledRejectionHandler.apply(this,arguments);var a=o.getClient(),s=Object(F.i)(r)?n._eventFromIncompleteRejection(r):tt(r,void 0,{attachStacktrace:a&&a.getOptions().attachStacktrace,rejection:!0});return s.level=u.Error,Object(I.a)(s,{handled:!1,type:"onunhandledrejection"}),o.captureEvent(s,{originalException:r}),!n._oldOnUnhandledRejectionHandler||n._oldOnUnhandledRejectionHandler.apply(this,arguments)},this._onUnhandledRejectionHandlerInstalled=!0}},t.prototype._eventFromIncompleteOnError=function(t,n,e,r){var o,i=Object(F.e)(t)?t.message:t;if(Object(F.k)(i)){var u=i.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);u&&(o=u[1],i=u[2])}var c={exception:{values:[{type:o||"Error",value:i}]}};return this._enhanceEventWithInitialFrame(c,n,e,r)},t.prototype._eventFromIncompleteRejection=function(t){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+t}]}}},t.prototype._enhanceEventWithInitialFrame=function(t,n,e,r){t.exception=t.exception||{},t.exception.values=t.exception.values||[],t.exception.values[0]=t.exception.values[0]||{},t.exception.values[0].stacktrace=t.exception.values[0].stacktrace||{},t.exception.values[0].stacktrace.frames=t.exception.values[0].stacktrace.frames||[];var o=isNaN(parseInt(r,10))?void 0:r,i=isNaN(parseInt(e,10))?void 0:e,u=Object(F.k)(n)&&n.length>0?n:Object(I.h)();return 0===t.exception.values[0].stacktrace.frames.length&&t.exception.values[0].stacktrace.frames.push({colno:o,filename:u,function:"?",in_app:!0,lineno:i}),t},t.id="GlobalHandlers",t}(),Lt=function(){function t(n){void 0===n&&(n={}),this.name=t.id,this._key=n.key||"cause",this._limit=n.limit||5}return t.prototype.setupOnce=function(){Object(s.b)((function(n,e){var r=Object(f.b)().getIntegration(t);return r?r._handler(n,e):n}))},t.prototype._handler=function(t,n){if(!(t.exception&&t.exception.values&&n&&Object(F.g)(n.originalException,Error)))return t;var e=this._walkErrorTree(n.originalException,this._key);return t.exception.values=a.d(e,t.exception.values),t},t.prototype._walkErrorTree=function(t,n,e){if(void 0===e&&(e=[]),!Object(F.g)(t[n],Error)||e.length+1>=this._limit)return e;var r=K(J(t[n]));return this._walkErrorTree(t[n],n,a.d([r],e))},t.id="LinkedErrors",t}(),Dt=Object(I.g)(),Ct=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){Object(s.b)((function(n){if(Object(f.b)().getIntegration(t)){if(!Dt.navigator||!Dt.location)return n;var e=n.request||{};return e.url=e.url||Dt.location.href,e.headers=e.headers||{},e.headers["User-Agent"]=Dt.navigator.userAgent,a.a({},n,{request:e})}return n}))},t.id="UserAgent",t}(),Ut=[new r.InboundFilters,new r.FunctionToString,new bt,new Nt,new Mt,new Lt,new Ct];function Bt(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=Ut),void 0===t.release){var n=Object(I.g)();n.SENTRY_RELEASE&&n.SENTRY_RELEASE.id&&(t.release=n.SENTRY_RELEASE.id)}!function(t,n){!0===n.debug&&R.a.enable(),Object(f.b)().bindClient(new t(n))}(ft,t)}function Wt(t){void 0===t&&(t={}),t.eventId||(t.eventId=Object(f.b)().lastEventId());var n=Object(f.b)().getClient();n&&n.showReportDialog(t)}function Ht(){return Object(f.b)().lastEventId()}function Gt(){}function Vt(t){t()}function qt(t){var n=Object(f.b)().getClient();return n?n.flush(t):N.a.reject(!1)}function Yt(t){var n=Object(f.b)().getClient();return n?n.close(t):N.a.reject(!1)}function zt(t){return gt(t)()}e.d(n,"Integrations",(function(){return $t})),e.d(n,"Severity",(function(){return u})),e.d(n,"Status",(function(){return c})),e.d(n,"addGlobalEventProcessor",(function(){return s.b})),e.d(n,"addBreadcrumb",(function(){return y})),e.d(n,"captureException",(function(){return p})),e.d(n,"captureEvent",(function(){return d})),e.d(n,"captureMessage",(function(){return h})),e.d(n,"configureScope",(function(){return v})),e.d(n,"getHubFromCarrier",(function(){return f.c})),e.d(n,"getCurrentHub",(function(){return f.b})),e.d(n,"Hub",(function(){return f.a})),e.d(n,"Scope",(function(){return s.a})),e.d(n,"setContext",(function(){return g})),e.d(n,"setExtra",(function(){return m})),e.d(n,"setExtras",(function(){return _})),e.d(n,"setTag",(function(){return x})),e.d(n,"setTags",(function(){return b})),e.d(n,"setUser",(function(){return w})),e.d(n,"withScope",(function(){return E})),e.d(n,"BrowserClient",(function(){return ft})),e.d(n,"defaultIntegrations",(function(){return Ut})),e.d(n,"forceLoad",(function(){return Gt})),e.d(n,"init",(function(){return Bt})),e.d(n,"lastEventId",(function(){return Ht})),e.d(n,"onLoad",(function(){return Vt})),e.d(n,"showReportDialog",(function(){return Wt})),e.d(n,"flush",(function(){return qt})),e.d(n,"close",(function(){return Yt})),e.d(n,"wrap",(function(){return zt})),e.d(n,"SDK_NAME",(function(){return st})),e.d(n,"SDK_VERSION",(function(){return"5.12.4"})),e.d(n,"Transports",(function(){return i}));var Jt={},Xt=Object(I.g)();Xt.Sentry&&Xt.Sentry.Integrations&&(Jt=Xt.Sentry.Integrations);var $t=a.a({},Jt,r,o)},74:function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},75:function(t,n,e){var r=e(144),o=e(108),i=e(60),u=e(90),c=e(58),a=e(315),s=Object.getOwnPropertyDescriptor;n.f=e(32)?s:function(t,n){if(t=i(t),n=u(n,!0),a)try{return s(t,n)}catch(t){}if(c(t,n))return o(!r.f.call(t,n),t[n])}},76:function(t,n,e){var r=e(4),o=e(30),i=e(19);t.exports=function(t,n){var e=(o.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*i((function(){e(1)})),"Object",u)}},77:function(t,n,e){var r=e(72),o=e(143),i=e(45),u=e(27),c=e(331);t.exports=function(t,n){var e=1==t,a=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l,h=n||c;return function(n,c,d){for(var v,y,g=i(n),_=o(g),b=r(c,d,3),m=u(_.length),x=0,w=e?h(n,m):a?h(n,0):void 0;m>x;x++)if((p||x in _)&&(y=b(v=_[x],x,g),t))if(e)w[x]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return x;case 2:w.push(v)}else if(f)return!1;return l?-1:s||f?f:w}}},82:function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},8252:function(t,n,e){"use strict";(function(t){e.d(n,"a",(function(){return c})),e.d(n,"b",(function(){return f})),e.d(n,"c",(function(){return p}));var r=e(37),o=e(152),i=e(1158),u=e(5685),c=function(){function t(t,n,e){void 0===n&&(n=new u.a),void 0===e&&(e=3),this._version=e,this._stack=[],this._stack.push({client:t,scope:n})}return t.prototype._invokeClient=function(t){for(var n,e=[],o=1;o<arguments.length;o++)e[o-1]=arguments[o];var i=this.getStackTop();i&&i.client&&i.client[t]&&(n=i.client)[t].apply(n,r.d(e,[i.scope]))},t.prototype.isOlderThan=function(t){return this._version<t},t.prototype.bindClient=function(t){this.getStackTop().client=t},t.prototype.pushScope=function(){var t=this.getStack(),n=t.length>0?t[t.length-1].scope:void 0,e=u.a.clone(n);return this.getStack().push({client:this.getClient(),scope:e}),e},t.prototype.popScope=function(){return void 0!==this.getStack().pop()},t.prototype.withScope=function(t){var n=this.pushScope();try{t(n)}finally{this.popScope()}},t.prototype.getClient=function(){return this.getStackTop().client},t.prototype.getScope=function(){return this.getStackTop().scope},t.prototype.getStack=function(){return this._stack},t.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},t.prototype.captureException=function(t,n){var e=this._lastEventId=Object(o.n)(),i=n;if(!n){var u=void 0;try{throw new Error("Sentry syntheticException")}catch(t){u=t}i={originalException:t,syntheticException:u}}return this._invokeClient("captureException",t,r.a({},i,{event_id:e})),e},t.prototype.captureMessage=function(t,n,e){var i=this._lastEventId=Object(o.n)(),u=e;if(!e){var c=void 0;try{throw new Error(t)}catch(t){c=t}u={originalException:t,syntheticException:c}}return this._invokeClient("captureMessage",t,n,r.a({},u,{event_id:i})),i},t.prototype.captureEvent=function(t,n){var e=this._lastEventId=Object(o.n)();return this._invokeClient("captureEvent",t,r.a({},n,{event_id:e})),e},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(t,n){var e=this.getStackTop();if(e.scope&&e.client){var i=e.client.getOptions&&e.client.getOptions()||{},u=i.beforeBreadcrumb,c=void 0===u?null:u,a=i.maxBreadcrumbs,s=void 0===a?100:a;if(!(s<=0)){var f=Object(o.m)(),l=r.a({timestamp:f},t),p=c?Object(o.c)((function(){return c(l,n)})):l;null!==p&&e.scope.addBreadcrumb(p,Math.min(s,100))}}},t.prototype.setUser=function(t){var n=this.getStackTop();n.scope&&n.scope.setUser(t)},t.prototype.setTags=function(t){var n=this.getStackTop();n.scope&&n.scope.setTags(t)},t.prototype.setExtras=function(t){var n=this.getStackTop();n.scope&&n.scope.setExtras(t)},t.prototype.setTag=function(t,n){var e=this.getStackTop();e.scope&&e.scope.setTag(t,n)},t.prototype.setExtra=function(t,n){var e=this.getStackTop();e.scope&&e.scope.setExtra(t,n)},t.prototype.setContext=function(t,n){var e=this.getStackTop();e.scope&&e.scope.setContext(t,n)},t.prototype.configureScope=function(t){var n=this.getStackTop();n.scope&&n.client&&t(n.scope)},t.prototype.run=function(t){var n=s(this);try{t(this)}finally{s(n)}},t.prototype.getIntegration=function(t){var n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch(n){return i.a.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t.prototype.startSpan=function(t,n){return void 0===n&&(n=!1),this._callExtensionMethod("startSpan",t,n)},t.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},t.prototype._callExtensionMethod=function(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];var r=a(),o=r.__SENTRY__;if(o&&o.extensions&&"function"==typeof o.extensions[t])return o.extensions[t].apply(this,n);i.a.warn("Extension method "+t+" couldn't be found, doing nothing.")},t}();function a(){var t=Object(o.g)();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function s(t){var n=a(),e=p(n);return h(n,t),e}function f(){var n=a();return l(n)&&!p(n).isOlderThan(3)||h(n,new c),Object(o.j)()?function(n){try{var e=Object(o.d)(t,"domain").active;if(!e)return p(n);if(!l(e)||p(e).isOlderThan(3)){var r=p(n).getStackTop();h(e,new c(r.client,u.a.clone(r.scope)))}return p(e)}catch(t){return p(n)}}(n):p(n)}function l(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function p(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub||(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=new c),t.__SENTRY__.hub}function h(t,n){return!!t&&(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=n,!0)}}).call(this,e(5804)(t))},83:function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},84:function(t,n,e){"use strict";if(e(32)){var r=e(110),o=e(18),i=e(19),u=e(4),c=e(177),a=e(243),s=e(72),f=e(128),l=e(108),p=e(59),h=e(129),d=e(74),v=e(27),y=e(342),g=e(112),_=e(90),b=e(58),m=e(145),x=e(21),w=e(45),E=e(235),S=e(113),O=e(115),j=e(114).f,k=e(237),T=e(109),I=e(25),P=e(77),R=e(167),F=e(146),N=e(239),A=e(126),M=e(170),L=e(127),D=e(238),C=e(333),U=e(33),B=e(75),W=U.f,H=B.f,G=o.RangeError,V=o.TypeError,q=o.Uint8Array,Y=Array.prototype,z=a.ArrayBuffer,J=a.DataView,X=P(0),$=P(2),K=P(3),Q=P(4),Z=P(5),tt=P(6),nt=R(!0),et=R(!1),rt=N.values,ot=N.keys,it=N.entries,ut=Y.lastIndexOf,ct=Y.reduce,at=Y.reduceRight,st=Y.join,ft=Y.sort,lt=Y.slice,pt=Y.toString,ht=Y.toLocaleString,dt=I("iterator"),vt=I("toStringTag"),yt=T("typed_constructor"),gt=T("def_constructor"),_t=c.CONSTR,bt=c.TYPED,mt=c.VIEW,xt=P(1,(function(t,n){return jt(F(t,t[gt]),n)})),wt=i((function(){return 1===new q(new Uint16Array([1]).buffer)[0]})),Et=!!q&&!!q.prototype.set&&i((function(){new q(1).set({})})),St=function(t,n){var e=d(t);if(e<0||e%n)throw G("Wrong offset!");return e},Ot=function(t){if(x(t)&&bt in t)return t;throw V(t+" is not a typed array!")},jt=function(t,n){if(!x(t)||!(yt in t))throw V("It is not a typed array constructor!");return new t(n)},kt=function(t,n){return Tt(F(t,t[gt]),n)},Tt=function(t,n){for(var e=0,r=n.length,o=jt(t,r);r>e;)o[e]=n[e++];return o},It=function(t,n,e){W(t,n,{get:function(){return this._d[e]}})},Pt=function(t){var n,e,r,o,i,u,c=w(t),a=arguments.length,f=a>1?arguments[1]:void 0,l=void 0!==f,p=k(c);if(null!=p&&!E(p)){for(u=p.call(c),r=[],n=0;!(i=u.next()).done;n++)r.push(i.value);c=r}for(l&&a>2&&(f=s(f,arguments[2],2)),n=0,e=v(c.length),o=jt(this,e);e>n;n++)o[n]=l?f(c[n],n):c[n];return o},Rt=function(){for(var t=0,n=arguments.length,e=jt(this,n);n>t;)e[t]=arguments[t++];return e},Ft=!!q&&i((function(){ht.call(new q(1))})),Nt=function(){return ht.apply(Ft?lt.call(Ot(this)):Ot(this),arguments)},At={copyWithin:function(t,n){return C.call(Ot(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function(t){return Q(Ot(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return D.apply(Ot(this),arguments)},filter:function(t){return kt(this,$(Ot(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Z(Ot(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){X(Ot(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return et(Ot(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return nt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return st.apply(Ot(this),arguments)},lastIndexOf:function(t){return ut.apply(Ot(this),arguments)},map:function(t){return xt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ct.apply(Ot(this),arguments)},reduceRight:function(t){return at.apply(Ot(this),arguments)},reverse:function(){for(var t,n=Ot(this).length,e=Math.floor(n/2),r=0;r<e;)t=this[r],this[r++]=this[--n],this[n]=t;return this},some:function(t){return K(Ot(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return ft.call(Ot(this),t)},subarray:function(t,n){var e=Ot(this),r=e.length,o=g(t,r);return new(F(e,e[gt]))(e.buffer,e.byteOffset+o*e.BYTES_PER_ELEMENT,v((void 0===n?r:g(n,r))-o))}},Mt=function(t,n){return kt(this,lt.call(Ot(this),t,n))},Lt=function(t){Ot(this);var n=St(arguments[1],1),e=this.length,r=w(t),o=v(r.length),i=0;if(o+n>e)throw G("Wrong length!");for(;i<o;)this[n+i]=r[i++]},Dt={entries:function(){return it.call(Ot(this))},keys:function(){return ot.call(Ot(this))},values:function(){return rt.call(Ot(this))}},Ct=function(t,n){return x(t)&&t[bt]&&"symbol"!=typeof n&&n in t&&String(+n)==String(n)},Ut=function(t,n){return Ct(t,n=_(n,!0))?l(2,t[n]):H(t,n)},Bt=function(t,n,e){return!(Ct(t,n=_(n,!0))&&x(e)&&b(e,"value"))||b(e,"get")||b(e,"set")||e.configurable||b(e,"writable")&&!e.writable||b(e,"enumerable")&&!e.enumerable?W(t,n,e):(t[n]=e.value,t)};_t||(B.f=Ut,U.f=Bt),u(u.S+u.F*!_t,"Object",{getOwnPropertyDescriptor:Ut,defineProperty:Bt}),i((function(){pt.call({})}))&&(pt=ht=function(){return st.call(this)});var Wt=h({},At);h(Wt,Dt),p(Wt,dt,Dt.values),h(Wt,{slice:Mt,set:Lt,constructor:function(){},toString:pt,toLocaleString:Nt}),It(Wt,"buffer","b"),It(Wt,"byteOffset","o"),It(Wt,"byteLength","l"),It(Wt,"length","e"),W(Wt,vt,{get:function(){return this[bt]}}),t.exports=function(t,n,e,a){var s=t+((a=!!a)?"Clamped":"")+"Array",l="get"+t,h="set"+t,d=o[s],g=d||{},_=d&&O(d),b=!d||!c.ABV,w={},E=d&&d.prototype,k=function(t,e){W(t,e,{get:function(){return function(t,e){var r=t._d;return r.v[l](e*n+r.o,wt)}(this,e)},set:function(t){return function(t,e,r){var o=t._d;a&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[h](e*n+o.o,r,wt)}(this,e,t)},enumerable:!0})};b?(d=e((function(t,e,r,o){f(t,d,s,"_d");var i,u,c,a,l=0,h=0;if(x(e)){if(!(e instanceof z||"ArrayBuffer"==(a=m(e))||"SharedArrayBuffer"==a))return bt in e?Tt(d,e):Pt.call(d,e);i=e,h=St(r,n);var g=e.byteLength;if(void 0===o){if(g%n)throw G("Wrong length!");if((u=g-h)<0)throw G("Wrong length!")}else if((u=v(o)*n)+h>g)throw G("Wrong length!");c=u/n}else c=y(e),i=new z(u=c*n);for(p(t,"_d",{b:i,o:h,l:u,e:c,v:new J(i)});l<c;)k(t,l++)})),E=d.prototype=S(Wt),p(E,"constructor",d)):i((function(){d(1)}))&&i((function(){new d(-1)}))&&M((function(t){new d,new d(null),new d(1.5),new d(t)}),!0)||(d=e((function(t,e,r,o){var i;return f(t,d,s),x(e)?e instanceof z||"ArrayBuffer"==(i=m(e))||"SharedArrayBuffer"==i?void 0!==o?new g(e,St(r,n),o):void 0!==r?new g(e,St(r,n)):new g(e):bt in e?Tt(d,e):Pt.call(d,e):new g(y(e))})),X(_!==Function.prototype?j(g).concat(j(_)):j(g),(function(t){t in d||p(d,t,g[t])})),d.prototype=E,r||(E.constructor=d));var T=E[dt],I=!!T&&("values"==T.name||null==T.name),P=Dt.values;p(d,yt,!0),p(E,bt,s),p(E,mt,!0),p(E,gt,d),(a?new d(1)[vt]==s:vt in E)||W(E,vt,{get:function(){return s}}),w[s]=d,u(u.G+u.W+u.F*(d!=g),w),u(u.S,s,{BYTES_PER_ELEMENT:n}),u(u.S+u.F*i((function(){g.of.call(d,1)})),s,{from:Pt,of:Rt}),"BYTES_PER_ELEMENT"in E||p(E,"BYTES_PER_ELEMENT",n),u(u.P,s,At),L(s),u(u.P+u.F*Et,s,{set:Lt}),u(u.P+u.F*!I,s,Dt),r||E.toString==pt||(E.toString=pt),u(u.P+u.F*i((function(){new d(1).slice()})),s,{slice:Mt}),u(u.P+u.F*(i((function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()}))||!i((function(){E.toLocaleString.call([1,2])}))),s,{toLocaleString:Nt}),A[s]=I?T:P,r||I||p(E,dt,P)}}else t.exports=function(){}},90:function(t,n,e){var r=e(21);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},91:function(t,n,e){var r=e(109)("meta"),o=e(21),i=e(58),u=e(33).f,c=0,a=Object.isExtensible||function(){return!0},s=!e(19)((function(){return a(Object.preventExtensions({}))})),f=function(t){u(t,r,{value:{i:"O"+ ++c,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!a(t))return"F";if(!n)return"E";f(t)}return t[r].i},getWeak:function(t,n){if(!i(t,r)){if(!a(t))return!0;if(!n)return!1;f(t)}return t[r].w},onFreeze:function(t){return s&&l.NEED&&a(t)&&!i(t,r)&&f(t),t}}}},[[6363,1]]]);
-//# sourceMappingURL=8da53effd7b0af7e3415.js.map
\ No newline at end of file
diff --git a/api/assets/95efcedbf0bf27cbdbbd.js b/api/assets/95efcedbf0bf27cbdbbd.js
deleted file mode 100644
index fdad9767..00000000
--- a/api/assets/95efcedbf0bf27cbdbbd.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/*! For license information please see 95efcedbf0bf27cbdbbd.js.LICENSE.txt */
-(this.webpackJsonp=this.webpackJsonp||[]).push([[74],[function(e,t,n){"use strict";e.exports=n(1454)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={API_HOST:!0,ActionTypes:!0,LoginStates:!0,RegistrationStates:!0,FormStates:!0,KeybindActions:!0,KeybindCustomActions:!0,ModuleUpdaterEventTypes:!0,RecentMentionsFilters:!0,RTCDebugSections:!0,GuildSettingsSections:!0,ChannelSettingsSections:!0,ChannelSections:!0,FriendsSections:!0,SearchSections:!0,MessagePreviewSections:!0,DesktopNotificationTypes:!0,NotificationPermissionTypes:!0,TTSNotificationTypes:!0,InputModes:!0,ChannelTypes:!0,NoticeTypes:!0,InviteStates:!0,NativeAppStates:!0,CreateGuildModalScreens:!0,GuildFeatures:!0,SystemChannelFlags:!0,RTCConnectionStates:!0,RTCConnectionQuality:!0,ConnectionStatus:!0,RTCVoiceExperiments:!0,ExplicitContentFilterTypes:!0,PageAnalyticsLocations:!0,MessageStates:!0,MessageTypes:!0,MessageTypesWithLazyLoadedReferences:!0,MessageTypesDeletable:!0,USER_MESSAGE_TYPES:!0,MessageFlags:!0,NotificationTypes:!0,NotificationActionTypes:!0,OverlayDisplayNames:!0,OverlayDisplayUsers:!0,OverlayWidgets:!0,OverlayWidgetLayoutPolicy:!0,OverlayWidgetTypes:!0,OverlayAvatarSizes:!0,OverlayNotificationTypes:!0,OverlayNotificationStatus:!0,OverlayNotificationPositions:!0,OverlayNotificationTextChatTypes:!0,OverlayEventTypes:!0,OverlayActiveRegions:!0,TextareaTypes:!0,VerificationLevels:!0,VerificationCriteria:!0,MFALevels:!0,GuildExplicitContentFilterTypes:!0,RelationshipTypes:!0,GiftCodeModalStates:!0,ActivityActionTypes:!0,DebugLogCategory:!0,ME:!0,Endpoints:!0,Routes:!0,RPC_SCOPE_CONFIG:!0,RPC_PRIVATE_SCOPE:!0,RPC_PRIVATE_LIMITED_SCOPE:!0,RPC_LOCAL_SCOPE:!0,RPC_AUTHENTICATED_SCOPE:!0,RPCDeepLinks:!0,RPCErrors:!0,DispatchErrorCodes:!0,TransportTypes:!0,ActivityFlags:!0,UserNotificationSettings:!0,NotificationSettingsUpdateType:!0,Durations:!0,MAX_USER_GUILDS:!0,MAX_USER_GUILDS_PREMIUM:!0,MAX_MESSAGES_PER_CHANNEL:!0,MAX_MESSAGES_FOR_JUMP:!0,MAX_MENTIONS_PER_FETCH:!0,MAX_LOADED_MESSAGES:!0,TRUNCATED_MESSAGE_VIEW_SIZE:!0,MAX_MESSAGE_CACHE_SIZE:!0,MAX_MESSAGE_LENGTH:!0,MAX_MESSAGE_LENGTH_PREMIUM:!0,MAX_TTS_LENGTH:!0,MAX_PINS_PER_CHANNEL:!0,MAX_CHANNEL_NAME_LENGTH:!0,IDLE_DURATION:!0,TYPING_TIMEOUT:!0,TYPING_DELAY_LOCAL:!0,MAX_TYPING_USERS:!0,SLOWMODE_COOLDOWN_BUFFER_MS:!0,SLOWMODE_VALUES:!0,MAX_ROLE_LENGTH:!0,MAX_ATTACHMENT_SIZE:!0,MAX_PREMIUM_TIER_1_ATTACHMENT_SIZE:!0,MAX_PREMIUM_TIER_2_ATTACHMENT_SIZE:!0,MAX_STAFF_ATTACHMENT_SIZE:!0,MAX_PREMIUM_GUILD_TIER_2_ATTACHMENT_SIZE:!0,MAX_PREMIUM_GUILD_TIER_3_ATTACHMENT_SIZE:!0,EMBED_LIFETIME:!0,GAME_REPORT_VERSION:!0,MAX_GAMES_NEWS:!0,SPOILER_ATTACHMENT_PREFIX:!0,MARKDOWN_SPOILER_WRAPPER:!0,MARKDOWN_SPOILER_REGEXP:!0,MARKDOWN_SPOILER_REGEXP_GLOBAL:!0,IMAGE_RE:!0,ID_REGEX:!0,ChannelStreamTypes:!0,ChannelModes:!0,ActivityTypes:!0,ActivityCardTypes:!0,ActivityActionStates:!0,FeaturedGuildLocations:!0,GuildDiscoverySections:!0,AVATAR_SIZE:!0,AVATAR_MAX_SIZE:!0,USER_BANNER_MAX_WIDTH:!0,USER_BANNER_MAX_HEIGHT:!0,SPLASH_SIZE:!0,MAX_PTT_RELEASE_DELAY:!0,EMOJI_CATEGORY_RECENT:!0,EMOJI_CATEGORY_CUSTOM:!0,BITRATE_MIN:!0,BITRATE_DEFAULT:!0,BITRATE_MAX:!0,BITRATE_STEP:!0,NON_USER_BOT_DISCRIMINATOR:!0,LOCAL_BOT_ID:!0,MAX_VOICE_USER_LIMIT:!0,MAX_MUTUAL_GUILDS:!0,MAX_GROUP_DM_PARTICIPANTS:!0,MAX_GROUP_DM_STAFF_PARTICIPANTS:!0,PLACEHOLDER_TAG:!0,LEFT_PANEL_WIDTH:!0,DEVICE_TOKEN:!0,DEVICE_VOIP_TOKEN:!0,DEVICE_PUSH_PROVIDER:!0,DEVICE_PUSH_VOIP_PROVIDER:!0,FIRST_RUN_DATE_KEY:!0,MarketingURLs:!0,RelativeMarketingURLs:!0,TWITCH_CLIENT_ID:!0,MAX_AUTOCOMPLETE_RESULTS:!0,SMALL_GUILD_MEMBER_THRESHOLD:!0,SEARCH_PAGE_SIZE:!0,IS_SEARCH_FILTER_TOKEN:!0,IS_SEARCH_ANSWER_TOKEN:!0,EMOJI_MAX_SLOTS:!0,EMOJI_MAX_SLOTS_MORE:!0,EMOJI_MAX_LENGTH:!0,EMOJI_RE:!0,EMOJI_MAX_FILESIZE_KB:!0,MAX_GUILD_FOLDER_NAME_LENGTH:!0,SearchTypes:!0,SearchModes:!0,EmojiSprites:!0,DIVERSITY_SURROGATES:!0,EmojiDisabledReasons:!0,EmojiIntention:!0,AbortCodes:!0,CLYDE_ERROR_MESSAGES:!0,AnalyticsLocations:!0,AnalyticsGameOpenTypes:!0,AnalyticsUserStatusTypes:!0,AnalyticsOverlayLocations:!0,AnalyticsPages:!0,AnalyticsSections:!0,AnalyticsObjects:!0,AnalyticsObjectTypes:!0,DIRECT_ANALYTICS_LOCATION:!0,UserSettingsSections:!0,TwoFAModalSetupSections:!0,PopoutCallers:!0,JoinGuildSources:!0,LoginSuccessfulSources:!0,InstantInviteSources:!0,ChannelNoticeCtaSources:!0,InviteTypes:!0,SendTypes:!0,InviteOptionsType:!0,GuildNSFWContentLevel:!0,IOS_RESTRICTED_GUILD_CONTENT_LEVELS:!0,ComponentActions:!0,NAVIGATION_THROTTLE:!0,PlatformTypes:!0,ActivityGamePlatforms:!0,Platforms:!0,ActivityPartyPrivacy:!0,DiscordConnectDeeplinks:!0,LOCAL_PLATFORM_TYPES:!0,FRIEND_SYNC_PLATFORM_TYPES:!0,ACTIVITY_PLATFORM_TYPES:!0,Arrows:!0,BillingRedirectResultTypes:!0,DownloadLinks:!0,DEFAULT_ROLE_COLOR:!0,ROLE_COLORS:!0,DEFAULT_FOLDER_COLOR:!0,PermissionOverrideType:!0,NativeFeatures:!0,SearchTokenTypes:!0,SearchAutocompleteGroups:!0,SearchPopoutModes:!0,SEARCH_DATE_FORMAT:!0,SEARCH_MONTH_FORMAT:!0,SEARCH_POPOUT_ID:!0,NEW_GROUP_DM_POPOUT_ID:!0,PremiumGuildTiers:!0,PremiumGuildSubscriptionsRequired:!0,PremiumGuildLimits:!0,UserPremiumGuildSubscriptionLevels:!0,UserPremiumGuildSubscriptionMonths:!0,PREMIUM_GUILD_SUBSCRIBE_COOLDOWN_DAYS:!0,PremiumTypes:!0,PremiumUserLimits:!0,PREMIUM_SUBSCRIPTION_APPLICATION:!0,PremiumSubscriptionSKUs:!0,PremiumSubscriptionSKUToPremiumType:!0,SubscriptionPlans:!0,SubscriptionPlanGatewayPlans:!0,PREMIUM_PLANS:!0,PREMIUM_GUILD_SUBSCRIPTION_PLANS:!0,SubscriptionIntervalTypes:!0,SubscriptionPlanInfo:!0,PREMIUM_YEARLY_DISCOUNT_PERCENT:!0,PREMIUM_TIER_2_LIKELIHOOD_TRIAL_ID:!0,SubscriptionTrials:!0,PaymentFlags:!0,StripeElementsOptions:!0,SubscriptionStatusTypes:!0,PremiumPaymentSubscriptionModes:!0,SubscriptionTypes:!0,PaymentModalPriceChangedError:!0,MAX_IMAGE_WIDTH:!0,MAX_IMAGE_HEIGHT:!0,AutoCompleteResultTypes:!0,Accessibility:!0,INVITE_BANNER_MEMBER_THRESHOLD:!0,AnalyticEvents:!0,DynamicLinkType:!0,UserSearchWorkerMessageTypes:!0,PublicReleaseChannels:!0,UserFlags:!0,ApplicationFlags:!0,ChannelNoticeTypes:!0,DefaultCloudSyncConfiguration:!0,CHANNEL_NOTICE_SHOW_DELAY:!0,GRACE_PERIOD_CHANNEL_NOTICE_SHOW_DELAY:!0,ChannelLayouts:!0,StreamLayouts:!0,Layers:!0,AuditLogActions:!0,AuditLogActionTypes:!0,AuditLogSubtargetTypes:!0,AuditLogTargetTypes:!0,AuditLogChangeKeys:!0,AUDIT_LOG_PAGE_LIMIT:!0,UserRequiredActions:!0,VerificationTypes:!0,MAX_REASON_LENGTH:!0,MouseButtons:!0,KeyboardKeys:!0,PictureInPicturePositions:!0,PictureInPictureComponents:!0,USER_STATUS_TOOLTIP_DELAY:!0,ChannelTextAreaIntegrationTypes:!0,ChannelTextAreaIntegrations:!0,MEDIA_PROXY_SIZES:!0,HelpdeskArticles:!0,EmbedTypes:!0,PURGE_MEMORY_TIMEOUT:!0,INVITE_ENDPOINT:!0,YOUTUBE_EMBED_URL:!0,YOUTUBE_PREVIEW_URL:!0,YOUTUBE_EXTERNAL_URL:!0,MOBILE_DOWNLOAD_QRCODE_URL:!0,LibraryApplicationFlags:!0,CloudSyncStateTypes:!0,CloudSyncResultTypes:!0,Distributors:!0,DistributorNames:!0,MAX_VIDEO_WIDTH:!0,MAX_VIDEO_HEIGHT:!0,Consents:!0,FriendSourceFlagKeys:!0,FriendDiscoveryFlags:!0,REQUEST_DATA_LIMIT_DAYS:!0,LobbyTypes:!0,LobbyErrors:!0,AppContext:!0,NearbyErrors:!0,NearbyTypes:!0,CURRENT_APP_CONTEXT:!0,GIFT_CODE_BASE_URLS:!0,DispatchApplicationStates:!0,DispatchApplicationStages:!0,LocalDispatchApplicationStates:!0,LibraryApplicationActions:!0,ProgressBarIDs:!0,GameTableListKeys:!0,TableSortDirections:!0,OperatingSystems:!0,EntitlementTypes:!0,ContentRatingAgencies:!0,SKUTypes:!0,SKUAccessTypes:!0,SKUFlags:!0,STORE_DIRECTORY_LAYOUT_ID:!0,STORE_DIRECTORY_LAYOUT_ID_QUERY_OVERRIDE:!0,DirectoryLocations:!0,StoreApplicationGenresFilter:!0,StoreApplicationSort:!0,BuildPlatformTypes:!0,PAYPAL_URL:!0,COVID_URL:!0,COUNTRIES_WITHOUT_POSTAL_CODES:!0,HypeSquadHouses:!0,RANDOM_HYPESQUAD_HOUSE:!0,KeyboardDeviceTypes:!0,LinuxKeyToCode:!0,MacosKeyToCode:!0,MouseKeyCodes:!0,WindowsKeyToCode:!0,KeyboardEnvs:!0,MessageRestrictionTypes:!0,MESSAGE_GROUP_INTERVAL:!0,CarouselMediaTypes:!0,StoreRecommendationTypes:!0,OverlayNotificationPriorities:!0,ConnectedDeviceType:!0,ConnectedDevicePreference:!0,ViewHistoryKeys:!0,InAppNotificationTypes:!0,GIFPickerResultTypes:!0,GIFTABLE_CURRENCIES:!0,GIFProviders:!0,TenorFormats:!0,GIPHYFormats:!0,GIFResultFormat:!0,SpoilerRenderSetting:!0,CustomDiscordApplicationId:!0,UNAMBIGUOUS_CHARACTERS:!0,MAX_TIMEOUT_MS:!0,PREMIUM_GUILD_UPSELL_LIST_AMT:!0,GIFT_CODE_REDEMPTION_PLACEHOLDER:!0,OFF_PLATFORM_PREMIUM_PERKS:!0,AppleBillingUrls:!0,GoogleBillingUrls:!0,PopoutWindowKeys:!0,PopoutEventTypes:!0,ApplicationStreamStates:!0,ApplicationStreamDeleteReasons:!0,MediaEngineHookTypes:!0,MediaEngineVideoStates:!0,GuildsBarDragTypes:!0,SoundshareTraceStates:!0,NetworkConnectionTypes:!0,NetworkConnectionSpeeds:!0,DISCODO_STORAGE_KEY:!0,SpringTransitionPhases:!0,SettingsPaneTypes:!0,AddFriendTabs:!0,DiscordProtocolRoutes:!0,WebhookTypes:!0,IntegrationSettingsSections:!0,MAX_MEMBERS_NOTIFY_ALL_MESSAGES:!0,UNREACHABLE_REQUEST_ANIMATION_FRAME_ID:!0,WELCOME_OLD_GUILD_AGE_THRESHOLD:!0,AllowedMentionTypes:!0,CaptchaTypes:!0,VideoQualityMode:!0,SoundshareEnableState:!0,SoundshareStatusCode:!0,REACTION_TOOLTIP_MAX_USERS:!0,DEFAULT_NUM_REACTION_USERS:!0,TOKEN_REGEX:!0,Colors:!0,HEXColors:!0};Object.defineProperty(t,"HEXColors",{enumerable:!0,get:function(){return T.default}}),t.MAX_PREMIUM_TIER_1_ATTACHMENT_SIZE=t.MAX_ATTACHMENT_SIZE=t.MAX_ROLE_LENGTH=t.SLOWMODE_VALUES=t.SLOWMODE_COOLDOWN_BUFFER_MS=t.MAX_TYPING_USERS=t.TYPING_DELAY_LOCAL=t.TYPING_TIMEOUT=t.IDLE_DURATION=t.MAX_CHANNEL_NAME_LENGTH=t.MAX_PINS_PER_CHANNEL=t.MAX_TTS_LENGTH=t.MAX_MESSAGE_LENGTH_PREMIUM=t.MAX_MESSAGE_LENGTH=t.MAX_MESSAGE_CACHE_SIZE=t.TRUNCATED_MESSAGE_VIEW_SIZE=t.MAX_LOADED_MESSAGES=t.MAX_MENTIONS_PER_FETCH=t.MAX_MESSAGES_FOR_JUMP=t.MAX_MESSAGES_PER_CHANNEL=t.MAX_USER_GUILDS_PREMIUM=t.MAX_USER_GUILDS=t.Durations=t.NotificationSettingsUpdateType=t.UserNotificationSettings=t.ActivityFlags=t.TransportTypes=t.DispatchErrorCodes=t.RPCErrors=t.RPCDeepLinks=t.RPC_AUTHENTICATED_SCOPE=t.RPC_LOCAL_SCOPE=t.RPC_PRIVATE_LIMITED_SCOPE=t.RPC_PRIVATE_SCOPE=t.RPC_SCOPE_CONFIG=t.Routes=t.Endpoints=t.ME=t.DebugLogCategory=t.ActivityActionTypes=t.GiftCodeModalStates=t.RelationshipTypes=t.GuildExplicitContentFilterTypes=t.MFALevels=t.VerificationCriteria=t.VerificationLevels=t.TextareaTypes=t.OverlayActiveRegions=t.OverlayEventTypes=t.OverlayNotificationTextChatTypes=t.OverlayNotificationPositions=t.OverlayNotificationStatus=t.OverlayNotificationTypes=t.OverlayAvatarSizes=t.OverlayWidgetTypes=t.OverlayWidgetLayoutPolicy=t.OverlayWidgets=t.OverlayDisplayUsers=t.OverlayDisplayNames=t.NotificationActionTypes=t.NotificationTypes=t.MessageFlags=t.USER_MESSAGE_TYPES=t.MessageTypesDeletable=t.MessageTypesWithLazyLoadedReferences=t.MessageTypes=t.MessageStates=t.PageAnalyticsLocations=t.ExplicitContentFilterTypes=t.RTCVoiceExperiments=t.ConnectionStatus=t.RTCConnectionQuality=t.RTCConnectionStates=t.SystemChannelFlags=t.GuildFeatures=t.CreateGuildModalScreens=t.NativeAppStates=t.InviteStates=t.NoticeTypes=t.ChannelTypes=t.InputModes=t.TTSNotificationTypes=t.NotificationPermissionTypes=t.DesktopNotificationTypes=t.MessagePreviewSections=t.SearchSections=t.FriendsSections=t.ChannelSections=t.ChannelSettingsSections=t.GuildSettingsSections=t.RTCDebugSections=t.RecentMentionsFilters=t.ModuleUpdaterEventTypes=t.KeybindCustomActions=t.KeybindActions=t.FormStates=t.RegistrationStates=t.LoginStates=t.ActionTypes=t.API_HOST=void 0,t.BillingRedirectResultTypes=t.Arrows=t.ACTIVITY_PLATFORM_TYPES=t.FRIEND_SYNC_PLATFORM_TYPES=t.LOCAL_PLATFORM_TYPES=t.DiscordConnectDeeplinks=t.ActivityPartyPrivacy=t.Platforms=t.ActivityGamePlatforms=t.PlatformTypes=t.NAVIGATION_THROTTLE=t.ComponentActions=t.IOS_RESTRICTED_GUILD_CONTENT_LEVELS=t.GuildNSFWContentLevel=t.InviteOptionsType=t.SendTypes=t.InviteTypes=t.ChannelNoticeCtaSources=t.InstantInviteSources=t.LoginSuccessfulSources=t.JoinGuildSources=t.PopoutCallers=t.TwoFAModalSetupSections=t.UserSettingsSections=t.DIRECT_ANALYTICS_LOCATION=t.AnalyticsObjectTypes=t.AnalyticsObjects=t.AnalyticsSections=t.AnalyticsPages=t.AnalyticsOverlayLocations=t.AnalyticsUserStatusTypes=t.AnalyticsGameOpenTypes=t.AnalyticsLocations=t.CLYDE_ERROR_MESSAGES=t.AbortCodes=t.EmojiIntention=t.EmojiDisabledReasons=t.DIVERSITY_SURROGATES=t.EmojiSprites=t.SearchModes=t.SearchTypes=t.MAX_GUILD_FOLDER_NAME_LENGTH=t.EMOJI_MAX_FILESIZE_KB=t.EMOJI_RE=t.EMOJI_MAX_LENGTH=t.EMOJI_MAX_SLOTS_MORE=t.EMOJI_MAX_SLOTS=t.IS_SEARCH_ANSWER_TOKEN=t.IS_SEARCH_FILTER_TOKEN=t.SEARCH_PAGE_SIZE=t.SMALL_GUILD_MEMBER_THRESHOLD=t.MAX_AUTOCOMPLETE_RESULTS=t.TWITCH_CLIENT_ID=t.RelativeMarketingURLs=t.MarketingURLs=t.FIRST_RUN_DATE_KEY=t.DEVICE_PUSH_VOIP_PROVIDER=t.DEVICE_PUSH_PROVIDER=t.DEVICE_VOIP_TOKEN=t.DEVICE_TOKEN=t.LEFT_PANEL_WIDTH=t.PLACEHOLDER_TAG=t.MAX_GROUP_DM_STAFF_PARTICIPANTS=t.MAX_GROUP_DM_PARTICIPANTS=t.MAX_MUTUAL_GUILDS=t.MAX_VOICE_USER_LIMIT=t.LOCAL_BOT_ID=t.NON_USER_BOT_DISCRIMINATOR=t.BITRATE_STEP=t.BITRATE_MAX=t.BITRATE_DEFAULT=t.BITRATE_MIN=t.EMOJI_CATEGORY_CUSTOM=t.EMOJI_CATEGORY_RECENT=t.MAX_PTT_RELEASE_DELAY=t.SPLASH_SIZE=t.USER_BANNER_MAX_HEIGHT=t.USER_BANNER_MAX_WIDTH=t.AVATAR_MAX_SIZE=t.AVATAR_SIZE=t.GuildDiscoverySections=t.FeaturedGuildLocations=t.ActivityActionStates=t.ActivityCardTypes=t.ActivityTypes=t.ChannelModes=t.ChannelStreamTypes=t.ID_REGEX=t.IMAGE_RE=t.MARKDOWN_SPOILER_REGEXP_GLOBAL=t.MARKDOWN_SPOILER_REGEXP=t.MARKDOWN_SPOILER_WRAPPER=t.SPOILER_ATTACHMENT_PREFIX=t.MAX_GAMES_NEWS=t.GAME_REPORT_VERSION=t.EMBED_LIFETIME=t.MAX_PREMIUM_GUILD_TIER_3_ATTACHMENT_SIZE=t.MAX_PREMIUM_GUILD_TIER_2_ATTACHMENT_SIZE=t.MAX_STAFF_ATTACHMENT_SIZE=t.MAX_PREMIUM_TIER_2_ATTACHMENT_SIZE=void 0,t.GIFT_CODE_BASE_URLS=t.CURRENT_APP_CONTEXT=t.NearbyTypes=t.NearbyErrors=t.AppContext=t.LobbyErrors=t.LobbyTypes=t.REQUEST_DATA_LIMIT_DAYS=t.FriendDiscoveryFlags=t.FriendSourceFlagKeys=t.Consents=t.MAX_VIDEO_HEIGHT=t.MAX_VIDEO_WIDTH=t.DistributorNames=t.Distributors=t.CloudSyncResultTypes=t.CloudSyncStateTypes=t.LibraryApplicationFlags=t.MOBILE_DOWNLOAD_QRCODE_URL=t.YOUTUBE_EXTERNAL_URL=t.YOUTUBE_PREVIEW_URL=t.YOUTUBE_EMBED_URL=t.INVITE_ENDPOINT=t.PURGE_MEMORY_TIMEOUT=t.EmbedTypes=t.HelpdeskArticles=t.MEDIA_PROXY_SIZES=t.ChannelTextAreaIntegrations=t.ChannelTextAreaIntegrationTypes=t.USER_STATUS_TOOLTIP_DELAY=t.PictureInPictureComponents=t.PictureInPicturePositions=t.KeyboardKeys=t.MouseButtons=t.MAX_REASON_LENGTH=t.VerificationTypes=t.UserRequiredActions=t.AUDIT_LOG_PAGE_LIMIT=t.AuditLogChangeKeys=t.AuditLogTargetTypes=t.AuditLogSubtargetTypes=t.AuditLogActionTypes=t.AuditLogActions=t.Layers=t.StreamLayouts=t.ChannelLayouts=t.GRACE_PERIOD_CHANNEL_NOTICE_SHOW_DELAY=t.CHANNEL_NOTICE_SHOW_DELAY=t.DefaultCloudSyncConfiguration=t.ChannelNoticeTypes=t.ApplicationFlags=t.UserFlags=t.PublicReleaseChannels=t.UserSearchWorkerMessageTypes=t.DynamicLinkType=t.AnalyticEvents=t.INVITE_BANNER_MEMBER_THRESHOLD=t.Accessibility=t.AutoCompleteResultTypes=t.MAX_IMAGE_HEIGHT=t.MAX_IMAGE_WIDTH=t.PaymentModalPriceChangedError=t.SubscriptionTypes=t.PremiumPaymentSubscriptionModes=t.SubscriptionStatusTypes=t.StripeElementsOptions=t.PaymentFlags=t.SubscriptionTrials=t.PREMIUM_TIER_2_LIKELIHOOD_TRIAL_ID=t.PREMIUM_YEARLY_DISCOUNT_PERCENT=t.SubscriptionPlanInfo=t.SubscriptionIntervalTypes=t.PREMIUM_GUILD_SUBSCRIPTION_PLANS=t.PREMIUM_PLANS=t.SubscriptionPlanGatewayPlans=t.SubscriptionPlans=t.PremiumSubscriptionSKUToPremiumType=t.PremiumSubscriptionSKUs=t.PREMIUM_SUBSCRIPTION_APPLICATION=t.PremiumUserLimits=t.PremiumTypes=t.PREMIUM_GUILD_SUBSCRIBE_COOLDOWN_DAYS=t.UserPremiumGuildSubscriptionMonths=t.UserPremiumGuildSubscriptionLevels=t.PremiumGuildLimits=t.PremiumGuildSubscriptionsRequired=t.PremiumGuildTiers=t.NEW_GROUP_DM_POPOUT_ID=t.SEARCH_POPOUT_ID=t.SEARCH_MONTH_FORMAT=t.SEARCH_DATE_FORMAT=t.SearchPopoutModes=t.SearchAutocompleteGroups=t.SearchTokenTypes=t.NativeFeatures=t.PermissionOverrideType=t.DEFAULT_FOLDER_COLOR=t.ROLE_COLORS=t.DEFAULT_ROLE_COLOR=t.DownloadLinks=void 0,t.Colors=t.TOKEN_REGEX=t.DEFAULT_NUM_REACTION_USERS=t.REACTION_TOOLTIP_MAX_USERS=t.SoundshareStatusCode=t.SoundshareEnableState=t.VideoQualityMode=t.CaptchaTypes=t.AllowedMentionTypes=t.WELCOME_OLD_GUILD_AGE_THRESHOLD=t.UNREACHABLE_REQUEST_ANIMATION_FRAME_ID=t.MAX_MEMBERS_NOTIFY_ALL_MESSAGES=t.IntegrationSettingsSections=t.WebhookTypes=t.DiscordProtocolRoutes=t.AddFriendTabs=t.SettingsPaneTypes=t.SpringTransitionPhases=t.DISCODO_STORAGE_KEY=t.NetworkConnectionSpeeds=t.NetworkConnectionTypes=t.SoundshareTraceStates=t.GuildsBarDragTypes=t.MediaEngineVideoStates=t.MediaEngineHookTypes=t.ApplicationStreamDeleteReasons=t.ApplicationStreamStates=t.PopoutEventTypes=t.PopoutWindowKeys=t.GoogleBillingUrls=t.AppleBillingUrls=t.OFF_PLATFORM_PREMIUM_PERKS=t.GIFT_CODE_REDEMPTION_PLACEHOLDER=t.PREMIUM_GUILD_UPSELL_LIST_AMT=t.MAX_TIMEOUT_MS=t.UNAMBIGUOUS_CHARACTERS=t.CustomDiscordApplicationId=t.SpoilerRenderSetting=t.GIFResultFormat=t.GIPHYFormats=t.TenorFormats=t.GIFProviders=t.GIFTABLE_CURRENCIES=t.GIFPickerResultTypes=t.InAppNotificationTypes=t.ViewHistoryKeys=t.ConnectedDevicePreference=t.ConnectedDeviceType=t.OverlayNotificationPriorities=t.StoreRecommendationTypes=t.CarouselMediaTypes=t.MESSAGE_GROUP_INTERVAL=t.MessageRestrictionTypes=t.KeyboardEnvs=t.WindowsKeyToCode=t.MouseKeyCodes=t.MacosKeyToCode=t.LinuxKeyToCode=t.KeyboardDeviceTypes=t.RANDOM_HYPESQUAD_HOUSE=t.HypeSquadHouses=t.COUNTRIES_WITHOUT_POSTAL_CODES=t.COVID_URL=t.PAYPAL_URL=t.BuildPlatformTypes=t.StoreApplicationSort=t.StoreApplicationGenresFilter=t.DirectoryLocations=t.STORE_DIRECTORY_LAYOUT_ID_QUERY_OVERRIDE=t.STORE_DIRECTORY_LAYOUT_ID=t.SKUFlags=t.SKUAccessTypes=t.SKUTypes=t.ContentRatingAgencies=t.EntitlementTypes=t.OperatingSystems=t.TableSortDirections=t.GameTableListKeys=t.ProgressBarIDs=t.LibraryApplicationActions=t.LocalDispatchApplicationStates=t.DispatchApplicationStages=t.DispatchApplicationStates=void 0,n(779);var i=A(n(23)),o=A(n(133)),a=n(142),s=n(92);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var u,l,c,d,f,_,p,E,h,m,v,T=A(n(434)),g=A(n(910)),I=n(202),S=n(420),y=n(1532);function A(e){return e&&e.__esModule?e:{default:e}}function O(){return(O=Object.assign||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}).apply(this,arguments)}Object.keys(y).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}}))}));var N=(0,a.parse)(window.GLOBAL_ENV.API_ENDPOINT,!1,!0).host||"localhost";t.API_HOST=N;var R,b,L=(0,o.default)({USER_UPDATE:null,CURRENT_USER_UPDATE:null,LOAD_REGIONS:null,LOAD_MESSAGES:null,LOAD_MESSAGES_SUCCESS:null,LOAD_MESSAGES_FAILURE:null,LOAD_MESSAGES_SUCCESS_CACHED:null,TRUNCATE_MESSAGES:null,CLEAR_MESSAGES:null,LOAD_MESSAGES_AROUND_SUCCESS:null,CLEAR_MESSAGES_AROUND_SUCCESS:null,MESSAGE_CREATE:null,MESSAGE_SEND_FAILED:null,MESSAGE_UPDATE:null,MESSAGE_START_EDIT:null,MESSAGE_END_EDIT:null,MESSAGE_UPDATE_EDIT:null,MESSAGE_DELETE:null,MESSAGE_DELETE_BULK:null,MESSAGE_ACK:null,MESSAGE_REVEAL:null,RECENT_MENTION_DELETE:null,SPEAK_MESSAGE:null,STOP_SPEAKING_MESSAGE:null,INBOX_OPEN:null,MESSAGE_REACTION_ADD:null,MESSAGE_REACTION_ADD_USERS:null,MESSAGE_REACTION_REMOVE:null,MESSAGE_REACTION_REMOVE_ALL:null,MESSAGE_REACTION_REMOVE_EMOJI:null,CHANNEL_PINS_ACK:null,CHANNEL_PINS_UPDATE:null,CHANNEL_UNREAD_UPDATE:null,RELATIONSHIP_ADD:null,RELATIONSHIP_REMOVE:null,RELATIONSHIP_UPDATE:null,FRIEND_REQUEST_ACCEPTED:null,LOAD_RELATIONSHIPS_SUCCESS:null,LOAD_RELATIONSHIPS_FAILURE:null,LOAD_FRIEND_SUGGESTIONS_SUCCESS:null,LOAD_FRIEND_SUGGESTIONS_FAILURE:null,FRIEND_SUGGESTION_CREATE:null,FRIEND_SUGGESTION_DELETE:null,FRIENDS_SET_SECTION:null,GUILD_UNAVAILABLE:null,GUILD_CREATE:null,GUILD_UPDATE:null,GUILD_DELETE:null,GUILD_EMOJIS_UPDATE:null,GUILD_STICKERS_UPDATE:null,GUILD_JOIN:null,GUILD_STOP_LURKING:null,GUILD_STOP_LURKING_FAILURE:null,GUILD_APPLICATIONS_FETCH_SUCCESS:null,GUILD_PREMIUM_SUBSCRIBE_MODAL_OPEN_IOS:null,GUILD_PREMIUM_SUBSCRIBE_MODAL_CLOSE_IOS:null,GUILD_PREMIUM_SUBSCRIPTIONS_FETCH_SUCCESS:null,GUILD_USER_PREMIUM_SUBSCRIPTIONS_FETCH_SUCCESS:null,GUILD_PREMIUM_SUBSCRIPTIONS_COOLDOWN_FETCH_SUCCESS:null,GUILD_PREMIUM_SUBSCRIBE_START:null,GUILD_PREMIUM_SUBSCRIBE_SUCCESS:null,GUILD_PREMIUM_SUBSCRIBE_FAIL:null,GUILD_PREMIUM_UNSUBSCRIBE_START:null,GUILD_PREMIUM_UNSUBSCRIBE_SUCCESS:null,GUILD_PREMIUM_UNSUBSCRIBE_FAIL:null,USER_PREMIUM_GUILD_SUBSCRIPTION_SLOTS_FETCH_SUCCESS:null,USER_PREMIUM_GUILD_SUBSCRIPTION_SLOT_UPDATE_SUCCESS:null,EMOJI_DIVERSITY_COLOR_CHANGE:null,EMOJI_TRACK_USAGE:null,EMOJI_UPLOAD_START:null,EMOJI_UPLOAD_STOP:null,EMOJI_FETCH:null,EMOJI_FETCH_SUCCESS:null,EMOJI_FETCH_FAILURE:null,EMOJI_DELETE:null,EMOJI_FAVORITE:null,EMOJI_UNFAVORITE:null,GUILD_SELECT:null,GUILD_MOVE:null,TOGGLE_GUILD_FOLDER_EXPAND:null,SET_GUILD_FOLDER_EXPANDED:null,DELAYED_CHANNEL_SELECT:null,DELAYED_SELECT_FLUSH:null,GUILD_MEMBERS_REQUEST:null,GUILD_MEMBERS_CHUNK:null,GUILD_ACK:null,GUILD_MEMBER_LIST_UPDATE:null,CHANGE_LOG_OPEN:null,CHANGE_LOG_CLOSE:null,CHANNEL_CREATE:null,CHANNEL_UPDATES:null,CHANNEL_DELETE:null,CHANNEL_SELECT:null,CHANNEL_PRELOAD:null,CHANNEL_ACK:null,CHANNEL_LOCAL_ACK:null,CHANNEL_COLLAPSE:null,GUILD_TOGGLE_COLLAPSE_MUTED:null,CHANNEL_TOGGLE_MEMBERS_SECTION:null,CHANNEL_RECIPIENT_ADD:null,CHANNEL_RECIPIENT_REMOVE:null,GUILD_NSFW_AGREE:null,THREAD_CREATE:null,THREAD_CREATE_LOCAL:null,THREAD_UPDATE:null,THREAD_DELETE:null,THREAD_LIST_SYNC:null,THREAD_MEMBER_UPDATE:null,THREAD_MEMBERS_UPDATE:null,THREAD_MEMBER_LIST_UPDATE:null,LOAD_ARCHIVED_THREADS:null,LOAD_ARCHIVED_THREADS_SUCCESS:null,LOAD_ARCHIVED_THREADS_FAIL:null,THREAD_SIDEBAR_VIEW_THREAD:null,THREAD_SIDEBAR_CREATE_THREAD:null,THREAD_SIDEBAR_CLOSE:null,BULK_ACK:null,ENABLE_AUTOMATIC_ACK:null,DISABLE_AUTOMATIC_ACK:null,GAME_NOTIFICATION_SETTINGS_UPDATE:null,GAME_NOTIFICATION_OVERRIDES_UPDATE:null,GAME_NOTIFICATION_OVERRIDES_DELETE:null,GAME_NOTIFICATION_OVERRIDES_LOAD:null,UNVERIFIED_GAME_UPDATE:null,GAMES_DATABASE_FETCH:null,GAMES_DATABASE_UPDATE:null,GAMES_DATABASE_FETCH_FAIL:null,CHECK_LAUNCHABLE_GAME:null,GAME_LAUNCHABLE_UPDATE:null,GAME_LAUNCH_START:null,GAME_LAUNCH_SUCCESS:null,GAME_LAUNCH_FAIL:null,GAME_ICON_UPDATE:null,APPLICATION_FETCH:null,APPLICATION_FETCH_FAIL:null,APPLICATION_FETCH_SUCCESS:null,APPLICATIONS_FETCH:null,APPLICATIONS_FETCH_FAIL:null,APPLICATIONS_FETCH_SUCCESS:null,SHOW_GAME_PREVIEW:null,GAME_AUTOCOMPLETE_QUERY:null,GAME_CLOUD_SYNC_START:null,GAME_CLOUD_SYNC_UPDATE:null,GAME_CLOUD_SYNC_COMPLETE:null,GAME_CLOUD_SYNC_CONFLICT:null,GAME_CLOUD_SYNC_ERROR:null,USER_ACHIEVEMENT_UPDATE:null,INSTALLATION_LOCATION_ADD:null,INSTALLATION_LOCATION_REMOVE:null,INSTALLATION_LOCATION_UPDATE:null,INSTALLATION_LOCATION_FETCH_METADATA:null,LOAD_PINNED_MESSAGES:null,LOAD_PINNED_MESSAGES_SUCCESS:null,LOAD_PINNED_MESSAGES_FAILURE:null,VOICE_CHANNEL_SELECT:null,CLEAR_REMOTE_DISCONNECT_VOICE_CHANNEL_ID:null,VOICE_CHANNEL_SHOW_FEEDBACK:null,ACTIVITY_START:null,ACTIVITY_UPDATE_START:null,ACTIVITY_UPDATE_SUCCESS:null,ACTIVITY_UPDATE_FAIL:null,ACTIVITY_INVITE_EDUCATION_DISMISS:null,ACTIVITY_JOIN_INVITE_SEND:null,ACTIVITY_JOIN_INVITE:null,ACTIVITY_SET_CUSTOM_STATUS:null,ACTIVITY_CLEAR_CUSTOM_STATUS:null,ACTIVITY_JOIN_LOADING:null,ACTIVITY_JOIN_FAILED:null,ACTIVITY_JOIN:null,EMBEDDED_ACTIVITY_DEFERRED_OPEN:null,ACTIVITY_LAUNCH_FAIL:null,ACTIVITY_SYNC:null,ACTIVITY_SYNC_STOP:null,ACTIVITY_PLAY:null,ACTIVITIES_UPDATE:null,ACTIVITY_METADATA_UPDATE:null,ACTIVITY_USER_ACTION:null,EMBEDDED_ACTIVITY_OPEN:null,EMBEDDED_ACTIVITY_CLOSE:null,EMBEDDED_ACTIVITY_SET_CONFIG:null,USER_ACTIVITY_STATISTICS_FETCH_START:null,USER_ACTIVITY_STATISTICS_FETCH_SUCCESS:null,USER_ACTIVITY_STATISTICS_FETCH_FAIL:null,APPLICATION_ACTIVITY_STATISTICS_FETCH_START:null,APPLICATION_ACTIVITY_STATISTICS_FETCH_SUCCESS:null,APPLICATION_ACTIVITY_STATISTICS_FETCH_FAIL:null,TYPING_START:null,TYPING_START_LOCAL:null,TYPING_STOP:null,TYPING_STOP_LOCAL:null,SLOWMODE_RESET_COOLDOWN:null,SLOWMODE_SET_COOLDOWN:null,EXPERIMENT_TRIGGER:null,EXPERIMENT_REGISTER_LEGACY:null,EXPERIMENT_OVERRIDE_BUCKET:null,EXPERIMENTS_FETCH:null,EXPERIMENTS_FETCH_SUCCESS:null,EXPERIMENTS_FETCH_FAILURE:null,USER_AUTHORIZED_APPS_UPDATE:null,RPC_APP_CONNECTED:null,RPC_APP_AUTHENTICATED:null,RPC_APP_DISCONNECTED:null,RPC_NOTIFICATION_CREATE:null,START_SESSION:null,LOGIN:null,LOGIN_SUCCESS:null,LOGIN_FAILURE:null,LOGIN_MFA:null,LOGIN_MFA_STEP:null,LOGIN_MFA_FAILURE:null,LOGIN_MFA_SMS:null,LOGIN_MFA_SMS_FAILURE:null,LOGIN_MFA_SMS_REQUEST_SUCCESS:null,LOGIN_ACCOUNT_SCHEDULED_FOR_DELETION:null,LOGIN_ACCOUNT_DISABLED:null,LOGIN_RESET:null,LOGIN_PASSWORD_RECOVERY_PHONE_VERIFICATION:null,LOGIN_PHONE_IP_AUTHORIZATION_REQUIRED:null,FINGERPRINT:null,REGISTER:null,REGISTER_SAVE_FORM:null,REGISTER_SUCCESS:null,REGISTER_FAILURE:null,VERIFY_SUCCESS:null,VERIFY_FAILURE:null,FORGOT_PASSWORD_SENT:null,LOGOUT:null,UPDATE_TOKEN:null,MFA_ENABLE_SUCCESS:null,MFA_DISABLE_SUCCESS:null,MFA_VIEW_BACKUP_CODES:null,MFA_CLEAR_BACKUP_CODES:null,OAUTH2_TOKEN_REVOKE:null,MFA_SMS_TOGGLE:null,MFA_SMS_TOGGLE_COMPLETE:null,TRACK:null,SAVE_LAST_ROUTE:null,BROWSER_HANDOFF_BEGIN:null,BROWSER_HANDOFF_END:null,BROWSER_HANDOFF_FROM_APP:null,BROWSER_HANDOFF_UNAVAILABLE:null,BROWSER_HANDOFF_SET_USER:null,MODAL_PUSH:null,MODAL_UPDATE:null,MODAL_POP:null,MODAL_POP_ALL:null,POST_CONNECTION_PENDING_CALLBACK:null,POPOUT_OPEN:null,POPOUT_CLOSE:null,POPOUT_CLOSE_ALL:null,POPOUT_NEEDS_RERENDER:null,POPOUT_DID_RERENDER:null,CONTEXT_MENU_OPEN:null,CONTEXT_MENU_CLOSE:null,TOOLTIP_SHOW:null,TOOLTIP_HIDE:null,TOOLTIP_ACKNOWLEDGE:null,TOOLTIP_SHOW_ATTEMPT:null,TUTORIAL_INDICATOR_SHOW:null,TUTORIAL_INDICATOR_HIDE:null,TUTORIAL_INDICATOR_DISMISS:null,TUTORIAL_INDICATOR_SUPPRESS_ALL:null,UPLOAD_QUEUE:null,UPLOAD_START:null,UPLOAD_PROGRESS:null,UPLOAD_COMPLETE:null,UPLOAD_FAIL:null,UPLOAD_CANCEL_REQUEST:null,UPLOAD_RESTORE_FAILED_UPLOAD:null,UPDATE_CHANNEL_DIMENSIONS:null,UPDATE_CHANNEL_LIST_DIMENSIONS:null,UPDATE_GUILD_LIST_DIMENSIONS:null,CACHE_LOADED:null,CACHE_LOADED_LAZY:null,CONNECTION_OPEN:null,CONNECTION_OPEN_SUPPLEMENTAL:null,CONNECTION_RESUMED:null,CONNECTION_CLOSED:null,CONNECTION_INTERRUPTED:null,CLEAR_GUILD_HASHES:null,WINDOW_FOCUS:null,WINDOW_RESIZED:null,PRESENCE_UPDATE:null,PRESENCES_REPLACE:null,SESSIONS_REPLACE:null,FORCE_INVISIBLE:null,LOCAL_ACTIVITY_UPDATE:null,VOICE_STATE_UPDATE:null,VOICE_SERVER_UPDATE:null,SPEAKING:null,AUDIO_SET_TEMPORARY_SELF_MUTE:null,AUDIO_TOGGLE_SELF_MUTE:null,AUDIO_TOGGLE_SELF_DEAF:null,AUDIO_TOGGLE_LOCAL_MUTE:null,AUDIO_SET_LOCAL_VIDEO_DISABLED:null,AUDIO_TOGGLE_MUTE:null,AUDIO_TOGGLE_DEAF:null,AUDIO_SET_MODE:null,AUDIO_SET_INPUT_VOLUME:null,AUDIO_SET_OUTPUT_VOLUME:null,AUDIO_SET_LOCAL_VOLUME:null,AUDIO_SET_LOCAL_PAN:null,AUDIO_SET_INPUT_DEVICE:null,AUDIO_SET_OUTPUT_DEVICE:null,MEDIA_ENGINE_SET_VIDEO_DEVICE:null,AUDIO_SET_ECHO_CANCELLATION:null,AUDIO_SET_LOOPBACK:null,AUDIO_SET_NOISE_SUPPRESSION:null,AUDIO_SET_NOISE_CANCELLATION:null,AUDIO_SET_AUTOMATIC_GAIN_CONTROL:null,AUDIO_SET_DISPLAY_SILENCE_WARNING:null,AUDIO_SET_DEBUG_LOGGING:null,AUDIO_SET_ATTENUATION:null,AUDIO_SET_QOS:null,MEDIA_ENGINE_DEVICES:null,AUDIO_VOLUME_CHANGE:null,AUDIO_RESET:null,AUDIO_INPUT_DETECTED:null,AUDIO_SET_SUBSYSTEM:null,MEDIA_ENGINE_SET_AUDIO_ENABLED:null,MEDIA_ENGINE_SET_VIDEO_ENABLED:null,MEDIA_ENGINE_PERMISSION:null,MEDIA_ENGINE_SET_DESKTOP_SOURCE:null,MEDIA_ENGINE_VIDEO_SOURCE_QUALITY_CHANGED:null,MEDIA_ENGINE_INTERACTION_REQUIRED:null,MEDIA_ENGINE_SET_VIDEO_HOOK:null,MEDIA_ENGINE_SET_EXPERIMENTAL_SOUNDSHARE:null,MEDIA_ENGINE_SOUNDSHARE_TRANSMITTING:null,MEDIA_ENGINE_SOUNDSHARE_FAILED:null,MEDIA_ENGINE_SOUNDSHARE_TRACE:null,MEDIA_ENGINE_VIDEO_STATE_CHANGED:null,MEDIA_ENGINE_SET_OPEN_H264:null,MEDIA_ENGINE_SET_HARDWARE_H264:null,MEDIA_ENGINE_SET_EXPERIMENTAL_ENCODERS:null,MEDIA_ENGINE_SET_AEC_DUMP:null,MEDIA_ENGINE_NOISE_CANCELLATION_ERROR:null,MEDIA_ENGINE_VOICE_ACTIVITY_DETECTION_ERROR:null,MEDIA_ENGINE_NOISE_CANCELLATION_ERROR_RESET:null,MEDIA_ENGINE_ENABLE_SOUNDSHARE:null,NOISE_DETECTED:null,USER_SETTINGS_UPDATE:null,USER_SETTINGS_OVERRIDE_APPLY:null,USER_SETTINGS_OVERRIDE_CLEAR:null,USER_REQUIRED_ACTION_UPDATE:null,USER_CONNECTIONS_UPDATE:null,USER_CONNECTIONS_INTEGRATION_JOINING:null,USER_CONNECTION_UPDATE:null,LOAD_RECENT_MENTIONS:null,LOAD_RECENT_MENTIONS_SUCCESS:null,LOAD_RECENT_MENTIONS_FAILURE:null,SET_RECENT_MENTIONS_FILTER:null,TRUNCATE_MENTIONS:null,USER_NOTE_UPDATE:null,USER_NOTE_LOAD_START:null,USER_NOTE_LOADED:null,KEYBINDS_ADD_KEYBIND:null,KEYBINDS_SET_KEYBIND:null,KEYBINDS_DELETE_KEYBIND:null,KEYBINDS_ENABLE_ALL_KEYBINDS:null,NOTIFICATIONS_SET_DESKTOP_TYPE:null,NOTIFICATIONS_SET_TTS_TYPE:null,NOTIFICATIONS_SET_DISABLED_SOUNDS:null,NOTIFICATIONS_SET_DISABLE_UNREAD_BADGE:null,NOTIFICATIONS_SET_TASKBAR_FLASH:null,NOTIFICATIONS_SET_PERMISSION_STATE:null,NOTIFICATION_CREATE:null,NOTIFICATION_CLICK:null,PUSH_NOTIFICATION_CLICK:null,NOTICE_SHOW:null,NOTICE_DISMISS:null,NOTICE_DISABLE:null,RTC_CONNECTION_STATE:null,RTC_CONNECTION_VIDEO:null,RTC_CONNECTION_PING:null,RTC_CONNECTION_LOSS_RATE:null,MEDIA_SESSION_JOINED:null,RTC_LATENCY_TEST_COMPLETE:null,DRAFT_SAVE:null,DRAFT_CHANGE:null,DRAFT_CLEAR:null,THREAD_SETTINGS_DRAFT_CHANGE:null,DISPLAYED_INVITE_SHOW:null,DISPLAYED_INVITE_CLEAR:null,DEFERRED_INVITE_SHOW:null,INVITE_RESOLVE:null,INVITE_RESOLVE_SUCCESS:null,INVITE_RESOLVE_FAILURE:null,INVITE_ACCEPT:null,INVITE_ACCEPT_SUCCESS:null,INVITE_ACCEPT_FAILURE:null,INVITE_APP_OPENING:null,INVITE_APP_OPENED:null,INVITE_APP_NOT_OPENED:null,NATIVE_APP_MODAL_OPENING:null,NATIVE_APP_MODAL_OPENED:null,NATIVE_APP_MODAL_OPEN_FAILED:null,LOAD_USER_AFFINITIES:null,LOAD_USER_AFFINITIES_SUCCESS:null,LOAD_USER_AFFINITIES_FAILURE:null,LOAD_GUILD_AFFINITIES_SUCCESS:null,LOAD_GUILD_AFFINITIES_FAILURE:null,LOAD_INVITE_SUGGESTIONS:null,INVITE_SUGGESTIONS_SEARCH:null,GIFT_CODE_RESOLVE:null,GIFT_CODE_RESOLVE_SUCCESS:null,GIFT_CODE_RESOLVE_FAILURE:null,GIFT_CODE_REDEEM:null,GIFT_CODE_REDEEM_SUCCESS:null,GIFT_CODE_REDEEM_FAILURE:null,GIFT_CODES_FETCH:null,GIFT_CODES_FETCH_SUCCESS:null,GIFT_CODES_FETCH_FAILURE:null,GIFT_CODE_CREATE:null,GIFT_CODE_CREATE_START:null,GIFT_CODE_CREATE_SUCCESS:null,GIFT_CODE_CREATE_FAILURE:null,GIFT_CODE_REVOKE:null,GIFT_CODE_REVOKE_SUCCESS:null,GIFT_CODE_REVOKE_FAILURE:null,GIFT_CODE_UPDATE:null,GUILD_BAN_ADD:null,GUILD_BAN_REMOVE:null,GUILD_MEMBER_ADD:null,GUILD_MEMBER_UPDATE:null,GUILD_MEMBER_REMOVE:null,GUILD_ROLE_CREATE:null,GUILD_ROLE_UPDATE:null,GUILD_ROLE_DELETE:null,GUILD_ROLE_MEMBER_BULK_ADD:null,GUILD_ROLE_MEMBER_ADD:null,GUILD_ROLE_MEMBER_REMOVE:null,GUILD_ROLE_MEMBER_COUNT_FETCH_START:null,GUILD_ROLE_MEMBER_COUNT_FETCH_SUCCESS:null,GUILD_ROLE_MEMBER_COUNT_FETCH_FAILURE:null,GUILD_INTEGRATIONS_UPDATE:null,INTEGRATION_CREATE:null,INTEGRATION_UPDATE:null,INTEGRATION_DELETE:null,FEATURED_HELP_ARTICLES:null,CHECKING_FOR_UPDATES:null,MODULE_INSTALLED:null,UPDATE_NOT_AVAILABLE:null,UPDATE_AVAILABLE:null,UPDATE_ERROR:null,UPDATE_DOWNLOADED:null,UPDATE_MANUALLY:null,UPDATER_HISTORY_RESPONSE:null,RUNNING_GAMES_CHANGE:null,RUNNING_STREAMER_TOOLS_CHANGE:null,CANDIDATE_GAMES_CHANGE:null,OVERLAY_GAMES_CHANGE:null,IDLE:null,AFK:null,PERMISSION_CLEAR_VAD_WARNING:null,SET_VAD_PERMISSION:null,SET_NATIVE_PERMISSION:null,PERMISSION_CLEAR_SUPPRESS_WARNING:null,PERMISSION_CLEAR_PTT_ADMIN_WARNING:null,PERMISSION_REQUEST_ELEVATED_PROCESS:null,PERMISSION_CLEAR_ELEVATED_PROCESS:null,PERMISSION_CONTINUE_NONELEVATED_PROCESS:null,MOBILE_SURVEY_DISMISS:null,MOBILE_SURVEY_ACK:null,INSTANT_INVITE_CREATE:null,INSTANT_INVITE_CREATE_SUCCESS:null,INSTANT_INVITE_CREATE_FAILURE:null,INSTANT_INVITE_REVOKE_SUCCESS:null,INTEGRATION_QUERY:null,INTEGRATION_QUERY_SUCCESS:null,INTEGRATION_QUERY_FAILURE:null,OVERLAY_INITIALIZE:null,OVERLAY_READY:null,OVERLAY_CRASHED:null,OVERLAY_MOUNTED:null,OVERLAY_FOCUSED:null,OVERLAY_SET_ENABLED:null,OVERLAY_SELECT_CALL:null,OVERLAY_SELECT_CHANNEL:null,OVERLAY_SET_DISPLAY_NAME_MODE:null,OVERLAY_SET_DISPLAY_USER_MODE:null,OVERLAY_SET_AVATAR_SIZE_MODE:null,OVERLAY_SET_NOTIFICATION_POSITION_MODE:null,OVERLAY_SET_TEXT_CHAT_NOTIFICATION_MODE:null,OVERLAY_SET_INPUT_LOCKED:null,OVERLAY_SET_UI_LOCKED:null,OVERLAY_SET_TEXT_WIDGET_OPACITY:null,OVERLAY_CALL_PRIVATE_CHANNEL:null,OVERLAY_SET_NOT_IDLE:null,OVERLAY_JOIN_GAME:null,CREATE_OVERLAY_NOTIFICATION:null,OVERLAY_UPDATE_NOTIFICATION_STATUS:null,OVERLAY_DISABLE_EXTERNAL_LINK_ALERT:null,OVERLAY_INCOMPATIBLE_APP:null,OVERLAY_START_SESSION:null,OVERLAY_ACTIVATE_REGION:null,OVERLAY_DEACTIVATE_ALL_REGIONS:null,OVERLAY_SET_PREVIEW_IN_GAME_MODE:null,USER_GUILD_SETTINGS_FULL_UPDATE:null,USER_GUILD_SETTINGS_GUILD_UPDATE:null,USER_GUILD_SETTINGS_CHANNEL_UPDATE:null,STREAMER_MODE_UPDATE:null,STREAMING_UPDATE:null,USER_SETTINGS_MODAL_OPEN:null,USER_SETTINGS_MODAL_INIT:null,USER_SETTINGS_MODAL_CLOSE:null,USER_SETTINGS_MODAL_SUBMIT:null,USER_SETTINGS_MODAL_SUBMIT_FAILURE:null,USER_SETTINGS_MODAL_SUBMIT_COMPLETE:null,USER_SETTINGS_MODAL_RESET:null,USER_SETTINGS_MODAL_SET_SECTION:null,USER_SETTINGS_MODAL_UPDATE_ACCOUNT:null,USER_SETTINGS_MODAL_UPDATE_AUTHORIZED_APPS:null,RTC_DEBUG_MODAL_OPEN:null,RTC_DEBUG_MODAL_CLOSE:null,RTC_DEBUG_MODAL_SET_SECTION:null,RTC_DEBUG_MODAL_UPDATE:null,RTC_DEBUG_MODAL_OPEN_REPLAY:null,RTC_DEBUG_MODAL_OPEN_REPLAY_AT_PATH:null,RTC_DEBUG_MODAL_UPDATE_VIDEO_OUTPUT:null,RTC_DEBUG_SET_RECORDING_FLAG:null,USER_SETTINGS_ACCOUNT_INIT:null,USER_SETTINGS_ACCOUNT_CLOSE:null,USER_SETTINGS_ACCOUNT_SUBMIT:null,USER_SETTINGS_ACCOUNT_SUBMIT_SUCCESS:null,USER_SETTINGS_ACCOUNT_SUBMIT_FAILURE:null,USER_SETTINGS_ACCOUNT_SET_PENDING_AVATAR:null,USER_SETTINGS_ACCOUNT_SET_PENDING_BANNER:null,USER_SETTINGS_ACCOUNT_SET_PENDING_BANNER_COLOR:null,USER_SETTINGS_ACCOUNT_SET_PENDING_BIO:null,USER_SETTINGS_RESET_ALL_PENDING:null,HYPESQUAD_ONLINE_MEMBERSHIP_JOIN_SUCCESS:null,HYPESQUAD_ONLINE_MEMBERSHIP_LEAVE_SUCCESS:null,GUILD_SETTINGS_INIT:null,GUILD_SETTINGS_OPEN:null,GUILD_SETTINGS_CLOSE:null,GUILD_SETTINGS_UPDATE:null,GUILD_SETTINGS_CANCEL_CHANGES:null,GUILD_SETTINGS_SUBMIT:null,GUILD_SETTINGS_SUBMIT_SUCCESS:null,GUILD_SETTINGS_SUBMIT_FAILURE:null,GUILD_SETTINGS_SET_SECTION:null,GUILD_SETTINGS_SET_SEARCH_QUERY:null,GUILD_SETTINGS_LOADED_BANS:null,GUILD_SETTINGS_LOADED_INVITES:null,GUILD_SETTINGS_LOADED_INTEGATIONS:null,GUILD_SETTINGS_ROLE_SELECT:null,GUILD_SETTINGS_SET_WIDGET:null,GUILD_SETTINGS_SET_VANITY_URL:null,GUILD_SETTINGS_SET_MFA_SUCCESS:null,GUILD_SETTINGS_SET_AUDIT_LOG:null,GUILD_SETTINGS_DISCOVERY_INIT:null,GUILD_SETTINGS_DISCOVERY_CLOSE:null,GUILD_SETTINGS_DISCOVERY_RESET:null,GUILD_SETTINGS_DISCOVERY_UPDATE:null,GUILD_SETTINGS_DISCOVERY_SUBMIT:null,GUILD_SETTINGS_DISCOVERY_SUBMIT_SUCCESS:null,GUILD_SETTINGS_DISCOVERY_SUBMIT_FAILURE:null,GUILD_SETTINGS_VANITY_URL_CLOSE:null,GUILD_SETTINGS_VANITY_URL_RESET:null,GUILD_SETTINGS_VANITY_URL_SET:null,GUILD_SETTINGS_VANITY_URL_ERROR:null,GUILD_SETTINGS_ROLES_INIT:null,GUILD_SETTINGS_ROLES_SORT_UPDATE:null,GUILD_SETTINGS_ROLES_UPDATE_PERMISSIONS:null,GUILD_SETTINGS_ROLES_CLEAR_PERMISSIONS:null,GUILD_SETTINGS_ROLES_UPDATE_SETTINGS:null,GUILD_SETTINGS_ROLES_UPDATE_NAME:null,GUILD_SETTINGS_ROLES_UPDATE_COLOR:null,GUILD_SETTINGS_ROLES_SAVE_SUCCESS:null,GUILD_SETTINGS_ROLES_SUBMITTING:null,GUILD_SETTINGS_ROLES_EDIT_SECTION_UPDATE:null,GUILD_SETTINGS_ROLES_UPDATE_PERMISSION_SET:null,GUILD_SETTINGS_MODAL_ROLES_START_REORDER:null,GUILD_SETTINGS_MODAL_ROLES_STOP_REORDER:null,GUILD_SETTINGS_MODAL_ROLES_EDIT_ORDER:null,GUILD_SETTINGS_MODAL_ROLES_PERMISSIONS_START_EDITING:null,GUILD_SETTINGS_MODAL_ROLES_PERMISSIONS_STOP_EDITING:null,GUILD_SETTINGS_MODAL_ROLES_PERMISSIONS_CANCEL:null,GUILD_SETTINGS_MODAL_ROLES_PERMISSION_ALLOW:null,GUILD_SETTINGS_MODAL_ROLES_PERMISSION_DENY:null,GUILD_SETTINGS_MODAL_ROLES_PERMISSIONS_SUBMITTING:null,GUILD_SETTINGS_MODAL_ROLES_PERMISSIONS_SUBMITTING_SUCCESS:null,GUILD_SETTINGS_MODAL_ROLES_PERMISSIONS_SUBMITTING_FAILURE:null,GUILD_SETTINGS_MODAL_CHANNELS_INIT:null,GUILD_SETTINGS_MODAL_CHANNELS_TERMINATE:null,GUILD_SETTINGS_MODAL_CHANNELS_START_REORDER:null,GUILD_SETTINGS_MODAL_CHANNELS_STOP_REORDER:null,GUILD_SETTINGS_MODAL_CHANNELS_ADD_CHANNEL:null,GUILD_SETTINGS_MODAL_CHANNELS_ADD_CHANNEL_FAILURE:null,GUILD_SETTINGS_MODAL_MEMBERS_START_EDITING:null,GUILD_SETTINGS_MODAL_MEMBERS_STOP_EDITING:null,GUILD_SETTINGS_MODAL_MEMBERS_TOGGLE_ROLE:null,GUILD_SETTINGS_MODAL_MEMBERS_ROLES_SAVE:null,GUILD_SETTINGS_MODAL_MEMBERS_ROLES_SAVE_COMPLETE:null,GUILD_SETTINGS_MODAL_MEMBERS_CHANGE_NICKNAME:null,GUILD_SETTINGS_MODAL_MEMBERS_CHANGE_NICKNAME_SUCCESS:null,GUILD_SETTINGS_MODAL_MEMBERS_CHANGE_NICKNAME_FAILURE:null,GUILD_SETTINGS_MODAL_LOCAL_SORT_CHANGE:null,PARTNER_APPLICATION_UPDATE:null,PARTNER_APPLICATION_SUBMIT:null,PARTNER_APPLICATION_SUBMIT_SUCCESS:null,PARTNER_APPLICATION_SUBMIT_FAILURE:null,PARTNER_REQUIREMENTS_FETCH_START:null,PARTNER_REQUIREMENTS_FETCH_FAILURE:null,PARTNER_REQUIREMENTS_FETCH_SUCCESS:null,INTEGRATION_SETTINGS_INIT:null,INTEGRATION_SETTINGS_SET_SECTION:null,INTEGRATION_SETTINGS_UPDATE_INTEGRATION:null,INTEGRATION_SETTINGS_UPDATE_WEBHOOK:null,INTEGRATION_SETTINGS_SAVE_SUCCESS:null,INTEGRATION_SETTINGS_SAVE_FAILURE:null,INTEGRATION_SETTINGS_SUBMITTING:null,INTEGRATION_SETTINGS_START_EDITING_INTEGRATION:null,INTEGRATION_SETTINGS_STOP_EDITING_INTEGRATION:null,INTEGRATION_SETTINGS_START_EDITING_WEBHOOK:null,INTEGRATION_SETTINGS_STOP_EDITING_WEBHOOK:null,PREMIUM_PAYMENT_MODAL_OPEN:null,PREMIUM_PAYMENT_MODAL_CLOSE:null,PREMIUM_PAYMENT_SUBSCRIBE_START:null,PREMIUM_PAYMENT_SUBSCRIBE_SUCCESS:null,PREMIUM_PAYMENT_SUBSCRIBE_FAIL:null,PREMIUM_PAYMENT_UPDATE_SUCCESS:null,PREMIUM_PAYMENT_UPDATE_FAIL:null,PREMIUM_PAYMENT_ERROR_CLEAR:null,PREMIUM_PAYMENT_UPDATE_IS_GIFT:null,PREMIUM_PAYMENT_UPDATE_GIFT_PLAN:null,PREMIUM_PAYMENT_SELECT_PLAN:null,BILLING_PAYMENT_SOURCE_CREATE_START:null,BILLING_PAYMENT_SOURCE_CREATE_SUCCESS:null,BILLING_PAYMENT_SOURCE_CREATE_FAIL:null,BILLING_PAYMENT_SOURCE_UPDATE_START:null,BILLING_PAYMENT_SOURCE_UPDATE_SUCCESS:null,BILLING_PAYMENT_SOURCE_UPDATE_FAIL:null,BILLING_PAYMENT_SOURCE_UPDATE_CLEAR_ERROR:null,BILLING_PAYMENT_SOURCE_REMOVE_START:null,BILLING_PAYMENT_SOURCE_REMOVE_SUCCESS:null,BILLING_PAYMENT_SOURCE_REMOVE_FAIL:null,BILLING_PAYMENT_SOURCE_REMOVE_CLEAR_ERROR:null,BILLING_PAYMENT_SOURCES_FETCH_START:null,BILLING_PAYMENT_SOURCES_FETCH_SUCCESS:null,BILLING_PAYMENT_SOURCES_FETCH_FAIL:null,BILLING_PAYMENT_FETCH_SUCCESS:null,BILLING_PAYMENTS_FETCH_START:null,BILLING_PAYMENTS_FETCH_SUCCESS:null,BILLING_PAYMENTS_FETCH_FAIL:null,PAYMENT_AUTHENTICATION_ERROR:null,PAYMENT_AUTHENTICATION_CLEAR_ERROR:null,BILLING_SUBSCRIPTION_FETCH_START:null,BILLING_SUBSCRIPTION_FETCH_SUCCESS:null,BILLING_SUBSCRIPTION_FETCH_FAIL:null,BILLING_SUBSCRIPTION_UPDATE_START:null,BILLING_SUBSCRIPTION_UPDATE_SUCCESS:null,BILLING_SUBSCRIPTION_UPDATE_FAIL:null,BILLING_SUBSCRIPTION_CANCEL_START:null,BILLING_SUBSCRIPTION_CANCEL_SUCCESS:null,BILLING_SUBSCRIPTION_CANCEL_FAIL:null,NEW_PAYMENT_SOURCE_CARD_INFO_UPDATE:null,NEW_PAYMENT_SOURCE_ADDRESS_INFO_UPDATE:null,NEW_PAYMENT_SOURCE_CLEAR_ERROR:null,NEW_PAYMENT_SOURCE_STRIPE_PAYMENT_REQUEST_UPDATE:null,NOTIFICATION_SETTINGS_MODAL_OPEN:null,NOTIFICATION_SETTINGS_MODAL_CLOSE:null,CREATE_CHANNEL_MODAL_OPEN:null,CREATE_CHANNEL_MODAL_CLOSE:null,CREATE_CHANNEL_MODAL_SUBMIT:null,CREATE_CHANNEL_MODAL_SUBMIT_FAILURE:null,CHANNEL_SETTINGS_OPEN:null,CHANNEL_SETTINGS_INIT:null,CHANNEL_SETTINGS_CLOSE:null,CHANNEL_SETTINGS_UPDATE:null,CHANNEL_SETTINGS_SUBMIT:null,CHANNEL_SETTINGS_SUBMIT_SUCCESS:null,CHANNEL_SETTINGS_SUBMIT_FAILURE:null,CHANNEL_SETTINGS_SET_SECTION:null,CHANNEL_SETTINGS_OVERWRITE_SELECT:null,CHANNEL_SETTINGS_LOADED_INVITES:null,SET_CHANNEL_BITRATE:null,SET_CHANNEL_VIDEO_QUALITY_MODE:null,PRIVACY_SETTINGS_MODAL_OPEN:null,PRIVACY_SETTINGS_MODAL_CLOSE:null,CHANGE_NICKNAME_MODAL_OPEN:null,CHANGE_NICKNAME_MODAL_CLOSE:null,CHANGE_NICKNAME_MODAL_SUBMIT:null,CHANGE_NICKNAME_MODAL_SUBMIT_FAILURE:null,CHANGE_VANITY_URL_MODAL_OPEN:null,CHANGE_VANITY_URL_MODAL_CLOSE:null,CHANGE_VANITY_URL_MODAL_SUBMIT:null,CHANGE_VANITY_URL_MODAL_SUBMIT_FAILURE:null,USER_PROFILE_MODAL_OPEN:null,USER_PROFILE_MODAL_CLOSE:null,USER_PROFILE_FETCH_START:null,USER_PROFILE_FETCH_SUCCESS:null,USER_PROFILE_FETCH_FAILURE:null,LOAD_MUTUAL_FRIENDS:null,PRUNE_GUILD_MODAL_OPEN:null,PRUNE_GUILD_MODAL_UPDATE:null,PRUNE_GUILD_MODAL_CLOSE:null,STATUS_PAGE_INCIDENT:null,STATUS_PAGE_SCHEDULED_MAINTENANCE:null,STATUS_PAGE_SCHEDULED_MAINTENANCE_ACK:null,GUILD_VERIFICATION_CHECK:null,RUNNING_GAME_ADD_OVERRIDE:null,RUNNING_GAME_TOGGLE_BLOCK:null,RUNNING_GAME_TOGGLE_OVERLAY:null,RUNNING_GAME_EDIT_NAME:null,RUNNING_GAME_DELETE_ENTRY:null,UPLOAD_MODAL_POP_FILE:null,UPLOAD_MODAL_PUSH_FILES:null,UPLOAD_MODAL_CLEAR_ALL_FILES:null,PRIVATE_CHANNEL_RECIPIENTS_INVITE_OPEN:null,PRIVATE_CHANNEL_RECIPIENTS_INVITE_CLOSE:null,PRIVATE_CHANNEL_RECIPIENTS_INVITE_QUERY:null,PRIVATE_CHANNEL_RECIPIENTS_INVITE_SELECT:null,PRIVATE_CHANNEL_RECIPIENTS_ADD_USER:null,PRIVATE_CHANNEL_RECIPIENTS_REMOVE_USER:null,CHANNEL_RTC_SELECT_PARTICIPANT:null,CHANNEL_RTC_UPDATE_LAYOUT:null,CHANNEL_RTC_UPDATE_PARTICIPANTS_OPEN:null,CHANNEL_RTC_UPDATE_VOICE_PARTICIPANTS_HIDDEN:null,CHANNEL_RTC_ACTIVE_CHANNELS:null,REPORT_MESSAGE_MODAL_OPEN:null,ACCESSIBILITY_SET_FONT_SIZE:null,ACCESSIBILITY_SET_ZOOM:null,ACCESSIBILITY_RESET_TO_DEFAULT:null,ACCESSIBILITY_KEYBOARD_MODE_ENABLE:null,ACCESSIBILITY_KEYBOARD_MODE_DISABLE:null,ACCESSIBILITY_COLORBLIND_TOGGLE:null,ACCESSIBILITY_LOW_CONTRAST_TOGGLE:null,ACCESSIBILITY_SET_SATURATION:null,ACCESSIBILITY_DESATURATE_ROLES_TOGGLE:null,ACCESSIBILITY_DARK_SIDEBAR_TOGGLE:null,ACCESSIBILITY_SUPPORT_CHANGED:null,ACCESSIBILITY_DETECTION_MODAL_SEEN:null,ACCESSIBILITY_SET_MESSAGE_GROUP_SPACING:null,ACCESSIBILITY_SYSTEM_PREFERS_REDUCED_MOTION_CHANGED:null,ACCESSIBILITY_SYSTEM_PREFERS_COLOR_SCHEME_CHANGED:null,ACCESSIBILITY_SET_PREFERS_REDUCED_MOTION:null,KEYBOARD_NAVIGATION_EXPLAINER_MODAL_SEEN:null,GUILD_SUBSCRIPTIONS_MEMBERS_ADD:null,GUILD_SUBSCRIPTIONS_MEMBERS_REMOVE:null,GUILD_SUBSCRIPTIONS_CHANNEL:null,GUILD_SUBSCRIPTIONS_FLUSH:null,GUILD_ANALYTICS_ENGAGEMENT_OVERVIEW_FETCH_SUCCESS:null,GUILD_ANALYTICS_ENGAGEMENT_OVERVIEW_FETCH_FAILURE:null,GUILD_ANALYTICS_GROWTH_ACTIVATION_RETENTION_FETCH_SUCCESS:null,GUILD_ANALYTICS_GROWTH_ACTIVATION_RETENTION_FETCH_FAILURE:null,GUILD_ANALYTICS_GROWTH_ACTIVATION_OVERVIEW_FETCH_SUCCESS:null,GUILD_ANALYTICS_GROWTH_ACTIVATION_OVERVIEW_FETCH_FAILURE:null,ALERT_OPEN:null,ALERT_CLOSE:null,SCREEN_UPDATE:null,DRAWER_OPEN:null,DRAWER_CLOSE:null,DRAWER_DRAG_START:null,DRAWER_DRAG_END:null,DRAWER_ENABLE:null,DRAWER_DISABLE:null,DRAWER_SELECT_TAB:null,BROWSER_UPDATE:null,KEYBOARD_TOGGLE:null,KEYBOARD_CHANGE:null,KEYBOARD_CLEAR_INITIAL_SETTINGS:null,APP_STATE_UPDATE:null,MENTION_MODAL_OPEN:null,MENTION_MODAL_CLOSE:null,SEARCH_MODAL_OPEN:null,SEARCH_MODAL_CLOSE:null,CREATE_INVITE_MODAL_INIT:null,CREATE_INVITE_MODAL_OPEN:null,CREATE_INVITE_MODAL_UPDATE_SETTINGS:null,CREATE_INVITE_MODAL_RESET_SETTINGS:null,CREATE_INVITE_MODAL_GENERATE_INVITE:null,CREATE_INVITE_MODAL_GENERATE_INVITE_SUCCESS:null,CREATE_INVITE_MODAL_GENERATE_INVITE_FAILURE:null,CREATE_INVITE_MODAL_CLOSE:null,ADD_IMAGE_TO_UPLOAD:null,REMOVE_IMAGE_TO_UPLOAD:null,ADD_ALL_IMAGES_TO_UPLOAD:null,REMOVE_ALL_IMAGES_TO_UPLOAD:null,IAP_LOAD_PRODUCTS:null,IAP_PURCHASE_PRODUCT_START:null,IAP_PURCHASE_PRODUCT_SUCCESS:null,IAP_PURCHASE_PRODUCT_FAILURE:null,IAP_RESTORE_PURCHASES_START:null,IAP_RESTORE_PURCHASES_END:null,CALL_CREATE:null,CALL_UPDATE:null,CALL_DELETE:null,CALL_CONNECT:null,CALL_RING:null,CALL_ENQUEUE_RING:null,CALL_MODAL_OPEN:null,CALL_MODAL_CLOSE:null,INCOMING_CALL_MOVE:null,INVITE_MODAL_OPEN:null,INVITE_MODAL_CLOSE:null,INVITE_MODAL_ERROR:null,SHOW_KEYBOARD_SHORTCUTS:null,HIDE_KEYBOARD_SHORTCUTS:null,ACTIVATE_RAGING_DEMON:null,DEACTIVATE_RAGING_DEMON:null,CHANNEL_NOTICE_SHOW:null,CHANNEL_NOTICE_HIDE:null,PREMIUM_GUILD_GRACE_PERIOD_NOTICE_DISMISS:null,PUBLIC_UPSELL_NOTICE_DISMISS:null,MAX_MEMBER_COUNT_NOTICE_DISMISS:null,WEBHOOKS_UPDATE:null,WEBHOOKS_FETCHING:null,WEBHOOK_CREATE:null,WEBHOOK_DELETE:null,WEBHOOK_UPDATE:null,MASKED_LINK_ADD_TRUSTED_DOMAIN:null,MASKED_LINK_ADD_TRUSTED_PROTOCOL:null,SEARCH_EDITOR_STATE_CHANGE:null,SEARCH_EDITOR_STATE_CLEAR:null,SEARCH_START:null,SEARCH_INDEXING:null,SEARCH_CLEAR:null,SEARCH_FINISH:null,SEARCH_ENSURE_SEARCH_STATE:null,SEARCH_AUTOCOMPLETE_QUERY_UPDATE:null,SEARCH_CLEAR_HISTORY:null,SEARCH_SET_SHOW_BLOCKED_RESULTS:null,USER_SUBSCRIPTIONS_UPDATE:null,USER_PAYMENT_SOURCES_UPDATE:null,USER_PREMIUM_GUILD_SUBSCRIPTION_SLOT_CREATE:null,USER_PREMIUM_GUILD_SUBSCRIPTION_SLOT_UPDATE:null,PAYMENT_UPDATE:null,QUICKSWITCHER_SHOW:null,QUICKSWITCHER_HIDE:null,QUICKSWITCHER_SEARCH:null,QUICKSWITCHER_SELECT:null,QUICKSWITCHER_SWITCH_TO:null,LAYER_PUSH:null,LAYER_POP:null,LAYER_POP_ALL:null,AUDIT_LOG_FETCH_START:null,AUDIT_LOG_FETCH_SUCCESS:null,AUDIT_LOG_FETCH_FAIL:null,AUDIT_LOG_FETCH_NEXT_PAGE_START:null,AUDIT_LOG_FETCH_NEXT_PAGE_SUCCESS:null,AUDIT_LOG_FETCH_NEXT_PAGE_FAIL:null,AUDIT_LOG_FILTER_BY_ACTION:null,AUDIT_LOG_FILTER_BY_USER:null,EMAIL_VERIFICATION_MODAL_OPEN:null,EMAIL_VERIFICATION_MODAL_CLOSE:null,CHANNEL_SETTINGS_PERMISSIONS_INIT:null,CHANNEL_SETTINGS_PERMISSIONS_UPDATE_PERMISSION:null,CHANNEL_SETTINGS_PERMISSIONS_SELECT_PERMISSION:null,CHANNEL_SETTINGS_PERMISSIONS_SUBMITTING:null,CHANNEL_SETTINGS_PERMISSIONS_SAVE_SUCCESS:null,CHANNEL_SETTINGS_PERMISSIONS_SET_ADVANCED_MODE:null,VERIFICATION_OPEN_COUNTRY_SELECTOR:null,VERIFICATION_CLOSE_COUNTRY_SELECTOR:null,RPC_SERVER_READY:null,PICTURE_IN_PICTURE_OPEN:null,PICTURE_IN_PICTURE_CLOSE:null,PICTURE_IN_PICTURE_MOVE:null,PICTURE_IN_PICTURE_UPDATE_SELECTED_WINDOW:null,PICTURE_IN_PICTURE_UPDATE_RECT:null,PICTURE_IN_PICTURE_HIDE:null,PICTURE_IN_PICTURE_SHOW:null,CATEGORY_COLLAPSE:null,CATEGORY_EXPAND:null,CATEGORY_COLLAPSE_ALL:null,CATEGORY_EXPAND_ALL:null,SURVEY_HIDE:null,SURVEY_FETCHED:null,PUSH_NOTIFICATION_PERMISSION_SET_STATE:null,PUSH_NOTIFICATION_PERMISSION_REACTIVATION_SEEN:null,APP_VIEW_SET_HOME_LINK:null,SPOTIFY_PROFILE_UPDATE:null,SPOTIFY_PLAYER_STATE:null,SPOTIFY_PLAYER_PLAY:null,SPOTIFY_PLAYER_PAUSE:null,SPOTIFY_ACCOUNT_ACCESS_TOKEN:null,SPOTIFY_ACCOUNT_ACCESS_TOKEN_REVOKE:null,SPOTIFY_SET_DEVICES:null,SPOTIFY_SET_PROTOCOL_REGISTERED:null,SPOTIFY_SET_ACTIVE_DEVICE:null,I18N_LOAD_START:null,I18N_LOAD_SUCCESS:null,I18N_LOAD_ERROR:null,LOGIN_MODAL_OPEN:null,LOGIN_MODAL_CLOSE:null,REGISTER_MODAL_OPEN:null,REGISTER_MODAL_CLOSE:null,DEVELOPER_OPTIONS_UPDATE_SETTINGS:null,STRIPE_TOKEN_FAILURE:null,BRAINTREE_POPUP_BRIDGE_CALLBACK_START:null,BRAINTREE_POPUP_BRIDGE_CALLBACK_END:null,BRAINTREE_POPUP_BRIDGE_CALLBACK:null,BRAINTREE_POPUP_BRIDGE_STATE_UPDATE:null,BRAINTREE_CREATE_CLIENT_FAIL:null,BRAINTREE_CREATE_CLIENT_SUCCESS:null,BRAINTREE_CREATE_PAYPAL_CLIENT_FAIL:null,BRAINTREE_CREATE_PAYPAL_CLIENT_SUCCESS:null,BRAINTREE_TEARDOWN_PAYPAL_CLIENT:null,BRAINTREE_TOKENIZE_PAYPAL_START:null,BRAINTREE_TOKENIZE_PAYPAL_FAIL:null,BRAINTREE_TOKENIZE_PAYPAL_FAIL_WINDOW_CLOSED:null,BRAINTREE_TOKENIZE_PAYPAL_SUCCESS:null,SPELLCHECK_TOGGLE:null,SPELLCHECK_LEARN_WORD:null,EXPRESSION_SUGGESTIONS_TOGGLE:null,LIBRARY_FETCH_SUCCESS:null,LIBRARY_FETCH_FAIL:null,LIBRARY_APPLICATION_FLAGS_UPDATE_SUCCESS:null,LIBRARY_APPLICATION_FLAGS_UPDATE_START:null,LIBRARY_TABLE_SORT_UPDATE:null,LIBRARY_APPLICATION_FILTER_UPDATE:null,LIBRARY_TABLE_ACTIVE_ROW_ID_UPDATE:null,LIBRARY_APPLICATION_ACTIVE_LAUNCH_OPTION_UPDATE:null,LIBRARY_APPLICATION_ACTIVE_BRANCH_UPDATE:null,LIBRARY_APPLICATION_DELETE:null,LIBRARY_APPLICATIONS_TEST_MODE_ENABLED:null,LIBRARY_APPLICATION_UPDATE:null,SCANNED_LOCAL_APPLICATION_SCAN_START:null,SCANNED_LOCAL_APPLICATION_SCAN_SUCCESS:null,SCANNED_LOCAL_APPLICATION_SCAN_FAIL:null,SCANNED_LOCAL_APPLICATION_ADD:null,SCANNED_LOCAL_APPLICATION_UPDATE_FLAGS:null,CERTIFIED_DEVICES_SET:null,CERTIFIED_DEVICE_RECOMMENDATIONS_IGNORE:null,CONNECTED_DEVICE_SET:null,CONNECTED_DEVICE_IGNORE:null,CONNECTED_DEVICE_NEVER_SHOW_MODAL:null,SET_LOCATION_METADATA:null,SET_CONSENT_REQUIRED:null,UPDATE_CONSENTS:null,LOBBY_CONNECT:null,LOBBY_DISCONNECT:null,LOBBY_CREATE:null,LOBBY_DELETE:null,LOBBY_UPDATE:null,LOBBY_MEMBER_CONNECT:null,LOBBY_MEMBER_DISCONNECT:null,LOBBY_MEMBER_UPDATE:null,LOBBY_MESSAGE:null,LOBBY_VOICE_CONNECT:null,LOBBY_VOICE_DISCONNECT:null,LOBBY_VOICE_STATE_UPDATE:null,LOBBY_VOICE_SERVER_UPDATE:null,ACTIVITY_INVITE_MODAL_OPEN:null,ACTIVITY_INVITE_MODAL_QUERY:null,ACTIVITY_INVITE_MODAL_SEND:null,ACTIVITY_INVITE_MODAL_CLOSE:null,DISPATCH_APPLICATION_INSTALL:null,DISPATCH_APPLICATION_UPDATE:null,DISPATCH_APPLICATION_UNINSTALL:null,DISPATCH_APPLICATION_CANCEL:null,DISPATCH_APPLICATION_REPAIR:null,DISPATCH_APPLICATION_MOVE_UP:null,DISPATCH_APPLICATION_REMOVE_FINISHED:null,DISPATCH_APPLICATION_STATE_UPDATE:null,DISPATCH_APPLICATION_ERROR:null,DISPATCH_APPLICATION_LAUNCH_SETUP_START:null,DISPATCH_APPLICATION_INSTALL_SCRIPTS_PROGRESS_UPDATE:null,DISPATCH_APPLICATION_LAUNCH_SETUP_COMPLETE:null,DISPATCH_APPLICATION_ADD_TO_INSTALLATIONS:null,APPLICATION_BUILD_FETCH_START:null,APPLICATION_BUILD_FETCH_SUCCESS:null,APPLICATION_BUILD_NOT_FOUND:null,APPLICATION_BUILD_SIZE_FETCH_START:null,APPLICATION_BUILD_SIZE_FETCH_SUCCESS:null,APPLICATION_BUILD_SIZE_FETCH_FAIL:null,APPLICATION_BRANCHES_FETCH_SUCCESS:null,APPLICATION_BRANCHES_FETCH_FAIL:null,OWNED_APPLICATION_BRANCHES_FETCH_SUCCESS:null,OWNED_APPLICATION_BRANCHES_FETCH_FAIL:null,APPLICATION_STORE_LOCATION_CHANGE:null,APPLICATION_STORE_DIRECTORY_UNMOUNT:null,APPLICATION_STORE_RESET_NAVIGATION:null,APPLICATION_STORE_MATURE_AGREE:null,APPLICATION_STORE_DIRECTORY_MUTE:null,APPLICATION_STORE_DIRECTORY_UNMUTE:null,APPLICATION_STORE_SET_HIDE_LIBRARY:null,APPLICATION_STORE_SET_SEARCH_QUERY:null,APPLICATION_STORE_SAVE_FILTERS:null,APPLICATION_STORE_CLEAR_DATA:null,APPLICATION_STORE_DIRECTORY_SEARCH_UPDATE:null,APPLICATION_STORE_ACCEPT_STORE_TERMS:null,APPLICATION_STORE_ACCEPT_EULA:null,APPLICATION_STORE_DIRECTORY_FETCH_SUCCESS:null,APPLICATION_STORE_DIRECTORY_FETCH_FAILURE:null,APPLICATION_STORE_DIRECTORY_LAYOUT_FETCH_START:null,APPLICATION_STORE_DIRECTORY_LAYOUT_FETCH_SUCCESS:null,STORE_LISTINGS_FETCH_SUCCESS:null,STORE_LISTING_FETCH_SUCCESS:null,SKU_FETCH_START:null,SKU_FETCH_SUCCESS:null,SKU_FETCH_FAIL:null,SKUS_FETCH_SUCCESS:null,EULA_FETCH_SUCCESS:null,DEVELOPER_TEST_MODE_AUTHORIZATION_START:null,DEVELOPER_TEST_MODE_AUTHORIZATION_SUCCESS:null,DEVELOPER_TEST_MODE_AUTHORIZATION_FAIL:null,DEVELOPER_TEST_MODE_RESET:null,DEVELOPER_TEST_MODE_RESET_ERROR:null,SKU_PURCHASE_MODAL_OPEN:null,SKU_PURCHASE_MODAL_CLOSE:null,SKU_PURCHASE_PREVIEW_FETCH_SUCCESS:null,SKU_PURCHASE_START:null,SKU_PURCHASE_SUCCESS:null,SKU_PURCHASE_FAIL:null,SKU_PURCHASE_SHOW_CONFIRMATION_STEP:null,SKU_PURCHASE_CLEAR_ERROR:null,SKU_PURCHASE_UPDATE_IS_GIFT:null,PURCHASE_CONFIRMATION_MODAL_OPEN:null,PURCHASE_CONFIRMATION_MODAL_CLOSE:null,ENTITLEMENT_FETCH_APPLICATION_START:null,ENTITLEMENT_FETCH_APPLICATION_SUCCESS:null,ENTITLEMENT_FETCH_APPLICATION_FAIL:null,ENTITLEMENT_CREATE:null,ENTITLEMENT_UPDATE:null,ENTITLEMENT_DELETE:null,ENTITLEMENTS_GIFTABLE_FETCH:null,ENTITLEMENTS_GIFTABLE_FETCH_SUCCESS:null,ENTITLEMENTS_GIFTABLE_FETCH_FAIL:null,PREMIUM_REQUIRED_MODAL_OPEN:null,PREMIUM_REQUIRED_MODAL_CLOSE:null,PREMIUM_SWITCH_PLAN_MODAL_OPEN:null,PREMIUM_SWITCH_PLAN_MODAL_CLOSE:null,LAYOUT_CREATE:null,LAYOUT_SET_PINNED:null,LAYOUT_UPDATE_WIDGET:null,LAYOUT_SET_TOP_WIDGET:null,LAYOUT_DELETE_WIDGET:null,LAYOUT_DELETE_ALL_WIDGETS:null,LAYOUT_CREATE_WIDGETS:null,CLEAR_IN_APP_NOTIFICATION:null,ENQUEUE_IN_APP_NOTIFICATION:null,VIEW_HISTORY_MARK_VIEW:null,GIF_PICKER_INITIALIZE:null,GIF_PICKER_SELECT:null,GIF_PICKER_QUERY:null,GIF_PICKER_QUERY_SUCCESS:null,GIF_PICKER_QUERY_FAILURE:null,GIF_PICKER_TRENDING_FETCH_SUCCESS:null,GIF_PICKER_SUGGESTIONS_SUCCESS:null,GIF_PICKER_TRENDING_SEARCH_TERMS_SUCCESS:null,GIF_FAVORITE_ADD:null,GIF_FAVORITE_REMOVE:null,HIDE_GUILD_TOOLTIP:null,SUBSCRIPTION_PLANS_FETCH:null,SUBSCRIPTION_PLANS_FETCH_SUCCESS:null,SUBSCRIPTION_PLANS_FETCH_FAILURE:null,BILLING_USER_TRIAL_OFFER_FETCH_SUCCESS:null,BILLING_USER_TRIAL_OFFER_ACKNOWLEDGED_SUCCESS:null,GUILD_DISCOVERY_FETCH_START:null,GUILD_DISCOVERY_FETCH_SUCCESS:null,GUILD_DISCOVERY_FETCH_FAILURE:null,GUILD_DISCOVERY_FETCH_EXPERIMENT:null,GUILD_DISCOVERY_POPULAR_FETCH_START:null,GUILD_DISCOVERY_POPULAR_FETCH_SUCCESS:null,GUILD_DISCOVERY_POPULAR_FETCH_FAILURE:null,GUILD_DISCOVERY_SEARCH_FETCH_START:null,GUILD_DISCOVERY_SEARCH_FETCH_SUCCESS:null,GUILD_DISCOVERY_SEARCH_FETCH_FAILURE:null,GUILD_DISCOVERY_SELECT_CATEGORY:null,GUILD_DISCOVERY_SEARCH_INIT:null,GUILD_DISCOVERY_CLEAR_SEARCH:null,GUILD_DISCOVERY_SEARCH_UPDATE_COUNTS:null,GUILD_DISCOVERY_SEARCH_COUNTS_FAIL:null,GUILD_DISCOVERY_CATEGORY_FETCH_SUCCESS:null,GUILD_UPDATE_DISCOVERY_METADATA_FROM_SERVER:null,GUILD_DISCOVERY_METADATA_FETCH_FAIL:null,GUILD_DISCOVERY_CATEGORY_ADD:null,GUILD_DISCOVERY_CATEGORY_DELETE:null,GUILD_DISCOVERY_CATEGORY_UPDATE_FAIL:null,GUILD_UPDATE_DISCOVERY_METADATA:null,GUILD_UPDATE_DISCOVERY_METADATA_FAIL:null,DISCOVER_GUILDS_FETCH_START:null,DISCOVER_GUILDS_FETCH_SUCCESS:null,DISCOVER_GUILDS_FETCH_FAILURE:null,DISCOVER_CHECKLIST_FETCH_START:null,DISCOVER_CHECKLIST_FETCH_SUCCESS:null,DISCOVER_CHECKLIST_FETCH_FAILURE:null,GUILD_POPOUT_FETCH_START:null,GUILD_POPOUT_FETCH_SUCCESS:null,GUILD_POPOUT_FETCH_FAILURE:null,NEWS_EDITOR_MODAL_OPEN:null,NEWS_EDITOR_MODAL_CLOSE:null,STREAM_START:null,STREAM_SET_PAUSED:null,STREAM_STOP:null,STREAM_CLOSE:null,STREAM_WATCH:null,STREAM_CREATE:null,STREAM_SERVER_UPDATE:null,STREAM_UPDATE:null,STREAM_TIMED_OUT:null,STREAM_DELETE:null,STREAM_STATS_UPDATE:null,STREAM_PREVIEW_FETCH_START:null,STREAM_PREVIEW_FETCH_SUCCESS:null,STREAM_PREVIEW_FETCH_FAIL:null,STREAM_UPDATE_SETTINGS:null,STREAM_LAYOUT_UPDATE:null,STREAM_SET_HACKY_MAC_MODE:null,GUILD_STREAM_START:null,DETECTED_OFF_PLATFORM_PREMIUM_PERKS_DISMISS:null,POPOUT_WINDOW_OPEN:null,POPOUT_WINDOW_CLOSE:null,CHANNEL_CALL_POPOUT_WINDOW_OPEN:null,POPOUT_WINDOW_SET_ALWAYS_ON_TOP:null,TRENDING_APPLICATIONS_FETCH:null,TRENDING_APPLICATIONS_FETCH_SUCCESS:null,TRENDING_APPLICATIONS_FETCH_FAIL:null,HOTSPOT_HIDE:null,CHANNEL_FOLLOWER_STATS_FETCH_START:null,CHANNEL_FOLLOWER_STATS_FETCH_SUCCESS:null,CHANNEL_FOLLOWER_STATS_FETCH_FAILURE:null,CHANNEL_FOLLOWER_CREATED:null,CHANNEL_FOLLOWING_PUBLISH_BUMP_DISMISSED:null,CHANNEL_FOLLOWING_PUBLISH_BUMP_HIDE_PERMANENTLY:null,SHOW_ACTION_SHEET:null,HIDE_ACTION_SHEET:null,SHOW_ACTION_SHEET_QUICK_SWITCHER:null,HIDE_ACTION_SHEET_QUICK_SWITCHER:null,TOAST_OPEN:null,TOAST_CLOSE:null,GLOBAL_CLIPBOARD_PASTE:null,NOW_PLAYING_MOUNTED:null,NOW_PLAYING_UNMOUNTED:null,GUILD_TEMPLATE_RESOLVE:null,GUILD_TEMPLATE_RESOLVE_SUCCESS:null,GUILD_TEMPLATE_RESOLVE_FAILURE:null,GUILD_TEMPLATE_LOAD_FOR_GUILD_SUCCESS:null,GUILD_TEMPLATE_ACCEPT:null,GUILD_TEMPLATE_ACCEPT_SUCCESS:null,GUILD_TEMPLATE_ACCEPT_FAILURE:null,GUILD_TEMPLATE_CREATE_SUCCESS:null,GUILD_TEMPLATE_SYNC_SUCCESS:null,GUILD_TEMPLATE_DELETE_SUCCESS:null,GUILD_TEMPLATE_MODAL_SHOW:null,GUILD_TEMPLATE_MODAL_HIDE:null,GUILD_TEMPLATE_DIRTY_TOOLTIP_REFRESH:null,GUILD_TEMPLATE_DIRTY_TOOLTIP_HIDE:null,GUILD_TEMPLATE_PROMOTION_TOOLTIP_HIDE:null,GUILD_TEMPLATE_PROMOTION_SETTINGS_DOT_HIDE:null,BUILD_OVERRIDE_RESOLVED:null,CURRENT_BUILD_OVERRIDE_RESOLVED:null,BUILD_OVERRIDE_APPLIED:null,BUILD_OVERRIDE_CLEARED:null,PULSE_START:null,PULSE_STOP:null,GUILD_PROGRESS_INITIALIZE:null,GUILD_PROGRESS_COMPLETED_SEEN:null,GUILD_PROGRESS_DISMISS:null,WELCOME_SCREEN_FETCH_START:null,WELCOME_SCREEN_FETCH_SUCCESS:null,WELCOME_SCREEN_FETCH_FAIL:null,WELCOME_SCREEN_UPDATE:null,WELCOME_SCREEN_VIEW:null,WELCOME_SCREEN_SUBMIT:null,WELCOME_SCREEN_SUBMIT_SUCCESS:null,WELCOME_SCREEN_SUBMIT_FAILURE:null,WELCOME_SCREEN_SETTINGS_RESET:null,WELCOME_SCREEN_SETTINGS_UPDATE:null,MEMBER_VERIFICATION_FORM_UPDATE:null,MEMBER_VERIFICATION_FORM_FETCH_FAIL:null,ONLINE_GUILD_MEMBER_COUNT_UPDATE:null,GUILD_JOIN_REQUESTS_FETCH_START:null,GUILD_JOIN_REQUESTS_FETCH_SUCCESS:null,GUILD_JOIN_REQUESTS_FETCH_FAILURE:null,GUILD_JOIN_REQUEST_CREATE:null,GUILD_JOIN_REQUEST_UPDATE:null,GUILD_JOIN_REQUEST_DELETE:null,SET_INITIAL_MEMBER_VERIFICATION:null,GUILD_JOIN_REQUESTS_BULK_ACTION:null,USER_GUILD_JOIN_REQUEST_UPDATE:null,ACK_APPROVED_GUILD_JOIN_REQUEST:null,USER_JOIN_REQUEST_GUILDS_FETCH:null,AGE_GATE_MARK_UNDERAGE_ANONYMOUS:null,AGE_GATE_MODAL_OPEN:null,AGE_GATE_MODAL_CLOSE:null,AGE_GATE_SUCCESS_MODAL_OPEN:null,AGE_GATE_FAILURE_MODAL_OPEN:null,AGE_GATE_LOGOUT_UNDERAGE_NEW_USER:null,AGE_GATE_PREVENT_UNDERAGE_REGISTRATION:null,HUB_VERIFY_EMAIL_SUCCESS:null,HUB_VERIFY_EMAIL_FAILURE:null,GUILD_DIRECTORY_FETCH_START:null,GUILD_DIRECTORY_FETCH_SUCCESS:null,GUILD_DIRECTORY_FETCH_FAILURE:null,GUILD_DIRECTORY_ENTRY_CREATE:null,GUILD_DIRECTORY_ENTRY_DELETE:null,GUILD_DIRECTORY_SEARCH_START:null,GUILD_DIRECTORY_SEARCH_SUCCESS:null,GUILD_DIRECTORY_SEARCH_FAILURE:null,GUILD_DIRECTORY_SEARCH_CLEAR:null,GUILD_DIRECTORY_CACHED_SEARCH:null,GUILD_DIRECTORY_ENTRY_UPDATE:null,DOMAIN_MIGRATION_START:null,DOMAIN_MIGRATION_FAILURE:null,DOMAIN_MIGRATION_SKIP:null,VIEW_AS_ROLES_UPDATE:null,VIEW_AS_ROLES_STOP:null,NUF_NEW_USER:null,NUF_COMPLETE:null,STICKER_PACK_FETCH_SUCCESS:null,STICKER_PACKS_FETCH_START:null,STICKER_PACKS_FETCH_SUCCESS:null,STICKER_TRACK_USAGE:null,STICKER_FETCH_SUCCESS:null,GUILD_STICKERS_FETCH_SUCCESS:null,GUILD_STICKERS_CREATE_SUCCESS:null,APPLICATION_COMMAND_CREATE:null,APPLICATION_COMMAND_DELETE:null,APPLICATION_COMMAND_UPDATE:null,APPLICATION_COMMAND_SET_ACTIVE_COMMAND:null,APPLICATION_COMMAND_SET_PREFERRED_COMMAND:null,APPLICATION_COMMAND_UPDATE_OPTIONS:null,CREATE_PENDING_REPLY:null,SET_PENDING_REPLY_SHOULD_MENTION:null,DELETE_PENDING_REPLY:null,ADD_STICKER_PREVIEW:null,CLEAR_STICKER_PREVIEW:null,APPLICATION_COMMAND_QUERY_REQUEST:null,APPLICATIONS_REQUEST:null,APPLICATION_COMMAND_DISCOVERY_REQUEST:null,CLEAR_GUILD_DISCOVERY_COMMANDS:null,GUILD_APPLICATION_COMMANDS_UPDATE:null,DM_APPLICATION_COMMANDS_UPDATE:null,INTERACTION_QUEUE:null,INTERACTION_CREATE:null,INTERACTION_CANCEL:null,INTERACTION_SUCCESS:null,INTERACTION_FAILURE:null,LOAD_MESSAGE_INTERACTION_DATA_SUCCESS:null,PHONE_SET_COUNTRY_CODE:null,SET_SOUNDPACK:null,STAGE_INSTANCE_CREATE:null,STAGE_INSTANCE_UPDATE:null,STAGE_INSTANCE_DELETE:null,GUILD_SCHEDULED_EVENT_CREATE:null,GUILD_SCHEDULED_EVENT_UPDATE:null,FETCH_GUILD_EVENTS_FOR_GUILD:null,GUILD_SCHEDULED_EVENT_USER_CREATE:null,GUILD_SCHEDULED_EVENT_USER_DELETE:null,GUILD_SCHEDULED_EVENT_RSVPS_FETCH_SUCESS:null,GUILD_SCHEDULED_EVENT_RSVPS_FETCH_FAILURE:null,CONTACT_SYNC_ONBOARDING_CLOSE:null,CONTACT_SYNC_SUGGESTIONS_SETTING_FETCH_SUCCESS:null,CONTACT_SYNC_SUGGESTIONS_SETTING_FETCH_ERROR:null,GUILD_JOIN_SURVEY_CLOSE:null,MESSAGE_LENGTH_UPSELL:null,QUEUE_INTERACTION_COMPONENT_STATE:null,ACTIVE_OUTBOUND_PROMOTIONS_FETCH:null,ACTIVE_OUTBOUND_PROMOTIONS_FETCH_SUCCESS:null,ACTIVE_OUTBOUND_PROMOTIONS_FETCH_FAIL:null,GUILD_PROMPT_VIEWED:null,OUTBOUND_PROMOTION_NOTICE_DISMISS:null,OUTBOUND_PROMOTIONS_SEEN:null});t.ActionTypes=L,t.LoginStates=R,function(e){e.NONE="NONE",e.LOGGING_IN="LOGGING_IN",e.ACCOUNT_SCHEDULED_FOR_DELETION="ACCOUNT_SCHEDULED_FOR_DELETION",e.ACCOUNT_DISABLED="ACCOUNT_DISABLED",e.MFA_STEP="MFA_STEP",e.LOGGING_IN_MFA="LOGGING_IN_MFA",e.MFA_SMS_STEP="MFA_SMS_STEP",e.LOGGING_IN_MFA_SMS="LOGGING_IN_MFA_SMS",e.LOGIN_AGE_GATE="LOGIN_AGE_GATE",e.PASSWORD_RECOVERY_PHONE_VERIFICATION="PASSWORD_RECOVERY_VERIFY_PHONE",e.PHONE_IP_AUTHORIZATION="PHONE_IP_AUTHORIZATION"}(R||(t.LoginStates=R={})),t.RegistrationStates=b,function(e){e.NONE="NONE",e.REGISTERING="REGISTERING",e.REGISTER_AGE_GATE="REGISTER_AGE_GATE",e.REGISTER_WITH_ERROR="REGISTER_WITH_ERROR"}(b||(t.RegistrationStates=b={}));var D=(0,o.default)({OPEN:null,SUBMITTING:null,CLOSED:null});t.FormStates=D;var C=(0,o.default)({SERVER_NEXT:null,SERVER_PREV:null,CHANNEL_NEXT:null,CHANNEL_PREV:null,NAVIGATE_BACK:null,NAVIGATE_FORWARD:null,UNREAD_NEXT:null,UNREAD_PREV:null,MENTION_CHANNEL_NEXT:null,MENTION_CHANNEL_PREV:null,JUMP_TO_CURRENT_CALL:null,TOGGLE_SETTINGS:null,TOGGLE_HELP:null,TOGGLE_USERS:null,TOGGLE_INBOX_UNREADS_TAB:null,MARK_TOP_INBOX_CHANNEL_READ:null,TOGGLE_CHANNEL_PINS:null,TOGGLE_PREVIOUS_GUILD:null,TOGGLE_MUTE:null,TOGGLE_DEAFEN:null,TOGGLE_HOTKEYS:null,TOGGLE_CATEGORY_COLLAPSED:null,UPLOAD_FILE:null,SEARCH_EMOJIS:null,SEARCH_GIFS:null,SEARCH_STICKERS:null,MARK_CHANNEL_READ:null,MARK_SERVER_READ:null,MENTION_NEXT:null,MENTION_PREV:null,CREATE_DM_GROUP:null,CREATE_GUILD:null,RETURN_TO_AUDIO_CHANNEL:null,CALL_ACCEPT:null,CALL_DECLINE:null,CALL_START:null,SCROLL_UP:null,SCROLL_DOWN:null,TEXTAREA_FOCUS:null,CLOSE_MODAL:null,SUBMIT:null,EDIT_LAST_MESSAGE:null,JUMP_TO_GUILD:null,JUMP_TO_FIRST_UNREAD:null,JUMP_TO_PRESENT:null,FOCUS_SEARCH:null,QUICKSWITCHER_SHOW:null,QUICKSWITCHER_HIDE:null,ZOOM_IN:null,ZOOM_OUT:null,ZOOM_RESET:null,CAROUSEL_NEXT:null,CAROUSEL_PREV:null,MODAL_CAROUSEL_NEXT:null,MODAL_CAROUSEL_PREV:null});t.KeybindActions=C;var M,P=(0,o.default)({UNASSIGNED:null,PUSH_TO_TALK:null,PUSH_TO_TALK_PRIORITY:null,PUSH_TO_MUTE:null,TOGGLE_MUTE:null,TOGGLE_DEAFEN:null,TOGGLE_OVERLAY:null,TOGGLE_VOICE_MODE:null,TOGGLE_OVERLAY_INPUT_LOCK:null,TOGGLE_STREAMER_MODE:null,TOGGLE_PRIORITY_SPEAKER:null,TOGGLE_GO_LIVE_STREAMING:null,NAVIGATE_BACK:null,NAVIGATE_FORWARD:null,OVERLAY_ACTIVATE_REGION_TEXT_WIDGET:null});t.KeybindCustomActions=P,t.ModuleUpdaterEventTypes=M,function(e){e.CHECKING_FOR_UPDATES="checking-for-updates",e.INSTALLED_MODULE="installed-module",e.UPDATE_CHECK_FINISHED="update-check-finished",e.DOWNLOADING_MODULE="downloading-module",e.DOWNLOADING_MODULE_PROGRESS="downloading-module-progress",e.DOWNLOADING_MODULES_FINISHED="downloading-modules-finished",e.UPDATE_MANUALLY="update-manually",e.DOWNLOADED_MODULE="downloaded-module",e.INSTALLING_MODULES_FINISHED="installing-modules-finished",e.INSTALLING_MODULE="installing-module",e.INSTALLING_MODULE_PROGRESS="installing-module-progress",e.NO_PENDING_UPDATES="no-pending-updates"}(M||(t.ModuleUpdaterEventTypes=M={}));var w=(0,o.default)({ALL_SERVERS:null,THIS_SERVER:null});t.RecentMentionsFilters=w;var U=(0,o.default)({TRANSPORT:null,OUTBOUND:null,SCREENSHARE:null,INBOUND:null,STREAMS_OUTBOUND:null,STREAMS_INBOUND:null});t.RTCDebugSections=U;var k=(0,o.default)({LANDING:null,OVERVIEW:null,MEMBERS:null,MEMBER_EDIT:null,MEMBER_KICK:null,MEMBER_BAN:null,CHANNELS:null,ROLES:null,ROLE_EDIT:null,ROLE_PERMISSIONS:null,BANS:null,INSTANT_INVITES:null,GUILD_TEMPLATES:null,WIDGET:null,INTEGRATIONS:null,INTEGRATION_SETTINGS:null,SECURITY:null,VANITY_URL:null,EMOJI:null,AUDIT_LOG:null,AUDIT_LOG_FILTER:null,MODERATION:null,DELETE:null,DISCOVERY:null,PARTNER:null,GUILD_PREMIUM:null,ANALYTICS:null,COMMUNITY:null,COMMUNITY_WELCOME:null,MEMBER_VERIFICATION:null,TICKETED_EVENTS:null,THREADS:null,STICKERS:null,ROLE_SUBSCRIPTIONS:null,WEBHOOKS:null,EDIT_WEBHOOK:null,COMMUNITY_INTRO:null,ROLE_EDIT_REFRESH:null});t.GuildSettingsSections=k;var G=(0,o.default)({OVERVIEW:null,PERMISSIONS:null,INSTANT_INVITES:null,INTEGRATIONS:null,DELETE:null,NOTIFICATIONS:null,PINNED_MESSAGES:null,PINNED_CHAT:null,NEW_PERMISSION:null,PERMISSION_OVERRIDES:null,CHANGE_CATEGORY:null,WEBHOOKS:null,EDIT_WEBHOOK:null,CHANGE_RTC_REGION:null});t.ChannelSettingsSections=G;var Y,x=(0,o.default)({NONE:null,MEMBERS:null,SEARCH:null,THREAD:null});t.ChannelSections=x,t.FriendsSections=Y,function(e){e.ADD_FRIEND="ADD_FRIEND",e.ALL="ALL",e.ONLINE="ONLINE",e.PENDING="PENDING",e.BLOCKED="BLOCKED"}(Y||(t.FriendsSections=Y={}));var V=(0,o.default)({SEARCH:null,CHANNEL:null});t.SearchSections=V;var H=(0,o.default)({MESSAGE:null});t.MessagePreviewSections=H;var F=(0,o.default)({NEVER:null,ALL:null});t.DesktopNotificationTypes=F;var B=(0,o.default)({NEVER:null,ENABLED:null,BLOCKED:null});t.NotificationPermissionTypes=B;var j,W,K=(0,o.default)({NEVER:null,ALL_CHANNELS:null,SELECTED_CHANNEL:null});t.TTSNotificationTypes=K,t.InputModes=j,function(e){e.PUSH_TO_TALK="PUSH_TO_TALK",e.VOICE_ACTIVITY="VOICE_ACTIVITY"}(j||(t.InputModes=j={})),t.ChannelTypes=W,function(e){e[e.DM=1]="DM",e[e.GROUP_DM=3]="GROUP_DM",e[e.GUILD_TEXT=0]="GUILD_TEXT",e[e.GUILD_VOICE=2]="GUILD_VOICE",e[e.GUILD_CATEGORY=4]="GUILD_CATEGORY",e[e.GUILD_ANNOUNCEMENT=5]="GUILD_ANNOUNCEMENT",e[e.GUILD_STORE=6]="GUILD_STORE",e[e.ANNOUNCEMENT_THREAD=10]="ANNOUNCEMENT_THREAD",e[e.PUBLIC_THREAD=11]="PUBLIC_THREAD",e[e.PRIVATE_THREAD=12]="PRIVATE_THREAD",e[e.GUILD_STAGE_VOICE=13]="GUILD_STAGE_VOICE",e[e.GUILD_DIRECTORY=14]="GUILD_DIRECTORY"}(W||(t.ChannelTypes=W={}));var z=(0,o.default)({GENERIC:null,UNCLAIMED_ACCOUNT:null,UNVERIFIED_ACCOUNT:null,PENDING_MEMBER:null,DOWNLOAD_NAG:null,NOTIFICATION_NAG:null,VOICE_DISABLED:null,SCHEDULED_MAINTENANCE:null,NO_INPUT_DETECTED:null,STREAMER_MODE:null,SURVEY:null,CORRUPT_INSTALLATION:null,VIDEO_UNSUPPORTED_BROWSER:null,CONNECT_SPOTIFY:null,SPOTIFY_AUTO_PAUSED:null,PREMIUM_PROMO:null,MFA_SMS_BACKUP:null,HARDWARE_MUTE:null,DISPATCH_ERROR:null,DISPATCH_INSTALL_SCRIPT_PROGRESS:null,APPLICATION_TEST_MODE:null,PREMIUM_GRANDFATHERED_ENDING:null,PREMIUM_GRANDFATHERED_ENDED:null,DETECTED_OFF_PLATFORM_PREMIUM_PERK:null,DETECTED_OFF_PLATFORM_PREMIUM_PERK_UPSELL:null,PREMIUM_TIER_2_TRIAL_ENDING:null,LURKING_GUILD:null,VIEWING_ROLES:null,INCENTIVIZED_INSTALL:null,NOISE_DETECTED:null,INVITED_TO_SPEAK:null,OUTBOUND_PROMOTION:null});t.NoticeTypes=z;var q,X,J=(0,o.default)({RESOLVING:null,RESOLVED:null,EXPIRED:null,BANNED:null,ACCEPTING:null,ACCEPTED:null,APP_OPENING:null,APP_OPENED:null,APP_NOT_OPENED:null,ERROR:null});t.InviteStates=J,t.NativeAppStates=q,function(e){e.OPENING="OPENING",e.OPEN="OPEN",e.OPEN_FAIL="OPEN_FAIL"}(q||(t.NativeAppStates=q={})),t.CreateGuildModalScreens=X,function(e){e[e.Choose=0]="Choose",e[e.CreateGuild=1]="CreateGuild",e[e.JoinGuild=2]="JoinGuild",e[e.AcceptInvite=3]="AcceptInvite"}(X||(t.CreateGuildModalScreens=X={}));var Q=(0,o.default)({INVITE_SPLASH:null,VIP_REGIONS:null,VANITY_URL:null,MORE_EMOJI:null,MORE_STICKERS:null,VERIFIED:null,COMMERCE:null,DISCOVERABLE:null,COMMUNITY:null,FEATURABLE:null,NEWS:null,HUB:null,PARTNERED:null,ANIMATED_ICON:null,BANNER:null,ENABLED_DISCOVERABLE_BEFORE:null,WELCOME_SCREEN_ENABLED:null,MEMBER_VERIFICATION_GATE_ENABLED:null,PREVIEW_ENABLED:null,MONETIZATION_ENABLED:null,TICKETED_EVENTS_ENABLED:null,THREE_DAY_THREAD_ARCHIVE:null,SEVEN_DAY_THREAD_ARCHIVE:null,PRIVATE_THREADS:null,THREADS_ENABLED:null,THREADS_ENABLED_TESTING:null});t.GuildFeatures=Q;var Z,$,ee,te,ne,re,ie=Object.freeze({SUPPRESS_JOIN_NOTIFICATIONS:1,SUPPRESS_PREMIUM_SUBSCRIPTIONS:2,SUPPRESS_GUILD_REMINDER_NOTIFICATIONS:4});t.SystemChannelFlags=ie,t.RTCConnectionStates=Z,function(e){e.DISCONNECTED="DISCONNECTED",e.AWAITING_ENDPOINT="AWAITING_ENDPOINT",e.AUTHENTICATING="AUTHENTICATING",e.CONNECTING="CONNECTING",e.RTC_DISCONNECTED="RTC_DISCONNECTED",e.RTC_CONNECTING="RTC_CONNECTING",e.RTC_CONNECTED="RTC_CONNECTED",e.NO_ROUTE="NO_ROUTE",e.ICE_CHECKING="ICE_CHECKING"}(Z||(t.RTCConnectionStates=Z={})),t.RTCConnectionQuality=$,function(e){e.UNKNOWN="unknown",e.BAD="bad",e.AVERAGE="average",e.FINE="fine"}($||(t.RTCConnectionQuality=$={})),t.ConnectionStatus=ee,function(e){e.CONNECTED="connected",e.CONNECTING="connecting",e.ERROR="error"}(ee||(t.ConnectionStatus=ee={})),t.RTCVoiceExperiments=te,function(e){e.BWE_CONSERVATIVE_LINK_ESTIMATE="bwe_conservative_link_estimate",e.BWE_REMOTE_LOCUS_CLIENT="bwe_remote_locus_client"}(te||(t.RTCVoiceExperiments=te={})),t.ExplicitContentFilterTypes=ne,function(e){e[e.DISABLED=0]="DISABLED",e[e.NON_FRIENDS=1]="NON_FRIENDS",e[e.FRIENDS_AND_NON_FRIENDS=2]="FRIENDS_AND_NON_FRIENDS"}(ne||(t.ExplicitContentFilterTypes=ne={})),t.PageAnalyticsLocations=re,function(e){e.LOGIN="Login",e.REGISTER="Register",e.INVITE="Accept Invite Page",e.VERIFY="Verify Email",e.DISABLE_EMAIL_NOTIFICATIONS="Disable Email Notifications",e.AUTHORIZE_IP="Authorize Ip",e.RESET="Reset",e.HANDOFF="Handoff",e.UNKNOWN="Unknown",e.LANDING="Landing"}(re||(t.PageAnalyticsLocations=re={}));var oe,ae=(0,o.default)({SENT:null,SENDING:null,SEND_FAILED:null});t.MessageStates=ae,t.MessageTypes=oe,function(e){e[e.DEFAULT=0]="DEFAULT",e[e.RECIPIENT_ADD=1]="RECIPIENT_ADD",e[e.RECIPIENT_REMOVE=2]="RECIPIENT_REMOVE",e[e.CALL=3]="CALL",e[e.CHANNEL_NAME_CHANGE=4]="CHANNEL_NAME_CHANGE",e[e.CHANNEL_ICON_CHANGE=5]="CHANNEL_ICON_CHANGE",e[e.CHANNEL_PINNED_MESSAGE=6]="CHANNEL_PINNED_MESSAGE",e[e.USER_JOIN=7]="USER_JOIN",e[e.USER_PREMIUM_GUILD_SUBSCRIPTION=8]="USER_PREMIUM_GUILD_SUBSCRIPTION",e[e.USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1=9]="USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1",e[e.USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2=10]="USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2",e[e.USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3=11]="USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3",e[e.CHANNEL_FOLLOW_ADD=12]="CHANNEL_FOLLOW_ADD",e[e.GUILD_STREAM=13]="GUILD_STREAM",e[e.GUILD_DISCOVERY_DISQUALIFIED=14]="GUILD_DISCOVERY_DISQUALIFIED",e[e.GUILD_DISCOVERY_REQUALIFIED=15]="GUILD_DISCOVERY_REQUALIFIED",e[e.GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING=16]="GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING",e[e.GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING=17]="GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING",e[e.THREAD_CREATED=18]="THREAD_CREATED",e[e.REPLY=19]="REPLY",e[e.APPLICATION_COMMAND=20]="APPLICATION_COMMAND",e[e.THREAD_STARTER_MESSAGE=21]="THREAD_STARTER_MESSAGE",e[e.GUILD_INVITE_REMINDER=22]="GUILD_INVITE_REMINDER"}(oe||(t.MessageTypes=oe={}));var se=new Set([oe.REPLY,oe.THREAD_STARTER_MESSAGE]);t.MessageTypesWithLazyLoadedReferences=se;var ue=Object.freeze(((u={})[oe.DEFAULT]=!0,u[oe.CHANNEL_PINNED_MESSAGE]=!0,u[oe.USER_JOIN]=!0,u[oe.USER_PREMIUM_GUILD_SUBSCRIPTION]=!0,u[oe.USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1]=!0,u[oe.USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2]=!0,u[oe.USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3]=!0,u[oe.CHANNEL_FOLLOW_ADD]=!0,u[oe.THREAD_CREATED]=!0,u[oe.REPLY]=!0,u[oe.APPLICATION_COMMAND]=!0,u[oe.GUILD_INVITE_REMINDER]=!0,u));t.MessageTypesDeletable=ue;var le=new Set([oe.DEFAULT,oe.REPLY]);t.USER_MESSAGE_TYPES=le;var ce,de,fe=Object.freeze({CROSSPOSTED:1,IS_CROSSPOST:2,SUPPRESS_EMBEDS:4,SOURCE_MESSAGE_DELETED:8,URGENT:16,HAS_THREAD:32,EPHEMERAL:64,LOADING:128});t.MessageFlags=fe,t.NotificationTypes=ce,function(e){e.REMINDER_NOTIFICATION="Reminder Notification"}(ce||(t.NotificationTypes=ce={})),t.NotificationActionTypes=de,function(e){e.GUILD_INVITE="Guild Invite"}(de||(t.NotificationActionTypes=de={}));var _e=(0,o.default)({ALWAYS:null,NEVER:null,ONLY_WHILE_SPEAKING:null});t.OverlayDisplayNames=_e;var pe=(0,o.default)({ALWAYS:null,ONLY_WHILE_SPEAKING:null});t.OverlayDisplayUsers=pe;var Ee=(0,o.default)({GUILDS:null,VOICE:null,TEXT:null,GUILDS_TEXT:null,LOBBY_VOICE:null});t.OverlayWidgets=Ee;var he=(0,o.default)({REQUIRED:null,OPTIONAL:null,OPTIONAL_DEFAULT:null});t.OverlayWidgetLayoutPolicy=he;var me,ve,Te,ge,Ie,Se=(0,o.default)({DEFAULT:null,PINNED:null,UNPINNED:null,IN_GAME:null,IN_GAME_TEXT:null,IN_GAME_ACTIVE:null,IN_GAME_PREVIEW:null});t.OverlayWidgetTypes=Se,t.OverlayAvatarSizes=me,function(e){e.LARGE="large",e.SMALL="small"}(me||(t.OverlayAvatarSizes=me={})),t.OverlayNotificationTypes=ve,function(e){e[e.GENERIC=0]="GENERIC",e[e.TEXT=1]="TEXT",e[e.INCOMING_CALL=2]="INCOMING_CALL"}(ve||(t.OverlayNotificationTypes=ve={})),t.OverlayNotificationStatus=Te,function(e){e[e.ACTIVE=0]="ACTIVE",e[e.TIMED_OUT=1]="TIMED_OUT",e[e.DISMISSED=2]="DISMISSED"}(Te||(t.OverlayNotificationStatus=Te={})),t.OverlayNotificationPositions=ge,function(e){e.TOP_LEFT="topLeft",e.TOP_RIGHT="topRight",e.BOTTOM_LEFT="bottomLeft",e.BOTTOM_RIGHT="bottomRight",e.DISABLED="disabled"}(ge||(t.OverlayNotificationPositions=ge={})),t.OverlayNotificationTextChatTypes=Ie,function(e){e.ENABLED="ENABLED",e.DISABLED="DISABLED"}(Ie||(t.OverlayNotificationTextChatTypes=Ie={}));var ye=(0,o.default)({CONNECT:null,DISPATCH:null,LOG_MESSAGES:null,STORAGE_SYNC:null});t.OverlayEventTypes=ye;var Ae,Oe,Ne=(0,o.default)({TEXT_WIDGET:null});t.OverlayActiveRegions=Ne,t.TextareaTypes=Ae,function(e){e.NORMAL="normal",e.EDIT="edit",e.FORM="form",e.RULES_INPUT="rulesInput",e.SIDEBAR="sidebar",e.THREAD_CREATION="thread_creation"}(Ae||(t.TextareaTypes=Ae={})),t.VerificationLevels=Oe,function(e){e[e.NONE=0]="NONE",e[e.LOW=1]="LOW",e[e.MEDIUM=2]="MEDIUM",e[e.HIGH=3]="HIGH",e[e.VERY_HIGH=4]="VERY_HIGH"}(Oe||(t.VerificationLevels=Oe={}));var Re,be,Le,De=Object.freeze({ACCOUNT_AGE:5,MEMBER_AGE:10});t.VerificationCriteria=De,t.MFALevels=Re,function(e){e[e.NONE=0]="NONE",e[e.ELEVATED=1]="ELEVATED"}(Re||(t.MFALevels=Re={})),t.GuildExplicitContentFilterTypes=be,function(e){e[e.DISABLED=0]="DISABLED",e[e.MEMBERS_WITHOUT_ROLES=1]="MEMBERS_WITHOUT_ROLES",e[e.ALL_MEMBERS=2]="ALL_MEMBERS"}(be||(t.GuildExplicitContentFilterTypes=be={})),t.RelationshipTypes=Le,function(e){e[e.NONE=0]="NONE",e[e.FRIEND=1]="FRIEND",e[e.BLOCKED=2]="BLOCKED",e[e.PENDING_INCOMING=3]="PENDING_INCOMING",e[e.PENDING_OUTGOING=4]="PENDING_OUTGOING",e[e.IMPLICIT=5]="IMPLICIT"}(Le||(t.RelationshipTypes=Le={}));var Ce,Me,Pe=(0,o.default)({CONFIRM:null,SUCCESS:null,ERROR:null});t.GiftCodeModalStates=Pe,t.ActivityActionTypes=Ce,function(e){e[e.JOIN=1]="JOIN",e[e.LISTEN=3]="LISTEN",e[e.WATCH=4]="WATCH",e[e.JOIN_REQUEST=5]="JOIN_REQUEST"}(Ce||(t.ActivityActionTypes=Ce={})),t.DebugLogCategory=Me,function(e){e[e.RTC=1]="RTC",e[e.IOS_APP=2]="IOS_APP",e[e.WEB_APP=3]="WEB_APP",e[e.ANDROID_APP=4]="ANDROID_APP"}(Me||(t.DebugLogCategory=Me={}));var we="@me";t.ME=we;var Ue=Object.freeze({USER:function(e){return"/users/"+e},USER_RELATIONSHIPS:function(e){return void 0===e&&(e="@me"),"/users/"+e+"/relationships"},USER_RELATIONSHIP:function(e){return"/users/@me/relationships/"+e},USER_BULK_RELATIONSHIPS:"/users/@me/relationships/bulk",USER_PROFILE:function(e){return"/users/"+e+"/profile"},USER_CHANNELS:"/users/@me/channels",USER_ACTIVITY_METADATA:function(e,t,n){return"/users/"+e+"/sessions/"+t+"/activities/"+(n||0)+"/metadata"},USER_ACTIVITY_JOIN:function(e,t,n){return"/users/"+e+"/sessions/"+t+"/activities/"+n+"/"+Ce.JOIN},USER_ACTIVITY_STATISTICS:"/users/@me/activities/statistics/applications",APPLICATION_ACTIVITY_STATISTICS:function(e){return"/activities/statistics/applications/"+e},ACTIVITIES:"/activities",LOBBIES:"/lobbies",LOBBY:function(e){return"/lobbies/"+e},LOBBY_MEMBER:function(e,t){return"/lobbies/"+e+"/members/"+t},LOBBY_SEND:function(e){return"/lobbies/"+e+"/send"},LOBBY_SEARCH:"/lobbies/search",NETWORKING_TOKEN:"/networking/token",USER_GAMES_NOTIFICATIONS:"/users/@me/settings/game-notifications",USER_GAMES_NOTIFICATIONS_OVERRIDES:"/users/@me/settings/game-notifications/overrides",UNVERIFIED_APPLICATIONS:"/unverified-applications",UNVERIFIED_APPLICATIONS_ICONS:"/unverified-applications/icons",GUILD_ACK:function(e){return"/guilds/"+e+"/ack"},BULK_ACK:"/read-states/ack-bulk",GUILD_CHANNELS:function(e){return"/guilds/"+e+"/channels"},GUILD_MEMBERS:function(e){return"/guilds/"+e+"/members"},GUILD_MEMBER:function(e,t){return"/guilds/"+e+"/members/"+t},GUILD_MEMBER_NICK:function(e,t){return"/guilds/"+e+"/members/"+t+"/nick"},GUILD_MEMBER_AVATAR:function(e,t,n,r){return"/guilds/"+e+"/users/"+t+"/avatars/"+n+"."+r},SET_GUILD_MEMBER:function(e){return"/guilds/"+e+"/members/@me"},GUILD_JOIN:function(e){return"/guilds/"+e+"/members/@me"},GUILD_LEAVE:function(e){return"/users/@me/guilds/"+e},GUILD_INTEGRATIONS:function(e){return"/guilds/"+e+"/integrations"},GUILD_INTEGRATION:function(e,t){return"/guilds/"+e+"/integrations/"+t},GUILD_INTEGRATION_SYNC:function(e,t){return"/guilds/"+e+"/integrations/"+t+"/sync"},GUILD_BANS:function(e){return"/guilds/"+e+"/bans"},GUILD_BAN:function(e,t){return"/guilds/"+e+"/bans/"+t},GUILD_ROLES:function(e){return"/guilds/"+e+"/roles"},GUILD_ROLE_MEMBER_COUNTS:function(e){return"/guilds/"+e+"/roles/member-counts"},GUILD_ROLE_MEMBER_IDS:function(e,t){return"/guilds/"+e+"/roles/"+t+"/member-ids"},GUILD_ROLE:function(e,t){return"/guilds/"+e+"/roles/"+t},GUILD_ROLE_MEMBERS:function(e,t){return"/guilds/"+e+"/roles/"+t+"/members"},GUILD_INSTANT_INVITES:function(e){return"/guilds/"+e+"/invites"},GUILD_WIDGET:function(e){return"/guilds/"+e+"/widget"},GUILD_VANITY_URL:function(e){return"/guilds/"+e+"/vanity-url"},GUILD_MFA:function(e){return"/guilds/"+e+"/mfa"},GUILD_PRUNE:function(e){return"/guilds/"+e+"/prune"},GUILD_ICON:function(e,t,n){return void 0===n&&(n="jpg"),"/guilds/"+e+"/icons/"+t+"."+n},GUILD_TEMPLATE_ICON:function(e,t,n){return void 0===n&&(n="jpg"),"/templates/"+e+"/icons/"+t+"."+n},GUILD_DISCOVERY_CHECKLIST:function(e){return"/guilds/"+e+"/discovery-checklist"},GUILD_DISCOVERY_REQUIREMENTS:function(e){return"/guilds/"+e+"/discovery-requirements"},GUILD_EMOJIS:function(e){return"/guilds/"+e+"/emojis"},GUILD_EMOJI:function(e,t){return"/guilds/"+e+"/emojis/"+t},GUILD_AUDIT_LOG:function(e){return"/guilds/"+e+"/audit-logs"},GUILD_ANALYTICS_OVERVIEW:function(e){return"/guilds/"+e+"/analytics/overview"},GUILD_ANALYTICS_ENGAGEMENT_OVERVIEW:function(e){return"/guilds/"+e+"/analytics/engagement/overview"},GUILD_ANALYTICS_GROWTH_ACTIVATION_OVERVIEW:function(e){return"/guilds/"+e+"/analytics/growth-activation/overview"},GUILD_ANALYTICS_GROWTH_ACTIVATION_RETENTION:function(e){return"/guilds/"+e+"/analytics/growth-activation/retention"},EMOJI:function(e,t){return"/emojis/"+e+"."+t},EMOJI_GUILD_DATA:function(e){return"/emojis/"+e+"/guild"},GUILD_SPLASH:function(e,t){return"/guilds/"+e+"/splashes/"+t+".jpg"},GUILD_DISCOVERY_SPLASH:function(e,t){return"/guilds/"+e+"/discovery-splashes/"+t+".jpg"},GUILD_BANNER:function(e,t){return"/guilds/"+e+"/banners/"+t+".jpg"},GUILD_WELCOME_SCREEN:function(e){return"/guilds/"+e+"/welcome-screen"},GUILD_MEMBER_VERIFICATION:function(e){return"/guilds/"+e+"/member-verification"},GUILD_JOIN_REQUESTS:function(e){return"/guilds/"+e+"/requests"},USER_JOIN_REQUEST_GUILDS:"/users/@me/join-request-guilds",GUILD_MEMBER_REQUEST_TO_JOIN:function(e){return"/guilds/"+e+"/requests/@me"},GUILD_JOIN_REQUEST:function(e,t){return"/guilds/"+e+"/requests/"+t},GUILD_JOIN_REQUEST_ACK:function(e){return"/guilds/"+e+"/requests/@me/ack"},GUILDS:"/guilds",GUILD:function(e){return"/guilds/"+e},GUILD_DELETE:function(e){return"/guilds/"+e+"/delete"},CHANNELS:"/channels",CHANNEL:function(e){return"/channels/"+e},THREAD_MEMBER:function(e,t){return void 0===t&&(t="@me"),"/channels/"+e+"/thread-members/"+t},THREAD_MEMBER_SETTINGS:function(e){return"/channels/"+e+"/thread-members/@me/settings"},ALL_ARCHIVED_THREADS:function(e,t){return"/channels/"+e+"/threads/archived/"+t},MY_ARCHIVED_THREADS:function(e){return"/channels/"+e+"/users/@me/threads/archived/private"},PARTNER_REQUIREMENTS:function(e){return"/partners/"+e+"/requirements"},AVATAR:function(e,t){return"/users/"+e+"/avatars/"+t+".jpg"},USER_BANNER:function(e,t,n){return"/users/"+e+"/banners/"+t+"."+n},MESSAGES:function(e){return"/channels/"+e+"/messages"},MESSAGES_GREET:function(e){return"/channels/"+e+"/greet"},MESSAGE:function(e,t){return"/channels/"+e+"/messages/"+t},MESSAGE_ACK:function(e,t){return"/channels/"+e+"/messages/"+t+"/ack"},MESSAGE_CROSSPOST:function(e,t){return"/channels/"+e+"/messages/"+t+"/crosspost"},PINS_ACK:function(e){return"/channels/"+e+"/pins/ack"},PINS:function(e){return"/channels/"+e+"/pins"},PIN:function(e,t){return"/channels/"+e+"/pins/"+t},INSTANT_INVITES:function(e){return"/channels/"+e+"/invites"},TYPING:function(e){return"/channels/"+e+"/typing"},CHANNEL_PERMISSIONS:function(e){return"/channels/"+e+"/permissions"},CHANNEL_PERMISSIONS_OVERWRITE:function(e,t){return"/channels/"+e+"/permissions/"+t},CHANNEL_RECIPIENTS:function(e){return"/channels/"+e+"/recipients"},CHANNEL_RECIPIENT:function(e,t){return"/channels/"+e+"/recipients/"+t},CHANNEL_ICON:function(e,t){return"/channels/"+e+"/icons/"+t+".jpg"},CHANNEL_CONVERT:function(e){return"/channels/"+e+"/convert"},CHANNEL_ACK:function(e){return"/channels/"+e+"/messages/ack"},CHANNEL_STORE_LISTING:function(e){return"/channels/"+e+"/store-listing"},CHANNEL_STORE_LISTING_SKU:function(e,t){return"/channels/"+e+"/store-listings/"+t},CHANNEL_ENTITLEMENT_GRANT:function(e){return"/channels/"+e+"/store-listing/entitlement-grant"},CHANNEL_FOLLOWERS:function(e){return"/channels/"+e+"/followers"},CHANNEL_FOLLOWER_STATS:function(e){return"/channels/"+e+"/follower-stats"},CHANNEL_FOLLOWER_MESSAGE_STATS:function(e){return"/channels/"+e+"/follower-message-stats"},FRIEND_SUGGESTIONS:"/friend-suggestions",FRIEND_SUGGESTION:function(e){return"/friend-suggestions/"+e},TUTORIAL_INDICATORS:"/tutorial/indicators",TUTORIAL_INDICATORS_SUPPRESS:"/tutorial/indicators/suppress",TUTORIAL_INDICATOR:function(e){return"/tutorial/indicators/"+e},USERS:"/users",ME:"/users/@me",DELETE_ACCOUNT:"/users/@me/delete",DISABLE_ACCOUNT:"/users/@me/disable",DEVICES:"/users/@me/devices",SETTINGS:"/users/@me/settings",SETTINGS_CONSENT:"/users/@me/consent",PHONE:"/users/@me/phone",PHONE_VERIFY_NO_PASSWORD:"/users/@me/phone/verify",VERIFY_PHONE:"/phone-verifications/verify",VERIFY_PHONE_FOR_TICKET:"/phone-verifications/validate-support-ticket",RESEND_PHONE:"/phone-verifications/resend",CONNECTIONS:"/users/@me/connections",CONNECTIONS_AUTHORIZE:function(e){return"/connections/"+e+"/authorize"},CONNECTIONS_AUTHORIZE_CONTINUATION:function(e){return"/connections/"+e+"/authorize?continuation=true"},CONNECTIONS_CALLBACK:function(e){return"/connections/"+e+"/callback"},CONNECTION:function(e,t){return"/users/@me/connections/"+e+"/"+t},CONNECTION_SYNC_CONTACTS:"/users/@me/connections/contacts/@me/external-friend-list-entries",CONNECTION_SYNC_CONTACTS_SETTINGS:"/users/@me/connections/contacts/@me/external-friend-list-entries/settings",CONNECTION_ACCESS_TOKEN:function(e,t){return"/users/@me/connections/"+e+"/"+t+"/access-token"},CONNECTIONS_CALLBACK_CONTINUATION:function(e,t){return void 0===t&&(t=null),"/connections/"+e+"/callback-continuation"+(t?"/"+t:"")},NOTES:"/users/@me/notes",NOTE:function(e){return"/users/@me/notes/"+e},MENTIONS:"/users/@me/mentions",MENTIONS_MESSAGE_ID:function(e){return"/users/@me/mentions/"+e},CAPTCHA:"/users/@me/captcha/verify",EXPERIMENTS:"/experiments",LOGIN:"/auth/login",LOGIN_MFA:"/auth/mfa/totp",LOGIN_SMS:"/auth/mfa/sms",LOGIN_SMS_SEND:"/auth/mfa/sms/send",REMOTE_AUTH_INITIALIZE:"/users/@me/remote-auth",REMOTE_AUTH_CANCEL:"/users/@me/remote-auth/cancel",REMOTE_AUTH_FINISH:"/users/@me/remote-auth/finish",LOGOUT:"/auth/logout",REGISTER:"/auth/register",REGISTER_PHONE:"/auth/register/phone",INVITE:function(e){return"/invites/"+e},UNRESOLVED_GUILD_TEMPLATE:function(e){return"/guilds/templates/"+e},GUILD_TEMPLATES:function(e){return"/guilds/"+e+"/templates"},GUILD_TEMPLATE:function(e,t){return"/guilds/"+e+"/templates/"+t},TRACK:"/science",SSO:"/sso",VERIFY:"/auth/verify",AUTHORIZE_IP:"/auth/authorize-ip",VERIFY_RESEND:"/auth/verify/resend",FORGOT_PASSWORD:"/auth/forgot",RESET_PASSWORD:"/auth/reset",REGIONS:function(e){return null!=e?"/guilds/"+e+"/regions":"/voice/regions"},ICE:"/voice/ice",DEBUG_LOG:function(e,t){return"/debug-logs/"+e+"/"+t},DEBUG_LOGS:function(e){return"/debug-logs/multi/"+e},REPORT:"/report",REPORT_V2:"/reports",STAGE_REPORT:function(e,t){return"/reports/channels/"+e+"/messages/"+t},REPORT_OPTIONS:"/report/options",INTEGRATIONS:"/integrations",INTEGRATION_JOIN:function(e){return"/integrations/"+e+"/join"},INTEGRATION_SEARCH:function(e){return"/integrations/"+e+"/search"},USER_GUILD_SETTINGS:function(e){return"/users/@me/guilds/"+e+"/settings"},APPLICATIONS_DETECTABLE:"/applications/detectable",APPLICATION_ICON:function(e,t){return"/applications/"+e+"/app-icons/"+t+".png"},APPLICATION_RPC:function(e){return"/oauth2/applications/"+e+"/rpc"},APPLICATION_ASSETS:function(e){return"/oauth2/applications/"+e+"/assets"},OWNED_APPLICATION_BRANCHES:function(e){return"/applications/"+e+"/branches"},OAUTH2_AUTHORIZE:"/oauth2/authorize",OAUTH2_AUTHORIZE_WEBHOOK_CHANNELS:"/oauth2/authorize/webhook-channels",OAUTH2_CURRENT_AUTH:"/oauth2/@me",OAUTH2_TOKENS:"/oauth2/tokens",OAUTH2_TOKEN:function(e){return"/oauth2/tokens/"+e},OAUTH2_WHITELIST_ACCEPT:"/oauth2/allowlist/accept",MFA_TOTP_ENABLE:"/users/@me/mfa/totp/enable",MFA_TOTP_DISABLE:"/users/@me/mfa/totp/disable",MFA_SMS_ENABLE:"/users/@me/mfa/sms/enable",MFA_SMS_DISABLE:"/users/@me/mfa/sms/disable",MFA_CODES:"/users/@me/mfa/codes",CALL:function(e){return"/channels/"+e+"/call"},CALL_RING:function(e){return"/channels/"+e+"/call/ring"},CALL_STOP_RINGING:function(e){return"/channels/"+e+"/call/stop-ringing"},DISABLE_EMAIL_NOTIFICATIONS:"/users/disable-email-notifications",CHANNEL_WEBHOOKS:function(e){return"/channels/"+e+"/webhooks"},GUILD_WEBHOOKS:function(e){return"/guilds/"+e+"/webhooks"},WEBHOOK:function(e){return"/webhooks/"+e},WEBHOOK_INTEGRATION:function(e,t){return"/webhooks/"+e+"/"+t},REACTIONS:function(e,t,n){return"/channels/"+e+"/messages/"+t+"/reactions/"+n},REMOVE_REACTIONS:function(e,t){return"/channels/"+e+"/messages/"+t+"/reactions"},REACTION:function(e,t,n,r){return"/channels/"+e+"/messages/"+t+"/reactions/"+n+"/"+r},SEARCH_GUILD:function(e){return"/guilds/"+e+"/messages/search"},GUILD_APPLICATIONS:function(e){return"/guilds/"+e+"/applications"},GUILD_PREMIUM_SUBSCRIPTIONS:function(e){return"/guilds/"+e+"/premium/subscriptions"},GUILD_PREMIUM_SUBSCRIPTION:function(e,t){return"/guilds/"+e+"/premium/subscriptions/"+t},GUILD_PREMIUM_SUBSCRIPTION_COOLDOWN:"/users/@me/guilds/premium/subscriptions/cooldown",USER_GUILD_PREMIUM_SUBSCRIPTIONS:"/users/@me/guilds/premium/subscriptions",USER_PREMIUM_GUILD_SUBSCRIPTION_SLOTS:"/users/@me/guilds/premium/subscription-slots",USER_PREMIUM_GUILD_SUBSCRIPTION_SLOT_CANCEL:function(e){return"/users/@me/guilds/premium/subscription-slots/"+e+"/cancel"},USER_PREMIUM_GUILD_SUBSCRIPTION_SLOT_UNCANCEL:function(e){return"/users/@me/guilds/premium/subscription-slots/"+e+"/uncancel"},SEARCH_CHANNEL:function(e){return"/channels/"+e+"/messages/search"},BILLING_STRIPE_SETUP_INTENT_SECRET:"/users/@me/billing/stripe/setup-intents",BILLING_PAYMENT_SOURCES:"/users/@me/billing/payment-sources",BILLING_PAYMENT_SOURCE:function(e){return"/users/@me/billing/payment-sources/"+e},BILLING_PAYMENTS:"/users/@me/billing/payments",BILLING_PAYMENT:function(e){return"/users/@me/billing/payments/"+e},BILLING_PAYMENTS_VOID:function(e){return"/users/@me/billing/payments/"+e+"/void"},BILLING_STRIPE_PAYMENT_INTENTS:function(e){return"/users/@me/billing/stripe/payment-intents/payments/"+e},BILLING_PAYPAL_BILLING_AGREEMENT_TOKENS:"/users/@me/billing/paypal/billing-agreement-tokens",BILLING_BRAINTREE_POPUP_BRIDGE:"/billing/braintree/popup-bridge",BILLING_BRAINTREE_POPUP_BRIDGE_CALLBACK:"/billing/braintree/popup-bridge/callback",BILLING_BRAINTREE_POPUP_BRIDGE_CALLBACK_REDIRECT:function(e){return"/billing/braintree/popup-bridge/callback/"+e+"/"},BILLING_SUBSCRIPTIONS:"/users/@me/billing/subscriptions",BILLING_SUBSCRIPTIONS_PREVIEW:"/users/@me/billing/subscriptions/preview",BILLING_APPLY_APPLE_RECEIPT:"/billing/apple/apply-receipt",BILLING_SUBSCRIPTION:function(e){return"/users/@me/billing/subscriptions/"+e},BILLING_SUBSCRIPTION_PREVIEW:function(e){return"/users/@me/billing/subscriptions/"+e+"/preview"},BILLING_INVOICE_PREVIEW:"/users/@me/billing/invoices/preview",USER_AGREEMENTS:"/users/@me/agreements",USER_ACHIEVEMENTS:function(e){return"/users/@me/applications/"+e+"/achievements"},USER_ACHIEVEMENTS_FOR_USER:function(e,t,n){return"/users/"+e+"/applications/"+t+"/achievements/"+n},HANDOFF:"/auth/handoff",HANDOFF_EXCHANGE:"/auth/handoff/exchange",LIBRARY:"/users/@me/library",LIBRARY_APPLICATION_BRANCH:function(e,t){return"/users/@me/library/"+e+"/"+t},LIBRARY_APPLICATION_DELETE:function(e){return"/users/@me/library/"+e},AUTH_LOCATION_METADATA:"/auth/location-metadata",USER_HARVEST:"/users/@me/harvest",APPLICATION_LIVE_BUILD:function(e,t){return"/applications/"+e+"/branches/"+t+"/builds/live"},APPLICATION_BUILD_SIZE:function(e,t,n){return"/applications/"+e+"/branches/"+t+"/builds/"+n+"/size"},APPLICATION_BRANCHES:"/branches",APPLICATION_PUBLIC:function(e){return"/applications/"+e+"/public"},APPLICATIONS_PUBLIC:"/applications/public",APPLICATIONS_TRENDING:"/applications/trending/global",APPLICATION_BRANCH_LIST:function(e){return"/applications/"+e+"/branches"},LIBRARY_APPLICATION_INSTALLED:function(e,t){return"/users/@me/library/"+e+"/"+t+"/installed"},STORE_DIRECTORY_LAYOUT:function(e){return"/store/directory-layouts/"+e},STORE_DIRECTORY:function(e){return"/store/directory/"+e},STORE_PUBLISHED_LISTINGS_APPLICATIONS:"/store/published-listings/applications",STORE_PUBLISHED_LISTINGS_APPLICATION:function(e){return"/store/published-listings/applications/"+e},STORE_PUBLISHED_LISTINGS_SKUS:"/store/published-listings/skus",STORE_PUBLISHED_LISTINGS_SKU:function(e){return"/store/published-listings/skus/"+e},STORE_PUBLISHED_LISTINGS_SKU_JOIN_GUILD:function(e){return"/store/published-listings/skus/"+e+"/guild/join"},STORE_PUBLISHED_LISTINGS_SUBSCRIPTION_PLANS:function(e){return"/store/published-listings/skus/"+e+"/subscription-plans"},STORE_SKU:function(e){return"/store/skus/"+e},STORE_SKU_PURCHASE:function(e){return"/store/skus/"+e+"/purchase"},STORE_LISTING:function(e){return"/store/listings/"+e},STORE_LISTINGS_SKU:function(e){return"/store/skus/"+e+"/listings"},APPLICATION_SKUS:function(e){return"/applications/"+e+"/skus"},STORE_EULA:function(e){return"/store/eulas/"+e},ENTITLEMENTS_FOR_APPLICATION:function(e){return"/users/@me/applications/"+e+"/entitlements"},ENTITLEMENT_TICKET:function(e){return"/users/@me/applications/"+e+"/entitlement-ticket"},APPLICATION_TICKET:function(e){return"/users/@me/applications/"+e+"/ticket"},ENTITLEMENTS_GIFTABLE:"/users/@me/entitlements/gifts",STORE_ASSET:function(e,t,n){return"/store/applications/"+e+"/assets/"+t+"."+n},HYPESQUAD_ONLINE:"/hypesquad/online",APPLICATION_STORAGE:function(e,t){return"/applications/"+e+"/branches/"+t+"/storage"},GIFS_SEARCH:"/gifs/search",GIFS_TRENDING:"/gifs/trending",GIFS_TRENDING_GIFS:"/gifs/trending-gifs",GIFS_SELECT:"/gifs/select",GIFS_SUGGEST:"/gifs/suggest",GIFS_TRENDING_SEARCH:"/gifs/trending-search",GIFT_CODE_RESOLVE:function(e){return"/entitlements/gift-codes/"+e},GIFT_CODE_REDEEM:function(e){return"/entitlements/gift-codes/"+e+"/redeem"},USER_GIFT_CODE_CREATE:"/users/@me/entitlements/gift-codes",USER_GIFT_CODE_REVOKE:function(e){return"/users/@me/entitlements/gift-codes/"+e},USER_GIFT_CODES:"/users/@me/entitlements/gift-codes",USER_TRIAL_OFFER:function(e){return"/users/@me/billing/user-trial-offer/"+e},USER_TRIAL_OFFER_ACKNOWLEDGED:function(e){return"/users/@me/billing/user-trial-offer/"+e+"/ack"},GUILD_DISCOVERY:"/discoverable-guilds",GUILD_DISCOVERY_CATEGORIES:"/discovery/categories",GUILD_DISCOVERY_VALID_TERM:"/discovery/valid-term",GUILD_DISCOVERY_METADATA:function(e){return"/guilds/"+e+"/discovery-metadata"},GUILD_DISCOVERY_UPDATE_CATEGORY:function(e,t){return"/guilds/"+e+"/discovery-categories/"+t},STREAM_PREVIEW:function(e){return"/streams/"+e+"/preview"},STREAM_NOTIFY:function(e){return"/streams/"+e+"/notify"},STREAM:function(e){return"/streams/"+e+"/stream"},GUILD_PREVIEW:function(e){return"/guilds/"+e+"/preview"},USER_AFFINITIES:"/users/@me/affinities/users",GUILD_AFFINITIES:"/users/@me/affinities/guilds",FUNIMATION_PROMOTION:"/promotions/funimation",PARTNERS_CONNECTIONS:"/partners/connections",PARTNERS_APPLY:"/partners/apply",STICKER_PACK:function(e){return"/sticker-packs/"+e},STORE_DIRECTORY_LAYOUT_STICKER_PACKS:function(e){return"/sticker-packs/directory-v2/"+e},USER_STICKER_PACKS:"/users/@me/sticker-packs",STICKER_ASSET:function(e,t){return"/stickers/"+e+"."+t},STICKER:function(e){return"/stickers/"+e},STICKER_PACKS:"/sticker-packs",GUILD_STICKER_PACKS:function(e){return"/guilds/"+e+"/stickers"},GUILD_STICKER:function(e,t){return"/guilds/"+e+"/stickers/"+t},STICKER_GUILD_DATA:function(e){return"/stickers/"+e+"/guild"},INTERACTIONS:"/interactions",MESSAGE_INTERACTION_DATA:function(e,t){return"/channels/"+e+"/messages/"+t+"/interaction-data"},ACTIVITY_JOIN_TICKET:function(e,t,n){return"/activities/applications/"+e+"/"+t+"/"+n+"/join-ticket"},CHANNEL_THREADS:function(e){return"/channels/"+e+"/threads"},CHANNEL_MESSAGE_THREADS:function(e,t){return"/channels/"+e+"/messages/"+t+"/threads"},ICENTIVIZED_INSTALL:"/users/@me/incentivized-install",APPLICATION_BOT_COMMANDS:function(e){return"/applications/"+e+"/commands"},UPDATE_VOICE_STATE:function(e,t){return void 0===t&&(t="@me"),"/guilds/"+e+"/voice-states/"+t},GET_REPORT_MENU:function(e){return"/reporting/menu/"+e},SUBMIT_REPORT_MENU:function(e){return"/reporting/"+e},STAGE_INSTANCES:"/stage-instances",STAGE_INSTANCES_EXTRA:"/stage-instances/extra",STAGE_INSTANCE:function(e){return"/stage-instances/"+e},USER_SURVEY:"/users/@me/survey",GUILD_EVENTS:"/guild-events",GUILD_EVENT:function(e){return"/guild-events/"+e},GUILD_EVENT_IMAGE:function(e,t,n){return"/guild-events/"+e+"/images/"+t+"."+n},USER_GUILD_EVENTS:"/users/@me/guild-events",USER_GUILD_EVENT:function(e){return"/users/@me/guild-events/"+e},GUILD_EVENTS_FOR_GUILD:function(e){return"/guilds/"+e+"/events"},DIRECTORY_CHANNEL_ENTRIES:function(e){return"/channels/"+e+"/directory-entries"},DIRECTORY_CHANNEL_ENTRY:function(e,t){return"/channels/"+e+"/directory-entry/"+t},DIRECTORY_ENTRIES_SEARCH:function(e){return"/channels/"+e+"/directory-entries/search"},PRICE_TIERS:"/store/price-tiers",TEAMS:"/teams",APPLICATIONS:"/applications",HUB_WAITLIST_SIGNUP:"/hub-waitlist/signup",HUB_EMAIL_VERIFY:"/guilds/automations/email-domain-lookup/verify",OUTBOUND_PROMOTIONS:"/outbound-promotions",OUTBOUND_PROMOTIONS_PREVIEW:"/outbound-promotions/preview",CLAIMED_OUTBOUND_PROMOTION_CODES:"/users/@me/outbound-promotions/codes",CLAIM_OUTBOUND_PROMOTION_CODE:function(e){return"/outbound-promotions/"+e+"/claim"},HUB_EMAIL_VERIFY_SEND:"/guilds/automations/email-domain-lookup",GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS:function(e){return"/guild-role-subscription-group-listings"+(null!=e?"/"+e:"")},GUILD_ROLE_SUBSCRIPTION_LISTINGS:function(e,t){return"/guild-role-subscription-group-listings/"+e+"/subscription-listings"+(null!=t?"/"+t:"")},GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS_FOR_GUILD:function(e){return"/guilds/"+e+"/guild-role-subscription-group-listings"}}),ke=Object.freeze({INDEX:"/",APP:"/app",ACTIVITY:"/activity",APPLICATION_LIBRARY:"/library",APPLICATION_LIBRARY_INVENTORY:"/library/inventory",APPLICATION_LIBRARY_ACTION:function(e,t){return"/library/"+e+"/"+t},APPLICATION_LIBRARY_SETTINGS:"/library/settings",APPLICATION_STORE:"/store",APPLICATION_STORE_LISTING_SKU:function(e,t){return"/store/skus/"+e+(null!=t?"/"+t:"")},APPLICATION_STORE_LISTING_APPLICATION:function(e,t){return"/store/applications/"+e+(null!=t?"/"+t:"")},BILLING_PREFIX:"/billing",BILLING_LOGIN_HANDOFF:"/billing/login/handoff",BILLING_PREMIUM_SUBSCRIBE:"/billing/premium/subscribe",BILLING_PAYMENT_SOURCES_CREATE:"/billing/payment-sources/create",BILLING_PREMIUM_SWITCH_PLAN:"/billing/premium/switch-plan",BILLING_GUILD_SUBSCRIPTIONS_PURCHASE:"/billing/guild-subscriptions/purchase",BILLING_PAYMENTS:"/billing/payments",BILLING_PROMOTION_REDEMPTION:function(e){return"/billing/promotions/"+e},FRIENDS:"/channels/@me",ME:"/channels/@me",CHANNEL:function(e,t,n){var r=null==t?"/channels/"+(e||we):"/channels/"+(e||we)+"/"+t;return null==n?r:r+"/"+n},LOGIN:"/login",LOGIN_HANDOFF:"/login/handoff",REGISTER:"/register",INVITE:function(e){return"/invite/"+e},INVITE_LOGIN:function(e){return"/invite/"+e+"/login"},INVITE_PROXY:function(e){return"/invite-proxy/"+e},GUILD_TEMPLATE:function(e){return"/template/"+e},GUILD_TEMPLATE_LOGIN:function(e){return"/template/"+e+"/login"},GIFT_CODE:function(e){return"/gifts/"+e},GIFT_CODE_LOGIN:function(e){return"/gifts/"+e+"/login"},WELCOME:function(e,t){return null!=t?"/welcome/"+(e||we)+"/"+t:"/welcome/"+(e||we)},VERIFY:"/verify",VERIFY_REQUEST:"/verify-request",RESET:"/reset",APPS:"/apps",CONNECTIONS:function(e){return"/connections/"+e},CONNECT_AUTHORIZE:"/connect/authorize",OAUTH2_AUTHORIZE:"/oauth2/authorize",OAUTH2_AUTHORIZED:"/oauth2/authorized",OAUTH2_ERROR:"/oauth2/error",SETTINGS:function(e,t){return"/settings/"+e+(t?"/"+t:"")},CHANGELOGS:function(e){return"/settings/changelogs"+(null!=e?"/"+e:"")},USERS:function(e){return"/users/"+e},GUILD_CREATE:"/guilds/create",DISABLE_EMAIL_NOTIFICATIONS:"/disable-email-notifications",AUTHORIZE_IP:"/authorize-ip",HANDOFF:"/handoff",DOMAIN_MIGRATION:"/domain-migration",XBOX_EDU:"/connections/xbox/intro",XBOX_PIN:"/connections/xbox/pin",DOWNLOAD_QR_CODE_REDIRECT:"/download-qr-code",BILLING_BRAINTREE_POPUP_BRIDGE_CALLBACK:"/billing/braintree/popup-bridge/callback",OAUTH2_WHITELIST_ACCEPT:"/oauth2/allowlist/accept",OVERLAY:function(e){return location.protocol+"//"+location.host+"/overlay?build_id="+(null==="337b0b53d10875228a5b553e10dbfb3f270aa0dd"?void 0:"337b0b53d10875228a5b553e10dbfb3f270aa0dd".substr(0,7))+"&rpc="+e},GUILD_DISCOVERY:"/guild-discovery",STAGE_DISCOVERY:"/discovery",GUILD_MEMBER_VERIFICATION:function(e,t){return"/member-verification/"+e+(null!=t?"/"+t:"")},GUILD_MEMBER_VERIFICATION_FOR_HUB:function(e,t){return"/member-verification-for-hub/"+e+(null!=t?"/"+t:"")},POPOUT_WINDOW:"/popout",GUILD_PROGRESS:function(e){return"/guild-progress/"+e},LOTTIE_STICKERS_TEST:"/lottie-stickers-test",UPCOMING_STAGES:function(e,t){return"/guild-stages/"+e+(null!=t?"/"+t:"")},VERIFY_HUB_EMAIL:"/verify-hub-email"}),Ge=(0,S.wrapPaths)(Ue);t.Endpoints=Ge;var Ye,xe=(0,S.wrapPaths)(ke,[":","?","@"]);t.Routes=xe,t.RPC_SCOPE_CONFIG=Ye,function(e){e.ANY="$any",e.ALL="$all"}(Ye||(t.RPC_SCOPE_CONFIG=Ye={}));t.RPC_PRIVATE_SCOPE="RPC_PRIVATE_SCOPE";t.RPC_PRIVATE_LIMITED_SCOPE="RPC_PRIVATE_LIMITED_SCOPE";t.RPC_LOCAL_SCOPE="RPC_LOCAL_SCOPE";t.RPC_AUTHENTICATED_SCOPE="RPC_AUTHENTICATED_SCOPE";var Ve=(0,o.default)({USER_SETTINGS:null,CHANGELOG:null,LIBRARY:null,STORE_HOME:null,STORE_LISTING:null});t.RPCDeepLinks=Ve;var He=Object.freeze({UNKNOWN_ERROR:1e3,SERVICE_UNAVAILABLE:1001,TRANSACTION_ABORTED:1002,INVALID_PAYLOAD:4e3,INVALID_COMMAND:4002,INVALID_GUILD:4003,INVALID_EVENT:4004,INVALID_CHANNEL:4005,INVALID_PERMISSIONS:4006,INVALID_CLIENTID:4007,INVALID_ORIGIN:4008,INVALID_TOKEN:4009,INVALID_USER:4010,INVALID_INVITE:4011,INVALID_ACTIVITY_JOIN_REQUEST:4012,INVALID_LOBBY:4013,INVALID_LOBBY_SECRET:4014,INVALID_ENTITLEMENT:4015,INVALID_GIFT_CODE:4016,INVALID_GUILD_TEMPLATE:4017,OAUTH2_ERROR:5e3,SELECT_CHANNEL_TIMED_OUT:5001,GET_GUILD_TIMED_OUT:5002,SELECT_VOICE_FORCE_REQUIRED:5003,INVALID_ACTIVITY_SECRET:5005,NO_ELIGIBLE_ACTIVITY:5006,LOBBY_FULL:5007,PURCHASE_CANCELED:5008,PURCHASE_ERROR:5009,UNAUTHORIZED_FOR_ACHIEVEMENT:5010,RATE_LIMITED:5011});t.RPCErrors=He;var Fe,Be=Object.freeze({APPLICATION_NOT_FOUND:101,DISK_LOW:2022,DISK_PERMISSION_DENIED:2025,POST_INSTALL_FAILED:2025,REDISTRIBUTABLE_INSTALL_FAILED:2026,APPLICATION_LOAD_FAILED:2034,DESERIALIZATION_FAILED:2047,INTERRUPTED:2055,MAX_REQUEST_RETRIES_EXCEEDED:2058,AUTHENTICATION_FAILED:2063,IO_PERMISSION_DENIED:2064,NO_MANIFESTS:2065,POST_INSTALL_CANCELLED:2066,API_ERROR:2069,FILE_NAME_TOO_LONG:2072,NOT_ENTITLED:2073,APPLICATION_LOCK_FAILED:2076,NOT_DIRECTORY:2077,INVALID_DRIVE:2078,DISK_FULL:2080});t.DispatchErrorCodes=Be,t.TransportTypes=Fe,function(e){e.IPC="ipc",e.WEBSOCKET="ws",e.HTTP="http",e.POST_MESSAGE="post_message"}(Fe||(t.TransportTypes=Fe={}));var je,We,Ke=Object.freeze({INSTANCE:1,JOIN:2,SYNC:16,PLAY:32,PARTY_PRIVACY_FRIENDS:64,PARTY_PRIVACY_VOICE_CHANNEL:128,EMBEDDED:256});t.ActivityFlags=Ke,t.UserNotificationSettings=je,function(e){e[e.ALL_MESSAGES=0]="ALL_MESSAGES",e[e.ONLY_MENTIONS=1]="ONLY_MENTIONS",e[e.NO_MESSAGES=2]="NO_MESSAGES",e[e.NULL=3]="NULL"}(je||(t.UserNotificationSettings=je={})),t.NotificationSettingsUpdateType=We,function(e){e.GUILD="guild",e.CHANNEL="channel"}(We||(t.NotificationSettingsUpdateType=We={}));var ze=Object.freeze({SECOND:1,MINUTE:60,HOUR:3600,DAY:86400});t.Durations=ze;t.MAX_USER_GUILDS=100;t.MAX_USER_GUILDS_PREMIUM=200;t.MAX_MESSAGES_PER_CHANNEL=50;t.MAX_MESSAGES_FOR_JUMP=50;t.MAX_MENTIONS_PER_FETCH=25;t.MAX_LOADED_MESSAGES=200;t.TRUNCATED_MESSAGE_VIEW_SIZE=100;t.MAX_MESSAGE_CACHE_SIZE=250;t.MAX_MESSAGE_LENGTH=2e3;t.MAX_MESSAGE_LENGTH_PREMIUM=4e3;t.MAX_TTS_LENGTH=200;t.MAX_PINS_PER_CHANNEL=50;t.MAX_CHANNEL_NAME_LENGTH=100;t.IDLE_DURATION=6e5;t.TYPING_TIMEOUT=1e4;t.TYPING_DELAY_LOCAL=1500;t.MAX_TYPING_USERS=5;t.SLOWMODE_COOLDOWN_BUFFER_MS=100;var qe=[0,5,10,15,30,ze.MINUTE,2*ze.MINUTE,5*ze.MINUTE,10*ze.MINUTE,15*ze.MINUTE,30*ze.MINUTE,1*ze.HOUR,2*ze.HOUR,6*ze.HOUR];t.SLOWMODE_VALUES=qe;t.MAX_ROLE_LENGTH=32;t.MAX_ATTACHMENT_SIZE=8388608;t.MAX_PREMIUM_TIER_1_ATTACHMENT_SIZE=52428800;t.MAX_PREMIUM_TIER_2_ATTACHMENT_SIZE=104857600;t.MAX_STAFF_ATTACHMENT_SIZE=209715200;t.MAX_PREMIUM_GUILD_TIER_2_ATTACHMENT_SIZE=52428800;t.MAX_PREMIUM_GUILD_TIER_3_ATTACHMENT_SIZE=104857600;t.EMBED_LIFETIME=72e5;t.GAME_REPORT_VERSION=3;t.MAX_GAMES_NEWS=100;t.SPOILER_ATTACHMENT_PREFIX="SPOILER_";t.MARKDOWN_SPOILER_WRAPPER=function(e){return"||"+e+"||"};t.MARKDOWN_SPOILER_REGEXP=/^\|\|([\s\S]+?)\|\|/;t.MARKDOWN_SPOILER_REGEXP_GLOBAL=/\|\|([\s\S]+?)\|\|/g;t.IMAGE_RE=/\.(png|jpe?g|webp|gif)$/i;t.ID_REGEX=/^\d{17,20}$/;var Xe,Je,Qe,Ze=(0,o.default)({MESSAGE:null,MESSAGE_GROUP_BLOCKED:null,THREAD_STARTER_MESSAGE:null,DIVIDER:null,JUMP_TARGET:null,MESSAGE_GROUP:null,DIVIDER_TIME_STAMP:null,DIVIDER_NEW_MESSAGES:null});t.ChannelStreamTypes=Ze,t.ChannelModes=Xe,function(e){e.VIDEO="video",e.VOICE="voice"}(Xe||(t.ChannelModes=Xe={})),t.ActivityTypes=Je,function(e){e[e.PLAYING=0]="PLAYING",e[e.STREAMING=1]="STREAMING",e[e.LISTENING=2]="LISTENING",e[e.WATCHING=3]="WATCHING",e[e.CUSTOM_STATUS=4]="CUSTOM_STATUS",e[e.COMPETING=5]="COMPETING"}(Je||(t.ActivityTypes=Je={})),t.ActivityCardTypes=Qe,function(e){e.GAME="game",e.USER="user",e.GROUP="group"}(Qe||(t.ActivityCardTypes=Qe={}));var $e=(0,o.default)({LOADING:null,COMPLETE:null,FAILED:null});t.ActivityActionStates=$e;var et,tt=(0,o.default)({GUILD_DISCOVERY:null});t.FeaturedGuildLocations=tt,t.GuildDiscoverySections=et,function(e){e.FEATURED="featured",e.GAMES_YOU_PLAY="gamesYouPlay",e.SEARCH="search",e.MISC="misc"}(et||(t.GuildDiscoverySections=et={}));t.AVATAR_SIZE=128;t.AVATAR_MAX_SIZE=1024;t.USER_BANNER_MAX_WIDTH=2400;t.USER_BANNER_MAX_HEIGHT=960;t.SPLASH_SIZE=2048;t.MAX_PTT_RELEASE_DELAY=2e3;t.EMOJI_CATEGORY_RECENT="recent";t.EMOJI_CATEGORY_CUSTOM="custom";t.BITRATE_MIN=8e3;t.BITRATE_DEFAULT=64e3;t.BITRATE_MAX=96e3;t.BITRATE_STEP=1e3;t.NON_USER_BOT_DISCRIMINATOR="0000";t.LOCAL_BOT_ID="1";t.MAX_VOICE_USER_LIMIT=99;t.MAX_MUTUAL_GUILDS=5;t.MAX_GROUP_DM_PARTICIPANTS=10;t.MAX_GROUP_DM_STAFF_PARTICIPANTS=25;t.PLACEHOLDER_TAG="#0000";t.LEFT_PANEL_WIDTH=320;t.DEVICE_TOKEN="DEVICE_TOKEN";t.DEVICE_VOIP_TOKEN="DEVICE_VOIP_TOKEN";t.DEVICE_PUSH_PROVIDER=null;t.DEVICE_PUSH_VOIP_PROVIDER=null;t.FIRST_RUN_DATE_KEY="first_run_date_key";var nt=Object.freeze({API_DOCS:window.GLOBAL_ENV.MARKETING_ENDPOINT+"/developers/docs/intro",API_DOCS_GAME_AND_SERVER_MANAGEMENT:window.GLOBAL_ENV.MARKETING_ENDPOINT+"/developers/docs/game-and-server-management/alpha-and-beta-testing",API_DOCS_APPLICATION_SKUS_INDEX:function(e){return window.GLOBAL_ENV.MARKETING_ENDPOINT+"/developers/applications/"+e+"/skus"},API_DOCS_NEWS_CHANNELS:window.GLOBAL_ENV.MARKETING_ENDPOINT+"/developers/docs/game-and-server-management/special-channels#news-channels",API_DOCS_WEBHOOKS:window.GLOBAL_ENV.MARKETING_ENDPOINT+"/developers/docs/resources/webhook",DEVELOPER_PORTAL:window.GLOBAL_ENV.MARKETING_ENDPOINT+"/developers",DEVELOPER_PORTAL_TEAMS:window.GLOBAL_ENV.MARKETING_ENDPOINT+"/developers/teams",DEVELOPER_PORTAL_GUILD_ANALYTICS:function(e){return window.GLOBAL_ENV.MARKETING_ENDPOINT+"/developers/servers/"+e},DEVELOPER_PORTAL_LOGIN_HANDOFF:function(e,t,n){return window.GLOBAL_ENV.MARKETING_ENDPOINT+"/developers/handoff#handoff_key="+e+"&handoff_token="+t+"&redirect_to="+encodeURIComponent(n)},COMPANY:window.GLOBAL_ENV.MARKETING_ENDPOINT+"/company",PARTNERS:window.GLOBAL_ENV.MARKETING_ENDPOINT+"/partners",HYPESQUAD:window.GLOBAL_ENV.MARKETING_ENDPOINT+"/hypesquad",TERMS:window.GLOBAL_ENV.MARKETING_ENDPOINT+"/terms",PRIVACY:window.GLOBAL_ENV.MARKETING_ENDPOINT+"/privacy",GUIDELINES:window.GLOBAL_ENV.MARKETING_ENDPOINT+"/guidelines",ACKNOWLEDGEMENTS:window.GLOBAL_ENV.MARKETING_ENDPOINT+"/acknowledgements",DOWNLOAD:window.GLOBAL_ENV.MARKETING_ENDPOINT+"/download",CONTACT:"http://dis.gd/contact",KRISP:"https://api.krisp.ai/v2/resource/link/discord",STREAMKIT:window.GLOBAL_ENV.MARKETING_ENDPOINT+"/streamkit",WHY_DISCORD:window.GLOBAL_ENV.MARKETING_ENDPOINT+"/why-discord",STAGES:window.GLOBAL_ENV.MARKETING_ENDPOINT+"/stages"});t.MarketingURLs=nt;var rt=Object.freeze({DEVELOPER_PORTAL:"/developers",DEVELOPER_PORTAL_GUILD_ANALYTICS:function(e){return"/developers/servers/"+e}});t.RelativeMarketingURLs=rt;t.TWITCH_CLIENT_ID="33kozedd0zs6fbauka98psnc7zwom2s";t.MAX_AUTOCOMPLETE_RESULTS=10;t.SMALL_GUILD_MEMBER_THRESHOLD=30;t.SEARCH_PAGE_SIZE=25;t.IS_SEARCH_FILTER_TOKEN=/^FILTER_/;t.IS_SEARCH_ANSWER_TOKEN=/^ANSWER_/;t.EMOJI_MAX_SLOTS=50;t.EMOJI_MAX_SLOTS_MORE=200;t.EMOJI_MAX_LENGTH=32;t.EMOJI_RE=/[^a-zA-Z0-9_]/g;t.EMOJI_MAX_FILESIZE_KB=256;t.MAX_GUILD_FOLDER_NAME_LENGTH=32;var it,ot=(0,o.default)({GUILD:null,CHANNEL:null,GIF:null,GUILD_DISCOVERY:null,STICKER:null,STICKER_SHOP:null,INSTANT_INVITE:null,EMOJI:null});t.SearchTypes=ot,t.SearchModes=it,function(e){e.NEWEST="newest",e.OLDEST="oldest",e.MOST_RELEVANT="most_relevant"}(it||(t.SearchModes=it={}));var at=Object.freeze({NonDiversityPerRow:42,DiversityPerRow:10,PickerPerRow:11,PickerCount:50});t.EmojiSprites=at;var st,ut;t.DIVERSITY_SURROGATES=["🏻","🏼","🏽","🏾","🏿"],t.EmojiDisabledReasons=st,function(e){e[e.DISALLOW_EXTERNAL=0]="DISALLOW_EXTERNAL",e[e.GUILD_SUBSCRIPTION_UNAVAILABLE=1]="GUILD_SUBSCRIPTION_UNAVAILABLE",e[e.PREMIUM_LOCKED=2]="PREMIUM_LOCKED"}(st||(t.EmojiDisabledReasons=st={})),t.EmojiIntention=ut,function(e){e[e.REACTION=0]="REACTION",e[e.STATUS=1]="STATUS",e[e.COMMUNITY_CONTENT=2]="COMMUNITY_CONTENT",e[e.CHAT=3]="CHAT",e[e.GUILD_STICKER_RELATED_EMOJI=4]="GUILD_STICKER_RELATED_EMOJI"}(ut||(t.EmojiIntention=ut={}));var lt=Object.freeze({UNKNOWN_ACCOUNT:10001,UNKNOWN_APPLICATION:10002,UNKNOWN_CHANNEL:10003,UNKNOWN_GUILD:10004,UNKNOWN_INTEGRATION:10005,UNKNOWN_INVITE:10006,UNKNOWN_MEMBER:10007,UNKNOWN_MESSAGE:10008,UNKNOWN_OVERWRITE:10009,UNKNOWN_PLATFORM:10010,UNKNOWN_ROLE:10011,UNKNOWN_TOKEN:10012,UNKNOWN_USER:10013,UNKNOWN_EMOJI:10014,UNKNOWN_WEBHOOK:10015,UNKNOWN_GIFT_CODE:10038,BOT_DISALLOWED:20001,BOT_REQUIRED:20002,RPC_PROXY_DISALLOWED:20003,EXPLICIT_CONTENT:20009,ACCOUNT_SCHEDULED_FOR_DELETION:20011,USER_NOT_AUTHORIZED_FOR_APPLICATION:20012,ACCOUNT_DISABLED:20013,SLOWMODE_RATE_LIMITED:20016,CHANNEL_FOLLOWING_EDIT_RATE_LIMITED:20022,UNDER_MINIMUM_AGE:20024,TOO_MANY_USER_GUILDS:30001,TOO_MANY_BOT_GUILDS:30001,TOO_MANY_FRIENDS:30002,TOO_MANY_PINS_IN_CHANNEL:30003,TOO_MANY_RECIPIENTS:30004,TOO_MANY_GUILD_ROLES:30005,TOO_MANY_USING_USERNAME:30006,TOO_MANY_WEBHOOKS:30007,TOO_MANY_EMOJI:30008,TOO_MANY_REACTIONS:30010,TOO_MANY_ANIMATED_EMOJI:30018,GUILD_AT_CAPACITY:30019,NOT_ENOUGH_GUILD_MEMBERS:30029,UNAUTHORIZED:40001,EMAIL_VERIFICATION_REQUIRED:40002,RATE_LIMIT_DM_OPEN:40003,SEND_MESSAGE_TEMPORARILY_DISABLED:40004,USER_BANNED:40007,CONNECTION_REVOKED:40012,DELETE_ACCOUNT_TRANSFER_TEAM_OWNERSHIP:40028,INVALID_ACCESS:50001,INVALID_ACCOUNT_TYPE:50002,INVALID_ACTION_DM:50003,INVALID_EMBED_DISABLED:50004,INVALID_MESSAGE_AUTHOR:50005,INVALID_MESSAGE_EMPTY:50006,INVALID_MESSAGE_SEND_USER:50007,INVALID_MESSAGE_SEND_NON_TEXT:50008,INVALID_MESSAGE_VERIFICATION_LEVEL:50009,INVALID_OAUTH_APP_BOT:50010,INVALID_OAUTH_APP_LIMIT:50011,INVALID_OAUTH_STATE:50012,INVALID_PERMISSIONS:50013,INVALID_TOKEN:50014,INVALID_NOTE:50015,INVALID_BULK_DELETE_COUNT:50016,INVALID_MFA_LEVEL:50017,INVALID_PASSWORD:50018,INVALID_PIN_MESSAGE_CHANNEL:50019,INVALID_INVITE_CODE:50020,INVALID_PHONE_NUMBER:50022,INVALID_CLIENT_ID:50023,INVALID_CHANNEL_TYPE:50024,INVALID_OAUTH2_ACCESS_TOKEN:50025,INVALID_OAUTH2_MISSING_SCOPE:50026,INVALID_WEBHOOK_TOKEN:50027,INVALID_FORM_BODY:50035,INVALID_GIFT_REDEMPTION_EXHAUSTED:50050,INVALID_GIFT_REDEMPTION_OWNED:50051,INVALID_GIFT_SELF_REDEMPTION:50054,INVALID_GIFT_REDEMPTION_SUBSCRIPTION_MANAGED:100021,INVALID_GIFT_REDEMPTION_SUBSCRIPTION_INCOMPATIBLE:100023,INVALID_GIFT_REDEMPTION_INVOICE_OPEN:100024,MFA_ENABLED:60001,MFA_DISABLED:60002,MFA_REQUIRED:60003,MFA_UNVERIFIED:60004,MFA_INVALID_SECRET:60005,MFA_INVALID_TICKET:60006,MFA_INVALID_CODE:60008,MFA_INVALID_SESSION:60009,PHONE_NUMBER_UNABLE_TO_SEND:70003,PHONE_VERIFICATION_REQUIRED:70007,RELATIONSHIP_INCOMING_DISABLED:8e4,RELATIONSHIP_INCOMING_BLOCKED:80001,RELATIONSHIP_INVALUD_USER_BOT:80002,RELATIONSHIP_INVALID_SELF:80003,RELATIONSHIP_INVALID_DISCORD_TAG:80004,RELATIONSHIP_ALREADY_FRIENDS:80007,REACTION_BLOCKED:90001,LISTING_ALREADY_JOINED:12e4,LISTING_TOO_MANY_MEMBERS:120001,LISTING_JOIN_BLOCKED:120002,TOO_MANY_THREAD_MEMBERS:30033,TOO_MANY_THREADS:160006,TOO_MANY_ANNOUNCEMENT_THREADS:160007});t.AbortCodes=lt;var ct,dt,ft,_t,pt,Et,ht,mt,vt=Object.freeze(((l={})[lt.EMAIL_VERIFICATION_REQUIRED]="BOT_REQUIRES_EMAIL_VERIFICATION",l[lt.INVALID_MESSAGE_SEND_USER]="BOT_DM_SEND_FAILED_WITH_HELP_LINK",l[lt.RATE_LIMIT_DM_OPEN]="BOT_DM_RATE_LIMITED",l[lt.SEND_MESSAGE_TEMPORARILY_DISABLED]="BOT_DM_SEND_MESSAGE_TEMPORARILY_DISABLED",l[lt.SLOWMODE_RATE_LIMITED]="BOT_DM_SEND_MESSAGE_TEMPORARILY_DISABLED",l));t.CLYDE_ERROR_MESSAGES=vt,t.AnalyticsLocations=ct,function(e){e.GUILD_CREATE_INVITE_SUGGESTION="Guild Create Invite Suggestion",e.ADD_FRIENDS_TO_DM="Add Friends to DM",e.CAROUSEL_PROMOTION_UNIT="Carousel Promotion Unit",e.MESSAGE_EMBED="Message Embed",e.GAME_POPOUT="Game Popout",e.GAME_MODAL="Game Modal",e.PROFILE_POPOUT="Profile Popout",e.QUICK_LAUNCHER="Quick Launcher",e.TRAY_CONTEXT_MENU="Tray Context Menu",e.QUICK_SWITCHER="Quick Switcher",e.APPLICATION_LIBRARY="Application Library",e.APPLICATION_LIBRARY_UPDATES="Application Library Updates",e.APPLICATION_STORE="Application Store",e.APPLICATION_STORE_HEADER="Application Store Header",e.APPLICATION_STORE_TILE="Application Store Tile",e.APPLICATION_STORE_HERO="Application Store Hero",e.APPLICATION_STORE_PAYMENT_MODAL="Application Store Purchase Modal",e.APPLICATION_STORE_LISTING_BACK_BUTTON="Application Store Listing Back Button",e.APPLICATION_STORE_LISTING_DETAILS="Application Store Listing Details",e.APPLICATION_STORE_RELATED_CONTENT="Application Store Related Content",e.APPLICATION_STORE_PREMIUM_CAROUSEL="Application Store Premium Carousel",e.APPLICATION_STORE_WARNING="Application Store Warning",e.APPLICATION_CONTEXT_MENU_TOGGLE_INSTALL="Application Context Menu Toggle Install",e.APPLICATION_CONTEXT_MENU_PLAY="Application Context Menu Play",e.APPLICATION_TEST_MODE_NOTICE="Application Test Mode Notice",e.HOME_BUTTON="Home Button",e.HOME_NAVIGATION="Home Navigation",e.IN_APPLICATION_PURCHASE_OVERLAY="In-Application Purchase - Overlay",e.IN_APPLICATION_PURCHASE_FALLBACK="In-Application Purchase - App",e.URI_SCHEME="URI Scheme",e.CREATE_JOIN_GUILD_MODAL="Create or Join Guild Modal",e.LOCKED_OVERLAY="Locked Overlay",e.UNLOCKED_OVERLAY="Unlocked Overlay",e.OVERLAY_NUDGE="Overlay Nudge",e.PROMOTION_CARD="Promotion Card",e.SHARE_NEWS_MODAL="Share News Modal",e.ACTIVITY_PANEL="Activity Panel",e.VOICE_PANEL="Voice Panel",e.GO_LIVE_MODAL="Go Live Modal",e.STREAM="Stream",e.INTENT_DISCOVERY="Intent Discovery",e.REGISTRATION="Registration",e.LARGE_SERVER_INTENT_DISCOVERY="Large Game Server Intent Discovery",e.CONTEXT_MENU="Context Menu",e.USER_ACTIVITY_ACTIONS="User Activity Actions",e.ACTIVITY_RPC="Activity RPC",e.EXTERNAL_INVITE_LINK_MODAL="External Invite Link Modal",e.CHANGE_IDENTITY_MODAL="Change Identity Modal"}(ct||(t.AnalyticsLocations=ct={})),t.AnalyticsGameOpenTypes=dt,function(e){e.JOIN="join",e.ASK_TO_JOIN="ask to join",e.LAUNCH="launch",e.SPECTATE="spectate"}(dt||(t.AnalyticsGameOpenTypes=dt={})),t.AnalyticsUserStatusTypes=ft,function(e){e.ONLINE_DESKTOP="online-desktop",e.ONLINE_MOBILE="online-mobile-only"}(ft||(t.AnalyticsUserStatusTypes=ft={})),t.AnalyticsOverlayLocations=_t,function(e){e.OVERLAY_UNLOCKED="overlay_unlocked",e.OVERLAY_UNLOCKED_PINNED="overlay_unlocked_pinned",e.OVERLAY_LOCKED_ACTIVATED="overlay_locked_activated"}(_t||(t.AnalyticsOverlayLocations=_t={})),t.AnalyticsPages=pt,function(e){e.AUTH="Auth",e.STORE_LISTING="Store Listing",e.STORE_DIRECTORY_HOME="Store Directory Home",e.STORE_DIRECTORY_BROWSE="Store Directory Browse",e.CHANNEL_STORE_LISTING="Channel Store Listing",e.LIBRARY="Library",e.LIBRARY_SETTINGS="Library Settings",e.USER_SETTINGS="User Settings",e.USER_PROFILE="User Profile",e.USER_POPOUT="User Popout",e.GUILD_CHANNEL="Guild Channel",e.GUILD_SETTINGS="Guild Settings",e.DM_CHANNEL="DM Channel",e.FRIENDS_LIST="Friends List",e.DIRECT="Direct",e.IN_APP="In App",e.GUILD_DISCOVERY="Guild Discovery",e.QUICK_SWITCHER="Quick Switcher",e.PREMIUM_GUILD_USER_MODAL="User-Facing Premium Guild Subscription Fullscreen Modal",e.PUBLIC_GUILD="Public Guild",e.NSFW_CHANNEL="NSFW Channel",e.EXPRESSION_PICKER="Expression Picker",e.CUSTOM_STATUS_MODAL="Custom Status Modal",e.CHANNEL_WELCOME_CREATE_MODAL="Channel Welcome Create Modal",e.GUILD_RULES_CREATE_MODAL="Guild Rules Create Modal",e.GO_LIVE_MODAL="Go Live Modal",e.CHANNEL_CALL="Channel Call",e.CHANNEL_AUTOCOMPLETE_EMOJI_UPSELL_MODAL="Channel Autocomplete Upsell Modal",e.GUILD_LIST="Guild List",e.NATIVE_INVITE_MODAL="Native Invite Modal",e.INVITE_EMBED="Invite Embed"}(pt||(t.AnalyticsPages=pt={})),t.AnalyticsSections=Et,function(e){e.HERO="Hero",e.BODY="Body",e.NAVIGATION="Navigation",e.TABS="Tabs",e.CONTEXT_MENU="Context Menu",e.HEADER="Header",e.FOOTER="Footer",e.NOTIFICATION_BAR="Notification Bar",e.PROFILE_MODAL="Profile Modal",e.EMOJI_PICKER_POPOUT="Emoji Picker Popout",e.FILE_UPLOAD_POPOUT="File Upload Popout",e.GUILD_POPOUT="Guild Popout",e.PROFILE_POPOUT="Profile Popout",e.GAME_MODAL="Game Modal",e.GAME_POPOUT="Game Popout",e.EMOJI_UPSELL_POPOUT="Emoji Upsell Popout",e.EMPTY_STICKER_PICKER_UPSELL="Empty Sticker Picker Upsell",e.IOS_TWO_FA_MODAL="Two Factor Auth Modal",e.IOS_TWO_FA_LANDING="Two Factor Auth Landing",e.IOS_TWO_FA_SCAN="Two Factor Auth Scan Code",e.IOS_TWO_FA_ENTER_CODE="Two Factor Auth Enter Code",e.IOS_TWO_FA_SUCCESS="Two Factor Auth Enable Success",e.IOS_TWO_FA_ADD_SMS="Two Factor Auth Add SMS",e.IOS_TWO_FA_VERIFY_SMS="Two Factor Auth Verify SMS",e.PREMIUM_GUILD_SUBSCRIBE_MODAL="Premium Guild Subscribe Modal",e.PREMIUM_GUILD_UNSUBSCRIBE_MODAL="Premium Guild Unsubscribe Modal",e.PREMIUM_GUILD_PURCHASE_MODAL="Premium Guild Purchase Modal",e.CHANNEL_NOTICE="Channel Notice",e.CUSTOM_STATUS_MODAL="Custom Status Modal",e.PAYMENT_AUTHENTICATION_MODAL="Payment Authentication",e.NOISE_CANCELLATION_POPOUT="Noise Cancellation Popout",e.IOS_AGE_GATE_MODAL="iOS Public Server Age Gate",e.DESKTOP_AGE_GATE_MODAL="Desktop Public Server Age Gate",e.CLAIM_ACCOUNT_MODAL="Claim Account",e.STREAM_UPSELL_MODAL="Stream Upsell Modal",e.AVATAR_UPSELL_MODAL="Avatar Upsell Modal",e.MESSAGE_LENGTH_UPSELL_MODAL="Message Length Upsell Modal",e.CUSTOM_PROFILES_UPSELL_MODAL="Custom Profiles Upsell Modal",e.INBOX="Inbox",e.CHANNEL="Channel",e.CHANNEL_TEXT_AREA="Channel Text Area",e.CHANNEL_LIST="Channel List",e.ACTIVITY_PANEL="Activity Panel",e.MEMBER_LIST="Member List",e.ACCOUNT_PANEL="Account Panel",e.CHANNEL_WELCOME_CTA="Channel Welcome CTA",e.ACTIVITY_FEED_GAME_POPOUT="Game Popout",e.ACTIVITY_FEED_NOW_PLAYING="Now Playing",e.ACTIVITY_FEED_NOW_PLAYING_HOVER_POPOUT="Now Playing Hover Popout",e.LIBRARY_INSTALL_MODULE="Install Module",e.LIBRARY_APPLICATION_LIST="Application List",e.LIBRARY_PREMIUM_APPLICATIONS="Library Premium Applications",e.LIBRARY_GAME_MODAL="Game Modal",e.LIBRARY_INVENTORY_CODE_REDEMPTION="Code Redemption",e.LIBRARY_INVENTORY_GIFTS_LIST="Gifts List",e.STORE_LISTING_BUY_GAME="Buy Game",e.STORE_LISTING_BUY="Buy",e.SETTINGS_ACCOUNT="My Account",e.SETTINGS_EDIT_ACCOUNT="Edit Account",e.SETTINGS_CHANGE_USERNAME="Change Username",e.SETTINGS_CHANGE_EMAIL="Change Email",e.SETTINGS_CONFIRM_PASSWORD="Confirm Password",e.SETTINGS_CHANGE_PASSWORD="Change Password",e.SETTINGS_CUSTOMIZE_PROFILE="Profile Customization",e.SETTINGS_BACKUP_CODES="Backup Codes",e.SETTINGS_PRIVACY_AND_SAFETY="Privacy & Safety",e.SETTINGS_AUTHORIZED_APPS="Authorized Apps",e.SETTINGS_CONNECTIONS="Connections",e.SETTINGS_CONNECTIONS_XBOX="Connections Xbox",e.SETTINGS_BILLING="Billing",e.SETTINGS_SUBSCRIPTIONS="Subscriptions",e.SETTINGS_PREMIUM="Discord Nitro",e.SETTINGS_PREMIUM_PLAN_SELECT="Discord Premium Plan Select",e.SETTINGS_PREMIUM_GIFTING="Nitro Gifting",e.PREMIUM_GUILD_SUBSCRIPTION="Nitro Server Boost",e.SETTINGS_HYPESQUAD_ONLINE="Hypesquad Online",e.SETTINGS_VOICE_AND_VIDEO="Voice & Video",e.SETTINGS_OVERLAY="Overlay",e.SETTINGS_NOTIFICATIONS="Notifications",e.SETTINGS_KEYBINDS="Keybinds",e.SETTINGS_GAME_ACTIVITY="Game Activity",e.SETTINGS_TEXT_AND_IMAGES="Text & Images",e.SETTINGS_APPEARANCE="Appearance",e.SETTINGS_ACCESSIBILITY="Accessibility",e.SETTINGS_STREAMER_MODE="Streamer Mode",e.SETTINGS_LANGUAGE="Language",e.SETTINGS_CHANGELOG="Change Log",e.SETTINGS_EXPERIMENTS="Experiments",e.SETTINGS_DEVELOPER_OPTIONS="Developer Options",e.SETTINGS_WINDOWS="Windows",e.SETTINGS_LINUX="Linux",e.SETTINGS_BLOCKED_USERS="Blocked Users",e.SETTINGS_INVENTORY="Library Inventory",e.SETTINGS_DEBUG_LOGS="Debug Logs",e.SETTINGS_ADVANCED="Advanced",e.SETTINGS_CUSTOM_STATUS="Custom Status",e.SETTINGS_EDIT_PROFILE="Edit Profile",e.SETTINGS_BROWSER="Browser",e.SETTINGS_OVERVIEW="Overview",e.SETTINGS_CUSTOM_STATUS_EMOJI_PICKER="Custom Status Emoji Picker",e.SETTINGS_DESKTOP_APP="Desktop Only",e.SETTINGS_PUBLIC_WELCOME="Welcome Screen Settings",e.GUILD_ROLE_CREATION_MODAL="Guild Role Creation Modal",e.GUILD_ROLE_TEMPLATE_POPOUT="Guild Role Template Popout",e.GUILD_CREATE_MODAL="Guild Create Modal",e.GUILD_SETTINGS_STICKERS="Guild Stickers Settings",e.APPLICATION_EMBED="Application Embed",e.GIFT_CODE_EMBED="Gift Code Embed",e.GUILD_HEADER="Guild Header",e.GUILD_HEADER_POPOUT="Guild Header Popout",e.STREAM_VIEWER_POPOUT="Stream Viewer Popout",e.STREAM_SETTINGS="Stream Settings",e.DISCOVER_SEARCH="Search",e.DISCOVER_GAMES_YOU_PLAY="Games You Play",e.DISCOVER_POPULAR="Popular",e.DISCOVER_COLLECTION_GAMING="Gaming",e.DISCOVER_COLLECTION_COMICS_HEROES="Comics / Heroes",e.DISCOVER_COLLECTION_ANIME="Anime",e.DISCOVER_COLLECTION_MUSIC="Music",e.DISCOVER_COLLECTION_ESPORTS="electronic-Sports",e.PREMIUM_GUILD_USER_MODAL_CTA_BAR="CTA Bar",e.PREMIUM_GUILD_USER_MODAL_PROGRESS_BAR="Progress Bar",e.REGISTER="Register",e.LOGIN="Login",e.OVERLAY="Overlay",e.STICKERS_SHOP="Stickers Shop",e.STICKER_PACK_VIEW_ALL="Sticker Pack View All",e.STICKER_PICKER_UPSELL="Sticker Picker Upsell",e.STICKER_PREMIUM_TIER_2_UPSELL_MODAL="Stickers Nitro Upsell Modal",e.STICKER_PREMIUM_TIER_1_UPSELL_MODAL="Stickers Nitro Classic Upsell Modal",e.STICKER_POPOUT="Sticker Popout",e.EXPRESSION_PICKER="Expression Picker",e.STANDALONE_VIDEO_PLAYER="Standalone Video Player",e.CONTACT_SYNC_MODAL="Contact Sync",e.CONTACT_SYNC_EMPTY_CTA="Contact Sync Empty CTA",e.HUB_WELCOME_CTA="Hub Welcome CTA",e.GUILD_CAP_UPSELL_MODAL="Guild Cap Upsell Modal",e.CHANGE_GUILD_MEMBER_AVATAR="Change Per Server Identity Modal",e.CHAT_USERNAME="Chat Username",e.GUILD_DROPDOWN_MENU="Guild Dropdown Menu",e.NITRO_BANNER="Nitro Banner"}(Et||(t.AnalyticsSections=Et={})),t.AnalyticsObjects=ht,function(e){e.TOOLTIP="Tooltip",e.CARD="Card",e.CAROUSEL="Carousel",e.NAVIGATION_LINK="Nav Link",e.SUBSCRIBE_TO_TIER_BUTTON="Subscribe up to Tier Button",e.BUTTON_BROWSE="Button Browse",e.BUTTON_HOME="Button Home",e.BUTTON_BACK="Button Back",e.BUTTON_CTA="Button CTA",e.BUTTON_ICON="Button Icon",e.MENU_LINK="Menu Link",e.WEB_URL="Web URL",e.LIST_ITEM="List Item",e.RADIO_ITEM="Radio Item",e.CONTEXT_MENU="Context Menu",e.CONTEXT_MENU_ITEM="Context Menu Item",e.SEARCH="Search",e.ALTERNATIVE_SKU="Alternative Sku",e.HOVER_MENU="Hover Menu",e.AVATAR="Avatar",e.CHANNEL="Channel",e.BADGE="Badge",e.STICKER_SEARCH_VIEW_ALL="Sticker Search View All",e.STICKER_PICKER_VIEW_ALL="Sticker Picker View All",e.STICKER_POPOUT_VIEW_ALL="Sticker Popout View All",e.STICKER_PICKER_PURCHASE_BUTTON="Sticker Picker Purchase Button",e.STICKER_PICKER_UPSELL_BUTTON="Sticker Picker Upsell Button",e.STICKER_POPOUT_PURCHASE_BUTTON="Sticker Popout Purchase Button",e.NUDGED_STICKER="Nudged Sticker",e.EXPRESSION_SUGGESTIONS="Expression Suggestions",e.EMOJI="Emoji",e.EDIT_PER_SERVER_IDENTITY="Edit Per Server Identity",e.NITRO_BADGE="Nitro Badge",e.EDIT_PROFILE_BANNER="Edit Profile Banner",e.BOOSTING_BANNER="Boosting Banner"}(ht||(t.AnalyticsObjects=ht={})),t.AnalyticsObjectTypes=mt,function(e){e.GIFT="gift",e.BUY="buy",e.BOX_ART="box_art",e.PERK="perk",e.TIER_1="tier_1",e.TIER_2="tier_2",e.TIER_3="tier_3",e.TRIAL="trial",e.FPS="fps",e.RESOLUTION="resolution"}(mt||(t.AnalyticsObjectTypes=mt={}));var Tt={page:pt.DIRECT,object:ht.WEB_URL};t.DIRECT_ANALYTICS_LOCATION=Tt;var gt=Object.freeze({OVERVIEW:Et.SETTINGS_OVERVIEW,BROWSER:Et.SETTINGS_BROWSER,CHANGE_LOG:Et.SETTINGS_CHANGELOG,PREMIUM_GIFTING:Et.SETTINGS_PREMIUM_GIFTING,BLOCKED_USERS:Et.SETTINGS_BLOCKED_USERS,CUSTOM_STATUS:Et.SETTINGS_CUSTOM_STATUS,CUSTOM_STATUS_EMOJI_PICKER:Et.SETTINGS_CUSTOM_STATUS_EMOJI_PICKER,ACCOUNT:Et.SETTINGS_ACCOUNT,ACCOUNT_CHANGE_USERNAME:Et.SETTINGS_CHANGE_USERNAME,ACCOUNT_CHANGE_PASSWORD:Et.SETTINGS_CHANGE_PASSWORD,ACCOUNT_CONFIRM_PASSWORD:Et.SETTINGS_CONFIRM_PASSWORD,ACCOUNT_BACKUP_CODES:Et.SETTINGS_BACKUP_CODES,CONNECTIONS:Et.SETTINGS_CONNECTIONS,CONNECTIONS_XBOX:Et.SETTINGS_CONNECTIONS_XBOX,AUTHORIZED_APPS:Et.SETTINGS_AUTHORIZED_APPS,TEXT:Et.SETTINGS_TEXT_AND_IMAGES,VOICE:Et.SETTINGS_VOICE_AND_VIDEO,PRIVACY_AND_SAFETY:Et.SETTINGS_PRIVACY_AND_SAFETY,NOTIFICATIONS:Et.SETTINGS_NOTIFICATIONS,ACTIVITY_STATUS:Et.SETTINGS_GAME_ACTIVITY,KEYBINDS:Et.SETTINGS_KEYBINDS,APPEARANCE:Et.SETTINGS_APPEARANCE,ACCESSIBILITY:Et.SETTINGS_ACCESSIBILITY,OVERLAY:Et.SETTINGS_OVERLAY,LOCALE:Et.SETTINGS_LANGUAGE,STREAMER_MODE:Et.SETTINGS_STREAMER_MODE,SUBSCRIPTIONS:Et.SETTINGS_SUBSCRIPTIONS,PREMIUM:Et.SETTINGS_PREMIUM,PREMIUM_PLAN_SELECT:Et.SETTINGS_PREMIUM_PLAN_SELECT,PREMIUM_GUILD_SUBSCRIPTION:Et.PREMIUM_GUILD_SUBSCRIPTION,BILLING:Et.SETTINGS_BILLING,EXPERIMENTS:Et.SETTINGS_EXPERIMENTS,DEVELOPER_OPTIONS:Et.SETTINGS_DEVELOPER_OPTIONS,WINDOWS:Et.SETTINGS_WINDOWS,LINUX:Et.SETTINGS_LINUX,HYPESQUAD_ONLINE:Et.SETTINGS_HYPESQUAD_ONLINE,DESKTOP_APP:Et.SETTINGS_DESKTOP_APP,INVENTORY:Et.SETTINGS_INVENTORY,DEBUG_LOGS:Et.SETTINGS_DEBUG_LOGS,ADVANCED:Et.SETTINGS_ADVANCED,PROFILE_CUSTOMIZATION:Et.SETTINGS_CUSTOMIZE_PROFILE});t.UserSettingsSections=gt;var It=Object.freeze({LANDING:Et.IOS_TWO_FA_LANDING,SCAN:Et.IOS_TWO_FA_SCAN,ENTER_CODE:Et.IOS_TWO_FA_ENTER_CODE,SUCCESS:Et.IOS_TWO_FA_SUCCESS,ADD_SMS:Et.IOS_TWO_FA_ADD_SMS,VERIFY_SMS:Et.IOS_TWO_FA_VERIFY_SMS});t.TwoFAModalSetupSections=It;var St,yt,At,Ot,Nt,Rt,bt,Lt,Dt=(0,o.default)({CALL:null,GROUP_DM:null});t.PopoutCallers=Dt,t.JoinGuildSources=St,function(e){e.APPLICATION_STORE="Application Store Verified Guild Invite - Lurker",e.CHAT_INPUT_BLOCKER="Chat Input Blocker - Lurker Mode",e.NOTICE_BAR="Notice - Lurker Mode",e.MOBILE_GUILD_DISCOVERY="iOS Guild Discovery - Lurker",e.DIRECTORY_ENTRY="Directory Channel Entry"}(St||(t.JoinGuildSources=St={})),t.LoginSuccessfulSources=yt,function(e){e.QR_CODE="QR Code Login"}(yt||(t.LoginSuccessfulSources=yt={})),t.InstantInviteSources=At,function(e){e.INVITE_NOTICE="Invite Notice",e.SETTINGS_INVITE="Settings Invite",e.CONTEXT_MENU="Context Menu",e.WELCOME_MESSAGE="Welcome Message",e.GUILD_CHANNELS="Guild Channels",e.GUILD_HEADER="Guild Header",e.GUILD_CONTEXT_MENU="Guild Context Menu",e.GUILD_CREATE="Guild Create",e.STREAM_INVITE="Stream Invite",e.GUILD_PROGRESS="Guild Progress",e.CHANNEL_WELCOME="Channel Welcome CTA",e.CHANNEL_CALL="Channel Call",e.ACTIVITY_INVITE="Activity Invite",e.INVITE_SYSTEM_MESSAGE="Invite System Message",e.HUB_DIRECTORY="Hub Directory Channel",e.HUB_SIDEBAR="Hub Sidebar"}(At||(t.InstantInviteSources=At={})),t.ChannelNoticeCtaSources=Ot,function(e){e.GUILD_AFFINITY_SUGGESTION="Guild Affinity Suggestion",e.GUILD_MFA_WARNING="Guild MFA Warning",e.GUILD_SUBSCRIPTION_NOTICE="Guild Subscription Notice",e.QUICK_SWITCHER_NOTICE="Quick Switcher Notice",e.INVITE_NOTICE="Invite Notice",e.GRACE_PERIOD_NOTICE="Grace Period Notice",e.ENABLE_PUBLIC_GUILD_UPSELL_NOTICE="Enable Public Guild Upsell Notice"}(Ot||(t.ChannelNoticeCtaSources=Ot={})),t.InviteTypes=Nt,function(e){e.APPLICATION="Application",e.SERVER_INVITE="Server Invite",e.GDM_INVITE="GDM Invite",e.SPOTIFY="Spotify",e.STREAM="Stream"}(Nt||(t.InviteTypes=Nt={})),t.SendTypes=Rt,function(e){e.DIRECT_MESSAGE="Direct Message",e.SMS="SMS",e.EMAIL="Email"}(Rt||(t.SendTypes=Rt={})),t.InviteOptionsType=bt,function(e){e.SHARE="Share",e.COPY="Copy",e.CONTACTS="Contacts",e.GMAIL="Gmail",e.SMS="SMS",e.EMAIL="Email",e.LINE="Line",e.WHATSAPP="WhatsApp",e.TWITTER="Twitter",e.MESSENGER="Messenger",e.TELEGRAM="Telegram"}(bt||(t.InviteOptionsType=bt={})),t.GuildNSFWContentLevel=Lt,function(e){e[e.DEFAULT=0]="DEFAULT",e[e.EXPLICIT=1]="EXPLICIT",e[e.SAFE=2]="SAFE",e[e.AGE_RESTRICED=3]="AGE_RESTRICED"}(Lt||(t.GuildNSFWContentLevel=Lt={}));var Ct=new Set([Lt.EXPLICIT,Lt.AGE_RESTRICED]);t.IOS_RESTRICTED_GUILD_CONTENT_LEVELS=Ct;var Mt=Object.freeze({IFRAME_MOUNT:"IFRAME_MOUNT",IFRAME_UNMOUNT:"IFRAME_UNMOUNT",REMEASURE_TARGET:"REMEASURE_TARGET",MODAL_SUBMIT:"MODAL_SUBMIT",MODAL_CLOSE:"MODAL_CLOSE",TEXTAREA_FOCUS:"TEXTAREA_FOCUS",TEXTAREA_BLUR:"TEXTAREA_BLUR",SCROLLTO_PRESENT:"SCROLLTO_PRESENT",SCROLLTO_CHANNEL:"SCROLLTO_CHANNEL",TOGGLE_CHANNEL_PINS:"TOGGLE_CHANNEL_PINS",TOGGLE_INBOX_UNREADS_TAB:"TOGGLE_INBOX_UNREADS_TAB",MARK_TOP_INBOX_CHANNEL_READ:"MARK_TOP_INBOX_CHANNEL_READ",TOGGLE_EMOJI_POPOUT:"TOGGLE_EMOJI_POPOUT",TOGGLE_DM_CREATE:"TOGGLE_DM_CREATE",INSERT_TEXT:"INSERT_TEXT",SCROLL_PAGE_DOWN:"SCROLL_PAGE_DOWN",SCROLL_PAGE_UP:"SCROLL_PAGE_UP",FOCUS_FRIEND_SEARCH:"FOCUS_FRIEND_SEARCH",BLUR_INPUT:"BLUR_INPUT",POPOUT_CLOSE:"POPOUT_CLOSE",POPOUT_SHOW:"POPOUT_SHOW",POPOUT_HIDE:"POPOUT_HIDE",UPLOAD_FILE:"UPLOAD_FILE",CALL_ACCEPT:"CALL_ACCEPT",CALL_DECLINE:"CALL_DECLINE",CALL_START:"CALL_START",DDR_ARROW_DOWN:"DDR_ARROW_DOWN",DDR_ARROW_UP:"DDR_ARROW_UP",SHAKE_APP:"SHAKE_APP",EMPHASIZE_NOTICE:"EMPHASIZE_NOTICE",EMPHASIZE_SLOWMODE_COOLDOWN:"EMPHASIZE_SLOWMODE_COOLDOWN",TOGGLE_REACTION_POPOUT:function(e){return"TOGGLE_REACTION_POPOUT_"+e},SET_SEARCH_QUERY:"SET_SEARCH_QUERY",FOCUS_SEARCH:"FOCUS_SEARCH",PERFORM_SEARCH:"PERFORM_SEARCH",QUICKSWITCHER_RESULT_FOCUS:"QUICKSWITCHER_RESULT_FOCUS",LAYER_POP_ESCAPE_KEY:"LAYER_POP_ESCAPE_KEY",LAYER_POP_START:"LAYER_POP_START",LAYER_POP_COMPLETE:"LAYER_POP_COMPLETE",CONTEXT_MENU_CLOSE:"CONTEXT_MENU_CLOSE",WAVE_EMPHASIZE:"WAVE_EMPHASIZE",CAROUSEL_NEXT:"CAROUSEL_NEXT",CAROUSEL_PREV:"CAROUSEL_PREV",MODAL_CAROUSEL_NEXT:"MODAL_CAROUSEL_NEXT",MODAL_CAROUSEL_PREV:"MODAL_CAROUSEL_PREV",TOGGLE_GIF_PICKER:"TOGGLE_GIF_PICKER",CLOSE_GIF_PICKER:"CLOSE_GIF_PICKER",TOGGLE_STICKER_PICKER:"TOGGLE_STICKER_PICKER",FAVORITE_GIF:"FAVORITE_GIF",SCROLL_TO_VOICE_CHANNEL:"SCROLL_TO_VOICE_CHANNEL",GLOBAL_CLIPBOARD_PASTE:"GLOBAL_CLIPBOARD_PASTE",SEARCH_RESULTS_CLOSE:"SEARCH_RESULTS_CLOSE",ANIMATE_CHAT_AVATAR:function(e){return"ANIMATE_CHAT_AVATAR_"+e},FOCUS_MESSAGES:"FOCUS_MESSAGES",FOCUS_CHANNEL_TEXT_AREA:"FOCUS_CHANNEL_TEXT_AREA",PREPEND_TEXT:"PREPEND_TEXT",OPEN_EXPRESSION_PICKER:"OPEN_EXPRESSION_PICKER",OPEN_THREAD_NOTIFICATION_SETTINGS:"OPEN_THREAD_NOTIFICATION_SETTINGS"});t.ComponentActions=Mt;var Pt,wt,Ut,kt;t.NAVIGATION_THROTTLE=50,t.PlatformTypes=Pt,function(e){e.TWITCH="twitch",e.YOUTUBE="youtube",e.SKYPE="skype",e.STEAM="steam",e.LEAGUE_OF_LEGENDS="leagueoflegends",e.BATTLENET="battlenet",e.REDDIT="reddit",e.TWITTER="twitter",e.SPOTIFY="spotify",e.FACEBOOK="facebook",e.XBOX="xbox",e.SAMSUNG="samsung",e.CONTACTS="contacts",e.INSTAGRAM="instagram",e.SOUNDCLOUD="soundcloud",e.GITHUB="github"}(Pt||(t.PlatformTypes=Pt={})),t.ActivityGamePlatforms=wt,function(e){e.DESKTOP="desktop",e.XBOX="xbox",e.SAMSUNG="samsung",e.IOS="ios",e.ANDROID="android",e.EMBEDDED="embedded"}(wt||(t.ActivityGamePlatforms=wt={})),t.Platforms=Ut,function(e){e.IOS="iOS",e.ANDROID="Android"}(Ut||(t.Platforms=Ut={})),t.ActivityPartyPrivacy=kt,function(e){e[e.PRIVATE=0]="PRIVATE",e[e.PUBLIC=1]="PUBLIC"}(kt||(t.ActivityPartyPrivacy=kt={}));var Gt=Object.freeze({OAUTH2_REDIRECT_FRAGMENT:"/_discord?",GAME_INVITE_FRAGMENT:"/_discord/join?secret=",AUTHORIZATION_CANCEL_FRAGMENT:"/_discord/auth?cancel=true"});t.DiscordConnectDeeplinks=Gt;var Yt=new Set([Pt.CONTACTS]);t.LOCAL_PLATFORM_TYPES=Yt;var xt=new Set([Pt.FACEBOOK]);t.FRIEND_SYNC_PLATFORM_TYPES=xt;var Vt=new Set([Pt.SPOTIFY,Pt.XBOX]);t.ACTIVITY_PLATFORM_TYPES=Vt;var Ht,Ft=(0,o.default)({UP:null,DOWN:null,LEFT:null,RIGHT:null});t.Arrows=Ft,t.BillingRedirectResultTypes=Ht,function(e){e.CANCEL="cancel",e.PREMIUM="premium",e.PAYMENT_SOURCE="paymentSource",e.UNKNOWN="unknown"}(Ht||(t.BillingRedirectResultTypes=Ht={}));var Bt=Object.freeze({DESKTOP:""+location.protocol+window.GLOBAL_ENV.API_ENDPOINT+"/download",IOS:"https://itunes.apple.com/app/discord/id985746746",ANDROID:"https://play.google.com/store/apps/details?id=com.discord"});t.DownloadLinks=Bt;t.DEFAULT_ROLE_COLOR=10070709;t.ROLE_COLORS=[1752220,3066993,3447003,10181046,15277667,15844367,15105570,15158332,9807270,6323595,1146986,2067276,2123412,7419530,11342935,12745742,11027200,10038562,9936031,5533306];var jt=(0,I.hex2int)(T.default.BRAND_NEW);(0,i.default)(null!=jt,"Brand color could not be parsed");var Wt=jt;t.DEFAULT_FOLDER_COLOR=Wt;var Kt,zt=(0,o.default)({ROLE:null,MEMBER:null});t.PermissionOverrideType=zt,t.NativeFeatures=Kt,function(e){e.VOICE_LEGACY_SUBSYSTEM="voice_legacy_subsystem",e.DEBUG_LOGGING="debug_logging",e.POPOUT_WINDOWS="popout_windows",e.ELEVATED_HOOK="elevated_hook",e.CREATE_HOST_ON_ATTACH="create_host_on_attach",e.USER_DATA_CACHE="user_data_cache"}(Kt||(t.NativeFeatures=Kt={}));var qt=(0,o.default)({FILTER_FROM:null,FILTER_MENTIONS:null,ANSWER_USERNAME_FROM:null,ANSWER_USERNAME_MENTIONS:null,FILTER_HAS:null,ANSWER_HAS:null,FILTER_FILE_TYPE:null,ANSWER_FILE_TYPE:null,FILTER_FILE_NAME:null,ANSWER_FILE_NAME:null,FILTER_BEFORE:null,ANSWER_BEFORE:null,FILTER_AFTER:null,ANSWER_AFTER:null,FILTER_ON:null,ANSWER_ON:null,FILTER_IN:null,ANSWER_IN:null});t.SearchTokenTypes=qt;var Xt=(0,o.default)({HISTORY:null,SEARCH_OPTIONS:null,DATES:null});t.SearchAutocompleteGroups=Xt;var Jt=(0,o.default)({EMPTY:null,FILTER:null,FILTER_ALL:null});t.SearchPopoutModes=Jt;t.SEARCH_DATE_FORMAT="YYYY-MM-DD";t.SEARCH_MONTH_FORMAT="MMMM";t.SEARCH_POPOUT_ID="search-popout";var Qt;t.NEW_GROUP_DM_POPOUT_ID="PrivateChannelRecipientsInvitePopout",t.PremiumGuildTiers=Qt,function(e){e[e.NONE=0]="NONE",e[e.TIER_1=1]="TIER_1",e[e.TIER_2=2]="TIER_2",e[e.TIER_3=3]="TIER_3"}(Qt||(t.PremiumGuildTiers=Qt={}));var Zt=Object.freeze(((c={})[Qt.NONE]=0,c[Qt.TIER_1]=2,c[Qt.TIER_2]=15,c[Qt.TIER_3]=30,c));t.PremiumGuildSubscriptionsRequired=Zt;var $t,en=Object.freeze(((d={})[Qt.NONE]={emoji:50,bitrate:96e3,fileSize:8388608},d[Qt.TIER_1]={emoji:100,bitrate:128e3,fileSize:8388608},d[Qt.TIER_2]={emoji:150,bitrate:256e3,fileSize:52428800},d[Qt.TIER_3]={emoji:250,bitrate:384e3,fileSize:104857600},d));t.PremiumGuildLimits=en,t.UserPremiumGuildSubscriptionLevels=$t,function(e){e[e.LEVEL_1=1]="LEVEL_1",e[e.LEVEL_2=2]="LEVEL_2",e[e.LEVEL_3=3]="LEVEL_3",e[e.LEVEL_4=4]="LEVEL_4",e[e.LEVEL_5=5]="LEVEL_5",e[e.LEVEL_6=6]="LEVEL_6",e[e.LEVEL_7=7]="LEVEL_7",e[e.LEVEL_8=8]="LEVEL_8",e[e.LEVEL_9=9]="LEVEL_9"}($t||(t.UserPremiumGuildSubscriptionLevels=$t={}));var tn=Object.freeze(((f={})[$t.LEVEL_1]=1,f[$t.LEVEL_2]=2,f[$t.LEVEL_3]=3,f[$t.LEVEL_4]=6,f[$t.LEVEL_5]=9,f[$t.LEVEL_6]=12,f[$t.LEVEL_7]=15,f[$t.LEVEL_8]=18,f[$t.LEVEL_9]=24,f));t.UserPremiumGuildSubscriptionMonths=tn;var nn;t.PREMIUM_GUILD_SUBSCRIBE_COOLDOWN_DAYS=7,t.PremiumTypes=nn,function(e){e[e.NONE_DEPRECATED=0]="NONE_DEPRECATED",e[e.TIER_1=1]="TIER_1",e[e.TIER_2=2]="TIER_2"}(nn||(t.PremiumTypes=nn={}));var rn=Object.freeze(((_={})[nn.NONE_DEPRECATED]={fileSize:8388608},_[nn.TIER_1]={fileSize:52428800},_[nn.TIER_2]={fileSize:104857600},_));t.PremiumUserLimits=rn;var on;t.PREMIUM_SUBSCRIPTION_APPLICATION="521842831262875670",t.PremiumSubscriptionSKUs=on,function(e){e.NONE="628379670982688768",e.LEGACY="521842865731534868",e.TIER_1="521846918637420545",e.TIER_2="521847234246082599",e.GUILD="590663762298667008"}(on||(t.PremiumSubscriptionSKUs=on={}));var an,sn=Object.freeze(((p={})[on.LEGACY]=nn.TIER_2,p[on.TIER_1]=nn.TIER_1,p[on.TIER_2]=nn.TIER_2,p));t.PremiumSubscriptionSKUToPremiumType=sn,t.SubscriptionPlans=an,function(e){e.NONE_MONTH="628379151761408000",e.NONE_YEAR="628381571568631808",e.PREMIUM_MONTH_LEGACY="511651856145973248",e.PREMIUM_YEAR_LEGACY="511651860671627264",e.PREMIUM_MONTH_TIER_1="511651871736201216",e.PREMIUM_YEAR_TIER_1="511651876987469824",e.PREMIUM_MONTH_TIER_2="511651880837840896",e.PREMIUM_YEAR_TIER_2="511651885459963904",e.PREMIUM_MONTH_GUILD="590665532894740483",e.PREMIUM_YEAR_GUILD="590665538238152709"}(an||(t.SubscriptionPlans=an={}));var un=Object.freeze(((E={})[an.NONE_MONTH]="none_month",E[an.NONE_YEAR]="none_year",E[an.PREMIUM_MONTH_LEGACY]="premium_month",E[an.PREMIUM_YEAR_LEGACY]="premium_year",E[an.PREMIUM_MONTH_TIER_1]="premium_month_tier_1",E[an.PREMIUM_YEAR_TIER_1]="premium_year_tier_1",E[an.PREMIUM_MONTH_TIER_2]="premium_month_tier_2",E[an.PREMIUM_YEAR_TIER_2]="premium_year_tier_2",E[an.PREMIUM_MONTH_GUILD]=null,E[an.PREMIUM_YEAR_GUILD]=null,E));t.SubscriptionPlanGatewayPlans=un;var ln=new Set([an.PREMIUM_MONTH_LEGACY,an.PREMIUM_YEAR_LEGACY,an.PREMIUM_MONTH_TIER_1,an.PREMIUM_YEAR_TIER_1,an.PREMIUM_MONTH_TIER_2,an.PREMIUM_YEAR_TIER_2]);t.PREMIUM_PLANS=ln;var cn,dn=new Set([an.PREMIUM_MONTH_GUILD,an.PREMIUM_YEAR_GUILD]);t.PREMIUM_GUILD_SUBSCRIPTION_PLANS=dn,t.SubscriptionIntervalTypes=cn,function(e){e[e.MONTH=1]="MONTH",e[e.YEAR=2]="YEAR",e[e.DAY=3]="DAY"}(cn||(t.SubscriptionIntervalTypes=cn={}));var fn=Object.freeze(((h={})[an.NONE_MONTH]={id:an.NONE_MONTH,name:"None Monthly",price:0,currency:s.CurrencyCodes.USD,taxInclusive:!0,skuId:on.NONE,interval:cn.MONTH,intervalCount:1},h[an.NONE_YEAR]={id:an.NONE_YEAR,name:"None Yearly",price:0,currency:s.CurrencyCodes.USD,taxInclusive:!0,skuId:on.NONE,interval:cn.YEAR,intervalCount:1},h[an.PREMIUM_MONTH_LEGACY]={id:an.PREMIUM_MONTH_LEGACY,name:"Nitro Monthly (Legacy)",price:499,currency:s.CurrencyCodes.USD,taxInclusive:!0,premiumType:nn.TIER_2,skuId:on.LEGACY,interval:cn.MONTH,intervalCount:1},h[an.PREMIUM_YEAR_LEGACY]={id:an.PREMIUM_YEAR_LEGACY,name:"Nitro Classic Yearly (Legacy)",price:4999,currency:s.CurrencyCodes.USD,taxInclusive:!0,premiumType:nn.TIER_2,skuId:on.LEGACY,interval:cn.YEAR,intervalCount:1},h[an.PREMIUM_MONTH_TIER_1]={id:an.PREMIUM_MONTH_TIER_1,name:"Nitro Classic Monthly",price:499,currency:s.CurrencyCodes.USD,taxInclusive:!0,premiumType:nn.TIER_1,skuId:on.TIER_1,interval:cn.MONTH,intervalCount:1},h[an.PREMIUM_YEAR_TIER_1]={id:an.PREMIUM_YEAR_TIER_1,name:"Nitro Classic Yearly",price:4999,currency:s.CurrencyCodes.USD,taxInclusive:!0,premiumType:nn.TIER_1,skuId:on.TIER_1,interval:cn.YEAR,intervalCount:1},h[an.PREMIUM_MONTH_TIER_2]={id:an.PREMIUM_MONTH_TIER_2,name:"Nitro Monthly",price:999,currency:s.CurrencyCodes.USD,taxInclusive:!0,premiumType:nn.TIER_2,skuId:on.TIER_2,interval:cn.MONTH,intervalCount:1},h[an.PREMIUM_YEAR_TIER_2]={id:an.PREMIUM_YEAR_TIER_2,name:"Nitro Yearly",price:9999,currency:s.CurrencyCodes.USD,taxInclusive:!0,premiumType:nn.TIER_2,skuId:on.TIER_2,interval:cn.YEAR,intervalCount:1},h[an.PREMIUM_MONTH_GUILD]={id:an.PREMIUM_MONTH_GUILD,name:"Nitro Server Boost Monthly",price:499,premiumUserPrice:349,currency:s.CurrencyCodes.USD,taxInclusive:!0,skuId:on.GUILD,interval:cn.MONTH,intervalCount:1},h[an.PREMIUM_YEAR_GUILD]={id:an.PREMIUM_YEAR_GUILD,name:"Nitro Server Boost Yearly",price:4999,premiumUserPrice:3499,currency:s.CurrencyCodes.USD,taxInclusive:!0,skuId:on.GUILD,interval:cn.YEAR,intervalCount:1},h));t.SubscriptionPlanInfo=fn;t.PREMIUM_YEARLY_DISCOUNT_PERCENT=16;t.PREMIUM_TIER_2_LIKELIHOOD_TRIAL_ID="520373071933079552";var _n=Object.freeze(((m={})["520373071933079552"]={id:"520373071933079552",skus:[on.TIER_2]},m));t.SubscriptionTrials=_n;var pn=Object.freeze({GIFT:1,PREORDER:8});t.PaymentFlags=pn;var En,hn,mn,vn=Object.freeze({fonts:[{src:"url(https://cdn.discordapp.com/assets/stripe/whitney-book.ttf)",family:"Whitney"}]});t.StripeElementsOptions=vn,t.SubscriptionStatusTypes=En,function(e){e[e.UNPAID=0]="UNPAID",e[e.ACTIVE=1]="ACTIVE",e[e.PAST_DUE=2]="PAST_DUE",e[e.CANCELED=3]="CANCELED",e[e.ACCOUNT_HOLD=6]="ACCOUNT_HOLD"}(En||(t.SubscriptionStatusTypes=En={})),t.PremiumPaymentSubscriptionModes=hn,function(e){e.NEW="new",e.RESUBSCRIBE="resubscribe"}(hn||(t.PremiumPaymentSubscriptionModes=hn={})),t.SubscriptionTypes=mn,function(e){e[e.PREMIUM=1]="PREMIUM",e[e.GUILD=2]="GUILD"}(mn||(t.SubscriptionTypes=mn={}));t.PaymentModalPriceChangedError="Price changed";t.MAX_IMAGE_WIDTH=2560;t.MAX_IMAGE_HEIGHT=2560;var Tn=(0,o.default)({USER:null,GLOBAL:null,ROLE:null,CHANNEL:null,EMOJI:null,EMOJI_PREMIUM_UPSELL:null,SLASH:null,CHOICE:null,STICKER:null});t.AutoCompleteResultTypes=Tn;var gn=Object.freeze({FONT_SIZE_DEFAULT:16,FONT_SIZE_MIN:12,FONT_SIZE_MAX:24,FONT_SIZES:[12,14,15,16,18,20,24],SATURATION_INCREMENTS:[0,.05,.1,.15,.2,.25,.3,.35,.4,.45,.5,.55,.6,.65,.7,.75,.8,.85,.9,.95,1],ZOOM_DEFAULT:100,ZOOM_MIN:50,ZOOM_MAX:200,ZOOM_SCALES:[50,67,75,80,90,100,110,125,150,175,200]});t.Accessibility=gn;var In,Sn;t.INVITE_BANNER_MEMBER_THRESHOLD=1,t.AnalyticEvents=In,function(e){e.APP_OPENED="app_opened",e.APP_CRASHED="app_crashed",e.APP_UI_VIEWED="app_ui_viewed",e.APP_LAUNCH_COMPLETED="app_launch_completed",e.APP_LANDING_VIEWED="app_landing_viewed",e.APP_MODULES_UPDATED="app_modules_updated",e.APP_FIRST_LAUNCHED="app_first_launched",e.APP_FIRST_LOGIN="app_first_login",e.REGISTER_VIEWED="register_viewed",e.REGISTER_TRANSITION="register_transition",e.LOGIN_VIEWED="login_viewed",e.READY_PAYLOAD_RECEIVED="ready_payload_received",e.EXTERNAL_FINGERPRINT_DROPPED="external_fingerprint_dropped",e.EXTERNAL_DYNAMIC_LINK_RECEIVED="external_dynamic_link_received",e.DEEP_LINK_CLICKED="deep_link_clicked",e.INVITE_OPENED="invite_opened",e.INVITE_VIEWED="invite_viewed",e.INVITE_RESOLVED="resolve_invite",e.INVITE_APP_INVOKED="invite_app_invoked",e.INVITE_APP_OPENED="invite_app_opened",e.INVITE_LEARN_MORE="invite_learn_more",e.INVITE_LOGIN="invite_login",e.INVITE_LOGIN_SUCCESSFUL="invite_login_successful",e.INSTANT_INVITE_SHARED="instant_invite_shared",e.COPY_INSTANT_INVITE="copy_instant_invite",e.VERIFY_ACCOUNT_APP_OPENED="verify_account_app_opened",e.QUICKSWITCHER_OPENED="quickswitcher_opened",e.QUICKSWITCHER_CLOSED="quickswitcher_closed",e.QUICKSWITCHER_RESULT_SELECTED="quickswitcher_result_selected",e.ENABLE_NOTIFICATIONS="enable_notifications",e.NOTIFICATION_CLICKED="notification_clicked",e.NOTIFICATION_RENDERED="notification_rendered",e.NOTIFICATION_VIEWED="notification_viewed",e.NOTIFICATION_SETTINGS_UPDATED="notification_settings_updated",e.NOTIFICATION_PERMISSION_STATUS="notification_permission_status",e.NOTIFICATION_SETTINGS_CLICKED="notification_settings_clicked",e.NOTIFICATION_PERMISSION_PREPROMPT_ACKED="notification_permission_preprompt_acked",e.MOBILE_APP_DOWNLOAD_MODAL_ACKED="mobile_app_download_modal_acked",e.ACK_MESSAGES="ack_messages",e.INBOX_CHANNEL_ACKED="inbox_channel_acked",e.INBOX_CHANNEL_CLICKED="inbox_channel_clicked",e.INBOX_CHANNEL_COLLAPSED="inbox_channel_collapsed",e.VOICE_CHANNEL_SELECTED="voice_channel_selected",e.JOIN_VOICE_CHANNEL="join_voice_channel",e.LEAVE_VOICE_CHANNEL="leave_voice_channel",e.VOICE_CONNECTION_FAILURE="voice_connection_failure",e.VOICE_CONNECTION_SUCCESS="voice_connection_success",e.VOICE_DISCONNECT="voice_disconnect",e.START_SPEAKING="start_speaking",e.START_LISTENING="start_listening",e.VOICE_WATCHDOG_TIMEOUT="voice_watchdog_timeout",e.VOICE_PROCESSING="voice_processing",e.CALL_REPORT_PROBLEM="call_report_problem",e.NOISE_CANCELLATION_LINK_CLICKED="noise_cancellation_link_clicked",e.MEDIA_SESSION_JOINED="media_session_joined",e.MEMBER_LIST_VIEWED="member_list_viewed",e.DM_LIST_VIEWED="dm_list_viewed",e.DM_EMPTY_ACTION="dm_empty_action",e.SETTINGS_PANE_VIEWED="settings_pane_viewed",e.RICH_CHAT_TEXT_BOX_TOGGLED="rich_chat_text_box_toggled",e.CHANNEL_NOTICE_VIEWED="channel_notice_viewed",e.CHANNEL_NOTICE_CLOSED="channel_notice_closed",e.CHANNEL_NOTICE_CTA_CLICKED="channel_notice_cta_clicked",e.PREMIUM_PROMOTION_OPENED="premium_promotion_opened",e.PERMISSIONS_REQUESTED="permissions_requested",e.PERMISSIONS_ACKED="permissions_acked",e.LOCAL_SETTINGS_UPDATED="local_settings_updated",e.APP_NOTICE_VIEWED="app_notice_viewed",e.APP_NOTICE_CLOSED="app_notice_closed",e.APP_NOTICE_PRIMARY_CTA_OPENED="app_notice_primary_cta_opened",e.VIDEO_LAYOUT_TOGGLED="video_layout_toggled",e.VIDEO_INPUT_TOGGLED="video_input_toggled",e.AUTHORIZED_APP_CONNECTED="authorized_app_connected",e.OPEN_MODAL="open_modal",e.OPEN_POPOUT="open_popout",e.MODAL_DISMISSED="modal_dismissed",e.HOVER_MENU_OPENED="hover_menu_opened",e.CREATE_GUILD_VIEWED="create_guild_viewed",e.JOIN_GUILD_VIEWED="join_guild_viewed",e.GUILD_TEMPLATE_SELECTED="guild_template_selected",e.GAME_NEWS_CHANGED="game_news_changed",e.GAME_NEWS_OPENED="game_news_opened",e.APPLICATION_OPENED="application_opened",e.LAUNCH_GAME="launch_game",e.ACTIVITY_UPDATED="activity_updated",e.ACTIVITY_SESSION_JOINED="activity_session_joined",e.ACTIVITY_SESSION_LEFT="activity_session_left",e.BROWSER_HANDOFF_SUCCEEDED="browser_handoff_succeeded",e.SHOW_TUTORIAL="show_tutorial",e.CLOSE_TUTORIAL="close_tutorial",e.DISMISS_ALL_TUTORIALS="dismiss_all_tutorials",e.INVITE_SENT="invite_sent",e.CONTACT_SELECTED="contact_selected",e.INSTANT_INVITE_OPTION_CLICKED="instant_invite_option_clicked",e.HOOK_RESULT="hook_result",e.OVERLAY_TOGGLED="overlay_toggled",e.OVERLAY_HOOK_RESULT="overlay_hook_result",e.OVERLAY_INITIALIZED="overlay_initialized",e.OVERLAY_LOCKED="overlay_locked",e.OVERLAY_UNLOCKED="overlay_unlocked",e.OVERLAY_PIN_TOGGLED="overlay_pin_toggled",e.OVERLAY_LAYOUT_UPDATED="overlay_layout_updated",e.OVERLAY_SETTINGS_UPDATED="overlay_settings_updated",e.OVERLAY_PERF_INFO="overlay_perf_info",e.SPOTIFY_AUTO_PAUSED="spotify_auto_paused",e.SPOTIFY_BUTTON_CLICKED="spotify_button_clicked",e.SPOTIFY_LISTEN_ALONG_STARTED="spotify_listen_along_started",e.SPOTIFY_LISTEN_ALONG_ENDED="spotify_listen_along_ended",e.STREAMER_MODE_TOGGLE="streamer_mode_toggle",e.UPDATE_STREAMER_MODE_SETTINGS="update_streamer_mode_settings",e.INVITE_SUGGESTION_OPENED="invite_suggestion_opened",e.GUILD_VIEWED="guild_viewed",e.FRIENDS_LIST_VIEWED="friends_list_viewed",e.FRIEND_ADD_VIEWED="friend_add_viewed",e.FRIEND_ADD_NEARBY_CONNECTED="friend_add_nearby_connected",e.FRIEND_REQUEST_FAILED="friend_request_failed",e.CONNECTED_ACCOUNT_INITIATED="connected_account_initiated",e.DOWNLOAD_APP="download_app",e.PAYMENT_FLOW_STARTED="payment_flow_started",e.PAYMENT_FLOW_COMPLETED="payment_flow_completed",e.PAYMENT_FLOW_STEP="payment_flow_step",e.PAYMENT_FLOW_FAILED="payment_flow_failed",e.PREMIUM_UPGRADE_STARTED="premium_upgrade_started",e.CHANNEL_MEMBER_KICKED="channel_member_kicked",e.CHANNEL_OPENED="channel_opened",e.NUO_TRANSITION="nuo_transition",e.NUO_GUILD_DATA="nuo_guild_info",e.SOUNDSHARE_ATTACHED="soundshare_attached",e.SOUNDSHARE_FAILED="soundshare_failed",e.SOUNDSHARE_TRANSMITTING="soundshare_transmitting",e.SOUNDSHARE_ENABLE="soundshare_enable",e.VIDEOHOOK_INITIALIZED="videohook_initialized",e.SCREENSHARE_FINISHED="screenshare_finished",e.SCREENSHARE_FAILED="screenshare_failed",e.VIDEO_STREAM_ENDED="video_stream_ended",e.VIDEO_STREAM_STARTED="video_stream_started",e.STREAM_WARNING_TRIGGERED="stream_warning_triggered",e.STREAM_REPORT_PROBLEM="stream_report_problem",e.STREAM_SETTINGS_UPDATE="stream_settings_update",e.VIDEO_INPUT_INITIALIZED="video_input_initialized",e.CHANGE_LOG_OPENED="change_log_opened",e.CHANGE_LOG_CLOSED="change_log_closed",e.CHANGE_LOG_VIDEO_INTERACTED="change_log_video_interacted",e.CHANGE_LOG_CTA_CLICKED="change_log_cta_clicked",e.ACCOUNT_LINK_STEP="account_link_step",e.ACCOUNT_LINK_FAILED="account_link_failed",e.CONNECTED_ACCOUNT_VIEWED="connected_account_viewed",e.MEDIA_DEVICE_CHANGED="media_device_changed",e.USER_SETTINGS_KEYBIND_UPDATED="user_settings_keybind_updated",e.USER_ATTRIBUTION_RECEIVED="user_attribution_received",e.USER_AVATAR_UPDATED="user_avatar_updated",e.DISPATCH_PATCH_STARTED="gl_patch_started",e.DISPATCH_PATCH_PAUSED="gl_patch_paused",e.DISPATCH_PATCH_FAILED="gl_patch_failed",e.DISPATCH_PATCH_VERIFICATION_FAILED="gl_verification_failed",e.DISPATCH_PATCH_COMPLETE="gl_patch_complete",e.DISPATCH_PATCH_CANCELLED="gl_patch_cancelled",e.DISPATCH_APPLICATION_UNINSTALLED="gl_application_uninstalled",e.PREMIUM_MARKETING_PAGE_VIEWED="premium_marketing_page_viewed",e.PREMIUM_MARKETING_PAGE_EXITED="premium_marketing_page_exited",e.STORE_DIRECTORY_VIEWED="store_directory_viewed",e.STORE_DIRECTORY_BROWSE_VIEWED="store_directory_browse_viewed",e.STORE_DIRECTORY_FILTER_UPDATED="store_directory_filter_updated",e.STORE_DIRECTORY_EXITED="store_directory_exited",e.STORE_DIRECTORY_HERO_VIEWED="store_directory_hero_viewed",e.STORE_LISTING_VIEWED="store_listing_viewed",e.STORE_LISTING_EXITED="store_listing_exited",e.STORE_LISTING_MEDIA_SCROLLED="store_listing_media_scrolled",e.LIBRARY_VIEWED="library_viewed",e.LIBRARY_INSTALL_INITIATED="library_install_initiated",e.LIBRARY_REPAIR_INITIATED="library_repair_initiated",e.LIBRARY_UNINSTALL_INITIATED="library_uninstall_initiated",e.LIBRARY_SCANNING_ENABLED="library_scanning_enabled",e.PROMOTION_VIEWED="promotion_viewed",e.APPLICATION_SETTINGS_UPDATED="application_settings_updated",e.NETWORKING_SYSTEM_METRICS="networking_system_metrics",e.NETWORKING_PEER_METRICS="networking_peer_metrics",e.MIC_TESTING_STARTED="mic_testing_started",e.MIC_TESTING_STOPPED="mic_testing_stopped",e.GIFT_CODE_SENT="gift_code_sent",e.GIFT_CODE_RESOLVED="gift_code_resolved",e.GIFT_CODE_COPIED="gift_code_copied",e.SLASH_COMMAND_USED="slash_command_used",e.KEYBOARD_SHORTCUT_USED="keyboard_shortcut_used",e.KEYBOARD_MODE_TOGGLED="keyboard_mode_toggled",e.SEARCH_RESULT_VIEWED="search_result_viewed",e.SEARCH_RESULT_SELECTED="search_result_selected",e.SEARCH_RESULT_EXPANDED="search_result_expanded",e.SEARCH_RESULT_SORT_CHANGED="search_result_sort_changed",e.SEARCH_RESULT_EMPTY="search_result_empty",e.SEARCH_OPENED="search_opened",e.SEARCH_STARTED="search_started",e.SEARCH_CLOSED="search_closed",e.PREMIUM_UPSELL_VIEWED="premium_upsell_viewed",e.JUMP="jump",e.GIF_FAVORITED="gif_favorited",e.GIF_UNFAVORITED="gif_unfavorited",e.GUILD_DISCOVERY_VIEWED="guild_discovery_viewed",e.GUILD_DISCOVERY_GUILD_SELECTED="guild_discovery_guild_selected",e.GUILD_DISCOVERY_EXITED="guild_discovery_exited",e.NEWS_EDITOR_VIEWED="news_card_editor_viewed",e.NEWS_UPDATED="news_card_updated",e.NEWS_LINK_COPIED="news_link_copied",e.NEWS_LINK_SHARED="news_link_shared",e.CUSTOM_STATUS_UPDATED="custom_status_updated",e.TEXT_COPIED="text_copied",e.TEXT_SHARED="text_shared",e.NAV_DRAWER_OPENED="nav_drawer_opened",e.EXPERIMENT_USER_TRIGGERED="experiment_user_triggered",e.EXPERIMENT_GUILD_TRIGGERED="experiment_guild_triggered",e.EXPERIMENT_DM_TRIGGERED="experiment_dm_triggered",e.EXPERIMENT_CUSTOM_EVENT="experiment_custom_event",e.GUILD_INSIGHTS_SETTINGS_CTA_CLICKED="guild_insights_settings_cta_clicked",e.GUILD_SETTINGS_DISCOVERY_VIEWED="guild_settings_discovery_viewed",e.GUILD_SETTINGS_DISCOVERY_UPDATED="guild_settings_discovery_updated",e.OAUTH2_AUTHORIZE_VIEWED="oauth2_authorize_viewed",e.GUILD_OUTAGE_VIEWED="guild_outage_viewed",e.CONTACT_SYNC_FLOW_KEY="relationship_sync_flow",e.LOGIN_SUCCESSFUL="login_successful",e.REPLY_STARTED="reply_started",e.GUILD_TEMPLATE_APP_OPENED="guild_template_app_opened",e.GUILD_TEMPLATE_OPENED="guild_template_opened",e.GUILD_TEMPLATE_RESOLVED="guild_template_resolved",e.GUILD_TEMPLATE_LINK_SENT="guild_template_link_sent",e.ACTIVITY_FEED_CUSTOMIZATION_OPENED="af_customization_opened",e.ACTIVITY_FEED_CUSTOMIZATION_SAVED="af_customization_saved",e.ACTIVITY_FEED_VOICE_CHANNEL_VISITED="af_voice_channel_visited",e.ACTIVITY_FEED_GUILD_VISITED="af_guild_visited",e.ACTIVITY_FEED_DM_VISITED="af_dm_visited",e.AGE_GATE_SUBMITTED="age_gate_submitted",e.GUILD_WELCOME_SCREEN_SETTINGS_UPDATED="guild_welcome_screen_settings_updated",e.GUILD_WELCOME_SCREEN_OPTION_SELECTED="guild_welcome_screen_option_selected",e.MESSAGE_REPORTED="message_reported",e.GUILD_REPORTED="guild_reported",e.STAGE_CHANNEL_REPORTED="stage_channel_reported",e.EXPRESSION_PICKER_TAB_CLICKED="expression_picker_tab_clicked",e.EXPRESSION_PICKER_OPENED="expression_picker_opened",e.EXPRESSION_PICKER_CATEGORY_SELECTED="expression_picker_category_selected",e.EXPRESSION_PICKER_CATEGORY_COLLAPSE_TOGGLED="expression_picker_category_collapse_toggled",e.EXPRESSION_PICKER_STICKER_SHOP_VIEWED="expression_picker_sticker_shop_viewed",e.STICKER_PACK_VIEW_ALL="sticker_pack_view_all",e.STICKER_SEARCH_VIEW_ALL="sticker_search_view_all",e.STICKER_SUGGESTIONS_ENABLED_TOGGLED="sticker_suggestions_enabled_toggled",e.AUTO_SUGGEST_DISPLAYED="auto_suggest_displayed",e.AUTO_SUGGEST_EXPRESSION_SELECTED="auto_suggest_expression_selected",e.NUDGE_DISPLAYED="nudge_displayed",e.NUDGE_OPENED="nudge_opened",e.STICKER_ATTACHED="sticker_attached",e.CHAT_INPUT_COMPONENT_VIEWED="chat_input_component_viewed",e.GUILD_MEMBERSHIP_GATE_SETTINGS_UPDATED="guild_membership_gate_settings_updated",e.REQUEST_TO_SPEAK_INITIATED="request_to_speak_initiated",e.PROMOTED_TO_SPEAKER="promoted_to_speaker",e.STAGE_DISCOVERY_LOADED="stage_discovery_loaded",e.STAGE_DISCOVERY_EXITED="stage_discovery_exited",e.STAGE_DISCOVERY_RELOADED="stage_discovery_reloaded",e.STAGE_DISCOVERY_STAGE_JOINED="stage_discovery_stage_joined",e.STAGE_DISCOVERY_STAGE_EXITED="stage_discovery_stage_exited",e.STAGE_DISCOVERY_STAGE_OPENED="stage_discovery_stage_opened",e.STAGE_DISCOVERY_START_STAGE_CLICKED="stage_discovery_start_stage_clicked",e.STAGE_DISCOVERY_START_STAGE_COMPLETED="stage_discovery_start_stage_completed",e.START_STAGE_OPENED="start_stage_opened",e.MKTG_APPLICATION_STEP="mktg_application_step",e.SERVER_SETUP_CTA_CLICKED="server_setup_cta_clicked",e.HELP_CLICKED="help_clicked",e.EMOJI_UPSELL_POPOUT_MORE_EMOJIS_OPENED="emoji_upsell_popout_more_emojis_opened",e.FILE_UPLOAD_ALERT_VIEWED="file_upload_alert_viewed",e.FAILED_MESSAGE_RESOLVED="failed_message_resolved",e.VIEW_AS_ROLES_SELECTED="view_as_roles_selected",e.GUILD_CREATION_INTENT_SELECTED="guild_creation_intent_selected",e.CHANNEL_AUTOCOMPLETE_OPEN="channel_autocomplete_open",e.CHANNEL_AUTOCOMPLETE_SELECTED="channel_autocomplete_selected",e.AUTOMATED_MESSAGE_RECEIVED="automated_message_received",e.AUTOMATED_MESSAGE_DISMISSED="automated_message_dismissed",e.ACTIVITY_REPORT_PROBLEM="activity_report_problem",e.ROLE_PAGE_VIEWED="role_page_viewed",e.APPLICATION_COMMAND_BROWSER_OPENED="application_command_browser_opened",e.APPLICATION_COMMAND_BROWSER_SCROLLED="application_command_browser_scrolled",e.APPLICATION_COMMAND_BROWSER_JUMPED="application_command_browser_jumped",e.APPLICATION_COMMAND_BROWSER_SEARCH_RESULT_VIEWED="application_command_browser_search_result_viewed",e.APPLICATION_COMMAND_SELECTED="application_command_selected",e.APPLICATION_COMMAND_USED="application_command_used",e.APPLICATION_COMMAND_VALIDATION_FAILED="application_command_validation_failed",e.CAPTCHA_SERVED="captcha_served",e.CHANNEL_PERMISSIONS_PAGE_VIEWED="channel_permissions_page_viewed",e.DOMAIN_MIGRATED="domain_migrated",e.MESSAGE_EDIT_UP_ARROW="message_edit_up_arrow",e.APPLICATION_GENERATED_GENERIC_EVENT="application_generated_generic_event",e.USER_FLOW_TRANSITION="user_flow_transition",e.ROLE_TEMPLATE_SELECTED="role_template_selected",e.USER_REPORT_SUBMITTED="user_report_submitted",e.CAPTCHA_FAILED="captcha_failed",e.MEMBER_LIST_ADD_MEMBERS_CLICKED="member_list_add_members_clicked",e.CONTACT_SYNC_TOGGLED="contact_sync_toggled",e.NAME_SUBMITTED="name_submitted",e.SOUNDPACK_UPDATED="soundpack_updated",e.NOTIFICATION_CTA_CLICKED="notification_cta_clicked",e.MESSAGE_LENGTH_LIMIT_REACHED="message_length_limit_reached",e.THREAD_BROWSER_TAB_CHANGED="thread_browser_tab_changed",e.THREAD_NOTIFICATION_SETTINGS_UPDATED="thread_notification_settings_updated",e.THREAD_NOTIFICATION_NUDGE_SHOWN="thread_notification_nudge_shown",e.THREAD_NOTIFICATION_NUDGE_CLOSED="thread_notification_nudge_closed",e.THREAD_NOTIFICATION_NUDGE_CLICKED="thread_notification_nudge_clicked",e.THREAD_CREATION_STARTED="thread_creation_started",e.THREAD_NUDGE_SHOWN="thread_nudge_shown",e.GUILD_SCHEDULED_EVENT_VIEWED="guild_scheduled_event_viewed",e.GUILD_SCHEDULED_EVENT_PURCHASE_INITIATED="guild_scheduled_event_purchase_initiated",e.TOOLTIP_VIEWED="tooltip_viewed",e.WELCOME_CTA_CLICKED="welcome_cta_clicked",e.OUTBOUND_PROMOTION_NOTICE_CLICKED="outbound_promotion_notice_clicked"}(In||(t.AnalyticEvents=In={})),t.DynamicLinkType=Sn,function(e){e.SETTINGS="settings",e.CHANGELOG="changelog",e.LIBRARY="library",e.STORE="store",e.INVITE="invite"}(Sn||(t.DynamicLinkType=Sn={}));var yn,An=(0,o.default)({UPDATE_USERS:null,USER_RESULTS:null,QUERY_SET:null,QUERY_CLEAR:null});t.UserSearchWorkerMessageTypes=An,t.PublicReleaseChannels=yn,function(e){e.CANARY="canary",e.PTB="ptb",e.STABLE="stable"}(yn||(t.PublicReleaseChannels=yn={}));var On,Nn,Rn=Object.freeze({STAFF:1,PARTNER:2,HYPESQUAD:4,BUG_HUNTER_LEVEL_1:8,BUG_HUNTER_LEVEL_2:16384,HYPESQUAD_ONLINE_HOUSE_1:64,HYPESQUAD_ONLINE_HOUSE_2:128,HYPESQUAD_ONLINE_HOUSE_3:256,PREMIUM_EARLY_SUPPORTER:512,VERIFIED_BOT:65536,VERIFIED_DEVELOPER:1<<17,CERTIFIED_MODERATOR:1<<18,MFA_SMS:16,PREMIUM_PROMO_DISMISSED:32,HAS_UNREAD_URGENT_MESSAGES:8192});t.UserFlags=Rn,t.ApplicationFlags=On,function(e){e[e.MANAGED_EMOJI=4]="MANAGED_EMOJI",e[e.GROUP_DM_CREATE=16]="GROUP_DM_CREATE",e[e.GATEWAY_PRESENCE=4096]="GATEWAY_PRESENCE",e[e.GATEWAY_PRESENCE_LIMITED=8192]="GATEWAY_PRESENCE_LIMITED",e[e.GATEWAY_GUILD_MEMBERS=16384]="GATEWAY_GUILD_MEMBERS",e[e.GATEWAY_GUILD_MEMBERS_LIMITED=32768]="GATEWAY_GUILD_MEMBERS_LIMITED",e[e.VERIFICATION_PENDING_GUILD_LIMIT=65536]="VERIFICATION_PENDING_GUILD_LIMIT",e[e.EMBEDDED=131072]="EMBEDDED"}(On||(t.ApplicationFlags=On={})),t.ChannelNoticeTypes=Nn,function(e){e.MFA_WARNING="MFA_WARNING",e.INVITE="INVITE",e.QUICKSWITCHER="QUICKSWITCHER",e.PREMIUM_GUILD_SUBSCRIPTIONS="PREMIUM_GUILD_SUBSCRIPTIONS",e.PREMIUM_GUILD_SUBSCRIPTIONS_GUILD_AFFINITY="PREMIUM_GUILD_SUBSCRIPTIONS_GUILD_AFFINITY",e.PREMIUM_GUILD_GRACE_PERIOD="PREMIUM_GUILD_GRACE_PERIOD",e.PUBLIC_UPSELL="PUBLIC_UPSELL",e.MAX_MEMBER_COUNT_100="MAX_MEMBER_COUNT_100",e.MAX_MEMBER_COUNT_250="MAX_MEMBER_COUNT_250",e.STAGE_CHANNEL_EVENT="STAGE_CHANNEL_EVENT"}(Nn||(t.ChannelNoticeTypes=Nn={}));var bn=Object.freeze({STORAGE_MANIFEST:function(e,t){return e+"/storage/"+t+"/MANIFEST"},INSTALL_DIR:function(e){return e+"/content"},ROOT_PATTERN:["**/*"],ROOT_STORAGE_PATH:function(e,t){return e+"/storage/"+t+"/content"},ROOT_ID:"sdk",ROOT_PLATFORMS:(0,o.default)({macos:null,windows:null,linux:null})});t.DefaultCloudSyncConfiguration=bn;t.CHANNEL_NOTICE_SHOW_DELAY=864e5;var Ln,Dn;t.GRACE_PERIOD_CHANNEL_NOTICE_SHOW_DELAY=2592e5,t.ChannelLayouts=Ln,function(e){e.NORMAL="normal",e.MINIMUM="minimum",e.NO_CHAT="no-chat",e.FULL_SCREEN="full-screen"}(Ln||(t.ChannelLayouts=Ln={})),t.StreamLayouts=Dn,function(e){e.THEATRE="theatre",e.FULL_SCREEN="full-screen",e.PIP="pip",e.POPOUT="popout",e.PORTRAIT="portrait",e.LANDSCAPE="landscape",e.MINIMIZED="minimized"}(Dn||(t.StreamLayouts=Dn={}));var Cn=(0,o.default)({USER_SETTINGS:null,CHANNEL_SETTINGS:null,GUILD_SETTINGS:null,RTC_DEBUG:null});t.Layers=Cn;var Mn=Object.freeze({ALL:null,GUILD_UPDATE:1,CHANNEL_CREATE:10,CHANNEL_UPDATE:11,CHANNEL_DELETE:12,CHANNEL_OVERWRITE_CREATE:13,CHANNEL_OVERWRITE_UPDATE:14,CHANNEL_OVERWRITE_DELETE:15,MEMBER_KICK:20,MEMBER_PRUNE:21,MEMBER_BAN_ADD:22,MEMBER_BAN_REMOVE:23,MEMBER_UPDATE:24,MEMBER_ROLE_UPDATE:25,MEMBER_MOVE:26,MEMBER_DISCONNECT:27,BOT_ADD:28,ROLE_CREATE:30,ROLE_UPDATE:31,ROLE_DELETE:32,INVITE_CREATE:40,INVITE_UPDATE:41,INVITE_DELETE:42,WEBHOOK_CREATE:50,WEBHOOK_UPDATE:51,WEBHOOK_DELETE:52,EMOJI_CREATE:60,EMOJI_UPDATE:61,EMOJI_DELETE:62,MESSAGE_DELETE:72,MESSAGE_BULK_DELETE:73,MESSAGE_PIN:74,MESSAGE_UNPIN:75,INTEGRATION_CREATE:80,INTEGRATION_UPDATE:81,INTEGRATION_DELETE:82,STAGE_INSTANCE_CREATE:83,STAGE_INSTANCE_UPDATE:84,STAGE_INSTANCE_DELETE:85,STICKER_CREATE:90,STICKER_UPDATE:91,STICKER_DELETE:92,GUILD_SCHEDULED_EVENT_CREATE:100,GUILD_SCHEDULED_EVENT_UPDATE:101,GUILD_SCHEDULED_EVENT_DELETE:102,THREAD_CREATE:110,THREAD_UPDATE:111,THREAD_DELETE:112});t.AuditLogActions=Mn;var Pn,wn=(0,o.default)({ALL:null,CREATE:null,UPDATE:null,DELETE:null});t.AuditLogActionTypes=wn,t.AuditLogSubtargetTypes=Pn,function(e){e.USER="1",e.ROLE="0"}(Pn||(t.AuditLogSubtargetTypes=Pn={}));var Un,kn=(0,o.default)({ALL:null,UNKNOWN:null,GUILD:null,CHANNEL:null,CHANNEL_OVERWRITE:null,USER:null,ROLE:null,INVITE:null,WEBHOOK:null,EMOJI:null,INTEGRATION:null,STAGE_INSTANCE:null,GUILD_SCHEDULED_EVENT:null,THREAD:null,STICKER:null});t.AuditLogTargetTypes=kn,t.AuditLogChangeKeys=Un,function(e){e.NAME="name",e.DESCRIPTION="description",e.ICON_HASH="icon_hash",e.SPLASH_HASH="splash_hash",e.DISCOVERY_SPLASH_HASH="discovery_splash_hash",e.BANNER_HASH="banner_hash",e.OWNER_ID="owner_id",e.REGION="region",e.PREFERRED_LOCALE="preferred_locale",e.AFK_CHANNEL_ID="afk_channel_id",e.AFK_TIMEOUT="afk_timeout",e.SYSTEM_CHANNEL_ID="system_channel_id",e.RULES_CHANNEL_ID="rules_channel_id",e.PUBLIC_UPDATES_CHANNEL_ID="public_updates_channel_id",e.MFA_LEVEL="mfa_level",e.WIDGET_ENABLED="widget_enabled",e.WIDGET_CHANNEL_ID="widget_channel_id",e.VERIFICATION_LEVEL="verification_level",e.EXPLICIT_CONTENT_FILTER="explicit_content_filter",e.DEFAULT_MESSAGE_NOTIFICATIONS="default_message_notifications",e.VANITY_URL_CODE="vanity_url_code",e.POSITION="position",e.TOPIC="topic",e.TYPE="type",e.BITRATE="bitrate",e.RTC_REGION_OVERRIDE="rtc_region",e.USER_LIMIT="user_limit",e.PERMISSION_OVERWRITES="permission_overwrites",e.ROLES_ADD="$add",e.ROLES_REMOVE="$remove",e.NICK="nick",e.DEAF="deaf",e.MUTE="mute",e.PERMISSIONS="permissions",e.COLOR="color",e.HOIST="hoist",e.MENTIONABLE="mentionable",e.CODE="code",e.CHANNEL_ID="channel_id",e.INVITER_ID="inviter_id",e.MAX_USES="max_uses",e.USES="uses",e.MAX_AGE="max_age",e.TEMPORARY="temporary",e.APPLICATION_ID="application_id",e.AVATAR_HASH="avatar_hash",e.ID="id",e.PERMISSIONS_GRANTED="allow",e.PERMISSIONS_DENIED="deny",e.PERMISSIONS_RESET="reset",e.REASON="reason",e.PRUNE_DELETE_DAYS="prune_delete_days",e.NSFW="nsfw",e.RATE_LIMIT_PER_USER="rate_limit_per_user",e.VIDEO_QUALITY_MODE="video_quality_mode",e.DEFAULT_AUTO_ARCHIVE_DURATION="default_auto_archive_duration",e.ARCHIVED="archived",e.LOCKED="locked",e.AUTO_ARCHIVE_DURATION="auto_archive_duration",e.ENABLE_EMOTICONS="enable_emoticons",e.EXPIRE_BEHAVIOR="expire_behavior",e.EXPIRE_GRACE_PERIOD="expire_grace_period",e.PRIVACY_LEVEL="privacy_level",e.STATUS="status",e.ENTITY_TYPE="entity_type",e.SKU_IDS="sku_ids",e.TAGS="tags",e.ASSET="asset",e.FORMAT_TYPE="format_type",e.AVAILABLE="available",e.GUILD_ID="guild_id"}(Un||(t.AuditLogChangeKeys=Un={}));t.AUDIT_LOG_PAGE_LIMIT=50;var Gn,Yn=(0,o.default)({AGREEMENTS:null,REQUIRE_CAPTCHA:null,REQUIRE_VERIFIED_EMAIL:null,REQUIRE_VERIFIED_PHONE:null});t.UserRequiredActions=Yn,t.VerificationTypes=Gn,function(e){e.CAPTCHA="captcha",e.EMAIL_OR_PHONE="email_or_phone",e.PHONE="phone",e.EMAIL="email"}(Gn||(t.VerificationTypes=Gn={}));t.MAX_REASON_LENGTH=512;var xn=Object.freeze({PRIMARY:0,SECONDARY:2,WHEEL:4,BACK:8,FORWARD:16});t.MouseButtons=xn;var Vn,Hn,Fn=Object.freeze({BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,SPACE:32,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,COMMA:188,DIGIT_0:48,DIGIT_1:49,DIGIT_2:50,DIGIT_3:51,DIGIT_4:52,DIGIT_5:53,DIGIT_6:54,DIGIT_7:55,DIGIT_8:56,DIGIT_9:57,A:65,B:66,E:69,H:72,I:73,K:75,N:78,P:80,S:83,U:85});t.KeyboardKeys=Fn,t.PictureInPicturePositions=Vn,function(e){e.TOP_LEFT="top-left",e.TOP_RIGHT="top-right",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_RIGHT="bottom-right"}(Vn||(t.PictureInPicturePositions=Vn={})),t.PictureInPictureComponents=Hn,function(e){e.VIDEO="VIDEO",e.EMBED_IFRAME="EMBED_IFRAME"}(Hn||(t.PictureInPictureComponents=Hn={}));var Bn;t.USER_STATUS_TOOLTIP_DELAY=300,t.ChannelTextAreaIntegrationTypes=Bn,function(e){e.GIF="GIF"}(Bn||(t.ChannelTextAreaIntegrationTypes=Bn={}));var jn=Object.freeze({GIPHY:{type:Bn.GIF,command:"giphy",title:"Giphy",commandId:"-8"},TENOR:{type:Bn.GIF,command:"tenor",title:"Tenor",commandId:"-9"}});t.ChannelTextAreaIntegrations=jn;var Wn,Kn;t.MEDIA_PROXY_SIZES=[16,20,32,40,64,80,128,160,256,320,512,640,1024,1280,1536,2048,3072,4096],t.HelpdeskArticles=Wn,function(e){e.ENABLE_MIC_FIREFOX="204392448",e.PUSH_TO_TALK_ADMINISTRATOR_MODE="205082178",e.ENABLE_MIC_CHROME="205093487",e.PERMISSIONS_TUTORIAL="206029707",e.TWITCH_INTEGRATION="212112068",e.YOUTUBE_INTEGRATION="215162978",e.VOICE_CONNECTION_ERRORS="115001310031",e.NO_INPUT_DETECTED="214925018",e.OVERLAY_INTRODUCTION="217659737",e.PERMISSIONS_LOCKOUT="218449248",e.SETTING_UP_TWO_FACTOR="219576828",e.WEBHOOKS_INTRODUCTION="228383668",e.QUICK_SWITCHER_TUTORIAL="115000070311",e.SEARCH_INDEXING="115000414847",e.USING_SEARCH="115000468588",e.RICH_PRESENCE_INTRODUCTION="115001557452",e.CORRUPT_INSTALLATION="115004307527",e.SPOTIFY_AUTO_PAUSED="115002872212",e.SPOTIFY_CONNECTION="360000167212",e.SPELLCHECK="360000877191",e.INVALID_INVITES="360001556852",e.GDPR_ACCOUNT_DELETE="212500837",e.GDPR_ACCOUNT_DISABLE="360004066391",e.GDPR_REQUEST_DATA="360004027692",e.DATA_PRIVACY_CONTROLS="360004109911",e.ACCESSIBILITY_TRACKING="360035966492",e.NEARBY_FRIENDS="360014894392",e.APPLICATION_STORE_OVERVIEW="360012656092",e.APPLICATION_STORE_EARLY_ACCESS="360027392172",e.GIFTING="360020776291",e.GUILD_VANITY_URL="115001542132",e.GUILD_SUBSCRIPTIONS="360028038352",e.GUILD_BANNER_SPLASH="360028716472",e.GUILD_COMMUNITY_FEATURE="360047132851",e.BUILD_OVERRIDE_EMBED="360030114991",e.SUPPORTED_BROWSERS="213491697",e.ANNOUNCEMENT_CHANNELS="360032008192",e.GUILD_ANALYTICS="360032807371",e.BILLING="360017693772",e.PAYMENT_AUTHORIZATION_CHARGE="4402712000663",e.FUNIMATION_PROMOTION="360036587771",e.PUBLIC_GUILD_GUILDLINES="360035969312",e.SYSTEM_DMS="360036118732",e.MISSING_ENTITLEMENT="360016422832",e.AGE_GATE="360040724612",e.STREAM_FAILED="360040816151",e.REDUCED_MOTION="360040613412",e.NOISE_SUPPRESSION="360040843952",e.APPLICATION_VERIFICATION="360040720412",e.NSFW_AGE_GATING="115000084051#h_5206f3f2-0ee4-4380-b50a-25319e45bc7c",e.NSFW_GUILD_GUIDELINES="1500005292701",e.PREMIUM_TRIAL="360042410272",e.VOICE_VIDEO_TROUBLESHOOTING="360045138471",e.GUILD_GETTING_STARTED="360045138571",e.CHANNEL_FOLLOWING="360028384531",e.WEBHOOKS="228383668",e.INTEGRATIONS="360045093012",e.PARTNER_CODE_OF_CONDUCT="360024871991",e.MAX_MEMBERS="360052841734",e.STICKERS="360056891113",e.BLACK_FRIDAY_2020_PROMOTION="360057438734",e.KEYBOARD_NAVIGATION="1500000056121",e.DM_COULD_NOT_BE_DELIVERED="360060145013",e.EPHEMERAL_MESSAGES="1500000580222",e.CHANNEL_RTC_REGION="360060570993",e.OSX_SOUNDSHARE="1500006741102",e.TICKETED_EVENT_REFUND_POLICY="1500009434981",e.STAGE_CHANNEL_GUIDELINES="1500010879761",e.STAGE_DISCOVERY="1500011599542",e.STICKERS_UPLOAD="4403089981975"}(Wn||(t.HelpdeskArticles=Wn={})),t.EmbedTypes=Kn,function(e){e.IMAGE="image",e.VIDEO="video",e.LINK="link",e.ARTICLE="article",e.TWEET="tweet",e.RICH="rich",e.GIFV="gifv",e.APPLICATION_NEWS="application_news"}(Kn||(t.EmbedTypes=Kn={}));t.PURGE_MEMORY_TIMEOUT=3e5;t.INVITE_ENDPOINT="https://discord.gg";t.YOUTUBE_EMBED_URL=function(e){return"https://www.youtube.com/embed/"+e};t.YOUTUBE_PREVIEW_URL=function(e){return"https://img.youtube.com/vi/"+e+"/maxresdefault.jpg"};t.YOUTUBE_EXTERNAL_URL=function(e){return"https://www.youtube.com/watch?v="+e};t.MOBILE_DOWNLOAD_QRCODE_URL=function(e,t){return"https://discord.com"+xe.DOWNLOAD_QR_CODE_REDIRECT+"?has_e_mail="+e+"&referring_location="+t};var zn=Object.freeze({HIDDEN:1,PRIVATE:2,OVERLAY_DISABLED:4,ENTITLED:8,PREMIUM:16});t.LibraryApplicationFlags=zn;var qn=(0,o.default)({DONE:null,PLANNING:null,PREPARING:null,PUSHING:null,PULLING:null,CONFLICT:null,ERROR:null});t.CloudSyncStateTypes=qn;var Xn,Jn=(0,o.default)({PULL:null,PUSH:null,CONFLICT:null,NONE:null});t.CloudSyncResultTypes=Jn,t.Distributors=Xn,function(e){e.DISCORD="discord",e.STEAM="steam",e.TWITCH="twitch",e.UPLAY="uplay",e.BATTLENET="battlenet",e.ORIGIN="origin",e.GOG="gog",e.EPIC="epic"}(Xn||(t.Distributors=Xn={}));var Qn=Object.freeze(((v={})[Xn.DISCORD]="Discord",v[Xn.STEAM]="Steam",v[Xn.UPLAY]="Uplay",v[Xn.BATTLENET]="Battle.net",v[Xn.ORIGIN]="Origin",v[Xn.GOG]="GOG",v[Xn.TWITCH]="Twitch",v[Xn.EPIC]="Epic",v));t.DistributorNames=Qn;t.MAX_VIDEO_WIDTH=3840;var Zn,$n,er;t.MAX_VIDEO_HEIGHT=2160,t.Consents=Zn,function(e){e.USAGE_STATISTICS="usage_statistics",e.PERSONALIZATION="personalization"}(Zn||(t.Consents=Zn={})),t.FriendSourceFlagKeys=$n,function(e){e.ALL="all",e.FRIENDS="mutual_friends",e.GUILDS="mutual_guilds"}($n||(t.FriendSourceFlagKeys=$n={})),t.FriendDiscoveryFlags=er,function(e){e[e.NONE=0]="NONE",e[e.FIND_BY_PHONE=2]="FIND_BY_PHONE",e[e.FIND_BY_EMAIL=4]="FIND_BY_EMAIL"}(er||(t.FriendDiscoveryFlags=er={}));var tr,nr,rr,ir,or;t.REQUEST_DATA_LIMIT_DAYS=30,t.LobbyTypes=tr,function(e){e[e.PRIVATE=1]="PRIVATE",e[e.PUBLIC=2]="PUBLIC"}(tr||(t.LobbyTypes=tr={})),t.LobbyErrors=nr,function(e){e[e.NO_ERROR=0]="NO_ERROR",e[e.UNKNOWN_ERROR=1]="UNKNOWN_ERROR",e[e.SERVICE_UNAVAILABLE=2]="SERVICE_UNAVAILABLE",e[e.NOT_FOUND=3]="NOT_FOUND",e[e.INVALID_SECRET=4]="INVALID_SECRET",e[e.FULL=5]="FULL",e[e.LOBBY_LIMIT_REACHED=6]="LOBBY_LIMIT_REACHED",e[e.ALREADY_CONNECTING=7]="ALREADY_CONNECTING"}(nr||(t.LobbyErrors=nr={})),t.AppContext=rr,function(e){e.OVERLAY="OVERLAY",e.APP="APP",e.POPOUT="POPOUT"}(rr||(t.AppContext=rr={})),t.NearbyErrors=ir,function(e){e[e.MICROPHONE_ERROR=0]="MICROPHONE_ERROR",e[e.BLUETOOTH_ERROR=1]="BLUETOOTH_ERROR"}(ir||(t.NearbyErrors=ir={})),t.NearbyTypes=or,function(e){e.USER="u"}(or||(t.NearbyTypes=or={}));var ar=__OVERLAY__?rr.OVERLAY:rr.APP;t.CURRENT_APP_CONTEXT=ar;var sr,ur,lr,cr,dr,fr,_r,pr,Er,hr,mr,vr;t.GIFT_CODE_BASE_URLS=["discordapp.com/gifts","discord.com/gifts"],t.DispatchApplicationStates=sr,function(e){e.COMPLETE="complete",e.TRANSITION="transition"}(sr||(t.DispatchApplicationStates=sr={})),t.DispatchApplicationStages=ur,function(e){e.QUEUED="queued",e.PLANNING="planning",e.ALLOCATING_DISK="allocating_disk",e.PATCHING="patching",e.FINALIZING="finalizing",e.PAUSING="pausing",e.VERIFYING="verifying",e.REPAIRING="repairing",e.POST_INSTALL_SCRIPTS="running_install_scripts",e.UNINSTALLING="uninstalling"}(ur||(t.DispatchApplicationStages=ur={})),t.LocalDispatchApplicationStates=lr,function(e){e.INSTALL_REQUIRED="install_required",e.INSTALLING="installing",e.UP_TO_DATE="up_to_date",e.UPDATE_REQUIRED="update_required",e.UPDATING="updating",e.REPAIRING="repairing",e.UNINSTALLING="uninstalling"}(lr||(t.LocalDispatchApplicationStates=lr={})),t.LibraryApplicationActions=cr,function(e){e.PLAY="play",e.INSTALL="install",e.UPDATE="update",e.PAUSE="pause",e.MOVE_UP="move_up",e.RESUME="resume"}(cr||(t.LibraryApplicationActions=cr={})),t.ProgressBarIDs=dr,function(e){e.DISPATCH_APPLICATION_PROGRESS="dispatch_application_progress"}(dr||(t.ProgressBarIDs=dr={})),t.GameTableListKeys=fr,function(e){e.NAME="name",e.PLATFORM="platform",e.ACTIONS="actions",e.LAST_PLAYED="last_played"}(fr||(t.GameTableListKeys=fr={})),t.TableSortDirections=_r,function(e){e.ASCENDING="asc",e.DESCENDING="desc"}(_r||(t.TableSortDirections=_r={})),t.OperatingSystems=pr,function(e){e.WINDOWS="1",e.MACOS="2",e.LINUX="3"}(pr||(t.OperatingSystems=pr={})),t.EntitlementTypes=Er,function(e){e[e.PURCHASE=1]="PURCHASE",e[e.PREMIUM_SUBSCRIPTION=2]="PREMIUM_SUBSCRIPTION",e[e.DEVELOPER_GIFT=3]="DEVELOPER_GIFT",e[e.TEST_MODE_PURCHASE=4]="TEST_MODE_PURCHASE",e[e.FREE_PURCHASE=5]="FREE_PURCHASE",e[e.USER_GIFT=6]="USER_GIFT"}(Er||(t.EntitlementTypes=Er={})),t.ContentRatingAgencies=hr,function(e){e.ESRB="1",e.PEGI="2"}(hr||(t.ContentRatingAgencies=hr={})),t.SKUTypes=mr,function(e){e[e.DURABLE_PRIMARY=1]="DURABLE_PRIMARY",e[e.DURABLE=2]="DURABLE",e[e.CONSUMABLE=3]="CONSUMABLE",e[e.BUNDLE=4]="BUNDLE",e[e.SUBSCRIPTION=5]="SUBSCRIPTION"}(mr||(t.SKUTypes=mr={})),t.SKUAccessTypes=vr,function(e){e[e.FULL=1]="FULL",e[e.EARLY_ACCESS=2]="EARLY_ACCESS",e[e.VIP_ACCESS=3]="VIP_ACCESS"}(vr||(t.SKUAccessTypes=vr={}));var Tr=Object.freeze({PREMIUM_PURCHASE:1,HAS_FREE_PREMIUM_CONTENT:2,AVAILABLE:4,PREMIUM_AND_DISTRIBUTION:8,STICKER_PACK:16});t.SKUFlags=Tr;t.STORE_DIRECTORY_LAYOUT_ID="555552588917899315";var gr;t.STORE_DIRECTORY_LAYOUT_ID_QUERY_OVERRIDE="store_directory_layout_id",t.DirectoryLocations=gr,function(e){e.HOME="1",e.BROWSE="2"}(gr||(t.DirectoryLocations=gr={}));var Ir,Sr,yr=Object.freeze(O({ALL:-1},s.SKUGenres));t.StoreApplicationGenresFilter=yr,t.StoreApplicationSort=Ir,function(e){e.NEW_RELEASES="new",e.ALPHABETICAL="asc",e.REVERSE_ALPHABETICAL="desc",e.ID="id"}(Ir||(t.StoreApplicationSort=Ir={})),t.BuildPlatformTypes=Sr,function(e){e.WIN32="win32",e.WIN64="win64",e.MACOS="macos",e.LINUX="linux"}(Sr||(t.BuildPlatformTypes=Sr={}));t.PAYPAL_URL="https://www.paypal.com";t.COVID_URL="https://www.cdc.gov/coronavirus/2019-nCoV/index.html";t.COUNTRIES_WITHOUT_POSTAL_CODES=["AE","AG","AN","AO","AW","BF","BI","BJ","BM","BO","BQ","BS","BW","BZ","CD","CF","CG","CI","CK","CM","CW","DJ","DM","ER","FJ","GA","GD","GH","GM","GQ","GY","HK","HM","IE","JM","KE","KI","KM","KN","KP","LY","ML","MO","MR","MW","NA","NR","NU","QA","RW","SB","SC","SL","SR","ST","SX","SY","TD","TF","TG","TK","TL","TO","TV","UG","VU","YE","ZA","ZW"];var Ar=(0,o.default)({HOUSE_1:null,HOUSE_2:null,HOUSE_3:null});t.HypeSquadHouses=Ar;var Or;t.RANDOM_HYPESQUAD_HOUSE="RANDOM_HYPESQUAD_HOUSE",t.KeyboardDeviceTypes=Or,function(e){e[e.KEYBOARD_KEY=0]="KEYBOARD_KEY",e[e.MOUSE_BUTTON=1]="MOUSE_BUTTON",e[e.KEYBOARD_MODIFIER_KEY=2]="KEYBOARD_MODIFIER_KEY",e[e.GAMEPAD_BUTTON=3]="GAMEPAD_BUTTON"}(Or||(t.KeyboardDeviceTypes=Or={}));var Nr=Object.freeze({esc:9,f1:67,f2:68,f3:69,f4:70,f5:71,f6:72,f7:73,f8:74,f9:75,f10:76,f11:95,f12:96,f14:107,f15:78,f16:127,"`":49,1:10,2:11,3:12,4:13,5:14,6:15,7:16,8:17,9:18,0:19,"-":20,"=":21,backspace:22,tab:23,q:24,w:25,e:26,r:27,t:28,y:29,u:30,i:31,o:32,p:33,"[":34,"]":35,"\\":51,"caps lock":66,a:38,s:39,d:40,f:41,g:42,h:43,j:44,k:45,l:46,";":47,"'":48,enter:36,"left shift":50,z:52,x:53,c:54,v:55,b:56,n:57,m:58,",":59,".":60,"/":61,"right shift":62,"left ctrl":37,"left alt":64,"left meta":133,space:65,"right meta":134,"right alt":108,"right ctrl":105,menu:135,"num lock":77,"numpad =":125,"numpad /":106,"numpad *":63,"numpad 7":79,"numpad 8":80,"numpad 9":81,"numpad -":82,"numpad 4":83,"numpad 5":84,"numpad 6":85,"numpad +":86,"numpad 1":87,"numpad 2":88,"numpad 3":89,"numpad enter":104,"numpad 0":90,"numpad .":91,home:110,"page up":112,end:115,"page down":117,insert:118,delete:119,left:113,right:114,down:116,up:111,sleep:150,back:166,forward:167,"home key":180,favorites:164,email:163,play:172,stop:174,"vol down":122,"vol up":123,"track back":173,"track skip":171});t.LinuxKeyToCode=Nr;var Rr=Object.freeze({a:4,s:22,d:7,f:9,h:11,g:10,z:29,x:27,c:6,v:25,b:5,q:20,w:26,e:8,r:21,y:28,t:23,1:30,2:31,3:32,4:33,6:35,5:34,"=":46,9:38,7:36,"-":45,8:37,0:39,"]":48,o:18,u:24,"[":47,i:12,p:19,l:15,j:13,"'":52,k:14,";":51,"\\":49,",":54,"/":56,n:17,m:16,".":55,"`":53,"numpad .":99,"numpad *":85,"numpad +":87,"numpad clear":83,"numpad /":84,"numpad enter":88,"numpad -":86,"numpad =":103,"numpad 0":98,"numpad 1":89,"numpad 2":90,"numpad 3":91,"numpad 4":92,"numpad 5":93,"numpad 6":94,"numpad 7":95,"numpad 8":96,"numpad 9":97,enter:40,tab:43,space:44,backspace:42,esc:41,meta:227,shift:225,"caps lock":57,alt:226,ctrl:224,"right shift":229,"right alt":230,"right ctrl":228,"right meta":231,f17:108,f18:109,f19:110,f20:111,f5:62,f6:63,f7:64,f3:60,f8:65,f9:66,f11:68,f13:104,f16:107,f14:105,f10:67,f12:69,f15:106,home:74,"page up":75,del:76,f4:61,end:77,f2:59,"page down":78,f1:58,left:80,right:79,down:81,up:82});t.MacosKeyToCode=Rr;var br=Object.freeze({Left:0,Right:1,Center:2,Back:3,Forward:4});t.MouseKeyCodes=br;var Lr,Dr=Object.freeze({a:65,s:83,d:68,f:70,h:72,g:71,z:90,x:88,c:67,v:86,b:66,q:81,w:87,e:69,r:82,y:89,t:84,1:49,2:50,3:51,4:52,6:54,5:53,"=":187,9:57,7:55,"-":189,8:56,0:48,"]":221,o:79,u:85,"[":219,i:73,p:80,l:76,j:74,k:75,";":186,",":188,"/":191,n:78,m:77,".":190,"numpad .":110,"numpad *":106,"numpad +":107,"numpad clear":144,"numpad /":111,"numpad -":109,"numpad =":226,"numpad 0":96,"numpad 1":97,"numpad 2":98,"numpad 3":99,"numpad 4":100,"numpad 5":101,"numpad 6":102,"numpad 7":103,"numpad 8":104,"numpad 9":105,enter:13,tab:9,space:32,backspace:8,esc:27,meta:91,shift:160,"caps lock":20,alt:164,ctrl:162,"right shift":161,"right alt":165,"right ctrl":163,"right meta":93,f17:128,f18:129,f19:130,f5:116,f6:117,f7:118,f3:114,f8:119,f9:120,f11:122,f13:124,f16:127,f14:125,f10:121,f12:123,f15:126,home:36,"page up":33,del:46,f4:115,end:35,f2:113,"page down":34,f1:112,left:37,right:39,down:40,up:38,insert:45,break:19,"scroll lock":145,"print screen":44,rewind:177,play:179,"fast forward":176,"`":192,"\\":220,"'":222});t.WindowsKeyToCode=Dr,t.KeyboardEnvs=Lr,function(e){e[e.WINDOWS=1]="WINDOWS",e[e.MACOS=2]="MACOS",e[e.LINUX=3]="LINUX",e[e.BROWSER=4]="BROWSER"}(Lr||(t.KeyboardEnvs=Lr={}));var Cr=(0,o.default)({EMPTY_MESSAGE:null,MESSAGE_TOO_LONG:null,RATE_LIMITED:null,SHOUTING_CANCELLED:null,SLOWMODE_COOLDOWN:null});t.MessageRestrictionTypes=Cr;var Mr,Pr,wr;t.MESSAGE_GROUP_INTERVAL=42e4,t.CarouselMediaTypes=Mr,function(e){e[e.IMG=1]="IMG",e[e.YOUTUBE_VIDEO=2]="YOUTUBE_VIDEO",e[e.VIDEO=3]="VIDEO"}(Mr||(t.CarouselMediaTypes=Mr={})),t.StoreRecommendationTypes=Pr,function(e){e.NOW_PLAYING="1",e.RECENTLY_PLAYED="2",e.EVER_PLAYED="3",e.FLAVOR_TEXT="4",e.RECENT_RELEASE_DATE="6",e.RELEASE_DATE="7",e.EARLY_ACCESS="8",e.HAS_FREE_PREMIUM_CONTENT="9"}(Pr||(t.StoreRecommendationTypes=Pr={})),t.OverlayNotificationPriorities=wr,function(e){e[e.NORMAL=0]="NORMAL",e[e.HIGH=1]="HIGH",e[e.URGENT=2]="URGENT"}(wr||(t.OverlayNotificationPriorities=wr={}));var Ur=(0,o.default)({INPUT:null,OUTPUT:null,INPUT_AND_OUTPUT:null});t.ConnectedDeviceType=Ur;var kr,Gr,Yr,xr=(0,o.default)({INPUT:null,OUTPUT:null,INPUT_AND_OUTPUT:null});t.ConnectedDevicePreference=xr,t.ViewHistoryKeys=kr,function(e){e.APPLICATION_LIBRARY_BADGE="application_library_badge_18_11_02",e.SERVER_DISCOVERY_BADGE="server_discovery_badge_19_02_11",e.E3_SERVER_DISCOVERY_BADGE="e3_server_discovery_badge_19_06_08"}(kr||(t.ViewHistoryKeys=kr={})),t.InAppNotificationTypes=Gr,function(e){e.MESSAGE="MESSAGE"}(Gr||(t.InAppNotificationTypes=Gr={})),t.GIFPickerResultTypes=Yr,function(e){e.TRENDING_GIFS="Trending",e.FAVORITES="Favorites",e.TRENDING_CATEGORY="Category",e.SEARCH="Search",e.SEARCH_SUGGESTION="Search Suggestion"}(Yr||(t.GIFPickerResultTypes=Yr={}));var Vr=new Set([s.CurrencyCodes.USD,s.CurrencyCodes.CAD,s.CurrencyCodes.EUR,s.CurrencyCodes.AUD,s.CurrencyCodes.GBP]);t.GIFTABLE_CURRENCIES=Vr;t.GIFProviders={GIPHY:"giphy",TENOR:"tenor"};t.TenorFormats={GIF:"gif",MP4:"mp4",MEDIUMGIF:"mediumgif",TINYGIF:"tinygif",NANOGIF:"nanogif",LOOPEDMP4:"loopedmp4",TINYMP4:"tinymp4",NANOMP4:"nanomp4",WEBM:"webm",TINYWEBM:"tinywebm",NANOWEBM:"nanowebm"};t.GIPHYFormats={FIXED_HEIGHT_GIF:"fixed_height.url",FIXED_HEIGHT_MP4:"fixed_height.mp4",FIXED_HEIGHT_SMALL_GIF:"fixed_height_small.url",FIXED_HEIGHT_SMALL_MP4:"fixed_height_small.mp4",FIXED_WIDTH_GIF:"fixed_width.url",FIXED_WIDTH_MP4:"fixed_width.mp4",FIXED_WIDTH_SMALL_GIF:"fixed_width_small.url",FIXED_WIDTH_SMALL_MP4:"fixed_width_small.mp4",DOWNSIZED_GIF:"downsized.url",DOWNSIZED_LARGE_GIF:"downsized_large.url",DOWNSIZED_MEDIUM_GIF:"downsized_medium.url",DOWNSIZED_SMALL_MP4:"downsized_small.mp4",ORIGINAL_GIF:"original.url",ORIGINAL_MP4:"original.mp4"};var Hr=(0,o.default)({IMAGE:null,VIDEO:null});t.GIFResultFormat=Hr;var Fr=(0,o.default)({ALWAYS:null,ON_CLICK:null,IF_MODERATOR:null});t.SpoilerRenderSetting=Fr;t.CustomDiscordApplicationId="530820671283003422";t.UNAMBIGUOUS_CHARACTERS="abcdefghjkmnpqrstuvwxyzABCDEFGHJKMNPQRSTUVWXYZ23456789";t.MAX_TIMEOUT_MS=2147483647;t.PREMIUM_GUILD_UPSELL_LIST_AMT=4;t.GIFT_CODE_REDEMPTION_PLACEHOLDER="WUMP-AAAAA-BBBBB-CCCCC";t.OFF_PLATFORM_PREMIUM_PERKS=[];t.AppleBillingUrls={PAYMENT_SOURCE_MANAGEMENT:"https://support.apple.com/HT201266",BILLING_HISTORY:"https://support.apple.com/HT201266",SUBSCRIPTION_MANAGEMENT:"https://support.apple.com/HT202039"};t.GoogleBillingUrls={SUBSCRIPTION_MANAGEMENT:"https://play.google.com/store/account/subscriptions",PAYMENT_SOURCE_MANAGEMENT:"https://play.google.com/store/paymentmethods",BILLING_HISTORY:"https://play.google.com/store/account/orderhistory"};var Br,jr,Wr,Kr=function(e){var t={};for(var n in e)t[n]="DISCORD_"+e[n];return t}((0,o.default)({CHANNEL_CALL_POPOUT:null}));t.PopoutWindowKeys=Kr,t.PopoutEventTypes=Br,function(e){e.LOADED="loaded",e.UNLOADED="unloaded"}(Br||(t.PopoutEventTypes=Br={})),t.ApplicationStreamStates=jr,function(e){e.CONNECTING="CONNECTING",e.ACTIVE="ACTIVE",e.RECONNECTING="RECONNECTING",e.ENDED="ENDED",e.PAUSED="PAUSED",e.FAILED="FAILED"}(jr||(t.ApplicationStreamStates=jr={})),t.ApplicationStreamDeleteReasons=Wr,function(e){e.USER_REQUESTED="user_requested",e.STREAM_FULL="stream_full",e.UNAUTHORIZED="unauthorized"}(Wr||(t.ApplicationStreamDeleteReasons=Wr={}));var zr,qr=(0,o.default)({SOUND:null,VIDEO:null});t.MediaEngineHookTypes=qr,t.MediaEngineVideoStates=zr,function(e){e.PLAYING="playing",e.PAUSED="paused"}(zr||(t.MediaEngineVideoStates=zr={}));var Xr,Jr,Qr,Zr=(0,o.default)({GUILD:null,FOLDER:null});t.GuildsBarDragTypes=Zr,t.SoundshareTraceStates=Xr,function(e){e[e.DETACHED=0]="DETACHED",e[e.WAITING=1]="WAITING",e[e.ATTACHED=2]="ATTACHED",e[e.STARTED=3]="STARTED",e[e.PLAYING=4]="PLAYING",e[e.SILENCE=5]="SILENCE"}(Xr||(t.SoundshareTraceStates=Xr={})),t.NetworkConnectionTypes=Jr,function(e){e.NONE="none",e.WIFI="wifi",e.CELLULAR="cellular",e.UNKNOWN="unknown",e.ETHERNET="ethernet",e.BLUETOOTH="bluetooth",e.WIMAX="wimax",e.OTHER="other"}(Jr||(t.NetworkConnectionTypes=Jr={})),t.NetworkConnectionSpeeds=Qr,function(e){e.UNKNOWN="unknown",e.SLOW_TWO_G="slow-2g",e.TWO_G="2g",e.THREE_G="3g",e.FOUR_G="4g"}(Qr||(t.NetworkConnectionSpeeds=Qr={}));var $r,ei,ti,ni,ri,ii;t.DISCODO_STORAGE_KEY="discodoEasterEgg",t.SpringTransitionPhases=$r,function(e){e.INITIAL="initial",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"}($r||(t.SpringTransitionPhases=$r={})),t.SettingsPaneTypes=ei,function(e){e.CHANNEL_SETTINGS="Channel Settings",e.CHANNEL_NOTIFICATION_SETTINGS="Channel Notification Settings",e.GUILD_NOTIFICATION_SETTINGS="Guild Notification Settings"}(ei||(t.SettingsPaneTypes=ei={})),t.AddFriendTabs=ti,function(e){e.USERNAME="Username",e.NEARBY_SCAN="Nearby Scan"}(ti||(t.AddFriendTabs=ti={})),t.DiscordProtocolRoutes=ni,function(e){e.PREMIUM="discord://app/settings/nitro"}(ni||(t.DiscordProtocolRoutes=ni={})),t.WebhookTypes=ri,function(e){e[e.INCOMING=1]="INCOMING",e[e.CHANNEL_FOLLOWER=2]="CHANNEL_FOLLOWER"}(ri||(t.WebhookTypes=ri={})),t.IntegrationSettingsSections=ii,function(e){e[e.APPLICATION=0]="APPLICATION",e[e.OVERVIEW=1]="OVERVIEW",e[e.CHANNEL_FOLLOWING=2]="CHANNEL_FOLLOWING",e[e.TWITCH=3]="TWITCH",e[e.YOUTUBE=4]="YOUTUBE",e[e.WEBHOOKS=5]="WEBHOOKS"}(ii||(t.IntegrationSettingsSections=ii={}));t.MAX_MEMBERS_NOTIFY_ALL_MESSAGES=2500;t.UNREACHABLE_REQUEST_ANIMATION_FRAME_ID=0;var oi,ai,si,ui,li;t.WELCOME_OLD_GUILD_AGE_THRESHOLD=2592e6,t.AllowedMentionTypes=oi,function(e){e.USERS="users",e.ROLES="roles",e.EVERYONE="everyone"}(oi||(t.AllowedMentionTypes=oi={})),t.CaptchaTypes=ai,function(e){e.HCAPTCHA="hcaptcha",e.RECAPTCHA="recaptcha"}(ai||(t.CaptchaTypes=ai={})),t.VideoQualityMode=si,function(e){e[e.AUTO=1]="AUTO",e[e.FULL=2]="FULL"}(si||(t.VideoQualityMode=si={})),t.SoundshareEnableState=ui,function(e){e[e.NOT_ENABLED=0]="NOT_ENABLED",e[e.ENABLING=1]="ENABLING",e[e.ENABLED=2]="ENABLED"}(ui||(t.SoundshareEnableState=ui={})),t.SoundshareStatusCode=li,function(e){e[e.FAILED=-1]="FAILED",e[e.OK=0]="OK",e[e.ACE_NOT_AUTHORIZED=5]="ACE_NOT_AUTHORIZED"}(li||(t.SoundshareStatusCode=li={}));t.REACTION_TOOLTIP_MAX_USERS=3;t.DEFAULT_NUM_REACTION_USERS=100;t.TOKEN_REGEX=/(mfa\.[a-z0-9_-]{20,})|([a-z0-9_-]{23,28}\.[a-z0-9_-]{6,7}\.[a-z0-9_-]{27})/i;var ci=g.default;t.Colors=ci},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Dispatcher",{enumerable:!0,get:function(){return r.Dispatcher}}),t.default=void 0;var r=n(3),i=new r.Dispatcher;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BatchedStoreListener",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"Dispatcher",{enumerable:!0,get:function(){return i.Dispatcher}}),Object.defineProperty(t,"Store",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"useStateFromStores",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"useStateFromStoresObject",{enumerable:!0,get:function(){return s.useStateFromStoresObject}}),Object.defineProperty(t,"useStateFromStoresArray",{enumerable:!0,get:function(){return s.useStateFromStoresArray}}),Object.defineProperty(t,"statesWillNeverBeEqual",{enumerable:!0,get:function(){return s.statesWillNeverBeEqual}}),t.default=void 0;var r=l(n(432)),i=n(1446),o=l(n(780)),a=l(n(212)),s=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(1288));function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e){return e&&e.__esModule?e:{default:e}}var c=o.default;t.default=c},function(e,t,n){var r=n(18),i=n(30),o=n(59),a=n(52),s=n(72),u=function(e,t,n){var l,c,d,f,_=e&u.F,p=e&u.G,E=e&u.S,h=e&u.P,m=e&u.B,v=p?r:E?r[t]||(r[t]={}):(r[t]||{}).prototype,T=p?i:i[t]||(i[t]={}),g=T.prototype||(T.prototype={});for(l in p&&(n=t),n)d=((c=!_&&v&&void 0!==v[l])?v:n)[l],f=m&&c?s(d,r):h&&"function"==typeof d?s(Function.call,d):d,v&&a(v,l,d,e&u.U),T[l]!=d&&o(T,l,f),h&&g[l]!=d&&(g[l]=d)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function c(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function f(e,t){for(var n in t)d(t,n)&&(e[n]=t[n]);return d(t,"toString")&&(e.toString=t.toString),d(t,"valueOf")&&(e.valueOf=t.valueOf),e}function _(e,t,n,r){return yt(e,t,n,r,!0).utc()}function p(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function E(e){if(null==e._isValid){var t=p(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function h(e){var t=_(NaN);return null!=e?f(p(t),e):p(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var m=i.momentProperties=[];function v(e,t){var n,r,i;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=p(t)),s(t._locale)||(e._locale=t._locale),m.length>0)for(n=0;n<m.length;n++)s(i=t[r=m[n]])||(e[r]=i);return e}var T=!1;function g(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===T&&(T=!0,i.updateOffset(this),T=!1)}function I(e){return e instanceof g||null!=e&&null!=e._isAMomentObject}function S(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function y(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=S(t)),n}function A(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&y(e[r])!==y(t[r]))&&a++;return a+o}function O(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function N(e,t){var n=!0;return f((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){for(var r,o=[],a=0;a<arguments.length;a++){if(r="","object"==typeof arguments[a]){for(var s in r+="\n["+a+"] ",arguments[0])r+=s+": "+arguments[0][s]+", ";r=r.slice(0,-2)}else r=arguments[a];o.push(r)}O(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var R,b={};function L(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),b[e]||(O(t),b[e]=!0)}function D(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function C(e,t){var n,r=f({},e);for(n in t)d(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)d(e,n)&&!d(t,n)&&a(e[n])&&(r[n]=f({},r[n]));return r}function M(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,R=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)d(e,t)&&n.push(t);return n};var P={};function w(e,t){var n=e.toLowerCase();P[n]=P[n+"s"]=P[t]=e}function U(e){return"string"==typeof e?P[e]||P[e.toLowerCase()]:void 0}function k(e){var t,n,r={};for(n in e)d(e,n)&&(t=U(n))&&(r[t]=e[n]);return r}var G={};function Y(e,t){G[e]=t}function x(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var V=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},B={};function j(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(B[e]=i),t&&(B[t[0]]=function(){return x(i.apply(this,arguments),t[1],t[2])}),n&&(B[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function W(e,t){return e.isValid()?(t=K(t,e.localeData()),F[t]=F[t]||function(e){var t,n,r,i=e.match(V);for(t=0,n=i.length;t<n;t++)B[i[t]]?i[t]=B[i[t]]:i[t]=(r=i[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,o="";for(r=0;r<n;r++)o+=D(i[r])?i[r].call(t,e):i[r];return o}}(t),F[t](e)):e.localeData().invalidDate()}function K(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(H.lastIndex=0;n>=0&&H.test(e);)e=e.replace(H,r),H.lastIndex=0,n-=1;return e}var z=/\d/,q=/\d\d/,X=/\d{3}/,J=/\d{4}/,Q=/[+-]?\d{6}/,Z=/\d\d?/,$=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ne=/\d{1,4}/,re=/[+-]?\d{1,6}/,ie=/\d+/,oe=/[+-]?\d+/,ae=/Z|[+-]\d\d:?\d\d/gi,se=/Z|[+-]\d\d(?::?\d\d)?/gi,ue=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,le={};function ce(e,t,n){le[e]=D(t)?t:function(e,r){return e&&n?n:t}}function de(e,t){return d(le,e)?le[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i}))))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var _e={};function pe(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),u(t)&&(r=function(e,n){n[t]=y(e)}),n=0;n<e.length;n++)_e[e[n]]=r}function Ee(e,t){pe(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function he(e,t,n){null!=t&&d(_e,e)&&_e[e](t,n._a,n,e)}function me(e){return ve(e)?366:365}function ve(e){return e%4==0&&e%100!=0||e%400==0}j("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),j(0,["YY",2],0,(function(){return this.year()%100})),j(0,["YYYY",4],0,"year"),j(0,["YYYYY",5],0,"year"),j(0,["YYYYYY",6,!0],0,"year"),w("year","y"),Y("year",1),ce("Y",oe),ce("YY",Z,q),ce("YYYY",ne,J),ce("YYYYY",re,Q),ce("YYYYYY",re,Q),pe(["YYYYY","YYYYYY"],0),pe("YYYY",(function(e,t){t[0]=2===e.length?i.parseTwoDigitYear(e):y(e)})),pe("YY",(function(e,t){t[0]=i.parseTwoDigitYear(e)})),pe("Y",(function(e,t){t[0]=parseInt(e,10)})),i.parseTwoDigitYear=function(e){return y(e)+(y(e)>68?1900:2e3)};var Te,ge=Ie("FullYear",!0);function Ie(e,t){return function(n){return null!=n?(ye(this,e,n),i.updateOffset(this,t),this):Se(this,e)}}function Se(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function ye(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ve(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ae(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Ae(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?ve(e)?29:28:31-r%7%2}Te=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},j("M",["MM",2],"Mo",(function(){return this.month()+1})),j("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),j("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),w("month","M"),Y("month",8),ce("M",Z),ce("MM",Z,q),ce("MMM",(function(e,t){return t.monthsShortRegex(e)})),ce("MMMM",(function(e,t){return t.monthsRegex(e)})),pe(["M","MM"],(function(e,t){t[1]=y(e)-1})),pe(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[1]=i:p(n).invalidMonth=e}));var Oe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ne="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function be(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=_([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Te.call(this._shortMonthsParse,a))?i:null:-1!==(i=Te.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Te.call(this._shortMonthsParse,a))||-1!==(i=Te.call(this._longMonthsParse,a))?i:null:-1!==(i=Te.call(this._longMonthsParse,a))||-1!==(i=Te.call(this._shortMonthsParse,a))?i:null}function Le(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=y(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ae(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function De(e){return null!=e?(Le(this,e),i.updateOffset(this,!0),this):Se(this,"Month")}var Ce=ue,Me=ue;function Pe(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=_([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=fe(r[t]),i[t]=fe(i[t]);for(t=0;t<24;t++)o[t]=fe(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function we(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function Ue(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function ke(e,t,n){var r=7+t-n;return-(7+Ue(e,0,r).getUTCDay()-t)%7+r-1}function Ge(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+ke(e,r,i);return s<=0?a=me(o=e-1)+s:s>me(e)?(o=e+1,a=s-me(e)):(o=e,a=s),{year:o,dayOfYear:a}}function Ye(e,t,n){var r,i,o=ke(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?r=a+xe(i=e.year()-1,t,n):a>xe(e.year(),t,n)?(r=a-xe(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function xe(e,t,n){var r=ke(e,t,n),i=ke(e+1,t,n);return(me(e)-r+i)/7}j("w",["ww",2],"wo","week"),j("W",["WW",2],"Wo","isoWeek"),w("week","w"),w("isoWeek","W"),Y("week",5),Y("isoWeek",5),ce("w",Z),ce("ww",Z,q),ce("W",Z),ce("WW",Z,q),Ee(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=y(e)})),j("d",0,"do","day"),j("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),j("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),j("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),j("e",0,0,"weekday"),j("E",0,0,"isoWeekday"),w("day","d"),w("weekday","e"),w("isoWeekday","E"),Y("day",11),Y("weekday",11),Y("isoWeekday",11),ce("d",Z),ce("e",Z),ce("E",Z),ce("dd",(function(e,t){return t.weekdaysMinRegex(e)})),ce("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),ce("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ee(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e})),Ee(["d","e","E"],(function(e,t,n,r){t[r]=y(e)}));var Ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),He="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Fe="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Be(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=_([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Te.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Te.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Te.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Te.call(this._weekdaysParse,a))||-1!==(i=Te.call(this._shortWeekdaysParse,a))||-1!==(i=Te.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Te.call(this._shortWeekdaysParse,a))||-1!==(i=Te.call(this._weekdaysParse,a))||-1!==(i=Te.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Te.call(this._minWeekdaysParse,a))||-1!==(i=Te.call(this._weekdaysParse,a))||-1!==(i=Te.call(this._shortWeekdaysParse,a))?i:null}var je=ue,We=ue,Ke=ue;function ze(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=_([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=fe(s[t]),u[t]=fe(u[t]),l[t]=fe(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function qe(){return this.hours()%12||12}function Xe(e,t){j(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Je(e,t){return t._meridiemParse}j("H",["HH",2],0,"hour"),j("h",["hh",2],0,qe),j("k",["kk",2],0,(function(){return this.hours()||24})),j("hmm",0,0,(function(){return""+qe.apply(this)+x(this.minutes(),2)})),j("hmmss",0,0,(function(){return""+qe.apply(this)+x(this.minutes(),2)+x(this.seconds(),2)})),j("Hmm",0,0,(function(){return""+this.hours()+x(this.minutes(),2)})),j("Hmmss",0,0,(function(){return""+this.hours()+x(this.minutes(),2)+x(this.seconds(),2)})),Xe("a",!0),Xe("A",!1),w("hour","h"),Y("hour",13),ce("a",Je),ce("A",Je),ce("H",Z),ce("h",Z),ce("k",Z),ce("HH",Z,q),ce("hh",Z,q),ce("kk",Z,q),ce("hmm",$),ce("hmmss",ee),ce("Hmm",$),ce("Hmmss",ee),pe(["H","HH"],3),pe(["k","kk"],(function(e,t,n){var r=y(e);t[3]=24===r?0:r})),pe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),pe(["h","hh"],(function(e,t,n){t[3]=y(e),p(n).bigHour=!0})),pe("hmm",(function(e,t,n){var r=e.length-2;t[3]=y(e.substr(0,r)),t[4]=y(e.substr(r)),p(n).bigHour=!0})),pe("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=y(e.substr(0,r)),t[4]=y(e.substr(r,2)),t[5]=y(e.substr(i)),p(n).bigHour=!0})),pe("Hmm",(function(e,t,n){var r=e.length-2;t[3]=y(e.substr(0,r)),t[4]=y(e.substr(r))})),pe("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=y(e.substr(0,r)),t[4]=y(e.substr(r,2)),t[5]=y(e.substr(i))}));var Qe,Ze=Ie("Hours",!0),$e={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ne,monthsShort:Re,week:{dow:0,doy:6},weekdays:Ve,weekdaysMin:Fe,weekdaysShort:He,meridiemParse:/[ap]\.?m?\.?/i},et={},tt={};function nt(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var r=null;if(!et[t]&&void 0!==e&&e&&e.exports)try{r=Qe._abbr,n(1477)("./"+t),it(r)}catch(e){}return et[t]}function it(e,t){var n;return e&&((n=s(t)?at(e):ot(e,t))?Qe=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Qe._abbr}function ot(e,t){if(null!==t){var n,r=$e;if(t.abbr=e,null!=et[e])L("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=et[e]._config;else if(null!=t.parentLocale)if(null!=et[t.parentLocale])r=et[t.parentLocale]._config;else{if(null==(n=rt(t.parentLocale)))return tt[t.parentLocale]||(tt[t.parentLocale]=[]),tt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return et[e]=new M(C(r,t)),tt[e]&&tt[e].forEach((function(e){ot(e.name,e.config)})),it(e),et[e]}return delete et[e],null}function at(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Qe;if(!o(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=nt(e[o]).split("-")).length,n=(n=nt(e[o+1]))?n.split("-"):null;t>0;){if(r=rt(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&A(i,n,!0)>=t-1)break;t--}o++}return Qe}(e)}function st(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Ae(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}function ut(e,t,n){return null!=e?e:null!=t?t:n}function lt(e){var t,n,r,o,a,s=[];if(!e._d){for(r=function(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,i,o,a,s,u;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=ut(t.GG,e._a[0],Ye(At(),1,4).year),r=ut(t.W,1),((i=ut(t.E,1))<1||i>7)&&(u=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var l=Ye(At(),o,a);n=ut(t.gg,e._a[0],l.year),r=ut(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o}r<1||r>xe(n,o,a)?p(e)._overflowWeeks=!0:null!=u?p(e)._overflowWeekday=!0:(s=Ge(n,r,i,o,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=ut(e._a[0],r[0]),(e._dayOfYear>me(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Ue(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ue:we).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(p(e).weekdayMismatch=!0)}}var ct=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,_t=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],pt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Et=/^\/?Date\((\-?\d+)/i;function ht(e){var t,n,r,i,o,a,s=e._i,u=ct.exec(s)||dt.exec(s);if(u){for(p(e).iso=!0,t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(u[1])){i=_t[t][0],r=!1!==_t[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=pt.length;t<n;t++)if(pt[t][1].exec(u[3])){o=(u[2]||" ")+pt[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!ft.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),It(e)}else e._isValid=!1}var mt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function vt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var Tt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function gt(e){var t,n,r,i,o,a,s,u=mt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(u){var l=(t=u[4],n=u[3],r=u[2],i=u[5],o=u[6],a=u[7],s=[vt(t),Re.indexOf(n),parseInt(r,10),parseInt(i,10),parseInt(o,10)],a&&s.push(parseInt(a,10)),s);if(!function(e,t,n){return!e||He.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(p(n).weekdayMismatch=!0,n._isValid=!1,!1)}(u[1],l,e))return;e._a=l,e._tzm=function(e,t,n){if(e)return Tt[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}(u[8],u[9],u[10]),e._d=Ue.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function It(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],p(e).empty=!0;var t,n,r,o,a,s=""+e._i,u=s.length,l=0;for(r=K(e._f,e._locale).match(V)||[],t=0;t<r.length;t++)o=r[t],(n=(s.match(de(o,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),l+=n.length),B[o]?(n?p(e).empty=!1:p(e).unusedTokens.push(o),he(o,n,e)):e._strict&&!n&&p(e).unusedTokens.push(o);p(e).charsLeftOver=u-l,s.length>0&&p(e).unusedInput.push(s),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),lt(e),st(e)}else gt(e);else ht(e)}function St(e){var t=e._i,n=e._f;return e._locale=e._locale||at(e._l),null===t||void 0===n&&""===t?h({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),I(t)?new g(st(t)):(l(t)?e._d=t:o(n)?function(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],It(t),E(t)&&(o+=p(t).charsLeftOver,o+=10*p(t).unusedTokens.length,p(t).score=o,(null==r||o<r)&&(r=o,n=t));f(e,n||t)}(e):n?It(e):function(e){var t=e._i;s(t)?e._d=new Date(i.now()):l(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=Et.exec(e._i);null===t?(ht(e),!1===e._isValid&&(delete e._isValid,gt(e),!1===e._isValid&&(delete e._isValid,i.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=c(t.slice(0),(function(e){return parseInt(e,10)})),lt(e)):a(t)?function(e){if(!e._d){var t=k(e._i);e._a=c([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),lt(e)}}(e):u(t)?e._d=new Date(t):i.createFromInputFallback(e)}(e),E(e)||(e._d=null),e))}function yt(e,t,n,r,i){var s,u={};return!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||o(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=i,u._l=n,u._i=e,u._f=t,u._strict=r,(s=new g(st(St(u))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function At(e,t,n,r){return yt(e,t,n,r,!1)}i.createFromInputFallback=N("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Ot=N("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=At.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:h()})),Nt=N("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=At.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:h()}));function Rt(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return At();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var bt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Lt(e){var t=k(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||0,a=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Te.call(bt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<bt.length;++r)if(e[bt[r]]){if(n)return!1;parseFloat(e[bt[r]])!==y(e[bt[r]])&&(n=!0)}return!0}(t),this._milliseconds=+c+1e3*l+6e4*u+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=at(),this._bubble()}function Dt(e){return e instanceof Lt}function Ct(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Mt(e,t){j(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+x(~~(e/60),2)+t+x(~~e%60,2)}))}Mt("Z",":"),Mt("ZZ",""),ce("Z",se),ce("ZZ",se),pe(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=wt(se,e)}));var Pt=/([\+\-]|\d\d)/gi;function wt(e,t){var n=(t||"").match(e);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(Pt)||["-",0,0],i=60*r[1]+y(r[2]);return 0===i?0:"+"===r[0]?i:-i}function Ut(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(I(e)||l(e)?e.valueOf():At(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):At(e).local()}function kt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Gt(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Yt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,xt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Vt(e,t){var n,r,i,o,a,s,l=e,c=null;return Dt(e)?l={ms:e._milliseconds,d:e._days,M:e._months}:u(e)?(l={},t?l[t]=e:l.milliseconds=e):(c=Yt.exec(e))?(n="-"===c[1]?-1:1,l={y:0,d:y(c[2])*n,h:y(c[3])*n,m:y(c[4])*n,s:y(c[5])*n,ms:y(Ct(1e3*c[6]))*n}):(c=xt.exec(e))?(n="-"===c[1]?-1:(c[1],1),l={y:Ht(c[2],n),M:Ht(c[3],n),w:Ht(c[4],n),d:Ht(c[5],n),h:Ht(c[6],n),m:Ht(c[7],n),s:Ht(c[8],n)}):null==l?l={}:"object"==typeof l&&("from"in l||"to"in l)&&(o=At(l.from),a=At(l.to),i=o.isValid()&&a.isValid()?(a=Ut(a,o),o.isBefore(a)?s=Ft(o,a):((s=Ft(a,o)).milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0},(l={}).ms=i.milliseconds,l.M=i.months),r=new Lt(l),Dt(e)&&d(e,"_locale")&&(r._locale=e._locale),r}function Ht(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ft(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Bt(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(L(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),jt(this,Vt(n="string"==typeof n?+n:n,r),e),this}}function jt(e,t,n,r){var o=t._milliseconds,a=Ct(t._days),s=Ct(t._months);e.isValid()&&(r=null==r||r,s&&Le(e,Se(e,"Month")+s*n),a&&ye(e,"Date",Se(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&i.updateOffset(e,a||s))}Vt.fn=Lt.prototype,Vt.invalid=function(){return Vt(NaN)};var Wt=Bt(1,"add"),Kt=Bt(-1,"subtract");function zt(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function qt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=at(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Xt=N("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function Jt(){return this._locale}function Qt(e,t){j(0,[e,e.length],0,t)}function Zt(e,t,n,r,i){var o;return null==e?Ye(this,r,i).year:(t>(o=xe(e,r,i))&&(t=o),$t.call(this,e,t,n,r,i))}function $t(e,t,n,r,i){var o=Ge(e,t,n,r,i),a=Ue(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}j(0,["gg",2],0,(function(){return this.weekYear()%100})),j(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Qt("gggg","weekYear"),Qt("ggggg","weekYear"),Qt("GGGG","isoWeekYear"),Qt("GGGGG","isoWeekYear"),w("weekYear","gg"),w("isoWeekYear","GG"),Y("weekYear",1),Y("isoWeekYear",1),ce("G",oe),ce("g",oe),ce("GG",Z,q),ce("gg",Z,q),ce("GGGG",ne,J),ce("gggg",ne,J),ce("GGGGG",re,Q),ce("ggggg",re,Q),Ee(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=y(e)})),Ee(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),j("Q",0,"Qo","quarter"),w("quarter","Q"),Y("quarter",7),ce("Q",z),pe("Q",(function(e,t){t[1]=3*(y(e)-1)})),j("D",["DD",2],"Do","date"),w("date","D"),Y("date",9),ce("D",Z),ce("DD",Z,q),ce("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),pe(["D","DD"],2),pe("Do",(function(e,t){t[2]=y(e.match(Z)[0])}));var en=Ie("Date",!0);j("DDD",["DDDD",3],"DDDo","dayOfYear"),w("dayOfYear","DDD"),Y("dayOfYear",4),ce("DDD",te),ce("DDDD",X),pe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=y(e)})),j("m",["mm",2],0,"minute"),w("minute","m"),Y("minute",14),ce("m",Z),ce("mm",Z,q),pe(["m","mm"],4);var tn=Ie("Minutes",!1);j("s",["ss",2],0,"second"),w("second","s"),Y("second",15),ce("s",Z),ce("ss",Z,q),pe(["s","ss"],5);var nn,rn=Ie("Seconds",!1);for(j("S",0,0,(function(){return~~(this.millisecond()/100)})),j(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),j(0,["SSS",3],0,"millisecond"),j(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),j(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),j(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),j(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),j(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),j(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),w("millisecond","ms"),Y("millisecond",16),ce("S",te,z),ce("SS",te,q),ce("SSS",te,X),nn="SSSS";nn.length<=9;nn+="S")ce(nn,ie);function on(e,t){t[6]=y(1e3*("0."+e))}for(nn="S";nn.length<=9;nn+="S")pe(nn,on);var an=Ie("Milliseconds",!1);j("z",0,0,"zoneAbbr"),j("zz",0,0,"zoneName");var sn=g.prototype;function un(e){return e}sn.add=Wt,sn.calendar=function(e,t){var n=e||At(),r=Ut(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=t&&(D(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,At(n)))},sn.clone=function(){return new g(this)},sn.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Ut(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=U(t)){case"year":o=zt(this,r)/12;break;case"month":o=zt(this,r);break;case"quarter":o=zt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:S(o)},sn.endOf=function(e){return void 0===(e=U(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},sn.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=W(this,e);return this.localeData().postformat(t)},sn.from=function(e,t){return this.isValid()&&(I(e)&&e.isValid()||At(e).isValid())?Vt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},sn.fromNow=function(e){return this.from(At(),e)},sn.to=function(e,t){return this.isValid()&&(I(e)&&e.isValid()||At(e).isValid())?Vt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},sn.toNow=function(e){return this.to(At(),e)},sn.get=function(e){return D(this[e=U(e)])?this[e]():this},sn.invalidAt=function(){return p(this).overflow},sn.isAfter=function(e,t){var n=I(e)?e:At(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=U(s(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},sn.isBefore=function(e,t){var n=I(e)?e:At(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=U(s(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},sn.isBetween=function(e,t,n,r){return("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},sn.isSame=function(e,t){var n,r=I(e)?e:At(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=U(t||"millisecond"))?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},sn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},sn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},sn.isValid=function(){return E(this)},sn.lang=Xt,sn.locale=qt,sn.localeData=Jt,sn.max=Nt,sn.min=Ot,sn.parsingFlags=function(){return f({},p(this))},sn.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:G[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}(e=k(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(D(this[e=U(e)]))return this[e](t);return this},sn.startOf=function(e){switch(e=U(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},sn.subtract=Kt,sn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},sn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},sn.toDate=function(){return new Date(this.valueOf())},sn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},sn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)},sn.toJSON=function(){return this.isValid()?this.toISOString():null},sn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},sn.unix=function(){return Math.floor(this.valueOf()/1e3)},sn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},sn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},sn.year=ge,sn.isLeapYear=function(){return ve(this.year())},sn.weekYear=function(e){return Zt.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},sn.isoWeekYear=function(e){return Zt.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},sn.quarter=sn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},sn.month=De,sn.daysInMonth=function(){return Ae(this.year(),this.month())},sn.week=sn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},sn.isoWeek=sn.isoWeeks=function(e){var t=Ye(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},sn.weeksInYear=function(){var e=this.localeData()._week;return xe(this.year(),e.dow,e.doy)},sn.isoWeeksInYear=function(){return xe(this.year(),1,4)},sn.date=en,sn.day=sn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},sn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},sn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},sn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},sn.hour=sn.hours=Ze,sn.minute=sn.minutes=tn,sn.second=sn.seconds=rn,sn.millisecond=sn.milliseconds=an,sn.utcOffset=function(e,t,n){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=wt(se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=kt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?jt(this,Vt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:kt(this)},sn.utc=function(e){return this.utcOffset(0,e)},sn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(kt(this),"m")),this},sn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=wt(ae,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},sn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?At(e).utcOffset():0,(this.utcOffset()-e)%60==0)},sn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},sn.isLocal=function(){return!!this.isValid()&&!this._isUTC},sn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},sn.isUtc=Gt,sn.isUTC=Gt,sn.zoneAbbr=function(){return this._isUTC?"UTC":""},sn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},sn.dates=N("dates accessor is deprecated. Use date instead.",en),sn.months=N("months accessor is deprecated. Use month instead",De),sn.years=N("years accessor is deprecated. Use year instead",ge),sn.zone=N("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),sn.isDSTShifted=N("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),(e=St(e))._a){var t=e._isUTC?_(e._a):At(e._a);this._isDSTShifted=this.isValid()&&A(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var ln=M.prototype;function cn(e,t,n,r){var i=at(),o=_().set(r,t);return i[n](o,e)}function dn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return cn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=cn(e,r,n,"month");return i}function fn(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,o=at(),a=e?o._week.dow:0;if(null!=n)return cn(t,(n+a)%7,r,"day");var s=[];for(i=0;i<7;i++)s[i]=cn(t,(i+a)%7,r,"day");return s}ln.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return D(r)?r.call(t,n):r},ln.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},ln.invalidDate=function(){return this._invalidDate},ln.ordinal=function(e){return this._ordinal.replace("%d",e)},ln.preparse=un,ln.postformat=un,ln.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return D(i)?i(e,t,n,r):i.replace(/%d/i,e)},ln.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(n)?n(t):n.replace(/%s/i,t)},ln.set=function(e){var t,n;for(n in e)D(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},ln.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Oe).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},ln.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Oe.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},ln.monthsParse=function(e,t,n){var r,i,o;if(this._monthsParseExact)return be.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=_([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},ln.monthsRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||Pe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=Me),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},ln.monthsShortRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||Pe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=Ce),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},ln.week=function(e){return Ye(e,this._week.dow,this._week.doy).week},ln.firstDayOfYear=function(){return this._week.doy},ln.firstDayOfWeek=function(){return this._week.dow},ln.weekdays=function(e,t){return e?o(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:o(this._weekdays)?this._weekdays:this._weekdays.standalone},ln.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},ln.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},ln.weekdaysParse=function(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Be.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=_([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},ln.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||ze.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=je),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},ln.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||ze.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=We),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ln.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||ze.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ke),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ln.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},ln.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},it("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===y(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=N("moment.lang is deprecated. Use moment.locale instead.",it),i.langData=N("moment.langData is deprecated. Use moment.localeData instead.",at);var _n=Math.abs;function pn(e,t,n,r){var i=Vt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function En(e){return e<0?Math.floor(e):Math.ceil(e)}function hn(e){return 4800*e/146097}function mn(e){return 146097*e/4800}function vn(e){return function(){return this.as(e)}}var Tn=vn("ms"),gn=vn("s"),In=vn("m"),Sn=vn("h"),yn=vn("d"),An=vn("w"),On=vn("M"),Nn=vn("y");function Rn(e){return function(){return this.isValid()?this._data[e]:NaN}}var bn=Rn("milliseconds"),Ln=Rn("seconds"),Dn=Rn("minutes"),Cn=Rn("hours"),Mn=Rn("days"),Pn=Rn("months"),wn=Rn("years"),Un=Math.round,kn={ss:44,s:45,m:45,h:22,d:26,M:11};function Gn(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}var Yn=Math.abs;function xn(e){return(e>0)-(e<0)||+e}function Vn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Yn(this._milliseconds)/1e3,r=Yn(this._days),i=Yn(this._months);e=S(n/60),t=S(e/60),n%=60,e%=60;var o=S(i/12),a=i%=12,s=r,u=t,l=e,c=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",_=xn(this._months)!==xn(d)?"-":"",p=xn(this._days)!==xn(d)?"-":"",E=xn(this._milliseconds)!==xn(d)?"-":"";return f+"P"+(o?_+o+"Y":"")+(a?_+a+"M":"")+(s?p+s+"D":"")+(u||l||c?"T":"")+(u?E+u+"H":"")+(l?E+l+"M":"")+(c?E+c+"S":"")}var Hn=Lt.prototype;return Hn.isValid=function(){return this._isValid},Hn.abs=function(){var e=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),e.milliseconds=_n(e.milliseconds),e.seconds=_n(e.seconds),e.minutes=_n(e.minutes),e.hours=_n(e.hours),e.months=_n(e.months),e.years=_n(e.years),this},Hn.add=function(e,t){return pn(this,e,t,1)},Hn.subtract=function(e,t){return pn(this,e,t,-1)},Hn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=U(e))||"year"===e)return t=this._days+r/864e5,n=this._months+hn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(mn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Hn.asMilliseconds=Tn,Hn.asSeconds=gn,Hn.asMinutes=In,Hn.asHours=Sn,Hn.asDays=yn,Hn.asWeeks=An,Hn.asMonths=On,Hn.asYears=Nn,Hn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12):NaN},Hn._bubble=function(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*En(mn(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=S(o/1e3),u.seconds=e%60,t=S(e/60),u.minutes=t%60,n=S(t/60),u.hours=n%24,a+=S(n/24),i=S(hn(a)),s+=i,a-=En(mn(i)),r=S(s/12),s%=12,u.days=a,u.months=s,u.years=r,this},Hn.clone=function(){return Vt(this)},Hn.get=function(e){return e=U(e),this.isValid()?this[e+"s"]():NaN},Hn.milliseconds=bn,Hn.seconds=Ln,Hn.minutes=Dn,Hn.hours=Cn,Hn.days=Mn,Hn.weeks=function(){return S(this.days()/7)},Hn.months=Pn,Hn.years=wn,Hn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var r=Vt(e).abs(),i=Un(r.as("s")),o=Un(r.as("m")),a=Un(r.as("h")),s=Un(r.as("d")),u=Un(r.as("M")),l=Un(r.as("y")),c=i<=kn.ss&&["s",i]||i<kn.s&&["ss",i]||o<=1&&["m"]||o<kn.m&&["mm",o]||a<=1&&["h"]||a<kn.h&&["hh",a]||s<=1&&["d"]||s<kn.d&&["dd",s]||u<=1&&["M"]||u<kn.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,Gn.apply(null,c)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Hn.toISOString=Vn,Hn.toString=Vn,Hn.toJSON=Vn,Hn.locale=qt,Hn.localeData=Jt,Hn.toIsoString=N("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Vn),Hn.lang=Xt,j("X",0,0,"unix"),j("x",0,0,"valueOf"),ce("x",oe),ce("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),pe("x",(function(e,t,n){n._d=new Date(y(e))})),i.version="2.22.2",t=At,i.fn=sn,i.min=function(){var e=[].slice.call(arguments,0);return Rt("isBefore",e)},i.max=function(){var e=[].slice.call(arguments,0);return Rt("isAfter",e)},i.now=function(){return Date.now?Date.now():+new Date},i.utc=_,i.unix=function(e){return At(1e3*e)},i.months=function(e,t){return dn(e,t,"months")},i.isDate=l,i.locale=it,i.invalid=h,i.duration=Vt,i.isMoment=I,i.weekdays=function(e,t,n){return fn(e,t,n,"weekdays")},i.parseZone=function(){return At.apply(null,arguments).parseZone()},i.localeData=at,i.isDuration=Dt,i.monthsShort=function(e,t){return dn(e,t,"monthsShort")},i.weekdaysMin=function(e,t,n){return fn(e,t,n,"weekdaysMin")},i.defineLocale=ot,i.updateLocale=function(e,t){if(null!=t){var n,r,i=$e;null!=(r=rt(e))&&(i=r._config),t=C(i,t),(n=new M(t)).parentLocale=et[e],et[e]=n,it(e)}else null!=et[e]&&(null!=et[e].parentLocale?et[e]=et[e].parentLocale:null!=et[e]&&delete et[e]);return et[e]},i.locales=function(){return R(et)},i.weekdaysShort=function(e,t,n){return fn(e,t,n,"weekdaysShort")},i.normalizeUnits=U,i.relativeTimeRounding=function(e){return void 0===e?Un:"function"==typeof e&&(Un=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==kn[e]&&(void 0===t?kn[e]:(kn[e]=t,"s"===e&&(kn.ss=t-1),!0))},i.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},i.prototype=sn,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},i}()}).call(this,n(209)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(348)),i=s(n(164)),o=s(n(1300)),a=s(n(1539));function s(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||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}).apply(this,arguments)}var l=function(e){return u({},a.default,{},e)},c=new r.default({getMessages:function(e){if("en-US"===e){var t=o.default;return l(t)}return n(1540)("./"+e+".json").then((function(e){return e.default})).then(l)},getLanguages:function(){return n(1541)}});c.addListener("locale",(function(e){return i.default.setTags({locale:e})}));var d=c;t.default=d},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function c(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function f(e,t){for(var n in t)d(t,n)&&(e[n]=t[n]);return d(t,"toString")&&(e.toString=t.toString),d(t,"valueOf")&&(e.valueOf=t.valueOf),e}function _(e,t,n,r){return At(e,t,n,r,!0).utc()}function p(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function E(e){if(null==e._isValid){var t=p(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function h(e){var t=_(NaN);return null!=e?f(p(t),e):p(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var m=i.momentProperties=[];function v(e,t){var n,r,i;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=p(t)),s(t._locale)||(e._locale=t._locale),m.length>0)for(n=0;n<m.length;n++)s(i=t[r=m[n]])||(e[r]=i);return e}var T=!1;function g(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===T&&(T=!0,i.updateOffset(this),T=!1)}function I(e){return e instanceof g||null!=e&&null!=e._isAMomentObject}function S(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function y(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=S(t)),n}function A(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&y(e[r])!==y(t[r]))&&a++;return a+o}function O(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function N(e,t){var n=!0;return f((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){for(var r,o=[],a=0;a<arguments.length;a++){if(r="","object"==typeof arguments[a]){for(var s in r+="\n["+a+"] ",arguments[0])r+=s+": "+arguments[0][s]+", ";r=r.slice(0,-2)}else r=arguments[a];o.push(r)}O(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var R,b={};function L(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),b[e]||(O(t),b[e]=!0)}function D(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function C(e,t){var n,r=f({},e);for(n in t)d(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)d(e,n)&&!d(t,n)&&a(e[n])&&(r[n]=f({},r[n]));return r}function M(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,R=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)d(e,t)&&n.push(t);return n};var P={};function w(e,t){var n=e.toLowerCase();P[n]=P[n+"s"]=P[t]=e}function U(e){return"string"==typeof e?P[e]||P[e.toLowerCase()]:void 0}function k(e){var t,n,r={};for(n in e)d(e,n)&&(t=U(n))&&(r[t]=e[n]);return r}var G={};function Y(e,t){G[e]=t}function x(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var V=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},B={};function j(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(B[e]=i),t&&(B[t[0]]=function(){return x(i.apply(this,arguments),t[1],t[2])}),n&&(B[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function W(e,t){return e.isValid()?(t=K(t,e.localeData()),F[t]=F[t]||function(e){var t,n,r,i=e.match(V);for(t=0,n=i.length;t<n;t++)B[i[t]]?i[t]=B[i[t]]:i[t]=(r=i[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,o="";for(r=0;r<n;r++)o+=D(i[r])?i[r].call(t,e):i[r];return o}}(t),F[t](e)):e.localeData().invalidDate()}function K(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(H.lastIndex=0;n>=0&&H.test(e);)e=e.replace(H,r),H.lastIndex=0,n-=1;return e}var z=/\d/,q=/\d\d/,X=/\d{3}/,J=/\d{4}/,Q=/[+-]?\d{6}/,Z=/\d\d?/,$=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ne=/\d{1,4}/,re=/[+-]?\d{1,6}/,ie=/\d+/,oe=/[+-]?\d+/,ae=/Z|[+-]\d\d:?\d\d/gi,se=/Z|[+-]\d\d(?::?\d\d)?/gi,ue=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,le={};function ce(e,t,n){le[e]=D(t)?t:function(e,r){return e&&n?n:t}}function de(e,t){return d(le,e)?le[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i}))))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var _e={};function pe(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),u(t)&&(r=function(e,n){n[t]=y(e)}),n=0;n<e.length;n++)_e[e[n]]=r}function Ee(e,t){pe(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function he(e,t,n){null!=t&&d(_e,e)&&_e[e](t,n._a,n,e)}function me(e){return ve(e)?366:365}function ve(e){return e%4==0&&e%100!=0||e%400==0}j("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),j(0,["YY",2],0,(function(){return this.year()%100})),j(0,["YYYY",4],0,"year"),j(0,["YYYYY",5],0,"year"),j(0,["YYYYYY",6,!0],0,"year"),w("year","y"),Y("year",1),ce("Y",oe),ce("YY",Z,q),ce("YYYY",ne,J),ce("YYYYY",re,Q),ce("YYYYYY",re,Q),pe(["YYYYY","YYYYYY"],0),pe("YYYY",(function(e,t){t[0]=2===e.length?i.parseTwoDigitYear(e):y(e)})),pe("YY",(function(e,t){t[0]=i.parseTwoDigitYear(e)})),pe("Y",(function(e,t){t[0]=parseInt(e,10)})),i.parseTwoDigitYear=function(e){return y(e)+(y(e)>68?1900:2e3)};var Te,ge=Ie("FullYear",!0);function Ie(e,t){return function(n){return null!=n?(ye(this,e,n),i.updateOffset(this,t),this):Se(this,e)}}function Se(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function ye(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ve(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ae(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Ae(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?ve(e)?29:28:31-r%7%2}Te=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},j("M",["MM",2],"Mo",(function(){return this.month()+1})),j("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),j("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),w("month","M"),Y("month",8),ce("M",Z),ce("MM",Z,q),ce("MMM",(function(e,t){return t.monthsShortRegex(e)})),ce("MMMM",(function(e,t){return t.monthsRegex(e)})),pe(["M","MM"],(function(e,t){t[1]=y(e)-1})),pe(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[1]=i:p(n).invalidMonth=e}));var Oe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ne="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function be(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=_([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Te.call(this._shortMonthsParse,a))?i:null:-1!==(i=Te.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Te.call(this._shortMonthsParse,a))||-1!==(i=Te.call(this._longMonthsParse,a))?i:null:-1!==(i=Te.call(this._longMonthsParse,a))||-1!==(i=Te.call(this._shortMonthsParse,a))?i:null}function Le(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=y(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ae(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function De(e){return null!=e?(Le(this,e),i.updateOffset(this,!0),this):Se(this,"Month")}var Ce=ue,Me=ue;function Pe(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=_([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=fe(r[t]),i[t]=fe(i[t]);for(t=0;t<24;t++)o[t]=fe(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function we(e,t,n,r,i,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,o,a),s}function Ue(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function ke(e,t,n){var r=7+t-n;return-(7+Ue(e,0,r).getUTCDay()-t)%7+r-1}function Ge(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+ke(e,r,i);return s<=0?a=me(o=e-1)+s:s>me(e)?(o=e+1,a=s-me(e)):(o=e,a=s),{year:o,dayOfYear:a}}function Ye(e,t,n){var r,i,o=ke(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?r=a+xe(i=e.year()-1,t,n):a>xe(e.year(),t,n)?(r=a-xe(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function xe(e,t,n){var r=ke(e,t,n),i=ke(e+1,t,n);return(me(e)-r+i)/7}function Ve(e,t){return e.slice(t,7).concat(e.slice(0,t))}j("w",["ww",2],"wo","week"),j("W",["WW",2],"Wo","isoWeek"),w("week","w"),w("isoWeek","W"),Y("week",5),Y("isoWeek",5),ce("w",Z),ce("ww",Z,q),ce("W",Z),ce("WW",Z,q),Ee(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=y(e)})),j("d",0,"do","day"),j("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),j("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),j("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),j("e",0,0,"weekday"),j("E",0,0,"isoWeekday"),w("day","d"),w("weekday","e"),w("isoWeekday","E"),Y("day",11),Y("weekday",11),Y("isoWeekday",11),ce("d",Z),ce("e",Z),ce("E",Z),ce("dd",(function(e,t){return t.weekdaysMinRegex(e)})),ce("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),ce("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ee(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e})),Ee(["d","e","E"],(function(e,t,n,r){t[r]=y(e)}));var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Fe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Be="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function je(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=_([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Te.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Te.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Te.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Te.call(this._weekdaysParse,a))||-1!==(i=Te.call(this._shortWeekdaysParse,a))||-1!==(i=Te.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Te.call(this._shortWeekdaysParse,a))||-1!==(i=Te.call(this._weekdaysParse,a))||-1!==(i=Te.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Te.call(this._minWeekdaysParse,a))||-1!==(i=Te.call(this._weekdaysParse,a))||-1!==(i=Te.call(this._shortWeekdaysParse,a))?i:null}var We=ue,Ke=ue,ze=ue;function qe(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=_([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=fe(s[t]),u[t]=fe(u[t]),l[t]=fe(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Xe(){return this.hours()%12||12}function Je(e,t){j(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Qe(e,t){return t._meridiemParse}j("H",["HH",2],0,"hour"),j("h",["hh",2],0,Xe),j("k",["kk",2],0,(function(){return this.hours()||24})),j("hmm",0,0,(function(){return""+Xe.apply(this)+x(this.minutes(),2)})),j("hmmss",0,0,(function(){return""+Xe.apply(this)+x(this.minutes(),2)+x(this.seconds(),2)})),j("Hmm",0,0,(function(){return""+this.hours()+x(this.minutes(),2)})),j("Hmmss",0,0,(function(){return""+this.hours()+x(this.minutes(),2)+x(this.seconds(),2)})),Je("a",!0),Je("A",!1),w("hour","h"),Y("hour",13),ce("a",Qe),ce("A",Qe),ce("H",Z),ce("h",Z),ce("k",Z),ce("HH",Z,q),ce("hh",Z,q),ce("kk",Z,q),ce("hmm",$),ce("hmmss",ee),ce("Hmm",$),ce("Hmmss",ee),pe(["H","HH"],3),pe(["k","kk"],(function(e,t,n){var r=y(e);t[3]=24===r?0:r})),pe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),pe(["h","hh"],(function(e,t,n){t[3]=y(e),p(n).bigHour=!0})),pe("hmm",(function(e,t,n){var r=e.length-2;t[3]=y(e.substr(0,r)),t[4]=y(e.substr(r)),p(n).bigHour=!0})),pe("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=y(e.substr(0,r)),t[4]=y(e.substr(r,2)),t[5]=y(e.substr(i)),p(n).bigHour=!0})),pe("Hmm",(function(e,t,n){var r=e.length-2;t[3]=y(e.substr(0,r)),t[4]=y(e.substr(r))})),pe("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=y(e.substr(0,r)),t[4]=y(e.substr(r,2)),t[5]=y(e.substr(i))}));var Ze,$e=Ie("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ne,monthsShort:Re,week:{dow:0,doy:6},weekdays:He,weekdaysMin:Be,weekdaysShort:Fe,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function rt(e){return e?e.toLowerCase().replace("_","-"):e}function it(t){var r=null;if(!tt[t]&&void 0!==e&&e&&e.exports)try{r=Ze._abbr,n(5416)("./"+t),ot(r)}catch(e){}return tt[t]}function ot(e,t){var n;return e&&((n=s(t)?st(e):at(e,t))?Ze=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ze._abbr}function at(e,t){if(null!==t){var n,r=et;if(t.abbr=e,null!=tt[e])L("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])r=tt[t.parentLocale]._config;else{if(null==(n=it(t.parentLocale)))return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return tt[e]=new M(C(r,t)),nt[e]&&nt[e].forEach((function(e){at(e.name,e.config)})),ot(e),tt[e]}return delete tt[e],null}function st(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ze;if(!o(e)){if(t=it(e))return t;e=[e]}return function(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=rt(e[o]).split("-")).length,n=(n=rt(e[o+1]))?n.split("-"):null;t>0;){if(r=it(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&A(i,n,!0)>=t-1)break;t--}o++}return Ze}(e)}function ut(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Ae(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}function lt(e,t,n){return null!=e?e:null!=t?t:n}function ct(e){var t,n,r,o,a,s=[];if(!e._d){for(r=function(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,i,o,a,s,u;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=lt(t.GG,e._a[0],Ye(Ot(),1,4).year),r=lt(t.W,1),((i=lt(t.E,1))<1||i>7)&&(u=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var l=Ye(Ot(),o,a);n=lt(t.gg,e._a[0],l.year),r=lt(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o}r<1||r>xe(n,o,a)?p(e)._overflowWeeks=!0:null!=u?p(e)._overflowWeekday=!0:(s=Ge(n,r,i,o,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=lt(e._a[0],r[0]),(e._dayOfYear>me(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Ue(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ue:we).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(p(e).weekdayMismatch=!0)}}var dt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_t=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Et=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ht=/^\/?Date\((\-?\d+)/i;function mt(e){var t,n,r,i,o,a,s=e._i,u=dt.exec(s)||ft.exec(s);if(u){for(p(e).iso=!0,t=0,n=pt.length;t<n;t++)if(pt[t][1].exec(u[1])){i=pt[t][0],r=!1!==pt[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=Et.length;t<n;t++)if(Et[t][1].exec(u[3])){o=(u[2]||" ")+Et[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!_t.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),St(e)}else e._isValid=!1}var vt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Tt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var gt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function It(e){var t,n,r,i,o,a,s,u=vt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(u){var l=(t=u[4],n=u[3],r=u[2],i=u[5],o=u[6],a=u[7],s=[Tt(t),Re.indexOf(n),parseInt(r,10),parseInt(i,10),parseInt(o,10)],a&&s.push(parseInt(a,10)),s);if(!function(e,t,n){return!e||Fe.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(p(n).weekdayMismatch=!0,n._isValid=!1,!1)}(u[1],l,e))return;e._a=l,e._tzm=function(e,t,n){if(e)return gt[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}(u[8],u[9],u[10]),e._d=Ue.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function St(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],p(e).empty=!0;var t,n,r,o,a,s=""+e._i,u=s.length,l=0;for(r=K(e._f,e._locale).match(V)||[],t=0;t<r.length;t++)o=r[t],(n=(s.match(de(o,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),l+=n.length),B[o]?(n?p(e).empty=!1:p(e).unusedTokens.push(o),he(o,n,e)):e._strict&&!n&&p(e).unusedTokens.push(o);p(e).charsLeftOver=u-l,s.length>0&&p(e).unusedInput.push(s),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),ct(e),ut(e)}else It(e);else mt(e)}function yt(e){var t=e._i,n=e._f;return e._locale=e._locale||st(e._l),null===t||void 0===n&&""===t?h({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),I(t)?new g(ut(t)):(l(t)?e._d=t:o(n)?function(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],St(t),E(t)&&(o+=p(t).charsLeftOver,o+=10*p(t).unusedTokens.length,p(t).score=o,(null==r||o<r)&&(r=o,n=t));f(e,n||t)}(e):n?St(e):function(e){var t=e._i;s(t)?e._d=new Date(i.now()):l(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=ht.exec(e._i);null===t?(mt(e),!1===e._isValid&&(delete e._isValid,It(e),!1===e._isValid&&(delete e._isValid,i.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=c(t.slice(0),(function(e){return parseInt(e,10)})),ct(e)):a(t)?function(e){if(!e._d){var t=k(e._i);e._a=c([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),ct(e)}}(e):u(t)?e._d=new Date(t):i.createFromInputFallback(e)}(e),E(e)||(e._d=null),e))}function At(e,t,n,r,i){var s,u={};return!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||o(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=i,u._l=n,u._i=e,u._f=t,u._strict=r,(s=new g(ut(yt(u))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Ot(e,t,n,r){return At(e,t,n,r,!1)}i.createFromInputFallback=N("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Nt=N("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Ot.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:h()})),Rt=N("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Ot.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:h()}));function bt(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Ot();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Lt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Dt(e){var t=k(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Te.call(Lt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<Lt.length;++r)if(e[Lt[r]]){if(n)return!1;parseFloat(e[Lt[r]])!==y(e[Lt[r]])&&(n=!0)}return!0}(t),this._milliseconds=+c+1e3*l+6e4*u+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=st(),this._bubble()}function Ct(e){return e instanceof Dt}function Mt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Pt(e,t){j(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+x(~~(e/60),2)+t+x(~~e%60,2)}))}Pt("Z",":"),Pt("ZZ",""),ce("Z",se),ce("ZZ",se),pe(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Ut(se,e)}));var wt=/([\+\-]|\d\d)/gi;function Ut(e,t){var n=(t||"").match(e);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(wt)||["-",0,0],i=60*r[1]+y(r[2]);return 0===i?0:"+"===r[0]?i:-i}function kt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(I(e)||l(e)?e.valueOf():Ot(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Ot(e).local()}function Gt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Yt(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var xt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Vt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ht(e,t){var n,r,i,o,a,s,l=e,c=null;return Ct(e)?l={ms:e._milliseconds,d:e._days,M:e._months}:u(e)?(l={},t?l[t]=e:l.milliseconds=e):(c=xt.exec(e))?(n="-"===c[1]?-1:1,l={y:0,d:y(c[2])*n,h:y(c[3])*n,m:y(c[4])*n,s:y(c[5])*n,ms:y(Mt(1e3*c[6]))*n}):(c=Vt.exec(e))?(n="-"===c[1]?-1:1,l={y:Ft(c[2],n),M:Ft(c[3],n),w:Ft(c[4],n),d:Ft(c[5],n),h:Ft(c[6],n),m:Ft(c[7],n),s:Ft(c[8],n)}):null==l?l={}:"object"==typeof l&&("from"in l||"to"in l)&&(o=Ot(l.from),a=Ot(l.to),i=o.isValid()&&a.isValid()?(a=kt(a,o),o.isBefore(a)?s=Bt(o,a):((s=Bt(a,o)).milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0},(l={}).ms=i.milliseconds,l.M=i.months),r=new Dt(l),Ct(e)&&d(e,"_locale")&&(r._locale=e._locale),r}function Ft(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Bt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function jt(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(L(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Wt(this,Ht(n="string"==typeof n?+n:n,r),e),this}}function Wt(e,t,n,r){var o=t._milliseconds,a=Mt(t._days),s=Mt(t._months);e.isValid()&&(r=null==r||r,s&&Le(e,Se(e,"Month")+s*n),a&&ye(e,"Date",Se(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&i.updateOffset(e,a||s))}Ht.fn=Dt.prototype,Ht.invalid=function(){return Ht(NaN)};var Kt=jt(1,"add"),zt=jt(-1,"subtract");function qt(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Xt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=st(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Jt=N("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function Qt(){return this._locale}function Zt(e,t){return(e%t+t)%t}function $t(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function en(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function tn(e,t){j(0,[e,e.length],0,t)}function nn(e,t,n,r,i){var o;return null==e?Ye(this,r,i).year:(t>(o=xe(e,r,i))&&(t=o),rn.call(this,e,t,n,r,i))}function rn(e,t,n,r,i){var o=Ge(e,t,n,r,i),a=Ue(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}j(0,["gg",2],0,(function(){return this.weekYear()%100})),j(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),tn("gggg","weekYear"),tn("ggggg","weekYear"),tn("GGGG","isoWeekYear"),tn("GGGGG","isoWeekYear"),w("weekYear","gg"),w("isoWeekYear","GG"),Y("weekYear",1),Y("isoWeekYear",1),ce("G",oe),ce("g",oe),ce("GG",Z,q),ce("gg",Z,q),ce("GGGG",ne,J),ce("gggg",ne,J),ce("GGGGG",re,Q),ce("ggggg",re,Q),Ee(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=y(e)})),Ee(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),j("Q",0,"Qo","quarter"),w("quarter","Q"),Y("quarter",7),ce("Q",z),pe("Q",(function(e,t){t[1]=3*(y(e)-1)})),j("D",["DD",2],"Do","date"),w("date","D"),Y("date",9),ce("D",Z),ce("DD",Z,q),ce("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),pe(["D","DD"],2),pe("Do",(function(e,t){t[2]=y(e.match(Z)[0])}));var on=Ie("Date",!0);j("DDD",["DDDD",3],"DDDo","dayOfYear"),w("dayOfYear","DDD"),Y("dayOfYear",4),ce("DDD",te),ce("DDDD",X),pe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=y(e)})),j("m",["mm",2],0,"minute"),w("minute","m"),Y("minute",14),ce("m",Z),ce("mm",Z,q),pe(["m","mm"],4);var an=Ie("Minutes",!1);j("s",["ss",2],0,"second"),w("second","s"),Y("second",15),ce("s",Z),ce("ss",Z,q),pe(["s","ss"],5);var sn,un=Ie("Seconds",!1);for(j("S",0,0,(function(){return~~(this.millisecond()/100)})),j(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),j(0,["SSS",3],0,"millisecond"),j(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),j(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),j(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),j(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),j(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),j(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),w("millisecond","ms"),Y("millisecond",16),ce("S",te,z),ce("SS",te,q),ce("SSS",te,X),sn="SSSS";sn.length<=9;sn+="S")ce(sn,ie);function ln(e,t){t[6]=y(1e3*("0."+e))}for(sn="S";sn.length<=9;sn+="S")pe(sn,ln);var cn=Ie("Milliseconds",!1);j("z",0,0,"zoneAbbr"),j("zz",0,0,"zoneName");var dn=g.prototype;function fn(e){return e}dn.add=Kt,dn.calendar=function(e,t){var n=e||Ot(),r=kt(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=t&&(D(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,Ot(n)))},dn.clone=function(){return new g(this)},dn.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=kt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=U(t)){case"year":o=qt(this,r)/12;break;case"month":o=qt(this,r);break;case"quarter":o=qt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:S(o)},dn.endOf=function(e){var t;if(void 0===(e=U(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?en:$t;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-Zt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-Zt(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-Zt(t,1e3)-1}return this._d.setTime(t),i.updateOffset(this,!0),this},dn.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=W(this,e);return this.localeData().postformat(t)},dn.from=function(e,t){return this.isValid()&&(I(e)&&e.isValid()||Ot(e).isValid())?Ht({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},dn.fromNow=function(e){return this.from(Ot(),e)},dn.to=function(e,t){return this.isValid()&&(I(e)&&e.isValid()||Ot(e).isValid())?Ht({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},dn.toNow=function(e){return this.to(Ot(),e)},dn.get=function(e){return D(this[e=U(e)])?this[e]():this},dn.invalidAt=function(){return p(this).overflow},dn.isAfter=function(e,t){var n=I(e)?e:Ot(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=U(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},dn.isBefore=function(e,t){var n=I(e)?e:Ot(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=U(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},dn.isBetween=function(e,t,n,r){var i=I(e)?e:Ot(e),o=I(t)?t:Ot(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n))},dn.isSame=function(e,t){var n,r=I(e)?e:Ot(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=U(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},dn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},dn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},dn.isValid=function(){return E(this)},dn.lang=Jt,dn.locale=Xt,dn.localeData=Qt,dn.max=Rt,dn.min=Nt,dn.parsingFlags=function(){return f({},p(this))},dn.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:G[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}(e=k(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(D(this[e=U(e)]))return this[e](t);return this},dn.startOf=function(e){var t;if(void 0===(e=U(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?en:$t;switch(e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Zt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=Zt(t,6e4);break;case"second":t=this._d.valueOf(),t-=Zt(t,1e3)}return this._d.setTime(t),i.updateOffset(this,!0),this},dn.subtract=zt,dn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},dn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},dn.toDate=function(){return new Date(this.valueOf())},dn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},dn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)},dn.toJSON=function(){return this.isValid()?this.toISOString():null},dn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},dn.unix=function(){return Math.floor(this.valueOf()/1e3)},dn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},dn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},dn.year=ge,dn.isLeapYear=function(){return ve(this.year())},dn.weekYear=function(e){return nn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},dn.isoWeekYear=function(e){return nn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},dn.quarter=dn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},dn.month=De,dn.daysInMonth=function(){return Ae(this.year(),this.month())},dn.week=dn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},dn.isoWeek=dn.isoWeeks=function(e){var t=Ye(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},dn.weeksInYear=function(){var e=this.localeData()._week;return xe(this.year(),e.dow,e.doy)},dn.isoWeeksInYear=function(){return xe(this.year(),1,4)},dn.date=on,dn.day=dn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},dn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},dn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},dn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},dn.hour=dn.hours=$e,dn.minute=dn.minutes=an,dn.second=dn.seconds=un,dn.millisecond=dn.milliseconds=cn,dn.utcOffset=function(e,t,n){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Ut(se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Gt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Wt(this,Ht(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Gt(this)},dn.utc=function(e){return this.utcOffset(0,e)},dn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Gt(this),"m")),this},dn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ut(ae,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},dn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Ot(e).utcOffset():0,(this.utcOffset()-e)%60==0)},dn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},dn.isLocal=function(){return!!this.isValid()&&!this._isUTC},dn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},dn.isUtc=Yt,dn.isUTC=Yt,dn.zoneAbbr=function(){return this._isUTC?"UTC":""},dn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},dn.dates=N("dates accessor is deprecated. Use date instead.",on),dn.months=N("months accessor is deprecated. Use month instead",De),dn.years=N("years accessor is deprecated. Use year instead",ge),dn.zone=N("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),dn.isDSTShifted=N("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),(e=yt(e))._a){var t=e._isUTC?_(e._a):Ot(e._a);this._isDSTShifted=this.isValid()&&A(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var _n=M.prototype;function pn(e,t,n,r){var i=st(),o=_().set(r,t);return i[n](o,e)}function En(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return pn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=pn(e,r,n,"month");return i}function hn(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,o=st(),a=e?o._week.dow:0;if(null!=n)return pn(t,(n+a)%7,r,"day");var s=[];for(i=0;i<7;i++)s[i]=pn(t,(i+a)%7,r,"day");return s}_n.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return D(r)?r.call(t,n):r},_n.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},_n.invalidDate=function(){return this._invalidDate},_n.ordinal=function(e){return this._ordinal.replace("%d",e)},_n.preparse=fn,_n.postformat=fn,_n.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return D(i)?i(e,t,n,r):i.replace(/%d/i,e)},_n.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(n)?n(t):n.replace(/%s/i,t)},_n.set=function(e){var t,n;for(n in e)D(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},_n.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Oe).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},_n.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Oe.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},_n.monthsParse=function(e,t,n){var r,i,o;if(this._monthsParseExact)return be.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=_([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},_n.monthsRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||Pe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=Me),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},_n.monthsShortRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||Pe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=Ce),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},_n.week=function(e){return Ye(e,this._week.dow,this._week.doy).week},_n.firstDayOfYear=function(){return this._week.doy},_n.firstDayOfWeek=function(){return this._week.dow},_n.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ve(n,this._week.dow):e?n[e.day()]:n},_n.weekdaysMin=function(e){return!0===e?Ve(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},_n.weekdaysShort=function(e){return!0===e?Ve(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},_n.weekdaysParse=function(e,t,n){var r,i,o;if(this._weekdaysParseExact)return je.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=_([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},_n.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=We),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},_n.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},_n.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ze),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},_n.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},_n.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ot("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===y(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=N("moment.lang is deprecated. Use moment.locale instead.",ot),i.langData=N("moment.langData is deprecated. Use moment.localeData instead.",st);var mn=Math.abs;function vn(e,t,n,r){var i=Ht(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Tn(e){return e<0?Math.floor(e):Math.ceil(e)}function gn(e){return 4800*e/146097}function In(e){return 146097*e/4800}function Sn(e){return function(){return this.as(e)}}var yn=Sn("ms"),An=Sn("s"),On=Sn("m"),Nn=Sn("h"),Rn=Sn("d"),bn=Sn("w"),Ln=Sn("M"),Dn=Sn("Q"),Cn=Sn("y");function Mn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Pn=Mn("milliseconds"),wn=Mn("seconds"),Un=Mn("minutes"),kn=Mn("hours"),Gn=Mn("days"),Yn=Mn("months"),xn=Mn("years"),Vn=Math.round,Hn={ss:44,s:45,m:45,h:22,d:26,M:11};function Fn(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}var Bn=Math.abs;function jn(e){return(e>0)-(e<0)||+e}function Wn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Bn(this._milliseconds)/1e3,r=Bn(this._days),i=Bn(this._months);e=S(n/60),t=S(e/60),n%=60,e%=60;var o=S(i/12),a=i%=12,s=r,u=t,l=e,c=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",_=jn(this._months)!==jn(d)?"-":"",p=jn(this._days)!==jn(d)?"-":"",E=jn(this._milliseconds)!==jn(d)?"-":"";return f+"P"+(o?_+o+"Y":"")+(a?_+a+"M":"")+(s?p+s+"D":"")+(u||l||c?"T":"")+(u?E+u+"H":"")+(l?E+l+"M":"")+(c?E+c+"S":"")}var Kn=Dt.prototype;return Kn.isValid=function(){return this._isValid},Kn.abs=function(){var e=this._data;return this._milliseconds=mn(this._milliseconds),this._days=mn(this._days),this._months=mn(this._months),e.milliseconds=mn(e.milliseconds),e.seconds=mn(e.seconds),e.minutes=mn(e.minutes),e.hours=mn(e.hours),e.months=mn(e.months),e.years=mn(e.years),this},Kn.add=function(e,t){return vn(this,e,t,1)},Kn.subtract=function(e,t){return vn(this,e,t,-1)},Kn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=U(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+gn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(In(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Kn.asMilliseconds=yn,Kn.asSeconds=An,Kn.asMinutes=On,Kn.asHours=Nn,Kn.asDays=Rn,Kn.asWeeks=bn,Kn.asMonths=Ln,Kn.asQuarters=Dn,Kn.asYears=Cn,Kn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12):NaN},Kn._bubble=function(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Tn(In(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=S(o/1e3),u.seconds=e%60,t=S(e/60),u.minutes=t%60,n=S(t/60),u.hours=n%24,a+=S(n/24),i=S(gn(a)),s+=i,a-=Tn(In(i)),r=S(s/12),s%=12,u.days=a,u.months=s,u.years=r,this},Kn.clone=function(){return Ht(this)},Kn.get=function(e){return e=U(e),this.isValid()?this[e+"s"]():NaN},Kn.milliseconds=Pn,Kn.seconds=wn,Kn.minutes=Un,Kn.hours=kn,Kn.days=Gn,Kn.weeks=function(){return S(this.days()/7)},Kn.months=Yn,Kn.years=xn,Kn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var r=Ht(e).abs(),i=Vn(r.as("s")),o=Vn(r.as("m")),a=Vn(r.as("h")),s=Vn(r.as("d")),u=Vn(r.as("M")),l=Vn(r.as("y")),c=i<=Hn.ss&&["s",i]||i<Hn.s&&["ss",i]||o<=1&&["m"]||o<Hn.m&&["mm",o]||a<=1&&["h"]||a<Hn.h&&["hh",a]||s<=1&&["d"]||s<Hn.d&&["dd",s]||u<=1&&["M"]||u<Hn.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,Fn.apply(null,c)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Kn.toISOString=Wn,Kn.toString=Wn,Kn.toJSON=Wn,Kn.locale=Xt,Kn.localeData=Qt,Kn.toIsoString=N("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wn),Kn.lang=Jt,j("X",0,0,"unix"),j("x",0,0,"valueOf"),ce("x",oe),ce("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),pe("x",(function(e,t,n){n._d=new Date(y(e))})),i.version="2.24.0",t=Ot,i.fn=dn,i.min=function(){var e=[].slice.call(arguments,0);return bt("isBefore",e)},i.max=function(){var e=[].slice.call(arguments,0);return bt("isAfter",e)},i.now=function(){return Date.now?Date.now():+new Date},i.utc=_,i.unix=function(e){return Ot(1e3*e)},i.months=function(e,t){return En(e,t,"months")},i.isDate=l,i.locale=ot,i.invalid=h,i.duration=Ht,i.isMoment=I,i.weekdays=function(e,t,n){return hn(e,t,n,"weekdays")},i.parseZone=function(){return Ot.apply(null,arguments).parseZone()},i.localeData=st,i.isDuration=Ct,i.monthsShort=function(e,t){return En(e,t,"monthsShort")},i.weekdaysMin=function(e,t,n){return hn(e,t,n,"weekdaysMin")},i.defineLocale=at,i.updateLocale=function(e,t){if(null!=t){var n,r,i=et;null!=(r=it(e))&&(i=r._config),t=C(i,t),(n=new M(t)).parentLocale=tt[e],tt[e]=n,ot(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?tt[e]=tt[e].parentLocale:null!=tt[e]&&delete tt[e]);return tt[e]},i.locales=function(){return R(tt)},i.weekdaysShort=function(e,t,n){return hn(e,t,n,"weekdaysShort")},i.normalizeUnits=U,i.relativeTimeRounding=function(e){return void 0===e?Vn:"function"==typeof e&&(Vn=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==Hn[e]&&(void 0===t?Hn[e]:(Hn[e]=t,"s"===e&&(Hn.ss=t-1),!0))},i.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},i.prototype=dn,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()}).call(this,n(209)(e))},function(e,t,n){(function(e,r){var i;(function(){var o="Expected a function",a="__lodash_placeholder__",s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],u="[object Arguments]",l="[object Array]",c="[object Boolean]",d="[object Date]",f="[object Error]",_="[object Function]",p="[object GeneratorFunction]",E="[object Map]",h="[object Number]",m="[object Object]",v="[object RegExp]",T="[object Set]",g="[object String]",I="[object Symbol]",S="[object WeakMap]",y="[object ArrayBuffer]",A="[object DataView]",O="[object Float32Array]",N="[object Float64Array]",R="[object Int8Array]",b="[object Int16Array]",L="[object Int32Array]",D="[object Uint8Array]",C="[object Uint16Array]",M="[object Uint32Array]",P=/\b__p \+= '';/g,w=/\b(__p \+=) '' \+/g,U=/(__e\(.*?\)|\b__t\)) \+\n'';/g,k=/&(?:amp|lt|gt|quot|#39);/g,G=/[&<>"']/g,Y=RegExp(k.source),x=RegExp(G.source),V=/<%-([\s\S]+?)%>/g,H=/<%([\s\S]+?)%>/g,F=/<%=([\s\S]+?)%>/g,B=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/,W=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,K=/[\\^$.*+?()[\]{}|]/g,z=RegExp(K.source),q=/^\s+|\s+$/g,X=/^\s+/,J=/\s+$/,Q=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Z=/\{\n\/\* \[wrapped with (.+)\] \*/,$=/,? & /,ee=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,te=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,re=/\w*$/,ie=/^[-+]0x[0-9a-f]+$/i,oe=/^0b[01]+$/i,ae=/^\[object .+?Constructor\]$/,se=/^0o[0-7]+$/i,ue=/^(?:0|[1-9]\d*)$/,le=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ce=/($^)/,de=/['\n\r\u2028\u2029\\]/g,fe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",_e="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pe="[\\ud800-\\udfff]",Ee="["+_e+"]",he="["+fe+"]",me="\\d+",ve="[\\u2700-\\u27bf]",Te="[a-z\\xdf-\\xf6\\xf8-\\xff]",ge="[^\\ud800-\\udfff"+_e+me+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Ie="\\ud83c[\\udffb-\\udfff]",Se="[^\\ud800-\\udfff]",ye="(?:\\ud83c[\\udde6-\\uddff]){2}",Ae="[\\ud800-\\udbff][\\udc00-\\udfff]",Oe="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Ne="(?:"+Te+"|"+ge+")",Re="(?:"+Oe+"|"+ge+")",be="(?:"+he+"|"+Ie+")"+"?",Le="[\\ufe0e\\ufe0f]?"+be+("(?:\\u200d(?:"+[Se,ye,Ae].join("|")+")[\\ufe0e\\ufe0f]?"+be+")*"),De="(?:"+[ve,ye,Ae].join("|")+")"+Le,Ce="(?:"+[Se+he+"?",he,ye,Ae,pe].join("|")+")",Me=RegExp("['’]","g"),Pe=RegExp(he,"g"),we=RegExp(Ie+"(?="+Ie+")|"+Ce+Le,"g"),Ue=RegExp([Oe+"?"+Te+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Ee,Oe,"$"].join("|")+")",Re+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Ee,Oe+Ne,"$"].join("|")+")",Oe+"?"+Ne+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Oe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",me,De].join("|"),"g"),ke=RegExp("[\\u200d\\ud800-\\udfff"+fe+"\\ufe0e\\ufe0f]"),Ge=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ye=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],xe=-1,Ve={};Ve[O]=Ve[N]=Ve[R]=Ve[b]=Ve[L]=Ve[D]=Ve["[object Uint8ClampedArray]"]=Ve[C]=Ve[M]=!0,Ve[u]=Ve[l]=Ve[y]=Ve[c]=Ve[A]=Ve[d]=Ve[f]=Ve[_]=Ve[E]=Ve[h]=Ve[m]=Ve[v]=Ve[T]=Ve[g]=Ve[S]=!1;var He={};He[u]=He[l]=He[y]=He[A]=He[c]=He[d]=He[O]=He[N]=He[R]=He[b]=He[L]=He[E]=He[h]=He[m]=He[v]=He[T]=He[g]=He[I]=He[D]=He["[object Uint8ClampedArray]"]=He[C]=He[M]=!0,He[f]=He[_]=He[S]=!1;var Fe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Be=parseFloat,je=parseInt,We="object"==typeof e&&e&&e.Object===Object&&e,Ke="object"==typeof self&&self&&self.Object===Object&&self,ze=We||Ke||Function("return this")(),qe=t&&!t.nodeType&&t,Xe=qe&&"object"==typeof r&&r&&!r.nodeType&&r,Je=Xe&&Xe.exports===qe,Qe=Je&&We.process,Ze=function(){try{var e=Xe&&Xe.require&&Xe.require("util").types;return e||Qe&&Qe.binding&&Qe.binding("util")}catch(e){}}(),$e=Ze&&Ze.isArrayBuffer,et=Ze&&Ze.isDate,tt=Ze&&Ze.isMap,nt=Ze&&Ze.isRegExp,rt=Ze&&Ze.isSet,it=Ze&&Ze.isTypedArray;function ot(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function at(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function st(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function ut(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function lt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function ct(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function dt(e,t){return!!(null==e?0:e.length)&&It(e,t,0)>-1}function ft(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function _t(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function pt(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Et(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function ht(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function mt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var vt=Ot("length");function Tt(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function gt(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function It(e,t,n){return t==t?function(e,t,n){var r=n-1,i=e.length;for(;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):gt(e,yt,n)}function St(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function yt(e){return e!=e}function At(e,t){var n=null==e?0:e.length;return n?bt(e,t)/n:NaN}function Ot(e){return function(t){return null==t?void 0:t[e]}}function Nt(e){return function(t){return null==e?void 0:e[t]}}function Rt(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function bt(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}function Lt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Dt(e){return function(t){return e(t)}}function Ct(e,t){return _t(t,(function(t){return e[t]}))}function Mt(e,t){return e.has(t)}function Pt(e,t){for(var n=-1,r=e.length;++n<r&&It(t,e[n],0)>-1;);return n}function wt(e,t){for(var n=e.length;n--&&It(t,e[n],0)>-1;);return n}function Ut(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var kt=Nt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Gt=Nt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Yt(e){return"\\"+Fe[e]}function xt(e){return ke.test(e)}function Vt(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Ht(e,t){return function(n){return e(t(n))}}function Ft(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var s=e[n];s!==t&&s!==a||(e[n]=a,o[i++]=n)}return o}function Bt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function jt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Wt(e){return xt(e)?function(e){var t=we.lastIndex=0;for(;we.test(e);)++t;return t}(e):vt(e)}function Kt(e){return xt(e)?function(e){return e.match(we)||[]}(e):function(e){return e.split("")}(e)}var zt=Nt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var qt=function e(t){var n,r=(t=null==t?ze:qt.defaults(ze.Object(),t,qt.pick(ze,Ye))).Array,i=t.Date,fe=t.Error,_e=t.Function,pe=t.Math,Ee=t.Object,he=t.RegExp,me=t.String,ve=t.TypeError,Te=r.prototype,ge=_e.prototype,Ie=Ee.prototype,Se=t["__core-js_shared__"],ye=ge.toString,Ae=Ie.hasOwnProperty,Oe=0,Ne=(n=/[^.]+$/.exec(Se&&Se.keys&&Se.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Re=Ie.toString,be=ye.call(Ee),Le=ze._,De=he("^"+ye.call(Ae).replace(K,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ce=Je?t.Buffer:void 0,we=t.Symbol,ke=t.Uint8Array,Fe=Ce?Ce.allocUnsafe:void 0,We=Ht(Ee.getPrototypeOf,Ee),Ke=Ee.create,qe=Ie.propertyIsEnumerable,Xe=Te.splice,Qe=we?we.isConcatSpreadable:void 0,Ze=we?we.iterator:void 0,vt=we?we.toStringTag:void 0,Nt=function(){try{var e=$i(Ee,"defineProperty");return e({},"",{}),e}catch(e){}}(),Xt=t.clearTimeout!==ze.clearTimeout&&t.clearTimeout,Jt=i&&i.now!==ze.Date.now&&i.now,Qt=t.setTimeout!==ze.setTimeout&&t.setTimeout,Zt=pe.ceil,$t=pe.floor,en=Ee.getOwnPropertySymbols,tn=Ce?Ce.isBuffer:void 0,nn=t.isFinite,rn=Te.join,on=Ht(Ee.keys,Ee),an=pe.max,sn=pe.min,un=i.now,ln=t.parseInt,cn=pe.random,dn=Te.reverse,fn=$i(t,"DataView"),_n=$i(t,"Map"),pn=$i(t,"Promise"),En=$i(t,"Set"),hn=$i(t,"WeakMap"),mn=$i(Ee,"create"),vn=hn&&new hn,Tn={},gn=Ro(fn),In=Ro(_n),Sn=Ro(pn),yn=Ro(En),An=Ro(hn),On=we?we.prototype:void 0,Nn=On?On.valueOf:void 0,Rn=On?On.toString:void 0;function bn(e){if(ja(e)&&!Pa(e)&&!(e instanceof Mn)){if(e instanceof Cn)return e;if(Ae.call(e,"__wrapped__"))return bo(e)}return new Cn(e)}var Ln=function(){function e(){}return function(t){if(!Ba(t))return{};if(Ke)return Ke(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Dn(){}function Cn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Mn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Pn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Un(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function kn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Un;++t<n;)this.add(e[t])}function Gn(e){var t=this.__data__=new wn(e);this.size=t.size}function Yn(e,t){var n=Pa(e),r=!n&&Ma(e),i=!n&&!r&&Ga(e),o=!n&&!r&&!i&&Za(e),a=n||r||i||o,s=a?Lt(e.length,me):[],u=s.length;for(var l in e)!t&&!Ae.call(e,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ao(l,u))||s.push(l);return s}function xn(e){var t=e.length;return t?e[kr(0,t-1)]:void 0}function Vn(e,t){return Ao(mi(e),Xn(t,0,e.length))}function Hn(e){return Ao(mi(e))}function Fn(e,t,n){(void 0!==n&&!La(e[t],n)||void 0===n&&!(t in e))&&zn(e,t,n)}function Bn(e,t,n){var r=e[t];Ae.call(e,t)&&La(r,n)&&(void 0!==n||t in e)||zn(e,t,n)}function jn(e,t){for(var n=e.length;n--;)if(La(e[n][0],t))return n;return-1}function Wn(e,t,n,r){return er(e,(function(e,i,o){t(r,e,n(e),o)})),r}function Kn(e,t){return e&&vi(t,gs(t),e)}function zn(e,t,n){"__proto__"==t&&Nt?Nt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function qn(e,t){for(var n=-1,i=t.length,o=r(i),a=null==e;++n<i;)o[n]=a?void 0:Es(e,t[n]);return o}function Xn(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Jn(e,t,n,r,i,o){var a,s=1&t,l=2&t,f=4&t;if(n&&(a=i?n(e,r,i,o):n(e)),void 0!==a)return a;if(!Ba(e))return e;var S=Pa(e);if(S){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Ae.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!s)return mi(e,a)}else{var P=no(e),w=P==_||P==p;if(Ga(e))return di(e,s);if(P==m||P==u||w&&!i){if(a=l||w?{}:io(e),!s)return l?function(e,t){return vi(e,to(e),t)}(e,function(e,t){return e&&vi(t,Is(t),e)}(a,e)):function(e,t){return vi(e,eo(e),t)}(e,Kn(a,e))}else{if(!He[P])return i?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case y:return fi(e);case c:case d:return new r(+e);case A:return function(e,t){var n=t?fi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case O:case N:case R:case b:case L:case D:case"[object Uint8ClampedArray]":case C:case M:return _i(e,n);case E:return new r;case h:case g:return new r(e);case v:return function(e){var t=new e.constructor(e.source,re.exec(e));return t.lastIndex=e.lastIndex,t}(e);case T:return new r;case I:return i=e,Nn?Ee(Nn.call(i)):{}}var i}(e,P,s)}}o||(o=new Gn);var U=o.get(e);if(U)return U;o.set(e,a),Xa(e)?e.forEach((function(r){a.add(Jn(r,t,n,r,e,o))})):Wa(e)&&e.forEach((function(r,i){a.set(i,Jn(r,t,n,i,e,o))}));var k=S?void 0:(f?l?Ki:Wi:l?Is:gs)(e);return st(k||e,(function(r,i){k&&(r=e[i=r]),Bn(a,i,Jn(r,t,n,i,e,o))})),a}function Qn(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ee(e);r--;){var i=n[r],o=t[i],a=e[i];if(void 0===a&&!(i in e)||!o(a))return!1}return!0}function Zn(e,t,n){if("function"!=typeof e)throw new ve(o);return go((function(){e.apply(void 0,n)}),t)}function $n(e,t,n,r){var i=-1,o=dt,a=!0,s=e.length,u=[],l=t.length;if(!s)return u;n&&(t=_t(t,Dt(n))),r?(o=ft,a=!1):t.length>=200&&(o=Mt,a=!1,t=new kn(t));e:for(;++i<s;){var c=e[i],d=null==n?c:n(c);if(c=r||0!==c?c:0,a&&d==d){for(var f=l;f--;)if(t[f]===d)continue e;u.push(c)}else o(t,d,r)||u.push(c)}return u}bn.templateSettings={escape:V,evaluate:H,interpolate:F,variable:"",imports:{_:bn}},bn.prototype=Dn.prototype,bn.prototype.constructor=bn,Cn.prototype=Ln(Dn.prototype),Cn.prototype.constructor=Cn,Mn.prototype=Ln(Dn.prototype),Mn.prototype.constructor=Mn,Pn.prototype.clear=function(){this.__data__=mn?mn(null):{},this.size=0},Pn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Pn.prototype.get=function(e){var t=this.__data__;if(mn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Ae.call(t,e)?t[e]:void 0},Pn.prototype.has=function(e){var t=this.__data__;return mn?void 0!==t[e]:Ae.call(t,e)},Pn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=mn&&void 0===t?"__lodash_hash_undefined__":t,this},wn.prototype.clear=function(){this.__data__=[],this.size=0},wn.prototype.delete=function(e){var t=this.__data__,n=jn(t,e);return!(n<0)&&(n==t.length-1?t.pop():Xe.call(t,n,1),--this.size,!0)},wn.prototype.get=function(e){var t=this.__data__,n=jn(t,e);return n<0?void 0:t[n][1]},wn.prototype.has=function(e){return jn(this.__data__,e)>-1},wn.prototype.set=function(e,t){var n=this.__data__,r=jn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Un.prototype.clear=function(){this.size=0,this.__data__={hash:new Pn,map:new(_n||wn),string:new Pn}},Un.prototype.delete=function(e){var t=Qi(this,e).delete(e);return this.size-=t?1:0,t},Un.prototype.get=function(e){return Qi(this,e).get(e)},Un.prototype.has=function(e){return Qi(this,e).has(e)},Un.prototype.set=function(e,t){var n=Qi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},kn.prototype.add=kn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},kn.prototype.has=function(e){return this.__data__.has(e)},Gn.prototype.clear=function(){this.__data__=new wn,this.size=0},Gn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Gn.prototype.get=function(e){return this.__data__.get(e)},Gn.prototype.has=function(e){return this.__data__.has(e)},Gn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof wn){var r=n.__data__;if(!_n||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Un(r)}return n.set(e,t),this.size=n.size,this};var er=Ii(ur),tr=Ii(lr,!0);function nr(e,t){var n=!0;return er(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function rr(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],a=t(o);if(null!=a&&(void 0===s?a==a&&!Qa(a):n(a,s)))var s=a,u=o}return u}function ir(e,t){var n=[];return er(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function or(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=oo),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?or(s,t-1,n,r,i):pt(i,s):r||(i[i.length]=s)}return i}var ar=Si(),sr=Si(!0);function ur(e,t){return e&&ar(e,t,gs)}function lr(e,t){return e&&sr(e,t,gs)}function cr(e,t){return ct(t,(function(t){return Va(e[t])}))}function dr(e,t){for(var n=0,r=(t=si(t,e)).length;null!=e&&n<r;)e=e[No(t[n++])];return n&&n==r?e:void 0}function fr(e,t,n){var r=t(e);return Pa(e)?r:pt(r,n(e))}function _r(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":vt&&vt in Ee(e)?function(e){var t=Ae.call(e,vt),n=e[vt];try{e[vt]=void 0;var r=!0}catch(e){}var i=Re.call(e);r&&(t?e[vt]=n:delete e[vt]);return i}(e):function(e){return Re.call(e)}(e)}function pr(e,t){return e>t}function Er(e,t){return null!=e&&Ae.call(e,t)}function hr(e,t){return null!=e&&t in Ee(e)}function mr(e,t,n){for(var i=n?ft:dt,o=e[0].length,a=e.length,s=a,u=r(a),l=1/0,c=[];s--;){var d=e[s];s&&t&&(d=_t(d,Dt(t))),l=sn(d.length,l),u[s]=!n&&(t||o>=120&&d.length>=120)?new kn(s&&d):void 0}d=e[0];var f=-1,_=u[0];e:for(;++f<o&&c.length<l;){var p=d[f],E=t?t(p):p;if(p=n||0!==p?p:0,!(_?Mt(_,E):i(c,E,n))){for(s=a;--s;){var h=u[s];if(!(h?Mt(h,E):i(e[s],E,n)))continue e}_&&_.push(E),c.push(p)}}return c}function vr(e,t,n){var r=null==(e=ho(e,t=si(t,e)))?e:e[No(xo(t))];return null==r?void 0:ot(r,e,n)}function Tr(e){return ja(e)&&_r(e)==u}function gr(e,t,n,r,i){return e===t||(null==e||null==t||!ja(e)&&!ja(t)?e!=e&&t!=t:function(e,t,n,r,i,o){var a=Pa(e),s=Pa(t),_=a?l:no(e),p=s?l:no(t),S=(_=_==u?m:_)==m,O=(p=p==u?m:p)==m,N=_==p;if(N&&Ga(e)){if(!Ga(t))return!1;a=!0,S=!1}if(N&&!S)return o||(o=new Gn),a||Za(e)?Bi(e,t,n,r,i,o):function(e,t,n,r,i,o,a){switch(n){case A:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case y:return!(e.byteLength!=t.byteLength||!o(new ke(e),new ke(t)));case c:case d:case h:return La(+e,+t);case f:return e.name==t.name&&e.message==t.message;case v:case g:return e==t+"";case E:var s=Vt;case T:var u=1&r;if(s||(s=Bt),e.size!=t.size&&!u)return!1;var l=a.get(e);if(l)return l==t;r|=2,a.set(e,t);var _=Bi(s(e),s(t),r,i,o,a);return a.delete(e),_;case I:if(Nn)return Nn.call(e)==Nn.call(t)}return!1}(e,t,_,n,r,i,o);if(!(1&n)){var R=S&&Ae.call(e,"__wrapped__"),b=O&&Ae.call(t,"__wrapped__");if(R||b){var L=R?e.value():e,D=b?t.value():t;return o||(o=new Gn),i(L,D,n,r,o)}}if(!N)return!1;return o||(o=new Gn),function(e,t,n,r,i,o){var a=1&n,s=Wi(e),u=s.length,l=Wi(t).length;if(u!=l&&!a)return!1;var c=u;for(;c--;){var d=s[c];if(!(a?d in t:Ae.call(t,d)))return!1}var f=o.get(e),_=o.get(t);if(f&&_)return f==t&&_==e;var p=!0;o.set(e,t),o.set(t,e);var E=a;for(;++c<u;){d=s[c];var h=e[d],m=t[d];if(r)var v=a?r(m,h,d,t,e,o):r(h,m,d,e,t,o);if(!(void 0===v?h===m||i(h,m,n,r,o):v)){p=!1;break}E||(E="constructor"==d)}if(p&&!E){var T=e.constructor,g=t.constructor;T==g||!("constructor"in e)||!("constructor"in t)||"function"==typeof T&&T instanceof T&&"function"==typeof g&&g instanceof g||(p=!1)}return o.delete(e),o.delete(t),p}(e,t,n,r,i,o)}(e,t,n,r,gr,i))}function Ir(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=Ee(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var u=(s=n[i])[0],l=e[u],c=s[1];if(a&&s[2]){if(void 0===l&&!(u in e))return!1}else{var d=new Gn;if(r)var f=r(l,c,u,e,t,d);if(!(void 0===f?gr(c,l,3,r,d):f))return!1}}return!0}function Sr(e){return!(!Ba(e)||(t=e,Ne&&Ne in t))&&(Va(e)?De:ae).test(Ro(e));var t}function yr(e){return"function"==typeof e?e:null==e?Ks:"object"==typeof e?Pa(e)?Lr(e[0],e[1]):br(e):tu(e)}function Ar(e){if(!fo(e))return on(e);var t=[];for(var n in Ee(e))Ae.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Or(e){if(!Ba(e))return function(e){var t=[];if(null!=e)for(var n in Ee(e))t.push(n);return t}(e);var t=fo(e),n=[];for(var r in e)("constructor"!=r||!t&&Ae.call(e,r))&&n.push(r);return n}function Nr(e,t){return e<t}function Rr(e,t){var n=-1,i=Ua(e)?r(e.length):[];return er(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}function br(e){var t=Zi(e);return 1==t.length&&t[0][2]?po(t[0][0],t[0][1]):function(n){return n===e||Ir(n,e,t)}}function Lr(e,t){return uo(e)&&_o(t)?po(No(e),t):function(n){var r=Es(n,e);return void 0===r&&r===t?hs(n,e):gr(t,r,3)}}function Dr(e,t,n,r,i){e!==t&&ar(t,(function(o,a){if(i||(i=new Gn),Ba(o))!function(e,t,n,r,i,o,a){var s=vo(e,n),u=vo(t,n),l=a.get(u);if(l)return void Fn(e,n,l);var c=o?o(s,u,n+"",e,t,a):void 0,d=void 0===c;if(d){var f=Pa(u),_=!f&&Ga(u),p=!f&&!_&&Za(u);c=u,f||_||p?Pa(s)?c=s:ka(s)?c=mi(s):_?(d=!1,c=di(u,!0)):p?(d=!1,c=_i(u,!0)):c=[]:za(u)||Ma(u)?(c=s,Ma(s)?c=as(s):Ba(s)&&!Va(s)||(c=io(u))):d=!1}d&&(a.set(u,c),i(c,u,r,o,a),a.delete(u));Fn(e,n,c)}(e,t,a,n,Dr,r,i);else{var s=r?r(vo(e,a),o,a+"",e,t,i):void 0;void 0===s&&(s=o),Fn(e,a,s)}}),Is)}function Cr(e,t){var n=e.length;if(n)return ao(t+=t<0?n:0,n)?e[t]:void 0}function Mr(e,t,n){t=t.length?_t(t,(function(e){return Pa(e)?function(t){return dr(t,1===e.length?e[0]:e)}:e})):[Ks];var r=-1;return t=_t(t,Dt(Ji())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Rr(e,(function(e,n,i){return{criteria:_t(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;for(;++r<a;){var u=pi(i[r],o[r]);if(u){if(r>=s)return u;var l=n[r];return u*("desc"==l?-1:1)}}return e.index-t.index}(e,t,n)}))}function Pr(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=dr(e,a);n(s,a)&&Hr(o,si(a,e),s)}return o}function wr(e,t,n,r){var i=r?St:It,o=-1,a=t.length,s=e;for(e===t&&(t=mi(t)),n&&(s=_t(e,Dt(n)));++o<a;)for(var u=0,l=t[o],c=n?n(l):l;(u=i(s,c,u,r))>-1;)s!==e&&Xe.call(s,u,1),Xe.call(e,u,1);return e}function Ur(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;ao(i)?Xe.call(e,i,1):$r(e,i)}}return e}function kr(e,t){return e+$t(cn()*(t-e+1))}function Gr(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=$t(t/2))&&(e+=e)}while(t);return n}function Yr(e,t){return Io(Eo(e,t,Ks),e+"")}function xr(e){return xn(Ls(e))}function Vr(e,t){var n=Ls(e);return Ao(n,Xn(t,0,n.length))}function Hr(e,t,n,r){if(!Ba(e))return e;for(var i=-1,o=(t=si(t,e)).length,a=o-1,s=e;null!=s&&++i<o;){var u=No(t[i]),l=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(i!=a){var c=s[u];void 0===(l=r?r(c,u,s):void 0)&&(l=Ba(c)?c:ao(t[i+1])?[]:{})}Bn(s,u,l),s=s[u]}return e}var Fr=vn?function(e,t){return vn.set(e,t),e}:Ks,Br=Nt?function(e,t){return Nt(e,"toString",{configurable:!0,enumerable:!1,value:Bs(t),writable:!0})}:Ks;function jr(e){return Ao(Ls(e))}function Wr(e,t,n){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=r(o);++i<o;)a[i]=e[i+t];return a}function Kr(e,t){var n;return er(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function zr(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=e[o];null!==a&&!Qa(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return qr(e,t,Ks,n)}function qr(e,t,n,r){var i=0,o=null==e?0:e.length;if(0===o)return 0;for(var a=(t=n(t))!=t,s=null===t,u=Qa(t),l=void 0===t;i<o;){var c=$t((i+o)/2),d=n(e[c]),f=void 0!==d,_=null===d,p=d==d,E=Qa(d);if(a)var h=r||p;else h=l?p&&(r||f):s?p&&f&&(r||!_):u?p&&f&&!_&&(r||!E):!_&&!E&&(r?d<=t:d<t);h?i=c+1:o=c}return sn(o,4294967294)}function Xr(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!La(s,u)){var u=s;o[i++]=0===a?0:a}}return o}function Jr(e){return"number"==typeof e?e:Qa(e)?NaN:+e}function Qr(e){if("string"==typeof e)return e;if(Pa(e))return _t(e,Qr)+"";if(Qa(e))return Rn?Rn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Zr(e,t,n){var r=-1,i=dt,o=e.length,a=!0,s=[],u=s;if(n)a=!1,i=ft;else if(o>=200){var l=t?null:Gi(e);if(l)return Bt(l);a=!1,i=Mt,u=new kn}else u=t?[]:s;e:for(;++r<o;){var c=e[r],d=t?t(c):c;if(c=n||0!==c?c:0,a&&d==d){for(var f=u.length;f--;)if(u[f]===d)continue e;t&&u.push(d),s.push(c)}else i(u,d,n)||(u!==s&&u.push(d),s.push(c))}return s}function $r(e,t){return null==(e=ho(e,t=si(t,e)))||delete e[No(xo(t))]}function ei(e,t,n,r){return Hr(e,t,n(dr(e,t)),r)}function ti(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Wr(e,r?0:o,r?o+1:i):Wr(e,r?o+1:0,r?i:o)}function ni(e,t){var n=e;return n instanceof Mn&&(n=n.value()),Et(t,(function(e,t){return t.func.apply(t.thisArg,pt([e],t.args))}),n)}function ri(e,t,n){var i=e.length;if(i<2)return i?Zr(e[0]):[];for(var o=-1,a=r(i);++o<i;)for(var s=e[o],u=-1;++u<i;)u!=o&&(a[o]=$n(a[o]||s,e[u],t,n));return Zr(or(a,1),t,n)}function ii(e,t,n){for(var r=-1,i=e.length,o=t.length,a={};++r<i;){var s=r<o?t[r]:void 0;n(a,e[r],s)}return a}function oi(e){return ka(e)?e:[]}function ai(e){return"function"==typeof e?e:Ks}function si(e,t){return Pa(e)?e:uo(e,t)?[e]:Oo(ss(e))}var ui=Yr;function li(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Wr(e,t,n)}var ci=Xt||function(e){return ze.clearTimeout(e)};function di(e,t){if(t)return e.slice();var n=e.length,r=Fe?Fe(n):new e.constructor(n);return e.copy(r),r}function fi(e){var t=new e.constructor(e.byteLength);return new ke(t).set(new ke(e)),t}function _i(e,t){var n=t?fi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function pi(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=Qa(e),a=void 0!==t,s=null===t,u=t==t,l=Qa(t);if(!s&&!l&&!o&&e>t||o&&a&&u&&!s&&!l||r&&a&&u||!n&&u||!i)return 1;if(!r&&!o&&!l&&e<t||l&&n&&i&&!r&&!o||s&&n&&i||!a&&i||!u)return-1}return 0}function Ei(e,t,n,i){for(var o=-1,a=e.length,s=n.length,u=-1,l=t.length,c=an(a-s,0),d=r(l+c),f=!i;++u<l;)d[u]=t[u];for(;++o<s;)(f||o<a)&&(d[n[o]]=e[o]);for(;c--;)d[u++]=e[o++];return d}function hi(e,t,n,i){for(var o=-1,a=e.length,s=-1,u=n.length,l=-1,c=t.length,d=an(a-u,0),f=r(d+c),_=!i;++o<d;)f[o]=e[o];for(var p=o;++l<c;)f[p+l]=t[l];for(;++s<u;)(_||o<a)&&(f[p+n[s]]=e[o++]);return f}function mi(e,t){var n=-1,i=e.length;for(t||(t=r(i));++n<i;)t[n]=e[n];return t}function vi(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],u=r?r(n[s],e[s],s,n,e):void 0;void 0===u&&(u=e[s]),i?zn(n,s,u):Bn(n,s,u)}return n}function Ti(e,t){return function(n,r){var i=Pa(n)?at:Wn,o=t?t():{};return i(n,e,Ji(r,2),o)}}function gi(e){return Yr((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,a&&so(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Ee(t);++r<i;){var s=n[r];s&&e(t,s,r,o)}return t}))}function Ii(e,t){return function(n,r){if(null==n)return n;if(!Ua(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Ee(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Si(e){return function(t,n,r){for(var i=-1,o=Ee(t),a=r(t),s=a.length;s--;){var u=a[e?s:++i];if(!1===n(o[u],u,o))break}return t}}function yi(e){return function(t){var n=xt(t=ss(t))?Kt(t):void 0,r=n?n[0]:t.charAt(0),i=n?li(n,1).join(""):t.slice(1);return r[e]()+i}}function Ai(e){return function(t){return Et(Vs(Ms(t).replace(Me,"")),e,"")}}function Oi(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Ln(e.prototype),r=e.apply(n,t);return Ba(r)?r:n}}function Ni(e){return function(t,n,r){var i=Ee(t);if(!Ua(t)){var o=Ji(n,3);t=gs(t),n=function(e){return o(i[e],e,i)}}var a=e(t,n,r);return a>-1?i[o?t[a]:a]:void 0}}function Ri(e){return ji((function(t){var n=t.length,r=n,i=Cn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ve(o);if(i&&!s&&"wrapper"==qi(a))var s=new Cn([],!0)}for(r=s?r:n;++r<n;){var u=qi(a=t[r]),l="wrapper"==u?zi(a):void 0;s=l&&lo(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?s[qi(l[0])].apply(s,l[3]):1==a.length&&lo(a)?s[u]():s.thru(a)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&Pa(r))return s.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}}))}function bi(e,t,n,i,o,a,s,u,l,c){var d=128&t,f=1&t,_=2&t,p=24&t,E=512&t,h=_?void 0:Oi(e);return function m(){for(var v=arguments.length,T=r(v),g=v;g--;)T[g]=arguments[g];if(p)var I=Xi(m),S=Ut(T,I);if(i&&(T=Ei(T,i,o,p)),a&&(T=hi(T,a,s,p)),v-=S,p&&v<c){var y=Ft(T,I);return Ui(e,t,bi,m.placeholder,n,T,y,u,l,c-v)}var A=f?n:this,O=_?A[e]:e;return v=T.length,u?T=mo(T,u):E&&v>1&&T.reverse(),d&&l<v&&(T.length=l),this&&this!==ze&&this instanceof m&&(O=h||Oi(O)),O.apply(A,T)}}function Li(e,t){return function(n,r){return function(e,t,n,r){return ur(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}function Di(e,t){return function(n,r){var i;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(i=n),void 0!==r){if(void 0===i)return r;"string"==typeof n||"string"==typeof r?(n=Qr(n),r=Qr(r)):(n=Jr(n),r=Jr(r)),i=e(n,r)}return i}}function Ci(e){return ji((function(t){return t=_t(t,Dt(Ji())),Yr((function(n){var r=this;return e(t,(function(e){return ot(e,r,n)}))}))}))}function Mi(e,t){var n=(t=void 0===t?" ":Qr(t)).length;if(n<2)return n?Gr(t,e):t;var r=Gr(t,Zt(e/Wt(t)));return xt(t)?li(Kt(r),0,e).join(""):r.slice(0,e)}function Pi(e){return function(t,n,i){return i&&"number"!=typeof i&&so(t,n,i)&&(n=i=void 0),t=ns(t),void 0===n?(n=t,t=0):n=ns(n),function(e,t,n,i){for(var o=-1,a=an(Zt((t-e)/(n||1)),0),s=r(a);a--;)s[i?a:++o]=e,e+=n;return s}(t,n,i=void 0===i?t<n?1:-1:ns(i),e)}}function wi(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=os(t),n=os(n)),e(t,n)}}function Ui(e,t,n,r,i,o,a,s,u,l){var c=8&t;t|=c?32:64,4&(t&=~(c?64:32))||(t&=-4);var d=[e,t,i,c?o:void 0,c?a:void 0,c?void 0:o,c?void 0:a,s,u,l],f=n.apply(void 0,d);return lo(e)&&To(f,d),f.placeholder=r,So(f,e,t)}function ki(e){var t=pe[e];return function(e,n){if(e=os(e),(n=null==n?0:sn(rs(n),292))&&nn(e)){var r=(ss(e)+"e").split("e");return+((r=(ss(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Gi=En&&1/Bt(new En([,-0]))[1]==1/0?function(e){return new En(e)}:Qs;function Yi(e){return function(t){var n=no(t);return n==E?Vt(t):n==T?jt(t):function(e,t){return _t(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function xi(e,t,n,i,s,u,l,c){var d=2&t;if(!d&&"function"!=typeof e)throw new ve(o);var f=i?i.length:0;if(f||(t&=-97,i=s=void 0),l=void 0===l?l:an(rs(l),0),c=void 0===c?c:rs(c),f-=s?s.length:0,64&t){var _=i,p=s;i=s=void 0}var E=d?void 0:zi(e),h=[e,t,n,i,s,_,p,u,l,c];if(E&&function(e,t){var n=e[1],r=t[1],i=n|r,o=i<131,s=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!o&&!s)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var u=t[3];if(u){var l=e[3];e[3]=l?Ei(l,u,t[4]):u,e[4]=l?Ft(e[3],a):t[4]}(u=t[5])&&(l=e[5],e[5]=l?hi(l,u,t[6]):u,e[6]=l?Ft(e[5],a):t[6]);(u=t[7])&&(e[7]=u);128&r&&(e[8]=null==e[8]?t[8]:sn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=i}(h,E),e=h[0],t=h[1],n=h[2],i=h[3],s=h[4],!(c=h[9]=void 0===h[9]?d?0:e.length:an(h[9]-f,0))&&24&t&&(t&=-25),t&&1!=t)m=8==t||16==t?function(e,t,n){var i=Oi(e);return function o(){for(var a=arguments.length,s=r(a),u=a,l=Xi(o);u--;)s[u]=arguments[u];var c=a<3&&s[0]!==l&&s[a-1]!==l?[]:Ft(s,l);if((a-=c.length)<n)return Ui(e,t,bi,o.placeholder,void 0,s,c,void 0,void 0,n-a);var d=this&&this!==ze&&this instanceof o?i:e;return ot(d,this,s)}}(e,t,c):32!=t&&33!=t||s.length?bi.apply(void 0,h):function(e,t,n,i){var o=1&t,a=Oi(e);return function t(){for(var s=-1,u=arguments.length,l=-1,c=i.length,d=r(c+u),f=this&&this!==ze&&this instanceof t?a:e;++l<c;)d[l]=i[l];for(;u--;)d[l++]=arguments[++s];return ot(f,o?n:this,d)}}(e,t,n,i);else var m=function(e,t,n){var r=1&t,i=Oi(e);return function t(){var o=this&&this!==ze&&this instanceof t?i:e;return o.apply(r?n:this,arguments)}}(e,t,n);return So((E?Fr:To)(m,h),e,t)}function Vi(e,t,n,r){return void 0===e||La(e,Ie[n])&&!Ae.call(r,n)?t:e}function Hi(e,t,n,r,i,o){return Ba(e)&&Ba(t)&&(o.set(t,e),Dr(e,t,void 0,Hi,o),o.delete(t)),e}function Fi(e){return za(e)?void 0:e}function Bi(e,t,n,r,i,o){var a=1&n,s=e.length,u=t.length;if(s!=u&&!(a&&u>s))return!1;var l=o.get(e),c=o.get(t);if(l&&c)return l==t&&c==e;var d=-1,f=!0,_=2&n?new kn:void 0;for(o.set(e,t),o.set(t,e);++d<s;){var p=e[d],E=t[d];if(r)var h=a?r(E,p,d,t,e,o):r(p,E,d,e,t,o);if(void 0!==h){if(h)continue;f=!1;break}if(_){if(!mt(t,(function(e,t){if(!Mt(_,t)&&(p===e||i(p,e,n,r,o)))return _.push(t)}))){f=!1;break}}else if(p!==E&&!i(p,E,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f}function ji(e){return Io(Eo(e,void 0,wo),e+"")}function Wi(e){return fr(e,gs,eo)}function Ki(e){return fr(e,Is,to)}var zi=vn?function(e){return vn.get(e)}:Qs;function qi(e){for(var t=e.name+"",n=Tn[t],r=Ae.call(Tn,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function Xi(e){return(Ae.call(bn,"placeholder")?bn:e).placeholder}function Ji(){var e=bn.iteratee||zs;return e=e===zs?yr:e,arguments.length?e(arguments[0],arguments[1]):e}function Qi(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Zi(e){for(var t=gs(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,_o(i)]}return t}function $i(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Sr(n)?n:void 0}var eo=en?function(e){return null==e?[]:(e=Ee(e),ct(en(e),(function(t){return qe.call(e,t)})))}:iu,to=en?function(e){for(var t=[];e;)pt(t,eo(e)),e=We(e);return t}:iu,no=_r;function ro(e,t,n){for(var r=-1,i=(t=si(t,e)).length,o=!1;++r<i;){var a=No(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Fa(i)&&ao(a,i)&&(Pa(e)||Ma(e))}function io(e){return"function"!=typeof e.constructor||fo(e)?{}:Ln(We(e))}function oo(e){return Pa(e)||Ma(e)||!!(Qe&&e&&e[Qe])}function ao(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&ue.test(e))&&e>-1&&e%1==0&&e<t}function so(e,t,n){if(!Ba(n))return!1;var r=typeof t;return!!("number"==r?Ua(n)&&ao(t,n.length):"string"==r&&t in n)&&La(n[t],e)}function uo(e,t){if(Pa(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Qa(e))||(j.test(e)||!B.test(e)||null!=t&&e in Ee(t))}function lo(e){var t=qi(e),n=bn[t];if("function"!=typeof n||!(t in Mn.prototype))return!1;if(e===n)return!0;var r=zi(n);return!!r&&e===r[0]}(fn&&no(new fn(new ArrayBuffer(1)))!=A||_n&&no(new _n)!=E||pn&&"[object Promise]"!=no(pn.resolve())||En&&no(new En)!=T||hn&&no(new hn)!=S)&&(no=function(e){var t=_r(e),n=t==m?e.constructor:void 0,r=n?Ro(n):"";if(r)switch(r){case gn:return A;case In:return E;case Sn:return"[object Promise]";case yn:return T;case An:return S}return t});var co=Se?Va:ou;function fo(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ie)}function _o(e){return e==e&&!Ba(e)}function po(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Ee(n)))}}function Eo(e,t,n){return t=an(void 0===t?e.length-1:t,0),function(){for(var i=arguments,o=-1,a=an(i.length-t,0),s=r(a);++o<a;)s[o]=i[t+o];o=-1;for(var u=r(t+1);++o<t;)u[o]=i[o];return u[t]=n(s),ot(e,this,u)}}function ho(e,t){return t.length<2?e:dr(e,Wr(t,0,-1))}function mo(e,t){for(var n=e.length,r=sn(t.length,n),i=mi(e);r--;){var o=t[r];e[r]=ao(o,n)?i[o]:void 0}return e}function vo(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var To=yo(Fr),go=Qt||function(e,t){return ze.setTimeout(e,t)},Io=yo(Br);function So(e,t,n){var r=t+"";return Io(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Q,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return st(s,(function(n){var r="_."+n[0];t&n[1]&&!dt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(Z);return t?t[1].split($):[]}(r),n)))}function yo(e){var t=0,n=0;return function(){var r=un(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Ao(e,t){var n=-1,r=e.length,i=r-1;for(t=void 0===t?r:t;++n<t;){var o=kr(n,i),a=e[o];e[o]=e[n],e[n]=a}return e.length=t,e}var Oo=function(e){var t=ya(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(W,(function(e,n,r,i){t.push(r?i.replace(te,"$1"):n||e)})),t}));function No(e){if("string"==typeof e||Qa(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ro(e){if(null!=e){try{return ye.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function bo(e){if(e instanceof Mn)return e.clone();var t=new Cn(e.__wrapped__,e.__chain__);return t.__actions__=mi(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Lo=Yr((function(e,t){return ka(e)?$n(e,or(t,1,ka,!0)):[]})),Do=Yr((function(e,t){var n=xo(t);return ka(n)&&(n=void 0),ka(e)?$n(e,or(t,1,ka,!0),Ji(n,2)):[]})),Co=Yr((function(e,t){var n=xo(t);return ka(n)&&(n=void 0),ka(e)?$n(e,or(t,1,ka,!0),void 0,n):[]}));function Mo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:rs(n);return i<0&&(i=an(r+i,0)),gt(e,Ji(t,3),i)}function Po(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=rs(n),i=n<0?an(r+i,0):sn(i,r-1)),gt(e,Ji(t,3),i,!0)}function wo(e){return(null==e?0:e.length)?or(e,1):[]}function Uo(e){return e&&e.length?e[0]:void 0}var ko=Yr((function(e){var t=_t(e,oi);return t.length&&t[0]===e[0]?mr(t):[]})),Go=Yr((function(e){var t=xo(e),n=_t(e,oi);return t===xo(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?mr(n,Ji(t,2)):[]})),Yo=Yr((function(e){var t=xo(e),n=_t(e,oi);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?mr(n,void 0,t):[]}));function xo(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Vo=Yr(Ho);function Ho(e,t){return e&&e.length&&t&&t.length?wr(e,t):e}var Fo=ji((function(e,t){var n=null==e?0:e.length,r=qn(e,t);return Ur(e,_t(t,(function(e){return ao(e,n)?+e:e})).sort(pi)),r}));function Bo(e){return null==e?e:dn.call(e)}var jo=Yr((function(e){return Zr(or(e,1,ka,!0))})),Wo=Yr((function(e){var t=xo(e);return ka(t)&&(t=void 0),Zr(or(e,1,ka,!0),Ji(t,2))})),Ko=Yr((function(e){var t=xo(e);return t="function"==typeof t?t:void 0,Zr(or(e,1,ka,!0),void 0,t)}));function zo(e){if(!e||!e.length)return[];var t=0;return e=ct(e,(function(e){if(ka(e))return t=an(e.length,t),!0})),Lt(t,(function(t){return _t(e,Ot(t))}))}function qo(e,t){if(!e||!e.length)return[];var n=zo(e);return null==t?n:_t(n,(function(e){return ot(t,void 0,e)}))}var Xo=Yr((function(e,t){return ka(e)?$n(e,t):[]})),Jo=Yr((function(e){return ri(ct(e,ka))})),Qo=Yr((function(e){var t=xo(e);return ka(t)&&(t=void 0),ri(ct(e,ka),Ji(t,2))})),Zo=Yr((function(e){var t=xo(e);return t="function"==typeof t?t:void 0,ri(ct(e,ka),void 0,t)})),$o=Yr(zo);var ea=Yr((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,qo(e,n)}));function ta(e){var t=bn(e);return t.__chain__=!0,t}function na(e,t){return t(e)}var ra=ji((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return qn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Mn&&ao(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:na,args:[i],thisArg:void 0}),new Cn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(i)}));var ia=Ti((function(e,t,n){Ae.call(e,n)?++e[n]:zn(e,n,1)}));var oa=Ni(Mo),aa=Ni(Po);function sa(e,t){return(Pa(e)?st:er)(e,Ji(t,3))}function ua(e,t){return(Pa(e)?ut:tr)(e,Ji(t,3))}var la=Ti((function(e,t,n){Ae.call(e,n)?e[n].push(t):zn(e,n,[t])}));var ca=Yr((function(e,t,n){var i=-1,o="function"==typeof t,a=Ua(e)?r(e.length):[];return er(e,(function(e){a[++i]=o?ot(t,e,n):vr(e,t,n)})),a})),da=Ti((function(e,t,n){zn(e,n,t)}));function fa(e,t){return(Pa(e)?_t:Rr)(e,Ji(t,3))}var _a=Ti((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var pa=Yr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&so(e,t[0],t[1])?t=[]:n>2&&so(t[0],t[1],t[2])&&(t=[t[0]]),Mr(e,or(t,1),[])})),Ea=Jt||function(){return ze.Date.now()};function ha(e,t,n){return t=n?void 0:t,xi(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ma(e,t){var n;if("function"!=typeof t)throw new ve(o);return e=rs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var va=Yr((function(e,t,n){var r=1;if(n.length){var i=Ft(n,Xi(va));r|=32}return xi(e,r,t,n,i)})),Ta=Yr((function(e,t,n){var r=3;if(n.length){var i=Ft(n,Xi(Ta));r|=32}return xi(t,r,e,n,i)}));function ga(e,t,n){var r,i,a,s,u,l,c=0,d=!1,f=!1,_=!0;if("function"!=typeof e)throw new ve(o);function p(t){var n=r,o=i;return r=i=void 0,c=t,s=e.apply(o,n)}function E(e){return c=e,u=go(m,t),d?p(e):s}function h(e){var n=e-l;return void 0===l||n>=t||n<0||f&&e-c>=a}function m(){var e=Ea();if(h(e))return v(e);u=go(m,function(e){var n=t-(e-l);return f?sn(n,a-(e-c)):n}(e))}function v(e){return u=void 0,_&&r?p(e):(r=i=void 0,s)}function T(){var e=Ea(),n=h(e);if(r=arguments,i=this,l=e,n){if(void 0===u)return E(l);if(f)return ci(u),u=go(m,t),p(l)}return void 0===u&&(u=go(m,t)),s}return t=os(t)||0,Ba(n)&&(d=!!n.leading,a=(f="maxWait"in n)?an(os(n.maxWait)||0,t):a,_="trailing"in n?!!n.trailing:_),T.cancel=function(){void 0!==u&&ci(u),c=0,r=l=i=u=void 0},T.flush=function(){return void 0===u?s:v(Ea())},T}var Ia=Yr((function(e,t){return Zn(e,1,t)})),Sa=Yr((function(e,t,n){return Zn(e,os(t)||0,n)}));function ya(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ve(o);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(ya.Cache||Un),n}function Aa(e){if("function"!=typeof e)throw new ve(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ya.Cache=Un;var Oa=ui((function(e,t){var n=(t=1==t.length&&Pa(t[0])?_t(t[0],Dt(Ji())):_t(or(t,1),Dt(Ji()))).length;return Yr((function(r){for(var i=-1,o=sn(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return ot(e,this,r)}))})),Na=Yr((function(e,t){return xi(e,32,void 0,t,Ft(t,Xi(Na)))})),Ra=Yr((function(e,t){return xi(e,64,void 0,t,Ft(t,Xi(Ra)))})),ba=ji((function(e,t){return xi(e,256,void 0,void 0,void 0,t)}));function La(e,t){return e===t||e!=e&&t!=t}var Da=wi(pr),Ca=wi((function(e,t){return e>=t})),Ma=Tr(function(){return arguments}())?Tr:function(e){return ja(e)&&Ae.call(e,"callee")&&!qe.call(e,"callee")},Pa=r.isArray,wa=$e?Dt($e):function(e){return ja(e)&&_r(e)==y};function Ua(e){return null!=e&&Fa(e.length)&&!Va(e)}function ka(e){return ja(e)&&Ua(e)}var Ga=tn||ou,Ya=et?Dt(et):function(e){return ja(e)&&_r(e)==d};function xa(e){if(!ja(e))return!1;var t=_r(e);return t==f||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!za(e)}function Va(e){if(!Ba(e))return!1;var t=_r(e);return t==_||t==p||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ha(e){return"number"==typeof e&&e==rs(e)}function Fa(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ba(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ja(e){return null!=e&&"object"==typeof e}var Wa=tt?Dt(tt):function(e){return ja(e)&&no(e)==E};function Ka(e){return"number"==typeof e||ja(e)&&_r(e)==h}function za(e){if(!ja(e)||_r(e)!=m)return!1;var t=We(e);if(null===t)return!0;var n=Ae.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ye.call(n)==be}var qa=nt?Dt(nt):function(e){return ja(e)&&_r(e)==v};var Xa=rt?Dt(rt):function(e){return ja(e)&&no(e)==T};function Ja(e){return"string"==typeof e||!Pa(e)&&ja(e)&&_r(e)==g}function Qa(e){return"symbol"==typeof e||ja(e)&&_r(e)==I}var Za=it?Dt(it):function(e){return ja(e)&&Fa(e.length)&&!!Ve[_r(e)]};var $a=wi(Nr),es=wi((function(e,t){return e<=t}));function ts(e){if(!e)return[];if(Ua(e))return Ja(e)?Kt(e):mi(e);if(Ze&&e[Ze])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ze]());var t=no(e);return(t==E?Vt:t==T?Bt:Ls)(e)}function ns(e){return e?(e=os(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function rs(e){var t=ns(e),n=t%1;return t==t?n?t-n:t:0}function is(e){return e?Xn(rs(e),0,4294967295):0}function os(e){if("number"==typeof e)return e;if(Qa(e))return NaN;if(Ba(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ba(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(q,"");var n=oe.test(e);return n||se.test(e)?je(e.slice(2),n?2:8):ie.test(e)?NaN:+e}function as(e){return vi(e,Is(e))}function ss(e){return null==e?"":Qr(e)}var us=gi((function(e,t){if(fo(t)||Ua(t))vi(t,gs(t),e);else for(var n in t)Ae.call(t,n)&&Bn(e,n,t[n])})),ls=gi((function(e,t){vi(t,Is(t),e)})),cs=gi((function(e,t,n,r){vi(t,Is(t),e,r)})),ds=gi((function(e,t,n,r){vi(t,gs(t),e,r)})),fs=ji(qn);var _s=Yr((function(e,t){e=Ee(e);var n=-1,r=t.length,i=r>2?t[2]:void 0;for(i&&so(t[0],t[1],i)&&(r=1);++n<r;)for(var o=t[n],a=Is(o),s=-1,u=a.length;++s<u;){var l=a[s],c=e[l];(void 0===c||La(c,Ie[l])&&!Ae.call(e,l))&&(e[l]=o[l])}return e})),ps=Yr((function(e){return e.push(void 0,Hi),ot(ys,void 0,e)}));function Es(e,t,n){var r=null==e?void 0:dr(e,t);return void 0===r?n:r}function hs(e,t){return null!=e&&ro(e,t,hr)}var ms=Li((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Re.call(t)),e[t]=n}),Bs(Ks)),vs=Li((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Re.call(t)),Ae.call(e,t)?e[t].push(n):e[t]=[n]}),Ji),Ts=Yr(vr);function gs(e){return Ua(e)?Yn(e):Ar(e)}function Is(e){return Ua(e)?Yn(e,!0):Or(e)}var Ss=gi((function(e,t,n){Dr(e,t,n)})),ys=gi((function(e,t,n,r){Dr(e,t,n,r)})),As=ji((function(e,t){var n={};if(null==e)return n;var r=!1;t=_t(t,(function(t){return t=si(t,e),r||(r=t.length>1),t})),vi(e,Ki(e),n),r&&(n=Jn(n,7,Fi));for(var i=t.length;i--;)$r(n,t[i]);return n}));var Os=ji((function(e,t){return null==e?{}:function(e,t){return Pr(e,t,(function(t,n){return hs(e,n)}))}(e,t)}));function Ns(e,t){if(null==e)return{};var n=_t(Ki(e),(function(e){return[e]}));return t=Ji(t),Pr(e,n,(function(e,n){return t(e,n[0])}))}var Rs=Yi(gs),bs=Yi(Is);function Ls(e){return null==e?[]:Ct(e,gs(e))}var Ds=Ai((function(e,t,n){return t=t.toLowerCase(),e+(n?Cs(t):t)}));function Cs(e){return xs(ss(e).toLowerCase())}function Ms(e){return(e=ss(e))&&e.replace(le,kt).replace(Pe,"")}var Ps=Ai((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),ws=Ai((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Us=yi("toLowerCase");var ks=Ai((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Gs=Ai((function(e,t,n){return e+(n?" ":"")+xs(t)}));var Ys=Ai((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),xs=yi("toUpperCase");function Vs(e,t,n){return e=ss(e),void 0===(t=n?void 0:t)?function(e){return Ge.test(e)}(e)?function(e){return e.match(Ue)||[]}(e):function(e){return e.match(ee)||[]}(e):e.match(t)||[]}var Hs=Yr((function(e,t){try{return ot(e,void 0,t)}catch(e){return xa(e)?e:new fe(e)}})),Fs=ji((function(e,t){return st(t,(function(t){t=No(t),zn(e,t,va(e[t],e))})),e}));function Bs(e){return function(){return e}}var js=Ri(),Ws=Ri(!0);function Ks(e){return e}function zs(e){return yr("function"==typeof e?e:Jn(e,1))}var qs=Yr((function(e,t){return function(n){return vr(n,e,t)}})),Xs=Yr((function(e,t){return function(n){return vr(e,n,t)}}));function Js(e,t,n){var r=gs(t),i=cr(t,r);null!=n||Ba(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=cr(t,gs(t)));var o=!(Ba(n)&&"chain"in n&&!n.chain),a=Va(e);return st(i,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),i=n.__actions__=mi(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,pt([this.value()],arguments))})})),e}function Qs(){}var Zs=Ci(_t),$s=Ci(lt),eu=Ci(mt);function tu(e){return uo(e)?Ot(No(e)):function(e){return function(t){return dr(t,e)}}(e)}var nu=Pi(),ru=Pi(!0);function iu(){return[]}function ou(){return!1}var au=Di((function(e,t){return e+t}),0),su=ki("ceil"),uu=Di((function(e,t){return e/t}),1),lu=ki("floor");var cu,du=Di((function(e,t){return e*t}),1),fu=ki("round"),_u=Di((function(e,t){return e-t}),0);return bn.after=function(e,t){if("function"!=typeof t)throw new ve(o);return e=rs(e),function(){if(--e<1)return t.apply(this,arguments)}},bn.ary=ha,bn.assign=us,bn.assignIn=ls,bn.assignInWith=cs,bn.assignWith=ds,bn.at=fs,bn.before=ma,bn.bind=va,bn.bindAll=Fs,bn.bindKey=Ta,bn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Pa(e)?e:[e]},bn.chain=ta,bn.chunk=function(e,t,n){t=(n?so(e,t,n):void 0===t)?1:an(rs(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var o=0,a=0,s=r(Zt(i/t));o<i;)s[a++]=Wr(e,o,o+=t);return s},bn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},bn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return pt(Pa(n)?mi(n):[n],or(t,1))},bn.cond=function(e){var t=null==e?0:e.length,n=Ji();return e=t?_t(e,(function(e){if("function"!=typeof e[1])throw new ve(o);return[n(e[0]),e[1]]})):[],Yr((function(n){for(var r=-1;++r<t;){var i=e[r];if(ot(i[0],this,n))return ot(i[1],this,n)}}))},bn.conforms=function(e){return function(e){var t=gs(e);return function(n){return Qn(n,e,t)}}(Jn(e,1))},bn.constant=Bs,bn.countBy=ia,bn.create=function(e,t){var n=Ln(e);return null==t?n:Kn(n,t)},bn.curry=function e(t,n,r){var i=xi(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return i.placeholder=e.placeholder,i},bn.curryRight=function e(t,n,r){var i=xi(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return i.placeholder=e.placeholder,i},bn.debounce=ga,bn.defaults=_s,bn.defaultsDeep=ps,bn.defer=Ia,bn.delay=Sa,bn.difference=Lo,bn.differenceBy=Do,bn.differenceWith=Co,bn.drop=function(e,t,n){var r=null==e?0:e.length;return r?Wr(e,(t=n||void 0===t?1:rs(t))<0?0:t,r):[]},bn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Wr(e,0,(t=r-(t=n||void 0===t?1:rs(t)))<0?0:t):[]},bn.dropRightWhile=function(e,t){return e&&e.length?ti(e,Ji(t,3),!0,!0):[]},bn.dropWhile=function(e,t){return e&&e.length?ti(e,Ji(t,3),!0):[]},bn.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&so(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=rs(n))<0&&(n=-n>i?0:i+n),(r=void 0===r||r>i?i:rs(r))<0&&(r+=i),r=n>r?0:is(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},bn.filter=function(e,t){return(Pa(e)?ct:ir)(e,Ji(t,3))},bn.flatMap=function(e,t){return or(fa(e,t),1)},bn.flatMapDeep=function(e,t){return or(fa(e,t),1/0)},bn.flatMapDepth=function(e,t,n){return n=void 0===n?1:rs(n),or(fa(e,t),n)},bn.flatten=wo,bn.flattenDeep=function(e){return(null==e?0:e.length)?or(e,1/0):[]},bn.flattenDepth=function(e,t){return(null==e?0:e.length)?or(e,t=void 0===t?1:rs(t)):[]},bn.flip=function(e){return xi(e,512)},bn.flow=js,bn.flowRight=Ws,bn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},bn.functions=function(e){return null==e?[]:cr(e,gs(e))},bn.functionsIn=function(e){return null==e?[]:cr(e,Is(e))},bn.groupBy=la,bn.initial=function(e){return(null==e?0:e.length)?Wr(e,0,-1):[]},bn.intersection=ko,bn.intersectionBy=Go,bn.intersectionWith=Yo,bn.invert=ms,bn.invertBy=vs,bn.invokeMap=ca,bn.iteratee=zs,bn.keyBy=da,bn.keys=gs,bn.keysIn=Is,bn.map=fa,bn.mapKeys=function(e,t){var n={};return t=Ji(t,3),ur(e,(function(e,r,i){zn(n,t(e,r,i),e)})),n},bn.mapValues=function(e,t){var n={};return t=Ji(t,3),ur(e,(function(e,r,i){zn(n,r,t(e,r,i))})),n},bn.matches=function(e){return br(Jn(e,1))},bn.matchesProperty=function(e,t){return Lr(e,Jn(t,1))},bn.memoize=ya,bn.merge=Ss,bn.mergeWith=ys,bn.method=qs,bn.methodOf=Xs,bn.mixin=Js,bn.negate=Aa,bn.nthArg=function(e){return e=rs(e),Yr((function(t){return Cr(t,e)}))},bn.omit=As,bn.omitBy=function(e,t){return Ns(e,Aa(Ji(t)))},bn.once=function(e){return ma(2,e)},bn.orderBy=function(e,t,n,r){return null==e?[]:(Pa(t)||(t=null==t?[]:[t]),Pa(n=r?void 0:n)||(n=null==n?[]:[n]),Mr(e,t,n))},bn.over=Zs,bn.overArgs=Oa,bn.overEvery=$s,bn.overSome=eu,bn.partial=Na,bn.partialRight=Ra,bn.partition=_a,bn.pick=Os,bn.pickBy=Ns,bn.property=tu,bn.propertyOf=function(e){return function(t){return null==e?void 0:dr(e,t)}},bn.pull=Vo,bn.pullAll=Ho,bn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?wr(e,t,Ji(n,2)):e},bn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?wr(e,t,void 0,n):e},bn.pullAt=Fo,bn.range=nu,bn.rangeRight=ru,bn.rearg=ba,bn.reject=function(e,t){return(Pa(e)?ct:ir)(e,Aa(Ji(t,3)))},bn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=Ji(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return Ur(e,i),n},bn.rest=function(e,t){if("function"!=typeof e)throw new ve(o);return Yr(e,t=void 0===t?t:rs(t))},bn.reverse=Bo,bn.sampleSize=function(e,t,n){return t=(n?so(e,t,n):void 0===t)?1:rs(t),(Pa(e)?Vn:Vr)(e,t)},bn.set=function(e,t,n){return null==e?e:Hr(e,t,n)},bn.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Hr(e,t,n,r)},bn.shuffle=function(e){return(Pa(e)?Hn:jr)(e)},bn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&so(e,t,n)?(t=0,n=r):(t=null==t?0:rs(t),n=void 0===n?r:rs(n)),Wr(e,t,n)):[]},bn.sortBy=pa,bn.sortedUniq=function(e){return e&&e.length?Xr(e):[]},bn.sortedUniqBy=function(e,t){return e&&e.length?Xr(e,Ji(t,2)):[]},bn.split=function(e,t,n){return n&&"number"!=typeof n&&so(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=ss(e))&&("string"==typeof t||null!=t&&!qa(t))&&!(t=Qr(t))&&xt(e)?li(Kt(e),0,n):e.split(t,n):[]},bn.spread=function(e,t){if("function"!=typeof e)throw new ve(o);return t=null==t?0:an(rs(t),0),Yr((function(n){var r=n[t],i=li(n,0,t);return r&&pt(i,r),ot(e,this,i)}))},bn.tail=function(e){var t=null==e?0:e.length;return t?Wr(e,1,t):[]},bn.take=function(e,t,n){return e&&e.length?Wr(e,0,(t=n||void 0===t?1:rs(t))<0?0:t):[]},bn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Wr(e,(t=r-(t=n||void 0===t?1:rs(t)))<0?0:t,r):[]},bn.takeRightWhile=function(e,t){return e&&e.length?ti(e,Ji(t,3),!1,!0):[]},bn.takeWhile=function(e,t){return e&&e.length?ti(e,Ji(t,3)):[]},bn.tap=function(e,t){return t(e),e},bn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new ve(o);return Ba(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ga(e,t,{leading:r,maxWait:t,trailing:i})},bn.thru=na,bn.toArray=ts,bn.toPairs=Rs,bn.toPairsIn=bs,bn.toPath=function(e){return Pa(e)?_t(e,No):Qa(e)?[e]:mi(Oo(ss(e)))},bn.toPlainObject=as,bn.transform=function(e,t,n){var r=Pa(e),i=r||Ga(e)||Za(e);if(t=Ji(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Ba(e)&&Va(o)?Ln(We(e)):{}}return(i?st:ur)(e,(function(e,r,i){return t(n,e,r,i)})),n},bn.unary=function(e){return ha(e,1)},bn.union=jo,bn.unionBy=Wo,bn.unionWith=Ko,bn.uniq=function(e){return e&&e.length?Zr(e):[]},bn.uniqBy=function(e,t){return e&&e.length?Zr(e,Ji(t,2)):[]},bn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Zr(e,void 0,t):[]},bn.unset=function(e,t){return null==e||$r(e,t)},bn.unzip=zo,bn.unzipWith=qo,bn.update=function(e,t,n){return null==e?e:ei(e,t,ai(n))},bn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:ei(e,t,ai(n),r)},bn.values=Ls,bn.valuesIn=function(e){return null==e?[]:Ct(e,Is(e))},bn.without=Xo,bn.words=Vs,bn.wrap=function(e,t){return Na(ai(t),e)},bn.xor=Jo,bn.xorBy=Qo,bn.xorWith=Zo,bn.zip=$o,bn.zipObject=function(e,t){return ii(e||[],t||[],Bn)},bn.zipObjectDeep=function(e,t){return ii(e||[],t||[],Hr)},bn.zipWith=ea,bn.entries=Rs,bn.entriesIn=bs,bn.extend=ls,bn.extendWith=cs,Js(bn,bn),bn.add=au,bn.attempt=Hs,bn.camelCase=Ds,bn.capitalize=Cs,bn.ceil=su,bn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=os(n))==n?n:0),void 0!==t&&(t=(t=os(t))==t?t:0),Xn(os(e),t,n)},bn.clone=function(e){return Jn(e,4)},bn.cloneDeep=function(e){return Jn(e,5)},bn.cloneDeepWith=function(e,t){return Jn(e,5,t="function"==typeof t?t:void 0)},bn.cloneWith=function(e,t){return Jn(e,4,t="function"==typeof t?t:void 0)},bn.conformsTo=function(e,t){return null==t||Qn(e,t,gs(t))},bn.deburr=Ms,bn.defaultTo=function(e,t){return null==e||e!=e?t:e},bn.divide=uu,bn.endsWith=function(e,t,n){e=ss(e),t=Qr(t);var r=e.length,i=n=void 0===n?r:Xn(rs(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},bn.eq=La,bn.escape=function(e){return(e=ss(e))&&x.test(e)?e.replace(G,Gt):e},bn.escapeRegExp=function(e){return(e=ss(e))&&z.test(e)?e.replace(K,"\\$&"):e},bn.every=function(e,t,n){var r=Pa(e)?lt:nr;return n&&so(e,t,n)&&(t=void 0),r(e,Ji(t,3))},bn.find=oa,bn.findIndex=Mo,bn.findKey=function(e,t){return Tt(e,Ji(t,3),ur)},bn.findLast=aa,bn.findLastIndex=Po,bn.findLastKey=function(e,t){return Tt(e,Ji(t,3),lr)},bn.floor=lu,bn.forEach=sa,bn.forEachRight=ua,bn.forIn=function(e,t){return null==e?e:ar(e,Ji(t,3),Is)},bn.forInRight=function(e,t){return null==e?e:sr(e,Ji(t,3),Is)},bn.forOwn=function(e,t){return e&&ur(e,Ji(t,3))},bn.forOwnRight=function(e,t){return e&&lr(e,Ji(t,3))},bn.get=Es,bn.gt=Da,bn.gte=Ca,bn.has=function(e,t){return null!=e&&ro(e,t,Er)},bn.hasIn=hs,bn.head=Uo,bn.identity=Ks,bn.includes=function(e,t,n,r){e=Ua(e)?e:Ls(e),n=n&&!r?rs(n):0;var i=e.length;return n<0&&(n=an(i+n,0)),Ja(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&It(e,t,n)>-1},bn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:rs(n);return i<0&&(i=an(r+i,0)),It(e,t,i)},bn.inRange=function(e,t,n){return t=ns(t),void 0===n?(n=t,t=0):n=ns(n),function(e,t,n){return e>=sn(t,n)&&e<an(t,n)}(e=os(e),t,n)},bn.invoke=Ts,bn.isArguments=Ma,bn.isArray=Pa,bn.isArrayBuffer=wa,bn.isArrayLike=Ua,bn.isArrayLikeObject=ka,bn.isBoolean=function(e){return!0===e||!1===e||ja(e)&&_r(e)==c},bn.isBuffer=Ga,bn.isDate=Ya,bn.isElement=function(e){return ja(e)&&1===e.nodeType&&!za(e)},bn.isEmpty=function(e){if(null==e)return!0;if(Ua(e)&&(Pa(e)||"string"==typeof e||"function"==typeof e.splice||Ga(e)||Za(e)||Ma(e)))return!e.length;var t=no(e);if(t==E||t==T)return!e.size;if(fo(e))return!Ar(e).length;for(var n in e)if(Ae.call(e,n))return!1;return!0},bn.isEqual=function(e,t){return gr(e,t)},bn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?gr(e,t,void 0,n):!!r},bn.isError=xa,bn.isFinite=function(e){return"number"==typeof e&&nn(e)},bn.isFunction=Va,bn.isInteger=Ha,bn.isLength=Fa,bn.isMap=Wa,bn.isMatch=function(e,t){return e===t||Ir(e,t,Zi(t))},bn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,Ir(e,t,Zi(t),n)},bn.isNaN=function(e){return Ka(e)&&e!=+e},bn.isNative=function(e){if(co(e))throw new fe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Sr(e)},bn.isNil=function(e){return null==e},bn.isNull=function(e){return null===e},bn.isNumber=Ka,bn.isObject=Ba,bn.isObjectLike=ja,bn.isPlainObject=za,bn.isRegExp=qa,bn.isSafeInteger=function(e){return Ha(e)&&e>=-9007199254740991&&e<=9007199254740991},bn.isSet=Xa,bn.isString=Ja,bn.isSymbol=Qa,bn.isTypedArray=Za,bn.isUndefined=function(e){return void 0===e},bn.isWeakMap=function(e){return ja(e)&&no(e)==S},bn.isWeakSet=function(e){return ja(e)&&"[object WeakSet]"==_r(e)},bn.join=function(e,t){return null==e?"":rn.call(e,t)},bn.kebabCase=Ps,bn.last=xo,bn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return void 0!==n&&(i=(i=rs(n))<0?an(r+i,0):sn(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):gt(e,yt,i,!0)},bn.lowerCase=ws,bn.lowerFirst=Us,bn.lt=$a,bn.lte=es,bn.max=function(e){return e&&e.length?rr(e,Ks,pr):void 0},bn.maxBy=function(e,t){return e&&e.length?rr(e,Ji(t,2),pr):void 0},bn.mean=function(e){return At(e,Ks)},bn.meanBy=function(e,t){return At(e,Ji(t,2))},bn.min=function(e){return e&&e.length?rr(e,Ks,Nr):void 0},bn.minBy=function(e,t){return e&&e.length?rr(e,Ji(t,2),Nr):void 0},bn.stubArray=iu,bn.stubFalse=ou,bn.stubObject=function(){return{}},bn.stubString=function(){return""},bn.stubTrue=function(){return!0},bn.multiply=du,bn.nth=function(e,t){return e&&e.length?Cr(e,rs(t)):void 0},bn.noConflict=function(){return ze._===this&&(ze._=Le),this},bn.noop=Qs,bn.now=Ea,bn.pad=function(e,t,n){e=ss(e);var r=(t=rs(t))?Wt(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Mi($t(i),n)+e+Mi(Zt(i),n)},bn.padEnd=function(e,t,n){e=ss(e);var r=(t=rs(t))?Wt(e):0;return t&&r<t?e+Mi(t-r,n):e},bn.padStart=function(e,t,n){e=ss(e);var r=(t=rs(t))?Wt(e):0;return t&&r<t?Mi(t-r,n)+e:e},bn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),ln(ss(e).replace(X,""),t||0)},bn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&so(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=ns(e),void 0===t?(t=e,e=0):t=ns(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=cn();return sn(e+i*(t-e+Be("1e-"+((i+"").length-1))),t)}return kr(e,t)},bn.reduce=function(e,t,n){var r=Pa(e)?Et:Rt,i=arguments.length<3;return r(e,Ji(t,4),n,i,er)},bn.reduceRight=function(e,t,n){var r=Pa(e)?ht:Rt,i=arguments.length<3;return r(e,Ji(t,4),n,i,tr)},bn.repeat=function(e,t,n){return t=(n?so(e,t,n):void 0===t)?1:rs(t),Gr(ss(e),t)},bn.replace=function(){var e=arguments,t=ss(e[0]);return e.length<3?t:t.replace(e[1],e[2])},bn.result=function(e,t,n){var r=-1,i=(t=si(t,e)).length;for(i||(i=1,e=void 0);++r<i;){var o=null==e?void 0:e[No(t[r])];void 0===o&&(r=i,o=n),e=Va(o)?o.call(e):o}return e},bn.round=fu,bn.runInContext=e,bn.sample=function(e){return(Pa(e)?xn:xr)(e)},bn.size=function(e){if(null==e)return 0;if(Ua(e))return Ja(e)?Wt(e):e.length;var t=no(e);return t==E||t==T?e.size:Ar(e).length},bn.snakeCase=ks,bn.some=function(e,t,n){var r=Pa(e)?mt:Kr;return n&&so(e,t,n)&&(t=void 0),r(e,Ji(t,3))},bn.sortedIndex=function(e,t){return zr(e,t)},bn.sortedIndexBy=function(e,t,n){return qr(e,t,Ji(n,2))},bn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=zr(e,t);if(r<n&&La(e[r],t))return r}return-1},bn.sortedLastIndex=function(e,t){return zr(e,t,!0)},bn.sortedLastIndexBy=function(e,t,n){return qr(e,t,Ji(n,2),!0)},bn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=zr(e,t,!0)-1;if(La(e[n],t))return n}return-1},bn.startCase=Gs,bn.startsWith=function(e,t,n){return e=ss(e),n=null==n?0:Xn(rs(n),0,e.length),t=Qr(t),e.slice(n,n+t.length)==t},bn.subtract=_u,bn.sum=function(e){return e&&e.length?bt(e,Ks):0},bn.sumBy=function(e,t){return e&&e.length?bt(e,Ji(t,2)):0},bn.template=function(e,t,n){var r=bn.templateSettings;n&&so(e,t,n)&&(t=void 0),e=ss(e),t=cs({},t,r,Vi);var i,o,a=cs({},t.imports,r.imports,Vi),s=gs(a),u=Ct(a,s),l=0,c=t.interpolate||ce,d="__p += '",f=he((t.escape||ce).source+"|"+c.source+"|"+(c===F?ne:ce).source+"|"+(t.evaluate||ce).source+"|$","g"),_="//# sourceURL="+(Ae.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++xe+"]")+"\n";e.replace(f,(function(t,n,r,a,s,u){return r||(r=a),d+=e.slice(l,u).replace(de,Yt),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),s&&(o=!0,d+="';\n"+s+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=u+t.length,t})),d+="';\n";var p=Ae.call(t,"variable")&&t.variable;p||(d="with (obj) {\n"+d+"\n}\n"),d=(o?d.replace(P,""):d).replace(w,"$1").replace(U,"$1;"),d="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var E=Hs((function(){return _e(s,_+"return "+d).apply(void 0,u)}));if(E.source=d,xa(E))throw E;return E},bn.times=function(e,t){if((e=rs(e))<1||e>9007199254740991)return[];var n=4294967295,r=sn(e,4294967295);e-=4294967295;for(var i=Lt(r,t=Ji(t));++n<e;)t(n);return i},bn.toFinite=ns,bn.toInteger=rs,bn.toLength=is,bn.toLower=function(e){return ss(e).toLowerCase()},bn.toNumber=os,bn.toSafeInteger=function(e){return e?Xn(rs(e),-9007199254740991,9007199254740991):0===e?e:0},bn.toString=ss,bn.toUpper=function(e){return ss(e).toUpperCase()},bn.trim=function(e,t,n){if((e=ss(e))&&(n||void 0===t))return e.replace(q,"");if(!e||!(t=Qr(t)))return e;var r=Kt(e),i=Kt(t);return li(r,Pt(r,i),wt(r,i)+1).join("")},bn.trimEnd=function(e,t,n){if((e=ss(e))&&(n||void 0===t))return e.replace(J,"");if(!e||!(t=Qr(t)))return e;var r=Kt(e);return li(r,0,wt(r,Kt(t))+1).join("")},bn.trimStart=function(e,t,n){if((e=ss(e))&&(n||void 0===t))return e.replace(X,"");if(!e||!(t=Qr(t)))return e;var r=Kt(e);return li(r,Pt(r,Kt(t))).join("")},bn.truncate=function(e,t){var n=30,r="...";if(Ba(t)){var i="separator"in t?t.separator:i;n="length"in t?rs(t.length):n,r="omission"in t?Qr(t.omission):r}var o=(e=ss(e)).length;if(xt(e)){var a=Kt(e);o=a.length}if(n>=o)return e;var s=n-Wt(r);if(s<1)return r;var u=a?li(a,0,s).join(""):e.slice(0,s);if(void 0===i)return u+r;if(a&&(s+=u.length-s),qa(i)){if(e.slice(s).search(i)){var l,c=u;for(i.global||(i=he(i.source,ss(re.exec(i))+"g")),i.lastIndex=0;l=i.exec(c);)var d=l.index;u=u.slice(0,void 0===d?s:d)}}else if(e.indexOf(Qr(i),s)!=s){var f=u.lastIndexOf(i);f>-1&&(u=u.slice(0,f))}return u+r},bn.unescape=function(e){return(e=ss(e))&&Y.test(e)?e.replace(k,zt):e},bn.uniqueId=function(e){var t=++Oe;return ss(e)+t},bn.upperCase=Ys,bn.upperFirst=xs,bn.each=sa,bn.eachRight=ua,bn.first=Uo,Js(bn,(cu={},ur(bn,(function(e,t){Ae.call(bn.prototype,t)||(cu[t]=e)})),cu),{chain:!1}),bn.VERSION="4.17.19",st(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){bn[e].placeholder=bn})),st(["drop","take"],(function(e,t){Mn.prototype[e]=function(n){n=void 0===n?1:an(rs(n),0);var r=this.__filtered__&&!t?new Mn(this):this.clone();return r.__filtered__?r.__takeCount__=sn(n,r.__takeCount__):r.__views__.push({size:sn(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},Mn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),st(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Mn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ji(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),st(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Mn.prototype[e]=function(){return this[n](1).value()[0]}})),st(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Mn.prototype[e]=function(){return this.__filtered__?new Mn(this):this[n](1)}})),Mn.prototype.compact=function(){return this.filter(Ks)},Mn.prototype.find=function(e){return this.filter(e).head()},Mn.prototype.findLast=function(e){return this.reverse().find(e)},Mn.prototype.invokeMap=Yr((function(e,t){return"function"==typeof e?new Mn(this):this.map((function(n){return vr(n,e,t)}))})),Mn.prototype.reject=function(e){return this.filter(Aa(Ji(e)))},Mn.prototype.slice=function(e,t){e=rs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Mn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=rs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Mn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Mn.prototype.toArray=function(){return this.take(4294967295)},ur(Mn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=bn[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);i&&(bn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,s=t instanceof Mn,u=a[0],l=s||Pa(t),c=function(e){var t=i.apply(bn,pt([e],a));return r&&d?t[0]:t};l&&n&&"function"==typeof u&&1!=u.length&&(s=l=!1);var d=this.__chain__,f=!!this.__actions__.length,_=o&&!d,p=s&&!f;if(!o&&l){t=p?t:new Mn(this);var E=e.apply(t,a);return E.__actions__.push({func:na,args:[c],thisArg:void 0}),new Cn(E,d)}return _&&p?e.apply(this,a):(E=this.thru(c),_?r?E.value()[0]:E.value():E)})})),st(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Te[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);bn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Pa(i)?i:[],e)}return this[n]((function(n){return t.apply(Pa(n)?n:[],e)}))}})),ur(Mn.prototype,(function(e,t){var n=bn[t];if(n){var r=n.name+"";Ae.call(Tn,r)||(Tn[r]=[]),Tn[r].push({name:t,func:n})}})),Tn[bi(void 0,2).name]=[{name:"wrapper",func:void 0}],Mn.prototype.clone=function(){var e=new Mn(this.__wrapped__);return e.__actions__=mi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=mi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=mi(this.__views__),e},Mn.prototype.reverse=function(){if(this.__filtered__){var e=new Mn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Mn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Pa(e),r=t<0,i=n?e.length:0,o=function(e,t,n){var r=-1,i=n.length;for(;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=sn(t,e+a);break;case"takeRight":e=an(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,u=s-a,l=r?s:a-1,c=this.__iteratees__,d=c.length,f=0,_=sn(u,this.__takeCount__);if(!n||!r&&i==u&&_==u)return ni(e,this.__actions__);var p=[];e:for(;u--&&f<_;){for(var E=-1,h=e[l+=t];++E<d;){var m=c[E],v=m.iteratee,T=m.type,g=v(h);if(2==T)h=g;else if(!g){if(1==T)continue e;break e}}p[f++]=h}return p},bn.prototype.at=ra,bn.prototype.chain=function(){return ta(this)},bn.prototype.commit=function(){return new Cn(this.value(),this.__chain__)},bn.prototype.next=function(){void 0===this.__values__&&(this.__values__=ts(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},bn.prototype.plant=function(e){for(var t,n=this;n instanceof Dn;){var r=bo(n);r.__index__=0,r.__values__=void 0,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},bn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Mn){var t=e;return this.__actions__.length&&(t=new Mn(this)),(t=t.reverse()).__actions__.push({func:na,args:[Bo],thisArg:void 0}),new Cn(t,this.__chain__)}return this.thru(Bo)},bn.prototype.toJSON=bn.prototype.valueOf=bn.prototype.value=function(){return ni(this.__wrapped__,this.__actions__)},bn.prototype.first=bn.prototype.head,Ze&&(bn.prototype[Ze]=function(){return this}),bn}();ze._=qt,void 0===(i=function(){return qt}.call(t,n,t,r))||(r.exports=i)}).call(this)}).call(this,n(44),n(209)(e))},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=i.apply(null,r);a&&e.push(a)}else if("object"===o)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(8)),i=d(n(3)),o=d(n(2)),a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(31)),s=d(n(15)),u=d(n(12)),l=n(1);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function E(){return(E=Object.assign||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}).apply(this,arguments)}var h={},m={},v={},T={},g={},I=0,S={};function y(e){var t;return null!==(t=h[e])&&void 0!==t?t:T[e]}function A(e){if((0,a.isPrivate)(e.type))h[e.id]=e,v[e.id]=e;else if(a.THREAD_CHANNEL_TYPES.has(e.type)){var t;e=e.set("nsfw",!0===(null===(t=m[e.parent_id])||void 0===t?void 0:t.nsfw)),T[e.id]=e}else a.GUILD_CHANNEL_TYPES.has(e.type)&&(h[e.id]=e,m[e.id]=e);O(e)}function O(e){null==e.guild_id||a.THREAD_CHANNEL_TYPES.has(e.type)?(0,a.isPrivate)(e.type)&&(I+=1):S[e.guild_id]=(S[e.guild_id]||0)+1}function N(e){h={},g={},m={},S={},v={},T={},(0,r.default)(e.channels).forEach((function(e){var t=new a.default(e);b(t),A(t)}))}function R(e){if(!a.ALL_CHANNEL_TYPES.has(e.channel.type))return!1;var t=y(e.channel.id);A(t=null==t?e.channel:t.merge(E({},e.channel.toJS(),{bitrate:e.channel.bitrate||t.bitrate})))}function b(e){e.type===l.ChannelTypes.DM&&(g[e.getRecipientId()]=e.id)}function L(e){null!=e&&(e.id in v&&delete v[e.id],e.id in m&&delete m[e.id],e.id in h&&delete h[e.id],e.id in T&&delete T[e.id],O(e))}function D(e){var t=e.channel,n=m[t.id]||v[t.id]||T[t.id];if(null==n)return!1;L(n),function(e){e.type===l.ChannelTypes.DM&&delete g[e.getRecipientId()]}(n)}function C(e){for(var t,n=_(e.messages);!(t=n()).done;){var r=t.value;null!=r.thread&&!(r.thread.id in T)&&a.ALL_CHANNEL_TYPES.has(r.thread.type)&&(T[r.thread.id]=a.default.fromServer(r.thread))}}function M(e){null!=e&&!(e.id in T)&&a.ALL_CHANNEL_TYPES.has(e.type)&&(T[e.id]=a.default.fromServer(e))}var P=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var o=i.prototype;return o.initialize=function(){this.waitFor(u.default,s.default)},o.hasChannel=function(e){return null!=y(e)},o.getChannel=function(e){if(null!=e)return y(e)},o.getMutableGuildAndPrivateChannels=function(){return h},o.getMutablePrivateChannels=function(){return v},o.getMutableGuildChannels=function(){return m},o.getSortedPrivateChannels=function(){return(0,r.default)(v).values().sortBy((function(e){return e.lastMessageId})).reverse().value()},o.getDMFromUserId=function(e){if(null!=e)return g[e]},o.getDMUserIds=function(){return Object.keys(g)},o.getPrivateChannelsVersion=function(){return I},o.getGuildChannelsVersion=function(e){var t;return null!==(t=S[e])&&void 0!==t?t:0},o.getAllThreadsForParent=function(e){return r.default.values(T).filter((function(t){return t.parent_id===e}))},i}(i.default.Store))(o.default,{CONNECTION_OPEN:function(e){h={},g={},m={},v={},T={},S={},e.channels.forEach((function(e){b(e),A(e)})),e.guilds.forEach((function(e){var t;null==e||null===(t=e.threads)||void 0===t||t.forEach((function(e){a.ALL_CHANNEL_TYPES.has(e.type)&&A(e)}))})),I+=1},CACHE_LOADED:N,CACHE_LOADED_LAZY:N,OVERLAY_INITIALIZE:N,GUILD_CREATE:function(e){var t,n=e.guild;n.channels.forEach((function(e){A(e)})),null===(t=n.threads)||void 0===t||t.forEach((function(e){A(e)}))},GUILD_DELETE:function(e){var t=e.guild;for(var n in m){var r=m[n];null!=r&&r.getGuildId()===t.id&&L(r)}},CHANNEL_CREATE:function(e){var t=y(e.channel.id);b(t=null==t?e.channel:t.merge(E({},e.channel.toJS(),{recipients:null==e.channel.recipients||0===e.channel.recipients.length?t.recipients:e.channel.recipients,bitrate:e.channel.bitrate||t.bitrate}))),A(t)},THREAD_CREATE:R,THREAD_UPDATE:R,CHANNEL_UPDATES:function(e){for(var t,n=!1,r=_(e.updates);!(t=r()).done;){var i=t.value,o=y(i.channel.id);null==o?o=i.channel:(n=n||o.nsfw!==i.channel.nsfw,o=o.merge(E({},i.channel.toJS(),{recipients:o.recipients,bitrate:i.channel.bitrate||o.bitrate}))),b(o),A(o)}n&&Object.values(T).forEach((function(e){return A(e)}))},THREAD_LIST_SYNC:function(e){e.threads.forEach((function(e){a.ALL_CHANNEL_TYPES.has(e.type)&&A(e)}))},LOAD_ARCHIVED_THREADS_SUCCESS:function(e){e.threads.forEach((function(e){a.ALL_CHANNEL_TYPES.has(e.type)&&A(a.default.fromServer(e))}))},CHANNEL_DELETE:D,THREAD_DELETE:D,CHANNEL_RECIPIENT_ADD:function(e){var t=y(e.channelId);return null!=t&&(u.default.getCurrentUser().id!==e.user.id&&(t=t.set("recipients",r.default.uniq([].concat(t.recipients,[e.user.id]))),e.nick&&(t=t.update("nicks",(function(t){return t[e.user.id]=e.nick,t}))),void A(t)))},CHANNEL_RECIPIENT_REMOVE:function(e){var t=y(e.channelId);if(null==t)return!1;A(t=t.set("recipients",r.default.without(t.recipients,e.user.id)))},LOAD_MESSAGES_SUCCESS:C,LOAD_MESSAGES_AROUND_SUCCESS:C,SEARCH_FINISH:function(e){for(var t,n=e.messages,r=e.threads,i=_(n);!(t=i()).done;)for(var o,a=_(t.value);!(o=a()).done;){M(o.value.thread)}r.forEach(M)}});t.default=P},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=I(n(23)),i=I(n(211)),o=n(305),a=I(n(3)),s=I(n(14)),u=I(n(28)),l=I(n(2)),c=n(742),d=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(349)),f=I(n(26)),_=n(42),p=n(41),E=I(n(13)),h=n(487),m=I(n(164)),v=I(n(1183)),T=n(1);function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function I(e){return e&&e.__esModule?e:{default:e}}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(){return(y=Object.assign||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}).apply(this,arguments)}var A,O,N=new f.default("AuthenticationStore"),R=null,b=null,L=null,D=null,C=T.LoginStates.NONE,M=T.RegistrationStates.NONE,P=!1,w="",U=!1,k="",G=!1,Y=!1,x={},V={},H=null,F=null,B=null;function j(e){if(Object.keys(e.fields).length>0)return e.fields;var t={message:e.message};return null!=e.retryAfter&&(t.retry_after=e.retryAfter),t}function W(e){var t=null!=i.default.getToken(),n=null!=u.default.get(T.TOKEN_KEY);N.info(e,{tokenManagerHasToken:t,storageHasToken:n})}function K(e){if(void 0===e&&(e=!0),null!=F)return F;var t=u.default.get(h.FINGERPRINT_KEY)||i.default.getToken();!(0,_.isValidFingerprintRoute)()||!e&&null!=t||v.default.isHandoffAvailable()||z()}function z(){var e=u.default.get(h.FINGERPRINT_KEY),t={},n=E.default.getSuperPropertiesBase64();null!=n&&(t["X-Super-Properties"]=n),null!=e&&(t["X-Fingerprint"]=e),F=s.default.get({url:T.Endpoints.EXPERIMENTS,headers:t,context:{location:(0,_.getFingerprintLocation)()},retries:3,oldFormErrors:!0}).then((function(e){var t=e.body,n=t.fingerprint,r=t.assignments;n&&l.default.dispatch({type:T.ActionTypes.FINGERPRINT,fingerprint:n}),l.default.dispatch({type:T.ActionTypes.EXPERIMENTS_FETCH_SUCCESS,experiments:r}),F=null}),(function(){F=null,l.default.dispatch({type:T.ActionTypes.EXPERIMENTS_FETCH_FAILURE})}))}function q(e){W("setAuthToken called."),i.default.setToken(e),u.default.remove(h.FINGERPRINT_KEY)}function X(e){W("removeAuthToken called."),i.default.removeToken(),K(e)}function J(){P=!0,Q(),l.default.wait((function(){(0,_.transitionTo)(T.Routes.REGISTER)}))}function Q(){W("handleLogout called."),X(),a.default.PersistedStore.clearAll({omit:["InstallationManagerStore","AgeGateStore","NativePermissionsStore"]}),d.clear(),m.default.clearUser(),u.default.remove("user_id_cache"),R=null,C=T.LoginStates.NONE,M=T.RegistrationStates.NONE,w="",k="",U=!1,G=!1,Y=!1,x={},V={}}var Z=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n);var o=r.prototype;return o.initialize=function(){R=u.default.get("user_id_cache"),b=u.default.get("email_cache"),B=u.default.get("login_cache"),null==i.default.getToken()&&K()},o.getEmail=function(){return b},o.getLogin=function(){return B},o.didVerifyFail=function(){return G},o.getVerifyErrors=function(){return x},o.didVerifySucceed=function(){return Y},o.getLoginStatus=function(){return C},o.getRegisterStatus=function(){return M},o.getId=function(){return R},o.getSessionId=function(){return L},o.getToken=function(){return(0,h.getToken)()},o.isAuthenticated=function(){return(0,h.isAuthenticated)()},o.getFingerprint=function(){return(0,h.getFingerprint)()},o.getAnalyticsToken=function(){return D},o.getErrors=function(){return V},o.getMFATicket=function(){return w},o.getMFASMS=function(){return U},o.getMaskedPhone=function(){return k},o.getCredentials=function(){if(null==A)throw new Error("no credentials");return A},o.getVerifyingUserId=function(){return H},o.getCurrentRegistrationOptions=function(){return O},o.isGuest=function(){return(0,h.isGuest)()},o.allowLogoutRedirect=function(){return!P},r}(a.default.Store))(l.default,{CONNECTION_OPEN:function(e){var t=e.user,n=e.sessionId,r=e.analyticsToken;W("handleConnectionOpen called"),m.default.setUser(t.id,t.username,t.email),L=n,D=r,R=t.id,b=t.email,u.default.set("email_cache",t.email),u.default.set("user_id_cache",t.id)},OVERLAY_INITIALIZE:function(e){var t=e.user,n=e.sessionId,r=e.analyticsToken,i=e.token;m.default.setUser(t.id,t.username,t.email),L=n,D=r,q(i),R=t.id,u.default.set("user_id_cache",t.id)},CONNECTION_CLOSED:function(t){var n=t.code;if(W("handleConnectionClosed called with code "+n+"."),4004===n){if(P||(0,p.hasModalOpen)(c.NEW_USER_AGE_GATE_MODAL_KEY)||(0,p.hasModalOpen)(c.EXISTING_USER_AGE_GATE_MODAL_KEY))return void J();Q(),e((function(){return(0,_.transitionTo)(T.Routes.LOGIN)}))}},LOGIN:function(e){V={},C=T.LoginStates.LOGGING_IN,k="",O=null,null!=e.login&&(B=e.login)},LOGIN_SUCCESS:function(e){var t=e.token;C=T.LoginStates.NONE;var n=i.default.getToken();(0,h.isGuestToken)(n)&&X(!0),q(t),w="",U=!1,k=""},LOGIN_FAILURE:function(e){var t=e.error;w="",U=!1,V=j(t),C=null!=V.date_of_birth?T.LoginStates.LOGIN_AGE_GATE:T.LoginStates.NONE},LOGIN_MFA_STEP:function(e){var t=e.ticket,n=e.sms;null!=t&&(w=t,U=n,k=""),V={},C=T.LoginStates.MFA_STEP},LOGIN_MFA:function(e){C=T.LoginStates.LOGGING_IN_MFA},LOGIN_MFA_FAILURE:function(e){var t=e.message;C=T.LoginStates.MFA_STEP,V={code:t}},LOGIN_MFA_SMS:function(e){C=T.LoginStates.LOGGING_IN_MFA_SMS},LOGIN_MFA_SMS_REQUEST_SUCCESS:function(e){var t=e.phone;C=T.LoginStates.MFA_SMS_STEP,k=t},LOGIN_MFA_SMS_FAILURE:function(e){var t=e.message;C=T.LoginStates.MFA_SMS_STEP,V={code:t}},LOGIN_ACCOUNT_SCHEDULED_FOR_DELETION:function(e){C=T.LoginStates.ACCOUNT_SCHEDULED_FOR_DELETION,A=e.credentials},LOGIN_ACCOUNT_DISABLED:function(e){C=T.LoginStates.ACCOUNT_DISABLED,A=e.credentials},LOGIN_PASSWORD_RECOVERY_PHONE_VERIFICATION:function(e){C=T.LoginStates.PASSWORD_RECOVERY_PHONE_VERIFICATION},LOGIN_PHONE_IP_AUTHORIZATION_REQUIRED:function(e){C=T.LoginStates.PHONE_IP_AUTHORIZATION},LOGIN_RESET:function(e){return function(){V={},C=T.LoginStates.NONE,w="",U=!1,O=null,A=null;var e=i.default.getToken();(0,h.isGuestToken)(e)||X(!1)}()},LOGOUT:function(e){return Q()},FINGERPRINT:function(e){var t=e.fingerprint,n=u.default.get(h.FINGERPRINT_KEY);null==n?null!=t?u.default.set(h.FINGERPRINT_KEY,t):K():null!=t&&n!==t&&E.default.track(T.AnalyticEvents.EXTERNAL_FINGERPRINT_DROPPED,{fingerprint:(0,o.extractId)(n),dropped_fingerprint:(0,o.extractId)(t)})},REGISTER_SAVE_FORM:function(e){var t=e.form;O=t,M=T.RegistrationStates.REGISTER_AGE_GATE},REGISTER:function(e){var t=e.birthday;V={},null!=t&&((0,r.default)(null!=O,"Got birthday in multistep registration without existing form"),O=y({},O,{birthday:t})),M=T.RegistrationStates.REGISTERING},REGISTER_SUCCESS:function(e){var t=e.token;M=T.RegistrationStates.NONE,O=null;var n=i.default.getToken();(0,h.isGuestToken)(n)&&X(),q(t)},REGISTER_FAILURE:function(e){var t=e.error;V=j(t),M=t.fields.hasOwnProperty("date_of_birth")?T.RegistrationStates.REGISTER_AGE_GATE:T.RegistrationStates.REGISTER_WITH_ERROR},VERIFY_FAILURE:function(e){var t=e.errors;G=!0,Y=!1,x=t||{}},VERIFY_SUCCESS:function(e){Y=!0,G=!1,x={},H=e.verifyingUserId},START_SESSION:function(e){return function(){if(0===Object.keys(V).length)return!1;V={}}()},FORGOT_PASSWORD_SENT:function(e){return C=T.LoginStates.NONE,void(V={})},UPDATE_TOKEN:function(e){var t=e.token;W("handleUpdateToken called"),q(t)},INVITE_RESOLVE_SUCCESS:function(e){var t=e.invite;if(!t.guest_token)return!1;i.default.setToken("Guest "+t.guest_token)},EXPERIMENTS_FETCH:function(e){return z()},CURRENT_USER_UPDATE:function(e){var t=e.user;R=t.id,b=t.email,u.default.set("email_cache",t.email),u.default.set("user_id_cache",t.id)},AGE_GATE_FAILURE_MODAL_OPEN:function(e){e.forceOpen&&(P=!0)},AGE_GATE_LOGOUT_UNDERAGE_NEW_USER:function(e){return J()}});t.default=Z}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(8)),i=d(n(3)),o=d(n(2)),a=d(n(89)),s=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(99)),u=d(n(11)),l=n(1);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var E={};function h(e,t,n){var r=e;return r=null==n?e.removeGuildAvatarHash(t):e.addGuildAvatarHash(t,n),E[e.id]=r,e!==r}function m(e,t){void 0===t&&(t=!0);var n=E[e.id];null==n?n=new a.default(e):t&&(n=n.merge(function(e){var t=e.mfa_enabled;null!=t&&(e.mfaEnabled=t,delete e.mfa_enabled);var n=e.premium_type;void 0!==n&&(e.premiumType=n,delete e.premium_type);var r=e.nsfw_allowed;null!=r&&(e.nsfwAllowed=r,delete e.nsfw_allowed);var i=e.public_flags;null!=i&&(e.publicFlags=i,delete e.public_flags);var o=e.banner_color;return void 0!==o&&(e.bannerColor=o,delete e.banner_color),e}(e)));var r=E[e.id]!==n;return E[e.id]=n,r}function v(e,t){var n;null!=e.author&&"SENDING"!==e.state&&m(e.author,t),null===(n=e.mentions)||void 0===n||n.forEach((function(e){return m(e,t)}))}function T(e){var t=e.users;(0,r.default)(t).forEach((function(e){null!=e&&(E[e.id]=new a.default(e))}))}function g(e){return e.messages.forEach((function(e){return v(e,!0)})),!1}function I(e){var t=e.message;if(v(t,!0),null!=t.flags&&s.hasFlag(t.flags,l.MessageFlags.URGENT)){var n=E[u.default.getId()];return null!=n&&(E[u.default.getId()]=n.set("flags",s.setFlag(n.flags,l.UserFlags.HAS_UNREAD_URGENT_MESSAGES,!0)),!0)}return!1}var S=["username","avatar","discriminator","bot"];function y(e){return m(e.user)}function A(e){var t=m(e.user),n=E[e.user.id];if(null==n)return t;var r=e.guildMemberAvatar;return h(n,e.guildId,r)||t}function O(e){e.users.forEach((function(e){null==E[e.id]&&(E[e.id]=new a.default(e))}))}function N(e){return m(e.member.user)}var R=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(u.default)},i.getUser=function(e){if(null!=e)return E[e]},i.getUsers=function(){return E},i.forEach=function(e){for(var t in E)if(!1===e(E[t]))break},i.findByTag=function(e,t){for(var n in E){var r=E[n];if(r.username===e&&r.discriminator===t)return r}},i.filter=function(e,t){void 0===t&&(t=!1);var n=[];for(var r in E){var i=E[r];e(i)&&n.push(i)}return t&&n.sort((function(e,t){return e.username>t.username?1:e.username<t.username?-1:0})),n},i.getCurrentUser=function(){return E[u.default.getId()]},i.getNullableCurrentUser=function(){return E[u.default.getId()]},r}(i.default.Store))(o.default,{CONNECTION_OPEN:function(e){var t=e.user,n=e.users,r=e.guilds;E[t.id]=new a.default(t),n.forEach((function(e){m(e)})),r.forEach((function(e){e.members.forEach((function(t){var n=E[t.user.id];null!=n&&h(n,e.id,t.avatar)}))}))},CONNECTION_OPEN_SUPPLEMENTAL:function(e){e.guilds.forEach((function(e){e.members.forEach((function(t){var n=E[t.user.id];null!=n&&h(n,e.id,t.avatar)}))}))},OVERLAY_INITIALIZE:T,CACHE_LOADED:T,CACHE_LOADED_LAZY:T,USER_UPDATE:function(e){var t=e.user;t.id!==u.default.getId()&&m(t)},CURRENT_USER_UPDATE:function(e){m(e.user)},PRESENCE_UPDATE:function(e){var t=E[e.user.id];if(null!=t){if(!S.reduce((function(n,r){if(e.user.hasOwnProperty(r)){var i=t.set(r,e.user[r]);n=n||i!==t,t=i}return n}),!1))return!1;E[t.id]=t}},SEARCH_FINISH:function(e){return e.messages.forEach((function(e){return g({messages:e})})),!1},LOAD_MESSAGES_SUCCESS:g,LOAD_MESSAGES_AROUND_SUCCESS:g,LOAD_PINNED_MESSAGES_SUCCESS:g,LOAD_RECENT_MENTIONS_SUCCESS:g,THREAD_LIST_SYNC:function(e){var t=e.mostRecentMessages;return null==t||t.forEach((function(e){return v(e,!1)})),!1},MESSAGE_CREATE:I,MESSAGE_UPDATE:I,GUILD_SETTINGS_LOADED_BANS:function(e){e.bans.forEach((function(e){return m(e.user)}))},GUILD_CREATE:function(e){var t=e.guild;t.members.forEach((function(e){var n=e.user,r=n.id,i=n.username,o=n.avatar,a=n.discriminator,s=n.bot,l=e.avatar;r!==u.default.getId()&&m({id:r,username:i,avatar:o,discriminator:a,bot:s});var c=E[r];null!=c&&h(c,t.id,l)}))},GUILD_BAN_ADD:y,GUILD_BAN_REMOVE:y,CHANNEL_RECIPIENT_ADD:y,CHANNEL_RECIPIENT_REMOVE:y,GUILD_MEMBER_ADD:A,GUILD_MEMBER_UPDATE:A,GUILD_MEMBERS_CHUNK:function(e){var t=e.members,n=e.guildId;return t.reduce((function(e,t){var r=m(t.user),i=E[t.user.id];if(null==i)return r||e;var o=t.avatar;return h(i,n,o)||r||e}),!1)},THREAD_MEMBER_LIST_UPDATE:function(e){var t=e.members,n=!1;return t.forEach((function(e){null!=e.member&&m(e.member.user)&&(n=!0),null!=e.presence&&m(e.presence.user)&&(n=!0)})),n},THREAD_MEMBERS_UPDATE:function(e){var t=e.addedMembers,n=!1;return null==t||t.forEach((function(e){null!=e.member&&m(e.member.user)&&(n=!0),null!=e.presence&&m(e.presence.user)&&(n=!0)})),n},CHANNEL_CREATE:function(e){return e.channel.rawRecipients.forEach((function(e){return m(e)})),!1},CHANNEL_UPDATES:function(e){for(var t,n=_(e.updates);!(t=n()).done;){t.value.channel.rawRecipients.forEach((function(e){return m(e)}))}return!1},RELATIONSHIP_ADD:function(e){return m(e.relationship.user)},LOAD_RELATIONSHIPS_SUCCESS:function(e){return e.relationships.reduce((function(e,t){return m(t.user)||e}),!1)},FRIEND_SUGGESTION_CREATE:function(e){return m(e.suggestion.suggested_user)},LOAD_FRIEND_SUGGESTIONS_SUCCESS:function(e){return e.suggestions.reduce((function(e,t){return m(t.suggested_user)||e}),!1)},AUDIT_LOG_FETCH_SUCCESS:O,AUDIT_LOG_FETCH_NEXT_PAGE_SUCCESS:O,LOBBY_CREATE:function(e){return e.lobby.members.reduce((function(e,t){return m(t.user)||e}),!1)},LOBBY_MEMBER_CONNECT:N,LOBBY_MEMBER_UPDATE:N,GIFT_CODE_RESOLVE_SUCCESS:function(e){var t=e.giftCode;return null!=t.user&&m(t.user)},GUILD_PREMIUM_SUBSCRIPTIONS_FETCH_SUCCESS:function(e){e.subscriptions.forEach((function(e){var t=e.user;null!=t&&m(t)}))}});t.default=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.expandEventProperties=A,t.debugLogEvent=O,t.trackNetworkAction=function(e,t){var n=A(m({location:(0,u.getLocation)()},t));(0,u.setDebugTrackedData)(e,m({type:"action"},t)),O(e,n),N(e,n)},t.AnalyticsSchema=t.default=t.AnalyticEventConfigs=t.AnalyticsContext=void 0;var r=h(n(0)),i=h(n(95)),o=p(n(2)),a=n(912),s=p(n(105)),u=n(435),l=h(n(349)),c=p(n(267)),d=h(n(1544));t.AnalyticsSchema=d;var f,_=n(1);function p(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function m(){return(m=Object.assign||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}).apply(this,arguments)}function v(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}var T=window.DiscordNative,g=r.createContext({location:{}});t.AnalyticsContext=g;var I=((f={})[_.AnalyticEvents.APP_OPENED]={throttlePeriod:3e5,throttleKeys:function(){return[]}},f[_.AnalyticEvents.ACK_MESSAGES]={throttlePeriod:9e5,throttleKeys:function(e){return[e.guild_id,e.location_section]}},f[_.AnalyticEvents.GUILD_VIEWED]={throttlePeriod:9e5,throttleKeys:function(e){return[e.guild_id,e.is_pending]}},f[_.AnalyticEvents.FRIENDS_LIST_VIEWED]={throttlePeriod:9e5,throttleKeys:function(e){return[e.tab_opened]}},f[_.AnalyticEvents.START_SPEAKING]={throttlePeriod:9e5,throttleKeys:function(e){return[e.server]}},f[_.AnalyticEvents.START_LISTENING]={throttlePeriod:9e5,throttleKeys:function(e){return[e.server]}},f[_.AnalyticEvents.ACTIVITY_UPDATED]={throttlePeriod:6e4,throttleKeys:function(e){return[e.application_id]},deduplicate:!0},f[_.AnalyticEvents.CHANNEL_OPENED]={throttlePeriod:864e5,throttleKeys:function(e){return[e.channel_id,e.channel_view]}},f[_.AnalyticEvents.NOTIFICATION_VIEWED]={throttlePeriod:9e5,throttleKeys:function(e){return[e.notif_type]}},f[_.AnalyticEvents.MEMBER_LIST_VIEWED]={throttlePeriod:9e5,throttleKeys:function(e){return[e.channel_id]}},f[_.AnalyticEvents.DM_LIST_VIEWED]={throttlePeriod:9e5,throttleKeys:function(e){return[e.channel_id]}},f[_.AnalyticEvents.NAV_DRAWER_OPENED]={throttlePeriod:9e5,throttleKeys:function(){return[]}},f[_.AnalyticEvents.KEYBOARD_SHORTCUT_USED]={throttlePeriod:12e4,throttleKeys:function(e){var t;return[e.shortcut_name,e.location_object].concat(null!==(t=e.source_class_list)&&void 0!==t?t:[])}},f[_.AnalyticEvents.QUICKSWITCHER_OPENED]={throttlePeriod:1e4,throttleKeys:function(){return[]}},f[_.AnalyticEvents.CHAT_INPUT_COMPONENT_VIEWED]={throttlePeriod:9e5,throttleKeys:function(e){return[e.type]}},f[_.AnalyticEvents.ROLE_PAGE_VIEWED]={throttlePeriod:12e4,throttleKeys:function(e){return[e.role_id,e.tab_opened]}},f);t.AnalyticEventConfigs=I;var S=function(){return a.AccessibilityFeatureFlags.NONE};var y=(0,i.trackMaker)({analyticEventConfigs:I,dispatcher:o.default,TRACK_ACTION_NAME:_.ActionTypes.TRACK});function A(e){var t,n=e;if(n||(n={}),null!=n.location){var r=n,i=r.location;n=m({},v(r,["location"]),{},function(e){return"string"==typeof e?{location:e}:{location:e.page,location_page:e.page,location_section:e.section,location_object:e.object,location_object_type:e.objectType}}(i))}if(null!=n.source){var o=n,a=o.source;n=m({},v(o,["source"]),{},function(e){return"string"==typeof e?{source:e}:{source_page:e.page,source_section:e.section,source_object:e.object,source_object_type:e.objectType,source_promotion_id:e.promotionId}}(a))}return null!=T&&null!=T.processUtils.getCurrentCPUUsagePercent&&(n.client_performance_cpu=T.processUtils.getCurrentCPUUsagePercent(),n.client_performance_memory=T.processUtils.getCurrentMemoryUsageKB()),n.accessibility_support_enabled=null!==(t=s.default.accessibilitySupportEnabled)&&void 0!==t&&t,n.accessibility_features=S(),n}function O(e,t,n){void 0===n&&(n=!1),c.default.isLoggingAnalyticsEvents&&console.info("AnalyticsUtils.track(...):",e,t),n?l.report("Analytics",e,t):l.report("Analytics",e)}var N=(0,i.trackMaker)({analyticEventConfigs:I,dispatcher:o.default,TRACK_ACTION_NAME:_.ActionTypes.TRACK});var R=m({},i.default,{getCampaignParams:i.getCampaignParams,setSystemAccessibilityFeatures:function(e){S=e},track:function(e,t,n){void 0===n&&(n={});var r=A(t);return O(e,r,n.logEventProperties),y(e,r,n.flush)}});t.default=R},function(e,t,n){"use strict";(function(e,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=d(n(419)),o=d(n(95)),a=d(n(138)),s=d(n(1526)),u=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(1527)),l=d(n(1528));function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(e){return e&&e.__esModule?e:{default:e}}function f(){return(f=Object.assign||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}).apply(this,arguments)}var _=new Set([502,504,507,598,599,522,523,524]);function p(e,t,n){return new Promise((function(r,s){"string"==typeof t&&(t={url:t}),function e(t,n,r,s,c){var d=i.default[t](n.url);if(null!=n.onRequestCreated&&n.onRequestCreated(d),null!=n.query){var p=n.query;if("object"==typeof p){var E=f({},p);Object.keys(E).map((function(e){null==E[e]&&delete E[e]})),p=E}d.query(p)}if(n.body&&d.send(n.body),n.headers&&d.set(n.headers),n.attachments&&n.attachments.forEach((function(e){d.attach(e.name,e.file,e.filename)})),n.fields&&n.fields.forEach((function(e){d.field(e.name,e.value)})),n.context){var h=o.default.encodeProperties(n.context);null!=h&&d.set("X-Context-Properties",h)}n.retried&&d.set("X-Failed-Requests",""+n.retried),n.timeout&&0!==n.timeout&&d.timeout(n.timeout);var m=function(){n.backoff=n.backoff||new a.default,n.retried=(n.retried||0)+1,n.backoff.fail((function(){return e(t,n,r,s,c)}))};d.ok((function(e){return null!=e.status})),d.then((function(e){if(null!=n.retries&&n.retries-- >0&&_.has(e.status))return m();var t={ok:e.ok,headers:e.headers,body:e.body,text:e.text,status:e.status};if(e.ok)r(t);else{var i;if(n.oldFormErrors&&(null==t||null===(i=t.body)||void 0===i?void 0:i.code)===u.INVALID_FORM_BODY_ERROR_CODE){var o=t.body.errors;null!=o&&(t.body=(0,l.default)(o))}s(t)}null!=c&&c(f({ok:e.ok,hasErr:!1},t))}),(function(e){null!=n.retries&&n.retries-- >0&&"ABORTED"!==e.code?m():(s(e),null!=c&&c({ok:!1,hasErr:!0,err:e}))}))}(e,t,r,s,n)}))}var E={get:p.bind(null,"get"),post:p.bind(null,"post"),put:p.bind(null,"put"),patch:p.bind(null,"patch"),delete:p.bind(null,"del"),getAPIBaseURL:function(t){return void 0===t&&(t=!0),(e.env.API_PROTOCOL||location.protocol)+window.GLOBAL_ENV.API_ENDPOINT+(t?"/v"+window.GLOBAL_ENV.API_VERSION:"")}},h=E.get,m=E.post,v=E.put,T=E.patch,g=E.delete;if(r.isServerRendering){var I=function(e,t){return Promise.resolve({ok:!0,status:200,headers:{},body:null,text:""})};h=I,m=I,v=I,T=I,g=I}var S=f({},E,{get:h,post:m,put:v,patch:T,delete:g,V6OrEarlierAPIError:s.default,V8APIError:u.default});t.default=S}).call(this,n(100),n(44))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(8)),i=l(n(3)),o=l(n(2)),a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(953)),s=l(n(12));n(1);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(){return(d=Object.assign||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}).apply(this,arguments)}var f={};function _(e){f={},r.default.forEach(e.guilds,(function(e){f[e.id]=a.fromSerializedGuildRecord(e)}))}function p(e){var t,n=a.fromServer(e.guild,f[e.guild.id]);f=d({},f,((t={})[n.id]=n,t))}function E(e){var t,n=e.guildId,r=e.role,i=f[n];if(null==i)return!1;i=i.update("roles",(function(e){return e[r.id]=a.fromServerRole(r),a.sortClientRoles(n,Object.values(e))})),f=d({},f,((t={})[i.id]=i,t))}var h=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var i=r.prototype;return i.getGuild=function(e){if(null!=e)return f[e]},i.getGuilds=function(){return f},i.getGuildCount=function(){return Object.keys(f).length},r}(i.default.Store))(o.default,{CONNECTION_OPEN:function(e){f={},e.guilds.forEach((function(e){f[e.id]=a.fromServer(e)}))},OVERLAY_INITIALIZE:_,CACHE_LOADED:_,CACHE_LOADED_LAZY:_,GUILD_CREATE:p,GUILD_UPDATE:p,GUILD_DELETE:function(e){var t=e.guild;if(null==f[t.id]||t.unavailable)return!1;delete(f=d({},f))[t.id]},GUILD_ROLE_CREATE:E,GUILD_ROLE_UPDATE:E,GUILD_ROLE_DELETE:function(e){var t,n=e.guildId,r=e.roleId,i=f[n];if(null==i)return!1;i=i.update("roles",(function(e){return delete e[r],e})),f=d({},f,((t={})[i.id]=i,t))},GUILD_MEMBER_ADD:function(e){var t,n=e.guildId,r=e.joinedAt,i=e.user,o=s.default.getNullableCurrentUser(),a=f[n];if((null==o?void 0:o.id)!==i.id||!a)return!1;var u="string"==typeof r?new Date(r):r;if(u===a.joinedAt||null==u)return!1;a=a.update("joinedAt",(function(){return u})),f=d({},f,((t={})[n]=a,t))}});t.default=h},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PlatformTypes=void 0,t.PlatformTypes=r,function(e){e.WINDOWS="WINDOWS",e.OSX="OSX",e.LINUX="LINUX",e.WEB="WEB"}(r||(t.PlatformTypes=r={}));var i=window.DiscordNative,o=null!=i,a=null!=i?i.process.platform:"",s={PlatformTypes:r,embedded:o,platform:a,isWindows:function(){return/^win/.test(a)},isOSX:function(){return"darwin"===a},isLinux:function(){return"linux"===a},isDesktop:function(){return this.isWindows()||this.isOSX()||this.isLinux()},isIOS:function(){return!1},isWeb:function(){return!this.isIOS()&&this.getPlatform()===r.WEB},isAndroidChrome:function(){return null!=navigator.userAgent&&null!=navigator.userAgent.toLowerCase().match("(android ).+chrome/[.0-9]* mobile")},isAndroid:function(){var e;return null!=(null===(e=navigator.userAgent)||void 0===e?void 0:e.match(/android/i))},getPlatform:function(){return this.isWindows()?r.WINDOWS:this.isOSX()?r.OSX:this.isLinux()?r.LINUX:r.WEB},hasFocus:function(){return document.hasFocus()}};t.default=s},function(e,t,n){e.exports=n(1697)()},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(21);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t;return e["aria-hidden"]=null!==(t=e["aria-hidden"])&&void 0!==t?t:"false",e}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,o,a,s],c=0;(u=new Error(t.replace(/%s/g,(function(){return l[c++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=s(n(9)),o=s(n(5720)),a=s(n(1205));function s(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(){return(l=Object.assign||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}).apply(this,arguments)}var c=Object.freeze({STANDARD:o.default.colorStandard,MUTED:o.default.colorMuted,ERROR:o.default.colorError,BRAND:o.default.colorBrand,LINK:o.default.colorLink,HEADER_PRIMARY:o.default.colorHeaderPrimary,HEADER_SECONDARY:o.default.colorHeaderSecondary,STATUS_YELLOW:o.default.colorStatusYellow,STATUS_GREEN:o.default.colorStatusGreen,STATUS_RED:o.default.colorStatusRed,INTERACTIVE_ACTIVE:o.default.colorInteractiveActive,INTERACTIVE_NORMAL:o.default.colorInteractiveNormal,CUSTOM:null}),d=Object.freeze({SIZE_10:a.default.size10,SIZE_12:a.default.size12,SIZE_14:a.default.size14,SIZE_16:a.default.size16,SIZE_20:a.default.size20,SIZE_24:a.default.size24,SIZE_32:a.default.size32}),f=function(e){var t,n=e.className,a=e.color,s=void 0===a?c.STANDARD:a,u=e.size,f=void 0===u?d.SIZE_14:u,_=e.tag,p=void 0===_?"div":_,E=e.selectable,h=void 0!==E&&E,m=e.strong,v=void 0!==m&&m,T=e.children,g=e.style,I=e["aria-label"],S=function(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}(e,["className","color","size","tag","selectable","strong","children","style","aria-label"]);return r.createElement(p,l({"aria-label":I,className:(0,i.default)(s,f,n,(t={},t[o.default.selectable]=h,t[o.default.strong]=v,t)),style:g},S),T)};f.displayName="Text",f.Colors=c,f.Sizes=d;var _=f;t.default=_},function(e,t,n){var r=n(166)("wks"),i=n(109),o=n(18).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(190)),i=a(n(349));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function a(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var s="\nfont-weight: bold;\ncolor: purple;\n";(0,r.setLogFn)((function(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),a=3;a<r;a++)o[a-3]=arguments[a];var u;(u=console)[t].apply(u,["%c["+e+"]",s,n].concat(o)),"debug"!==t&&i.report.apply(i,[e,n].concat(o))})),new r.default("Logger.tsx").log("Logger has loaded");var u=r.default;t.default=u},function(e,t,n){var r=n(74),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(472).impl;t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getButtonStyle=T,t.default=t.ButtonLink=t.ButtonSizes=t.ButtonHovers=t.ButtonColors=t.ButtonLooks=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(9)),a=n(192),s=c(n(88)),u=c(n(151)),l=c(n(5718));function c(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}function _(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(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}var E={FILLED:l.default.lookFilled,INVERTED:l.default.lookInverted,OUTLINED:l.default.lookOutlined,LINK:l.default.lookLink,BLANK:l.default.lookBlank};t.ButtonLooks=E;var h={BRAND:l.default.colorBrand,GREY:l.default.colorGrey,RED:l.default.colorRed,GREEN:l.default.colorGreen,YELLOW:l.default.colorYellow,PRIMARY:l.default.colorPrimary,LINK:l.default.colorLink,WHITE:l.default.colorWhite,BLACK:l.default.colorBlack,TRANSPARENT:l.default.colorTransparent,BRAND_NEW:l.default.colorBrandNew};t.ButtonColors=h;var m={DEFAULT:"",BRAND:l.default.hoverBrand,GREY:l.default.hoverGrey,RED:l.default.hoverRed,GREEN:l.default.hoverGreen,YELLOW:l.default.hoverYellow,PRIMARY:l.default.hoverPrimary,LINK:l.default.hoverLink,WHITE:l.default.hoverWhite,BLACK:l.default.hoverBlack,TRANSPARENT:l.default.hoverTransparent};t.ButtonHovers=m;var v={NONE:"",TINY:l.default.sizeTiny,SMALL:l.default.sizeSmall,MEDIUM:l.default.sizeMedium,LARGE:l.default.sizeLarge,XLARGE:l.default.sizeXlarge,MIN:l.default.sizeMin,MAX:l.default.sizeMax,ICON:l.default.sizeIcon};function T(e){var t,n=e.look,r=void 0===n?E.FILLED:n,i=e.color,a=void 0===i?h.BRAND:i,s=e.hover,u=e.size,c=void 0===u?v.MEDIUM:u,d=e.fullWidth,f=void 0!==d&&d,_=e.grow,p=void 0===_||_,T=e.submitting,g=void 0!==T&&T,I=e.disabled,S=void 0!==I&&I;return(0,o.default)(l.default.button,r,a,s,c,((t={})[l.default.fullWidth]=f,t[l.default.grow]=p,t[l.default.hasHover]=null!=s&&s!==m.DEFAULT,t[l.default.submitting]=g&&!S,t))}t.ButtonSizes=v;var g=function(e){var t,n=e.look,r=void 0===n?E.FILLED:n,a=e.color,c=void 0===a?h.BRAND:a,d=e.hover,m=e.size,g=void 0===m?v.MEDIUM:m,I=e.fullWidth,S=void 0!==I&&I,y=e.grow,A=void 0===y||y,O=e.disabled,N=void 0!==O&&O,R=e.submitting,b=void 0!==R&&R,L=e.type,D=void 0===L?"button":L,C=e.style,M=e.wrapperClassName,P=e.className,w=e.innerClassName,U=e.onClick,k=e.onDoubleClick,G=e.onMouseDown,Y=e.onMouseUp,x=e.onMouseEnter,V=e.onMouseLeave,H=e.children,F=e.rel,B=e.buttonRef,j=e.focusProps,W=p(e,["look","color","hover","size","fullWidth","grow","disabled","submitting","type","style","wrapperClassName","className","innerClassName","onClick","onDoubleClick","onMouseDown","onMouseUp","onMouseEnter","onMouseLeave","children","rel","buttonRef","focusProps"]),K=N||b,z=K&&(null!=x||null!=V),q=z?null:M,X=function(e,t){var n,r,i,o,a=null==e?void 0:e.offset;return t===E.LINK||t===E.BLANK?a:null==a?-2:"number"==typeof a?a+2:{top:(null!==(n=a.top)&&void 0!==n?n:0)-2,right:(null!==(r=a.right)&&void 0!==r?r:0)-2,bottom:(null!==(i=a.bottom)&&void 0!==i?i:0)-2,left:(null!==(o=a.left)&&void 0!==o?o:0)-2}}(j,r),J=i.createElement(s.default,f({},j,{offset:X}),i.createElement("button",f({},K?null:W,{ref:B,onClick:K?function(e){return e.preventDefault()}:U,onDoubleClick:K?function(e){return e.preventDefault()}:k,onMouseUp:N?void 0:Y,onMouseDown:N?void 0:G,onMouseEnter:x,onMouseLeave:V,type:D,disabled:N,style:C,rel:F,className:(0,o.default)(P,T({look:r,color:c,hover:d,size:g,fullWidth:S,grow:A,submitting:b,disabled:N}),q)}),b&&!N?_(u.default,{type:u.default.Type.PULSING_ELLIPSIS,className:l.default.spinner,itemClassName:l.default.spinnerItem}):null,_("div",{className:(0,o.default)(l.default.contents,w)},void 0,H)));return z?_("span",{className:(0,o.default)(l.default.disabledButtonWrapper,M,g,(t={},t[l.default.grow]=A,t[l.default.fullWidth]=S,t))},void 0,J,_("span",{onMouseEnter:x,onMouseLeave:V,className:l.default.disabledButtonOverlay})):J};g.Looks=E,g.Colors=h,g.Hovers=m,g.Sizes=v;var I=function(e){var t,n=e.look,r=void 0===n?E.FILLED:n,s=e.color,u=void 0===s?h.BRAND:s,c=e.hover,d=e.size,T=void 0===d?v.MEDIUM:d,g=e.fullWidth,I=void 0!==g&&g,S=e.grow,y=void 0===S||S,A=e.style,O=e.className,N=e.innerClassName,R=e.to,b=e.onClick,L=e.onMouseDown,D=e.onMouseUp,C=e.children,M=e.rel,P=p(e,["look","color","hover","size","fullWidth","grow","style","className","innerClassName","to","onClick","onMouseDown","onMouseUp","children","rel"]);return i.createElement(a.Link,f({},P,{to:R,onClick:b,onMouseUp:D,onMouseDown:L,style:A,rel:M,className:(0,o.default)(O,l.default.button,r,u,c,T,(t={},t[l.default.fullWidth]=I,t[l.default.grow]=y,t[l.default.hasHover]=null!=c&&c!==m.DEFAULT,t))}),_("span",{className:(0,o.default)(l.default.contents,N)},void 0,C))};t.ButtonLink=I,I.displayName="ButtonLink",g.Link=I;var S=g;t.default=S},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isGuildSelectableChannelType=function(e){return p.has(e)},t.isGuildTextChannelType=function(e){return h.has(e)},t.isGuildVocalChannelType=g,t.isPrivate=y,t.isMultiUserDM=O,t.isTextChannel=R,t.isVoiceChannel=function(e){return b.has(e)},t.isGuildReadableType=function(e){return L.has(e)},t.isReadableType=function(e){return R(e)},t.getViewPermission=M,t.ChannelRecord=t.default=t.EDITABLE_CHANNEL_TYPES=t.GUILD_NON_CATEGORY_CHANNEL_TYPES=t.THREADED_CHANNEL_TYPES=t.THREAD_CHANNEL_TYPES=t.GUILD_READABLE_CHANNEL_TYPES=t.SILENT_JOIN_LEAVE_CHANNEL_TYPES=t.GUILD_VOCAL_CHANNEL_TYPES=t.GUILD_CAN_CONTAIN_THREADS_CHANNEL_TYPES=t.GUILD_CHANNEL_TYPES=t.ALL_CHANNEL_TYPES=void 0;var r=d(n(23)),i=d(n(8)),o=d(n(63)),a=d(n(62)),s=n(203),u=d(n(81)),l=d(n(97)),c=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=new Set([c.ChannelTypes.GUILD_TEXT,c.ChannelTypes.GUILD_ANNOUNCEMENT,c.ChannelTypes.GUILD_STORE,c.ChannelTypes.ANNOUNCEMENT_THREAD,c.ChannelTypes.PUBLIC_THREAD,c.ChannelTypes.PRIVATE_THREAD,c.ChannelTypes.GUILD_DIRECTORY]);var E=new Set([c.ChannelTypes.DM,c.ChannelTypes.GROUP_DM,c.ChannelTypes.GUILD_TEXT,c.ChannelTypes.GUILD_VOICE,c.ChannelTypes.GUILD_STAGE_VOICE,c.ChannelTypes.GUILD_CATEGORY,c.ChannelTypes.GUILD_ANNOUNCEMENT,c.ChannelTypes.GUILD_STORE,c.ChannelTypes.ANNOUNCEMENT_THREAD,c.ChannelTypes.PUBLIC_THREAD,c.ChannelTypes.PRIVATE_THREAD]);t.ALL_CHANNEL_TYPES=E;var h=new Set([c.ChannelTypes.GUILD_TEXT,c.ChannelTypes.GUILD_ANNOUNCEMENT,c.ChannelTypes.ANNOUNCEMENT_THREAD,c.ChannelTypes.PUBLIC_THREAD,c.ChannelTypes.PRIVATE_THREAD]);var m=new Set([c.ChannelTypes.GUILD_TEXT,c.ChannelTypes.GUILD_VOICE,c.ChannelTypes.GUILD_STAGE_VOICE,c.ChannelTypes.GUILD_CATEGORY,c.ChannelTypes.GUILD_ANNOUNCEMENT,c.ChannelTypes.GUILD_STORE,c.ChannelTypes.GUILD_DIRECTORY]);t.GUILD_CHANNEL_TYPES=m;var v=new Set([c.ChannelTypes.GUILD_TEXT,c.ChannelTypes.GUILD_ANNOUNCEMENT]);t.GUILD_CAN_CONTAIN_THREADS_CHANNEL_TYPES=v;var T=new Set([c.ChannelTypes.GUILD_VOICE,c.ChannelTypes.GUILD_STAGE_VOICE]);function g(e){return"SELECTABLE"!==e&&T.has(e)}t.GUILD_VOCAL_CHANNEL_TYPES=T;var I=new Set([c.ChannelTypes.GUILD_STAGE_VOICE]);t.SILENT_JOIN_LEAVE_CHANNEL_TYPES=I;var S=new Set([c.ChannelTypes.DM,c.ChannelTypes.GROUP_DM]);function y(e){return S.has(e)}var A=new Set([c.ChannelTypes.GROUP_DM]);function O(e){return A.has(e)}var N=new Set([c.ChannelTypes.DM,c.ChannelTypes.GROUP_DM,c.ChannelTypes.GUILD_TEXT,c.ChannelTypes.GUILD_ANNOUNCEMENT,c.ChannelTypes.ANNOUNCEMENT_THREAD,c.ChannelTypes.PUBLIC_THREAD,c.ChannelTypes.PRIVATE_THREAD]);function R(e){return N.has(e)}var b=new Set([c.ChannelTypes.DM,c.ChannelTypes.GROUP_DM,c.ChannelTypes.GUILD_VOICE,c.ChannelTypes.GUILD_STAGE_VOICE]);var L=new Set([c.ChannelTypes.GUILD_TEXT,c.ChannelTypes.GUILD_ANNOUNCEMENT,c.ChannelTypes.ANNOUNCEMENT_THREAD,c.ChannelTypes.PUBLIC_THREAD,c.ChannelTypes.PRIVATE_THREAD,c.ChannelTypes.GUILD_DIRECTORY]);t.GUILD_READABLE_CHANNEL_TYPES=L;var D=new Set([c.ChannelTypes.ANNOUNCEMENT_THREAD,c.ChannelTypes.PUBLIC_THREAD,c.ChannelTypes.PRIVATE_THREAD]);t.THREAD_CHANNEL_TYPES=D;var C=new Set([c.ChannelTypes.GUILD_TEXT,c.ChannelTypes.GUILD_ANNOUNCEMENT]);function M(e){return g(e)?c.Permissions.CONNECT:c.Permissions.VIEW_CHANNEL}t.THREADED_CHANNEL_TYPES=C;var P=new Set([c.ChannelTypes.GUILD_TEXT,c.ChannelTypes.GUILD_ANNOUNCEMENT,c.ChannelTypes.GUILD_STORE,c.ChannelTypes.GUILD_VOICE,c.ChannelTypes.GUILD_STAGE_VOICE,c.ChannelTypes.ANNOUNCEMENT_THREAD,c.ChannelTypes.PUBLIC_THREAD,c.ChannelTypes.PRIVATE_THREAD,c.ChannelTypes.GUILD_DIRECTORY]);t.GUILD_NON_CATEGORY_CHANNEL_TYPES=P;var w=new Set([c.ChannelTypes.GUILD_ANNOUNCEMENT,c.ChannelTypes.GUILD_CATEGORY,c.ChannelTypes.GUILD_STORE,c.ChannelTypes.GUILD_TEXT,c.ChannelTypes.GUILD_VOICE,c.ChannelTypes.GUILD_STAGE_VOICE]);function U(e){if(null==e)return{};var t=e.map((function(e){return{id:e.id,type:e.type,allow:o.default.deserialize(e.allow),deny:o.default.deserialize(e.deny)}}));return i.default.keyBy(t,"id")}t.EDITABLE_CHANNEL_TYPES=w;var k=function(e){var t,n;function a(t){var n,r,i,o,a,s,u;return(u=e.call(this)||this).id=t.id,u.type=null!=t.type?t.type:c.ChannelTypes.GUILD_TEXT,u.name=t.name||"",u.topic=t.topic||"",u.position=t.position||0,u.guild_id=t.guild_id||null,u.recipients=t.recipients||[],u.rawRecipients=t.rawRecipients||[],u.permissionOverwrites=t.permissionOverwrites||{},u.bitrate=t.bitrate||c.BITRATE_DEFAULT,u.videoQualityMode=null!==(n=t.videoQualityMode)&&void 0!==n?n:void 0,u.rtcRegion=t.rtcRegion||null,u.userLimit=t.userLimit||0,u.ownerId=t.ownerId||null,u.icon=t.icon||null,u.application_id=t.application_id||null,u.nicks=t.nicks||{},u.nsfw=t.nsfw||!1,u.parent_id=t.parent_id||null,u.memberListId=t.memberListId||null,u.rateLimitPerUser=t.rateLimitPerUser||0,u.defaultAutoArchiveDuration=t.defaultAutoArchiveDuration||null,u.originChannelId=t.originChannelId||null,u.lastMessageId=t.lastMessageId||null,u.lastPinTimestamp=t.lastPinTimestamp||null,u.messageCount=null!==(r=t.messageCount)&&void 0!==r?r:void 0,u.memberCount=null!==(i=t.memberCount)&&void 0!==i?i:void 0,u.memberIdsPreview=null!==(o=t.memberIdsPreview)&&void 0!==o?o:void 0,u.member=null!==(a=t.member)&&void 0!==a?a:void 0,u.threadMetadata=null!==(s=t.threadMetadata)&&void 0!==s?s:void 0,u}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n),a.fromServer=function(e){return new a({id:e.id,name:e.name||"",topic:e.topic||"",position:e.position||0,recipients:null!=e.recipients?e.recipients.map((function(e){return e.id})):[],rawRecipients:null!=e.recipients?e.recipients:[],type:null!=e.type?e.type:c.ChannelTypes.GUILD_TEXT,guild_id:e.guild_id,application_id:e.application_id,parent_id:e.parent_id,bitrate:e.bitrate,rtcRegion:e.rtc_region,videoQualityMode:e.video_quality_mode,defaultAutoArchiveDuration:e.default_auto_archive_duration,permissionOverwrites:U(e.permission_overwrites),userLimit:e.user_limit,ownerId:e.owner_id,icon:e.icon,nicks:(t=e.nicks,null==t?{}:i.default.reduce(t,(function(e,t){return e[t.id]=t.nick,e}),{})),nsfw:e.nsfw,memberListId:e.member_list_id,rateLimitPerUser:e.rate_limit_per_user,originChannelId:e.origin_channel_id,lastMessageId:e.last_message_id,lastPinTimestamp:e.last_pin_timestamp,messageCount:e.message_count,memberCount:e.member_count,memberIdsPreview:e.member_ids_preview,member:e.member?{flags:e.member.flags,joinTimestamp:e.member.join_timestamp}:void 0,threadMetadata:e.thread_metadata?{archived:e.thread_metadata.archived,autoArchiveDuration:e.thread_metadata.auto_archive_duration,archiveTimestamp:e.thread_metadata.archive_timestamp,locked:e.thread_metadata.locked}:void 0});var t},a.toServer=function(e){return(0,r.default)(!e.isPrivate(),"ChannelRecord.toServer() only works for guild channels right now"),(0,r.default)(!D.has(e.type),"ChannelRecord.toServer() does not work for threads"),{id:e.id,name:e.name,topic:e.topic,position:e.position,type:e.type,guild_id:e.guild_id,application_id:e.application_id,parent_id:e.parent_id,bitrate:e.bitrate,rtc_region:e.rtcRegion,video_quality_mode:e.videoQualityMode,permission_overwrites:(t=i.default.values(e.permissionOverwrites),t.map((function(e){return{id:e.id,type:e.type,allow:e.allow.toString(),deny:e.deny.toString()}}))),user_limit:e.userLimit,owner_id:e.ownerId,icon:e.icon,nsfw:e.nsfw,member_list_id:e.memberListId,rate_limit_per_user:e.rateLimitPerUser,default_auto_archive_duration:e.defaultAutoArchiveDuration,origin_channel_id:e.originChannelId,last_message_id:e.lastMessageId,last_pin_timestamp:e.lastPinTimestamp,recipient:void 0,recipients:void 0,nicks:void 0};var t};var d,p,E,h=a.prototype;return h.computeLurkerPermissionsAllowList=function(){if(this.isGuildStageVoice()&&u.default.isPublic(this.id))return s.LURKER_STAGE_CHANNEL_PERMISSIONS_ALLOWLIST},h.isNSFW=function(){return this.nsfw},h.isManaged=function(){return null!=this.application_id},h.isPrivate=function(){return y(this.type)},h.isGroupDM=function(){return this.type===c.ChannelTypes.GROUP_DM},h.isMultiUserDM=function(){return O(this.type)},h.isDM=function(){return this.type===c.ChannelTypes.DM},h.isSystemDM=function(){var e=this.rawRecipients[0];return this.type===c.ChannelTypes.DM&&null!=e&&!0===e.system},h.isArchivedThread=function(){var e;return D.has(this.type)&&!0===(null===(e=this.threadMetadata)||void 0===e?void 0:e.archived)},h.isCategory=function(){return this.type===c.ChannelTypes.GUILD_CATEGORY},h.isVocal=function(){return g(this.type)},h.isGuildVoice=function(){return this.type===c.ChannelTypes.GUILD_VOICE},h.isGuildStageVoice=function(){return this.type===c.ChannelTypes.GUILD_STAGE_VOICE},h.isListenModeCapable=function(){return this.isGuildStageVoice()},h.isThread=function(){return D.has(this.type)},h.isActiveThread=function(){var e;return this.isThread()&&!0!==(null===(e=this.threadMetadata)||void 0===e?void 0:e.archived)},h.isDirectory=function(){return this.type===c.ChannelTypes.GUILD_DIRECTORY},h.isOwner=function(e){return this.ownerId===e},h.getRecipientId=function(){return this.recipients[0]},h.getGuildId=function(){return this.guild_id},h.getApplicationId=function(){return this.application_id},d=a,(p=[{key:"lastActiveTimestamp",get:function(){return l.default.extractTimestamp(this.lastMessageId||this.id)}},{key:"viewPermission",get:function(){return M(this.type)}},{key:"accessPermissions",get:function(){return this.isVocal()?o.default.combine(c.Permissions.CONNECT,c.Permissions.VIEW_CHANNEL):c.Permissions.VIEW_CHANNEL}}])&&f(d.prototype,p),E&&f(d,E),a}(a.default);t.ChannelRecord=k;var G=k;t.default=G},function(e,t,n){e.exports=!n(19)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(20),i=n(315),o=n(90),a=Object.defineProperty;t.f=n(32)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";var r,i,o,a,s;Object.defineProperty(t,"__esModule",{value:!0}),t.NoiseCancellerError=t.VideoQualityMode=t.ExperimentFlags=t.ResolutionTypes=t.MediaTypes=t.SpeakingFlags=t.Codecs=t.DesktopSources=t.AudioSubsystems=t.MediaEngineImplementations=t.Features=t.defaultVideoQualityOptions=t.MEDIA_SINK_WANTS_PROPERTIES=t.DESKTOP_BITRATE_ENHANCED=t.DESKTOP_BITRATE=t.VIDEO_QUALITY_FRAMERATE_MUTED_2=t.VIDEO_QUALITY_FRAMERATE_MUTED=t.VIDEO_QUALITY_FRAMERATE=t.VIDEO_QUALITY_FRAMRATE_NOT_SPEAKING_TIMEOUT=t.VIDEO_QUALITY_LOW_MAX_BITRATE=t.VIDEO_QUALITY_LOW_MIN_BITRATE=t.VIDEO_QUALITY_LOW_HEIGHT=t.VIDEO_QUALITY_LOW_WIDTH=t.PING_INTERVAL=t.DEFAULT_CALL_MAX_BITRATE=t.DEFAULT_CALL_MIN_BITRATE=t.DEFAULT_CALL_BITRATE=t.DEFAULT_PRIORITY_SPEAKER_DUCKING=t.DEFAULT_PAN=t.DISABLED_DEVICE_ID=t.DEFAULT_DEVICE_ID=t.DEFAULT_SOUNDSHARE_VOICE_BITRATE=t.DEFAULT_VOICE_BITRATE=t.DEFAULT_STREAM_VOLUME=t.DEFAULT_VOLUME=t.StatsFilter=t.ConnectionStates=t.InputModes=t.DeviceTypes=t.MediaEngineContextTypes=void 0,t.MediaEngineContextTypes=r,function(e){e.DEFAULT="default",e.STREAM="stream"}(r||(t.MediaEngineContextTypes=r={})),t.DeviceTypes=i,function(e){e.AUDIO_INPUT="audioinput",e.AUDIO_OUTPUT="audiooutput",e.VIDEO_INPUT="videoinput"}(i||(t.DeviceTypes=i={})),t.InputModes=o,function(e){e.PUSH_TO_TALK="PUSH_TO_TALK",e.VOICE_ACTIVITY="VOICE_ACTIVITY"}(o||(t.InputModes=o={})),t.ConnectionStates=a,function(e){e.DISCONNECTED="DISCONNECTED",e.CONNECTING="CONNECTING",e.CONNECTED="CONNECTED",e.NO_ROUTE="NO_ROUTE",e.ICE_CHECKING="ICE_CHECKING"}(a||(t.ConnectionStates=a={})),t.StatsFilter=s,function(e){e[e.TRANSPORT=1]="TRANSPORT",e[e.OUTBOUND=2]="OUTBOUND",e[e.INBOUND=4]="INBOUND",e[e.ALL=7]="ALL"}(s||(t.StatsFilter=s={}));t.DEFAULT_VOLUME=100;t.DEFAULT_STREAM_VOLUME=18;t.DEFAULT_VOICE_BITRATE=64e3;t.DEFAULT_SOUNDSHARE_VOICE_BITRATE=128e3;t.DEFAULT_DEVICE_ID="default";t.DISABLED_DEVICE_ID="disabled";t.DEFAULT_PAN=50;t.DEFAULT_PRIORITY_SPEAKER_DUCKING=.1;t.DEFAULT_CALL_BITRATE=6e5;t.DEFAULT_CALL_MIN_BITRATE=15e4;t.DEFAULT_CALL_MAX_BITRATE=1e7;t.PING_INTERVAL=5e3;t.VIDEO_QUALITY_LOW_WIDTH=640;t.VIDEO_QUALITY_LOW_HEIGHT=360;t.VIDEO_QUALITY_LOW_MIN_BITRATE=1e5;t.VIDEO_QUALITY_LOW_MAX_BITRATE=625e3;t.VIDEO_QUALITY_FRAMRATE_NOT_SPEAKING_TIMEOUT=15e3;t.VIDEO_QUALITY_FRAMERATE=30;t.VIDEO_QUALITY_FRAMERATE_MUTED=20;t.VIDEO_QUALITY_FRAMERATE_MUTED_2=12;t.DESKTOP_BITRATE=4e6;t.DESKTOP_BITRATE_ENHANCED=8e6;t.MEDIA_SINK_WANTS_PROPERTIES=["remoteSinkWantsPixelCount","remoteSinkWantsMaxFramerate","encodingVideoMinBitRate","encodingVideoMaxBitRate","encodingVideoBitRate","streamParameters"];var u,l,c,d,f,_,p,E,h,m,v,T={videoBudget:{width:1280,height:720,framerate:30},videoCapture:{width:1280,height:720,framerate:30},videoBitrate:{min:15e4,max:25e5},desktopBitrate:{min:5e5,max:4e6,target:6e5},videoBitrateFloor:15e4};t.defaultVideoQualityOptions=T,t.Features=u,function(e){e.AUTO_ENABLE="AUTO_ENABLE",e.ATTENUATION="ATTENUATION",e.AUDIO_INPUT_DEVICE="AUDIO_INPUT_DEVICE",e.AUDIO_OUTPUT_DEVICE="AUDIO_OUTPUT_DEVICE",e.VOICE_PROCESSING="VOICE_PROCESSING",e.QOS="QOS",e.NATIVE_PING="NATIVE_PING",e.LEGACY_AUDIO_SUBSYSTEM="LEGACY_AUDIO_SUBSYSTEM",e.EXPERIMENTAL_AUDIO_SUBSYSTEM="EXPERIMENTAL_AUDIO_SUBSYSTEM",e.DEBUG_LOGGING="DEBUG_LOGGING",e.AUTOMATIC_VAD="AUTOMATIC_VAD",e.VOICE_PANNING="VOICE_PANNING",e.DIAGNOSTICS="DIAGNOSTICS",e.ICE="ICE",e.VIDEO="VIDEO",e.DESKTOP_CAPTURE="DESKTOP_CAPTURE",e.DESKTOP_CAPTURE_FORMAT="DESKTOP_CAPTURE_FORMAT",e.DESKTOP_CAPTURE_APPLICATIONS="DESKTOP_CAPTURE_APPLICATIONS",e.SOUNDSHARE="SOUNDSHARE",e.LOOPBACK="LOOPBACK",e.VIDEO_HOOK="VIDEO_HOOK",e.EXPERIMENTAL_SOUNDSHARE="EXPERIMENTAL_SOUNDSHARE",e.WUMPUS_VIDEO="WUMPUS_VIDEO",e.ELEVATED_HOOK="ELEVATED_HOOK",e.HYBRID_VIDEO="HYBRID_VIDEO",e.OPEN_H264="OPEN_H264",e.EXPERIMENTAL_ENCODERS="EXPERIMENTAL_ENCODERS",e.REMOTE_LOCUS_NETWORK_CONTROL="REMOTE_LOCUS_NETWORK_CONTROL",e.SCREEN_PREVIEWS="SCREEN_PREVIEWS",e.WINDOW_PREVIEWS="WINDOW_PREVIEWS",e.AUDIO_DEBUG_STATE="AUDIO_DEBUG_STATE",e.AEC_DUMP="AEC_DUMP",e.DISABLE_VIDEO="DISABLE_VIDEO",e.CONNECTION_REPLAY="CONNECTION_REPLAY",e.SIMULCAST="SIMULCAST",e.RTC_REGION_RANKING="RTC_REGION_RANKING",e.DIRECT_VIDEO="DIRECT_VIDEO",e.ELECTRON_VIDEO="ELECTRON_VIDEO"}(u||(t.Features=u={})),t.MediaEngineImplementations=l,function(e){e.NATIVE="NATIVE",e.WEBRTC="WEBRTC",e.DUMMY="DUMMY"}(l||(t.MediaEngineImplementations=l={})),t.AudioSubsystems=c,function(e){e.LEGACY="legacy",e.STANDARD="standard",e.EXPERIMENTAL="experimental"}(c||(t.AudioSubsystems=c={})),t.DesktopSources=d,function(e){e.WINDOW="window",e.SCREEN="screen"}(d||(t.DesktopSources=d={})),t.Codecs=f,function(e){e.OPUS="opus",e.VP8="VP8",e.VP9="VP9",e.H264="H264",e.RTX="rtx"}(f||(t.Codecs=f={})),t.SpeakingFlags=_,function(e){e[e.NONE=0]="NONE",e[e.VOICE=1]="VOICE",e[e.SOUNDSHARE=2]="SOUNDSHARE",e[e.PRIORITY=4]="PRIORITY"}(_||(t.SpeakingFlags=_={})),t.MediaTypes=p,function(e){e.AUDIO="audio",e.VIDEO="video",e.SCREEN="screen"}(p||(t.MediaTypes=p={})),t.ResolutionTypes=E,function(e){e.FIXED="fixed",e.SOURCE="source"}(E||(t.ResolutionTypes=E={})),t.ExperimentFlags=h,function(e){e.VIDEOTOOLBOX_RATE_CONTROL="videotoolbox_rate_control",e.RESOLOUTION_FPS_LADDER_EXPERIMENT="resoloution_fps_ladder_experiment"}(h||(t.ExperimentFlags=h={})),t.VideoQualityMode=m,function(e){e[e.AUTO=1]="AUTO",e[e.FULL=2]="FULL"}(m||(t.VideoQualityMode=m={})),t.NoiseCancellerError=v,function(e){e[e.CPU_OVERUSE=1]="CPU_OVERUSE",e[e.FAILED=2]="FAILED",e[e.VAD_CPU_OVERUSE=3]="VAD_CPU_OVERUSE",e[e.INITIALIZED=4]="INITIALIZED"}(v||(t.NoiseCancellerError=v={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.renderModal,n=e.onCloseRequest,r=e.onCloseCallback,i=a.useState((function(){return(0,u.default)()}))[0],o=a.useContext(y.ModalContext);a.useLayoutEffect((function(){return(0,I.openModal)(t,{modalKey:i,onCloseRequest:n,onCloseCallback:r},o),function(){(0,I.closeModal)(i,o)}}),[]);var s=a.useRef(!0);return a.useLayoutEffect((function(){s.current||(0,I.updateModal)(i,t,n,r,o),s.current=!1}),[t,n]),null},t.ModalRoot=M,t.ModalHeader=P,t.ModalContent=w,t.ModalFooter=U,t.ModalCloseButton=G,t.ModalListContent=Y,t.ModalSize=void 0;var r,i,o,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=R();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),s=N(n(9)),u=N(n(188)),l=n(122),c=n(95),d=N(n(273)),f=n(92),_=n(123),p=n(88),E=N(n(29)),h=N(n(282)),m=N(n(55)),v=N(n(255)),T=N(n(468)),g=N(n(1210)),I=n(41),S=n(217),y=n(745),A=N(n(6)),O=N(n(5723));function N(e){return e&&e.__esModule?e:{default:e}}function R(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return R=function(){return e},e}function b(){return(b=Object.assign||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}).apply(this,arguments)}function L(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function D(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}t.ModalSize=o,function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large",e.DYNAMIC="dynamic"}(o||(t.ModalSize=o={}));var C=Object.freeze(((r={})[o.SMALL]=O.default.small,r[o.MEDIUM]=O.default.medium,r[o.LARGE]=O.default.large,r[o.DYNAMIC]=null,r));function M(e){var t,n=e.transitionState,r=e.children,i=e.size,u=void 0===i?o.SMALL:i,E=e.role,m=void 0===E?"dialog":E,v=e.className,T=e.fullscreenOnMobile,g=void 0===T||T,I=e.onAnimationEnd,y=void 0===I?f.NOOP:I,A=D(e,["transitionState","children","size","role","className","fullscreenOnMobile","onAnimationEnd"]),N=n===S.ModalTransitionState.ENTERING||n===S.ModalTransitionState.ENTERED,R=a.useContext(_.AccessibilityPreferencesContext).reducedMotion,M=(0,l.useSpring)({opacity:N?1:0,transform:N||R.enabled?"scale(1)":"scale(0.7)",config:{duration:N?300:100,easing:N?d.default.Easing.inOut(d.default.Easing.back()):d.default.Easing.quad,clamp:!0},onRest:y}),P=a.useRef(null);return a.createElement(h.default,b({className:O.default.focusLock,role:m,impressionType:c.ImpressionTypes.MODAL},A),a.createElement(l.animated.div,{className:(0,s.default)(v,O.default.root,C[u],(t={},t[O.default.fullscreenOnMobile]=g,t)),ref:P,style:M},L(p.FocusRingScope,{containerRef:P},void 0,r)))}function P(e){var t,n,r,i,o,a;return L(m.default,{grow:0,shrink:0,direction:null!==(t=e.direction)&&void 0!==t?t:m.default.Direction.HORIZONTAL,justify:null!==(n=e.justify)&&void 0!==n?n:m.default.Justify.START,align:null!==(r=e.align)&&void 0!==r?r:m.default.Align.CENTER,wrap:null!==(i=e.wrap)&&void 0!==i?i:m.default.Wrap.NO_WRAP,className:(0,s.default)(O.default.header,e.className,(a={},a[O.default.separator]=null===(o=e.separator)||void 0===o||o,a)),id:e.id},void 0,e.children)}function w(e){var t=e.className,n=e.children,r=e.scrollerRef,i=D(e,["className","children","scrollerRef"]);return a.createElement(T.default,b({className:(0,s.default)(O.default.content,t),ref:r},i),n)}function U(e){var t,n,r,i;return L(m.default,{grow:0,shrink:0,direction:null!==(t=e.direction)&&void 0!==t?t:m.default.Direction.HORIZONTAL_REVERSE,justify:null!==(n=e.justify)&&void 0!==n?n:m.default.Justify.START,align:null!==(r=e.align)&&void 0!==r?r:m.default.Align.STRETCH,wrap:null!==(i=e.wrap)&&void 0!==i?i:m.default.Wrap.NO_WRAP,className:(0,s.default)(O.default.footer,e.className)},void 0,e.children)}M.displayName="ModalRoot",P.displayName="ModalHeader",w.displayName="ModalContent",U.displayName="ModalFooter";var k=L(v.default,{width:24,height:24});function G(e){var t;return L(E.default,{focusProps:e.focusProps,"aria-label":A.default.Messages.CLOSE,look:E.default.Looks.BLANK,size:E.default.Sizes.NONE,onClick:e.onClick,className:(0,s.default)(O.default.close,e.className,(t={},t[O.default.hideOnFullscreen]=e.hideOnFullscreen,t))},void 0,k)}function Y(e){var t=e.className,n=e.scrollerRef,r=D(e,["className","scrollerRef"]);return a.createElement(g.default,b({className:t,ref:n},r))}G.displayName="ModalCloseButton",Y.displayName="ModalListContent"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findFirstVoiceChannelId=function(e){var t=r.default.find(d.default.getMutableGuildChannels(),(function(t){return t.guild_id===e&&t.type===h.ChannelTypes.GUILD_VOICE}));if(null!=t)return t.id},t.default=void 0;var r=m(n(8)),i=m(n(3)),o=m(n(28)),a=m(n(2)),s=n(42),u=n(31),l=n(48),c=m(n(11)),d=m(n(10)),f=m(n(86)),_=m(n(15)),p=m(n(51)),E=m(n(107)),h=n(1);function m(e){return e&&e.__esModule?e:{default:e}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(){return(T=Object.assign||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}).apply(this,arguments)}var g,I,S,y,A,O,N,R={},b={},L=new Set;function D(){__OVERLAY__||o.default.set("SelectedChannelStore",{selectedVoiceChannelId:A,lastChannelFollowingDestination:y,lastConnectedTime:O,selectedChannelIds:R,mostRecentSelectedTextChannelIds:b,knownThreadIds:(0,r.default)(R).values().concat(r.default.values(b)).filter(l.isNotNullish).uniq().filter((function(e){var t=d.default.getChannel(e);return L.has(e)||null!=t&&u.THREAD_CHANNEL_TYPES.has(t.type)})).value()})}function C(e){if(null!=e){var t=f.default.getDefaultChannel(e);if(null!=t)return t.id}}function M(e,t){if(null==e||null==t)return!1;if(b[e]===t)return!1;var n=d.default.getChannel(t),r=null!=n&&(0,u.isGuildTextChannelType)(n.type),i=(null==n?void 0:n.getGuildId())===e;return!(!r||!i)&&(b[e]=t,!0)}function P(){var e=!1,t=_.default.getGuilds();return r.default.each(R,(function(t,n){null!=t&&(d.default.hasChannel(t)||L.has(t))||(delete R[n],e=!0)})),r.default.each(b,(function(t,n){null!=t&&(d.default.hasChannel(t)||L.has(t))||(delete b[n],e=!0)})),r.default.each(t,(function(e){if(null==R[e.id]){var t=C(e.id);R[e.id]=t}})),r.default.each(t,(function(e){var t=R[e.id];null==b[e.id]&&M(e.id,t)})),null!=O&&Date.now()-O>=3e5&&(A=null,e=!0),e}function w(e){var t=e.channel,n=t.id,r=t.guild_id;L.delete(n);var i=null!=_.default.getGuild(r)?r:null,o=!1;A===n&&(A=null,o=!0),R[String(i)]===n&&(R[String(i)]=C(String(i)),E.default.getGuildId()===i&&(0,s.replaceWith)(h.Routes.CHANNEL(i,R[String(i)])),o=!0),null!=i&&b[i]===n&&(delete b[i],o=!0),o&&D()}var U=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var i=r.prototype;return i.initialize=function(){if(!__OVERLAY__){var e,t=o.default.get("SelectedChannelStore")||{selectedVoiceChannelId:A,lastChannelFollowingDestination:y,lastConnectedTime:O,selectedChannelIds:R,mostRecentSelectedTextChannelIds:b};null!=t.knownThreadIds&&(L=new Set(t.knownThreadIds)),A=t.selectedVoiceChannelId,y=t.lastChannelFollowingDestination,O=t.lastConnectedTime,b=null!==(e=t.mostRecentSelectedTextChannelIds)&&void 0!==e?e:{},t.selectedChannelIds&&(R=T({},t.selectedChannelIds,{null:null}))}this.mustEmitChanges((function(e){return e.type!==h.ActionTypes.CONNECTION_OPEN})),this.waitFor(_.default,d.default,E.default,f.default,p.default)},i.getChannelId=function(e){return e=e===h.ME?null:e||E.default.getGuildId()||null,R[String(e)]},i.getVoiceChannelId=function(){return p.default.isSupported()?A:null},i.getMostRecentSelectedTextChannelId=function(e){var t;return e&&null!==(t=b[e])&&void 0!==t?t:null},i.getLastSelectedChannelId=function(){return I},i.getSelectedChannelState=function(){return R},i.getLastChannelFollowingDestination=function(){return y},r}(i.default.Store))(a.default,{CONNECTION_OPEN:function(e){g=e.sessionId,null!=A&&null==d.default.getChannel(A)&&(A=null),P()&&D()},OVERLAY_INITIALIZE:function(e){g=e.sessionId,A=e.selectedVoiceChannelId,R=T({},e.selectedChannelIds),S=e.selectedChannelId,R[e.selectedGuildId]=e.selectedChannelId,M(e.selectedGuildId,S),P()},CONNECTION_CLOSED:function(e){g=null},CHANNEL_SELECT:function(e){var t=e.guildId,n=e.channelId;if(void 0===t)return!1;n=n||C(t),S&&n!==S&&(I=S),S=n,M(t,n),R[String(t)]!==n&&(R[String(t)]=S),D()},CHANNEL_CREATE:function(e){var t=e.channel;switch(t.type){case h.ChannelTypes.GUILD_ANNOUNCEMENT:case h.ChannelTypes.GUILD_TEXT:var n=t.guild_id;if(null!=n&&null==b[n]&&(b[n]=t.id),null!=n&&null==R[n])return R[n]=C(n),!0}return!1},CHANNEL_DELETE:w,THREAD_DELETE:w,GUILD_CREATE:function(e){var t=e.guild;if(null==R[t.id]){var n=C(t.id);R[t.id]=n,M(t.id,n),D()}},GUILD_DELETE:function(e){var t=e.guild,n=t.id,r=t.unavailable;if(A===R[n]&&(A=null),r)return!1;delete b[n],delete R[n],D()},VOICE_CHANNEL_SELECT:function(e){var t=e.guildId,n=e.channelId;null!=t&&null==n&&S===A&&(S=C(t)),A=n,D()},VOICE_STATE_UPDATE:function(e){if(e.sessionId===g){var t;clearInterval(N);var n=null===(t=d.default.getChannel(A))||void 0===t?void 0:t.getGuildId();e.guildId!==n&&null==e.channelId||(A=e.channelId),O=Date.now(),null!=A&&(N=setInterval((function(){O=Date.now(),D()}),6e4)),D()}else{if(e.userId!==c.default.getId())return!1;var r,i;clearInterval(N),N=void 0,O=0;var o=null===(r=d.default.getChannel(A))||void 0===r?void 0:r.getGuildId(),a=null===(i=d.default.getChannel(e.channelId))||void 0===i?void 0:i.getGuildId();null!=o&&a===o&&(A=null),D()}},CHANNEL_FOLLOWER_CREATED:function(e){var t=e.channelId,n=e.guildId;null!=y&&t===y.channelId||(y={channelId:t,guildId:n},D())},LOGOUT:function(e){return R={},S=null,I=null,b={},y={},A=null,void o.default.remove("SelectedChannelStore")}});t.default=U},,function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var r=n(1146),i=void 0!==e?e:{},o=Object(r.a)(i),a=(o.flush,o.hydrate,o.cx,o.merge,o.getRegisteredStyles,o.injectGlobal),s=(o.keyframes,o.css);o.sheet,o.caches}).call(this,n(44))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=m(n(3)),i=m(n(28)),o=m(n(2)),a=h(n(913)),s=h(n(1301)),u=n(1218),l=n(398),c=n(1348),d=m(n(213)),f=m(n(16)),_=n(1),p=m(n(6));function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function m(e){return e&&e.__esModule?e:{default:e}}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return I(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return I(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function S(){return(S=Object.assign||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}).apply(this,arguments)}var y,A="UserSettingsStore",O={},N=_.ThemeTypes.DARK,R={locale:p.default.getDefaultLocale(),status:_.StatusTypes.ONLINE,showCurrentGame:!0,inlineAttachmentMedia:!0,inlineEmbedMedia:!0,gifAutoPlay:!0,renderEmbeds:!0,renderReactions:!0,animateEmoji:!0,showInAppNotifications:!0,streamNotificationsEnabled:!0,theme:N,enableTTSCommand:!0,useRichChatTextBox:!0,messageDisplayCompact:!1,convertEmoticons:!0,renderSpoilers:_.SpoilerRenderSetting.ON_CLICK,restrictedGuilds:[],defaultGuildsRestricted:!1,explicitContentFilter:_.ExplicitContentFilterTypes.NON_FRIENDS,friendSourceFlags:{all:!0},friendDiscoveryFlags:_.FriendDiscoveryFlags.NONE,developerMode:!1,guildPositions:[],guildFolders:[],detectPlatformAccounts:!0,afkTimeout:600,timezoneOffset:null,installShortcutDesktop:!1,installShortcutStartMenu:!0,customStatus:null,lowQualityImageMode:!1,allowAccessibilityDetection:!1,contactSyncEnabled:!1,nativePhoneIntegrationEnabled:!0,useSystemTheme:c.SystemThemeState.UNSET,disableGamesTab:!1,expressionPickerWidth:u.ExpressionPickerWidths.MIN,emojiPickerCollapsedSections:[],stickerPickerCollapsedSections:[],commandsCollapsedSections:[],animateStickers:l.StickerAnimationSettings.ALWAYS_ANIMATE,allowActivityPartyPrivacyFriends:!0,allowActivityPartyPrivacyVoiceChannel:!0,rtcPanelShowVoiceStates:!1,viewNsfwGuilds:!1},b=S({},R),L={};function D(e){return!1===O[e]?b:R}function C(e){switch(e){case"inlineAttachmentMedia":case"inlineEmbedMedia":case"renderEmbeds":case"renderReactions":case"animateEmoji":case"animateStickers":case"gifAutoPlay":return null==O[_.UserSettingsSections.TEXT]||O[_.UserSettingsSections.TEXT];case"theme":case"developerMode":return null==O[_.UserSettingsSections.APPEARANCE]||O[_.UserSettingsSections.APPEARANCE];default:return!0}}function M(){__OVERLAY__||i.default.set("UserSettingsStoreOverrides",L)}function P(e,t){void 0===t&&(t=!0);var n=!1;null!=e.sync&&O!==e.sync&&(O=e.sync,__OVERLAY__||i.default.set("UserSettingsSync",O),1===Object.keys(e).length&&function(){for(var e=i.default.get(A)||{},t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];"sync"!==r&&(e[r]=C(r)?R[r]:b[r])}__OVERLAY__||i.default.set(A,e)}());for(var r=i.default.get(A)||{},o=!1,s=0,u=Object.entries(e);s<u.length;s++){var l=u[s],c=l[0],p=l[1];n=!0,(null==e.sync||C(c))&&(R[c]=p),b[c]=p,r[c]=C(c)?R[c]:b[c],t&&L.hasOwnProperty(c)&&(delete L[c],o=!0)}return o&&M(),n&&!__OVERLAY__&&(i.default.set(A,r),f.default.embedded&&d.default.setApplicationBackgroundColor(R.theme===_.ThemeTypes.DARK?_.HEXColors.PRIMARY_DARK_700:_.HEXColors.WHITE)),a.setLocale(R.locale),n}var w=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,T(t,n);var o,a,u,l=r.prototype;return l.initialize=function(){var e,t=i.default.get("UserSettingsSync");null!=t&&(O=t);var n=i.default.get(A);null!=n&&P(S({},n,{sync:O}));L=null!==(e=i.default.get("UserSettingsStoreOverrides"))&&void 0!==e?e:{}},l.getAllSettings=function(){return R},l.getAppliedOverrideReasonKey=function(e){var t;return null===(t=L[e])||void 0===t?void 0:t.reasonKey},l.isGuildRestricted=function(e){return-1!==R.restrictedGuilds.indexOf(e)},o=r,(a=[{key:"showCurrentGame",get:function(){return R.showCurrentGame}},{key:"sync",get:function(){return O}},{key:"inlineAttachmentMedia",get:function(){return D(_.UserSettingsSections.TEXT).inlineAttachmentMedia}},{key:"inlineEmbedMedia",get:function(){return D(_.UserSettingsSections.TEXT).inlineEmbedMedia}},{key:"gifAutoPlay",get:function(){return null!=L.gifAutoPlay?L.gifAutoPlay.value:D(_.UserSettingsSections.TEXT).gifAutoPlay}},{key:"renderEmbeds",get:function(){return D(_.UserSettingsSections.TEXT).renderEmbeds}},{key:"renderReactions",get:function(){return D(_.UserSettingsSections.TEXT).renderReactions}},{key:"animateEmoji",get:function(){return null!=L.animateEmoji?L.animateEmoji.value:D(_.UserSettingsSections.TEXT).animateEmoji}},{key:"animateStickers",get:function(){return null!=L.animateStickers?L.animateStickers.value:D(_.UserSettingsSections.TEXT).animateStickers}},{key:"showInAppNotifications",get:function(){return R.showInAppNotifications}},{key:"theme",get:function(){return __OVERLAY__?_.ThemeTypes.DARK:this.useSystemTheme===c.SystemThemeState.ON&&null!=y?y:D(_.UserSettingsSections.APPEARANCE).theme}},{key:"enableTTSCommand",get:function(){return s.supported&&R.enableTTSCommand}},{key:"useRichChatTextBox",get:function(){return R.useRichChatTextBox}},{key:"convertEmoticons",get:function(){return R.convertEmoticons}},{key:"messageDisplayCompact",get:function(){return R.messageDisplayCompact}},{key:"locale",get:function(){return R.locale}},{key:"restrictedGuilds",get:function(){return R.restrictedGuilds}},{key:"friendSourceFlags",get:function(){return R.friendSourceFlags}},{key:"friendDiscoveryFlags",get:function(){return R.friendDiscoveryFlags}},{key:"developerMode",get:function(){return D(_.UserSettingsSections.APPEARANCE).developerMode}},{key:"guildPositions",get:function(){return R.guildPositions}},{key:"guildFolders",get:function(){return R.guildFolders}},{key:"detectPlatformAccounts",get:function(){return R.detectPlatformAccounts}},{key:"status",get:function(){return R.status}},{key:"defaultGuildsRestricted",get:function(){return R.defaultGuildsRestricted}},{key:"explicitContentFilter",get:function(){return R.explicitContentFilter}},{key:"afkTimeout",get:function(){return R.afkTimeout}},{key:"timezoneOffset",get:function(){return R.timezoneOffset}},{key:"installShortcutDesktop",get:function(){return R.installShortcutDesktop}},{key:"installShortcutStartMenu",get:function(){return R.installShortcutStartMenu}},{key:"renderSpoilers",get:function(){return R.renderSpoilers}},{key:"streamNotificationsEnabled",get:function(){return R.streamNotificationsEnabled}},{key:"customStatus",get:function(){return R.customStatus}},{key:"lowQualityImageMode",get:function(){return R.lowQualityImageMode}},{key:"useSystemTheme",get:function(){return R.useSystemTheme}},{key:"allowAccessibilityDetection",get:function(){return R.allowAccessibilityDetection}},{key:"contactSyncEnabled",get:function(){return R.contactSyncEnabled}},{key:"nativePhoneIntegrationEnabled",get:function(){return R.nativePhoneIntegrationEnabled}},{key:"disableGamesTab",get:function(){return R.disableGamesTab}},{key:"expressionPickerWidth",get:function(){return R.expressionPickerWidth}},{key:"emojiPickerCollapsedSections",get:function(){return R.emojiPickerCollapsedSections}},{key:"rtcPanelShowVoiceStates",get:function(){return R.rtcPanelShowVoiceStates}},{key:"stickerPickerCollapsedSections",get:function(){return R.stickerPickerCollapsedSections}},{key:"allowActivityPartyPrivacyFriends",get:function(){return R.allowActivityPartyPrivacyFriends}},{key:"allowActivityPartyPrivacyVoiceChannel",get:function(){return R.allowActivityPartyPrivacyVoiceChannel}},{key:"commandsCollapsedSections",get:function(){return R.commandsCollapsedSections}},{key:"viewNsfwGuilds",get:function(){return R.viewNsfwGuilds}}])&&v(o.prototype,a),u&&v(o,u),r}(r.default.Store))(o.default,{OVERLAY_INITIALIZE:function(e){var t=e.userSettings;Object.keys(R).forEach((function(e){return R[e]=t[e]})),a.setLocale(R.locale)},USER_SETTINGS_UPDATE:function(e){return P(e.settings,e.clearOverrides)},USER_SETTINGS_OVERRIDE_APPLY:function(e){for(var t=e.settings,n=0,r=Object.entries(t);n<r.length;n++){var i=r[n],o=i[0],a=i[1],s=a.value,u=a.reasonKey;L[o]={value:s,reasonKey:u}}M()},USER_SETTINGS_OVERRIDE_CLEAR:function(e){for(var t,n=g(e.settings);!(t=n()).done;){var r=t.value;delete L[r]}M()},LOGOUT:function(e){return P({theme:_.ThemeTypes.DARK})},LOGIN_SUCCESS:function(e){return!1},ACCESSIBILITY_SYSTEM_PREFERS_COLOR_SCHEME_CHANGED:function(e){if(y===e.systemPrefersColorScheme)return!1;y=e.systemPrefersColorScheme}});t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=y(n(8)),i=y(n(63)),o=y(n(3)),a=y(n(2)),s=y(n(182)),u=y(n(81)),l=y(n(204)),c=n(450),d=y(n(712)),f=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(31)),_=y(n(162)),p=y(n(89)),E=y(n(78)),h=y(n(10)),m=y(n(1275)),v=y(n(56)),T=y(n(15)),g=y(n(12)),I=n(1);function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function y(e){return e&&e.__esModule?e:{default:e}}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return N(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var R={},b={},L={},D=0;function C(e){null!=e&&(L[e]=(L[e]||0)+1)}function M(){var e=g.default.getCurrentUser();!function(e,t){void 0===t&&(t=!0),r.default.forEach(T.default.getGuilds(),(function(n){R[n.id]=E.default.computePermissions(e,n,null,null,t),C(n.id)}))}(e),function(e,t){void 0===t&&(t=!0);var n,i=h.default.getMutableGuildChannels();for(var o in i){var a;if(n=i[o],i.hasOwnProperty(o)&&null!=n){var u=n.getGuildId();null!=u&&(s.default.isLurking(u)||(null===(a=v.default.getMember(u,e.id))||void 0===a?void 0:a.isPending))||0!==r.default.size(n.permissionOverwrites)?b[n.id]=E.default.computePermissions(e,n,null,null,t):null!=u&&(b[n.id]=R[u]),C(n.getGuildId())}}D+=1}(e)}function P(){M()}function w(){M()}function U(e){if(e.user.id!==g.default.getCurrentUser().id)return!1;M()}function k(e){var t=e.guildId,n=g.default.getCurrentUser(),i=E.default.computePermissions(n,T.default.getGuild(t));R[t]=i,r.default.forEach(h.default.getMutableGuildChannels(),(function(e){e.getGuildId()===t&&(b[e.id]=E.default.computePermissions(n,e))})),D+=1,C(t)}function G(e){var t=e.instance,n=h.default.getChannel(t.channel_id);if(!n)return!1;var r=g.default.getCurrentUser(),i=E.default.computePermissions(r,n);if(i===b[n.id])return!1;b[n.id]=i,D+=1}function Y(){b={},R={},L={},D=0}var x=new(function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,A(t,n);var a=o.prototype;return a.initialize=function(){this.waitFor(g.default,T.default,h.default,v.default,m.default,l.default,u.default),this.syncWith([d.default],(function(){return!0}))},a.getChannelPermissions=function(e){return b[e]},a.getGuildPermissions=function(e){return R[e]},a.getGuildPermissionProps=function(e){return{canManageGuild:this.can(I.Permissions.MANAGE_GUILD,e),canManageChannels:this.can(I.Permissions.MANAGE_CHANNELS,e),canManageRoles:this.can(I.Permissions.MANAGE_ROLES,e),canManageBans:this.can(I.Permissions.BAN_MEMBERS,e),canManageNicknames:this.can(I.Permissions.MANAGE_NICKNAMES,e),canManageEmoji:this.can(I.Permissions.MANAGE_EMOJIS,e),canViewAuditLog:this.can(I.Permissions.VIEW_AUDIT_LOG,e),canManageWebhooks:this.can(I.Permissions.MANAGE_WEBHOOKS,e),canViewGuildAnalytics:this.can(I.Permissions.VIEW_GUILD_ANALYTICS,e),isGuildAdmin:this.can(I.Permissions.ADMINISTRATOR,e),isOwnerWithRequiredMfaLevel:e.isOwnerWithRequiredMfaLevel(g.default.getCurrentUser()),guild:e}},a.canAccessGuildSettings=function(e){var t=d.default.getViewingRoles(e.id);if(null!=t){var n=E.default.computePermissionsForRoles(t,e);return i.default.hasAny(n,E.default.VIEW_GUILD_SETTINGS)}return i.default.hasAny(R[e.id],E.default.VIEW_GUILD_SETTINGS)},a.canWithPartialContext=function(e,t){return"channelId"in t&&"string"==typeof t.channelId?this.can(e,h.default.getChannel(t.channelId)):"guildId"in t&&"string"==typeof t.guildId&&this.can(e,T.default.getGuild(t.guildId))},a.can=function(e,t,n,r,o){var a=function e(t,n,r,i){var o=E.default.NONE,a=null;if(t instanceof f.default){if(f.THREAD_CHANNEL_TYPES.has(t.type)){var s=h.default.getChannel(t.parent_id);return null==s?E.default.NONE:E.default.applyThreadPermissions(t,e(s,n,r,i),l.default.hasJoined(t.id))}o=b[t.id],a=t.getGuildId()}else t instanceof _.default&&(o=R[t.id],a=t.id);var u=null!=a?d.default.getViewingRoles(a):null;return null!=u&&null!=t?E.default.computePermissionsForRoles(u,t,n,r,!0,i):void 0!==n||void 0!==r||void 0!==i?E.default.computePermissions(g.default.getCurrentUser(),t,n,r,!0,i):o}(t,n,r,o);return i.default.has(a,e)},a.canManageUser=function(e,t,n){var r=t instanceof p.default?t.id:t;if(n.isOwner(r))return!1;var i=g.default.getCurrentUser();if(!this.can(e,n))return!1;var o=E.default.getHighestRole(n,i.id),a=E.default.getHighestRole(n,r);return E.default.isRoleHigher(n,i.id,o,a)},a.getHighestRole=function(e){var t=g.default.getNullableCurrentUser(),n=d.default.getViewingRoles(e.id);return null!=n?(0,r.default)(n).sortBy((function(e){return-e.position})).first():null!=t?E.default.getHighestRole(e,t.id):null},a.isRoleHigher=function(e,t,n){var r=g.default.getCurrentUser(),i=d.default.isViewingRoles(e.id);return E.default.isRoleHigher(e,i?null:null==r?void 0:r.id,t,n)},a.getGuildVersion=function(e){return L[e]||0},a.getChannelsVersion=function(){return D},o}(o.default.Store))(a.default,{CONNECTION_OPEN:function(e){return P()},OVERLAY_INITIALIZE:function(e){return P()},CACHE_LOADED:function(e){return P()},CACHE_LOADED_LAZY:function(e){return P()},CONNECTION_CLOSED:function(e){Y()},GUILD_CREATE:function(e){return w()},GUILD_UPDATE:function(e){return w()},GUILD_DELETE:function(e){return w()},GUILD_MEMBER_UPDATE:U,CURRENT_USER_UPDATE:U,CHANNEL_CREATE:function(e){var t=e.channel.id,n=h.default.getChannel(t);if(null==n||n.isPrivate())return!1;var r=g.default.getCurrentUser(),i=E.default.computePermissions(r,n);if(b[n.id]===i)return!1;b[n.id]=i,D+=1,C(n.getGuildId())},THREAD_CREATE:function(e){return!0},THREAD_UPDATE:function(e){return!0},THREAD_LIST_SYNC:function(e){return!0},LOAD_ARCHIVED_THREADS_SUCCESS:function(e){return!0},CHANNEL_UPDATES:function(e){for(var t,n=!1,r=O(e.updates);!(t=r()).done;){var i=t.value.channel.id,o=h.default.getChannel(i);if(null!=o&&!o.isPrivate()){var a=g.default.getCurrentUser(),s=E.default.computePermissions(a,o);b[o.id]!==s&&(b[o.id]=s,C(o.getGuildId()),n=!0)}}return!!n&&(D+=1,n)},LOAD_MESSAGES_SUCCESS:function(e){return e.messages.some((function(e){return null!=e.thread}))},SEARCH_FINISH:function(e){var t=e.messages;return e.threads.length>0||t.some((function(e){return e.some((function(e){return null!=e.thread}))}))},THREAD_MEMBER_UPDATE:function(e){var t;return(null===(t=g.default.getCurrentUser())||void 0===t?void 0:t.id)===e.userId&&(C(e.guildId),!0)},THREAD_MEMBERS_UPDATE:function(e){return!!(0,c.doesThreadMembersActionAffectMe)(e)&&(C(e.guildId),!0)},CHANNEL_DELETE:function(e){var t=e.channel;return delete b[t.id],D+=1,C(t.guild_id),!1},GUILD_ROLE_CREATE:k,GUILD_ROLE_UPDATE:k,GUILD_ROLE_DELETE:k,LOGOUT:function(e){return Y()},STAGE_INSTANCE_CREATE:G,STAGE_INSTANCE_UPDATE:G,STAGE_INSTANCE_DELETE:G});t.default=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openModal=function(e,t,n){void 0===t&&(t=Object.freeze({}));void 0===n&&(n=o.DEFAULT_MODAL_CONTEXT);var i=t,a=i.modalKey,s=i.Layer,l=i.onCloseRequest,f=i.onCloseCallback,_=null!=a?a:(0,r.default)();return c.setState((function(t){var r,i=t[n];return void 0!==i&&i.some((function(e){return e.key===_}))?t:u({},t,((r={})[n]=[].concat(i,[{key:_,Layer:s,render:e,onCloseRequest:null!=l?l:function(){return d(_,n)},onCloseCallback:f}]),r))})),_},t.closeModal=d,t.updateModal=function(e,t,n,r,i){void 0===i&&(i=o.DEFAULT_MODAL_CONTEXT);c.setState((function(o){var a;return void 0===o[i]?o:u({},o,((a={})[i]=o[i].map((function(o){return o.key===e?u({},o,{render:t,onCloseRequest:null==n?function(){return d(e,i)}:n,onCloseCallback:r}):o})),a))}))},t.hasAnyModalOpen=function(){for(var e,t=c.getState(),n=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(l);!(e=n()).done;){var r=e.value,i=t[r];if(i&&i.length>0)return!0}return!1},t.hasModalOpenSelector=f,t.hasModalOpen=function(e,t){return f(c.getState(),e,t)},t.useModalsStore=void 0;var r=a(n(188)),i=a(n(251)),o=n(217);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(){return(u=Object.assign||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}).apply(this,arguments)}var l=[o.DEFAULT_MODAL_CONTEXT,o.POPOUT_MODAL_CONTEXT],c=(0,i.default)((function(e){var t;return(t={})[o.DEFAULT_MODAL_CONTEXT]=[],t[o.POPOUT_MODAL_CONTEXT]=[],t}));function d(e,t){void 0===t&&(t=o.DEFAULT_MODAL_CONTEXT);var n=c.getState()[t],r=null!=n?n.find((function(t){return t.key===e})):null;c.setState((function(n){var r;return void 0===n[t]?n:u({},n,((r={})[t]=n[t].filter((function(t){return t.key!==e})),r))})),null!=r&&null!=r.onCloseCallback&&r.onCloseCallback()}function f(e,t,n){void 0===n&&(n=o.DEFAULT_MODAL_CONTEXT);var r=e[n];return null!=r&&r.some((function(e){return e.key===t}))}t.useModalsStore=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transitionTo=h,t.transitionToGuild=m,t.transitionToThread=function(e,t,n){f.log("transitionToThread - Transitioning to "+JSON.stringify({guildId:e,channelId:t,source:n})),m(e,t,void 0,n)},t.currentRouteIsPeekView=function(){return"Embed"===d},t.replaceWith=function(e,t,n){f.log("Replacing route with "+e),"string"==typeof e?c.replace(e,t):c.replace(e);d=n,!1},t.getHistory=function(){return c},t.getLastRouteChangeSource=function(){return d},t.isValidFingerprintRoute=function(e){void 0===e&&(e=c.location.pathname||"");if(e.startsWith(s.Routes.HANDOFF))return!1;return!0},t.getFingerprintLocation=function(e){void 0===e&&(e=c.location.pathname||"");if(e.startsWith(s.Routes.LOGIN))return s.PageAnalyticsLocations.LOGIN;if(e.startsWith(s.Routes.REGISTER))return s.PageAnalyticsLocations.REGISTER;if(e.startsWith(s.Routes.INVITE("")))return s.PageAnalyticsLocations.INVITE;if(e.startsWith(s.Routes.VERIFY))return s.PageAnalyticsLocations.VERIFY;if(e.startsWith(s.Routes.DISABLE_EMAIL_NOTIFICATIONS))return s.PageAnalyticsLocations.DISABLE_EMAIL_NOTIFICATIONS;if(e.startsWith(s.Routes.AUTHORIZE_IP))return s.PageAnalyticsLocations.AUTHORIZE_IP;if(e.startsWith(s.Routes.RESET))return s.PageAnalyticsLocations.RESET;return e},t.hasNavigated=function(){0;return _},t.back=function(){E()&&(d=null,c.goBack())},t.forward=function(){E()&&(d=null,c.goForward())};var r=n(104),i=(n(1535),u(n(26))),o=u(n(719)),a=n(121),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||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}).apply(this,arguments)}var c,d,f=new i.default("Routing/Utils");c=__OVERLAY__?(0,r.createMemoryHistory)():(0,r.createBrowserHistory)();var _=!1,p=c.listen((function(e,t){"REPLACE"!==t&&(_=!0,p())}));function E(){return!a.ComponentDispatch.hasSubscribers(s.ComponentActions.MODAL_CLOSE)&&(o.default.close(),!0)}function h(e,t,n){f.log("transitionTo - Transitioning to "+e),null==t?c.push(e):c.push(l({pathname:e},t)),d=n}function m(e,t,n,r){f.log("transitionToGuild - Transitioning to "+JSON.stringify({guildId:e,channelId:t,messageId:n})),h(s.Routes.CHANNEL(e,t,n),null,r)}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ThumbarButtonName=t.NativePermissionRequestType=void 0;var r,i=d(n(23)),o=d(n(8)),a=n(678),s=d(n(14)),u=d(n(28)),l=d(n(16)),c=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(){return(f=Object.assign||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}).apply(this,arguments)}function _(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){_(o,r,i,a,s,"next",e)}function s(e){_(o,r,i,a,s,"throw",e)}a(void 0)}))}}var E=window.DiscordNative,h=null==E||null===(r=E.globals)||void 0===r?void 0:r.features,m=null,v=null,T={};E&&(m=E.remoteApp.getVersion().split(".").map((function(e){return parseInt(e)})),null!=E.remoteApp.getModuleVersions&&(v=E.remoteApp.getModuleVersions()));var g,I,S=new Set(["discord_erlpack","discord_game_utils","discord_rpc","discord_spellcheck","discord_utils","discord_voice"]),y=!1;function A(e){return O.apply(this,arguments)}function O(){return(O=p(regeneratorRuntime.mark((function e(t){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={method:"GET",mode:"cors"},e.next=3,fetch(new Request(t,n));case 3:return r=e.sent,(0,i.default)(200===r.status,"Image data fetch unsuccessful"),e.next=7,r.arrayBuffer();case 7:return o=e.sent,(0,i.default)(null!=o,"Image data is null"),e.abrupt("return",o);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}t.NativePermissionRequestType=g,function(e){e[e.Camera=0]="Camera",e[e.Microphone=1]="Microphone",e[e.Photo=2]="Photo",e[e.InputMonitoring=3]="InputMonitoring"}(g||(t.NativePermissionRequestType=g={})),t.ThumbarButtonName=I,function(e){e.VIDEO="VIDEO",e.MUTE="MUTE",e.DEAFEN="DEAFEN",e.DISCONNECT="DISCONNECT"}(I||(t.ThumbarButtonName=I={}));var N={requireModule:function(e){return E.nativeModules.requireModule(e)},ensureModule:function(e){return l.default.embedded?__OVERLAY__&&S.has(e)?Promise.resolve():E.nativeModules.ensureModule(e):Promise.reject(new Error("not embedded"))},get canBootstrapNewUpdater(){return E.nativeModules.canBootstrapNewUpdater||!1},getCrashReporterMetadata:function(){return null!=E.crashReporter.getMetadata?E.crashReporter.getMetadata():E.globals.crashReporterMetadata},getSetting:function(e,t){return p(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(null==E.settings){n.next=6;break}return n.next=3,E.settings.get(e,t);case 3:n.t0=n.sent,n.next=7;break;case 6:n.t0=E.globals.appSettings.get(e,t);case 7:return r=n.t0,n.abrupt("return",r);case 9:case"end":return n.stop()}}),n)})))()},beforeUnload:function(){var e;try{e=this.requireModule("discord_overlay2")}catch(e){}e&&e.reset&&e.reset(),e&&e.disconnectAllProcesses&&e.destroyHostProcess&&(e.disconnectAllProcesses(),e.destroyHostProcess()),E.remotePowerMonitor.removeAllListeners(),window.location.origin===window.GLOBAL_ENV.MIGRATION_SOURCE_ORIGIN&&!0!==u.default.get(a.DOMAIN_MIGRATION_SUCCESS_KEY)&&this.supportsFeature(c.NativeFeatures.USER_DATA_CACHE)&&E.userDataCache.cacheUserData(u.default.stringify())},inputEventRegister:function(e,t,n,r){Array.isArray(t)||(t=t.toJS()),this.getDiscordUtils().inputEventRegister(parseInt(e),t.map((function(e){return[e[0],e[1]]})),n,r)},inputEventUnregister:function(e){this.getDiscordUtils().inputEventUnregister(parseInt(e))},setOnInputEventCallback:function(e){l.default.embedded&&this.getDiscordUtils().inputWatchAll(e)},setFocused:function(e){this.getDiscordUtils().inputSetFocused(e)},getIdleMilliseconds:function(e){this.getDiscordUtils().inputGetIdleMilliseconds(e)},setObservedGamesCallback:function(e,t){try{T={};var n=0;this.getDiscordUtils().setObservedGamesCallback(e.map((function(e){var t=++n;return null!=e.id&&(T[t]=e.id),f({},e,{cmdline:e.cmdLine,id:t})})),(function(e){return t(e.map((function(e){return{id:T[e.id||""],nativeProcessObserverId:parseInt(e.id,10),name:e.gameName,processName:e.name||"",hidden:e.hidden,elevated:e.elevated,sandboxed:e.sandboxed||!1,lastFocused:e.lastFocused,exePath:e.exePath,exeName:e.exeName,cmdLine:e.cmdLine,distributor:e.distributor,sku:e.sku,pid:e.pid,pidPath:e.pidPath||[],windowHandle:e.windowHandle||null}})))}))}catch(e){}},setCandidateGamesCallback:function(e){this.getDiscordUtils().setCandidateGamesCallback((function(t){return e(t.map((function(e){return{id:T[e.id||""],nativeProcessObserverId:parseInt(e.id,10),name:e.gameName||e.name,processName:e.name||"",hidden:e.hidden,elevated:e.elevated,lastFocused:e.lastFocused,exePath:e.exePath,exeName:e.exeName,cmdLine:e.cmdLine,distributor:e.distributor,sku:e.sku,pid:e.pid,pidPath:e.pidPath||[],windowHandle:e.windowHandle||null}})))}))},clearCandidateGamesCallback:function(){this.getDiscordUtils().clearCandidateGamesCallback()},setGameCandidateOverrides:function(e){this.getDiscordUtils().setGameCandidateOverrides(e.map((function(e){return f({},e,{gameId:e.id,gameName:e.name})})))},detectPid:function(e){this.getDiscordUtils().detectPid(e)},undetectPid:function(e){this.getDiscordUtils().undetectPid(e)},shouldDisplayNotifications:function(){return this.getDiscordUtils().shouldDisplayNotifications()},getVoiceEngine:function(){if(__OVERLAY__)throw new Error("cannot require discord_voice in overlay");return y=!0,this.requireModule("discord_voice")},getDiscordUtils:function(){if(!y)try{this.getVoiceEngine()}catch(e){}return this.requireModule("discord_utils")},isSystemDarkMode:function(){var e,t,n;return!!l.default.isWindows()&&(null===(e=null===(t=(n=this.getDiscordUtils()).isSystemDarkMode)||void 0===t?void 0:t.call(n))||void 0===e||e)},getGameUtils:function(){return this.requireModule("discord_game_utils")},getCloudSync:function(){return this.requireModule("discord_cloudsync")},getDispatch:function(){return this.requireModule("discord_dispatch")},setBadge:function(e){if("darwin"===l.default.platform){var t="";-1===e?t="•":e>0&&(t=""+e),E.remoteApp.dock.setBadge(t)}else"win32"===l.default.platform?this.send("APP_BADGE_SET",e):"linux"===l.default.platform&&E.remoteApp.setBadgeCount(e>=0?e:0)},setSystemTrayIcon:function(e){l.default.embedded&&this.send("SYSTEM_TRAY_SET_ICON",e)},setThumbarButtons:function(e){var t,n;l.default.embedded&&(null===(t=E.thumbar)||void 0===t||null===(n=t.setThumbarButtons)||void 0===n||n.call(t,e,this.isSystemDarkMode()))},bounceDock:function(e){if(l.default.embedded){var t=E.remoteApp;if(null!=t.dock){var n=t.dock.bounce(e);return p(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n;case 2:r=e.sent,t.dock.cancelBounce(r);case 4:case"end":return e.stop()}}),e)})))}}},setSystemTrayApplications:function(e){l.default.embedded&&this.send("SYSTEM_TRAY_SET_APPLICATIONS",e)},get architecture(){return l.default.embedded?E.process.arch:""},get releaseChannel(){if(!l.default.embedded)return"";var e=null!=E.remoteApp.getReleaseChannel?E.remoteApp.getReleaseChannel():E.globals.releaseChannel;return e||""},get version(){return m},get moduleVersions(){return v},copy:function(e){l.default.embedded&&E.clipboard.copy(e)},copyImage:function(t){return p(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return(0,i.default)(l.default.embedded,"Copy image method called outside native app"),(0,i.default)("function"==typeof E.clipboard.copyImage,"Copy image not supported"),n.next=4,A(t);case 4:r=n.sent,E.clipboard.copyImage(e.from(r),t);case 6:case"end":return n.stop()}}),n)})))()},saveImage:function(t){return p(regeneratorRuntime.mark((function n(){var r,o,a,s;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return(0,i.default)(l.default.embedded,"Save image method called outside native app"),r=new URL(t),o=r.pathname.split("/").pop()||"unknown",n.next=5,A(t);case 5:a=n.sent,s=e.from(a),E.fileManager.saveWithDialog(s,o);case 8:case"end":return n.stop()}}),n)})))()},canCopyImage:function(){return"function"==typeof E.clipboard.copyImage},cut:function(){l.default.embedded&&E.clipboard.cut()},paste:function(){l.default.embedded&&E.clipboard.paste()},readClipboard:function(){return l.default.embedded?E.clipboard.read():""},on:function(e,t){E.ipc.on(e,t)},send:function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];(t=E.ipc).send.apply(t,[e].concat(r))},flashFrame:function(e){E.window.flashFrame(e)},minimize:function(e){E.window.minimize(e)},restore:function(e){E.window.restore(e)},maximize:function(e){E.window.maximize(e)},focus:function(e,t){void 0===t&&(t=!1),E.window.focus(t,e)},blur:function(){l.default.embedded&&null!=E.window.blur?E.window.blur():window.blur()},fullscreen:function(e){E.window.fullscreen(e)},close:function(e){E.window.close(e)},setAlwaysOnTop:function(e,t){"function"==typeof E.window.setAlwaysOnTop&&E.window.setAlwaysOnTop(e,t)},isAlwaysOnTop:function(e){return p(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=!1,"function"!=typeof E.window.isAlwaysOnTop){t.next=5;break}return t.next=4,E.window.isAlwaysOnTop(e);case 4:n=t.sent;case 5:return t.abrupt("return",n);case 6:case"end":return t.stop()}}),t)})))()},purgeMemory:function(){l.default.embedded&&E.processUtils.purgeMemory()},updateCrashReporter:function(e){e=e||{};var t=this.getCrashReporterMetadata()||{};if("string"==typeof t.sentry&&"object"==typeof e.sentry){var n=o.default.defaultsDeep({},JSON.parse(t.sentry),e.sentry);e.sentry=JSON.stringify(n)}E.crashReporter.updateCrashReporter(e)},flushDNSCache:function(){l.default.embedded&&E.processUtils.flushDNSCache()},supportsFeature:function(e){return null!=E.features?E.features.supports(e):!!h&&h.supports(e)},getEnableHardwareAcceleration:function(){return!l.default.embedded||!__OVERLAY__&&E.gpuSettings.getEnableHardwareAcceleration()},setEnableHardwareAcceleration:function(e){E.gpuSettings.setEnableHardwareAcceleration(e)},getGPUDriverVersions:function(){return l.default.isWindows()&&this.getDiscordUtils().getGPUDriverVersions?this.getDiscordUtils().getGPUDriverVersions():Promise.resolve(Object.freeze({}))},setZoomFactor:function(e){return!!l.default.embedded&&(E.window.setZoomFactor(e),!0)},setBackgroundThrottling:function(e){null!=E.window.setBackgroundThrottling?E.window.setBackgroundThrottling(e):E.window.webContents.setBackgroundThrottling(e)},getPidFromDesktopSource:function(e){if(!l.default.isWindows()&&!l.default.isOSX()||!this.getDiscordUtils().getPidFromWindowHandle)return null;var t=null!=e&&e.split(":")[1]||"",n=this.getDiscordUtils().getPidFromWindowHandle(t);return null==n||0===n?null:n},getDesktopSourceFromPid:function(e){if(!l.default.isWindows()||!this.getDiscordUtils().getWindowHandleFromPid||null==e)return null;var t=this.getDiscordUtils().getWindowHandleFromPid(e);return null==t||0===t.length?null:["window",t,"0"].join(":")},generateSessionFromPid:function(e){return this.getDiscordUtils().generateSessionFromPid(e)},getAudioPid:function(e){return this.getDiscordUtils().getAudioPid&&null!=e?this.getDiscordUtils().getAudioPid(e):e},setForegroundProcess:function(e){var t=this.getDiscordUtils().setForegroundProcess;return null!=t&&t(e)},showOpenDialog:function(e){return E.fileManager.showOpenDialog({properties:e})},flushStorageData:function(){return l.default.embedded?new Promise((function(e,t){null!=E.processUtils.flushStorageData?E.processUtils.flushStorageData((function(n){return null!=n?t(new Error(n)):e()})):e()})):Promise.resolve()},flushCookies:function(){return l.default.embedded?new Promise((function(e,t){null!=E.processUtils.flushCookies?E.processUtils.flushCookies((function(n){return null!=n?t(new Error(n)):e()})):e()})):Promise.resolve()},blockDisplaySleep:function(){return l.default.embedded&&null!=E.powerSaveBlocker?E.powerSaveBlocker.blockDisplaySleep():null},unblockDisplaySleep:function(e){l.default.embedded&&null!=E.powerSaveBlocker&&E.powerSaveBlocker.unblockDisplaySleep(e)},cleanupDisplaySleep:function(){l.default.embedded&&null!=E.powerSaveBlocker&&E.powerSaveBlocker.cleanupDisplaySleep()},relaunch:function(){l.default.embedded&&E.remoteApp.relaunch&&E.remoteApp.relaunch()},makeChunkedRequest:function(e,t,n){var r=""+s.default.getAPIBaseURL()+e;if(!l.default.embedded)return Promise.reject(new Error("Not embedded!"));if(null==E.http)return Promise.reject(new Error("HTTP module not available"));var i=f({maxBps:8e3,chunkInterval:50,contentType:"application/json"},n),o=i.method,a=i.maxBps,u=i.token,c=i.chunkInterval,d=i.contentType,_=t;"application/json"===d&&(_=JSON.stringify(t));for(var p=a*(c/1e3),h=Math.ceil(_.length/p),m=new Array(h),v=0;v<h;v++){var T=v*p;m[v]=_.substring(T,T+p)}return new Promise((function(e,t){null!=E.http&&E.http.makeChunkedRequest(r,m,{method:o,chunkInterval:c,contentType:d,token:u},(function(n,r){return null!=n?t(n):r.status>=400?t(new Error(r.body)):void e(r)}))}))},submitLiveCrashReport:function(e){if(!l.default.isWindows()||!this.getDiscordUtils().submitLiveCrashReport)return Promise.resolve();var t=this.getCrashReporterMetadata(),n=t&&t.channel,r=t&&t.sentry,i=r&&("object"==typeof r?r:JSON.parse(r));return this.getDiscordUtils().submitLiveCrashReport(n,f({},i,{},e))},setApplicationBackgroundColor:function(e){E.ipc.send("SETTINGS_UPDATE_BACKGROUND_COLOR",e)},asyncify:function(e){return new Promise((function(t,n){e(t)}))}};t.default=N}).call(this,n(396).Buffer)},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(83);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";n.r(t),n.d(t,"createStringInterpolator",(function(){return r})),n.d(t,"frameLoop",(function(){return s})),n.d(t,"to",(function(){return i})),n.d(t,"now",(function(){return u})),n.d(t,"colorNames",(function(){return l})),n.d(t,"skipAnimation",(function(){return c})),n.d(t,"requestAnimationFrame",(function(){return d})),n.d(t,"batchedUpdates",(function(){return f})),n.d(t,"willAdvance",(function(){return _})),n.d(t,"assign",(function(){return p}));var r,i,o=n(357),a=n(158),s=new o.a,u=function(){return performance.now()},l=null,c=!1,d="undefined"!=typeof window?window.requestAnimationFrame:function(){return-1},f=function(e){return e()},_=a.g,p=function(e){var t;return t=Object.assign({to:i,now:u,frameLoop:s,colorNames:l,skipAnimation:c,createStringInterpolator:r,requestAnimationFrame:d,batchedUpdates:f,willAdvance:_},function(e){var t={};for(var n in e)void 0!==e[n]&&(t[n]=e[n]);return t}(e)),i=t.to,u=t.now,s=t.frameLoop,l=t.colorNames,c=t.skipAnimation,r=t.createStringInterpolator,d=t.requestAnimationFrame,f=t.batchedUpdates,_=t.willAdvance,t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n)}(n(0));var r,i=s(n(9)),o=s(n(5726)),a=s(n(1205));function s(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}var d,f=Object.freeze({SIZE_10:a.default.size10,SIZE_12:a.default.size12,SIZE_14:a.default.size14,SIZE_16:a.default.size16,SIZE_20:a.default.size20,SIZE_24:a.default.size24,SIZE_32:a.default.size32});!function(e){e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6"}(d||(d={}));var _=function(e){var t,n=e.tag,r=void 0===n?d.H3:n,a=e.id,s=e.muted,u=void 0!==s&&s,_=e.className,p=void 0===_?o.default.wrapper:_,E=e.size,h=void 0===E?f.SIZE_14:E,m=e.selectable,v=void 0!==m&&m,T=e.children,g=e.color,I=e.onClick,S=e.onContextMenu,y=e.style,A=e.title,O=e.uppercase;return l(r,{role:null!=I?"button":void 0,onClick:I,onContextMenu:S,id:a,className:(0,i.default)(p,(t={},t[o.default.base]=!0,t[h]=!0,t[o.default.selectable]=v,t[o.default.muted]=u,t[o.default.uppercase]=O,t)),title:A,style:null!=g?c({},y,{color:g}):y},void 0,T)};_.displayName="Header",_.Sizes=f,_.Tags=d;var p=_;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertNever=function(e){throw new Error("Unhandled value: "+e)},t.isNotNullish=function(e){return null!=e}},function(e,t,n){"use strict";function r(){return(r=Object.assign||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}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createExperiment",{enumerable:!0,get:function(){return i.default}});var r,i=(r=n(310))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1602);var r,i,o,a=q(n(8)),s=q(n(1290)),u=q(n(3)),l=n(1603),c=n(34),d=q(n(28)),f=n(57),_=q(n(2)),p=q(n(1635)),E=q(n(1636)),h=q(n(1637)),m=q(n(1638)),v=q(n(1639)),T=q(n(1640)),g=q(n(1641)),I=q(n(1642)),S=q(n(1643)),y=q(n(118)),A=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=z();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(965)),O=q(n(26)),N=n(196),R=n(215),b=q(n(773)),L=q(n(13)),D=q(n(213)),C=q(n(16)),M=q(n(164)),P=q(n(43)),w=n(401),U=q(n(11)),k=q(n(1357)),G=q(n(738)),Y=q(n(10)),x=q(n(1407)),V=q(n(94)),H=q(n(79)),F=n(1206),B=q(n(1408)),j=q(n(1744)),W=n(1),K=q(n(6));function z(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return z=function(){return e},e}function q(e){return e&&e.__esModule?e:{default:e}}function X(e,t){return(X=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function J(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function Q(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){J(o,r,i,a,s,"next",e)}function s(e){J(o,r,i,a,s,"throw",e)}a(void 0)}))}}function Z(){return(Z=Object.assign||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}).apply(this,arguments)}var $=new O.default("MediaEngineStore"),ee={left:1,right:1};function te(){return{mode:W.InputModes.VOICE_ACTIVITY,modeOptions:{threshold:-60,autoThreshold:C.default.embedded||__OVERLAY__,vadUseKrisp:!0,vadLeading:5,vadTrailing:25,delay:20,shortcut:[]},vadUseKrispSettingVersion:0,ncUseKrispSettingVersion:0,mute:!1,deaf:!1,echoCancellation:!0,noiseSuppression:!1,automaticGainControl:!0,noiseCancellation:!0,experimentalEncoders:!1,hardwareH264:!0,silenceWarning:!0,attenuation:0,attenuateWhileSpeakingSelf:!1,attenuateWhileSpeakingOthers:!0,localMutes:{},disabledLocalVideos:{},localVolumes:{},localPans:{},inputVolume:c.DEFAULT_VOLUME,outputVolume:c.DEFAULT_VOLUME,inputDeviceId:c.DEFAULT_DEVICE_ID,outputDeviceId:c.DEFAULT_DEVICE_ID,videoDeviceId:c.DEFAULT_DEVICE_ID,qos:!1,qosMigrated:!1,videoHook:oe.supports(c.Features.VIDEO_HOOK),experimentalSoundshare2:null,openH264:!0,vadThrehsoldMigrated:!1,aecDumpEnabled:!1}}var ne,re,ie,oe=(0,l.initializeMediaEngine)((0,l.determineMediaEngine)()),ae={},se=new Set([c.MediaEngineContextTypes.DEFAULT]),ue=oe.supports(c.Features.AUTO_ENABLE),le=null,ce=!1,de=c.MediaEngineContextTypes.STREAM,fe=((r={})[c.DEFAULT_DEVICE_ID]=Xe(K.default.Messages.NO_INPUT_DEVICES),r),_e=((i={})[c.DEFAULT_DEVICE_ID]=Xe(K.default.Messages.NO_OUTPUT_DEVICES),i),pe=((o={})[c.DEFAULT_DEVICE_ID]=Xe(K.default.Messages.NO_VIDEO_DEVICES),o),Ee=!1,he=!1,me=!1,ve=!1,Te=!1,ge=c.DISABLED_DEVICE_ID,Ie=!1,Se=!1,ye=!1,Ae=null,Oe=!1,Ne=!1,Re=!1,be=!1,Le=!1,De=null,Ce=!1,Me=null,Pe=W.SoundshareEnableState.NOT_ENABLED,we=null;b.default.hasPermission(R.NativePermissionTypes.AUDIO,{showAuthorizationError:!1}),b.default.hasPermission(R.NativePermissionTypes.CAMERA,{showAuthorizationError:!1});var Ue={},ke={};function Ge(e){void 0===e&&(e=c.MediaEngineContextTypes.DEFAULT);var t=ae[e];return null==t&&(t=te(),ae[e]=t),t}function Ye(e){var t=Ge(e.context);e.setInputMode(t.mode,{vadThreshold:t.modeOptions.threshold,vadAutoThreshold:t.modeOptions.autoThreshold,vadUseKrisp:t.modeOptions.vadUseKrisp&&it(),vadLeading:t.modeOptions.vadLeading,vadTrailing:t.modeOptions.vadTrailing,pttReleaseDelay:t.modeOptions.delay})}function xe(e,t){return void 0===t&&(t=c.DEFAULT_VOLUME),a.default.clamp(e,0,t)}function Ve(e){var t=Ge(e.context),n=!ue||t.mute||t.deaf;e.context===c.MediaEngineContextTypes.DEFAULT&&(n=n||Ee||he||me||!b.default.didHavePermission(R.NativePermissionTypes.AUDIO)),e.setSelfMute(n),e.setSelfDeaf(t.deaf)}function He(e,t){var n;void 0===e&&(e=Te),void 0===t&&(t=ie);var r=ie;if(null!=r&&r.id!==(null===(n=t)||void 0===n?void 0:n.id)&&(null!=r.soundshareId&&C.default.isWindows()&&A.cancelAttachToProcess(r.soundshareId),oe.setDesktopSource(null,de)),(Te||e)&&(ge=(Te=e)?Qe(pe,Ge().videoDeviceId):c.DISABLED_DEVICE_ID,oe.setVideoInputDevice(ge)),null!=(ie=t)){var i=g.default.getCurrentConfig({}).useQuartzCapturer,o=h.default.getCurrentConfig({}).hdrCaptureMode,a={id:ie.id,resolution:ie.resolution,frameRate:ie.frameRate,soundshareId:ie.soundshareId,useVideoHook:Ge().videoHook,useWumpus:!0,useLoopback:ne.getExperimentalSoundshare(),useQuartzCapturer:i,hdrCaptureMode:o};oe.setDesktopSource(a,de)}}function Fe(e){if(null==e)return{};var t,n,r=e.sourcePid;return null!=r&&(t=H.default.getGameNameForPID(r),n=H.default.getGameIdForPID(r)),{soundshare_session:e.soundshareSession,share_game_name:t,share_game_id:n}}function Be(e,t,n,r){var i,o=null!==(i=null==e?void 0:e.soundshareSession)&&void 0!==i?i:"";null==ke[o]&&(ke[o]=new Set);var a=null!=t&&!ke[o].has(t);a&&ke[o].add(t),(null==t||a)&&L.default.track(W.AnalyticEvents.SOUNDSHARE_FAILED,Z({soundshare_failure_code:t,soundshare_failure_reason:n,soundshare_failure_will_retry:r},Fe(e)))}function je(e){var t=Ge(),n=t.inputDeviceId;e.setEchoCancellation(G.default.hasEchoCancellation(n)||t.echoCancellation),e.setNoiseSuppression(G.default.hasNoiseSuppression(n)||t.noiseSuppression),e.setAutomaticGainControl(G.default.hasAutomaticGainControl(n)||t.automaticGainControl),e.setNoiseCancellation(t.noiseCancellation),st()}var We=new(function(){function e(){var e=this;this.noVoiceTimeout=5e3,this.voiceTimeout=1500,this.started=!1,this.handleSilence=function(t){var n=!t;e.stateChangeTimeout&&clearTimeout(e.stateChangeTimeout),e.stateChangeTimeout=setTimeout((function(){e.stateChangeTimeout=null,e.started&&(_.default.dirtyDispatch({type:W.ActionTypes.AUDIO_INPUT_DETECTED,inputDetected:n}),t&&(Ne=!0))}),n?e.voiceTimeout:e.noVoiceTimeout)}}var t=e.prototype;return t.start=function(){this.started||(this.started=!0,oe.on("silence",this.handleSilence))},t.stop=function(){this.started&&(this.started=!1,this.stateChangeTimeout&&(clearTimeout(this.stateChangeTimeout),this.stateChangeTimeout=null),oe.removeListener("silence",this.handleSilence),_.default.dirtyDispatch({type:W.ActionTypes.AUDIO_INPUT_DETECTED,inputDetected:null}))},t.update=function(){var e=Ge();!Oe&&V.default.getState()===W.RTCConnectionStates.RTC_CONNECTED&&e.mode===W.InputModes.VOICE_ACTIVITY&&e.silenceWarning?this.start():this.stop()},t.reset=function(){this.stop(),this.update()},e}());function Ke(){var e,t=d.default.get("audio");null!=t&&(d.default.set("MediaEngineStore",((e={})[c.MediaEngineContextTypes.DEFAULT]=t,e)),d.default.remove("audio"));ae=d.default.get("MediaEngineStore")||{},a.default.each(ae,(function(e){var t;(a.default.defaultsDeep(e,te()),e.modeOptions&&"string"==typeof e.modeOptions.shortcut&&(e.modeOptions.shortcut=(0,w.toCombo)(e.modeOptions.shortcut)),e.modeOptions&&4!==e.vadUseKrispSettingVersion&&(e.vadUseKrispSettingVersion=4,e.modeOptions.vadUseKrisp=!0),e.qosMigrated||(e.qosMigrated=!0,e.qos=!1),e.vadThrehsoldMigrated)||(e.vadThrehsoldMigrated=!0,-40===(null===(t=e.modeOptions)||void 0===t?void 0:t.threshold)&&(e.modeOptions.threshold=-60));1!==e.ncUseKrispSettingVersion&&(e.ncUseKrispSettingVersion=1,e.noiseSuppression=!1,e.noiseCancellation=!0)})),function(){var e=Ge();oe.setAudioInputDevice(e.inputDeviceId),oe.setAudioOutputDevice(e.outputDeviceId),He(),oe.setInputVolume(e.inputVolume),oe.setOutputVolume(e.outputVolume),oe.setH264Enabled(e.openH264),oe.setAecDump(e.aecDumpEnabled)}()}function ze(e,t,n){void 0===t&&(t=c.MediaEngineContextTypes.DEFAULT),void 0===n&&(n=!0);var r=Ge(t);return Object.assign(r,e),!__OVERLAY__&&n&&d.default.set("MediaEngineStore",ae),r}function qe(){ue||oe.enable().then((function(){return _.default.dispatch({type:W.ActionTypes.MEDIA_ENGINE_SET_AUDIO_ENABLED,enabled:!0,unmute:!1})}))}function Xe(e){return{id:c.DEFAULT_DEVICE_ID,index:0,name:e,disabled:!0}}function Je(e,t){if(0===e.length){var n,r=Xe(t);return(n={})[r.id]=r,n}return(0,a.default)(e).map((function(e){return{id:e.id,index:e.index,name:e.name,disabled:!1}})).keyBy("id").value()}function Qe(e,t){var n=e[t]||(0,a.default)(e).values().first();return null!=n?n.id:t}function Ze(e){var t=fe;if(fe=Je(e,K.default.Messages.NO_INPUT_DEVICES),!a.default.isEqual(fe,t)){var n=Ge(),r=Qe(fe,n.inputDeviceId);oe.setAudioInputDevice(r)}}function $e(e){var t=_e;if(_e=Je(e,K.default.Messages.NO_OUTPUT_DEVICES),!a.default.isEqual(_e,t)){var n=Ge(),r=Qe(_e,n.outputDeviceId);oe.setAudioOutputDevice(r)}}function et(e){ye=e.length>0;var t=pe;pe=Je(e,K.default.Messages.NO_VIDEO_DEVICES),a.default.isEqual(pe,t)||He(Te&&void 0!==pe[ge])}function tt(e){var t=Ge();L.default.track(W.AnalyticEvents.VOICE_PROCESSING,{echo_cancellation:t.echoCancellation,noise_cancellation:t.noiseCancellation,noise_suppression:t.noiseSuppression,automatic_gain_control:t.automaticGainControl,location:e})}function nt(e){var t=Ge(),n=t.inputDeviceId,r=G.default.hasEchoCancellation(n)||t.echoCancellation,i=G.default.hasNoiseSuppression(n)||t.noiseSuppression,o=G.default.hasAutomaticGainControl(n)||t.automaticGainControl,a=t.noiseCancellation;oe.setLoopback(e,{echoCancellation:r,noiseSuppression:i,automaticGainControl:o,noiseCancellation:a})}function rt(){d.default.remove("MediaEngineStore"),location.reload()}function it(){return Le||C.default.isIOS()}function ot(){return(ot=Q(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,P.default.ensureModule("discord_krisp");case 3:P.default.requireModule("discord_krisp"),Le=!0,ne.emitChange(),e.next=16;break;case 8:e.prev=8,e.t0=e.catch(0),$.warn("Failed to load Krisp module: "+e.t0.message),M.default.captureException(e.t0),t=c.NoiseCancellerError.INITIALIZED,e.t0.message.includes(": ")&&(t=parseInt(e.t0.message.substring(e.t0.message.indexOf(": ")+1))||c.NoiseCancellerError.INITIALIZED),L.default.track(W.AnalyticEvents.VOICE_PROCESSING,{noise_canceller_error:t}),ze({noiseCancellation:!1});case 16:return e.prev=16,be=!1,e.finish(16);case 19:case"end":return e.stop()}}),e,null,[[0,8,16,19]])})))).apply(this,arguments)}function at(){return!C.default.isOSX()&&!C.default.isWindows()||__OVERLAY__||be||Le?(C.default.isLinux()||C.default.isWeb())&&ze({noiseCancellation:!1}):(be=!0,function(){ot.apply(this,arguments)}()),!1}function st(){T.default.getCurrentConfig({}).enabled&&(Me=!1,oe.eachConnection((function(e){return e.setNoiseDetection(!Ge().noiseCancellation,50)})))}function ut(e){return e.section===W.UserSettingsSections.VOICE&&qe(),!1}function lt(e){Pe=e===W.SoundshareStatusCode.OK?W.SoundshareEnableState.ENABLED:e===W.SoundshareStatusCode.ACE_NOT_AUTHORIZED?W.SoundshareEnableState.ENABLING:W.SoundshareEnableState.NOT_ENABLED}function ct(){return(ct=Q(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Pe!==W.SoundshareEnableState.ENABLING){e.next=2;break}return e.abrupt("return");case 2:return Pe=W.SoundshareEnableState.ENABLING,t={},e.prev=4,e.next=7,oe.enableSoundshare();case 7:lt((n=e.sent).code),t={status_code:n.code,message:n.message},e.next=17;break;case 12:e.prev=12,e.t0=e.catch(4),$.warn("Failed to enable macOS soundshare: "+e.t0),lt(W.SoundshareStatusCode.FAILED),t={status_code:W.SoundshareStatusCode.FAILED,message:""+e.t0};case 17:return e.prev=17,ne.emitChange(),L.default.track(W.AnalyticEvents.SOUNDSHARE_ENABLE,t),e.finish(17);case 21:case"end":return e.stop()}}),e,null,[[4,12,17,21]])})))).apply(this,arguments)}function dt(){var e,t,n,r,i;m.default.getCurrentConfig({}).enableMacOSSoundshare&&(!function(){ct.apply(this,arguments)}(),Pe===W.SoundshareEnableState.ENABLED&&(n=ne.isSoundSharing(),r=null!==(e=null===(t=ne.getDesktopSource())||void 0===t?void 0:t.soundshareId)&&void 0!==e?e:0,i=ne.getExperimentalSoundshare(),n&&oe.setSoundshareSource(r,i,de)))}var ft=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,X(t,n);var i=r.prototype;return i.initialize=function(){var e;oe.on("connection",(function(e){Ye(e),Ve(e),je(e);var t=Ge();e.setAttenuation(t.attenuation,t.attenuateWhileSpeakingSelf,t.attenuateWhileSpeakingOthers),e.setQoS(t.qos),e.setExperimentalEncoders(t.experimentalEncoders),e.setHardwareH264(t.hardwareH264);var n=S.default.getCurrentConfig({}).useExperimentalRateControl,r=E.default.getCurrentConfig({}).useResolutionLadder;n&&e.setExperimentFlag(c.ExperimentFlags.VIDEOTOOLBOX_RATE_CONTROL,!0),r&&e.setExperimentFlag(c.ExperimentFlags.RESOLOUTION_FPS_LADDER_EXPERIMENT,!0),v.default.getCurrentConfig({}).disabled&&e.setReconnectInterval(0),t=Ge(e.context),e.setPostponeDecodeLevel(75);for(var i=0,o=Object.keys(t.localMutes);i<o.length;i++){var a=o[i];e.setLocalMute(a,t.localMutes[a])}for(var s=0,u=Object.keys(t.localVolumes);s<u.length;s++){var l=u[s];e.setLocalVolume(l,t.localVolumes[l])}for(var d=0,p=Object.keys(t.localPans);d<p.length;d++){var h=p[d],m=t.localPans[h];e.setLocalPan(h,m.left,m.right)}for(var T=0,g=Object.keys(t.disabledLocalVideos);T<g.length;T++){var I=g[T];e.setLocalVideoDisabled(I,t.disabledLocalVideos[I])}e.on("speaking",(function(t,n){_.default.dirtyDispatch({type:W.ActionTypes.SPEAKING,context:e.context,userId:t,speakingFlags:n})})),e.context===c.MediaEngineContextTypes.DEFAULT&&(Ie=!1,e.on("speakingwhilemuted",(function(){Ie=!0,ne.emitChange()}))),e.on("desktopsourceend",(function(){_.default.dirtyDispatch({type:W.ActionTypes.MEDIA_ENGINE_SET_DESKTOP_SOURCE,sourceId:null,context:e.context})})),e.on("soundshareattached",(function(){null!=ie&&L.default.track(W.AnalyticEvents.SOUNDSHARE_ATTACHED,Fe(ie))})),e.on("soundsharefailed",(function(e){var t=e.failureCode,n=e.failureReason,r=e.willRetry;Be(ie,t,n,r)})),e.on("soundsharespeaking",(function(){null!=ie&&(L.default.track(W.AnalyticEvents.SOUNDSHARE_TRANSMITTING,Fe(ie)),null!=x.default.getHookError(W.MediaEngineHookTypes.SOUND)&&_.default.wait((function(){return _.default.dispatch({type:W.ActionTypes.MEDIA_ENGINE_SOUNDSHARE_TRANSMITTING})})))}));var y=new f.Timeout;e.on("soundsharetrace",(function(e){switch(e.type){case"soundshare_attach_requested":y.start(5e3,(function(){_.default.dispatch({type:W.ActionTypes.MEDIA_ENGINE_SOUNDSHARE_FAILED,errorMessage:"Sound Hook Failed"})}));break;case"soundshare_recv_failed":var t=e.reason,n=e.code,r=e.retry;null!=ie&&(Be(ie,n,t,r),r||(y.stop(),_.default.wait((function(){return _.default.dispatch({type:W.ActionTypes.MEDIA_ENGINE_SOUNDSHARE_FAILED,errorMessage:t,errorCode:n})}))));break;case"soundshare_state_transition":e.newState===W.SoundshareTraceStates.PLAYING&&(y.stop(),_.default.wait((function(){return _.default.dispatch({type:W.ActionTypes.MEDIA_ENGINE_SOUNDSHARE_TRANSMITTING})})))}})),e.on("interactionrequired",(function(e){_.default.dirtyDispatch({type:W.ActionTypes.MEDIA_ENGINE_INTERACTION_REQUIRED,required:e})})),e.on("videohook-initialize",(function(e,t,n,r,i,o){null!=ie&&L.default.track(W.AnalyticEvents.VIDEOHOOK_INITIALIZED,Z({backend:e,format:t,framebuffer_format:n,sample_count:r,success:i,reinitialization:o},Fe(ie)))})),e.on("screenshare-finish",(function(t,n,r,i,o,a,s,u){(0,F.getSystemAnalyticsInfo)().then((function(l){var c=null;null!=l&&(c={cpu_brand:l.cpu_brand,cpu_vendor:l.cpu_vendor,cpu_memory:l.cpu_memory,gpu_brand:l.gpu_brand,gpu_memory:l.gpu_memory}),L.default.track(W.AnalyticEvents.SCREENSHARE_FINISHED,Z({screenshare_frames:t,videohook_frames:n,hybrid_dxgi_frames:r,hybrid_gdi_frames:i,hybrid_videohook_frames:o,desktop_capturer_type:a,media_session_id:V.default.getMediaSessionId(),rtc_connection_id:V.default.getRTCConnectionId(),context:e.context,screens:s,windows:u},c,{},Fe(ie)))}))})),e.on("noisecancellererror",(function(e){$.warn("noisecancellererror event: "+e),Ce=!0,L.default.track(W.AnalyticEvents.VOICE_PROCESSING,{noise_canceller_error:e}),_.default.dispatch({type:W.ActionTypes.AUDIO_SET_NOISE_SUPPRESSION,enabled:!0}),_.default.dispatch({type:W.ActionTypes.AUDIO_SET_NOISE_CANCELLATION,enabled:!1}),_.default.dispatch({type:W.ActionTypes.MEDIA_ENGINE_NOISE_CANCELLATION_ERROR,code:e})})),e.on("voiceactivitydetectorerror",(function(e){$.warn("voiceactivitydetectorerror event: "+e),L.default.track(W.AnalyticEvents.VOICE_PROCESSING,{noise_canceller_error:e}),_.default.dispatch({type:W.ActionTypes.AUDIO_SET_MODE,context:c.MediaEngineContextTypes.DEFAULT,mode:W.InputModes.VOICE_ACTIVITY,options:Z({},Ge(c.MediaEngineContextTypes.DEFAULT).modeOptions,{vadUseKrisp:!1})}),_.default.dispatch({type:W.ActionTypes.MEDIA_ENGINE_VOICE_ACTIVITY_DETECTION_ERROR,code:e})})),e.on("noiselevel",(function(e){Me=e>50,_.default.dispatch({type:W.ActionTypes.NOISE_DETECTED,noiseDetected:Me})})),e.on("video-state",(function(t){_.default.dispatch({type:W.ActionTypes.MEDIA_ENGINE_VIDEO_STATE_CHANGED,videoState:t,context:e.context})})),e.on("destroy",(function(){y.stop()})),e.setBitRate(k.default.bitrate),e.applyVideoQualityMode(B.default.mode)})),oe.on("devicechange",(function(e,t,n){_.default.dirtyDispatch({type:W.ActionTypes.MEDIA_ENGINE_DEVICES,inputDevices:e,outputDevices:t,videoDevices:n})})),oe.on("volumechange",(function(e,t){_.default.dirtyDispatch({type:W.ActionTypes.AUDIO_VOLUME_CHANGE,inputVolume:e,outputVolume:t})})),oe.on("desktopsourceend",(function(){_.default.dirtyDispatch({type:W.ActionTypes.MEDIA_ENGINE_SET_DESKTOP_SOURCE,sourceId:null})})),oe.on("audio-permission",(function(e){_.default.dispatch({type:W.ActionTypes.MEDIA_ENGINE_PERMISSION,kind:"audio",granted:e})})),oe.on("video-permission",(function(e){_.default.dispatch({type:W.ActionTypes.MEDIA_ENGINE_PERMISSION,kind:"video",granted:e})})),oe.on("watchdogtimeout",Q(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,D.default.submitLiveCrashReport({message:{message:"Voice Watchdog Timeout"}});case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),"number"==typeof e.t0.status&&(t=e.t0.status);case 8:L.default.track(W.AnalyticEvents.VOICE_WATCHDOG_TIMEOUT,{minidump_submission_error:t});case 9:case"end":return e.stop()}}),e,null,[[0,5]])})))),oe.on("video-input-initialized",(function(e){var t=Date.now();(null==we||t-we>=3e5)&&(we=t,L.default.track(W.AnalyticEvents.VIDEO_INPUT_INITIALIZED,{device_name:e.description.name,time_to_first_frame_ms:e.initializationTimerExpired?null:Math.round(1e3*e.timeToFirstFrame),timed_out:e.initializationTimerExpired}))})),We.reset(),Ke(),at(),C.default.isOSX()&&oe.supports(c.Features.SOUNDSHARE)?oe.getSoundshareStatus().then((function(e){lt(e)})).catch((function(e){$.warn("Failed to check if soundshare is enabled: "+e)})):Pe=W.SoundshareEnableState.ENABLED,(e={})[c.Features.VIDEO]=oe.supports(c.Features.VIDEO),e[c.Features.DESKTOP_CAPTURE]=oe.supports(c.Features.DESKTOP_CAPTURE),e[c.Features.HYBRID_VIDEO]=oe.supports(c.Features.HYBRID_VIDEO),Ue=e,this.waitFor(U.default,G.default,Y.default,x.default,V.default,H.default,j.default,b.default.storage)},i.supports=function(e){return oe.supports(e)},i.supportsInApp=function(e){return Ue[e]||oe.supports(e)},i.isSupported=function(){return oe.supported()},i.isExperimentalEncodersSupported=function(){return oe.supports(c.Features.EXPERIMENTAL_ENCODERS)},i.isNoiseCancellationSupported=function(){return it()},i.isNoiseCancellationError=function(){return Ce},i.isAdvancedVoiceActivitySupported=function(){return it()},i.isAecDumpSupported=function(){return oe.supports(c.Features.AEC_DUMP)},i.isSimulcastSupported=function(){var e=I.default.getCurrentConfig({}).enabled;return oe.supports(c.Features.VIDEO)&&oe.supports(c.Features.SIMULCAST)&&e},i.getAecDump=function(){return Ge().aecDumpEnabled},i.getMediaEngine=function(){return oe},i.getVideoComponent=function(){if(oe.supports(c.Features.DIRECT_VIDEO)){p.default.trackExposure({});var e=p.default.getCurrentConfig({});oe.setUseDirectVideo(e.useDirectVideo)}return oe.Video},i.getCameraComponent=function(){if(oe.supports(c.Features.DIRECT_VIDEO)){p.default.trackExposure({});var e=p.default.getCurrentConfig({});oe.setUseDirectVideo(e.useDirectVideo)}return oe.Camera},i.getSupportedVideoCodecs=function(){return le},i.isEnabled=function(){return ue},i.isMute=function(){return this.isSelfMute()||Ee},i.isDeaf=function(){return this.isSelfDeaf()||ve},i.hasContext=function(e){return null!=ae[e]},i.isSelfMutedTemporarily=function(e){return void 0===e&&(e=c.MediaEngineContextTypes.DEFAULT),e===c.MediaEngineContextTypes.DEFAULT&&he},i.isSelfMute=function(e){return void 0===e&&(e=c.MediaEngineContextTypes.DEFAULT),!this.isEnabled()||Ge(e).mute||!b.default.didHavePermission(R.NativePermissionTypes.AUDIO)||this.isSelfDeaf(e)||e===c.MediaEngineContextTypes.DEFAULT&&me},i.isHardwareMute=function(e){return void 0===e&&(e=c.MediaEngineContextTypes.DEFAULT),!this.isMute()&&!this.isSelfMutedTemporarily(e)&&G.default.isHardwareMute(this.getInputDeviceId())},i.isSelfDeaf=function(e){return void 0===e&&(e=c.MediaEngineContextTypes.DEFAULT),!this.isSupported()||Ge(e).deaf},i.isVideoEnabled=function(){return Te&&ye},i.isVideoAvailable=function(){return Object.values(pe).some((function(e){return!e.disabled}))},i.isScreenSharing=function(e){return void 0===e&&(e=c.MediaEngineContextTypes.STREAM),de===e&&null!=ie},i.isSoundSharing=function(e){return void 0===e&&(e=c.MediaEngineContextTypes.STREAM),de===e&&null!=ie&&null!=ie.soundshareId},i.isLocalMute=function(e,t){return void 0===t&&(t=c.MediaEngineContextTypes.DEFAULT),Ge(t).localMutes[e]||!1},i.isLocalVideoDisabled=function(e,t){var n;return void 0===t&&(t=c.MediaEngineContextTypes.DEFAULT),null!==(n=Ge(t).disabledLocalVideos[e])&&void 0!==n&&n},i.getDesktopSource=function(){return ie},i.getDesktopSourceContext=function(){return de},i.getLocalPan=function(e,t){void 0===t&&(t=c.MediaEngineContextTypes.DEFAULT);var n=Ge(t).localPans[e];return null!=n?n:ee},i.getLocalVolume=function(e,t){void 0===t&&(t=c.MediaEngineContextTypes.DEFAULT);var n=t===c.MediaEngineContextTypes.STREAM?c.DEFAULT_STREAM_VOLUME:c.DEFAULT_VOLUME,r=Ge(t).localVolumes[e];return null!=r?r:n},i.getInputVolume=function(){return Ge().inputVolume},i.getOutputVolume=function(){return Ge().outputVolume},i.getMode=function(e){return void 0===e&&(e=c.MediaEngineContextTypes.DEFAULT),Ge(e).mode},i.getModeOptions=function(e){return void 0===e&&(e=c.MediaEngineContextTypes.DEFAULT),Ge(e).modeOptions},i.getShortcuts=function(){var e={};return a.default.each(ae,(function(t,n){var r=t.mode,i=t.modeOptions.shortcut;r===W.InputModes.PUSH_TO_TALK&&se.has(n)&&(e[n]=i)})),e},i.getInputDeviceId=function(){return Qe(fe,Ge().inputDeviceId)},i.getOutputDeviceId=function(){return Qe(_e,Ge().outputDeviceId)},i.getVideoDeviceId=function(){return Qe(pe,Ge().videoDeviceId)},i.getInputDevices=function(){return fe},i.getOutputDevices=function(){return _e},i.getVideoDevices=function(){return pe},i.getEchoCancellation=function(){var e=Ge();return G.default.hasEchoCancellation(e.inputDeviceId)||e.echoCancellation},i.getLoopback=function(){return oe.getLoopback()},i.getNoiseSuppression=function(){var e=Ge();return G.default.hasNoiseSuppression(e.inputDeviceId)||e.noiseSuppression},i.getAutomaticGainControl=function(){var e=Ge();return G.default.hasAutomaticGainControl(e.inputDeviceId)||e.automaticGainControl},i.getNoiseCancellation=function(){return Ge().noiseCancellation},i.getExperimentalEncoders=function(){return Ge().experimentalEncoders},i.getHardwareH264=function(){return Ge().hardwareH264},i.getEnableSilenceWarning=function(){return Ge().silenceWarning},i.getDebugLogging=function(){return oe.getDebugLogging()},i.getQoS=function(){return Ge().qos},i.getAttenuation=function(){return Ge().attenuation},i.getAttenuateWhileSpeakingSelf=function(){return Ge().attenuateWhileSpeakingSelf},i.getAttenuateWhileSpeakingOthers=function(){return Ge().attenuateWhileSpeakingOthers},i.getAudioSubsystem=function(){return oe.getAudioSubsystem()},i.getSettings=function(e){return void 0===e&&(e=c.MediaEngineContextTypes.DEFAULT),Ge(e)},i.getState=function(){return{settingsByContext:ae,inputDevices:fe,outputDevices:_e,appSupported:Ue,krispModuleLoaded:Le,desktopSource:ie,desktopSourceContext:de}},i.getInputDetected=function(){return Ae},i.getNoInputDetectedNotice=function(){return Ne},i.getNoiseDetected=function(){return Me},i.getPacketDelay=function(){return C.default.embedded||this.getMode()!==W.InputModes.VOICE_ACTIVITY?0:this.getModeOptions().vadLeading},i.setCanHavePriority=function(e,t){oe.eachConnection((function(n){return n.setCanHavePriority(e,t)}))},i.isInteractionRequired=function(){return ce},i.getVideoHook=function(){return Ge().videoHook},i.getExperimentalSoundshare=function(){var e=Ge().experimentalSoundshare2;return this.supportsExperimentalSoundshare()&&(null==e||e)},i.supportsExperimentalSoundshare=function(){return oe.supports(c.Features.EXPERIMENTAL_SOUNDSHARE)&&s.default.satisfies(null===y.default||void 0===y.default?void 0:y.default.os.release,N.WINDOWS_SOUNDSHARE_VERSION)},i.getOpenH264=function(){return Ge().openH264},i.getEverSpeakingWhileMuted=function(){return Ie},i.getSoundshareEnabled=function(){return Pe},i.supportsEnableSoundshare=function(){var e=m.default.getCurrentConfig({}).enableMacOSSoundshare;return C.default.isOSX()&&oe.supports(c.Features.SOUNDSHARE)&&s.default.satisfies(null===y.default||void 0===y.default?void 0:y.default.os.release,N.DARWIN_SOUNDSHARE_VERSION)&&e},r}(u.default.Store),_t=ne=new ft(_.default,{START_SESSION:function(e){return function(){if(C.default.embedded&&!__OVERLAY__)try{return oe.getSupportedVideoCodecs((function(e){le=new Set(e)})),!0}catch(e){}return!1}()},VOICE_CHANNEL_SELECT:function(e){var t=e.guildId,n=e.channelId,r=e.currentVoiceChannelId,i=e.video;if(r!==n&&He(i,null),null==t&&null!=n){if(!Re){Re=!0;var o=Ge();(o.mute||o.deaf)&&(ze({deaf:!1,mute:!1}),oe.eachConnection(Ve))}}else Re=!1},VOICE_STATE_UPDATE:function(e){return re===e.sessionId?(Ee=e.mute||e.suppress,ve=e.deaf,oe.eachConnection(Ve),He(!(null!=e.guildId&&null!=e.channelId&&null!=De&&De!==e.channelId)&&Te),De=e.channelId,!0):(__OVERLAY__||e.userId!==U.default.getId()||null!=V.default.getChannelId()||He(!1,null),!1)},CONNECTION_OPEN:function(e){re=e.sessionId,Ee=!1,ve=!1},CONNECTION_CLOSED:function(e){re=null},RTC_CONNECTION_STATE:function(e){switch(e.state){case W.RTCConnectionStates.CONNECTING:qe();break;case W.RTCConnectionStates.RTC_CONNECTING:Oe=!1,Ne=!1;break;case W.RTCConnectionStates.RTC_CONNECTED:He()}We.update()},AUDIO_SET_TEMPORARY_SELF_MUTE:function(e){var t=e.mute;he=t,oe.eachConnection(Ve)},AUDIO_TOGGLE_SELF_MUTE:function(e){var t=e.context,n=Ge(t),r=n.mute,i=n.deaf;if(t===c.MediaEngineContextTypes.DEFAULT&&(b.default.requestPermission(R.NativePermissionTypes.AUDIO),me))return!1;(r=!i&&!r)||(i=!1),ze({mute:r,deaf:i},t),oe.eachConnection(Ve)},AUDIO_TOGGLE_SELF_DEAF:function(e){var t=e.context;ze({deaf:!Ge(t).deaf},t),oe.eachConnection(Ve)},AUDIO_TOGGLE_LOCAL_MUTE:function(e){var t=e.context,n=e.userId,r=Ge(t).localMutes;r[n]?delete r[n]:r[n]=!0,ze({localMutes:r},t),oe.eachConnection((function(e){return e.setLocalMute(n,r[n]||!1)}),t)},AUDIO_SET_LOCAL_VIDEO_DISABLED:function(e){var t=e.context,n=e.userId,r=e.disabled,i=e.persist,o=Ge(t).disabledLocalVideos;r?o[n]=!0:delete o[n],ze({disabledLocalVideos:o},t,i),oe.eachConnection((function(e){var t;return e.setLocalVideoDisabled(n,null!==(t=o[n])&&void 0!==t&&t)}),t)},AUDIO_SET_LOCAL_VOLUME:function(e){var t=e.context,n=e.userId,r=e.volume,i=t===c.MediaEngineContextTypes.STREAM?c.DEFAULT_STREAM_VOLUME:c.DEFAULT_VOLUME,o=Ge(t).localVolumes;r===i?delete o[n]:o[n]=r,ze({localVolumes:o},t),oe.eachConnection((function(e){return e.setLocalVolume(n,r)}),t)},AUDIO_SET_LOCAL_PAN:function(e){var t=e.context,n=e.userId,r=e.left,i=e.right,o=Ge(t).localPans;o[n]={left:r,right:i},ze({localPans:o},t),oe.eachConnection((function(e){return e.setLocalPan(n,r,i)}),t)},AUDIO_SET_MODE:function(e){var t=e.context;ze({mode:e.mode,modeOptions:e.options},t),oe.eachConnection(Ye),We.update()},AUDIO_SET_INPUT_VOLUME:function(e){var t=e.volume;ze({inputVolume:xe(t)}),oe.setInputVolume(t)},AUDIO_SET_OUTPUT_VOLUME:function(e){var t=e.volume;ze({outputVolume:t}),oe.setOutputVolume(t)},AUDIO_SET_INPUT_DEVICE:function(e){var t=e.id;ze({inputDeviceId:t=Qe(fe,t)}),oe.setAudioInputDevice(t)},AUDIO_SET_OUTPUT_DEVICE:function(e){var t=e.id;ze({outputDeviceId:t=Qe(_e,t)}),oe.setAudioOutputDevice(t)},AUDIO_SET_ECHO_CANCELLATION:function(e){var t=ze({echoCancellation:e.enabled});oe.eachConnection((function(e){return e.setEchoCancellation(t.echoCancellation)})),nt(oe.getLoopback()),tt(e.location)},AUDIO_SET_LOOPBACK:function(e){return nt(e.enabled)},AUDIO_SET_NOISE_SUPPRESSION:function(e){var t=ze({noiseSuppression:e.enabled});oe.eachConnection((function(e){return e.setNoiseSuppression(t.noiseSuppression)})),nt(oe.getLoopback()),tt(e.location)},AUDIO_SET_AUTOMATIC_GAIN_CONTROL:function(e){var t=ze({automaticGainControl:e.enabled});oe.eachConnection((function(e){return e.setAutomaticGainControl(t.automaticGainControl)})),nt(oe.getLoopback()),tt(e.location)},AUDIO_SET_NOISE_CANCELLATION:function(e){var t=ze({noiseCancellation:e.enabled});oe.eachConnection((function(e){return e.setNoiseCancellation(t.noiseCancellation)})),nt(oe.getLoopback()),tt(e.location),st()},AUDIO_SET_DISPLAY_SILENCE_WARNING:function(e){ze({silenceWarning:e.enabled}),We.update()},AUDIO_SET_DEBUG_LOGGING:function(e){oe.setDebugLogging(e.enabled)},MEDIA_ENGINE_SET_VIDEO_HOOK:function(e){ze({videoHook:e.enabled})},MEDIA_ENGINE_SET_EXPERIMENTAL_SOUNDSHARE:function(e){ze({experimentalSoundshare2:e.enabled})},AUDIO_SET_ATTENUATION:function(e){var t=ze({attenuation:e.attenuation,attenuateWhileSpeakingSelf:e.attenuateWhileSpeakingSelf,attenuateWhileSpeakingOthers:e.attenuateWhileSpeakingOthers});oe.eachConnection((function(e){return e.setAttenuation(t.attenuation,t.attenuateWhileSpeakingSelf,t.attenuateWhileSpeakingOthers)}))},AUDIO_SET_QOS:function(e){var t=e.enabled;ze({qos:t}),oe.eachConnection((function(e){return e.setQoS(t)}))},MEDIA_ENGINE_DEVICES:function(e){var t=e.inputDevices,n=e.outputDevices,r=e.videoDevices;Ze(t),$e(n),et(r)},AUDIO_VOLUME_CHANGE:function(e){var t=e.inputVolume,n=e.outputVolume;ze({inputVolume:xe(t),outputVolume:n})},AUDIO_RESET:function(e){return rt()},AUDIO_INPUT_DETECTED:function(e){var t=e.inputDetected;Ae=t,!Oe&&Ae&&(Oe=!0,We.update())},AUDIO_SET_SUBSYSTEM:function(e){oe.setAudioSubsystem(e.subsystem)},MEDIA_ENGINE_SET_AUDIO_ENABLED:function(e){ue=e.enabled,e.unmute&&ze({mute:!1,deaf:!1}),oe.eachConnection(Ve)},MEDIA_ENGINE_SET_VIDEO_ENABLED:function(e){var t=e.enabled;b.default.requestPermission(R.NativePermissionTypes.CAMERA),He(t)},MEDIA_ENGINE_PERMISSION:function(e){var t=e.kind;if(!e.granted)switch(t){case"audio":ue=!1,oe.eachConnection(Ve);break;case"video":He(!1)}},MEDIA_ENGINE_SET_DESKTOP_SOURCE:function(e){var t,n=e.sourceId,r=e.resolution,i=void 0===r?720:r,o=e.frameRate,a=void 0===o?30:o,s=e.sound,u=void 0!==s&&s,l=e.context,d=void 0===l?c.MediaEngineContextTypes.DEFAULT:l;if(null!=n){var f=null,p=null,E=D.default.getPidFromDesktopSource(n);if(C.default.embedded&&!0===u){if(ne.getExperimentalSoundshare())f=E;else{var h=m.default.getCurrentConfig({}).enableMacOSSoundshare;C.default.isOSX()&&!h||(f=D.default.getAudioPid(E))}null!=f&&(p=D.default.generateSessionFromPid(f),C.default.isWindows()&&A.attachToProcess(f,{soundshare_session:p}).then((function(e){null==e||H.default.shouldContinueWithoutElevatedProcessForPID(f)||_.default.wait((function(){_.default.dispatch({type:W.ActionTypes.MEDIA_ENGINE_SOUNDSHARE_FAILED,errorMessage:e})}))})))}(t=d)!==de&&(null!=ie&&oe.setDesktopSource(null,de),de=t),He(d===c.MediaEngineContextTypes.STREAM&&Te,{id:n,resolution:i,frameRate:a,sourcePid:E,soundshareId:f,soundshareSession:p})}else He(Te,null)},MEDIA_ENGINE_SET_VIDEO_DEVICE:function(e){var t=e.id;ze({videoDeviceId:t=Qe(pe,t)}),He()},MEDIA_ENGINE_SET_EXPERIMENTAL_ENCODERS:function(e){var t=ze({experimentalEncoders:e.enabled});oe.eachConnection((function(e){return e.setExperimentalEncoders(t.experimentalEncoders)}))},MEDIA_ENGINE_INTERACTION_REQUIRED:function(e){return ce!==e.required&&(ce=e.required,e.required||oe.interact(),!0)},USER_SETTINGS_MODAL_INIT:ut,USER_SETTINGS_MODAL_SET_SECTION:ut,CERTIFIED_DEVICES_SET:function(e){return oe.eachConnection(je),!1},RPC_APP_CONNECTED:function(e){var t=e.application;se.add(t.id)},RPC_APP_DISCONNECTED:function(e){var t=e.application;se.delete(t.id)},OVERLAY_INITIALIZE:function(e){var t=e.mediaEngineState;ae=t.settingsByContext,fe=t.inputDevices,_e=t.outputDevices,Ue=t.appSupported,Le=t.krispModuleLoaded,ie=t.desktopSource,de=t.desktopSourceContext},MEDIA_ENGINE_SET_OPEN_H264:function(e){var t=ze({openH264:e.enabled});oe.setH264Enabled(t.openH264)},MEDIA_ENGINE_SET_HARDWARE_H264:function(e){var t=ze({hardwareH264:e.enabled});oe.eachConnection((function(e){return e.setHardwareH264(t.hardwareH264)}))},APP_STATE_UPDATE:function(e){var t=e.state;if(t===W.AppStates.BACKGROUND&&Te)Se=!0,He(!1);else{if(t!==W.AppStates.ACTIVE||!Se)return!1;Se=!1,He(!0)}return!0},SET_CHANNEL_BITRATE:function(e){oe.eachConnection((function(t){return t.setBitRate(e.bitrate)}))},SET_VAD_PERMISSION:function(e){var t=!e.hasPermission;if(t===me)return!1;me=t,oe.eachConnection(Ve)},SET_NATIVE_PERMISSION:function(e){var t=e.state,n=e.permissionType,r=t===R.NativePermissionStates.ACCEPTED;switch(n){case R.NativePermissionTypes.AUDIO:oe.eachConnection(Ve);break;case R.NativePermissionTypes.CAMERA:!r&&Te&&He(!1);break;default:return!1}},SET_CHANNEL_VIDEO_QUALITY_MODE:function(e){oe.eachConnection((function(t){return t.applyVideoQualityMode(e.mode)}))},MEDIA_ENGINE_SET_AEC_DUMP:function(e){var t=ze({aecDumpEnabled:e.enabled});oe.setAecDump(t.aecDumpEnabled)},CHANNEL_DELETE:function(e){return function(){if(!Te&&null==ie||null!=V.default.getRTCConnectionId())return!1;He(!1,null)}()},MEDIA_ENGINE_NOISE_CANCELLATION_ERROR_RESET:function(e){return!!Ce&&(Ce=!1,!0)},MEDIA_ENGINE_ENABLE_SOUNDSHARE:function(e){return dt()}});t.default=_t},function(e,t,n){var r=n(18),i=n(59),o=n(58),a=n(109)("src"),s=n(496),u=(""+s).split("toString");n(30).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var l="function"==typeof n;l&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(l&&(o(n,a)||i(n,a,e[t]?""+e[t]:u.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(e,t,n){var r=n(4),i=n(19),o=n(83),a=/"/g,s=function(e,t,n,r){var i=String(o(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,"&quot;")+'"'),s+">"+i+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*i((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",n)}},function(e,t,n){"use strict";n.r(t),n.d(t,"MemoryRouter",(function(){return v})),n.d(t,"Prompt",(function(){return g})),n.d(t,"Redirect",(function(){return A})),n.d(t,"Route",(function(){return b})),n.d(t,"Router",(function(){return m})),n.d(t,"StaticRouter",(function(){return w})),n.d(t,"Switch",(function(){return U})),n.d(t,"__HistoryContext",(function(){return E})),n.d(t,"__RouterContext",(function(){return h})),n.d(t,"generatePath",(function(){return y})),n.d(t,"matchPath",(function(){return R})),n.d(t,"useHistory",(function(){return Y})),n.d(t,"useLocation",(function(){return x})),n.d(t,"useParams",(function(){return V})),n.d(t,"useRouteMatch",(function(){return H})),n.d(t,"withRouter",(function(){return k}));var r=n(65),i=n(0),o=n.n(i),a=(n(17),n(104)),s=n(462),u=n(103),l=n(49),c=n(464),d=n.n(c),f=(n(968),n(87)),_=n(1141),p=n.n(_),E=function(e){var t=Object(s.a)();return t.displayName=e,t}("Router-History"),h=function(e){var t=Object(s.a)();return t.displayName=e,t}("Router"),m=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(r.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return o.a.createElement(h.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.a.createElement(E.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o.a.Component);var v=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).history=Object(a.createMemoryHistory)(t.props),t}return Object(r.a)(t,e),t.prototype.render=function(){return o.a.createElement(m,{history:this.history,children:this.props.children})},t}(o.a.Component);var T=function(e){function t(){return e.apply(this,arguments)||this}Object(r.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(o.a.Component);function g(e){var t=e.message,n=e.when,r=void 0===n||n;return o.a.createElement(h.Consumer,null,(function(e){if(e||Object(u.default)(!1),!r||e.staticContext)return null;var n=e.history.block;return o.a.createElement(T,{onMount:function(e){e.release=n(t)},onUpdate:function(e,r){r.message!==t&&(e.release(),e.release=n(t))},onUnmount:function(e){e.release()},message:t})}))}var I={},S=0;function y(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(I[e])return I[e];var t=d.a.compile(e);return S<1e4&&(I[e]=t,S++),t}(e)(t,{pretty:!0})}function A(e){var t=e.computedMatch,n=e.to,r=e.push,i=void 0!==r&&r;return o.a.createElement(h.Consumer,null,(function(e){e||Object(u.default)(!1);var r=e.history,s=e.staticContext,c=i?r.push:r.replace,d=Object(a.createLocation)(t?"string"==typeof n?y(n,t.params):Object(l.a)({},n,{pathname:y(n.pathname,t.params)}):n);return s?(c(d),null):o.a.createElement(T,{onMount:function(){c(d)},onUpdate:function(e,t){var n=Object(a.createLocation)(t.to);Object(a.locationsAreEqual)(n,Object(l.a)({},d,{key:n.key}))||c(d)},to:n})}))}var O={},N=0;function R(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,i=n.exact,o=void 0!==i&&i,a=n.strict,s=void 0!==a&&a,u=n.sensitive,l=void 0!==u&&u;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=O[n]||(O[n]={});if(r[e])return r[e];var i=[],o={regexp:d()(e,i,t),keys:i};return N<1e4&&(r[e]=o,N++),o}(n,{end:o,strict:s,sensitive:l}),i=r.regexp,a=r.keys,u=i.exec(e);if(!u)return null;var c=u[0],f=u.slice(1),_=e===c;return o&&!_?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:_,params:a.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var b=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(h.Consumer,null,(function(t){t||Object(u.default)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?R(n.pathname,e.props):t.match,i=Object(l.a)({},t,{location:n,match:r}),a=e.props,s=a.children,c=a.component,d=a.render;return Array.isArray(s)&&0===s.length&&(s=null),o.a.createElement(h.Provider,{value:i},i.match?s?"function"==typeof s?s(i):s:c?o.a.createElement(c,i):d?d(i):null:"function"==typeof s?s(i):null)}))},t}(o.a.Component);function L(e){return"/"===e.charAt(0)?e:"/"+e}function D(e,t){if(!e)return t;var n=L(e);return 0!==t.pathname.indexOf(n)?t:Object(l.a)({},t,{pathname:t.pathname.substr(n.length)})}function C(e){return"string"==typeof e?e:Object(a.createPath)(e)}function M(e){return function(){Object(u.default)(!1)}}function P(){}var w=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).handlePush=function(e){return t.navigateTo(e,"PUSH")},t.handleReplace=function(e){return t.navigateTo(e,"REPLACE")},t.handleListen=function(){return P},t.handleBlock=function(){return P},t}Object(r.a)(t,e);var n=t.prototype;return n.navigateTo=function(e,t){var n=this.props,r=n.basename,i=void 0===r?"":r,o=n.context,s=void 0===o?{}:o;s.action=t,s.location=function(e,t){return e?Object(l.a)({},t,{pathname:L(e)+t.pathname}):t}(i,Object(a.createLocation)(e)),s.url=C(s.location)},n.render=function(){var e=this.props,t=e.basename,n=void 0===t?"":t,r=e.context,i=void 0===r?{}:r,s=e.location,u=void 0===s?"/":s,c=Object(f.a)(e,["basename","context","location"]),d={createHref:function(e){return L(n+C(e))},action:"POP",location:D(n,Object(a.createLocation)(u)),push:this.handlePush,replace:this.handleReplace,go:M(),goBack:M(),goForward:M(),listen:this.handleListen,block:this.handleBlock};return o.a.createElement(m,Object(l.a)({},c,{history:d,staticContext:i}))},t}(o.a.Component);var U=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(h.Consumer,null,(function(t){t||Object(u.default)(!1);var n,r,i=e.props.location||t.location;return o.a.Children.forEach(e.props.children,(function(e){if(null==r&&o.a.isValidElement(e)){n=e;var a=e.props.path||e.props.from;r=a?R(i.pathname,Object(l.a)({},e.props,{path:a})):t.match}})),r?o.a.cloneElement(n,{location:i,computedMatch:r}):null}))},t}(o.a.Component);function k(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=Object(f.a)(t,["wrappedComponentRef"]);return o.a.createElement(h.Consumer,null,(function(t){return t||Object(u.default)(!1),o.a.createElement(e,Object(l.a)({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,p()(n,e)}var G=o.a.useContext;function Y(){return G(E)}function x(){return G(h).location}function V(){var e=G(h).match;return e?e.params:{}}function H(e){var t=x(),n=G(h).match;return e?R(t.pathname,e):n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=s(n(9)),o=s(n(5719)),a=s(n(1170));function s(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(){return(l=Object.assign||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}).apply(this,arguments)}function c(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}var d={VERTICAL:a.default.vertical,HORIZONTAL:o.default.horizontal,HORIZONTAL_REVERSE:o.default.horizontalReverse},f={START:a.default.justifyStart,END:a.default.justifyEnd,CENTER:a.default.justifyCenter,BETWEEN:a.default.justifyBetween,AROUND:a.default.justifyAround},_={START:a.default.alignStart,END:a.default.alignEnd,CENTER:a.default.alignCenter,STRETCH:a.default.alignStretch,BASELINE:a.default.alignBaseline},p={NO_WRAP:a.default.noWrap,WRAP:a.default.wrap,WRAP_REVERSE:a.default.wrapReverse},E=function(e){var t=e.children,n=e.className,a=e.shrink,s=e.grow,u=e.basis,d=e.style,f=e.wrap,_=void 0!==f&&f,p=c(e,["children","className","shrink","grow","basis","style","wrap"]),E=l({className:n=null!=n?n:o.default.flexChild,style:l({flexGrow:s,flexShrink:a,flexBasis:u},d)},p);if(!_&&"string"!=typeof t&&1===r.Children.count(t)){var h=r.Children.only(t);return E.style=l({},E.style,{},h.props.style),E.className=(0,i.default)(h.props.className,n),r.cloneElement(h,E)}return r.createElement("div",E,t)};E.displayName="FlexChild",E.defaultProps={shrink:1,grow:1,basis:"auto",wrap:!1};var h=function(e){var t=e.children,n=e.className,a=e.direction,s=void 0===a?d.HORIZONTAL:a,u=e.justify,E=void 0===u?f.START:u,h=e.align,m=void 0===h?_.STRETCH:h,v=e.wrap,T=void 0===v?p.NO_WRAP:v,g=e.shrink,I=e.grow,S=e.basis,y=e.style,A=c(e,["children","className","direction","justify","align","wrap","shrink","grow","basis","style"]);return r.createElement("div",l({style:l({flexShrink:g,flexGrow:I,flexBasis:S},y),className:(0,i.default)(o.default.flex,s,E,m,T,n)},A),t)};h.displayName="Flex",h.defaultProps={shrink:1,grow:1,basis:"auto"},h.Child=E,h.Direction=d,h.Align=_,h.Justify=f,h.Wrap=p;var m=h;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(8)),i=n(202),o=c(n(3)),a=c(n(2)),s=c(n(26)),u=n(48),l=c(n(15));n(1);function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(){return(f=Object.assign||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}).apply(this,arguments)}function _(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var E=new s.default("GuildMemberStore"),h={};function m(e,t,n,r,o,a,s,u,l){var c=null,d=null;if(a&&a.length>0){for(var f,p=null,E=null,h=_(a);!(f=h()).done;){var m=o[f.value];m&&(m.color>0&&(null==p||m.position>p.position)&&(p=m),m.hoist&&(null==E||m.position>E.position)&&(E=m))}p&&(null!=p.colorString?c=p.colorString:p.color&&(p.colorString=(0,i.int2hex)(p.color))),E&&(d=E.id)}return{userId:e,nick:t,guildId:n,guildMemberAvatar:r,roles:a,colorString:c,hoistRoleId:d,premiumSince:s,isPending:u,joinedAt:l}}function v(e){e.guilds.forEach((function(e){var t=S(e);null!=t&&(h[e.id]=f({},h[e.id],{},t))}))}function T(e){var t=e.guildMembers;h=f({},t)}function g(e){var t=e.guildId,n=e.user,r=e.nick,i=e.guildMemberAvatar,o=e.roles,a=e.premiumSince,s=e.isPending,u=e.joinedAt,c=h[t];if(null==c)return!1;var d=l.default.getGuild(t);if(null==d)return E.warn("Guild "+t+" not found during GUILD_MEMBER_UPDATE."),!1;c[n.id]=m(n.id,r,t,i,d.roles,o,a,s,u)}function I(e,t){var n=h[e];if(null==n)return!1;var r=l.default.getGuild(e);if(null==r)return E.warn("Guild "+e+" not found during GUILD_MEMBERS_CHUNK."),!1;t.forEach((function(t){n[t.user.id]=m(t.user.id,t.nick,e,t.avatar,r.roles,t.roles,t.premium_since,t.is_pending,t.joined_at)}))}function S(e){var t=l.default.getGuild(e.id);if(null==t)return null;var n={};return e.members.forEach((function(r){var i=r.user,o=r.nick,a=r.avatar,s=r.roles,u=r.premium_since,l=r.is_pending,c=r.joined_at;n[i.id]=m(i.id,o,e.id,a,t.roles,s,u,l,c)})),n}function y(e){var t=h[e.guildId];if(null==t)return!1;var n=l.default.getGuild(e.guildId);if(null==n)return E.warn("Guild "+e.guildId+" not found during "+e.type+"."),!1;for(var r=0,i=Object.keys(t);r<i.length;r++){var o=i[r],a=t[o];(a.roles&&a.roles.length>0||a.colorString||a.hoistRoleId)&&(t[o]=m(o,a.nick,e.guildId,a.guildMemberAvatar,n.roles,a.roles,a.premiumSince,a.isPending,a.joinedAt))}}var A=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var o=i.prototype;return o.initialize=function(){this.waitFor(l.default)},o.getAllGuildsAndMembers=function(){return h},o.memberOf=function(e){return(0,r.default)(h).toPairs().filter((function(t){t[0];return null!=t[1][e]})).map((function(e){return e[0]})).value()},o.getNicknameGuildsMapping=function(e){var t={};for(var n in h){var r,i=null===(r=h[n][e])||void 0===r?void 0:r.nick;null!=i&&(null==t[i]&&(t[i]=[]),t[i].push(n))}return t},o.getAvatarGuildsMapping=function(e){var t={};for(var n in h){var r,i=null===(r=h[n][e])||void 0===r?void 0:r.guildMemberAvatar;null!=i&&(null==t[i]&&(t[i]=[]),t[i].push(n))}return t},o.getNicknames=function(e){return Object.keys(this.getNicknameGuildsMapping(e))},o.isMember=function(e,t){if(!e||!t)return!1;var n=h[e];return null!=n&&null!=n[t]},o.getMemberIds=function(e){if(null==e)return[];var t=h[e];return null==t?[]:Object.keys(t)},o.getMembers=function(e){if(null==e)return[];var t=h[e];return null==t?[]:Object.values(t)},o.getKeyedMembers=function(e){return h[e]||{}},o.getMember=function(e,t){var n=h[e];return null!=n?n[t]:null},o.getNick=function(e,t){if(!e||!t)return null;var n=this.getMember(e,t);return null!=n?n.nick:null},i}(o.default.Store))(a.default,{CONNECTION_OPEN:function(e){h={},v(e)},CONNECTION_OPEN_SUPPLEMENTAL:function(e){v(e)},OVERLAY_INITIALIZE:T,CACHE_LOADED_LAZY:T,GUILD_CREATE:function(e){var t=e.guild,n=S(t);if(null==n)return!1;var r=h[t.id];h[t.id]=f({},r||{},{},n)},GUILD_DELETE:function(e){var t=e.guild;delete h[t.id]},GUILD_MEMBER_ADD:g,GUILD_MEMBER_UPDATE:g,GUILD_MEMBERS_CHUNK:function(e){return I(e.guildId,e.members)},GUILD_MEMBER_REMOVE:function(e){var t=e.guildId,n=e.user,r=h[t];if(null==r||null==r[n.id])return!1;delete r[n.id]},THREAD_MEMBER_LIST_UPDATE:function(e){return I(e.guildId,e.members.map((function(e){return e.member})).filter(u.isNotNullish))},THREAD_MEMBERS_UPDATE:function(e){var t=e.guildId,n=e.addedMembers;return null!=n&&I(t,n.map((function(e){return e.member})).filter(u.isNotNullish))},GUILD_ROLE_UPDATE:y,GUILD_ROLE_DELETE:y});t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeoutPromise=function(e){return new Promise((function(t){setTimeout((function(){return t()}),e)}))},t.Interval=t.DelayedCall=t.Timeout=void 0;var r=function(){function e(){}var t=e.prototype;return t.start=function(e,t,n){var r=this;void 0===n&&(n=!0),this.isStarted()&&!n||(this.stop(),this._ref=window.setTimeout((function(){r._ref=null,t()}),e))},t.stop=function(){null!=this._ref&&(clearTimeout(this._ref),this._ref=null)},t.isStarted=function(){return null!=this._ref},e}();t.Timeout=r;var i=function(){function e(e,t){this._delay=e,this._handler=t,this._timeout=new r}var t=e.prototype;return t.set=function(e){return this._delay=e,this},t.delay=function(e){void 0===e&&(e=!0),this._timeout.start(this._delay,this._handler,e)},t.cancel=function(){this._timeout.stop()},t.isDelayed=function(){return this._timeout.isStarted()},e}();t.DelayedCall=i;var o=function(){function e(){}var t=e.prototype;return t.start=function(e,t){this.stop(),this._ref=window.setInterval(t,e)},t.stop=function(){null!=this._ref&&(clearInterval(this._ref),this._ref=null)},e}();t.Interval=o},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(33),i=n(108);e.exports=n(32)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(143),i=n(83);e.exports=function(e){return r(i(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=s(n(9)),o=s(n(88)),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(){return(l=Object.assign||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}).apply(this,arguments)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){var t,n;function s(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).handleKeyPress=function(e){var n=t.props,r=n.onClick,i=n.href,o=n.onKeyPress;e.repeat||(null==r||null==t.ref||e.charCode!==a.KeyboardKeys.SPACE&&e.charCode!==a.KeyboardKeys.ENTER||(null==i&&e.preventDefault(),t.ref.click()),null!=o&&o(e))},t.setRef=function(e){t.ref=e;var n=t.props.innerRef;null!=n&&("function"==typeof n?n(e):n.hasOwnProperty("current")&&(n.current=e))},t}n=e,(t=s).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var u=s.prototype;return u.renderInner=function(){var e=this.props,t=e.tag,n=e.onClick,o=e.className,a=e.children,s=(e.focusProps,e.innerRef,function(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}(e,["tag","onClick","className","children","focusProps","innerRef"]));return null==n?r.createElement(t,l({ref:this.setRef,className:(0,i.default)(o)},s),a):r.createElement(t,l({onClick:n,ref:this.setRef,onKeyPress:this.handleKeyPress,className:(0,i.default)(o)},s),a)},u.render=function(){return r.createElement(o.default,this.props.focusProps,this.renderInner())},s}(r.Component);d.displayName="Clickable",d.defaultProps={tag:"div",role:"button",tabIndex:0};var f=d;t.default=f},function(e,t,n){"use strict";function r(){return(r=Object.assign||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}).apply(this,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(){function e(e){}var t=e.prototype;return t.toJS=function(){return r({},this)},t.set=function(e,t){var n;return this.hasOwnProperty(e)&&this[e]!==t?new this.constructor(r({},this,((n={})[e]=t,n))):this},t.merge=function(e){var t=null;for(var n in e)if(e.hasOwnProperty(n)&&this.hasOwnProperty(n)){var i=e[n];this[n]!==i&&(null==t&&(t=r({},this)),t[n]=e[n])}return null!=t?new this.constructor(t):this},t.update=function(t,n,i){null==i&&(i=n,n=void 0);var o=this[t];return o instanceof e||(o instanceof Array?o=[].concat(o):o instanceof Object&&(o=r({},o))),void 0===o&&(o=n),this.set(t,i(o))},e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BigFlag=void 0;var r,i=(r=n(1517))&&r.__esModule?r:{default:r};var o=function(){try{return BigInt,!0}catch(e){return!1}}(),a=function(){function e(e){this.data=e}var t=e.prototype;return t.to32BitNumber=function(){if(null!=this.cached32BitNumber)return this.cached32BitNumber;var e=d(this,c);return this.cached32BitNumber=o?Number(e.data):parseInt(e.data.toString(2),2),this.cached32BitNumber},t.toString=function(){return null!=this.cachedString||(this.cachedString=o?String(this.data):this.data.toString(10)),this.cachedString},t.toJSON=function(){return this.toString()},e}();t.BigFlag=a;var s={},u=o?function(e){if(e instanceof a)return e;if(null!=s[e])return s[e];var t=new a(BigInt(e));return s[e]=t,t}:function(e){if(e instanceof a)return e;if(null!=s[e])return s[e];if("number"==typeof e)s[e]=new a(new i.default(e));else{var t=function(e){for(var t,n,r=e.toString().split(""),i=[],o=[];r.length;)for(n=1*r.shift(),t=0;n||t<i.length;t++)n+=10*(i[t]||0),i[t]=n%16,n=(n-i[t])/16;for(;i.length;)o.push(i.pop().toString(16));return o.join("")}(e)||"0";s[e]=new a(i.default.fromHexString(t))}return s[e]},l=u(0),c=u(2147483647),d=o?function(e,t){return void 0===e&&(e=l),void 0===t&&(t=l),new a(e.data&t.data)}:function(e,t){return void 0===e&&(e=l),void 0===t&&(t=l),new a(e.data.and(t.data))},f=o?function(e,t){return void 0===e&&(e=l),void 0===t&&(t=l),new a(e.data|t.data)}:function(e,t){return void 0===e&&(e=l),void 0===t&&(t=l),new a(e.data.or(t.data))},_=o?function(e,t){return void 0===e&&(e=l),void 0===t&&(t=l),new a(e.data^t.data)}:function(e,t){return void 0===e&&(e=l),void 0===t&&(t=l),new a(e.data.xor(t.data))},p=o?function(e,t){return(null==e?void 0:e.data)===(null==t?void 0:t.data)}:function(e,t){return null==e||null==t?e==t:e.data.equals(t.data)};var E={combine:function(){for(var e=arguments.length<=0?void 0:arguments[0],t=1;t<arguments.length;t++)e=f(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},add:f,remove:function(e,t){return _(e,d(e,t))},filter:d,invert:o?function(e){return void 0===e&&(e=l),new a(~e.data)}:function(e){return void 0===e&&(e=l),new a(e.data.not())},has:function(e,t){return p(d(e,t),t)},hasAny:function(e,t){return!p(d(e,t),l)},equals:p,deserialize:u,getFlag:o?function(e){return new a(BigInt(1)<<BigInt(e))}:function(e){return new a(new i.default([e]))}};t.default=E},function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function d(e,t,n,r){var i,o,a,s;if(l(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=c(e))>0&&a.length>i&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,s=u,console&&console.warn&&console.warn(s)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=f.bind(r);return i.listener=n,r.wrapFn=i,i}function p(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):h(i,i.length)}function E(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return c(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=i[e];if(void 0===u)return!1;if("function"==typeof u)o(u,this,t);else{var l=u.length,c=h(u,l);for(n=0;n<l;++n)o(c[n],this,t)}return!0},s.prototype.addListener=function(e,t){return d(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return d(this,e,t,!0)},s.prototype.once=function(e,t){return l(t),this.on(e,_(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,_(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,i,o,a;if(l(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):E.call(e,t)},s.prototype.listenerCount=E,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",(function(){return r}))},function(e,t,n){(function(e,r){var i;(function(){"use strict";var o={function:!0,object:!0},a=o[typeof window]&&window||this,s=o[typeof t]&&t,u=o[typeof e]&&e&&!e.nodeType&&e,l=s&&u&&"object"==typeof r&&r;!l||l.global!==l&&l.window!==l&&l.self!==l||(a=l);var c=Math.pow(2,53)-1,d=/\bOpera/,f=Object.prototype,_=f.hasOwnProperty,p=f.toString;function E(e){return(e=String(e)).charAt(0).toUpperCase()+e.slice(1)}function h(e){return e=I(e),/^(?:webOS|i(?:OS|P))/.test(e)?e:E(e)}function m(e,t){for(var n in e)_.call(e,n)&&t(e[n],n,e)}function v(e){return null==e?E(e):p.call(e).slice(8,-1)}function T(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function g(e,t){var n=null;return function(e,t){var n=-1,r=e?e.length:0;if("number"==typeof r&&r>-1&&r<=c)for(;++n<r;)t(e[n],n,e);else m(e,t)}(e,(function(r,i){n=t(n,r,i,e)})),n}function I(e){return String(e).replace(/^ +| +$/g,"")}var S=function e(t){var n=a,r=t&&"object"==typeof t&&"String"!=v(t);r&&(n=t,t=null);var i=n.navigator||{},o=i.userAgent||"";t||(t=o);var s,u,l,c,f,_=r?!!i.likeChrome:/\bChrome\b/.test(t)&&!/internal|\n/i.test(p.toString()),E=r?"Object":"ScriptBridgingProxyObject",S=r?"Object":"Environment",y=r&&n.java?"JavaPackage":v(n.java),A=r?"Object":"RuntimeObject",O=/\bJava/.test(y)&&n.java,N=O&&v(n.environment)==S,R=O?"a":"α",b=O?"b":"β",L=n.document||{},D=n.operamini||n.opera,C=d.test(C=r&&D?D["[[Class]]"]:v(D))?C:D=null,M=t,P=[],w=null,U=t==o,k=U&&D&&"function"==typeof D.version&&D.version(),G=g([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"],(function(e,n){return e||RegExp("\\b"+(n.pattern||T(n))+"\\b","i").exec(t)&&(n.label||n)})),Y=function(e){return g(e,(function(e,n){return e||RegExp("\\b"+(n.pattern||T(n))+"\\b","i").exec(t)&&(n.label||n)}))}(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"Edge"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Waterfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),x=F([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),V=function(e){return g(e,(function(e,n,r){return e||(n[x]||n[/^[a-z]+(?: +[a-z]+\b)*/i.exec(x)]||RegExp("\\b"+T(r)+"(?:\\b|\\w*\\d)","i").exec(t))&&r}))}({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1}}),H=function(e){return g(e,(function(e,n){var r=n.pattern||T(n);return!e&&(e=RegExp("\\b"+r+"(?:/[\\d.]+|[ \\w.]*)","i").exec(t))&&(e=function(e,t,n){var r={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return t&&n&&/^Win/i.test(e)&&!/^Windows Phone /i.test(e)&&(r=r[/[\d.]+$/.exec(e)])&&(e="Windows "+r),e=String(e),t&&n&&(e=e.replace(RegExp(t,"i"),n)),e=h(e.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0])}(e,r,n.label||n)),e}))}(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function F(e){return g(e,(function(e,n){var r=n.pattern||T(n);return!e&&(e=RegExp("\\b"+r+" *\\d+[.\\w_]*","i").exec(t)||RegExp("\\b"+r+" *\\w+-[\\w]*","i").exec(t)||RegExp("\\b"+r+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(t))&&((e=String(n.label&&!RegExp(r,"i").test(n.label)?n.label:e).split("/"))[1]&&!/[\d.]+/.test(e[0])&&(e[0]+=" "+e[1]),n=n.label||n,e=h(e[0].replace(RegExp(r,"i"),n).replace(RegExp("; *(?:"+n+"[_-])?","i")," ").replace(RegExp("("+n+")[-_.]?(\\w)","i"),"$1 $2"))),e}))}if(G&&(G=[G]),V&&!x&&(x=F([V])),(s=/\bGoogle TV\b/.exec(x))&&(x=s[0]),/\bSimulator\b/i.test(t)&&(x=(x?x+" ":"")+"Simulator"),"Opera Mini"==Y&&/\bOPiOS\b/.test(t)&&P.push("running in Turbo/Uncompressed mode"),"IE"==Y&&/\blike iPhone OS\b/.test(t)?(V=(s=e(t.replace(/like iPhone OS/,""))).manufacturer,x=s.product):/^iP/.test(x)?(Y||(Y="Safari"),H="iOS"+((s=/ OS ([\d_]+)/i.exec(t))?" "+s[1].replace(/_/g,"."):"")):"Konqueror"!=Y||/buntu/i.test(H)?V&&"Google"!=V&&(/Chrome/.test(Y)&&!/\bMobile Safari\b/i.test(t)||/\bVita\b/.test(x))||/\bAndroid\b/.test(H)&&/^Chrome/.test(Y)&&/\bVersion\//i.test(t)?(Y="Android Browser",H=/\bAndroid\b/.test(H)?H:"Android"):"Silk"==Y?(/\bMobi/i.test(t)||(H="Android",P.unshift("desktop mode")),/Accelerated *= *true/i.test(t)&&P.unshift("accelerated")):"PaleMoon"==Y&&(s=/\bFirefox\/([\d.]+)\b/.exec(t))?P.push("identifying as Firefox "+s[1]):"Firefox"==Y&&(s=/\b(Mobile|Tablet|TV)\b/i.exec(t))?(H||(H="Firefox OS"),x||(x=s[1])):!Y||(s=!/\bMinefield\b/i.test(t)&&/\b(?:Firefox|Safari)\b/.exec(Y))?(Y&&!x&&/[\/,]|^[^(]+?\)/.test(t.slice(t.indexOf(s+"/")+8))&&(Y=null),(s=x||V||H)&&(x||V||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(H))&&(Y=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(H)?H:s)+" Browser")):"Electron"==Y&&(s=(/\bChrome\/([\d.]+)\b/.exec(t)||0)[1])&&P.push("Chromium "+s):H="Kubuntu",k||(k=g(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",T(Y),"(?:Firefox|Minefield|NetFront)"],(function(e,n){return e||(RegExp(n+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(t)||0)[1]||null}))),(s=("iCab"==G&&parseFloat(k)>3?"WebKit":/\bOpera\b/.test(Y)&&(/\bOPR\b/.test(t)?"Blink":"Presto"))||/\b(?:Midori|Nook|Safari)\b/i.test(t)&&!/^(?:Trident|EdgeHTML)$/.test(G)&&"WebKit"||!G&&/\bMSIE\b/i.test(t)&&("Mac OS"==H?"Tasman":"Trident")||"WebKit"==G&&/\bPlayStation\b(?! Vita\b)/i.test(Y)&&"NetFront")&&(G=[s]),"IE"==Y&&(s=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(t)||0)[1])?(Y+=" Mobile",H="Windows Phone "+(/\+$/.test(s)?s:s+".x"),P.unshift("desktop mode")):/\bWPDesktop\b/i.test(t)?(Y="IE Mobile",H="Windows Phone 8.x",P.unshift("desktop mode"),k||(k=(/\brv:([\d.]+)/.exec(t)||0)[1])):"IE"!=Y&&"Trident"==G&&(s=/\brv:([\d.]+)/.exec(t))&&(Y&&P.push("identifying as "+Y+(k?" "+k:"")),Y="IE",k=s[1]),U){if(c="global",f=null!=(l=n)?typeof l[c]:"number",/^(?:boolean|number|string|undefined)$/.test(f)||"object"==f&&!l[c])v(s=n.runtime)==E?(Y="Adobe AIR",H=s.flash.system.Capabilities.os):v(s=n.phantom)==A?(Y="PhantomJS",k=(s=s.version||null)&&s.major+"."+s.minor+"."+s.patch):"number"==typeof L.documentMode&&(s=/\bTrident\/(\d+)/i.exec(t))?(k=[k,L.documentMode],(s=+s[1]+4)!=k[1]&&(P.push("IE "+k[1]+" mode"),G&&(G[1]=""),k[1]=s),k="IE"==Y?String(k[1].toFixed(1)):k[0]):"number"==typeof L.documentMode&&/^(?:Chrome|Firefox)\b/.test(Y)&&(P.push("masking as "+Y+" "+k),Y="IE",k="11.0",G=["Trident"],H="Windows");else if(O&&(M=(s=O.lang.System).getProperty("os.arch"),H=H||s.getProperty("os.name")+" "+s.getProperty("os.version")),N){try{k=n.require("ringo/engine").version.join("."),Y="RingoJS"}catch(e){(s=n.system)&&s.global.system==n.system&&(Y="Narwhal",H||(H=s[0].os||null))}Y||(Y="Rhino")}else"object"==typeof n.process&&!n.process.browser&&(s=n.process)&&("object"==typeof s.versions&&("string"==typeof s.versions.electron?(P.push("Node "+s.versions.node),Y="Electron",k=s.versions.electron):"string"==typeof s.versions.nw&&(P.push("Chromium "+k,"Node "+s.versions.node),Y="NW.js",k=s.versions.nw)),Y||(Y="Node.js",M=s.arch,H=s.platform,k=(k=/[\d.]+/.exec(s.version))?k[0]:null));H=H&&h(H)}if(k&&(s=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(k)||/(?:alpha|beta)(?: ?\d)?/i.exec(t+";"+(U&&i.appMinorVersion))||/\bMinefield\b/i.test(t)&&"a")&&(w=/b/i.test(s)?"beta":"alpha",k=k.replace(RegExp(s+"\\+?$"),"")+("beta"==w?b:R)+(/\d+\+?/.exec(s)||"")),"Fennec"==Y||"Firefox"==Y&&/\b(?:Android|Firefox OS)\b/.test(H))Y="Firefox Mobile";else if("Maxthon"==Y&&k)k=k.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(x))"Xbox 360"==x&&(H=null),"Xbox 360"==x&&/\bIEMobile\b/.test(t)&&P.unshift("mobile mode");else if(!/^(?:Chrome|IE|Opera)$/.test(Y)&&(!Y||x||/Browser|Mobi/.test(Y))||"Windows CE"!=H&&!/Mobi/i.test(t))if("IE"==Y&&U)try{null===n.external&&P.unshift("platform preview")}catch(e){P.unshift("embedded")}else(/\bBlackBerry\b/.test(x)||/\bBB10\b/.test(t))&&(s=(RegExp(x.replace(/ +/g," *")+"/([.\\d]+)","i").exec(t)||0)[1]||k)?(H=((s=[s,/BB10/.test(t)])[1]?(x=null,V="BlackBerry"):"Device Software")+" "+s[0],k=null):this!=m&&"Wii"!=x&&(U&&D||/Opera/.test(Y)&&/\b(?:MSIE|Firefox)\b/i.test(t)||"Firefox"==Y&&/\bOS X (?:\d+\.){2,}/.test(H)||"IE"==Y&&(H&&!/^Win/.test(H)&&k>5.5||/\bWindows XP\b/.test(H)&&k>8||8==k&&!/\bTrident\b/.test(t)))&&!d.test(s=e.call(m,t.replace(d,"")+";"))&&s.name&&(s="ing as "+s.name+((s=s.version)?" "+s:""),d.test(Y)?(/\bIE\b/.test(s)&&"Mac OS"==H&&(H=null),s="identify"+s):(s="mask"+s,Y=C?h(C.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(s)&&(H=null),U||(k=null)),G=["Presto"],P.push(s));else Y+=" Mobile";(s=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(t)||0)[1])&&(s=[parseFloat(s.replace(/\.(\d)$/,".0$1")),s],"Safari"==Y&&"+"==s[1].slice(-1)?(Y="WebKit Nightly",w="alpha",k=s[1].slice(0,-1)):k!=s[1]&&k!=(s[2]=(/\bSafari\/([\d.]+\+?)/i.exec(t)||0)[1])||(k=null),s[1]=(/\bChrome\/([\d.]+)/i.exec(t)||0)[1],537.36==s[0]&&537.36==s[2]&&parseFloat(s[1])>=28&&"WebKit"==G&&(G=["Blink"]),U&&(_||s[1])?(G&&(G[1]="like Chrome"),s=s[1]||((s=s[0])<530?1:s<532?2:s<532.05?3:s<533?4:s<534.03?5:s<534.07?6:s<534.1?7:s<534.13?8:s<534.16?9:s<534.24?10:s<534.3?11:s<535.01?12:s<535.02?"13+":s<535.07?15:s<535.11?16:s<535.19?17:s<536.05?18:s<536.1?19:s<537.01?20:s<537.11?"21+":s<537.13?23:s<537.18?24:s<537.24?25:s<537.36?26:"Blink"!=G?"27":"28")):(G&&(G[1]="like Safari"),s=(s=s[0])<400?1:s<500?2:s<526?3:s<533?4:s<534?"4+":s<535?5:s<537?6:s<538?7:s<601?8:"8"),G&&(G[1]+=" "+(s+="number"==typeof s?".x":/[.+]/.test(s)?"":"+")),"Safari"==Y&&(!k||parseInt(k)>45)&&(k=s)),"Opera"==Y&&(s=/\bzbov|zvav$/.exec(H))?(Y+=" ",P.unshift("desktop mode"),"zvav"==s?(Y+="Mini",k=null):Y+="Mobile",H=H.replace(RegExp(" *"+s+"$"),"")):"Safari"==Y&&/\bChrome\b/.exec(G&&G[1])&&(P.unshift("desktop mode"),Y="Chrome Mobile",k=null,/\bOS X\b/.test(H)?(V="Apple",H="iOS 4.3+"):H=null),k&&0==k.indexOf(s=/[\d.]+$/.exec(H))&&t.indexOf("/"+s+"-")>-1&&(H=I(H.replace(s,""))),G&&!/\b(?:Avant|Nook)\b/.test(Y)&&(/Browser|Lunascape|Maxthon/.test(Y)||"Safari"!=Y&&/^iOS/.test(H)&&/\bSafari\b/.test(G[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(Y)&&G[1])&&(s=G[G.length-1])&&P.push(s),P.length&&(P=["("+P.join("; ")+")"]),V&&x&&x.indexOf(V)<0&&P.push("on "+V),x&&P.push((/^on /.test(P[P.length-1])?"":"on ")+x),H&&(s=/ ([\d.+]+)$/.exec(H),u=s&&"/"==H.charAt(H.length-s[0].length-1),H={architecture:32,family:s&&!u?H.replace(s[0],""):H,version:s?s[1]:null,toString:function(){var e=this.version;return this.family+(e&&!u?" "+e:"")+(64==this.architecture?" 64-bit":"")}}),(s=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(M))&&!/\bi686\b/i.test(M)?(H&&(H.architecture=64,H.family=H.family.replace(RegExp(" *"+s),"")),Y&&(/\bWOW64\b/i.test(t)||U&&/\w(?:86|32)$/.test(i.cpuClass||i.platform)&&!/\bWin64; x64\b/i.test(t))&&P.unshift("32-bit")):H&&/^OS X/.test(H.family)&&"Chrome"==Y&&parseFloat(k)>=39&&(H.architecture=64),t||(t=null);var B={};return B.description=t,B.layout=G&&G[0],B.manufacturer=V,B.name=Y,B.prerelease=w,B.product=x,B.ua=t,B.version=Y&&k,B.os=H||{architecture:null,family:null,version:null,toString:function(){return"null"}},B.parse=e,B.toString=function(){return this.description||""},B.version&&P.unshift(k),B.name&&P.unshift(Y),H&&Y&&(H!=String(H).split(" ")[0]||H!=Y.split(" ")[0]&&!x)&&P.push(x?"("+H+")":"on "+H),P.length&&(B.description=P.join(" ")),B}();a.platform=S,void 0===(i=function(){return S}.call(t,n,t,e))||(e.exports=i)}).call(this)}).call(this,n(209)(e),n(44))},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(1582)},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(1399),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(44))},function(e,t,n){"use strict";var r=n(19);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(8)),i=u(n(3)),o=u(n(2)),a=u(n(12)),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(){return(c=Object.assign||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}).apply(this,arguments)}var d={},f={},_=0,p=0;function E(){var e=Object.values(d);p=e.length,_=r.default.sumBy(e,(function(e){return e===s.RelationshipTypes.PENDING_INCOMING?1:0}))}var h=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(a.default)},i.isFriend=function(e){return d[e]===s.RelationshipTypes.FRIEND},i.isBlocked=function(e){return d[e]===s.RelationshipTypes.BLOCKED},i.getPendingCount=function(){return _},i.getRelationshipCount=function(){return p},i.getRelationships=function(){return d},i.getRelationshipType=function(e){var t=d[e];return null!=t?t:s.RelationshipTypes.NONE},i.getNickname=function(e){return f[e]},i.getFriendIDs=function(){return Object.keys(d).filter((function(e){return d[e]===s.RelationshipTypes.FRIEND}))},r}(i.default.Store))(o.default,{CONNECTION_OPEN:function(e){d={},f={},e.relationships.forEach((function(e){d[e.id]=e.type,null!=e.nickname&&(f[e.id]=e.nickname)})),E()},OVERLAY_INITIALIZE:function(e){d=c({},e.relationships),E()},RELATIONSHIP_ADD:function(e){var t,n,r=d[e.relationship.id];d=c({},d,((t={})[e.relationship.id]=e.relationship.type,t)),e.relationship.nickname&&(f=c({},f,((n={})[e.relationship.id]=e.relationship.nickname,n))),E(),e.relationship.type===s.RelationshipTypes.FRIEND&&r===s.RelationshipTypes.PENDING_OUTGOING&&o.default.dirtyDispatch({type:s.ActionTypes.FRIEND_REQUEST_ACCEPTED,user:e.relationship.user})},RELATIONSHIP_REMOVE:function(e){delete(d=c({},d))[e.relationship.id],null!=f[e.relationship.id]&&delete(f=c({},f))[e.relationship.id],E()},RELATIONSHIP_UPDATE:function(e){null==e.relationship.nickname?delete f[e.relationship.id]:f[e.relationship.id]=e.relationship.nickname}});t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(8)),i=d(n(3)),o=d(n(28)),a=d(n(2)),s=d(n(379)),u=n(48),l=d(n(16)),c=d(n(39));n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var h={},m={},v={},T={},g={},I=o.default.get("GameStoreReportedGames")||{},S="",y={},A=null;function O(e,t){return e+":"+(null!=t?t:"null")}function N(e){if("applicationIds"in e&&null!=e.applicationIds)for(var t,n=p(e.applicationIds);!(t=n()).done;){var r=t.value;y[r]=!0}else y.DETECTABLE=!0}function R(e){if("applicationIds"in e&&null!=e.applicationIds)for(var t,n=p(e.applicationIds);!(t=n()).done;){var r=t.value;y[r]=!1}else y.DETECTABLE=!1}function b(e){h[e.id]=e,m[e.name.toLowerCase()]=e;for(var t,n=p(e.thirdPartySkus);!(t=n()).done;){var r=t.value,i=r.distributor,o=r.id;v[O(i,o)]=e}for(var a,s=p(e.aliases);!(a=s()).done;){var u=a.value;m[u.toLowerCase()]=e}if(l.default.isDesktop())for(var c,d=p(e.executables);!(c=d()).done;){var f=c.value;T[f.name]=e}delete y[e.id]}var L=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n);var a,s,l,d=i.prototype;return d.getGame=function(e){return h[e]},d.getGameByName=function(e){if(null==e)return null;var t=e.toLowerCase();return Object.prototype.hasOwnProperty.call(m,t)?m[t]:null},d.getGameByDistributorGame=function(e,t){return v[O(e,t)]},d.getGameByExecutable=function(e){return T[e]},d.getGameBySettingGame=function(e){if(null==e.exePath)return null;var t,n=e.exePath.split("/").pop(),r=e.exePath.split("/").slice(-2).join("/");if(null!=e.name)if(null!=(t=this.getGameByName(e.name))&&null!=t.executables){var i=t.executables.map((function(e){return e.name}));if(i.includes(n)||i.includes(r))return t}else if(null!=t)return null;return this.getGameByExecutable(n)||this.getGameByExecutable(r)||t},d.getApplicationsForGuild=function(e){return null==g[e]?null:g[e].map((function(e){return h[e]})).filter(u.isNotNullish)},d.shouldReport=function(e){var t=null!=this.getGameByName(e),n=null!=I[e];return c.default.showCurrentGame&&!y.DETECTABLE&&!(t||n)},d.markGameReported=function(e){I[e]=!0,o.default.set("GameStoreReportedGames",I)},d.isFetching=function(e){return!0===y[e]},d.didFetchingFail=function(e){return!1===y[e]},a=i,(s=[{key:"games",get:function(){return r.default.values(h)}},{key:"fetching",get:function(){for(var e,t=p(r.default.values(y));!(e=t()).done;){var n=e.value;if(n)return n}return!1}},{key:"etag",get:function(){return S}},{key:"lastFetched",get:function(){return A}}])&&f(a.prototype,s),l&&f(a,l),i}(i.default.Store))(a.default,{OVERLAY_INITIALIZE:function(e){for(var t,n=p(e.applications);!(t=n()).done;){var r=t.value;b(new s.default(r))}},GAMES_DATABASE_FETCH:N,GAMES_DATABASE_FETCH_FAIL:R,GAMES_DATABASE_UPDATE:function(e){var t=e.games,n=e.etag;null!=n&&S!==n&&(S=n);for(var r,i=p(t);!(r=i()).done;){var o=r.value;b(s.default.createFromServer(o))}delete y.DETECTABLE,A=Date.now()},STORE_LISTING_FETCH_SUCCESS:function(e){var t=e.storeListing;if(null==t.sku.application)return!1;b(s.default.createFromServer(t.sku.application))},LIBRARY_FETCH_SUCCESS:function(e){for(var t,n=p(e.libraryApplications);!(t=n()).done;){var r=t.value;b(s.default.createFromServer(r.application))}},GIFT_CODE_RESOLVE_SUCCESS:function(e){var t=e.giftCode.store_listing;if(null==t||null==t.sku.application)return!1;b(s.default.createFromServer(t.sku.application))},APPLICATION_FETCH:function(e){var t=e.applicationId;null!=t&&(y[t]=!0)},APPLICATION_FETCH_FAIL:function(e){var t=e.applicationId;null!=t&&(y[t]=!1)},APPLICATION_FETCH_SUCCESS:function(e){var t=e.application;b(s.default.createFromServer(t))},GUILD_APPLICATIONS_FETCH_SUCCESS:function(e){var t=e.guildId,n=e.applications;g[t]=n.map((function(e){return e.id}));for(var r,i=p(n);!(r=i()).done;){var o=r.value;b(s.default.createFromServer(o))}},APPLICATIONS_FETCH:N,APPLICATIONS_FETCH_FAIL:R,APPLICATIONS_FETCH_SUCCESS:function(e){var t=e.applications;if(0===t.length)return!1;t.forEach((function(e){return b(s.default.createFromServer(e))}))},BILLING_PAYMENTS_FETCH_SUCCESS:function(e){var t=e.payments,n=new Set;return t.forEach((function(e){var t=null!=e.sku?e.sku.application:null;null==t||n.has(t.id)||b(s.default.createFromServer(t))})),n.size>0},PAYMENT_UPDATE:function(e){var t=e.payment,n=null!=t.sku?t.sku.application:null;return null!=n&&(b(s.default.createFromServer(n)),!0)},ENTITLEMENTS_GIFTABLE_FETCH_SUCCESS:function(e){for(var t,n=p(e.entitlements);!(t=n()).done;){var r=t.value;null!=r.sku&&null!=r.sku.application&&b(s.default.createFromServer(r.sku.application))}},INVITE_RESOLVE_SUCCESS:function(e){var t=e.invite;return null!=t.target_application&&(b(s.default.createFromServer(t.target_application)),!0)}});t.default=L},function(e,t,n){var r=n(73);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(144),i=n(108),o=n(60),a=n(90),s=n(58),u=n(315),l=Object.getOwnPropertyDescriptor;t.f=n(32)?l:function(e,t){if(e=o(e),t=a(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(4),i=n(30),o=n(19);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},function(e,t,n){var r=n(72),i=n(143),o=n(45),a=n(27),s=n(331);e.exports=function(e,t){var n=1==e,u=2==e,l=3==e,c=4==e,d=6==e,f=5==e||d,_=t||s;return function(t,s,p){for(var E,h,m=o(t),v=i(m),T=r(s,p,3),g=a(v.length),I=0,S=n?_(t,g):u?_(t,0):void 0;g>I;I++)if((f||I in v)&&(h=T(E=v[I],I,m),e))if(n)S[I]=h;else if(h)switch(e){case 3:return!0;case 5:return E;case 6:return I;case 2:S.push(E)}else if(c)return!1;return d?-1:l||c?c:S}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DENY=t.ALLOW=void 0;var r=h(n(8)),i=h(n(63)),o=n(286),a=h(n(182)),s=h(n(204)),u=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(31)),l=h(n(11)),c=h(n(10)),d=h(n(56)),f=h(n(15)),_=h(n(12)),p=n(1);function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function h(e){return e&&e.__esModule?e:{default:e}}function m(){return(m=Object.assign||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}).apply(this,arguments)}var v=i.default.deserialize(0),T=i.default.combine.apply(i.default,r.default.values(p.Permissions)),g=i.default.combine(p.Permissions.CREATE_INSTANT_INVITE,p.Permissions.CHANGE_NICKNAME,p.Permissions.VIEW_CHANNEL,p.Permissions.SEND_MESSAGES,p.Permissions.EMBED_LINKS,p.Permissions.ATTACH_FILES,p.Permissions.READ_MESSAGE_HISTORY,p.Permissions.MENTION_EVERYONE,p.Permissions.USE_EXTERNAL_EMOJIS,p.Permissions.ADD_REACTIONS,p.Permissions.USE_PUBLIC_THREADS,p.Permissions.USE_PRIVATE_THREADS,p.Permissions.CONNECT,p.Permissions.SPEAK,p.Permissions.USE_VAD,p.Permissions.STREAM,p.Permissions.REQUEST_TO_SPEAK,p.Permissions.USE_APPLICATION_COMMANDS),I=i.default.combine(p.Permissions.VIEW_CHANNEL,p.Permissions.READ_MESSAGE_HISTORY),S=i.default.combine(p.Permissions.MANAGE_GUILD,p.Permissions.MANAGE_ROLES,p.Permissions.ADMINISTRATOR,p.Permissions.BAN_MEMBERS,p.Permissions.MANAGE_NICKNAMES,p.Permissions.MANAGE_EMOJIS,p.Permissions.MANAGE_WEBHOOKS,p.Permissions.MANAGE_THREADS,p.Permissions.VIEW_AUDIT_LOG);function y(e,t,n,r){return void 0===r&&(r=!0),r&&t.mfaLevel===p.MFALevels.ELEVATED&&n===l.default.getId()&&(_.default.getCurrentUser().mfaEnabled||(e=i.default.remove(e,p.ElevatedPermissions))),e}function A(e,t,n,r){var o=r[e];if(null!=o&&(n=i.default.remove(n,o.deny),n=i.default.add(n,o.allow)),null!=t){for(var a=v,s=v,u=0;u<t.roles.length;u++){var l=r[t.roles[u]];null!=l&&(a=i.default.add(a,l.allow),s=i.default.add(s,l.deny))}n=i.default.remove(n,s),n=i.default.add(n,a);var c=r[t.userId];null!=c&&(n=i.default.remove(n,c.deny),n=i.default.add(n,c.allow))}return n}function O(e,t,n,r,o,s,u,l){if(void 0===s&&(s=!0),void 0===u&&(u=!1),void 0===l&&(l=I),u)return A(n.id,t,v,r);var c=(o=null!=o?m({},n.roles,{},o):n.roles)[n.id],d=null!=c?c.permissions:g;if(null!=t)for(var f=0;f<t.roles.length;f++){var _=o[t.roles[f]];void 0!==_&&(d=i.default.add(d,_.permissions))}return d=i.default.has(d,p.Permissions.ADMINISTRATOR)?T:A(n.id,t,d,r),(a.default.isLurking(n.id)||(null==t?void 0:t.isPending))&&(d=i.default.filter(d,l)),y(d,n,e,s)}function N(e,t,n,r,i,o){if(void 0===i&&(i=!0),void 0===o&&(o=!1),null==e)return v;var a,l="string"==typeof e?e:e.id,p=I;if(t instanceof u.default){if(u.THREAD_CHANNEL_TYPES.has(t.type)){var E,h=c.default.getChannel(t.parent_id);if(null==h)return v;var g=l===(null===(E=_.default.getCurrentUser())||void 0===E?void 0:E.id)&&s.default.hasJoined(t.id);return R(t,N(e,h,n,r,i,o),g)}var S;p=null!==(S=t.computeLurkerPermissionsAllowList())&&void 0!==S?S:p,n=null!=n?m({},t.permissionOverwrites,{},n):t.permissionOverwrites;var A=t.getGuildId();a=null!=A?f.default.getGuild(A):null}else n=n||{},a=t;return null==a?v:a.isOwner(l)?y(T,a,l,i):O(l,d.default.getMember(a.id,l),a,n,r,i,o,p)}function R(e,t,n){return e.type===p.ChannelTypes.PRIVATE_THREAD?(i.default.has(t,p.Permissions.USE_PRIVATE_THREADS)&&(t=i.default.combine(t,p.Permissions.SEND_MESSAGES)),n||i.default.has(t,p.Permissions.MANAGE_THREADS)?t:v):(i.default.has(t,p.Permissions.USE_PUBLIC_THREADS)&&(t=i.default.combine(t,p.Permissions.SEND_MESSAGES)),t)}function b(e){return{id:e,type:o.PermissionOverwriteType.ROLE,allow:v,deny:v}}function L(e,t,n,r,o,a){return i.default.has(N(t,n,r,o,!0,a),e)}t.ALLOW="ALLOW";t.DENY="DENY";var D={PASSTHROUGH:"PASSTHROUGH",ALLOW:"ALLOW",DENY:"DENY",NONE:v,DEFAULT:g,ALL:T,VIEW_GUILD_SETTINGS:S,computePermissionsForRoles:function e(t,n,r,i,o,a){var s;void 0===o&&(o=!0);var l=I;if(n instanceof u.default){if(u.THREAD_CHANNEL_TYPES.has(n.type)){var d=c.default.getChannel(n.parent_id);return null==d?v:R(n,e(t,d,r,i,o,a),!1)}var _;l=null!==(_=n.computeLurkerPermissionsAllowList())&&void 0!==_?_:l,r=null!=r?m({},n.permissionOverwrites,{},r):n.permissionOverwrites;var p=n.getGuildId();s=null!=p?f.default.getGuild(p):null}else r=r||{},s=n;return null==s?v:O("",{userId:"",nick:"",guildId:s.id,guildMemberAvatar:null,roles:Object.keys(t),colorString:null,hoistRoleId:null,premiumSince:null,isPending:!1,joinedAt:(new Date).toISOString()},s,r,i,o,a,l)},computePermissions:N,applyThreadPermissions:R,isRoleHigher:function(e,t,n,i){if(null!=t&&e.isOwner(t))return!0;if(null==n)return!1;var o=(0,r.default)(e.roles).sortBy((function(e){return e.position})).map((function(e){return e.id})).value();return o.indexOf(n.id)>(null!=i?o.indexOf(i.id):-1)},getHighestRole:function(e,t){var n=d.default.getMember(e.id,t);return null==n?null:(0,r.default)(e.roles).filter((function(e){return-1!==n.roles.indexOf(e.id)})).sortBy((function(e){return-e.position})).first()},getHighestHoistedRole:function(e,t){return null==t.hoistRoleId?null:e.getRole(t.hoistRoleId)},can:L,canEveryoneRole:function(e,t){var n,r={};if(t instanceof u.default){if(t.type===p.ChannelTypes.PRIVATE_THREAD)return!1;if(u.THREAD_CHANNEL_TYPES.has(t.type)&&null==(t=c.default.getChannel(t.parent_id)))return!1;r=t.permissionOverwrites;var o=t.getGuildId();n=null!=o?f.default.getGuild(o):null}else n=t;if(null==n)return!1;var a=n.roles[n.id].permissions,s=r[n.id];return null!=s&&(a=i.default.remove(a,s.deny),a=i.default.add(a,s.allow)),i.default.has(a,e)},canEveryone:function(e,t){var n,o={};if(t instanceof u.default){if(t.type===p.ChannelTypes.PRIVATE_THREAD)return!1;if(u.THREAD_CHANNEL_TYPES.has(t.type)&&null==(t=c.default.getChannel(t.parent_id)))return!1;o=t.permissionOverwrites;var a=t.getGuildId();n=null!=a?f.default.getGuild(a):null}else n=t;if(null==n)return!1;var s=n.roles[n.id];return!!i.default.has(s.permissions,e)&&!r.default.some(o,(function(t){return i.default.has(t.deny,e)}))},canManageACategory:function(e,t,n){return!!L(p.Permissions.MANAGE_CHANNELS,e,t)||n.some((function(t){var n=t.channel;return"null"!==n.id&&L(p.Permissions.MANAGE_CHANNELS,e,n)}))},areChannelsLocked:function(e,t){if(u.THREAD_CHANNEL_TYPES.has(e.type))return!0;var n=e.guild_id;if(null==t||null==n||n!==t.guild_id)return!1;var r=m({},e.permissionOverwrites),o=m({},t.permissionOverwrites);return null==r[n]&&(r[n]=b(n)),null==o[n]&&(o[n]=b(n)),Object.keys(r).length===Object.keys(o).length&&!Object.keys(r).some((function(e){var t=r[e],n=o[e];return null==n||!i.default.equals(n.deny,t.deny)||!i.default.equals(n.allow,t.allow)}))},makeEveryoneOverwrite:b};t.default=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=g(n(8)),i=g(n(5)),o=g(n(3)),a=g(n(28)),s=g(n(2)),u=g(n(183)),l=g(n(26)),c=g(n(1302)),d=g(n(13)),f=g(n(312)),_=n(48),p=g(n(16)),E=g(n(43)),h=g(n(155)),m=g(n(71)),v=g(n(120)),T=n(1);function g(e){return e&&e.__esModule?e:{default:e}}function I(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return A(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function O(){return(O=Object.assign||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}).apply(this,arguments)}var N,R=new l.default("RunningGameStore"),b=[{executables:[{os:"win32",name:"obs/obs.exe"},{os:"win32",name:"obs32.exe"},{os:"win32",name:"obs64.exe"},{os:"darwin",name:"OBS.app"},{os:"linux",name:"obs"}],name:"OBS",streamerTool:!0},{executables:[{os:"win32",name:"XSplit.Gamecaster.exe"},{os:"win32",name:"XSplit.Core.exe"},{os:"win32",name:"Gamecaster.exe"}],name:"XSplit",streamerTool:!0},{executables:[{os:"win32",name:"bebo.exe"}],name:"Bebo",streamerTool:!0},{executables:[{os:"win32",name:"Streamlabs OBS.exe"}],name:"Streamlabs OBS",streamerTool:!0},{executables:[{os:"win32",name:"TwitchStudio.exe"}],name:"Twitch Studio",streamerTool:!0},{executables:[{os:"win32",name:"Spotify.exe"},{os:"darwin",name:"Spotify.app"},{os:"linux",name:"spotify"}],name:u.default.get(T.PlatformTypes.SPOTIFY).name}],L=!0,D=new Set,C=[],M=[],P=[],w=null,U=[],k={},G={},Y={gamesSeen:[],gameOverrides:{},enableOverlay:{}},x=function(e){},V=function(){},H={},F=0,B=null,j=null;function W(e,t,n){var r=e[t];void 0!==r&&(delete e[t],e[n]=r)}function K(e){return b.some((function(t){return t.name===e.name&&!0===t.streamerTool}))}function z(){if(P.length>0){var e=w;w=P[0],null!=e&&w.pid===e.pid?w.start=e.start:w.start=Date.now()}else w=null;R.info("games",P),s.default.dirtyDispatch({type:T.ActionTypes.RUNNING_GAMES_CHANGE,games:P})}function q(e){var t=null!=e.name?e.name:"";return e.exePath+":"+t}function X(e){return null!=m.default.getGameByName(e.name)||void 0!==e.nativeProcessObserverId&&0==(2147483648&e.nativeProcessObserverId)}function J(e){if(e.isLauncher)return!1;var t=m.default.getGameByName(e.name);if(null!=t){var n=v.default.getActiveLibraryApplication(t.id);if(null!=n)return n.isOverlayEnabled()}var r=Y.enableOverlay[q(e)];if(null!=r)return r;var i=H[e.id];return null!=i&&null!=i.enabled&&i.enabled}function Q(){a.default.set("RunningGameStore",Y)}function Z(e){var t=O({},e,{played:e.lastFocused?(0,i.default)(new Date(1e3*e.lastFocused)).fromNow():" ",overlay:J(e),verified:X(e)});if(null!=H[e.id]){var n=H[e.id];t.overlayWarn=n.warn}return t}function $(){var e=!1;return C=r.default.values(v.default.libraryApplications).reduce((function(t,n){var r=m.default.getGame(n.id);if(null==r)return t;for(var i,o=y(h.default.getLaunchOptions(n.id,n.branchId));!(i=o()).done;){var a=i.value,s=n.id+":"+n.branchId;D.has(s)||(e=!0,D.add(s));var u=a.fullExecutablePath.replace(/\\/g,"/").toLowerCase();k[u]=r.id,t.push({id:r.id,name:r.name,exePath:u,cmdLine:"",lastFocused:0,add:!0})}return t}),[]),e&&ee(),e}function ee(){if(!__OVERLAY__&&p.default.embedded){var e=[].concat(C,r.default.values(Y.gameOverrides));E.default.setGameCandidateOverrides(e)}}function te(e){null!=e&&0!==e.length&&(e.forEach((function(e){if(Y.gamesSeen.some((function(t){if(t.name===e.name){if(e.lastFocused){t.lastFocused=e.lastFocused;var n=Y.gameOverrides[q(e)];null!=n&&(n.lastFocused=e.lastFocused)}return!0}return!1})));else{if(e.hidden)return;Y.gamesSeen.unshift(function(e){var t={exePath:e.exePath,cmdLine:e.cmdLine,lastFocused:e.lastFocused};return null!=e.id&&(t.id=e.id),null!=e.nativeProcessObserverId&&(t.nativeProcessObserverId=e.nativeProcessObserverId),null!=e.name&&(t.name=e.name),e.add&&(t.add=!0),e.block&&(t.block=!0),t}(e))}})),Y.gamesSeen.sort((function(e,t){return t.lastFocused-e.lastFocused})),Q(),f.default.setRecentGames(ne()))}function ne(){var e=r.default.values(Y.gameOverrides);return Y.gamesSeen.filter((function(e){return void 0===Y.gameOverrides[q(e)]})).concat(e).map(Z)}!__OVERLAY__&&p.default.isDesktop()&&(V=function(){var e=[],t=new Set;N={},[].concat(m.default.games,b).forEach((function(n){var r;H[n.id]={compatibilityHook:n.overlayCompatibilityHook||!1,warn:n.overlayWarn||!1,enabled:n.overlay||!1,allowHook:null===(r=n.hook)||void 0===r||r};var i=null!=n.executables?n.executables.filter((function(e){return e.os===p.default.platform})):[],o={};i.forEach((function(e){var n=null!=e.arguments&&e.arguments.length>0?e.arguments:"null";null==o[n]&&(o[n]=[]),o[n].push(e.name),e.isLauncher&&t.add(e.name)})),Object.keys(o).forEach((function(t){return e.push({name:n.name,id:n.id,executables:o[t],cmdLine:"null"!==t?t:null})}))})),e=e.filter((function(e){return null!=e.executables&&e.executables.length>0})),E.default.setObservedGamesCallback(e,(function(e){var n=[],r={};e=e.filter((function(e){var i;return e.distributor=null!=k[(i=e).exePath]?T.Distributors.DISCORD:/steamapps/.test(i.cmdLine)?T.Distributors.STEAM:/-epicapp/.test(i.cmdLine)?T.Distributors.EPIC:i.distributor,e.isLauncher=t.has(e.exeName),e.isLauncher&&null!=e.id&&(r[e.id]=e),e.windowHandle=function(e,t){if(void 0===t){var n=E.default.getDiscordUtils();if(null!=n&&null!=n.getWindowHandleFromPid){var r=n.getWindowHandleFromPid(e);return null!=r&&"0"!==r?r:null}return null}return"0"===t?null:t}(e.pid,e.windowHandle),!b.find((function(t){return t.name===e.name}))||(n.push(e),!1)}));var i=n.filter(K).length;i!==F&&(F=i,s.default.dirtyDispatch({type:T.ActionTypes.RUNNING_STREAMER_TOOLS_CHANGE,count:F})),P=e,U=n,N=r,z()})),ee()},x=function(e){e?(E.default.setCandidateGamesCallback((function(e){s.default.dirtyDispatch({type:T.ActionTypes.CANDIDATE_GAMES_CHANGE,games:e.map((function(e){return O({},e)}))})})),ee()):E.default.clearCandidateGamesCallback()});var re=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n);var o,s,u,l=i.prototype;return l.initialize=function(){var e=a.default.get("RunningGameStore")||{};Y.gameOverrides={};var t=!1;if(r.default.values(e.gameOverrides||{}).forEach((function(e){var n=q(e);"string"==typeof e.gameName&&(e.name=e.gameName,delete e.gameName,t=!0),Y.gameOverrides[n]=e})),Y.enableOverlay=e.enableOverlay||{},ee(),Array.isArray(e.gamesSeen))for(var n,i=y(e.gamesSeen);!(n=i()).done;){var o=n.value;"string"==typeof o.gameName&&(o.name=o.gameName,delete o.gameName,t=!0),"number"==typeof o.id&&(o.nativeProcessObserverId=o.id,delete o.id,t=!0)}te(e.gamesSeen),this.waitFor(m.default),this.syncWith([v.default,m.default,h.default],r.default.throttle($,1e3)),t&&Q()},l.getVisibleGame=function(){return null!=w&&w.hidden?null:w},l.getCurrentGame=function(){return w},l.getRunningDiscordApplicationIds=function(){for(var e,t=[],n=y(P);!(e=n()).done;){var r=e.value;null!=k[r.exePath]&&t.push(k[r.exePath])}return t},l.getRunningVerifiedApplicationIds=function(){return this.getRunningGames().map((function(e){return m.default.getGameByName(e.name)})).filter(_.isNotNullish).map((function(e){return e.id}))},l.getGameNameForPID=function(e){var t=P.find((function(t){return t.pid===e}));return t?t.name:null},l.getGameIdForPID=function(e){var t=P.find((function(t){return t.pid===e}));return t?t.id:null},l.getGameForPID=function(e){return P.find((function(t){return t.pid===e}))||null},l.getLauncherForPID=function(e){var t=this.getGameForPID(e);return null!=t&&null!=t.id?N[t.id]:null},l.getAssociatedApplicationForLauncherId=function(e){if(null==e)return null;var t=P.find((function(t){return t.id===e&&!t.isLauncher}));return null!=t?Z(t):null},l.getOverlayOptionsForPID=function(e){var t=P.find((function(t){return t.pid===e}));return t&&!t.isLauncher?O({},H[t.id]):null},l.shouldElevateProcessForPID=function(e){return null!=B&&B===e},l.shouldContinueWithoutElevatedProcessForPID=function(e){return null!=j&&j===e},l.watchCandidateGames=function(e){x(e)},l.getSettingsGame=function(){var e=this.getVisibleGame();return null!=e?Z(e):null},l.getCandidateGames=function(){return M.filter((function(e){return e.hidden||null==e.id})).filter((function(e){return void 0===Y.gameOverrides[q(e)]}))},l.getRunningGames=function(){return P},l.getGamesSeen=function(e,t){void 0===t&&(t=!0);var n=ne();if(e){var r=this.getVisibleGame();if(null!=r){var i=q(r);n=n.filter((function(e){return q(e)!==i}))}}return t&&n.sort((function(e,t){return t.lastFocused-e.lastFocused})),n},l.getSeenGameByName=function(e){return Y.gamesSeen.find((function(t){return null!=t.name&&t.name.toLowerCase()===e.toLowerCase()}))},l.isObservedAppRunning=function(e){return U.some((function(t){return t.name===e}))},l.pids=function(){return P.map((function(e){return e.pid}))},l.getOverrides=function(){return Object.values(Y.gameOverrides)},l.getOverlayEligiblePIDs=function(){return P.filter((function(e){return!e.hidden&&!e.elevated&&!e.sandboxed&&J(e)})).map((function(e){return e.pid}))},l.getObservedAppNameForWindow=function(e){var t;return(null===(t=U.find((function(t){return(0,c.default)(e,t.windowHandle)})))||void 0===t?void 0:t.name)||null},o=i,(s=[{key:"canShowAdminWarning",get:function(){return L}}])&&I(o.prototype,s),u&&I(o,u),i}(o.default.Store))(s.default,{RUNNING_GAMES_CHANGE:function(e){te(P),s.default.dirtyDispatch({type:T.ActionTypes.OVERLAY_GAMES_CHANGE})},CANDIDATE_GAMES_CHANGE:function(e){M=e.games},PERMISSION_CLEAR_PTT_ADMIN_WARNING:function(e){L=!1},PERMISSION_REQUEST_ELEVATED_PROCESS:function(e){var t=e.pid;B=t,j=null},PERMISSION_CLEAR_ELEVATED_PROCESS:function(e){B=null},PERMISSION_CONTINUE_NONELEVATED_PROCESS:function(e){var t=e.pid;j=t,B=null},RUNNING_GAME_ADD_OVERRIDE:function(e){var t,n=e.pid,r=P.find((function(e){return e.pid===n}));if(null==r){var i=M.find((function(e){return e.pid===n}));if(!i)return;(r=O({},i)).hidden=!1,P.push(r),t=q(r)}else t=q(r),r.hidden&&(G[t]=!0),r.hidden=!1;r.lastFocused||(r.lastFocused=Math.floor(Date.now()/1e3)),Y.gameOverrides[t]=O({},r,{add:!0}),te(P),ee(),Q(),z()},RUNNING_GAME_TOGGLE_OVERLAY:function(e){var t=e.game,n=J(t);if(Y.enableOverlay[q(t)]=!n,Q(),s.default.dirtyDispatch({type:T.ActionTypes.OVERLAY_GAMES_CHANGE}),!__OVERLAY__){var r=m.default.getGame(t.id);null!=r&&d.default.track(T.AnalyticEvents.OVERLAY_TOGGLED,{enabled:!n,setting_type:"overlay toggled - game",application_id:r.id,application_name:r.name})}},RUNNING_GAME_EDIT_NAME:function(e){var t,n=q(e.game),r=Y.gameOverrides[n];r||((r={name:(t=e.game).name,exePath:t.exePath,cmdLine:t.cmdLine,lastFocused:t.lastFocused}).add=!0),r.name=e.newName;var i=q(r);delete Y.gameOverrides[n],Y.gameOverrides[i]=r,W(Y.enableOverlay,n,i),W(G,n,i),Y.gamesSeen.forEach((function(t){q(t)===n&&(t.name=e.newName)}));var o=!1;P.forEach((function(t){q(t)===n&&(t.name=e.newName,o=!0)})),ee(),Q(),o&&z()},RUNNING_GAME_DELETE_ENTRY:function(e){var t=q(e.game);delete Y.gameOverrides[t],delete Y.enableOverlay[t],Y.gamesSeen=Y.gamesSeen.filter((function(e){return q(e)!==t})),G[t]&&(P.forEach((function(e){t===q(e)&&(e.hidden=!0)})),delete G[t],z()),ee(),Q()},GAMES_DATABASE_UPDATE:function(e){return V()},GAME_LAUNCH_SUCCESS:function(e){var t;if(!__OVERLAY__&&p.default.embedded){var n=E.default.getDiscordUtils().notifyGameLaunched;if(null!=n){var r=m.default.getGame(e.applicationId);null!=r&&n(r.id,r.name,null!==(t=e.pids)&&void 0!==t?t:[])}}}});t.default=re},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o=c(n(8)),a=c(n(3)),s=c(n(2)),u=c(n(1305)),l=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=0,p={},E={},h={},m={};function v(e,t){var n=e[t];return null==n&&(n={},e[t]=n),n}function T(e){var t=p[l.ME]||{},n={};o.default.each(t,(function(t,r){t.channelId!==e&&(n[r]=t)})),p[l.ME]=n}function g(e,t,n){var r=v(p,e||l.ME),i=r[t],o=n(i);return i===o?[!1,o,i]:(null!=i&&(delete r[t],null!=i.channelId&&(delete v(E,i.channelId)[t],delete v(h,i.channelId)[t]),null!=i.sessionId&&delete v(m,t)[i.sessionId]),null!=o&&(r[t]=o,null!=o.channelId&&(v(E,o.channelId)[t]=o,o.selfVideo&&(v(h,o.channelId)[t]=o)),null!=o.sessionId&&(v(m,t)[o.sessionId]=o)),[!0,o,i])}function I(e){var t=e.guild;o.default.forEach(p[t.id],(function(e){g(t.id,e.userId,(function(){return null}))})),delete p[t.id]}var S=new(function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var a,s,u,c=o.prototype;return c.getAllVoiceStates=function(){return p},c.getVoiceStates=function(e){return v(p,e||l.ME)},c.getVoiceStatesForChannel=function(e){return v(E,e)},c.getVideoVoiceStatesForChannel=function(e){return v(h,e)},c.getVoiceState=function(e,t){return this.getVoiceStates(e)[t]},c.getVoiceStateForChannel=function(e,t){var n;return void 0===t&&(t=r),null===(n=v(E,e))||void 0===n?void 0:n[t]},c.getVoiceStateForUser=function(e){return Object.values(v(m,e))[0]},c.getVoiceStateForSession=function(e,t){var n;return null!=t?null===(n=v(m,e))||void 0===n?void 0:n[t]:null},c.getUserVoiceChannelId=function(e,t){var n;return null===(n=this.getVoiceState(e,t))||void 0===n?void 0:n.channelId},c.getCurrentClientVoiceChannelId=function(e){var t=this.getVoiceState(e,r);return null!=t&&null!=i&&t.sessionId===i?t.channelId:null},c.isCurrentClientInVoiceChannel=function(){var e;return null!=i&&null!=(null===(e=m[r])||void 0===e?void 0:e[i])},c.isInChannel=function(e,t){void 0===t&&(t=r);var n=this.getVoiceStateForChannel(e,t);return null!=n&&(t!==r||null!=i&&n.sessionId===i)},c.hasVideo=function(e){return Object.values(v(h,e)).length>0},a=o,(s=[{key:"userHasBeenMovedVersion",get:function(){return _}}])&&d(a.prototype,s),u&&d(a,u),o}(a.default.Store))(s.default,{CONNECTION_OPEN:function(e){var t=e.user,n=e.sessionId;p={},E={},m={},h={},r=t.id,i=n},OVERLAY_INITIALIZE:function(e){var t=e.voiceStates,n=e.user,o=e.sessionId;p={},E={},m={},h={};for(var a=0,s=Object.entries(t);a<s.length;a++)for(var l=s[a],c=l[0],d=l[1],f=function(){var e=v[_],t=e[0],n=e[1];g(c,t,(function(){return new u.default(n)}))},_=0,v=Object.entries(d);_<v.length;_++)f();r=n.id,i=o},VOICE_CHANNEL_SELECT:function(e){var t=e.guildId,n=e.channelId;return g(t,r,(function(e){return null==e?void 0:e.set("channelId",n)}))[0]},VOICE_STATE_UPDATE:function(e){var t=e.sessionId,n=e.userId,r=e.guildId,o=e.channelId,a=e.mute,s=e.deaf,l=e.selfMute,c=e.selfDeaf,d=e.selfVideo,f=e.selfStream,p=e.suppress,E=e.requestToSpeakTimestamp,h=g(r,n,(function(e){if(null!=o){var r={userId:n,sessionId:t,channelId:o,mute:a,deaf:s,selfMute:l,selfDeaf:c,selfVideo:d,selfStream:f,suppress:p,requestToSpeakTimestamp:E};return null==e?new u.default(r):e.merge(r)}})),m=h[0],v=h[1],T=h[2];if(!m)return!1;t===i&&null!=v&&null!=T&&T.channelId!==v.channelId&&(_+=1)},GUILD_DELETE:I,GUILD_CREATE:I,CHANNEL_DELETE:function(e){T(e.channel.id)},CALL_DELETE:function(e){T(e.channelId)}});t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(3)),i=a(n(2)),o=n(207);n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(){return(u=Object.assign||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}).apply(this,arguments)}var l={},c={};function d(e,t){var n,r=u({},null!==(n=l[e])&&void 0!==n?n:{});null==t||t.forEach((function(e){c[e.channel_id]=e,r[e.channel_id]=e})),l[e]=r}function f(e){var t=e.instance;d(t.guild_id,[t])}function _(e,t){var n;if(delete c[t],null!=e){var r=u({},null!==(n=l[e])&&void 0!==n?n:{});delete r[t],l[e]=r}}var p=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var i=r.prototype;return i.getStageInstanceByChannel=function(e){if(null!=e)return c[e]},i.isLive=function(e){return null!=this.getStageInstanceByChannel(e)},i.isPublic=function(e){var t;return(null===(t=this.getStageInstanceByChannel(e))||void 0===t?void 0:t.privacy_level)===o.StageInstancePrivacyLevel.PUBLIC},i.getStageInstancesByGuild=function(e){var t;return null==e?{}:null!==(t=l[e])&&void 0!==t?t:{}},i.getAllStageInstances=function(){return Object.values(c)},r}(r.default.Store))(i.default,{CONNECTION_OPEN:function(e){var t=e.guilds;l={},c={},t.forEach((function(e){return d(e.id,e.stage_instances)}))},GUILD_CREATE:function(e){var t=e.guild;d(t.id,t.stage_instances)},GUILD_DELETE:function(e){var t,n=e.guild,r=null!==(t=l[n.id])&&void 0!==t?t:{};delete l[n.id],Object.keys(r).forEach((function(e){delete c[e]}))},STAGE_INSTANCE_CREATE:f,STAGE_INSTANCE_UPDATE:f,STAGE_INSTANCE_DELETE:function(e){var t=e.instance;_(t.guild_id,t.channel_id)},CHANNEL_DELETE:function(e){var t=e.channel;_(t.guild_id,t.id)},LOGOUT:function(e){return c={},void(l={})}});t.default=p},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t,n){"use strict";if(n(32)){var r=n(110),i=n(18),o=n(19),a=n(4),s=n(177),u=n(243),l=n(72),c=n(128),d=n(108),f=n(59),_=n(129),p=n(74),E=n(27),h=n(342),m=n(112),v=n(90),T=n(58),g=n(145),I=n(21),S=n(45),y=n(235),A=n(113),O=n(115),N=n(114).f,R=n(237),b=n(109),L=n(25),D=n(77),C=n(167),M=n(146),P=n(239),w=n(126),U=n(170),k=n(127),G=n(238),Y=n(333),x=n(33),V=n(75),H=x.f,F=V.f,B=i.RangeError,j=i.TypeError,W=i.Uint8Array,K=Array.prototype,z=u.ArrayBuffer,q=u.DataView,X=D(0),J=D(2),Q=D(3),Z=D(4),$=D(5),ee=D(6),te=C(!0),ne=C(!1),re=P.values,ie=P.keys,oe=P.entries,ae=K.lastIndexOf,se=K.reduce,ue=K.reduceRight,le=K.join,ce=K.sort,de=K.slice,fe=K.toString,_e=K.toLocaleString,pe=L("iterator"),Ee=L("toStringTag"),he=b("typed_constructor"),me=b("def_constructor"),ve=s.CONSTR,Te=s.TYPED,ge=s.VIEW,Ie=D(1,(function(e,t){return Ne(M(e,e[me]),t)})),Se=o((function(){return 1===new W(new Uint16Array([1]).buffer)[0]})),ye=!!W&&!!W.prototype.set&&o((function(){new W(1).set({})})),Ae=function(e,t){var n=p(e);if(n<0||n%t)throw B("Wrong offset!");return n},Oe=function(e){if(I(e)&&Te in e)return e;throw j(e+" is not a typed array!")},Ne=function(e,t){if(!I(e)||!(he in e))throw j("It is not a typed array constructor!");return new e(t)},Re=function(e,t){return be(M(e,e[me]),t)},be=function(e,t){for(var n=0,r=t.length,i=Ne(e,r);r>n;)i[n]=t[n++];return i},Le=function(e,t,n){H(e,t,{get:function(){return this._d[n]}})},De=function(e){var t,n,r,i,o,a,s=S(e),u=arguments.length,c=u>1?arguments[1]:void 0,d=void 0!==c,f=R(s);if(null!=f&&!y(f)){for(a=f.call(s),r=[],t=0;!(o=a.next()).done;t++)r.push(o.value);s=r}for(d&&u>2&&(c=l(c,arguments[2],2)),t=0,n=E(s.length),i=Ne(this,n);n>t;t++)i[t]=d?c(s[t],t):s[t];return i},Ce=function(){for(var e=0,t=arguments.length,n=Ne(this,t);t>e;)n[e]=arguments[e++];return n},Me=!!W&&o((function(){_e.call(new W(1))})),Pe=function(){return _e.apply(Me?de.call(Oe(this)):Oe(this),arguments)},we={copyWithin:function(e,t){return Y.call(Oe(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return Z(Oe(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return G.apply(Oe(this),arguments)},filter:function(e){return Re(this,J(Oe(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return $(Oe(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Oe(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){X(Oe(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(Oe(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Oe(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return le.apply(Oe(this),arguments)},lastIndexOf:function(e){return ae.apply(Oe(this),arguments)},map:function(e){return Ie(Oe(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return se.apply(Oe(this),arguments)},reduceRight:function(e){return ue.apply(Oe(this),arguments)},reverse:function(){for(var e,t=Oe(this).length,n=Math.floor(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this},some:function(e){return Q(Oe(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return ce.call(Oe(this),e)},subarray:function(e,t){var n=Oe(this),r=n.length,i=m(e,r);return new(M(n,n[me]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,E((void 0===t?r:m(t,r))-i))}},Ue=function(e,t){return Re(this,de.call(Oe(this),e,t))},ke=function(e){Oe(this);var t=Ae(arguments[1],1),n=this.length,r=S(e),i=E(r.length),o=0;if(i+t>n)throw B("Wrong length!");for(;o<i;)this[t+o]=r[o++]},Ge={entries:function(){return oe.call(Oe(this))},keys:function(){return ie.call(Oe(this))},values:function(){return re.call(Oe(this))}},Ye=function(e,t){return I(e)&&e[Te]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},xe=function(e,t){return Ye(e,t=v(t,!0))?d(2,e[t]):F(e,t)},Ve=function(e,t,n){return!(Ye(e,t=v(t,!0))&&I(n)&&T(n,"value"))||T(n,"get")||T(n,"set")||n.configurable||T(n,"writable")&&!n.writable||T(n,"enumerable")&&!n.enumerable?H(e,t,n):(e[t]=n.value,e)};ve||(V.f=xe,x.f=Ve),a(a.S+a.F*!ve,"Object",{getOwnPropertyDescriptor:xe,defineProperty:Ve}),o((function(){fe.call({})}))&&(fe=_e=function(){return le.call(this)});var He=_({},we);_(He,Ge),f(He,pe,Ge.values),_(He,{slice:Ue,set:ke,constructor:function(){},toString:fe,toLocaleString:Pe}),Le(He,"buffer","b"),Le(He,"byteOffset","o"),Le(He,"byteLength","l"),Le(He,"length","e"),H(He,Ee,{get:function(){return this[Te]}}),e.exports=function(e,t,n,u){var l=e+((u=!!u)?"Clamped":"")+"Array",d="get"+e,_="set"+e,p=i[l],m=p||{},v=p&&O(p),T=!p||!s.ABV,S={},y=p&&p.prototype,R=function(e,n){H(e,n,{get:function(){return function(e,n){var r=e._d;return r.v[d](n*t+r.o,Se)}(this,n)},set:function(e){return function(e,n,r){var i=e._d;u&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[_](n*t+i.o,r,Se)}(this,n,e)},enumerable:!0})};T?(p=n((function(e,n,r,i){c(e,p,l,"_d");var o,a,s,u,d=0,_=0;if(I(n)){if(!(n instanceof z||"ArrayBuffer"==(u=g(n))||"SharedArrayBuffer"==u))return Te in n?be(p,n):De.call(p,n);o=n,_=Ae(r,t);var m=n.byteLength;if(void 0===i){if(m%t)throw B("Wrong length!");if((a=m-_)<0)throw B("Wrong length!")}else if((a=E(i)*t)+_>m)throw B("Wrong length!");s=a/t}else s=h(n),o=new z(a=s*t);for(f(e,"_d",{b:o,o:_,l:a,e:s,v:new q(o)});d<s;)R(e,d++)})),y=p.prototype=A(He),f(y,"constructor",p)):o((function(){p(1)}))&&o((function(){new p(-1)}))&&U((function(e){new p,new p(null),new p(1.5),new p(e)}),!0)||(p=n((function(e,n,r,i){var o;return c(e,p,l),I(n)?n instanceof z||"ArrayBuffer"==(o=g(n))||"SharedArrayBuffer"==o?void 0!==i?new m(n,Ae(r,t),i):void 0!==r?new m(n,Ae(r,t)):new m(n):Te in n?be(p,n):De.call(p,n):new m(h(n))})),X(v!==Function.prototype?N(m).concat(N(v)):N(m),(function(e){e in p||f(p,e,m[e])})),p.prototype=y,r||(y.constructor=p));var b=y[pe],L=!!b&&("values"==b.name||null==b.name),D=Ge.values;f(p,he,!0),f(y,Te,l),f(y,ge,!0),f(y,me,p),(u?new p(1)[Ee]==l:Ee in y)||H(y,Ee,{get:function(){return l}}),S[l]=p,a(a.G+a.W+a.F*(p!=m),S),a(a.S,l,{BYTES_PER_ELEMENT:t}),a(a.S+a.F*o((function(){m.of.call(p,1)})),l,{from:De,of:Ce}),"BYTES_PER_ELEMENT"in y||f(y,"BYTES_PER_ELEMENT",t),a(a.P,l,we),k(l),a(a.P+a.F*ye,l,{set:ke}),a(a.P+a.F*!L,l,Ge),r||y.toString==fe||(y.toString=fe),a(a.P+a.F*o((function(){new p(1).slice()})),l,{slice:Ue}),a(a.P+a.F*(o((function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()}))||!o((function(){y.toLocaleString.call([1,2])}))),l,{toLocaleString:Pe}),w[l]=L?b:D,r||L||f(y,pe,D)}}else e.exports=function(){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UID=t.useUID=t.uid=void 0;var r,i=(r=n(188))&&r.__esModule?r:{default:r},o=n(276);var a=function(e){return void 0===e&&(e="uid_"),(0,i.default)(e)};t.uid=a;var s=function(){return(0,o.useLazyValue)((function(){return a()}))};t.useUID=s;t.UID=function(e){return(0,e.children)(s())}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GUILD_VOCAL_CHANNELS_KEY=t.GUILD_SELECTABLE_CHANNELS_KEY=void 0;var r=I(n(8)),i=I(n(63)),o=I(n(3)),a=I(n(2)),s=I(n(1410)),u=n(180),l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(31)),c=I(n(78)),d=I(n(11)),f=I(n(10)),_=I(n(56)),p=I(n(15)),E=I(n(40)),h=I(n(70)),m=I(n(12)),v=n(1),T=I(n(6));function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function I(e){return e&&e.__esModule?e:{default:e}}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return A(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.GUILD_SELECTABLE_CHANNELS_KEY="SELECTABLE";t.GUILD_VOCAL_CHANNELS_KEY="VOCAL";var O={},N={},R={},b=null,L={comparator:-1,channel:new l.default({id:"null",type:v.ChannelTypes.GUILD_CATEGORY,name:T.default.Messages.UNCATEGORIZED})};function D(){var e;return(e={}).SELECTABLE=[],e.VOCAL=[],e[v.ChannelTypes.GUILD_CATEGORY]=[L],e.count=0,e}function C(e){var t=O[e];return null==t&&(t=D(),O[e]=t),t}function M(e,t){return e.comparator-t.comparator}function P(e){e.SELECTABLE.sort(M),e.VOCAL.sort(M),e[v.ChannelTypes.GUILD_CATEGORY].sort(M)}function w(e){void 0===e&&(e=function(e){return!0});var t=f.default.getMutableGuildChannels();r.default.forEach(t,(function(t){var n=t.getGuildId();if(null!=n&&e(t)){var r=C(n);if(r.count+=1,!l.GUILD_NON_CATEGORY_CHANNEL_TYPES.has(t.type)||E.default.can(v.Permissions.VIEW_CHANNEL,t)||t.id===b){var i=s.default.getCurrentConfig({}).allowCustomHubUI;if(!t.isDirectory()||i){var o,a=(o=t.type,(0,l.isGuildSelectableChannelType)(o)?"SELECTABLE":(0,l.isGuildVocalChannelType)(o)?"VOCAL":o);null!=r[a]&&r[a].push({comparator:t.position,channel:t})}}}}))}function U(){O={},N={},w();for(var e=0,t=Object.keys(O);e<t.length;e++){var n=t[e];P(O[n]),G(n)}!function(){R={};for(var e=m.default.getCurrentUser(),t=0,n=Object.keys(O);t<n.length;t++){var r=n[t];F(e,r)&&(R[r]=!0)}}()}function k(e){if(null==e||null==p.default.getGuild(e))return!1;var t=D();O[e]=t,w((function(t){return t.guild_id===e})),P(t),G(e),function(e){F(m.default.getCurrentUser(),e)?R[e]=!0:delete R[e]}(e)}function G(e){var t=N[e]={},n={};C(e).SELECTABLE.forEach((function(e){var r=e.channel,i=(0,u.computeChannelName)(r,m.default,h.default),o=Object.prototype.hasOwnProperty.call(n,i)?n[i]:null;null==o?n[i]=1:(n[i]=o+1,i+="~"+o),t[r.id]={id:r.id,name:i}}))}function Y(e){return k(e.guild.id)}function x(e){return k(e.channel.guild_id)}function V(e){return k(e.guildId)}function H(e,t){var n=c.default.computePermissions(e,t,null,null,!1);return i.default.hasAny(n,v.ElevatedPermissions)}function F(e,t){var n=p.default.getGuild(t);if(n&&H(e,n))return!0;for(var r,i=O[t],o=i.SELECTABLE,a=i.VOCAL,s=y(o);!(r=s()).done;){if(H(e,r.value.channel))return!0}for(var u,l=y(a);!(u=l()).done;){if(H(e,u.value.channel))return!0}return!1}function B(e,t){return b=t,null!=e&&null!=e.getGuildId()&&k(e.getGuildId())}var j=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(p.default,_.default,f.default,E.default,d.default)},i.getChannels=function(e){return null!=e?C(e):D()},i.getDefaultChannel=function(e){var t=this.getChannels(e).SELECTABLE.find((function(e){return e.channel.type!==v.ChannelTypes.GUILD_STORE}));return null!=t?t.channel:null},i.getSelectableChannelIds=function(e){return this.getChannels(e).SELECTABLE.map((function(e){return e.channel.id}))},i.hasSelectableChannel=function(e,t){return this.getSelectableChannelIds(e).includes(t)},i.hasElevatedPermissions=function(e){return R[e]||!1},i.hasChannels=function(e){return this.getChannels(e).count>0},i.hasCategories=function(e){return this.getChannels(e)[v.ChannelTypes.GUILD_CATEGORY].length>1},i.getTextChannelNameDisambiguations=function(e){return null!=e&&N[e]||{}},r}(o.default.Store))(a.default,{CONNECTION_OPEN:function(e){return U()},OVERLAY_INITIALIZE:function(e){return U()},CACHE_LOADED_LAZY:function(e){return U()},GUILD_CREATE:Y,GUILD_UPDATE:Y,GUILD_DELETE:function(e){var t=e.guild.id;return delete O[t],delete N[t],!0},GUILD_MEMBER_UPDATE:function(e){var t=e.guildId,n=e.user;return d.default.getId()===n.id&&k(t)},CURRENT_USER_UPDATE:function(e){return U(),!0},CHANNEL_CREATE:x,CHANNEL_DELETE:x,CHANNEL_UPDATES:function(e){for(var t,n=e.updates,r=!1,i=new Set,o=y(n);!(t=o()).done;){var a=t.value.channel;i.has(a.guild_id)||(!1!==k(a.guild_id)&&(r=!0),i.add(a.guild_id))}return r},GUILD_ROLE_CREATE:V,GUILD_ROLE_UPDATE:V,GUILD_ROLE_DELETE:V,VIEW_AS_ROLES_UPDATE:V,VIEW_AS_ROLES_STOP:V,VOICE_CHANNEL_SELECT:function(e){var t=e.channelId;return null==t&&null!=b?B(f.default.getChannel(b),null):B(f.default.getChannel(t),t)},VOICE_STATE_UPDATE:function(e){var t=e.channelId,n=e.sessionId;return d.default.getSessionId()===n&&B(f.default.getChannel(t),t)}});t.default=j},function(e,t,n){"use strict";function r(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}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.within,n=void 0!==t&&t,s=e.enabled,u=void 0===s||s,l=e.focused,d=e.offset,f=void 0===d?0:d,_=e.focusTarget,p=e.ringTarget,E=e.ringClassName,h=e.focusClassName,m=e.focusWithinClassName,v=e.children;null!=_&&(0,o.default)(null!=p,"FocusRing was given a focusTarget but the required ringTarget was not provided. A ringTarget is required to avoid ambiguity of where the ring will be applied.");null!=l&&(0,o.default)(null!=p,"FocusRing was given a controlled focused prop but no ringTarget to apply the ring to. A ringTarget is required since it cannot be inferred through regular focus events.");var T=r.useRef(!1),g=r.useState(!1),I=g[0],S=g[1],y=r.useContext(a.default),A=r.Children.only(v),O=A.props,N=O.onBlur,R=O.onFocus,b=function(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}(O,["onBlur","onFocus"]),L=r.useMemo((function(){return{className:E,offset:f}}),[E,f]);r.useLayoutEffect((function(){u&&y.invalidate()})),r.useEffect((function(){return function(){T.current&&y.hide()}}),[y]),r.useEffect((function(){var e=null==p?void 0:p.current;null!=l&&null!=e&&(T.current=l,l?y.showElement(e,L):!1===l&&y.hide())}),[l,L,y,p]),r.useLayoutEffect((function(){if(null==l){var e=null==_?void 0:_.current,t=null==p?void 0:p.current;if(null!=e&&null!=t)return e.addEventListener("focusin",r,!0),e.addEventListener("focusout",i,!0),function(){e.removeEventListener("focusin",r,!0),e.removeEventListener("focusout",i,!0)}}function r(e){if(null!=t){if(e.currentTarget===e.target)return T.current=!0,void y.showElement(t,L);S(!0),n&&y.showElement(t,L)}}function i(){y.hide(),T.current=!1,S(!1)}}),[n,L,l,y,_,p]);var D=r.useCallback((function(e){y.hide(),T.current=!1,S(!1),null==N||N(e)}),[N,y]),C=r.useCallback((function(e){var t=null==p?void 0:p.current;e.currentTarget===e.target?(T.current=!0,y.showElement(null!=t?t:e.currentTarget,L)):(S(!0),n&&y.showElement(null!=t?t:e.currentTarget,L)),null==R||R(e)}),[p,n,R,y,L]);return u&&null==_&&null==l?r.cloneElement(A,c({},b,{className:(0,i.default)(b.className,T.current?h:void 0,I?m:void 0),onBlur:D,onFocus:C})):A},Object.defineProperty(t,"FocusRingScope",{enumerable:!0,get:function(){return s.default}});var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=u(n(9)),o=u(n(23)),a=u(n(445)),s=u(n(1291));function u(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(62)),i=n(280),o=l(n(150)),a=l(n(97)),s=n(139),u=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=function(e){var t,n;function r(t){var n,r;return(r=e.call(this)||this).id=t.id,r.username=t.username||"",r.usernameNormalized=(0,s.stripDiacritics)(r.username.toLocaleLowerCase()),r.discriminator=t.discriminator||u.NON_USER_BOT_DISCRIMINATOR,r.avatar=t.avatar||null,r.email=t.email||null,r.verified=t.verified||!1,r.bot=t.bot||!1,r.system=t.system||!1,r.mfaEnabled=t.mfa_enabled||t.mfaEnabled||!1,r.mobile=t.mobile||!1,r.desktop=t.desktop||!1,r.premiumType=t.premium_type||t.premiumType,r.flags=t.flags||0,r.publicFlags=t.public_flags||t.publicFlags||0,r.purchasedFlags=t.purchased_flags||0,r.phone=t.phone||null,r.nsfwAllowed=null!==(n=t.nsfw_allowed)&&void 0!==n?n:t.nsfwAllowed,r.banner=t.banner||null,r.bannerColor=t.banner_color||t.bannerColor||null,r.bio=t.bio||"",r.guildMemberAvatars=t.guildMemberAvatars||{},r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var l,_,p,E=r.prototype;return E.getAvatarURL=function(e,t){void 0===t&&(t=!1);var n=null!=e?this.guildMemberAvatars[e]:void 0;return null!=n&&null!=e?o.default.getGuildMemberAvatarURLSimple({guildId:e,avatar:n,userId:this.id,canAnimate:t}):o.default.getUserAvatarURL(this,t)},E.addGuildAvatarHash=function(e,t){var n;if(this.guildMemberAvatars[e]===t)return this;var r=c({},this.guildMemberAvatars,((n={})[e]=t,n));return this.merge({guildMemberAvatars:r})},E.removeGuildAvatarHash=function(e){var t;if(void 0===this.guildMemberAvatars[e])return this;var n=c({},this.guildMemberAvatars,((t={})[e]=void 0,t));return this.merge({guildMemberAvatars:n})},E.getAvatarSource=function(e,t){if(void 0===t&&(t=!1),null!=e){var n=this.guildMemberAvatars[e];if(null!=n)return o.default.makeSource(o.default.getGuildMemberAvatarURLSimple({guildId:e,avatar:n,userId:this.id,canAnimate:t}))}return o.default.getUserAvatarSource({id:this.id,avatar:this.avatar,discriminator:this.discriminator,bot:this.bot},t)},E.getBannerURL=function(e){return void 0===e&&(e=!1),o.default.getUserBannerURL(this,e)},E.getBannerSource=function(e){return void 0===e&&(e=!1),null==this.banner?null:o.default.makeSource(this.getBannerURL(e))},E.isClaimed=function(){return null!=this.email||null!=this.phone},E.isPhoneVerified=function(){return null!=this.phone},E.toString=function(){return this.username||"???"},E.hasFlag=function(e){return((this.flags|this.publicFlags)&e)===e},E.hasPurchasedFlag=function(e){return(this.purchasedFlags&e)===e},E.hasHadSKU=function(e){var t=i.SKU_ID_PURCHASED_FLAGS[e];return null!=t&&this.hasPurchasedFlag(t)},E.hasFreePremium=function(){return this.isStaff()||this.hasFlag(u.UserFlags.PARTNER)},E.hasUrgentMessages=function(){return this.hasFlag(u.UserFlags.HAS_UNREAD_URGENT_MESSAGES)},E.isNonUserBot=function(){return this.isSystemUser()||this.bot&&this.discriminator===u.NON_USER_BOT_DISCRIMINATOR},E.isLocalBot=function(){return this.bot&&this.id===u.LOCAL_BOT_ID},E.isVerifiedBot=function(){return this.isSystemUser()||this.isLocalBot()||this.hasFlag(u.UserFlags.VERIFIED_BOT)},E.isSystemUser=function(){return!0===this.system},E.isStaff=function(){return this.hasFlag(u.UserFlags.STAFF)},E.hasAvatarForGuild=function(e){return null!=e&&null!=this.guildMemberAvatars[e]},l=r,(_=[{key:"createdAt",get:function(){return new Date(a.default.extractTimestamp(this.id))}},{key:"bannerURL",get:function(){return this.getBannerURL(!0)}},{key:"tag",get:function(){return this.username+"#"+this.discriminator}},{key:"hasPremiumPerks",get:function(){return void 0!==this.premiumType}}])&&d(l.prototype,_),p&&d(l,p),r}(r.default);t.default=_},function(e,t,n){var r=n(21);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(109)("meta"),i=n(21),o=n(58),a=n(33).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(19)((function(){return u(Object.preventExtensions({}))})),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!o(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return l&&d.NEED&&u(e)&&!o(e,r)&&c(e),e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Colors",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"WebColors",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"ThemeTypes",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"ThemeColorMap",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"ThemeColorMapItem",{enumerable:!0,get:function(){return c.ThemeColorMapItem}}),t.NavigateEventSource=t.UserMediaErrors=t.SKUGenres=t.SKUFeatureTypes=t.CurrencyCodes=t.Images=t.WebAnalyticsPageLoads=t.WebAnalyticsEvents=t.SOCIAL_LINKS=t.WebRoutes=t.AppRoutes=t.LocalizedLinks=t.Links=t.STATUS_PAGE_ENDPOINT=t.STATUS_DOMAIN=t.RPCCloseCodes=t.TOKEN_KEY=t.ROUGH_COUNT_MILLION_PLAYERS=t.RPCEvents=t.RPCCommands=t.RPC_PORT_RANGE=t.RPC_STARTING_PORT=t.RPC_VERSION=t.ElevatedPermissions=t.NOOP_NULL=t.NOOP=t.Permissions=t.ExternalSKUStrategyTypes=t.BraintreeErrors=t.PaymentStatusTypes=t.PaymentSourceFlags=t.PaymentSourceTypes=t.PaymentSettings=t.PaymentGatewayToFriendlyName=t.PaymentGateways=t.OAuth2Scopes=t.RECAPTCHA_SITE_KEY=t.ClientTypes=t.StatusTypes=t.Fonts=t.UNSAFE_Colors=t.FEEDBACK_DOMAIN=t.BLOG_DOMAIN=t.EMAIL_DOMAIN=t.SUPPORT_DEV_DOMAIN=t.SUPPORT_DOMAIN=t.PRIMARY_DOMAIN=t.VANITY_URL_PREFIX=t.APP_URL_PREFIX=void 0;var r,i=f(n(133)),o=f(n(63)),a=n(420),s=f(n(434)),u=f(n(910)),l=f(n(1518)),c=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(1519));function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){return e&&e.__esModule?e:{default:e}}var _=location.protocol+window.GLOBAL_ENV.WEBAPP_ENDPOINT;t.APP_URL_PREFIX=_;var p=location.protocol+"//discord.gg";t.VANITY_URL_PREFIX=p;t.PRIMARY_DOMAIN="discord.com";t.SUPPORT_DOMAIN="support.discord.com";t.SUPPORT_DEV_DOMAIN="support-dev.discord.com";t.EMAIL_DOMAIN="discord.com";t.BLOG_DOMAIN="blog.discord.com";t.FEEDBACK_DOMAIN="feedback.discord.com";var E=Object.freeze({HINT_PURPLE:"#c9d2f0",DARK_PURPLE:"#697ec4",MODAL_GREY:"#EFEFF4",ORANGE:"#f57731",GUILDS_GREY:"#1e2124",ACCOUNT_GREY:"#282b30",CHAT_GREY:"#36393e",UNREAD_GREY:"#8a8e94",HIGHLIGHT_GREY:"#25282c",AVATAR_GREY:"#747F8C",WHITE2:"#f3f3f3",WHITE3:"#f0f0f0",WHITE7:"#dbdde1",WHITE8:"#cdcdcd",GREY1:"#99aab5",GREY2:"#87909c",GREY3:"#737f8d",GREY4:"#949494",GREY5:"#535559",GREY6:"#4f545c",GREY7:"#1c242b",GREY9:"#202226"});t.UNSAFE_Colors=E;var h,m=Object.freeze({PRIMARY_LIGHT:"Whitney-Light",PRIMARY_BOLD:"Whitney-Bold",PRIMARY_SEMIBOLD:"Whitney-Semibold",PRIMARY_REGULAR:"Whitney-Book",PRIMARY:"Whitney-Medium",DISPLAY_BOLD:"ABCGintoNormalVariable_Bold",DISPLAY_SEMIBOLD:"ABCGintoNormalVariable_Medium",DISPLAY:"ABCGintoNormalVariable",CODE_SEMIBOLD:"SourceCodePro-Semibold"});t.Fonts=m,t.StatusTypes=h,function(e){e.ONLINE="online",e.OFFLINE="offline",e.IDLE="idle",e.DND="dnd",e.INVISIBLE="invisible",e.STREAMING="streaming",e.UNKNOWN="unknown"}(h||(t.StatusTypes=h={}));var v=Object.freeze({DESKTOP:"desktop",WEB:"web",MOBILE:"mobile",UNKNOWN:"unknown"});t.ClientTypes=v;t.RECAPTCHA_SITE_KEY="6Lef5iQTAAAAAKeIvIY-DeexoO3gj7ryl9rLMEnn";var T=Object.freeze({IDENTIFY:"identify",EMAIL:"email",CONNECTIONS:"connections",GUILDS:"guilds",GUILDS_JOIN:"guilds.join",GDM_JOIN:"gdm.join",RPC:"rpc",RPC_NOTIFICATIONS_READ:"rpc.notifications.read",RPC_VOICE_READ:"rpc.voice.read",RPC_VOICE_WRITE:"rpc.voice.write",RPC_ACTIVITIES_WRITE:"rpc.activities.write",BOT:"bot",WEBHOOK_INCOMING:"webhook.incoming",MESSAGES_READ:"messages.read",APPLICATIONS_BUILDS_UPLOAD:"applications.builds.upload",APPLICATIONS_BUILDS_READ:"applications.builds.read",APPLICATIONS_COMMANDS:"applications.commands",APPLICATIONS_COMMANDS_UPDATE:"applications.commands.update",APPLICATIONS_STORE_UPDATE:"applications.store.update",APPLICATIONS_ENTITLEMENTS:"applications.entitlements",ACTIVITIES_READ:"activities.read",ACTIVITIES_WRITE:"activities.write",RELATIONSHIPS_READ:"relationships.read"});t.OAuth2Scopes=T;var g=Object.freeze({STRIPE:1,BRAINTREE:2,APPLE:3,GOOGLE:4});t.PaymentGateways=g;var I=Object.freeze(((r={})[g.STRIPE]="Stripe",r[g.BRAINTREE]="Braintree",r[g.APPLE]="Apple",r[g.GOOGLE]="Google",r));t.PaymentGatewayToFriendlyName=I;var S,y,A=Object.freeze({BRAINTREE:{KEY:window.GLOBAL_ENV.BRAINTREE_KEY,PAYMENT_GATEWAY:"braintree"},STRIPE:{KEY:window.GLOBAL_ENV.STRIPE_KEY,PAYMENT_GATEWAY:"stripe"}});t.PaymentSettings=A,t.PaymentSourceTypes=S,function(e){e[e.CARD=1]="CARD",e[e.PAYPAL=2]="PAYPAL",e[e.PAYMENT_REQUEST=3]="PAYMENT_REQUEST"}(S||(t.PaymentSourceTypes=S={})),t.PaymentSourceFlags=y,function(e){e[e.NEW=1]="NEW"}(y||(t.PaymentSourceFlags=y={}));var O=Object.freeze({PENDING:0,COMPLETED:1,FAILED:2,REVERSED:3,REFUNDED:4,CANCELED:5});t.PaymentStatusTypes=O;var N=Object.freeze({PAYPAL_POPUP_CLOSED:"PAYPAL_POPUP_CLOSED"});t.BraintreeErrors=N;var R=Object.freeze({CONSTANT:1,APPLE_STICKER:2});t.ExternalSKUStrategyTypes=R;var b=Object.freeze({CREATE_INSTANT_INVITE:o.default.getFlag(0),KICK_MEMBERS:o.default.getFlag(1),BAN_MEMBERS:o.default.getFlag(2),ADMINISTRATOR:o.default.getFlag(3),MANAGE_CHANNELS:o.default.getFlag(4),MANAGE_GUILD:o.default.getFlag(5),CHANGE_NICKNAME:o.default.getFlag(26),MANAGE_NICKNAMES:o.default.getFlag(27),MANAGE_ROLES:o.default.getFlag(28),MANAGE_WEBHOOKS:o.default.getFlag(29),MANAGE_EMOJIS:o.default.getFlag(30),VIEW_AUDIT_LOG:o.default.getFlag(7),VIEW_CHANNEL:o.default.getFlag(10),VIEW_GUILD_ANALYTICS:o.default.getFlag(19),SEND_MESSAGES:o.default.getFlag(11),SEND_TTS_MESSAGES:o.default.getFlag(12),MANAGE_MESSAGES:o.default.getFlag(13),EMBED_LINKS:o.default.getFlag(14),ATTACH_FILES:o.default.getFlag(15),READ_MESSAGE_HISTORY:o.default.getFlag(16),MENTION_EVERYONE:o.default.getFlag(17),USE_EXTERNAL_EMOJIS:o.default.getFlag(18),ADD_REACTIONS:o.default.getFlag(6),USE_APPLICATION_COMMANDS:o.default.getFlag(31),MANAGE_THREADS:o.default.getFlag(34),USE_PUBLIC_THREADS:o.default.getFlag(35),USE_PRIVATE_THREADS:o.default.getFlag(36),CONNECT:o.default.getFlag(20),SPEAK:o.default.getFlag(21),MUTE_MEMBERS:o.default.getFlag(22),DEAFEN_MEMBERS:o.default.getFlag(23),MOVE_MEMBERS:o.default.getFlag(24),USE_VAD:o.default.getFlag(25),PRIORITY_SPEAKER:o.default.getFlag(8),STREAM:o.default.getFlag(9),REQUEST_TO_SPEAK:o.default.getFlag(32),MANAGE_EVENTS:o.default.getFlag(33)});t.Permissions=b;t.NOOP=function(){};t.NOOP_NULL=function(){return null};var L=o.default.combine(b.KICK_MEMBERS,b.BAN_MEMBERS,b.ADMINISTRATOR,b.MANAGE_CHANNELS,b.MANAGE_GUILD,b.MANAGE_ROLES,b.MANAGE_MESSAGES,b.MANAGE_THREADS);t.ElevatedPermissions=L;t.RPC_VERSION=1;t.RPC_STARTING_PORT=6463;t.RPC_PORT_RANGE=10;var D=(0,i.default)({DISPATCH:null,SET_CONFIG:null,AUTHORIZE:null,AUTHENTICATE:null,GET_GUILD:null,GET_GUILDS:null,GET_CHANNEL:null,GET_CHANNELS:null,CREATE_CHANNEL_INVITE:null,GET_RELATIONSHIPS:null,GET_USER:null,SUBSCRIBE:null,UNSUBSCRIBE:null,SET_USER_VOICE_SETTINGS:null,SET_USER_VOICE_SETTINGS_2:null,SELECT_VOICE_CHANNEL:null,GET_SELECTED_VOICE_CHANNEL:null,SELECT_TEXT_CHANNEL:null,GET_VOICE_SETTINGS:null,SET_VOICE_SETTINGS_2:null,SET_VOICE_SETTINGS:null,SET_ACTIVITY:null,SEND_ACTIVITY_JOIN_INVITE:null,CLOSE_ACTIVITY_JOIN_REQUEST:null,ACTIVITY_INVITE_USER:null,ACCEPT_ACTIVITY_INVITE:null,OPEN_INVITE_DIALOG:null,INVITE_BROWSER:null,DEEP_LINK:null,CONNECTIONS_CALLBACK:null,BRAINTREE_POPUP_BRIDGE_CALLBACK:null,GIFT_CODE_BROWSER:null,GUILD_TEMPLATE_BROWSER:null,GUILD_STAGES_BROWSER:null,OVERLAY:null,BROWSER_HANDOFF:null,SET_CERTIFIED_DEVICES:null,GET_IMAGE:null,CREATE_LOBBY:null,UPDATE_LOBBY:null,DELETE_LOBBY:null,UPDATE_LOBBY_MEMBER:null,CONNECT_TO_LOBBY:null,DISCONNECT_FROM_LOBBY:null,SEND_TO_LOBBY:null,SEARCH_LOBBIES:null,CONNECT_TO_LOBBY_VOICE:null,DISCONNECT_FROM_LOBBY_VOICE:null,SET_OVERLAY_LOCKED:null,OPEN_OVERLAY_ACTIVITY_INVITE:null,OPEN_OVERLAY_GUILD_INVITE:null,OPEN_OVERLAY_VOICE_SETTINGS:null,VALIDATE_APPLICATION:null,GET_ENTITLEMENT_TICKET:null,GET_APPLICATION_TICKET:null,START_PURCHASE:null,START_PREMIUM_PURCHASE:null,GET_SKUS:null,GET_ENTITLEMENTS:null,GET_NETWORKING_CONFIG:null,NETWORKING_SYSTEM_METRICS:null,NETWORKING_PEER_METRICS:null,NETWORKING_CREATE_TOKEN:null,SET_USER_ACHIEVEMENT:null,GET_USER_ACHIEVEMENTS:null,GET_ACTIVITY_JOIN_TICKET:null,SEND_GENERIC_EVENT:null});t.RPCCommands=D;var C=(0,i.default)({CURRENT_USER_UPDATE:null,GUILD_STATUS:null,GUILD_CREATE:null,CHANNEL_CREATE:null,RELATIONSHIP_UPDATE:null,VOICE_CHANNEL_SELECT:null,VOICE_STATE_CREATE:null,VOICE_STATE_DELETE:null,VOICE_STATE_UPDATE:null,VOICE_SETTINGS_UPDATE:null,VOICE_SETTINGS_UPDATE_2:null,VOICE_CONNECTION_STATUS:null,SPEAKING_START:null,SPEAKING_STOP:null,GAME_JOIN:null,GAME_SPECTATE:null,ACTIVITY_JOIN:null,ACTIVITY_JOIN_REQUEST:null,ACTIVITY_SPECTATE:null,ACTIVITY_INVITE:null,NOTIFICATION_CREATE:null,MESSAGE_CREATE:null,MESSAGE_UPDATE:null,MESSAGE_DELETE:null,LOBBY_DELETE:null,LOBBY_UPDATE:null,LOBBY_MEMBER_CONNECT:null,LOBBY_MEMBER_DISCONNECT:null,LOBBY_MEMBER_UPDATE:null,LOBBY_MESSAGE:null,OVERLAY:null,OVERLAY_UPDATE:null,ENTITLEMENT_CREATE:null,ENTITLEMENT_DELETE:null,USER_ACHIEVEMENT_UPDATE:null,READY:null,ERROR:null});t.RPCEvents=C;t.ROUGH_COUNT_MILLION_PLAYERS=250;var M;t.TOKEN_KEY="token",t.RPCCloseCodes=M,function(e){e[e.CLOSE_NORMAL=1e3]="CLOSE_NORMAL",e[e.CLOSE_UNSUPPORTED=1003]="CLOSE_UNSUPPORTED",e[e.CLOSE_ABNORMAL=1006]="CLOSE_ABNORMAL",e[e.INVALID_CLIENTID=4e3]="INVALID_CLIENTID",e[e.INVALID_ORIGIN=4001]="INVALID_ORIGIN",e[e.RATELIMITED=4002]="RATELIMITED",e[e.TOKEN_REVOKED=4003]="TOKEN_REVOKED",e[e.INVALID_VERSION=4004]="INVALID_VERSION",e[e.INVALID_ENCODING=4005]="INVALID_ENCODING"}(M||(t.RPCCloseCodes=M={}));t.STATUS_DOMAIN="status.discord.com";t.STATUS_PAGE_ENDPOINT="https://status.discord.com";var P={PRESSKIT:"https://app.box.com/s/5puqm5ijahrrdao7yldi7fr3zah5i1am",REBRAND_PRESSKIT:"https://www.dropbox.com/sh/nabhhaq7kt59exr/AAB7U3f2pW-Jmvdul0yy7o-ia?dl=1",STATUS:"https://discordstatus.com",HELP_AND_SUPPORT:"//support.discord.com/hc/en-us",FEEDBACK:"//feedback.discord.com",BLOG:"//blog.discord.com/",EMAIL_SUPPORT:"mailto:support@discord.com",EMAIL_LAW_ENFORCEMENT:"mailto:lawenforcement@discord.com",EMAIL_HYPESQUAD:"mailto:hypesquad@discord.com",DEV_PERKS_FORM:"https://goo.gl/forms/oZfKBStV3sR8GHdU2",VERIFICATION_REQUIREMENTS:"https://dis.gd/vfqual",BASE_URL:"https://discord.com",PRESS_INQUIRIES:"mailto:press@discord.com",CONTACT_US:"https://dis.gd/contact",DEV_PORTAL:"/developers",DEV_PORTAL_APPLICATIONS:"/developers/applications",DEV_PORTAL_DOCUMENTATION:"/developers/docs",DEV_PORTAL_SELF_SERVE_MODAL:"/developers/?store_signup=true",PARTNER_CODE_OF_CONDUCT:"https://support.discord.com/hc/en-us/articles/360024871991",SUBMIT_TNS_REPORT:"https://dis.gd/request",MERCH_STORE:"https://discordmerch.com",MOD_ACADEMY_EXAM:"https://dis.gd/exam"};t.Links=P;var w=Object.freeze({TWITTER:Object.freeze({default:"https://twitter.com/discord",ja:"https://twitter.com/discord_jp"})});t.LocalizedLinks=w;var U=Object.freeze({WELCOME:_+"/welcome/",ME:_+"/channels/@me",SETTINGS:function(e,t){return _+"/settings/"+e+(t?"/"+t:"")},CONNECTION:function(e){return _+"/connections/"+e},CHANGELOGS:_+"/settings/changelogs",LOGIN:_+"/login",LOGIN_WITH_REDIRECT:function(e){return _+"/login?redirect_to="+e},REGISTER:_+"/register",REGISTER_WITH_REDIRECT:function(e){return _+"/register?redirect_to="+e},CREATE_GUILD:_+"/guilds/create",VANITY_INVITE:function(e){return p+"/"+e},HYPESQUAD_ONLINE:_+"/settings/hypesquad-online",BROWSE_NITRO_TITLES:_+"/store/browse?type=nitro",SKU_DETAILS:function(e,t){return _+"/store/skus/"+e+(null!=t?"?store_listing_id="+t:"")}}),k=Object.freeze({INDEX:"/",INDEX_WORD:"/index",INDEX_BUCKET:"/index/:bucketId",TV:"/tv",CHANGELOGS:"/changelogs/:date",COMPANY:"/company",DOWNLOADS:"/downloads",DOWNLOAD:"/download",PRIVACY:"/privacy",TOS:"/tos",TERMS:"/terms",STORE_TERMS:"/store-terms",ACKNOWLEDGEMENTS:"/acknowledgements",LICENSES:"/licenses",PARTNERS:"/partners",HYPESQUAD:"/hypesquad",HYPESQUAD_RIOT:"/hypesquad-riot",BRANDING:"/branding",ERROR_404:"/404",JOBS:"/jobs",JOB:"/jobs/:jobId",STREAMKIT:"/streamkit",SECURITY:"/security",NITRO:"/nitro",GUIDELINES:"/guidelines",RICH_PRESENCE:"/rich-presence",VERIFICATION:"/verification",OPEN_SOURCE:"/open-source",WARFRAME:"/warframe",SELL_YOUR_GAME:"/sell-your-game",XBOX_OFFER:"/discord-xbox-offer-2020",SELL_YOUR_GAMES:"/sell-your-games",TEST_KITCHEN:"/test-kitchen",REMOTE_AUTH:"/ra/:remoteAuthFingerprint",WHY_DISCORD:"/why-discord",SAFETY_LANDING:"/safety",SAFETY_ARTICLE:"/safety/:article",NEWSROOM:"/newsroom",INSPIRATION:"/inspiration",BACK_TO_SCHOOL_GIVEAWAY_INSTAGRAM:"/terms/back-to-school-2020/instagram",BACK_TO_SCHOOL_GIVEAWAY_TWITTER:"/terms/back-to-school-2020/twitter",SNOWSGIVING_GIVEAWAY_INSTAGRAM:"/terms/snowsgiving-2020/instagram",SNOWSGIVING_GIVEAWAY_TWITTER:"/terms/snowsgiving-2020/twitter",MOD_ACADEMY_LANDING:"/moderation",MOD_ACADEMY_EXAM:"/moderation/exam",MOD_ACADEMY_ARTICLE:"/moderation/:article",REFRESH_INDEX:"/new",REFRESH_INDEX_WORD:"/new/index",REFRESH_COMPANY:"/new/company",REFRESH_DOWNLOAD:"/new/download",REFRESH_PRIVACY:"/new/privacy",REFRESH_TERMS:"/new/terms",REFRESH_ACKNOWLEDGEMENTS:"/new/acknowledgements",REFRESH_LICENSES:"/new/licenses",REFRESH_BRANDING:"/new/branding",REFRESH_JOBS:"/new/jobs",REFRESH_JOB:"/new/jobs/:jobId",REFRESH_STREAMKIT:"/new/streamkit",REFRESH_NITRO:"/new/nitro",REFRESH_GUIDELINES:"/new/guidelines",REFRESH_XBOX_OFFER:"/new/discord-xbox-offer-2019",REFRESH_WHY_DISCORD:"/why-discord-is-different",REFRESH_SAFETY_LANDING:"/new/safety",REFRESH_SAFETY_ARTICLE:"/new/safety/:article",COLLEGE:"/college",COLLEGE_BRUINS:"/bruins",COLLEGE_ANTEATERS:"/anteaters",COLLEGE_BEARS:"/bears",COLLEGE_SLUGS:"/slugs",COLLEGE_GAUCHOS:"/gauchos",LEAGUE_CLUBS:"/league-communities",DEV_NEWSLETTER_SIGNUP:"/dev-newsletter",LEGACY_DEV_NEWSLETTER:"/newsletter"}),G=(0,a.wrapPaths)(U);t.AppRoutes=G;var Y=(0,a.wrapPaths)(k);t.WebRoutes=Y;var x,V,H=Object.freeze({FACEBOOK_URL:"https://www.facebook.com/discord/",INSTAGRAM_URL:"https://www.instagram.com/discord/",YOUTUBE_URL:"https://www.youtube.com/discord/"});t.SOCIAL_LINKS=H,t.WebAnalyticsEvents=x,function(e){e.EXPERIMENT_USER_TRIGGERED="experiment_user_triggered",e.EXPERIMENT_GUILD_TRIGGERED="experiment_guild_triggered",e.MKTG_PAGE_VIEWED="mktg_page_viewed",e.CLICK_LANDING_CTA="click_landing_cta",e.DOWNLOAD_APP="download_app",e.MKTG_HYPESQUAD_FORM_SUBMITTED="mktg_hypesquad_form_submitted",e.MKTG_HYPESQUAD_FORM_OPENED="mktg_hypesquad_form_opened",e.CHANGE_MARKETING_LOCALE="change_marketing_locale",e.GAME_CLICKED_LANDING="game_clicked_landing",e.MAIN_NAVIGATION_MENU="main_navigation_menu",e.MKTG_APPLICATION_STEP="mktg_application_step",e.MKTG_WARFRAME_CTA_CLICKED="mktg_warframe_cta_clicked",e.MKTG_PAGE_CTA_CLICKED="mktg_page_cta_clicked",e.MKTG_VIDEO_PLAYED="mktg_video_played",e.DEEP_LINK_CLICKED="deep_link_clicked"}(x||(t.WebAnalyticsEvents=x={})),t.WebAnalyticsPageLoads=V,function(e){e.MKTG_ACKNOWLEDGEMENTS_MODAL_OPEN="mktg_ack_modal_open"}(V||(t.WebAnalyticsPageLoads=V={}));var F={ASSET_SOCIAL_TWITTER:n(1520),ASSET_SOCIAL_FACEBOOK:n(1521),ASSET_SOCIAL_INSTAGRAM:n(1522),ICON_TRANSLATE:n(1523),ICON_ARROW_DOWN:n(1524),ASSET_LOGO_DISCORD_SVG:n(1525)};t.Images=F;var B=Object.freeze({USD:"usd",CAD:"cad",EUR:"eur",AUD:"aud",GBP:"gbp",JPY:"jpy",NOK:"nok",RUB:"rub"});t.CurrencyCodes=B;var j=Object.freeze({SINGLE_PLAYER:1,ONLINE_MULTIPLAYER:2,LOCAL_MULTIPLAYER:3,PVP:4,LOCAL_COOP:5,CROSS_PLATFORM:6,RICH_PRESENCE:7,DISCORD_GAME_INVITES:8,SPECTATOR_MODE:9,CONTROLLER_SUPPORT:10,CLOUD_SAVES:11,ONLINE_COOP:12,SECURE_NETWORKING:13});t.SKUFeatureTypes=j;var W,K,z=Object.freeze({ACTION:1,ACTION_RPG:2,BRAWLER:3,HACK_AND_SLASH:4,PLATFORMER:5,STEALTH:6,SURVIVAL:7,ADVENTURE:8,ACTION_ADVENTURE:9,METROIDVANIA:10,OPEN_WORLD:11,PSYCHOLOGICAL_HORROR:12,SANDBOX:13,SURVIVAL_HORROR:14,VISUAL_NOVEL:15,DRIVING_RACING:16,VEHICULAR_COMBAT:17,MASSIVELY_MULTIPLAYER:18,MMORPG:19,ROLE_PLAYING:20,DUNGEON_CRAWLER:21,ROGUELIKE:22,SHOOTER:23,LIGHT_GUN:24,SHOOT_EM_UP:25,FPS:26,DUAL_JOYSTICK_SHOOTER:27,SIMULATION:28,FLIGHT_SIMULATOR:29,TRAIN_SIMULATOR:30,LIFE_SIMULATOR:31,FISHING:32,SPORTS:33,BASEBALL:34,BASKETBALL:35,BILLIARDS:36,BOWLING:37,BOXING:38,FOOTBALL:39,GOLF:40,HOCKEY:41,SKATEBOARDING_SKATING:42,SNOWBOARDING_SKIING:43,SOCCER:44,TRACK_FIELD:45,SURFING_WAKEBOARDING:46,WRESTLING:47,STRATEGY:48,FOUR_X:49,ARTILLERY:50,RTS:51,TOWER_DEFENSE:52,TURN_BASED_STRATEGY:53,WARGAME:54,MOBA:55,FIGHTING:56,PUZZLE:57,CARD_GAME:58,EDUCATION:59,FITNESS:60,GAMBLING:61,MUSIC_RHYTHM:62,PARTY_MINI_GAME:63,PINBALL:64,TRIVIA_BOARD_GAME:65});t.SKUGenres=z,t.UserMediaErrors=W,function(e){e.PERMISSION_DENIED="PERMISSION_DENIED",e.PERMISSION_DISMISSED="PERMISSION_DISMISSED",e.NO_DEVICES_FOUND="NO_DEVICES_FOUND"}(W||(t.UserMediaErrors=W={})),t.NavigateEventSource=K,function(e){e.SWIPE="SWIPE",e.BROWSER="BROWSER",e.KEYBIND="KEYBIND"}(K||(t.NavigateEventSource=K={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SUPPORT_LOCATION=void 0;var r=l(n(14)),i=l(n(1295)),o=l(n(11)),a=l(n(39)),s=l(n(16)),u=n(1);function l(e){return e&&e.__esModule?e:{default:e}}var c="https://"+u.SUPPORT_DOMAIN;t.SUPPORT_LOCATION=c;var d="https://"+u.SUPPORT_DEV_DOMAIN;function f(e,t){return void 0===t&&(t=c),t+e}function _(){return a.default.locale.toLowerCase()}var p={getArticleURL:function(e){return f("/hc/"+_()+"/articles/"+e)},getDevArticleURL:function(e){return f("/hc/"+_()+"/articles/"+e,d)},getTwitterURL:function(){return(0,i.default)(u.LocalizedLinks.TWITTER)},getCommunityURL:function(){return f("/hc/"+_())},getSubmitRequestURL:function(e,t){void 0===e&&(e=!1);var n=f("/hc/"+_()+"/requests/new?platform="+encodeURIComponent(s.default.platform));return null!=t&&(n+="&device_info="+encodeURIComponent(t)),e?(n=encodeURIComponent(n),""+r.default.getAPIBaseURL()+u.Endpoints.SSO+"?service=zendesk&return_to="+n+"&token="+o.default.getToken()):n},getSearchURL:function(e){var t=encodeURIComponent(e);return f("/hc/"+_()+"/search?utf8=%E2%9C%93&query="+t+"&commit=Search")},getFeaturedArticlesJsonURL:function(){return f("/api/v2/help_center/en-us/articles.json?label_names=featured")}};t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o=_(n(3)),a=n(34),s=_(n(2)),u=_(n(758)),l=_(n(1751)),c=_(n(11)),d=_(n(80)),f=n(1);function _(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(){return(E=Object.assign||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}).apply(this,arguments)}var h=null,m=null,v=null;function T(e,t){if(null==i)throw new Error("Creating RTCConnection without session.");var n=c.default.getId(),r=new u.default(n,i,e,t);return r.on("state",(function(e,t,n){s.default.wait((function(){return s.default.dispatch(E({type:f.ActionTypes.RTC_CONNECTION_STATE,state:e,hostname:t},n))}))})),r.on("video",(function(e,t,n,r,i){s.default.wait((function(){return s.default.dispatch({type:f.ActionTypes.RTC_CONNECTION_VIDEO,guildId:e,channelId:t,userId:n,streamId:r,rtcServerId:i,context:a.MediaEngineContextTypes.DEFAULT})}))})),r.on("ping",(function(e,t){s.default.wait((function(){return s.default.dispatch({type:f.ActionTypes.RTC_CONNECTION_PING,pings:e,quality:t})}))})),r.on("outboundlossrate",(function(e){s.default.wait((function(){return s.default.dispatch({type:f.ActionTypes.RTC_CONNECTION_LOSS_RATE,lossRate:e})}))})),r.on("speaking",(function(e,t){var n;null===(n=m)||void 0===n||n.setSpeaking(e,t)})),m=new l.default(c.default.getId(),t),v=null,r}function g(){if(null==r)return!1;v=r.getDuration(),r.destroy(),r=null}function I(e){var t=e.channel;if(null==r||r.channelId!==t.id)return!1;g()}var S=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var o=i.prototype;return o.initialize=function(){this.waitFor(d.default)},o.getRTCConnection=function(){return r},o.getState=function(){return null!=r?r.state:f.RTCConnectionStates.DISCONNECTED},o.isConnected=function(){return this.getState()===f.RTCConnectionStates.RTC_CONNECTED},o.isDisconnected=function(){return this.getState()===f.RTCConnectionStates.DISCONNECTED},o.getRemoteDisconnectVoiceChannelId=function(){return h},o.getGuildId=function(){return r&&r.guildId},o.getChannelId=function(){return r&&r.channelId},o.getHostname=function(){return null!=r?r.hostname:""},o.getQuality=function(){return null!=r?r.quality:f.RTCConnectionQuality.UNKNOWN},o.getPings=function(){return null!=r?r.getPings():[]},o.getAveragePing=function(){return null!=r?r.getAveragePing():0},o.getLastPing=function(){return r&&r.getLastPing()},o.getOutboundLossRate=function(){return r&&r.getOutboundLossRate()},o.getMediaSessionId=function(){return r&&r.getMediaSessionId()},o.getRTCConnectionId=function(){return r&&r.getRTCConnectionId()},o.getDuration=function(){var e;return null!==(e=r&&r.getDuration())&&void 0!==e?e:v},o.getPacketStats=function(){return r&&r.getPacketStats()},o.getVoiceStateStats=function(){var e;return null===(e=m)||void 0===e?void 0:e.getStats()},i}(o.default.Store))(s.default,__OVERLAY__?{}:{CONNECTION_OPEN:function(e){return i=e.sessionId,h=null,g(),!1},CONNECTION_CLOSED:function(e){return i=null,h=null,void g()},RTC_CONNECTION_STATE:function(e){return!0},RTC_CONNECTION_PING:function(e){return!0},RTC_CONNECTION_LOSS_RATE:function(e){return!0},VOICE_STATE_UPDATE:function(e){var t;if(null===(t=m)||void 0===t||t.updateVoiceStates(e.userId,e.channelId),c.default.getId()!==e.userId)return!1;if(null!=r)e.sessionId===i?null!=e.guildId&&e.guildId===r.guildId||null==e.guildId&&e.channelId===r.channelId?null==e.channelId?g():r.channelId=e.channelId:(e.guildId!==r.guildId&&null==e.channelId||g(),null!=e.channelId&&(h=null,r=T(e.guildId,e.channelId))):e.guildId===r.guildId&&(h=r.channelId,g());else{if(e.sessionId!==i||null==e.channelId)return!1;h=null,r=T(e.guildId,e.channelId)}},VOICE_CHANNEL_SELECT:function(e){if(null!=e.channelId||null==r)return!1;g()},VOICE_SERVER_UPDATE:function(e){return null!=r&&((null==e.guildId||e.guildId===r.guildId)&&((null==e.channelId||e.channelId===r.channelId)&&void r.connect(e.endpoint,e.token)))},CLEAR_REMOTE_DISCONNECT_VOICE_CHANNEL_ID:function(e){h=null},GUILD_DELETE:function(e){var t=e.guild;if(null==r||r.guildId!==t.id)return!1;g()},CHANNEL_DELETE:I,THREAD_DELETE:I,CALL_DELETE:function(e){var t=e.channelId;if(null==r||r.channelId!==t)return!1;g()},APP_STATE_UPDATE:function(e){return e.state===f.AppStates.ACTIVE&&null!=r&&r.resetBackoff("App state is active"),!1}});t.default=S},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getCampaignParams=D,Object.defineProperty(t,"analyticsTrackingStoreMaker",{enumerable:!0,get:function(){return c.analyticsTrackingStoreMaker}}),Object.defineProperty(t,"AnalyticsActionHandlers",{enumerable:!0,get:function(){return c.AnalyticsActionHandlers}}),Object.defineProperty(t,"Impression",{enumerable:!0,get:function(){return d.Impression}}),Object.defineProperty(t,"ImpressionTypes",{enumerable:!0,get:function(){return d.ImpressionTypes}}),Object.defineProperty(t,"TypedEventMetadata",{enumerable:!0,get:function(){return d.TypedEventMetadata}}),Object.defineProperty(t,"StandardAnalyticsLocation",{enumerable:!0,get:function(){return d.StandardAnalyticsLocation}}),Object.defineProperty(t,"ImpressionGroups",{enumerable:!0,get:function(){return d.ImpressionGroups}}),Object.defineProperty(t,"ImpressionNames",{enumerable:!0,get:function(){return f.ImpressionNames}}),Object.defineProperty(t,"NetworkActionNames",{enumerable:!0,get:function(){return f.NetworkActionNames}}),Object.defineProperty(t,"StandardAnalyticsSchemaNameMap",{enumerable:!0,get:function(){return f.StandardAnalyticsSchemaNameMap}}),Object.defineProperty(t,"ImpressionSchema",{enumerable:!0,get:function(){return f.ImpressionSchema}}),t.default=t.trackMaker=void 0;var r=n(396),i=_(n(130)),o=_(n(66)),a=(n(3),n(348)),s=_(n(28)),u=_(n(1511)),l=_(n(1513)),c=n(1514),d=n(1515),f=n(1516);function _(e){return e&&e.__esModule?e:{default:e}}function p(){return(p=Object.assign||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}).apply(this,arguments)}var E,h,m={},v={},T=window.DiscordNative;if(null!=T){var g,I=T.remoteApp.getVersion(),S=T.process.platform,y=T.os.release,A=T.os.arch,O=null!=T.remoteApp.getReleaseChannel?T.remoteApp.getReleaseChannel():T.globals.releaseChannel,N=(0,a.getSystemLocale)();switch(S){case"win32":g="Windows";break;case"darwin":g="Mac OS X";break;case"linux":g="Linux";break;default:g=S}if(E={os:g,browser:"Discord Client",release_channel:O||"unknown",client_version:I,os_version:y,os_arch:A,system_locale:N},"linux"===S){var R=null!=T.crashReporter.getMetadata?T.crashReporter.getMetadata():T.globals.crashReporterMetadata;E.window_manager=R.wm,E.distro=R.distro}}var b="utm_source utm_medium utm_campaign utm_content utm_term".split(" ");function L(e,t){t=t.replace(/[[]/,"\\[").replace(/[\]]/,"\\]");var n=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);return null===n||n&&"string"!=typeof n[1]&&n[1].length?"":decodeURIComponent(n[1]).replace(/\+/g," ")}function D(e){void 0===e&&(e=document.URL);var t={};return b.forEach((function(n){var r=L(e,n);r.length&&(t[n]=r)})),t}function C(){var e={},t=document.referrer,n=function(){var e=document.referrer;return 0===e.search("https?://(.*)google.([^/?]*)")?"google":0===e.search("https?://(.*)bing.com")?"bing":0===e.search("https?://(.*)yahoo.com")?"yahoo":0===e.search("https?://(.*)duckduckgo.com")?"duckduckgo":null}(),r="yahoo"!==n?"q":"p";if(null!=n){e.search_engine=n;var i=L(t,r);i.length&&(e.mp_keyword=i)}return e}function M(){var e,t={};return t.os=(e=window.navigator.userAgent,/Windows/i.test(e)?/Phone/.test(e)?"Windows Mobile":"Windows":/(iPhone|iPad|iPod)/.test(e)?"iOS":/Android/.test(e)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Mac/i.test(e)?window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>2?"iOS":"Mac OS X":/Linux/i.test(e)?"Linux":""),t.browser=function(){var e=window.navigator,t=e.userAgent,n=e.vendor,r=void 0===n?"":n;return window.opera?/Mini/.test(t)?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":/FBIOS/.test(t)?"Facebook Mobile":/CriOS/.test(t)?"Chrome iOS":/Apple/.test(r)?/Mobile/.test(t)||window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>2?"Mobile Safari":"Safari":/Android/.test(t)?/Chrome/.test(t)?"Android Chrome":"Android Mobile":/Edge/.test(t)?"Edge":/Chrome/.test(t)?"Chrome":/Konqueror/.test(t)?"Konqueror":/Firefox/.test(t)?"Firefox":/MSIE|Trident\//.test(t)?"Internet Explorer":/Gecko/.test(t)?"Mozilla":""}(),t.device=function(){var e=window.navigator.userAgent;return/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Windows Phone/i.test(e)?"Windows Phone":/Android/.test(e)?"Android":""}(),t.system_locale=(0,a.getSystemLocale)(),t}function P(){var e,t={};return t.referrer=document.referrer,t.referring_domain=(e=document.referrer.split("/")).length>=3?e[2]:"",t=p({},t,{},D(),{},C())}function w(e){try{return r.Buffer.from(JSON.stringify(e)).toString("base64")}catch(e){return null}}function U(e){return m[e]&&m[e]>Date.now()}if(!E)try{E=function(){var e=s.default.get("deviceProperties");null==e&&(e=M(),s.default.set("deviceProperties",e));var t=s.default.get("referralProperties");null==t&&(t=P(),s.default.set("referralProperties",t));var n,r,i,a=u.default.get("referralProperties");return null==a&&(n=P(),r="_current",i={},Object.keys(n).map((function(e){return i[""+e+r]=n[e]})),a=i,u.default.set("referralProperties",a)),p({},e,{},p({},{browser_user_agent:window.navigator.userAgent||"",browser_version:o.default.version||""},{os_version:o.default.os.version||""}),{},t,{},a)}()}catch(e){E={}}E=function(e){e=p({},e);var t=window.GLOBAL_ENV.RELEASE_CHANNEL;t&&(e.release_channel=t.split("-")[0]);var n=parseInt("90176",10);return isNaN(n)||(e.client_build_number=n),e.client_event_source=function(){try{if(__OVERLAY__)return"OVERLAY"}catch(e){}return null}(),e}(E),h=w(E);t.trackMaker=function(t){var n=t.analyticEventConfigs,r=void 0===n?{}:n,o=t.dispatcher,a=t.TRACK_ACTION_NAME,s=(0,l.default)(o,a);return function(t,n,o){if(void 0===n&&(n={}),void 0===o&&(o=!1),null!=e.isServerRendering&&!0===e.isServerRendering)return Promise.resolve();var a=r[t];if(null!=a){var u=[t].concat(a.throttleKeys(n)).join("_");if(U(u))return;if(a.deduplicate){var l=v[u];if((0,i.default)(l,n))return;v[u]=n}m[u]=Date.now()+a.throttlePeriod}s(t,n,o)}};var k={isThrottled:U,encodeProperties:w,getSuperProperties:function(){return E},getSuperPropertiesBase64:function(){return h}};t.default=k}).call(this,n(44))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPremiumBranding=function(e){var t=e.planId;if(d.PREMIUM_PLANS.has(t)&&U(e))return h.BUNDLE;if(t===d.SubscriptionPlans.PREMIUM_MONTH_TIER_1||t===d.SubscriptionPlans.PREMIUM_YEAR_TIER_1)return h.TIER_1;if(t===d.SubscriptionPlans.PREMIUM_MONTH_TIER_2||t===d.SubscriptionPlans.PREMIUM_YEAR_TIER_2)return h.TIER_2;return h.PREMIUM_GUILD},t.getPremiumPlan=v,t.getDisplayName=D,t.getTierDisplayName=function(e){switch(e){case d.SubscriptionPlans.PREMIUM_MONTH_LEGACY:case d.SubscriptionPlans.PREMIUM_YEAR_LEGACY:return f.default.Messages.PREMIUM_LEGACY;case d.SubscriptionPlans.PREMIUM_MONTH_TIER_1:case d.SubscriptionPlans.PREMIUM_YEAR_TIER_1:return f.default.Messages.PREMIUM_TIER_1;case d.SubscriptionPlans.PREMIUM_MONTH_TIER_2:case d.SubscriptionPlans.PREMIUM_YEAR_TIER_2:return f.default.Messages.PREMIUM_TIER_2}throw new Error("Unsupported plan: "+e)},t.getPlanDescriptionFromInvoice=function(e){var t=e.renewalInvoicePreview,n=e.subscription,r=e.planId,i=e.includePremiumGuilds,o=void 0!==i&&i,a=l.default.getHardcoded(r);return C({subscription:n,planId:a.id,price:X(t,a),includePremiumGuilds:o})},t.getExternalPlanDisplayName=function(e){var t=e.planId,n=e.additionalPlans,r=B(t)?null:D(t),i=null==n?void 0:n.find((function(e){var t=e.planId;return d.PREMIUM_GUILD_SUBSCRIPTION_PLANS.has(t)})),o=(null==i?void 0:i.planId)===d.SubscriptionPlans.PREMIUM_MONTH_GUILD||(null==i?void 0:i.planId)===d.SubscriptionPlans.PREMIUM_YEAR_GUILD?f.default.Messages.PREMIUM_GUILD_NUM_MONTH_GUILD_SUBSCRIPTIONS_UNFORMATTED:null,a=null==o?void 0:o.format({num:null==i?void 0:i.quantity});if(null!=r&&null!=a)return f.default.Messages.PREMIUM_WITH_PREMIUM_GUILD_EXTERNAL_PLAN_DESCRIPTION.format({premiumDescription:r,premiumGuildDescription:a});if(null!=r)return r;if(null!=a)return a;throw new Error("Subscription without premium or premium guild subscription")},t.getNumPremiumGuildSubscriptions=w,t.subscriptionHasPremiumGuildPlan=U,t.isPremiumBaseSubscriptionPlan=G,t.isPremiumGuildSubscriptionPlan=Y,t.isPremiumSubscriptionPlan=function(e){return G(e)||Y(e)},t.getLegalString=x,t.getBillingInformationString=V,t.getCoercedPremiumGuildSubscriptionStatus=H,t.isPremiumGuildSubscriptionCanceled=F,t.getPremiumGuildHeaderDescription=function(e,t,n){var r,i=e.planId,o=e.additionalPlans,a=l.default.getHardcoded(i),s=w(o),u=J(e.planId,t).amount;return n=null!==(r=n)&&void 0!==r?r:(0,c.formatPrice)(u*s,a.currency),F(e)?e.isPurchasedViaGoogle?f.default.Messages.PREMIUM_GUILD_SUBSCRIPTIONS_RENEWAL_INFO_PENDING_CANCELATION_NO_PRICE.format({quantity:s}):f.default.Messages.PREMIUM_GUILD_SUBSCRIPTIONS_RENEWAL_INFO_PENDING_CANCELATION.format({quantity:s,rate:(0,c.formatRate)(n,a.interval)}):e.status===d.SubscriptionStatusTypes.ACCOUNT_HOLD?e.isPurchasedViaGoogle?f.default.Messages.PREMIUM_GUILD_SUBSCRIPTIONS_RENEWAL_INFO_ACCOUNT_HOLD_NO_PRICE.format({quantity:s,boostQuantity:s}):f.default.Messages.PREMIUM_GUILD_SUBSCRIPTIONS_RENEWAL_INFO_ACCOUNT_HOLD.format({quantity:s,boostQuantity:s,rate:(0,c.formatRate)(n,a.interval)}):e.isPurchasedViaGoogle?f.default.Messages.PREMIUM_GUILD_SUBSCRIPTIONS_RENEWAL_INFO_NO_PRICE.format({quantity:s}):f.default.Messages.PREMIUM_GUILD_SUBSCRIPTIONS_RENEWAL_INFO.format({quantity:s,rate:(0,c.formatRate)(n,a.interval)})},t.isNoneSubscription=B,t.getFormattedRateForPlan=function(e){return(0,c.formatRate)((0,c.formatPrice)(e.price,e.currency),e.interval)},t.getPlanIdFromInvoice=j,t.getStatusFromInvoice=W,t.isBaseSubscriptionCanceled=K,t.isSubscriptionStatusActive=z,t.isSubscriptionStatusFailedPayment=q,t.getFormattedPlanPriceFromInvoice=X,t.getPremiumGuildIntervalPrice=J,t.getBillingReviewSubheader=Q,t.getIntervalForInvoice=Z,t.getExternalSubscriptionMethodUrl=$,t.hasPremiumSubscriptionToDisplay=function(e,t){return(null==e?void 0:e.hasPremiumPerks)||q(null==t?void 0:t.status)},t.estimateGrandfatheredUpgradeCost=te,t.isUpgradingFromGrandfathered=ne,t.getItemsFromNewAdditionalPlans=function(e,t){var n=[],r=v(e);null!=r&&n.push(r);return n.push.apply(n,t),n.map((function(t){for(var n,r=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(e.items);!(n=r()).done;){var i=n.value;if(t.planId===i.planId)return p({},i,{},t)}return t}))},t.getItemsWithoutPremiumPlanItem=function(e){return e.filter((function(e){return!d.PREMIUM_PLANS.has(e.planId)}))},t.getItemsWithUpsertedPlanIdForGroup=re,t.getItemsWithUpsertedPremiumPlanId=function(e,t){return re(e,t,1,d.PREMIUM_PLANS)},t.getItemsWithUpsertedPremiumGuildPlan=function(e,t,n){return re(e,n,t,d.PREMIUM_GUILD_SUBSCRIPTION_PLANS)},t.coerceExistingItemsToNewItemInterval=function(e){var t,n=null!==(t=e.find((function(e){return!("id"in e)})))&&void 0!==t?t:e.find((function(e){return d.PREMIUM_PLANS.has(e.planId)}));if(null!=n){var r=l.default.getHardcoded(n.planId).interval;e=e.map((function(e){if(e===n)return e;var t=l.default.getHardcoded(e.planId);return p({},e,{planId:l.default.getHardcodedForSkuAndInterval(t.skuId,r).id})}))}return e},t.default=t.Branding=void 0;var r,i=_(n(23)),o=_(n(5)),a=n(92),s=n(280),u=_(n(12)),l=_(n(257)),c=n(281),d=n(1),f=_(n(6));function _(e){return e&&e.__esModule?e:{default:e}}function p(){return(p=Object.assign||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}).apply(this,arguments)}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var h,m=((r={})[d.SubscriptionPlans.PREMIUM_MONTH_LEGACY]=[d.SubscriptionPlans.PREMIUM_YEAR_TIER_2,d.SubscriptionPlans.PREMIUM_MONTH_TIER_2,d.SubscriptionPlans.PREMIUM_YEAR_TIER_1],r[d.SubscriptionPlans.PREMIUM_YEAR_LEGACY]=[d.SubscriptionPlans.PREMIUM_YEAR_TIER_2],r[d.SubscriptionPlans.NONE_MONTH]=[d.SubscriptionPlans.NONE_YEAR,d.SubscriptionPlans.PREMIUM_YEAR_TIER_2,d.SubscriptionPlans.PREMIUM_MONTH_TIER_2,d.SubscriptionPlans.PREMIUM_YEAR_TIER_1,d.SubscriptionPlans.PREMIUM_MONTH_TIER_1],r[d.SubscriptionPlans.NONE_YEAR]=[d.SubscriptionPlans.PREMIUM_YEAR_TIER_2,d.SubscriptionPlans.PREMIUM_MONTH_TIER_2,d.SubscriptionPlans.PREMIUM_YEAR_TIER_1,d.SubscriptionPlans.PREMIUM_MONTH_TIER_1],r[d.SubscriptionPlans.PREMIUM_MONTH_TIER_1]=[d.SubscriptionPlans.PREMIUM_YEAR_TIER_2,d.SubscriptionPlans.PREMIUM_MONTH_TIER_2,d.SubscriptionPlans.PREMIUM_YEAR_TIER_1],r[d.SubscriptionPlans.PREMIUM_YEAR_TIER_1]=[d.SubscriptionPlans.PREMIUM_YEAR_TIER_2],r[d.SubscriptionPlans.PREMIUM_MONTH_TIER_2]=[d.SubscriptionPlans.PREMIUM_YEAR_TIER_2],r[d.SubscriptionPlans.PREMIUM_YEAR_TIER_2]=[],r.ALL=[d.SubscriptionPlans.NONE_MONTH,d.SubscriptionPlans.NONE_YEAR,d.SubscriptionPlans.PREMIUM_YEAR_TIER_2,d.SubscriptionPlans.PREMIUM_MONTH_TIER_2,d.SubscriptionPlans.PREMIUM_YEAR_TIER_1,d.SubscriptionPlans.PREMIUM_MONTH_TIER_1],r);function v(e){return e.items.find((function(e){return d.PREMIUM_PLANS.has(e.planId)}))}t.Branding=h,function(e){e.BUNDLE="bundle",e.TIER_1="tier_1",e.TIER_2="tier_2",e.PREMIUM_GUILD="premium_guild"}(h||(t.Branding=h={}));var T=new Date(Date.UTC(2020,1,1)),g=new Date(2021,0,4),I=new Date(Date.UTC(2020,0,24));function S(e,t){return null==t||null!=e&&e>=t}function y(e,t){return null!=e&&null!=e.premiumType&&S(e.premiumType,t)}function A(e){switch(e){case d.SubscriptionPlans.PREMIUM_MONTH_LEGACY:return T;case d.SubscriptionPlans.PREMIUM_YEAR_LEGACY:return g;default:return null}}function O(e,t){return(0,o.default)().isBetween(e,t)}function N(e,t){return void 0===t&&(t=14),O((0,o.default)(e).subtract(10,"days"),(0,o.default)(e).add(t,"days"))}function R(e,t){void 0===t&&(t=!1);var n=d.SubscriptionPlanInfo[e];if(null!=n)return{amount:t&&null!=n.premiumUserPrice?n.premiumUserPrice:n.price,tax:0,currency:d.CurrencyCodes.USD,taxInclusive:!0};throw new Error("Unsupported plan: "+e)}function b(e){var t=d.SubscriptionPlanInfo[e];if(null!=t)return t.interval;throw new Error("Unsupported plan: "+e)}function L(e){var t=d.SubscriptionPlanInfo[e];if(null!=t)return t.premiumType;throw new Error("Unsupported plan: "+e)}function D(e,t){switch(e){case d.SubscriptionPlans.PREMIUM_MONTH_LEGACY:return f.default.Messages.PREMIUM_PLAN_MONTH;case d.SubscriptionPlans.PREMIUM_YEAR_LEGACY:return f.default.Messages.PREMIUM_PLAN_YEAR;case d.SubscriptionPlans.PREMIUM_MONTH_TIER_1:return f.default.Messages.PREMIUM_PLAN_MONTH_TIER_1;case d.SubscriptionPlans.PREMIUM_YEAR_TIER_1:return f.default.Messages.PREMIUM_PLAN_YEAR_TIER_1;case d.SubscriptionPlans.PREMIUM_MONTH_TIER_2:return t?f.default.Messages.PREMIUM_PLAN_MONTH_TIER_2_TRIAL.format({months:1}):f.default.Messages.PREMIUM_PLAN_MONTH_TIER_2;case d.SubscriptionPlans.PREMIUM_YEAR_TIER_2:return t?f.default.Messages.PREMIUM_PLAN_YEAR_TIER_2_TRIAL.format({months:1}):f.default.Messages.PREMIUM_PLAN_YEAR_TIER_2;case d.SubscriptionPlans.PREMIUM_MONTH_GUILD:return f.default.Messages.PREMIUM_GUILD_PLAN_MONTH;case d.SubscriptionPlans.PREMIUM_YEAR_GUILD:return f.default.Messages.PREMIUM_GUILD_PLAN_YEAR}throw new Error("Unsupported plan: "+e)}function C(e){var t=e.subscription,n=e.planId,r=e.price,i=e.includePremiumGuilds,o=K(t)||null==t.paymentSourceId&&!t.isPurchasedExternally&&!u.default.getCurrentUser().hasFreePremium(),a=!t.isPurchasedViaGoogle&&null!=r,l=o?d.SubscriptionStatusTypes.CANCELED:t.status===d.SubscriptionStatusTypes.ACCOUNT_HOLD?d.SubscriptionStatusTypes.ACCOUNT_HOLD:null,c=s.NUM_FREE_GUILD_SUBSCRIPTIONS_WITH_PREMIUM+(i?w(t.additionalPlans):0);switch(n){case d.SubscriptionPlans.PREMIUM_MONTH_TIER_1:case d.SubscriptionPlans.PREMIUM_YEAR_TIER_1:switch(l){case d.SubscriptionStatusTypes.CANCELED:return a?f.default.Messages.PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_1_PENDING_CANCELATION.format({price:r}):f.default.Messages.PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_1_PENDING_CANCELATION_NO_PRICE;case d.SubscriptionStatusTypes.ACCOUNT_HOLD:return a?f.default.Messages.PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_1_ACCOUNT_HOLD.format({price:r}):f.default.Messages.PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_1_ACCOUNT_HOLD_NO_PRICE.format();default:return a?f.default.Messages.PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_1.format({price:r}):f.default.Messages.PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_1_NO_PRICE}case d.SubscriptionPlans.PREMIUM_MONTH_TIER_2:case d.SubscriptionPlans.PREMIUM_YEAR_TIER_2:switch(l){case d.SubscriptionStatusTypes.CANCELED:return a?f.default.Messages.PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_2_PENDING_CANCELATION.format({price:r,num:c}):f.default.Messages.PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_2_PENDING_CANCELATION_NO_PRICE.format({num:c});case d.SubscriptionStatusTypes.ACCOUNT_HOLD:return a?f.default.Messages.PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_2_ACCOUNT_HOLD.format({price:r,num:c}):f.default.Messages.PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_2_ACCOUNT_HOLD_NO_PRICE.format({num:c});default:return a?f.default.Messages.PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_2.format({price:r,num:c}):f.default.Messages.PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_2_NO_PRICE.format({num:c})}default:throw new Error("Invalid planId "+n)}}function M(e){switch(e){case d.SubscriptionPlans.NONE_MONTH:case d.SubscriptionPlans.NONE_YEAR:return d.PremiumSubscriptionSKUs.NONE;case d.SubscriptionPlans.PREMIUM_MONTH_LEGACY:case d.SubscriptionPlans.PREMIUM_YEAR_LEGACY:return d.PremiumSubscriptionSKUs.LEGACY;case d.SubscriptionPlans.PREMIUM_MONTH_TIER_1:case d.SubscriptionPlans.PREMIUM_YEAR_TIER_1:return d.PremiumSubscriptionSKUs.TIER_1;case d.SubscriptionPlans.PREMIUM_MONTH_TIER_2:case d.SubscriptionPlans.PREMIUM_YEAR_TIER_2:return d.PremiumSubscriptionSKUs.TIER_2}throw new Error("Unsupported plan: "+e)}function P(e){return null==e?m.ALL:m[e]||[]}function w(e){var t=l.default.getHardcodedPlanIdsForSKU(d.PremiumSubscriptionSKUs.GUILD),n=e.find((function(e){var n=e.planId;return t.has(n)}));return null!=n?n.quantity:0}function U(e){return w(e.additionalPlans)>0}var k=new Set([d.SubscriptionPlans.NONE_MONTH,d.SubscriptionPlans.NONE_YEAR,d.SubscriptionPlans.PREMIUM_MONTH_TIER_1,d.SubscriptionPlans.PREMIUM_MONTH_TIER_2,d.SubscriptionPlans.PREMIUM_MONTH_LEGACY,d.SubscriptionPlans.PREMIUM_YEAR_TIER_1,d.SubscriptionPlans.PREMIUM_YEAR_TIER_2,d.SubscriptionPlans.PREMIUM_YEAR_LEGACY]);function G(e){return k.has(e)}function Y(e){return d.PREMIUM_GUILD_SUBSCRIPTION_PLANS.has(e)}function x(e,t){switch(void 0===t&&(t=!1),e){case d.SubscriptionIntervalTypes.MONTH:return t?f.default.Messages.PREMIUM_PAYMENT_GIFT_SUBTEXT_MONTHLY:f.default.Messages.SUBSCRIPTION_PAYMENT_LEGALESE_MONTHLY;case d.SubscriptionIntervalTypes.YEAR:return t?f.default.Messages.PREMIUM_PAYMENT_GIFT_SUBTEXT_YEARLY:f.default.Messages.SUBSCRIPTION_PAYMENT_LEGALESE_YEARLY;default:throw new Error("Unexpected interval: "+e)}}function V(e,t){var n=(0,c.formatPrice)(t.total,t.currency);if(e.status===d.SubscriptionStatusTypes.CANCELED)return f.default.Messages.PREMIUM_SETTINGS_CANCELLED_INFO.format({endDate:t.subscriptionPeriodStart});if(e.status===d.SubscriptionStatusTypes.PAST_DUE)return e.isPurchasedViaGoogle&&e.paymentGateway===d.PaymentGateways.GOOGLE?f.default.Messages.PREMIUM_SETTINGS_PAST_DUE_INFO_EXTERNAL.format({endDate:(0,o.default)(e.currentPeriodStart).add(s.MAX_INVOICE_PAYMENT_DAYS,"days"),paymentGatewayName:a.PaymentGatewayToFriendlyName[e.paymentGateway],paymentSourceLink:$(e.paymentGateway,"PAYMENT_SOURCE_MANAGEMENT")}):f.default.Messages.PREMIUM_SETTINGS_PAST_DUE_INFO.format({endDate:(0,o.default)(e.currentPeriodStart).add(s.MAX_INVOICE_PAYMENT_DAYS,"days"),price:n});if(e.status===d.SubscriptionStatusTypes.ACCOUNT_HOLD)return e.isPurchasedViaGoogle&&e.paymentGateway===d.PaymentGateways.GOOGLE?f.default.Messages.PREMIUM_SETTINGS_ACCOUNT_HOLD_INFO_EXTERNAL.format({endDate:(0,o.default)(e.currentPeriodStart).add(s.MAX_ACCOUNT_HOLD_DAYS,"days"),paymentGatewayName:a.PaymentGatewayToFriendlyName[e.paymentGateway],paymentSourceLink:$(e.paymentGateway,"PAYMENT_SOURCE_MANAGEMENT")}):f.default.Messages.PREMIUM_SETTINGS_ACCOUNT_HOLD_INFO_PRICE.format({endDate:(0,o.default)(e.currentPeriodStart).add(s.MAX_ACCOUNT_HOLD_DAYS,"days"),price:n});if(ne(e)){if(ee(e)){var r=l.default.getHardcoded(e.planId);return f.default.Messages.PREMIUM_SETTINGS_RENEWAL_INFO.format({renewalDate:t.subscriptionPeriodStart,price:(0,c.formatPrice)(r.price,r.currency)})}return f.default.Messages.PREMIUM_SETTINGS_RENEWAL_INFO_GRANDFATHERED_UPGRADE.format({upgradeDate:g,upgradePrice:te(e),renewalPrice:n,renewalDate:t.subscriptionPeriodStart})}return e.isPurchasedViaGoogle&&e.paymentGateway===d.PaymentGateways.GOOGLE?f.default.Messages.PREMIUM_SETTINGS_RENEWAL_INFO_EXTERNAL.format({renewalDate:t.subscriptionPeriodStart,paymentGatewayName:a.PaymentGatewayToFriendlyName[e.paymentGateway],subscriptionManagementLink:$(e.paymentGateway,"SUBSCRIPTION_MANAGEMENT")}):f.default.Messages.PREMIUM_SETTINGS_RENEWAL_INFO.format({renewalDate:t.subscriptionPeriodStart,price:n})}function H(e){var t=e.renewalMutations,n=e.additionalPlans,r=e.status,i=w(n);return 0===(t?w(t.additionalPlans):null)&&0!==i?d.SubscriptionStatusTypes.CANCELED:r}function F(e){return e.isPurchasedExternally?e.status===d.SubscriptionStatusTypes.CANCELED:H(e)===d.SubscriptionStatusTypes.CANCELED}function B(e){return e===d.SubscriptionPlans.NONE_MONTH||e===d.SubscriptionPlans.NONE_YEAR}function j(e,t){var n=e.planId;if(e.status===d.SubscriptionStatusTypes.CANCELED)return n;(0,i.default)(null!=t,"Expected invoicePreview");var r=t.invoiceItems.find((function(e){return G(e.subscriptionPlanId)}));return n=null==r||B(r.subscriptionPlanId)||null!=e.renewalMutations&&e.renewalMutations.planId!==e.planId?e.planId:r.subscriptionPlanId}function W(e,t){var n=e.status;if(e.status===d.SubscriptionStatusTypes.CANCELED)return n;(0,i.default)(null!=t,"Expected invoicePreview");var r=t.invoiceItems.find((function(e){return G(e.subscriptionPlanId)}));return(null==r||B(r.subscriptionPlanId))&&(n=d.SubscriptionStatusTypes.CANCELED),n}function K(e){var t=e.status,n=e.renewalMutations;return t===d.SubscriptionStatusTypes.CANCELED||null!=n&&B(n.planId)&&!e.isPurchasedExternally}function z(e){return e===d.SubscriptionStatusTypes.UNPAID||e===d.SubscriptionStatusTypes.ACTIVE}function q(e){return e===d.SubscriptionStatusTypes.PAST_DUE||e===d.SubscriptionStatusTypes.ACCOUNT_HOLD}function X(e,t){var n=e.invoiceItems.find((function(e){return e.subscriptionPlanId===t.id})),r=null==n?t.price:n.amount;return(0,c.formatRate)((0,c.formatPrice)(r,t.currency),t.interval)}function J(e,t){return R(b(e)===d.SubscriptionIntervalTypes.MONTH?d.SubscriptionPlans.PREMIUM_MONTH_GUILD:d.SubscriptionPlans.PREMIUM_YEAR_GUILD,y(t))}function Q(e,t){if((0,i.default)(t===d.SubscriptionPlans.PREMIUM_MONTH_TIER_1||t===d.SubscriptionPlans.PREMIUM_YEAR_TIER_1||t===d.SubscriptionPlans.PREMIUM_MONTH_TIER_2||t===d.SubscriptionPlans.PREMIUM_YEAR_TIER_2,"User is purchasing an invalid plan"),null!=e)switch(t){case d.SubscriptionPlans.PREMIUM_MONTH_TIER_1:return f.default.Messages.PREMIUM_SWITCH_REVIEW_HEADER_PREMIUM_MONTH_TIER_1;case d.SubscriptionPlans.PREMIUM_YEAR_TIER_1:return f.default.Messages.PREMIUM_SWITCH_REVIEW_HEADER_PREMIUM_YEAR_TIER_1;case d.SubscriptionPlans.PREMIUM_MONTH_TIER_2:return f.default.Messages.PREMIUM_SWITCH_REVIEW_HEADER_PREMIUM_MONTH_TIER_2;case d.SubscriptionPlans.PREMIUM_YEAR_TIER_2:return f.default.Messages.PREMIUM_SWITCH_REVIEW_HEADER_PREMIUM_YEAR_TIER_2;default:return null}switch(t){case d.SubscriptionPlans.PREMIUM_MONTH_TIER_1:return f.default.Messages.BILLING_SELECT_PLAN_PREMIUM_MONTH_TIER_1;case d.SubscriptionPlans.PREMIUM_YEAR_TIER_1:return f.default.Messages.BILLING_SELECT_PLAN_PREMIUM_YEAR_TIER_1;case d.SubscriptionPlans.PREMIUM_MONTH_TIER_2:return f.default.Messages.BILLING_SELECT_PLAN_PREMIUM_MONTH_TIER_2;case d.SubscriptionPlans.PREMIUM_YEAR_TIER_2:return f.default.Messages.BILLING_SELECT_PLAN_PREMIUM_YEAR_TIER_2;default:return null}}function Z(e){var t=e.invoiceItems[0].subscriptionPlanId;return l.default.getHardcoded(t).interval}function $(e,t){switch(e){case d.PaymentGateways.APPLE:return d.AppleBillingUrls[t];case d.PaymentGateways.GOOGLE:return d.GoogleBillingUrls[t]}throw new Error("Invalid external payment gateway "+e)}function ee(e){return g>e.currentPeriodEnd}function te(e){var t=((ee(e)?(0,o.default)(e.currentPeriodEnd).add({year:1}).toDate():e.currentPeriodEnd).getTime()-g.getTime())/31536e6;return(0,c.formatPrice)(t*(d.SubscriptionPlanInfo[d.SubscriptionPlans.PREMIUM_YEAR_TIER_2].price-d.SubscriptionPlanInfo[d.SubscriptionPlans.PREMIUM_YEAR_LEGACY].price),d.SubscriptionPlanInfo[d.SubscriptionPlans.PREMIUM_YEAR_LEGACY].currency)}function ne(e){var t;return e.planId===d.SubscriptionPlans.PREMIUM_YEAR_LEGACY&&(null===(t=e.renewalMutations)||void 0===t?void 0:t.planId)===d.SubscriptionPlans.PREMIUM_YEAR_TIER_2}function re(e,t,n,r){var o,a;(0,i.default)(r.has(t),"Expected planId in group");var s=!1,u=(null!==(o=null===(a=e.renewalMutations)||void 0===a?void 0:a.items)&&void 0!==o?o:e.items).map((function(e){return r.has(e.planId)?(s=!0,p({},e,{quantity:n,planId:t})):e}));if(!s){var l={planId:t,quantity:n},c=e.items.find((function(e){return e.planId===t}));null!=c&&(l.id=c.id),u.push(l)}return u.filter((function(e){return 0!==e.quantity}))}var ie={isPremiumAtLeast:S,isPremium:y,GRANDFATHERED_DAYS_APPROACHING:7,GRANDFATHERED_YEARLY_END_DATE:g,isWithinGrandfatheredUpgradeTime:function(){return Date.now()<g.getTime()},getGrandfatheredEndDate:A,getDaysToGrandfatheredEnd:function(e){var t=A(e);if(null==t)return Number.MAX_VALUE;var n=(0,o.default)();return(0,o.default)(t).diff(n,"days")+1},shouldCheckGrandfatheredPlan:function(){return N(T)||N(g)||O(I,T)},getPrice:R,getInterval:b,getPremiumType:L,getDisplayName:D,getDisplayPremiumType:function(e){switch(e){case d.SubscriptionPlans.PREMIUM_MONTH_TIER_1:case d.SubscriptionPlans.PREMIUM_YEAR_TIER_1:return"Nitro Classic";case d.SubscriptionPlans.PREMIUM_MONTH_LEGACY:case d.SubscriptionPlans.PREMIUM_YEAR_LEGACY:case d.SubscriptionPlans.PREMIUM_MONTH_TIER_2:case d.SubscriptionPlans.PREMIUM_YEAR_TIER_2:return"Nitro"}throw new Error("Unsupported plan: "+e)},getDisplayPremiumTypeForSku:function(e){switch(e){case d.PremiumSubscriptionSKUs.TIER_1:return"Nitro Classic";case d.PremiumSubscriptionSKUs.LEGACY:case d.PremiumSubscriptionSKUs.TIER_2:return"Nitro";default:throw new Error("Unsupported SKU: "+e)}},getUpgradeEligibilities:P,isUpgradeable:function(e){var t=m[e];return null!=t&&t.length>0},isGrandfathered:function(e){return e===d.SubscriptionPlans.PREMIUM_MONTH_LEGACY||e===d.SubscriptionPlans.PREMIUM_YEAR_LEGACY},isGrandfatheredYearly:function(e){return e===d.SubscriptionPlans.PREMIUM_YEAR_LEGACY},isGrandfatheredMonthly:function(e){return e===d.SubscriptionPlans.PREMIUM_MONTH_LEGACY},calculateSubscriptionPeriod:function(e,t){var n=d.SubscriptionPlanInfo[e];if(null==n)throw new Error("Unsupported plan: "+e);var r=null;if(n.interval===d.SubscriptionIntervalTypes.MONTH)r=(0,o.default)(t).add(n.intervalCount,"months");else{if(n.interval!==d.SubscriptionIntervalTypes.YEAR)throw new Error(n.interval+" interval subscription period not implemented");r=(0,o.default)(t).add(n.intervalCount,"years")}return[t,r.toDate()]},getPlanDescription:C,isPremiumSku:function(e){return e===d.PremiumSubscriptionSKUs.TIER_1||e===d.PremiumSubscriptionSKUs.TIER_2||e===d.PremiumSubscriptionSKUs.LEGACY},getClosestUpgrade:function(e){var t=d.SubscriptionPlanInfo[e];if(null==t)throw new Error("Unrecognized plan.");for(var n=t.interval,r=P(e),i=0,o=Object.keys(d.SubscriptionPlanInfo);i<o.length;i++){var a=o[i];if(n===d.SubscriptionPlanInfo[a].interval&&r.includes(a))return a}return null},getIntervalMonths:function(e,t){if(e===d.SubscriptionIntervalTypes.MONTH)return t;if(e===d.SubscriptionIntervalTypes.YEAR)return 12*t;throw new Error(e+" interval subscription period not implemented")},getUserMaxFileSize:function(e){return null!=e&&e.isStaff()?d.MAX_STAFF_ATTACHMENT_SIZE:d.PremiumUserLimits[null!=e&&null!=e.premiumType?e.premiumType:d.PremiumTypes.NONE_DEPRECATED].fileSize},getSkuIdForPlan:M,getNumIncludedPremiumGuildSubscriptionSlots:function(e){switch(L(e)){case d.PremiumTypes.TIER_2:return s.NUM_FREE_GUILD_SUBSCRIPTIONS_WITH_PREMIUM;default:return 0}},getLegalString:x,getBillingInformationString:V,isNoneSubscription:B,getPlanIdFromInvoice:j,getStatusFromInvoice:W,isBaseSubscriptionCanceled:K,isSubscriptionStatusActive:z,getPremiumGuildIntervalPrice:J,hasAccountCredit:function(e){return null!=e&&0!==e.size&&Array.from(e).some((function(e){var t=e.subscriptionPlanId,n=e.parentId,r=e.consumed;return null!=t&&null!=n&&!r}))},getBillingReviewSubheader:Q,getIntervalForInvoice:Z,isValidPlanForTrial:function(e,t){return null!=e&&d.SubscriptionTrials[e].skus.includes(M(t))},estimateGrandfatheredUpgradeCost:te,canUseAnimatedEmojis:function(e){return y(e,d.PremiumTypes.TIER_1)},canUseEmojisEverywhere:function(e){return y(e,d.PremiumTypes.TIER_1)},canUseHigherFramerate:function(e){return y(e,d.PremiumTypes.TIER_1)},canEditDiscriminator:function(e){return y(e,d.PremiumTypes.TIER_1)},canUploadLargeFiles:function(e){return y(e,d.PremiumTypes.TIER_1)},canUploadAnimatedAvatar:function(e){return y(e,d.PremiumTypes.TIER_1)},canUseBadges:function(e){return y(e,d.PremiumTypes.TIER_1)},canInstallPremiumApplications:function(e){return y(e,d.PremiumTypes.TIER_2)},canUseIncreasedMessageLength:function(e){return y(e,d.PremiumTypes.TIER_2)},canUseIncreasedGuildCap:function(e){return y(e,d.PremiumTypes.TIER_2)},canRedeemPremiumPerks:function(e){return y(e,d.PremiumTypes.TIER_2)},canUsePremiumProfileCustomization:function(e){return y(e,d.PremiumTypes.TIER_2)},canUseStickersEverywhere:function(e){return y(e,d.PremiumTypes.TIER_2)}};t.default=ie},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DISCORD_EPOCH",{enumerable:!0,get:function(){return r.DISCORD_EPOCH}}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(757));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}var o=r.default;t.default=o},function(e,t,n){for(var r=n(1546),i=[],o={},a=0;a<256;a++)i[a]=(a+256).toString(16).substr(1),o[i[a]]=a;function s(e,t){var n=t||0,r=i;return r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]}var u=r(),l=[1|u[0],u[1],u[2],u[3],u[4],u[5]],c=16383&(u[6]<<8|u[7]),d=0,f=0;function _(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"==e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||r)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var a=0;a<16;a++)t[i+a]=o[a];return t||s(o)}var p=_;p.v1=function(e,t,n){var r=t&&n||0,i=t||[],o=void 0!==(e=e||{}).clockseq?e.clockseq:c,a=void 0!==e.msecs?e.msecs:(new Date).getTime(),u=void 0!==e.nsecs?e.nsecs:f+1,_=a-d+(u-f)/1e4;if(_<0&&void 0===e.clockseq&&(o=o+1&16383),(_<0||a>d)&&void 0===e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");d=a,f=u,c=o;var p=(1e4*(268435455&(a+=122192928e5))+u)%4294967296;i[r++]=p>>>24&255,i[r++]=p>>>16&255,i[r++]=p>>>8&255,i[r++]=255&p;var E=a/4294967296*1e4&268435455;i[r++]=E>>>8&255,i[r++]=255&E,i[r++]=E>>>24&15|16,i[r++]=E>>>16&255,i[r++]=o>>>8|128,i[r++]=255&o;for(var h=e.node||l,m=0;m<6;m++)i[r+m]=h[m];return t||s(i)},p.v4=_,p.parse=function(e,t,n){var r=t&&n||0,i=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,(function(e){i<16&&(t[r+i++]=o[e])}));i<16;)t[r+i++]=0;return t},p.unparse=s,e.exports=p},function(e,t,n){"use strict";function r(e,t){return(e&t)===t}function i(e,t){return e|t}function o(e,t){return e&~t}Object.defineProperty(t,"__esModule",{value:!0}),t.hasFlag=r,t.addFlag=i,t.removeFlag=o,t.setFlag=function(e,t,n){if(n)return i(e,t);return o(e,t)},t.toggleFlag=function(e,t){if(r(e,t))return o(e,t);return i(e,t)}},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,l=[],c=!1,d=-1;function f(){c&&u&&(c=!1,u.length?l=u.concat(l):d=-1,l.length&&_())}function _(){if(!c){var e=s(f);c=!0;for(var t=l.length;t;){for(u=l,l=[];++d<t;)u&&u[d].run();d=-1,t=l.length}u=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function E(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||c||s(_)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=E,i.addListener=E,i.once=E,i.off=E,i.removeListener=E,i.removeAllListeners=E,i.emit=E,i.prependListener=E,i.prependOnceListener=E,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){e.exports=function(){"use strict";var e,t,n,r,i,o,a,s,u=/\r\n?/g,l=/\t/g,c=/\f/g,d=function(e){return e.replace(u,"\n").replace(c,"").replace(l,"    ")},f=function(e,t){var n=e||{};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},_=function(e,t){var n,r=Object.keys(e).filter((function(t){var n=e[t];if(null==n||null==n.match)return!1;var r=n.order;return"number"==typeof r&&isFinite(r)||"undefined"==typeof console||console.warn("simple-markdown: Invalid order for rule `"+t+"`: "+String(r)),!0}));r.sort((function(t,n){var r=e[t],i=e[n],o=r.order,a=i.order;if(o!==a)return o-a;var s=r.quality?0:1,u=i.quality?0:1;return s!==u?s-u:t<n?-1:t>n?1:0}));var i=function(t,o){var a=[];for(n=o=o||n;t;){var s=null,u=null,l=null,c=NaN,d=0,f=r[0],_=e[f];do{var p=_.order,E=null==o.prevCapture?"":o.prevCapture[0],h=_.match(t,o,E);if(h){var m=_.quality?_.quality(h,o,E):0;m<=c||(s=f,u=_,l=h,c=m)}d++,f=r[d],_=e[f]}while(_&&(!l||_.order===p&&_.quality));if(null==u||null==l)throw new Error("Could not find a matching rule for the below content. The rule with highest `order` should always match content provided to it. Check the definition of `match` for '"+r[r.length-1]+"'. It seems to not match the following source:\n"+t);if(l.index)throw new Error("`match` must return a capture starting at index 0 (the current parse index). Did you forget a ^ at the start of the RegExp?");var v=u.parse(l,i,o);Array.isArray(v)?Array.prototype.push.apply(a,v):(null==v.type&&(v.type=s),a.push(v)),o.prevCapture=l,t=t.substring(o.prevCapture[0].length)}return a};return function(e,r){return(n=f(r,t)).inline||n.disableAutoBlockNewlines||(e+="\n\n"),n.prevCapture=null,i(d(e),n)}},p=function(e){var t=function(t,n){return n.inline?e.exec(t):null};return t.regex=e,t},E=function(e){var t=function(t,n){return n.inline?null:e.exec(t)};return t.regex=e,t},h=function(e){var t=function(t,n){return e.exec(t)};return t.regex=e,t},m="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,v=function(e,t,n){return{$$typeof:m,type:e,key:null==t?void 0:t,ref:null,props:n,_owner:null}},T=function(e,t,n,r){n=n||{},r=void 0===r||r;var i="";for(var o in n){var a=n[o];Object.prototype.hasOwnProperty.call(n,o)&&a&&(i+=" "+A(o)+'="'+A(a)+'"')}var s="<"+e+i+">";return r?s+t+"</"+e+">":s},g={},I=function(e){if(null==e)return null;try{var t=decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").toLowerCase();if(0===t.indexOf("javascript:")||0===t.indexOf("vbscript:")||0===t.indexOf("data:"))return null}catch(e){return null}return e},S=/[<>&"']/g,y={"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;","'":"&#x27;","/":"&#x2F;","`":"&#96;"},A=function(e){return String(e).replace(S,(function(e){return y[e]}))},O=/\\([^0-9A-Za-z\s])/g,N=function(e){return e.replace(O,"$1")},R=function(e,t,n){var r=n.inline||!1;n.inline=!0;var i=e(t,n);return n.inline=r,i},b=function(e,t,n){return{content:R(t,e[1],n)}},L=function(){return{}},D=new RegExp("^( *)((?:[*+-]|\\d+\\.)) +"),C=new RegExp("( *)((?:[*+-]|\\d+\\.)) +[^\\n]*(?:\\n(?!\\1(?:[*+-]|\\d+\\.) )[^\\n]*)*(\n|$)","gm"),M=/\n{2,}$/,P=/^ (?= *`)|(` *) $/g,w=M,U=/ *\n+$/,k=new RegExp("^( *)((?:[*+-]|\\d+\\.)) [\\s\\S]+?(?:\n{2,}(?! )(?!\\1(?:[*+-]|\\d+\\.) )\\n*|\\s*\n*$)"),G=/(?:^|\n)( *)$/,Y=(e=/^ *\| *| *\| *$/g,t=/ *$/,n=/^ *-+: *$/,r=/^ *:-+: *$/,i=/^ *:-+ *$/,o=function(e){return n.test(e)?"right":r.test(e)?"center":i.test(e)?"left":null},a=function(e,n,r,i){var o=r.inTable;r.inTable=!0;var a=n(e.trim(),r);r.inTable=o;var s=[[]];return a.forEach((function(e,n){"tableSeparator"===e.type?(!i||0!==n&&n!==a.length-1)&&s.push([]):("text"!==e.type||null!=a[n+1]&&"tableSeparator"!==a[n+1].type||(e.content=e.content.replace(t,"")),s[s.length-1].push(e))})),s},{parseTable:(s=function(t){return function(n,r,i){i.inline=!0;var s=a(n[1],r,i,t),u=function(t,n,r,i){return i&&(t=t.replace(e,"")),t.trim().split("|").map(o)}(n[2],0,0,t),l=function(e,t,n,r){return e.trim().split("\n").map((function(e){return a(e,t,n,r)}))}(n[3],r,i,t);return i.inline=!1,{type:"table",header:s,align:u,cells:l}}})(!0),parseNpTable:s(!1),TABLE_REGEX:/^ *(\|.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/,NPTABLE_REGEX:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/}),x="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",V="\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*",H=/mailto:/i,F=function(e,t,n){var r=(e[2]||e[1]).replace(/\s+/g," ").toLowerCase();if(t._defs&&t._defs[r]){var i=t._defs[r];n.target=i.target,n.title=i.title}return t._refs=t._refs||{},t._refs[r]=t._refs[r]||[],t._refs[r].push(n),n},B=0,j={Array:{react:function(e,t,n){for(var r=n.key,i=[],o=0,a=0;o<e.length;o++,a++){n.key=""+o;var s=e[o];if("text"===s.type)for(s={type:"text",content:s.content};o+1<e.length&&"text"===e[o+1].type;o++)s.content+=e[o+1].content;i.push(t(s,n))}return n.key=r,i},html:function(e,t,n){for(var r="",i=0;i<e.length;i++){var o=e[i];if("text"===o.type)for(o={type:"text",content:o.content};i+1<e.length&&"text"===e[i+1].type;i++)o.content+=e[i+1].content;r+=t(o,n)}return r}},heading:{order:B++,match:E(/^ *(#{1,6})([^\n]+?)#* *(?:\n *)+\n/),parse:function(e,t,n){return{level:e[1].length,content:R(t,e[2].trim(),n)}},react:function(e,t,n){return v("h"+e.level,n.key,{children:t(e.content,n)})},html:function(e,t,n){return T("h"+e.level,t(e.content,n))}},nptable:{order:B++,match:E(Y.NPTABLE_REGEX),parse:Y.parseNpTable,react:null,html:null},lheading:{order:B++,match:E(/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/),parse:function(e,t,n){return{type:"heading",level:"="===e[2]?1:2,content:R(t,e[1],n)}},react:null,html:null},hr:{order:B++,match:E(/^( *[-*_]){3,} *(?:\n *)+\n/),parse:L,react:function(e,t,n){return v("hr",n.key,g)},html:function(e,t,n){return"<hr>"}},codeBlock:{order:B++,match:E(/^(?:    [^\n]+\n*)+(?:\n *)+\n/),parse:function(e,t,n){return{lang:void 0,content:e[0].replace(/^    /gm,"").replace(/\n+$/,"")}},react:function(e,t,n){var r=e.lang?"markdown-code-"+e.lang:void 0;return v("pre",n.key,{children:v("code",null,{className:r,children:e.content})})},html:function(e,t,n){var r=e.lang?"markdown-code-"+e.lang:void 0,i=T("code",A(e.content),{class:r});return T("pre",i)}},fence:{order:B++,match:E(/^ *(`{3,}|~{3,}) *(?:(\S+) *)?\n([\s\S]+?)\n?\1 *(?:\n *)+\n/),parse:function(e,t,n){return{type:"codeBlock",lang:e[2]||void 0,content:e[3]}},react:null,html:null},blockQuote:{order:B++,match:E(/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/),parse:function(e,t,n){return{content:t(e[0].replace(/^ *> ?/gm,""),n)}},react:function(e,t,n){return v("blockquote",n.key,{children:t(e.content,n)})},html:function(e,t,n){return T("blockquote",t(e.content,n))}},list:{order:B++,match:function(e,t){var n=null==t.prevCapture?"":t.prevCapture[0],r=G.exec(n),i=t._list||!t.inline;return r&&i?(e=r[1]+e,k.exec(e)):null},parse:function(e,t,n){var r=e[2],i=r.length>1,o=i?+r:void 0,a=e[0].replace(w,"\n").match(C),s=!1;return{ordered:i,start:o,items:a.map((function(e,r){var i=D.exec(e),o=i?i[0].length:0,u=new RegExp("^ {1,"+o+"}","gm"),l=e.replace(u,"").replace(D,""),c=r===a.length-1,d=-1!==l.indexOf("\n\n")||c&&s;s=d;var f,_=n.inline,p=n._list;n._list=!0,d?(n.inline=!1,f=l.replace(U,"\n\n")):(n.inline=!0,f=l.replace(U,""));var E=t(f,n);return n.inline=_,n._list=p,E}))}},react:function(e,t,n){var r=e.ordered?"ol":"ul";return v(r,n.key,{start:e.start,children:e.items.map((function(e,r){return v("li",""+r,{children:t(e,n)})}))})},html:function(e,t,n){var r=e.items.map((function(e){return T("li",t(e,n))})).join(""),i=e.ordered?"ol":"ul",o={start:e.start};return T(i,r,o)}},def:{order:B++,match:E(/^ *\[([^\]]+)\]: *<?([^\s>]*)>?(?: +["(]([^\n]+)[")])? *\n(?: *\n)*/),parse:function(e,t,n){var r=e[1].replace(/\s+/g," ").toLowerCase(),i=e[2],o=e[3];return n._refs&&n._refs[r]&&n._refs[r].forEach((function(e){e.target=i,e.title=o})),n._defs=n._defs||{},n._defs[r]={target:i,title:o},{def:r,target:i,title:o}},react:function(){return null},html:function(){return""}},table:{order:B++,match:E(Y.TABLE_REGEX),parse:Y.parseTable,react:function(e,t,n){var r=function(t){return null==e.align[t]?{}:{textAlign:e.align[t]}},i=e.header.map((function(e,i){return v("th",""+i,{style:r(i),scope:"col",children:t(e,n)})})),o=e.cells.map((function(e,i){return v("tr",""+i,{children:e.map((function(e,i){return v("td",""+i,{style:r(i),children:t(e,n)})}))})}));return v("table",n.key,{children:[v("thead","thead",{children:v("tr",null,{children:i})}),v("tbody","tbody",{children:o})]})},html:function(e,t,n){var r=function(t){return null==e.align[t]?"":"text-align:"+e.align[t]+";"},i=e.header.map((function(e,i){return T("th",t(e,n),{style:r(i),scope:"col"})})).join(""),o=e.cells.map((function(e){var i=e.map((function(e,i){return T("td",t(e,n),{style:r(i)})})).join("");return T("tr",i)})).join(""),a=T("thead",T("tr",i)),s=T("tbody",o);return T("table",a+s)}},newline:{order:B++,match:E(/^(?:\n *)*\n/),parse:L,react:function(e,t,n){return"\n"},html:function(e,t,n){return"\n"}},paragraph:{order:B++,match:E(/^((?:[^\n]|\n(?! *\n))+)(?:\n *)+\n/),parse:b,react:function(e,t,n){return v("div",n.key,{className:"paragraph",children:t(e.content,n)})},html:function(e,t,n){return T("div",t(e.content,n),{class:"paragraph"})}},escape:{order:B++,match:p(/^\\([^0-9A-Za-z\s])/),parse:function(e,t,n){return{type:"text",content:e[1]}},react:null,html:null},tableSeparator:{order:B++,match:function(e,t){return t.inTable?/^ *\| */.exec(e):null},parse:function(){return{type:"tableSeparator"}},react:function(){return" | "},html:function(){return" &vert; "}},autolink:{order:B++,match:p(/^<([^: >]+:\/[^ >]+)>/),parse:function(e,t,n){return{type:"link",content:[{type:"text",content:e[1]}],target:e[1]}},react:null,html:null},mailto:{order:B++,match:p(/^<([^ >]+@[^ >]+)>/),parse:function(e,t,n){var r=e[1],i=e[1];return H.test(i)||(i="mailto:"+i),{type:"link",content:[{type:"text",content:r}],target:i}},react:null,html:null},url:{order:B++,match:p(/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/),parse:function(e,t,n){return{type:"link",content:[{type:"text",content:e[1]}],target:e[1],title:void 0}},react:null,html:null},link:{order:B++,match:p(new RegExp("^\\[("+x+")\\]\\("+V+"\\)")),parse:function(e,t,n){return{content:t(e[1],n),target:N(e[2]),title:e[3]}},react:function(e,t,n){return v("a",n.key,{href:I(e.target),title:e.title,children:t(e.content,n)})},html:function(e,t,n){var r={href:I(e.target),title:e.title};return T("a",t(e.content,n),r)}},image:{order:B++,match:p(new RegExp("^!\\[("+x+")\\]\\("+V+"\\)")),parse:function(e,t,n){return{alt:e[1],target:N(e[2]),title:e[3]}},react:function(e,t,n){return v("img",n.key,{src:I(e.target),alt:e.alt,title:e.title})},html:function(e,t,n){var r={src:I(e.target),alt:e.alt,title:e.title};return T("img","",r,!1)}},reflink:{order:B++,match:p(new RegExp("^\\[("+x+")\\]\\s*\\[([^\\]]*)\\]")),parse:function(e,t,n){return F(e,n,{type:"link",content:t(e[1],n)})},react:null,html:null},refimage:{order:B++,match:p(new RegExp("^!\\[("+x+")\\]\\s*\\[([^\\]]*)\\]")),parse:function(e,t,n){return F(e,n,{type:"image",alt:e[1]})},react:null,html:null},em:{order:B,match:p(new RegExp("^\\b_((?:__|\\\\[\\s\\S]|[^\\\\_])+?)_\\b|^\\*(?=\\S)((?:\\*\\*|\\\\[\\s\\S]|\\s+(?:\\\\[\\s\\S]|[^\\s\\*\\\\]|\\*\\*)|[^\\s\\*\\\\])+?)\\*(?!\\*)")),quality:function(e){return e[0].length+.2},parse:function(e,t,n){return{content:t(e[2]||e[1],n)}},react:function(e,t,n){return v("em",n.key,{children:t(e.content,n)})},html:function(e,t,n){return T("em",t(e.content,n))}},strong:{order:B,match:p(/^\*\*((?:\\[\s\S]|[^\\])+?)\*\*(?!\*)/),quality:function(e){return e[0].length+.1},parse:b,react:function(e,t,n){return v("strong",n.key,{children:t(e.content,n)})},html:function(e,t,n){return T("strong",t(e.content,n))}},u:{order:B++,match:p(/^__((?:\\[\s\S]|[^\\])+?)__(?!_)/),quality:function(e){return e[0].length},parse:b,react:function(e,t,n){return v("u",n.key,{children:t(e.content,n)})},html:function(e,t,n){return T("u",t(e.content,n))}},del:{order:B++,match:p(/^~~(?=\S)((?:\\[\s\S]|~(?!~)|[^\s~]|\s(?!~~))+?)~~/),parse:b,react:function(e,t,n){return v("del",n.key,{children:t(e.content,n)})},html:function(e,t,n){return T("del",t(e.content,n))}},inlineCode:{order:B++,match:p(/^(`+)([\s\S]*?[^`])\1(?!`)/),parse:function(e,t,n){return{content:e[2].replace(P,"$1")}},react:function(e,t,n){return v("code",n.key,{children:e.content})},html:function(e,t,n){return T("code",A(e.content))}},br:{order:B++,match:h(/^ {2,}\n/),parse:L,react:function(e,t,n){return v("br",n.key,g)},html:function(e,t,n){return"<br>"}},text:{order:B++,match:h(/^[\s\S]+?(?=[^0-9A-Za-z\s\u00c0-\uffff]|\n\n| {2,}\n|\w+:\S|$)/),parse:function(e,t,n){return{content:e[0]}},react:function(e,t,n){return e.content},html:function(e,t,n){return A(e.content)}}},W=function(e,t,n){if(!t)throw new Error("simple-markdown: outputFor: `property` must be defined. if you just upgraded, you probably need to replace `outputFor` with `reactFor`");var r,i=(e.Array||j.Array)[t];if(!i)throw new Error("simple-markdown: outputFor: to join nodes of type `"+t+"` you must provide an `Array:` joiner rule with that type, Please see the docs for details on specifying an Array rule.");var o=i,a=function(n,i){return r=i=i||r,Array.isArray(n)?o(n,a,i):e[n.type][t](n,a,i)};return function(e,t){return r=f(t,n),a(e,r)}},K=_(j),z=function(e,t){return(t=t||{}).inline=!1,K(e,t)},q=function(e,t){var n=M.test(e);return(t=t||{}).inline=!n,K(e,t)},X=W(j,"react"),J=W(j,"html"),Q=function(e,t){return X(z(e,t),t)};return{defaultRules:j,parserFor:_,outputFor:W,inlineRegex:p,blockRegex:E,anyScopeRegex:h,parseInline:R,parseBlock:function(e,t,n){var r=n.inline||!1;n.inline=!1;var i=e(t+"\n\n",n);return n.inline=r,i},markdownToReact:Q,markdownToHtml:function(e,t){return J(z(e,t),t)},ReactMarkdown:function(e){var t={};for(var n in e)"source"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.children=Q(e.source),v("div",null,t)},defaultBlockParse:z,defaultInlineParse:function(e,t){return(t=t||{}).inline=!0,K(e,t)},defaultImplicitParse:q,defaultReactOutput:X,defaultHtmlOutput:J,preprocess:d,sanitizeText:A,sanitizeUrl:I,unescapeUrl:N,htmlTag:T,reactElement:v,defaultRawParse:K,ruleOutput:function(e,t){return t||"undefined"==typeof console||console.warn("simple-markdown ruleOutput should take 'react' or 'html' as the second argument."),function(n,r,i){return e[n.type][t](n,r,i)}},reactFor:function(e){var t=function(n,r){if(r=r||{},Array.isArray(n)){for(var i=r.key,o=[],a=null,s=0;s<n.length;s++){r.key=""+s;var u=t(n[s],r);"string"==typeof u&&"string"==typeof a?(a+=u,o[o.length-1]=a):(o.push(u),a=u)}return r.key=i,o}return e(n,t,r)};return t},htmlFor:function(e){var t=function(n,r){return r=r||{},Array.isArray(n)?n.map((function(e){return t(e,r)})).join(""):e(n,t,r)};return t},defaultParse:function(){return"undefined"!=typeof console&&console.warn("defaultParse is deprecated, please use `defaultImplicitParse`"),q.apply(null,arguments)},defaultOutput:function(){return"undefined"!=typeof console&&console.warn("defaultOutput is deprecated, please use `defaultReactOutput`"),X.apply(null,arguments)}}}()},function(e,t,n){"use strict";var r=function(){function e(){}var t=e.prototype;return t.__attach=function(){},t.__detach=function(){},t.__getValue=function(){},t.__getAnimatedValue=function(){return this.__getValue()},t.__addChild=function(e){},t.__removeChild=function(e){},t.__getChildren=function(){return[]},e}();e.exports=r},function(e,t,n){"use strict";n.r(t);t.default=function(e,t){if(!e)throw new Error("Invariant failed")}},function(e,t,n){"use strict";n.r(t),n.d(t,"createBrowserHistory",(function(){return T})),n.d(t,"createHashHistory",(function(){return A})),n.d(t,"createMemoryHistory",(function(){return N})),n.d(t,"createLocation",(function(){return _})),n.d(t,"locationsAreEqual",(function(){return p})),n.d(t,"parsePath",(function(){return d})),n.d(t,"createPath",(function(){return f}));var r=n(49),i=n(1139),o=n(1140),a=n(103);function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function l(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function c(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function d(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}function f(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function _(e,t,n,o){var a;"string"==typeof e?(a=d(e)).state=t:(void 0===(a=Object(r.a)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=Object(i.default)(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function p(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&Object(o.default)(e.state,t.state)}function E(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,i){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,i):i(!0):i(!1!==o)}else i(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var h=!("undefined"==typeof window||!window.document||!window.document.createElement);function m(e,t){t(window.confirm(e))}function v(){try{return window.history.state||{}}catch(e){return{}}}function T(e){void 0===e&&(e={}),h||Object(a.default)(!1);var t,n=window.history,i=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),u=e,d=u.forceRefresh,p=void 0!==d&&d,T=u.getUserConfirmation,g=void 0===T?m:T,I=u.keyLength,S=void 0===I?6:I,y=e.basename?c(s(e.basename)):"";function A(e){var t=e||{},n=t.key,r=t.state,i=window.location,o=i.pathname+i.search+i.hash;return y&&(o=l(o,y)),_(o,r,n)}function O(){return Math.random().toString(36).substr(2,S)}var N=E();function R(e){Object(r.a)(x,e),x.length=n.length,N.notifyListeners(x.location,x.action)}function b(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||C(A(e.state))}function L(){C(A(v()))}var D=!1;function C(e){if(D)D=!1,R();else{N.confirmTransitionTo(e,"POP",g,(function(t){t?R({action:"POP",location:e}):function(e){var t=x.location,n=P.indexOf(t.key);-1===n&&(n=0);var r=P.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(D=!0,U(i))}(e)}))}}var M=A(v()),P=[M.key];function w(e){return y+f(e)}function U(e){n.go(e)}var k=0;function G(e){1===(k+=e)&&1===e?(window.addEventListener("popstate",b),o&&window.addEventListener("hashchange",L)):0===k&&(window.removeEventListener("popstate",b),o&&window.removeEventListener("hashchange",L))}var Y=!1;var x={length:n.length,action:"POP",location:M,createHref:w,push:function(e,t){var r=_(e,t,O(),x.location);N.confirmTransitionTo(r,"PUSH",g,(function(e){if(e){var t=w(r),o=r.key,a=r.state;if(i)if(n.pushState({key:o,state:a},null,t),p)window.location.href=t;else{var s=P.indexOf(x.location.key),u=P.slice(0,s+1);u.push(r.key),P=u,R({action:"PUSH",location:r})}else window.location.href=t}}))},replace:function(e,t){var r=_(e,t,O(),x.location);N.confirmTransitionTo(r,"REPLACE",g,(function(e){if(e){var t=w(r),o=r.key,a=r.state;if(i)if(n.replaceState({key:o,state:a},null,t),p)window.location.replace(t);else{var s=P.indexOf(x.location.key);-1!==s&&(P[s]=r.key),R({action:"REPLACE",location:r})}else window.location.replace(t)}}))},go:U,goBack:function(){U(-1)},goForward:function(){U(1)},block:function(e){void 0===e&&(e=!1);var t=N.setPrompt(e);return Y||(G(1),Y=!0),function(){return Y&&(Y=!1,G(-1)),t()}},listen:function(e){var t=N.appendListener(e);return G(1),function(){G(-1),t()}}};return x}var g={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+u(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:u,decodePath:s},slash:{encodePath:s,decodePath:s}};function I(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function S(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function y(e){window.location.replace(I(window.location.href)+"#"+e)}function A(e){void 0===e&&(e={}),h||Object(a.default)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),i=n.getUserConfirmation,o=void 0===i?m:i,u=n.hashType,d=void 0===u?"slash":u,p=e.basename?c(s(e.basename)):"",v=g[d],T=v.encodePath,A=v.decodePath;function O(){var e=A(S());return p&&(e=l(e,p)),_(e)}var N=E();function R(e){Object(r.a)(x,e),x.length=t.length,N.notifyListeners(x.location,x.action)}var b=!1,L=null;function D(){var e,t,n=S(),r=T(n);if(n!==r)y(r);else{var i=O(),a=x.location;if(!b&&(t=i,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(L===f(i))return;L=null,function(e){if(b)b=!1,R();else{N.confirmTransitionTo(e,"POP",o,(function(t){t?R({action:"POP",location:e}):function(e){var t=x.location,n=w.lastIndexOf(f(t));-1===n&&(n=0);var r=w.lastIndexOf(f(e));-1===r&&(r=0);var i=n-r;i&&(b=!0,U(i))}(e)}))}}(i)}}var C=S(),M=T(C);C!==M&&y(M);var P=O(),w=[f(P)];function U(e){t.go(e)}var k=0;function G(e){1===(k+=e)&&1===e?window.addEventListener("hashchange",D):0===k&&window.removeEventListener("hashchange",D)}var Y=!1;var x={length:t.length,action:"POP",location:P,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=I(window.location.href)),n+"#"+T(p+f(e))},push:function(e,t){var n=_(e,void 0,void 0,x.location);N.confirmTransitionTo(n,"PUSH",o,(function(e){if(e){var t=f(n),r=T(p+t);if(S()!==r){L=t,function(e){window.location.hash=e}(r);var i=w.lastIndexOf(f(x.location)),o=w.slice(0,i+1);o.push(t),w=o,R({action:"PUSH",location:n})}else R()}}))},replace:function(e,t){var n=_(e,void 0,void 0,x.location);N.confirmTransitionTo(n,"REPLACE",o,(function(e){if(e){var t=f(n),r=T(p+t);S()!==r&&(L=t,y(r));var i=w.indexOf(f(x.location));-1!==i&&(w[i]=t),R({action:"REPLACE",location:n})}}))},go:U,goBack:function(){U(-1)},goForward:function(){U(1)},block:function(e){void 0===e&&(e=!1);var t=N.setPrompt(e);return Y||(G(1),Y=!0),function(){return Y&&(Y=!1,G(-1)),t()}},listen:function(e){var t=N.appendListener(e);return G(1),function(){G(-1),t()}}};return x}function O(e,t,n){return Math.min(Math.max(e,t),n)}function N(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,i=t.initialEntries,o=void 0===i?["/"]:i,a=t.initialIndex,s=void 0===a?0:a,u=t.keyLength,l=void 0===u?6:u,c=E();function d(e){Object(r.a)(g,e),g.length=g.entries.length,c.notifyListeners(g.location,g.action)}function p(){return Math.random().toString(36).substr(2,l)}var h=O(s,0,o.length-1),m=o.map((function(e){return _(e,void 0,"string"==typeof e?p():e.key||p())})),v=f;function T(e){var t=O(g.index+e,0,g.entries.length-1),r=g.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var g={length:m.length,action:"POP",location:m[h],index:h,entries:m,createHref:v,push:function(e,t){var r=_(e,t,p(),g.location);c.confirmTransitionTo(r,"PUSH",n,(function(e){if(e){var t=g.index+1,n=g.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),d({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=_(e,t,p(),g.location);c.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(g.entries[g.index]=r,d({action:"REPLACE",location:r}))}))},go:T,goBack:function(){T(-1)},goForward:function(){T(1)},canGo:function(e){var t=g.index+e;return t>=0&&t<g.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return g}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(3)),i=c(n(28)),o=c(n(2)),a=n(1254),s=c(n(39)),u=c(n(213)),l=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(){return(_=Object.assign||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}).apply(this,arguments)}var p={fontSize:l.Accessibility.FONT_SIZE_DEFAULT,zoom:l.Accessibility.ZOOM_DEFAULT,keyboardModeEnabled:!1,colorblindMode:!1,lowContrastMode:!1,saturation:1,desaturateUserColors:!1,darkSidebar:!1,accessibilitySupportEnabled:!1,detectionModalSeen:!1,keyboardNavigationExplainerModalSeen:!1,messageGroupSpacing:null,systemPrefersReducedMotion:"no-preference",prefersReducedMotion:"auto"},E=p,h={12:"font-size-12",14:"font-size-14",15:"font-size-15",16:"font-size-16",18:"font-size-18",20:"font-size-20",24:"font-size-24"};var m=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var i,o,u,c=r.prototype;return c.initialize=function(e){this.waitFor(s.default),E=_({},p,{},e||null),isNaN(E.fontSize)&&(E.fontSize=l.Accessibility.FONT_SIZE_DEFAULT),a.MESSAGE_GROUP_SPACING.indexOf(null!=E.messageGroupSpacing?E.messageGroupSpacing:-1)<0&&(E.messageGroupSpacing=null)},c.getState=function(){return E},i=r,(o=[{key:"fontScale",get:function(){return E.fontSize/l.Accessibility.FONT_SIZE_DEFAULT*100}},{key:"fontSize",get:function(){return E.fontSize}},{key:"isFontScaledUp",get:function(){return E.fontSize>l.Accessibility.FONT_SIZE_DEFAULT}},{key:"isFontScaledDown",get:function(){return E.fontSize<l.Accessibility.FONT_SIZE_DEFAULT}},{key:"fontScaleClass",get:function(){var e,t=null!==(e=h[this.fontSize])&&void 0!==e?e:"";return this.isFontScaledUp?"a11y-font-scaled-up "+t:this.isFontScaledDown?"a11y-font-scaled-down "+t:""+t}},{key:"zoom",get:function(){return E.zoom}},{key:"isZoomedIn",get:function(){return E.zoom>l.Accessibility.ZOOM_DEFAULT}},{key:"isZoomedOut",get:function(){return E.zoom<l.Accessibility.ZOOM_DEFAULT}},{key:"keyboardModeEnabled",get:function(){return E.keyboardModeEnabled}},{key:"colorblindMode",get:function(){return E.colorblindMode}},{key:"lowContrastMode",get:function(){return E.lowContrastMode}},{key:"saturation",get:function(){return E.saturation}},{key:"desaturateUserColors",get:function(){return E.desaturateUserColors}},{key:"darkSidebar",get:function(){return s.default.theme===l.ThemeTypes.LIGHT&&E.darkSidebar}},{key:"accessibilitySupportEnabled",get:function(){return E.accessibilitySupportEnabled}},{key:"detectionModalSeen",get:function(){return E.detectionModalSeen}},{key:"keyboardNavigationExplainerModalSeen",get:function(){return E.keyboardNavigationExplainerModalSeen}},{key:"messageGroupSpacing",get:function(){return null!=E.messageGroupSpacing?E.messageGroupSpacing:s.default.messageDisplayCompact?a.DEFAULT_COMPACT_SPACING:a.DEFAULT_COZY_SPACING}},{key:"isMessageGroupSpacingIncreased",get:function(){var e=s.default.messageDisplayCompact?a.DEFAULT_COMPACT_SPACING:a.DEFAULT_COZY_SPACING;return this.messageGroupSpacing>e}},{key:"isMessageGroupSpacingDecreased",get:function(){var e=s.default.messageDisplayCompact?a.DEFAULT_COMPACT_SPACING:a.DEFAULT_COZY_SPACING;return this.messageGroupSpacing<e}},{key:"systemPrefersReducedMotion",get:function(){return E.systemPrefersReducedMotion}},{key:"rawPrefersReducedMotion",get:function(){return E.prefersReducedMotion}},{key:"useReducedMotion",get:function(){switch(E.prefersReducedMotion){case"no-preference":return!1;case"reduce":return!0;case"auto":default:return"reduce"===E.systemPrefersReducedMotion}}}])&&d(i.prototype,o),u&&d(i,u),r}(r.default.PersistedStore);m.persistKey="AccessibilityStore",m.migrations=[function(){var e="a11yFontScale",t="a11yZoom",n="a11yColorblindMode",r=i.default.get(e)||100,o=i.default.get(t)||l.Accessibility.ZOOM_DEFAULT,a=i.default.get(n)||!1;return i.default.remove(e),i.default.remove(t),i.default.remove(n),{fontScale:r,zoom:o,colorblindMode:a,keyboardModeEnabled:!1}},function(e){var t=e.fontScale,n=function(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}(e,["fontScale"]),r=16;switch(t){case 82:r=12;break;case 92:r=15;break;case 100:r=16;break;case 110:r=18;break;case 125:r=20;break;case 150:r=24}return _({},n,{fontSize:r})},function(e){return _({},e,{darkSidebar:!1})},function(e){return _({},e,{accessibilitySupportEnabled:!1,detectionModalSeen:!1})},function(e){return _({},e,{messageGroupSpacing:null})},function(e){return _({},e,{systemPrefersReducedMotion:"no-preference",prefersReducedMotion:"auto"})},function(e){return _({},e,{detectionModalSeen:e.detectionModalSeen})}];var v=new m(o.default,{ACCESSIBILITY_SET_FONT_SIZE:function(e){var t=function(e){return l.Accessibility.FONT_SIZES.indexOf(e)>=0?e:l.Accessibility.FONT_SIZE_DEFAULT}(e.fontSize);if(t>l.Accessibility.FONT_SIZE_MAX||t<l.Accessibility.FONT_SIZE_MIN||E.fontSize===t)return!1;(E=_({},E)).fontSize=t},ACCESSIBILITY_SET_ZOOM:function(e){if(e.zoom<l.Accessibility.ZOOM_MIN||e.zoom>l.Accessibility.ZOOM_MAX||E.zoom===e.zoom)return!1;(E=_({},E)).zoom=e.zoom,u.default.setZoomFactor(E.zoom)},ACCESSIBILITY_RESET_TO_DEFAULT:function(e){return function(){var e=E.fontSize!==l.Accessibility.FONT_SIZE_DEFAULT,t=E.zoom!==l.Accessibility.ZOOM_DEFAULT;if(!e&&!t)return!1;(E=_({},E)).fontSize!==l.Accessibility.FONT_SIZE_DEFAULT&&(E.fontSize=l.Accessibility.FONT_SIZE_DEFAULT),E.zoom!==l.Accessibility.ZOOM_DEFAULT&&(E.zoom=l.Accessibility.ZOOM_DEFAULT,u.default.setZoomFactor(E.zoom))}()},ACCESSIBILITY_KEYBOARD_MODE_ENABLE:function(e){return function(){if(E.keyboardModeEnabled)return!1;(E=_({},E)).keyboardModeEnabled=!0}()},ACCESSIBILITY_KEYBOARD_MODE_DISABLE:function(e){return function(){if(!E.keyboardModeEnabled)return!1;(E=_({},E)).keyboardModeEnabled=!1}()},ACCESSIBILITY_COLORBLIND_TOGGLE:function(e){(E=_({},E)).colorblindMode=!E.colorblindMode},ACCESSIBILITY_LOW_CONTRAST_TOGGLE:function(e){(E=_({},E)).lowContrastMode=!E.lowContrastMode},ACCESSIBILITY_SET_SATURATION:function(e){(E=_({},E)).saturation=e.saturation},ACCESSIBILITY_DESATURATE_ROLES_TOGGLE:function(e){(E=_({},E)).desaturateUserColors=!E.desaturateUserColors},ACCESSIBILITY_DARK_SIDEBAR_TOGGLE:function(e){(E=_({},E)).darkSidebar=!E.darkSidebar},ACCESSIBILITY_SUPPORT_CHANGED:function(e){var t=!!s.default.allowAccessibilityDetection;E=_({},E,{accessibilitySupportEnabled:t&&e.enabled})},ACCESSIBILITY_SYSTEM_PREFERS_REDUCED_MOTION_CHANGED:function(e){if(E.systemPrefersReducedMotion===e.systemPrefersReducedMotion)return!1;E=_({},E,{systemPrefersReducedMotion:e.systemPrefersReducedMotion})},ACCESSIBILITY_SET_PREFERS_REDUCED_MOTION:function(e){if(E.prefersReducedMotion===e.prefersReducedMotion)return!1;E=_({},E,{prefersReducedMotion:e.prefersReducedMotion})},ACCESSIBILITY_DETECTION_MODAL_SEEN:function(e){E=_({},E,{detectionModalSeen:!0})},KEYBOARD_NAVIGATION_EXPLAINER_MODAL_SEEN:function(e){E=_({},E,{keyboardNavigationExplainerModalSeen:!0})},USER_SETTINGS_UPDATE:function(e){return E=_({},E,{accessibilitySupportEnabled:!!e.settings.allowAccessibilityDetection&&E.accessibilitySupportEnabled,detectionModalSeen:!!e.settings.allowAccessibilityDetection||E.detectionModalSeen}),!0},ACCESSIBILITY_SET_MESSAGE_GROUP_SPACING:function(e){var t=e.messageGroupSpacing;E=_({},E,{messageGroupSpacing:t})}});t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.collectGuildAnalyticsMetadata=C,t.collectChannelAnalyticsMetadata=M,t.collectVoiceAnalyticsMetadata=function(e){if(null==e)return null;var t=c.default.getChannel(e);if(null==t)return null;var n=E.default.isVideoEnabled(),r=v.default.getMediaSessionId();return L({channel_id:t.id,channel_type:t.type,guild_id:t.getGuildId(),media_session_id:r},U(t.getGuildId(),t.id,n),{},(0,O.getVoiceAnalyticsMetadataAdditional)())},t.collectThreadMetadata=function(e,t){var n,r,i,l,c;void 0===t&&(t=!1);if(null==e||!u.THREAD_CHANNEL_TYPES.has(e.type))return null;return{location:t?(0,o.getLastRouteChangeSource)():void 0,thread_approximate_member_count:a.default.getMemberCount(e.id),thread_approximate_message_count:s.default.getCount(e.id),thread_archived:!0===(null===(n=e.threadMetadata)||void 0===n?void 0:n.archived),thread_locked:null!==(r=null===(i=e.threadMetadata)||void 0===i?void 0:i.locked)&&void 0!==r&&r,thread_auto_archive_duration_minutes:null!==(l=null===(c=e.threadMetadata)||void 0===c?void 0:c.autoArchiveDuration)&&void 0!==l?l:0,thread_approximate_creation_date:A.default.extractTimestamp(e.id)}},t.trackWithMetadata=P,t.trackWithGroupMetadata=w,t.getVoiceStateMetadata=U,t.getCustomStatusMetadata=function(e,t){var n={custom_status_count:0};return(0,r.default)(I.default.getVoiceStates(e)).forEach((function(e){e.channelId===t&&null!=m.default.findActivity(e.userId,(function(e){return e.type===N.ActivityTypes.CUSTOM_STATUS}))&&n.custom_status_count++})),n},t.default=void 0;var r=b(n(8)),i=b(n(63)),o=n(42),a=b(n(1360)),s=b(n(746)),u=n(31),l=b(n(11)),c=b(n(10)),d=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=R();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(86)),f=b(n(684)),_=b(n(56)),p=b(n(15)),E=b(n(51)),h=b(n(40)),m=b(n(256)),v=b(n(94)),T=b(n(36)),g=b(n(107)),I=b(n(80)),S=b(n(13)),y=b(n(78)),A=b(n(97)),O=n(5378),N=n(1);function R(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return R=function(){return e},e}function b(e){return e&&e.__esModule?e:{default:e}}function L(){return(L=Object.assign||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}).apply(this,arguments)}function D(e){var t=0;for(var n in e)t+=1;return t}function C(e){var t;if(null==e)return null;var n=p.default.getGuild(e);if(null==n)return null;var r=l.default.getId(),i=_.default.getMember(e,r),o=d.default.getChannels(e),a=o[d.GUILD_SELECTABLE_CHANNELS_KEY].length,s=o[d.GUILD_VOCAL_CHANNELS_KEY].length,u=I.default.getVoiceStates(e);return{guild_id:n.id,guild_size_total:f.default.getMemberCount(e),guild_num_channels:a+s,guild_num_text_channels:a,guild_num_voice_channels:s,guild_num_roles:D(n.roles),guild_member_num_roles:i?i.roles.length:0,guild_member_perms:String(null!==(t=h.default.getGuildPermissions(e))&&void 0!==t?t:y.default.NONE),guild_is_vip:n.hasFeature(N.GuildFeatures.VIP_REGIONS),is_member:null!=i,num_voice_channels_active:D(u)}}function M(e){var t;if(null==e)return null;var n=!1,r=e.getGuildId();if(null!=r){var o=function(e){if(null==e)return!1;var t=e.permissionOverwrites[r];return t&&i.default.has(t.deny,N.Permissions.VIEW_CHANNEL)};n=u.THREAD_CHANNEL_TYPES.has(e.type)&&e.parent_id?o(c.default.getChannel(e.parent_id)):o(e)}return{channel_id:e.id,channel_type:e.type,channel_size_total:r?0:e.recipients.length,channel_member_perms:String(r&&null!==(t=h.default.getChannelPermissions(e.id))&&void 0!==t?t:y.default.NONE),channel_hidden:n}}function P(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n=!1),!S.default.isThrottled(e)){var r=t.location!==N.AnalyticsLocations.GUILD_CREATE_INVITE_SUGGESTION,i=t.guild_id||(r?g.default.getGuildId():null),o=t.channel_id||(r?T.default.getChannelId(i):null),a=L({},t,{},C(i),{},M(c.default.getChannel(o)));S.default.track(e,a,{flush:n})}}function w(e,t,n){if(void 0===n&&(n={}),!S.default.isThrottled(e)){var r=L({},n,{},M(t.channel),{channel_type:N.ChannelTypes.GROUP_DM,game_id:t.game_id},(0,O.getGroupMetadataAdditional)(t.game_id),{owner_id:t.ownerId,total_size:t.size,free_size:t.available,title:t.title,description:t.description});S.default.track(e,r)}}function U(e,t,n){var i={voice_state_count:0,video_stream_count:0,video_enabled:n};return(0,r.default)(I.default.getVoiceStates(e)).filter((function(e){return e.channelId===t})).filter((function(e){return e.userId!==l.default.getId()})).forEach((function(e){i.voice_state_count++,(e.selfVideo||e.selfStream)&&i.video_stream_count++})),i}var k={trackWithMetadata:P,trackWithGroupMetadata:w,getVoiceStateMetadata:U};t.default=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(3)),i=c(n(2)),o=c(n(1233)),a=n(42),s=c(n(11)),u=c(n(15)),l=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=null,_=null;function p(){null!=f&&null==u.default.getGuild(f)&&null==o.default.getRequest(f)&&(f=null),null!=_&&null==u.default.getGuild(_)&&null==o.default.getRequest(_)&&(_=null)}var E=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var i=r.prototype;return i.initialize=function(){this.mustEmitChanges((function(e){return e.type!==l.ActionTypes.CONNECTION_OPEN})),this.waitFor(u.default,s.default)},i.getGuildId=function(){return f},i.getLastSelectedGuildId=function(){return _},r}(r.default.Store))(i.default,{CONNECTION_OPEN:function(e){return p()},OVERLAY_INITIALIZE:function(e){f=e.selectedGuildId,_=e.lastSelectedGuildId,p()},CHANNEL_SELECT:function(e){var t=e.guildId;if(f===t)return!1;null!=t&&(_=t),f=t},GUILD_MEMBER_REMOVE:function(e){var t=e.guildId;if(e.user.id!==s.default.getId())return!1;var n=!1;return _===t&&(_=null,n=!0),f===t&&(f=null,(0,a.replaceWith)(l.Routes.ME),n=!0),n},GUILD_DELETE:function(e){var t=e.guild,n=t.id,r=!1;return!0!==t.unavailable&&(_===n&&(_=null,r=!0),f===n&&(f=null,(0,a.replaceWith)(l.Routes.ME),r=!0),r)},LOGOUT:function(e){return f=null,void(_=null)}});t.default=E},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=!1},function(e,t,n){var r=n(317),i=n(222);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(74),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(20),i=n(318),o=n(222),a=n(221)("IE_PROTO"),s=function(){},u=function(){var e,t=n(219)("iframe"),r=o.length;for(t.style.display="none",n(223).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;r--;)delete u.prototype[o[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=u(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(317),i=n(222).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(58),i=n(45),o=n(221)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(25)("unscopables"),i=Array.prototype;null==i[r]&&n(59)(i,r,{}),e.exports=function(e){i[r][e]=!0}},function(e,t,n){var r=n(21);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=window.DiscordNative;t.default=r},,function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_(n(8)),i=_(n(3)),o=_(n(28)),a=_(n(2)),s=_(n(1352)),u=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(99)),l=n(136),c=_(n(11)),d=n(1);function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function _(e){return e&&e.__esModule?e:{default:e}}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(){return(v=Object.assign||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}).apply(this,arguments)}var T="LibraryApplicationStore";function g(){return o.default.get(T)||{}}var I=!1,S={},y={},A=new Set,O={},N={},R=!1;function b(){o.default.set(T,v({},g(),{activeLaunchOptionIds:N}))}function L(){o.default.set(T,v({},g(),{activeLibraryApplicationBranchIds:O}))}function D(e){for(var t,n=h(e);!(t=n()).done;){var r=t.value,i=s.default.createFromServer(r),o=(0,l.getComboId)(i.id,i.branchId);S[o]=i}}function C(e){var t=e.libraryApplication,n=s.default.createFromServer(t),r=(0,l.getComboId)(n.id,n.branchId);S[r]=n,A.delete(r)}function M(e,t){var n=(0,l.getComboId)(e,t);return S[n]||y[n]}function P(){return v({},y,{},S)}var w=new(function(t){var n,i;function a(){return t.apply(this,arguments)||this}i=t,(n=a).prototype=Object.create(i.prototype),n.prototype.constructor=n,E(n,i);var s,u,d,f=a.prototype;return f.initialize=function(){this.waitFor(c.default);var e=o.default.get(T);null!=e&&(null==e.activeLaunchOptionIds?b():N=e.activeLaunchOptionIds,null==e.activeLibraryApplicationBranchIds?L():O=e.activeLibraryApplicationBranchIds)},f.getAllLibraryApplications=function(){return P()},f.hasLibraryApplication=function(){return Object.keys(P()).length>0},f.hasApplication=function(e,t,n){void 0===n&&(n=!1);var r=M(e,t);return null!=r&&(!(!n&&r.isHidden())&&(0,l.isUserEntitledToLibraryApplication)(r))},f.getLibraryApplication=function(e,t,n){void 0===n&&(n=!1);var r=M(e,t);return n&&null!=r?(0,l.isUserEntitledToLibraryApplication)(r)?r:null:r},f.getActiveLibraryApplication=function(e,t){void 0===t&&(t=!1);var n=O[e];if(null!=n){var r=(0,l.getComboId)(e,n),i=S[r]||y[r];if(null!=i&&(0,l.isUserEntitledToLibraryApplication)(i)&&(t||!i.isHidden()))return i}var o=P();for(var a in o)if(o[a].id===e){var s=o[a];if((0,l.isUserEntitledToLibraryApplication)(s)&&(t||!s.isHidden()))return s}},f.isUpdatingFlags=function(e,t){return A.has((0,l.getComboId)(e,t))},f.getActiveLaunchOptionId=function(e,t){return N[(0,l.getComboId)(e,t)]},f.whenInitialized=function(t){this.addConditionalChangeListener((function(){if(I)return e(t),!1}))},s=a,(u=[{key:"libraryApplications",get:function(){return e=function(e){return!e.isHidden()},t=P(),Object.keys(t).forEach((function(n){e(t[n])||delete t[n]})),t;var e,t}},{key:"fetched",get:function(){return I}},{key:"entitledBranchIds",get:function(){return(0,r.default)(P()).values().filter((function(e){return(0,l.isUserEntitledToLibraryApplication)(e)})).map((function(e){return e.branchId})).value()}},{key:"hasRemovedLibraryApplicationThisSession",get:function(){return R}}])&&p(s.prototype,u),d&&p(s,d),a}(i.default.Store))(a.default,{LOGOUT:function(e){I=!1},LIBRARY_FETCH_SUCCESS:function(e){var t=e.libraryApplications;S={},D(t),I=!0},SKU_PURCHASE_SUCCESS:function(e){D(e.libraryApplications)},LIBRARY_APPLICATION_FLAGS_UPDATE_START:function(e){var t=e.applicationId,n=e.branchId,r=e.flags,i=(0,l.getComboId)(t,n),o=M(t,n);null!=o&&!o.isHidden()&&u.hasFlag(r,d.LibraryApplicationFlags.HIDDEN)&&(R=!0),A.add(i)},LIBRARY_APPLICATION_FLAGS_UPDATE_SUCCESS:C,LIBRARY_APPLICATION_UPDATE:C,LIBRARY_APPLICATION_ACTIVE_LAUNCH_OPTION_UPDATE:function(e){var t=e.applicationId,n=e.branchId,r=e.launchOptionId;N[(0,l.getComboId)(t,n)]=r,b()},LIBRARY_APPLICATION_ACTIVE_BRANCH_UPDATE:function(e){var t=e.applicationId,n=e.branchId;if(O[t]===n)return!1;O[t]=n,L()},LIBRARY_APPLICATIONS_TEST_MODE_ENABLED:function(e){for(var t,n=h(e.libraryApplications);!(t=n()).done;){var r=t.value,i=(0,l.getComboId)(r.id,r.branchId);y[i]=r}},DEVELOPER_TEST_MODE_RESET:function(e){y={}}});t.default=w}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ComponentDispatch=void 0;var r=o(n(64)),i=o(n(26));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=new(function(e){var t,n;function r(){var t;return(t=e.call(this)||this)._savedDispatches={},t.setMaxListeners(100),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n);var o=r.prototype;return o.safeDispatch=function(e,t){return this.hasSubscribers(e)?this.dispatch(e,t):((this._savedDispatches[e]=this._savedDispatches[e]||[]).push(t),this)},o.dispatch=function(e,t){Date.now();try{return this.emit(e,t),this}finally{0}},o.dispatchToLastSubscribed=function(e,t){Date.now();try{var n=this.listeners(e);return n.length&&n[n.length-1](t),this}finally{0}},o.dispatchToFirst=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(this.hasSubscribers(r)){this.dispatch(r,t);break}}return this},o.hasSubscribers=function(e){return this.listenerCount(e)>0},o._checkSavedDispatches=function(e){var t=this,n=this._savedDispatches[e];null!=n&&(n.forEach((function(n){return t.dispatch(e,n)})),this._savedDispatches[e]=void 0)},o.subscribe=function(e,t){return this.listeners(e).indexOf(t)>=0?(new i.default("ComponentDispatchUtils").warn("ComponentDispatch.subscribe: Attempting to add a duplicate listener",e),this):(this.on(e,t),this._checkSavedDispatches(e),this)},o.subscribeMany=function(e,t){var n=this;return e.forEach((function(e){n.subscribe(e,t)})),this},o.subscribeOnce=function(e,t){return this.once(e,t),this._checkSavedDispatches(e),this},o.resubscribe=function(e,t){if(!this.listeners(e).includes(t))return new i.default("ComponentDispatchUtils").warn("ComponentDispatch.resubscribe: Resubscribe without existing subscription",e),this;this.off(e,t),this.on(e,t)},o.unsubscribe=function(e,t){return this.removeListener(e,t),this},o.unsubscribeMany=function(e,t){var n=this;return e.forEach((function(e){n.unsubscribe(e,t)})),this},o.reset=function(){return this.removeAllListeners(),this},r}(r.default));t.ComponentDispatch=s;var u={ComponentDispatch:s};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1568);Object.keys(r).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}))},function(e,t,n){"use strict";function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.AccessibilityPreferencesContext=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0)).createContext({reducedMotion:{enabled:!1,rawValue:"no-preference"}});t.AccessibilityPreferencesContext=i},function(e,t,n){var r=n(33).f,i=n(58),o=n(25)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){var r=n(4),i=n(83),o=n(19),a=n(225),s="["+a+"]",u=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),c=function(e,t,n){var i={},s=o((function(){return!!a[e]()||"​…"!="​…"[e]()})),u=i[e]=s?t(d):a[e];n&&(i[n]=u),r(r.P+r.F*s,"String",i)},d=c.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(u,"")),2&t&&(e=e.replace(l,"")),e};e.exports=c},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(18),i=n(33),o=n(32),a=n(25)("species");e.exports=function(e){var t=r[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(52);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t,n){var r=Array.prototype.slice,i=n(1463),o=n(1464),a=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:function(e,t,n){var l,c;if(s(e)||s(t))return!1;if(e.prototype!==t.prototype)return!1;if(o(e))return!!o(t)&&(e=r.call(e),t=r.call(t),a(e,t,n));if(u(e)){if(!u(t))return!1;if(e.length!==t.length)return!1;for(l=0;l<e.length;l++)if(e[l]!==t[l])return!1;return!0}try{var d=i(e),f=i(t)}catch(e){return!1}if(d.length!=f.length)return!1;for(d.sort(),f.sort(),l=d.length-1;l>=0;l--)if(d[l]!=f[l])return!1;for(l=d.length-1;l>=0;l--)if(c=d[l],!a(e[c],t[c],n))return!1;return typeof e==typeof t}(e,t,n))};function s(e){return null==e}function u(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&("function"==typeof e.copy&&"function"==typeof e.slice&&!(e.length>0&&"number"!=typeof e[0]))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FormDivider",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"FormItem",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"FormNotice",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"FormNoticeTypes",{enumerable:!0,get:function(){return o.Types}}),Object.defineProperty(t,"FormNoticeImagePositions",{enumerable:!0,get:function(){return o.ImagePositions}}),Object.defineProperty(t,"FormSection",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"FormText",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"FormTextTypes",{enumerable:!0,get:function(){return s.Types}}),Object.defineProperty(t,"FormTitle",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"FormTitleTags",{enumerable:!0,get:function(){return u.Tags}});var r=d(n(1165)),i=d(n(476)),o=c(n(1370)),a=d(n(681)),s=c(n(474)),u=c(n(159));function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function d(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(2)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(1293)),o=n(42),a=d(n(10)),s=d(n(51)),u=n(1782),l=n(1);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(e){return e&&e.__esModule?e:{default:e}}var f={selectChannel:function(e,t,n,i){r.default.dirtyDispatch({type:l.ActionTypes.CHANNEL_SELECT,guildId:e===l.ME?null:e,channelId:t,messageId:n,jumpType:i})},selectPrivateChannel:function(e){(0,o.transitionTo)(l.Routes.CHANNEL(l.ME,e))},selectVoiceChannel:function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=a.default.getChannel(e),i=null==r?void 0:r.getGuildId();s.default.isSupported()&&(null!=e&&s.default.getMediaEngine().interact(),(0,u.selectVoiceChannelAdditional)(e,i,t,n))},disconnect:function(){this.selectVoiceChannel(null),i.close(l.PopoutWindowKeys.CHANNEL_CALL_POPOUT)}};t.default=f},function(e,t,n){"use strict";e.exports=function(e){var t,n={};if(!(e instanceof Object)||Array.isArray(e))throw new Error("keyMirror(...): Argument must be an object.");for(t in e)e.hasOwnProperty(t)&&(n[t]=t);return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStagePublicInfoText=function(){return[o.default.Messages.START_STAGE_PUBLIC_INFO_SECTION_ONE,o.default.Messages.START_STAGE_PUBLIC_INFO_SECTION_TWO,o.default.Messages.START_STAGE_PUBLIC_INFO_SECTION_THREE.format({articleURL:r.default.getArticleURL(i.HelpdeskArticles.STAGE_CHANNEL_GUIDELINES)}),o.default.Messages.START_STAGE_PUBLIC_INFO_SECTION_FOUR]},t.StartStageSteps=t.RequestToSpeakPermissionStates=t.STAGE_AUDIENCE_NOTICE_SHOWN_STORAGE_KEY=t.START_STAGE_GUILD_SELECTION_KEY=t.STAGE_INVITE_STATE_KEY=t.EXPLICIT_END_STAGE_SHEET_KEY=t.STAGE_SETTINGS_SHEET_KEY=t.STAGE_BLOCKED_USERS_SHEET_KEY=t.STAGE_MODERATOR_JOIN_SHEET_KEY=t.STAGE_AUDIENCE_NOTICE_SHEET_KEY=t.PUBLIC_STAGE_INFO_ACTION_SHEET_KEY=t.START_STAGE_CHANNEL_EVENT_MODAL_KEY=t.START_STAGE_CHANNEL_EVENT_SHEET_KEY=t.REQUEST_TO_SPEAK_SHEET_KEY=t.STAGE_APPLICATION_ID=t.MAX_STAGE_TOPIC_LENGTH=void 0;var r=a(n(93)),i=n(1),o=a(n(6));function a(e){return e&&e.__esModule?e:{default:e}}t.MAX_STAGE_TOPIC_LENGTH=240;t.STAGE_APPLICATION_ID="834488117758001152";t.REQUEST_TO_SPEAK_SHEET_KEY="request-to-speak-list";t.START_STAGE_CHANNEL_EVENT_SHEET_KEY="start-stage-channel-event";t.START_STAGE_CHANNEL_EVENT_MODAL_KEY="start-stage-channel-event-modal";t.PUBLIC_STAGE_INFO_ACTION_SHEET_KEY="public-stage-info-action-sheet";t.STAGE_AUDIENCE_NOTICE_SHEET_KEY="stage-channel-audience-notice";t.STAGE_MODERATOR_JOIN_SHEET_KEY="stage-channel-moderator-join";t.STAGE_BLOCKED_USERS_SHEET_KEY="stage-channel-blocked-users";t.STAGE_SETTINGS_SHEET_KEY="stage-settings";t.EXPLICIT_END_STAGE_SHEET_KEY="explicit-end-stage";t.STAGE_INVITE_STATE_KEY="stage-invite";t.START_STAGE_GUILD_SELECTION_KEY="start-stage-guild-selection";var s,u;t.STAGE_AUDIENCE_NOTICE_SHOWN_STORAGE_KEY="stage-channel-audience-notice-shown",t.RequestToSpeakPermissionStates=s,function(e){e[e.EVERYONE=1]="EVERYONE",e[e.NO_ONE=2]="NO_ONE",e[e.ROLES=3]="ROLES"}(s||(t.RequestToSpeakPermissionStates=s={})),t.StartStageSteps=u,function(e){e[e.GUILD_SELECTION=0]="GUILD_SELECTION",e[e.STAGE_CHANNEL_SETTINGS=1]="STAGE_CHANNEL_SETTINGS",e[e.PUBLIC_STAGE_PREVIEW=2]="PUBLIC_STAGE_PREVIEW"}(u||(t.StartStageSteps=u={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AudioSubsystems",{enumerable:!0,get:function(){return r.AudioSubsystems}}),Object.defineProperty(t,"DeviceTypes",{enumerable:!0,get:function(){return r.DeviceTypes}}),Object.defineProperty(t,"InputModes",{enumerable:!0,get:function(){return r.InputModes}}),Object.defineProperty(t,"ConnectionStates",{enumerable:!0,get:function(){return r.ConnectionStates}}),Object.defineProperty(t,"SpeakingFlags",{enumerable:!0,get:function(){return r.SpeakingFlags}}),Object.defineProperty(t,"DEFAULT_VOLUME",{enumerable:!0,get:function(){return r.DEFAULT_VOLUME}}),Object.defineProperty(t,"DEFAULT_STREAM_VOLUME",{enumerable:!0,get:function(){return r.DEFAULT_STREAM_VOLUME}}),Object.defineProperty(t,"DEFAULT_VOICE_BITRATE",{enumerable:!0,get:function(){return r.DEFAULT_VOICE_BITRATE}}),Object.defineProperty(t,"DEFAULT_DEVICE_ID",{enumerable:!0,get:function(){return r.DEFAULT_DEVICE_ID}}),Object.defineProperty(t,"DISABLED_DEVICE_ID",{enumerable:!0,get:function(){return r.DISABLED_DEVICE_ID}}),Object.defineProperty(t,"DEFAULT_PRIORITY_SPEAKER_DUCKING",{enumerable:!0,get:function(){return r.DEFAULT_PRIORITY_SPEAKER_DUCKING}}),Object.defineProperty(t,"Codecs",{enumerable:!0,get:function(){return r.Codecs}}),Object.defineProperty(t,"Features",{enumerable:!0,get:function(){return r.Features}}),Object.defineProperty(t,"MediaEngineContextTypes",{enumerable:!0,get:function(){return r.MediaEngineContextTypes}}),Object.defineProperty(t,"PING_INTERVAL",{enumerable:!0,get:function(){return r.PING_INTERVAL}}),Object.defineProperty(t,"VIDEO_QUALITY_LOW_WIDTH",{enumerable:!0,get:function(){return r.VIDEO_QUALITY_LOW_WIDTH}}),Object.defineProperty(t,"VIDEO_QUALITY_LOW_HEIGHT",{enumerable:!0,get:function(){return r.VIDEO_QUALITY_LOW_HEIGHT}}),Object.defineProperty(t,"VIDEO_QUALITY_LOW_MIN_BITRATE",{enumerable:!0,get:function(){return r.VIDEO_QUALITY_LOW_MIN_BITRATE}}),Object.defineProperty(t,"VIDEO_QUALITY_LOW_MAX_BITRATE",{enumerable:!0,get:function(){return r.VIDEO_QUALITY_LOW_MAX_BITRATE}}),Object.defineProperty(t,"UserMediaErrors",{enumerable:!0,get:function(){return i.UserMediaErrors}}),t.SUPPORTED_BROWSERS=void 0;var r=n(34),i=n(92);t.SUPPORTED_BROWSERS={Firefox:78,Chrome:37,Opera:66,"Node.js":6,Electron:1,Safari:13}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getComboId=function(e,t){return e+":"+t},t.convertComboId=function(e){var t=e.split(":"),n=t[0],r=t[1];return{applicationId:n,branchId:r}},t.shouldShareApplicationActivity=function(e,t,n){if(!t.showCurrentGame||t.status===o.StatusTypes.INVISIBLE)return!1;var r=n.getActiveLibraryApplication(e);return null==r||!r.hasFlag(o.LibraryApplicationFlags.PRIVATE)},t.calculateProgressPercentage=function(e,t){if(0===t)return 100;return e/t*100},t.shouldShowGameInLibrary=function(e,t,n){if(null==t)return!1;if(n.enabled&&t.hasFlag(o.LibraryApplicationFlags.PRIVATE))return!1;return!t.isHidden()},t.convertToTransitionState=s,t.getCombinedProgress=function(e){return e.reduce((function(e,t){var n=s(t);return null==n||t.type===o.LocalDispatchApplicationStates.UP_TO_DATE?e:{total:e.total+n.total,progress:e.progress+n.progress}}),{total:0,progress:0})},t.isUserEntitledToLibraryApplication=function(e){if(!e.isDiscordApplication())return!1;return e.isEntitled(r.default.getNullableCurrentUser(),i.default)};var r=a(n(12)),i=a(n(373)),o=n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return null==e?null:e.type===o.LocalDispatchApplicationStates.INSTALLING||e.type===o.LocalDispatchApplicationStates.UPDATING||e.type===o.LocalDispatchApplicationStates.UNINSTALLING?e:null}},function(e,t,n){"use strict";t.decode=t.parse=n(1530),t.encode=t.stringify=n(1531)},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(){function e(e,t,n){if(void 0===e&&(e=500),void 0===t&&(t=null),void 0===n&&(n=!0),this._fails=0,e<=0)throw Error("Backoff min value must be greater than zero or backoff will never back-off.");this.min=e,this.max=null!=t?t:10*e,this.jitter=n,this._current=e}var t,n,i,o=e.prototype;return o.succeed=function(){this.cancel(),this._fails=0,this._current=this.min},o.fail=function(e){var t=this;this._fails+=1;var n=2*this._current;if(this.jitter&&(n*=Math.random()),this._current=Math.min(this._current+n,this.max),null!=e){if(null!=this._timeoutId){if(this._callback!==e)throw new Error("callback already pending");this.cancel()}this._callback=e,this._timeoutId=setTimeout((function(){try{null!=e&&e()}finally{t.cancel()}}),this._current)}return this._current},o.cancel=function(){this._callback=null,null!=this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=null)},t=e,(n=[{key:"fails",get:function(){return this._fails}},{key:"current",get:function(){return this._current}},{key:"pending",get:function(){return null!=this._timeoutId}}])&&r(t.prototype,n),i&&r(t,i),e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"upperCaseFirstChar",{enumerable:!0,get:function(){return r.upperCaseFirstChar}}),Object.defineProperty(t,"getAcronym",{enumerable:!0,get:function(){return r.getAcronym}}),Object.defineProperty(t,"cssValueToNumber",{enumerable:!0,get:function(){return r.cssValueToNumber}}),Object.defineProperty(t,"stripDiacritics",{enumerable:!0,get:function(){return r.stripDiacritics}});var r=n(1250)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeStreamKey=function(e){var t=e.split(":"),n=t[0];switch(n){case r.StreamTypes.GUILD:var i=t[0],o=t[1],a=t[2],s=t[3];return{streamType:i,guildId:o,channelId:a,ownerId:s};case r.StreamTypes.CALL:var u=t[0],l=t[1],c=t[2];return{streamType:u,channelId:l,ownerId:c};default:throw new Error("Unknown stream type "+n)}},t.encodeStreamKey=function(e){var t=e.streamType,n=e.guildId,i=e.channelId,o=e.ownerId;switch(t){case r.StreamTypes.GUILD:return[t,n,i,o].join(":");case r.StreamTypes.CALL:return[t,i,o].join(":");default:throw new Error("Unknown stream type "+t)}};var r=n(196)},function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.ExperimentTypes=t.ExperimentBuckets=void 0,t.ExperimentBuckets=r,function(e){e[e.NOT_ELIGIBLE=-1]="NOT_ELIGIBLE",e[e.CONTROL=0]="CONTROL",e[e.TREATMENT_1=1]="TREATMENT_1",e[e.TREATMENT_2=2]="TREATMENT_2",e[e.TREATMENT_3=3]="TREATMENT_3",e[e.TREATMENT_4=4]="TREATMENT_4",e[e.TREATMENT_5=5]="TREATMENT_5",e[e.TREATMENT_6=6]="TREATMENT_6",e[e.TREATMENT_7=7]="TREATMENT_7",e[e.TREATMENT_8=8]="TREATMENT_8",e[e.TREATMENT_9=9]="TREATMENT_9",e[e.TREATMENT_10=10]="TREATMENT_10",e[e.TREATMENT_11=11]="TREATMENT_11",e[e.TREATMENT_12=12]="TREATMENT_12",e[e.TREATMENT_13=13]="TREATMENT_13",e[e.TREATMENT_14=14]="TREATMENT_14",e[e.TREATMENT_15=15]="TREATMENT_15",e[e.TREATMENT_16=16]="TREATMENT_16",e[e.TREATMENT_17=17]="TREATMENT_17",e[e.TREATMENT_18=18]="TREATMENT_18",e[e.TREATMENT_19=19]="TREATMENT_19",e[e.TREATMENT_20=20]="TREATMENT_20",e[e.TREATMENT_21=21]="TREATMENT_21",e[e.TREATMENT_22=22]="TREATMENT_22",e[e.TREATMENT_23=23]="TREATMENT_23",e[e.TREATMENT_24=24]="TREATMENT_24",e[e.TREATMENT_25=25]="TREATMENT_25"}(r||(t.ExperimentBuckets=r={})),t.ExperimentTypes=i,function(e){e.NONE_LEGACY="none",e.GUILD="guild",e.USER="user"}(i||(t.ExperimentTypes=i={}))},function(e,t,n){"use strict";var r=n(911),i=n(1529);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=T,t.resolve=function(e,t){return T(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?T(e,!1,!0).resolveObject(t):t},t.format=function(e){i.isString(e)&&(e=T(e));return e instanceof o?e.format():o.prototype.format.call(e)},t.Url=o;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(l),d=["%","/","?",";","#"].concat(c),f=["/","?","#"],_=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,E={javascript:!0,"javascript:":!0},h={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(137);function T(e,t,n){if(e&&i.isObject(e)&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),s=-1!==o&&o<e.indexOf("#")?"?":"#",l=e.split(s);l[0]=l[0].replace(/\\/g,"/");var T=e=l.join(s);if(T=T.trim(),!n&&1===e.split("#").length){var g=u.exec(T);if(g)return this.path=T,this.href=T,this.pathname=g[1],g[2]?(this.search=g[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var I=a.exec(T);if(I){var S=(I=I[0]).toLowerCase();this.protocol=S,T=T.substr(I.length)}if(n||I||T.match(/^\/\/[^@\/]+@[^@\/]+/)){var y="//"===T.substr(0,2);!y||I&&h[I]||(T=T.substr(2),this.slashes=!0)}if(!h[I]&&(y||I&&!m[I])){for(var A,O,N=-1,R=0;R<f.length;R++){-1!==(b=T.indexOf(f[R]))&&(-1===N||b<N)&&(N=b)}-1!==(O=-1===N?T.lastIndexOf("@"):T.lastIndexOf("@",N))&&(A=T.slice(0,O),T=T.slice(O+1),this.auth=decodeURIComponent(A)),N=-1;for(R=0;R<d.length;R++){var b;-1!==(b=T.indexOf(d[R]))&&(-1===N||b<N)&&(N=b)}-1===N&&(N=T.length),this.host=T.slice(0,N),T=T.slice(N),this.parseHost(),this.hostname=this.hostname||"";var L="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!L)for(var D=this.hostname.split(/\./),C=(R=0,D.length);R<C;R++){var M=D[R];if(M&&!M.match(_)){for(var P="",w=0,U=M.length;w<U;w++)M.charCodeAt(w)>127?P+="x":P+=M[w];if(!P.match(_)){var k=D.slice(0,R),G=D.slice(R+1),Y=M.match(p);Y&&(k.push(Y[1]),G.unshift(Y[2])),G.length&&(T="/"+G.join(".")+T),this.hostname=k.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),L||(this.hostname=r.toASCII(this.hostname));var x=this.port?":"+this.port:"",V=this.hostname||"";this.host=V+x,this.href+=this.host,L&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==T[0]&&(T="/"+T))}if(!E[S])for(R=0,C=c.length;R<C;R++){var H=c[R];if(-1!==T.indexOf(H)){var F=encodeURIComponent(H);F===H&&(F=escape(H)),T=T.split(H).join(F)}}var B=T.indexOf("#");-1!==B&&(this.hash=T.substr(B),T=T.slice(0,B));var j=T.indexOf("?");if(-1!==j?(this.search=T.substr(j),this.query=T.substr(j+1),t&&(this.query=v.parse(this.query)),T=T.slice(0,j)):t&&(this.search="",this.query={}),T&&(this.pathname=T),m[S]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){x=this.pathname||"";var W=this.search||"";this.path=x+W}return this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,a="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(a=v.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||m[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),t+o+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+r},o.prototype.resolve=function(e){return this.resolveObject(T(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(i.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,r=Object.keys(this),a=0;a<r.length;a++){var s=r[a];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var u=Object.keys(e),l=0;l<u.length;l++){var c=u[l];"protocol"!==c&&(n[c]=e[c])}return m[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!m[e.protocol]){for(var d=Object.keys(e),f=0;f<d.length;f++){var _=d[f];n[_]=e[_]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||h[e.protocol])n.pathname=e.pathname;else{for(var p=(e.pathname||"").split("/");p.length&&!(e.host=p.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),n.pathname=p.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var E=n.pathname||"",v=n.search||"";n.path=E+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var T=n.pathname&&"/"===n.pathname.charAt(0),g=e.host||e.pathname&&"/"===e.pathname.charAt(0),I=g||T||n.host&&e.pathname,S=I,y=n.pathname&&n.pathname.split("/")||[],A=(p=e.pathname&&e.pathname.split("/")||[],n.protocol&&!m[n.protocol]);if(A&&(n.hostname="",n.port=null,n.host&&(""===y[0]?y[0]=n.host:y.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),I=I&&(""===p[0]||""===y[0])),g)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,y=p;else if(p.length)y||(y=[]),y.pop(),y=y.concat(p),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(A)n.hostname=n.host=y.shift(),(L=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=L.shift(),n.host=n.hostname=L.shift());return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!y.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var O=y.slice(-1)[0],N=(n.host||e.host||y.length>1)&&("."===O||".."===O)||""===O,R=0,b=y.length;b>=0;b--)"."===(O=y[b])?y.splice(b,1):".."===O?(y.splice(b,1),R++):R&&(y.splice(b,1),R--);if(!I&&!S)for(;R--;R)y.unshift("..");!I||""===y[0]||y[0]&&"/"===y[0].charAt(0)||y.unshift(""),N&&"/"!==y.join("/").substr(-1)&&y.push("");var L,D=""===y[0]||y[0]&&"/"===y[0].charAt(0);A&&(n.hostname=n.host=D?"":y.length?y.shift():"",(L=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=L.shift(),n.host=n.hostname=L.shift()));return(I=I||n.host&&y.length)&&!D&&y.unshift(""),y.length?n.pathname=y.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){var r=n(82);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(82),i=n(25)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var r=n(20),i=n(73),o=n(25)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var i=function(e){var t,n;function i(){var t;return(t=e.call(this)||this)._children=[],t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n);var o=i.prototype;return o.__addChild=function(e){0===this._children.length&&this.__attach(),this._children.push(e)},o.__removeChild=function(e){var t=this._children.indexOf(e);-1!==t?(this._children.splice(t,1),0===this._children.length&&this.__detach()):console.warn("Trying to remove a child that doesn't exist")},o.__getChildren=function(){return this._children},i}(n(102));e.exports=i},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TooltipPositions",{enumerable:!0,get:function(){return _.Positions}}),t.TooltipContainer=t.default=t.TooltipLayer=t.TooltipColors=void 0;var r,i,o,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),s=h(n(9)),u=h(n(67)),l=n(122),c=n(57),d=n(123),f=h(n(105)),_=n(250),p=n(165),E=h(n(5729));function h(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(){return(T=Object.assign||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}).apply(this,arguments)}function g(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 I(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}t.TooltipColors=o,function(e){e.PRIMARY="primary",e.BLACK="black",e.GREY="grey",e.BRAND="brand",e.GREEN="green",e.YELLOW="yellow",e.RED="red"}(o||(t.TooltipColors=o={}));var S=Object.freeze({}),y=Object.freeze(((r={})[_.Positions.TOP]=E.default.tooltipTop,r[_.Positions.BOTTOM]=E.default.tooltipBottom,r[_.Positions.LEFT]=E.default.tooltipLeft,r[_.Positions.RIGHT]=E.default.tooltipRight,r[_.Positions.CENTER]=E.default.tooltipCenter,r[o.PRIMARY]=E.default.tooltipPrimary,r[o.BLACK]=E.default.tooltipBlack,r[o.GREY]=E.default.tooltipGrey,r[o.BRAND]=E.default.tooltipBrand,r[o.GREEN]=E.default.tooltipGreen,r[o.YELLOW]=E.default.tooltipYellow,r[o.RED]=E.default.tooltipRed,r)),A=function(e){var t=e.targetElementRef,n=e.position,r=e.color,i=e.children,o=e.tooltipClassName,a=e.tooltipContentClassName,u=e.spacing,c=void 0===u?8:u,d=e.animationStyle,f=e.disableTooltipPointerEvents,h=void 0!==f&&f,m=e.allowOverflow,v=void 0!==m&&m,T=("string"==typeof i?i:"")+":"+n;return I(p.AppReferencePositionLayer,{disablePointerEvents:h,reference:t,position:n,autoInvert:!0,align:_.Align.CENTER,positionKey:T,spacing:c},void 0,(function(e){var t,u,c=e.position;return I(l.animated.div,{className:(0,s.default)(E.default.tooltip,y[null!=c?c:n],y[r],(t={},t[E.default.tooltipDisablePointerEvents]=h,t),o),style:d},void 0,I("div",{className:E.default.tooltipPointer}),I("div",{className:(0,s.default)(E.default.tooltipContent,(u={},u[E.default.tooltipContentAllowOverflow]=v,u),a)},void 0,i))}))};t.TooltipLayer=A,A.displayName="TooltipLayer";var O={scale:.95,opacity:0},N={scale:1,opacity:0},R={scale:1,opacity:1},b={tension:2400,friction:52},L=function(e){var t=e.isVisible,n=e.onAnimationRest,r=e.targetElementRef,i=g(e,["isVisible","onAnimationRest","targetElementRef"]),o=a.useContext(d.AccessibilityPreferencesContext).reducedMotion;return(0,l.useTransition)(t,{keys:function(e){return e?"tooltip":"empty"},config:b,from:o.enabled?N:O,enter:R,leave:o.enabled?N:O,onRest:n})((function(e,t){return t?a.createElement(A,T({animationStyle:e,targetElementRef:r},i)):null}))},D=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).showTimeout=new c.Timeout,t.domElementRef=a.createRef(),t.hasDomElement=!1,t.state={shouldShowTooltip:!1},t.handleMouseEnter=function(){t.show()},t.handleMouseLeave=function(){t.hide()},t.handleFocus=function(){f.default.keyboardModeEnabled&&t.show()},t.handleBlur=function(){t.hide()},t.handleClick=function(){t.props.hideOnClick&&t.hide()},t.handleContextMenu=function(){t.hide()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n),r.getDerivedStateFromProps=function(e,t){return t.shouldShowTooltip&&null==e.text?{shouldShowTooltip:!1}:null};var i=r.prototype;return i.componentDidMount=function(){this.shouldShowTooltip(this.props,this.state)&&this.setDomElement()},i.componentDidUpdate=function(e,t){var n=this.shouldShowTooltip(this.props,this.state);n!==this.shouldShowTooltip(e,t)&&(n?this.setDomElement():this.hasDomElement=!1)},i.setDomElement=function(){var e=u.default.findDOMNode(this);if(null==e||1!==e.nodeType)throw new Error("Tooltip cannot find DOM node");this.domElementRef.current=e,this.hasDomElement=!0,this.forceUpdate()},i.componentWillUnmount=function(){this.showTimeout.stop(),this.domElementRef.current=null},i.render=function(){var e,t=this.props,n=t.children,r=t.text,i=t["aria-label"];return null==r?n(S):("string"==typeof i?e=i:"string"==typeof r&&!1!==i&&(e=r),I(a.Fragment,{},void 0,n({onClick:this.handleClick,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onContextMenu:this.handleContextMenu,onFocus:this.handleFocus,onBlur:this.handleBlur,"aria-label":e}),this.renderTooltip()))},i.shouldShowTooltip=function(e,t){return e.shouldShow&&(t.shouldShowTooltip||e.forceOpen)},i.renderTooltip=function(){var e=this.props,t=e.text,n=e.position,r=e.color,i=e.spacing,o=e.tooltipClassName,a=e.tooltipContentClassName,s=e.disableTooltipPointerEvents,u=e.onAnimationRest,l=e.allowOverflow;return I(L,{disableTooltipPointerEvents:s,targetElementRef:this.domElementRef,tooltipClassName:o,tooltipContentClassName:a,position:n,color:r,spacing:i,isVisible:this.shouldShowTooltip(this.props,this.state)&&this.hasDomElement,onAnimationRest:u,allowOverflow:l},void 0,t)},i.show=function(){var e=this,t=this.props.delay;null!=t?this.showTimeout.start(t,(function(){return e.toggleShow(!0)}),!1):this.toggleShow(!0)},i.hide=function(){this.showTimeout.stop(),this.toggleShow(!1)},i.toggleShow=function(e){this.state.shouldShowTooltip!==e&&this.setState({shouldShowTooltip:e})},r}(a.Component);t.default=D,D.displayName="Tooltip",D.Positions=_.Positions,D.Colors=o,D.defaultProps={disableTooltipPointerEvents:!0,hideOnClick:!0,position:_.Positions.TOP,color:o.PRIMARY,forceOpen:!1,spacing:8,shouldShow:!0,allowOverflow:!1};var C=function(e){var t=e.children,n=e.className,r=e.element,i=void 0===r?"div":r,o=g(e,["children","className","element"]);return a.createElement(D,o,(function(e){return a.createElement(i,null!=n?T({},e,{className:n}):e,t)}))};t.TooltipContainer=C,C.displayName="TooltipContainer"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultAvatarURL=_,t.getUserAvatarURL=p,t.getGuildMemberAvatarURLSimple=E,t.getGuildMemberAvatarURL=h,t.getGuildMemberAvatarSource=m,t.getUserBannerURL=v,t.getGuildTemplateIconURL=y,t.hasAnimatedGuildIcon=R,t.hasAnimatedUserBanner=b,t.isAnimatedIconHash=L,t.makeSource=D,t.default=t.DEFAULT_GROUP_DM_AVATARS=t.DEFAULT_AVATARS=void 0;var r,i=l(n(137)),o=l(n(757)),a=l(n(16)),s=n(193),u=n(1);function l(e){return e&&e.__esModule?e:{default:e}}var c=(r=n(1349).default).DEFAULT_AVATARS;t.DEFAULT_AVATARS=c;var d=r.DEFAULT_GROUP_DM_AVATARS;function f(e){var t=e.endpoint,n=e.path,r=e.id,o=e.hash,u=e.size,l=e.canAnimate,c=void 0!==l&&l,d=e.keepAspectRatio,f=c&&L(o)?"gif":"jpg";if(null!=o){var _,p=window.GLOBAL_ENV.CDN_HOST;null!=p?("jpg"===f&&(f=a.default.isDesktop()?"webp":"png"),_=location.protocol+"//"+p+"/"+n+"/"+r+"/"+o+"."+f):_=location.protocol+window.GLOBAL_ENV.API_ENDPOINT+t(r,o,f);var E={};return null!=u&&(E.size=(0,s.calculateSize)(u)),null!=d&&(E.keep_aspect_ratio=d),_+"?"+i.default.stringify(E)}}function _(e){var t=null!=e&&parseInt(e)||0;return c[t%c.length]}function p(e,t,n){var i=e.id,o=e.avatar,a=e.discriminator,s=e.bot;if(void 0===t&&(t=!1),void 0===n&&(n=u.AVATAR_SIZE),s){var l=r.BOT_AVATARS[o];if(l)return l}return f({endpoint:u.Endpoints.AVATAR,path:"avatars",id:i,hash:o,size:n,canAnimate:t})||_(a)}function E(e){var t,n=e.guildId,r=e.userId,o=e.avatar,l=e.canAnimate,c=void 0!==l&&l&&L(o)?"gif":"jpg",d=window.GLOBAL_ENV.CDN_HOST;return null!=d?("jpg"===c&&(c=a.default.isDesktop()?"webp":"png"),t=location.protocol+"//"+d+u.Endpoints.GUILD_MEMBER_AVATAR(n,r,o,c)):t=location.protocol+window.GLOBAL_ENV.API_ENDPOINT+u.Endpoints.GUILD_MEMBER_AVATAR(n,r,o,c),t+"?"+i.default.stringify({size:(0,s.calculateSize)(u.AVATAR_SIZE)})}function h(e,t){var n=e.userId,r=e.guildMemberAvatar,i=e.guildId;return void 0===t&&(t=!1),null==r?null:E({userId:n,avatar:r,guildId:i,canAnimate:t})}function m(e,t,n){void 0===n&&(n=!1);var r=h(e,n);return null!=r?D(r):t.getAvatarSource(e.guildId,n)}function v(e,t){var n=e.id,r=e.banner;if(void 0===t&&(t=!1),null!=r){var i,o=(0,s.getBestMediaProxySize)(480),a=window.GLOBAL_ENV.CDN_HOST,l=t&&L(r)?"gif":"png";return i=null!=a?location.protocol+"//"+a+"/banners/"+n+"/"+r+"."+l:location.protocol+window.GLOBAL_ENV.API_ENDPOINT+u.Endpoints.USER_BANNER(n,r,l),i+="?size="+o}}function T(e){var t=e.id,n=e.splash,r=e.size;if(null==n)return null;null==r&&(r=window.screen.width*(0,s.getDevicePixelRatio)()),r=(0,s.getBestMediaProxySize)(r);var i,o=window.GLOBAL_ENV.CDN_HOST;return i=null!=o?location.protocol+"//"+o+"/splashes/"+t+"/"+n+".jpg":location.protocol+window.GLOBAL_ENV.API_ENDPOINT+u.Endpoints.GUILD_SPLASH(t,n),i+="?size="+r}function g(e){var t=e.id,n=e.banner;if(null==n)return null;var r,i=(0,s.getBestMediaProxySize)(480),o=window.GLOBAL_ENV.CDN_HOST;return r=null!=o?location.protocol+"//"+o+"/banners/"+t+"/"+n+".jpg":location.protocol+window.GLOBAL_ENV.API_ENDPOINT+u.Endpoints.GUILD_BANNER(t,n),r+="?size="+i}function I(e){var t=e.id,n=e.splash,r=e.size;if(null==n)return null;null==r&&(r=window.screen.width*(0,s.getDevicePixelRatio)()),r=(0,s.getBestMediaProxySize)(r);var i,o=window.GLOBAL_ENV.CDN_HOST;return i=null!=o?location.protocol+"//"+o+"/discovery-splashes/"+t+"/"+n+".jpg":location.protocol+window.GLOBAL_ENV.API_ENDPOINT+u.Endpoints.GUILD_DISCOVERY_SPLASH(t,n),i+="?size="+r}function S(e){var t=e.id,n=e.icon,r=e.size,i=void 0===r?u.AVATAR_SIZE:r,o=e.canAnimate,a=void 0!==o&&o;return f({endpoint:u.Endpoints.GUILD_ICON,path:"icons",id:t,hash:n,size:i,canAnimate:a})}function y(e){var t=e.id,n=e.icon,r=e.size,i=void 0===r?u.AVATAR_SIZE:r,o=e.canAnimate,a=void 0!==o&&o;return f({endpoint:u.Endpoints.GUILD_TEMPLATE_ICON,path:"guild-templates",id:t,hash:n,size:i,canAnimate:a})}function A(e){var t=e.id,n=e.icon,r=e.size,i=void 0===r?u.AVATAR_SIZE:r,o=e.bot;return n?f({endpoint:u.Endpoints.APPLICATION_ICON,path:"app-icons",id:t,hash:n,size:i,canAnimate:!1}):p({id:t,avatar:null==o?void 0:o.avatar,discriminator:"0",bot:!0},!1,i)}function O(e){var t=e.id,n=e.hash,r=e.size,i=void 0===r?u.AVATAR_SIZE:r,o=e.keepAspectRatio,a=void 0!==o&&o;return f({endpoint:u.Endpoints.APPLICATION_ICON,path:"app-icons",id:t,hash:n,size:i,canAnimate:!1,keepAspectRatio:a})}function N(e){var t=e.id,n=e.icon,i=e.applicationId;return i?A({id:i,icon:n})||r.DEFAULT_CHANNEL_ICON:f({endpoint:u.Endpoints.CHANNEL_ICON,path:"channel-icons",id:t,hash:n,canAnimate:!1})||function(e){return r.DEFAULT_GROUP_DM_AVATARS[o.default.extractTimestamp(e)%r.DEFAULT_GROUP_DM_AVATARS.length]}(t)}function R(e){return L(null==e?void 0:e.icon)}function b(e){return L(e.banner)}function L(e){return null!=e&&e.startsWith("a_")}function D(e){return"number"==typeof e?e:{uri:e}}t.DEFAULT_GROUP_DM_AVATARS=d;var C={getUserAvatarURL:p,getDefaultAvatarURL:_,getGuildMemberAvatarURL:h,getGuildMemberAvatarURLSimple:E,getGuildMemberAvatarSource:m,getUserBannerURL:v,hasAnimatedGuildIcon:R,hasAnimatedUserBanner:b,isAnimatedIconHash:L,getUserAvatarSource:function(e,t){return D(p(e,t))},getUserAvatarColor:function(e){var t=e.discriminator;switch(parseInt(t)%r.DEFAULT_AVATARS.length){case 0:return u.Colors.BRAND;case 1:return u.UNSAFE_Colors.AVATAR_GREY;case 2:return u.Colors.STATUS_GREEN_600;case 3:return u.Colors.STATUS_YELLOW;case 4:return u.Colors.STATUS_RED;default:return u.Colors.WHITE}},getGuildIconURL:S,getGuildSplashURL:T,getGuildSplashSource:function(e){return D(T(e))},getGuildDiscoverySplashURL:I,getGuildDiscoverySplashSource:function(e){return D(I(e))},getGuildBannerURL:g,getGuildTemplateIconURL:y,getChannelIconURL:N,getEmojiURL:function(e){var t=e.id,n=e.animated;return window.GLOBAL_ENV.CDN_HOST?location.protocol+"//"+window.GLOBAL_ENV.CDN_HOST+"/emojis/"+t+"."+(n?"gif":"png")+"?v=1":location.protocol+window.GLOBAL_ENV.API_ENDPOINT+u.Endpoints.EMOJI(t,n?"gif":"png")},getApplicationIconURL:A,getGameAssetURL:O,getGameAssetSource:function(e){return D(O(e))},getGuildIconSource:function(e){return D(S(e))},getGuildTemplateIconSource:function(e){return D(y(e))},getGuildBannerSource:function(e){return D(g(e))},getChannelIconSource:function(e){return D(N(e))},getApplicationIconSource:function(e){return D(A(e))},makeSource:D};t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SpinnerTypes=void 0;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=c(n(9)),s=n(123),u=n(252),l=c(n(5717));function c(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}function _(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}t.SpinnerTypes=i,function(e){e.WANDERING_CUBES="wanderingCubes",e.CHASING_DOTS="chasingDots",e.PULSING_ELLIPSIS="pulsingEllipsis",e.SPINNING_CIRCLE="spinningCircle",e.LOW_MOTION="lowMotion"}(i||(t.SpinnerTypes=i={}));var p=function(e){var t,n,r=e.type,c=void 0===r?i.WANDERING_CUBES:r,d=e.animated,p=void 0===d||d,E=e.className,h=e.itemClassName,m=function(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}(e,["type","animated","className","itemClassName"]),v=o.useContext(s.AccessibilityPreferencesContext).reducedMotion.enabled?function(e){switch(e){case i.WANDERING_CUBES:case i.CHASING_DOTS:return i.LOW_MOTION;default:return e}}(c):c;if(v===i.SPINNING_CIRCLE)return o.createElement("div",f({className:(0,a.default)(l.default.spinner,l.default[v],E,(n={},n[l.default.stopAnimation]=!p,n))},m),_("div",{className:l.default.spinningCircleInner},void 0,_("svg",{className:l.default.circular,viewBox:"25 25 50 50"},void 0,_("circle",{className:(0,a.default)(l.default.path,l.default.path3,h),cx:"50",cy:"50",r:"20"}),_("circle",{className:(0,a.default)(l.default.path,l.default.path2,h),cx:"50",cy:"50",r:"20"}),_("circle",{className:(0,a.default)(l.default.path,h),cx:"50",cy:"50",r:"20"}))));var T=(0,a.default)((0,u.getClass)(l.default,v,"item"),h);return o.createElement("span",f({className:(0,a.default)(l.default.spinner,E,(t={},t[l.default.stopAnimation]=!p,t))},m),_("span",{className:(0,a.default)(l.default.inner,l.default[v])},void 0,_("span",{className:T}),_("span",{className:T}),v===i.PULSING_ELLIPSIS||v===i.LOW_MOTION?_("span",{className:T}):null))};p.displayName="Spinner",p.Type=i;var E=p;t.default=E},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Error=T,t.default=t.TextInputSizes=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),a=n(122),s=f(n(763)),u=f(n(88)),l=n(252),c=f(n(24)),d=f(n(1244));function f(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(){return(h=Object.assign||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}).apply(this,arguments)}function m(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}var v={DEFAULT:"default",MINI:"mini"};function T(e){var t=e.error,n=(0,a.useTransition)(t,{config:{tension:250,clamp:!0},from:{marginTop:0,height:0,opacity:0,transform:"translate3d(0, -100%, 0)"},enter:{marginTop:4,height:"auto",opacity:1,transform:"translate3d(0, -0px, 0)"},leave:{marginTop:0,height:0,opacity:0,transform:"translate3d(0, -100%, 0)"}}),r=(0,s.default)(t);return i.createElement(i.Fragment,null,n((function(e,n,i){var o=i.key,s=e.transform,u=m(e,["transform"]);return n&&E(a.animated.div,{style:h({},u,{overflow:"hidden"})},o,E(a.animated.div,{style:{transform:s}},void 0,E(c.default,{color:c.default.Colors.ERROR,size:c.default.Sizes.SIZE_12},void 0,t||r)))})))}t.TextInputSizes=v;var g=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).onChange=function(e){t.props.onChange&&t.props.onChange(e.currentTarget.value,t.props.name)},t.onFocus=function(e){t.props.onFocus&&t.props.onFocus(e,t.props.name)},t.onBlur=function(e){t.props.onBlur&&t.props.onBlur(e,t.props.name)},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n),r.prototype.render=function(){var e,t=this.props,n=t.error,r=t.className,a=t.inputClassName,s=t.inputPrefix,c=t.disabled,f=t.size,_=t.editable,p=t.inputRef,v=t.prefixElement,g=t.focusProps,I=m(t,["error","className","inputClassName","inputPrefix","disabled","size","editable","inputRef","prefixElement","focusProps"]);return E("div",{className:(0,o.default)(d.default.inputWrapper,r)},void 0,null!=v&&v,s?E("span",{className:d.default.inputPrefix},void 0,s):null,i.createElement(u.default,g,i.createElement("input",h({className:(0,o.default)((0,l.getClass)(d.default,"input",f),a,(e={},e[d.default.error]=n,e[d.default.disabled]=c,e[d.default.editable]=_,e)),disabled:c},I,{onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,ref:p}))),E(T,{error:n}))},r}(i.PureComponent);g.displayName="TextInput",g.Sizes=v,g.defaultProps={name:"",size:v.DEFAULT,disabled:!1,type:"text",placeholder:"",autoFocus:!1,maxLength:999};var I=g;t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1354).default;t.default=r},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=m(n(8)),i=m(n(3)),o=m(n(2)),a=m(n(118)),s=m(n(1695)),u=n(443),l=n(263),c=n(136),d=m(n(16)),f=m(n(11)),_=m(n(405)),p=m(n(210)),E=m(n(120)),h=n(1);function m(e){return e&&e.__esModule?e:{default:e}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(){return(T=Object.assign||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}).apply(this,arguments)}function g(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return I(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return I(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var S={},y=!1,A=0,O=0,N=0,R=[],b=[],L=[],D=!1;function C(e){return e.type===h.LocalDispatchApplicationStates.INSTALLING||e.type===h.LocalDispatchApplicationStates.UPDATING||e.type===h.LocalDispatchApplicationStates.REPAIRING?e.networkProgress:null}function M(e){return e.type===h.LocalDispatchApplicationStates.INSTALLING||e.type===h.LocalDispatchApplicationStates.UPDATING||e.type===h.LocalDispatchApplicationStates.REPAIRING?e.diskProgress:null}function P(e){return e.type===h.LocalDispatchApplicationStates.INSTALLING||e.type===h.LocalDispatchApplicationStates.UPDATING||e.type===h.LocalDispatchApplicationStates.REPAIRING?e.readerProgress:null}var w=r.default.throttle((function(e){b=(b=[{bytes:e,timestamp:Date.now()}].concat(b)).slice(0,200)}),200),U=r.default.throttle((function(e){var t=Date.now(),n=t-6e4;R=(R=[{bytes:e,timestamp:t}].concat(R)).slice(0,200).filter((function(e){return e.timestamp>=n}))}),200),k=r.default.throttle((function(e){L=(L=[{bytes:e,timestamp:Date.now()}].concat(L)).slice(0,200)}),200);function G(e,t,n){var r=n(S[t]),i=n(e[t]);return null!=r&&null!=i&&0!==r?Math.max(i-r,0):0}var Y=new(function(t){var n,r;function i(){return t.apply(this,arguments)||this}r=t,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,v(n,r);var o=i.prototype;return o.initialize=function(){this.waitFor(f.default)},o.getState=function(e,t){var n=(0,c.getComboId)(e,t);return S[n]},o.isUpToDate=function(e,t){var n=S[(0,c.getComboId)(e,t)];return null!=n&&n.type===h.LocalDispatchApplicationStates.UP_TO_DATE},o.shouldPatch=function(e,t){var n=S[(0,c.getComboId)(e,t)];return null!=n&&!0===n.shouldPatch},o.isInstalled=function(e,t){var n=S[(0,c.getComboId)(e,t)];return null!=n?n.type!==h.LocalDispatchApplicationStates.UNINSTALLING:p.default.shouldBeInstalled(e,t)},o.supportsCloudSync=function(e,t){null==t&&(t=e);var n=S[(0,c.getComboId)(e,t)];return null!=n&&(null!=n.storage&&Boolean(n.storage.sync))},o.isLaunchable=function(e,t){if(!(0,l.isSupportedPlatform)())return!1;var n=S[(0,c.getComboId)(e,t)];return null!=n&&(n.type===h.LocalDispatchApplicationStates.UP_TO_DATE&&null!=n.launchOptions&&0!==n.launchOptions.length)},o.getDefaultLaunchOption=function(e,t){var n=S[(0,c.getComboId)(e,t)];if(null==n)return null;var r=n.defaultLaunchOptionId,i=n.launchOptions;return null==r||null==i?null:i[r]},o.getLaunchOptions=function(e,t){var n=S[(0,c.getComboId)(e,t)];return null==n||null==n.launchOptions?[]:Object.values(n.launchOptions)},o.getHistoricalTotalBytesRead=function(){return R},o.getHistoricalTotalBytesDownloaded=function(){return b},o.getHistoricalTotalBytesWritten=function(){return L},o.whenInitialized=function(t){this.addConditionalChangeListener((function(){if(y)return e(t),!1}))},i}(i.default.Store))(o.default,{CONNECTION_OPEN:function(e){y=!1},DISPATCH_APPLICATION_STATE_UPDATE:function(e){var t=e.state;y=!0;var n={},i=t.applications,l=null!=t.currentTask?t.currentTask.branchId:null,f=!1,m=function(e){var t=function(t){var m=(0,c.getComboId)(e,t);if(n[m]=function(e){var t=e.build_id,n=e.target_build_id,i=e.manifest_ids,o=e.target_manifest_ids,s=e.application_id,l=e.branch_id,c=e.launch_commands,f=e.launch_options,_=e.storage,p=e.install_path,E=e.installed_size,m=e.repairing,v=e.should_patch;switch(null==v&&(v=!0),e.state.type){case h.DispatchApplicationStates.COMPLETE:var I,S={},y=null;if(m)I=h.LocalDispatchApplicationStates.REPAIRING;else if(null==t)I=h.LocalDispatchApplicationStates.INSTALL_REQUIRED;else if(v&&(t!==n||null!=i&&0!==r.default.difference(i,o).length))I=h.LocalDispatchApplicationStates.UPDATE_REQUIRED;else if(I=h.LocalDispatchApplicationStates.UP_TO_DATE,null!=p){var A=a.default.fileManager.join(p,"content"),O=(0,u.getBuildPlatform)();if(null!=f&&0!==f.length){O!==h.BuildPlatformTypes.WIN64||function(e,t){return t.some((function(t){return t.platforms.includes(e)}))}(O,f)||(O=h.BuildPlatformTypes.WIN32);for(var N,R=g(f);!(N=R()).done;){var b=N.value;if(b.platforms.includes(O)){var L=b.executable,D=b.name,C=b.working_dir,M=D,P=a.default.fileManager.join(A,L);d.default.isOSX()&&(P.startsWith("file://")||(P="file://"+P));var w=void 0;w=null!=C?a.default.fileManager.join(A,C):a.default.fileManager.dirname(P),S[M]=T({},b,{id:M,fullExecutablePath:P,fullWorkingDir:w}),null==y&&(y=M)}}}else if(null!=c){O===h.BuildPlatformTypes.WIN64&&null==c[O]&&(O=h.BuildPlatformTypes.WIN32);var U=c[O];if(null!=U){var k=U.executable;S.Default=T({},U,{name:"Default",id:"Default",fullExecutablePath:a.default.fileManager.join(A,k),fullWorkingDir:A,platforms:[O]}),y="Default"}}}return{type:I,applicationId:s,branchId:l,buildId:t,manifestIds:i,targetBuildId:n,targetManifestIds:o,installPath:p,installedSize:E,launchOptions:S,defaultLaunchOptionId:y,shouldPatch:v,storage:_};case h.DispatchApplicationStates.TRANSITION:var G=e.state,Y=G.stage,x=G.disk_progress,V=G.network_progress,H=G.reader_progress,F=G.progress,B=G.total,j=G.paused,W=Y.type;return{type:W===h.DispatchApplicationStages.UNINSTALLING?h.LocalDispatchApplicationStates.UNINSTALLING:m?h.LocalDispatchApplicationStates.REPAIRING:null==t?h.LocalDispatchApplicationStates.INSTALLING:h.LocalDispatchApplicationStates.UPDATING,stage:W,applicationId:s,branchId:l,buildId:t,manifestIds:i,targetBuildId:n,targetManifestIds:o,installPath:p,installedSize:E,diskProgress:x,networkProgress:V,readerProgress:H,progress:F,total:B,paused:j,shouldPatch:v}}throw new Error("Invalid Dispatch State. state="+e.state.type)}(i[e][t]),null!=S[m]){var v=G(n,m,C);v>0&&w(A+=v);var I=G(n,m,M);I>0&&k(O+=I);var y=G(n,m,P);if(y>0&&U(N+=y),l===t){var R=n[m];if(!0!==R.paused&&(R.type===h.LocalDispatchApplicationStates.UNINSTALLING||R.type===h.LocalDispatchApplicationStates.INSTALLING||R.type===h.LocalDispatchApplicationStates.UPDATING))switch(R.stage){case h.DispatchApplicationStages.PATCHING:case h.DispatchApplicationStages.FINALIZING:case h.DispatchApplicationStages.VERIFYING:case h.DispatchApplicationStages.REPAIRING:case h.DispatchApplicationStages.POST_INSTALL_SCRIPTS:s.default.setProgress(h.ProgressBarIDs.DISPATCH_APPLICATION_PROGRESS,(0,c.calculateProgressPercentage)(R.progress,R.total)/100),f=!0}}}if(!D){var b=a.default.fileManager.dirname(n[m].installPath);p.default.getInstallationPath(e,t)!==b&&o.default.wait((function(){o.default.dispatch({type:h.ActionTypes.DISPATCH_APPLICATION_ADD_TO_INSTALLATIONS,applicationId:e,branchId:t,installationPath:b})})),-1===_.default.getQueuePosition(e,t)&&(n[m].type===h.LocalDispatchApplicationStates.INSTALLING||n[m].type===h.LocalDispatchApplicationStates.UPDATING)&&E.default.hasApplication(e,t)&&p.default.shouldBeInstalled(e,t)&&o.default.wait((function(){o.default.dispatch({type:h.ActionTypes.DISPATCH_APPLICATION_UPDATE,applicationId:e,branchId:t,automatic:!0})}))}};for(var m in i[e])t(m)};for(var v in i)m(v);f||s.default.taskID!==h.ProgressBarIDs.DISPATCH_APPLICATION_PROGRESS||s.default.clearProgress(h.ProgressBarIDs.DISPATCH_APPLICATION_PROGRESS),S=n,D=!0}});t.default=Y}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActivityPlatform=t.ActivityIntent=t.ActivityFeedbackReasons=t.GENERIC_EVENT_EMBEDDED_APPS=t.JOIN_TICKET_EMBEDDED_APPS=t.DISCORD_GAME_25_ID=t.DISCORD_GAME_24_ID=t.DISCORD_GAME_23_ID=t.DISCORD_GAME_22_ID=t.DISCORD_GAME_21_ID=t.DISCORD_GAME_20_ID=t.DISCORD_GAME_19_ID=t.DISCORD_GAME_18_ID=t.DISCORD_GAME_17_ID=t.DISCORD_GAME_16_ID=t.DISCORD_GAME_15_ID=t.DISCORD_GAME_14_ID=t.DISCORD_GAME_13_ID=t.DISCORD_GAME_12_ID=t.DISCORD_GAME_11_ID=t.DISCORD_GAME_10_ID=t.DISCORD_GAME_09_ID=t.DISCORD_GAME_08_ID=t.DISCORD_GAME_07_ID=t.DISCORD_GAME_06_ID=t.DISCORD_GAME_05_ID=t.DISCORD_GAME_04_ID=t.DISCORD_GAME_03_ID=t.DISCORD_GAME_02_ID=t.DISCORD_GAME_01_ID=t.CHESS_IN_THE_PARK_APPLICATION_ID=t.FISHINGTON_APPLICATION_ID=t.YOUTUBE_APPLICATION_ID=t.END_GAME_APPLICATION_ID=t.POKER_NIGHT_APPLICATION_ID=t.XBOX_ACTIVITY_APPLICATION_ID=t.validStreamURL=t.ACTIVITY_INVITE_COVER_IMAGE_SIZE=void 0;t.ACTIVITY_INVITE_COVER_IMAGE_SIZE=160;t.validStreamURL=/^https?:\/\/(?:www\.)?(twitch\.tv\/(.+)|youtube.com\/watch\?v=)/;t.XBOX_ACTIVITY_APPLICATION_ID="438122941302046720";t.POKER_NIGHT_APPLICATION_ID="755827207812677713";t.END_GAME_APPLICATION_ID="773336526917861400";t.YOUTUBE_APPLICATION_ID="755600276941176913";t.FISHINGTON_APPLICATION_ID="814288819477020702";t.CHESS_IN_THE_PARK_APPLICATION_ID="832012774040141894";t.DISCORD_GAME_01_ID="832012586023256104";t.DISCORD_GAME_02_ID="832012682520428625";t.DISCORD_GAME_03_ID="832012730599735326";t.DISCORD_GAME_04_ID="832012774040141894";t.DISCORD_GAME_05_ID="832012815819604009";t.DISCORD_GAME_06_ID="832012854282158180";t.DISCORD_GAME_07_ID="832012894068801636";t.DISCORD_GAME_08_ID="832012938398400562";t.DISCORD_GAME_09_ID="832013003968348200";t.DISCORD_GAME_10_ID="832013108234289153";t.DISCORD_GAME_11_ID="832025061657280566";t.DISCORD_GAME_12_ID="832025114077298718";t.DISCORD_GAME_13_ID="832025144389533716";t.DISCORD_GAME_14_ID="832025179659960360";t.DISCORD_GAME_15_ID="832025219526033439";t.DISCORD_GAME_16_ID="832025249335738428";t.DISCORD_GAME_17_ID="832025333930524692";t.DISCORD_GAME_18_ID="832025385159622656";t.DISCORD_GAME_19_ID="832025431280320532";t.DISCORD_GAME_20_ID="832025470685937707";t.DISCORD_GAME_21_ID="832025799590281238";t.DISCORD_GAME_22_ID="832025857525678142";t.DISCORD_GAME_23_ID="832025886030168105";t.DISCORD_GAME_24_ID="832025928938946590";t.DISCORD_GAME_25_ID="832025993019260929";var r=new Set(["755827207812677713"]);t.JOIN_TICKET_EMBEDDED_APPS=r;var i,o,a,s=new Set(["773336526917861400","814288819477020702","755827207812677713","755600276941176913","832012586023256104","832012682520428625","832012730599735326","832012774040141894","832012815819604009","832012854282158180","832012894068801636","832012938398400562","832013003968348200","832013108234289153","832025061657280566","832025114077298718","832025144389533716","832025179659960360","832025219526033439","832025249335738428","832025333930524692","832025385159622656","832025431280320532","832025470685937707","832025799590281238","832025857525678142","832025886030168105","832025928938946590","832025993019260929"]);t.GENERIC_EVENT_EMBEDDED_APPS=s,t.ActivityFeedbackReasons=i,function(e){e.FAILED_LOAD="FAILED_LOAD",e.LAGGING="LAGGING",e.CONFUSING="CONFUSING",e.NOT_FUN="NOT_FUN",e.OTHER="OTHER"}(i||(t.ActivityFeedbackReasons=i={})),t.ActivityIntent=o,function(e){e[e.PLAY=0]="PLAY",e[e.SPECTATE=1]="SPECTATE"}(o||(t.ActivityIntent=o={})),t.ActivityPlatform=a,function(e){e.DESKTOP="desktop",e.MOBILE="mobile"}(a||(t.ActivityPlatform=a={}))},function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.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)i(n,r)&&(e[r]=n[r])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var o={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,a;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(a=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)o=e[t],a.set(o,i),i+=o.length;return a}},a={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)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,o)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,a))},t.setTyped(r)},function(e,t,n){"use strict";n.d(t,"g",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"f",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"c",(function(){return d}));var r=n(46),i=function(){},o=function(e,t,n){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})},a={arr:Array.isArray,obj:function(e){return!!e&&"Object"===e.constructor.name},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e}};function s(e,t){if(a.arr(e)){if(!a.arr(t)||e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var u=function(e){return a.str(e)&&("#"==e[0]||/\d/.test(e)||!(!r.colorNames||!r.colorNames[e]))},l=function(e,t,n){a.fun(e.forEach)?e.forEach(t,n):Object.keys(e).forEach((function(r){return t.call(n,e[r],r)}))},c=function(e){return a.und(e)?[]:a.arr(e)?e:[e]};function d(e,t){if(e.size){var n=Array.from(e);e.clear(),l(n,t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Tags=void 0;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=l(n(9)),s=l(n(24)),u=l(n(5712));function l(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}t.Tags=i,function(e){e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.LABEL="label"}(i||(t.Tags=i={}));var _=function(e){var t,n=e.tag,r=void 0===n?i.H5:n,l=e.className,c=e.disabled,_=e.required,p=void 0!==_&&_,E=e.children,h=e.faded,m=e.error,v=function(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}(e,["tag","className","disabled","required","children","faded","error"]);return o.createElement(s.default,d({tag:r,className:(0,a.default)(u.default[r],v.color||r===i.H5?null:u.default.defaultColor,l,(t={},t[u.default["defaultMargin"+r]]=null==l,t[u.default.disabled]=c,t[u.default.faded]=h,t[u.default.error]=null!=m,t))},v),E,p&&null==m?f("span",{className:u.default.required},void 0,"*"):null,null!=m?f("span",{className:u.default.errorMessage},void 0,null!=E?f("span",{className:u.default.errorSeparator},void 0,"-"):null,m):null)};_.displayName="FormTitle",_.Tags=i;var p=_;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(3)),i=s(n(2)),o=s(n(13)),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d={enabled:!1,autoToggle:!0,hideInstantInvites:!0,hidePersonalInformation:!0,disableSounds:!0,disableNotifications:!0};function f(e,t){o.default.track(a.AnalyticEvents.STREAMER_MODE_TOGGLE,{enabled:e,automatic:t})}var _=new(function(e){var t,n,r,i,o;function a(){return e.apply(this,arguments)||this}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),a.prototype.getSettings=function(){var e=u({},d);for(var t in e)e[t]=this.get(t);return e},r=a,(i=[{key:"enabled",get:function(){return this.get("enabled")}},{key:"autoToggle",get:function(){return this.get("autoToggle")}},{key:"hideInstantInvites",get:function(){return this.enabled&&this.get("hideInstantInvites")}},{key:"hidePersonalInformation",get:function(){return this.enabled&&this.get("hidePersonalInformation")}},{key:"disableSounds",get:function(){return this.enabled&&this.get("disableSounds")}},{key:"disableNotifications",get:function(){return this.enabled&&this.get("disableNotifications")}}])&&l(r.prototype,i),o&&l(r,o),a}(r.default.CachedStore))(i.default,"StreamerModeStore",a.ActionTypes.STREAMER_MODE_UPDATE,d,(function(e,t){switch(t.type){case a.ActionTypes.STREAMER_MODE_UPDATE:return"enabled"===t.key?f(t.value,!1):o.default.track(a.AnalyticEvents.UPDATE_STREAMER_MODE_SETTINGS,{enabled:e.get("enabled"),automatic:e.get("autoToggle"),disable_notifications:e.get("disableNotifications"),disable_sounds:e.get("disableSounds"),hide_instant_invites:e.get("hideInstantInvites"),hide_personal_info:e.get("hidePersonalInformation")}),!1;case a.ActionTypes.RUNNING_STREAMER_TOOLS_CHANGE:if(e.get("autoToggle")){var n=t.count>0;return e.set("enabled",n),f(n,!0),!0}return!1;default:return!1}}));t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(3)),i=s(n(2)),o=s(n(16)),a=n(733);n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=(0,a.isFullScreen)(),c=o.default.hasFocus(),d={width:0,height:0};function f(){return{width:window.innerWidth,height:window.innerHeight}}function _(){var e=f();return(d.width!==e.width||d.height!==e.height)&&(d=e,!0)}_();var p=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var i=r.prototype;return i.initialize=function(){var e=this;d=f();(0,a.subscribeDocumentToFullScreenChange)(document,(function(){var t=(0,a.isFullScreen)();t!==l&&(l=t,e.emitChange())}))},i.isFocused=function(){return c},i.isElementFullScreen=function(){return l},i.windowSize=function(){return d},r}(r.default.Store))(i.default,{WINDOW_FOCUS:function(e){if(c===e.focused)return!1;c=e.focused},WINDOW_RESIZED:function(e){return _()}});t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(62)),i=u(n(150)),o=u(n(97)),a=n(139),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){var t,n;function r(t){var n,r,i;i=e.call(this)||this;var o=new Set(Array.from(t.features||[]));return i.id=t.id,i.name=t.name||"",i.description=t.description||null,i.ownerId=t.ownerId||null,i.icon=t.icon||null,i.splash=t.splash||null,i.banner=t.banner||null,i.features=o,i.preferredLocale=t.preferredLocale||"en-US",i.roles=t.roles||{},i.afkChannelId=t.afkChannelId||null,i.afkTimeout=t.afkTimeout,i.systemChannelId=t.systemChannelId||null,i.verificationLevel=t.verificationLevel||s.VerificationLevels.NONE,i.region=t.region,i.joinedAt=t.joinedAt,i.defaultMessageNotifications=t.defaultMessageNotifications||s.UserNotificationSettings.ALL_MESSAGES,i.mfaLevel=t.mfaLevel||s.MFALevels.NONE,i.application_id=t.application_id||null,i.explicitContentFilter=t.explicitContentFilter||s.GuildExplicitContentFilterTypes.DISABLED,i.vanityURLCode=t.vanityURLCode||null,i.premiumTier=t.premiumTier||s.PremiumGuildTiers.NONE,i.premiumSubscriberCount=t.premiumSubscriberCount||0,i.systemChannelFlags=t.systemChannelFlags,i.discoverySplash=t.discoverySplash||null,i.rulesChannelId=t.rulesChannelId||null,i.publicUpdatesChannelId=t.publicUpdatesChannelId||null,i.maxVideoChannelUsers=t.maxVideoChannelUsers||-1,i.maxMembers=t.maxMembers||-1,i.applicationCommandCount=null!==(n=t.applicationCommandCount)&&void 0!==n?n:0,i.nsfwLevel=null!==(r=t.nsfwLevel)&&void 0!==r?r:s.GuildNSFWContentLevel.DEFAULT,i}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var u,d,f,_=r.prototype;return _.getIconURL=function(e){return void 0===e&&(e=!1),i.default.getGuildIconURL({id:this.id,icon:this.icon,canAnimate:e})},_.getIconSource=function(e){return void 0===e&&(e=!1),i.default.getGuildIconSource({id:this.id,icon:this.icon,canAnimate:e})},_.getApplicationId=function(){return this.application_id},_.toString=function(){return this.name||""},_.isOwner=function(e){var t="string"==typeof e?e:null!=e?e.id:null;return this.ownerId===t},_.isOwnerWithRequiredMfaLevel=function(e){return!(!e.mfaEnabled&&this.mfaLevel===s.MFALevels.ELEVATED)&&this.isOwner(e)},_.isNew=function(e){void 0===e&&(e=7);var t=o.default.extractTimestamp(this.id);return Date.now()-t<864e5*e},_.isLurker=function(){return null==this.joinedAt},_.hasFeature=function(e){return this.features.has(e)},_.getRole=function(e){return this.roles[e]},_.getMaxEmojiSlots=function(){return Math.max(this.hasFeature(s.GuildFeatures.MORE_EMOJI)?s.EMOJI_MAX_SLOTS_MORE:s.EMOJI_MAX_SLOTS,s.PremiumGuildLimits[this.premiumTier].emoji)},u=r,(d=[{key:"acronym",get:function(){return(0,a.getAcronym)(this.name)}}])&&l(u.prototype,d),f&&l(u,f),r}(r.default);t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o,a,s=S(n(3)),u=S(n(2)),l=n(196),c=n(140),d=n(484),f=S(n(984)),_=S(n(11)),p=S(n(10)),E=S(n(15)),h=S(n(51)),m=S(n(40)),v=S(n(94)),T=S(n(79)),g=S(n(80)),I=n(1);function S(e){return e&&e.__esModule?e:{default:e}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(){return(A=Object.assign||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}).apply(this,arguments)}var O=null;function N(){r=new Map,i={},o={},a={}}function R(e){r.delete(e)}function b(e){var t=e.streamKey,n=e.region,i=e.viewerIds,a=e.paused;r.set(t,A({},(0,c.decodeStreamKey)(t),{state:a?I.ApplicationStreamStates.PAUSED:I.ApplicationStreamStates.ACTIVE})),o[t]={streamKey:t,region:n,viewerIds:i}}function L(e,t){return e===l.StreamTypes.CALL||m.default.canWithPartialContext(I.Permissions.VIEW_CHANNEL,{channelId:t})}N();var D=new(function(e){var t,n;function s(){return e.apply(this,arguments)||this}n=e,(t=s).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n);var u=s.prototype;return u.initialize=function(){this.syncWith([m.default],(function(){return!0})),this.waitFor(T.default,m.default)},u.getLastActiveStream=function(){var e;return(0,f.default)(h.default)&&null!==(e=Array.from(r.values()).pop())&&void 0!==e?e:null},u.getAllActiveStreams=function(){return(0,f.default)(h.default)?Array.from(r.values()):[]},u.getAllActiveStreamsForChannel=function(e){return(0,f.default)(h.default)?Array.from(r.values()).filter((function(t){return t.channelId===e})):[]},u.getActiveStreamForStreamKey=function(e){var t;return(0,f.default)(h.default)&&null!==(t=r.get(e))&&void 0!==t?t:null},u.getActiveStreamForApplicationStream=function(e){var t;if(!(0,f.default)(h.default)||null==e)return null;var n=(0,c.encodeStreamKey)(e);return null!==(t=this.getActiveStreamForStreamKey(n))&&void 0!==t?t:null},u.getActiveStreamForUser=function(e){var t,n=this.getStreamForUser(e);return null!=n?this.getActiveStreamForApplicationStream(n):null!==(t=this.getAllActiveStreams().find((function(t){return t.ownerId===e})))&&void 0!==t?t:null},u.getStreamerActiveStreamMetadata=function(){var e,t=this.getActiveStreamForUser(_.default.getId());return null==t?null:null!==(e=a[(0,c.encodeStreamKey)(t)])&&void 0!==e?e:null},u.getStreamForUser=function(e){if(!(0,f.default)(h.default))return null;var t=i[e];if(null==t)return null;var n=p.default.getChannel(t.channelId);return L(t.streamType,t.channelId)||null!=n&&(0,d.canWatchStream)(n,g.default,E.default,m.default)?t:null},u.getRTCStream=function(e){var t;return(0,f.default)(h.default)&&null!==(t=o[e])&&void 0!==t?t:null},u.getAllApplicationStreams=function(){return(0,f.default)(h.default)?Object.values(i).filter((function(e){return null!=e&&L(e.streamType,e.channelId)})):[]},u.getAllApplicationStreamsForChannel=function(e){return(0,f.default)(h.default)?Object.values(i).filter((function(t){return null!=t&&t.channelId===e&&L(t.streamType,t.channelId)})):[]},u.getViewerIds=function(e){if(!(0,f.default)(h.default))return[];var t=null,n=null!=(t="string"==typeof e?e:(0,c.encodeStreamKey)(e))?o[t]:null;return null!=n?n.viewerIds:[]},u.getState=function(){return(0,f.default)(h.default)?{activeStreams:Array.from(r.entries()),streamsByUser:i,rtcStreams:o,streamerActiveStreamMetadatas:a}:{activeStreams:[],streamsByUser:{},rtcStreams:{},streamerActiveStreamMetadatas:{}}},s}(s.default.Store))(u.default,{OVERLAY_INITIALIZE:function(e){var t=e.applicationStreamState;i=t.streamsByUser,r=new Map(t.activeStreams),o=t.rtcStreams,a=t.streamerActiveStreamMetadatas},VOICE_STATE_UPDATE:function(e){var t,n=e.userId,r=e.guildId,o=e.channelId,a=e.sessionId;if(!e.selfStream||null==o){var s=_.default.getSessionId();return(n!==_.default.getId()||a===s||null==v.default.getChannelId())&&function(e){return null!=i[e]&&(delete i[e],!0)}(n)}t={streamType:null!=r?l.StreamTypes.GUILD:l.StreamTypes.CALL,ownerId:n,guildId:r,channelId:o},i[t.ownerId]=t},STREAM_WATCH:function(e){var t=e.streamKey;r.delete(t),r.set(t,A({},(0,c.decodeStreamKey)(t),{state:I.ApplicationStreamStates.CONNECTING}))},STREAM_START:function(e){var t=e.streamType,n=e.guildId,i=e.channelId,o=e.pid,s=e.sourceName,u=(0,c.encodeStreamKey)({streamType:t,guildId:n,channelId:i,ownerId:_.default.getId()}),l=null!=o?T.default.getGameForPID(o):null;a[u]={id:null==l?void 0:l.id,pid:o,sourceName:s},r.delete(u),r.set(u,{streamType:t,guildId:n,channelId:i,ownerId:_.default.getId(),state:I.ApplicationStreamStates.CONNECTING})},STREAM_STOP:function(e){var t=e.streamKey;a[t]=null},STREAM_CREATE:b,STREAM_UPDATE:b,STREAM_TIMED_OUT:function(e){var t=e.streamKey,n=r.get(t);if(null==n)return!1;r.set(t,A({},n,{state:I.ApplicationStreamStates.FAILED}))},STREAM_DELETE:function(e){var t=e.streamKey,n=e.unavailable,i=e.reason;delete o[t];var a=r.get(t);if(null==a)return!1;var s=I.ApplicationStreamStates.ENDED;n?s=I.ApplicationStreamStates.RECONNECTING:i===I.ApplicationStreamDeleteReasons.UNAUTHORIZED&&(s=I.ApplicationStreamStates.FAILED),r.set(t,A({},a,{state:s})),s===I.ApplicationStreamStates.ENDED&&O!==t&&R(t)},STREAM_CLOSE:function(e){R(e.streamKey)},RTC_CONNECTION_STATE:function(e){var t=e.streamKey,n=e.state;if(null==t)return!1;var i=r.get(t);if(null==i||i.state===I.ApplicationStreamStates.ENDED)return!1;var o=i.state;switch(n){case I.RTCConnectionStates.DISCONNECTED:o=I.ApplicationStreamStates.RECONNECTING;break;case I.RTCConnectionStates.RTC_CONNECTED:o=I.ApplicationStreamStates.ACTIVE}if(o===i.state)return!1;r.set(t,A({},i,{state:o}))},CHANNEL_RTC_SELECT_PARTICIPANT:function(e){var t=e.id;O=t,Array.from(r.values()).forEach((function(e){(0,c.encodeStreamKey)(e)!==O&&e.state===I.ApplicationStreamStates.ENDED&&R((0,c.encodeStreamKey)(e))}))},CONNECTION_OPEN:function(e){return N()},CONNECTION_CLOSED:function(e){return N()},LOGOUT:function(e){return N()}});t.default=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DSN=void 0;var r=n(1445),i=a(n(16)),o=a(n(43));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){void 0===e&&(e={}),i.default.embedded&&o.default.updateCrashReporter({user_id:e.id||"",username:e.username||"",email:e.email||"",sentry:{user:{id:e.id||"",username:e.username||"",email:e.email||""}}})}t.DSN="https://fa97a90475514c03a42f80cd36d147c4@sentry.io/140984";var u={setUser:function(e,t,n){var r={id:e,username:t,email:n};null!=window.DiscordSentry&&window.DiscordSentry.configureScope((function(e){e.setUser(r)})),s(r)},clearUser:function(){null!=window.DiscordSentry&&window.DiscordSentry.configureScope((function(e){e.setUser(null)})),s()},setTags:function(e){null!=window.DiscordSentry&&window.DiscordSentry.configureScope((function(t){t.setTags(e)}))},setExtra:function(e){null!=window.DiscordSentry&&window.DiscordSentry.configureScope((function(t){t.setExtras(e)}))},captureException:function(e,t){var n=(0,r.getUpdatedOptions)(t);null!=window.DiscordSentry&&window.DiscordSentry.withScope((function(t){t.setExtras(n.extra),window.DiscordSentry.captureException(e)}))},captureCrash:function(e,t){var n=(0,r.getUpdatedOptions)(t);null!=window.DiscordSentry&&window.DiscordSentry.withScope((function(t){t.setExtras(n.extra),t.setTag("crash","true"),window.DiscordSentry.captureException(e)}))},captureMessage:function(e,t){var n=(0,r.getUpdatedOptions)(t);null!=window.DiscordSentry&&window.DiscordSentry.withScope((function(t){t.setExtras(n.extra),window.DiscordSentry.captureMessage(e)}))},crash:function(){throw new Error("crash")}};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.AppReferencePositionLayer=t.AppLayerProvider=t.AppLayerContainer=void 0;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(423),s=(r=n(250))&&r.__esModule?r:{default:r};function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=(0,a.createLayer)("App"),f=d.Layer,_=d.LayerContainer,p=d.LayerProvider,E=_;t.AppLayerContainer=E;var h=p;t.AppLayerProvider=h;var m=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var i=r.prototype;return i.componentDidMount=function(){var e=this.props.onMount;null!=e&&e()},i.componentWillUnmount=function(){var e=this.props.onUnmount;null!=e&&e()},i.render=function(){var e=this.props,t=(e.onMount,e.onUnmount,function(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}(e,["onMount","onUnmount"]));return l(f,{},void 0,o.createElement(s.default,t))},r}(o.Component);t.AppReferencePositionLayer=m,m.displayName="AppReferencePositionLayer";var v=f;t.default=v},function(e,t,n){var r=n(30),i=n(18),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(110)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(60),i=n(27),o=n(112);e.exports=function(e){return function(t,n,a){var s,u=r(t),l=i(u.length),c=o(a,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(82);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(25)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},e(o)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(20);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(145),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},function(e,t,n){"use strict";n(335);var r=n(52),i=n(59),o=n(19),a=n(83),s=n(25),u=n(240),l=s("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var f=s(e),_=!o((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),p=_?!o((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[l]=function(){return n}),n[f](""),!t})):void 0;if(!_||!p||"replace"===e&&!c||"split"===e&&!d){var E=/./[f],h=n(a,f,""[e],(function(e,t,n,r,i){return t.exec===u?_&&!i?{done:!0,value:E.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),m=h[0],v=h[1];r(String.prototype,e,m),i(RegExp.prototype,f,2==t?function(e,t){return v.call(e,this,t)}:function(e){return v.call(e,this)})}}},function(e,t,n){var r=n(72),i=n(330),o=n(235),a=n(20),s=n(27),u=n(237),l={},c={};(t=e.exports=function(e,t,n,d,f){var _,p,E,h,m=f?function(){return e}:u(e),v=r(n,d,t?2:1),T=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(o(m)){for(_=s(e.length);_>T;T++)if((h=t?v(a(p=e[T])[0],p[1]):v(e[T]))===l||h===c)return h}else for(E=m.call(e);!(p=E.next()).done;)if((h=i(E,v,p.value,t))===l||h===c)return h}).BREAK=l,t.RETURN=c},function(e,t,n){var r=n(18).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){"use strict";var r=n(18),i=n(4),o=n(52),a=n(129),s=n(91),u=n(174),l=n(128),c=n(21),d=n(19),f=n(170),_=n(124),p=n(226);e.exports=function(e,t,n,E,h,m){var v=r[e],T=v,g=h?"set":"add",I=T&&T.prototype,S={},y=function(e){var t=I[e];o(I,e,"delete"==e||"has"==e?function(e){return!(m&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return m&&!c(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof T&&(m||I.forEach&&!d((function(){(new T).entries().next()})))){var A=new T,O=A[g](m?{}:-0,1)!=A,N=d((function(){A.has(1)})),R=f((function(e){new T(e)})),b=!m&&d((function(){for(var e=new T,t=5;t--;)e[g](t,t);return!e.has(-0)}));R||((T=t((function(t,n){l(t,T,e);var r=p(new v,t,T);return null!=n&&u(n,h,r[g],r),r}))).prototype=I,I.constructor=T),(N||b)&&(y("delete"),y("has"),h&&y("get")),(b||O)&&y(g),m&&I.clear&&delete I.clear}else T=E.getConstructor(t,e,h,g),a(T.prototype,n),s.NEED=!0;return _(T,e),S[e]=T,i(i.G+i.W+i.F*(T!=v),S),m||E.setStrong(T,e,h),T}},function(e,t,n){for(var r,i=n(18),o=n(59),a=n(109),s=a("typed_array"),u=a("view"),l=!(!i.ArrayBuffer||!i.DataView),c=l,d=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(r=i[f[d++]])?(o(r.prototype,s,!0),o(r.prototype,u,!0)):c=!1;e.exports={ABV:l,CONSTR:c,TYPED:s,VIEW:u}},function(e,t,n){"use strict";var r,i;function o(){if(!r)throw new Error("Native dependencies have not been injected.")}Object.defineProperty(t,"__esModule",{value:!0}),t.inject=function(e){r=e},t.supported=function(){return o(),r.supported()},t.supportsFeature=function(e){return o(),r.supportsFeature(e)},t.setProcessPriority=function(e){o(),r.setProcessPriority(e)},t.getVoiceEngine=function(){return o(),i||(i=r.getVoiceEngine())}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.computeChannelName=c,t.default=function(e,t){void 0===t&&(t=!1);return(0,r.useStateFromStores)([o.default,i.default],(function(){return null==e?null:c(e,o.default,i.default,t)}))};var r=n(3),i=l(n(70)),o=l(n(12)),a=n(48),s=n(1),u=l(n(6));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t,n,r){var i;switch(void 0===r&&(r=!1),e.type){case s.ChannelTypes.DM:var o=e.recipients.map(t.getUser).filter(a.isNotNullish)[0],l=n.getNickname(o.id),c=null!==(i=null!=l?l:null==o?void 0:o.toString())&&void 0!==i?i:"";return r?"@"+c:c;case s.ChannelTypes.GROUP_DM:if(""!==e.name)return e.name;var d=e.recipients.map(t.getUser).filter(a.isNotNullish).map((function(e){var t;return null!==(t=n.getNickname(e.id))&&void 0!==t?t:e.toString()}));return d.length>0?d.join(", "):u.default.Messages.UNNAMED;case s.ChannelTypes.GUILD_ANNOUNCEMENT:case s.ChannelTypes.GUILD_TEXT:case s.ChannelTypes.ANNOUNCEMENT_THREAD:case s.ChannelTypes.PUBLIC_THREAD:case s.ChannelTypes.PRIVATE_THREAD:return r?"#"+e.name:e.name;default:return e.name}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.computeIsMuted=b,t.default=void 0;var r,i=d(n(8)),o=d(n(3)),a=d(n(2)),s=d(n(10)),u=d(n(15)),l=d(n(12)),c=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(){return(_=Object.assign||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}).apply(this,arguments)}var p={},E={},h={},m={},v={suppress_everyone:!1,suppress_roles:!1,mobile_push:!0,muted:!1,message_notifications:c.UserNotificationSettings.ALL_MESSAGES,channel_overrides:{}},T=((r={})[c.UserNotificationSettings.ALL_MESSAGES]=_({},v,{message_notifications:c.UserNotificationSettings.ALL_MESSAGES}),r[c.UserNotificationSettings.ONLY_MENTIONS]=_({},v,{message_notifications:c.UserNotificationSettings.ONLY_MENTIONS}),r),g={},I=new Set;function S(e,t){var n,r=p[e],o=null!==(n=null==r?void 0:r.channel_overrides)&&void 0!==n?n:{},a=function(e){void 0===e&&(e={});return e instanceof Array?i.default.keyBy(e,"channel_id"):e}(t.channel_overrides),s=_({},N(e),{},r,{},t,{channel_overrides:a});!function(e){null!=e&&e in h&&(clearTimeout(h[e]),delete h[e])}(e),!0===s.muted&&null!=s.mute_config&&function(e,t){if(null==e)return;var n=O(t);if(null==n)return null;h[e]=setTimeout((function(){y(e,{muted:!1}),C.emitChange()}),Math.max(0,n))}(e,s.mute_config),i.default.forEach(o,(function(e){var t;(t=e.channel_id)in m&&(clearTimeout(m[t]),delete m[t])})),i.default.forEach(a,(function(t){!0===t.muted&&null!=t.mute_config&&function(e,t,n){var r=O(n);if(null==r)return null;m[t]=setTimeout((function(){A(e,t,{muted:!1}),C.emitChange()}),Math.max(0,r))}(e,t.channel_id,t.mute_config)})),p[e]=s,g[e]=L(p[e])}function y(e,t){var n,r=p[e];S(e,_({channel_overrides:null!==(n=null==r?void 0:r.channel_overrides)&&void 0!==n?n:{}},t))}function A(e,t,n){var r,i=function(e,t,n){var r=p[e],i=(null==r?void 0:r.channel_overrides)||{};return _({},{channel_id:t,muted:!1},{},i[t],{},n)}(e,t,n);!function(e,t){var n=p[e],r=(null==n?void 0:n.channel_overrides)||{};S(e,{channel_overrides:null==n?t:_({},r,{},t)})}(e,(r={},r[t]=i,r))}function O(e){return null==e.end_time?null:new Date(e.end_time).getTime()-Date.now()}function N(e){var t=u.default.getGuild(e),n=t?t.defaultMessageNotifications:c.UserNotificationSettings.ALL_MESSAGES;return T[n]}function R(e){return p[e]||N(e)}function b(e){var t=e.muted,n=e.mute_config;return!!t&&function(e){return null==e||null==e.end_time||new Date(e.end_time)>=new Date}(n)}function L(e){return new Set(null!=e.channel_overrides?(0,i.default)(e.channel_overrides).filter((function(e){return b(e)})).map((function(e){return e.channel_id})).value():null)}var D=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var o=r.prototype;return o.initialize=function(e){this.waitFor(l.default,u.default),null!=e&&(E=e.collapsedGuilds,p=e.userGuildSettings,i.default.forEach(p,(function(e,t){g[t]=L(e)})))},o.getState=function(){return{collapsedGuilds:E,userGuildSettings:p}},o.isSuppressEveryoneEnabled=function(e){return R(e).suppress_everyone},o.isSuppressRolesEnabled=function(e){return R(e).suppress_roles},o.isMobilePushEnabled=function(e){return R(e).mobile_push},o.isMuted=function(e){return b(R(e))},o.getMuteConfig=function(e){return R(e).mute_config},o.getMessageNotifications=function(e){return R(e).message_notifications},o.getChannelOverrides=function(e){return R(e).channel_overrides||{}},o.getChannelMessageNotifications=function(e,t){var n=this.getChannelOverrides(e)[t];return null==n||null==n.message_notifications?c.UserNotificationSettings.NULL:n.message_notifications},o.getChannelMuteConfig=function(e,t){var n=this.getChannelOverrides(e)[t];return null!=n?n.mute_config:null},o.getMutedChannels=function(e){return g[e]||I},o.isChannelMuted=function(e,t){var n=s.default.getChannel(t);return e=(null!=n?n.getGuildId():null)||(null!=e?e:null),this.getMutedChannels(e).has(t)},o._isCategoryMuted=function(e,t){var n=s.default.getChannel(t);if(null==n)return!1;var r=n.parent_id;return null!=r&&this.getMutedChannels(e).has(r)},o._resolvedMessageNotifications=function(e){var t=this.getChannelMessageNotifications(e.guild_id,e.id);if(t!==c.UserNotificationSettings.NULL)return t;if(null!=e.parent_id){var n=this.getChannelMessageNotifications(e.guild_id,e.parent_id);if(n!==c.UserNotificationSettings.NULL)return n}return this.getMessageNotifications(e.guild_id)},o.isGuildOrCategoryOrChannelMuted=function(e,t){return this.isMuted(e)||this._isCategoryMuted(e,t)||this.isChannelMuted(e,t)},o.allowNoMessages=function(e){return this.isGuildOrCategoryOrChannelMuted(e.guild_id,e.id)||this._resolvedMessageNotifications(e)===c.UserNotificationSettings.NO_MESSAGES},o.allowAllMessages=function(e){return!this.isGuildOrCategoryOrChannelMuted(e.guild_id,e.id)&&this._resolvedMessageNotifications(e)===c.UserNotificationSettings.ALL_MESSAGES},o.isGuildCollapsed=function(e){return E[e]||!1},o.getAllSettings=function(){return{userGuildSettings:p,mutedChannels:g,collapsedGuilds:E}},r}(o.default.PersistedStore);D.persistKey="collapsedGuilds",D.migrations=[function(e){return{collapsedGuilds:e,userGuildSettings:{}}}];var C=new D(a.default,{USER_GUILD_SETTINGS_FULL_UPDATE:function(e){e.userGuildSettings.forEach((function(e){null!=e.guild_id&&(E[e.guild_id]=!0===e.hide_muted_channels),S(e.guild_id,_({channel_overrides:{}},e))}))},USER_GUILD_SETTINGS_GUILD_UPDATE:function(e){y(e.guildId,e.settings)},USER_GUILD_SETTINGS_CHANNEL_UPDATE:function(e){A(e.guildId,e.channelId,e.settings)},CONNECTION_OPEN:function(e){e.userGuildSettings.partial||(Object.values(h).forEach((function(e){return clearTimeout(e)})),Object.values(m).forEach((function(e){return clearTimeout(e)})),p={},g={},h={},m={}),e.userGuildSettings.partial||(E={},e.userGuildSettings.entries.forEach((function(e){null!=e.guild_id&&(E[e.guild_id]=!0===e.hide_muted_channels)}))),e.userGuildSettings.entries.forEach((function(e){S(e.guild_id,_({channel_overrides:{}},e))}))},OVERLAY_INITIALIZE:function(e){var t=e.allUserGuildSettings,n=t.userGuildSettings,r=t.mutedChannels,i=t.collapsedGuilds;p=_({},n),g={},Object.keys(r).forEach((function(e){g[e]=new Set(r[e])})),E=_({},i)},GUILD_CREATE:function(e){return!0},GUILD_UPDATE:function(e){return!0},GUILD_TOGGLE_COLLAPSE_MUTED:function(e){var t=e.guildId;E[t]=!E[t]}}),M=C;t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(3)),i=c(n(2)),o=c(n(413)),a=c(n(15)),s=c(n(94)),u=c(n(12)),l=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=[],_=null,p=!1;function E(e){var t=f.indexOf(e);if(t>-1){var n=[].concat(f);return n.splice(t,1),f=n,!0}return!1}function h(e){return e!==l.ME&&(!f.includes(e)&&(f=[].concat(f,[e]),!0))}var m=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(a.default,o.default,u.default,s.default)},i.setHistorySnapshot=function(e){_=e},i.getHistorySnapshot=function(){return _},i.lurkingGuildIds=function(){return f},i.mostRecentLurkedGuildId=function(){return 0===f.length?null:f[f.length-1]},i.isLurking=function(e){var t;return Boolean(null===(t=a.default.getGuild(e))||void 0===t?void 0:t.isLurker())},i.isFromMobileDiscovery=function(){return p},r}(r.default.Store))(i.default,{CONNECTION_OPEN:function(e){return t=Object.values(a.default.getGuilds()).reduce((function(e,t){return t.isLurker()?[].concat(e,[t.id]):e}),[]),void(f=t);var t},GUILD_JOIN:function(e){var t=e.guildId,n=e.lurker,r=e.source;return!(!n||o.default.getGuildId()===t)&&(h(t),p=r===l.JoinGuildSources.MOBILE_GUILD_DISCOVERY,!0)},GUILD_STOP_LURKING:function(e){var t=function(e){var t=new Set([].concat(null!=e?e:[]));return[].concat(f).reduce((function(e,n){return t.has(n)?e:E(n)||e}),!1)}(e.ignoredGuildIds);return t&&(_=null,p=!1),t},GUILD_STOP_LURKING_FAILURE:function(e){var t=e.lurkingGuildId,n=e.isFromMobileDiscovery;return h(t),p=n,!0},GUILD_CREATE:function(e){var t=e.guild;return!(null==t.joined_at||!f.includes(t.id))&&(E(t.id),_=null,p=!1,!0)},GUILD_DELETE:function(e){var t=e.guild;return!!f.includes(t.id)&&(E(t.id),_=null,p=!1,!0)},GUILD_MEMBER_ADD:function(e){var t=e.guildId,n=e.joinedAt,r=e.user,i=u.default.getCurrentUser();return!(r.id!==i.id||null==n||!f.includes(t))&&(E(t),_=null,p=!1,!0)}});t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(8))&&r.__esModule?r:{default:r},o=n(1);var a=[{type:o.PlatformTypes.TWITCH,name:"Twitch",color:o.Colors.TWITCH,icon:{color:n(1645),white:n(1646),grey:n(1647),svg:n(1648)},enabled:!0,getPlatformUserUrl:function(e){var t=e.name;return"https://www.twitch.tv/"+encodeURIComponent(t)}},{type:o.PlatformTypes.YOUTUBE,name:"YouTube",color:o.Colors.YOUTUBE,icon:{color:n(1649),white:n(1650),grey:n(1651)},enabled:!0,getPlatformUserUrl:function(e){var t=e.id;return"https://www.youtube.com/channel/"+encodeURIComponent(t)}},{type:o.PlatformTypes.BATTLENET,name:"Battle.net",color:o.Colors.BATTLENET,icon:{color:n(1652),white:n(1653),grey:n(1654)},enabled:!0},{type:o.PlatformTypes.SKYPE,name:"Skype",color:o.Colors.SKYPE,icon:{color:n(1655),white:n(1656),grey:n(1657)},serverSync:!1,enabled:!1,getPlatformUserUrl:function(e){var t=e.id;return"skype:"+encodeURIComponent(t)+"?userinfo"}},{type:o.PlatformTypes.LEAGUE_OF_LEGENDS,name:"League of Legends",color:o.Colors.LOL,icon:{color:n(1658),white:n(1659),grey:n(1660)},enabled:!1},{type:o.PlatformTypes.STEAM,name:"Steam",color:o.Colors.STEAM,icon:{color:n(1661),white:n(1662),grey:n(1663)},enabled:!0,getPlatformUserUrl:function(e){var t=e.id;return"https://steamcommunity.com/profiles/"+encodeURIComponent(t)}},{type:o.PlatformTypes.REDDIT,name:"Reddit",color:o.Colors.REDDIT,icon:{color:n(1664),white:n(1665),grey:n(1666)},enabled:!0,getPlatformUserUrl:function(e){var t=e.name;return"https://www.reddit.com/u/"+encodeURIComponent(t)}},{type:o.PlatformTypes.FACEBOOK,name:"Facebook",color:o.Colors.FACEBOOK,icon:{color:n(1667),white:n(1668),grey:n(1669)},enabled:!0,getPlatformUserUrl:function(e){var t=e.id;return"https://www.facebook.com/"+encodeURIComponent(t)}},{type:o.PlatformTypes.TWITTER,name:"Twitter",color:o.Colors.TWITTER,icon:{color:n(1670),white:n(1671),grey:n(1672)},enabled:!0,getPlatformUserUrl:function(e){var t=e.name;return"https://twitter.com/"+encodeURIComponent(t)}},{type:o.PlatformTypes.SPOTIFY,name:"Spotify",color:o.Colors.SPOTIFY,icon:{color:n(1673),white:n(1674),grey:n(1675),svg:n(1676)},enabled:!0,getPlatformUserUrl:function(e){var t=e.id;return"https://open.spotify.com/user/"+encodeURIComponent(t)}},{type:o.PlatformTypes.XBOX,name:"Xbox Live",color:o.Colors.XBOX,icon:{color:n(1677),white:n(1678),color3d:n(1679),grey:n(1680),svg:n(1681)},enabled:!0},{type:o.PlatformTypes.SAMSUNG,name:"Samsung Galaxy",color:o.Colors.SAMSUNG,icon:{color:n(1682),white:n(1683),grey:n(1684),svg:n(1685)},enabled:!1},{type:o.PlatformTypes.GITHUB,name:"GitHub",color:o.Colors.GITHUB,icon:{color:n(1686),white:n(1687),svg:n(1688)},enabled:!0,getPlatformUserUrl:function(e){var t=e.name;return"https://github.com/"+encodeURIComponent(t)}}],s=i.default.keyBy(a,"type"),u={get:function(e){var t=s[e];if(null==t)throw new Error("unknown platform: "+e);return t},isSupported:function(e){return Object.prototype.hasOwnProperty.call(s,e)},map:function(e){return a.map(e)},filter:function(e){return a.filter(e)}};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(e===t)return!0;var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(var o=0;o<r.length;o++){var a=r[o];if(e[a]!==t[a]&&(null==n||!n.includes(a)))return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Emoji=void 0;var r=u(n(488)),i=u(n(8)),o=u(n(261)),a=u(n(264)),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var c=null,d={},f={},_={},p={},E={},h=[],m=0,v=0,T=function(){function e(t){var n=this;this.animated=!1,this.available=!0;var r=t.names,o=r[0]||"";this.uniqueName=o,this.names=r,this.allNamesString=r.length>1?":"+r.join(": :")+":":":"+o+":",this.surrogates=t.surrogates,this.useSpriteSheet=!1,this.index=null,this.hasDiversity=t.hasDiversity,this.hasMultiDiversity=t.hasMultiDiversity,this.hasDiversityParent=t.hasDiversityParent,this.hasMultiDiversityParent=t.hasMultiDiversityParent,this.diversity=t.diversity?t.diversity:[],this.diversityChildren={},this.unicodeVersion=t.unicodeVersion?t.unicodeVersion:0,t.diversityChildren&&i.default.each(t.diversityChildren,(function(t,r){var i=t.diversity.join("-");n.diversityChildren[i]=new e(t)}))}var t,n,a,s=e.prototype;return s.forEachDiversity=function(e){this.diversityChildren&&i.default.each(this.diversityChildren,e)},s.forEachName=function(e){i.default.each(this.names,e)},s.setSpriteSheetIndex=function(e){this.index=e,this.useSpriteSheet=!0},t=e,(n=[{key:"defaultDiversityChild",get:function(){if(this.hasDiversity&&null!=c){var e=(t=c,r.default.convert.toCodePoint(t)||"");return this.diversityChildren[e]}var t;return null}},{key:"url",get:function(){var e=this.defaultDiversityChild;return null!=e?o.default.getURL(e.surrogates):o.default.getURL(this.surrogates)}},{key:"name",get:function(){return this.hasDiversity&&null!==c?this.uniqueName+"::"+p[c]:this.uniqueName}},{key:"optionallyDiverseSequence",get:function(){var e=this.defaultDiversityChild;return null!=e?e.surrogates:this.surrogates}}])&&l(t.prototype,n),a&&l(t,a),e}();t.Emoji=T;var g=n(5367);i.default.each(g,(function(e,t){var n=i.default.map(e,(function(e){var t=new T(e);if(t.setSpriteSheetIndex(t.hasDiversity?m++:v++),t.managed=!0,p[t.surrogates]=t.uniqueName,t.surrogates.indexOf("‍")<0){var n=t.surrogates.replace("️","");n!==t.surrogates&&(p[n]=t.uniqueName)}return t.forEachName((function(e){f[e]=t,_[e]=t.surrogates})),t.forEachDiversity((function(e,n){if(e.forEachName((function(t){f[t]=e,_[t]=e.surrogates})),!t.hasMultiDiversity){var i=r.default.convert.fromCodePoint(e.diversity[0]),o=s.DIVERSITY_SURROGATES.indexOf(i);t.forEachName((function(t){_[t+"::skin-tone-"+(o+1)]=e.surrogates}))}p[e.surrogates]=e.name})),h.push(t),t}));d[t]=o.default.filterUnsupportedEmojis(n)})),i.default.forEach(s.DIVERSITY_SURROGATES,(function(e,t){_["skin-tone-"+(t+1)]=e,p[e]="skin-tone-"+(t+1)}));var I=n(5368);i.default.each(I,(function(e){var t=e.emoji;e.shortcuts.forEach((function(e){E[e]=t}))}));var S,y=/^:([^\s:]+?(?:::skin-tone-\d)?):/,A=(S=(0,i.default)(E).keys().map(a.default.escape).join("|"),new RegExp("^("+S+")"));function O(e){var t=p[e];return null!=t?{type:"emoji",surrogate:e,emojiName:":"+t+":"}:{type:"text",text:e}}var N=String.fromCodePoint(917631),R=String.fromCodePoint(127988),b=/^(?:\uDB40[\uDC61-\uDC7A])$/;function L(e){var t="",n=[];return i.default.toArray(e).forEach((function(e){if(t)if(e===N)e=t+e,t="";else{if(b.test(e))return void(t+=e);n.push(O(t)),t=""}else if(e===R)return void(t=e);var r=O(e);if(n.length>0){var i=n[n.length-1];if("text"===r.type&&"text"===i.type)return void(i.text+=r.text)}n.push(r)})),t&&n.push(O(t)),n}function D(e,t){return void 0===t&&(t=""),Object.prototype.hasOwnProperty.call(_,e)?_[e]:t}var C={getDefaultDiversitySurrogate:function(){return c},setDefaultDiversitySurrogate:function(e){c=e||null},getCategories:function(){return Object.keys(d)},getByName:function(e){return Object.prototype.hasOwnProperty.call(f,e)?f[e]:null},getByCategory:function(e){return d[e]},translateInlineEmojiToSurrogates:function(e){return e.replace(y,(function(e,t){return D(t,e)}))},findInlineEmojisFromSurrogates:L,translateSurrogatesToInlineEmoji:function(e){return L(e).map((function(e){return"text"===e.type?e.text:e.emojiName})).join("")},convertNameToSurrogate:D,convertSurrogateToName:function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="");var r=n;return Object.prototype.hasOwnProperty.call(p,e)&&(r=p[e]),t?":"+r+":":r},convertShortcutToName:function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="");var r=n;return Object.prototype.hasOwnProperty.call(E,e)&&(r=E[e]),t?":"+r+":":r},forEach:function(e){return i.default.each(h,e)},all:function(){return h},numDiversitySprites:m,numNonDiversitySprites:v,EMOJI_NAME_RE:/^:([^\s:]+?(?:::skin-tone-\d)?):/,EMOJI_NAME_AND_DIVERSITY_RE:y,EMOJI_SHORTCUT_RE:A,hasSurrogates:function(e){return i.default.toArray(e).some((function(e){return null!=p[e]}))}};t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(1694)),i=u(n(8)),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(142)),a=n(1);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(e){return e&&e.__esModule?e:{default:e}}var l=/(?:^|\.)(?:discordapp|discord)\.com$/i,c=r.default.v4().source,d={URL_REGEX:new RegExp("(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+c+'|(?:[a-z\\u00a1-\\uffff0-9-_]+\\.)+(?:(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?',"ig"),isDiscordHostname:function(e){return null!=e&&l.test(e)},isAppRoute:function(e){var t=e.toLowerCase();return t.startsWith("/channels/")||t.startsWith(a.Routes.APPLICATION_STORE)||t.startsWith(a.Routes.APPLICATION_LIBRARY)||t.startsWith(a.Routes.ACTIVITY)||t.startsWith(a.Routes.UPCOMING_STAGES(""))},format:function(e){return o.format(e)},formatPathWithQuery:function(e,t){return o.format({pathname:e,query:i.default.pickBy(t)})},formatSearch:function(e){return o.format({query:i.default.pickBy(e)})},safeParseWithQuery:function(e){try{return o.parse(e,!0)}catch(e){return null}}};t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerExperiment=M,t.default=void 0;var r=f(n(23)),i=f(n(743)),o=f(n(3)),a=f(n(28)),s=f(n(2)),u=f(n(13)),l=n(141),c=n(1587),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(){return(E=Object.assign||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}).apply(this,arguments)}function h(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var v=!1,T={},g={},I={},S={},y={},A={},O={title:"Unnamed Experiment",description:"No description provided"};function N(e,t){if(t.type===l.ExperimentTypes.USER)return t.type+"|"+e;if(t.type===l.ExperimentTypes.GUILD)return t.type+"|"+e+"|"+t.guildId;throw new Error}function R(e){if(e.type===l.ExperimentTypes.USER)return i.default.v3(e.bucket+"|"+e.revision);if(e.type===l.ExperimentTypes.GUILD)return i.default.v3(e.bucket+"|"+e.revision+"|"+e.guildId);throw new Error}function b(e){var t=e[0],n=e[1];return null!=c.GUILD_FILTERS[t]?c.GUILD_FILTERS[t](n):null}function L(e){var t={};if(null==e)return t;for(var n,r=h(e);!(n=r()).done;)for(var i,o=n.value,a=o.b,s=h(o.k);!(i=s()).done;){t[i.value]=a}return t}function D(e){var t=e.experiments,n=e.guildExperiments;I={},t.forEach((function(e){var t=e[0],n=e[1],r=e[2],i=e[3],o=e[4];I[t]={type:"user",revision:n,population:o,bucket:r,override:0===i}})),S={},y={},null!=n&&n.forEach((function(e){var t=e[0],n=e[1],r=e[2],i=e[3],o=e[4];S[t]={hashKey:n,revision:r,populations:i.map((function(e){var t=e[0],n=e[1];return{buckets:t.map((function(e){return{bucket:e[0],positions:e[1].map((function(e){return{start:e.s,end:e.e}}))}})),filters:n.map(b),rawFilterData:n}})),overrides:L(o)}})),v=!0}function C(){a.default.set("scientist:triggered",{v:1,e:T})}function M(e,t,n,r,i,o){var a;g=E({},g,((a={})[e]={type:t,clientFilter:n,title:r,description:i,buckets:o},a))}var P=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var o,s,u,c=r.prototype;return c.initialize=function(){T=function(){var e=a.default.get("scientist:triggered");if(null==e||1!==e.v)return{};var t=e.e,n=Date.now(),r=!1;for(var i in t)n-t[i].time>6048e5&&(delete t[i],r=!0);return r&&C(),t}(),A=function(){var e=a.default.get("exerimentOverrides")||{},t=!1;for(var n in e){var r=e[n];(null==r||r.type!==l.ExperimentTypes.USER&&r.type!==l.ExperimentTypes.GUILD||null==r.bucket||!0!==r.override)&&(delete e[n],t=!0)}return t&&a.default.set("exerimentOverrides",e),e}()},c.hasRegisteredExperiment=function(e){return null!=g[e]},c.isEligibleForExperiment=function(e,t){if(null==g[e])return!1;var n=g[e].clientFilter;return null==n||n.isEligible(t)},c.getUserExperimentDescriptor=function(e){if(v){var t=A[e];if(null!=t&&t.type===l.ExperimentTypes.USER)return t}if(!this.isEligibleForExperiment(e))return null;var n=i.default.v3(e);return I[""+n]},c.getGuildExperimentDescriptor=function(e,t){if(v){var n=A[e];if(null!=n&&n.type===l.ExperimentTypes.GUILD)return n}if(!this.isEligibleForExperiment(e,{guildId:t}))return null;var r=t+":"+e;if(r in y)return y[r];var o=function(e,t){var n=i.default.v3(t),r=S[""+n];if(null==r)return null;var o=r.overrides[e];if(null!=o)return o===l.ExperimentBuckets.NOT_ELIGIBLE?null:{type:l.ExperimentTypes.GUILD,guildId:e,revision:r.revision,bucket:o,override:!0};for(var a,s=(r.hashKey||t)+":"+e,u=i.default.v3(s)%1e4,c=null,d=h(r.populations);!(a=d()).done;){var f=a.value,_=f.buckets,p=f.filters,E=!0;if(null!=p)for(var m,v=h(p);!(m=v()).done;){var T=m.value;if(null!=T&&!T(e)){E=!1;break}}if(E){var g=_.find((function(e){return e.positions.some((function(e){var t=e.start,n=e.end;return u>=t&&u<n}))}));if((c=null!=g?g.bucket:l.ExperimentBuckets.CONTROL)===l.ExperimentBuckets.NOT_ELIGIBLE)return null;break}}return null==c?null:{type:l.ExperimentTypes.GUILD,guildId:e,revision:r.revision,bucket:c}}(t,e);return y[r]=o,o},c.getUserExperimentBucket=function(e){var t=this.getUserExperimentDescriptor(e);return null!=t?t.bucket:l.ExperimentBuckets.NOT_ELIGIBLE},c.getGuildExperimentBucket=function(e,t){var n=this.getGuildExperimentDescriptor(e,t);return null!=n?n.bucket:l.ExperimentBuckets.NOT_ELIGIBLE},c.getAllUserExperimentDescriptors=function(){return I},c.getRegisteredExperiments=function(){return g},c.getAllExperimentOverrideDescriptors=function(){return A},c.getExperimentOverrideDescriptor=function(e){return v?A[e]:null},c.getSerializedState=function(){var e={};for(var t in S){e[t]=E({},S[t]);for(var n,r=h(e[t].populations);!(n=r()).done;){n.value.filters=[]}}return{hasLoadedExperiments:v,trackedExposureExperiments:T,loadedUserExperiments:I,loadedGuildExperiments:e,experimentOverrides:A}},o=r,(s=[{key:"hasLoadedExperiments",get:function(){return v}}])&&_(o.prototype,s),u&&_(o,u),r}(o.default.Store))(s.default,{LOGOUT:function(e){return a.default.remove("scientist:triggered"),a.default.remove("exerimentOverrides"),A={},I={},T={},void(v=!1)},LOGIN_SUCCESS:function(e){return v=!1,T={},void a.default.remove("scientist:triggered")},CONNECTION_OPEN:D,EXPERIMENTS_FETCH_SUCCESS:D,OVERLAY_INITIALIZE:function(e){var t=e.serializedExperimentStore;for(var n in v=t.hasLoadedExperiments,T=t.trackedExposureExperiments,I=t.loadedUserExperiments,A=t.experimentOverrides,S={},y={},t.loadedGuildExperiments){var r=t.loadedGuildExperiments[n];S[n]=E({},r);for(var i,o=h(S[n].populations);!(i=o()).done;){var a=i.value;a.filters=a.rawFilterData.map(b)}}},CACHE_LOADED:function(e){return null!=e.eligibleExperiments&&(I=e.eligibleExperiments,!0)},EXPERIMENTS_FETCH_FAILURE:function(e){v=!0},EXPERIMENT_TRIGGER:function(e){var t=e.experimentId,n=e.descriptor,r=e.location,i=e.context;if(function(e,t){var n=T[N(e,t)];return!(null==n||Date.now()-n.time>6048e5)&&n.hash===R(t)}(t,n))return!1;if(n.type===l.ExperimentTypes.USER){var o={name:t,revision:n.revision,population:n.population,bucket:n.bucket,location:r};null!=i&&(o.context_guild_id=i.guildId),u.default.track(d.AnalyticEvents.EXPERIMENT_USER_TRIGGERED,o,{flush:!0})}else n.type===l.ExperimentTypes.GUILD&&u.default.track(d.AnalyticEvents.EXPERIMENT_GUILD_TRIGGERED,{name:t,revision:n.revision,bucket:n.bucket,guild_id:n.guildId,location:r},{flush:!0});T[N(t,n)]={time:Date.now(),hash:R(n)},C()},EXPERIMENT_REGISTER_LEGACY:function(e){var t=e.store,n=e.renderFunctions,i="function"==typeof t.getExperimentId?t.getExperimentId():null;if(!i)throw new Error("Experiment Store must have a static getExperimentId method defined");var o,a,s="function"==typeof t.getMetaData?t.getMetaData():O;Object.keys(n).forEach((function(e){if(e!==l.ExperimentTypes.NONE_LEGACY){(0,r.default)(null!=n[e],"Unexpected missing renderFunctions"),o=e;var t=Object.keys(n[e]).map((function(e){return parseInt(e)}));a=t}})),M(i,null!=o?o:l.ExperimentTypes.USER,null,s.title,s.description,null!=a?a:[])},EXPERIMENT_OVERRIDE_BUCKET:function(e){var t,n=e.experimentId,r=e.experimentBucket,i=g[n];if(null==i)return!1;for(var o in null==r?null!=A[n]&&delete(A=E({},A))[n]:A=E({},A,((t={})[n]={type:i.type,revision:1,bucket:r,override:!0},t)),A)null==g[o]&&delete A[o];a.default.set("exerimentOverrides",A)}});t.default=P},function(e,t,n){var r=n(1289),i=0;e.exports=function(e){var t=++i;return r(e)+t}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setLogFn=function(e){r=e},t.default=void 0;var r=function(){};t.default=function(e){var t=this;void 0===e&&(e="default"),this.log=function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];r.apply(void 0,[t.name,"log",e].concat(i))},this.info=function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];r.apply(void 0,[t.name,"info",e].concat(i))},this.warn=function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];r.apply(void 0,[t.name,"warn",e].concat(i))},this.error=function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];r.apply(void 0,[t.name,"error",e].concat(i))},this.trace=function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];r.apply(void 0,[t.name,"trace",e].concat(i))},this.verbose=function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];r.apply(void 0,[t.name,"debug",e].concat(i))},this.name=e}},function(e,t,n){"use strict";(function(t){function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var i=n(147),o=n(971),a=n(352),s=n(269),u=(n(270),n(446)),l=t.Set||n(1708);var c=function(e){var t,n;function i(t){var n;return(n=e.call(this)||this)._value=t,n._offset=0,n._animation=null,n._listeners={},n}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n);var c=i.prototype;return c.__detach=function(){this.stopAnimation()},c.__getValue=function(){return this._value+this._offset},c.setValue=function(e){this._animation&&(this._animation.stop(),this._animation=null),this._updateValue(e)},c.setOffset=function(e){this._offset=e},c.flattenOffset=function(){this._value+=this._offset,this._offset=0},c.addListener=function(e){var t=u();return this._listeners[t]=e,t},c.removeListener=function(e){delete this._listeners[e]},c.removeAllListeners=function(){this._listeners={}},c.stopAnimation=function(e){this.stopTracking(),this._animation&&this._animation.stop(),this._animation=null,e&&e(this.__getValue())},c.interpolate=function(e){return new a(this,s.create(e))},c.animate=function(e,t){var n=this,r=null;e.__isInteraction&&(r=o.current.createInteractionHandle());var i=this._animation;this._animation&&this._animation.stop(),this._animation=e,e.start(this._value,(function(e){n._updateValue(e)}),(function(e){n._animation=null,null!==r&&o.current.clearInteractionHandle(r),t&&t(e)}),i)},c.stopTracking=function(){this._tracking&&this._tracking.__detach(),this._tracking=null},c.track=function(e){this.stopTracking(),this._tracking=e},c._updateValue=function(e){var t,n;for(var r in this._value=e,t=this,n=new l,function e(t){"function"==typeof t.update?n.add(t):t.__getChildren().forEach(e)}(t),n.forEach((function(e){return e.update()})),this._listeners)this._listeners[r]({value:this.__getValue()})},i}(i);e.exports=c}).call(this,n(44))},function(e,t,n){"use strict";n.r(t),n.d(t,"BrowserRouter",(function(){return d})),n.d(t,"HashRouter",(function(){return f})),n.d(t,"Link",(function(){return v})),n.d(t,"NavLink",(function(){return I}));var r=n(54);n.d(t,"MemoryRouter",(function(){return r.MemoryRouter})),n.d(t,"Prompt",(function(){return r.Prompt})),n.d(t,"Redirect",(function(){return r.Redirect})),n.d(t,"Route",(function(){return r.Route})),n.d(t,"Router",(function(){return r.Router})),n.d(t,"StaticRouter",(function(){return r.StaticRouter})),n.d(t,"Switch",(function(){return r.Switch})),n.d(t,"generatePath",(function(){return r.generatePath})),n.d(t,"matchPath",(function(){return r.matchPath})),n.d(t,"useHistory",(function(){return r.useHistory})),n.d(t,"useLocation",(function(){return r.useLocation})),n.d(t,"useParams",(function(){return r.useParams})),n.d(t,"useRouteMatch",(function(){return r.useRouteMatch})),n.d(t,"withRouter",(function(){return r.withRouter}));var i=n(65),o=n(0),a=n.n(o),s=n(104),u=(n(17),n(49)),l=n(87),c=n(103),d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).history=Object(s.createBrowserHistory)(t.props),t}return Object(i.a)(t,e),t.prototype.render=function(){return a.a.createElement(r.Router,{history:this.history,children:this.props.children})},t}(a.a.Component);var f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).history=Object(s.createHashHistory)(t.props),t}return Object(i.a)(t,e),t.prototype.render=function(){return a.a.createElement(r.Router,{history:this.history,children:this.props.children})},t}(a.a.Component);var _=function(e,t){return"function"==typeof e?e(t):e},p=function(e,t){return"string"==typeof e?Object(s.createLocation)(e,null,null,t):e},E=function(e){return e},h=a.a.forwardRef;void 0===h&&(h=E);var m=h((function(e,t){var n=e.innerRef,r=e.navigate,i=e.onClick,o=Object(l.a)(e,["innerRef","navigate","onClick"]),s=o.target,c=Object(u.a)({},o,{onClick:function(e){try{i&&i(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||s&&"_self"!==s||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=E!==h&&t||n,a.a.createElement("a",c)}));var v=h((function(e,t){var n=e.component,i=void 0===n?m:n,o=e.replace,s=e.to,d=e.innerRef,f=Object(l.a)(e,["component","replace","to","innerRef"]);return a.a.createElement(r.__RouterContext.Consumer,null,(function(e){e||Object(c.default)(!1);var n=e.history,r=p(_(s,e.location),e.location),l=r?n.createHref(r):"",m=Object(u.a)({},f,{href:l,navigate:function(){var t=_(s,e.location);(o?n.replace:n.push)(t)}});return E!==h?m.ref=t||d:m.innerRef=d,a.a.createElement(i,m)}))})),T=function(e){return e},g=a.a.forwardRef;void 0===g&&(g=T);var I=g((function(e,t){var n=e["aria-current"],i=void 0===n?"page":n,o=e.activeClassName,s=void 0===o?"active":o,d=e.activeStyle,f=e.className,E=e.exact,h=e.isActive,m=e.location,I=e.sensitive,S=e.strict,y=e.style,A=e.to,O=e.innerRef,N=Object(l.a)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.a.createElement(r.__RouterContext.Consumer,null,(function(e){e||Object(c.default)(!1);var n=m||e.location,o=p(_(A,n),n),l=o.pathname,R=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),b=R?Object(r.matchPath)(n.pathname,{path:R,exact:E,sensitive:I,strict:S}):null,L=!!(h?h(b,n):b),D=L?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(f,s):f,C=L?Object(u.a)({},y,{},d):y,M=Object(u.a)({"aria-current":L&&i||null,className:D,style:C,to:o},N);return T!==g?M.ref=t||O:M.innerRef=O,a.a.createElement(v,M)}))}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isImageLoaded=function(e){var t=_.get(e);return null!=t&&t.loaded},t.loadImage=function(e,t){var n=_.get(e);return n&&n.loaded?(null!=t&&s.default.awaitOnline().then((function(){null!=n&&null!=n.callbacks&&n.callbacks.forEach((function(t){null!=n?t(!1,n):t(!0,{url:e,loaded:!0})}))})),u.NOOP):(n||(n={url:e,loaded:!1},_.set(e,n),p(n)),null!=t&&(r=t.bind(null),null==n.callbacks&&(n.callbacks=new Set),n.callbacks.add(r)),function(){null!=r&&null!=n&&(null!=n.callbacks&&n.callbacks.delete(r),null!=n.backoff&&n.backoff.cancel())});var r},t.getDevicePixelRatio=h,t.getBestMediaProxySize=function(e){return u.MEDIA_PROXY_SIZES.find((function(t){return e<=t}))||u.MEDIA_PROXY_SIZES[u.MEDIA_PROXY_SIZES.length-1]},t.calculateSize=function(e){var t=h();return e=t>1?e*Math.ceil(t):e,e--,e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,e++,Math.min(e,1024)},t.getSrcWithWidthAndHeight=v,t.getSizedImageSrc=function(e,t,n,r){void 0===r&&(r="jpeg");var i=h();t=Math.ceil(t*i),n=Math.ceil(n*i);var a=m(e),s=a[0],u=a[1],l=o.default.stringify(c({},u,{width:0|t,height:0|n,format:r}));return s+"?"+l},t.getImageSrc=function(e,t,n,r,i){void 0===r&&(r=1);void 0===i&&(i=null);r*=h();var o=t,a=n;r<1&&(o=Math.round(t*r),a=Math.round(n*r));return v(e,t,n,o,a,i)};var r=l(n(8)),i=l(n(404)),o=l(n(137)),a=l(n(138)),s=l(n(214)),u=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function d(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){d(o,r,i,a,s,"next",e)}function s(e){d(o,r,i,a,s,"throw",e)}a(void 0)}))}}var _=new i.default({max:1e3});function p(e){var t=new Image;t.onerror=function(e,t){null==e.backoff&&(e.backoff=new a.default);var n=e.backoff;return f(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,s.default.isOnline();case 2:n.fails<5?n.fail((function(){p(e)})):E(!0,e,t);case 3:case"end":return r.stop()}}),r)})))}(e,t),t.onload=function(){var n=e.backoff;null!=n&&n.succeed(),E(!1,e,t)},t.src=e.url}function E(e,t,n){var r=t,i=r.callbacks,o=r.url;if(e)_.del(o);else{var a=n.width,s=n.height;t={url:o,loaded:!0,width:a,height:s},_.set(o,t)}null!=i&&i.forEach((function(n){return n(e,t)}))}function h(){return window.devicePixelRatio||1}function m(e){var t=e.split("?"),n=t[0],r=t[1];return[n,o.default.parse(r)]}function v(e,t,n,i,a,s){void 0===s&&(s=null);var u=m(e),l=u[0],c=u[1];return null!=s&&(c.format=s),i===t&&a===n||(c.width=0|i,c.height=0|a),r.default.isEmpty(c)||(l+="?"+o.default.stringify(c)),l}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(14)),i=n(1),o=a(n(6));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){var t,n;function r(t,n){return e.call(this,t,n,o.default.Messages.FORM_ERROR_GENERIC.format({statusPageURL:i.Links.STATUS}))||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n),r}(r.default.V6OrEarlierAPIError);t.default=u},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.StreamTypes=t.WINDOWS_SOUNDSHARE_VERSION=t.DARWIN_SOUNDSHARE_VERSION=t.StreamIssueReportReasons=void 0,t.StreamIssueReportReasons=r,function(e){e.BLACK_SCREEN="BLACK_SCREEN",e.BLURRY="BLURRY",e.LAGGING="LAGGING",e.OUT_OF_SYNC="OUT_OF_SYNC",e.AUDIO_MISSING="AUDIO_MISSING",e.AUDIO_POOR="AUDIO_POOR",e.GAME_ISSUE="GAME_ISSUE",e.STREAM_STOPPED="STREAM_STOPPED",e.NO_ISSUE="NO_ISSUE",e.OTHER="OTHER"}(r||(t.StreamIssueReportReasons=r={}));t.DARWIN_SOUNDSHARE_VERSION=">=17.0.0";var i;t.WINDOWS_SOUNDSHARE_VERSION=">=10.0.17763",t.StreamTypes=i,function(e){e.GUILD="guild",e.CALL="call"}(i||(t.StreamTypes=i={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WaveStates=t.POINT_TENSION_DEFAULT=t.TWO_PI=t.MAX_RADIUS=t.MIN_RADIUS=t.NOOP=void 0;t.NOOP=function(){};t.MIN_RADIUS=780;t.MAX_RADIUS=1e3;var r=2*Math.PI;t.TWO_PI=r;t.POINT_TENSION_DEFAULT=150;t.WaveStates={INITIAL:0,ENTERED:1,FILLING:2,FILLED:3}},,function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=I(n(14)),i=I(n(2)),o=I(n(195)),a=I(n(1599)),s=I(n(727)),u=n(451),l=n(42),c=I(n(11)),d=I(n(413)),f=I(n(86)),_=I(n(15)),p=I(n(36)),E=I(n(12)),h=I(n(78)),m=I(n(96)),v=I(n(154)),T=n(1),g=I(n(6));function I(e){return e&&e.__esModule?e:{default:e}}function S(){return(S=Object.assign||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}).apply(this,arguments)}function y(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function A(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){y(o,r,i,a,s,"next",e)}function s(e){y(o,r,i,a,s,"throw",e)}a(void 0)}))}}var O=function(e){v.default.show({title:g.default.Messages.TOO_MANY_USER_GUILDS_ALERT_TITLE,body:g.default.Messages.TOO_MANY_USER_GUILDS_ALERT_DESCRIPTION.format({quantity:e})})},N=function(){v.default.show({title:g.default.Messages.SERVER_IS_CURRENTLY_FULL,body:g.default.Messages.PLEASE_TRY_AGAIN_LATER})};function R(e,t,n,r){return b.apply(this,arguments)}function b(){return(b=A(regeneratorRuntime.mark((function e(t,n,o,a){var s,u,d,f,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===n&&(n=!1),i.default.wait((function(){return i.default.dispatch({type:T.ActionTypes.GUILD_JOIN,guildId:t,lurker:n,source:o})})),e.prev=2,e.next=5,r.default.put({url:T.Endpoints.GUILD_JOIN(t),query:{lurker:n,session_id:n?c.default.getSessionId():null,directory_channel_id:a},context:{source:o},oldFormErrors:!0});case 5:if(null!=(s=e.sent).body.join_request&&i.default.dispatch({type:T.ActionTypes.USER_GUILD_JOIN_REQUEST_UPDATE,guildId:t,request:s.body.join_request}),null!=_.default.getGuild(t)||!s.body.show_verification_form){e.next=10;break}return(0,l.transitionTo)(T.Routes.GUILD_MEMBER_VERIFICATION(t)),e.abrupt("return",s);case 10:return null!=s.body.welcome_screen&&i.default.dispatch({type:T.ActionTypes.WELCOME_SCREEN_UPDATE,guildId:s.body.id,welcomeScreen:s.body.welcome_screen}),null!=s.body.approximate_presence_count&&i.default.dispatch({type:T.ActionTypes.ONLINE_GUILD_MEMBER_COUNT_UPDATE,guildId:s.body.id,count:s.body.approximate_presence_count}),e.abrupt("return",s);case 15:throw e.prev=15,e.t0=e.catch(2),(null===(u=e.t0.body)||void 0===u?void 0:u.code)===T.AbortCodes.TOO_MANY_USER_GUILDS&&(f=E.default.getNullableCurrentUser(),p=m.default.canUseIncreasedGuildCap(f)||(null==f?void 0:f.isStaff()),O(p?T.MAX_USER_GUILDS_PREMIUM:T.MAX_USER_GUILDS)),(null===(d=e.t0.body)||void 0===d?void 0:d.code)===T.AbortCodes.GUILD_AT_CAPACITY&&N(),e.t0;case 20:case"end":return e.stop()}}),e,null,[[2,15]])})))).apply(this,arguments)}var L={joinGuild:R,transitionToGuildSync:function(t,n,r){return new Promise((function(i){return _.default.addConditionalChangeListener((function(){var o=_.default.getGuild(t);if(null==o)return!0;var a=null!=r?r:p.default.getChannelId(o.id),s=n;return(null==n?void 0:n.hasOwnProperty("welcomeModalChannelId"))&&null==n.welcomeModalChannelId&&(s=S({},n,{welcomeModalChannelId:a})),(0,l.transitionTo)(T.Routes.CHANNEL(t,a),s),e(i),!1}))}))},deleteGuild:function(e){i.default.dirtyDispatch({type:T.ActionTypes.GUILD_DELETE,guild:{id:e}})},selectGuild:function(e){(0,u.stopLurking)(e);var t=d.default.getGuildId();null!=t&&t===e&&R(t,!0)},addGuild:function(e,t,n,s,u){return A(regeneratorRuntime.mark((function l(){var c,d;return regeneratorRuntime.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return void 0===n&&(n=null),void 0===s&&(s=null),c=(0,a.default)(),l.prev=3,l.next=6,r.default.post({url:T.Endpoints.GUILDS,body:{name:e,region:t,icon:n,channels:s,system_channel_id:u},oldFormErrors:!0});case 6:return d=l.sent,c&&i.default.dispatch({type:T.ActionTypes.GUILD_PROGRESS_INITIALIZE,guildId:d.body.id}),l.abrupt("return",d.body);case 11:throw l.prev=11,l.t0=l.catch(3),new o.default(l.t0);case 14:case"end":return l.stop()}}),l,null,[[3,11]])})))()},createGuild:function(e){i.default.dispatch({type:T.ActionTypes.GUILD_CREATE,guild:e})},setServerMute:function(e,t,n){r.default.patch({url:T.Endpoints.GUILD_MEMBER(e,t),body:{mute:n},oldFormErrors:!0})},setServerDeaf:function(e,t,n){r.default.patch({url:T.Endpoints.GUILD_MEMBER(e,t),body:{deaf:n},oldFormErrors:!0})},setChannel:function(e,t,n){r.default.patch({url:T.Endpoints.GUILD_MEMBER(e,t),body:{channel_id:n},oldFormErrors:!0})},kickUser:function(e,t,n){return r.default.delete({url:T.Endpoints.GUILD_MEMBER(e,t),query:{reason:n},oldFormErrors:!0})},banUser:function(e,t,n,i){var o={delete_message_days:n,reason:i};return r.default.put({url:T.Endpoints.GUILD_BAN(e,t),body:o,oldFormErrors:!0})},unbanUser:function(e,t){return r.default.delete({url:T.Endpoints.GUILD_BAN(e,t),oldFormErrors:!0})},createRole:function(e){return A(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.default.post({url:T.Endpoints.GUILD_ROLES(e),oldFormErrors:!0,body:{name:g.default.Messages.NEW_ROLE}});case 2:return n=t.sent,s.default.checkGuildTemplateDirty(e),t.abrupt("return",n.body);case 5:case"end":return t.stop()}}),t)})))()},createRoleWithNameColor:function(e,t,n){return A(regeneratorRuntime.mark((function i(){var a,s;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return a={name:t||g.default.Messages.NEW_ROLE,color:n||0,permissions:h.default.NONE},i.prev=1,i.next=4,r.default.post({url:T.Endpoints.GUILD_ROLES(e),oldFormErrors:!0,body:a});case 4:return s=i.sent,i.abrupt("return",s.body);case 8:throw i.prev=8,i.t0=i.catch(1),new o.default(i.t0);case 11:case"end":return i.stop()}}),i,null,[[1,8]])})))()},updateRole:function(e,t,n,i,o,a,u){return r.default.patch({url:T.Endpoints.GUILD_ROLE(e,t),body:{name:n,permissions:i,color:o||0,hoist:a,mentionable:u},oldFormErrors:!0}).then((function(t){return s.default.checkGuildTemplateDirty(e),t}))},updateRoleDisplay:function(e,t,n,i){return r.default.patch({url:T.Endpoints.GUILD_ROLE(e,t),body:{name:n,color:i||0},oldFormErrors:!0}).then((function(t){return s.default.checkGuildTemplateDirty(e),t}))},updateRolePermissions:function(e,t,n){return r.default.patch({url:T.Endpoints.GUILD_ROLE(e,t),body:{permissions:n},oldFormErrors:!0})},deleteRole:function(e,t){r.default.delete({url:T.Endpoints.GUILD_ROLE(e,t),oldFormErrors:!0}).then((function(){s.default.checkGuildTemplateDirty(e)}))},batchChannelUpdate:function(e,t){return A(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,r.default.patch({url:T.Endpoints.GUILD_CHANNELS(e),body:t,oldFormErrors:!0});case 2:return i=n.sent,s.default.checkGuildTemplateDirty(e),n.abrupt("return",i);case 5:case"end":return n.stop()}}),n)})))()},batchRoleUpdate:function(e,t){return A(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,r.default.patch({url:T.Endpoints.GUILD_ROLES(e),body:t,oldFormErrors:!0});case 2:return i=n.sent,s.default.checkGuildTemplateDirty(e),n.abrupt("return",i);case 5:case"end":return n.stop()}}),n)})))()},requestMembers:function(e,t,n,r){void 0===t&&(t=""),void 0===n&&(n=10),void 0===r&&(r=!0),i.default.dirtyDispatch({type:T.ActionTypes.GUILD_MEMBERS_REQUEST,guildIds:Array.isArray(e)?e:[e],query:t,limit:n,presences:r})},requestMembersById:function(e,t,n){void 0===n&&(n=!0),i.default.dirtyDispatch({type:T.ActionTypes.GUILD_MEMBERS_REQUEST,guildIds:Array.isArray(e)?e:[e],userIds:Array.isArray(t)?t:[t],presences:n})},move:function(e,t,n,r){i.default.dispatch({type:T.ActionTypes.GUILD_MOVE,fromIndex:e,toIndex:t,fromFolderIndex:n,toFolderIndex:r})},toggleGuildFolderExpand:function(e){i.default.dispatch({type:T.ActionTypes.TOGGLE_GUILD_FOLDER_EXPAND,folderId:e})},setGuildFolderExpanded:function(e,t){i.default.dispatch({type:T.ActionTypes.SET_GUILD_FOLDER_EXPANDED,folderId:e,expanded:t})},nsfwAgree:function(e){i.default.dispatch({type:T.ActionTypes.GUILD_NSFW_AGREE,guildId:e})},nsfwReturnToSafety:function(e){var t=f.default.getDefaultChannel(e);null==t||t.isNSFW()?(0,l.transitionTo)(T.Routes.FRIENDS):(0,l.transitionTo)(T.Routes.CHANNEL(e,t.id))},fetchApplications:function(e,t){return A(regeneratorRuntime.mark((function n(){var o,a,s;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o={url:T.Endpoints.GUILD_APPLICATIONS(e),oldFormErrors:!0},null!=t&&(o.query={channel_id:t}),n.next=4,r.default.get(o);case 4:a=n.sent,s=a.body,i.default.dispatch({type:T.ActionTypes.GUILD_APPLICATIONS_FETCH_SUCCESS,guildId:e,applications:s});case 7:case"end":return n.stop()}}),n)})))()},fetchGuildBans:function(e){return A(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.default.get({url:T.Endpoints.GUILD_BANS(e),oldFormErrors:!0}).then((function(e){i.default.dispatch({type:T.ActionTypes.GUILD_SETTINGS_LOADED_BANS,bans:e.body})}));case 2:case"end":return t.stop()}}),t)})))()}};t.default=L}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldBadgeMessage=$,t.default=void 0;var r=U(n(63)),i=U(n(3)),o=U(n(14)),a=n(57),s=U(n(2)),u=n(106),l=U(n(688)),c=U(n(26)),d=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=w();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(747)),f=U(n(410)),_=U(n(204)),p=n(450),E=n(31),h=n(48),m=U(n(214)),v=U(n(97)),T=U(n(11)),g=U(n(1268)),I=U(n(10)),S=U(n(715)),y=U(n(298)),A=U(n(1252)),O=U(n(15)),N=U(n(428)),R=U(n(201)),b=U(n(40)),L=U(n(70)),D=U(n(36)),C=U(n(181)),M=U(n(12)),P=n(1);function w(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return w=function(){return e},e}function U(e){return e&&e.__esModule?e:{default:e}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function G(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Y(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function V(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function H(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){V(o,r,i,a,s,"next",e)}function s(e){V(o,r,i,a,s,"throw",e)}a(void 0)}))}}var F,B=new c.default("ReadStateStore");__OVERLAY__&&(F=n(376).default);var j=r.default.add(P.Permissions.READ_MESSAGE_HISTORY,P.Permissions.VIEW_CHANNEL),W=!1,K=null,z=null,q=!1,X=[],J=!1,Q={};function Z(e){return e&&Date.parse(e)||0}function $(e,t){var n=I.default.getChannel(e.channel_id);return null!=n&&(!L.default.isBlocked(e.author.id)&&(!!(0,d.default)(e,t.id,C.default.isSuppressEveryoneEnabled(n.guild_id),C.default.isSuppressRolesEnabled(n.guild_id))||!!ee(n)))}function ee(e){return null!=e&&e.isPrivate()&&!C.default.isGuildOrCategoryOrChannelMuted(e.guild_id,e.id)}function te(){return ne.apply(this,arguments)}function ne(){return(ne=H(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==X.length){e.next=3;break}return J=!1,e.abrupt("return");case 3:return J=!0,t=X.splice(0,100),e.next=7,re((function(){return o.default.post({url:P.Endpoints.BULK_ACK,body:{read_states:t},oldFormErrors:!0})}));case 7:return e.next=9,(0,a.timeoutPromise)(1e3);case 9:te();case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function re(e){return ie.apply(this,arguments)}function ie(){return(ie=H(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=0;case 1:if(!(n<3)){e.next=19;break}return e.prev=2,e.next=5,t();case 5:return e.abrupt("return",e.sent);case 8:if(e.prev=8,e.t0=e.catch(2),B.error("",e.t0),!(n+1<3)){e.next=16;break}return e.next=14,(0,a.timeoutPromise)(2e3*(n+1));case 14:return e.next=16,m.default.awaitOnline();case 16:n++,e.next=1;break;case 19:case"end":return e.stop()}}),e,null,[[2,8]])})))).apply(this,arguments)}function oe(e){var t=l.default.getLayout(e.channelId),n=null!=F&&F.isInstanceFocused()&&F.isPinned(P.OverlayWidgets.TEXT),r=R.default.getMessages(e.channelId);return(W||n)&&e.hasUnreadOrMentions()&&S.default.isAtBottom(e.channelId)&&t!==P.ChannelLayouts.NO_CHAT&&t!==P.ChannelLayouts.FULL_SCREEN&&Q[e.channelId]&&null!=r&&r.ready&&!r.loadingMore&&!N.default.isIdle()&&!0}var ae=function(){function e(e){this.channelId=e,this._guildId=null,this._isThread=!1,this._isActiveJoinedThread=!1,this._persisted=!1,this.loadedMessages=!1,this._lastMessageId=null,this._lastMessageTimestamp=0,this._ackMessageId=null,this._ackMessageTimestamp=0,this.isManualAck=!1,this.ackPinTimestamp=0,this.lastPinTimestamp=0,this._oldestUnreadMessageId=null,this.oldestUnreadMessageIdStale=!1,this.estimated=!1,this._unreadCount=0,this._mentionCount=0,this.outgoingAck=null}e.forEach=function(t){for(var n=0,r=Object.keys(e._readStates);n<r.length;n++){var i=r[n];if(!1===t(e._readStates[i]))break}},e.get=function(t){var n=e._readStates[t];return null==n&&(n=new e(t),e._readStates[t]=n),n},e.getIfExists=function(t){return e._readStates[t]},e.getValue=function(t,n,r){var i=e._readStates[t];return null==i?r:n(i)},e.clear=function(t){return null!=e._readStates[t]&&(delete e._readStates[t],!0)},e.clearAll=function(){e._readStates={}};var t,n,r,i=e.prototype;return i.serialize=function(){return{channelId:this.channelId,_guildId:this._guildId,_isThread:this._isThread,_isActiveJoinedThread:this._isActiveJoinedThread,_persisted:this._persisted,loadedMessages:this.loadedMessages,lastMessageId:this.lastMessageId,ackMessageId:this.ackMessageId,ackPinTimestamp:this.ackPinTimestamp,isManualAck:this.isManualAck,lastPinTimestamp:this.lastPinTimestamp,_oldestUnreadMessageId:this._oldestUnreadMessageId,oldestUnreadMessageIdStale:this.oldestUnreadMessageIdStale,estimated:this.estimated,unreadCount:this._unreadCount,mentionCount:this._mentionCount}},i.deserialize=function(e){var t=e.channelId,n=e._guildId,r=e._isThread,i=e._isActiveJoinedThread,o=e._persisted,a=e.loadedMessages,s=e.lastMessageId,u=e.ackMessageId,l=e.ackPinTimestamp,c=e.isManualAck,d=e.lastPinTimestamp,f=e._oldestUnreadMessageId,_=e.oldestUnreadMessageIdStale,p=e.estimated,E=e.unreadCount,h=e.mentionCount;this.channelId=t,this._guildId=n,this._isThread=r,this._isActiveJoinedThread=i,this._persisted=!1!==o,this.loadedMessages=a,this.lastMessageId=s,this.ackMessageId=u,this.ackPinTimestamp=l,this.isManualAck=c,this.lastPinTimestamp=d,this._oldestUnreadMessageId=f,this.oldestUnreadMessageIdStale=_,this.estimated=p,this._unreadCount=E,this._mentionCount=h},i.guessAckMessageId=function(){var e=R.default.getMessages(this.channelId);if(null!=this.ackMessageId||!this.isPrivate()||e.hasMoreAfter)return this.ackMessageId;if(!this.hasMentions())return this.lastMessageId;var t=null,n=this.mentionCount,r=M.default.getCurrentUser();return e.forEach((function(e){if(n>0&&e.author.id!==r.id)--n;else if(0===n)return t=e.id,!1}),this,!0),t},i.isPrivate=function(){var e=I.default.getChannel(this.channelId);return null!=e&&e.isPrivate()},i.rebuild=function(e,t,n){var r=this;if(void 0===t&&(t=!1),this.ackMessageId=e||this.ackMessageId||this.guessAckMessageId(),this.isManualAck=null!=e,this.oldestUnreadMessageId=null,this.estimated=!1,this._unreadCount=0,t&&(this._mentionCount=0),this.hasUnread()){var i=M.default.getCurrentUser(),o=this.getAckTimestamp(),a=!1,s=!1,u=null,l=R.default.getMessages(this.channelId);l.forAll((function(e){a?r.oldestUnreadMessageId=r.oldestUnreadMessageId||e.id:a=e.id===r.ackMessageId,v.default.extractTimestamp(e.id)>o?(r._unreadCount++,t&&$(e,i)&&r._mentionCount++,u=u||e.id):s=!0})),this.estimated=!l.hasPresent()||!(a||s)&&l.length===this._unreadCount,this.oldestUnreadMessageId=this.oldestUnreadMessageId||u}null!=n&&(this._mentionCount=n)},i.hasUnread=function(){return!(this._isThread&&!this._isActiveJoinedThread)&&this.getAckTimestamp()<this._lastMessageTimestamp},i.hasMentions=function(){return this.getMentionCount()>0},i.getMentionCount=function(){return this.mentionCount},i.hasUnreadOrMentions=function(){return this.hasMentions()||this.hasUnread()},i.ackPins=function(e){var t=this;if(void 0===e&&(e=null),this._isThread&&!this._isActiveJoinedThread)return!1;if(null==e){if(this.lastPinTimestamp===this.ackPinTimestamp)return!1;this._persisted=!0,re((function(){return o.default.post({url:P.Endpoints.PINS_ACK(t.channelId),oldFormErrors:!0})}))}return this.ackPinTimestamp=Z(e)||this.lastPinTimestamp,!0},i.ack=function(e,t,n,r,i,o){var a=this;if(void 0===t&&(t=!1),void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=!1),void 0===o&&(o={section:P.AnalyticsSections.CHANNEL}),!this._shouldAck(r,t,i))return!1;if(this._isThread&&!this._isActiveJoinedThread)return!1;var s=this.hasMentions();return this.estimated=!1,this._unreadCount=0,this._mentionCount=0,(null!=e||null!=(e=this.lastMessageId))&&(this.ackMessageId=e,this.isManualAck=!1,t?this.oldestUnreadMessageId=null:(null==this.outgoingAck&&setTimeout((function(){a._ack(o),a.outgoingAck=null}),s||n?0:3e3),this.outgoingAck=e),!0)},i._shouldAck=function(e,t,n){return!!e||(!!n||(!!t||!this.isManualAck&&!!this.loadedMessages))},i._ack=function(e){var t=this,n=this.outgoingAck;if(null!=n&&!T.default.isGuest()){var r=T.default.getId(),i=z;this._persisted=!0,re((function(){return o.default.post({url:P.Endpoints.MESSAGE_ACK(t.channelId,n),body:{token:z},oldFormErrors:!0})})).then((function(n){if(null!=n){z===i&&r===T.default.getId()&&(z=n.body.token);var o=I.default.getChannel(t.channelId);(0,u.trackWithMetadata)(P.AnalyticEvents.ACK_MESSAGES,{channel_id:t.channelId,guild_id:null==o?void 0:o.getGuildId(),location:e})}}))}},i.delete=function(t){void 0===t&&(t=!0),t&&this._persisted&&o.default.delete({url:P.Endpoints.CHANNEL_ACK(this.channelId),body:{version:1},oldFormErrors:!0}),delete e._readStates[this.channelId]},i.shouldDeleteReadState=function(){var e=I.default.getChannel(this.channelId);return 0===y.default.totalUnavailableGuilds&&(null==e||!!E.ALL_CHANNEL_TYPES.has(e.type)&&(!(0,E.isReadableType)(e.type)||!e.isPrivate()&&(!(!E.THREAD_CHANNEL_TYPES.has(e.type)||de(this))||!b.default.can(j,e))))},i.getAckTimestamp=function(){var e=this._ackMessageTimestamp;if(0===e){if(this._isThread)return this._ackMessageTimestamp=ce(this.guildId,this.channelId),this._ackMessageId=v.default.fromTimestamp(this._ackMessageTimestamp),this._ackMessageTimestamp;e=v.default.extractTimestamp(this.channelId);var t=I.default.getChannel(this.channelId);if(null!=t){var n=t.getGuildId();if(null!=n){var r=O.default.getGuild(n);null!=r&&(e=null!=r.joinedAt?+r.joinedAt:Date.now())}}this._ackMessageTimestamp=e}return e},i.syncThreadSettings=function(){var e=de(this);return this._isThread=!0,this._isActiveJoinedThread!==e&&(this.resetThreadSettings(e),!0)},i.resetThreadSettings=function(e){return this._isThread=!0,this._isActiveJoinedThread=e,this.ackPinTimestamp=ce(this.guildId,this.channelId),this.ackMessageId=v.default.fromTimestamp(this.ackPinTimestamp),this.oldestUnreadMessageId=null,this.oldestUnreadMessageIdStale=!1,this._unreadCount=0,this._mentionCount=0,this.estimated=!1,this.isManualAck=!1,!0},t=e,(n=[{key:"oldestUnreadMessageId",get:function(){return this._isThread&&!this._isActiveJoinedThread?null:this._oldestUnreadMessageId},set:function(e){this._oldestUnreadMessageId=e,this.oldestUnreadMessageIdStale=!1}},{key:"lastMessageId",get:function(){return this._lastMessageId},set:function(e){this._lastMessageId=e,this._lastMessageTimestamp=v.default.extractTimestamp(e)}},{key:"ackMessageId",get:function(){return this._isThread&&!this._isActiveJoinedThread?null:this._ackMessageId},set:function(e){this._ackMessageId=e,this._ackMessageTimestamp=v.default.extractTimestamp(e)}},{key:"unreadCount",get:function(){return this._isThread&&!this._isActiveJoinedThread?0:this._unreadCount}},{key:"mentionCount",get:function(){return this._isThread&&!this._isActiveJoinedThread?0:this._mentionCount}},{key:"guildId",get:function(){if(null!=this._guildId)return this._guildId;var e=I.default.getChannel(this.channelId);return this._guildId=null!=e?e.getGuildId():null}},{key:"oldestUnreadTimestamp",get:function(){return v.default.extractTimestamp(this.oldestUnreadMessageId)}}])&&x(t.prototype,n),r&&x(t,r),e}();function se(e){e.forEach((function(e){if((0,E.isReadableType)(e.type)){var t=ae.get(e.id);t.lastMessageId=e.lastMessageId,t.lastPinTimestamp=Z(e.lastPinTimestamp),t._isThread=E.THREAD_CHANNEL_TYPES.has(e.type),t._isActiveJoinedThread=t._isThread&&de(t)}}))}function ue(e){e.forEach((function(e){if((0,E.isReadableType)(e.type)){var t=ae.get(e.id);t.lastMessageId=e.last_message_id,t.lastPinTimestamp=Z(e.last_pin_timestamp),t._isThread=E.THREAD_CHANNEL_TYPES.has(e.type),t._isActiveJoinedThread=t._isThread&&de(t)}}))}function le(e){var t;null===(t=e.threads)||void 0===t||t.forEach((function(t){if(E.ALL_CHANNEL_TYPES.has(t.type)){var n=ae.get(t.id);n.lastMessageId=t.lastMessageId,n.lastPinTimestamp=Z(t.lastPinTimestamp),n._isThread=!0,n._isActiveJoinedThread=!0,null==n.ackMessageId&&(n.ackMessageId=v.default.fromTimestamp(ce(e.id,t.id))),null==n.ackPinTimestamp&&(n.ackPinTimestamp=ce(e.id,t.id))}}))}function ce(e,t){var n,r,i,o=I.default.getChannel(t),a=O.default.getGuild(e||(null==o?void 0:o.guild_id)),s=null!=a&&null!=a.joinedAt?+a.joinedAt:Date.now(),u=(null!==(n=null===(r=_.default.joinTimestamp(t))||void 0===r?void 0:r.getTime())&&void 0!==n?n:0)-5e3,l=null==o||null===(i=o.threadMetadata)||void 0===i?void 0:i.archiveTimestamp,c=l?new Date(l).getTime():0,d=Math.max(u,c);return 0===d&&(d=v.default.extractTimestamp(t)),Math.max(s,d)}function de(e){var t=e.guildId;return null!=t&&f.default.isActive(t,e.channelId)&&_.default.hasJoined(e.channelId)}function fe(e){if(null!=e){var t=ae.get(e);if(oe(t))return t.ack()}return!1}function _e(e){var t=e.channelId;ae.get(t).rebuild()}function pe(e){var t=e.channel;return ae.clear(t.id)}function Ee(e){null!=e&&(ae.get(e).isManualAck=!1)}function he(e){if(null==e)return!1;var t=ae.get(e);return!t.hasUnread()&&(t.oldestUnreadMessageId=null,!0)}function me(e){if(null==e)return!1;var t=ae.get(e);W||t.hasUnread()||(t.oldestUnreadMessageIdStale=!0);var n=l.default.getLayout(e);return(!W||n!==P.ChannelLayouts.NO_CHAT&&n!==P.ChannelLayouts.FULL_SCREEN)&&fe(e)}function ve(e){var t=e.channelId,n=e.messageId,r=e.manual,i=e.newMentionCount,o=ae.get(t);return r?(o.rebuild(n,!0,i),!0):n!==o.ackMessageId&&o.ack(n,!0)}ae._readStates={};var Te=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,k(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(S.default,M.default,O.default,y.default,A.default,I.default,D.default,R.default,b.default,l.default,f.default,_.default,g.default)},i.getForDebugging=function(e){return ae.getIfExists(e)},i.hasUnread=function(e){return ae.getValue(e,(function(e){return e.hasUnread()}),!1)},i.hasCategoryUnread=function(e){var t=I.default.getChannel(e);if(null==t)return!1;var n=A.default.getCategories(t.getGuildId());if(null==n[t.id])return!1;var r=n[t.id].filter((function(e){var t=e.channel,n=t.id,r=t.type,i=t.guild_id;return(0,E.isReadableType)(r)&&!C.default.isGuildOrCategoryOrChannelMuted(i,n)})).map((function(e){var t=e.channel;return ae.get(t.id).hasUnread()})).some((function(e){return e}));if(r)return!0;var i=new Set(n[t.id].map((function(e){return e.channel.id}))),o=f.default.getThreadsForGuild(t.guild_id);for(var a in o)if(i.has(o[a].parentId)&&_.default.hasJoined(a)&&ae.get(a).hasUnread())return!0;return!1},i.getUnreadCount=function(e){return ae.getValue(e,(function(e){return e.unreadCount}),0)},i.getMentionCount=function(e){return ae.getValue(e,(function(e){return e.getMentionCount()}),0)},i.ackMessageId=function(e){return ae.getValue(e,(function(e){return e.ackMessageId}),null)},i.lastMessageId=function(e){return ae.getValue(e,(function(e){return e.lastMessageId}),null)},i.lastPinTimestamp=function(e){return ae.getValue(e,(function(e){return e.lastPinTimestamp}),null)},i.getOldestUnreadMessageId=function(e){return ae.getValue(e,(function(e){return e.oldestUnreadMessageId}),null)},i.getOldestUnreadTimestamp=function(e){return ae.getValue(e,(function(e){return e.oldestUnreadTimestamp}),0)},i.isEstimated=function(e){return ae.getValue(e,(function(e){return e.estimated}),!1)},i.hasUnreadPins=function(e){return ae.getValue(e,(function(e){return e.lastPinTimestamp>e.ackPinTimestamp}),!1)},i.getAllReadStates=function(){var e=[];return ae.forEach((function(t){null==I.default.getChannel(t.channelId)||t.shouldDeleteReadState()||e.push(t.serialize())})),e},r}(i.default.Store))(s.default,{CONNECTION_OPEN:function(e){var t=e.guilds,n=e.channels,r=e.readState;z=null,q||r.partial||ae.clearAll(),q=!1;var i=[];r.entries.forEach((function(e){var t=ae.get(e.id);if(t._persisted=!0,t.shouldDeleteReadState())i.push(t);else{t._mentionCount=e.mention_count||0;var n=I.default.getChannel(e.id);!(null==n?void 0:n.isThread())||null!=e.last_message_id&&0!==e.last_message_id?t.ackMessageId=e.last_message_id:t.ackMessageId=v.default.fromTimestamp(ce(n.guild_id,n.id)),t.ackPinTimestamp=Z(e.last_pin_timestamp)}})),i.length>0&&(B.log("Deleting "+i.length+" read states."),i.forEach((function(e){return e.delete()}))),se(n),t.forEach((function(e){return le(e)}))},OVERLAY_INITIALIZE:function(e){var t=e.readStates,n=e.selectedChannelId;z=null,K=n,ae.clearAll(),t.forEach((function(e){var t=ae.get(e.channelId);t.deserialize(e),t.rebuild()}))},CACHE_LOADED:function(e){var t=e.readStates;q=!0,t.forEach((function(e){ae.get(e.channelId).deserialize(e)}))},GUILD_CREATE:function(e){var t=e.guild;ae.forEach((function(e){e.guildId===t.id&&e.shouldDeleteReadState()&&e.delete(!1)})),t.channels.forEach((function(e){var t=ae.getIfExists(e.id);null!=t&&t.shouldDeleteReadState()&&t.delete(!1)})),se(t.channels),le(t)},LOAD_MESSAGES_SUCCESS:function(e){var t=e.channelId,n=e.isAfter,r=e.messages,i=ae.get(t);i.loadedMessages=!0;var o=R.default.getMessages(t);o&&(o.hasPresent()||o.jumpTargetId===i.ackMessageId?i.rebuild():n&&null!=i.ackMessageId&&o.has(i.ackMessageId,!0)&&(i._unreadCount+=r.length,null==i.oldestUnreadMessageId&&i.rebuild())),ue(r.map((function(e){return e.thread})).filter(h.isNotNullish))},MESSAGE_CREATE:function(e){var t=e.channelId,n=e.message,r=e.isPushNotification,i=ae.get(t);i.lastMessageId=n.id;var o=M.default.getNullableCurrentUser();if(null!=n.author&&null!=o&&n.author.id===o.id)return ve({channelId:t,messageId:n.id,manual:!1});var a=D.default.getChannelId(),s=g.default.getCurrentThreadId(a),u=a===t||s===t;return u&&oe(i)&&!r||null!=F&&F.isInstanceFocused()&&u&&F.isInstanceUILocked()&&F.isPinned(P.OverlayWidgets.TEXT)?i.ack(n.id):((null==i.oldestUnreadMessageId||i.oldestUnreadMessageIdStale)&&(i.oldestUnreadMessageId=n.id),i._unreadCount++,void(L.default.isBlocked(n.author.id)||(null!=o&&(0,d.isRawMessageMentioned)(n,o.id,C.default.isSuppressEveryoneEnabled(i.guildId),C.default.isSuppressRolesEnabled(i.guildId))||ee(I.default.getChannel(t)))&&i._mentionCount++))},MESSAGE_DELETE:_e,MESSAGE_DELETE_BULK:_e,MESSAGE_ACK:ve,CHANNEL_ACK:function(e){var t=e.channelId,n=e.messageId,r=void 0===n?void 0:n,i=e.immediate,o=void 0!==i&&i,a=e.force,s=void 0!==a&&a,u=e.context,l=e.location,c=ae.get(t),d=c.ack(r,u!==P.CURRENT_APP_CONTEXT,o,s,!0,l);return null!=r?(c.rebuild(),!0):d},CHANNEL_LOCAL_ACK:function(e){var t=e.channelId;return ae.get(t).ack(void 0,!0,void 0,void 0,!0)},CHANNEL_PINS_ACK:function(e){var t=e.channelId,n=e.timestamp;return ae.get(t).ackPins(n)},CHANNEL_PINS_UPDATE:function(e){var t=e.channelId,n=e.lastPinTimestamp,r=ae.get(t),i=Z(n);return r.lastPinTimestamp!==i&&(r.lastPinTimestamp=i,!0)},CHANNEL_UNREAD_UPDATE:function(e){var t=e.channelUnreadUpdates,n=!1;return t.forEach((function(e){var t=ae.get(e.id);t.lastMessageId!==e.last_message_id&&(t.lastMessageId=e.last_message_id,n=!0)})),n},CHANNEL_SELECT:function(e){var t=e.channelId,n=g.default.getCurrentThreadId(K),r=g.default.getCurrentThreadId(t);Ee(K),Ee(n);var i=!1;return K!==t&&(i=he(K)||i,i=he(n)||i),K===t&&(i=fe(t)||i,i=fe(r)||i),K=t,i},CHANNEL_CREATE:function(e){var t=e.channel;if(!(0,E.isReadableType)(t.type))return!1;var n=ae.get(t.id);n.lastMessageId=t.lastMessageId,n.lastPinTimestamp=Z(t.lastPinTimestamp)},THREAD_CREATE:function(e){var t=e.channel;if(!E.ALL_CHANNEL_TYPES.has(t.type))return!1;var n=ae.get(t.id);n.lastMessageId=t.lastMessageId,n.lastPinTimestamp=Z(t.lastPinTimestamp),n.syncThreadSettings(),t.ownerId===T.default.getId()&&(n.loadedMessages=!0)},THREAD_UPDATE:function(e){var t=e.channel;return!!E.ALL_CHANNEL_TYPES.has(t.type)&&ae.get(t.id).syncThreadSettings()},THREAD_LIST_SYNC:function(e){e.threads.forEach((function(e){if(E.ALL_CHANNEL_TYPES.has(e.type)){var t=ae.get(e.id);t.lastMessageId=e.lastMessageId,t.lastPinTimestamp=Z(e.lastPinTimestamp),t._isThread=!0;var n=t._isActiveJoinedThread;t._isActiveJoinedThread=de(t),(!t._isActiveJoinedThread||!1===n&&t._isActiveJoinedThread)&&t.resetThreadSettings(t._isActiveJoinedThread)}}))},LOAD_ARCHIVED_THREADS_SUCCESS:function(e){ue(e.threads)},SEARCH_FINISH:function(e){for(var t,n=e.messages,r=e.threads,i=G(n);!(t=i()).done;){ue(t.value.map((function(e){return e.thread})).filter(h.isNotNullish))}ue(r)},THREAD_MEMBER_UPDATE:function(e){var t=e.id;return ae.get(t).syncThreadSettings()},THREAD_MEMBERS_UPDATE:function(e){return(0,p.doesThreadMembersActionAffectMe)(e)&&ae.get(e.id).syncThreadSettings()},CHANNEL_DELETE:pe,THREAD_DELETE:pe,WINDOW_FOCUS:function(e){W=e.focused;var t=me(K);return t=me(g.default.getCurrentThreadId(K))||t},UPDATE_CHANNEL_DIMENSIONS:function(e){return fe(e.channelId)},CURRENT_USER_UPDATE:function(e){z=null},DRAWER_OPEN:function(e){return function(){if(null!=K){var e=ae.get(K);e.hasUnread()||(e.oldestUnreadMessageIdStale=!0)}return!1}()},DRAWER_CLOSE:function(e){return fe(K)},BULK_ACK:function(e){var t=e.channels,n=e.context,r=t.filter((function(e){return null!=e.messageId&&Te.hasUnread(e.channelId)}));r.forEach((function(e){var t=e.channelId,n=e.messageId;ae.get(t).ack(n,!0,void 0,void 0,!0)})),n===P.CURRENT_APP_CONTEXT&&(X.push.apply(X,r.map((function(e){return{channel_id:e.channelId,message_id:e.messageId}}))),J||te())},ENABLE_AUTOMATIC_ACK:function(e){var t=e.channelId;return Q[t]=!0,fe(t)},DISABLE_AUTOMATIC_ACK:function(e){var t=e.channelId;return Q[t]=!1,!1}}),ge=Te;t.default=ge},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=A(n(8)),i=A(n(3)),o=A(n(2)),a=A(n(762)),s=A(n(26)),u=n(297),l=A(n(685)),c=(n(682),A(n(712))),d=n(99),f=A(n(10)),_=A(n(715)),p=A(n(86)),E=A(n(56)),h=A(n(15)),m=A(n(40)),v=A(n(70)),T=A(n(36)),g=A(n(107)),I=A(n(39)),S=A(n(12)),y=n(1);function A(e){return e&&e.__esModule?e:{default:e}}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(){return(N=Object.assign||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}).apply(this,arguments)}var R={};function b(){var e=T.default.getChannelId();a.default.forEach((function(t){t.channelId===e?a.default.commit(t.mutate({ready:!1,loadingMore:!1})):a.default.clear(t.channelId)}))}function L(){a.default.forEach((function(e){e.forAll((function(e){e.timestamp.locale(I.default.locale)}))}))}function D(){a.default.forEach((function(e){var t=e.channelId;null==f.default.getChannel(t)&&a.default.clear(t)}))}function C(){a.default.forEach((function(e){a.default.commit(e.reset(e.map((function(e){return e.set("blocked",v.default.isBlocked(e.author.id))}))))}))}function M(e){}function P(e){var t=e.type,n=e.channelId,r=e.messageId,i=e.userId,o=e.emoji,s=e.optimistic,u=a.default.get(n);if(null==u)return!1;var l=S.default.getCurrentUser(),c=null!=l&&l.id===i;if(s&&!c)return!1;u=u.update(r,(function(e){return t===y.ActionTypes.MESSAGE_REACTION_ADD?e.addReaction(o,c):e.removeReaction(o,c)})),a.default.commit(u)}function w(e,t){if(null!=t.author){var n=R[e]||{};n[t.id]=t,U(e,n)}else new s.default("MessageStore").log("Message was missing an author!")}function U(e,t){var n;R=N({},R,((n={})[e]=t,n))}var k=new(function(t){var n,i;function o(){return t.apply(this,arguments)||this}i=t,(n=o).prototype=Object.create(i.prototype),n.prototype.constructor=n,O(n,i);var s=o.prototype;return s.initialize=function(){this.waitFor(S.default,f.default,_.default,E.default,I.default,T.default,g.default,h.default,v.default,p.default),this.syncWith([c.default],(function(){}))},s.getRawMessages=function(e){return R[e]},s.getMessages=function(e){if(c.default.hasViewingRoles()){var t=f.default.getChannel(e),n=null==t?void 0:t.getGuildId();if(c.default.isViewingRoles(n)&&!m.default.can(y.Permissions.VIEW_CHANNEL,t))return new a.default(e)}return a.default.getOrCreate(e)},s.getMessage=function(e,t){return a.default.getOrCreate(e).get(t)},s.getLastEditableMessage=function(e){var t=S.default.getCurrentUser();return(0,r.default)(this.getMessages(e).toArray()).reverse().find((function(e){return e.author.id===t.id&&e.state===y.MessageStates.SENT&&!(0,l.default)(e)&&(0,u.canEditMessageWithStickers)(e)}))},s.jumpedMessageId=function(e){var t=a.default.get(e);return t&&t.jumpTargetId},s.hasPresent=function(e){var t=a.default.get(e);return t&&t.hasPresent()},s.whenReady=function(t,n){this.addConditionalChangeListener((function(){if(a.default.getOrCreate(t).ready)return e(n),!1}))},s.isLoadingMessages=function(e){return a.default.getOrCreate(e).loadingMore},s.hasCurrentUserSentMessage=function(e){var t=S.default.getCurrentUser(),n=!1;return this.getMessages(e).forAll((function(e,r){n=Boolean(n||e.author.id===t.id&&e.state===y.MessageStates.SENT)})),n},o}(i.default.Store))(o.default,{CONNECTION_OPEN:function(e){return b()},OVERLAY_INITIALIZE:function(e){return b()},CACHE_LOADED:function(e){var t=e.messages;r.default.forEach(t,(function(e,t){var n=r.default.values(e),i=a.default.getOrCreate(t);i=i.loadComplete({newMessages:n,cached:!0}),a.default.commit(i)}))},LOAD_MESSAGES:function(e){return!0},LOAD_MESSAGES_SUCCESS:function(e){var t=e.channelId,n=e.isBefore,r=e.isAfter,i=e.jump,o=e.hasMoreBefore,s=e.hasMoreAfter,u=e.messages,l=e.isStale,c=e.truncate,d=a.default.getOrCreate(t);d=d.loadComplete({newMessages:u,isBefore:n,isAfter:r,jump:i,hasMoreBefore:o,hasMoreAfter:s,cached:l}),null==c||!n&&!r||n&&r||(d=d.truncate(n,r)),a.default.commit(d),u.forEach((function(e){return w(t,e)}))},LOAD_MESSAGES_FAILURE:function(e){var t=e.channelId,n=a.default.getOrCreate(t);a.default.commit(n.mutate({loadingMore:!1,error:!0}))},LOAD_MESSAGES_SUCCESS_CACHED:function(e){var t=e.channelId,n=e.jump,r=e.before,i=e.after,o=e.limit,s=e.truncate,u=a.default.getOrCreate(t);n&&n.present?u=u.jumpToPresent(o):n&&n.messageId?u=u.jumpToMessage(n.messageId,n.flash,n.offset,n.returnMessageId,n.jumpType):(r||i)&&(u=u.loadFromCache(null!=r,o)),null==s||null==r&&null==i||null!=r&&null!=i||(u=u.truncate(null!=r,null!=i)),a.default.commit(u)},LOAD_MESSAGE_INTERACTION_DATA_SUCCESS:function(e){var t=e.messageId,n=e.channelId,r=a.default.get(n);if(null==r||!r.has(t))return!1;r=r.update(t,(function(t){return t.set("interactionData",e.interactionData)})),a.default.commit(r)},TRUNCATE_MESSAGES:function(e){var t=e.channelId,n=e.truncateBottom,r=e.truncateTop,i=a.default.getOrCreate(t);i=i.truncate(n,r),a.default.commit(i)},CLEAR_MESSAGES:function(e){var t=e.channelId;a.default.clear(t)},MESSAGE_CREATE:function(e){var t=e.channelId,n=e.message,r=e.isPushNotification,i=a.default.getOrCreate(t);return r?(a.default.commit(i.receivePushNotification(n)),void w(t,n)):!!i.ready&&(i=i.receiveMessage(n,_.default.isAtBottom(t)),a.default.commit(i),void w(t,n))},MESSAGE_SEND_FAILED:function(e){var t=e.channelId,n=e.messageId,r=e.reason,i=a.default.getOrCreate(t);if(null==i||!i.has(n))return!1;i=i.update(n,(function(e){return(e=e.set("state",y.MessageStates.SEND_FAILED)).type===y.MessageTypes.APPLICATION_COMMAND&&(e=(e=e.set("interactionError",null!=r?r:"")).set("flags",(0,d.addFlag)(e.flags,y.MessageFlags.EPHEMERAL))),e})),a.default.commit(i)},MESSAGE_UPDATE:function(e){var t=e.message.id,n=e.message.channel_id,r=a.default.getOrCreate(n);if(null==r||!r.has(t))return!1;r=r.update(t,(function(t){return(0,u.updateMessageRecord)(t,e.message)})),a.default.commit(r),w(n,e.message)},MESSAGE_DELETE:function(e){var t=e.id,n=e.channelId,r=a.default.getOrCreate(n);if(null==r||!r.has(t))return!1;if(r.revealedMessageId===t){var i=r.getAfter(t);r=null!=i&&i.blocked?r.mutate({revealedMessageId:i.id}):r.mutate({revealedMessageId:null})}r=r.remove(t),a.default.commit(r),function(e,t){var n=R[e]||{};delete n[t.id],U(e,n)}(n,{id:t})},MESSAGE_DELETE_BULK:function(e){var t=e.ids,n=e.channelId,i=a.default.getOrCreate(n);if(!i)return!1;var o=i.removeMany(t);if(i===o)return!1;if(null!=o.revealedMessageId&&r.default.some(t,(function(e){return o.revealedMessageId===e}))){var s=o.getAfter(o.revealedMessageId);o=null!=s&&s.blocked?o.mutate({revealedMessageId:s.id}):o.mutate({revealedMessageId:null})}a.default.commit(o)},MESSAGE_REVEAL:function(e){var t=e.channelId,n=e.messageId,r=a.default.getOrCreate(t);a.default.commit(r.mutate({revealedMessageId:n}))},USER_SETTINGS_UPDATE:function(e){return L()},I18N_LOAD_SUCCESS:function(e){return L()},THREAD_CREATE_LOCAL:function(e){var t=e.channelId,n=a.default.getOrCreate(t);n=n.loadComplete({newMessages:[],hasMoreAfter:!1,hasMoreBefore:!1}),a.default.commit(n)},CHANNEL_DELETE:function(e){return D()},THREAD_DELETE:function(e){return D()},GUILD_DELETE:function(e){return D()},RELATIONSHIP_ADD:function(e){return C()},RELATIONSHIP_REMOVE:function(e){return C()},GUILD_MEMBERS_CHUNK:M,THREAD_MEMBER_LIST_UPDATE:M,MESSAGE_REACTION_ADD:P,MESSAGE_REACTION_REMOVE:P,MESSAGE_REACTION_REMOVE_ALL:function(e){var t=e.channelId,n=e.messageId,r=a.default.get(t);if(null==r)return!1;r=r.update(n,(function(e){return e.set("reactions",[])})),a.default.commit(r)},MESSAGE_REACTION_REMOVE_EMOJI:function(e){var t=e.channelId,n=e.messageId,r=e.emoji,i=a.default.get(t);if(null==i)return!1;i=i.update(n,(function(e){return e.removeReactionsForEmoji(r)})),a.default.commit(i)},LOGOUT:function(e){a.default.forEach((function(e){a.default.clear(e.channelId)}))}});t.default=k}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hex2int=function(e){if(!e)return;4===e.length&&(e="#"+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);return parseInt(e.slice(1),16)},t.int2hex=function(e){var t=e>>8&255,n=255&e;return"#"+i((e>>16&255).toString(16))+i(t.toString(16))+i(n.toString(16))},t.int2hsl=function(e,t){void 0===t&&(t=!1);var n=e>>16&255,r=e>>8&255,i=255&e;n/=255,r/=255,i/=255;var o=Math.min(n,r,i),a=Math.max(n,r,i),s=a-o,u=0,l=0,c=0;u=0===s?0:a===n?(r-i)/s%6:a===r?(i-n)/s+2:(n-r)/s+4;(u=Math.round(60*u))<0&&(u+=360);return c=(a+o)/2,l=+(100*(l=0===s?0:s/(1-Math.abs(2*c-1)))).toFixed(1),c=+(100*c).toFixed(1),t?"hsl("+u+", calc(var(--saturation-factor, 1) * "+l+"%), "+c+"%)":"hsl("+u+", "+l+"%, "+c+"%)"},t.hex2rgb=function(e,t){void 0===t&&(t=1);var n=e.match(r);if(n){return 3!==(n=n.slice(1)).length?null:"rgba("+n.map((function(e){return 1===e.length&&(e+=e),parseInt(e,16)})).join(", ")+", "+t+")"}return null},t.int2rgba=function(e,t){null==t&&(t=(e>>24&255)/255);return"rgba("+(e>>16&255)+", "+(e>>8&255)+", "+(255&e)+", "+t+")"},t.int2hsv=function(e){var t,n=(e>>16&255)/255,r=(e>>8&255)/255,i=(255&e)/255,o=Math.max(n,r,i),a=Math.min(n,r,i),s=o,u=o-a;if(t=0===o?0:u/o,o===a)s=0;else{switch(o){case n:s=(r-i)/u+(r<i?6:0);break;case r:s=(i-n)/u+2;break;case i:s=(n-r)/u+4}s*=60}return{h:s,s:t,v:o}},t.getDarkness=function(e){return 1-(.299*(e>>16&255)+.587*(e>>8&255)+.114*(255&e))/255},t.isValidHex=function(e){if(4!==e.length&&7!=e.length||"#"!=e[0])return!1;return null!=e.match(r)};var r=/^#?([a-f,A-F,0-9]{1,2})([a-f,A-F,0-9]{1,2})([a-f,A-F,0-9]{1,2})$/;function i(e){return 1==e.length?"0"+e:e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LURKER_STAGE_CHANNEL_PERMISSIONS_ALLOWLIST=t.JOIN_VOCAL_CHANNEL_PERMISSIONS=t.UPDATE_STAGE_CHANNEL_MODERATOR_PERMISSIONS=t.STAGE_CHANNEL_DISABLED_PERMISSIONS=t.CREATE_STAGE_CHANNEL_PERMISSIONS=t.MODERATE_STAGE_CHANNEL_PERMISSIONS=void 0;var r,i=(r=n(63))&&r.__esModule?r:{default:r},o=n(1);var a=i.default.combine(o.Permissions.MANAGE_CHANNELS,o.Permissions.MUTE_MEMBERS,o.Permissions.MOVE_MEMBERS);t.MODERATE_STAGE_CHANNEL_PERMISSIONS=a;var s=i.default.combine(o.Permissions.MANAGE_CHANNELS,o.Permissions.MANAGE_ROLES);t.CREATE_STAGE_CHANNEL_PERMISSIONS=s;var u=new Set([o.Permissions.SPEAK,o.Permissions.REQUEST_TO_SPEAK,o.Permissions.USE_VAD]);t.STAGE_CHANNEL_DISABLED_PERMISSIONS=u;var l=i.default.combine(a,o.Permissions.MANAGE_ROLES);t.UPDATE_STAGE_CHANNEL_MODERATOR_PERMISSIONS=l;var c=i.default.combine(o.Permissions.CONNECT,o.Permissions.VIEW_CHANNEL);t.JOIN_VOCAL_CHANNEL_PERMISSIONS=c;var d=i.default.combine(c,o.Permissions.READ_MESSAGE_HISTORY,o.Permissions.REQUEST_TO_SPEAK,o.Permissions.SPEAK,o.Permissions.USE_VAD);t.LURKER_STAGE_CHANNEL_PERMISSIONS_ALLOWLIST=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(8)),i=d(n(3)),o=d(n(2)),a=n(31),s=d(n(11)),u=d(n(10)),l=d(n(181)),c=n(392);n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(){return(_=Object.assign||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}).apply(this,arguments)}var p=c.ThreadMemberFlags.NO_MESSAGES|c.ThreadMemberFlags.ONLY_MENTIONS|c.ThreadMemberFlags.ALL_MESSAGES,E=p|c.ThreadMemberFlags.HAS_INTERACTED,h={},m={};function v(e){h=(0,r.default)(h).reject((function(t){return t.guildId===e})).keyBy("threadId").value()}function T(e){var t;null===(t=e.threads)||void 0===t||t.forEach(g)}function g(e){a.ALL_CHANNEL_TYPES.has(e.type)&&null!=e.member&&(h[e.id]={threadId:e.id,guildId:e.guild_id,flags:e.member.flags,joinTimestamp:new Date(e.member.joinTimestamp)})}function I(e){var t=e.guildId,n=e.members;null!=t&&null!=n&&n.forEach((function(e){h[e.id]={threadId:e.id,guildId:t,flags:e.flags,joinTimestamp:new Date(e.joinTimestamp)}}))}var S=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var i=r.prototype;return i.hasJoined=function(e){return e in h},i.joinTimestamp=function(e){var t;return null===(t=h[e])||void 0===t?void 0:t.joinTimestamp},i.flags=function(e){var t;return null===(t=h[e])||void 0===t?void 0:t.flags},i.hasRecentlyAutoUpgradedNotifications=function(e){var t,n=null!==(t=m[e])&&void 0!==t?t:0;return Date.now()-n<9e5},r}(i.default.Store))(o.default,{CONNECTION_OPEN:function(e){h={},m={},e.guilds.forEach((function(e){T(e)}))},GUILD_CREATE:function(e){var t=e.guild;v(t.id),T(t)},GUILD_DELETE:function(e){v(e.guild.id)},THREAD_CREATE:function(e){g(e.channel)},THREAD_LIST_SYNC:I,SEARCH_FINISH:I,LOAD_ARCHIVED_THREADS_SUCCESS:I,THREAD_DELETE:function(e){var t=e.channel;if(!(t.id in h))return!1;delete(h=_({},h))[t.id]},THREAD_MEMBER_UPDATE:function(e){if(s.default.getId()!==e.userId)return!1;h[e.id]={threadId:e.id,guildId:e.guildId,flags:e.flags,joinTimestamp:new Date(e.joinTimestamp)},0!==(e.flags&p)&&delete m[e.id]},THREAD_MEMBERS_UPDATE:function(e){var t,n,r=!1;return(null===(t=e.removedMemberIds)||void 0===t?void 0:t.includes(s.default.getId()))&&e.id in h&&(delete(h=_({},h))[e.id],r=!0),null===(n=e.addedMembers)||void 0===n||n.forEach((function(t){t.userId===s.default.getId()&&((h=_({},h))[e.id]={threadId:e.id,guildId:e.guildId,flags:t.flags,joinTimestamp:new Date(t.joinTimestamp)},r=!0)})),r},MESSAGE_CREATE:function(e){var t,n=e.channelId;if((null===(t=e.message.author)||void 0===t?void 0:t.id)!==s.default.getId())return!1;var r=u.default.getChannel(n);if(!(null==r?void 0:r.isThread()))return!1;var i=h[n];return null!=i&&(0==(i.flags&E)&&(!l.default.isGuildOrCategoryOrChannelMuted(r.guild_id,r.parent_id)&&void(m[n]=Date.now())))}});t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NO_PERMISSIONS=t.StagePermissionBuckets=void 0;var r,i,o=m(n(3)),a=m(n(2)),s=m(n(10)),u=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(86)),l=m(n(56)),c=m(n(15)),d=m(n(12)),f=m(n(80)),_=m(n(78)),p=n(203),E=n(304);n(1);function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function m(e){return e&&e.__esModule?e:{default:e}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.StagePermissionBuckets=i,function(e){e.SPEAKER="speaker",e.MODERATOR="moderator"}(i||(t.StagePermissionBuckets=i={}));var I={},S=((r={})[i.SPEAKER]=!1,r[i.MODERATOR]=!1,r);function y(e,t){var n,r=s.default.getChannel(t),o=null==r?void 0:r.getGuildId(),a=c.default.getGuild(o);return null!=a&&null!=r&&r.isGuildStageVoice()?((n={})[i.SPEAKER]=function(e,t){var n=f.default.getVoiceStateForChannel(t,e);return(0,E.getAudienceRequestToSpeakState)(n)===E.RequestToSpeakStates.ON_STAGE}(e,t),n[i.MODERATOR]=function(e,t,n){return _.default.can(p.MODERATE_STAGE_CHANNEL_PERMISSIONS,e,t,n.permissionOverwrites,t.roles)}(e,a,r),n):S}function A(e,t){null==I[t]&&(I[t]={});var n=y(e,t);return I[t][e]=n,n}function O(e){if(null==I[e])return!1;for(var t=0,n=Object.keys(I[e]);t<n.length;t++){A(n[t],e)}return!0}function N(e){var t=e.guildId,n=e.user;return null!=n&&null!=t&&function(e,t){for(var n in I){var r;(null===(r=s.default.getChannel(n))||void 0===r?void 0:r.getGuildId())===t&&A(e,n)}return!0}(n.id,t)}t.NO_PERMISSIONS=S;var R=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var o=r.prototype;return o.initialize=function(){this.waitFor(l.default,s.default,c.default,d.default,f.default)},o.isSpeaker=function(e,t){return this.getPermissionsForUser(e,t)[i.SPEAKER]},o.isModerator=function(e,t){return this.getPermissionsForUser(e,t)[i.MODERATOR]},o.isAudienceMember=function(e,t){var n=this.getPermissionsForUser(e,t);return!n[i.SPEAKER]&&!n[i.MODERATOR]},o.getPermissionsForUser=function(e,t){var n;if(null==e||null==t)return S;var r=null===(n=I[t])||void 0===n?void 0:n[e];return null!=r?r:A(e,t)},r}(o.default.Store))(a.default,{CONNECTION_OPEN:function(e){var t=e.channels,n=e.user;I={};for(var r,i=T(t);!(r=i()).done;){var o=r.value;o.isGuildStageVoice()&&A(n.id,o.id)}return!0},CHANNEL_UPDATES:function(e){for(var t,n=T(e.updates);!(t=n()).done;){O(t.value.channel.id)}return!0},GUILD_ROLE_UPDATE:function(e){return function(e,t){for(var n,r=T(u.default.getChannels(e)[u.GUILD_VOCAL_CHANNELS_KEY].filter((function(e){return e.channel.isGuildStageVoice()})));!(n=r()).done;){var i=n.value.channel;if(null!=I[i.id])for(var o=0,a=Object.keys(I[i.id]);o<a.length;o++){var s=a[o],c=l.default.getMember(e,s);null!=t&&(null==c?void 0:c.roles.includes(t.id))||A(s,i.id)}}return!0}(e.guildId,e.role)},GUILD_MEMBER_UPDATE:N,GUILD_MEMBER_REMOVE:N,VOICE_STATE_UPDATE:function(e){var t=e.channelId;return function(e,t){if(null==t)return!1;var n=s.default.getChannel(t);return!(null==n||!n.isGuildStageVoice())&&(A(e,t),!0)}(e.userId,t)}});t.default=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.now=void 0;var r=n(771);t.now=function(){return Math.floor(r.timeOrigin+performance.now())}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.StageInstancePrivacyLevel=void 0,t.StageInstancePrivacyLevel=r,function(e){e[e.PUBLIC=1]="PUBLIC",e[e.GUILD_ONLY=2]="GUILD_ONLY"}(r||(t.StageInstancePrivacyLevel=r={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trackExposureToExperiment=function(e,t,n){if(!a.default.hasRegisteredExperiment(e))return void 0;if(!0===t.override)return;i.default.dirtyDispatch({type:s.ActionTypes.EXPERIMENT_TRIGGER,experimentId:e,descriptor:t,location:n})},t.registerUserExperiment=function(e){var t=e.id,n=e.clientFilter,r=e.title,i=e.description,s=e.buckets;return(0,a.registerExperiment)(t,o.ExperimentTypes.USER,n,r,i,s),{id:t,clientFilter:n}},t.registerGuildExperiment=function(e){var t=e.id,n=e.clientFilter,r=e.title,i=e.description,s=e.buckets;return(0,a.registerExperiment)(t,o.ExperimentTypes.GUILD,n,r,i,s),{id:t,clientFilter:n}},t.overrideBucket=function(e,t){i.default.dispatch({type:s.ActionTypes.EXPERIMENT_OVERRIDE_BUCKET,experimentId:e,experimentBucket:t})},t.registerExperimentLegacy=function(e,t){i.default.dirtyDispatch({type:s.ActionTypes.EXPERIMENT_REGISTER_LEGACY,store:e,renderFunctions:t})};var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(141),a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(187)),s=n(1);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),i=l(n(2)),o=l(n(118)),a=l(n(16)),s=l(n(155)),u=(n(1),l(n(6)));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(){return(f=Object.assign||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}).apply(this,arguments)}var _,p={},E=a.default.isWindows()?o.default.process.env.LOCALAPPDATA+"\\DiscordGames":a.default.isOSX()?"/Applications/DiscordGames":"/tmp";function h(e,t){var n;p=f({},p,((n={})[e]=f({},p[e]||{},{},t),n))}function m(e){var t=e.applicationId,n=e.branchId,r=e.installationPath;null==_.installations[t]&&(_.installations[t]={}),_.installations[t][n]={installationPath:r},_.installationPaths.has(r)||T({path:r,metadata:{}})}function v(e){var t=e.applicationId,n=e.branchId;if(null==_.installations[t])return!1;delete _.installations[t][n],0===Object.keys(_.installations[t]).length&&delete _.installations[t]}function T(e){if(_.installationPaths.has(e.path))return!1;h(e.path,e.metadata);var t=new Set(_.installationPaths);t.add(e.path),_.installationPaths=t}var g=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var i,a,s,l=r.prototype;return l.initialize=function(e){var t=f({},e);null==t.installations&&(t.installations={}),null==t.defaultInstallationPath&&(t.defaultInstallationPath=E),null==t.installationPaths?t.installationPaths=new Set([t.defaultInstallationPath]):t.installationPaths=new Set(Array.from(t.installationPaths)),null==t.pathLabels&&(t.pathLabels={}),_=t},l.getState=function(){return _},l.hasGamesInstalledInPath=function(e){var t=_.installations;for(var n in t)for(var r in t[n])if(t[n][r].installationPath===e)return!0;return!1},l.shouldBeInstalled=function(e,t){return null!=_.installations[e]&&null!=_.installations[e][t]},l.getInstallationPath=function(e,t){return null==_.installations[e]||null==_.installations[e][t]?null:_.installations[e][t].installationPath},l.getLabelFromPath=function(e){return e===E?u.default.Messages.INSTALL_LOCATION_MAIN:o.default.fileManager.basename(e)||e.replace(/[/\\]+$/,"").split(/[/\\]+/g).slice(-1)[0]||"?"},i=r,(a=[{key:"defaultInstallationPath",get:function(){return _.defaultInstallationPath}},{key:"installationPaths",get:function(){return Array.from(_.installationPaths).map((function(e){return{path:e,label:_.pathLabels[e]}}))}},{key:"installationPathsMetadata",get:function(){return p}}])&&c(i.prototype,a),s&&c(i,s),r}(r.default.PersistedStore);g.persistKey="InstallationManagerStore";var I=new g(i.default,{DISPATCH_APPLICATION_INSTALL:m,DISPATCH_APPLICATION_UNINSTALL:v,DISPATCH_APPLICATION_CANCEL:function(e){var t=e.applicationId,n=e.branchId,r=s.default.getState(t,n);null!=r&&null==r.buildId&&null==r.manifestIds&&v({applicationId:t,branchId:n})},INSTALLATION_LOCATION_ADD:T,INSTALLATION_LOCATION_REMOVE:function(e){var t=e.path;if(!_.installationPaths.has(t))return!1;if(_.defaultInstallationPath===t)return!1;var n=new Set(_.installationPaths);n.delete(t),_.installationPaths=n,function(e){delete(p=f({},p))[e]}(t),function(e){if(null==_.pathLabels[e])return!1;_.pathLabels=f({},_.pathLabels),delete _.pathLabels[e]}(t)},INSTALLATION_LOCATION_UPDATE:function(e){var t=e.path,n=e.label,r=e.isDefault;if(!_.installationPaths.has(t))return!1;null!=n&&""!==n&&_.pathLabels[t]!==n&&function(e,t){var n;_.pathLabels=f({},_.pathLabels,((n={})[e]=t,n))}(t,n),r&&_.defaultInstallationPath!==t&&(_.defaultInstallationPath=t)},INSTALLATION_LOCATION_FETCH_METADATA:function(e){var t=e.metadataPayload;for(var n in t)h(n,t[n])},DISPATCH_APPLICATION_ADD_TO_INSTALLATIONS:m});t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o=(r=n(28))&&r.__esModule?r:{default:r},a=n(92);var s=!1,u={init:function(){s||(i=o.default.get(a.TOKEN_KEY),s=!0)},getToken:function(){return this.init(),i},setToken:function(e){null==e?o.default.remove(a.TOKEN_KEY):o.default.set(a.TOKEN_KEY,e),i=e},hideToken:function(){o.default.remove(a.TOKEN_KEY)},showToken:function(){null!=i&&o.default.set(a.TOKEN_KEY,i)},removeToken:function(){i=null,o.default.remove(a.TOKEN_KEY)}};t.default=u},function(e,t,n){"use strict";(function(e,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=u(n(23)),o=u(n(190)),a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(431));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(e){return e&&e.__esModule?e:{default:e}}var l,c=new o.default("Flux"),d=[],f=new Set,_=!1,p=null,E=!1,h=0,m=function(e){return e()},v=new Promise((function(e){l=function(){e(),l=null}}));var T=function(){function t(e,n){var r=this;this._isInitialized=!1,this._changeCallbacks=new Set,null==n&&(n={}),this._dispatchToken=e.register(this.constructor.name,n,(function(e){r.hasChangeCallbacks()&&(f.add(r),_&&null!=r._mustEmitChanges&&r._mustEmitChanges(e)&&t.resumeEmittingChanges(!1))})),this._dispatcher=e,d.push(this)}t.initialize=function(){!0,d.forEach((function(e){return e.initializeIfNeeded()})),null!=l&&l()},t.destroy=function(){d.length=0,f.clear(),_=!1,p&&clearTimeout(p),p=null,m=function(e){return e()}},t.injectBatchEmitChanges=function(e){m=e},t.pauseEmittingChanges=function(e){void 0===e&&(e=null),_=!0,null!==p&&clearTimeout(p),null!==e&&(p=setTimeout((function(){p=null,t.resumeEmittingChanges()}),e))},t.isPaused=function(){return _},t.resumeEmittingChanges=function(e){void 0===e&&(e=!0),null!==p&&(clearTimeout(p),p=null),_&&(_=!1,e&&f.size&&r(t.emitChanges))},t.emitChanges=function(){var e=Date.now();f.size&&!_&&(h++,E=!0,m((function(){return f.forEach((function(e){return e.emitChange()}))})),E=!1,f.clear());var t=Date.now();t-e>100&&c.log("Slow batch emitChanges took "+(t-e)+"ms recentActions:",a.serialize())},t.getChangeSentinel=function(){return h},t.getAll=function(){return d};var n=t.prototype;return n.initializeIfNeeded=function(){this._isInitialized||(this.initialize(),this._isInitialized=!0)},n.initialize=function(){},n.syncWith=function(t,n,i){var o=this;void 0===i&&(i=0);var a=function(t,n){var i=null;return 0===t?function(){e(i),i=r(n)}:function(){null==i&&(i=setTimeout((function(){try{n()}finally{i=null}}),t))}}(i,(function(){!1!==n()&&m((function(){return o.emitChange()}))}));t.forEach((function(e){return e.addChangeListener(a)}))},n.waitFor=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.map((function(t,n){return(0,i.default)(null!=t,"Store.waitFor(...) called with null Store at index "+n+" for store "+e.constructor.name),(0,i.default)(t._dispatcher===e._dispatcher,"Stores belong to two separate dispatchers."),t.getDispatchToken()}));this._dispatcher.addDependencies(this.getDispatchToken(),o)},n.hasChangeCallbacks=function(){return this._changeCallbacks.size>0},n.emitChange=function(){var e=Date.now();E||h++,this._changeCallbacks.forEach((function(e){return e()}));var t=Date.now();t-e>100&&c.log("Slow emitChange for "+this.constructor.name+" took "+(t-e)+"ms recentActions:",a.serialize())},n.addChangeListener=function(e){this._changeCallbacks.add(e)},n.addConditionalChangeListener=function(e,t){var n=this;if(void 0===t&&(t=!0),!t||!1!==e()){this.addChangeListener((function t(){!1===e()&&n.removeChangeListener(t)}))}},n.removeChangeListener=function(e){this._changeCallbacks.delete(e)},n.getDispatchToken=function(){return this._dispatchToken},n.mustEmitChanges=function(e){void 0===e&&(e=function(){return!0}),this._mustEmitChanges=e},t}();t.default=T,T.initialized=v}).call(this,n(68).clearImmediate,n(68).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(43))&&r.__esModule?r:{default:r};var o={flushDNSCache:function(){i.default.flushDNSCache()},flushCookies:function(){return i.default.flushCookies()},setApplicationBackgroundColor:function(e){i.default.setApplicationBackgroundColor(e)},setZoomFactor:function(e){return i.default.setZoomFactor(e)},focus:function(e,t){void 0===t&&(t=!1),i.default.focus(e,t)},submitLiveCrashReport:function(e){return i.default.submitLiveCrashReport(e)},getPidFromDesktopSource:function(e){return i.default.getPidFromDesktopSource(e)},getAudioPid:function(e){return i.default.getAudioPid(e)},generateSessionFromPid:function(e){return i.default.generateSessionFromPid(e)}};t.default=o},function(e,t,n){"use strict";function r(){return(r=Object.assign||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}).apply(this,arguments)}var i;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i=n(1553).default;var o=[],a=!1,s=r({},i,{awaitOnline:function(){return new Promise((function(e){if(i.isOnline())return e();if(o.push(e),!a){a=!0;i.addOnlineCallback((function e(){o.forEach((function(e){return e()})),o.length=0,a=!1,i.removeOnlineCallback(e)}))}}))}});t.default=s},function(e,t,n){"use strict";var r,i,o,a;Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationAuthorizationStatus=t.NativePermissionTypes=t.NativePermissionStates=t.NativePermissionStatus=void 0,t.NativePermissionStatus=r,function(e){e.AUTHORIZED="authorized",e.DENIED="denied",e.RESTRICTED="restricted",e.UNDETERMINED="undetermined"}(r||(t.NativePermissionStatus=r={})),t.NativePermissionStates=i,function(e){e.DISMISSED="dismissed",e.DENIED="denied",e.ACCEPTED="accepted",e.NO_DEVICES="no_devices",e.ERROR="error",e.NONE="none"}(i||(t.NativePermissionStates=i={})),t.NativePermissionTypes=o,function(e){e.AUDIO="audio",e.CAMERA="camera",e.STORAGE="storage",e.NOTIFICATIONS="notifications",e.PHOTOS="photos",e.CONTACTS="contacts",e.INPUT_MONITORING="input_monitoring"}(o||(t.NativePermissionTypes=o={})),t.NotificationAuthorizationStatus=a,function(e){e[e.UNDETERMINED=0]="UNDETERMINED",e[e.DENIED=1]="DENIED",e[e.AUTHORIZED=2]="AUTHORIZED",e[e.PROVISIONAL=3]="PROVISIONAL",e[e.EPHEMERAL=4]="EPHEMERAL"}(a||(t.NotificationAuthorizationStatus=a={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(){function e(){this.isInitialized=!1}var t=e.prototype;return t.initialize=function(){this.isInitialized||(this.isInitialized=!0,this._initialize.apply(this,arguments))},t.terminate=function(){this.isInitialized&&(this.isInitialized=!1,this._terminate())},e}();t.default=r},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.POPOUT_MODAL_CONTEXT=t.DEFAULT_MODAL_CONTEXT=t.TRANSITION_DURATION=t.ModalTransitionState=void 0,t.ModalTransitionState=r,function(e){e[e.ENTERING=0]="ENTERING",e[e.ENTERED=1]="ENTERED",e[e.EXITING=2]="EXITING",e[e.EXITED=3]="EXITED",e[e.HIDDEN=4]="HIDDEN"}(r||(t.ModalTransitionState=r={}));t.TRANSITION_DURATION=300;t.DEFAULT_MODAL_CONTEXT="default";t.POPOUT_MODAL_CONTEXT="popout"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n)}(n(0));var r,i=_(n(9)),o=_(n(29)),a=_(n(61)),s=_(n(55)),u=_(n(159)),l=n(35),c=_(n(24)),d=_(n(6)),f=_(n(5725));function _(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function E(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h=function(e){var t,n,r,_=e.body,p=e.cancelText,h=e.className,m=e.confirmText,v=void 0===m?d.default.Messages.OKAY:m,T=e.minorText,g=e.onCancel,I=e.onClose,S=e.onConfirm,y=e.onConfirmSecondary,A=e.title,O=e.transitionState;return p&&(t=E(o.default,{type:"button",size:o.default.Sizes.XLARGE,color:o.default.Colors.PRIMARY,onClick:function(){I&&I(),g&&g()},className:f.default.secondaryButton},void 0,p)),v&&(n=E(o.default,{type:"submit",size:o.default.Sizes.XLARGE,className:(0,i.default)(f.default.primaryButton,null!=t?f.default.gutter:null),autoFocus:!0},void 0,v)),T&&(r=E(a.default,{onClick:function(){I&&I(),y&&y()},className:f.default.minorContainer},void 0,E(c.default,{className:f.default.minorAction,size:c.default.Sizes.SIZE_12},void 0,T))),E(l.ModalRoot,{transitionState:O,className:(0,i.default)(h,f.default.container),"aria-label":A},void 0,E("form",{onSubmit:function(e){null!=e&&e.preventDefault(),I&&I(),S&&S()},className:f.default.form},void 0,E(l.ModalContent,{className:f.default.modalContent},void 0,E(s.default,{direction:s.default.Direction.VERTICAL,justify:s.default.Justify.CENTER,className:f.default.content},void 0,null!=A&&E(u.default,{tag:u.default.Tags.H2,className:f.default.title},void 0,A),null!=_&&E(c.default,{size:c.default.Sizes.SIZE_16,className:f.default.body},void 0,_))),E(l.ModalFooter,{justify:s.default.Justify.BETWEEN,wrap:s.default.Wrap.WRAP},void 0,n,t,r)))};h.displayName="Alert";var m=h;t.default=m},function(e,t,n){var r=n(21),i=n(18).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){t.f=n(25)},function(e,t,n){var r=n(166)("keys"),i=n(109);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(18).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(21),i=n(20),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(72)(Function.call,n(75).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(e,t,n){var r=n(21),i=n(224).set;e.exports=function(e,t,n){var o,a=t.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(e,o),e}},function(e,t,n){"use strict";var r=n(74),i=n(83);e.exports=function(e){var t=String(i(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t,n){var r=n(74),i=n(83);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(o=s.charCodeAt(u))<55296||o>56319||u+1===l||(a=s.charCodeAt(u+1))<56320||a>57343?e?s.charAt(u):o:e?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(110),i=n(4),o=n(52),a=n(59),s=n(126),u=n(329),l=n(124),c=n(115),d=n(25)("iterator"),f=!([].keys&&"next"in[].keys()),_=function(){return this};e.exports=function(e,t,n,p,E,h,m){u(n,t,p);var v,T,g,I=function(e){if(!f&&e in O)return O[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",y="values"==E,A=!1,O=e.prototype,N=O[d]||O["@@iterator"]||E&&O[E],R=N||I(E),b=E?y?I("entries"):R:void 0,L="Array"==t&&O.entries||N;if(L&&(g=c(L.call(new e)))!==Object.prototype&&g.next&&(l(g,S,!0),r||"function"==typeof g[d]||a(g,d,_)),y&&N&&"values"!==N.name&&(A=!0,R=function(){return N.call(this)}),r&&!m||!f&&!A&&O[d]||a(O,d,R),s[t]=R,s[S]=_,E)if(v={values:y?R:I("values"),keys:h?R:I("keys"),entries:b},m)for(T in v)T in O||o(O,T,v[T]);else i(i.P+i.F*(f||A),t,v);return v}},function(e,t,n){var r=n(233),i=n(83);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},function(e,t,n){var r=n(21),i=n(82),o=n(25)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,n){var r=n(25)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){var r=n(126),i=n(25)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},function(e,t,n){"use strict";var r=n(33),i=n(108);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){var r=n(145),i=n(25)("iterator"),o=n(126);e.exports=n(30).getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){"use strict";var r=n(45),i=n(112),o=n(27);e.exports=function(e){for(var t=r(this),n=o(t.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,l=void 0===u?n:i(u,n);l>s;)t[s++]=e;return t}},function(e,t,n){"use strict";var r=n(116),i=n(334),o=n(126),a=n(60);e.exports=n(231)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r,i,o=n(171),a=RegExp.prototype.exec,s=String.prototype.replace,u=a,l=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),c=void 0!==/()??/.exec("")[1];(l||c)&&(u=function(e){var t,n,r,i,u=this;return c&&(n=new RegExp("^"+u.source+"$(?!\\s)",o.call(u))),l&&(t=u.lastIndex),r=a.call(u,e),l&&r&&(u.lastIndex=u.global?r.index+r[0].length:t),c&&r&&r.length>1&&s.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),e.exports=u},function(e,t,n){"use strict";var r=n(230)(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r,i,o,a=n(72),s=n(323),u=n(223),l=n(219),c=n(18),d=c.process,f=c.setImmediate,_=c.clearImmediate,p=c.MessageChannel,E=c.Dispatch,h=0,m={},v=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},T=function(e){v.call(e.data)};f&&_||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return m[++h]=function(){s("function"==typeof e?e:Function(e),t)},r(h),h},_=function(e){delete m[e]},"process"==n(82)(d)?r=function(e){d.nextTick(a(v,e,1))}:E&&E.now?r=function(e){E.now(a(v,e,1))}:p?(o=(i=new p).port2,i.port1.onmessage=T,r=a(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",T,!1)):r="onreadystatechange"in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),v.call(e)}}:function(e){setTimeout(a(v,e,1),0)}),e.exports={set:f,clear:_}},function(e,t,n){"use strict";var r=n(18),i=n(32),o=n(110),a=n(177),s=n(59),u=n(129),l=n(19),c=n(128),d=n(74),f=n(27),_=n(342),p=n(114).f,E=n(33).f,h=n(238),m=n(124),v=r.ArrayBuffer,T=r.DataView,g=r.Math,I=r.RangeError,S=r.Infinity,y=v,A=g.abs,O=g.pow,N=g.floor,R=g.log,b=g.LN2,L=i?"_b":"buffer",D=i?"_l":"byteLength",C=i?"_o":"byteOffset";function M(e,t,n){var r,i,o,a=new Array(n),s=8*n-t-1,u=(1<<s)-1,l=u>>1,c=23===t?O(2,-24)-O(2,-77):0,d=0,f=e<0||0===e&&1/e<0?1:0;for((e=A(e))!=e||e===S?(i=e!=e?1:0,r=u):(r=N(R(e)/b),e*(o=O(2,-r))<1&&(r--,o*=2),(e+=r+l>=1?c/o:c*O(2,1-l))*o>=2&&(r++,o/=2),r+l>=u?(i=0,r=u):r+l>=1?(i=(e*o-1)*O(2,t),r+=l):(i=e*O(2,l-1)*O(2,t),r=0));t>=8;a[d++]=255&i,i/=256,t-=8);for(r=r<<t|i,s+=t;s>0;a[d++]=255&r,r/=256,s-=8);return a[--d]|=128*f,a}function P(e,t,n){var r,i=8*n-t-1,o=(1<<i)-1,a=o>>1,s=i-7,u=n-1,l=e[u--],c=127&l;for(l>>=7;s>0;c=256*c+e[u],u--,s-=8);for(r=c&(1<<-s)-1,c>>=-s,s+=t;s>0;r=256*r+e[u],u--,s-=8);if(0===c)c=1-a;else{if(c===o)return r?NaN:l?-S:S;r+=O(2,t),c-=a}return(l?-1:1)*r*O(2,c-t)}function w(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function U(e){return[255&e]}function k(e){return[255&e,e>>8&255]}function G(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function Y(e){return M(e,52,8)}function x(e){return M(e,23,4)}function V(e,t,n){E(e.prototype,t,{get:function(){return this[n]}})}function H(e,t,n,r){var i=_(+n);if(i+t>e[D])throw I("Wrong index!");var o=e[L]._b,a=i+e[C],s=o.slice(a,a+t);return r?s:s.reverse()}function F(e,t,n,r,i,o){var a=_(+n);if(a+t>e[D])throw I("Wrong index!");for(var s=e[L]._b,u=a+e[C],l=r(+i),c=0;c<t;c++)s[u+c]=l[o?c:t-c-1]}if(a.ABV){if(!l((function(){v(1)}))||!l((function(){new v(-1)}))||l((function(){return new v,new v(1.5),new v(NaN),"ArrayBuffer"!=v.name}))){for(var B,j=(v=function(e){return c(this,v),new y(_(e))}).prototype=y.prototype,W=p(y),K=0;W.length>K;)(B=W[K++])in v||s(v,B,y[B]);o||(j.constructor=v)}var z=new T(new v(2)),q=T.prototype.setInt8;z.setInt8(0,2147483648),z.setInt8(1,2147483649),!z.getInt8(0)&&z.getInt8(1)||u(T.prototype,{setInt8:function(e,t){q.call(this,e,t<<24>>24)},setUint8:function(e,t){q.call(this,e,t<<24>>24)}},!0)}else v=function(e){c(this,v,"ArrayBuffer");var t=_(e);this._b=h.call(new Array(t),0),this[D]=t},T=function(e,t,n){c(this,T,"DataView"),c(e,v,"DataView");var r=e[D],i=d(t);if(i<0||i>r)throw I("Wrong offset!");if(i+(n=void 0===n?r-i:f(n))>r)throw I("Wrong length!");this[L]=e,this[C]=i,this[D]=n},i&&(V(v,"byteLength","_l"),V(T,"buffer","_b"),V(T,"byteLength","_l"),V(T,"byteOffset","_o")),u(T.prototype,{getInt8:function(e){return H(this,1,e)[0]<<24>>24},getUint8:function(e){return H(this,1,e)[0]},getInt16:function(e){var t=H(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=H(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return w(H(this,4,e,arguments[1]))},getUint32:function(e){return w(H(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return P(H(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return P(H(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){F(this,1,e,U,t)},setUint8:function(e,t){F(this,1,e,U,t)},setInt16:function(e,t){F(this,2,e,k,t,arguments[2])},setUint16:function(e,t){F(this,2,e,k,t,arguments[2])},setInt32:function(e,t){F(this,4,e,G,t,arguments[2])},setUint32:function(e,t){F(this,4,e,G,t,arguments[2])},setFloat32:function(e,t){F(this,4,e,x,t,arguments[2])},setFloat64:function(e,t){F(this,8,e,Y,t,arguments[2])}});m(v,"ArrayBuffer"),m(T,"DataView"),s(T.prototype,a.VIEW,!0),t.ArrayBuffer=v,t.DataView=T},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(347)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),u=0;u<o.length;u++){var l=o[u];if(!s(l))return!1;var c=e[l],d=t[l];if(!1===(i=n?n.call(r,c,d,l):void 0)||void 0===i&&c!==d)return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MaskLibrary=t.default=t.MaskIDs=void 0;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(314);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}t.MaskIDs=i,function(e){e.SQUIRCLE="svg-mask-squircle",e.HEADER_BAR_BADGE="svg-mask-header-bar-badge",e.VOICE_USER_SUMMARY_ITEM="svg-mask-voice-user-summary-item",e.VERTICAL_FADE="svg-mask-vertical-fade",e.PANEL_BUTTON="svg-mask-panel-button",e.CHANNEL_CALL_CONTROL_BUTTON="svg-mask-channel-call-control-button",e.CHANNEL_CALL_CONTROL_BUTTON_BADGE_16="svg-mask-channel-call-control-button-badge-16",e.CHANNEL_CALL_CONTROL_BUTTON_BADGE_22="svg-mask-channel-call-control-button-badge-22",e.CHANNEL_CALL_CONTROL_BUTTON_BADGE_29="svg-mask-channel-call-control-button-badge-29",e.AVATAR_DEFAULT="svg-mask-avatar-default",e.AVATAR_STATUS_ROUND_16="svg-mask-avatar-status-round-16",e.AVATAR_STATUS_ROUND_24="svg-mask-avatar-status-round-24",e.AVATAR_STATUS_ROUND_32="svg-mask-avatar-status-round-32",e.AVATAR_STATUS_ROUND_40="svg-mask-avatar-status-round-40",e.AVATAR_STATUS_ROUND_80="svg-mask-avatar-status-round-80",e.AVATAR_STATUS_ROUND_100="svg-mask-avatar-status-round-100",e.AVATAR_STATUS_ROUND_120="svg-mask-avatar-status-round-120",e.AVATAR_STATUS_MOBILE_16="svg-mask-avatar-status-mobile-16",e.AVATAR_STATUS_MOBILE_24="svg-mask-avatar-status-mobile-24",e.AVATAR_STATUS_MOBILE_32="svg-mask-avatar-status-mobile-32",e.AVATAR_STATUS_MOBILE_40="svg-mask-avatar-status-mobile-40",e.AVATAR_STATUS_MOBILE_80="svg-mask-avatar-status-mobile-80",e.AVATAR_STATUS_MOBILE_100="svg-mask-avatar-status-mobile-100",e.AVATAR_STATUS_MOBILE_120="svg-mask-avatar-status-mobile-120",e.AVATAR_STATUS_TYPING_16="svg-mask-avatar-status-typing-16",e.AVATAR_STATUS_TYPING_24="svg-mask-avatar-status-typing-24",e.AVATAR_STATUS_TYPING_32="svg-mask-avatar-status-typing-32",e.AVATAR_STATUS_TYPING_40="svg-mask-avatar-status-typing-40",e.AVATAR_STATUS_TYPING_80="svg-mask-avatar-status-typing-80",e.AVATAR_STATUS_TYPING_100="svg-mask-avatar-status-typing-100",e.AVATAR_STATUS_TYPING_120="svg-mask-avatar-status-typing-120",e.AVATAR_VOICE_CALL_80="svg-mask-avatar-voice-call-80",e.AVATAR_CALL_ICON="svg-mask-avatar-call-icon",e.AVATAR_CALL_ICON_32="svg-mask-avatar-call-icon-32",e.STATUS_ONLINE_MOBILE="svg-mask-status-online-mobile",e.STATUS_ONLINE="svg-mask-status-online",e.STATUS_IDLE="svg-mask-status-idle",e.STATUS_DND="svg-mask-status-dnd",e.STATUS_OFFLINE="svg-mask-status-offline",e.STATUS_STREAMING="svg-mask-status-streaming",e.STATUS_TYPING="svg-mask-status-typing",e.STICKER_ROUNDED_RECT="svg-mask-sticker-rounded-rect",e.STICKER_SHOP_NOTIFICATION="svg-mask-sticker-shop-notification",e.CHAT_INPUT_BUTTON_NOTIFICATION="svg-mask-chat-input-button-notification",e.AUTOCOMPLETE_EMOJI_UPSELL_EMOJI="svg-mask-autocomplete-emoji-upsell-emoji",e.EVENT_TICKET="svg-mask-event-ticket"}(i||(t.MaskIDs=i={}));function c(e){return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,l("circle",{fill:"white",cx:.5,cy:.5,r:.5}),l("circle",{fill:"black",cx:.85,cy:.85,r:.2}))}function d(e,t,n){var r=32===(0,a.getAvatarSpecs)(t).size,i=r?8:0,o=r?2:4,s=r?24:12;return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,l("circle",{fill:"white",cx:.5,cy:.5,r:.5,opacity:n}),l("circle",{fill:"black",cx:(80-s+i)/80,cy:(s-i/2)/80,r:(s+o)/80}))}function f(e){return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,l("circle",{fill:"white",cx:.5,cy:.5,r:.5}),l("circle",{fill:"black",cx:46/56,cy:46/56,r:.25}))}function _(e,t){return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,l("circle",{fill:"white",cx:.5,cy:.5,r:.5}),l("rect",{fill:"black",x:(56-t-4-0)/56,y:-4/56,width:(t+8)/56,height:24/56,rx:12/56,ry:12/56}))}c.displayName="renderCallAvatarMask",d.displayName="renderCallIconMask",f.displayName="renderChannelCallControlButtonMask",_.displayName="renderChannelCallControlButtonBadgeMask";var p=l("rect",{fill:"white",x:0,y:0,width:1,height:1});function E(e){return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,p,l("circle",{fill:"black",cx:.75,cy:.75,r:.25}))}E.displayName="renderHeaderBarBadgeMask";var h=l("rect",{fill:"white",x:0,y:0,width:1,height:1}),m=l("circle",{fill:"black",cx:.75,cy:.75,r:.25});function v(e){return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,h,m)}v.displayName="renderPanelButtonBadgeMask";var T=l("rect",{fill:"white",width:1,height:1});function g(e){return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,T,l("circle",{fill:"black",cx:58/48,cy:.5,r:26/48}))}g.displayName="renderVoiceUserSummaryMask";var I=l("path",{fill:"white",d:"M0 0.464C0 0.301585 0 0.220377 0.0316081 0.158343C0.0594114 0.103776 0.103776 0.0594114 0.158343 0.0316081C0.220377 0 0.301585 0 0.464 0H0.536C0.698415 0 0.779623 0 0.841657 0.0316081C0.896224 0.0594114 0.940589 0.103776 0.968392 0.158343C1 0.220377 1 0.301585 1 0.464V0.536C1 0.698415 1 0.779623 0.968392 0.841657C0.940589 0.896224 0.896224 0.940589 0.841657 0.968392C0.779623 1 0.698415 1 0.536 1H0.464C0.301585 1 0.220377 1 0.158343 0.968392C0.103776 0.940589 0.0594114 0.896224 0.0316081 0.841657C0 0.779623 0 0.698415 0 0.536V0.464Z"});function S(e){return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,I)}S.displayName="renderSquircle";var y=l("stop",{offset:"0%",stopColor:"white"}),A=l("stop",{offset:"100%",stopColor:"black"});function O(e){var t=e+"-gradient";return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,l("linearGradient",{id:t,gradientTransform:"rotate(90)",x1:0,x2:1,y1:0,y2:0},void 0,y,A),l("rect",{fill:"url(#"+t+")",x:0,y:0,width:1,height:1}))}O.displayName="renderVerticalFade";var N=l("circle",{fill:"white",cx:.5,cy:.5,r:.5});function R(e){return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,N)}function b(e,t){var n=(0,a.getAvatarSpecs)(t),r=n.status/2;return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,l("circle",{fill:"white",cx:n.size/2/n.size,cy:n.size/2/n.size,r:n.size/2/n.size}),l("circle",{fill:"black",cx:(n.size-r-n.offset)/n.size,cy:(n.size-r-n.offset)/n.size,r:(r+n.stroke)/n.size}))}function L(e,t){var n=(0,a.getAvatarSpecs)(t),r=(2.5*n.status-n.status+2*n.stroke)/2,i=n.size-n.status-r-n.offset,o=n.status+2*n.stroke;return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,l("circle",{fill:"white",cx:n.size/2/n.size,cy:n.size/2/n.size,r:n.size/2/n.size}),l("rect",{fill:"black",x:i/n.size,y:(n.size-n.status-n.stroke-n.offset)/n.size,width:(2.5*n.status+2*n.stroke)/n.size,height:o/n.size,rx:o/2/n.size,ry:o/2/n.size}))}function D(e,t){var n=(0,a.getAvatarSpecs)(t);return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,l("circle",{fill:"white",cx:n.size/2/n.size,cy:n.size/2/n.size,r:n.size/2/n.size}),l("rect",{fill:"black",x:(n.size-n.status-n.stroke-n.offset)/n.size,y:(n.size-n.status*a.MOBILE_HEIGHT_RATIO-n.stroke-n.offset)/n.size,width:(n.status+2*n.stroke)/n.size,height:(n.status*a.MOBILE_HEIGHT_RATIO+2*n.stroke)/n.size,rx:(n.status*a.MOBILE_HEIGHT_RATIO+2*n.stroke)*a.CUTOUT_BORDER_RADIUS/n.size,ry:(n.status*a.MOBILE_HEIGHT_RATIO+2*n.stroke)*a.CUTOUT_BORDER_RADIUS/n.size}))}function C(e){var t=8*a.MOBILE_HEIGHT_RATIO;return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,l("rect",{fill:"white",x:0,y:0,width:1,height:1,rx:t*a.MOBILE_ICON_RADIUS/8,ry:t*a.MOBILE_ICON_RADIUS/t}),l("rect",{fill:"black",x:1/8,y:2/t,width:6/8,height:6/t}),l("ellipse",{fill:"black",cx:.5,cy:10/t,rx:1/8,ry:1/t}))}function M(e){return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,l("circle",{fill:"white",cx:.5,cy:.5,r:.5}),l("circle",{fill:"black",cx:2/8,cy:2/8,r:3/8}))}function P(e){return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,l("circle",{fill:"white",cx:.5,cy:.5,r:.5}),l("rect",{fill:"black",x:1/8,y:3/8,width:6/8,height:2/8,rx:1/8,ry:1/8}))}function w(e){return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,l("circle",{fill:"white",cx:.5,cy:.5,r:.5}),l("circle",{fill:"black",cx:.5,cy:.5,r:2/8}))}function U(e){return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,l("circle",{fill:"white",cx:.5,cy:.5,r:.5}),l("polygon",{fill:"black",points:"0.35,0.25 0.78301275,0.5 0.35,0.75"}))}function k(e){return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,l("rect",{fill:"white",cx:0,cy:0,width:1,height:1,ry:.5,rx:.2}))}R.displayName="renderCircleMask",b.displayName="renderAvatarStatusMask",L.displayName="renderAvatarStatusTypingMask",D.displayName="renderAvatarStatusMobileMask",C.displayName="renderStatusMobile",M.displayName="renderStatusIdle",P.displayName="renderStatusDnD",w.displayName="renderStatusOffline",U.displayName="renderStatusStreaming",k.displayName="renderStatusTyping";var G=l("path",{d:"M0 0.26087C0 0.137894 0 0.0764069 0.0382035 0.0382035C0.0764069 0 0.137894 0 0.26087 0H0.73913C0.862106 0 0.923593 0 0.961797 0.0382035C1 0.0764069 1 0.137894 1 0.26087V0.73913C1 0.862106 1 0.923593 0.961797 0.961797C0.923593 1 0.862106 1 0.73913 1H0.26087C0.137894 1 0.0764069 1 0.0382035 0.961797C0 0.923593 0 0.862106 0 0.73913V0.26087Z",fill:"white"});function Y(e){return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,G)}Y.displayName="renderStickerSoftRectangle";var x=l("rect",{width:"1",height:"1",fill:"white"}),V=l("circle",{cx:"0.85",cy:"0.85",r:"0.25",fill:"black"});function H(e){return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,x,V)}H.displayName="renderChatInputButtonNotification";var F=l("rect",{width:"1",height:"1",fill:"white"}),B=l("circle",{cx:"0.9",cy:"0.9",r:"0.5",fill:"black"});function j(e){return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,F,B)}j.displayName="renderStickerShopNotification";var W=l("rect",{fill:"white",width:1,height:1});function K(e){return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,W,l("circle",{fill:"black",cx:1.33,cy:.5,r:14/24}))}K.displayName="renderAutocompleteEmojiUpsellEmoji";var z=l("path",{d:"M0 0.12C0 0.0779961 0 0.0569941 0.00408726 0.0409507C0.00768251 0.0268386 0.0134193 0.015365 0.0204754 0.00817451C0.028497 0 0.038998 0 0.06 0H0.94C0.961002 0 0.971503 0 0.979525 0.00817451C0.986581 0.015365 0.992318 0.0268386 0.995913 0.0409507C1 0.0569941 1 0.0779961 1 0.12V0.45C0.986193 0.45 0.975 0.472386 0.975 0.5C0.975 0.527614 0.986193 0.55 1 0.55V0.88C1 0.922004 1 0.943006 0.995913 0.959049C0.992318 0.973161 0.986581 0.984635 0.979525 0.991826C0.971503 1 0.961002 1 0.94 1H0.0600001C0.0389981 1 0.028497 1 0.0204754 0.991826C0.0134193 0.984635 0.00768251 0.973161 0.00408726 0.959049C0 0.943006 0 0.922004 0 0.88V0.55C0.0138071 0.55 0.025 0.527614 0.025 0.5C0.025 0.472386 0.0138071 0.45 0 0.45V0.12Z",fill:"white"});function q(e){return l("mask",{id:e,maskContentUnits:"objectBoundingBox",viewBox:"0 0 1 1"},void 0,z)}q.displayName="renderEventTicket";var X=function(e){var t=e.mask,n=e.width,r=void 0===n?24:n,i=e.height,a=void 0===i?24:i,s=e.children,c=e.className,d=e.style,f=e["aria-label"],_=function(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}(e,["mask","width","height","children","className","style","aria-label"]);return o.createElement("svg",u({width:r,height:a,className:c,viewBox:"0 0 "+r+" "+a,style:null!=d?d:void 0,"aria-label":f},_),l("foreignObject",{x:0,y:0,width:r,height:a,overflow:"visible",mask:"url(#"+t+")"},void 0,s))};X.displayName="Mask",X.Masks=i;var J=X;t.default=J;var Q=o.memo((function(){return l("svg",{viewBox:"0 0 1 1",style:{position:"absolute",pointerEvents:"none",top:-1,left:-1,width:1,height:1},"aria-hidden":!0},void 0,S(i.SQUIRCLE),E(i.HEADER_BAR_BADGE),g(i.VOICE_USER_SUMMARY_ITEM),O(i.VERTICAL_FADE),v(i.PANEL_BUTTON),f(i.CHANNEL_CALL_CONTROL_BUTTON),_(i.CHANNEL_CALL_CONTROL_BUTTON_BADGE_16,16),_(i.CHANNEL_CALL_CONTROL_BUTTON_BADGE_22,22),_(i.CHANNEL_CALL_CONTROL_BUTTON_BADGE_29,29),R(i.AVATAR_DEFAULT),b(i.AVATAR_STATUS_ROUND_16,a.Sizes.SIZE_16),D(i.AVATAR_STATUS_MOBILE_16,a.Sizes.SIZE_16),L(i.AVATAR_STATUS_TYPING_16,a.Sizes.SIZE_16),b(i.AVATAR_STATUS_ROUND_24,a.Sizes.SIZE_24),D(i.AVATAR_STATUS_MOBILE_24,a.Sizes.SIZE_24),L(i.AVATAR_STATUS_TYPING_24,a.Sizes.SIZE_24),b(i.AVATAR_STATUS_ROUND_32,a.Sizes.SIZE_32),D(i.AVATAR_STATUS_MOBILE_32,a.Sizes.SIZE_32),L(i.AVATAR_STATUS_TYPING_32,a.Sizes.SIZE_32),b(i.AVATAR_STATUS_ROUND_40,a.Sizes.SIZE_40),D(i.AVATAR_STATUS_MOBILE_40,a.Sizes.SIZE_40),L(i.AVATAR_STATUS_TYPING_40,a.Sizes.SIZE_40),b(i.AVATAR_STATUS_ROUND_80,a.Sizes.SIZE_80),D(i.AVATAR_STATUS_MOBILE_80,a.Sizes.SIZE_80),L(i.AVATAR_STATUS_TYPING_80,a.Sizes.SIZE_80),b(i.AVATAR_STATUS_ROUND_120,a.Sizes.SIZE_120),D(i.AVATAR_STATUS_MOBILE_120,a.Sizes.SIZE_120),L(i.AVATAR_STATUS_TYPING_120,a.Sizes.SIZE_120),C(i.STATUS_ONLINE_MOBILE),R(i.STATUS_ONLINE),M(i.STATUS_IDLE),P(i.STATUS_DND),w(i.STATUS_OFFLINE),U(i.STATUS_STREAMING),k(i.STATUS_TYPING),c(i.AVATAR_VOICE_CALL_80),d(i.AVATAR_CALL_ICON,a.Sizes.SIZE_56,1),d(i.AVATAR_CALL_ICON_32,a.Sizes.SIZE_32,.5),Y(i.STICKER_ROUNDED_RECT),H(i.CHAT_INPUT_BUTTON_NOTIFICATION),j(i.STICKER_SHOP_NOTIFICATION),K(i.AUTOCOMPLETE_EMOJI_UPSELL_EMOJI),q(i.EVENT_TICKET))}),(function(){return!0}));t.MaskLibrary=Q},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.EmojiDisambiguations=void 0;var r=g(n(8)),i=g(n(3)),o=g(n(28)),a=g(n(2)),s=g(n(452)),u=g(n(185)),l=n(1168),c=g(n(150)),d=g(n(261)),f=n(48),_=g(n(264)),p=g(n(10)),E=g(n(56)),h=g(n(15)),m=g(n(361)),v=g(n(12)),T=n(1);function g(e){return e&&e.__esModule?e:{default:e}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function A(){return(A=Object.assign||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}).apply(this,arguments)}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function N(e,t,n){return t&&O(e.prototype,t),n&&O(e,n),e}var R="custom",b=[l.EmojiCategories.FAVORITES,"recent",R].concat(u.default.getCategories()),L={usageHistory:{},diversitySurrogate:"",favorites:[]},D=L,C=[],M=b.slice(0),P={},w={},U={},k=function(){function e(e){this.emoticonRegex=null,this.frequentlyUsed=null,this.favorites=null,this.favoriteNamesAndIds=null,this.escapedEmoticonNames=null,this.disambiguatedEmoji=null,this.guildId=e}e.get=function(t){return null!=e._lastInstance&&e._lastInstance.guildId===t||(e._lastInstance=new e(t)),e._lastInstance},e.reset=function(){e._lastInstance=null},e.resetFrequentlyUsed=function(){null!=e._lastInstance&&(e._lastInstance.frequentlyUsed=null)},e.resetFavorites=function(){null!=e._lastInstance&&(e._lastInstance.favorites=null,e._lastInstance.favoriteNamesAndIds=null)},e.clear=function(t){null!=e._lastInstance&&e._lastInstance.guildId===t&&(e._lastInstance=null)};var t=e.prototype;return t.ensureDisambiguated=function(){null==this.disambiguatedEmoji&&this._buildDisambiguatedCustomEmoji()},t.getDisambiguatedEmoji=function(){return null==this.disambiguatedEmoji&&this._buildDisambiguatedCustomEmoji(),this.disambiguatedEmoji},t.getCustomEmoji=function(){return null==this.customEmojis&&this._buildDisambiguatedCustomEmoji(),this.customEmojis},t.getGroupedCustomEmoji=function(){return null==this.groupedCustomEmojis&&this._buildDisambiguatedCustomEmoji(),this.groupedCustomEmojis},t.getByName=function(e){if(null!=this.emojisByName&&null!=this.unicodeAliases||this._buildDisambiguatedCustomEmoji(),Object.prototype.hasOwnProperty.call(this.emojisByName,e))return this.emojisByName[e];if(Object.prototype.hasOwnProperty.call(this.unicodeAliases,e)){var t=this.unicodeAliases[e];if(Object.prototype.hasOwnProperty.call(this.emojisByName,t))return this.emojisByName[t]}},t.getEmoticonByName=function(e){if(null==this.emoticonsByName&&this._buildDisambiguatedCustomEmoji(),Object.prototype.hasOwnProperty.call(this.emoticonsByName,e))return this.emoticonsByName[e]},t.getById=function(e){if(null==this.emojisById&&this._buildDisambiguatedCustomEmoji(),Object.prototype.hasOwnProperty.call(this.emojisById,e))return this.emojisById[e]},t.getCustomEmoticonRegex=function(){return null==this.escapedEmoticonNames&&this._buildDisambiguatedCustomEmoji(),null==this.emoticonRegex&&this.escapedEmoticonNames&&(this.emoticonRegex=new RegExp("^\\b("+this.escapedEmoticonNames+")\\b")),this.emoticonRegex},t.getFrequentlyUsedEmojis=function(){var e=this;return this.ensureDisambiguated(),null==this.frequentlyUsed&&(this.frequentlyUsed=[],r.default.each(C,(function(t){var n;null!=t.id?n=e.getById(t.id):null!=t.name&&(n=u.default.getByName(t.name)),n&&null!=e.frequentlyUsed&&e.frequentlyUsed.push(n)}))),this.frequentlyUsed},t.rebuildFavoriteEmojis=function(){var e=this;return this.ensureDisambiguated(),null!=this.favorites&&null!=this.favoriteNamesAndIds||(this.favoriteNamesAndIds=new Set,this.favorites=D.favorites.map((function(t){var n;null===(n=e.favoriteNamesAndIds)||void 0===n||n.add(t);var r=e.getById(t);return null==r&&(r=u.default.getByName(t)),r})).filter(f.isNotNullish)),[this.favorites,this.favoriteNamesAndIds]},t.isFavoriteEmoji=function(e){var t;if(null==e)return!1;var n=this.rebuildFavoriteEmojis()[1];return e.id?n.has(e.id):n.has(null!==(t=e.name)&&void 0!==t?t:"")},t.getEmojiInPriorityOrder=function(){var e=new Set;return this.favoriteEmojis.concat(this.getFrequentlyUsedEmojis()).filter((function(t){return!e.has(t)&&(e.add(t),!0)}))},t.getEscapedCustomEmoticonNames=function(){return null==this.escapedEmoticonNames&&this._buildDisambiguatedCustomEmoji(),this.escapedEmoticonNames},t.nameMatchesChain=function(e){return(0,r.default)(this.getDisambiguatedEmoji()).filter((function(t){var n=t.names,i=t.name;return null!=n?r.default.some(n,e):null!=i&&e(i)}))},t._buildDisambiguatedCustomEmoji=function(){var e=this,t={},n=[];this.emoticonRegex=null,this.frequentlyUsed=null,this.disambiguatedEmoji=[],this.unicodeAliases=Object.create(null),this.customEmojis=Object.create(null),this.groupedCustomEmojis=Object.create(null),this.emoticonsByName=Object.create(null),this.emojisByName=Object.create(null),this.emojisById=Object.create(null);var i=function(n){var r,i=n.name,o=t[i]||0;if(t[i]=o+1,o>0){var a=i+"~"+o;n=A({},n,{name:a,originalName:i,allNamesString:":"+a+":"})}(e.emojisByName[n.name]=n,"names"in n)&&(null===(r=n.names)||void 0===r||r.slice(1).forEach((function(t){return e.unicodeAliases[t]=n.name})));if(n.id){e.emojisById[n.id]=n,e.customEmojis[n.name]=n;var s=n.guildId;null!=s&&(e.groupedCustomEmojis[s]?e.groupedCustomEmojis[s].push(n):e.groupedCustomEmojis[s]=[n])}null==e.disambiguatedEmoji&&(e.disambiguatedEmoji=[]),e.disambiguatedEmoji.push(n)},o=function(t){Object.prototype.hasOwnProperty.call(e.emoticonsByName,t.name)||(n.push(_.default.escape(t.name)),e.emoticonsByName[t.name]=t)};u.default.forEach(i);var a=function(e){var t=U[null==e?"null":e];t&&(r.default.each(t.usableEmojis,i),r.default.each(t.emoticons,o))};a(this.guildId),m.default.getFlattenedGuilds().forEach((function(t){t.id!==e.guildId&&a(t.id)})),this.escapedEmoticonNames=n.join("|")},N(e,[{key:"favoriteEmojis",get:function(){return this.rebuildFavoriteEmojis()[0]}}]),e}();t.EmojiDisambiguations=k,k._lastInstance=null;var G=new s.default((function(){return 100}),(function(e){var t=0;return e<=3?t=100:e<=15?t=70:e<=30?t=50:e<=45?t=30:e<=80&&(t=10),t}),(function(e){var t=u.default.getByName(e);return t||(Object.prototype.hasOwnProperty.call(P,e)?P[e]:null)}),(function(e,t){D.usageHistory=e,k.resetFrequentlyUsed(),C=t,M=b.slice(0),r.default.some(U,(function(e){return e.usableEmojis.length>0}))||M.splice(b.indexOf(R),1)}),42);function Y(){U={},P={},w={},k.reset()}function x(e){null!=U[e]&&delete U[e]}function V(){var e=[];Object.values(U).forEach((function(t){e.push.apply(e,t.emoticons),r.default.each(t.usableEmojis,(function(e){P[e.id]=e})),r.default.each(t.emojis,(function(e){w[e.id]=e}))})),k.reset(),G.compute()}function H(e,t){if(x(e),k.clear(e),null!=t){var n=v.default.getNullableCurrentUser();if(null!=n){var r={emojis:t,usableEmojis:[],emoticons:[]};t.forEach((function(t){t.url=c.default.getEmojiURL({id:t.id,animated:t.animated}),t.allNamesString=":"+t.name+":",t.guildId=e})),function(e,t){if(null==t)return;e.emojis.filter((function(e){return!e.roles.length||t.roles.find((function(t){return e.roles.indexOf(t)>=0}))})).sort((function(e,t){return t.name.localeCompare(e.name)})).forEach((function(t){e.usableEmojis.push(t)})),e.emoticons=e.usableEmojis.filter((function(e){return!e.require_colons}))}(r,E.default.getMember(e,n.id)),U[e]=r}}}function F(e){H(e.guild.id,e.guild.emojis),V()}var B=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,I(t,n);var o=i.prototype;return o.initialize=function(e){this.waitFor(E.default,v.default,h.default);var t=e||L,n=t.usageHistory,r=t.diversitySurrogate,i=t.favorites;D.usageHistory=n,D.diversitySurrogate=r,D.favorites=i||[],G.overwriteHistory(n),n&&Object.keys(n).length||(G.track("thumbsup"),G.track("thumbsup"),G.track("eyes"),G.track("eyes"),G.track("laughing"),G.track("laughing"),G.track("watermelon"),G.track("fork_and_knife"),G.track("yum"),G.track("weary"),G.track("tired_face"),G.track("poop"),G.track("100")),u.default.setDefaultDiversitySurrogate(r)},o.getState=function(){return D},o.getGuildEmoji=function(e){var t,n=U[e];return null!==(t=null==n?void 0:n.emojis)&&void 0!==t?t:[]},o.getGuilds=function(){return U},o.getDisambiguatedEmojiContext=function(e){return k.get(e)},o.getSearchResultsOrder=function(e,t,n){var i=t.toLowerCase(),o=_.default.escape(i);if(e.length>0){var a=new RegExp("^"+o,"i"),s=new RegExp("(^|_|[A-Z])"+o+"s?([A-Z]|_|$)"),u=s.test.bind(s),l=a.test.bind(a),c=function(e,t){if(void 0===t&&(t=e),null==e||null==t)return 0;var n=e.toLowerCase(),r=1+(n===i?4:0)+(u(n)||u(e)?2:0)+(l(e)?1:0),o=G.getScore(t);return null!=o&&(r*=o/100),r};e=r.default.orderBy(e,[function(e){return e.names?c(e.names[0]):c(e.name,e.id)},function(e){return e.names?e.names[0]:e.name}],["desc","asc"])}return n&&(e=e.slice(0,n)),e},o.search=function(e,t,n,r,i){void 0===n&&(n=0);var o,a=t.toLowerCase(),s=_.default.escape(a);if(null==i){var u=new RegExp(""+s,"i");o=u.test.bind(u)}else o=i;var l=null!=e?e.getGuildId():null,c=k.get(l).nameMatchesChain(o).reduce((function(t,n){var i=d.default.getEmojiUnavailableReason({emoji:n,channel:e,intention:r});return i===T.EmojiDisabledReasons.PREMIUM_LOCKED?t.locked.push(n):null==i&&t.unlocked.push(n),t}),{unlocked:[],locked:[]});return{unlocked:this.getSearchResultsOrder(c.unlocked,t,n),locked:this.getSearchResultsOrder(c.locked,t,n)}},o.getUsableCustomEmojiById=function(e){return P[e]},o.getCustomEmojiById=function(e){return w[e]},N(i,[{key:"categories",get:function(){return M}},{key:"diversitySurrogate",get:function(){return u.default.getDefaultDiversitySurrogate()||""}}]),i}(i.default.PersistedStore);B.persistKey="EmojiStore",B.migrations=[function(){var e=o.default.get("EmojiUsageHistory")||{},t=o.default.get("EmojiDiversitySurrogate")||"";return requestIdleCallback((function(){o.default.remove("EmojiUsageHistory"),o.default.remove("EmojiDiversitySurrogate")})),{usageHistory:e,diversitySurrogate:t}}];var j=new B(a.default,{CONNECTION_OPEN:function(e){Y(),e.guilds.forEach((function(e){return H(e.id,e.emojis)})),V()},GUILD_MEMBER_UPDATE:function(e){var t,n=e.guildId;if(e.user.id===(null===(t=v.default.getNullableCurrentUser())||void 0===t?void 0:t.id)){var r=U[n];H(n,r&&r.usableEmojis),V()}},CACHE_LOADED_LAZY:function(e){for(var t in Y(),e.emojis)H(t,e.emojis[t]);V()},OVERLAY_INITIALIZE:function(e){var t=e.emojis;Y(),U=A({},t),V()},GUILD_CREATE:F,GUILD_UPDATE:F,GUILD_EMOJIS_UPDATE:function(e){H(e.guildId,e.emojis),V()},GUILD_DELETE:function(e){x(e.guild.id),V()},MESSAGE_REACTION_ADD:function(e){if(!e.optimistic)return!1;var t,n=p.default.getChannel(e.channelId),r=n?n.getGuildId():null;if(null==(t=0!=e.emoji.id?k.get(r).getById(e.emoji.id):u.default.getByName(u.default.convertSurrogateToName(e.emoji.name,!1))))return!1;G.track(t.id||t.uniqueName||t.name),G.compute()},EMOJI_DIVERSITY_COLOR_CHANGE:function(e){var t=e.color;u.default.setDefaultDiversitySurrogate(t),D.diversitySurrogate=t},EMOJI_TRACK_USAGE:function(e){for(var t,n=e.emojiUsed,r=S(n);!(t=r()).done;){var i=t.value;G.track(i.id||i.uniqueName||i.name)}var o=n.length>0;return o&&G.compute(),o},EMOJI_FAVORITE:function(e){var t,n=e.emoji,r=null!==(t=n.id)&&void 0!==t?t:n.name;null==r||D.favorites.includes(r)||(D.favorites.push(r),k.resetFavorites())},EMOJI_UNFAVORITE:function(e){var t,n=e.emoji,r=null!==(t=n.id)&&void 0!==t?t:n.name;r&&(D.favorites=D.favorites.filter((function(e){return e!==r})),k.resetFavorites())}});t.default=j},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.referencePortalAwareContains=function(e,t){if(e.contains(t))return!0;var n=(0,d.default)(t,p.default.layer);for(;null!=n;){var r=g.get(n);if(null==r)break;if(e.contains(r))return!0;n=(0,d.default)(r,p.default.layer)}return!1},t.default=t.Align=t.Positions=void 0;var r,i,o,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),s=E(n(9)),u=E(n(23)),l=n(88),c=n(121),d=E(n(980)),f=n(423),_=n(1),p=E(n(1193));function E(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function m(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(){return(v=Object.assign||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}).apply(this,arguments)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.Positions=i,function(e){e.TOP="top",e.LEFT="left",e.RIGHT="right",e.BOTTOM="bottom",e.CENTER="center"}(i||(t.Positions=i={})),t.Align=o,function(e){e.TOP="top",e.CENTER="center",e.BOTTOM="bottom",e.LEFT="left",e.RIGHT="right"}(o||(t.Align=o={}));var g=new WeakMap;function I(e){var t=e.positionKey,n=e.position,r=e.align;return null!=t?t:n+":"+r}function S(e,t,n,r){switch(e){case i.TOP:return(0,u.default)(null!=t.bottom,"Missing bottom"),t.bottom+n.offsetHeight<=r.offsetHeight;case i.BOTTOM:return(0,u.default)(null!=t.top,"Missing top"),t.top+n.offsetHeight<=r.offsetHeight;case i.LEFT:return(0,u.default)(null!=t.right,"Missing right"),t.right+n.offsetWidth<=r.offsetWidth;case i.RIGHT:return(0,u.default)(null!=t.left,"Missing left"),t.left+n.offsetWidth<=r.offsetWidth;case i.CENTER:return(0,u.default)(null!=t.left,"Missing left"),t.left+n.offsetWidth/2<=r.offsetWidth;default:throw new Error("Unexpected position: "+e)}}var y=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).elementRef=a.createRef(),t.state={style:Object.freeze({}),position:t.props.autoInvert?null:t.props.position,isPositioned:!1,isSettingsLayerTransitioning:!1},t.handleLayerPopStart=function(){t.setState({isSettingsLayerTransitioning:!0})},t.handleLayerPopComplete=function(){var e=t.calculateState();t.setState(v({},e,{isSettingsLayerTransitioning:!1}))},t.updatePosition=function(){t.setState(t.calculateState())},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,T(t,n);var d=r.prototype;return d.nudgeLeftAlignment=function(e,t,n){if(!this.props.nudgeAlignIntoViewport)return e;var r=n.offsetWidth,i=e+t.offsetWidth-r+12;return i>0?Math.max(12,e-i):e},d.getHorizontalAlignmentStyle=function(e,t,n){var r=this.props.align;switch(r){case o.LEFT:return{left:Math.round(this.nudgeLeftAlignment(e.left,t,n))};case o.RIGHT:return{right:Math.round(n.offsetWidth-e.right)};case o.CENTER:return{left:Math.round(this.nudgeLeftAlignment(e.left+(e.width-t.offsetWidth)/2,t,n))};default:throw new Error("Unsupported align: "+r)}},d.nudgeTopAlignment=function(e,t,n){if(!this.props.nudgeAlignIntoViewport)return e;if(e<0)return 0;var r=n.offsetHeight,i=e+t.offsetHeight-r+12;return i>0?Math.max(12,e-i):e},d.nudgeBottomAlignment=function(e,t,n){var r=this.props.nudgeAlignIntoViewport,i=n.offsetHeight,o=i-e;if(!r)return o;var a=o+t.offsetHeight-i+12;return a>0?Math.max(12,o-a):o},d.getVerticalAlignmentStyle=function(e,t,n){var r=this.props.align;switch(r){case o.TOP:return{top:Math.round(this.nudgeTopAlignment(e.top,t,n))};case o.BOTTOM:return{bottom:Math.round(this.nudgeBottomAlignment(e.bottom,t,n))};case o.CENTER:return{top:Math.round(this.nudgeTopAlignment(e.top+(e.height-t.offsetHeight)/2,t,n))};default:throw new Error("Unsupported align: "+r)}},d.calculatePositionStyle=function(e,t,n){var r,o,a,s=this.props,l=s.reference,c=s.spacing,d=void 0===c?0:c,f=function(e){return"function"==typeof e?e():((0,u.default)(null!=e.current,"Invalid ref"),e.current.getBoundingClientRect())}(l),_=n.getBoundingClientRect(),p=(r=f,o=_.left,a=_.top,{top:r.top-a,left:r.left-o,bottom:r.bottom-a,right:r.right-o,width:r.width,height:r.height});switch(e){case i.TOP:return v({},this.getHorizontalAlignmentStyle(p,t,n),{bottom:n.offsetHeight-p.top+d});case i.BOTTOM:return v({},this.getHorizontalAlignmentStyle(p,t,n),{top:p.bottom+d});case i.LEFT:return v({},this.getVerticalAlignmentStyle(p,t,n),{right:n.offsetWidth-p.left+d});case i.RIGHT:return v({},this.getVerticalAlignmentStyle(p,t,n),{left:p.right+d});case i.CENTER:return v({},this.getVerticalAlignmentStyle(p,t,n),{left:p.left+p.width/2-t.offsetWidth/2+d});default:throw new Error("Unexpected position: "+e)}},d.calculateState=function(){var e=this.props,t=e.position,n=e.autoInvert,r=this.elementRef.current;(0,u.default)(null!=r,"Unexpected null element");var o=(0,f.getParentLayerContainer)(r),a=this.calculatePositionStyle(t,r,o);if(n&&!S(t,a,r,o)){var s=function(e){switch(e){case i.TOP:return i.BOTTOM;case i.BOTTOM:return i.TOP;case i.LEFT:return i.RIGHT;case i.RIGHT:return i.LEFT;case i.CENTER:return i.CENTER;default:throw new Error}}(t),l=this.calculatePositionStyle(s,r,o);if(S(s,l,r,o))return{position:s,style:l}}return{position:t,style:a}},d.componentDidMount=function(){var e=this.props.reference;this.setState(v({isPositioned:!0},this.calculateState()));var t=this.elementRef.current;(0,u.default)(null!=t,"Missing elementRef"),"function"!=typeof e&&null!=e.current&&g.set(t,e.current),c.ComponentDispatch.subscribe(_.ComponentActions.LAYER_POP_START,this.handleLayerPopStart),c.ComponentDispatch.subscribe(_.ComponentActions.LAYER_POP_COMPLETE,this.handleLayerPopComplete)},d.componentDidUpdate=function(e){I(e)!==I(this.props)&&this.updatePosition()},d.componentWillUnmount=function(){var e=this.elementRef.current;(0,u.default)(null!=e,"Missing elementRef"),g.delete(e),c.ComponentDispatch.unsubscribe(_.ComponentActions.LAYER_POP_START,this.handleLayerPopStart),c.ComponentDispatch.unsubscribe(_.ComponentActions.LAYER_POP_COMPLETE,this.handleLayerPopComplete)},d.render=function(){var e,t=this.props,n=t.id,r=t.className,i=t.children,o=t.fixed,u=t.disablePointerEvents,c=this.state,d=c.position,f=c.isPositioned,_=c.isSettingsLayerTransitioning;return a.createElement("div",{id:n,className:(0,s.default)(r,p.default.layer,(e={},e[p.default.layerHidden]=_,e[p.default.disabledPointerEvents]=u,e)),style:v({position:o?"fixed":"absolute"},this.state.style),ref:this.elementRef},m(l.FocusRingScope,{containerRef:this.elementRef},void 0,i({position:d,isPositioned:f},this.updatePosition)))},r}(a.Component);t.default=y,y.displayName="ReferencePositionLayer",y.defaultProps={nudgeAlignIntoViewport:!1,spacing:0,autoInvert:!1,disablePointerEvents:!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(0);function i(e){var t,n=new Set,r=function(e,r){var i="function"==typeof e?e(t):e;if(i!==t){var o=t;t=r?i:Object.assign({},t,i),n.forEach((function(e){return e(t,o)}))}},i=function(){return t},o={setState:r,getState:i,subscribe:function(e,r,o){return r||o?function(e,r,o){void 0===r&&(r=i),void 0===o&&(o=Object.is);var a=r(t);function s(){var n=r(t);if(!o(a,n)){var i=a;e(a=n,i)}}return n.add(s),function(){return n.delete(s)}}(e,r,o):(n.add(e),function(){return n.delete(e)})},destroy:function(){return n.clear()}};return t=e(r,i,o),o}var o="undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent)?r.useEffect:r.useLayoutEffect;var a=function(e){var t="function"==typeof e?i(e):e,n=function(e,n){void 0===e&&(e=t.getState),void 0===n&&(n=Object.is);var i,a=(0,r.useReducer)((function(e){return e+1}),0)[1],s=t.getState(),u=(0,r.useRef)(s),l=(0,r.useRef)(e),c=(0,r.useRef)(n),d=(0,r.useRef)(!1),f=(0,r.useRef)();void 0===f.current&&(f.current=e(s));var _=!1;(u.current!==s||l.current!==e||c.current!==n||d.current)&&(i=e(s),_=!n(f.current,i)),o((function(){_&&(f.current=i),u.current=s,l.current=e,c.current=n,d.current=!1}));var p=(0,r.useRef)(s);return o((function(){var e=function(){try{var e=t.getState(),n=l.current(e);c.current(f.current,n)||(u.current=e,f.current=n,a())}catch(e){d.current=!0,a()}},n=t.subscribe(e);return t.getState()!==p.current&&e(),n}),[]),_?i:f.current};return Object.assign(n,t),n[Symbol.iterator]=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.warn("[useStore, api] = create() is deprecated and will be removed in v4"),e.next=3,n;case 3:return e.next=5,t;case 5:case"end":return e.stop()}}),e)})),n};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getClass=function(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];var a=i.reduce((function(e,t){return e+(0,r.upperCaseFirstChar)(t)}),""),s=""+t+a,u=e[s];if(null==u)return"";return u};var r=n(139)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerVideoStream=function(e){var t=i.default.uniqueId("VideoStream");return o[t]=e,t},t.unregisterVideoStream=function(e){delete o[e]},t.getVideoStream=function(e){return o[e]};var r,i=(r=n(8))&&r.__esModule?r:{default:r};var o={}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?24:t,r=e.height,i=void 0===r?24:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 24 24"}),l("path",{fill:c,className:d,d:"M18.4 4L12 10.4L5.6 4L4 5.6L10.4 12L4 18.4L5.6 20L12 13.6L18.4 20L20 18.4L13.6 12L20 5.6L18.4 4Z"}))}c.displayName="Close"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(130)),i=d(n(8)),o=d(n(3)),a=d(n(2)),s=d(n(732)),u=d(n(11)),l=d(n(479)),c=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E=Object.freeze([]),h={},m={},v={},T={},g={},I=new Set;function S(e,t){var n=h[e];return null!=n?n[t]:null}var y=function(e){switch(e.type){case c.ActivityTypes.CUSTOM_STATUS:return 4;case c.ActivityTypes.COMPETING:return 3;case c.ActivityTypes.STREAMING:return 2;case c.ActivityTypes.PLAYING:return 1;default:return 0}};var A=function(e){return(0,s.default)(e)?1:0};function O(e,t){return function(e,t){return y(t)-y(e)}(e,t)||function(e,t){return A(t)-A(e)}(e,t)||function(e,t){return(t.created_at||0)-(e.created_at||0)}(e,t)}function N(e){if(delete m[e],delete v[e],delete T[e],null!=h[e]){var t=i.default.sortBy(h[e],(function(e){return-e.timestamp}))[0];t.status!==c.StatusTypes.OFFLINE?(m[e]=t.status,v[e]=t.activities,null!=t.clientStatus&&(T[e]=t.clientStatus)):i.default.every(h[e],(function(e){return e.status===c.StatusTypes.OFFLINE}))&&delete h[e]}}function R(e,t,n,i,o){if(t!==u.default.getId()){var a=h[t];if(null==a){if(n===c.StatusTypes.OFFLINE)return!1;a=h[t]={}}if(n===c.StatusTypes.OFFLINE)a[e]={status:n,clientStatus:i,activities:E,timestamp:Date.now()},e===c.ME&&I.delete(t);else{var s=[].concat(o).sort(O),l=a[e];null!=l&&(0,r.default)(l.activities,s)&&(o=l.activities),a[e]={status:n,clientStatus:i,activities:s,timestamp:Date.now()},e===c.ME&&I.add(t)}delete g[t],N(t)}}function b(e,t){if(t===u.default.getId())return!1;e===c.ME&&I.delete(t);var n=h[t];if(null==n||null==n[e])return!1;delete n[e],0===Object.keys(n).length&&delete h[t],N(t)}function L(e){for(var t=0,n=Object.keys(h);t<n.length;t++){b(e,n[t])}}function D(e){var t=e.guild;t.presences.forEach((function(e){var n=e.user,r=e.status,i=e.clientStatus,o=e.activities;R(t.id,n.id,r,i,o)}))}function C(){var e=u.default.getId();m[e]=l.default.getStatus(),v[e]=l.default.getActivities()}var M=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(u.default,l.default),this.syncWith([l.default],C)},i.getStatus=function(e,t,n){if(void 0===t&&(t=null),void 0===n&&(n=c.StatusTypes.OFFLINE),null==t)return m[e]||n;var r=S(e,t);return r&&r.status||n},i.getActivities=function(e,t){if(void 0===t&&(t=null),null==t)return v[e]||E;var n=S(e,t);return null==n||null==n.activities?E:n.activities},i.getPrimaryActivity=function(e,t){return void 0===t&&(t=null),this.getActivities(e,t)[0]},i.getAllApplicationActivities=function(e){for(var t=[],n=0,r=Object.keys(v);n<r.length;n++)for(var i,o=r[n],a=f(v[o]);!(i=a()).done;){var s=i.value;s.application_id===e&&t.push({userId:o,activity:s})}return t},i.getApplicationActivity=function(e,t,n){return void 0===n&&(n=null),this.findActivity(e,(function(e){return e.application_id===t}),n)},i.findActivity=function(e,t,n){return void 0===n&&(n=null),this.getActivities(e,n).find(t)},i.getActivityMetadata=function(e){return g[e]},i.getUserIds=function(){return Object.keys(v)},i.getOnlineFriendCount=function(){return I.size},i.isMobileOnline=function(e){var t=T[e];return null!=t&&t[c.ClientTypes.MOBILE]===c.StatusTypes.ONLINE&&t[c.ClientTypes.DESKTOP]!==c.StatusTypes.ONLINE},i.getState=function(){return{presencesForGuilds:h,statuses:m,activities:v,activityMetadata:g,onlineFriends:I,clientStatuses:T}},r}(o.default.Store))(a.default,{CONNECTION_OPEN:function(e){var t=e.user;m[t.id]=l.default.getStatus(),v[t.id]=l.default.getActivities()},CONNECTION_OPEN_SUPPLEMENTAL:function(e){var t,n,r,i=e.guilds,o=e.presences;h={},g={},(t={})[u.default.getId()]=l.default.getStatus(),m=t,(n={})[u.default.getId()]=l.default.getActivities(),v=n,(r={})[u.default.getId()]={},T=r,I.clear(),i.forEach((function(e){return D({guild:e})})),o.forEach((function(e){var t=e.user,n=e.status,r=e.clientStatus,i=e.activities;null!=t&&R(c.ME,t.id,n,r,i)}))},OVERLAY_INITIALIZE:function(e){var t=e.presences;h=t.presencesForGuilds,m=t.statuses,v=t.activities,g=t.activityMetadata,I=new Set(t.onlineFriends)},GUILD_CREATE:D,GUILD_DELETE:function(e){L(e.guild.id)},GUILD_MEMBER_REMOVE:function(e){return b(e.guildId,e.user.id)},PRESENCE_UPDATE:function(e){var t=e.guildId,n=e.user,r=e.status,i=e.clientStatus,o=e.activities;R(t||c.ME,n.id,r,i,o)},PRESENCES_REPLACE:function(e){var t=e.presences;L(c.ME),t.forEach((function(e){var t=e.user,n=e.status,r=e.clientStatus,i=e.activities;null!=t&&R(c.ME,t.id,n,r,i)}))},ACTIVITY_METADATA_UPDATE:function(e){var t=e.userId,n=e.metadata;return g[t]=n,!1},THREAD_MEMBER_LIST_UPDATE:function(e){var t=e.guildId;e.members.forEach((function(e){null!=e.presence&&R(t,e.user_id,e.presence.status,e.presence.clientStatus,e.presence.activities)}))},THREAD_MEMBERS_UPDATE:function(e){var t=e.guildId,n=e.addedMembers;null==n||n.forEach((function(e){null!=e.presence&&R(t,e.userId,e.presence.status,e.presence.clientStatus,e.presence.activities)}))}});t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(23)),i=u(n(3)),o=u(n(2)),a=u(n(1192)),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var f={},_={},p=new Set;function E(e){var t=e.skuId;f[e.id]=e;var n=_[t];null!=n?n.add(e.id):_[t]=new Set([e.id])}function h(e){E(a.default.createFromServer(e))}Object.values(s.SubscriptionPlanInfo).forEach((function(e){return E(a.default.createFromClient(e))}));var m=[s.SubscriptionIntervalTypes.DAY,s.SubscriptionIntervalTypes.MONTH,s.SubscriptionIntervalTypes.YEAR],v=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var o=i.prototype;return o.getPlanIdsForSkus=function(e){for(var t,n=[],r=c(e);!(t=r()).done;){var i,o=t.value,a=Array.from(null!==(i=_[o])&&void 0!==i?i:new Set);a.sort((function(e,t){var n=f[e],r=f[t];return m.indexOf(n.interval)-m.indexOf(r.interval)||n.intervalCount-r.intervalCount})),n.push.apply(n,a)}return n},o.getForSKU=function(e){return Array.from(_[e]||[]).map((function(e){return f[e]}))},o.getForSkuAndInterval=function(e,t){return this.getForSKU(e).find((function(e){return e.interval===t}))},o.get=function(e){return f[e]},o.getHardcoded=function(e){return(0,r.default)(null!=f[e],"Missing hardcoded subscriptionPlan: "+e),f[e]},o.getHardcodedPlanIdsForSKU=function(e){return(0,r.default)(null!=_[e],"Missing hardcoded plans for SKU: "+e),_[e]},o.getHardcodedForSkuAndInterval=function(e,t){var n=this.getForSkuAndInterval(e,t);return(0,r.default)(n,"Missing hardcoded subscriptionPlan"),n},o.isFetchingForSKU=function(e){return p.has(e)},i}(i.default.Store))(o.default,{SUBSCRIPTION_PLANS_FETCH:function(e){var t=e.skuId;p.add(t)},SUBSCRIPTION_PLANS_FETCH_SUCCESS:function(e){var t=e.skuId,n=e.subscriptionPlans;_[t]=new Set,n.forEach(h),p.delete(t)},SUBSCRIPTION_PLANS_FETCH_FAILURE:function(e){var t=e.skuId;p.delete(t)},GIFT_CODE_RESOLVE_SUCCESS:function(e){var t=e.giftCode;null!=t.subscription_plan&&h(t.subscription_plan)},ENTITLEMENTS_GIFTABLE_FETCH_SUCCESS:function(e){for(var t,n=c(e.entitlements);!(t=n()).done;){var r=t.value;null!=r.subscription_plan&&h(r.subscription_plan)}}});t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(3),i=u(n(10)),o=u(n(56)),a=u(n(70)),s=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n){if(null==n)return null;if(null!=e)return o.default.getNick(e,n.id);if(null!=t){var r=i.default.getChannel(t);if(null==r?void 0:r.isPrivate())return a.default.getNickname(n.id)}return null}function c(e,t,n){return null==n?s.default.Messages.UNKNOWN_USER:l(e,t,n)||n.username}var d={getNickname:l,getName:c,useName:function(e,t,n){return(0,r.useStateFromStores)([o.default,i.default,a.default],(function(){return c(e,t,n)}))}};t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getThemeClass=function(e){return null!=e?"theme-"+e:void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isRequestedToSpeakAll=A,t.participantMemberInfo=function(e){var t;if((0,d.isNewUser)(e.user))return m.default.Messages.REQUEST_TO_SPEAK_MEMBER_INFO_NEW_TO_DISCORD;var n,r,i=null===(t=e.member)||void 0===t?void 0:t.joinedAt;if(null==i)return m.default.Messages.REQUEST_TO_SPEAK_MEMBER_INFO_NON_MEMBER;if(null!=e.member&&e.member.roles.length>0)return null!==(n=null===(r=e.role)||void 0===r?void 0:r.name)&&void 0!==n?n:m.default.Messages.REQUEST_TO_SPEAK_MEMBER_INFO_MEMBER_ROLES;if((new Date).getTime()-Date.parse(i)<864e5)return m.default.Messages.REQUEST_TO_SPEAK_MEMBER_INFO_NEW_MEMBER;return m.default.Messages.REQUEST_TO_SPEAK_MEMBER_INFO_MEMBER},t.default=t.StageChannelParticipantNamedIndex=void 0;var r=v(n(313)),i=v(n(10)),o=v(n(1414)),a=v(n(56)),s=v(n(70)),u=v(n(12)),l=v(n(80)),c=v(n(258)),d=n(716),f=v(n(205)),_=v(n(81)),p=n(304),E=n(5375),h=n(1),m=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}function T(){return(T=Object.assign||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}).apply(this,arguments)}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var I;function S(e){var t,n=e.speaker,r=e.role,i=e.user,o=e.userNick,a=e.connectedOn;return""+(n?"\0":"")+(""+(null!==(t=null==r?void 0:r.position)&&void 0!==t?t:999)).padStart(3,"0")+a+function(e,t){return""+e.toLowerCase().padEnd(32,"!")+t.discriminator}(o,i)}function y(e){var t=e.user,n=e.voiceState.requestToSpeakTimestamp;return null==n?t.id:""+Date.parse(n)+t.id}function A(e){return e===p.RequestToSpeakStates.REQUESTED_TO_SPEAK||e===p.RequestToSpeakStates.REQUESTED_TO_SPEAK_AND_AWAITING_USER_ACK}function O(e){var t=e.speaker,n=e.moderator,r=e.role,i=e.rtsState,o=e.blocked,a=[];return A(i)&&a.push(I.ALL_REQUESTED_TO_SPEAK),i===p.RequestToSpeakStates.REQUESTED_TO_SPEAK&&a.push(I.REQUESTED_TO_SPEAK_ONLY),t?a.push(I.SPEAKER):(r?a.push(r.id):a.push(I.NO_ROLE),a.push(I.AUDIENCE)),n&&a.push(I.MODERATOR),o&&a.push(I.BLOCKED),a}t.StageChannelParticipantNamedIndex=I,function(e){e.SPEAKER="SPEAKER",e.MODERATOR="MODERATOR",e.AUDIENCE="AUDIENCE",e.NO_ROLE="NO_ROLE",e.ALL_REQUESTED_TO_SPEAK="ALL_REQUESTED_TO_SPEAK",e.REQUESTED_TO_SPEAK_ONLY="REQUESTED_TO_SPEAK_ONLY",e.BLOCKED="BLOCKED"}(I||(t.StageChannelParticipantNamedIndex=I={}));var N=function(){function e(e){var t;this._participantsIndex=new r.default(O,S),this._requestToSpeakIndex=new r.default((function(){return[]}),y),this.channelId=e,this.guildId=null===(t=i.default.getChannel(e))||void 0===t?void 0:t.getGuildId()}var t,n,d,m=e.prototype;return m._getParticipantForUser=function(e,t){var n,r=l.default.getVoiceStateForChannel(this.channelId,e);if(null==r)return null;var i=u.default.getUser(e);return null==i?(this.guildId&&_.default.isPublic(this.channelId)&&o.default.requestLurkerGuildUser(this.guildId,e),null):T({id:i.id,user:i,userNick:c.default.getName(this.guildId,this.channelId,i),voiceState:r,role:(0,E.getHighestHoistedRole)(this.guildId,e)},f.default.getPermissionsForUser(e,this.channelId),{rtsState:(0,p.getAudienceRequestToSpeakState)(r),member:null!=this.guildId?a.default.getMember(this.guildId,e):null,blocked:s.default.getRelationships()[i.id]===h.RelationshipTypes.BLOCKED,connectedOn:null!==(n=null==t?void 0:t.connectedOn)&&void 0!==n?n:Date.now()})},m.updateParticipant=function(e){var t=this.getParticipant(e),n=this._getParticipantForUser(e,t);return(null!=t||null!=n)&&(null==n?(this._participantsIndex.delete(e),this._requestToSpeakIndex.delete(e)):(this._participantsIndex.set(e,n),A(n.rtsState)?this._requestToSpeakIndex.set(e,n):this._requestToSpeakIndex.delete(e)),!0)},m.rebuild=function(){var e=this,t=i.default.getChannel(this.channelId);if(null==t||!t.isGuildStageVoice())return!1;var n=new Set(Object.keys(l.default.getVoiceStatesForChannel(t.id)));return this._participantsIndex.clear(),this._requestToSpeakIndex.clear(),n.forEach((function(t){return e.updateParticipant(t)})),!0},m.size=function(e){return this._participantsIndex.size(e)},m.toArray=function(e){return this._participantsIndex.values(e,!0)},m.getParticipant=function(e){var t;return null!==(t=this._participantsIndex.get(e))&&void 0!==t?t:null},m.getRequestToSpeakParticipants=function(){return this._requestToSpeakIndex.values(void 0,!0)},t=e,(n=[{key:"version",get:function(){return this._participantsIndex.version}},{key:"requestToSpeakVersion",get:function(){return this._requestToSpeakIndex.version}}])&&g(t.prototype,n),d&&g(t,d),e}();t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(31),i=u(n(40)),o=u(n(12)),a=u(n(96)),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||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}).apply(this,arguments)}function c(e,t){return null==e.guildId||t===e.guildId}function d(e){var t=e.emoji,n=e.channel,u=e.intention;if(null==t.guildId)return null;var l=null!=n&&(0,r.isGuildTextChannelType)(n.type),d=c(t,null==n?void 0:n.getGuildId()),f=i.default.can(s.Permissions.USE_EXTERNAL_EMOJIS,n);if(u===s.EmojiIntention.COMMUNITY_CONTENT)return d&&t.available?null:s.EmojiDisabledReasons.DISALLOW_EXTERNAL;if(u===s.EmojiIntention.GUILD_STICKER_RELATED_EMOJI)return s.EmojiDisabledReasons.DISALLOW_EXTERNAL;if(l&&!d&&!f)return s.EmojiDisabledReasons.DISALLOW_EXTERNAL;if(!t.available)return s.EmojiDisabledReasons.GUILD_SUBSCRIPTION_UNAVAILABLE;var _=o.default.getCurrentUser();if(!a.default.canUseEmojisEverywhere(_)&&!d){if(u===s.EmojiIntention.STATUS)return s.EmojiDisabledReasons.PREMIUM_LOCKED;if(!t.managed)return s.EmojiDisabledReasons.PREMIUM_LOCKED}return t.animated&&!a.default.canUseAnimatedEmojis(_)?s.EmojiDisabledReasons.PREMIUM_LOCKED:null}var f=l({sanitizeEmojiName:function(e){for(e=e.replace(s.EMOJI_RE,"").slice(0,s.EMOJI_MAX_LENGTH);e.length<2;)e+="_";return e},getURL:function(e){return""},filterUnsupportedEmojis:function(e){return e}},n(1787).default,{isInternalEmojiForGuildId:c,getEmojiUnavailableReason:d,isEmojiFiltered:function(e,t,n){var r=d({emoji:e,channel:t,intention:n});return r===s.EmojiDisabledReasons.DISALLOW_EXTERNAL||r===s.EmojiDisabledReasons.GUILD_SUBSCRIPTION_UNAVAILABLE},isEmojiPremiumLocked:function(e,t,n){return d({emoji:e,channel:t,intention:n})===s.EmojiDisabledReasons.PREMIUM_LOCKED},isEmojiDisabled:function(e,t,n){var r=d({emoji:e,channel:t,intention:n});return r===s.EmojiDisabledReasons.PREMIUM_LOCKED||r===s.EmojiDisabledReasons.GUILD_SUBSCRIPTION_UNAVAILABLE}});t.default=f},function(e,t,n){"use strict";n.r(t),n.d(t,"Helmet",(function(){return V})),n.d(t,"HelmetProvider",(function(){return P}));var r=n(1145),i=n.n(r),o=n(23),a=n.n(o),s=n(17),u=n.n(s),l=n(0),c=n.n(l),d=n(247),f=n.n(d),_={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},p=Object.keys(_).map((function(e){return _[e]})),E={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},h=Object.keys(E).reduce((function(e,t){return e[E[t]]=t,e}),{}),m=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},v=function(e){var t=m(e,_.TITLE),n=m(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=m(e,"defaultTitle");return t||r||void 0},T=function(e){return m(e,"onChangeClientState")||function(){}},g=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return Object.assign({},e,t)}),{})},I=function(e,t){return t.filter((function(e){return void 0!==e[_.BASE]})).map((function(e){return e[_.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i+=1){var o=r[i].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},S=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var i={};n.filter((function(e){for(var n,o=Object.keys(e),a=0;a<o.length;a+=1){var s=o[a],u=s.toLowerCase();-1===t.indexOf(u)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===u&&"stylesheet"===e[u].toLowerCase()||(n=u),-1===t.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(n=s)}if(!n||!e[n])return!1;var l=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][l]&&(i[n][l]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(i),a=0;a<o.length;a+=1){var s=o[a],u=Object.assign({},r[s],i[s]);r[s]=u}return e}),[]).reverse()},y=function(e){return Array.isArray(e)?e.join(""):e},A=[_.NOSCRIPT,_.SCRIPT,_.STYLE],O=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},N=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},R=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[E[n]||n]=e[n],t}),t)},b=function(e,t,n){switch(e){case _.TITLE:return{toComponent:function(){return n=R(t.titleAttributes,{key:e=t.title,"data-rh":!0}),[c.a.createElement(_.TITLE,n,e)];var e,n},toString:function(){return function(e,n,r,i){var o=N(t.titleAttributes),a=y(n);return o?"<"+e+' data-rh="true" '+o+">"+O(a,i)+"</"+e+">":"<"+e+' data-rh="true">'+O(a,i)+"</"+e+">"}(e,t.title,0,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return R(t)},toString:function(){return N(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r={key:n,"data-rh":!0};return Object.keys(t).forEach((function(e){var n=E[e]||e;"innerHTML"===n||"cssText"===n?r.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:r[n]=t[e]})),c.a.createElement(e,r)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var i=void 0===r[t]?t:t+'="'+O(r[t],n)+'"';return e?e+" "+i:i}),""),o=r.innerHTML||r.cssText||"",a=-1===A.indexOf(e);return t+"<"+e+' data-rh="true" '+i+(a?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},L=function(e){var t=e.bodyAttributes,n=e.encode,r=e.htmlAttributes,i=e.linkTags,o=e.metaTags,a=e.noscriptTags,s=e.scriptTags,u=e.styleTags,l=e.title;void 0===l&&(l="");var c=e.titleAttributes;return{base:b(_.BASE,e.baseTag,n),bodyAttributes:b("bodyAttributes",t,n),htmlAttributes:b("htmlAttributes",r,n),link:b(_.LINK,i,n),meta:b(_.META,o,n),noscript:b(_.NOSCRIPT,a,n),script:b(_.SCRIPT,s,n),style:b(_.STYLE,u,n),title:b(_.TITLE,{title:l,titleAttributes:c},n)}},D=c.a.createContext({}),C=u.a.shape({setHelmet:u.a.func,helmetInstances:u.a.shape({get:u.a.func,add:u.a.func,remove:u.a.func})}),M="undefined"!=typeof document,P=function(e){function t(n){var r=this;e.call(this,n),this.instances=[],this.value={setHelmet:function(e){r.props.context.helmet=e},helmetInstances:{get:function(){return r.instances},add:function(e){r.instances.push(e)},remove:function(e){var t=r.instances.indexOf(e);r.instances.splice(t,1)}}},t.canUseDOM||(n.context.helmet=L({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.render=function(){return c.a.createElement(D.Provider,{value:this.value},this.props.children)},t}(l.Component);P.canUseDOM=M,P.propTypes={context:u.a.shape({helmet:u.a.shape()}),children:u.a.node.isRequired},P.defaultProps={context:{}},P.displayName="HelmetProvider";var w=function(e,t){var n,r=document.head||document.querySelector(_.HEAD),i=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(i),a=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&("innerHTML"===i?r.innerHTML=t.innerHTML:"cssText"===i?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(i,void 0===t[i]?"":t[i]));r.setAttribute("data-rh","true"),o.some((function(e,t){return n=t,r.isEqualNode(e)}))?o.splice(n,1):a.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:a}},U=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),i=r?r.split(","):[],o=[].concat(i),a=Object.keys(t),s=0;s<a.length;s+=1){var u=a[s],l=t[u]||"";n.getAttribute(u)!==l&&n.setAttribute(u,l),-1===i.indexOf(u)&&i.push(u);var c=o.indexOf(u);-1!==c&&o.splice(c,1)}for(var d=o.length-1;d>=0;d-=1)n.removeAttribute(o[d]);i.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==a.join(",")&&n.setAttribute("data-rh",a.join(","))}},k=function(e,t){var n=e.baseTag,r=e.htmlAttributes,i=e.linkTags,o=e.metaTags,a=e.noscriptTags,s=e.onChangeClientState,u=e.scriptTags,l=e.styleTags,c=e.title,d=e.titleAttributes;U(_.BODY,e.bodyAttributes),U(_.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=y(e)),U(_.TITLE,t)}(c,d);var f={baseTag:w(_.BASE,n),linkTags:w(_.LINK,i),metaTags:w(_.META,o),noscriptTags:w(_.NOSCRIPT,a),scriptTags:w(_.SCRIPT,u),styleTags:w(_.STYLE,l)},p={},E={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(E[e]=f[e].oldTags)})),t&&t(),s(e,p,E)},G=null,Y=function(e){function t(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];e.apply(this,t),this.rendered=!1}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.shouldComponentUpdate=function(e){return!f()(e,this.props)},t.prototype.componentDidUpdate=function(){this.emitChange()},t.prototype.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},t.prototype.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,i=null,o=(e=n.helmetInstances.get().map((function(e){var t=Object.assign({},e.props);return delete t.context,t})),{baseTag:I(["href"],e),bodyAttributes:g("bodyAttributes",e),defer:m(e,"defer"),encode:m(e,"encodeSpecialCharacters"),htmlAttributes:g("htmlAttributes",e),linkTags:S(_.LINK,["rel","href"],e),metaTags:S(_.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:S(_.NOSCRIPT,["innerHTML"],e),onChangeClientState:T(e),scriptTags:S(_.SCRIPT,["src","innerHTML"],e),styleTags:S(_.STYLE,["cssText"],e),title:v(e),titleAttributes:g("titleAttributes",e)});P.canUseDOM?(t=o,G&&cancelAnimationFrame(G),t.defer?G=requestAnimationFrame((function(){k(t,(function(){G=null}))})):(k(t),G=null)):L&&(i=L(o)),r(i)},t.prototype.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},t.prototype.render=function(){return this.init(),null},t}(l.Component);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}Y.propTypes={context:C.isRequired},Y.displayName="HelmetDispatcher";var V=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.shouldComponentUpdate=function(e){return!i()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case _.SCRIPT:case _.NOSCRIPT:return{innerHTML:t};case _.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return Object.assign({},r,((t={})[n.type]=(r[n.type]||[]).concat([Object.assign({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(r.type){case _.TITLE:return Object.assign({},i,((t={})[r.type]=a,t),{titleAttributes:Object.assign({},o)});case _.BODY:return Object.assign({},i,{bodyAttributes:Object.assign({},o)});case _.HTML:return Object.assign({},i,{htmlAttributes:Object.assign({},o)});default:return Object.assign({},i,((n={})[r.type]=Object.assign({},o),n))}},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=Object.assign({},t);return Object.keys(e).forEach((function(t){var r;n=Object.assign({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return a()(p.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+p.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),a()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return c.a.Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,o=i.children,a=x(i,["children"]),s=Object.keys(a).reduce((function(e,t){return e[h[t]||t]=a[t],e}),{}),u=e.type;switch("symbol"==typeof u?u=u.toString():n.warnOnInvalidChildren(e,o),u){case _.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case _.LINK:case _.META:case _.NOSCRIPT:case _.SCRIPT:case _.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:s,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=x(e,["children"]),r=Object.assign({},n);return t&&(r=this.mapChildrenToProps(t,r)),c.a.createElement(D.Consumer,null,(function(e){return c.a.createElement(Y,Object.assign({},r,{context:e}))}))},t}(l.Component);V.propTypes={base:u.a.object,bodyAttributes:u.a.object,children:u.a.oneOfType([u.a.arrayOf(u.a.node),u.a.node]),defaultTitle:u.a.string,defer:u.a.bool,encodeSpecialCharacters:u.a.bool,htmlAttributes:u.a.object,link:u.a.arrayOf(u.a.object),meta:u.a.arrayOf(u.a.object),noscript:u.a.arrayOf(u.a.object),onChangeClientState:u.a.func,script:u.a.arrayOf(u.a.object),style:u.a.arrayOf(u.a.object),title:u.a.string,titleAttributes:u.a.object,titleTemplate:u.a.string},V.defaultProps={defer:!0,encodeSpecialCharacters:!0},V.displayName="Helmet"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSupportedPlatform=function(){return o.default.isWindows()||o.default.isOSX()},t.isLaunchable=function(e,t,n,r,o,a){if(r.isConnected(o))return!0;null==a&&(a=o);if(n.isLaunchable(o,a))return!0;var s=e.getLibraryApplication(o,a);if(null!=s&&(0,i.isUserEntitledToLibraryApplication)(s))return!1;return t.isLaunchable(o)};var r,i=n(136),o=(r=n(16))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={escape:function(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPID=c,t.log=function(e){(0,o.send)({type:s.OverlayEventTypes.LOG_MESSAGES,pid:c(),payload:e})},t.validResolution=function(e){return!a.default.embedded||e.width>=u.width&&e.height>=u.height},t.DEV_PID=t.OVERLAY_LAYOUT_ID=t.OVERLAY_MIN_RESOLUTION=t.OVERLAY_DEFAULT_RESOLUTION=t.OVERLAY_VERSION=void 0;var r,i=n(137),o=n(429),a=(r=n(16))&&r.__esModule?r:{default:r},s=n(1);t.OVERLAY_VERSION=2;t.OVERLAY_DEFAULT_RESOLUTION={width:3840,height:2160};var u={width:768,height:432};t.OVERLAY_MIN_RESOLUTION=u;t.OVERLAY_LAYOUT_ID="overlay_default";t.DEV_PID=-2;var l=null;function c(){if(null==l){var e=(window.location.search||"").toLowerCase().substr(1),t=(0,i.parse)(e).pid;t=parseInt(t,10),isNaN(t)&&(t=-1),l=t}return l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=function(e,t){_.default.init(e,t,s.default.installationPaths,(0,d.getBuildPlatform)(),(function(e){i.default.dispatch({type:E.ActionTypes.DISPATCH_APPLICATION_STATE_UPDATE,state:e})}),(function(e){i.default.dispatch({type:E.ActionTypes.DISPATCH_APPLICATION_ERROR,error:e})}))},t.destroy=function(){_.default.destroy()},t.installApplication=function(e,t,n,r,o,a){_.default.setTargetManifest(e.id,e.name,e.icon,t,n,r,o),i.default.dispatch({type:E.ActionTypes.DISPATCH_APPLICATION_INSTALL,applicationId:e.id,branchId:t,installationPath:o}),c.default.track(E.AnalyticEvents.LIBRARY_INSTALL_INITIATED,{application_id:e.id,application_name:e.name,sku_id:e.primarySkuId,location:a})},t.repairApplication=function(e,t,n){(0,p.fetchLiveBuild)(e.id,t).then((function(){i.default.dispatch({type:E.ActionTypes.DISPATCH_APPLICATION_REPAIR,applicationId:e.id,branchId:t})})),c.default.track(E.AnalyticEvents.LIBRARY_REPAIR_INITIATED,{application_id:e.id,application_name:e.name,sku_id:e.primarySkuId,location:n})},t.setTargetManifest=v,t.updateApplication=function(e,t,n,r,o){void 0===o&&(o=!1);v(e,t,n,r),i.default.dispatch({type:E.ActionTypes.DISPATCH_APPLICATION_UPDATE,applicationId:e.id,branchId:t,automatic:o})},t.uninstallApplication=function(e,t,n){var r=a.default.getGame(e);null!=r&&(f.default.removeShortcuts(r.name),c.default.track(E.AnalyticEvents.LIBRARY_UNINSTALL_INITIATED,{application_id:r.id,application_name:r.name,sku_id:r.primarySkuId,location:n}));_.default.uninstall(e,t),i.default.dispatch({type:E.ActionTypes.DISPATCH_APPLICATION_UNINSTALL,applicationId:e,branchId:t})},t.resume=function(){_.default.resume()},t.pause=function(){_.default.pause()},t.moveUp=function(e,t){i.default.dispatch({type:E.ActionTypes.DISPATCH_APPLICATION_MOVE_UP,applicationId:e,branchId:t})},t.cancel=function(e,t){_.default.cancel(e,t),i.default.dispatch({type:E.ActionTypes.DISPATCH_APPLICATION_CANCEL,applicationId:e,branchId:t})},t.removeFinished=function(e,t){i.default.dispatch({type:E.ActionTypes.DISPATCH_APPLICATION_REMOVE_FINISHED,applicationId:e,branchId:t})},t.completeRepair=function(e,t){var n=a.default.getGame(e);null!=n&&f.default.createShortcuts(l.default.installShortcutDesktop,l.default.installShortcutStartMenu,n.name,n.id,t.installPath)},t.completeInstall=function(e,t){var i=a.default.getGame(e);r.default.post({url:E.Endpoints.LIBRARY_APPLICATION_INSTALLED(e,e),oldFormErrors:!0}),null!=i&&(f.default.createShortcuts(l.default.installShortcutDesktop,l.default.installShortcutStartMenu,i.name,i.id,t.installPath),n.e(81).then(n.t.bind(null,5848,7)).then((function(e){e.default.showNotification(i.getIconURL(64),h.default.Messages.GAME_LIBRARY_NOTIFICATION_GAME_INSTALLED_TITLE,h.default.Messages.GAME_LIBRARY_NOTIFICATION_GAME_INSTALLED_BODY.format({name:i.name}),{onClick:function(){return(0,o.transitionTo)(E.Routes.APPLICATION_LIBRARY)}})})))};var r=m(n(14)),i=m(n(2)),o=n(42),a=m(n(71)),s=m(n(210)),u=m(n(79)),l=m(n(39)),c=m(n(13)),d=n(443),f=m(n(312)),_=m(n(351)),p=n(421),E=n(1),h=m(n(6));function m(e){return e&&e.__esModule?e:{default:e}}function v(e,t,n,r){if(!u.default.getRunningDiscordApplicationIds().includes(e.id)){var i=s.default.getInstallationPath(e.id,t);if(null==i)throw new Error("Missing installation path for application: "+e.id+" "+t);_.default.setTargetManifest(e.id,e.name,e.icon,t,n,r,i)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(138)),i=d(n(211)),o=d(n(3)),a=d(n(14)),s=d(n(28)),u=d(n(2)),l=n(1402),c=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(){return(p=Object.assign||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}).apply(this,arguments)}var E,h,m,v,T=(E=location.protocol+"//"+location.host+"/__development/source_maps",h=null,m=new r.default(5e3,6e4,!0),v=function e(){a.default.put({url:E,headers:{Authorization:i.default.getToken()},oldFormErrors:!0}).then((function(t){401===t.status||403===t.status?(h=null,(0,l.setDeveloperOptionSettings)({sourceMapsEnabled:!1})):200!==t.status?h=setTimeout(e,m.fail()):(m.succeed(),h=setTimeout(e,1e3*t.body.sourceMapCookieTTLSeconds*.75))}),(function(){h=setTimeout(e,m.fail())}))},{set:function(e){e!==(null!=h)&&(e?h=setTimeout(v,0):(clearTimeout(h),h=null,a.default.delete({url:E,headers:{Authorization:i.default.getToken()},oldFormErrors:!0})))}}),g={trace:!1,canary:!1,logGatewayEvents:!1,logOverlayEvents:!1,logAnalyticsEvents:!1,sourceMapsEnabled:!1,axeEnabled:!1,analyticsDebuggerEnabled:!1},I=p({},g);function S(e){I=p({},g,{},I,{},e),T.set(I.sourceMapsEnabled),s.default.set("DeveloperOptionsStore",I)}var y=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n);var i,o,a,u=r.prototype;return u.initialize=function(){var e=s.default.get("DeveloperOptionsStore");e&&(I=p({},g,{},e))},u.getDebugOptions=function(){var e=[];for(var t in I)I[t]&&e.push(t);return e.join(",")},i=r,(o=[{key:"isTracingRequests",get:function(){return I.trace}},{key:"isForcedCanary",get:function(){return I.canary}},{key:"isLoggingGatewayEvents",get:function(){return I.logGatewayEvents}},{key:"isLoggingOverlayEvents",get:function(){return I.logOverlayEvents}},{key:"isLoggingAnalyticsEvents",get:function(){return I.logAnalyticsEvents}},{key:"isAxeEnabled",get:function(){return I.axeEnabled}},{key:"sourceMapsEnabled",get:function(){return I.sourceMapsEnabled}},{key:"isAnalyticsDebuggerEnabled",get:function(){return I.analyticsDebuggerEnabled}}])&&f(i.prototype,o),a&&f(i,a),r}(o.default.Store))(u.default,{LOGOUT:function(e){S(g)},CONNECTION_OPEN:function(e){var t;((null!==(t=e.user.flags)&&void 0!==t?t:0)&c.UserFlags.STAFF)===c.UserFlags.STAFF&&T.set(I.sourceMapsEnabled)},DEVELOPER_OPTIONS_UPDATE_SETTINGS:function(e){S(e.settings)}});t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStageBlockedUsersCount=function(e){return(0,i.useStateFromStores)([o.default],(function(){return null!=e?o.default.getParticipantCount(e,a.StageChannelParticipantNamedIndex.BLOCKED):0}),[e])},t.getStageBlockedUsersCount=function(e){var t;return null!==(t=o.default.getParticipantCount(e,a.StageChannelParticipantNamedIndex.BLOCKED))&&void 0!==t?t:0},t.useStageBlockedUsers=function(e){return(0,i.useStateFromStores)([o.default],(function(){return o.default.getMutableParticipants(e,a.StageChannelParticipantNamedIndex.BLOCKED)}),[e])};var r,i=n(3),o=(r=n(302))&&r.__esModule?r:{default:r},a=n(260)},function(e,t,n){"use strict";function r(){return(r=Object.assign||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}).apply(this,arguments)}var i=n(1707),o=n(23),a=function(e){return e},s=function(){function e(){}return e.create=function(e){if(e.outputRange&&"string"==typeof e.outputRange[0])return c(e);var t=e.outputRange;d("outputRange",t);var n=e.inputRange;d("inputRange",n),function(e){o(e.length>=2,"inputRange must have at least 2 elements");for(var t=1;t<e.length;++t)o(e[t]>=e[t-1],"inputRange must be monotonically increasing "+e)}(n),o(n.length===t.length,"inputRange ("+n.length+") and outputRange ("+t.length+") must have the same length");var r=e.easing||a,i="extend";void 0!==e.extrapolateLeft?i=e.extrapolateLeft:void 0!==e.extrapolate&&(i=e.extrapolate);var s="extend";return void 0!==e.extrapolateRight?s=e.extrapolateRight:void 0!==e.extrapolate&&(s=e.extrapolate),function(e){o("number"==typeof e,"Cannot interpolation an input which is not a number");var a=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,n);return function(e,t,n,r,i,o,a,s){var u=e;if(u<t){if("identity"===a)return u;"clamp"===a&&(u=t)}if(u>n){if("identity"===s)return u;"clamp"===s&&(u=n)}if(r===i)return r;if(t===n)return e<=t?r:i;t===-1/0?u=-u:n===1/0?u-=t:u=(u-t)/(n-t);u=o(u),r===-1/0?u=-u:i===1/0?u+=r:u=u*(i-r)+r;return u}(e,n[a],n[a+1],t[a],t[a+1],r,i,s)}},e}();function u(e){var t=i(e);return null===t?e:"rgba("+((4278190080&(t=t||0))>>>24)+", "+((16711680&t)>>>16)+", "+((65280&t)>>>8)+", "+(255&t)/255+")"}var l=/[0-9\.-]+/g;function c(e){var t=e.outputRange;o(t.length>=2,"Bad output range"),function(e){for(var t=e[0].replace(l,""),n=1;n<e.length;++n)o(t===e[n].replace(l,""),"invalid pattern "+e[0]+" and "+e[n])}(t=t.map(u));var n=t[0].match(l).map((function(){return[]}));t.forEach((function(e){e.match(l).forEach((function(e,t){n[t].push(+e)}))}));var i=t[0].match(l).map((function(t,i){return s.create(r({},e,{outputRange:n[i]}))})),a=/^rgb/.test(t[0]);return function(e){var n=0;return t[0].replace(l,(function(){var t=i[n++](e);return String(a&&n<4?Math.round(t):t)}))}}function d(e,t){o(t.length>=2,e+" must have at least 2 elements"),o(2!==t.length||t[0]!==-1/0||t[1]!==1/0,e+"cannot be ]-infinity;+infinity[ "+t)}e.exports=s},function(e,t,n){"use strict";var r=function(){function e(){}var t=e.prototype;return t.start=function(e,t,n,r){},t.stop=function(){},t.__debouncedOnEnd=function(e){var t=this.__onEnd;this.__onEnd=null,t&&t(e)},e}();e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=c(n(9)),o=n(954),a=c(n(88)),s=n(1200),u=c(n(61)),l=c(n(5788));function c(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}var _=function(e){var t,n=e.href,c=e.onClick,d=e.className,_=e.children,p=e.rel,E=e.target,h=e.useDefaultUnderlineStyles,m=void 0===h||h,v=e.title,T=e.style,g=e.focusProps,I=function(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}(e,["href","onClick","className","children","rel","target","useDefaultUnderlineStyles","title","style","focusProps"]);null!=n&&null==c&&(c=(0,o.getOnClick)(n));var S={className:(0,i.default)(l.default.anchor,(t={},t[l.default.anchorUnderlineOnHover]=m,t),d),href:n,onClick:c,rel:null!=p?p:void 0,target:null!=E?E:void 0},y={title:null!=v?v:void 0,style:null!=T?T:void 0};return null==n||(0,s.isSafeRedirect)(n)||(S.rel="noreferrer noopener",S.target="_blank"),null!=c?r.createElement(u.default,f({tag:"a"},I,y,S,{onClick:c,focusProps:g}),_):r.createElement(a.default,g,r.createElement("a",f({},I,y,S),_))};_.displayName="Anchor";var p=_;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ScrollerAuto=t.ScrollerThin=void 0;var r=o(n(5419)),i=o(n(381));function o(e){return e&&e.__esModule?e:{default:e}}var a=(0,r.default)(i.default.thin,i.default.fade);t.ScrollerThin=a;var s=(0,r.default)(i.default.auto,i.default.fade);t.ScrollerAuto=s;var u=a;t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(1706)),i=s(n(972)),o=s(n(8)),a=s(n(1724));function s(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(){return(l=Object.assign||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}).apply(this,arguments)}function c(e){var t=Object.keys(e)[0];return t+"("+e[t]+")"}var d=/rgba\(([\d.]+), ([\d.]+), ([\d.]+), ([\d.]+)\)/;function f(e){var t=e.match(d);return null!=t&&(e="rgba("+(0|t[1])+", "+(0|t[2])+", "+(0|t[3])+", "+t[4]+")"),e}function _(e,t,n){return void 0!==t&&null!=n?o.default.random(t,n):e}r.inject.ApplyAnimatedValues((function(e,t,n){if(e.setNativeProps)e.setNativeProps(t);else{if(!e.nodeType||void 0===e.setAttribute)return!1;a.default.setValueForStyles(e,((r=t.style)&&(r.transform&&(r.transform=r.WebkitTransform=r.MozTransform=r.transform.map(c).join(" ")),r.color&&(r.color=f(r.color)),r.backgroundColor&&(r.backgroundColor=f(r.backgroundColor))),r),n._reactInternalInstance)}var r}),(function(e){return e}));var p=l({},r,{Easing:i.default,accelerate:function(e){return e.transform=e.transform||[],e.transform.push({translateZ:0}),e},animate:function e(t,n){var i,o=n.toValueMin,a=n.toValueMax,s=n.tension,u=void 0===s?0:s,c=n.friction,d=void 0===c?0:c,f=n.loop,p=n.reverse,E=n.invert,h=n.callback,m=n.type,v=void 0===m?"spring":m,T=n.shouldLoop,g=n.durationMin,I=n.durationMax,S=function(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}(n,["toValueMin","toValueMax","tension","friction","loop","reverse","invert","callback","type","shouldLoop","durationMin","durationMax"]),y=t._value,A=_(n.duration,g,I),O=_(n.toValue,o,a),N=r[v](t,l({},S,{toValue:O,tension:u,friction:d,duration:A})),R=N;if(p||E){var b=_(n.duration,g,I);i=r[v](t,l({},S,{toValue:p?y:-O,tension:u,friction:d,duration:b})),R=r.sequence([N,i])}f?R.start((function(){(!T||T&&T())&&(h?h(e.bind(null,t,n)):e(t,n))})):R.start(h)},interpolate:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.interpolate({inputRange:[0,1],outputRange:n})},Extrapolate:{CLAMP:"clamp"},div:r.createAnimatedComponent("div"),span:r.createAnimatedComponent("span"),img:r.createAnimatedComponent("img"),a:r.createAnimatedComponent("a"),form:r.createAnimatedComponent("form"),ul:r.createAnimatedComponent("ul"),li:r.createAnimatedComponent("li"),g:r.createAnimatedComponent("g"),use:r.createAnimatedComponent("use"),path:r.createAnimatedComponent("path"),section:r.createAnimatedComponent("section"),video:r.createAnimatedComponent("video")});t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(14)),i=s(n(2)),o=s(n(11)),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}var u={showCurrentGame:"show_current_game",inlineAttachmentMedia:"inline_attachment_media",inlineEmbedMedia:"inline_embed_media",gifAutoPlay:"gif_auto_play",renderEmbeds:"render_embeds",renderReactions:"render_reactions",renderSpoilers:"render_spoilers",showInAppNotifications:"show_in_app_notifications",streamNotificationsEnabled:"stream_notifications_enabled",animateEmoji:"animate_emoji",animateStickers:"animate_stickers",sync:"sync",theme:"theme",enableTTSCommand:"enable_tts_command",messageDisplayCompact:"message_display_compact",locale:"locale",convertEmoticons:"convert_emoticons",restrictedGuilds:"restricted_guilds",friendSourceFlags:"friend_source_flags",friendDiscoveryFlags:"friend_discovery_flags",developerMode:"developer_mode",guildPositions:"guild_positions",guildFolders:{_snakeKey:"guild_folders",guildIds:"guild_ids",muteConfig:{_snakeKey:"mute_config",endTime:"end_time"},folderId:"id",folderName:"name",folderColor:"color"},detectPlatformAccounts:"detect_platform_accounts",status:"status",explicitContentFilter:"explicit_content_filter",disableGamesTab:"disable_games_tab",defaultGuildsRestricted:"default_guilds_restricted",afkTimeout:"afk_timeout",timezoneOffset:"timezone_offset",customStatus:{_snakeKey:"custom_status",_isNullable:!0,text:"text",expiresAt:"expires_at",emojiId:"emoji_id",emojiName:"emoji_name",emojiAnimated:"emoji_animated"},allowAccessibilityDetection:"allow_accessibility_detection",contactSyncEnabled:"contact_sync_enabled",nativePhoneIntegrationEnabled:"native_phone_integration_enabled",rtcPanelShowVoiceStates:"rtc_panel_show_voice_states",useSystemTheme:"use_system_theme",viewNsfwGuilds:"view_nsfw_guilds"};function l(e,t,n){return"object"==typeof t&&null!=e&&(t=c(t,n,e)),t}function c(e,t,n){for(var r={},i=function(){var i=a[o],s=void 0,u=void 0,c=!1;"string"==typeof n[i]?(s=n[i],u=null):(s=(u=n[i])._snakeKey,c=u._isNullable);var d=e[t?s:i];null!=d?(d=d instanceof Array?d.map((function(e){return l(u,e,t)})):l(u,d,t),r[t?i:s]=d):e.hasOwnProperty(t?s:i)&&c&&(r[t?i:s]=null)},o=0,a=Object.keys(n);o<a.length;o++)i();return r}var d={updateLocalSettings:function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0),t&&(e=c(e,!0,u)),i.default.dirtyDispatch({type:a.ActionTypes.USER_SETTINGS_UPDATE,settings:e,clearOverrides:n})},updateRemoteSettings:function(e,t){if(void 0===t&&(t=!0),!o.default.isGuest())return this.updateLocalSettings(e,!1,t),r.default.patch({url:a.Endpoints.SETTINGS,body:c(e,!1,u),oldFormErrors:!0})},applySettingsOverride:function(e){i.default.dispatch({type:a.ActionTypes.USER_SETTINGS_OVERRIDE_APPLY,settings:e})},clearSettingsOverride:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];i.default.dispatch({type:a.ActionTypes.USER_SETTINGS_OVERRIDE_CLEAR,settings:t})}};t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"V6OrEarlierAPIError",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"APIError",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"BillingError",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"StripeError",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"NativeDispatchError",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"PremiumGuildSubscriptionError",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"UploadVoiceDebugLogsError",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"UploadErrorCodes",{enumerable:!0,get:function(){return l.UploadErrorCodes}});var r=d(n(195)),i=d(n(1279)),o=d(n(490)),a=d(n(5399)),s=d(n(967)),u=d(n(5400)),l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(5402));function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useForceUpdate",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"useStableMemo",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"useLazyValue",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"areHookInputsEqual",{enumerable:!0,get:function(){return a.default}});var r=s(n(1703)),i=s(n(1704)),o=s(n(1705)),a=s(n(970));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1303);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}));var i,o=(i=n(214))&&i.__esModule?i:{default:i};(0,r.setAwaitOnline)(o.default.awaitOnline)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Positions",{enumerable:!0,get:function(){return u.PopoutPositions}}),Object.defineProperty(t,"Align",{enumerable:!0,get:function(){return u.PopoutAlign}}),Object.defineProperty(t,"RenderPopoutProps",{enumerable:!0,get:function(){return u.RenderPopoutProps}}),t.default=void 0;var r,i,o,a,s=d(n(0)),u=d(n(717)),l=(r=n(5393))&&r.__esModule?r:{default:r};function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function f(e,t,n,r){o||(o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var i=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&i)for(var l in i)void 0===t[l]&&(t[l]=i[l]);else t||(t=i||{});return{$$typeof:o,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}!function(e){e.NONE="1",e.TRANSLATE="2",e.SCALE="3",e.FADE="4"}(a||(a={}));var p=Object.freeze(((i={})[a.TRANSLATE]=l.default.Types.TRANSLATE,i[a.SCALE]=l.default.Types.SCALE,i[a.FADE]=l.default.Types.FADE,i));function E(e){switch(e){case u.PopoutPositions.TOP:case u.PopoutPositions.BOTTOM:return u.PopoutAlign.LEFT;case u.PopoutPositions.LEFT:case u.PopoutPositions.RIGHT:return u.PopoutAlign.TOP}throw new Error("Unexpected position: "+e)}var h=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).renderPopout=function(e){var n=t.props,r=n.renderPopout,i=n.animation;switch(i){case a.TRANSLATE:case a.SCALE:case a.FADE:return f(l.default,{position:e.position,type:p[i]},void 0,r(e));case a.NONE:return r(e)}throw new Error("Unsupported animation config: "+JSON.stringify(i))},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n),r.prototype.render=function(){var e=this.props,t=e.children,n=e.shouldShow,r=e.position,i=e.onRequestOpen,o=e.onRequestClose,a=e.align,s=e.autoInvert,l=e.fixed,c=e.nudgeAlignIntoViewport,d=e.spacing,_=e.onShiftClick,p=e.positionKey,h=e.preload;return f(u.default,{preload:h,position:r,align:null!=a?a:E(r),autoInvert:s,fixed:l,nudgeAlignIntoViewport:c,renderPopout:this.renderPopout,spacing:d,shouldShow:n,onRequestOpen:i,onRequestClose:o,onShiftClick:_,positionKey:p},void 0,t)},r}(s.Component);t.default=h,h.displayName="Popout",h.Positions=u.PopoutPositions,h.Align=u.PopoutAlign,h.Animation=a,h.defaultProps={position:u.PopoutPositions.RIGHT,autoInvert:!0,nudgeAlignIntoViewport:!0,spacing:8,animation:a.TRANSLATE,positionKey:void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.determineIsAnimated=P,Object.defineProperty(t,"Sizes",{enumerable:!0,get:function(){return d.Sizes}}),t.AnimatedAvatar=t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(9)),a=n(122),s=v(n(98)),u=v(n(61)),l=v(n(149)),c=n(716),d=n(314),f=v(n(1251)),_=n(248),p=n(1312),E=n(1),h=v(n(6)),m=v(n(5738));function v(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function g(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(){return(I=Object.assign||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}).apply(this,arguments)}function S(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}var y={tension:1200,friction:70};function A(e){var t=e.size,n=e.isMobile,r=e.isTyping,o=S(e,["size","isMobile","isTyping"]),a=(0,d.getAvatarSpecs)(t),s=a.status*(n&&!r?d.MOBILE_HEIGHT_RATIO:1),u=a.status*(r?d.TYPING_WIDTH_RATIO:1),l=r?(a.status*d.TYPING_WIDTH_RATIO-a.status)/2:0,c=a.size-a.status-l-a.offset,f=a.size-s-a.offset;return i.createElement("rect",I({x:c,y:f,width:u,height:s,fill:"transparent","aria-hidden":!0},o))}function O(e,t,n,r){if(null==e)return _.MaskIDs.AVATAR_DEFAULT;if(r)switch(t){case d.Sizes.SIZE_16:return _.MaskIDs.AVATAR_STATUS_TYPING_16;case d.Sizes.SIZE_24:return _.MaskIDs.AVATAR_STATUS_TYPING_24;case d.Sizes.SIZE_32:return _.MaskIDs.AVATAR_STATUS_TYPING_32;case d.Sizes.SIZE_40:return _.MaskIDs.AVATAR_STATUS_TYPING_40;case d.Sizes.SIZE_80:return _.MaskIDs.AVATAR_STATUS_TYPING_80;case d.Sizes.SIZE_120:return _.MaskIDs.AVATAR_STATUS_TYPING_120}if(e===E.StatusTypes.ONLINE&&n)switch(t){case d.Sizes.SIZE_16:return _.MaskIDs.AVATAR_STATUS_MOBILE_16;case d.Sizes.SIZE_24:return _.MaskIDs.AVATAR_STATUS_MOBILE_24;case d.Sizes.SIZE_32:return _.MaskIDs.AVATAR_STATUS_MOBILE_32;case d.Sizes.SIZE_40:return _.MaskIDs.AVATAR_STATUS_MOBILE_40;case d.Sizes.SIZE_80:return _.MaskIDs.AVATAR_STATUS_MOBILE_80;case d.Sizes.SIZE_120:return _.MaskIDs.AVATAR_STATUS_MOBILE_120}switch(t){case d.Sizes.SIZE_16:return _.MaskIDs.AVATAR_STATUS_ROUND_16;case d.Sizes.SIZE_24:return _.MaskIDs.AVATAR_STATUS_ROUND_24;case d.Sizes.SIZE_32:return _.MaskIDs.AVATAR_STATUS_ROUND_32;case d.Sizes.SIZE_40:return _.MaskIDs.AVATAR_STATUS_ROUND_40;case d.Sizes.SIZE_80:return _.MaskIDs.AVATAR_STATUS_ROUND_80;case d.Sizes.SIZE_120:return _.MaskIDs.AVATAR_STATUS_ROUND_120}throw new Error("getMaskId(): Unsupported type, size: "+t+", status: "+e+", isMobile: "+(n?"true":"false"))}function N(e){var t=e.status,n=e.isMobile,r=e.isTyping,i=e.size,o=n&&!r&&t===E.StatusTypes.ONLINE,a=(0,d.getAvatarSpecs)(i);return I({},function(e,t,n){var r=e.size,i=e.status,o=e.stroke,a=e.offset,s=n?i*d.TYPING_WIDTH_RATIO:i,u=(s-i)/2,l=t?i*d.MOBILE_HEIGHT_RATIO:i;return{avatarCutoutX:r-s+u-o-a,avatarCutoutY:r-l-o-a,avatarCutoutWidth:s+2*o,avatarCutoutHeight:l+2*o,avatarCutoutRadius:t?(l+2*o)*d.CUTOUT_BORDER_RADIUS:(i+2*o)/2}}(a,o,r),{},(0,p.getStatusValues)({status:t,size:a.status,isMobile:o,isTyping:r,topOffset:2,leftOffset:6}))}function R(e){var t=e.children,n=e.size,r=e.onClick,i=e.onMouseDown,a=e.onKeyDown,s=e.onContextMenu,l=e.onMouseEnter,f=e.onMouseLeave,_=e.className,p=e.tabIndex,E=e.ariaLabel,v=e.ariaHidden,T=e.status,I=e.isMobile,S={width:(0,d.getAvatarSize)(n),height:(0,d.getAvatarSize)(n)},y=null==E||v?void 0:function(e,t,n){return void 0===n&&(n=!1),null!=t?h.default.Messages.LABEL_WITH_ONLINE_STATUS.format({label:e,status:(0,c.humanizeStatus)(t,n)}):e}(E,T,I);return null!=r||null!=i?g(u.default,{className:(0,o.default)(_,m.default.wrapper,m.default.pointer),style:S||void 0,onClick:r,tabIndex:p,onContextMenu:s,onMouseDown:i,onKeyDown:a,onMouseEnter:l||void 0,onMouseLeave:f||void 0,"aria-label":y,"aria-hidden":v},void 0,t):g("div",{className:(0,o.default)(_,m.default.wrapper),style:S,onContextMenu:s||void 0,onMouseEnter:l||void 0,onMouseLeave:f||void 0,role:"img","aria-label":y,"aria-hidden":v},void 0,t)}A.displayName="TooltipActivation",R.displayName="renderWrapper";var b=function(e){var t=e.src,n=e.isSpeaking;return g("div",{className:m.default.avatarStack},void 0,g("img",{src:t||void 0,alt:" ",className:m.default.avatar,"aria-hidden":!0}),n&&g("div",{className:m.default.avatarSpeaking}))};b.displayName="AvatarImg";var L=function(e){var t=e.src,n=e.status,r=e.className,a=e.size,s=e.statusColor,u=e.onClick,_=e.isMobile,E=void 0!==_&&_,h=e.isTyping,v=void 0!==h&&h,T=e.isSpeaking,S=void 0!==T&&T,y=e.statusTooltip,A=void 0!==y&&y,N=e.onContextMenu,L=e.tabIndex,D=e.onMouseEnter,C=e.onMouseLeave,M=e.onKeyDown,P=e.onMouseDown,w=e["aria-hidden"],U=void 0!==w&&w,k=e["aria-label"];var G=(0,d.getAvatarSpecs)(a),Y=Math.ceil((G.status*d.TYPING_WIDTH_RATIO-G.status)/2);return R({children:g("svg",{width:G.size+Y,height:G.size,viewBox:"0 0 "+(G.size+Y)+" "+G.size,className:(0,o.default)(m.default.mask,m.default.svg),"aria-hidden":!0},void 0,g("foreignObject",{x:0,y:0,width:G.size,height:G.size,mask:"url(#"+O(n,a,E,v)+")"},void 0,g(b,{src:t,isSpeaking:S})),null!=n?g(l.default,{text:A?(0,c.humanizeStatus)(n):null,"aria-label":!1,position:l.default.Positions.TOP,spacing:5+1.5*G.stroke},void 0,(function(e){return i.createElement(i.Fragment,null,i.createElement("rect",I({},e,function(e,t,n,r){void 0===r&&(r=!1);var i=(0,p.getStatusSize)(e.status,t,n,r);return I({},i,{x:(r?e.size-(i.width/2+e.status/2):e.size-i.width)-e.offset,y:e.size-i.height-e.offset})}(G,n,E,v),{fill:s||(0,p.getStatusColor)(n),mask:"url(#"+(0,p.getStatusMask)(n,E,v)+")",className:m.default.pointerEvents})),v?g(f.default,{dotRadius:G.status/4,x:G.size-1.375*G.status-G.offset,y:G.size-G.status/1.333-G.offset}):null)})):null),size:a,onClick:u,onKeyDown:M,onContextMenu:N,onMouseEnter:D,onMouseLeave:C,onMouseDown:P,className:r,ariaLabel:k,tabIndex:L,ariaHidden:U,isMobile:E,status:n})};L.Sizes=d.Sizes;var D=L;function C(e,t,n,r){return void 0===r&&(r=!1),5-(n&&!r?0:.5*e)+1.5*t}t.default=D;var M=function(e){var t=e.className,n=e.fromIsMobile,r=void 0===n||n,u=e.fromStatus,_=e.fromColor,E=e.isMobile,h=void 0!==E&&E,v=e.isTyping,T=void 0!==v&&v,O=e.isSpeaking,L=void 0!==O&&O,D=e.onClick,M=e.onContextMenu,P=e.onMouseDown,w=e.onMouseEnter,U=e.onMouseLeave,k=e.size,G=e.src,Y=e.status,x=e.statusColor,V=e.statusTooltip,H=void 0!==V&&V,F=e.tabIndex,B=e["aria-hidden"],j=void 0!==B&&B,W=e["aria-label"];var K=i.useState((function(){return{avatarMask:s.default.v4(),statusIconMask:s.default.v4(),fromSpecs:I({fill:_},N({size:k,status:u,isMobile:r,isTyping:!1}))}}))[0],z=K.avatarMask,q=K.statusIconMask,X=K.fromSpecs,J=i.useMemo((function(){return I({fill:null==x?(0,p.getStatusColor)(Y):x},N({size:k,status:Y,isMobile:h,isTyping:T}))}),[k,Y,h,T,x]),Q=(0,a.useSpring)({immediate:!document.hasFocus(),config:y,from:X,to:J}),Z=Q.avatarCutoutX,$=Q.avatarCutoutY,ee=Q.avatarCutoutWidth,te=Q.avatarCutoutHeight,ne=Q.avatarCutoutRadius,re=Q.fill,ie=S(Q,["avatarCutoutX","avatarCutoutY","avatarCutoutWidth","avatarCutoutHeight","avatarCutoutRadius","fill"]),oe=(0,d.getAvatarSize)(k),ae=(0,d.getAvatarSpecs)(k),se=ae.status*d.TYPING_WIDTH_RATIO,ue=ae.status*d.MOBILE_HEIGHT_RATIO,le=(ae.status*d.TYPING_WIDTH_RATIO-ae.status)/2,ce=ae.size-ae.status-le-ae.offset,de=ae.size-ue-ae.offset;return R({children:g("svg",{width:ae.size+Math.ceil(le),height:ae.size,viewBox:"0 0 "+(ae.size+Math.ceil(le))+" "+ae.size,className:(0,o.default)(m.default.mask,m.default.svg),"aria-hidden":!0},void 0,g("mask",{id:z,width:oe,height:oe},void 0,g("circle",{cx:oe/2,cy:oe/2,r:oe/2,fill:"white"}),g(a.animated.rect,{color:"black",x:Z,y:$,width:ee,height:te,rx:ne,ry:ne})),g("foreignObject",{x:0,y:0,width:oe,height:oe,mask:"url(#"+z+")"},void 0,g(b,{src:G,isSpeaking:L})),g(l.default,{text:H?(0,c.humanizeStatus)(Y):null,"aria-label":!1,position:l.default.Positions.TOP,spacing:C(ae.status,ae.stroke,h,T)},void 0,(function(e){return i.createElement(i.Fragment,null,g("svg",{x:ce,y:de,width:se,height:ue,viewBox:"0 0 "+se+" "+ue,className:H?m.default.cursorDefault:void 0},void 0,(0,p.renderStatusMask)(ie,ae.status,q),g(a.animated.rect,{fill:re,width:se,height:ue,mask:"url(#"+q+")"}),g(f.default,{dotRadius:ae.status/4,x:.15*se,y:.5*ue,hide:!T})),i.createElement(A,I({size:k,isMobile:h,isTyping:T,className:m.default.pointerEvents},e)))}))),size:k,onClick:D,onMouseDown:P,onContextMenu:M,onMouseEnter:w,onMouseLeave:U,className:t,tabIndex:F,ariaLabel:W,ariaHidden:j,isMobile:h,status:Y})};function P(e,t,n,r,i){return null!=n&&null!=t&&!!(e||t!==n||t===E.StatusTypes.ONLINE&&r!==i)}var w=i.memo((function(e){var t=e.statusColor,n=e.status,r=S(e,["statusColor","status"]),o=r.isMobile,a=void 0!==o&&o,s=r.isTyping,u=void 0!==s&&s,l=i.useRef(n),c=i.useRef(a),d=null==t?(0,p.getStatusColor)(n):t,f=i.useRef(d),_=i.useRef(!1),E=_.current||P(u,n,l.current,a,c.current);return i.useLayoutEffect((function(){_.current=E,l.current=n,c.current=a,f.current=d}),[n,a,d,E]),null!=n&&null!=l.current&&E?i.createElement(M,I({},r,{status:n,statusColor:d,fromStatus:l.current,fromIsMobile:c.current,fromColor:f.current})):i.createElement(L,I({},r,{status:n,statusColor:d}))}));t.AnimatedAvatar=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OUTBOUND_PROMOTION_REDEMPTION_EXPIRATION_WINDOW=t.SKU_ID_PURCHASED_FLAGS=t.PurchasedFlags=t.PremiumUpsellTypes=t.USER_PREMIUM_TIER_2_TRIAL_EXPIRES_APPROACHING_THRESHOLD=t.STICKERS_GIFT_CODE_BATCH_ID=t.BLACK_FRIDAY_2020_GIFT_CODE_BATCH_ID=t.MAX_ACCOUNT_HOLD_DAYS=t.MAX_INVOICE_PAYMENT_DAYS=t.LEGAL_TERMS_FLASH_DURATION=t.NUM_FREE_GUILD_SUBSCRIPTIONS_WITH_PREMIUM=t.STICKER_PACK_FOR_PREMIUM_USER_DISCOUNT_PERCENT=t.PREMIUM_GUILD_FOR_PREMIUM_USER_DISCOUNT_PERCENT=void 0;var r,i,o=(r=n(5))&&r.__esModule?r:{default:r},a=n(1);t.PREMIUM_GUILD_FOR_PREMIUM_USER_DISCOUNT_PERCENT=30;t.STICKER_PACK_FOR_PREMIUM_USER_DISCOUNT_PERCENT=33;t.NUM_FREE_GUILD_SUBSCRIPTIONS_WITH_PREMIUM=2;t.LEGAL_TERMS_FLASH_DURATION=500;t.MAX_INVOICE_PAYMENT_DAYS=3;t.MAX_ACCOUNT_HOLD_DAYS=30;t.BLACK_FRIDAY_2020_GIFT_CODE_BATCH_ID="775514091874680832";t.STICKERS_GIFT_CODE_BATCH_ID="845031178288889946";var s,u;t.USER_PREMIUM_TIER_2_TRIAL_EXPIRES_APPROACHING_THRESHOLD=1728e5,t.PremiumUpsellTypes=s,function(e){e.EMOJI_PICKER_SEARCH="emoji_picker_search",e.EMOJI_PICKER_EMOJI_CLICKED="emoji_picker_emoji_clicked",e.EMOJI_AUTOCOMPLETE_INLINE="emoji_autocomplete_inline",e.EMOJI_AUTOCOMPLETE_MODAL="emoji_autocomplete_modal",e.EMPTY_STICKER_PICKER_UPSELL="empty_sticker_picker_upsell",e.STREAM_QUALITY_INDICATOR="stream_quality_indicator",e.STREAM_QUALITY_UPSELL="stream_quality_upsell",e.MESSAGE_LENGTH_UPSELL="message_length_upsell",e.CUSTOM_PROFILE_UPSELL="custom_profiles_upsell_modal",e.GUILD_CAP_INLINE_SERVER_LIST="guild_cap_inline_server_list",e.GUILD_CAP_INLINE_INVITE_MODAL="guild_cap_inline_invite_modal",e.GUILD_CAP_MODAL_UPSELL="guild_cap_modal_upsell",e.GUILD_MEMBER_AVATAR_MODAL="per server identity upsell modal",e.GUILD_MEMBER_AVATAR_INLINE="per server identity upsell inline",e.GUILD_MEMBER_AVATAR_TOOLTIP="per server identity tooltip",e.CUSTOM_PROFILE_SETTINGS_BANNER_BUTTON="custom profiles settings banner upsell",e.CUSTOM_PROFILES_PROFILE_BANNER_SOCIAL_UPSELL="custom profiles profile banner social upsell",e.STICKER_PICKER_UPSELL="sticker_picker_upsell"}(s||(t.PremiumUpsellTypes=s={})),t.PurchasedFlags=u,function(e){e[e.PREMIUM_TIER_1=1]="PREMIUM_TIER_1",e[e.PREMIUM_TIER_2=2]="PREMIUM_TIER_2",e[e.PREMIUM_GUILD=4]="PREMIUM_GUILD"}(u||(t.PurchasedFlags=u={}));var l=Object.freeze(((i={})[a.PremiumSubscriptionSKUs.TIER_1]=u.PREMIUM_TIER_1,i[a.PremiumSubscriptionSKUs.TIER_2]=u.PREMIUM_TIER_2,i[a.PremiumSubscriptionSKUs.GUILD]=u.PREMIUM_GUILD,i));t.SKU_ID_PURCHASED_FLAGS=l;var c=o.default.duration(30,"days");t.OUTBOUND_PROMOTION_REDEMPTION_EXPIRATION_WINDOW=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatPrice=function(e,t,n){return(0,i.formatPrice)(e,t,o.default.locale,n)},t.formatRate=function(e,t){return l[t](e)},t.formatPercent=function(e,t){return Intl.NumberFormat(e,{style:"percent",minimumFractionDigits:0}).format(t)};var r,i=n(1690),o=u(n(39)),a=n(1),s=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}var l=Object.freeze(((r={})[a.SubscriptionIntervalTypes.MONTH]=function(e){return s.default.Messages.BILLING_PRICE_PER_MONTH.format({price:e})},r[a.SubscriptionIntervalTypes.YEAR]=function(e){return s.default.Messages.BILLING_PRICE_PER_YEAR.format({price:e})},r))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(88),s=n(721),u=(r=n(447))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}function d(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var f=o.forwardRef((function(e,t){var n=e.children,r=e.impressionName,i=e.impressionType,l=e.impressionMetadata,f=e.disableTrack,_=function(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}(e,["children","impressionName","impressionType","impressionMetadata","disableTrack"]),p=o.useRef(null);return(0,s.useFocusLock)(p),o.useContext(u.default)({type:i,name:r,metadata:l},{disableTrack:f}),o.useImperativeHandle(t,(function(){return p.current})),o.createElement("div",c({},_,{ref:p,role:"dialog",tabIndex:-1,"aria-modal":!0}),d(a.FocusRingScope,{containerRef:p},void 0,n))}));t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(3)),i=n(34),o=f(n(2)),a=f(n(78)),s=f(n(10)),u=f(n(51)),l=f(n(94)),c=f(n(36)),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var h=new Map,m=null,v=null,T=null;function g(e,t){var n=h.get(e);if(null==n)return!1;var r=n.delete(t);return 0===n.size&&h.delete(e),r}function I(e,t,n){var r,o,a;return((null!==(r=null===(o=h.get(e))||void 0===o||null===(a=o.get(t))||void 0===a?void 0:a.flags)&&void 0!==r?r:i.SpeakingFlags.NONE)&n)===n}function S(e,t,n){void 0===n&&(n=!1);var r=h.get(e);if(null==r)return!1;for(var i,o=p(r);!(i=o()).done;){var a=i.value,s=a[0],u=a[1].flags;if((!n||s!==m)&&(u&t)===t)return!0}return!1}function y(e,t,n){var r,o=function(e){void 0===e&&(e=i.MediaEngineContextTypes.DEFAULT);var t=h.get(e);return null==t&&(t=new Map,h.set(e,t)),t}(e),a=o.get(t),s=null!==(r=null==a?void 0:a.flags)&&void 0!==r?r:0;if(0===s&&0===n)return!1;if(0===n)o.delete(t),0===o.size&&h.delete(e);else{var u,l=null!==(u=null==a?void 0:a.since)&&void 0!==u?u:null,c=(s&i.SpeakingFlags.VOICE)===i.SpeakingFlags.VOICE,d=(n&i.SpeakingFlags.VOICE)===i.SpeakingFlags.VOICE;c!==d&&(l=d?Date.now():null),o.set(t,{flags:n,since:l})}return!0}function A(e){var t=e.user,n=e.sessionId;m=t.id,v=n,T=null}var O=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n);var o=r.prototype;return o.initialize=function(){this.mustEmitChanges((function(e){return e.type!==d.ActionTypes.CONNECTION_OPEN&&e.type!==d.ActionTypes.VOICE_STATE_UPDATE})),this.waitFor(l.default)},o.getSpeakingDuration=function(e,t,n){var r,o;void 0===n&&(n=i.MediaEngineContextTypes.DEFAULT);var a=null===(r=h.get(n))||void 0===r||null===(o=r.get(e))||void 0===o?void 0:o.since;return null!=a?t-a:0},o.getSpeakers=function(e){var t,n;return void 0===e&&(e=i.MediaEngineContextTypes.DEFAULT),Array.from(null!==(t=null===(n=h.get(e))||void 0===n?void 0:n.keys())&&void 0!==t?t:[]).filter((function(t){return I(e,t,i.SpeakingFlags.VOICE)}))},o.isSpeaking=function(e,t){return void 0===t&&(t=i.MediaEngineContextTypes.DEFAULT),I(t,e,i.SpeakingFlags.VOICE)},o.isPrioritySpeaker=function(e,t){return void 0===t&&(t=i.MediaEngineContextTypes.DEFAULT),I(t,e,i.SpeakingFlags.PRIORITY)},o.isSoundSharing=function(e,t){return void 0===t&&(t=i.MediaEngineContextTypes.DEFAULT),I(t,e,i.SpeakingFlags.SOUNDSHARE)},o.isAnyoneElseSpeaking=function(e){return void 0===e&&(e=i.MediaEngineContextTypes.DEFAULT),S(e,i.SpeakingFlags.VOICE,!0)},o.isCurrentUserSpeaking=function(e){return void 0===e&&(e=i.MediaEngineContextTypes.DEFAULT),null!=m&&this.isSpeaking(m,e)},o.isAnyonePrioritySpeaking=function(e){return void 0===e&&(e=i.MediaEngineContextTypes.DEFAULT),S(e,i.SpeakingFlags.VOICE|i.SpeakingFlags.PRIORITY)},o.isCurrentUserPrioritySpeaking=function(e){return void 0===e&&(e=i.MediaEngineContextTypes.DEFAULT),null!=m&&this.isPrioritySpeaker(m,e)&&this.isSpeaking(m,e)},r}(r.default.Store))(o.default,{CONNECTION_OPEN:A,OVERLAY_INITIALIZE:A,SPEAKING:function(e){var t=e.context,n=e.userId,r=e.speakingFlags;if((r&i.SpeakingFlags.PRIORITY)===i.SpeakingFlags.PRIORITY){var o=s.default.getChannel(c.default.getVoiceChannelId());null!=o&&a.default.can(d.Permissions.PRIORITY_SPEAKER,n,o)?u.default.setCanHavePriority(n,!0):(u.default.setCanHavePriority(n,!1),r&=~i.SpeakingFlags.PRIORITY)}return y(t,n,r)},VOICE_STATE_UPDATE:function(e){var t=e.userId,n=e.channelId,r=e.sessionId,o=!1,a=T;return t===m&&r===v&&(T=null!=n?n:null),a!==T&&(o=h.delete(i.MediaEngineContextTypes.DEFAULT)||o),null==n?o=t===m&&r===v?h.delete(i.MediaEngineContextTypes.DEFAULT)||o:g(i.MediaEngineContextTypes.DEFAULT,t)||o:t===m&&r!==v?o=h.delete(i.MediaEngineContextTypes.DEFAULT)||o:t!==m&&n!==l.default.getChannelId()&&(o=g(i.MediaEngineContextTypes.DEFAULT,t)||o),o},LOBBY_VOICE_STATE_UPDATE:function(e){}});t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(1);function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}var a=r.createContext(i.ThemeTypes.DARK);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setFontSize=function(e){r.default.dispatch({type:l.ActionTypes.ACCESSIBILITY_SET_FONT_SIZE,fontSize:e})},t.setMessageGroupSpacing=function(e){void 0===e&&(e=null);r.default.dispatch({type:l.ActionTypes.ACCESSIBILITY_SET_MESSAGE_GROUP_SPACING,messageGroupSpacing:e})},t.setZoom=function(e){r.default.dispatch({type:l.ActionTypes.ACCESSIBILITY_SET_ZOOM,zoom:e})},t.resetToDefault=function(){r.default.dispatch({type:l.ActionTypes.ACCESSIBILITY_RESET_TO_DEFAULT})},t.enableKeyboardMode=function(){r.default.dispatch({type:l.ActionTypes.ACCESSIBILITY_KEYBOARD_MODE_ENABLE}),s.default.track(l.AnalyticEvents.KEYBOARD_MODE_TOGGLED,{enabled:!0})},t.disableKeyboardMode=function(){r.default.dispatch({type:l.ActionTypes.ACCESSIBILITY_KEYBOARD_MODE_DISABLE}),s.default.track(l.AnalyticEvents.KEYBOARD_MODE_TOGGLED,{enabled:!1})},t.toggledesaturateUserColors=function(){r.default.dispatch({type:l.ActionTypes.ACCESSIBILITY_DESATURATE_ROLES_TOGGLE})},t.toggleColorblindMode=function(){r.default.dispatch({type:l.ActionTypes.ACCESSIBILITY_COLORBLIND_TOGGLE})},t.toggleDarkSidebar=function(){r.default.dispatch({type:l.ActionTypes.ACCESSIBILITY_DARK_SIDEBAR_TOGGLE})},t.accessibilitySupportChanged=function(e){r.default.dispatch({type:l.ActionTypes.ACCESSIBILITY_SUPPORT_CHANGED,enabled:e})},t.detectionModalSeen=function(){r.default.dispatch({type:l.ActionTypes.ACCESSIBILITY_DETECTION_MODAL_SEEN})},t.keyboardNavigationExplainerModalSeen=function(){r.default.dispatch({type:l.ActionTypes.KEYBOARD_NAVIGATION_EXPLAINER_MODAL_SEEN})},t.systemPrefersReducedMotionChanged=function(e){r.default.dispatch({type:l.ActionTypes.ACCESSIBILITY_SYSTEM_PREFERS_REDUCED_MOTION_CHANGED,systemPrefersReducedMotion:e})},t.setLowContrastMode=function(e){r.default.dispatch({type:l.ActionTypes.ACCESSIBILITY_LOW_CONTRAST_TOGGLE,lowContrastMode:e})},t.setSaturation=function(e){r.default.dispatch({type:l.ActionTypes.ACCESSIBILITY_SET_SATURATION,saturation:e})},t.setPrefersReducedMotion=function(e){var t=u.default.useReducedMotion;r.default.dispatch({type:l.ActionTypes.ACCESSIBILITY_SET_PREFERS_REDUCED_MOTION,prefersReducedMotion:e});var n=u.default.useReducedMotion;!t&&n?i.default.applySettingsOverride({gifAutoPlay:{value:!1,reasonKey:o.SettingsOverrideReasonKeys.REDUCED_MOTION},animateEmoji:{value:!1,reasonKey:o.SettingsOverrideReasonKeys.REDUCED_MOTION},animateStickers:{value:a.StickerAnimationSettings.ANIMATE_ON_INTERACTION,reasonKey:o.SettingsOverrideReasonKeys.REDUCED_MOTION_STICKERS}}):t&&!n&&i.default.clearSettingsOverride("gifAutoPlay","animateEmoji","animateStickers")},t.systemPrefersColorSchemeChanged=function(e){r.default.dispatch({type:l.ActionTypes.ACCESSIBILITY_SYSTEM_PREFERS_COLOR_SCHEME_CHANGED,systemPrefersColorScheme:e})};var r=c(n(2)),i=c(n(274)),o=n(1271),a=n(398),s=c(n(13)),u=c(n(105)),l=n(1);function c(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";var r,i,o,a,s;Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonStyle=t.ComponentType=t.InteractionTypes=t.ApplicationCommandTarget=t.PermissionOverwriteType=void 0,t.PermissionOverwriteType=r,function(e){e[e.ROLE=0]="ROLE",e[e.MEMBER=1]="MEMBER"}(r||(t.PermissionOverwriteType=r={})),t.ApplicationCommandTarget=i,function(e){e[e.CHAT=1]="CHAT",e[e.USER=2]="USER",e[e.MESSAGE=3]="MESSAGE"}(i||(t.ApplicationCommandTarget=i={})),t.InteractionTypes=o,function(e){e[e.APPLICATION_COMMAND=2]="APPLICATION_COMMAND",e[e.MESSAGE_COMPONENT=3]="MESSAGE_COMPONENT"}(o||(t.InteractionTypes=o={})),t.ComponentType=a,function(e){e[e.ACTION_ROW=1]="ACTION_ROW",e[e.BUTTON=2]="BUTTON",e[e.SELECT=3]="SELECT"}(a||(t.ComponentType=a={})),t.ButtonStyle=s,function(e){e[e.PRIMARY=1]="PRIMARY",e[e.SECONDARY=2]="SECONDARY",e[e.SUCCESS=3]="SUCCESS",e[e.DESTRUCTIVE=4]="DESTRUCTIVE",e[e.LINK=5]="LINK"}(s||(t.ButtonStyle=s={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deletePaymentSource=function(e){return v.apply(this,arguments)},t.updatePaymentSource=function(e,t){return T.apply(this,arguments)},t.createPaymentSource=S,t.createPaymentRequestPaymentSource=function(e,t){var n=l.parseStripePaymentMethod(e),r=n.token,i=n.billingAddressInfo;return S(c.PaymentGateways.STRIPE,r,t||i)},t.createCardToken=function(e,t){return O.apply(this,arguments)},t.createCardPaymentSource=function(e){return N.apply(this,arguments)},t.createPaypalPaymentSource=function(e,t){return S(c.PaymentGateways.BRAINTREE,e,t)},t.fetchPaymentSources=function(){return R.apply(this,arguments)},t.fetchPayment=function(e){return b.apply(this,arguments)},t.fetchPayments=function(e,t){return L.apply(this,arguments)},t.fetchSubscriptions=function(){return D.apply(this,arguments)},t.createSubscription=function(e){return C.apply(this,arguments)},t.cancelSubscription=function(e){return M.apply(this,arguments)},t.updateSubscription=P,t.resubscribeToSubscription=function(e,t){return P(e,{status:c.SubscriptionStatusTypes.ACTIVE,paymentSourceId:null==t?void 0:t.id})},t.upgradeSubscription=function(e,t){var n=(0,u.getItemsWithUpsertedPremiumPlanId)(e,t);return P(e,{status:c.SubscriptionStatusTypes.ACTIVE,items:n})},t.changePaymentSource=function(e,t){return P(e,{paymentSourceId:t.id})},t.clearUpdatePaymentSourceError=function(){o.default.dispatch({type:c.ActionTypes.BILLING_PAYMENT_SOURCE_UPDATE_CLEAR_ERROR})},t.clearRemovePaymentSourceError=function(){o.default.dispatch({type:c.ActionTypes.BILLING_PAYMENT_SOURCE_REMOVE_CLEAR_ERROR})},t.clearPaymentAuthenticationError=function(){o.default.dispatch({type:c.ActionTypes.PAYMENT_AUTHENTICATION_CLEAR_ERROR})},t.voidPendingPayment=function(e){return U.apply(this,arguments)};var r=n(377),i=_(n(14)),o=_(n(2)),a=n(275),s=_(n(383)),u=n(96),l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(295)),c=n(1),d=_(n(6));function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function _(e){return e&&e.__esModule?e:{default:e}}function p(){return(p=Object.assign||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}).apply(this,arguments)}function E(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 h(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function m(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){h(o,r,i,a,s,"next",e)}function s(e){h(o,r,i,a,s,"throw",e)}a(void 0)}))}}function v(){return(v=m(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.default.dispatch({type:c.ActionTypes.BILLING_PAYMENT_SOURCE_REMOVE_START}),e.prev=1,e.next=4,i.default.delete({url:c.Endpoints.BILLING_PAYMENT_SOURCE(t),oldFormErrors:!0});case 4:o.default.dispatch({type:c.ActionTypes.BILLING_PAYMENT_SOURCE_REMOVE_SUCCESS,id:t}),e.next=12;break;case 7:throw e.prev=7,e.t0=e.catch(1),n=new a.BillingError(e.t0),o.default.dispatch({type:c.ActionTypes.BILLING_PAYMENT_SOURCE_REMOVE_FAIL,error:n}),n;case 12:case"end":return e.stop()}}),e,null,[[1,7]])})))).apply(this,arguments)}function T(){return(T=m(regeneratorRuntime.mark((function e(t,n){var r,u,l,d,f,_,h,m;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.default.dispatch({type:c.ActionTypes.BILLING_PAYMENT_SOURCE_UPDATE_START}),e.prev=1,r=n.billingAddress,u=r.line1,l=r.line2,d=r.postalCode,f=E(r,["line1","line2","postalCode"]),e.next=5,i.default.patch({url:c.Endpoints.BILLING_PAYMENT_SOURCE(t),body:{billing_address:p({},f,{line_1:u,line_2:l,postal_code:d}),expires_month:n.expiresMonth,expires_year:n.expiresYear,default:n.isDefault},oldFormErrors:!0});case 5:_=e.sent,h=s.default.createFromServer(_.body),o.default.dispatch({type:c.ActionTypes.BILLING_PAYMENT_SOURCE_UPDATE_SUCCESS,paymentSource:h}),e.next=15;break;case 10:throw e.prev=10,e.t0=e.catch(1),m=new a.BillingError(e.t0),o.default.dispatch({type:c.ActionTypes.BILLING_PAYMENT_SOURCE_UPDATE_FAIL,error:m}),m;case 15:case"end":return e.stop()}}),e,null,[[1,10]])})))).apply(this,arguments)}function g(){return I.apply(this,arguments)}function I(){return(I=m(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.default.post({url:c.Endpoints.BILLING_STRIPE_SETUP_INTENT_SECRET,oldFormErrors:!0});case 2:return t=e.sent,e.abrupt("return",t.body.client_secret);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function S(e,t,n){return y.apply(this,arguments)}function y(){return(y=m(regeneratorRuntime.mark((function e(t,n,r){var u,l,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.default.dispatch({type:c.ActionTypes.BILLING_PAYMENT_SOURCE_CREATE_START}),e.prev=1,e.next=4,i.default.post({url:c.Endpoints.BILLING_PAYMENT_SOURCES,body:{payment_gateway:t,token:n,billing_address:{name:r.name,line_1:r.line1,line_2:r.line2,city:r.city,state:r.state,postal_code:r.postalCode,country:r.country}},oldFormErrors:!0});case 4:return u=e.sent,l=s.default.createFromServer(u.body),o.default.dispatch({type:c.ActionTypes.BILLING_PAYMENT_SOURCE_CREATE_SUCCESS,paymentSource:l}),e.abrupt("return",l);case 10:throw e.prev=10,e.t0=e.catch(1),d=new a.BillingError(e.t0),o.default.dispatch({type:c.ActionTypes.BILLING_PAYMENT_SOURCE_CREATE_FAIL,error:d}),d;case 15:case"end":return e.stop()}}),e,null,[[1,10]])})))).apply(this,arguments)}function A(){var e=new a.BillingError(d.default.Messages.CREDIT_CARD_CONFIRMATION_ERROR);return o.default.dispatch({type:c.ActionTypes.BILLING_PAYMENT_SOURCE_CREATE_FAIL,error:e}),e}function O(){return(O=m(regeneratorRuntime.mark((function e(t,n){var i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&n){e.next=2;break}throw A();case 2:if(i=n.getElement(r.CardNumberElement)){e.next=5;break}throw A();case 5:return e.next=7,t.createToken(i);case 7:if(!(o=e.sent).error&&o.token){e.next=10;break}throw A();case 10:return e.abrupt("return",o.token.id);case 11:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function N(){return(N=m(regeneratorRuntime.mark((function e(t){var n,r,i,a,s,u,l,d,f,_,p,E,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.stripe,r=t.token,i=t.billingAddress,n&&r){e.next=3;break}throw A();case 3:return o.default.dispatch({type:c.ActionTypes.BILLING_PAYMENT_SOURCE_CREATE_START}),a=null,e.prev=5,e.next=8,g();case 8:a=e.sent,e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(5),A();case 14:return s=i.name,u=i.line1,l=i.line2,d=i.city,f=i.state,_=i.postalCode,p=i.country,e.next=17,n.confirmCardSetup(a,{payment_method:{card:{token:r},billing_details:{address:{line1:u,line2:l,city:d,state:f,postal_code:_,country:p},name:s}}});case 17:if(E=e.sent,h=E.setupIntent,null==E.error&&(null==h?void 0:h.payment_method)){e.next=22;break}throw A();case 22:return e.abrupt("return",S(c.PaymentGateways.STRIPE,h.payment_method,t.billingAddress));case 23:case"end":return e.stop()}}),e,null,[[5,11]])})))).apply(this,arguments)}function R(){return(R=m(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.default.wait((function(){return o.default.dispatch({type:c.ActionTypes.BILLING_PAYMENT_SOURCES_FETCH_START})})),e.prev=1,e.next=4,i.default.get({url:c.Endpoints.BILLING_PAYMENT_SOURCES,oldFormErrors:!0});case 4:return t=e.sent,o.default.dispatch({type:c.ActionTypes.BILLING_PAYMENT_SOURCES_FETCH_SUCCESS,paymentSources:t.body}),e.abrupt("return",t);case 9:throw e.prev=9,e.t0=e.catch(1),o.default.dispatch({type:c.ActionTypes.BILLING_PAYMENT_SOURCES_FETCH_FAIL}),e.t0;case 13:case"end":return e.stop()}}),e,null,[[1,9]])})))).apply(this,arguments)}function b(){return(b=m(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.default.get({url:c.Endpoints.BILLING_PAYMENT(t)});case 2:return n=e.sent,o.default.dispatch({type:c.ActionTypes.BILLING_PAYMENT_FETCH_SUCCESS,payment:n.body}),e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function L(){return(L=m(regeneratorRuntime.mark((function e(t,n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===t&&(t=10),o.default.dispatch({type:c.ActionTypes.BILLING_PAYMENTS_FETCH_START}),e.prev=2,e.next=5,i.default.get({url:c.Endpoints.BILLING_PAYMENTS,query:{limit:t,before:n},oldFormErrors:!0});case 5:return r=e.sent,o.default.dispatch({type:c.ActionTypes.BILLING_PAYMENTS_FETCH_SUCCESS,payments:r.body}),e.abrupt("return",r);case 10:throw e.prev=10,e.t0=e.catch(2),o.default.dispatch({type:c.ActionTypes.BILLING_PAYMENTS_FETCH_FAIL}),e.t0;case 14:case"end":return e.stop()}}),e,null,[[2,10]])})))).apply(this,arguments)}function D(){return(D=m(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.default.dispatch({type:c.ActionTypes.BILLING_SUBSCRIPTION_FETCH_START}),e.prev=1,e.next=4,i.default.get({url:c.Endpoints.BILLING_SUBSCRIPTIONS,oldFormErrors:!0});case 4:return t=e.sent,o.default.dispatch({type:c.ActionTypes.BILLING_SUBSCRIPTION_FETCH_SUCCESS,subscriptions:t.body}),e.abrupt("return",t);case 9:throw e.prev=9,e.t0=e.catch(1),o.default.dispatch({type:c.ActionTypes.BILLING_SUBSCRIPTION_FETCH_FAIL}),e.t0;case 13:case"end":return e.stop()}}),e,null,[[1,9]])})))).apply(this,arguments)}function C(){return(C=m(regeneratorRuntime.mark((function e(t){var n,r,s,l,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.items,r=t.paymentSourceId,s=t.trialId,o.default.dispatch({type:c.ActionTypes.BILLING_SUBSCRIPTION_UPDATE_START}),n=(0,u.coerceExistingItemsToNewItemInterval)(n),e.prev=3,e.next=6,i.default.post({url:c.Endpoints.BILLING_SUBSCRIPTIONS,body:{items:n.map((function(e){return{plan_id:e.planId,quantity:e.quantity}})),payment_source_id:null!=r?r:null,trial_id:s},oldFormErrors:!0});case 6:return l=e.sent,o.default.dispatch({type:c.ActionTypes.BILLING_SUBSCRIPTION_UPDATE_SUCCESS,subscription:l.body}),e.abrupt("return",l.body);case 11:throw e.prev=11,e.t0=e.catch(3),d=new a.BillingError(e.t0),o.default.dispatch({type:c.ActionTypes.BILLING_SUBSCRIPTION_UPDATE_FAIL,error:d}),d;case 16:case"end":return e.stop()}}),e,null,[[3,11]])})))).apply(this,arguments)}function M(){return(M=m(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.default.dispatch({type:c.ActionTypes.BILLING_SUBSCRIPTION_CANCEL_START}),e.prev=1,e.next=4,i.default.delete({url:c.Endpoints.BILLING_SUBSCRIPTION(t),oldFormErrors:!0});case 4:return n=e.sent,o.default.dispatch({type:c.ActionTypes.BILLING_SUBSCRIPTION_CANCEL_SUCCESS}),e.abrupt("return",n);case 9:throw e.prev=9,e.t0=e.catch(1),r=new a.BillingError(e.t0),o.default.dispatch({type:c.ActionTypes.BILLING_SUBSCRIPTION_CANCEL_FAIL,error:r}),r;case 14:case"end":return e.stop()}}),e,null,[[1,9]])})))).apply(this,arguments)}function P(e,t){return w.apply(this,arguments)}function w(){return(w=m(regeneratorRuntime.mark((function e(t,n){var r,s,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.default.dispatch({type:c.ActionTypes.BILLING_SUBSCRIPTION_UPDATE_START}),e.prev=1,r={status:n.status,payment_source_id:n.paymentSourceId},null!=n.items&&(r.items=(0,u.coerceExistingItemsToNewItemInterval)(n.items).map((function(e){var t=e.planId;return p({},E(e,["planId"]),{plan_id:t})}))),e.next=6,i.default.patch({url:c.Endpoints.BILLING_SUBSCRIPTION(t.id),body:r,oldFormErrors:!0});case 6:return s=e.sent,o.default.dispatch({type:c.ActionTypes.BILLING_SUBSCRIPTION_UPDATE_SUCCESS,subscription:s.body}),e.abrupt("return",s);case 11:throw e.prev=11,e.t0=e.catch(1),l=new a.BillingError(e.t0),o.default.dispatch({type:c.ActionTypes.BILLING_SUBSCRIPTION_UPDATE_FAIL,error:l}),l;case 16:case"end":return e.stop()}}),e,null,[[1,11]])})))).apply(this,arguments)}function U(){return(U=m(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.default.post({url:c.Endpoints.BILLING_PAYMENTS_VOID(t),oldFormErrors:!0});case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(34),i=d(n(2)),o=d(n(738)),a=d(n(51)),s=d(n(13)),u=n(1247),l=n(774),c=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(){return(f=Object.assign||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}).apply(this,arguments)}function _(){(0,u.playSound)("mention3")}function p(e,t,n,r,i){if(t!==n){var a=e[t],u=e[n];s.default.track(c.AnalyticEvents.MEDIA_DEVICE_CHANGED,{device_from_name:o.default.getCertifiedDeviceName(t,null!=a?a.name:""),device_to_name:o.default.getCertifiedDeviceName(n,null!=u?u.name:""),device_type:r,device_is_certified:o.default.isCertified(n),location:i})}}var E=n(5649),h=E.enable,m=E.isNotSupported,v={enable:h,toggleSelfMute:function(e){return void 0===e&&(e=r.MediaEngineContextTypes.DEFAULT),m()?Promise.resolve():a.default.isEnabled()?(i.default.dispatch({type:c.ActionTypes.AUDIO_TOGGLE_SELF_MUTE,context:e}),Promise.resolve()):this.enable(!0)},setTemporarySelfMute:function(e){m()||i.default.dispatch({type:c.ActionTypes.AUDIO_SET_TEMPORARY_SELF_MUTE,mute:e})},toggleSelfDeaf:function(e){void 0===e&&(e=r.MediaEngineContextTypes.DEFAULT),m()||i.default.dirtyDispatch({type:c.ActionTypes.AUDIO_TOGGLE_SELF_DEAF,context:e})},toggleLocalMute:function(e,t){void 0===t&&(t=r.MediaEngineContextTypes.DEFAULT),m()||i.default.dispatch({type:c.ActionTypes.AUDIO_TOGGLE_LOCAL_MUTE,context:t,userId:e})},setDisableLocalVideo:function(e,t,n,o){void 0===n&&(n=r.MediaEngineContextTypes.DEFAULT),void 0===o&&(o=!0),m()||i.default.dispatch({type:c.ActionTypes.AUDIO_SET_LOCAL_VIDEO_DISABLED,context:n,userId:e,disabled:t,persist:o})},setLocalVolume:function(e,t,n){void 0===n&&(n=r.MediaEngineContextTypes.DEFAULT),i.default.dispatch({type:c.ActionTypes.AUDIO_SET_LOCAL_VOLUME,context:n,userId:e,volume:t})},setLocalPan:function(e,t,n,o){void 0===o&&(o=r.MediaEngineContextTypes.DEFAULT),i.default.dispatch({type:c.ActionTypes.AUDIO_SET_LOCAL_PAN,context:o,userId:e,left:t,right:n})},setMode:function(e,t,n){void 0===t&&(t={}),void 0===n&&(n=r.MediaEngineContextTypes.DEFAULT),m()||i.default.dispatch({type:c.ActionTypes.AUDIO_SET_MODE,context:n,mode:e,options:f({},a.default.getModeOptions(n),{},t)})},setInputVolume:function(e){m()||i.default.dispatch({type:c.ActionTypes.AUDIO_SET_INPUT_VOLUME,volume:e})},setOutputVolume:function(e){m()||i.default.dispatch({type:c.ActionTypes.AUDIO_SET_OUTPUT_VOLUME,volume:e})},setInputDevice:function(e,t){if(!m()){if(null!=t)p(a.default.getInputDevices(),a.default.getInputDeviceId(),e,"Audio Input",t);i.default.dispatch({type:c.ActionTypes.AUDIO_SET_INPUT_DEVICE,id:e}),_()}},setOutputDevice:function(e,t){if(!m()){if(null!=t)p(a.default.getOutputDevices(),a.default.getOutputDeviceId(),e,"Audio Output",t);i.default.dispatch({type:c.ActionTypes.AUDIO_SET_OUTPUT_DEVICE,id:e}),_()}},setVideoDevice:function(e,t){if(!m()){if(null!=t)p(a.default.getVideoDevices(),a.default.getVideoDeviceId(),e,"Video",t);i.default.dirtyDispatch({type:c.ActionTypes.MEDIA_ENGINE_SET_VIDEO_DEVICE,id:e})}},setEchoCancellation:function(e,t){m()||i.default.dispatch({type:c.ActionTypes.AUDIO_SET_ECHO_CANCELLATION,enabled:e,location:t})},setLoopback:function(e){m()||i.default.dirtyDispatch({type:c.ActionTypes.AUDIO_SET_LOOPBACK,enabled:e})},setNoiseSuppression:function(e,t){m()||i.default.dispatch({type:c.ActionTypes.AUDIO_SET_NOISE_SUPPRESSION,enabled:e,location:t})},setNoiseCancellation:function(e,t){m()||(i.default.dispatch({type:c.ActionTypes.AUDIO_SET_NOISE_CANCELLATION,enabled:e,location:t}),i.default.dispatch({type:c.ActionTypes.AUDIO_SET_NOISE_SUPPRESSION,enabled:!e,location:t}))},setAutomaticGainControl:function(e,t){m()||i.default.dispatch({type:c.ActionTypes.AUDIO_SET_AUTOMATIC_GAIN_CONTROL,enabled:e,location:t})},setExperimentalEncoders:function(e){m()||i.default.dispatch({type:c.ActionTypes.MEDIA_ENGINE_SET_EXPERIMENTAL_ENCODERS,enabled:e})},setHardwareH264:function(e){m()||i.default.dispatch({type:c.ActionTypes.MEDIA_ENGINE_SET_HARDWARE_H264,enabled:e})},setAttenuation:function(e,t,n){m()||i.default.dispatch({type:c.ActionTypes.AUDIO_SET_ATTENUATION,attenuation:e,attenuateWhileSpeakingSelf:t,attenuateWhileSpeakingOthers:n})},setQoS:function(e){m()||i.default.dispatch({type:c.ActionTypes.AUDIO_SET_QOS,enabled:e})},reset:function(){m()||i.default.dispatch({type:c.ActionTypes.AUDIO_RESET})},setSilenceWarning:function(e){m()||i.default.dispatch({type:c.ActionTypes.AUDIO_SET_DISPLAY_SILENCE_WARNING,enabled:e})},setDebugLogging:function(e){m()||i.default.dispatch({type:c.ActionTypes.AUDIO_SET_DEBUG_LOGGING,enabled:e})},setVideoHook:function(e){m()||i.default.dispatch({type:c.ActionTypes.MEDIA_ENGINE_SET_VIDEO_HOOK,enabled:e})},setExperimentalSoundshare:function(e){m()||i.default.dispatch({type:c.ActionTypes.MEDIA_ENGINE_SET_EXPERIMENTAL_SOUNDSHARE,enabled:e})},setAudioSubsystem:function(e){m()||i.default.dispatch({type:c.ActionTypes.AUDIO_SET_SUBSYSTEM,subsystem:e})},setVideoEnabled:function(e){i.default.dispatch({type:c.ActionTypes.MEDIA_ENGINE_SET_VIDEO_ENABLED,enabled:e})},setDesktopSource:function(e,t,n,r,o,a){null!=t&&null!=n&&null!=r&&(0,l.trackStreamSettingsUpdate)(t,n,r),i.default.dispatch({type:c.ActionTypes.MEDIA_ENGINE_SET_DESKTOP_SOURCE,sourceId:e,resolution:n,frameRate:r,sound:o,context:a})},setOpenH264:function(e){m()||i.default.dispatch({type:c.ActionTypes.MEDIA_ENGINE_SET_OPEN_H264,enabled:e})},setAecDump:function(e){m()||i.default.dispatch({type:c.ActionTypes.MEDIA_ENGINE_SET_AEC_DUMP,enabled:e})},interact:function(){m()||i.default.dispatch({type:c.ActionTypes.MEDIA_ENGINE_INTERACTION_REQUIRED,required:!1})},enableSoundshare:function(){m()||i.default.dispatch({type:c.ActionTypes.MEDIA_ENGINE_ENABLE_SOUNDSHARE})}};t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStoreListingLocation=function(e,t){var n=t.analyticsSource,r=t.analyticsProperties,i=t.storeListingId,o=t.slug,a=t.channelId,s=t.guildId,u={state:{analyticsSource:n,analyticsProperties:r},search:null!=i?"?store_listing_id="+i:""};return h({pathname:null!=a&&null!=s?_.Routes.CHANNEL(s,a,e):_.Routes.APPLICATION_STORE_LISTING_SKU(e,o)},u)},t.getApplicationStoreListingLocation=function(e,t){var n=t.analyticsSource,r=t.analyticsProperties,i=t.slug,o={state:{analyticsSource:n,analyticsProperties:r}};return h({pathname:_.Routes.APPLICATION_STORE_LISTING_APPLICATION(e,i)},o)},t.getAssetURL=function(e,t,n,r){var i,o=window.GLOBAL_ENV.CDN_HOST;if(null==r)switch(t.mimeType||t.mime_type){case"video/quicktime":case"video/mp4":r="mp4";break;case"image/gif":r="gif";break;default:r="webp"}"webp"!==r||m||(r="png");i=null!=o?location.protocol+"//"+o+"/app-assets/"+e+"/store/"+t.id+"."+r:""+location.protocol+window.GLOBAL_ENV.API_ENDPOINT+_.Endpoints.STORE_ASSET(e,t.id,r);null!=n&&(i+="?size="+(0,c.calculateSize)(n));return i},t.httpGetWithCountryCodeQuery=function(e){var t=a.default.getDefaultBillingCountryCode();if(null!=t){if("string"==typeof e)e={url:e,oldFormErrors:!0};if("string"==typeof e.query)throw new Error("string query not supported");e.query=h({},e.query,{country_code:t})}return o.default.get(e)},t.nativePlatformTypeToSKUOperatingSystem=function(e){switch(e){case d.PlatformTypes.WINDOWS:return _.OperatingSystems.WINDOWS;case d.PlatformTypes.OSX:return _.OperatingSystems.MACOS;case d.PlatformTypes.LINUX:return _.OperatingSystems.LINUX;default:return null}},t.skuOperatingSystemToText=function(e){switch(e){case _.OperatingSystems.WINDOWS:return p.default.Messages.WINDOWS;case _.OperatingSystems.MACOS:return p.default.Messages.MACOS;case _.OperatingSystems.LINUX:return p.default.Messages.LINUX}throw new Error("Unknown operating system value: "+e)},t.getPrimarySKUForApplication=function(e,t,n){var r=t.getGame(e);if(null==r)return null;if(null==r.primarySkuId)return null;return n.get(r.primarySkuId)},t.getNowPlayingReason=v,t.getEverPlayedReason=T,t.getSocialRecommendationReasons=function(e,t,n,i,o){var a=t.get(e);if(null==a)return g;var s=a.applicationId,u=[],l=[],c=v(s,n,i);null!=c&&(u.push(c),l=c.userInfo.map((function(e){return e.user.id})));var d=o.getStatisticsForApplication(s);if(null!=d){var f=d.map((function(e){return e.user_id}));if(r.default.difference(f,l).length>0){var _=T(s,n,o);null!=_&&u.push(_)}}return u},t.getNonSocialRecommendationReasons=function(e,t,n){var r=t.get(e),o=n.getForSKU(e);if(null==r||null==o)return I;var a=[];(0,u.hasFlag)(r.flags,_.SKUFlags.HAS_FREE_PREMIUM_CONTENT)&&a.push({type:_.StoreRecommendationTypes.HAS_FREE_PREMIUM_CONTENT});var s=r.releaseDate;null!=s&&(0,i.default)().diff(s,"months")<3&&(r.accessType===_.SKUAccessTypes.EARLY_ACCESS?a.push({type:_.StoreRecommendationTypes.EARLY_ACCESS,releaseDate:s}):a.push({type:_.StoreRecommendationTypes.RECENT_RELEASE_DATE,releaseDate:s}));null!=o.flavorText&&a.push({type:_.StoreRecommendationTypes.FLAVOR_TEXT,flavorText:o.flavorText});return a},t.RECENTLY_RELEASED_MONTHS_THRESHOLD=t.SUPPORTS_WEBP=void 0;var r=E(n(8)),i=E(n(5)),o=E(n(14)),a=E(n(693)),s=n(1179),u=n(99),l=n(48),c=n(193),d=n(16),f=n(299),_=n(1),p=E(n(6));function E(e){return e&&e.__esModule?e:{default:e}}function h(){return(h=Object.assign||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}).apply(this,arguments)}var m=!f.isMobile&&!f.isTablet&&-1!==(0,s.getChromeVersion)();t.SUPPORTS_WEBP=m;function v(e,t,n){var r=n.getNowPlaying(e)||{},i=Object.keys(r).map((function(e){var n=t.getUser(e);return null==n?null:{user:n,startTime:r[n.id].startedPlaying}})).filter(l.isNotNullish).sort((function(e,t){return t.startTime-e.startTime}));return 0===i.length?null:{type:_.StoreRecommendationTypes.NOW_PLAYING,userInfo:i}}function T(e,t,n){var r=n.getStatisticsForApplication(e);if(null==r)return null;var i=r.map((function(e){var n=t.getUser(e.user_id);return null==n?null:{user:n,endTime:Date.parse(e.last_played_at)}})).filter(l.isNotNullish).sort((function(e,t){return t.endTime-e.endTime}));return 0===i.length?null:{type:_.StoreRecommendationTypes.EVER_PLAYED,userInfo:i}}t.RECENTLY_RELEASED_MONTHS_THRESHOLD=3;var g=Object.freeze([]);var I=Object.freeze([])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMessageStickers=t.isStandardSticker=t.isGuildSticker=t.shouldAttachSticker=t.shouldAnimateSticker=t.createStickerPackCategory=t.isStickerPackAnimated=t.isStickerAssetUrl=t.getStickerPackBannerAssetUrl=t.getStickerAssetUrl=t.getFilenameForSticker=t.getStickerFormatTypeFromFileType=t.getStickerExtensionFromFormatType=t.getStickerPackPreviewSticker=void 0;var r,i=n(1306),o=n(193),a=n(289),s=(r=n(1276))&&r.__esModule?r:{default:r},u=n(398),l=n(366),c=n(1);var d=window.GLOBAL_ENV,f=d.API_ENDPOINT,_=d.MEDIA_PROXY_ENDPOINT,p=d.PROJECT_ENV,E=d.ASSET_ENDPOINT,h=d.CDN_HOST,m=Object.values(l.StickerExtensions),v=decodeURIComponent(c.Endpoints.STICKER_ASSET("[\\d]+","("+m.join("|")+")")),T=new RegExp("("+E+"|"+_+")("+v+")","ig"),g=new RegExp(""+location.protocol+f+"("+v+")","ig"),I=function(e){if(null!=e.cover_sticker_id){var t=e.stickers.find((function(t){return t.id===e.cover_sticker_id}));if(null!=t)return t}return e.stickers[0]};t.getStickerPackPreviewSticker=I;var S=function(e){switch(e){case l.StickerFormat.PNG:return l.StickerExtensions.PNG;case l.StickerFormat.APNG:return l.StickerExtensions.APNG;case l.StickerFormat.LOTTIE:return l.StickerExtensions.LOTTIE;default:throw new Error("Unexpected format type: "+e)}};t.getStickerExtensionFromFormatType=S;t.getStickerFormatTypeFromFileType=function(e){switch(e){case"application/json":return l.StickerFormat.LOTTIE;case"image/apng":return l.StickerFormat.APNG;case"image/png":return l.StickerFormat.PNG;default:throw new Error("Unexpected file type: "+e)}};t.getFilenameForSticker=function(e){return null==e?null:e.name+"."+S(e.format_type)};t.getStickerAssetUrl=function(e,t){var n=void 0===t?{}:t,r=n.isPreview,i=void 0!==r&&r,a=n.size,s=void 0===a?u.DEFAULT_STICKER_DIMENSIONS:a;if(null==e.format_type)return null;var d=c.Endpoints.STICKER_ASSET(e.id,S(e.format_type));if("development"!==p){if(e.format_type===l.StickerFormat.LOTTIE)return""+E+d;var h=e.format_type===l.StickerFormat.APNG&&i?"&passthrough=false":"";return""+_+d+"?size="+(0,o.calculateSize)(s)+h}return""+location.protocol+f+d};t.getStickerPackBannerAssetUrl=function(e,t){var n,r=e.banner_asset_id;if(null==r)return null;var i=a.SUPPORTS_WEBP?"webp":"png";return n=null!=h?location.protocol+"//"+h+"/app-assets/"+u.STICKER_APPLICATION_ID+"/store/"+r+"."+i:""+location.protocol+f+c.Endpoints.STORE_ASSET(u.STICKER_APPLICATION_ID,r,i),null!=t&&(n+="?size="+(0,o.calculateSize)(t)),n};t.isStickerAssetUrl=function(e){return e.match("development"!==p?T:g)};t.isStickerPackAnimated=function(e){return e.stickers.some((function(e){var t=e.format_type;return t===l.StickerFormat.APNG||t===l.StickerFormat.LOTTIE}))};t.createStickerPackCategory=function(e){return{type:l.StickerCategoryTypes.PACK,id:e.id,name:e.name,stickers:e.stickers,previewSticker:I(e)}};t.shouldAnimateSticker=function(e,t){return e===u.StickerAnimationSettings.ANIMATE_ON_INTERACTION?t:e!==u.StickerAnimationSettings.NEVER_ANIMATE};t.shouldAttachSticker=function(e,t,n){var r=s.default.getStickerPreview(n);if(null!=r&&r.length>0)return!0;switch(e){case l.StickerSelectLocation.STICKER_PICKER:return""!==t.trim();case l.StickerSelectLocation.AUTOCOMPLETE:case l.StickerSelectLocation.EXPRESSION_SUGGESTIONS:return(0,i.getQueriesFromUserInput)(t).length>1;default:return!1}};t.isGuildSticker=function(e){return e.type===l.MetaStickerType.GUILD};t.isStandardSticker=function(e){return e.type===l.MetaStickerType.STANDARD};t.getMessageStickers=function(e){return e.stickerItems.length>0?e.stickerItems:e.stickers.length>0?e.stickers:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?32:t,r=e.height,i=void 0===r?32:r,s=e.color,c=void 0===s?"currentColor":s,d=function(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}(e,["width","height","color"]);return o.createElement("svg",u({},(0,a.default)(d),{width:n,height:i,viewBox:"0 0 24 24",fill:"none"}),l("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 13C14 14.1 13.1 15 12 15C10.9 15 10 14.1 10 13C10 11.9 10.9 11 12 11C13.1 11 14 11.9 14 13ZM8.5 20V19.5C8.5 17.8 9.94 16.5 12 16.5C14.06 16.5 15.5 17.8 15.5 19.5V20H8.5ZM7 13C7 10.24 9.24 8 12 8C14.76 8 17 10.24 17 13C17 13.91 16.74 14.75 16.31 15.49L17.62 16.25C18.17 15.29 18.5 14.19 18.5 13C18.5 9.42 15.58 6.5 12 6.5C8.42 6.5 5.5 9.42 5.5 13C5.5 14.18 5.82 15.29 6.38 16.25L7.69 15.49C7.26 14.75 7 13.91 7 13ZM2.5 13C2.5 7.75 6.75 3.5 12 3.5C17.25 3.5 21.5 7.75 21.5 13C21.5 14.73 21.03 16.35 20.22 17.75L21.51 18.5C22.45 16.88 23 15 23 13C23 6.93 18.07 2 12 2C5.93 2 1 6.93 1 13C1 15 1.55 16.88 2.48 18.49L3.77 17.74C2.97 16.35 2.5 14.73 2.5 13Z",fill:c}))}c.displayName="Stage"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.denyChannelAccessForNonPaidUsers=function(e,t){switch(t){case f.ChannelTypes.GUILD_STAGE_VOICE:var n=d.default.NONE;return n=r.default.add(n,f.Permissions.CONNECT),{id:e,type:i.PermissionOverwriteType.ROLE,allow:d.default.NONE,deny:n};default:throw new Error("Premium channel feature not supported for channel type "+t)}},t.allowChannelAccess=T,t.permissionOverwritesForRoles=function(e,t,n,o){void 0===o&&(o=!1);var a=[];(n.length>0||o)&&a.push(function(e,t,n){var i=d.default.NONE;((0,s.isGuildSelectableChannelType)(t)||t===h)&&(i=r.default.add(i,f.Permissions.VIEW_CHANNEL));v(t,E)&&(i=r.default.add(i,f.Permissions.VIEW_CHANNEL),i=r.default.add(i,f.Permissions.CONNECT));return{id:e,type:n,allow:d.default.NONE,deny:i}}(e,t,i.PermissionOverwriteType.ROLE));return n.forEach((function(e){a.push(T(e,t,i.PermissionOverwriteType.ROLE))})),a},t.permissionOverwriteForUser=function(e,t){return T(e,t,i.PermissionOverwriteType.MEMBER)},t.permissionOverwriteForRole=function(e,t){return T(e,t,i.PermissionOverwriteType.ROLE)},t.permissionOverwritesForAnnouncement=function(e){return[{id:e,type:i.PermissionOverwriteType.ROLE,deny:f.Permissions.SEND_MESSAGES,allow:d.default.NONE}]},t.isChannelFull=function(e,t,n){var r,i,o=e.getGuildId(),a=null!==(r=null===(i=n.getGuild(o))||void 0===i?void 0:i.maxVideoChannelUsers)&&void 0!==r?r:-1,s=c.default.countVoiceStatesForChannel(e.id),u=l.default.can(f.Permissions.MOVE_MEMBERS,e)&&l.default.can(f.Permissions.CONNECT,e),d=null!=o&&t.hasVideo(e.id)&&a>0&&s>=a+(u?1:0),_=e.userLimit>0&&s>=e.userLimit;return d||_&&!u},t.getBitrateLimit=function(e,t){if(t.isGuildStageVoice())return f.BITRATE_DEFAULT;if(null==e)return f.BITRATE_MAX;return Math.max(e.hasFeature(f.GuildFeatures.VIP_REGIONS)?f.PremiumGuildLimits[f.PremiumGuildTiers.TIER_3].bitrate:f.BITRATE_MAX,f.PremiumGuildLimits[e.premiumTier].bitrate)},t.shouldRenderVoiceUserSummary=function(e,t,n,r){if(!u.default.isCollapsed(e))return!1;var i=t[e];if(null==i||0===i.length)return!1;return i.some((function(e){var t=e.channel,i=r[t.id];return t.id!==n&&i&&i.length>0}))},t.computeSummarizedVoiceUsers=function(e,t,n){var r=[];return e.forEach((function(e){var i=e.channel;if(i.id!==t){var o=n[i.id];null!=o&&(i.isGuildStageVoice()?o.forEach((function(e){(0,a.getAudienceRequestToSpeakState)(e.voiceState)===a.RequestToSpeakStates.ON_STAGE&&r.push(e.user)})):o.forEach((function(e){return r.push(e.user)})))}})),r},t.channelTypeString=function(e){switch(e.type){case f.ChannelTypes.DM:return _.default.Messages.DM;case f.ChannelTypes.GROUP_DM:return _.default.Messages.GROUP_DM;case f.ChannelTypes.GUILD_TEXT:return _.default.Messages.TEXT_CHANNEL;case f.ChannelTypes.GUILD_VOICE:return _.default.Messages.VOICE_CHANNEL;case f.ChannelTypes.GUILD_STAGE_VOICE:return _.default.Messages.STAGE_CHANNEL;case f.ChannelTypes.GUILD_ANNOUNCEMENT:return _.default.Messages.NEWS_CHANNEL;case f.ChannelTypes.GUILD_STORE:return _.default.Messages.STORE_CHANNEL;case f.ChannelTypes.GUILD_CATEGORY:return _.default.Messages.CATEGORY;default:return null}},t.getChannelPrefix=function(e){return null!=e&&(0,s.isGuildVocalChannelType)(e)?"":"#"},t.shouldDisplayChannelIconPrefix=function(e){return null!=e&&(0,s.isGuildVocalChannelType)(e)},Object.defineProperty(t,"sanitizeGuildTextChannelName",{enumerable:!0,get:function(){return o.default}});var r=p(n(63)),i=n(286),o=p(n(5376)),a=n(304),s=n(31),u=p(n(1212)),l=p(n(40)),c=p(n(365)),d=p(n(78)),f=n(1),_=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}var E=f.ChannelTypes.GUILD_VOICE,h=f.ChannelTypes.GUILD_CATEGORY,m=f.ChannelTypes.GUILD_STAGE_VOICE;function v(e,t){return e===t||e===h}function T(e,t,n){var i=d.default.NONE;return((0,s.isGuildSelectableChannelType)(t)||t===h)&&(i=r.default.add(i,f.Permissions.VIEW_CHANNEL)),(v(t,E)||v(t,m))&&(i=r.default.add(i,f.Permissions.VIEW_CHANNEL),i=r.default.add(i,f.Permissions.CONNECT)),{id:e,type:n,deny:d.default.NONE,allow:i}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSpotifyParty=function(e){return null!=e&&e.startsWith("spotify:")},t.SpotifyEndpoints=t.SPOTIFY_HOSTNAMES=t.SpotifyActionTypes=t.SpotifyResourceTypes=t.SPOTIFY_PLATFORM_NAME=t.SPOTIFY_PARTY_PREFIX=t.SPOTIFY_APP_PROTOCOL=void 0;var r,i=(r=n(183))&&r.__esModule?r:{default:r},o=n(1);t.SPOTIFY_APP_PROTOCOL="spotify";t.SPOTIFY_PARTY_PREFIX="spotify:";var a,s,u=i.default.get(o.PlatformTypes.SPOTIFY).name;t.SPOTIFY_PLATFORM_NAME=u,t.SpotifyResourceTypes=a,function(e){e.TRACK="track",e.ARTIST="artist",e.ALBUM="album",e.PLAYLIST="playlist"}(a||(t.SpotifyResourceTypes=a={})),t.SpotifyActionTypes=s,function(e){e.USER_ACTIVITY_PLAY="user_activity_play",e.USER_ACTIVITY_SYNC="user_activity_sync",e.EMBED_SYNC="embed_sync"}(s||(t.SpotifyActionTypes=s={}));t.SPOTIFY_HOSTNAMES=["open.spotify.com","www.spotify.com"];var l="https://api.spotify.com/v1",c=function(e){return"?utm_source=discord&utm_medium="+e},d=Object.freeze({PROFILE:l+"/me",NOTIFICATIONS_PLAYER:l+"/me/notifications/player",PLAYER:l+"/me/player",PLAYER_DEVICES:l+"/me/player/devices",PLAYER_PLAY:l+"/me/player/play",PLAYER_PAUSE:l+"/me/player/pause",PLAYER_REPEAT:l+"/me/player/repeat",WEB_OPEN:function(e,t,n){return void 0===n&&(n="desktop"),"https://open.spotify.com/"+encodeURIComponent(e)+"/"+encodeURIComponent(t)+c(n)},EMBED:function(e,t){return void 0===t&&(t="desktop"),"https://open.spotify.com/embed"+e+c(t)},PLAYER_OPEN:function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r="desktop"),"spotify:"+encodeURIComponent(e)+":"+encodeURIComponent(t)+(n?c(r):"")},PREMIUM_SITE:"https://www.spotify.com/premium/"+c("desktop"),INSTALL_ATTRIBUTION:function(e){return"https://app.adjust.com/bdyga9?campaign="+e},IOS_APP_STORE:"https://itunes.apple.com/us/app/spotify-music/id324684580?mt=8"});t.SpotifyEndpoints=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(8)),i=d(n(3)),o=d(n(2)),a=d(n(11)),s=n(48),u=d(n(1359)),l=d(n(399)),c=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(){return(_=Object.assign||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}).apply(this,arguments)}var p=[],E=new Map,h={};var m=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var i=r.prototype;return i.getSelfEmbeddedActivityForChannel=function(e){var t;return null!==(t=Array.from(E.values()).find((function(t){var n=t.channelId;return e===n})))&&void 0!==t?t:null},i.getSelfEmbeddedActivities=function(){return E},i.getEmbeddedActivitiesForUser=function(e,t){var n,r;return null==t?p:null!==(n=null===(r=h[e])||void 0===r?void 0:r[t])&&void 0!==n?n:p},i.getEmbeddedActivities=function(){return h},r}(i.default.Store))(o.default,{EMBEDDED_ACTIVITY_OPEN:function(e){var t,n=e.channelId,r=e.applicationId,i=(0,u.default)(r),o=a.default.getSessionId();return null!=i&&null!=o&&((null===(t=E.get(r))||void 0===t?void 0:t.channelId)!==n&&void E.set(r,{channelId:n,applicationId:r,url:i,type:c.ActivityTypes.PLAYING,userId:a.default.getId(),sessionId:o,canJoin:!0}))},EMBEDDED_ACTIVITY_CLOSE:function(e){var t=e.applicationId;E.delete(t)},PRESENCE_UPDATE:function(e){var t,n=e.activities,i=e.user,o=r.default.groupBy(n.filter((function(e){return null!=e.session_id})),"session_id"),a=null!==(t=h[i.id])&&void 0!==t?t:{},d=!1;return Object.entries(o).forEach((function(e){var t=e[0],n=e[1].map((function(e){var t;if(!(0,l.default)(e,c.ActivityFlags.EMBEDDED))return null;var n=e.application_id,r=e.session_id;if(null==n||null==r)return null;var o=(0,u.default)(n);return null==o?null:{applicationId:n,url:o,type:null!==(t=e.type)&&void 0!==t?t:c.ActivityTypes.PLAYING,userId:i.id,sessionId:r,canJoin:(0,l.default)(e,c.ActivityFlags.JOIN)}})).filter(s.isNotNullish);r.default.isEqual(n,a[t])||(a[t]=n,d=!0)})),r.default.difference(Object.keys(a),Object.keys(o)).forEach((function(e){d=!0,delete a[e]})),d&&(h[i.id]=a),d},LOCAL_ACTIVITY_UPDATE:function(e){var t,n,r,i=e.activity;if(null==i)return!1;var o=E.get(null!==(t=i.application_id)&&void 0!==t?t:"");if(null==o)return!1;E.set(o.applicationId,_({},o,{type:null!==(n=i.type)&&void 0!==n?n:o.type,joinSecret:null===(r=i.secrets)||void 0===r?void 0:r.join}))},EMBEDDED_ACTIVITY_SET_CONFIG:function(e){var t=e.applicationId,n=e.config,r=E.get(t);null!=r&&E.set(r.applicationId,_({},r,{config:n}))}});t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ensureStripeIsLoaded=d,t.ensureStripeV3IsLoaded=f,t.parseStripePaymentMethod=function(e){var t=e.billing_details,n=null!=t.address?t.address:{},r=n.postal_code,i=void 0===r?null:r,o=function(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}(n,["postal_code"]),a=l({name:t.name},o,{postalCode:i});return{token:e.id,billingAddressInfo:a}},t.authenticatePaymentIntentForPaymentId=function(e){return _.apply(this,arguments)};var r=a(n(14)),i=a(n(5437)),o=n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){s(o,r,i,a,u,"next",e)}function u(e){s(o,r,i,a,u,"throw",e)}a(void 0)}))}}function l(){return(l=Object.assign||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}).apply(this,arguments)}var c=Object.freeze({REQUIRES_PAYMENT_METHOD:"requires_payment_method",REQUIRES_CONFIRMATION:"requires_confirmation",REQUIRES_ACTION:"requires_action",PROCESSING:"processing",CANCELED:"canceled",SUCCEEDED:"succeeded"});i.default.register("https://js.stripe.com/v2","Stripe");function d(){return i.default.ensure("https://js.stripe.com/v2").then((function(e){return e.setPublishableKey(o.PaymentSettings.STRIPE.KEY),e}))}function f(){return d().then((function(){return i.default.ensure("https://js.stripe.com/v3/").then((function(e){return e(o.PaymentSettings.STRIPE.KEY)}))}))}function _(){return(_=u(regeneratorRuntime.mark((function e(t){var n,i,a,s,u,l,d,_,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r.default.get({url:o.Endpoints.BILLING_STRIPE_PAYMENT_INTENTS(t),oldFormErrors:!0});case 3:return n=e.sent,i=n.body.stripe_payment_intent_client_secret,e.next=7,f();case 7:return a=e.sent,e.next=10,a.retrievePaymentIntent(i);case 10:if(s=e.sent,u=s.error,l=s.paymentIntent,null==u){e.next=15;break}return e.abrupt("return",{error:u.message});case 15:d={},l.status===c.REQUIRES_PAYMENT_METHOD&&null!=l.last_payment_error&&null!=l.last_payment_error.payment_method&&(d.payment_method=l.last_payment_error.payment_method.id),e.t0=l.status,e.next=e.t0===c.REQUIRES_PAYMENT_METHOD||e.t0===c.REQUIRES_CONFIRMATION||e.t0===c.REQUIRES_ACTION?20:e.t0===c.SUCCEEDED||e.t0===c.PROCESSING?29:(e.t0,c.CANCELED,30);break;case 20:return e.next=22,a.handleCardPayment(i,d);case 22:if(_=e.sent,null==(p=_.error)){e.next=28;break}return e.abrupt("return",{error:p.message});case 28:case 29:return e.abrupt("return",{});case 30:return e.abrupt("return",{error:"Invalid Payment Intent status: "+l.status});case 31:e.next=36;break;case 33:return e.prev=33,e.t1=e.catch(0),e.abrupt("return",{error:e.t1.message});case 36:case"end":return e.stop()}}),e,null,[[0,33]])})))).apply(this,arguments)}i.default.register("https://js.stripe.com/v3/","Stripe")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InternalTemplateCodes=t.GuildTemplateStates=t.GUILD_TEMPLATES_MEMBER_COUNT_PROMOTION_THRESHOLD=void 0;var r,i;t.GUILD_TEMPLATES_MEMBER_COUNT_PROMOTION_THRESHOLD=50,t.GuildTemplateStates=r,function(e){e.RESOLVING="RESOLVING",e.RESOLVED="RESOLVED",e.EXPIRED="EXPIRED",e.ACCEPTED="ACCEPTED",e.ACCEPTING="ACCEPTING"}(r||(t.GuildTemplateStates=r={})),t.InternalTemplateCodes=i,function(e){e.CLASSROOM="fVfBazbqjhXg",e.LOCAL_COMMUNITIES="64UDvRNCC52Y",e.CREATORS_HOBBIES="6exdzMgjZgah",e.GLOBAL_COMMUNITIES="4sgbPdCjzAYU",e.FRIENDS_FAMILY="hgM48av5Q69A",e.STUDY_GROUPS="FbwUwRp4j8Es",e.CREATE_FROM_SCRATCH="WYAQmEzjw3Pj",e.CAMPUS_CLUBS="Ctg7PUHcQmZu",e.LEAGUE_CLUBS="PJ6VvgEJYg45",e.GITHUB_HACKATHON="UqzZCTj2zfwy"}(i||(t.InternalTemplateCodes=i={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createMessageRecord=v,t.updateMessageRecord=function(e,t){if(null!=t.edited_timestamp)return v(t,e.reactions);var n=e;null!=t.call&&(n=n.set("call",g(t.call,e.timestamp)));t.attachments&&(n=n.set("attachments",T(t)));t.content&&(n=n.set("content",t.content));t.embeds&&(n=n.set("embeds",I(t)));t.pinned!==n.pinned&&(n=n.set("pinned",t.pinned));n.webhookId&&t.author&&(n=n.set("author",new u.default(t.author)));null!=t.flags&&t.flags!==n.flags&&(n=n.set("flags",t.flags));t.components&&(n=n.set("components",t.components));return n},t.canEditMessageWithStickers=void 0;var r=h(n(5)),i=h(n(387)),o=n(290),a=h(n(1786)),s=h(n(1307)),u=h(n(89)),l=h(n(11)),c=h(n(70)),d=h(n(12)),f=n(1308),_=n(402),p=n(747),E=(n(682),n(1));function h(e){return e&&e.__esModule?e:{default:e}}function m(){return(m=Object.assign||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}).apply(this,arguments)}function v(e,t){var n=e.mentions.map((function(e){return e.id})),o=e.mention_roles||[],f=e.mention_channels||[],E=e.message_reference,h=(0,r.default)(new Date(e.timestamp)),v=(0,i.default)(e.content),S=e.webhook_id?new u.default(e.author):d.default.getUser(e.author.id)||new u.default(e.author),y=null!=e.interaction?a.default.createFromServer(e.interaction):null;return new s.default(m({},e,{},null,{author:S,webhookId:e.webhook_id,blocked:c.default.isBlocked(e.author.id),timestamp:h,editedTimestamp:null!=e.edited_timestamp?(0,r.default)(new Date(e.edited_timestamp)):null,mentionEveryone:e.mention_everyone,mentions:n,mentionRoles:o,mentionChannels:f,messageReference:E,mentioned:(0,p.isMentioned)(l.default.getId(),e.channel_id,e.mention_everyone,n,o),attachments:T(e),embeds:I(e),codedLinks:v,giftCodes:(0,_.findGiftCodes)(e.content),call:g(e.call,h),reactions:t||e.reactions,interaction:y,interactionData:e.interaction_data}))}function T(e){if(null==e.attachments)return[];var t=e.attachments.some((function(e){return e.filename.startsWith(E.SPOILER_ATTACHMENT_PREFIX)}));return e.attachments.map((function(e){return m({},e,{spoiler:t})}))}function g(e,t){if(null!=e){var n=null!=e.ended_timestamp?(0,r.default)(new Date(e.ended_timestamp)):null,i=null!=n?r.default.duration(n.diff(t)):null;return{participants:e.participants,endedTimestamp:n,duration:i}}return null}function I(e){if(null==e.embeds)return[];var t=e.embeds.map((function(t){return(0,f.sanitizeEmbed)(e.channel_id,e.id,t)}));return(0,f.mergeEmbedsOnURL)(t)}t.canEditMessageWithStickers=function(e){return 0===(0,o.getMessageStickers)(e).length||""!==e.content}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(8)),i=u(n(3)),o=u(n(2)),a=u(n(26)),s=u(n(15));n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=new a.default("GuildAvailabilityStore"),f=new Set;function _(e){f=new Set(e.unavailableGuilds),e.unavailableGuilds.length&&d.warn(e.unavailableGuilds.length+" guilds are unavailable on connection open: "+e.unavailableGuilds)}function p(e){if(!f.has(e.guild.id))return!1;f.delete(e.guild.id),d.info("Guild has become available: "+e.guild.id)}var E=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var o,a,u,d=i.prototype;return d.initialize=function(){this.waitFor(s.default)},d.isUnavailable=function(e){return null!=e&&f.has(e)},o=i,(a=[{key:"totalGuilds",get:function(){return r.default.size(s.default.getGuilds())+f.size}},{key:"totalUnavailableGuilds",get:function(){return f.size}},{key:"unavailableGuilds",get:function(){return Array.from(f)}}])&&l(o.prototype,a),u&&l(o,u),i}(i.default.Store))(o.default,{CONNECTION_OPEN:_,OVERLAY_INITIALIZE:_,GUILD_UNAVAILABLE:function(e){if(f.has(e.guildId))return!1;var t=s.default.getGuild(e.guildId),n="???";null!=t&&null!=t.name&&(n=t.name),d.warn("Guild has gone unavailable: "+e.guildId+" ("+n+")"),f.add(e.guildId)},GUILD_DELETE:function(e){!0!==e.guild.unavailable&&f.delete(e.guild.id)},GUILD_CREATE:p,GUILD_UPDATE:p});t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMobile=t.isTablet=void 0;var r,i,o,a,s=(r=n(66))&&r.__esModule?r:{default:r};var u=new Set(["iPad","Kindle","Kindle Fire","Nook","PlayBook"]),l=new Set(["Android","iOS","Windows Phone"]),c=u.has(null!==(i=s.default.product)&&void 0!==i?i:"");t.isTablet=c;var d=!c&&l.has(null!==(o=null===s.default||void 0===s.default||null===(a=s.default.os)||void 0===a?void 0:a.family)&&void 0!==o?o:"");t.isMobile=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NO_GUILD_JOINED_THREADS=void 0;var r=d(n(8)),i=d(n(3)),o=d(n(2)),a=n(31),s=d(n(10)),u=d(n(200)),l=d(n(410)),c=d(n(204));n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(){return(_=Object.assign||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}).apply(this,arguments)}function p(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var h={},m={},v={};function T(){h={},m={},v={},l.default.forEachGuild((function(e,t){for(var n in t){var r=s.default.getChannel(n);if(null!=r){var i=c.default.joinTimestamp(n);if(null!=i){var o={channel:r,joinTimestamp:i.getTime()};N(h,e,r.parent_id,n,o,!1),u.default.hasUnread(n)&&N(m,e,r.parent_id,n,o,!1)}else N(v,e,r.parent_id,n,r,!1)}}}))}function g(e,t,n){if(null==t)return!1;var r=s.default.getChannel(n),i=c.default.joinTimestamp(n);if(null!=r&&l.default.isActive(e,n)){if(null!=i){var o={channel:r,joinTimestamp:i.getTime()},a=u.default.hasUnread(n);N(h,e,t,n,o,!0),N(m,e,t,n,a?o:null,!0),N(v,e,t,n,null,!0)}else N(h,e,t,n,null,!0),N(m,e,t,n,null,!0),N(v,e,t,n,r,!0);return!0}return!(!D(h,e,t,n)&&!D(v,e,t,n))&&(N(h,e,t,n,null,!0),N(m,e,t,n,null,!0),N(v,e,t,n,null,!0),!0)}function I(e){return g(e.channel.guild_id,e.channel.parent_id,e.channel.id)}function S(e,t){if(null==t)return!1;var n=h[e],r=null==n?null:n[t];if(null!=r)for(var i in r)if(r[i].channel.isNSFW())return!0;var o=v[e],a=null==o?null:o[t];if(null!=a)for(var s in a)if(a[s].isNSFW())return!0;return!1}function y(e){var t=s.default.getChannel(e.id);return!(null==t||!l.default.isActive(e.guildId,e.id))&&g(t.guild_id,t.parent_id,t.id)}function A(e){var t=s.default.getChannel(e.channelId);if(null==t)O();else{if(null==t.parent_id)return!1;if(!a.THREAD_CHANNEL_TYPES.has(t.type))return!1;if(!D(h,t.guild_id,t.parent_id,t.id))return!1;var n=u.default.hasUnread(t.id);if(n===D(m,t.guild_id,t.parent_id,t.id))return!1;var r=h[t.guild_id][t.parent_id][t.id];N(m,t.guild_id,t.parent_id,t.id,n?r:null,!0)}}function O(){for(var e in m={},h)for(var t in h[e])for(var n in h[e][t]){var r=h[e][t][n];u.default.hasUnread(n)&&N(m,e,t,n,r,!1)}}function N(e,t,n,i,o,a){if(null!=t&&null!=n&&null!=i){var s;if(t in e||(e[t]={}),n in e[t]||(e[t][n]={}),a)e[t]=_({},e[t],((s={})[n]=_({},e[t][n]),s));null===o?(delete e[t][n][i],r.default.isEmpty(e[t][n])&&delete e[t][n]):e[t][n][i]=o}}var R={};t.NO_GUILD_JOINED_THREADS=R;var b={},L={};function D(e,t,n,r){return t in e&&n in e[t]&&r in e[t][n]}var C=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(l.default,s.default,c.default,u.default)},i.hasActiveJoinedUnreadThreads=function(e,t){return e in m&&t in m[e]},i.getActiveUnjoinedThreadsForParent=function(e,t){var n;return e in v&&null!==(n=v[e][t])&&void 0!==n?n:L},i.getActiveJoinedThreadsForParent=function(e,t){var n;return e in h&&null!==(n=h[e][t])&&void 0!==n?n:b},i.getActiveJoinedThreadsForGuild=function(e){var t;return null!==(t=h[e])&&void 0!==t?t:R},i.getActiveJoinedUnreadThreadsForGuild=function(e){var t;return null!==(t=m[e])&&void 0!==t?t:R},i.computeAllActiveJoinedThreads=function(e){var t=[];for(var n in h)if(n===e||null==e)for(var r in h[n])for(var i in h[n][r])t.push(h[n][r][i].channel);return t},r}(i.default.Store))(o.default,{CONNECTION_OPEN:function(e){return T()},OVERLAY_INITIALIZE:function(e){return T()},THREAD_LIST_SYNC:function(e){return T()},LOAD_ARCHIVED_THREADS_SUCCESS:function(e){return T()},SEARCH_FINISH:function(e){return T()},GUILD_CREATE:function(e){return T()},GUILD_DELETE:function(e){return T()},CURRENT_USER_UPDATE:function(e){return T()},THREAD_CREATE:I,THREAD_UPDATE:I,THREAD_DELETE:I,CHANNEL_UPDATES:function(e){for(var t,n=p(e.updates);!(t=n()).done;){var r=t.value;if(r.channel.isNSFW()!==S(r.channel.guild_id,r.channel.parent_id))return void T()}return!1},CHANNEL_DELETE:function(e){var t=e.channel,n=!1;return null!=t.guild_id&&null!=t.parent_id&&(t.guild_id in h&&t.parent_id in h[t.guild_id]&&(delete h[t.guild_id][t.parent_id],n=!0),t.guild_id in m&&t.parent_id in m[t.guild_id]&&(delete m[t.guild_id][t.parent_id],n=!0),t.guild_id in v&&t.parent_id in v[t.guild_id]&&(delete v[t.guild_id][t.parent_id],n=!0)),n},THREAD_MEMBER_UPDATE:y,THREAD_MEMBERS_UPDATE:y,LOAD_MESSAGES_SUCCESS:A,MESSAGE_CREATE:A,MESSAGE_DELETE:A,MESSAGE_DELETE_BULK:A,MESSAGE_ACK:A,CHANNEL_ACK:A,CHANNEL_LOCAL_ACK:A,CHANNEL_SELECT:A,CHANNEL_UNREAD_UPDATE:function(e){return O()},WINDOW_FOCUS:function(e){return O()},UPDATE_CHANNEL_DIMENSIONS:function(e){return O()},DRAWER_OPEN:function(e){return O()},DRAWER_CLOSE:function(e){return O()},BULK_ACK:function(e){return O()}});t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toggleRequestToSpeak=function(e,t){var n=e.getGuildId();(0,r.default)(null!=n,"This channel cannot be guildless."),t&&(0,l.trackWithMetadata)(E.AnalyticEvents.REQUEST_TO_SPEAK_INITIATED,T({},(0,f.getStageChannelMetadata)(e)));return o.default.patch({url:E.Endpoints.UPDATE_VOICE_STATE(n),body:{request_to_speak_timestamp:t?(new Date).toISOString():null,channel_id:e.id}})},t.inviteUserToStage=function(e,t){var n=e.getGuildId();return(0,r.default)(null!=n,"This channel cannot be guildless."),o.default.patch({url:E.Endpoints.UPDATE_VOICE_STATE(n,t),body:{suppress:!1,request_to_speak_timestamp:(new Date).toISOString(),channel_id:e.id}})},t.audienceAckRequestToSpeak=g,t.moveSelfToAudience=function(e){var t=null==e?void 0:e.getGuildId();return(0,r.default)(null!=t,"This channel cannot be guildless."),o.default.patch({url:E.Endpoints.UPDATE_VOICE_STATE(t),body:{suppress:!0,channel_id:e.id}})},t.setUserSuppress=I,t.moveUserToAudience=function(e,t){if(null==t||null==e)return;I(t,e.id,!0)},t.removeUserFromChannel=function(e,t){var n=null==t?void 0:t.getGuildId();if(null==n||null==e)return;s.default.setChannel(n,e.id,null)},t.setEveryoneRolePermissionAllowed=function(e,t,n){var o=e.getGuildId();(0,r.default)(null!=o,"Channel cannot be guildless");var s=e.permissionOverwrites[o],l=T({id:o,type:u.PermissionOverwriteType.ROLE,allow:d.default.NONE,deny:d.default.NONE},s);n?(l.allow=i.default.add(l.allow,t),l.deny=i.default.remove(l.deny,t)):(l.allow=i.default.remove(l.allow,t),l.deny=i.default.add(l.deny,t));a.default.updatePermissionOverwrite(e.id,l)},t.startStage=function(e,t,n){return S.apply(this,arguments)},t.editStage=function(e,t,n){return y.apply(this,arguments)},t.endStage=function(e){return A.apply(this,arguments)};var r=h(n(23)),i=h(n(63)),o=h(n(14)),a=h(n(391)),s=h(n(199)),u=n(286),l=n(106),c=h(n(80)),d=h(n(78)),f=n(734),_=n(1421),p=n(304),E=n(1);function h(e){return e&&e.__esModule?e:{default:e}}function m(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function v(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){m(o,r,i,a,s,"next",e)}function s(e){m(o,r,i,a,s,"throw",e)}a(void 0)}))}}function T(){return(T=Object.assign||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}).apply(this,arguments)}function g(e,t){var n=null==e?void 0:e.getGuildId();(0,r.default)(null!=n,"This channel cannot be guildless.");var i=c.default.getVoiceStateForChannel(e.id);return(0,p.getAudienceRequestToSpeakState)(i)!==p.RequestToSpeakStates.REQUESTED_TO_SPEAK_AND_AWAITING_USER_ACK||t||(0,l.trackWithMetadata)(E.AnalyticEvents.PROMOTED_TO_SPEAKER,T({},(0,f.getStageChannelMetadata)(e))),o.default.patch({url:E.Endpoints.UPDATE_VOICE_STATE(n),body:{suppress:t,request_to_speak_timestamp:null,channel_id:e.id}})}function I(e,t,n){var i=e.getGuildId();return(0,r.default)(null!=i,"This channel cannot be guildless."),o.default.patch({url:E.Endpoints.UPDATE_VOICE_STATE(i,t),body:{suppress:n,channel_id:e.id}})}function S(){return(S=v(regeneratorRuntime.mark((function e(t,n,r){var i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(""!==n){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,(0,_.startStageInstance)(t.id,n,r);case 4:return i=e.sent,g(t,!1),e.abrupt("return",i);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function y(){return(y=v(regeneratorRuntime.mark((function e(t,n,r){var i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(""!==n){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,(0,_.updateStageInstance)(t.id,n,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function A(){return(A=v(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,_.endStageInstance)(t.id);case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=S(n(130)),i=S(n(8)),o=S(n(3)),a=S(n(313)),s=S(n(2)),u=S(n(11)),l=S(n(10)),c=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(86)),d=S(n(15)),f=S(n(40)),_=S(n(70)),p=S(n(283)),E=S(n(12)),h=S(n(80)),m=S(n(365)),v=S(n(260)),T=S(n(205)),g=S(n(81));n(1);function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function S(e){return e&&e.__esModule?e:{default:e}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function N(e){var t;return null!==(t=e.getGuildId())&&void 0!==t?t:"NO_GUILD"}var R=new a.default((function(e){return[N(e)]}),(function(e){return e.id}));function b(e){return R.values(null!=e?e:void 0,!0).map((function(e){return e.id}))}var L={};function D(e){var t=L[e];return null==t&&(t=new v.default(e),L[e]=t),t}function C(){var e=function(){var e={},t=d.default.getGuilds();return Object.keys(t).forEach((function(t){c.default.getChannels(t)[c.GUILD_VOCAL_CHANNELS_KEY].filter((function(e){return e.channel.isGuildStageVoice()})).forEach((function(t){var n=t.channel;m.default.countVoiceStatesForChannel(n.id)>0&&(e[n.id]=n)}))})),e}(),t=Object.keys(e),n=b();return i.default.difference(n,t).forEach(w),Object.values(e).forEach((function(e){R.set(e.id,e)})),i.default.difference(t,n)}function M(e,t){return void 0===t&&(t=b()),t.reduce((function(t,n){var r=D(n);return e(r)?(function(e){var t=l.default.getChannel(e);null!=t&&t.isGuildStageVoice()?0===D(t.id).size()?w(t.id):null==R.get(t.id)&&R.set(t.id,t):w(e)}(n),!0):t}),!1)}function P(e,t){return void 0===t&&(t=b()),M((function(t){return t.updateParticipant(e)}),t)}function w(e){return null!=e&&(delete L[e],R.delete(e),!0)}function U(){return M((function(e){return e.rebuild()}),C())}function k(e){return P(e.user.id)}function G(e){return P(e.relationship.id)}var Y=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(u.default,E.default,l.default,p.default,h.default,f.default,m.default,c.default,d.default,T.default,_.default,g.default)},i.getParticipantsVersion=function(e){return D(e).version},i.getMutableParticipants=function(e,t){return D(e).toArray(t)},i.getMutableRequestToSpeakParticipants=function(e){return D(e).getRequestToSpeakParticipants()},i.getRequestToSpeakParticipantsVersion=function(e){return D(e).requestToSpeakVersion},i.getParticipantCount=function(e,t){return D(e).size(t)},i.getChannels=function(e){return R.values(null!=e?e:"NO_GUILD")},i.getChannelsVersion=function(){return R.version},r}(o.default.Store))(s.default,{CONNECTION_OPEN:function(e){return U()},OVERLAY_INITIALIZE:function(e){return U()},VOICE_CHANNEL_SELECT:function(e){return U()},CHANNEL_SELECT:function(e){return U()},CHANNEL_RTC_ACTIVE_CHANNELS:function(e){return U()},VOICE_STATE_UPDATE:function(e){var t=e.userId,n=e.channelId,r=b(e.guildId);if(n){var i=l.default.getChannel(n);if(null==i?void 0:i.isGuildStageVoice())null==R.get(n)&&r.push(n)}return P(t,r)},CHANNEL_DELETE:function(e){return w(e.channel.id)},GUILD_MEMBERS_CHUNK:function(e){for(var t,n=!1,r=A(e.members);!(t=r()).done;){n=P(t.value.user.id)||n}return n},USER_UPDATE:k,GUILD_MEMBER_REMOVE:k,GUILD_MEMBER_UPDATE:k,CHANNEL_UPDATES:function(e){var t=e.updates.reduce((function(e,t){var n=t.channel;if(!n.isGuildStageVoice())return e;var i=R.get(n.id);return(0,r.default)(n.permissionOverwrites,null==i?void 0:i.permissionOverwrites)||(e.push(n.id),R.set(n.id,n)),e}),[]);return M((function(e){return e.rebuild()}),t),t.length>0},GUILD_ROLE_UPDATE:function(e){return M((function(e){return e.rebuild()}),b(e.guildId))},RELATIONSHIP_ADD:G,RELATIONSHIP_REMOVE:G});t.default=Y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(8)),i=d(n(3)),o=d(n(14)),a=d(n(2)),s=d(n(10)),u=d(n(36)),l=d(n(107)),c=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(){return(_=Object.assign||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}).apply(this,arguments)}var p={},E={};function h(e,t){void 0===e&&(e=!1),void 0===t&&(t=u.default.getChannelId());var n=s.default.getChannel(t);return!(null==n||null!=n.getGuildId()||null==t||null!=p[t]&&!e)&&(p[t]=p[t]||{channelId:t,ringing:[]},a.default.dirtyDispatch({type:c.ActionTypes.CALL_CONNECT,channelId:t}),!0)}var m=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(l.default,u.default)},i.getCall=function(e){return p[e]},i.getCalls=function(){return Object.values(p)},i.getMessageId=function(e){var t=this.getCall(e);return null!=t?t.messageId:null},i.isCallActive=function(e,t){var n=p[e];return null!=n&&!n.unavailable&&(t?n.messageId===t:null!=n.region)},i.isCallUnavailable=function(e){var t=p[e];return null!=t&&t.unavailable},i.getInternalState=function(){return{calls:p,enqueuedRings:E}},r}(i.default.Store))(a.default,{CONNECTION_OPEN:function(e){return h(!0)},CONNECTION_CLOSED:function(e){return p={},void(E={})},OVERLAY_INITIALIZE:function(e){var t=e.callStoreInternalState;p=_({},t.calls),E=_({},t.enqueuedRings)},CONNECTION_RESUMED:function(e){return h(!0)},CHANNEL_SELECT:function(e){return h(!1,e.channelId)},CHANNEL_DELETE:function(e){var t=e.channel;if(null!=E[t.id]&&delete E[t.id],null==p[t.id])return!1;delete p[t.id]},CALL_CREATE:function(e){var t=e.channelId,n=e.messageId,r=e.region,i=e.ringing;if(p[t]={channelId:t,messageId:n,region:r,ringing:i,unavailable:!1},null!=E[t]){var a=E[t];delete E[t],1!==a.indexOf("all")&&(a=null),o.default.post({url:c.Endpoints.CALL_RING(t),body:{recipients:a},oldFormErrors:!0})}},CALL_UPDATE:function(e){var t=e.channelId,n=e.messageId,r=e.region,i=e.ringing;p[t]=_({},p[t],{messageId:n,region:r,ringing:i})},CALL_DELETE:function(e){var t=e.channelId,n=e.unavailable,r=p[t];p[t]=!0===n&&null!=r?_({},r,{unavailable:n}):{channelId:t,ringing:[],messageId:null,region:null,unavailable:n},null!=E[t]&&delete E[t]},CALL_ENQUEUE_RING:function(e){var t=e.channelId,n=e.recipients;E[t]=r.default.union(E[t]||[],n||["all"])},VOICE_CHANNEL_SELECT:function(e){null==e.channelId&&(E={})}});t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAudienceRequestToSpeakState=s,t.default=function(e,t){return(0,o.useStateFromStores)([a.default],(function(){return null==e||null==t?i.NONE:s(a.default.getVoiceStateForChannel(t,e))}),[e,t])},t.RequestToSpeakStates=void 0;var r,i,o=n(3),a=(r=n(80))&&r.__esModule?r:{default:r};function s(e){return null==e?i.NONE:e.suppress&&null!=e.requestToSpeakTimestamp?i.REQUESTED_TO_SPEAK:e.suppress||null==e.requestToSpeakTimestamp?e.suppress||null!=e.requestToSpeakTimestamp?i.NONE:i.ON_STAGE:i.REQUESTED_TO_SPEAK_AND_AWAITING_USER_ACK}t.RequestToSpeakStates=i,function(e){e[e.NONE=0]="NONE",e[e.REQUESTED_TO_SPEAK=1]="REQUESTED_TO_SPEAK",e[e.REQUESTED_TO_SPEAK_AND_AWAITING_USER_ACK=2]="REQUESTED_TO_SPEAK_AND_AWAITING_USER_ACK",e[e.ON_STAGE=3]="ON_STAGE"}(i||(t.RequestToSpeakStates=i={}))},function(e,t,n){"use strict";function r(e){return e.split(".")[0]}Object.defineProperty(t,"__esModule",{value:!0}),t.extractId=r,t.maybeExtractId=function(e){if(null==e)return null;return r(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=v(n(8)),i=v(n(3)),o=n(57),a=v(n(2)),s=m(n(752)),u=m(n(421)),l=n(266),c=v(n(155)),d=v(n(71)),f=v(n(210)),_=v(n(120)),p=n(263),E=n(136);n(1);function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function m(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function v(e){return e&&e.__esModule?e:{default:e}}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return I(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return I(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var S=new Set,y={},A=new Set,O={},N=new Set,R={},b=new o.Timeout;function L(e){b.start(e+6e5*Math.random(),s.fetchBranches)}function D(){if(!(0,p.isSupportedPlatform)())return!1;for(var e,t=_.default.entitledBranchIds,n=[],r=g(t);!(e=r()).done;){var i=e.value;R.hasOwnProperty(i)||(R[i]=null,n.push(i))}if(0===n.length)return!1;a.default.wait((function(){return s.fetchBranches(n)}))}function C(e,t){if(null!=y[t]&&f.default.shouldBeInstalled(e,t)){var n=y[t],i=n.manifestIds,o=c.default.getState(e,t);null==o||!o.shouldPatch||o.buildId===n.id&&r.default.isEqual(o.manifestIds,i)||a.default.wait((function(){var r=d.default.getGame(e);null!=r?(N.delete((0,E.getComboId)(e,t)),(0,l.updateApplication)(r,t,n.id,i,!0)):N.add((0,E.getComboId)(e,t))}))}}function M(){b.stop()}var P=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,T(t,n);var i=r.prototype;return i.initialize=function(){this.syncWith([_.default],D),this.waitFor(c.default,_.default,d.default)},i.getTargetBuildId=function(e,t){return null==y[t]?null:y[t].id},i.getTargetManifests=function(e,t){return null==y[t]?null:y[t].manifestIds},i.hasNoBuild=function(e,t){return A.has(t)},i.isFetching=function(e,t){return S.has(t)},i.needsToFetchBuildSize=function(e){return!O.hasOwnProperty(e)},i.getBuildSize=function(e){return O[e]},r}(i.default.Store))(a.default,{CONNECTION_OPEN:function(e){return L(216e5),D()},GAMES_DATABASE_UPDATE:function(e){return function(){if(!(0,p.isSupportedPlatform)())return!1;for(var e,t=g(N);!(e=t()).done;){var n=e.value,r=(0,E.convertComboId)(n),i=r.applicationId,o=r.branchId;null!=d.default.getGame(i)&&(N.delete(n),C(i,o))}}()},APPLICATION_BUILD_FETCH_START:function(e){var t=e.branchId;S.add(t)},APPLICATION_BUILD_FETCH_SUCCESS:function(e){var t=e.applicationId,n=e.branchId,r=e.locale,i=e.build;S.delete(n);var o=i.manifests.map((function(e){return e.id})),a=i.id;A.delete(n),y[n]={id:a,applicationId:t,branchId:n,locale:r,manifestIds:o},C(t,n)},APPLICATION_BUILD_NOT_FOUND:function(e){var t=e.branchId;S.delete(t),A.add(t)},APPLICATION_BUILD_SIZE_FETCH_START:function(e){var t=e.buildId;O.hasOwnProperty(t)||(O[t]=null)},APPLICATION_BUILD_SIZE_FETCH_SUCCESS:function(e){var t=e.buildId,n=e.sizeKB;O[t]=n},APPLICATION_BUILD_SIZE_FETCH_FAIL:function(e){var t=e.buildId;null==O[t]&&delete O[t]},APPLICATION_BRANCHES_FETCH_SUCCESS:function(e){var t=e.branches,n={};for(var r in _.default.libraryApplications){var i=_.default.libraryApplications[r];n[i.branchId]=i}for(var o,s=g(t);!(o=s()).done;){var l=o.value,c=l.id,d=l.liveBuildId;d!==R[c]&&function(){var e=n[c];null!=e&&a.default.wait((function(){return u.fetchLiveBuild(e.id,e.branchId)}))}(),R[c]=d}L(216e5)},APPLICATION_BRANCHES_FETCH_FAIL:function(e){L(6e5)},CONNECTION_CLOSED:function(e){return M()},LOGOUT:function(e){return M()},SKU_PURCHASE_SUCCESS:function(e){var t=e.entitlements;if(!(0,p.isSupportedPlatform)())return!1;for(var n,r=new Set,i=g(t);!(n=i()).done;){var o=n.value;r.add(o.application_id)}var s=function(e){var t=_.default.libraryApplications[e];r.has(t.id)&&(0,E.isUserEntitledToLibraryApplication)(t)&&a.default.wait((function(){return u.fetchLiveBuild(t.id,t.branchId)}))};for(var l in _.default.libraryApplications)s(l)}});t.default=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAPIEndpoint=u,t.getBuildOverride=function(){var e=o.default.safeParseWithQuery(u("/__development/build_overrides"));if(null==e)return Promise.resolve(null);e.search=null,"";return i.default.get({url:r.format(e),oldFormErrors:!0}).then((function(e){return e.body||null}),(function(){return null}))},t.getBuildOverrideMeta=function(e){var t=o.default.safeParseWithQuery(e);if(null==t)return Promise.resolve(null);t.search=null,t.query.meta="true","";return t.host=window.location.host,i.default.get({url:r.format(t),oldFormErrors:!0}).then((function(e){return e.body||null}),(function(){return null}))},t.probablyHasBuildOverride=function(){return-1!==window.document.cookie.indexOf("buildOverride=")},t.isBuildOverrideLink=function(e){return null!=e&&l.test(e)},t.validateURL=function(e){var t=o.default.safeParseWithQuery(e);if(null==t)return null;if(!c.has(t.hostname)||!("s"in t.query)||!d.has(t.pathname))return null;for(var n in t.query)"s"!==n&&delete t.query[n];return{payload:t.query.s,url:r.format(t)}};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(142)),i=a(n(14)),o=a(n(186));n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(e){return location.protocol+"//"+location.host+e}var l=new RegExp("^https://(?:ptb\\.|canary\\.)?(discordapp|discord)\\.com/__development/link?[\\S]+$","i");var c=new Set(["canary.discord.com","ptb.discord.com","discord.com","canary.discordapp.com","ptb.discordapp.com","discordapp.com"]),d=new Set(["/__development/link","/__development/link/"])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n)}(n(0));var r,i=l(n(9)),o=l(n(6)),a=l(n(5768)),s=l(n(1377)),u=l(n(1378));function l(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t=e.className,n=e.children;return d("div",{className:(0,i.default)(a.default.container,t)},void 0,d("img",{alt:o.default.Messages.MEMBER_VERIFICATION_VERIFICATION_ICON,src:u.default,className:(0,i.default)(a.default.sparkleIcon,a.default.sparkleBottom)}),n,d("img",{alt:o.default.Messages.MEMBER_VERIFICATION_VERIFICATION_ICON,src:s.default,className:(0,i.default)(a.default.sparkleIcon,a.default.sparkleTop)}))}f.displayName="IconWithSparkles"},function(e,t,n){var r=n(720).Symbol;e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=[d].concat(e.treatments.map((function(e){return{id:e.id,description:"Treatment "+e.id+": "+e.label}}))),n=(c=e.kind,p={id:e.id,title:e.label,description:t.map((function(e){return e.description})),buckets:t.map((function(e){return e.id}))},"guild"===c?(0,s.registerGuildExperiment)(p):(0,s.registerUserExperiment)(p)),a=(0,r.createRef)();var c,p;function E(t,n,r){void 0===r&&(r={});var i=null!=r.disable&&r.disable,o=f(e.kind,e.id,t,i);function s(){var r=f(e.kind,e.id,t,i);r!==o&&(n(_(e,r)),o=r)}return n(_(e,o)),u.default.addChangeListener(s),a.current++,function(){u.default.removeChangeListener(s),a.current--}}function h(t,n){var r;void 0===n&&(n={});var i=f(e.kind,e.id,t,null!==(r=n.disable)&&void 0!==r&&r);return _(e,i)}return a.current=0,{useExperiment:function(t,n){void 0===n&&(n={});var a=null!=n.disable&&n.disable,s=(0,r.useState)((function(){return h(t,{disable:a})})),u=s[0],c=s[1],d=(0,r.useCallback)((function(n){if(!a){var r=f(e.kind,e.id,t);o.default.track(l.AnalyticEvents.EXPERIMENT_CUSTOM_EVENT,{experiment_name:e.id,experiment_bucket:r,event_name:n})}}),[a,t]),_=(0,i.default)(t);return(0,r.useEffect)((function(){return E(_,c,{disable:a})}),[a,_]),[u,d]},subscribe:E,trackExposure:function(t,r){var i;void 0===r&&(r={});var o=null!==(i=r.location)&&void 0!==i?i:"unknown",a=function(e,t,n){return"guild"===e?u.default.getGuildExperimentDescriptor(t,n.guildId):u.default.getUserExperimentDescriptor(t)}(e.kind,n.id,t);null!=a&&(0,s.trackExposureToExperiment)(n.id,a,o)},getCurrentConfig:h,definition:e}};var r=n(0),i=c(n(1598)),o=c(n(13)),a=n(141),s=n(208),u=c(n(187)),l=n(1);function c(e){return e&&e.__esModule?e:{default:e}}var d={id:0,description:"Control"};function f(e,t,n,r){return void 0===r&&(r=!1),r?a.ExperimentBuckets.NOT_ELIGIBLE:"guild"===e?u.default.getGuildExperimentBucket(t,n.guildId):u.default.getUserExperimentBucket(t)}function _(e,t){if(-1===t)return e.defaultConfig;var n=e.treatments.find((function(e){return e.id===t}));return null!=n?n.config:e.defaultConfig}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);var a={clearVADWarning:function(){i.default.dispatch({type:o.ActionTypes.PERMISSION_CLEAR_VAD_WARNING})},clearSuppressWarning:function(e){void 0===e&&(e=!1),i.default.dispatch({type:o.ActionTypes.PERMISSION_CLEAR_SUPPRESS_WARNING,forever:e})},clearPTTAdminWarning:function(){i.default.dispatch({type:o.ActionTypes.PERMISSION_CLEAR_PTT_ADMIN_WARNING})},requestElevatedProcess:function(e){i.default.dispatch({type:o.ActionTypes.PERMISSION_REQUEST_ELEVATED_PROCESS,pid:e})},clearElevatedProcess:function(){i.default.dispatch({type:o.ActionTypes.PERMISSION_CLEAR_ELEVATED_PROCESS})},continueNonelevatedProcess:function(e){i.default.dispatch({type:o.ActionTypes.PERMISSION_CONTINUE_NONELEVATED_PROCESS,pid:e})}};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(752),i=h(n(26)),o=h(n(966)),a=h(n(772)),s=h(n(11)),u=h(n(400)),l=h(n(759)),c=h(n(1693)),d=h(n(351)),f=h(n(16)),_=h(n(186)),p=h(n(43)),E=n(1);function h(e){return e&&e.__esModule?e:{default:e}}function m(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function T(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){T(o,r,i,a,s,"next",e)}function s(e){T(o,r,i,a,s,"throw",e)}a(void 0)}))}}function I(){return(I=Object.assign||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}).apply(this,arguments)}var S=new i.default("Games"),y={},A=0,O=null;function N(){return null!=O?Promise.resolve(O):f.default.isDesktop()?p.default.ensureModule("discord_game_utils").then((function(){var e=p.default.getGameUtils();return null!=e&&null!=e.findLaunchable?(O=e,e):Promise.reject(new Error("game utils not found"))})):Promise.reject(new Error("not desktop client"))}function R(e){var t={id:e.id,name:e.name,thirdPartySkus:e.thirdPartySkus,executables:e.executables.filter((function(e){return e.os===f.default.platform})).map((function(e){return e.name}))},n=e.aliases.map((function(e){return I({},t,{name:e})}));return[t].concat(n)}function b(e){return{id:e}}function L(e){return D.apply(this,arguments)}function D(){return(D=g(regeneratorRuntime.mark((function e(t){var n,r,i,o,a,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Array.isArray(t)||(t=[t]),l.default.isDeveloper||(t=t.filter((function(e){return null==e.thirdPartySkus||-1===e.thirdPartySkus.findIndex((function(e){return e.distributor===E.Distributors.BATTLENET}))}))),0!==t.length){e.next=4;break}throw new Error("No remaining launchable queries");case 4:return(n=Date.now())>A&&(A=n+36e5,y={}),e.next=8,N();case 8:r=e.sent,i=regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.value,null==y[t.id]){e.next=3;break}return e.abrupt("return",{v:y[t.id]});case 3:return e.next=5,new Promise((function(e){return r.findLaunchable(t,e)}));case 5:if(null==(n=e.sent)){e.next=9;break}return y[t.id]=n,e.abrupt("return",{v:n});case 9:case"end":return e.stop()}}),e)})),o=m(t);case 11:if((a=o()).done){e.next=18;break}return e.delegateYield(i(),"t0",13);case 13:if("object"!=typeof(s=e.t0)){e.next=16;break}return e.abrupt("return",s.v);case 16:e.next=11;break;case 18:throw new Error("could not find launchable");case 19:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function C(e,t,n,r){void 0===r&&(r=0),e()?t():setTimeout((function(){250*r<=12e4?C(e,t,n,r+1):n()}),250)}function M(e){return S.info("launch",e),new Promise((function(t,n){null==_.default.safeParseWithQuery(e.launchTarget)?n(new Error("Failed to parse launch target. "+e.launchTarget)):(window.open(e.launchTarget),t([]))}))}var P={waitSubscribed:function(e,t){return new Promise((function(n,r){return C((function(){return a.default.isSubscribed(e,t)}),n,r)}))},waitConnected:function(e){return new Promise(C.bind(this,(function(){return u.default.isConnected(e)})))},isLaunchable:function(e){return L(R(e)).then((function(e){return null!=e})).catch((function(){return!1}))},launch:function(e){return L(R(e)).then(M)},launchDispatchApplication:function(e,t,n,i,a){var u=e.launchOptions,l=e.defaultLaunchOptionId,f=e.installPath,_=e.applicationId,p=e.branchId,h=e.buildId,m=e.shouldPatch;if(null==u||null==l||null==f)throw new Error("Couldn't construct launchable for "+e.applicationId);null==a&&(a=l);var v=u[a];if(null==v)throw new Error("Couldn't construct launchable for "+e.applicationId+". No launch option.");return(0,r.fetchBranches)([p]).then((function(e){var t=e[0];if(null==t)return Promise.reject(new Error("branch is null"));var n=t.liveBuildId;return m&&n!==h?Promise.reject(new Error("live build id changed")):void 0})).then((function(){return d.default.runLaunchSetup(_,p)})).then((function(){var e=(0,o.default)(f),r={DISCORD_INSTANCE_ID:c.default.getId().toString(),DISCORD_ACCESS_TOKEN:t||"",DISCORD_CURRENT_LOCALE:n,DISCORD_CURRENT_BRANCH:i,DISCORD_STORAGE_PATH:E.DefaultCloudSyncConfiguration.ROOT_STORAGE_PATH(e,s.default.getId())};return d.default.launch(_,p,v.name,r)}))},removeShortcuts:function(e){return f.default.isWindows()?N().then((function(t){return t.removeShortcuts&&t.removeShortcuts(e)})):Promise.resolve(!1)},createShortcuts:function(e,t,n,r,i){if(null==i||!f.default.isWindows())return Promise.resolve(!1);var o="discord:///library/"+r+"/launch",a=i+"\\icon.ico";return N().then((function(r){return r.createShortcuts&&r.createShortcuts(e,t,n,o,a)}))},isGameLaunchable:function(e){return L(b(e)).then((function(e){return null!=e})).catch((function(){return!1}))},launchGame:function(e){return u.default.isConnected(e)?Promise.resolve():L(b(e)).then(M)},isProtocolRegistered:function(e){return N().then((function(t){return null!=t.isProtocolSchemeRegistered&&t.isProtocolSchemeRegistered(e)}))},setRecentGames:function(e){N().then((function(t){return null!=t.setRecentGames&&t.setRecentGames(e)})).catch((function(){}))}};t.default=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(8))&&r.__esModule?r:{default:r};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n,r){null!=t&&e.splice(i.default.sortedIndexBy(e,t,r),1),null!=n&&e.splice(i.default.sortedIndexBy(e,n,r),0,n)}var s=[],u=function(){function e(e,t,n){void 0===n&&(n=function(e,t){return e===t}),this.valueMap=new Map,this.valueArray=[],this.valueIndexes={},this.dirty=!1,this._version=0,this.indexBy=e,this.sortBy=t,this.isEqual=n}var t,n,r,i=e.prototype;return i.indexes=function(e){if(void 0===e&&(e=!1),!e&&this.dirty){for(var t={},n=0,r=Object.entries(this.valueIndexes);n<r.length;n++){var i=r[n],o=i[0],a=i[1];t[o]=[].concat(a)}this.valueIndexes=t,this.dirty=!1}return this.valueIndexes},i.values=function(e,t){var n;return void 0===t&&(t=!1),null==e?this.valueArray:null!==(n=this.indexes(t)[e])&&void 0!==n?n:s},i.size=function(e){var t,n;return null==e?this.valueArray.length:null!==(t=null===(n=this.valueIndexes[e])||void 0===n?void 0:n.length)&&void 0!==t?t:0},i.clear=function(){this.valueMap.clear(),this.valueArray=[],this.valueIndexes={}},i.get=function(e){return this.valueMap.get(e)},i.set=function(e,t){var n=this,r=this.get(e);return(null!=r||null!=t)&&((null==r||null==t||!this.isEqual(r,t))&&(null!=t?this.valueMap.set(e,t):this.valueMap.delete(e),a(this.valueArray,r,t,this.sortBy),null!=r&&this.indexBy(r).forEach((function(e){return a(n.getIndex(e),r,null,n.sortBy)})),null!=t&&this.indexBy(t).forEach((function(e){return a(n.getIndex(e),null,t,n.sortBy)})),this.dirty=!0,this._version++,!0))},i.delete=function(e){return this.set(e,null)},i.getIndex=function(e){var t=this.valueIndexes[e];return null==t&&(t=[],this.valueIndexes[e]=t),t},t=e,(n=[{key:"version",get:function(){return this._version}}])&&o(t.prototype,n),r&&o(t,r),e}();t.default=u},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.getAvatarSpecs=a,t.getAvatarSize=function(e){return a(e).size},t.getStatusSize=function(e){return a(e).status},t.getStrokeSize=function(e){return a(e).stroke},t.getStatusMaskSize=function(e){var t=a(e),n=t.status,r=t.stroke;return n+r},t.getStatusOffset=function(e){return a(e).offset},t.Sizes=t.VIDEO_RATIO=t.CUTOUT_BORDER_RADIUS=t.MOBILE_ICON_RADIUS=t.TYPING_WIDTH_RATIO=t.MOBILE_HEIGHT_RATIO=void 0;t.MOBILE_HEIGHT_RATIO=1.5;t.TYPING_WIDTH_RATIO=2.5;t.MOBILE_ICON_RADIUS=.125;t.CUTOUT_BORDER_RADIUS=.2;var i;t.VIDEO_RATIO=1.78,t.Sizes=i,function(e){e.SIZE_16="SIZE_16",e.SIZE_24="SIZE_24",e.SIZE_32="SIZE_32",e.SIZE_40="SIZE_40",e.SIZE_56="SIZE_56",e.SIZE_80="SIZE_80",e.SIZE_120="SIZE_120",e.DEPRECATED_SIZE_30="DEPRECATED_SIZE_30",e.DEPRECATED_SIZE_60="DEPRECATED_SIZE_60",e.DEPRECATED_SIZE_100="DEPRECATED_SIZE_100"}(i||(t.Sizes=i={}));var o=Object.freeze(((r={})[i.SIZE_16]=Object.freeze({size:16,status:6,stroke:2,offset:0}),r[i.SIZE_24]=Object.freeze({size:24,status:8,stroke:3,offset:0}),r[i.SIZE_32]=Object.freeze({size:32,status:10,stroke:3,offset:0}),r[i.SIZE_40]=Object.freeze({size:40,status:12,stroke:4,offset:0}),r[i.SIZE_56]=Object.freeze({size:56,status:12,stroke:5,offset:2}),r[i.SIZE_80]=Object.freeze({size:80,status:16,stroke:6,offset:4}),r[i.SIZE_120]=Object.freeze({size:120,status:24,stroke:8,offset:8}),r[i.DEPRECATED_SIZE_30]=Object.freeze({size:30,status:0,stroke:0,offset:0}),r[i.DEPRECATED_SIZE_60]=Object.freeze({size:60,status:0,stroke:0,offset:0}),r[i.DEPRECATED_SIZE_100]=Object.freeze({size:100,status:0,stroke:0,offset:0}),r));function a(e){return o[e]}},function(e,t,n){e.exports=!n(32)&&!n(19)((function(){return 7!=Object.defineProperty(n(219)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(18),i=n(30),o=n(110),a=n(220),s=n(33).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(58),i=n(60),o=n(167)(!1),a=n(221)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~o(l,n)||l.push(n));return l}},function(e,t,n){var r=n(33),i=n(20),o=n(111);e.exports=n(32)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,u=0;s>u;)r.f(e,n=a[u++],t[n]);return e}},function(e,t,n){var r=n(60),i=n(114).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(r(e))}},function(e,t,n){"use strict";var r=n(32),i=n(111),o=n(168),a=n(144),s=n(45),u=n(143),l=Object.assign;e.exports=!l||n(19)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r}))?function(e,t){for(var n=s(e),l=arguments.length,c=1,d=o.f,f=a.f;l>c;)for(var _,p=u(arguments[c++]),E=d?i(p).concat(d(p)):i(p),h=E.length,m=0;h>m;)_=E[m++],r&&!f.call(p,_)||(n[_]=p[_]);return n}:l},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(73),i=n(21),o=n(323),a=[].slice,s={},u=function(e,t,n){if(!(t in s)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";s[t]=Function("F,a","return new F("+r.join(",")+")")}return s[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),s=function(){var r=n.concat(a.call(arguments));return this instanceof s?u(t,r.length,r):o(t,r,e)};return i(t.prototype)&&(s.prototype=t.prototype),s}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(18).parseInt,i=n(125).trim,o=n(225),a=/^[-+]?0[xX]/;e.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(e,t){var n=i(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},function(e,t,n){var r=n(18).parseFloat,i=n(125).trim;e.exports=1/r(n(225)+"-0")!=-1/0?function(e){var t=i(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(82);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(21),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){"use strict";var r=n(113),i=n(108),o=n(124),a={};n(59)(a,n(25)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(20);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){var r=n(586);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(73),i=n(45),o=n(143),a=n(27);e.exports=function(e,t,n,s,u){r(t);var l=i(e),c=o(l),d=a(l.length),f=u?d-1:0,_=u?-1:1;if(n<2)for(;;){if(f in c){s=c[f],f+=_;break}if(f+=_,u?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;u?f>=0:d>f;f+=_)f in c&&(s=t(s,c[f],f,l));return s}},function(e,t,n){"use strict";var r=n(45),i=n(112),o=n(27);e.exports=[].copyWithin||function(e,t){var n=r(this),a=o(n.length),s=i(e,a),u=i(t,a),l=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===l?a:i(l,a))-u,a-s),d=1;for(u<s&&s<u+c&&(d=-1,u+=c-1,s+=c-1);c-- >0;)u in n?n[s]=n[u]:delete n[s],s+=d,u+=d;return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(240);n(4)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){n(32)&&"g"!=/./g.flags&&n(33).f(RegExp.prototype,"flags",{configurable:!0,get:n(171)})},function(e,t,n){"use strict";var r,i,o,a,s=n(110),u=n(18),l=n(72),c=n(145),d=n(4),f=n(21),_=n(73),p=n(128),E=n(174),h=n(146),m=n(242).set,v=n(606)(),T=n(338),g=n(607),I=n(175),S=n(339),y=u.TypeError,A=u.process,O=A&&A.versions,N=O&&O.v8||"",R=u.Promise,b="process"==c(A),L=function(){},D=i=T.f,C=!!function(){try{var e=R.resolve(1),t=(e.constructor={})[n(25)("species")]=function(e){e(L,L)};return(b||"function"==typeof PromiseRejectionEvent)&&e.then(L)instanceof t&&0!==N.indexOf("6.6")&&-1===I.indexOf("Chrome/66")}catch(e){}}(),M=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},P=function(e,t){if(!e._n){e._n=!0;var n=e._c;v((function(){for(var r=e._v,i=1==e._s,o=0,a=function(t){var n,o,a,s=i?t.ok:t.fail,u=t.resolve,l=t.reject,c=t.domain;try{s?(i||(2==e._h&&k(e),e._h=1),!0===s?n=r:(c&&c.enter(),n=s(r),c&&(c.exit(),a=!0)),n===t.promise?l(y("Promise-chain cycle")):(o=M(n))?o.call(n,u,l):u(n)):l(r)}catch(e){c&&!a&&c.exit(),l(e)}};n.length>o;)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&w(e)}))}},w=function(e){m.call(u,(function(){var t,n,r,i=e._v,o=U(e);if(o&&(t=g((function(){b?A.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)})),e._h=b||U(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},U=function(e){return 1!==e._h&&0===(e._a||e._c).length},k=function(e){m.call(u,(function(){var t;b?A.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})}))},G=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),P(t,!0))},Y=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw y("Promise can't be resolved itself");(t=M(e))?v((function(){var r={_w:n,_d:!1};try{t.call(e,l(Y,r,1),l(G,r,1))}catch(e){G.call(r,e)}})):(n._v=e,n._s=1,P(n,!1))}catch(e){G.call({_w:n,_d:!1},e)}}};C||(R=function(e){p(this,R,"Promise","_h"),_(e),r.call(this);try{e(l(Y,this,1),l(G,this,1))}catch(e){G.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(129)(R.prototype,{then:function(e,t){var n=D(h(this,R));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=b?A.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&P(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r;this.promise=e,this.resolve=l(Y,e,1),this.reject=l(G,e,1)},T.f=D=function(e){return e===R||e===a?new o(e):i(e)}),d(d.G+d.W+d.F*!C,{Promise:R}),n(124)(R,"Promise"),n(127)("Promise"),a=n(30).Promise,d(d.S+d.F*!C,"Promise",{reject:function(e){var t=D(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(s||!C),"Promise",{resolve:function(e){return S(s&&this===a?R:this,e)}}),d(d.S+d.F*!(C&&n(170)((function(e){R.all(e).catch(L)}))),"Promise",{all:function(e){var t=this,n=D(t),r=n.resolve,i=n.reject,o=g((function(){var n=[],o=0,a=1;E(e,!1,(function(e){var s=o++,u=!1;n.push(void 0),a++,t.resolve(e).then((function(e){u||(u=!0,n[s]=e,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=D(t),r=n.reject,i=g((function(){E(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},function(e,t,n){"use strict";var r=n(73);function i(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new i(e)}},function(e,t,n){var r=n(20),i=n(21),o=n(338);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(33).f,i=n(113),o=n(129),a=n(72),s=n(128),u=n(174),l=n(231),c=n(334),d=n(127),f=n(32),_=n(91).fastKey,p=n(117),E=f?"_s":"size",h=function(e,t){var n,r=_(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,l){var c=e((function(e,r){s(e,c,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[E]=0,null!=r&&u(r,n,e[l],e)}));return o(c.prototype,{clear:function(){for(var e=p(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[E]=0},delete:function(e){var n=p(this,t),r=h(n,e);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[E]--}return!!r},forEach:function(e){p(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!h(p(this,t),e)}}),f&&r(c.prototype,"size",{get:function(){return p(this,t)[E]}}),c},def:function(e,t,n){var r,i,o=h(e,t);return o?o.v=n:(e._l=o={i:i=_(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=o),r&&(r.n=o),e[E]++,"F"!==i&&(e._i[i]=o)),e},getEntry:h,setStrong:function(e,t,n){l(e,t,(function(e,n){this._t=p(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?c(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,c(1))}),n?"entries":"values",!n,!0),d(t)}}},function(e,t,n){"use strict";var r=n(129),i=n(91).getWeak,o=n(20),a=n(21),s=n(128),u=n(174),l=n(77),c=n(58),d=n(117),f=l(5),_=l(6),p=0,E=function(e){return e._l||(e._l=new h)},h=function(){this.a=[]},m=function(e,t){return f(e.a,(function(e){return e[0]===t}))};h.prototype={get:function(e){var t=m(this,e);if(t)return t[1]},has:function(e){return!!m(this,e)},set:function(e,t){var n=m(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=_(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,o){var l=e((function(e,r){s(e,l,t,"_i"),e._t=t,e._i=p++,e._l=void 0,null!=r&&u(r,n,e[o],e)}));return r(l.prototype,{delete:function(e){if(!a(e))return!1;var n=i(e);return!0===n?E(d(this,t)).delete(e):n&&c(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=i(e);return!0===n?E(d(this,t)).has(e):n&&c(n,this._i)}}),l},def:function(e,t,n){var r=i(o(t),!0);return!0===r?E(e).set(t,n):r[e._i]=n,e},ufstore:E}},function(e,t,n){var r=n(74),i=n(27);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){var r=n(114),i=n(168),o=n(20),a=n(18).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(27),i=n(227),o=n(83);e.exports=function(e,t,n,a){var s=String(o(e)),u=s.length,l=void 0===n?" ":String(n),c=r(t);if(c<=u||""==l)return s;var d=c-u,f=i.call(l,Math.ceil(d/l.length));return f.length>d&&(f=f.slice(0,d)),a?f+s:s+f}},function(e,t,n){var r=n(32),i=n(111),o=n(60),a=n(144).f;e.exports=function(e){return function(t){for(var n,s=o(t),u=i(s),l=u.length,c=0,d=[];l>c;)n=u[c++],r&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getMessage",{enumerable:!0,get:function(){return r.getMessage}}),Object.defineProperty(t,"setUpdateRules",{enumerable:!0,get:function(){return r.setUpdateRules}}),Object.defineProperty(t,"FormattedMessage",{enumerable:!0,get:function(){return r.FormattedMessage}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"getSystemLocale",{enumerable:!0,get:function(){return i.getSystemLocale}}),Object.defineProperty(t,"Language",{enumerable:!0,get:function(){return i.Language}}),Object.defineProperty(t,"Locale",{enumerable:!0,get:function(){return i.Locale}});var r=n(782),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(1476));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}},function(e,t,n){"use strict";function r(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0}),t.report=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=a(n);o.push({time:Date.now(),category:e,message:i});for(;o.length>5e3;)o.shift()},t.clear=function(){o.length=0},t.stringify=function(){return o.map((function(e){return new Date(e.time).toISOString()+" -> "+e.category+" -> "+e.message})).join("\n")};var o=[];function a(e){for(var t,n="",i=r(e);!(t=i()).done;){var o=t.value,a=typeof o;"string"===a||"number"===a||"boolean"===a?n+=o+" ":o instanceof Error?n+=o.message+"\n"+o.stack+" ":n+=JSON.stringify(o)+" "}return n}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getAudioInputDevices=function(){return f.apply(this,arguments)},t.getAudioOutputDevices=function(){return _.apply(this,arguments)},t.getVideoInputDevices=function(){return p.apply(this,arguments)},t.getDevices=function(){return E.apply(this,arguments)},t.CAN_SET_OUTPUT_DEVICES=t.CAN_SET_DEVICES=void 0;var r=n(135);function i(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function s(e){i(a,r,o,s,u,"next",e)}function u(e){i(a,r,o,s,u,"throw",e)}s(void 0)}))}}var a=null!=navigator.mediaDevices&&null!=navigator.mediaDevices.enumerateDevices;t.CAN_SET_DEVICES=a;var s=a&&"setSinkId"in HTMLAudioElement.prototype;function u(e){return{id:r.DEFAULT_DEVICE_ID,type:e,index:0,name:"Default"}}function l(){return[u(r.DeviceTypes.AUDIO_INPUT),u(r.DeviceTypes.AUDIO_OUTPUT),u(r.DeviceTypes.VIDEO_INPUT)]}function c(e,t){return e.filter((function(e){return e.type===t}))}function d(){return a?navigator.mediaDevices.enumerateDevices().then((function(e){var t=0,n=0,i=0;return e.filter((function(e){switch(e.kind){case r.DeviceTypes.AUDIO_INPUT:case r.DeviceTypes.AUDIO_OUTPUT:case r.DeviceTypes.VIDEO_INPUT:return!0;default:return!1}})).map((function(e){var o;switch(e.kind){case r.DeviceTypes.AUDIO_INPUT:o=t++;break;case r.DeviceTypes.AUDIO_OUTPUT:o=n++;break;case r.DeviceTypes.VIDEO_INPUT:default:o=i++}return{id:e.deviceId,type:e.kind,index:o,name:e.label||(0===o?"Default":"Device "+o)}}))})).then((function(e){return s||(e=e.filter((function(e){return e.type!==r.DeviceTypes.AUDIO_OUTPUT}))).push(u(r.DeviceTypes.AUDIO_OUTPUT)),e})).catch(l):new Promise((function(t){e((function(){return t(l())}))}))}function f(){return(f=o(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d();case 2:return t=e.sent,e.abrupt("return",c(t,r.DeviceTypes.AUDIO_INPUT));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(){return(_=o(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d();case 2:return t=e.sent,e.abrupt("return",c(t,r.DeviceTypes.AUDIO_OUTPUT));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(){return(p=o(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d();case 2:return t=e.sent,e.abrupt("return",c(t,r.DeviceTypes.VIDEO_INPUT));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(){return(E=o(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d();case 2:return t=e.sent,e.abrupt("return",[c(t,r.DeviceTypes.AUDIO_INPUT),c(t,r.DeviceTypes.AUDIO_OUTPUT),c(t,r.DeviceTypes.VIDEO_INPUT)]);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}t.CAN_SET_OUTPUT_DEVICES=s}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(2)),i=f(n(967)),o=f(n(26)),a=f(n(1353)),s=f(n(12)),u=f(n(13)),l=f(n(16)),c=f(n(43)),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}var _,p,E=new o.default("NativeDispatchUtils");function h(){return null==p&&E.warn("Tried getting Dispatch instance before instantiated"),p}function m(e){var t=JSON.parse(e);return E.log("Native Dispatch error",t),new i.default(t)}function v(e,t){""!==e&&m(e)}var T={init:function(t,n,r,i,o,a){null==p&&(null!=_?Promise.resolve(_):l.default.isDesktop()?Promise.all([c.default.ensureModule("discord_dispatch"),c.default.ensureModule("discord_modules")]).then((function(){c.default.requireModule("discord_modules");var e=c.default.getDispatch();return null!=e?(_=e,e):Promise.reject(new Error("dispatch not found"))})):Promise.reject(new Error("not desktop client"))).then((function(l){var c={environment:window.GLOBAL_ENV.RELEASE_CHANNEL,build_number:"90176"},f=s.default.getCurrentUser();null!=f&&(c.user_id=f.id,c.user_name=f.tag,null!=f.email&&(c.email=f.email));var _={user_token:t,user_id:n,install_paths:r.map((function(e){return e.path})),api_endpoint:""+(e.env.API_PROTOCOL||location.protocol)+window.GLOBAL_ENV.API_ENDPOINT,environment:window.GLOBAL_ENV.PROJECT_ENV,sentry:c,platform:i};p=new l.Dispatch(JSON.stringify(_),(function(e){var t=JSON.parse(e);o({applications:t.applications,paused:t.paused,currentTask:null!=t.current_task?{applicationId:t.current_task.application_id,branchId:t.current_task.branch_id}:null,nextTask:null!=t.next_task?{applicationId:t.next_task.application_id,branchId:t.next_task.branch_id}:null})}),(function(e){var t=m(e);a(t)}),(function(e){!function(e){var t=e.properties;switch(null!=t.stage&&null!=t.stage.type&&(t.stage=t.stage.type),e.event_name){case d.AnalyticEvents.DISPATCH_PATCH_STARTED:case d.AnalyticEvents.DISPATCH_PATCH_PAUSED:case d.AnalyticEvents.DISPATCH_PATCH_FAILED:case d.AnalyticEvents.DISPATCH_PATCH_VERIFICATION_FAILED:case d.AnalyticEvents.DISPATCH_PATCH_COMPLETE:case d.AnalyticEvents.DISPATCH_PATCH_CANCELLED:case d.AnalyticEvents.DISPATCH_APPLICATION_UNINSTALLED:u.default.track(e.event_name,t)}}(JSON.parse(e))}))}))},destroy:function(){var e=h();null!=e&&void 0!==e.destroy&&(e.destroy(),p=null)},setTargetManifest:function(e,t,n,r,i,o,a){var s=h();null!=s&&s.command(JSON.stringify({command:"SetTargetManifest",application_id:e,application_name:t,application_icon:n,branch_id:r,build_id:i,manifest_ids:o,install_path:a}),v)},setCurrentTask:function(e,t,n,r,i){var o=h();return null!=o&&(o.command(JSON.stringify({command:"SetCurrentTask",application_id:e,branch_id:t,action:n,user_id:r,user_token:i}),v),!0)},setCredentials:function(e,t){var n=h();null!=n&&n.command(JSON.stringify({command:"SetCredentials",user_id:e,user_token:t}),v)},cancel:function(e,t){var n=h();null!=n&&n.command(JSON.stringify({command:"Cancel",application_id:e,branch_id:t}),v)},uninstall:function(e,t){var n=h();null!=n&&n.command(JSON.stringify({command:"Uninstall",application_id:e,branch_id:t}),v)},pause:function(){var e=h();null!=e&&e.command(JSON.stringify({command:"Pause"}),v)},resume:function(){var e=h();null!=e&&e.command(JSON.stringify({command:"Resume"}),v)},queryDirectory:function(e,t){var n=h();null!=n&&n.command(JSON.stringify({command:"QueryDirectory",path:e}),(function(e,n){if(""!==e)t(JSON.parse(e));else if(null!=n){var r=JSON.parse(n);t(null,{hasPermission:r.has_permission,availableKB:parseInt(r.available_kb),totalKB:parseInt(r.total_kb)})}}))},runLaunchSetup:function(e,t){return a.default.isRunning()?Promise.reject(new Error("Already running launch setup.")):(r.default.dispatch({type:d.ActionTypes.DISPATCH_APPLICATION_LAUNCH_SETUP_START}),new Promise((function(n,i){var o=h();null!=o?o.command(JSON.stringify({command:"RunLaunchSetup",application_id:e,branch_id:t}),(function(e,t,o){if(""!==e){r.default.dispatch({type:d.ActionTypes.DISPATCH_APPLICATION_LAUNCH_SETUP_COMPLETE});var a=m(e);return r.default.dispatch({type:d.ActionTypes.DISPATCH_APPLICATION_ERROR,error:a}),void(null!=a.code&&a.code===d.DispatchErrorCodes.POST_INSTALL_CANCELLED?i(a):n())}if(""!==t)return r.default.dispatch({type:d.ActionTypes.DISPATCH_APPLICATION_LAUNCH_SETUP_COMPLETE}),void n();if(""!==o){var s=JSON.parse(o);r.default.dispatch({type:d.ActionTypes.DISPATCH_APPLICATION_INSTALL_SCRIPTS_PROGRESS_UPDATE,progress:s.progress,total:s.total,name:s.name})}})):i(new Error("native dispatch instance not found"))})))},launch:function(e,t,n,r){return new Promise((function(i,o){var a=h();null!=a?a.command(JSON.stringify({command:"Launch",application_id:e,branch_id:t,option_name:n,environment:r}),(function(e,t){if(""!==e)o(m(e));else{var n=JSON.parse(t);i([n.pid])}})):o(new Error("native dispatch instance not found"))}))}};t.default=T}).call(this,n(100))},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n(102);var i=n(147),o=n(23),a=n(269),s=n(446),u=function(e){var t,n;function i(t,n){var r;return(r=e.call(this)||this)._parent=t,r._interpolation=n,r._listeners={},r}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n);var u=i.prototype;return u.__getValue=function(){var e=this._parent.__getValue();return o("number"==typeof e,"Cannot interpolate an input which is not a number."),this._interpolation(e)},u.addListener=function(e){var t=this;this._parentListener||(this._parentListener=this._parent.addListener((function(){for(var e in t._listeners)t._listeners[e]({value:t.__getValue()})})));var n=s();return this._listeners[n]=e,n},u.removeListener=function(e){delete this._listeners[e]},u.interpolate=function(e){return new i(this,a.create(e))},u.__attach=function(){this._parent.__addChild(this)},u.__detach=function(){this._parent.__removeChild(this),this._parentListener=this._parent.removeListener(this._parentListener)},i}(i);e.exports=u},function(e,t,n){"use strict";(function(t){var n={current:function(e){return t.requestAnimationFrame(e)},inject:function(e){n.current=e}};e.exports=n}).call(this,n(44))},function(e,t,n){"use strict";(function(t){var n={current:function(e){return t.cancelAnimationFrame(e)},inject:function(e){n.current=e}};e.exports=n}).call(this,n(44))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.randomNumber=function(e,t){return Math.floor(Math.random()*(t-e+1)+e)},t.applySpringForce=function(e,t,n,r){return r.tension*(e-t)-r.friction*n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AutocompleterQuerySymbols=t.AutocompleterResultTypes=t.FindResultDirections=t.HeaderRecord=void 0;var r,i=(r=n(133))&&r.__esModule?r:{default:r};t.HeaderRecord=function(e){this.id=e,this.text=e};var o,a,s=(0,i.default)({UP:null,DOWN:null});t.FindResultDirections=s,t.AutocompleterResultTypes=o,function(e){e.GUILD="GUILD",e.TEXT_CHANNEL="TEXT_CHANNEL",e.GROUP_DM="GROUP_DM",e.VOICE_CHANNEL="VOICE_CHANNEL",e.USER="USER",e.HEADER="HEADER",e.APPLICATION="APPLICATION",e.LINK="LINK"}(o||(t.AutocompleterResultTypes=o={})),t.AutocompleterQuerySymbols=a,function(e){e.USER="@",e.TEXT_CHANNEL="#",e.VOICE_CHANNEL="!",e.GUILD="*",e.APPLICATION="$"}(a||(t.AutocompleterQuerySymbols=a={}))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(46),i=function(e){return(0,r.requestAnimationFrame)(e)},o=function(e){void 0===e&&(e=i);var t=!0,n=!1,o=0,s=[],u=0,l=new Set,c=new Set,d=new Set,f=function(e){var t=s.indexOf(e);t<0&&(t=s.findIndex((function(t){return t.priority>e.priority})),s.splice(~t?t:s.length,0,e))},_=function(){if(!t)try{h(),e(_)}catch(e){console.error(e)}},p=function(){t&&(t=!1,0==o&&(o=r.now(),e(_)))},E=[];this.setTimeout=function(e,t){var n=r.now()+t,i=function(){var e=E.findIndex((function(e){return e.cancel==i}));e>=0&&E.splice(e,1)},o=a(E,(function(e){return e.time>n})),s={time:n,handler:e,cancel:i};return E.splice(o,0,s),p(),s};var h=this.advance=function(){var e=r.now();if(l.size&&(l.forEach(f),l.clear()),E.length&&r.batchedUpdates((function(){var t=a(E,(function(t){return t.time>e}));E.splice(0,t).forEach((function(e){return e.handler()}))})),e>o){var t=Math.min(64,e-o);o=e,r.batchedUpdates((function(){s.length&&(r.willAdvance(s),s=s.filter((function(e){return u=e.priority,e.idle||e.advance(t),!e.idle})),u=0),c.size&&(c.forEach((function(t){return t(e)})),c.clear()),d.size&&(n=!0,d.forEach((function(t){return t(e)})),d.clear(),n=!1)}))}};this.start=function(e){u>e.priority?l.add(e):(f(e),p())},this.onFrame=function(e){c.add(e),p()},this.onWrite=function(e){n?e(o):d.add(e)}};function a(e,t){var n=e.findIndex(t);return n<0?e.length:n}}).call(this,n(100))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(46),i=n(158),o=function(e,t,n){if(i.d.fun(e))return e;if(i.d.arr(e))return o({range:e,output:t,extrapolate:n});if(i.d.str(e.output[0]))return r.createStringInterpolator(e);var a=e,s=a.output,u=a.range||[0,1],l=a.extrapolateLeft||a.extrapolate||"extend",c=a.extrapolateRight||a.extrapolate||"extend",d=a.easing||function(e){return e};return function(e){var t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,u);return function(e,t,n,r,i,o,a,s,u){var l=u?u(e):e;if(l<t){if("identity"===a)return l;"clamp"===a&&(l=t)}if(l>n){if("identity"===s)return l;"clamp"===s&&(l=n)}if(r===i)return r;if(t===n)return e<=t?r:i;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=o(l),r===-1/0?l=-l:i===1/0?l+=r:l=l*(i-r)+r;return l}(e,u[t],u[t+1],s[t],s[t+1],d,l,c,a.map)}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"f",(function(){return s})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return l}));var r=Symbol.for("FluidValue:config"),i=function(e){return!!a(e)};function o(e){var t=a(e);return t?t.get():e}function a(e){if(e)return e[r]}function s(e,t){Object.defineProperty(e,r,{value:t,configurable:!0})}function u(e,t){var n=a(e);if(n)return n.addChild(t),function(){return n.removeChild(t)}}var l=function(){s(this,this)}},function(e,t,n){"use strict";var r=s(n(5403)),i=s(n(5408)),o=s(n(990)),a=s(n(987));function s(e){return e&&e.__esModule?e:{default:e}}e.exports={Transition:a.default,TransitionGroup:o.default,ReplaceTransition:i.default,CSSTransition:r.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=h(n(130)),i=h(n(23)),o=h(n(8)),a=h(n(3)),s=h(n(2)),u=h(n(182)),l=n(393),c=n(48),d=h(n(298)),f=h(n(15)),_=h(n(181)),p=h(n(39)),E=h(n(12));n(1);function h(e){return e&&e.__esModule?e:{default:e}}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(){return(T=Object.assign||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}).apply(this,arguments)}var g,I=[],S=[];function y(e,t){if(null==t.folderId){var n=new Set(e.map((function(e){return e.folderId})));do{t.folderId=Math.floor(4294967296*Math.random())}while(n.has(t.folderId))}}function A(e){return{guildIds:[e],muteConfig:null,folderId:null,folderName:null,folderColor:null}}function O(e,t,n){var r=T({},e,{guildIds:[].concat(e.guildIds)}),i=r.guildIds;return-1===t?i.push(n):i.splice(t,0,n),r}function N(){I=[],S.forEach((function(e,t){var n=e.guildIds,r=e.muteConfig,i=e.folderId,o=e.folderName,a=e.folderColor,s=n.filter((function(e){return!u.default.isLurking(e)})).map((function(e){return f.default.getGuild(e)})).filter(c.isNotNullish);I.push({index:t,guilds:s,muteConfig:r,folderId:i,folderName:o,folderColor:a})}))}function R(){var e=p.default.guildFolders;if(null==e||0===e.length){var t=p.default.guildPositions;e=null!=t&&t.length>0?t.map((function(e){return A(e)})):(0,o.default)(f.default.getGuilds()).sortBy((function(e){return[_.default.isMuted(e.id),e.name.toLowerCase()]})).map((function(e){return A(e.id)})).value()}e=(e=(e=e.map((function(e){var t=e.guildIds.filter((function(e){return!u.default.isLurking(e)&&(f.default.getGuild(e)||d.default.isUnavailable(e))}));return t.length!==e.guildIds.length?T({},e,{guildIds:t}):e}))).filter((function(e){return e.guildIds.length>0}))).map((function(t){if(t.guildIds.length>1&&null==t.folderId){var n=T({},t);return y(e,n),n}return t}));var n=new Set(o.default.flatMap(e,(function(e){return e.guildIds})));if(o.default.forEach(f.default.getGuilds(),(function(t){n.has(t.id)||u.default.isLurking(t.id)||e.unshift(A(t.id))})),(0,r.default)(S,e))return!1;S=e,N()}var b=(0,l.cachedFunction)((function(e){return o.default.flatten(e.map((function(e){return e.guilds})))})),L=(0,l.cachedFunction)((function(e){return b(e).map((function(e){return e.id}))})),D=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var i,o,a,s=r.prototype;return s.initialize=function(){this.waitFor(f.default,_.default,p.default,d.default,u.default)},s.getGuildFolderById=function(e){return S.find((function(t){return t.folderId===e}))},s.getSortedGuilds=function(){return I},s.getFlattenedGuilds=function(){return b(I)},s.getFlattenedGuildIds=function(){return L(I)},i=r,(o=[{key:"guildFolders",get:function(){return S}}])&&m(i.prototype,o),a&&m(i,a),r}(a.default.Store))(s.default,{CONNECTION_OPEN:function(e){return R()},OVERLAY_INITIALIZE:function(e){return R()},CACHE_LOADED_LAZY:function(e){return R()},GUILD_CREATE:function(e){return R()},GUILD_DELETE:function(e){return R()},GUILD_MEMBER_ADD:function(e){var t=e.guildId,n=e.joinedAt,r=e.user,i=E.default.getCurrentUser(),o=f.default.getGuild(t);if(i.id!==r.id||!o)return!1;var a="string"==typeof n?new Date(n):n;if(a===o.joinedAt||null==a)return!1;R()},USER_SETTINGS_UPDATE:function(e){return g!==p.default.guildFolders&&(g=p.default.guildFolders,R())},GUILD_MOVE:function(e){var t=e.fromIndex,n=e.toIndex,r=e.fromFolderIndex,o=e.toFolderIndex;if(S=[].concat(S),null!=t){var a=S[r];(0,i.default)(null!=a,"Could not find folder at source folder index");var s=[].concat(a.guildIds);S[r]=T({},a,{guildIds:s});var u=s.splice(t,1)[0];if((0,i.default)(null!=u,"Could not find guild at source index"),null==n){var l=A(u);S.splice(o,0,l)}else if(o===r)S[o]=O(S[o],n,u);else{var c=S[o];(0,i.default)(null!=c,"Invalid new folder");var d=O(c,n,u);S[o]=d,y(S,d)}}else{var f=S.splice(r,1)[0];if((0,i.default)(null!=f,"Invalid old folder"),null!=f.folderId)(0,i.default)(null==n,"Cannot move folder inside folder"),S.splice(o,0,f);else if(null==n)S.splice(o,0,f);else{(0,i.default)(1===f.guildIds.length,"Found multiple guilds inside non-folder");var _=f.guildIds[0],p=S[o];(0,i.default)(null!=p,"Invalid new folder");var E=O(p,n,_);S[o]=E,y(S,E)}}N()},GUILD_UPDATE:function(e){return N()}});t.default=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(3)),i=d(n(2)),o=d(n(185)),a=d(n(182)),s=d(n(89)),u=n(366),l=n(290),c=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(){return(p=Object.assign||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}).apply(this,arguments)}var E=new Map,h=new Map,m=new Map,v=[],T=null,g=!1,I=new Map,S=function(e,t){I=new Map(I.set(e,t))},y=1e3*c.Durations.HOUR,A=function(e,t){if(void 0===t&&(t=!0),h.set(e.id,e),t){var n=e.tags,r={type:u.StickerMetadataTypes.STICKER_NAME,value:e.name.trim().toLocaleLowerCase()};if((0,l.isStandardSticker)(e))m.set(e.id,[r].concat((null!=n?n:"").split(",").map((function(e){return{type:u.StickerMetadataTypes.TAG,value:e.trim().toLocaleLowerCase()}}))));else if((0,l.isGuildSticker)(e)&&null!=n){var i=o.default.getByName(n),a={type:u.StickerMetadataTypes.TAG,value:n.trim().toLocaleLowerCase()};if(null==i)return void m.set(e.id,[r,a]);var s=[r,{type:u.StickerMetadataTypes.CORRELATED_EMOJI,value:i.surrogates}];i.forEachDiversity((function(e){return s.push({type:u.StickerMetadataTypes.CORRELATED_EMOJI,value:e.surrogates})})),s.push(a),m.set(e.id,s)}}},O=function(e,t,n){E.set(e.id,e);var r=[].concat(v);if(t){var i=r.findIndex((function(t){return t.id===e.id}));-1!==i?r[i]=e:r.push(e),v=r}(t||n)&&e.stickers.forEach((function(e){return A(e)}))};var N=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n);var i,o,a,s=r.prototype;return s.getStickerById=function(e){return h.get(e)},s.getStickerPack=function(e){return E.get(e)},s.getPremiumPacks=function(){return v},s.isPremiumPack=function(e){return v.some((function(t){return t.id===e}))},s.getAllStickersIterator=function(){return h.values()},s.getAllGuildStickers=function(){return I},s.getStickersByGuildId=function(e){return I.get(e)},i=r,(o=[{key:"stickerMetadata",get:function(){return m}},{key:"hasLoadedStickerPacks",get:function(){return null!=T&&T+y>Date.now()}},{key:"isFetchingStickerPacks",get:function(){return g}}])&&f(i.prototype,o),a&&f(i,a),r}(r.default.Store))(i.default,{CONNECTION_OPEN:function(e){var t=e.guilds;I.clear(),t.forEach((function(e){e.stickers&&0!==e.stickers.length&&(e.stickers.forEach((function(e){return A(e)})),I.set(e.id,e.stickers))})),I=new Map(I)},CACHE_LOADED_LAZY:function(e){var t=e.stickers;null!=t&&(I.clear(),Object.entries(t).forEach((function(e){var t=e[0],n=e[1];n.forEach((function(e){return A(e)})),I.set(t,n)})),I=new Map(I))},GUILD_CREATE:function(e){var t,n=e.guild;a.default.isLurking(n.id)||((null!==(t=n.stickers)&&void 0!==t?t:[]).forEach((function(e){return A(e)})),S(n.id,n.stickers))},GUILD_DELETE:function(e){var t,n=e.guild;(null!==(t=I.get(n.id))&&void 0!==t?t:[]).forEach((function(e){m.delete(e.id),h.delete(e.id)})),I.delete(n.id),I=new Map(I)},LOGOUT:function(e){return v=[],h.clear(),E.clear(),m.clear(),I.clear(),I=new Map(I),g=!1,void(T=null)},STICKER_PACKS_FETCH_START:function(e){g=!0},STICKER_PACKS_FETCH_SUCCESS:function(e){e.packs.forEach((function(e){return O(e,!0)})),T=Date.now(),g=!1},STICKER_PACK_FETCH_SUCCESS:function(e){var t=e.pack,n=e.ingestStickers;O(t,!1,n)},GUILD_STICKERS_FETCH_SUCCESS:function(e){var t=e.guildId,n=e.stickers;n.forEach((function(e){return A(e)})),S(t,n)},GUILD_STICKERS_CREATE_SUCCESS:function(e){var t,n,r=e.guildId,i=e.sticker,o=null!==(t=I.get(r))&&void 0!==t?t:[];S(r,[].concat(null!==(n=o.filter((function(e){return e.id!==i.id})))&&void 0!==n?n:[],[i])),A(i)},STICKER_FETCH_SUCCESS:function(e){var t=e.sticker;A(t,!1)},GUILD_STICKERS_UPDATE:function(e){var t,n=e.guildId,r=e.stickers;(null!==(t=I.get(n))&&void 0!==t?t:[]).filter((function(e){return null==r.find((function(t){return t.id===e.id}))})).forEach((function(e){h.delete(e.id),m.delete(e.id)}));var i=r.map((function(e){return function(e){var t,n=h.get(e.id);return n&&(0,l.isGuildSticker)(n)&&(t=null!=n.user?n.user:null!=e.user?new s.default(e.user):void 0),p({},e,{user:t})}(e)}));i.forEach((function(e){return A(e)})),S(n,i)}});t.default=N},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(95),i=_(n(14)),o=_(n(28)),a=_(n(2)),s=n(275),u=n(42),l=_(n(1265)),c=_(n(482)),d=n(1),f=_(n(6));function _(e){return e&&e.__esModule?e:{default:e}}function p(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function E(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){p(o,r,i,a,s,"next",e)}function s(e){p(o,r,i,a,s,"throw",e)}a(void 0)}))}}var h,m=null;function v(e){return null==e?f.default.Messages.NETWORK_ERROR_REST_REQUEST:null!=e.message?e.message:null!=e.code&&Array.isArray(e.code)?e.code[0]:f.default.Messages.NETWORK_ERROR_REST_REQUEST}function T(e){void 0===e&&(e=d.Routes.LOGIN),a.default.dispatch({type:d.ActionTypes.LOGOUT}),null!=e&&(0,u.transitionTo)(e)}var g={startSession:function(e){a.default.wait((function(){a.default.dirtyDispatch({type:d.ActionTypes.START_SESSION,token:e})}))},login:function(e){var t=e.login,n=e.password,i=e.undelete,o=e.captchaKey,u=e.source,l=e.giftCodeSKUId,f=e.invite;a.default.dispatch({type:d.ActionTypes.LOGIN,login:t}),c.default.post({url:d.Endpoints.LOGIN,body:{login:t,password:n,undelete:i,captcha_key:o,login_source:u,gift_code_sku_id:l},retries:2,oldFormErrors:!0,trackedActionData:{event:r.NetworkActionNames.USER_LOGIN,metadata:{invite_code:null==f?void 0:f.code}}}).then((function(e){var t=e.body,n=t.mfa,r=t.sms,i=t.ticket,o=t.token;n?a.default.dispatch({type:d.ActionTypes.LOGIN_MFA_STEP,ticket:i,sms:r}):a.default.dispatch({type:d.ActionTypes.LOGIN_SUCCESS,token:o})}),(function(e){var r,i=null===(r=e.body)||void 0===r?void 0:r.code;i===d.AbortCodes.ACCOUNT_SCHEDULED_FOR_DELETION?a.default.dispatch({type:d.ActionTypes.LOGIN_ACCOUNT_SCHEDULED_FOR_DELETION,credentials:{login:t,password:n}}):i===d.AbortCodes.ACCOUNT_DISABLED?a.default.dispatch({type:d.ActionTypes.LOGIN_ACCOUNT_DISABLED,credentials:{login:t,password:n}}):i===d.AbortCodes.PHONE_VERIFICATION_REQUIRED?a.default.dispatch({type:d.ActionTypes.LOGIN_PHONE_IP_AUTHORIZATION_REQUIRED}):a.default.dispatch({type:d.ActionTypes.LOGIN_FAILURE,error:new s.V6OrEarlierAPIError(e)})}))},loginMFA:function(e){var t=e.code,n=e.ticket,i=e.source,o=e.giftCodeSKUId;a.default.dispatch({type:d.ActionTypes.LOGIN_MFA}),c.default.post({url:d.Endpoints.LOGIN_MFA,body:{code:t,ticket:n,login_source:i,gift_code_sku_id:o},retries:2,oldFormErrors:!0,trackedActionData:{event:r.NetworkActionNames.USER_LOGIN_MFA}}).then((function(e){return a.default.dispatch({type:d.ActionTypes.LOGIN_SUCCESS,token:e.body.token})}),(function(e){return a.default.dispatch({type:d.ActionTypes.LOGIN_MFA_FAILURE,message:v(e.body)})}))},requestSMSToken:function(e){a.default.dispatch({type:d.ActionTypes.LOGIN_MFA_SMS}),c.default.post({url:d.Endpoints.LOGIN_SMS_SEND,body:{ticket:e},oldFormErrors:!0,trackedActionData:{event:r.NetworkActionNames.LOGIN_REQUEST_SMS_TOKEN}}).then((function(e){var t=e.body.phone;a.default.dispatch({type:d.ActionTypes.LOGIN_MFA_SMS_REQUEST_SUCCESS,phone:t})}),(function(e){a.default.dispatch({type:d.ActionTypes.LOGIN_MFA_FAILURE,message:v(e.body)})}))},loginSMS:function(e){var t=e.code,n=e.ticket,i=e.source,o=e.giftCodeSKUId;a.default.dispatch({type:d.ActionTypes.LOGIN_MFA_SMS}),c.default.post({url:d.Endpoints.LOGIN_SMS,body:{code:t,ticket:n,login_source:i,gift_code_sku_id:o},retries:2,oldFormErrors:!0,trackedActionData:{event:r.NetworkActionNames.USER_LOGIN_MFA_SMS}}).then((function(e){return a.default.dispatch({type:d.ActionTypes.LOGIN_SUCCESS,token:e.body.token})}),(function(e){return a.default.dispatch({type:d.ActionTypes.LOGIN_MFA_SMS_FAILURE,message:v(e.body)})}))},loginToken:function(t,n){var r=this;return void 0===n&&(n=!0),a.default.dispatch({type:d.ActionTypes.LOGIN}),new Promise((function(i){e((function(){a.default.dispatch({type:d.ActionTypes.LOGIN_SUCCESS,token:t}),n&&r.startSession(t),i()}))}))},loginReset:function(){a.default.dispatch({type:d.ActionTypes.LOGIN_RESET})},logout:function(e){return void 0===e&&(e=d.Routes.LOGIN),c.default.post({url:d.Endpoints.LOGOUT,body:{provider:d.DEVICE_PUSH_PROVIDER,token:o.default.get(d.DEVICE_TOKEN),voip_provider:d.DEVICE_PUSH_VOIP_PROVIDER,voip_token:o.default.get(d.DEVICE_VOIP_TOKEN)},oldFormErrors:!0,trackedActionData:{event:r.NetworkActionNames.USER_LOGOUT}}).finally((function(){return T(e)}))},verifySSOToken:function(e){return void 0===e&&(e=d.Routes.LOGIN),i.default.get({url:d.Endpoints.ME,oldFormErrors:!0}).catch((function(){return T(e)}))},verify:function(e,t){void 0===t&&(t=null),null!=e?c.default.post({url:d.Endpoints.VERIFY,body:{token:e,captcha_key:t},oldFormErrors:!0,trackedActionData:{event:r.NetworkActionNames.USER_VERIFY}}).then((function(e){a.default.dispatch({type:d.ActionTypes.LOGIN_SUCCESS,token:e.body.token}),a.default.dispatch({type:d.ActionTypes.VERIFY_SUCCESS,verifyingUserId:e.body.user_id})}),(function(e){return a.default.dispatch({type:d.ActionTypes.VERIFY_FAILURE,errors:e.body})})):a.default.dirtyDispatch({type:d.ActionTypes.VERIFY_FAILURE,errors:{}})},authorizeIPAddress:function(e){return E(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!=e){t.next=3;break}return a.default.dirtyDispatch({type:d.ActionTypes.VERIFY_FAILURE,errors:{}}),t.abrupt("return");case 3:return t.prev=3,t.next=6,c.default.post({url:d.Endpoints.AUTHORIZE_IP,body:{token:e},oldFormErrors:!0,trackedActionData:{event:r.NetworkActionNames.AUTHORIZE_IP}});case 6:a.default.dispatch({type:d.ActionTypes.VERIFY_SUCCESS}),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(3),a.default.dispatch({type:d.ActionTypes.VERIFY_FAILURE,errors:{}});case 12:case"end":return t.stop()}}),t,null,[[3,9]])})))()},verifyResend:function(){return c.default.post({url:d.Endpoints.VERIFY_RESEND,oldFormErrors:!0,trackedActionData:{event:r.NetworkActionNames.USER_VERIFY_RESEND}})},resetPassword:function(e,t){return E(regeneratorRuntime.mark((function n(){var i,u,l,f,_,p,E,h,m;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a.default.dispatch({type:d.ActionTypes.LOGIN}),i={token:e,password:t},u=o.default.get(d.DEVICE_TOKEN),null!=d.DEVICE_PUSH_PROVIDER&&null!=u&&(i.push_provider=d.DEVICE_PUSH_PROVIDER,i.push_token=u),l=o.default.get(d.DEVICE_VOIP_TOKEN),null!=d.DEVICE_PUSH_VOIP_PROVIDER&&null!=l&&(i.push_voip_provider=d.DEVICE_PUSH_VOIP_PROVIDER,i.push_voip_token=l),n.prev=6,n.next=9,c.default.post({url:d.Endpoints.RESET_PASSWORD,body:i,oldFormErrors:!0,trackedActionData:{event:r.NetworkActionNames.USER_RESET_PASSWORD}});case 9:if(f=n.sent,_=f.body,p=_.mfa,E=_.sms,h=_.ticket,m=_.token,!p){n.next=20;break}return a.default.dispatch({type:d.ActionTypes.LOGIN_MFA_STEP,ticket:h,sms:E}),n.abrupt("return",!1);case 20:return a.default.dispatch({type:d.ActionTypes.LOGIN_SUCCESS,token:m}),n.abrupt("return",!0);case 22:n.next=28;break;case 24:throw n.prev=24,n.t0=n.catch(6),a.default.dispatch({type:d.ActionTypes.LOGIN_FAILURE,error:new s.V6OrEarlierAPIError(n.t0)}),n.t0;case 28:case"end":return n.stop()}}),n,null,[[6,24]])})))()},resetPasswordMFA:function(e,t,n,i){return E(regeneratorRuntime.mark((function o(){var s;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return a.default.dispatch({type:d.ActionTypes.LOGIN_MFA}),o.prev=1,o.next=4,c.default.post({url:d.Endpoints.RESET_PASSWORD,body:{code:e,ticket:t,password:n,token:i},oldFormErrors:!0,trackedActionData:{event:r.NetworkActionNames.USER_RESET_PASSWORD,metadata:{mfa:!0}}});case 4:s=o.sent,a.default.dispatch({type:d.ActionTypes.LOGIN_SUCCESS,token:s.body.token}),o.next=12;break;case 8:throw o.prev=8,o.t0=o.catch(1),a.default.dispatch({type:d.ActionTypes.LOGIN_MFA_FAILURE,message:v(o.t0.body)}),o.t0;case 12:case"end":return o.stop()}}),o,null,[[1,8]])})))()},forgotPassword:function(e,t){return E(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a.default.dispatch({type:d.ActionTypes.LOGIN}),n.prev=1,n.next=4,c.default.post({url:d.Endpoints.FORGOT_PASSWORD,body:{login:e,captcha_key:t},oldFormErrors:!0,trackedActionData:{event:r.NetworkActionNames.FORGOT_PASSWORD}});case 4:a.default.dispatch({type:d.ActionTypes.FORGOT_PASSWORD_SENT}),n.next=13;break;case 7:throw n.prev=7,n.t0=n.catch(1),i=new s.V6OrEarlierAPIError(n.t0),i.code===d.AbortCodes.PHONE_VERIFICATION_REQUIRED?a.default.dispatch({type:d.ActionTypes.LOGIN_PASSWORD_RECOVERY_PHONE_VERIFICATION}):a.default.dispatch({type:d.ActionTypes.LOGIN_FAILURE,error:i}),n.t0;case 13:case"end":return n.stop()}}),n,null,[[1,7]])})))()},setFingerprint:function(e){a.default.dispatch({type:d.ActionTypes.FINGERPRINT,fingerprint:e})},getExperiments:function(){a.default.dirtyDispatch({type:d.ActionTypes.EXPERIMENTS_FETCH})},getLocationMetadata:function(){return null!=m?m:(clearTimeout(h),h=setTimeout((function(){a.default.dispatch({type:d.ActionTypes.SET_CONSENT_REQUIRED,consentRequired:!0})}),5e3),m=i.default.get({url:d.Endpoints.AUTH_LOCATION_METADATA,retries:2,oldFormErrors:!0}).then((function(e){var t,n;if(clearTimeout(h),null==l.default.getAuthenticationConsentRequired()){var r,i,o=null===(r=null==e||null===(i=e.body)||void 0===i?void 0:i.consent_required)||void 0===r||r;a.default.dispatch({type:d.ActionTypes.SET_CONSENT_REQUIRED,consentRequired:o})}a.default.dispatch({type:d.ActionTypes.SET_LOCATION_METADATA,countryCode:null!==(t=null==e||null===(n=e.body)||void 0===n?void 0:n.country_code)&&void 0!==t?t:void 0}),m=null}),(function(){clearTimeout(h),a.default.dispatch({type:d.ActionTypes.SET_CONSENT_REQUIRED,consentRequired:!0}),m=null})))}};t.default=g}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.startStream=function(e,t,n){o.default.dispatch(y({type:T.ActionTypes.STREAM_START,streamType:null!=e?a.StreamTypes.GUILD:a.StreamTypes.CALL,guildId:e,channelId:t,appContext:__OVERLAY__?T.AppContext.OVERLAY:T.AppContext.APP},n))},t.setStreamPaused=function(e,t){var n=(0,s.encodeStreamKey)(e);o.default.dispatch({type:T.ActionTypes.STREAM_SET_PAUSED,streamKey:n,paused:t})},t.watchStream=O,t.watchStreamAndTransitionToStream=function(e,t){var n=e.guildId,r=e.channelId;if(null!=n&&A(n,r))return;O(e,t);var i=l.default.getWindowOpen(T.PopoutWindowKeys.CHANNEL_CALL_POPOUT),o=p.default.getVoiceChannelId();if(i&&o===r)return;(0,u.default)(e)},t.stopStream=function(e,t){void 0===t&&(t=!0);N(e,t),o.default.dispatch({type:T.ActionTypes.STREAM_STOP,streamKey:e,appContext:__OVERLAY__?T.AppContext.OVERLAY:T.AppContext.APP})},t.closeStream=N,t.fetchStreamPreview=function(e,t,n){return R.apply(this,arguments)},t.setLayout=function(e){o.default.dirtyDispatch({type:T.ActionTypes.STREAM_LAYOUT_UPDATE,layout:e})},t.setHackyMacMode=function(e){o.default.dirtyDispatch({type:T.ActionTypes.STREAM_SET_HACKY_MAC_MODE,enabled:e})},t.notifyStreamStart=function(e){return b.apply(this,arguments)},t.updateStreamSettings=function(e){(0,m.trackStreamSettingsUpdate)(e.preset,e.resolution,e.frameRate),o.default.dispatch(y({type:T.ActionTypes.STREAM_UPDATE_SETTINGS},e))},t.changeStreamRegion=function(e,t){i.default.patch({url:T.Endpoints.STREAM(e),body:{region:t},oldFormErrors:!0})};var r=g(n(23)),i=g(n(14)),o=g(n(2)),a=n(196),s=n(140),u=g(n(1379)),l=g(n(1207)),c=g(n(163)),d=g(n(11)),f=g(n(10)),_=g(n(15)),p=g(n(36)),E=g(n(80)),h=n(292),m=n(774),v=g(n(705)),T=n(1);function g(e){return e&&e.__esModule?e:{default:e}}function I(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function S(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){I(o,r,i,a,s,"next",e)}function s(e){I(o,r,i,a,s,"throw",e)}a(void 0)}))}}function y(){return(y=Object.assign||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}).apply(this,arguments)}function A(e,t){var n=f.default.getChannel(t);return(0,r.default)(null!=n,"Cannot join a null voice channel"),!E.default.isInChannel(t)&&(0,h.isChannelFull)(n,E.default,_.default)}function O(e,t){var n=e.guildId,r=e.channelId;if(null==n||!A(0,r)){var i=(0,s.encodeStreamKey)(e),a=(null==t?void 0:t.forceMultiple)||c.default.getAllActiveStreamsForChannel(r).filter((function(e){return e.ownerId!==d.default.getId()})).length>=2;o.default.dispatch({type:T.ActionTypes.STREAM_WATCH,streamKey:i,allowMultiple:a}),a||(null==t?void 0:t.noFocus)||v.default.selectParticipant(e.channelId,i)}}function N(e,t){void 0===t&&(t=!0),o.default.dispatch({type:T.ActionTypes.STREAM_CLOSE,streamKey:e,canShowFeedback:t})}function R(){return(R=S(regeneratorRuntime.mark((function e(t,n,r){var u,l,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u=(0,s.encodeStreamKey)({streamType:null!=t?a.StreamTypes.GUILD:a.StreamTypes.CALL,guildId:t,channelId:n,ownerId:r}),o.default.dispatch({type:T.ActionTypes.STREAM_PREVIEW_FETCH_START,streamKey:u}),e.prev=2,e.next=5,i.default.get({url:T.Endpoints.STREAM_PREVIEW(u),query:{version:Date.now()},oldFormErrors:!0});case 5:l=e.sent,o.default.dispatch({type:T.ActionTypes.STREAM_PREVIEW_FETCH_SUCCESS,streamKey:u,previewURL:l.body.url}),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(2),429===e.t0.status&&(c=1e3*e.t0.body.retry_after),o.default.dispatch({type:T.ActionTypes.STREAM_PREVIEW_FETCH_FAIL,streamKey:u,retryAfter:c});case 13:case"end":return e.stop()}}),e,null,[[2,9]])})))).apply(this,arguments)}function b(){return(b=S(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,i.default.post({url:T.Endpoints.STREAM_NOTIFY(t),oldFormErrors:!0});case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeMemberAndComparator=I,t.getComparator=S,t.makeVoiceState=y,t.default=t.NO_VOICE_STATES=void 0;var r=p(n(8)),i=p(n(3)),o=p(n(313)),a=p(n(2)),s=p(n(89)),u=p(n(11)),l=p(n(10)),c=p(n(56)),d=p(n(12)),f=p(n(80)),_=n(1);function p(e){return e&&e.__esModule?e:{default:e}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(){return(h=Object.assign||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}).apply(this,arguments)}var m=Object.freeze([]);t.NO_VOICE_STATES=m;var v={};function T(e){var t=v[e];return null==t&&(t=new A(e),v[e]=t),t}function g(e,t){return c.default.getMember(e,t.id)}function I(e,t,n){var r;return{member:t,comparator:S(e,null!==(r=null==t?void 0:t.nick)&&void 0!==r?r:n.toString())}}function S(e,t){return(e.selfStream?"\0":"")+t.toLowerCase()+"\0"+e.userId}function y(e,t,n){var r,i=d.default.getUser(n),o=null==i;null==i&&(i=new s.default({id:n,username:"...",discriminator:n.slice(-5,-1)}));var a=function(e,t,n){return I(n,g(e,t),t)}(t,i,e),u=a.member,l={voiceState:e,user:i,member:u,comparator:a.comparator,nick:null!==(r=null==u?void 0:u.nick)&&void 0!==r?r:i.toString()};return o&&(l._isPlaceholder=!0),l}var A=function(){function e(e){this._voiceStates=new o.default((function(e){var t=e.voiceState.channelId;return null!=t?[t]:[]}),(function(e){return e.comparator})),this.guildId=e}var t=e.prototype;return t.updateVoiceState=function(e){var t=f.default.getVoiceState(this.guildId,e),n=this._voiceStates.get(e),r=d.default.getUser(e);if(null!=t&&null!=r){if(null==n)return this._voiceStates.set(e,y(t,this.guildId,e)),!0;if(n.voiceState!==t){var i,o=g(this.guildId,r),a=null!==(i=null==o?void 0:o.nick)&&void 0!==i?i:r.toString();return this._voiceStates.set(e,h({},n,{member:o,comparator:S(t,a),nick:a,voiceState:t})),!0}}else if(null!=n)return this._voiceStates.delete(e),!0;return!1},t.updateMember=function(e){var t=this._voiceStates.get(e),n=d.default.getUser(e);if(null!=t&&null!=n){var r,i,o=g(this.guildId,n);if((null==o?void 0:o.nick)!==(null===(r=t.member)||void 0===r?void 0:r.nick)||(null==o?void 0:o.guildMemberAvatar)!==(null===(i=t.member)||void 0===i?void 0:i.guildMemberAvatar)){var a,s=I(t.voiceState,o,n).comparator;return this._voiceStates.set(e,h({},t,{member:o,comparator:s,nick:null!==(a=null==o?void 0:o.nick)&&void 0!==a?a:n.toString()})),!0}}return!1},t.updateUsers=function(){var e=this;return this._voiceStates.values().reduce((function(t,n){var r=d.default.getUser(n.user.id);return null!=r&&n.user!==r?(e._voiceStates.set(r.id,y(n.voiceState,e.guildId,r.id)),!0):t}),!1)},t.getVoiceStates=function(){return this._voiceStates.indexes()},t.getVoiceStatesForChannel=function(e){var t=this._voiceStates.values(e);return 0===t.length?m:t},t.countVoiceStatesForChannel=function(e){return this._voiceStates.size(e)},t.getVersion=function(){return this._voiceStates.version},e}();function O(){return r.default.reduce(v,(function(e,t){return t.updateUsers()||e}),!1)}function N(){v={};var e=f.default.getAllVoiceStates();Object.keys(e).forEach((function(t){Object.keys(e[t]).forEach((function(e){T(t||_.ME).updateVoiceState(e)}))}))}var R=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,E(t,n);var i=r.prototype;return i.initialize=function(){N(),this.waitFor(u.default,d.default,c.default,f.default),this.syncWith([d.default],O)},i.getVoiceStates=function(e){return T(e||_.ME).getVoiceStates()},i.getAllVoiceStates=function(){return v},i.getVoiceStatesForChannel=function(e){var t=e.getGuildId(),n=e.id;return T(t||_.ME).getVoiceStatesForChannel(n)},i.countVoiceStatesForChannel=function(e){var t=l.default.getChannel(e);return null==t?0:T(t.getGuildId()||_.ME).countVoiceStatesForChannel(e)},i.getVoiceStateVersion=function(e){return T(e||_.ME).getVersion()},r}(i.default.Store))(a.default,{CONNECTION_OPEN:function(e){v={}},OVERLAY_INITIALIZE:function(e){N()},VOICE_CHANNEL_SELECT:function(e){var t=e.guildId,n=u.default.getId();return null!=n&&T(t||_.ME).updateVoiceState(n)},VOICE_STATE_UPDATE:function(e){var t=e.guildId,n=e.userId;return T(t||_.ME).updateVoiceState(n)},GUILD_MEMBER_UPDATE:function(e){var t=e.guildId,n=e.user;return T(t).updateMember(n.id)},GUILD_DELETE:function(e){var t=e.guild;delete v[t.id]}});t.default=R},function(e,t,n){"use strict";var r,i,o,a,s,u,l;Object.defineProperty(t,"__esModule",{value:!0}),t.StickerSelectLocation=t.StickerMetadataTypes=t.StickerCategoryTypes=t.StickerGridItemTypes=t.StickerExtensions=t.MetaStickerType=t.StickerFormat=void 0,t.StickerFormat=r,function(e){e[e.PNG=1]="PNG",e[e.APNG=2]="APNG",e[e.LOTTIE=3]="LOTTIE"}(r||(t.StickerFormat=r={})),t.MetaStickerType=i,function(e){e[e.STANDARD=1]="STANDARD",e[e.GUILD=2]="GUILD"}(i||(t.MetaStickerType=i={})),t.StickerExtensions=o,function(e){e.PNG="png",e.APNG="png",e.LOTTIE="json"}(o||(t.StickerExtensions=o={})),t.StickerGridItemTypes=a,function(e){e[e.STICKER=0]="STICKER",e[e.VIEW_ALL=1]="VIEW_ALL"}(a||(t.StickerGridItemTypes=a={})),t.StickerCategoryTypes=s,function(e){e.PACK="PACK",e.RECENT="RECENT",e.SEARCH_RESULTS="SEARCH_RESULTS",e.SEARCH_SUGGESTIONS="SEARCH_SUGGESTIONS",e.STORE="STORE",e.GUILD="GUILD"}(s||(t.StickerCategoryTypes=s={})),t.StickerMetadataTypes=u,function(e){e[e.STICKER_NAME=0]="STICKER_NAME",e[e.TAG=1]="TAG",e[e.CORRELATED_EMOJI=2]="CORRELATED_EMOJI"}(u||(t.StickerMetadataTypes=u={})),t.StickerSelectLocation=l,function(e){e[e.STICKER_PICKER=0]="STICKER_PICKER",e[e.EXPRESSION_SUGGESTIONS=1]="EXPRESSION_SUGGESTIONS",e[e.AUTOCOMPLETE=2]="AUTOCOMPLETE"}(l||(t.StickerSelectLocation=l={}))},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,u=a(e),l=1;l<arguments.length;l++){for(var c in n=Object(arguments[l]))i.call(n,c)&&(u[c]=n[c]);if(r){s=r(n);for(var d=0;d<s.length;d++)o.call(n,s[d])&&(u[s[d]]=n[s[d]])}}return u}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeDesktopDownloadURL=l,t.getPlatformDownloadName=c,t.getPlatformReadableName=function(e){var t;return((t={}).win="Windows",t.osx="Mac",t.linux="Linux",t)[c(e)]},t.getCurrentPlatformDownloadURL=function(){var e=c();return l(e,!1,"linux"===e?"tar.gz":null)},t.getMobileDownloadLink=function(e,t){switch(t){case"iOS":return(0,i.default)("https://itunes.apple.com/us/app/discord-chat-for-games/id985746746",{utmSource:e,fingerprint:o.default.getFingerprint(),attemptId:(0,i.generateAttemptId)()});case"Android":return(0,i.default)("https://play.google.com/store/apps/details",{utmSource:e,id:"com.discord",fingerprint:o.default.getFingerprint(),attemptId:(0,i.generateAttemptId)()});default:return"https://www.discord.com"}};var r=u(n(66)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(411)),o=u(n(11)),a=n(1);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n){void 0===t&&(t=!1);var r=t?"/ptb":"",i=n?"&format="+n:"";return""+a.DownloadLinks.DESKTOP+r+"?platform="+e+i}function c(e){return void 0===e&&(e=r.default.os.family),e?-1!==e.indexOf("Ubuntu")||-1!==e.indexOf("Debian")||-1!==e.indexOf("Fedora")||-1!==e.indexOf("Red Hat")||-1!==e.indexOf("SuSE")||-1!==e.indexOf("Linux")?"linux":-1!==e.indexOf("OS X")?"osx":"win":"win"}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=v(n(9)),s=n(192),u=v(n(3)),l=n(5388),c=v(n(161)),d=n(1239),f=n(252),_=v(n(61)),p=v(n(375)),E=v(n(149)),h=n(1),m=v(n(5732));function v(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function g(){return(g=Object.assign||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}).apply(this,arguments)}function I(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,y(e,t)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var A={SMOL:"Smol",MINI:"Mini",SMALLER:"Smaller",SMALL:"Small",MEDIUM:"Medium",LARGE:"Large",LARGER:"Larger",XLARGE:"XLarge"},O=((r={})[A.SMOL]=[10,10,8,6,6,4],r[A.MINI]=[12,12,10,10,8,6,4],r[A.SMALLER]=[13,13,11,11,9,7,5],r[A.SMALL]=[14,14,12,12,10,8,6],r[A.MEDIUM]=[16,16,14,14,12,10,8],r[A.LARGE]=[18,18,16,16,14,12,10],r[A.LARGER]=[19,19,17,17,15,13,11],r[A.XLARGE]=[20,20,18,18,16,14,12],r),N=function(e){function t(){return e.apply(this,arguments)||this}S(t,e);var n=t.prototype;return n.renderAcronym=function(){var e=this.props.guild;return null!=e.icon?null:I("div",{className:m.default.acronym},void 0,e.acronym)},n.renderBadge=function(){var e=this.props,t=e.showBadge,n=e.guild,r=e.badgeStrokeColor;return t&&null!=n.hasFeature?I(p.default,{className:m.default.guildIconBadge,guild:n,badgeStrokeColor:r}):null},n.renderIcon=function(){var e,t=this.props,n=t.guild,r=t.className,i=(t.showBadge,t.active),s=t.size,u=t.style,l=void 0===u?{}:u,c=t.textScale,d=(t.showTooltip,t.tooltipPosition,t.onClick),p=t.to,E=(t.badgeStrokeColor,t.animate,t.tabIndex),h=(t.iconSrc,function(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}(t,["guild","className","showBadge","active","size","style","textScale","showTooltip","tooltipPosition","onClick","to","badgeStrokeColor","animate","tabIndex","iconSrc"])),v=O[s];return o.createElement(_.default,g({className:(0,a.default)(m.default.icon,r,(0,f.getClass)(m.default,"iconSize",s),(e={},e[(0,f.getClass)(m.default,"iconActive",s)]=i,e[m.default.iconInactive]=!i,e[m.default.noIcon]=null==n.icon,e)),style:null==n.icon?g({fontSize:(v[n.acronym.length]||v[v.length-1])*c},l):l,onClick:null!=p||null==d?void 0:d,tabIndex:E},h),this.renderAcronym(),this.renderBadge())},n.renderTooltip=function(){var e=this,t=this.props,n=t.guild,r=t.showTooltip,i=t.tooltipPosition;return r?I(E.default,{text:n.name,position:i,"aria-label":!1},void 0,(function(t){return o.cloneElement(o.Children.only(e.renderIcon()),g({},t))})):this.renderIcon()},n.render=function(){var e=this.props,t=e.to,n=e.guild,r=e.source,i=e.tabIndex;return null!=t?I(s.Link,{to:{pathname:t,state:null!=r?{analyticsSource:r}:null},"aria-label":n.toString(),tabIndex:i},void 0,this.renderTooltip()):this.renderTooltip()},t}(o.PureComponent);N.displayName="GuildIcon";var R=u.default.connectStores([c.default],(function(e){var t=e.guild,n=e.animate,r=e.iconSrc;return{style:g({},e.style,{backgroundImage:(0,d.makeCssUrlString)(null!=r?r:t.getIconURL(n&&c.default.isFocused()))})}}))((0,l.backgroundImagePreloader)((function(e){return o.createElement(N,e)}))),b=function(e){function t(){return e.apply(this,arguments)||this}return S(t,e),t.prototype.render=function(){return o.createElement(R,this.props)},t}(o.PureComponent);b.displayName="GuildIconWrapper",b.Sizes=A,b.defaultProps={size:A.LARGE,textScale:1,showBadge:!1,showTooltip:!1,active:!1,tooltipPosition:E.default.Positions.TOP,badgeStrokeColor:h.Colors.WHITE,animate:!1};var L=b;t.default=L},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?24:t,r=e.height,i=void 0===r?24:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 24 24"}),l("path",{foreground:d,fill:c,fillRule:"evenodd",clipRule:"evenodd",d:"M8.99991 16.17L4.82991 12L3.40991 13.41L8.99991 19L20.9999 7.00003L19.5899 5.59003L8.99991 16.17Z"}))}c.displayName="Checkmark"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(3)),i=u(n(2)),o=u(n(1198)),a=u(n(71)),s=u(n(39));n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var f,_=new Set,p=new Set,E={},h={},m={};function v(e){E[e.id]=o.default.createFromServer(e)}function T(e){_.delete(e.id),p.delete(e.id),v(e)}function g(e){v(e.sku),null!=e.child_skus&&e.child_skus.forEach((function(e){return v(e)})),null!=e.alternative_skus&&e.alternative_skus.forEach((function(e){return v(e)}))}function I(e){for(var t,n=c(e.storeListings);!(t=n()).done;){g(t.value)}}function S(){_=new Set,p=new Set,E={},h={},m={}}function y(){if(f===s.default.locale)return!1;f=s.default.locale,S()}var A=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(s.default,a.default),this.syncWith([s.default],y),f=s.default.locale},i.get=function(e){return E[e]},i.getForApplication=function(e){var t=h[e];return null==t?null:Array.from(t).map((function(e){return E[e]}))},i.isFetching=function(e){return _.has(e)},i.getSKUs=function(){return E},i.didFetchingSkuFail=function(e){return p.has(e)},r}(r.default.Store))(i.default,{STORE_LISTINGS_FETCH_SUCCESS:I,APPLICATION_STORE_DIRECTORY_FETCH_SUCCESS:I,STORE_LISTING_FETCH_SUCCESS:function(e){g(e.storeListing)},GIFT_CODE_RESOLVE_SUCCESS:function(e){var t=e.giftCode;if(null==t.store_listing)return!1;v(t.store_listing.sku)},SKU_FETCH_START:function(e){var t=e.skuId;_.add(t)},SKU_FETCH_SUCCESS:function(e){T(e.sku)},SKU_FETCH_FAIL:function(e){var t=e.skuId;_.delete(t),p.add(t)},SKUS_FETCH_SUCCESS:function(e){for(var t,n=e.guildId,r=e.applicationId,i=e.skus,o=c(i);!(t=o()).done;){T(t.value)}null!=n&&(m[n]=new Set(i.map((function(e){return e.id})))),null!=r&&(h[r]=new Set(i.map((function(e){return e.id}))))},ENTITLEMENTS_GIFTABLE_FETCH_SUCCESS:function(e){for(var t,n=c(e.entitlements);!(t=n()).done;){var r=t.value;null!=r.sku&&v(r.sku)}},FETCH_GUILD_EVENTS_FOR_GUILD:function(e){for(var t,n=c(e.guildScheduledEvents);!(t=n()).done;)for(var r,i=c(t.value.skus);!(r=i()).done;){v(r.value)}},APPLICATION_STORE_CLEAR_DATA:function(e){return S()}});t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSingleSelectState=R,t.useMultiSelectState=function(e){var t=e.value,n=e.onChange,r=e.serialize;return{select:function(e){var r=new Set(t);r.has(e)?r.delete(e):r.add(e),n(r)},isSelected:function(e){var n;return null!==(n=null==t?void 0:t.has(e))&&void 0!==n&&n},clear:function(){return n(new Set)},serialize:void 0===r?function(e){return String(e)}:r}},t.useVariableSelect=function(e){var t=e.value,n=e.onChange,r=e.isMulti,i=e.serialize;return{select:function(e){var i=new Set(t);if(r)i.has(e)?i.delete(e):i.add(e);else{if(i.has(e))return;i.clear(),i.add(e)}n(i)},isSelected:function(e){var n;return null!==(n=null==t?void 0:t.has(e))&&void 0!==n&&n},clear:function(){return n(new Set)},serialize:void 0===i?function(e){return String(e)}:i}},t.default=D,t.SingleSelect=P;var r,i=I(n(0)),o=T(n(9)),a=T(n(422)),s=I(n(680)),u=T(n(5422)),l=T(n(61)),c=T(n(278)),d=n(85),f=T(n(1266)),_=T(n(1337)),p=T(n(729)),E=T(n(255)),h=n(1375),m=n(468),v=T(n(5713));function T(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function I(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function S(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function y(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){S(o,r,i,a,s,"next",e)}function s(e){S(o,r,i,a,s,"throw",e)}a(void 0)}))}}function A(){return(A=Object.assign||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}).apply(this,arguments)}function O(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 N(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function R(e){var t=e.value,n=e.onChange,r=e.serialize;return{select:function(e){return n(e)},isSelected:function(e){return e===t},clear:function(){return n(null)},serialize:void 0===r?function(e){return String(e)}:r}}function b(e){return null==e?void 0:e.label}function L(e){return e.map((function(e){return b(e)})).join(", ")}function D(e){var t=e.options,n=e.placeholder,r=e.className,a=e.isDisabled,s=void 0!==a&&a,d=e.maxVisibleItems,p=void 0===d?3:d,m=e.look,T=void 0===m?h.Looks.FILLED:m,g=e.autoFocus,I=void 0!==g&&g,S=e.popoutWidth,y=e.clearable,R=void 0!==y&&y,D=e.onClose,M=e.onOpen,P=e.renderOptionLabel,w=void 0===P?b:P,U=e.renderOptionValue,k=void 0===U?L:U,G=e.optionClassName,Y=e.closeOnSelect,x=e.select,V=e.isSelected,H=e.serialize,F=e.clear,B=(0,u.default)(),j=B.ref,W=B.width,K=B.height,z=i.useCallback((function(e){var t;(x(e),Y)&&(null===(t=j.current)||void 0===t||t.focus())}),[x,Y]),q=i.useCallback((function(e){e.stopPropagation(),null==F||F()}),[F]),X=t.filter((function(e){return V(e.value)}));return i.useLayoutEffect((function(){var e;I&&(null===(e=j.current)||void 0===e||e.focus())}),[I]),N(c.default,{spacing:0,onRequestOpen:M,onRequestClose:D,renderPopout:function(e){var n=e.closePopout,r=e.updatePosition;return N(C,{closeOnSelect:Y,maxVisibleItems:p,width:null!=S?S:W,isSelected:V,closePopout:n,buttonHeight:null!=K?K:0,onSelect:z,options:t,serialize:H,renderOptionLabel:w,optionClassName:G,updatePosition:r})},position:c.default.Positions.BOTTOM},void 0,(function(e,t){var a,u=e.onClick,c=O(e,["onClick"]),d=t?_.default:f.default;return i.createElement(l.default,A({role:"button","aria-disabled":s,innerRef:j,onClick:s?void 0:u},c,{className:(0,o.default)(v.default.select,r,(a={},a[v.default.open]=t,a[v.default.lookFilled]=T===h.Looks.FILLED,a[v.default.disabled]=s,a)),"aria-haspopup":"listbox","aria-expanded":t}),X.length>0?k(X):N("span",{className:v.default.placeholder},void 0,n),N("div",{className:v.default.icons},void 0,R?N(l.default,{role:"button","aria-disabled":s,onClick:q},void 0,N(E.default,{width:16,height:16,className:v.default.clear})):null,N(d,{})))}))}function C(e){var t=e.onSelect,n=e.closePopout,r=e.closeOnSelect,o=void 0===r||r,u=e.isSelected,l=e.options,c=e.width,f=e.maxVisibleItems,_=e.renderOptionLabel,p=e.serialize,E=e.optionClassName,h=e.buttonHeight,T=e.updatePosition,g=i.useState(0),I=g[0],S=g[1],R=i.useRef(null),b=(0,d.useUID)(),L=(0,s.default)({id:b,scrollToEnd:function(){return y(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()},scrollToStart:function(){return y(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()},isEnabled:!0,wrap:!0}),D=i.useRef(null);(0,a.default)(D),i.useLayoutEffect((function(){var e;null===(e=D.current)||void 0===e||e.focus()}),[]),i.useEffect((function(){h>0&&T()}),[h,T]),i.useLayoutEffect((function(){var e,t,n=null===(e=R.current)||void 0===e||null===(t=e.getBoundingClientRect())||void 0===t?void 0:t.height;null!=n&&S(n)}),[f]),i.useEffect((function(){T()}),[T,I]);var C=i.useCallback((function(e){t(e),o&&n()}),[n,t,o]),P=l.map((function(e,t){var n;return N(M,{isSelected:u(e.value),value:e.value,label:_(e),onSelect:C,className:E,isDisabled:e.disabled,serialize:p},null!==(n=e.key)&&void 0!==n?n:t)})),w=l.length<=f?m.AdvancedScrollerNone:m.AdvancedScrollerThin;return N(s.ListNavigatorProvider,{navigator:L},void 0,N(s.ListNavigatorContainer,{},void 0,(function(e){var t=e.ref,n=O(e,["ref"]);return i.createElement(i.Fragment,null,i.createElement(w,A({className:v.default.popout,style:{width:c,maxHeight:I},ref:function(e){var n,r=null!==(n=null==e?void 0:e.getScrollerNode())&&void 0!==n?n:null;t.current=r,D.current=r}},n,{role:"listbox"}),P),i.createElement("div",{"aria-hidden":!0,ref:R,className:v.default.measurement},P.slice(0,f)))})))}function M(e){var t=e.className,n=e.value,r=e.label,a=e.onSelect,u=e.isSelected,c=e.isDisabled,d=e.serialize,f=(0,s.useListItem)(d(n));return i.createElement(l.default,A({focusProps:{enabled:!1},className:(0,o.default)(v.default.option,t),onClick:function(){return!c&&a(n)}},f,{"aria-selected":u,"aria-disabled":c,role:"option"}),r,u&&N(p.default,{className:v.default.selectedIcon,width:20,height:20}))}function P(e){var t=e.value,n=e.onChange,r=O(e,["value","onChange"]),o=R({value:t,onChange:n});return i.createElement(D,A({},r,o))}D.displayName="Select",C.displayName="SelectPopout",M.displayName="Option",P.displayName="SingleSelect"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),s=h(n(9)),u=h(n(1175)),l=h(n(149)),c=h(n(5382)),d=h(n(1368)),f=h(n(489)),_=n(1),p=h(n(6)),E=h(n(5730));function h(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function v(){return(v=Object.assign||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}).apply(this,arguments)}function T(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}!function(e){e[e.PARTNERED=0]="PARTNERED",e[e.VERIFIED=1]="VERIFIED",e[e.VERIFIED_AND_PARTNERED=2]="VERIFIED_AND_PARTNERED",e[e.VERIFIED_AND_HUB=3]="VERIFIED_AND_HUB",e[e.HUB=4]="HUB",e[e.NONE=5]="NONE"}(o||(o={}));var I=((r={})[o.VERIFIED]=p.default.Messages.GUILD_VERIFIED,r[o.PARTNERED]=p.default.Messages.GUILD_PARTNERED,r[o.VERIFIED_AND_PARTNERED]=p.default.Messages.GUILD_VERIFIED_AND_PARTNERED,r[o.VERIFIED_AND_HUB]=p.default.Messages.HUB_VERIFIED_DISCORD_HUB,r[o.HUB]=p.default.Messages.HUB_DISCORD_HUB,r[o.NONE]=null,r),S=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,g(t,n);var i=r.prototype;return i.renderBadge=function(e,t,n){var r=this.props,i=r.className,c=r.badgeStrokeColor,d=r.tooltipColor,f=void 0===d?l.default.Colors.BRAND:d,_=r.tooltipPosition,p=r.size,h=void 0===p?16:p,m=r.badgeColor,g=r.iconClassName,S=r.flowerStarClassName,y=I[e];return T(l.default,{color:f,position:_,text:y},void 0,(function(r){if(e===o.HUB||e===o.VERIFIED_AND_HUB){var l={width:h,height:h};return a.createElement("div",v({},r,{className:(0,s.default)(n,i),style:l}),T(t,{className:(0,s.default)(E.default.icon,g)}))}return a.createElement(u.default,v({},r,{className:(0,s.default)(n,i),flowerStarClassName:S,color:m,stroke:c,size:h}),T(t,{className:(0,s.default)(E.default.icon,g)}))}))},i.render=function(){var e=this.props.guild,t=new Set(e.features);return t.has(_.GuildFeatures.VERIFIED)&&t.has(_.GuildFeatures.HUB)?this.renderBadge(o.VERIFIED_AND_HUB,c.default,E.default.verifiedHub):t.has(_.GuildFeatures.HUB)?this.renderBadge(o.HUB,c.default,E.default.hub):t.has(_.GuildFeatures.VERIFIED)&&t.has(_.GuildFeatures.PARTNERED)?this.renderBadge(o.VERIFIED_AND_PARTNERED,f.default,E.default.verified):t.has(_.GuildFeatures.VERIFIED)?this.renderBadge(o.VERIFIED,f.default,E.default.verified):t.has(_.GuildFeatures.PARTNERED)?this.renderBadge(o.PARTNERED,d.default,E.default.partnered):null},r}(a.PureComponent);S.displayName="GuildBadge";var y=S;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=S(n(3)),i=S(n(28)),o=S(n(2)),a=n(429),s=n(1319),u=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(31)),l=n(265),c=S(n(16)),d=S(n(43)),f=S(n(10)),_=S(n(86)),p=S(n(430)),E=S(n(107)),h=S(n(361)),m=S(n(161)),v=S(n(699)),T=S(n(11)),g=n(1);function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function S(e){return e&&e.__esModule?e:{default:e}}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return N(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function R(){return(R=Object.assign||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}).apply(this,arguments)}var b={selectedGuildId:null,selectedChannelId:null,displayUserMode:g.OverlayDisplayUsers.ALWAYS,displayNameMode:g.OverlayDisplayNames.ALWAYS,avatarSizeMode:g.OverlayAvatarSizes.LARGE,notificationPositionMode:g.OverlayNotificationPositions.TOP_LEFT,textChatNotifications:g.OverlayNotificationTextChatTypes.ENABLED,disableExternalLinkAlert:!1,disablePinTutorial:!1,textWidgetOpacity:s.OpacityBounds.LOWER},L=null,D=R({},b),C=null,M=new Set,P=!1,w=!1,U=!1,k=new Set,G=!1;function Y(e){if(e.type===g.ActionTypes.OVERLAY_INITIALIZE&&function(e){return null==e.version&&null!=e.userSettings&&1===l.OVERLAY_VERSION||(e.version===l.OVERLAY_VERSION||(o.default.dispatch({type:g.ActionTypes.OVERLAY_INCOMPATIBLE_APP}),(0,a.disconnect)(),!1))}(e)&&(U=!0),U)switch(e.type){case g.ActionTypes.CHANNEL_CREATE:case g.ActionTypes.THREAD_CREATE:case g.ActionTypes.THREAD_UPDATE:case g.ActionTypes.CHANNEL_DELETE:case g.ActionTypes.THREAD_DELETE:var t=new u.default(e.channel);if(!u.ALL_CHANNEL_TYPES.has(t.type))break;o.default.dispatch({type:e.type,channel:t});break;case g.ActionTypes.CHANNEL_UPDATES:for(var n,r=[],i=O(e.updates);!(n=i()).done;){var s=n.value;r.push(R({},s,{channel:new u.default(s.channel)}))}o.default.dispatch({type:e.type,updates:r});break;case g.ActionTypes.GUILD_CREATE:var c=e.guild;c.channels=c.channels.map((function(e){return new u.default(e)})),o.default.dispatch({type:g.ActionTypes.GUILD_CREATE,guild:c});break;default:o.default.dispatch(e)}}function x(){if(!__OVERLAY__)return!1;var e=L===(0,l.getPID)(),t=M.has((0,l.getPID)())||k.size>0;e&&t?o.default.dirtyDispatch({type:g.ActionTypes.WINDOW_FOCUS,focused:!0}):o.default.dirtyDispatch({type:g.ActionTypes.WINDOW_FOCUS,focused:!1})}function V(){if(L!==(0,l.getPID)())return!1;k.clear()}function H(e){var t=(0,l.getPID)();if(null==e.pid||e.pid===t)switch(e.type){case g.OverlayEventTypes.STORAGE_SYNC:r.default.PersistedStore.initializeAll(e.states);break;case g.OverlayEventTypes.DISPATCH:null!=e.payloads&&(w=!0,e.payloads.forEach((function(e){return Y(e)})),w=!1)}}function F(){var e;e=new Set([g.ActionTypes.CHANNEL_SELECT,g.ActionTypes.VOICE_CHANNEL_SELECT,g.ActionTypes.CHANNEL_COLLAPSE,g.ActionTypes.CATEGORY_COLLAPSE,g.ActionTypes.CATEGORY_EXPAND,g.ActionTypes.AUDIO_TOGGLE_SELF_MUTE,g.ActionTypes.AUDIO_TOGGLE_SELF_DEAF,g.ActionTypes.AUDIO_TOGGLE_LOCAL_MUTE,g.ActionTypes.AUDIO_SET_LOCAL_VIDEO_DISABLED,g.ActionTypes.AUDIO_SET_LOCAL_VOLUME,g.ActionTypes.AUDIO_SET_INPUT_DEVICE,g.ActionTypes.AUDIO_SET_INPUT_VOLUME,g.ActionTypes.AUDIO_SET_OUTPUT_VOLUME,g.ActionTypes.AUDIO_SET_OUTPUT_DEVICE,g.ActionTypes.AUDIO_SET_MODE,g.ActionTypes.OVERLAY_SELECT_CALL,g.ActionTypes.OVERLAY_SET_NOTIFICATION_POSITION_MODE,g.ActionTypes.OVERLAY_SET_UI_LOCKED,g.ActionTypes.OVERLAY_SET_INPUT_LOCKED,g.ActionTypes.OVERLAY_SET_TEXT_WIDGET_OPACITY,g.ActionTypes.OVERLAY_SET_NOT_IDLE,g.ActionTypes.OVERLAY_CALL_PRIVATE_CHANNEL,g.ActionTypes.OVERLAY_SET_DISPLAY_NAME_MODE,g.ActionTypes.OVERLAY_SET_DISPLAY_USER_MODE,g.ActionTypes.OVERLAY_SET_AVATAR_SIZE_MODE,g.ActionTypes.OVERLAY_SET_NOTIFICATION_POSITION_MODE,g.ActionTypes.OVERLAY_SET_TEXT_CHAT_NOTIFICATION_MODE,g.ActionTypes.OVERLAY_JOIN_GAME,g.ActionTypes.LAYOUT_UPDATE_WIDGET,g.ActionTypes.LAYOUT_SET_TOP_WIDGET,g.ActionTypes.LAYOUT_SET_PINNED,g.ActionTypes.LAYOUT_CREATE,g.ActionTypes.CHANNEL_PRELOAD,g.ActionTypes.CALL_DELETE,g.ActionTypes.CHANNEL_ACK,g.ActionTypes.SKU_PURCHASE_MODAL_OPEN,g.ActionTypes.SKU_PURCHASE_MODAL_CLOSE,g.ActionTypes.SKU_PURCHASE_PREVIEW_FETCH_SUCCESS,g.ActionTypes.SKU_PURCHASE_START,g.ActionTypes.SKU_PURCHASE_SUCCESS,g.ActionTypes.SKU_PURCHASE_FAIL,g.ActionTypes.SKU_PURCHASE_SHOW_CONFIRMATION_STEP,g.ActionTypes.SKU_PURCHASE_CLEAR_ERROR,g.ActionTypes.PURCHASE_CONFIRMATION_MODAL_OPEN,g.ActionTypes.PURCHASE_CONFIRMATION_MODAL_CLOSE,g.ActionTypes.ACTIVITY_INVITE_MODAL_CLOSE,g.ActionTypes.LOAD_MESSAGES_SUCCESS,g.ActionTypes.LOAD_MESSAGES_FAILURE,g.ActionTypes.LOAD_MESSAGES,g.ActionTypes.OVERLAY_ACTIVATE_REGION,g.ActionTypes.OVERLAY_DEACTIVATE_ALL_REGIONS,g.ActionTypes.INVITE_MODAL_CLOSE,g.ActionTypes.LAYOUT_DELETE_WIDGET,g.ActionTypes.LAYOUT_DELETE_ALL_WIDGETS,g.ActionTypes.LAYOUT_CREATE_WIDGETS,g.ActionTypes.GIF_FAVORITE_ADD,g.ActionTypes.GIF_FAVORITE_REMOVE,g.ActionTypes.GIFT_CODE_REDEEM,g.ActionTypes.GIFT_CODE_REDEEM_SUCCESS,g.ActionTypes.GIFT_CODE_REDEEM_FAILURE,g.ActionTypes.PREMIUM_REQUIRED_MODAL_OPEN,g.ActionTypes.PREMIUM_REQUIRED_MODAL_CLOSE,g.ActionTypes.PREMIUM_PAYMENT_MODAL_OPEN,g.ActionTypes.PREMIUM_PAYMENT_MODAL_CLOSE,g.ActionTypes.PREMIUM_SWITCH_PLAN_MODAL_OPEN,g.ActionTypes.PREMIUM_SWITCH_PLAN_MODAL_CLOSE,g.ActionTypes.PREMIUM_PAYMENT_SUBSCRIBE_FAIL,g.ActionTypes.PREMIUM_PAYMENT_SUBSCRIBE_SUCCESS,g.ActionTypes.PREMIUM_PAYMENT_ERROR_CLEAR,g.ActionTypes.PREMIUM_PAYMENT_UPDATE_FAIL,g.ActionTypes.PREMIUM_PAYMENT_UPDATE_SUCCESS,g.ActionTypes.BILLING_SUBSCRIPTION_UPDATE_SUCCESS,g.ActionTypes.MEDIA_ENGINE_SET_DESKTOP_SOURCE,g.ActionTypes.STREAM_START,g.ActionTypes.STREAM_STOP,g.ActionTypes.STREAM_CLOSE,g.ActionTypes.HOTSPOT_HIDE,g.ActionTypes.AUDIO_SET_NOISE_CANCELLATION,g.ActionTypes.AUDIO_SET_NOISE_SUPPRESSION]),o.default.setInterceptor((function(t){if(w)return!1;var n=e.has(t.type);if(n)switch(t.type){case g.ActionTypes.CHANNEL_SELECT:var r=t.guildId,i=t.channelId;if(n=!1,null==i)break;(0,a.send)({type:g.OverlayEventTypes.DISPATCH,pid:(0,l.getPID)(),payloads:[{type:g.ActionTypes.CHANNEL_PRELOAD,guildId:r===g.ME?null:r,channelId:i,context:g.CURRENT_APP_CONTEXT},{type:g.ActionTypes.OVERLAY_SELECT_CHANNEL,guildId:r,channelId:i}]});break;case g.ActionTypes.OVERLAY_SET_DISPLAY_NAME_MODE:case g.ActionTypes.OVERLAY_SET_DISPLAY_USER_MODE:case g.ActionTypes.OVERLAY_SET_AVATAR_SIZE_MODE:case g.ActionTypes.OVERLAY_SET_NOTIFICATION_POSITION_MODE:case g.ActionTypes.OVERLAY_SET_TEXT_CHAT_NOTIFICATION_MODE:case g.ActionTypes.OVERLAY_SET_UI_LOCKED:case g.ActionTypes.OVERLAY_SET_INPUT_LOCKED:case g.ActionTypes.OVERLAY_SET_TEXT_WIDGET_OPACITY:case g.ActionTypes.LAYOUT_UPDATE_WIDGET:case g.ActionTypes.LAYOUT_SET_PINNED:case g.ActionTypes.LAYOUT_SET_TOP_WIDGET:case g.ActionTypes.LAYOUT_CREATE:case g.ActionTypes.CATEGORY_EXPAND:case g.ActionTypes.CATEGORY_COLLAPSE:case g.ActionTypes.VOICE_CHANNEL_SELECT:case g.ActionTypes.CHANNEL_ACK:case g.ActionTypes.AUDIO_TOGGLE_SELF_MUTE:case g.ActionTypes.AUDIO_TOGGLE_SELF_DEAF:case g.ActionTypes.AUDIO_TOGGLE_LOCAL_MUTE:case g.ActionTypes.AUDIO_SET_LOCAL_VIDEO_DISABLED:case g.ActionTypes.AUDIO_SET_LOCAL_VOLUME:case g.ActionTypes.AUDIO_SET_INPUT_DEVICE:case g.ActionTypes.AUDIO_SET_INPUT_VOLUME:case g.ActionTypes.AUDIO_SET_OUTPUT_VOLUME:case g.ActionTypes.AUDIO_SET_OUTPUT_DEVICE:case g.ActionTypes.AUDIO_SET_MODE:case g.ActionTypes.LOAD_MESSAGES_SUCCESS:case g.ActionTypes.LOAD_MESSAGES_FAILURE:case g.ActionTypes.LOAD_MESSAGES:case g.ActionTypes.CHANNEL_PRELOAD:case g.ActionTypes.SKU_PURCHASE_MODAL_OPEN:case g.ActionTypes.SKU_PURCHASE_MODAL_CLOSE:case g.ActionTypes.SKU_PURCHASE_PREVIEW_FETCH_SUCCESS:case g.ActionTypes.SKU_PURCHASE_START:case g.ActionTypes.SKU_PURCHASE_SUCCESS:case g.ActionTypes.SKU_PURCHASE_FAIL:case g.ActionTypes.SKU_PURCHASE_SHOW_CONFIRMATION_STEP:case g.ActionTypes.SKU_PURCHASE_CLEAR_ERROR:case g.ActionTypes.PURCHASE_CONFIRMATION_MODAL_OPEN:case g.ActionTypes.PURCHASE_CONFIRMATION_MODAL_CLOSE:case g.ActionTypes.OVERLAY_ACTIVATE_REGION:case g.ActionTypes.OVERLAY_DEACTIVATE_ALL_REGIONS:case g.ActionTypes.INVITE_MODAL_CLOSE:case g.ActionTypes.LAYOUT_DELETE_WIDGET:case g.ActionTypes.LAYOUT_DELETE_ALL_WIDGETS:case g.ActionTypes.LAYOUT_CREATE_WIDGETS:case g.ActionTypes.GIF_FAVORITE_ADD:case g.ActionTypes.GIF_FAVORITE_REMOVE:case g.ActionTypes.GIFT_CODE_REDEEM:case g.ActionTypes.GIFT_CODE_REDEEM_SUCCESS:case g.ActionTypes.GIFT_CODE_REDEEM_FAILURE:case g.ActionTypes.PREMIUM_REQUIRED_MODAL_OPEN:case g.ActionTypes.PREMIUM_REQUIRED_MODAL_CLOSE:case g.ActionTypes.PREMIUM_PAYMENT_MODAL_OPEN:case g.ActionTypes.PREMIUM_PAYMENT_MODAL_CLOSE:case g.ActionTypes.PREMIUM_PAYMENT_SUBSCRIBE_FAIL:case g.ActionTypes.PREMIUM_PAYMENT_SUBSCRIBE_SUCCESS:case g.ActionTypes.PREMIUM_PAYMENT_SUBSCRIBE_START:case g.ActionTypes.PREMIUM_PAYMENT_ERROR_CLEAR:case g.ActionTypes.PREMIUM_PAYMENT_SELECT_PLAN:case g.ActionTypes.PREMIUM_PAYMENT_UPDATE_FAIL:case g.ActionTypes.PREMIUM_PAYMENT_UPDATE_SUCCESS:case g.ActionTypes.BILLING_SUBSCRIPTION_UPDATE_SUCCESS:case g.ActionTypes.STREAM_START:case g.ActionTypes.STREAM_CLOSE:case g.ActionTypes.MEDIA_ENGINE_SET_DESKTOP_SOURCE:case g.ActionTypes.HOTSPOT_HIDE:case g.ActionTypes.AUDIO_SET_NOISE_CANCELLATION:case g.ActionTypes.AUDIO_SET_NOISE_SUPPRESSION:n=!1;default:(0,a.send)({type:g.OverlayEventTypes.DISPATCH,pid:(0,l.getPID)(),payloads:[t]})}return n})),(0,a.setReceiveHandler)(H),(0,a.connect)(),(0,a.send)({type:g.OverlayEventTypes.CONNECT,pid:(0,l.getPID)()})}var B=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,A(t,n);var i,o,a,s=r.prototype;return s.initialize=function(e){this.waitFor(T.default),__OVERLAY__&&(c.default.embedded&&d.default.requireModule("discord_overlay2"),M.delete((0,l.getPID)())),null!=e&&(null==(D=e).textChatNotifications&&(D.textChatNotifications=b.textChatNotifications),null==D.textWidgetOpacity&&(D.textWidgetOpacity=b.textWidgetOpacity))},s.getState=function(){return D},s.isUILocked=function(e){return!M.has(e)},s.isInstanceUILocked=function(){if(!__OVERLAY__)throw new Error("OverlayStore: App instance should never call .isInstanceUILocked()");return!M.has((0,l.getPID)())},s.isInstanceFocused=function(){if(!__OVERLAY__)throw new Error("OverlayStore: App instance should never call .isInstanceFocused()");return L===(0,l.getPID)()},s.isFocused=function(e){return L===e},s.isPinned=function(e){var t=p.default.getLayout(l.OVERLAY_LAYOUT_ID);return null!=t&&null!=t.widgets.find((function(t){var n=p.default.getWidget(t);return!(null==n||n.type!==e||!n.pinned)}))},s.getSelectedGuildId=function(){return D.selectedGuildId},s.getSelectedChannelId=function(){return D.selectedChannelId},s.getSelectedCallId=function(){return C},s.getDisplayUserMode=function(){return D.displayUserMode},s.getDisplayNameMode=function(){return D.displayNameMode},s.getAvatarSizeMode=function(){return D.avatarSizeMode},s.getNotificationPositionMode=function(){return D.notificationPositionMode},s.getTextChatNotificationMode=function(){return D.notificationPositionMode===g.OverlayNotificationPositions.DISABLED?g.OverlayNotificationTextChatTypes.DISABLED:D.textChatNotifications},s.getDisableExternalLinkAlert=function(){return D.disableExternalLinkAlert},s.getFocusedPID=function(){return L},s.getActiveRegions=function(){return k},s.getTextWidgetOpacity=function(){return D.textWidgetOpacity},s.isPreviewingInGame=function(){return G},i=r,(o=[{key:"initialized",get:function(){return U}},{key:"incompatibleApp",get:function(){return P}}])&&y(i.prototype,o),a&&y(i,a),r}(r.default.PersistedStore);B.persistKey="OverlayStoreV2",B.migrations=[function(){var e=R({},i.default.get("OverlayStore")),t=(e.pinnedWidgets,e.positions,e.sizes,e.v),n=function(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}(e,["pinnedWidgets","positions","sizes","v"]);return R({},b,{},5===t?n:null)}];var j=new B(o.default,{CONNECTION_CLOSED:function(e){M.clear()},OVERLAY_START_SESSION:function(e){return F()},OVERLAY_INITIALIZE:function(e){var t=e.focusedPID;L=t},OVERLAY_READY:function(e){return function(){var e=D.selectedGuildId,t=D.selectedChannelId;if(null!=e&&(_.default.hasChannels(e)&&(null==t||_.default.hasSelectableChannel(e,t))||(e=null,t=null)),null!=t&&null==f.default.getChannel(t)&&(e=null,t=null),null==e&&null==t&&(e=E.default.getGuildId()),null!=e&&null==t){var n=_.default.getDefaultChannel(e);null!=n&&(t=n.id)}if(null==t){var r=v.default.getPrivateChannelIds();if(r.length>0)t=r[0];else{var i=h.default.getFlattenedGuilds();if(i.length>0){e=i[0].id;var o=_.default.getDefaultChannel(e);null!=o&&(t=o.id)}}}D.selectedGuildId=e,D.selectedChannelId=t}()},OVERLAY_FOCUSED:function(e){var t=e.pid;L=t,x()},OVERLAY_SELECT_CHANNEL:function(e){var t=e.guildId,n=e.channelId;D.selectedGuildId=t,D.selectedChannelId=n},OVERLAY_SELECT_CALL:function(e){var t=e.callId;C=t},CALL_DELETE:function(e){C=null},LAYOUT_CREATE:function(e){return function(){if(null==D.selectedChannelId||null==f.default.getChannel(D.selectedChannelId)){var e=v.default.getPrivateChannelIds();if(e.length>0)D.selectedChannelId=e[0];else{var t=h.default.getFlattenedGuilds();if(t.length>0){D.selectedGuildId=t[0].id;var n=_.default.getDefaultChannel(D.selectedGuildId);null!=n&&(D.selectedChannelId=n.id)}}}}()},OVERLAY_SET_DISPLAY_NAME_MODE:function(e){var t=e.mode;D.displayNameMode=t},OVERLAY_SET_DISPLAY_USER_MODE:function(e){var t=e.mode;D.displayUserMode=t},OVERLAY_SET_AVATAR_SIZE_MODE:function(e){var t=e.mode;D.avatarSizeMode=t},OVERLAY_SET_NOTIFICATION_POSITION_MODE:function(e){var t=e.mode;D.notificationPositionMode=t},OVERLAY_SET_TEXT_CHAT_NOTIFICATION_MODE:function(e){var t=e.mode;D.textChatNotifications=t},OVERLAY_SET_TEXT_WIDGET_OPACITY:function(e){var t=e.opacity,n=D.textWidgetOpacity!==t;return D.textWidgetOpacity=t,n},OVERLAY_DISABLE_EXTERNAL_LINK_ALERT:function(e){D.disableExternalLinkAlert=!0},OVERLAY_INCOMPATIBLE_APP:function(e){P=!0},OVERLAY_SET_UI_LOCKED:function(e){var t=e.locked,n=e.pid;t?M.delete(n):M.add(n),V(),x(),G=!1},OVERLAY_ACTIVATE_REGION:function(e){var t=e.region;return L===(0,l.getPID)()&&(!k.has(t)&&void k.add(t))},OVERLAY_DEACTIVATE_ALL_REGIONS:function(e){return V()},OVERLAY_SET_PREVIEW_IN_GAME_MODE:function(e){G=e.isPreviewingInGame},WINDOW_RESIZED:function(e){return function(){if(__OVERLAY__){var e=m.default.windowSize();(0,l.validResolution)(e)||(G=!1)}}()}});t.default=j},function(e,t,n){!function(e,t){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(null==e)return{};var n,r,i=function(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}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(){}function s(){}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t,s.resetWarningCache=a;var u=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){e.exports=function(){function e(e,t,n,r,i,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:a};return n.PropTypes=n,n}()})),l=function(e){return null!==e&&"object"===n(e)},c=function e(t,n){if(!l(t)||!l(n))return t===n;var r=Array.isArray(t);if(r!==Array.isArray(n))return!1;var i="[object Object]"===Object.prototype.toString.call(t);if(i!==("[object Object]"===Object.prototype.toString.call(n)))return!1;if(!i&&!r)return!1;var o=Object.keys(t),a=Object.keys(n);if(o.length!==a.length)return!1;for(var s={},u=0;u<o.length;u+=1)s[o[u]]=!0;for(var c=0;c<a.length;c+=1)s[a[c]]=!0;var d=Object.keys(s);if(d.length!==o.length)return!1;var f=t,_=n;return d.every((function(t){return e(f[t],_[t])}))},d=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),n.current},f=function(e){if(null===e||l(t=e)&&"function"==typeof t.elements&&"function"==typeof t.createToken&&"function"==typeof t.createPaymentMethod&&"function"==typeof t.confirmCardPayment)return e;var t;throw new Error("Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.")},_=function(e){if(function(e){return l(e)&&"function"==typeof e.then}(e))return{tag:"async",stripePromise:Promise.resolve(e).then(f)};var t=f(e);return null===t?{tag:"empty"}:{tag:"sync",stripe:t}},p=t.createContext(null);p.displayName="ElementsContext";var E=function(e){var n=e.stripe,r=e.options,o=e.children,a=t.useRef(!1),s=t.useRef(!0),u=t.useMemo((function(){return _(n)}),[n]),l=i(t.useState((function(){return{stripe:null,elements:null}})),2),f=l[0],E=l[1],h=d(n),m=d(r);return null!==h&&(h!==n&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it."),c(r,m)||console.warn("Unsupported prop change on Elements: You cannot change the `options` prop after setting the `stripe` prop.")),a.current||("sync"===u.tag&&(a.current=!0,E({stripe:u.stripe,elements:u.stripe.elements(r)})),"async"===u.tag&&(a.current=!0,u.stripePromise.then((function(e){e&&s.current&&E({stripe:e,elements:e.elements(r)})})))),t.useEffect((function(){return function(){s.current=!1}}),[]),t.useEffect((function(){var e=f.stripe;e&&e._registerWrapper&&e.registerAppInfo&&(e._registerWrapper({name:"react-stripe-js",version:"1.4.1"}),e.registerAppInfo({name:"react-stripe-js",version:"1.4.1",url:"https://stripe.com/docs/stripe-js/react"}))}),[f.stripe]),t.createElement(p.Provider,{value:f},o)};E.propTypes={stripe:u.any,options:u.object};var h=function(e){return function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e}(t.useContext(p),e)},m=function(e){return(0,e.children)(h("mounts <ElementsConsumer>"))};m.propTypes={children:u.func.isRequired};var v=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),function(){n.current&&n.current.apply(n,arguments)}},T=function(e){return l(e)?(e.paymentRequest,r(e,["paymentRequest"])):{}},g=function(){},I=function(e,n){var r,i="".concat((r=e).charAt(0).toUpperCase()+r.slice(1),"Element"),o=n?function(e){h("mounts <".concat(i,">"));var n=e.id,r=e.className;return t.createElement("div",{id:n,className:r})}:function(n){var r=n.id,o=n.className,a=n.options,s=void 0===a?{}:a,u=n.onBlur,l=void 0===u?g:u,d=n.onFocus,f=void 0===d?g:d,_=n.onReady,p=void 0===_?g:_,E=n.onChange,m=void 0===E?g:E,I=n.onEscape,S=void 0===I?g:I,y=n.onClick,A=void 0===y?g:y,O=h("mounts <".concat(i,">")).elements,N=t.useRef(null),R=t.useRef(null),b=v(p),L=v(l),D=v(f),C=v(A),M=v(m),P=v(S);t.useLayoutEffect((function(){if(null==N.current&&O&&null!=R.current){var t=O.create(e,s);N.current=t,t.mount(R.current),t.on("ready",(function(){return b(t)})),t.on("change",M),t.on("blur",L),t.on("focus",D),t.on("escape",P),t.on("click",C)}}));var w=t.useRef(s);return t.useEffect((function(){w.current&&w.current.paymentRequest!==s.paymentRequest&&console.warn("Unsupported prop change: options.paymentRequest is not a customizable property.");var e=T(s);0===Object.keys(e).length||c(e,T(w.current))||N.current&&(N.current.update(e),w.current=s)}),[s]),t.useLayoutEffect((function(){return function(){N.current&&N.current.destroy()}}),[]),t.createElement("div",{id:r,className:o,ref:R})};return o.propTypes={id:u.string,className:u.string,onChange:u.func,onBlur:u.func,onFocus:u.func,onReady:u.func,onClick:u.func,options:u.object},o.displayName=i,o.__elementType=e,o},S="undefined"==typeof window,y=I("auBankAccount",S),A=I("card",S),O=I("cardNumber",S),N=I("cardExpiry",S),R=I("cardCvc",S),b=I("fpxBank",S),L=I("iban",S),D=I("idealBank",S),C=I("p24Bank",S),M=I("epsBank",S),P=I("payment",S),w=I("paymentRequestButton",S),U=I("afterpayClearpayMessage",S);e.AfterpayClearpayMessageElement=U,e.AuBankAccountElement=y,e.CardCvcElement=R,e.CardElement=A,e.CardExpiryElement=N,e.CardNumberElement=O,e.Elements=E,e.ElementsConsumer=m,e.EpsBankElement=M,e.FpxBankElement=b,e.IbanElement=L,e.IdealBankElement=D,e.P24BankElement=C,e.PaymentElement=P,e.PaymentRequestButtonElement=w,e.useElements=function(){return h("calls useElements()").elements},e.useStripe=function(){return h("calls useStripe()").stripe},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(0))},function(e,t,n){var r=n(406),i=n(1785),o=n(1411),a=Math.max,s=Math.min;e.exports=function(e,t,n){var u,l,c,d,f,_,p=0,E=!1,h=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=u,r=l;return u=l=void 0,p=t,d=e.apply(r,n)}function T(e){return p=e,f=setTimeout(I,t),E?v(e):d}function g(e){var n=e-_;return void 0===_||n>=t||n<0||h&&e-p>=c}function I(){var e=i();if(g(e))return S(e);f=setTimeout(I,function(e){var n=t-(e-_);return h?s(n,c-(e-p)):n}(e))}function S(e){return f=void 0,m&&u?v(e):(u=l=void 0,d)}function y(){var e=i(),n=g(e);if(u=arguments,l=this,_=e,n){if(void 0===f)return T(_);if(h)return clearTimeout(f),f=setTimeout(I,t),v(_)}return void 0===f&&(f=setTimeout(I,t)),d}return t=o(t)||0,r(n)&&(E=!!n.leading,c=(h="maxWait"in n)?a(o(n.maxWait)||0,t):c,m="trailing"in n?!!n.trailing:m),y.cancel=function(){void 0!==f&&clearTimeout(f),p=0,u=_=l=f=void 0},y.flush=function(){return void 0===f?d:S(i())},y}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=l(n(62)),o=n(156),a=l(n(150)),s=l(n(1644)),u=l(n(89));function l(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=((r={})[o.POKER_NIGHT_APPLICATION_ID]=7,r[o.END_GAME_APPLICATION_ID]=12,r),p=function(e){var t={os:e.os,name:e.name};return null!=e.arguments&&(t.arguments=e.arguments),null!=e.is_launcher&&(t.isLauncher=e.is_launcher),t},E=function(e){var t,n;function r(t){var n,r,i;return(i=e.call(this)||this).id=t.id,i.name=t.name,i.icon=t.icon||null,i.splash=t.splash||null,i.overlay=t.overlay||!1,i.overlayWarn=t.overlayWarn||!1,i.overlayCompatibilityHook=t.overlayCompatibilityHook||!1,i.hook=null===(n=t.hook)||void 0===n||n,i.aliases=t.aliases||[],i.publishers=t.publishers||[],i.developers=t.developers||[],i.primarySkuId=t.primarySkuId,i.storeListingSkuId=t.storeListingSkuId,i.guildId=t.guildId||null,i.guild=t.guild||null,i.thirdPartySkus=t.thirdPartySkus||[],i.executables=(t.executables||[]).map(p),i.hashes=t.hashes||[],i.description=t.description||null,i.eulaId=t.eulaId||null,i.slug=t.slug||null,i.bot=t.bot||null,i.coverImage=t.coverImage||null,i.flags=null!==(r=t.flags)&&void 0!==r?r:0,i.maxParticipants=t.maxParticipants,i}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n),r.createFromServer=function(e){var t;return new r(c({},e,{thirdPartySkus:e.third_party_skus,overlayWarn:e.overlay_warn,overlayCompatibilityHook:e.overlay_compatibility_hook,hook:e.hook,primarySkuId:e.primary_sku_id,storeListingSkuId:e.store_listing_sku_id,guildId:e.guild_id,guild:e.guild,publishers:null!=e.publishers?e.publishers.map(s.default.createFromServer):[],developers:null!=e.developers?e.developers.map(s.default.createFromServer):[],eulaId:e.eula_id,slug:e.slug,coverImage:e.cover_image,bot:null!=e.bot?new u.default(e.bot):null,flags:null!==(t=e.flags)&&void 0!==t?t:0,maxParticipants:e.max_participants}))};var i,o,l,E=r.prototype;return E.getIconURL=function(e){return null!=this.icon?a.default.getGameAssetURL({id:this.id,hash:this.icon,size:e}):null},E.getIconSource=function(e){return null!=this.icon?a.default.getGameAssetSource({id:this.id,hash:this.icon,size:e}):null},E.getSplashURL=function(e){return null!=this.splash?a.default.getGameAssetURL({id:this.id,hash:this.splash,size:e,keepAspectRatio:!0}):null},E.getCoverImageURL=function(e){return null!=this.coverImage?a.default.getApplicationIconURL({id:this.id,icon:this.coverImage,size:e}):null},E.getMaxParticipants=function(){var e,t;return null!==(e=null!==(t=this.maxParticipants)&&void 0!==t?t:_[this.id])&&void 0!==e?e:0},i=r,(o=[{key:"destinationSkuId",get:function(){return null!=this.storeListingSkuId?this.storeListingSkuId:this.primarySkuId}}])&&d(i.prototype,o),l&&d(i,l),r}(i.default);t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatSize=a,t.formatKbSize=function(e,t){void 0===t&&(t=o);var n=t.useKibibytes?1024:1e3,r=t.useKibibytes?1024:1e3,s=e/n;if(s/r>=1)return a(s,t);return i.default.Messages.FILE_SIZE_KB.format({size:Math.ceil(s)})},t.KB_IN_MB=void 0;var r,i=(r=n(6))&&r.__esModule?r:{default:r};t.KB_IN_MB=1024;var o={useKibibytes:!1,showDecimalForGB:!0};function a(e,t){void 0===t&&(t=o);var n=t.useKibibytes?1024:1e3,r=t.useKibibytes?1024:1e3,a=Math.ceil(e/n);if(a<r)return i.default.Messages.FILE_SIZE_MB.format({size:a});var s=a/r;return s=t.showDecimalForGB?Math.round(10*s)/10:Math.round(s),i.default.Messages.FILE_SIZE_GB.format({size:s})}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(3)),i=a(n(2)),o=a(n(187));n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var i,a,l,c=r.prototype;return c.initialize=function(){this.waitFor(o.default)},c.getExperimentBucket=function(e){return o.default.getUserExperimentBucket(e)},c.getEligibleExperiment=function(e){return o.default.getUserExperimentDescriptor(e)},c.getEligibleExperiments=function(){return o.default.getAllUserExperimentDescriptors()},c.getRegisteredExperiments=function(){return o.default.getRegisteredExperiments()},c.getExperimentOverrides=function(){return o.default.getAllExperimentOverrideDescriptors()},c.getOverrideExperimentDescriptor=function(e){return o.default.getExperimentOverrideDescriptor(e)},i=r,(a=[{key:"hasLoadedExperiments",get:function(){return o.default.hasLoadedExperiments}}])&&s(i.prototype,a),l&&s(i,l),r}(r.default.Store))(i.default,{LOGOUT:function(e){return!0},LOGIN_SUCCESS:function(e){return!0},CONNECTION_OPEN:function(e){return!0},EXPERIMENTS_FETCH_SUCCESS:function(e){return!0},OVERLAY_INITIALIZE:function(e){return!0},CACHE_LOADED:function(e){return!0},EXPERIMENTS_FETCH_FAILURE:function(e){return!0},EXPERIMENT_REGISTER_LEGACY:function(e){return!0},EXPERIMENT_OVERRIDE_BUCKET:function(e){return!0}});t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PaypalSourceRecord=t.CreditCardSourceRecord=t.default=void 0;var r,i=(r=n(62))&&r.__esModule?r:{default:r},o=n(99),a=n(48),s=n(1);function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,c(e,t)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){function t(t){var n;if(n=e.call(this)||this,!Object.values(s.PaymentSourceTypes).includes(t.type))throw new Error("Unrecognized payment source type "+t.type);return n.id=t.id,n.type=t.type,n.invalid=t.invalid||!1,n.billingAddress=t.billingAddress||{},n.isDefault=t.isDefault,n.flags=t.flags||0,n}return l(t,e),t.createFromServer=function(e){var t=e.billing_address||{},n={id:e.id,type:e.type,invalid:e.invalid,isDefault:e.default,billingAddress:{name:t.name,line1:t.line_1,line2:t.line_2,city:t.city,postalCode:t.postal_code,state:t.state,country:t.country},flags:e.flags};switch(e.type){case s.PaymentSourceTypes.CARD:return new f(u({},n,{brand:e.brand,last4:e.last_4,expiresMonth:e.expires_month,expiresYear:e.expires_year}));case s.PaymentSourceTypes.PAYPAL:return new _(u({},n,{email:e.email}));default:(0,a.assertNever)(e)}},t.createFromSerialized=function(e){var t=e.type;switch(t){case s.PaymentSourceTypes.CARD:return new f(e);case s.PaymentSourceTypes.PAYPAL:return new _(e);default:(0,a.assertNever)(t)}},t.prototype.hasFlag=function(e){return(0,o.hasFlag)(this.flags,e)},t}(i.default);t.default=d;var f=function(e){function t(t){var n;if(n=e.call(this,t)||this,t.type!==s.PaymentSourceTypes.CARD)throw new Error("Cannot instantiate CreditCardSourceRecord with type: "+t.type+", must be "+s.PaymentSourceTypes.CARD);return n.brand=t.brand||"",n.last4=t.last4||"",n.expiresMonth=t.expiresMonth||0,n.expiresYear=t.expiresYear||0,n}return l(t,e),t}(d);t.CreditCardSourceRecord=f;var _=function(e){function t(t){var n;if(n=e.call(this,t)||this,t.type!==s.PaymentSourceTypes.PAYPAL)throw new Error("Cannot instantiate PaypalSourceRecord with type: "+t.type+", must be "+s.PaymentSourceTypes.PAYPAL);return n.email=t.email||"",n}return l(t,e),t}(d);t.PaypalSourceRecord=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BROWSER_SUPPORTS_VIDEO=t.IS_APP_COMPATIBLE_BROWSER=void 0;var r,i=(r=n(66))&&r.__esModule?r:{default:r};var o=function(){if(null==window.WebSocket)return!1;switch(i.default.name){case"IE":case"Microsoft Edge":return parseInt(i.default.version,10)>=15;default:return!0}}();t.IS_APP_COMPATIBLE_BROWSER=o;var a="Chrome"===i.default.name||"Safari"===i.default.name||"Firefox"===i.default.name&&parseInt(i.default.version,10)>=80||"Opera"===i.default.name;t.BROWSER_SUPPORTS_VIDEO=a},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.CodedLinkType=void 0,t.CodedLinkType=r,function(e){e.INVITE="INVITE",e.TEMPLATE="TEMPLATE",e.BUILD_OVERRIDE="BUILD_OVERRIDE"}(r||(t.CodedLinkType=r={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(8)),i=s(n(3)),o=s(n(2)),a=s(n(1331));n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l={preferredRegion:null,lastTestTimestamp:null,lastGeoRankedOrder:null},c=l;var d=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var o=i.prototype;return o.initialize=function(e){c=null!=e?e:l},o.shouldIncludePreferredRegion=function(e){return null!=e?a.default.getCurrentConfig({guildId:e}).useGuildVoiceChannelLatencyRouting:null!=c.preferredRegion},o.getPreferredRegion=function(){return c.preferredRegion},o.getRegion=function(e){if(null!=e)return e.substr(0,e.search(/\d/))},o.getState=function(){return c},o.shouldPerformLatencyTest=function(e){var t,n;return null===c.preferredRegion||!r.default.isEqual(e,null!==(t=c.lastGeoRankedOrder)&&void 0!==t?t:[])||Date.now()-(null!==(n=c.lastTestTimestamp)&&void 0!==n?n:0)>=864e5},i}(i.default.PersistedStore);d.persistKey="RTCRegionStore";var f=new d(o.default,{RTC_LATENCY_TEST_COMPLETE:function(e){e.latencyRankedRegions.length&&(c.lastGeoRankedOrder=e.geoRankedRegions,c.preferredRegion=e.latencyRankedRegions[0]),c.lastTestTimestamp=Date.now()}});t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=S,t.findCodedLink=function(e){return S(e)[0]};var r=n(142),i=(n(307),u(n(264))),o=u(n(186)),a=n(385),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var d=/^\/([a-zA-Z0-9-]+)$/,f=/^\/(invite|template)\/([a-zA-Z0-9-]+)$/,_=g(window.GLOBAL_ENV.INVITE_HOST),p=g(window.GLOBAL_ENV.GUILD_TEMPLATE_HOST),E=g(window.GLOBAL_ENV.WEBAPP_ENDPOINT||"//canary."+s.PRIMARY_DOMAIN),h=g("discordapp.com"),m=g("discord.com"),v=[i.default.escape(_.host||""),i.default.escape(p.host||""),i.default.escape(E.host||""),i.default.escape(h.host||""),i.default.escape(m.host||"")].filter(Boolean),T=new RegExp("(^|[^/][^/.])("+v.join("|")+")","g");function g(e){if(null==e)return{host:null,pathPrefix:null};if(e.indexOf("/")>=0){var t=(0,r.parse)(e,void 0,!0);return{host:t.host,pathPrefix:t.pathname}}return{host:e,pathPrefix:null}}function I(e,t){var n;if((null===(n=t.host)||void 0===n?void 0:n.replace(/^www[.]/i,""))!==e.host)return null;var r=t.pathname||"",i=e.pathPrefix||"";return r.startsWith(i)?r.substring(i.length):null}function S(e){if(null==e)return[];var t=new Set,n=[],r=(e=e.replace(T,(function(e,t,n){return t+"http://"+n}))).match(o.default.URL_REGEX);if(null==r)return[];for(var i,s=l(r);!(i=s()).done;){var u=i.value;if(n.length>=10)break;var c=y(u);if(null!=c&&null!=c.pathname){var v=I(_,c),g=I(p,c),S=I(E,c)||I(h,c)||I(m,c),A=function(e,r){t.has(r)||(t.add(r),n.push({type:e,code:r}))};0,(null==v?void 0:v.match(d))&&A(a.CodedLinkType.INVITE,v.substring(1)),(null==g?void 0:g.match(d))&&A(a.CodedLinkType.TEMPLATE,g.substring(1));var O=null==S?void 0:S.match(f);null!=O&&A(O[1].toUpperCase(),O[2])}}return n}function y(e){try{return(0,r.parse)(e)}catch(e){return null}}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.closeContextMenu=function(){r.default.wait((function(){return r.default.dispatch({type:o.ActionTypes.CONTEXT_MENU_CLOSE})}))},t.openContextMenu=function(e,t,n){i.default.isDesktop()||e.preventDefault();if(e.stopPropagation(),null!=e.currentTarget.contains&&!e.currentTarget.contains(e.target))return;var a=0,u=0;"pageX"in e&&(a=e.pageX,u=e.pageY);if(0===a&&0===u){var l,c=null===(l=e.target)||void 0===l?void 0:l.getBoundingClientRect(),d=null!=c?c:{},f=d.left,_=void 0===f?0:f,p=d.top,E=void 0===p?0:p,h=d.width,m=void 0===h?0:h,v=d.height;a=_+m/2,u=E+(void 0===v?0:v)/2}T={render:t,target:e.target||e.currentTarget,rect:new DOMRect(a,u,0,0),config:s({context:__OVERLAY__?o.AppContext.OVERLAY:o.AppContext.APP},n)},r.default.dispatch({type:o.ActionTypes.CONTEXT_MENU_OPEN,contextMenu:T});var T};var r=a(n(2)),i=a(n(16)),o=n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=B(n(14)),i=B(n(2)),o=B(n(762)),a=F(n(1324)),s=B(n(106)),u=n(180),l=n(385),c=B(n(387)),d=B(n(26)),f=n(726),_=B(n(1176)),p=n(296),E=B(n(1258)),h=B(n(5529)),m=F(n(1263)),v=n(1389),T=B(n(5530)),g=F(n(706)),I=B(n(163)),S=B(n(11)),y=B(n(10)),A=B(n(709)),O=B(n(15)),N=B(n(1174)),R=B(n(201)),b=B(n(40)),L=B(n(256)),D=B(n(200)),C=B(n(70)),M=n(1242),P=B(n(12)),w=n(402),U=B(n(93)),k=B(n(96)),G=B(n(97)),Y=B(n(154)),x=n(1),V=B(n(6));function H(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return H=function(){return e},e}function F(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=H();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function B(e){return e&&e.__esModule?e:{default:e}}function j(){return(j=Object.assign||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}).apply(this,arguments)}var W=new d.default("MessageActionCreators"),K=!1;function z(e,t,n,r,i,o){void 0===i&&(i=null),void 0===o&&(o={});var a=y.default.getChannel(t);if(null!=a){var u=null;a.isMultiUserDM()?u=x.InviteTypes.GDM_INVITE:a.isPrivate()||(u=x.InviteTypes.SERVER_INVITE);var l={},c=N.default.getInvite(e);if(null!=c&&c.state===x.InviteStates.RESOLVED&&null!=c.channel){var d,_=c.channel;l.invite_channel_id=_.id,l.invite_guild_id=null===(d=c.guild)||void 0===d?void 0:d.id,l.invite_channel_type=_.type,null!=c.inviter&&(l.invite_inviter_id=c.inviter.id);var p=I.default.getLastActiveStream();if(null!=p&&p.channelId===_.id){u=x.InviteTypes.STREAM,l.destination_user_id=p.ownerId;var E=(0,f.getStreamerApplication)(p,L.default);l.application_id=null!=E?E.id:null}}null!=i&&(l.is_suggested=i.isAffinitySuggestion,l.row_num=i.rowNum,l.num_total=i.numTotal,l.num_affinity_connections=i.numAffinityConnections,l.is_filtered=i.isFiltered),l=j({},l,{location:r,invite_type:u,invite_code:e,guild_id:a.getGuildId(),channel_id:a.id,message_id:n,send_type:x.SendTypes.DIRECT_MESSAGE},o),s.default.trackWithMetadata(x.AnalyticEvents.INVITE_SENT,l)}}var q={receiveMessage:function(e,t,n,r){void 0===n&&(n=!1),void 0===r&&(r={}),i.default.dirtyDispatch({type:x.ActionTypes.MESSAGE_CREATE,channelId:e,message:t,optimistic:n,sendMessageOptions:r,isPushNotification:!1})},sendBotMessage:function(e,t,n,r){null!=r&&s.default.trackWithMetadata(x.AnalyticEvents.AUTOMATED_MESSAGE_RECEIVED,{message_author:"Clyde",message_name:r}),q.receiveMessage(e,(0,m.createBotMessage)(e,t,n,r))},sendClydeError:function(e,t){void 0===t&&(t=0);var n=y.default.getChannel(e);if(null!=n){var r;if(t===x.AbortCodes.EXPLICIT_CONTENT)if(n.isDM())r=V.default.Messages.BOT_DM_EXPLICIT_CONTENT.format({name:(0,u.computeChannelName)(n,P.default,C.default)});else if(n.isMultiUserDM())r=V.default.Messages.BOT_GDM_EXPLICIT_CONTENT.format({name:(0,u.computeChannelName)(n,P.default,C.default)});else{var i=O.default.getGuild(n.getGuildId());if(null==i)return;r=V.default.Messages.BOT_GUILD_EXPLICIT_CONTENT.format({name:i.toString()})}else r=t===x.AbortCodes.SLOWMODE_RATE_LIMITED?V.default.Messages.CHANNEL_SLOWMODE_DESC.format({seconds:n.rateLimitPerUser}):t===x.AbortCodes.INVALID_MESSAGE_SEND_USER?V.default.Messages.BOT_DM_SEND_FAILED_WITH_HELP_LINK.format({helpUrl:U.default.getArticleURL(x.HelpdeskArticles.DM_COULD_NOT_BE_DELIVERED)}):t===x.AbortCodes.TOO_MANY_THREADS?V.default.Messages.BOT_DM_TOO_MANY_THREADS:t===x.AbortCodes.TOO_MANY_ANNOUNCEMENT_THREADS?V.default.Messages.BOT_DM_TOO_MANY_ANNOUNCEMENT_THREADS:null!=x.CLYDE_ERROR_MESSAGES[t]?V.default.Messages[x.CLYDE_ERROR_MESSAGES[t]]:V.default.Messages.BOT_DM_SEND_FAILED_WITH_HELP_LINK.format({helpUrl:U.default.getArticleURL(x.HelpdeskArticles.DM_COULD_NOT_BE_DELIVERED)});q.sendBotMessage(e,r)}},truncateMessages:function(e,t,n){i.default.dirtyDispatch({type:x.ActionTypes.TRUNCATE_MESSAGES,channelId:e,truncateBottom:t,truncateTop:n})},clearChannel:function(e){i.default.dirtyDispatch({type:x.ActionTypes.CLEAR_MESSAGES,channelId:e})},jumpToPresent:function(e,t){q.trackJump(e,null,"Present");var n={present:!0};R.default.hasPresent(e)?i.default.dirtyDispatch({type:x.ActionTypes.LOAD_MESSAGES_SUCCESS_CACHED,jump:n,channelId:e,limit:t}):q.fetchMessages({channelId:e,limit:t,jump:n})},trackJump:function(e,t,n,r){s.default.trackWithMetadata(x.AnalyticEvents.JUMP,j({context:n,channel_id:e,message_id:t},r))},jumpToMessage:function(e){var t=e.channelId,n=e.messageId,r=e.flash,i=void 0!==r&&r,o=e.offset,a=e.context,s=e.extraProperties,u=void 0===s?null:s,l=e.isPreload,c=e.returnMessageId,d=e.jumpType;"string"==typeof a&&q.trackJump(t,n,a,u),q.fetchMessages({channelId:t,limit:x.MAX_MESSAGES_FOR_JUMP,jump:{messageId:n,flash:i,offset:o,returnMessageId:c,jumpType:d},isPreload:l})},fetchMessages:function(e){var t=e.channelId,n=e.before,a=e.after,s=e.limit,u=e.jump,l=e.isPreload,c=e.truncate,d=y.default.getChannel(t),f=A.default.isConnectedOrOverlay(),_=Date.now();if(null!=d&&d.type===x.ChannelTypes.GUILD_STORE)return!1;if(W.log("Fetching messages for "+t+" between "+n+" and "+a+". jump="+JSON.stringify(u)),!q._tryFetchMessagesCached({channelId:t,before:n,after:a,limit:s,jump:u,truncate:c})){var p=o.default.getOrCreate(t).loadStart(u);o.default.commit(p),i.default.dirtyDispatch({type:x.ActionTypes.LOAD_MESSAGES});var E=u&&u.messageId;return T.default.messageFetchStart(t),r.default.get({url:x.Endpoints.MESSAGES(t),query:{before:n,after:a,limit:s,around:E,preload:l},retries:2,oldFormErrors:!0}).then((function(e){var r=e.body,o=null!=n,l=null!=a,d=null==n&&null==a,p=null!=E||r.length===s&&(o||d),h=null!=E||l&&r.length===s;if(E){var m=s/2,v=[E].concat(r.map((function(e){return e.id}))).filter((function(e,t,n){return n.indexOf(e)===t})).sort(G.default.compare).indexOf(E);if(v<Math.floor(m)&&(p=!1),r.length-v<m&&(h=!1),h&&r.length){var g=D.default.lastMessageId(t);r[0].id===g&&(h=!1)}}return W.log("Fetched "+r.length+" messages for "+t+" isBefore:"+o+" isAfter:"+l),T.default.messageFetchEnd(t),i.default.dispatch({type:x.ActionTypes.LOAD_MESSAGES_SUCCESS,channelId:t,messages:r,isBefore:o,isAfter:l,hasMoreBefore:p,hasMoreAfter:h,limit:s,jump:u,isStale:!f||A.default.lastTimeConnectedChanged()>=_,truncate:c}),!0}),(function(){return W.log("Failed to fetch messages for "+t),i.default.dispatch({type:x.ActionTypes.LOAD_MESSAGES_FAILURE,channelId:t}),!1}))}},_tryFetchMessagesCached:function(e){var t=e.channelId,n=e.before,r=e.after,o=e.limit,a=e.jump,s=e.truncate,u=R.default.getMessages(t);if(u.cached)return!1;if(null!=a&&null!=a.messageId){if(u.has(a.messageId,!1))return i.default.dirtyDispatch({type:x.ActionTypes.LOAD_MESSAGES_SUCCESS_CACHED,channelId:t,jump:a,limit:o,truncate:s}),!0;var l=G.default.extractTimestamp(a.messageId),c=u.first(),d=u.last();return(!u.hasMoreBefore&&null!=c&&G.default.extractTimestamp(c.id)>=l||!u.hasMoreAfter&&null!=d&&G.default.extractTimestamp(d.id)<=l||null!=c&&null!=d&&G.default.extractTimestamp(c.id)<l&&G.default.extractTimestamp(d.id)>l)&&(i.default.dirtyDispatch({type:x.ActionTypes.LOAD_MESSAGES_SUCCESS_CACHED,channelId:t,jump:a,limit:x.MAX_MESSAGES_FOR_JUMP}),!0)}return n&&u.hasBeforeCached(n)?(i.default.dirtyDispatch({type:x.ActionTypes.LOAD_MESSAGES_SUCCESS_CACHED,channelId:t,before:n,limit:o,truncate:s}),!0):!(!r||!u.hasAfterCached(r))&&(i.default.dirtyDispatch({type:x.ActionTypes.LOAD_MESSAGES_SUCCESS_CACHED,channelId:t,after:r,limit:o,truncate:s}),!0)},sendMessage:function(e,t,n,r){if(void 0===n&&(n=!0),void 0===r&&(r={}),t.reaction)return Promise.resolve();var i=function(){return q._sendMessage(e,t,r)};return n?new Promise((function(t,n){R.default.whenReady(e,(function(){return i().then(t,n)}))})):i()},getSendMessageOptionsForReply:function(e){var t;return null==e?{}:{messageReference:{guild_id:null!==(t=e.channel.getGuildId())&&void 0!==t?t:void 0,channel_id:e.channel.id,message_id:e.message.id},allowedMentions:e.shouldMention?void 0:{parse:Object.values(x.AllowedMentionTypes),replied_user:!1}}},sendInvite:function(e,t,n,r){return q._sendMessage(e,{content:(0,E.default)(t),tts:!1,validNonShortcutEmojis:[],invalidEmojis:[]},{location:n,suggestedInvite:null!=r?r:void 0})},sendStickers:function(e,t,n,r){return void 0===n&&(n=""),void 0===r&&(r={}),q._sendMessage(e,{content:n,invalidEmojis:[],validNonShortcutEmojis:[],tts:!1},j({},r,{stickerIds:t}))},sendGreetMessage:function(e,t){return r.default.post({url:x.Endpoints.MESSAGES_GREET(e),body:{sticker_ids:[t]},oldFormErrors:!0}).then((function(n){return h.default.donateSentMessage(n.body.content,e),q.receiveMessage(e,n.body),i.default.dispatch({type:x.ActionTypes.STICKER_TRACK_USAGE,stickerIds:[t]}),n}),(function(t){throw 429!==t.status&&q.sendClydeError(e,t.body.code),i.default.dispatch({type:x.ActionTypes.MESSAGE_SEND_FAILED,messageId:t.body.id,channelId:e}),t}))},_sendMessage:function(e,t,n){var r=t.content,o=t.invalidEmojis,u=t.validNonShortcutEmojis,d=t.tts,f=void 0!==d&&d,E=n.activityAction,v=n.location,T=n.suggestedInvite,g=n.stickerIds,I=n.messageReference,A=n.allowedMentions;if(!r&&null==E&&null==g)return Promise.reject(new Error("not sending empty message"));var O=null!=I?x.MessageTypes.REPLY:x.MessageTypes.DEFAULT,N=(0,m.default)(e,r,f,O,I,A);if(q.receiveMessage(e,N,!0,n),!K&&o&&o.length>0){K=!0;var R,L=P.default.getCurrentUser();R=o.some((function(e){return e.animated}))&&!k.default.canUseAnimatedEmojis(L)?V.default.Messages.INVALID_ANIMATED_EMOJI_BODY_UPGRADE:b.default.canWithPartialContext(x.Permissions.USE_EXTERNAL_EMOJIS,{channelId:e})?V.default.Messages.INVALID_EXTERNAL_EMOJI_BODY_UPGRADE:V.default.Messages.INVALID_EXTERNAL_EMOJI_BODY,q.sendBotMessage(e,R)}var D={type:a.MessageDataType.SEND,message:{channelId:e,content:r,nonce:N.id,tts:f,message_reference:I,allowed_mentions:A}};if(null!=E){var C=E.type===x.ActivityActionTypes.JOIN_REQUEST?null==E?void 0:E.activity.session_id:S.default.getSessionId();if(null!=C){var U={type:E.type,session_id:C},G=E.activity;null!=G.party&&null!=G.party.id&&(U.party_id=G.party.id),D.message.application_id=G.application_id,D.message.activity=U}}return null!=g&&(D.message.sticker_ids=g),new Promise((function(t,n){a.default.enqueue(D,(function(o){if(o.ok)h.default.donateSentMessage(r,e),q.receiveMessage(e,o.body),i.default.dispatch({type:x.ActionTypes.SLOWMODE_RESET_COOLDOWN,slowmodeType:M.SlowmodeType.SendMessage,channelId:e}),i.default.dispatch({type:x.ActionTypes.EMOJI_TRACK_USAGE,emojiUsed:u}),i.default.dispatch({type:x.ActionTypes.STICKER_TRACK_USAGE,stickerIds:g}),function(e,t,n,r,i,o){void 0===i&&(i=null),void 0===o&&(o={}),(0,c.default)(e).forEach((function(e){var a=e.type,u=e.code;if(a===l.CodedLinkType.INVITE)z(u,t,n,r,i,o);else if(a===l.CodedLinkType.TEMPLATE){var c=_.default.getGuildTemplate(u);if(null==c||c.state===p.GuildTemplateStates.RESOLVING)return;s.default.trackWithMetadata(x.AnalyticEvents.GUILD_TEMPLATE_LINK_SENT,{guild_template_code:u,guild_template_name:c.name,guild_template_description:c.description,guild_template_guild_id:c.sourceGuildId})}else if(a!==l.CodedLinkType.BUILD_OVERRIDE)throw Error("Unknown coded link type: "+a)}))}(r,e,o.body.id,v||"chat_input",T),function(e,t,n,r){(0,w.findGiftCodes)(e).forEach((function(e){var i=y.default.getChannel(t);null!=i&&s.default.trackWithMetadata(x.AnalyticEvents.GIFT_CODE_SENT,{location:r,gift_code:e,guild_id:i.getGuildId(),channel_id:i.id,channel_type:i.type,message_id:n})}))}(r,e,o.body.id,v||"chat_input"),t(o);else{var a=!1;if(o.hasErr)"ABORTED"===o.err.code&&(a=!0);else if(o.status>=400&&o.status<500&&o.body)if(o.body.code===x.AbortCodes.SLOWMODE_RATE_LIMITED){var d=o.body.retry_after;null!=d&&d>0&&i.default.dispatch({type:x.ActionTypes.SLOWMODE_SET_COOLDOWN,channelId:e,slowmodeType:M.SlowmodeType.SendMessage,cooldownMs:1e3*d})}else q.sendClydeError(e,o.body.code);a?q.deleteMessage(e,N.id,!0):i.default.dispatch({type:x.ActionTypes.MESSAGE_SEND_FAILED,messageId:N.id,channelId:e}),n(o)}}))}))},startEditMessage:function(e,t,n){i.default.dispatch({type:x.ActionTypes.MESSAGE_START_EDIT,channelId:e,messageId:t,content:n})},updateEditMessage:function(e,t,n){i.default.dispatch({type:x.ActionTypes.MESSAGE_UPDATE_EDIT,channelId:e,textValue:t,richValue:n})},endEditMessage:function(e,t){i.default.dispatch({type:x.ActionTypes.MESSAGE_END_EDIT,channelId:e,response:t})},editMessage:function(e,t,n){var r=n.content,i=function(e,t){var n=R.default.getMessage(e,t);if(null!=n&&n.type===x.MessageTypes.REPLY){var r=g.default.getMessageByReference(n.messageReference);if(r.state===g.ReferencedMessageState.LOADED&&!n.mentions.includes(r.message.author.id))return{parse:Object.values(x.AllowedMentionTypes),replied_user:!1}}}(e,t),o={channelId:e,messageId:t,content:r,allowed_mentions:i};a.default.enqueue({type:a.MessageDataType.EDIT,message:o},(function(t){q.endEditMessage(e,t.hasErr?void 0:t)}))},suppressEmbeds:function(e,t){r.default.patch({url:x.Endpoints.MESSAGE(e,t),body:{flags:x.MessageFlags.SUPPRESS_EMBEDS},oldFormErrors:!0})},patchMessageAttachments:function(e,t,n){r.default.patch({url:x.Endpoints.MESSAGE(e,t),body:{attachments:n},oldFormErrors:!0})},deleteMessage:function(e,t,n){void 0===n&&(n=!1),n?i.default.dirtyDispatch({type:x.ActionTypes.MESSAGE_DELETE,id:t,channelId:e}):r.default.delete({url:x.Endpoints.MESSAGE(e,t),oldFormErrors:!0}).then((function(){i.default.dispatch({type:x.ActionTypes.MESSAGE_DELETE,id:t,channelId:e})}));var o=R.default.getMessage(e,t);(null==o?void 0:o.type)===x.MessageTypes.GUILD_INVITE_REMINDER&&(0,v.trackGuildInviteNotificationDismissed)()},dismissAutomatedMessage:function(e){null!=e.loggingName&&s.default.trackWithMetadata(x.AnalyticEvents.AUTOMATED_MESSAGE_DISMISSED,{message_name:e.loggingName,message_author:e.author.username}),this.deleteMessage(e.channel_id,e.id,!0)},revealMessage:function(e,t){i.default.dispatch({type:x.ActionTypes.MESSAGE_REVEAL,channelId:e,messageId:t})},crosspostMessage:function(e,t){return r.default.post({url:x.Endpoints.MESSAGE_CROSSPOST(e,t),oldFormErrors:!0}).catch((function(e){var t;t=429===e.status?V.default.Messages.PUBLISH_FOLLOWED_NEWS_FAIL_BODY.format({retryAfter:Math.floor(e.body.retry_after/60)}):V.default.Messages.PUBLISH_FOLLOWED_NEWS_GENERIC_BODY,Y.default.show({title:V.default.Messages.PUBLISH_FOLLOWED_NEWS_FAIL_TITLE,body:t,confirmText:V.default.Messages.OKAY})}))},speakMessage:function(e,t){i.default.dispatch({type:x.ActionTypes.SPEAK_MESSAGE,channelId:e,messageId:t})},stopSpeakingMessage:function(){i.default.dispatch({type:x.ActionTypes.STOP_SPEAKING_MESSAGE})},trackInvite:z},X=q;t.default=X},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_(n(14)),i=_(n(2)),o=_(n(727)),a=n(42),s=_(n(31)),u=_(n(10)),l=n(289),c=_(n(728)),d=_(n(132)),f=n(1);function _(e){return e&&e.__esModule?e:{default:e}}function p(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function E(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){p(o,r,i,a,s,"next",e)}function s(e){p(o,r,i,a,s,"throw",e)}a(void 0)}))}}var h={openPrivateChannel:function(e,t,n,i){var o=this;return E(regeneratorRuntime.mark((function a(){var s,u,l,d,_,p;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(void 0===t&&(t=!1),void 0===n&&(n=!1),s=o._getRecipients(e),u=function(e){t&&c.default.call(e.id,n,!0,e.isDM()?e.getRecipientId():null)},1!==s.length){a.next=10;break}if(l=s[0],null==(d=o._openCachedDMChannel(l))){a.next=10;break}return u(d),a.abrupt("return",Promise.resolve(d.id));case 10:return a.next=12,r.default.post({url:f.Endpoints.USER_CHANNELS,body:{recipients:s},context:{location:i},oldFormErrors:!0});case 12:return _=a.sent,p=o._openPrivateChannel(_.body),u(p),a.abrupt("return",_.body.id);case 16:case"end":return a.stop()}}),a)})))()},_openCachedDMChannel:function(e){var t=u.default.getDMFromUserId(e),n=null!=t?u.default.getChannel(t):null;return n?(d.default.selectPrivateChannel(n.id),n):null},ensurePrivateChannel:function(e){var t=this;return E(regeneratorRuntime.mark((function n(){var o,a,u;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t._getRecipients(e),n.next=3,r.default.post({url:f.Endpoints.USER_CHANNELS,body:{recipients:o},oldFormErrors:!0});case 3:return a=n.sent,u=s.default.fromServer(a.body),i.default.dispatch({type:f.ActionTypes.CHANNEL_CREATE,channel:u}),n.abrupt("return",u.id);case 7:case"end":return n.stop()}}),n)})))()},_getRecipients:function(e){return null!=e?Array.isArray(e)?e:[e]:[]},_openPrivateChannel:function(e){var t=s.default.fromServer(e);return i.default.dispatch({type:f.ActionTypes.CHANNEL_CREATE,channel:t}),d.default.selectPrivateChannel(t.id),t},closePrivateChannel:function(e,t){return void 0===t&&(t=!1),i.default.dispatch({type:f.ActionTypes.CHANNEL_DELETE,channel:{id:e,guild_id:null,parent_id:null}}),t&&!__OVERLAY__&&(0,a.transitionTo)(f.Routes.FRIENDS),r.default.delete({url:f.Endpoints.CHANNEL(e),oldFormErrors:!0})},updatePermissionOverwrite:function(e,t){return r.default.put({url:f.Endpoints.CHANNEL_PERMISSIONS_OVERWRITE(e,t.id),body:t,oldFormErrors:!0})},clearPermissionOverwrite:function(e,t){return r.default.delete({url:f.Endpoints.CHANNEL_PERMISSIONS_OVERWRITE(e,t),oldFormErrors:!0})},addRecipient:function(e,t,n){var i=this;return r.default.put({url:f.Endpoints.CHANNEL_RECIPIENT(e,t),context:{location:n},oldFormErrors:!0}).then((function(t){return 201===t.status?i._openPrivateChannel(t.body).id:e}))},addRecipients:function(e,t,n){var r=this;return this.addRecipient(e,t[0],n).then((function(e){return Promise.all(t.slice(1).map((function(t){return r.addRecipient(e,t,n)}))).then((function(){return e}))}))},removeRecipient:function(e,t){return r.default.delete({url:f.Endpoints.CHANNEL_RECIPIENT(e,t),oldFormErrors:!0})},setName:function(e,t){return E(regeneratorRuntime.mark((function n(){var i,a,s;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=null===(i=u.default.getChannel(e))||void 0===i?void 0:i.getGuildId(),n.next=3,r.default.patch({url:f.Endpoints.CHANNEL(e),body:{name:t},oldFormErrors:!0});case 3:return s=n.sent,null!=a&&o.default.checkGuildTemplateDirty(a),n.abrupt("return",s);case 6:case"end":return n.stop()}}),n)})))()},setIcon:function(e,t){var n,i=null===(n=u.default.getChannel(e))||void 0===n?void 0:n.getGuildId();r.default.patch({url:f.Endpoints.CHANNEL(e),body:{icon:t},oldFormErrors:!0}).then((function(){null!=i&&o.default.checkGuildTemplateDirty(i)}))},convertToGuild:function(e){return r.default.post({url:f.Endpoints.CHANNEL_CONVERT(e),oldFormErrors:!0})},preload:function(e,t){i.default.dispatch({type:f.ActionTypes.CHANNEL_PRELOAD,guildId:e===f.ME?null:e,channelId:t,context:f.CURRENT_APP_CONTEXT})},fetchChannelStoreListing:function(e,t){var n=null!=t?f.Endpoints.CHANNEL_STORE_LISTING_SKU(e,t):f.Endpoints.CHANNEL_STORE_LISTING(e);return(0,l.httpGetWithCountryCodeQuery)(n).then((function(t){i.default.dispatch({type:f.ActionTypes.STORE_LISTING_FETCH_SUCCESS,channelId:e,storeListing:t.body})}))},createTextChannel:function(e,t,n,i){return E(regeneratorRuntime.mark((function a(){var s,u;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return s={type:f.ChannelTypes.GUILD_TEXT,name:t,permission_overwrites:[]},null!=n&&(s.parent_id=n),null!=i&&(s.topic=i),a.next=5,r.default.post({url:f.Endpoints.GUILD_CHANNELS(e),body:s,oldFormErrors:!0});case 5:return u=a.sent,o.default.checkGuildTemplateDirty(e),a.abrupt("return",u);case 8:case"end":return a.stop()}}),a)})))()}};t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getThreadNotificationOptions=function(){return[{setting:o.ALL_MESSAGES,label:i.default.Messages.FORM_LABEL_ALL_MESSAGES},{setting:o.ONLY_MENTIONS,label:i.default.Messages.FORM_LABEL_ONLY_MENTIONS.format()},{setting:o.NO_MESSAGES,label:i.default.Messages.FORM_LABEL_NOTHING}]},t.ArchivedThreadListType=t.OpenThreadAnalyticsLocations=t.ThreadMemberFlags=t.MAX_THREAD_MEMBERS_PREVIEW=t.MAX_THREAD_MESSAGE_COUNT=t.DEFAULT_AUTO_ARCHIVE_DURATION=void 0;var r,i=(r=n(6))&&r.__esModule?r:{default:r};t.DEFAULT_AUTO_ARCHIVE_DURATION=1440;t.MAX_THREAD_MESSAGE_COUNT=50;t.MAX_THREAD_MEMBERS_PREVIEW=50;var o={HAS_INTERACTED:1,ALL_MESSAGES:2,ONLY_MENTIONS:4,NO_MESSAGES:8};t.ThreadMemberFlags=o;var a,s=Object.freeze({EMBED:"Embed",BROWSER:"Thread Browser",POPOUT:"Active Threads Popout",CHANNEL_LIST:"Channel List"});t.OpenThreadAnalyticsLocations=s,t.ArchivedThreadListType=a,function(e){e[e.ALL_PUBLIC_THREADS=1]="ALL_PUBLIC_THREADS",e[e.ALL_PRIVATE_THREADS=2]="ALL_PRIVATE_THREADS",e[e.MY_PRIVATE_THREADS=3]="MY_PRIVATE_THREADS"}(a||(t.ArchivedThreadListType=a={}))},function(e,t,n){"use strict";(function(e){function n(e,t){if(null==e||null==t||e.length!==t.length)return!1;for(var n=e.length,r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}Object.defineProperty(t,"__esModule",{value:!0}),t.createDeferAndBatch=function(){var t=null,n=[];return function(r){n.push(r),null==t&&(t=e((function(){t=null;var e=[].concat(n);n.length=0,e.forEach((function(e){return e()}))})))}},t.areArraysShallowlyEqual=n,t.cachedFunction=function(e){var t=null,r=null;return function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n(t,o)||(r=e.apply(void 0,o)),t=o,r}},t.promiseThrottle=function(e,t){void 0===t&&(t=5e3);var n=-1,r=null;return function(){return(null==r||Date.now()>=n)&&(n=Date.now()+t,r=e()),r}}}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";var r=n(5470),i=n(367),o=n(5471);function a(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}t.extract=function(e){return e.split("?")[1]||""},t.parse=function(e,t){var n=function(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return function(e,n,r){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};default:return function(e,t,n){void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t=i({arrayFormat:"none"},t)),r=Object.create(null);return"string"!=typeof e?r:(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),i=t.shift(),a=t.length>0?t.join("="):void 0;a=void 0===a?null:o(a),n(o(i),a,r)})),Object.keys(r).sort().reduce((function(e,t){var n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return t[e]})):t}(n):e[t]=n,e}),Object.create(null))):r},t.stringify=function(e,t){var n=function(e){switch(e.arrayFormat){case"index":return function(t,n,r){return null===n?[a(t,e),"[",r,"]"].join(""):[a(t,e),"[",a(r,e),"]=",a(n,e)].join("")};case"bracket":return function(t,n){return null===n?a(t,e):[a(t,e),"[]=",a(n,e)].join("")};default:return function(t,n){return null===n?a(t,e):[a(t,e),"=",a(n,e)].join("")}}}(t=i({encode:!0,strict:!0,arrayFormat:"none"},t));return e?Object.keys(e).sort().map((function(r){var i=e[r];if(void 0===i)return"";if(null===i)return a(r,t);if(Array.isArray(i)){var o=[];return i.slice().forEach((function(e){void 0!==e&&o.push(n(r,e,o.length))})),o.join("&")}return a(r,t)+"="+a(i,t)})).filter((function(e){return e.length>0})).join("&"):""}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.HotspotLocations=void 0;var i=(0,((r=n(133))&&r.__esModule?r:{default:r}).default)({REPORT_PROBLEM_POST_STREAM:null,VOICE_CALL_FEEDBACK:null,GUILD_ANALYTICS_GUILD_SETTINGS_MENU:null,NOW_PLAYING_CONSENT_CARD:null,IOS_GUILD_NAV_EDUCATION:null,VOICE_PANEL_INTRODUCTION:null,GUILD_SETTINGS_COMMUNITY_GUILD_UPSELL:null,STICKERS_SHOP_INTRODUCTION:null,STICKER_PACK_PURCHASE_PREMIUM_SUBSCRIPTION_UPSELL:null,FAVORITE_EMOJI_TOOLTIP:null,POKER_NIGHT_TOOLTIP:null,BETRAYAL_TOOLTIP:null,YOUTUBE_TOOLTIP:null,POST_ACTIVITY_FEEDBACK:null,GUILD_DELETE_FEEDBACK:null,CONTACT_SYNC_EXISTING_USER_PROMPT:null,FISHINGTON_TOOLTIP:null,APPLICATION_COMMAND_TOOLTIP:null,GUILD_CAP_INLINE_UPSELL:null,STAGE_DISCOVERY:null,PROFILE_CUSTOMIZATION_MARKETING:null,PROFILE_CUSTOMIZATION_SETTINGS_BADGE:null,PUBLIC_STAGE_CREATION_BADGE:null,GUILD_PER_SERVER_AVATAR_GUILD_HEADER_TOOLTIP:null,GUILD_PER_SERVER_AVATAR_BADGE:null,HUB_WAITLIST_UPSELL:null,UTILITIES_PREMIUM_PERK_TOOLTIP:null,HUB_NEW:null,HUB_SECOND_EMAIL_CONNECTION_UPSELL:null,HUB_EMAIL_CONNECTION_UPSELL:null,GUILD_STICKERS_GUILD_HEADER_TOOLTIP:null,GUILD_STICKERS_GUILD_SETTINGS_MENU:null});t.HotspotLocations=i},function(e,t,n){"use strict";(function(e){var r=n(1455),i=n(1456),o=n(1400);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=u.prototype:(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,n){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return l(this,e,t,n)}function l(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);u.TYPED_ARRAY_SUPPORT?(e=t).__proto__=u.prototype:e=f(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(t,n),i=(e=s(e,r)).write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(u.isBuffer(t)){var n=0|_(t.length);return 0===(e=s(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?s(e,0):f(e,t);if("Buffer"===t.type&&o(t.data))return f(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function d(e,t){if(c(t),e=s(e,t<0?0:0|_(t)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function f(e,t){var n=t.length<0?0:0|_(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function _(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function p(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return V(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(e).length;default:if(r)return V(e).length;t=(""+t).toLowerCase(),r=!0}}function E(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return L(this,t,n);case"utf8":case"utf-8":return N(this,t,n);case"ascii":return R(this,t,n);case"latin1":case"binary":return b(this,t,n);case"base64":return O(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function h(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function m(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;o<s;o++)if(l(e,o)===l(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===u)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){for(var d=!0,f=0;f<u;f++)if(l(e,o+f)!==l(t,f)){d=!1;break}if(d)return o}return-1}function T(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function g(e,t,n,r){return F(V(t,e.length-n),e,n,r)}function I(e,t,n,r){return F(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function S(e,t,n,r){return I(e,t,n,r)}function y(e,t,n,r){return F(H(t),e,n,r)}function A(e,t,n,r){return F(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function O(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function N(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,u,l=e[i],c=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=n)switch(d){case 1:l<128&&(c=l);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(u=(15&l)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,d=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,n){return l(null,e,t,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,n){return function(e,t,n,r){return c(t),t<=0?s(e,t):void 0!==n?"string"==typeof r?s(e,t).fill(n,r):s(e,t).fill(n):s(e,t)}(null,e,t,n)},u.allocUnsafe=function(e){return d(null,e)},u.allocUnsafeSlow=function(e){return d(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=u.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},u.byteLength=p,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)h(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)h(this,t,t+3),h(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)h(this,t,t+7),h(this,t+1,t+6),h(this,t+2,t+5),h(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?N(this,0,e):E.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),c=e.slice(t,n),d=0;d<s;++d)if(l[d]!==c[d]){o=l[d],a=c[d];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return m(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return m(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return T(this,e,t,n);case"utf8":case"utf-8":return g(this,e,t,n);case"ascii":return I(this,e,t,n);case"latin1":case"binary":return S(this,e,t,n);case"base64":return y(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function R(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function b(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function L(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=x(e[o]);return i}function D(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function C(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function P(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function w(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function U(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function k(e,t,n,r,o){return o||U(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function G(e,t,n,r,o){return o||U(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=u.prototype;else{var i=t-e;n=new u(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},u.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||C(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},u.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||C(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||C(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||C(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||C(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||C(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||C(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||C(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||C(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||C(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||C(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||C(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||C(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||C(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||C(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||C(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||C(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||C(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||M(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||M(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):w(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):w(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);M(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);M(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):w(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):w(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return k(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return k(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return G(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return G(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},u.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=u.isBuffer(e)?e:V(new u(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var Y=/[^+\/0-9A-Za-z-_]/g;function x(e){return e<16?"0"+e.toString(16):e.toString(16)}function V(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function H(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Y,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function F(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(44))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(188)),i=a(n(2)),o=n(1);function a(e){return e&&e.__esModule?e:{default:e}}var s={push:function(e,t,n,a){return void 0===n&&(n=(0,r.default)("modal")),void 0===a&&(a=o.AppContext.APP),i.default.dispatch({type:o.ActionTypes.MODAL_PUSH,modal:e,props:t,key:n,appContext:a}),n},pushLazy:function(e,t,n){var i=this;return void 0===n&&(n=(0,r.default)("modal")),e.then((function(e){var r=e.default;return i.push(r,t,n)}))},update:function(e,t,n,r){void 0===n&&(n=!0),i.default.dispatch({type:o.ActionTypes.MODAL_UPDATE,key:e,props:t,partial:n,animation:r})},pop:function(){i.default.dispatch({type:o.ActionTypes.MODAL_POP})},popWithKey:function(e){i.default.dispatch({type:o.ActionTypes.MODAL_POP,key:e})},popAll:function(){i.default.dispatch({type:o.ActionTypes.MODAL_POP_ALL}),i.default.dispatch({type:o.ActionTypes.CHANGE_LOG_CLOSE}),i.default.dispatch({type:o.ActionTypes.CHANGE_NICKNAME_MODAL_CLOSE}),i.default.dispatch({type:o.ActionTypes.CHANNEL_SETTINGS_CLOSE}),i.default.dispatch({type:o.ActionTypes.EMAIL_VERIFICATION_MODAL_CLOSE}),i.default.dispatch({type:o.ActionTypes.GUILD_SETTINGS_CLOSE}),i.default.dispatch({type:o.ActionTypes.HIDE_ACTION_SHEET}),i.default.dispatch({type:o.ActionTypes.DISPLAYED_INVITE_CLEAR}),i.default.dispatch({type:o.ActionTypes.DRAWER_CLOSE,animated:!0}),i.default.dispatch({type:o.ActionTypes.NOTIFICATION_SETTINGS_MODAL_CLOSE}),i.default.dispatch({type:o.ActionTypes.QUICKSWITCHER_HIDE}),i.default.dispatch({type:o.ActionTypes.MENTION_MODAL_CLOSE}),i.default.dispatch({type:o.ActionTypes.USER_SETTINGS_MODAL_CLOSE}),i.default.dispatch({type:o.ActionTypes.SEARCH_MODAL_CLOSE})}};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StickerAnimationSettings=t.InspectedStickerChangeSource=t.STAFF_MAX_STICKER_FILE_SIZE=t.MAX_STICKER_FILE_SIZE=t.EMPTY_STATE_STICKERS=t.STICKER_APPLICATION_ID=t.DEFAULT_STICKER_DIMENSIONS=t.INACTIVE_CATEGORY_INDEX=t.STICKER_PICKER_TAB_ID=t.STICKER_PICKER_TAB_PANEL_ID=void 0;t.STICKER_PICKER_TAB_PANEL_ID="sticker-picker-tab-panel";t.STICKER_PICKER_TAB_ID="sticker-picker-tab";t.INACTIVE_CATEGORY_INDEX=-1;t.DEFAULT_STICKER_DIMENSIONS=160;t.STICKER_APPLICATION_ID="710982414301790216";t.EMPTY_STATE_STICKERS=["781323769960202280","809209266556764241","818597810047680532","819129296374595614"];t.MAX_STICKER_FILE_SIZE=512e3;var r,i;t.STAFF_MAX_STICKER_FILE_SIZE=1536e3,t.InspectedStickerChangeSource=r,function(e){e[e.GRID_NAVIGATOR_EVENT=0]="GRID_NAVIGATOR_EVENT",e[e.MOUSE_EVENT=1]="MOUSE_EVENT"}(r||(t.InspectedStickerChangeSource=r={})),t.StickerAnimationSettings=i,function(e){e[e.ALWAYS_ANIMATE=0]="ALWAYS_ANIMATE",e[e.ANIMATE_ON_INTERACTION=1]="ANIMATE_ON_INTERACTION",e[e.NEVER_ANIMATE=2]="NEVER_ANIMATE"}(i||(t.StickerAnimationSettings=i={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(t===r.ActivityFlags.INSTANCE)return!1;return null!=e&&null!=e.flags&&!!(e.flags&t)};var r=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(8)),i=a(n(3)),o=a(n(2));n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(){return(l=Object.assign||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}).apply(this,arguments)}var c={};var d=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var o,a,l,d=i.prototype;return d.isConnected=function(e){return null!=c[e]},d.getApplication=function(e){return c[e]},d.getAllConnections=function(){return c},o=i,(a=[{key:"connections",get:function(){return r.default.values(c)}}])&&s(o.prototype,a),l&&s(o,l),i}(i.default.Store))(o.default,{OVERLAY_INITIALIZE:function(e){var t=e.connectedApps;c=l({},t)},RPC_APP_CONNECTED:function(e){var t=e.application;if(null==t.id)return!1;var n=t.id;c[n]||(c[n]={count:0,id:t.id,name:t.name,icon:t.icon,coverImage:t.coverImage,authenticated:!1}),c[n].count++},RPC_APP_AUTHENTICATED:function(e){var t=e.application;null!=t.id&&c[t.id]&&(c[t.id].authenticated=!0)},RPC_APP_DISCONNECTED:function(e){var t=e.application;null!=t.id&&c[t.id]&&(c[t.id].count--,0===c[t.id].count&&delete c[t.id])}});t.default=d},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getEnv=m,t.codeToKey=v,t.keyToCode=T,t.toBrowserEvents=function(e){var t={keyCode:0,metaKey:!1,shiftKey:!1,altKey:!1,ctrlKey:!1};if(null==e)return[];return e.reduce((function(e,n){var r=v(n),i=c({},t);if(null==r)return e.push(c({},i,{combo:n})),e;if(S.test(r))return t[r+"Key"]=!0,e.map((function(e){return e[r+"Key"]=!0,e}));var o=T(r,u.KeyboardEnvs.BROWSER);return o&&(i.keyCode=o),e.push(i),e}),[])},t.toCombo=function(e,t,n){void 0===t&&(t=m());void 0===n&&(n=u.KeyboardDeviceTypes.KEYBOARD_KEY);return e.replace(/numpad plus/i,"").replace(/NUMPAD \+/i,"numpad plus").split("+").map((function(e){return e.trim().replace("plus","+")})).reduce((function(e,r){var i=T(function(e){for(var t,n=d(g);!(t=n()).done;){var r=t.value,i=r[0];if(r[1]===e.toUpperCase())return i.toLowerCase()}return e}(r),t,n);return i&&e.push([n,i,t]),e}),[])},t.toString=function(t,n){void 0===n&&(n=!1);var r=t.map((function(e){var t=e[0],n=e[1],r=e[2];return t===u.KeyboardDeviceTypes.KEYBOARD_KEY||t===u.KeyboardDeviceTypes.KEYBOARD_MODIFIER_KEY?v(null!=r?[t,n,r]:[t,n])||"UNK"+n:t===u.KeyboardDeviceTypes.MOUSE_BUTTON?"mouse"+n:t===u.KeyboardDeviceTypes.GAMEPAD_BUTTON?"gamepad"+n:"dev"+t+","+n})).filter(a.isNotNullish);return n?(-1!==e.navigator.appVersion.indexOf("Mac OS X")?r.map(I):r).join(" + ").toUpperCase():r.join("+")};var r,i=l(n(1330)),o=l(n(8)),a=n(48),s=l(n(16)),u=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function d(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}s.default.isLinux()?r=u.LinuxKeyToCode:s.default.isOSX()?r=u.MacosKeyToCode:s.default.isWindows()&&(r=u.WindowsKeyToCode);var _=o.default.invert(u.LinuxKeyToCode);_[223]="`",Object.freeze(_);var p=Object.freeze(o.default.invert(u.MacosKeyToCode)),E=o.default.invert(u.WindowsKeyToCode);E[223]="`",Object.freeze(E);var h=o.default.invert(r||{});function m(){return s.default.isLinux()?u.KeyboardEnvs.LINUX:s.default.isOSX()?u.KeyboardEnvs.MACOS:s.default.isWindows()?u.KeyboardEnvs.WINDOWS:u.KeyboardEnvs.BROWSER}function v(e){var t=e[1];switch(e[2]){case u.KeyboardEnvs.LINUX:return _[""+t];case u.KeyboardEnvs.MACOS:return p[""+t];case u.KeyboardEnvs.WINDOWS:return E[""+t];case u.KeyboardEnvs.BROWSER:return(0,i.default)(t);default:return h[""+t]}}function T(e,t,n){switch(void 0===t&&(t=m()),void 0===n&&(n=u.KeyboardDeviceTypes.KEYBOARD_KEY),n){case u.KeyboardDeviceTypes.KEYBOARD_KEY:case u.KeyboardDeviceTypes.KEYBOARD_MODIFIER_KEY:switch(t){case u.KeyboardEnvs.LINUX:return u.LinuxKeyToCode[e];case u.KeyboardEnvs.MACOS:return u.MacosKeyToCode[e];case u.KeyboardEnvs.WINDOWS:return u.WindowsKeyToCode[e];case u.KeyboardEnvs.BROWSER:return(0,i.default)(e.replace(/^(right|left) (shift|meta|ctrl|alt)$/,"$2").replace("meta","command"));default:return r[e]}case u.KeyboardDeviceTypes.MOUSE_BUTTON:return parseInt(e.replace("MOUSE",""),10);case u.KeyboardDeviceTypes.GAMEPAD_BUTTON:return parseInt(e.replace("GAMEPAD",""),10);default:throw new Error("Unrecognized DeviceType "+n+".")}}s.default.isOSX()||(h[223]="`"),Object.freeze(h);var g=[["META","⌘"],["RIGHT META","RIGHT ⌘"],["SHIFT","⇧"],["RIGHT SHIFT","RIGHT ⇧"],["ALT","⌥"],["RIGHT ALT","RIGHT ⌥"],["CTRL","⌃"],["RIGHT CTRL","RIGHT ⌃"],["ENTER","↵"],["BACKSPACE","⌫"],["DEL","⌦"],["ESC","⎋"],["PAGEUP","⇞"],["PAGEDOWN","⇟"],["UP","↑"],["DOWN","↓"],["LEFT","←"],["RIGHT","→"],["HOME","↖"],["END","↘"],["TAB","⇥"],["SPACE","␣"]],I=function(e){for(var t,n=d(g);!(t=n()).done;){var r=t.value,i=r[0],o=r[1];if(i===e.toUpperCase())return o}return e},S=/shift|meta|ctrl|alt$/}).call(this,n(44))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeComboId=function(e,t){void 0===t&&(t=null);return e+":"+(t||"")},t.parseComboId=function(e){var t=e.split(":"),n=t[0],r=t[1];return{skuId:n,subscriptionPlanId:r||null}},t.findGiftCodes=function(e){if(null==e)return[];var t,n=new Set;for(;(t=T.exec(e))&&n.size<3;)n.add(t[1]);return Array.from(n)},t.getGiftCodeURL=function(e){void 0===e&&(e="");var t,n=window.GLOBAL_ENV.GIFT_CODE_HOST;null!=n?t="/"+e:(n=location.host,t="/gifts/"+e);return location.protocol+"//"+n+t},t.resolveGiftCode=function(e,t,n){return y.apply(this,arguments)},t.trackGiftCodeCopy=function(e,t){a.default.track(c.AnalyticEvents.GIFT_CODE_COPIED,_({},(0,i.default)(t,!1,!1),{},e.analyticsData))},t.getStep=function(e,t,n,r,i){if(null!=n||!r&&!i&&null!=e)return c.GiftCodeModalStates.ERROR;if(r&&(t.isSubscription||null!=e))return c.GiftCodeModalStates.SUCCESS;return c.GiftCodeModalStates.CONFIRM},t.getHeaderText=function(e,t,n){switch(e){case c.GiftCodeModalStates.ERROR:return d.default.Messages.GIFT_CONFIRMATION_HEADER_FAIL;case c.GiftCodeModalStates.SUCCESS:return t.isSubscription?d.default.Messages.GIFT_CONFIRMATION_HEADER_SUCCESS_NITRO.format({skuName:n.name}):d.default.Messages.GIFT_CONFIRMATION_HEADER_SUCCESS;case c.GiftCodeModalStates.CONFIRM:default:return t.isSubscription?d.default.Messages.GIFT_CONFIRMATION_HEADER_CONFIRM_NITRO.format({skuName:n.name}):d.default.Messages.GIFT_CONFIRMATION_HEADER_CONFIRM}},t.getButtonText=function(e,t){switch(e){case c.GiftCodeModalStates.ERROR:return d.default.Messages.GIFT_CONFIRMATION_BUTTON_FAIL;case c.GiftCodeModalStates.SUCCESS:return __OVERLAY__?d.default.Messages.GIFT_CONFIRMATION_BUTTON_NOICE:t.isSubscription?d.default.Messages.GIFT_CONFIRMATION_BUTTON_SUBSCRIPTION_SUCCESS:d.default.Messages.GIFT_CONFIRMATION_BUTTON_GO_TO_LIBRARY;case c.GiftCodeModalStates.CONFIRM:default:return t.isSubscription?d.default.Messages.GIFT_CONFIRMATION_BUTTON_CONFIRM_SUBSCRIPTION:d.default.Messages.GIFT_CONFIRMATION_BUTTON_CONFIRM}},t.getBodyText=function(e,t,n,r,i,o,a,s){void 0===s&&(s=null);switch(e){case c.GiftCodeModalStates.ERROR:return A(n,r,i,o,a);case c.GiftCodeModalStates.SUCCESS:return null!=s?null!=s.premiumSubscriptionType?s.premiumSubscriptionType===c.PremiumTypes.TIER_2?(s.interval===c.SubscriptionIntervalTypes.MONTH?d.default.Messages.GIFT_CONFIRMATION_BODY_SUCCESS_PREMIUM_TIER_2_MONTHLY:d.default.Messages.GIFT_CONFIRMATION_BODY_SUCCESS_PREMIUM_TIER_2_YEARLY).format({intervalCount:s.intervalCount}):(s.interval===c.SubscriptionIntervalTypes.MONTH?d.default.Messages.GIFT_CONFIRMATION_BODY_SUCCESS_PREMIUM_TIER_1_MONTHLY:d.default.Messages.GIFT_CONFIRMATION_BODY_SUCCESS_PREMIUM_TIER_1_YEARLY).format({intervalCount:s.intervalCount}):(s.interval===c.SubscriptionIntervalTypes.MONTH?d.default.Messages.GIFT_CONFIRMATION_BODY_SUCCESS_GENERIC_SUBSCRIPTION_MONTHLY:d.default.Messages.GIFT_CONFIRMATION_BODY_SUCCESS_GENERIC_SUBSCRIPTION_YEARLY).format({skuName:t.name,intervalCount:s.intervalCount}):d.default.Messages.GIFT_CONFIRMATION_BODY_SUCCESS.format({skuName:t.name});case c.GiftCodeModalStates.CONFIRM:default:return null!=s?(s.interval===c.SubscriptionIntervalTypes.MONTH?d.default.Messages.GIFT_CONFIRMATION_BODY_SUBSCRIPTION_MONTHLY_CONFIRM:d.default.Messages.GIFT_CONFIRMATION_BODY_SUBSCRIPTION_YEARLY_CONFIRM).format({skuName:t.name,intervalCount:s.intervalCount}):d.default.Messages.GIFT_CONFIRMATION_BODY_CONFIRM.format({skuName:t.name})}},t.getErrorMessage=A,t.firstLibraryApplicationForGiftCode=function(e,t,n){var r=t.applicationId,i=null!=e.entitlementBranches&&e.entitlementBranches.length>0?e.entitlementBranches:[r],o=i.map((function(e){return n.getLibraryApplication(r,e,!0)})).filter(s.isNotNullish);if(o.length===i.length)return o[0];return null},t.processGiftCodeInput=function(e){var t=e.trim().split("/").pop().match(S);if(null==t)return null;t[0],t[1];var n=t[2];return null==n?null:n.replace(new RegExp("-","g"),"")};var r=f(n(195)),i=f(n(1177)),o=f(n(12)),a=f(n(13)),s=n(48),u=f(n(264)),l=n(289),c=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function _(){return(_=Object.assign||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}).apply(this,arguments)}function p(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function E(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){p(o,r,i,a,s,"next",e)}function s(e){p(o,r,i,a,s,"throw",e)}a(void 0)}))}}var h=u.default.escape(window.GLOBAL_ENV.GIFT_CODE_HOST),m=c.GIFT_CODE_BASE_URLS.map((function(e){return u.default.escape(e)})),v=[h].concat(m).join("|"),T=new RegExp("(?: |^|https?://)(?:"+v+")/([a-z0-9-]+)","gi"),g=function(e,t){return Array(t).fill(void 0).map((function(){return"["+c.UNAMBIGUOUS_CHARACTERS+"]{"+e+"}"})).join("-?")},I=[g(4,4),g(4,6),g(5,3),"[a-zA-Z]{4}-?[0-9a-zA-Z]{4}-?[a-zA-Z]{4}"].join("|"),S=new RegExp("^(WUMP-?)?("+I+")$");function y(){return(y=E(regeneratorRuntime.mark((function e(t,n,i){var o,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===n&&(n=!1),void 0===i&&(i=!1),e.prev=2,e.next=5,(0,l.httpGetWithCountryCodeQuery)({url:c.Endpoints.GIFT_CODE_RESOLVE(t),query:{with_application:n,with_subscription_plan:i},oldFormErrors:!0});case 5:return o=e.sent,s=o.body,a.default.track(c.AnalyticEvents.GIFT_CODE_RESOLVED,{resolved:!0,gift_code:s.code,gift_code_max_uses:s.max_uses,sku_id:s.store_listing.sku.id,sku_type:s.store_listing.sku.type,application_id:s.store_listing.sku.application_id,store_title:s.store_listing.sku.name},{flush:!0}),e.abrupt("return",s);case 11:throw e.prev=11,e.t0=e.catch(2),a.default.track(c.AnalyticEvents.GIFT_CODE_RESOLVED,{resolved:!1,gift_code:t}),new r.default(e.t0);case 15:case"end":return e.stop()}}),e,null,[[2,11]])})))).apply(this,arguments)}function A(e,t,n,r,i){var a=!n&&!r&&e,s=d.default.Messages.GIFT_CONFIRMATION_BODY_OWNED.format({onGoToLibrary:i});if(a)return s;if(null==t)return null;switch(t.code){case c.AbortCodes.INVALID_GIFT_SELF_REDEMPTION:return d.default.Messages.GIFT_CONFIRMATION_BODY_SELF_GIFT_NO_PAYMENT;case c.AbortCodes.INVALID_GIFT_REDEMPTION_EXHAUSTED:return d.default.Messages.GIFT_CONFIRMATION_BODY_CLAIMED;case c.AbortCodes.INVALID_GIFT_REDEMPTION_OWNED:return s;case c.AbortCodes.UNKNOWN_GIFT_CODE:return d.default.Messages.GIFT_CONFIRMATION_BODY_INVALID;case c.AbortCodes.INVALID_GIFT_REDEMPTION_SUBSCRIPTION_INCOMPATIBLE:var u=o.default.getCurrentUser();return d.default.Messages.GIFT_EMBED_BODY_SUBSCRIPTION_MISMATCH.format({planName:u.premiumType===c.PremiumTypes.TIER_2?d.default.Messages.PREMIUM_TIER_2:d.default.Messages.PREMIUM_TIER_1});case c.AbortCodes.INVALID_GIFT_REDEMPTION_SUBSCRIPTION_MANAGED:return d.default.Messages.GIFT_CONFIRMATION_BODY_ERROR_SUBSCRIPTION_MANAGED;case c.AbortCodes.INVALID_GIFT_REDEMPTION_INVOICE_OPEN:return d.default.Messages.GIFT_CONFIRMATION_BODY_ERROR_INVOICE_OPEN;default:return d.default.Messages.GIFT_CONFIRMATION_BODY_UNKNOWN_ERROR}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o=_(n(767)),a=_(n(1131)),s=_(n(66)),u=n(1322),l=_(n(26)),c=_(n(13)),d=_(n(16)),f=n(1);function _(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var h={},m=!1,v=(0,a.default)(new o.default(window)),T=/Darwin|OS X/.test(null!==(r=null===(i=s.default.os)||void 0===i?void 0:i.family)&&void 0!==r?r:""),g=T?"cmd":"ctrl",I=T?"opt":"alt",S=T?"return":"enter",y=[].concat(u.JUMP_TO_GUILD.binds,["mod+shift+[","mod+shift+]","mod+[","mod+]","alt+[","alt+]","ctrl+shift+tab","ctrl+tab","mod+n","mod+t","mod+shift+t","mod+plus","mod+minus","mod+0"]).map((function(e){return e.replace("mod",g)})),A=function(){return[]},O=[];d.default.isDesktop()&&new o.default(document.documentElement).bind("backspace",(function(e){return e.preventDefault()}));function N(e){for(var t=[],n=0,r=Object.values(e);n<r.length;n++){var i=r[n];null!=i&&t.push.apply(t,i.binds)}return t.map((function(e){return e.replace("mod",g)}))}function R(e,t){return function(n,r){return c.default.track(f.AnalyticEvents.KEYBOARD_SHORTCUT_USED,{shortcut_name:e}),t(n,r)}}function b(e){for(var t=function(){var e=r[n],t=e[0],i=e[1];if(null==i)return"continue";var o=A();d.default.embedded||(o=o.concat(y));var a=i.binds.filter((function(e){return e=e.replace("mod",g),o.indexOf(e)<0}));if(0===a.length)return"continue";var s,u,l,c=i.comboKeysBindGlobal?v.bindGlobal:v.bind;if(i.action&&c.call(v,a,R(t,i.action)),i.keyup&&c.call(v,a,R(t,i.keyup),"keyup"),i.keydown){var f=a.indexOf("any-character");-1!==f&&(s="keydown",u=i.keydown,l=function(e){return u(e,e.key)},document.addEventListener(s,l),O.push((function(){return document.removeEventListener(s,l)})),a.splice(f,1)),a.length>0&&c.call(v,a,R(t,i.keydown),"keydown")}i.keypress&&c.call(v,a,R(t,i.keypress),"keypress")},n=0,r=Object.entries(e);n<r.length;n++)t()}var L={combokeys:v,modKey:g,altKey:I,returnKey:S,setGetKeybindList:function(e){A=e},checkDupes:function(e){for(var t,n=new Set,r=[],i=p(N(e));!(t=i()).done;){var o=t.value;n.has(o)&&r.push(o),n.add(o)}r.length&&new l.default("Keybinds").warn("Duplicate keyboard shortcuts defined:",r)},setLayout:function(e){h=e},enable:function(){m||(m=!0,this.checkDupes(h),b(h))},enableTemp:function(e){b(e),m=!0},disableTemp:function(){this.disable(),this.enable()},disable:function(){m&&(m=!1,O.forEach((function(e){return e()})),O=[],v.reset())},validateKeybind:function(e){m&&this.hasBind(e)&&v.unbind(e)},hasBind:function(e){var t=N(h);return e=(e=e.replace("meta","cmd")).replace(/right|left/i,"").trim(),t.includes(e)}};t.default=L},function(e,t,n){e.exports=d;var r,i=n(1547),o=n(1549),a=n(1552),s={},u="function"==typeof Symbol;function l(e,t,n){var i;return s[t]?i=s[t]:(i=r(t),s[t]=i),2===arguments.length?e[i]:(e[i]=n,n)}function c(){return 1}function d(e){if(!(this instanceof d))return new d(e);"number"==typeof e&&(e={max:e}),e||(e={});var t=l(this,"max",e.max);(!t||"number"!=typeof t||t<=0)&&l(this,"max",1/0);var n=e.length||c;"function"!=typeof n&&(n=c),l(this,"lengthCalculator",n),l(this,"allowStale",e.stale||!1),l(this,"maxAge",e.maxAge||0),l(this,"dispose",e.dispose),this.reset()}function f(e,t,n,r){var i=n.value;p(e,i)&&(h(e,n),l(e,"allowStale")||(i=void 0)),i&&t.call(r,i.value,i.key,e)}function _(e,t,n){var r=l(e,"cache").get(t);if(r){var i=r.value;p(e,i)?(h(e,r),l(e,"allowStale")||(i=void 0)):n&&l(e,"lruList").unshiftNode(r),i&&(i=i.value)}return i}function p(e,t){if(!t||!t.maxAge&&!l(e,"maxAge"))return!1;var n=Date.now()-t.now;return t.maxAge?n>t.maxAge:l(e,"maxAge")&&n>l(e,"maxAge")}function E(e){if(l(e,"length")>l(e,"max"))for(var t=l(e,"lruList").tail;l(e,"length")>l(e,"max")&&null!==t;){var n=t.prev;h(e,t),t=n}}function h(e,t){if(t){var n=t.value;l(e,"dispose")&&l(e,"dispose").call(this,n.key,n.value),l(e,"length",l(e,"length")-n.length),l(e,"cache").delete(n.key),l(e,"lruList").removeNode(t)}}function m(e,t,n,r,i){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=i||0}r=u?function(e){return Symbol.for(e)}:function(e){return"_"+e},Object.defineProperty(d.prototype,"max",{set:function(e){(!e||"number"!=typeof e||e<=0)&&(e=1/0),l(this,"max",e),E(this)},get:function(){return l(this,"max")},enumerable:!0}),Object.defineProperty(d.prototype,"allowStale",{set:function(e){l(this,"allowStale",!!e)},get:function(){return l(this,"allowStale")},enumerable:!0}),Object.defineProperty(d.prototype,"maxAge",{set:function(e){(!e||"number"!=typeof e||e<0)&&(e=0),l(this,"maxAge",e),E(this)},get:function(){return l(this,"maxAge")},enumerable:!0}),Object.defineProperty(d.prototype,"lengthCalculator",{set:function(e){"function"!=typeof e&&(e=c),e!==l(this,"lengthCalculator")&&(l(this,"lengthCalculator",e),l(this,"length",0),l(this,"lruList").forEach((function(e){e.length=l(this,"lengthCalculator").call(this,e.value,e.key),l(this,"length",l(this,"length")+e.length)}),this)),E(this)},get:function(){return l(this,"lengthCalculator")},enumerable:!0}),Object.defineProperty(d.prototype,"length",{get:function(){return l(this,"length")},enumerable:!0}),Object.defineProperty(d.prototype,"itemCount",{get:function(){return l(this,"lruList").length},enumerable:!0}),d.prototype.rforEach=function(e,t){t=t||this;for(var n=l(this,"lruList").tail;null!==n;){var r=n.prev;f(this,e,n,t),n=r}},d.prototype.forEach=function(e,t){t=t||this;for(var n=l(this,"lruList").head;null!==n;){var r=n.next;f(this,e,n,t),n=r}},d.prototype.keys=function(){return l(this,"lruList").toArray().map((function(e){return e.key}),this)},d.prototype.values=function(){return l(this,"lruList").toArray().map((function(e){return e.value}),this)},d.prototype.reset=function(){l(this,"dispose")&&l(this,"lruList")&&l(this,"lruList").length&&l(this,"lruList").forEach((function(e){l(this,"dispose").call(this,e.key,e.value)}),this),l(this,"cache",new i),l(this,"lruList",new a),l(this,"length",0)},d.prototype.dump=function(){return l(this,"lruList").map((function(e){if(!p(this,e))return{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}}),this).toArray().filter((function(e){return e}))},d.prototype.dumpLru=function(){return l(this,"lruList")},d.prototype.inspect=function(e,t){var n="LRUCache {",r=!1;l(this,"allowStale")&&(n+="\n  allowStale: true",r=!0);var i=l(this,"max");i&&i!==1/0&&(r&&(n+=","),n+="\n  max: "+o.inspect(i,t),r=!0);var a=l(this,"maxAge");a&&(r&&(n+=","),n+="\n  maxAge: "+o.inspect(a,t),r=!0);var s=l(this,"lengthCalculator");s&&s!==c&&(r&&(n+=","),n+="\n  length: "+o.inspect(l(this,"length"),t),r=!0);var u=!1;return l(this,"lruList").forEach((function(e){u?n+=",\n  ":(r&&(n+=",\n"),u=!0,n+="\n  ");var i=o.inspect(e.key).split("\n").join("\n  "),l={value:e.value};e.maxAge!==a&&(l.maxAge=e.maxAge),s!==c&&(l.length=e.length),p(this,e)&&(l.stale=!0),l=o.inspect(l,t).split("\n").join("\n  "),n+=i+" => "+l})),(u||r)&&(n+="\n"),n+="}"},d.prototype.set=function(e,t,n){var r=(n=n||l(this,"maxAge"))?Date.now():0,i=l(this,"lengthCalculator").call(this,t,e);if(l(this,"cache").has(e)){if(i>l(this,"max"))return h(this,l(this,"cache").get(e)),!1;var o=l(this,"cache").get(e).value;return l(this,"dispose")&&l(this,"dispose").call(this,e,o.value),o.now=r,o.maxAge=n,o.value=t,l(this,"length",l(this,"length")+(i-o.length)),o.length=i,this.get(e),E(this),!0}var a=new m(e,t,i,r,n);return a.length>l(this,"max")?(l(this,"dispose")&&l(this,"dispose").call(this,e,t),!1):(l(this,"length",l(this,"length")+a.length),l(this,"lruList").unshift(a),l(this,"cache").set(e,l(this,"lruList").head),E(this),!0)},d.prototype.has=function(e){return!!l(this,"cache").has(e)&&!p(this,l(this,"cache").get(e).value)},d.prototype.get=function(e){return _(this,e,!0)},d.prototype.peek=function(e){return _(this,e,!1)},d.prototype.pop=function(){var e=l(this,"lruList").tail;return e?(h(this,e),e.value):null},d.prototype.del=function(e){h(this,l(this,"cache").get(e))},d.prototype.load=function(e){this.reset();for(var t=Date.now(),n=e.length-1;n>=0;n--){var r=e[n],i=r.e||0;if(0===i)this.set(r.k,r.v);else{var o=i-t;o>0&&this.set(r.k,r.v,o)}}},d.prototype.prune=function(){var e=this;l(this,"cache").forEach((function(t,n){_(e,n,!1)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o=T(n(8)),a=T(n(3)),s=T(n(28)),u=T(n(2)),l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(266)),c=n(136),d=T(n(351)),f=T(n(16)),_=T(n(11)),p=T(n(155)),E=T(n(79)),h=T(n(306)),m=n(1);function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function T(e){return e&&e.__esModule?e:{default:e}}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}!function(e){e.INSTALL="Install",e.REPAIR="Repair"}(r||(r={})),function(e){e.PATCH="Patch",e.REPAIR="Repair"}(i||(i={}));var A=[m.DispatchErrorCodes.AUTHENTICATION_FAILED,m.DispatchErrorCodes.NOT_ENTITLED],O=[],N=[],R=!1,b=null,L=null,D=!1,C=new Map,M=!1,P=null;function w(){var e={queue:O,paused:R,userActions:Array.from(C)};s.default.set("DispatchManagerStore",e)}function U(){var e=O[0];if(null!=e){var t=e.comboId,n=e.action,r=(0,c.convertComboId)(t),i=r.applicationId,o=r.branchId;if(!function(e,t){return null!=b&&b.applicationId===e&&b.branchId===t||null!=L&&L.applicationId===e&&L.branchId===t}(i,o)){var a=_.default.getToken(),s=_.default.getId();if(null==a)throw new Error("missing user token");M=!d.default.setCurrentTask(i,o,n,s,a)}}}function k(e,t){var n=(0,c.getComboId)(e,t);return O.findIndex((function(e){return e.comboId===n}))}function G(e,t,n,r){var i=(0,c.getComboId)(e,t),o={comboId:i,action:r},a=N.indexOf(i);-1!==a&&N.splice(a,1);var s=k(e,t);0!==s&&(n?-1===s&&(O.push(o),U()):(s>0&&O.splice(s,1),O.unshift(o),U())),!n&&R&&d.default.resume(),w()}function Y(e,t){var n=(0,c.getComboId)(e,t),r=N.indexOf(n);-1!==r&&N.splice(r,1);var i=k(e,t);-1!==i&&(O.splice(i,1),w()),U()}function x(e){Y(e.applicationId,e.branchId)}function V(e){var t=e.applicationId,n=e.branchId,r=(0,c.getComboId)(t,n),i=N.indexOf(r);-1!==i&&N.splice(i,1)}function H(){var e=_.default.getToken(),t=_.default.getId();null!=e&&d.default.setCredentials(t,e)}function F(){for(var e,t=S(E.default.getRunningDiscordApplicationIds());!(e=t()).done;){var n=e.value;l.cancel(n,n)}var r=E.default.getCurrentGame();return R||null==r||r.pid===P||l.pause(),P=null==r?null:r.pid,!1}var B=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,I(t,n);var o,a,u,l=r.prototype;return l.initialize=function(){var e=s.default.get("DispatchManagerStore")||{queue:null,paused:null,userActions:null};null!=e.queue&&(O=function(e){return e.map((function(e){return"string"==typeof e?{comboId:e,action:i.PATCH}:e}))}(e.queue)),null!=e.paused&&(R=e.paused),null!=e.userActions&&(C=new Map(Array.from(e.userActions))),this.waitFor(p.default,E.default),this.syncWith([E.default],F),this.waitFor(p.default)},l.getQueuePosition=function(e,t){return k(e,t)},l.isCorruptInstallation=function(){return M},o=r,(a=[{key:"activeItems",get:function(){return O.map((function(e){var t=e.comboId;return(0,c.convertComboId)(t)}))}},{key:"finishedItems",get:function(){return N.map(c.convertComboId)}},{key:"paused",get:function(){return R}}])&&g(o.prototype,a),u&&g(o,u),r}(a.default.Store))(u.default,{DISPATCH_APPLICATION_INSTALL:function(e){var t=e.applicationId,n=e.branchId;C.set((0,c.getComboId)(t,n),r.INSTALL),G(t,n,!1,i.PATCH)},DISPATCH_APPLICATION_UPDATE:function(e){G(e.applicationId,e.branchId,e.automatic,i.PATCH)},DISPATCH_APPLICATION_UNINSTALL:function(e){x(e),V(e)},DISPATCH_APPLICATION_CANCEL:x,DISPATCH_APPLICATION_REPAIR:function(e){var t=e.applicationId,n=e.branchId;C.set((0,c.getComboId)(t,n),r.REPAIR),G(t,n,!1,i.REPAIR)},DISPATCH_APPLICATION_MOVE_UP:function(e){var t=k(e.applicationId,e.branchId);if(t<1)return!1;O.splice(0,0,O.splice(t,1)[0]),U(),R&&d.default.resume(),w()},DISPATCH_APPLICATION_REMOVE_FINISHED:V,DISPATCH_APPLICATION_STATE_UPDATE:function(e){var t=e.state;D||(D=!0,U(),R||d.default.resume());var n=R;R=t.paused,b=t.currentTask,L=t.nextTask;var i=!1;O=O.filter((function(e){var t=e.comboId,n=(0,c.convertComboId)(t),a=n.applicationId,s=n.branchId,u=p.default.getState(a,s),d=h.default.getTargetBuildId(a,s),f=h.default.getTargetManifests(a,s);if(null!=u&&u.type===m.LocalDispatchApplicationStates.UP_TO_DATE&&u.buildId===u.targetBuildId&&u.buildId===d&&o.default.isEqual(u.manifestIds,u.targetManifestIds)&&o.default.isEqual(u.manifestIds,f)){if(N.push(t),C.has(t)){switch(C.get(t)){case r.INSTALL:l.completeInstall(a,u);break;case r.REPAIR:l.completeRepair(a,u)}C.delete(t)}return i=!0,!1}return!0})),U(),(i||n!==R)&&w()},DISPATCH_APPLICATION_ERROR:function(e){var t=e.error,n=t.code;if(null!=n)if(A.includes(n))H();else if(n===m.DispatchErrorCodes.APPLICATION_NOT_FOUND){var r=t.context;if(null!=r)Y(r.application_id,r.branch_id)}},CONNECTION_OPEN:function(e){f.default.isDesktop()&&H()},LOGOUT:function(e){return s.default.remove("DispatchManagerStore"),void(f.default.isDesktop()&&d.default.pause())}});t.default=B},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?24:t,r=e.height,i=void 0===r?24:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 24 24"}),l("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.99 11C14.99 12.66 13.66 14 12 14C10.34 14 9 12.66 9 11V5C9 3.34 10.34 2 12 2C13.66 2 15 3.34 15 5L14.99 11ZM12 16.1C14.76 16.1 17.3 14 17.3 11H19C19 14.42 16.28 17.24 13 17.72V21H11V17.72C7.72 17.23 5 14.41 5 11H6.7C6.7 14 9.24 16.1 12 16.1ZM12 4C11.2 4 11 4.66667 11 5V11C11 11.3333 11.2 12 12 12C12.8 12 13 11.3333 13 11V5C13 4.66667 12.8 4 12 4Z",className:d,fill:c}),l("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.99 11C14.99 12.66 13.66 14 12 14C10.34 14 9 12.66 9 11V5C9 3.34 10.34 2 12 2C13.66 2 15 3.34 15 5L14.99 11ZM12 16.1C14.76 16.1 17.3 14 17.3 11H19C19 14.42 16.28 17.24 13 17.72V22H11V17.72C7.72 17.23 5 14.41 5 11H6.7C6.7 14 9.24 16.1 12 16.1Z",className:d,fill:c}))}c.displayName="Microphone"},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAssetFromImageURL=function(e,t){var n=_[e].serialize(t);if(n)return e+":"+n.toString();return null},t.getAssetImage=function(e,t,n){if((null==e||e===s.SpotifyApplication.id)&&null!=t&&t.includes(":")){var r=t.split(":"),i=r[0],c=r[1];return i===l.PlatformTypes.TWITCH?null==n||"number"==typeof n?void new a.default("ApplicationAssetUtils").warn("getAssetImage: size must === [number, number] for Twitch"):_[l.PlatformTypes.TWITCH].deserialize(c,n):_.hasOwnProperty(i)?_[i].deserialize(c):void 0}if(null==e||null==t)return;var d="number"==typeof n?"?size="+(0,u.calculateSize)(n):"";if(window.GLOBAL_ENV.CDN_HOST)return location.protocol+"//"+window.GLOBAL_ENV.CDN_HOST+"/app-assets/"+e+"/"+t+".png"+d;return o.default.getAPIBaseURL()+"/applications/"+e+"/app-assets/"+t+".png"+d},t.getAssets=m,t.getAssetIds=function e(t,n,r){void 0===r&&(r=1);return m(t).then((function(i){for(var o=n.length,a=[],s=0;s<o;s++){var u=n[s];if(null!=u){var l=Object.prototype.hasOwnProperty.call(i,u)&&i[u];if(!l){if(r<=0){a[s]=null;continue}return E(t).then((function(){return e(t,n,r-1)}))}a[s]=l.id}}return a}))};var r,i=c(n(8)),o=c(n(14)),a=c(n(26)),s=n(1264),u=n(193),l=n(1);function c(e){return e&&e.__esModule?e:{default:e}}var d=/https:\/\/static-cdn\.jtvnw\.net\/previews-ttv\/live_user_(.+)-\{width\}x\{height\}.jpg/,f=/https:\/\/i\.ytimg\.com\/vi\/([a-zA-Z0-9_-]+)\/hqdefault_live\.jpg/,_=((r={})[l.PlatformTypes.SPOTIFY]={deserialize:function(e){return"https://i.scdn.co/image/"+encodeURIComponent(e)},serialize:function(e){return e.split("https://i.scdn.co/image/")[1]}},r[l.PlatformTypes.TWITCH]={deserialize:function(e,t){return n=encodeURIComponent(e),r=t[0],i=t[1],"https://static-cdn.jtvnw.net/previews-ttv/live_user_"+n+"-"+r+"x"+i+".jpg";var n,r,i},serialize:function(e){var t=e.match(d);return null!=t?t[1]:null}},r[l.PlatformTypes.YOUTUBE]={deserialize:function(e){return function(e){return"https://i.ytimg.com/vi/"+e+"/hqdefault_live.jpg"}(encodeURIComponent(e))},serialize:function(e){var t=e.match(f);return null!=t?t[1]:null}},r),p={};function E(e){return o.default.get({url:l.Endpoints.APPLICATION_ASSETS(e),oldFormErrors:!0}).then((function(t){var n=t.body;return p[e]={assets:i.default.keyBy(n,"name"),lastUpdated:Date.now()}}))}function h(e){var t,n=p[e];return null==n||(t=n.lastUpdated,Date.now()-t>36e5)?E(e):Promise.resolve(n)}function m(e){return h(e).then((function(e){return e.assets}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(8)),i=u(n(3)),o=u(n(2)),a=n(31),s=u(n(10));n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(){return(f=Object.assign||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}).apply(this,arguments)}var _={};function p(e){return{id:e.id,parentId:e.parent_id}}function E(e){e in _&&delete _[e]}function h(e){if(null!=e.threads&&e.threads.length>0){var t=e.threads.filter((function(e){return a.ALL_CHANNEL_TYPES.has(e.type)}));_[e.id]={},t.forEach((function(t){_[e.id][t.id]=p(t)}))}}function m(e){var t,n,r=e.channel;return!!a.ALL_CHANNEL_TYPES.has(r.type)&&(!0===(null===(t=r.threadMetadata)||void 0===t?void 0:t.archived)?v(r):void(_[r.guild_id]=f({},_[r.guild_id],((n={})[r.id]=p(r),n))))}function v(e){if(!(e.guild_id in _)||!(e.id in _[e.guild_id]))return!1;_[e.guild_id]=f({},_[e.guild_id]),delete _[e.guild_id][e.id]}var T={},g=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(s.default)},i.isActive=function(e,t){return null!=e&&null!=this.getThreadsForGuild(e)[t]},i.getThreadsForGuild=function(e){return e in _?_[e]:T},i.forEachGuild=function(e){for(var t in _)e(t,_[t])},r}(i.default.Store))(o.default,{CONNECTION_OPEN:function(e){_={},e.guilds.forEach((function(e){h(e)}))},GUILD_CREATE:function(e){var t=e.guild;E(t.id),h(t)},GUILD_DELETE:function(e){E(e.guild.id)},THREAD_CREATE:m,THREAD_UPDATE:m,THREAD_LIST_SYNC:function(e){var t=e.guildId,n=e.threads;_[t]=f({},_[t]);for(var r,i=c(n);!(r=i()).done;){var o=r.value;a.ALL_CHANNEL_TYPES.has(o.type)&&(_[t][o.id]=p(o))}},THREAD_DELETE:function(e){return v(e.channel)},CHANNEL_DELETE:function(e){var t=e.channel;if(null==t.guild_id||!(t.guild_id in _))return!1;var n,i=f({},_[t.guild_id]);_=f({},_,((n={})[t.guild_id]=i,n)),r.default.values(i).filter((function(e){return e.parentId===t.id})).forEach((function(e){delete i[e.id]}))}});t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateAttemptId=function(){return o.default.v4()},t.parseDynamicLink=function(e){if(!e.startsWith("https://discordapp.page.link"))return null;try{var t,n=new URL(e).searchParams,r=n.get("link");if(null==r)return null;for(var i,o=decodeURIComponent(r),a=new URL(o).searchParams,s={utmSource:null!==(t=n.get("utm_source"))&&void 0!==t?t:void 0},u=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(a.entries());!(i=u()).done;){var c=i.value,d=c[0],f=c[1];s[d]=f}return s}catch(e){return null}},t.default=function(e,t){var n=t.utmSource,o=function(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}(t,["utmSource"]);for(var s in o)null==o[s]&&delete o[s];var l=""+i.default.stringify(u({},o)),c=encodeURIComponent(e+(l?"?"+l:"")),d=encodeURIComponent((0,a.default)()),f=(E=new RegExp("("+["WebView","(iPhone|iPod|iPad)(?!.*Safari/)"].join("|")+")","ig"),h=null!=(null===r.default||void 0===r.default||null===(_=r.default.ua)||void 0===_?void 0:_.match(E)),m="Safari"===(null===r.default||void 0===r.default?void 0:r.default.name)&&!h,"iOS"!==(null===r.default||void 0===r.default||null===(p=r.default.os)||void 0===p?void 0:p.family)||m?1:0);var _,p,E,h,m;return"https://discordapp.page.link/?link="+c+"&utm_source="+n+"&apn=com.discord&isi=985746746&ibi=com.hammerandchisel.discord&sd="+d+"&efr="+f};var r=s(n(66)),i=s(n(137)),o=s(n(98)),a=s(n(1594));function s(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,function(e){e.PREMIUM_TRIAL_2="2020-04_premium_trial",e.MOBILE_SURVEY="2019-04_mobile-survey",e.SURVEY_NITRO="2019-02_nitro_survey",e.SURVEY_LIGHT_THEME="2019-04_survey-light-theme",e.WUMPUS_VIDEO="2019-05_wumpus_video",e.HYPESQUAD_USER_SURVEY="2019-07_user-survey-desktop-hs",e.NON_HYPESQUAD_USER_SURVEY="2019-07_user-survey-desktop-non-hs",e.SURVEY_KOREAN_DESKTOP="2019-07_survey_kr_desktop",e.PREMIUM_RETENTION_EMOJI_PICKER="2019-08_premium_retention_emoji_picker",e.NITRO_USER_SURVEY="2019-08_nitro_user_survey",e.NPS_DESKTOP_SURVEY="2019-09_desktop_survey",e.STREAM_NOTIFICATIONS="2019-09_stream_notifications",e.BWE_CONSERVATIVE_LINK_ESTIMATE="2019-11_bwe_conservative_link_estimate",e.GUILD_AFFINITY_PREMIUM_GUILD_SUBSCRIPTION_CTA="2019-11_guild_affinity_premium_guild_subscription_cta",e.FRIEND_SYNC_IOS_PT1="2019-11_friend_sync_ios_initial_rollout",e.GO_LIVE_OVERLAY_NUDGE="2019-12_go_live_overlay_nudge",e.PREMIUM_SUBSCRIPTION_FLOW_NEW="2020-02_premium_subscription_flow_new",e.KILL_LANDING_PAGE="2019-12_kill_landing_page",e.HIDE_NITRO_TAB="2020-01_hide_nitro_tab",e.CONSOLE_DESKTOP_SURVEY="2020-01_console_survey",e.EXPAND_GROUP_SURVEY="2020-01_expand_group_survey",e.IN_APP_REPORTING="2020-01_in_app_reporting",e.INVITE_EMPTY_STATE_IMAGES="2020-02_invite_empty_state_images",e.GAMING_FEATURES="2020-02_bd_game_features_survey",e.DOWNLOAD_NAG_COLOR="2020-02_download_nag_color",e.NOTIFICATION_NAG="2020-02_notification_nag",e.INVITE_MARKETING_VALUE_PROPS="2020-02_invite_marketing_value_props",e.GUILD_PROGRESS_BAR="2020-03_guild_progress_bar",e.KEYBOARD_NAVIGATION="2020-03_keyboard_navigation",e.CHAT_INPUT_POLISH="2020-04_ios_chat_input_polish_v2",e.COVID_NEW_USERS_DESKTOP_SURVEY="2020-05_covid_new_users_desktop_survey",e.FIRST_WEEK_SURVEY="2020-06_first_week_survey",e.LOCAL_MESSAGE_CACHING_EXPERIMENT="2020-08_ios_persist_local_messages",e.IOS_SLASH_COMMANDS_EXPERIMENT="2020-08_ios_slash_commands",e.WATCH_MEDIA_SURVEY="2020-09_watch_media_survey",e.SNOWSGIVING_NOTICE="2020-12_snowsgiving_notice",e.SURVEY_SUBSCRIPTION_SERVICES="2020-12_survey_subscription_services",e.INCENTIVIZED_INSTALL="2021-01_incentivized_install",e.PREMIUM_SUBSCRIPTION_VALUE_SURVEY="2021-01_premium_subscription_survey",e.STICKERS_SURVEY="2021-02_stickers_survey",e.COMMUNITY_EVENTS_SURVEY="2021-02_community_events_survey",e.WEB_GAMES_SURVEY="2021-03_web_games_survey"}(r||(r={}));var i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(3)),i=s(n(28)),o=s(n(2)),a=s(n(11));n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l={},c=l,d=!1,f=null;function _(){if(!a.default.isGuest())return!1;d=!0}function p(){if(!d)return!1;c={wasGuest:!0},d=!1,i.default.set("GuestModeStore",{_state:c,_version:0})}function E(){d=!0}var h=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var i=r.prototype;return i.initialize=function(e){this.waitFor(a.default),c=e||l},i.getState=function(){return c},i.getGuildId=function(){return f},i.wasGuest=function(){return a.default.isAuthenticated()&&!a.default.isGuest()&&!0===c.wasGuest},r}(r.default.PersistedStore);h.persistKey="GuestModeStore";var m=new h(o.default,{CONNECTION_OPEN:function(e){var t=e.guilds;if(!a.default.isGuest())return!1;1===t.length&&null==t[0].joined_at&&(f=t[0].id)},INVITE_RESOLVE_SUCCESS:function(e){var t,n=e.invite;return!!n.guest_token&&(null==f&&void(f=null===(t=n.guild)||void 0===t?void 0:t.id))},LOGIN:function(e){return _()},REGISTER:function(e){return _()},LOGIN_SUCCESS:function(e){return p()},REGISTER_SUCCESS:function(e){return p()},LOGIN_FAILURE:function(e){return E()},REGISTER_FAILURE:function(e){return E()}});t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getAnimatedScrollHelpers",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"getAnimatedListScrollHelpers",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"useCachedScrollerState",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useForceUpdate",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"usePaddingFixes",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"useResizeObserverSubscription",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"useScrollChunkState",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"getChunksFromScrollerState",{enumerable:!0,get:function(){return l.getChunksFromScrollerState}}),Object.defineProperty(t,"useUncachedScrollerState",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"useVirtualizedMasonryState",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"useVirtualizedState",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"useVirtualizedAnchor",{enumerable:!0,get:function(){return f.useVirtualizedAnchor}}),Object.defineProperty(t,"ListComputer",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"MasonryListComputer",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"getMasonryListSectionKey",{enumerable:!0,get:function(){return p.getMasonryListSectionKey}}),Object.defineProperty(t,"getMasonryListSectionHeaderKey",{enumerable:!0,get:function(){return p.getMasonryListSectionHeaderKey}}),Object.defineProperty(t,"getMasonryListSectionIndex",{enumerable:!0,get:function(){return p.getMasonryListSectionIndex}}),Object.defineProperty(t,"ManualSpring",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"getMergedOrientationStyles",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"STYLES_VERTICAL",{enumerable:!0,get:function(){return h.STYLES_VERTICAL}}),Object.defineProperty(t,"STYLES_HORIZONTAL",{enumerable:!0,get:function(){return h.STYLES_HORIZONTAL}}),Object.defineProperty(t,"STYLES_AUTO",{enumerable:!0,get:function(){return h.STYLES_AUTO}}),Object.defineProperty(t,"useScrollSpring",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"getScrollbarSpecs",{enumerable:!0,get:function(){return v.default}});var r=I(n(976)),i=I(n(1726)),o=I(n(1727)),a=I(n(448)),s=I(n(1728)),u=I(n(1729)),l=g(n(449)),c=I(n(1730)),d=I(n(1731)),f=g(n(1732)),_=I(n(978)),p=g(n(977)),E=I(n(979)),h=g(n(1733)),m=I(n(1734)),v=I(n(1735));function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function g(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function I(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BackdropStyles=void 0;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=d(n(9)),s=n(122),u=d(n(1259)),l=n(1),c=d(n(5721));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function _(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(){return(p=Object.assign||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}).apply(this,arguments)}t.BackdropStyles=i,function(e){e.SUBTLE="SUBTLE",e.DARK="DARK",e.LIGHT="LIGHT",e.SOLID="SOLID"}(i||(t.BackdropStyles=i={}));var E={SUBTLE:.25,DARK:.85,LIGHT:.95,SOLID:1},h={LIGHT:l.Colors.WHITE,DARK:l.Colors.BLACK,SUBTLE:l.Colors.BLACK,SOLID:l.Colors.PRIMARY_DARK_630};function m(e){return h[e]}function v(e){return E[e]}var T=o.forwardRef((function(e,t){var n=e.backdropStyle,r=void 0===n?i.SUBTLE:n,o=e.backdropInstant,l=void 0!==o&&o,d=e.zIndexBoost,f=void 0===d?0:d,E=e.LayerComponent,h=e.isVisible,T=e.onClose,g={opacity:0,background:m(r)},I={opacity:v(r),background:m(r)},S=(0,u.default)(l),y=(0,s.useTransition)(h,{keys:function(e){return e?"backdrop":"empty"},config:{duration:l||S?0:300},from:g,enter:I,leave:g});if(null==E){var A={zIndex:1e3+f};return y((function(e,t){return t?_(s.animated.div,{className:c.default.backdrop,style:p({},e,{},A),onClick:T}):null}))}return _(E,{},void 0,y((function(e,t){return t?_(s.animated.div,{className:(0,a.default)(c.default.backdrop,c.default.withLayer),style:e,onClick:T}):null})))}));t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){void 0===t&&(t={disableTrack:!1});var a=e.metadata,u=void 0===a?{}:a,m=function(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}(e,["metadata"]);l.default.trackExposure({});var v,I=l.default.useExperiment({})[0].useStandardAnalytics,S=(0,i.default)([I,Object.values(m),Object.values(u),n]),y=r.useRef([]);I&&!(0,s.default)(y.current,S)&&function(e,t){void 0===t&&(t=!1);var n=e.name,r=e.type,i=e.metadata;(0,E.setCurrentImpression)(e);var o=(null==i?void 0:i.guild_id)||f.default.getGuildId(),a=(null==i?void 0:i.channel_id)||d.default.getChannelId(o),s=(0,_.expandEventProperties)(T({impression_type:r,location:(0,E.getLocation)()},(0,p.collectGuildAnalyticsMetadata)(o),{},(0,p.collectChannelAnalyticsMetadata)(c.default.getChannel(a)),{},i));if(t)return void(0,E.setDebugTrackedData)(null,null);null!=n&&null!=r&&((0,_.debugLogEvent)(n,s),g(n,s));(0,E.setDebugTrackedData)(n,s)}(v=T({},e,{sequenceId:(0,o.default)("impression_")}),t.disableTrack);y.current=S,r.useEffect((function(){return null!=v?function(){return(0,E.cleanupImpression)(v)}:h.NOOP}),S)};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=m(n(760)),o=m(n(188)),a=n(95),s=m(n(184)),u=m(n(2)),l=m(n(5391)),c=m(n(10)),d=m(n(36)),f=m(n(107)),_=n(13),p=n(106),E=n(435),h=n(1);function m(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function T(){return(T=Object.assign||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}).apply(this,arguments)}var g=(0,a.trackMaker)({analyticEventConfigs:_.AnalyticEventConfigs,dispatcher:u.default,TRACK_ACTION_NAME:h.ActionTypes.TRACK})},function(e,t,n){"use strict";var r,i,o,a,s;Object.defineProperty(t,"__esModule",{value:!0}),t.RegistrationSteps=t.CreateGuildSteps=t.ClaimAccountSteps=t.AgeGateSteps=t.FlowType=void 0,t.FlowType=r,function(e){e.UNKNOWN="unknown",e.ANY="any",e.INVITE="invite",e.ORGANIC="organic_registration",e.ORGANIC_MARKETING="organic_marketing",e.ORGANIC_GUILD_TEMPLATES="organic_guild_template",e.CREATE_GUILD="create_guild"}(r||(t.FlowType=r={})),t.AgeGateSteps=i,function(e){e.AGE_GATE="age_gate",e.AGE_GATE_UNDERAGE="age_gate_underage"}(i||(t.AgeGateSteps=i={})),t.ClaimAccountSteps=o,function(e){e.CLAIM_ACCOUNT="claim_account",e.CLAIM_ACCOUNT_SUCCESS="claim_account_success"}(o||(t.ClaimAccountSteps=o={})),t.CreateGuildSteps=a,function(e){e.GUILD_TEMPLATES="guild_templates",e.GUILD_CREATE="guild_create",e.CREATION_INTENT="creation_intent",e.CHANNEL_PROMPT="channel_prompt",e.JOIN_GUILD="join_guild",e.SUCCESS="create_success"}(a||(t.CreateGuildSteps=a={})),t.RegistrationSteps=s,function(e){e.NUF_STARTED="nuf_started",e.AGE_GATE="age_gate",e.NUF_COMPLETE="nuf_complete"}(s||(t.RegistrationSteps=s={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createListItemId=function(e,t){return e+"___"+t},t.getItemId=function(e){return e.split("___")[1]},t.createSelector=function(e,t){void 0===t&&(t="data-list-item-id");return"["+t+'="'+e+'"]'},t.makeId=function(e,t){return e+"-"+t},t.makeGridId=function(e,t,n){return e+"-"+t+"-"+n},t.setRef=function(e,t){"function"==typeof e?e(t):e.current=t},t.throttle=function(e,t){var n=!1;return function(){n||(e.apply(void 0,arguments),n=!0,setTimeout((function(){return n=!1}),t))}},t.HandlerMemoizer=t.LIST_ID_ATTRIBUTE=t.LIST_ITEM_ID_ATTRIBUTE=void 0;t.LIST_ITEM_ID_ATTRIBUTE="data-list-item-id";t.LIST_ID_ATTRIBUTE="data-list-id";var r=function(){function e(e){this.makeHandler=e,this.handlers=new Map,this.makeHandler=e}var t=e.prototype;return t.get=function(e){var t=this.handlers.get(e);return null==t&&(t=this.makeHandler(e),this.handlers.set(e,t)),t},t.clean=function(){delete this.handlers,this.handlers=new Map},e}();t.HandlerMemoizer=r},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i;"undefined"!=typeof window?i=window:"undefined"==typeof self?(console.warn("Using browser-only version of superagent in non-browser environment"),i=void 0):i=self;var o=n(1457),a=n(1458),s=n(1459),u=n(781),l=n(1460),c=n(1462);function d(){}e.exports=function(e,n){return"function"==typeof n?new t.Request("GET",e).end(n):1===arguments.length?new t.Request("GET",e):new t.Request(e,n)};var f=t=e.exports;t.Request=T,f.getXHR=function(){if(i.XMLHttpRequest&&(!i.location||"file:"!==i.location.protocol||!i.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw new Error("Browser-only version of superagent could not find XHR")};var _="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};function p(e){if(!u(e))return e;var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&E(t,n,e[n]);return t.join("&")}function E(e,t,n){if(void 0!==n)if(null!==n)if(Array.isArray(n))n.forEach((function(n){E(e,t,n)}));else if(u(n))for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&E(e,"".concat(t,"[").concat(r,"]"),n[r]);else e.push(encodeURIComponent(t)+"="+encodeURIComponent(n));else e.push(encodeURIComponent(t))}function h(e){for(var t,n,r={},i=e.split("&"),o=0,a=i.length;o<a;++o)-1===(n=(t=i[o]).indexOf("="))?r[decodeURIComponent(t)]="":r[decodeURIComponent(t.slice(0,n))]=decodeURIComponent(t.slice(n+1));return r}function m(e){return/[/+]json($|[^-\w])/.test(e)}function v(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!==this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var t=this.xhr.status;1223===t&&(t=204),this._setStatusProperties(t),this.headers=function(e){for(var t,n,r,i,o=e.split(/\r?\n/),a={},s=0,u=o.length;s<u;++s)-1!==(t=(n=o[s]).indexOf(":"))&&(r=n.slice(0,t).toLowerCase(),i=_(n.slice(t+1)),a[r]=i);return a}(this.xhr.getAllResponseHeaders()),this.header=this.headers,this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"===this.req.method?null:this._parseBody(this.text?this.text:this.xhr.response)}function T(e,t){var n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",(function(){var e,t=null,r=null;try{r=new v(n)}catch(e){return(t=new Error("Parser is unable to parse the response")).parse=!0,t.original=e,n.xhr?(t.rawResponse=void 0===n.xhr.responseType?n.xhr.responseText:n.xhr.response,t.status=n.xhr.status?n.xhr.status:null,t.statusCode=t.status):(t.rawResponse=null,t.status=null),n.callback(t)}n.emit("response",r);try{n._isResponseOK(r)||(e=new Error(r.statusText||"Unsuccessful HTTP response"))}catch(t){e=t}e?(e.original=t,e.response=r,e.status=r.status,n.callback(e,r)):n.callback(null,r)}))}function g(e,t,n){var r=f("DELETE",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}f.serializeObject=p,f.parseString=h,f.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},f.serialize={"application/x-www-form-urlencoded":p,"application/json":a},f.parse={"application/x-www-form-urlencoded":h,"application/json":JSON.parse},l(v.prototype),v.prototype._parseBody=function(e){var t=f.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&m(this.type)&&(t=f.parse["application/json"]),t&&e&&(e.length>0||e instanceof Object)?t(e):null)},v.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot ".concat(t," ").concat(n," (").concat(this.status,")"),i=new Error(r);return i.status=this.status,i.method=t,i.url=n,i},f.Response=v,o(T.prototype),s(T.prototype),T.prototype.type=function(e){return this.set("Content-Type",f.types[e]||e),this},T.prototype.accept=function(e){return this.set("Accept",f.types[e]||e),this},T.prototype.auth=function(e,t,n){1===arguments.length&&(t=""),"object"===r(t)&&null!==t&&(n=t,t=""),n||(n={type:"function"==typeof btoa?"basic":"auto"});var i=function(e){if("function"==typeof btoa)return btoa(e);throw new Error("Cannot use basic auth, btoa is not a function")};return this._auth(e,t,n,i)},T.prototype.query=function(e){return"string"!=typeof e&&(e=p(e)),e&&this._query.push(e),this},T.prototype.attach=function(e,t,n){if(t){if(this._data)throw new Error("superagent can't mix .send() and .attach()");this._getFormData().append(e,t,n||t.name)}return this},T.prototype._getFormData=function(){return this._formData||(this._formData=new i.FormData),this._formData},T.prototype.callback=function(e,t){if(this._shouldRetry(e,t))return this._retry();var n=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),n(e,t)},T.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},T.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},T.prototype.buffer=T.prototype.ca,T.prototype.ca=T.prototype.agent,T.prototype.write=function(){throw new Error("Streaming is not supported in browser version of superagent")},T.prototype.pipe=T.prototype.write,T.prototype._isHost=function(e){return e&&"object"===r(e)&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},T.prototype.end=function(e){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||d,this._finalizeQueryString(),this._end()},T.prototype._setUploadTimeout=function(){var e=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout((function(){e._timeoutError("Upload timeout of ",e._uploadTimeout,"ETIMEDOUT")}),this._uploadTimeout))},T.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));var e=this;this.xhr=f.getXHR();var t=this.xhr,n=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var n=t.readyState;if(n>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4===n){var r;try{r=t.status}catch(e){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var r=function(t,n){n.total>0&&(n.percent=n.loaded/n.total*100,100===n.percent&&clearTimeout(e._uploadTimeoutTimer)),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.addEventListener("progress",r.bind(null,"download")),t.upload&&t.upload.addEventListener("progress",r.bind(null,"upload"))}catch(e){}t.upload&&this._setUploadTimeout();try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!==this.method&&"HEAD"!==this.method&&"string"!=typeof n&&!this._isHost(n)){var i=this._header["content-type"],o=this._serializer||f.serialize[i?i.split(";")[0]:""];!o&&m(i)&&(o=f.serialize["application/json"]),o&&(n=o(n))}for(var a in this.header)null!==this.header[a]&&Object.prototype.hasOwnProperty.call(this.header,a)&&t.setRequestHeader(a,this.header[a]);this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send(void 0===n?null:n)},f.agent=function(){return new c},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach((function(e){c.prototype[e.toLowerCase()]=function(t,n){var r=new f.Request(e,t);return this._setDefaults(r),n&&r.end(n),r}})),c.prototype.del=c.prototype.delete,f.get=function(e,t,n){var r=f("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},f.head=function(e,t,n){var r=f("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},f.options=function(e,t,n){var r=f("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},f.del=g,f.delete=g,f.patch=function(e,t,n){var r=f("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},f.post=function(e,t,n){var r=f("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},f.put=function(e,t,n){var r=f("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){"use strict";function r(e,t){return e.map((function(e){return null==e?e:null==t?encodeURIComponent(e):String(e).split("").map((function(e){return null!=t&&t.includes(e)?e:encodeURIComponent(e)})).join("")}))}Object.defineProperty(t,"__esModule",{value:!0}),t.getLoginPath=function(e,t,n){void 0===t&&(t=!0);void 0===n&&(n="");var r=null!=window.GLOBAL_ENV.WEBAPP_ENDPOINT?window.GLOBAL_ENV.WEBAPP_ENDPOINT:"",i=null!=e?"?redirect_to="+encodeURIComponent(e):"";0!==n.length&&(n=0===i.length?"?"+n:"&"+n);return(t?r:"")+"/login"+i+n},t.wrapPaths=function(e,t){for(var n={},i=function(){var i=a[o],s=e[i];if("function"!=typeof s)return n[i]=s,"continue";n[i]=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return s.apply(void 0,r(n,t))}},o=0,a=Object.keys(e);o<a.length;o++)i();return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchLiveBuild=f;var r=c(n(14)),i=n(57),o=c(n(2)),a=c(n(120)),s=c(n(39)),u=n(443),l=n(1);function c(e){return e&&e.__esModule?e:{default:e}}var d={};function f(e,t){var n=s.default.locale;return o.default.dispatch({type:l.ActionTypes.APPLICATION_BUILD_FETCH_START,applicationId:e,branchId:t,locale:n}),r.default.get({url:l.Endpoints.APPLICATION_LIVE_BUILD(e,t),query:{platform:(0,u.getBuildPlatform)(),locale:n},oldFormErrors:!0}).then((function(r){var i=r.body;0!==i.manifests.length?o.default.dispatch({type:l.ActionTypes.APPLICATION_BUILD_FETCH_SUCCESS,applicationId:e,branchId:t,locale:n,build:i}):o.default.dispatch({type:l.ActionTypes.APPLICATION_BUILD_NOT_FOUND,applicationId:e,branchId:t})}),(function(n){404===n.status?o.default.dispatch({type:l.ActionTypes.APPLICATION_BUILD_NOT_FOUND,applicationId:e,branchId:t}):function(e,t){null==d[t]&&(d[t]=new i.Timeout),d[t].start(6e5+6e5*Math.random(),(function(){null!=a.default.getLibraryApplication(e,t)&&f(e,t)}))}(e,t)}))}},function(e,t,n){"use strict";n.r(t),n.d(t,"LOCK_STACK",(function(){return a})),n.d(t,"useLockSubscription",(function(){return u})),n.d(t,"useFocusReturn",(function(){return l})),n.d(t,"useLockLayer",(function(){return c})),n.d(t,"FocusGuard",(function(){return d}));var r=n(0),i=function(){this.locks=[],this.listeners=[]};function o(e,t,n){void 0===n&&(n=!1);var r=function(e){return document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:function(e){return e.tabIndex>=0&&!e.disabled?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}})}(e),i=t.compareDocumentPosition(e),o=null;i&Node.DOCUMENT_POSITION_PRECEDING||n?o=r.firstChild():i&Node.DOCUMENT_POSITION_FOLLOWING&&(o=r.lastChild()),(null!=o?o:e).focus()}i.prototype.add=function(e,t){var n={uid:e,setEnabled:t,enabled:!1};this.toggleLayer(this.current(),!1),this.locks.push(n),this.toggleLayer(n,!0),this.emit()},i.prototype.remove=function(e){var t=this.locks.find((function(t){return t.uid===e}));this.toggleLayer(t,!1);var n=this.current(),r=null!=n&&n.uid===e;this.locks=this.locks.filter((function(t){return t.uid!==e})),r&&this.toggleLayer(this.current(),!0),this.emit()},i.prototype.current=function(){return this.locks[this.locks.length-1]},i.prototype.isActive=function(){var e=this.current();return null!=e&&e.enabled},i.prototype.toggleLayer=function(e,t){null!=e&&(e.setEnabled(t),e.enabled=t)},i.prototype.subscribe=function(e){var t=this;return this.listeners.push(e),e(this.isActive(),this.locks),function(){return t.listeners=t.listeners.filter((function(t){return t!==e}))}},i.prototype.emit=function(){var e=this,t=this.isActive();this.listeners.forEach((function(n){return n(t,e.locks)}))};var a=new i,s=0;function u(e){Object(r.useEffect)((function(){return a.subscribe(e)}),[e])}function l(e){var t=Object(r.useState)((function(){return document.activeElement}))[0];Object(r.useLayoutEffect)((function(){return function(){null!=e&&e.current||requestAnimationFrame((function(){null!=t&&t.focus()}))}}),[])}function c(e){var t=Object(r.useState)((function(){return e||"lock-"+s++}))[0],n=Object(r.useRef)(!1);return Object(r.useLayoutEffect)((function(){return a.add(t,(function(e){return n.current=e})),function(){return a.remove(t)}}),[t]),n}var d=Object(r.memo)((function(){var e=Object(r.useState)(!1),t=e[0];return u(e[1]),Object(r.createElement)("div",{tabIndex:t?0:void 0,style:{position:"fixed",opacity:0,pointerEvents:"none"}})}));t.default=function(e,t){void 0===t&&(t={});var n=t.disableReturnRef,i=t.attachTo;void 0===i&&(i=document);var a=t.disable,s=c();Object(r.useEffect)((function(){a&&(s.current=!1)}),[a]),Object(r.useLayoutEffect)((function(){var t=e.current;function n(t){if(s.current){var n=e.current;if(null!=n){var r=t.target||document.body;n.contains(r)||(t.preventDefault(),t.stopImmediatePropagation(),o(n,r))}}}function r(t){if(s.current){var n=e.current;if(null!=n){null!=t.relatedTarget&&t.relatedTarget!==document.body||(t.preventDefault(),n.focus());var r=t.target||document.body;n.contains(r)||o(n,r)}}}return null==t||null==document.activeElement||t.contains(document.activeElement)||null!=t.querySelector("[autofocus]")||o(t,document.activeElement,!0),i.addEventListener("focusin",n,{capture:!0}),i.addEventListener("focusout",r,{capture:!0}),function(){i.removeEventListener("focusin",n,{capture:!0}),i.removeEventListener("focusout",r,{capture:!0})}}),[e]),l(n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getParentLayerContainer=function(e){var t=(0,l.default)(e,c.default.layerContainer);return(0,a.default)(null!=t,"Unexpected missing parent container"),t},t.createLayer=function(e){var t=i.createContext([null,function(){}]),n={LayerProvider:function(e){return i.createElement(m,_({layerContext:t},e))},LayerContainer:function(e){return i.createElement(v,_({layerContext:t},e))},Layer:function(e){return i.createElement(T,_({layerContext:t},e))}};return n.LayerProvider.displayName=e+"LayerProvider",n.LayerContainer.displayName=e+"LayerContainer",n.Layer.displayName=e+"Layer",n},t.Layer=t.LayerContainer=t.LayerProvider=t.LayerClassName=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(9)),a=d(n(23)),s=d(n(67)),u=n(393),l=d(n(980)),c=d(n(1193));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function _(){return(_=Object.assign||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}).apply(this,arguments)}function p(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var h=c.default.layerContainer;t.LayerClassName=h;var m=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={layerContainerElement:null},t.setLayerContainerElement=function(e){t.setState({layerContainerElement:e})},t.getContextValue=(0,u.cachedFunction)((function(e){return[e,t.setLayerContainerElement]})),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,E(t,n);var i=r.prototype;return i.componentWillUnmount=function(){this.state.layerContainerElement=null},i.render=function(){var e=this.props,t=e.layerContext,n=e.children,r=this.state.layerContainerElement;return p(t.Provider,{value:this.getContextValue(r)},void 0,n)},r}(i.Component);t.LayerProvider=m,m.displayName="LayerProvider";var v=function(e){var t=e.layerContext,n=e.className,r=i.useContext(t)[1];return i.createElement("div",{className:(0,o.default)(h,n),ref:r})};t.LayerContainer=v,v.displayName="LayerContainer";var T=function(e){var t=e.layerContext,n=e.children;return p(t.Consumer,{},void 0,(function(e){return function(e,t){var n=e[0];return null==n?null:s.default.createPortal(i.Children.only(t),n)}(e,n)}))};t.Layer=T,T.displayName="Layer"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFocusManager=function(e){var t=e.getFocusableElements;return{getNextFocusableElement:function(e){var n=(null==e?void 0:e.from)||document.activeElement;if(null==n)return null;var r,i=t(),o=i.find((function(e){return!!(n.compareDocumentPosition(e)&(Node.DOCUMENT_POSITION_FOLLOWING|Node.DOCUMENT_POSITION_CONTAINED_BY))}));return null==o&&(null==e?void 0:e.wrap)?null!==(r=i[0])&&void 0!==r?r:null:o},getPreviousFocusableElement:function(e){var n=(null==e?void 0:e.from)||document.activeElement;if(null==n)return null;for(var r,i=t(),o=i.length-1;o>=0;o--){var a=i[o];if(n.compareDocumentPosition(a)&(Node.DOCUMENT_POSITION_PRECEDING|Node.DOCUMENT_POSITION_CONTAINED_BY))return a}return(null==e?void 0:e.wrap)&&null!==(r=i[i.length-1])&&void 0!==r?r:null},getFirstFocusableElement:function(){var e;return null!==(e=t()[0])&&void 0!==e?e:null},getLastFocusableElement:function(){var e,n=t();return null!==(e=n[n.length-1])&&void 0!==e?e:null}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.acceptWhitelist=function(e){return i.default.post({url:a.Endpoints.OAUTH2_WHITELIST_ACCEPT,query:{token:e},oldFormErrors:!0})},t.authorize=function(e,t,n,r,i,o,a,s,u,l,d,f){return c.apply(this,arguments)},t.fetchAuthorization=function(e,t,n,r,i,o,a){return d.apply(this,arguments)},t.fetchChannels=function(e){return f.apply(this,arguments)},t.logoutWithRedirect=function(e){o.default.logout((0,r.getLoginPath)(e.pathname+e.search,!1))};var r=n(420),i=s(n(14)),o=s(n(363)),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function l(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){u(o,r,i,a,s,"next",e)}function s(e){u(o,r,i,a,s,"throw",e)}a(void 0)}))}}function c(){return(c=l(regeneratorRuntime.mark((function e(t,n,r,o,s,u,l,c,d,f,_,p){var E;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.default.post({url:a.Endpoints.OAUTH2_AUTHORIZE,query:{client_id:n,response_type:o,redirect_uri:s,code_challenge:u,code_challenge_method:l,scope:r.join(" "),state:c},body:{captcha_key:f,guild_id:_,webhook_channel_id:p,permissions:d,authorize:t},oldFormErrors:!0});case 2:return E=e.sent,e.abrupt("return",E.body);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function d(){return(d=l(regeneratorRuntime.mark((function e(t,n,r,o,s,u,l){var c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.default.get({url:a.Endpoints.OAUTH2_AUTHORIZE,query:{client_id:t,response_type:r,redirect_uri:o,code_challenge:s,code_challenge_method:u,scope:n.join(" "),state:l},retries:3,oldFormErrors:!0});case 2:return c=e.sent,e.abrupt("return",c.body);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(){return(f=l(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.default.get({url:a.Endpoints.OAUTH2_AUTHORIZE_WEBHOOK_CHANNELS,query:{guild_id:t},oldFormErrors:!0});case 2:return n=e.sent,r=n.body,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),i=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(){return(a=Object.assign||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}).apply(this,arguments)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l,c={hasAcceptedStoreTerms:!1,hasAcceptedEulaIds:[]};var d=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var i,o,a,d=r.prototype;return d.initialize=function(e){l=e||c},d.getState=function(){return l},d.hasAcceptedEULA=function(e){return l.hasAcceptedEulaIds.includes(e)},i=r,(o=[{key:"hasAcceptedStoreTerms",get:function(){return l.hasAcceptedStoreTerms}}])&&s(i.prototype,o),a&&s(i,a),r}(r.default.PersistedStore);d.persistKey="ApplicationStoreUserSettingsStore",d.migrations=[function(e){return null==e.hasAcceptedEulaIds?a({},e,{hasAcceptedEulaIds:[]}):e}];var f=new d(i.default,{APPLICATION_STORE_ACCEPT_STORE_TERMS:function(e){l.hasAcceptedStoreTerms=!0},APPLICATION_STORE_ACCEPT_EULA:function(e){var t=e.eulaId;if(l.hasAcceptedEulaIds.includes(t))return!1;l.hasAcceptedEulaIds.push(t)}});t.default=f},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(3)),i=c(n(2)),o=c(n(118)),a=c(n(16)),s=c(n(11)),u=c(n(39)),l=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=Date.now(),_=!1,p=!1,E=!1,h=!1;function m(){return E||h}function v(){Date.now()-f>l.IDLE_DURATION||m()?_||i.default.dirtyDispatch({type:l.ActionTypes.IDLE,idle:!0,idleSince:f}):_&&i.default.dirtyDispatch({type:l.ActionTypes.IDLE,idle:!1}),Date.now()-f>Math.min(1e3*u.default.afkTimeout,l.IDLE_DURATION)||m()?p||i.default.dirtyDispatch({type:l.ActionTypes.AFK,afk:!0}):p&&i.default.dirtyDispatch({type:l.ActionTypes.AFK,afk:!1})}function T(e){var t=e.timestamp,n=e.type===l.ActionTypes.OVERLAY_SET_NOT_IDLE&&null!=t;return n&&t<=f||(f=n?t:Date.now(),__OVERLAY__?i.default.dirtyDispatch({type:l.ActionTypes.OVERLAY_SET_NOT_IDLE,timestamp:f}):v()),!1}__OVERLAY__||(a.default.embedded&&null!=(null===o.default||void 0===o.default?void 0:o.default.remotePowerMonitor)?(!function e(){var t,r=function(t){f=Math.max(Date.now()-t,f),v(),setTimeout(e,1e4)};if(null!=(null===o.default||void 0===o.default||null===(t=o.default.remotePowerMonitor)||void 0===t?void 0:t.getSystemIdleTimeMs)){var i=o.default.remotePowerMonitor.getSystemIdleTimeMs();i instanceof Promise?i.then(r):r(i)}else{n(43).default.getIdleMilliseconds(r)}}(),o.default.remotePowerMonitor.on("resume",(function(){E=!1,T({})})),o.default.remotePowerMonitor.on("suspend",(function(){E=!0,T({})})),o.default.remotePowerMonitor.on("lock-screen",(function(){h=!0,T({})})),o.default.remotePowerMonitor.on("unlock-screen",(function(){h=!1,T({})}))):setInterval(v,.25*l.IDLE_DURATION));var g=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var i=r.prototype;return i.isIdle=function(){return _},i.isAFK=function(){return p},i.getIdleSince=function(){return _?f:null},r}(r.default.Store))(i.default,{IDLE:function(e){_=e.idle},AFK:function(e){p=e.afk},SPEAKING:function(e){var t=e.userId;return e.speakingFlags&&t===s.default.getId()&&T({}),!1},OVERLAY_SET_NOT_IDLE:T,CHANNEL_SELECT:T,VOICE_CHANNEL_SELECT:T,WINDOW_FOCUS:T,OVERLAY_INITIALIZE:T,OVERLAY_SET_INPUT_LOCKED:T});t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connect=function(){r.default.connect()},t.disconnect=function(){r.default.disconnect()},t.setReceiveHandler=function(e){__OVERLAY__?r.default.subscribe(a.RPCEvents.OVERLAY,{},(function(t){return e((0,o.deserializeObject)(t))})):(i.default.setCommandHandler(a.RPCCommands.OVERLAY,{scope:a.RPC_PRIVATE_SCOPE,handler:function(t){var n=t.args;e((0,o.deserializeObject)(n))}}),i.default.setEventHandler(a.RPCEvents.OVERLAY,{scope:a.RPC_PRIVATE_SCOPE,handler:function(){}}))},t.send=function(e){__OVERLAY__?r.default.request(a.RPCCommands.OVERLAY,(0,o.serializeObject)(e)):i.default.dispatchToSubscriptions(a.RPCEvents.OVERLAY,{},(0,o.serializeObject)(e))};var r=s(n(740)),i=s(n(772)),o=n(5460),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=_(n(8)),o=_(n(98)),a=_(n(3)),s=_(n(28)),u=_(n(2)),l=_(n(5461)),c=_(n(5462)),d=n(765),f=n(1);function _(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(){return(m=Object.assign||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}).apply(this,arguments)}var v,T,g=((r={})[f.OverlayWidgets.GUILDS]={minSize:{width:312,height:300},resizeX:!1,resizeY:!0,dragAnywhere:!1,layoutPolicy:f.OverlayWidgetLayoutPolicy.OPTIONAL,defaultSettings:{anchor:{left:.175,top:.15,bottom:null,right:null},size:{width:"auto",height:.65},pinned:!1}},r[f.OverlayWidgets.TEXT]={minSize:{width:430,height:300},resizeX:!0,resizeY:!0,dragAnywhere:!1,layoutPolicy:f.OverlayWidgetLayoutPolicy.OPTIONAL,defaultSettings:{anchor:{left:.26,top:.15,bottom:null,right:null},size:{width:.565,height:.65},pinned:!0}},r[f.OverlayWidgets.VOICE]={minSize:{width:272,height:100},resizeX:!1,resizeY:!1,dragAnywhere:!0,layoutPolicy:f.OverlayWidgetLayoutPolicy.REQUIRED,defaultSettings:{anchor:{left:.011,top:.011,bottom:null,right:null},size:{width:"auto",height:"auto"},pinned:!0}},r[f.OverlayWidgets.GUILDS_TEXT]={minSize:{height:300,width:610},resizeX:!0,resizeY:!0,dragAnywhere:!1,layoutPolicy:f.OverlayWidgetLayoutPolicy.OPTIONAL_DEFAULT,defaultSettings:{anchor:{left:.15,top:.15,bottom:null,right:null},size:{width:.7,height:.65},pinned:!1}},r[f.OverlayWidgets.LOBBY_VOICE]={minSize:{width:272,height:100},resizeX:!1,resizeY:!1,dragAnywhere:!0,layoutPolicy:f.OverlayWidgetLayoutPolicy.REQUIRED,defaultSettings:{anchor:{left:null,top:.011,bottom:null,right:.011},size:{width:"auto",height:"auto"},pinned:!0}},r);function I(e,t){var n=T[e];if(null==n)return!1;var r=v[n.layoutId];return null!=r&&t(n,r)}function S(e,t){var n;T=m({},T,((n={})[e.id]=e.set("zIndex",t),n))}function y(e){var t;return null===(t=g[e])||void 0===t?void 0:t.defaultSettings}var A=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var a=r.prototype;return a.initialize=function(e){var t,n,r,a,s=this;if(null!=e&&e.layouts&&e.widgets){var u=e.layouts,d=e.widgets;r=u,a={},i.default.forEach(r,(function(e,t){a[t]=new l.default(e)})),v=a,t=d,n={},i.default.forEach(t,(function(e,t){n[t]=new c.default(e)})),T=n}else v={},T={};var _=!1,p=[];i.default.forEach(g,(function(e,t){e.layoutPolicy===f.OverlayWidgetLayoutPolicy.REQUIRED&&p.push(t)})),i.default.forEach(v,(function(e,t){for(var n,r,i=s.getWidgetsForLayout(t),a=!1,u=function(){var e,r=n.value,u=i.find((function(e){return e.type===r}));if(null!=u)return"continue";a=_=!0;var l=o.default.v4();u=new c.default(m({},s.getWidgetDefaultSettings(r),{type:r,id:l,layoutId:t,zIndex:i.length})),i.push(u),T=m({},T,((e={})[l]=u,e))},l=E(p);!(n=l()).done;)u();a&&(e=e.set("widgets",i.map((function(e){return e.id}))),v=m({},v,((r={})[t]=e,r)))})),i.default.forEach(T,(function(e,t){var n=v[e.layoutId];(null==n||n.widgets.indexOf(t)<0)&&(delete(T=m({},T))[t],_=!0)})),_&&(this.persist(),this.emitChange())},a.getState=function(){return{layouts:v,widgets:T}},a.getLayouts=function(){return v},a.getLayout=function(e){return v[e]},a.getAllWidgets=function(){return T},a.getWidget=function(e){return T[e]},a.getWidgetsForLayout=function(e){var t=this,n=this.getLayout(e);return null==n?[]:n.widgets.reduce((function(e,n){var r=t.getWidget(n);return null!=r&&e.push(r),e}),[])},a.getWidgetConfig=function(e){return g[e]},a.getWidgetDefaultSettings=function(e){return y(e)},a.getWidgetType=function(e){var t=T[e];return null!=t?t.type:""},a.getRegisteredWidgets=function(){return g},a.getDefaultLayout=function(e){var t=[];return i.default.forEach(this.getRegisteredWidgets(),(function(n,r){switch(n.layoutPolicy){case f.OverlayWidgetLayoutPolicy.REQUIRED:case f.OverlayWidgetLayoutPolicy.OPTIONAL_DEFAULT:t.push(m({},n.defaultSettings,{type:r,id:o.default.v4(),layoutId:e}))}})),t},r}(a.default.PersistedStore);A.persistKey="LayoutStore",A.migrations=[function(){var e=m({},s.default.get("OverlayStore")),t=e.pinnedWidgets,n=e.positions,r=e.sizes;if(5===e.v&&t){var i="migrated",o=[],a=t.map((function(e){var t=null!=n?n[e]:null,a=null!=r?r[e]:null,s={id:e,layoutId:i,type:e,anchor:t||{top:-1,left:-1,bottom:null,right:null},size:a||{width:-1,height:-1},pinned:!0,zIndex:0};return o.push([s.id,s]),s.id}));return{layouts:[[i,{id:i,widgets:a}]],widgets:o}}return{layouts:[],widgets:[]}},function(e){var t=e.layouts,n=e.widgets,r=new Set(Object.keys(f.OverlayWidgets)),i=Array.from(n).filter((function(e){var t=e[0];return!r.has(t)})),a=Array.from(t).filter((function(e){return"migrated"!==e[0]}));return a.forEach((function(e){var t=e[0],n=e[1],r=null,a=null;if(n.widgets.find((function(e){var n=i.find((function(n){var r=n[0],i=n[1];return r===e&&i.layoutId===t}));return null!=n&&(null==a&&n[1].type===f.OverlayWidgets.VOICE&&(a=n[0]),null==r&&n[1].type===f.OverlayWidgets.TEXT&&(r=n[1].pinned),null!=r&&null!=a||void 0)})),!r&&a){var s=o.default.v4();n.widgets=[a,s],i.push([s,m({},y(f.OverlayWidgets.GUILDS_TEXT),{type:f.OverlayWidgets.GUILDS_TEXT,id:s,layoutId:t,zIndex:2})])}})),{widgets:i,layouts:a}},function(e){var t=e.layouts,n=e.widgets;return{layouts:t.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{}),widgets:n.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})}}];var O=new A(u.default,{LAYOUT_CREATE:function(e){var t,n=e.layoutId,r=e.widgets,i=e.defaultResolution;if(null!=v[n])return!1;var a=[];r.forEach((function(e,t){var n,r=function(e){var t=v.migrated;if(t)for(var n,r=E(t.widgets);!(n=r()).done;){var i=n.value,o=T[i];if(o&&o.type===e)return o}return null}(e.type),s=m({},e,{zIndex:t});""===s.id&&(s.id=o.default.v4()),null!=r&&(s.pinned=r.pinned,-1!==r.anchor.left&&(s.anchor=(0,d.getAnchorPercentageFromLayoutSize)(r.anchor,i)),-1!==r.size.width&&(s.size=(0,d.getSizePercentageFromSize)(r.size,i))),T=m({},T,((n={})[s.id]=new c.default(s),n)),a.push(s.id)})),v=m({},v,((t={})[n]=new l.default({id:n,widgets:a}),t))},LAYOUT_SET_PINNED:function(e){return I(e.widgetId,(function(e,t){!function(e){var t;T=m({},T,((t={})[e.id]=e.set("pinned",!e.pinned),t))}(e)}))},LAYOUT_UPDATE_WIDGET:function(e){var t=e.widgetId,n=e.anchor,r=e.size;return I(t,(function(e,t){return function(e,t,n){var r;T=m({},T,((r={})[e.id]=e.merge({anchor:t,size:n}),r))}(e,n,r)}))},LAYOUT_SET_TOP_WIDGET:function(e){return I(e.widgetId,(function(e,t){return function(e,t){var n=function(e){var t=[];return e.widgets.forEach((function(e){var n=T[e];null!=n&&t.push(n)})),t}(e);n.sort((function(e,t){return e.zIndex-t.zIndex}));var r=n.findIndex((function(e){return e.id===t}));if(r===n.length-1)return!1;n.push(n.splice(r,1)[0]);for(var i=0;i<n.length;i++){S(n[i],i)}return!0}(t,e.id)}))},LAYOUT_DELETE_WIDGET:function(e){var t=e.widgetId;delete(T=m({},T))[t],i.default.forEach(v,(function(e,n){if("migrated"!==n){var r=e.widgets.indexOf(t);if(r>=0){var i,o=[].concat(e.widgets);o.splice(r,1),v=m({},v,((i={})[n]=e.set("widgets",o),i))}}}))},LAYOUT_DELETE_ALL_WIDGETS:function(e){var t,n=e.layoutId,r=v[n];if(null==r)return!1;r.widgets.forEach((function(e){delete(T=m({},T))[e]})),v=m({},v,((t={})[r.id]=r.set("widgets",[]),t))},LAYOUT_CREATE_WIDGETS:function(e){e.widgetConfigs.forEach((function(e){var t,n,r=new c.default(e),i=v[r.layoutId];if(null==i)throw new Error("LayoutStore - handleAddWidget: Invalid layoutId");r=r.set("zIndex",i.widgets.length),T=m({},T,((t={})[r.id]=r,t));var o=[].concat(i.widgets,[r.id]);v=m({},v,((n={})[i.id]=i.set("widgets",o),n))}))}});t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.add=function(e){r.push(e);for(;r.length>10;)r.shift()},t.serialize=function(){return r.join(" -> ")};var r=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(212))&&r.__esModule?r:{default:r};var o=function(){function e(e,t){var n=this;this.handleStoreChange=function(){var e=i.default.getChangeSentinel();n.storeVersionHandled!==e&&(n.changeCallback(),n.storeVersionHandled=e)},this.stores=e,this.changeCallback=t}var t=e.prototype;return t.attach=function(e){var t=this;this.stores.forEach((function(n,r){if(null==n)throw new Error(e+" tried to load a non-existent store. Either it isn't defined or there is a circular dependency. Loaded "+r+" stores before error.");n.addChangeListener(t.handleStoreChange)}))},t.detach=function(){var e=this;this.stores.forEach((function(t){return t.removeChangeListener(e.handleStoreChange)}))},e}();t.default=o},function(e,t,n){(function(e){var n,r=function(e){"use strict";var t=1e7,n=9007199254740992,i=c(n),o=Math.log(n);function a(e,t){return void 0===e?a[0]:void 0!==t?10==+t?W(e):x(e,t):W(e)}function s(e,t){this.value=e,this.sign=t,this.isSmall=!1}function u(e){this.value=e,this.sign=e<0,this.isSmall=!0}function l(e){return-n<e&&e<n}function c(e){return e<1e7?[e]:e<1e14?[e%1e7,Math.floor(e/1e7)]:[e%1e7,Math.floor(e/1e7)%1e7,Math.floor(e/1e14)]}function d(e){f(e);var n=e.length;if(n<4&&R(e,i)<0)switch(n){case 0:return 0;case 1:return e[0];case 2:return e[0]+e[1]*t;default:return e[0]+(e[1]+e[2]*t)*t}return e}function f(e){for(var t=e.length;0===e[--t];);e.length=t+1}function _(e){for(var t=new Array(e),n=-1;++n<e;)t[n]=0;return t}function p(e){return e>0?Math.floor(e):Math.ceil(e)}function E(e,n){var r,i,o=e.length,a=n.length,s=new Array(o),u=0,l=t;for(i=0;i<a;i++)u=(r=e[i]+n[i]+u)>=l?1:0,s[i]=r-u*l;for(;i<o;)u=(r=e[i]+u)===l?1:0,s[i++]=r-u*l;return u>0&&s.push(u),s}function h(e,t){return e.length>=t.length?E(e,t):E(t,e)}function m(e,n){var r,i,o=e.length,a=new Array(o),s=t;for(i=0;i<o;i++)r=e[i]-s+n,n=Math.floor(r/s),a[i]=r-n*s,n+=1;for(;n>0;)a[i++]=n%s,n=Math.floor(n/s);return a}function v(e,t){var n,r,i=e.length,o=t.length,a=new Array(i),s=0;for(n=0;n<o;n++)(r=e[n]-s-t[n])<0?(r+=1e7,s=1):s=0,a[n]=r;for(n=o;n<i;n++){if(!((r=e[n]-s)<0)){a[n++]=r;break}r+=1e7,a[n]=r}for(;n<i;n++)a[n]=e[n];return f(a),a}function T(e,t,n){var r,i,o=e.length,a=new Array(o),l=-t;for(r=0;r<o;r++)i=e[r]+l,l=Math.floor(i/1e7),i%=1e7,a[r]=i<0?i+1e7:i;return"number"==typeof(a=d(a))?(n&&(a=-a),new u(a)):new s(a,n)}function g(e,t){var n,r,i,o,a=e.length,s=t.length,u=_(a+s);for(i=0;i<a;++i){o=e[i];for(var l=0;l<s;++l)n=o*t[l]+u[i+l],r=Math.floor(n/1e7),u[i+l]=n-1e7*r,u[i+l+1]+=r}return f(u),u}function I(e,n){var r,i,o=e.length,a=new Array(o),s=t,u=0;for(i=0;i<o;i++)r=e[i]*n+u,u=Math.floor(r/s),a[i]=r-u*s;for(;u>0;)a[i++]=u%s,u=Math.floor(u/s);return a}function S(e,t){for(var n=[];t-- >0;)n.push(0);return n.concat(e)}function y(e,n,r){return new s(e<t?I(n,e):g(n,c(e)),r)}function A(e){var t,n,r,i,o=e.length,a=_(o+o);for(r=0;r<o;r++){n=0-(i=e[r])*i;for(var s=r;s<o;s++)t=i*e[s]*2+a[r+s]+n,n=Math.floor(t/1e7),a[r+s]=t-1e7*n;a[r+o]=n}return f(a),a}function O(e,t){var n,r,i,o,a=e.length,s=_(a);for(i=0,n=a-1;n>=0;--n)i=(o=1e7*i+e[n])-(r=p(o/t))*t,s[n]=0|r;return[s,0|i]}function N(e,n){var r,i,o=W(n),l=e.value,E=o.value;if(0===E)throw new Error("Cannot divide by zero");if(e.isSmall)return o.isSmall?[new u(p(l/E)),new u(l%E)]:[a[0],e];if(o.isSmall){if(1===E)return[e,a[0]];if(-1==E)return[e.negate(),a[0]];var h=Math.abs(E);if(h<t){i=d((r=O(l,h))[0]);var m=r[1];return e.sign&&(m=-m),"number"==typeof i?(e.sign!==o.sign&&(i=-i),[new u(i),new u(m)]):[new s(i,e.sign!==o.sign),new u(m)]}E=c(h)}var T=R(l,E);if(-1===T)return[a[0],e];if(0===T)return[a[e.sign===o.sign?1:-1],a[0]];i=(r=l.length+E.length<=200?function(e,n){var r,i,o,a,s,u,l,c=e.length,f=n.length,p=t,E=_(n.length),h=n[f-1],m=Math.ceil(p/(2*h)),v=I(e,m),T=I(n,m);for(v.length<=c&&v.push(0),T.push(0),h=T[f-1],i=c-f;i>=0;i--){for(r=p-1,v[i+f]!==h&&(r=Math.floor((v[i+f]*p+v[i+f-1])/h)),o=0,a=0,u=T.length,s=0;s<u;s++)o+=r*T[s],l=Math.floor(o/p),a+=v[i+s]-(o-l*p),o=l,a<0?(v[i+s]=a+p,a=-1):(v[i+s]=a,a=0);for(;0!==a;){for(r-=1,o=0,s=0;s<u;s++)(o+=v[i+s]-p+T[s])<0?(v[i+s]=o+p,o=0):(v[i+s]=o,o=1);a+=o}E[i]=r}return v=O(v,m)[0],[d(E),d(v)]}(l,E):function(e,t){for(var n,r,i,o,a,s=e.length,u=t.length,l=[],c=[];s;)if(c.unshift(e[--s]),f(c),R(c,t)<0)l.push(0);else{i=1e7*c[(r=c.length)-1]+c[r-2],o=1e7*t[u-1]+t[u-2],r>u&&(i=1e7*(i+1)),n=Math.ceil(i/o);do{if(R(a=I(t,n),c)<=0)break;n--}while(n);l.push(n),c=v(c,a)}return l.reverse(),[d(l),d(c)]}(l,E))[0];var g=e.sign!==o.sign,S=r[1],y=e.sign;return"number"==typeof i?(g&&(i=-i),i=new u(i)):i=new s(i,g),"number"==typeof S?(y&&(S=-S),S=new u(S)):S=new s(S,y),[i,S]}function R(e,t){if(e.length!==t.length)return e.length>t.length?1:-1;for(var n=e.length-1;n>=0;n--)if(e[n]!==t[n])return e[n]>t[n]?1:-1;return 0}function b(e){var t=e.abs();return!t.isUnit()&&(!!(t.equals(2)||t.equals(3)||t.equals(5))||!(t.isEven()||t.isDivisibleBy(3)||t.isDivisibleBy(5))&&(!!t.lesser(49)||void 0))}function L(e,t){for(var n,i,o,s=e.prev(),u=s,l=0;u.isEven();)u=u.divide(2),l++;e:for(i=0;i<t.length;i++)if(!e.lesser(t[i])&&!(o=r(t[i]).modPow(u,e)).equals(a[1])&&!o.equals(s)){for(n=l-1;0!=n;n--){if((o=o.square().mod(e)).isUnit())return!1;if(o.equals(s))continue e}return!1}return!0}s.prototype=Object.create(a.prototype),u.prototype=Object.create(a.prototype),s.prototype.add=function(e){var t=W(e);if(this.sign!==t.sign)return this.subtract(t.negate());var n=this.value,r=t.value;return t.isSmall?new s(m(n,Math.abs(r)),this.sign):new s(h(n,r),this.sign)},s.prototype.plus=s.prototype.add,u.prototype.add=function(e){var t=W(e),n=this.value;if(n<0!==t.sign)return this.subtract(t.negate());var r=t.value;if(t.isSmall){if(l(n+r))return new u(n+r);r=c(Math.abs(r))}return new s(m(r,Math.abs(n)),n<0)},u.prototype.plus=u.prototype.add,s.prototype.subtract=function(e){var t=W(e);if(this.sign!==t.sign)return this.add(t.negate());var n=this.value,r=t.value;return t.isSmall?T(n,Math.abs(r),this.sign):function(e,t,n){var r;return R(e,t)>=0?r=v(e,t):(r=v(t,e),n=!n),"number"==typeof(r=d(r))?(n&&(r=-r),new u(r)):new s(r,n)}(n,r,this.sign)},s.prototype.minus=s.prototype.subtract,u.prototype.subtract=function(e){var t=W(e),n=this.value;if(n<0!==t.sign)return this.add(t.negate());var r=t.value;return t.isSmall?new u(n-r):T(r,Math.abs(n),n>=0)},u.prototype.minus=u.prototype.subtract,s.prototype.negate=function(){return new s(this.value,!this.sign)},u.prototype.negate=function(){var e=this.sign,t=new u(-this.value);return t.sign=!e,t},s.prototype.abs=function(){return new s(this.value,!1)},u.prototype.abs=function(){return new u(Math.abs(this.value))},s.prototype.multiply=function(e){var n,r,i,o=W(e),u=this.value,l=o.value,d=this.sign!==o.sign;if(o.isSmall){if(0===l)return a[0];if(1===l)return this;if(-1===l)return this.negate();if((n=Math.abs(l))<t)return new s(I(u,n),d);l=c(n)}return r=u.length,i=l.length,new s(-.012*r-.012*i+15e-6*r*i>0?function e(t,n){var r=Math.max(t.length,n.length);if(r<=30)return g(t,n);r=Math.ceil(r/2);var i=t.slice(r),o=t.slice(0,r),a=n.slice(r),s=n.slice(0,r),u=e(o,s),l=e(i,a),c=e(h(o,i),h(s,a)),d=h(h(u,S(v(v(c,u),l),r)),S(l,2*r));return f(d),d}(u,l):g(u,l),d)},s.prototype.times=s.prototype.multiply,u.prototype._multiplyBySmall=function(e){return l(e.value*this.value)?new u(e.value*this.value):y(Math.abs(e.value),c(Math.abs(this.value)),this.sign!==e.sign)},s.prototype._multiplyBySmall=function(e){return 0===e.value?a[0]:1===e.value?this:-1===e.value?this.negate():y(Math.abs(e.value),this.value,this.sign!==e.sign)},u.prototype.multiply=function(e){return W(e)._multiplyBySmall(this)},u.prototype.times=u.prototype.multiply,s.prototype.square=function(){return new s(A(this.value),!1)},u.prototype.square=function(){var e=this.value*this.value;return l(e)?new u(e):new s(A(c(Math.abs(this.value))),!1)},s.prototype.divmod=function(e){var t=N(this,e);return{quotient:t[0],remainder:t[1]}},u.prototype.divmod=s.prototype.divmod,s.prototype.divide=function(e){return N(this,e)[0]},u.prototype.over=u.prototype.divide=s.prototype.over=s.prototype.divide,s.prototype.mod=function(e){return N(this,e)[1]},u.prototype.remainder=u.prototype.mod=s.prototype.remainder=s.prototype.mod,s.prototype.pow=function(e){var t,n,r,i=W(e),o=this.value,s=i.value;if(0===s)return a[1];if(0===o)return a[0];if(1===o)return a[1];if(-1===o)return i.isEven()?a[1]:a[-1];if(i.sign)return a[0];if(!i.isSmall)throw new Error("The exponent "+i.toString()+" is too large.");if(this.isSmall&&l(t=Math.pow(o,s)))return new u(p(t));for(n=this,r=a[1];!0&s&&(r=r.times(n),--s),0!==s;)s/=2,n=n.square();return r},u.prototype.pow=s.prototype.pow,s.prototype.modPow=function(e,t){if(e=W(e),(t=W(t)).isZero())throw new Error("Cannot take modPow with modulus 0");for(var n=a[1],r=this.mod(t);e.isPositive();){if(r.isZero())return a[0];e.isOdd()&&(n=n.multiply(r).mod(t)),e=e.divide(2),r=r.square().mod(t)}return n},u.prototype.modPow=s.prototype.modPow,s.prototype.compareAbs=function(e){var t=W(e),n=this.value,r=t.value;return t.isSmall?1:R(n,r)},u.prototype.compareAbs=function(e){var t=W(e),n=Math.abs(this.value),r=t.value;return t.isSmall?n===(r=Math.abs(r))?0:n>r?1:-1:-1},s.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=W(e),n=this.value,r=t.value;return this.sign!==t.sign?t.sign?1:-1:t.isSmall?this.sign?-1:1:R(n,r)*(this.sign?-1:1)},s.prototype.compareTo=s.prototype.compare,u.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=W(e),n=this.value,r=t.value;return t.isSmall?n==r?0:n>r?1:-1:n<0!==t.sign?n<0?-1:1:n<0?1:-1},u.prototype.compareTo=u.prototype.compare,s.prototype.equals=function(e){return 0===this.compare(e)},u.prototype.eq=u.prototype.equals=s.prototype.eq=s.prototype.equals,s.prototype.notEquals=function(e){return 0!==this.compare(e)},u.prototype.neq=u.prototype.notEquals=s.prototype.neq=s.prototype.notEquals,s.prototype.greater=function(e){return this.compare(e)>0},u.prototype.gt=u.prototype.greater=s.prototype.gt=s.prototype.greater,s.prototype.lesser=function(e){return this.compare(e)<0},u.prototype.lt=u.prototype.lesser=s.prototype.lt=s.prototype.lesser,s.prototype.greaterOrEquals=function(e){return this.compare(e)>=0},u.prototype.geq=u.prototype.greaterOrEquals=s.prototype.geq=s.prototype.greaterOrEquals,s.prototype.lesserOrEquals=function(e){return this.compare(e)<=0},u.prototype.leq=u.prototype.lesserOrEquals=s.prototype.leq=s.prototype.lesserOrEquals,s.prototype.isEven=function(){return 0==(1&this.value[0])},u.prototype.isEven=function(){return 0==(1&this.value)},s.prototype.isOdd=function(){return 1==(1&this.value[0])},u.prototype.isOdd=function(){return 1==(1&this.value)},s.prototype.isPositive=function(){return!this.sign},u.prototype.isPositive=function(){return this.value>0},s.prototype.isNegative=function(){return this.sign},u.prototype.isNegative=function(){return this.value<0},s.prototype.isUnit=function(){return!1},u.prototype.isUnit=function(){return 1===Math.abs(this.value)},s.prototype.isZero=function(){return!1},u.prototype.isZero=function(){return 0===this.value},s.prototype.isDivisibleBy=function(e){var t=W(e),n=t.value;return 0!==n&&(1===n||(2===n?this.isEven():this.mod(t).equals(a[0])))},u.prototype.isDivisibleBy=s.prototype.isDivisibleBy,s.prototype.isPrime=function(e){var t=b(this);if(void 0!==t)return t;var n=this.abs(),i=n.bitLength();if(i<=64)return L(n,[2,325,9375,28178,450775,9780504,1795265022]);for(var o=Math.log(2)*i,a=Math.ceil(!0===e?2*Math.pow(o,2):o),s=[],u=0;u<a;u++)s.push(r(u+2));return L(n,s)},u.prototype.isPrime=s.prototype.isPrime,s.prototype.isProbablePrime=function(e){var t=b(this);if(void 0!==t)return t;for(var n=this.abs(),i=void 0===e?5:e,o=[],a=0;a<i;a++)o.push(r.randBetween(2,n.minus(2)));return L(n,o)},u.prototype.isProbablePrime=s.prototype.isProbablePrime,s.prototype.modInv=function(e){for(var t,n,i,o=r.zero,a=r.one,s=W(e),u=this.abs();!u.equals(r.zero);)t=s.divide(u),n=o,i=s,o=a,s=u,a=n.subtract(t.multiply(a)),u=i.subtract(t.multiply(u));if(!s.equals(1))throw new Error(this.toString()+" and "+e.toString()+" are not co-prime");return-1===o.compare(0)&&(o=o.add(e)),this.isNegative()?o.negate():o},u.prototype.modInv=s.prototype.modInv,s.prototype.next=function(){var e=this.value;return this.sign?T(e,1,this.sign):new s(m(e,1),this.sign)},u.prototype.next=function(){var e=this.value;return e+1<n?new u(e+1):new s(i,!1)},s.prototype.prev=function(){var e=this.value;return this.sign?new s(m(e,1),!0):T(e,1,this.sign)},u.prototype.prev=function(){var e=this.value;return e-1>-n?new u(e-1):new s(i,!0)};for(var D=[1];2*D[D.length-1]<=t;)D.push(2*D[D.length-1]);var C=D.length,M=D[C-1];function P(e){return("number"==typeof e||"string"==typeof e)&&+Math.abs(e)<=t||e instanceof s&&e.value.length<=1}function w(e,t,n){t=W(t);for(var i=e.isNegative(),o=t.isNegative(),a=i?e.not():e,s=o?t.not():t,u=0,l=0,c=null,d=null,f=[];!a.isZero()||!s.isZero();)u=(c=N(a,M))[1].toJSNumber(),i&&(u=M-1-u),l=(d=N(s,M))[1].toJSNumber(),o&&(l=M-1-l),a=c[0],s=d[0],f.push(n(u,l));for(var _=0!==n(i?1:0,o?1:0)?r(-1):r(0),p=f.length-1;p>=0;p-=1)_=_.multiply(M).add(r(f[p]));return _}s.prototype.shiftLeft=function(e){if(!P(e))throw new Error(String(e)+" is too large for shifting.");if((e=+e)<0)return this.shiftRight(-e);var t=this;if(t.isZero())return t;for(;e>=C;)t=t.multiply(M),e-=C-1;return t.multiply(D[e])},u.prototype.shiftLeft=s.prototype.shiftLeft,s.prototype.shiftRight=function(e){var t;if(!P(e))throw new Error(String(e)+" is too large for shifting.");if((e=+e)<0)return this.shiftLeft(-e);for(var n=this;e>=C;){if(n.isZero()||n.isNegative()&&n.isUnit())return n;n=(t=N(n,M))[1].isNegative()?t[0].prev():t[0],e-=C-1}return(t=N(n,D[e]))[1].isNegative()?t[0].prev():t[0]},u.prototype.shiftRight=s.prototype.shiftRight,s.prototype.not=function(){return this.negate().prev()},u.prototype.not=s.prototype.not,s.prototype.and=function(e){return w(this,e,(function(e,t){return e&t}))},u.prototype.and=s.prototype.and,s.prototype.or=function(e){return w(this,e,(function(e,t){return e|t}))},u.prototype.or=s.prototype.or,s.prototype.xor=function(e){return w(this,e,(function(e,t){return e^t}))},u.prototype.xor=s.prototype.xor;function U(e){var n=e.value,r="number"==typeof n?n|1<<30:n[0]+n[1]*t|1073758208;return r&-r}function k(e,t){return e=W(e),t=W(t),e.greater(t)?e:t}function G(e,t){return e=W(e),t=W(t),e.lesser(t)?e:t}function Y(e,t){if(e=W(e).abs(),t=W(t).abs(),e.equals(t))return e;if(e.isZero())return t;if(t.isZero())return e;for(var n,r,i=a[1];e.isEven()&&t.isEven();)n=Math.min(U(e),U(t)),e=e.divide(n),t=t.divide(n),i=i.multiply(n);for(;e.isEven();)e=e.divide(U(e));do{for(;t.isEven();)t=t.divide(U(t));e.greater(t)&&(r=t,t=e,e=r),t=t.subtract(e)}while(!t.isZero());return i.isUnit()?e:e.multiply(i)}s.prototype.bitLength=function(){var e=this;return e.compareTo(r(0))<0&&(e=e.negate().subtract(r(1))),0===e.compareTo(r(0))?r(0):r(function e(t,n){if(n.compareTo(t)<=0){var i=e(t,n.square(n)),o=i.p,a=i.e,s=o.multiply(n);return s.compareTo(t)<=0?{p:s,e:2*a+1}:{p:o,e:2*a}}return{p:r(1),e:0}}(e,r(2)).e).add(r(1))},u.prototype.bitLength=s.prototype.bitLength;var x=function(e,t){for(var n=e.length,r=Math.abs(t),i=0;i<n;i++){if("-"!==(c=e[i].toLowerCase())&&/[a-z0-9]/.test(c)){if(/[0-9]/.test(c)&&+c>=r){if("1"===c&&1===r)continue;throw new Error(c+" is not a valid digit in base "+t+".")}if(c.charCodeAt(0)-87>=r)throw new Error(c+" is not a valid digit in base "+t+".")}}if(2<=t&&t<=36&&n<=o/Math.log(t)){var a=parseInt(e,t);if(isNaN(a))throw new Error(c+" is not a valid digit in base "+t+".");return new u(parseInt(e,t))}t=W(t);var s=[],l="-"===e[0];for(i=l?1:0;i<e.length;i++){var c,d=(c=e[i].toLowerCase()).charCodeAt(0);if(48<=d&&d<=57)s.push(W(c));else if(97<=d&&d<=122)s.push(W(c.charCodeAt(0)-87));else{if("<"!==c)throw new Error(c+" is not a valid character");var f=i;do{i++}while(">"!==e[i]);s.push(W(e.slice(f+1,i)))}}return V(s,t,l)};function V(e,t,n){var r,i=a[0],o=a[1];for(r=e.length-1;r>=0;r--)i=i.add(e[r].times(o)),o=o.times(t);return n?i.negate():i}function H(e){return e<=35?"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e):"<"+e+">"}function F(e,t){if((t=r(t)).isZero()){if(e.isZero())return{value:[0],isNegative:!1};throw new Error("Cannot convert nonzero numbers to base 0.")}if(t.equals(-1)){if(e.isZero())return{value:[0],isNegative:!1};if(e.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-e)).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var n=Array.apply(null,Array(+e-1)).map(Array.prototype.valueOf,[0,1]);return n.unshift([1]),{value:[].concat.apply([],n),isNegative:!1}}var i=!1;if(e.isNegative()&&t.isPositive()&&(i=!0,e=e.abs()),t.equals(1))return e.isZero()?{value:[0],isNegative:!1}:{value:Array.apply(null,Array(+e)).map(Number.prototype.valueOf,1),isNegative:i};for(var o,a=[],s=e;s.isNegative()||s.compareAbs(t)>=0;){o=s.divmod(t),s=o.quotient;var u=o.remainder;u.isNegative()&&(u=t.minus(u).abs(),s=s.next()),a.push(u.toJSNumber())}return a.push(s.toJSNumber()),{value:a.reverse(),isNegative:i}}function B(e,t){var n=F(e,t);return(n.isNegative?"-":"")+n.value.map(H).join("")}function j(e){if(l(+e)){var t=+e;if(t===p(t))return new u(t);throw new Error("Invalid integer: "+e)}var n="-"===e[0];n&&(e=e.slice(1));var r=e.split(/e/i);if(r.length>2)throw new Error("Invalid integer: "+r.join("e"));if(2===r.length){var i=r[1];if("+"===i[0]&&(i=i.slice(1)),(i=+i)!==p(i)||!l(i))throw new Error("Invalid integer: "+i+" is not a valid exponent.");var o=r[0],a=o.indexOf(".");if(a>=0&&(i-=o.length-a-1,o=o.slice(0,a)+o.slice(a+1)),i<0)throw new Error("Cannot include negative exponent part for integers");e=o+=new Array(i+1).join("0")}if(!/^([0-9][0-9]*)$/.test(e))throw new Error("Invalid integer: "+e);for(var c=[],d=e.length,_=d-7;d>0;)c.push(+e.slice(_,d)),(_-=7)<0&&(_=0),d-=7;return f(c),new s(c,n)}function W(e){return"number"==typeof e?function(e){if(l(e)){if(e!==p(e))throw new Error(e+" is not an integer.");return new u(e)}return j(e.toString())}(e):"string"==typeof e?j(e):e}s.prototype.toArray=function(e){return F(this,e)},u.prototype.toArray=function(e){return F(this,e)},s.prototype.toString=function(e){if(void 0===e&&(e=10),10!==e)return B(this,e);for(var t,n=this.value,r=n.length,i=String(n[--r]);--r>=0;)t=String(n[r]),i+="0000000".slice(t.length)+t;return(this.sign?"-":"")+i},u.prototype.toString=function(e){return void 0===e&&(e=10),10!=e?B(this,e):String(this.value)},s.prototype.toJSON=u.prototype.toJSON=function(){return this.toString()},s.prototype.valueOf=function(){return parseInt(this.toString(),10)},s.prototype.toJSNumber=s.prototype.valueOf,u.prototype.valueOf=function(){return this.value},u.prototype.toJSNumber=u.prototype.valueOf;for(var K=0;K<1e3;K++)a[K]=new u(K),K>0&&(a[-K]=new u(-K));return a.one=a[1],a.zero=a[0],a.minusOne=a[-1],a.max=k,a.min=G,a.gcd=Y,a.lcm=function(e,t){return e=W(e).abs(),t=W(t).abs(),e.divide(Y(e,t)).multiply(t)},a.isInstance=function(e){return e instanceof s||e instanceof u},a.randBetween=function(e,n){var r=G(e=W(e),n=W(n)),i=k(e,n).subtract(r).add(1);if(i.isSmall)return r.add(Math.floor(Math.random()*i));for(var o=[],a=!0,l=i.value.length-1;l>=0;l--){var c=a?i.value[l]:t,f=p(Math.random()*c);o.unshift(f),f<c&&(a=!1)}return o=d(o),r.add("number"==typeof o?new u(o):new s(o,!1))},a.fromArray=function(e,t,n){return V(e.map(W),W(t||10),n)},a}();e.hasOwnProperty("exports")&&(e.exports=r),void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}).call(this,n(209)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=Object.freeze({PRIMARY_DARK_100:"#f6f6f7",PRIMARY_DARK_130:"#eff0f0",PRIMARY_DARK_160:"#e6e6e8",PRIMARY_DARK_200:"#dcddde",PRIMARY_DARK_230:"#d1d3d5",PRIMARY_DARK_260:"#c6c8ca",PRIMARY_DARK_300:"#b9bbbe",PRIMARY_DARK_330:"#a3a6aa",PRIMARY_DARK_360:"#8e9297",PRIMARY_DARK_400:"#72767d",PRIMARY_DARK_430:"#686d73",PRIMARY_DARK_460:"#5d6269",PRIMARY_DARK_500:"#4f545c",PRIMARY_DARK:"#4f545c",PRIMARY_DARK_530:"#484c54",PRIMARY_DARK_560:"#40444b",PRIMARY_DARK_600:"#36393f",PRIMARY_DARK_630:"#2f3136",PRIMARY_DARK_660:"#292b2f",PRIMARY_DARK_700:"#202225",PRIMARY_DARK_730:"#1e1f22",PRIMARY_DARK_760:"#1b1d20",PRIMARY_DARK_800:"#18191c",PRIMARY_DARK_830:"#121315",PRIMARY_DARK_860:"#0c0d0e",PRIMARY_DARK_900:"#040405",PRIMARY_LIGHT_100:"#f8f9f9",PRIMARY_LIGHT_130:"#f2f3f5",PRIMARY_LIGHT_160:"#ebedef",PRIMARY_LIGHT_200:"#e3e5e8",PRIMARY_LIGHT_230:"#dbdee1",PRIMARY_LIGHT_260:"#d2d6da",PRIMARY_LIGHT_300:"#c7ccd1",PRIMARY_LIGHT_330:"#b6bcc4",PRIMARY_LIGHT_360:"#a6adb6",PRIMARY_LIGHT_400:"#9099a4",PRIMARY_LIGHT_430:"#88919d",PRIMARY_LIGHT_460:"#7f8996",PRIMARY_LIGHT_500:"#747f8d",PRIMARY_LIGHT:"#747f8d",PRIMARY_LIGHT_530:"#6a7480",PRIMARY_LIGHT_560:"#5e6772",PRIMARY_LIGHT_600:"#4f5660",PRIMARY_LIGHT_630:"#444b53",PRIMARY_LIGHT_660:"#3c4149",PRIMARY_LIGHT_700:"#2e3338",PRIMARY_LIGHT_730:"#2b2f35",PRIMARY_LIGHT_760:"#282c31",PRIMARY_LIGHT_800:"#23262a",PRIMARY_LIGHT_830:"#1b1d20",PRIMARY_LIGHT_860:"#111315",PRIMARY_LIGHT_900:"#060607",BRAND_100:"#f8f9fd",BRAND_130:"#f2f4fc",BRAND_160:"#ebeefa",BRAND_200:"#e3e7f8",BRAND_230:"#dae0f5",BRAND_260:"#d1d9f3",BRAND_300:"#c7d0f0",BRAND_330:"#b5c1ec",BRAND_360:"#a5b3e7",BRAND_400:"#8ea1e1",BRAND_430:"#869adf",BRAND_460:"#7d92dd",BRAND_500:"#7289da",BRAND:"#7289da",BRAND_530:"#687dc6",BRAND_560:"#5c6fb1",BRAND_600:"#4e5d94",BRAND_630:"#435180",BRAND_660:"#3b4770",BRAND_700:"#2e3757",BRAND_730:"#2b3352",BRAND_760:"#272f4b",BRAND_800:"#222941",BRAND_830:"#1a2032",BRAND_860:"#111521",BRAND_900:"#06070b",BRAND_NEW_100:"#f7f7fe",BRAND_NEW_130:"#f0f1fe",BRAND_NEW_160:"#e7e9fd",BRAND_NEW_200:"#dee0fc",BRAND_NEW_230:"#d4d7fc",BRAND_NEW_260:"#c9cdfb",BRAND_NEW_300:"#bcc1fa",BRAND_NEW_330:"#a8aff8",BRAND_NEW_360:"#949cf7",BRAND_NEW_400:"#7984f5",BRAND_NEW_430:"#707bf4",BRAND_NEW_460:"#6571f3",BRAND_NEW_500:"#5865f2",BRAND_NEW:"#5865f2",BRAND_NEW_530:"#505cdc",BRAND_NEW_560:"#4752c4",BRAND_NEW_600:"#3c45a5",BRAND_NEW_630:"#343b8f",BRAND_NEW_660:"#2d347d",BRAND_NEW_700:"#232861",BRAND_NEW_730:"#21265b",BRAND_NEW_760:"#1e2353",BRAND_NEW_800:"#1a1e49",BRAND_NEW_830:"#141738",BRAND_NEW_860:"#0d0f24",BRAND_NEW_900:"#04050c",STATUS_RED_100:"#fef6f6",STATUS_RED_130:"#fdeeee",STATUS_RED_160:"#fce4e4",STATUS_RED_200:"#fbd9da",STATUS_RED_230:"#facecf",STATUS_RED_260:"#f9c2c3",STATUS_RED_300:"#f8b3b5",STATUS_RED_330:"#f69c9e",STATUS_RED_360:"#f38688",STATUS_RED_400:"#f1686a",STATUS_RED_430:"#f05d60",STATUS_RED_460:"#ee5154",STATUS_RED_500:"#ed4245",STATUS_RED:"#ed4245",STATUS_RED_530:"#d83c3f",STATUS_RED_560:"#c03538",STATUS_RED_600:"#a12d2f",STATUS_RED_630:"#8c2729",STATUS_RED_660:"#7a2224",STATUS_RED_700:"#5f1a1c",STATUS_RED_730:"#59191a",STATUS_RED_760:"#521718",STATUS_RED_800:"#471415",STATUS_RED_830:"#370f10",STATUS_RED_860:"#240a0a",STATUS_RED_900:"#0c0303",STATUS_YELLOW_100:"#fffbf4",STATUS_YELLOW_130:"#fff7ea",STATUS_YELLOW_160:"#fef2de",STATUS_YELLOW_200:"#feedd1",STATUS_YELLOW_230:"#fee8c3",STATUS_YELLOW_260:"#fde2b5",STATUS_YELLOW_300:"#fddba3",STATUS_YELLOW_330:"#fcd188",STATUS_YELLOW_360:"#fcc66c",STATUS_YELLOW_400:"#fbb848",STATUS_YELLOW_430:"#fbb33b",STATUS_YELLOW_460:"#faad2c",STATUS_YELLOW_500:"#faa61a",STATUS_YELLOW:"#faa61a",STATUS_YELLOW_530:"#e49718",STATUS_YELLOW_560:"#cb8615",STATUS_YELLOW_600:"#aa7112",STATUS_YELLOW_630:"#93620f",STATUS_YELLOW_660:"#81550d",STATUS_YELLOW_700:"#64420a",STATUS_YELLOW_730:"#5e3e0a",STATUS_YELLOW_760:"#563909",STATUS_YELLOW_800:"#4b3208",STATUS_YELLOW_830:"#3a2606",STATUS_YELLOW_860:"#261904",STATUS_YELLOW_900:"#0d0801",STATUS_GREEN_100:"#f7fef9",STATUS_GREEN_130:"#f0fef4",STATUS_GREEN_160:"#e7fdee",STATUS_GREEN_200:"#ddfce7",STATUS_GREEN_230:"#d3fce0",STATUS_GREEN_260:"#c9fbd8",STATUS_GREEN_300:"#bcfacf",STATUS_GREEN_330:"#a7f8c0",STATUS_GREEN_360:"#93f7b2",STATUS_GREEN_400:"#79f59f",STATUS_GREEN_430:"#6ff498",STATUS_GREEN_460:"#64f391",STATUS_GREEN_500:"#57f287",STATUS_GREEN:"#57f287",STATUS_GREEN_530:"#4fdc7b",STATUS_GREEN_560:"#46c46d",STATUS_GREEN_600:"#3ba55c",STATUS_GREEN_630:"#338f50",STATUS_GREEN_660:"#2d7d46",STATUS_GREEN_700:"#236136",STATUS_GREEN_730:"#215b32",STATUS_GREEN_760:"#1e532e",STATUS_GREEN_800:"#1a4929",STATUS_GREEN_830:"#14381f",STATUS_GREEN_860:"#0d2414",STATUS_GREEN_900:"#040c07",STATUS_GREY_100:"#f8f9f9",STATUS_GREY_130:"#f2f3f5",STATUS_GREY_160:"#ebedef",STATUS_GREY_200:"#e3e5e8",STATUS_GREY_230:"#dbdee1",STATUS_GREY_260:"#d2d6da",STATUS_GREY_300:"#c7ccd1",STATUS_GREY_330:"#b6bcc4",STATUS_GREY_360:"#a6adb6",STATUS_GREY_400:"#9099a4",STATUS_GREY_430:"#88919d",STATUS_GREY_460:"#7f8996",STATUS_GREY_500:"#747f8d",STATUS_GREY:"#747f8d",STATUS_GREY_530:"#6a7480",STATUS_GREY_560:"#5e6772",STATUS_GREY_600:"#4f5660",STATUS_GREY_630:"#444b53",STATUS_GREY_660:"#3c4149",STATUS_GREY_700:"#2e3338",STATUS_GREY_730:"#2b2f35",STATUS_GREY_760:"#282c31",STATUS_GREY_800:"#23262a",STATUS_GREY_830:"#1b1d20",STATUS_GREY_860:"#111315",STATUS_GREY_900:"#060607",STATUS_ORANGE_100:"#fff8f5",STATUS_ORANGE_130:"#fef3ec",STATUS_ORANGE_160:"#feebe1",STATUS_ORANGE_200:"#fde4d6",STATUS_ORANGE_230:"#fcdcc9",STATUS_ORANGE_260:"#fcd3bc",STATUS_ORANGE_300:"#fbc9ad",STATUS_ORANGE_330:"#fab894",STATUS_ORANGE_360:"#f9a87b",STATUS_ORANGE_400:"#f7925a",STATUS_ORANGE_430:"#f68b4f",STATUS_ORANGE_460:"#f68241",STATUS_ORANGE_500:"#f57731",STATUS_ORANGE:"#f57731",STATUS_ORANGE_530:"#df6c2d",STATUS_ORANGE_560:"#c66028",STATUS_ORANGE_600:"#a75121",STATUS_ORANGE_630:"#90461d",STATUS_ORANGE_660:"#7e3d19",STATUS_ORANGE_700:"#623014",STATUS_ORANGE_730:"#5c2d12",STATUS_ORANGE_760:"#542911",STATUS_ORANGE_800:"#4a240f",STATUS_ORANGE_830:"#381b0b",STATUS_ORANGE_860:"#251207",STATUS_ORANGE_900:"#0c0602",FOCUS_PRIMARY_100:"#f2fbfe",FOCUS_PRIMARY_130:"#e8f8fe",FOCUS_PRIMARY_160:"#daf4fd",FOCUS_PRIMARY_200:"#cceffd",FOCUS_PRIMARY_230:"#bdeafc",FOCUS_PRIMARY_260:"#ace5fb",FOCUS_PRIMARY_300:"#99dffb",FOCUS_PRIMARY_330:"#7ad6f9",FOCUS_PRIMARY_360:"#5cccf8",FOCUS_PRIMARY_400:"#33c0f6",FOCUS_PRIMARY_430:"#25bbf6",FOCUS_PRIMARY_460:"#14b6f5",FOCUS_PRIMARY_500:"#00b0f4",FOCUS_PRIMARY:"#00b0f4",FOCUS_PRIMARY_530:"#00a0de",FOCUS_PRIMARY_560:"#008fc6",FOCUS_PRIMARY_600:"#0078a6",FOCUS_PRIMARY_630:"#006890",FOCUS_PRIMARY_660:"#005b7e",FOCUS_PRIMARY_700:"#004662",FOCUS_PRIMARY_730:"#00425b",FOCUS_PRIMARY_760:"#003d54",FOCUS_PRIMARY_800:"#003549",FOCUS_PRIMARY_830:"#002838",FOCUS_PRIMARY_860:"#001a25",FOCUS_PRIMARY_900:"#00090c",LINK_100:"#f2fbfe",LINK_130:"#e8f8fe",LINK_160:"#daf4fd",LINK_200:"#cceffd",LINK_230:"#bdeafc",LINK_260:"#ace5fb",LINK_300:"#99dffb",LINK_330:"#7ad6f9",LINK_360:"#5cccf8",LINK_400:"#33c0f6",LINK_430:"#25bbf6",LINK_460:"#14b6f5",LINK_500:"#00b0f4",LINK:"#00b0f4",LINK_530:"#00a0de",LINK_560:"#008fc6",LINK_600:"#0078a6",LINK_630:"#006890",LINK_660:"#005b7e",LINK_700:"#004662",LINK_730:"#00425b",LINK_760:"#003d54",LINK_800:"#003549",LINK_830:"#002838",LINK_860:"#001a25",LINK_900:"#00090c",LINK_LOW_SATURATION_100:"#f3fcff",LINK_LOW_SATURATION_130:"#e9f9ff",LINK_LOW_SATURATION_160:"#dcf5ff",LINK_LOW_SATURATION_200:"#cff2ff",LINK_LOW_SATURATION_230:"#c1eeff",LINK_LOW_SATURATION_260:"#b1e9ff",LINK_LOW_SATURATION_300:"#9fe4ff",LINK_LOW_SATURATION_330:"#82dcff",LINK_LOW_SATURATION_360:"#65d4ff",LINK_LOW_SATURATION_400:"#3fc9ff",LINK_LOW_SATURATION_430:"#32c6ff",LINK_LOW_SATURATION_460:"#22c1ff",LINK_LOW_SATURATION_500:"#0fbcff",LINK_LOW_SATURATION:"#0fbcff",LINK_LOW_SATURATION_530:"#0eabe8",LINK_LOW_SATURATION_560:"#0c98cf",LINK_LOW_SATURATION_600:"#0a80ad",LINK_LOW_SATURATION_630:"#096f96",LINK_LOW_SATURATION_660:"#086183",LINK_LOW_SATURATION_700:"#064b66",LINK_LOW_SATURATION_730:"#06465f",LINK_LOW_SATURATION_760:"#054158",LINK_LOW_SATURATION_800:"#05384d",LINK_LOW_SATURATION_830:"#032b3b",LINK_LOW_SATURATION_860:"#021c26",LINK_LOW_SATURATION_900:"#01090d",LINK_LIGHT_100:"#f2f7fd",LINK_LIGHT_130:"#e8f1fc",LINK_LIGHT_160:"#dae9fb",LINK_LIGHT_200:"#cce1f9",LINK_LIGHT_230:"#bdd7f7",LINK_LIGHT_260:"#accef5",LINK_LIGHT_300:"#99c2f3",LINK_LIGHT_330:"#7ab0ef",LINK_LIGHT_360:"#5c9eeb",LINK_LIGHT_400:"#3385e6",LINK_LIGHT_430:"#257de4",LINK_LIGHT_460:"#1473e2",LINK_LIGHT_500:"#0067e0",LINK_LIGHT:"#0067e0",LINK_LIGHT_530:"#005ecc",LINK_LIGHT_560:"#0053b5",LINK_LIGHT_600:"#004698",LINK_LIGHT_630:"#003d84",LINK_LIGHT_660:"#003573",LINK_LIGHT_700:"#00295a",LINK_LIGHT_730:"#002754",LINK_LIGHT_760:"#00234d",LINK_LIGHT_800:"#001f43",LINK_LIGHT_830:"#001834",LINK_LIGHT_860:"#000f22",LINK_LIGHT_900:"#00050b",WHITE_100:"#ffffff",WHITE_130:"#ffffff",WHITE_160:"#ffffff",WHITE_200:"#ffffff",WHITE_230:"#ffffff",WHITE_260:"#ffffff",WHITE_300:"#ffffff",WHITE_330:"#ffffff",WHITE_360:"#ffffff",WHITE_400:"#ffffff",WHITE_430:"#ffffff",WHITE_460:"#ffffff",WHITE_500:"#ffffff",WHITE:"#ffffff",WHITE_530:"#e8e8e8",WHITE_560:"#cfcfcf",WHITE_600:"#adadad",WHITE_630:"#969696",WHITE_660:"#838383",WHITE_700:"#666666",WHITE_730:"#5f5f5f",WHITE_760:"#585858",WHITE_800:"#4d4d4d",WHITE_830:"#3b3b3b",WHITE_860:"#262626",WHITE_900:"#0d0d0d",BLACK_100:"#f2f2f2",BLACK_130:"#e8e8e8",BLACK_160:"#dadada",BLACK_200:"#cccccc",BLACK_230:"#bdbdbd",BLACK_260:"#acacac",BLACK_300:"#999999",BLACK_330:"#7a7a7a",BLACK_360:"#5c5c5c",BLACK_400:"#333333",BLACK_430:"#252525",BLACK_460:"#141414",BLACK_500:"#000000",BLACK:"#000000",BLACK_530:"#000000",BLACK_560:"#000000",BLACK_600:"#000000",BLACK_630:"#000000",BLACK_660:"#000000",BLACK_700:"#000000",BLACK_730:"#000000",BLACK_760:"#000000",BLACK_800:"#000000",BLACK_830:"#000000",BLACK_860:"#000000",BLACK_900:"#000000",PREMIUM_TIER_2_PURPLE_500:"#b473f5",PREMIUM_TIER_2_PURPLE:"#b473f5",PREMIUM_TIER_2_PINK_500:"#e292aa",PREMIUM_TIER_2_PINK:"#e292aa",PREMIUM_TIER_1_PURPLE_500:"#b3aeff",PREMIUM_TIER_1_PURPLE:"#b3aeff",PREMIUM_TIER_1_BLUE_500:"#738ef5",PREMIUM_TIER_1_BLUE:"#738ef5",PREMIUM_GUILD_PINK_500:"#ff73fa",PREMIUM_GUILD_PINK:"#ff73fa",PREMIUM_GUILD_PURPLE_500:"#b377f3",PREMIUM_GUILD_PURPLE:"#b377f3",PREMIUM_GUILD_BLUE_500:"#3e70dd",PREMIUM_GUILD_BLUE:"#3e70dd",HYPESQUAD_HOUSE_1_500:"#9c84ef",HYPESQUAD_HOUSE_1:"#9c84ef",HYPESQUAD_HOUSE_2_500:"#f47b67",HYPESQUAD_HOUSE_2:"#f47b67",HYPESQUAD_HOUSE_3_500:"#45ddc0",HYPESQUAD_HOUSE_3:"#45ddc0",GOLD_500:"#ffc819",GOLD:"#ffc819",PARTNER_500:"#4087ed",PARTNER:"#4087ed",SKYPE_500:"#009dd7",SKYPE:"#009dd7",BATTLENET_500:"#009ae5",BATTLENET:"#009ae5",STEAM_500:"#182332",STEAM:"#182332",LOL_500:"#021f25",LOL:"#021f25",TWITCH_500:"#593695",TWITCH:"#593695",YOUTUBE_500:"#cb2120",YOUTUBE:"#cb2120",TWITTER_500:"#1da1f2",TWITTER:"#1da1f2",REDDIT_500:"#ff4500",REDDIT:"#ff4500",SPOTIFY_500:"#1db954",SPOTIFY:"#1db954",FACEBOOK_500:"#355089",FACEBOOK:"#355089",SAMSUNG_500:"#1429a0",SAMSUNG:"#1429a0",XBOX_500:"#107c10",XBOX:"#107c10",GITHUB_500:"#191717",GITHUB:"#191717",TRANSPARENT:"transparent"});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLocation=function(){var e={};return u.getState().impressions.forEach((function(t){t.type===o.ImpressionTypes.PAGE?e.page=t.name:e.section=t.name})),e},t.useImpressionStore=t.setDebugTrackedData=t.cleanupImpression=t.setCurrentImpression=void 0;var r,i=(r=n(251))&&r.__esModule?r:{default:r},o=n(95);function a(){return(a=Object.assign||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}).apply(this,arguments)}var s=Object.freeze({debugTrackedData:null,impressions:[]}),u=(0,i.default)((function(e){return s}));t.setCurrentImpression=function(e){u.setState((function(t){return{impressions:[].concat(t.impressions,[e])}}))};t.cleanupImpression=function(e){u.setState((function(t){return{impressions:t.impressions.filter((function(t){return t.sequenceId!==e.sequenceId}))}}))};t.setDebugTrackedData=function(e,t){u.setState((function(){return{debugTrackedData:a({name:e},t)}}))};var l=u;t.useImpressionStore=l},function(e,t,n){"use strict";n.r(t);var r=n(46);n.d(t,"Globals",(function(){return r}));var i=n(946);for(var o in i)["Globals","default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);var a=n(948);n.d(t,"useOnce",(function(){return a.b})),n.d(t,"useForceUpdate",(function(){return a.a})),n.d(t,"usePrev",(function(){return a.c}));var s=n(158);n.d(t,"noop",(function(){return s.g})),n.d(t,"defineHidden",(function(){return s.a})),n.d(t,"is",(function(){return s.d})),n.d(t,"isEqual",(function(){return s.f})),n.d(t,"isAnimatedString",(function(){return s.e})),n.d(t,"each",(function(){return s.b})),n.d(t,"toArray",(function(){return s.h})),n.d(t,"flush",(function(){return s.c}));var u=n(357);n.d(t,"FrameLoop",(function(){return u.a}));var l=n(358);n.d(t,"createInterpolator",(function(){return l.a}));var c=n(359);n.d(t,"hasFluidValue",(function(){return c.e})),n.d(t,"getFluidValue",(function(){return c.d})),n.d(t,"getFluidConfig",(function(){return c.c})),n.d(t,"setFluidConfig",(function(){return c.f})),n.d(t,"addFluidObserver",(function(){return c.b})),n.d(t,"FluidValue",(function(){return c.a}))},function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=o(n(1609)),i=o(n(1612));function o(e){return e&&e.__esModule?e:{default:e}}function a(e){return a.useDirectVideo?(0,i.default)(e):(0,r.default)(e)}a.defaultProps=r.default.defaultProps,a.useDirectVideo=!1},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AudioSubsystems",{enumerable:!0,get:function(){return i.AudioSubsystems}}),Object.defineProperty(t,"DeviceTypes",{enumerable:!0,get:function(){return i.DeviceTypes}}),Object.defineProperty(t,"InputModes",{enumerable:!0,get:function(){return i.InputModes}}),Object.defineProperty(t,"ConnectionStates",{enumerable:!0,get:function(){return i.ConnectionStates}}),Object.defineProperty(t,"SpeakingFlags",{enumerable:!0,get:function(){return i.SpeakingFlags}}),Object.defineProperty(t,"DEFAULT_VOLUME",{enumerable:!0,get:function(){return i.DEFAULT_VOLUME}}),Object.defineProperty(t,"DEFAULT_STREAM_VOLUME",{enumerable:!0,get:function(){return i.DEFAULT_STREAM_VOLUME}}),Object.defineProperty(t,"DEFAULT_VOICE_BITRATE",{enumerable:!0,get:function(){return i.DEFAULT_VOICE_BITRATE}}),Object.defineProperty(t,"DEFAULT_SOUNDSHARE_VOICE_BITRATE",{enumerable:!0,get:function(){return i.DEFAULT_SOUNDSHARE_VOICE_BITRATE}}),Object.defineProperty(t,"DEFAULT_CALL_BITRATE",{enumerable:!0,get:function(){return i.DEFAULT_CALL_BITRATE}}),Object.defineProperty(t,"DEFAULT_CALL_MIN_BITRATE",{enumerable:!0,get:function(){return i.DEFAULT_CALL_MIN_BITRATE}}),Object.defineProperty(t,"DEFAULT_CALL_MAX_BITRATE",{enumerable:!0,get:function(){return i.DEFAULT_CALL_MAX_BITRATE}}),Object.defineProperty(t,"DEFAULT_DEVICE_ID",{enumerable:!0,get:function(){return i.DEFAULT_DEVICE_ID}}),Object.defineProperty(t,"DISABLED_DEVICE_ID",{enumerable:!0,get:function(){return i.DISABLED_DEVICE_ID}}),Object.defineProperty(t,"DEFAULT_PRIORITY_SPEAKER_DUCKING",{enumerable:!0,get:function(){return i.DEFAULT_PRIORITY_SPEAKER_DUCKING}}),Object.defineProperty(t,"MediaEngineContextTypes",{enumerable:!0,get:function(){return i.MediaEngineContextTypes}}),Object.defineProperty(t,"Codecs",{enumerable:!0,get:function(){return i.Codecs}}),Object.defineProperty(t,"Features",{enumerable:!0,get:function(){return i.Features}}),Object.defineProperty(t,"MediaTypes",{enumerable:!0,get:function(){return i.MediaTypes}}),Object.defineProperty(t,"NoiseCancellerError",{enumerable:!0,get:function(){return i.NoiseCancellerError}}),Object.defineProperty(t,"ResolutionTypes",{enumerable:!0,get:function(){return i.ResolutionTypes}}),Object.defineProperty(t,"PING_INTERVAL",{enumerable:!0,get:function(){return i.PING_INTERVAL}}),Object.defineProperty(t,"VIDEO_QUALITY_LOW_WIDTH",{enumerable:!0,get:function(){return i.VIDEO_QUALITY_LOW_WIDTH}}),Object.defineProperty(t,"VIDEO_QUALITY_LOW_HEIGHT",{enumerable:!0,get:function(){return i.VIDEO_QUALITY_LOW_HEIGHT}}),Object.defineProperty(t,"VIDEO_QUALITY_LOW_MIN_BITRATE",{enumerable:!0,get:function(){return i.VIDEO_QUALITY_LOW_MIN_BITRATE}}),Object.defineProperty(t,"VIDEO_QUALITY_LOW_MAX_BITRATE",{enumerable:!0,get:function(){return i.VIDEO_QUALITY_LOW_MAX_BITRATE}}),t.ProcessPriority=t.NativeFeatures=t.NATIVE_MODE_VALUES=t.WATCHDOG_TIMEOUT_MS=void 0;var r,i=n(34);t.WATCHDOG_TIMEOUT_MS=3e4;var o,a,s=((r={})[i.InputModes.VOICE_ACTIVITY]=1,r[i.InputModes.PUSH_TO_TALK]=2,r);t.NATIVE_MODE_VALUES=s,t.NativeFeatures=o,function(e){e.VOICE_SOUND_STOP_LOOP="voice_sound_stop_loop",e.VOICE_RELATIVE_SOUNDS="voice_relative_sounds",e.VOICE_LEGACY_SUBSYSTEM="voice_legacy_subsystem",e.VOICE_EXPERIMENTAL_SUBSYSTEM="voice_experimental_subsystem",e.ELEVATED_HOOK="elevated_hook",e.DEBUG_LOGGING="debug_logging",e.SOUNDSHARE="soundshare",e.SOUNDSHARE_LOOPBACK="soundshare_loopback",e.SET_AUDIO_DEVICE_BY_ID="set_audio_device_by_id",e.SET_VIDEO_DEVICE_BY_ID="set_video_device_by_id",e.LOOPBACK="loopback",e.WUMPUS_VIDEO="wumpus_video",e.HYBRID_VIDEO="hybrid_video",e.EXPERIMENTAL_ENCODERS="experimental_encoders",e.EXPERIMENT_CONFIG="experiment_config",e.REMOTE_LOCUS_NETWORK_CONTROL="remote_locus_network_control",e.SCREEN_PREVIEWS="screen_previews",e.WINDOW_PREVIEWS="window_previews",e.AUDIO_DEBUG_STATE="audio_debug_state",e.CONNECTION_REPLAY="connection_replay",e.SIMULCAST="simulcast",e.SIMULCAST_BUGFIX="simulcast_bugfix",e.RTC_REGION_RANKING="RTC_REGION_RANKING",e.VIDEO_EFFECTS="video_effects",e.DIRECT_VIDEO="direct_video",e.ELECTRON_VIDEO="electron_video"}(o||(t.NativeFeatures=o={})),t.ProcessPriority=a,function(e){e[e.LOW=2]="LOW",e[e.BELOW_NORMAL=1]="BELOW_NORMAL",e[e.NORMAL=0]="NORMAL",e[e.ABOVE_NORMAL=-1]="ABOVE_NORMAL",e[e.HIGH=-2]="HIGH"}(a||(t.ProcessPriority=a={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(64),i=n(350),o=u(n(960)),a=u(n(1617)),s=n(135);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=new o.default,_=function(e){var t,n;function r(t){var n;return(n=e.call(this)||this)._mute=!1,n._echoCancellation=!0,n._noiseSuppression=!0,n._automaticGainControl=!0,n.speaking=!1,n.mode=s.InputModes.VOICE_ACTIVITY,n.modeOptions={delay:20,threshold:-40},n.destroyed=!1,n.context=t,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var o,u,_,p=r.prototype;return p.destroy=function(){var e;this.removeAllListeners(),null===(e=this.cleanup)||void 0===e||e.call(this),this.reset(),null!=this.stream&&(f.release(this.stream),this.stream=void 0),this.destroyed=!0},p.reset=function(){this.setSpeaking(!1)},p.resume=function(){this.context.resume()},p.getDelayedStream=function(e){void 0===e&&(e=.2);var t=this.context;if(null==this.stream)throw new Error("AudioInput: No MediaStream");var n=t.createDelay(e);n.delayTime.value=e,t.createMediaStreamSource(this.stream).connect(n);var r=t.createMediaStreamDestination();return n.connect(r),r.stream},p.enable=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,n,r,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return null!=this.cleanup&&(this.cleanup(),this.cleanup=void 0),null!=this.stream&&(f.release(this.stream),this.stream=void 0),e.next=4,(0,i.getAudioInputDevices)();case 4:return t=e.sent,n={echoCancellation:this.echoCancellation,noiseSuppression:this.noiseSuppression,autoGainControl:this.automaticGainControl},t.some((function(e){return e.id===o.sourceId}))&&(n.deviceId=this.sourceId),e.prev=7,e.next=10,f.acquire({audio:n});case 10:if(r=e.sent,!this.destroyed){e.next=14;break}throw f.release(r),new Error("AudioInput: Already destroyed");case 14:return this.stream=r,this.updateMode(),this.updateAudioTracks(),this.emit("permission",!0),this.emit("stream",r),e.abrupt("return",r);case 22:if(e.prev=22,e.t0=e.catch(7),"string"==typeof e.t0){e.next=34;break}e.t1=e.t0.name,e.next="PermissionDeniedError"===e.t1||"NotAllowedError"===e.t1?28:"PermissionDismissedError"===e.t1?30:"DevicesNotFoundError"===e.t1||"NotFoundError"===e.t1?32:33;break;case 28:throw this.emit("permission",!1),s.UserMediaErrors.PERMISSION_DENIED;case 30:throw this.emit("permission",!1),s.UserMediaErrors.PERMISSION_DISMISSED;case 32:throw s.UserMediaErrors.NO_DEVICES_FOUND;case 33:throw e.t0.name||"UNKNOWN";case 34:throw e.t0;case 35:case"end":return e.stop()}}),e,this,[[7,22]])})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){l(o,r,i,a,s,"next",e)}function s(e){l(o,r,i,a,s,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}(),p.setSource=function(e){this.sourceId!==e&&(this.sourceId=e,this.stream&&this.enable())},p.setPTTActive=function(e){var t=this;this.mute||this.speaking!==e&&(this.pttReleaseDelayTimeout&&(window.clearTimeout(this.pttReleaseDelayTimeout),this.pttReleaseDelayTimeout=void 0),e?this.setSpeaking(e):this.pttReleaseDelayTimeout=window.setTimeout((function(){t.setSpeaking(!1),t.pttReleaseDelayTimeout=void 0}),this.modeOptions.delay))},p.setMode=function(e,t){this.mode=e,this.modeOptions=t,this.stream&&this.enable()},p.updateMode=function(){this.cleanup&&(this.cleanup(),this.cleanup=void 0),null!=this.stream&&this.mode===s.InputModes.VOICE_ACTIVITY&&(this.cleanup=this.setupVoiceActivity(this.modeOptions))},p.setupVoiceActivity=function(e){var t=this,n=e.threshold;if(null==this.stream)throw new Error("stream cannot be null");null==n&&(n=-40);var r=new a.default(this.context,this.stream,n);return r.onProcess=function(e,n){t.mute||t.setSpeaking(e),t.emit("voiceactivity",n)},function(){null!=r&&(r.stop(),r=null,t.setSpeaking(!1))}},p.setSpeaking=function(e){this.speaking!==e&&(this.speaking=e,this.emit("speaking",e))},p.updateAudioTracks=function(){if(null!=this.stream)for(var e=this.stream.getAudioTracks(),t=0,n=e.length;t<n;t++)e[t].enabled=!this._mute},o=r,(u=[{key:"state",get:function(){return this.context.state}},{key:"mute",get:function(){return this._mute},set:function(e){this._mute=e,this.updateAudioTracks(),this.setSpeaking(!1)}},{key:"echoCancellation",get:function(){return this._echoCancellation},set:function(e){this._echoCancellation!==e&&(this._echoCancellation=e,this.stream&&this.enable())}},{key:"noiseSuppression",get:function(){return this._noiseSuppression},set:function(e){this._noiseSuppression!==e&&(this._noiseSuppression=e,this.stream&&this.enable())}},{key:"automaticGainControl",get:function(){return this._automaticGainControl},set:function(e){this._automaticGainControl!==e&&(this._automaticGainControl=e,this.stream&&this.enable())}}])&&c(o.prototype,u),_&&c(o,_),r}(r.EventEmitter);t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.InputEvent=void 0;var r,i=s(n(1619)),o=s(n(440)),a=s(n(1620));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.InputEvent=r,function(e){e.Stream="stream",e.Video="video",e.Mute="mute",e.VoiceActivity="voiceactivity",e.DesktopSourceEnd="desktopsourceend",e.Speaking="speaking",e.AudioPermission="audio-permission",e.VideoPermission="video-permission",e.AddVideoTrack="add-video-track"}(r||(t.InputEvent=r={}));var l=function(e){var t,n;function i(t){var n;return(n=e.call(this)||this).video=new a.default,n.desktop=null,n.mergeStreams=function(){var e,t,i,o=new MediaStream;null!=n.desktop?(null===(e=n.desktop.stream)||void 0===e||e.getTracks().forEach((function(e){return o.addTrack(e)})),n.desktop.refreshSpeaking()):(null===(t=n.audio.stream)||void 0===t||t.getAudioTracks().forEach((function(e){return o.addTrack(e)})),null===(i=n.video.stream)||void 0===i||i.getVideoTracks().forEach((function(e){return o.addTrack(e)})));return n.stream=o,n.emit(r.Stream,o),n.emit(r.Video,n.getVideoStreamId()),o},n.handleVoiceActivity=function(e){n.emit(r.VoiceActivity,e)},n.handleDesktopSourceEnd=function(){n.emit(r.DesktopSourceEnd)},n.handleSpeaking=function(e){n.emit(r.Speaking,e)},n.handleAudioPermission=function(e){n.emit(r.AudioPermission,e)},n.handleVideoPermission=function(e){n.emit(r.VideoPermission,e)},n.audio=new o.default(t),n.audio.addListener("voiceactivity",n.handleVoiceActivity),n.audio.addListener("speaking",n.handleSpeaking),n.audio.addListener("stream",n.mergeStreams),n.audio.addListener("permission",n.handleAudioPermission),n.video.addListener("stream",n.mergeStreams),n.video.addListener("permission",n.handleVideoPermission),n.video.addListener("add-video-track",(function(e){return n.emit(r.AddVideoTrack,e)})),n}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var s=i.prototype;return s.destroy=function(){this.removeAllListeners(),this.destroyStreams()},s.destroyStreams=function(){var e;this.audio.destroy(),this.video.destroy(),null===(e=this.desktop)||void 0===e||e.destroy()},s.setDesktop=function(e){this.destroyStreams(),null==e||e.addListener("desktopsourceend",this.handleDesktopSourceEnd),null==e||e.addListener("speaking",this.handleSpeaking),this.desktop=e,this.mergeStreams()},s.reset=function(){var e;this.audio.reset(),null===(e=this.desktop)||void 0===e||e.reset()},s.getVideoStream=function(){return null!=this.desktop?this.desktop.stream:this.video.stream},s.getVideoStreamId=function(){return null!=this.desktop?this.desktop.getStreamId():this.video.getStreamId()},s.enableAudioInput=function(){this.audio.enable()},s.setAudioMode=function(e,t){this.audio.setMode(e,t)},s.setMute=function(e){this.audio.mute=e,this.emit(r.Mute,e)},s.setEchoCancellation=function(e){this.audio.echoCancellation=e},s.setNoiseSuppression=function(e){this.audio.noiseSuppression=e},s.setAutomaticGainControl=function(e){this.audio.automaticGainControl=e},s.setPTTActive=function(e){this.audio.setPTTActive(e)},s.setAudioSource=function(e){this.audio.setSource(e)},s.setVideoSource=function(e){this.video.setSource(e)},s.mute=function(){return this.audio.mute},s.resumeAudio=function(){this.audio.resume()},s.getAudioState=function(){return this.audio.state},s.hasDesktopSource=function(){return null!=this.desktop},i}(i.default);t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDirection=function(e){switch(e){case d.RECVONLY:return d.SENDONLY;case d.SENDONLY:return d.RECVONLY;case d.SENDRECV:return d.SENDRECV;default:return d.INACTIVE}},t.generateSessionDescription=function(e,t,n,o,a,s,u,l,f,h,m,v){var T=[];if(console.info("generateSessionDescription: "+JSON.stringify(m)),"Firefox"===i.default.name){var g="answer"===e?"passive":"active";m.forEach((function(e){var n=e[0],r=e[1],i=e[2],d=e[3],p=e[4];if("video"!==i||0!==l&&0!==h){var m="audio"===i?o:u,I="audio"===i?a:l,S="audio"===i?s:f;T.push(E(p,i,g,d,t,m,I,S,_(r,n,"audio"===i?c.AUDIO:c.VIDEO),v))}}))}else{var I="answer"===e?"passive":"actpass",S=(0,r.default)(m).filter((function(e){e[0],e[1];var t=e[2],n=e[3];e[4];return n!==d.INACTIVE&&"audio"===t})).map((function(e){var t=e[0];return _(e[1],t,c.AUDIO)})).value();if(T.push(E("audio","audio",I,n,t,o,a,s,r.default.flatten(S),v)),l>0){var y=(0,r.default)(m).filter((function(e){e[0],e[1];var t=e[2],n=e[3];e[4];return n!==d.INACTIVE&&"video"===t})).map((function(e){var t=e[0];return _(e[1],t,c.VIDEO)})).value();T.push(E("video","video",I,n,t,u,l,f,r.default.flatten(y),v,h))}}var A=p(T);return new RTCSessionDescription({type:e,sdp:A})},t.generateUnifiedSessionDescription=function(e,t,n,r,i,o,a,s,u,l,f,h){var m=[],v="answer"===e?"passive":"actpass";f.forEach((function(e){var f,p=e.ssrc,T=e.cname,g=e.type,I=e.direction,S=e.mid;""!==T?f=_(T,p,"audio"===g?c.AUDIO:c.VIDEO):(f=[],I===d.SENDONLY?I=d.INACTIVE:I===d.SENDRECV&&(I=d.RECVONLY));var y="audio"===g?n:o,A="audio"===g?r:a,O="audio"===g?null:l,N="audio"===g?i:s;m.push(E(S,g,v,I,t,y,A,N,f,h,O,u))}));var T=p(m);return new RTCSessionDescription({type:e,sdp:T})},t.extractSDP=m,t.truncateSDP=function(e){var t=m(e).codecs,n=t.find((function(e){return e.name===s.Codecs.VP8})),i=new RegExp("^a=ice|a=extmap|opus|VP8|"+(n&&n.rtxPayloadType||0)+" rtx","i");return{sdp:(0,r.default)(e).split(/\r\n/).filter((function(e){return i.test(e)})).uniq().join("\n"),codecs:t}},t.validateSdp=function(e){if(!e.includes("a=fingerprint"))return console.error("Remote SDP does not include fingerprint!"),!1;if(!e.includes("a=ice-ufrag"))return console.error("Remote SDP does not include ICE user name!"),!1;if(!e.includes("a=ice-pwd"))return console.error("Remote SDP does not include ICE password!"),!1;if(!e.includes("a=candidate"))return console.error("Remote SDP does not include ICE candidate!"),!1;if(!e.includes("c="))return console.error("Remote SDP does not include c-line!"),!1;var t=e.split("\n").filter((function(e){return e.startsWith("c=")})).join().trim();if(t.split(" ").length<3)return console.error("Incorrect c-line: "+t),!1;return!0},t.getExtensions=function(e){return(0,r.default)(e).split(/\r\n/).filter((function(e){return e.startsWith("a=extmap:")})).uniq().map((function(e){var t=e.split(" "),n=t[0].split("/");return{value:parseInt(n[0].substr(9),10),uri:t[1]}})).value()},t.USE_UNIFIED=t.Directions=t.Sentinels=void 0;var r=u(n(8)),i=u(n(66)),o=u(n(1624)),a=n(959),s=n(135);function u(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||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}).apply(this,arguments)}var c,d;t.Sentinels=c,function(e){e.AUDIO="a",e.VIDEO="v"}(c||(t.Sentinels=c={})),t.Directions=d,function(e){e.SENDRECV="sendrecv",e.SENDONLY="sendonly",e.RECVONLY="recvonly",e.INACTIVE="inactive"}(d||(t.Directions=d={}));var f=function(){var e=(0,a.platformVersion)();switch(i.default.name){case"Firefox":return e>=73;case"Safari":return e>=13;case"Chrome":return e>=80;default:return!1}}();t.USE_UNIFIED=f;function _(e,t,n){var r=e+"-"+t,i=""+n+r;return[{attribute:"cname",id:t,value:r},{attribute:"msid",id:t,value:r+" "+i},{attribute:"mslabel",id:t,value:r},{attribute:"label",id:t,value:i}]}function p(e){return o.default.write({version:0,timing:{start:0,stop:0},origin:{address:"127.0.0.1",ipVer:4,netType:"IN",sessionId:"1420070400000",sessionVersion:0,username:"-"},name:"-",msidSemantic:{semantic:"WMS",token:"*"},groups:[{type:"BUNDLE",mids:e.filter((function(e){return null!=e.mid})).map((function(e){return e.mid})).join(" ")}],media:e})}function E(e,t,n,a,u,c,_,p,E,h,m,v){if(a===d.INACTIVE&&!f)return{connection:{ip:"0.0.0.0",version:4},direction:d.INACTIVE,fmtp:[],payloads:_,port:0,protocol:"UDP/TLS/RTP/SAVPF",rtp:[{codec:"NULL",payload:_,rate:0}],mid:void 0,type:t};var T=o.default.parse(u).media[0];if(T.type=t,T.protocol="UDP/TLS/RTP/SAVPF",T.payloads=_,T.setup=n,T.mid=e,T.rtcpMux="rtcp-mux",T.direction=a,T.ssrcs=E,E.length>0&&(null!=m&&(T.ssrcGroups=(0,r.default)(E).chunk(4).map((function(e){var t=e[0].id;return{semantics:"FID",ssrcs:t+" "+(t+1)}})).value(),T.ssrcs=(0,r.default)(E).chunk(4).map((function(e){var t=e.map((function(e){return(e=l({},e)).id+=1,e}));return[].concat(e,t)})).flatten().value()),f||"Firefox"===i.default.name)){var g=E.find((function(e){return"msid"===e.attribute}));if(null==g)throw new Error("msid missing");T.msid=g.value,T.ssrcs=T.ssrcs.filter((function(e){return"cname"===e.attribute}))}switch(t){case"audio":"Firefox"===i.default.name?T.ext=h.filter((function(e){return"urn:ietf:params:rtp-hdrext:ssrc-audio-level"===e.uri})):(T.ext=h.filter((function(e){return"urn:ietf:params:rtp-hdrext:ssrc-audio-level"===e.uri||"http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01"===e.uri})),T.rtcpFb=[{type:"transport-cc",payload:_}]),T.rtp.push({codec:c,encoding:2,payload:_,rate:48e3}),c===s.Codecs.OPUS&&T.fmtp.push({config:"minptime=10;useinbandfec=1;usedtx="+(v?"0":"1"),payload:_}),T.maxptime=60;break;case"video":T.ext=h.filter((function(e){return"urn:ietf:params:rtp-hdrext:toffset"===e.uri||"http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"===e.uri||"urn:3gpp:video-orientation"===e.uri||"http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01"===e.uri||"http://www.webrtc.org/experiments/rtp-hdrext/playout-delay"===e.uri})),T.rtp.push({codec:c,payload:_,rate:9e4});var I="x-google-max-bitrate="+p;c===s.Codecs.H264&&(I+=";level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f"),T.fmtp.push({config:I,payload:_}),T.rtcpFb=[{type:"ccm",subtype:"fir",payload:_},{type:"nack",payload:_},{type:"nack",subtype:"pli",payload:_},{type:"goog-remb",payload:_},{type:"transport-cc",payload:_}],null!=m&&(T.rtp.push({codec:"rtx",payload:m,rate:9e4}),T.fmtp.push({config:"apt="+_,payload:m}),T.payloads=T.payloads+" "+m)}return T}function h(e,t,n,i,o){var a=r.default.find(e,{codec:i});if(null==a)return null;var u=r.default.find(t,(function(e){return RegExp("^apt="+a.payload).test(e.config)})),l=null;if(null!=u){var c=r.default.find(e,{codec:s.Codecs.RTX,payload:u.payload});null!=c&&(l=c.payload)}return{type:n,name:i,priority:o+1,payloadType:a.payload,rtxPayloadType:l}}function m(e){var t=o.default.parse(e).media.reduce((function(e,t){var n,i=t.type,o=t.rtp,a=t.ssrcs,u=t.fmtp,l=t.direction,c=t.mid;switch(e.outboundStreams.push({type:i,direction:l,mid:c}),i){case"audio":[s.Codecs.OPUS].forEach((function(t,n){var r=h(o,u,i,t,n);null!=r&&e.codecs.push(r)})),l===d.SENDRECV&&null!=(n=r.default.find(a,{attribute:"cname"}))&&(e.audioSSRC=n.id);break;case"video":[s.Codecs.H264,s.Codecs.VP8,s.Codecs.VP9].forEach((function(t,n){var r=h(o,u,i,t,n);null!=r&&e.codecs.push(r)})),l===d.SENDRECV&&(null!=(n=r.default.find(a,{attribute:"cname"}))&&(e.videoSSRC=n.id),0!==e.rtxPayloadType&&null!=(n=r.default.findLast(a,{attribute:"cname"}))&&(n.id===e.videoSSRC&&console.warn("Unable to find a unique rtx SSRC!"),e.rtxSSRC=n.id))}return e}),{outboundStreams:[],codecs:[],audioSSRC:0,videoSSRC:0,rtxSSRC:0,rtxPayloadType:0});return t.codecs=r.default.uniqWith(t.codecs,r.default.isEqual),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBuildPlatform=function(){switch(i.default.getPlatform()){case i.PlatformTypes.WINDOWS:var e=r.X86;return null!=window.DiscordNative&&(e=window.DiscordNative.os.arch),e===r.X86||e===r.IA32?o.BuildPlatformTypes.WIN32:o.BuildPlatformTypes.WIN64;case i.PlatformTypes.OSX:return o.BuildPlatformTypes.MACOS;case i.PlatformTypes.LINUX:return o.BuildPlatformTypes.LINUX;default:throw new Error("Unsupported build type")}};var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(16)),o=n(1);function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}!function(e){e.X86="x86",e.IA32="ia32"}(r||(r={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NativePermissionBaseUtils=void 0;var r=c(n(154)),i=c(n(13)),o=c(n(1740)),a=n(215),s=c(n(1741)),u=n(1),l=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}var _=function(){function e(){this.storage=new s.default}var t=e.prototype;return t.requestAuthorization=function(){var e,t=(e=regeneratorRuntime.mark((function e(t,n,r){var s,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"==typeof n){e.next=2;break}throw new Error("requestAuthorization: Was provided with not a function for "+t+".");case 2:return i.default.track(u.AnalyticEvents.PERMISSIONS_REQUESTED,{type:t}),e.next=5,n();case 5:return e.t0=e.sent,e.t1=a.NativePermissionStatus.AUTHORIZED,s=e.t0===e.t1,l=s?a.NativePermissionStates.ACCEPTED:a.NativePermissionStates.DENIED,o.default.setPermission(t,l),!s&&r.showAuthorizationError&&this.showAlert(t),e.abrupt("return",s);case 12:case"end":return e.stop()}}),e,this)})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){f(o,r,i,a,s,"next",e)}function s(e){f(o,r,i,a,s,"throw",e)}a(void 0)}))});return function(e,n,r){return t.apply(this,arguments)}}(),t.requestPermission=function(t,n){var r=e.defaultNativePermissionsRequestOptions(n);return this.requestPermissionCore(t,r)},t.hasPermission=function(t,n){var r=e.defaultNativePermissionsRequestOptions(n);return this.hasPermissionCore(t,r)},t.showAlert=function(e){var t,n=this,i=((t={})[a.NativePermissionTypes.CAMERA]=l.default.Messages.NO_CAMERA_ACCESS+". "+l.default.Messages.ENABLE_PRIVACY_ACCESS,t[a.NativePermissionTypes.AUDIO]=l.default.Messages.NO_MICRPHONE_ACCESS+". "+l.default.Messages.ENABLE_PRIVACY_ACCESS,t[a.NativePermissionTypes.PHOTOS]=l.default.Messages.NO_PHOTOS_ACCESS+". "+l.default.Messages.ENABLE_PRIVACY_ACCESS,t[a.NativePermissionTypes.INPUT_MONITORING]=l.default.Messages.NO_INPUT_MONITORING_ACCESS+". "+l.default.Messages.ENABLE_PRIVACY_ACCESS,t[a.NativePermissionTypes.CONTACTS]=l.default.Messages.NO_CONTACTS_ACCESS+". "+l.default.Messages.ENABLE_PRIVACY_ACCESS,t)[e];null!=i&&r.default.show({title:l.default.Messages.SYSTEM_PERMISSION_GRANT,body:i,onConfirm:function(){return n.openSettings(e)},cancelText:l.default.Messages.CANCEL,confirmText:l.default.Messages.DEVICE_SETTINGS})},e.defaultNativePermissionsRequestOptions=function(e){var t={showAuthorizationError:!0};return e?d({},t,{},e):t},e}();t.NativePermissionBaseUtils=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FocusRingContextManager=t.ACTIVE_RING_CONTEXT_MANAGER=void 0;var r,i,o,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),s=n(1701),u=n(1702);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}t.ACTIVE_RING_CONTEXT_MANAGER=o;var f=function(){function e(){this.offset=0,this.container=null,this.invalidate=function(){return null}}var n,r,i,a=e.prototype;return a.setContainer=function(e){this.container=e},a.showElement=function(e,n){var r,i,a;void 0===n&&(n={}),this.targetElement=e,this.targetAncestry=this.getElementAncestors(this.targetElement),this.boundingBox=void 0,this.className=n.className,this.offset=null!==(r=n.offset)&&void 0!==r?r:0,this.zIndex=n.zIndex,(i=this)!==o&&(null===(a=o)||void 0===a||a.hide(),t.ACTIVE_RING_CONTEXT_MANAGER=o=i),this.invalidate()},a.hide=function(){this.targetElement=void 0,this.targetAncestry=void 0,this.boundingBox=void 0,this.className=void 0,this.offset=0,this.zIndex=void 0,this.invalidate()},a.getElementAncestors=function(e){if(null==e)return{elements:[],styles:[]};for(var t=[],n=[],r=e;null!=r;)t.push(r),n.push(window.getComputedStyle(r)),r=r.parentElement;return{elements:t,styles:n}},a.getNextZIndexForAncestry=function(e){for(var t=0;t<e.elements.length;t++){var n=e.elements[t],r=e.styles[t],i=parseInt(r.getPropertyValue("z-index"));if(!isNaN(i))return i+1;if(n===this.container)break}},a.getBorderRadius=function(e){var t,n=null===(t=e.styles[0])||void 0===t?void 0:t.borderRadius;return parseInt(n)>0?n:void 0},a.makePositionFromDOMRect=function(e){if(null==this.container)return{};var t,n,r,i,o=this.container.getBoundingClientRect(),a=this.container,s=a.scrollTop,u=a.scrollLeft,l=0,c=0,d=0,f=0;"number"==typeof this.offset?(l=this.offset,c=this.offset,d=this.offset,f=this.offset):(l=null!==(t=this.offset.top)&&void 0!==t?t:0,c=null!==(n=this.offset.right)&&void 0!==n?n:0,d=null!==(r=this.offset.bottom)&&void 0!==r?r:0,f=null!==(i=this.offset.left)&&void 0!==i?i:0);return{top:s+e.top-o.top+l,width:e.width-(c+f),height:e.height-(d+l),left:u+e.left-o.left+f}},a.getStyle=function(){var e={};if(null!=this.boundingBox&&(e=c({},this.makePositionFromDOMRect(this.boundingBox),{zIndex:this.zIndex})),null!=this.targetElement&&null!=this.targetAncestry){var t,n,r=(0,s.getBackgroundColorFromAncestry)(this.targetAncestry);e=c({},this.makePositionFromDOMRect(this.targetElement.getBoundingClientRect()),((n={zIndex:null!==(t=this.zIndex)&&void 0!==t?t:this.getNextZIndexForAncestry(this.targetAncestry)})[u.FOCUS_RING_COLOR_CSS_PROPERTY]=(0,s.getBestFocusColor)(r),n[u.FOCUS_RING_RADIUS_CSS_PROPERTY]=this.getBorderRadius(this.targetAncestry),n))}return e},n=e,(r=[{key:"visible",get:function(){return null!=this.targetElement||null!=this.boundingBox}}])&&d(n.prototype,r),i&&d(n,i),e}();t.FocusRingContextManager=f;var _=new f;_.setContainer(null!==(r=null===(i=document.ownerDocument)||void 0===i?void 0:i.body)&&void 0!==r?r:document.body);var p=a.createContext(_);t.default=p},function(e,t,n){"use strict";var r=0;e.exports=function(){return String(r++)}},function(e,t,n){"use strict";function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0)).createContext((function(e,t,n){console.warn("AnalyticsTrackImpressionContext function unimplemented")}));t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,r.useState)(0)[1];return(0,r.useCallback)((function(){return e((function(e){return e+1}))}),[])};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getChunksFromScrollerState=i,t.default=function(e){var t=e.chunkSize,n=e.getScrollerState,a=e.forceUpdate,s=n(),u=s.dirty,l=s.scrollTop,c=s.offsetHeight;(0,r.useLayoutEffect)((function(){u&&a()}),[u,a]);var d=(0,r.useRef)(o);d.current=i(l,c,t);var f=d.current,_=f[0],p=f[1];return{forceUpdateOnChunkChange:(0,r.useCallback)((function(e){var r=n(),o=r.dirty,s=r.scrollTop,u=r.offsetHeight;if(!(o>0)){var l=i(s,u,t),c=l[0],f=l[1];(c!==d.current[0]||2===e&&f!==d.current[1])&&a()}}),[a,t,n]),chunkStart:_,chunkEnd:p,dirty:u}};var r=n(0);function i(e,t,n){return[Math.floor(e/n)-1,Math.ceil((e+t)/n)+1]}var o=[0,0]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.doesThreadMembersActionAffectMe=function(e){var t,n,r=i.default.getId();return null!=r&&(!!(null===(t=e.removedMemberIds)||void 0===t?void 0:t.includes(r))||!!(null===(n=e.addedMembers)||void 0===n?void 0:n.some((function(e){return e.userId===r}))))};var r,i=(r=n(11))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stopLurkingAll=_,t.stopLurking=function(e){void 0===e&&(e=null);var t=u.default.lurkingGuildIds();if(0===t.length)return;if(null!=e&&t.includes(e))return;var n=o.default.getGuildId(),r=a.default.getGuildId();return _([e,n,r].filter(s.isNotNullish))};var r=c(n(14)),i=c(n(2)),o=c(n(413)),a=c(n(94)),s=n(48),u=c(n(182)),l=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){d(o,r,i,a,s,"next",e)}function s(e){d(o,r,i,a,s,"throw",e)}a(void 0)}))}}function _(e){return p.apply(this,arguments)}function p(){return(p=f(regeneratorRuntime.mark((function e(t){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=u.default.lurkingGuildIds(),0!==(o=n.filter((function(e){return!t.includes(e)}))).length){e.next=4;break}return e.abrupt("return");case 4:return i.default.dispatch({type:l.ActionTypes.GUILD_STOP_LURKING,ignoredGuildIds:t}),e.next=7,Promise.all(o.map(function(){var e=f(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=u.default.isFromMobileDiscovery(),e.prev=1,e.next=4,r.default.delete({url:l.Endpoints.GUILD_LEAVE(t),body:{lurking:!0},oldFormErrors:!0});case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),i.default.dispatch({type:l.ActionTypes.GUILD_STOP_LURKING_FAILURE,lurkingGuildId:t,isFromMobileDiscovery:n});case 9:case"end":return e.stop()}}),e,null,[[1,6]])})));return function(t){return e.apply(this,arguments)}}()));case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(8)),i=o(n(5));function o(e){return e&&e.__esModule?e:{default:e}}function a(){return(a=Object.assign||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}).apply(this,arguments)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=function(){function e(e,t,n,r,i,o){void 0===i&&(i=32),void 0===o&&(o=10),this.computeBonus=e,this.computeWeight=t,this.afterCompute=r,this.lookupKey=n,this.usageHistory={},this.frequently=[],this.maxSamples=o,this.numFrequentlyItems=i,this.dirty=!1}var t,n,o,u=e.prototype;return u.overwriteHistory=function(e){this.usageHistory=r.default.mapValues(e||{},(function(e){return a({},e,{frecency:-1})})),this.markDirty()},u.markDirty=function(){this.dirty=!0},u.isDirty=function(){return this.dirty},u.track=function(e){if(null!=e){var t=Object.prototype.hasOwnProperty.call(this.usageHistory,e)?this.usageHistory[e]:void 0;if(t)for(t.frecency=-1,t.totalUses+=1,t.recentUses.push(Date.now());t.recentUses.length>this.maxSamples;)t.recentUses.shift();else t={totalUses:1,recentUses:[Date.now()],frecency:-1,score:0};this.usageHistory[e]=t,this.markDirty()}},u.getEntry=function(e){return null==e?null:(this.dirty&&this.compute(),Object.prototype.hasOwnProperty.call(this.usageHistory,e)?this.usageHistory[e]:void 0)},u.getScore=function(e){var t=this.getEntry(e);return null!=t?t.score:null},u.getFrecency=function(e){var t=this.getEntry(e);return null!=t?t.frecency:null},u.compute=function(){var e=this,t=(0,i.default)();r.default.forEach(this.usageHistory,(function(n,o){var a=n.totalUses,s=n.recentUses;if(-1===n.frecency){var u=e.computeBonus(o)/100;n.score=0,r.default.forEach(s,(function(r,o){if(o>=e.maxSamples)return!1;var a=e.computeWeight(t.diff((0,i.default)(r),"days"));n.score+=u*a})),n.score>0?(n.recentUses.length>0&&(n.frecency=Math.ceil(a*(n.score/s.length))),e.usageHistory[o]=n):delete e.usageHistory[o]}})),this.frequently=(0,r.default)(this.usageHistory).map((function(t,n){var r=e.lookupKey(n);return r?[r,t.frecency]:null})).filter((function(e){return null!==e})).sortBy((function(e){e[0];return-e[1]})).map((function(e){return e[0]})).take(this.numFrequentlyItems).value(),this.dirty=!1,this.afterCompute(this.usageHistory,this.frequently)},t=e,(n=[{key:"frequently",get:function(){return this.dirty&&this.compute(),this._frequently},set:function(e){this._frequently=e}}])&&s(t.prototype,n),o&&s(t,o),e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useChannelsUserCanStartStageIn=function(e){return a.default.getChannels(e.id)[a.GUILD_VOCAL_CHANNELS_KEY].map((function(e){return e.channel})).filter(E)},t.computeGuildsUserCanStartStageIn=m,t.default=function(){return r.useMemo((function(){return m()}),[])};var r=f(n(0)),i=n(203),o=c(n(81)),a=f(n(86)),s=c(n(15)),u=c(n(40)),l=n(48);function c(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function _(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function E(e){return!!e.isGuildStageVoice()&&(!!u.default.can(i.MODERATE_STAGE_CHANNEL_PERMISSIONS,e)&&null==o.default.getStageInstanceByChannel(e.id))}function h(e){for(var t,n=_(a.default.getChannels(e.id)[a.GUILD_VOCAL_CHANNELS_KEY]);!(t=n()).done;){var r=t.value.channel;if(E(r))return[e,r]}return null}function m(){var e=s.default.getGuilds();return Object.values(e).map(h).filter(l.isNotNullish)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isGuildEligibleForPublicStageDiscovery=function(e){if(null==e)return!1;var t=i.default.getCurrentConfig({guildId:e}).enablePublicStageDiscoveryForGuild,n=o.default.getCurrentConfig({}).enablePublicStageToggle;return i.default.trackExposure({guildId:e}),t&&n},t.useGuildEligibleForPublicStageDiscovery=function(e){var t=i.default.useExperiment({guildId:null!=e?e:""})[0].enablePublicStageDiscoveryForGuild,n=o.default.useExperiment({})[0].enablePublicStageToggle;if(r.useEffect((function(){null!=e&&i.default.trackExposure({guildId:e})}),[]),null==e)return!1;return t&&n},t.isCurrentUserEligibleForStageDiscovery=function(){return a.default.getCurrentConfig({}).enableStageDiscoveryForUser},t.useCurrentUserEligibleForStageDiscovery=function(){return a.default.useExperiment({})[0].enableStageDiscoveryForUser};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=s(n(1371)),o=s(n(1372)),a=s(n(1373));function s(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BlockedUser=t.BlockedUsersNotice=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(389),a=v(n(61)),s=v(n(1317)),u=v(n(407)),l=n(250),c=n(279),d=v(n(1376)),f=v(n(24)),_=v(n(272)),p=n(268),E=n(1),h=v(n(6)),m=v(n(5760));function v(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function g(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(){return(I=Object.assign||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}).apply(this,arguments)}var S=function(e){var t=e.channelId,n=(0,p.useStageBlockedUsersCount)(t);if(0===n)return null;return g("div",{className:m.default.blockedNotice},void 0,g(s.default,{className:m.default.blockedIcon,color:E.Colors.STATUS_RED}),g(f.default,{size:f.default.Sizes.SIZE_12,color:f.default.Colors.HEADER_SECONDARY},void 0,h.default.Messages.STAGE_BLOCKED_USERS_DESCRIPTION_COUNT.format({number:n})),g(a.default,{className:m.default.blockedButton,onClick:function(e){(0,o.openContextMenu)(e,(function(e){return i.createElement(A,I({},e,{channelId:t}))}),{position:l.Positions.LEFT,align:l.Align.BOTTOM})}},void 0,h.default.Messages.VIEW_ALL))};t.BlockedUsersNotice=S,S.displayName="BlockedUsersNotice";var y=function(e){var t=e.user,n=e.showStatus,r=e.moderator,i=e.speaker,o=null;n&&(o=i?h.default.Messages.STAGE_SPEAKER:r?h.default.Messages.STAGE_MODERATOR_TOOLTIP:h.default.Messages.STAGE_AUDIENCE);return g("div",{className:m.default.user},void 0,g(d.default,{src:t.getAvatarURL(null),size:c.Sizes.SIZE_32,muted:!1,deafen:!1,speaking:!1,ringing:!1,renderIcon:i?function(){return g(u.default,{className:m.default.icon})}:null},t.id),g("div",{className:m.default.userInfo},void 0,g("div",{className:m.default.username},void 0,g(f.default,{size:n?f.default.Sizes.SIZE_16:f.default.Sizes.SIZE_14},void 0,t.toString()),g(f.default,{size:n?f.default.Sizes.SIZE_16:f.default.Sizes.SIZE_14,color:f.default.Colors.HEADER_SECONDARY},void 0,"#"+t.discriminator)),g("div",{className:m.default.username},void 0,g(f.default,{size:f.default.Sizes.SIZE_12,color:f.default.Colors.STATUS_RED},void 0,h.default.Messages.BLOCKED),g(f.default,{size:f.default.Sizes.SIZE_12,color:f.default.Colors.MUTED},void 0," ","| ",o))))};t.BlockedUser=y,y.displayName="BlockedUser";var A=function(e){var t=e.channelId,n=(0,p.useStageBlockedUsers)(t);return g(_.default,{className:m.default.container},void 0,n.map((function(e){var t=e.user;return g(y,{user:t},t.id)})))};A.displayName="BlockedUsersPopout";var O=A;t.default=O},function(e,t,n){"use strict";var r={};(0,n(157).assign)(r,n(5439),n(5442),n(1127)),e.exports=r},function(e,t,n){"use strict";e.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"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScopeName=function(e){switch(e){case i.OAuth2Scopes.IDENTIFY:return o.default.Messages.SCOPE_IDENTIFY;case i.OAuth2Scopes.EMAIL:return o.default.Messages.SCOPE_EMAIL;case i.OAuth2Scopes.CONNECTIONS:return o.default.Messages.SCOPE_CONNECTIONS;case i.OAuth2Scopes.MESSAGES_READ:return o.default.Messages.SCOPE_MESSAGES_READ;case i.OAuth2Scopes.GUILDS:return o.default.Messages.SCOPE_GUILDS;case i.OAuth2Scopes.GUILDS_JOIN:return o.default.Messages.SCOPE_GUILDS_JOIN;case i.OAuth2Scopes.GDM_JOIN:return o.default.Messages.SCOPE_GDM_JOIN;case i.OAuth2Scopes.RPC:return o.default.Messages.SCOPE_RPC;case i.OAuth2Scopes.RPC_NOTIFICATIONS_READ:return o.default.Messages.SCOPE_RPC_NOTIFICATIONS_READ;case i.OAuth2Scopes.RPC_VOICE_WRITE:return o.default.Messages.SCOPE_RPC_VOICE_WRITE;case i.OAuth2Scopes.RPC_VOICE_READ:return o.default.Messages.SCOPE_RPC_VOICE_READ;case i.OAuth2Scopes.RPC_ACTIVITIES_WRITE:return o.default.Messages.SCOPE_RPC_ACTIVITIES_WRITE;case i.OAuth2Scopes.APPLICATIONS_BUILDS_UPLOAD:return o.default.Messages.SCOPE_APPLICATIONS_BUILDS_UPLOAD;case i.OAuth2Scopes.APPLICATIONS_BUILDS_READ:return o.default.Messages.SCOPE_APPLICATIONS_BUILDS_READ;case i.OAuth2Scopes.APPLICATIONS_COMMANDS:return o.default.Messages.SCOPE_APPLICATIONS_COMMANDS;case i.OAuth2Scopes.APPLICATIONS_COMMANDS_UPDATE:return o.default.Messages.SCOPE_APPLICATIONS_COMMANDS_UPDATE;case i.OAuth2Scopes.APPLICATIONS_STORE_UPDATE:return o.default.Messages.SCOPE_APPLICATIONS_STORE_UPDATE;case i.OAuth2Scopes.APPLICATIONS_ENTITLEMENTS:return o.default.Messages.SCOPE_APPLICATIONS_ENTITLEMENTS;case i.OAuth2Scopes.ACTIVITIES_READ:return o.default.Messages.SCOPE_ACTIVITIES_READ;case i.OAuth2Scopes.ACTIVITIES_WRITE:return o.default.Messages.SCOPE_ACTIVITIES_WRITE;case i.OAuth2Scopes.RELATIONSHIPS_READ:return o.default.Messages.SCOPE_RELATIONSHIPS_READ}throw new Error("Unknown scope: "+e)},t.getSecurityMessage=function(e){if(e.includes(i.OAuth2Scopes.MESSAGES_READ))return o.default.Messages.OAUTH2_CAN_READ_NOTICE.format();return o.default.Messages.OAUTH2_CANNOT_READ_SEND_NOTICE.format()},t.RemovedScopes=t.ValidScopes=t.OrderedAccountScopes=t.FakeScopes=void 0;var r,i=n(1),o=(r=n(6))&&r.__esModule?r:{default:r};var a=[o.default.Messages.OAUTH2_FAKE_SCOPE_1,o.default.Messages.OAUTH2_FAKE_SCOPE_2,o.default.Messages.OAUTH2_FAKE_SCOPE_3,o.default.Messages.OAUTH2_FAKE_SCOPE_4,o.default.Messages.OAUTH2_FAKE_SCOPE_5,o.default.Messages.OAUTH2_FAKE_SCOPE_6,o.default.Messages.OAUTH2_FAKE_SCOPE_7,o.default.Messages.OAUTH2_FAKE_SCOPE_8];t.FakeScopes=a;var s=[i.OAuth2Scopes.IDENTIFY,i.OAuth2Scopes.EMAIL,i.OAuth2Scopes.CONNECTIONS,i.OAuth2Scopes.MESSAGES_READ,i.OAuth2Scopes.GUILDS,i.OAuth2Scopes.GUILDS_JOIN,i.OAuth2Scopes.GDM_JOIN,i.OAuth2Scopes.RPC,i.OAuth2Scopes.RPC_NOTIFICATIONS_READ,i.OAuth2Scopes.RPC_VOICE_READ,i.OAuth2Scopes.RPC_VOICE_WRITE,i.OAuth2Scopes.RPC_ACTIVITIES_WRITE,i.OAuth2Scopes.APPLICATIONS_BUILDS_UPLOAD,i.OAuth2Scopes.APPLICATIONS_BUILDS_READ,i.OAuth2Scopes.APPLICATIONS_COMMANDS,i.OAuth2Scopes.APPLICATIONS_COMMANDS_UPDATE,i.OAuth2Scopes.APPLICATIONS_STORE_UPDATE,i.OAuth2Scopes.APPLICATIONS_ENTITLEMENTS,i.OAuth2Scopes.ACTIVITIES_READ,i.OAuth2Scopes.ACTIVITIES_WRITE,i.OAuth2Scopes.RELATIONSHIPS_READ];t.OrderedAccountScopes=s;var u=s.concat([i.OAuth2Scopes.WEBHOOK_INCOMING,i.OAuth2Scopes.BOT]);t.ValidScopes=u;t.RemovedScopes=["rpc.api"]},function(e,t,n){"use strict";e.exports=function(e){return"shift"===e||"ctrl"===e||"alt"===e||"meta"===e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e.score===t.score){var n=(e.comparator||"").toLocaleLowerCase(),r=(t.comparator||"").toLocaleLowerCase();if(n<r)return-1;if(n>r)return 1}return t.score-e.score}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.depunycodeLink=l,t.default=void 0;var r=a(n(911)),i=a(n(101)),o=a(n(142));function a(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||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}).apply(this,arguments)}var u=["file:","javascript:","vbscript:","data:"];function l(e){try{var t=o.default.parse(e),n=t.protocol||"";if(u.includes(n.toLowerCase()))throw new Error("bad protocol");if(null==t.hostname||0===t.hostname.length)throw new Error("no hostname");return t.hostname=r.default.toASCII(t.hostname),{displayTarget:o.default.format(s({},t,{auth:void 0})),target:o.default.format(t)}}catch(e){return null}}var c=s({},i.default.defaultRules.link,{match:function(e,t,n){return t.allowLinks?i.default.defaultRules.link.match(e,t,n):null},parse:function(e,t,n){var r=i.default.unescapeUrl(e[2]);if(!/^https?:\/\//i.test(r))return t(e[1],n);var o=l(r);if(null==o)return{type:"text",content:r};var a=o.target;return{content:t(e[1],n),target:a,title:e[3]}}});t.default=c},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),o=n(463),a=n(17),s=n.n(a),u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:{};function l(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var c=i.a.createContext||function(e,t){var n,i,a,c="__create-react-context-"+((u[a="__global_unique_id__"]=(u[a]||0)+1)+"__"),d=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=l(t.props.value),t}Object(o.a)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[c]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,i=e.value;((o=r)===(a=i)?0!==o||1/o==1/a:o!=o&&a!=a)?n=0:(n="function"==typeof t?t(r,i):1073741823,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,a},r.render=function(){return this.props.children},n}(r.Component);d.childContextTypes=((n={})[c]=s.a.object.isRequired,n);var f=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Object(o.a)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},r.componentDidMount=function(){this.context[c]&&this.context[c].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},r.componentWillUnmount=function(){this.context[c]&&this.context[c].off(this.onUpdate)},r.getValue=function(){return this.context[c]?this.context[c].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return f.contextTypes=((i={})[c]=s.a.object,i),{Provider:d,Consumer:f}};t.a=c}).call(this,n(44))},function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(1699);e.exports=_,e.exports.parse=o,e.exports.compile=function(e,t){return s(o(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=f;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,a=0,s="",c=t&&t.delimiter||"/";null!=(n=i.exec(e));){var d=n[0],f=n[1],_=n.index;if(s+=e.slice(a,_),a=_+d.length,f)s+=f[1];else{var p=e[a],E=n[2],h=n[3],m=n[4],v=n[5],T=n[6],g=n[7];s&&(r.push(s),s="");var I=null!=E&&null!=p&&p!==E,S="+"===T||"*"===T,y="?"===T||"*"===T,A=n[2]||c,O=m||v;r.push({name:h||o++,prefix:E||"",delimiter:A,optional:y,repeat:S,partial:I,asterisk:!!g,pattern:O?l(O):g?".*":"[^"+u(A)+"]+?"})}}return a<e.length&&(s+=e.substr(a)),s&&r.push(s),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),i=0;i<e.length;i++)"object"==typeof e[i]&&(n[i]=new RegExp("^(?:"+e[i].pattern+")$",d(t)));return function(t,i){for(var o="",s=t||{},u=(i||{}).pretty?a:encodeURIComponent,l=0;l<e.length;l++){var c=e[l];if("string"!=typeof c){var d,f=s[c.name];if(null==f){if(c.optional){c.partial&&(o+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(r(f)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var _=0;_<f.length;_++){if(d=u(f[_]),!n[l].test(d))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===_?c.prefix:c.delimiter)+d}}else{if(d=c.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):u(f),!n[l].test(d))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+d+'"');o+=c.prefix+d}}else o+=c}return o}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function l(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function c(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function f(e,t,n){r(t)||(n=t||n,t=[]);for(var i=(n=n||{}).strict,o=!1!==n.end,a="",s=0;s<e.length;s++){var l=e[s];if("string"==typeof l)a+=u(l);else{var f=u(l.prefix),_="(?:"+l.pattern+")";t.push(l),l.repeat&&(_+="(?:"+f+_+")*"),a+=_=l.optional?l.partial?f+"("+_+")?":"(?:"+f+"("+_+"))?":f+"("+_+")"}}var p=u(n.delimiter||"/"),E=a.slice(-p.length)===p;return i||(a=(E?a.slice(0,-p.length):a)+"(?:"+p+"(?=$))?"),a+=o?"$":i&&E?"":"(?="+p+"|$)",c(new RegExp("^"+a,d(n)),t)}function _(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return c(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(_(e[i],t,n).source);return c(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return f(o(e,n),t,n)}(e,t,n)}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h,t.DeclarativeConfirmModal=m;var r,i=_(n(0)),o=d(n(9)),a=d(n(29)),s=n(85),u=d(n(47)),l=_(n(35)),c=d(n(5767));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function _(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function p(){return(p=Object.assign||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}).apply(this,arguments)}function E(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e){var t,n,r=e.header,d=e.children,f=e.confirmText,_=e.cancelText,p=e.className,h=e.onConfirm,m=e.onCancel,v=e.onClose,T=e.bodyClassName,g=e.transitionState,I=e.confirmButtonColor,S=void 0===I?a.default.Colors.RED:I,y=e.focusCancel,A=void 0!==y&&y,O=(0,s.useUID)(),N=i.useRef(null);return i.useEffect((function(){A||setTimeout((function(){var e;return null===(e=N.current)||void 0===e?void 0:e.focus()}),0)}),[A]),null!=_&&(t=E(a.default,{type:"button",look:a.default.Looks.LINK,color:a.default.Colors.PRIMARY,onClick:function(){null==m||m(),v()},autoFocus:A},void 0,_)),null!=f&&(n=E(a.default,{buttonRef:N,type:"submit",color:S,onClick:function(){null==h||h(),v()},autoFocus:!A},void 0,f)),E(l.ModalRoot,{className:p,transitionState:g,"aria-labelledby":O},void 0,null!=r?E(l.ModalHeader,{separator:!1,id:O},void 0,E(u.default,{tag:u.default.Tags.H2,size:u.default.Sizes.SIZE_20},void 0,r)):null,E(l.ModalContent,{className:(0,o.default)(c.default.content,T)},void 0,d),E(l.ModalFooter,{},void 0,n,t))}function m(e){return E(l.default,{onCloseRequest:e.dismissable?e.onCancel:null,renderModal:function(t){return i.createElement(h,p({},t,e))}})}h.displayName="ConfirmModal",m.displayName="DeclarativeConfirmModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Types=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=s(n(9)),o=n(252),a=s(n(5741));function s(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(){return(l=Object.assign||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}).apply(this,arguments)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d={PRIMARY:"cardPrimary",DANGER:"cardDanger",WARNING:"cardWarning",SUCCESS:"cardSuccess",BRAND:"cardBrand",CUSTOM:"card"};t.Types=d;var f=function(e){var t,n;function s(){return e.apply(this,arguments)||this}return n=e,(t=s).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),s.prototype.render=function(){var e,t=this.props,n=t.children,s=t.editable,u=t.type,c=t.className,f=t.outline,_=function(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}(t,["children","editable","type","className","outline"]);return f?e="outline":u===d.PRIMARY&&s&&(e="editable"),r.createElement("div",l({className:(0,i.default)(c,(0,o.getClass)(a.default,u,e))},_),n)},s}(r.PureComponent);f.displayName="Card",f.Types=d,f.defaultProps={type:d.PRIMARY,outline:!1,editable:!1};var _=f;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AdvancedScrollerProps",{enumerable:!0,get:function(){return i.ScrollerProps}}),Object.defineProperty(t,"AdvancedScrollerRef",{enumerable:!0,get:function(){return i.ScrollerRef}}),t.default=t.AdvancedScrollerAuto=t.AdvancedScrollerThin=t.AdvancedScrollerNone=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(1725)),o=(r=n(381))&&r.__esModule?r:{default:r};function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}var s=(0,i.default)(o.default.none,o.default.fade);t.AdvancedScrollerNone=s;var u=(0,i.default)(o.default.thin,o.default.fade);t.AdvancedScrollerThin=u;var l=(0,i.default)(o.default.auto,o.default.fade);t.AdvancedScrollerAuto=l;var c=u;t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(8))&&r.__esModule?r:{default:r},a=n(1739);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this)._keyChildMapping={},n.addChildRef=function(e,t){n._keyChildMapping[e]=t},n.state={children:(0,a.getChildMapping)(t.children),firstRender:!0},n._currentlyTransitioningKeys=new Set,n._keysToEnter=[],n._keysToLeave=[],n._isMounted=!1,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n),r.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.firstRender,i=(0,a.getChildMapping)(e.children);return{children:r?i:(0,a.mergeChildMappings)(n,i),firstRender:!1}};var s=r.prototype;return s.componentDidMount=function(){this._isMounted=!0;var e=this.state.children;if(this.props.transitionAppear)for(var t in e)e[t]&&this.performAppear(t)},s.componentWillUnmount=function(){this._isMounted=!1,this._keyChildMapping={},this.setState({children:{}})},s.componentDidUpdate=function(e,t){if(e!==this.props){var n=(0,a.getChildMapping)(this.props.children),r=t.children;if(this.props.transitionEnter?this._enqueueTransitions(n,r,this._keysToEnter):this._keysToEnter.length&&(this._keysToEnter=[]),this.props.transitionLeave)this._enqueueTransitions(r,n,this._keysToLeave);else{var i=[];this._enqueueTransitions(r,n,i);for(var o=(0,a.mergeChildMappings)(r,n),s=0,u=i.length;s<u;s++)delete o[i[s]];this._isMounted&&this.setState({children:o}),this._keysToLeave.length&&(this._keysToLeave=[])}}if(this._keysToEnter.length){var l=this._keysToEnter;this._keysToEnter=[],l.forEach(this.performEnter,this)}if(this._keysToLeave.length){var c=this._keysToLeave;this._keysToLeave=[],c.forEach(this.performLeave,this)}},s._enqueueTransitions=function(e,t,n){for(var r in e){var i=t&&t.hasOwnProperty(r);!e[r]||i||this._currentlyTransitioningKeys.has(r)||n.push(r)}},s._perform=function(e,t,n,r){var i=this;void 0===r&&(r=!1),this._currentlyTransitioningKeys.add(e);var o=function(){return i._handleDonePerform(e,n,r)},a=this._keyChildMapping[e];null!=a&&null!=a[t]?a[t](o):o()},s._handleDonePerform=function(e,t,n){void 0===n&&(n=!1);var r=this._keyChildMapping[e];null!=r&&null!=r[t]&&r[t](),this._currentlyTransitioningKeys.delete(e);var i=(0,a.getChildMapping)(this.props.children);n?null!=i&&i.hasOwnProperty(e)?this.performEnter(e):this.setState((function(t){var n=t.children;n[e];return{children:function(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}(n,[e].map(u))}})):null!=i&&i.hasOwnProperty(e)||this.performLeave(e)},s.performAppear=function(e){this._perform(e,"componentWillAppear","componentDidAppear")},s.performEnter=function(e){this._perform(e,"componentWillEnter","componentDidEnter")},s.performLeave=function(e){this._perform(e,"componentWillLeave","componentDidLeave",!0)},s.render=function(){var e=this,t=this.props,n=t.childFactory,a=t.component,s=this.state.children,u=[],l=function(t){var r=s[t];null!=r&&u.push(i.cloneElement(null==n?r:n(r),{ref:function(n){return e.addChildRef(t,n)},key:t}))};for(var c in s)l(c);return i.createElement(a,o.default.omit(this.props,Object.keys(r.defaultProps)),u)},r}(i.Component);t.default=c,c.displayName="TransitionGroup",c.defaultProps={component:"span",transitionAppear:!0,transitionLeave:!0,transitionEnter:!0,childFactory:null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(3)),i=a(n(2)),o=n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l={},c=null;var d=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var i,o,a,d=r.prototype;return d.getGameDuration=function(e){var t=l[e];return null!=t?t.total_duration:0},d.getLastPlayedDateTime=function(e){var t=l[e];return null!=t?new Date(t.last_played_at).getTime():null},d.hasApplicationStatistic=function(e){return null!=l[e]},d.getCurrentUserStatisticsForApplication=function(e){return l[e]},d.getQuickSwitcherScoreForApplication=function(e){var t=l[e],n=0;if(null!=t){var r=Date.now(),i=new Date(t.last_played_at).getTime(),o=Math.floor((r-i)/864e5),a=Math.floor(1e3*t.total_duration/36e5);0===o?n+=50:o>=1&&o<2?n+=40:o>=2&&o<4?n+=30:o>=4&&o<7?n+=20:o>=7&&(n+=10),0===a?n+=0:a>=1&&a<12?n+=10:a>=12&&a<168?n+=20:a>=168&&a<720?n+=40:a>=720&&(n+=50)}return n},i=r,(o=[{key:"applicationStatistics",get:function(){return l}},{key:"lastFetched",get:function(){return c}}])&&s(i.prototype,o),a&&s(i,a),r}(r.default.Store))(i.default,{USER_ACTIVITY_STATISTICS_FETCH_SUCCESS:function(e){e.statistics.forEach((function(e){l[e.application_id]=e})),c=Date.now()},ACTIVITY_UPDATE_START:function(e){var t=e.duration,n=e.applicationId,r=e.distributor,i=l[n],a=(new Date).toISOString(),s=0,u=0;null!=i&&(s=i.total_duration,u=i.total_discord_sku_duration||0),s+=t,r===o.Distributors.DISCORD&&(u+=t),l[n]={application_id:n,total_duration:s,last_played_at:a,total_discord_sku_duration:u}},LOGOUT:function(e){return l={},void(c=null)}});t.default=d},,function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.impl=t.ObjectStorage=void 0;try{r=window.localStorage}catch(e){}try{delete window.localStorage}catch(e){}var i=function(){function e(){}var t=e.prototype;return t.get=function(e,t){var n=r.getItem(e);if(null!=n)try{n=JSON.parse(n)}catch(e){n=t}else n=t;return n},t.set=function(e,t){r.setItem(e,JSON.stringify(t))},t.remove=function(e){r.removeItem(e)},t.clear=function(){r.clear()},t.stringify=function(){return JSON.stringify(r||{})},e}(),o=function(){function e(){this.storage={}}var t=e.prototype;return t.get=function(e,t){return this.storage.hasOwnProperty(e)?this.storage[e]:t},t.set=function(e,t){this.storage[e]=t},t.remove=function(e){delete this.storage[e]},t.clear=function(){this.storage={}},t.stringify=function(){return JSON.stringify(this.storage)},e}();t.ObjectStorage=o;var a=function(){try{return r.setItem("test","test"),r.removeItem("test"),!0}catch(e){return!1}}()?new i:new o;t.impl=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_(n(14)),i=_(n(28)),o=_(n(2)),a=_(n(1418)),s=_(n(13)),u=n(150),l=_(n(755)),c=n(687),d=n(1),f=_(n(6));function _(e){return e&&e.__esModule?e:{default:e}}function p(){return(p=Object.assign||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}).apply(this,arguments)}function E(e,t){void 0===t&&(t=null),o.default.dispatch({type:d.ActionTypes.USER_SETTINGS_MODAL_INIT,section:e,subsection:t})}var h={open:function(e,t,n){void 0===e&&(e=null),void 0===t&&(t=null),void 0===n&&(n={openWithoutBackstack:!1}),E(e,t),(0,c.pushLayer)(d.Layers.USER_SETTINGS)},init:E,close:function(){var e=a.default.onClose;o.default.dispatch({type:d.ActionTypes.USER_SETTINGS_MODAL_CLOSE}),null!=e&&e()},setSection:function(e,t){void 0===t&&(t=null),o.default.dirtyDispatch({type:d.ActionTypes.USER_SETTINGS_MODAL_SET_SECTION,section:e,subsection:t})},updateAccount:function(e){o.default.dispatch({type:d.ActionTypes.USER_SETTINGS_MODAL_UPDATE_ACCOUNT,settings:e})},submitComplete:function(){o.default.dispatch({type:d.ActionTypes.USER_SETTINGS_MODAL_SUBMIT_COMPLETE})},reset:function(){o.default.dispatch({type:d.ActionTypes.USER_SETTINGS_MODAL_RESET})},saveAccountChanges:function(e,t){var n=this;o.default.dispatch({type:d.ActionTypes.USER_SETTINGS_MODAL_SUBMIT});var a=e.username,c=e.email,_=e.password,E=e.avatar,h=e.newPassword,m=e.discriminator,v=t.close;return(0,l.default)({title:f.default.Messages.TWO_FA_CHANGE_ACCOUNT},(function(e){var t=p({username:a,email:c,password:_,avatar:E,new_password:h},e),n=m?p({},t,{discriminator:m}):p({},t),o=i.default.get(d.DEVICE_TOKEN);null!=d.DEVICE_PUSH_PROVIDER&&null!=o&&(n.push_provider=d.DEVICE_PUSH_PROVIDER,n.push_token=o);var s=i.default.get(d.DEVICE_VOIP_TOKEN);return null!=d.DEVICE_PUSH_VOIP_PROVIDER&&null!=s&&(n.push_voip_provider=d.DEVICE_PUSH_VOIP_PROVIDER,n.push_voip_token=s),r.default.patch({url:d.Endpoints.ME,body:n,oldFormErrors:!0})}),{checkEnabled:!1,hooks:{onEarlyClose:function(){return o.default.dispatch({type:d.ActionTypes.USER_SETTINGS_MODAL_SUBMIT_FAILURE,errors:{}})}}}).then((function(e){var t=e.body,r=t.token;return s.default.track(d.AnalyticEvents.USER_AVATAR_UPDATED,{animated:(0,u.isAnimatedIconHash)(t.avatar)}),delete t.token,o.default.dispatch({type:d.ActionTypes.UPDATE_TOKEN,token:r}),o.default.dispatch({type:d.ActionTypes.CURRENT_USER_UPDATE,user:t}),v?n.close():n.submitComplete(),e}),(function(e){return o.default.dispatch({type:d.ActionTypes.USER_SETTINGS_MODAL_SUBMIT_FAILURE,errors:e.body}),e}))}};t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Types=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=s(n(9)),o=s(n(24)),a=s(n(5746));function s(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(){return(l=Object.assign||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}).apply(this,arguments)}var c={DEFAULT:"default",INPUT_PLACEHOLDER:"placeholder",DESCRIPTION:"description",LABEL_BOLD:"labelBold",LABEL_SELECTED:"labelSelected",LABEL_DESCRIPTOR:"labelDescriptor"};t.Types=c;var d="modeDefault",f="modeDisabled",_="modeSelectable",p=function(e){var t=e.type,n=void 0===t?c.DEFAULT:t,s=e.className,u=e.disabled,p=e.selectable,E=e.children,h=e.style,m=function(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}(e,["type","className","disabled","selectable","children","style"]),v=d;return u?v=f:p&&(v=_),r.createElement(o.default,l({className:(0,i.default)(a.default[n],s,a.default[v]),style:h},m),E)};p.displayName="FormText",p.Types=c;var E=p;t.default=E},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=s(n(0)),o=s(n(159));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function u(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function l(){return(l=Object.assign||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}).apply(this,arguments)}var c=function(e){var t=e.children,n=e.disabled,r=void 0!==n&&n,a=e.className,s=e.titleClassName,c=e.tag,d=void 0===c?o.Tags.H5:c,f=e.required,_=void 0!==f&&f,p=e.style,E=e.title,h=e.error,m=function(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}(e,["children","disabled","className","titleClassName","tag","required","style","title","error"]);return u("div",{className:null!=a?a:void 0,style:null!=p?p:void 0},void 0,null!=E||null!=h?i.createElement(o.default,l({tag:d,disabled:r,required:_,error:h,className:s},m),E):null,t)};c.displayName="FormItem",c.Tags=o.Tags;var d=c;t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=l(n(9)),a=l(n(5545)),s=n(1),u=l(n(5798));function l(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var _={XSMALL:u.default.xsmall,SMALL:u.default.small,MEDIUM:u.default.medium,LARGE:u.default.large};var p=function(e){var t,r=e.game,l=e.skuId,c=e.className,p=e.size,E=void 0===p?_.MEDIUM:p,h=function(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}(e,["game","skuId","className","size"]);return null!=l&&(t=function(e){if(null==e)return null;switch(e){case s.PremiumSubscriptionSKUs.GUILD:return n(5546);case s.PremiumSubscriptionSKUs.TIER_1:return n(5547);case s.PremiumSubscriptionSKUs.TIER_2:case s.PremiumSubscriptionSKUs.LEGACY:return n(5548);default:return null}}(l)),null!=r&&null==t&&(t=r.getIconURL(60)),null==t?f(a.default,{className:(0,o.default)(u.default.gameIcon,E,c)}):i.createElement("div",d({},h,{className:(0,o.default)(u.default.gameIcon,E,c),style:{backgroundImage:"url('"+t+"')"}}))};p.displayName="GameIcon",p.Sizes=_;var E=p;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=b(n(8)),o=b(n(137)),a=b(n(14)),s=b(n(2)),u=b(n(118)),l=n(156),c=n(1297),d=b(n(26)),f=b(n(400)),_=b(n(155)),p=b(n(71)),E=b(n(120)),h=b(n(39)),m=R(n(99)),v=b(n(312)),T=b(n(16)),g=b(n(43)),I=b(n(1234)),S=R(n(1286)),y=b(n(1390)),A=n(1),O=b(n(6));function N(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return N=function(){return e},e}function R(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=N();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function b(e){return e&&e.__esModule?e:{default:e}}function L(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function D(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){L(o,r,i,a,s,"next",e)}function s(e){L(o,r,i,a,s,"throw",e)}a(void 0)}))}}var C=[];function M(e){return e=e.toLowerCase(),T.default.isWindows()&&(e=(e=e.replace(/^[a-z]:/,"")).replace(/\\/g,"/")),e}function P(e){e&&((e=M(e)).endsWith("/")||(e+="/"),C.push(e))}function w(e,t){e=M(e);var n=!1;return C.forEach((function(t){!n&&e.startsWith(t)&&(e=e.substr(t.length),n=!0)})),n||(e=e.split("/").pop()),t||(e=e.includes("dosbox.exe")?e.split("/").slice(-3).join("/"):e.split("/").slice(-2).join("/")),e}function U(){return(U=D(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==r){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,e.next=5,g.default.ensureModule("discord_game_utils");case 5:return e.next=7,g.default.requireModule("discord_game_utils");case 7:r=e.sent,e.next=13;break;case 10:e.prev=10,e.t0=e.catch(2),new d.default("GamesActionCreators").error("could not load discord_game_utils",e.t0);case 13:return T.default.isWindows()&&(P((t=u.default.process.env).LOCALAPPDATA),P(t["PROGRAMFILES(X86)"]),P(t.PROGRAMFILES),P(t.PROGRAMW6432),P(t.PROGRAMDATA),P("/games/")),n=u.default.remoteApp.getPath,e.t1=P,e.next=18,n("home");case 18:return e.t2=e.sent,(0,e.t1)(e.t2),e.t3=P,e.next=23,n("appData");case 23:return e.t4=e.sent,(0,e.t3)(e.t4),e.t5=P,e.next=28,n("desktop");case 28:return e.t6=e.sent,(0,e.t5)(e.t6),e.t7=P,e.next=33,n("documents");case 33:return e.t8=e.sent,(0,e.t7)(e.t8),e.t9=P,e.next=38,n("downloads");case 38:e.t10=e.sent,(0,e.t9)(e.t10),(C=i.default.uniq(C)).sort((function(e,t){return t.length-e.length}));case 42:case"end":return e.stop()}}),e,null,[[2,10]])})))).apply(this,arguments)}function k(e,t,n,r,i){void 0===r&&(r=l.ActivityIntent.PLAY),void 0===i&&(i=!1),Y(e,null,n,i).then((function(){return v.default.waitConnected(e)})).then((function(){return Promise.race([v.default.waitSubscribed(e,A.RPCEvents.ACTIVITY_JOIN)])})).then((function(){return s.default.dispatch({type:A.ActionTypes.ACTIVITY_JOIN,applicationId:e,secret:t,intent:r,embedded:i})})).catch((function(){return s.default.dispatch({type:A.ActionTypes.ACTIVITY_JOIN_FAILED,applicationId:e})}))}function G(e,t){return null==e||""===e?null:{distributor:e,sku:t}}function Y(e,t,n,r){if(void 0===r&&(r=!1),r)return null==n?Promise.reject(new Error("Invalid channel ID")):((0,c.startEmbeddedActivity)(n,e),Promise.resolve());if(f.default.isConnected(e))return Promise.resolve();var i,u=null;if(null==t){var l=E.default.getActiveLibraryApplication(e);t=null!=l?l.branchId:e}if(_.default.isLaunchable(e,t)){var d=_.default.getState(e,t),m=E.default.getActiveLaunchOptionId(e,t);if(null==d)throw new Error("Missing dispatch game when launching");var T=E.default.getLibraryApplication(e,t);if(null==T)throw new Error("Missing library application when launching");u=(i=e,a.default.post({url:A.Endpoints.OAUTH2_AUTHORIZE,query:{client_id:i,response_type:"token",scope:[A.OAuth2Scopes.IDENTIFY].join(" ")},retries:3,body:{authorize:!0},oldFormErrors:!0}).then((function(e){var t=e.body.location.split(/#|\?/),n=o.default.parse(t[t.length-1]);if("invalid_request"===n.error)return null;if(null!=n.error)throw new Error("OAuth2 Error: "+n.error+": "+(n.error_description||"unknown error"));return n.access_token}),(function(e){if(404===e.status)return null;throw e}))).then((function(e){return v.default.launchDispatchApplication(d,e,h.default.locale,T.getBranchName(),m)}))}else{var g=p.default.getGame(e);u=null!=g?v.default.launch(g):v.default.launchGame(e)}var I=new Error("game not found");return null!=u?(s.default.dispatch({type:A.ActionTypes.LIBRARY_APPLICATION_ACTIVE_BRANCH_UPDATE,applicationId:e,branchId:t}),s.default.dispatch({type:A.ActionTypes.GAME_LAUNCH_START,applicationId:e}),u.then((function(t){s.default.dispatch({type:A.ActionTypes.GAME_LAUNCH_SUCCESS,applicationId:e,pids:t})})).catch((function(t){y.default.show(A.NoticeTypes.GENERIC,O.default.Messages.GAME_LAUNCH_FAILED_LAUNCH_TARGET_NOT_FOUND),s.default.dispatch({type:A.ActionTypes.GAME_LAUNCH_FAIL,applicationId:e,error:I})}))):(s.default.dispatch({type:A.ActionTypes.GAME_LAUNCH_FAIL,applicationId:e,error:I}),Promise.reject(I))}var x={addGame:function(e){s.default.dispatch({type:A.ActionTypes.RUNNING_GAME_ADD_OVERRIDE,pid:e})},fetchApplication:function(e,t){return void 0===t&&(t=!1),s.default.dirtyDispatch({type:A.ActionTypes.APPLICATION_FETCH,applicationId:e}),a.default.get({url:A.Endpoints.APPLICATION_PUBLIC(e),query:{with_guild:t},oldFormErrors:!0}).then((function(e){return s.default.dispatch({type:A.ActionTypes.APPLICATION_FETCH_SUCCESS,application:e.body}),e.body})).catch((function(t){return s.default.dispatch({type:A.ActionTypes.APPLICATION_FETCH_FAIL,applicationId:e}),Promise.reject(t)}))},fetchApplications:function(e){return D(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s.default.dirtyDispatch({type:A.ActionTypes.APPLICATIONS_FETCH,applicationIds:e}),t.prev=1,t.next=4,a.default.get({url:A.Endpoints.APPLICATIONS_PUBLIC,query:o.default.stringify({application_ids:e}),oldFormErrors:!0});case 4:n=t.sent,t.next=11;break;case 7:throw t.prev=7,t.t0=t.catch(1),s.default.dispatch({type:A.ActionTypes.APPLICATIONS_FETCH_FAIL,applicationIds:e}),t.t0;case 11:s.default.dispatch({type:A.ActionTypes.APPLICATIONS_FETCH_SUCCESS,applications:n.body});case 12:case"end":return t.stop()}}),t,null,[[1,7]])})))()},toggleOverlay:function(e){var t=p.default.getGameByName(e.name);if(null!=t){var n=E.default.getActiveLibraryApplication(t.id);if(null!=n){var r=m.toggleFlag(n.getFlags(),A.LibraryApplicationFlags.OVERLAY_DISABLED);return void S.updateFlags(n.id,n.branchId,r)}}s.default.dispatch({type:A.ActionTypes.RUNNING_GAME_TOGGLE_OVERLAY,game:e})},editName:function(e,t){s.default.dispatch({type:A.ActionTypes.RUNNING_GAME_EDIT_NAME,game:e,newName:t})},identifyGame:function(e,t){return function(){return U.apply(this,arguments)}().then((function(){return new Promise((function(t,n){null!=r?r.identifyGame(e,(function(r,i){0===r?i.icon&&i.name?(s.default.dispatch({type:A.ActionTypes.GAME_ICON_UPDATE,gameName:i.name,icon:"data:image/png;base64,"+i.icon}),t(i)):n(new Error("Did not find data on "+e)):n(new Error("Error "+r+" when fetching info on "+e))})):n(new Error("Game utils module not loaded"))}))}))},getDetectableGames:function(){p.default.fetching||null!=p.default.lastFetched||s.default.wait((function(){s.default.dispatch({type:A.ActionTypes.GAMES_DATABASE_FETCH}),a.default.get({url:A.Endpoints.APPLICATIONS_DETECTABLE,headers:{"If-None-Match":p.default.etag},retries:1,oldFormErrors:!0}).then((function(e){var t=e.body,n=e.headers.etag;s.default.dispatch({type:A.ActionTypes.GAMES_DATABASE_UPDATE,games:t,etag:n})}),(function(e){304===e.status?s.default.dispatch({type:A.ActionTypes.GAMES_DATABASE_UPDATE,games:[],etag:p.default.etag}):s.default.dispatch({type:A.ActionTypes.GAMES_DATABASE_FETCH_FAIL})}))}))},reportUnverifiedGame:function(e){var t=e.name,n=e.iconHash,r=e.publisher,i=e.distributor,o=e.sku,u=e.executableName;a.default.post({url:A.Endpoints.UNVERIFIED_APPLICATIONS,body:{name:t,os:T.default.platform,icon:n,distributor_application:G(i,o),executable:w(u,!1),publisher:r,report_version:A.GAME_REPORT_VERSION},retries:1,oldFormErrors:!0}).then((function(e){var t=e.body,n=t.name,r=t.hash,i=t.missing_data;s.default.dispatch({type:A.ActionTypes.UNVERIFIED_GAME_UPDATE,name:n,hash:r,missingData:i})}))},uploadIcon:function(e,t,n){a.default.post({url:A.Endpoints.UNVERIFIED_APPLICATIONS_ICONS,body:{application_name:e,application_hash:t,icon:n},retries:1,oldFormErrors:!0})},deleteEntry:function(e){s.default.dispatch({type:A.ActionTypes.RUNNING_GAME_DELETE_ENTRY,game:e})},launch:Y,join:function(e,t,n,r,i,o,a){return D(regeneratorRuntime.mark((function u(){var c;return regeneratorRuntime.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if(void 0===o&&(o=l.ActivityIntent.PLAY),void 0===a&&(a=!1),!__OVERLAY__){u.next=5;break}return s.default.dispatch({type:A.ActionTypes.OVERLAY_JOIN_GAME,userId:e,sessionId:t,applicationId:n,channelId:r,messageId:i}),u.abrupt("return",Promise.resolve(!0));case 5:return s.default.dispatch({type:A.ActionTypes.ACTIVITY_JOIN_LOADING,applicationId:n}),u.prev=6,u.next=9,I.default.getJoinSecret(e,t,n,r,i);case 9:return c=u.sent,k(n,c,r,o,a),u.abrupt("return",!0);case 14:return u.prev=14,u.t0=u.catch(6),s.default.dispatch({type:A.ActionTypes.ACTIVITY_JOIN_FAILED,applicationId:n}),u.abrupt("return",!1);case 18:case"end":return u.stop()}}),u,null,[[6,14]])})))()},joinWithSecret:k};t.default=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=h(n(130)),i=h(n(3)),o=h(n(2)),a=n(1214),s=h(n(708)),u=n(136),l=h(n(71)),c=h(n(428)),d=h(n(120)),f=h(n(1255)),_=h(n(5377)),p=h(n(39)),E=n(1);function h(e){return e&&e.__esModule?e:{default:e}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=!1,T=E.StatusTypes.ONLINE,g=0,I=[],S=!1,y=Object.freeze([]);function A(e){return(0,u.shouldShareApplicationActivity)(e,p.default,d.default)}function O(e){if((0,a.hasFlag)(e,E.ActivityFlags.EMBEDDED))return!0;switch(e.type){case E.ActivityTypes.LISTENING:return(0,a.isListeningOnSpotify)(e)?s.default.shouldShowActivity():null!=e.application_id&&A(e.application_id);case E.ActivityTypes.PLAYING:return null!=e.application_id?A(e.application_id):(t=e.name,null!=(n=l.default.getGameByName(t))?A(n.id):p.default.showCurrentGame);case E.ActivityTypes.STREAMING:case E.ActivityTypes.WATCHING:default:return null==e.application_id||A(e.application_id)}var t,n}function N(){g=c.default.getIdleSince()||0,S=c.default.isAFK(),(T=v?E.StatusTypes.INVISIBLE:p.default.status)===E.StatusTypes.ONLINE&&g>0&&(T=E.StatusTypes.IDLE);var e=T!==E.StatusTypes.INVISIBLE?f.default.getActivities().filter(O):[];(0,r.default)(I,e)||(I=e),y=_.default.getRemoteActivities()}var R=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(c.default,p.default,f.default,_.default,d.default,l.default),this.syncWith([f.default],N)},i.getPresence=function(e){return void 0===e&&(e=!0),{status:T,since:g,activities:this.getActivities(e),afk:S}},i.getStatus=function(){return T},i.getActivities=function(e){return void 0===e&&(e=!0),0===I.length&&e?y:I},i.getPrimaryActivity=function(e){return void 0===e&&(e=!0),I[0]||e&&y[0]||null},i.getApplicationActivity=function(e,t){return void 0===t&&(t=!0),this.findActivity((function(t){return t.application_id===e}),t)},i.findActivity=function(e,t){return void 0===t&&(t=!0),this.getActivities(t).find(e)},r}(i.default.Store))(o.default,{START_SESSION:function(e){return N()},CONNECTION_OPEN:function(e){return N()},OVERLAY_INITIALIZE:function(e){return N()},CONNECTION_CLOSED:function(e){return N()},IDLE:function(e){return N()},AFK:function(e){return N()},RUNNING_GAMES_CHANGE:function(e){return N()},STREAMING_UPDATE:function(e){return N()},USER_SETTINGS_UPDATE:function(e){return N()},LOCAL_ACTIVITY_UPDATE:function(e){return N()},SPOTIFY_PLAYER_STATE:function(e){return N()},SPOTIFY_PLAYER_PLAY:function(e){return N()},USER_CONNECTIONS_UPDATE:function(e){return N()},SESSIONS_REPLACE:function(e){return N()},RPC_APP_DISCONNECTED:function(e){return N()},LIBRARY_FETCH_SUCCESS:function(e){return N()},LIBRARY_APPLICATION_FLAGS_UPDATE_SUCCESS:function(e){return N()},ACTIVITY_SET_CUSTOM_STATUS:function(e){return N()},ACTIVITY_CLEAR_CUSTOM_STATUS:function(e){return N()},LOGOUT:function(e){return N()},EMBEDDED_ACTIVITY_CLOSE:function(e){return N()},EMBEDDED_ACTIVITY_OPEN:function(e){return N()},FORCE_INVISIBLE:function(e){return v=e.invisible,N()},WINDOW_FOCUS:function(e){return v=!1,N()}});t.default=R},function(e,t,n){"use strict";e.exports=function(e,t){var n=t.length,r=e.length;if(r>n)return!1;if(r===n)return e===t;e:for(var i=0,o=0;i<r;i++){for(var a=e.charCodeAt(i);o<n;)if(t.charCodeAt(o++)===a)continue e;return!1}return!0}},function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.InviteTargetTypes=t.InviteSendStates=void 0,t.InviteSendStates=r,function(e){e.SENDING="sending",e.SENT="sent",e.ERROR="error"}(r||(t.InviteSendStates=r={})),t.InviteTargetTypes=i,function(e){e[e.STREAM=1]="STREAM",e[e.EMBEDDED_APPLICATION=2]="EMBEDDED_APPLICATION"}(i||(t.InviteTargetTypes=i={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(14)),i=a(n(1597)),o=n(13);function a(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||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}).apply(this,arguments)}function u(e,t,n){var r=i.default.getCurrentConfig({}).useStandardAnalytics,a=t.trackedActionData,u=function(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}(t,["trackedActionData"]),l={url:u.url,request_method:n};return new Promise((function(t,n){e(u).then((function(e){if(r){var n=a.metadata;"function"==typeof a.metadata&&(n=a.metadata(e)),(0,o.trackNetworkAction)(a.event,s({status_code:e.status},l,{},n))}t(e)})).catch((function(e){if(r){var t,i,u=a.metadata;"function"==typeof a.metadata&&(u=a.metadata(e)),(0,o.trackNetworkAction)(a.event,s({status_code:e.status,error_code:null===(t=e.body)||void 0===t?void 0:t.code,error_message:null===(i=e.body)||void 0===i?void 0:i.message},l,{},u))}n(e)}))}))}var l={get:function(e){return u(r.default.get,e,"get")},post:function(e){return u(r.default.post,e,"post")},put:function(e){return u(r.default.put,e,"put")},patch:function(e){return u(r.default.patch,e,"patch")},delete:function(e){return u(r.default.delete,e,"del")}};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hexWithOpacity=s,t.colorMapWithOpacity=function(e,t){var n=e[0],r=e[1];if(7!==n.length||7!==r.length)throw new Error("Trying to transform non-hex value");return[s(n,Array.isArray(t)?t[0]:t),s(r,Array.isArray(t)?t[1]:t)]},t.hexToRgb=u,t.hexOpacityToRgba=function(e,t){var n=u(e),r=n.r,i=n.g,o=n.b;return"rgba("+r+", "+i+", "+o+", "+t+")"},t.rgbToHsl=function(e,t,n){e/=255,t/=255,n/=255;var r=Math.min(e,t,n),i=Math.max(e,t,n),o=i-r,a=0,s=0,u=0;a=0===o?0:i===e?(t-n)/o%6:i===t?(n-e)/o+2:(e-t)/o+4;(a=Math.round(60*a))<0&&(a+=360);return u=(i+r)/2,s=+(100*(s=0===o?0:o/(1-Math.abs(2*u-1)))).toFixed(1),u=+(100*u).toFixed(1),"hsl("+a+", calc(var(--saturation-factor, 1) * "+s+"%), "+u+"%)"},t.rgbToHex=function(e,t,n){return"#"+((1<<24)+(e<<16)+(t<<8)+n).toString(16).slice(1)},t.hslToHex=function(e,t,n){n/=100;var r=t*Math.min(n,1-n)/100,i=function(t){var i=(t+e/30)%12,o=n-r*Math.max(Math.min(i-3,9-i,1),-1);return Math.round(255*o).toString(16).padStart(2,"0")};return"#"+i(0)+i(8)+i(4)},t.roleHexToColorName=function(e,t){var n=l[e];if(null==n)return t?o.default.Messages.CUSTOM_COLOR:(new r.default("ColorUtils").warn("Role color "+e+" has not been localized!"),"undefined");return n},t.mixColors=function(e,t){var n=e.alpha,r=(1-n)*t.red+n*e.red,o=(1-n)*t.green+n*e.green,a=(1-n)*t.blue+n*e.blue,s=e.alpha+t.alpha*(1-e.alpha);return new i.default(r,o,a,s)};var r=a(n(26)),i=a(n(969)),o=a(n(6));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(""+e+Math.round(255*t).toString(16).toUpperCase()).padEnd(9,"0")}function u(e){"#"===e[0]&&(e=e.slice(1));var t=parseInt(e,16);return{r:t>>16&255,g:t>>8&255,b:255&t}}var l={"#1abc9c":o.default.Messages.TEAL,"#2ecc71":o.default.Messages.LIGHT_GREEN,"#3498db":o.default.Messages.SKY_BLUE,"#9b59b6":o.default.Messages.PURPLE,"#e91e63":o.default.Messages.MAGENTA,"#11806a":o.default.Messages.DARK_TEAL,"#1f8b4c":o.default.Messages.GREEN,"#206694":o.default.Messages.BLUE,"#71368a":o.default.Messages.DARK_PURPLE,"#ad1457":o.default.Messages.BURGUNDY,"#f1c40f":o.default.Messages.YELLOW,"#e67e22":o.default.Messages.ORANGE,"#e74c3c":o.default.Messages.SALMON,"#95a5a6":o.default.Messages.LIGHT_GREY,"#607d8b":o.default.Messages.DARK_GREY,"#c27c0e":o.default.Messages.TAN,"#a84300":o.default.Messages.BROWN,"#992d22":o.default.Messages.TERRACOTTA,"#979c9f":o.default.Messages.GREY,"#546e7a":o.default.Messages.DARK_BLUE,"#99aab5":o.default.Messages.LIGHT_BLUE}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canStreamInChannel=d,t.canWatchStream=function(e,t,n,r){var i=t.isInChannel(e.id,o.default.getCurrentUser().id),s=c(e,r)&&!(0,a.isChannelFull)(e,t,n);return!__OVERLAY__&&(i||s)},t.getStreamEligibleChannels=function(e,t,n){for(var r,o=[],a=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(e[i.GUILD_VOCAL_CHANNELS_KEY]);!(r=a()).done;){var s=r.value.channel;d(s,t,n)&&o.push(s)}return o};var r=u(n(63)),i=n(86),o=u(n(12)),a=n(292),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=function(e,t){return e.isPrivate()||t.can(r.default.combine(s.Permissions.CONNECT,s.Permissions.VIEW_CHANNEL),e)};function d(e,t,n,r){if(void 0===r&&(r=!0),e.isPrivate())return!0;if(e.isGuildStageVoice())return!1;if(r&&!c(e,n))return!1;if(!n.can(s.Permissions.STREAM,e))return!1;var i=t.getGuild(e.getGuildId());return null!=i&&i.afkChannelId!==e.id}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(9)),a=E(n(3)),s=E(n(5534)),u=E(n(426)),l=E(n(1160)),c=n(131),d=n(41),f=n(1),_=E(n(6)),p=E(n(5797));function E(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function m(){return(m=Object.assign||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}).apply(this,arguments)}function v(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={hasAcceptedTerms:!t.props.forceShow&&t.props.hasPreviouslyAcceptedTerms,hasAcceptedEULA:!t.props.forceShow&&t.props.hasPreviouslyAcceptedEULA},t.handleToggleTermsAcceptance=function(e,n){t.setState({hasAcceptedTerms:n})},t.handleToggleEULAAcceptance=function(e,n){t.setState({hasAcceptedEULA:n})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,T(t,n);var a=r.prototype;return a.componentDidMount=function(){this.props.onChange(this.hasAcceptedNeccessaryTerms(this.props,this.state))},a.componentDidUpdate=function(e,t){var n=this.hasAcceptedNeccessaryTerms(e,t),r=this.hasAcceptedNeccessaryTerms(this.props,this.state);r!==n&&this.props.onChange(r)},a.hasAcceptedNeccessaryTerms=function(e,t){return t.hasAcceptedTerms&&(null==e.eulaId||t.hasAcceptedEULA)},a.render=function(){var e=this.props,t=e.eulaId,n=e.applicationName,r=e.hasPreviouslyAcceptedTerms,a=e.hasPreviouslyAcceptedEULA,u=e.forceShow,E=e.disabled,h=e.className,T=e.checkboxLabel,g=e.checkboxClassname,I=e.checkboxLabelClassname,S=e.finePrint,y=this.state,A=y.hasAcceptedTerms,O=y.hasAcceptedEULA;return u||!r||null!=t&&!a?v("div",{className:h},void 0,v(c.FormTitle,{className:p.default.formTitle},void 0,_.default.Messages.BILLING_LEGAL_MUMBO_JUMBO),u||!r?v(l.default,{type:l.default.Types.INVERTED,value:A,onChange:this.handleToggleTermsAcceptance,disabled:E,className:(0,o.default)(p.default.checkbox,g)},void 0,v("div",{className:(0,o.default)(p.default.checkboxLabel,I)},void 0,null!=T?T:_.default.Messages.BILLING_LEGAL_MUMBO_JUMBO_LABEL.format({url:f.MarketingURLs.TERMS}))):null,null==t||!u&&a?null:v(l.default,{type:l.default.Types.INVERTED,value:O,onChange:this.handleToggleEULAAcceptance,disabled:E,className:p.default.checkbox},void 0,v("div",{className:p.default.checkboxLabel},void 0,_.default.Messages.BILLING_THIRD_PARTY_EULA_LABEL.format({applicationName:n,onClick:function(e){(0,d.openModal)((function(e){return i.createElement(s.default,m({eulaId:t},e))})),e.preventDefault()}}))),null==S?null:v("div",{className:p.default.finePrint},void 0,S)):null},r}(i.Component);g.displayName="PurchaseTerms";var I=a.default.connectStores([u.default],(function(e){var t=e.eulaId;return{hasPreviouslyAcceptedTerms:u.default.hasAcceptedStoreTerms,hasPreviouslyAcceptedEULA:null!=t&&u.default.hasAcceptedEULA(t)}}))(g);t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(null==e||null==e.type||e.type!==o.ActivityTypes.PLAYING)return null;if((0,i.default)(e))return o.ActivityGamePlatforms.XBOX;return null!=e.platform?e.platform:o.ActivityGamePlatforms.DESKTOP};var r,i=(r=n(753))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getToken=a,t.isAuthenticated=function(){return null!=a()&&!s()},t.isGuest=s,t.isGuestToken=u,t.getFingerprint=function(){return i.default.get("fingerprint")},t.getArtForPath=t.FINGERPRINT_KEY=void 0;var r=o(n(211)),i=o(n(28));function o(e){return e&&e.__esModule?e:{default:e}}function a(){return r.default.getToken()}function s(){return u(a())}function u(e){return null!=e&&e.startsWith("Guest ")}t.FINGERPRINT_KEY="fingerprint";t.getArtForPath=function(e){return null!=e&&/^\/developers/.test(e)?n(1545):null}},function(e,t,n){"use strict";n.r(t);var r=function(){var e={base:"https://twemoji.maxcdn.com/v/13.1.0/",ext:".png",size:"72x72",className:"emoji",convert:{fromCodePoint:function(e){var t="string"==typeof e?parseInt(e,16):e;if(t<65536)return s(t);return s(55296+((t-=65536)>>10),56320+(1023&t))},toCodePoint:h},onerror:function(){this.parentNode&&this.parentNode.replaceChild(u(this.alt,!1),this)},parse:function(t,n){n&&"function"!=typeof n||(n={callback:n});return("string"==typeof t?f:d)(t,{callback:n.callback||l,attributes:"function"==typeof n.attributes?n.attributes:p,base:"string"==typeof n.base?n.base:e.base,ext:n.ext||e.ext,size:n.folder||(r=n.size||e.size,"number"==typeof r?r+"x"+r:r),className:n.className||e.className,onerror:n.onerror||e.onerror});var r},replace:E,test:function(e){n.lastIndex=0;var t=n.test(e);return n.lastIndex=0,t}},t={"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},n=/(?:\ud83d\udc68\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc68\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc68\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\u200d\ud83e\udd1d\u200d\ud83e\uddd1|\ud83d\udc6b\ud83c[\udffb-\udfff]|\ud83d\udc6c\ud83c[\udffb-\udfff]|\ud83d\udc6d\ud83c[\udffb-\udfff]|\ud83d[\udc6b-\udc6d])|(?:\ud83d[\udc68\udc69])(?:\ud83c[\udffb-\udfff])?\u200d(?:\u2695\ufe0f|\u2696\ufe0f|\u2708\ufe0f|\ud83c[\udf3e\udf73\udf93\udfa4\udfa8\udfeb\udfed]|\ud83d[\udcbb\udcbc\udd27\udd2c\ude80\ude92]|\ud83e[\uddaf-\uddb3\uddbc\uddbd])|(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75]|\u26f9)((?:\ud83c[\udffb-\udfff]|\ufe0f)\u200d[\u2640\u2642]\ufe0f)|(?:\ud83c[\udfc3\udfc4\udfca]|\ud83d[\udc6e\udc71\udc73\udc77\udc81\udc82\udc86\udc87\ude45-\ude47\ude4b\ude4d\ude4e\udea3\udeb4-\udeb6]|\ud83e[\udd26\udd35\udd37-\udd39\udd3d\udd3e\uddb8\uddb9\uddcd-\uddcf\uddd6-\udddd])(?:\ud83c[\udffb-\udfff])?\u200d[\u2640\u2642]\ufe0f|(?:\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d[\udc68\udc69]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68|\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d[\udc68\udc69]|\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f|\ud83c\udff3\ufe0f\u200d\ud83c\udf08|\ud83c\udff4\u200d\u2620\ufe0f|\ud83d\udc15\u200d\ud83e\uddba|\ud83d\udc41\u200d\ud83d\udde8|\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc6f\u200d\u2640\ufe0f|\ud83d\udc6f\u200d\u2642\ufe0f|\ud83e\udd3c\u200d\u2640\ufe0f|\ud83e\udd3c\u200d\u2642\ufe0f|\ud83e\uddde\u200d\u2640\ufe0f|\ud83e\uddde\u200d\u2642\ufe0f|\ud83e\udddf\u200d\u2640\ufe0f|\ud83e\udddf\u200d\u2642\ufe0f)|[#*0-9]\ufe0f?\u20e3|(?:[©®\u2122\u265f]\ufe0f)|(?:\ud83c[\udc04\udd70\udd71\udd7e\udd7f\ude02\ude1a\ude2f\ude37\udf21\udf24-\udf2c\udf36\udf7d\udf96\udf97\udf99-\udf9b\udf9e\udf9f\udfcd\udfce\udfd4-\udfdf\udff3\udff5\udff7]|\ud83d[\udc3f\udc41\udcfd\udd49\udd4a\udd6f\udd70\udd73\udd76-\udd79\udd87\udd8a-\udd8d\udda5\udda8\uddb1\uddb2\uddbc\uddc2-\uddc4\uddd1-\uddd3\udddc-\uddde\udde1\udde3\udde8\uddef\uddf3\uddfa\udecb\udecd-\udecf\udee0-\udee5\udee9\udef0\udef3]|[\u203c\u2049\u2139\u2194-\u2199\u21a9\u21aa\u231a\u231b\u2328\u23cf\u23ed-\u23ef\u23f1\u23f2\u23f8-\u23fa\u24c2\u25aa\u25ab\u25b6\u25c0\u25fb-\u25fe\u2600-\u2604\u260e\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262a\u262e\u262f\u2638-\u263a\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267b\u267f\u2692-\u2697\u2699\u269b\u269c\u26a0\u26a1\u26a7\u26aa\u26ab\u26b0\u26b1\u26bd\u26be\u26c4\u26c5\u26c8\u26cf\u26d1\u26d3\u26d4\u26e9\u26ea\u26f0-\u26f5\u26f8\u26fa\u26fd\u2702\u2708\u2709\u270f\u2712\u2714\u2716\u271d\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u2764\u27a1\u2934\u2935\u2b05-\u2b07\u2b1b\u2b1c\u2b50\u2b55\u3030\u303d\u3297\u3299])(?:\ufe0f|(?!\ufe0e))|(?:(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75\udd90]|[\u261d\u26f7\u26f9\u270c\u270d])(?:\ufe0f|(?!\ufe0e))|(?:\ud83c[\udf85\udfc2-\udfc4\udfc7\udfca]|\ud83d[\udc42\udc43\udc46-\udc50\udc66-\udc69\udc6e\udc70-\udc78\udc7c\udc81-\udc83\udc85-\udc87\udcaa\udd7a\udd95\udd96\ude45-\ude47\ude4b-\ude4f\udea3\udeb4-\udeb6\udec0\udecc]|\ud83e[\udd0f\udd18-\udd1c\udd1e\udd1f\udd26\udd30-\udd39\udd3d\udd3e\uddb5\uddb6\uddb8\uddb9\uddbb\uddcd-\uddcf\uddd1-\udddd]|[\u270a\u270b]))(?:\ud83c[\udffb-\udfff])?|(?:\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f|\ud83c\udde6\ud83c[\udde8-\uddec\uddee\uddf1\uddf2\uddf4\uddf6-\uddfa\uddfc\uddfd\uddff]|\ud83c\udde7\ud83c[\udde6\udde7\udde9-\uddef\uddf1-\uddf4\uddf6-\uddf9\uddfb\uddfc\uddfe\uddff]|\ud83c\udde8\ud83c[\udde6\udde8\udde9\uddeb-\uddee\uddf0-\uddf5\uddf7\uddfa-\uddff]|\ud83c\udde9\ud83c[\uddea\uddec\uddef\uddf0\uddf2\uddf4\uddff]|\ud83c\uddea\ud83c[\udde6\udde8\uddea\uddec\udded\uddf7-\uddfa]|\ud83c\uddeb\ud83c[\uddee-\uddf0\uddf2\uddf4\uddf7]|\ud83c\uddec\ud83c[\udde6\udde7\udde9-\uddee\uddf1-\uddf3\uddf5-\uddfa\uddfc\uddfe]|\ud83c\udded\ud83c[\uddf0\uddf2\uddf3\uddf7\uddf9\uddfa]|\ud83c\uddee\ud83c[\udde8-\uddea\uddf1-\uddf4\uddf6-\uddf9]|\ud83c\uddef\ud83c[\uddea\uddf2\uddf4\uddf5]|\ud83c\uddf0\ud83c[\uddea\uddec-\uddee\uddf2\uddf3\uddf5\uddf7\uddfc\uddfe\uddff]|\ud83c\uddf1\ud83c[\udde6-\udde8\uddee\uddf0\uddf7-\uddfb\uddfe]|\ud83c\uddf2\ud83c[\udde6\udde8-\udded\uddf0-\uddff]|\ud83c\uddf3\ud83c[\udde6\udde8\uddea-\uddec\uddee\uddf1\uddf4\uddf5\uddf7\uddfa\uddff]|\ud83c\uddf4\ud83c\uddf2|\ud83c\uddf5\ud83c[\udde6\uddea-\udded\uddf0-\uddf3\uddf7-\uddf9\uddfc\uddfe]|\ud83c\uddf6\ud83c\udde6|\ud83c\uddf7\ud83c[\uddea\uddf4\uddf8\uddfa\uddfc]|\ud83c\uddf8\ud83c[\udde6-\uddea\uddec-\uddf4\uddf7-\uddf9\uddfb\uddfd-\uddff]|\ud83c\uddf9\ud83c[\udde6\udde8\udde9\uddeb-\udded\uddef-\uddf4\uddf7\uddf9\uddfb\uddfc\uddff]|\ud83c\uddfa\ud83c[\udde6\uddec\uddf2\uddf3\uddf8\uddfe\uddff]|\ud83c\uddfb\ud83c[\udde6\udde8\uddea\uddec\uddee\uddf3\uddfa]|\ud83c\uddfc\ud83c[\uddeb\uddf8]|\ud83c\uddfd\ud83c\uddf0|\ud83c\uddfe\ud83c[\uddea\uddf9]|\ud83c\uddff\ud83c[\udde6\uddf2\uddfc]|\ud83c[\udccf\udd8e\udd91-\udd9a\udde6-\uddff\ude01\ude32-\ude36\ude38-\ude3a\ude50\ude51\udf00-\udf20\udf2d-\udf35\udf37-\udf7c\udf7e-\udf84\udf86-\udf93\udfa0-\udfc1\udfc5\udfc6\udfc8\udfc9\udfcf-\udfd3\udfe0-\udff0\udff4\udff8-\udfff]|\ud83d[\udc00-\udc3e\udc40\udc44\udc45\udc51-\udc65\udc6a\udc6f\udc79-\udc7b\udc7d-\udc80\udc84\udc88-\udca9\udcab-\udcfc\udcff-\udd3d\udd4b-\udd4e\udd50-\udd67\udda4\uddfb-\ude44\ude48-\ude4a\ude80-\udea2\udea4-\udeb3\udeb7-\udebf\udec1-\udec5\uded0-\uded2\uded5\udeeb\udeec\udef4-\udefa\udfe0-\udfeb]|\ud83e[\udd0d\udd0e\udd10-\udd17\udd1d\udd20-\udd25\udd27-\udd2f\udd3a\udd3c\udd3f-\udd45\udd47-\udd71\udd73-\udd76\udd7a-\udda2\udda5-\uddaa\uddae-\uddb4\uddb7\uddba\uddbc-\uddca\uddd0\uddde-\uddff\ude70-\ude73\ude78-\ude7a\ude80-\ude82\ude90-\ude95]|[\u23e9-\u23ec\u23f0\u23f3\u267e\u26ce\u2705\u2728\u274c\u274e\u2753-\u2755\u2795-\u2797\u27b0\u27bf\ue50a])|\ufe0f/g,r=/\uFE0F/g,i=String.fromCharCode(8205),o=/[&<>'"]/g,a=/^(?:iframe|noframes|noscript|script|select|style|textarea)$/,s=String.fromCharCode;return e;function u(e,t){return document.createTextNode(t?e.replace(r,""):e)}function l(e,t){return"".concat(t.base,t.size,"/",e,t.ext)}function c(e){return h(e.indexOf(i)<0?e.replace(r,""):e)}function d(e,t){for(var r,i,o,s,l,d,f,_,p,E,h,m,v,T=function e(t,n){for(var r,i,o=t.childNodes,s=o.length;s--;)3===(i=(r=o[s]).nodeType)?n.push(r):1!==i||"ownerSVGElement"in r||a.test(r.nodeName.toLowerCase())||e(r,n);return n}(e,[]),g=T.length;g--;){for(o=!1,s=document.createDocumentFragment(),d=(l=T[g]).nodeValue,_=0;f=n.exec(d);){if((p=f.index)!==_&&s.appendChild(u(d.slice(_,p),!0)),m=c(h=f[0]),_=p+h.length,v=t.callback(m,t),m&&v){for(i in(E=new Image).onerror=t.onerror,E.setAttribute("draggable","false"),r=t.attributes(h,m))r.hasOwnProperty(i)&&0!==i.indexOf("on")&&!E.hasAttribute(i)&&E.setAttribute(i,r[i]);E.className=t.className,E.alt=h,E.src=v,o=!0,s.appendChild(E)}E||s.appendChild(u(h,!1)),E=null}o&&(_<d.length&&s.appendChild(u(d.slice(_),!0)),l.parentNode.replaceChild(s,l))}return e}function f(e,t){return E(e,(function(e){var n,r,i=e,a=c(e),s=t.callback(a,t);if(a&&s){for(r in i="<img ".concat('class="',t.className,'" ','draggable="false" ','alt="',e,'"',' src="',s,'"'),n=t.attributes(e,a))n.hasOwnProperty(r)&&0!==r.indexOf("on")&&-1===i.indexOf(" "+r+"=")&&(i=i.concat(" ",r,'="',n[r].replace(o,_),'"'));i=i.concat("/>")}return i}))}function _(e){return t[e]}function p(){return null}function E(e,t){return String(e).replace(n,t)}function h(e,t){for(var n=[],r=0,i=0,o=0;o<e.length;)r=e.charCodeAt(o++),i?(n.push((65536+(i-55296<<10)+(r-56320)).toString(16)),i=0):55296<=r&&r<=56319?i=r:n.push(r.toString(16));return n.join(t||"-")}}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?16:t,r=e.height,i=void 0===r?16:r,s=e.color,c=void 0===s?"currentColor":s,d=function(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}(e,["width","height","color"]);return o.createElement("svg",u({},(0,a.default)(d),{width:n,height:i,viewBox:"0 0 16 15.2"}),l("path",{d:"M7.4,11.17,4,8.62,5,7.26l2,1.53L10.64,4l1.36,1Z",fill:c}))}c.displayName="Verified"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=a(n(195)),o=a(n(6));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u,l,c=Object.freeze({UNKNOWN_BILLING_PROFILE:100001,UNKNOWN_PAYMENT_SOURCE:100002,UNKNOWN_SUBSCRIPTION:100003,ALREADY_SUBSCRIBED:100004,INVALID_PLAN:100005,PAYMENT_SOURCE_REQUIRED:100006,ALREADY_CANCELED:100007,INVALID_PAYMENT:100008,ALREADY_REFUNDED:100009,INVALID_BILLING_ADDRESS:100010,ALREADY_PURCHASED:100011,NEGATIVE_INVOICE_AMOUNT:100027,AUTHENTICATION_REQUIRED:100029});!function(e){e.CARD_NUMBER="cardNumber",e.CARD_CVC="cvc",e.CARD_EXPIRATION_DATE="expirationDate",e.CARD_NAME="name",e.ADDRESS_NAME="name",e.ADDRESS_LINE_1="line1",e.ADDRESS_LINE_2="line2",e.ADDRESS_CITY="city",e.ADDRESS_STATE="state",e.ADDRESS_POSTAL_CODE="postalCode",e.ADDRESS_COUNTRY="country"}(u||(u={})),function(e){e.ADDRESS_LINE_1="address_line1",e.ADDRESS_LINE_2="address_line2",e.ADDRESS_CITY="address_city",e.ADDRESS_STATE="address_state",e.ADDRESS_ZIP="address_zip",e.ADDRESS_COUNTRY="address_country",e.CARD_NUMBER="number",e.CARD_EXPIRATION_DATE="exp",e.CARD_EXPIRATION_MONTH="exp_month",e.CARD_EXPIRATION_YEAR="exp_year"}(l||(l={}));var d,f=Object.freeze(((r={})[l.ADDRESS_LINE_1]=u.ADDRESS_LINE_1,r[l.ADDRESS_LINE_2]=u.ADDRESS_LINE_2,r[l.ADDRESS_CITY]=u.ADDRESS_CITY,r[l.ADDRESS_STATE]=u.ADDRESS_STATE,r[l.ADDRESS_ZIP]=u.ADDRESS_POSTAL_CODE,r[l.ADDRESS_COUNTRY]=u.ADDRESS_COUNTRY,r[l.CARD_NUMBER]=u.CARD_NUMBER,r[l.CARD_EXPIRATION_DATE]=u.CARD_EXPIRATION_DATE,r[l.CARD_EXPIRATION_MONTH]=u.CARD_EXPIRATION_DATE,r[l.CARD_EXPIRATION_YEAR]=u.CARD_EXPIRATION_DATE,r));!function(e){e.CARD="card",e.ADDRESS="address"}(d||(d={}));var _=new Set([u.CARD_NUMBER,u.CARD_CVC,u.CARD_EXPIRATION_DATE,u.CARD_NAME]),p=new Set([u.ADDRESS_NAME,u.ADDRESS_LINE_1,u.ADDRESS_LINE_2,u.ADDRESS_CITY,u.ADDRESS_STATE,u.ADDRESS_POSTAL_CODE,u.ADDRESS_COUNTRY]),E=function(e){var t,n;function r(t,n){var r;for(var i in(r=e.call(this,t,n)||this).paymentId=null,r.code===c.NEGATIVE_INVOICE_AMOUNT?r.message=o.default.Messages.BILLING_ERROR_NEGATIVE_INVOICE_AMOUNT:r.code===c.UNKNOWN_PAYMENT_SOURCE?r.message=o.default.Messages.BILLING_ERROR_UNKNOWN_PAYMENT_SOURCE:429===r.status&&(r.message=o.default.Messages.BILLING_ERROR_RATE_LIMIT),r.fields){var a=f[i];if(null!=a){var s=r.fields[i];delete r.fields[i],r.fields[a]=s}}return null!=t.body&&"string"==typeof t.body.payment_id&&(r.paymentId=t.body.payment_id),r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var i=r.prototype;return i._isInFieldSet=function(e){for(var t in this.fields)if(e.has(t))return!0},i.hasCardError=function(){return this._isInFieldSet(_)},i.hasAddressError=function(){return this._isInFieldSet(p)},r}(i.default);E.ErrorCodes=c,E.Fields=u,E.Sections=d,E.CARD_ERRORS=_,E.ADDRESS_ERRORS=p;var h=E;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=y(n(0)),o=I(n(9)),a=I(n(66)),s=I(n(211)),u=I(n(3)),l=I(n(397)),c=y(n(735)),d=I(n(11)),f=I(n(12)),_=I(n(271)),p=n(415),E=I(n(61)),h=I(n(13)),m=n(368),v=n(1),T=I(n(6)),g=I(n(5810));function I(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,N(e,t)}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var b=function(e){var t=e.url,n=e.ptb,r=e.text,i=e.onClick;return R(_.default,{href:t,className:g.default.downloadButton,onClick:i},void 0,r,n?" PTB":"")};b.displayName="DownloadButton";var L=function(e){function t(){return e.apply(this,arguments)||this}return O(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.icon,i=n.ptb,a=n.url,s=n.onClick,u=n.onMouseEnter,l=n.className,c=n.claimed,d=n.os,f=(0,o.default)(g.default.icon,r);if(Array.isArray(a))t=g.default.list,e=a.map((function(e,t){var n=c?e.url(i):"";return R(b,{ptb:i,url:n,onClick:s,text:e.text},n+"-"+t)}));else{var _=c?a(i):void 0;e=R(b,{ptb:i,url:_,onClick:s,text:T.default.Messages.DOWNLOAD})}return R("li",{className:l,onMouseEnter:u},void 0,R("div",{className:g.default.contentWrapper},void 0,R("div",{className:g.default.iconWrap},void 0,R("div",{className:f}),R("div",{className:(0,o.default)(g.default.active,f)})),R("p",{},void 0,d),R("div",{className:(0,o.default)(g.default.downloadButtons,t)},void 0,e)))},t}(i.PureComponent);L.displayName="DownloadApp";var D=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={ptb:!1,active:void 0,desktop:{key:"desktop",platforms:[{os:T.default.Messages.PLATFORM_MACOS,icon:g.default.apple,url:function(e){return(0,m.makeDesktopDownloadURL)("osx",e)}},{os:T.default.Messages.PLATFORM_WINDOWS,icon:g.default.windows,url:function(e){return(0,m.makeDesktopDownloadURL)("win",e)}},{os:T.default.Messages.PLATFORM_LINUX,icon:g.default.linux,url:[{url:function(e){return(0,m.makeDesktopDownloadURL)("linux",e,"deb")},text:T.default.Messages.DEB},{url:function(e){return(0,m.makeDesktopDownloadURL)("linux",e,"tar.gz")},text:T.default.Messages.TAR_GZ}]}]},mobile:{key:"mobile",platforms:[{os:T.default.Messages.PLATFORM_IOS,icon:g.default.ios,url:function(){return v.DownloadLinks.IOS}},{os:T.default.Messages.PLATFORM_ANDROID,icon:g.default.android,url:function(){return v.DownloadLinks.ANDROID}}]}},t.renderPlatforms=function(e,n,r){return void 0===r&&(r=!1),e.map((function(e,i){var a,s=e.os,u=e.icon,l=e.url,c=n+i,d=(0,o.default)(g.default.platform,((a={})[g.default.active]=t.state.active===c,a));return R(L,{os:s,icon:u,url:l,claimed:t.props.claimed,className:d,onClick:t.handleClick.bind(A(t),s,r),onMouseEnter:t.handleMouseEnter.bind(A(t),c),ptb:r},c)}),A(t))},t.showStable=function(){t.setState({ptb:!1})},t.showPTB=function(){t.setState({ptb:!0})},t.handleClick=function(e,n){void 0===n&&(n=!1);var r=t.props,i=r.fingerprint,o=r.claimed,a=r.source;(s.default.getToken()||null!=i)&&h.default.track(v.AnalyticEvents.DOWNLOAD_APP,{platform:e,ptb:n,released:!0,has_e_mail:o,referring_location:a,qr_code:!1}),o||(l.default.pop(),c.openClaimAccountModal())},t.handleMouseEnter=function(e){t.setState({active:e})},t.handleClickContainer=function(e){e.target===e.currentTarget&&l.default.pop()},t}O(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this.props.source;switch(h.default.track(v.AnalyticEvents.OPEN_MODAL,{type:"Download App",source:{location:e}}),a.default.os.family){case"OS X":return this.handleMouseEnter(this.state.desktop.key+0);case"Windows":return this.handleMouseEnter(this.state.desktop.key+1);case"Ubuntu":case"Debian":case"Fedora":case"Red Hat":case"SuSE":case"Linux":return this.handleMouseEnter(this.state.desktop.key+2);case"iOS":return this.handleMouseEnter(this.state.mobile.key+0);case"Android":return this.handleMouseEnter(this.state.mobile.key+1);default:return null}},n.render=function(){var e;return e=this.state.ptb?T.default.Messages.DOWNLOAD_DESKTOP_PTB_FOOTER.format({onClick:this.showStable}):T.default.Messages.DOWNLOAD_DESKTOP_STABLE_FOOTER.format({onClick:this.showPTB}),R(E.default,{className:g.default.downloadApps,onClick:this.handleClickContainer,"aria-label":T.default.Messages.CLOSE},void 0,R("div",{className:g.default.inner},void 0,R("div",{className:g.default.platformsWrap},void 0,R("p",{className:g.default.header},void 0,T.default.Messages.DOWNLOAD_DESKTOP_TITLE),R("ul",{className:g.default.platforms},void 0,this.renderPlatforms(this.state.desktop.platforms,this.state.desktop.key,this.state.ptb)),R("p",{className:g.default.footer},void 0,e)),R("div",{className:g.default.platformsWrap},void 0,R("p",{className:g.default.header},void 0,T.default.Messages.DOWNLOAD_MOBILE_TITLE),R("ul",{className:g.default.platforms},void 0,this.renderPlatforms(this.state.mobile.platforms,this.state.mobile.key)))))},t}(i.PureComponent);D.displayName="DownloadApps",D.defaultProps={source:"Unspecified"};var C=u.default.connectStores([f.default,d.default],(function(){var e=f.default.getCurrentUser();return{claimed:null==e||e.isClaimed(),fingerprint:d.default.getFingerprint()}}))(D),M=function(e){function t(){return e.apply(this,arguments)||this}return O(t,e),t.prototype.render=function(){return i.createElement(C,this.props)},t}(i.PureComponent);M.displayName="DownloadAppsModal",M.modalConfig={key:"download-apps",backdropStyle:p.BackdropStyles.LIGHT};var P=M;t.default=P},function(e,t,n){"use strict";function r(){const e=(t=n(665))&&t.__esModule?t:{default:t};var t;return r=function(){return e},e}n(493),r().default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),r().default._babelPolyfill=!0},function(e,t,n){"use strict";n(494),n(637),n(639),n(642),n(644),n(646),n(648),n(650),n(652),n(654),n(656),n(658),n(660),n(664)},function(e,t,n){n(495),n(498),n(499),n(500),n(501),n(502),n(503),n(504),n(505),n(506),n(507),n(508),n(509),n(510),n(511),n(512),n(513),n(514),n(515),n(516),n(517),n(518),n(519),n(520),n(521),n(522),n(523),n(524),n(525),n(526),n(527),n(528),n(529),n(530),n(531),n(532),n(533),n(534),n(535),n(536),n(537),n(538),n(539),n(541),n(542),n(543),n(544),n(545),n(546),n(547),n(548),n(549),n(550),n(551),n(552),n(553),n(554),n(555),n(556),n(557),n(558),n(559),n(560),n(561),n(562),n(563),n(564),n(565),n(566),n(567),n(568),n(569),n(570),n(571),n(572),n(573),n(574),n(576),n(577),n(579),n(580),n(581),n(582),n(583),n(584),n(585),n(587),n(588),n(589),n(590),n(591),n(592),n(593),n(594),n(595),n(596),n(597),n(598),n(599),n(239),n(600),n(335),n(601),n(336),n(602),n(603),n(604),n(605),n(337),n(608),n(609),n(610),n(611),n(612),n(613),n(614),n(615),n(616),n(617),n(618),n(619),n(620),n(621),n(622),n(623),n(624),n(625),n(626),n(627),n(628),n(629),n(630),n(631),n(632),n(633),n(634),n(635),n(636),e.exports=n(30)},function(e,t,n){"use strict";var r=n(18),i=n(58),o=n(32),a=n(4),s=n(52),u=n(91).KEY,l=n(19),c=n(166),d=n(124),f=n(109),_=n(25),p=n(220),E=n(316),h=n(497),m=n(169),v=n(20),T=n(21),g=n(45),I=n(60),S=n(90),y=n(108),A=n(113),O=n(319),N=n(75),R=n(168),b=n(33),L=n(111),D=N.f,C=b.f,M=O.f,P=r.Symbol,w=r.JSON,U=w&&w.stringify,k=_("_hidden"),G=_("toPrimitive"),Y={}.propertyIsEnumerable,x=c("symbol-registry"),V=c("symbols"),H=c("op-symbols"),F=Object.prototype,B="function"==typeof P&&!!R.f,j=r.QObject,W=!j||!j.prototype||!j.prototype.findChild,K=o&&l((function(){return 7!=A(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=D(F,t);r&&delete F[t],C(e,t,n),r&&e!==F&&C(F,t,r)}:C,z=function(e){var t=V[e]=A(P.prototype);return t._k=e,t},q=B&&"symbol"==typeof P.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof P},X=function(e,t,n){return e===F&&X(H,t,n),v(e),t=S(t,!0),v(n),i(V,t)?(n.enumerable?(i(e,k)&&e[k][t]&&(e[k][t]=!1),n=A(n,{enumerable:y(0,!1)})):(i(e,k)||C(e,k,y(1,{})),e[k][t]=!0),K(e,t,n)):C(e,t,n)},J=function(e,t){v(e);for(var n,r=h(t=I(t)),i=0,o=r.length;o>i;)X(e,n=r[i++],t[n]);return e},Q=function(e){var t=Y.call(this,e=S(e,!0));return!(this===F&&i(V,e)&&!i(H,e))&&(!(t||!i(this,e)||!i(V,e)||i(this,k)&&this[k][e])||t)},Z=function(e,t){if(e=I(e),t=S(t,!0),e!==F||!i(V,t)||i(H,t)){var n=D(e,t);return!n||!i(V,t)||i(e,k)&&e[k][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=M(I(e)),r=[],o=0;n.length>o;)i(V,t=n[o++])||t==k||t==u||r.push(t);return r},ee=function(e){for(var t,n=e===F,r=M(n?H:I(e)),o=[],a=0;r.length>a;)!i(V,t=r[a++])||n&&!i(F,t)||o.push(V[t]);return o};B||(s((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===F&&t.call(H,n),i(this,k)&&i(this[k],e)&&(this[k][e]=!1),K(this,e,y(1,n))};return o&&W&&K(F,e,{configurable:!0,set:t}),z(e)}).prototype,"toString",(function(){return this._k})),N.f=Z,b.f=X,n(114).f=O.f=$,n(144).f=Q,R.f=ee,o&&!n(110)&&s(F,"propertyIsEnumerable",Q,!0),p.f=function(e){return z(_(e))}),a(a.G+a.W+a.F*!B,{Symbol:P});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)_(te[ne++]);for(var re=L(_.store),ie=0;re.length>ie;)E(re[ie++]);a(a.S+a.F*!B,"Symbol",{for:function(e){return i(x,e+="")?x[e]:x[e]=P(e)},keyFor:function(e){if(!q(e))throw TypeError(e+" is not a symbol!");for(var t in x)if(x[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!B,"Object",{create:function(e,t){return void 0===t?A(e):J(A(e),t)},defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:Z,getOwnPropertyNames:$,getOwnPropertySymbols:ee});var oe=l((function(){R.f(1)}));a(a.S+a.F*oe,"Object",{getOwnPropertySymbols:function(e){return R.f(g(e))}}),w&&a(a.S+a.F*(!B||l((function(){var e=P();return"[null]"!=U([e])||"{}"!=U({a:e})||"{}"!=U(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(T(t)||void 0!==e)&&!q(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!q(t))return t}),r[1]=t,U.apply(w,r)}}),P.prototype[G]||n(59)(P.prototype,G,P.prototype.valueOf),d(P,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){e.exports=n(166)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(111),i=n(168),o=n(144);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),u=o.f,l=0;s.length>l;)u.call(e,a=s[l++])&&t.push(a);return t}},function(e,t,n){var r=n(4);r(r.S,"Object",{create:n(113)})},function(e,t,n){var r=n(4);r(r.S+r.F*!n(32),"Object",{defineProperty:n(33).f})},function(e,t,n){var r=n(4);r(r.S+r.F*!n(32),"Object",{defineProperties:n(318)})},function(e,t,n){var r=n(60),i=n(75).f;n(76)("getOwnPropertyDescriptor",(function(){return function(e,t){return i(r(e),t)}}))},function(e,t,n){var r=n(45),i=n(115);n(76)("getPrototypeOf",(function(){return function(e){return i(r(e))}}))},function(e,t,n){var r=n(45),i=n(111);n(76)("keys",(function(){return function(e){return i(r(e))}}))},function(e,t,n){n(76)("getOwnPropertyNames",(function(){return n(319).f}))},function(e,t,n){var r=n(21),i=n(91).onFreeze;n(76)("freeze",(function(e){return function(t){return e&&r(t)?e(i(t)):t}}))},function(e,t,n){var r=n(21),i=n(91).onFreeze;n(76)("seal",(function(e){return function(t){return e&&r(t)?e(i(t)):t}}))},function(e,t,n){var r=n(21),i=n(91).onFreeze;n(76)("preventExtensions",(function(e){return function(t){return e&&r(t)?e(i(t)):t}}))},function(e,t,n){var r=n(21);n(76)("isFrozen",(function(e){return function(t){return!r(t)||!!e&&e(t)}}))},function(e,t,n){var r=n(21);n(76)("isSealed",(function(e){return function(t){return!r(t)||!!e&&e(t)}}))},function(e,t,n){var r=n(21);n(76)("isExtensible",(function(e){return function(t){return!!r(t)&&(!e||e(t))}}))},function(e,t,n){var r=n(4);r(r.S+r.F,"Object",{assign:n(320)})},function(e,t,n){var r=n(4);r(r.S,"Object",{is:n(321)})},function(e,t,n){var r=n(4);r(r.S,"Object",{setPrototypeOf:n(224).set})},function(e,t,n){"use strict";var r=n(145),i={};i[n(25)("toStringTag")]="z",i+""!="[object z]"&&n(52)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(e,t,n){var r=n(4);r(r.P,"Function",{bind:n(322)})},function(e,t,n){var r=n(33).f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||n(32)&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(21),i=n(115),o=n(25)("hasInstance"),a=Function.prototype;o in a||n(33).f(a,o,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(4),i=n(324);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(e,t,n){var r=n(4),i=n(325);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(e,t,n){"use strict";var r=n(18),i=n(58),o=n(82),a=n(226),s=n(90),u=n(19),l=n(114).f,c=n(75).f,d=n(33).f,f=n(125).trim,_=r.Number,p=_,E=_.prototype,h="Number"==o(n(113)(E)),m="trim"in String.prototype,v=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){var n,r,i,o=(t=m?t.trim():f(t,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+t}for(var a,u=t.slice(2),l=0,c=u.length;l<c;l++)if((a=u.charCodeAt(l))<48||a>i)return NaN;return parseInt(u,r)}}return+t};if(!_(" 0o1")||!_("0b1")||_("+0x1")){_=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof _&&(h?u((function(){E.valueOf.call(n)})):"Number"!=o(n))?a(new p(v(t)),n,_):v(t)};for(var T,g=n(32)?l(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),I=0;g.length>I;I++)i(p,T=g[I])&&!i(_,T)&&d(_,T,c(p,T));_.prototype=E,E.constructor=_,n(52)(r,"Number",_)}},function(e,t,n){"use strict";var r=n(4),i=n(74),o=n(326),a=n(227),s=1..toFixed,u=Math.floor,l=[0,0,0,0,0,0],c="Number.toFixed: incorrect invocation!",d=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*l[n],l[n]=r%1e7,r=u(r/1e7)},f=function(e){for(var t=6,n=0;--t>=0;)n+=l[t],l[t]=u(n/e),n=n%e*1e7},_=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==l[e]){var n=String(l[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t},p=function(e,t,n){return 0===t?n:t%2==1?p(e,t-1,n*e):p(e*e,t/2,n)};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(19)((function(){s.call({})}))),"Number",{toFixed:function(e){var t,n,r,s,u=o(this,c),l=i(e),E="",h="0";if(l<0||l>20)throw RangeError(c);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(E="-",u=-u),u>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(u*p(2,69,1))-69)<0?u*p(2,-t,1):u/p(2,t,1),n*=4503599627370496,(t=52-t)>0){for(d(0,n),r=l;r>=7;)d(1e7,0),r-=7;for(d(p(10,r,1),0),r=t-1;r>=23;)f(1<<23),r-=23;f(1<<r),d(1,1),f(2),h=_()}else d(0,n),d(1<<-t,0),h=_()+a.call("0",l);return h=l>0?E+((s=h.length)<=l?"0."+a.call("0",l-s)+h:h.slice(0,s-l)+"."+h.slice(s-l)):E+h}})},function(e,t,n){"use strict";var r=n(4),i=n(19),o=n(326),a=1..toPrecision;r(r.P+r.F*(i((function(){return"1"!==a.call(1,void 0)}))||!i((function(){a.call({})}))),"Number",{toPrecision:function(e){var t=o(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},function(e,t,n){var r=n(4);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var r=n(4),i=n(18).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&i(e)}})},function(e,t,n){var r=n(4);r(r.S,"Number",{isInteger:n(327)})},function(e,t,n){var r=n(4);r(r.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(4),i=n(327),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return i(e)&&o(e)<=9007199254740991}})},function(e,t,n){var r=n(4);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(4);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(4),i=n(325);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(e,t,n){var r=n(4),i=n(324);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(e,t,n){var r=n(4),i=n(328),o=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:i(e-1+o(e-1)*o(e+1))}})},function(e,t,n){var r=n(4),i=Math.asinh;r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):Math.log(t+Math.sqrt(t*t+1)):t}})},function(e,t,n){var r=n(4),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(4),i=n(228);r(r.S,"Math",{cbrt:function(e){return i(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(4);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(4),i=Math.exp;r(r.S,"Math",{cosh:function(e){return(i(e=+e)+i(-e))/2}})},function(e,t,n){var r=n(4),i=n(229);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(e,t,n){var r=n(4);r(r.S,"Math",{fround:n(540)})},function(e,t,n){var r=n(228),i=Math.pow,o=i(2,-52),a=i(2,-23),s=i(2,127)*(2-a),u=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=Math.abs(e),l=r(e);return i<u?l*(i/u/a+1/o-1/o)*u*a:(n=(t=(1+a/o)*i)-(t-i))>s||n!=n?l*(1/0):l*n}},function(e,t,n){var r=n(4),i=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,o=0,a=0,s=arguments.length,u=0;a<s;)u<(n=i(arguments[a++]))?(o=o*(r=u/n)*r+1,u=n):o+=n>0?(r=n/u)*r:n;return u===1/0?1/0:u*Math.sqrt(o)}})},function(e,t,n){var r=n(4),i=Math.imul;r(r.S+r.F*n(19)((function(){return-5!=i(4294967295,5)||2!=i.length})),"Math",{imul:function(e,t){var n=+e,r=+t,i=65535&n,o=65535&r;return 0|i*o+((65535&n>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(4);r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var r=n(4);r(r.S,"Math",{log1p:n(328)})},function(e,t,n){var r=n(4);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(4);r(r.S,"Math",{sign:n(228)})},function(e,t,n){var r=n(4),i=n(229),o=Math.exp;r(r.S+r.F*n(19)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(i(e)-i(-e))/2:(o(e-1)-o(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(4),i=n(229),o=Math.exp;r(r.S,"Math",{tanh:function(e){var t=i(e=+e),n=i(-e);return t==1/0?1:n==1/0?-1:(t-n)/(o(e)+o(-e))}})},function(e,t,n){var r=n(4);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){var r=n(4),i=n(112),o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){var r=n(4),i=n(60),o=n(27);r(r.S,"String",{raw:function(e){for(var t=i(e.raw),n=o(t.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},function(e,t,n){"use strict";n(125)("trim",(function(e){return function(){return e(this,3)}}))},function(e,t,n){"use strict";var r=n(230)(!0);n(231)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var r=n(4),i=n(230)(!1);r(r.P,"String",{codePointAt:function(e){return i(this,e)}})},function(e,t,n){"use strict";var r=n(4),i=n(27),o=n(232),a="".endsWith;r(r.P+r.F*n(234)("endsWith"),"String",{endsWith:function(e){var t=o(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=i(t.length),s=void 0===n?r:Math.min(i(n),r),u=String(e);return a?a.call(t,u,s):t.slice(s-u.length,s)===u}})},function(e,t,n){"use strict";var r=n(4),i=n(232);r(r.P+r.F*n(234)("includes"),"String",{includes:function(e){return!!~i(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(4);r(r.P,"String",{repeat:n(227)})},function(e,t,n){"use strict";var r=n(4),i=n(27),o=n(232),a="".startsWith;r(r.P+r.F*n(234)("startsWith"),"String",{startsWith:function(e){var t=o(this,e,"startsWith"),n=i(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return a?a.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n(53)("anchor",(function(e){return function(t){return e(this,"a","name",t)}}))},function(e,t,n){"use strict";n(53)("big",(function(e){return function(){return e(this,"big","","")}}))},function(e,t,n){"use strict";n(53)("blink",(function(e){return function(){return e(this,"blink","","")}}))},function(e,t,n){"use strict";n(53)("bold",(function(e){return function(){return e(this,"b","","")}}))},function(e,t,n){"use strict";n(53)("fixed",(function(e){return function(){return e(this,"tt","","")}}))},function(e,t,n){"use strict";n(53)("fontcolor",(function(e){return function(t){return e(this,"font","color",t)}}))},function(e,t,n){"use strict";n(53)("fontsize",(function(e){return function(t){return e(this,"font","size",t)}}))},function(e,t,n){"use strict";n(53)("italics",(function(e){return function(){return e(this,"i","","")}}))},function(e,t,n){"use strict";n(53)("link",(function(e){return function(t){return e(this,"a","href",t)}}))},function(e,t,n){"use strict";n(53)("small",(function(e){return function(){return e(this,"small","","")}}))},function(e,t,n){"use strict";n(53)("strike",(function(e){return function(){return e(this,"strike","","")}}))},function(e,t,n){"use strict";n(53)("sub",(function(e){return function(){return e(this,"sub","","")}}))},function(e,t,n){"use strict";n(53)("sup",(function(e){return function(){return e(this,"sup","","")}}))},function(e,t,n){var r=n(4);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var r=n(4),i=n(45),o=n(90);r(r.P+r.F*n(19)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(e){var t=i(this),n=o(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(4),i=n(575);r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(e,t,n){"use strict";var r=n(19),i=Date.prototype.getTime,o=Date.prototype.toISOString,a=function(e){return e>9?e:"0"+e};e.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-50000000000001))}))||!r((function(){o.call(new Date(NaN))}))?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:o},function(e,t,n){var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(52)(r,"toString",(function(){var e=o.call(this);return e==e?i.call(this):"Invalid Date"}))},function(e,t,n){var r=n(25)("toPrimitive"),i=Date.prototype;r in i||n(59)(i,r,n(578))},function(e,t,n){"use strict";var r=n(20),i=n(90);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return i(r(this),"number"!=e)}},function(e,t,n){var r=n(4);r(r.S,"Array",{isArray:n(169)})},function(e,t,n){"use strict";var r=n(72),i=n(4),o=n(45),a=n(330),s=n(235),u=n(27),l=n(236),c=n(237);i(i.S+i.F*!n(170)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,i,d,f=o(e),_="function"==typeof this?this:Array,p=arguments.length,E=p>1?arguments[1]:void 0,h=void 0!==E,m=0,v=c(f);if(h&&(E=r(E,p>2?arguments[2]:void 0,2)),null==v||_==Array&&s(v))for(n=new _(t=u(f.length));t>m;m++)l(n,m,h?E(f[m],m):f[m]);else for(d=v.call(f),n=new _;!(i=d.next()).done;m++)l(n,m,h?a(d,E,[i.value,m],!0):i.value);return n.length=m,n}})},function(e,t,n){"use strict";var r=n(4),i=n(236);r(r.S+r.F*n(19)((function(){function e(){}return!(Array.of.call(e)instanceof e)})),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(4),i=n(60),o=[].join;r(r.P+r.F*(n(143)!=Object||!n(69)(o)),"Array",{join:function(e){return o.call(i(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(4),i=n(223),o=n(82),a=n(112),s=n(27),u=[].slice;r(r.P+r.F*n(19)((function(){i&&u.call(i)})),"Array",{slice:function(e,t){var n=s(this.length),r=o(this);if(t=void 0===t?n:t,"Array"==r)return u.call(this,e,t);for(var i=a(e,n),l=a(t,n),c=s(l-i),d=new Array(c),f=0;f<c;f++)d[f]="String"==r?this.charAt(i+f):this[i+f];return d}})},function(e,t,n){"use strict";var r=n(4),i=n(73),o=n(45),a=n(19),s=[].sort,u=[1,2,3];r(r.P+r.F*(a((function(){u.sort(void 0)}))||!a((function(){u.sort(null)}))||!n(69)(s)),"Array",{sort:function(e){return void 0===e?s.call(o(this)):s.call(o(this),i(e))}})},function(e,t,n){"use strict";var r=n(4),i=n(77)(0),o=n(69)([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(e){return i(this,e,arguments[1])}})},function(e,t,n){var r=n(21),i=n(169),o=n(25)("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){"use strict";var r=n(4),i=n(77)(1);r(r.P+r.F*!n(69)([].map,!0),"Array",{map:function(e){return i(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(4),i=n(77)(2);r(r.P+r.F*!n(69)([].filter,!0),"Array",{filter:function(e){return i(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(4),i=n(77)(3);r(r.P+r.F*!n(69)([].some,!0),"Array",{some:function(e){return i(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(4),i=n(77)(4);r(r.P+r.F*!n(69)([].every,!0),"Array",{every:function(e){return i(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(4),i=n(332);r(r.P+r.F*!n(69)([].reduce,!0),"Array",{reduce:function(e){return i(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){"use strict";var r=n(4),i=n(332);r(r.P+r.F*!n(69)([].reduceRight,!0),"Array",{reduceRight:function(e){return i(this,e,arguments.length,arguments[1],!0)}})},function(e,t,n){"use strict";var r=n(4),i=n(167)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(69)(o)),"Array",{indexOf:function(e){return a?o.apply(this,arguments)||0:i(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(4),i=n(60),o=n(74),a=n(27),s=[].lastIndexOf,u=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(u||!n(69)(s)),"Array",{lastIndexOf:function(e){if(u)return s.apply(this,arguments)||0;var t=i(this),n=a(t.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},function(e,t,n){var r=n(4);r(r.P,"Array",{copyWithin:n(333)}),n(116)("copyWithin")},function(e,t,n){var r=n(4);r(r.P,"Array",{fill:n(238)}),n(116)("fill")},function(e,t,n){"use strict";var r=n(4),i=n(77)(5),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),r(r.P+r.F*o,"Array",{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(116)("find")},function(e,t,n){"use strict";var r=n(4),i=n(77)(6),o="findIndex",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(116)(o)},function(e,t,n){n(127)("Array")},function(e,t,n){var r=n(18),i=n(226),o=n(33).f,a=n(114).f,s=n(233),u=n(171),l=r.RegExp,c=l,d=l.prototype,f=/a/g,_=/a/g,p=new l(f)!==f;if(n(32)&&(!p||n(19)((function(){return _[n(25)("match")]=!1,l(f)!=f||l(_)==_||"/a/i"!=l(f,"i")})))){l=function(e,t){var n=this instanceof l,r=s(e),o=void 0===t;return!n&&r&&e.constructor===l&&o?e:i(p?new c(r&&!o?e.source:e,t):c((r=e instanceof l)?e.source:e,r&&o?u.call(e):t),n?this:d,l)};for(var E=function(e){e in l||o(l,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})},h=a(c),m=0;h.length>m;)E(h[m++]);d.constructor=l,l.prototype=d,n(52)(r,"RegExp",l)}n(127)("RegExp")},function(e,t,n){"use strict";n(336);var r=n(20),i=n(171),o=n(32),a=/./.toString,s=function(e){n(52)(RegExp.prototype,"toString",e,!0)};n(19)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?s((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?i.call(e):void 0)})):"toString"!=a.name&&s((function(){return a.call(this)}))},function(e,t,n){"use strict";var r=n(20),i=n(27),o=n(241),a=n(172);n(173)("match",1,(function(e,t,n,s){return[function(n){var r=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=s(n,e,this);if(t.done)return t.value;var u=r(e),l=String(this);if(!u.global)return a(u,l);var c=u.unicode;u.lastIndex=0;for(var d,f=[],_=0;null!==(d=a(u,l));){var p=String(d[0]);f[_]=p,""===p&&(u.lastIndex=o(l,i(u.lastIndex),c)),_++}return 0===_?null:f}]}))},function(e,t,n){"use strict";var r=n(20),i=n(45),o=n(27),a=n(74),s=n(241),u=n(172),l=Math.max,c=Math.min,d=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,_=/\$([$&`']|\d\d?)/g;n(173)("replace",2,(function(e,t,n,p){return[function(r,i){var o=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},function(e,t){var i=p(n,e,this,t);if(i.done)return i.value;var d=r(e),f=String(this),_="function"==typeof t;_||(t=String(t));var h=d.global;if(h){var m=d.unicode;d.lastIndex=0}for(var v=[];;){var T=u(d,f);if(null===T)break;if(v.push(T),!h)break;""===String(T[0])&&(d.lastIndex=s(f,o(d.lastIndex),m))}for(var g,I="",S=0,y=0;y<v.length;y++){T=v[y];for(var A=String(T[0]),O=l(c(a(T.index),f.length),0),N=[],R=1;R<T.length;R++)N.push(void 0===(g=T[R])?g:String(g));var b=T.groups;if(_){var L=[A].concat(N,O,f);void 0!==b&&L.push(b);var D=String(t.apply(void 0,L))}else D=E(A,f,O,N,b,t);O>=S&&(I+=f.slice(S,O)+D,S=O+A.length)}return I+f.slice(S)}];function E(e,t,r,o,a,s){var u=r+e.length,l=o.length,c=_;return void 0!==a&&(a=i(a),c=f),n.call(s,c,(function(n,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(u);case"<":s=a[i.slice(1,-1)];break;default:var c=+i;if(0===c)return n;if(c>l){var f=d(c/10);return 0===f?n:f<=l?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):n}s=o[c-1]}return void 0===s?"":s}))}}))},function(e,t,n){"use strict";var r=n(20),i=n(321),o=n(172);n(173)("search",1,(function(e,t,n,a){return[function(n){var r=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var s=r(e),u=String(this),l=s.lastIndex;i(l,0)||(s.lastIndex=0);var c=o(s,u);return i(s.lastIndex,l)||(s.lastIndex=l),null===c?-1:c.index}]}))},function(e,t,n){"use strict";var r=n(233),i=n(20),o=n(146),a=n(241),s=n(27),u=n(172),l=n(240),c=n(19),d=Math.min,f=[].push,_="length",p=!c((function(){RegExp(4294967295,"y")}));n(173)("split",2,(function(e,t,n,c){var E;return E="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[_]||2!="ab".split(/(?:ab)*/)[_]||4!=".".split(/(.?)(.?)/)[_]||".".split(/()()/)[_]>1||"".split(/.?/)[_]?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(i,e,t);for(var o,a,s,u=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,p=void 0===t?4294967295:t>>>0,E=new RegExp(e.source,c+"g");(o=l.call(E,i))&&!((a=E.lastIndex)>d&&(u.push(i.slice(d,o.index)),o[_]>1&&o.index<i[_]&&f.apply(u,o.slice(1)),s=o[0][_],d=a,u[_]>=p));)E.lastIndex===o.index&&E.lastIndex++;return d===i[_]?!s&&E.test("")||u.push(""):u.push(i.slice(d)),u[_]>p?u.slice(0,p):u}:"0".split(void 0,0)[_]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var i=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i,r):E.call(String(i),n,r)},function(e,t){var r=c(E,e,this,t,E!==n);if(r.done)return r.value;var l=i(e),f=String(this),_=o(l,RegExp),h=l.unicode,m=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(p?"y":"g"),v=new _(p?l:"^(?:"+l.source+")",m),T=void 0===t?4294967295:t>>>0;if(0===T)return[];if(0===f.length)return null===u(v,f)?[f]:[];for(var g=0,I=0,S=[];I<f.length;){v.lastIndex=p?I:0;var y,A=u(v,p?f:f.slice(I));if(null===A||(y=d(s(v.lastIndex+(p?0:I)),f.length))===g)I=a(f,I,h);else{if(S.push(f.slice(g,I)),S.length===T)return S;for(var O=1;O<=A.length-1;O++)if(S.push(A[O]),S.length===T)return S;I=g=y}}return S.push(f.slice(g)),S}]}))},function(e,t,n){var r=n(18),i=n(242).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,u="process"==n(82)(a);e.exports=function(){var e,t,n,l=function(){var r,i;for(u&&(r=a.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){a.nextTick(l)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(l)}}else n=function(){i.call(r,l)};else{var d=!0,f=document.createTextNode("");new o(l).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){"use strict";var r=n(340),i=n(117);e.exports=n(176)("Map",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(e){var t=r.getEntry(i(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(i(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){"use strict";var r=n(340),i=n(117);e.exports=n(176)("Set",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return r.def(i(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r,i=n(18),o=n(77)(0),a=n(52),s=n(91),u=n(320),l=n(341),c=n(21),d=n(117),f=n(117),_=!i.ActiveXObject&&"ActiveXObject"in i,p=s.getWeak,E=Object.isExtensible,h=l.ufstore,m=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},v={get:function(e){if(c(e)){var t=p(e);return!0===t?h(d(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return l.def(d(this,"WeakMap"),e,t)}},T=e.exports=n(176)("WeakMap",m,v,l,!0,!0);f&&_&&(u((r=l.getConstructor(m,"WeakMap")).prototype,v),s.NEED=!0,o(["delete","has","get","set"],(function(e){var t=T.prototype,n=t[e];a(t,e,(function(t,i){if(c(t)&&!E(t)){this._f||(this._f=new r);var o=this._f[e](t,i);return"set"==e?this:o}return n.call(this,t,i)}))})))},function(e,t,n){"use strict";var r=n(341),i=n(117);n(176)("WeakSet",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return r.def(i(this,"WeakSet"),e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(4),i=n(177),o=n(243),a=n(20),s=n(112),u=n(27),l=n(21),c=n(18).ArrayBuffer,d=n(146),f=o.ArrayBuffer,_=o.DataView,p=i.ABV&&c.isView,E=f.prototype.slice,h=i.VIEW;r(r.G+r.W+r.F*(c!==f),{ArrayBuffer:f}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function(e){return p&&p(e)||l(e)&&h in e}}),r(r.P+r.U+r.F*n(19)((function(){return!new f(2).slice(1,void 0).byteLength})),"ArrayBuffer",{slice:function(e,t){if(void 0!==E&&void 0===t)return E.call(a(this),e);for(var n=a(this).byteLength,r=s(e,n),i=s(void 0===t?n:t,n),o=new(d(this,f))(u(i-r)),l=new _(this),c=new _(o),p=0;r<i;)c.setUint8(p++,l.getUint8(r++));return o}}),n(127)("ArrayBuffer")},function(e,t,n){var r=n(4);r(r.G+r.W+r.F*!n(177).ABV,{DataView:n(243).DataView})},function(e,t,n){n(84)("Int8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(84)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(84)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},function(e,t,n){n(84)("Int16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(84)("Uint16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(84)("Int32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(84)("Uint32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(84)("Float32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(84)("Float64",8,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){var r=n(4),i=n(73),o=n(20),a=(n(18).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(19)((function(){a((function(){}))})),"Reflect",{apply:function(e,t,n){var r=i(e),u=o(n);return a?a(r,t,u):s.call(r,t,u)}})},function(e,t,n){var r=n(4),i=n(113),o=n(73),a=n(20),s=n(21),u=n(19),l=n(322),c=(n(18).Reflect||{}).construct,d=u((function(){function e(){}return!(c((function(){}),[],e)instanceof e)})),f=!u((function(){c((function(){}))}));r(r.S+r.F*(d||f),"Reflect",{construct:function(e,t){o(e),a(t);var n=arguments.length<3?e:o(arguments[2]);if(f&&!d)return c(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(l.apply(e,r))}var u=n.prototype,_=i(s(u)?u:Object.prototype),p=Function.apply.call(e,_,t);return s(p)?p:_}})},function(e,t,n){var r=n(33),i=n(4),o=n(20),a=n(90);i(i.S+i.F*n(19)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(e,t,n){o(e),t=a(t,!0),o(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(4),i=n(75).f,o=n(20);r(r.S,"Reflect",{deleteProperty:function(e,t){var n=i(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){"use strict";var r=n(4),i=n(20),o=function(e){this._t=i(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n(329)(o,"Object",(function(){var e,t=this._k;do{if(this._i>=t.length)return{value:void 0,done:!0}}while(!((e=t[this._i++])in this._t));return{value:e,done:!1}})),r(r.S,"Reflect",{enumerate:function(e){return new o(e)}})},function(e,t,n){var r=n(75),i=n(115),o=n(58),a=n(4),s=n(21),u=n(20);a(a.S,"Reflect",{get:function e(t,n){var a,l,c=arguments.length<3?t:arguments[2];return u(t)===c?t[n]:(a=r.f(t,n))?o(a,"value")?a.value:void 0!==a.get?a.get.call(c):void 0:s(l=i(t))?e(l,n,c):void 0}})},function(e,t,n){var r=n(75),i=n(4),o=n(20);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(o(e),t)}})},function(e,t,n){var r=n(4),i=n(115),o=n(20);r(r.S,"Reflect",{getPrototypeOf:function(e){return i(o(e))}})},function(e,t,n){var r=n(4);r(r.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,n){var r=n(4),i=n(20),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return i(e),!o||o(e)}})},function(e,t,n){var r=n(4);r(r.S,"Reflect",{ownKeys:n(343)})},function(e,t,n){var r=n(4),i=n(20),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){i(e);try{return o&&o(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(33),i=n(75),o=n(115),a=n(58),s=n(4),u=n(108),l=n(20),c=n(21);s(s.S,"Reflect",{set:function e(t,n,s){var d,f,_=arguments.length<4?t:arguments[3],p=i.f(l(t),n);if(!p){if(c(f=o(t)))return e(f,n,s,_);p=u(0)}if(a(p,"value")){if(!1===p.writable||!c(_))return!1;if(d=i.f(_,n)){if(d.get||d.set||!1===d.writable)return!1;d.value=s,r.f(_,n,d)}else r.f(_,n,u(0,s));return!0}return void 0!==p.set&&(p.set.call(_,s),!0)}})},function(e,t,n){var r=n(4),i=n(224);i&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){i.check(e,t);try{return i.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){n(638),e.exports=n(30).Array.includes},function(e,t,n){"use strict";var r=n(4),i=n(167)(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(116)("includes")},function(e,t,n){n(640),e.exports=n(30).Array.flatMap},function(e,t,n){"use strict";var r=n(4),i=n(641),o=n(45),a=n(27),s=n(73),u=n(331);r(r.P,"Array",{flatMap:function(e){var t,n,r=o(this);return s(e),t=a(r.length),n=u(r,0),i(n,r,r,t,0,1,e,arguments[1]),n}}),n(116)("flatMap")},function(e,t,n){"use strict";var r=n(169),i=n(21),o=n(27),a=n(72),s=n(25)("isConcatSpreadable");e.exports=function e(t,n,u,l,c,d,f,_){for(var p,E,h=c,m=0,v=!!f&&a(f,_,3);m<l;){if(m in u){if(p=v?v(u[m],m,n):u[m],E=!1,i(p)&&(E=void 0!==(E=p[s])?!!E:r(p)),E&&d>0)h=e(t,n,p,o(p.length),h,d-1)-1;else{if(h>=9007199254740991)throw TypeError();t[h]=p}h++}m++}return h}},function(e,t,n){n(643),e.exports=n(30).String.padStart},function(e,t,n){"use strict";var r=n(4),i=n(344),o=n(175),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){n(645),e.exports=n(30).String.padEnd},function(e,t,n){"use strict";var r=n(4),i=n(344),o=n(175),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){n(647),e.exports=n(30).String.trimLeft},function(e,t,n){"use strict";n(125)("trimLeft",(function(e){return function(){return e(this,1)}}),"trimStart")},function(e,t,n){n(649),e.exports=n(30).String.trimRight},function(e,t,n){"use strict";n(125)("trimRight",(function(e){return function(){return e(this,2)}}),"trimEnd")},function(e,t,n){n(651),e.exports=n(220).f("asyncIterator")},function(e,t,n){n(316)("asyncIterator")},function(e,t,n){n(653),e.exports=n(30).Object.getOwnPropertyDescriptors},function(e,t,n){var r=n(4),i=n(343),o=n(60),a=n(75),s=n(236);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=o(e),u=a.f,l=i(r),c={},d=0;l.length>d;)void 0!==(n=u(r,t=l[d++]))&&s(c,t,n);return c}})},function(e,t,n){n(655),e.exports=n(30).Object.values},function(e,t,n){var r=n(4),i=n(345)(!1);r(r.S,"Object",{values:function(e){return i(e)}})},function(e,t,n){n(657),e.exports=n(30).Object.entries},function(e,t,n){var r=n(4),i=n(345)(!0);r(r.S,"Object",{entries:function(e){return i(e)}})},function(e,t,n){"use strict";n(337),n(659),e.exports=n(30).Promise.finally},function(e,t,n){"use strict";var r=n(4),i=n(30),o=n(18),a=n(146),s=n(339);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}})},function(e,t,n){n(661),n(662),n(663),e.exports=n(30)},function(e,t,n){var r=n(18),i=n(4),o=n(175),a=[].slice,s=/MSIE .\./.test(o),u=function(e){return function(t,n){var r=arguments.length>2,i=!!r&&a.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,n)}};i(i.G+i.B+i.F*s,{setTimeout:u(r.setTimeout),setInterval:u(r.setInterval)})},function(e,t,n){var r=n(4),i=n(242);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){for(var r=n(239),i=n(111),o=n(52),a=n(18),s=n(59),u=n(126),l=n(25),c=l("iterator"),d=l("toStringTag"),f=u.Array,_={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(_),E=0;E<p.length;E++){var h,m=p[E],v=_[m],T=a[m],g=T&&T.prototype;if(g&&(g[c]||s(g,c,f),g[d]||s(g,d,m),u[m]=f,v))for(h in r)g[h]||o(g,h,r[h],!0)}},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(e,t,n,r){var i=t&&t.prototype instanceof c?t:c,o=Object.create(i.prototype),a=new S(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return A()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=T(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=u(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(e,n,a),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var l={};function c(){}function d(){}function f(){}var _={};_[i]=function(){return this};var p=Object.getPrototypeOf,E=p&&p(p(y([])));E&&E!==t&&n.call(E,i)&&(_=E);var h=f.prototype=c.prototype=Object.create(_);function m(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function v(e,t){var r;this._invoke=function(i,o){function a(){return new t((function(r,a){!function r(i,o,a,s){var l=u(e[i],e,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}(i,o,r,a)}))}return r=r?r.then(a,a):a()}}function T(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,T(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function g(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(g,this),this.reset(!0)}function y(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:A}}function A(){return{value:void 0,done:!0}}return d.prototype=h.constructor=f,f.constructor=d,f[a]=d.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(h),e},e.awrap=function(e){return{__await:e}},m(v.prototype),v.prototype[o]=function(){return this},e.AsyncIterator=v,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new v(s(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(h),h[a]="Generator",h[i]=function(){return this},h.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=y,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(I),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),I(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;I(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:y(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){n(666),e.exports=n(346).global},function(e,t,n){var r=n(667);r(r.G,{global:n(244)})},function(e,t,n){var r=n(244),i=n(346),o=n(668),a=n(670),s=n(677),u=function(e,t,n){var l,c,d,f=e&u.F,_=e&u.G,p=e&u.S,E=e&u.P,h=e&u.B,m=e&u.W,v=_?i:i[t]||(i[t]={}),T=v.prototype,g=_?r:p?r[t]:(r[t]||{}).prototype;for(l in _&&(n=t),n)(c=!f&&g&&void 0!==g[l])&&s(v,l)||(d=c?g[l]:n[l],v[l]=_&&"function"!=typeof g[l]?n[l]:h&&c?o(d,r):m&&g[l]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):E&&"function"==typeof d?o(Function.call,d):d,E&&((v.virtual||(v.virtual={}))[l]=d,e&u.R&&T&&!T[l]&&a(T,l,d)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t,n){var r=n(669);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(671),i=n(676);e.exports=n(246)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(672),i=n(673),o=n(675),a=Object.defineProperty;t.f=n(246)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(245);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(246)&&!n(347)((function(){return 7!=Object.defineProperty(n(674)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(245),i=n(244).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var r=n(245);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.sendPostMessage=function(e,t,n){var r=n===i.MIGRATION_SOURCE_DOMAIN?window.GLOBAL_ENV.MIGRATION_DESTINATION_ORIGIN:window.GLOBAL_ENV.MIGRATION_SOURCE_ORIGIN,o={domainMigrationEvent:e};t.postMessage(o,r)},t.extractMessage=function(e,t){var n;return function(e,t){var n=t===i.MIGRATION_SOURCE_DOMAIN?window.GLOBAL_ENV.MIGRATION_DESTINATION_ORIGIN:window.GLOBAL_ENV.MIGRATION_SOURCE_ORIGIN;return e.origin===n&&null!=e.data.domainMigrationEvent}(e,t)?null===(n=e.data)||void 0===n?void 0:n.domainMigrationEvent:null},t.DOMAIN_MIGRATION_FAILED_KEY=t.DOMAIN_MIGRATION_SUCCESS_KEY=t.DomainMigrationMessageFrom=t.DomainMigrationEventType=void 0,t.DomainMigrationEventType=r,function(e){e[e.SKIP_MIGRATION=0]="SKIP_MIGRATION",e[e.SEND_DATA=1]="SEND_DATA",e[e.DATA_MIGRATED=2]="DATA_MIGRATED",e[e.DATA_MIGRATED_CONFIRMED=3]="DATA_MIGRATED_CONFIRMED"}(r||(t.DomainMigrationEventType=r={})),t.DomainMigrationMessageFrom=i,function(e){e[e.MIGRATION_SOURCE_DOMAIN=0]="MIGRATION_SOURCE_DOMAIN",e[e.MIGRATION_DESTINATION_DOMAIN=1]="MIGRATION_DESTINATION_DOMAIN"}(i||(t.DomainMigrationMessageFrom=i={}));t.DOMAIN_MIGRATION_SUCCESS_KEY="domainMigrationSuccess";t.DOMAIN_MIGRATION_FAILED_KEY="domainMigrationFailed"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),a=u(n(55)),s=u(n(5802));function u(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n),r.prototype.render=function(){var e=this.props,t=e.note,n=e.title,r=e.action,i=e.className;return c("div",{className:(0,o.default)(s.default.wrapper,i)},void 0,c(a.default,{className:s.default.flexWrapper,direction:a.default.Direction.VERTICAL,align:a.default.Align.CENTER,justify:a.default.Justify.CENTER},void 0,c(a.default.Child,{grow:0,className:s.default.image}),c(a.default.Child,{grow:0,className:s.default.text},void 0,c("h4",{className:s.default.title},void 0,n),t&&c("div",{className:s.default.note},void 0,t)),r))},r}(i.PureComponent);f.displayName="ErrorPage";var _=f;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={createListItemId:!0};t.default=function(e){var t=e.id,n=e.defaultFocused,r=e.isEnabled,c=e.scrollToStart,d=e.scrollToEnd,f=e.onNavigatePreviousAtStart,h=e.onNavigateNextAtEnd,m=e.setFocus,v=void 0===m?E:m,T=e.setFocusOnList,g=void 0===T?E:T,I=e.preserveFocusPosition,S=void 0===I||I,y=e.useVirtualFocus,A=void 0!==y&&y,O=e.wrap,N=void 0!==O&&O,R=e.orientation,b=void 0===R?u.Orientations.VERTICAL:R,L=i.useRef(null!=n?n:null),D=i.useRef(!1),C=i.useRef(null),M=i.useRef(r);i.useLayoutEffect((function(){M.current=r}),[r]);var P=i.useCallback((function(e,t){M.current&&v(e,t)}),[v]),w=i.useCallback((function(e){M.current&&g(e)}),[g]),U=i.useCallback((function(e){L.current=e;var n=(0,l.createSelector)(e),r=(0,l.getItemId)(e);P(n,r),(0,a.notifyFocusSubscribers)(t,r,S)}),[t,S,P]),k=i.useMemo((function(){return(0,o.createFocusManager)({getFocusableElements:function(){return p(t,C)}})}),[t]),G=i.useState(!1),Y=G[0],x=G[1],V=i.useRef(Y);i.useLayoutEffect((function(){V.current=Y}),[Y]),i.useLayoutEffect((function(){var e=C.current;if(null!=e)return e.addEventListener("focusin",n),e.addEventListener("focusout",r),e.addEventListener("focus",i),e.addEventListener("scroll",a,{passive:!0}),function(){e.removeEventListener("focusin",n),e.removeEventListener("focusout",r),e.removeEventListener("focus",i),e.removeEventListener("scroll",a)};function n(){x(!0)}function r(e){e.currentTarget.contains(e.relatedTarget)||(x(!1),requestAnimationFrame((function(){var e=L.current;if(null!==e){var n=(0,l.createSelector)(e);null==document.querySelector(n)&&w((0,l.createSelector)(t,l.LIST_ID_ATTRIBUTE))}})))}function i(){return o.apply(this,arguments)}function o(){return(o=_(regeneratorRuntime.mark((function e(){var n,r,i,o,a,u,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=C.current,!V.current&&null!=n){e.next=4;break}return e.abrupt("return");case 4:if(r=L.current,!S||null===r){e.next=19;break}if(o=(0,l.createSelector)(r),a=null!==(i=C.current)&&void 0!==i?i:document,null==(u=a.querySelector(o))){e.next=19;break}if(!0!==D.current){e.next=18;break}return e.next=13,(0,s.isItemVisible)(n,u);case 13:if(!e.sent){e.next=16;break}return e.abrupt("return",P(o,(0,l.getItemId)(r)));case 16:e.next=19;break;case 18:return e.abrupt("return",P(o,(0,l.getItemId)(r)));case 19:return e.next=21,(0,s.findFirstVisibleItem)(n,p(t,C));case 21:null!==(c=e.sent)&&U(c);case 23:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function a(){D.current=!0}}),[t,S,P,g,w,U]);var H=i.useMemo((function(){return{wrap:N,get from(){if(A){var e=L.current;if(null!=e){var t,n=(0,l.createSelector)(e);return null!==(t=document.querySelector(n))&&void 0!==t?t:void 0}}}}}),[N,A]),F=i.useCallback((function(){var e=k.getNextFocusableElement(H),t=null==e?void 0:e.getAttribute(l.LIST_ITEM_ID_ATTRIBUTE);null!=t?U(t):null==e&&null!=h&&h()}),[k,H,h,U]),B=i.useCallback((function(){var e=k.getPreviousFocusableElement(H),t=null==e?void 0:e.getAttribute(l.LIST_ITEM_ID_ATTRIBUTE);null!=t?U(t):null==e&&null!=f&&f()}),[k,H,f,U]),j=i.useCallback((function(e){if(M.current&&(A||V.current)){var n=b===u.Orientations.HORIZONTAL?u.Keys.RIGHT:u.Keys.DOWN,r=b===u.Orientations.HORIZONTAL?u.Keys.LEFT:u.Keys.UP;switch(e.key){case n:return e.stopPropagation(),e.preventDefault(),void F();case r:return e.stopPropagation(),e.preventDefault(),void B();case u.Keys.HOME:return e.stopPropagation(),e.preventDefault(),void c().then((function(){var e,n=null===(e=p(t,C)[0])||void 0===e?void 0:e.getAttribute(l.LIST_ITEM_ID_ATTRIBUTE);null!=n&&U(n)}));case u.Keys.END:return e.stopPropagation(),e.preventDefault(),void d().then((function(){var e,n=p(t,C),r=null===(e=n[n.length-1])||void 0===e?void 0:e.getAttribute(l.LIST_ITEM_ID_ATTRIBUTE);null!=r&&U(r)}));case u.Keys.SPACE:case u.Keys.ENTER:if(e.repeat)return;var i=L.current;if(null!=i){var o,a=(0,l.createSelector)(i),s=document.querySelector(a),f=null!==(o=null==s?void 0:s.ownerDocument)&&void 0!==o?o:document,_=A||s===f.activeElement;null!=s&&_&&(e.preventDefault(),e.stopPropagation(),null==s||s.click())}}}}),[F,B,t,b,d,c,U,A]),W=i.useCallback((function(e){var n=null!=e?(0,l.createListItemId)(t,e):null;L.current=n}),[t]);return i.useMemo((function(){return{id:t,containerProps:{onKeyDown:j,"aria-orientation":b,ref:C,tabIndex:Y&&S?-1:0},orientation:b,setFocus:W,focusLastVisibleItem:function(){return _(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.findLastVisibleItem)(null!==(n=C.current)&&void 0!==n?n:document.body,p(t,C));case 2:null!==(r=e.sent)&&U(r);case 4:case"end":return e.stop()}}),e)})))()},focusFirstVisibleItem:function(){return _(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.findFirstVisibleItem)(null!==(n=C.current)&&void 0!==n?n:document.body,p(t,C));case 2:null!==(r=e.sent)&&U(r);case 4:case"end":return e.stop()}}),e)})))()},focusPreviousItem:B,focusNextItem:F}}),[t,j,b,Y,S,W,B,F,U])},Object.defineProperty(t,"createListItemId",{enumerable:!0,get:function(){return l.createListItemId}});var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(424),a=n(1120),s=n(5420),u=n(704),l=n(418),c=n(5421);function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function _(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){f(o,r,i,a,s,"next",e)}function s(e){f(o,r,i,a,s,"throw",e)}a(void 0)}))}}function p(e,t){var n,r=(null!==(n=t.current)&&void 0!==n?n:document).querySelectorAll("["+l.LIST_ITEM_ID_ATTRIBUTE+'^="'+e+'"]');return Array.from(r)}function E(e){var t;null===(t=document.querySelector(e))||void 0===t||t.focus()}Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;u(n(0));var r,i,o=u(n(159)),a=(r=n(5748))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=function(e){var t=e.children,n=e.className,r=e.title,i=e.icon,s=e.tag,u=void 0===s?o.default.Tags.H5:s;return null!=r?l("div",{className:n},void 0,l("div",{className:a.default.sectionTitle},void 0,i,null!=r?l(o.default,{tag:u},void 0,r):null),l("div",{className:a.default.children},void 0,t)):l("div",{className:n},void 0,t)};c.displayName="FormSection",c.Tags=o.Tags;var d=c;t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=l(e);return(0,r.default)(null!=t,"Result cannot be null because the message is not null"),t},t.useNullableMessageAuthor=l,t.getMessageAuthor=function(e){var t=o.default.getChannel(e.channel_id);return d(e.author,t)},t.useUserNickAndColor=function(e,t){var n=c(e,t);return(0,r.default)(null!=n,"Result cannot be null because user and channel are not null"),n},t.useNullableUserAuthor=c,t.getUserAuthor=d;var r=u(n(23)),i=n(3),o=u(n(10)),a=u(n(56)),s=u(n(70));function u(e){return e&&e.__esModule?e:{default:e}}function l(e){var t,n=(0,i.useStateFromStores)([o.default],(function(){return null==e?null:o.default.getChannel(e.channel_id)})),r=null==e||null===(t=e.author)||void 0===t?void 0:t.id,u=null==n?void 0:n.guild_id,l=(0,i.useStateFromStores)([a.default],(function(){return null==u||null==r?null:a.default.getMember(u,r)})),c=(0,i.useStateFromStores)([s.default],(function(){return null!=r&&(null==n?void 0:n.isPrivate())?s.default.getNickname(r):null}));return null==e?null:f(e.author,n,l,c)}function c(e,t){var n=null==e?void 0:e.id,r=null==t?void 0:t.guild_id,o=(0,i.useStateFromStores)([a.default],(function(){return null==r||null==n?null:a.default.getMember(r,n)})),u=(0,i.useStateFromStores)([s.default],(function(){return null!=n&&(null==t?void 0:t.isPrivate())?s.default.getNickname(n):null}));return f(e,t,o,u)}function d(e,t){var n=null==e?void 0:e.id,r=null==t?void 0:t.guild_id,i=null==r||null==n?null:a.default.getMember(r,n),o=null!=n&&null!=t&&t.isPrivate()?s.default.getNickname(n):null;return f(e,t,i,o)}function f(e,t,n,r){var i,o=null==e?"???":e.toString();return null==(null==e?void 0:e.id)||null==t?{nick:o,colorString:void 0}:null==t.getGuildId()?{nick:null!=r?r:o,colorString:void 0}:n?{nick:n.nick||o,colorString:null!==(i=n.colorString)&&void 0!==i?i:void 0,guildMemberAvatar:n.guildMemberAvatar}:{nick:o,colorString:void 0}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n)}(n(0));var r,i=a(n(9)),o=a(n(5764));function a(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var l={UP:o.default.directionUp,RIGHT:o.default.directionRight,DOWN:o.default.directionDown,LEFT:o.default.directionLeft},c=function(e){var t=e.direction,n=void 0===t?l.DOWN:t,r=e.width,a=void 0===r?24:r,s=e.height,c=void 0===s?24:s,d=e.color,f=void 0===d?"currentColor":d,_=e.transition,p=void 0===_?o.default.transition:_,E=e.className,h=e.foreground,m=e.expanded,v=e["aria-label"],T=n;return!0===m?T=l.DOWN:!1===m&&(T=l.RIGHT),u("svg",{className:(0,i.default)(E,p,T),width:a,height:c,viewBox:"0 0 24 24","aria-label":v},void 0,u("path",{className:h,fill:"none",stroke:f,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",d:"M7 10L12 15 17 10","aria-hidden":!0}))};c.displayName="Caret",c.Directions=l;var d=c;t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),i=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(){return(s=Object.assign||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}).apply(this,arguments)}var u={},l={};function c(e){var t=e.invite,n=t.guild,r=t.approximate_presence_count;if(null==(null==n?void 0:n.id)||null==r)return!1;l[n.id]=r}var d=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n);var i=r.prototype;return i.getMemberCounts=function(){return u},i.getMemberCount=function(e){return null!=e?u[e]:null},i.getOnlineCount=function(e){return null!=e?l[e]:null},r}(r.default.Store))(i.default,{CONNECTION_OPEN:function(e){var t=e.guilds;u={},t.forEach((function(e){u[e.id]=e.member_count}))},OVERLAY_INITIALIZE:function(e){u=s({},e.guildMemberCounts)},GUILD_CREATE:function(e){var t=e.guild;u[t.id]=t.member_count},GUILD_DELETE:function(e){var t=e.guild;if(null==u[t.id]&&null==l[t.id])return!1;delete u[t.id],delete l[t.id]},GUILD_MEMBER_LIST_UPDATE:function(e){var t=e.guildId,n=e.memberCount;if(u[t]===n)return!1;u[t]=n},INVITE_ACCEPT_SUCCESS:c,INVITE_RESOLVE_SUCCESS:c,ONLINE_GUILD_MEMBER_COUNT_UPDATE:function(e){var t=e.guildId,n=e.count;if(null==t||null==n)return!1;l[t]=n}});t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!r.USER_MESSAGE_TYPES.has(e.type)&&(e.type!==r.MessageTypes.APPLICATION_COMMAND||null==e.interaction)};var r=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?24:t,r=e.height,i=void 0===r?24:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=e.backgroundColor,_=function(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}(e,["width","height","color","foreground","backgroundColor"]);return o.createElement("svg",u({},(0,a.default)(_),{width:n,height:i,viewBox:"0 0 14 14"}),f?l("circle",{r:5,cx:7,cy:7,fill:f}):null,l("path",{fill:c,className:d,d:"M7.02799 0.333252C3.346 0.333252 0.361328 3.31792 0.361328 6.99992C0.361328 10.6819 3.346 13.6666 7.02799 13.6666C10.71 13.6666 13.6947 10.6819 13.6947 6.99992C13.6947 3.31792 10.7093 0.333252 7.02799 0.333252ZM10.166 9.19525L9.22333 10.1379L7.02799 7.94325L4.83266 10.1379L3.89 9.19525L6.08466 6.99992L3.88933 4.80459L4.832 3.86259L7.02733 6.05792L9.22266 3.86259L10.1653 4.80459L7.97066 6.99992L10.166 9.19525Z"}))}c.displayName="CloseCircle"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pushLayer=function(e){i.default.dirtyDispatch({type:o.ActionTypes.LAYER_PUSH,component:e})},t.popLayer=function(){i.default.dirtyDispatch({type:o.ActionTypes.LAYER_POP})},t.popAllLayers=function(){i.default.dirtyDispatch({type:o.ActionTypes.LAYER_POP_ALL})};var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=y(n(23)),i=y(n(8)),o=y(n(3)),a=y(n(2)),s=y(n(294)),u=n(196),l=n(140),c=y(n(163)),d=y(n(11)),f=y(n(303)),_=y(n(10)),p=y(n(36)),E=y(n(283)),h=y(n(12)),m=y(n(775)),v=y(n(80)),T=n(691),g=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(5458)),I=n(1);function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function y(e){return e&&e.__esModule?e:{default:e}}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(){return(O=Object.assign||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}).apply(this,arguments)}var N=Object.freeze([]),R=[],b={},L={},D={},C={},M={},P={};function w(e){var t=b[e];return null==t&&(t=new g.default(e),b[e]=t),t}function U(e,t){return void 0===t&&(t=R),t.reduce((function(t,n){var i=w(n);return e(i)?(function(e){var t=w(e);if(0===t.size())return;var n=W(e)||Y(t)?I.ChannelModes.VIDEO:I.ChannelModes.VOICE;n===I.ChannelModes.VOICE?(delete D[e],delete C[e]):D[e]=n}(n),function(e){var t=d.default.getId(),n=w(e);if(0===n.size()||p.default.getVoiceChannelId()!==e)return void delete L[e];var i=T.ParticipantSelectionTypes.NONE,o=n.toArray(g.ChannelRTCParticipantsIndexes.STREAM).find((function(e){return e.type===T.ParticipantTypes.STREAM&&c.default.getActiveStreamForStreamKey(e.id)}));if(null!=o)(0,r.default)(o.type===T.ParticipantTypes.STREAM,"Impossible condition"),i=o.id;else if(1===n.size())i=t;else if(1===n.size(g.ChannelRTCParticipantsIndexes.VIDEO)){var a=n.toArray(g.ChannelRTCParticipantsIndexes.VIDEO)[0];i=a.id}else{var s,u=n.toArray().find((function(e){return e.type===T.ParticipantTypes.USER&&e.id!==t&&!e.ringing}));i=null!==(s=null==u?void 0:u.id)&&void 0!==s?s:t}var l=G(e)[0];if(l!==T.ParticipantSelectionTypes.AUTO&&l!==T.ParticipantSelectionTypes.NONE){var f=n.getParticipant(l);(null==f||f.type===T.ParticipantTypes.STREAM&&null==c.default.getActiveStreamForStreamKey(f.id))&&(l=T.ParticipantSelectionTypes.NONE)}L[e]=[l,i]}(n),!0):t}),!1)}function k(e,t){return void 0===t&&(t=R),U((function(t){return t.updateParticipant(e)}),t)}function G(e){var t=_.default.getChannel(e),n=(null==t?void 0:t.isDM())?T.ParticipantSelectionTypes.AUTO:T.ParticipantSelectionTypes.NONE;return L[e]||[n,T.ParticipantSelectionTypes.NONE]}function Y(e){return e.size(g.ChannelRTCParticipantsIndexes.STREAM)>0||e.size(g.ChannelRTCParticipantsIndexes.VIDEO)>0}function x(e){delete b[e],delete L[e],delete D[e],delete C[e]}function V(){return U((function(e){return e.rebuild()}),function(){var e=[],t=p.default.getChannelId();null!=t&&e.push(t);var n=p.default.getVoiceChannelId();null==n||e.includes(n)||e.push(n),i.default.difference(R,e).forEach(x);var r=i.default.difference(e,R);return R=e,r}())}function H(){return U((function(e){return e.updateEmbeddedActivities()}))}function F(e){return k(e.user.id)}function B(e){return U((function(e){return e.rebuild()}),[e.channelId])}function j(e){var t=e.streamKey,n=(0,l.decodeStreamKey)(t),r=n.channelId;return k(n.ownerId,[r])}function W(e){var t;return Boolean(null===(t=_.default.getChannel(e))||void 0===t?void 0:t.isGuildVoice())}var K=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,A(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(c.default,d.default,f.default,_.default,s.default,p.default,E.default,h.default,m.default,v.default),this.syncWith([s.default],H)},i.getParticipantsVersion=function(e){return w(e).version},i.getParticipants=function(e){return w(e).toArray()||N},i.getSpeakingParticipants=function(e){return w(e).toArray(g.ChannelRTCParticipantsIndexes.SPEAKING)||N},i.getFilteredParticipants=function(e){return P[e]?w(e).toArray(g.ChannelRTCParticipantsIndexes.FILTERED):w(e).toArray()},i.getVideoParticipants=function(e){return w(e).toArray(g.ChannelRTCParticipantsIndexes.VIDEO)||N},i.getStreamParticipants=function(e){return w(e).toArray(g.ChannelRTCParticipantsIndexes.STREAM)||N},i.getParticipant=function(e,t){return w(e).getParticipant(t)},i.getUserParticipantCount=function(e){var t=w(e);return t.size()-t.size(g.ChannelRTCParticipantsIndexes.STREAM)},i.getParticipantsOpen=function(e){var t;return null===(t=M[e])||void 0===t||t},i.getVoiceParticipantsHidden=function(e){var t;return null!==(t=P[e])&&void 0!==t&&t},i.getSelectedParticipantId=function(e){var t=G(e),n=t[0],r=t[1];return n===T.ParticipantSelectionTypes.NONE?null:n!==T.ParticipantSelectionTypes.AUTO?n:r===T.ParticipantSelectionTypes.NONE||r===T.ParticipantSelectionTypes.AUTO?null:r},i.getSelectedParticipant=function(e){var t=this.getSelectedParticipantId(e);return null==t?null:w(e).getParticipant(t)},i.getMode=function(e){var t;return null!==(t=D[e])&&void 0!==t?t:W(e)?I.ChannelModes.VIDEO:I.ChannelModes.VOICE},i.getLayout=function(e,t){var n,r;return void 0===t&&(t=I.AppContext.APP),__OVERLAY__?I.ChannelLayouts.NORMAL:null!==(n=null===(r=C[e])||void 0===r?void 0:r[t])&&void 0!==n?n:function(e){var t;return Boolean(null===(t=_.default.getChannel(e))||void 0===t?void 0:t.isVocal())}(e)?I.ChannelLayouts.NO_CHAT:I.ChannelLayouts.NORMAL},i.isFullscreenInContext=function(e){return void 0===e&&(e=I.AppContext.APP),Object.values(C).some((function(t){return t[e]===I.ChannelLayouts.FULL_SCREEN}))},r}(o.default.Store))(a.default,{CONNECTION_OPEN:function(e){return V()},OVERLAY_INITIALIZE:function(e){return V()},VOICE_CHANNEL_SELECT:function(e){return V()},CHANNEL_SELECT:function(e){return V()},CHANNEL_RTC_ACTIVE_CHANNELS:function(e){return V()},VOICE_STATE_UPDATE:function(e){return k(e.userId)},CHANNEL_CREATE:function(e){var t=e.channel;if(t.type===I.ChannelTypes.GROUP_DM){var n,r,i,o=t.originChannelId;if(null!=o)return C[t.id]=((i={})[I.AppContext.APP]=null!==(n=null===(r=C[o])||void 0===r?void 0:r[I.AppContext.APP])&&void 0!==n?n:I.ChannelLayouts.NORMAL,i),!0}return!1},CHANNEL_DELETE:function(e){return x(e.channel.id)},CALL_CREATE:B,CALL_UPDATE:B,CALL_DELETE:function(e){return x(e.channelId)},CHANNEL_RTC_SELECT_PARTICIPANT:function(e){var t=e.channelId,n=e.id,r=w(t);!n&&r.toArray(g.ChannelRTCParticipantsIndexes.STREAM).forEach((function(e){e.type===T.ParticipantTypes.STREAM&&r.updateParticipant(e.user.id)}));var i=G(t)[1];L[t]=[null!=n?n:T.ParticipantSelectionTypes.NONE,i],((null==n?void 0:n.startsWith(u.StreamTypes.GUILD))||(null==n?void 0:n.startsWith(u.StreamTypes.CALL)))&&(Y(r)||(M[t]=!1))},CHANNEL_RTC_UPDATE_LAYOUT:function(e){var t,n=e.channelId,r=e.layout,i=e.appContext;C[n]=O({},C[n],((t={})[i]=r,t))},CHANNEL_RTC_UPDATE_PARTICIPANTS_OPEN:function(e){var t=e.channelId,n=e.participantsOpen;M[t]=n},CHANNEL_RTC_UPDATE_VOICE_PARTICIPANTS_HIDDEN:function(e){var t=e.channelId,n=e.voiceParticipantsHidden;P[t]=n},RTC_CONNECTION_VIDEO:function(e){var t=e.channelId;return k(e.userId,[t])},AUDIO_SET_LOCAL_VIDEO_DISABLED:function(e){return k(e.userId)},MEDIA_ENGINE_VIDEO_SOURCE_QUALITY_CHANGED:function(e){var t=e.channelId,n=e.senderUserId,r=e.maxResolution,i=e.maxFrameRate;return U((function(e){return e.updateParticipantQuality(n,r,i)}),[t])},STREAM_CLOSE:j,STREAM_DELETE:j,SPEAKING:function(e){var t=e.userId;return U((function(e){return e.updateParticipantSpeaking(t)}))},USER_UPDATE:F,GUILD_MEMBER_UPDATE:F});t.default=K},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=((r=n(1692))&&r.__esModule?r:{default:r}).default;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(8)),i=u(n(3)),o=u(n(2)),a=u(n(105)),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(){return(c=Object.assign||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}).apply(this,arguments)}var d=__OVERLAY__?s.AppContext.OVERLAY:s.AppContext.APP,f=[],_=[];function p(){f.push(null)}function E(e){"key"in e&&e.key?r.default.remove(f,(function(t){return null==t||t.key===e.key})):f.pop()}function h(){f=[]}function m(e,t,n,r){return void 0===r&&(r=null),{key:t.key||r||"modal",modal:e,animation:t.animation||(a.default.useReducedMotion?s.ModalAnimation.FADE:s.ModalAnimation.SLIDE_UP),props:n,backdropStyle:t.backdropStyle||null,backdropInstant:t.backdropInstant||!1,disableAnimation:t.disableAnimation||!1,closable:"boolean"!=typeof t.closable||t.closable}}var v=function(){return!0},T=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var o=i.prototype;return o.getModal=function(){return f[f.length-1]||(e=null,r.default.find(_,(function(t){var n=t.stores;null==n&&(n=[t.store]);var r=!1;if(null!=t.isOpen)r=t.isOpen(d);else for(var i=0;i<n.length;i++){var o=n[i];null!=o&&null!=o.isOpen&&(r=o.isOpen(d))}var a={};if(r){if(t.getProps)a=t.getProps();else for(var s=0;s<n.length;s++){var u=n[s];null!=u&&null!=u.getProps&&(a=u.getProps())}return e=m(t.getComponent(),t,a),!0}return!1})),e);var e},o.hasModalOpen=function(){return f.length>0},o.isModalOpen=function(e){return f.some((function(t){return null!=t&&t.modal===e}))},o.isModalOpenWithKey=function(e){return f.some((function(t){return null!=t&&t.key===e}))},o.registerModals=function(e){var t=new Set;e.forEach((function(e){null==e.key&&(e.key=r.default.uniqueId("modal"));var n=e.store,i=e.stores;n&&t.add(n),i&&i.forEach((function(e){return t.add(e)})),_.push(e)})),t.size>0&&this.syncWith(Array.from(t),v)},o.registerModalsDeprecated=function(e){this.registerModals(e.map((function(e){if(null==e.modalConfig)throw new Error("ModalDeprecatedStore.registerModalsDeprecated: Registered modals MUST have a .modalConfig static");return c({},e.modalConfig,{getComponent:function(){return e}})})))},i}(i.default.Store))(o.default,{MODAL_PUSH:function(e){var t=e.modal,n=e.props,r=e.key;f.push(m(t,t.modalConfig||{},n,r))},MODAL_POP:E,MODAL_UPDATE:function(e){var t=e.key,n=e.props,i=e.partial,o=void 0===i||i,a=e.animation,s=r.default.findIndex(f,(function(e){return null!=e&&e.key===t}));if(-1===s)return!1;var u=f[s];if(null!=u){var l=o?c({},u.props,{},n):n;f[s]=c({},u,{props:l,animation:null!=a?a:u.animation})}},MODAL_POP_ALL:function(e){return h()},OVERLAY_SET_UI_LOCKED:function(e){var t=e.locked;__OVERLAY__&&t&&h()},GUILD_SETTINGS_OPEN:function(e){return p()},USER_SETTINGS_MODAL_OPEN:function(e){return p()},CHANNEL_SETTINGS_OPEN:function(e){return p()},NOTIFICATION_SETTINGS_MODAL_OPEN:function(e){return p()},CHANGE_NICKNAME_MODAL_OPEN:function(e){return p()},CHANGE_LOG_OPEN:function(e){return p()},PREMIUM_PAYMENT_MODAL_OPEN:function(e){return p()},EMAIL_VERIFICATION_MODAL_OPEN:function(e){return p()},MENTION_MODAL_OPEN:function(e){return p()},PRIVACY_SETTINGS_MODAL_OPEN:function(e){return p()},SEARCH_MODAL_OPEN:function(e){return p()},CALL_MODAL_OPEN:function(e){return p()},CREATE_INVITE_MODAL_OPEN:function(e){return p()},QUICKSWITCHER_SHOW:function(e){return p()},GUILD_SETTINGS_CLOSE:E,USER_SETTINGS_MODAL_CLOSE:E,CHANNEL_SETTINGS_CLOSE:E,CREATE_CHANNEL_MODAL_CLOSE:E,NOTIFICATION_SETTINGS_MODAL_CLOSE:E,CHANGE_NICKNAME_MODAL_CLOSE:E,CHANGE_LOG_CLOSE:E,PREMIUM_PAYMENT_MODAL_CLOSE:E,EMAIL_VERIFICATION_MODAL_CLOSE:E,MENTION_MODAL_CLOSE:E,PRIVACY_SETTINGS_MODAL_CLOSE:E,SEARCH_MODAL_CLOSE:E,CALL_MODAL_CLOSE:E,CREATE_INVITE_MODAL_CLOSE:E,QUICKSWITCHER_HIDE:E});t.default=T},function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.isStreamParticipant=function(e){return Boolean((null==e?void 0:e.type)===r.STREAM)},t.isUserParticipant=function(e){return Boolean((null==e?void 0:e.type)===r.USER)},t.PIP_WIDTH=t.ParticipantSelectionTypes=t.ParticipantTypes=void 0,t.ParticipantTypes=r,function(e){e[e.STREAM=0]="STREAM",e[e.USER=1]="USER",e[e.ACTIVITY=2]="ACTIVITY"}(r||(t.ParticipantTypes=r={})),t.ParticipantSelectionTypes=i,function(e){e.NONE="NONE",e.AUTO="AUTO"}(i||(t.ParticipantSelectionTypes=i={}));t.PIP_WIDTH=320},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(3)),i=a(n(2)),o=a(n(383));n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(){return(l=Object.assign||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}).apply(this,arguments)}function c(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var f={},_=null,p=!1;function E(e){var t,n=e.paymentSource;f=l({},f,((t={})[n.id]=n,t)),(n.isDefault||1===Object.keys(f).length)&&(_=n.id)}var h=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var i,o,a,l=r.prototype;return l.getDefaultBillingCountryCode=function(){var e=null!=_?f[_]:null;return null==e?null:e.billingAddress.country},l.getPaymentSource=function(e){return f[e]},i=r,(o=[{key:"paymentSources",get:function(){return f}},{key:"defaultPaymentSourceId",get:function(){return _}},{key:"hasFetchedPaymentSources",get:function(){return p}}])&&s(i.prototype,o),a&&s(i,a),r}(r.default.Store))(i.default,{OVERLAY_INITIALIZE:function(e){for(var t,n=e.paymentSources,r=e.defaultPaymentSourceId,i=e.hasFetchedPaymentSources,a=c(n);!(t=a()).done;){var s=t.value;f[s.id]=o.default.createFromSerialized(s)}_=r,p=i},BILLING_PAYMENT_SOURCE_CREATE_SUCCESS:E,BILLING_PAYMENT_SOURCE_UPDATE_SUCCESS:E,BILLING_PAYMENT_SOURCES_FETCH_SUCCESS:function(e){var t=e.paymentSources;f={},_=null;for(var n,r=c(t);!(n=r()).done;){var i=n.value;f[i.id]=o.default.createFromServer(i),i.default&&(_=i.id)}null==_&&t.length>0&&(_=t[0].id),p=!0},BILLING_PAYMENT_SOURCE_REMOVE_SUCCESS:function(e){var t=e.id;if(delete(f=l({},f))[t],_===t){var n=Object.keys(f);_=0===n.length?null:n[0]}},LOGOUT:function(e){return f={},void(_=null)}});t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),i=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=[];function u(){s=[]}var l=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n);var i=r.prototype;return i.hasLayers=function(){return s.length>0},i.getLayers=function(){return s},r}(r.default.Store))(i.default,{LAYER_PUSH:function(e){var t=e.component;if(s.indexOf(t)>=0)return!1;s=[].concat(s,[t])},LAYER_POP:function(e){return function(){if(!s.length)return!1;s=s.slice(0,-1)}()},LAYER_POP_ALL:function(e){return u()},LOGOUT:function(e){return u()},NOTIFICATION_CLICK:function(e){return u()}});t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(98)),i=f(n(2)),o=n(766),a=f(n(430)),s=f(n(161)),u=n(765),l=n(265),c=n(770),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function _(){return(_=Object.assign||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}).apply(this,arguments)}var p={track:function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n=!1),!__OVERLAY__)throw new Error("OverlayActionCreators.track: Must be called within Overlay context");(0,o.trackWithOverlayMetadata)(e,t,n)},overlayReady:function(e){i.default.dispatch({type:d.ActionTypes.OVERLAY_READY,pid:e})},overlayMounted:function(e,t){i.default.dirtyDispatch({type:d.ActionTypes.OVERLAY_MOUNTED,newsNudge:e,goLiveNudge:t})},setFocusedPID:function(e){i.default.dispatch({type:d.ActionTypes.OVERLAY_FOCUSED,pid:e})},setInputLocked:function(e,t){i.default.dispatch({type:d.ActionTypes.OVERLAY_SET_INPUT_LOCKED,locked:e,pid:t})},setUILocked:function(e,t){i.default.dispatch({type:d.ActionTypes.OVERLAY_SET_UI_LOCKED,locked:e,pid:t})},setLocked:function(e,t){i.default.dispatch({type:d.ActionTypes.OVERLAY_SET_INPUT_LOCKED,locked:e,pid:t}),i.default.dispatch({type:d.ActionTypes.OVERLAY_SET_UI_LOCKED,locked:e,pid:t})},setInstanceLocked:function(e){if(!__OVERLAY__)throw new Error("OverlayActionCreators.setInstanceLocked: Must be called within Overlay context");p.setLocked(e,(0,l.getPID)())},setEnabled:function(e){i.default.dispatch({type:d.ActionTypes.OVERLAY_SET_ENABLED,enabled:e})},selectCall:function(e){i.default.dispatch({type:d.ActionTypes.OVERLAY_SELECT_CALL,callId:e})},setDisplayNameMode:function(e){i.default.dispatch({type:d.ActionTypes.OVERLAY_SET_DISPLAY_NAME_MODE,mode:e})},setDisplayUserMode:function(e){i.default.dispatch({type:d.ActionTypes.OVERLAY_SET_DISPLAY_USER_MODE,mode:e})},setAvatarSizeMode:function(e){i.default.dispatch({type:d.ActionTypes.OVERLAY_SET_AVATAR_SIZE_MODE,mode:e})},setNotificationPositionMode:function(e){i.default.dispatch({type:d.ActionTypes.OVERLAY_SET_NOTIFICATION_POSITION_MODE,mode:e})},setTextChatNotificationMode:function(e){i.default.dispatch({type:d.ActionTypes.OVERLAY_SET_TEXT_CHAT_NOTIFICATION_MODE,mode:e})},callPrivateChannel:function(e,t){i.default.dispatch({type:d.ActionTypes.OVERLAY_CALL_PRIVATE_CHANNEL,channelId:e,ring:t})},setTextWidgetOpacity:function(e){i.default.dispatch({type:d.ActionTypes.OVERLAY_SET_TEXT_WIDGET_OPACITY,opacity:e})},disableExternalLinkAlert:function(){i.default.dispatch({type:d.ActionTypes.OVERLAY_DISABLE_EXTERNAL_LINK_ALERT})},startSession:function(){if(!__OVERLAY__)throw new Error("Attempting to start an overlay session outside of the overlay context");i.default.dirtyDispatch({type:d.ActionTypes.OVERLAY_START_SESSION})},activateRegion:function(e){i.default.dispatch({type:d.ActionTypes.OVERLAY_ACTIVATE_REGION,region:e})},deactivateAllRegions:function(){i.default.dispatch({type:d.ActionTypes.OVERLAY_DEACTIVATE_ALL_REGIONS})},setPreviewInGameMode:function(e){i.default.dirtyDispatch({type:d.ActionTypes.OVERLAY_SET_PREVIEW_IN_GAME_MODE,isPreviewingInGame:e})},updateNotificationStatus:function(e,t){void 0===t&&(t=d.OverlayNotificationStatus.DISMISSED),i.default.dispatch({type:d.ActionTypes.OVERLAY_UPDATE_NOTIFICATION_STATUS,notificationId:e,status:t})},setPinChat:function(e){var t=l.OVERLAY_LAYOUT_ID,n=a.default.getWidgetsForLayout(t),i=a.default.getWidgetConfig(d.OverlayWidgets.GUILDS),o=a.default.getWidgetConfig(d.OverlayWidgets.TEXT),f=a.default.getWidgetConfig(d.OverlayWidgets.GUILDS_TEXT);if(0!==n.length&&null!=i&&null!=o&&null!=f){var p=s.default.windowSize(),E={width:0,height:0},h={top:0,left:0,right:0,bottom:0},m={width:312,height:0},v={top:0,left:0,right:0,bottom:0},T={width:0,height:0};if(n.forEach((function(e){var t=e.type,n=e.id,r=e.anchor,i=e.size;switch(t){case d.OverlayWidgets.TEXT:E=(0,u.getSizeFromLayoutSize)(i,p),(0,c.deleteWidget)(n);break;case d.OverlayWidgets.GUILDS:h=(0,u.getFullCoordsFromLayoutSize)(r,i,p),m=(0,u.getSizeFromLayoutSize)(i,p),(0,c.deleteWidget)(n);break;case d.OverlayWidgets.GUILDS_TEXT:v=(0,u.getFullCoordsFromLayoutSize)(r,i,p),T=(0,u.getSizeFromLayoutSize)(i,p),(0,c.deleteWidget)(n)}})),e){var g="auto"===T.width?f.minSize.width:T.width;g-=i.minSize.width;var I=(0,u.getLeftWidgetSpecs)(v,_({},T,{width:i.minSize.width}),p),S=I[0],y=I[1],A=(0,u.getRightWidgetSpecs)(v,_({},T,{width:g}),p,{x:10,y:10}),O=A[0],N=A[1],R=a.default.getWidgetDefaultSettings(d.OverlayWidgets.TEXT);if(null==R)throw new Error("OverlayActionCreators.setPinChat: No config for TEXT exists");(0,c.createWidget)(_({},R,{type:d.OverlayWidgets.TEXT,id:r.default.v4(),size:N,anchor:O,layoutId:t}));var b=a.default.getWidgetDefaultSettings(d.OverlayWidgets.GUILDS);if(null==b)throw new Error("OverlayActionCreators.setPinChat: No config for GUILDS exists");(0,c.createWidget)(_({},b,{type:d.OverlayWidgets.GUILDS,id:r.default.v4(),size:y,anchor:S,layoutId:t}))}else{var L="auto"===E.width?o.minSize.width:E.width;L+=i.minSize.width;var D=(0,u.getLeftWidgetSpecs)(h,{height:m.height,width:L},p),C=D[0],M=D[1],P=a.default.getWidgetDefaultSettings(d.OverlayWidgets.GUILDS_TEXT);if(null==P)throw new Error("OverlayActionCreators.setPinChat: No config for GUILDS_TEXT exists");(0,c.createWidget)(_({},P,{type:d.OverlayWidgets.GUILDS_TEXT,id:r.default.v4(),layoutId:t,anchor:C,size:M}))}}},resetDefaultLayout:function(e){null!=a.default.getLayout(e)&&((0,c.deleteAllWidgets)(e),(0,c.createWidgets)(a.default.getDefaultLayout(e)))}},E=p;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?24:t,r=e.height,i=void 0===r?24:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 24 24"}),l("path",{className:d,fill:c,fillRule:"evenodd",clipRule:"evenodd",d:"M14 8.00598C14 10.211 12.206 12.006 10 12.006C7.795 12.006 6 10.211 6 8.00598C6 5.80098 7.794 4.00598 10 4.00598C12.206 4.00598 14 5.80098 14 8.00598ZM2 19.006C2 15.473 5.29 13.006 10 13.006C14.711 13.006 18 15.473 18 19.006V20.006H2V19.006Z"}),l("path",{className:d,fill:c,fillRule:"evenodd",clipRule:"evenodd",d:"M14 8.00598C14 10.211 12.206 12.006 10 12.006C7.795 12.006 6 10.211 6 8.00598C6 5.80098 7.794 4.00598 10 4.00598C12.206 4.00598 14 5.80098 14 8.00598ZM2 19.006C2 15.473 5.29 13.006 10 13.006C14.711 13.006 18 15.473 18 19.006V20.006H2V19.006Z"}),l("path",{className:d,fill:c,d:"M20.0001 20.006H22.0001V19.006C22.0001 16.4433 20.2697 14.4415 17.5213 13.5352C19.0621 14.9127 20.0001 16.8059 20.0001 19.006V20.006Z"}),l("path",{className:d,fill:c,d:"M14.8834 11.9077C16.6657 11.5044 18.0001 9.9077 18.0001 8.00598C18.0001 5.96916 16.4693 4.28218 14.4971 4.0367C15.4322 5.09511 16.0001 6.48524 16.0001 8.00598C16.0001 9.44888 15.4889 10.7742 14.6378 11.8102C14.7203 11.8418 14.8022 11.8743 14.8834 11.9077Z"}))}c.displayName="People"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.COMMAND_SUPPORTED_CHANNEL_TYPE_KEYS=t.WHITESPACE_REGEX=void 0;var r=G(n(480)),i=G(n(8)),o=G(n(460)),a=n(180),s=G(n(5522)),u=G(n(26)),l=n(1172),c=n(1196),d=G(n(362)),f=n(366),_=G(n(300)),p=n(31),E=G(n(89)),h=G(n(10)),m=G(n(249)),v=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=k();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(86)),T=G(n(56)),g=G(n(15)),I=G(n(201)),S=G(n(40)),y=G(n(256)),A=G(n(70)),O=G(n(36)),N=G(n(107)),R=G(n(12)),b=G(n(373)),L=G(n(699)),D=n(48),C=G(n(723)),M=G(n(78)),P=G(n(264)),w=n(139),U=n(1);function k(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return k=function(){return e},e}function G(e){return e&&e.__esModule?e:{default:e}}function Y(){return(Y=Object.assign||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}).apply(this,arguments)}function x(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return V(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return V(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function V(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var H=new u.default("AutocompleteUtils"),F=function(){return!0},B=/(\t|\s)/;t.WHITESPACE_REGEX=B;var j,W=[],K=(j=n(5523).default).MENTION_EVERYONE,z=j.MENTION_HERE,q=j.LAUNCHABLE_APPLICATIONS,X=[v.GUILD_SELECTABLE_CHANNELS_KEY,v.GUILD_VOCAL_CHANNELS_KEY,U.ChannelTypes.GUILD_CATEGORY];function J(e,t,n,i,o){void 0===o&&(o=!0);try{if(t.test(e))return 10}catch(e){H.error(e)}try{if(n.test(e))return 5}catch(e){H.error(e)}return o&&(0,r.default)(i,e)?1:0}function Q(e){return null!=(null==e?void 0:e.joinedAt)&&!e.isPending}function Z(e,t,n,i){for(var a=R.default.getUsers(),s=N.default.getGuildId(),u=e.toLocaleLowerCase(),l=u.length,c=[],d=[],f=t.length,_=0,p=0;_<f;){var h=t[_],m=void 0,v=void 0;if(h instanceof E.default?(v=h,m=T.default.getNick(s,v.id)):(m=h.nick,v=a[h.userId]),!i||i(v)){var g=v,I=g.usernameNormalized,S=g.username,y=null!=m?m.toLocaleLowerCase():null;I.substr(0,l)===u||y&&(0,w.stripDiacritics)(y.substr(0,l))===u||S.substr(0,l)===u||y&&y.substr(0,l)===u?c.push({comparator:y||I,score:10,nick:m,user:v}):p<50&&((0,r.default)(u,I)||y&&(0,r.default)(u,y))&&(d.push({comparator:y||I,score:1,nick:m,user:v}),p+=1)}_+=1}return c.sort(o.default),c.length<n&&(d.sort(o.default),c=c.concat(d.slice(0,Math.max(0,n-c.length)))),c.length>n&&(c.length=n),c}function $(e){switch(e){case f.StickerMetadataTypes.STICKER_NAME:return 11;case f.StickerMetadataTypes.CORRELATED_EMOJI:return 6;case f.StickerMetadataTypes.TAG:default:return 1}}function ee(e,t,n){for(var r,i=0,o=null,a=x(t);!(r=a()).done;){var s=r.value,u=J(e,s.exactQuery,s.containQuery,s.queryLower,n);u>i&&(i=u,o=s)}return null!=o&&(o.isFullMatch?t.length=0:t.splice(t.indexOf(o),1)),i}function te(e,t){var n=h.default.getChannel(e);return null==e||null==n?[]:(0,i.default)(I.default.getMessages(e).toArray()).reverse().map((function(e){return e.author})).reject((function(e){return e.isNonUserBot()})).uniqBy((function(e){return e.id})).filter((function(e){var t=n.getGuildId();return null==t||Q(T.default.getMember(t,e.id))})).map((function(e){var t=n.getGuildId(),r=null!=t&&T.default.getMember(t,e.id)||{};return{nick:r.nick||null,score:0,comparator:r.nick||e.username,user:e}})).take(t).value()}t.COMMAND_SUPPORTED_CHANNEL_TYPE_KEYS=X;var ne={queryFriends:function(e,t,n,r){return void 0===t&&(t=10),void 0===n&&(n=!0),Z(e,A.default.getFriendIDs().map((function(e){return R.default.getUser(e)})).filter(D.isNotNullish),t,r)},queryDMUsers:function(e,t,n,r){return void 0===t&&(t=10),void 0===n&&(n=!0),Z(e,h.default.getDMUserIds().map((function(e){return R.default.getUser(e)})).filter(D.isNotNullish),t,r)},queryChannelUsers:function(e,t,n,r){void 0===n&&(n=10),void 0===r&&(r=!0);var i=h.default.getChannel(e);if(null==i)return[];var o,a=i.isThread()?h.default.getChannel(i.parent_id):null,s=null!=a?a:i;if(null==s)return[];if(s.isPrivate()){o=s.recipients.map((function(e){var t;return{userId:e,nick:null!==(t=A.default.getNickname(e))&&void 0!==t?t:null}}));var u=R.default.getCurrentUser();o.push({userId:u.id,nick:null})}else if(0===t.length){var l=te(i.id,n);if(null!=l&&l.length>0)return l;o=T.default.getMembers(s.guild_id).filter(Q)}else o=T.default.getMembers(s.guild_id).filter(Q),r&&C.default.requestMembers(s.guild_id,t,n);return Z(t,o,n,(function(e){return s.isPrivate()||M.default.can(U.Permissions.VIEW_CHANNEL,e,s)}))},queryGuildUsers:function(e,t,n,r,i){if(void 0===n&&(n=10),void 0===r&&(r=!0),null==g.default.getGuild(e))return[];if(0===t.length)return te(O.default.getChannelId(e),n);var o=T.default.getMembers(e).filter(Q);return r&&t.length>0&&C.default.requestMembers(e,t,n),Z(t,o,n,i)},queryUsers:function(e,t,n,r,o){return void 0===t&&(t=10),void 0===n&&(n=!0),void 0===r&&(r=!0),r&&e.length>0&&C.default.requestMembers(null,e,t),Z(e,(0,i.default)(R.default.getUsers()).values().value(),t,o)},queryChannels:function(e,t,n,r,s,u,l){void 0===n&&(n=10),void 0===r&&(r=!0),void 0===s&&(s=F),void 0===u&&(u=v.GUILD_SELECTABLE_CHANNELS_KEY),void 0===l&&(l=!1);var c=function(e,t){void 0===t&&(t=!1);var n=e.split(" ").filter((function(e){return""!==e||t})).map((function(e){var t=e.toLocaleLowerCase();return{queryLower:t,exactQuery:new RegExp("^"+P.default.escape(t),"i"),containQuery:new RegExp(P.default.escape(t),"i"),isFullMatch:!1}}));if(e.includes(" ")){var r=e.toLocaleLowerCase();n.unshift({queryLower:r,exactQuery:new RegExp("^"+P.default.escape(r),"i"),containQuery:new RegExp(P.default.escape(r),"i"),isFullMatch:!0})}return n}(e,l);return(t?(0,i.default)(v.default.getChannels(t)[u]).map((function(e){return e.channel})).concat(_.default.computeAllActiveJoinedThreads(t)):(0,i.default)(h.default.getMutableGuildAndPrivateChannels()).values().concat(_.default.computeAllActiveJoinedThreads())).map((function(e){var t,n;if(u!==e.type&&(u!==v.GUILD_SELECTABLE_CHANNELS_KEY||!(0,p.isGuildSelectableChannelType)(e.type))&&(u!==v.GUILD_VOCAL_CHANNELS_KEY||!(0,p.isGuildVocalChannelType)(e.type))||(0,p.isGuildSelectableChannelType)(e.type)&&!S.default.can(U.Permissions.VIEW_CHANNEL,e)||e.isVocal()&&!S.default.can(e.accessPermissions,e)||!s(e))return null;var i=[].concat(c),o=ee(e.name.toLocaleLowerCase(),i,r);return 0===o?null:([null===(t=g.default.getGuild(e.guild_id))||void 0===t?void 0:t.toString().toLocaleLowerCase(),null===(n=h.default.getChannel(e.parent_id))||void 0===n?void 0:n.name.toLocaleLowerCase(),e.name.toLocaleLowerCase()].forEach((function(e){if(null==e||""===e)return null;var t=ee(e,i,!1);0!==t&&(o+=.5*t)})),1===i.length&&i[0].isFullMatch&&(i.length=0),o>0&&0===i.length?{channel:e,score:o,comparator:(0,a.computeChannelName)(e,R.default,A.default)}:null)})).filter(D.isNotNullish).sortBy((function(e){return e.channel.name})).sort(o.default).take(n).value()},queryGuilds:function(e,t,n,r){void 0===t&&(t=10),void 0===n&&(n=!0),void 0===r&&(r=F);var a=e.toLocaleLowerCase(),s=new RegExp("^"+P.default.escape(a),"i"),u=new RegExp(P.default.escape(a),"i");return(0,i.default)(g.default.getGuilds()).values().map((function(e){if(r(e)){var t=J(e.name.toLocaleLowerCase(),s,u,a,n);if(t>0)return{guild:e,score:t,comparator:e.toString()}}return null})).filter(D.isNotNullish).sortBy((function(e){return e.guild.name})).sort(o.default).take(t).value()},queryGroupDMs:function(e,t,n,r){void 0===t&&(t=10),void 0===n&&(n=!0),void 0===r&&(r=F);var s=e.toLocaleLowerCase(),u=new RegExp("^"+P.default.escape(s),"i"),l=new RegExp(P.default.escape(s),"i"),c=L.default.getPrivateChannelIds(),d=h.default.getMutablePrivateChannels();return(0,i.default)(c).map((function(e){return d[e]})).map((function(e){if(!e.isMultiUserDM()||!r(e))return null;var t=J((0,a.computeChannelName)(e,R.default,A.default).toLocaleLowerCase(),u,l,s,n);return t>0?{channel:e,score:t,comparator:(0,a.computeChannelName)(e,R.default,A.default)}:null})).filter(D.isNotNullish).sort(o.default).value()},queryApplications:function(e,t,n,r){void 0===t&&(t=10),void 0===n&&(n=!0),void 0===r&&(r=F);var a=e.toLocaleLowerCase(),s=new RegExp("^"+P.default.escape(a),"i"),u=new RegExp(P.default.escape(a),"i"),l=q();return(0,i.default)(l).map((function(e){var t=e.application;if(r(t)){var i=t.name.toLocaleLowerCase(),o=J(i,s,u,a,n);if(o>0)return{application:t,score:o,comparator:i}}return null})).filter(D.isNotNullish).sort(o.default).take(t).value()},querySKUs:function(e,t,n,r){void 0===t&&(t=10),void 0===n&&(n=!0),void 0===r&&(r=F);var a=e.toLocaleLowerCase(),s=new RegExp("^"+P.default.escape(a),"i"),u=new RegExp(P.default.escape(a),"i"),l=b.default.getSKUs();return(0,i.default)(l).values().map((function(e){if(e.type===U.SKUTypes.DURABLE_PRIMARY&&r(e)){var t=e.name.toLocaleLowerCase(),i=J(t,s,u,a,n);if(i>0)return{sku:e,score:i,comparator:t}}return null})).filter(D.isNotNullish).sort(o.default).take(t).value()},getRecentlyTalked:te,queryMentionResults:function(e,t,n,o,a,s,u,l){void 0===n&&(n=!1),void 0===o&&(o=!0),void 0===a&&(a=!0),void 0===s&&(s=!0),void 0===u&&(u=!1),void 0===l&&(l=!1);var c=a?(u&&null!=t.guild_id?this.queryGuildUsers(t.guild_id,e):this.queryChannelUsers(t.id,e)).map((function(e){return Y({},e,{status:y.default.getStatus(e.user.id)})})):[],d=c.length,f=[];if(d<U.MAX_AUTOCOMPLETE_RESULTS&&s){var _=t.getGuildId(),p=g.default.getGuild(_);null!=p&&((0,i.default)(p.roles).filter((function(t){var i=t.mentionable,o=t.name,a=t.id;return(i||n||l)&&(0,r.default)(e,o.toLowerCase())&&a!==_})).take(U.MAX_AUTOCOMPLETE_RESULTS-d).forEach((function(e){f.push(e)})),d+=f.length)}var E=[];return!t.isPrivate()&&n&&s&&(d<U.MAX_AUTOCOMPLETE_RESULTS&&(0,r.default)(e,K().test)&&(E.push(K()),d+=1),o&&d<U.MAX_AUTOCOMPLETE_RESULTS&&(0,r.default)(e,z().test)&&E.push(z())),{users:c,globals:E,roles:f}},queryGuildMentionResults:function(e,t,n,o,a,s){void 0===n&&(n=!1),void 0===o&&(o=!0),void 0===a&&(a=!0),void 0===s&&(s=!1);var u=o?this.queryGuildUsers(t,e).map((function(e){return Y({},e,{status:y.default.getStatus(e.user.id)})})):[],l=u.length,c=[];if(l<U.MAX_AUTOCOMPLETE_RESULTS&&a){var d=g.default.getGuild(t);null!=d&&((0,i.default)(d.roles).filter((function(i){var o=i.mentionable,a=i.name,u=i.id;return(o||n||s)&&(0,r.default)(e,a.toLowerCase())&&u!==t})).take(U.MAX_AUTOCOMPLETE_RESULTS-l).forEach((function(e){c.push(e)})),l+=c.length)}var f=[];return n&&a&&(l<U.MAX_AUTOCOMPLETE_RESULTS&&(0,r.default)(e,K().test)&&(f.push(K()),l+=1),l<U.MAX_AUTOCOMPLETE_RESULTS&&(0,r.default)(e,z().test)&&f.push(z())),{users:u,globals:f,roles:c}},queryChoice:function(e,t,n,r){void 0===n&&(n=10),void 0===r&&(r=!0);var a=e.toLocaleLowerCase(),s=new RegExp("^"+P.default.escape(a),"i"),u=new RegExp(P.default.escape(a),"i"),l=(0,i.default)(t).map((function(e){var t=J(e.name.toLocaleLowerCase(),s,u,a,r);return t>0?{choice:e,score:t}:null})).filter(D.isNotNullish).sort(o.default);return null!==n&&(l=l.take(n)),l.value()},queryChannelResults:function(e,t,n){return void 0===n&&(n=v.GUILD_SELECTABLE_CHANNELS_KEY),{channels:this.queryChannels(e,t.getGuildId(),void 0,void 0,void 0,n,!0).map((function(e){return e.channel}))}},queryApplicationCommandChannelResults:function(e,t){for(var n,r=[],i=x(X);!(n=i()).done;){var o=n.value;r=r.concat(this.queryChannels(e,t.guild_id,U.MAX_AUTOCOMPLETE_RESULTS,!0,(function(){return!0}),o,!0))}return(r=r.filter((function(e){return"null"!==e.channel.id})).sort(s.default)).length>U.MAX_AUTOCOMPLETE_RESULTS&&(r=r.slice(0,U.MAX_AUTOCOMPLETE_RESULTS)),{channels:r.map((function(e){return e.channel}))}},queryChoiceResults:function(e,t){return{choices:this.queryChoice(e,t,null).map((function(e){return e.choice}))}},queryEmojiResults:function(e,t,n,r){return{emojis:m.default.search(t,e,U.MAX_AUTOCOMPLETE_RESULTS,n,r)}},queryStickers:function(e,t,n){void 0===t&&(t=!0);for(var r,o=void 0===n?[null,F]:n,a=o[0],s=o[1],u=d.default.stickerMetadata,f=R.default.getNullableCurrentUser(),_=new Set,p=[],E=function(){var e=r.value.toLocaleLowerCase();""!==e&&u.forEach((function(n,r){var i=0,o=null,u=d.default.getStickerById(r);if(null!=u&&s(u,(0,l.getStickerSendability)(u,f,a))){for(var E,h=x(n);!(E=h()).done;){var m=E.value,v=m.type,T=m.value,g=$(v),I=0;if(t){var S=(0,w.stripDiacritics)(e),y=new RegExp("^"+P.default.escape(S),"i");T===e?I=10*g:y.test(T)&&(I=5*g)}else T===e&&(I=10*g,o=T);I>i&&(i=I,o=T)}var A=c.stickerFrecency.getScore(r);null!=A&&(i*=A/100),i>0&&null!=o&&!_.has(u.id)&&(_.add(u.id),p.push({sticker:u,comparator:o,score:i}))}}))},h=x(e);!(r=h()).done;)E();return 0===(p=(0,i.default)(p).sortBy((function(e){return-1*e.score})).value()).length&&(p=W),{stickers:p}},matchSentinel:function(e,t,n){return!B.test(t)&&e===n}};t.default=ne},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArchivedOrUnjoinedThread=function(e){var t;return null==e||!!o.THREAD_CHANNEL_TYPES.has(e.type)&&((null===(t=e.threadMetadata)||void 0===t?void 0:t.archived)||!l.default.hasJoined(e.id))},t.convertServerThreadMember=function(e){return{id:e.id,userId:e.user_id,flags:e.flags,joinTimestamp:e.join_timestamp}},t.trackThreadBrowserTab=function(e){(0,i.trackWithMetadata)(d.AnalyticEvents.THREAD_BROWSER_TAB_CHANGED,{type:e})},t.trackThreadBrowserOpened=function(e){void 0===e&&(e="Modal");(0,i.trackWithMetadata)(d.AnalyticEvents.OPEN_MODAL,{type:"Thread Browser",location_section:e})},t.trackActiveThreadsPopoutOpened=function(){s.default.track(d.AnalyticEvents.OPEN_POPOUT,{type:"Active Threads Popout"})},t.trackThreadNotificationSettingsUpdated=function(e,t){var n,r=(0,i.collectThreadMetadata)(e);if(null==r)return;var o=e.getGuildId(),f=e.parent_id,_=(0,u.getCurrentChannelSettings)(o,f),E=function(e){return e&c.ThreadMemberFlags.ALL_MESSAGES?u.MessageNotificationSettings[d.UserNotificationSettings.ALL_MESSAGES]:e&c.ThreadMemberFlags.ONLY_MENTIONS?u.MessageNotificationSettings[d.UserNotificationSettings.ONLY_MENTIONS]:e&c.ThreadMemberFlags.NO_MESSAGES?u.MessageNotificationSettings[d.UserNotificationSettings.NO_MESSAGES]:u.MessageNotificationSettings[d.UserNotificationSettings.NULL]},h=null!==(n=l.default.flags(e.id))&&void 0!==n?n:0,m=p({},r,{channel_id:e.id,guild_id:o,parent_id:f,channel_type:e.type,has_interacted_with_thread:0!=(h&c.ThreadMemberFlags.HAS_INTERACTED),parent_is_muted:a.default.isGuildOrCategoryOrChannelMuted(o,f),old_thread_notification_setting:E(h),new_thread_notification_setting:E(t),parent_notification_setting:_.channel_message_notification_settings});s.default.track(d.AnalyticEvents.THREAD_NOTIFICATION_SETTINGS_UPDATED,m)},t.getTimestampString=void 0;var r=_(n(5)),i=n(106),o=n(31),a=_(n(181)),s=_(n(13)),u=n(1380),l=_(n(204)),c=n(392),d=n(1),f=_(n(6));function _(e){return e&&e.__esModule?e:{default:e}}function p(){return(p=Object.assign||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}).apply(this,arguments)}t.getTimestampString=function(e){var t=(0,r.default)().diff((0,r.default)(e),"s"),n=f.default.Messages.THREAD_BROWSER_TIMESTAMP_MORE_THAN_MONTH;return t<60?n=f.default.Messages.THREAD_BROWSER_TIMESTAMP_MINUTES.format({count:1}):t<3600?n=f.default.Messages.THREAD_BROWSER_TIMESTAMP_MINUTES.format({count:Math.floor(t/60)}):t<86400?n=f.default.Messages.THREAD_BROWSER_TIMESTAMP_HOURS.format({count:Math.floor(t/3600)}):t<2592e3&&(n=f.default.Messages.THREAD_BROWSER_TIMESTAMP_DAYS.format({count:Math.floor(t/86400)})),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(8)),i=d(n(3)),o=d(n(2)),a=n(31),s=d(n(10)),u=d(n(15)),l=d(n(12)),c=d(n(97));n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(){return(_=Object.assign||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}).apply(this,arguments)}var p={},E=[];function h(){var e=(0,r.default)(p).toPairs().filter((function(e){var t=e[0],n=s.default.getChannel(t);return null==n||null==u.default.getGuild(n.guild_id)})).sort((function(e,t){e[0];var n=e[1],r=(t[0],t[1]);return c.default.compare(n,r)})).reverse().map((function(e){return e[0]})).value(),t=!r.default.isEqual(E,e);return t&&(E=e),t}var m=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(s.default,u.default,l.default)},i.getPrivateChannelIds=function(){return E},i.serializeForOverlay=function(){return p},r}(i.default.Store))(o.default,{CONNECTION_OPEN:function(e){var t=e.channels;p={},t.forEach((function(e){(0,a.isPrivate)(e.type)&&(p[e.id]=e.lastMessageId||e.id)})),h()},OVERLAY_INITIALIZE:function(e){var t=e.sortedPrivateChannels;p=_({},t),h()},CACHE_LOADED_LAZY:function(e){var t=e.privateChannelIds;E=t},CHANNEL_CREATE:function(e){var t=e.channel;return!!(0,a.isPrivate)(t.type)&&(p[t.id]=t.lastMessageId||t.id,h())},CHANNEL_DELETE:function(e){var t=e.channel;return null!=p[t.id]&&(delete p[t.id],h())},MESSAGE_CREATE:function(e){var t=e.channelId,n=e.message;return null!=p[t]&&(p[t]=n.id,h())},GUILD_CREATE:function(e){var t=e.guild.id;return null!=p[t]&&delete p[t],h()},GUILD_DELETE:function(e){return h()}});t.default=m},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.startLurking=v,t.viewGuild=function(e,t,n,r,i){return g.apply(this,arguments)},t.makeDiscoverableGuild=I,t.makeAnalyticsID=function(){return o.default.v4().replace(/-/g,"")},t.trackDiscoveryViewed=function(e,t,n,r){var i=t.length,o=n.length;f.default.track(_.AnalyticEvents.GUILD_DISCOVERY_VIEWED,{load_id:e,num_guilds:i+o,num_guilds_recommended:i,num_guilds_popular:o,recommended_guild_ids:t.map((function(e){return e.id})),category_id:r})},t.trackDiscoveryExited=function(e,t){f.default.track(_.AnalyticEvents.GUILD_DISCOVERY_EXITED,{load_id:e,guild_ids_viewed:t})},t.trackGuildSelected=S,t.trackSearchStarted=function(e,t){void 0===t&&(t={});f.default.track(_.AnalyticEvents.SEARCH_STARTED,{search_type:_.SearchTypes.GUILD_DISCOVERY,load_id:e,location:t.location})},t.trackSearchResultsViewed=function(e,t,n,r,i,o){f.default.track(_.AnalyticEvents.SEARCH_RESULT_VIEWED,{search_type:_.SearchTypes.GUILD_DISCOVERY,load_id:e,search_id:t,total_results:void 0!==r?r.length:null,guild_ids:void 0!==r?r.map((function(e){return e.id})):null,query:n,location:i.location,category_id:o})},t.trackSearchResultSelected=function(e,t,n,r,i){void 0===i&&(i={});f.default.track(_.AnalyticEvents.SEARCH_RESULT_SELECTED,{search_type:_.SearchTypes.GUILD_DISCOVERY,load_id:e,search_id:t,index_num:n,total_results:r,location:i.location})},t.getDiscoverableGuild=function(e){return y.apply(this,arguments)},t.AnalyticsContexts=void 0;var r,i=p(n(137)),o=p(n(98)),a=p(n(14)),s=p(n(199)),u=p(n(182)),l=n(42),c=p(n(15)),d=p(n(36)),f=p(n(13)),_=n(1);function p(e){return e&&e.__esModule?e:{default:e}}function E(){return(E=Object.assign||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}).apply(this,arguments)}function h(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function m(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){h(o,r,i,a,s,"next",e)}function s(e){h(o,r,i,a,s,"throw",e)}a(void 0)}))}}function v(e,t,n){return T.apply(this,arguments)}function T(){return(T=m(regeneratorRuntime.mark((function e(t,n,r){var i,o,a,f,p,h,m;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===r&&(r={}),o=(i=r).channelId,a=i.onSuccess,f=i.joinSource,p=(0,l.getHistory)(),u.default.setHistorySnapshot(E({},p)),h=c.default.getGuild(t),m={state:{analyticsSource:n}},null==h||null==h.joinedAt){e.next=10;break}(0,l.transitionTo)(_.Routes.CHANNEL(t,d.default.getChannelId(t)),m),e.next=14;break;case 10:return e.next=12,s.default.joinGuild(t,!0,f);case 12:return e.next=14,s.default.transitionToGuildSync(t,E({},m,{welcomeModalChannelId:o}),o);case 14:null==a||a();case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(){return(g=m(regeneratorRuntime.mark((function e(t,n,i,o,a){var s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"string"==typeof o&&o in r&&(s=o),u={page:_.AnalyticsPages.GUILD_DISCOVERY,object:_.AnalyticsObjects.CARD,section:s},e.next=4,v(n,u);case 4:S(t,n,i,o,a);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function I(e){return{id:e.id,name:e.name,description:e.description,splash:e.splash,banner:e.banner,icon:e.icon,features:new Set(e.features),presenceCount:e.approximate_presence_count,memberCount:e.approximate_member_count,premiumSubscriptionCount:e.premium_subscription_count,preferredLocale:e.preferred_locale,discoverySplash:e.discovery_splash,emojis:e.emojis,emojiCount:e.emoji_count,stickers:e.stickers,stickerCount:e.sticker_count}}function S(e,t,n,r,i){var o={page:_.AnalyticsPages.GUILD_DISCOVERY,section:r};null!=r.location&&(o=r.location),f.default.track(_.AnalyticEvents.GUILD_DISCOVERY_GUILD_SELECTED,{location:o,guild_id:t,load_id:e,card_index:n,location_object:_.AnalyticsObjects.CARD,category_id:i})}function y(){return(y=m(regeneratorRuntime.mark((function e(t){var n,r,o,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,a.default.get({url:_.Endpoints.GUILD_DISCOVERY,query:i.default.stringify({guild_ids:t}),oldFormErrors:!0});case 3:if(o=e.sent,null!=(s=null===(n=o.body)||void 0===n||null===(r=n.guilds)||void 0===r?void 0:r[0])){e.next=7;break}return e.abrupt("return",s);case 7:return e.abrupt("return",I(s));case 10:return e.prev=10,e.t0=e.catch(0),e.abrupt("return",null);case 13:case"end":return e.stop()}}),e,null,[[0,10]])})))).apply(this,arguments)}t.AnalyticsContexts=r,function(e){e.SEARCH="Search",e.RECOMMENDED="Recommended",e.POPULAR="Popular",e.RECOMMENDED_E3="Recommended - E3"}(r||(t.AnalyticsContexts=r={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),i=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=new Set;var u=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n);var i=r.prototype;return i.initialize=function(e){s=new Set(e)},i.hasHotspot=function(e){return!s.has(e)},i.getState=function(){return s},r}(r.default.PersistedStore);u.persistKey="hotspots";var l=new u(i.default,{OVERLAY_INITIALIZE:function(e){var t=e.hiddenHotspots;s=new Set(t)},HOTSPOT_HIDE:function(e){var t=e.location;if(s.has(t))return!1;s.add(t)}});t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Slide=function(e){return null},t.Slides=v,t.springConfig=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(122),a=n(95),s=f(n(763)),u=n(123),l=f(n(447)),c=f(n(1336)),d=f(n(1422));function f(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function p(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(){return(E=Object.assign||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}).apply(this,arguments)}var h={mass:1,tension:300,friction:28};function m(e,t){return function(n){if(0===n)return"auto";var r="forwards"===t.current,i=n>0,o=!1;return i&&r&&"left"===e&&(o=!0),i&&!r&&"right"===e&&(o=!0),!i&&r&&"right"===e&&(o=!0),i||r||"left"!==e||(o=!0),o?100*Math.abs(n)+"%":"auto"}}function v(e){var t,n={};i.Children.forEach(e.children,(function(e,t){n[e.props.id]={children:e.props.children,impressionName:e.props.impressionName,impressionMetadata:e.props.impressionMetadata,index:t}}));var r,f,_=e.activeSlide,v=(0,s.default)(e.activeSlide),T=(r=null!=v?n[v]:null,f=n[_],null==r?null:r.index>f.index?"backwards":r.index<f.index?"forwards":null),g=i.useContext(u.AccessibilityPreferencesContext).reducedMotion,I=i.useContext(l.default),S=n[_].impressionName,y=n[_].impressionMetadata;I({type:a.ImpressionTypes.MODAL,name:S,metadata:y});var A=i.useRef(null),O=(0,d.default)(A,!0,[_]),N=E({},h,{},e.springConfig,{},g.enabled?{clamp:!0}:null),R=(0,o.useSpring)({immediate:null==v||null!=O&&O.observed,width:null!==(t=e.width)&&void 0!==t?t:null!=O?O.width:0,height:null!=O?O.height:0,config:N}),b=(0,o.useTransition)(_,{immediate:null==v,value:0,from:{value:1},enter:{value:0},leave:{value:-1},config:N,onRest:function(t,n){var r=n.item;r===_&&null!=e.onSlideReady&&e.onSlideReady(r)}}),L=(0,c.default)(T),D=e.width,C=e.centered,M=void 0===C||C;return p(o.animated.div,{style:{position:"relative",overflow:"hidden",width:R.width.to((function(e){return Math.round(e)})),height:R.height.to((function(e){return Math.round(e)}))}},void 0,b((function(e,t,r){var a=r.key;return i.createElement(o.animated.div,{ref:t===_?A:null,key:a,style:E({position:"absolute",display:"block",backfaceVisibility:"hidden",width:D},M?{transform:"translate3d(0, -50%, 0) scale(1.0, 1.0)",top:"50%"}:{transform:"scale(1.0, 1.0)"},{},g.enabled?{opacity:e.value.to((function(e){return 1-Math.abs(e)}))}:{left:e.value.to(m("left",L)),right:e.value.to(m("right",L))})},n[t].children)})))}t.springConfig=h,v.displayName="Slides"},function(e,t,n){"use strict";var r,i,o;Object.defineProperty(t,"__esModule",{value:!0}),t.Orientations=t.Keys=t.ActionType=void 0,t.ActionType=r,function(e){e.NAVIGATE_UP="NAVIGATE_UP",e.NAVIGATE_DOWN="NAVIGATE_DOWN",e.NAVIGATE_LEFT="NAVIGATE_LEFT",e.NAVIGATE_RIGHT="NAVIGATE_RIGHT",e.NAVIGATE_START="NAVIGATE_START",e.NAVIGATE_END="NAVIGATE_END",e.NAVIGATE_INLINE_START="NAVIGATE_INLINE_START",e.NAVIGATE_INLINE_END="NAVIGATE_INLINE_END",e.NAVIGATE_CROSSLINE_START="NAVIGATE_CROSSLINE_START",e.NAVIGATE_CROSSLINE_END="NAVIGATE_CROSSLINE_END",e.NAVIGATE_NEXT_INTERACTABLE="NAVIGATE_NEXT_INTERACTABLE",e.NAVIGATE_PREV_INTERACTABLE="NAVIGATE_PREV_INTERACTABLE",e.NAVIGATE_IN="NAVIGATE_IN",e.NAVIGATE_OUT="NAVIGATE_OUT",e.SELECT_FOCUSED_ITEM="SELECT_FOCUSED_ITEM",e.QUERY_START="QUERY_START",e.QUERY_CLEAR="QUERY_CLEAR"}(r||(t.ActionType=r={})),t.Keys=i,function(e){e.ENTER="Enter",e.SPACE=" ",e.ESCAPE="Escape",e.TAB="Tab",e.F10="F10",e.HOME="Home",e.END="End",e.UP="ArrowUp",e.DOWN="ArrowDown",e.LEFT="ArrowLeft",e.RIGHT="ArrowRight",e.PAGE_UP="PageUp",e.PAGE_DOWN="PageDown"}(i||(t.Keys=i={})),t.Orientations=o,function(e){e.HORIZONTAL="horizontal",e.VERTICAL="vertical"}(o||(t.Orientations=o={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(2)),i=n(106),o=s(n(13)),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||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}).apply(this,arguments)}var l={rebuildRTCActiveChannels:function(){r.default.dispatch({type:a.ActionTypes.CHANNEL_RTC_ACTIVE_CHANNELS})},selectParticipant:function(e,t){r.default.dispatch({type:a.ActionTypes.CHANNEL_RTC_SELECT_PARTICIPANT,channelId:e,id:t})},updateLayout:function(e,t,n){void 0===n&&(n=a.AppContext.APP),o.default.track(a.AnalyticEvents.VIDEO_LAYOUT_TOGGLED,u({video_layout:t},(0,i.collectVoiceAnalyticsMetadata)(e))),r.default.dirtyDispatch({type:a.ActionTypes.CHANNEL_RTC_UPDATE_LAYOUT,channelId:e,layout:t,appContext:n})},toggleParticipants:function(e,t){r.default.dispatch({type:a.ActionTypes.CHANNEL_RTC_UPDATE_PARTICIPANTS_OPEN,channelId:e,participantsOpen:t})},toggleVoiceParticipantsHidden:function(e,t){r.default.dispatch({type:a.ActionTypes.CHANNEL_RTC_UPDATE_VOICE_PARTICIPANTS_HIDDEN,channelId:e,voiceParticipantsHidden:t})}};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ReferencedMessageState=void 0;var r,i=d(n(404)),o=d(n(3)),a=d(n(2)),s=n(297),u=d(n(10)),l=d(n(201)),c=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.ReferencedMessageState=r,function(e){e[e.LOADED=0]="LOADED",e[e.NOT_LOADED=1]="NOT_LOADED",e[e.DELETED=2]="DELETED"}(r||(t.ReferencedMessageState=r={}));var E=Object.freeze({state:r.NOT_LOADED}),h=new Set,m=function(){function e(){var e=this;this._cachedMessages=new i.default({max:100,dispose:function(t,n){return e.handleCacheDisposed(t,n)}}),this._cachedMessageIds=new Set}var t=e.prototype;return t.handleCacheDisposed=function(e,t){this._cachedMessageIds.has(e)&&(this._cachedMessageIds=new Set(this._cachedMessageIds),this._cachedMessageIds.delete(e))},t.set=function(e,t){this._cachedMessages.set(e,t),this._cachedMessageIds.has(e)||(this._cachedMessageIds=new Set(this._cachedMessageIds),this._cachedMessageIds.add(e))},t.has=function(e){return this._cachedMessageIds.has(e)},t.get=function(e){return this._cachedMessages.get(e)},t.getCachedMessageIds=function(){return this._cachedMessageIds},e}(),v=new(function(){function e(){this._channelCaches=new Map}var t=e.prototype;return t.has=function(e,t){var n,r;return null!==(n=null===(r=this._channelCaches.get(e))||void 0===r?void 0:r.has(t))&&void 0!==n&&n},t.get=function(e,t){var n;return null===(n=this._channelCaches.get(e))||void 0===n?void 0:n.get(t)},t.set=function(e,t,n){var r=this._channelCaches.get(e);null==r&&(r=new m,this._channelCaches.set(e,r)),r.set(t,n)},t.updateExistingMessageIfCached=function(e){var t=this._channelCaches.get(e.channel_id);return null!=t&&(!!t.has(e.id)&&(t.set(e.id,{state:r.LOADED,message:(0,s.createMessageRecord)(e)}),!0))},t.deleteChannelCache=function(e){return this._channelCaches.delete(e)},t.retainWhere=function(e){for(var t,n=[],r=_(this._channelCaches);!(t=r()).done;){var i=t.value[0];e(i)||n.push(i)}for(var o=0,a=n;o<a.length;o++){var s=a[o];this.deleteChannelCache(s)}return n.length},t.getCachedMessageIdsForChannel=function(e){var t=this._channelCaches.get(e);return null==t?null:t.getCachedMessageIds()},t.clear=function(){this._channelCaches.clear()},e}());function T(e){var t=!1;if(v.updateExistingMessageIfCached(e)&&(t=!0),c.MessageTypesWithLazyLoadedReferences.has(e.type)){var n=e.message_reference;if(null==n)return t;var i=n.message_id;if(null==i)return t;if("referenced_message"in e){var o=e.referenced_message;null!=o?(v.set(o.channel_id,o.id,{state:r.LOADED,message:(0,s.createMessageRecord)(o)}),e.type===c.MessageTypes.THREAD_STARTER_MESSAGE&&T(o)):v.set(e.channel_id,i,{state:r.DELETED})}else{var a=l.default.getMessage(n.channel_id,i);null!=a?v.set(n.channel_id,i,{state:r.LOADED,message:a}):v.set(n.channel_id,i,E)}t=!0}return t}function g(e,t){for(var n,r=!1,i=_(e);!(n=i()).done;){r=!1!==t(n.value)||r}return r}function I(e){return g(e.messages,(function(e){return T(e)}))}function S(e){return v.deleteChannelCache(e.channel.id)}function y(e,t){if(!v.has(e,t))return!1;v.set(e,t,{state:r.DELETED})}function A(){v.clear()}var O=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(l.default,u.default)},i.getMessageByReference=function(e){var t,n;return null!=e&&(n=v.get(e.channel_id,e.message_id)),null!==(t=n)&&void 0!==t?t:E},i.getMessage=function(e,t){var n;return null!==(n=v.get(e,t))&&void 0!==n?n:E},i.getReplyIdsForChannel=function(e){var t,n;return null!=e&&(n=v.getCachedMessageIdsForChannel(e)),null!==(t=n)&&void 0!==t?t:h},r}(o.default.Store))(a.default,{LOAD_MESSAGES_SUCCESS:I,LOAD_MESSAGES_AROUND_SUCCESS:I,SEARCH_FINISH:function(e){return g(e.messages,(function(e){return g(e,(function(e){return T(e)}))}))},MESSAGE_CREATE:function(e){var t=e.message;return!!l.default.getMessages(t.channel_id).ready&&T(t)},MESSAGE_UPDATE:function(e){var t=e.message,n=t.id,i=t.channel_id;if(!v.has(i,n))return!1;var o=v.get(i,n);if(null==o||o.state!==r.LOADED)return!1;v.set(i,n,{state:r.LOADED,message:(0,s.updateMessageRecord)(o.message,t)})},MESSAGE_DELETE:function(e){var t=e.id;return y(e.channelId,t)},MESSAGE_DELETE_BULK:function(e){var t=e.ids,n=e.channelId;return g(t,(function(e){return y(n,e)}))},CREATE_PENDING_REPLY:function(e){var t=e.message;v.set(t.channel_id,t.id,{state:r.LOADED,message:t})},CHANNEL_DELETE:S,THREAD_DELETE:S,GUILD_DELETE:function(e){return function(){if(0===v.retainWhere((function(e){return null!=u.default.getChannel(e)})))return!1}()},CONNECTION_OPEN:function(e){return A()},LOGOUT:function(e){return A()}});t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(null==e)return!1;if(Array.isArray(e))return e.some(o);return o(e)};var r=n(156),i=n(1);function o(e){return e.type===i.ActivityTypes.STREAMING&&(null!=e.url&&r.validStreamURL.test(e.url))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SpotifySocket=void 0;var r=O(n(133)),i=O(n(8)),o=O(n(138)),a=O(n(3)),s=O(n(184)),u=n(57),l=O(n(2)),c=O(n(183)),d=O(n(1412)),f=O(n(26)),_=O(n(11)),p=O(n(725)),E=O(n(428)),h=O(n(256)),m=O(n(79)),v=O(n(283)),T=O(n(80)),g=O(n(13)),I=n(409),S=n(1367),y=n(293),A=n(1);function O(e){return e&&e.__esModule?e:{default:e}}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(){return(R=Object.assign||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}).apply(this,arguments)}function b(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function D(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var C,M,P,w=c.default.get(A.PlatformTypes.SPOTIFY),U=(0,r.default)({PLAYER_STATE_CHANGED:null,DEVICE_STATE_CHANGED:null}),k="message",G="ping",Y="single",x=new f.default("Spotify"),V=new u.Timeout,H=new u.Timeout,F=new u.Timeout,B=new u.Timeout,j=new u.Timeout,W={},K={},z={},q=!1,X=null;function J(){for(var e in W){var t=W[e];if(t.connected&&null!=K[e]){var n=K[e].find((function(e){return e.is_active}));if(null!=n)return{socket:t,device:n}}}}function Q(e,t){var n=Date.now(),r=null!=e?e.startTime:0,i=n-t;return Math.abs(i-r)>1500?i:r}function Z(e){l.default.dispatch({type:A.ActionTypes.SPOTIFY_PLAYER_STATE,accountId:e,track:null,volumePercent:0,isPlaying:!1,repeat:!1,position:0,context:null})}function $(e){return h.default.findActivity(e,(function(e){return null!=e.party&&null!=e.party.id&&(0,y.isSpotifyParty)(e.party.id)}))}var ee=function(){function e(e,t){var n=this;this._requestedDisconnect=!1,this._requestedConnect=!1,this.handleDeviceStateChange=i.default.throttle((function(){(0,S.getDevices)(n.accountId,n.accessToken),de(n.accountId,n.accessToken)}),3e3),this.accountId=e,this.accessToken=t,this.pingInterval=new u.Interval,this.backoff=new o.default(void 0,6e4),this.connect()}var t,n,r,a=e.prototype;return a.connect=function(){var e=this;this.connected||this._requestedConnect||(x.info("WS Connecting"),this._requestedDisconnect=!1,this._requestedConnect=!0,de(this.accountId,this.accessToken).then((function(){e._requestedConnect=!1,e.socket=new WebSocket("wss://dealer.spotify.com/?access_token="+e.accessToken),e.socket.onopen=e.handleOpen.bind(e),e.socket.onmessage=e.handleMessage.bind(e),e.socket.onclose=e.socket.onerror=e.handleClose.bind(e)})).catch((function(t){x.error(t),e._requestedConnect=!1,e.handleClose()})))},a.disconnect=function(){this._requestedDisconnect=!0,this.backoff.cancel();try{var e;null===(e=this.socket)||void 0===e||e.close()}catch(e){}},a.ping=function(){var e;this.connected&&(null===(e=this.socket)||void 0===e||e.send(JSON.stringify({type:G})))},a.handleOpen=function(){var e=this;x.info("WS Connected"),this.backoff.succeed(),this.pingInterval.start(3e4,(function(){return e.ping()})),(0,S.getProfile)(this.accountId,this.accessToken),(0,S.getDevices)(this.accountId,this.accessToken)},a.handleMessage=function(e){var t=e.data;if("string"==typeof t){var n=JSON.parse(t),r=n.type,i=n.uri,o=n.payloads;switch(r){case k:if("string"==typeof i&&i.startsWith("hm://pusher/v1/connections/"))this.connectionId=decodeURIComponent(i.split("hm://pusher/v1/connections/")[1]),(0,S.subscribePlayerStateNotifications)(this.accountId,this.accessToken,this.connectionId);else if(Array.isArray(o))for(var a,s=b(o);!(a=s()).done;){var u=a.value.events;if(null!=u)for(var l,c=b(u);!(l=c()).done;){var d=l.value;this.handleEvent(d)}}}}},a.handleClose=function(){var e=this;if(this.pingInterval.stop(),!this._requestedDisconnect)try{var t=this.backoff.fail((function(){e._requestedDisconnect||e.connect()}));x.info("WS Disconnected. Next retry in "+Math.round(t)+"ms")}catch(e){}},a.handleEvent=function(e){var t=e.type,n=e.event;switch(t){case U.PLAYER_STATE_CHANGED:null!=n&&null!=n.state&&ce(this.accountId,this.accessToken,n.state);break;case U.DEVICE_STATE_CHANGED:this.handleDeviceStateChange()}},t=e,(n=[{key:"connected",get:function(){return null!=this.socket&&[WebSocket.CONNECTING,WebSocket.OPEN].includes(this.socket.readyState)}}])&&D(t.prototype,n),r&&D(t,r),e}();function te(e,t){e in W?(W[e].accessToken=t,x.info("Updated account access token: "+e)):(W[e]=new ee(e,t),x.info("Added account: "+e))}function ne(e){if(e in W){W[e].disconnect(),delete W[e];var t=z[e];null!=t&&null!=C&&t.track.id===C.track.id&&(C=null),delete z[e],x.info("Removed account: "+e)}}function re(e,t){for(var n,r=b(K[e]);!(n=r()).done;){var i=n.value;i.is_active=i.id===t}}function ie(e,t,n){var r=J();if(null==r)return!1;var i=r.socket,o=r.device,a=t.sync_id,s=t.party,u=t.timestamps;if(null==a||null==s||null==s.id||!(0,y.isSpotifyParty)(s.id))return!1;var l=null!=u&&null!=u.start?u.start:Date.now(),c=Math.max(0,Date.now()-l),d=!1,f=z[i.accountId];null!=f&&!1===f.repeat&&(d=null),(0,S.play)(i.accountId,i.accessToken,a,{position:+c,deviceId:o.id,repeat:d}),M={userId:e,partyId:s.id,trackId:a,startTime:l};var _="presence change";n&&(_="started",g.default.track(A.AnalyticEvents.SPOTIFY_LISTEN_ALONG_STARTED,{party_id:s.id,other_user_id:e})),x.info("Listen along "+_+": "+i.accountId+" to "+e+" playing "+a+" on "+o.name)}function oe(){g.default.track(A.AnalyticEvents.SPOTIFY_LISTEN_ALONG_ENDED,{party_id:null!=M?M.partyId:null,other_user_id:null!=M?M.userId:null});var e=null!=M?M.trackId:null;M=null,x.info("Listen along stopped");var t=J();if(null!=t){var n=t.socket,r=z[n.accountId];null!=r&&r.track.id===e&&(0,S.pause)(n.accountId,n.accessToken)}}function ae(){var e=Object.keys(W),t=p.default.getAccounts().filter((function(e){return e.type===A.PlatformTypes.SPOTIFY}));if(null==t)return!1;for(var n=t.map((function(e){return e.id})),r=0,i=e;r<i.length;r++){var o=i[r];n.includes(o)||ne(o)}for(var a,s=!1,u=b(t);!(a=u()).done;){var l=a.value;null!=C&&C.account.id===l.id&&(C.account=l,s=!0),e.includes(l.id)||(l.accessToken?te(l.id,l.accessToken):(0,S.getAccessToken)(l.id))}return s}function se(){if(null!=C){var e=J();if(null!=e){var t=e.socket;q=!0,(0,S.pause)(t.accountId,t.accessToken),g.default.track(A.AnalyticEvents.SPOTIFY_AUTO_PAUSED),x.info("Playback auto paused")}}}function ue(e){if(e===_.default.getId()){var t=T.default.isCurrentClientInVoiceChannel(),n=v.default.isSpeaking(e)||v.default.isSoundSharing(e);t&&n&&null!=C?(V.start(3e4,se,!1),H.stop()):H.start(100,(function(){return V.stop()}),!1)}return!1}function le(e){return ue(e.userId)}function ce(e,t,n){var r,i,o=n.device,a=n.progress_ms,s=n.is_playing,u=n.repeat_state,c=n.item,d=n.context;if(null!=c&&c.type===y.SpotifyResourceTypes.TRACK){var f=c.id;null!=c.linked_from&&null!=c.linked_from.id&&(f=c.linked_from.id),r={id:f,name:c.name,duration:c.duration_ms,album:{id:c.album.id,name:c.album.name,image:c.album.images[0]},artists:c.artists,isLocal:c.is_local||!1}}if(null!=o&&!0!==o.is_active&&(o=R({},o,{is_active:!0})),null!=d&&[y.SpotifyResourceTypes.PLAYLIST,y.SpotifyResourceTypes.ALBUM].includes(d.type)){var _=fe.getPlayerState(e);i=null!=_&&null!=_.context&&_.context.uri===d.uri?Promise.resolve(_.context):d.type===y.SpotifyResourceTypes.ALBUM?Promise.resolve(d):S.SpotifyAPI.get(e,t,{url:d.href}).then((function(e){return e.body}))}else i=Promise.resolve(void 0);return i.then((function(t){null==t||t.type!==y.SpotifyResourceTypes.PLAYLIST||t.public||(t=null),l.default.dispatch({type:A.ActionTypes.SPOTIFY_PLAYER_STATE,accountId:e,track:r,volumePercent:null!=o?o.volume_percent:0,isPlaying:s,repeat:"off"!==u,position:a,context:t,device:o})}))}function de(e,t){return S.SpotifyAPI.get(e,t,{url:y.SpotifyEndpoints.PLAYER,onlyRetryOnAuthorizationErrors:!0}).then((function(n){return ce(e,t,n.body).then((function(){return n}))})).catch((function(){return l.default.dispatch({type:A.ActionTypes.SPOTIFY_PLAYER_STATE,accountId:e,track:null,volumePercent:0,isPlaying:!1,repeat:!1,position:0,context:null})}))}t.SpotifySocket=ee;var fe=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,N(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(p.default,v.default),this.syncWith([h.default],(function(){return function(){if(null==M)return!1;if(null==J())return!1;var e=M.userId,t=$(e);if(null==t)return F.start(3e5,(function(){null!=M&&M.userId===e&&(0,d.default)()})),!1;F.stop();var n=t.sync_id,r=t.timestamps,i=t.party,o=null!=n&&M.trackId!==n,a=null!=r&&M.startTime!==r.start;return o||a?ie(e,t,!1):null!=i&&i.id!==M.partyId&&(M.partyId=i.id,!0)}()})),(0,S.fetchIsSpotifyProtocolRegistered)()},i.hasConnectedAccount=function(){return Object.keys(W).length>0},i.getActiveSocketAndDevice=function(){return J()},i.getPlayableComputerDevices=function(){var e=[];for(var t in W){var n=W[t];if(n.connected&&null!=K[t]){var r=K[t].find((function(e){return!e.is_restricted&&"Computer"===e.type}));null!=r&&e.push({socket:n,device:r})}}return e},i.canPlay=function(e){var t=e.sync_id,n=e.party;return null!=J()&&null!=t&&null!=n&&null!=n.id&&(0,y.isSpotifyParty)(n.id)},i.getSyncingWith=function(){return M},i.wasAutoPaused=function(){return q},i.getLastPlayedTrackId=function(){return P},i.getTrack=function(){return null!=C?C.track:null},i.getPlayerState=function(e){return z[e]},i.shouldShowActivity=function(){return null!=C&&C.account.showActivity&&!E.default.isIdle()},i.getActivity=function(){if(null==C)return null!=M?$(M.userId):null;var e,t=C,n=t.track,r=n.artists,i=n.album,o=n.name,a=n.id,s=n.duration,u=n.isLocal,l=t.startTime,c=t.context,d=r.slice(0,5);r.length>0&&(e=d.map((function(e){return e.name.replace(/;/g,"")})).join("; "));var f,p,E={},h=null!=i.image?(0,I.getAssetFromImageURL)(A.PlatformTypes.SPOTIFY,i.image.url):null;null!=i.image&&null!=h&&(E.large_image=h),i.type!==Y&&(E.large_text=i.name),null!=c&&(f=c.uri),p=null!=M&&null!=M.partyId?M.partyId:""+y.SPOTIFY_PARTY_PREFIX+_.default.getId();var m={name:w.name,assets:E,details:o,state:e,timestamps:{start:l,end:l+s},party:{id:p}};return u||(m.sync_id=a,m.flags=A.ActivityFlags.PLAY|A.ActivityFlags.SYNC,m.metadata={context_uri:f,album_id:i.id,artist_ids:d.map((function(e){return e.id}))}),m},r}(a.default.Store))(l.default,{USER_CONNECTIONS_UPDATE:function(e){return ae()},CONNECTION_OPEN:function(e){return ae()},SPOTIFY_ACCOUNT_ACCESS_TOKEN:function(e){return te(e.accountId,e.accessToken),!1},SPOTIFY_ACCOUNT_ACCESS_TOKEN_REVOKE:function(e){ne(e.accountId)},SPOTIFY_PROFILE_UPDATE:function(e){var t=e.accountId,n=e.isPremium,r=W[t];if(null==r)return!1;r.isPremium=n,x.info("Profile updated for "+t+": isPremium = "+n)},SPOTIFY_PLAYER_STATE:function(e){var t,n,r=e.accountId,o=e.isPlaying,a=e.repeat,u=e.track,l=e.position,c=e.device,f=e.context,E=!1;if(null!=c)if(null!=K[r]){var h=K[r].find((function(e){return e.id===c.id}));null==h?(K[r].push(c),E=!0):(0,s.default)(h,c)||(Object.assign(h,c),E=!0),re(r,c.id)}else K[r]=[c],E=!0;o?null===(t=X)||void 0===t||t.start(3e4,se):(u=null,null===(n=X)||void 0===n||n.stop());var m=p.default.getAccount(r,A.PlatformTypes.SPOTIFY);if(null==m)return E;var v=z[r],T=null!=u?{account:m,track:u,startTime:Q(v,l),context:f,repeat:a}:null,I=null!=c&&null!=M&&0===l&&!o;I||(z[r]=T);var S=C;return C=i.default.values(z).find((function(e){return!!e})),ue(_.default.getId()),null==u||I?B.stop():B.start(u.duration-l+5e3,(function(){return Z(m.id)})),null!=M&&(!o&&l>0||null==c||null!=T&&M.trackId!==T.track.id)?(x.info("Listen along active but playback stopped or track changed. Stopping listen along in 5000ms"),j.start(5e3,(function(){x.info("Stopping listening along"),(0,d.default)(),Z(m.id)}))):j.isStarted()&&(x.info("Listen along stop cancelled as playback of track resumed"),j.stop()),S===C||null==v&&null==T||null!=v&&null!=T&&v.track.id===T.track.id&&v.startTime===T.startTime?E:void(null!=u&&g.default.track(A.AnalyticEvents.ACTIVITY_UPDATED,{party_platform:A.PlatformTypes.SPOTIFY,track_id:u.id,has_images:!0}))},SPOTIFY_PLAYER_PLAY:function(e){var t=e.id;P=t},ACTIVITY_PLAY:function(e){var t=e.activity,n=e.metadata,r=J();if(null==r)return!1;var i,o=r.socket,a=r.device,s=t.sync_id,u=t.party;if(null==s||null==u||null==u.id||!(0,y.isSpotifyParty)(u.id))return!1;null!=n&&(i=n.context_uri),null!=M&&oe(),(0,S.play)(o.accountId,o.accessToken,s,{contextUri:i,deviceId:a.id}),x.info("Play started: "+o.accountId+" playing "+s+" on "+a.name)},ACTIVITY_SYNC:function(e){var t=e.activity;return ie(e.userId,t,!0)},ACTIVITY_SYNC_STOP:function(e){return oe()},SPOTIFY_SET_DEVICES:function(e){var t=e.accountId,n=e.devices;K[t]=n,x.info("Devices updated for "+t+":",n)},SPOTIFY_SET_ACTIVE_DEVICE:function(e){re(e.accountId,e.deviceId)},SPEAKING:le,VOICE_STATE_UPDATE:le,MEDIA_ENGINE_SET_DESKTOP_SOURCE:function(e){var t,n=e.sourceId,r=e.sound;null===(t=X)||void 0===t||t.stop(),null!=n&&m.default.getObservedAppNameForWindow(n)===w.name&&r?(X=new u.Interval).start(3e4,se):X=null}}),_e=fe;t.default=_e},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=x(n(8)),i=x(n(3)),o=x(n(2)),a=Y(n(287)),s=x(n(199)),u=Y(n(1150)),l=x(n(274)),c=x(n(118)),d=x(n(5438)),f=x(n(5455)),_=x(n(5456)),p=x(n(26)),E=n(140),h=x(n(5457)),m=n(698),v=x(n(31)),T=x(n(1195)),g=x(n(13)),I=x(n(214)),S=x(n(16)),y=Y(n(5463)),A=x(n(164)),O=x(n(694)),N=x(n(1269)),R=x(n(11)),b=x(n(303)),L=x(n(10)),D=x(n(56)),C=x(n(51)),M=x(n(386)),P=x(n(36)),w=x(n(479)),U=x(n(1270)),k=n(1);function G(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return G=function(){return e},e}function Y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=G();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function x(e){return e&&e.__esModule?e:{default:e}}function V(){return(V=Object.assign||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}).apply(this,arguments)}function H(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 F(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return B(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return B(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function j(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function W(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,K(e,t)}function K(e,t){return(K=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var z=new p.default("ConnectionStore");function q(e,t,n){var i=n.roles,a=n.nick,s=n.avatar,u=n.premium_since,l=n.is_pending,c=n.joined_at,d=D.default.getMember(e,t.id);null!=d&&d.nick===a&&d.guildMemberAvatar===s&&r.default.isEqual(d.roles,i)&&d.premiumSince===u&&d.isPending===l&&d.joinedAt===c||o.default.dispatch({type:k.ActionTypes.GUILD_MEMBER_ADD,guildId:e,user:t,roles:i,nick:a,guildMemberAvatar:s,premiumSince:u,isPending:l,joinedAt:c})}function X(e,t,n,r,i){o.default.dispatch({type:k.ActionTypes.PRESENCE_UPDATE,guildId:e,user:t,status:n,clientStatus:i,activities:r})}function J(e){var t=e.member,n=e.mentions,r=e.author,i=e.guild_id;null!=t&&q(i,r,t),null!=n&&n.forEach((function(e){if(null!=e.member){var t=e.member;delete e.member,q(i,e,t)}}))}var Q=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).didCommit=(0,_.default)(5,2e4,(function(e){var t=e.status,n=e.since,r=e.activities,i=e.afk;oe.presenceUpdate(t,n,r,i)})),t}W(t,e);var n=t.prototype;return n.getInitialState=function(){return w.default.getPresence(!1)},n.getNextState=function(){return w.default.getPresence(!1)},n.shouldCommit=function(){return oe.isSessionEstablished()},t}(f.default),Z=function(e){function t(){return e.apply(this,arguments)||this}W(t,e);var n,r,i,o=t.prototype;return o.getInitialState=function(){return{guildId:null,channelId:null,selfMute:C.default.isSelfMute(),selfDeaf:C.default.isSelfDeaf(),selfVideo:C.default.isVideoEnabled(),preferredRegion:null}},o.getNextState=function(e){return{guildId:e.guildId,channelId:e.channelId,selfMute:C.default.isSelfMute(),selfDeaf:C.default.isSelfDeaf(),selfVideo:C.default.isVideoEnabled(),preferredRegion:M.default.getPreferredRegion()}},o.shouldCommit=function(){return oe.isSessionEstablished()},o.didCommit=function(e){var t=e.guildId,n=e.channelId,r=e.selfMute,i=e.selfDeaf,o=e.selfVideo,a=e.preferredRegion;oe.voiceStateUpdate(t,n,r,i,o,a)},n=t,(r=[{key:"guildId",get:function(){return this.getState().guildId}},{key:"channelId",get:function(){return this.getState().channelId}}])&&j(n.prototype,r),i&&j(n,i),t}(f.default),$=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this)._hadLobbyVoiceStates=!1,t}W(t,e);var n=t.prototype;return n.getInitialState=function(){return this.getNextState()},n.getNextState=function(){var e=N.default.getLobbiesWithVoice();return e.length>0&&(this._hadLobbyVoiceStates=!0),{lobbies:e.map((function(e){return{lobbyId:e.id,selfMute:C.default.isSelfMute(e.application_id),selfDeaf:C.default.isSelfDeaf(e.application_id)}}))}},n.shouldCommit=function(){return this._hadLobbyVoiceStates&&oe.isSessionEstablished()},n.didCommit=function(e){var t=e.lobbies;oe.lobbyVoiceStatesUpdate(t)},n.forceUpdate=function(){this._hadLobbyVoiceStates&&e.prototype.forceUpdate.call(this)},t}(f.default),ee=0,te=null,ne=new Q,re=new Z,ie=new $,oe=new d.default((function(){var e=R.default.getToken();return z.log("handleIdentify called",{hasToken:null!=e}),e?{token:e,properties:g.default.getSuperProperties(),presence:ne.getState()}:null}));function ae(e){return e.map((function(e){return{sessionId:e.session_id,lastModified:e.last_modified,status:e.status,activities:e.activities,active:!!e.active,clientInfo:e.client_info}}))}function se(){oe.isSessionEstablished()&&N.default.getPendingLobbies().forEach((function(e){oe.lobbyConnect(e.id,e.secret)}))}function ue(e){i.default.Store.pauseEmittingChanges();try{e()}finally{i.default.Store.resumeEmittingChanges(),i.default.Store.emitChanges()}}S.default.isDesktop()&&c.default.remotePowerMonitor.on("resume",(function(){oe.expeditedHeartbeat(5e3,"power monitor resumed")})),I.default.addOfflineCallback((function(){oe.expeditedHeartbeat(15e3,"network detected offline.",!1)})),I.default.addOnlineCallback((function(){oe.expeditedHeartbeat(5e3,"network detected online.")})),oe.on("disconnect",(function(e){var t=e.code,n=e.reason;o.default.dirtyDispatch({type:k.ActionTypes.CONNECTION_CLOSED,code:t,reason:n})})),oe.on("close",(function(e){var t=e.code,n=e.reason;o.default.dirtyDispatch({type:k.ActionTypes.CONNECTION_INTERRUPTED,code:t,reason:n})}));var le=function(){function e(t,n){var r=this;this._timer=null,this._initialization=null,this.action=null,this.shouldFlush=n,this.add=function(e){clearTimeout(r._timer),null==r._initialization&&(r._initialization=Date.now()),r.action=t(r.action,e),Date.now()-r._initialization>300?r.flush():r._timer=setTimeout((function(){return r.flush()}),100)},e.registerActionDebouncer(this)}e.registerActionDebouncer=function(t){e.debouncers.push(t)},e.flushDebouncers=function(t,n){for(var r,i=F(e.debouncers);!(r=i()).done;){var o=r.value;null!=o.action&&o.shouldFlush(t,n)&&o.flushManual()}};var t=e.prototype;return t.flush=function(){var e=this.action;this.reset();try{null!=e&&o.default.dispatch(e)}catch(e){oe.getLogger().error(e),(!e.message||e.message.indexOf("Guild data was missing from store")<0)&&A.default.captureException(e),oe.resetSocketOnError()}},t.flushManual=function(){var e=this.action;this.reset(),null!=e&&o.default.dispatch(e)},t.reset=function(){this._initialization=null,clearTimeout(this._timer),this._timer=null,this.action=null},e}();le.debouncers=[];var ce=new le((function(e,t){var n=t.guild_hashes,r=H(t,["guild_hashes"]);return(e=null==e?{type:k.ActionTypes.CHANNEL_UPDATES,updates:[]}:e).updates.push({guildHashes:n,channel:v.default.fromServer(r)}),e}),(function(e){return"CHANNEL_UPDATE"!==e}));function de(){return re.update(),ie.update(),!1}function fe(){return ne.update(),!1}function _e(){return ie.update(),!1}function pe(e){oe.isSessionEstablished()&&oe.streamDelete(e)}function Ee(){var e=U.default.getAllActiveStreamKeys().find((function(e){return(0,E.decodeStreamKey)(e).ownerId===R.default.getId()}));U.default.getAllActiveStreamKeys().filter((function(t){return t!==e})).forEach((function(e){return pe(e)}))}oe.on("dispatch",(function(e,t){var n,c;switch(le.flushDebouncers(e,t),h.default.logAction(e,t),e){case"READY_SUPPLEMENTAL":ue((function(){t=y.hydrateReadySupplementalPayload(t);var e=function(e){return e.map((function(e){return{user:e.user,status:e.status,clientStatus:e.client_status,activities:e.activities}}))},n=t.guilds.filter((function(e){return!0!==e.unavailable}));n.forEach((function(t){t.presences=e(t.presences||[])}));var r=t.presences?e(t.presences):[];o.default.dispatch({type:k.ActionTypes.CONNECTION_OPEN_SUPPLEMENTAL,guilds:n,presences:r}),n.forEach((function(e){e.voice_states.forEach((function(t){var n;o.default.dispatch({type:k.ActionTypes.VOICE_STATE_UPDATE,userId:t.user_id,guildId:e.id,sessionId:t.session_id,channelId:t.channel_id,mute:t.mute,deaf:t.deaf,selfMute:t.self_mute,selfDeaf:t.self_deaf,selfVideo:t.self_video||!1,suppress:t.suppress,selfStream:t.self_stream||!1,requestToSpeakTimestamp:null!==(n=t.request_to_speak_timestamp)&&void 0!==n?n:null})}))})),re.update(),ie.update({},!0)}));break;case"READY":if(t.user.bot)return void o.default.dispatch({type:k.ActionTypes.LOGOUT});ue((function(){var e;t=y.hydrateReadyPayloadPrioritized(t);var n=[];t.private_channels.forEach((function(e){e.guild_id=null,n.push(v.default.fromServer(e))}));var r=t.guilds.filter((function(e){return e.unavailable})).map((function(e){return e.id})),i=t.guilds.filter((function(e){return!0!==e.unavailable}));i.forEach((function(e){e.channels.forEach((function(t){t.guild_id=e.id,n.push(v.default.fromServer(t))})),e.threads=e.threads?e.threads.map((function(e){return v.default.fromServer(e)})):[],e.presences=[],delete e.channels})),o.default.dispatch({type:k.ActionTypes.CONNECTION_OPEN,sessionId:t.session_id,user:t.user,users:t.users,guilds:i,unavailableGuilds:r,channels:n,readState:t.read_state,userGuildSettings:t.user_guild_settings,tutorial:t.tutorial,relationships:t.relationships,friendSuggestionCount:t.friend_suggestion_count,presences:t.presences,analyticsToken:t.analytics_token,experiments:t.experiments,connectedAccounts:t.connected_accounts,guildExperiments:t.guild_experiments,requiredAction:t.required_action,consents:t.consents,sessions:ae(t.sessions||[]),pendingPayments:t.pending_payments,countryCode:null!==(e=t.country_code)&&void 0!==e?e:void 0,guildJoinRequests:t.guild_join_requests||[]}),l.default.updateLocalSettings(t.user_settings,!0,!1)})),ne.update(),re.update(),ie.update(),se();break;case"RESUMED":ne.forceUpdate(),re.forceUpdate(),ie.forceUpdate(),se(),o.default.dispatch({type:k.ActionTypes.CONNECTION_RESUMED});break;case k.ActionTypes.TYPING_START:null!=t.member&&q(t.guild_id,t.member.user,t.member),o.default.dispatch({type:k.ActionTypes.TYPING_START,channelId:t.channel_id,userId:t.user_id});break;case k.ActionTypes.ACTIVITY_START:o.default.dispatch({type:k.ActionTypes.ACTIVITY_START,userId:t.user_id,activity:t.activity});break;case k.ActionTypes.ACTIVITY_USER_ACTION:o.default.dispatch({type:k.ActionTypes.ACTIVITY_USER_ACTION,actionType:t.action_type,user:t.user,applicationId:t.application_id,channelId:t.channel_id,messageId:t.message_id});break;case k.ActionTypes.MESSAGE_CREATE:J(t),null!=t.author&&o.default.dirtyDispatch({type:k.ActionTypes.MESSAGE_CREATE,channelId:t.channel_id,message:t,optimistic:!1,isPushNotification:!1});break;case k.ActionTypes.MESSAGE_UPDATE:J(t),o.default.dispatch({type:k.ActionTypes.MESSAGE_UPDATE,message:t});break;case k.ActionTypes.MESSAGE_DELETE:o.default.dispatch({type:k.ActionTypes.MESSAGE_DELETE,id:t.id,channelId:t.channel_id});break;case k.ActionTypes.MESSAGE_DELETE_BULK:o.default.dispatch({type:k.ActionTypes.MESSAGE_DELETE_BULK,ids:t.ids,channelId:t.channel_id});break;case k.ActionTypes.MESSAGE_ACK:o.default.dispatch({type:k.ActionTypes.MESSAGE_ACK,channelId:t.channel_id,messageId:t.message_id,manual:t.manual,newMentionCount:t.mention_count,version:t.version});break;case k.ActionTypes.CHANNEL_PINS_ACK:o.default.dispatch({type:k.ActionTypes.CHANNEL_PINS_ACK,channelId:t.channel_id,timestamp:t.timestamp,version:t.version});break;case k.ActionTypes.CHANNEL_PINS_UPDATE:o.default.dispatch({type:k.ActionTypes.CHANNEL_PINS_UPDATE,channelId:t.channel_id,lastPinTimestamp:t.last_pin_timestamp});break;case k.ActionTypes.CHANNEL_UNREAD_UPDATE:o.default.dispatch({type:k.ActionTypes.CHANNEL_UNREAD_UPDATE,channelUnreadUpdates:t.channel_unread_updates});break;case k.ActionTypes.CHANNEL_CREATE:case k.ActionTypes.CHANNEL_DELETE:var d=t,f=d.guild_hashes,_=H(d,["guild_hashes"]);o.default.dispatch({type:e,guildHashes:f,channel:v.default.fromServer(_)});break;case"CHANNEL_UPDATE":ce.add(t);break;case k.ActionTypes.THREAD_CREATE:case k.ActionTypes.THREAD_UPDATE:case k.ActionTypes.THREAD_DELETE:var p=t,E=p.guild_hashes,g=H(p,["guild_hashes"]);o.default.dispatch({type:e,guildHashes:E,channel:v.default.fromServer(g)});break;case k.ActionTypes.THREAD_LIST_SYNC:o.default.dispatch({type:k.ActionTypes.THREAD_LIST_SYNC,guildId:t.guild_id,threads:t.threads.map((function(e){return v.default.fromServer(e)})),mostRecentMessages:t.most_recent_messages,members:t.members?r.default.map(t.members,m.convertServerThreadMember):void 0});break;case k.ActionTypes.THREAD_MEMBER_UPDATE:o.default.dispatch({type:k.ActionTypes.THREAD_MEMBER_UPDATE,id:t.id,guildId:t.guild_id,userId:t.user_id,flags:t.flags,joinTimestamp:t.join_timestamp});break;case k.ActionTypes.THREAD_MEMBERS_UPDATE:o.default.dispatch({type:k.ActionTypes.THREAD_MEMBERS_UPDATE,id:t.id,guildId:t.guild_id,memberCount:t.member_count,addedMembers:null===(n=t.added_members)||void 0===n?void 0:n.map((function(e){return{id:e.id,guildId:t.guild_id,userId:e.user_id,flags:e.flags,joinTimestamp:e.join_timestamp}})),removedMemberIds:t.removed_member_ids,memberIdsPreview:t.member_ids_preview});break;case k.ActionTypes.CHANNEL_RECIPIENT_ADD:case k.ActionTypes.CHANNEL_RECIPIENT_REMOVE:o.default.dispatch({type:e,channelId:t.channel_id,user:t.user,nick:t.nick});break;case k.ActionTypes.GUILD_CREATE:t.unavailable?o.default.dispatch({type:k.ActionTypes.GUILD_UNAVAILABLE,guildId:t.id}):((t=y.hydrateGuild(t)).channels=t.channels.map((function(e){return e.guild_id=t.id,v.default.fromServer(e)})),t.threads=t.threads?t.threads.map((function(e){return v.default.fromServer(e)})):[],s.default.createGuild(t),ue((function(){t.voice_states.forEach((function(e){var n;o.default.dispatch({type:k.ActionTypes.VOICE_STATE_UPDATE,userId:e.user_id,guildId:t.id,sessionId:e.session_id,channelId:e.channel_id,mute:e.mute,deaf:e.deaf,selfMute:e.self_mute,selfDeaf:e.self_deaf,selfVideo:e.self_video||!1,suppress:e.suppress,selfStream:e.self_stream||!1,requestToSpeakTimestamp:null!==(n=e.request_to_speak_timestamp)&&void 0!==n?n:null})}))})));break;case k.ActionTypes.GUILD_UPDATE:var I=t,S=I.guild_hashes,A=H(I,["guild_hashes"]);o.default.dispatch({type:k.ActionTypes.GUILD_UPDATE,guildHashes:S,guild:A}),t.unavailable&&o.default.dispatch({type:k.ActionTypes.GUILD_UNAVAILABLE,guildId:t.id});break;case k.ActionTypes.GUILD_DELETE:o.default.dispatch({type:k.ActionTypes.GUILD_DELETE,guild:t}),t.unavailable&&o.default.dispatch({type:k.ActionTypes.GUILD_UNAVAILABLE,guildId:t.id});break;case k.ActionTypes.GUILD_MEMBERS_CHUNK:i.default.Store.pauseEmittingChanges(),o.default.dispatch({type:k.ActionTypes.GUILD_MEMBERS_CHUNK,guildId:t.guild_id,members:t.members,notFound:t.not_found}),null!=t.presences&&t.presences.forEach((function(e){var n=e.user,r=e.status,i=e.client_status,o=e.activities;return X(t.guild_id,n,r,o,i)})),i.default.Store.resumeEmittingChanges();break;case k.ActionTypes.THREAD_MEMBER_LIST_UPDATE:i.default.Store.pauseEmittingChanges(),o.default.dispatch({type:k.ActionTypes.THREAD_MEMBER_LIST_UPDATE,guildId:t.guild_id,threadId:t.thread_id,members:t.members}),null!=t.presences&&t.presences.forEach((function(e){var n=e.user,r=e.status,i=e.client_status,o=e.activities;return X(t.guild_id,n,r,o,i)})),i.default.Store.resumeEmittingChanges();break;case k.ActionTypes.GUILD_BAN_ADD:case k.ActionTypes.GUILD_BAN_REMOVE:case k.ActionTypes.GUILD_MEMBER_ADD:case k.ActionTypes.GUILD_MEMBER_UPDATE:case k.ActionTypes.GUILD_MEMBER_REMOVE:o.default.dispatch({type:e,guildId:t.guild_id,user:t.user,guildMemberAvatar:t.avatar,roles:t.roles,nick:t.nick,premiumSince:t.premium_since,isPending:t.is_pending,joinedAt:t.joined_at});break;case k.ActionTypes.GUILD_ROLE_CREATE:case k.ActionTypes.GUILD_ROLE_UPDATE:o.default.dispatch({type:e,guildId:t.guild_id,guildHashes:t.guild_hashes,role:t.role});break;case k.ActionTypes.GUILD_ROLE_DELETE:o.default.dispatch({type:k.ActionTypes.GUILD_ROLE_DELETE,guildId:t.guild_id,guildHashes:t.guild_hashes,roleId:t.role_id});break;case k.ActionTypes.GUILD_EMOJIS_UPDATE:o.default.dispatch({type:k.ActionTypes.GUILD_EMOJIS_UPDATE,guildId:t.guild_id,guildHashes:t.guild_hashes,emojis:t.emojis});break;case k.ActionTypes.GUILD_STICKERS_UPDATE:o.default.dispatch({type:k.ActionTypes.GUILD_STICKERS_UPDATE,guildId:t.guild_id,guildHashes:t.guild_hashes,stickers:t.stickers});break;case k.ActionTypes.GUILD_INTEGRATIONS_UPDATE:o.default.dispatch({type:k.ActionTypes.GUILD_INTEGRATIONS_UPDATE,guildId:t.guild_id});break;case k.ActionTypes.INTEGRATION_CREATE:case k.ActionTypes.INTEGRATION_UPDATE:var N=t,R=N.guild_id,b=H(N,["guild_id"]);o.default.dispatch({type:e,guildId:R,integration:b});break;case k.ActionTypes.INTEGRATION_DELETE:o.default.dispatch({type:k.ActionTypes.INTEGRATION_DELETE,guildId:t.guild_id,integrationId:t.id,applicationId:t.application_id});break;case k.ActionTypes.USER_UPDATE:o.default.dispatch({type:k.ActionTypes.CURRENT_USER_UPDATE,user:t});break;case k.ActionTypes.USER_SETTINGS_UPDATE:l.default.updateLocalSettings(t,!0,!1);break;case"USER_GUILD_SETTINGS_UPDATE":o.default.dispatch({type:k.ActionTypes.USER_GUILD_SETTINGS_FULL_UPDATE,userGuildSettings:[t]});break;case k.ActionTypes.USER_CONNECTIONS_UPDATE:o.default.dispatch({type:k.ActionTypes.USER_CONNECTIONS_UPDATE});break;case k.ActionTypes.USER_REQUIRED_ACTION_UPDATE:o.default.dispatch({type:k.ActionTypes.USER_REQUIRED_ACTION_UPDATE,requiredAction:t.required_action});break;case k.ActionTypes.USER_NOTE_UPDATE:o.default.dispatch(V({type:k.ActionTypes.USER_NOTE_UPDATE},t));break;case k.ActionTypes.RELATIONSHIP_ADD:o.default.dispatch({type:k.ActionTypes.RELATIONSHIP_ADD,relationship:{id:t.id,type:t.type,user:t.user,nickname:t.nickname},shouldNotify:!0===t.should_notify});break;case k.ActionTypes.RELATIONSHIP_REMOVE:o.default.dispatch({type:k.ActionTypes.RELATIONSHIP_REMOVE,relationship:t});break;case k.ActionTypes.RELATIONSHIP_UPDATE:o.default.dispatch({type:k.ActionTypes.RELATIONSHIP_UPDATE,relationship:t});break;case k.ActionTypes.PRESENCE_UPDATE:X(t.guild_id,t.user,t.status,t.activities,t.client_status);break;case k.ActionTypes.PRESENCES_REPLACE:o.default.dispatch({type:k.ActionTypes.PRESENCES_REPLACE,presences:t});break;case k.ActionTypes.SESSIONS_REPLACE:o.default.dispatch({type:k.ActionTypes.SESSIONS_REPLACE,sessions:ae(t)});break;case k.ActionTypes.VOICE_STATE_UPDATE:null!=t.member&&q(t.guild_id,t.member.user,t.member),o.default.dispatch({type:k.ActionTypes.VOICE_STATE_UPDATE,userId:t.user_id,guildId:t.guild_id,sessionId:t.session_id,channelId:t.channel_id,mute:t.mute,deaf:t.deaf,selfMute:t.self_mute,selfDeaf:t.self_deaf,selfVideo:t.self_video||!1,suppress:t.suppress,selfStream:t.self_stream||!1,requestToSpeakTimestamp:null!==(c=t.request_to_speak_timestamp)&&void 0!==c?c:null});break;case k.ActionTypes.LOBBY_VOICE_STATE_UPDATE:o.default.dispatch({type:k.ActionTypes.LOBBY_VOICE_STATE_UPDATE,userId:t.user_id,lobbyId:t.lobby_id,sessionId:t.session_id,channelId:t.channel_id,mute:t.mute,deaf:t.deaf,selfMute:t.self_mute,selfDeaf:t.self_deaf});break;case k.ActionTypes.VOICE_SERVER_UPDATE:o.default.dispatch({type:k.ActionTypes.VOICE_SERVER_UPDATE,guildId:t.guild_id,channelId:t.channel_id,endpoint:t.endpoint,token:t.token});break;case k.ActionTypes.LOBBY_VOICE_SERVER_UPDATE:o.default.dispatch({type:k.ActionTypes.LOBBY_VOICE_SERVER_UPDATE,lobbyId:t.lobby_id,endpoint:t.endpoint,token:t.token});break;case k.ActionTypes.CALL_CREATE:o.default.dispatch({type:k.ActionTypes.CALL_CREATE,channelId:t.channel_id,messageId:t.message_id,region:t.region,ringing:t.ringing});var L=t.voice_states;null!=L&&L.forEach((function(e){var t;o.default.dispatch({type:k.ActionTypes.VOICE_STATE_UPDATE,userId:e.user_id,guildId:null,sessionId:e.session_id,channelId:e.channel_id,mute:e.mute,deaf:e.deaf,selfMute:e.self_mute,selfDeaf:e.self_deaf,selfVideo:e.self_video||!1,suppress:e.suppress,selfStream:e.self_stream||!1,requestToSpeakTimestamp:null!==(t=e.request_to_speak_timestamp)&&void 0!==t?t:null})}));break;case k.ActionTypes.CALL_UPDATE:o.default.dispatch({type:k.ActionTypes.CALL_UPDATE,channelId:t.channel_id,messageId:t.message_id,region:t.region,ringing:t.ringing});break;case k.ActionTypes.CALL_DELETE:o.default.dispatch({type:k.ActionTypes.CALL_DELETE,channelId:t.channel_id,unavailable:t.unavailable});break;case k.ActionTypes.OAUTH2_TOKEN_REVOKE:o.default.dispatch({type:k.ActionTypes.OAUTH2_TOKEN_REVOKE,accessToken:t.access_token});break;case k.ActionTypes.RECENT_MENTION_DELETE:o.default.dispatch({type:k.ActionTypes.RECENT_MENTION_DELETE,id:t.message_id});break;case k.ActionTypes.FRIEND_SUGGESTION_CREATE:o.default.dispatch({type:k.ActionTypes.FRIEND_SUGGESTION_CREATE,suggestion:t});break;case k.ActionTypes.FRIEND_SUGGESTION_DELETE:o.default.dispatch({type:k.ActionTypes.FRIEND_SUGGESTION_DELETE,suggestedUserId:t.suggested_user_id});break;case k.ActionTypes.WEBHOOKS_UPDATE:o.default.dispatch({type:k.ActionTypes.WEBHOOKS_UPDATE,guildId:t.guild_id,channelId:t.channel_id});break;case k.ActionTypes.MESSAGE_REACTION_ADD:case k.ActionTypes.MESSAGE_REACTION_REMOVE:o.default.dispatch({type:e,channelId:t.channel_id,messageId:t.message_id,userId:t.user_id,emoji:t.emoji});break;case k.ActionTypes.MESSAGE_REACTION_REMOVE_ALL:o.default.dispatch({type:k.ActionTypes.MESSAGE_REACTION_REMOVE_ALL,channelId:t.channel_id,messageId:t.message_id});break;case k.ActionTypes.MESSAGE_REACTION_REMOVE_EMOJI:o.default.dispatch({type:k.ActionTypes.MESSAGE_REACTION_REMOVE_EMOJI,channelId:t.channel_id,messageId:t.message_id,emoji:t.emoji});break;case k.ActionTypes.PAYMENT_UPDATE:o.default.dispatch({type:k.ActionTypes.PAYMENT_UPDATE,payment:t});break;case k.ActionTypes.ENTITLEMENT_CREATE:case k.ActionTypes.ENTITLEMENT_UPDATE:case k.ActionTypes.ENTITLEMENT_DELETE:o.default.dispatch({type:e,entitlement:t});break;case k.ActionTypes.USER_PAYMENT_SOURCES_UPDATE:O.default.hasLayers()&&a.fetchPaymentSources();break;case k.ActionTypes.USER_SUBSCRIPTIONS_UPDATE:u.fetchCurrentUser(),O.default.hasLayers()&&a.fetchSubscriptions();break;case k.ActionTypes.USER_PREMIUM_GUILD_SUBSCRIPTION_SLOT_CREATE:o.default.dispatch({type:k.ActionTypes.USER_PREMIUM_GUILD_SUBSCRIPTION_SLOT_CREATE,userPremiumGuildSubscriptionSlot:T.default.createFromServer(t)});break;case k.ActionTypes.USER_PREMIUM_GUILD_SUBSCRIPTION_SLOT_UPDATE:o.default.dispatch({type:k.ActionTypes.USER_PREMIUM_GUILD_SUBSCRIPTION_SLOT_UPDATE,userPremiumGuildSubscriptionSlot:T.default.createFromServer(t)});break;case k.ActionTypes.BRAINTREE_POPUP_BRIDGE_CALLBACK:o.default.dispatch({type:k.ActionTypes.BRAINTREE_POPUP_BRIDGE_CALLBACK,state:t.state,path:t.path,query:t.query});break;case k.ActionTypes.GUILD_MEMBER_LIST_UPDATE:i.default.Store.pauseEmittingChanges();var D=function(e){if(null!=e.member){var n=e.member;if(q(t.guild_id,n.user,n),null!=n.presence){var r=n.presence;X(t.guild_id,r.user,r.status,r.activities,r.client_status)}}};t.ops.forEach((function(e){var t=e.op,n=e.items,r=e.item;switch(t){case"SYNC":n.forEach(D);break;case"UPDATE":case"INSERT":D(r)}})),o.default.dispatch({type:k.ActionTypes.GUILD_MEMBER_LIST_UPDATE,guildId:t.guild_id,id:t.id,ops:t.ops,groups:t.groups,memberCount:t.member_count}),i.default.Store.resumeEmittingChanges();break;case k.ActionTypes.LOBBY_CREATE:o.default.dispatch({type:k.ActionTypes.LOBBY_CREATE,lobby:t}),t.voice_states.forEach((function(e){o.default.dispatch({type:k.ActionTypes.LOBBY_VOICE_STATE_UPDATE,lobbyId:t.id,userId:e.user_id,sessionId:e.session_id,channelId:e.channel_id,mute:e.mute,deaf:e.deaf,selfMute:e.self_mute,selfDeaf:e.self_deaf})}));break;case k.ActionTypes.LOBBY_UPDATE:o.default.dispatch({type:k.ActionTypes.LOBBY_UPDATE,lobby:t});break;case k.ActionTypes.LOBBY_DELETE:o.default.dispatch({type:k.ActionTypes.LOBBY_DELETE,lobbyId:t.id,reason:t.reason});break;case k.ActionTypes.LOBBY_MEMBER_CONNECT:case k.ActionTypes.LOBBY_MEMBER_UPDATE:case k.ActionTypes.LOBBY_MEMBER_DISCONNECT:o.default.dispatch({type:e,lobbyId:t.lobby_id,member:t.member});break;case k.ActionTypes.LOBBY_MESSAGE:o.default.dispatch({type:k.ActionTypes.LOBBY_MESSAGE,lobbyId:t.lobby_id,senderId:t.sender_id,data:t.data});break;case k.ActionTypes.GIFT_CODE_UPDATE:o.default.dispatch({type:k.ActionTypes.GIFT_CODE_UPDATE,uses:t.uses,code:t.code});break;case k.ActionTypes.GIFT_CODE_CREATE:o.default.dispatch({type:k.ActionTypes.GIFT_CODE_CREATE,giftCode:t});break;case k.ActionTypes.USER_ACHIEVEMENT_UPDATE:o.default.dispatch({type:k.ActionTypes.USER_ACHIEVEMENT_UPDATE,userAchievement:t});break;case k.ActionTypes.LIBRARY_APPLICATION_UPDATE:o.default.dispatch({type:k.ActionTypes.LIBRARY_APPLICATION_UPDATE,libraryApplication:t});break;case k.ActionTypes.STREAM_CREATE:o.default.dispatch({type:k.ActionTypes.STREAM_CREATE,streamKey:t.stream_key,region:t.region,viewerIds:t.viewer_ids,rtcServerId:t.rtc_server_id,paused:t.paused});break;case k.ActionTypes.STREAM_SERVER_UPDATE:o.default.dispatch({type:k.ActionTypes.STREAM_SERVER_UPDATE,streamKey:t.stream_key,endpoint:t.endpoint,token:t.token});break;case k.ActionTypes.STREAM_UPDATE:o.default.dispatch({type:k.ActionTypes.STREAM_UPDATE,streamKey:t.stream_key,region:t.region,viewerIds:t.viewer_ids,paused:t.paused});break;case k.ActionTypes.STREAM_DELETE:o.default.dispatch({type:k.ActionTypes.STREAM_DELETE,streamKey:t.stream_key,unavailable:t.unavailable,reason:t.reason});break;case k.ActionTypes.APPLICATION_COMMAND_CREATE:case k.ActionTypes.APPLICATION_COMMAND_DELETE:case k.ActionTypes.APPLICATION_COMMAND_UPDATE:var C=t,M=C.application_id,P=C.guild_id,w=H(C,["application_id","guild_id"]);o.default.dispatch({type:e,applicationId:M,guildId:P,command:w});break;case k.ActionTypes.GUILD_APPLICATION_COMMANDS_UPDATE:o.default.dispatch({type:k.ActionTypes.GUILD_APPLICATION_COMMANDS_UPDATE,applicationCommands:t.application_commands,applications:t.applications,nonce:t.nonce});break;case k.ActionTypes.GUILD_JOIN_REQUEST_CREATE:o.default.dispatch({type:k.ActionTypes.GUILD_JOIN_REQUEST_CREATE,request:t.request,status:t.status,guildId:t.guild_id});break;case k.ActionTypes.GUILD_JOIN_REQUEST_UPDATE:o.default.dispatch({type:k.ActionTypes.GUILD_JOIN_REQUEST_UPDATE,request:t.request,status:t.status,guildId:t.guild_id});break;case k.ActionTypes.GUILD_JOIN_REQUEST_DELETE:o.default.dispatch({type:k.ActionTypes.GUILD_JOIN_REQUEST_DELETE,userId:t.user_id,guildId:t.guild_id});break;case k.ActionTypes.INTERACTION_CREATE:o.default.dispatch({type:k.ActionTypes.INTERACTION_CREATE,interactionId:t.id,nonce:t.nonce});break;case k.ActionTypes.INTERACTION_SUCCESS:o.default.dispatch({type:k.ActionTypes.INTERACTION_SUCCESS,interactionId:t.id,nonce:t.nonce});break;case k.ActionTypes.INTERACTION_FAILURE:o.default.dispatch({type:k.ActionTypes.INTERACTION_FAILURE,nonce:t.nonce});break;case k.ActionTypes.STAGE_INSTANCE_CREATE:o.default.dispatch({type:k.ActionTypes.STAGE_INSTANCE_CREATE,instance:t});break;case k.ActionTypes.STAGE_INSTANCE_UPDATE:o.default.dispatch({type:k.ActionTypes.STAGE_INSTANCE_UPDATE,instance:t});break;case k.ActionTypes.STAGE_INSTANCE_DELETE:o.default.dispatch({type:k.ActionTypes.STAGE_INSTANCE_DELETE,instance:t});break;case k.ActionTypes.GUILD_SCHEDULED_EVENT_CREATE:o.default.dispatch({type:k.ActionTypes.GUILD_SCHEDULED_EVENT_CREATE,guildScheduledEvent:t});break;case k.ActionTypes.GUILD_SCHEDULED_EVENT_UPDATE:o.default.dispatch({type:k.ActionTypes.GUILD_SCHEDULED_EVENT_UPDATE,guildScheduledEvent:t});break;case k.ActionTypes.GUILD_SCHEDULED_EVENT_USER_CREATE:o.default.dispatch({type:k.ActionTypes.GUILD_SCHEDULED_EVENT_USER_CREATE,guildEventId:t.guild_scheduled_event_id});break;case k.ActionTypes.GUILD_SCHEDULED_EVENT_USER_DELETE:o.default.dispatch({type:k.ActionTypes.GUILD_SCHEDULED_EVENT_USER_DELETE,guildEventId:t.guild_scheduled_event_id})}}));var he=new(function(e){function t(){return e.apply(this,arguments)||this}W(t,e);var n=t.prototype;return n.initialize=function(){this.waitFor(R.default,P.default,L.default,b.default,N.default),this.syncWith([C.default],de),this.syncWith([w.default],fe)},n.isTryingToConnect=function(){return!oe.isClosed()},n.isConnected=function(){return oe.isSessionEstablished()},n.isConnectedOrOverlay=function(){return oe.isSessionEstablished()||__OVERLAY__},n.lastTimeConnectedChanged=function(){return ee},t}(i.default.Store))(o.default,{START_SESSION:function(e){return!!oe.isClosed()&&oe.connect()},LOGIN_SUCCESS:function(e){return!!oe.isSessionEstablished()&&(oe.close(),oe.connect())},LOGOUT:function(e){oe.close()},CONNECTION_OPEN:function(e){ee=Date.now(),te=e.sessionId,ne.update({},!0);var t={},n=P.default.getVoiceChannelId();if(null!=n){var r=L.default.getChannel(n);null!=r&&(t={guildId:r.getGuildId(),channelId:n})}re.update(t,!0),ie.update({},!0)},CONNECTION_CLOSED:function(e){ee=Date.now()},RTC_CONNECTION_STATE:function(e){var t=e.state,n=e.willReconnect,r=e.streamKey;if(t!==k.RTCConnectionStates.DISCONNECTED)return!1;n&&(null!=r?oe.streamPing(r):oe.voiceServerPing())},VOICE_CHANNEL_SELECT:function(e){return re.update({guildId:e.guildId,channelId:e.channelId}),!1},VOICE_STATE_UPDATE:function(e){if(R.default.getId()!==e.userId)return!1;if(e.sessionId===te)re.setState({guildId:e.guildId,channelId:e.channelId});else{if(e.guildId!==re.guildId)return!1;re.setState({guildId:null,channelId:null})}},GUILD_DELETE:function(e){e.guild.id===re.guildId&&re.setState({guildId:null,channelId:null})},CHANNEL_DELETE:function(e){e.channel.id===re.channelId&&re.setState({guildId:null,channelId:null})},CALL_DELETE:function(e){e.channelId===re.channelId&&re.setState({guildId:null,channelId:null})},APP_STATE_UPDATE:function(e){return e.state===k.AppStates.ACTIVE&&oe.resetBackoff("App state is active"),!1},GUILD_MEMBERS_REQUEST:function(e){var t=e.guildIds,n=e.query,i=e.limit,o=e.userIds,a=e.presences;return oe.isSessionEstablished()&&(null!=o?(0,r.default)(o).chunk(100).forEach((function(e){oe.requestGuildMembers(t,{userIds:e,limit:i,presences:a})})):oe.requestGuildMembers(t,{query:n,limit:i,presences:a})),!1},GUILD_SUBSCRIPTIONS_FLUSH:function(e){var t=e.guildId,n=e.subscriptions;return oe.isSessionEstablished()&&oe.updateGuildSubscriptions(t,n),!1},CALL_CONNECT:function(e){var t=e.channelId;return oe.isSessionEstablished()&&oe.callConnect(t),!1},LOBBY_CONNECT:function(e){var t=e.lobbyId,n=e.lobbySecret;return oe.isSessionEstablished()&&oe.lobbyConnect(t,n),!1},LOBBY_DISCONNECT:function(e){var t=e.lobbyId;return oe.isSessionEstablished()&&oe.lobbyDisconnect(t),ie.update(),!1},LOBBY_VOICE_CONNECT:function(e){return _e()},LOBBY_VOICE_DISCONNECT:function(e){return _e()},RPC_APP_DISCONNECTED:function(e){return _e()},STREAM_START:function(e){var t=e.streamType,n=e.guildId,r=e.channelId;if(oe.isSessionEstablished()){var i,o,a=null!=n?null===(i=L.default.getChannel(r))||void 0===i?void 0:i.rtcRegion:null===(o=b.default.getCall(r))||void 0===o?void 0:o.region;oe.streamCreate(t,n,r,null!=a?a:M.default.getPreferredRegion())}return!1},STREAM_WATCH:function(e){var t=e.streamKey,n=e.allowMultiple;return oe.isSessionEstablished()&&(n||Ee(),oe.streamWatch(t)),!1},STREAM_STOP:function(e){return pe(e.streamKey),!1},STREAM_SET_PAUSED:function(e){var t=e.streamKey,n=e.paused;oe.isSessionEstablished()&&oe.streamSetPaused(t,n)},PUSH_NOTIFICATION_CLICK:function(e){return oe.expeditedHeartbeat(5e3,"user clicked on notification",!0),!1},APPLICATION_COMMAND_QUERY_REQUEST:function(e){var t=e.guildId,n=e.query,r=e.limit,i=e.nonce,o=e.includeApplications,a=e.commandTarget;return oe.queryApplicationCommands(t,!0===o,i,a,null,n,null,r),!1},APPLICATION_COMMAND_DISCOVERY_REQUEST:function(e){var t=e.guildId,n=e.limit,r=e.offset,i=e.nonce,o=e.commandTarget;return oe.queryApplicationCommands(t,!1,i,o,null,null,r,n),!1},APPLICATIONS_REQUEST:function(e){var t=e.guildId,n=e.nonce,r=e.commandLimit,i=e.commandTarget;return oe.queryApplicationCommands(t,!0,n,i,null,null,0,r),!1}});t.default=he},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=l(n(3)),o=l(n(2)),a=l(n(379)),s=l(n(71)),u=l(n(79));n(1);function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t={os:e.os,name:e.name};return null!=e.arguments&&(t.arguments=e.arguments),null!=e.isLauncher&&(t.is_launcher=e.isLauncher),t}var f=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var o=i.prototype;return o.getGameForPID=function(e){if(__OVERLAY__)return null;if(null==e)return null;var t=u.default.getGameNameForPID(e);return s.default.getGameByName(t)},o.getGame=function(){return __OVERLAY__?r:null},o.getGameAsJSON=function(e){var t=this.getGameForPID(e);return null==t?null:{id:t.id,name:t.name,description:t.description,icon:t.icon,splash:t.splash,overlay:t.overlay,overlay_warn:t.overlayWarn,aliases:[].concat(t.aliases),publishers:[].concat(t.publishers),developers:[].concat(t.developers),third_party_skus:[].concat(t.thirdPartySkus),executables:t.executables.map(d),hashes:[].concat(t.hashes)}},i}(i.default.Store))(o.default,{OVERLAY_INITIALIZE:function(e){r=null!=e.currentGame?new a.default(e.currentGame):null}});t.default=f},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),i=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s={};var u=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n);var i=r.prototype;return i.hasViewingRoles=function(){return Object.keys(s).length>0},i.isViewingRoles=function(e){return null!=e&&null!=s[e]},i.getViewingRoles=function(e){var t;return null===(t=s[e])||void 0===t?void 0:t.roles},i.getViewingRolesTimestamp=function(e){var t;return null!=e?null===(t=s[e])||void 0===t?void 0:t.timestamp:null},r}(r.default.Store))(i.default,{VIEW_AS_ROLES_UPDATE:function(e){var t=e.guildId,n=e.roles;s[t]={roles:n,timestamp:Date.now()}},VIEW_AS_ROLES_STOP:function(e){var t=e.guildId;if(null==s[t])return!1;delete s[t]},GUILD_ROLE_DELETE:function(e){var t=e.guildId,n=e.roleId;if(null==s[t])return!1;delete s[t].roles[n]}});t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getApplicationResolution=function(e){switch(e){case o.RESOLUTION_480:return o.RESOLUTION_480;case o.RESOLUTION_720:return o.RESOLUTION_720;case o.RESOLUTION_1080:return o.RESOLUTION_1080;case o.RESOLUTION_SOURCE:return o.RESOLUTION_SOURCE;default:throw new Error("Unknown Resolution")}},t.getApplicationFramerate=function(e){switch(e){case a.FPS_5:return a.FPS_5;case a.FPS_15:return a.FPS_15;case a.FPS_30:return a.FPS_30;case a.FPS_60:return a.FPS_60;default:throw new Error("Unknown Resolution")}},t.ApplicationStreamFPSButtonsWithSuffixLabel=t.ApplicationStreamFPSButtons=t.ApplicationStreamResolutionButtonsWithSuffixLabel=t.ApplicationStreamResolutionButtonsExtended=t.ApplicationStreamResolutionButtons=t.ApplicationStreamSettingRequirements=t.ApplicationStreamPresetValues=t.ApplicationStreamPresets=t.ApplicationStreamFPS=t.ApplicationStreamResolutions=void 0;var r,i,o,a,s,u=n(1),l=(r=n(6))&&r.__esModule?r:{default:r};t.ApplicationStreamResolutions=o,function(e){e[e.RESOLUTION_480=480]="RESOLUTION_480",e[e.RESOLUTION_720=720]="RESOLUTION_720",e[e.RESOLUTION_1080=1080]="RESOLUTION_1080",e[e.RESOLUTION_SOURCE=0]="RESOLUTION_SOURCE"}(o||(t.ApplicationStreamResolutions=o={})),t.ApplicationStreamFPS=a,function(e){e[e.FPS_5=5]="FPS_5",e[e.FPS_15=15]="FPS_15",e[e.FPS_30=30]="FPS_30",e[e.FPS_60=60]="FPS_60"}(a||(t.ApplicationStreamFPS=a={})),t.ApplicationStreamPresets=s,function(e){e[e.PRESET_VIDEO=1]="PRESET_VIDEO",e[e.PRESET_DOCUMENTS=2]="PRESET_DOCUMENTS",e[e.PRESET_CUSTOM=3]="PRESET_CUSTOM"}(s||(t.ApplicationStreamPresets=s={}));var c=((i={})[s.PRESET_DOCUMENTS]=[{resolution:o.RESOLUTION_SOURCE,fps:a.FPS_15},{resolution:o.RESOLUTION_SOURCE,fps:a.FPS_5}],i[s.PRESET_VIDEO]=[{resolution:o.RESOLUTION_1080,fps:a.FPS_60},{resolution:o.RESOLUTION_720,fps:a.FPS_60},{resolution:o.RESOLUTION_720,fps:a.FPS_30}],i[s.PRESET_CUSTOM]=[],i);t.ApplicationStreamPresetValues=c;var d=[{resolution:o.RESOLUTION_SOURCE,fps:a.FPS_60,userPremiumType:u.PremiumTypes.TIER_2},{resolution:o.RESOLUTION_SOURCE,fps:a.FPS_30,userPremiumType:u.PremiumTypes.TIER_2},{resolution:o.RESOLUTION_SOURCE,fps:a.FPS_15,userPremiumType:u.PremiumTypes.TIER_2},{resolution:o.RESOLUTION_SOURCE,fps:a.FPS_5,preset:s.PRESET_DOCUMENTS},{resolution:o.RESOLUTION_1080,fps:a.FPS_60,userPremiumType:u.PremiumTypes.TIER_1,guildPremiumTier:u.PremiumGuildTiers.TIER_2},{resolution:o.RESOLUTION_1080,fps:a.FPS_30,userPremiumType:u.PremiumTypes.TIER_1,guildPremiumTier:u.PremiumGuildTiers.TIER_2},{resolution:o.RESOLUTION_1080,fps:a.FPS_15,userPremiumType:u.PremiumTypes.TIER_1,guildPremiumTier:u.PremiumGuildTiers.TIER_2},{resolution:o.RESOLUTION_720,fps:a.FPS_60,userPremiumType:u.PremiumTypes.TIER_1,guildPremiumTier:u.PremiumGuildTiers.TIER_1},{resolution:o.RESOLUTION_720,fps:a.FPS_30},{resolution:o.RESOLUTION_720,fps:a.FPS_15},{resolution:o.RESOLUTION_720,fps:a.FPS_5},{resolution:o.RESOLUTION_480,fps:a.FPS_60,userPremiumType:u.PremiumTypes.TIER_1,guildPremiumTier:u.PremiumGuildTiers.TIER_1},{resolution:o.RESOLUTION_480,fps:a.FPS_30},{resolution:o.RESOLUTION_480,fps:a.FPS_15},{resolution:o.RESOLUTION_480,fps:a.FPS_5}];function f(e,t){return{value:e,get label(){return null!=t?t():e}}}t.ApplicationStreamSettingRequirements=d;var _=[f(o.RESOLUTION_480),f(o.RESOLUTION_720),f(o.RESOLUTION_1080),f(o.RESOLUTION_SOURCE,(function(){return l.default.Messages.SCREENSHARE_SOURCE}))];t.ApplicationStreamResolutionButtons=_;var p=[f(o.RESOLUTION_720),f(o.RESOLUTION_1080),f(o.RESOLUTION_SOURCE,(function(){return l.default.Messages.SCREENSHARE_SOURCE}))];t.ApplicationStreamResolutionButtonsExtended=p;var E=function(e){return e+"p"},h=[f(o.RESOLUTION_480,(function(){return E(o.RESOLUTION_480)})),f(o.RESOLUTION_720,(function(){return E(o.RESOLUTION_720)})),f(o.RESOLUTION_1080,(function(){return E(o.RESOLUTION_1080)})),f(o.RESOLUTION_SOURCE,(function(){return l.default.Messages.SCREENSHARE_SOURCE}))];t.ApplicationStreamResolutionButtonsWithSuffixLabel=h;var m=[f(a.FPS_15),f(a.FPS_30),f(a.FPS_60)];t.ApplicationStreamFPSButtons=m;var v=[f(a.FPS_15,(function(){return l.default.Messages.STREAM_FPS_OPTION.format({value:a.FPS_15})})),f(a.FPS_30,(function(){return l.default.Messages.STREAM_FPS_OPTION.format({value:a.FPS_30})})),f(a.FPS_60,(function(){return l.default.Messages.STREAM_FPS_OPTION.format({value:a.FPS_60})}))];t.ApplicationStreamFPSButtonsWithSuffixLabel=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={createHeaderResult:!0,findNextSelectedResult:!0,sortByMatchScore:!0};Object.defineProperty(t,"createHeaderResult",{enumerable:!0,get:function(){return a.createHeaderResult}}),Object.defineProperty(t,"findNextSelectedResult",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"sortByMatchScore",{enumerable:!0,get:function(){return u.default}}),t.default=void 0;var i=l(n(5520)),o=n(356);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var a=n(5525),s=l(n(5526)),u=l(n(460));function l(e){return e&&e.__esModule?e:{default:e}}var c=i.default;t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(3)),i=a(n(184)),o=a(n(2));n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u={},l={},c={scrollTop:0};function d(e){return{guildId:e,scrollTop:null,scrollTo:null}}function f(e){if(null!=u[e]){var t=u[e];return t.scrollTop===t.scrollHeight-t.offsetHeight}return!0}var _=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var i=r.prototype;return i.percentageScrolled=function(e){if(u[e]){var t=u[e];return t.scrollTop/t.scrollHeight}return 1},i.getChannelDimensions=function(e){return u[e]},i.getGuildDimensions=function(e){return l[e]||d(e)},i.getGuildListDimensions=function(){return c},i.isAtBottom=function(e){return f(e)},r}(r.default.Store))(o.default,{UPDATE_CHANNEL_DIMENSIONS:function(e){var t=e.channelId,n=e.scrollTop,r=e.scrollHeight,o=e.offsetHeight,a=u[t];if(null==n||null==r||null==o){if(null==a)return!1;delete u[t]}else{var s={channelId:t,scrollTop:n,scrollHeight:r,offsetHeight:o};if(null!=a&&(0,i.default)(a,s))return!1;u[t]=s}},UPDATE_CHANNEL_LIST_DIMENSIONS:function(e){var t=e.guildId,n=e.scrollTop,r=e.scrollTo;l[t]||(l[t]=d(t)),void 0!==n&&(l[t].scrollTop=n);var i=!1;return void 0!==r&&(i=l[t].scrollTo!==r,l[t].scrollTo=r),null!=r||i},UPDATE_GUILD_LIST_DIMENSIONS:function(e){var t=e.scrollTop;c.scrollTop=t},CALL_CREATE:function(e){var t=e.channelId;f(t)&&delete u[t]}});t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.humanizeStatus=function(e,t){void 0===t&&(t=!1);switch(e){case o.StatusTypes.ONLINE:return t?a.default.Messages.STATUS_ONLINE_MOBILE:a.default.Messages.STATUS_ONLINE;case o.StatusTypes.OFFLINE:return a.default.Messages.STATUS_OFFLINE;case o.StatusTypes.IDLE:return a.default.Messages.STATUS_IDLE;case o.StatusTypes.DND:return a.default.Messages.STATUS_DND;case o.StatusTypes.INVISIBLE:return a.default.Messages.STATUS_INVISIBLE;case o.StatusTypes.STREAMING:return a.default.Messages.STATUS_STREAMING;case o.StatusTypes.UNKNOWN:default:return a.default.Messages.STATUS_DND}},t.accountAgeInRange=s,t.isNewUser=function(e){return s(e,{maxDaysOld:7,minDaysOld:0})};var r,i=n(206),o=n(1),a=(r=n(6))&&r.__esModule?r:{default:r};function s(e,t){var n=t.maxDaysOld,r=t.minDaysOld,o=void 0===r?0:r;if(null==e)return!1;var a=(0,i.now)()-e.createdAt.getTime();return!!((null==n||a<=864e5*n)&&a>=864e5*o)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PopoutPositions",{enumerable:!0,get:function(){return d.Positions}}),Object.defineProperty(t,"PopoutAlign",{enumerable:!0,get:function(){return d.Align}}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(188)),a=h(n(67)),s=n(57),u=n(754),l=h(n(690)),c=n(121),d=n(250),f=n(165),_=n(41),p=h(n(5392)),E=n(1);function h(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function v(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){T(o,r,i,a,s,"next",e)}function s(e){T(o,r,i,a,s,"throw",e)}a(void 0)}))}}function I(){return(I=Object.assign||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}).apply(this,arguments)}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(){c.ComponentDispatch.dispatch(E.ComponentActions.POPOUT_SHOW)}function A(){c.ComponentDispatch.dispatch(E.ComponentActions.POPOUT_HIDE)}var O=new Set(["Spacebar"," ","Enter"]),N=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).domElementRef=i.createRef(),t.popoutRef=i.createRef(),t.popoutId="popout_"+(0,o.default)(),t.loadingTimeout=new s.Timeout,t.validClickTimeout=new s.Timeout,t.isValidClickStart=!1,t.state={shouldShowPopout:!1,shouldShowLoadingState:!1,isLoaded:null==t.props.preload,resizeKey:0},t.handleSetPopoutRef=function(e){var n;null!=e&&(t.popoutRef.current=e,null===(n=t.resizeObserver)||void 0===n||n.disconnect(),t.resizeObserver=new ResizeObserver((function(){t.setState({resizeKey:t.state.resizeKey+1})})),t.resizeObserver.observe(e))},t.renderPopout=function(e,n){var r=t.props.renderPopout;return null==t.props.preload||t.state.isLoaded?r(I({},e,{updatePosition:n,closePopout:t.close,setPopoutRef:t.handleSetPopoutRef})):t.props.loadingComponent},t.close=function(){var e=t.props,n=e.onRequestClose,r=e.shouldShow;null==n||n(),null==r&&t.toggleShow(!1)},t.handleClick=function(e){var n=t.props,r=n.onShiftClick,i=n.shouldShow,o=n.onRequestOpen,a=n.onRequestClose;e.shiftKey&&null!=r?r(e):null==i&&(t.state.shouldShowPopout?null==a||a():null==o||o(),t.setState((function(e){return{shouldShowPopout:!e.shouldShowPopout}})))},t.handlePreload=g(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=(n=t.props.preload)){e.next=3;break}return e.abrupt("return");case 3:return t.loadingTimeout.start(250,(function(){return t.setState({shouldShowLoadingState:!0})}),!1),e.prev=4,e.next=7,n();case 7:return e.prev=7,t.setState({isLoaded:!0}),e.finish(7);case 10:case"end":return e.stop()}}),e,null,[[4,,7,10]])}))),t.handleKeyboardPreload=function(e){O.has(e.key)&&t.handlePreload()},t.handleDocumentMouseDown=function(e){var n=e.target,r=t.domElementRef.current;if(null!=r){if((0,d.referencePortalAwareContains)(r,n))return;if(n.closest("."+u.ContextMenuClassName))return;if((0,_.hasAnyModalOpen)()||l.default.hasModalOpen())return;t.isValidClickStart=!0,t.validClickTimeout.start(1e3,(function(){t.isValidClickStart=!1}))}},t.handleDocumentMouseUp=function(){t.isValidClickStart&&(t.isValidClickStart=!1,t.close())},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n);var p=r.prototype;return p.shouldShowPopout=function(e,t){return null!=e.shouldShow?e.shouldShow:t.shouldShowPopout},p.componentDidMount=function(){this.shouldShowPopout(this.props,this.state)&&this.setupShowPopout()},p.componentDidUpdate=function(e,t){e.shouldShow,this.props.shouldShow;var n=this.shouldShowPopout(this.props,this.state);this.shouldShowPopout(e,t)===n&&t.shouldShowLoadingState===this.state.shouldShowLoadingState&&t.isLoaded===this.state.isLoaded||(n&&(this.state.shouldShowLoadingState||this.state.isLoaded)?this.setupShowPopout():this.unsubscribe())},p.setupShowPopout=function(){var e,t,n=a.default.findDOMNode(this);if(null==n||1!==n.nodeType)throw new Error("Popout cannot find DOM node");null===(e=n.ownerDocument)||void 0===e||e.addEventListener("mousedown",this.handleDocumentMouseDown,!0),null===(t=n.ownerDocument)||void 0===t||t.addEventListener("mouseup",this.handleDocumentMouseUp,!0),c.ComponentDispatch.subscribe(E.ComponentActions.POPOUT_CLOSE,this.close),this.domElementRef.current=n,this.forceUpdate()},p.unsubscribe=function(){var e,t,n,r=this.domElementRef.current;null!=r&&(null===(t=r.ownerDocument)||void 0===t||t.removeEventListener("mousedown",this.handleDocumentMouseDown,!0),null===(n=r.ownerDocument)||void 0===n||n.removeEventListener("mouseup",this.handleDocumentMouseUp,!0));c.ComponentDispatch.unsubscribe(E.ComponentActions.POPOUT_CLOSE,this.close),null===(e=this.resizeObserver)||void 0===e||e.disconnect()},p.componentWillUnmount=function(){this.unsubscribe(),this.domElementRef.current=null,this.loadingTimeout.stop(),this.validClickTimeout.stop()},p.render=function(){var e=this.props.children,t=this.shouldShowPopout(this.props,this.state);return v(i.Fragment,{},void 0,e({onMouseDown:this.handlePreload,onKeyDown:this.handleKeyboardPreload,onClick:this.handleClick,"aria-controls":this.popoutId,"aria-expanded":t},t),this.renderLayer())},p.renderLayer=function(){if(!this.shouldShowPopout(this.props,this.state))return null;var e=this.props,t=e.position,n=e.align,r=e.nudgeAlignIntoViewport,i=e.spacing,o=e.autoInvert,a=e.fixed,s=e.positionKey,u=this.state.resizeKey;return null==this.domElementRef.current?null:v(f.AppReferencePositionLayer,{onMount:y,onUnmount:A,id:this.popoutId,reference:this.domElementRef,position:t,align:n,nudgeAlignIntoViewport:r,spacing:i,autoInvert:o,fixed:a,positionKey:null!=s?s:String(u)},void 0,this.renderPopout)},p.toggleShow=function(e){this.state.shouldShowPopout!==e&&this.setState({shouldShowPopout:e})},r}(i.Component);t.default=N,N.displayName="BasePopout",N.Positions=d.Positions,N.Align=d.Align,N.defaultProps={autoInvert:!1,nudgeAlignIntoViewport:!1,spacing:0,loadingComponent:v(p.default,{})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={reactParserFor:!0,astParserFor:!0};t.astParserFor=t.reactParserFor=void 0;var i,o=n(1134);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var a=(i=n(5537).default).reactParserFor;t.reactParserFor=a;var s=i.astParserFor;t.astParserFor=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(3)),i=s(n(2)),o=n(121),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=null;function c(){l=null}var d=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var i=r.prototype;return i.isOpen=function(){return!!l},i.getContextMenu=function(){return l},i.close=function(){return!!this.isOpen()&&(o.ComponentDispatch.dispatch(a.ComponentActions.CONTEXT_MENU_CLOSE),!0)},r}(r.default.Store))(i.default,{CONTEXT_MENU_OPEN:function(e){var t=e.contextMenu;l=t},LAYER_PUSH:function(e){return c()},CONTEXT_MENU_CLOSE:function(e){return c()},OVERLAY_SET_UI_LOCKED:function(e){return c()},OVERLAY_DEACTIVATE_ALL_REGIONS:function(e){return c()}});t.default=d},function(e,t,n){var r=n(1401),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFocusLock=f,t.default=function(e){return f(e.containerRef),e.children};var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(422)),a=n(3),s=u(n(105));function u(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}var d=null!==(r=document.getElementById("app-mount"))&&void 0!==r?r:document;function f(e,t){var n;void 0===t&&(t={});var r=(0,a.useStateFromStores)([s.default],(function(){return s.default.keyboardModeEnabled})),u=i.useRef(!1);return u.current=!r,(0,o.default)(e,c({},t,{disableReturnRef:u,attachTo:null!==(n=t.attachTo)&&void 0!==n?n:d}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFriendDiscoveryContext=t.isUserGuildMemberDiscoveryContext=t.createFriendGuildsDiscoveryItem=t.createConnectedDiscoveryItemMetadata=t.createRecommendedDiscoveryItem=t.createUserGuildDiscoveryItem=t.StageDiscoveryRecommendationSource=t.DiscoveryItemTypes=t.STAGE_DISCOVERY_STAGE_RECENTLY_STARTED_THRESHOLD_MS=t.STAGE_DISCOVERY_RESULTS_TIME_UNTIL_STALE_MS=void 0;var r=d(n(302)),i=n(260),o=d(n(81)),a=d(n(162)),s=d(n(89)),u=d(n(11)),l=d(n(56)),c=d(n(15));function d(e){return e&&e.__esModule?e:{default:e}}function f(){return(f=Object.assign||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}).apply(this,arguments)}function _(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.STAGE_DISCOVERY_RESULTS_TIME_UNTIL_STALE_MS=3e5;var E,h;t.STAGE_DISCOVERY_STAGE_RECENTLY_STARTED_THRESHOLD_MS=9e5,t.DiscoveryItemTypes=E,function(e){e[e.USER_GUILDS=0]="USER_GUILDS",e[e.FRIENDS_GUILDS=1]="FRIENDS_GUILDS",e[e.RECOMMENDED=2]="RECOMMENDED",e[e.CONNECTED=3]="CONNECTED"}(E||(t.DiscoveryItemTypes=E={})),t.StageDiscoveryRecommendationSource=h,function(e){e[e.UNSPECIFIED=0]="UNSPECIFIED",e[e.TRENDING=1]="TRENDING",e[e.PERSONALIZED=2]="PERSONALIZED",e[e.USER_GUILDS=3]="USER_GUILDS",e[e.FRIENDS_GUILDS=4]="FRIENDS_GUILDS",e[e.INTRO_CARD=5]="INTRO_CARD",e[e.FEATURED=6]="FEATURED"}(h||(t.StageDiscoveryRecommendationSource=h={}));t.createUserGuildDiscoveryItem=function(e){var t={id:e.id,type:E.USER_GUILDS,data:e},n=c.default.getGuild(e.guild_id),r=l.default.getMember(e.guild_id,u.default.getId());return null==n||null==r||r.isPending||(t.context={guild:n,membership:r}),t};t.createRecommendedDiscoveryItem=function(e){var t=e.guild,n=function(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}(e,["guild"]);return{id:n.instance.channel_id,type:E.RECOMMENDED,data:{guild:new a.default(t),instance:n.instance,channelId:n.instance.channel_id,participantCount:n.participant_count,speakers:n.speakers,sampleSpeakerMembers:n.sample_speaker_members.map((function(e){var t,n,r;return{userNick:null!==(t=null!==(n=e.nick)&&void 0!==n?n:null===(r=e.user)||void 0===r?void 0:r.username)&&void 0!==t?t:"",user:e.user?new s.default(e.user):null}})),source:n.source,score:n.score}}};t.createConnectedDiscoveryItemMetadata=function(e){return{id:e.id,type:E.CONNECTED,data:{guild:c.default.getGuild(e.guild_id),instance:o.default.getStageInstanceByChannel(e.id),speakers:r.default.getMutableParticipants(e.id,i.StageChannelParticipantNamedIndex.SPEAKER),participantCount:r.default.getParticipantCount(e.id)}}};t.createFriendGuildsDiscoveryItem=function(e){for(var t,n,r,i,o,a=e.enhancedStage,s=e.richPresenceStage,u=a.data,l=a.id,c=s.knownUsers,d=Object.values(s.knownUsers)[0],p={},h=_(u.sampleSpeakerMembers);!(o=h()).done;){var m,v=o.value;null!=(null==v||null===(m=v.user)||void 0===m?void 0:m.id)&&(p[v.user.id]=v)}for(var T=[],g=0,I=Object.keys(c);g<I.length;g++){var S=c[I[g]];S.isSpeaker&&(T.push(S),d=S)}for(var y=0,A=Object.keys(p);y<A.length;y++){var O=A[y],N=p[O];c[O]||T.push(N)}var R=u.speakers.length;return{id:l,type:E.FRIENDS_GUILDS,data:f({},u,{speakerCount:R,audienceCount:u.participantCount-R,speakers:T}),context:{guildId:u.guild.id,isSpeaker:null!==(t=null===(n=d)||void 0===n?void 0:n.isSpeaker)&&void 0!==t&&t,user:null===(r=d)||void 0===r?void 0:r.user,userNick:null===(i=d)||void 0===i?void 0:i.userNick}}};t.isUserGuildMemberDiscoveryContext=function(e){return null!=e&&"guild"in e&&"membership"in e};t.isFriendDiscoveryContext=function(e){return null!=e&&"user"in e&&"isSpeaker"in e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(8)),i=s(n(404)),o=s(n(199)),a=s(n(15));function s(e){return e&&e.__esModule?e:{default:e}}var u,l=new i.default({maxAge:6e4});var c={requestMembers:function(e,t,n){void 0===n&&(n=10);var i=(e||"")+":"+t;null==l.get(i)&&(l.set(i,!0),function(e,t,n){null!=u&&clearTimeout(u),u=setTimeout((function(){var i=[],s=function(e){i.push(e.id)};if(null==e)r.default.forEach(a.default.getGuilds(),s);else{var u=a.default.getGuild(e);null!=u&&s(u)}i.length>0&&o.default.requestMembers(i,t.toLocaleLowerCase(),n)}),200)}(e,t,n))}};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getReactionEmojiName=function(e){return null==e.id?i.default.convertSurrogateToName(e.name):":"+e.name+":"},t.toReactionEmoji=function(e){return{id:e.id||null,name:e.id?e.name:e.optionallyDiverseSequence,animated:e.animated}},t.emojiEquals=function(e,t){if(null!=t.id)return t.id===e.id;return null==e.id&&t.name===e.name},t.MAX_REACTIONS=void 0;var r,i=(r=n(185))&&r.__esModule?r:{default:r};t.MAX_REACTIONS=20},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),i=l(n(2)),o=l(n(739)),a=l(n(5371)),s=l(n(162)),u=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(){return(d=Object.assign||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}).apply(this,arguments)}var f=[],_=[],p={},E=function(e){f=e.filter((function(e){return!u.LOCAL_PLATFORM_TYPES.has(e.type)})),_=e.filter((function(e){return u.LOCAL_PLATFORM_TYPES.has(e.type)}))};var h=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var i=r.prototype;return i.isJoining=function(e){return p[e]||!1},i.isFetching=function(){return null==f},i.getAccounts=function(){return f},i.getLocalAccounts=function(){return _},i.getAccount=function(e,t){return f.find((function(n){return n.id===e&&n.type===t}))},i.getLocalAccount=function(e){return _.find((function(t){return t.type===e}))},r}(r.default.Store))(i.default,{CONNECTION_OPEN:function(e){var t=e.connectedAccounts.map((function(e){return new a.default(e)}));E(t)},USER_CONNECTIONS_UPDATE:function(e){if(e.local&&null!=e.accounts){var t=e.accounts.map((function(e){return new a.default(d({},e,{integrations:e.integrations.map((function(e){return d({},e,{guild:new s.default(e.guild)})}))}))}));E(t)}else o.default.fetch()},USER_CONNECTIONS_INTEGRATION_JOINING:function(e){p[e.integrationId]=e.joining},USER_CONNECTION_UPDATE:function(e){var t=e.platformType,n=e.id,r=e.revoked,i=e.accessToken,o=f.find((function(e){return e.id===n&&e.type===t}));if(null==o)return!1;null!=r&&(o.revoked=r),null!=i&&(o.accessToken=i)}});t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStreamerActivityByUserId=o,t.getStreamerActivity=a,t.getStreamerApplication=function(e,t){if(null==e)return null;var n=a(e,t);if(null==n)return null;return{id:n.application_id,name:n.name}};var r=n(1);function i(e){return e.type===r.ActivityTypes.PLAYING}function o(e,t){return t.findActivity(e,i)}function a(e,t){return null!=e?o(e.ownerId,t):null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(2)),i=s(n(40)),o=s(n(1178)),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}var l={checkGuildTemplateDirty:function(e){return(t=regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i.default.canWithPartialContext(a.Permissions.MANAGE_GUILD,{guildId:e})){t.next=2;break}return t.abrupt("return");case 2:t.next=4;break;case 4:return t.next=6,o.default.loadTemplatesForGuild(e);case 6:(n=t.sent).body.length>0&&r.default.dispatch({type:a.ActionTypes.GUILD_TEMPLATE_DIRTY_TOOLTIP_REFRESH,guildTemplate:n.body[0]});case 8:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(e){u(o,r,i,a,s,"next",e)}function s(e){u(o,r,i,a,s,"throw",e)}a(void 0)}))})();var t},hideGuildTemplateDirtyTooltip:function(e){r.default.dispatch({type:a.ActionTypes.GUILD_TEMPLATE_DIRTY_TOOLTIP_HIDE,guildId:e})},hideGuildTemplatePromotionTooltip:function(){r.default.dispatch({type:a.ActionTypes.GUILD_TEMPLATE_PROMOTION_TOOLTIP_HIDE})}};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_(n(14)),i=_(n(2)),o=_(n(303)),a=_(n(12)),s=_(n(13)),u=_(n(154)),l=_(n(1217)),c=_(n(132)),d=n(1),f=_(n(6));function _(e){return e&&e.__esModule?e:{default:e}}var p={call:function(e,t,n,i,o){var _=this,p=function(n){c.default.selectVoiceChannel(e,t),n&&_.ring(e),null==o||o()};if(null!=i){var E=a.default.getUser(i);r.default.get({url:d.Endpoints.CALL(e),oldFormErrors:!0}).then((function(e){p(n&&e.body.ringable)}),(function(){s.default.track(d.AnalyticEvents.OPEN_POPOUT,{type:"Not Friend",source:"Call"}),u.default.show({title:f.default.Messages.START_CALL,body:f.default.Messages.CALL_INVITE_NOT_FRIENDS.format({username:null!=E?E.username:""}),confirmText:f.default.Messages.ADD_FRIEND_BUTTON,cancelText:f.default.Messages.OKAY,onConfirm:function(){l.default.addRelationship(i,{location:"Call"})}})}))}else p(n)},ring:function(e,t){var n=o.default.getCall(e);null==n||null==n.messageId||o.default.isCallUnavailable(e)?i.default.dispatch({type:d.ActionTypes.CALL_ENQUEUE_RING,channelId:e,recipients:t}):r.default.post({url:d.Endpoints.CALL_RING(e),body:{recipients:t},oldFormErrors:!0})},stopRinging:function(e,t){return r.default.post({url:d.Endpoints.CALL_STOP_RINGING(e),body:{recipients:t},oldFormErrors:!0})}};t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?24:t,r=e.height,i=void 0===r?24:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=e.backgroundColor,_=function(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}(e,["width","height","color","foreground","backgroundColor"]);return o.createElement("svg",u({},(0,a.default)(_),{width:n,height:i,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),f?l("circle",{r:8,cx:12,cy:12,fill:f}):null,l("g",{fill:"none",fillRule:"evenodd"},void 0,l("path",{className:d,fill:c,d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})))}c.displayName="CheckmarkCircle"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLinkTrusted=function(e,t){var n=u.default.getChannel(f.default.getChannelId());if(null!=n&&n.type===_.ChannelTypes.DM&&!d.default.isFriend(n.getRecipientId()||""))return!1;return e===t},t.handleClick=function(e,t){var n=e.trusted,u=e.onClick,d=e.onConfirm,f=e.shouldConfirm,_=r.default.sanitizeUrl(e.href);if(null==_)return void(null!=t&&t.preventDefault());if(null!=u){if(u(t))return}else{var E=(0,a.getOnClick)(_);if(null!=E&&E(t))return}var h=function(){null==d?(0,a.openURL)(_):d()},m="function"==typeof n?n():n,v=(0,c.getProtocol)(_),T=!("http:"===v||"https:"===v);if(!T&&(m||l.default.isTrustedDomain(_))||T&&l.default.isTrustedProtocol(_))return void((null==t||null!=f&&f)&&h());null!=t&&t.preventDefault();if(T)i.default.show({title:p.default.Messages.HOLD_UP,body:p.default.Messages.MASKED_PROTOCOL_LINK_BODY.format({url:_}),cancelText:p.default.Messages.MASKED_LINK_CANCEL,confirmText:p.default.Messages.MASKED_LINK_CONFIRM,onConfirm:h,minorText:p.default.Messages.MASKED_LINK_TRUST_THIS_PROTOCOL,onConfirmSecondary:function(){(0,o.trustProtocol)(_),h()}});else{var g=(0,s.depunycodeLink)(_);i.default.show({title:p.default.Messages.HOLD_UP,body:p.default.Messages.MASKED_LINK_BODY.format({url:null!=g?g.displayTarget:_}),cancelText:p.default.Messages.MASKED_LINK_CANCEL,confirmText:p.default.Messages.MASKED_LINK_CONFIRM,onConfirm:h,minorText:p.default.Messages.MASKED_LINK_TRUST_THIS_DOMAIN,onConfirmSecondary:function(){(0,o.trustDomain)(_),h()}})}};var r=E(n(101)),i=E(n(154)),o=n(5538),a=n(954),s=n(461),u=E(n(10)),l=E(n(5539)),c=n(1135),d=E(n(70)),f=E(n(36)),_=n(1),p=E(n(6));function E(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(1153)),i=o(n(348));function o(e){return e&&e.__esModule?e:{default:e}}n(908);var a=new i.default({initialLocale:r.default.parse(document.cookie).locale,getMessages:function(e){return n(1542)("./"+e)},getLanguages:function(){return n(1543)}});a.addListener("locale",(function(e){document.cookie="locale="+e+";path=/"}));var s=a;t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null!=e&&e.type!==r.ActivityTypes.CUSTOM_STATUS&&(null!=e.details||null!=e.assets||null!=e.party||null!=e.secrets||null!=e.state)};var r=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFullScreenNode=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.find((function(e){return null!=e&&o(e)}))},t.supportsFullScreen=o,t.requestFullScreen=function(e,t){if("function"==typeof e.requestFullscreen)e.requestFullscreen();else if("function"==typeof e.webkitRequestFullscreen)e.webkitRequestFullscreen();else if("function"==typeof e.webkitEnterFullscreen)e.webkitEnterFullscreen();else if("function"==typeof e.mozRequestFullScreen)e.mozRequestFullScreen();else{if("function"!=typeof e.msRequestFullscreen)return void new i.default("FullScreenUtils").warn("Fullscreen API is not supported.");e.msRequestFullscreen()}null!=t&&t()},t.exitFullScreen=function(e,t,n){var r=null!=n?n:document;if(!a(null,r))return;if("function"==typeof r.exitFullscreen)r.exitFullscreen();else if("function"==typeof r.webkitExitFullscreen)r.webkitExitFullscreen();else if("function"==typeof e.webkitExitFullscreen)e.webkitExitFullscreen();else if("function"==typeof r.mozCancelFullScreen)r.mozCancelFullScreen();else{if("function"!=typeof r.msExitFullscreen)return void new i.default("FullScreenUtils").warn("Fullscreen API is not supported.");r.msExitFullscreen()}null!=t&&t()},t.isFullScreen=a,t.subscribeDocumentToFullScreenChange=function(e,t){e.addEventListener(u,t),e.addEventListener("webkitfullscreenchange",t)},t.FULLSCREEN_CHANGE_EVENT=void 0;var r,i=(r=n(26))&&r.__esModule?r:{default:r};function o(e){return null!=e.requestFullscreen||null!=e.webkitRequestFullscreen||e.webkitSupportsFullscreen||null!=e.mozRequestFullScreen||null!=e.msRequestFullscreen}function a(e,t){var n=null!=t?t:document;return null!=n.fullscreenElement||null!=n.mozFullScreenElement||null!=n.webkitFullscreenElement||null!=n.msFullscreenElement||null!=e&&e.webkitDisplayingFullscreen}var s,u="function"==typeof(s=document.createElement("video")).requestFullscreen?"fullscreenchange":"function"==typeof s.webkitRequestFullscreen?"webkitfullscreenchange":"function"==typeof s.webkitEnterFullscreen?"webkitendfullscreen":"function"==typeof s.mozRequestFullScreen?"mozfullscreenchange":"function"==typeof s.msRequestFullscreen?"msfullscreenchange":"fullscreenchange";t.FULLSCREEN_CHANGE_EVENT=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fillChunk=function(e,t,n){var i=(0,r.chunk)(e,t),o=null!=n?n:t;return i.reduce((function(e,t){if(o<=t.length)return[].concat(e,[t]);var n=[].concat(t,new Array(o-t.length).fill(null));return[].concat(e,[n])}),[])},t.isVersionEqual=function(e,t){var n=e[1],r=t[1];return n===r},t.summarizeUsernamesParticipating=function(e,t,n,r){var i=t[0],o=a.default.getName(e,n,i),s=null!=r?r:t.length;if(1===s&&null!=i)return o;if(null==i)return d.default.Messages.SPEAKING_COUNT.format({count:s});return d.default.Messages.USER_SUMMARY_WITH_OTHERS.format({name:o,count:s-1})},t.summarizeUsernamesParticipatingWithSpeakerNickname=function(e,t,n){var r=null!=n?n:e.length;if(1===r&&null!=t)return t;if(null==t)return d.default.Messages.SPEAKING_COUNT.format({count:r});return d.default.Messages.USER_SUMMARY_WITH_OTHERS.format({name:t,count:r-1})},t.getRemoveModeratorTooltipHint=function(e,t){switch(e){case i.RowType.OWNER:return d.default.Messages.CHANNEL_PERMISSIONS_ADD_MEMBERS_TOOLTIP_OWNER;case i.RowType.ADMINISTRATOR:return d.default.Messages.CHANNEL_PERMISSIONS_ADD_MEMBERS_TOOLTIP_ADMINISTRATOR;case i.RowType.MEMBER:case i.RowType.ROLE:return t?d.default.Messages.CHANNEL_PERMISSIONS_CANNOT_REMOVE_PERMISSIONS:d.default.Messages.CHANNEL_PERMISSIONS_REMOVE_MODERATOR_TOOLTIP;case i.RowType.EMPTY_STATE:return null}},t.getStageChannelMetadata=function(e){var t=l.default.getStageInstanceByChannel(e.id);return{channel_id:e.id,guild_id:e.guild_id,topic:null==t?void 0:t.topic,media_session_id:o.default.getMediaSessionId(),request_to_speak_state:s.default.canEveryoneRole(c.Permissions.REQUEST_TO_SPEAK,e)?u.RequestToSpeakPermissionStates.EVERYONE:u.RequestToSpeakPermissionStates.NO_ONE,stage_instance_id:null==t?void 0:t.id}};var r=n(8),i=n(1229),o=f(n(94)),a=f(n(258)),s=f(n(78)),u=n(134),l=f(n(81)),c=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openNewUserAgeGateModal=function(e){(0,s.openModal)((function(e){return r.createElement(a.default,e)}),{modalKey:o.NEW_USER_AGE_GATE_MODAL_KEY,onCloseRequest:i.NOOP,onCloseCallback:e})},t.openClaimAccountModal=function(e,t){void 0===e&&(e=!1);(0,s.openModal)((function(t){return r.createElement(u.default,d({claimRequired:e},t))}),{onCloseRequest:e?i.NOOP:null,onCloseCallback:t})};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(92),o=n(742),a=l(n(1419)),s=n(41),u=l(n(1184));function l(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=l("rect",{width:"24",height:"24"});function d(e){var t=e.width,n=void 0===t?24:t,r=e.height,i=void 0===r?24:r,s=e.color,d=void 0===s?"currentColor":s,f=e.foreground,_=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(_),{width:n,height:i,viewBox:"0 0 24 24"}),l("g",{fill:"none",fillRule:"evenodd"},void 0,l("path",{className:f,fill:d,d:"M10.59 13.41c.41.39.41 1.03 0 1.42-.39.39-1.03.39-1.42 0a5.003 5.003 0 0 1 0-7.07l3.54-3.54a5.003 5.003 0 0 1 7.07 0 5.003 5.003 0 0 1 0 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.982 2.982 0 0 0 0-4.24 2.982 2.982 0 0 0-4.24 0l-3.53 3.53a2.982 2.982 0 0 0 0 4.24zm2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 0 1 0 7.07l-3.54 3.54a5.003 5.003 0 0 1-7.07 0 5.003 5.003 0 0 1 0-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.982 2.982 0 0 0 0 4.24 2.982 2.982 0 0 0 4.24 0l3.53-3.53a2.982 2.982 0 0 0 0-4.24.973.973 0 0 1 0-1.42z"}),c))}d.displayName="Link"},function(e,t,n){var r=n(309),i=n(1537),o=n(1538),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(8)),i=u(n(3)),o=n(34),a=u(n(28)),s=u(n(2));n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c={},d={},f=0;function _(e,t,n){var r=d[e];return null!=r?n(r):t}function p(e,t){var n=c[e];null!=n&&n.forEach((function(e){return delete d[e.id]})),c[e]=t,t.forEach((function(e){return d[e.id]=e}))}var E=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var s=i.prototype;return s.initialize=function(){var e=a.default.get("CertifiedDeviceStore");null!=e&&r.default.forEach(e,(function(e,t){e.forEach((function(e){"audioinput"===e.type&&e.hardwareMute&&(e.hardwareMute=!1)})),p(t,e)}))},s.isCertified=function(e){return null!=d[e]},s.getCertifiedDevice=function(e){return d[e]},s.getCertifiedDeviceName=function(e,t){var n=this.getCertifiedDevice(e);return null!=n?n.vendor.name+" "+n.model.name:t},s.getCertifiedDeviceByType=function(e){return r.default.find(d,(function(t){return t.type===e}))},s.isHardwareMute=function(e){return _(e,!1,(function(e){return e.type===o.DeviceTypes.AUDIO_INPUT&&e.hardwareMute}))},s.hasEchoCancellation=function(e){return _(e,!1,(function(e){return e.type===o.DeviceTypes.AUDIO_INPUT&&e.echoCancellation}))},s.hasNoiseSuppression=function(e){return _(e,!1,(function(e){return e.type===o.DeviceTypes.AUDIO_INPUT&&e.noiseSuppression}))},s.hasAutomaticGainControl=function(e){return _(e,!1,(function(e){return e.type===o.DeviceTypes.AUDIO_INPUT&&e.automaticGainControl}))},s.getVendor=function(e){return _(e,null,(function(e){return e.vendor}))},s.getModel=function(e){return _(e,null,(function(e){return e.model}))},s.getRevision=function(){return f},i}(i.default.Store))(s.default,{CERTIFIED_DEVICES_SET:function(e){p(e.applicationId,e.devices),a.default.set("CertifiedDeviceStore",c),f++}});t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(14)),i=s(n(2)),o=s(n(13)),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function l(){return(l=Object.assign||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}).apply(this,arguments)}function c(e,t,n){return void 0===n&&(n=!1),r.default.post({url:a.Endpoints.CONNECTIONS_CALLBACK(e),body:l({},t,{insecure:n,friend_sync:a.FRIEND_SYNC_PLATFORM_TYPES.has(e)}),oldFormErrors:!0})}var d={fetch:function(){r.default.get({url:a.Endpoints.CONNECTIONS,oldFormErrors:!0}).then((function(e){return i.default.dispatch({type:a.ActionTypes.USER_CONNECTIONS_UPDATE,local:!0,accounts:e.body})}),(function(){return i.default.dispatch({type:a.ActionTypes.USER_CONNECTIONS_UPDATE,local:!0,accounts:[]})}))},authorize:function(e,t){return o.default.track(a.AnalyticEvents.CONNECTED_ACCOUNT_INITIATED,{platform_type:e,location:t}),r.default.get({url:a.Endpoints.CONNECTIONS_AUTHORIZE(e),oldFormErrors:!0})},callback:c,connect:function(e,t,n,i){r.default.put({url:a.Endpoints.CONNECTION(e,t),body:{name:n,friend_sync:a.FRIEND_SYNC_PLATFORM_TYPES.has(e)},context:{location:i},oldFormErrors:!0})},disconnect:function(e,t){r.default.delete({url:a.Endpoints.CONNECTION(e,t),oldFormErrors:!0})},submitPinCode:function(e,t){return r.default.get({url:a.Endpoints.CONNECTIONS_CALLBACK_CONTINUATION(t,e),oldFormErrors:!0}).then((function(e){var n=e.body;return o.default.track(a.AnalyticEvents.ACCOUNT_LINK_STEP,{previous_step:"PIN code entry",current_step:"PIN success",session_id:n.state,platform_type:t}),c(t,l({},n,{from_continuation:!0}),!0)}))},setVisibility:function(e,t,n){return this.update(e,t,{visibility:1===n})},setFriendSync:function(e,t,n){return this.update(e,t,{friend_sync:n})},setShowActivity:function(e,t,n){return this.update(e,t,{show_activity:n})},update:function(e,t,n){return r.default.patch({url:a.Endpoints.CONNECTION(e,t),body:n,oldFormErrors:!0})},joinServer:function(e,t){i.default.dispatch({type:a.ActionTypes.USER_CONNECTIONS_INTEGRATION_JOINING,integrationId:e,joining:!0}),r.default.post({url:a.Endpoints.INTEGRATION_JOIN(e),oldFormErrors:!0},(function(n){i.default.dispatch({type:a.ActionTypes.USER_CONNECTIONS_INTEGRATION_JOINING,integrationId:e,joining:!1}),n.ok||t&&t()}))},refreshAccessToken:function(e,t){return(n=regeneratorRuntime.mark((function n(){var o,s;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,r.default.get({url:a.Endpoints.CONNECTION_ACCESS_TOKEN(e,t),oldFormErrors:!0});case 3:return o=n.sent,s=o.body.access_token,i.default.dispatch({type:a.ActionTypes.USER_CONNECTION_UPDATE,platformType:e,id:t,accessToken:s}),n.abrupt("return",s);case 9:throw n.prev=9,n.t0=n.catch(0),n.t0.body.code===a.AbortCodes.CONNECTION_REVOKED&&i.default.dispatch({type:a.ActionTypes.USER_CONNECTION_UPDATE,platformType:e,id:t,revoked:!0}),n.t0;case 13:case"end":return n.stop()}}),n,null,[[0,9]])})),function(){var e=this,t=arguments;return new Promise((function(r,i){var o=n.apply(e,t);function a(e){u(o,r,i,a,s,"next",e)}function s(e){u(o,r,i,a,s,"throw",e)}a(void 0)}))})();var n}};t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(64)),i=c(n(66)),o=c(n(137)),a=c(n(98)),s=c(n(14)),u=c(n(689)),l=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=l.RPC_STARTING_PORT+l.RPC_PORT_RANGE-1;function p(e,t){if(null==e||null==t)throw new Error("cmd and name required");return e+":"+t}var E=o.default.parse(location.search.slice(1)),h=parseInt(E.rpc||l.RPC_STARTING_PORT,10),m=null,v=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var o,c,E,v=r.prototype;return v.connect=function(){var e=this;if(null==m){if(h>_)return h=l.RPC_STARTING_PORT,void this.emit("disconnected");try{m=new WebSocket("ws://127.0.0.1:"+this.port+"/?v="+l.RPC_VERSION)}catch(e){return void this.disconnect({code:l.RPCCloseCodes.CLOSE_ABNORMAL})}null!=m&&(m.onmessage=function(t){var n;try{if("string"!=typeof t.data)throw new Error("payload data not a string");n=JSON.parse(t.data)}catch(t){return e.emit("error",t),void e.disconnect()}var r=n,i=r.cmd,o=r.evt,a=r.nonce,s=r.data;if(i===l.RPCCommands.DISPATCH)return o===l.RPCEvents.READY?void e.emit("connected"):o===l.RPCEvents.ERROR?(e.emit("error",new u.default(s.code,s.message)),void e.disconnect()):void e.emit(p(i,o),s);var c=null;o===l.RPCEvents.ERROR&&(c=new u.default(s.code,s.message),s=null),e.emit(p(i,a),c,s)},m.onclose=m.onerror=function(t){return e.disconnect(t)})}},v.disconnect=function(e){if(null!=e&&"code"in e&&[l.RPCCloseCodes.CLOSE_ABNORMAL,l.RPCCloseCodes.INVALID_CLIENTID].includes(e.code))return h++,m=null,void this.connect();null!=m&&(this.emit("disconnected"),m.close(),m=null)},v.subscribe=function(e,t,n){return this.on(p(l.RPCCommands.DISPATCH,e),n),this.request(l.RPCCommands.SUBSCRIBE,t,e)},v.unsubscribe=function(e,t,n){return this.removeListener(p(l.RPCCommands.DISPATCH,e),n),this.request(l.RPCCommands.UNSUBSCRIBE,t,e)},v.request=function(e,t,n){var r=this;return new Promise((function(i,o){if(!r.connected)return r.once("connected",(function(){r.removeAllListeners("disconnected"),i(r.request(e,t,n))})),r.once("disconnected",(function(){r.removeAllListeners("connected"),o(new Error("disconnected during request"))})),void r.connect();var s=a.default.v4(),u=JSON.stringify({cmd:e,args:t,evt:n,nonce:s});r.once(p(e,s),(function(e,t){return null!=e?o(e):i(t)})),m&&m.send(u)}))},v.requestOnce=function(e,t,n){return s.default.post({url:"http://127.0.0.1:"+this.port+"/rpc?v="+l.RPC_VERSION,body:{cmd:e,args:t,evt:n,nonce:a.default.v4()}}).then((function(e){var t=e.body,n=t.evt,r=t.data;if(n===l.RPCEvents.ERROR)throw new u.default(r.code,r.message);return r}))},v.requestRedirect=function(e,t,n){if("Chrome"===i.default.name&&parseInt(i.default.version,10)>=58)return this.requestOnce(e,t,n);var r=encodeURIComponent(JSON.stringify({cmd:e,args:t,evt:n,nonce:a.default.v4()})),o=encodeURIComponent(location.protocol+"//"+location.host+location.pathname+"?done=true");return window.open("http://127.0.0.1:"+this.port+"/rpc?v="+l.RPC_VERSION+"&payload="+r+"&callback="+o,"_self"),new Promise((function(){return null}))},o=r,(c=[{key:"port",get:function(){return h}},{key:"connected",get:function(){return null!=m&&m.readyState===WebSocket.OPEN}}])&&d(o.prototype,c),E&&d(o,E),r}(r.default));t.default=v},function(e,t,n){"use strict";n.r(t);var r,i=[],o="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(r||(r={}));var a,s=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Object.freeze(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),u=function(e){return e instanceof SVGElement&&"getBBox"in e},l=function(e){if(u(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e,o=i.offsetWidth,a=i.offsetHeight;return!(o||a||e.getClientRects().length)},c=function(e){var t,n,r=null===(n=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===n?void 0:n.defaultView;return!!(r&&e instanceof r.Element)},d="undefined"!=typeof window?window:{},f=new Map,_=/auto|scroll/,p=/^tb|vertical/,E=/msie|trident/i.test(d.navigator&&d.navigator.userAgent),h=function(e){return parseFloat(e||"0")},m=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),Object.freeze({inlineSize:(n?t:e)||0,blockSize:(n?e:t)||0})},v=Object.freeze({devicePixelContentBoxSize:m(),borderBoxSize:m(),contentBoxSize:m(),contentRect:new s(0,0,0,0)}),T=function(e){if(f.has(e))return f.get(e);if(l(e))return f.set(e,v),v;var t=getComputedStyle(e),n=u(e)&&e.ownerSVGElement&&e.getBBox(),r=!E&&"border-box"===t.boxSizing,i=p.test(t.writingMode||""),o=!n&&_.test(t.overflowY||""),a=!n&&_.test(t.overflowX||""),c=n?0:h(t.paddingTop),d=n?0:h(t.paddingRight),T=n?0:h(t.paddingBottom),g=n?0:h(t.paddingLeft),I=n?0:h(t.borderTopWidth),S=n?0:h(t.borderRightWidth),y=n?0:h(t.borderBottomWidth),A=g+d,O=c+T,N=(n?0:h(t.borderLeftWidth))+S,R=I+y,b=a?e.offsetHeight-R-e.clientHeight:0,L=o?e.offsetWidth-N-e.clientWidth:0,D=r?A+N:0,C=r?O+R:0,M=n?n.width:h(t.width)-D-L,P=n?n.height:h(t.height)-C-b,w=M+A+L+N,U=P+O+b+R,k=Object.freeze({devicePixelContentBoxSize:m(Math.round(M*devicePixelRatio),Math.round(P*devicePixelRatio),i),borderBoxSize:m(w,U,i),contentBoxSize:m(M,P,i),contentRect:new s(g,c,M,P)});return f.set(e,k),k},g=function(e,t){var n=T(e),i=n.borderBoxSize,o=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return a;case r.BORDER_BOX:return i;default:return o}},I=function(e){var t=T(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=[t.borderBoxSize],this.contentBoxSize=[t.contentBoxSize],this.devicePixelContentBoxSize=[t.devicePixelContentBoxSize]},S=function(e){if(l(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},y=function(){var e=1/0,t=[];i.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new I(t.target),i=S(t.target);r.push(n),t.lastReportedSize=g(t.target,t.observedBox),i<e&&(e=i)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},A=function(e){f.clear(),i.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(S(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},O=function(){var e,t=0;for(A(t);i.some((function(e){return e.activeTargets.length>0}));)t=y(),A(t);return i.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:o}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=o),window.dispatchEvent(e)),t>0},N=[],R=function(e){if(!a){var t=0,n=document.createTextNode("");new MutationObserver((function(){return N.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),a=function(){n.textContent=""+(t?t--:t++)}}N.push(e),a()},b=0,L={attributes:!0,characterData:!0,childList:!0,subtree:!0},D=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],C=!1,M=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t,n=this;C||(C=!0,t=function(){var t=!1;try{t=O()}finally{if(C=!1,!b)return;t?n.run(60):e?n.run(e-1):n.start()}},R((function(){requestAnimationFrame(t)})))},e.prototype.schedule=function(){this.stop(),this.run(12)},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,L)};document.body?t():d.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),D.forEach((function(t){return d.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),D.forEach((function(t){return d.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),P=function(e){!b&&e>0&&M.start(),!(b+=e)&&M.stop()},w=function(){function e(e,t){this.target=e,this.observedBox=t||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=g(this.target,this.observedBox);return e=this.target,u(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),U=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},k=new Map,G=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},Y=function(){function e(){}return e.connect=function(e,t){var n=new U(e,t);i.push(n),k.set(e,n)},e.observe=function(e,t,n){if(k.has(e)){var r=k.get(e);G(r.observationTargets,t)<0&&(r.observationTargets.push(new w(t,n&&n.box)),P(1),M.schedule())}},e.unobserve=function(e,t){if(k.has(e)){var n=k.get(e),r=G(n.observationTargets,t);r>=0&&(n.observationTargets.splice(r,1),P(-1))}},e.disconnect=function(e){if(k.has(e)){var t=k.get(e);i.splice(i.indexOf(t),1),k.delete(e),P(-t.observationTargets.length)}},e}(),x=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Y.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!c(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Y.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!c(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Y.unobserve(this,e)},e.prototype.disconnect=function(){Y.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();n.d(t,"ResizeObserver",(function(){return x})),n.d(t,"ResizeObserverEntry",(function(){return I}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AgeGateSource=t.EXISTING_USER_AGE_GATE_MODAL_KEY=t.NEW_USER_AGE_GATE_MODAL_KEY=t.AGE_GATE_REGISTER_TIMEOUT_MS=void 0;t.AGE_GATE_REGISTER_TIMEOUT_MS=72e5;t.NEW_USER_AGE_GATE_MODAL_KEY="new-user-age-gate-modal";var r;t.EXISTING_USER_AGE_GATE_MODAL_KEY="existing-user-age-gate-modal",t.AgeGateSource=r,function(e){e.AUTH="Register Age Gate",e.NSFW_CHANNEL="NSFW Channel",e.NSFW_SERVER="NSFW Server",e.NSFW_SERVER_INVITE="NSFW Server Invite"}(r||(t.AgeGateSource=r={}))},function(e,t,n){!function(){function t(e,t){var n,r,i,o,a,s,u,l;for(n=3&e.length,r=e.length-n,i=t,a=3432918353,s=461845907,l=0;l<r;)u=255&e.charCodeAt(l)|(255&e.charCodeAt(++l))<<8|(255&e.charCodeAt(++l))<<16|(255&e.charCodeAt(++l))<<24,++l,i=27492+(65535&(o=5*(65535&(i=(i^=u=(65535&(u=(u=(65535&u)*a+(((u>>>16)*a&65535)<<16)&4294967295)<<15|u>>>17))*s+(((u>>>16)*s&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+((58964+(o>>>16)&65535)<<16);switch(u=0,n){case 3:u^=(255&e.charCodeAt(l+2))<<16;case 2:u^=(255&e.charCodeAt(l+1))<<8;case 1:i^=u=(65535&(u=(u=(65535&(u^=255&e.charCodeAt(l)))*a+(((u>>>16)*a&65535)<<16)&4294967295)<<15|u>>>17))*s+(((u>>>16)*s&65535)<<16)&4294967295}return i^=e.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^=i>>>16)>>>0}var n=t;n.v2=function(e,t){for(var n,r=e.length,i=t^r,o=0;r>=4;)n=1540483477*(65535&(n=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(n>>>16)&65535)<<16),i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16)^(n=1540483477*(65535&(n^=n>>>24))+((1540483477*(n>>>16)&65535)<<16)),r-=4,++o;switch(r){case 3:i^=(255&e.charCodeAt(o+2))<<16;case 2:i^=(255&e.charCodeAt(o+1))<<8;case 1:i=1540483477*(65535&(i^=255&e.charCodeAt(o)))+((1540483477*(i>>>16)&65535)<<16)}return i=1540483477*(65535&(i^=i>>>13))+((1540483477*(i>>>16)&65535)<<16),(i^=i>>>15)>>>0},n.v3=t,e.exports=n}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.open=function(e){r.default.dispatch({type:a.ActionTypes.RTC_DEBUG_MODAL_OPEN,section:e}),(0,o.pushLayer)(a.Layers.RTC_DEBUG)},t.close=function(){r.default.dispatch({type:a.ActionTypes.RTC_DEBUG_MODAL_CLOSE}),(0,o.popLayer)()},t.openReplay=function(){r.default.dispatch({type:a.ActionTypes.RTC_DEBUG_MODAL_OPEN_REPLAY})},t.setSection=function(e){r.default.dispatch({type:a.ActionTypes.RTC_DEBUG_MODAL_SET_SECTION,section:e})},t.setShouldRecordNextConnection=function(e){r.default.dirtyDispatch({type:a.ActionTypes.RTC_DEBUG_SET_RECORDING_FLAG,value:e})},t.chooseReplayPath=function(){i.default.fileManager.showOpenDialog({filters:[{name:"All Files",extensions:["*"]}]}).then((function(e){var t=e&&0!==e.length?e[0]:"";r.default.dispatch({type:a.ActionTypes.RTC_DEBUG_MODAL_OPEN_REPLAY_AT_PATH,path:t})}))};var r=s(n(2)),i=s(n(118)),o=n(687),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModalProvider=S,t.default=A,t.ModalContext=void 0;var r,i=h(n(0)),o=p(n(469)),a=h(n(415)),s=p(n(165)),u=p(n(761)),l=n(121),c=n(41),d=n(217),f=n(1),_=p(n(5722));function p(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function m(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var T=[s.default,u.default],g=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={transitionState:null},t.componentWillEnter=function(e){t.setState({transitionState:d.ModalTransitionState.ENTERING}),setTimeout((function(){t.setState({transitionState:d.ModalTransitionState.ENTERED}),e()}),d.TRANSITION_DURATION)},t.componentWillLeave=function(e){t.setState({transitionState:d.ModalTransitionState.EXITING}),setTimeout((function(){t.setState({transitionState:d.ModalTransitionState.EXITED}),e()}),d.TRANSITION_DURATION)},t.close=function(){t.props.closeModal(t.props.modalKey)},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n),r.prototype.render=function(){var e=this.props,t=e.render,n=e.LayerComponent,r=e.isTopModal,i=this.state.transitionState;return i!==d.ModalTransitionState.ENTERING&&i!==d.ModalTransitionState.ENTERED||r||(i=d.ModalTransitionState.HIDDEN),m(n,{},void 0,m("div",{className:_.default.layer},void 0,t({transitionState:i,onClose:this.close})))},r}(i.PureComponent);g.displayName="ModalLayer";var I=i.createContext(d.DEFAULT_MODAL_CONTEXT);function S(e){var t=e.children,n=e.contextKey,r=void 0===n?d.DEFAULT_MODAL_CONTEXT:n;return m(I.Provider,{value:r},void 0,t)}t.ModalContext=I,S.displayName="ModalProvider";var y=[];function A(){var e=i.useContext(I),t=(0,c.useModalsStore)((function(t){return void 0!==t[e]?t[e]:y})),n=i.useRef();i.useLayoutEffect((function(){n.current=t[t.length-1]}),[t]);var r=t.length>0;i.useLayoutEffect((function(){if(r){var e=function(){var e=n.current;null!=e&&null!=e.onCloseRequest&&e.onCloseRequest()};return l.ComponentDispatch.subscribe(f.ComponentActions.MODAL_CLOSE,e),function(){l.ComponentDispatch.unsubscribe(f.ComponentActions.MODAL_CLOSE,e)}}}),[r]);var u=i.useCallback((function(){var e=n.current;null!=e&&null!=e.onCloseRequest&&e.onCloseRequest()}),[]),d=i.useCallback((function(t){(0,c.closeModal)(t,e)}),[e]);var _=T.map((function(e){return t.some((function(t){return t.Layer===e||null==t.Layer&&e===s.default}))}));return m(o.default,{component:i.Fragment},void 0,T.map((function(e,t){return m(a.default,{isVisible:_[t],backdropStyle:a.BackdropStyles.DARK,onClose:u,LayerComponent:e},"layer-"+t)})),t.map((function(e,n){var r=e.key,i=e.Layer,o=e.render;return m(g,{modalKey:r,LayerComponent:null!=i?i:s.default,isTopModal:n===t.length-1,render:o,closeModal:d},r)})))}A.displayName="Modals"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(8)),i=f(n(3)),o=f(n(2)),a=n(297),s=n(31),u=f(n(10)),l=f(n(201)),c=n(392),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var h={},m={};function v(e,t){s.ALL_CHANNEL_TYPES.has(e.type)&&T(function(e){var t;e.id in h||(h[e.id]={guildId:e.guild_id,parentId:e.parent_id,count:null!==(t=e.messageCount)&&void 0!==t?t:0,mostRecentMessage:null});return h[e.id]}(e),t)}function T(e,t){var n,r=(null!==(n=m[e.parentId])&&void 0!==n?n:0)+1;m[e.parentId]=r,t(e)}function g(e){var t;null===(t=e.threads)||void 0===t||t.forEach(I)}function I(e){v(e,(function(t){var n;null!=e.messageCount&&(t.count=e.messageCount),null!=e.lastMessageId&&(null===(n=t.mostRecentMessage)||void 0===n?void 0:n.id)!==e.lastMessageId&&(t.mostRecentMessage=null)}))}function S(e){if(null!=e&&!(e.id in h)){var t=u.default.getChannel(e.id);if(null!=t)return I(t),!0}return!1}function y(e){I(e.channel)}var A=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(u.default,l.default)},i.getCount=function(e){var t,n;return null!==(t=null===(n=h[e])||void 0===n?void 0:n.count)&&void 0!==t?t:null},i.getMostRecentMessage=function(e){var t,n;return null!==(t=null===(n=h[e])||void 0===n?void 0:n.mostRecentMessage)&&void 0!==t?t:null},i.getChannelThreadsVersion=function(e){return m[e]},r}(i.default.Store))(o.default,{CONNECTION_OPEN:function(e){m={},e.guilds.forEach(g)},GUILD_CREATE:function(e){g(e.guild)},GUILD_DELETE:function(e){var t,n=e.guild;t=n.id,h=r.default.omitBy(h,(function(e){var n=e.guildId===t;return n&&delete m[e.parentId],n}))},THREAD_CREATE:y,THREAD_UPDATE:y,THREAD_LIST_SYNC:function(e){var t=e.threads,n=e.mostRecentMessages;t.forEach(I),null==n||n.forEach((function(e){var t=u.default.getChannel(e.channel_id);if(null!=t&&e.type!==d.MessageTypes.THREAD_STARTER_MESSAGE){var n=(0,a.createMessageRecord)(e);v(t,(function(e){e.mostRecentMessage=n}))}}))},LOAD_ARCHIVED_THREADS_SUCCESS:function(e){e.threads.forEach(S)},SEARCH_FINISH:function(e){for(var t,n=e.messages,r=e.threads,i=p(n);!(t=i()).done;)for(var o,a=p(t.value);!(o=a()).done;){S(o.value.thread)}r.forEach(S)},THREAD_DELETE:function(e){var t=e.channel;delete h[t.id]},CHANNEL_DELETE:function(e){var t,n=e.channel;t=n.id,h=r.default.omitBy(h,(function(e){return e.parentId===t})),delete m[t]},MESSAGE_CREATE:function(e){var t=e.message,n=e.optimistic,r=e.isPushNotification,i=e.sendMessageOptions;if(n||r||i)return!1;var o=u.default.getChannel(t.channel_id);if(null==o||!s.THREAD_CHANNEL_TYPES.has(o.type))return!1;if(t.type===d.MessageTypes.THREAD_STARTER_MESSAGE)return!1;var f=l.default.getMessage(o.id,t.id)||(0,a.createMessageRecord)(t);v(o,(function(e){e.count=Math.min(e.count+1,c.MAX_THREAD_MESSAGE_COUNT),e.mostRecentMessage=f}))},MESSAGE_UPDATE:function(e){var t=e.message,n=h[t.channel_id];if(null==n||null==n.mostRecentMessage||n.mostRecentMessage.id!==t.id)return!1;T(n,(function(e){var n;e.mostRecentMessage=null!==(n=l.default.getMessage(t.channel_id,t.id))&&void 0!==n?n:null}))},MESSAGE_DELETE:function(e){var t=e.id,n=e.channelId,r=h[n];if(null==r||null==r.mostRecentMessage||r.mostRecentMessage.id!==t)return!1;T(r,(function(e){e.mostRecentMessage=null}))},LOAD_MESSAGES_SUCCESS:function(e){for(var t,n=!1,r=p(e.messages);!(t=r()).done;){n=S(t.value.thread)||n}if(e.isAfter||e.isBefore||e.hasMoreAfter)return n;var i=u.default.getChannel(e.channelId);if(null==i||!s.THREAD_CHANNEL_TYPES.has(i.type))return n;v(i,(function(t){if(0===e.messages.length)t.mostRecentMessage=null,t.count=0;else{var n,r=null!==(n=l.default.getMessage(e.channelId,e.messages[0].id))&&void 0!==n?n:null;t.count=e.messages.length>=c.MAX_THREAD_MESSAGE_COUNT?c.MAX_THREAD_MESSAGE_COUNT:Math.min(e.messages.filter((function(e){return e.type!==d.MessageTypes.THREAD_STARTER_MESSAGE})).length,c.MAX_THREAD_MESSAGE_COUNT),(null==r?void 0:r.type)!==d.MessageTypes.THREAD_STARTER_MESSAGE&&(t.mostRecentMessage=r)}}))}});t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){void 0===n&&(n=!1);void 0===r&&(r=!1);return s(t,e.channel_id,e.mentionEveryone,e.mentions,e.mentionRoles,n,r)},t.isRawMessageMentioned=function(e,t,n,r){void 0===n&&(n=!1);void 0===r&&(r=!1);return s(t,e.channel_id,e.mention_everyone,e.mentions.map((function(e){return e.id})),e.mention_roles,n,r)},t.isMentioned=s;var r=a(n(10)),i=a(n(56)),o=a(n(15));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t,n,a,s,u,l){if(void 0===u&&(u=!1),void 0===l&&(l=!1),n&&!u)return!0;if(a.includes(e))return!0;if(l||null==s||0===s.length)return!1;var c=r.default.getChannel(t);if(null==c)return!1;var d=c.getGuildId();if(null==d)return!1;if(null==o.default.getGuild(d))return!1;var f=i.default.getMember(d,e);return null!=f&&s.some((function(e){return f.roles.includes(e)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.triggerPostStageJoinActions=A,t.openStageChannelSettings=O,t.openStageChannelModeratorJoinSheet=N,t.openEndGuildEventConfirmationModal=function(e,t){(0,u.openModal)((function(t){return r.createElement(E.default,y({},t,{channel:e}))}),{},t===g.AppContext.POPOUT?l.POPOUT_MODAL_CONTEXT:l.DEFAULT_MODAL_CONTEXT)},t.openStageChannelAudienceNoticeModal=function(e){},t.openStageChannel=R,t.showPlatformUserProfile=function(e){},t.openStageBlockedUsersSheet=function(e,t){(0,u.openModal)((function(n){return r.createElement(m.default,y({},n,{channel:e,onAccept:t}))}))},t.openStageSettingsSheet=function(e){},t.openEndStageModal=function(e,t,n){(0,u.openModal)((function(t){return r.createElement(h.default,y({},t,{channel:e,isTicketedEvent:n}))}),{},t===g.AppContext.POPOUT?l.POPOUT_MODAL_CONTEXT:l.DEFAULT_MODAL_CONTEXT)},t.shouldShowBlockedUsers=function(e){var t=s.default.getId(),n=(0,p.getStageBlockedUsersCount)(e);return!d.default.isModerator(t,e)&&n>0},t.openDiscoveryStartStageModal=function(){c.default.track(g.AnalyticEvents.STAGE_DISCOVERY_START_STAGE_CLICKED,{can_start_stage:(0,o.computeGuildsUserCanStartStageIn)().length>0}),(0,u.openModal)((function(e){return r.createElement(a.default,y({},e,{onNavigateToStage:b}))}))},t.navigateToStage=b;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(42),o=n(453),a=I(n(5379)),s=I(n(11)),u=n(41),l=n(217),c=I(n(13)),d=I(n(205)),f=I(n(81)),_=n(1425),p=n(268),E=I(n(5429)),h=I(n(5430)),m=I(n(5431)),v=I(n(5432)),T=I(n(5433)),g=n(1);function I(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function y(){return(y=Object.assign||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}).apply(this,arguments)}function A(e){var t=s.default.getId(),n=d.default.isModerator(t,e.id),r=f.default.isLive(e.id);n&&!r?O(e):n&&r&&N(e)}function O(e,t){(0,u.openModal)((function(n){return r.createElement(T.default,y({},n,{channel:e,appContext:t}))}),{},t===g.AppContext.POPOUT?l.POPOUT_MODAL_CONTEXT:l.DEFAULT_MODAL_CONTEXT)}function N(e){(0,u.openModal)((function(t){return r.createElement(v.default,y({},t,{channel:e}))}))}function R(e){(0,i.transitionTo)(g.Routes.CHANNEL(e.guild_id,e.id))}function b(e,t,n){void 0===n&&(n=!0),t!==e.id&&(0,_.setIsOnStartStageScreen)(!0),R(e),t!==e.id&&n&&A(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(251)),i=l(n(28)),o=l(n(26)),a=l(n(13)),s=n(417),u=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(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}var _="UserFlowAnalyticsStore_current";new o.default("UserFlowAnalytics");function p(e){if(e===s.FlowType.UNKNOWN)return null;var t=i.default.get("UserFlowAnalyticsStore-"+e);if(null==t)return null;var n=t.version,r=f(t,["version"]);return 1!==n?null:r}var E=(0,r.default)((function(e,t){return{flows:{},currentFlow:null,activeFlow:function(){var e,n=null!==(e=t().currentFlow)&&void 0!==e?e:i.default.get(_);if(null==n)return null;var r=t().flows[n],o=null!=r?r:p(n);return null!=(null==o?void 0:o.currentStep)?n:null}}}));function h(e,t){var n,r=E.getState().flows,i=r[e],o=f(r,[e].map(c)),a=null!=i?i:p(e);if(null!=(null==a?void 0:a.currentStep)){if(a.currentStep===t)return;0}E.setState({flows:d({},o,(n={},n[e]={type:e,lastStep:null,lastTimestamp:null,currentStep:t,currentTimestamp:new Date,skipped:!1},n)),currentFlow:e})}function m(e,t,n){var r;void 0===n&&(n=!1);var i,o=e;e===s.FlowType.ANY&&(o=null!==(i=E.getState().activeFlow())&&void 0!==i?i:s.FlowType.UNKNOWN);var a=E.getState().flows,u=a[o],l=f(a,[o].map(c)),_=null!=u?u:p(o);null!=_&&null!=_.currentStep&&_.currentStep!==t&&E.setState({flows:d({},l,(r={},r[o]=d({},_,{lastStep:_.currentStep,lastTimestamp:_.currentTimestamp,currentStep:t,currentTimestamp:new Date,ended:n}),r)),currentFlow:o})}function v(){return null!=E.getState().activeFlow()}E.subscribe((function(e){var t;if(null!=e&&(function(e){if(e.type!==s.FlowType.UNKNOWN){var t="UserFlowAnalyticsStore-"+e.type;e.ended?(i.default.remove(t),i.default.remove(_)):(i.default.set("UserFlowAnalyticsStore-"+e.type,d({},e,{version:1})),i.default.set(_,e.type))}}(e),a.default.track(u.AnalyticEvents.NUO_TRANSITION,{flow_type:e.type,from_step:e.lastStep,to_step:e.currentStep,seconds_on_from_step:"function"!=typeof(null===(t=e.lastTimestamp)||void 0===t?void 0:t.getTime)?0:(e.currentTimestamp.getTime()-e.lastTimestamp.getTime())/1e3}),e.ended)){var n=d({},E.getState().flows);delete n[e.type],E.setState({flows:n,currentFlow:null})}}),(function(e){return null!=e.currentFlow?e.flows[e.currentFlow]:void 0}));var T={flowStart:h,flowStepOrStart:function(e,t){v()?m(e,t):h(e,t)},flowStep:m,hasActiveFlow:v};t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?24:t,r=e.height,i=void 0===r?24:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 24 24"}),l("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",className:d,fill:c}))}c.displayName="RadioEmpty"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?24:t,r=e.height,i=void 0===r?24:r,s=e.color,c=void 0===s?"currentColor":s,d=e.background,f=e.foreground,_=function(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}(e,["width","height","color","background","foreground"]);return o.createElement("svg",u({},(0,a.default)(_),{width:n,height:i,viewBox:"0 0 24 24"}),l("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",className:d,fill:c}),l("circle",{cx:"12",cy:"12",r:"5",className:f,fill:c}))}c.displayName="RadioSelected"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchBranches=function(e){return _.apply(this,arguments)},t.fetchBranchesForApplication=function(e){return p.apply(this,arguments)};var r=c(n(8)),i=c(n(14)),o=c(n(2)),a=c(n(1689)),s=c(n(120)),u=n(263),l=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){d(o,r,i,a,s,"next",e)}function s(e){d(o,r,i,a,s,"throw",e)}a(void 0)}))}}function _(){return(_=f(regeneratorRuntime.mark((function e(t){var n,c,d,_;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===t&&(t=s.default.entitledBranchIds),(0,u.isSupportedPlatform)()&&0!==t.length){e.next=3;break}return e.abrupt("return",[]);case 3:return n=r.default.chunk(t,50),e.prev=4,c=n.map(function(){var e=f(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.default.post({url:l.Endpoints.APPLICATION_BRANCHES,body:{branch_ids:t},oldFormErrors:!0});case 2:return n=e.sent,e.abrupt("return",n.body.map(a.default.createFromServer));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=8,Promise.all(c);case 8:return d=e.sent,_=r.default.flatten(d),o.default.dispatch({type:l.ActionTypes.APPLICATION_BRANCHES_FETCH_SUCCESS,branches:_}),e.abrupt("return",_);case 14:return e.prev=14,e.t0=e.catch(4),o.default.dispatch({type:l.ActionTypes.APPLICATION_BRANCHES_FETCH_FAIL,branchIds:t}),e.abrupt("return",[]);case 18:case"end":return e.stop()}}),e,null,[[4,14]])})))).apply(this,arguments)}function p(){return(p=f(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,i.default.get({url:l.Endpoints.OWNED_APPLICATION_BRANCHES(t),oldFormErrors:!0});case 3:return n=e.sent,r=Array.isArray(n.body)?n.body.map(a.default.createFromServer):[],o.default.dispatch({type:l.ActionTypes.OWNED_APPLICATION_BRANCHES_FETCH_SUCCESS,applicationId:t,branches:r}),e.abrupt("return",r);case 9:return e.prev=9,e.t0=e.catch(0),o.default.dispatch({type:l.ActionTypes.OWNED_APPLICATION_BRANCHES_FETCH_FAIL,applicationId:t}),e.abrupt("return",[]);case 13:case"end":return e.stop()}}),e,null,[[0,9]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null!=e&&(e.application_id===r.XBOX_ACTIVITY_APPLICATION_ID||e.platform===i.ActivityGamePlatforms.XBOX)};var r=n(156),i=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ContextMenuClassName=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(67),a=n(95),s=h(n(3)),u=n(389),l=h(n(416)),c=h(n(719)),d=h(n(39)),f=n(250),_=n(165),p=n(121),E=n(1);function h(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function v(){return(v=Object.assign||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}).apply(this,arguments)}function T(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(){p.ComponentDispatch.dispatch(E.ComponentActions.POPOUT_SHOW)}function S(){p.ComponentDispatch.dispatch(E.ComponentActions.POPOUT_HIDE)}t.ContextMenuClassName="context-menu";var y=function(e){var t=e.children,n=e.close,r=e.onUnmount,s=e.rect,u=e.position,c=e.align,d=e.impressionName,p=e.impressionMetadata,E=i.useRef(null);i.useEffect((function(){var e,t,r=(0,o.findDOMNode)(E.current);if(null!=r){var i=function(e){var t=e.target,r=(0,o.findDOMNode)(E.current);null!=r&&(0,f.referencePortalAwareContains)(r,t)||(window.getSelection().removeAllRanges(),n())};return null===(e=r.ownerDocument)||void 0===e||e.addEventListener("click",i,!0),null===(t=r.ownerDocument)||void 0===t||t.addEventListener("contextmenu",i,!0),function(){var e,t;null===(e=r.ownerDocument)||void 0===e||e.removeEventListener("click",i,!0),null===(t=r.ownerDocument)||void 0===t||t.removeEventListener("contextmenu",i,!0)}}}),[n]);var h=i.useRef(r);return i.useEffect((function(){h.current=r})),i.useEffect((function(){return function(){var e;return null===(e=h.current)||void 0===e?void 0:e.call(h)}}),[]),(0,l.default)({type:a.ImpressionTypes.MENU,name:d,metadata:p}),i.createElement(_.AppReferencePositionLayer,{onMount:I,onUnmount:S,reference:function(){return s},position:u||f.Positions.RIGHT,align:c||f.Align.TOP,autoInvert:!0,ref:E,nudgeAlignIntoViewport:!0},t)};y.displayName="ContextMenu";var A=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).close=function(){var e=t.props,n=e.isOpen,r=e.closeContextMenu;n&&r()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,g(t,n);var i=r.prototype;return i.componentDidMount=function(){window.addEventListener("resize",this.close,!0),p.ComponentDispatch.subscribe(E.ComponentActions.CONTEXT_MENU_CLOSE,this.props.closeContextMenu)},i.componentDidUpdate=function(e){var t,n;!this.props.isOpen&&e.isOpen&&(null===(t=e.config)||void 0===t||null===(n=t.onClose)||void 0===n||n.call(t))},i.componentWillUnmount=function(){window.removeEventListener("resize",this.close,!0),p.ComponentDispatch.unsubscribe(E.ComponentActions.CONTEXT_MENU_CLOSE,this.props.closeContextMenu)},i.render=function(){var e=this.props,t=e.render,n=e.context,r=e.target,i=e.isOpen,o=e.theme,a=e.config,s=e.rect;return i&&null!=s&&null!=a&&null!=r&&null!=t&&a.context===n?T(y,{rect:s,close:this.close,onUnmount:a.onClose,align:a.align,position:a.position,impressionName:a.impressionName,impressionMetadata:a.impressionMetadata},void 0,(function(e,i){var s=e.position;return t({className:"context-menu",position:s,theme:o,onHeightUpdate:i,config:a,target:r,context:n})})):null},r}(i.PureComponent);A.displayName="ContextMenus";var O=s.default.connectStores([c.default,d.default],(function(){return v({},c.default.getContextMenu(),{isOpen:c.default.isOpen(),theme:d.default.theme,closeContextMenu:u.closeContextMenu})}))(A);t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o=l(n(8)),a=l(n(12)),s=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(5396));function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e){return e&&e.__esModule?e:{default:e}}function c(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 d(){return(d=Object.assign||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}).apply(this,arguments)}var f=function(){throw new Error("updateModal has not been implemented.")},_=n(5397);r=_.showModal,f=_.updateModalProps,i=n(41).closeModal;function p(){return a.default.getCurrentUser().mfaEnabled}function E(e){var t=e.promiseFn,n=e.resolve,o=e.reject,a=e.confirmModalProps,s=e.hooks.onEarlyClose;if(null!=r)var u=r(p,l,a);else s();function l(){s&&s()}function c(e){i(u),n(e)}function _(e){i(u),o(e)}function p(e){return f(u,p,l,d({},a,{isLoading:!0})),h({promiseFn:t,resolve:c,reject:_,code:e,mfaCodeHandler:E,isModalOpen:!0})}function E(e){var t=e.res;f(u,p,l,d({},a,{error:t.body.message}))}}function h(e){var t=e.promiseFn,n=e.resolve,r=e.reject,i=e.code,o=e.mfaCodeHandler,a=void 0===o?E:o,s=e.isModalOpen,u=void 0!==s&&s,l=c(e,["promiseFn","resolve","reject","code","mfaCodeHandler","isModalOpen"]);return t(i?{code:i}:{}).then(n,(function(e){if(function(e,t){return e.body&&60008===e.body.code||t&&429===e.status}(e,u))return a(d({promiseFn:t,resolve:n,reject:r,res:e},l));r(e)}))}var m=o.default.curry((function(e,t,n){void 0===n&&(n={});var r=n,i=r.checkEnabled,o=void 0===i?p:i;return function(e,t){var n=e.hooks,r=void 0===n?{}:n,i=c(e,["hooks"]);return(0,s.default)((function(e){return new Promise((function(n,o){((0,s.resolveThunk)(t)?E:h)(d({promiseFn:e,resolve:n,reject:o,hooks:r},i))}))}),!0)}(d({confirmModalProps:e},c(r,["checkEnabled"])),o)(t)}),2);t.default=m},function(e,t,n){var r=n(737),i=n(408);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DISCORD_EPOCH=void 0;var r,i=(r=n(433))&&r.__esModule?r:{default:r};t.DISCORD_EPOCH=14200704e5;function o(e){return null==e?0:(0,i.default)(e).shiftRight(22).toJSNumber()+14200704e5}function a(e){var t=e-14200704e5;return t<=0?"0":(0,i.default)(t).shiftLeft(22).toString()}var s={extractTimestamp:o,fromTimestamp:a,atPreviousMillisecond:function(e){return a(o(e)-1)},compare:function(e,t){return e===t?0:null==t?1:null==e?-1:e.length>t.length?1:e.length<t.length?-1:e>t?1:-1}};t.default=s},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=D(n(64)),i=D(n(142)),o=D(n(98)),a=D(n(138)),s=D(n(14)),u=n(34),l=D(n(1600)),c=D(n(2)),d=L(n(744)),f=D(n(1601)),_=D(n(26)),p=D(n(10)),E=D(n(51)),h=D(n(1292)),m=D(n(386)),v=D(n(13)),T=D(n(214)),g=D(n(16)),I=D(n(118)),S=D(n(1745)),y=L(n(1746)),A=D(n(1748)),O=D(n(1749)),N=D(n(1750)),R=n(1);function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function L(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function D(e){return e&&e.__esModule?e:{default:e}}function C(){return(C=Object.assign||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}).apply(this,arguments)}function M(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function P(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var U=/^https/.test(e.env.API_PROTOCOL||location.protocol)?"wss:":"ws:";function k(){return s.default.get({url:R.Endpoints.ICE,oldFormErrors:!0}).then((function(e){return e.body}))}var G=function(e){var t,n;function r(t,n,r,i,s,l,c){var f;return void 0===s&&(s=u.MediaEngineContextTypes.DEFAULT),(f=e.call(this)||this).reconnect=function(){var e=f._socket;null!=e&&(f._connected&&(f._connectStartTime=Date.now()),f._connectCount++,e.close(),e.connect())},f._handleNetworkOnline=function(){f.expeditedHeartbeat(5e3,"network detected online.")},f._handleNetworkOffline=function(){f.expeditedHeartbeat(15e3,"network detected offline.",!1)},f._handlePowerResume=function(){f.expeditedHeartbeat(5e3,"power monitor resumed")},f.context=s,f.userId=t,f.sessionId=n,f.guildId=r,f._channelId=i,f.channelIds=new Set([i]),f.rtcServerId=l,f.parentMediaSessionId=c,f._endpoint=null,f.hostname=null,f.port=null,f.token=null,f.state=R.RTCConnectionStates.AWAITING_ENDPOINT,f._socket=null,f._backoff=new a.default(1e3,1e4),f._destroyed=!1,f._pings=[],f._pingBadCount=0,f._pingTimeouts=[],f._mediaSessionId=null,f._voiceQuality=null,f._videoQuality=null,f._sentVideo=!1,f._outboundLossRate=null,f._createdTime=Date.now(),f._connectStartTime=0,f._connectCompletedTime=0,f._rtcConnectionId=o.default.v4(),f._connectCount=0,f._connected=!1,f._inputDetected=!1,f._iceServers=[],f._selectedExperiments=[],s===u.MediaEngineContextTypes.DEFAULT&&(f._localMediaSinkWantsManager=new y.default(t),f._localMediaSinkWantsManager.on("update",(function(e){var t;f.state===R.RTCConnectionStates.RTC_CONNECTED&&null!=f._socket&&(f.logger.info("Media sink wants: "+JSON.stringify(e)),f._socket.mediaSinkWants(e),null===(t=f._connection)||void 0===t||t.setLocalVideoSinkWants(e))})),f._localMediaSinkWantsManager.on("user-ssrc-update",(function(e,t,n){var r;null===(r=f._connection)||void 0===r||r.createUser(e,t,n)}))),f._remoteVideoSinkWants=y.DEFAULT_WANTS_FULL,h.default.shouldRecordNextConnection()?(f._recordingEnabled=!0,d.setShouldRecordNextConnection(!1)):f._recordingEnabled=!1,f._soundshareStats=new A.default,T.default.addOnlineCallback(f._handleNetworkOnline),T.default.addOfflineCallback(f._handleNetworkOffline),g.default.isDesktop()&&I.default.remotePowerMonitor.on("resume",f._handlePowerResume),f.logger=new _.default("RTCConnection("+(l||r||i)+")"),f}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,w(t,n);var s,b,L,D=r.prototype;return D.connect=function(){var e,t=(e=regeneratorRuntime.mark((function e(t,n){var r,i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._destroyed){e.next=2;break}throw new Error("RTCConnection.connect(...): Attempting to connect on destroyed instance.");case 2:if(this._backoff.cancel(),r=this.endpoint,i=this.token,this.endpoint=t,this.token=n,r===this.endpoint&&i===n||this._cleanupSocket(),null!=this.endpoint){e.next=10;break}return this.setState(R.RTCConnectionStates.AWAITING_ENDPOINT),e.abrupt("return");case 10:if(null!=(o=this._socket)&&this._cleanupSocket(),(o=this._socket=new S.default(this.endpoint)).on("connecting",this._handleConnecting.bind(this,o)),o.on("connect",this._handleConnect.bind(this,o)),o.on("disconnect",this._handleDisconnect.bind(this,o)),o.on("resuming",this._handleResuming.bind(this,o)),o.on("ready",this._handleReady.bind(this,o)),o.on("speaking",this._handleSpeaking.bind(this,o)),o.on("video",this._handleVideo.bind(this,o)),o.on("ping",this._handleControlPing.bind(this)),o.on("client-disconnect",this._handleClientDisconnect.bind(this)),o.on("codecs",this._handleCodecs.bind(this)),o.on("media-session-id",this._handleMediaSessionId.bind(this)),o.on("media-sink-wants",this._handleMediaSinkWants.bind(this)),this._connectStartTime=Date.now(),this._connectCount++,!E.default.supports(u.Features.ICE)){e.next=37;break}return e.prev=28,e.next=31,(0,l.default)(k);case 31:this._iceServers=e.sent,e.next=37;break;case 34:e.prev=34,e.t0=e.catch(28),this.logger.warn("Failed to retrieve ICE servers: "+e.t0);case 37:null!=o&&this._socket===o&&o.connect();case 38:case"end":return e.stop()}}),e,this,[[28,34]])})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){M(o,r,i,a,s,"next",e)}function s(e){M(o,r,i,a,s,"throw",e)}a(void 0)}))});return function(e,n){return t.apply(this,arguments)}}(),D.destroy=function(){var e;if(this.logger.info("Destroy RTCConnection"),T.default.removeOnlineCallback(this._handleNetworkOnline),T.default.removeOfflineCallback(this._handleNetworkOffline),g.default.isDesktop()&&I.default.remotePowerMonitor.removeListener("resume",this._handlePowerResume),this._backoff.cancel(),this._cleanupSocket(),null!=this._voiceQuality&&(this._voiceQuality.stop(),this._voiceQuality=null),null!=this._videoQuality&&(this._videoQuality.stop(),this._videoQuality=null),null===(e=this._localMediaSinkWantsManager)||void 0===e||e.reset(),null!=this._connection){var t=this._connection;this._connection=null,t.destroy()}this.removeAllListeners(),this._destroyed=!0},D.sendSpeaking=function(e,t){var n=this._socket;if(null!=n){var r=E.default.getPacketDelay();n.speaking(e,r,t)}},D.sendVideo=function(e,t,n,r){var i=this._socket;null!=i&&(0!==t&&(this._sentVideo=!0),i.video(e,t,n,r))},D.getPings=function(){return this._pings},D.getAveragePing=function(){var e=this._pings;return 0===e.length||null==this._socket?0:e.reduce((function(e,t){return e+t}),0)/e.length},D.getLastPing=function(){return this._pings[this._pings.length-1]},D.getOutboundLossRate=function(){return this._outboundLossRate},D.getMediaSessionId=function(){return this._mediaSessionId},D.getRTCConnectionId=function(){return this._rtcConnectionId},D.getDuration=function(){var e=this._connectCompletedTime>0?Date.now()-this._connectCompletedTime:0;return e>0?e:0},D.getPacketStats=function(){return this._voiceQuality&&this._voiceQuality.getPacketStats()},D.setState=function(e,t){void 0===t&&(t={}),this.logger.info("RTC connection state: "+e),this.state=e,this.emit("state",e,this.hostname,t)},D.expeditedHeartbeat=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=!0);var r=this._socket;null!=r&&r.expeditedHeartbeat(e,t,n)&&this._backoff.cancel()},D.resetBackoff=function(e){void 0===e&&(e="");var t=this._socket;null!=t&&t.resetBackoff(e)&&this._backoff.cancel()},D.setSelectedParticipant=function(e){var t;null===(t=this._localMediaSinkWantsManager)||void 0===t||t.setSelectedParticipant(e)},D._cleanupSocket=function(){var e=this._socket;null!=e&&(e.close(),e.removeAllListeners(),this._socket=null)},D._chooseExperiments=function(e){this._selectedExperiments.length=0,this._recordingEnabled&&this._selectedExperiments.push("connection_log")},D._handleConnecting=function(e){null!=this.endpoint&&this.logger.info("Connecting to RTC server "+this.endpoint+" with context: "+this.context+", rtc-connection-id: "+this.getRTCConnectionId()),this.setState(R.RTCConnectionStates.CONNECTING)},D._handleConnect=function(e){var t=this.token;if(null==t)throw new Error("RTCConnection._handleConnect(...): Token is missing.");this.logger.info("Connected to RTC server.");var n=E.default.supports(u.Features.VIDEO)?[{rid:"100",type:this.context===u.MediaEngineContextTypes.DEFAULT?u.MediaTypes.VIDEO:u.MediaTypes.SCREEN,quality:100}]:[];E.default.isSimulcastSupported()&&this.context===u.MediaEngineContextTypes.DEFAULT&&n.push({rid:"50",type:u.MediaTypes.VIDEO,quality:50}),e.identify(this.rtcServerId||this.guildId||this.channelId,this.userId,this.sessionId,t,E.default.supports(u.Features.VIDEO),n),this.setState(R.RTCConnectionStates.AUTHENTICATING)},D._handleDisconnect=function(e,t,n,r){var i,o=this;this.logger.info("Disconnected from RTC server, clean: "+t+", code: "+n+", reason: "+r+", state: "+this.state);var a="Force Close"!==r;if(a){var s=this._backoff.fail(this.reconnect);this.logger.warn("Disconnect was not clean! reason="+r+". Reconnecting in "+(s/1e3).toFixed(2)+" seconds.")}if(this.state!==R.RTCConnectionStates.DISCONNECTED){var l=p.default.getChannel(this.channelId),c=null!=l?l.type:null,d=this._videoQuality;if(null!=d&&this.context===u.MediaEngineContextTypes.DEFAULT){if(d.stop(),this._sentVideo)d.getOutboundStats().forEach((function(e){v.default.track(R.AnalyticEvents.VIDEO_STREAM_ENDED,C({},o._getAnalyticsProperties(),{media_session_id:o.getMediaSessionId(),sender_user_id:o.userId,reason:r,participant_type:"sender",guild_region:m.default.getRegion(o.hostname)},e,{},d.getNetworkStats(),{},o._soundshareStats.getStats()))}));d.getInboundParticipants().forEach((function(e){v.default.track(R.AnalyticEvents.VIDEO_STREAM_ENDED,C({},o._getAnalyticsProperties(),{media_session_id:o.getMediaSessionId(),sender_user_id:e,reason:r,participant_type:"receiver",guild_region:m.default.getRegion(o.hostname)},d.getInboundStats(e),{},d.getNetworkStats()))}))}var f=m.default.shouldIncludePreferredRegion(this.guildId)?m.default.getPreferredRegion():null,_=E.default.getSettings();v.default.track(R.AnalyticEvents.VOICE_DISCONNECT,C({},this._getAnalyticsProperties(),{hostname:this.hostname,port:this.port,protocol:this.protocol,reconnect:a,reason:r,duration:this.getDuration()},null!=this._voiceQuality?this._voiceQuality.getMosStats():null,{},null!=this._voiceQuality?this._voiceQuality.getPacketStats():null,{},null!=this._voiceQuality?this._voiceQuality.getBufferStats():null,{},null!=this._voiceQuality?this._voiceQuality.getNetworkStats():null,{},null!=this._voiceQuality?this._voiceQuality.getFrameOpStats():null,{},null!=this._voiceQuality?this._voiceQuality.getDurationStats():null,{},null!=this._voiceQuality?this._voiceQuality.getTransportStats():null,{media_session_id:this.getMediaSessionId(),channel_type:c,channel_bitrate:null!=l?l.bitrate:null,cloudflare_best_region:f,connect_count:this._connectCount,ping_average:Math.round(this.getAveragePing()),ping_bad_count:this._pingBadCount,ping_timeout:this._pingTimeouts.length,input_detected:this._inputDetected,no_input_detected_notice:E.default.getNoInputDetectedNotice(),audio_input_mode:_.mode,automatic_audio_input_sensitivity_enabled:_.modeOptions.autoThreshold,audio_input_sensitivity:_.modeOptions.threshold,echo_cancellation_enabled:_.echoCancellation,noise_suppression_enabled:_.noiseSuppression,noise_cancellation_enabled:_.noiseCancellation,automatic_gain_control_enabled:_.automaticGainControl,voice_output_volume:_.outputVolume,encryption_mode:this._encryptionMode,channel_count:this.channelIds.size}))}if(this._pingTimeouts=[],this._pings=[],this._connectCompletedTime=0,this._pingBadCount=0,this._inputDetected=!1,this._mediaSessionId=void 0,null!=this._voiceQuality&&(this._voiceQuality.stop(),this._voiceQuality=null),null!=this._videoQuality&&(this._videoQuality.stop(),this._videoQuality=null),null===(i=this._localMediaSinkWantsManager)||void 0===i||i.reset(),null!=this._connection){var h=this._connection;this._connection=null,h.destroy()}this.setState(R.RTCConnectionStates.DISCONNECTED,{willReconnect:a})},D._handleResuming=function(e){this._connection&&this._connection.clearAllSpeaking()},D._handleReady=function(e,t,n,r,i,o,a){var s=this;this.setState(R.RTCConnectionStates.RTC_CONNECTING),this.port=n,a&&this._chooseExperiments(a),0===o.length&&o.push({type:u.MediaTypes.VIDEO,rid:"100",ssrc:i+1,rtxSsrc:i+2,quality:100,active:!1});var l=E.default.getMediaEngine(),c=l.connect(this.context,this.userId,C({ssrc:i,address:t,port:n,modes:r,iceServers:E.default.supports(u.Features.ICE)?this._iceServers:[],experiments:this._selectedExperiments,streamParameters:o},this._getExtraConnectionOptions()));if(l.supports(u.Features.ELECTRON_VIDEO)){f.default.trackExposure({});var d=f.default.getCurrentConfig({});c.setUseElectronVideo(d.useElectronVideo)}c.on("speaking",(function(e,t,n){s.userId===e&&s.sendSpeaking(t,n||0),s.emit("speaking",e,t)})),c.on("video",(function(e,t,n,r,i,o){s.userId===e&&s.sendVideo(n||0,r||0,i||0,o)})),c.on("silence",(function(e){s._inputDetected=s._inputDetected||!e})),c.on("connected",(function(r,i){if(e===s._socket){switch(s.logger.info("RTC connected to media server: "+t+":"+n),s._voiceQuality=new N.default(s),s._voiceQuality.start(),s.protocol=r,r){case"udp":s.logger.info("Sending UDP info to RTC server.",i,s._selectedExperiments),e.once("encryption",(function(e,t){c===s._connection&&(c.setEncryption(e,t),s._encryptionMode=e)})),e.selectProtocol(r,s.getRTCConnectionId(),i,s._selectedExperiments);break;case"webrtc":s.logger.info("Sending local SDP to RTC server."),e.once("sdp",s._handleSDP.bind(s)),e.selectProtocol(r,s.getRTCConnectionId(),i);break;default:return void s.logger.error("Unable to determine protocol.")}s._backoff.succeed()}})),c.on("error",(function(t){if(e===s._socket){var n=m.default.shouldIncludePreferredRegion(s.guildId)?m.default.getPreferredRegion():null;s.logger.error("Error occurred while connecting to RTC server: "+t),v.default.track(R.AnalyticEvents.VOICE_CONNECTION_FAILURE,C({},s._getAnalyticsProperties(),{hostname:s.hostname,port:s.port,protocol:s.protocol,error:t,cloudflare_best_region:n,connect_count:s._connectCount}))}})),c.on("connectionstatechange",(function(t){if(s.logger.info("RTC media connection state: "+t),e===s._socket){var n=s.state;switch(t){case u.ConnectionStates.DISCONNECTED:s.setState(R.RTCConnectionStates.RTC_DISCONNECTED);break;case u.ConnectionStates.CONNECTING:s.setState(R.RTCConnectionStates.RTC_CONNECTING);break;case u.ConnectionStates.CONNECTED:s.setState(R.RTCConnectionStates.RTC_CONNECTED);break;case u.ConnectionStates.NO_ROUTE:s.setState(R.RTCConnectionStates.NO_ROUTE);break;case u.ConnectionStates.ICE_CHECKING:s.setState(R.RTCConnectionStates.ICE_CHECKING)}if(n===R.RTCConnectionStates.RTC_CONNECTING&&s.state===R.RTCConnectionStates.RTC_DISCONNECTED?s.reconnect():s.state===R.RTCConnectionStates.NO_ROUTE&&s._backoff.fail(s.reconnect),s.state===R.RTCConnectionStates.RTC_CONNECTED){var r,i=m.default.shouldIncludePreferredRegion(s.guildId)?m.default.getPreferredRegion():null;v.default.track(R.AnalyticEvents.VOICE_CONNECTION_SUCCESS,C({},s._getAnalyticsProperties(),{hostname:s.hostname,port:s.port,protocol:s.protocol,cloudflare_best_region:i,connect_time:Date.now()-(s._connected?s._connectStartTime:s._createdTime),connect_count:s._connectCount,audio_subsystem:E.default.getMediaEngine().getAudioSubsystem(),audio_layer:E.default.getMediaEngine().getAudioLayer(),media_session_id:s.getMediaSessionId()})),null===(r=s._localMediaSinkWantsManager)||void 0===r||r.setConnection(c),s._connectCompletedTime=Date.now(),s._connected=!0}}})),c.on("ping",this._handlePing.bind(this)),c.on("pingtimeout",this._handlePingTimeout.bind(this)),c.on("outboundlossrate",this._handleOutboundLossRate.bind(this)),c.on("video",this._handleVideoStreamId.bind(this)),c.on("soundsharetrace",this._handleSoundshareTrace.bind(this)),c.on("local-video-disabled",this._handleLocalVideoDisabled.bind(this)),c.setRemoteVideoSinkWants(this._remoteVideoSinkWants),this._connection=c},D._handleSpeaking=function(e,t,n,r){var i,o=this._connection;null!=o&&this.userId!==t&&(r&&o.createUser(t,n),null===(i=this._localMediaSinkWantsManager)||void 0===i||i.setAudioSSRC(t,n),o.setSpeakingFlags(t,r))},D._handleVideoStreamId=function(e,t,n,r,i,o){var a,s=this;(this.emit("video",this.guildId,this.channelId,e,t,this.rtcServerId),null!=this._connection&&null==this._videoQuality&&null!=t&&(this._videoQuality=new O.default(this._connection),this._videoQuality.start()),null!=this._videoQuality&&this.userId===e&&o.forEach((function(e){var t,n,r=null!==(t=e.ssrc)&&void 0!==t?t:0;r>0&&(null===(n=s._videoQuality)||void 0===n||n.setOutboundSsrc(r))})),null!=this._videoQuality&&this.userId!==e&&this._videoQuality.setInboundUser(e),null!=this._connection&&this.userId!==e)&&(null===(a=this._localMediaSinkWantsManager)||void 0===a||a.setStreamId(e,t))},D._handleLocalVideoDisabled=function(e,t){var n;this.userId===e||t||(null===(n=this._videoQuality)||void 0===n||n.setInboundUser(e))},D._handleVideo=function(e,t,n,r,i){var o=this,a=this._connection;if(null!=a&&this.userId!==t){if(null!=this._localMediaSinkWantsManager){this._localMediaSinkWantsManager.setAudioSSRC(t,n);var s=i.map((function(e){return{type:u.MediaTypes.VIDEO,rid:e.rid,ssrc:e.ssrc,rtxSsrc:e.rtxSsrc,quality:e.quality,active:r>0}}));0===s.length&&s.push({type:u.MediaTypes.VIDEO,rid:"100",ssrc:r,rtxSsrc:r+1,quality:100,active:r>0}),this._localMediaSinkWantsManager.setVideoSSRCs(t,s)}else a.createUser(t,n,r);null==i||i.forEach((function(e){100===e.quality&&o.emit("video-source-quality-changed",o.guildId,o.channelId,t,e.maxResolution,e.maxFrameRate,o.context)}))}},D._handleControlPing=function(e){E.default.supports(u.Features.NATIVE_PING)||this._handlePing(e)},D._handlePing=function(e){for(this._pings.push(e);this._pings.length>=20;)this._pings.shift();e>500&&this._pingBadCount++,this.emit("ping",this._pings,this.quality)},D._handlePingTimeout=function(e,t){this._pingTimeouts.push(e);var n=this._pingTimeouts.length;n>=3&&this._pingTimeouts[n-1]===this._pingTimeouts[n-2]+1&&this._pingTimeouts[n-2]===this._pingTimeouts[n-3]+1&&this._handlePing(t)},D._handleOutboundLossRate=function(e){this._outboundLossRate=e,this.emit("outboundlossrate",e)},D._handleSoundshareTrace=function(e,t){this._soundshareStats.traceEvent(t,e)},D._getAnalyticsProperties=function(){return{guild_id:this.guildId,channel_id:this.channelId,rtc_connection_id:this.getRTCConnectionId(),context:this.context}},D._handleClientDisconnect=function(e){var t,n=this._videoQuality;if(null!=n&&this.context===u.MediaEngineContextTypes.DEFAULT){var r=n.getInboundStats(e);null!=r&&(v.default.track(R.AnalyticEvents.VIDEO_STREAM_ENDED,C({},this._getAnalyticsProperties(),{media_session_id:this.getMediaSessionId(),sender_user_id:e,reason:"User disconnected",participant_type:"receiver",guild_region:m.default.getRegion(this.hostname)},r,{},n.getNetworkStats())),n.destroyUser(e))}var i=this._connection;null!=i&&i.destroyUser(e),null===(t=this._localMediaSinkWantsManager)||void 0===t||t.destroyUser(e)},D._handleCodecs=function(e,t){var n=this._connection;null!=n&&null!=this.protocol?n.setCodecs(e||u.Codecs.OPUS,t||u.Codecs.H264,this.context):this.logger.warn("Cannot set codecs on connection with protocol:",this.protocol)},D._handleSDP=function(e){var t=this._connection;null!=t&&null!=this.protocol?t.setSDP(e):this.logger.warn("Cannot set SDP on connection with protocol:",this.protocol)},D._handleMediaSessionId=function(e){var t;this._mediaSessionId=e,this.logger.info("Setting media-session-id: "+e+" for rtc-connection-id: "+this.getRTCConnectionId()),v.default.track(R.AnalyticEvents.MEDIA_SESSION_JOINED,C({},this._getAnalyticsProperties(),{media_session_id:this.getMediaSessionId(),parent_media_session_id:this.parentMediaSessionId,channel_type:null===(t=p.default.getChannel(this.channelId))||void 0===t?void 0:t.type})),c.default.dispatch({type:R.ActionTypes.MEDIA_SESSION_JOINED,mediaSessionId:this.getMediaSessionId()})},D._handleMediaSinkWants=function(e){var t=this._connection;this.logger.info("Remote media sink wants: "+JSON.stringify(e)),this._remoteVideoSinkWants=e,null==t||t.setRemoteVideoSinkWants(e)},D._getExtraConnectionOptions=function(){return{}},s=r,(b=[{key:"quality",get:function(){var e=this.getLastPing();return this.state!==R.RTCConnectionStates.RTC_CONNECTED||void 0===e?R.RTCConnectionQuality.UNKNOWN:e>500||null!=this._outboundLossRate&&this._outboundLossRate>10?R.RTCConnectionQuality.BAD:e>250||null!=this._outboundLossRate&&this._outboundLossRate>5?R.RTCConnectionQuality.AVERAGE:R.RTCConnectionQuality.FINE}},{key:"endpoint",get:function(){return this._endpoint},set:function(e){if(null==e)this._endpoint=null,this.hostname=null;else{e=U+"//"+e;var t=i.default.parse(e),n=t.hostname,r=t.port;r=parseInt(r),null==n||80!==r&&443!==r||(e=U+"//"+n),this._endpoint=e+"/",this.hostname=n}}},{key:"channelId",set:function(e){this._channelId=e,this.channelIds.add(e)},get:function(){return this._channelId}}])&&P(s.prototype,b),L&&P(s,L),r}(r.default);t.default=G}).call(this,n(100))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),i=l(n(2)),o=n(141),a=l(n(15)),s=l(n(12)),u=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f="staging"===window.GLOBAL_ENV.RELEASE_CHANNEL;function _(){if(!f){var e=s.default.getCurrentUser();e&&e.hasFlag(u.UserFlags.STAFF)&&(f=!0)}}var p=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var i,u,l,p=r.prototype;return p.initialize=function(){this.waitFor(s.default,a.default),_()},p.getExperimentDescriptor=function(){return f?{type:"developer",name:"discord_dev_testing",revision:1,override:!0,bucket:o.ExperimentBuckets.TREATMENT_1}:null},i=r,(u=[{key:"isDeveloper",get:function(){return f},set:function(e){throw new Error("Username is not in the sudoers file. This incident will be reported")}}])&&c(i.prototype,u),l&&c(i,l),r}(r.default.Store))(i.default,{CONNECTION_OPEN:function(e){return _()},OVERLAY_INITIALIZE:function(e){return _()},CURRENT_USER_UPDATE:function(e){return _()}});t.default=p},function(e,t,n){var r=n(1736);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.VerificationLayerProvider=t.VerificationLayerContainer=void 0;var r=(0,n(423).createLayer)("Verification"),i=r.Layer,o=r.LayerContainer,a=r.LayerProvider,s=o;t.VerificationLayerContainer=s;var u=a;t.VerificationLayerProvider=u;var l=i;t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(8))&&r.__esModule?r:{default:r},o=n(1362),a=n(297),s=n(1);function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function d(e,t){var n=e.get(t.id);return null==n||function(e,t){var n=null!=e.editedTimestamp?+e.editedTimestamp.toDate():0;return(null!=t.edited_timestamp?+new Date(t.edited_timestamp):0)>n||(e.embeds.length<t.embeds.length||e.content!==t.content)}(n,t)||e.cached?(0,a.createMessageRecord)(t):n}var f=function(){function e(e){this._messages=[],this._map={},this._wasAtEdge=!1,this._isCacheBefore=e}var t=e.prototype;return t.clone=function(){var t=new e(this._isCacheBefore);return t._map=u({},this._map),t._messages=[].concat(this._messages),t._wasAtEdge=this._wasAtEdge,t},t.clear=function(){this._map={},this._messages=[],this._wasAtEdge=!1},t.remove=function(e){this._messages=i.default.filter(this._messages,(function(t){return t.id!==e})),delete this._map[e]},t.removeMany=function(e){var t=this;i.default.each(e,(function(e){delete t._map[e]})),this._messages=this._messages.filter((function(t){return-1===e.indexOf(t.id)}))},t.replace=function(e,t){var n=this._map[e];n&&(delete this._map[e],this._map[t.id]=t,this._messages[this._messages.indexOf(n)]=t)},t.update=function(e,t){var n=this._map[e];if(n){var r=t(n);this._map[n.id]=r,this._messages[this._messages.indexOf(n)]=r}},t.has=function(e){return null!=this._map[e]},t.get=function(e){return this._map[e]},t.forEach=function(e,t){this._messages.forEach(e,t)},t.cache=function(e,t){var n=this;if(void 0===t&&(t=!1),0===this.length&&(this._wasAtEdge=t),this._messages.length+e.length>s.MAX_MESSAGE_CACHE_SIZE){if(this._wasAtEdge=!1,e.length>s.MAX_MESSAGE_CACHE_SIZE)return this._isCacheBefore?this._messages=e.slice(e.length-s.MAX_MESSAGE_CACHE_SIZE):this._messages=e.slice(0,s.MAX_MESSAGE_CACHE_SIZE),this._map={},void this._messages.forEach((function(e){return n._map[e.id]=e}));var r=s.MAX_MESSAGE_CACHE_SIZE-e.length;this._isCacheBefore?this._messages=this._messages.slice(Math.max(this._messages.length-r,0)):this._messages=this._messages.slice(0,r)}this._messages=this._isCacheBefore?[].concat(this._messages,e):[].concat(e,this._messages),this._map={},this._messages.forEach((function(e){return n._map[e.id]=e}))},t.extractAll=function(){var e=this._messages;return this._messages=[],this._map={},e},t.extract=function(e){var t,n=this;if(this._isCacheBefore){var r=Math.max(this.length-e,0),i=this.length;t=this._messages.slice(r,i),this._messages.splice(r)}else{var o=Math.min(e,this.length);t=this._messages.slice(0,o),this._messages.splice(0,e)}return t.forEach((function(e){return delete n._map[e.id]})),t},c(e,[{key:"wasAtEdge",get:function(){return this._wasAtEdge},set:function(e){this._wasAtEdge=e}},{key:"length",get:function(){return this._messages.length}}]),e}(),_=function(){function e(e){this._array=[],this._map={},this.channelId=e,this.ready=!1,this.jumpTargetId=null,this.jumpTargetOffset=0,this.jumpSequenceId=1,this.jumped=!1,this.jumpedToPresent=!1,this.jumpType=o.JumpTypes.ANIMATED,this.jumpFlash=!0,this.jumpReturnTargetId=null,this.hasMoreBefore=!0,this.hasMoreAfter=!1,this.loadingMore=!1,this.revealedMessageId=null,this._clearMessages(),this._before=new f(!0),this._after=new f(!1),this.cached=!1,this.error=!1}e.forEach=function(t){i.default.forEach(e._channelMessages,t)},e.get=function(t){return e._channelMessages[t]},e.hasPresent=function(t){var n=e.get(t);return n&&n.hasPresent()},e.getOrCreate=function(t){var n=e._channelMessages[t];return null==n&&(n=new e(t),e._channelMessages[t]=n),n},e.clear=function(t){delete e._channelMessages[t]},e.clearCache=function(t){var n=e._channelMessages[t];n&&(n._before.clear(),n._after.clear(),this.commit(n))},e.commit=function(t){e._channelMessages[t.channelId]=t};var t=e.prototype;return t.mutate=function(t,n){void 0===n&&(n=!1);var r=new e(this.channelId);return r._array=n?[].concat(this._array):this._array,r._map=n?u({},this._map):this._map,r._after=n?this._after.clone():this._after,r._before=n?this._before.clone():this._before,t instanceof Function?(r.ready=this.ready,r.jumpType=this.jumpType,r.jumpTargetId=this.jumpTargetId,r.jumpTargetOffset=this.jumpTargetOffset,r.jumpSequenceId=this.jumpSequenceId,r.jumped=this.jumped,r.jumpedToPresent=this.jumpedToPresent,r.jumpFlash=this.jumpFlash,r.jumpReturnTargetId=this.jumpReturnTargetId,r.hasMoreBefore=this.hasMoreBefore,r.hasMoreAfter=this.hasMoreAfter,r.loadingMore=this.loadingMore,r.revealedMessageId=this.revealedMessageId,r.cached=this.cached,r.error=this.error,t(r)):"object"==typeof t&&(r.ready=void 0!==t.ready?!0===t.ready:this.ready,r.jumpType=void 0!==t.jumpType?t.jumpType:this.jumpType,r.jumpTargetId=void 0!==t.jumpTargetId?t.jumpTargetId:this.jumpTargetId,r.jumpTargetOffset=void 0!==t.jumpTargetOffset?t.jumpTargetOffset:this.jumpTargetOffset,r.jumpSequenceId=void 0!==t.jumpSequenceId?t.jumpSequenceId:this.jumpSequenceId,r.jumped=void 0!==t.jumped?!0===t.jumped:this.jumped,r.jumpedToPresent=void 0!==t.jumpedToPresent?!0===t.jumpedToPresent:this.jumpedToPresent,r.jumpFlash=void 0!==t.jumpFlash?!0===t.jumpFlash:this.jumpFlash,r.jumpReturnTargetId=void 0!==t.jumpReturnTargetId?t.jumpReturnTargetId:this.jumpReturnTargetId,r.hasMoreBefore=void 0!==t.hasMoreBefore?!0===t.hasMoreBefore:this.hasMoreBefore,r.hasMoreAfter=void 0!==t.hasMoreAfter?!0===t.hasMoreAfter:this.hasMoreAfter,r.loadingMore=void 0!==t.loadingMore?t.loadingMore:this.loadingMore,r.revealedMessageId=void 0!==t.revealedMessageId?t.revealedMessageId:this.revealedMessageId,r.cached=void 0!==t.cached?t.cached:this.cached,r.error=void 0!==t.error?t.error:this.error),r},t.toArray=function(){return[].concat(this._array)},t.forEach=function(e,t,n){if(void 0===n&&(n=!1),n)for(var r=this._array,i=r.length-1;i>=0&&!1!==e.call(t,r[i],i);i--);else this._array.forEach(e,t)},t.reduce=function(e,t){return this._array.reduce(e,t)},t.forAll=function(e,t){this._before.forEach(e,t),this._array.forEach(e,t),this._after.forEach(e,t)},t.map=function(e,t){return this._array.map(e,t)},t.first=function(){return this._array[0]},t.last=function(){return this._array[this._array.length-1]},t.get=function(e,t){void 0===t&&(t=!1);var n=this._map[e];return null==n&&t?this._before.get(e)||this._after.get(e):n},t.getByIndex=function(e){return this._array[e]},t.getAfter=function(e){var t=this.get(e);if(null==t)return null;var n=this._array.indexOf(t);return-1===n||n===this.length-1?null:this._array[n+1]},t.has=function(e,t){return void 0===t&&(t=!0),null!=this._map[e]||t&&(this._before.has(e)||this._after.has(e))},t.indexOf=function(e){var t=-1;return this._array.find((function(n,r){return n.id===e&&(t=r,!0)})),t},t.hasPresent=function(){return this._after.length>0&&this._after.wasAtEdge||!this.hasMoreAfter},t.hasBeforeCached=function(e){if(this.length>0&&this._before.length>0){var t=this.first();return null!=t&&t.id===e}return!1},t.hasAfterCached=function(e){if(this.length>0&&this._after.length>0){var t=this.last();return null!=t&&t.id===e}return!1},t.update=function(e,t){var n=this._map[e];if(null==n)return this._before.has(e)?this.mutate((function(n){return n._before.update(e,t)}),!0):this._after.has(e)?this.mutate((function(n){return n._after.update(e,t)}),!0):this;var r=t(n);return this.mutate((function(e){e._map[n.id]=r,e._array[e._array.indexOf(n)]=r}),!0)},t.replace=function(e,t){var n=this._map[e];return null==n?this._before.has(e)?this.mutate((function(n){return n._before.replace(e,t)}),!0):this._after.has(e)?this.mutate((function(n){return n._after.replace(e,t)}),!0):this:this.mutate((function(r){delete r._map[e],r._map[t.id]=t,r._array[r._array.indexOf(n)]=t}),!0)},t.remove=function(e){return this.mutate((function(t){delete t._map[e],t._array=t._array.filter((function(t){return t.id!==e})),t._before.remove(e),t._after.remove(e)}),!0)},t.removeMany=function(e){var t=this;return e.some((function(e){return t.has(e)}))?this.mutate((function(t){i.default.each(e,(function(e){delete t._map[e]})),t._array=t._array.filter((function(t){return-1===e.indexOf(t.id)})),t._before.removeMany(e),t._after.removeMany(e)}),!0):this},t.merge=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=!1),this.mutate((function(r){r._merge(e,t,n)}),!0)},t._merge=function(e,t,n){var r=this;(void 0===t&&(t=!1),void 0===n&&(n=!1),e=e.filter((function(e){var t=r._map[e.id];return r._map[e.id]=e,null==t||(r._array[r._array.indexOf(t)]=e,!1)})),n)&&(t?this._before:this._after).clear();this._array=t?[].concat(e,this._array):[].concat(this._array,e)},t._clearMessages=function(){this._array=[],this._map={}},t.reset=function(e){return this.mutate((function(t){t._array=e,t._map={},e.forEach((function(e){return t._map[e.id]=e})),t._before.clear(),t._after.clear()}))},t.truncateTop=function(e,t){void 0===t&&(t=!0);var n=this._array.length-e;return n<=0?this:this.mutate((function(e){for(var t=0;t<n;t++)delete e._map[e._array[t].id];e._before.cache(e._array.slice(0,n),!e.hasMoreBefore),e._array=e._array.slice(n),e.hasMoreBefore=!0}),t)},t.truncateBottom=function(e,t){var n=this;return void 0===t&&(t=!0),this._array.length<=e?this:this.mutate((function(t){for(var r=e;r<n._array.length;r++)delete t._map[t._array[r].id];t._after.cache(t._array.slice(e,n._array.length),!t.hasMoreAfter),t._array=t._array.slice(0,e),t.hasMoreAfter=!0}),t)},t.jumpToPresent=function(e){return this.mutate((function(t){var n=t._after.extractAll();t.hasMoreAfter=!1;var r=Math.max(n.length-e,0),i=n.slice(r);n.splice(r),t._before.cache(t._array),t._before.cache(n),t._clearMessages(),t._merge(i),t.hasMoreBefore=t._before.length>0,t.jumped=!0,t.jumpTargetId=null,t.jumpTargetOffset=0,t.jumpedToPresent=!0,t.jumpFlash=!1,t.jumpReturnTargetId=null,t.jumpSequenceId=t.jumpSequenceId+1,t.ready=!0,t.loadingMore=!1}),!0)},t.jumpToMessage=function(e,t,n,r,i){return void 0===t&&(t=!0),this.mutate((function(a){a.jumped=!0,a.jumpedToPresent=!1,a.jumpType=i||o.JumpTypes.ANIMATED,a.jumpTargetId=e,a.jumpTargetOffset=null!=e&&null!=n?n:0,a.jumpSequenceId=a.jumpSequenceId+1,a.jumpFlash=t,a.jumpReturnTargetId=r,a.ready=!0,a.loadingMore=!1}),!1)},t.loadFromCache=function(e,t){return this.mutate((function(n){var r=e?n._before:n._after;n._merge(r.extract(t),e);var i=r.length>0||!r.wasAtEdge;e?n.hasMoreBefore=i:n.hasMoreAfter=i,n.ready=!0,n.loadingMore=!1}),!0)},t.truncate=function(e,t){return this.length<=s.MAX_LOADED_MESSAGES?this:e?this.truncateBottom(s.TRUNCATED_MESSAGE_VIEW_SIZE):t?this.truncateTop(s.TRUNCATED_MESSAGE_VIEW_SIZE):this},t.receiveMessage=function(e,t){void 0===t&&(t=!0);var n=null==e.nonce?null:this.get(e.nonce,!0);if(null!=n&&(e.author.id===n.author.id||null!=e.interaction&&e.webhook_id===n.author.id)&&null!=e.nonce&&n.id===e.nonce){var r=(0,a.createMessageRecord)(e);return null!=n.interactionData&&(r.interactionData=n.interactionData),this.replace(e.nonce,r)}if(!this.hasMoreAfter){var i=this.merge([d(this,e)]);return t?i.truncateTop(s.TRUNCATED_MESSAGE_VIEW_SIZE,!1):this.length>s.MAX_LOADED_MESSAGES?i.truncateBottom(s.TRUNCATED_MESSAGE_VIEW_SIZE,!1):i}return this._after.wasAtEdge&&(this._after.wasAtEdge=!1),this},t.receivePushNotification=function(e){return null!=(null==e.nonce?null:this.get(e.nonce,!0))?this:this.mutate({ready:!0,cached:!0}).merge([d(this,e)])},t.loadStart=function(e){return this.mutate({loadingMore:!0,jumped:null!=e,jumpedToPresent:(null==e?void 0:e.present)||!1,jumpTargetId:(null==e?void 0:e.messageId)||null,jumpTargetOffset:(null==e?void 0:e.offset)||0,jumpReturnTargetId:(null==e?void 0:e.returnMessageId)||null,ready:!e&&this.ready})},t.loadComplete=function(e){var t=this,n=[].concat(e.newMessages),r=e.isBefore||!1,a=e.isAfter||!1,s=e.jump||null,u=e.hasMoreBefore||!1,l=e.hasMoreAfter||!1,c=e.cached||!1,f=(0,i.default)(n).reverse().map((function(e){return d(t,e)})).value(),_=null;return _=(_=!r&&!a||s||!this.ready?this.reset(f):this.merge(f,r,!0)).mutate({ready:!0,loadingMore:!1,jumpType:(null==s?void 0:s.jumpType)||o.JumpTypes.ANIMATED,jumpFlash:s&&s.flash||!1,jumped:null!=s,jumpedToPresent:s&&s.present||!1,jumpTargetId:s&&s.messageId||null,jumpTargetOffset:null!=s&&s.messageId&&null!=s.offset?s.offset:0,jumpSequenceId:s?_.jumpSequenceId+1:_.jumpSequenceId,jumpReturnTargetId:s&&s.returnMessageId||null,hasMoreBefore:!s&&a?_.hasMoreBefore:u,hasMoreAfter:!s&&r?_.hasMoreAfter:l,cached:c,error:!1})},c(e,[{key:"length",get:function(){return this._array.length}}]),e}();_._channelMessages={};var p=_;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.useRef)(null),n=(0,r.useRef)(null);Object.is(e,n.current)||(t.current=n.current,n.current=e);return t.current};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r,o,E,h=e.channel,m=e.guild,T=e.error,g=e.loading,y=e.onSave,A=e.onEventSave,O=e.onClose,N=e.onSelectChannel,R=e.appContext,C=e.isEvent,W=void 0!==C&&C,K=e.defaultOptions,z=e.isSlideReady,J=void 0===z||z,Z=U.default.useExperiment({guildId:m.id})[0].enabled,ee=s.default.useExperiment({})[0].badgePublicStageCreation,te=(0,a.useStateFromStores)([f.default],(function(){return f.default.hasHotspot(d.HotspotLocations.PUBLIC_STAGE_CREATION_BADGE)})),ne=i.useMemo((function(){return G.default.getStageInstanceByChannel(h.id)}),[h.id]),re=i.useState(null!==(t=null!==(n=null==K?void 0:K.topic)&&void 0!==n?n:null==ne?void 0:ne.topic)&&void 0!==t?t:""),ie=re[0],oe=re[1],ae=i.useState(Z&&W)[0],se=i.useState(null!==(r=null==K?void 0:K.schedule)&&void 0!==r?r:{startDate:(0,l.getInitialEventStartDate)()}),ue=se[0],le=se[1],ce=(0,_.useGuildEligibleForPublicStageDiscovery)(h.getGuildId()),de=null==m?void 0:m.hasFeature(F.GuildFeatures.DISCOVERABLE),fe=ce&&ee&&te&&!de,_e=ce?null:k.StageInstancePrivacyLevel.GUILD_ONLY,pe=i.useState(null!==(o=null!==(E=null==K?void 0:K.privacyLevel)&&void 0!==E?E:null==ne?void 0:ne.privacy_level)&&void 0!==o?o:_e),Ee=pe[0],he=pe[1],me=(0,x.useStageBlockedUsersCount)(h.id),ve=i.useState(!1),Te=ve[0],ge=ve[1],Ie=(0,u.default)(h),Se=(0,p.useChannelsUserCanStartStageIn)(m),ye=null!=N,Ae=Se.length>1,Oe=(0,Y.default)(h,ne,Ee),Ne=Oe.helpText,Re=Oe.guildOnlyDisabled,be=Oe.publicDisabled;i.useEffect((function(){P.default.track(F.AnalyticEvents.START_STAGE_OPENED,{stage_instance_id:null==ne?void 0:ne.id,can_start_public_stage:!be&&ce})}),[]),i.useEffect((function(){fe&&s.default.trackExposure({})}),[fe]);var Le=function(e){if(e.preventDefault(),Ee===k.StageInstancePrivacyLevel.PUBLIC&&ie.length<20&&!Te)ge(!0);else{var t={topic:ie,privacyLevel:Ee};ae?null==A||A(q({},t,{schedule:ue})):null==y||y(t)}},De=function(e,t,n){if(n)return{color:v.default.Colors.BRAND,text:B.default.Messages.SCHEDULE_EVENT};if(t===k.StageInstancePrivacyLevel.PUBLIC&&(null==e?void 0:e.privacy_level)!==k.StageInstancePrivacyLevel.PUBLIC)return{color:v.default.Colors.BRAND,text:B.default.Messages.CONTINUE};if(null==e)return{color:v.default.Colors.GREEN,text:B.default.Messages.START_STAGE_CHANNEL_EVENT_MODAL_BUTTON};return{color:v.default.Colors.BRAND,text:B.default.Messages.SAVE_CHANGES}}(ne,Ee,ae),Ce=De.color,Me=De.text,Pe=i.useRef(null);return i.useEffect((function(){var e;J&&(null===(e=Pe.current)||void 0===e||e.focus())}),[J]),i.createElement(i.Fragment,null,X(b.ModalContent,{className:j.default.modalContent},void 0,X("div",{className:j.default.blockedUsersContainer},void 0,null==ne&&me>0&&X(V.BlockedUsersNotice,{channelId:h.id})),X("form",{onSubmit:Le,className:j.default.form},void 0,X(S.FormItem,{title:B.default.Messages.START_STAGE_CHANNEL_EVENT_MODAL_TOPIC_LABEL,className:j.default.topicFormItem},void 0,X(I.default,{className:j.default.textInput,onChange:function(e){return oe(e)},placeholder:B.default.Messages.START_STAGE_CHANNEL_EVENT_MODAL_TOPIC_PLACEHOLDER,maxLength:w.MAX_STAGE_TOPIC_LENGTH,value:ie,autoComplete:"off",inputRef:Pe}),Te&&X(M.default,{size:M.default.Sizes.SIZE_12,color:M.default.Colors.STATUS_YELLOW,className:j.default.warning},void 0,B.default.Messages.START_STAGE_PUBLIC_SHORT_TOPIC_WARNING),null!=T?X(M.default,{color:M.default.Colors.STATUS_RED,size:M.default.Sizes.SIZE_12,className:j.default.warning},void 0,T.getAnyErrorMessage()):null,null==ne?X(M.default,{color:M.default.Colors.HEADER_SECONDARY,size:M.default.Sizes.SIZE_12,className:j.default.speakerHint},void 0,B.default.Messages.START_STAGE_CHANNEL_EVENT_MODAL_SPEAKER_HINT):null),ye&&Ae?X($,{stageChannelsInGuild:Se,channel:h,onSelectChannel:N}):null,X(S.FormItem,{title:B.default.Messages.START_STAGE_CHANNEL_EVENT_PRIVACY_TITLE,className:j.default.privacyFormItem},void 0,ce?X(Q,{channel:h,privacyLevel:Ee,onPrivacyLevelChange:function(e){if(Ee===e)return;e===k.StageInstancePrivacyLevel.PUBLIC&&ae?(0,L.openModal)((function(t){return i.createElement(H.default,q({},t,{onNext:function(){return he(e)}}))}),{},R===F.AppContext.POPOUT?D.POPOUT_MODAL_CONTEXT:D.DEFAULT_MODAL_CONTEXT):he(e)},badgePublicStageCreation:fe,helpText:Ne,guildOnlyDisabled:Re,publicDisabled:be}):null),ae&&X(c.default,{onScheduleChange:le,schedule:ue}),ye&&!Ae?X(M.default,{color:M.default.Colors.HEADER_SECONDARY,size:M.default.Sizes.SIZE_12,className:j.default.channelSelection},void 0,B.default.Messages.START_STAGE_MODAL_SET_TOPIC_HELP_TEXT.format({stageName:Ie,stageHook:function(e,t){return X("span",{className:j.default.channelName},t,h.name)}})):null)),X(b.ModalFooter,{},void 0,X(v.default,{color:Ce,className:j.default.button,onClick:Le,disabled:""===ie||null==Ee,submitting:g},void 0,Me),X(v.default,{color:v.default.Colors.GREY,className:j.default.cancelButton,onClick:O},void 0,B.default.Messages.CANCEL)))};var r,i=z(n(0)),o=W(n(9)),a=n(3),s=W(n(991)),u=z(n(180)),l=n(1423),c=W(n(1424)),d=n(395),f=W(n(702)),_=n(454),p=n(453),E=W(n(15)),h=W(n(70)),m=W(n(12)),v=W(n(29)),T=W(n(61)),g=n(1162),I=W(n(153)),S=n(131),y=W(n(696)),A=W(n(1374)),O=W(n(750)),N=W(n(751)),R=W(n(291)),b=n(35),L=n(41),D=n(217),C=n(374),M=W(n(24)),P=W(n(13)),w=n(134),U=W(n(1280)),k=n(207),G=W(n(81)),Y=W(n(5423)),x=n(268),V=n(455),H=W(n(5424)),F=n(1),B=W(n(6)),j=W(n(5762));function W(e){return e&&e.__esModule?e:{default:e}}function K(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return K=function(){return e},e}function z(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=K();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function q(){return(q=Object.assign||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}).apply(this,arguments)}function X(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function J(e){var t,n=e.title,r=e.subtitle,i=e.icon,a=e.checked,s=e.onClick,u=e.disabled,l=void 0!==u&&u,c=e.trailing;return X(T.default,{className:(0,o.default)(j.default.privacyItemContainer,(t={},t[j.default.privacyItemDisabled]=l,t)),role:"radio",onClick:l?void 0:s,"aria-checked":a,"aria-disabled":l,tabIndex:a?0:-1},void 0,X(i,{className:j.default.itemIcon}),X("div",{className:j.default.privacyItemTextContainer},void 0,X("div",{className:j.default.privacyItemTitleContainer},void 0,X(M.default,{className:j.default.privacyItemTitle,size:M.default.Sizes.SIZE_16,color:M.default.Colors.INTERACTIVE_ACTIVE},void 0,n),c),X(M.default,{size:M.default.Sizes.SIZE_12,color:M.default.Colors.HEADER_SECONDARY},void 0,r)),a?X(N.default,{className:(0,o.default)(j.default.privacyItemRadio,j.default.radioSelected),foreground:j.default.radioIconForeground}):X(O.default,{className:(0,o.default)(j.default.privacyItemRadio,j.default.radioNotSelected)}))}function Q(e){var t=e.channel,n=e.privacyLevel,r=e.onPrivacyLevelChange,o=e.badgePublicStageCreation,s=e.helpText,u=e.guildOnlyDisabled,l=e.publicDisabled,c=(0,a.useStateFromStores)([E.default],(function(){return E.default.getGuild(t.guild_id)})),d=(0,g.useRadioGroup)(),f=null==c?void 0:c.hasFeature(F.GuildFeatures.DISCOVERABLE);return i.createElement(i.Fragment,null,i.createElement("div",q({},d,{className:j.default.privacyContainer}),X(J,{title:B.default.Messages.START_STAGE_CHANNEL_EVENT_MEMBERS_TITLE,subtitle:B.default.Messages.START_STAGE_CHANNEL_EVENT_MEMBERS_SUBTITLE,icon:y.default,checked:n===k.StageInstancePrivacyLevel.GUILD_ONLY,onClick:function(){return r(k.StageInstancePrivacyLevel.GUILD_ONLY)},disabled:u}),X(S.FormDivider,{className:j.default.privacyDivider}),X(J,{title:B.default.Messages.START_STAGE_CHANNEL_EVENT_PUBLIC_TITLE,subtitle:B.default.Messages.START_STAGE_CHANNEL_EVENT_PUBLIC_SUBTITLE,icon:A.default,trailing:f||o&&X(M.default,{size:M.default.Sizes.SIZE_10,className:j.default.pill},void 0,o?B.default.Messages.NEW:B.default.Messages.RECOMMENDED),checked:n===k.StageInstancePrivacyLevel.PUBLIC,onClick:function(){return r(k.StageInstancePrivacyLevel.PUBLIC)},disabled:l})),s?X(M.default,{className:j.default.privacyHelpText,size:M.default.Sizes.SIZE_12,color:M.default.Colors.HEADER_SECONDARY},void 0,s):null)}J.displayName="PrivacyLevelToggle";var Z=X(R.default,{height:24});function $(e){var t=e.stageChannelsInGuild,n=e.channel,r=e.onSelectChannel;if(null==r)return null;return i.createElement(i.Fragment,null,X(S.FormItem,{title:B.default.Messages.START_STAGE_MODAL_SET_TOPIC_SELECT_LABEL,className:j.default.channelSelectionFormItem},void 0,X(C.SingleSelect,{value:n.id,options:t.map((function(e){return{value:e.id,label:(0,u.computeChannelName)(e,m.default,h.default,!0)}})),onChange:function(e){var n=t.find((function(t){return t.id===e}));null!=n&&r(n)},renderOptionLabel:function(e){var t=e.label;return X("div",{className:j.default.optionLabel},void 0,Z,X(M.default,{color:M.default.Colors.HEADER_PRIMARY,size:M.default.Sizes.SIZE_16,className:j.default.optionText},void 0,t))},renderOptionValue:function(e){var t=e[0];return X("div",{className:j.default.optionLabel},void 0,X(R.default,{height:24,className:j.default.itemIcon}),X(M.default,{color:M.default.Colors.HEADER_PRIMARY,size:M.default.Sizes.SIZE_16,className:j.default.optionText},void 0,t.label))}})))}},function(e,t,n){"use strict";function r(e){return Math.max(Math.min(e,1),0)}function i(e,t){var n=e.top,i=e.bottom,o=e.left,a=e.right;return{top:null!=n?Math.floor(r(n)*t.height):null,left:null!=o?Math.floor(r(o)*t.width):null,bottom:null!=i?Math.floor(r(i)*t.height):null,right:null!=a?Math.floor(r(a)*t.width):null}}function o(e,t){var n=e.width,i=e.height;return{width:"auto"===n?n:Math.floor(r(n)*t.width),height:"auto"===i?i:Math.floor(r(i)*t.height)}}function a(e,t){var n=e.top,i=e.bottom,o=e.left,a=e.right;return{top:null!=n?r(n/t.height):null,left:null!=o?r(o/t.width):null,bottom:null!=i?r(i/t.height):null,right:null!=a?r(a/t.width):null}}function s(e,t){var n=e.width,r=e.height;return{width:"auto"===n?n:n/t.width,height:"auto"===r?r:r/t.height}}function u(e,t,n,r,i){var o=e.top,a=e.bottom,s=e.left,u=e.right;if(null==o&&null==a?(o=0,a=n-i):null==o&&null!=a?o=n-(a+i):null!=o&&(a=n-(o+i)),null==s&&null==u?(s=0,u=t-r):null==s&&null!=u?s=t-(u+r):null==u&&null!=s&&(u=t-(s+r)),null==o||null==a||null==s||null==u)throw new Error("Logically this can never happen based on our if/else statements");return{top:o,left:s,bottom:a,right:u}}function l(e){var t=e.top,n=e.left,r=e.bottom,i=e.right;return 0===t||t<=r?r=null:t=null,0===n||n<=i?i=null:n=null,{top:t,left:n,bottom:r,right:i}}function c(e){var t=e.top,n=e.left,r=e.bottom,i=e.right;return r<0&&(t+=r,r=0),t<0&&(r+=t,t=0),i<0&&(n+=i,i=0),n<0&&(i+=n,n=0),{top:t,left:n,bottom:r,right:i}}Object.defineProperty(t,"__esModule",{value:!0}),t.getAnchorCoordsFromLayoutSize=i,t.getSizeFromLayoutSize=o,t.getAnchorPercentageFromLayoutSize=a,t.getSizePercentageFromSize=s,t.getFullCoordsFromAnchorCoords=u,t.getAnchorCoordsFromFullCoords=l,t.fitFullCoordsToContainer=c,t.getFullCoordsFromLayoutSize=function(e,t,n){e=i(e,n);var r=o(t,n),a=r.width,s=r.height;return a="string"==typeof a?0:a,s="string"==typeof s?0:s,u(e,n.width,n.height,a,s)},t.getLeftWidgetSpecs=function(e,t,n,r){var i=e.top,o=e.left,d=void 0===r?{x:0,y:0}:r,f=d.x,_=d.y,p=t.width,E=t.height;return[a(l(c(u({top:i+_,left:o+f,bottom:null,right:null},n.width,n.height,"number"==typeof p?p:0,"number"==typeof E?E:0))),n),s(t,n)]},t.getRightWidgetSpecs=function(e,t,n,r){var i=e.top,o=e.right,d=void 0===r?{x:0,y:0}:r,f=d.x,_=d.y,p=t.width,E=t.height;return[a(l(c(u({top:i+_,left:null,bottom:null,right:o-f},n.width,n.height,"number"==typeof p?p:0,"number"==typeof E?E:0))),n),s(t,n)]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDesktopSourceMetadata=function(){var e,t,n,o,a,s=r.default.getDesktopSource();null!=s&&(e=s.resolution,t=s.frameRate,n=s.soundshareSession,o=null!=s.sourcePid?i.default.getGameNameForPID(s.sourcePid):null,a=null!=s.sourcePid?i.default.getGameIdForPID(s.sourcePid):null);return{video_input_resolution:e,video_input_frame_rate:t,soundshare_session:n,share_game_name:o,share_game_id:a}},t.trackWithOverlayMetadata=function(e,t,n){void 0===n&&(n=!1);var r=o.default.getGame();switch(t=c({},t,{overlay_game_name:null!=r?r.name:"Unknown Game",overlay_app_id:null!=r?r.id:null}),e){case u.AnalyticEvents.VOICE_CHANNEL_SELECTED:case u.AnalyticEvents.SETTINGS_PANE_VIEWED:case u.AnalyticEvents.GUILD_VIEWED:case u.AnalyticEvents.CHANNEL_OPENED:return(0,s.trackWithMetadata)(e,t,n);default:return a.default.track(e,t,{flush:n})}};var r=l(n(51)),i=l(n(79)),o=l(n(710)),a=l(n(13)),s=n(106),u=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";e.exports=function(e){var t=this.constructor;return this.callbacks={},this.directMap={},this.sequenceLevels={},this.resetTimer,this.ignoreNextKeyup=!1,this.ignoreNextKeypress=!1,this.nextExpectedAction=!1,this.element=e,this.addEvents(),t.instances.push(this),this},e.exports.prototype.bind=n(5492),e.exports.prototype.bindMultiple=n(5493),e.exports.prototype.unbind=n(5494),e.exports.prototype.trigger=n(5495),e.exports.prototype.reset=n(5496),e.exports.prototype.stopCallback=n(5497),e.exports.prototype.handleKey=n(5498),e.exports.prototype.addEvents=n(5499),e.exports.prototype.bindSingle=n(5503),e.exports.prototype.getKeyInfo=n(5504),e.exports.prototype.pickBestAction=n(5508),e.exports.prototype.getReverseMap=n(5509),e.exports.prototype.getMatches=n(5510),e.exports.prototype.resetSequences=n(5512),e.exports.prototype.fireCallback=n(5513),e.exports.prototype.bindSequence=n(5516),e.exports.prototype.resetSequenceTimer=n(5517),e.exports.prototype.detach=n(5518),e.exports.instances=[],e.exports.reset=n(5519),e.exports.REVERSE_MAP=null},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultLibraryApplicationAction=function(e,t,n){var o=t.getState(e.id,e.branchId),a=n.getQueuePosition(e.id,e.branchId),s=n.paused;if(null!=o){if(null==a||-1===a)switch(o.type){case i.LocalDispatchApplicationStates.INSTALLING:return i.LibraryApplicationActions.INSTALL;case i.LocalDispatchApplicationStates.UPDATING:case i.LocalDispatchApplicationStates.UPDATE_REQUIRED:return i.LibraryApplicationActions.UPDATE}switch(o.type){case i.LocalDispatchApplicationStates.INSTALLING:case i.LocalDispatchApplicationStates.UPDATING:case i.LocalDispatchApplicationStates.UPDATE_REQUIRED:case i.LocalDispatchApplicationStates.REPAIRING:return a>0?i.LibraryApplicationActions.MOVE_UP:s?i.LibraryApplicationActions.RESUME:i.LibraryApplicationActions.PAUSE;case i.LocalDispatchApplicationStates.UP_TO_DATE:return i.LibraryApplicationActions.PLAY;case i.LocalDispatchApplicationStates.UNINSTALLING:return null}}if(null!=a&&a>0)return i.LibraryApplicationActions.MOVE_UP;if((0,r.isSupportedPlatform)())return i.LibraryApplicationActions.INSTALL;return null};var r=n(263),i=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSoundpackOptions=function(){return[{value:i.CLASSIC,label:o.default.Messages.SOUNDPACK_CLASSIC_LABEL},{value:i.CHAOS,label:o.default.Messages.SOUNDPACK_CHAOS_LABEL},{value:i.YACHTY,label:o.default.Messages.SOUNDPACK_YACHTY_LABEL},{value:i.UNCLE,label:o.default.Messages.SOUNDPACK_UNCLE_LABEL}]},t.Soundpacks=void 0;var r,i,o=(r=n(6))&&r.__esModule?r:{default:r};t.Soundpacks=i,function(e){e.CLASSIC="classic",e.YACHTY="yachty",e.CHAOS="chaos",e.UNCLE="uncle"}(i||(t.Soundpacks=i={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createLayout=function(e,t,n){void 0===n&&(n=o.OVERLAY_DEFAULT_RESOLUTION);i.default.dispatch({type:a.ActionTypes.LAYOUT_CREATE,layoutId:e,widgets:t,defaultResolution:n})},t.setWidgetLayout=function(e,t,n){i.default.dirtyDispatch({type:a.ActionTypes.LAYOUT_UPDATE_WIDGET,widgetId:e,anchor:t,size:n})},t.setTopWidget=function(e){i.default.dispatch({type:a.ActionTypes.LAYOUT_SET_TOP_WIDGET,widgetId:e})},t.togglePinned=function(e){i.default.dispatch({type:a.ActionTypes.LAYOUT_SET_PINNED,widgetId:e})},t.deleteWidget=function(e){i.default.dispatch({type:a.ActionTypes.LAYOUT_DELETE_WIDGET,widgetId:e})},t.deleteAllWidgets=function(e){i.default.dispatch({type:a.ActionTypes.LAYOUT_DELETE_ALL_WIDGETS,layoutId:e})},t.createWidget=function(e){s([e])},t.createWidgets=s;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(265),a=n(1);function s(e){i.default.dispatch({type:a.ActionTypes.LAYOUT_CREATE_WIDGETS,widgetConfigs:e})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeOrigin=t.navigationStart=void 0;try{null==Date.now&&(Date.now=function(){return(new Date).valueOf()})}catch(e){}var r=function(){try{var e;return null!==(e=window.performance.timing.navigationStart)&&void 0!==e?e:Date.now()}catch(e){}return Date.now()}();t.navigationStart=r;var i=function(){try{if(null!=window.performance.timeOrigin)return window.performance.timeOrigin}catch(e){}return r}();t.timeOrigin=i,null==window.performance&&(window.performance={}),null==window.performance.now&&(window.performance.now=function(){return Date.now()-r}),null==window.performance.timeOrigin&&(window.performance.timeOrigin=i),null==window.performance.timing&&(window.performance.timing={navigationStart:r})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(23)),i=c(n(8)),o=n(277),a=c(n(689)),s=c(n(1304)),u=c(n(1405)),l=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}var f=[];var _=new(function(){function e(){this.getCurrentUser=function(){return null},this.onConnect=function(){},this.onDisconnect=function(){},this.events={},this.commands={},this.sockets=new Set,this.subscriptions=[]}var t=e.prototype;return t.registerTransport=function(e){var t=this;e.on("connect",(function(e){return t.handleConnect(e)})),e.on("request",(function(e,n){return t.handleRequest(e,n)})),e.on("disconnect",(function(e,n){return t.handleDisconnect(e,n)}))},t.handleConnect=function(e){this.sockets.add(e),this.onConnect(e);var t={v:e.version,config:{cdn_host:window.GLOBAL_ENV.CDN_HOST,api_endpoint:window.GLOBAL_ENV.API_ENDPOINT,environment:"production"}};if(e.transport===l.TransportTypes.IPC){var n=this.getCurrentUser();if(null==n)return void e.close(l.RPCCloseCodes.CLOSE_NORMAL,"User logged out");t.user=(0,s.default)(n)}this.dispatch(e,null,l.RPCCommands.DISPATCH,l.RPCEvents.READY,t)},t.handleDisconnect=function(e,t){this.removeSubscriptions(e),this.sockets.delete(e),this.onDisconnect(e,t)},t.handleRequest=function(e,t){var i=this;new Promise((function(n){if(!t.nonce)throw new a.default(l.RPCErrors.INVALID_PAYLOAD,"Payload requires a nonce");var r=i.commands[t.cmd];if(!r)throw new a.default(l.RPCErrors.INVALID_COMMAND,"Invalid command: "+t.cmd);if(!(0,u.default)(e.authorization.scopes,r.scope))throw new a.default(l.RPCErrors.INVALID_PERMISSIONS,"Not authenticated or invalid scope");n(r)})).then((function(e){return new Promise(function(){var i,s=(i=regeneratorRuntime.mark((function i(s,u){var c,d;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(!e.validation){i.next=9;break}return i.next=3,(0,o.importWithRetry)({createPromise:function(){return n.e(11).then(n.t.bind(null,1398,7))},webpackId:1398});case 3:c=i.sent,d=c.default,(0,r.default)(null!=e.validation,"command.validation must not be null"),d.validate(t.args,e.validation(d),{convert:!1},(function(t){t?u(new a.default(l.RPCErrors.INVALID_PAYLOAD,t.message)):s(e)})),i.next=10;break;case 9:s(e);case 10:case"end":return i.stop()}}),i)})),function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){d(o,n,r,a,s,"next",e)}function s(e){d(o,n,r,a,s,"throw",e)}a(void 0)}))});return function(e,t){return s.apply(this,arguments)}}())})).then((function(n){return n.handler({socket:e,server:i,cmd:t.cmd,evt:t.evt,nonce:t.nonce,args:t.args||{}})})).then((function(n){return i.dispatch(e,t.nonce,t.cmd,null,n)})).catch((function(n){var r=n.code,o=n.message;return i.error(e,t.nonce,t.cmd,r,o)}))},t.setCommandHandler=function(e,t){this.commands[e]=t},t.setEventHandler=function(e,t){this.events[e]=t},t.dispatch=function(e,t,n,r,i){void 0===t&&(t=null),void 0===n&&(n=l.RPCCommands.DISPATCH),void 0===r&&(r=null),void 0===i&&(i=null),e.send({cmd:n,data:i,evt:r,nonce:t})},t.error=function(e,t,n,r,i){void 0===t&&(t=null),void 0===n&&(n=l.RPCCommands.DISPATCH),void 0===r&&(r=l.RPCErrors.UNKNOWN_ERROR),void 0===i&&(i="Unknown Error"),this.dispatch(e,t,n,l.RPCEvents.ERROR,{code:r,message:i})},t.isSubscribed=function(e,t){return void 0!==this.subscriptions.find((function(n){return n.socket.application.id===e&&n.evt===t}))},t.getSubscription=function(e,t,n){return this.subscriptions.find((function(r){return r.socket===e&&r.evt===t&&i.default.isEqual(r.args,n)}))},t.addSubscription=function(e,t,n,r){void 0===r&&(r=null);var i=this.dispatch.bind(this,e,null,l.RPCCommands.DISPATCH,t);this.getSubscription(e,t,n)||this.subscriptions.push({update:r,dispatch:i,prevState:r?r({prevState:null,dispatch:i}):null,socket:e,evt:t,args:n})},t.removeSubscription=function(e,t,n){i.default.remove(this.subscriptions,(function(r){return r.socket===e&&r.evt===t&&i.default.isEqual(r.args,n)}))},t.removeSubscriptions=function(e){i.default.remove(this.subscriptions,(function(t){return t.socket===e}))},t.dispatchToSubscriptions=function(e,t,n,r){var o,a=this;r&&(o=r,f.includes(o)||(f.unshift(o),f.splice(50),0))||this.subscriptions.forEach((function(r){var o,s;r.evt===e&&("function"==typeof t&&!t(r)||"object"==typeof t&&(o=t,s=r.args||{},!i.default.isEqual(o,i.default.pick(s,Object.keys(o))))||a.dispatch(r.socket,null,l.RPCCommands.DISPATCH,r.evt,n))}))},t.updateSubscriptions=function(){this.subscriptions.forEach((function(e){e.update&&(e.prevState=e.update(e))}))},t.storeWait=function(e,t,n){var r=this,o=t();if(o||!n)return Promise.resolve(o);var a=i.default.uniqueId(),s=function(){return r.removeSubscription(e,"RPC_STORE_WAIT",{uniqueId:a})};return new Promise((function(i,o){var u=setTimeout((function(){s(),o(new Error("timeout"))}),1e3*n);r.addSubscription(e,"RPC_STORE_WAIT",{uniqueId:a},(function(){var e=t();e&&(clearTimeout(u),i(e))}))})).then((function(e){return s(),e}))},e}());t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={NativePermissionsRequestOptions:!0};Object.defineProperty(t,"NativePermissionsRequestOptions",{enumerable:!0,get:function(){return a.NativePermissionsRequestOptions}}),t.default=void 0;var i=u(n(16)),o=u(n(1696)),a=n(444),s=n(215);function u(e){return e&&e.__esModule?e:{default:e}}Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})),o.default.initialize();var l=i.default.isDesktop()?n(1742).default:n(1743).default;t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPremiumResolution=function(e){if(null==e)return;var t=e.maxResolution.type===r.ResolutionTypes.SOURCE?i.ApplicationStreamResolutions.RESOLUTION_SOURCE:e.maxResolution.height,n=(0,i.getApplicationResolution)(t);return(0,i.getApplicationFramerate)(e.maxFrameRate)!==i.ApplicationStreamFPS.FPS_5&&null==i.ApplicationStreamSettingRequirements.find((function(e){return e.resolution===n&&e.fps!==i.ApplicationStreamFPS.FPS_5&&!f(e)}))},t.isPremiumFPS=function(e){if(null==e)return;var t=(0,i.getApplicationFramerate)(e.maxFrameRate);return null==i.ApplicationStreamSettingRequirements.find((function(e){return e.fps===t&&!f(e)}))},t.isPremiumRequirement=f,t.getPremiumRequirement=_,t.getResolutionText=function(e){if(e.type===r.ResolutionTypes.SOURCE)return c.default.Messages.SCREENSHARE_SOURCE;return c.default.Messages.SCREENSHARE_RESOLUTION_ABBREVIATED.format({resolution:e.height})},t.getFPSText=function(e){return c.default.Messages.SCREENSHARE_FPS_ABBREVIATED.format({fps:e})},t.getMaxQuality=function(e){if(null==e.maxResolution||null==e.maxFrameRate)return null;return{maxFrameRate:e.maxFrameRate,maxResolution:e.maxResolution}},t.trackStreamSettingsUpdate=function(e,t,n){var r=_(e,t,n),i=s.default.getCurrentUser(),c=a.default.getGuildId(),d=null!=c?o.default.getGuild(c):null;u.default.track(l.AnalyticEvents.STREAM_SETTINGS_UPDATE,{user_premium_tier:i.premiumType,guild_premium_tier:null==d?void 0:d.premiumTier,stream_quality_user_premium_tier:null==r?void 0:r.userPremiumType,stream_quality_guild_premium_tier:null==r?void 0:r.guildPremiumTier,stream_quality_preset:e,stream_quality_resolution:t,stream_quality_frame_rate:n})};var r=n(34),i=n(713),o=d(n(15)),a=d(n(94)),s=d(n(12)),u=d(n(13)),l=n(1),c=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function f(e){return null!=e.userPremiumType||null!=e.guildPremiumTier}function _(e,t,n){return i.ApplicationStreamSettingRequirements.find((function(r){return(null==r.preset||r.preset===e)&&r.resolution===t&&r.fps===n}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(3)),i=n(34),o=a(n(2));n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(){return(u=Object.assign||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}).apply(this,arguments)}var l=null,c=null,d={};function f(e,t){void 0===t&&(t=null);for(var n=d[e]||{},r=0,o=Object.values(i.MediaEngineContextTypes);r<o.length;r++){var a=o[r];t!==a&&null!=t||delete n[a]}d[e]=n}var _=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var o=r.prototype;return o.getStreamId=function(e,t){var n,r;return void 0===t&&(t=i.MediaEngineContextTypes.DEFAULT),null===(n=d[e])||void 0===n||null===(r=n[t])||void 0===r?void 0:r.streamId},o.getUserStreamData=function(e,t){var n;return void 0===t&&(t=i.MediaEngineContextTypes.DEFAULT),null===(n=d[e])||void 0===n?void 0:n[t]},r}(r.default.Store))(o.default,{CONNECTION_OPEN:function(e){var t=e.user,n=e.sessionId;l=t.id,c=n},OVERLAY_INITIALIZE:function(e){var t=e.user,n=e.sessionId;l=t.id,c=n},RTC_CONNECTION_VIDEO:function(e){var t=e.userId,n=e.streamId,r=e.context;null!=n?function(e,t,n){var r,i=d[e]||{};d[e]=u({},i,((r={})[n]={streamId:t},r))}(t,n,r):f(t,r)},VOICE_STATE_UPDATE:function(e){var t=e.userId,n=e.sessionId,r=e.channelId;if(null==r&&t===l){if(n!==c)return!1;d={}}else{if(null!=r||null==d[t])return!1;f(t)}}});t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OAuth2Page=v,t.OAuth2Modal=T;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(262),a=E(n(274)),s=E(n(1189)),u=n(197),l=E(n(284)),c=n(487),d=n(259),f=n(1),_=E(n(6)),p=E(n(5785));function E(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function m(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.children,n=i.useState(u.WaveStates.INITIAL),r=n[0],E=n[1],h=i.useContext(l.default),v=i.useCallback((function(e){E((function(t){return Math.max(t,e)}))}),[]);return i.useEffect((function(){a.default.updateLocalSettings({theme:f.ThemeTypes.DARK})}),[]),h===f.ThemeTypes.LIGHT?null:m(s.default,{className:(0,d.getThemeClass)(h),splash:(0,c.getArtForPath)(),waveState:r,showLogo:!0,updateWaveState:v},void 0,m(o.Helmet,{title:_.default.Messages.OAUTH2_TITLE}),m("div",{className:p.default.oauth2Wrapper},void 0,t))}function T(e){var t=e.children;return m("div",{className:p.default.oauth2Wrapper},void 0,t)}v.displayName="OAuth2Page",T.displayName="OAuth2Modal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=h(n(0)),i=p(n(2)),o=p(n(12)),a=n(41),s=p(n(13)),u=h(n(285)),l=p(n(105)),c=h(n(5489)),d=p(n(5490)),f=p(n(5491)),_=n(1);function p(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var m=window.matchMedia("(prefers-reduced-motion: reduce)"),v=window.matchMedia("(prefers-color-scheme: dark)"),T=window.matchMedia("(prefers-color-scheme: light)"),g=5;function I(){var e=o.default.getCurrentUser();return null==e||Date.now()-+e.createdAt<864e5}var S={initBasic:function(){m.addListener(this.handleSystemPrefersReducedMotionChanged),this.handleSystemPrefersReducedMotionChanged(m),v.addListener(this.handleSystemPrefersColorSchemeChanged),T.addListener(this.handleSystemPrefersColorSchemeChanged),this.handleSystemPrefersColorSchemeChanged()},init:function(){var e=this;this.initBasic(),i.default.subscribe(_.ActionTypes.ACCESSIBILITY_SUPPORT_CHANGED,(function(t){var n=t.enabled;return e.maybeShowDetectionModal(n)})),i.default.subscribe(_.ActionTypes.CONNECTION_OPEN,(function(){c.isAccessibilitySupportEnabled().then((function(t){e.maybeShowDetectionModal(t)}))})),i.default.subscribe(_.ActionTypes.ACCESSIBILITY_COLORBLIND_TOGGLE,(function(){s.default.track(_.AnalyticEvents.LOCAL_SETTINGS_UPDATED,{colorblind_enabled:l.default.colorblindMode})})),i.default.subscribe(_.ActionTypes.ACCESSIBILITY_SET_SATURATION,(function(e){s.default.track(_.AnalyticEvents.LOCAL_SETTINGS_UPDATED,{saturation_level:e.saturation})}))},maybeShowDetectionModal:function(e){!e||I()||l.default.accessibilitySupportEnabled||l.default.detectionModalSeen||(0,a.openModal)((function(e){return r.createElement(d.default,e)}))},maybeShowKeyboardNavigationExplainerModal:function(){g=Math.max(g-1,0),I()||l.default.keyboardNavigationExplainerModalSeen||0!==g||(0,a.openModal)((function(e){return r.createElement(f.default,e)}))},handleSystemPrefersReducedMotionChanged:function(e){i.default.wait((function(){u.systemPrefersReducedMotionChanged(e.matches?"reduce":"no-preference")}))},handleSystemPrefersColorSchemeChanged:function(){var e;v.matches?e=_.ThemeTypes.DARK:T.matches&&(e=_.ThemeTypes.LIGHT),i.default.wait((function(){u.systemPrefersColorSchemeChanged(e)}))}};t.default=S},function(e,t,n){(function(t){(function(){var n,r,i,o,a,s;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=t&&t.hrtime?(e.exports=function(){return(n()-a)/1e6},r=t.hrtime,o=(n=function(){var e;return 1e9*(e=r())[0]+e[1]})(),s=1e9*t.uptime(),a=o-s):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(this,n(100))},function(e,t,n){"use strict";if(null==window.GLOBAL_ENV&&(window.GLOBAL_ENV={}),!(null!=window.GLOBAL_ENV.API_VERSION||null!=window.GLOBAL_ENV.API_ENDPOINT||null!=window.GLOBAL_ENV.GATEWAY_ENDPOINT||null!=window.GLOBAL_ENV.WEBAPP_ENDPOINT||null!=window.GLOBAL_ENV.CDN_HOST||null!=window.GLOBAL_ENV.ASSET_ENDPOINT||null!=window.GLOBAL_ENV.MEDIA_PROXY_ENDPOINT||null!=window.GLOBAL_ENV.WIDGET_ENDPOINT||null!=window.GLOBAL_ENV.INVITE_HOST||null!=window.GLOBAL_ENV.GUILD_TEMPLATE_HOST||null!=window.GLOBAL_ENV.GIFT_CODE_HOST||null!=window.GLOBAL_ENV.RELEASE_CHANNEL||null!=window.GLOBAL_ENV.MARKETING_ENDPOINT||null!=window.GLOBAL_ENV.NETWORKING_ENDPOINT||null!=window.GLOBAL_ENV.BRAINTREE_KEY||null!=window.GLOBAL_ENV.STRIPE_KEY||null!=window.GLOBAL_ENV.PROJECT_ENV||null!=window.GLOBAL_ENV.REMOTE_AUTH_ENDPOINT||null!=window.GLOBAL_ENV.ALGOLIA_KEY||null!=window.GLOBAL_ENV.RTC_LATENCY_ENDPOINT||null!=window.GLOBAL_ENV.ACTIVITY_APPLICATION_HOST))throw window.alert("Global environment variables not set!"),new Error("Global environment variables not set! Aborting.")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(1449)),i=l(n(1450)),o=l(n(1451)),a=l(n(212)),s=l(n(1452)),u=l(n(1453));function l(e){return e&&e.__esModule?e:{default:e}}var c={Store:a.default,CachedStore:r.default,PersistedStore:o.default,StoreListenerMixin:s.default,LazyStoreListenerMixin:i.default,connectStores:u.default,initialize:function(){a.default.initialize()},get initialized(){return a.default.initialized},destroy:function(){o.default.destroy()}};t.default=c},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(e){return null!==e&&"object"===r(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setUpdateRules=f,t.getMessage=function(e,t){null==l&&f(n(1475).default);e=e.replace(/^\n+|\n+$/g,"");var r=a.FORMAT_RE.test(e),i=a.MARKDOWN_RE.test(e);return r||i?new d(e,t,i):e},t.FormattedMessage=void 0;var r=u(n(783)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(101)),o=u(n(1473)),a=n(1474);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(e){return e&&e.__esModule?e:{default:e}}var l,c,d=function(){function e(e,t,n){this.message=n?e:e.replace(a.UNSAFE_RE_ALL,""),this.hasMarkdown=n,this.intMessage=new r.default(this.message,t)}var t=e.prototype;return t.format=function(e){if(!this.hasMarkdown)return this.intMessage.format(e);var t=this.getContext(e),n=t[0],r=t[1];return l(this.intMessage.format(n),n,r)},t.astFormat=function(e){var t=this.getContext(e),n=t[0],r=t[1];return c(this.intMessage.format(n),n,r)},t.plainFormat=function(e){return this.intMessage.format(e)},t.getContext=function(e){var t=e,n={};if(a.UNSAFE_RE.test(this.message))for(var r=0,i=0,o=Object.entries(t);i<o.length;i++){var s=o[i],u=s[0],l=s[1];this.message.includes("!!{"+u+"}!!")&&(n[++r]=l,t[u]=r)}return[t,n]},e}();function f(e){var t,n;l=function(e,t){var n=i.default.parserFor(t(e)),r=i.default.reactFor(i.default.ruleOutput(e,"react"));return function(e,t,i){var o=!e.includes("\n\n");return o||(e+="\n\n"),r(n(e,{inline:o,context:t,unsafeContext:i}))}}(o.default,e),t=o.default,n=i.default.parserFor(t),c=function(e,t,r){return n(e+"\n\n",{inline:!1,context:t,unsafeContext:r})}}t.FormattedMessage=d},function(e,t,n){"use strict";var r=n(1465).default;n(1472),(t=e.exports=r).default=t},function(e,t,n){"use strict";t.extend=function(e){var t,n,i,o,a=Array.prototype.slice.call(arguments,1);for(t=0,n=a.length;t<n;t+=1)if(i=a[t])for(o in i)r.call(i,o)&&(e[o]=i[o]);return e};var r=Object.prototype.hasOwnProperty;t.hop=r},function(e,t,n){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,n,o,a){var s=r(t),u=i[e][r(t)];return 2===s&&(u=u[n?0:1]),u.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(t,i,o,a){var s=n(t),u=r[e][n(t)];return 2===s&&(u=u[i?0:1]),u.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,i;return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+(r=+e,i={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";var t="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");function r(e){return e>1&&e<5&&1!=~~(e/10)}function i(e,t,n,i){var o=e+" ";switch(n){case"s":return t||i?"pár sekund":"pár sekundami";case"ss":return t||i?o+(r(e)?"sekundy":"sekund"):o+"sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?o+(r(e)?"minuty":"minut"):o+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?o+(r(e)?"hodiny":"hodin"):o+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?o+(r(e)?"dny":"dní"):o+"dny";case"M":return t||i?"měsíc":"měsícem";case"MM":return t||i?o+(r(e)?"měsíce":"měsíců"):o+"měsíci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?o+(r(e)?"roky":"let"):o+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsParse:function(e,t){var n,r=[];for(n=0;n<12;n++)r[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return r}(t,n),shortMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(n),longMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(t),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,r=this._calendarEl[e],i=t&&t.hours();return((n=r)instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(r=r.apply(t)),r.replace("{}",i%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?i[n][2]?i[n][2]:i[n][1]:r?i[n][0]:i[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"ثانیه d%",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(5))},function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function r(e,r,i,o){var a="";switch(i){case"s":return o?"muutaman sekunnin":"muutama sekunti";case"ss":return o?"sekunnin":"sekuntia";case"m":return o?"minuutin":"minuutti";case"mm":a=o?"minuutin":"minuuttia";break;case"h":return o?"tunnin":"tunti";case"hh":a=o?"tunnin":"tuntia";break;case"d":return o?"päivän":"päivä";case"dd":a=o?"päivän":"päivää";break;case"M":return o?"kuukauden":"kuukausi";case"MM":a=o?"kuukauden":"kuukautta";break;case"y":return o?"vuoden":"vuosi";case"yy":a=o?"vuoden":"vuotta"}return a=function(e,r){return e<10?r?n[e]:t[e]:e}(e,o)+" "+a}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["thodde secondanim","thodde second"],ss:[e+" secondanim",e+" second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka horan","ek hor"],hh:[e+" horanim",e+" horam"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return t?i[n][0]:i[n][1]}e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokalli"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,r){var i=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"ss":return i+(r||t)?" másodperc":" másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return i+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return i+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return i+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return i+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return i+(r||t?" év":" éve")}return""}function r(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,r,i){var o=e+" ";switch(r){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?o+(n||i?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?o+(n||i?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return t(e)?o+(n||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return t(e)?n?o+"dagar":o+(i?"daga":"dögum"):n?o+"dagur":o+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return t(e)?n?o+"mánuðir":o+(i?"mánuði":"mánuðum"):n?o+"mánuður":o+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return t(e)?o+(n||i?"ár":"árum"):o+(n||i?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()<this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()<e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,n){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[n][0]:i[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,r){return t?i(n)[0]:r?i(n)[1]:i(n)[2]}function r(e){return e%10==0||e>10&&e<20}function i(e){return t[e].split("_")}function o(e,t,o,a){var s=e+" ";return 1===e?s+n(0,t,o[0],a):t?s+(r(e)?i(o)[1]:i(o)[0]):a?s+i(o)[1]:s+(r(e)?i(o)[1]:i(o)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"},ss:o,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function r(e,r,i){return e+" "+n(t[i],e,r)}function i(e,r,i){return n(t[i],e,r)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:r,m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(n(5))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(e,t,n,r){var i="";if(t)switch(n){case"s":i="काही सेकंद";break;case"ss":i="%d सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे"}else switch(n){case"s":i="काही सेकंदां";break;case"ss":i="%d सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां"}return i.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात्री"===t?e<4?e:e+12:"सकाळी"===t?e:"दुपारी"===t?e>=10?e:e+12:"सायंकाळी"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");function r(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function i(e,t,n){var i=e+" ";switch(n){case"ss":return i+(r(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return i+(r(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return i+(r(e)?"godziny":"godzin");case"MM":return i+(r(e)?"miesiące":"miesięcy");case"yy":return i+(r(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,r){return e?""===r?"("+n[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:i,m:i,mm:i,h:i,hh:i,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:i,y:"rok",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})}(n(5))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,i;return"m"===n?t?"минута":"минуту":e+" "+(r=+e,i={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n(5))},function(e,t,n){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function i(e,t,n,i){var o=e+" ";switch(n){case"s":return t||i?"pár sekúnd":"pár sekundami";case"ss":return t||i?o+(r(e)?"sekundy":"sekúnd"):o+"sekundami";case"m":return t?"minúta":i?"minútu":"minútou";case"mm":return t||i?o+(r(e)?"minúty":"minút"):o+"minútami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?o+(r(e)?"hodiny":"hodín"):o+"hodinami";case"d":return t||i?"deň":"dňom";case"dd":return t||i?o+(r(e)?"dni":"dní"):o+"dňami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?o+(r(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?o+(r(e)?"roky":"rokov"):o+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return i+=1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return i+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return i+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami";case"d":return t||r?"en dan":"enim dnem";case"dd":return i+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi";case"M":return t||r?"en mesec":"enim mesecem";case"MM":return i+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci";case"y":return t||r?"eno leto":"enim letom";case"yy":return i+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti"}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"e":1===t||2===t?"a":"e")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Пагоҳ соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,r,i){var o=function(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),i=e%10,o="";return n>0&&(o+=t[n]+"vatlh"),r>0&&(o+=(""!==o?" ":"")+t[r]+"maH"),i>0&&(o+=(""!==o?" ":"")+t[i]),""===o?"pagh":o}(e);switch(r){case"ss":return o+" lup";case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var r=e%10;return e+(t[r]||t[e%100-r]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return r||t?i[n][0]:i[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,i;return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+(r=+e,i={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}function n(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return e?n[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(5))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(5))},function(e,t,n){(function(r){var i=n(1506).default;r.IntlPolyfill=i,n(1509),r.Intl||(r.Intl=i,i.__applyLocaleSensitivePrototypes()),e.exports=t=i,t.default=i}).call(this,n(44))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(433))&&r.__esModule?r:{default:r},o=n(396);function a(e){return 0|e.mod(4294967296).toJSNumber()}function s(e){return 0|e.shiftRight(32).toJSNumber()}var u=function(){function e(){this._randomPrefix=0|Math.floor(4294967296*Math.random()),this._creationTime=(0,i.default)(Date.now()),this._sequenceNumber=0}return e.prototype.generate=function(e){var t=(0,i.default)(e),n=0|this._sequenceNumber++,r=new o.Buffer(24);return r.writeInt32LE(a(t),0,!0),r.writeInt32LE(s(t),4,!0),r.writeInt32LE(this._randomPrefix,8,!0),r.writeInt32LE(a(this._creationTime),12,!0),r.writeInt32LE(s(this._creationTime),16,!0),r.writeInt32LE(n,20,!0),r.toString("base64")},e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=Object.freeze({PRIMARY_DARK_100:"hsl(240, calc(var(--saturation-factor, 1) * 5.9%), 96.7%)",PRIMARY_DARK_130:"hsl(180, calc(var(--saturation-factor, 1) * 3.2%), 93.9%)",PRIMARY_DARK_160:"hsl(240, calc(var(--saturation-factor, 1) * 4.2%), 90.6%)",PRIMARY_DARK_200:"hsl(210, calc(var(--saturation-factor, 1) * 2.9%), 86.7%)",PRIMARY_DARK_230:"hsl(210, calc(var(--saturation-factor, 1) * 4.5%), 82.7%)",PRIMARY_DARK_260:"hsl(210, calc(var(--saturation-factor, 1) * 3.6%), 78.4%)",PRIMARY_DARK_300:"hsl(216, calc(var(--saturation-factor, 1) * 3.7%), 73.5%)",PRIMARY_DARK_330:"hsl(214, calc(var(--saturation-factor, 1) * 4%), 65.3%)",PRIMARY_DARK_360:"hsl(213, calc(var(--saturation-factor, 1) * 4.1%), 57.5%)",PRIMARY_DARK_400:"hsl(218, calc(var(--saturation-factor, 1) * 4.6%), 46.9%)",PRIMARY_DARK_430:"hsl(213, calc(var(--saturation-factor, 1) * 5%), 42.9%)",PRIMARY_DARK_460:"hsl(215, calc(var(--saturation-factor, 1) * 6.1%), 38.8%)",PRIMARY_DARK_500:"hsl(217, calc(var(--saturation-factor, 1) * 7.6%), 33.5%)",PRIMARY_DARK:"hsl(217, calc(var(--saturation-factor, 1) * 7.6%), 33.5%)",PRIMARY_DARK_530:"hsl(220, calc(var(--saturation-factor, 1) * 7.7%), 30.6%)",PRIMARY_DARK_560:"hsl(218, calc(var(--saturation-factor, 1) * 7.9%), 27.3%)",PRIMARY_DARK_600:"hsl(220, calc(var(--saturation-factor, 1) * 7.7%), 22.9%)",PRIMARY_DARK_630:"hsl(223, calc(var(--saturation-factor, 1) * 6.9%), 19.8%)",PRIMARY_DARK_660:"hsl(220, calc(var(--saturation-factor, 1) * 6.8%), 17.3%)",PRIMARY_DARK_700:"hsl(216, calc(var(--saturation-factor, 1) * 7.2%), 13.5%)",PRIMARY_DARK_730:"hsl(225, calc(var(--saturation-factor, 1) * 6.3%), 12.5%)",PRIMARY_DARK_760:"hsl(216, calc(var(--saturation-factor, 1) * 8.5%), 11.6%)",PRIMARY_DARK_800:"hsl(225, calc(var(--saturation-factor, 1) * 7.7%), 10.2%)",PRIMARY_DARK_830:"hsl(220, calc(var(--saturation-factor, 1) * 7.7%), 7.6%)",PRIMARY_DARK_860:"hsl(210, calc(var(--saturation-factor, 1) * 7.7%), 5.1%)",PRIMARY_DARK_900:"hsl(240, calc(var(--saturation-factor, 1) * 11.1%), 1.8%)",PRIMARY_LIGHT_100:"hsl(180, calc(var(--saturation-factor, 1) * 7.7%), 97.5%)",PRIMARY_LIGHT_130:"hsl(220, calc(var(--saturation-factor, 1) * 13%), 95.5%)",PRIMARY_LIGHT_160:"hsl(210, calc(var(--saturation-factor, 1) * 11.1%), 92.9%)",PRIMARY_LIGHT_200:"hsl(216, calc(var(--saturation-factor, 1) * 9.8%), 90%)",PRIMARY_LIGHT_230:"hsl(210, calc(var(--saturation-factor, 1) * 9.1%), 87.1%)",PRIMARY_LIGHT_260:"hsl(210, calc(var(--saturation-factor, 1) * 9.8%), 83.9%)",PRIMARY_LIGHT_300:"hsl(210, calc(var(--saturation-factor, 1) * 9.8%), 80%)",PRIMARY_LIGHT_330:"hsl(214, calc(var(--saturation-factor, 1) * 10.6%), 74.1%)",PRIMARY_LIGHT_360:"hsl(214, calc(var(--saturation-factor, 1) * 9.9%), 68.2%)",PRIMARY_LIGHT_400:"hsl(213, calc(var(--saturation-factor, 1) * 9.9%), 60.4%)",PRIMARY_LIGHT_430:"hsl(214, calc(var(--saturation-factor, 1) * 9.7%), 57.5%)",PRIMARY_LIGHT_460:"hsl(214, calc(var(--saturation-factor, 1) * 9.9%), 54.3%)",PRIMARY_LIGHT_500:"hsl(214, calc(var(--saturation-factor, 1) * 9.9%), 50.4%)",PRIMARY_LIGHT:"hsl(214, calc(var(--saturation-factor, 1) * 9.9%), 50.4%)",PRIMARY_LIGHT_530:"hsl(213, calc(var(--saturation-factor, 1) * 9.4%), 45.9%)",PRIMARY_LIGHT_560:"hsl(213, calc(var(--saturation-factor, 1) * 9.6%), 40.8%)",PRIMARY_LIGHT_600:"hsl(215, calc(var(--saturation-factor, 1) * 9.7%), 34.3%)",PRIMARY_LIGHT_630:"hsl(212, calc(var(--saturation-factor, 1) * 9.9%), 29.6%)",PRIMARY_LIGHT_660:"hsl(217, calc(var(--saturation-factor, 1) * 9.8%), 26.1%)",PRIMARY_LIGHT_700:"hsl(210, calc(var(--saturation-factor, 1) * 9.8%), 20%)",PRIMARY_LIGHT_730:"hsl(216, calc(var(--saturation-factor, 1) * 10.4%), 18.8%)",PRIMARY_LIGHT_760:"hsl(213, calc(var(--saturation-factor, 1) * 10.1%), 17.5%)",PRIMARY_LIGHT_800:"hsl(214, calc(var(--saturation-factor, 1) * 9.1%), 15.1%)",PRIMARY_LIGHT_830:"hsl(216, calc(var(--saturation-factor, 1) * 8.5%), 11.6%)",PRIMARY_LIGHT_860:"hsl(210, calc(var(--saturation-factor, 1) * 10.5%), 7.5%)",PRIMARY_LIGHT_900:"hsl(240, calc(var(--saturation-factor, 1) * 7.7%), 2.5%)",BRAND_100:"hsl(228, calc(var(--saturation-factor, 1) * 55.6%), 98.2%)",BRAND_130:"hsl(228, calc(var(--saturation-factor, 1) * 62.5%), 96.9%)",BRAND_160:"hsl(228, calc(var(--saturation-factor, 1) * 60%), 95.1%)",BRAND_200:"hsl(229, calc(var(--saturation-factor, 1) * 60%), 93.1%)",BRAND_230:"hsl(227, calc(var(--saturation-factor, 1) * 57.4%), 90.8%)",BRAND_260:"hsl(226, calc(var(--saturation-factor, 1) * 58.6%), 88.6%)",BRAND_300:"hsl(227, calc(var(--saturation-factor, 1) * 57.7%), 86.1%)",BRAND_330:"hsl(227, calc(var(--saturation-factor, 1) * 59.1%), 81.8%)",BRAND_360:"hsl(227, calc(var(--saturation-factor, 1) * 57.9%), 77.6%)",BRAND_400:"hsl(226, calc(var(--saturation-factor, 1) * 58%), 72%)",BRAND_430:"hsl(227, calc(var(--saturation-factor, 1) * 58.2%), 70%)",BRAND_460:"hsl(227, calc(var(--saturation-factor, 1) * 58.5%), 67.8%)",BRAND_500:"hsl(227, calc(var(--saturation-factor, 1) * 58.4%), 65.1%)",BRAND:"hsl(227, calc(var(--saturation-factor, 1) * 58.4%), 65.1%)",BRAND_530:"hsl(227, calc(var(--saturation-factor, 1) * 45.2%), 59.2%)",BRAND_560:"hsl(227, calc(var(--saturation-factor, 1) * 35.3%), 52.7%)",BRAND_600:"hsl(227, calc(var(--saturation-factor, 1) * 31%), 44.3%)",BRAND_630:"hsl(226, calc(var(--saturation-factor, 1) * 31.3%), 38.2%)",BRAND_660:"hsl(226, calc(var(--saturation-factor, 1) * 31%), 33.5%)",BRAND_700:"hsl(227, calc(var(--saturation-factor, 1) * 30.8%), 26.1%)",BRAND_730:"hsl(228, calc(var(--saturation-factor, 1) * 31.2%), 24.5%)",BRAND_760:"hsl(227, calc(var(--saturation-factor, 1) * 31.6%), 22.4%)",BRAND_800:"hsl(226, calc(var(--saturation-factor, 1) * 31.3%), 19.4%)",BRAND_830:"hsl(225, calc(var(--saturation-factor, 1) * 31.6%), 14.9%)",BRAND_860:"hsl(225, calc(var(--saturation-factor, 1) * 32%), 9.8%)",BRAND_900:"hsl(228, calc(var(--saturation-factor, 1) * 29.4%), 3.3%)",BRAND_NEW_100:"hsl(240, calc(var(--saturation-factor, 1) * 77.8%), 98.2%)",BRAND_NEW_130:"hsl(236, calc(var(--saturation-factor, 1) * 87.5%), 96.9%)",BRAND_NEW_160:"hsl(235, calc(var(--saturation-factor, 1) * 84.6%), 94.9%)",BRAND_NEW_200:"hsl(236, calc(var(--saturation-factor, 1) * 83.3%), 92.9%)",BRAND_NEW_230:"hsl(236, calc(var(--saturation-factor, 1) * 87%), 91%)",BRAND_NEW_260:"hsl(235, calc(var(--saturation-factor, 1) * 86.2%), 88.6%)",BRAND_NEW_300:"hsl(235, calc(var(--saturation-factor, 1) * 86.1%), 85.9%)",BRAND_NEW_330:"hsl(235, calc(var(--saturation-factor, 1) * 85.1%), 81.6%)",BRAND_NEW_360:"hsl(235, calc(var(--saturation-factor, 1) * 86.1%), 77.5%)",BRAND_NEW_400:"hsl(235, calc(var(--saturation-factor, 1) * 86.1%), 71.8%)",BRAND_NEW_430:"hsl(235, calc(var(--saturation-factor, 1) * 85.7%), 69.8%)",BRAND_NEW_460:"hsl(235, calc(var(--saturation-factor, 1) * 85.5%), 67.5%)",BRAND_NEW_500:"hsl(235, calc(var(--saturation-factor, 1) * 85.6%), 64.7%)",BRAND_NEW:"hsl(235, calc(var(--saturation-factor, 1) * 85.6%), 64.7%)",BRAND_NEW_530:"hsl(235, calc(var(--saturation-factor, 1) * 66.7%), 58.8%)",BRAND_NEW_560:"hsl(235, calc(var(--saturation-factor, 1) * 51.4%), 52.4%)",BRAND_NEW_600:"hsl(235, calc(var(--saturation-factor, 1) * 46.7%), 44.1%)",BRAND_NEW_630:"hsl(235, calc(var(--saturation-factor, 1) * 46.7%), 38.2%)",BRAND_NEW_660:"hsl(235, calc(var(--saturation-factor, 1) * 47.1%), 33.3%)",BRAND_NEW_700:"hsl(235, calc(var(--saturation-factor, 1) * 47%), 25.9%)",BRAND_NEW_730:"hsl(235, calc(var(--saturation-factor, 1) * 46.8%), 24.3%)",BRAND_NEW_760:"hsl(234, calc(var(--saturation-factor, 1) * 46.9%), 22.2%)",BRAND_NEW_800:"hsl(235, calc(var(--saturation-factor, 1) * 47.5%), 19.4%)",BRAND_NEW_830:"hsl(235, calc(var(--saturation-factor, 1) * 47.4%), 14.9%)",BRAND_NEW_860:"hsl(235, calc(var(--saturation-factor, 1) * 46.9%), 9.6%)",BRAND_NEW_900:"hsl(233, calc(var(--saturation-factor, 1) * 50%), 3.1%)",STATUS_RED_100:"hsl(0, calc(var(--saturation-factor, 1) * 80%), 98%)",STATUS_RED_130:"hsl(0, calc(var(--saturation-factor, 1) * 78.9%), 96.3%)",STATUS_RED_160:"hsl(0, calc(var(--saturation-factor, 1) * 80%), 94.1%)",STATUS_RED_200:"hsl(358, calc(var(--saturation-factor, 1) * 81%), 91.8%)",STATUS_RED_230:"hsl(359, calc(var(--saturation-factor, 1) * 81.5%), 89.4%)",STATUS_RED_260:"hsl(359, calc(var(--saturation-factor, 1) * 82.1%), 86.9%)",STATUS_RED_300:"hsl(358, calc(var(--saturation-factor, 1) * 83.1%), 83.7%)",STATUS_RED_330:"hsl(359, calc(var(--saturation-factor, 1) * 83.3%), 78.8%)",STATUS_RED_360:"hsl(359, calc(var(--saturation-factor, 1) * 82%), 73.9%)",STATUS_RED_400:"hsl(359, calc(var(--saturation-factor, 1) * 83%), 67.6%)",STATUS_RED_430:"hsl(359, calc(var(--saturation-factor, 1) * 83.1%), 65.3%)",STATUS_RED_460:"hsl(359, calc(var(--saturation-factor, 1) * 82.2%), 62.5%)",STATUS_RED_500:"hsl(359, calc(var(--saturation-factor, 1) * 82.6%), 59.4%)",STATUS_RED:"hsl(359, calc(var(--saturation-factor, 1) * 82.6%), 59.4%)",STATUS_RED_530:"hsl(359, calc(var(--saturation-factor, 1) * 66.7%), 54.1%)",STATUS_RED_560:"hsl(359, calc(var(--saturation-factor, 1) * 56.7%), 48%)",STATUS_RED_600:"hsl(359, calc(var(--saturation-factor, 1) * 56.3%), 40.4%)",STATUS_RED_630:"hsl(359, calc(var(--saturation-factor, 1) * 56.4%), 35.1%)",STATUS_RED_660:"hsl(359, calc(var(--saturation-factor, 1) * 56.4%), 30.6%)",STATUS_RED_700:"hsl(358, calc(var(--saturation-factor, 1) * 57%), 23.7%)",STATUS_RED_730:"hsl(359, calc(var(--saturation-factor, 1) * 56.1%), 22.4%)",STATUS_RED_760:"hsl(359, calc(var(--saturation-factor, 1) * 56.2%), 20.6%)",STATUS_RED_800:"hsl(359, calc(var(--saturation-factor, 1) * 56%), 17.8%)",STATUS_RED_830:"hsl(359, calc(var(--saturation-factor, 1) * 57.1%), 13.7%)",STATUS_RED_860:"hsl(0, calc(var(--saturation-factor, 1) * 56.5%), 9%)",STATUS_RED_900:"hsl(0, calc(var(--saturation-factor, 1) * 60%), 2.9%)",STATUS_YELLOW_100:"hsl(38, calc(var(--saturation-factor, 1) * 100%), 97.8%)",STATUS_YELLOW_130:"hsl(37, calc(var(--saturation-factor, 1) * 100%), 95.9%)",STATUS_YELLOW_160:"hsl(37, calc(var(--saturation-factor, 1) * 94.1%), 93.3%)",STATUS_YELLOW_200:"hsl(37, calc(var(--saturation-factor, 1) * 95.7%), 90.8%)",STATUS_YELLOW_230:"hsl(38, calc(var(--saturation-factor, 1) * 96.7%), 88%)",STATUS_YELLOW_260:"hsl(37, calc(var(--saturation-factor, 1) * 94.7%), 85.1%)",STATUS_YELLOW_300:"hsl(37, calc(var(--saturation-factor, 1) * 95.7%), 81.6%)",STATUS_YELLOW_330:"hsl(38, calc(var(--saturation-factor, 1) * 95.1%), 76.1%)",STATUS_YELLOW_360:"hsl(38, calc(var(--saturation-factor, 1) * 96%), 70.6%)",STATUS_YELLOW_400:"hsl(38, calc(var(--saturation-factor, 1) * 95.7%), 63.3%)",STATUS_YELLOW_430:"hsl(37, calc(var(--saturation-factor, 1) * 96%), 60.8%)",STATUS_YELLOW_460:"hsl(38, calc(var(--saturation-factor, 1) * 95.4%), 57.6%)",STATUS_YELLOW_500:"hsl(38, calc(var(--saturation-factor, 1) * 95.7%), 54.1%)",STATUS_YELLOW:"hsl(38, calc(var(--saturation-factor, 1) * 95.7%), 54.1%)",STATUS_YELLOW_530:"hsl(37, calc(var(--saturation-factor, 1) * 81%), 49.4%)",STATUS_YELLOW_560:"hsl(37, calc(var(--saturation-factor, 1) * 81.2%), 43.9%)",STATUS_YELLOW_600:"hsl(38, calc(var(--saturation-factor, 1) * 80.9%), 36.9%)",STATUS_YELLOW_630:"hsl(38, calc(var(--saturation-factor, 1) * 81.5%), 31.8%)",STATUS_YELLOW_660:"hsl(37, calc(var(--saturation-factor, 1) * 81.7%), 27.8%)",STATUS_YELLOW_700:"hsl(37, calc(var(--saturation-factor, 1) * 81.8%), 21.6%)",STATUS_YELLOW_730:"hsl(37, calc(var(--saturation-factor, 1) * 80.8%), 20.4%)",STATUS_YELLOW_760:"hsl(37, calc(var(--saturation-factor, 1) * 81.1%), 18.6%)",STATUS_YELLOW_800:"hsl(38, calc(var(--saturation-factor, 1) * 80.7%), 16.3%)",STATUS_YELLOW_830:"hsl(37, calc(var(--saturation-factor, 1) * 81.3%), 12.5%)",STATUS_YELLOW_860:"hsl(37, calc(var(--saturation-factor, 1) * 81%), 8.2%)",STATUS_YELLOW_900:"hsl(35, calc(var(--saturation-factor, 1) * 85.7%), 2.7%)",STATUS_GREEN_100:"hsl(137, calc(var(--saturation-factor, 1) * 77.8%), 98.2%)",STATUS_GREEN_130:"hsl(137, calc(var(--saturation-factor, 1) * 87.5%), 96.9%)",STATUS_GREEN_160:"hsl(139, calc(var(--saturation-factor, 1) * 84.6%), 94.9%)",STATUS_GREEN_200:"hsl(139, calc(var(--saturation-factor, 1) * 83.8%), 92.7%)",STATUS_GREEN_230:"hsl(139, calc(var(--saturation-factor, 1) * 87.2%), 90.8%)",STATUS_GREEN_260:"hsl(138, calc(var(--saturation-factor, 1) * 86.2%), 88.6%)",STATUS_GREEN_300:"hsl(138, calc(var(--saturation-factor, 1) * 86.1%), 85.9%)",STATUS_GREEN_330:"hsl(139, calc(var(--saturation-factor, 1) * 85.3%), 81.4%)",STATUS_GREEN_360:"hsl(139, calc(var(--saturation-factor, 1) * 86.2%), 77.3%)",STATUS_GREEN_400:"hsl(138, calc(var(--saturation-factor, 1) * 86.1%), 71.8%)",STATUS_GREEN_430:"hsl(138, calc(var(--saturation-factor, 1) * 85.8%), 69.6%)",STATUS_GREEN_460:"hsl(139, calc(var(--saturation-factor, 1) * 85.6%), 67.3%)",STATUS_GREEN_500:"hsl(139, calc(var(--saturation-factor, 1) * 85.6%), 64.5%)",STATUS_GREEN:"hsl(139, calc(var(--saturation-factor, 1) * 85.6%), 64.5%)",STATUS_GREEN_530:"hsl(139, calc(var(--saturation-factor, 1) * 66.8%), 58.6%)",STATUS_GREEN_560:"hsl(139, calc(var(--saturation-factor, 1) * 51.6%), 52.2%)",STATUS_GREEN_600:"hsl(139, calc(var(--saturation-factor, 1) * 47.3%), 43.9%)",STATUS_GREEN_630:"hsl(139, calc(var(--saturation-factor, 1) * 47.4%), 38%)",STATUS_GREEN_660:"hsl(139, calc(var(--saturation-factor, 1) * 47.1%), 33.3%)",STATUS_GREEN_700:"hsl(138, calc(var(--saturation-factor, 1) * 47%), 25.9%)",STATUS_GREEN_730:"hsl(138, calc(var(--saturation-factor, 1) * 46.8%), 24.3%)",STATUS_GREEN_760:"hsl(138, calc(var(--saturation-factor, 1) * 46.9%), 22.2%)",STATUS_GREEN_800:"hsl(139, calc(var(--saturation-factor, 1) * 47.5%), 19.4%)",STATUS_GREEN_830:"hsl(138, calc(var(--saturation-factor, 1) * 47.4%), 14.9%)",STATUS_GREEN_860:"hsl(138, calc(var(--saturation-factor, 1) * 46.9%), 9.6%)",STATUS_GREEN_900:"hsl(143, calc(var(--saturation-factor, 1) * 50%), 3.1%)",STATUS_GREY_100:"hsl(180, calc(var(--saturation-factor, 1) * 7.7%), 97.5%)",STATUS_GREY_130:"hsl(220, calc(var(--saturation-factor, 1) * 13%), 95.5%)",STATUS_GREY_160:"hsl(210, calc(var(--saturation-factor, 1) * 11.1%), 92.9%)",STATUS_GREY_200:"hsl(216, calc(var(--saturation-factor, 1) * 9.8%), 90%)",STATUS_GREY_230:"hsl(210, calc(var(--saturation-factor, 1) * 9.1%), 87.1%)",STATUS_GREY_260:"hsl(210, calc(var(--saturation-factor, 1) * 9.8%), 83.9%)",STATUS_GREY_300:"hsl(210, calc(var(--saturation-factor, 1) * 9.8%), 80%)",STATUS_GREY_330:"hsl(214, calc(var(--saturation-factor, 1) * 10.6%), 74.1%)",STATUS_GREY_360:"hsl(214, calc(var(--saturation-factor, 1) * 9.9%), 68.2%)",STATUS_GREY_400:"hsl(213, calc(var(--saturation-factor, 1) * 9.9%), 60.4%)",STATUS_GREY_430:"hsl(214, calc(var(--saturation-factor, 1) * 9.7%), 57.5%)",STATUS_GREY_460:"hsl(214, calc(var(--saturation-factor, 1) * 9.9%), 54.3%)",STATUS_GREY_500:"hsl(214, calc(var(--saturation-factor, 1) * 9.9%), 50.4%)",STATUS_GREY:"hsl(214, calc(var(--saturation-factor, 1) * 9.9%), 50.4%)",STATUS_GREY_530:"hsl(213, calc(var(--saturation-factor, 1) * 9.4%), 45.9%)",STATUS_GREY_560:"hsl(213, calc(var(--saturation-factor, 1) * 9.6%), 40.8%)",STATUS_GREY_600:"hsl(215, calc(var(--saturation-factor, 1) * 9.7%), 34.3%)",STATUS_GREY_630:"hsl(212, calc(var(--saturation-factor, 1) * 9.9%), 29.6%)",STATUS_GREY_660:"hsl(217, calc(var(--saturation-factor, 1) * 9.8%), 26.1%)",STATUS_GREY_700:"hsl(210, calc(var(--saturation-factor, 1) * 9.8%), 20%)",STATUS_GREY_730:"hsl(216, calc(var(--saturation-factor, 1) * 10.4%), 18.8%)",STATUS_GREY_760:"hsl(213, calc(var(--saturation-factor, 1) * 10.1%), 17.5%)",STATUS_GREY_800:"hsl(214, calc(var(--saturation-factor, 1) * 9.1%), 15.1%)",STATUS_GREY_830:"hsl(216, calc(var(--saturation-factor, 1) * 8.5%), 11.6%)",STATUS_GREY_860:"hsl(210, calc(var(--saturation-factor, 1) * 10.5%), 7.5%)",STATUS_GREY_900:"hsl(240, calc(var(--saturation-factor, 1) * 7.7%), 2.5%)",STATUS_ORANGE_100:"hsl(18, calc(var(--saturation-factor, 1) * 100%), 98%)",STATUS_ORANGE_130:"hsl(23, calc(var(--saturation-factor, 1) * 90%), 96.1%)",STATUS_ORANGE_160:"hsl(21, calc(var(--saturation-factor, 1) * 93.5%), 93.9%)",STATUS_ORANGE_200:"hsl(22, calc(var(--saturation-factor, 1) * 90.7%), 91.6%)",STATUS_ORANGE_230:"hsl(22, calc(var(--saturation-factor, 1) * 89.5%), 88.8%)",STATUS_ORANGE_260:"hsl(22, calc(var(--saturation-factor, 1) * 91.4%), 86.3%)",STATUS_ORANGE_300:"hsl(22, calc(var(--saturation-factor, 1) * 90.7%), 83.1%)",STATUS_ORANGE_330:"hsl(21, calc(var(--saturation-factor, 1) * 91.1%), 78%)",STATUS_ORANGE_360:"hsl(21, calc(var(--saturation-factor, 1) * 91.3%), 72.9%)",STATUS_ORANGE_400:"hsl(21, calc(var(--saturation-factor, 1) * 90.8%), 66.1%)",STATUS_ORANGE_430:"hsl(22, calc(var(--saturation-factor, 1) * 90.3%), 63.7%)",STATUS_ORANGE_460:"hsl(22, calc(var(--saturation-factor, 1) * 91%), 61%)",STATUS_ORANGE_500:"hsl(21, calc(var(--saturation-factor, 1) * 90.7%), 57.6%)",STATUS_ORANGE:"hsl(21, calc(var(--saturation-factor, 1) * 90.7%), 57.6%)",STATUS_ORANGE_530:"hsl(21, calc(var(--saturation-factor, 1) * 73.6%), 52.5%)",STATUS_ORANGE_560:"hsl(21, calc(var(--saturation-factor, 1) * 66.4%), 46.7%)",STATUS_ORANGE_600:"hsl(21, calc(var(--saturation-factor, 1) * 67%), 39.2%)",STATUS_ORANGE_630:"hsl(21, calc(var(--saturation-factor, 1) * 66.5%), 33.9%)",STATUS_ORANGE_660:"hsl(21, calc(var(--saturation-factor, 1) * 66.9%), 29.6%)",STATUS_ORANGE_700:"hsl(22, calc(var(--saturation-factor, 1) * 66.1%), 23.1%)",STATUS_ORANGE_730:"hsl(22, calc(var(--saturation-factor, 1) * 67.3%), 21.6%)",STATUS_ORANGE_760:"hsl(21, calc(var(--saturation-factor, 1) * 66.3%), 19.8%)",STATUS_ORANGE_800:"hsl(21, calc(var(--saturation-factor, 1) * 66.3%), 17.5%)",STATUS_ORANGE_830:"hsl(21, calc(var(--saturation-factor, 1) * 67.2%), 13.1%)",STATUS_ORANGE_860:"hsl(22, calc(var(--saturation-factor, 1) * 68.2%), 8.6%)",STATUS_ORANGE_900:"hsl(24, calc(var(--saturation-factor, 1) * 71.4%), 2.7%)",FOCUS_PRIMARY_100:"hsl(195, calc(var(--saturation-factor, 1) * 85.7%), 97.3%)",FOCUS_PRIMARY_130:"hsl(196, calc(var(--saturation-factor, 1) * 91.7%), 95.3%)",FOCUS_PRIMARY_160:"hsl(195, calc(var(--saturation-factor, 1) * 89.7%), 92.4%)",FOCUS_PRIMARY_200:"hsl(197, calc(var(--saturation-factor, 1) * 92.5%), 89.6%)",FOCUS_PRIMARY_230:"hsl(197, calc(var(--saturation-factor, 1) * 91.3%), 86.5%)",FOCUS_PRIMARY_260:"hsl(197, calc(var(--saturation-factor, 1) * 90.8%), 82.9%)",FOCUS_PRIMARY_300:"hsl(197, calc(var(--saturation-factor, 1) * 92.5%), 79.2%)",FOCUS_PRIMARY_330:"hsl(197, calc(var(--saturation-factor, 1) * 91.4%), 72.7%)",FOCUS_PRIMARY_360:"hsl(197, calc(var(--saturation-factor, 1) * 91.8%), 66.7%)",FOCUS_PRIMARY_400:"hsl(197, calc(var(--saturation-factor, 1) * 91.5%), 58.2%)",FOCUS_PRIMARY_430:"hsl(197, calc(var(--saturation-factor, 1) * 92.1%), 55.5%)",FOCUS_PRIMARY_460:"hsl(197, calc(var(--saturation-factor, 1) * 91.8%), 52%)",FOCUS_PRIMARY_500:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 47.8%)",FOCUS_PRIMARY:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 47.8%)",FOCUS_PRIMARY_530:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 43.5%)",FOCUS_PRIMARY_560:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 38.8%)",FOCUS_PRIMARY_600:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 32.5%)",FOCUS_PRIMARY_630:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 28.2%)",FOCUS_PRIMARY_660:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 24.7%)",FOCUS_PRIMARY_700:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 19.2%)",FOCUS_PRIMARY_730:"hsl(196, calc(var(--saturation-factor, 1) * 100%), 17.8%)",FOCUS_PRIMARY_760:"hsl(196, calc(var(--saturation-factor, 1) * 100%), 16.5%)",FOCUS_PRIMARY_800:"hsl(196, calc(var(--saturation-factor, 1) * 100%), 14.3%)",FOCUS_PRIMARY_830:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 11%)",FOCUS_PRIMARY_860:"hsl(198, calc(var(--saturation-factor, 1) * 100%), 7.3%)",FOCUS_PRIMARY_900:"hsl(195, calc(var(--saturation-factor, 1) * 100%), 2.4%)",LINK_100:"hsl(195, calc(var(--saturation-factor, 1) * 85.7%), 97.3%)",LINK_130:"hsl(196, calc(var(--saturation-factor, 1) * 91.7%), 95.3%)",LINK_160:"hsl(195, calc(var(--saturation-factor, 1) * 89.7%), 92.4%)",LINK_200:"hsl(197, calc(var(--saturation-factor, 1) * 92.5%), 89.6%)",LINK_230:"hsl(197, calc(var(--saturation-factor, 1) * 91.3%), 86.5%)",LINK_260:"hsl(197, calc(var(--saturation-factor, 1) * 90.8%), 82.9%)",LINK_300:"hsl(197, calc(var(--saturation-factor, 1) * 92.5%), 79.2%)",LINK_330:"hsl(197, calc(var(--saturation-factor, 1) * 91.4%), 72.7%)",LINK_360:"hsl(197, calc(var(--saturation-factor, 1) * 91.8%), 66.7%)",LINK_400:"hsl(197, calc(var(--saturation-factor, 1) * 91.5%), 58.2%)",LINK_430:"hsl(197, calc(var(--saturation-factor, 1) * 92.1%), 55.5%)",LINK_460:"hsl(197, calc(var(--saturation-factor, 1) * 91.8%), 52%)",LINK_500:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 47.8%)",LINK:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 47.8%)",LINK_530:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 43.5%)",LINK_560:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 38.8%)",LINK_600:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 32.5%)",LINK_630:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 28.2%)",LINK_660:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 24.7%)",LINK_700:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 19.2%)",LINK_730:"hsl(196, calc(var(--saturation-factor, 1) * 100%), 17.8%)",LINK_760:"hsl(196, calc(var(--saturation-factor, 1) * 100%), 16.5%)",LINK_800:"hsl(196, calc(var(--saturation-factor, 1) * 100%), 14.3%)",LINK_830:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 11%)",LINK_860:"hsl(198, calc(var(--saturation-factor, 1) * 100%), 7.3%)",LINK_900:"hsl(195, calc(var(--saturation-factor, 1) * 100%), 2.4%)",LINK_LOW_SATURATION_100:"hsl(195, calc(var(--saturation-factor, 1) * 100%), 97.6%)",LINK_LOW_SATURATION_130:"hsl(196, calc(var(--saturation-factor, 1) * 100%), 95.7%)",LINK_LOW_SATURATION_160:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 93.1%)",LINK_LOW_SATURATION_200:"hsl(196, calc(var(--saturation-factor, 1) * 100%), 90.6%)",LINK_LOW_SATURATION_230:"hsl(196, calc(var(--saturation-factor, 1) * 100%), 87.8%)",LINK_LOW_SATURATION_260:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 84.7%)",LINK_LOW_SATURATION_300:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 81.2%)",LINK_LOW_SATURATION_330:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 75.5%)",LINK_LOW_SATURATION_360:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 69.8%)",LINK_LOW_SATURATION_400:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 62.4%)",LINK_LOW_SATURATION_430:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 59.8%)",LINK_LOW_SATURATION_460:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 56.7%)",LINK_LOW_SATURATION_500:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 52.9%)",LINK_LOW_SATURATION:"hsl(197, calc(var(--saturation-factor, 1) * 100%), 52.9%)",LINK_LOW_SATURATION_530:"hsl(197, calc(var(--saturation-factor, 1) * 88.6%), 48.2%)",LINK_LOW_SATURATION_560:"hsl(197, calc(var(--saturation-factor, 1) * 89%), 42.9%)",LINK_LOW_SATURATION_600:"hsl(197, calc(var(--saturation-factor, 1) * 89.1%), 35.9%)",LINK_LOW_SATURATION_630:"hsl(197, calc(var(--saturation-factor, 1) * 88.7%), 31.2%)",LINK_LOW_SATURATION_660:"hsl(197, calc(var(--saturation-factor, 1) * 88.5%), 27.3%)",LINK_LOW_SATURATION_700:"hsl(197, calc(var(--saturation-factor, 1) * 88.9%), 21.2%)",LINK_LOW_SATURATION_730:"hsl(197, calc(var(--saturation-factor, 1) * 88.1%), 19.8%)",LINK_LOW_SATURATION_760:"hsl(197, calc(var(--saturation-factor, 1) * 89.2%), 18.2%)",LINK_LOW_SATURATION_800:"hsl(198, calc(var(--saturation-factor, 1) * 87.8%), 16.1%)",LINK_LOW_SATURATION_830:"hsl(197, calc(var(--saturation-factor, 1) * 90.3%), 12.2%)",LINK_LOW_SATURATION_860:"hsl(197, calc(var(--saturation-factor, 1) * 90%), 7.8%)",LINK_LOW_SATURATION_900:"hsl(200, calc(var(--saturation-factor, 1) * 85.7%), 2.7%)",LINK_LIGHT_100:"hsl(213, calc(var(--saturation-factor, 1) * 73.3%), 97.1%)",LINK_LIGHT_130:"hsl(213, calc(var(--saturation-factor, 1) * 76.9%), 94.9%)",LINK_LIGHT_160:"hsl(213, calc(var(--saturation-factor, 1) * 80.5%), 92%)",LINK_LIGHT_200:"hsl(212, calc(var(--saturation-factor, 1) * 78.9%), 88.8%)",LINK_LIGHT_230:"hsl(213, calc(var(--saturation-factor, 1) * 78.4%), 85.5%)",LINK_LIGHT_260:"hsl(212, calc(var(--saturation-factor, 1) * 78.5%), 81.8%)",LINK_LIGHT_300:"hsl(213, calc(var(--saturation-factor, 1) * 78.9%), 77.6%)",LINK_LIGHT_330:"hsl(212, calc(var(--saturation-factor, 1) * 78.5%), 70.8%)",LINK_LIGHT_360:"hsl(212, calc(var(--saturation-factor, 1) * 78.1%), 64.1%)",LINK_LIGHT_400:"hsl(213, calc(var(--saturation-factor, 1) * 78.2%), 55.1%)",LINK_LIGHT_430:"hsl(212, calc(var(--saturation-factor, 1) * 78%), 52%)",LINK_LIGHT_460:"hsl(212, calc(var(--saturation-factor, 1) * 83.7%), 48.2%)",LINK_LIGHT_500:"hsl(212, calc(var(--saturation-factor, 1) * 100%), 43.9%)",LINK_LIGHT:"hsl(212, calc(var(--saturation-factor, 1) * 100%), 43.9%)",LINK_LIGHT_530:"hsl(212, calc(var(--saturation-factor, 1) * 100%), 40%)",LINK_LIGHT_560:"hsl(212, calc(var(--saturation-factor, 1) * 100%), 35.5%)",LINK_LIGHT_600:"hsl(212, calc(var(--saturation-factor, 1) * 100%), 29.8%)",LINK_LIGHT_630:"hsl(212, calc(var(--saturation-factor, 1) * 100%), 25.9%)",LINK_LIGHT_660:"hsl(212, calc(var(--saturation-factor, 1) * 100%), 22.5%)",LINK_LIGHT_700:"hsl(213, calc(var(--saturation-factor, 1) * 100%), 17.6%)",LINK_LIGHT_730:"hsl(212, calc(var(--saturation-factor, 1) * 100%), 16.5%)",LINK_LIGHT_760:"hsl(213, calc(var(--saturation-factor, 1) * 100%), 15.1%)",LINK_LIGHT_800:"hsl(212, calc(var(--saturation-factor, 1) * 100%), 13.1%)",LINK_LIGHT_830:"hsl(212, calc(var(--saturation-factor, 1) * 100%), 10.2%)",LINK_LIGHT_860:"hsl(214, calc(var(--saturation-factor, 1) * 100%), 6.7%)",LINK_LIGHT_900:"hsl(213, calc(var(--saturation-factor, 1) * 100%), 2.2%)",WHITE_100:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 100%)",WHITE_130:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 100%)",WHITE_160:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 100%)",WHITE_200:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 100%)",WHITE_230:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 100%)",WHITE_260:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 100%)",WHITE_300:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 100%)",WHITE_330:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 100%)",WHITE_360:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 100%)",WHITE_400:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 100%)",WHITE_430:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 100%)",WHITE_460:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 100%)",WHITE_500:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 100%)",WHITE:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 100%)",WHITE_530:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 91%)",WHITE_560:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 81.2%)",WHITE_600:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 67.8%)",WHITE_630:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 58.8%)",WHITE_660:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 51.4%)",WHITE_700:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 40%)",WHITE_730:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 37.3%)",WHITE_760:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 34.5%)",WHITE_800:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 30.2%)",WHITE_830:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 23.1%)",WHITE_860:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 14.9%)",WHITE_900:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 5.1%)",BLACK_100:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 94.9%)",BLACK_130:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 91%)",BLACK_160:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 85.5%)",BLACK_200:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 80%)",BLACK_230:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 74.1%)",BLACK_260:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 67.5%)",BLACK_300:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 60%)",BLACK_330:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 47.8%)",BLACK_360:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 36.1%)",BLACK_400:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 20%)",BLACK_430:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 14.5%)",BLACK_460:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 7.8%)",BLACK_500:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 0%)",BLACK:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 0%)",BLACK_530:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 0%)",BLACK_560:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 0%)",BLACK_600:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 0%)",BLACK_630:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 0%)",BLACK_660:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 0%)",BLACK_700:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 0%)",BLACK_730:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 0%)",BLACK_760:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 0%)",BLACK_800:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 0%)",BLACK_830:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 0%)",BLACK_860:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 0%)",BLACK_900:"hsl(0, calc(var(--saturation-factor, 1) * 0%), 0%)",PREMIUM_TIER_2_PURPLE_500:"hsl(270, calc(var(--saturation-factor, 1) * 86.7%), 70.6%)",PREMIUM_TIER_2_PURPLE:"hsl(270, calc(var(--saturation-factor, 1) * 86.7%), 70.6%)",PREMIUM_TIER_2_PINK_500:"hsl(342, calc(var(--saturation-factor, 1) * 58%), 72.9%)",PREMIUM_TIER_2_PINK:"hsl(342, calc(var(--saturation-factor, 1) * 58%), 72.9%)",PREMIUM_TIER_1_PURPLE_500:"hsl(244, calc(var(--saturation-factor, 1) * 100%), 84.1%)",PREMIUM_TIER_1_PURPLE:"hsl(244, calc(var(--saturation-factor, 1) * 100%), 84.1%)",PREMIUM_TIER_1_BLUE_500:"hsl(228, calc(var(--saturation-factor, 1) * 86.7%), 70.6%)",PREMIUM_TIER_1_BLUE:"hsl(228, calc(var(--saturation-factor, 1) * 86.7%), 70.6%)",PREMIUM_GUILD_PINK_500:"hsl(302, calc(var(--saturation-factor, 1) * 100%), 72.5%)",PREMIUM_GUILD_PINK:"hsl(302, calc(var(--saturation-factor, 1) * 100%), 72.5%)",PREMIUM_GUILD_PURPLE_500:"hsl(269, calc(var(--saturation-factor, 1) * 83.8%), 71%)",PREMIUM_GUILD_PURPLE:"hsl(269, calc(var(--saturation-factor, 1) * 83.8%), 71%)",PREMIUM_GUILD_BLUE_500:"hsl(221, calc(var(--saturation-factor, 1) * 70%), 55.5%)",PREMIUM_GUILD_BLUE:"hsl(221, calc(var(--saturation-factor, 1) * 70%), 55.5%)",HYPESQUAD_HOUSE_1_500:"hsl(253, calc(var(--saturation-factor, 1) * 77%), 72.7%)",HYPESQUAD_HOUSE_1:"hsl(253, calc(var(--saturation-factor, 1) * 77%), 72.7%)",HYPESQUAD_HOUSE_2_500:"hsl(9, calc(var(--saturation-factor, 1) * 86.5%), 68%)",HYPESQUAD_HOUSE_2:"hsl(9, calc(var(--saturation-factor, 1) * 86.5%), 68%)",HYPESQUAD_HOUSE_3_500:"hsl(169, calc(var(--saturation-factor, 1) * 69.1%), 56.9%)",HYPESQUAD_HOUSE_3:"hsl(169, calc(var(--saturation-factor, 1) * 69.1%), 56.9%)",GOLD_500:"hsl(46, calc(var(--saturation-factor, 1) * 100%), 54.9%)",GOLD:"hsl(46, calc(var(--saturation-factor, 1) * 100%), 54.9%)",PARTNER_500:"hsl(215, calc(var(--saturation-factor, 1) * 82.8%), 59%)",PARTNER:"hsl(215, calc(var(--saturation-factor, 1) * 82.8%), 59%)",SKYPE_500:"hsl(196, calc(var(--saturation-factor, 1) * 100%), 42.2%)",SKYPE:"hsl(196, calc(var(--saturation-factor, 1) * 100%), 42.2%)",BATTLENET_500:"hsl(200, calc(var(--saturation-factor, 1) * 100%), 44.9%)",BATTLENET:"hsl(200, calc(var(--saturation-factor, 1) * 100%), 44.9%)",STEAM_500:"hsl(215, calc(var(--saturation-factor, 1) * 35.1%), 14.5%)",STEAM:"hsl(215, calc(var(--saturation-factor, 1) * 35.1%), 14.5%)",LOL_500:"hsl(190, calc(var(--saturation-factor, 1) * 89.7%), 7.6%)",LOL:"hsl(190, calc(var(--saturation-factor, 1) * 89.7%), 7.6%)",TWITCH_500:"hsl(262, calc(var(--saturation-factor, 1) * 46.8%), 39.8%)",TWITCH:"hsl(262, calc(var(--saturation-factor, 1) * 46.8%), 39.8%)",YOUTUBE_500:"hsl(0, calc(var(--saturation-factor, 1) * 72.8%), 46.1%)",YOUTUBE:"hsl(0, calc(var(--saturation-factor, 1) * 72.8%), 46.1%)",TWITTER_500:"hsl(203, calc(var(--saturation-factor, 1) * 89.1%), 53.1%)",TWITTER:"hsl(203, calc(var(--saturation-factor, 1) * 89.1%), 53.1%)",REDDIT_500:"hsl(16, calc(var(--saturation-factor, 1) * 100%), 50%)",REDDIT:"hsl(16, calc(var(--saturation-factor, 1) * 100%), 50%)",SPOTIFY_500:"hsl(141, calc(var(--saturation-factor, 1) * 72.9%), 42%)",SPOTIFY:"hsl(141, calc(var(--saturation-factor, 1) * 72.9%), 42%)",FACEBOOK_500:"hsl(221, calc(var(--saturation-factor, 1) * 44.2%), 37.3%)",FACEBOOK:"hsl(221, calc(var(--saturation-factor, 1) * 44.2%), 37.3%)",SAMSUNG_500:"hsl(231, calc(var(--saturation-factor, 1) * 77.8%), 35.3%)",SAMSUNG:"hsl(231, calc(var(--saturation-factor, 1) * 77.8%), 35.3%)",XBOX_500:"hsl(120, calc(var(--saturation-factor, 1) * 77.1%), 27.5%)",XBOX:"hsl(120, calc(var(--saturation-factor, 1) * 77.1%), 27.5%)",GITHUB_500:"hsl(0, calc(var(--saturation-factor, 1) * 4.2%), 9.4%)",GITHUB:"hsl(0, calc(var(--saturation-factor, 1) * 4.2%), 9.4%)",TRANSPARENT:"transparent"});t.default=r},function(e,t,n){(function(e,r){var i;!function(o){t&&t.nodeType,e&&e.nodeType;var a="object"==typeof r&&r;a.global!==a&&a.window!==a&&a.self;var s,u=2147483647,l=/^xn--/,c=/[^\x20-\x7E]/,d=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=Math.floor,p=String.fromCharCode;function E(e){throw new RangeError(f[e])}function h(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function m(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+h((e=e.replace(d,".")).split("."),t).join(".")}function v(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function T(e){return h(e,(function(e){var t="";return e>65535&&(t+=p((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=p(e)})).join("")}function g(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function I(e,t,n){var r=0;for(e=n?_(e/700):e>>1,e+=_(e/t);e>455;r+=36)e=_(e/35);return _(r+36*e/(e+38))}function S(e){var t,n,r,i,o,a,s,l,c,d,f,p=[],h=e.length,m=0,v=128,g=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&E("not-basic"),p.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<h;){for(o=m,a=1,s=36;i>=h&&E("invalid-input"),((l=(f=e.charCodeAt(i++))-48<10?f-22:f-65<26?f-65:f-97<26?f-97:36)>=36||l>_((u-m)/a))&&E("overflow"),m+=l*a,!(l<(c=s<=g?1:s>=g+26?26:s-g));s+=36)a>_(u/(d=36-c))&&E("overflow"),a*=d;g=I(m-o,t=p.length+1,0==o),_(m/t)>u-v&&E("overflow"),v+=_(m/t),m%=t,p.splice(m++,0,v)}return T(p)}function y(e){var t,n,r,i,o,a,s,l,c,d,f,h,m,T,S,y=[];for(h=(e=v(e)).length,t=128,n=0,o=72,a=0;a<h;++a)(f=e[a])<128&&y.push(p(f));for(r=i=y.length,i&&y.push("-");r<h;){for(s=u,a=0;a<h;++a)(f=e[a])>=t&&f<s&&(s=f);for(s-t>_((u-n)/(m=r+1))&&E("overflow"),n+=(s-t)*m,t=s,a=0;a<h;++a)if((f=e[a])<t&&++n>u&&E("overflow"),f==t){for(l=n,c=36;!(l<(d=c<=o?1:c>=o+26?26:c-o));c+=36)S=l-d,T=36-d,y.push(p(g(d+S%T,0))),l=_(S/T);y.push(p(g(l,0))),o=I(n,m,r==i),n=0,++r}++n,++t}return y.join("")}s={version:"1.4.1",ucs2:{decode:v,encode:T},decode:S,encode:y,toASCII:function(e){return m(e,(function(e){return c.test(e)?"xn--"+y(e):e}))},toUnicode:function(e){return m(e,(function(e){return l.test(e)?S(e.slice(4).toLowerCase()):e}))}},void 0===(i=function(){return s}.call(t,n,t,e))||(e.exports=i)}()}).call(this,n(209)(e),n(44))},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.AccessibilityFeatureFlags=void 0,t.AccessibilityFeatureFlags=r,function(e){e[e.NONE=0]="NONE",e[e.SCREENREADER=1]="SCREENREADER",e[e.REDUCED_MOTION=2]="REDUCED_MOTION",e[e.REDUCED_TRANSPARENCY=4]="REDUCED_TRANSPARENCY",e[e.HIGH_CONTRAST=8]="HIGH_CONTRAST",e[e.BOLD_TEXT=16]="BOLD_TEXT",e[e.GRAYSCALE=32]="GRAYSCALE",e[e.INVERT_COLORS=64]="INVERT_COLORS",e[e.PREFERS_COLOR_SCHEME_LIGHT=128]="PREFERS_COLOR_SCHEME_LIGHT",e[e.PREFERS_COLOR_SCHEME_DARK=256]="PREFERS_COLOR_SCHEME_DARK",e[e.CHAT_FONT_SCALE_INCREASED=512]="CHAT_FONT_SCALE_INCREASED",e[e.CHAT_FONT_SCALE_DECREASED=1024]="CHAT_FONT_SCALE_DECREASED",e[e.ZOOM_LEVEL_INCREASED=2048]="ZOOM_LEVEL_INCREASED",e[e.ZOOM_LEVEL_DECREASED=4096]="ZOOM_LEVEL_DECREASED",e[e.MESSAGE_GROUP_SPACING_INCREASED=8192]="MESSAGE_GROUP_SPACING_INCREASED",e[e.MESSAGE_GROUP_SPACING_DECREASED=16384]="MESSAGE_GROUP_SPACING_DECREASED",e[e.DARK_SIDEBAR=32768]="DARK_SIDEBAR",e[e.REDUCED_MOTION_FROM_USER_SETTINGS=65536]="REDUCED_MOTION_FROM_USER_SETTINGS",e[e.SATURATION_LEVEL_DECREASED=131072]="SATURATION_LEVEL_DECREASED"}(r||(t.AccessibilityFeatureFlags=r={}))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.setLocale=function(e){l=s.default.loadPromise,r&&r.setLocale(e),s.default.setLocale(e),d(e)},t.updateLocaleLoadingStatus=d;var r,i=u(n(2)),o=n(914),a=n(1),s=u(n(6));function u(e){return e&&e.__esModule?e:{default:e}}r=n(731).default;var l,c=!1;function d(t,n){if(void 0===n&&(n=!1),!c||s.default.loadPromise!==l){c=!0,n?(0,o.setLocaleHack)(t):i.default.dirtyDispatch({type:a.ActionTypes.I18N_LOAD_START,locale:t});var u=[s.default.loadPromise];r&&u.push(r.loadPromise);var d=Promise.all(u);e((function(){d.then((function(){i.default.dirtyDispatch({type:a.ActionTypes.I18N_LOAD_SUCCESS,locale:t})})).catch((function(e){i.default.dirtyDispatch({type:a.ActionTypes.I18N_LOAD_ERROR,error:e,locale:t})}))}))}}}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setLocaleHack=function(e){c({locale:e})},t.default=void 0;var r=o(n(3)),i=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=!1,u=null,l=null;function c(e){var t=e.locale;s=!0,u=t}var d=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n);var i=r.prototype;return i.isLoading=function(){return s},i.getError=function(){return l},r}(r.default.Store))(i.default,{I18N_LOAD_START:c,I18N_LOAD_SUCCESS:function(e){e.locale===u&&(s=!1,l=null,u=null)},I18N_LOAD_ERROR:function(e){var t=e.error;e.locale===u&&(s=!1,l=null!=t?t:null,u=null)}});t.default=d},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Отваряне на Discord","SIGN_UP_NOW":"Регистрирай се сега"},"Footer":{"READY_TO_TRY_DISCORD":"Готов/а ли си да опиташ Discord? Безплатно е!","JOIN_OVER_PLAYERS_TODAY":"ПРИСЪЕДИНИ СЕ КЪМ НАД {num} МИЛИОНА ИГРАЧИ СЕГА"},"Navigation":{"HOME":"Начало","FEATURES":"Характеристики","DOWNLOAD":"Сваляне","PARTNERS":"Партньори","BLOG":"Блог","MORE":"Още","STATUS":"Състояние","FEEDBACK":"Обратна връзка","HELP_AND_SUPPORT":"Помощ и поддръжка","GUIDELINES":"Насоки","STREAMKIT":"Инструменти за стрийм","COMPANY":"Компания","JOBS":"Работа","SECURITY":"Сигурност","DEVELOPERS":"Разработчици","DOCUMENTATION":"Документация","BRANDING":"Брандиране","LOGIN":"Вписване","OPEN":"Отваряне","PRODUCT":"Продукт","RESOURCES":"Ресурси","APPLICATIONS":"Приложения","TERMS":"Условия","PRIVACY":"Поверителност","ABOUT":"За нас","VERIFICATION":"Потвърждение","PRESS_INQUIRIES":"Запитвания от пресата","OPEN_SOURCE":"Отворен код","SUPPORT":"Поддръжка","DEVELOPER_PORTAL":"Портал за разработчици","SELL_YOUR_GAME":"Продай своята игра","COMMUNITY":"Общност","WHY_DISCORD":"Защо Discord?","SAFETY":"Безопасност","SAFETY_CENTER":"Център за безопасност","MOD_ACADEMY":"Академия за модератори"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Твоето място за говорене с общности и приятели."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Otevřít Discord","SIGN_UP_NOW":"Zaregistruj se"},"Footer":{"READY_TO_TRY_DISCORD":"Chceš vyzkoušet Discord? Je zdarma!","JOIN_OVER_PLAYERS_TODAY":"PŘIPOJ SE JEŠTĚ DNES K VÍCE NEŽ {num} MILIONŮM HRÁČŮ"},"Navigation":{"HOME":"Úvod","FEATURES":"Funkce","DOWNLOAD":"Stáhnout","PARTNERS":"Partneři","MORE":"Více","STATUS":"Stav","FEEDBACK":"Zpětná vazba","HELP_AND_SUPPORT":"Pomoc a podpora","GUIDELINES":"Pravidla","STREAMKIT":"Streamovací sada","COMPANY":"Společnost","JOBS":"Pracovní pozice","SECURITY":"Bezpečnost","DEVELOPERS":"Vývojáři","DOCUMENTATION":"Dokumentace","BRANDING":"Značka","LOGIN":"Přihlásit se","OPEN":"Otevřít","PRODUCT":"Produkt","RESOURCES":"Zdroje","APPLICATIONS":"Aplikace","TERMS":"Podmínky","PRIVACY":"Ochrana osobních údajů","ABOUT":"O nás","VERIFICATION":"Ověření","PRESS_INQUIRIES":"Dotazy pro tisk","SUPPORT":"Podpora","DEVELOPER_PORTAL":"Portál pro vývojáře","SELL_YOUR_GAME":"Prodej svou hru","COMMUNITY":"Komunita","WHY_DISCORD":"Proč právě Discord?","SAFETY":"Bezpečnost","SAFETY_CENTER":"Bezpečnostní centrum","MOD_ACADEMY":"Akademie pro moderátory"},"NumberAbbreviations":{"MILLION":"{num} mil.","THOUSAND":"{num} tis."},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Místo, kde si můžeš popovídat s přáteli a komunitami."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Åbn Discord","SIGN_UP_NOW":"Tilmeld dig nu"},"Footer":{"READY_TO_TRY_DISCORD":"Klar til at prøve Discord? Det er gratis.","JOIN_OVER_PLAYERS_TODAY":"SLUT DIG TIL OVER {num} MILLIONER AF SPILLERE I DAG"},"Navigation":{"HOME":"Start","FEATURES":"Funktioner","PARTNERS":"Partnere","MORE":"Mere","HELP_AND_SUPPORT":"Hjælp og support","GUIDELINES":"Retningslinjer","COMPANY":"Selskab","JOBS":"Stillinger","SECURITY":"Sikkerhed","DEVELOPERS":"Udviklere","DOCUMENTATION":"Dokumentation","BRANDING":"Varemærke","LOGIN":"Log ind","OPEN":"Åbn","PRODUCT":"Produkt","RESOURCES":"Ressourcer","APPLICATIONS":"Applikationer","TERMS":"Betingelser","PRIVACY":"Fortrolighed","ABOUT":"Om","VERIFICATION":"Bekræftelse","PRESS_INQUIRIES":"Presseforespørgsler","DEVELOPER_PORTAL":"UdviklingsPortal","SELL_YOUR_GAME":"Sælg dit spil","WHY_DISCORD":"Hvorfor Discord?","SAFETY":"Sikkerhed","SAFETY_CENTER":"Sikkerhedscenter","MOD_ACADEMY":"Mod-Akademiet"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Dit sted, hvor du kan tale med communities og venner."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Discord öffnen","SIGN_UP_NOW":"Jetzt anmelden"},"Footer":{"READY_TO_TRY_DISCORD":"Worauf wartest du noch? Discord ist kostenlos!","JOIN_OVER_PLAYERS_TODAY":"KOMM UND SCHLIEẞ DICH MEHR ALS {num} MILLIONEN SPIELERN AN"},"Navigation":{"FEATURES":"Funktionen","DOWNLOAD":"Herunterladen","PARTNERS":"Partner","BLOG":"Blog","MORE":"Mehr","STATUS":"Status","FEEDBACK":"Feedback","HELP_AND_SUPPORT":"Hilfe & Support","GUIDELINES":"Richtlinien","HYPESQUAD":"HypeSquad","STREAMKIT":"StreamKit","COMPANY":"Unternehmen","JOBS":"Jobs","SECURITY":"Sicherheit","DEVELOPERS":"Entwickler","DOCUMENTATION":"Dokumentation","BRANDING":"Branding","LOGIN":"Anmelden","OPEN":"Öffnen","PRODUCT":"Produkt","RESOURCES":"Informationen","APPLICATIONS":"Anwendungen","TERMS":"Nutzungsbedingungen","PRIVACY":"Datenschutz","ABOUT":"Über","VERIFICATION":"Verifizierung","PRESS_INQUIRIES":"Presseanfragen","DEVELOPER_PORTAL":"Entwicklerportal","SELL_YOUR_GAME":"Verkaufe dein Spiel","WHY_DISCORD":"Warum Discord?","SAFETY":"Sicherheit","SAFETY_CENTER":"Sicherheitscenter","MOD_ACADEMY":"Mod-Akademie"},"NumberAbbreviations":{"MILLION":"{num} Mio.","THOUSAND":"{num} Tsd."},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Dein Ort, um mit deinen Communitys und Freunden zu reden."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Ανοίξτε το Discord","SIGN_UP_NOW":"Κάνε εγγραφή τώρα"},"Footer":{"READY_TO_TRY_DISCORD":"Έτοιμος να δοκιμάσεις το Discord; Είναι δωρεάν!","JOIN_OVER_PLAYERS_TODAY":"ΓΙΝΕ ΣΗΜΕΡΑ ΕΝΑΣ ΑΠΟ ΤΟΥΣ {num} ΕΚΑΤΟΜΜΥΡΙΑ ΠΑΙΚΤΕΣ"},"Navigation":{"HOME":"Αρχική","FEATURES":"Χαρακτηριστικά","DOWNLOAD":"Λήψη","PARTNERS":"Συνεργάτες","MORE":"Περισσότερα","STATUS":"Κατάσταση","FEEDBACK":"Σχόλια","HELP_AND_SUPPORT":"Βοήθεια & Υποστήριξη","GUIDELINES":"Οδηγίες","HYPESQUAD":"Ομάδα Φήμης HypeSquad","STREAMKIT":"Εργαλειοθήκη Streaming","COMPANY":"Εταιρεία","JOBS":"Θέσεις Εργασίας","SECURITY":"Ασφάλεια","DEVELOPERS":"Προγραμματιστές","DOCUMENTATION":"Τεκμηρίωση","BRANDING":"Εμπορικά Σήματα","LOGIN":"Είσοδος","OPEN":"Άνοιγμα","PRODUCT":"Προϊόν","RESOURCES":"Πόροι","APPLICATIONS":"Εφαρμογές","TERMS":"Όροι","PRIVACY":"Ιδιωτικό Απόρρητο","ABOUT":"Σχετικά","VERIFICATION":"Επαλήθευση","PRESS_INQUIRIES":"Ερωτήσεις από τον Τύπο","OPEN_SOURCE":"Ανοικτός Κώδικας","SUPPORT":"Υποστήριξη","DEVELOPER_PORTAL":"Πύλη Προγραμματιστών","SELL_YOUR_GAME":"Πούλησε το Παιχνίδι Σου","COMMUNITY":"Κοινότητα","WHY_DISCORD":"Γιατί τη Discord;","SAFETY":"Ασφάλεια","SAFETY_CENTER":"Κέντρο ασφαλείας","MOD_ACADEMY":"Ακαδημία Συντονιστών"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Το δικό σου μέρος για να μιλάς με κοινότητες και φίλους."}}')},function(e,t,n){"use strict";e.exports={Common:{OPEN_DISCORD:"Open Discord",SIGN_UP_NOW:"Sign Up Now"},Footer:{READY_TO_TRY_DISCORD:"Ready to try Discord? It's free!",JOIN_OVER_PLAYERS_TODAY:"JOIN OVER {num} MILLION PLAYERS TODAY"},Navigation:{HOME:"Home",FEATURES:"Features",NITRO:"Nitro",DOWNLOAD:"Download",PARTNERS:"Partners",BLOG:"Blog",MORE:"More",STATUS:"Status",FEEDBACK:"Feedback",HELP_AND_SUPPORT:"Help & Support",GUIDELINES:"Guidelines",HYPESQUAD:"HypeSquad",STREAMKIT:"StreamKit",COMPANY:"Company",JOBS:"Jobs",SECURITY:"Security",DEVELOPERS:"Developers",DOCUMENTATION:"Documentation",BRANDING:"Branding",LOGIN:"Login",OPEN:"Open",PRODUCT:"Product",RESOURCES:"Resources",APPLICATIONS:"Applications",TERMS:"Terms",PRIVACY:"Privacy",ABOUT:"About",VERIFICATION:"Verification",RICH_PRESENCE:"Rich Presence",PRESS_INQUIRIES:"Press Inquiries",OPEN_SOURCE:"Open Source",SUPPORT:"Support",DEVELOPER_PORTAL:"Developer Portal",SELL_YOUR_GAME:"Sell Your Game",COMMUNITY:"Community",WHY_DISCORD:"Why Discord?",SAFETY:"Safety",SAFETY_CENTER:"Safety Center",MOD_ACADEMY:"Mod Academy"},NumberAbbreviations:{MILLION:"{num}M",THOUSAND:"{num}K"},DynamicLinks:{IOS_APP_PREVIEW_DESCRIPTION:"Your place to talk with communities and friends."}}},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Abrir Discord","SIGN_UP_NOW":"Registrarse ahora"},"Footer":{"READY_TO_TRY_DISCORD":"¿Listo para probar Discord? ¡Es gratis!","JOIN_OVER_PLAYERS_TODAY":"ÚNETE A MÁS DE {num} MILLONES DE JUGADORES HOY"},"Navigation":{"HOME":"Inicio","FEATURES":"Características","DOWNLOAD":"Descargar","PARTNERS":"Socios","MORE":"Más","STATUS":"Estado","FEEDBACK":"Opiniones","HELP_AND_SUPPORT":"Ayuda y soporte técnico","GUIDELINES":"Directivas","STREAMKIT":"Herramientas de Streaming","COMPANY":"Compañía","JOBS":"Trabajos","SECURITY":"Seguridad","DEVELOPERS":"Desarrolladores","DOCUMENTATION":"Documentación","BRANDING":"Marca","LOGIN":"Iniciar sesión","OPEN":"Abrir","PRODUCT":"Producto","RESOURCES":"Recursos","APPLICATIONS":"Aplicaciones","TERMS":"Condiciones","PRIVACY":"Privacidad","ABOUT":"Sobre nosotros","VERIFICATION":"Verificación","PRESS_INQUIRIES":"Consultas de prensa","OPEN_SOURCE":"Código abierto","SUPPORT":"Soporte técnico","DEVELOPER_PORTAL":"Portal de desarrolladores","SELL_YOUR_GAME":"Vende tu juego","COMMUNITY":"Comunidad","WHY_DISCORD":"¿Por qué Discord?","SAFETY":"Seguridad","SAFETY_CENTER":"Centro de seguridad","MOD_ACADEMY":"Academia de moderadores"},"NumberAbbreviations":{"MILLION":"{num} M","THOUSAND":"{num} mil"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Tu sitio para hablar con comunidades y amigos."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Avaa Discord","SIGN_UP_NOW":"Rekisteröidy nyt"},"Footer":{"READY_TO_TRY_DISCORD":"Oletko valmis kokeilemaan Discordia? Se on ilmainen!","JOIN_OVER_PLAYERS_TODAY":"LIITY YLI {num} MILJOONAN PELAAJAN JOUKKOON TÄNÄÄN"},"Navigation":{"HOME":"Aloitussivu","FEATURES":"Ominaisuudet","DOWNLOAD":"Lataa","PARTNERS":"Kumppanit","BLOG":"Blogi","MORE":"Lisää","STATUS":"Tila","FEEDBACK":"Palaute","HELP_AND_SUPPORT":"Ohjeet ja tuki","GUIDELINES":"Toimintasäännöt","COMPANY":"Yhtiö","JOBS":"Työpaikat","SECURITY":"Tietoturva","DEVELOPERS":"Kehittäjät","DOCUMENTATION":"Dokumentaatio","BRANDING":"Brändäys","LOGIN":"Kirjaudu sisään","OPEN":"Avaa","PRODUCT":"Tuote","RESOURCES":"Resurssit","APPLICATIONS":"Sovellukset","TERMS":"Palveluehdot","PRIVACY":"Tietosuoja","ABOUT":"Tietoja","VERIFICATION":"Vahvistus","PRESS_INQUIRIES":"Mediatiedot","OPEN_SOURCE":"Avoin lähdekoodi","SUPPORT":"Tuki","DEVELOPER_PORTAL":"Kehittäjäportaali","SELL_YOUR_GAME":"Myy peliäsi","COMMUNITY":"Yhteisö","WHY_DISCORD":"Miksi valita Discord?","SAFETY":"Turvallisuus","SAFETY_CENTER":"Turvallisuuskeskus","MOD_ACADEMY":"Valvoja-akatemia"},"NumberAbbreviations":{"MILLION":"{num} M","THOUSAND":"{num} t"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Paikka keskustella yhteisöjesi ja kavereidesi kanssa."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Ouvrir Discord","SIGN_UP_NOW":"S\'inscire maintenant"},"Footer":{"READY_TO_TRY_DISCORD":"Prêt à essayer Discord ? C\'est gratuit !","JOIN_OVER_PLAYERS_TODAY":"REJOINS {num} MILLIONS DE JOUEURS DÈS MAINTENANT"},"Navigation":{"HOME":"Accueil","FEATURES":"Fonctionnalités","DOWNLOAD":"Télécharger","PARTNERS":"Partenaires","MORE":"Plus","STATUS":"État du service","FEEDBACK":"Commentaires","HELP_AND_SUPPORT":"Aide & assistance","GUIDELINES":"Charte d\'utilisation","STREAMKIT":"Kit de diffusion","COMPANY":"Entreprise","JOBS":"Emplois","SECURITY":"Sécurité","DEVELOPERS":"Développeurs","BRANDING":"Charte graphique","LOGIN":"Se connecter","OPEN":"Ouvrir","PRODUCT":"Produit","RESOURCES":"Ressources","TERMS":"Conditions","PRIVACY":"Confidentialité","ABOUT":"À propos","VERIFICATION":"Certification","RICH_PRESENCE":"« Rich Presence »","PRESS_INQUIRIES":"Contacts presse","OPEN_SOURCE":"Open source","SUPPORT":"Assistance","DEVELOPER_PORTAL":"Portail des développeurs","SELL_YOUR_GAME":"Vends ton jeu","COMMUNITY":"Communauté","WHY_DISCORD":"Pourquoi Discord ?","SAFETY":"Sécurité","SAFETY_CENTER":"Centre de Sécurité","MOD_ACADEMY":"Académie des modérateurs"},"NumberAbbreviations":{"MILLION":"{num} M","THOUSAND":"{num} K"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Un endroit pour parler avec tes communautés et tes amis."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Discord खोलें","SIGN_UP_NOW":"अभी साइन अप करें"},"Footer":{"READY_TO_TRY_DISCORD":"Discord को आज़माने के लिए तैयार हैं? यह मुफ़्त है!","JOIN_OVER_PLAYERS_TODAY":"आज ही {num} मिलियन से अधिक खिलाड़ियों के साथ शामिल हों"},"Navigation":{"HOME":"होम","FEATURES":"सुविधाएं","DOWNLOAD":"डाउनलोड करें","PARTNERS":"पार्टनर","BLOG":"ब्लॉग","MORE":"ज़्यादा","STATUS":"स्थिति","FEEDBACK":"फ़ीडबैक","HELP_AND_SUPPORT":"सहायता और समर्थन","GUIDELINES":"गाइडलाइन्स","STREAMKIT":"स्ट्रीमकिट","COMPANY":"कंपनी","JOBS":"जॉब्स","SECURITY":"सुरक्षा","DEVELOPERS":"डेवल्पर्स","DOCUMENTATION":"दस्तावेज़ीकरण","BRANDING":"ब्रैंडिंग","LOGIN":"लॉगिन करें","OPEN":"ओपन","PRODUCT":"प्रोडक्ट","RESOURCES":"रिसोर्स","APPLICATIONS":"एप्लीकेशन","TERMS":"टर्म्स","PRIVACY":"प्राइवेसी","ABOUT":"इसके बारे में","VERIFICATION":"वेरिफिकेशन","PRESS_INQUIRIES":"प्रेस किट","OPEN_SOURCE":"ओपन सोर्स","SUPPORT":"समर्थन","DEVELOPER_PORTAL":"डेवलपर पोर्टल","SELL_YOUR_GAME":"अपना खेल बेचें","COMMUNITY":"समुदाय","WHY_DISCORD":"Discord ही क्यों?","SAFETY":"सेफ़्टी ","SAFETY_CENTER":"सेफ्टी सेंटर","MOD_ACADEMY":"मॉड अकैडमी"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"कम्युनिटी और फ्रेंड्स के साथ बातचीत करने की आपकी जगह."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Otvori Discord","SIGN_UP_NOW":"Registriraj se sada"},"Footer":{"READY_TO_TRY_DISCORD":"Spreman/na isprobati Discord? Besplatno je!","JOIN_OVER_PLAYERS_TODAY":"PRIDRUŽI SE PREKO {num} MILIJUNA IGRAČA JOŠ DANAS"},"Navigation":{"HOME":"Početna","FEATURES":"Značajke","DOWNLOAD":"Preuzmi","PARTNERS":"Partneri","MORE":"Više","FEEDBACK":"Povratne Informacije","HELP_AND_SUPPORT":"Pomoć i podrška","GUIDELINES":"Smjernice","COMPANY":"Društvo","JOBS":"Radna mjesta","SECURITY":"Sigurnost","DEVELOPERS":"Razvojni programeri - Developeri","DOCUMENTATION":"Dokumentacija","BRANDING":"Brending","LOGIN":"Prijava","OPEN":"Otvori","PRODUCT":"Proizvod","RESOURCES":"Resursi","APPLICATIONS":"Aplikacije","TERMS":"Uvjeti","PRIVACY":"Privatnost","ABOUT":"O nama","VERIFICATION":"Verifikacija","PRESS_INQUIRIES":"Upiti medija","SUPPORT":"Podrška","DEVELOPER_PORTAL":"Portal za developere","SELL_YOUR_GAME":"Prodaj svoju igru","COMMUNITY":"Zajednica","WHY_DISCORD":"Zašto Discord?","SAFETY":"Sigurnost","SAFETY_CENTER":"Centar za sigurnost","MOD_ACADEMY":"Akademija za moderatore"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Tvoje mjesto za razgovor sa svojom zajednicom i prijateljima."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"A Discord megnyitása","SIGN_UP_NOW":"Regisztráció most"},"Footer":{"READY_TO_TRY_DISCORD":"Készen állsz a Discord kipróbálására? Nem kerül semmibe!","JOIN_OVER_PLAYERS_TODAY":"CSATLAKOZZ A TÖBB MINT {num} JÁTÉKOSHOZ VILÁGSZERTE"},"Navigation":{"HOME":"Kezdőlap","FEATURES":"Jellemzők","DOWNLOAD":"Letöltés","PARTNERS":"Partnerek","MORE":"Több","STATUS":"Állapot","FEEDBACK":"Visszajelzés","HELP_AND_SUPPORT":"Súgó és támogatás","GUIDELINES":"Irányelvek","COMPANY":"Vállalat","JOBS":"Állások","SECURITY":"Biztonság","DEVELOPERS":"Fejlesztők","DOCUMENTATION":"Dokumentáció","BRANDING":"Márkajelzés","LOGIN":"Bejelentkezés","OPEN":"Megnyitás","PRODUCT":"Termék","RESOURCES":"Erőforrások","APPLICATIONS":"Alkalmazások","TERMS":"Feltételek","PRIVACY":"Adatvédelem","ABOUT":"Rólunk","VERIFICATION":"Hitelesítés","PRESS_INQUIRIES":"Sajtómegkeresések","OPEN_SOURCE":"Nyílt forráskód","SUPPORT":"Támogatás","DEVELOPER_PORTAL":"Fejlesztői portál","SELL_YOUR_GAME":"Add el a játékodat","COMMUNITY":"Közösség","WHY_DISCORD":"Miért a Discord?","SAFETY":"Biztonság","SAFETY_CENTER":"Biztonsági központ","MOD_ACADEMY":"Modakadémia"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Ahol közösségeiddel és barátaiddal beszélgethetsz."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Apri Discord","SIGN_UP_NOW":"Registrati"},"Footer":{"READY_TO_TRY_DISCORD":"Pronto a provare Discord? È gratis!","JOIN_OVER_PLAYERS_TODAY":"UNISCITI A OLTRE {num} MILIONI DI UTENTI OGGI STESSO"},"Navigation":{"HOME":"Pagina principale","FEATURES":"Funzionalità","DOWNLOAD":"Scarica","PARTNERS":"Partner","MORE":"Di più","STATUS":"Stato","FEEDBACK":"Suggerimenti","HELP_AND_SUPPORT":"Assistenza e supporto","GUIDELINES":"Linee guida","COMPANY":"Compagnia","JOBS":"Lavora con noi","SECURITY":"Sicurezza","DEVELOPERS":"Sviluppatori","DOCUMENTATION":"Documentazione","BRANDING":"Marchio","LOGIN":"Accedi","OPEN":"Apri","PRODUCT":"Prodotto","RESOURCES":"Risorse","APPLICATIONS":"Applicazioni","TERMS":"Termini","PRIVACY":"Politica sulla privacy","ABOUT":"Chi siamo","VERIFICATION":"Verifica","PRESS_INQUIRIES":"Richieste per la stampa","OPEN_SOURCE":"Open source","SUPPORT":"Assistenza","DEVELOPER_PORTAL":"Portale sviluppatori","SELL_YOUR_GAME":"Vendi il tuo gioco","WHY_DISCORD":"Perché Discord?","SAFETY":"Sicurezza","SAFETY_CENTER":"Centro sicurezza","MOD_ACADEMY":"Accademia per moderatori"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Il luogo ideale per parlare con amici e community."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Discordを開く","SIGN_UP_NOW":"今すぐ登録する"},"Footer":{"READY_TO_TRY_DISCORD":"Discordを使ってみるかい?(無料だよ!)","JOIN_OVER_PLAYERS_TODAY":"{num},000,000人以上のゲーマーが参加中"},"Navigation":{"HOME":"ホーム","FEATURES":"特徴","DOWNLOAD":"ダウンロード","PARTNERS":"パートナー","BLOG":"ブログ","MORE":"その他","STATUS":"システム動作状況","FEEDBACK":"フィードバック","HELP_AND_SUPPORT":"ヘルプ&サポート","GUIDELINES":"Discordガイドライン","COMPANY":"Discordについて","JOBS":"採用情報","SECURITY":"セキュリティ","DEVELOPERS":"デベロッパー向け","DOCUMENTATION":"マニュアル","BRANDING":"商標","LOGIN":"ログイン","OPEN":"開く","PRODUCT":"プロダクト","RESOURCES":"ヘルプ","APPLICATIONS":"申請","TERMS":"利用規約","PRIVACY":"プライバシーポリシー","ABOUT":"会社概要","VERIFICATION":"認証する","PRESS_INQUIRIES":"取材に関するお問い合わせ","OPEN_SOURCE":"オープンソース","SUPPORT":"サポート","DEVELOPER_PORTAL":"開発者ポータル","SELL_YOUR_GAME":"ゲームを販売しましょう","COMMUNITY":"コミュニティ","WHY_DISCORD":"何でDiscordがおすすめなの?","SAFETY":"安全","SAFETY_CENTER":"セーフティセンター","MOD_ACADEMY":"モデレーターアカデミー"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"コミュニティやフレンドと話せる、あなたの居場所です。"}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Discord 열기","SIGN_UP_NOW":"지금 가입하세요"},"Footer":{"READY_TO_TRY_DISCORD":"Discord를 사용할 준비가 되었나요? 무료입니다!","JOIN_OVER_PLAYERS_TODAY":"{num}백만 명 이상 사용자들과 함께 사용해보세요"},"Navigation":{"HOME":"홈","FEATURES":"기능","DOWNLOAD":"다운로드","PARTNERS":"파트너","BLOG":"블로그","MORE":"기타","STATUS":"상태","FEEDBACK":"피드백","HELP_AND_SUPPORT":"도움말 및 지원","GUIDELINES":"지침","STREAMKIT":"스트리밍 키트","COMPANY":"회사","JOBS":"채용","SECURITY":"보안","DEVELOPERS":"개발자","DOCUMENTATION":"문서","BRANDING":"상표","LOGIN":"로그인","OPEN":"열기","PRODUCT":"제품","RESOURCES":"자원","APPLICATIONS":"애플리케이션","TERMS":"이용 약관","PRIVACY":"개인정보 보호 정책","ABOUT":"소개","VERIFICATION":"인증","PRESS_INQUIRIES":"언론 문의","OPEN_SOURCE":"오픈소스","SUPPORT":"지원","DEVELOPER_PORTAL":"개발자 포털","SELL_YOUR_GAME":"게임 판매하기","COMMUNITY":"커뮤니티","WHY_DISCORD":"왜 Discord인가요?","SAFETY":"보안","SAFETY_CENTER":"보안센터","MOD_ACADEMY":"관리자 아카데미"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"커뮤니티, 친구와 대화할 수 있는 나만의 공간."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Atidaryti Discord","SIGN_UP_NOW":"Prisiregistruok dabar"},"Footer":{"READY_TO_TRY_DISCORD":"Pasiruošęs (-usi) išbandyti Discord? Tai nemokama!","JOIN_OVER_PLAYERS_TODAY":"PRISIJUNK PRIE {num} MIL. ŽAIDĖJŲ ŠIANDIEN"},"Navigation":{"HOME":"Pradžia","FEATURES":"Ypatybės","DOWNLOAD":"Atsisiųsti","PARTNERS":"Partneriai","BLOG":"Tinklaraštis","MORE":"Daugiau","STATUS":"Būsena","FEEDBACK":"Atsiliepimai","HELP_AND_SUPPORT":"Žinynas ir pagalba","GUIDELINES":"Gairės","COMPANY":"Bendrovė","JOBS":"Darbai","SECURITY":"Saugumas","DEVELOPERS":"Programuotojams","DOCUMENTATION":"Dokumentacija","BRANDING":"Prekių ženklas","LOGIN":"Prisijungti","OPEN":"Atidaryti","PRODUCT":"Produktas","RESOURCES":"Ištekliai","APPLICATIONS":"Programos","TERMS":"Sąlygos","PRIVACY":"Privatumas","ABOUT":"Apie","VERIFICATION":"Patvirtinimas","PRESS_INQUIRIES":"Spaudos užklausos","OPEN_SOURCE":"Atviras kodas","SUPPORT":"Pagalba","DEVELOPER_PORTAL":"Kūrėjų portalas","SELL_YOUR_GAME":"Parduok savo žaidimą","COMMUNITY":"Bendruomenė","WHY_DISCORD":"Kodėl Discord?","SAFETY":"Sauga","SAFETY_CENTER":"Saugumo centras","MOD_ACADEMY":"Moderatorių akademija"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Tavo vieta kalbėtis su bendruomenėmis ir draugais."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Discord openen","SIGN_UP_NOW":"Schrijf je nu in"},"Footer":{"READY_TO_TRY_DISCORD":"Klaar om Discord te proberen? Het is gratis!","JOIN_OVER_PLAYERS_TODAY":"SLUIT JE VANDAAG AAN BIJ {num} MILJOEN SPELERS"},"Navigation":{"HOME":"Startpagina","FEATURES":"Opties","MORE":"Meer","HELP_AND_SUPPORT":"Hulp & ondersteuning","GUIDELINES":"Richtlijnen","STREAMKIT":"Streamkit","COMPANY":"Bedrijf","JOBS":"Vacatures","SECURITY":"Beveiliging","DEVELOPERS":"Ontwikkelaars","DOCUMENTATION":"Documentatie","LOGIN":"Inloggen","RESOURCES":"Bronnen","APPLICATIONS":"Applicaties","TERMS":"Voorwaarden","ABOUT":"Over","VERIFICATION":"Verificatie","PRESS_INQUIRIES":"Persvragen","OPEN_SOURCE":"Open source","SUPPORT":"Ondersteuning","DEVELOPER_PORTAL":"Ontwikkelaarsportaal","SELL_YOUR_GAME":"Jouw game verkopen","WHY_DISCORD":"Waarom Discord?","SAFETY":"Veiligheid","SAFETY_CENTER":"Veiligheidscentrum"},"NumberAbbreviations":{"MILLION":"{num} mln","THOUSAND":"{num} k"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Jouw plek om te praten met community\'s en vrienden."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Åpne Discord","SIGN_UP_NOW":"Registrer deg nå"},"Footer":{"READY_TO_TRY_DISCORD":"Klar til å prøve Discord? Det er gratis!","JOIN_OVER_PLAYERS_TODAY":"BLI MED OVER {num} MILLION SPILLERE I DAG"},"Navigation":{"HOME":"Hjem","FEATURES":"Funksjoner","DOWNLOAD":"Last ned","PARTNERS":"Partnere","BLOG":"Blogg","MORE":"Mer","FEEDBACK":"Tilbakemelding","HELP_AND_SUPPORT":"Hjelp og brukerstøtte","GUIDELINES":"Retningslinjer","COMPANY":"Selskap","JOBS":"Jobber","SECURITY":"Sikkerhet","DEVELOPERS":"Utviklere","DOCUMENTATION":"Dokumentasjon","BRANDING":"Merkevare","LOGIN":"Pålogging","OPEN":"Åpne","PRODUCT":"Produkt","RESOURCES":"Ressurser","APPLICATIONS":"Applikasjoner","TERMS":"Vilkår","PRIVACY":"Personvern","ABOUT":"Om","VERIFICATION":"Verifisering","PRESS_INQUIRIES":"Presseforespørsler","OPEN_SOURCE":"Åpen kilde","SUPPORT":"Brukerstøtte","DEVELOPER_PORTAL":"Utviklerportal","SELL_YOUR_GAME":"Selg spillet ditt","COMMUNITY":"Fellesskap","WHY_DISCORD":"Hvorfor Discord?","SAFETY":"Trygghet","SAFETY_CENTER":"Trygghetssenter","MOD_ACADEMY":"Mod-akademiet"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Et sted der du kan snakke med venner og likesinnede."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Otwórz Discorda","SIGN_UP_NOW":"Zarejestruj się teraz"},"Footer":{"READY_TO_TRY_DISCORD":"Gotów, aby wypróbować Discorda? Za darmo!","JOIN_OVER_PLAYERS_TODAY":"DOŁĄCZ DO PONAD {num} MILIONA GRACZY JUŻ DZIŚ"},"Navigation":{"HOME":"Strona główna","FEATURES":"Cechy","DOWNLOAD":"Pobierz","PARTNERS":"Partnerzy","MORE":"Więcej","FEEDBACK":"Informacje zwrotne","HELP_AND_SUPPORT":"Pomoc i wsparcie","GUIDELINES":"Wytyczne","COMPANY":"Firma","JOBS":"Praca","SECURITY":"Bezpieczeństwo","DEVELOPERS":"Dla deweloperów","DOCUMENTATION":"Dokumentacja","BRANDING":"Materiały promocyjne","LOGIN":"Zaloguj się","OPEN":"Otwórz","PRODUCT":"Produkt","RESOURCES":"Zasoby","APPLICATIONS":"Aplikacje","TERMS":"Warunki","PRIVACY":"Prywatność","ABOUT":"O nas","VERIFICATION":"Weryfikacja","PRESS_INQUIRIES":"Zapytania prasowe","SUPPORT":"Wsparcie","DEVELOPER_PORTAL":"Portal deweloperów","SELL_YOUR_GAME":"Sprzedawaj swoją grę","COMMUNITY":"Społeczność","WHY_DISCORD":"Dlaczego Discord?","SAFETY":"Bezpieczeństwo","SAFETY_CENTER":"Centrum bezpieczeństwa","MOD_ACADEMY":"Akademia moderatorów"},"NumberAbbreviations":{"MILLION":"{num} mln","THOUSAND":"{num} tys."},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Twoje miejsce do rozmów ze społecznościami i znajomymi."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Abrir Discord","SIGN_UP_NOW":"Registre-se agora"},"Footer":{"READY_TO_TRY_DISCORD":"Pronto para testar o Discord? É grátis!","JOIN_OVER_PLAYERS_TODAY":"JUNTE-SE HOJE A MAIS DE {num} MILHÕES DE JOGADORES"},"Navigation":{"HOME":"Início","FEATURES":"Funcionalidades","DOWNLOAD":"Baixar","PARTNERS":"Parceiros","MORE":"Mais","STATUS":"Estado","FEEDBACK":"Comentários","HELP_AND_SUPPORT":"Ajuda e Suporte","GUIDELINES":"Diretrizes","STREAMKIT":"Kit de Stream","COMPANY":"Empresa","JOBS":"Empregos","SECURITY":"Segurança","DEVELOPERS":"Desenvolvedores","DOCUMENTATION":"Documentação","BRANDING":"Marca","LOGIN":"Entrar","OPEN":"Abrir","PRODUCT":"Produto","RESOURCES":"Recursos","APPLICATIONS":"Aplicativos","TERMS":"Termos","PRIVACY":"Privacidade","ABOUT":"Sobre","VERIFICATION":"Verificação","PRESS_INQUIRIES":"Informações à Imprensa","OPEN_SOURCE":"Código Aberto","SUPPORT":"Suporte","DEVELOPER_PORTAL":"Portal do Desenvolvedor","SELL_YOUR_GAME":"Venda Seu Jogo","COMMUNITY":"Comunidade","WHY_DISCORD":"Por que usar o Discord?","SAFETY":"Segurança","SAFETY_CENTER":"Central de Segurança","MOD_ACADEMY":"Academia de Moderadores"},"NumberAbbreviations":{"THOUSAND":"{num}k"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Seu lugar para conversar com suas comunidades e amigos."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Deschide Discord","SIGN_UP_NOW":"Înregistrează-te Acum"},"Footer":{"READY_TO_TRY_DISCORD":"Ești gata să încerci Discord? Este gratis!","JOIN_OVER_PLAYERS_TODAY":"ALĂTURĂ-TE CELOR PESTE {num} MILIOANE DE JUCĂTORI ASTĂZI"},"Navigation":{"HOME":"Acasă","FEATURES":"Caracteristici","DOWNLOAD":"Descarcă","PARTNERS":"Parteneri","MORE":"Mai multe","HELP_AND_SUPPORT":"Ajutor și Suport tehnic","GUIDELINES":"Orientări","COMPANY":"Companie","JOBS":"Joburi","SECURITY":"Securitate","DEVELOPERS":"Dezvoltatori","DOCUMENTATION":"Documentație","LOGIN":"Autentificare","OPEN":"Deschide","PRODUCT":"Produs","RESOURCES":"Resurse","APPLICATIONS":"Aplicații","TERMS":"Termeni","PRIVACY":"Confidențialitate","ABOUT":"Despre","VERIFICATION":"Verificare","PRESS_INQUIRIES":"Presă","SUPPORT":"Asistență","DEVELOPER_PORTAL":"Portal dezvoltatori","SELL_YOUR_GAME":"Vinde-ți jocul","COMMUNITY":"Comunitate","WHY_DISCORD":"De ce Discord?","SAFETY":"Siguranță","SAFETY_CENTER":"Centrul de siguranță","MOD_ACADEMY":"Academia de moderatori"},"NumberAbbreviations":{"MILLION":"{num} mil.","THOUSAND":"{num, plural, one {1 mie} other {{num} mii}}"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Locul în care discuți cu membrii comunităților și cu prietenii tăi."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Открыть Discord","SIGN_UP_NOW":"Зарегистрироваться"},"Footer":{"READY_TO_TRY_DISCORD":"Готовы попробовать Discord? Это бесплатно!","JOIN_OVER_PLAYERS_TODAY":"УЖЕ БОЛЕЕ {num} МЛН ИГРОКОВ! ПРИСОЕДИНЯЙТЕСЬ!"},"Navigation":{"HOME":"Главная","FEATURES":"Особенности","DOWNLOAD":"Загрузить","PARTNERS":"Партнёры","BLOG":"Блог","MORE":"Ещё","STATUS":"Состояние","FEEDBACK":"Обратная связь","HELP_AND_SUPPORT":"Помощь и поддержка","GUIDELINES":"Правила","STREAMKIT":"Набор для стрима","COMPANY":"Компания","JOBS":"Вакансии","SECURITY":"Безопасность","DEVELOPERS":"Разработчикам","DOCUMENTATION":"Документация","BRANDING":"Брендинг","LOGIN":"Вход","OPEN":"Открыть","PRODUCT":"Продукт","RESOURCES":"Информация","APPLICATIONS":"Приложения","TERMS":"Условия использования","PRIVACY":"Конфиденциальность","ABOUT":"О нас","VERIFICATION":"Верификация","PRESS_INQUIRIES":"Для прессы","OPEN_SOURCE":"Открытый исходный код","SUPPORT":"Поддержка","DEVELOPER_PORTAL":"Портал для разработчиков","SELL_YOUR_GAME":"Продайте свою игру","COMMUNITY":"Сообщество","WHY_DISCORD":"Почему Discord?","SAFETY":"Безопасность","SAFETY_CENTER":"Центр безопасности","MOD_ACADEMY":"Академия модераторов"},"NumberAbbreviations":{"MILLION":"{num}М","THOUSAND":"{num}Т"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Место для общения с вашими сообществами и друзьями."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Öppna Discord","SIGN_UP_NOW":"Registrera dig nu"},"Footer":{"READY_TO_TRY_DISCORD":"Redo att testa Discord? Det är gratis!","JOIN_OVER_PLAYERS_TODAY":"ANSLUT DIG TILL ÖVER {num} MILJONER SPELARE IDAG"},"Navigation":{"HOME":"Start","FEATURES":"Funktioner","DOWNLOAD":"Ladda ned","PARTNERS":"Partner","BLOG":"Blogg","MORE":"Mer","HELP_AND_SUPPORT":"Hjälp & Support","GUIDELINES":"Riktlinjer","COMPANY":"Företag","JOBS":"Jobb","SECURITY":"Säkerhet","DEVELOPERS":"Utvecklare","DOCUMENTATION":"Dokumentation","BRANDING":"Varumärkning","LOGIN":"Logga in","OPEN":"Öppna","PRODUCT":"Produkt","RESOURCES":"Resurser","APPLICATIONS":"Applikationer","TERMS":"Villkor","PRIVACY":"Sekretess","ABOUT":"Om","VERIFICATION":"Verifiering","PRESS_INQUIRIES":"Pressfrågor","DEVELOPER_PORTAL":"Utvecklarportal","SELL_YOUR_GAME":"Sälj ditt spel","WHY_DISCORD":"Varför Discord?","SAFETY":"Säkerhet","SAFETY_CENTER":"Säkerhetscenter","MOD_ACADEMY":"Moderatorsakademien"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Stället där du kan prata med communityn och vänner."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"เปิด Discord","SIGN_UP_NOW":"ลงทะเบียนเลย"},"Footer":{"READY_TO_TRY_DISCORD":"พร้อมจะลอง Discord หรือยัง ฟรีนะ!","JOIN_OVER_PLAYERS_TODAY":"เข้าร่วมกับผู้เล่นกว่า {num} ล้านรายวันนี้"},"Navigation":{"HOME":"หน้าหลัก","FEATURES":"ฟีเจอร์","DOWNLOAD":"ดาวน์โหลด","PARTNERS":"พาร์ทเนอร์","MORE":"เพิ่มเติม","STATUS":"สถานะ","FEEDBACK":"คำติชม","HELP_AND_SUPPORT":"ความช่วยเหลือและสนับสนุน","GUIDELINES":"แนวทางปฏิบัติ","COMPANY":"บริษัท","JOBS":"งาน","SECURITY":"ความปลอดภัย","DEVELOPERS":"นักพัฒนา","DOCUMENTATION":"เอกสาร","BRANDING":"โลโก้ Discord","LOGIN":"เข้าสู่ระบบ","OPEN":"เปิด","PRODUCT":"ผลงาน","RESOURCES":"แหล่งข้อมูล","APPLICATIONS":"ใบสมัคร","TERMS":"ข้อตกลง","PRIVACY":"ความเป็นส่วนตัว","ABOUT":"เกี่ยวกับ","VERIFICATION":"การยืนยัน","PRESS_INQUIRIES":"ข่าวประชาสัมพันธ์","OPEN_SOURCE":"โอเพนซอร์ซ","SUPPORT":"สนับสนุน","DEVELOPER_PORTAL":"ช่องทางสำหรับนักพัฒนา","SELL_YOUR_GAME":"ขายเกมของคุณ","COMMUNITY":"ชุมชน","WHY_DISCORD":"ทำไมถึงต้องใช้ Discord","SAFETY":"ความปลอดภัย","SAFETY_CENTER":"ศูนย์ความปลอดภัย","MOD_ACADEMY":"สมาคมผู้ดูแล"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"พื้นที่สำหรับพูดคุยกับชุมชนและเพื่อน ๆ ของคุณ"}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Discord\'u Aç","SIGN_UP_NOW":"Hemen Kaydol"},"Footer":{"READY_TO_TRY_DISCORD":"Discord\'u denemeye hazır mısın? Ücretsiz!","JOIN_OVER_PLAYERS_TODAY":"{num} MİLYONDAN FAZLA OYUNCUYA HEMEN KATIL"},"Navigation":{"HOME":"Ana Sayfa","FEATURES":"Özellikler","DOWNLOAD":"İndir","PARTNERS":"Ortaklar","MORE":"Daha fazla","STATUS":"Durum","FEEDBACK":"Geri bildirim","HELP_AND_SUPPORT":"Yardım ve Destek","GUIDELINES":"İlkeler","COMPANY":"Şirket","JOBS":"İş Olanakları","SECURITY":"Güvenlik","DEVELOPERS":"Geliştiriciler","DOCUMENTATION":"Belgeler","BRANDING":"Marka","LOGIN":"Giriş","OPEN":"Açık","PRODUCT":"Ürün","RESOURCES":"Kaynaklar","APPLICATIONS":"Uygulamalar","TERMS":"Koşullar","PRIVACY":"Gizlilik","ABOUT":"Hakkında","VERIFICATION":"Doğrulama","PRESS_INQUIRIES":"Basın Kaynakları","OPEN_SOURCE":"Açık Kaynak","SUPPORT":"Destek","DEVELOPER_PORTAL":"Geliştirici Portalı","SELL_YOUR_GAME":"Oyununu Sat","COMMUNITY":"Topluluk","WHY_DISCORD":"Neden Discord?","SAFETY":"Güvenlik","SAFETY_CENTER":"Güvenlik Merkezi","MOD_ACADEMY":"Moderatör Akademisi"},"NumberAbbreviations":{"THOUSAND":"{num}B"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Topluluklarınla ve arkadaşlarınla konuşma ortamın."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Відкрити Discord","SIGN_UP_NOW":"Зареєструватися зараз"},"Footer":{"READY_TO_TRY_DISCORD":"Готовий випробувати Discord? Це безкоштовно!","JOIN_OVER_PLAYERS_TODAY":"ПРИЄДНУЙСЯ ДО БІЛЬШЕ НІЖ {num} МЛН ГРАВЦІВ СЬОГОДНІ!"},"Navigation":{"HOME":"На головну","FEATURES":"Можливості","DOWNLOAD":"Завантажити","PARTNERS":"Партнери","BLOG":"Блог","MORE":"Ще","STATUS":"Стан","FEEDBACK":"Зворотний зв\'язок","HELP_AND_SUPPORT":"Допомога і підтримка","GUIDELINES":"Поради","COMPANY":"Про компанію","JOBS":"Робота","SECURITY":"Безпека","DEVELOPERS":"Розробникам","DOCUMENTATION":"Документація","BRANDING":"Брендинг","LOGIN":"Вхід","OPEN":"Відкрити","PRODUCT":"Продукт","RESOURCES":"Ресурси","APPLICATIONS":"Програми","TERMS":"Умови","PRIVACY":"Конфіденційність","ABOUT":"Про нас","VERIFICATION":"Верифікація","PRESS_INQUIRIES":"Інформація для представників ЗМІ","OPEN_SOURCE":"Відкритий код","SUPPORT":"Підтримка","DEVELOPER_PORTAL":"Портал розробника","SELL_YOUR_GAME":"Продати свою гру","COMMUNITY":"Спільнота","WHY_DISCORD":"Чому саме Discord?","SAFETY":"Безпека","SAFETY_CENTER":"Центр безпеки","MOD_ACADEMY":"Академія модераторів"},"NumberAbbreviations":{"MILLION":"{num} млн","THOUSAND":"{num} тис."},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Твоє місце для спілкування зі спільнотами та друзями."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"Mở Discord","SIGN_UP_NOW":"Đăng Ký Ngay"},"Footer":{"READY_TO_TRY_DISCORD":"Bạn đã sẵn sàng thử Discord chưa? Hoàn toàn miễn phí!","JOIN_OVER_PLAYERS_TODAY":"GIA NHẬP CÙNG VỚI HƠN {num} NGƯỜI CHƠI NGAY HÔM NAY"},"Navigation":{"HOME":"Trang chủ","FEATURES":"Tính Năng","DOWNLOAD":"Tải Xuống","PARTNERS":"Đối Tác","MORE":"Những Mục Khác","STATUS":"Trạng Thái","FEEDBACK":"Phản Hồi","HELP_AND_SUPPORT":"Giúp Đỡ và Hỗ Trợ","GUIDELINES":"Hướng Dẫn","COMPANY":"Công Ty","JOBS":"Công Việc","SECURITY":"An Ninh","DEVELOPERS":"Các Nhà Phát Triển","DOCUMENTATION":"Tài Liệu","BRANDING":"Thương Hiệu","LOGIN":"Đăng Nhập","OPEN":"Mở","PRODUCT":"Sản Phẩm","RESOURCES":"Nguồn Tham Khảo","APPLICATIONS":"Ứng Dụng","TERMS":"Điều Khoản","PRIVACY":"Bảo Mật","ABOUT":"Giới Thiệu","VERIFICATION":"Xác Nhận","PRESS_INQUIRIES":"Câu Hỏi Từ Truyền Thông","OPEN_SOURCE":"Mã Nguồn Mở","SUPPORT":"Hỗ Trợ","DEVELOPER_PORTAL":"Cổng Thông Tin Nhà Phát Triển","SELL_YOUR_GAME":"Bán Trò Chơi Của Bạn","COMMUNITY":"Cộng đồng","WHY_DISCORD":"Tại sao nên sử dụng Discord?","SAFETY":"An Toàn","SAFETY_CENTER":"Trung Tâm An Toàn","MOD_ACADEMY":"Học Viện Điều Phối Viên"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"Không gian riêng để trò chuyện với bạn bè và cộng đồng."}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"打开 Discord","SIGN_UP_NOW":"点我注册"},"Footer":{"READY_TO_TRY_DISCORD":"要试用看看 Discord 吗?免费的哟!","JOIN_OVER_PLAYERS_TODAY":"今天就来加入我们 {num} 百万玩家大军的行列吧!"},"Navigation":{"HOME":"主页","FEATURES":"功能","DOWNLOAD":"下载","PARTNERS":"合作伙伴","BLOG":"博客","MORE":"更多","STATUS":"状态","FEEDBACK":"用户反馈","HELP_AND_SUPPORT":"帮助与技术支持","GUIDELINES":"社区守则","STREAMKIT":"直播工具箱","COMPANY":"公司","JOBS":"工作机会","SECURITY":"安全中心","DEVELOPERS":"开发者","DOCUMENTATION":"文档","BRANDING":"品牌推广","LOGIN":"登录","OPEN":"打开","PRODUCT":"产品","RESOURCES":"资源","APPLICATIONS":"APP","TERMS":"条款","PRIVACY":"隐私","ABOUT":"关于","VERIFICATION":"验证","PRESS_INQUIRIES":"新闻查询","OPEN_SOURCE":"开放源码","SUPPORT":"技术支持","DEVELOPER_PORTAL":"开发者门户","SELL_YOUR_GAME":"出售您的游戏","COMMUNITY":"社区","WHY_DISCORD":"为何选择 Discord?","SAFETY":"安全","SAFETY_CENTER":"安全中心","MOD_ACADEMY":"管理员学院"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"您与社区和好友的畅聊天地。"}}')},function(e){e.exports=JSON.parse('{"Common":{"OPEN_DISCORD":"開啟 Discord","SIGN_UP_NOW":"立即註冊"},"Footer":{"READY_TO_TRY_DISCORD":"準備好嘗試一下 Discord 了嗎?不花一毛錢!","JOIN_OVER_PLAYERS_TODAY":"馬上加入超過 {num} 百萬位玩家的行列"},"Navigation":{"HOME":"首頁","FEATURES":"功能","DOWNLOAD":"下載","PARTNERS":"合作夥伴","BLOG":"部落格","MORE":"更多","STATUS":"狀態","FEEDBACK":"意見回饋","HELP_AND_SUPPORT":"說明與支援","GUIDELINES":"指南","STREAMKIT":"串流工具組","COMPANY":"公司介紹","JOBS":"工作機會","SECURITY":"安全性","DEVELOPERS":"開發人員","DOCUMENTATION":"文件","BRANDING":"品牌宣傳","LOGIN":"登入","OPEN":"開啟","PRODUCT":"產品","RESOURCES":"資源","APPLICATIONS":"應用程式","TERMS":"條款","PRIVACY":"隱私權","ABOUT":"關於我們","VERIFICATION":"驗證","PRESS_INQUIRIES":"媒體專區","OPEN_SOURCE":"開放源碼","SUPPORT":"支援","DEVELOPER_PORTAL":"開發人員入口網站","SELL_YOUR_GAME":"販售您的遊戲","COMMUNITY":"社群","WHY_DISCORD":"為何選擇 Discord?","SAFETY":"安全","SAFETY_CENTER":"安全中心","MOD_ACADEMY":"版主學院"},"NumberAbbreviations":{"MILLION":"{num} 百萬","THOUSAND":"{num} 千"},"DynamicLinks":{"IOS_APP_PREVIEW_DESCRIPTION":"您與社群和好友聊天的地方。"}}')},function(e,t){e.exports=function(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(e,t,n){"use strict";n.r(t),n.d(t,"useLayoutEffect",(function(){return i}));var r=n(0),i="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect},function(e,t,n){"use strict";n.r(t);var r=n(947);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i)},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a}));var r=n(0),i=function(e){return Object(r.useEffect)(e,[])},o=function(){var e=Object(r.useState)(0)[1],t=Object(r.useRef)(!1);return i((function(){return function(){t.current=!0}})),function(){t.current||e({})}};function a(e){var t=Object(r.useRef)(void 0);return Object(r.useEffect)((function(){t.current=e})),t.current}},function(e,t){function n(){return e.exports=n=Object.assign||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},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var i=n(436),o=r(n(437)),a=r(n(951)),s=r(n(949)),u=n(46),l=n(0),c=n(945),d=Symbol.for("Animated:node"),f=function(e){return!!e&&e[d]===e},_=function(e,t){return i.defineHidden(e,d,t)},p=function(e){return e&&e[d]&&e[d].getPayload()},E=function(){function e(){this.payload=void 0,_(this,this)}return e.prototype.getPayload=function(){return this.payload||[]},e}(),h=function(e){function t(t){var n;return(n=e.call(this)||this)._value=t,n.done=!0,n.elapsedTime=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.v0=void 0,i.is.num(n._value)&&(n.lastPosition=n._value),n}o(t,e),t.create=function(e,n){return new t(e)};var n=t.prototype;return n.getPayload=function(){return[this]},n.getValue=function(){return this._value},n.setValue=function(e,t){return i.is.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)},n.reset=function(){var e=this.done;this.done=!1,i.is.num(this._value)&&(this.elapsedTime=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)},t}(E),m=function(e){function t(t,n){var r;return(r=e.call(this,0)||this)._value=void 0,r._string=null,r._toString=void 0,r._toString=i.createInterpolator({output:[t,n]}),r}o(t,e),t.create=function(e,n){if(void 0===n&&(n=e),i.is.str(e)&&i.is.str(n))return new t(e,n);throw TypeError('Expected "from" and "to" to be strings')};var n=t.prototype;return n.getValue=function(){var e=this._string;return null==e?this._string=this._toString(this._value):e},n.setValue=function(t){if(i.is.num(t)){if(!e.prototype.setValue.call(this,t))return!1;this._string=null}else this._string=t,this._value=1;return!0},n.reset=function(t){t&&(this._toString=i.createInterpolator({output:[this.getValue(),t]})),this._value=0,e.prototype.reset.call(this)},t}(h),v={current:null},T=function(e){function t(t){var n;return void 0===t&&(t=null),(n=e.call(this)||this).source=void 0,n.setValue(t),n}o(t,e);var n=t.prototype;return n.getValue=function(e){if(!this.source)return null;var t={};return i.each(this.source,(function(n,r){if(f(n))t[r]=n.getValue(e);else{var o=i.getFluidConfig(n);o?t[r]=o.get():e||(t[r]=n)}})),t},n.setValue=function(e){this.source=e,this.payload=this._makePayload(e)},n.reset=function(){this.payload&&i.each(this.payload,(function(e){return e.reset()}))},n._makePayload=function(e){if(e){var t=new Set;return i.each(e,this._addToPayload,t),Array.from(t)}},n._addToPayload=function(e){var t=this;i.getFluidConfig(e)&&v.current&&v.current.dependencies.add(e);var n=p(e);n&&i.each(n,(function(e){return t.add(e)}))},t}(E),g=function(e){function t(t,n){var r;return(r=e.call(this,null)||this).source=void 0,e.prototype.setValue.call(a(r),r._makeAnimated(t,n)),r}o(t,e),t.create=function(e,n){return new t(e,n)};var n=t.prototype;return n.getValue=function(){return this.source.map((function(e){return e.getValue()}))},n.setValue=function(e){var t=this.getPayload();e&&e.length==t.length?i.each(t,(function(t,n){return t.setValue(e[n])})):(this.source=this._makeAnimated(e),this.payload=this._makePayload(this.source))},n._makeAnimated=function(e,t){return void 0===t&&(t=e),e?e.map((function(e,n){return(i.isAnimatedString(e)?m:h).create(e,t[n])})):[]},t}(T),I=function(e){function t(t){var n;return(n=e.call(this,null)||this).update=t,n.dirty=!1,n}o(t,e);var n=t.prototype;return n.setValue=function(t,n){if(t){if(n&&(v.current=n,t.style)){var r=n.host.createAnimatedStyle;t=s(s({},t),{},{style:r(t.style)})}e.prototype.setValue.call(this,t),v.current=null}},n.onParentChange=function(e){var t=this,n=e.type;this.dirty||"change"!==n||(this.dirty=!0,u.frameLoop.onFrame((function(){t.dirty=!1,t.update()})))},t}(T),S=function(e,t){return l.forwardRef((function(n,r){var o=l.useRef(null),a=!i.is.fun(e)||e.prototype&&e.prototype.isReactComponent,u=i.useForceUpdate(),d=new I((function(){var e=o.current;a&&!e||!1===(!!e&&t.applyAnimatedValues(e,d.getValue(!0)))&&u()})),f=new Set;return d.setValue(n,{dependencies:f,host:t}),c.useLayoutEffect((function(){return i.each(f,(function(e){return e.addChild(d)})),function(){return i.each(f,(function(e){return e.removeChild(d)}))}})),l.createElement(e,s({},t.getComponentProps(d.getValue()),{ref:a&&function(e){o.current=function(e,t){e&&(i.is.fun(e)?e(t):e.current=t);return t}(r,e)}}))}))};var y=Symbol.for("AnimatedComponent"),A=function(e){return i.is.str(e)?e:e&&i.is.str(e.displayName)?e.displayName:i.is.fun(e)&&e.name||null};t.Animated=E,t.AnimatedArray=g,t.AnimatedObject=T,t.AnimatedProps=I,t.AnimatedString=m,t.AnimatedValue=h,t.createHost=function(e,t){var n=void 0===t?{}:t,r=n.applyAnimatedValues,o=void 0===r?function(){return!1}:r,a=n.createAnimatedStyle,s=void 0===a?function(e){return new T(e)}:a,u=n.getComponentProps,l={applyAnimatedValues:o,createAnimatedStyle:s,getComponentProps:void 0===u?function(e){return e}:u},c=function(e){var t=A(e)||"Anonymous";return(e=i.is.str(e)?S(e,l):e[y]||(e[y]=S(e,l))).displayName="Animated("+t+")",e};return i.each(e,(function(e,t){i.is.str(t)||(t=A(e)),c[t]=c(e)})),{animated:c}},t.getAnimated=function(e){return e&&e[d]},t.getPayload=p,t.isAnimated=f,t.setAnimated=_},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromServer=function(e,t){null==t&&(t=new a.default({id:e.id}));return t.merge({id:e.id,name:e.name,description:e.description,region:e.region,icon:e.icon,splash:e.splash,banner:e.banner,features:e.features,preferredLocale:e.preferred_locale,ownerId:e.owner_id,application_id:e.application_id,roles:_(e.id,e.roles),afkChannelId:e.afk_channel_id,afkTimeout:e.afk_timeout,systemChannelId:e.system_channel_id,joinedAt:null!=e.joined_at?new Date(e.joined_at):t.joinedAt,verificationLevel:e.verification_level,explicitContentFilter:e.explicit_content_filter,defaultMessageNotifications:e.default_message_notifications,mfaLevel:e.mfa_level,vanityURLCode:e.vanity_url_code,premiumTier:e.premium_tier,premiumSubscriberCount:e.premium_subscription_count,systemChannelFlags:e.system_channel_flags,discoverySplash:e.discovery_splash,rulesChannelId:e.rules_channel_id,publicUpdatesChannelId:e.public_updates_channel_id,maxVideoChannelUsers:e.max_video_channel_users,maxMembers:e.max_members,nsfwLevel:e.nsfw_level,applicationCommandCount:e.application_command_count})},t.toServer=function(e,t,n,i,o){var a;return{id:e.id,channels:t,emojis:n,stickers:o,name:e.name,description:e.description,region:e.region,icon:e.icon,splash:e.splash,banner:e.banner,features:Array.from(e.features),roles:r.default.values(e.roles).map(d),preferred_locale:e.preferredLocale,owner_id:e.ownerId,application_id:e.application_id,afk_channel_id:e.afkChannelId,afk_timeout:e.afkTimeout,system_channel_id:e.systemChannelId,verification_level:e.verificationLevel,explicit_content_filter:e.explicitContentFilter,default_message_notifications:e.defaultMessageNotifications,mfa_level:e.mfaLevel,vanity_url_code:e.vanityURLCode,premium_tier:e.premiumTier,premium_subscription_count:e.premiumSubscriberCount,system_channel_flags:e.systemChannelFlags,discovery_splash:e.discoverySplash,rules_channel_id:e.rulesChannelId,public_updates_channel_id:e.publicUpdatesChannelId,max_video_channel_users:e.maxVideoChannelUsers,joined_at:null===(a=e.joinedAt)||void 0===a?void 0:a.toString(),unavailable:!1,max_members:e.maxMembers,stage_instances:i,application_command_count:e.applicationCommandCount,nsfw_level:e.nsfwLevel}},t.fromSerializedGuildRecord=function(e){var t;return new a.default(l({},e,{joinedAt:null!=e.joinedAt?new Date(e.joinedAt):null,roles:f(e.id,Object.values(null!==(t=e.roles)&&void 0!==t?t:{}))}))},t.fromServerRole=c,t.sortClientRoles=f;var r=u(n(8)),i=u(n(63)),o=n(202),a=u(n(162)),s=u(n(97));function u(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||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}).apply(this,arguments)}function c(e){return l({},e,{colorString:e.color?(0,o.int2hex)(e.color):null,originalPosition:e.position,permissions:i.default.deserialize(e.permissions)})}function d(e){var t;return l({},e,{permissions:e.permissions.toString(),position:null!==(t=e.originalPosition)&&void 0!==t?t:e.position})}function f(e,t){if(null==t)return{};var n=t.length-1;return(0,r.default)(t).map((function(e){var t;return l({},e,{position:null!==(t=e.originalPosition)&&void 0!==t?t:e.position})})).sort((function(t,n){var r=t.id===e?1/0:-t.position,i=n.id===e?1/0:-n.position;return r===i?s.default.compare(t.id,n.id):r<i?-1:r===i?0:1})).map((function(e,t){return l({},e,{position:n-t})})).keyBy("id").value()}function _(e,t){return null==t?{}:f(e,t.map(c))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getOnClick=f,t.openURL=function(e){var t=f(e);if(null!=t)t(null);else if(l.default.embedded)window.open(e);else{var n=document.createElement("a");n.href=e,n.target="_blank",n.rel="noreferrer noopener",n.click()}};var r=d(n(142)),i=d(n(1211)),o=n(385),a=n(387),s=d(n(1122)),u=d(n(5469)),l=d(n(16)),c=d(n(186));function d(e){return e&&e.__esModule?e:{default:e}}function f(e){var t=(0,a.findCodedLink)(e);if(null!=t&&t.type===o.CodedLinkType.INVITE)return function(e){return null==e||e.preventDefault(),i.default.acceptInviteAndTransitionToInviteChannel(t.code,{location:"Markdown Link"}),!0};var l=r.default.parse(e),d=l.path,f=l.hostname,_=void 0===f?"":f,p=l.host,E=c.default.isDiscordHostname(_)||window.location.host===p;if(null!=d&&E&&c.default.isAppRoute(d))return function(e){return null==e||e.preventDefault(),(0,s.default)(d),!0};if(null!=d&&E){var h=n(1382),m=h.isOAuth2Link,v=h.openOAuth2Modal,T=m(e);if(null!=T)if(u.default.trackExposure({}),u.default.getCurrentConfig({}).enabled)return function(e){return null==e||e.preventDefault(),v(T),!0}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(64),i=u(n(8)),o=u(n(1606)),a=n(956),s=n(34);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=0,p=function(e){var t,n;function r(t,n){var r;return(r=e.call(this)||this).mediaEngineConnectionId="WebRTC-"+_++,r.destroyed=!1,r.audioSSRC=0,r.selfDeaf=!1,r.localMutes={},r.disabledLocalVideos={},r.localVolumes={},r.isActiveOutputSinksEnabled=!1,r.activeOutputSinks={},r.videoSupported=!1,r.useElectronVideo=!1,r.voiceBitrate=s.DEFAULT_VOICE_BITRATE,r.remoteSinkWantsMaxFramerate=s.VIDEO_QUALITY_FRAMERATE,r.wantsPriority=new Set,r.localSpeakingFlags={},r.videoReady=!1,r.videoStreamParameters=[],r.remoteVideoSinkWants={any:100},r.localVideoSinkWants={any:100},r.connectionState=s.ConnectionStates.CONNECTING,r.experimentFlags=new Set,r.context=t,r.userId=n,r.videoQualityManager=new a.VideoQualityManager(t,d(r)),r.framerateReducer=new o.default(d(r),r.videoQualityManager,r.experimentFlags),r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var u=r.prototype;return u.destroy=function(){this.destroyed=!0,this.framerateReducer.destroy(),this.setConnectionState(s.ConnectionStates.DISCONNECTED),this.emit("destroy",this),this.removeAllListeners()},u.getLocalMute=function(e){return this.localMutes[e]||!1},u.getLocalVideoDisabled=function(e){var t;return null!==(t=this.disabledLocalVideos[e])&&void 0!==t&&t},u.setLocalVideoDisabled=function(e,t){this.disabledLocalVideos[e]=t,this.emit("local-video-disabled",e,t)},u.getHasActiveVideoOutputSink=function(e){var t;return null!==(t=this.activeOutputSinks[e])&&void 0!==t&&t},u.setHasActiveVideoOutputSink=function(e,t){this.isActiveOutputSinksEnabled=!0,this.activeOutputSinks[e]=t,this.emit("active-sink-change",e,t)},u.getActiveOutputSinkTrackingEnabled=function(){return this.isActiveOutputSinksEnabled},u.setUseElectronVideo=function(e){this.useElectronVideo=e},u.getStreamParameters=function(){return i.default.cloneDeep(this.videoStreamParameters)},u.setExperimentFlag=function(e,t){t?this.experimentFlags.add(e):this.experimentFlags.delete(e),this.emit("experiment-flag",this.experimentFlags)},u.setConnectionState=function(e){this.connectionState=e,this.emit("connectionstatechange",this.connectionState)},u.updateVideoQuality=function(e){var t,n,r,o=this.applyQualityConstraints({},this.videoStreamParameters[0].ssrc),a=o.quality,s=o.constraints;this.videoStreamParameters[0].maxPixelCount=null===(t=a)||void 0===t||null===(n=t.encode)||void 0===n?void 0:n.pixelCount,this.videoStreamParameters[0].maxBitrate=null===(r=a)||void 0===r?void 0:r.bitrateMax;for(var u=1;u<this.videoStreamParameters.length;u++){var l,c=this.applyQualityConstraints({},this.videoStreamParameters[u].ssrc),d=c.quality,f=c.constraints;this.videoStreamParameters[u].maxPixelCount=null==d||null===(l=d.encode)||void 0===l?void 0:l.pixelCount,this.videoStreamParameters[u].maxBitrate=null==d?void 0:d.bitrateMax,100===this.videoStreamParameters[u].quality&&(s=f,a=d)}s.streamParameters=i.default.cloneDeep(this.videoStreamParameters),s.remoteSinkWantsPixelCount=Math.max.apply(Math,this.videoStreamParameters.map((function(e){var t;return null!==(t=e.maxPixelCount)&&void 0!==t?t:0})));var _=this.pickProperties(s,e);console.log("updateVideoQuality: "+JSON.stringify(_,void 0,4)),this.updateVideoQualityCore(_,a)},u.applyVideoQualityMode=function(e){if(this.context===s.MediaEngineContextTypes.DEFAULT){var t=a.VIDEO_QUALITY_MODES_TO_OVERWRITES[e];this.videoQualityManager.setQuality(t),this.updateVideoQuality()}},u.overwriteQualityForTesting=function(e){this.videoQualityManager.setQuality(e),this.updateVideoQuality()},u.applyQualityConstraints=function(e,t){return void 0===e&&(e={}),this.videoQualityManager.applyQualityConstraints(e,t)},u.pickProperties=function(e,t){if(null==t||null==e)return e;for(var n,r={},i=l(t);!(n=i()).done;){var o=n.value;r[o]=e[o]}return r},u.initializeStreamParameters=function(e){var t=this.videoQualityManager.getQuality();this.videoStreamParameters=e.filter((function(e){return(e.type===s.MediaTypes.VIDEO||e.type===s.MediaTypes.SCREEN)&&"string"==typeof e.rid})).map((function(e){var n,r,i,o;return{type:e.type,active:e.active,rid:e.rid,ssrc:e.ssrc,rtxSsrc:e.rtxSsrc,quality:e.quality,maxBitrate:(null!==(n=e.quality)&&void 0!==n?n:100)<100?t.bitrateMax/4:t.bitrateMax,maxFrameRate:null===(r=t.capture)||void 0===r?void 0:r.framerate,maxResolution:{type:s.ResolutionTypes.FIXED,width:null===(i=t.capture)||void 0===i?void 0:i.width,height:null===(o=t.capture)||void 0===o?void 0:o.height}}}))},u.getLocalWant=function(e){var t;return this.experimentFlags.has(s.ExperimentFlags.RESOLOUTION_FPS_LADDER_EXPERIMENT)&&(this.remoteVideoSinkWants[(e||(null===(t=this.videoStreamParameters[0])||void 0===t?void 0:t.ssrc)||0).toString()]||this.remoteVideoSinkWants.any)||100},r}(r.EventEmitter);t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VideoQualityManager=t.VideoQuality=t.WantsVideoQuality=t.VIDEO_QUALITY_MODES_TO_OVERWRITES=void 0;var r,i=n(957),o=n(34);function a(){return(a=Object.assign||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}).apply(this,arguments)}var s=Object.freeze(((r={})[o.VideoQualityMode.AUTO]={},r[o.VideoQualityMode.FULL]={encode:{width:1280,height:720}},r));t.VIDEO_QUALITY_MODES_TO_OVERWRITES=s;var u=function(e){if(null==e.capture&&null==e.encode)throw new Error("Invalid arguments.");this.capture=null==e.capture?void 0:new l(e.capture),this.encode=null==e.encode?void 0:new l(e.encode),this.bitrateMin=e.bitrateMin,this.bitrateMax=e.bitrateMax,this.bitrateTarget=e.bitrateTarget,this.localWant=e.localWant};t.WantsVideoQuality=u;var l=function(){function e(e){this.width=e.width,this.height=e.height,this.framerate=e.framerate,this.pixelCount=e.width*e.height}return e.equals=function(e,t){return null==e&&null==t||null!=e&&null!=t&&(e.width===t.width&&e.height===t.height&&e.framerate===t.framerate)},e.extend=function(e,t){var n,r,i;return null==e?t:null==t?e:{width:null!==(n=null==t?void 0:t.width)&&void 0!==n?n:null==e?void 0:e.width,height:null!==(r=null==t?void 0:t.height)&&void 0!==r?r:null==e?void 0:e.height,framerate:null!==(i=null==t?void 0:t.framerate)&&void 0!==i?i:null==e?void 0:e.framerate}},e}();t.VideoQuality=l;var c=function(){function e(e,t,n){void 0===n&&(n=o.defaultVideoQualityOptions),this.contextType=e,this.connection=t,this.options=n,this.isMuted=!1,this.qualityOverwrite={},this.isStreamContext=this.contextType===o.MediaEngineContextTypes.STREAM,this.ladder=new i.MediaSinkWantsLadder(n)}var t=e.prototype;return t.getQuality=function(e){var t,n,r,i=this.isStreamContext?this.getDesktopQuality():this.getVideoQuality(this.connection.getLocalWant(e));return new u({encode:l.extend(i.encode,this.qualityOverwrite.encode),capture:l.extend(i.capture,this.qualityOverwrite.capture),bitrateMin:null!==(t=this.qualityOverwrite.bitrateMin)&&void 0!==t?t:i.bitrateMin,bitrateMax:null!==(n=this.qualityOverwrite.bitrateMax)&&void 0!==n?n:i.bitrateMax,bitrateTarget:null!==(r=this.qualityOverwrite.bitrateTarget)&&void 0!==r?r:i.bitrateTarget,localWant:i.localWant})},t.applyQualityConstraints=function(e,t){var n=this.getQuality(t);return null!=n.capture&&(e.encodingVideoWidth=n.capture.width,e.encodingVideoHeight=n.capture.height,e.encodingVideoFrameRate=n.capture.framerate),null!=n.encode&&(e.remoteSinkWantsMaxFramerate=n.encode.framerate,e.remoteSinkWantsPixelCount=n.encode.pixelCount),null!=n.bitrateTarget?e.encodingVideoBitRate=n.bitrateTarget:e.encodingVideoBitRate=n.bitrateMax,e.encodingVideoMinBitRate=n.bitrateMin,e.encodingVideoMaxBitRate=n.bitrateMax,null!=e.encodingVideoBitRate&&null!=e.encodingVideoMaxBitRate&&(e.encodingVideoBitRate=Math.min(e.encodingVideoBitRate,e.encodingVideoMaxBitRate)),{quality:n,constraints:e}},t.setQuality=function(e){this.qualityOverwrite.capture=e.capture,this.qualityOverwrite.encode=e.encode,this.qualityOverwrite.bitrateMin=e.bitrateMin,this.qualityOverwrite.bitrateMax=e.bitrateMax,this.qualityOverwrite.bitrateTarget=e.bitrateTarget},t.getVideoQuality=function(e){var t=this.ladder.getResolution(e),n=this.options.videoBitrate.min*t.budgetPortion,r=this.options.videoBitrate.max*t.budgetPortion,i=this.isMuted?t.mutedFramerate:t.framerate;return new u({encode:a({},t,{framerate:i}),capture:{width:this.options.videoCapture.width,height:this.options.videoCapture.height,framerate:this.options.videoCapture.framerate},bitrateMin:n,bitrateMax:Math.max(r,this.options.videoBitrateFloor),localWant:e})},t.getDesktopQuality=function(){return new u({capture:{width:1280,height:720,framerate:o.VIDEO_QUALITY_FRAMERATE},bitrateMin:this.options.desktopBitrate.min,bitrateMax:this.options.desktopBitrate.max,bitrateTarget:this.options.desktopBitrate.target})},e}();t.VideoQualityManager=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaSinkWantsLadder=void 0;var r=n(34);function i(){return(i=Object.assign||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}).apply(this,arguments)}function o(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s=function(){function e(t){void 0===t&&(t=r.defaultVideoQualityOptions);var n=t.videoBudget,i=n.width,o=n.height;if(i<=0||o<=0)throw new Error("Invalid argument");this.pixelBudget=i*o,this.ladder=e.calculateLadder(this.pixelBudget),this.orderedLadder=e.calculateOrderedLadder(this.ladder)}var t=e.prototype;return t.getMaxSinkValue=function(e){if(e<0)throw new Error("getMaxSinkValue: Requested "+e);for(var t,n=this.orderedLadder[0].wantValue,r=o(this.orderedLadder);!(t=r()).done;){var i=t.value,a=i.pixelCount,s=i.wantValue;if(a*e>this.pixelBudget)break;n=s}return n},t.getResolution=function(e){for(var t,n=null,r=o(this.orderedLadder);!(t=r()).done;){var i=t.value;if(!(e>=i.wantValue))break;n=i}return{width:(n=n||this.orderedLadder[0]).width,height:n.height,budgetPortion:n.budgetPortion,mutedFramerate:n.mutedFramerate,framerate:n.framerate}},e.calculateLadder=function(t){for(var n=new Set([0,4,8,10]),i=[],a=1;a<4096;++a){var s=16*a/9;if(n.has(s%16)&&n.has(a%16)){var u=s*a;i.push({pixelCount:u,width:s,height:a,budgetPortion:u/t,wantValue:0})}}for(var l={},c=0,d=100,f=1;f<=25;++f){for(var _,p=0,E=0,h=0,m=o(i);!(_=m()).done;){var v=_.value;if(v.pixelCount*f>t)break;p=v.width,E=v.height,h=v.budgetPortion}if(c!==p){var T=e.getMutedFramerate(d);l[d]={width:p,height:E,budgetPortion:h,mutedFramerate:T,framerate:r.VIDEO_QUALITY_FRAMERATE},d-=10,c=p}}return l},e.getMutedFramerate=function(e){return e<=20?r.VIDEO_QUALITY_FRAMERATE_MUTED_2:r.VIDEO_QUALITY_FRAMERATE_MUTED},e.calculateOrderedLadder=function(e){for(var t,n=[],r=o(Object.keys(e).map((function(e){return Number(e)})).sort((function(e,t){return e-t})));!(t=r()).done;){var a=t.value;if(0!==a){var s=e[a];n.push(i({pixelCount:s.width*s.height,wantValue:a},s))}}return n},e}();t.MediaSinkWantsLadder=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatSinkWantStat=function(e,t,n){var r=e[t];if(null==r)return n?e.any+" (any)":"100";return r.toString()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.platformVersion=function(){var e;return"undefined"==typeof platform?0:parseInt((null===(e=platform)||void 0===e?void 0:e.version)||"0",10)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(8)),i=o(n(66));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){a(o,r,i,s,u,"next",e)}function u(e){a(o,r,i,s,u,"throw",e)}s(void 0)}))}}var u=function(){function e(){this.streams=[],this.constraints=null,this.references=0,this.acquirePromise=null}var t=e.prototype;return t.acquire=function(){var e=s(regeneratorRuntime.mark((function e(t){var n,r=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return null==this.acquirePromise&&(this.acquirePromise=this._acquire(t).finally((function(){r.acquirePromise=null}))),e.next=3,this.acquirePromise;case 3:return n=(n=e.sent).clone(),this.streams.push(n),this.references++,e.abrupt("return",n);case 8:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),t._acquire=function(){var e=s(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==(n=this.streams[0])){e.next=7;break}if(!r.default.isEqual(this.constraints,t)){e.next=6;break}return e.abrupt("return",n);case 6:this.clear();case 7:return e.next=9,navigator.mediaDevices.getUserMedia(t);case 9:return n=e.sent,this.streams.push(n),this.constraints=t,e.abrupt("return",n);case 13:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),t.release=function(e){this.streams.includes(e)&&0==--this.references&&this.clear()},t.clear=function(){this.streams.forEach((function(e){e.getTracks().forEach((function(e){e.onended=function(){},e.stop()}))})),this.streams=[],this.constraints=null},e}(),l=function(){function e(){}var t=e.prototype;return t.acquire=function(e){return navigator.mediaDevices.getUserMedia(e)},t.release=function(e){e.getTracks().forEach((function(e){e.onended=function(){},e.stop()}))},e}(),c="Firefox"===i.default.name?u:l;t.default=c},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.EncoderParameter=void 0;var r=f(n(8)),i=f(n(955)),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(441)),a=f(n(962)),s=n(1621),u=f(n(1622)),l=n(34),c=n(135);function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){return e&&e.__esModule?e:{default:e}}function _(){return(_=Object.assign||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}).apply(this,arguments)}function p(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v;t.EncoderParameter=v,function(e){e[e.VIDEO_RESOLUTION_SCALE=0]="VIDEO_RESOLUTION_SCALE",e[e.VIDEO_BITRATE=1]="VIDEO_BITRATE",e[e.VIDEO_FRAMERATE=2]="VIDEO_FRAMERATE"}(v||(t.EncoderParameter=v={}));var T=function(t){var n,i;function d(n,r,i,a,d){var f;return(f=t.call(this,n,r)||this).silenced=!1,f.interacted=!1,f.outputVolume=c.DEFAULT_VOLUME,f.sinkId=c.DEFAULT_DEVICE_ID,f.lastPingTime=0,f.outputs={},f.webrtcStats=new s.WebRTCStatsCalculator,f.canHavePriority=new Set,f.prioritySpeakers=new Set,f.setEchoCancellation=function(e){return f.input.setEchoCancellation(e)},f.setNoiseSuppression=function(e){return f.input.setNoiseSuppression(e)},f.setAutomaticGainControl=function(e){return f.input.setAutomaticGainControl(e)},f.setAudioSource=function(e){return f.input.setAudioSource(e)},f.setVideoSource=function(e){return f.input.setVideoSource(e)},f.setDesktopInput=function(e){return f.input.setDesktop(e)},f.setForceAudioInput=function(e,t){return void 0===t&&(t=!1),f.input.setPTTActive(e)},f.setSelfMute=function(e){return f.input.setMute(e)},f.handleAddVideoTrack=function(){f.updateVideoQuality()},f.handleAudioPermission=function(e){return f.emit("audio-permission",e)},f.handleVideoPermission=function(e){return f.emit("video-permission",e)},f.handleVideo=function(e){return f.emit("video",f.userId,e,f.audioSSRC,f.videoStreamParameters[0].ssrc,f.videoStreamParameters[0].rtxSsrc,f.videoStreamParameters)},f.handleDesktopSourceEnd=function(){return f.emit("desktopsourceend")},f.handleStream=function(e){return f.setStream(e)},f.handleVoiceActivity=function(e){var t=e<=-100;f.silenced===t||f.input.mute()||(f.silenced=t,f.emit("silence",t))},f.handleNewListener=function(t){switch(t){case"video":f.videoReady&&e((function(){return f.handleVideo(f.input.getVideoStreamId())}));break;case"connectionstatechange":f.emit(t,f.connectionState);break;case"interactionrequired":f.interacted||"suspended"!==f.input.getAudioState()||e((function(){return f.emit(t,!0)}))}},f.handleInputSpeaking=function(e){f.emit("speaking",f.userId,e?c.SpeakingFlags.VOICE:c.SpeakingFlags.NONE,f.audioSSRC)},f.handleAudioContextStateChange=function(){f.interacted||"running"!==f.input.getAudioState()||(f.interact(),f.emit("interactionrequired",!1))},f.pollStats=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var n,r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===t&&(t=1e3),f.connectionState!==l.ConnectionStates.DISCONNECTED){e.next=3;break}return e.abrupt("return");case 3:if(!("Chrome"!==platform.name||parseInt(null!==(n=platform.version)&&void 0!==n?n:"0",10)<58)){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,f.getRawStats();case 7:r=e.sent,null!=(i=(0,u.default)(r,f.getTrackUserId,f.remoteVideoSinkWants))&&(f.webrtcStats.update(i),f.stats=i,Date.now()-f.lastPingTime>=l.PING_INTERVAL&&(f.emit("ping",i.transport.ping),f.lastPingTime=Date.now())),setTimeout(f.pollStats,t);case 11:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){h(o,r,i,a,s,"next",e)}function s(e){h(o,r,i,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),f.iceServers=a||[],f.input=new o.default(i),i.addEventListener("statechange",f.handleAudioContextStateChange),f.audioContext=i,f.input.on(o.InputEvent.AudioPermission,f.handleAudioPermission),f.input.on(o.InputEvent.VideoPermission,f.handleVideoPermission),f.input.on(o.InputEvent.Video,f.handleVideo),f.input.on(o.InputEvent.Mute,(function(e){return f.emit("mute",e)})),f.input.on(o.InputEvent.Stream,f.handleStream),f.input.on(o.InputEvent.DesktopSourceEnd,f.handleDesktopSourceEnd),f.input.on(o.InputEvent.Speaking,f.handleInputSpeaking),f.input.on(o.InputEvent.AddVideoTrack,f.handleAddVideoTrack),f.input.on(o.InputEvent.Video,f.handleAddVideoTrack),f.on("newListener",f.handleNewListener),f.initializeStreamParameters(d),f}i=t,(n=d).prototype=Object.create(i.prototype),n.prototype.constructor=n,m(n,i);var f=d.prototype;return f.interact=function(){this.interacted=!0;for(var e=0,t=Object.keys(this.outputs);e<t.length;e++){var n=t[e];this.outputs[n].play()}this.input.resumeAudio()},f.destroy=function(){t.prototype.destroy.call(this);for(var e=0,n=Object.keys(this.outputs);e<n.length;e++){var r=n[e];this.destroyOutput(r)}this.input.destroy()},f.getStats=function(){var e=this;return new Promise((function(t){return t(e.stats)}))},f.setInputMode=function(e,t){this.input.setAudioMode(e,{delay:t.pttReleaseDelay,threshold:t.vadThreshold})},f.setSelfDeaf=function(e){this.selfDeaf=e;for(var t=0,n=Object.keys(this.outputs);t<n.length;t++){var r=n[t];this.outputs[r].mute=e||this.localMutes[r]}},f.setLocalMute=function(e,t){this.localMutes[e]=t,null!=this.outputs[e]&&(this.outputs[e].mute=this.selfDeaf||t)},f.setRemoteVideoSinkWants=function(e){this.remoteVideoSinkWants=e,this.updateVideoQuality(l.MEDIA_SINK_WANTS_PROPERTIES)},f.setLocalVideoSinkWants=function(e){this.localVideoSinkWants=e},f.updateVideoQualityCore=function(e,t){if(this.videoSupported){var n=this.input.getVideoStream();if(null!=n){var r;if(null!=t.capture&&null!=t.capture.width&&null!=t.capture.height&&null!=e.remoteSinkWantsPixelCount&&0!==e.remoteSinkWantsPixelCount&&0!==t.capture.height){var i=t.capture.width/t.capture.height,o=Math.sqrt(e.remoteSinkWantsPixelCount*i),a=t.capture.width/o;r=a<1?void 0:a}console.log("BaseWebRTCConnection.updateVideoQuality: resolutionScaleFactor: "+r+", encodingVideoWidth: "+e.encodingVideoWidth+", remoteSinkWantsMaxFramerate: "+e.remoteSinkWantsMaxFramerate+", encodingVideoMaxBitRate: "+e.encodingVideoMaxBitRate+", localWant: "+this.getLocalWant()),this.setVideoEncoderParameters([{parameter:v.VIDEO_RESOLUTION_SCALE,value:r},{parameter:v.VIDEO_BITRATE,value:e.encodingVideoMaxBitRate},{parameter:v.VIDEO_FRAMERATE,value:e.remoteSinkWantsMaxFramerate}]);for(var s,u=e.encodingVideoWidth,l=e.encodingVideoHeight,c=p(n.getTracks());!(s=c()).done;){var d,f,_=s.value,E=_.getConstraints(),h=null===(d=E.width)||void 0===d?void 0:d.max,m=null===(f=E.height)||void 0===f?void 0:f.max;h===u&&m===l||(console.log("BaseWebRTCConnection.updateVideoQuality: old: "+h+" x "+m+", new: "+u+" x "+l),E.width={max:u},E.height={max:l},_.applyConstraints(E))}}}},f.setCanHavePriority=function(e,t){var n=this.canHavePriority.size;t?this.canHavePriority.add(e):this.canHavePriority.delete(e),this.canHavePriority.size!==n&&this.recalculatePrioritySpeakers()},f.setSpeakingFlags=function(e,t){t?this.localSpeakingFlags[e]=t:delete this.localSpeakingFlags[e];var n=this.outputs[e];null!=n&&n.setSpeakingFlags(t);var r=this.wantsPriority.size,i=c.SpeakingFlags.VOICE|c.SpeakingFlags.PRIORITY;(t&i)===i?this.wantsPriority.add(e):this.wantsPriority.delete(e),this.wantsPriority.size!==r&&this.recalculatePrioritySpeakers()},f.clearAllSpeaking=function(){for(var e in this.localSpeakingFlags)delete this.localSpeakingFlags[e],null!=this.outputs[e]&&this.outputs[e].setSpeakingFlags(c.SpeakingFlags.NONE)},f.setOutputVolume=function(e){this.outputVolume=e;for(var t=0,n=Object.keys(this.outputs);t<n.length;t++){var r=n[t];this.outputs[r].volume=this.computeLocalVolume(r)}},f.setSinkId=function(e){this.sinkId=e;for(var t=0,n=Object.keys(this.outputs);t<n.length;t++){var r=n[t];this.outputs[r].setSinkId(e)}},f.setStreamParameters=function(e){var t=this;return this.videoStreamParameters.forEach((function(n){var i=e.findIndex((function(e){return e.rid===n.rid}));if(-1===i)return Promise.reject(new Error("Invalid rid"));r.default.isEqual(t.videoStreamParameters[i],e[i])||(t.videoStreamParameters[i]=_({},e[i]))})),Promise.resolve()},f.recalculatePrioritySpeakers=function(){var e=this;this.prioritySpeakers=new Set(Array.from(this.wantsPriority).filter((function(t){return e.canHavePriority.has(t)}))),r.default.forEach(this.outputs,(function(t,n){t.volume=e.computeLocalVolume(n)}))},f.setBitRate=function(e){this.voiceBitrate=e},f.setLocalVolume=function(e,t){this.localVolumes[e]=t,null!=this.outputs[e]&&(this.outputs[e].volume=this.computeLocalVolume(e))},f.getLocalVolume=function(e){var t=this.localVolumes[e];return null==t&&(t=this.context===c.MediaEngineContextTypes.DEFAULT?c.DEFAULT_VOLUME:c.DEFAULT_STREAM_VOLUME),null!=t?t:c.DEFAULT_VOLUME},f.computeLocalVolume=function(e){var t=this.outputVolume*this.getLocalVolume(e)/c.DEFAULT_VOLUME;return this.prioritySpeakers.size>0&&!this.prioritySpeakers.has(e)?t*c.DEFAULT_PRIORITY_SPEAKER_DUCKING:t},f.hasDesktopSource=function(){var e;return null===(e=this.input)||void 0===e?void 0:e.hasDesktopSource()},f.createOutput=function(e,t){var n=this,r=this.outputs[e];null==r&&((r=new a.default(e,this.audioContext)).mute=this.selfDeaf||this.localMutes[e],r.volume=this.computeLocalVolume(e),r.on("speaking",(function(t){return n.emit("speaking",e,t)})),r.on("video",(function(t){return n.emit("video",e,t)})),r.on("interactionrequired",(function(e){return n.emit("interactionrequired",e)})),r.setSpeakingFlags(this.localSpeakingFlags[e]||c.SpeakingFlags.NONE),r.setSinkId(this.sinkId),this.outputs[e]=r),r.addTrack(t)},f.destroyOutput=function(e,t){var n=this.outputs[e];null==n||null!=t&&0!==n.removeTrack(t)||(n.destroy(),delete this.outputs[e])},f.setLocalPan=function(e,t,n){},f.setNoiseCancellation=function(e){},f.setNoiseDetection=function(e,t){},f.setExperimentalEncoders=function(e){},f.setHardwareH264=function(e){},f.setQoS=function(e){},f.isAttenuating=function(){return!1},f.setAttenuation=function(e,t,n){},f.setSilenceThreshold=function(e){},f.setEncryption=function(e,t){},f.setPostponeDecodeLevel=function(e){},f.setReconnectInterval=function(e){},d}(i.default);t.default=T}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(64),i=n(350),o=n(253),a=n(135);function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e){var t,n;function r(t,n){var r;return(r=e.call(this)||this)._speakingFlags=a.SpeakingFlags.NONE,r._mute=!1,r._volume=a.DEFAULT_VOLUME,r.sinkId=null,r.audioElement=null,r.stream=new MediaStream,r.videoStreamId=null,r.levelNode=null,r.streamSourceNode=null,r.id=t,r.audioContext=n,r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var l,c,d,f=r.prototype;return f.play=function(){var e;null===(e=this.audioElement)||void 0===e||e.play()},f.destroy=function(){var e;null===(e=this.audioElement)||void 0===e||e.pause(),null!=this.videoStreamId&&(0,o.unregisterVideoStream)(this.videoStreamId),this.streamSourceNode&&(this.streamSourceNode.disconnect(),this.streamSourceNode=null),this.levelNode&&(this.levelNode.disconnect(),this.levelNode.port.postMessage("close"),this.levelNode=null),this.setSpeakingFlags(a.SpeakingFlags.NONE),this.removeAllListeners()},f.addTrack=function(e){var t=this;if(this.stream.addTrack(e),null==this.audioElement){var n=document.createElement("audio");n.srcObject=this.stream;var r=n.play();null!=r&&r.catch((function(){return t.emit("interactionrequired",!0)})),this.audioElement=n,this.updateAudioElement()}if(null==this.levelNode&&this.stream.getAudioTracks().length>0){this.streamSourceNode=this.audioContext.createMediaStreamSource(this.stream);try{this.levelNode=new AudioWorkletNode(this.audioContext,"level-processor"),this.levelNode.port.onmessage=function(e){t.emit("speaking",e.data)},this.streamSourceNode&&this.streamSourceNode.connect(this.levelNode)}catch(e){console.warn("Output#Failed to setup speaking indicator: "+e)}}return"video"===e.kind&&(null!=this.videoStreamId&&(0,o.unregisterVideoStream)(this.videoStreamId),this.videoStreamId=(0,o.registerVideoStream)(this.stream),this.emit("video",this.videoStreamId)),this.stream.getTracks().length},f.removeTrack=function(e){return this.stream.removeTrack(e),"video"===e.kind&&(null!=this.videoStreamId&&(0,o.unregisterVideoStream)(this.videoStreamId),this.emit("video",null)),this.stream.getTracks().length},f.setSinkId=function(e){this.sinkId=e,this.updateAudioElement()},f.setSpeakingFlags=function(e){this._speakingFlags!==e&&(this._speakingFlags=e,this.updateAudioElement())},f.updateAudioElement=function(){var e=this.audioElement;if(null!=e){e.muted=this._mute,e.volume=this._volume/100;var t=this.sinkId;null!=t&&i.CAN_SET_OUTPUT_DEVICES&&e.setSinkId(t)}},l=r,(c=[{key:"mute",get:function(){return this._mute},set:function(e){this._mute=e||!1,this.updateAudioElement()}},{key:"priority",get:function(){return(this._speakingFlags&a.SpeakingFlags.PRIORITY)===a.SpeakingFlags.PRIORITY}},{key:"volume",get:function(){return this._volume},set:function(e){this._volume=Math.max(0,Math.min(Math.round(e),a.DEFAULT_VOLUME)),this.updateAudioElement()}},{key:"speakingFlags",get:function(){return this._speakingFlags}}])&&s(l.prototype,c),d&&s(l,d),r}(r.EventEmitter);t.default=l},function(e,t){var n=e.exports={v:[{name:"version",reg:/^(\d*)$/}],o:[{name:"origin",reg:/^(\S*) (\d*) (\d*) (\S*) IP(\d) (\S*)/,names:["username","sessionId","sessionVersion","netType","ipVer","address"],format:"%s %s %d %s IP%d %s"}],s:[{name:"name"}],i:[{name:"description"}],u:[{name:"uri"}],e:[{name:"email"}],p:[{name:"phone"}],z:[{name:"timezones"}],r:[{name:"repeats"}],t:[{name:"timing",reg:/^(\d*) (\d*)/,names:["start","stop"],format:"%d %d"}],c:[{name:"connection",reg:/^IN IP(\d) (\S*)/,names:["version","ip"],format:"IN IP%d %s"}],b:[{push:"bandwidth",reg:/^(TIAS|AS|CT|RR|RS):(\d*)/,names:["type","limit"],format:"%s:%s"}],m:[{reg:/^(\w*) (\d*) ([\w\/]*)(?: (.*))?/,names:["type","port","protocol","payloads"],format:"%s %d %s %s"}],a:[{push:"rtp",reg:/^rtpmap:(\d*) ([\w\-\.]*)(?:\s*\/(\d*)(?:\s*\/(\S*))?)?/,names:["payload","codec","rate","encoding"],format:function(e){return e.encoding?"rtpmap:%d %s/%s/%s":e.rate?"rtpmap:%d %s/%s":"rtpmap:%d %s"}},{push:"fmtp",reg:/^fmtp:(\d*) ([\S| ]*)/,names:["payload","config"],format:"fmtp:%d %s"},{name:"control",reg:/^control:(.*)/,format:"control:%s"},{name:"rtcp",reg:/^rtcp:(\d*)(?: (\S*) IP(\d) (\S*))?/,names:["port","netType","ipVer","address"],format:function(e){return null!=e.address?"rtcp:%d %s IP%d %s":"rtcp:%d"}},{push:"rtcpFbTrrInt",reg:/^rtcp-fb:(\*|\d*) trr-int (\d*)/,names:["payload","value"],format:"rtcp-fb:%d trr-int %d"},{push:"rtcpFb",reg:/^rtcp-fb:(\*|\d*) ([\w-_]*)(?: ([\w-_]*))?/,names:["payload","type","subtype"],format:function(e){return null!=e.subtype?"rtcp-fb:%s %s %s":"rtcp-fb:%s %s"}},{push:"ext",reg:/^extmap:(\d+)(?:\/(\w+))? (\S*)(?: (\S*))?/,names:["value","direction","uri","config"],format:function(e){return"extmap:%d"+(e.direction?"/%s":"%v")+" %s"+(e.config?" %s":"")}},{push:"crypto",reg:/^crypto:(\d*) ([\w_]*) (\S*)(?: (\S*))?/,names:["id","suite","config","sessionConfig"],format:function(e){return null!=e.sessionConfig?"crypto:%d %s %s %s":"crypto:%d %s %s"}},{name:"setup",reg:/^setup:(\w*)/,format:"setup:%s"},{name:"mid",reg:/^mid:([^\s]*)/,format:"mid:%s"},{name:"msid",reg:/^msid:(.*)/,format:"msid:%s"},{name:"ptime",reg:/^ptime:(\d*)/,format:"ptime:%d"},{name:"maxptime",reg:/^maxptime:(\d*)/,format:"maxptime:%d"},{name:"direction",reg:/^(sendrecv|recvonly|sendonly|inactive)/},{name:"icelite",reg:/^(ice-lite)/},{name:"iceUfrag",reg:/^ice-ufrag:(\S*)/,format:"ice-ufrag:%s"},{name:"icePwd",reg:/^ice-pwd:(\S*)/,format:"ice-pwd:%s"},{name:"fingerprint",reg:/^fingerprint:(\S*) (\S*)/,names:["type","hash"],format:"fingerprint:%s %s"},{push:"candidates",reg:/^candidate:(\S*) (\d*) (\S*) (\d*) (\S*) (\d*) typ (\S*)(?: raddr (\S*) rport (\d*))?(?: tcptype (\S*))?(?: generation (\d*))?(?: network-id (\d*))?(?: network-cost (\d*))?/,names:["foundation","component","transport","priority","ip","port","type","raddr","rport","tcptype","generation","network-id","network-cost"],format:function(e){var t="candidate:%s %d %s %d %s %d typ %s";return t+=null!=e.raddr?" raddr %s rport %d":"%v%v",t+=null!=e.tcptype?" tcptype %s":"%v",null!=e.generation&&(t+=" generation %d"),t+=null!=e["network-id"]?" network-id %d":"%v",t+=null!=e["network-cost"]?" network-cost %d":"%v"}},{name:"endOfCandidates",reg:/^(end-of-candidates)/},{name:"remoteCandidates",reg:/^remote-candidates:(.*)/,format:"remote-candidates:%s"},{name:"iceOptions",reg:/^ice-options:(\S*)/,format:"ice-options:%s"},{push:"ssrcs",reg:/^ssrc:(\d*) ([\w_]*)(?::(.*))?/,names:["id","attribute","value"],format:function(e){var t="ssrc:%d";return null!=e.attribute&&(t+=" %s",null!=e.value&&(t+=":%s")),t}},{push:"ssrcGroups",reg:/^ssrc-group:([\x21\x23\x24\x25\x26\x27\x2A\x2B\x2D\x2E\w]*) (.*)/,names:["semantics","ssrcs"],format:"ssrc-group:%s %s"},{name:"msidSemantic",reg:/^msid-semantic:\s?(\w*) (\S*)/,names:["semantic","token"],format:"msid-semantic: %s %s"},{push:"groups",reg:/^group:(\w*) (.*)/,names:["type","mids"],format:"group:%s %s"},{name:"rtcpMux",reg:/^(rtcp-mux)/},{name:"rtcpRsize",reg:/^(rtcp-rsize)/},{name:"sctpmap",reg:/^sctpmap:([\w_\/]*) (\S*)(?: (\S*))?/,names:["sctpmapNumber","app","maxMessageSize"],format:function(e){return null!=e.maxMessageSize?"sctpmap:%s %s %s":"sctpmap:%s %s"}},{name:"xGoogleFlag",reg:/^x-google-flag:([^\s]*)/,format:"x-google-flag:%s"},{push:"rids",reg:/^rid:([\d\w]+) (\w+)(?: ([\S| ]*))?/,names:["id","direction","params"],format:function(e){return e.params?"rid:%s %s %s":"rid:%s %s"}},{push:"imageattrs",reg:new RegExp("^imageattr:(\\d+|\\*)[\\s\\t]+(send|recv)[\\s\\t]+(\\*|\\[\\S+\\](?:[\\s\\t]+\\[\\S+\\])*)(?:[\\s\\t]+(recv|send)[\\s\\t]+(\\*|\\[\\S+\\](?:[\\s\\t]+\\[\\S+\\])*))?"),names:["pt","dir1","attrs1","dir2","attrs2"],format:function(e){return"imageattr:%s %s %s"+(e.dir2?" %s %s":"")}},{name:"simulcast",reg:new RegExp("^simulcast:(send|recv) ([a-zA-Z0-9\\-_~;,]+)(?:\\s?(send|recv) ([a-zA-Z0-9\\-_~;,]+))?$"),names:["dir1","list1","dir2","list2"],format:function(e){return"simulcast:%s %s"+(e.dir2?" %s %s":"")}},{name:"simulcast_03",reg:/^simulcast:[\s\t]+([\S+\s\t]+)$/,names:["value"],format:"simulcast: %s"},{name:"framerate",reg:/^framerate:(\d+(?:$|\.\d+))/,format:"framerate:%s"},{push:"invalid",names:["value"]}]};Object.keys(n).forEach((function(e){n[e].forEach((function(e){e.reg||(e.reg=/(.*)/),e.format||(e.format="%s")}))}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(9))&&r.__esModule?r:{default:r},a=n(253);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e){var t=e.streamId,n=e.paused,r=e.onReady,s=e.onResize,l=e.className,c=function(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}(e,["streamId","paused","onReady","onResize","className"]),d=i.useRef(null),f=i.useRef({width:0,height:0});i.useLayoutEffect((function(){var e=d.current;if(null!=e)return e.srcObject=(0,a.getVideoStream)(t),function(){e.srcObject=null,e.load()}}),[t]),i.useEffect((function(){var e,t;n?null===(e=d.current)||void 0===e||e.pause():null===(t=d.current)||void 0===t||t.play().catch((function(){}))}),[n]);var _=i.useCallback((function(){var e,t,n,r,i=f.current,o=i.width,a=i.height,u=null!==(e=null===(t=d.current)||void 0===t?void 0:t.videoWidth)&&void 0!==e?e:0,l=null!==(n=null===(r=d.current)||void 0===r?void 0:r.videoHeight)&&void 0!==n?n:0;if(o!==u||a!==l){var c={width:u,height:l};null==s||s(c),f.current=c}}),[s]);i.useLayoutEffect((function(){var e=d.current;if(null!=e)return e.addEventListener("resize",_),function(){return e.removeEventListener("resize",_)}}),[_]);var p=i.useCallback((function(){null==r||r()}),[r]),E=i.useCallback((function(e){n||e.currentTarget.play()}),[n]);return i.createElement("video",u({className:(0,o.default)("media-engine-video",l),ref:d,autoPlay:!0,muted:!0,onPause:E,onCanPlayThrough:p},c))}l.displayName="Video",l.defaultProps={paused:!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attachToProcess=function(e,t){return _().then((function(n){var u=a.default.getGameNameForPID(e),l=o.default.getGameByName(u);return new Promise((function(o){var d=f({},a.default.getOverlayOptionsForPID(e),{elevate:a.default.shouldElevateProcessForPID(e)});null==d.allowHook||d.allowHook?(n.attachToProcess(e,d,(function(e,n){s.default.track(c.AnalyticEvents.HOOK_RESULT,f({game_name:u,game_id:null==l?null:l.id,success:n,error:e},t)),n?o():o(e=e||"Unknown hook error")})),r.default.wait((function(){return i.default.clearElevatedProcess()}))):o("Hook is disabled for this game")}))}))},t.cancelAttachToProcess=function(e){return _().then((function(t){t.cancelAttachToProcess(e)}))};var r=d(n(2)),i=d(n(311)),o=d(n(71)),a=d(n(79)),s=d(n(13)),u=d(n(16)),l=d(n(43)),c=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(){return(f=Object.assign||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}).apply(this,arguments)}function _(){return u.default.isWindows()?l.default.ensureModule("discord_hook").then((function(){return l.default.requireModule("discord_hook")})):Promise.reject(new Error("Hook is only available on Windows"))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(r,"/")};var r=/\\/g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=n(380),o=n(1),a=(r=n(6))&&r.__esModule?r:{default:r};function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=function(){function e(e){this.raw=e,null!=e.code&&(this.code=e.code),null!=e.uuid&&(this.uuid=e.uuid),null!=e.application_id&&(this.applicationId=e.application_id),null!=e.branch_id&&(this.branchId=e.branch_id),null!=e.context?this.context=e.context:this.context={}}var t,n,r;return t=e,(n=[{key:"displayMessage",get:function(){if(null==this.code)return a.default.Messages.NOTICE_DISPATCH_ERROR;var e=this.context.path;switch(this.code){case o.DispatchErrorCodes.DISK_LOW:var t=this.context,n=t.available,r=t.required,s=(0,i.formatSize)(n,{useKibibytes:!0}),u=(0,i.formatSize)(r,{useKibibytes:!0});return a.default.Messages.NOTICE_DISPATCH_ERROR_DISK_LOW.format({required:u,available:s});case o.DispatchErrorCodes.POST_INSTALL_FAILED:var l=this.context.name;return a.default.Messages.NOTICE_DISPATCH_ERROR_POST_INSTALL_FAILED.format({name:l});case o.DispatchErrorCodes.FILE_NAME_TOO_LONG:return a.default.Messages.NOTICE_DISPATCH_ERROR_FILE_NAME_TOO_LONG;case o.DispatchErrorCodes.POST_INSTALL_CANCELLED:return a.default.Messages.NOTICE_DISPATCH_ERROR_POST_INSTALL_CANCELLED;case o.DispatchErrorCodes.IO_PERMISSION_DENIED:return a.default.Messages.NOTICE_DISPATCH_ERROR_IO_PERMISSION_DENIED;case o.DispatchErrorCodes.NO_MANIFESTS:return a.default.Messages.NOTICE_DISPATCH_ERROR_NO_MANIFESTS;case o.DispatchErrorCodes.NOT_ENTITLED:return a.default.Messages.NOTICE_DISPATCH_ERROR_NOT_ENTITLED;case o.DispatchErrorCodes.NOT_DIRECTORY:case o.DispatchErrorCodes.DISK_PERMISSION_DENIED:return a.default.Messages.NOTICE_DISPATCH_ERROR_UNWRITABLE.format({path:e});case o.DispatchErrorCodes.INVALID_DRIVE:return a.default.Messages.NOTICE_DISPATCH_ERROR_INVALID_DRIVE.format({path:e});case o.DispatchErrorCodes.APPLICATION_LOCK_FAILED:return a.default.Messages.NOTICE_DISPATCH_APPLICATION_LOCK_FAILED;case o.DispatchErrorCodes.DISK_FULL:return a.default.Messages.NOTICE_DISPATCH_ERROR_DISK_FULL;case o.DispatchErrorCodes.API_ERROR:case o.DispatchErrorCodes.MAX_REQUEST_RETRIES_EXCEEDED:return a.default.Messages.NOTICE_DISPATCH_API_ERROR;default:return a.default.Messages.NOTICE_DISPATCH_ERROR_WITH_CODE.format({code:""+this.code})}}}])&&s(t.prototype,n),r&&s(t,r),e}();t.default=u},function(e,t,n){"use strict";e.exports=n(1700)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=/^#[0-9a-f]{3,8}$/i,i=/^((?:rgb|hsl)a?)\s*\(([^)]*)\)/i,o=function(){function e(e,t,n,r){this.red=e,this.green=t,this.blue=n,this.alpha=r}var t=e.prototype;return t.toHexString=function(){var e=Math.round(this.red).toString(16),t=Math.round(this.green).toString(16),n=Math.round(this.blue).toString(16);return"#"+(this.red>15.5?e:"0"+e)+(this.green>15.5?t:"0"+t)+(this.blue>15.5?n:"0"+n)},e.parseString=function(e){return e.match(i)?this.parseColorFnString(e):e.match(r)?this.parseHexString(e):void 0},e.parseRgbString=function(t){return"transparent"===t?new e(0,0,0,0):this.parseColorFnString(t)},e.parseHexString=function(t){if(t.match(r)&&![6,8].includes(t.length)){if((t=t.replace("#","")).length<6){var n=t,i=n[0],o=n[1],a=n[2],s=n[3];t=i+i+o+o+a+a,s&&(t+=s+s)}var u=t.match(/.{1,2}/g);if(null!=u)return new e(parseInt(u[0],16),parseInt(u[1],16),parseInt(u[2],16),null!=u[3]?parseInt(u[3],16)/255:1)}},e.parseColorFnString=function(t){var n,r=null!==(n=t.match(i))&&void 0!==n?n:[],o=r[1],a=r[2];if(o&&a){var s=a.split(/\s*[,/\s]\s*/).map((function(e){return e.replace(",","").trim()})).filter((function(e){return""!==e})).map((function(e,t){return function(e,t,n){if(/%$/.test(t))return 3===n?parseFloat(t)/100:255*parseFloat(t)/100;if("h"===e[n]){if(/turn$/.test(t))return 360*parseFloat(t);if(/rad$/.test(t))return 57.3*parseFloat(t)}return parseFloat(t)}(o,e,t)}));if("hsl"===o.substr(0,3)){var u=function(e){var t=e.hue,n=e.saturation,r=e.lightness,i=e.alpha;n/=255,r/=255;var o=(1-Math.abs(2*r-1))*n,a=o*(1-Math.abs(t/60%2-1)),s=r-o/2,u=(t<60?[o,a,0]:t<120?[a,o,0]:t<180?[0,o,a]:t<240?[0,a,o]:t<300?[a,0,o]:[o,0,a]).map((function(e){return Math.round(255*(e+s))}));return{red:u[0],green:u[1],blue:u[2],alpha:i}}({hue:s[0],saturation:s[1],lightness:s[2],alpha:s[3]});return new e(u.red,u.green,u.blue,u.alpha)}return new e(s[0],s[1],s[2],"number"==typeof s[3]?s[3]:1)}},t.toHSL=function(){return function(e){var t=e.red,n=e.green,r=e.blue,i=e.alpha,o=t/255,a=n/255,s=r/255,u=Math.max(o,a,s),l=Math.min(o,a,s),c=u-l,d=(u+l)/2,f=c>0?c/(1-Math.abs(2*d-1)):0;if(0===c)return{hue:0,saturation:f,lightness:d,alpha:i};var _=0;switch(u){case o:_=(a-s)/c%6;break;case a:_=(s-o)/c+2;break;case s:_=(a-s)/c+4}return{hue:60*_,saturation:f,lightness:d,alpha:i}}({red:this.red,green:this.green,blue:this.blue,alpha:this.alpha})},t.getRelativeLuminance=function(){var e=this.red/255,t=this.green/255,n=this.blue/255;return.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Object.is(e[n],t[n]))return!1;return!0}},function(e,t,n){"use strict";var r={current:{createInteractionHandle:function(){},clearInteractionHandle:function(){}},inject:function(e){r.current=e}};e.exports=r},function(e,t,n){"use strict";var r=n(1717),i=function(){function e(){}return e.step0=function(e){return e>0?1:0},e.step1=function(e){return e>=1?1:0},e.linear=function(e){return e},e.ease=function(e){return o(e)},e.quad=function(e){return e*e},e.cubic=function(e){return e*e*e},e.poly=function(e){return function(t){return Math.pow(t,e)}},e.sin=function(e){return 1-Math.cos(e*Math.PI/2)},e.circle=function(e){return 1-Math.sqrt(1-e*e)},e.exp=function(e){return Math.pow(2,10*(e-1))},e.elastic=function(e){void 0===e&&(e=1);var t=e*Math.PI;return function(e){return 1-Math.pow(Math.cos(e*Math.PI/2),3)*Math.cos(e*t)}},e.back=function(e){return void 0===e&&(e=1.70158),function(t){return t*t*((e+1)*t-e)}},e.bounce=function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},e.bezier=function(e,t,n,i){return r(e,t,n,i)},e.in=function(e){return e},e.out=function(e){return function(t){return 1-e(1-t)}},e.inOut=function(e){return function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2}},e}(),o=i.bezier(.42,0,1,1);e.exports=i},function(e,t,n){"use strict";function r(){return(r=Object.assign||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}).apply(this,arguments)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var o=n(102),a=n(1722),s=function(e){var t,n;function s(t,n){var i;return i=e.call(this)||this,t.style&&(t=r({},t,{style:new a(t.style)})),i._props=t,i._callback=n,i.__attach(),i}n=e,(t=s).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var u=s.prototype;return u.__getValue=function(){var e={};for(var t in this._props){var n=this._props[t];e[t]=n instanceof o?n.__getValue():n}return e},u.__getAnimatedValue=function(){var e={};for(var t in this._props){var n=this._props[t];n instanceof o&&(e[t]=n.__getAnimatedValue())}return e},u.__attach=function(){for(var e in this._props){var t=this._props[e];t instanceof o&&t.__addChild(this)}},u.__detach=function(){for(var e in this._props){var t=this._props[e];t instanceof o&&t.__removeChild(this)}},u.update=function(){this._callback()},s}(o);e.exports=s},function(e,t,n){"use strict";var r={current:function(e){return e},inject:function(e){r.current=e}};e.exports=r},function(e,t,n){"use strict";var r={current:function(e,t){if(!e.setNativeProps)return!1;e.setNativeProps(t)},transformStyles:function(e){return e},inject:function(e,t){r.current=e,r.transformStyles=t}};e.exports=r},function(e,t,n){"use strict";function r(e,t){return"horizontal"===t?{scrollPosition:e.scrollLeft,scrollSize:e.scrollWidth,offsetSize:e.offsetWidth}:{scrollPosition:e.scrollTop,scrollSize:e.scrollHeight,offsetSize:e.offsetHeight}}function i(e,t,n){var r=t-n+1;return e>=r-1?r:Math.max(0,e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,o){void 0===o&&(o="vertical");var a=function(e){var a=e.to,s=e.animate,u=e.callback,l=r(t(),o),c=l.scrollPosition,d=l.scrollSize,f=l.offsetSize;n.to({to:i(a,d,f),from:c,animate:s,callback:u})},s=function(e){var n=e.start,i=e.end,s=e.padding,u=void 0===s?0:s,l=e.animate,c=e.callback,d=r(t(),o),f=d.scrollPosition,_=d.offsetSize;i+=u,(n-=u)>=f&&i<=f+_?null!=c&&c():a(n<f?{to:n,animate:l,callback:c}:{to:i-_,animate:l,callback:c})};return{spring:n,scrollTo:a,mergeTo:n.mergeTo,scrollIntoViewRect:s,scrollIntoViewNode:function(t){var n=t.node,r=t.padding,i=void 0===r?0:r,a=t.animate,u=void 0!==a&&a,l=t.callback,c=e.current;if(null!=c){var d=function(e,t,n){var r="horizontal"===t?e.offsetWidth:e.offsetHeight,i="horizontal"===t?e.offsetLeft:e.offsetTop,o=e.offsetParent;for(;null!=o&&o!==n;)o instanceof HTMLElement?(i+="horizontal"===t?o.offsetLeft:o.offsetTop,o=o.offsetParent):o=o.parentNode;return{offset:i,offsetSize:r}}(n,o,c),f=d.offset,_=d.offsetSize;s({start:f,end:f+_,padding:i,animate:u,callback:l})}},scrollPageUp:function(e){var n=void 0===e?{}:e,i=n.animate,s=void 0!==i&&i,u=n.callback,l=r(t(),o),c=l.scrollPosition,d=l.offsetSize;a({to:c-.9*d,animate:s,callback:u})},scrollPageDown:function(e){var n=void 0===e?{}:e,i=n.animate,s=void 0!==i&&i,u=n.callback,l=r(t(),o),c=l.scrollPosition,d=l.offsetSize;a({to:c+.9*d,animate:s,callback:u})},scrollToTop:function(e){var t=void 0===e?{}:e,n=t.animate,r=void 0!==n&&n,i=t.callback;a({to:0,animate:r,callback:i})},scrollToBottom:function(e){var t=void 0===e?{}:e,n=t.animate,r=void 0!==n&&n,i=t.callback;a({to:Number.MAX_SAFE_INTEGER,animate:r,callback:i})},isScrolledToTop:function(){return 0===r(t(),o).scrollPosition},isScrolledToBottom:function(){var e=r(t(),o);return e.scrollPosition>=e.scrollSize-e.offsetSize}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.getMasonryListSectionIndex=t.getMasonryListSectionHeaderKey=t.getMasonryListSectionKey=void 0;var r=function(e){return"__section__"+e};t.getMasonryListSectionKey=r;var i=function(e){return"__section_header__"+e};t.getMasonryListSectionHeaderKey=i;function o(e){return e.reduce((function(e,t,n){return t<e[0]?[t,n]:e}),[e[0],0])}t.getMasonryListSectionIndex=function(e){return parseInt(e.replace(/^__section__/,""),10)};var a=function(){return 0},s=function(){function e(){this.visibleSections={},this.coordsMap={},this.columnHeights=[],this.columnWidth=0,this.totalHeight=0,this.itemGrid=[],this.needsFullCompute=!0,this.bufferWidth=0,this.sections=[],this.columns=0,this.itemGutter=0,this.sectionGutter=null,this.padding=null,this.dir="ltr",this.getItemKey=function(){throw new Error("MasonryListComputer: getItemKey has not been implemented")},this.getItemHeight=function(){throw new Error("MasonryListComputer: getItemHeight has not been implemented")},this.getSectionHeight=a}var t=e.prototype;return t.getPadding=function(){return null!=this.padding?this.padding:this.itemGutter},t.getSectionGutter=function(){return null!=this.sectionGutter?this.sectionGutter:this.itemGutter},t.mergeProps=function(e){var t=e.sections,n=void 0===t?this.sections:t,r=e.columns,i=void 0===r?this.columns:r,o=e.itemGutter,a=void 0===o?this.itemGutter:o,s=e.getItemKey,u=void 0===s?this.getItemKey:s,l=e.getItemHeight,c=void 0===l?this.getItemHeight:l,d=e.getSectionHeight,f=void 0===d?this.getSectionHeight:d,_=e.bufferWidth,p=void 0===_?this.bufferWidth:_,E=e.padding,h=void 0===E?this.padding:E,m=e.sectionGutter,v=void 0===m?this.sectionGutter:m,T=e.dir,g=void 0===T?this.dir:T;this.sections===n&&this.columns===i&&this.itemGutter===a&&this.getItemKey===u&&this.getSectionHeight===f&&this.getItemHeight===c&&this.bufferWidth===p&&this.padding===h&&this.sectionGutter===v&&this.dir===g||(this.needsFullCompute=!0,this.sections=n,this.columns=i,this.itemGutter=a,this.getItemKey=u,this.getSectionHeight=f,this.getItemHeight=c,this.bufferWidth=p,this.padding=h,this.sectionGutter=v,this.dir=g)},t.computeFullCoords=function(){var e=this;if(this.needsFullCompute){var t=this.columns,n=this.getItemKey,a=this.getItemHeight,s=this.itemGutter,u=this.getSectionHeight,l=this.bufferWidth,c="rtl"===this.dir?"right":"left";this.coordsMap={},this.columnHeights=new Array(t).fill(this.getPadding()),this.columnWidth=(l-2*this.getPadding()-s*(t-1))/t,this.itemGrid=[];for(var d=0;d<this.sections.length;){var f,_=this.sections[d],p=0,E=u(d),h=this.getMaxColumnHeight(this.columnHeights);d>0&&(h=h-s+this.getSectionGutter());for(var m,v=E>0?E+s:0,T=0;T<this.columnHeights.length;T++)this.columnHeights[T]=h+v;for(;p<_;){var g,I=n(d,p);if(null!=I){var S=o(this.columnHeights),y=S[0],A=S[1],O=a(d,p,this.columnWidth),N=((g={position:"absolute"})[c]=this.columnWidth*A+s*(A+1)-s,g.width=this.columnWidth,g.top=y-h,g.height=O,g);this.coordsMap[I]=N,this.columnHeights[A]=y+O+s,this.itemGrid[A]=this.itemGrid[A]||[],this.itemGrid[A].push(I),p++}else p++}if(E>0)this.coordsMap[i(d)]=((m={position:"sticky"})[c]=0,m.width=this.columnWidth*t+s*t,m.top=0,m.height=E,m);this.coordsMap[r(d)]=((f={position:"absolute"})[c]=this.getPadding(),f.width=this.columnWidth*t+s*(t-1),f.top=h,f.height=this.getMaxColumnHeight(this.columnHeights)-h-s,f),d++}this.columnHeights=this.columnHeights.map((function(t){return t-s+e.getPadding()})),this.totalHeight=this.getMaxColumnHeight(),this.visibleSections={},this.needsFullCompute=!1}},t.computeVisibleSections=function(e,t){this.computeFullCoords();var n=this.getItemKey,i=this.coordsMap;this.visibleSections={};for(var o=0;o<this.sections.length;){var a=this.sections[o],s=r(o),u=i[s];if(null!=u){var l=u.top,c=l+u.height;if(l>t)break;if(c<e)o++;else{var d=0,f=1;for(c<t&&c>e&&(d=a-1,f=-1),this.visibleSections[s]=[];d>=0&&d<a;){var _=n(o,d),p=null!=_?i[_]:null;if(null!=_&&null!=p){var E=p.top;E+l>e-p.height&&E+l<t&&this.visibleSections[s].push([_,o,d]),d+=f}else d+=f}if(l<e&&c>t)break;o++}}else o++}},t.getMaxColumnHeight=function(e){return void 0===e&&(e=this.columnHeights),e.reduce((function(e,t){return Math.max(e,t)}),0)},t.getState=function(){return{coordsMap:this.coordsMap,visibleSections:this.visibleSections,totalHeight:this.totalHeight}},e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(){function e(){this.sectionHeight=0,this.rowHeight=0,this.footerHeight=0,this.uniform=!1,this.paddingBottom=0,this.paddingTop=0,this.sections=[],this.getAnchorId=function(){}}var t=e.prototype;return t.mergeProps=function(e){var t=e.sectionHeight,n=e.rowHeight,r=e.footerHeight,i=e.paddingTop,o=e.paddingBottom,a=e.sections,s=e.getAnchorId;this.sections=a,this.sectionHeight=t,this.rowHeight=n,this.footerHeight=r,this.uniform="number"==typeof n,this.paddingTop=i,this.paddingBottom=o,this.getAnchorId=s||this.getAnchorId},t.getHeight=function(){for(var e=this.paddingTop,t=this.sections.length,n=0;n<t;n++){if(e+=this.getHeightForSection(n),this.uniform)e+=this.sections[n]*this.getHeightForRow(n,0);else for(var r=0;r<this.sections[n];r++)e+=this.getHeightForRow(n,r);e+=this.getHeightForFooter(n)}return e+this.paddingBottom},t.getHeightForSection=function(e){var t=this.sectionHeight;return"number"==typeof t?t:t(e)},t.getHeightForRow=function(e,t){var n=this.rowHeight;return"number"==typeof n?n:n(e,t)},t.getHeightForFooter=function(e){var t=this.footerHeight;return null==t?0:"number"==typeof t?t:t(e)},t.compute=function(e,t){for(var n=this.paddingTop,r=n,i=n,o=0,a=0,s=[],u=function(o){return i=n,(n+=o)<e?(r+=o,!1):!(i>t)},l=0;l<this.sections.length;l++){var c=this.sections[l];if(0!==c){if(u(this.getHeightForSection(l))&&s.push({type:"section",section:l,listIndex:a,offsetTop:i,anchorId:this.getAnchorId(l)}),a+=1,this.uniform)for(var d=this.getHeightForRow(l,0),f=0;f<c;f++)u(d)&&s.push({type:"row",section:l,listIndex:a,row:f,rowIndex:o,offsetTop:i,anchorId:this.getAnchorId(l,f)}),o+=1,a+=1;else for(var _=0;_<c;_++)u(this.getHeightForRow(l,_))&&s.push({type:"row",section:l,listIndex:a,row:_,rowIndex:o,offsetTop:i,anchorId:this.getAnchorId(l,_)}),o+=1,a+=1;u(this.getHeightForFooter(l))&&s.push({type:"footer",section:l,offsetTop:i})}}return{spacerTop:r,totalHeight:n+this.paddingBottom,items:s}},t.computeScrollPosition=function(e,t){for(var n=this.paddingTop,r=0,i=!1;r<=e;){var o=this.sections[r];if(r===e&&null==t){i=!0;break}if(0!==o){if(n+=this.getHeightForSection(r),this.uniform){var a=this.getHeightForRow(r,0);r===e&&null!=t?(n+=a*t,i=!0):n+=a*o}else for(var s=0;s<o;s++)if(r<e||r===e&&null!=t&&s<t)n+=this.getHeightForRow(r,s);else if(r===e&&null!=t&&s===t){i=!0;break}i||(n+=this.getHeightForFooter(r)),r+=1}else r+=1}return[n,null!=t?this.getHeightForRow(e,t):this.getHeightForSection(r)]},e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(){function e(e){var t=this,n=e.callback,r=e.tension,i=void 0===r?160:r,o=e.friction,a=void 0===o?22:o,s=e.mass,u=void 0===s?1:s,l=e.threshold,c=void 0===l?.001:l,d=e.clamp,f=void 0!==d&&d,_=e.maxVelocity,p=void 0===_?1/0:_,E=e.getNodeWindow,h=void 0===E?function(){return window}:E;this.accumulator=0,this.from=0,this.target=0,this.vel=0,this.animating=!1,this.last=null,this.nextTick=-1,this.nodeWindow=null,this.callbacks=[],this.mergeTo=function(e){var n=e.to,r=e.callback;t.animating||(null!=r&&t.callbacks.push(r),t.stop(n));var i=n-t.from;t.from=n,t.target=t.target+i,t.callback(t.from,t.abort),null!=r&&r()},this.abort=function(){t.animating=!1},this.update=function(e){var n;if(!t.last)return t.last=e,void(t.nextTick=(null===(n=t.nodeWindow)||void 0===n?void 0:n.requestAnimationFrame(t.update))||-1);var r=e;for(t.accumulator=Math.min((r-t.last)/1e3+t.accumulator,2);t.accumulator>1/240;){t.accumulator-=1/240;var i=t.getUpdates(t.vel,t.from),o=i.vel,a=i.from,s=i.accel;if(t.vel=o,t.clamp&&(a===t.target||a<t.target&&t.from>t.target||a>t.target&&t.from<t.target))return void t.stop(t.target);if(Math.abs(s*(1/240))<t.threshold)return void t.stop(t.target);t.from=a}var u,l=t.from;t.accumulator>0&&(l+=(t.getUpdates(t.vel,l).from-l)*(t.accumulator/(1/240)));(t.callback(l,t.abort),t.animating)&&(t.last=r,t.nextTick=(null===(u=t.nodeWindow)||void 0===u?void 0:u.requestAnimationFrame(t.update))||-1)},this.callback=n,this.from=0,this.tension=i,this.friction=a,this.mass=u,this.maxVelocity=p,this.threshold=c,this.clamp=f,this.getNodeWindow=h}var t=e.prototype;return t.to=function(e){var t=e.to,n=e.from,r=e.animate,i=void 0!==r&&r,o=e.callback;if(this.target=t,null!=o&&this.callbacks.push(o),(n||0===n)&&(this.from=n),i)return this.animating||this.start(),this;this.stop(t)},t.cancel=function(){return this.stop(this.from),this},t.start=function(){var e;this.animating=!0,this.vel=0,this.last=null,this.nodeWindow=this.getNodeWindow(),this.nextTick=(null===(e=this.nodeWindow)||void 0===e?void 0:e.requestAnimationFrame(this.update))||-1},t.getUpdates=function(e,t){var n=(-this.tension*(t-this.target)+-this.friction*e)/this.mass;return e+=n*(1/240),Math.abs(e)>this.maxVelocity&&(e=this.maxVelocity*(e>0?1:-1)),{from:t+=e*(1/240),vel:e,accel:n}},t.stop=function(e){var t;null===(t=this.nodeWindow)||void 0===t||t.cancelAnimationFrame(this.nextTick),this.animating=!1,this.accumulator=0,null!=e&&(this.target=this.from=e,this.callback(e,this.abort)),this.callbacks.length&&(this.callbacks.forEach((function(e){return e()})),this.callbacks.length=0)},e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.parentElement;for(;null!=n;){if(n.classList.contains(t))return n;n=n.parentElement}return null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=n(206),o=(r=n(982))&&r.__esModule?r:{default:r},a=n(1);function s(e,t){return void 0===t&&(t=0),null!=e?Math.round(e):t}var u=function(){function e(){this._networkStats=this._initStats(),this._lastSampleTimestamp=(0,i.now)()}var t=e.prototype;return t._initStats=function(){var e={effectiveConnectionSpeedBuckets:{},connectionTypeBuckets:{}};return Object.values(a.NetworkConnectionTypes).forEach((function(t){e.connectionTypeBuckets[t]=0})),Object.values(a.NetworkConnectionSpeeds).forEach((function(t){e.effectiveConnectionSpeedBuckets[t]=0})),e},t.getStats=function(){var e=this._networkStats;return{duration_connection_type_wifi:s(e.connectionTypeBuckets[a.NetworkConnectionTypes.WIFI]),duration_connection_type_cellular:s(e.connectionTypeBuckets[a.NetworkConnectionTypes.CELLULAR]),duration_connection_type_ethernet:s(e.connectionTypeBuckets[a.NetworkConnectionTypes.ETHERNET]),duration_connection_type_bluetooth:s(e.connectionTypeBuckets[a.NetworkConnectionTypes.BLUETOOTH]),duration_connection_type_other:s(e.connectionTypeBuckets[a.NetworkConnectionTypes.OTHER]),duration_connection_type_unknown:s(e.connectionTypeBuckets[a.NetworkConnectionTypes.UNKNOWN]),duration_connection_type_none:s(e.connectionTypeBuckets[a.NetworkConnectionTypes.NONE]),duration_effective_connection_speed_2g:s(e.effectiveConnectionSpeedBuckets[a.NetworkConnectionSpeeds.TWO_G]),duration_effective_connection_speed_3g:s(e.effectiveConnectionSpeedBuckets[a.NetworkConnectionSpeeds.THREE_G]),duration_effective_connection_speed_4g:s(e.effectiveConnectionSpeedBuckets[a.NetworkConnectionSpeeds.FOUR_G]),duration_effective_connection_speed_unknown:s(e.effectiveConnectionSpeedBuckets[a.NetworkConnectionSpeeds.UNKNOWN])}},t.incrementNetworkStats=function(e){var t=(e-this._lastSampleTimestamp)/1e3,n=o.default.getEffectiveConnectionSpeed();n===a.NetworkConnectionSpeeds.SLOW_TWO_G&&(n=a.NetworkConnectionSpeeds.TWO_G);var r=o.default.getType();r===a.NetworkConnectionTypes.WIMAX&&(r=a.NetworkConnectionTypes.WIFI),this._networkStats.effectiveConnectionSpeedBuckets[n]+=t,this._networkStats.connectionTypeBuckets[r]+=t,this._lastSampleTimestamp=e},e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(3)),i=s(n(2)),o=s(n(214)),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=a.NetworkConnectionTypes.UNKNOWN,c=a.NetworkConnectionSpeeds.UNKNOWN,d=null;function f(e){l=null!=e.type?e.type:a.NetworkConnectionTypes.UNKNOWN,c=e.effectiveSpeed||a.NetworkConnectionSpeeds.UNKNOWN,d=e.serviceProvider,_.emitChange()}var _=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var i=r.prototype;return i.initialize=function(){o.default.getNetworkInformation().then(f),o.default.addChangeCallback(f)},i.getType=function(){return l},i.getEffectiveConnectionSpeed=function(){return c},i.getServiceProvider=function(){return d},r}(r.default.Store))(i.default,(function(){return!1})),p=_;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{code:e.code,state:r.GuildTemplateStates.RESOLVED,name:e.name,description:e.description||"",creatorId:e.creator_id,creator:e.creator,createdAt:e.created_at,updatedAt:e.updated_at,sourceGuildId:e.source_guild_id,serializedSourceGuild:e.serialized_source_guild,usageCount:e.usage_count,isDirty:e.is_dirty}};var r=n(296)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCanSpectate=function(){return(0,i.useStateFromStores)([a.default],(function(){return s(a.default)}))},t.default=s;var r,i=n(3),o=n(34),a=(r=n(51))&&r.__esModule?r:{default:r};function s(e){var t=e.getSupportedVideoCodecs(),n=null==t||t.has(o.Codecs.H264);return e.supportsInApp(o.Features.VIDEO)&&n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.guild,n=e.channel,r=e.stageData,o=e.headerId,a=e.loading,s=e.onNext,u=e.onCancel,l=e.onBack;if(null==t||null==n||null==r)return null;return i.createElement(i.Fragment,null,b(C,{guild:t,channel:n,stageData:r}),b(E.ModalContent,{className:O.default.container},void 0,b("div",{className:O.default.header},void 0,b(h.default,{id:o,className:O.default.title,size:m.default.Sizes.SIZE_24},void 0,A.default.Messages.START_STAGE_PUBLIC_PREVIEW_TITLE),b(m.default,{className:O.default.subtitle,color:m.default.Colors.HEADER_SECONDARY,size:m.default.Sizes.SIZE_14},void 0,A.default.Messages.START_STAGE_PUBLIC_PREVIEW_SUBTITLE)),b("div",{className:O.default.list},void 0,b(D,{icon:M,text:A.default.Messages.START_STAGE_PUBLIC_PREVIEW_SECTION_ONE}),b(D,{icon:P,text:A.default.Messages.START_STAGE_PUBLIC_PREVIEW_SECTION_TWO}),b(D,{icon:w,text:A.default.Messages.START_STAGE_PUBLIC_PREVIEW_SECTION_THREE}),b(D,{icon:b(p.default,{className:O.default.badgeIconBackground,foreground:O.default.badgeIconForeground,width:40,height:40}),text:A.default.Messages.START_STAGE_PUBLIC_PREVIEW_SECTION_FOUR.format({articleURL:v.default.getArticleURL(y.HelpdeskArticles.STAGE_CHANNEL_GUIDELINES)})}))),b(E.ModalFooter,{},void 0,b(c.default,{color:c.default.Colors.GREEN,onClick:s,submitting:a},void 0,A.default.Messages.START_STAGE_CHANNEL_EVENT_MODAL_BUTTON),b(c.default,{color:c.default.Colors.GREY,className:O.default.cancelButton,onClick:u},void 0,A.default.Messages.CANCEL),b(c.default,{look:c.default.Looks.LINK,color:c.default.Colors.LINK,className:O.default.backButton,onClick:l,size:c.default.Sizes.MIN},void 0,A.default.Messages.BACK)))};var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=R();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=N(n(9)),a=n(3),s=n(722),u=N(n(1416)),l=N(n(12)),c=N(n(29)),d=N(n(1313)),f=N(n(1215)),_=N(n(1335)),p=N(n(1417)),E=n(35),h=N(n(47)),m=N(n(24)),v=N(n(93)),T=N(n(258)),g=n(1260),I=n(260),S=n(207),y=n(1),A=N(n(6)),O=N(n(5743));function N(e){return e&&e.__esModule?e:{default:e}}function R(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return R=function(){return e},e}function b(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function L(e){var t=e.icon;return b("div",{className:O.default.iconContainer},void 0,b(t,{width:24,height:24}))}function D(e){var t=e.icon,n=e.text;return b("div",{className:O.default.listItemContainer},void 0,b("div",{className:O.default.listItemIconContainer},void 0,t),b(m.default,{className:O.default.listItemText,size:m.default.Sizes.SIZE_16,color:m.default.Colors.HEADER_SECONDARY},void 0,n))}function C(e){var t,n=e.guild,r=e.channel,i=e.stageData,c=(0,a.useStateFromStores)([l.default],(function(){return l.default.getNullableCurrentUser()}),[]),d={id:"1337",guild_id:n.id,channel_id:r.id,topic:i.topic,privacy_level:null!==(t=i.privacyLevel)&&void 0!==t?t:S.StageInstancePrivacyLevel.PUBLIC},f=(0,g.useStageParticipants)(r.id,I.StageChannelParticipantNamedIndex.SPEAKER),_=(0,g.useStageParticipantsCount)(r.id,I.StageChannelParticipantNamedIndex.AUDIENCE),p=f.slice(0,5);return null==p.find((function(e){var t;return(null===(t=e.user)||void 0===t?void 0:t.id)===(null==c?void 0:c.id)}))&&p.push({user:c,userNick:T.default.getName(n.id,r.id,c)}),b("div",{className:O.default.previewCardContainer},void 0,b("div",{className:O.default.previewCard},void 0,b(u.default,{guild:n,stageInstance:d,showGuildPopout:!1,setShowGuildPopout:function(){},source:s.StageDiscoveryRecommendationSource.UNSPECIFIED,speakers:p,speakerCount:f.length,audienceCount:Math.max(1337,_)})),b("div",{className:O.default.echoContainer},void 0,b("div",{className:(0,o.default)(O.default.previewEcho,O.default.firstEcho)}),b("div",{className:(0,o.default)(O.default.previewEcho,O.default.secondEcho)})))}L.displayName="IconWrapper",D.displayName="ListItem",C.displayName="PreviewCard";var M=b(L,{icon:d.default}),P=b(L,{icon:_.default}),w=b(L,{icon:f.default})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){void 0===n&&(n=null);var p=r.useState(!1),E=p[0],h=p[1],v=r.useState(null),T=v[0],g=v[1],I=(0,i.useStateFromStores)([c.default],(function(){return c.default.getGuild(null==e?void 0:e.guild_id)})),S=r.useMemo((function(){return f.default.getStageInstanceByChannel(null==e?void 0:e.id)}),[null==e?void 0:e.id]),y=(0,_.default)(I,e);return{loading:E,error:T,onSave:function(){var r,i=(r=regeneratorRuntime.mark((function r(i){var c,f,_,p;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(c=i.topic,f=i.privacyLevel,null!=e&&""!==c&&null!=f){r.next=3;break}return r.abrupt("return");case 3:if(h(!0),g(null),n&&(o.default.selectGuild(n),a.default.selectVoiceChannel(e.id)),r.prev=6,null==S){r.next=13;break}return r.next=10,d.editStage(e,c,f);case 10:_=r.sent,r.next=16;break;case 13:return r.next=15,d.startStage(e,c,f);case 15:_=r.sent;case 16:y&&l.hideHotspot(u.HotspotLocations.PUBLIC_STAGE_CREATION_BADGE),t(_),r.next=25;break;case 20:r.prev=20,r.t0=r.catch(6),p=new s.APIError(r.t0),g(p),h(!1);case 25:case"end":return r.stop()}}),r,null,[[6,20]])})),function(){var e=this,t=arguments;return new Promise((function(n,i){var o=r.apply(e,t);function a(e){m(o,n,i,a,s,"next",e)}function s(e){m(o,n,i,a,s,"throw",e)}a(void 0)}))});return function(e){return i.apply(this,arguments)}}()}};var r=h(n(0)),i=n(3),o=p(n(199)),a=p(n(132)),s=n(275),u=n(395),l=h(n(1220)),c=p(n(15)),d=h(n(301)),f=p(n(81)),_=p(n(5411));function p(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function m(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}},function(e,t,n){"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(17)),i=s(n(0)),o=s(n(67)),a=n(988);n(989);function s(e){return e&&e.__esModule?e:{default:e}}t.UNMOUNTED="unmounted";t.EXITED="exited";t.ENTERING="entering";t.ENTERED="entered";t.EXITING="exiting";var u=function(e){var t,n;function r(t,n){var r;r=e.call(this,t,n)||this;var i,o=n.transitionGroup,a=o&&!o.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(i="exited",r.appearStatus="entering"):i="entered":i=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",r.state={status:i},r.nextCallback=null,r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=r.prototype;return a.getChildContext=function(){return{transitionGroup:null}},r.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null},a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},a.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=o.default.findDOMNode(this);"entering"===t?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},a.performEnter=function(e,t){var n=this,r=this.props.enter,i=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,o=this.getTimeouts(),a=i?o.appear:o.enter;t||r?(this.props.onEnter(e,i),this.safeSetState({status:"entering"},(function(){n.props.onEntering(e,i),n.onTransitionEnd(e,a,(function(){n.safeSetState({status:"entered"},(function(){n.props.onEntered(e,i)}))}))}))):this.safeSetState({status:"entered"},(function(){n.props.onEntered(e)}))},a.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();n?(this.props.onExit(e),this.safeSetState({status:"exiting"},(function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,(function(){t.safeSetState({status:"exited"},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:"exited"},(function(){t.props.onExited(e)}))},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},a.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},a.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;e&&!r?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},a.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,r=function(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}(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return n(e,r);var o=i.default.Children.only(n);return i.default.cloneElement(o,r)},r}(i.default.Component);function l(){}u.contextTypes={transitionGroup:r.object},u.childContextTypes={transitionGroup:function(){}},u.propTypes={},u.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:l,onEntering:l,onEntered:l,onExit:l,onExiting:l,onExited:l},u.UNMOUNTED=0,u.EXITED=1,u.ENTERING=2,u.ENTERED=3,u.EXITING=4;var c=(0,a.polyfill)(u);t.default=c},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function i(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function o(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var u=e.displayName||e.name,l="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+u+" uses "+l+" but also contains the following legacy lifecycles:"+(null!==n?"\n  "+n:"")+(null!==a?"\n  "+a:"")+(null!==s?"\n  "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=i),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=o;var c=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;c.call(this,e,t,r)}}return e}n.r(t),n.d(t,"polyfill",(function(){return a})),r.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0;var r;(r=n(17))&&r.__esModule;t.timeoutsShape=null;t.classNamesShape=null},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=s(n(17)),i=s(n(0)),o=n(988),a=n(5409);function s(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var c=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},d=function(e){var t,n;function r(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(l(l(r)));return r.state={handleExited:i,firstRender:!0},r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},o.componentDidMount=function(){this.appeared=!0,this.mounted=!0},o.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?(0,a.getInitialChildMapping)(e,r):(0,a.getNextChildMapping)(e,n,r),firstRender:!1}},o.handleExited=function(e,t){var n=(0,a.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=u({},t.children);return delete n[e.key],{children:n}})))},o.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=function(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}(e,["component","childFactory"]),o=c(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?o:i.default.createElement(t,r,o)},r}(i.default.Component);d.childContextTypes={transitionGroup:r.default.object.isRequired},d.propTypes={},d.defaultProps={component:"div",childFactory:function(e){return e}};var f=(0,o.polyfill)(d);t.default=f,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-05_public_stage_creation_tooltip",label:"Public Stage Creation Badge",defaultConfig:{badgePublicStageCreation:!1},treatments:[{id:1,label:"Tooltip upselling users to create public stages",config:{badgePublicStageCreation:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.stageInstance,n=e.defaultStep,r=e.error,u=e.onSave,l=i.useState(n),c=l[0],d=l[1],f=i.useState(),_=f[0],p=f[1],E=i.useState(null),h=E[0],m=E[1];return i.useEffect((function(){null!=r&&d(a.StartStageSteps.STAGE_CHANNEL_SETTINGS)}),[r]),{modalStep:c,setModalStep:d,readySlide:h,handleSlideReady:function(e){return m(e)},savedOptions:_,handleSettingsSave:function(e){if(p(e),e.privacyLevel===s.StageInstancePrivacyLevel.PUBLIC)return(null==t?void 0:t.privacy_level)!==s.StageInstancePrivacyLevel.PUBLIC?void d(a.StartStageSteps.PUBLIC_STAGE_PREVIEW):void 0;u(e)},handleDelayedSave:function(){(0,o.default)(null!=_,"Must have some saved options."),u(_)}}};var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(23))&&r.__esModule?r:{default:r},a=n(134),s=n(207);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}},function(e,t,n){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,n,o,a){var s=r(t),u=i[e][r(t)];return 2===s&&(u=u[n?0:1]),u.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(t,i,o,a){var s=n(t),u=r[e][n(t)];return 2===s&&(u=u[i?0:1]),u.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,i;return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+(r=+e,i={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(7))},function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";var t="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function o(e){return e>1&&e<5&&1!=~~(e/10)}function a(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?i+(o(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?i+(o(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?i+(o(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?i+(o(e)?"dny":"dní"):i+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?i+(o(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?i+(o(e)?"roky":"let"):i+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,r=this._calendarEl[e],i=t&&t.hours();return((n=r)instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(r=r.apply(t)),r.replace("{}",i%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-SG",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n(7))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?i[n][2]?i[n][2]:i[n][1]:r?i[n][0]:i[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"ثانیه d%",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(7))},function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function r(e,r,i,o){var a="";switch(i){case"s":return o?"muutaman sekunnin":"muutama sekunti";case"ss":return o?"sekunnin":"sekuntia";case"m":return o?"minuutin":"minuutti";case"mm":a=o?"minuutin":"minuuttia";break;case"h":return o?"tunnin":"tunti";case"hh":a=o?"tunnin":"tuntia";break;case"d":return o?"päivän":"päivä";case"dd":a=o?"päivän":"päivää";break;case"M":return o?"kuukauden":"kuukausi";case"MM":a=o?"kuukauden":"kuukautta";break;case"y":return o?"vuoden":"vuosi";case"yy":a=o?"vuoden":"vuotta"}return a=function(e,r){return e<10?r?n[e]:t[e]:e}(e,o)+" "+a}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Méitheamh","Iúil","Lúnasa","Meán Fómhair","Deaireadh Fómhair","Samhain","Nollaig"],monthsShort:["Eaná","Feab","Márt","Aibr","Beal","Méit","Iúil","Lúna","Meán","Deai","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Satharn"],weekdaysShort:["Dom","Lua","Mái","Céa","Déa","hAo","Sat"],weekdaysMin:["Do","Lu","Má","Ce","Dé","hA","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné aig] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d mí",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["thodde secondanim","thodde second"],ss:[e+" secondanim",e+" second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voranim",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return t?i[n][0]:i[n][1]}e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokalli"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(7))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,r){var i=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"ss":return i+(r||t)?" másodperc":" másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return i+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return i+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return i+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return i+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return i+(r||t?" év":" éve")}return""}function r(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,r,i){var o=e+" ";switch(r){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?o+(n||i?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?o+(n||i?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return t(e)?o+(n||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return t(e)?n?o+"dagar":o+(i?"daga":"dögum"):n?o+"dagur":o+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return t(e)?n?o+"mánuðir":o+(i?"mánuði":"mánuðum"):n?o+"mánuður":o+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return t(e)?o+(n||i?"ár":"árum"):o+(n||i?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()<this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()<e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,n){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];e.defineLocale("ku",{months:r,monthsShort:r,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,n){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[n][0]:i[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,r){return t?i(n)[0]:r?i(n)[1]:i(n)[2]}function r(e){return e%10==0||e>10&&e<20}function i(e){return t[e].split("_")}function o(e,t,o,a){var s=e+" ";return 1===e?s+n(0,t,o[0],a):t?s+(r(e)?i(o)[1]:i(o)[0]):a?s+i(o)[1]:s+(r(e)?i(o)[1]:i(o)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"},ss:o,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function r(e,r,i){return e+" "+n(t[i],e,r)}function i(e,r,i){return n(t[i],e,r)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:r,m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(n(7))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(e,t,n,r){var i="";if(t)switch(n){case"s":i="काही सेकंद";break;case"ss":i="%d सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे"}else switch(n){case"s":i="काही सेकंदां";break;case"ss":i="%d सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां"}return i.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात्री"===t?e<4?e:e+12:"सकाळी"===t?e:"दुपारी"===t?e>=10?e:e+12:"सायंकाळी"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n(7))},function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(7))},function(e,t,n){!function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");function r(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function i(e,t,n){var i=e+" ";switch(n){case"ss":return i+(r(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return i+(r(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return i+(r(e)?"godziny":"godzin");case"MM":return i+(r(e)?"miesiące":"miesięcy");case"yy":return i+(r(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,r){return e?""===r?"("+n[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:i,m:i,mm:i,h:i,hh:i,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:i,y:"rok",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})}(n(7))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,i;return"m"===n?t?"минута":"минуту":e+" "+(r=+e,i={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n(7))},function(e,t,n){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function i(e,t,n,i){var o=e+" ";switch(n){case"s":return t||i?"pár sekúnd":"pár sekundami";case"ss":return t||i?o+(r(e)?"sekundy":"sekúnd"):o+"sekundami";case"m":return t?"minúta":i?"minútu":"minútou";case"mm":return t||i?o+(r(e)?"minúty":"minút"):o+"minútami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?o+(r(e)?"hodiny":"hodín"):o+"hodinami";case"d":return t||i?"deň":"dňom";case"dd":return t||i?o+(r(e)?"dni":"dní"):o+"dňami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?o+(r(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?o+(r(e)?"roky":"rokov"):o+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return i+=1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return i+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return i+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami";case"d":return t||r?"en dan":"enim dnem";case"dd":return i+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi";case"M":return t||r?"en mesec":"enim mesecem";case"MM":return i+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci";case"y":return t||r?"eno leto":"enim letom";case"yy":return i+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti"}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"e":1===t||2===t?"a":"e")},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Пагоҳ соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,r,i){var o=function(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),i=e%10,o="";return n>0&&(o+=t[n]+"vatlh"),r>0&&(o+=(""!==o?" ":"")+t[r]+"maH"),i>0&&(o+=(""!==o?" ":"")+t[i]),""===o?"pagh":o}(e);switch(r){case"ss":return o+" lup";case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var r=e%10;return e+(t[r]||t[e%100-r]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return r||t?i[n][0]:i[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,i;return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+(r=+e,i={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}function n(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(7))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(7))},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0}),t.addFocusSubscriber=function(e,t){var n=i.get(e);null==n&&(n=new Set,i.set(e,n));return n.add(t),function(){var e;return null===(e=n)||void 0===e?void 0:e.delete(t)}},t.notifyFocusSubscribers=function(e,t,n){var o=i.get(e);if(null!=o)for(var a,s=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(o);!(a=s()).done;){(0,a.value)(t,n)}};var i=new Map},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?40:t,r=e.height,i=void 0===r?40:r,s=e.color,c=void 0===s?"currentColor":s,d=function(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}(e,["width","height","color"]);return o.createElement("svg",u({},(0,a.default)(d),{width:n,height:i,viewBox:"0 0 40 40",fill:"none"}),l("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.581 26.6667L40 29.0857L35.7524 33.3333L40 37.581L37.581 40L33.3334 35.7524L29.0857 40L26.6667 37.581L30.9143 33.3333L26.6667 29.0857L29.0857 26.6667L33.3334 30.9143L37.581 26.6667Z",fill:c}),l("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.3294 21.5042C22.1286 22.3692 21.1773 23.5589 20.6041 24.9448C20.4081 24.981 20.2062 25 20 25C18.1667 25 16.6667 23.5 16.6667 21.6667C16.6667 19.8333 18.1667 18.3333 20 18.3333C21.7789 18.3333 23.244 19.7456 23.3294 21.5042ZM28.1664 20C27.3936 16.1977 24.0293 13.3333 20 13.3333C15.4 13.3333 11.6667 17.0667 11.6667 21.6667C11.6667 23.1833 12.1 24.5833 12.8167 25.8167L10.6334 27.0833C9.70002 25.4833 9.16669 23.6333 9.16669 21.6667C9.16669 15.7 14.0334 10.8333 20 10.8333C25.4001 10.8333 29.8992 14.8197 30.7049 20H28.1664ZM35.7468 20C34.915 12.0346 28.1871 5.83333 20 5.83333C11.25 5.83333 4.16669 12.9167 4.16669 21.6667C4.16669 24.55 4.95002 27.25 6.28335 29.5667L4.13335 30.8167C2.58335 28.1333 1.66669 25 1.66669 21.6667C1.66669 11.55 9.88335 3.33333 20 3.33333C29.5549 3.33333 37.415 10.6628 38.2584 20H35.7468ZM20.0154 27.5C20.0052 27.6654 20 27.8321 20 28V33.3333H14.1667V32.5C14.1667 29.6667 16.5667 27.5 20 27.5C20.0051 27.5 20.0103 27.5 20.0154 27.5Z",fill:c}))}c.displayName="StageCancel"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return f.apply(this,arguments)};var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(42),a=n(41),s=n(1338),u=(r=n(1381))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){c(o,r,i,a,s,"next",e)}function s(e){c(o,r,i,a,s,"throw",e)}a(void 0)}))}}function f(){return(f=d(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=(0,s.tryParseChannelPath)(t),e.t0=null!=n,!e.t0){e.next=6;break}return e.next=5,(0,s.isAccessibleChannelOrThreadPath)(n);case 5:e.t0=!e.sent;case 6:if(!e.t0){e.next=9;break}return(0,a.openModal)((function(e){return i.createElement(u.default,e)})),e.abrupt("return");case 9:(0,o.transitionTo)(t);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{o=o+(i=i+t[r++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0}},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}();e.exports=function(e,t,n,i){var o=r,a=i+n;e^=-1;for(var s=i;s<a;s++)e=e>>>8^o[255&(e^t[s])];return-1^e}},function(e,t,n){"use strict";var r=n(157),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 a=new r.Buf8(256),s=0;s<256;s++)a[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function u(e,t){if(t<65534&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",a=0;a<t;a++)n+=String.fromCharCode(e[a]);return n}a[254]=a[254]=1,t.string2buf=function(e){var t,n,i,o,a,s=e.length,u=0;for(o=0;o<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),u+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(u),a=0,o=0;a<u;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|63&n):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|63&n):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|63&n);return t},t.buf2binstring=function(e){return u(e,e.length)},t.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},t.buf2string=function(e,t){var n,r,i,o,s=t||e.length,l=new Array(2*s);for(r=0,n=0;n<s;)if((i=e[n++])<128)l[r++]=i;else if((o=a[i])>4)l[r++]=65533,n+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&n<s;)i=i<<6|63&e[n++],o--;o>1?l[r++]=65533:i<65536?l[r++]=i:(i-=65536,l[r++]=55296|i>>10&1023,l[r++]=56320|1023&i)}return u(l,r)},t.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+a[e[n]]>t?n:t}},function(e,t,n){"use strict";e.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}},function(e,t,n){"use strict";e.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}},function(e,t){function n(e,t,n,r){return!e.addEventListener&&(t="on"+t),(e.addEventListener||e.attachEvent).call(e,t,n,r),n}e.exports=n,e.exports.on=n,e.exports.off=function(e,t,n,r){return!e.removeEventListener&&(t="on"+t),(e.removeEventListener||e.detachEvent).call(e,t,n,r),n}},function(e,t,n){"use strict";e.exports=function(e){var t,r;if(t=n(1130),r=n(5501),"keypress"===e.type){var i=String.fromCharCode(e.which);return e.shiftKey||(i=i.toLowerCase()),i}return t[e.which]?t[e.which]:r[e.which]?r[e.which]:String.fromCharCode(e.which).toLowerCase()}},function(e,t,n){"use strict";e.exports={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",187:"plus",189:"minus",224:"meta"};for(var r=1;r<20;++r)e.exports[111+r]="f"+r;for(r=0;r<=9;++r)e.exports[r+96]=r},function(e,t,n){"use strict";e.exports=function(e){var t={},n=e.stopCallback;return e.stopCallback=function(e,r,i,o){return!t[i]&&!t[o]&&n(e,r,i)},e.bindGlobal=function(e,n,r){if(this.bind(e,n,r),e instanceof Array)for(var i=0;i<e.length;i++)t[e[i]]=!0;else t[e]=!0},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sync=function(e,t,n){return _.apply(this,arguments)},t.ConflictError=void 0;var r=u(n(2)),i=u(n(26)),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(1133)),a=n(1);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){l(o,r,i,a,s,"next",e)}function s(e){l(o,r,i,a,s,"throw",e)}a(void 0)}))}}var d=new i.default("CloudSync"),f=function(e){this.message=e};function _(){return(_=c(regeneratorRuntime.mark((function e(t,n,i){var s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===i&&(i=null),r.default.dispatch({type:a.ActionTypes.GAME_CLOUD_SYNC_START,applicationId:t,branchId:n}),e.prev=2,e.next=5,o.syncApplication(t,n,i);case 5:if((s=e.sent).type!==a.CloudSyncResultTypes.CONFLICT){e.next=11;break}throw r.default.dispatch({type:a.ActionTypes.GAME_CLOUD_SYNC_CONFLICT,applicationId:t,branchId:n,next:s.next,remote:s.remote}),new f("Conflict in cloud sync.");case 11:s.type!==a.CloudSyncResultTypes.PULL&&s.type!==a.CloudSyncResultTypes.PUSH||d.info("Sync complete",s);case 12:e.next=21;break;case 14:if(e.prev=14,e.t0=e.catch(2),!(e.t0 instanceof f)){e.next=18;break}throw e.t0;case 18:throw r.default.dispatch({type:a.ActionTypes.GAME_CLOUD_SYNC_ERROR,applicationId:t,branchId:n}),d.error("Failed to cloud sync:",e.t0),new Error("Failed to cloud sync.");case 21:return r.default.dispatch({type:a.ActionTypes.GAME_CLOUD_SYNC_COMPLETE,applicationId:t,branchId:n}),e.abrupt("return",s);case 23:case"end":return e.stop()}}),e,null,[[2,14]])})))).apply(this,arguments)}t.ConflictError=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=function(){return v.apply(this,arguments)},t.syncApplication=function(e,t,n){void 0===n&&(n=null);if(!l.default.supportsCloudSync(e,t))return Promise.resolve({type:_.CloudSyncResultTypes.NONE});var o=function(){if(null==r)throw new Error("Initialize cloud sync module before syncing.");return r}(),a=l.default.getState(e,t);if(null==a)throw new Error("No dispatch state for "+e+":"+t);var d=a.storage||{},f=(0,c.getComboId)(e,t),p=u.default.getToken();if(null==p)throw new Error("Cannot use cloud sync when not authenticated.");var E=null!=a.installPath?(0,s.default)(a.installPath):null;if(null==E)throw new Error("No install path for "+e+":"+t);var h=u.default.getId(),m={forceHash:n,manifestPath:_.DefaultCloudSyncConfiguration.STORAGE_MANIFEST(E,h),roots:null!=d.roots?d.roots:[{id:_.DefaultCloudSyncConfiguration.ROOT_ID,paths:Object.keys(_.DefaultCloudSyncConfiguration.ROOT_PLATFORMS).map((function(e){return{platform:e,path:_.DefaultCloudSyncConfiguration.ROOT_STORAGE_PATH(E,h)}})),patterns:_.DefaultCloudSyncConfiguration.ROOT_PATTERN}],storage:{baseURL:""+i.default.getAPIBaseURL()+_.Endpoints.APPLICATION_STORAGE(e,t),token:p},replacements:{INSTALLDIR:_.DefaultCloudSyncConfiguration.INSTALL_DIR(E),USERID:h,BRANCHID:t}};return o.sync(f,m)};var r,i=p(n(14)),o=p(n(2)),a=p(n(26)),s=p(n(966)),u=p(n(11)),l=p(n(155)),c=n(136),d=p(n(16)),f=p(n(43)),_=n(1);function p(e){return e&&e.__esModule?e:{default:e}}function E(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function h(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){E(o,r,i,a,s,"next",e)}function s(e){E(o,r,i,a,s,"throw",e)}a(void 0)}))}}function m(){return d.default.embedded&&(d.default.isOSX()||d.default.isWindows())}function v(){return(v=h(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==r){e.next=2;break}return e.abrupt("return");case 2:if(m()){e.next=5;break}return new a.default("CloudSyncUtils").warn("CloudSync is not supported on this platform"),e.abrupt("return");case 5:return e.next=7,f.default.ensureModule("discord_cloudsync");case 7:t=f.default.getCloudSync(),(r=new t).on("state",(function(e){return o.default.dispatch({type:_.ActionTypes.GAME_CLOUD_SYNC_UPDATE,state:e})}));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";function r(e,t){if(Array.isArray(t))for(var n=t.length,r=0;r<n;r++)e.push(t[r]);else e.push(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.astToString=function(e){return function e(t,n){void 0===n&&(n=[]);Array.isArray(t)?t.forEach((function(t){return e(t,n)})):"string"==typeof t.content?n.push(t.content):null!=t.content&&e(t.content,n);return n}(e).join("")},t.flattenAst=function e(t,n){void 0===n&&(n=null);if(Array.isArray(t)){for(var i=t.length,o=[],a=0;a<i;a++)r(o,e(t[a],n));return o}null!=t.content&&(t.content=e(t.content,t));if(null!=n&&t.type===n.type)return t.content;return t},t.constrainAst=function e(t,n){void 0===n&&(n={limit:200});if(Array.isArray(t))for(var r=t.length,o=0;o<r;o++){var a=e(t[o],n);if(a===i){t.length=o;break}t[o]=a}else if("text"!==t.type){if(n.limit-=1,n.limit<=0)return i;Array.isArray(t.content)&&(t.content=e(t.content,n))}return t},t.getIndexedAST=function e(t,n){var r=0;return t.map((function(i){var o=0===r?0:t[r-1].endIndex;switch(r++,i.type){case"spoiler":case"u":case"s":case"strong":i.startIndex=n+o;var a=e(i.content,i.startIndex+2);return i.endIndex=a[a.length-1].endIndex+2,i;case"em":case"customEmoji":case"emoji":case"inlineCode":i.startIndex=n+o;var s=e(i.content,i.startIndex+1);return i.endIndex=s[s.length-1].endIndex+1,i;case"text":return i.startIndex=n+o,i.endIndex=i.startIndex+i.content.length,i;default:i.startIndex=n+o;var u=e(i.content,i.startIndex);return i.endIndex=u[u.length-1].endIndex,i}}))};var i={}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHostname=function(e){var t=document.createElement("a");return t.href=e,t.hostname},t.getProtocol=function(e){var t=document.createElement("a");return t.href=e,t.protocol}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=l("path",{d:"M5,3 C5,3 5,6.1325704 5,6.48601043 C5,6.83945045 5.18485201,7 5.49021559,7 L9,7 L9,6 L8,6 L8,5 L7,5 L7,4 L6,4 L6,3 L5,3 Z",transform:"rotate(180 7 5)"}),d=l("path",{d:"M3,5 C3,5 3,8.1325704 3,8.48601043 C3,8.83945045 3.18485201,9 3.49021559,9 L7,9 L7,8 L6,8 L6,7 L5,7 L5,6 L4,6 L4,5 L3,5 Z"});function f(e){var t=e.width,n=void 0===t?12:t,r=e.height,i=void 0===r?12:r,s=e.color,f=void 0===s?"currentColor":s,_=e.foreground,p=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(p),{width:n,height:i,viewBox:"0 0 12 12"}),l("g",{fill:f,className:_,fillRule:"evenodd"},void 0,c,d))}f.displayName="TitleBarMaximizeMac"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?12:t,r=e.height,i=void 0===r?12:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 12 12"}),l("rect",{fill:c,className:d,width:"8",height:"2",x:"2",y:"5",fillRule:"evenodd"}))}c.displayName="TitleBarMinimizeMac"},function(e,t,n){"use strict";n.r(t);var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};var i=n(359),o=n(358),a="[-+]?\\d*\\.?\\d+";function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var u=new RegExp("rgb"+s(a,a,a)),l=new RegExp("rgba"+s(a,a,a,a)),c=new RegExp("hsl"+s(a,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),d=new RegExp("hsla"+s(a,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",a)),f=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,_=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,p=/^#([0-9a-fA-F]{6})$/,E=/^#([0-9a-fA-F]{8})$/,h=n(46);function m(e,t,n){var r=(1-Math.abs(2*n-1))*t,i=n-r/2,o=function(e,t,n){return e<60?[t,n,0]:e<120?[n,t,0]:e<180?[0,t,n]:e<240?[0,n,t]:e<300?[n,0,t]:[t,0,n]}(e,r,r*(1-Math.abs(e/60%2-1))),a=o[0],s=o[1],u=o[2];return Math.round(255*(a+i))<<24|Math.round(255*(s+i))<<16|Math.round(255*(u+i))<<8}function v(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function T(e){return(parseFloat(e)%360+360)%360/360}function g(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function I(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function S(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=p.exec(t))?parseInt(n[1]+"ff",16)>>>0:h.colorNames&&void 0!==h.colorNames[t]?h.colorNames[t]:(n=u.exec(t))?(v(n[1])<<24|v(n[2])<<16|v(n[3])<<8|255)>>>0:(n=l.exec(t))?(v(n[1])<<24|v(n[2])<<16|v(n[3])<<8|g(n[4]))>>>0:(n=f.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=E.exec(t))?parseInt(n[1],16)>>>0:(n=_.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=c.exec(t))?(255|m(T(n[1]),I(n[2]),I(n[3])))>>>0:(n=d.exec(t))?(m(T(n[1]),I(n[2]),I(n[3]))|g(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}n.d(t,"createStringInterpolator",(function(){return b}));var y,A=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,O=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,N=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,R=function(e,t,n,r,i){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+i+")"},b=function(e){y||(y=h.colorNames?new RegExp("("+Object.keys(h.colorNames).join("|")+")","g"):/^\b$/);var t=e.output.map((function(e){return Object(i.d)(e).replace(O,S).replace(y,S)})),n=t.map((function(e){return e.match(A).map(Number)})),a=n[0].map((function(e,t){return n.map((function(e){if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]}))})).map((function(t){return Object(o.a)(r(r({},e),{output:t}))}));return function(e){var n=0;return t[0].replace(A,(function(){return String(a[n++](e))})).replace(N,R)}}},function(e,t,n){"use strict";function r(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}n.r(t),t.default=function(e,t){void 0===t&&(t="");var n,o=e&&e.split("/")||[],a=t&&t.split("/")||[],s=e&&r(e),u=t&&r(t),l=s||u;if(e&&r(e)?a=o:o.length&&(a.pop(),a=a.concat(o)),!a.length)return"/";if(a.length){var c=a[a.length-1];n="."===c||".."===c||""===c}else n=!1;for(var d=0,f=a.length;f>=0;f--){var _=a[f];"."===_?i(a,f):".."===_?(i(a,f),d++):d&&(i(a,f),d--)}if(!l)for(;d--;d)a.unshift("..");!l||""===a[0]||a[0]&&r(a[0])||a.unshift("");var p=a.join("/");return n&&"/"!==p.substr(-1)&&(p+="/"),p}},function(e,t,n){"use strict";function r(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}n.r(t),t.default=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var i=r(t),o=r(n);return i!==t||o!==n?e(i,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1}},function(e,t,n){"use strict";var r=n(968),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,_=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var i=_(n);i&&i!==p&&e(t,i,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var s=u(t),E=u(n),h=0;h<a.length;++h){var m=a[h];if(!(o[m]||r&&r[m]||E&&E[m]||s&&s[m])){var v=f(n,m);try{l(t,m,v)}catch(e){}}}}return t}},function(e,t,n){e.exports=function(){"use strict";return function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,o,a,s,u,l,c,d){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(i[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}}()},function(e,t,n){(function(t){for(var r=n(778),i="undefined"==typeof window?t:window,o=["moz","webkit"],a="AnimationFrame",s=i["request"+a],u=i["cancel"+a]||i["cancelRequest"+a],l=0;!s&&l<o.length;l++)s=i[o[l]+"Request"+a],u=i[o[l]+"Cancel"+a]||i[o[l]+"CancelRequest"+a];if(!s||!u){var c=0,d=0,f=[];s=function(e){if(0===f.length){var t=r(),n=Math.max(0,1e3/60-(t-c));c=n+t,setTimeout((function(){var e=f.slice(0);f.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return f.push({handle:++d,callback:e,cancelled:!1}),d},u=function(e){for(var t=0;t<f.length;t++)f[t].handle===e&&(f[t].cancelled=!0)}}e.exports=function(e){return s.call(i,e)},e.exports.cancel=function(){u.apply(i,arguments)},e.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=s,e.cancelAnimationFrame=u}}).call(this,n(44))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||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},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0),a=u(o),s=u(n(17));function u(e){return e&&e.__esModule?e:{default:e}}var l={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},c=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],d=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},f=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),_=function(){return f?"_"+Math.random().toString(36).substr(2,12):void 0},p=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.inputRef=function(e){n.input=e,"function"==typeof n.props.inputRef&&n.props.inputRef(e)},n.placeHolderSizerRef=function(e){n.placeHolderSizer=e},n.sizerRef=function(e){n.sizer=e},n.state={inputWidth:e.minWidth,inputId:e.id||_()},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.id;t!==this.props.id&&this.setState({inputId:t||_()})}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(d(e,this.sizer),this.placeHolderSizer&&d(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&void 0!==this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(e+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return f&&e?a.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce((function(e,t){return null!=e?e:t})),t=r({},this.props.style);t.display||(t.display="inline-block");var n=r({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(this.props,[]);return function(e){c.forEach((function(t){return delete e[t]}))}(i),i.className=this.props.inputClassName,i.id=this.state.inputId,i.style=n,a.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),a.default.createElement("input",r({},i,{ref:this.inputRef})),a.default.createElement("div",{ref:this.sizerRef,style:l},e),this.props.placeholder?a.default.createElement("div",{ref:this.placeHolderSizerRef,style:l},this.props.placeholder):null)}}]),t}(o.Component);p.propTypes={className:s.default.string,defaultValue:s.default.any,extraWidth:s.default.oneOfType([s.default.number,s.default.string]),id:s.default.string,injectStyles:s.default.bool,inputClassName:s.default.string,inputRef:s.default.func,inputStyle:s.default.object,minWidth:s.default.oneOfType([s.default.number,s.default.string]),onAutosize:s.default.func,onChange:s.default.func,placeholder:s.default.string,placeholderIsMinWidth:s.default.bool,style:s.default.object,value:s.default.any},p.defaultProps={minWidth:1,injectStyles:!0},t.default=p},function(e,t,n){"use strict";var r=Array.isArray,i=Object.keys,o=Object.prototype.hasOwnProperty,a="undefined"!=typeof Element;e.exports=function(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var s,u,l,c=r(t),d=r(n);if(c&&d){if((u=t.length)!=n.length)return!1;for(s=u;0!=s--;)if(!e(t[s],n[s]))return!1;return!0}if(c!=d)return!1;var f=t instanceof Date,_=n instanceof Date;if(f!=_)return!1;if(f&&_)return t.getTime()==n.getTime();var p=t instanceof RegExp,E=n instanceof RegExp;if(p!=E)return!1;if(p&&E)return t.toString()==n.toString();var h=i(t);if((u=h.length)!==i(n).length)return!1;for(s=u;0!=s--;)if(!o.call(n,h[s]))return!1;if(a&&t instanceof Element&&n instanceof Element)return t===n;for(s=u;0!=s--;)if(!("_owner"===(l=h[s])&&t.$$typeof||e(t[l],n[l])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},function(e,t,n){"use strict";var r=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}},i={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var o=function(e){for(var t,n=e.length,r=n^n,i=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++i;switch(n){case 3:r^=(255&e.charCodeAt(i+2))<<16;case 2:r^=(255&e.charCodeAt(i+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(i)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),((r^=r>>>15)>>>0).toString(36)};var a=function(e){function t(e,t,r){var i=t.trim().split(p);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=n(e,t[s],r).trim();break;default:var u=s=0;for(t=[];s<o;++s)for(var l=0;l<a;++l)t[u++]=n(e[l]+" ",i[s],r).trim()}return t}function n(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(E,"$1"+e.trim());case 58:return e.trim()+t.replace(E,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(E,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function r(e,t,n,o){var a=e+";",s=2*t+3*n+4*o;if(944===s){e=a.indexOf(":",9)+1;var u=a.substring(e,a.length-1).trim();return u=a.substring(0,e).trim()+u+";",1===L||2===L&&i(u,1)?"-webkit-"+u+u:u}if(0===L||2===L&&!i(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(O,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(u=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+u+a;case 1005:return f.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(t=(u=a.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=a.replace(T,"tb");break;case 232:u=a.replace(T,"tb-rl");break;case 220:u=a.replace(T,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+u+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(u=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(u,"-webkit-"+u)+";"+a.replace(u,"-ms-"+u+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return u=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+u+"-ms-flex-"+u+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(S,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(S,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===A.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?r(e.replace("stretch","fill-available"),t,n,o).replace(":fill-available",":stretch"):a.replace(u,"-webkit-"+u)+a.replace(u,"-moz-"+u.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+o&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(_,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),P(2!==t?r:r.replace(y,"$1"),n,t)}function o(e,t){var n=r(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(I," or ($1)").substring(4):"("+t+")"}function a(e,t,n,r,i,o,a,s,l,c){for(var d,f=0,_=t;f<M;++f)switch(d=C[f].call(u,e,_,n,r,i,o,a,s,l,c)){case void 0:case!1:case!0:case null:break;default:_=d}if(_!==t)return _}function s(e){return void 0!==(e=e.prefix)&&(P=null,e?"function"!=typeof e?L=1:(L=2,P=e):L=0),s}function u(e,n){var s=e;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<M){var u=a(-1,n,s,s,R,N,0,0,0,0);void 0!==u&&"string"==typeof u&&(n=u)}var d=function e(n,s,u,d,f){for(var _,p,E,T,I,S=0,y=0,A=0,O=0,C=0,P=0,U=E=_=0,k=0,G=0,Y=0,x=0,V=u.length,H=V-1,F="",B="",j="",W="";k<V;){if(p=u.charCodeAt(k),k===H&&0!==y+O+A+S&&(0!==y&&(p=47===y?10:47),O=A=S=0,V++,H++),0===y+O+A+S){if(k===H&&(0<G&&(F=F.replace(c,"")),0<F.trim().length)){switch(p){case 32:case 9:case 59:case 13:case 10:break;default:F+=u.charAt(k)}p=59}switch(p){case 123:for(_=(F=F.trim()).charCodeAt(0),E=1,x=++k;k<V;){switch(p=u.charCodeAt(k)){case 123:E++;break;case 125:E--;break;case 47:switch(p=u.charCodeAt(k+1)){case 42:case 47:e:{for(U=k+1;U<H;++U)switch(u.charCodeAt(U)){case 47:if(42===p&&42===u.charCodeAt(U-1)&&k+2!==U){k=U+1;break e}break;case 10:if(47===p){k=U+1;break e}}k=U}}break;case 91:p++;case 40:p++;case 34:case 39:for(;k++<H&&u.charCodeAt(k)!==p;);}if(0===E)break;k++}switch(E=u.substring(x,k),0===_&&(_=(F=F.replace(l,"").trim()).charCodeAt(0)),_){case 64:switch(0<G&&(F=F.replace(c,"")),p=F.charCodeAt(1)){case 100:case 109:case 115:case 45:G=s;break;default:G=D}if(x=(E=e(s,G,E,p,f+1)).length,0<M&&(I=a(3,E,G=t(D,F,Y),s,R,N,x,p,f,d),F=G.join(""),void 0!==I&&0===(x=(E=I.trim()).length)&&(p=0,E="")),0<x)switch(p){case 115:F=F.replace(g,o);case 100:case 109:case 45:E=F+"{"+E+"}";break;case 107:E=(F=F.replace(h,"$1 $2"))+"{"+E+"}",E=1===L||2===L&&i("@"+E,3)?"@-webkit-"+E+"@"+E:"@"+E;break;default:E=F+E,112===d&&(B+=E,E="")}else E="";break;default:E=e(s,t(s,F,Y),E,d,f+1)}j+=E,E=Y=G=U=_=0,F="",p=u.charCodeAt(++k);break;case 125:case 59:if(1<(x=(F=(0<G?F.replace(c,""):F).trim()).length))switch(0===U&&(_=F.charCodeAt(0),45===_||96<_&&123>_)&&(x=(F=F.replace(" ",":")).length),0<M&&void 0!==(I=a(1,F,s,n,R,N,B.length,d,f,d))&&0===(x=(F=I.trim()).length)&&(F="\0\0"),_=F.charCodeAt(0),p=F.charCodeAt(1),_){case 0:break;case 64:if(105===p||99===p){W+=F+u.charAt(k);break}default:58!==F.charCodeAt(x-1)&&(B+=r(F,_,p,F.charCodeAt(2)))}Y=G=U=_=0,F="",p=u.charCodeAt(++k)}}switch(p){case 13:case 10:47===y?y=0:0===1+_&&107!==d&&0<F.length&&(G=1,F+="\0"),0<M*w&&a(0,F,s,n,R,N,B.length,d,f,d),N=1,R++;break;case 59:case 125:if(0===y+O+A+S){N++;break}default:switch(N++,T=u.charAt(k),p){case 9:case 32:if(0===O+S+y)switch(C){case 44:case 58:case 9:case 32:T="";break;default:32!==p&&(T=" ")}break;case 0:T="\\0";break;case 12:T="\\f";break;case 11:T="\\v";break;case 38:0===O+y+S&&(G=Y=1,T="\f"+T);break;case 108:if(0===O+y+S+b&&0<U)switch(k-U){case 2:112===C&&58===u.charCodeAt(k-3)&&(b=C);case 8:111===P&&(b=P)}break;case 58:0===O+y+S&&(U=k);break;case 44:0===y+A+O+S&&(G=1,T+="\r");break;case 34:case 39:0===y&&(O=O===p?0:0===O?p:O);break;case 91:0===O+y+A&&S++;break;case 93:0===O+y+A&&S--;break;case 41:0===O+y+S&&A--;break;case 40:if(0===O+y+S){if(0===_)switch(2*C+3*P){case 533:break;default:_=1}A++}break;case 64:0===y+A+O+S+U+E&&(E=1);break;case 42:case 47:if(!(0<O+S+A))switch(y){case 0:switch(2*p+3*u.charCodeAt(k+1)){case 235:y=47;break;case 220:x=k,y=42}break;case 42:47===p&&42===C&&x+2!==k&&(33===u.charCodeAt(x+2)&&(B+=u.substring(x,k+1)),T="",y=0)}}0===y&&(F+=T)}P=C,C=p,k++}if(0<(x=B.length)){if(G=s,0<M&&(void 0!==(I=a(2,B,G,n,R,N,x,d,f,d))&&0===(B=I).length))return W+B+j;if(B=G.join(",")+"{"+B+"}",0!=L*b){switch(2!==L||i(B,2)||(b=0),b){case 111:B=B.replace(v,":-moz-$1")+B;break;case 112:B=B.replace(m,"::-webkit-input-$1")+B.replace(m,"::-moz-$1")+B.replace(m,":-ms-input-$1")+B}b=0}}return W+B+j}(D,s,n,0,0);return 0<M&&(void 0!==(u=a(-2,d,s,s,R,N,d.length,0,0,0))&&(d=u)),"",b=0,N=R=1,d}var l=/^\0+/g,c=/[\0\r\f]/g,d=/: */g,f=/zoo|gra/,_=/([,: ])(transform)/g,p=/,\r+?/g,E=/([\t\r\n ])*\f?&/g,h=/@(k\w+)\s*(\S*)\s*/,m=/::(place)/g,v=/:(read-only)/g,T=/[svh]\w+-[tblr]{2}/,g=/\(\s*(.*)\s*\)/g,I=/([\s\S]*?);/g,S=/-self|flex-/g,y=/[^]*?(:[rp][el]a[\w-]+)[^]*/,A=/stretch|:\s*\w+\-(?:conte|avail)/,O=/([^-])(image-set\()/,N=1,R=1,b=0,L=1,D=[],C=[],M=0,P=null,w=0;return u.use=function e(t){switch(t){case void 0:case null:M=C.length=0;break;default:switch(t.constructor){case Array:for(var n=0,r=t.length;n<r;++n)e(t[n]);break;case Function:C[M++]=t;break;case Boolean:w=0|!!t}}return e},u.set=s,void 0!==e&&s(e),u},s=n(1142),u=n.n(s),l=/[A-Z]|^ms/g,c=r((function(e){return e.replace(l,"-$&").toLowerCase()})),d=function(e,t){return null==t||"boolean"==typeof t?"":1===i[e]||45===e.charCodeAt(1)||isNaN(t)||0===t?t:t+"px"},f=function e(t){for(var n=t.length,r=0,i="";r<n;r++){var o=t[r];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"function":0,a=e([o()]);break;case"object":if(Array.isArray(o))a=e(o);else for(var s in a="",o)o[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=o}a&&(i&&(i+=" "),i+=a)}}return i},_="undefined"!=typeof document;function p(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key||""),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),(void 0!==e.container?e.container:document.head).appendChild(t),t}var E=function(){function e(e){this.isSpeedy=!0,this.tags=[],this.ctr=0,this.opts=e}var t=e.prototype;return t.inject=function(){if(this.injected)throw new Error("already injected!");this.tags[0]=p(this.opts),this.injected=!0},t.speedy=function(e){if(0!==this.ctr)throw new Error("cannot change speedy now");this.isSpeedy=!!e},t.insert=function(e,t){if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(this.tags[this.tags.length-1]);try{n.insertRule(e,n.cssRules.length)}catch(e){0}}else{var r=p(this.opts);this.tags.push(r),r.appendChild(document.createTextNode(e+(t||"")))}this.ctr++,this.ctr%65e3==0&&this.tags.push(p(this.opts))},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,this.injected=!1},e}();t.a=function(e,t){if(void 0!==e.__SECRET_EMOTION__)return e.__SECRET_EMOTION__;void 0===t&&(t={});var n,r,i=t.key||"css",s=u()((function(e){n+=e,_&&p.insert(e,m)}));void 0!==t.prefix&&(r={prefix:t.prefix});var l={registered:{},inserted:{},nonce:t.nonce,key:i},p=new E(t);_&&p.inject();var h=new a(r);h.use(t.stylisPlugins)(s);var m="";function v(e,t){if(null==e)return"";switch(typeof e){case"boolean":return"";case"function":if(void 0!==e.__emotion_styles){var n=e.toString();return n}return v.call(this,void 0===this?e():e(this.mergedProps,this.context),t);case"object":return S.call(this,e);default:var r=l.registered[e];return!1===t&&void 0!==r?r:e}}var T,g,I=new WeakMap;function S(e){if(I.has(e))return I.get(e);var t="";return Array.isArray(e)?e.forEach((function(e){t+=v.call(this,e,!1)}),this):Object.keys(e).forEach((function(n){"object"!=typeof e[n]?void 0!==l.registered[e[n]]?t+=n+"{"+l.registered[e[n]]+"}":t+=c(n)+":"+d(n,e[n])+";":Array.isArray(e[n])&&"string"==typeof e[n][0]&&void 0===l.registered[e[n][0]]?e[n].forEach((function(e){t+=c(n)+":"+d(n,e)+";"})):t+=n+"{"+v.call(this,e[n],!1)+"}"}),this),I.set(e,t),t}var y=/label:\s*([^\s;\n{]+)\s*;/g,A=function(e,t){return o(e+t)+t},O=function(e){var t=!0,n="",r="";null==e||void 0===e.raw?(t=!1,n+=v.call(this,e,!1)):n+=e[0];for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];return o.forEach((function(r,i){n+=v.call(this,r,46===n.charCodeAt(n.length-1)),!0===t&&void 0!==e[i+1]&&(n+=e[i+1])}),this),g=n,n=n.replace(y,(function(e,t){return r+="-"+t,""})),T=A(n,r),n};function N(e,t){void 0===l.inserted[T]&&(n="",h(e,t),l.inserted[T]=n)}var R=function(){var e=O.apply(this,arguments),t=i+"-"+T;return void 0===l.registered[t]&&(l.registered[t]=g),N("."+t,e),t};function b(e,t){var n="";return t.split(" ").forEach((function(t){void 0!==l.registered[t]?e.push(t):n+=t+" "})),n}function L(e,t){var n=[],r=b(n,e);return n.length<2?e:r+R(n,t)}function D(e){l.inserted[e]=!0}if(_){var C=document.querySelectorAll("[data-emotion-"+i+"]");Array.prototype.forEach.call(C,(function(e){p.tags[0].parentNode.insertBefore(e,p.tags[0]),e.getAttribute("data-emotion-"+i).split(" ").forEach(D)}))}var M={flush:function(){_&&(p.flush(),p.inject()),l.inserted={},l.registered={}},hydrate:function(e){e.forEach(D)},cx:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return L(f(t))},merge:L,getRegisteredStyles:b,injectGlobal:function(){var e=O.apply(this,arguments);N("",e)},keyframes:function(){var e=O.apply(this,arguments),t="animation-"+T;return N("","@keyframes "+t+"{"+e+"}"),t},css:R,sheet:p,caches:l};return e.__SECRET_EMOTION__=M,M}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={Experiments:!0,createFluxStoreExperimentClientFilter:!0,useAndTrackExposureToGuildExperiment:!0,useAndTrackExposureToUserExperiment:!0,ExperimentStore:!0};Object.defineProperty(t,"Experiments",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"createFluxStoreExperimentClientFilter",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"useAndTrackExposureToGuildExperiment",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"useAndTrackExposureToUserExperiment",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"ExperimentStore",{enumerable:!0,get:function(){return c.default}});var i=n(141);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var o=n(208);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var a=d(n(412)),s=d(n(5465)),u=d(n(5466)),l=d(n(1320)),c=d(n(187));function d(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GradientCssUrls=t.Gradients=void 0;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(98))&&r.__esModule?r:{default:r},s=n(1);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=Object.freeze({PREMIUM_TIER_1:a.default.v4(),PREMIUM_TIER_2:a.default.v4(),PREMIUM_GUILD:a.default.v4()});t.Gradients=c;var d={PREMIUM_TIER_1:"url(#"+c.PREMIUM_TIER_1+")",PREMIUM_TIER_2:"url(#"+c.PREMIUM_TIER_2+")",PREMIUM_GUILD:"url(#"+c.PREMIUM_GUILD+")"};t.GradientCssUrls=d;var f=function(){return l("linearGradient",{id:c.PREMIUM_TIER_1},void 0,l("stop",{stopColor:s.Colors.PREMIUM_TIER_1_BLUE}),l("stop",{offset:"1",stopColor:s.Colors.PREMIUM_TIER_1_PURPLE}))};f.displayName="renderPremiumTier1Gradient";var _=function(){return l("linearGradient",{id:c.PREMIUM_TIER_2},void 0,l("stop",{stopColor:s.Colors.PREMIUM_TIER_2_PURPLE}),l("stop",{offset:"1",stopColor:s.Colors.PREMIUM_TIER_2_PINK}))};_.displayName="renderPremiumTier2Gradient";var p=function(){return l("linearGradient",{id:c.PREMIUM_GUILD},void 0,l("stop",{stopColor:s.Colors.PREMIUM_GUILD_BLUE}),l("stop",{offset:"1",stopColor:s.Colors.PREMIUM_GUILD_PURPLE}))};p.displayName="renderPremiumGuildGradient";var E=o.memo((function(){return l("svg",{viewBox:"0 0 1 1",style:{position:"absolute",pointerEvents:"none",top:-1,left:-1,width:1,height:1},"aria-hidden":!0},void 0,f(),_(),p())}),(function(){return!0}));t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchCurrentUser=function(e){void 0===e&&(e={});var t=e.withAnalyticsToken,n=void 0!==t&&t;return i.default.get({url:l.Endpoints.ME,query:{with_analytics_token:n},oldFormErrors:!0}).then((function(e){return o.default.dispatch({type:l.ActionTypes.CURRENT_USER_UPDATE,user:e.body,analyticsToken:n?e.body.analytics_token:void 0}),new a.default(e.body)}))},t.acceptAgreements=function(e,t){void 0===e&&(e=!0);void 0===t&&(t=!0);return i.default.patch({url:l.Endpoints.USER_AGREEMENTS,body:{terms:e,privacy:t},oldFormErrors:!0}).then((function(){return!0}),(function(){return!1}))},t.setFlag=function(e,t){var n=u.default.getCurrentUser(),r=t?n.flags|e:n.flags&~e;return i.default.patch({url:l.Endpoints.ME,body:{flags:r},oldFormErrors:!0})},t.getUser=function(e){var t=u.default.getUser(e);if(null!=t)return Promise.resolve(t);return i.default.get({url:l.Endpoints.USER(e),oldFormErrors:!0}).then((function(t){return o.default.dispatch({type:l.ActionTypes.USER_UPDATE,user:t.body}),u.default.getUser(e)}))},t.fetchProfile=function(e,t,n){return p.apply(this,arguments)},t.fetchMutualFriends=function(e){i.default.get({url:l.Endpoints.USER_RELATIONSHIPS(e),oldFormErrors:!0}).then((function(t){o.default.dispatch({type:l.ActionTypes.LOAD_MUTUAL_FRIENDS,userId:e,mutualFriends:t.body})}))};var r=c(n(190)),i=c(n(14)),o=c(n(2)),a=c(n(89)),s=c(n(11)),u=c(n(12)),l=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function _(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){f(o,r,i,a,s,"next",e)}function s(e){f(o,r,i,a,s,"throw",e)}a(void 0)}))}}function p(){return(p=_(regeneratorRuntime.mark((function e(t,n,a){var u,c,f,_;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c=(u=void 0===n?{}:n).friendToken,f=u.withMutualGuilds,!s.default.isGuest()){e.next=4;break}return e.abrupt("return");case 4:return o.default.dispatch({type:l.ActionTypes.USER_PROFILE_FETCH_START,userId:t}),e.prev=5,e.next=8,i.default.get({url:l.Endpoints.USER_PROFILE(t),query:{friend_token:c,with_mutual_guilds:f},oldFormErrors:!0});case 8:_=e.sent,null==a||a(_.body),o.default.dispatch({type:l.ActionTypes.USER_UPDATE,user:_.body.user}),o.default.dispatch(d({type:l.ActionTypes.USER_PROFILE_FETCH_SUCCESS},_.body)),e.next=19;break;case 14:throw e.prev=14,e.t0=e.catch(5),null!=e.t0&&null!=e.t0.body&&new r.default("UserProfileModalActionCreators").warn("fetchProfile error: "+e.t0.body.code+" - "+e.t0.body.message),o.default.dispatch({type:l.ActionTypes.USER_PROFILE_FETCH_FAILURE,userId:t}),e.t0;case 19:case"end":return e.stop()}}),e,null,[[5,14]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=l("path",{d:"M3 4.78717H6.89554C7.83025 4.78717 8.62749 4.93379 9.27812 5.22703C9.92875 5.52027 10.4144 5.92348 10.7352 6.44582C11.0559 6.96815 11.2208 7.5638 11.2208 8.24192C11.2208 8.90171 11.0559 9.49736 10.7168 10.038C10.3778 10.5695 9.8646 11.0002 9.17732 11.3118C8.49003 11.6234 7.6378 11.7791 6.6197 11.7791H3V4.78717ZM6.57388 10.0014C7.2071 10.0014 7.69278 9.84559 8.03184 9.52485C8.3709 9.21328 8.54501 8.77343 8.54501 8.23276C8.54501 7.72875 8.38923 7.32555 8.08682 7.02314C7.78442 6.72073 7.32623 6.56495 6.71225 6.56495H5.49255V10.0014H6.57388Z"}),d=l("path",{d:"M17.2882 11.7709C16.7475 11.6335 16.2618 11.4319 15.8311 11.1569V9.4983C16.161 9.75489 16.5917 9.95649 17.1416 10.1214C17.6914 10.2864 18.2229 10.3689 18.7361 10.3689C18.9743 10.3689 19.1576 10.3414 19.2767 10.2772C19.3959 10.2131 19.46 10.1398 19.46 10.0481C19.46 9.94733 19.4233 9.86485 19.3592 9.80071C19.2951 9.73656 19.1668 9.68158 18.9743 9.62659L17.7739 9.36084C17.0866 9.20506 16.6009 8.97596 16.3077 8.70105C16.0144 8.42613 15.877 8.05042 15.877 7.59223C15.877 7.20735 16.0053 6.86829 16.2527 6.58421C16.5093 6.30013 16.8667 6.0802 17.334 5.92442C17.8014 5.76863 18.342 5.68616 18.9743 5.68616C19.5333 5.68616 20.0465 5.74114 20.5138 5.86944C20.9812 5.98857 21.3661 6.14435 21.6685 6.32763V7.89464C21.3569 7.71136 20.9904 7.56474 20.5871 7.45477C20.1748 7.34481 19.7533 7.28982 19.3226 7.28982C18.6994 7.28982 18.3878 7.39979 18.3878 7.61056C18.3878 7.71136 18.4337 7.78467 18.5345 7.83966C18.6353 7.89464 18.8094 7.94046 19.066 7.99544L20.0648 8.17871C20.7155 8.28868 21.2011 8.49028 21.5219 8.77436C21.8426 9.05844 21.9984 9.47081 21.9984 10.0298C21.9984 10.6346 21.7326 11.1203 21.2011 11.4685C20.6696 11.8259 19.9182 12 18.9468 12C18.3787 11.9817 17.8289 11.9084 17.2882 11.7709Z"}),f=l("path",{d:"M24.4735 11.5602C23.9054 11.2761 23.4655 10.9004 23.1814 10.4239C22.8882 9.94733 22.7507 9.40666 22.7507 8.80185C22.7507 8.20621 22.8974 7.66554 23.1998 7.19819C23.5022 6.72167 23.942 6.35512 24.5194 6.0802C25.0967 5.81445 25.7931 5.677 26.5995 5.677C27.5984 5.677 28.4231 5.88776 29.0829 6.3093V8.1329C28.8538 7.97712 28.5789 7.83965 28.2673 7.74802C27.9558 7.64721 27.6259 7.6014 27.2777 7.6014C26.6545 7.6014 26.178 7.71137 25.8206 7.94046C25.4724 8.16956 25.2983 8.46279 25.2983 8.82934C25.2983 9.18673 25.4632 9.47998 25.8115 9.70907C26.1505 9.93817 26.6453 10.0573 27.2868 10.0573C27.6167 10.0573 27.9466 10.0115 28.2673 9.91067C28.5881 9.80987 28.8722 9.69991 29.1013 9.55329V11.3219C28.3681 11.7618 27.5159 11.9817 26.5537 11.9817C25.7381 11.9817 25.0509 11.8351 24.4735 11.5602Z"}),_=l("path",{d:"M31.6955 11.5602C31.1182 11.2761 30.6783 10.9004 30.3759 10.4147C30.0735 9.929 29.9177 9.38834 29.9177 8.78353C29.9177 8.18788 30.0735 7.64722 30.3759 7.17986C30.6783 6.71251 31.1182 6.34595 31.6863 6.0802C32.2545 5.81445 32.9418 5.677 33.7299 5.677C34.518 5.677 35.2053 5.80529 35.7743 6.0802C36.3425 6.34595 36.7824 6.71251 37.0848 7.17986C37.3872 7.64722 37.5338 8.17872 37.5338 8.78353C37.5338 9.37918 37.3872 9.929 37.0848 10.4147C36.7824 10.9004 36.3517 11.2852 35.7743 11.5602C35.1961 11.8351 34.518 11.9817 33.7299 11.9817C32.951 11.9817 32.2728 11.8351 31.6955 11.5602ZM34.7287 9.79155C34.967 9.55329 35.0953 9.22339 35.0953 8.82934C35.0953 8.42614 34.9762 8.11457 34.7287 7.87632C34.4813 7.63806 34.1514 7.51892 33.7391 7.51892C33.3084 7.51892 32.9785 7.63806 32.731 7.87632C32.4928 8.11457 32.3645 8.42614 32.3645 8.82934C32.3645 9.23255 32.4836 9.55329 32.731 9.79155C32.9785 10.039 33.3084 10.1581 33.7391 10.1581C34.1514 10.1489 34.4905 10.0298 34.7287 9.79155Z"}),p=l("path",{d:"M43.6644 6.0435V8.19699C43.4078 8.03204 43.0779 7.94956 42.6747 7.94956C42.1432 7.94956 41.7308 8.11451 41.4467 8.43524C41.1626 8.75598 41.016 9.25999 41.016 9.93811V11.7709H38.5693V5.9427H40.9702V7.80295C41.0985 7.12482 41.3184 6.62082 41.6117 6.30008C41.9049 5.97935 42.2898 5.80524 42.7572 5.80524C43.1054 5.80524 43.4078 5.88771 43.6644 6.0435Z"}),E=l("path",{d:"M51.9136 4.58649V11.7801H49.4659V10.4696C49.2552 10.9645 48.9436 11.3402 48.5221 11.5968C48.1005 11.8534 47.5782 11.9817 46.9551 11.9817C46.4052 11.9817 45.9195 11.8442 45.5072 11.5785C45.0948 11.3127 44.7741 10.937 44.5542 10.4696C44.3342 9.99313 44.2242 9.46163 44.2242 8.87514C44.2151 8.26117 44.3342 7.71134 44.5816 7.22566C44.8199 6.73998 45.1681 6.36426 45.608 6.08935C46.0479 5.81444 46.5519 5.67698 47.12 5.67698C48.2838 5.67698 49.0627 6.18099 49.4659 7.19817V4.58649H51.9136ZM49.0994 9.7457C49.3468 9.50744 49.4751 9.18671 49.4751 8.80183C49.4751 8.42612 49.356 8.12371 49.1086 7.89462C48.8611 7.66552 48.5312 7.5464 48.1189 7.5464C47.7065 7.5464 47.3766 7.66553 47.1292 7.90378C46.8818 8.14204 46.7626 8.44444 46.7626 8.82932C46.7626 9.2142 46.8818 9.51661 47.1292 9.75487C47.3766 9.99313 47.6973 10.1123 48.1097 10.1123C48.5221 10.1123 48.852 9.99313 49.0994 9.7457Z"}),h=l("path",{d:"M13.4751 6.29095C14.1789 6.29095 14.7489 5.77778 14.7489 5.14547C14.7489 4.51317 14.1789 4 13.4751 4C12.7723 4 12.2014 4.51317 12.2014 5.14547C12.2014 5.77778 12.7723 6.29095 13.4751 6.29095Z"}),m=l("path",{d:"M14.7489 7.07812C13.97 7.41719 12.9986 7.42635 12.2014 7.07812V11.7792H14.7489V7.07812Z"});function v(e){var t=e.width,n=void 0===t?55:t,r=e.height,i=void 0===r?16:r,s=e.color,v=void 0===s?"currentColor":s,T=e.foreground,g=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(g),{width:n,height:i,viewBox:"0 0 55 16"}),l("g",{fill:v,className:T},void 0,c,d,f,_,p,E,h,m))}v.displayName="DiscordWordmark"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handoffBegin=function(e){void 0===e&&(e=1e4);i.default.dirtyDispatch({type:o.ActionTypes.BROWSER_HANDOFF_BEGIN,timeout:e})},t.handoffEnd=function(e,t){i.default.dirtyDispatch({type:o.ActionTypes.BROWSER_HANDOFF_END,handoffToken:e,fingerprint:t})},t.handoffFromApp=function(e,t,n){void 0===n&&(n=1e4);i.default.dirtyDispatch({type:o.ActionTypes.BROWSER_HANDOFF_FROM_APP,handoffKey:e,handoffToken:t,timeout:n})},t.handoffUnavailable=function(){i.default.dirtyDispatch({type:o.ActionTypes.BROWSER_HANDOFF_UNAVAILABLE})},t.handoffSetUser=function(e){i.default.dirtyDispatch({type:o.ActionTypes.BROWSER_HANDOFF_SET_USER,user:e})};var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t){t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var r={},o=t||{},a=e.split(i),s=o.decode||n;return a.forEach((function(e){var t=e.indexOf("=");if(!(t<0)){var n=e.substr(0,t).trim(),i=e.substr(++t,e.length).trim();'"'==i[0]&&(i=i.slice(1,-1)),null==r[n]&&(r[n]=function(e,t){try{return t(e)}catch(t){return e}}(i,s))}})),r},t.serialize=function(e,t,n){var i=n||{},a=i.encode||r;if(!o.test(e))throw new TypeError("argument name is invalid");var s=a(t);if(s&&!o.test(s))throw new TypeError("argument val is invalid");var u=[e+"="+s];if(null!=i.maxAge){var l=i.maxAge-0;if(isNaN(l))throw new Error("maxAge should be a Number");u.push("Max-Age="+Math.floor(l))}if(i.domain){if(!o.test(i.domain))throw new TypeError("option domain is invalid");u.push("Domain="+i.domain)}if(i.path){if(!o.test(i.path))throw new TypeError("option path is invalid");u.push("Path="+i.path)}i.expires&&u.push("Expires="+i.expires.toUTCString());i.httpOnly&&u.push("HttpOnly");i.secure&&u.push("Secure");i.firstPartyOnly&&u.push("First-Party-Only");return u.join("; ")};var n=decodeURIComponent,r=encodeURIComponent,i=/; */,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INIT_COORDS="dnd-core/INIT_COORDS",t.BEGIN_DRAG="dnd-core/BEGIN_DRAG",t.PUBLISH_DRAG_SOURCE="dnd-core/PUBLISH_DRAG_SOURCE",t.HOVER="dnd-core/HOVER",t.DROP="dnd-core/DROP",t.END_DRAG="dnd-core/END_DRAG"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=function(e){return"function"==typeof e},t.noop=function(){},t.isPlainObject=function(e){if(!function(e){return"object"==typeof e&&null!==e}(e))return!1;if(null===Object.getPrototypeOf(e))return!0;var t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DARK_THEME_COLORS=t.LIGHT_THEME_COLORS=t.DEFAULT_SELECT_STYLES=void 0;var r,i,o=h(n(0)),a=p(n(9)),s=h(n(5670)),u=p(n(88)),l=n(483),c=p(n(284)),d=n(1),f=p(n(6)),_=p(n(5744));function p(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function m(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(){return(T=Object.assign||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}).apply(this,arguments)}!function(e){e.TOP="top",e.BOTTOM="bottom"}(i||(i={}));var g={container:function(e,t){return T({},e,{cursor:t.isDisabled?"not-allowed":null,pointerEvents:null})},control:function(e,t){var n=t.isDisabled,r=t.isFocused,i=t.menuIsOpen,o=t.theme.colors;return T({},e,{borderColor:n?o.neutral10:r?o.primary:o.neutral20,boxShadow:null,borderRadius:i?"4px 4px 0 0":"4px",minHeight:40,transition:"border 0.15s ease",cursor:n?"not-allowed":null,pointerEvents:n?"none":null,":hover":{borderColor:n?o.neutral10:o.primary}})},singleValue:function(e,t){var n=t.isDisabled;return T({},e,{color:t.theme.colors.text,opacity:n?.5:1})},input:function(e,t){return T({},e,{color:t.theme.colors.text})},menu:function(e,t){var n=t.theme.colors;return T({},e,{backgroundColor:n.menuBackground,border:"1px solid "+n.menuBorder,borderRadius:"0 0 4px 4px",boxShadow:"0 1px 5px 0 "+n.neutral20,color:n.text,marginTop:-1,marginBottom:-1})},clearIndicator:function(e,t){var n=t.isDisabled,r=t.theme.colors;return T({},e,{color:r.text,cursor:n?null:"pointer",opacity:.3,padding:"8px 0",transform:"scale(0.8)",":hover":{color:r.danger,opacity:1}})},indicatorsContainer:function(e){return T({},e,{alignItems:"flex-start"})},dropdownIndicator:function(e,t){var n=t.isDisabled,r=t.theme.colors;return T({},e,{color:r.interactive,cursor:n?null:"pointer",opacity:n?.3:1,padding:"8px 8px 8px 0",":hover":{color:r.interactiveHover,opacity:n?.3:1}})},menuList:function(e,t){return T({},e,{padding:0,"&::-webkit-scrollbar":{width:8},"&::-webkit-scrollbar-thumb":{backgroundColor:t.theme.colors.scrollBarThumb,borderColor:"transparent",backgroundClip:"padding-box",borderRadius:4},"&::-webkit-scrollbar-track-piece":{backgroundColor:"transparent",borderColor:"transparent"}})},option:function(e,t){var n=t.isSelected,r=t.isFocused,i=t.theme.colors;return T({},e,{backgroundColor:n?i.selectedOptionBackground:r?i.primary25:"transparent",color:i.text,cursor:"pointer",display:"flex",alignItems:"center",minHeight:40})},placeholder:function(e,t){return T({},e,{color:t.theme.colors.placeholder})}};t.DEFAULT_SELECT_STYLES=g;var I={neutral0:(0,l.hexOpacityToRgba)(d.HEXColors.PRIMARY_DARK_500,.02),neutral5:(0,l.hexOpacityToRgba)(d.HEXColors.PRIMARY_DARK_500,.02),neutral10:(0,l.hexOpacityToRgba)(d.HEXColors.PRIMARY_DARK_500,.1),neutral20:(0,l.hexOpacityToRgba)(d.HEXColors.PRIMARY_DARK_500,.3),neutral30:(0,l.hexOpacityToRgba)(d.HEXColors.PRIMARY_DARK_500,.3),primary:d.HEXColors.PRIMARY_DARK_300,primary25:d.HEXColors.PRIMARY_DARK_100,primary50:d.HEXColors.PRIMARY_DARK_100,selectedOptionBackground:d.HEXColors.PRIMARY_DARK_200,text:d.HEXColors.PRIMARY_LIGHT_700,placeholder:d.HEXColors.PRIMARY_LIGHT,menuBackground:d.HEXColors.WHITE,menuBorder:d.HEXColors.PRIMARY_DARK_300,scrollBarThumb:(0,l.hexOpacityToRgba)(d.HEXColors.BLACK,.4),multiOptionBackground:d.HEXColors.PRIMARY_LIGHT_200,interactive:d.HEXColors.PRIMARY_LIGHT_600,interactiveHover:d.HEXColors.PRIMARY_LIGHT_700};t.LIGHT_THEME_COLORS=I;var S={neutral0:(0,l.hexOpacityToRgba)(d.HEXColors.BLACK,.1),neutral5:(0,l.hexOpacityToRgba)(d.HEXColors.BLACK,.1),neutral10:(0,l.hexOpacityToRgba)(d.HEXColors.BLACK,.1),neutral20:(0,l.hexOpacityToRgba)(d.HEXColors.PRIMARY_DARK_700,.5),neutral30:(0,l.hexOpacityToRgba)(d.HEXColors.PRIMARY_DARK_700,.5),primary:(0,l.hexOpacityToRgba)(d.HEXColors.BLACK,.6),primary25:(0,l.hexOpacityToRgba)(d.HEXColors.BLACK,.1),primary50:(0,l.hexOpacityToRgba)(d.HEXColors.BLACK,.1),selectedOptionBackground:(0,l.hexOpacityToRgba)(d.HEXColors.BLACK,.2),text:d.HEXColors.PRIMARY_DARK_200,placeholder:d.HEXColors.PRIMARY_DARK_400,menuBackground:d.HEXColors.PRIMARY_DARK_630,menuBorder:d.HEXColors.PRIMARY_DARK_700,scrollBarThumb:(0,l.hexOpacityToRgba)(d.HEXColors.BLACK,.4),multiOptionBackground:d.HEXColors.PRIMARY_DARK_500,interactive:d.HEXColors.PRIMARY_DARK_300,interactiveHover:d.HEXColors.PRIMARY_DARK_200};t.DARK_THEME_COLORS=S;var y=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this)._selectRef=o.createRef(),t._containerRef=o.createRef(),t.state={isFocused:!1,isOpen:!1},t.handleFocus=function(e){var n,r;t.setState({isFocused:!0}),null===(n=(r=t.props).onFocus)||void 0===n||n.call(r,e)},t.handleBlur=function(e){var n,r;t.setState({isFocused:!1}),null===(n=(r=t.props).onBlur)||void 0===n||n.call(r,e)},t.handleKeyDown=function(e){e.which===d.KeyboardKeys.ESCAPE&&t.state.isOpen&&e.stopPropagation()},t.handleMenuOpen=function(){t.setState({isOpen:!0})},t.handleMenuClose=function(){t.setState({isOpen:!1})},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var i=r.prototype;return i.focus=function(){var e;null===(e=this._selectRef.current)||void 0===e||e.focus()},i.render=function(){var e,t=this,n=this.props,r=n.className,i=n.error,l=n.valueRenderer,p=n.optionRenderer,E=n.multiValueRenderer,h=n.options,v=n.value,y=n.autofocus,A=n.disabled,O=n.clearable,N=n.searchable,R=n.styleOverrides,b=n.lightThemeColorOverrides,L=n.darkThemeColorOverrides,D=n.isMulti,C=T({},function(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}(n,["className","error","valueRenderer","optionRenderer","multiValueRenderer","options","value","autofocus","disabled","clearable","searchable","styleOverrides","lightThemeColorOverrides","darkThemeColorOverrides","isMulti"]));null!=y&&(C.autoFocus=y),null!=A&&(C.isDisabled=A),null!=O&&(C.isClearable=O),null!=N&&(C.isSearchable=N);var M={IndicatorSeparator:function(){return null}};null!=p&&(M.Option=function(e){return o.createElement(s.components.Option,e,p(e.data))}),null!=l&&(M.SingleValue=function(e){return o.createElement(s.components.SingleValue,e,l(e.data))}),null!=E&&(M.MultiValue=function(e){return E(e.data)});var P,w=null!=R?R:g,U=null!=b?b:I,k=null!=L?L:S;if(D&&Array.isArray(v)){var G={};h.forEach((function(e){G[String(e.value)]=e})),P=v.map((function(e){return G[String(e)]}))}else P=null!=v?h.find((function(e){return e.value===v})):null;return m(u.default,{focused:this.state.isFocused&&!this.state.isOpen,ringTarget:this._containerRef},void 0,o.createElement("div",{className:(0,a.default)(_.default.select,r,(e={},e[_.default.error]=null!=i,e)),ref:this._containerRef},m(c.default.Consumer,{},void 0,(function(e){return o.createElement(s.default,T({},C,{ref:t._selectRef,isMulti:D,components:M,options:h,styles:w,onFocus:t.handleFocus,onBlur:t.handleBlur,onMenuOpen:t.handleMenuOpen,onMenuClose:t.handleMenuClose,value:P,onKeyDown:t.handleKeyDown,placeholder:f.default.Messages.SELECT,noOptionsMessage:function(){return f.default.Messages.NO_RESULTS_FOUND},theme:function(t){return T({},t,{colors:T({},t.colors,{},e===d.ThemeTypes.LIGHT?U:k)})}}))})),null!=i?m("div",{className:_.default.errorMessage},void 0,i):null))},r}(o.Component);t.default=y,y.displayName="SelectTempWrapper",y.MenuPlacements=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=_(n(9)),s=n(202),u=_(n(88)),l=n(252),c=_(n(372)),d=n(1),f=_(n(5796));function _(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function E(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(){return(h=Object.assign||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}).apply(this,arguments)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}!function(e){e.DEFAULT="default",e.INVERTED="inverted",e.GHOST="ghost",e.ROW="row"}(i||(i={}));var v={BOX:f.default.box,ROUND:f.default.round},T={TOP:f.default.alignTop,CENTER:f.default.alignCenter},g=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).handleChange=function(e){var n=t.props.onChange;n&&n(e,e.currentTarget.checked)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var o=r.prototype;return o.getInputMode=function(){return this.props.disabled?"disabled":this.props.readOnly?"readonly":"default"},o.getStyle=function(){var e=this.props,t=e.value,n=e.type,r=e.color,o=this.props.style||{};if(!1===t)return o;if(o=h({},o),r===d.Colors.BRAND)switch(n){case i.DEFAULT:o.borderColor="var(--control-brand-foreground)";break;case i.GHOST:o.borderColor="var(--brand-experiment-15a)",o.backgroundColor="var(--brand-experiment-15a)";break;case i.ROW:case i.INVERTED:o.borderColor="var(--control-brand-foreground)",o.backgroundColor="var(--control-brand-foreground)"}else switch(n){case i.DEFAULT:o.borderColor=r;break;case i.GHOST:o.borderColor=(0,s.hex2rgb)(r,.15),o.backgroundColor=(0,s.hex2rgb)(r,.15);break;case i.ROW:case i.INVERTED:o.backgroundColor=r,o.borderColor=r}return o},o.getColor=function(){var e=this.props,t=e.value,n=e.type,r=e.color;return t?n===i.INVERTED||n===i.ROW?d.Colors.WHITE:r:"transparent"},o.render=function(){var e,t,n=this.props,r=n.disabled,o=n.readOnly,s=n.value,_=n.shape,p=n.align,m=n.className,v=n.children,T=n.size,g=n.reverse,I=n.checkboxColor,S=n.displayOnly,y=n.type,A=null!=v?E("div",{className:(0,a.default)(f.default.label,r?f.default.labelDisabled:f.default.labelClickable,g?f.default.labelReversed:f.default.labelForward),style:{lineHeight:T+"px"}},void 0,v):null;return E("label",{className:(0,a.default)(r?f.default.checkboxWrapperDisabled:f.default.checkboxWrapper,p,m,(e={},e[f.default.row]=y===i.ROW,e[f.default.checked]=s,e))},void 0,g?A:null,!S&&E(u.default,{},void 0,E("input",{className:(0,l.getClass)(f.default,"input",this.getInputMode()),type:"checkbox",onChange:r||o?d.NOOP:this.handleChange,checked:s,style:{width:T,height:T}})),E("div",{className:(0,a.default)(f.default.checkbox,_,(t={},t[f.default.checked]=s,t)),style:h({width:T,height:T,borderColor:I},this.getStyle())},void 0,E(c.default,{width:18,height:18,color:this.getColor(),"aria-hidden":!0})),g?null:A)},r}(o.PureComponent);g.displayName="Checkbox",g.Types=i,g.Shapes=v,g.Aligns=T,g.defaultProps={size:24,disabled:!1,readOnly:!1,displayOnly:!1,value:!1,type:i.DEFAULT,color:d.Colors.BRAND,shape:v.BOX,align:T.CENTER,onChange:d.NOOP,reverse:!1};var I=g;t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.differenceInCalendarDays=u,t.isSameHour=function(e,t){var n=e.toDate(),r=t.toDate();return Math.abs(+n-+r)<=36e5&&n.getHours()===r.getHours()},t.isSameDay=function(e,t){var n=e.toDate(),r=t.toDate();return Math.abs(+n-+r)<=864e5&&n.getDate()===r.getDate()},t.isWithinInterval=function(e,t,n){return Math.abs(e.valueOf()-t.valueOf())<n},t.dateFormat=l,t.calendarFormat=function(e){var t,n=r.default.localeData(),i=(0,r.default)(),o=u(e.toDate(),i.toDate());t=o<-1?"sameElse":o<0?"lastDay":o<1?"sameDay":o<2?"nextDay":"sameElse";return l(e,n.calendar(t,e,i))},t.diffAsUnits=function(e,t){var n={days:0,hours:0,minutes:0,seconds:0};if(e>t)return n;var r=Number(t)-Number(e);return c.forEach((function(e){var t=e.key,i=e.millisecondsInUnit;n[t]=Math.floor(r/i),r-=n[t]*i})),n},t.unitsAsStrings=function(e,t){if(e.days>0)return t.days.format({days:e.days,hours:e.hours});if(e.hours>0)return t.hours.format({hours:e.hours,minutes:e.minutes});return t.minutes.format({minutes:Math.max(1,e.minutes)})};var r=o(n(5)),i=o(n(5401));function o(e){return e&&e.__esModule?e:{default:e}}var a={};function s(e,t){void 0===t&&(t=!0);var n=e.getTime();return t||(n-=6e4*e.getTimezoneOffset()),864e5*Math.floor(n/864e5)}function u(e,t){return Math.floor((s(e,!1)-s(t,!1))/864e5)}function l(e,t){var n=e.locale()+":"+t,r=a[n];return null==r&&(r=a[n]=(0,i.default)(t)),r(e.toDate())}var c=[{key:"days",millisecondsInUnit:864e5},{key:"hours",millisecondsInUnit:36e5},{key:"minutes",millisecondsInUnit:6e4},{key:"seconds",millisecondsInUnit:1e3}]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useRadioGroup=y,t.useRadioItem=function(e){var t=e.isSelected,n=e.label;return{role:"radio",tabIndex:t?0:-1,"aria-label":n,"aria-checked":t}},t.default=A;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(9)),a=n(424),s=p(n(61)),u=p(n(149)),l=p(n(750)),c=p(n(751)),d=p(n(24)),f=n(1),_=p(n(5758));function p(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function h(){return(h=Object.assign||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}).apply(this,arguments)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var T={SMALL:"7px 10px",MEDIUM:"10px"},g=v(l.default,{});function I(e){var t,n,r=e.disabled,i=e.checked,a=e.option,u=e.size,l=e.onClick,f=e.infoClassName,p=e.titleClassName,E=e.radioItemClassName,h=e.hasSelection,m=null!==(t=a.color)&&void 0!==t?t:"";return v(s.default,{role:"radio","aria-checked":i,onClick:r?void 0:l,tabIndex:i||!h?0:-1,className:(0,o.default)(_.default.item,(n={},n[_.default.disabled]=r,n),E)},void 0,v("div",{style:{"--radio-bar-accent-color":m,padding:u},className:_.default.radioBar},void 0,i?v(c.default,{foreground:_.default.radioIconForeground}):g,v("div",{className:(0,o.default)(_.default.info,f)},void 0,v(d.default,{size:d.default.Sizes.SIZE_16,className:(0,o.default)(_.default.title,p),color:d.default.Colors.CUSTOM},void 0,a.name),a.desc?v(d.default,{color:d.default.Colors.CUSTOM},void 0,a.desc):null)))}I.displayName="RadioBar";var S=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(e){e.preventDefault();var n=t.props,r=n.onClick,i=n.option;return null==r?void 0:r(i)},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n),r.prototype.render=function(){var e=this.props,t=e.checked,n=e.disabled,r=e.option,o=e.size,a=e.infoClassName,s=e.hasSelection,l=e.titleClassName,c=e.radioItemClassName,d=n||r.disabled,f=r.tooltipText,p=r.tooltipPosition,E=v(I,{disabled:!!d,checked:t,hasSelection:s,option:r,onClick:this.handleClick,size:o,infoClassName:a,titleClassName:l,radioItemClassName:c});return null!=f?v(u.default,{text:f,position:p||u.default.Positions.TOP},void 0,(function(e){return i.createElement("div",h({},e,{className:_.default.tooltipWrapper}),E)})):E},r}(i.PureComponent);function y(e){var t=void 0===e?{}:e,n=t.orientation,r=void 0===n?"vertical":n,o=t.isDisabled,s=void 0!==o&&o,u=t.labelledBy,l=i.useRef(null),c=i.useMemo((function(){return(0,a.createFocusManager)({getFocusableElements:function(){var e=l.current;if(null!=e){var t=e.querySelectorAll('[role="radio"]');return Array.from(t)}return[]}})}),[]);return{role:"radiogroup",onKeyDown:i.useCallback((function(e){if(null!=l.current){var t="vertical"===r?f.KeyboardKeys.ARROW_UP:f.KeyboardKeys.ARROW_LEFT,n="vertical"===r?f.KeyboardKeys.ARROW_DOWN:f.KeyboardKeys.ARROW_RIGHT;switch(e.which){case n:e.stopPropagation(),e.preventDefault();var i=c.getNextFocusableElement({wrap:!0});return null==i?void 0:i.focus();case t:e.stopPropagation(),e.preventDefault();var o=c.getPreviousFocusableElement({wrap:!0});return null==o?void 0:o.focus()}}}),[c,r]),ref:l,"aria-labelledby":u,"aria-orientation":r,"aria-disabled":s}}function A(e){var t=e.itemInfoClassName,n=e.itemTitleClassName,r=e.radioItemClassName,a=e.className,s=e.value,u=void 0===s?null:s,l=e.size,c=void 0===l?T.MEDIUM:l,d=e.onChange,p=void 0===d?f.NOOP:d,E=e.disabled,m=void 0!==E&&E,g=e.options,I=void 0===g?[]:g,A=y({labelledBy:e.labelledBy}),O=I.some((function(e){return e.value===u}));return i.createElement("div",h({},A,{className:(0,o.default)(_.default.radioGroup,a)}),I.map((function(e){return v(S,{hasSelection:O,disabled:m,checked:u===e.value,option:e,onClick:p,size:c,infoClassName:t,titleClassName:n,radioItemClassName:r},e.value)})))}S.displayName="RadioItem",A.displayName="RadioGroup",A.Sizes=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.copy=function(e){if(!u)return!1;if(i.default.embedded)return o.default.copy(e),!0;return r.copy(e)},t.SUPPORTS_COPY=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(1395)),i=a(n(16)),o=a(n(43));function a(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}var u=function(){if(i.default.embedded)return!!o.default.copy;try{return document.queryCommandEnabled("copy")||document.queryCommandSupported("copy")}catch(e){return!1}}();t.SUPPORTS_COPY=u},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n)}(n(0));var r,i=a(n(9)),o=a(n(5745));function a(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function l(e){var t=e.className,n=e.style;return u("div",{className:(0,i.default)(o.default.divider,t),style:n})}l.displayName="FormDivider"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=n(3),o=(r=n(39))&&r.__esModule?r:{default:r};var a=function(){return(0,i.useStateFromStores)([o.default],(function(){return o.default.theme}))};t.default=a},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(3)),i=s(n(2)),o=s(n(120)),a=s(n(39));n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d,f,_,p={applicationId:null,originURL:null},E=p,h=new Set,m=!1;function v(){_=null}function T(){d=null,f=null,h=new Set,E.applicationId=null,E.originURL=null,v()}var g=function(t){var n,r;function i(){return t.apply(this,arguments)||this}r=t,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,c(n,r);var s,v,T,g=i.prototype;return g.initialize=function(e){E=u({},e||p),d=E.applicationId,f=E.originURL,this.waitFor(a.default),this.syncWith([a.default],(function(){return!0})),o.default.whenInitialized((function(){m=!0}))},g.inTestModeForApplication=function(e){return d===e},g.inTestModeForEmbeddedApplication=function(e){return d===e&&null!=f},g.shouldDisplayTestMode=function(e){return a.default.developerMode&&this.inTestModeForApplication(e)},g.getState=function(){return E},g.whenInitialized=function(t){this.addConditionalChangeListener((function(){if(m)return e(t),!1}))},s=i,(v=[{key:"isTestMode",get:function(){return null!=d}},{key:"isFetchingAuthorization",get:function(){return h.size>0}},{key:"testModeEmbeddedApplicationId",get:function(){return null!=f?d:null}},{key:"testModeApplicationId",get:function(){return d}},{key:"testModeOriginURL",get:function(){return f}},{key:"error",get:function(){return _}}])&&l(s.prototype,v),T&&l(s,T),i}(r.default.PersistedStore);g.persistKey="TestModeStore";var I=new g(i.default,{DEVELOPER_TEST_MODE_AUTHORIZATION_START:function(e){var t=e.applicationId;h.add(t),_=null},DEVELOPER_TEST_MODE_AUTHORIZATION_SUCCESS:function(e){var t=e.applicationId,n=e.originURL;d=t,f=n,h.delete(t),_=null,E.applicationId=t,E.originURL=n},DEVELOPER_TEST_MODE_AUTHORIZATION_FAIL:function(e){var t=e.applicationId,n=e.error;h.delete(t),_=n},OVERLAY_INITIALIZE:function(e){var t=e.testModeApplicationId;d=t},DEVELOPER_TEST_MODE_RESET_ERROR:function(e){return v()},LOGOUT:function(e){return T()},DEVELOPER_TEST_MODE_RESET:function(e){return T()}});t.default=I}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GIF_PICKER_TAB_ID=t.GIF_PICKER_TAB_PANEL_ID=t.EMOJI_PICKER_TAB_ID=t.EMOJI_PICKER_TAB_PANEL_ID=t.EmojiSize=t.INACTIVE_CATEGORY_INDEX=t.EmojiItemTypes=t.EmojiCategories=t.EmojiCategoryTypes=t.CUSTOM=t.RECENT=void 0;t.RECENT="recent";var r,i,o;t.CUSTOM="custom",t.EmojiCategoryTypes=r,function(e){e.GUILD="GUILD",e.UNICODE="UNICODE",e.RECENT="RECENT",e.CUSTOM="CUSTOM",e.SEARCH_RESULTS="SEARCH_RESULTS",e.FAVORITES="FAVORITES",e.PREMIUM_UPSELL="PREMIUM_UPSELL"}(r||(t.EmojiCategoryTypes=r={})),t.EmojiCategories=i,function(e){e.RECENT="recent",e.FAVORITES="favorites",e.CUSTOM="custom",e.PEOPLE="people",e.NATURE="nature",e.FOOD="food",e.ACTIVITY="activity",e.TRAVEL="travel",e.OBJECTS="objects",e.SYMBOLS="symbols",e.FLAGS="flags",e.PREMIUM_UPSELL="premium emoji"}(i||(t.EmojiCategories=i={})),t.EmojiItemTypes=o,function(e){e[e.EMOJI=0]="EMOJI",e[e.NSFW=1]="NSFW"}(o||(t.EmojiItemTypes=o={}));var a;t.INACTIVE_CATEGORY_INDEX=-1,t.EmojiSize=a,function(e){e[e.MEDIUM=32]="MEDIUM",e[e.LARGE=48]="LARGE"}(a||(t.EmojiSize=a={}));t.EMOJI_PICKER_TAB_PANEL_ID="emoji-picker-tab-panel";t.EMOJI_PICKER_TAB_ID="emoji-picker-tab";t.GIF_PICKER_TAB_PANEL_ID="gif-picker-tab-panel";t.GIF_PICKER_TAB_ID="gif-picker-tab"},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.accountDetailsInit=function(){o.default.dispatch({type:c.ActionTypes.USER_SETTINGS_ACCOUNT_INIT})},t.accountDetailsClose=function(){o.default.dirtyDispatch({type:c.ActionTypes.USER_SETTINGS_ACCOUNT_CLOSE})},t.disableAccount=function(e,t){var n={title:t?d.default.Messages.DELETE_ACCOUNT:d.default.Messages.DISABLE_ACCOUNT},i=t?c.Endpoints.DELETE_ACCOUNT:c.Endpoints.DISABLE_ACCOUNT;return(0,l.default)(n,(function(t){return r.default.post({url:i,body:E({password:e},t),oldFormErrors:!0})}),{checkEnabled:!1}).then((function(){o.default.dispatch({type:c.ActionTypes.LOGOUT}),(0,a.transitionTo)(c.Routes.LOGIN)}))},t.saveAccountRequest=h,t.saveAccountChanges=function(e){var t=e.username,n=e.discriminator,r=e.email,a=e.password,f=e.avatar,_=e.newPassword,p=e.banner,m=e.bannerColor,v=e.bio;return o.default.dispatch({type:c.ActionTypes.USER_SETTINGS_ACCOUNT_SUBMIT}),(0,l.default)({title:d.default.Messages.TWO_FA_CHANGE_ACCOUNT},(function(e){var o=E({username:t,email:r,password:a,avatar:f,discriminator:n,banner:p,banner_color:m,bio:v,new_password:_},e),s=i.default.get(c.DEVICE_TOKEN);null!=c.DEVICE_PUSH_PROVIDER&&null!=s&&(o.push_provider=c.DEVICE_PUSH_PROVIDER,o.push_token=s);var u=i.default.get(c.DEVICE_VOIP_TOKEN);return null!=c.DEVICE_PUSH_VOIP_PROVIDER&&null!=u&&(o.push_voip_provider=c.DEVICE_PUSH_VOIP_PROVIDER,o.push_voip_token=u),h(o)}),{checkEnabled:!1,hooks:{onEarlyClose:function(){return o.default.dispatch({type:c.ActionTypes.USER_SETTINGS_ACCOUNT_SUBMIT_FAILURE,errors:{}})}}}).then((function(e){var t=e.body;return s.default.track(c.AnalyticEvents.USER_AVATAR_UPDATED,{animated:(0,u.isAnimatedIconHash)(t.avatar)}),o.default.dispatch({type:c.ActionTypes.USER_SETTINGS_ACCOUNT_SUBMIT_SUCCESS}),e}),(function(e){return o.default.dispatch({type:c.ActionTypes.USER_SETTINGS_ACCOUNT_SUBMIT_FAILURE,errors:e.body}),e}))},t.getHarvestStatus=function(){return r.default.get({url:c.Endpoints.USER_HARVEST,oldFormErrors:!0})},t.requestHarvest=function(){return r.default.post({url:c.Endpoints.USER_HARVEST,oldFormErrors:!0})},t.setPendingAvatar=function(e){o.default.dispatch({type:c.ActionTypes.USER_SETTINGS_ACCOUNT_SET_PENDING_AVATAR,avatar:e})},t.setPendingBanner=function(e){o.default.dispatch({type:c.ActionTypes.USER_SETTINGS_ACCOUNT_SET_PENDING_BANNER,banner:e})},t.setPendingBio=function(e){o.default.dispatch({type:c.ActionTypes.USER_SETTINGS_ACCOUNT_SET_PENDING_BIO,bio:e})},t.setPendingBannerColor=function(e){o.default.dispatch({type:c.ActionTypes.USER_SETTINGS_ACCOUNT_SET_PENDING_BANNER_COLOR,color:e})},t.resetAllPending=function(){o.default.dispatch({type:c.ActionTypes.USER_SETTINGS_RESET_ALL_PENDING})};var r=f(n(14)),i=f(n(28)),o=f(n(2)),a=n(42),s=f(n(13)),u=n(150),l=f(n(755)),c=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function _(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){_(o,r,i,a,s,"next",e)}function s(e){_(o,r,i,a,s,"throw",e)}a(void 0)}))}}function E(){return(E=Object.assign||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}).apply(this,arguments)}function h(e){return m.apply(this,arguments)}function m(){return(m=p(regeneratorRuntime.mark((function e(t){var n,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.patch({url:c.Endpoints.ME,body:t,oldFormErrors:!0});case 2:return n=e.sent,(i=n.body).token&&(a=i.token,delete i.token,o.default.dispatch({type:c.ActionTypes.UPDATE_TOKEN,token:a})),o.default.dispatch({type:c.ActionTypes.CURRENT_USER_UPDATE,user:i}),e.abrupt("return",n);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSendableSticker=t.getStickerSendability=t.StickerSendability=void 0;var r,i=u(n(78)),o=u(n(96)),a=n(290),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}t.StickerSendability=r,function(e){e[e.SENDABLE=0]="SENDABLE",e[e.SENDABLE_WITH_PREMIUM=1]="SENDABLE_WITH_PREMIUM",e[e.NONSENDABLE=2]="NONSENDABLE",e[e.SENDABLE_WITH_PREMIUM_GUILD=3]="SENDABLE_WITH_PREMIUM_GUILD"}(r||(t.StickerSendability=r={}));var l=function(e,t,n){if(null==t)return r.NONSENDABLE;var u=o.default.isPremium(t,s.PremiumTypes.TIER_2);return(0,a.isStandardSticker)(e)?u?r.SENDABLE:r.SENDABLE_WITH_PREMIUM:(0,a.isGuildSticker)(e)&&null!=n?e.available?n.guild_id&&n.guild_id===e.guild_id?r.SENDABLE:null==n.guild_id||i.default.can(s.Permissions.USE_EXTERNAL_EMOJIS,t,n)?u?r.SENDABLE:r.SENDABLE_WITH_PREMIUM:r.NONSENDABLE:r.SENDABLE_WITH_PREMIUM_GUILD:r.NONSENDABLE};t.getStickerSendability=l;t.isSendableSticker=function(e,t,n){return l(e,t,n)===r.SENDABLE}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(3)),i=a(n(2)),o=n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(){return(u=Object.assign||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}).apply(this,arguments)}var l={},c={},d={};function f(e,t){var n,r,i,a,s=u({code:e=null!==(n=e)&&void 0!==n?n:"",state:o.InviteStates.RESOLVING},l[e]);(t(s),l=u({},l,((r={})[e]=s,r)),null!=(null===(i=s.guild)||void 0===i?void 0:i.id))&&(d=u({},d,((a={})[s.guild.id]=e,a)))}function _(e){return f(e.code,(function(t){t.state="banned"in e&&e.banned?o.InviteStates.BANNED:o.InviteStates.EXPIRED}))}var p=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var i=r.prototype;return i.getInvite=function(e){return l[e]},i.getInviteError=function(e){return c[e]},i.getInvites=function(){return l},i.getInviteCodeForGuildId=function(e){return d[e]},r}(r.default.Store))(i.default,{INVITE_RESOLVE:function(e){var t,n=e.code;l=u({},l,((t={})[n]={code:n,state:o.InviteStates.RESOLVING},t))},INVITE_RESOLVE_SUCCESS:function(e){return f(e.code,(function(t){var n,r;t.state=o.InviteStates.RESOLVED,t.guild=e.invite.guild,t.channel=e.invite.channel,t.inviter=e.invite.inviter,t.approximate_member_count=null!==(n=e.invite.approximate_member_count)&&void 0!==n?n:null,t.approximate_presence_count=null!==(r=e.invite.approximate_presence_count)&&void 0!==r?r:null,t.guest_token=e.invite.guest_token,t.target_type=e.invite.target_type,t.target_user=e.invite.target_user,t.target_application=e.invite.target_application,t.expires_at=e.invite.expires_at,t.stage_instance=e.invite.stage_instance}))},INVITE_RESOLVE_FAILURE:_,INSTANT_INVITE_REVOKE_SUCCESS:_,INSTANT_INVITE_CREATE_SUCCESS:function(e){return f(e.invite.code,(function(t){var n,r;t.state=o.InviteStates.RESOLVED,t.guild=e.invite.guild,t.channel=e.invite.channel,t.inviter=e.invite.inviter,t.approximate_member_count=null!==(n=e.invite.approximate_member_count)&&void 0!==n?n:null,t.approximate_presence_count=null!==(r=e.invite.approximate_presence_count)&&void 0!==r?r:null,t.target_type=e.invite.target_type,t.target_user=e.invite.target_user,t.target_application=e.invite.target_application,t.stage_instance=e.invite.stage_instance}))},INVITE_ACCEPT:function(e){return f(e.code,(function(e){e.state=o.InviteStates.ACCEPTED}))},INVITE_ACCEPT_SUCCESS:function(e){return f(e.code,(function(t){t.state=o.InviteStates.ACCEPTED,t.guild=e.invite.guild,t.new_member=e.invite.new_member,t.channel=u({},t.channel,{},e.invite.channel)}))},INVITE_ACCEPT_FAILURE:function(e){return c[e.code]=e.error,f(e.code,(function(e){e.state=o.InviteStates.ERROR}))},INVITE_APP_OPENING:function(e){return f(e.code,(function(e){e.state=o.InviteStates.APP_OPENING}))},INVITE_APP_OPENED:function(e){return f(e.code,(function(e){e.state=o.InviteStates.APP_OPENED}))},INVITE_APP_NOT_OPENED:function(e){return f(e.code,(function(e){e.state=o.InviteStates.APP_NOT_OPENED}))}});t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),a=u(n(5381)),s=u(n(5728));function u(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e){var t=e.children,n=e.size,r=void 0===n?16:n,u=e.className,l=e.flowerStarClassName,f=function(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}(e,["children","size","className","flowerStarClassName"]),_=i.Children.only(t),p={width:r,height:r};return c("div",{className:(0,o.default)(s.default.flowerStarContainer,u),style:p},void 0,i.createElement(a.default,d({},f,{className:(0,o.default)(l,s.default.flowerStar)})),c("div",{className:s.default.childContainer},void 0,_))}f.displayName="FlowerStar"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(3)),i=s(n(2)),o=n(296),a=s(n(983));n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(){return(l=Object.assign||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}).apply(this,arguments)}var c={};function d(e,t){var n,r=c[e]||{code:e,state:o.GuildTemplateStates.RESOLVING};t(r=l({},r)),c=l({},c,((n={})[e]=r,n))}function f(e){_(e.guildTemplate)}function _(e){return d(e.code,(function(t){var n=(0,a.default)(e);for(var r in n)t[r]=n[r]}))}function p(e){return d(e.code,(function(e){e.state=o.GuildTemplateStates.EXPIRED}))}var E=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var i=r.prototype;return i.getGuildTemplate=function(e){return c[e]},i.getGuildTemplates=function(){return c},i.getForGuild=function(e){for(var t in c){var n=c[t];if("sourceGuildId"in n&&n.sourceGuildId===e&&n.state!==o.GuildTemplateStates.EXPIRED)return n}},r}(r.default.Store))(i.default,{GUILD_TEMPLATE_RESOLVE:function(e){var t,n=e.code;c=l({},c,((t={})[n]={code:n,state:o.GuildTemplateStates.RESOLVING},t))},GUILD_TEMPLATE_CREATE_SUCCESS:f,GUILD_TEMPLATE_SYNC_SUCCESS:f,GUILD_TEMPLATE_RESOLVE_SUCCESS:f,GUILD_TEMPLATE_LOAD_FOR_GUILD_SUCCESS:function(e){e.guildTemplates.forEach((function(e){return _(e)}))},GUILD_TEMPLATE_RESOLVE_FAILURE:p,GUILD_TEMPLATE_DELETE_SUCCESS:p,GUILD_TEMPLATE_ACCEPT:function(e){return d(e.code,(function(e){e.state=o.GuildTemplateStates.ACCEPTING}))},GUILD_TEMPLATE_ACCEPT_SUCCESS:function(e){return d(e.code,(function(e){e.state=o.GuildTemplateStates.ACCEPTED,e.usageCount=(e.usageCount||0)+1}))},GUILD_TEMPLATE_ACCEPT_FAILURE:function(e){return d(e.code,(function(e){e.state=o.GuildTemplateStates.RESOLVED}))}});t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);var r=i.default.getGame(e.applicationId),s=e.getPrice(),u=e.getPrice(null,!1),l={sku_id:e.id,sku_type:e.type,application_id:e.applicationId,application_name:null!=r?r.name:null,store_title:e.name,distribution_type:e.premium?"premium":"distribution"},c=null;n&&(c={price:null!=s?s.amount:null,regular_price:null!=u?u.amount:null,currency:null!=s?s.currency:null});var d=null;t&&(d={has_single_player:e.hasFeature(o.SKUFeatureTypes.SINGLE_PLAYER),has_online_multiplayer:e.hasFeature(o.SKUFeatureTypes.ONLINE_MULTIPLAYER),has_local_multiplayer:e.hasFeature(o.SKUFeatureTypes.LOCAL_MULTIPLAYER),has_pvp_features:e.hasFeature(o.SKUFeatureTypes.PVP),has_local_coop:e.hasFeature(o.SKUFeatureTypes.LOCAL_COOP),has_online_coop:e.hasFeature(o.SKUFeatureTypes.ONLINE_COOP),has_cross_platform:e.hasFeature(o.SKUFeatureTypes.CROSS_PLATFORM),has_rich_presence:e.hasFeature(o.SKUFeatureTypes.RICH_PRESENCE),has_game_invites:e.hasFeature(o.SKUFeatureTypes.DISCORD_GAME_INVITES),has_spectator_mode:e.hasFeature(o.SKUFeatureTypes.SPECTATOR_MODE),has_controller_support:e.hasFeature(o.SKUFeatureTypes.CONTROLLER_SUPPORT),has_cloud_saves:e.hasFeature(o.SKUFeatureTypes.CLOUD_SAVES),has_secure_networking:e.hasFeature(o.SKUFeatureTypes.SECURE_NETWORKING)});return a({},l,{},c,{},d)};var r,i=(r=n(71))&&r.__esModule?r:{default:r},o=n(1);function a(){return(a=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(14)),i=u(n(2)),o=u(n(13)),a=u(n(983)),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}var l={resolveGuildTemplate:function e(t){return i.default.isDispatching()?Promise.resolve().then((function(){return e(t)})):(i.default.dispatch({type:s.ActionTypes.GUILD_TEMPLATE_RESOLVE,code:t}),r.default.get({url:s.Endpoints.UNRESOLVED_GUILD_TEMPLATE(t),oldFormErrors:!0}).then((function(e){var n=e.body;return o.default.track(s.AnalyticEvents.GUILD_TEMPLATE_RESOLVED,{resolved:!0,guild_template_code:t,guild_template_name:n.name,guild_template_description:n.description,guild_template_guild_id:n.source_guild_id}),i.default.dispatch({type:s.ActionTypes.GUILD_TEMPLATE_RESOLVE_SUCCESS,guildTemplate:n,code:t}),{guildTemplate:(0,a.default)(n),code:t}}),(function(){return o.default.track(s.AnalyticEvents.GUILD_TEMPLATE_RESOLVED,{resolved:!1,guild_template_code:t}),i.default.dispatch({type:s.ActionTypes.GUILD_TEMPLATE_RESOLVE_FAILURE,code:t}),{guildTemplate:null,code:t}})))},loadTemplatesForGuild:function(e){return r.default.get({url:s.Endpoints.GUILD_TEMPLATES(e),oldFormErrors:!0}).then((function(e){return i.default.dispatch({type:s.ActionTypes.GUILD_TEMPLATE_LOAD_FOR_GUILD_SUCCESS,guildTemplates:e.body}),e}))},createGuildTemplate:function(e,t,n){return r.default.post({url:s.Endpoints.GUILD_TEMPLATES(e),body:{name:t,description:n},oldFormErrors:!0}).then((function(e){i.default.dispatch({type:s.ActionTypes.GUILD_TEMPLATE_CREATE_SUCCESS,guildTemplate:e.body,code:e.body.code})}))},syncGuildTemplate:function(e,t){return r.default.put({url:s.Endpoints.GUILD_TEMPLATE(e,t),oldFormErrors:!0}).then((function(e){i.default.dispatch({type:s.ActionTypes.GUILD_TEMPLATE_SYNC_SUCCESS,guildTemplate:e.body,code:t})}))},updateGuildTemplate:function(e,t,n,o){return r.default.patch({url:s.Endpoints.GUILD_TEMPLATE(e,t),body:{name:n,description:o},oldFormErrors:!0}).then((function(e){i.default.dispatch({type:s.ActionTypes.GUILD_TEMPLATE_SYNC_SUCCESS,guildTemplate:e.body,code:t})}))},deleteGuildTemplate:function(e,t){return r.default.delete({url:s.Endpoints.GUILD_TEMPLATE(e,t),oldFormErrors:!0}).then((function(){i.default.dispatch({type:s.ActionTypes.GUILD_TEMPLATE_DELETE_SUCCESS,guildId:e,code:t})}))}};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getChromeVersion=function(){return u},t.getElectronVersion=function(){return l};var r,i,o,a=(r=n(66))&&r.__esModule?r:{default:r};var s=(a.default.name||"unknown").toLowerCase(),u="chrome"===s.toLowerCase()?parseInt(null!==(i=a.default.version)&&void 0!==i?i:"",10):-1;var l="electron"===s.toLowerCase()?parseInt(null!==(o=a.default.version)&&void 0!==o?o:"",10):-1},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=L(n(767)),i=L(n(1131)),o=L(n(8)),a=L(n(3)),s=n(34),u=L(n(2)),l=L(n(288)),c=L(n(695)),d=n(364),f=L(n(1343)),_=L(n(403)),p=L(n(26)),E=n(140),h=L(n(5655)),m=n(42),v=L(n(13)),T=L(n(16)),g=L(n(43)),I=n(401),S=L(n(163)),y=L(n(51)),A=L(n(1287)),O=L(n(376)),N=L(n(160)),R=L(n(12)),b=n(1);function L(e){return e&&e.__esModule?e:{default:e}}function D(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return C(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(){return(P=Object.assign||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}).apply(this,arguments)}var w=new p.default("KeybindsStore"),U={},k={},G=0,Y=!0,x={};x[b.KeybindCustomActions.UNASSIGNED]={onTrigger:function(){},keyEvents:{}},x[b.KeybindCustomActions.PUSH_TO_TALK]={onTrigger:function(e,t){y.default.getMode(t)===b.InputModes.PUSH_TO_TALK&&(x[b.KeybindCustomActions.PUSH_TO_TALK].isPressed=e,y.default.getMediaEngine().eachConnection((function(t){return t.setForceAudioInput(e,!1)}),t))},keyEvents:{keyup:!0,keydown:!0},isPressed:!1},x[b.KeybindCustomActions.PUSH_TO_TALK_PRIORITY]={onTrigger:function(e){y.default.getMode()===b.InputModes.PUSH_TO_TALK&&(x[b.KeybindCustomActions.PUSH_TO_TALK_PRIORITY].isPressed=e,y.default.getMediaEngine().eachConnection((function(t){return t.setForceAudioInput(e,!0)}),s.MediaEngineContextTypes.DEFAULT))},keyEvents:{keyup:!0,keydown:!0},isPressed:!1},x[b.KeybindCustomActions.PUSH_TO_MUTE]={onTrigger:function(e){y.default.getMode()===b.InputModes.VOICE_ACTIVITY&&(y.default.isSelfDeaf()||(x[b.KeybindCustomActions.PUSH_TO_MUTE].isPressed=e,l.default.setTemporarySelfMute(e)))},keyEvents:{keyup:!0,keydown:!0},isPressed:!1},x[b.KeybindCustomActions.TOGGLE_MUTE]={onTrigger:function(){l.default.toggleSelfMute()},keyEvents:{keyup:!0,keydown:!1}},x[b.KeybindCustomActions.TOGGLE_DEAFEN]={onTrigger:function(){l.default.toggleSelfDeaf()},keyEvents:{keyup:!0,keydown:!1}},x[b.KeybindCustomActions.TOGGLE_VOICE_MODE]={onTrigger:function(){var e=y.default.getMode()===b.InputModes.PUSH_TO_TALK?b.InputModes.VOICE_ACTIVITY:b.InputModes.PUSH_TO_TALK;l.default.setMode(e)},keyEvents:{keyup:!0,keydown:!1}},x[b.KeybindCustomActions.TOGGLE_OVERLAY]={onTrigger:function(){var e=A.default.enabled;c.default.setEnabled(!e)},keyEvents:{keyup:!0,keydown:!1}},x[b.KeybindCustomActions.TOGGLE_OVERLAY_INPUT_LOCK]={onTrigger:function(e){var t=A.default.getFocusedPID();null!=t&&(A.default.isReady(t)||A.default.isCrashed(t))&&(e?c.default.setUILocked(!O.default.isUILocked(t),t):c.default.setInputLocked(!A.default.isInputLocked(t),t))},keyEvents:{keyup:!0,keydown:!0}},x[b.KeybindCustomActions.OVERLAY_ACTIVATE_REGION_TEXT_WIDGET]={onTrigger:function(){var e=A.default.getFocusedPID();null!=e&&(null!=e||!1)&&O.default.isPinned(b.OverlayWidgets.TEXT)&&A.default.isReady(e)&&A.default.isInputLocked(e)&&c.default.activateRegion(b.OverlayActiveRegions.TEXT_WIDGET)},keyEvents:{keyup:!0,keydown:!1}},x[b.KeybindCustomActions.TOGGLE_GO_LIVE_STREAMING]={onTrigger:function(){var e=R.default.getCurrentUser(),t=S.default.getActiveStreamForUser(e.id);if(null!=t&&e.id===t.ownerId)return(0,d.stopStream)((0,E.encodeStreamKey)(t));(0,h.default)()},keyEvents:{keyup:!0,keydown:!1}},x[b.KeybindCustomActions.TOGGLE_STREAMER_MODE]={onTrigger:function(){f.default.setEnabled(!N.default.enabled)},keyEvents:{keyup:!0,keydown:!1}},x[b.KeybindCustomActions.NAVIGATE_BACK]={onTrigger:function(){return(0,m.back)()},keyEvents:{keyup:!0,keydown:!1}},x[b.KeybindCustomActions.NAVIGATE_FORWARD]={onTrigger:function(){return(0,m.forward)()},keyEvents:{keyup:!0,keydown:!1}};var V=[b.KeybindCustomActions.PUSH_TO_TALK,b.KeybindCustomActions.TOGGLE_OVERLAY_INPUT_LOCK,b.KeybindCustomActions.OVERLAY_ACTIVATE_REGION_TEXT_WIDGET];function H(t){if(T.default.embedded)g.default.inputEventUnregister(parseInt(t,10));else if(U[t]){var n=k[t],r=x[n.action];r&&!0===r.isPressed&&e.nextTick((function(){return r.onTrigger(!1)})),U[t].reset(),U[t]=null}}function F(e){if(Y&&!__OVERLAY__){var t=e.shortcut,n=e.action,o=e.context;if(""!==t&&null!=t&&n!==b.KeybindCustomActions.UNASSIGNED)if(null!=x[n]){var a=e.id,s=x[n].keyEvents;!function(e,t,n,o){if(T.default.embedded)g.default.inputEventRegister(parseInt(e),t,n,o);else{H(e);var a=(0,i.default)(new r.default(document));o.keyup&&a.bindGlobal((0,I.toString)(t),(function(){return n(!1)}),"keyup"),o.keydown&&a.bindGlobal((0,I.toString)(t),(function(){return n(!0)}),"keydown"),U[e]=a}}(a,t,(function(e){return function(e,t,n){var r=k[e];null!=r&&x[r.action].onTrigger(t,n)}(a,e,o)}),P({focused:!0,blurred:!0,keydown:!1,keyup:!1},s)),_.default.validateKeybind((0,I.toString)(e.shortcut))}else w.error("KeybindStore: Looking for callback action "+n+" but it doesn't exist in this version. Skipping")}}function B(e){var t,n=P({id:G.toString(),action:b.KeybindCustomActions.UNASSIGNED,shortcut:[],managed:!1},e);return k=P({},k,((t={})[n.id]=n,t)),G+=1,n}function j(e){H(e.id),delete(k=P({},k))[e.id]}function W(e){var t,n=e.keybind;k=P({},k,((t={})[n.id]=n,t)),__OVERLAY__||(v.default.track(b.AnalyticEvents.USER_SETTINGS_KEYBIND_UPDATED,{keybind_action:n.action,keybind_is_bound:!0,keybind_has_shortcut:!!n.shortcut.length}),n.action===b.KeybindCustomActions.TOGGLE_OVERLAY_INPUT_LOCK?v.default.track(b.AnalyticEvents.OVERLAY_SETTINGS_UPDATED,{hotkey:n.action===b.KeybindCustomActions.TOGGLE_OVERLAY_INPUT_LOCK?(0,I.toString)(n.shortcut):null}):n.action===b.KeybindCustomActions.OVERLAY_ACTIVATE_REGION_TEXT_WIDGET&&v.default.track(b.AnalyticEvents.OVERLAY_SETTINGS_UPDATED,{text_activation_hotkey:n.action===b.KeybindCustomActions.OVERLAY_ACTIVATE_REGION_TEXT_WIDGET?(0,I.toString)(n.shortcut):null})),F(n)}function K(){return!1!==(e=y.default.getShortcuts(),o.default.each(k,(function(t){t.action!==b.KeybindCustomActions.PUSH_TO_TALK||!0!==t.managed||null!=t.context&&null!=e[t.context]||j(t)})),o.default.reduce(y.default.getShortcuts(),(function(e,t,n){var r=o.default.find(k,(function(e){return e.action===b.KeybindCustomActions.PUSH_TO_TALK&&!0===e.managed&&e.context===n}));if(null==r)F(B({action:b.KeybindCustomActions.PUSH_TO_TALK,shortcut:t,managed:!0,context:n}));else{if(null==t)return e||!1;W({keybind:P({},r,{shortcut:"string"==typeof t?(0,I.toCombo)(t):t,context:n})})}return!0}),!1)||function(){if(A.default.enabled){if(null!=o.default.find(k,(function(e){return e.action===b.KeybindCustomActions.TOGGLE_OVERLAY_INPUT_LOCK&&!0===e.managed})))return!1;var e=(0,I.toCombo)("shift+`");F(B({action:b.KeybindCustomActions.TOGGLE_OVERLAY_INPUT_LOCK,shortcut:e,managed:!0}))}}()||function(){if(!A.default.enabled)return!1;if(null!=o.default.find(k,(function(e){return e.action===b.KeybindCustomActions.OVERLAY_ACTIVATE_REGION_TEXT_WIDGET&&!0===e.managed})))return!1;var e=(0,I.toCombo)("]");F(B({action:b.KeybindCustomActions.OVERLAY_ACTIVATE_REGION_TEXT_WIDGET,shortcut:e,managed:!0}))}());var e}_.default.setGetKeybindList((function(){var e=[];for(var t in k)k.hasOwnProperty(t)&&e.push((0,I.toString)(k[t].shortcut));return e}));var z=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,M(t,n);var i=r.prototype;return i.initialize=function(e){__OVERLAY__||this.waitFor(y.default,A.default),U={},G=0,Y=!0,k=e||{},Object.keys(k).filter((function(e){var t=k[e];return V.includes(t.action)&&!0===t.managed})).length!==V.length&&K(),o.default.forEach(k,(function(e){G=Math.max(parseInt(e.id,10),G)+1;try{F(e)}catch(t){w.error("Failed to register keybind",e,t)}}))},i.getState=function(){return k},i.hasKeybind=function(e,t,n){for(var r in k)for(var i,o=D(k[r].shortcut);!(i=o()).done;){var a=i.value;if(a[0]===e&&a[1]===t&&(void 0===n||n===a[2]))return!0}return!1},i.hasExactKeybind=function(e){for(var t in k){var n=k[t];if(o.default.isEqual(n.shortcut,e))return!0}return!1},i.getOverlayKeybind=function(){return o.default.find(k,(function(e){return e.action===b.KeybindCustomActions.TOGGLE_OVERLAY_INPUT_LOCK&&!0===e.managed}))},i.getOverlayChatKeybind=function(){return o.default.find(k,(function(e){return e.action===b.KeybindCustomActions.OVERLAY_ACTIVATE_REGION_TEXT_WIDGET&&!0===e.managed}))},r}(a.default.PersistedStore);z.persistKey="keybinds",z.migrations=[function(e){void 0===e&&(e={});var t=e,n=t.v,r=t.keybinds,i=void 0===r?e:r;return o.default.reduce(i,(function(e,t,r){var i=parseInt(t.id,10);return isNaN(i)||t.id!==r||((null==n||n<2)&&("string"==typeof t.shortcut?(t.shortcut=t.shortcut.replace("escape","esc").replace("capslock","caps lock").replace("numlock","num lock").replace("pageup","page up").replace("pagedown","page down"),t.shortcut=(0,I.toCombo)(t.shortcut)):t.shortcut=t.shortcut.map((function(e){return e.length<3?[].concat(e,[(0,I.getEnv)()]):e}))),e[r]=t),e}),{})},function(e){return e}];var q=new z(u.default,{CONNECTION_OPEN:function(e){return K()},AUDIO_SET_MODE:function(e){return K()},OVERLAY_SET_ENABLED:function(e){return K()},RPC_APP_CONNECTED:function(e){return K()},RPC_APP_DISCONNECTED:function(e){return K()},KEYBINDS_ADD_KEYBIND:function(e){B()},KEYBINDS_DELETE_KEYBIND:function(e){var t=e.id,n=k[t];__OVERLAY__||v.default.track(b.AnalyticEvents.USER_SETTINGS_KEYBIND_UPDATED,{keybind_action:n.action,keybind_is_bound:!1,keybind_has_shortcut:!1}),null!=n&&j(n)},KEYBINDS_SET_KEYBIND:W,KEYBINDS_ENABLE_ALL_KEYBINDS:function(e){var t=e.enable;Y=t,t?(_.default.enable(),o.default.forEach(k,F)):(_.default.disable(),o.default.forEach(k,(function(e){return H(e.id)})))}});t.default=q}).call(this,n(100))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);var a={openNativeAppModal:function(e,t){var r=this;i.default.dirtyDispatch({type:o.ActionTypes.NATIVE_APP_MODAL_OPENING,code:e}),Promise.resolve().then(n.t.bind(null,740,7)).then((function(n){var i=n.default;i.request(t,{code:e}).then((function(e){var t=e.code;return r.nativeModalOpened(t)})).catch((function(){return r.nativeModalOpenFailed(e)})).then((function(){return i.disconnect()}))}))},nativeModalOpened:function(e){i.default.dispatch({type:o.ActionTypes.NATIVE_APP_MODAL_OPENED,code:e})},nativeModalOpenFailed:function(e){i.default.dispatch({type:o.ActionTypes.NATIVE_APP_MODAL_OPEN_FAILED,code:e})}};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(192),a=n(95),s=(r=n(416))&&r.__esModule?r:{default:r};function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e){var t,n=e.impressionName,r=e.impressionMetadata,u=e.disableTrack,l=function(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}(e,["impressionName","impressionMetadata","disableTrack"]);return(0,s.default)({type:a.ImpressionTypes.PAGE,name:n,metadata:r},{disableTrack:u},[null===(t=l.location)||void 0===t?void 0:t.pathname]),i.createElement(o.Route,l)}l.displayName="RouteWithImpression"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(98)),i=f(n(3)),o=f(n(28)),a=n(57),s=f(n(2)),u=n(1152),l=f(n(89)),c=f(n(213)),d=f(n(16));n(1);function f(e){return e&&e.__esModule?e:{default:e}}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E,h,m,v=!1,T=new a.Timeout;function g(){null!=E&&null!=h&&(window.open(E+"&key="+h),c.default.focus(null,!0))}function I(){h=null,T.stop(),v=!1,o.default.set("BrowserHandoffStore",v)}function S(){I()}var y=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var i,a,s,u=r.prototype;return u.initialize=function(){!1!==o.default.get("BrowserHandoffStore")&&(v=d.default.embedded&&("stable"===window.GLOBAL_ENV.RELEASE_CHANNEL||!1))},u.isHandoffAvailable=function(){return v},i=r,(a=[{key:"user",get:function(){return m}},{key:"key",get:function(){return h}}])&&_(i.prototype,a),s&&_(i,s),r}(i.default.Store))(s.default,{RPC_SERVER_READY:function(e){E=location.protocol+"//"+location.host+"/handoff?rpc="+e.port,g()},BROWSER_HANDOFF_BEGIN:function(e){if(null!=h)return!1;h=r.default.v4(),T.start(e.timeout,(function(){return(0,u.handoffEnd)()})),g()},BROWSER_HANDOFF_FROM_APP:function(e){var t=e.handoffKey,n=e.handoffToken,r=e.timeout;if(null==t||null==n)return!1;v=!0,T.start(r,(function(){return(0,u.handoffEnd)()}))},BROWSER_HANDOFF_UNAVAILABLE:function(e){return I()},BROWSER_HANDOFF_SET_USER:function(e){m=new l.default(e.user)},LOGIN:function(e){return S()},LOGIN_SUCCESS:function(e){return S()},LOGOUT:function(e){return S()},REGISTER:function(e){return S()}});t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=D;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=A(n(9)),a=A(n(363)),s=n(1171),u=n(417),l=A(n(749)),c=A(n(29)),d=A(n(55)),f=A(n(153)),_=n(85),p=n(131),E=n(35),h=A(n(47)),m=A(n(24)),v=A(n(13)),T=n(368),g=n(259),I=n(1),S=A(n(6)),y=A(n(5751));function A(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function N(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function R(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function b(e){var t=e.email,n=e.setEmail,r=e.claimRequired,_=e.onSuccess,v=e.onClose,T=i.useState(),A=T[0],O=T[1],b=i.useState(""),L=b[0],D=b[1],C=i.useState(""),M=C[0],P=C[1],w=i.useState(!1),U=w[0],k=w[1];i.useEffect((function(){return l.default.flowStep(u.FlowType.ANY,u.ClaimAccountSteps.CLAIM_ACCOUNT)}),[]);var G=function(){var e,n=(e=regeneratorRuntime.mark((function e(n){var r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),k(!0),O(""),P(""),e.prev=4,e.next=7,(0,s.saveAccountRequest)({email:t,password:L});case 7:k(!1),_(),e.next=16;break;case 11:e.prev=11,e.t0=e.catch(4),(null===e.t0||void 0===e.t0||null===(r=e.t0.body)||void 0===r?void 0:r.email)&&O(e.t0.body.email),(null===e.t0||void 0===e.t0||null===(i=e.t0.body)||void 0===i?void 0:i.password)&&P(e.t0.body.password),k(!1);case 16:case"end":return e.stop()}}),e,null,[[4,11]])})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){R(o,r,i,a,s,"next",e)}function s(e){R(o,r,i,a,s,"throw",e)}a(void 0)}))});return function(e){return n.apply(this,arguments)}}();return N("div",{className:(0,o.default)(y.default.modalLight,(0,g.getThemeClass)(I.ThemeTypes.LIGHT))},void 0,N(E.ModalHeader,{className:y.default.formHeader,direction:d.default.Direction.VERTICAL,separator:!1},void 0,N("div",{className:y.default.formImage}),N(h.default,{className:y.default.formTitle,size:h.default.Sizes.SIZE_24},void 0,S.default.Messages.FINISH_SIGNING_UP),N(m.default,{className:y.default.formBody,size:m.default.Sizes.SIZE_16,color:m.default.Colors.HEADER_SECONDARY},void 0,r?S.default.Messages.CLAIM_ACCOUNT_REQUIRED_BODY:S.default.Messages.CLAIM_ACCOUNT_BODY_2)),N(E.ModalContent,{},void 0,N("form",{className:y.default.formContent,onSubmit:G},void 0,N(p.FormItem,{title:S.default.Messages.FORM_LABEL_EMAIL,className:y.default.formItem},void 0,N(f.default,{value:t,error:A,onChange:function(e){return n(e)},autoFocus:!0})),N(p.FormItem,{title:S.default.Messages.FORM_LABEL_PASSWORD,className:y.default.formItem},void 0,N(f.default,{type:"password",value:L,error:M,onChange:function(e){return D(e)}})),N(c.default,{type:"submit",size:c.default.Sizes.LARGE,fullWidth:!0,submitting:U,disabled:0===t.length||0===L.length},void 0,S.default.Messages.CLAIM_ACCOUNT),r&&N(c.default,{className:y.default.logoutButton,color:c.default.Colors.GREY,look:c.default.Looks.LINK,size:c.default.Sizes.NONE,onClick:function(){a.default.logout(),v()}},void 0,S.default.Messages.LOGOUT))))}function L(e){var t=e.email,n=e.claimRequired,r=e.onClose,a=n?S.default.Messages.CLAIM_ACCOUNT_REQUIRED_EMAIL_TO:S.default.Messages.CLAIM_ACCOUNT_EMAIL_TO;function s(){window.open((0,T.getCurrentPlatformDownloadURL)(),"_blank"),v.default.track(I.AnalyticEvents.DOWNLOAD_APP,{platform:(0,T.getPlatformReadableName)(),ptb:!1,released:!0,has_e_mail:!0,referring_location:"Claim Modal",qr_code:!1})}return i.useEffect((function(){return l.default.flowStep(u.FlowType.ANY,u.ClaimAccountSteps.CLAIM_ACCOUNT_SUCCESS)}),[]),N("div",{className:(0,o.default)(y.default.modalLight,(0,g.getThemeClass)(I.ThemeTypes.LIGHT))},void 0,N(E.ModalContent,{className:y.default.successContent},void 0,!n&&N(E.ModalCloseButton,{className:y.default.closeButton,onClick:r}),N("div",{className:y.default.successImage}),N(m.default,{className:y.default.successTitle,size:h.default.Sizes.SIZE_20},void 0,a.format({email:t})),N(m.default,{className:y.default.successPromotion,size:m.default.Sizes.SIZE_16},void 0,S.default.Messages.CLAIM_ACCOUNT_PROMOTE_APP_2021_04)),N(E.ModalFooter,{direction:d.default.Direction.VERTICAL},void 0,n?N(c.default,{size:c.default.Sizes.LARGE,onClick:r},void 0,S.default.Messages.OKAY):N(c.default,{color:c.default.Colors.BRAND,size:c.default.Sizes.LARGE,onClick:s},void 0,S.default.Messages.CLAIM_ACCOUNT_GET_APP)))}function D(e){var t=e.onClose,n=e.transitionState,r=e.claimRequired,o=void 0!==r&&r,a=(0,_.useUID)(),s=i.useState(""),u=s[0],l=s[1],c=i.useState(!1),d=c[0],f=c[1];return N(E.ModalRoot,{transitionState:n,"aria-labelledby":a},void 0,d?N(L,{email:u,claimRequired:o,onClose:t}):N(b,{email:u,setEmail:l,claimRequired:o,onSuccess:function(){return f(!0)},onClose:t}))}b.displayName="ClaimForm",L.displayName="ClaimSuccess",D.displayName="ClaimAccountModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(3)),i=n(34),o=s(n(2)),a=n(713);n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=a.ApplicationStreamPresets.PRESET_VIDEO,c=a.ApplicationStreamResolutions.RESOLUTION_720,d=a.ApplicationStreamFPS.FPS_30;var f=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var i=r.prototype;return i.initialize=function(e){var t;null!=e&&(l=null!==(t=e.preset)&&void 0!==t?t:a.ApplicationStreamPresets.PRESET_VIDEO,c=e.resolution,d=e.fps)},i.getState=function(){return{preset:l,resolution:c,fps:d}},r}(r.default.PersistedStore);f.persistKey="ApplicationStreamingSettingStore";var _=new f(o.default,{MEDIA_ENGINE_SET_DESKTOP_SOURCE:function(e){var t=e.resolution,n=e.frameRate,r=e.context;if(null==t||null==n||r!==i.MediaEngineContextTypes.STREAM)return!1;c=t,d=n},STREAM_UPDATE_SETTINGS:function(e){var t=e.preset,n=e.resolution,r=e.frameRate,i=!1;return null!=t&&(l=t,i=!0),null!=n&&(c=n,i=!0),null!=r&&(d=r,i=!0),i}});t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SearchContext=void 0;var r=_(n(8)),i=_(n(98)),o=_(n(2)),a=_(n(216)),s=n(31),u=_(n(10)),l=_(n(70)),c=_(n(12)),d=n(48),f=n(1);function _(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){if(null==e||l.default.isBlocked(e.id))return null;var t={id:e.id,username:e.username+"#"+e.discriminator};return e.bot&&(t.isBot=!0),l.default.isFriend(e.id)&&(t.isFriend=!0,t.friendNickname=l.default.getNickname(e.id)),t}function v(e,t,n){null!=e&&(e[t]=n||null)}function T(e){var t=[];if(null==e||!(0,s.isPrivate)(e.type))return t;var n=e.recipients;return(void 0===n?[]:n).forEach((function(n){var r=m(c.default.getUser(n));null!=e&&v(r,e.id),t.push(r)})),t}function g(e,t){var n=[];return e.forEach((function(e){var r=m(e.user);null!=r&&(v(r,t,e.nick),n.push(r))})),n}var I=function(){function e(e,t,n){var r=this;void 0===n&&(n=10),this.handleMessages=function(e){var t=e.data;t&&t.type===f.UserSearchWorkerMessageTypes.USER_RESULTS&&t.uuid===r._uuid&&(!1!==r._currentQuery&&r._callback(t.payload),null!=r._currentQuery&&(r._currentQuery=null),r._setNextQuery())},this._worker=e,this._uuid=i.default.v4(),this._callback=t,this._limit=n,this._currentQuery=null,this._nextQuery=null,this._subscribed=!1,this._subscribe()}var t=e.prototype;return t.setLimit=function(e){this._limit=e,null!=this._nextQuery&&(this._nextQuery.limit=e)},t._subscribe=function(){null==this._worker||this._subscribed||(this._worker.addEventListener("message",this.handleMessages,!1),this._subscribed=!0,this._setNextQuery())},t._unsubscribe=function(){null!=this._worker&&this._subscribed&&(this._worker.removeEventListener("message",this.handleMessages,!1),this._subscribed=!1)},t.destroy=function(){this.clearQuery(),this._unsubscribe()},t.clearQuery=function(){this._currentQuery=!1,this._nextQuery=null,null!=this._worker&&this._subscribed&&this._worker.postMessage({uuid:this._uuid,type:f.UserSearchWorkerMessageTypes.QUERY_CLEAR})},t.setQuery=function(e,t,n,r){null!=e&&(this._nextQuery={query:e,filters:t,blacklist:n,boosters:r||{},limit:this._limit},this._setNextQuery())},t._setNextQuery=function(){!this._currentQuery&&this._nextQuery&&(null!=this._worker&&this._subscribed?(this._currentQuery=this._nextQuery,this._nextQuery=null,this._worker.postMessage({uuid:this._uuid,type:f.UserSearchWorkerMessageTypes.QUERY_SET,payload:this._currentQuery})):this._subscribed||this._subscribe())},e}();t.SearchContext=I;var S=new(function(e){var t,i;function a(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this)._handleLogout=function(){t.rebootWebworker()},t._handleConnectionOpen=function(e){var n=e.user,r=e.guilds,i=e.channels,o=e.relationships,a=m(n),u=[a];r.forEach((function(e){u.push.apply(u,g(e.members,e.id))})),i.forEach((function(e){null!=e&&(0,s.isPrivate)(e.type)&&(v(a,e.id),u.push.apply(u,T(e)))})),o.forEach((function(e){var t=e.user;u.push(m(t))})),t.updateUsers(u)},t._handleConnectionOpenSupplemental=function(e){var n=e.guilds,i=r.default.flatMap(n,(function(e){return g(e.members,e.id)}));t.updateUsers(i)},t._handleOverlayInitialize=function(e){for(var n,r=e.users,i=e.guildMembers,o=new Map,a=p(r);!(n=a()).done;){var s=n.value;o.set(s.id,m(s))}for(var u=0,l=Object.keys(i);u<l.length;u++){var c=l[u],d=i[c];if(null!=d)for(var f=0,_=Object.keys(d);f<_.length;f++){var E=_[f],h=o.get(E),T=d[E];null!=h&&null!=T&&null!=T.nick&&(v(h,c,T.nick),o.set(E,h))}}t.updateUsers(Array.from(o.values())),o.clear()},t._handleCurrentUserUpdate=function(e){var n=m(e.user);n&&t.updateUsers([n])},t._handleGuildCreate=function(e){var n=e.guild,r=n.members;t.updateUsers(g(r,n.id))},t._handleGuildMembersChunk=function(e){var n=e.members,r=e.guildId;t.updateUsers(g(n,r))},t._handleGuildMemberUpdate=function(e){var n=e.guildId,r=e.user,i=e.nick,o=m(r);null!=o&&(v(o,n,i),t.updateUsers([o]))},t._handleRelationshipAdd=function(e){var n=m(e.relationship.user);t.updateUsers([n])},t._handleRelationshipUpdate=function(e){var n=m(c.default.getUser(e.relationship.id));t.updateUsers([n])},t._handleRelationshipRemove=function(e){var n=m(c.default.getUser(e.relationship.id));t.updateUsers([n])},t._handleDMCreate=function(e){var n=e.channel.id,r=T(u.default.getChannel(n));if(0!==r.length){var i=m(c.default.getCurrentUser());v(i,n),r.push(i),t.updateUsers(r)}},t._handleDMUpdates=function(e){for(var n,r=p(e.updates);!(n=r()).done;){var i=n.value.channel,o=T(u.default.getChannel(i.id));if(0!==o.length){var a=m(c.default.getCurrentUser());v(a,i.id),o.push(a),t.updateUsers(o)}}},t._handleRecipientChanges=function(e){var n=e.channelId,r=m(e.user);v(r,n),t.updateUsers([r])},t}i=e,(t=a).prototype=Object.create(i.prototype),t.prototype.constructor=t,h(t,i);var l=a.prototype;return l._initialize=function(){o.default.subscribe(f.ActionTypes.LOGOUT,this._handleLogout),o.default.subscribe(f.ActionTypes.CONNECTION_OPEN,this._handleConnectionOpen),o.default.subscribe(f.ActionTypes.CONNECTION_OPEN_SUPPLEMENTAL,this._handleConnectionOpenSupplemental),o.default.subscribe(f.ActionTypes.OVERLAY_INITIALIZE,this._handleOverlayInitialize),o.default.subscribe(f.ActionTypes.CURRENT_USER_UPDATE,this._handleCurrentUserUpdate),o.default.subscribe(f.ActionTypes.GUILD_CREATE,this._handleGuildCreate),o.default.subscribe(f.ActionTypes.GUILD_MEMBERS_CHUNK,this._handleGuildMembersChunk),o.default.subscribe(f.ActionTypes.GUILD_MEMBER_ADD,this._handleGuildMemberUpdate),o.default.subscribe(f.ActionTypes.GUILD_MEMBER_UPDATE,this._handleGuildMemberUpdate),o.default.subscribe(f.ActionTypes.RELATIONSHIP_ADD,this._handleRelationshipAdd),o.default.subscribe(f.ActionTypes.RELATIONSHIP_UPDATE,this._handleRelationshipUpdate),o.default.subscribe(f.ActionTypes.RELATIONSHIP_REMOVE,this._handleRelationshipRemove),o.default.subscribe(f.ActionTypes.CHANNEL_CREATE,this._handleDMCreate),o.default.subscribe(f.ActionTypes.CHANNEL_UPDATES,this._handleDMUpdates),o.default.subscribe(f.ActionTypes.CHANNEL_RECIPIENT_ADD,this._handleRecipientChanges),this.rebootWebworker()},l._terminate=function(){null!=this._worker&&(this._worker.terminate(),this._worker=null),o.default.unsubscribe(f.ActionTypes.LOGOUT,this._handleLogout),o.default.unsubscribe(f.ActionTypes.CONNECTION_OPEN,this._handleConnectionOpen),o.default.unsubscribe(f.ActionTypes.CONNECTION_OPEN_SUPPLEMENTAL,this._handleConnectionOpenSupplemental),o.default.unsubscribe(f.ActionTypes.OVERLAY_INITIALIZE,this._handleOverlayInitialize),o.default.unsubscribe(f.ActionTypes.CURRENT_USER_UPDATE,this._handleCurrentUserUpdate),o.default.unsubscribe(f.ActionTypes.GUILD_CREATE,this._handleGuildCreate),o.default.unsubscribe(f.ActionTypes.GUILD_MEMBERS_CHUNK,this._handleGuildMembersChunk),o.default.unsubscribe(f.ActionTypes.GUILD_MEMBER_ADD,this._handleGuildMemberUpdate),o.default.unsubscribe(f.ActionTypes.GUILD_MEMBER_UPDATE,this._handleGuildMemberUpdate),o.default.unsubscribe(f.ActionTypes.RELATIONSHIP_ADD,this._handleRelationshipAdd),o.default.unsubscribe(f.ActionTypes.CHANNEL_CREATE,this._handleDMCreate),o.default.unsubscribe(f.ActionTypes.CHANNEL_UPDATES,this._handleDMUpdates),o.default.unsubscribe(f.ActionTypes.CHANNEL_RECIPIENT_ADD,this._handleRecipientChanges)},l.rebootWebworker=function(){null!=this._worker&&(this._worker.terminate(),this._worker=null),this._worker=new(n(5524))},l.updateUsers=function(e){var t=this._worker;null!=t&&(e=e.filter(d.isNotNullish),t.postMessage({type:f.UserSearchWorkerMessageTypes.UPDATE_USERS,payload:e}))},l.getSearchContext=function(e,t){void 0===t&&(t=10);var n=this._worker;if(!this.isInitialized)throw new Error("SearchContextMananger: Webworkers have not yet been initialized");if(null==n)throw new Error("SearchContextManager: No webworker initialized");return new I(n,e,t)},a}(a.default));t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=s(n(5472)),o=s(n(1428)),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(){return(l=Object.assign||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}).apply(this,arguments)}var c=function(e){var t=e.captchaService,n=void 0===t?a.CaptchaTypes.RECAPTCHA:t,s=e.sitekey,u=function(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}(e,["captchaService","sitekey"]);return s||(s=a.RECAPTCHA_SITE_KEY),n===a.CaptchaTypes.RECAPTCHA?r.createElement(o.default,l({},u,{sitekey:s})):n===a.CaptchaTypes.HCAPTCHA?r.createElement(i.default,l({sitekey:s},u)):r.createElement(o.default,l({},u,{sitekey:s}))};c.displayName="Captcha";var d=c;t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseCaptchaType=function(e){switch(e){case r.CaptchaTypes.HCAPTCHA:return r.CaptchaTypes.HCAPTCHA;case r.CaptchaTypes.RECAPTCHA:case void 0:return r.CaptchaTypes.RECAPTCHA;default:throw new Error(e+" is not a valid captcha type")}};var r=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Splash=function(e){var t,n=e.splash,r=e.children,s=i.useState({width:0,height:0,naturalHeight:0,naturalWidth:0}),u=s[0],l=u.width,c=u.height,f=s[1];return i.useEffect((function(){function e(){f((function(e){var t=v(e.naturalWidth,e.naturalHeight);return null!=t?t:e}))}return window.addEventListener("resize",e),function(){return window.removeEventListener("reslize",e)}}),[]),i.createElement(i.Fragment,null,h(a.default,{className:(0,o.default)(d.default.rightSplit),onLoad:function(e){var t=e.currentTarget,n=t.naturalWidth,r=t.naturalHeight,i=v(n,r);null!=i&&f(i)},src:n,width:l,height:c}),h("div",{className:(0,o.default)(d.default.leftSplit,(t={},t[d.default.nonEmbeddedLeftSplit]=!0,t))},void 0,r))},t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),a=f(n(5480)),s=n(139),u=f(n(1199)),l=f(n(5481)),c=n(197),d=f(n(471));function f(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m=(0,s.cssValueToNumber)(d.default.responsiveWidthMobile);function v(e,t){var n=window,r=n.innerWidth,i=n.innerHeight;if(0===e||0===t)return null;var o=t/e,a=r,s=Math.round(r*o);return s<i&&(s=i,o=e/t,a=Math.round(i*o)),{naturalWidth:e,naturalHeight:t,width:a,height:s}}var T=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={naturalWidth:0,naturalHeight:0,width:0,height:0,showWaveAnimation:t.calculateShowWaveAnimation(),splashLoaded:!1},t.handleResize=function(){var e=t.state,n=v(e.naturalWidth,e.naturalHeight),r=t.calculateShowWaveAnimation();null!=n?t.setState(p({},n,{showWaveAnimation:r})):t.setState({showWaveAnimation:r})},t.handleLoad=function(e){var n=e.currentTarget,r=v(n.naturalWidth,n.naturalHeight);null!=r&&t.setState(r),t.setState({splashLoaded:!0}),window.removeEventListener("resize",t.handleResize),window.addEventListener("resize",t.handleResize)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,E(t,n);var s=r.prototype;return s.componentWillUnmount=function(){window.removeEventListener("resize",this.handleResize)},s.calculateShowWaveAnimation=function(){return window.innerWidth>m},s.renderSplashArt=function(){var e,t=this.props,n=t.splash,r=t.embedded,i=this.state,s=i.width,u=i.height;return null!=n?h(a.default,{className:(0,o.default)(d.default.rightSplit,(e={},e[d.default.embedded]=r,e)),src:n,width:s,height:u,onLoad:this.handleLoad}):null},s.renderWave=function(){var e=this.props,t=e.waveState,n=e.updateWaveState,r=e.embedded,i=this.state,o=i.showWaveAnimation,a=i.splashLoaded;return o?h(l.default,{embedded:r,waveState:t,updateWaveState:n,hideFallback:!a}):h("div",{className:d.default.mobileWave})},s.renderContent=function(){var e,t=this.props,n=t.children,r=t.waveState,a=t.showLogo,s=t.logoClassName,l=t.embedded,f=this.state.showWaveAnimation;return h(i.Fragment,{},void 0,this.renderWave(),h("div",{className:(0,o.default)(d.default.leftSplit,(e={},e[d.default.nonEmbeddedLeftSplit]=!l,e))},void 0,a?h(u.default,{show:!f||r===c.WaveStates.ENTERED&&r!==c.WaveStates.FILLING,className:(0,o.default)(d.default.logo,s)}):null,n))},s.render=function(){var e=this.props.className;return h("div",{className:(0,o.default)(e,d.default.wrapper)},void 0,this.renderSplashArt(),this.renderContent())},r}(i.PureComponent);T.displayName="WaveSplash",T.defaultProps={embedded:!1};var g=T;t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.QRCodeWithOverlay=void 0;var r,i,o=l(n(0)),a=l(n(5651)),s=(r=n(5811))&&r.__esModule?r:{default:r};function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function c(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,f(e,t)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=n(1197),p=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).QRRef=o.createRef(),t}d(t,e);var n=t.prototype;return n.componentDidMount=function(){new a.default(this.QRRef.current,this.props)},n.componentDidUpdate=function(){new a.default(this.QRRef.current,this.props)},n.render=function(){var e=this.props,t=e.colorLight,n=e.className;return o.createElement("div",{ref:this.QRRef,style:{padding:8,borderRadius:4,background:t},className:n})},t}(o.PureComponent);p.displayName="QRCode",p.defaultProps={width:128,height:128,colorLight:"#ffffff",colorDark:"#000000",correctLevel:a.CorrectLevel.M};var E=c("img",{src:_,alt:""}),h=function(e){function t(){return e.apply(this,arguments)||this}return d(t,e),t.prototype.render=function(){return c("div",{className:s.default.qrCodeContainer},void 0,o.createElement(p,this.props),c("div",{className:s.default.qrCodeOverlay},void 0,E))},t}(o.PureComponent);t.QRCodeWithOverlay=h,h.displayName="QRCodeWithOverlay",h.defaultProps={width:144,height:144,colorLight:"#ffffff",colorDark:"#000000",correctLevel:a.CorrectLevel.M};var m=p;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(62)),i=a(n(96)),o=n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e){var t,n,r,a,l;function c(t){var n;return(n=e.call(this)||this).id=t.id,n.skuId=t.skuId,n.applicationId=t.applicationId,n.userId=t.userId,n.gifterId=t.gifterId,n.type=t.type,n.branches=t.branches,n.startsAt=t.startsAt,n.endsAt=t.endsAt,n.subscriptionPlanId=t.subscriptionPlanId,n.parentId=t.parentId,n.consumed=t.consumed,n.giftCodeBatchId=t.giftCodeBatchId,n}return n=e,(t=c).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n),c.createFromServer=function(e){var t;return new c({id:e.id,skuId:e.sku_id,applicationId:e.application_id,userId:e.user_id,gifterId:e.gifter_user_id,type:e.type,branches:e.branches||[],startsAt:e.starts_at?new Date(e.starts_at):null,endsAt:e.ends_at?new Date(e.ends_at):null,subscriptionPlanId:null!=e.subscription_plan?e.subscription_plan.id:null,parentId:null!=e.parent_id?e.parent_id:null,consumed:null!=e.consumed?e.consumed:null,giftCodeBatchId:null!==(t=e.gift_code_batch_id)&&void 0!==t?t:null})},r=c,(a=[{key:"isGiftable",get:function(){return this.type===o.EntitlementTypes.USER_GIFT&&null==this.gifterId}}])&&s(r.prototype,a),l&&s(r,l),c.prototype.isValid=function(e,t,n){if(void 0===n&&(n=null),this.isGiftable)return!1;if(this.type===o.EntitlementTypes.PREMIUM_SUBSCRIPTION){var r=t.get(this.skuId);if(null!=r&&!r.premium)return!1;if(!i.default.canInstallPremiumApplications(e))return!1}var a=new Date;if(null!=this.startsAt&&a<this.startsAt)return!1;if(null!=this.endsAt&&a>=this.endsAt)return!1;if(null!=n)if(0===this.branches.length){if(this.applicationId!==n)return!1}else if(!this.branches.includes(n))return!1;return!0},c}(r.default);t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(62))&&r.__esModule?r:{default:r},o=n(1);function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){var t,n,r,i,u;function l(t){var n;return(n=e.call(this)||this).id=t.id,n.name=t.name,n.interval=t.interval,n.intervalCount=t.intervalCount,n.taxInclusive=t.taxInclusive,n.skuId=t.skuId,n.currency=t.currency,n.price=t.price,n}return n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n),l.createFromServer=function(e){return new l({id:e.id,name:e.name,interval:e.interval,intervalCount:e.interval_count,taxInclusive:e.tax_inclusive,skuId:e.sku_id,currency:e.currency,price:e.price})},l.createFromClient=function(e){return new l(e)},l.prototype.getPriceForPremiumUser=function(){var e=o.SubscriptionPlanInfo[this.id].premiumUserPrice;if(null==e)throw new Error("This plan does not have a price for premium users.");return e},r=l,(i=[{key:"premiumSubscriptionType",get:function(){switch(this.skuId){case o.PremiumSubscriptionSKUs.LEGACY:case o.PremiumSubscriptionSKUs.TIER_2:return o.PremiumTypes.TIER_2;case o.PremiumSubscriptionSKUs.TIER_1:return o.PremiumTypes.TIER_1;default:return null}}}])&&a(r.prototype,i),u&&a(r,u),l}(i.default);t.default=u},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=_(n(9)),a=_(n(8)),s=n(202),u=_(n(55)),l=_(n(372)),c=n(1),d=_(n(5755)),f=_(n(370));function _(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function E(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(){return(h=Object.assign||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}).apply(this,arguments)}function m(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 v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var T=a.default.memoize((function(e){var t=!1;if(null!=e&&(0,s.isValidHex)(e)){var n=(0,s.hex2int)(e);null!=n&&(t=(0,s.getDarkness)(n)<.2)}return t?c.Colors.BLACK:c.Colors.WHITE})),g=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={color:T(t.props.color)},t.handleClick=function(){var e=t.props;(0,e.onClick)(m(e,["onClick"]))},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n),r.prototype.render=function(){var e,t,n=this.props,r=n.selected,i=n.color,a=n.className,s=n.children,_=T(i);return r?t={color:_,background:i||c.Colors.BRAND}:null!=i&&(t={color:i}),E(u.default,{className:(0,o.default)(d.default.selectableItem,a,(e={},e[d.default.selected]=r,e)),onClick:this.handleClick,align:u.default.Align.CENTER,style:h({},t,{},this.props.style)},void 0,E(u.default,{align:u.default.Align.CENTER,className:d.default.selectableItemLabel,shrink:1},void 0,s),r&&E(u.default,{wrap:u.default.Wrap.WRAP,className:f.default.marginReset,grow:0,shrink:0},void 0,E(l.default,{color:_})))},r}(i.PureComponent);g.displayName="SelectableItem";var I=g;t.default=I},function(e,t,n){"use strict";var r;function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){var t,n;n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n),o.createFromServer=function(e){return new o({id:e.id,subscriptionId:e.subscription_id,premiumGuildSubscription:null!=e.premium_guild_subscription?{id:e.premium_guild_subscription.id,guildId:e.premium_guild_subscription.guild_id}:null,canceled:e.canceled,cooldownEndsAt:e.cooldown_ends_at})};var r=o.prototype;function o(t){var n;return(n=e.call(this)||this).id=t.id,n.subscriptionId=t.subscriptionId,n.premiumGuildSubscription=t.premiumGuildSubscription,n.canceled=t.canceled,n.cooldownEndsAt=t.cooldownEndsAt,n}return r.isOnCooldown=function(){return null!=this.cooldownEndsAt&&new Date(this.cooldownEndsAt).getTime()>=Date.now()},r.isAvailable=function(){return null==this.premiumGuildSubscription&&!this.isOnCooldown()},o}(((r=n(62))&&r.__esModule?r:{default:r}).default);t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.stickerFrecency=t.STICKER_PACK_NEW_TIMESTAMP_THRESHOLD=void 0;var r=u(n(3)),i=u(n(2)),o=u(n(452)),a=u(n(362)),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||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}).apply(this,arguments)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f={seenStickerPackIds:null,usageHistory:{}},_=[],p=1e3*s.Durations.DAY;t.STICKER_PACK_NEW_TIMESTAMP_THRESHOLD=p;var E=new o.default((function(){return 100}),(function(e){var t=0;return e<=3?t=100:e<=15?t=70:e<=30?t=50:e<=45?t=30:e<=80&&(t=10),t}),(function(e){return a.default.getStickerById(e)}),(function(e,t){f.usageHistory=e,_=t}),20);t.stickerFrecency=E;var h=function(){E.compute()},m=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var i,o,s,u=r.prototype;return u.initialize=function(e){this.waitFor(a.default),null!=e&&(f=e,E.overwriteHistory(e.usageHistory)),this.syncWith([a.default],h)},u.getState=function(){return f},i=r,(o=[{key:"frequentlyUsedStickers",get:function(){return _}},{key:"seenStickerPackIds",get:function(){return f.seenStickerPackIds}}])&&c(i.prototype,o),s&&c(i,s),r}(r.default.PersistedStore);m.persistKey="StickersPersistedStore",m.migrations=[function(e){return null==e||0===Object.keys(e).length?f:l({},f,{},e)}];var v=new m(i.default,{STICKER_TRACK_USAGE:function(e){var t=e.stickerIds;null==t||t.forEach((function(e){return E.track(e)})),E.compute()},LOGOUT:function(e){return f={seenStickerPackIds:null,usageHistory:{}},void E.overwriteHistory({})}});t.default=v},function(e,t,n){e.exports=n.p+"439112b388adcac969dc066d30767b76.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(5)),i=s(n(62)),o=n(99),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=["500428425362931713","451550535720501248","471376328319303681","466696214818193408"],d=function(e){var t,n;function i(t){var n;return(n=e.call(this)||this).id=t.id,n.type=t.type,n.applicationId=t.applicationId,n.name=t.name,n.preorderReleaseAt=t.preorderReleaseAt,n.preorderApproximateReleaseDate=t.preorderApproximateReleaseDate,n.releaseDate=t.releaseDate,n.summary=t.summary,n.features=t.features,n.genres=t.genres,n.dependentSkuId=t.dependentSkuId,n.manifests=t.manifests,n.availableRegions=t.availableRegions,n.accessType=t.accessType,n.systemRequirements=t.systemRequirements,n.contentRating=t.contentRating,n.contentRatingAgency=t.contentRatingAgency,n.legalNotice=t.legalNotice,n.price=t.price,n.premium=t.premium,n.showAgeGate=t.showAgeGate,n.restricted=t.restricted,n.slug=t.slug,n.exclusive=t.exclusive,n.locales=t.locales,n.flags=t.flags,n.externalPurchaseUrl=t.externalPurchaseUrl||null,n}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n),i.createFromServer=function(e){var t=e.price;return new i({id:e.id,type:e.type,applicationId:e.application_id,name:e.name,releaseDate:null!=e.release_date?(0,r.default)(e.release_date):null,preorderReleaseAt:null!=e.preorder_release_at?(0,r.default)(e.preorder_release_at):null,preorderApproximateReleaseDate:e.preorder_approximate_release_date,summary:e.summary,features:new Set(e.features),genres:new Set(e.genres),dependentSkuId:e.dependent_sku_id,manifests:e.manifests,availableRegions:e.available_regions,accessType:e.access_type,systemRequirements:e.system_requirements,contentRating:e.content_rating,contentRatingAgency:e.content_rating_agency,legalNotice:e.legal_notice,price:null!=t?{amount:t.amount,currency:t.currency,saleAmount:t.sale_amount,salePercentage:t.sale_percentage,premium:t.premium}:null,premium:e.premium,showAgeGate:e.show_age_gate||!1,restricted:e.restricted||!1,slug:e.slug,exclusive:e.exclusive||!1,locales:e.locales||["en-US"],flags:e.flags,externalPurchaseUrl:e.external_purchase_url})};var s,d,f,_=i.prototype;return _.isGiftable=function(e){return void 0===e&&(e=this.price),this.type===a.SKUTypes.DURABLE_PRIMARY&&this.available&&this.requiresPayment&&null!=e&&a.GIFTABLE_CURRENCIES.has(e.currency)&&null==this.externalPurchaseUrl},_.getPrice=function(e,t){void 0===e&&(e=null),void 0===t&&(t=!0);var n=this.price;if(null==n)return null;if(null!=e){var r,i=null===(r=n.premium)||void 0===r?void 0:r[e];if(null!=i)return{amount:i.amount,currency:n.currency}}return t&&null!=n.saleAmount?{amount:n.saleAmount,currency:n.currency}:{amount:n.amount,currency:n.currency}},_.getDisplaySalePercentage=function(){return null==this.price||null==this.price.salePercentage?null:"-"+this.price.salePercentage+"%"},_.isAvailableForDistribution=function(){return this.available&&null!=this.getPrice()&&null==this.externalPurchaseUrl&&(!this.premium||(0,o.hasFlag)(this.flags,a.SKUFlags.PREMIUM_AND_DISTRIBUTION))},_.isAvailable=function(){return(0,o.hasFlag)(this.flags,a.SKUFlags.AVAILABLE)},_.isPremiumPerk=function(){return this.premium&&((0,o.hasFlag)(this.flags,a.SKUFlags.PREMIUM_PURCHASE)||(0,o.hasFlag)(this.flags,a.SKUFlags.PREMIUM_AND_DISTRIBUTION))},_.hasFeature=function(e){return this.features.has(e)},_.isPreorder=function(){return null!=this.preorderReleaseAt||null!=this.preorderApproximateReleaseDate},s=i,(d=[{key:"supportedOperatingSystems",get:function(){var e=null!=this.systemRequirements?Object.keys(this.systemRequirements):[];return e.length>0?e:[a.OperatingSystems.WINDOWS]}},{key:"isOnSale",get:function(){return null!=this.price&&null!=this.price.saleAmount}},{key:"requiresPayment",get:function(){var e=this.getPrice();return!this.premium&&null!=e&&e.amount>0}},{key:"isTheGameAwardsWinner",get:function(){return c.includes(this.id)}},{key:"available",get:function(){return(0,o.hasFlag)(this.flags,a.SKUFlags.AVAILABLE)||null!=this.externalPurchaseUrl}}])&&u(s.prototype,d),f&&u(s,f),i}(i.default);t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(9)),a=c(n(273)),s=n(123),u=n(1),l=c(n(5783));function c(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).anim=new a.default.Value(0),t.animate=function(e){a.default.spring(t.anim,{toValue:e,friction:10,tension:100}).start()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n);var i=r.prototype;return i.componentDidMount=function(){this.props.show&&this.animate(1)},i.componentDidUpdate=function(e){e.show!==this.props.show&&this.animate(this.props.show?1:0)},i.getAnimatedStyle=function(){var e=this.anim;return{opacity:e,transform:this.context.reducedMotion.enabled?void 0:[{translateY:e.interpolate({inputRange:[0,1],outputRange:["-100px","0px"]})},{translateZ:0}]}},i.render=function(){return f(a.default.a,{href:u.Routes.INDEX,target:"_blank",rel:"noopener",className:(0,o.default)(l.default.logo,this.props.className),style:this.getAnimatedStyle()})},r}(i.Component);t.default=p,p.displayName="AuthLogo",p.contextType=s.AccessibilityPreferencesContext},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSafeRedirect=function(e){return/^(?:discord:\/)?\/[a-zA-Z0-9_-]/.test(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.focused,n=e.type,r=e.windowKey,i=e.macOSFrame,s=void 0!==i&&i,u=e.themeOverride,l=e.appContext,c=void 0===l?v.AppContext.APP:l;if((0,o.useStateFromStores)([a.default],(function(){return a.default.isFullscreenInContext(c)})))return null;switch(n){case E.PlatformTypes.WINDOWS:return A(M,{windowKey:r,themeOverride:u});case E.PlatformTypes.OSX:return A(G,{focused:t,windowKey:r,frame:s,themeOverride:u});default:return null}};y(n(0));var r,i=I(n(9)),o=n(3),a=I(n(688)),s=I(n(61)),u=I(n(1151)),l=I(n(5551)),c=I(n(5552)),d=I(n(5553)),f=I(n(1136)),_=I(n(5554)),p=I(n(1137)),E=y(n(16)),h=n(259),m=I(n(43)),v=n(1),T=I(n(6)),g=I(n(5803));function I(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function A(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var O=function(e){return m.default.close(e)},N=function(e){return m.default.minimize(e)},R=function(e,t){E.default.isOSX()&&!t.altKey?m.default.fullscreen(e):m.default.maximize(e)},b=A(u.default,{}),L=A(l.default,{}),D=A(d.default,{}),C=A(_.default,{}),M=function(e){var t=e.windowKey,n=e.themeOverride;return A("div",{className:(0,i.default)(g.default.typeWindows,(0,h.getThemeClass)(n))},void 0,A("div",{className:g.default.wordmarkWindows},void 0,b),A(s.default,{className:g.default.winButtonClose,onClick:function(){return O(t)},"aria-label":T.default.Messages.TITLE_BAR_CLOSE_WINDOW,tabIndex:-1},void 0,L),A(s.default,{className:g.default.winButtonMinMax,onClick:function(e){return R(t,e)},"aria-label":T.default.Messages.TITLE_BAR_MAXIMIZE_WINDOW,tabIndex:-1},void 0,D),A(s.default,{className:g.default.winButtonMinMax,onClick:function(){return N(t)},"aria-label":T.default.Messages.TITLE_BAR_MINIMIZE_WINDOW,tabIndex:-1},void 0,C))};M.displayName="Windows";var P=A(c.default,{color:"#4c0000"}),w=A(p.default,{color:"#975500"}),U=A(f.default,{color:"#006500"}),k=A(u.default,{color:"#ffffff"}),G=function(e){var t=e.focused,n=e.windowKey,r=e.frame,o=e.themeOverride;return A(s.default,{className:(0,i.default)(r?g.default.typeMacOSWithFrame:g.default.typeMacOS,t?g.default.focused:g.default.unfocused,(0,h.getThemeClass)(o)),onDoubleClick:function(){return m.default.maximize(n)},tabIndex:-1},void 0,A("div",{className:g.default.macButtons},void 0,A(s.default,{className:g.default.macButtonClose,onClick:function(){return O(n)},"aria-label":T.default.Messages.TITLE_BAR_CLOSE_WINDOW,tabIndex:-1},void 0,P),A(s.default,{className:g.default.macButtonMinimize,onClick:function(){return N(n)},"aria-label":T.default.Messages.TITLE_BAR_MINIMIZE_WINDOW,tabIndex:-1},void 0,w),A(s.default,{className:g.default.macButtonMaximize,onClick:function(e){return R(n,e)},"aria-label":T.default.Messages.TITLE_BAR_FULLSCREEN_WINDOW,tabIndex:-1},void 0,U)),r?A("div",{className:g.default.wordmarkMacOS},void 0,k):null)};G.displayName="MacOS"},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return s.default.get({url:c.Endpoints.INVITE(e),query:f({},n,{with_counts:!0,with_expiration:!0}),oldFormErrors:!0,trackedActionData:{event:r.NetworkActionNames.INVITE_RESOLVE,metadata:function(r){var i,a,s,l,d,f,p=r.body,E=(null===(i=r.body)||void 0===i?void 0:i.code)===c.AbortCodes.USER_BANNED;return(0,u.exact)({resolved:r.ok,guild_id:null==p||null===(a=p.guild)||void 0===a?void 0:a.id,channel_id:null==p||null===(s=p.channel)||void 0===s?void 0:s.id,channel_type:null==p||null===(l=p.channel)||void 0===l?void 0:l.type,inviter_id:null==p||null===(d=p.inviter)||void 0===d?void 0:d.id,code:e,input_value:null==n?void 0:n.inputValue,location:t,authenticated:o.default.isAuthenticated(),size_total:null==p?void 0:p.approximate_member_count,size_online:null==p?void 0:p.approximate_presence_count,destination_user_id:null==p||null===(f=p.target_user)||void 0===f?void 0:f.id,invite_type:_(p),user_banned:E})}}}).then((function(r){var i=r.body;return t&&a.default.track(c.AnalyticEvents.INVITE_RESOLVED,{resolved:!0,guild_id:null!=i.guild?i.guild.id:null,channel_id:i.channel.id,channel_type:i.channel.type,inviter_id:i.inviter?i.inviter.id:null,code:e,input_value:null==n?void 0:n.inputValue,location:t,authenticated:o.default.isAuthenticated(),size_total:i.approximate_member_count,size_online:i.approximate_presence_count,destination_user_id:null!=i.target_user?i.target_user.id:null,invite_type:_(i)},{flush:!0}),{invite:i,code:e}}),(function(r){var i,s,u=null!=r.body&&r.body.code===c.AbortCodes.USER_BANNED;t&&a.default.track(c.AnalyticEvents.INVITE_RESOLVED,{resolved:!1,code:e,input_value:null==n?void 0:n.inputValue,location:t,authenticated:o.default.isAuthenticated(),user_banned:u,error_code:null===(i=r.body)||void 0===i?void 0:i.code,error_message:null===(s=r.body)||void 0===s?void 0:s.message},{flush:!0});return{invite:null,code:e,banned:u}}))};var r=n(95),i=n(31),o=d(n(11)),a=d(n(13)),s=d(n(482)),u=n(1274),l=n(481),c=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(){return(f=Object.assign||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}).apply(this,arguments)}function _(e){var t=null;if(null!=e&&null!=e.channel){var n=e.channel;e.target_type===l.InviteTargetTypes.STREAM?t=c.InviteTypes.STREAM:e.target_type===l.InviteTargetTypes.EMBEDDED_APPLICATION?t=c.InviteTypes.APPLICATION:(0,i.isMultiUserDM)(n.type)?t=c.InviteTypes.GDM_INVITE:(0,i.isPrivate)(n.type)||(t=c.InviteTypes.SERVER_INVITE)}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(178);function i(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a=new(function(){function e(){this.streams={}}var t=e.prototype;return t.addSink=function(e,t,n){var i=this.streams,o=i[e];if(null==o&&(o=i[e]=new Map),0===o.size){var a=(0,r.getVoiceEngine)();a.setVideoOutputSink(e,this.handleImageData.bind(this,a.signalVideoOutputSinkReady.bind(a,e),o),!0)}o.set(t,n)},t.removeSink=function(e,t){var n=this.streams,i=n[e];null!=i&&(i.delete(t),0===i.size&&(delete n[e],(0,r.getVoiceEngine)().setVideoOutputSink(e)))},t.handleImageData=function(e,t,n){for(var r,o=i(t.values());!(r=o()).done;){(0,r.value)(n)}e()},e}());t.default=a},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSystemAnalyticsInfo=function(){return S.info()};var r=l(n(3)),i=l(n(2)),o=l(n(13)),a=l(n(16)),s=l(n(43)),u=l(n(382));n(1);function l(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function d(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function E(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){p(o,r,i,a,s,"next",e)}function s(e){p(o,r,i,a,s,"throw",e)}a(void 0)}))}}var h={hashes:{}};function m(){return v.apply(this,arguments)}function v(){return(v=E(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a.default.embedded&&a.default.isWindows()){e.next=2;break}return e.abrupt("return",[]);case 2:return e.next=4,s.default.ensureModule("discord_media");case 4:return t=s.default.requireModule("discord_media"),e.next=7,t.getSystemAnalyticsBlob();case 7:return n=e.sent,e.abrupt("return",n||[]);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function T(){return(T=E(regeneratorRuntime.mark((function e(){var t,n,r,i,a,s,u,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,m();case 3:for(t=e.sent,n=t.filter((function(e){return h.hashes[e.name]!==e.hash})),r=d(n);!(i=r()).done;)a=i.value,s=a.name,u=a.hash,l=a.data,o.default.track(s,l),(h={hashes:c({},h.hashes)}).hashes[s]=u;n.length>0&&S.emitChange(),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(0);case 11:case"end":return e.stop()}}),e,null,[[0,9]])})))).apply(this,arguments)}function g(){return function(){T.apply(this,arguments)}(),!1}var I=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n);var i=r.prototype;return i.initialize=function(e){h=null!=e&&"object"==typeof e.hashes?e:{hashes:{}},this.waitFor(u.default)},i.getState=function(){return h},i.info=function(){var e=E(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,m();case 3:if(t=e.sent,null!=(n=t.find((function(e){return"hardware_detected"===e.name})))){e.next=7;break}return e.abrupt("return",null);case 7:return e.abrupt("return",n.data);case 10:e.prev=10,e.t0=e.catch(0);case 12:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}(),r}(r.default.PersistedStore);I.persistKey="SystemAnalyticsStore";var S=new I(i.default,{START_SESSION:function(e){return g()}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_(n(23)),i=_(n(8)),o=_(n(67)),a=_(n(3)),s=_(n(2)),u=_(n(26)),l=_(n(16)),c=_(n(43)),d=n(733),f=n(1);function _(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(){return(E=Object.assign||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}).apply(this,arguments)}function h(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var v={},T={},g={},I={},S={},y=new Set,A=function(){return M.emitChange()},O=i.default.debounce(A,150);function N(e){var t=g[e];null==t||t.closed||(v[e]={x:t.screenX,y:t.screenY,width:t.innerWidth,height:t.innerHeight,alwaysOnTop:!!l.default.embedded&&T[e]})}function R(e){var t=g[e],n=S[e];if(null!=t){var i=t.document;(0,d.subscribeDocumentToFullScreenChange)(i,A),t.addEventListener("focus",A),t.addEventListener("blur",A),t.addEventListener("resize",O),function(e,t){for(var n,i=t.document,o=document.querySelectorAll('link[rel="stylesheet"]'),a=window.location.protocol+"//"+window.location.host,s=h(o);!(n=s()).done;){var u=n.value;if(u.href.startsWith(a)){var l=i.createElement("link");l.href=u.href,l.rel=u.rel,l.integrity=u.integrity,(0,r.default)(null!=i.head,"Document head was null"),i.head.appendChild(l)}}}(0,t);var a=i.getElementById("app-mount");(0,r.default)(null!=a,"No render target for popout!"),I[e]=a,o.default.render(n(e),a)}else new u.default("PopoutWindowStore").warn("Failed to open window",e)}function b(e){var t=g[e];null!=t&&(t.closed||N(e),t.close(),function(e){var t=g[e];(0,r.default)(null!=t,"Popout window was null during unmount"),t.removeEventListener("focus",A),t.removeEventListener("blur",A),t.removeEventListener("resize",O);var n=I[e];(0,r.default)(null!=n,"Window root was null while unmounting"),o.default.unmountComponentAtNode(n),delete g[e],delete T[e],delete S[e],delete I[e]}(e),M.emitChange())}function L(e){var t=e.data;if(t instanceof Object&&t.discordPopoutEvent instanceof Object){var n,r=t.discordPopoutEvent;if(null!=r.key)switch(r.type){case f.PopoutEventTypes.LOADED:return n=r.key,void(y.has(n)&&(R(n),y.delete(n),M.emitChange()));case f.PopoutEventTypes.UNLOADED:return b(r.key)}}}function D(){for(var e=0,t=Object.keys(g);e<t.length;e++){var n=t[e],r=g[n];null!=r&&r.close()}}var C=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var i=r.prototype;return i.initialize=function(e){window.addEventListener("message",L),window.addEventListener("beforeunload",D),v=e||{}},i.getWindow=function(e){return g[e]},i.getWindowState=function(e){return v[e]},i.getWindowKeys=function(){return Object.keys(g)},i.getWindowOpen=function(e){var t=g[e];return null!=t&&!t.closed},i.getIsAlwaysOnTop=function(e){return Boolean(T[e])},i.getWindowFocused=function(e){var t,n,r=g[e];return null!==(t=null==r||null===(n=r.document)||void 0===n?void 0:n.hasFocus())&&void 0!==t&&t},i.getState=function(){return v},r}(a.default.PersistedStore);C.persistKey="PopoutWindowStore";var M=new C(s.default,{POPOUT_WINDOW_OPEN:function(e){var t=e.key,n=e.features,r=e.render;if(l.default.embedded&&!c.default.supportsFeature(f.NativeFeatures.POPOUT_WINDOWS))throw new Error("Popout windows not supported on this native module version!");var i=g[t];if(null!=i&&!i.closed)return l.default.embedded?c.default.focus(t):i.focus(),!1;var o=n.defaultWidth,a=n.defaultHeight,s=n.defaultAlwaysOnTop,u=void 0!==s&&s,d=function(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}(n,["defaultWidth","defaultHeight","defaultAlwaysOnTop"]),_=u,p=v[t];if(null!=p){var h=p.width,m=p.height,I=p.x,A=p.y,O=p.alwaysOnTop;_=null!=O?O:u,d=E({width:h||o,height:m||a,left:I,top:A},d)}var N=window.open(f.Routes.POPOUT_WINDOW,t,function(e){for(var t="",n=0,r=Object.keys(e);n<r.length;n++){var i=r[n],o=e[i];null!=o&&("boolean"==typeof o&&(o=o?"yes":"no"),t+=i+"="+o+",")}return t}(d));N.windowKey=t,null==N||N.focus(),g[t]=N,S[t]=r,l.default.embedded&&(c.default.setAlwaysOnTop(t,_),T[t]=_,c.default.isAlwaysOnTop(t).then((function(e){return T[t]=e}))),y.add(t)},POPOUT_WINDOW_CLOSE:function(e){var t=e.key,n=g[t];null==n||n.closed||(N(t),n.close())},POPOUT_WINDOW_SET_ALWAYS_ON_TOP:function(e){var t=e.key,n=e.alwaysOnTop;l.default.embedded&&(c.default.setAlwaysOnTop(t,n),T[t]=n,c.default.isAlwaysOnTop(t).then((function(e){return T[t]=e})))},LOGOUT:function(e){return D()}}),P=M;t.default=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.get=function(e,t,n){return t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:n||null}),e)},t.without=function(e,t){return e.filter((function(e){return e!==t}))},t.isString=function(e){return"string"==typeof e},t.isObject=function(e){return"object"==typeof e},t.xor=function(e,t){var n=new Map,r=function(e){return n.set(e,n.has(e)?n.get(e)+1:1)};e.forEach(r),t.forEach(r);var i=[];return n.forEach((function(e,t){1===e&&i.push(t)})),i},t.intersection=function(e,t){return e.filter((function(e){return t.indexOf(e)>-1}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCanSeeThreads=y,t.computeCanSeeThreads=A,t.useCanSeeThreadsInChannel=O,t.computeCanSeeThreadsInGuild=N,t.useCanStartPublicThread=b,t.computeCanStartPublicThread=function(e,t){var n=p.default.can(o.default.combine(m.Permissions.SEND_MESSAGES,m.Permissions.USE_PUBLIC_THREADS,m.Permissions.READ_MESSAGE_HISTORY),e);return!!N(e.guild_id)&&D(n,e,t)},t.useCanStartPrivateThread=L,t.useCanStartThread=function(e){var t=b(e),n=L(e);return t||n},t.useHasActiveThreads=function(e){return(0,a.useStateFromStoresObject)([h.default,p.default],(function(){var t=(0,i.default)(h.default.getActiveJoinedThreadsForParent(e.guild_id,e.id)).some((function(e){return p.default.can(m.Permissions.VIEW_CHANNEL,e.channel)})),n=(0,i.default)(h.default.getActiveUnjoinedThreadsForParent(e.guild_id,e.id)).some((function(e){return p.default.can(m.Permissions.VIEW_CHANNEL,e)}));return{hasActiveThreads:t||n,hasActiveUnjoinedThreads:n}}))},t.useCanManageThread=C,t.useCanUnarchiveThread=function(e){var t,n=C(e),r=(0,a.useStateFromStores)([p.default],(function(){return p.default.can(m.Permissions.MANAGE_THREADS,e)}));return!(null==e||!e.isThread())&&((null===(t=e.threadMetadata)||void 0===t?void 0:t.locked)?r:n)},t.computeIsReadonlyThread=function(e){var t,n=e.isArchivedThread()&&!0===(null===(t=e.threadMetadata)||void 0===t?void 0:t.locked),r=p.default.can(m.Permissions.MANAGE_THREADS,e);return n&&!r},t.useIsThreadModerator=function(e){return(0,a.useStateFromStores)([p.default],(function(){return null!=e&&p.default.can(m.Permissions.MANAGE_THREADS,e)}))},t.useThreadsOptInConfig=function(e){return r.useMemo((function(){return{viewBots:null!=e&&M(e),enableBots:null!=e&&w(e),viewCommunity:null!=e&&P(e),enableCommunity:null!=e&&U(e)}}),[e])};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=v(n(8)),o=v(n(63)),a=n(3),s=v(n(310)),u=v(n(685)),l=n(31),c=v(n(11)),d=v(n(10)),f=v(n(56)),_=v(n(15)),p=v(n(40)),E=v(n(12)),h=v(n(300)),m=n(1);function v(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}var g=(0,s.default)({id:"2020-09_threads",label:"Create threads",kind:"guild",defaultConfig:{enabled:!1},treatments:[{id:1,label:"On",config:{enabled:!0}}]}),I=(0,s.default)({id:"2021-06_threads_rollout",label:"Threads Rollout",kind:"guild",defaultConfig:{bots:!1,community:!1},treatments:[{id:1,label:"On",config:{bots:!0,community:!1}},{id:2,label:"On",config:{bots:!0,community:!0}}]}),S=(0,s.default)({id:"2021-02_view_threads",label:"View threads",kind:"user",defaultConfig:{enabled:!1},treatments:[{id:1,label:"On",config:{enabled:!0}}]});function y(){return S.useExperiment({})[0].enabled}function A(){return S.getCurrentConfig({}).enabled}function O(e){var t,n,r=y(),i=R((0,a.useStateFromStores)([_.default],(function(){return _.default.getGuild(null==e?void 0:e.guild_id)})),g.useExperiment({guildId:null!==(t=null==e?void 0:e.guild_id)&&void 0!==t?t:""})[0],I.useExperiment({guildId:null!==(n=null==e?void 0:e.guild_id)&&void 0!==n?n:""})[0]);return null!=e&&r&&i}function N(e){return!!A()&&R(_.default.getGuild(e),g.getCurrentConfig({guildId:e}),I.getCurrentConfig({guildId:e}))}function R(e,t,n){return null!=e&&(!!e.hasFeature(m.GuildFeatures.THREADS_ENABLED)||(!(!e.hasFeature(m.GuildFeatures.THREADS_ENABLED_TESTING)||"canary"!==window.GLOBAL_ENV.RELEASE_CHANNEL&&"ptb"!==window.GLOBAL_ENV.RELEASE_CHANNEL||!n.bots)||!(!n.community&&e.hasFeature(m.GuildFeatures.COMMUNITY))&&t.enabled))}function b(e,t){var n=(0,a.useStateFromStores)([p.default],(function(){return p.default.can(o.default.combine(m.Permissions.SEND_MESSAGES,m.Permissions.USE_PUBLIC_THREADS,m.Permissions.READ_MESSAGE_HISTORY),e)}),[e]);return!!O(e)&&D(n,e,t)}function L(e){var t=(0,a.useStateFromStores)([p.default],(function(){return p.default.can(o.default.combine(m.Permissions.SEND_MESSAGES,m.Permissions.USE_PRIVATE_THREADS),e)}),[e]),n=(0,a.useStateFromStores)([_.default],(function(){return _.default.getGuild(e.guild_id)}));return!!O(e)&&(e.type===m.ChannelTypes.GUILD_TEXT&&(null!=n&&n.hasFeature(m.GuildFeatures.PRIVATE_THREADS)&&D(t,e)))}function D(e,t,n){if(!e)return!1;if(!l.THREADED_CHANNEL_TYPES.has(t.type))return!1;if(null!=n){if(n.hasFlag(m.MessageFlags.HAS_THREAD))return!1;if((0,u.default)(n))return!1}return!0}function C(e){var t=(0,a.useStateFromStores)([d.default],(function(){return d.default.getChannel(null==e?void 0:e.parent_id)})),n=(0,a.useStateFromStores)([p.default],(function(){return null!=t&&p.default.can(m.Permissions.MANAGE_THREADS,t)}),[t]),r=(0,a.useStateFromStores)([c.default],(function(){return c.default.getId()}));return null!=e&&null!=t&&(!!e.isThread()&&(e.ownerId===r||!!n))}function M(e){return!!A()&&(!g.getCurrentConfig({guildId:e.id}).enabled&&(!!I.getCurrentConfig({guildId:e.id}).bots&&(("canary"===window.GLOBAL_ENV.RELEASE_CHANNEL||"ptb"===window.GLOBAL_ENV.RELEASE_CHANNEL)&&(!!p.default.can(m.Permissions.ADMINISTRATOR,e)&&f.default.getMembers(e.id).some((function(e){var t;return null===(t=E.default.getUser(e.userId))||void 0===t?void 0:t.bot}))))))}function P(e){return!!A()&&(!!p.default.can(m.Permissions.ADMINISTRATOR,e)&&I.getCurrentConfig({guildId:e.id}).community)}function w(e){return!!M(e)&&(!N(e.id)&&!e.hasFeature(m.GuildFeatures.THREADS_ENABLED_TESTING))}function U(e){return!!P(e)&&!N(e.id)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ListScrollerRef",{enumerable:!0,get:function(){return o.ListScrollerRef}}),Object.defineProperty(t,"RenderSectionFunction",{enumerable:!0,get:function(){return o.RenderSectionFunction}}),Object.defineProperty(t,"RenderRowFunction",{enumerable:!0,get:function(){return o.RenderRowFunction}}),Object.defineProperty(t,"RenderFooterFunction",{enumerable:!0,get:function(){return o.RenderFooterFunction}}),Object.defineProperty(t,"RenderWrapperFunction",{enumerable:!0,get:function(){return o.RenderWrapperFunction}}),Object.defineProperty(t,"ListScrollerProps",{enumerable:!0,get:function(){return o.ListScrollerProps}}),Object.defineProperty(t,"ListScrollerState",{enumerable:!0,get:function(){return o.ListScrollerState}}),Object.defineProperty(t,"ListItem",{enumerable:!0,get:function(){return o.ListItem}}),Object.defineProperty(t,"ListSectionHeight",{enumerable:!0,get:function(){return o.ListSectionHeight}}),Object.defineProperty(t,"ListRowHeight",{enumerable:!0,get:function(){return o.ListRowHeight}}),Object.defineProperty(t,"ListFooterHeight",{enumerable:!0,get:function(){return o.ListFooterHeight}}),t.default=t.ListNone=t.ListAuto=t.ListThin=void 0;var r,i=n(741),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(1406)),a=(r=n(381))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}var u=window.ResizeObserver,l=(0,o.default)(a.default.thin,a.default.fade,u||i.ResizeObserver);t.ListThin=l;var c=(0,o.default)(a.default.auto,a.default.fade,u||i.ResizeObserver);t.ListAuto=c;var d=(0,o.default)(a.default.none,a.default.fade,u||i.ResizeObserver);t.ListNone=d;var f=l;t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=b(n(66)),i=n(1329),o=R(n(411)),a=n(305),s=b(n(14)),u=b(n(2)),l=b(n(195)),c=b(n(1596)),d=b(n(1181)),f=n(196),_=n(481),p=b(n(1203)),E=n(42),h=n(1232),m=n(134),v=R(n(31)),T=(b(n(162)),b(n(10))),g=b(n(36)),I=b(n(13)),S=b(n(1267)),y=b(n(1426)),A=R(n(364)),O=n(1);function N(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return N=function(){return e},e}function R(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=N();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function b(e){return e&&e.__esModule?e:{default:e}}function L(){return(L=Object.assign||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}).apply(this,arguments)}function D(e){var t,n,r={};switch(e.target_type){case _.InviteTargetTypes.STREAM:r.targetType=e.target_type,r.targetUserId=null===(t=e.target_user)||void 0===t?void 0:t.id;break;case _.InviteTargetTypes.EMBEDDED_APPLICATION:r.targetType=e.target_type,r.targetApplicationId=null===(n=e.target_application)||void 0===n?void 0:n.id}return e.new_member&&null!=e.channel&&(0,v.isGuildTextChannelType)(e.channel.type)&&(r.welcomeModalChannelId=e.channel.id),r}function C(e){var t,r=e.guildId,i=e.channel,o=e.options,a=i.type,s=i.id,u=o||{},l=u.transitionTo,d=u.targetUserId,p=u.targetType,T=u.targetApplicationId,I=u.welcomeModalChannelId,S=a===O.ChannelTypes.GUILD_STAGE_VOICE,N=O.Routes.CHANNEL(r,s);v.GUILD_VOCAL_CHANNEL_TYPES.has(a)&&(N=O.Routes.CHANNEL(r,S?s:g.default.getChannelId(r)),y.default.call((function(){return Promise.resolve().then(n.t.bind(null,132,7)).then((function(e){var t=e.default;if(S)return(0,h.connectAndOpen)(i instanceof v.default?i:new v.default(i)),void(0,E.transitionTo)(N);t.selectVoiceChannel(s),p===_.InviteTargetTypes.STREAM&&null!=d&&A.watchStreamAndTransitionToStream({streamType:f.StreamTypes.GUILD,ownerId:d,guildId:r,channelId:s}),p===_.InviteTargetTypes.EMBEDDED_APPLICATION&&null!=T&&((0,E.transitionTo)(O.Routes.CHANNEL(null!=r?r:O.ME,s)),(0,c.default)(s,T,null==o?void 0:o.intent))}))}))),null!=I&&(t={welcomeModalChannelId:I}),S&&(t=L({},t,{state:m.STAGE_INVITE_STATE_KEY})),null!=l?l(N,t):(0,E.transitionTo)(N,t)}var M={resolveInvite:function e(t,n,r){return u.default.isDispatching()?Promise.resolve().then((function(){return e(t,n,r)})):(u.default.dispatch({type:O.ActionTypes.INVITE_RESOLVE,code:t}),(0,p.default)(t,n,r).then((function(e){var t=e.invite,n=e.code,r=e.banned;return null!=t?u.default.dispatch({type:O.ActionTypes.INVITE_RESOLVE_SUCCESS,invite:t,code:n}):u.default.dispatch({type:O.ActionTypes.INVITE_RESOLVE_FAILURE,code:n,banned:r}),{invite:t,code:n}})))},getInviteContext:function(e,t){return{location:e,location_guild_id:null!=t.guild?t.guild.id:void 0,location_channel_id:null!=t.channel?t.channel.id:void 0,location_channel_type:null!=t.channel?t.channel.type:void 0}},createInvite:function(e,t,n){return void 0===t&&(t={}),s.default.post({url:O.Endpoints.INSTANT_INVITES(e),body:t,context:{location:n},oldFormErrors:!0}).then((function(t){var n=t.body;return u.default.dispatch({type:O.ActionTypes.INSTANT_INVITE_CREATE_SUCCESS,channelId:e,invite:n}),n}),(function(t){throw u.default.dispatch({type:O.ActionTypes.INSTANT_INVITE_CREATE_FAILURE,channelId:e}),t}))},revokeInvite:function(e){var t=e.code,n=e.channel;s.default.delete({url:O.Endpoints.INVITE(t),oldFormErrors:!0}).then((function(){u.default.dispatch({type:O.ActionTypes.INSTANT_INVITE_REVOKE_SUCCESS,code:t,channelId:n.id})}))},acceptInvite:function(e,t,n){return u.default.dirtyDispatch({type:O.ActionTypes.INVITE_ACCEPT,code:e}),s.default.post({url:O.Endpoints.INVITE(e),context:t,oldFormErrors:!0}).then((function(t){return u.default.dispatch({type:O.ActionTypes.INVITE_ACCEPT_SUCCESS,invite:t.body,code:e}),n?n(t.body):u.default.dispatch({type:O.ActionTypes.INVITE_APP_NOT_OPENED,code:e}),t.body}),(function(t){var n,r;throw u.default.dispatch({type:O.ActionTypes.INVITE_ACCEPT_FAILURE,code:e,error:{message:null===(n=t.body)||void 0===n?void 0:n.message,code:null===(r=t.body)||void 0===r?void 0:r.code}}),new l.default(t)}))},acceptInviteAndTransitionToInviteChannel:function(e,t){var n=this;return this.acceptInvite(e,t,(function(e){if(null!=e.channel){var t=D(e);n.transitionToInviteChannelSync(e.channel.id,t)}}))},transitionToInviteChannelSync:function(e,t){T.default.addConditionalChangeListener((function(){var n=T.default.getChannel(e);return null==n||(C({guildId:n.getGuildId()||O.ME,channel:n,options:t}),!1)}))},transitionToInvite:function(e,t){var n,r,i,o=e.channel,a=e.guild;if(null!=a&&(null===(n=a.features)||void 0===n?void 0:n.includes(O.GuildFeatures.HUB)))(0,E.transitionTo)(O.Routes.GUILD_MEMBER_VERIFICATION_FOR_HUB(a.id,e.code));else if(null!=a&&(null===(r=a.features)||void 0===r?void 0:r.includes(O.GuildFeatures.COMMUNITY))&&(null===(i=a.features)||void 0===i?void 0:i.includes(O.GuildFeatures.MEMBER_VERIFICATION_GATE_ENABLED))&&!a.features.includes(O.GuildFeatures.PREVIEW_ENABLED))(0,E.transitionTo)(O.Routes.GUILD_MEMBER_VERIFICATION(a.id,e.code));else if(null!=o){var s=D(e);null!=t&&(s.transitionTo=t),C({guildId:null!=a?a.id:O.ME,channel:o,options:s})}},transitionToInviteSync:function(e,t,n){if(null!=e.channel){var r=D(e);this.transitionToInviteChannelSync(e.channel.id,L({},r,{intent:n,transitionTo:t}))}},openNativeAppModal:function(e){d.default.openNativeAppModal(e,O.RPCCommands.INVITE_BROWSER)},openApp:function(e,t,n,s){var l,c;if(u.default.maybeDispatch({type:O.ActionTypes.INVITE_APP_OPENING,code:e}),null!=r.default.ua&&r.default.ua.toLowerCase().indexOf("googlebot")>-1)u.default.dispatch({type:O.ActionTypes.INVITE_APP_NOT_OPENED,code:e});else{var d;if("Android"===(null===(l=r.default.os)||void 0===l?void 0:l.family)||"iOS"===(null===(c=r.default.os)||void 0===c?void 0:c.family)){var f=null!=e?(0,i.getInviteDynamicLinkTemplate)(e):(0,i.getDefaultDynamicLinkTemplate)(),_=(0,o.generateAttemptId)();d=(0,o.default)(f,{utmSource:"invite",fingerprint:n,username:s,attemptId:_}),I.default.track(O.AnalyticEvents.DEEP_LINK_CLICKED,{fingerprint:(0,a.maybeExtractId)(n),attempt_id:_,source:"invite",invite_code:e})}else"#"===(d=t?O.Routes.INVITE_PROXY(t):"")[0]&&(d=d.slice(1)),d="discord://"+d;S.default.launch(d,(function(t){u.default.dispatch(t?{type:O.ActionTypes.INVITE_APP_OPENED,code:e}:{type:O.ActionTypes.INVITE_APP_NOT_OPENED,code:e})}))}}};t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(3)),i=c(n(2)),o=n(48),a=c(n(10)),s=c(n(298)),u=c(n(86)),l=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var E={},h=0;function m(){h+=1}function v(e){if(null==E[e])return!1;delete E[e]}var T=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var i,o,u,l=r.prototype;return l.initialize=function(e){this.waitFor(a.default,s.default),this.removeChangeListener(m),this.addChangeListener(m),E=e||{}},l.getState=function(){return E},l.isCollapsed=function(e){return!(null==e||"null"===e||!E[e])&&E[e]},l.getCollapsedCategories=function(){return E},i=r,(o=[{key:"version",get:function(){return h}}])&&d(i.prototype,o),u&&d(i,u),r}(r.default.PersistedStore);T.persistKey="collapsedCategories";var g=new T(i.default,{CONNECTION_OPEN:function(e){e.userGuildSettings.partial||(E={});for(var t,n=_(e.userGuildSettings.entries);!(t=n()).done;){var r=t.value;if(null!=r.channel_overrides)for(var i,o=_(r.channel_overrides);!(i=o()).done;){var a=i.value;a.collapsed?E[a.channel_id]=!0:delete E[a.channel_id]}}},USER_GUILD_SETTINGS_FULL_UPDATE:function(e){var t=e.userGuildSettings,n=new Set(t.map((function(e){return e.guild_id})).filter(o.isNotNullish));for(var r in E){var i=a.default.getChannel(r);null!=i&&null!=i.guild_id&&n.has(i.guild_id)&&delete E[i.id]}for(var s,u=_(t);!(s=u()).done;)for(var l,c=_(s.value.channel_overrides);!(l=c()).done;){var d=l.value;d.collapsed&&(E[d.channel_id]=!0)}},CATEGORY_COLLAPSE:function(e){var t=e.id;if(E[t])return!1;E[t]=!0},CATEGORY_EXPAND:function(e){return v(e.id)},CATEGORY_COLLAPSE_ALL:function(e){var t=e.guildId;u.default.getChannels(t)[l.ChannelTypes.GUILD_CATEGORY].forEach((function(e){var t=e.channel;"null"!==t.id&&(E[t.id]=!0)}))},CATEGORY_EXPAND_ALL:function(e){var t=e.guildId;u.default.getChannels(t)[l.ChannelTypes.GUILD_CATEGORY].forEach((function(e){var t=e.channel;delete E[t.id]}))},CHANNEL_DELETE:function(e){return v(e.channel.id)}});t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DISCOVERY_COMMUNICATOR_REQUIREMENT=t.DISCOVERY_PARTICIPATOR_REQUIREMENT=t.getPreferredLocale=t.LANGUAGE_OPTIONS=t.LOCALE_OPTIONS=t.DISCOVERY_SIDEBAR_CATEGORIES=t.MAX_ALGOLIA_PAGINATOR_RESULTS=t.DISCORD_HUB_ID=t.DISCOVERY_ALL_CATEGORIES_ID=t.DEFAULT_EMOJI_DISCOVERABILITY_SETTING=t.OTHER_DISCOVERY_CATEGORY_ID=t.DEFAULT_DISCOVERY_CATEGORY_ID=void 0;var r,i=(r=n(6))&&r.__esModule?r:{default:r};function o(){return(o=Object.assign||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}).apply(this,arguments)}t.DEFAULT_DISCOVERY_CATEGORY_ID=0;t.OTHER_DISCOVERY_CATEGORY_ID=13;t.DEFAULT_EMOJI_DISCOVERABILITY_SETTING=!0;t.DISCOVERY_ALL_CATEGORIES_ID=-1;t.DISCORD_HUB_ID=-2;t.MAX_ALGOLIA_PAGINATOR_RESULTS=1e3;t.DISCOVERY_SIDEBAR_CATEGORIES=[{categoryId:-1,icon:"Discover"},{categoryId:1,icon:"Activity"},{categoryId:2,icon:"Music"},{categoryId:6,icon:"Education"},{categoryId:5,icon:"Science"},{categoryId:3,icon:"Television"}];var a=["en-GB"],s=i.default.getAvailableLocales().map((function(e){var t,r=e.value,o=e.name;try{t=n(1358)("./"+e.value+".png")}catch(e){t=n(1409)}return"en-US"===r?{value:r,label:i.default.Messages.en,image:t}:{value:r,label:o,image:t}})).filter((function(e){return!a.includes(e.value)}));t.LOCALE_OPTIONS=s;var u=i.default.getLanguages().filter((function(e){return!a.includes(e.code)})).map((function(e){return"en-US"===e.code?o({},e,{name:i.default.Messages.en}):e}));t.LANGUAGE_OPTIONS=u;t.getPreferredLocale=function(e){return"en-GB"===e?"en-US":null!=u.find((function(t){return t.code===e}))?e:i.default.getDefaultLocale()};t.DISCOVERY_PARTICIPATOR_REQUIREMENT=40;t.DISCOVERY_COMMUNICATOR_REQUIREMENT=20},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getCoverImageFromActivity",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"getGamePlatform",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"getPlayingString",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"getSimpleStreamURL",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"getStreamURL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"getStreamUsername",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"hasFlag",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"hasRichActivity",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"isGameActivity",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"isInviteActive",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"isListeningOnSpotify",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"isOnXbox",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"isPrivateActivity",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"isStreaming",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"renderActivity",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"shouldShowActivityInviteEducation",{enumerable:!0,get:function(){return v.default}});var r=T(n(1363)),i=T(n(486)),o=T(n(1364)),a=T(n(5369)),s=T(n(1332)),u=T(n(5370)),l=T(n(399)),c=T(n(732)),d=T(n(1333)),f=T(n(1309)),_=T(n(1277)),p=T(n(753)),E=T(n(1365)),h=T(n(707)),m=T(n(1334)),v=T(n(1366));function T(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?16:t,r=e.height,i=void 0===r?16:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 24 24"}),l("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.2929 9.8299L19.9409 9.18278C21.353 7.77064 21.353 5.47197 19.9409 4.05892C18.5287 2.64678 16.2292 2.64678 14.817 4.05892L14.1699 4.70694L19.2929 9.8299ZM12.8962 5.97688L5.18469 13.6906L10.3085 18.813L18.0201 11.0992L12.8962 5.97688ZM4.11851 20.9704L8.75906 19.8112L4.18692 15.239L3.02678 19.8796C2.95028 20.1856 3.04028 20.5105 3.26349 20.7337C3.48669 20.9569 3.8116 21.046 4.11851 20.9704Z",className:d,fill:c}))}c.displayName="Pencil"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseAndRebuild=q,t.createParserState=X,t.default=void 0;var r=b(n(8)),i=b(n(101)),o=b(n(1387)),a=b(n(390)),s=n(1235),u=b(n(185)),l=b(n(106)),c=n(180),d=b(n(1284)),f=b(n(10)),_=b(n(249)),p=b(n(86)),E=b(n(56)),h=b(n(15)),m=b(n(201)),v=b(n(40)),T=b(n(70)),g=b(n(36)),I=b(n(160)),S=b(n(39)),y=b(n(12)),A=b(n(261)),O=n(724),N=n(1),R=b(n(6));function b(e){return e&&e.__esModule?e:{default:e}}function L(){return(L=Object.assign||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}).apply(this,arguments)}var D={action:function(e){e.content=(0,N.MARKDOWN_SPOILER_WRAPPER)(e.content).trim()}},C={match:i.default.anyScopeRegex(N.MARKDOWN_SPOILER_REGEXP),parse:function(){return{content:"<"+R.default.Messages.SPOILER.toLowerCase()+">"}}},M={tts:{action:function(e){e.tts=S.default.enableTTSCommand}},me:{action:function(e){e.content="_"+e.content+"_"}},tableflip:{action:function(e){e.content=(e.content+" (╯°□°)╯︵ ┻━┻").trim()}},unflip:{action:function(e){e.content=(e.content+" ┬─┬ ノ( ゜-゜ノ)").trim()}},shrug:{action:function(e){e.content=(e.content+" ¯\\_(ツ)_/¯").trim()}},nick:{action:function(e,t){var n=t.guildId,r=t.channelId;o.default.changeNickname(n,r,N.ME,e.content),e.content=""}},reaction:{match:i.default.anyScopeRegex(/^\+:(.+?): *$/),action:function(e,t){var n=t.isEdit,r=t.channelId,i=t.emojiContext;if(!n&&m.default.hasPresent(r)){var o=m.default.getMessages(r).last();if(o&&o.id){var a=e.content.trim(),u=i.getByName(a.slice(2,-1));null!=u&&(e.content="",(0,s.addReaction)(r,o.id,(0,O.toReactionEmoji)(u)))}}}},searchReplace:{match:i.default.anyScopeRegex(/^s\/((?:.+?)[^\\]|.)\/(.*)/),REMOVE_ESCAPE_CHARS:/\\([*?+/])/g,action:function(e,t){if(!t.isEdit){var n=e.content;e.content="";var r=g.default.getChannelId();if(r){var i=m.default.getLastEditableMessage(r);if(i&&i.id){var o=Array.from(n.match(this.match.regex)||[]),s=o[1],u=o[2];s=s.replace(this.REMOVE_ESCAPE_CHARS,(function(e,t){return t})),u=u.replace(this.REMOVE_ESCAPE_CHARS,(function(e,t){return t}));var l=i.content.replace(s,u);l||i.attachments.length?l!==i.content&&a.default.editMessage(r,i.id,{content:l}):a.default.deleteMessage(r,i.id)}}}}},spoiler:D};function P(e,t,n,r){n[e]=!0,t.action(n,r),l.default.trackWithMetadata(N.AnalyticEvents.SLASH_COMMAND_USED,{command:e})}function w(e,t,n,r){if(void 0===r&&(r=null),t[0]!==e)return null;var i=t.substr(e.length);return n.sortBy((function(e){return-e.text.length})).filter((function(e){var n=e.text;return 1===t.toLowerCase().indexOf(n.toLowerCase())})).sortBy((function(e){return e.text===i?0:1})).map((function(t){var n=t.id,i=t.text,o=t.hasNick;return[e+i,n,r,o]})).first()}function U(e){return{order:e.order,match:e.match,parse:function(t){return{type:e.type,content:t[0]}}}}function k(e){return{match:i.default.anyScopeRegex(e),parse:function(e){return{type:"text",content:e[0]}}}}var G=d.default.RULES,Y=i.default.defaultRules.text,x=/^<@!?(\d+)>/,V=/^<@&(\d+)>/,H=/^<#(\d+)>/,F=/^<a?:(\w+):(\d+)>/,B={link:U(i.default.defaultRules.link),autolink:U(i.default.defaultRules.autolink),url:U(i.default.defaultRules.url),inlineCode:U(G.inlineCode),codeBlock:U(G.codeBlock),rawUserMention:k(x),rawRoleMention:k(V),rawChannelMention:k(H),rawEmoji:k(F),mention:{match:function(e,t,n){var r=n.split(" ").pop()+e;if(/^[^ ]+@[^ ]+\.[^ .]+/.test(r))return null;var i=w("@",e,t.users,"mention");return i||(i=w("@",e,t.mentionableRoles,"roleMention"),i||(function(e){var t=e.indexOf(" "),n=-1===t?e:e.substr(0,t);return"@everyone"===n||"@here"===n}(e)?null:w("@",e,t.users.map((function(e){return L({},e,{text:e.text.split("#")[0]})})),"mention")))},parse:function(e){var t=e[1],n=e[2],r=e[3],i="@";return"roleMention"===n?i+="&":r&&(i+="!"),{type:n,content:"<"+i+t+">"}}},channel:{match:function(e,t){return w("#",e,t.channels)},parse:function(e){return{type:"text",content:"<#"+e[1]+">"}}},emoticon:{match:function(e,t,n){if(!S.default.convertEmoticons)return null;if(0!==n.length&&!/\s$/.test(n))return null;var r=u.default.EMOJI_SHORTCUT_RE.exec(e);return null==r||r[0].length!==e.length&&" "!==e[r[0].length]&&"\n"!==e[r[0].length]?null:r},parse:function(e){return{type:"emoticon",content:u.default.convertShortcutToName(e[1]),isShortcut:!0}}},emoji:{order:G.emoji.order,match:function(e){return u.default.EMOJI_NAME_RE.exec(e)},parse:function(e,t,n){var r=e[0],i=e[1],o=n.customEmoji,a=Object.prototype.hasOwnProperty.call(o,i)?o[i]:null;return null!=a?{type:"customEmoticon",content:"<"+(!0===a.animated?"a":"")+":"+(a.originalName||a.name)+":"+a.id+">",emoji:a}:{type:"text",content:r}}},customEmoticons:{match:function(e,t){var n;return(null===(n=t.customEmoticonsRegex)||void 0===n?void 0:n.exec(e))||null},parse:function(e,t,n){var r=e[0],i=e[1],o=n.emojiContext.getEmoticonByName(i);return null!=o?{type:"customEmoticon",content:"<"+(!0===o.animated?"a":"")+":"+o.name+":"+o.id+">",emoji:o}:{type:"text",content:r}}},text:L({},Y,{match:function(e,t){if(t.textExclusions){var n="^[\\s\\S]+?(?="+t.textExclusions+"|[^0-9A-Za-z\\s\\u00ff-\\uffff]|\\n\\n| {2,}\\n|\\w+:\\S|$)";return new RegExp(n).exec(e)}return null!=Y.match?Y.match(e,t,""):null}})},j={inlineCode:U(G.inlineCode),codeBlock:U(G.codeBlock),mention:{match:i.default.anyScopeRegex(x),parse:function(e,t,n){var r=n.isNotification,i=y.default.getUser(e[1]),o=r&&I.default.enabled||null==i?"":"#"+i.discriminator;return{content:null==i?e[0]:"@"+i.username+o}}},roleMention:{match:i.default.anyScopeRegex(V),parse:function(e,t,n){var r=n.guild;if(null!=r){var i=r.roles[e[1]];if(null!=i)return{content:"@"+i.name}}return{content:e[0]}}},channel:{match:i.default.anyScopeRegex(H),parse:function(e){var t=f.default.getChannel(e[1]);return{content:null==t?e[0]:(0,c.computeChannelName)(t,y.default,T.default,!0)}}},emoji:{match:i.default.anyScopeRegex(F),parse:function(e,t,n){e[0];var r=e[1],i=e[2],o=n.guild,a=_.default.getDisambiguatedEmojiContext(o?o.id:null).getById(i);return{content:":"+(a?a.name:r)+":"}}},spoiler:L({},C),text:L({},Y)};[B,j].forEach((function(e){Object.keys(e).forEach((function(t,n){e[t].order=n}))}));var W=i.default.parserFor(B),K=/(?:<a?:\w+:(\d+)>)|:(?:([^\s:]+?)(?:::skin-tone-\d)?:)/g;function z(e,t,n,r){var i="";return e.forEach((function(e){if(function(e,t,n){if(null!=n&&("customEmoticon"===t.type&&n(t.emoji,!1),"emoticon"===t.type||"text"===t.type))for(var r,i=u.default.translateSurrogatesToInlineEmoji(t.content);null!==(r=K.exec(i));){var o=void 0;r[1]?e.emojiContext&&(o=e.emojiContext.getById(r[1])):o=u.default.getByName(r[2]),o&&n(o,t.isShortcut||!1)}}(t,e,r),e.content.constructor===String)switch(e.type){case"codeBlock":case"inlineCode":case"mention":case"roleMention":case"channel":case"emoji":i+=e.content;break;default:i+=n(e.content)}else e.content.constructor===Array?i+=z(e.content,t,n,r):console.warn("Unknown message item type: ",e)})),i}function q(e,t,n){return z(W(e,t),t,u.default.translateInlineEmojiToSurrogates,n)}function X(e){var t,n=e.getGuildId(),i=n?h.default.getGuild(n):null,o=v.default.can(N.Permissions.MENTION_EVERYONE,e);t=e.isPrivate()?e.recipients.map((function(e){return{userId:e,nick:null}})):null!=n?E.default.getMembers(n).map((function(e){return{userId:e.userId,nick:e.nick}})):[];var a=(0,r.default)(t.reduce((function(e,t){var n=t.userId,r=t.nick,i=y.default.getUser(n);return null==i||e.push({id:n,hasNick:null!=r,text:i.username+"#"+i.discriminator}),e}),[])),s=(0,r.default)(null!=i?i.roles:{}).values().filter((function(e){var t=e.mentionable;return o||t})).map((function(e){return{id:e.id,text:e.name}})),u=(0,r.default)(p.default.getTextChannelNameDisambiguations(e.guild_id)).map((function(e){return{id:e.id,text:e.name}})),l=_.default.getDisambiguatedEmojiContext(n),c=l.getEscapedCustomEmoticonNames(),d=l.getCustomEmoji(),f=l.getCustomEmoticonRegex();return{inline:!0,mentionableRoles:s,guild:i,users:a,channels:u,emojiContext:l,customEmoticonsRegex:f,customEmoji:d,textExclusions:c,disableErrorGuards:!0}}var J={parse:function(e,t,n,r,i){void 0===n&&(n=!1),void 0===r&&(r=!0),void 0===i&&(i=void 0);var o=i||X(e),a={content:t,tts:!1,invalidEmojis:[],validNonShortcutEmojis:[]};return r&&function(e,t){for(var n in M){var r=M[n];if(null==r.match){if("/"===e.content[0]){var i=e.content.split(" ");if(n===i[0].slice(1)&&r.action){e.content=i.slice(1).join(" "),P(n,r,e,t);break}}}else if(r.match.regex.test(e.content)){P(n,r,e,t);break}}}(a,{guildId:e.getGuildId(),guild:o.guild,channelId:e.id,channel:e,isEdit:n,emojiContext:o.emojiContext}),a.content=q(a.content,o,(function(t,n){A.default.isEmojiPremiumLocked(t,e,N.EmojiIntention.CHAT)?a.invalidEmojis.push(t):n||a.validNonShortcutEmojis.push(t)})),a},parsePreprocessor:function(e,t){var n=X(e);return W(t,n)},unparse:function(e,t,n){var o=f.default.getChannel(t),a=o?o.getGuildId():null,s=a?h.default.getGuild(a):null,l=n?j:r.default.omit(j,["spoiler"]),c={inline:!0,guild:s,isNotification:n};return z(i.default.parserFor(l)(e,c),c,u.default.translateSurrogatesToInlineEmoji)}};t.default=J},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(14)),i=p(n(2)),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(735)),a=p(n(160)),s=p(n(12)),u=n(1420),l=p(n(154)),c=n(389),d=n(1),f=p(n(6));function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function p(e){return e&&e.__esModule?e:{default:e}}function E(e){(0,c.closeContextMenu)(),l.default.show(e)}function h(e,t){var n=e.status,r=e.body,i=r&&r.code;switch(n){case 429:E({title:f.default.Messages.FRIEND_REQUEST_RATE_LIMITED_HEADER,body:f.default.Messages.FRIEND_REQUEST_RATE_LIMITED_BODY,confirmText:f.default.Messages.FRIEND_REQUEST_RATE_LIMITED_BUTTON});break;case 403:if(i===d.AbortCodes.EMAIL_VERIFICATION_REQUIRED){E({title:f.default.Messages.FRIEND_REQUEST_REQUIRES_EMAIL_VALIDATION_HEADER,body:f.default.Messages.FRIEND_REQUEST_REQUIRES_EMAIL_VALIDATION_BODY,confirmText:f.default.Messages.FRIEND_REQUEST_REQUIRES_EMAIL_VALIDATION_BUTTON,onConfirm:function(){o.openClaimAccountModal()}});break}default:var a=null!=t?(0,u.humanizeAbortCode)(i||0,t):f.default.Messages.ADD_FRIEND_ERROR_OTHER;E({title:f.default.Messages.FRIEND_REQUEST_FAILED_HEADER,body:a,confirmText:f.default.Messages.OKAY})}throw e}var m={sendRequest:function(e,t){var n=e.split("#"),i=n[0],o=n[1];return r.default.post({url:d.Endpoints.USER_RELATIONSHIPS(),body:{username:i,discriminator:parseInt(o)},context:t,oldFormErrors:!0}).catch((function(t){h(t,e)}))},addRelationship:function(e,t,n,i,o){var u=s.default.getUser(e),l=a.default.hidePersonalInformation;return r.default.put({url:d.Endpoints.USER_RELATIONSHIP(e),body:{type:n,friend_token:i,from_friend_suggestion:o},context:t,oldFormErrors:!0}).catch((function(e){h(e,l?null==u?void 0:u.username:null==u?void 0:u.tag)}))},removeRelationship:function(e,t){r.default.delete({url:d.Endpoints.USER_RELATIONSHIP(e),context:t,oldFormErrors:!0})},updateRelationship:function(e,t){return r.default.patch({url:d.Endpoints.USER_RELATIONSHIP(e),body:{nickname:t}})},fetchRelationships:function(){r.default.get({url:d.Endpoints.USER_RELATIONSHIPS(),oldFormErrors:!0}).then((function(e){return i.default.dispatch({type:d.ActionTypes.LOAD_RELATIONSHIPS_SUCCESS,relationships:e.body})}),(function(){return i.default.dispatch({type:d.ActionTypes.LOAD_RELATIONSHIPS_FAILURE})}))}};t.default=m},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ExpressionPickerOrder=t.ExpressionPickerWidths=t.MIN_EXPRESSION_PICKER_WIDTH=t.ExpressionPickerViewType=void 0,t.ExpressionPickerViewType=r,function(e){e.EMOJI="emoji",e.GIF="gif",e.STICKER="sticker"}(r||(t.ExpressionPickerViewType=r={}));var i;t.MIN_EXPRESSION_PICKER_WIDTH=424,t.ExpressionPickerWidths=i,function(e){e.MIN="min",e.MAX="max"}(i||(t.ExpressionPickerWidths=i={}));var o=[r.EMOJI,r.GIF,r.STICKER];t.ExpressionPickerOrder=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),i=l(n(2)),o=l(n(56)),a=l(n(15)),s=l(n(12)),u=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d={notClaimed:!1,notEmailVerified:!1,notPhoneVerified:!1,newAccount:!1,newMember:!1,canChat:!0},f={};function _(e){p(e);var t=a.default.getGuild(e),n=s.default.getCurrentUser();if(null!=t&&t.verificationLevel!==u.VerificationLevels.NONE&&!t.isOwner(n)){var r=o.default.getMember(t.id,n.id);if(!(null!=r&&r.roles.length>0)){var l=+n.createdAt+6e4*u.VerificationCriteria.ACCOUNT_AGE-Date.now(),c=+t.joinedAt+6e4*u.VerificationCriteria.MEMBER_AGE-Date.now(),d=t.verificationLevel>=u.VerificationLevels.LOW&&!n.isClaimed(),_=!1,E=!1,h=!1,m=!1;n.isPhoneVerified()||n.isStaff()||(_=t.verificationLevel>=u.VerificationLevels.LOW&&!n.verified,E=t.verificationLevel>=u.VerificationLevels.VERY_HIGH,h=t.verificationLevel>=u.VerificationLevels.MEDIUM&&l>0,m=t.verificationLevel>=u.VerificationLevels.HIGH&&c>0);var v,T=[];m&&T.push(c),h&&T.push(l),T.length&&(v=setTimeout((function(){return i.default.dispatch({type:u.ActionTypes.GUILD_VERIFICATION_CHECK,guildId:e})}),Math.max.apply(Math,T))),f[e]={notClaimed:d,notEmailVerified:_,notPhoneVerified:E,newAccount:h,newMember:m,canChat:!(d||_||E||h||m),accountDeadline:new Date(Date.now()+l),memberDeadline:new Date(Date.now()+c),timeoutRef:v}}}}function p(e){var t=f[e];null!=t&&clearTimeout(t.timeoutRef),delete f[e]}function E(e){_(e.guild.id)}var h=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(a.default,s.default)},i.getCheck=function(e){return f[e]||d},i.canChatInGuild=function(e){return(f[e]||d).canChat},r}(r.default.Store))(i.default,{CONNECTION_OPEN:function(e){Object.keys(f).forEach(p),e.guilds.forEach((function(e){return _(e.id)}))},CONNECTION_CLOSED:function(e){Object.keys(f).forEach(p)},CURRENT_USER_UPDATE:function(e){Object.keys(f).forEach(_)},GUILD_CREATE:E,GUILD_UPDATE:E,GUILD_DELETE:function(e){p(e.guild.id)},GUILD_MEMBER_UPDATE:function(e){var t=e.guildId;if(e.user.id!==s.default.getCurrentUser().id)return!1;_(t)},GUILD_VERIFICATION_CHECK:function(e){_(e.guildId)}});t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hideHotspot=function(e){i.default.wait((function(){i.default.dispatch({type:o.ActionTypes.HOTSPOT_HIDE,location:e})}))};var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function a(){return(a=Object.assign||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}).apply(this,arguments)}function s(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function u(e){var t=e.width,n=void 0===t?24:t,r=e.height,o=void 0===r?24:r,u=e.color,l=void 0===u?"currentColor":u,c=e.className,d=e.foreground,f=e["aria-label"],_=function(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}(e,["width","height","color","className","foreground","aria-label"]);return i.createElement("svg",a({width:n,height:o,className:c,viewBox:"0 0 24 24","aria-label":f},_),s("path",{className:d,fill:l,d:"M17 11V7C17 4.243 14.756 2 12 2C9.242 2 7 4.243 7 7V11C5.897 11 5 11.896 5 13V20C5 21.103 5.897 22 7 22H17C18.103 22 19 21.103 19 20V13C19 11.896 18.103 11 17 11ZM12 18C11.172 18 10.5 17.328 10.5 16.5C10.5 15.672 11.172 15 12 15C12.828 15 13.5 15.672 13.5 16.5C13.5 17.328 12.828 18 12 18ZM15 11H9V7C9 5.346 10.346 4 12 4C13.654 4 15 5.346 15 7V11Z","aria-hidden":!0}))}u.displayName="LockClosed"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BotTagTypes=void 0;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=d(n(9)),s=d(n(149)),u=d(n(489)),l=d(n(6)),c=d(n(5780));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function _(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(){return(p=Object.assign||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}).apply(this,arguments)}t.BotTagTypes=i,function(e){e[e.BOT=0]="BOT",e[e.SERVER=1]="SERVER",e[e.SYSTEM_DM=2]="SYSTEM_DM",e[e.OFFICIAL=3]="OFFICIAL"}(i||(t.BotTagTypes=i={}));var E=function(e){var t=e.invertColor,n=void 0!==t&&t,r=e.type,d=void 0===r?i.BOT:r,f=e.className,E=e.verified,h=e.useRemSizes,m=void 0!==h&&h,v=null;switch(d){case i.SYSTEM_DM:v=l.default.Messages.SYSTEM_DM_TAG_SYSTEM;break;case i.SERVER:v=l.default.Messages.BOT_TAG_SERVER;break;case i.OFFICIAL:v=l.default.Messages.SYSTEM_DM_TAG_SYSTEM;break;case i.BOT:default:v=l.default.Messages.BOT_TAG_BOT}var T=null;return E&&(T=_(s.default,{text:l.default.Messages.VERIFIED_BOT_TOOLTIP,position:s.default.Positions.TOP},void 0,(function(e){return o.createElement(u.default,p({},e,{className:c.default.botTagVerified}))}))),_("span",{className:(0,a.default)(f,n?c.default.botTagInvert:c.default.botTagRegular,m?c.default.rem:c.default.px)},void 0,T,_("span",{className:c.default.botText},void 0,v))};E.displayName="BotTag",E.Types=i;var h=E;t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=h(n(8)),i=h(n(3)),o=h(n(2)),a=h(n(300)),s=n(450),u=n(31),l=h(n(11)),c=h(n(10)),d=h(n(40)),f=h(n(200)),_=h(n(36)),p=h(n(181)),E=n(1);function h(e){return e&&e.__esModule?e:{default:e}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return T(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(){return(g=Object.assign||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}).apply(this,arguments)}var I={},S={},y={},A={},O={};function N(e){switch(e){case"null":case null:case void 0:return null;default:return e}}function R(e){var t=N(e),n=!1,r=!1,i=0,o=0,s=A[t];null==s&&(b(),s=A[t]||new Set),s.forEach((function(e){null!==t&&(r=r||!p.default.isGuildOrCategoryOrChannelMuted(t,e)&&f.default.hasUnread(e),o+=f.default.getUnreadCount(e)),i+=f.default.getMentionCount(e)}));var u,l,c,d=a.default.getActiveJoinedUnreadThreadsForGuild(t);for(var _ in d)if(s.has(_))for(var E in d[_])r=r||f.default.hasUnread(E),i+=f.default.getMentionCount(E);r?null==t||I[t]||(I=g({},I,((u={})[t]=!0,u)),n=!0):null!=t&&I[t]&&(delete(I=g({},I))[t],n=!0);null!=t&&y[t]!==o&&(y=g({},y,((l={})[t]=o,l)),n=!0);S[t]!==i&&(S=g({},S,((c={})[t]=i,c)),n=!0);if(n){var h=O[t||"null"];O[t||"null"]=null!=h?++h:1}return n}function b(){A={},r.default.forEach(c.default.getMutableGuildAndPrivateChannels(),(function(e){if(!e.isVocal()&&(e.isPrivate()||d.default.can(E.Permissions.VIEW_CHANNEL,e))){var t=e.getGuildId(),n=A[t];null==n&&(n=new Set,A[t]=n),n.add(e.id)}}))}function L(e){return b(),R(e)}function D(e,t){var n=c.default.getChannel(e);if(null!=n)return t(N(n.getGuildId()));for(var r=0,i=Object.keys(A);r<i.length;r++){var o=i[r];if(A[o].has(e))return t(N(o))}return!1}function C(e){var t=e.guilds;I={},S={},y={},O={},b(),R(null),t.forEach((function(e){return R(e.id)}))}function M(e){return D(e.channelId,R)}function P(e){var t,n=e.channel;return!!u.ALL_CHANNEL_TYPES.has(n.type)&&(!1!==(null===(t=A[n.guild_id])||void 0===t?void 0:t.has(n.parent_id))&&R(n.guild_id))}function w(e){return L(e.guildId)}function U(){Object.keys(I).forEach(R)}var k=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var o=i.prototype;return o.initialize=function(){this.waitFor(c.default,_.default,f.default,d.default,l.default,p.default,a.default)},o.hasAnyUnread=function(){return Object.keys(I).length>0},o.getUnreadGuilds=function(){return I},o.getGuildUnreadCount=function(e){return void 0===e?0:y[e]||0},o.hasUnread=function(e){return I[e]||!1},o.getMentionCount=function(e){return S[e]||0},o.getMentionCounts=function(){return S},o.getUnreadGuildsIgnoreMuted=function(e){var t=A[e];if(null!=t&&Array.from(t).some((function(e){return f.default.hasUnread(e)})))return!0;var n=a.default.getActiveJoinedThreadsForGuild(e);for(var r in n)if(t.has(r))for(var i in n[r])if(f.default.hasUnread(i))return!0;return!1},o.getTotalMentionCount=function(){return(0,r.default)(S).values().sum()},o.getGuildChangeSentinel=function(e){return O[e]||0},i}(i.default.Store))(o.default,{CONNECTION_OPEN:C,OVERLAY_INITIALIZE:C,CACHE_LOADED_LAZY:C,GUILD_CREATE:function(e){return L(e.guild.id)},GUILD_DELETE:function(e){var t=e.guild;null!=I[t.id]&&delete(I=g({},I))[t.id],null!=y[t.id]&&delete(y=g({},y))[t.id],null!=S[t.id]&&delete(S=g({},S))[t.id],delete A[t.id]},MESSAGE_CREATE:M,MESSAGE_ACK:M,UPDATE_CHANNEL_DIMENSIONS:M,CHANNEL_SELECT:function(e){return R(e.guildId)},CHANNEL_DELETE:function(e){var t=e.channel;return D(t.id,(function(e){return A[e].delete(t.id),R(e)}))},WINDOW_FOCUS:function(e){return null!=(t=_.default.getChannelId())&&D(t,R);var t},GUILD_ACK:function(e){return R(e.guildId)},GUILD_ROLE_CREATE:w,GUILD_ROLE_DELETE:w,GUILD_ROLE_UPDATE:w,CHANNEL_CREATE:function(e){return D(e.channel.id,L)},CHANNEL_UPDATES:function(e){for(var t,n=e.updates,r=new Set,i=v(n);!(t=i()).done;){var o=t.value;if(null==c.default.getChannel(o.channel.id))for(var a=0,s=Object.keys(A);a<s.length;a++){var u=s[a];A[u].has(o.channel.id)&&r.add(N(o.channel.guild_id))}else r.add(N(o.channel.guild_id))}return 0!==r.size&&(b(),r.forEach((function(e){return R(e)})),!0)},THREAD_CREATE:P,THREAD_UPDATE:P,THREAD_DELETE:P,THREAD_LIST_SYNC:function(e){return R(e.guildId)},THREAD_MEMBER_UPDATE:function(e){return R(e.guildId)},THREAD_MEMBERS_UPDATE:function(e){return(0,s.doesThreadMembersActionAffectMe)(e)&&R(e.guildId)},CHANNEL_UNREAD_UPDATE:function(e){e.channelUnreadUpdates.forEach((function(e){D(e.id,R)}))},GUILD_MEMBER_UPDATE:function(e){var t=e.user,n=e.guildId;return t.id===l.default.getId()&&L(n)},USER_GUILD_SETTINGS_FULL_UPDATE:function(e){return U()},USER_GUILD_SETTINGS_CHANNEL_UPDATE:function(e){return U()},USER_GUILD_SETTINGS_GUILD_UPDATE:function(e){return U()}});t.default=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?16:t,r=e.height,i=void 0===r?16:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 24 24"}),l("path",{d:"M12 2C6.4764 2 2 6.4764 2 12C2 17.5236 6.4764 22 12 22C17.5236 22 22 17.5236 22 12C22 6.4764 17.5236 2 12 2ZM12 5.6C12.4422 5.6 12.8 5.95781 12.8 6.4V11.5376L16.5625 13.7126C16.9453 13.9329 17.0703 14.4173 16.85 14.8001C16.6297 15.183 16.1453 15.3079 15.7625 15.0876L11.6873 12.7376C11.656 12.7251 11.6279 12.7048 11.5998 12.6876C11.3607 12.5486 11.1998 12.2954 11.1998 12.0001V6.4001C11.1998 5.9579 11.5578 5.6 12 5.6Z",fill:c,className:d}))}c.displayName="EmojiFrequentCategory"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DraftType=void 0;var r=d(n(8)),i=d(n(3)),o=d(n(2)),a=n(48),s=d(n(10)),u=d(n(298)),l=d(n(12)),c=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(){return(_=Object.assign||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}).apply(this,arguments)}var p;t.DraftType=p,function(e){e[e.ChannelMessage=0]="ChannelMessage",e[e.ThreadSettings=1]="ThreadSettings",e[e.FirstThreadMessage=2]="FirstThreadMessage"}(p||(t.DraftType=p={}));var E={};function h(e){var t=c.MAX_MESSAGE_LENGTH_PREMIUM+500;return e.length>t&&(e=e.substr(0,t)),e}function m(e){var t=e.type,n=e.channelId,r=e.draft,i=e.draftType;if(r){var o;if(n in E||(E[n]={}),(r=h(r))===(null===(o=E[n][i])||void 0===o?void 0:o.draft))return!1;E[n][i]={timestamp:Date.now(),draft:r}}else v(n,i);return"DRAFT_SAVE"===t}function v(e,t){if(!(e in E))return!1;delete E[e][t],r.default.isEmpty(E[e])&&delete E[e]}function T(){if(!(u.default.totalUnavailableGuilds>0))for(var e in E)null==s.default.getChannel(e)&&delete E[e]}function g(e){var t=e.channel.id;return delete E[t],!1}var I=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var o=i.prototype;return o.initialize=function(e){E=e||{},this.waitFor(s.default,u.default)},o.getState=function(){return E},o.getThreadDraftWithParentMessageId=function(e){var t=this,n=Object.keys(this.getState()).find((function(n){var r=t.getThreadSettings(n);return(null==r?void 0:r.parentMessageId)===e}));return n?this.getThreadSettings(n):void 0},o.getRecentlyEditedDrafts=function(e){return(0,r.default)(E).mapValues((function(t){return t[e]})).pickBy(a.isNotNullish).toPairs().map((function(e){var t=e[0],n=e[1];return{channelId:t,timestamp:n.timestamp,draft:n.draft}})).sortBy((function(e){return-e.timestamp})).value()},o.getDraft=function(e,t){if(e in E){var n=E[e][t];if(null!=n)return n.draft}return""},o.getThreadSettings=function(e){return null==E[e]?null:E[e][p.ThreadSettings]},i}(i.default.PersistedStore);I.persistKey="DraftStore",I.migrations=[function(e){if(null==e)return{};for(var t in e){var n;if("timestamp"in e[t])e[t]=((n={})[p.ChannelMessage]=e[t],n)}return e}];var S=new I(o.default,{CONNECTION_OPEN:function(e){return T(),!1},GUILD_DELETE:function(e){return T(),!1},CHANNEL_DELETE:g,THREAD_DELETE:g,THREAD_CREATE:function(e){var t,n=e.channel;if(n.ownerId===(null===(t=l.default.getNullableCurrentUser())||void 0===t?void 0:t.id))return!1;var r=E[n.parent_id];if(null==r)return!1;var i=r[p.ThreadSettings];if(null==i)return!1;if(i.parentMessageId!==n.id)return!1;var o,a,s=E[n.parent_id];if(null==s)return!1;var u,c=null!==(o=null===(a=s[p.FirstThreadMessage])||void 0===a?void 0:a.draft)&&void 0!==o?o:"";""!==c&&(E[n.id]=((u={})[p.ChannelMessage]={timestamp:Date.now(),draft:c},u)),v(n.parent_id,p.ThreadSettings),v(n.parent_id,p.FirstThreadMessage)},THREAD_SIDEBAR_CLOSE:function(e){var t=e.parentChannelId;v(t,p.ThreadSettings),v(t,p.FirstThreadMessage)},DRAFT_SAVE:m,DRAFT_CHANGE:m,DRAFT_CLEAR:function(e){return v(e.channelId,e.draftType)},THREAD_SETTINGS_DRAFT_CHANGE:function(e){var t=e.channelId,n=e.draft;t in E||(E[t]={}),E[t][p.ThreadSettings]=_({timestamp:Date.now()},E[t][p.ThreadSettings],{},n,{parentChannelId:t})}});t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);var a={updateChannelDimensions:function(e,t,n,r,a){i.default.wait((function(){i.default.dispatch({type:o.ActionTypes.UPDATE_CHANNEL_DIMENSIONS,channelId:e,scrollTop:t,scrollHeight:n,offsetHeight:r}),null!=a&&a()}))},updateChannelListScroll:function(e,t){i.default.dirtyDispatch({type:o.ActionTypes.UPDATE_CHANNEL_LIST_DIMENSIONS,guildId:e,scrollTop:t})},channelListScrollTo:function(e,t){i.default.dirtyDispatch({type:o.ActionTypes.UPDATE_CHANNEL_LIST_DIMENSIONS,guildId:e,scrollTo:t})},clearChannelListScrollTo:function(e){i.default.dirtyDispatch({type:o.ActionTypes.UPDATE_CHANNEL_LIST_DIMENSIONS,guildId:e,scrollTo:null})},clearChannelDimensions:function(e,t){this.updateChannelDimensions(e,null,null,null,t)},updateGuildListScrollTo:function(e){i.default.dirtyDispatch({type:o.ActionTypes.UPDATE_GUILD_LIST_DIMENSIONS,scrollTop:e})}};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n)}(n(0));var r,i=a(n(9)),o=a(n(5793));function a(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function l(e){var t=e.children,n=e.tag,r=e.className;return u(n=null!=n?n:"h3",{className:(0,i.default)(o.default.title,r)},void 0,t)}l.displayName="ContentHeader"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showAppDownloadModal=function(e){s.trackExposure({});var t=s.getCurrentConfig({}),n=t.showNewModal,a=t.showQrCode,u=t.showAllPlatforms;n?r.default.push(o.default,{source:e,showQrCode:a,showAllPlatforms:u}):r.default.push(i.default,{source:e})},t.experiment=void 0;var r=a(n(397)),i=a(n(491)),o=a(n(5650));function a(e){return e&&e.__esModule?e:{default:e}}var s=(0,n(50).createExperiment)({kind:"user",id:"2021-06_app_install_modal_redesign",label:"Show redesigned app install modal",defaultConfig:{showNewModal:!1,showQrCode:!1,showAllPlatforms:!1},treatments:[{id:1,label:"Show redesigned modal without qr code",config:{showNewModal:!0,showQrCode:!1,showAllPlatforms:!1}},{id:2,label:"Show redesigned modal with all platform buttons",config:{showNewModal:!0,showQrCode:!1,showAllPlatforms:!0}}]});t.experiment=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getChannelPermissionSpecMap=function(e,t){var n;return(n={})[s.Permissions.VIEW_CHANNEL.toString()]={title:e===s.ChannelTypes.GUILD_CATEGORY?u.default.Messages.ROLE_PERMISSIONS_VIEW_CHANNEL:u.default.Messages.VIEW_CHANNEL,description:function(){if(t)switch(e){case s.ChannelTypes.GUILD_CATEGORY:return u.default.Messages.ROLE_PERMISSIONS_VIEW_CHANNEL_DESCRIPTION_CATEGORY_EVERYONE;case s.ChannelTypes.GUILD_VOICE:case s.ChannelTypes.GUILD_STAGE_VOICE:return u.default.Messages.ROLE_PERMISSIONS_VIEW_CHANNEL_DESCRIPTION_VOICE_EVERYONE;default:return u.default.Messages.ROLE_PERMISSIONS_VIEW_CHANNEL_DESCRIPTION_TEXT_EVERYONE}return e===s.ChannelTypes.GUILD_CATEGORY?u.default.Messages.ROLE_PERMISSIONS_VIEW_CHANNEL_DESCRIPTION_CATEGORY:u.default.Messages.ROLE_PERMISSIONS_VIEW_CHANNEL_DESCRIPTION_CHANNEL}(),flag:s.Permissions.VIEW_CHANNEL},n[s.Permissions.MANAGE_CHANNELS.toString()]={title:e===s.ChannelTypes.GUILD_CATEGORY?u.default.Messages.MANAGE_CHANNELS:u.default.Messages.MANAGE_CHANNEL,description:function(){switch(e){case s.ChannelTypes.GUILD_CATEGORY:return u.default.Messages.ROLE_PERMISSIONS_MANAGE_CHANNEL_DESCRIPTION_CATEGORY;case s.ChannelTypes.GUILD_VOICE:return u.default.Messages.ROLE_PERMISSIONS_MANAGE_CHANNEL_DESCRIPTION_VOICE;case s.ChannelTypes.GUILD_STAGE_VOICE:return u.default.Messages.ROLE_PERMISSIONS_MANAGE_CHANNEL_DESCRIPTION_STAGE;default:return u.default.Messages.ROLE_PERMISSIONS_MANAGE_CHANNEL_DESCRIPTION_TEXT}}(),flag:s.Permissions.MANAGE_CHANNELS},n[s.Permissions.MANAGE_ROLES.toString()]={title:u.default.Messages.MANAGE_PERMISSIONS,description:function(){switch(e){case s.ChannelTypes.GUILD_CATEGORY:return u.default.Messages.ROLE_PERMISSIONS_MANAGE_ROLES_DESCRIPTION_CATEGORY;case s.ChannelTypes.GUILD_STAGE_VOICE:return u.default.Messages.ROLE_PERMISSIONS_MANAGE_ROLES_DESCRIPTION_STAGE;default:return u.default.Messages.ROLE_PERMISSIONS_MANAGE_ROLES_DESCRIPTION_CHANNEL}}(),flag:s.Permissions.MANAGE_ROLES},n[s.Permissions.MANAGE_WEBHOOKS.toString()]={title:u.default.Messages.MANAGE_WEBHOOKS,description:e===s.ChannelTypes.GUILD_CATEGORY?u.default.Messages.ROLE_PERMISSIONS_MANAGE_WEBHOOKS_DESCRIPTION_CATEGORY:u.default.Messages.ROLE_PERMISSIONS_MANAGE_WEBHOOKS_DESCRIPTION_CHANNEL,flag:s.Permissions.MANAGE_WEBHOOKS},n[s.Permissions.CREATE_INSTANT_INVITE.toString()]={title:u.default.Messages.CREATE_INSTANT_INVITE,description:function(){switch(e){case s.ChannelTypes.GUILD_CATEGORY:return u.default.Messages.ROLE_PERMISSIONS_CREATE_INSTANT_INVITE_DESCRIPTION_CATEGORY;case s.ChannelTypes.GUILD_VOICE:case s.ChannelTypes.GUILD_STAGE_VOICE:return u.default.Messages.ROLE_PERMISSIONS_CREATE_INSTANT_INVITE_DESCRIPTION_VOICE;default:return u.default.Messages.ROLE_PERMISSIONS_CREATE_INSTANT_INVITE_DESCRIPTION_TEXT}}(),flag:s.Permissions.CREATE_INSTANT_INVITE},n[s.Permissions.SEND_MESSAGES.toString()]={title:u.default.Messages.SEND_MESSAGES,description:function(){switch(e){case s.ChannelTypes.GUILD_CATEGORY:return u.default.Messages.ROLE_PERMISSIONS_SEND_MESSAGES_DESCRIPTION_CATEGORY;case s.ChannelTypes.GUILD_ANNOUNCEMENT:return u.default.Messages.ROLE_PERMISSIONS_SEND_MESSAGES_DESCRIPTION_ANNOUNCEMENT.format({articleURL:a.default.getArticleURL(s.HelpdeskArticles.ANNOUNCEMENT_CHANNELS)});default:return u.default.Messages.ROLE_PERMISSIONS_SEND_MESSAGES_DESCRIPTION_TEXT}}(),flag:s.Permissions.SEND_MESSAGES},n[s.Permissions.EMBED_LINKS.toString()]={title:u.default.Messages.EMBED_LINKS,description:e===s.ChannelTypes.GUILD_CATEGORY?u.default.Messages.ROLE_PERMISSIONS_EMBED_LINKS_DESCRIPTION_CATEGORY:u.default.Messages.ROLE_PERMISSIONS_EMBED_LINKS_DESCRIPTION_TEXT,flag:s.Permissions.EMBED_LINKS},n[s.Permissions.ATTACH_FILES.toString()]={title:u.default.Messages.ATTACH_FILES,description:e===s.ChannelTypes.GUILD_CATEGORY?u.default.Messages.ROLE_PERMISSIONS_ATTACH_FILES_DESCRIPTION_CATEGORY:u.default.Messages.ROLE_PERMISSIONS_ATTACH_FILES_DESCRIPTION_TEXT,flag:s.Permissions.ATTACH_FILES},n[s.Permissions.ADD_REACTIONS.toString()]={title:u.default.Messages.ADD_REACTIONS,description:e===s.ChannelTypes.GUILD_CATEGORY?u.default.Messages.ROLE_PERMISSIONS_ADD_REACTIONS_DESCRIPTION_CATEGORY:u.default.Messages.ROLE_PERMISSIONS_ADD_REACTIONS_DESCRIPTION_TEXT,flag:s.Permissions.ADD_REACTIONS},n[s.Permissions.USE_EXTERNAL_EMOJIS.toString()]={title:u.default.Messages.ROLE_PERMISSIONS_USE_EXTERNAL_EMOJIS,description:e===s.ChannelTypes.GUILD_CATEGORY?u.default.Messages.ROLE_PERMISSIONS_USE_EXTERNAL_EMOJIS_DESCRIPTION_CATEGORY:u.default.Messages.ROLE_PERMISSIONS_USE_EXTERNAL_EMOJIS_DESCRIPTION_TEXT,flag:s.Permissions.USE_EXTERNAL_EMOJIS},n[s.Permissions.MENTION_EVERYONE.toString()]={title:u.default.Messages.MENTION_EVERYONE,description:e===s.ChannelTypes.GUILD_CATEGORY?u.default.Messages.ROLE_PERMISSIONS_MENTION_EVERYONE_DESCRIPTION_CATEGORY:u.default.Messages.ROLE_PERMISSIONS_MENTION_EVERYONE_DESCRIPTION_TEXT,flag:s.Permissions.MENTION_EVERYONE},n[s.Permissions.MANAGE_MESSAGES.toString()]={title:u.default.Messages.MANAGE_MESSAGES,description:function(){switch(e){case s.ChannelTypes.GUILD_CATEGORY:return u.default.Messages.ROLE_PERMISSIONS_MANAGE_MESSAGES_DESCRIPTION_CATEGORY;case s.ChannelTypes.GUILD_ANNOUNCEMENT:return u.default.Messages.ROLE_PERMISSIONS_MANAGE_MESSAGES_DESCRIPTION_ANNOUNCEMENT.format({articleURL:a.default.getArticleURL(s.HelpdeskArticles.ANNOUNCEMENT_CHANNELS)});default:return u.default.Messages.ROLE_PERMISSIONS_MANAGE_MESSAGES_DESCRIPTION_TEXT}}(),flag:s.Permissions.MANAGE_MESSAGES},n[s.Permissions.READ_MESSAGE_HISTORY.toString()]={title:u.default.Messages.READ_MESSAGE_HISTORY,description:e===s.ChannelTypes.GUILD_CATEGORY?u.default.Messages.ROLE_PERMISSIONS_READ_MESSAGE_HISTORY_DESCRIPTION_CATEGORY:u.default.Messages.ROLE_PERMISSIONS_READ_MESSAGE_HISTORY_DESCRIPTION_TEXT,flag:s.Permissions.READ_MESSAGE_HISTORY},n[s.Permissions.SEND_TTS_MESSAGES.toString()]={title:u.default.Messages.ROLE_PERMISSIONS_SEND_TTS_MESSAGES,description:e===s.ChannelTypes.GUILD_CATEGORY?u.default.Messages.ROLE_PERMISSIONS_SEND_TTS_MESSAGES_DESCRIPTION_CATEGORY:u.default.Messages.ROLE_PERMISSIONS_SEND_TTS_MESSAGES_DESCRIPTION_TEXT,flag:s.Permissions.SEND_TTS_MESSAGES},n[s.Permissions.USE_APPLICATION_COMMANDS.toString()]={title:u.default.Messages.ROLE_PERMISSIONS_USE_APPLICATION_COMMANDS,description:e===s.ChannelTypes.GUILD_CATEGORY?u.default.Messages.ROLE_PERMISSIONS_USE_APPLICATION_COMMANDS_DESCRIPTION_CATEGORY:u.default.Messages.ROLE_PERMISSIONS_USE_APPLICATION_COMMANDS_DESCRIPTION_TEXT,flag:s.Permissions.USE_APPLICATION_COMMANDS},n[s.Permissions.CONNECT.toString()]={title:u.default.Messages.CONNECT,description:function(){if(t)switch(e){case s.ChannelTypes.GUILD_CATEGORY:return u.default.Messages.ROLE_PERMISSIONS_CONNECT_DESCRIPTION_CATEGORY_EVERYONE;case s.ChannelTypes.GUILD_STAGE_VOICE:return u.default.Messages.ROLE_PERMISSIONS_CONNECT_DESCRIPTION_STAGE_EVERYONE;default:return u.default.Messages.ROLE_PERMISSIONS_CONNECT_DESCRIPTION_VOICE_EVERYONE}switch(e){case s.ChannelTypes.GUILD_CATEGORY:return u.default.Messages.ROLE_PERMISSIONS_CONNECT_DESCRIPTION_CATEGORY;case s.ChannelTypes.GUILD_STAGE_VOICE:return u.default.Messages.ROLE_PERMISSIONS_CONNECT_DESCRIPTION_STAGE;default:return u.default.Messages.ROLE_PERMISSIONS_CONNECT_DESCRIPTION_VOICE}}(),flag:s.Permissions.CONNECT},n[s.Permissions.SPEAK.toString()]={title:u.default.Messages.SPEAK,description:function(){switch(e){case s.ChannelTypes.GUILD_CATEGORY:return u.default.Messages.ROLE_PERMISSIONS_SPEAK_DESCRIPTION_CATEGORY;case s.ChannelTypes.GUILD_STAGE_VOICE:return u.default.Messages.ROLE_PERMISSIONS_SPEAK_DESCRIPTION_STAGE;default:return u.default.Messages.ROLE_PERMISSIONS_SPEAK_DESCRIPTION_VOICE}}(),flag:s.Permissions.SPEAK},n[s.Permissions.STREAM.toString()]={title:u.default.Messages.VIDEO,description:e===s.ChannelTypes.GUILD_CATEGORY?u.default.Messages.ROLE_PERMISSIONS_STREAM_DESCRIPTION_CATEGORY:u.default.Messages.ROLE_PERMISSIONS_STREAM_DESCRIPTION_VOICE,flag:s.Permissions.STREAM},n[s.Permissions.USE_VAD.toString()]={title:u.default.Messages.USE_VAD,description:function(){switch(e){case s.ChannelTypes.GUILD_CATEGORY:return u.default.Messages.ROLE_PERMISSIONS_USE_VAD_DESCRIPTION_CATEGORY;case s.ChannelTypes.GUILD_STAGE_VOICE:return u.default.Messages.ROLE_PERMISSIONS_USE_VAD_DESCRIPTION_STAGE;default:return u.default.Messages.ROLE_PERMISSIONS_USE_VAD_DESCRIPTION_VOICE}}(),flag:s.Permissions.USE_VAD},n[s.Permissions.PRIORITY_SPEAKER.toString()]={title:u.default.Messages.PRIORITY_SPEAKER,description:(r={keybind:u.default.Messages.KEYBIND_PUSH_TO_TALK_PRIORITY,onClick:function(){o.default.open(s.UserSettingsSections.KEYBINDS)}},e===s.ChannelTypes.GUILD_CATEGORY?u.default.Messages.ROLE_PERMISSIONS_PRIORITY_SPEAKER_DESCRIPTION_CATEGORY.format(r):u.default.Messages.ROLE_PERMISSIONS_PRIORITY_SPEAKER_DESCRIPTION_VOICE.format(r)),flag:s.Permissions.PRIORITY_SPEAKER},n[s.Permissions.MUTE_MEMBERS.toString()]={title:u.default.Messages.MUTE_MEMBERS,description:function(){switch(e){case s.ChannelTypes.GUILD_CATEGORY:return u.default.Messages.ROLE_PERMISSIONS_MUTE_MEMBERS_DESCRIPTION_CATEGORY;case s.ChannelTypes.GUILD_STAGE_VOICE:return u.default.Messages.ROLE_PERMISSIONS_MUTE_MEMBERS_DESCRIPTION_STAGE;default:return u.default.Messages.ROLE_PERMISSIONS_MUTE_MEMBERS_DESCRIPTION_VOICE}}(),flag:s.Permissions.MUTE_MEMBERS},n[s.Permissions.DEAFEN_MEMBERS.toString()]={title:u.default.Messages.DEAFEN_MEMBERS,description:e===s.ChannelTypes.GUILD_CATEGORY?u.default.Messages.ROLE_PERMISSIONS_DEAFEN_MEMBERS_DESCRIPTION_CATEGORY:u.default.Messages.ROLE_PERMISSIONS_DEAFEN_MEMBERS_DESCRIPTION_VOICE,flag:s.Permissions.DEAFEN_MEMBERS},n[s.Permissions.MOVE_MEMBERS.toString()]={title:u.default.Messages.MOVE_MEMBERS,description:function(){switch(e){case s.ChannelTypes.GUILD_CATEGORY:return u.default.Messages.ROLE_PERMISSIONS_MOVE_MEMBERS_DESCRIPTION_CATEGORY;case s.ChannelTypes.GUILD_STAGE_VOICE:return u.default.Messages.ROLE_PERMISSIONS_MOVE_MEMBERS_DESCRIPTION_STAGE;default:return u.default.Messages.ROLE_PERMISSIONS_MOVE_MEMBERS_DESCRIPTION_VOICE}}(),flag:s.Permissions.MOVE_MEMBERS},n[s.Permissions.REQUEST_TO_SPEAK.toString()]={title:u.default.Messages.REQUEST_TO_SPEAK,description:e===s.ChannelTypes.GUILD_CATEGORY?u.default.Messages.ROLE_PERMISSIONS_REQUEST_TO_SPEAK_DESCRIPTION_CATEGORY:u.default.Messages.ROLE_PERMISSIONS_REQUEST_TO_SPEAK_DESCRIPTION_STAGE,flag:s.Permissions.REQUEST_TO_SPEAK},n[s.Permissions.MANAGE_THREADS.toString()]={title:u.default.Messages.MANAGE_THREADS,description:e===s.ChannelTypes.GUILD_CATEGORY?u.default.Messages.ROLE_PERMISSIONS_MANAGE_THREADS_DESCRIPTION_CATEGORY:u.default.Messages.ROLE_PERMISSIONS_MANAGE_THREADS_DESCRIPTION_TEXT,flag:s.Permissions.MANAGE_THREADS},n[s.Permissions.USE_PUBLIC_THREADS.toString()]={title:u.default.Messages.USE_PUBLIC_THREADS,description:e===s.ChannelTypes.GUILD_CATEGORY?u.default.Messages.ROLE_PERMISSIONS_USE_PUBLIC_THREADS_DESCRIPTION_CATEGORY:u.default.Messages.ROLE_PERMISSIONS_USE_PUBLIC_THREADS_DESCRIPTION_TEXT,flag:s.Permissions.USE_PUBLIC_THREADS},n[s.Permissions.USE_PRIVATE_THREADS.toString()]={title:u.default.Messages.USE_PRIVATE_THREADS,description:e===s.ChannelTypes.GUILD_CATEGORY?u.default.Messages.ROLE_PERMISSIONS_USE_PRIVATE_THREADS_DESCRIPTION_CATEGORY:u.default.Messages.ROLE_PERMISSIONS_USE_PRIVATE_THREADS_DESCRIPTION_TEXT,flag:s.Permissions.USE_PRIVATE_THREADS},n;var r},t.SettingMode=t.TrackExposureLocations=t.ADVANCED_MODE_ON_KEY=t.MEMBER_REQUEST_COUNT=t.AddMembersSections=t.RowType=void 0;var r,i,o=l(n(473)),a=l(n(93)),s=n(1),u=l(n(6));function l(e){return e&&e.__esModule?e:{default:e}}t.RowType=r,function(e){e[e.EMPTY_STATE=0]="EMPTY_STATE",e[e.ADMINISTRATOR=1]="ADMINISTRATOR",e[e.ROLE=2]="ROLE",e[e.OWNER=3]="OWNER",e[e.MEMBER=4]="MEMBER"}(r||(t.RowType=r={})),t.AddMembersSections=i,function(e){e[e.ROLES=0]="ROLES",e[e.MEMBERS=1]="MEMBERS"}(i||(t.AddMembersSections=i={}));t.MEMBER_REQUEST_COUNT=20;var c,d;t.ADVANCED_MODE_ON_KEY="channelPermissionSettingsAdvancedModeOn",t.TrackExposureLocations=c,function(e){e.SETTINGS_PAGE="settings-page",e.MEMBERS_LIST="members-list",e.EMPTY_STATE="empty-state",e.CREATE_CHANNEL="create-channel"}(c||(t.TrackExposureLocations=c={})),t.SettingMode=d,function(e){e.BASIC="basic",e.ADVANCED="advanced"}(d||(t.SettingMode=d={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FullScreenLayers=g,t.openFullScreenLayer=function(e,t){void 0===t&&(t=Object.freeze({}));var n=t,r=n.layerKey,i=n.Layer,a=null!=r?r:(0,o.default)();return v.setState((function(t){return{fullScreenLayers:[].concat(t.fullScreenLayers,[{key:a,transitionState:h.ENTERING,LayerComponent:null!=i?i:c.default,render:e}])}})),a},t.closeFullScreenLayer=I,t.useFullScreenLayerStore=t.TransitionStates=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(188)),a=n(5669),s=f(n(251)),u=n(721),l=n(139),c=f(n(165)),d=f(n(5814));function f(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}function E(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var h,m=(0,l.cssValueToNumber)(d.default.animationDuration);t.TransitionStates=h,function(e){e[e.ENTERING=1]="ENTERING",e[e.ENTERED=2]="ENTERED",e[e.EXITING=3]="EXITING",e[e.EXITED=4]="EXITED"}(h||(t.TransitionStates=h={}));var v=(0,s.default)((function(e){return{fullScreenLayers:[],addLayer:function(t){return e((function(e){var n=e.fullScreenLayers;return{fullScreenLayers:[].concat(n,[t])}}))}}}));function T(e){var t=e.item,n=i.useRef(null);return(0,u.useFocusLock)(n),E(t.LayerComponent,{},void 0,i.createElement("div",{className:d.default.root,ref:n},t.render({transitionState:null!=t?t.transitionState:h.EXITING,closeLayer:function(){return I(t.key)}})))}function g(){var e=v((function(e){return e.fullScreenLayers}));return E(a.TransitionGroup,{},void 0,e.map((function(t){return E(a.CSSTransition,{classNames:{enter:d.default.enter,enterActive:d.default.enterActive,enterDone:d.default.enterDone,exit:d.default.exit,exitActive:d.default.exitActive,exitDone:d.default.exitDone},timeout:m,onEntered:function(){v.setState({fullScreenLayers:e.map((function(e){return e.key===t.key?p({},e,{transitionState:h.ENTERED}):e}))})},unmountOnExit:!0},t.key,E(T,{item:t}))})))}function I(e){v.setState((function(t){return{fullScreenLayers:t.fullScreenLayers.filter((function(t){return t.key!==e}))}}))}t.useFullScreenLayerStore=v,T.displayName="Layer",g.displayName="FullScreenLayers"},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connectOrLurkStage=function(e,t,n){void 0===n&&(n=!1);return new Promise(function(){var i,u=(i=regeneratorRuntime.mark((function i(u){var l;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(null==(l=a.default.getChannel(t))){i.next=4;break}return m(l,n),i.abrupt("return",u(l));case 4:return i.next=6,(0,o.stopLurkingAll)([e]);case 6:return i.next=8,r.default.joinGuild(e,!0);case 8:s.default.addConditionalChangeListener((function(){var e=a.default.getChannel(t);return null==e||(m(e),_.default.initialize(),u(e),!1)}));case 9:case"end":return i.stop()}}),i)})),function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){h(o,n,r,a,s,"next",e)}function s(e){h(o,n,r,a,s,"throw",e)}a(void 0)}))});return function(e){return u.apply(this,arguments)}}())},t.connectToStage=m,t.connectAndOpen=v,t.navigateToStage=T,t.showUserProfile=function(e){c.showPlatformUserProfile(e)};var r=E(n(199)),i=E(n(132)),o=n(451),a=E(n(10)),s=E(n(15)),u=E(n(40)),l=E(n(36)),c=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(748)),d=E(n(5434)),f=n(203),_=E(n(5436));function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function E(e){return e&&e.__esModule?e:{default:e}}function h(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function m(e,t){void 0===t&&(t=!1);var n=l.default.getVoiceChannelId();return!(!t&&!function(e,t){return!!u.default.can(f.JOIN_VOCAL_CHANNEL_PERMISSIONS,e)&&(!c.shouldShowBlockedUsers(e.id)||t===e.id||(c.openStageBlockedUsersSheet(e,(function(){return v(e,!0)})),!1))}(e,n))&&(d.default.initialize(),i.default.selectVoiceChannel(e.id),!0)}function v(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=l.default.getVoiceChannelId();m(e,t)&&T(e,r,n)}function T(e,t,n){void 0===n&&(n=!0),c.navigateToStage(e,t,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinRequestFromServer=_,t.default=void 0;var r=s(n(3)),i=s(n(2)),o=s(n(162)),a=s(n(12));n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c={},d=!1,f={};function _(e){return{guildId:e.guild_id,userId:e.user_id,user:e.user,createdAt:e.created_at,formResponses:e.form_responses,rejectionReason:e.rejection_reason,applicationStatus:e.application_status,actionedAt:e.actioned_at,actionedByUser:e.actioned_by_user,lastSeen:e.last_seen}}function p(e){var t=e.guildId,n=e.request;if(null!=n){var r=_(n),i=a.default.getCurrentUser();if(r.userId!==i.id)return!1;c[t]=r}}var E=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var i,a,s,_=r.prototype;return _.getRequest=function(e){return c[e]},_.computeGuildIds=function(){return Object.values(c).map((function(e){return null==e?void 0:e.guildId})).filter((function(e){return null!=e}))},_.getJoinRequestGuild=function(e){return null!=f[e]?new o.default(f[e]):null},i=r,(a=[{key:"hasFetchedRequestToJoinGuilds",get:function(){return d}}])&&u(i.prototype,a),s&&u(i,s),r}(r.default.Store))(i.default,{CONNECTION_OPEN:function(e){var t=e.guildJoinRequests;d=!1,f={},c={},t.forEach((function(e){var t=e.guild_id;null!=t&&(c[t]=_(e))}))},GUILD_JOIN_REQUEST_UPDATE:p,GUILD_JOIN_REQUEST_CREATE:p,USER_GUILD_JOIN_REQUEST_UPDATE:function(e){var t=e.request,n=e.guildId;null==t?delete c[n]:c[n]=_(t)},GUILD_DELETE:function(e){var t=e.guild;delete c[t.id]},USER_JOIN_REQUEST_GUILDS_FETCH:function(e){var t=e.guilds;d=!0,t.forEach((function(e){var t=e.id,n=e.name,r=e.features,i=e.icon;f[t]={id:t,name:n,features:r,icon:i}}))},MEMBER_VERIFICATION_FORM_UPDATE:function(e){var t=e.form,n=e.guildId;if(null!=(null==t?void 0:t.guild)){var r=t.guild,i=r.id,o=r.name,a=r.icon,s=r.features;f[n]={id:i,name:o,icon:a,features:null!=s?s:[]}}},INVITE_ACCEPT_SUCCESS:function(e){var t=e.invite,n=t.guild,r=t.join_request;if(null!=n&&null!=r){var i=r.guild_id;c[i]=_(r);var o=n.id,a=n.name,s=n.icon,u=n.features;f[o]={id:o,name:a,icon:s,features:null!=u?u:[]}}},ACK_APPROVED_GUILD_JOIN_REQUEST:function(e){var t=e.guildId;delete c[t]}});t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(14)),i=d(n(2)),o=d(n(106)),a=d(n(1216)),s=d(n(10)),u=d(n(391)),l=d(n(390)),c=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}var _={updateActivity:function(e,t,n,o,a,s){void 0===o&&(o=null),void 0===a&&(a=0),void 0===s&&(s=!1),i.default.wait((function(){return i.default.dispatch({type:c.ActionTypes.ACTIVITY_UPDATE_START,applicationId:e,duration:a,distributor:t})})),r.default.post({url:c.Endpoints.ACTIVITIES,body:{application_id:e,token:o,duration:a,share_activity:n,distributor:t,closed:s},retries:1,oldFormErrors:!0}).then((function(n){var r=n.body.token;i.default.dispatch({type:c.ActionTypes.ACTIVITY_UPDATE_SUCCESS,applicationId:e,token:r,duration:a,distributor:t})})).catch((function(){i.default.dispatch({type:c.ActionTypes.ACTIVITY_UPDATE_FAIL,applicationId:e})}))},sendActivityInvite:function(e){var t=e.channelId,n=e.type,r=e.activity,i=e.content,u=e.location,d=s.default.getChannel(t);if(null==d)return Promise.resolve(null);var f=a.default.parse(d,i||"");return l.default.sendMessage(d.id,f,!1,{activityAction:{type:n,activity:r}}).then((function(e){return o.default.trackWithMetadata(c.AnalyticEvents.INVITE_SENT,{location:u,invite_type:r.type===c.ActivityTypes.LISTENING?c.InviteTypes.SPOTIFY:c.InviteTypes.APPLICATION,application_id:r.application_id,guild_id:d.getGuildId(),channel_id:d.id,message_id:null!=e?e.body.id:null}),Promise.resolve(d)}),(function(e){return Promise.reject(e)}))},sendActivityInviteUser:function(e){var t=this,n=e.userId,r=e.type,i=e.activity,o=e.content,a=e.location;return u.default.ensurePrivateChannel(n).then((function(e){return t.sendActivityInvite({channelId:e,type:r,activity:i,content:o,location:a})}))},getJoinSecret:function(e,t,n,i,o){return(a=regeneratorRuntime.mark((function a(){var s,u;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return s={},null!=i&&(s.channel_id=i),null!=o&&(s.message_id=o),a.next=5,r.default.get({url:c.Endpoints.USER_ACTIVITY_JOIN(e,t,n),retries:3,query:s});case 5:return u=a.sent,a.abrupt("return",u.body.secret);case 7:case"end":return a.stop()}}),a)})),function(){var e=this,t=arguments;return new Promise((function(n,r){var i=a.apply(e,t);function o(e){f(i,n,r,o,s,"next",e)}function s(e){f(i,n,r,o,s,"throw",e)}o(void 0)}))})();var a}};t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getReactions=function(e,t,n,o,a){return r.default.get({url:_(e,t,n),query:{limit:o,after:a},oldFormErrors:!0}).then((function(r){return i.default.dispatch({type:u.ActionTypes.MESSAGE_REACTION_ADD_USERS,channelId:e,messageId:t,users:r.body,emoji:n}),r.body}))},t.addReaction=function e(t,n,i){f(u.ActionTypes.MESSAGE_REACTION_ADD,t,n,i),r.default.put({url:_(t,n,i,"@me"),oldFormErrors:!0}).catch((function(r){d(r,(function(){return e(t,n,i)}))&&f(u.ActionTypes.MESSAGE_REACTION_REMOVE,t,n,i)}))},t.removeAllReactions=function e(t,n){r.default.delete({url:u.Endpoints.REMOVE_REACTIONS(t,n),oldFormErrors:!0}).catch((function(r){d(r,(function(){return e(t,n)}))}))},t.removeReaction=function e(t,n,i,o){f(u.ActionTypes.MESSAGE_REACTION_REMOVE,t,n,i,o),r.default.delete({url:_(t,n,i,o||"@me"),oldFormErrors:!0}).catch((function(r){d(r,(function(){return e(t,n,i,o)}))&&f(u.ActionTypes.MESSAGE_REACTION_ADD,t,n,i,o)}))};var r=c(n(14)),i=c(n(2)),o=c(n(11)),a=n(121),s=c(n(154)),u=n(1),l=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var n=e.status,r=e.body;if(429===n)return setTimeout(t,1e3*e.body.retry_after),!1;if(403===n)switch(r&&r.code){case u.AbortCodes.TOO_MANY_REACTIONS:s.default.show({title:l.default.Messages.TOO_MANY_REACTIONS_ALERT_HEADER,body:l.default.Messages.TOO_MANY_REACTIONS_ALERT_BODY,confirmText:l.default.Messages.OKAY});break;case u.AbortCodes.REACTION_BLOCKED:a.ComponentDispatch.dispatch(u.ComponentActions.SHAKE_APP,{duration:200,intensity:2})}return!0}function f(e,t,n,r,a){i.default.dispatch({type:e,channelId:t,messageId:n,userId:a||o.default.getId(),emoji:r,optimistic:!0})}function _(e,t,n,r){var i=null!=n.id?n.name+":"+n.id:n.name;return null!=r?u.Endpoints.REACTION(e,t,i,r):u.Endpoints.REACTIONS(e,t,i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?16:t,r=e.height,i=void 0===r?16:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 12 12"}),l("path",{fill:c,className:d,d:"M6 1C3.243 1 1 3.244 1 6c0 2.758 2.243 5 5 5s5-2.242 5-5c0-2.756-2.243-5-5-5zm0 2.376a.625.625 0 110 1.25.625.625 0 010-1.25zM7.5 8.5h-3v-1h1V6H5V5h1a.5.5 0 01.5.5v2h1v1z"}))}c.displayName="InfoFilled"},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),i=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(){return(s=Object.assign||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}).apply(this,arguments)}var u={};function l(){u={}}var c=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n);var i=r.prototype;return i.isOpen=function(e){return null!=u[e]},i.getPopouts=function(){return Object.keys(u).map((function(e){return u[e]}))},r}(r.default.Store))(i.default,{POPOUT_OPEN:function(e){var t=e.popout;t.dependsOn||(u={}),u[t.key]=t},POPOUT_CLOSE:function(e){var t=e.key;if(null!=t)return!!function(e){return u[e]}(t)&&(!function(e){for(var t=0,n=Object.keys(u);t<n.length;t++){var r=n[t];if(u[r].dependsOn===e)return!0}return!1}(t)&&void delete u[t]);u={}},POPOUT_CLOSE_ALL:function(e){return l()},LAYER_PUSH:function(e){return l()},POPOUT_NEEDS_RERENDER:function(e){var t=e.key;u[t]&&(u[t]=s({},u[t],{needsRerender:!0}))},POPOUT_DID_RERENDER:function(e){var t=e.key;u[t]&&(u[t]=s({},u[t],{needsRerender:!1}))},OVERLAY_SET_UI_LOCKED:function(e){var t=e.locked;__OVERLAY__&&t&&l()},OVERLAY_DEACTIVATE_ALL_REGIONS:function(e){__OVERLAY__&&l()}});t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fit=a,t.zoomFit=function(e,t){var n=Math.min(Math.round(.65*window.innerHeight),2e3),r=Math.min(Math.round(.75*window.innerWidth),2e3);return a(e,t,r,n)},t.getRatio=function(e,t,n,r){var i=1;e>n&&(i=n/e);e=Math.round(e*i),t=Math.round(t*i);var o=1;t>r&&(o=r/t);return Math.min(i*o,1)},t.makeCssUrlString=function(e){if(null==e||""===e)return"none";return"url("+e+")"},t.getPalette=u,t.getDominantColor=l,t.getPrimaryColorForAvatar=t.IMAGE_MAX_ZOOM=void 0;var r=o(n(8)),i=o(n(5390));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n,r,i,o){if(void 0===i&&(i=0),void 0===o&&(o=0),e!==n||t!==r){var a=e>n?n/e:1;e=Math.max(Math.round(e*a),i);var s=(t=Math.max(Math.round(t*a),o))>r?r/t:1;e=Math.max(Math.round(e*s),i),t=Math.max(Math.round(t*s),o)}return{width:e,height:t}}t.IMAGE_MAX_ZOOM=2e3;var s=[[0,0,0]];function u(e,t,n){var r=document.createElement("canvas"),o=r.getContext("2d");if(null==o)return s;var a=r.width=e.width,u=r.height=e.height;o.drawImage(e,0,0,a,u);var l=function(e,t,n){for(var r,i,o,a,s,u=[],l=0;l<t;l+=n)i=e[(r=4*l)+0],o=e[r+1],a=e[r+2],(void 0===(s=e[r+3])||s>=125)&&(i>250&&o>250&&a>250||u.push([i,o,a]));return u}(o.getImageData(0,0,a,u).data,a*u,n),c=(0,i.default)(l,t);return"boolean"==typeof c?s:c.palette()}function l(e,t){return void 0===t&&(t=10),u(e,5,t)[0]}var c=r.default.memoize((function(e){return new Promise((function(t,n){var r=new Image;r.crossOrigin="Anonymous",r.onerror=function(e){n(e),r.onerror=r.onload=null,r=null},r.onload=function(){t(l(r)),r.onerror=r.onload=null,r=null},r.src=e}))}));t.getPrimaryColorForAvatar=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?24:t,r=e.height,i=void 0===r?24:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 24 24"}),l("svg",{width:"24",height:"24",viewBox:"0 0 24 24"},void 0,l("path",{d:"M12 2.00305C6.486 2.00305 2 6.48805 2 12.0031V20.0031C2 21.1071 2.895 22.0031 4 22.0031H6C7.104 22.0031 8 21.1071 8 20.0031V17.0031C8 15.8991 7.104 15.0031 6 15.0031H4V12.0031C4 7.59105 7.589 4.00305 12 4.00305C16.411 4.00305 20 7.59105 20 12.0031V15.0031H18C16.896 15.0031 16 15.8991 16 17.0031V20.0031C16 21.1071 16.896 22.0031 18 22.0031H20C21.104 22.0031 22 21.1071 22 20.0031V12.0031C22 6.48805 17.514 2.00305 12 2.00305Z",className:d,fill:c})))}c.displayName="Headset"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(8)),i=f(n(3)),o=f(n(28)),a=f(n(2)),s=f(n(5459)),u=n(698),l=f(n(10)),c=f(n(15)),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p={},E=!1;function h(e){return null==p[e]&&(p[e]={searchId:e,searchType:m(e),isIndexing:!1,isHistoricalIndexing:!1,isSearching:!1,analyticsId:null,editorState:null,offset:0,query:null,hasError:!1,searchFetcher:null,rawResults:null,totalResults:0,documentsIndexed:0,resultsBlocked:0,showBlockedResults:!1,showNoResultsAlt:!1}),p[e]}function m(e){return c.default.getGuild(e)?d.SearchTypes.GUILD:l.default.getChannel(e)?d.SearchTypes.CHANNEL:null}function v(e,t,n){if(void 0===n&&(n=null),null==e)return n;var r=p[e];return null==r?n:t(r)}var T=!1,g={},I=null;function S(e){var t=e.searchId,n=p[t];if(null==n)return!1;null!=n.searchFetcher&&n.searchFetcher.cancel(),delete p[t]}var y=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(c.default,l.default);var e,t=o.default.get("SearchStore");t&&t.history&&(e=t.history,Object.keys(e).forEach((function(t){Array.isArray(e[t])&&(e[t]=e[t].filter((function(e){return"string"==typeof e&&e.trim()}))),Array.isArray(e[t])&&e[t].length||delete e[t]})),g=e),T=!!o.default.get("tokenized")||!1},i.isOpen=function(){return E},i.getCurrentSearchId=function(){return I},i.isActive=function(e){return void 0===e&&(e=I),null!=e&&(this.isIndexing(e)||this.isSearching(e)||this.hasResults(e))},i.isTokenized=function(){return T},i.getSearchType=function(e){return v(e||I,(function(e){return e.searchType}))},i.getRawResults=function(e){return v(e,(function(e){return e.rawResults}))},i.hasResults=function(e){return null!=v(e,(function(e){return e.rawResults}))},i.isIndexing=function(e){return v(e,(function(e){return e.isIndexing}))||!1},i.isHistoricalIndexing=function(e){return v(e,(function(e){return e.isHistoricalIndexing}))||!1},i.isSearching=function(e){return v(e,(function(e){return e.isSearching}))||!1},i.getAnalyticsId=function(e){return v(e,(function(e){return e.analyticsId}))},i.getResultsBlocked=function(e){return v(e,(function(e){return e.resultsBlocked}))},i.getDocumentsIndexedCount=function(e){return v(e,(function(e){return e.documentsIndexed}))},i.getSearchFetcher=function(e){return v(e,(function(e){return e.searchFetcher}))},i.getTotalResults=function(e){return v(e,(function(e){return e.totalResults}))||0},i.getEditorState=function(e){return v(e,(function(e){return e.editorState}))},i.getHistory=function(e){return g[e]},i.getOffset=function(e){return v(e,(function(e){return e.offset}))||0},i.getQuery=function(e){return v(e,(function(e){return e.query}))},i.hasError=function(e){return v(e,(function(e){return e.hasError}))||!1},i.shouldShowBlockedResults=function(e){return v(e,(function(e){return e.showBlockedResults}),!1)||!1},i.shouldShowNoResultsAlt=function(e){return v(e,(function(e){return e.showNoResultsAlt}),!1)||!1},i.getResultsState=function(e){return{isSearching:this.isSearching(e),isIndexing:this.isIndexing(e),isHistoricalIndexing:this.isHistoricalIndexing(e),documentsIndexed:this.getDocumentsIndexedCount(e),offset:this.getOffset(e),totalResults:this.getTotalResults(e),hasError:this.hasError(e),showBlockedResults:this.shouldShowBlockedResults(e),showNoResultsAlt:this.shouldShowNoResultsAlt(e)}},r}(i.default.Store))(a.default,{SEARCH_START:function(e){var t=e.queryString,n=e.searchId,i=e.query,l=h(n);l.searchFetcher&&(l.searchFetcher.cancel(),l.searchFetcher=null);var c=new s.default(n,l.searchType,i);l.searchFetcher=c,l.isSearching=!0,l.rawResults=null,l.analyticsId=null,l.query=r.default.omit(i,"type"),l.offset=i.offset?i.offset:0,l.showBlockedResults=!1,function(e,t){if("string"!=typeof t)return;var n=g[e]=g[e]||[];t=t.trim();var r=n.indexOf(t);-1!==r?(n.splice(r,1),n.unshift(t)):n[0]&&t.startsWith(n[0])?n[0]=t:r<0&&n.unshift(t);n.length>5&&n.splice(5,n.length);o.default.set("SearchStore",{history:g})}(n,t);var f=l.searchType===d.SearchTypes.GUILD?n:null;c.fetch((function(e){var t,r;a.default.dispatch({type:d.ActionTypes.SEARCH_FINISH,searchId:n,guildId:f,analyticsId:e.body.analytics_id,totalResults:e.body.total_results,messages:e.body.messages,threads:null!==(t=e.body.threads)&&void 0!==t?t:[],members:(null!==(r=e.body.members)&&void 0!==r?r:[]).map((function(e){return(0,u.convertServerThreadMember)(e)})),hasError:!1,doingHistoricalIndex:e.body.doing_deep_historical_index,documentsIndexed:e.body.documents_indexed})}),(function(){a.default.dispatch({type:d.ActionTypes.SEARCH_INDEXING,searchId:n})}),(function(){a.default.dispatch({type:d.ActionTypes.SEARCH_FINISH,searchId:n,guildId:f,messages:[],threads:[],members:[],totalResults:0,analyticsId:null,hasError:!0,doingHistoricalIndex:!1,documentsIndexed:0})}))},SEARCH_INDEXING:function(e){var t=h(e.searchId);t.isIndexing=!0,t.isHistoricalIndexing=!0,t.isSearching=!1},SEARCH_FINISH:function(e){var t=h(e.searchId);t.isSearching=!1,t.isIndexing=!1,t.isHistoricalIndexing=e.doingHistoricalIndex||!1,t.searchFetcher=null,t.totalResults=e.totalResults,t.hasError=e.hasError,t.analyticsId=e.analyticsId,t.documentsIndexed=null!=e.documentsIndexed?e.documentsIndexed:0,t.showNoResultsAlt=Math.random()<.05,t.rawResults=e.messages,t.query||(t.hasError=!0)},SEARCH_EDITOR_STATE_CLEAR:S,SEARCH_ENSURE_SEARCH_STATE:function(e){var t=e.searchId;t&&h(t)},SEARCH_EDITOR_STATE_CHANGE:function(e){var t=e.searchId,n=e.editorState;h(t).editorState=n},SEARCH_SET_SHOW_BLOCKED_RESULTS:function(e){var t=e.searchId,n=e.showBlocked;h(t).showBlockedResults=n},CHANNEL_SELECT:function(e){var t=e.guildId,n=e.channelId,r=t||n;if(r===I)return!1;r&&!p[r]&&h(r),I=r},CHANNEL_TOGGLE_MEMBERS_SECTION:function(e){return null!=I&&S({searchId:I})},SEARCH_CLEAR_HISTORY:function(e){var t=e.searchId;null==t?(o.default.remove("SearchStore"),g={}):(delete g[t],o.default.set("SearchStore",{history:g}))},LOGOUT:function(e){return o.default.remove("SearchStore"),void(g={})},CONNECTION_OPEN:function(e){Object.keys(p).forEach((function(e){null!=p[e]&&(p[e].searchType=m(e))}))},SEARCH_MODAL_OPEN:function(e){E=!0},SEARCH_MODAL_CLOSE:function(e){E=!1}});t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SlowmodeType=void 0;var r,i,o=d(n(3)),a=n(57),s=d(n(2)),u=d(n(10)),l=d(n(40)),c=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.SlowmodeType=i,function(e){e[e.SendMessage=0]="SendMessage",e[e.CreateThread=1]="CreateThread"}(i||(t.SlowmodeType=i={}));var E=((r={})[i.SendMessage]={},r[i.CreateThread]={},r);function h(e,t,n){if(function(e,t){E[t][e.id]&&(E[t][e.id].timer.stop(),delete E[t][e.id])}(e,t),!(function(e,t){return t===i.SendMessage?l.default.can(c.Permissions.MANAGE_CHANNELS,e)||l.default.can(c.Permissions.MANAGE_MESSAGES,e):l.default.can(c.Permissions.MANAGE_THREADS,e)}(e,t)||n<=0)){var r=n+Date.now();E[t][e.id]={rateLimitPerUser:e.rateLimitPerUser,cooldownMs:n,cooldownEndTimestamp:r,timer:new a.Timeout},E[t][e.id].timer.start(1e3,(function(){s.default.dispatch({type:c.ActionTypes.SLOWMODE_SET_COOLDOWN,channelId:e.id,slowmodeType:t,cooldownMs:Math.max(r-Date.now(),0)})}),!0)}}function m(e,t){var n=u.default.getChannel(e);if(null==n)return!1;h(n,t,0===n.rateLimitPerUser?0:1e3*n.rateLimitPerUser+c.SLOWMODE_COOLDOWN_BUFFER_MS)}var v=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var o=r.prototype;return o.initialize=function(){this.waitFor(u.default)},o.getSlowmodeCooldownGuess=function(e,t){var n=E[null!=t?t:i.SendMessage][e];return null!=n?n.cooldownMs:0},r}(o.default.Store))(s.default,{SLOWMODE_RESET_COOLDOWN:function(e){return m(e.channelId,e.slowmodeType)},SLOWMODE_SET_COOLDOWN:function(e){var t=e.channelId,n=e.slowmodeType,r=e.cooldownMs,i=u.default.getChannel(t);if(null==i)return!1;h(i,n,0===r?0:r+c.SLOWMODE_COOLDOWN_BUFFER_MS)},UPLOAD_START:function(e){return m(e.channelId,i.SendMessage)},CHANNEL_UPDATES:function(e){var t=e.updates;[i.SendMessage,i.CreateThread].forEach((function(e){for(var n,r=_(t);!(n=r()).done;){var i,o=n.value.channel,a=E[e][o.id],s=o.rateLimitPerUser;if(null!=a&&a.rateLimitPerUser!==s)h(o,e,Math.min(null!==(i=null==a?void 0:a.cooldownMs)&&void 0!==i?i:0,1e3*s))}}))},LOGOUT:function(e){[i.SendMessage,i.CreateThread].forEach((function(e){Object.keys(E[e]).forEach((function(t){return E[e][t].timer.stop()})),E[e]={}}))}});t.default=v},function(e,t,n){var r=n(378),i=n(406);e.exports=function(e,t,n){var o=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:o,maxWait:t,trailing:a})}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(3)),i=a(n(2)),o=n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=new Set,c={};function d(e){var t=e.applicationId;l.add(t)}function f(e){var t=e.applicationId;l.delete(t)}var _=new(function(e){var t,n,r,a,d;function f(){return e.apply(this,arguments)||this}return n=e,(t=f).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n),f.prototype.isLaunchable=function(e){return null!=c[e]?c[e]:(c[e]=!1,i.default.dirtyDispatch({type:o.ActionTypes.CHECK_LAUNCHABLE_GAME,gameId:e}),!1)},r=f,(a=[{key:"launchingGames",get:function(){return l}},{key:"launchableGames",get:function(){return c}}])&&s(r.prototype,a),d&&s(r,d),f}(r.default.Store))(i.default,{GAME_LAUNCHABLE_UPDATE:function(e){var t=e.gameId,n=e.isLaunchable;c[t]=n},GAME_CLOUD_SYNC_START:d,GAME_LAUNCH_START:d,GAME_LAUNCH_SUCCESS:f,GAME_LAUNCH_FAIL:f,GAME_CLOUD_SYNC_CONFLICT:f,GAME_CLOUD_SYNC_ERROR:f,GAME_CLOUD_SYNC_COMPLETE:f});t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFocusJumpSection=l,t.FocusJumpSection=function(e){var t=l();return e.children(t)},t.FocusJumpSectionContainer=c,t.useFocusJumpSectionManager=function(e){i.useEffect((function(){if(e)return window.addEventListener("keydown",d),function(){window.removeEventListener("keydown",d)}}),[e])},t.FocusJumpSectionContext=t.FOCUS_SECTION_GLOBAL_NAME=t.FOCUS_SECTION_DATA_ATTRIBUTE=t.FOCUS_SECTION_JUMP_KEY=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(424);function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}t.FOCUS_SECTION_JUMP_KEY="F6";t.FOCUS_SECTION_DATA_ATTRIBUTE="data-jump-section";t.FOCUS_SECTION_GLOBAL_NAME="global";var u=i.createContext("global");function l(){var e=i.useContext(u);return i.useMemo((function(){var t;return(t={})["data-jump-section"]=e,t}),[e])}function c(e){var t=e.name,n=e.children;return s(u.Provider,{value:t},void 0,n)}function d(e){if("F6"===e.key){for(var t=null,n=null,r=e.target;null!=r;){if(r.hasAttribute("data-jump-section")){t=r.getAttribute("data-jump-section"),n=r;break}r=r.parentElement}var i,a,s,u=(0,o.createFocusManager)({getFocusableElements:function(){var e;return Array.from(document.querySelectorAll('[data-jump-section="'+(null!==(e=t)&&void 0!==e?e:"global")+'"]'))}});if(null!=document.activeElement&&null!=n)if(e.getModifierState("Shift"))null===(i=u.getPreviousFocusableElement({wrap:!0,from:n}))||void 0===i||i.focus();else null===(a=u.getNextFocusableElement({wrap:!0,from:n}))||void 0===a||a.focus();else null===(s=u.getFirstFocusableElement())||void 0===s||s.focus()}}t.FocusJumpSectionContext=u,c.displayName="FocusJumpSectionContainer"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSoundForPack=function(e,t,n){var r;void 0===n&&(n=1);var i=(0,o.default)(t);return u(null!==(r=i[e])&&void 0!==r?r:e,n)},t.createSound=u,t.playSound=function(e,t){var n;void 0===t&&(t=1);if(a.default.disableSounds)return;var r=(0,o.default)(i.default.getSoundpack());u(null!==(n=r[e])&&void 0!==n?n:e,t).play()};var r,i=s(n(1299)),o=s(n(5560)),a=s(n(160));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return void 0===t&&(t=1),new r(e,t)}r=n(5561).WebAudioSound},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(__OVERLAY__){var n=t.getGame(),i=(0,r.getPID)();return null==n||null==i?null:{id:n.id,pid:i,pidPath:[],nativeProcessObserverId:0,hidden:!1,elevated:!1,name:n.name,lastFocused:0,exePath:"",exeName:"",cmdLine:"",processName:"",distributor:null,windowHandle:null}}return e.getVisibleGame()};var r=n(265)},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.upperCaseFirstChar=function(e){if(null==e)return"";return""+e.charAt(0).toUpperCase()+e.slice(1)},t.getAcronym=function(e){return null!=e?e.replace(/'s /g," ").replace(/\w+/g,(function(e){return e[0]})).replace(/\s/g,""):""},t.cssValueToNumber=function(e){var t=parseInt(e,10);return isNaN(t)?0:t},t.stripDiacritics=void 0;var r=/[\u0300-\u036f]/g;var i=null==String.prototype.normalize?function(e){return e}:function(e){return e.normalize("NFD").replace(r,"").normalize("NFC")};t.stripDiacritics=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),a=n(122),s=u(n(5736));function u(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function f(){return(f=Object.assign||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}).apply(this,arguments)}function _(){return document.hasFocus()}var p={config:{friction:50,tension:900,mass:1},unique:!0,initial:{dotPosition:1},from:{dotPosition:0},enter:{dotPosition:1},leave:{dotPosition:0}},E={config:{duration:2400},from:{dotCycle:2.8},reset:!0};function h(e){var t=e%2;return t>1?1-(t-1):t}var m=i.memo((function(e){var t=e.dotRadius,n=e.dotPosition,r=i.useRef(_()),o=i.useRef(!0);i.useEffect((function(){return function(){o.current=!1}}),[]);var s=(0,a.useSpring)((function(){return f({},E,{to:(e=regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=2.8;case 1:if(o.current){e.next=4;break}return e.abrupt("break",21);case 4:if(r.current=_(),r.current){e.next=16;break}if(2.8===n){e.next=12;break}return n=2.8,e.next=10,t({dotCycle:n,immediate:!0});case 10:e.next=14;break;case 12:return e.next=14,new Promise((function(e){return setTimeout(e,1e3)}));case 14:e.next=19;break;case 16:return n+=4,e.next=19,t({dotCycle:n,immediate:!1});case 19:e.next=1;break;case 21:case"end":return e.stop()}}),e)})),t=function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){d(o,r,i,a,s,"next",e)}function s(e){d(o,r,i,a,s,"throw",e)}a(void 0)}))},function(e){return t.apply(this,arguments)})});var e,t}))[0],u=(2*t*3+t/4*2)/2;return[0,1,2].map((function(e){var i=.25*e,o=t+e*(2.5*t);return c(a.animated.circle,{cx:n.to([0,1],[u,o]),cy:t,r:s.dotCycle.to((function(e){return h(e-i)})).to([0,.4,.8,1],[.8*t,.8*t,t,t]).to((function(e){return r.current?e:t})),fill:"currentColor",style:{opacity:s.dotCycle.to((function(e){return h(e-i)})).to([0,.4,.8,1],[.3,.3,1,1]).to((function(e){return r.current?e:1}))}},e)}))})),v=i.memo((function(e){var t=e.dotRadius,n=e.x,r=e.y,i=e.hide,u=void 0!==i&&i,l=e.themed,d=void 0!==l&&l,E=e.className;return(0,a.useTransition)(u,f({},p,{key:function(e){return e?"true":"false"},immediate:!_()}))((function(e,i,u){var l=e.dotPosition,f=u.key;return i?null:c("svg",{x:n,y:r,width:2*t*3+t/2*2,height:2*t,className:(0,o.default)(E,s.default.dots,d?s.default.themed:null)},f,c(a.animated.g,{style:{opacity:l.to((function(e){return Math.min(1,Math.max(e,0))}))}},void 0,c(m,{dotRadius:t,dotPosition:l})))}))}));t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_(n(8)),i=_(n(3)),o=_(n(2)),a=_(n(1282)),s=_(n(11)),u=_(n(10)),l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(86)),c=_(n(15)),d=n(1);function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function _(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var m={},v=null;var T={_categories:[],null:[]};function g(){return m={},r.default.forEach(c.default.getGuilds(),(function(e){S(e.id)})),!0}function I(e,t){e.index=t}function S(e){if(null==e||null==c.default.getGuild(e))return!1;var t=l.default.getChannels(e),n={_categories:[],null:[]},r=function(e){var t=e.channel;(n[null!=t.parent_id?t.parent_id:"null"]||n.null).push({channel:t,index:-1})};return t[d.ChannelTypes.GUILD_CATEGORY].forEach((function(e){var t=e.channel;n._categories.push({channel:t,index:-1}),n[t.id]=[]})),t[l.GUILD_SELECTABLE_CHANNELS_KEY].forEach(r),t[l.GUILD_VOCAL_CHANNELS_KEY].forEach(r),(0,a.default)(n._categories,n).forEach(I),m[e]=n,!0}function y(){g()}function A(e){return S(e.guild.id)}function O(e){return S(e.channel.guild_id)}function N(e){return S(e.guildId)}function R(e,t){return v=t,null!=e&&null!=e.getGuildId()&&S(e.getGuildId())}var b=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(l.default,c.default,s.default,u.default)},i.getCategories=function(e){var t;return null!==(t=m[String(e)])&&void 0!==t?t:T},r}(i.default.Store))(o.default,{CONNECTION_OPEN:function(e){return y()},OVERLAY_INITIALIZE:function(e){return y()},CACHE_LOADED_LAZY:function(e){return y()},GUILD_CREATE:A,GUILD_UPDATE:A,GUILD_DELETE:function(e){var t=e.guild.id;delete m[t]},CHANNEL_CREATE:O,CHANNEL_DELETE:O,CHANNEL_UPDATES:function(e){for(var t,n=e.updates,r=!1,i=new Set,o=E(n);!(t=o()).done;){var a=t.value.channel.guild_id;i.has(a)||(!1!==S(a)&&(r=!0),i.add(a))}return r},GUILD_MEMBER_UPDATE:function(e){var t=e.guildId,n=e.user;return s.default.getId()===n.id&&S(t)},CURRENT_USER_UPDATE:function(e){return g()},GUILD_ROLE_CREATE:N,GUILD_ROLE_UPDATE:N,GUILD_ROLE_DELETE:N,VIEW_AS_ROLES_UPDATE:N,VIEW_AS_ROLES_STOP:N,VOICE_CHANNEL_SELECT:function(e){var t=e.channelId;return null==t&&null!=v?R(u.default.getChannel(v),null):R(u.default.getChannel(t),t)},VOICE_STATE_UPDATE:function(e){var t=e.channelId,n=e.sessionId;return s.default.getSessionId()===n&&R(u.default.getChannel(t),t)}});t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.installApplication=p,t.updateApplication=E,t.repairApplication=function(e,t,n){var i=s.default.getGame(e);if(null==i)return;return r.repairApplication(i,t,n)},t.performDefaultLibraryApplicationAction=function(e,t){var n=(0,l.getDefaultLibraryApplicationAction)(e,o.default,a.default),r=t.analyticsParams;switch(n){case d.LibraryApplicationActions.PLAY:return(0,i.playApplication)(e.id,e,{analyticsParams:r});case d.LibraryApplicationActions.INSTALL:return p(e.id,e.branchId,r.source);case d.LibraryApplicationActions.UPDATE:return E(e.id,e.branchId)}},Object.defineProperty(t,"playApplication",{enumerable:!0,get:function(){return i.playApplication}});var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(266)),i=n(5527),o=f(n(155)),a=f(n(405)),s=f(n(71)),u=f(n(306)),l=n(768),c=n(5532),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function p(e,t,n){var r=s.default.getGame(e);if(null!=r){var i=u.default.getTargetBuildId(r.id,t),o=u.default.getTargetManifests(r.id,t);null!=i&&null!=o&&null!=c.installApplication&&(0,c.installApplication)(r,t,i,o,n)}}function E(e,t){var n=s.default.getGame(e);if(null!=n)return r.updateApplication(n,t,u.default.getTargetBuildId(n.id,t),u.default.getTargetManifests(n.id,t))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NEW_MESSAGE_BAR_ID=t.NEW_MESSAGE_BAR_BUFFER=t.PLACEHOLDER_BUFFER=t.MESSAGE_PADDING=t.DEFAULT_POPOUTS=t.DEFAULT_COMPACT_SPACING=t.DEFAULT_COZY_SPACING=t.MESSAGE_GROUP_SPACING=void 0;t.MESSAGE_GROUP_SPACING=[0,4,8,16,24];t.DEFAULT_COZY_SPACING=16;t.DEFAULT_COMPACT_SPACING=0;var r=Object.freeze({referencedAvatarProfile:!1,referencedUsernameProfile:!1,interactionAvatarProfile:!1,interactionUsernameProfile:!1,interactionData:!1,avatarProfile:!1,usernameProfile:!1,emojiPicker:!1,moreUtilities:!1,contextMenu:!1});t.DEFAULT_POPOUTS=r;t.MESSAGE_PADDING=16;t.PLACEHOLDER_BUFFER=16;t.NEW_MESSAGE_BAR_BUFFER=32;t.NEW_MESSAGE_BAR_ID="---new-messages-bar"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=T(n(130)),i=T(n(8)),o=T(n(3)),a=T(n(2)),s=T(n(294)),u=T(n(1413)),l=T(n(5372)),c=T(n(708)),d=T(n(163)),f=T(n(11)),_=T(n(1415)),p=T(n(71)),E=T(n(79)),h=T(n(39)),m=n(1),v=T(n(6));function T(e){return e&&e.__esModule?e:{default:e}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(){return(I=Object.assign||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}).apply(this,arguments)}var S=[],y={};function A(){var e=[];if(null!=h.default.customStatus){var t=h.default.customStatus;(null==t.expiresAt||new Date(t.expiresAt).getTime()-(new Date).getTime()>0)&&e.push((0,u.default)(t))}var n=l.default.getActivities();e.push.apply(e,n);var o=_.default.getStream();null!=o&&e.push(I({type:m.ActivityTypes.STREAMING},o));var a=new Set,T=new Set;i.default.forEach(y,(function(t){null!=t.application_id&&(a.add(t.name),T.add(t.application_id),e.push(t))})),s.default.getSelfEmbeddedActivities().forEach((function(t){var n,r=t.applicationId;if(!T.has(r)){var i=null===(n=p.default.getGame(r))||void 0===n?void 0:n.name;e.push({type:m.ActivityTypes.PLAYING,name:null!=i?i:v.default.Messages.EMBEDDED_ACTIVITIES_LAUNCHING_ACTIVITY,application_id:r,flags:m.ActivityFlags.EMBEDDED})}}));var g=E.default.getVisibleGame(),A=null!=g&&null!=g.name&&a.has(g.name),O=null!=g&&g.isLauncher,N=d.default.getActiveStreamForUser(f.default.getId()),R=A||O&&!(null!=N);null==g||null==g.name||R||e.push({type:m.ActivityTypes.PLAYING,name:g.name,application_id:g.id,timestamps:{start:g.start}});var b=c.default.getActivity();null!=b&&e.push(I({type:m.ActivityTypes.LISTENING},b)),(0,r.default)(S,e)||(S=e)}var O=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,g(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(E.default,s.default,_.default,d.default,c.default,h.default),this.syncWith([l.default],(function(){return A()}))},i.getActivities=function(){return S},i.getPrimaryActivity=function(){return S[0]},i.getApplicationActivity=function(e){return this.findActivity((function(t){return t.application_id===e}))},i.getCustomStatusActivity=function(){return this.findActivity((function(e){return e.type===m.ActivityTypes.CUSTOM_STATUS}))},i.findActivity=function(e){return S.find(e)},i.getApplicationActivities=function(){return y},r}(o.default.Store))(a.default,{OVERLAY_INITIALIZE:function(e){var t=e.localActivities;y=I({},t),A()},START_SESSION:function(e){return y={},void A()},LOCAL_ACTIVITY_UPDATE:function(e){var t=e.socketId,n=e.activity;if((0,r.default)(y[t],n))return!1;null!=n?y[t]=n:delete y[t],A()},RPC_APP_DISCONNECTED:function(e){var t=e.socketId;delete y[t],A()},RUNNING_GAMES_CHANGE:function(e){return A()},LIBRARY_APPLICATION_FLAGS_UPDATE_SUCCESS:function(e){return A()},SPOTIFY_PLAYER_STATE:function(e){return A()},SPOTIFY_PLAYER_PLAY:function(e){return A()},STREAMING_UPDATE:function(e){return A()},USER_CONNECTIONS_UPDATE:function(e){return A()},STREAM_START:function(e){return A()},STREAM_STOP:function(e){return A()},USER_SETTINGS_UPDATE:function(e){return A()},EMBEDDED_ACTIVITY_OPEN:function(e){return A()},EMBEDDED_ACTIVITY_CLOSE:function(e){return A()}});t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function o(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function a(e){var t=e.width,n=void 0===t?16:t,r=e.height,i=void 0===r?16:r,a=e.color,s=void 0===a?"currentColor":a;return o("svg",{className:e.className,width:n,height:i,viewBox:"0 0 24 24"},void 0,o("path",{className:e.foreground,fill:s,d:"M12 2.00098C6.486 2.00098 2 6.48698 2 12.001C2 17.515 6.486 22.001 12 22.001C17.514 22.001 22 17.515 22 12.001C22 6.48698 17.514 2.00098 12 2.00098ZM17 13.001H13V17.001H11V13.001H7V11.001H11V7.00098H13V11.001H17V13.001Z"}))}a.displayName="PlusCircle"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PRETTY_KEYS=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n)}(n(0));var r,i=s(n(9)),o=s(n(403)),a=s(n(5710));function s(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c="up",d="right",f="down",_="left",p=l("g",{fill:"#FFFFFF"},void 0,l("polygon",{transform:"translate(5.025000, 5.000000) scale(1, -1) translate(-5.025000, -5.000000) ",points:"4.16666667 10 4.16666672 3.33333333 1.25 6.25 0.05 5 5.00000005 0 9.99999967 5 8.75 6.25 5.83333338 3.33333333 5.83333333 10"})),E=function(e){var t=e.direction,n=void 0===t?c:t;return l("svg",{width:"10",height:"10",xmlns:"http://www.w3.org/2000/svg",className:(0,i.default)(a.default.bindArrow,a.default[n])},void 0,p)};E.displayName="ArrowSVG";var h={mod:function(){return o.default.modKey},alt:function(){return o.default.altKey},up:function(){return l(E,{direction:c})},down:function(){return l(E,{direction:f})},left:function(){return l(E,{direction:_})},right:function(){return l(E,{direction:d})},pageup:function(){return"page up"},pagedown:function(){return"page down"},"any-character":function(){return"any key"},plus:function(){return"+"},return:function(){return o.default.returnKey}};t.PRETTY_KEYS=h;var m=function(e){var t=e.shortcut,n=e.className;return l("div",{className:(0,i.default)(a.default.keybindShortcut,n)},void 0,t.split("+").map((function(e){return h[e]?h[e]():e})).map((function(e,t){return l("span",{},t,e)})))};m.displayName="KeyboardShortcut";var v=m;t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===e&&(e="");void 0===t&&(t=!0);var n,r=window.GLOBAL_ENV.INVITE_HOST;null!=r?n="/"+e:(r=location.host,n="/invite/"+e);return(t?location.protocol+"//":"")+r+n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.useRef)();return(0,r.useEffect)((function(){t.current=e}),[e]),t.current};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStageParticipants=function(e,t){return(0,i.useStateFromStores)([o.default],(function(){return[o.default.getMutableParticipants(e,t),o.default.getParticipantsVersion(e)]}),[e,t],a.isVersionEqual)[0]},t.useStageParticipantsCount=function(e,t){return(0,i.useStateFromStores)([o.default],(function(){return o.default.getParticipantCount(e,t)}),[e,t])},t.useSortedRequestToSpeakParticipants=function(e){return(0,i.useStateFromStores)([o.default],(function(){return[o.default.getMutableRequestToSpeakParticipants(e),o.default.getRequestToSpeakParticipantsVersion(e)]}),[e],a.isVersionEqual)[0]};var r,i=n(3),o=(r=n(302))&&r.__esModule?r:{default:r},a=n(734)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?24:t,r=e.height,i=void 0===r?24:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 24 24"}),l("path",{d:"M6.7 11H5C5 12.19 5.34 13.3 5.9 14.28L7.13 13.05C6.86 12.43 6.7 11.74 6.7 11Z",fill:c}),l("path",{d:"M9.01 11.085C9.015 11.1125 9.02 11.14 9.02 11.17L15 5.18V5C15 3.34 13.66 2 12 2C10.34 2 9 3.34 9 5V11C9 11.03 9.005 11.0575 9.01 11.085Z",fill:c}),l("path",{d:"M11.7237 16.0927L10.9632 16.8531L10.2533 17.5688C10.4978 17.633 10.747 17.6839 11 17.72V22H13V17.72C16.28 17.23 19 14.41 19 11H17.3C17.3 14 14.76 16.1 12 16.1C11.9076 16.1 11.8155 16.0975 11.7237 16.0927Z",fill:c}),l("path",{d:"M21 4.27L19.73 3L3 19.73L4.27 21L8.46 16.82L9.69 15.58L11.35 13.92L14.99 10.28L21 4.27Z",className:d,fill:c}))}c.displayName="MicrophoneMute"},function(e,t,n){"use strict";var r;function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n),r.prototype.channelNoticePredicate=function(e,t,n){return!1},r}(((r=n(3))&&r.__esModule?r:{default:r}).default.Store);t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.userRecordToServer=f,t.default=function(e,t,n,s,l,c,_){void 0===n&&(n=!1);void 0===s&&(s=u.MessageTypes.DEFAULT);var p=[];if(s===u.MessageTypes.REPLY&&((0,r.default)(null!=l,"Replies must have a message reference"),null==c||c.replied_user)){var E=i.default.getMessageByReference(l);(null==E?void 0:E.state)===i.ReferencedMessageState.LOADED&&p.push(f(E.message.author))}null==_&&(_=a.default.getCurrentUser());_ instanceof o.default&&(_=f(_));return{id:d(),type:s,content:t,channel_id:e,author:_,attachments:[],embeds:[],pinned:!1,mentions:p,mention_channels:[],mention_roles:[],mention_everyone:!1,timestamp:(new Date).toISOString(),state:u.MessageStates.SENDING,tts:n,message_reference:l}},t.createBotMessage=function(e,t,n,r){return{id:d(),type:u.MessageTypes.DEFAULT,flags:u.MessageFlags.EPHEMERAL,content:t,channel_id:e,author:{id:u.LOCAL_BOT_ID,username:"Clyde",discriminator:u.NON_USER_BOT_DISCRIMINATOR,avatar:"clyde",bot:!0},attachments:[],embeds:n||[],pinned:!1,mentions:[],mention_channels:[],mention_roles:[],mention_everyone:!1,timestamp:(new Date).toISOString(),state:u.MessageStates.SENT,tts:!1,loggingName:r}};var r=c(n(23)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(706)),o=c(n(89)),a=c(n(12)),s=c(n(97)),u=n(1);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e){return e&&e.__esModule?e:{default:e}}function d(){return s.default.fromTimestamp(Date.now())}function f(e){return{id:e.id,username:e.username,avatar:e.avatar,discriminator:e.discriminator,bot:e.bot}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpotifyApplication=t.default=t.SPOTIFY_APPLICATION_ID=void 0;var r=o(n(183)),i=o(n(379));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.SPOTIFY_APPLICATION_ID="spotify";var s=r.default.get("spotify"),u=function(e){var t,n;function r(){var t;return(t=e.call(this,{})||this).id="spotify",t.name=s.name,t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n),r.prototype.getIconURL=function(e){return s.icon.svg},r}(i.default);t.default=u;var l=new u;t.SpotifyApplication=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),i=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(){return(u=Object.assign||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}).apply(this,arguments)}var l=!1,c=!1,d={},f=null;var _=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var i,o,u,_=r.prototype;return _.hasConsented=function(e){return null!=d[e]&&d[e].consented},_.getAuthenticationConsentRequired=function(){return f},i=r,(o=[{key:"fetchedConsents",get:function(){return l}},{key:"receivedConsentsInConnectionOpen",get:function(){return c}}])&&a(i.prototype,o),u&&a(i,u),r}(r.default.Store))(i.default,{CONNECTION_OPEN:function(e){var t=e.consents;null!=t&&(d=u({},d,{},t),c=!0)},UPDATE_CONSENTS:function(e){var t=e.consents;d=u({},t),l=!0},SET_CONSENT_REQUIRED:function(e){f=e.consentRequired},LOGOUT:function(e){f=null}});t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?24:t,r=e.height,i=void 0===r?24:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 24 24"}),l("path",{fill:c,className:d,d:"M16.59 8.59003L12 13.17L7.41 8.59003L6 10L12 16L18 10L16.59 8.59003Z"}))}c.displayName="ArrowDropDown"},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(66))&&r.__esModule?r:{default:r};function o(t,n){if(!t.startsWith("discord:"))return location.href=t,e.nextTick((function(){return n(!0)}));var r=document.body;if(null==r)return e.nextTick((function(){return n(!1)}));var i=document.createElement("iframe");r.appendChild(i);try{i.contentWindow.location.href=t,e.nextTick((function(){return n(!0)}))}catch(t){"NS_ERROR_UNKNOWN_PROTOCOL"===t.name&&e.nextTick((function(){return n(!1)}))}window.setTimeout((function(){var e;null!==(null!==(e=null==i?void 0:i.parentElement)&&void 0!==e?e:null)&&r.removeChild(i)}),1e3)}function a(e,t){var n=!1;function r(){n=!0}window.addEventListener("blur",r),location.href=e,setTimeout((function(){window.removeEventListener("blur",r),t(n)}),1e3)}function s(e,t){t(!1)}function u(t,n){location.href=t,e.nextTick((function(){return n(!0)}))}var l={launch:"Android"===i.default.os.family||"iOS"===i.default.os.family?u:"Gecko"===i.default.layout?o:null!=i.default.ua&&-1!==i.default.ua.indexOf("Valve Steam GameOverlay")?s:a};t.default=l}).call(this,n(100))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ThreadSidebarType=void 0;var r,i=n(92),o=_(n(3)),a=_(n(2)),s=_(n(10)),u=_(n(40)),l=_(n(1241)),c=_(n(36)),d=_(n(12)),f=n(1);function _(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.ThreadSidebarType=r,function(e){e[e.VIEW=0]="VIEW",e[e.CREATE=1]="CREATE"}(r||(t.ThreadSidebarType=r={}));var E=!0,h=!1,m={};function v(){var e=!1;for(var t in m){var n=m[t];if(n.type===r.VIEW){var o=s.default.getChannel(n.channelId);null!=o&&u.default.can(i.Permissions.VIEW_CHANNEL,o)||(delete m[t],e=!0)}}return e}function T(){if(h===l.default.isActive())return!1;h=l.default.isActive()}var g=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var o=i.prototype;return o.initialize=function(e){null!=e&&(E=e.isMembersOpen,m=e.threads),this.syncWith([l.default],T),this.syncWith([u.default],v)},o.getState=function(){return{isMembersOpen:E,threads:m}},o.getSection=function(e){return h?f.ChannelSections.SEARCH:null!=e&&null!=m[e]?f.ChannelSections.THREAD:E?f.ChannelSections.MEMBERS:f.ChannelSections.NONE},o.getThreadSidebarState=function(e){return null==e?void 0:m[e]},o.getCurrentThreadId=function(e){if(null==e)return null;if(h)return null;var t=m[e];return null==t?null:t.type===r.VIEW?t.channelId:null},i}(o.default.PersistedStore);g.persistKey="ChannelSectionStore2";var I=new g(a.default,{CHANNEL_TOGGLE_MEMBERS_SECTION:function(e){return function(){var e=!1;h&&(h=!1,e=!0);var t=c.default.getChannelId();null!=t&&t in m&&(delete m[t],e=!0),e&&E||(E=!E)}()},THREAD_SIDEBAR_VIEW_THREAD:function(e){var t=e.parentChannelId,n=e.channelId;h=!1,m[t]={type:r.VIEW,channelId:n}},THREAD_SIDEBAR_CREATE_THREAD:function(e){var t=e.parentChannelId,n=e.parentMessageId;h=!1,m[t]={type:r.CREATE,parentChannelId:t,parentMessageId:n}},THREAD_SIDEBAR_CLOSE:function(e){var t=e.parentChannelId;delete m[t]},CHANNEL_DELETE:function(e){var t=e.channel;if(!(t.id in m))return!1;delete m[t.id]},THREAD_CREATE:function(e){var t,n=e.channel;if(n.ownerId===(null===(t=d.default.getNullableCurrentUser())||void 0===t?void 0:t.id))return!1;var i=m[n.parent_id];null!=i&&i.type===r.CREATE&&i.parentMessageId===n.id&&(m[n.parent_id]={type:r.VIEW,channelId:n.id})},THREAD_DELETE:function(e){var t=e.channel,n=m[t.parent_id];if(null==n||n.type!==r.VIEW||n.channelId!==t.id)return!1;delete m[t.parent_id]}});t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LobbyError=void 0;var r=s(n(8)),i=s(n(3)),o=s(n(2)),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(){return(l=Object.assign||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}).apply(this,arguments)}var c=function(e){this.code=e};t.LobbyError=c;var d={},f={};function _(e,t){if(null==f[e])return null;var n=f[e],r=n.socketId,i=n.timeout,o=n.resolve,a=n.reject;return delete f[e],null!=i&&clearTimeout(i),null!=o&&null!=a&&t(o,a),r}function p(e){var t=e.lobbyId,n=e.member,r=n.user,i=n.metadata,o=d[t];if(null==o)return!1;var a=o.members.find((function(e){return e.user.id===r.id}));null!=a?(a.user=r,a.metadata=i):o.members.push({user:r,metadata:i})}var E=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var o=i.prototype;return o.getLobbies=function(){return d},o.getLobbiesWithVoice=function(){return r.default.filter(d,(function(e){return e.voice}))},o.getLobby=function(e){return d[e]},o.getPendingLobbies=function(){return r.default.map(f,(function(e,t){return{id:t,secret:e.secret}}))},i}(i.default.Store))(o.default,{CONNECTION_OPEN:function(e){d={}},OVERLAY_INITIALIZE:function(e){d=e.lobbies},LOBBY_CONNECT:function(e){var t=e.socketId,n=e.lobbyId,r=e.lobbySecret,i=e.resolve,s=e.reject;null==f[n]&&null==d[n]?f[n]={socketId:t,secret:r,resolve:i,reject:s,timeout:__OVERLAY__?null:setTimeout((function(){o.default.dispatch({type:a.ActionTypes.LOBBY_DELETE,lobbyId:n,reason:a.LobbyErrors.SERVICE_UNAVAILABLE})}),15e3)}:null!=s&&s(new c(a.LobbyErrors.ALREADY_CONNECTING))},LOBBY_DISCONNECT:function(e){_(e.lobbyId,(function(e,t){return t(new c(a.LobbyErrors.NO_ERROR))}))},LOBBY_CREATE:function(e){var t=e.lobby,n=_(t.id,(function(e){return e(t)}));null!=n&&(d[t.id]=l({socketId:n,voice:!1},d[t.id],{},t))},LOBBY_UPDATE:function(e){var t=e.lobby,n=d[t.id];null!=n&&(d[t.id]=l({},n,{},t))},LOBBY_DELETE:function(e){var t=e.lobbyId,n=e.reason;delete d[t],_(t,(function(e,t){return t(new c(n))}))},LOBBY_MEMBER_CONNECT:p,LOBBY_MEMBER_UPDATE:p,LOBBY_MEMBER_DISCONNECT:function(e){var t=e.lobbyId,n=e.member.user,r=d[t];if(null==r)return!1;r.members=r.members.filter((function(e){return e.user.id!==n.id}))},LOBBY_VOICE_CONNECT:function(e){var t=e.lobbyId,n=d[t];if(null==n)return!1;n.voice=!0},LOBBY_VOICE_DISCONNECT:function(e){var t=e.lobbyId,n=d[t];if(null==n)return!1;n.voice=!1},RPC_APP_DISCONNECTED:function(e){var t=e.socketId;r.default.forEach(d,(function(e){e.socketId===t&&o.default.dirtyDispatch({type:a.ActionTypes.LOBBY_DISCONNECT,lobbyId:e.id})}))}});t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o=S(n(23)),a=S(n(8)),s=S(n(3)),u=n(34),l=n(57),c=S(n(2)),d=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(5464)),f=n(140),_=n(726),p=S(n(984)),E=S(n(11)),h=S(n(51)),m=S(n(256)),v=S(n(94)),T=S(n(79)),g=n(1);function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function S(e){return e&&e.__esModule?e:{default:e}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var A={},O={},N={},R={},b=g.StreamLayouts.THEATRE,L={},D=[],C=new l.Interval;function M(){a.default.forEach(L,(function(e,t){e.destroy(e.isOwner?"sender-disconnect":"receiver-disconnect"),delete L[t]}))}function P(){var e=u.MediaEngineContextTypes.STREAM;h.default.getMediaEngine().eachConnection((function(e){e.getStats().then((function(e){c.default.dispatch({type:g.ActionTypes.STREAM_STATS_UPDATE,stats:e})}))}),e)}var w=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n);var o=r.prototype;return o.getActiveStreamKey=function(){return(0,p.default)(h.default)?i:null},o.getAllActiveStreamKeys=function(){return Object.keys(L)},o.getStatsHistory=function(e,t){return(0,p.default)(h.default)?null==e?null:D.map((function(n){return t?(r=n.rtp.outbound,null!=(i=r.find((function(e){return"video"===e.type})))&&"video"===i.type?{type:"streamer",fractionLost:i.fractionLost||0,frameRate:i.frameRateInput||0,resolution:null!=i.resolution?i.resolution.height:0,bitrate:0}:null):function(e){if(null==e)return null;var t=e.find((function(e){return"video"===e.type}));return null!=t&&"video"===t.type?{type:"spectator",fractionLost:t.fractionLost||0,frameRate:t.frameRateNetwork||0,bitrate:t.bitrate||0,resolution:null!=t.resolution?t.resolution.height:0}:null}(n.rtp.inbound[e]);var r,i})):null},o.getQuality=function(){if(!(0,p.default)(h.default))return g.RTCConnectionQuality.UNKNOWN;var e=this.getActiveStreamKey(),t=null!=e?L[e]:null;return null!=t?t.quality:g.RTCConnectionQuality.UNKNOWN},o.getActiveMediaSessionId=function(){if(null==i)return null;var e=L[i];return null!=e?e.getMediaSessionId():null},o.getActiveRTCConnectionId=function(){if(null==i)return null;var e=L[i];return null!=e?e.getRTCConnectionId():null},o.getHostname=function(){if(null==i)return"";var e=L[i];return null!=e.hostname?e.hostname:""},o.getStreamSourceId=function(e){return R[e]},r}(s.default.Store))(c.default,!h.default.isSupported()||__OVERLAY__?{}:{CONNECTION_OPEN:function(e){r=e.sessionId,i=null,M()},CONNECTION_CLOSED:function(e){return r=null,i=null,void M()},RTC_CONNECTION_STATE:function(e){return!0},RTC_CONNECTION_PING:function(e){return!0},RTC_CONNECTION_LOSS_RATE:function(e){return!0},STREAM_START:function(e){var t=e.streamType,n=e.guildId,r=e.channelId,i=e.appContext,o=e.pid,s=e.sourceId,u=(0,f.encodeStreamKey)({streamType:t,guildId:n,channelId:r,ownerId:E.default.getId()});if(A[u]=i,a.default.forEach(L,(function(e){e.analyticsContext.setActionContext(i)})),R[u]=s,N[u]=o,null!=o){var l=T.default.getGameForPID(o);null!=l&&(O[u]={name:l.name,id:l.id,exe:l.exeName})}},STREAM_STOP:function(e){var t=e.appContext,n=e.streamKey;A[n]=t,a.default.forEach(L,(function(e){e.analyticsContext.setActionContext(t)})),R[n]=null,N[n]=null},STREAM_CREATE:function(e){var t=e.streamKey,n=e.rtcServerId,a=e.region,s=e.viewerIds;i=t;var u=L[t];null==u&&null!=n&&(null==N[t]&&(O[t]=null),null==O[t]&&null==R[t]&&(O[t]=(0,_.getStreamerApplication)((0,f.decodeStreamKey)(t),m.default)),u=function(e,t,n){(0,o.default)(null!=r,"Creating RTCConnection without session.");var i=new d.default(r,e,t,b,n,null!=O[e],v.default.getMediaSessionId());return i.on("video-source-quality-changed",(function(e,t,n,r,i,o){c.default.wait((function(){return c.default.dispatch({type:g.ActionTypes.MEDIA_ENGINE_VIDEO_SOURCE_QUALITY_CHANGED,guildId:e,channelId:t,senderUserId:n,maxResolution:r,maxFrameRate:i,context:o})}))})),i}(t,n,new d.StreamRTCAnalyticsContext({streamRegion:a,streamApplication:O[t],actionContext:A[t],numViewers:null!=s?s.length:0})),L[t]=u),D=[],P(),C.start(1e3,P)},STREAM_SERVER_UPDATE:function(e){var t=L[e.streamKey];if(null==t)return!1;t.connect(e.endpoint,e.token)},STREAM_UPDATE:function(e){var t=e.streamKey,n=e.viewerIds,r=e.paused,i=L[t];if(null==i)return!1;null!=n&&i.analyticsContext.trackViewerCount(n.length),i.streamUpdate(r)},STREAM_DELETE:function(e){var t=e.streamKey,n=L[t];if(null==n)return!1;t===i&&(i=null,C.stop()),n.destroy("stream-end"),delete L[t]},STREAM_STATS_UPDATE:function(e){var t=e.stats;if(null==t)return!1;D.push(t),D.length>30&&D.shift()},STREAM_LAYOUT_UPDATE:function(e){var t=e.layout;b=t,Object.values(L).forEach((function(e){return e.layoutChange(t)}))}});t.default=w},function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.SettingsOverrideReasonKeys=t.MuteUntilSeconds=void 0,t.MuteUntilSeconds=r,function(e){e[e.MINUTES_15=900]="MINUTES_15",e[e.HOURS_1=3600]="HOURS_1",e[e.HOURS_8=28800]="HOURS_8",e[e.HOURS_24=86400]="HOURS_24",e[e.ALWAYS=-1]="ALWAYS"}(r||(t.MuteUntilSeconds=r={})),t.SettingsOverrideReasonKeys=i,function(e){e.REDUCED_MOTION="REDUCED_MOTION",e.REDUCED_MOTION_STICKERS="REDUCED_MOTION_STICKERS"}(i||(t.SettingsOverrideReasonKeys=i={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getQuickSwitcherOptions=O,t.trackOpen=N,t.trackClose=R,t.show=L,t.hide=D,t.toggle=function(e){void 0===e&&(e="KEYBIND");d.default.isOpen()?D():L(e)},t.search=function(e){i.default.dispatch(g({type:v.ActionTypes.QUICKSWITCHER_SEARCH},O(e)))},t.selectResult=function(e){i.default.dispatch({type:v.ActionTypes.QUICKSWITCHER_SELECT,selectedIndex:e})},t.switchToResult=function(e){b(),R(v.AnalyticEvents.QUICKSWITCHER_RESULT_SELECTED,e);var t,n=e.type,r=e.record,u={page:v.AnalyticsPages.QUICK_SWITCHER};switch(n){case o.AutocompleterResultTypes.GUILD:var d=f.default.getChannelId(r.id);null!=d&&(0,s.transitionTo)(v.Routes.CHANNEL(r.id,d),{state:{analyticsSource:u}});break;case o.AutocompleterResultTypes.TEXT_CHANNEL:null!=(t=l.default.getChannel(r.id))&&(0,s.transitionTo)(v.Routes.CHANNEL(t.guild_id,r.id),{state:{analyticsSource:u}});break;case o.AutocompleterResultTypes.VOICE_CHANNEL:null!=(t=l.default.getChannel(r.id))&&m.default.selectVoiceChannel(r.id);break;case o.AutocompleterResultTypes.USER:E.default.openPrivateChannel([r.id]),h.default.channelListScrollTo(v.ME,r.id);break;case o.AutocompleterResultTypes.GROUP_DM:(0,s.transitionToGuild)(v.ME,r.id),h.default.channelListScrollTo(v.ME,r.id);break;case o.AutocompleterResultTypes.APPLICATION:var _=c.default.getActiveLibraryApplication(r.id);I(r.id,_,{analyticsParams:{source:v.AnalyticsLocations.QUICK_SWITCHER,location:v.AnalyticsLocations.QUICK_SWITCHER}});break;case o.AutocompleterResultTypes.LINK:(0,a.default)(r.path)}i.default.dispatch({type:v.ActionTypes.QUICKSWITCHER_SWITCH_TO,result:e})};var r,i=T(n(2)),o=n(714),a=T(n(1122)),s=n(42),u=T(n(31)),l=T(n(10)),c=T(n(120)),d=T(n(1323)),f=T(n(36)),_=T(n(107)),p=T(n(13)),E=T(n(391)),h=T(n(1226)),m=T(n(132)),v=n(1);function T(e){return e&&e.__esModule?e:{default:e}}function g(){return(g=Object.assign||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}).apply(this,arguments)}var I=function(){return Promise.resolve()},S=n(1253);I=S.playApplication;var y=Object.freeze(((r={})[o.AutocompleterQuerySymbols.USER]=o.AutocompleterResultTypes.USER,r[o.AutocompleterQuerySymbols.TEXT_CHANNEL]=o.AutocompleterResultTypes.TEXT_CHANNEL,r[o.AutocompleterQuerySymbols.VOICE_CHANNEL]=o.AutocompleterResultTypes.VOICE_CHANNEL,r[o.AutocompleterQuerySymbols.GUILD]=o.AutocompleterResultTypes.GUILD,r[o.AutocompleterQuerySymbols.APPLICATION]=o.AutocompleterResultTypes.APPLICATION,r)),A=new RegExp("^"+o.AutocompleterQuerySymbols.USER+"|"+o.AutocompleterQuerySymbols.TEXT_CHANNEL+"|"+o.AutocompleterQuerySymbols.VOICE_CHANNEL+"|\\"+o.AutocompleterQuerySymbols.GUILD+"|\\"+o.AutocompleterQuerySymbols.APPLICATION);function O(e){var t=function(e){var t=e.charAt(0),n=y[t]||null;return[e.replace(A,""),n]}(e);return{query:t[0],queryMode:t[1]}}function N(e){if(!d.default.isOpen()){var t,n=_.default.getGuildId(),r=f.default.getChannelId(n);if(null!=r){var i=l.default.getChannel(r);t=null!=i?i.type:null}p.default.track(v.AnalyticEvents.QUICKSWITCHER_OPENED,{source:e,current_guild_id:n,current_channel_id:r,current_channel_type:t})}}function R(e,t){var n=d.default.getProps(),r=n.results,i=n.queryMode,a=n.query,s=_.default.getGuildId(),c=f.default.getChannelId(s),E=r[(0,o.findNextSelectedResult)(o.FindResultDirections.DOWN,-1,r)],h={current_channel_id:c,current_guild_id:s,query_mode:i||"GENERAL",query_length:a.length,top_result_type:E?E.type:null,top_result_score:E?E.score:null,num_results_total:d.default.getResultTotals(),num_results_users:d.default.getResultTotals(o.AutocompleterResultTypes.USER),num_results_text_channels:d.default.getResultTotals(o.AutocompleterResultTypes.TEXT_CHANNEL),num_results_voice_channels:d.default.getResultTotals(o.AutocompleterResultTypes.VOICE_CHANNEL),num_results_guilds:d.default.getResultTotals(o.AutocompleterResultTypes.GUILD),num_results_group_dms:d.default.getResultTotals(o.AutocompleterResultTypes.GROUP_DM)};if(null!=c){var m=l.default.getChannel(c);h.current_channel_type=null!=m?m.type:null}if(null!=t){var v=t.type,T=t.score,g=t.record;switch(h.selected_type=v,h.selected_score=T,h.selected_index=r.indexOf(t),v){case o.AutocompleterResultTypes.GUILD:h.selected_guild_id=g.id;break;case o.AutocompleterResultTypes.TEXT_CHANNEL:case o.AutocompleterResultTypes.VOICE_CHANNEL:g instanceof u.default&&(h.selected_guild_id=null!=g.guild_id?g.guild_id:null),h.selected_channel_id=g.id;break;case o.AutocompleterResultTypes.GROUP_DM:h.selected_channel_id=g.id;break;case o.AutocompleterResultTypes.USER:h.selected_user_id=g.id}}p.default.track(e,h)}function b(){i.default.dispatch({type:v.ActionTypes.QUICKSWITCHER_HIDE})}function L(e,t){void 0===e&&(e="KEYBIND"),void 0===t&&(t=""),N(e),i.default.dispatch(g({type:v.ActionTypes.QUICKSWITCHER_SHOW},O(t)))}function D(){R(v.AnalyticEvents.QUICKSWITCHER_CLOSED),b()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.supportsInApp(r.Features.VIDEO)&&e.supportsInApp(r.Features.DESKTOP_CAPTURE)};var r=n(34)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exact=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.EMPTY_DISCOVERABLE_GUILDS_SECTION=void 0;var r,i,o=_(n(23)),a=_(n(8)),s=_(n(3)),u=_(n(2)),l=n(1213),c=_(n(11)),d=_(n(470)),f=n(1);function _(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(){return(E=Object.assign||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}).apply(this,arguments)}!function(e){e.UNSET="unset",e.FETCHING="fetching",e.FAILED="failed",e.SUCCEEDED="succeeded"}(i||(i={}));var h={guilds:[],total:0,offset:0,limit:0,loading:!1,isFirstLoad:!0};t.EMPTY_DISCOVERABLE_GUILDS_SECTION=h;var m=((r={})[f.GuildDiscoverySections.FEATURED]=E({},h),r[f.GuildDiscoverySections.GAMES_YOU_PLAY]=E({},h),r[f.GuildDiscoverySections.MISC]=E({},h),r[f.GuildDiscoverySections.SEARCH]={},r[l.DISCOVERY_ALL_CATEGORIES_ID]=E({},h),r),v="",T=!1,g=i.UNSET,I=null,S=l.DISCOVERY_ALL_CATEGORIES_ID,y=l.DISCOVERY_ALL_CATEGORIES_ID,A=null;function O(e){return{id:e.id,name:e.name,description:e.description,splash:e.splash,banner:e.banner,icon:e.icon,features:new Set(e.features),presenceCount:e.approximate_presence_count,memberCount:e.approximate_member_count,premiumSubscriptionCount:e.premium_subscription_count,preferredLocale:e.preferred_locale,discoverySplash:e.discovery_splash,emojis:e.emojis,emojiCount:e.emoji_count}}var N=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var o=r.prototype;return o.initialize=function(){this.waitFor(c.default)},o.isFetching=function(){return T||null==I||null==d.default.lastFetched&&!c.default.isGuest()},o.isFetchingSearch=function(){return g===i.FETCHING},o.hasSearchError=function(){return g===i.FAILED},o.getDiscoverableGuilds=function(){return m},o.getCurrentCategoryId=function(){return S},o.getCurrentHomepageCategoryId=function(){return y},o.getSearchIndex=function(){return A},o.getMostRecentQuery=function(){return v},o.getTopCategoryCounts=function(e){var t;return null===(t=m[f.GuildDiscoverySections.SEARCH][e])||void 0===t?void 0:t.resultCounts},r}(s.default.Store))(u.default,{GUILD_DISCOVERY_SEARCH_INIT:function(e){var t=e.index;A=t},GUILD_DISCOVERY_FETCH_START:function(e){var t,n=e.section;T=!0,m=E({},m,((t={})[n]=E({},m[n],{loading:!0}),t))},GUILD_DISCOVERY_FETCH_SUCCESS:function(e){var t,n=e.guilds,r=e.section,i=e.total,o=e.offset,s=e.limit;T=!1,I=Date.now();var u=a.default.map(n,O);m=E({},m,((t={})[r]={guilds:u,offset:o,limit:s,total:i,loading:!1,isFirstLoad:!1},t))},GUILD_DISCOVERY_FETCH_FAILURE:function(e){var t,n=e.section;T=!1,m=E({},m,((t={})[n]=E({},h,{loading:!1}),t))},GUILD_DISCOVERY_POPULAR_FETCH_START:function(e){var t,n=e.categoryId;T=!0,m=E({},m,((t={})[n]=E({},h,{},m[n],{loading:!0}),t))},GUILD_DISCOVERY_POPULAR_FETCH_SUCCESS:function(e){var t,n=e.categoryId,r=e.guilds;T=!1,I=Date.now();var i=a.default.map(r,O);m=E({},m,((t={})[n]=E({},h,{guilds:i,loading:!1,isFirstLoad:!1}),t))},GUILD_DISCOVERY_POPULAR_FETCH_FAILURE:function(e){var t,n=e.categoryId;T=!1,m=E({},m,((t={})[n]=E({},h,{loading:!1}),t))},GUILD_DISCOVERY_SEARCH_FETCH_START:function(e){var t,n,r,a,s=e.section,u=e.query,l=e.categoryId;(0,o.default)("search"===s,"This action only supports search it seems"),g=i.FETCHING,m=E({},m,((a={})[s]=E({},m[s],((r={})[u]=E({},m[s][u],((n={})[l]=E({},null===(t=m[s][u])||void 0===t?void 0:t[l],{loading:!0}),n)),r)),a)),v=u},GUILD_DISCOVERY_SEARCH_FETCH_SUCCESS:function(e){var t,n,r,a,s=e.section,u=e.guilds,l=e.total,c=e.offset,d=e.limit,f=e.query,_=e.categoryId;(0,o.default)("search"===s,"This action only supports search it seems");var p=u.map(O);m=E({},m,((a={})[s]=E({},m[s],((r={})[f]=E({},m[s][f],((n={})[_]=E({},null===(t=m[s][f])||void 0===t?void 0:t[_],{guilds:p,total:l,offset:c,limit:d,loading:!1}),n)),r)),a)),v=f,g=i.SUCCEEDED},GUILD_DISCOVERY_SEARCH_FETCH_FAILURE:function(e){var t,n,r,a,s=e.section,u=e.query,l=e.categoryId;(0,o.default)("search"===s,"This action only supports search it seems"),g=i.FAILED,m=E({},m,((a={})[s]=E({},m[s],((r={})[u]=E({},m[s][u],((n={})[l]=E({},null===(t=m[s][u])||void 0===t?void 0:t[l],{loading:!1}),n)),r)),a))},GUILD_DISCOVERY_SELECT_CATEGORY:function(e){var t=e.categoryId,n=e.isHomepage;S=t,n&&(y=t)},GUILD_DISCOVERY_CLEAR_SEARCH:function(e){v=""},GUILD_DISCOVERY_SEARCH_UPDATE_COUNTS:function(e){var t,n,r=e.nbHits,i=e.facets,o=e.query,a=[];if(null!=i){var s,u=null!==(s=i["categories.id"])&&void 0!==s?s:{};delete u[l.DEFAULT_DISCOVERY_CATEGORY_ID],a=Object.entries(u).map((function(e){var t=e[0],n=e[1];return[parseInt(t,10),n]})).sort((function(e,t){return t[1]-e[1]})).slice(0,7)}m=E({},m,((n={})[f.GuildDiscoverySections.SEARCH]=E({},m[f.GuildDiscoverySections.SEARCH],((t={})[o]=E({},m[f.GuildDiscoverySections.SEARCH][o],{resultCounts:[[l.DISCOVERY_ALL_CATEGORIES_ID,Math.min(l.MAX_ALGOLIA_PAGINATOR_RESULTS,r)]].concat(a)}),t)),n))},GUILD_DISCOVERY_SEARCH_COUNTS_FAIL:function(e){var t,n,r=e.query;m=E({},m,((n={})[f.GuildDiscoverySections.SEARCH]=E({},m[f.GuildDiscoverySections.SEARCH],((t={})[r]=E({},m[f.GuildDiscoverySections.SEARCH][r],{resultCounts:null}),t)),n))}});t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(780)),i=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s={};var u=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n),r.prototype.getStickerPreview=function(e){return s[e]},r}(r.default.Store))(i.default,{ADD_STICKER_PREVIEW:function(e){var t=e.channelId,n=e.sticker;s[t]=[n]},CLEAR_STICKER_PREVIEW:function(e){var t=e.channelId;null!=s[t]&&delete s[t]},LOGOUT:function(e){s={}}});t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null!=e&&e.type===a.ActivityTypes.LISTENING&&e.name===i.default.get(a.PlatformTypes.SPOTIFY).name&&null!=e.party&&null!=e.party.id&&(0,o.isSpotifyParty)(e.party.id)};var r,i=(r=n(183))&&r.__esModule?r:{default:r},o=n(293),a=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packStageChannelPartyId=function(e,t){var n=0,i=r.default.getId();a.default.isSpeaker(i,e.id)&&(n|=1);var s=o.default.getGuild(e.getGuildId());null!=s&&(s.hasFeature(u.GuildFeatures.PARTNERED)&&(n|=2),s.hasFeature(u.GuildFeatures.VERIFIED)&&(n|=4));var l=n.toString(16);return"stage:"+e.guild_id+":"+e.id+":"+l+":"+t.id},t.unpackStageChannelParty=c,t.isStageActivity=function(e){return(null==e?void 0:e.application_id)===s.STAGE_APPLICATION_ID},t.shouldShowActivity=function(e){var t=c(e);if(!t)return!1;var n=t.channelId;return null!=i.default.getChannel(n)};var r=l(n(11)),i=l(n(10)),o=l(n(15)),a=l(n(205)),s=n(134),u=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if(e&&e.party){var t=e.party,n=t.id,r=t.size;try{if(!n||!n.startsWith("stage:"))return;var i=n.split(":"),o=i[1],a=i[2],s=i[3],u=i[4],l=parseInt(s,16);return{guildId:o,channelId:a,size:r,userIsSpeaker:0!=(1&l),guildIsPartnered:0!=(2&l),guildIsVerified:0!=(4&l),stageInstanceId:u}}catch(e){return null}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(14)),i=n(1),o=a(n(6));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){var t,n;function r(t,n){return e.call(this,t,n,o.default.Messages.FORM_ERROR_GENERIC.format({statusPageURL:i.Links.STATUS}))||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n),r}(r.default.V8APIError);t.default=u},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=(0,((r=n(310))&&r.__esModule?r:{default:r}).default)({id:"2021-06_stage_events",label:"Stage Events",kind:"guild",defaultConfig:{enabled:!1},treatments:[{id:1,label:"Guild can create Stage Events",config:{enabled:!0}}]});t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?24:t,r=e.height,i=void 0===r?24:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 24 24"}),l("path",{d:"M6.16204 15.0065C6.10859 15.0022 6.05455 15 6 15H4V12C4 7.588 7.589 4 12 4C13.4809 4 14.8691 4.40439 16.0599 5.10859L17.5102 3.65835C15.9292 2.61064 14.0346 2 12 2C6.486 2 2 6.485 2 12V19.1685L6.16204 15.0065Z",fill:c}),l("path",{d:"M19.725 9.91686C19.9043 10.5813 20 11.2796 20 12V15H18C16.896 15 16 15.896 16 17V20C16 21.104 16.896 22 18 22H20C21.105 22 22 21.104 22 20V12C22 10.7075 21.7536 9.47149 21.3053 8.33658L19.725 9.91686Z",fill:c}),l("path",{d:"M3.20101 23.6243L1.7868 22.2101L21.5858 2.41113L23 3.82535L3.20101 23.6243Z",className:d,fill:c}))}c.displayName="HeadsetDeafen"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){void 0===n&&(n=function(){return!0});return(0,i.default)(e).map((function(e){return"null"===e.channel.id?t[e.channel.id]:[e,t[e.channel.id]]})).flattenDeep().filter(n).value()};var r,i=(r=n(8))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?16:t,r=e.height,i=void 0===r?16:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 24 24"}),l("path",{className:d,fill:c,d:"M12 2C14.761 2 17 4.238 17 7V9H7V7C7 4.238 9.238 2 12 2ZM10.5 5.5C10.5 6.329 11.172 7 12 7C12.828 7 13.5 6.329 13.5 5.5C13.5 4.671 12.828 4 12 4C11.172 4 10.5 4.671 10.5 5.5ZM23 22H17L19 19V12H17V18C17 18.553 16.552 19 16 19H14L15 22H9L10 19H8C7.448 19 7 18.553 7 18V12H5V19L7 22H1L3 19V12C3 10.896 3.897 10 5 10H19C20.103 10 21 10.896 21 12V19L23 22ZM13 14C13 14.553 13.448 15 14 15C14.552 15 15 14.553 15 14C15 13.447 14.552 13 14 13C13.448 13 13 13.447 13 14Z"}))}c.displayName="Robot"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=I(n(8)),i=I(n(5)),o=I(n(101)),a=I(n(185)),s=n(180),u=n(31),l=I(n(10)),c=I(n(15)),d=I(n(40)),f=I(n(70)),_=I(n(12)),p=n(292),E=I(n(258)),h=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(461)),m=I(n(5531)),v=I(n(1285)),T=n(1);function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function I(e){return e&&e.__esModule?e:{default:e}}function S(){return(S=Object.assign||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}).apply(this,arguments)}var y,A=/^( *>>> +([\s\S]*))|^( *>(?!>>) +[^\n]*(\n *>(?!>>) +[^\n]*)*\n?)/,O=/^$|\n *$/,N=/^ *>>> ?/,R=/^ *> ?/gm;y=!0;var b={__proto__:null,t:"LT",T:"LTS",d:"L",D:"LL",f:"LLL",F:"LLLL",R:"R"},L=Object.keys(b).join("|"),D=new RegExp("^<t:(-?\\d{1,17})(?::("+L+"))?>");function C(e){var t=(0,h.depunycodeLink)(e[1]);return null==t?{type:"text",content:e[1]}:{type:"link",content:[{type:"text",content:t.displayTarget}],target:t.target,title:void 0}}var M={newline:o.default.defaultRules.newline,paragraph:o.default.defaultRules.paragraph,escape:o.default.defaultRules.escape,blockQuote:S({},o.default.defaultRules.blockQuote,{match:function(e,t){var n=t.prevCapture,r=t.inQuote,i=t.nested;return!O.test(null!=n?n[0]:"")||r||i?null:A.exec(e)},parse:function(e,t,n){var r=e[0],i=Boolean(N.exec(r)),o=i?N:R,a=r.replace(o,""),s=n.inQuote||!1,u=n.inline||!1;n.inQuote=!0,i||(n.inline=!0);var l=t(a,n);return n.inQuote=s,n.inline=u,0===l.length&&l.push({type:"text",content:" "}),{content:l,type:"blockQuote"}}}),link:h.default,autolink:S({},o.default.defaultRules.autolink,{parse:C}),url:S({},o.default.defaultRules.url,{match:function(e,t){if(!t.inline)return null;var n=/^((?:https?|steam):\/\/[^\s<]+[^<.,:;"'\]\s])/.exec(e);if(null!=n){for(var r=0,i=n[0],o=i.length-1;o>=0&&")"===i[o];o--){var a=i.indexOf("(",r);if(-1===a){i=i.slice(0,i.length-1);break}r=a+1}n[0]=n[1]=i}return n},parse:C}),strong:o.default.defaultRules.strong,em:o.default.defaultRules.em,u:o.default.defaultRules.u,br:o.default.defaultRules.br,text:o.default.defaultRules.text,inlineCode:o.default.defaultRules.inlineCode,emoticon:{order:o.default.defaultRules.text.order,match:function(e){return/^(¯\\_\(ツ\)_\/¯)/.exec(e)},parse:function(e){return{type:"text",content:e[1]}}},codeBlock:{order:o.default.defaultRules.codeBlock.order,match:function(e){return/^```(?:([a-z0-9_+\-.]+?)\n)?\n*([^\n][^]*?)\n*```/i.exec(e)},parse:function(e,t,n){return{lang:e[1]||"",content:e[2]||"",inQuote:n.inQuote||!1}}},roleMention:{order:o.default.defaultRules.text.order,match:function(e){return/^<@&(\d+)>/.exec(e)},parse:function(e,t,n){e[0];var r=e[1];if(n.returnMentionIds)return{type:"roleMention",id:r};var i=l.default.getChannel(n.channelId),o=i?i.getGuildId():null,a=o?c.default.getGuild(o):null,s=a?a.roles[r]:null;return null==s?{type:"text",content:"@deleted-role"}:{type:"mention",channelId:n.channelId,guildId:o,roleId:r,color:s.color,colorString:s.colorString,content:[{type:"text",content:"@"+s.name}]}}},mention:{order:o.default.defaultRules.text.order,match:function(e){return/^<@!?(\d+)>|^(@(?:everyone|here))/.exec(e)},parse:function(e,t,n){if(n.returnMentionIds)return null==e[1]?{type:"mention",text:e[0]}:{type:"mention",id:e[1]};var r,i,o=_.default.getUser(e[1]),a=l.default.getChannel(n.channelId);return null!=o&&(i=o.id,r=o.toString(),null!=a&&(r=E.default.getNickname(a.getGuildId(),n.channelId,o)||r)),{userId:i,channelId:n.channelId,guildId:null==a?void 0:a.getGuildId(),roleName:e[2],content:[{type:"text",content:null!=r?"@"+r:e[0]}]}}},channel:{order:o.default.defaultRules.text.order,match:function(e){return/^<#(\d+)>/.exec(e)},parse:function(e,t,n){if(n.returnMentionIds)return{type:"channel",id:e[1]};var r=l.default.getChannel(e[1]),i=n.mentionChannels,o=null!=r?r.guild_id:null,a=null!=r?r.id:null,c=null!=r?(0,s.computeChannelName)(r,_.default,f.default):null,E=null!=i?i.find((function(t){return t.id===e[1]})):null;null!=E&&(o=E.guild_id,a=E.id,c=E.name);var h=null!=r&&((0,u.isGuildSelectableChannelType)(r.type)||y&&(0,u.isGuildVocalChannelType)(r.type));return null!=E||null!=r&&d.default.can(T.Permissions.VIEW_CHANNEL,r)&&h?{channelId:a,guildId:o,content:[{type:"text",content:null!=c?""+(0,p.getChannelPrefix)(null==r?void 0:r.type)+c:"#deleted-channel"}]}:{type:"text",content:null!=c?""+(0,p.getChannelPrefix)(null==r?void 0:r.type)+c:"#deleted-channel"}}},emoji:{order:o.default.defaultRules.text.order,match:function(e){var t=a.default.EMOJI_NAME_RE.exec(e);if(null!=t&&""!==a.default.convertNameToSurrogate(t[1]))return t},parse:function(e){var t=a.default.convertNameToSurrogate(e[1]);return{type:"text",content:t||":"+e[1]+":"}}},customEmoji:{order:o.default.defaultRules.text.order,match:function(e){return/^<a?:(\w+):(\d+)>/.exec(e)},parse:function(e){return{type:"text",content:":"+e[1]+":"}}},timestamp:{order:o.default.defaultRules.text.order-1,match:function(e){return D.exec(e)},parse:function(e){var t=e[1],n=e[2],r=(0,i.default)(1e3*Number(t));return{timestamp:t,full:r.format("LLLL"),formatted:"R"===n?r.fromNow():r.format(b[n]||b.f)}}},s:{order:o.default.defaultRules.u.order,match:o.default.inlineRegex(/^~~([\s\S]+?)~~(?!_)/),parse:o.default.defaultRules.u.parse},spoiler:{order:o.default.defaultRules.text.order,match:function(e){return T.MARKDOWN_SPOILER_REGEXP.exec(e)},parse:function(e,t,n){return{content:t(e[1],n),channelId:n.channelId}}}},P=(0,v.default)([M,m.default]),w=r.default.omit(P,["inlineCode","codeBlock","br","blockQuote"]),U=r.default.omit(P,["codeBlock","br","mention","channel","roleMention"]),k=r.default.omit((0,v.default)([P,{inlineCode:{match:function(e,t,n){var r=P.codeBlock.match(e,t,n);if(null!=r)return r;var i=P.inlineCode.match(e,t,n);return null!=i?i:void 0}}}]),["blockQuote","codeBlock","br"]),G=r.default.omit(P,["codeBlock","br","blockQuote"]),Y=r.default.omit(P,["codeBlock","br","blockQuote","customEmoji","mention","roleMention","channel","paragraph","newline"]),x={RULES:P,CHANNEL_TOPIC_RULES:w,EMBED_TITLE_RULES:U,INLINE_REPLY_RULES:k,GUILD_VERIFICATION_FORM_RULES:G,BIO_RULES:Y};t.default=x},function(e,t,n){"use strict";function r(){return(r=Object.assign||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}).apply(this,arguments)}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t,n={},o=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(e);!(t=o()).done;){var a=t.value;for(var s in a)n[s]=s in n?r({},n[s],{},a[s]):r({},a[s])}return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateFlags=function(e,t,n){return i.default.dispatch({type:o.ActionTypes.LIBRARY_APPLICATION_FLAGS_UPDATE_START,applicationId:e,branchId:t,flags:n}),r.default.patch({url:o.Endpoints.LIBRARY_APPLICATION_BRANCH(e,t),body:{flags:n},oldFormErrors:!0}).then((function(e){i.default.dispatch({type:o.ActionTypes.LIBRARY_APPLICATION_FLAGS_UPDATE_SUCCESS,libraryApplication:e.body})}))};var r=a(n(14)),i=a(n(2)),o=n(1);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=b(n(133)),i=b(n(3)),o=b(n(28)),a=b(n(2)),s=b(n(728)),u=b(n(478)),l=n(770),c=b(n(695)),d=b(n(132)),f=R(n(965)),_=R(n(429)),p=b(n(26)),E=b(n(5656)),h=b(n(13)),m=n(5657),v=n(265),T=b(n(16)),g=b(n(43)),I=b(n(11)),S=b(n(71)),y=b(n(430)),A=b(n(79)),O=n(1);function N(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return N=function(){return e},e}function R(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=N();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function b(e){return e&&e.__esModule?e:{default:e}}function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(){return(C=Object.assign||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}).apply(this,arguments)}function M(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function w(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function U(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){w(o,r,i,a,s,"next",e)}function s(e){w(o,r,i,a,s,"throw",e)}a(void 0)}))}}var k,G,Y=(0,r.default)({ATTACHING:null,CONNECTING:null,CONNECTED:null,READY:null,CRASHED:null,CONNECT_FAILED:null,HOOK_FAILED:null}),x="OverlayStore",V="overlayEnabled",H=(0,m.createLock)(),F=new Map,B=!1,j=new Set,W=!1,K=!1,z=null,q=new Set,X=!1,J=new Set([O.ActionTypes.CONNECTION_OPEN,O.ActionTypes.CONNECTION_RESUMED,O.ActionTypes.CONNECTION_CLOSED,O.ActionTypes.WINDOW_FOCUS,O.ActionTypes.WINDOW_RESIZED,O.ActionTypes.CHANNEL_SELECT,O.ActionTypes.DELAYED_CHANNEL_SELECT,O.ActionTypes.DELAYED_SELECT_FLUSH,O.ActionTypes.LOAD_MESSAGES_SUCCESS,O.ActionTypes.LOAD_MESSAGES_FAILURE,O.ActionTypes.LOAD_MESSAGES,O.ActionTypes.MESSAGE_START_EDIT,O.ActionTypes.MESSAGE_UPDATE_EDIT,O.ActionTypes.MESSAGE_END_EDIT,O.ActionTypes.APP_VIEW_SET_HOME_LINK,O.ActionTypes.APPLICATION_STORE_LOCATION_CHANGE,O.ActionTypes.LOGIN,O.ActionTypes.LOGIN_SUCCESS,O.ActionTypes.LOGIN_FAILURE,O.ActionTypes.LOGIN_MFA_STEP,O.ActionTypes.LOGIN_MFA,O.ActionTypes.LOGIN_MFA_FAILURE,O.ActionTypes.LOGIN_MFA_SMS,O.ActionTypes.LOGIN_MFA_SMS_REQUEST_SUCCESS,O.ActionTypes.LOGIN_MFA_SMS_FAILURE,O.ActionTypes.LOGIN_ACCOUNT_SCHEDULED_FOR_DELETION,O.ActionTypes.LOGIN_ACCOUNT_DISABLED,O.ActionTypes.LOGIN_RESET,O.ActionTypes.FINGERPRINT,O.ActionTypes.REGISTER,O.ActionTypes.REGISTER_SUCCESS,O.ActionTypes.REGISTER_FAILURE,O.ActionTypes.VERIFY_FAILURE,O.ActionTypes.VERIFY_SUCCESS,O.ActionTypes.START_SESSION,O.ActionTypes.FORGOT_PASSWORD_SENT,O.ActionTypes.UPDATE_TOKEN,O.ActionTypes.SET_CONSENT_REQUIRED,O.ActionTypes.POPOUT_OPEN,O.ActionTypes.POPOUT_CLOSE,O.ActionTypes.POPOUT_CLOSE_ALL,O.ActionTypes.POPOUT_NEEDS_RERENDER,O.ActionTypes.POPOUT_DID_RERENDER,O.ActionTypes.TOOLTIP_SHOW,O.ActionTypes.TOOLTIP_HIDE,O.ActionTypes.CONTEXT_MENU_OPEN,O.ActionTypes.CONTEXT_MENU_CLOSE,O.ActionTypes.MODAL_PUSH,O.ActionTypes.MODAL_POP,O.ActionTypes.MODAL_UPDATE,O.ActionTypes.MODAL_POP_ALL,O.ActionTypes.GUILD_SETTINGS_OPEN,O.ActionTypes.USER_SETTINGS_MODAL_OPEN,O.ActionTypes.CHANNEL_SETTINGS_OPEN,O.ActionTypes.CREATE_CHANNEL_MODAL_OPEN,O.ActionTypes.NOTIFICATION_SETTINGS_MODAL_OPEN,O.ActionTypes.CHANGE_NICKNAME_MODAL_OPEN,O.ActionTypes.CHANGE_LOG_OPEN,O.ActionTypes.EMAIL_VERIFICATION_MODAL_OPEN,O.ActionTypes.MENTION_MODAL_OPEN,O.ActionTypes.QUICKSWITCHER_SHOW,O.ActionTypes.PRIVACY_SETTINGS_MODAL_OPEN,O.ActionTypes.SEARCH_MODAL_OPEN,O.ActionTypes.GUILD_SETTINGS_CLOSE,O.ActionTypes.USER_SETTINGS_MODAL_CLOSE,O.ActionTypes.CHANNEL_SETTINGS_CLOSE,O.ActionTypes.CREATE_CHANNEL_MODAL_CLOSE,O.ActionTypes.NOTIFICATION_SETTINGS_MODAL_CLOSE,O.ActionTypes.CHANGE_NICKNAME_MODAL_CLOSE,O.ActionTypes.CHANGE_LOG_CLOSE,O.ActionTypes.EMAIL_VERIFICATION_MODAL_CLOSE,O.ActionTypes.MENTION_MODAL_CLOSE,O.ActionTypes.QUICKSWITCHER_HIDE,O.ActionTypes.PRIVACY_SETTINGS_MODAL_CLOSE,O.ActionTypes.SEARCH_MODAL_CLOSE,O.ActionTypes.CHANGE_NICKNAME_MODAL_SUBMIT,O.ActionTypes.QUICKSWITCHER_SHOW,O.ActionTypes.QUICKSWITCHER_HIDE,O.ActionTypes.QUICKSWITCHER_SWITCH_TO,O.ActionTypes.QUICKSWITCHER_SEARCH,O.ActionTypes.QUICKSWITCHER_SELECT,O.ActionTypes.UPDATE_CHANNEL_DIMENSIONS,O.ActionTypes.UPDATE_CHANNEL_LIST_DIMENSIONS,O.ActionTypes.UPDATE_GUILD_LIST_DIMENSIONS,O.ActionTypes.TRACK,O.ActionTypes.CHANNEL_SETTINGS_OPEN,O.ActionTypes.CHANNEL_SETTINGS_INIT,O.ActionTypes.CHANNEL_SETTINGS_CLOSE,O.ActionTypes.GUILD_SETTINGS_INIT,O.ActionTypes.GUILD_SETTINGS_OPEN,O.ActionTypes.GUILD_SETTINGS_CLOSE,O.ActionTypes.TUTORIAL_INDICATOR_SHOW,O.ActionTypes.TUTORIAL_INDICATOR_HIDE,O.ActionTypes.TUTORIAL_INDICATOR_SUPPRESS_ALL,O.ActionTypes.USER_SETTINGS_ACCOUNT_INIT,O.ActionTypes.USER_SETTINGS_ACCOUNT_CLOSE,O.ActionTypes.NOTICE_SHOW,O.ActionTypes.NOTICE_DISMISS,O.ActionTypes.NOTICE_DISABLE,O.ActionTypes.SEARCH_EDITOR_STATE_CHANGE,O.ActionTypes.SEARCH_EDITOR_STATE_CLEAR,O.ActionTypes.SEARCH_START,O.ActionTypes.SEARCH_FINISH,O.ActionTypes.SEARCH_INDEXING,O.ActionTypes.SEARCH_CLEAR,O.ActionTypes.SEARCH_ENSURE_SEARCH_STATE,O.ActionTypes.SEARCH_AUTOCOMPLETE_QUERY_UPDATE,O.ActionTypes.SEARCH_CLEAR_HISTORY,O.ActionTypes.SEARCH_SET_SHOW_BLOCKED_RESULTS,O.ActionTypes.LAYOUT_CREATE,O.ActionTypes.EXPERIMENT_REGISTER_LEGACY,O.ActionTypes.EXPERIMENT_TRIGGER,O.ActionTypes.POPOUT_WINDOW_OPEN,O.ActionTypes.POPOUT_WINDOW_CLOSE,O.ActionTypes.POPOUT_WINDOW_SET_ALWAYS_ON_TOP,O.ActionTypes.TYPING_START_LOCAL,O.ActionTypes.TYPING_STOP_LOCAL,O.ActionTypes.SPOTIFY_SET_ACTIVE_DEVICE,O.ActionTypes.LOAD_INVITE_SUGGESTIONS,O.ActionTypes.INVITE_SUGGESTIONS_SEARCH,O.ActionTypes.VIEW_AS_ROLES_UPDATE,O.ActionTypes.VIEW_AS_ROLES_STOP,O.ActionTypes.CREATE_PENDING_REPLY,O.ActionTypes.DELETE_PENDING_REPLY]),Q=new Set,Z=T.default.embedded&&(T.default.isWindows()||!1),$=new p.default("OverlayBridgeStore");function ee(e,t){return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e((function(){return t.apply(void 0,r)}))}}function te(e,t,n){void 0===n&&(n=null);var r=F.get(e);null!==n&&r!==n||r===t||(null==t?F.delete(e):F.set(e,t),null!=t&&t!==Y.CRASHED||(z=null),q.delete(e),$.info("pid="+e+" status transition "+(r||"DISCONNECTED")+" -> "+(t||"DISCONNECTED")),B!==(B=Array.from(F.values()).some((function(e){return e===Y.READY})))&&g.default.setBackgroundThrottling(!B))}var ne=function(){var e=U(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!g.default.supportsFeature(O.NativeFeatures.CREATE_HOST_ON_ATTACH)){e.next=11;break}if(!(F.size>0)){e.next=8;break}return e.next=4,se();case 4:n=e.sent,t.createHostProcess(n,de,ce),e.next=9;break;case 8:t.destroyHostProcess();case 9:e.next=19;break;case 11:if(!W){e.next=18;break}return e.next=14,se();case 14:r=e.sent,t.createHostProcess(r,de,ce),e.next=19;break;case 18:t.destroyHostProcess();case 19:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),re=function(){var e=U(regeneratorRuntime.mark((function e(t){var n,r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==(n=F.get(t))){e.next=4;break}return $.warn("Trying to attach to pid="+t+", that is already in status: "+n),e.abrupt("return");case 4:return e.next=6,ue();case 6:return r=e.sent,te(t,Y.ATTACHING),e.next=10,f.attachToProcess(t);case 10:if(null!=(i=e.sent)){e.next=18;break}return te(t,Y.CONNECTING,Y.ATTACHING),e.next=15,ne(r);case 15:r.connectProcess(t),e.next=20;break;case 18:te(t,Y.HOOK_FAILED,Y.ATTACHING),$.warn("Could not hook to pid="+t+", error="+i);case 20:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ie=function(){var e=U(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(F.has(t)){e.next=3;break}return $.warn("Trying to detach from pid "+t+", which is in an unknown state"),e.abrupt("return");case 3:return e.next=5,ue();case 5:return n=e.sent,te(t,null),t!==v.DEV_PID&&(f.cancelAttachToProcess(t),n.disconnectProcess(t)),e.next=10,ne(n);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),oe=function(){var e=U(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=M(F.keys());case 1:if((n=t()).done){e.next=7;break}return r=n.value,e.next=5,ie(r);case 5:e.next=1;break;case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ae=ee(H,function(){var e=U(regeneratorRuntime.mark((function e(t){var n,r,i,o,a,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:void 0===t&&(t=null),null==t&&(t=W&&K?A.default.getOverlayEligiblePIDs():[]),n=M(t);case 3:if((r=n()).done){e.next=10;break}if(i=r.value,F.has(i)){e.next=8;break}return e.next=8,re(i);case 8:e.next=3;break;case 10:o=M(F.keys());case 11:if((a=o()).done){e.next=18;break}if(s=a.value,t.includes(s)){e.next=16;break}return e.next=16,ie(s);case 16:e.next=11;break;case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());function se(){return new Promise((function(e){Ie.addConditionalChangeListener((function(){if(null!=k)return e(k),!1}))}))}var ue=function(){var e=null;function t(e){for(var t=0,n=["createHostProcess","connectProcess","disconnectProcess","destroyHostProcess"];t<n.length;t++){var r=n[t];null==e[r]&&($.info("polyfilling OverlayModule."+r+"(); Overlay module is probably out of date."),e[r]=function(){})}return e}function n(){return(n=U(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Z){e.next=3;break}throw $.error("Attempted to load overlay on an unsupported platform."),new Error("Overlay is not supported on this platform.");case 3:return e.prev=3,e.next=6,g.default.ensureModule("discord_overlay2");case 6:return e.abrupt("return",t(g.default.requireModule("discord_overlay2")));case 9:throw e.prev=9,e.t0=e.catch(3),$.error("failed ensuring discord_overlay2",e.t0),e.t0;case 13:case"end":return e.stop()}}),e,null,[[3,9]])})))).apply(this,arguments)}return function(){return null==e&&(e=function(){return n.apply(this,arguments)}()),e}}(),le=ee(H,function(){var e=U(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Z&&W!==t){e.next=2;break}return e.abrupt("return");case 2:return W=t,o.default.set(V,W),Ie.emitChange(),e.next=7,ue();case 7:if(n=e.sent,!W){e.next=14;break}return e.next=11,ne(n);case 11:ae(),e.next=18;break;case 14:return e.next=16,oe();case 16:return e.next=18,ne(n);case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());function ce(e){c.default.setFocusedPID(0===e?null:e)}function de(e,t,n){var r=A.default.getGameNameForPID(e),i=S.default.getGameByName(r),o=C({game_name:r,game_id:null==i?null:i.id,success:t},n);(0,l.createLayout)(v.OVERLAY_LAYOUT_ID,y.default.getDefaultLayout(v.OVERLAY_LAYOUT_ID),{width:n.graphics_width,height:n.graphics_height}),h.default.track(O.AnalyticEvents.OVERLAY_HOOK_RESULT,o),$.info("Overlay connection to "+e+" "+(t?"succeeded":"failed"),o),te(e,t?Y.CONNECTED:Y.CONNECT_FAILED,Y.CONNECTING)}function fe(){var e=I.default.getToken();null!=e&&_.send({type:O.OverlayEventTypes.DISPATCH,pid:null,payloads:[{type:O.ActionTypes.UPDATE_TOKEN,token:e}]})}function _e(){return ae(),!1}function pe(e){return Ee.apply(this,arguments)}function Ee(){return(Ee=U(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ue();case 2:n=e.sent,null!=z&&z!==v.DEV_PID&&n.sendCommand(z,{message:"intercept_input",intercept:!t});case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function he(e){e?setTimeout((function(){return pe(e)}),200):pe(e)}var me=null;function ve(e){return X||!B||J.has(e.type)||(j.add(e),null==G&&(G=setTimeout(Te,1))),!1}function Te(){null!=G&&(clearTimeout(G),G=null),B?j.size>0&&(_.send({type:O.OverlayEventTypes.DISPATCH,pid:null,payloads:Array.from(j)}),j.clear()):j.clear()}function ge(e){switch(e.type){case O.OverlayEventTypes.CONNECT:var t=I.default.getToken();if(null==t)break;(0,l.createLayout)(v.OVERLAY_LAYOUT_ID,y.default.getDefaultLayout(v.OVERLAY_LAYOUT_ID)),Promise.all([(0,E.default)(t,e.pid),i.default.PersistedStore.getAllStates()]).then((function(t){var n=t[0],r=t[1],i=e.pid;_.send({type:O.OverlayEventTypes.STORAGE_SYNC,pid:i,states:r}),_.send({type:O.OverlayEventTypes.DISPATCH,pid:i,payloads:[n]}),te(i,Y.READY),c.default.overlayReady(i)}));break;case O.OverlayEventTypes.DISPATCH:null!=e.payloads&&(n=e.payloads,X=!0,n.forEach((function(e){return a.default.dispatch(e)})),X=!1);break;case O.OverlayEventTypes.LOG_MESSAGES:$.info("[overlay data received]",e.payload)}var n}var Ie=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,D(t,n);var i,s,u,l=r.prototype;return l.initialize=function(){if(Z&&!__OVERLAY__){var e=function(){var e=o.default.get(V);if("boolean"==typeof e)return e;var t=o.default.get(x);return null!=t&&"boolean"==typeof t.enabled&&(e=t.enabled,delete t.enabled,o.default.set(V,e),o.default.set(x,t)),"boolean"!=typeof e?Z:e}();this.waitFor(A.default,I.default),this.syncWith([A.default],_e),_.setReceiveHandler(ge),I.default.addChangeListener(fe),le(e),a.default.setInterceptor(ve)}},l.isInputLocked=function(e){return!q.has(e)},l.isSupported=function(){return Z},l.getFocusedPID=function(){return z},l.isReady=function(e){return F.get(e)===Y.READY},l.isCrashed=function(e){return F.get(e)===Y.CRASHED},i=r,(s=[{key:"enabled",get:function(){return W}}])&&L(i.prototype,s),u&&L(i,u),r}(i.default.Store))(a.default,__OVERLAY__?{}:{CONNECTION_OPEN:function(e){return K=!0,void ae()},CONNECTION_CLOSED:function(e){return K=!1,z=null,void ae()},OVERLAY_SET_ENABLED:function(e){var t=e.enabled;return le(t),!1},OVERLAY_FOCUSED:function(e){var t=e.pid;z=t},OVERLAY_GAMES_CHANGE:function(e){return _e()},OVERLAY_SET_INPUT_LOCKED:function(e){var t=e.locked,n=e.pid,r=F.get(n);(t||r===Y.READY||r===Y.CRASHED)&&(t?q.delete(n):q.add(n),Q.clear(),me&&(clearTimeout(me),me=null,t)||(t?he(t):me=setTimeout((function(){he(t),me=null}),100)))},OVERLAY_ACTIVATE_REGION:function(e){var t=e.region;Q.add(t),he(!1)},OVERLAY_DEACTIVATE_ALL_REGIONS:function(e){return Q.clear(),void he(!0)},RPC_SERVER_READY:function(e){var t=e.port;k=O.Routes.OVERLAY(t)},OVERLAY_CALL_PRIVATE_CHANNEL:function(t){var n=t.channelId,r=t.ring;e((function(){d.default.selectPrivateChannel(n),s.default.call(n,!1,Boolean(r))}))},OVERLAY_JOIN_GAME:function(t){var n=t.userId,r=t.sessionId,i=t.applicationId,o=t.channelId,a=t.messageId;e((function(){u.default.join(n,r,i,o,a),null!=z&&c.default.setLocked(!0,z)}))},OVERLAY_CRASHED:function(e){te(e.pid,Y.CRASHED)}}),Se=Ie;t.default=Se}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.statesWillNeverBeEqual=l,t.default=c,t.useStateFromStoresObject=function(e,t,n){return c(e,t,n,i.default)},t.useStateFromStoresArray=function(e,t,n){return c(e,t,n,s)};var r=n(0),i=a(n(184)),o=a(n(432));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return null!=t&&e.length===t.length&&!e.some((function(e,n){return t[n]!==e}))}function u(e,t){return e===t}function l(e,t){return!1}function c(t,n,i,a){void 0===a&&(a=u);var c=null!=i?i:[n],d=(0,r.useRef)(n),f=(0,r.useRef)(),_=(0,r.useRef)(),p=_.current;s(c,f.current)||(p="true"===e.env.DEBUG_GET_STATE_FROM_STORES?function(e,t){if(t===l)return e();var n=e(),r=e();t(n,r)||console.error("Two subsequent calls to getStateFromStores within a useStateFromStores returns states that are not equal. Expand the stack trace of this error to find out more!",n,r);return n}(n,a):n()),(0,r.useLayoutEffect)((function(){d.current=n,f.current=c}),c),(0,r.useLayoutEffect)((function(){_.current=p}),[p]);var E=(0,r.useState)(null)[1];return(0,r.useLayoutEffect)((function(){var e=function(){var e=d.current();a(_.current,e)||(_.current=e,E({}))};e();var n=new o.default(t,e);return n.attach("useStateFromStores"),function(){return n.detach()}}),[]),p}}).call(this,n(100))},function(e,t,n){var r=n(1536);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){(function(n){var r;t=e.exports=f,r="object"==typeof n&&n.env&&n.env.NODE_DEBUG&&/\bsemver\b/i.test(n.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var i=Number.MAX_SAFE_INTEGER||9007199254740991,o=t.re=[],a=t.src=[],s=t.tokens={},u=0;function l(e){s[e]=u++}l("NUMERICIDENTIFIER"),a[s.NUMERICIDENTIFIER]="0|[1-9]\\d*",l("NUMERICIDENTIFIERLOOSE"),a[s.NUMERICIDENTIFIERLOOSE]="[0-9]+",l("NONNUMERICIDENTIFIER"),a[s.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",l("MAINVERSION"),a[s.MAINVERSION]="("+a[s.NUMERICIDENTIFIER]+")\\.("+a[s.NUMERICIDENTIFIER]+")\\.("+a[s.NUMERICIDENTIFIER]+")",l("MAINVERSIONLOOSE"),a[s.MAINVERSIONLOOSE]="("+a[s.NUMERICIDENTIFIERLOOSE]+")\\.("+a[s.NUMERICIDENTIFIERLOOSE]+")\\.("+a[s.NUMERICIDENTIFIERLOOSE]+")",l("PRERELEASEIDENTIFIER"),a[s.PRERELEASEIDENTIFIER]="(?:"+a[s.NUMERICIDENTIFIER]+"|"+a[s.NONNUMERICIDENTIFIER]+")",l("PRERELEASEIDENTIFIERLOOSE"),a[s.PRERELEASEIDENTIFIERLOOSE]="(?:"+a[s.NUMERICIDENTIFIERLOOSE]+"|"+a[s.NONNUMERICIDENTIFIER]+")",l("PRERELEASE"),a[s.PRERELEASE]="(?:-("+a[s.PRERELEASEIDENTIFIER]+"(?:\\."+a[s.PRERELEASEIDENTIFIER]+")*))",l("PRERELEASELOOSE"),a[s.PRERELEASELOOSE]="(?:-?("+a[s.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+a[s.PRERELEASEIDENTIFIERLOOSE]+")*))",l("BUILDIDENTIFIER"),a[s.BUILDIDENTIFIER]="[0-9A-Za-z-]+",l("BUILD"),a[s.BUILD]="(?:\\+("+a[s.BUILDIDENTIFIER]+"(?:\\."+a[s.BUILDIDENTIFIER]+")*))",l("FULL"),l("FULLPLAIN"),a[s.FULLPLAIN]="v?"+a[s.MAINVERSION]+a[s.PRERELEASE]+"?"+a[s.BUILD]+"?",a[s.FULL]="^"+a[s.FULLPLAIN]+"$",l("LOOSEPLAIN"),a[s.LOOSEPLAIN]="[v=\\s]*"+a[s.MAINVERSIONLOOSE]+a[s.PRERELEASELOOSE]+"?"+a[s.BUILD]+"?",l("LOOSE"),a[s.LOOSE]="^"+a[s.LOOSEPLAIN]+"$",l("GTLT"),a[s.GTLT]="((?:<|>)?=?)",l("XRANGEIDENTIFIERLOOSE"),a[s.XRANGEIDENTIFIERLOOSE]=a[s.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",l("XRANGEIDENTIFIER"),a[s.XRANGEIDENTIFIER]=a[s.NUMERICIDENTIFIER]+"|x|X|\\*",l("XRANGEPLAIN"),a[s.XRANGEPLAIN]="[v=\\s]*("+a[s.XRANGEIDENTIFIER]+")(?:\\.("+a[s.XRANGEIDENTIFIER]+")(?:\\.("+a[s.XRANGEIDENTIFIER]+")(?:"+a[s.PRERELEASE]+")?"+a[s.BUILD]+"?)?)?",l("XRANGEPLAINLOOSE"),a[s.XRANGEPLAINLOOSE]="[v=\\s]*("+a[s.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[s.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[s.XRANGEIDENTIFIERLOOSE]+")(?:"+a[s.PRERELEASELOOSE]+")?"+a[s.BUILD]+"?)?)?",l("XRANGE"),a[s.XRANGE]="^"+a[s.GTLT]+"\\s*"+a[s.XRANGEPLAIN]+"$",l("XRANGELOOSE"),a[s.XRANGELOOSE]="^"+a[s.GTLT]+"\\s*"+a[s.XRANGEPLAINLOOSE]+"$",l("COERCE"),a[s.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",l("COERCERTL"),o[s.COERCERTL]=new RegExp(a[s.COERCE],"g"),l("LONETILDE"),a[s.LONETILDE]="(?:~>?)",l("TILDETRIM"),a[s.TILDETRIM]="(\\s*)"+a[s.LONETILDE]+"\\s+",o[s.TILDETRIM]=new RegExp(a[s.TILDETRIM],"g");l("TILDE"),a[s.TILDE]="^"+a[s.LONETILDE]+a[s.XRANGEPLAIN]+"$",l("TILDELOOSE"),a[s.TILDELOOSE]="^"+a[s.LONETILDE]+a[s.XRANGEPLAINLOOSE]+"$",l("LONECARET"),a[s.LONECARET]="(?:\\^)",l("CARETTRIM"),a[s.CARETTRIM]="(\\s*)"+a[s.LONECARET]+"\\s+",o[s.CARETTRIM]=new RegExp(a[s.CARETTRIM],"g");l("CARET"),a[s.CARET]="^"+a[s.LONECARET]+a[s.XRANGEPLAIN]+"$",l("CARETLOOSE"),a[s.CARETLOOSE]="^"+a[s.LONECARET]+a[s.XRANGEPLAINLOOSE]+"$",l("COMPARATORLOOSE"),a[s.COMPARATORLOOSE]="^"+a[s.GTLT]+"\\s*("+a[s.LOOSEPLAIN]+")$|^$",l("COMPARATOR"),a[s.COMPARATOR]="^"+a[s.GTLT]+"\\s*("+a[s.FULLPLAIN]+")$|^$",l("COMPARATORTRIM"),a[s.COMPARATORTRIM]="(\\s*)"+a[s.GTLT]+"\\s*("+a[s.LOOSEPLAIN]+"|"+a[s.XRANGEPLAIN]+")",o[s.COMPARATORTRIM]=new RegExp(a[s.COMPARATORTRIM],"g");l("HYPHENRANGE"),a[s.HYPHENRANGE]="^\\s*("+a[s.XRANGEPLAIN]+")\\s+-\\s+("+a[s.XRANGEPLAIN]+")\\s*$",l("HYPHENRANGELOOSE"),a[s.HYPHENRANGELOOSE]="^\\s*("+a[s.XRANGEPLAINLOOSE]+")\\s+-\\s+("+a[s.XRANGEPLAINLOOSE]+")\\s*$",l("STAR"),a[s.STAR]="(<|>)?=?\\s*\\*";for(var c=0;c<u;c++)r(c,a[c]),o[c]||(o[c]=new RegExp(a[c]));function d(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof f)return e;if("string"!=typeof e)return null;if(e.length>256)return null;if(!(t.loose?o[s.LOOSE]:o[s.FULL]).test(e))return null;try{return new f(e,t)}catch(e){return null}}function f(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof f){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof f))return new f(e,t);r("SemVer",e,t),this.options=t,this.loose=!!t.loose;var n=e.trim().match(t.loose?o[s.LOOSE]:o[s.FULL]);if(!n)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}t.parse=d,t.valid=function(e,t){var n=d(e,t);return n?n.version:null},t.clean=function(e,t){var n=d(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null},t.SemVer=f,f.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},f.prototype.toString=function(){return this.version},f.prototype.compare=function(e){return r("SemVer.compare",this.version,this.options,e),e instanceof f||(e=new f(e,this.options)),this.compareMain(e)||this.comparePre(e)},f.prototype.compareMain=function(e){return e instanceof f||(e=new f(e,this.options)),p(this.major,e.major)||p(this.minor,e.minor)||p(this.patch,e.patch)},f.prototype.comparePre=function(e){if(e instanceof f||(e=new f(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var n=this.prerelease[t],i=e.prerelease[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return p(n,i)}while(++t)},f.prototype.compareBuild=function(e){e instanceof f||(e=new f(e,this.options));var t=0;do{var n=this.build[t],i=e.build[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return p(n,i)}while(++t)},f.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new f(e,n).inc(t,r).version}catch(e){return null}},t.diff=function(e,t){if(v(e,t))return null;var n=d(e),r=d(t),i="";if(n.prerelease.length||r.prerelease.length){i="pre";var o="prerelease"}for(var a in n)if(("major"===a||"minor"===a||"patch"===a)&&n[a]!==r[a])return i+a;return o},t.compareIdentifiers=p;var _=/^[0-9]+$/;function p(e,t){var n=_.test(e),r=_.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1}function E(e,t,n){return new f(e,n).compare(new f(t,n))}function h(e,t,n){return E(e,t,n)>0}function m(e,t,n){return E(e,t,n)<0}function v(e,t,n){return 0===E(e,t,n)}function T(e,t,n){return 0!==E(e,t,n)}function g(e,t,n){return E(e,t,n)>=0}function I(e,t,n){return E(e,t,n)<=0}function S(e,t,n,r){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return v(e,n,r);case"!=":return T(e,n,r);case">":return h(e,n,r);case">=":return g(e,n,r);case"<":return m(e,n,r);case"<=":return I(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function y(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof y){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof y))return new y(e,t);r("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===A?this.value="":this.value=this.operator+this.semver.version,r("comp",this)}t.rcompareIdentifiers=function(e,t){return p(t,e)},t.major=function(e,t){return new f(e,t).major},t.minor=function(e,t){return new f(e,t).minor},t.patch=function(e,t){return new f(e,t).patch},t.compare=E,t.compareLoose=function(e,t){return E(e,t,!0)},t.compareBuild=function(e,t,n){var r=new f(e,n),i=new f(t,n);return r.compare(i)||r.compareBuild(i)},t.rcompare=function(e,t,n){return E(t,e,n)},t.sort=function(e,n){return e.sort((function(e,r){return t.compareBuild(e,r,n)}))},t.rsort=function(e,n){return e.sort((function(e,r){return t.compareBuild(r,e,n)}))},t.gt=h,t.lt=m,t.eq=v,t.neq=T,t.gte=g,t.lte=I,t.cmp=S,t.Comparator=y;var A={};function O(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof O)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new O(e.raw,t);if(e instanceof y)return new O(e.value,t);if(!(this instanceof O))return new O(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function N(e,t){for(var n=!0,r=e.slice(),i=r.pop();n&&r.length;)n=r.every((function(e){return i.intersects(e,t)})),i=r.pop();return n}function R(e){return!e||"x"===e.toLowerCase()||"*"===e}function b(e,t,n,r,i,o,a,s,u,l,c,d,f){return((t=R(n)?"":R(r)?">="+n+".0.0":R(i)?">="+n+"."+r+".0":">="+t)+" "+(s=R(u)?"":R(l)?"<"+(+u+1)+".0.0":R(c)?"<"+u+"."+(+l+1)+".0":d?"<="+u+"."+l+"."+c+"-"+d:"<="+s)).trim()}function L(e,t,n){for(var i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(i=0;i<e.length;i++)if(r(e[i].semver),e[i].semver!==A&&e[i].semver.prerelease.length>0){var o=e[i].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}function D(e,t,n){try{t=new O(t,n)}catch(e){return!1}return t.test(e)}function C(e,t,n,r){var i,o,a,s,u;switch(e=new f(e,r),t=new O(t,r),n){case">":i=h,o=I,a=m,s=">",u=">=";break;case"<":i=m,o=g,a=h,s="<",u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(D(e,t,r))return!1;for(var l=0;l<t.set.length;++l){var c=t.set[l],d=null,_=null;if(c.forEach((function(e){e.semver===A&&(e=new y(">=0.0.0")),d=d||e,_=_||e,i(e.semver,d.semver,r)?d=e:a(e.semver,_.semver,r)&&(_=e)})),d.operator===s||d.operator===u)return!1;if((!_.operator||_.operator===s)&&o(e,_.semver))return!1;if(_.operator===u&&a(e,_.semver))return!1}return!0}y.prototype.parse=function(e){var t=this.options.loose?o[s.COMPARATORLOOSE]:o[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new f(n[2],this.options.loose):this.semver=A},y.prototype.toString=function(){return this.value},y.prototype.test=function(e){if(r("Comparator.test",e,this.options.loose),this.semver===A||e===A)return!0;if("string"==typeof e)try{e=new f(e,this.options)}catch(e){return!1}return S(e,this.operator,this.semver,this.options)},y.prototype.intersects=function(e,t){if(!(e instanceof y))throw new TypeError("a Comparator is required");var n;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(n=new O(e.value,t),D(this.value,n,t));if(""===e.operator)return""===e.value||(n=new O(this.value,t),D(e.semver,n,t));var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),i=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,a=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=S(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),u=S(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||i||o&&a||s||u},t.Range=O,O.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},O.prototype.toString=function(){return this.range},O.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var n=t?o[s.HYPHENRANGELOOSE]:o[s.HYPHENRANGE];e=e.replace(n,b),r("hyphen replace",e),e=e.replace(o[s.COMPARATORTRIM],"$1$2$3"),r("comparator trim",e,o[s.COMPARATORTRIM]),e=(e=(e=e.replace(o[s.TILDETRIM],"$1~")).replace(o[s.CARETTRIM],"$1^")).split(/\s+/).join(" ");var i=t?o[s.COMPARATORLOOSE]:o[s.COMPARATOR],a=e.split(" ").map((function(e){return function(e,t){return r("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){r("caret",e,t);var n=t.loose?o[s.CARETLOOSE]:o[s.CARET];return e.replace(n,(function(t,n,i,o,a){var s;return r("caret",e,t,n,i,o,a),R(n)?s="":R(i)?s=">="+n+".0.0 <"+(+n+1)+".0.0":R(o)?s="0"===n?">="+n+"."+i+".0 <"+n+"."+(+i+1)+".0":">="+n+"."+i+".0 <"+(+n+1)+".0.0":a?(r("replaceCaret pr",a),s="0"===n?"0"===i?">="+n+"."+i+"."+o+"-"+a+" <"+n+"."+i+"."+(+o+1):">="+n+"."+i+"."+o+"-"+a+" <"+n+"."+(+i+1)+".0":">="+n+"."+i+"."+o+"-"+a+" <"+(+n+1)+".0.0"):(r("no pr"),s="0"===n?"0"===i?">="+n+"."+i+"."+o+" <"+n+"."+i+"."+(+o+1):">="+n+"."+i+"."+o+" <"+n+"."+(+i+1)+".0":">="+n+"."+i+"."+o+" <"+(+n+1)+".0.0"),r("caret return",s),s}))}(e,t)})).join(" ")}(e,t),r("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var n=t.loose?o[s.TILDELOOSE]:o[s.TILDE];return e.replace(n,(function(t,n,i,o,a){var s;return r("tilde",e,t,n,i,o,a),R(n)?s="":R(i)?s=">="+n+".0.0 <"+(+n+1)+".0.0":R(o)?s=">="+n+"."+i+".0 <"+n+"."+(+i+1)+".0":a?(r("replaceTilde pr",a),s=">="+n+"."+i+"."+o+"-"+a+" <"+n+"."+(+i+1)+".0"):s=">="+n+"."+i+"."+o+" <"+n+"."+(+i+1)+".0",r("tilde return",s),s}))}(e,t)})).join(" ")}(e,t),r("tildes",e),e=function(e,t){return r("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var n=t.loose?o[s.XRANGELOOSE]:o[s.XRANGE];return e.replace(n,(function(n,i,o,a,s,u){r("xRange",e,n,i,o,a,s,u);var l=R(o),c=l||R(a),d=c||R(s),f=d;return"="===i&&f&&(i=""),u=t.includePrerelease?"-0":"",l?n=">"===i||"<"===i?"<0.0.0-0":"*":i&&f?(c&&(a=0),s=0,">"===i?(i=">=",c?(o=+o+1,a=0,s=0):(a=+a+1,s=0)):"<="===i&&(i="<",c?o=+o+1:a=+a+1),n=i+o+"."+a+"."+s+u):c?n=">="+o+".0.0"+u+" <"+(+o+1)+".0.0"+u:d&&(n=">="+o+"."+a+".0"+u+" <"+o+"."+(+a+1)+".0"+u),r("xRange return",n),n}))}(e,t)})).join(" ")}(e,t),r("xrange",e),e=function(e,t){return r("replaceStars",e,t),e.trim().replace(o[s.STAR],"")}(e,t),r("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(a=a.filter((function(e){return!!e.match(i)}))),a=a.map((function(e){return new y(e,this.options)}),this)},O.prototype.intersects=function(e,t){if(!(e instanceof O))throw new TypeError("a Range is required");return this.set.some((function(n){return N(n,t)&&e.set.some((function(e){return N(e,t)&&n.every((function(n){return e.every((function(e){return n.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new O(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},O.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new f(e,this.options)}catch(e){return!1}for(var t=0;t<this.set.length;t++)if(L(this.set[t],e,this.options))return!0;return!1},t.satisfies=D,t.maxSatisfying=function(e,t,n){var r=null,i=null;try{var o=new O(t,n)}catch(e){return null}return e.forEach((function(e){o.test(e)&&(r&&-1!==i.compare(e)||(i=new f(r=e,n)))})),r},t.minSatisfying=function(e,t,n){var r=null,i=null;try{var o=new O(t,n)}catch(e){return null}return e.forEach((function(e){o.test(e)&&(r&&1!==i.compare(e)||(i=new f(r=e,n)))})),r},t.minVersion=function(e,t){e=new O(e,t);var n=new f("0.0.0");if(e.test(n))return n;if(n=new f("0.0.0-0"),e.test(n))return n;n=null;for(var r=0;r<e.set.length;++r){e.set[r].forEach((function(e){var t=new f(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!h(n,t)||(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(n&&e.test(n))return n;return null},t.validRange=function(e,t){try{return new O(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,n){return C(e,t,"<",n)},t.gtr=function(e,t,n){return C(e,t,">",n)},t.outside=C,t.prerelease=function(e,t){var n=d(e,t);return n&&n.prerelease.length?n.prerelease:null},t.intersects=function(e,t,n){return e=new O(e,n),t=new O(t,n),e.intersects(t)},t.coerce=function(e,t){if(e instanceof f)return e;"number"==typeof e&&(e=String(e));if("string"!=typeof e)return null;var n=null;if((t=t||{}).rtl){for(var r;(r=o[s.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),o[s.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;o[s.COERCERTL].lastIndex=-1}else n=e.match(o[s.COERCE]);if(null===n)return null;return d(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}}).call(this,n(100))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r,i=f(n(0)),o=c(n(9)),a=n(276),s=f(n(445)),u=n(1),l=c(n(5716));function c(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function _(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.containerRef,n=e.children,r=i.useRef(new s.FocusRingContextManager);return i.useEffect((function(){r.current.setContainer(t.current)}),[t.current]),_(s.default.Provider,{value:r.current},void 0,n,h)}function E(){var e=i.useContext(s.default),t=(0,a.useForceUpdate)();return i.useEffect((function(){return e.invalidate=t,function(){e.invalidate=u.NOOP}}),[e,t]),e.visible?_("div",{className:(0,o.default)(l.default.ring,e.className),style:e.getStyle()}):null}p.displayName="FocusRingScope",E.displayName="Ring";var h=_(E,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.keySection=A,t.parseSection=function(e){var t=e.split(":"),n=t[0],r=t[1];return{context:n,section:r}},t.default=t.RTCDebugVideoOutputMap=void 0;var r=f(n(3)),i=n(34),o=n(57),a=f(n(2)),s=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(744)),u=f(n(51)),l=f(n(12)),c=n(1);function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){return e&&e.__esModule?e:{default:e}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(){return(p=Object.assign||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}).apply(this,arguments)}var E=A(i.MediaEngineContextTypes.DEFAULT,c.RTCDebugSections.TRANSPORT,0),h=E,m={},v=new o.Interval;function T(e,t,n){return e+":"+t+":"+n}var g=function(){function e(e){this.state=e}e.empty=function(){return new e({})};var t=e.prototype;return t.put=function(t,n,r,i){var o;if(""===i){var a=p({},this.state);return delete a[T(t,n,r)],new e(a)}return new e(p(((o={})[T(t,n,r)]=i,o),this.state))},t.get=function(e,t,n){var r=this.state[T(e,t,n)];return null!=r?r:null},e}();t.RTCDebugVideoOutputMap=g;var I=g.empty(),S=!1,y=null;function A(e,t,n){return e+":"+t+":"+n}function O(){Object.values(i.MediaEngineContextTypes).forEach((function(e){m[e]={}}))}function N(){Object.values(i.MediaEngineContextTypes).forEach((function(e){var t=e,n=0;u.default.getMediaEngine().eachConnection((function(e){var r=n++;e.getStats().then((function(n){a.default.dispatch({type:c.ActionTypes.RTC_DEBUG_MODAL_UPDATE,stats:n,context:t,index:r,mediaEngineConnectionId:e.mediaEngineConnectionId})}))}),t)}))}function R(){null!=y&&(y.destroy(),y=null)}O();var b=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n);var o=r.prototype;return o.getSection=function(){return h},o.getStats=function(e){return void 0===e&&(e=i.MediaEngineContextTypes.DEFAULT),m[e][0]},o.getAllStats=function(e){return void 0===e&&(e=i.MediaEngineContextTypes.DEFAULT),Object.values(m[e])},o.getVideoStreams=function(){return I},o.shouldRecordNextConnection=function(){return S},r}(r.default.Store))(a.default,{RTC_DEBUG_MODAL_OPEN:function(e){h=e.section||E,O(),N(),v.start(1e3,N)},RTC_DEBUG_MODAL_CLOSE:function(e){return R(),v.stop(),void O()},RTC_DEBUG_MODAL_SET_SECTION:function(e){h=e.section},RTC_DEBUG_MODAL_UPDATE:function(e){var t=e.context,n=e.stats,r=e.index,i=m[t];if(null!=n){var o=h.split(":"),a=o[0],s=o[1],u=o[2];if(a===t&&parseInt(u)===r)if(null!=l.default.getUser(s)){var c=n.rtp.inbound;Object.keys(c).includes(s)||(h=E)}i[r]=n}else delete i[r]},RTC_DEBUG_MODAL_OPEN_REPLAY:function(e){s.chooseReplayPath()},RTC_DEBUG_MODAL_OPEN_REPLAY_AT_PATH:function(e){var t=e.path,n=u.default.getMediaEngine();if(R(),n.supports(i.Features.CONNECTION_REPLAY)&&0!==t.length){var r=n.createReplayConnection(i.MediaEngineContextTypes.DEFAULT,t);null!=r&&(y=r,r.on("video",(function(e,t,n,i,o){a.default.dispatch({type:c.ActionTypes.RTC_DEBUG_MODAL_UPDATE_VIDEO_OUTPUT,mediaEngineConnectionId:r.mediaEngineConnectionId,userId:e,videoSsrc:i,streamId:t})})),a.default.wait((function(){return s.open()})))}},RTC_DEBUG_MODAL_UPDATE_VIDEO_OUTPUT:function(e){I=I.put(e.mediaEngineConnectionId,e.userId,e.videoSsrc,e.streamId)},RTC_DEBUG_SET_RECORDING_FLAG:function(e){var t=e.value;S=t}});t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.open=function(e,t,n){i.default.dispatch({type:o.ActionTypes.POPOUT_WINDOW_OPEN,key:e,features:a({},s,{},n),render:t})},t.openChannelCallPopout=function(e){i.default.dispatch({type:o.ActionTypes.CHANNEL_CALL_POPOUT_WINDOW_OPEN,channel:e})},t.close=function(e){i.default.dispatch({type:o.ActionTypes.POPOUT_WINDOW_CLOSE,key:e})},t.setAlwaysOnTop=function(e,t){i.default.dispatch({type:o.ActionTypes.POPOUT_WINDOW_SET_ALWAYS_ON_TOP,alwaysOnTop:t,key:e})};var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);function a(){return(a=Object.assign||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}).apply(this,arguments)}var s={menubar:!1,toolbar:!1,location:!1,directories:!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createModeratorOverwrite=function(e,t,n){var r=null==n?void 0:n.permissionOverwrites[e];return h(e,t,r)},t.createOrUpdateModeratorOverwrite=h,t.removeModeratorOverwrite=function(e,t,n){var i,o,a=null==n?void 0:n.permissionOverwrites[e];return{id:e,type:t,deny:null!==(i=null==a?void 0:a.deny)&&void 0!==i?i:c.default.NONE,allow:r.default.remove(null!==(o=null==a?void 0:a.allow)&&void 0!==o?o:c.default.NONE,d.MODERATE_STAGE_CHANNEL_PERMISSIONS)}},t.isEmptyOverwrite=function(e){var t=e.allow,n=e.deny;return r.default.equals(t,c.default.NONE)&&r.default.equals(n,c.default.NONE)},t.useCanCreateStageChannelByGuild=function(e){return(0,i.useStateFromStores)([l.default,a.default,u.default],(function(){var t=a.default.getId(),n=u.default.getGuild(e);return!!(null==n?void 0:n.isOwner(t))||!!l.default.can(d.CREATE_STAGE_CHANNEL_PERMISSIONS,n)}),[e])},t.useCanUpdateStageChannelModerators=function(e){return(0,i.useStateFromStores)([l.default,u.default,s.default],(function(){var t=s.default.getChannel(e),n=u.default.getGuild(null==t?void 0:t.getGuildId());return!(!l.default.can(p.Permissions.ADMINISTRATOR,n)&&!l.default.can(p.Permissions.MANAGE_ROLES,t,void 0,void 0,!0))||!!l.default.can(d.UPDATE_STAGE_CHANNEL_MODERATOR_PERMISSIONS,t)}),[e])},t.useCanModerateRequestToSpeak=function(e){return(0,i.useStateFromStores)([s.default,l.default],(function(){return l.default.can(p.Permissions.MUTE_MEMBERS,s.default.getChannel(e))}),[e])},t.canCreatePublicStage=function(e){return f.default.isModerator(a.default.getId(),e.id)&&l.default.can(p.Permissions.CREATE_INSTANT_INVITE,e)&&c.default.canEveryoneRole(r.default.combine(p.Permissions.VIEW_CHANNEL,p.Permissions.CONNECT),e)},t.canLurkerListen=function(e){if(null==e||!e.isGuildStageVoice())return!1;if(!o.default.isLurking(e.guild_id))return!1;if(!_.default.isPublic(e.id))return!1;return l.default.can(d.JOIN_VOCAL_CHANNEL_PERMISSIONS,e)};var r=E(n(63)),i=n(3),o=E(n(182)),a=E(n(11)),s=E(n(10)),u=E(n(15)),l=E(n(40)),c=E(n(78)),d=n(203),f=E(n(205)),_=E(n(81)),p=n(1);function E(e){return e&&e.__esModule?e:{default:e}}function h(e,t,n){var i,o;return{id:e,type:t,deny:r.default.remove(null!==(i=null==n?void 0:n.deny)&&void 0!==i?i:c.default.NONE,d.MODERATE_STAGE_CHANNEL_PERMISSIONS),allow:r.default.combine(d.MODERATE_STAGE_CHANNEL_PERMISSIONS,null!==(o=null==n?void 0:n.allow)&&void 0!==o?o:c.default.NONE)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=i.default.getLocale().toLowerCase();if(t in e)return e[t];return e.default};var r,i=(r=n(6))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=u(n(9)),a=u(n(61)),s=u(n(5777));function u(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(){return(d=Object.assign||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}).apply(this,arguments)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=c("span",{}),p=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).ref=i.createRef(),t.handleClick=function(){var e=t.ref.current;null!=e&&e.click()},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n),r.prototype.render=function(){var e,t,n=this.props,r=n.children,u=n.containerClassName,l=n.alt,f=function(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}(n,["children","containerClassName","alt"]);return c(a.default,{className:(0,o.default)(s.default.checkbox,(e={},e[s.default.disabled]=f.disabled,e),u),onClick:this.handleClick},void 0,c("div",{className:(0,o.default)(s.default.checkboxInner,(t={},t[s.default.alt]=l,t))},void 0,i.createElement("input",d({ref:this.ref,className:s.default.checkboxElement},f,{type:"checkbox"})),_),c("span",{},void 0,r))},r}(i.Component);t.default=p,p.displayName="Checkbox"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.startEmbeddedActivity=function(e,t){r.default.dispatch({type:o.ActionTypes.EMBEDDED_ACTIVITY_OPEN,channelId:e,applicationId:t}),i.default.selectParticipant(e,t)},t.stopEmbeddedActivity=function(e,t){r.default.dispatch({type:o.ActionTypes.EMBEDDED_ACTIVITY_CLOSE,channelId:e,applicationId:t})};var r=a(n(2)),i=a(n(705)),o=n(1);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TOGGLE_HOTKEYS=void 0;var r=o(n(1327)),i=o(n(1397));function o(e){return e&&e.__esModule?e:{default:e}}var a={binds:["mod+/","mod+shift+/"],comboKeysBindGlobal:!0,action:function(){return i.default.isOpen()?r.default.hide():r.default.show(),!1}};t.TOGGLE_HOTKEYS=a;var s={TOGGLE_HOTKEYS:a};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(3)),i=s(n(2)),o=s(n(1436)),a=n(769);n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l={soundpack:a.Soundpacks.CLASSIC};var c=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var i=r.prototype;return i.initialize=function(e){var t=this;o.default.subscribe({},(function(){return t.emitChange()})),null!=e&&(l=e)},i.getState=function(){return l},i.getSoundpack=function(){return o.default.getCurrentConfig({}).allowSoundpacks?l.soundpack:a.Soundpacks.CLASSIC},r}(r.default.PersistedStore);c.persistKey="SoundpackStore";var d=new c(i.default,{SET_SOUNDPACK:function(e){var t=e.soundpack;l={soundpack:t}}});t.default=d},function(e,t,n){"use strict";e.exports=Object.freeze({DISCORD_DESC_SHORT:"Imagine a place",DISCORD_DESC_LONG:"Join over 100 million people who use Discord to talk and hang out with communities and friends.",NOTIFICATION_BODY_ATTACHMENT:"Uploaded !!{filename}!!",NOTIFICATION_TITLE_START_GAME:"Somebody Playin'",NOTIFICATION_BODY_START_GAME:"!!{username}!! started playing !!{gameName}!!!",NOTIFICATION_MESSAGE_CREATE_GUILD_ACTIVITY_JOIN:"!!{user}!! invited the channel to play !!{game}!!",NOTIFICATION_MESSAGE_CREATE_GROUP_DM_ACTIVITY_JOIN:"!!{user}!! invited the group to play !!{game}!!",NOTIFICATION_MESSAGE_CREATE_DM_ACTIVITY_JOIN:"!!{user}!! invited you to play !!{game}!!",NOTIFICATION_MESSAGE_CREATE_DM_ACTIVITY_JOIN_REQUEST:"!!{user}!! has requested an invite to !!{game}!!",NOTIFICATION_MESSAGE_CREATE_GUILD_ACTIVITY_LISTEN:"!!{user}!! invited the channel to listen on Spotify",NOTIFICATION_MESSAGE_CREATE_GROUP_DM_ACTIVITY_LISTEN:"!!{user}!! invited the group to listen on Spotify",NOTIFICATION_MESSAGE_CREATE_DM_ACTIVITY_LISTEN:"!!{user}!! invited you to listen on Spotify",NOTIFICATION_DISMISS:"Dismiss notification",IOS_NOTIFICATION_SEE_FULL:"Tap to see full message.",ERRORS_UNEXPECTED_CRASH:"Looks like Discord has crashed unexpectedly....",ERRORS_ACTION_TO_TAKE:"We've tracked the error and will get right on it.",ERRORS_RELOAD:"Reload",ERRORS_RESTART_APP:"Restart Discord",ERRORS_STORE_CRASH:"Looks like the Store has crashed unexpectedly....",UNSUPPORTED_BROWSER:"Unsupported Browser",DOWNLOAD_APP:"Download App",CANCEL:"Cancel",FILTER:"Filter",UNSUPPORTED_BROWSER_DETAILS:"You want to be able to talk to your friends, right? Switch to latest Chrome, Opera, Firefox, Edge or download the Discord app to start talking right now!",TRY_AGAIN:"Try Again",EMAIL_VERIFICATION_INSTRUCTIONS_HEADER:"Instructions Sent",EMAIL_VERIFICATION_INSTRUCTIONS_BODY:"\nWe sent instructions to change your password to **!!{email}!!**, please check both your inbox and spam folder.\n  ",HELP:"Help",SUBMIT:"Submit",UNDO:"Undo",SUPPORT:"Support",CHANGE_LOG:"Change Log",DOWNLOAD_APPS:"Download Apps",DISCARD_CHANGES:"Discard unsaved changes?",DISCARD_CHANGES_DESCRIPTION:"You have unsaved changes, are you sure you want to discard them?",SHARE:"Share",INBOX:"Inbox",RECENT_MENTIONS:"Recent Mentions",ALL_SERVERS:"All Servers",THIS_SERVER:"This Server",THIS_SERVER_NAMED:"Only !!{guildName}!!",NO_RECENT_MENTIONS:"Start up some conversations, then keep track of them here!",RECENT_MENTIONS_PRO_TIP:"Whenever someone mentions you it will be saved here for 7 days.",RECENT_MENTIONS_FILTER_EVERYONE:"Include @everyone mentions",RECENT_MENTIONS_FILTER_ROLES:"Include @role mentions",RECENT_MENTIONS_FILTER_ALL_SERVERS:"Include all servers",RECENT_MENTIONS_FILTER_LABEL:"Display:",RECENT_MENTIONS_FILTER_EXPLAIN_EVERYTHING:"Everything",RECENT_MENTIONS_DIRECT_ONLY:"direct only",RECENT_MENTIONS_ROLES_AND_DIRECT:"direct & @role",RECENT_MENTIONS_EVERYONE_AND_DIRECT:"direct & @everyone",RECENT_MENTIONS_EMPTY_STATE_HEADER:"You made it through everything!",RECENT_MENTIONS_EMPTY_STATE_TIP:"Whenever someone mentions you it will be saved here for 7 days.",UNREADS_TAB_LABEL:"Unreads",UNREADS_EMPTY_STATE_HEADER:"You're all caught up!",UNREADS_EMPTY_STATE_TIP:"Open the Inbox by pressing CTRL+I, and mark your top message as read with CTRL+Shift+E.",UNREADS_EMPTY_STATE_TIP_MAC:"Open the Inbox by pressing CMD+I, and mark your top message as read with CMD+Shift+E.",UNREADS_VIEW_CHANNEL:"View all unreads",UNREADS_MARK_READ:"Mark Inbox As Read",UNREADS_TUTORIAL_HEADER:"Stay up to date with latest messages!",UNREADS_TUTORIAL_BODY:"Unread messages from all your unmuted channels will show up here. Time to get to that zero inbox!",UNREADS_CONFIRM_MARK_ALL_READ_HEADER:"Mark all as read?",UNREADS_CONFIRM_MARK_ALL_READ_DESCRIPTION:"This will mark all your unmuted channels as read. Are you sure you want to continue?",UNREADS_OLD_CHANNELS_DIVIDER:"Messages older than 10 days",UNREADS_NO_NOTIFICATIONS_DIVIDER:"Notifications disabled",CHANGE_AVATAR:"Change\nAvatar",CHANGE_AVATAR_A11Y_LABEL:"Change Avatar",REMOVE:"Remove",MINIMUM_SIZE:"Minimum Size: **{size}x{size}**",IMAGES:"Images",AVATAR_CONVERT_FAILURE_MOBILE:"Unable to convert avatar to data URL. {avatarUrl}",CHANGE_ICON:"Change\nIcon",CHANGE_SPLASH:"Change Background",PAGINATION_PREVIOUS:"Previous",PAGINATION_NEXT:"Next",PAGINATION_PAGE_LABEL:"Page {pageNumber}",MUTE:"Mute",UNMUTE:"Unmute",DEAFEN:"Deafen",UNDEAFEN:"Undeafen",SEARCH:"Search",AUTOCOMPLETE_NO_RESULTS_HEADER:"Nope!",AUTOCOMPLETE_NO_RESULTS_BODY:"Did you make a typo?",AUTOCOMPLETE_STICKERS_QUERY_MATCH:"Similar to: !!{queryMatch}!!",AUTOCOMPLETE_EMOJI_UPSELL:"Get {count, plural, one {# more matching emoji} other {# more matching emojis}} with Nitro",AUTOCOMPLETE_EMOJI_UPSELL_MODAL_HEADER:"Get more emoji with Nitro",AUTOCOMPLETE_EMOJI_UPSELL_MODAL_BLURB:"Lift off with Discord Nitro to use animated and custom emojis on any server. [Learn more](onLearnMore)",AUTOCOMPLETE_EMOJI_UPSELL_MODAL_BLURB_MOBILE:"Lift off with Discord Nitro to use animated and custom emojis on any server.",MISSED_AN_UPDATE:"Missed an update? [Check out our previous change logs]({link})",FOLLOW_US_FOR_MORE_UPDATES:"Follow us for more updates!",UPDATE_BADGE_HEADER:"Update",CHANGELOG_SPECIAL_CTA_DESKTOP:"Copy link",CHANGELOG_SPECIAL_CTA_DESKTOP_FALLBACK:"Link to share: **[discord.com/new](https://discord.com/new?ref=changelog)**",CHANGELOG_SPECIAL_CTA_TITLE:"Invite Your Communities to Discord",CHANGELOG_SPECIAL_SHARE_DISCORD:"Share Discord",CHANGELOG_SPECIAL_CTA_BODY:"Show a friend our new home page!\nWe’re here to make a good impression.",CHANGELOG_SPECIAL_CTA:"Share Discord",CHANGELOG_STICKERS_HEADER:"Stickers are here!",CHANGELOG_STICKERS_CTA_TITLE:"Have a question?",CHANGELOG_STICKERS_CTA_BODY:"View our Help Center for more info or hit us up on [Twitter](https://twitter.com/discord). We’re excited to see you express yourself with stickers.",CHANGELOG_STICKERS_CTA:"Learn More",TEXTAREA_PLACEHOLDER:"Message !!{channel}!!",DM_TEXTAREA_PLACEHOLDER:"Message !!{channel}!!",MESSAGE_TOO_LONG_HEADER:"Your message is too long.",MESSAGE_TOO_LONG_BODY_TEXT:"\nPlease make your message of {currentLength} characters shorter. We've set the limit at {maxLength} characters to be courteous to others.\n  ",MESSAGE_RATE_LIMITED_HEADER:"WOAH THERE. WAY TOO SPICY",MESSAGE_RATE_LIMITED_BODY:"You're sending messages too quickly!",MESSAGE_RATE_LIMITED_BUTTON:"Enter the chill zone",OKAY:"Okay",STOP:"Stop",NO_THANKS:"No thanks",BLOCKED_MESSAGES:"{count, plural, one {1 Blocked Message} other {{count} Blocked Messages}}",LOAD_MORE_MESSAGES:"Load more messages",AKA:"AKA",CHARACTER_COUNT_AT_LIMIT:"Message is at max length",CHARACTER_COUNT_CLOSE_TO_LIMIT:"{count} characters remaining",CHARACTER_COUNT_OVER_LIMIT:"Message is too long",CHANNEL_TOOLTIP_VOICE:"Voice",CHANNEL_TOOLTIP_VOICE_LIMITED:"Voice (Limited)",CHANNEL_TOOLTIP_VOICE_LOCKED:"Voice (Locked)",CHANNEL_TOOLTIP_TEXT:"Text",CHANNEL_TOOLTIP_STAGE:"Stage",CHANNEL_TOOLTIP_STAGE_LIMITED:"Stage (Limited)",CHANNEL_TOOLTIP_STAGE_LOCKED:"Stage (Locked)",CHANNEL_TOOLTIP_TEXT_NSFW:"Text (NSFW)",CHANNEL_TOOLTIP_TEXT_LIMITED:"Text (Limited)",CHANNEL_TOOLTIP_TEXT_ACTIVE_THREADS:"Text (Active Threads)",CHANNEL_TOOLTIP_ANNOUNCEMENTS:"Announcements",CHANNEL_TOOLTIP_ANNOUNCEMENTS_NSFW:"Announcements (NSFW)",CHANNEL_TOOLTIP_ANNOUNCEMENTS_LIMITED:"Announcements (Limited)",CHANNEL_TOOLTIP_RULES:"Rules",CHANNEL_TOOLTIP_STORE:"Store",GUILD_OWNER:"Server Owner",RATE_LIMITED:"You are being rate limited.",NO_MIC_TITLE:"Microphone Access is Denied",NO_MIC_BODY:"Instructions for enabling access to your microphone can be found in the Discord Help Center.",NO_CAMERA_TITLE:"Camera Access is Denied",NO_CAMERA_BODY:"Instructions for enabling access to your camera can be found in the Discord Help Center.",HELP_DESK:"Help Desk",PTT_PERMISSION_TITLE:"Push-to-talk Needs Permission",PTT_PERMISSION_BODY:"\nYou launched !!{game}!! as administrator. Please relaunch Discord as an administrator in order to enable Push-to-talk\ndetection while the game has focus.\n  ",SUPPRESSED_AFK_TITLE:"Hello, anyone there?",SUPPRESSED_AFK_BODY:"It seems you've gone inactive on us. We've gone ahead and moved you to the inactive channel.",SUPPRESSED:"Suppressed",SUPPRESSED_PERMISSION_BODY:"You do not have permission to speak in this channel.",DONT_SHOW_AGAIN:"Don't show me this again.",SERVER_MUTED_DIALOG_TITLE:"Server Muted",SERVER_MUTED_DIALOG_BODY:"This channel has special permissions. To speak in it, you'll need someone, like a server moderator or admin, to unmute you.",SERVER_DEAFENED_DIALOG_TITLE:"Server Deafened",SERVER_DEAFENED_DIALOG_BODY:"This channel has special permissions. To listen in it, you'll need someone, like a server moderator or admin, to undeafen you.",NO_VIDEO_PERMISSION_DIALOG_TITLE:"No Video Permission",NO_VIDEO_PERMISSION_DIALOG_BODY:"This channel has special permissions. To use video in it, you'll need someone, like a server moderator or admin, to change your permissions.",NO_SCREENSHARE_PERMISSION_DIALOG_TITLE:"No Screen Share Permission",NO_SCREENSHARE_PERMISSION_DIALOG_BODY:"This channel has special permissions. To use Screen Share in it, you'll need someone, like a server moderator or admin, to change your permissions.",OS_MIN_SCREENSHARE_DIALOG_TITLE:"OS Version Requirement",OS_MIN_SCREENSHARE_DIALOG_BODY:"To use Screen Share, please update to latest OS version",IPAD_NO_SCREENSHARE_DIALOG_TITLE:"Feature Unavailable",IPAD_NO_SCREENSHARE_DIALOG_BODY:"Screen Share is currently unavailable on iPad. Coming soon!",CONFIRM_DISABLE_SILENCE_TITLE:"We can't hear you!",CONFIRM_DISABLE_SILENCE_BODY:"\nIs your mic extra fancy and silencing itself? In that case you can turn off the red warning by clicking the\nteeny tiny small text below.",CONFIRM_DISABLE_SILENCE_DONT_SHOW:"Don't show me the warning again",VAD_PERMISSION_TITLE:"Push to Talk Required",VAD_PERMISSION_BODY:"\nThis channel requires Push to Talk to voice chat. You will only be able to listen until you switch modes\nto Push to Talk from Voice Activity Detection.\n  ",VAD_PERMISSION_SMALL:"You must have Push to Talk enabled to speak in this channel.",VAD_PERMISSION_ENABLE_PTT:"Switch to Push to Talk",VAD_PERMISSION_OKAY:"Don’t switch",INTERACTION_REQUIRED_TITLE:"Interaction Required",INTERACTION_REQUIRED_BODY:"Browsers require user interaction before they will play audio. Just click okay to continue.",CERTIFIED_DEVICE_RECOMMENDATION_TITLE:"Certified Device Detected",CERTIFIED_DEVICE_RECOMMENDATION_AUDIO_INPUT_BODY:"\nDiscord detected a certified audio input device named **{vendorName} {modelName}**. We recommend you switch to it for the most optimal experience.",CERTIFIED_DEVICE_RECOMMENDATION_AUDIO_OUTPUT_BODY:"\nDiscord detected a certified audio output device named **{vendorName} {modelName}**. We recommend you switch to it for the most optimal experience.",CERTIFIED_DEVICE_RECOMMENDATION_AUDIO_INPUT_AND_OUTPUT_BODY:"\nDiscord detected a certified audio device named **{vendorName} {modelName}**. We recommend you switch to it for the most optimal experience.",CONNECTED_DEVICE_DETECTED_TITLE:"New Audio Device Detected",CONNECTED_DEVICE_DETECTED_INPUT_BODY:"Discord has detected a new audio input device named **!!{name}!!**! Do you want to switch to it?",CONNECTED_DEVICE_DETECTED_OUTPUT_BODY:"Discord has detected a new audio output device named **!!{name}!!**! Do you want to switch to it?",CONNECTED_DEVICE_DETECTED_INPUT_AND_OUTPUT_BODY:"Discord has detected a new audio device named **!!{name}!!**! Do you want to switch to it?",CONNECTED_DEVICE_DETECTED_OPTION_INPUT_AND_OUTPUT:"Switch both input and output",CONNECTED_DEVICE_DETECTED_OPTION_INPUT:"Switch input only",CONNECTED_DEVICE_DETECTED_OPTION_OUTPUT:"Switch output only",CONNECTED_DEVICE_DETECTED_CONFIRM_BUTTON:"Switch Device",CONNECTED_DEVICE_DETECTED_CANCEL_BUTTON:"Don't Switch",OPEN_ORIGINAL_IMAGE:"Open original",NSFW_TITLE:"NSFW Channel",NSFW_DESCRIPTION:"You must be at least eighteen years old to view this channel. Are you over eighteen and willing to see adult content?",NSFW_ACCEPT:"Continue",NSFW_DECLINE:"Nope",MATURE_LISTING_TITLE:"!!{name}!! is for mature audiences",MATURE_LISTING_DESCRIPTION:"You must be at least eighteen years old to view this game. Are you over eighteen and willing to view mature content?",MATURE_LISTING_ACCEPT:"Continue",MATURE_LISTING_DECLINE:"Nope",FORM_LABEL_CHANNEL_NAME:"Channel Name",FORM_LABEL_CHANNEL_TOPIC:"Channel Topic",CHANNEL_TOPIC_EMPTY:"Let everyone know how to use this channel!",STAGE_TOPIC_EMPTY:"Set the topic of your Stage.",DELETE_CHANNEL:"Delete Channel",DELETE_CATEGORY:"Delete Category",OVERVIEW:"Overview",EDIT_OVERVIEW:"Edit Overview",INSTANT_INVITES:"Invites",PERMISSIONS:"Permissions",DONE:"Done",CONFIRM:"Confirm",HIDE:"Hide",REVEAL:"Reveal",FORM_LABEL_BITRATE:"Bitrate",FORM_HELP_BITRATE:"ALL THE BITS! Going above {bitrate, number}kbps may adversely affect people on poor connections.",FORM_LABEL_USER_LIMIT:"User Limit",FORM_HELP_USER_LIMIT:"\nLimits the number of users that can connect to this voice channel. Users with the **Move Members** permission\nignore this limit and can move other users into the channel.\n",NO_USER_LIMIT:"No Limit",NUM_USERS:"{num, plural, one {1 user} other {{num} users}}",FORM_LABEL_NSFW_CHANNEL:"NSFW Channel",FORM_HELP_NSFW:"\nUsers will need to confirm they are of over legal age to view in the content in this channel.\nNSFW channels are exempt from the explicit content filter.\n",FORM_LABEL_NEWS_CHANNEL:"Announcement Channel",FORM_HELP_NEWS:'\nPost messages that reach servers outside your own. Users can opt into "Following" this channel, so select posts you "Publish" from here will appear directly in their own servers. Announcement channels will not receive messages from other Announcement channels. [Learn more.]({documentationLink})\n  ',FORM_HELP_NEWS_ANDROID:'Post messages that reach servers outside your own. Users can opt into "Following" this channel, so select posts you "Publish" from here will appear directly in their own servers. [Learn more.]({documentationLink})',FORM_LABEL_SLOWMODE:"Slowmode",FORM_HELP_SLOWMODE:"\nMembers will be restricted to sending one message per this interval, unless they have Manage Channel or Manage Messages permissions.",FORM_LABEL_SLOWMODE_COOLDOWN:"Slowmode Cooldown",FORM_LABEL_SLOWMODE_OFF:"Slowmode is off.",CANNOT_DELETE_CHANNEL:"Cannot Delete Channel",DELETE_RULES_CHANNEL_BODY:"Community servers are required to have a rules channel.",DELETE_UPDATES_CHANNEL_BODY:"Community servers are required to have a Community Updates channel where Discord can send important community server updates.",ANDROID_DESIGNATE_OTHER_CHANNEL:"You must designate another inside Server Settings before this channel can be deleted.",DESIGNATE_OTHER_CHANNEL:"You must designate another inside [Server Settings > Community > Overview](onClick) before this channel can be deleted.",MOBILE_DESIGNATE_OTHER_CHANNEL:"You must designate another inside [Server Settings > Community > Overview](onClick) before this channel can be deleted.",FORM_LABEL_VIDEO_QUALITY:"Video Quality",VIDEO_QUALITY_MODE_AUTO:"Auto",VIDEO_QUALITY_MODE_FULL:"720p",FORM_HELP_VIDEO_QUALITY_MODE:"Sets camera video quality for all channel participants. Choose **Auto** for optimal performance.",OVERWRITE_AUTOCOMPLETE_LABEL:"Add:",OVERWRITE_AUTOCOMPLETE_PLACEHOLDER:"Role/Member",OVERWRITE_AUTOCOMPLETE_A11Y_LABEL:"Add Role or Member",ROLES:"Roles",MEMBERS:"Members",ADD_A_ROLE:"Add a Role",ADD_A_MEMBER:"Add a Member",OVERWRITE_NO_ROLE_TO_ADD:"Every role has overridden permissions in this channel.",MEMBER_LIST:"Member List",GENERAL_PERMISSIONS:"General Permissions",MANAGE_CHANNEL:"Manage Channel",MANAGE_CHANNEL_DESCRIPTION:"Members with this permission can change the channel's name or delete it.",MANAGE_PERMISSIONS:"Manage Permissions",MANAGE_PERMISSIONS_DESCRIPTION:"Members with this permission can change this channel's permissions.",TEXT_PERMISSIONS:"Text Permissions",READ_MESSAGES:"Read Messages",READ_MESSAGES_VIEW_CHANNELS:"Read Text Channels & See Voice Channels",VIEW_CHANNEL:"View Channel",SEND_MESSAGES_DESCRIPTION:"Members with this permission can publish their own messages to all servers following this [Announcement Channel]({articleURL}).",SEND_TTS_MESSAGES:"Send TTS Messages",SEND_TTS_MESSAGES_DESCRIPTION:"\nMembers with this permission can send text-to-speech messages by starting a message with /tts. These messages\ncan be heard by everyone focused on the channel.\n  ",USE_APPLICATION_COMMANDS:"Use Slash Commands",USE_APPLICATION_COMMANDS_GUILD_DESCRIPTION:"Members with this permission can use slash commands in text channels.",USE_APPLICATION_COMMANDS_CHANNEL_DESCRIPTION:"Members with this permission can use slash commands in this channel.",MANAGE_MESSAGES_DESCRIPTION:"Members with this permission can delete messages by other members or pin any message.",MANAGE_MESSAGES_DESCRIPTION_IN_ANNOUNCEMENT_CHANNEL:"Members with this permission can delete messages by other members or pin any message. They can also publish messages by other members to all servers following this [Announcement Channel]({articleURL}).",MENTION:"Mention",MENTION_EVERYONE_ANDROID:"Mention @everyone, @here, and All Roles",MENTION_EVERYONE_DESCRIPTION_ANDROID:'Members with this permission can use @everyone or @here to ping all members. They can also @mention all roles, even if the role\'s "Allow anyone to mention this role" permission is disabled.',MENTION_EVERYONE_CHANNEL_DESCRIPTION_ANDROID:'Members with this permission can use @everyone or @here to ping all members **in this channel**. They can also @mention all roles, even if the role\'s "Allow anyone to mention this role" permission is disabled.',MENTION_EVERYONE_DESCRIPTION:'Members with this permission can use @everyone or @here to ping all members. They can also @mention all roles, even if the role\'s "Allow anyone to mention this role" permission is disabled.',MENTION_EVERYONE_CHANNEL_DESCRIPTION:'Members with this permission can use @everyone or @here to ping all members **in this channel**. They can also @mention all roles, even if the role\'s "Allow anyone to mention this role" permission is disabled.',USE_EXTERNAL_EMOJIS:"Use External Emojis",USE_EXTERNAL_EMOJIS_DESCRIPTION:"Members with this permission can use emojis from other servers in this server.",REACTIONS:"Reactions",ADD_REACTION_NAMED:"Add Reaction: {emojiName}",REMOVE_REACTION:"Remove Reaction",REMOVE_ALL_REACTIONS:"Remove All Reactions",REMOVE_ALL_REACTIONS_CONFIRM_TITLE:"Remove All Reactions",REMOVE_ALL_REACTIONS_CONFIRM_BODY:"Are you sure you want to remove all reactions from this message?",ADD_REACTIONS_DESCRIPTION:"\nMembers with this permission can add new reactions to a message. Members can still react using reactions already added to\nmessages without this permission.\n  ",VOICE_PERMISSIONS:"Voice Permissions",MOVE_MEMBERS_DESCRIPTION:"\nMembers with this permission can drag other members out of this channel. They can only move members between\nchannels both they and the member they are moving have access.\n  ",USE_VAD_DESCRIPTION:"Members must use Push-to-talk in this channel if this permission is disallowed.",STREAM_DESCRIPTION:"Members with this permission can stream into this server.",STREAM_CHANNEL_DESCRIPTION:"Members with this permission can stream into this channel.",PERMISSION_HELPDESK:"Need help with permissions?",SELF_DENY_PERMISSION_TITLE:"Pretty sure you don't want to do this",SELF_DENY_PERMISSION_BODY:"\nYou cannot deny this permission to **!!{name}!!** because it will deny it to you as well. Allow another role or yourself\nbefore trying again.\n",CANNOT_DENY_SELF_SIMPLE:"You cannot revoke permissions from yourself.",CANNOT_DENY_SINGULAR_PERMISSION:"Revoking this permission would remove it from you.",CANNOT_DENY_MISSING_PERMISSION:"You do not have this permission, so you cannot revoke it.",REMOVE_ROLE_OR_USER:"Remove !!{name}!!",SEARCH_ROLES:"Search Roles",SEARCH_ROLES_NO_RESULT:"No roles were found.",SEARCH_MEMBERS:"Search Members",SEARCH_MEMBERS_NO_RESULT:"No members were found.",SEARCH_ACTIONS:"Search Actions",SEARCH_CHANNELS:"Search Channels",SEARCH_CHANNELS_NO_RESULT:"No channels were found.",CONTENT_MATCHING:"!!{command}!! content matching **!!{query}!!**",EMOJI_MATCHING:"Emoji matching **!!{prefix}!!**",REACTIONS_MATCHING:"Add reaction **!!{prefix}!!**",MEMBERS_MATCHING:"Members matching **!!{prefix}!!**",ROLES_MATCHING:"Roles matching **!!{prefix}!!**",COMMANDS_MATCHING:"Commands matching **!!{prefix}!!**",STICKERS_MATCHING:"Stickers matching **!!{prefix}!!**",STICKERS_MATCHING_IOS:"Stickers matching {prefix}",CHANNELS_MATCHING:"Channels matching **!!{prefix}!!**",TEXT_CHANNELS_MATCHING:"Text channels matching **!!{prefix}!!**",VOICE_CHANNELS_MATCHING:"Voice channels matching **!!{prefix}!!**",OPTIONS_MATCHING:"Options matching **!!{prefix}!!**",MENTION_USERS_WITH_ROLE:"Notify users with this role who have permission to view this channel.",EMOJI:"Emoji",SELECT_EMOJI:"Select emoji",COMMANDS:"Commands",TEXT_CHANNELS:"Text Channels",NO_SEND_MESSAGES_PERMISSION_PLACEHOLDER:"You do not have permission to send messages in this channel.",MENTION_EVERYONE_AUTOCOMPLETE_DESCRIPTION:"Notify everyone who has permission to view this channel.",MENTION_HERE_AUTOCOMPLETE_DESCRIPTION:"Notify everyone online who has permission to view this channel.",MENTION_EVERYONE_AUTOCOMPLETE_DESCRIPTION_MOBILE:"Notify everyone in this channel.",MENTION_HERE_AUTOCOMPLETE_DESCRIPTION_MOBILE:"Notify members online in this channel.",MENTION_ROLE_AUTOCOMPLETE_DESCRIPTION_MOBILE:"Notify users with this role in this channel.",COMMANDS_OPTIONAL_HEADER:"Optional",STICKERS_YOU_MIGHT_LIKE:"Stickers you might like",STICKERS_YOU_MIGHT_LIKE_A11Y:"Category: Stickers you might like",COMMAND_GIPHY_DESCRIPTION:"Search Animated GIFs on the Web",COMMAND_GIPHY_QUERY_DESCRIPTION:"Search for a GIF",COMMAND_SPOILER_DESCRIPTION:"Marks your message as a spoiler.",COMMAND_SPOILER_MESSAGE_DESCRIPTION:"Your message",COMMAND_TTS_DESCRIPTION:"Use text-to-speech to read the message to all members currently viewing the channel.",COMMAND_TTS_MESSAGE_DESCRIPTION:"Your message",COMMAND_ME_DESCRIPTION:"Displays text with emphasis.",COMMAND_ME_MESSAGE_DESCRIPTION:"Your message",COMMAND_TABLEFLIP_DESCRIPTION:"Appends (╯°□°)╯︵ ┻━┻ to your message.",COMMAND_TABLEFLIP_MESSAGE_DESCRIPTION:"Your message",COMMAND_TABLEUNFLIP_DESCRIPTION:"Appends ┬─┬ ノ( ゜-゜ノ) to your message.",COMMAND_TABLEUNFLIP_MESSAGE_DESCRIPTION:"Your message",COMMAND_SHRUG_DESCRIPTION:"Appends ¯\\_(ツ)_/¯ to your message.",COMMAND_SHRUG_MESSAGE_DESCRIPTION:"Your message",COMMAND_NICK_DESCRIPTION:"Change nickname on this server.",COMMAND_NICK_NEWNICK_DESCRIPTION:"New nickname",COMMAND_NICK_SUCCESS:"Your nickname on this server has been changed to **{nick}**.",COMMAND_NICK_RESET:"Your nickname on this server has been reset.",COMMAND_NICK_FAILURE:"Your nickname could not be changed on this server.",COMMAND_NICK_FAILURE_PERMISSION:"You do not have the **Change Nickname** permission on this server.",COMMAND_VALIDATION_REQUIRED_ERROR:"This option is required. Specify a value.",COMMAND_VALIDATION_BOOLEAN_ERROR:"Pick either true or false.",COMMAND_VALIDATION_INTEGER_ERROR:"Input a valid integer.",COMMAND_VALIDATION_USER_ERROR:"Not a valid user.",COMMAND_VALIDATION_CHANNEL_ERROR:"Not a valid channel.",COMMAND_VALIDATION_ROLE_ERROR:"Not a valid role.",COMMAND_VALIDATION_MENTIONABLE_ERROR:"Not a valid user or role.",COMMAND_VALIDATION_CHOICE_ERROR:"Not a valid choice.",COMMAND_VALIDATION_GENERAL_ERROR:"Not a valid value.",COMMAND_DISPLAY_STRING:"{commandName}{commandText}",COMMAND_SECTION_BUILT_IN_NAME:"Built-In",COMMAND_ACCESSIBILITY_DESC_OPEN_DISCOVER_LIST:"Application commands list opened",COMMAND_ACCESSIBILITY_DESC_COMMAND_ITEM:"Slash {commandName}. {commandDescription}. From {applicationName}",COMMAND_ACCESSIBILITY_DESC_APP_ITEM:"{applicationName} application",COMMAND_ACCESSIBILITY_DESC_APP_ITEM_SELECTED:"{applicationName} application selected",COMMAND_ACCESSIBILITY_DESC_APP_HEADER_ITEM:"Slash command application {applicationName}",COMMAND_ACCESSIBILITY_DESC_COMMAND_OPTION_BUTTON:"Add command argument {optionName}",READY:"Ready",CONNECTING:"Connecting…",CONNECTING_PROBLEMS_CTA:"Connection problems? Let us know!",TWEET_US:"Tweet Us",SERVER_STATUS:"Server Status",QUOTE_ATTRIBUTION:"submitted by [!!{name}!!]({url})",QUOTE_ATTRIBUTION_FACEBOOK:"submitted via [facebook]({url})",QUOTE_ATTRIBUTION_INSTAGRAM:"submitted via [instagram]({url})",CREATE:"Create",CREATE_TEXT_CHANNEL:"Create Text Channel",CREATE_TEXT_CHANNEL_DESCRIPTION:"Post images, GIFs, stickers, opinions, and puns",CREATE_VOICE_CHANNEL:"Create Voice Channel",CREATE_VOICE_CHANNEL_DESCRIPTION:"Hang out with voice, video, and screen sharing",CREATE_STORE_CHANNEL:"Create Store Channel",CREATE_STORE_CHANNEL_DESCRIPTION:"Sell your game directly on Discord",CREATE_NEWS_CHANNEL:"Create Announcement Channel",CREATE_NEWS_CHANNEL_DESCRIPTION:"A text channel that can post to servers following it",CREATE_STAGE_CHANNEL:"Create Stage Channel",CREATE_STAGE_CHANNEL_DESCRIPTION:"A voice channel for hosting events with an audience",CLONE_CHANNEL:"Clone Channel",CLONE_CHANNEL_HELP:"A new channel will be created with the same permissions, user limit and bitrate as **!!{name}!!**.",FORM_LABEL_CHANNEL_PERMISSIONS:"Who can access this channel?",FORM_LABEL_CHANNEL_VOICE_PERMISSIONS:"Who can connect to this channel?",FORM_LABEL_CATEGORY_PERMISSIONS:"Who can access this category?",CREATE_STORE_CHANNEL_APPLICATION:"Application",CREATE_STORE_CHANNEL_SELECT_APPLICATION:"Select application",CREATE_STORE_CHANNEL_SKU:"SKU",CREATE_STORE_CHANNEL_SELECT_SKU:"Select SKU",CREATE_STORE_CHANNEL_NO_SKUS:"No SKUs available",CREATE_STORE_CHANNEL_NO_SKUS_ERROR:"We couldn't find any SKUs for your game! Make some in our [Dev Portal.]({devPortalUrl})",CREATE_STORE_CHANNEL_BRANCH:"Branch",CREATE_STORE_CHANNEL_SELECT_BRANCH:"Select branch",CREATE_STORE_CHANNEL_BETA_TITLE:"Beta Channel",CREATE_STORE_CHANNEL_BETA_NOTE:"Beta channels let users claim test branches of your game for free. [Learn more about beta channels.]({devPortalUrl})",INSTANT_INVITE_EXPIRED:"The invite is invalid or has expired.",INSTANT_INVITE_BANNED:"Uh-oh. Looks like you've been banned.",JOIN_SERVER_TITLE:"Join a Server",JOIN_SERVER_DESCRIPTION:"\nEnter an invite below to join an existing server. The invite will look something like these:\n  ",JOIN_SERVER_DESCRIPTION_MOBILE:"Enter an invite above to join an existing server.",INSTANT_INVITE_LOOKS_LIKE:"The invite will look something like these:",JOIN_SERVER_DESCRIPTION_NUF:"Enter an invite below to join an existing server",FORM_LABEL_INSTANT_INVITE:"Enter an invite",INVALID_INVITE_LINK_ERROR:"Please enter a valid invite link or invite code.",MAX_GUILD_MEMBERS_REACHED_ERROR:"This server is currently full. Please try again later.",SERVER_IS_CURRENTLY_FULL:"This server is currently full.",PLEASE_TRY_AGAIN_LATER:"Please try again later.",BACK:"Back",JOIN:"Join",CREATE_SERVER_TITLE:"Create your Discord server",CREATE_SERVER_DESCRIPTION_REFRESH:"Make a place for you to hang out with your communities and friends.",CREATE_SERVER_DESCRIPTION_MOBILE:"\n  Your server is where your gaming group hangs out. Make one to start chatting with your friends for free.\n    ",CREATE_SERVER_DEFAULT_SERVER_NAME_FORMAT:"{username}'s server",JOIN_GUILD_DESCRIPTION:"**Join** a server with an invite code or link.",CREATE_GUILD_DESCRIPTION:"**Create** a new server and invite your friends.",FORM_LABEL_SERVER_NAME:"Server Name",FORM_PLACEHOLDER_SERVER_NAME:"Enter a server name",SERVER_NAME_REQUIRED:"Server name is required.",FORM_LABEL_SERVER_REGION:"Server Region",CREATE_SERVER_BUTTON_ACTION:"Create Server",CREATE_SERVER_BUTTON_BODY:"Create a new server and invite your friends.",CREATE_SERVER_BUTTON_CTA:"Create a server",CLONE_SERVER_BUTTON_CTA:"Clone a server",CREATE_SERVER_BUTTON_CTA_MOBILE:"Create a new Server",CREATE_SERVER_BUTTON_CTA_MOBILE_DESC:"Make a server, invite your friends, throw a party!",JOIN_SERVER_BUTTON_BODY:"Enter an invite and join your friend's server.",JOIN_SERVER_BUTTON_CTA:"Join a server",JOIN_SERVER_BUTTON_CTA_MOBILE:"Join a Server with an Invite Link",JOIN_SERVER_BUTTON_CTA_MOBILE_DESC:"Have an invite code or link? Use it here!",JOIN_SERVER_EXAMPLES:"Examples: {examples}",JOIN_GUILD_CONNECT_TEXT:"Looking for more servers to join?",JOIN_GUILD_CONNECT_CTA:"[Connect Twitch or YouTube accounts](onClick)",JOIN_GUILD_CONNECT:"Looking for more servers to join? [Connect Twitch or YouTube accounts.](onClick)",CREATE_OR_JOIN_MODAL_HEADER:"Oh, another server!",SERVER_REGION_UNAVAILABLE:"Unavailable",ADD_A_SERVER:"Add a Server",ADD_A_SERVER_MOBILE:"Tap to add a server!",CREATE_SERVER_GUIDELINES:"By creating a server, you agree to Discord's **[Community Guidelines]({guidelinesURL})**.",GUILD_TEMPLATE_PREVIEW_TITLE:"Server Channels",GUILD_TEMPLATE_PREVIEW_DESCRIPTION:"Channels are places in your server where people can talk about different things.",GUILD_TEMPLATE_PREVIEW_PROTIP_BODY:"You can always edit the channels after creating the server.",GUILD_TEMPLATE_SELECTOR_TITLE:"Create Your Server",GUILD_TEMPLATE_SELECTOR_DESCRIPTION:"Your server is where you and your friends hang out. Make yours and start talking.",GUILD_TEMPLATE_SELECTOR_SUGGESTION:"Don't see what you're looking for? [Let us know if you have any suggestions.]({suggestionsURL})",GUILD_TEMPLATE_SELECTOR_OPTION_HEADER:"Start from a template",GUILD_TEMPLATE_HEADER_CREATE:"Create My Own",GUILD_TEMPLATE_HEADER_STUDY:"Study Group",GUILD_TEMPLATE_HEADER_GAMING:"Gaming",GUILD_TEMPLATE_HEADER_FRIEND:"Friends",GUILD_TEMPLATE_HEADER_CREATOR:"Artists & Creators",GUILD_TEMPLATE_HEADER_CLUBS:"Clubs",GUILD_TEMPLATE_HEADER_COMMUNITY:"Local Community",GUILD_TEMPLATE_NAME_ANNOUNCEMENTS:"announcements",GUILD_TEMPLATE_NAME_EVENTS:"events",GUILD_TEMPLATE_NAME_HOMEWORK:"homework",GUILD_TEMPLATE_NAME_GAME:"games",GUILD_TEMPLATE_NAME_GAME_NEW:"new-games",GUILD_TEMPLATE_NAME_GAME_ROOM:"game-room-{number}",GUILD_TEMPLATE_NAME_GENERAL:"general",GUILD_TEMPLATE_NAME_GIVEAWAYS:"giveaways",GUILD_TEMPLATE_NAME_MEMES:"memes",GUILD_TEMPLATE_NAME_MEETUPS:"meetups",GUILD_TEMPLATE_NAME_MUSIC:"music",GUILD_TEMPLATE_NAME_NOTES:"notes-resources",GUILD_TEMPLATE_NAME_OFF_TOPIC:"off-topic",GUILD_TEMPLATE_NAME_RANDOM:"random",GUILD_TEMPLATE_NAME_STRATEGY:"strategy-discussion",GUILD_TEMPLATE_NAME_SOCIAL:"social-posts",GUILD_TEMPLATE_NAME_WELCOME:"welcome",GUILD_TEMPLATE_NAME_WELCOME_AND_RULES:"welcome-and-rules",GUILD_TEMPLATE_NAME_CLIPS_AND_HIGHLIGHTS:"clips-and-highlights",GUILD_TEMPLATE_NAME_NOTES_RESOURCES:"notes-resources",GUILD_TEMPLATE_NAME_HOMEWORK_HELP:"homework-help",GUILD_TEMPLATE_NAME_SESSION_PLANNING:"session-planning",GUILD_TEMPLATE_NAME_MEETING_PLANS:"meeting-plans",GUILD_TEMPLATE_NAME_IDEAS_AND_FEEDBACK:"ideas-and-feedback",GUILD_TEMPLATE_NAME_RESOURCES:"resources",GUILD_TEMPLATE_NAME_VOICE_GENERAL:"General",GUILD_TEMPLATE_NAME_VOICE_LOBBY:"Lobby",GUILD_TEMPLATE_NAME_VOICE_GAMING:"Gaming",GUILD_TEMPLATE_NAME_VOICE_LOUNGE:"Lounge",GUILD_TEMPLATE_NAME_VOICE_STREAM_ROOM:"Stream Room",GUILD_TEMPLATE_NAME_VOICE_STUDY_ROOM:"Study Room {number}",GUILD_TEMPLATE_NAME_VOICE_MEETING_ROOM:"Meeting Room",GUILD_TEMPLATE_NAME_VOICE_COMMUNITY_HANGOUT:"Community Hangout",GUILD_TEMPLATE_NAME_CATEGORY_TEXT:"Text Channels",GUILD_TEMPLATE_NAME_CATEGORY_VOICE:"Voice Channels",GUILD_TEMPLATE_NAME_CATEGORY_INFORMATION:"Information",GUILD_TEMPLATE_MODAL_TITLE_CLASSROOM:"Create a server for your classroom",GUILD_TEMPLATE_MODAL_DESCRIPTION_CLASSROOM:"Give lectures, help with homework, and study together.",GUILD_TEMPLATES_FORM_LABEL_SERVER_NAME_CLASSROOM:"Name for your classroom",GUILD_TEMPLATE_DEFAULT_SERVER_NAME_CLASSROOM:"{username}'s Classroom",GUILD_TEMPLATE_MODAL_TITLE_LOCAL_COMMUNITIES:"Create a server for your community",GUILD_TEMPLATE_MODAL_DESCRIPTION_LOCAL_COMMUNITIES:"Meet up, organize, and stay in touch.",GUILD_TEMPLATES_FORM_LABEL_SERVER_NAME_LOCAL_COMMUNITIES:"Name for your community",GUILD_TEMPLATE_DEFAULT_SERVER_NAME_LOCAL_COMMUNITIES:"{username}'s Community",GUILD_TEMPLATE_MODAL_TITLE_CREATORS_HOBBIES:"Create a server for your group",GUILD_TEMPLATE_MODAL_DESCRIPTION_CREATORS_HOBBIES:"Collaborate, ideate, and show your stuff.",GUILD_TEMPLATES_FORM_LABEL_SERVER_NAME_CREATORS_HOBBIES:"Name for your group",GUILD_TEMPLATE_DEFAULT_SERVER_NAME_CREATORS_HOBBIES:"{username}'s Group",GUILD_TEMPLATE_MODAL_TITLE_GLOBAL_COMMUNITIES:"Create a server for your community",GUILD_TEMPLATE_MODAL_DESCRIPTION_GLOBAL_COMMUNITIES:"Coordinate, share resources, and host events.",GUILD_TEMPLATES_FORM_LABEL_SERVER_NAME_GLOBAL_COMMUNITIES:"Name for your community",GUILD_TEMPLATE_DEFAULT_SERVER_NAME_GLOBAL_COMMUNITIES:"{username}'s Community",GUILD_TEMPLATE_MODAL_TITLE_FRIENDS_FAMILY:"Create a server for your friends",GUILD_TEMPLATE_MODAL_DESCRIPTION_FRIENDS_FAMILY:"Make a home, have fun, and hang out.",GUILD_TEMPLATES_FORM_LABEL_SERVER_NAME_FRIENDS_FAMILY:"Name for your group",GUILD_TEMPLATE_DEFAULT_SERVER_NAME_FRIENDS_FAMILY:"{username}'s Group",GUILD_TEMPLATE_MODAL_TITLE_STUDY_GROUPS:"Create a server for your study group",GUILD_TEMPLATE_MODAL_DESCRIPTION_STUDY_GROUPS:"Stream lessons, ask questions, and study together.",GUILD_TEMPLATES_FORM_LABEL_SERVER_NAME_STUDY_GROUPS:"Name for your study group",GUILD_TEMPLATE_DEFAULT_SERVER_NAME_STUDY_GROUPS:"{username}'s Study Group",GUILD_TEMPLATE_MODAL_TITLE_CREATE_FROM_SCRATCH:"Create your server",GUILD_TEMPLATE_MODAL_DESCRIPTION_CREATE_FROM_SCRATCH:"Wave hello, share your screen, or just chat.",GUILD_TEMPLATES_FORM_LABEL_SERVER_NAME_CREATE_FROM_SCRATCH:"Name for your server",GUILD_TEMPLATE_DEFAULT_SERVER_NAME_CREATE_FROM_SCRATCH:"{username}'s Server",GUILD_TEMPLATE_MODAL_TITLE_CAMPUS_CLUBS:"Create a server for your club",GUILD_TEMPLATE_MODAL_DESCRIPTION_CAMPUS_CLUBS:"Meet up, organize and stay in touch.",GUILD_TEMPLATE_DEFAULT_SERVER_NAME_CAMPUS_CLUBS:"{username}'s Club",GUILD_TEMPLATE_MODAL_TITLE_LEAGUE_CLUBS:"Create a server for your community",GUILD_TEMPLATE_MODAL_DESCRIPTION_LEAGUE_CLUBS:"Stay in touch on and off the Rift.",GUILD_TEMPLATE_MODAL_TITLE_GITHUB_HACKATHON:"Create a server for your hackathon",GUILD_TEMPLATE_MODAL_DESCRIPTION_GITHUB_HACKATHON:"Your hackathon – all together in one place.",CREATE_GUILD_WITH_TEMPLATES_TITLE:"Create a server",GUILD_CREATE_TITLE:"Create Your Server",GUILD_CREATE_DESCRIPTION:"A server is a superpowered group chat where people come together around a topic or to hang out.",GUILD_CREATE_UPLOAD_ICON_LABEL:"Server Icon",GUILD_CREATE_UPLOAD_ICON_BUTTON_TEXT:"Upload a Server Icon",GUILD_CREATE_UPLOAD_ICON_RECOMMENDED_SIZE_LABEL:"Recommended size: **512x512**",PLATFORM_MACOS:"macOS",PLATFORM_WINDOWS:"PC",PLATFORM_LINUX:"Linux",PLATFORM_IOS:"Apple iOS",PLATFORM_ANDROID:"Android",DOWNLOAD_DESKTOP_TITLE:"Get Discord at home",DOWNLOAD_MOBILE_TITLE:"Or on the go",DOWNLOAD_DESKTOP_STABLE_FOOTER:"Want some of that fresh off-the-vine Discord? [Get the public test build](onClick).",DOWNLOAD_DESKTOP_PTB_FOOTER:"A bit too ripe? [Get the stable build](onClick).",COMING_SOON:"Coming Soon",DOWNLOAD:"Download",DEB:"DEB",TAR_GZ:"TAR",WINDOWS:"Windows",MACOS:"macOS",LINUX:"Linux",CHANNEL_LOCKED:"Your role does not have permission to access this channel.",CHANNEL_LOCKED_SHORT:"Channel Locked",CHANNELS_UNAVAILABLE_TITLE:"No Text Channels",CHANNELS_UNAVAILABLE_BODY:"You find yourself in a strange place. You don't have access to any text channels, or there are none in this server.",GUILD_UNAVAILABLE_HEADER:"Unavailable",GUILD_UNAVAILABLE_TITLE:"Looks like we’re having trouble connecting…",GUILD_UNAVAILABLE_BODY:"But no worries! Check back later to see if things smooth out.",UNABLE_TO_JOIN_CHANNEL_FULL:"This channel is full.",UNABLE_TO_JOIN_CHANNEL_FULL_MODAL_HEADER:"Channel is full",UNABLE_TO_JOIN_CHANNEL_FULL_MODAL_BODY:"Sorry, this channel has the max number of people!",INSTANT_INVITE:"Invite",INSTANT_INVITE_HIDDEN:"Hidden; Use copy button",EDIT_CHANNEL:"Edit Channel",LEAVE_SERVER_TITLE:"Leave '!!{name}!!'",LEAVE_SERVER_BODY:"\nAre you sure you want to leave **!!{name}!!**? You won't be able to rejoin this server unless you are re-invited.\n  ",LEAVE_SERVER:"Leave Server",VOICE_CHANNELS:"Voice Channels",VOICE_CHANNEL:"Voice Channel",VOICE_CHANNEL_LOCKED:"Voice Channel (Locked)",SERVER_SETTINGS:"Server Settings",SERVER_SETTINGS_UPDATED:"Server settings have been updated.",NOTIFICATION_SETTINGS:"Notification Settings",CHANNEL_ORDER_UPDATED:"Channel order updated.",GUILD_VERIFIED:"Verified",GUILD_PARTNERED:"Discord Partner",GUILD_VERIFIED_AND_PARTNERED:"Verified & Partnered",VOICE_CHANNEL_MUTED:"Muted",VOICE_CHANNEL_UNMUTED:"Unmuted",VOICE_CHANNEL_DEAFENED:"Deafened",VOICE_CHANNEL_UNDEAFENED:"Undeafened",PREMIUM_GUILD_SUBSCRIPTION:"Boost",PREMIUM_AND_PREMIUM_GUILD_SUBSCRIPTION:"Nitro + Boost",AFK_SETTINGS:"Inactive Settings",NO_AFK_CHANNEL:"No Inactive Channel",FORM_LABEL_AFK_CHANNEL:"Inactive Channel",FORM_HELP_AFK_CHANNEL:"\nAutomatically move members to this channel and mute them when they have been idle for longer than the\ninactive timeout. This does not affect browsers.\n  ",FORM_LABEL_AFK_TIMEOUT:"Inactive Timeout",NO_SYSTEM_CHANNEL:"No System Messages",FORM_LABEL_SYSTEM_CHANNEL:"System Messages Channel",FORM_LABEL_SYSTEM_CHANNEL_SETTINGS:"System Messages Settings",FORM_HELP_SYSTEM_CHANNEL:"This is the channel we send system event messages to. These can be turned off at any time.",FORM_HELP_SYSTEM_CHANNEL_JOIN_MESSAGES:"Send a random welcome message when someone joins this server.",FORM_HELP_SYSTEM_CHANNEL_PREMIUM_SUBSCRIPTION_MESSAGES:"Send a message when someone boosts this server.",FORM_HELP_SYSTEM_CHANNEL_GUILD_REMINDERS:"Send helpful tips for server setup.",FORM_LABEL_VERIFICATION_LEVEL:"Verification Level",FORM_HELP_VERIFICATION_LEVEL:"\nMembers of the server must meet the following criteria before they can send messages in text channels or initiate a\ndirect message conversation. If a member has an assigned role this does not apply.\n**We recommend setting a verification level for a public Discord.**\n",VERIFICATION_LEVEL_NONE:"None",VERIFICATION_LEVEL_NONE_CRITERIA:"Unrestricted",VERIFICATION_LEVEL_LOW:"Low",VERIFICATION_LEVEL_LOW_CRITERIA:"Must have a verified email on their Discord account.",VERIFICATION_LEVEL_MEDIUM:"Medium",VERIFICATION_LEVEL_MEDIUM_CRITERIA:"Must also be registered on Discord for longer than {min} minutes.",VERIFICATION_LEVEL_HIGH:"High",VERIFICATION_LEVEL_HIGH_CRITERIA:"Must also be a member of this server for longer than {min} minutes.",VERIFICATION_LEVEL_VERY_HIGH:"Highest",VERIFICATION_LEVEL_VERY_HIGH_CRITERIA:"Must have a verified phone on their Discord account.",FORM_LABEL_DEFAULT_NOTIFICATION_SETTINGS:"Default Notification Settings",FORM_HELP_DEFAULT_NOTIFICATION_SETTINGS_MOBILE:"\nThis will determine whether members who have not explicitly set their notification settings receive a notification for\nevery message sent in this server or not. We highly recommend setting this to only @mentions for a public Discord\n",DELETE_SERVER_TITLE:"Delete '!!{name}!!'",DELETE_SERVER_BODY:"Are you sure you want to delete **!!{name}!!**? This action cannot be undone.",DELETE_SERVER:"Delete Server",DELETE_SERVER_ENTER_NAME:"Enter server name",DELETE_SERVER_INCORRECT_NAME:"You didn't enter the server name correctly",WIDGET:"Widget",BANS:"Bans",SECURITY:"Security",VANITY_URL:"Vanity URL",GUILD_MEMBERS_HEADER:"!!{guild}!! members",SETTINGS:"Settings",GUILD_PREMIUM:"Server Boost Status",USER_MANAGEMENT:"User Management",FORM_LABEL_EXPLICIT_CONTENT_FILTER:"Explicit Media Content Filter",FORM_HELP_EXPLICIT_CONTENT_FILTER:"Automatically scan and delete media sent in this server that contains explicit content. Please choose how broadly the filter will apply to members in your server. **We recommend setting a filter for a public Discord.**\n",EXPLICIT_CONTENT_FILTER_DISABLED:"Don't scan any media content.",EXPLICIT_CONTENT_FILTER_DISABLED_DESCRIPTION:"My friends are nice most of the time.",EXPLICIT_CONTENT_FILTER_MEDIUM:"Scan media content from members without a role.",EXPLICIT_CONTENT_FILTER_MEDIUM_DESCRIPTION:"Recommended option for servers that use roles for trusted membership.",EXPLICIT_CONTENT_FILTER_HIGH:"Scan media content from all members.",EXPLICIT_CONTENT_FILTER_HIGH_DESCRIPTION:"Recommended option for when you want that squeaky clean shine.",PUBLIC_GUILD_POLICY_TITLE:"Follow the rules",PUBLIC_GUILD_POLICY_ACCEPT:"I agree and understand",TOOLTIP_DISCOVERABLE_GUILD_FEATURE_DISABLED:"This is required for discoverable servers. Disable Discovery first to do this.",NUMBERS_ONLY:"{count, number}",ENABLE_COMMUNITY_MODAL_TITLE:"Let's set up your Community server.",ENABLE_COMMUNITY_MODAL_STEP_1_TITLE:"Safety checks",ENABLE_COMMUNITY_MODAL_STEP_2_TITLE:"Setting up the basics",ENABLE_COMMUNITY_MODAL_STEP_3_TITLE:"Finishing touches",ENABLE_COMMUNITY_MODAL_STEP_1_HEADER:"Keep your community safe",ENABLE_COMMUNITY_MODAL_STEP_1_BODY:"To ensure user safety, Community servers must have the following moderation settings enabled",ENABLE_COMMUNITY_MODAL_STEP_2_HEADER:"Set up the basics",ENABLE_COMMUNITY_MODAL_STEP_2_BODY:"Tell us which channel has your server rules and which channel we should send announcements to!",ENABLE_COMMUNITY_MODAL_STEP_3_HEADER:"One last step",ENABLE_COMMUNITY_MODAL_STEP_3_BODY:"You're almost there! Here are some suggestions to help create a better experience for your members.",ENABLE_COMMUNITY_MODAL_VERIFICATION_LEVEL_LABEL:"Verified email required",ENABLE_COMMUNITY_MODAL_CONTENT_FILTER_LABEL:"Scan messages sent by all members",ENABLE_COMMUNITY_MODAL_VERIFICATION_LEVEL_MET:"Your server already meets or exceeds the verification level requirement.",ENABLE_COMMUNITY_MODAL_CONTENT_FILTER_MET:"Your server already meets the media content filter requirement.",ENABLE_COMMUNITY_MODAL_VERIFICATION_LEVEL_HELP:"To minimize spam, members of the server must have a verified email before they can send messages. This does not apply to members with roles.",ENABLE_COMMUNITY_MODAL_DEFAULT_NOTIFICATIONS_LABEL:"Default notifications to Mentions Only $[info](infoHook)",ENABLE_COMMUNITY_MODAL_DEFAULT_NOTIFICATIONS_LABEL_MOBILE:"Default notifications to Mentions Only",ENABLE_COMMUNITY_MODAL_DEFAULT_NOTIFICATIONS_TOOLTIP:"Because Community servers tend to have a lot of people talking at once, defaulting Server Notifications for members to Mentions Only can help reduce members leaving. Members can always override this option.",ENABLE_COMMUNITY_MODAL_EVERYONE_ROLE_PERMISSION_LABEL:"Remove moderation permissions from \n @everyone $[info](infoHook)",ENABLE_COMMUNITY_MODAL_EVERYONE_ROLE_PERMISSION_LABEL_MOBILE:"Remove manage permissions from **@everyone** role",ENABLE_COMMUNITY_MODAL_EVERYONE_ROLE_PERMISSION_TOOLTIP:"This will remove the following permissions from the @everyone role: Administrator, Manage Server, Manage Channels, Manage Roles, Kick Members, Ban Members, Manage Messages, and Mention @everyone, @here, and All Roles.",ENABLE_COMMUNITY_MODAL_REQUIREMENT_SATISFIED_TOOLTIP:"Nice, you did this already!",ENABLE_COMMUNITY_MODAL_STEP_HEADER:"Step {number} of {total}",COMMUNITY_POLICY_TITLE:"Abide by the guidelines",COMMUNITY_POLICY_HELP:"By setting your server as a Community server, you agree that your server complies with our [Community Guidelines]({helpdeskArticle}), and that Discord may check the contents of your server to make sure it's safe.",ENABLE_COMMUNITY_BUTTON_TEXT:"Finish Setup",TOOLTIP_COMMUNITY_FEATURE_DISABLED:"This option is not available for Community servers.",GUILD_SETTINGS_LABEL_AUDIT_LOG:"Audit Log",GUILD_SETTINGS_AUDIT_LOG_LOAD_MORE:"Load More",GUILD_SETTINGS_LABEL_AUDIT_LOG_EMPTY_TITLE:"No Logs Yet",GUILD_SETTINGS_LABEL_AUDIT_LOG_EMPTY_BODY:"Once moderators begin moderating, you can moderate the moderation here.",GUILD_SETTINGS_LABEL_AUDIT_LOG_ERROR_TITLE:"This is Awkward",GUILD_SETTINGS_LABEL_AUDIT_LOG_ERROR_BODY:"We broke something. Come back later.",GUILD_SETTINGS_AUDIT_LOG_GUILD_UPDATE:"$[**!!{user}!!**](userHook) made changes to $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_TEXT_CREATE:"$[**!!{user}!!**](userHook) created a text channel $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_CATEGORY_CREATE:"$[**!!{user}!!**](userHook) created a category $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_VOICE_CREATE:"$[**!!{user}!!**](userHook) created a voice channel $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_STAGE_CREATE:"$[**!!{user}!!**](userHook) created a stage channel $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_UPDATE:"$[**!!{user}!!**](userHook) made changes to $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_DELETE:"$[**!!{user}!!**](userHook) removed $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_OVERWRITE_CREATE:"$[**!!{user}!!**](userHook) created channel overrides for $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_OVERWRITE_UPDATE:"$[**!!{user}!!**](userHook) updated channel overrides for $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_OVERWRITE_DELETE:"$[**!!{user}!!**](userHook) removed channel overrides for $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_MEMBER_KICK:"$[**!!{user}!!**](userHook) kicked $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_MEMBER_PRUNE:"$[**!!{user}!!**](userHook) pruned {count, plural, =1 {**a member**} other {**!!{count}!! members**}}",GUILD_SETTINGS_AUDIT_LOG_MEMBER_BAN_ADD:"$[**!!{user}!!**](userHook) banned $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_MEMBER_BAN_REMOVE:"$[**!!{user}!!**](userHook) removed the ban for $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_MEMBER_UPDATE:"$[**!!{user}!!**](userHook) updated $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_MEMBER_ROLE_UPDATE:"$[**!!{user}!!**](userHook) updated roles for $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_MEMBER_MOVE:"$[**!!{user}!!**](userHook) moved {count, plural, =1 {**a user**} other {**!!{count}!! users**}} to $[**!!{channel}!!**](channelHook)",GUILD_SETTINGS_AUDIT_LOG_MEMBER_DISCONNECT:"$[**!!{user}!!**](userHook) disconnected {count, plural, =1 {**a user**} other {**!!{count}!! users**}} from voice",GUILD_SETTINGS_AUDIT_LOG_BOT_ADD:"$[**!!{user}!!**](userHook) added $[**!!{target}!!**](targetHook) to the server",GUILD_SETTINGS_AUDIT_LOG_ROLE_CREATE:"$[**!!{user}!!**](userHook) created the role $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_ROLE_UPDATE:"$[**!!{user}!!**](userHook) updated the role $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_ROLE_DELETE:"$[**!!{user}!!**](userHook) deleted the role $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_INVITE_CREATE:"$[**!!{user}!!**](userHook) created an invite $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_INVITE_UPDATE:"$[**!!{user}!!**](userHook) updated an invite $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_INVITE_DELETE:"$[**!!{user}!!**](userHook) deleted an invite $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_CREATE:"$[**!!{user}!!**](userHook) created the webhook $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_UPDATE:"$[**!!{user}!!**](userHook) updated the webhook $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_DELETE:"$[**!!{user}!!**](userHook) deleted the webhook $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_EMOJI_CREATE:"$[**!!{user}!!**](userHook) created the emoji $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_EMOJI_UPDATE:"$[**!!{user}!!**](userHook) updated the emoji $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_EMOJI_DELETE:"$[**!!{user}!!**](userHook) deleted the emoji $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_STICKER_CREATE:"$[**!!{user}!!**](userHook) created the sticker $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_STICKER_UPDATE:"$[**!!{user}!!**](userHook) updated the sticker $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_STICKER_DELETE:"$[**!!{user}!!**](userHook) deleted the sticker $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_MESSAGE_DELETE:"$[**!!{user}!!**](userHook) deleted {count, plural, =1 {**a message**} other {**!!{count}!! messages**}} by $[**!!{target}!!**](targetHook) in $[**!!{channel}!!**](channelHook)",GUILD_SETTINGS_AUDIT_LOG_MESSAGE_BULK_DELETE:"$[**!!{user}!!**](userHook) deleted {count, plural, =1 {**a message**} other {**!!{count}!! messages**}} in $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_MESSAGE_PIN:"$[**!!{user}!!**](userHook) pinned a message by $[**!!{target}!!**](targetHook) in $[**!!{channel}!!**](channelHook)",GUILD_SETTINGS_AUDIT_LOG_MESSAGE_UNPIN:"$[**!!{user}!!**](userHook) unpinned a message by $[**!!{target}!!**](targetHook) in $[**!!{channel}!!**](channelHook)",GUILD_SETTINGS_AUDIT_LOG_INTEGRATION_CREATE:"$[**!!{user}!!**](userHook) added an integration for $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_INTEGRATION_UPDATE:"$[**!!{user}!!**](userHook) updated the integration for $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_INTEGRATION_DELETE:"$[**!!{user}!!**](userHook) deleted the integration for $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_STAGE_INSTANCE_CREATE:"$[**!!{user}!!**](userHook) started the stage for $[**!!{channel}!!**](channelHook)",GUILD_SETTINGS_AUDIT_LOG_STAGE_INSTANCE_UPDATE:"$[**!!{user}!!**](userHook) updated the stage for $[**!!{channel}!!**](channelHook)",GUILD_SETTINGS_AUDIT_LOG_STAGE_INSTANCE_DELETE:"$[**!!{user}!!**](userHook) ended the stage for $[**!!{channel}!!**](channelHook)",GUILD_SETTINGS_AUDIT_LOG_STAGE_INSTANCE_DELETE_NO_USER:"Discord ended the stage for $[**!!{channel}!!**](channelHook) due to inactivity.",GUILD_SETTINGS_AUDIT_LOG_UNKNOWN_ACTION:"Unknown action",GUILD_SETTINGS_AUDIT_LOG_COMMON_REASON:"With reason **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_GUILD_NAME_CHANGE:"Set the server name to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_GUILD_ICON_HASH_CHANGE:"Set the server icon",GUILD_SETTINGS_AUDIT_LOG_GUILD_SPLASH_HASH_CHANGE:"Set the server invite background",GUILD_SETTINGS_AUDIT_LOG_GUILD_BANNER_HASH_CHANGE:"Set the server banner",GUILD_SETTINGS_AUDIT_LOG_GUILD_DISCOVERY_SPLASH_HASH_CHANGE:"Set the Server Discovery background",GUILD_SETTINGS_AUDIT_LOG_GUILD_DESCRIPTION_CHANGE:"Set the server description to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_GUILD_DESCRIPTION_CLEAR:"**Cleared** the server description",GUILD_SETTINGS_AUDIT_LOG_GUILD_OWNER_ID_CHANGE:"Passed ownership to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_GUILD_REGION_CHANGE:"Set the voice region to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_GUILD_PREFERRED_LOCALE_CHANGE:"Set the preferred locale to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_GUILD_AFK_CHANNEL_ID_CHANGE:"Set the inactive channel to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_GUILD_AFK_CHANNEL_ID_CLEAR:"**Cleared** the inactive channel",GUILD_SETTINGS_AUDIT_LOG_GUILD_SYSTEM_CHANNEL_ID_CHANGE:"Set the welcome notification channel to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_GUILD_SYSTEM_CHANNEL_ID_DISABLE:"**Disabled** the welcome notification messages",GUILD_SETTINGS_AUDIT_LOG_GUILD_RULES_CHANNEL_ID_CHANGE:"Set the rules channel to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_GUILD_RULES_CHANNEL_ID_CLEAR:"**Cleared** the rules channel",GUILD_SETTINGS_AUDIT_LOG_GUILD_UPDATES_CHANNEL_ID_CHANGE:"Set the Community server updates channel to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_GUILD_UPDATES_CHANNEL_ID_CLEAR:"**Cleared** the Community server updates channel",GUILD_SETTINGS_AUDIT_LOG_GUILD_AFK_TIMEOUT_CHANGE:"Set the inactive timeout to **!!{newValue}!!** minutes",GUILD_SETTINGS_AUDIT_LOG_GUILD_MFA_LEVEL_ENABLED:"**Enabled** two-factor authentication requirement",GUILD_SETTINGS_AUDIT_LOG_GUILD_MFA_LEVEL_DISABLED:"**Disabled** two-factor authentication requirement",GUILD_SETTINGS_AUDIT_LOG_GUILD_WIDGET_ENABLED:"**Enabled** the widget",GUILD_SETTINGS_AUDIT_LOG_GUILD_WIDGET_DISABLED:"**Disabled** the widget",GUILD_SETTINGS_AUDIT_LOG_GUILD_WIDGET_CHANNEL_ID_CHANGE:"Set the widget channel to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_GUILD_WIDGET_CHANNEL_ID_DELETE:"**Removed** the widget channel",GUILD_SETTINGS_AUDIT_LOG_GUILD_VERIFICATION_LEVEL_CHANGE_NONE:"Set the server verification level to **None**",GUILD_SETTINGS_AUDIT_LOG_GUILD_VERIFICATION_LEVEL_CHANGE_LOW:"Set the server verification level to **Low**",GUILD_SETTINGS_AUDIT_LOG_GUILD_VERIFICATION_LEVEL_CHANGE_MEDIUM:"Set the server verification level to **Medium**",GUILD_SETTINGS_AUDIT_LOG_GUILD_VERIFICATION_LEVEL_CHANGE_HIGH:"Set the server verification level to **High**",GUILD_SETTINGS_AUDIT_LOG_GUILD_VERIFICATION_LEVEL_CHANGE_VERY_HIGH:"Set the server verification level to **Very High**",GUILD_SETTINGS_AUDIT_LOG_GUILD_DEFAULT_MESSAGE_NOTIFICATIONS_CHANGE_ALL_MESSAGES:"Set the default message notification setting to **All Messages**",GUILD_SETTINGS_AUDIT_LOG_GUILD_DEFAULT_MESSAGE_NOTIFICATIONS_CHANGE_ONLY_MENTIONS:"Set the default message notification setting to **Only Mentions**",GUILD_SETTINGS_AUDIT_LOG_GUILD_VANITY_URL_CODE_CHANGE:"Set the vanity url to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_GUILD_VANITY_URL_CODE_DELETE:"**Removed** the vanity url",GUILD_SETTINGS_AUDIT_LOG_GUILD_EXPLICIT_CONTENT_FILTER_DISABLE:"**Disabled** the explicit content filter",GUILD_SETTINGS_AUDIT_LOG_GUILD_EXPLICIT_CONTENT_FILTER_MEMBERS_WITHOUT_ROLES:"Set the explicit content filter to scan messages from **members without a role**",GUILD_SETTINGS_AUDIT_LOG_GUILD_EXPLICIT_CONTENT_FILTER_ALL_MEMBERS:"Set the explicit content filter to scan messages from **all members**",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_NAME_CREATE:"Set the name to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_POSITION_CREATE:"In position **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_TOPIC_CREATE:"Set the topic to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_BITRATE_CREATE:"Set the bitrate to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_RTC_REGION_OVERRIDE_CREATE:"Set the region override to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_USER_LIMIT_CREATE:"Set the user limit to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_RATE_LIMIT_PER_USER_CREATE:"{newValue, plural, =0 {Set slowmode disabled} =1 {Set slowmode to **# second**} other {Set slowmode to **# seconds**}}",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_TYPE_CREATE:"Set the type to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_VIDEO_QUALITY_MODE_CREATE:"Set the video quality mode to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_NAME_CHANGE:"Changed the name from **!!{oldValue}!!** to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_POSITION_CHANGE:"Moved from **!!{oldValue}!!** to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_TOPIC_CHANGE:"Changed the topic to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_TOPIC_CLEAR:"**Cleared** the topic",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_BITRATE_CHANGE:"Changed the bitrate to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_RTC_REGION_OVERRIDE_CHANGE:"Changed the region override from **!!{oldValue}!!** to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_USER_LIMIT_CHANGE:"Changed the user limit to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_RATE_LIMIT_PER_USER_CHANGE:"{newValue, plural, =0 {Disabled slowmode} =1 {Set slowmode to **# second**} other {Set slowmode to **# seconds** }}",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_RTC_REGION_OVERRIDE_DELETE:"Removed the region override",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_TYPE_CHANGE:"Changed the type from **!!{oldValue}!!** to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_VIDEO_QUALITY_MODE_CHANGE:"Set the video quality mode to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_NSFW_ENABLED:"Marked the channel as NSFW",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_NSFW_DISABLED:"Unmarked the channel as NSFW",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_PERMISSION_OVERRIDES_GRANTED:"**Granted** {count, plural, =1 {a permission} other {permissions}} for **!!{subtarget}!!**",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_PERMISSION_OVERRIDES_DENIED:"**Denied** {count, plural, =1 {a permission} other {permissions}} for **!!{subtarget}!!**",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_PERMISSION_OVERRIDES_RESET:"**Reset** {count, plural, =1 {a permission} other {permissions}} for **!!{subtarget}!!**",GUILD_SETTINGS_AUDIT_LOG_MEMBER_NICK_CREATE:"Set their nickname to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_MEMBER_NICK_CHANGE:"Changed their nickname from **!!{oldValue}!!** to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_MEMBER_NICK_DELETE:"**Removed** their nickname of **!!{oldValue}!!**",GUILD_SETTINGS_AUDIT_LOG_MEMBER_DEAF_ON:"**Deafened** them",GUILD_SETTINGS_AUDIT_LOG_MEMBER_DEAF_OFF:"**Undeafened** them",GUILD_SETTINGS_AUDIT_LOG_MEMBER_MUTE_ON:"**Muted** them",GUILD_SETTINGS_AUDIT_LOG_MEMBER_MUTE_OFF:"**Unmuted** them",GUILD_SETTINGS_AUDIT_LOG_MEMBER_ROLES_REMOVE:"**Removed** {count, plural, =1 {a role} other {some roles}}",GUILD_SETTINGS_AUDIT_LOG_MEMBER_ROLES_ADD:"**Added** {count, plural, =1 {a role} other {some roles}}",GUILD_SETTINGS_AUDIT_LOG_MEMBER_PRUNE_DELETE_DAYS:"For **{newValue, plural, =1 {a day} other {{newValue} days}}** of inactivity",GUILD_SETTINGS_AUDIT_LOG_ROLE_NAME_CREATE:"With the name **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_ROLE_NAME_CHANGE:"Changed the name from **!!{oldValue}!!** to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_ROLE_PERMISSIONS_GRANTED:"**Granted** {count, plural, =1 {permission} other {permissions}}",GUILD_SETTINGS_AUDIT_LOG_ROLE_PERMISSIONS_DENIED:"**Denied** {count, plural, =1 {permission} other {permissions}}",GUILD_SETTINGS_AUDIT_LOG_ROLE_COLOR_NONE:"With no color",GUILD_SETTINGS_AUDIT_LOG_ROLE_COLOR:"Set the color to **!!{newValue}!!** $[](newColorHook)",GUILD_SETTINGS_AUDIT_LOG_ROLE_COLOR_IOS:"Set the color to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_ROLE_HOIST_ON:"Hoisted",GUILD_SETTINGS_AUDIT_LOG_ROLE_HOIST_OFF:"Not hoisted",GUILD_SETTINGS_AUDIT_LOG_ROLE_MENTIONABLE_ON:"Mentionable",GUILD_SETTINGS_AUDIT_LOG_ROLE_MENTIONABLE_OFF:"Not mentionable",GUILD_SETTINGS_AUDIT_LOG_INVITE_CODE_CREATE:"With code **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_INVITE_CHANNEL_CREATE:"For channel **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_INVITE_MAX_USES_CREATE:"Which expires after **!!{newValue}!!** uses",GUILD_SETTINGS_AUDIT_LOG_INVITE_MAX_USES_CREATE_INFINITE:"Which has **unlimited** uses",GUILD_SETTINGS_AUDIT_LOG_INVITE_MAX_AGE_CREATE:"Which expires after **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_INVITE_MAX_AGE_CREATE_INFINITE:"Which **never** expires",GUILD_SETTINGS_AUDIT_LOG_INVITE_TEMPORARY_ON:"With temporary **on**",GUILD_SETTINGS_AUDIT_LOG_INVITE_TEMPORARY_OFF:"With temporary **off**",GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_CHANNEL_CREATE:"With channel **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_CHANNEL_CHANGE:"Changed the channel to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_NAME_CREATE:"With name **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_NAME_CHANGE:"Changed the name from **!!{oldValue}!!** to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_AVATAR:"Changed the avatar",GUILD_SETTINGS_AUDIT_LOG_EMOJI_NAME_CREATE:"With the name **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_EMOJI_NAME_CHANGE:"Changed the name from **!!{oldValue}!!** to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_NAME_CREATE:"With the name **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_NAME_CHANGE:"Changed the name from **!!{oldValue}!!** to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_TAGS_CREATE:"With the tags **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_TAGS_CHANGE:"Changed the tags from **!!{oldValue}!!** to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_DESCRIPTION_CREATE:"With the description **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_DESCRIPTION_CHANGE:"Changed the description from **!!{oldValue}!!** to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_INTEGRATION_ENABLE_EMOTICONS_ON:"Enabled emoticons",GUILD_SETTINGS_AUDIT_LOG_INTEGRATION_ENABLE_EMOTICONS_OFF:"Disabled custom emoticons",GUILD_SETTINGS_AUDIT_LOG_INTEGRATION_EXPIRE_BEHAVIOR_REMOVE_SYNCED_ROLE:"Set the expired sub behavior to **Remove Role**",GUILD_SETTINGS_AUDIT_LOG_INTEGRATION_EXPIRE_BEHAVIOR_KICK_FROM_SERVER:"Set the expired sub behavior to **Kick**",GUILD_SETTINGS_AUDIT_LOG_INTEGRATION_EXPIRE_GRACE_PERIOD:"Set the expire grace period to **{newValue, plural, =1 {a day} other {# days}}**",GUILD_SETTINGS_AUDIT_LOG_STAGE_INSTANCE_PRIVACY_LEVEL_GUILD_ONLY:"Set the privacy level to **Closed**",GUILD_SETTINGS_AUDIT_LOG_STAGE_INSTANCE_PRIVACY_LEVEL_PUBLIC:"Set the privacy level to **Public**",GUILD_SETTINGS_AUDIT_LOG_TIME_AT_ANDROID:"{date} at {time}",GUILD_SETTINGS_FILTER_ACTION:"Filter by Action",GUILD_SETTINGS_FILTERED_ACTION:"Action Filter:",GUILD_SETTINGS_FILTER_USER:"Filter by User",GUILD_SETTINGS_FILTERED_USER:"User Filter:",GUILD_SETTINGS_FILTER_ALL:"All",GUILD_SETTINGS_FILTER_ALL_USERS:"All Users",GUILD_SETTINGS_FILTER_ALL_ACTIONS:"All Actions",GUILD_SETTINGS_ACTION_FILTER_GUILD_UPDATE:"Update Server",GUILD_SETTINGS_ACTION_FILTER_CHANNEL_CREATE:"Create Channel",GUILD_SETTINGS_ACTION_FILTER_CHANNEL_UPDATE:"Update Channel",GUILD_SETTINGS_ACTION_FILTER_CHANNEL_DELETE:"Delete Channel",GUILD_SETTINGS_ACTION_FILTER_CHANNEL_OVERWRITE_CREATE:"Create Channel Permissions",GUILD_SETTINGS_ACTION_FILTER_CHANNEL_OVERWRITE_UPDATE:"Update Channel Permissions",GUILD_SETTINGS_ACTION_FILTER_CHANNEL_OVERWRITE_DELETE:"Delete Channel Permissions",GUILD_SETTINGS_ACTION_FILTER_MEMBER_KICK:"Kick Member",GUILD_SETTINGS_ACTION_FILTER_MEMBER_PRUNE:"Prune Members",GUILD_SETTINGS_ACTION_FILTER_MEMBER_BAN_ADD:"Ban Member",GUILD_SETTINGS_ACTION_FILTER_MEMBER_BAN_REMOVE:"Unban Member",GUILD_SETTINGS_ACTION_FILTER_MEMBER_UPDATE:"Update Member",GUILD_SETTINGS_ACTION_FILTER_MEMBER_ROLE_UPDATE:"Update Member Roles",GUILD_SETTINGS_ACTION_FILTER_MEMBER_MOVE:"Move Member",GUILD_SETTINGS_ACTION_FILTER_MEMBER_DISCONNECT:"Disconnect Member",GUILD_SETTINGS_ACTION_FILTER_BOT_ADD:"Add Bot",GUILD_SETTINGS_ACTION_FILTER_ROLE_CREATE:"Create Role",GUILD_SETTINGS_ACTION_FILTER_ROLE_UPDATE:"Update Role",GUILD_SETTINGS_ACTION_FILTER_ROLE_DELETE:"Delete Role",GUILD_SETTINGS_ACTION_FILTER_INVITE_CREATE:"Create Invite",GUILD_SETTINGS_ACTION_FILTER_INVITE_UPDATE:"Update Invite",GUILD_SETTINGS_ACTION_FILTER_INVITE_DELETE:"Delete Invite",GUILD_SETTINGS_ACTION_FILTER_WEBHOOK_CREATE:"Create Webhook",GUILD_SETTINGS_ACTION_FILTER_WEBHOOK_UPDATE:"Update Webhook",GUILD_SETTINGS_ACTION_FILTER_WEBHOOK_DELETE:"Delete Webhook",GUILD_SETTINGS_ACTION_FILTER_EMOJI_CREATE:"Create Emoji",GUILD_SETTINGS_ACTION_FILTER_EMOJI_UPDATE:"Update Emoji",GUILD_SETTINGS_ACTION_FILTER_EMOJI_DELETE:"Delete Emoji",GUILD_SETTINGS_ACTION_FILTER_MESSAGE_DELETE:"Delete Messages",GUILD_SETTINGS_ACTION_FILTER_MESSAGE_BULK_DELETE:"Bulk Delete Messages",GUILD_SETTINGS_ACTION_FILTER_MESSAGE_PIN:"Pin Message",GUILD_SETTINGS_ACTION_FILTER_MESSAGE_UNPIN:"Unpin Message",GUILD_SETTINGS_ACTION_FILTER_INTEGRATION_CREATE:"Create Integration",GUILD_SETTINGS_ACTION_FILTER_INTEGRATION_UPDATE:"Update Integration",GUILD_SETTINGS_ACTION_FILTER_INTEGRATION_DELETE:"Delete Integration",GUILD_SETTINGS_ACTION_FILTER_STAGE_INSTANCE_CREATE:"Start Stage",GUILD_SETTINGS_ACTION_FILTER_STAGE_INSTANCE_UPDATE:"Update Stage",GUILD_SETTINGS_ACTION_FILTER_STAGE_INSTANCE_DELETE:"End Stage",GUILD_SETTINGS_ACTION_FILTER_STICKER_CREATE:"Create Sticker",GUILD_SETTINGS_ACTION_FILTER_STICKER_UPDATE:"Update Sticker",GUILD_SETTINGS_ACTION_FILTER_STICKER_DELETE:"Delete Sticker",PREMIUM_GUILD_TIER_0:"No Level",PREMIUM_GUILD_TIER_1:"Level 1",PREMIUM_GUILD_TIER_2:"Level 2",PREMIUM_GUILD_TIER_3:"Level 3",PREMIUM_GUILD_SETTINGS_MEMBERS_SUBSCRIBED_NEEDED:"You need **{number, plural, =1 {# more Boost} other {# more Boosts}}** to unlock !!{tier}!!",PREMIUM_GUILD_SETTINGS_X_OF_Y_SUBSCRIPTIONS:"{subscribers, number}/{numRequired, plural, =1 {# Boost} other {# Boosts}}",GUILD_SETTINGS_PREMIUM_GUILD_TITLE:"Server Boost Status",GUILD_SETTINGS_PREMIUM_GUILD_BLURB:"\nMembers of your server can help unlock levels by bestowing Boosts. For every level achieved, your server will help unlock perks for everyone.\n\nMembers can revoke their boost at any time. **Your server will keep perks for three days if a level is lost**. [Learn more about Server Boosting]({helpdeskArticle}).",GUILD_SETTINGS_GUILD_PREMIUM_PERKS_TITLE_NONE:"No Server Boost",GUILD_SETTINGS_GUILD_PREMIUM_PERKS_DESCRIPTION_NONE:"No one has bestowed Boosts to this server yet. See if any members would kindly bless your server for server-wide Boost Perks!",GUILD_SETTINGS_GUILD_PREMIUM_PERKS_TITLE_TIER_1:"Level 1 Perks",GUILD_SETTINGS_GUILD_PREMIUM_PERKS_TITLE_TIER_2:"Level 2 Perks",GUILD_SETTINGS_GUILD_PREMIUM_PERKS_TITLE_TIER_3:"Level 3 Perks",GUILD_SETTINGS_GUILD_PREMIUM_PERKS_BASE_PERKS:"Boosted server perks include —",GUILD_SETTINGS_GUILD_PREMIUM_PERKS_PREVIOUS_PERKS:"Boosted servers get everything previous, and —",GUILD_SETTINGS_PREMIUM_GUILD_TIER_REQUIREMENT:"{required, plural, =1 {# Boost} other {# Boosts}}",GUILD_SETTINGS_PREMIUM_GUILD_UNLOCKED:"Unlocked",GUILD_SETTINGS_PREMIUM_GUILD_COUNT_SUBSCRIBERS:"**{count, plural, =1 {# extremely cool person has} other {# extremely cool people have}}** boosted this server",GUILD_SETTINGS_PREMIUM_GUILD_CLOSE_HINT:"Only {numLeft, plural, =1 {# more boost} other {# more boosts}} until the next level!",GUILD_SETTINGS_PREMIUM_UPSELL_HEADING_PRIMARY:"Ready to Boost?",GUILD_SETTINGS_PREMIUM_UPSELL_HEADING_SECONDARY:"Get the best deal with Nitro",GUILD_SETTINGS_PREMIUM_UPSELL_HEADING_SECONDARY_PREMIUM_USER:"Want to give your server Level 1 perks?",GUILD_SETTINGS_PREMIUM_UPSELL_HEADING_TERTIARY_PREMIUM_USER:"Upgrade to Nitro and get {numFreeGuildSubscriptions, plural, =1 {# Server Boost} other {# Server Boosts}} with your subscription!",GUILD_SETTINGS_PREMIUM_UPSELL_SUBHEADING:"Server Boosts start at **!!{price}!!**.",GUILD_SETTINGS_PREMIUM_UPSELL_SUBHEADING_TIER_1:"Thanks for being a Nitro Classic member. You get a {discountPercent} discount on Server Boosts.\n\nBoosts are **!!{price}!!** $[!!{originalPrice}!!](originalPriceHook).",GUILD_SETTINGS_PREMIUM_UPSELL_SUBHEADING_TIER_1_MOBILE:"Thanks for being a Nitro Classic member. You get a {discountPercent} discount on Server Boosts.",GUILD_SETTINGS_PREMIUM_UPSELL_SUBHEADING_TIER_2:"Thanks for being a Nitro member. You get {freeSubscriptionCount, number} Boosts included with your subscription, and a {discountPercent} discount on future Server Boosts.\n\nBoosts are **!!{price}!!** $[(!!{originalPrice}!!)](originalPriceHook).",GUILD_SETTINGS_PREMIUM_UPSELL_SUBHEADING_TIER_2_MOBILE:"Thanks for being a Nitro member. You get {freeSubscriptionCount, number} Boosts included with your subscription, and a {discountPercent} discount on future Server Boosts.",GUILD_SETTINGS_PREMIUM_UPSELL_SUBHEADING_EXTRA_ANDROID:"Boosts are **!!{price}!!** $[~~({originalPrice})~~](originalPriceHook).",GUILD_SETTINGS_PREMIUM_UPSELL_SUBHEADING_EXTRA_IOS:"Boosts are **!!{price}!!** $[!!{originalPrice}!!](originalPriceHook).",GUILD_SETTINGS_PREMIUM_UPSELL_SUBHEADING_EXTRA_IOS_VOICEOVER_LABEL:"Boosts are !!{price}!!, discounted from !!{originalPrice}!!",GUILD_SETTINGS_PREMIUM_UPSELL_BODY_PERK_GUILD_SUBSCRIPTION_DISCOUNT:"{discountPercentage} off Server Boosts",GUILD_SETTINGS_PREMIUM_UPSELL_BODY_PERK_NUM_GUILD_SUBSCRIPTIONS:"Includes {numFreeGuildSubscriptions, plural, =1 {# Boost} other {# Boosts}}—unlock Level 1!",GUILD_SETTINGS_PREMIUM_UPSELL_BODY_PERK_NO_FREE_GUILD_SUBSCRIPTIONS:"Does not include {numFreeGuildSubscriptions, plural, =1 {# Boost} other {# Boosts}}",GUILD_SETTINGS_PREMIUM_UPSELL_LEARN_MORE:"Learn more about Discord Nitro",GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_ANY_EMOJI:"+{adding, number} server emoji slots (for a total of {total, number})",GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_ANY_STICKER:"+{adding, number} custom sticker slots (for a total of {total, number})",GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_ANY_AUDIO_QUALITY:"{bitrate, number} Kbps audio quality",GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_ANY_UPLOAD_LIMIT:"{fileSize} upload limit for all members",GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_1_EMOJI:"More emojis, more ways to express yourself!",GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_1_ANIMATED_GUILD_ICON:"Animated server icon",GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_1_ANIMATED_GUILD_ICON:"Represent your server...in motion! **(Only in server)**",GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_1_AUDIO_QUALITY:"Hear your friends in high definition!",GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_1_SPLASH:"Custom server invite background",GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_1_SPLASH:"Upload a customizable background for all your server invites!",GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_1_STREAMING:"Stream to your friends in high quality.",GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_1_STREAMING:"Share your high-quality gameplay with high-quality video streaming.",GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_1_STICKER:"Upload your own sticker creations for everyone to use in your server.",GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_2_EMOJI:"Even more emojis, for even more ways to express yourself!",GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_2_AUDIO_QUALITY:"Hear your friends in higher definition!",GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_2_UPLOAD_LIMIT:"Larger upload file size for high quality meme sharing. **(Only in server)**",GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_2_BANNER:"Server Banner",GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_2_BANNER:"Upload a decorative banner that best represents your community! Shown under your server name.",GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_2_STREAMING:"1080p 60fps Go Live streams",GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_2_STREAMING:"Stream to your friends in high quality.",GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_2_STICKER:"More sticker slots for more custom expressions!",GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_3_EMOJI:"Have yourself access to a truckload of emoji slots for all your expressing needs.",GUILD_SETTINGS_GUILD_PREMIUM_PERK_TITLE_TIER_3_VANITY_URL:"Vanity URL for the server",GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_3_VANITY_URL:"Customize the invite URLs to your server with **discord.gg/____. ([We have some rules]({helpdeskArticle}))**",GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_3_AUDIO_QUALITY:"Hear your friends in the highest of definitions. It’s as if they’re right next to you...",GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_3_UPLOAD_LIMIT:"The biggest file sizes for the highest quality meme sharing. **(Only in server)**",GUILD_SETTINGS_GUILD_PREMIUM_PERK_DESCRIPTION_TIER_3_STICKER:"Now we’re talking... but with stickers.",FOLLOWER_ANALYTICS_HEADER:"Analytics",FOLLOWER_ANALYTICS:"Announcements",GUILD_SETTINGS_FOLLOWER_ANALYTICS:"Announcement Channel Analytics",GUILD_SETTINGS_FOLLOWER_ANALYTICS_DESCRIPTION:"Here are the stats for your Announcement Channel(s). See how fast you're growing your reach and how many follows you're gaining and losing with each post, so you can fine tune your deliveries to perfection. [Learn more about how channel following works.]({supportURL})",GUILD_SETTINGS_FOLLOWER_ANALYTICS_SERVERS_FOLLOWING:"# of Servers Following",GUILD_SETTINGS_FOLLOWER_ANALYTICS_NET_SERVERS:"Net Servers in last 10 Posts",GUILD_SETTINGS_FOLLOWER_ANALYTICS_LAST_UPDATED:"Last Updated: {lastUpdated}",GUILD_SETTINGS_FOLLOWER_ANALYTICS_POST:"Post",GUILD_SETTINGS_FOLLOWER_ANALYTICS_REACH:"Reach",GUILD_SETTINGS_FOLLOWER_ANALYTICS_NET_GAIN:"Net Change",GUILD_SETTINGS_FOLLOWER_ANALYTICS_TOOLTIP:"Gained: {subscribersGained} \nLost: {subscribersLost}",GUILD_SETTINGS_FOLLOWER_ANALYTICS_EMPTY_HEADER:"There's no data for this channel.",GUILD_SETTINGS_FOLLOWER_ANALYTICS_EMPTY_BODY:"Looks like we can’t open up shop yet. Check in back after you make a new post. It may take up to 24 hours for data to show.",GUILD_SETTINGS_FOLLOWER_ANALYTICS_MESSAGE_DELETED:"Message Deleted",GUILD_SETTINGS_FOLLOWER_ANALYTICS_REACH_TOOLTIP:"Number of following servers at time of post.",GUILD_SETTINGS_FOLLOWER_ANALYTICS_NET_GAIN_TOOLTIP:"Change in number of following servers since previous post.",GUILD_SETTINGS_PUBLIC_UPDATE_FAILED:"Failed to update your settings. Please try again.",GUILD_SETTINGS_PUBLIC_NO_OPTION_SELECTED:"None Selected",GUILD_SETTINGS_PUBLIC_WELCOME:"Welcome Screen",GUILD_SETTINGS_PUBLIC_WELCOME_INTRO_TEXT:"Set up a custom Welcome Screen that appears when new members join. This can help new members discover all the cool things they can do in your server!\n\nServers that have set up a Welcome Screen see improvements in more people sticking around and engaging.",GUILD_SETTINGS_PUBLIC_WELCOME_INTRO_BUTTON:"Set Up Welcome Screen",GUILD_SETTINGS_PUBLIC_WELCOME_SETTINGS_TEXT:"If enabled, this Welcome Screen appears for new members when they join your server. This screen helps new members discover all the cool things they can do in your server!",GUILD_SETTINGS_PUBLIC_WELCOME_TITLE:"Welcome to **!!{guildName}!!!**",GUILD_SETTINGS_PUBLIC_WELCOME_DESCRIPTION_PLACEHOLDER:"What's this server about? What do people do here?",GUILD_SETTINGS_PUBLIC_WELCOME_RECOMMENDED_CHANNELS_TITLE:"Top things to do in your server",GUILD_SETTINGS_PUBLIC_WELCOME_RECOMMENDED_CHANNELS_DESCRIPTION:"Select up to 5 recommended channels. We suggest channels where people can interact, like channels for discussions, asking questions, reading news, or selecting roles.",GUILD_SETTINGS_PUBLIC_WELCOME_ADD_RECOMMENDED_CHANNEL:"Add Another Channel",GUILD_SETTINGS_PUBLIC_WELCOME_RECOMMENDED_CHANNEL_MODAL_ADD:"Add a Recommended Channel",GUILD_SETTINGS_PUBLIC_WELCOME_RECOMMENDED_CHANNEL_MODAL_EDIT:"Edit Recommended Channel",GUILD_SETTINGS_PUBLIC_WELCOME_PICK_CHANNEL:"Pick a channel that you think new members should visit.",GUILD_SETTINGS_PUBLIC_WELCOME_SELECT_A_CHANNEL:"Select a Channel",GUILD_SETTINGS_PUBLIC_WELCOME_SET_DESCRIPTION:"What do people do in this channel?",GUILD_SETTINGS_PUBLIC_WELCOME_ONLY_VIEWABLE_CHANNELS:"You can only select channels that are viewable by @everyone.",GUILD_SETTINGS_PUBLIC_WELCOME_INVALID_CHANNEL:"This channel either no longer exists or is no longer viewable by @everyone",GUILD_SETTINGS_PUBLIC_WELCOME_CHANNEL_DESCRIPTION_PLACEHOLDER:"Chat about the latest Wumpus sightings",GUILD_SETTINGS_PUBLIC_WELCOME_ENABLED:"Your Welcome Screen is up and running.",GUILD_SETTINGS_PUBLIC_WELCOME_ENABLED_SECOND_LINE:"New members will be greeted by this screen when they join!",GUILD_SETTINGS_PUBLIC_WELCOME_ENABLE_REMINDER:" Don’t forget to enable when you’re finished!",GUILD_SETTINGS_PUBLIC_WELCOME_PROGRESS_WILL_SAVE:"Your changes are saved automatically.",GUILD_SETTINGS_PUBLIC_WELCOME_PREVIEW:"Preview",GUILD_SETTINGS_PUBLIC_WELCOME_UPDATE_FAILURE:"You must remove all invalid channels first before you can save.",GUILD_SETTINGS_PUBLIC_WELCOME_CHANNEL_MOVE_UP:"Move Up",GUILD_SETTINGS_PUBLIC_WELCOME_CHANNEL_MOVE_DOWN:"Move Down",GUILD_SETTINGS_PUBLIC_WELCOME_CHANNEL_EDIT:"Edit Channel",GUILD_SETTINGS_PUBLIC_WELCOME_CHANNEL_DELETE:"Remove Channel",WELCOME_CHANNEL_EMOJI_PICKER_TOOLTIP:"Set an emoji for this channel!",WELCOME_CHANNEL_DELETE_CONFIRM_TITLE:"Remove Recommended Channel",WELCOME_CHANNEL_DELETE_CONFIRM_BODY:"Are you sure you want to remove **!!{channelName}!!** from recommended channels?",WELCOME_CHANNEL_DELETE_CONFIRM_BODY_GENERIC:"Are you sure you want to remove this channel from recommended channels?",PREMIUM_GUILD_EMOJI_PROMO_TITLE:"Want to use custom emojis?",GUILD_SETTINGS_EXAMPLE_TOOLTIP:"Here's an example!",GUILD_SETTINGS_MEMBER_VERIFICATION:"Membership Screening",GUILD_SETTINGS_MEMBER_VERIFICATION_EXAMPLE_GUILD_NAME:"Wumpus Land",GUILD_SETTINGS_MEMBER_VERIFICATION_DESCRIPTION:"Set up rules that new members must explicitly agree to before they can talk, react, or DM other members. Granting a role to a new member will bypass this requirement.",GUILD_SETTINGS_MEMBER_VERIFICATION_DESCRIPTION_COMING_SOON:"Want more than just rules? More types of requirements coming soon!",GUILD_SETTINGS_MEMBER_VERIFICATION_INTRO_BUTTON:"Set up Membership Screening",GUILD_SETTINGS_MEMBER_VERIFICATION_PREVIEW:"Preview",GUILD_SETTINGS_MEMBER_VERIFICATION_ENABLED:"New members will be screened.",GUILD_SETTINGS_MEMBER_VERIFICATION_ENABLED_SECOND_LINE:"They’ll have to meet your requirements to join or talk in the server.",GUILD_SETTINGS_MEMBER_VERIFICATION_PROGRESS_WILL_SAVE:"Your changes are saved automatically.",GUILD_SETTINGS_MEMBER_VERIFICATION_ENABLE_REMINDER:"Don’t forget to enable when you’re finished!",GUILD_SETTINGS_MEMBER_VERIFICATION_DESCRIPTION_TITLE:"Description",GUILD_SETTINGS_MEMBER_VERIFICATION_DESCRIPTION_PLACEHOLDER:"Briefly describe what your server is about. New members will see this when they try to join.",GUILD_SETTINGS_MEMBER_VERIFICATION_SCREEN_TITLE:"Customize Screen",GUILD_SETTINGS_MEMBER_VERIFICATION_APPLICATIONS_TITLE:"Review Applications",GUILD_SETTINGS_MEMBER_VERIFICATION_PREVIEW_TITLE:"Preview",GUILD_SETTINGS_MEMBER_VERIFICATION_PREVIEW_ENABLED_TITLE:"Allow Preview (Recommended)",GUILD_SETTINGS_MEMBER_VERIFICATION_PREVIEW_DESCRIPTION:"New members can browse the server before meeting the requirements. We recommend keeping this enabled so they can see what your community is like. If disabled, new members can’t view any contents of the server until they meet the requirements. [Learn more.]({helpdeskArticle})",GUILD_SETTINGS_MEMBER_VERIFICATION_PENDING:"Pending",GUILD_SETTINGS_MEMBER_VERIFICATION_REJECTED:"Rejected",GUILD_SETTINGS_MEMBER_VERIFICATION_APPROVED:"Approved",GUILD_SETTINGS_MEMBER_VERIFICATION_BANNED:"Denied & Banned",GUILD_SETTINGS_MEMBER_VERIFICATION_AUTO_APPROVAL:"Auto Approval",GUILD_SETTINGS_MEMBER_VERIFICATION_AUTO_APPROVAL_DESCRIPTION:"New members will be auto approved when they meet your requirements.",GUILD_SETTINGS_MEMBER_VERIFICATION_MANUAL_APPROVAL:"Manual Approval",GUILD_SETTINGS_MEMBER_VERIFICATION_MANUAL_APPROVAL_DESCRIPTION:"New members will not be able to join or talk until a mod approves their application.",GUILD_SETTINGS_MEMBER_VERIFICATION_REVIEW_APPLICATION_TITLE:"Review Application",GUILD_SETTINGS_MEMBER_VERIFICATION_EMPTY_PENDING_APPLICATIONS_TITLE:"There are no pending applications.",GUILD_SETTINGS_MEMBER_VERIFICATION_EMPTY_PENDING_APPLICATIONS_BODY:"You'll be able to manage new member applications here.",GUILD_SETTINGS_MEMBER_VERIFICATION_EMPTY_REJECTED_APPLICATIONS_TITLE:"There are no rejected applications.",GUILD_SETTINGS_MEMBER_VERIFICATION_EMPTY_REJECTED_APPLICATIONS_BODY:"You'll be able to view rejected applications here.",GUILD_SETTINGS_MEMBER_VERIFICATION_EMPTY_APPROVED_APPLICATIONS_TITLE:"There are no approved applications.",GUILD_SETTINGS_MEMBER_VERIFICATION_EMPTY_APPROVED_APPLICATIONS_BODY:"You'll be able to view approved member applications here.",GUILD_SETTINGS_MEMBER_VERIFICATION_REVIEW_APPLICATION_DESCRIPTION:"You are reviewing an application from someone who wants to join your server. Until you approve them, they cannot join or talk in the server.",GUILD_SETTINGS_MEMBER_VERIFICATION_REVIEW_PENDING_APPLICATIONS:"{count, plural, one {Pending Application} other {{count, number} Pending Applications}}",GUILD_SETTINGS_MEMBER_VERIFICATION_REVIEW_REJECTED_APPLICATIONS:"{count} Rejected Applications",GUILD_SETTINGS_MEMBER_VERIFICATION_REVIEW_APPROVED_APPLICATIONS:"{count} Approved Applications",GUILD_SETTINGS_MEMBER_VERIFICATION_APPLICATION_SUBMITTED_TIME:"submitted on {date}",GUILD_SETTINGS_MEMBER_VERIFICATION_APPROVE_APPLICATION:"Approve",GUILD_SETTINGS_MEMBER_VERIFICATION_DENY_APPLICATION:"Deny",GUILD_SETTINGS_MEMBER_VERIFICATION_DENY_AND_BAN_APPLICATION:"Deny & Ban",GUILD_SETTINGS_MEMBER_VERIFICATION_DENY_MODAL_TITLE:"Provide a denial reason to the user (OPTIONAL)",GUILD_SETTINGS_MEMBER_VERIFICATION_DENIED:"Denied",GUILD_SETTINGS_MEMBER_VERIFICATION_ACTIONED_BY:"By **{username}**#{discriminator} on {date}",GUILD_SETTINGS_MEMBER_VERIFICATION_BAN_USER:"Ban User",GUILD_SETTINGS_MEMBER_VERIFICATION_REASON_TITLE:"Reason shared with user",MEMBER_VERIFICATION_GET_STARTED_TITLE:"Set up server rules!",MEMBER_VERIFICATION_GET_STARTED_SUBTITLE:"Create server rules and ask pending members to agree to them before they can talk.",MEMBER_VERIFICATION_GET_STARTED_BUTTON:"Get Started",MEMBER_VERIFICATION_ADD_QUESTION:"Add a question",MEMBER_VERIFICATION_FORM_ITEM_RULES:"Server Rules",MEMBER_VERIFICATION_FORM_ITEM_COMING_SOON:"Coming soon!",MEMBER_VERIFICATION_FORM_ITEM_TEXT_INPUT:"Short Answer",MEMBER_VERIFICATION_FORM_ITEM_PARAGRAPH:"Paragraph",MEMBER_VERIFICATION_FORM_ITEM_MULTIPLE_CHOICE:"Multiple Choice",MEMBER_VERIFICATION_FORM_ITEM_FILE_UPLOAD:"File Upload",MEMBER_VERIFICATION_FORM_ITEM_VERIFICATION:"Connections",MEMBER_VERIFICATION_FORM_VERIFICATION_SETTINGS:"To change this, [go to Moderation settings](onSettingsClick)",MEMBER_VERIFICATION_FORM_RULES_LABEL:"Read and agree to the server rules",MEMBER_VERIFICATION_ADD_RULE:"Add a rule",MEMBER_VERIFICATION_RULE_TOOLTIP:"You've already added rules",MEMBER_VERIFICATION_RULE_PLACEHOLDER:"Enter a rule",MEMBER_VERIFICATION_EXAMPLE_RULES:"Example rules (click them!)",MEMBER_VERIFICATION_RULE_BE_RESPECTFUL:"Be civil and respectful",MEMBER_VERIFICATION_RULE_NO_SPAM:"No spam or self-promotion",MEMBER_VERIFICATION_RULE_NO_NSFW:"No NSFW or obscene content",MEMBER_VERIFICATION_RULE_SAFE:"Help keep things safe",MEMBER_VERIFICATION_RULE_BE_RESPECTFUL_FULL:"Treat everyone with respect. Absolutely no harassment, witch hunting, sexism, racism, or hate speech will be tolerated.",MEMBER_VERIFICATION_RULE_NO_SPAM_FULL:"No spam or self-promotion (server invites, advertisements, etc) without permission from a staff member. This includes DMing fellow members.",MEMBER_VERIFICATION_RULE_NO_NSFW_FULL:"No NSFW or obscene content. This includes text, images, or links featuring nudity, sex, hard violence, or other graphically disturbing content.",MEMBER_VERIFICATION_RULE_SAFE_FULL:"If you see something against the rules or something that makes you feel unsafe, let staff know. We want this server to be a welcoming space!",MEMBER_VERIFICATION_FORM_ITEM_EMAIL_VERIFICATION_LABEL:"You must verify your email.",MEMBER_VERIFICATION_FORM_ITEM_EMAIL_VERIFICATION_SETTINGS_LABEL:"New members must verify their email",MEMBER_VERIFICATION_EMAIL_VERIFICATION_RESEND_EMAIL:"Resend email",MEMBER_VERIFICATION_EMAIL_VERIFICATION_EMAIL_SENT:"Email sent!",MEMBER_VERIFICATION_FORM_ITEM_PHONE_VERIFICATION_LABEL:"You must verify your phone number.",MEMBER_VERIFICATION_FORM_REQUIRED_ITEM:"This field is required",MEMBER_VERIFICATION_RULE_LIMIT:"You can only add up to {number} rules",MEMBER_VERIFICATION_DELETE_FIELD_CONFIRM_TITLE:"Remove field",MEMBER_VERIFICATION_DELETE_FIELD_CONFIRM_TEXT:"Are you sure you want to remove this field?",MEMBER_VERIFICATION_EMAIL_VERIFICATION_ENABLED:"You have a verified email.",MEMBER_VERIFICATION_PHONE_VERIFICATION_ENABLED:"You have a verified phone number.",MEMBER_VERIFICATION_VERIFIED:"Verified",MEMBER_VERIFICATION_PHONE_VERIFIED:"Phone Verified",MEMBER_VERIFICATION_EMAIL_VERIFIED:"Email Verified",MEMBER_VERIFICATION_NEED_RULES_CHANNEL_PERMS:"You need to have Send Message permissions in your server's rules channel to add or edit server rules here.",MEMBER_VERIFICATION_PREVIEW_DISABLED_MARKDOWN_WARNING:"Channel and role mentions will not show up properly in rules if you've disabled preview.",MEMBER_VERIFICATION_FIELD_QUESTION:"Question",MEMBER_VERIFICATION_FIELD_PLACEHOLDER:"Placeholder Text (Optional)",MEMBER_VERIFICATION_FIELD_QUESTION_REQUIRED_ERROR:"You must enter a question.",MEMBER_VERIFICATION_RULES_REQUIRED_ERROR:"You need to add one or more rules.",MEMBER_VERIFICATION_MULTIPLE_CHOICE_PLACEHOLDER:"Option {index, number}",MEMBER_VERIFICATION_MULTIPLE_CHOICE_ADD:"Add an option",MEMBER_VERIFICATION_MULTIPLE_CHOICE_LIMIT:"You can only add up to {number, number} choices",MEMBER_VERIFICATION_CHOICES_REQUIRED_ERROR:"You need at least two or more choices.",MEMBER_VERIFICATION_FORM_FIELDS_LIMIT:"You can only add up to {number, number} questions",MEMBER_VERIFICATION_CHAT_INPUT_GUARD_MESSAGE:"Join this server to start chatting and save it in your server list.",MEMBER_VERIFICATION_RULE_INDEX:"{ruleIndex, number}.",MEMBER_VERIFICATION_WARNING_TITLE:"Wait, you're not done!",MEMBER_VERIFICATION_WARNING_DESCRIPTION:"You're missing a description! Tell new members what your server is about.",MEMBER_VERIFICATION_WARNING_FIELDS:"You currently have no requirements enabled, which means new members will just see an empty pop-up.",MEMBER_VERIFICATION_WARNING_DESCRIPTION_AND_FIELDS:"Hey, looks like your Membership Screening isn't fully set up yet. You're missing a description, and you currently have no requirements enabled, which means new members will just see an empty pop-up.",MEMBER_VERIFICATION_WARNING_CONFIRM:"Proceed Anyway",MEMBER_VERIFICATION_WARNING_CANCEL:"Cancel",MEMBER_VERIFICATION_REJECTED_TITLE:"Your application to join the server has been denied",MEMBER_VERIFICATION_LEARN_MORE:"Learn more",MEMBER_VERIFICATION_CANCEL_APPLICATION_SUBTITLE:"If you want to join in the future, you’ll have to apply again.",MEMBER_VERIFICATION_APPLICATION_CONFIRMATION_TITLE:"Your application to join the server is awaiting review!",MEMBER_VERIFICATION_APPLICATION_CONFIRMATION_TITLE_WITH_GUILD_NAME:"Your application to join {guildName} is awaiting review!",MEMBER_VERIFICATION_APPLICATION_CONFIRMATION_SUBTITLE:"You'll get notified when there's an update.",MEMBER_VERIFICATION_CANCEL_APPLICATION:"Withdraw Application",MEMBER_VERIFICATION_DISABLE_CONFIRM_TITLE:"There are still pending members that haven't passed your screen.",MEMBER_VERIFICATION_DISABLE_CONFIRM_BODY:"Before you can disable Membership Screening, you have to either approve or kick all pending members. Approved members will still have to verify their email or phone (based on your Verification Level) to talk.",MEMBER_VERIFICATION_DISABLE_CONFIRM_APPROVE_ALL:"Approve All",MEMBER_VERIFICATION_DISABLE_CONFIRM_KICK_ALL:"Kick All",MEMBER_VERIFICATION_VERIFICATION_FIELD_SETTINGS_TOOLTIP:"New members will also be required to pass your verification level requirements.",COMMUNITY:"Community",GUILD_SETTINGS_COMMUNITY:"Community Settings",GUILD_SETTINGS_COMMUNITY_ENABLE_COMMUNITY:"Enable Community",GUILD_SETTINGS_COMMUNITY_DISABLE_COMMUNITY:"Disable Community",GUILD_SETTINGS_COMMUNITY_DISABLE_COMMUNITY_DIALOG_TITLE:"Disabling Community",GUILD_SETTINGS_COMMUNITY_DISABLE_COMMUNITY_DIALOG_MESSAGE:"Are you sure you want to disable Community?",GUILD_SETTINGS_COMMUNITY_ADMINISTRATOR_ONLY:"Only server administrators are allowed to do this",GUILD_SETTINGS_COMMUNITY_DISABLE_COMMUNITY_DESCRIPTION:"This will remove specific features for Community servers, like Server Discovery and Server Insights. ",GUILD_SETTINGS_COMMUNITY_UPSELL_HEADER:"Your server is now a Community server!",GUILD_SETTINGS_COMMUNITY_UPSELL_BODY:"You now have access to additional tools that can help you moderate, run, and grow your server. Check out some of them to get started!",GUILD_SETTINGS_COMMUNITY_UPSELL_BUTTON_WELCOME_SCREEN:"Set up Welcome Screen",GUILD_SETTINGS_COMMUNITY_UPSELL_BUTTON_DISCOVERY:"Apply for Discovery",GUILD_SETTINGS_COMMUNITY_UPSELL_BUTTON_ANALYTICS:"Check Server Insights",GUILD_SETTINGS_COMMUNITY_RULES_CHANNEL_HELP:"Please select the channel that hosts your rules. This channel will by default start from the top and will feature a special header.",GUILD_SETTINGS_COMMUNITY_RULES_CHANNEL_HELP_MOBILE:"Please select the channel that hosts your rules. This channel will by default start from the top and will feature a special header.",GUILD_SETTINGS_COMMUNITY_MOD_CHANNEL_TITLE:"Community Updates Channel",GUILD_SETTINGS_COMMUNITY_MOD_CHANNEL_HELP:"This is the channel where Discord will send relevant updates for Community admins and moderators. As some info might be sensitive, we recommend selecting your private staff channel.",GUILD_SETTINGS_COMMUNITY_MOD_CHANNEL_HELP_MOBILE:"This is the channel where Discord will send updates for Community admins and moderators. ",GUILD_SETTINGS_COMMUNITY_MOD_CHANNEL_SELECTOR_TITLE:"Select a Community Updates channel",GUILD_SETTINGS_COMMUNITY_LOCALE_HELP:"This helps Discord customize features for you and your members.",GUILD_SETTINGS_COMMUNITY_INTRO_HEADER:"Are you building a Community?",GUILD_SETTINGS_COMMUNITY_INTRO_BODY:"Convert your server to a Community server to access additional administrative tools that can better help you moderate, run, and grow your server.",GUILD_SETTINGS_COMMUNITY_INTRO_DETAILS:"Don’t do this if your server is just for you and a few friends. Community servers are for admins who are building larger spaces where people with shared interests can come together.",GUILD_SETTINGS_COMMUNITY_INTRO_DETAILS_MOBILE:"Don’t do this if your server is just for you and a few friends. This is for people building larger spaces.",GUILD_SETTINGS_COMMUNITY_INTRO_DETAILS_DISCLAIMER_MOBILE:"Enabling Community does not make your server public. Being in Discovery is an additional option.",GUILD_SETTINGS_COMMUNITY_INTRO_LEARN_MORE:"Enabling Community does not make your server public. Discovery is an additional feature you can enable. [Learn more here.]({helpdeskArticle})",GUILD_SETTINGS_COMMUNITY_INTRO_UPSELL_DISCOVERY_HEADER:"Grow your community",GUILD_SETTINGS_COMMUNITY_INTRO_UPSELL_DISCOVERY_BODY:"Apply to be in **$[Server Discovery](featureHook)** so more people can find your server directly on Discord.",GUILD_SETTINGS_COMMUNITY_INTRO_UPSELL_ANALYTICS_HEADER:"Keep members engaged",GUILD_SETTINGS_COMMUNITY_INTRO_UPSELL_ANALYTICS_BODY:"Access tools like **$[Server Insights](featureHook) $[info](infoHook)** that can better help you moderate and keep your server engaged.",GUILD_SETTINGS_COMMUNITY_INTRO_UPSELL_ANALYTICS_BODY_MOBILE:"Access tools like **$[Server Insights](featureHook)** that can better help you moderate and keep your server engaged.",GUILD_SETTINGS_COMMUNITY_INTRO_UPSELL_ANALYTICS_TOOLTIP:"Only for servers above 500 members",GUILD_SETTINGS_COMMUNITY_INTRO_UPSELL_PARTNER_HEADER:"Stand out on Discord",GUILD_SETTINGS_COMMUNITY_INTRO_UPSELL_PARTNER_BODY:"Apply to our **$[Partner Program](featureHook)** and get rewarded for building great places for people to hang out.",GUILD_SETTINGS_COMMUNITY_INTRO_UPSELL_STAY_INFORMED_HEADER:"Stay informed",GUILD_SETTINGS_COMMUNITY_INTRO_UPSELL_STAY_INFORMED_BODY:"Get direct updates about new features built for communities from Discord.",GUILD_SETTINGS_COMMUNITY_DISABLE_PUBLIC_CONFIRM_DEFAULT_TITLE:"Are you sure?",GUILD_SETTINGS_PARTNER_DISABLE_PUBLIC_CONFIRM_TEXT:"Are you sure? This will remove this server from the Partner Program.",GUILD_SETTINGS_PARTNER_AND_DISCOVERY_DISABLE_PUBLIC_CONFIRM_TEXT:"Are you sure? This will remove the server from the Partner Program and Server Discovery.",GUILD_SETTINGS_DISCOVERY_DISABLE_PUBLIC_CONFIRM_TEXT:"Disabling Community will also remove your server from Server Discovery.",GUILD_SETTINGS_PARTNER_INTRO_HEADER:"Discord Partner Program",GUILD_SETTINGS_PARTNER_INTRO_BODY:"We want to support communities that invest time and effort on Discord. Get rewarded for creating an engaged community with our Partner Program. [Learn more.]({helpdeskArticle})",GUILD_SETTINGS_PARTNER_INTRO_UPSELL_BRANDING_HEADER:"Unique Branding",GUILD_SETTINGS_PARTNER_INTRO_UPSELL_BRANDING_BODY:"Personalize your server with a Custom URL, Server Banner, and Invite Splash.",GUILD_SETTINGS_PARTNER_INTRO_UPSELL_PERKS_HEADER:"Partner-only Perks",GUILD_SETTINGS_PARTNER_INTRO_UPSELL_PERKS_BODY:"Get Discord Nitro, rewards for your community, and access to the Partners-only server.",GUILD_SETTINGS_PARTNER_INTRO_UPSELL_RECOGNITION_HEADER:"Be Recognized",GUILD_SETTINGS_PARTNER_INTRO_UPSELL_RECOGNITION_BODY:"Receive a special badge on your server and stand out from the crowd on our Discovery page.",GUILD_SETTINGS_PARTNER_INTRO_APPLY_BUTTON:"Apply for Partnership",GUILD_SETTINGS_PARTNER_INTRO_APPLY_BUTTON_TOOLTIP_ONLY_OWNER:"Only the server owner can apply.",GUILD_SETTINGS_PARTNER_INTRO_APPLY_BUTTON_TOOLTIP_PENDING:"Your application is pending review.",GUILD_SETTINGS_PARTNER_INTRO_APPLY_BUTTON_TOOLTIP_REJECTED:"Your application has been denied at this time.",GUILD_SETTINGS_PARTNER_INTRO_APPLY_DETAILS:"To apply, refer to the requirements below. Note that these are just the minimum requirements to apply, and acceptance is not guaranteed.\n\nAll Partnered servers must abide by the [Partner Code of Conduct]({helpdeskArticle}).",GUILD_SETTINGS_PARTNER_INTRO_PENDING:"Your server’s Partner application is $[pending review.](pendingHook) We hope to get back to you soon! Make sure to check your email.",GUILD_SETTINGS_PARTNER_INTRO_COOLDOWN:"You must wait two months before you can reapply.",GUILD_SETTINGS_PARTNER_INTRO_COOLDOWN_COUNTER:"You will be able to reapply in {numDays, number} days.",GUILD_SETTINGS_PARTNER_INTRO_REJECTED:"Your server’s Partner application has been $[denied](warningHook) at this time. Check the server owner’s email for more detail.",GUILD_SETTINGS_PARTNER_NOT_VERIFIED:"You must verify your email before you can see the requirements.",GUILD_SETTINGS_PARTNER_CHECKLIST_PASSING_HEADER:"Great work!",GUILD_SETTINGS_PARTNER_CHECKLIST_PASSING_SUBHEADER:"Your server is eligible to apply for the Partner Program.",GUILD_SETTINGS_PARTNER_CHECKLIST_FAILING_HEADER:"Not yet!",GUILD_SETTINGS_PARTNER_CHECKLIST_FAILING_SUBHEADER:"Your server $[is not](warningHook) currently eligible to apply for the Partner Program.",GUILD_SETTINGS_PARTNER_CHECKLIST_SIZE:"{minMembers}+ Members",GUILD_SETTINGS_PARTNER_CHECKLIST_SIZE_FAILING:"Not Enough Members",GUILD_SETTINGS_PARTNER_CHECKLIST_SIZE_DESCRIPTION:"For now, new Partnered servers must have at least {minMembers} members.",GUILD_SETTINGS_PARTNER_CHECKLIST_SIZE_DESCRIPTION_FAILING:"For now, new Partnered servers must have at least {minMembers} members.",GUILD_SETTINGS_PARTNER_CHECKLIST_AGE_DESCRIPTION:"Your server must be at least {minimumGuildAge, plural, one {1 week} other {{minimumGuildAge} weeks}} old.",GUILD_SETTINGS_PARTNER_CHECKLIST_AGE_DESCRIPTION_FAILING:"Your server must be at least {minimumGuildAge, plural, one {1 week} other {{minimumGuildAge} weeks}} old. Please check back on {passDate}.",GUILD_SETTINGS_PARTNER_CHECKLIST_HEALTHY_DESCRIPTION:"Your activity and retention metrics pass the minimum requirements to apply.",GUILD_SETTINGS_PARTNER_CHECKLIST_HEALTHY_DESCRIPTION_PENDING:"Partnered servers must meet basic activity requirements. This takes time to calculate for newer or smaller servers, $[so check back in about a week.](checkBackHook)",GUILD_SETTINGS_PARTNER_CHECKLIST_HEALTHY_DESCRIPTION_PENDING_SIZE:"Partnered servers must meet basic activity requirements. We're unable to calculate this until your server has at least {minMembers} members.",GUILD_SETTINGS_PARTNER_CHECKLIST_HEALTHY_DESCRIPTION_FAILING:"Your server does not currently pass the minimum activity requirements for Partnership.",GUILD_SETTINGS_PARTNER_CHECKLIST_HEALTH_VIEW_DETAILS:"For more details, go to the Partner Program tab in Server Insights.",GUILD_SETTINGS_DISCOVERY_HEADER:"Grow your community with Server Discovery",GUILD_SETTINGS_DISCOVERY_DESCRIPTION:"List your server in Server Discovery so more people can find you directly on Discord.",GUILD_SETTINGS_DISCOVERY_PREVIEW_DESCRIPTION:"Tell people what your server's all about with a description!",GUILD_SETTINGS_DISCOVERY_CHECKLIST_ABIDE_BY_GUIDELINES:"By enabling Discovery, you confirm that your server abides by the [Community Server Guidelines]({guidelinesURL}). Servers whose primary purpose is to facilitate sexually explicit content are not allowed in Discovery. Failure to comply may result in severe penalties upon your server.",GUILD_SETTINGS_DISCOVERY_CHECKLIST_LOADING:"Checking if your server passes requirements...",GUILD_SETTINGS_DISCOVERY_REQUIREMENTS_NOT_MET:"Your server does not meet all the requirements.",GUILD_SETTINGS_DISCOVERY_PENDING_HEALTHY:"We're still waiting on your health metrics!",GUILD_SETTINGS_DISCOVERY_CHECKLIST_GOOD_STANDING:"Great work! Your server passes all the requirements to be in Server Discovery.",GUILD_SETTINGS_DISCOVERY_CHECKLIST_BAD_STANDING:"Your server **$[does not](doesNotHook)** meet all the requirements to be in Server Discovery.",GUILD_SETTINGS_DISCOVERY_CHECKLIST_SAFE:"Safe Environment",GUILD_SETTINGS_DISCOVERY_CHECKLIST_SAFE_FAILING:"Flagged By Trust & Safety",GUILD_SETTINGS_DISCOVERY_CHECKLIST_SAFE_DESCRIPTION:"Thanks for abiding by our Community Guidelines and keeping your server safe!",GUILD_SETTINGS_DISCOVERY_CHECKLIST_SAFE_DESCRIPTION_FAILING:"Your server was in $[violation of our Terms of Service](doesNotHook) within the last 30 days.",GUILD_SETTINGS_DISCOVERY_CHECKLIST_SAFE_DESCRIPTION_FAILING_GUIDELINES:"Your server was in violation of our [Terms of Service]({termsURL}) or [Community Server Guidelines]({guidelinesURL}).",GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTHY:"Passed Server Activity Requirements",GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTHY_PENDING:"Waiting on Server Activity Metrics",GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTHY_FAILING:"Failed Server Activity Requirements",GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTHY_DESCRIPTION:"Your community metrics look good! Your server has enough members that regularly visit and talk.",GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTHY_DESCRIPTION_PENDING:"Servers in Discovery must meet certain activity requirements. This takes time to calculate for newer or smaller servers, $[so check back in about a week.](checkBackHook)",GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTHY_DESCRIPTION_PENDING_SIZE:"We're unable to calculate your server's activity metrics until your server has at least {minMembers} members. Servers in Discovery must meet certain activity requirements.",GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTHY_DESCRIPTION_FAILING:"Uh oh, your server does not currently pass our activity requirements.",GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTH_VIEW_DETAILS:"Click here for more details",GUILD_SETTINGS_DISCOVERY_CHECKLIST_HEALTH_DEFINITIONS_INTRO:"To ensure we're only recommending active servers to Discord users, servers in Discovery are required to have a minimum activity level.",GUILD_SETTINGS_DISCOVERY_CHECKLIST_VISITOR_FAILING_ACTION:"Increase number of weekly visitors",GUILD_SETTINGS_DISCOVERY_CHECKLIST_VISITOR_FAILING_ACTION_DETAILS:"A visitor is someone who has clicked into the server and has viewed at least 1 channel. Try to provide more reasons for members to drop by, like hosting regular community events.",GUILD_SETTINGS_DISCOVERY_CHECKLIST_VISITOR_PROGRESS_LABEL:"avg weekly visitors in your server",GUILD_SETTINGS_DISCOVERY_CHECKLIST_COMMUNICATOR_FAILING_ACTION:"Increase number of weekly communicators",GUILD_SETTINGS_DISCOVERY_CHECKLIST_COMMUNICATOR_FAILING_ACTION_DETAILS:"A communicator is someone who has talked (voice or text) in the server. Hosting community events and seeding discussion topics are great ways to encourage more people to talk.",GUILD_SETTINGS_DISCOVERY_CHECKLIST_COMMUNICATOR_PROGRESS_LABEL:"avg weekly communicators in your server",GUILD_SETTINGS_DISCOVERY_CHECKLIST_SCORE_EXPLAIN:"Calculated as a rolling avg over the past 8 weeks, so changes may take a few weeks to show. Only users who have been on Discord for 8 weeks+ are counted as visitors or communicators.",GUILD_SETTINGS_DISCOVERY_CHECKLIST_ENGAGEMENT_FAILING:"Your server needs more members who visit and talk weekly.",GUILD_SETTINGS_DISCOVERY_CHECKLIST_RETENTION_FAILING:"Your retention is too low. Try improving your new member onboarding experience.",GUILD_SETTINGS_DISCOVERY_CHECKLIST_RETENTION_FAILING_ACTION:"Improve new member experience",GUILD_SETTINGS_DISCOVERY_CHECKLIST_RETENTION_FAILING_ACTION_DETAILS_UPDATED:"Servers that gain more than 10 new members per week are required to have a new member retention of 10%. At least 1 out of 10 new people that join should stick around for a week+.\n\nTake a look at your server through the eyes of a new member. Are there areas where they might get confused and lost?",GUILD_SETTINGS_DISCOVERY_CHECKLIST_RETENTION_PROGRESS_LABEL:"avg new member retention in your server",GUILD_SETTINGS_DISCOVERY_CHECKLIST_PROGRESS_REQUIREMENT_LABEL:"min required",GUILD_SETTINGS_DISCOVERY_CHECKLIST_SIZE:"{minMembers}+ Members",GUILD_SETTINGS_DISCOVERY_CHECKLIST_SIZE_FAILING:"Below {minMembers} Members",GUILD_SETTINGS_DISCOVERY_CHECKLIST_SIZE_DESCRIPTION:"For now, Discovery is limited to only servers with more than {minMembers} members.",GUILD_SETTINGS_DISCOVERY_CHECKLIST_SIZE_DESCRIPTION_FAILING_PARTNERS:"Unfortunately, Discovery is limited to only servers with more than {minMembers} members.",GUILD_SETTINGS_DISCOVERY_CHECKLIST_SIZE_DESCRIPTION_FAILING:"Unfortunately, Discovery is limited to only servers with more than {minMembers} members for now. This requirement **will be lowered in the future** once our team catches up on moderating the current set of eligible servers.",GUILD_SETTINGS_DISCOVERY_CHECKLIST_NSFW:"No Bad Words",GUILD_SETTINGS_DISCOVERY_CHECKLIST_NSFW_FAILING:"Bad Words Found",GUILD_SETTINGS_DISCOVERY_CHECKLIST_NSFW_DESCRIPTION:"Your server name, description, and channel names look clean!",GUILD_SETTINGS_DISCOVERY_CHECKLIST_2FA:"2FA Requirement For Moderation Enabled ",GUILD_SETTINGS_DISCOVERY_CHECKLIST_CHANGE_CHANNEL_NAMES_2:"You need to change $[one or more channel names](channelHook)",GUILD_SETTINGS_DISCOVERY_CHECKLIST_CHANGE_DESCRIPTION:"You need to change your $[description](descriptionHook)",GUILD_SETTINGS_DISCOVERY_CHECKLIST_CHANGE_NAME:"You need to change your $[server name](nameHook)",GUILD_SETTINGS_DISCOVERY_CHECKLIST_2FA_FAILING:"Please Enable the [2FA Requirement For Moderation] Setting",GUILD_SETTINGS_DISCOVERY_CHECKLIST_2FA_DESCRIPTION:"Members with moderation powers (e.g. admins or mods) are required to have 2FA enabled to perform moderation actions.",GUILD_SETTINGS_DISCOVERY_CHECKLIST_2FA_DESCRIPTION_FAILING:"This setting will require all members with moderation powers to have 2FA enabled before they can perform moderation actions. This can help protect against compromised admin or mod accounts. [Enable at the bottom of the Moderation tab.](onClick)",GUILD_SETTINGS_DISCOVERY_CHECKLIST_AGE:"Meets Age Requirement",GUILD_SETTINGS_DISCOVERY_CHECKLIST_AGE_FAILING:"Server Too Young",GUILD_SETTINGS_DISCOVERY_CHECKLIST_AGE_DESCRIPTION:"Servers in Discovery have to be at least {minimumGuildAge, plural, one {1 week} other {{minimumGuildAge} weeks}} old.",GUILD_SETTINGS_DISCOVERY_CHECKLIST_AGE_DESCRIPTION_FAILING:"Servers in Discovery need to be at least {minimumGuildAge, plural, one {1 week} other {{minimumGuildAge} weeks}} old. Please check back on {passDate}.",GUILD_SETTINGS_DISCOVERY_ENABLED_MODAL_HEADER:"You’re in! {serverName} is now on the map!",GUILD_SETTINGS_DISCOVERY_ENABLED_MODAL_BODY:"People can now find your server within Server Discovery.",GUILD_SETTINGS_DISCOVERY_ENABLED_MODAL_DISMISS:"PARTY!!!",DISCOVERY:"Discovery",GUILD_SETTINGS_ENABLE_DISCOVERABLE:"Enable Discovery",GUILD_SETTINGS_DISABLE_DISCOVERABLE:"Disable Discovery",FORM_HELP_ENABLE_DISCOVERABLE:"This lists your server in Server Discovery, which allows people to find your server via search or recommendations.",FORM_HELP_DISCOVERABLE_CHANGE_TIME:"May take up to 15 minutes to take effect.",FORM_LABEL_DISCOVERY_COVER_IMAGE:"Discovery listing cover image",FORM_HELP_DISCOVERY_COVER_IMAGE:"This image will be displayed on your Discovery Listing. The recommended minimum size is 1920x1080 and recommended aspect ratio is 16:9.",FORM_LABEL_DISCOVERY_RULES_CHANNEL:"Rules or guidelines channel",GUILD_SETTINGS_DISCOVERY_DISQUALIFIED:"This server has been removed from Discovery.",GUILD_SETTINGS_DISCOVERY_DISQUALIFIED_DESCRIPTION:"This server has failed to meet the requirements below and has been automatically removed from Discovery. Don't worry, you can rejoin once the server passes all requirements again.\n\nActivity requirements are recalculated weekly.",GUILD_SETTINGS_DISCOVERY_ADMIN_ONLY:"Only server administrators can enable and disable Discovery.",GUILD_SETTINGS_DISCOVERY_LOCALE_HELP:"Discord will prioritize this server in search to users who speak the selected language.",GUILD_SETTINGS_PUBLIC_MOD_CHANNEL_TITLE:"Moderators-only Channel",GUILD_SETTINGS_DISCOVERY_PRIMARY_CATEGORY_TITLE:"Server Category",GUILD_SETTINGS_DISCOVERY_PRIMARY_CATEGORY_DESCRIPTION:"Categories help Discord organize servers so that it's easier for people to discover communities that interest them. You can select 1 primary category and up to 5 subcategories.",GUILD_SETTINGS_DISCOVERY_SUBCATEGORY_TITLE:"Subcategories",GUILD_SETTINGS_DISCOVERY_SEARCH_KEYWORDS_TITLE:"Search Keywords",GUILD_SETTINGS_DISCOVERY_SEARCH_KEYWORDS_DESCRIPTION:"You can add up to 10 keywords to help people find your server in search. Keep in mind that search is primarily powered by your server's title and description. Keywords are secondary.\n\nKeywords can be useful if topics or functions of your server have alternative spelling or acronyms (e.g. LoL for League of Legends).",GUILD_SETTINGS_DISCOVERY_EMOJI_DISCOVERABILITY_TITLE:"Show Emoji Info When Clicked",GUILD_SETTINGS_DISCOVERY_EMOJI_DISCOVERABILITY_DESCRIPTION:"This allows info to appear when clicking on a custom emoji from your server in any chat. Users will be able to see and join your server via the information that is displayed.",GUILD_SETTINGS_DISCOVERY_EMOJI_DISCOVERABILITY_ENABLE:"Enable Emoji Information",GUILD_SETTINGS_DISCOVERY_EMOJI_DISCOVERABILITY_DISABLE:"Disable Emoji Information",CHANNELS:"Channels",SORTING_CHANNELS:"Sorting Channels",SORT:"Sort",SORTING:"Sorting",REORDERING_CHANNELS:"Reordering Channels",REORDER:"Reorder",SELECT_SORT_MODE:"Select Sort Mode",GUILD_SECURITY_REQ_MFA_LABEL:"2FA Requirement For Moderation",GUILD_SECURITY_REQ_MFA_BODY:"When enabled, this requires members with moderation powers to have two-factor authentication enabled on their account in order to take moderation actions (e.g. kick, ban, and delete message). This can help prevent malicious people who compromise a mod or admin's account from taking destructive actions. **This setting can only be changed by the server owner if they have 2FA enabled on their account**.",GUILD_SECURITY_REQ_MFA_ENABLE:"[Enable on your account.](onClick)",GUILD_SECURITY_REQ_MFA_TURN_ON:"Enable 2FA Requirement",GUILD_SECURITY_REQ_MFA_TURN_OFF:"Disable 2FA Requirement",GUILD_SECURITY_REQ_MFA_GUILD_ENABLE:"Enable 2FA Requirement",GUILD_SECURITY_REQ_MFA_GUILD_DISABLE:"Disable 2FA Requirement",GUILD_SECURITY_REQ_OWNER_ONLY:"Only the server owner is allowed to do this",INTEGRATIONS:"Integrations",INTEGRATION_SETTINGS:"Integration Settings",SYNC:"Sync",NO_INTEGRATIONS:"\n[Connect](onConnect) your partnered Twitch or YouTube account to sync your subscribers/memberships to a role\n",NO_INTEGRATIONS_LABEL:"No Integrations",NO_INTEGRATIONS_BODY:"Protocol FR13NDSH1P can only be executed from the Discord client",FORM_LABEL_SUB_EXPIRE_BEHAVIOR:"Expired Sub Behavior",FORM_LABEL_MEMBERSHIP_EXPIRE_BEHAVIOR:"Expired Membership Behavior",KICK_FROM_SERVER:"Kick",FORM_LABEL_CUSTOM_TWITCH_EMOTICON:"Custom Twitch Emoticons",ENABLE_TWITCH_EMOJI_SYNC:"Allow synced subscribers to use your Twitch Custom Emoticons in Discord.",REMOVE_SYNCED_ROLE:"Remove Role",FORM_LABEL_EXPIRE_GRACE_PERIOD:"Grace Period",N_DAYS:"{days, plural, one {1 day} other {{days} days}}",FORM_LABEL_SYNCED_ROLE:"Synced Role",FORM_LABEL_SYNCED_SUBS:"Synced Subs",FORM_LABEL_SYNCED_MEMBERS:"Synced Members",NUM_SUBSCRIBERS:"\n{subscribers, plural, =0 {**0** subscribers} one {**1** subscriber} other {**{subscribers}** subscribers}}",NUM_MEMBERS:"\n{subscribers, plural, =0 {**0** members} one {**1** member} other {**{subscribers}** members}}",LAST_SYNC:"last sync: {datetime}",SYNC_REVOKED:"Sync connection revoked! {user} must reconnect to {platformName} in their user settings.",DISABLE_INTEGRATION_TITLE:"Disable Sync",DISABLE_INTEGRATION_TWITCH_BODY:"\nDisabling sync will perform the selected expired sub behavior as if all subs have expired.\n",DISABLE_INTEGRATION_YOUTUBE_BODY:"\nDisabling sync will perform the selected expired membership behavior as if all members have expired.\n",FORCE_SYNC:"Force Sync",SYNC_THIS_ACCOUNT:"Sync this account",SUBSCRIBER_INFORMATION:"Subscriber Information",BANS_HEADER:"{bans, plural, =0 {No Bans} one {1 Ban} other {{bans} Bans}}",BANS_SEARCH_PLACEHOLDER:"Search Bans",UNBAN:"Unban",UNBAN_USER_TITLE:"Unban '!!{user}!!'",UNBAN_USER_BODY:"Are you sure you want to unban !!{user}!!?",BANS_HINT:"\nBans by default are by account and IP.\nA user can circumvent an IP ban by using a proxy.\nBan circumvention can be made very hard by enabling phone verification in [Moderation](onModerationClick).\n",BANS_NO_RESULTS:"We looked as hard as we could, but no banned users were found matching that search.",BANS_NO_USERS_BANNED:"\nYou haven't banned anybody...\nbut if and when you must, do not hesitate!\n",NO_BANS:"No Bans",BAN_REASON:"Ban Reason",NO_BAN_REASON:"No reason provided",REVOKE_BAN:"Revoke Ban",GUILD_SETTINGS_MEMBERS_SERVER_MEMBERS:"Server Members",GUILD_SETTINGS_MEMBERS_DISPLAY_ROLE:"Display role:",GUILD_SETTINGS_MEMBERS_REMOVE_ROLE:"Remove role !!{roleName}!!",GUILD_SETTINGS_MEMBERS_ADD_ROLE:"Add role",ADD_ROLE_LABEL:"Add:",ADD_ROLE_PLACEHOLDER:"Role",ADD_ROLE_A11Y_LABEL:"Add Role",KICK:"Kick",KICK_USER:"Kick !!{user}!!",BAN:"Ban",BAN_USER:"Ban !!{user}!!",MEMBERS_HEADER:"{members, plural, =0 {No Members} one {1 Member} other {{members} Members}}",MEMBERS_SEARCH_PLACEHOLDER:"Search Members",GUILD_MEMBERS_SEARCH_NO_RESULT:"No members were found.",PRUNE_MEMBERS:"Prune Members",MEMBER_LIST_SERVER_OWNER_HELP:"This person is the server owner and always has all permissions regardless of roles.",CANNOT_MANAGE_IS_OWNER:"This person owns the server, so you cannot manage them.",CANNOT_MANAGE_HIGHER_RANK:"This person has a higher role than you, so you cannot manage them.",CANNOT_MANAGE_SAME_RANK:"This person's highest role is the same as yours, so you cannot manage them.",ADMINISTRATIVE:"Administrative",EDIT_USER:"Edit !!{user}!!",GUILD_SETTINGS_TITLE_SERVER_WIDGET:"Server Widget",GUILD_SETTINGS_WIDGET_ENABLE_WIDGET:"Enable Server Widget",NO_INSTANT_INVITE:"No Invite",FORM_LABEL_INSTANT_INVITE_CHANNEL:"Invite Channel",FORM_HELP_INSTANT_INVITE_CHANNEL:"\nIf a channel is selected then an invite link will be generated with the widget,\notherwise only online members and voice channels will be provided.\n  ",FORM_LABEL_SERVER_ID:"Server ID",FORM_LABEL_PREMADE_WIDGET:"Premade Widget",GUILD_SETTINGS_WIDGET_EMBED_HELP:"\nEmbed this HTML on your website to use Discord's beautiful pre-made widget.\n\nIf you have access to your site's users then you can dynamically add &username= to the querystring.",FORM_LABEL_JSON_API:"JSON API",MANAGE_USER:"Manage User",MANAGE_USER_SHORTHAND:"Manage",HELP_ROLES_DESCRIPTION:"Use Roles to organize your server members and customize their permissions. You can assign Roles in the [Members](onMembersClick) page.",HELP_ROLE_LOCKED:"Role is locked because it is a higher rank than your highest role.",HELP_ROLE_LOCKED_MINE:"Role is locked because it is your highest ranked role. Please ask a higher rank or Server Owner for help.",HELP_MISSING_MANAGE_ROLES_PERMISSION:"Role is locked because you do not have the Manage Roles permission.",HELP_MISSING_PERMISSION:"You cannot modify this permission because none of your roles have it.",HELP_SINGULAR_PERMISSION:"You cannot modify this permission because removing it would remove it from you.",HELP_CLEAR_PERMISSIONS:"You cannot clear permissions because it would remove one or more permissions from you.",FORM_LABEL_ROLE_ADD:"Add role",FORM_LABEL_MEMBER_ADD:"Add member",FORM_LABEL_ROLE_NAME:"Role name",FORM_LABEL_ROLE_ENTER_NAME:"You must provide a role name.",FORM_LABEL_ROLE_COLOR:"Role color",FORM_LABEL_ROLE_SETTINGS:"Role settings",FORM_LABEL_DISABLED_FOR_EVERYONE:"Disabled for @everyone",FORM_LABEL_HOIST_DESCRIPTION:"Display role members separately from online members",FORM_LABEL_MENTIONABLE:"Allow anyone to **@mention** this role",FORM_LABEL_MENTIONABLE_DESCRIPTION:'Note: Members with the "Mention @everyone, @here, and All Roles" permission will always be able to ping this role.',FORM_LABEL_ROLES_PRO_TIP:"Protip",FORM_LABEL_ROLES_PRO_TIP_DESCRIPTION:"\nMembers use the color of the highest role they have on this list. Drag roles to reorder them.",ADMINISTRATOR_DESCRIPTION:"\nMembers with this permission have every permission and also bypass channel specific permissions. This is a dangerous\npermission to grant.\n",VIEW_AUDIT_LOG_DESCRIPTION:"Members with this permission have access to view the server's audit logs",MANAGE_SERVER_DESCRIPTION:"Members with this permission can change the server's name or move regions.",MANAGE_ROLES_DESCRIPTION:"\nMembers with this permission can create new roles and edit/delete roles lower than this one.\n  ",MANAGE_WEBHOOKS_DESCRIPTION:"Members with this permission can create, edit, and delete webhooks.",MANAGE_CHANNELS_DESCRIPTION:"Members with this permission can create new channels and edit or delete existing ones.",PRIORITY_SPEAKER_DESCRIPTION:"\nUsers with this permission have the ability to be more easily heard when talking. When activated,\nthe volume of others without this permission will be automatically lowered.\n",PRIORITY_SPEAKER_DESCRIPTION_APP:"\nUsers with this permission have the ability to be more easily heard when talking. When activated,\nthe volume of others without this permission will be automatically lowered. Priority Speaker is\nactivated by using the **[{keybind}](onClick)** keybind.\n",MANAGED_ROLE_EXPLAINATION:"\nThis role is automatically managed by an integration.\nIt cannot be manually assigned to members or deleted.\n",MANAGED_ROLE_PREMIUM_SUBSCRIBER_EXPLANATION:"This role is automatically managed by Discord for Server Boosting. It cannot be manually assigned to members or deleted.",MANAGED_ROLE_INTEGRATION_LINKED_EXPLANATION:"This role is managed by an integration: $[!!{name}!!](integrationNameHook). It cannot be manually assigned to members. You can remove the integration to remove this role.",CHANGE_NICKNAME_DESCRIPTION:"Members with this permission can change their own nickname.",MANAGE_NICKNAMES_DESCRIPTION:"Members with this permission can change nicknames of other members.",DELETE_ROLE:"Delete !!{name}!!",CLEAR_ROLE_PERMISSIONS:"Clear Role Permissions",VIEW_GUILD_ANALYTICS_DESCRIPTION:"Members with this permission can view the server's insights.",DELETE_ROLE_MOBILE:"Delete Role",RESET_TO_DEFAULT:"Reset to default",PICK_A_COLOR:"Pick a Color",EDIT_ROLES:"Edit Roles",ROLE_COLOR:"Role Color",ROLE_ORDER_UPDATED:"Role order updated.",ROLE_ID_COPIED:"Copied id for role: {role}",NEW_ROLE:"new role",EMOJI_SLOTS_AVAILABLE:"{count, plural, =0 {no slots} one {{count} slot} other {{count} slots}} available",UPLOAD_EMOJI:"Upload Emoji",UPLOADED_BY:"Uploaded By",SERVER_EMOJI:"Server Emoji",ANIMATED_EMOJI:"Animated Emoji",NO_EMOJI:"Get the party started by uploading an emoji",NO_EMOJI_TITLE:"No Emoji",NO_EMOJI_BODY:"None",TOO_MANY_EMOJI:"You are out of emoji slots.",TOO_MANY_ANIMATED_EMOJI:"You are out of animated emoji slots.",EMOJI_TOO_BIG:"That emoji was too big! Emojis must be under {maxSize}kb.",EMOJI_DISABLED_PREMIUM_TIER_LOST:"Requires higher Server Boost Level",EMOJIS_TITLE:"{count, plural, =0 {no emoji} one {{count} emoji} other {{count} emojis}}",NO_INVITES_LABEL:"No invites yet",NO_INVITES_BODY:"\nFeeling aimless? Like a paper plane drifting through the skies?\nGet some friends in here by creating an invite link!\n",PUBLIC_RULES_CHANNEL_TITLE:"Rules Channel",PUBLIC_RULES_SELECTOR_TITLE:"Select a Rules Channel",PUBLIC_UPDATES_CHANNEL_TITLE:"Mod-only Channel",PUBLIC_LOCALE_TITLE:"Primary Language",PUBLIC_LOCALE_HELP:"Discord will prioritize this server in search and in recommendations to users who speak the selected language.",PUBLIC_LOCALE_SELECTOR_TITLE:"Select a Primary Language",NO_INVITES_CAPTION:"No invites yet!",NONE:"None",INTEGRATION_ADDED_USER:"Added by !!{user}!!",INTEGRATION_ADDED_DATE:"Added on {timestamp, date, medium}",INTEGRATION_ADDED_USER_DATE:"Added on {timestamp, date, medium} by !!{user}!!",INTEGRATION_CREATED_DATE:"Created on {timestamp, date, medium}",INTEGRATION_CREATED_USER_DATE:"Created on {timestamp, date, medium} by !!{user}!!",INTEGRATIONS_OVERVIEW:"Integrations",INTEGRATIONS_OVERVIEW_DESCRIPTION_GUILD:"Customize your server with integrations. Manage webhooks, followed channels, and bots, as well as Twitch and YouTube settings for creators. [Learn more about managing integrations.]({helpdeskArticle})",INTEGRATIONS_OVERVIEW_DESCRIPTION_CHANNEL:"Customize your server with integrations. Manage webhooks and followed channels that post into this channel. [Learn more about managing integrations.]({helpdeskArticle})",INTEGRATIONS_OVERVIEW_NO_APPLICATIONS:"When you add new bots and apps to your server, they'll show up here!",INTEGRATIONS_APPLICATION_SECTION:"Bots and Apps",INTEGRATIONS_APPLICATION_BUTTON:"Manage",INTEGRATIONS_APPLICATION_BOT:"Bot",INTEGRATIONS_APPLICATION_VERIFIED_BOT:"Verified Bot",INTEGRATIONS_APPLICATION_BOT_NAME:"!!{user}!!",INTEGRATIONS_APPLICATION_NO_BOT:"This application does not have a bot in this server.",INTEGRATIONS_APPLICATION_REMOVE:"Remove Integration",INTEGRATIONS_APPLICATION_REMOVE_SUMMARY:"Removing this integration will remove any bots and webhooks on this page from your server. This action cannot be undone.",INTEGRATIONS_APPLICATION_REMOVE_NO_PERMISSIONS:"You do not have permissions to remove this integration.",INTEGRATIONS_APPLICATION_REMOVE_TITLE:"Remove !!{applicationName}!!",INTEGRATIONS_APPLICATION_REMOVE_BODY:"\nAre you sure you want to remove **!!{applicationName}!!**?\n",INTEGRATIONS_APPLICATION_REMOVE_ERROR_TITLE:"Error Removing Bot",INTEGRATIONS_APPLICATION_REMOVE_ERROR:"An internal server error has occurred.",INTEGRATIONS_APPLICATION_WEBHOOKS:"Webhooks",INTEGRATIONS_APPLICATION_NO_WEBHOOKS:"This application has no webhooks in this server.",INTEGRATIONS_APPLICATION_ADDED_BY:"Added by !!{user}!!",INTEGRATIONS_APPLICATION_GRANTED_PERMISSIONS:"Granted permissions",INTEGRATIONS_APPLICATION_DENIED_PERMISSIONS:"Denied permissions",INTEGRATIONS_TWITCH:"Twitch",INTEGRATIONS_TWITCH_SUMMARY:"{count, plural, one {1 connected account} other {{count, number} connected accounts}}",INTEGRATIONS_TWITCH_EMPTY_SUMMARY:"Sync your subscribers to roles and unlock your Twitch emotes",INTEGRATIONS_TWITCH_DESCRIPTION:"Link your Twitch account to automatically sync your Twitch subs to roles in this server. You can also let your subs use your Twitch emotes globally in Discord.",INTEGRATIONS_TWITCH_BUTTON:"Manage",INTEGRATIONS_TWITCH_EMPTY_BUTTON:"Connect Twitch",INTEGRATIONS_TWITCH_HELP:"[Connect](connectAction) your partnered or affiliate Twitch account to add it to this server. [Learn more.]({helpdeskArticle})",INTEGRATIONS_YOUTUBE:"YouTube",INTEGRATIONS_YOUTUBE_SUMMARY:"{count, plural, one {1 connected account} other {{count, number} connected accounts}}",INTEGRATIONS_YOUTUBE_EMPTY_SUMMARY:"Sync your channel members to roles and create an exclusive experience",INTEGRATIONS_YOUTUBE_DESCRIPTION:"Link your YouTube account to automatically sync your YouTube channel members to roles in this server. Create an exclusive experience just for your channel members. YouTube integrations are only available for partnered YouTube accounts.",INTEGRATIONS_YOUTUBE_BUTTON:"Manage",INTEGRATIONS_YOUTUBE_EMPTY_BUTTON:"Connect YouTube",INTEGRATIONS_YOUTUBE_HELP:"[Connect](connectAction) your partnered YouTube account to add it to this server. [Learn more.]({helpdeskArticle})",INTEGRATIONS_ACCOUNT_DESCRIPTION:"Enable {serviceName} integration for [!!{accountUrlText}!!]({accountUrl})",INTEGRATIONS_LAST_SYNC:"Last synced: {datetime}",INTEGRATIONS_ENABLE:"Enable",INTEGRATIONS_ENABLED:"Enabled",INTEGRATIONS_DISABLE:"Disable Integration",INTEGRATIONS_CHANNEL_FOLLOWING:"Channels Followed",INTEGRATIONS_CHANNEL_FOLLOWING_TITLE:"Channels Followed",INTEGRATIONS_CHANNEL_FOLLOWING_SUMMARY:"{count, plural, one {1 channel} other {{count, number} channels}}",INTEGRATIONS_CHANNEL_FOLLOWING_DESCRIPTION:"Updates from these announcement channels will get sent directly into your server. [Learn more.]({helpdeskArticle})",INTEGRATIONS_CHANNEL_FOLLOWING_SECTION:"Posting to $[](channelHook)",INTEGRATIONS_CHANNEL_FOLLOWING_BUTTON:"View Channels",INTEGRATIONS_CHANNEL_FOLLOWING_EMPTY:"You're not following any channels",INTEGRATIONS_CHANNEL_FOLLOWING_EMPTY_BUTTON:"Learn More",INTEGRATIONS_FOLLOWED_CHANNEL_DELETE_TITLE:"Unfollow !!{name}!!",INTEGRATIONS_FOLLOWED_CHANNEL_DELETE_BODY:"Are you sure you want to unfollow this channel? You can refollow it in the future by visiting the server it's from.",INTEGRATIONS_FOLLOWED_CHANNEL_ERROR_DELETING:"Error Removing Followed Channel",INTEGRATIONS_FOLLOWED_CHANNEL_DEST_CHANNEL:"Post To",INTEGRATIONS_FOLLOWED_CHANNEL_NAME:"Announcement Name",INTEGRATIONS_FOLLOWED_CHANNEL_DELETE:"Unfollow",INTEGRATIONS_FOLLOWED_CHANNEL_GUILD_SOURCE:"from $[](guildHook)",INTEGRATIONS_WEBHOOKS:"Webhooks",INTEGRATIONS_WEBHOOKS_SUMMARY:"{count, plural, one {1 webhook} other {{count, number} webhooks}}",INTEGRATIONS_WEBHOOKS_COUNT:"{count, plural, one {1 Webhook} other {{count, number} Webhooks}}",INTEGRATIONS_WEBHOOKS_DESCRIPTION:"Webhooks are a simple way to post messages from other apps and websites into Discord using internet magic. [Learn more]({helpdeskArticle}), or try [building one yourself.]({developersArticle})",INTEGRATIONS_WEBHOOKS_BUTTON:"View Webhooks",INTEGRATIONS_WEBHOOKS_EMPTY:"You have no webhooks!",INTEGRATIONS_WEBHOOKS_EMPTY_BUTTON:"Create Webhook",INTEGRATIONS_WEBHOOKS_CREATE:"New Webhook",INTEGRATIONS_WEBHOOK_COPY_URL:"Copy Webhook URL",INTEGRATIONS_WEBHOOK_COPIED_URL:"Copied!",INTEGRATIONS_WEBHOOK_DELETE:"Delete Webhook",MODERATION:"Moderation",WEBHOOKS:"Webhooks",WEBHOOK_CREATE:"Create Webhook",WEBHOOK_CREATED_ON:"!!{username}!! on {timestamp, date, medium}",WEBHOOK_CANCEL:"Cancel",WEBHOOK_DELETE:"Delete",WEBHOOK_DELETE_TITLE:"Delete !!{name}!!",WEBHOOK_DELETE_BODY:"\nAre you sure you want to delete the **!!{name}!!** webhook? This action cannot be undone.\n",WEBHOOK_FORM_NAME:"Name",WEBHOOK_FORM_WEBHOOK_URL_HELP:"Need help with setup?",WEBHOOK_ERROR_CREATING_WEBHOOK:"Error Creating Webhook",WEBHOOK_ERROR_DELETING_WEBHOOK:"Error Deleting Webhook",WEBHOOK_ERROR_MAX_WEBHOOKS_REACHED:"You have reached the maximum number of webhooks.",WEBHOOK_ERROR_INTERNAL_SERVER_ERROR:"An internal server error has occurred.",WEBHOOK_FORM_URL:"Webhook URL",FORM_LABEL_NOTIFICATION_FREQUENCY:"Frequency",FORM_LABEL_SERVER_NOTIFICATION_SETTINGS:"Server Notification Settings",FORM_LABEL_SUPPRESS_EVERYONE:"Suppress **@everyone** and **@here**",FORM_LABEL_SUPPRESS_ROLES:"Suppress All Role @mentions",FORM_LABEL_MUTE_SERVER:"Mute **!!{name}!!**",FORM_LABEL_UNMUTE_SERVER:"Unmute **!!{name}!!**",FORM_LABEL_MUTE_SERVER_DESCRIPTION:"\nMuting a server prevents unread indicators and notifications from appearing unless you are mentioned.\n",FORM_LABEL_MOBILE_PUSH_NOTIFICATIONS:"Mobile Push Notifications",FORM_LABEL_ALL_MESSAGES:"All Messages",FORM_LABEL_ONLY_MENTIONS:"Only **@mentions**",FORM_LABEL_NOTHING:"Nothing",FORM_LABEL_ALL_MESSAGES_SHORT:"All",FORM_LABEL_ONLY_MENTIONS_SHORT:"@mentions",FORM_LABEL_MUTED:"Muted",FORM_LABEL_CHANNEL_NOTIFCATION_SETTINGS:"Channel Notification Settings",FORM_LABEL_DEFAULT:"Use Server Default",FORM_LABEL_ALL:"All",FORM_LABEL_OFF:"Off",FORM_LABEL_DESKTOP_ONLY:"Desktop",FORM_LABEL_MENTIONS:"Mentions",FORM_LABEL_LIVE_STAGES_ONLY:"All Live Stages",RESET:"Reset",LARGE_GUILD_NOTIFY_ALL_MESSAGES_DESCRIPTION:"Due to this server's size, you won't get mobile push notifications for non-@mention messages.",FORM_LABEL_MOBILE_NOTIFICATIONS_LABEL:"Enable all notifications",FORM_LABEL_MOBILE_NOTIFICATIONS_SYSTEM_LABEL:"System notifications",FORM_LABEL_MOBILE_NOTIFICATIONS_SYSTEM_DESC:"Get notifications outside of Discord.",FORM_LABEL_MOBILE_NOTIFICATIONS_SYSTEM_HINT:"\nIf you're looking for per-channel or per-server notifications, tap the desired server title and select Notification Settings.\n    ",FORM_LABEL_MOBILE_NOTIFICATIONS_USER_LABEL:"Other notifications",FORM_LABEL_MOBILE_NOTIFICATIONS_STREAM_DESC:"Get notifications when your friends Go Live",FORM_LABEL_MOBILE_NOTIFICATIONS_INAPP_LABEL:"In-app notifications",FORM_LABEL_MOBILE_NOTIFICATIONS_INAPP_DESC:"Get notifications within Discord.",FORM_LABEL_MOBILE_USER_NOTIFICATIONS_LABEL:"User Notification Settings",FORM_LABEL_MOBILE_USER_NOTIFICATIONS_HINT:"Manage all in-app notifications.",FORM_LABEL_MOBILE_NOTIFICATIONS_BEHAVIOR:"Behavior",FORM_LABEL_MOBILE_NOTIFICATIONS_WAKE_DEVICE:"Notifications wake up device.",FORM_LABEL_MOBILE_NOTIFICATIONS_BLINK:"Disable notifications light.",FORM_LABEL_MOBILE_NOTIFICATIONS_VIBRATIONS:"Disable notifications vibration.",FORM_LABEL_MOBILE_NOTIFICATIONS_SOUND_DISABLE:"Disable Sounds",FORM_LABEL_MOBILE_NOTIFICATIONS_OS_CONTROL_JUMP:"Tweak notification settings",FORM_LABEL_MOBILE_NOTIFICATIONS_OS_CONTROL_JUMP_HELP:"Advanced notification settings are controlled by the system.",FORM_LABEL_MOBILE_NOTIFICATIONS_CALL_DESC:"Integrate calls with Phone app.",FORM_LABEL_MOBILE_CHANNEL_OVERRIDE_MUTE:"You won't receive notifications from muted channels, and they will appear grayed out in your channel list. This setting applies across all your devices.",FORM_LABEL_MOBILE_CATEGORY_OVERRIDE_MUTE:"You won't receive notifications from muted categories, and they will appear grayed out in your channel list. This setting applies across all your devices.",FORM_LABEL_MOBILE_CHANNEL_OVERRIDE_GUILD_MUTED:"Your server is currently $[**muted**](mutedHook). You can't get notifications from this channel nor change settings until you unmute this server",FORM_LABEL_MOBILE_CHANNEL_OVERRIDE_GUILD_MESSAGE_NOTIFICATION:"Your server's notification is set to $[**nothing**](notificationHook). You will not get any notifications from this channel, but you can override it here.",CHANNEL_OR_GUILD_MUTED:"This channel or server is currently muted.",MUTE_SETTINGS_MUTE_THIS_CONVERSATION:"Mute this conversation",MUTE_SETTINGS_MUTE_CHANNEL:"Mute this channel",MUTE_SETTINGS_MUTE_SERVER:"Mute this server",MUTE_SETTINGS_MUTE_CATEGORY:"Mute this category",FORM_LABEL_MOBILE_CHANNEL_MUTED:"You have muted this channel",FORM_LABEL_MOBILE_CHANNEL_MUTED_UNTIL:"You have muted this channel until $[**{endTime}**](endTimeHook)",FORM_LABEL_MOBILE_SERVER_MUTED:"You have muted this server",FORM_LABEL_MOBILE_SERVER_MUTED_UNTIL:"You have muted this server until $[**{endTime}**](endTimeHook)",FORM_LABEL_MOBILE_DM_MUTED:"You have muted this conversation",FORM_LABEL_MOBILE_DM_MUTED_UNTIL:"You have muted this conversation until $[**{endTime}**](endTimeHook)",FORM_LABEL_MOBILE_CATEGORY_MUTED:"You have muted this category",FORM_LABEL_MOBILE_CATEGORY_MUTED_UNTIL:"You have muted this category until $[**{endTime}**](endTimeHook)",MUTE_DURATION_15_MINUTES:"For 15 Minutes",MUTE_DURATION_1_HOUR:"For 1 Hour",MUTE_DURATION_8_HOURS:"For 8 Hours",MUTE_DURATION_24_HOURS:"For 24 Hours",MUTE_DURATION_ALWAYS:"Until I turn it back on",MUTE_UNTIL:"Mute duration",MUTED_UNTIL_TIME:"Muted until {endTime}",FORM_DESCRIPTION_MOBILE_NOTIFICATION_MUTED:"You can’t get notifications from this channel nor change settings until you unmute this channel.",FORM_DESCRIPTION_MOBILE_GUILD_NOTIFICATION_ALL_MESSAGES:"You are receiving notifications from all messages in this server, but you can override it here",FORM_DESCRIPTION_MOBILE_GUILD_NOTIFICATION_ONLY_MENTIONS:"You are receiving notifications from only mentions in this server, but you can override it here",SETTINGS_GAMES_NO_GAME_DETECTED:"No game detected",SETTINGS_GAMES_ADDED_GAMES_LABEL:"Added Games",SETTINGS_GAMES_HIDDEN_LIBRARY_APPLICATIONS_LABEL:"Hidden Games",SETTINGS_GAMES_ENABLE_OVERLAY_LABEL:"Enable Overlay",SETTINGS_GAMES_NOW_PLAYING_STATE:"Now playing!",SETTINGS_GAMES_NOT_PLAYING:"What are you playing?!",SETTINGS_GAMES_OVERLAY:"Overlay",SETTINGS_GAMES_OVERLAY_WARNING:"Overlay is known to be problematic on this game.",SETTINGS_GAMES_NO_GAMES_HEADER:"No games added",SETTINGS_GAMES_NOT_SEEING_GAME:"Not seeing your game?",SETTINGS_GAMES_ADD_GAME:"Add it!",SETTINGS_GAMES_ADD_NEW_GAME:"Add Game",SETTINGS_GAMES_VERIFIED_ICON:"Verified",SETTINGS_GAMES_LAST_PLAYED:"Last played **{when}**",SETTINGS_GAMES_OVERLAY_ON:"Overlay: On",SETTINGS_GAMES_OVERLAY_OFF:"Overlay: Off",SETTINGS_GAMES_TOGGLE_OVERLAY:"Toggle overlay",CONNECTED_ACCOUNT_VERIFYING:"Connecting your **!!{name}!!** account to **Discord**",CONNECTED_ACCOUNT_VERIFY_SUCCESS:"Connected your **!!{name}!!** account to **Discord**",CONNECTED_ACCOUNT_VERIFY_FAILURE:"Failed to connect your **!!{name}!!** account to **Discord**",DISCONNECT_ACCOUNT:"Disconnect",DISCONNECT_ACCOUNT_TITLE:"Disconnect !!{name}!!",DISCONNECT_ACCOUNT_BODY:"Disconnecting your account might remove you from servers you joined via this account.",EVERYONE_POPOUT_BODY:"By using **{role}**, you are about to mention {count}+ people. Are you sure?",EVERYONE_POPOUT_BODY_THREAD:"By using **{role}**, you are about to mention {count}+ people in this thread. Are you sure?",EVERYONE_POPOUT_SEND_NOW:"Send Now",EVERYONE_POPOUT_ESC:"**ESC** to edit",EVERYONE_POPOUT_ENTER:"**ENTER** to send",EVERYONE_POPOUT_FOOTER:"Maybe try mentioning a role or individual users instead?",ENABLE_PUBLIC_MODAL_CONTENT_FILTER_HELP:"Discord will automatically scan and delete media sent in this server that contain explicit content (excludes NSFW channels).",ENABLE_PUBLIC_MODAL_VERIFICATION_LEVEL_DESCRIPTION:"Verified email required.",ENABLE_PUBLIC_MODAL_RULES_CHANNEL_TITLE:"Rules or Guidelines Channel",ENABLE_PUBLIC_MODAL_RULES_CHANNEL_HELP:"Community servers must have clearly posted server rules and/or guidelines for members. Please select the channel that hosts this.",ENABLE_PUBLIC_MODAL_CREATE_CHANNEL:"Create one for me",LETS_GO:"Let's Go",FORM_LABEL_MAX_AGE:"Expire After",FORM_LABEL_MAX_USES:"Max Uses",FORM_LABEL_TEMPORARY:"Temporary Membership",FORM_HELP_TEMPORARY:"Members are automatically kicked when they disconnect unless a role is assigned.",MAX_AGE_NEVER:"Never",MAX_USES:"{maxUses, plural, =0 {No limit} one {1 use} other {{maxUses} uses}}",MAX_AGE_NEVER_DESCRIPTION_MOBILE:"Never expires",MAX_USES_DESCRIPTION_MOBILE:"{maxUses, plural, =0 {unlimited uses} one {1 use} other {{maxUses} uses}}",MAX_USES_DESCRIPTION_UNLIMITED_USES:"unlimited uses",INVITE_SETTINGS_EXPIRED_DESCRIPTION:"Expires in !!{maxAge}!!, !!{maxUses}!!",INVITE_SETTINGS_DESCRIPTION_NO_EXPIRATION:"!!{maxAge}!!, !!{maxUses}!!",ADVANCED_SETTINGS:"Advanced Settings",INVITE_MEMBERS:"Invite Members",INSTANT_INVITE_FRIENDS:"Invite friends to your server!",INSTANT_INVITE_FRIENDS_DESCRIPTION:"Share this link with your friends and they'll automatically join your server!",INVITE_FRIEND_MODAL_TITLE:"Invite friends to message",INVITE_FRIEND_MODAL_LOADING:"Fetching your friends list...",INVITE_FRIEND_MODAL_NO_RESULTS:"No results found",INVITE_FRIEND_MODAL_SENT:"Sent",INVITE_FRIEND_MODAL_INVITE:"Invite",INVITE_FRIEND_MODAL_RETRY:"Retry",CONTACT_SYNC_NO_RESULTS_GOT_IT:"Got It",CONTACT_SYNC_NO_RESULTS_TITLE:"We didn't find anyone!",CONTACT_SYNC_FAILED_NO_PHONE_ALERT_TITLE:"No Verified Phone",CONTACT_SYNC_FAILED_NO_PHONE_ALERT_MESSAGE:"You cannot enable contact sync without a verified phone number.",CONTACT_SYNC_FAILED_ALERT_TITLE:"Uh oh something went wrong.",CONTACT_SYNC_FAILED_ALERT_MESSAGE:"Something went wrong while syncing your contacts. Please wait a moment and try again.",CONTACT_SYNC_PERMISSION_DENIED_ALERT_TITLE:"We need your permission to access your contacts",CONTACT_SYNC_PERMISSION_DENIED_ALERT_MESSAGE:"You can manage your app permissions from settings",CONTACT_SYNC_NO_RESULTS_DESCRIPTION:"None of your friends have synced their contacts on Discord yet, but we’ll let you know when they do.",CONTACT_SYNC_SYNCING_TITLE:"Your contacts are syncing...",CONTACT_SYNC_SYNCING_DESCRIPTION:"Did you know all people are 6 or fewer social connections away from each other?",CONTACT_SYNC_SUBMIT_PHONE_NUMBER:"Submit",CONTACT_SYNC_ENTER_PHONE_NUMBER_TITLE:"Verify your phone number",CONTACT_SYNC_ENTER_PHONE_NUMBER_DESCRIPTION:"We need to first verify your phone number so your contacts that also have your number can find you",CONTACT_SYNC_ENTER_NAME_PREFILL:"We prefilled this name from your contact book.",CONTACT_SYNC_CTA_BUTTON_TITLE:"Sync your contacts",CONTACT_SYNC_CTA_BUTTON_SUBTITLE:"Add friends from your contacts automatically",CONTACT_SYNC_LANDING_SCREEN_TITLE:"Discord is more fun with friends",CONTACT_SYNC_LANDING_SCREEN_DESCRIPTION:"By turning on Friend Sync, we’ll automatically add your phone contacts as friends on Discord if: \n \n 1. You both have each other’s phone numbers \n \n 2. You both have Friend Sync turned on",CONTACT_SYNC_LANDING_SCREEN_BUTTON:"Add Friends",CONTACT_SYNC_WE_FOUND_YOUR_FRIENDS_BODY:"You are now friends with them on Discord. Talk to them, invite them to your server, have fun! We’ll let you know when new friends join Discord.",CONTACT_SYNC_WE_FOUND_YOUR_FRIENDS_TITLE:"We found your friends!",CONTACT_SYNC_TOGGLE_LABEL:"Automatically sync your phone contacts.",CONTACT_SYNC_TOGGLE_SUB_LABEL:"By syncing your contacts, Discord can find your friends and help them find you. Any of your contacts that also have your phone number on their contacts will be added as your friend on Discord.",CONTACT_SYNC_PERMISSIONS_DESCRIPTION:"Your contacts will be regularly sent to us so you can connect with friends. This can be changed anytime in settings.",CONTACT_SYNC_PERMISSIONS_DESCRIPTION_ANDROID:"Your contacts will be regularly sent to us. This can be changed anytime in settings. $[Learn More](learnMoreHook)",CONTACT_SYNC_NON_MUTUAL_TITLE:"Find your Friends Beta Update",CONTACT_SYNC_NON_MUTUAL_NOTICE:"Thanks for all of your feedback! In response, we're making the following updates to make finding friends easier.\n \nIf you've allowed contacts to add you, you can be discovered by any friend who has your phone number.\n \nYou can discover friends whose phone numbers you have in your contacts (as long as they've chosen to allow contacts to add them).\n \nYou can change your [Find your Friend settings](onFriendSettingsClick) at any time.",CONTACT_SYNC_NON_MUTUAL_NOTICE_2:"Thanks for all of your feedback! In response, we're making the following updates to make finding friends easier:\n \nIf you've allowed contacts to add you, you can be discovered by any friend who has your phone number.\n \nYou can discover friends whose phone numbers you have in your contacts (as long as they've chosen to allow contacts to add them).\n \nYou can change your Find Your Friend settings at any time.",CONTACT_SYNC_NON_MUTUAL_NOTICE_ENABLE_UPDATE:"Enable Update",CONTACT_SYNC_NON_MUTUAL_NOTICE_DISABLE:"Disable Find Your Friends",CONTACT_SYNC_ANDROID_LANDING_SCREEN_SUBTITLE:"Discord can connect you with your friends and help them find you.",REVOKE:"Revoke",CHANNEL:"Channel",CHANNEL_SELECT:"Select a Channel",GUILD_SELECT:"Select a Server",MEMBER:"Member",INSTANT_INVITE_INVITER:"Inviter",INSTANT_INVITE_INVITE_CODE:"Invite Code",INSTANT_INVITE_USES:"Uses",INSTANT_INVITE_EXPIRES:"Expires",INSTANT_INVITE_GENERATED_BY_WIDGET:"Generated by Widget",INSTANT_INVITE_FAILED_TO_GENERATE:"Failed to make an invite link.",INSTANT_INVITE_INVALID_CHANNEL:"You can't make an invite for that channel. Let's try another one!",INSTANT_INVITE_NOT_ALLOWED:"Looks like you can't make an invite for this server.",APP_OPENED_TITLE:"Discord App Launched",APP_OPENED_BODY:"We've beamed the info to your Discord app. You can close this browser tab or continue with the web version.",CONTINUE_TO_WEBAPP:"Continue to Discord",APP_NOT_OPENED:"The Discord app could not be opened.",APP_OPENING:"Opening Discord App.",INVITE_INVALID_CTA:"Tap to learn more",INVITE_INVALID_ERROR:"This invite link is invalid or has expired.\nWant to know more about Discord?",INSTANT_INVITE_RESOLVING:"Resolving Invite",INSTANT_INVITE_ACCEPTING:"Accepting Invite",INSTANT_INVITE_RESOLVED_TITLE:"Why, hello there.",INSTANT_INVITE_ACCEPT:"Accept Invite",INSTANT_INVITE_ACCEPT_STAGE:"Join and Listen In",INSTANT_INVITE_YOU_ARE_ALREADY_A_MEMBER_OF:"You're already a member of",INSTANT_INVITE_YOU_HAVE_BEEN_INVITED_TO_CHAT:"**!!{username}!!** invited you to chat",INSTANT_INVITE_YOU_HAVE_BEEN_INVITED_TO_CHAT_WITH:"You’ve been invited to chat with",INSTANT_INVITE_YOU_HAVE_BEEN_INVITED_TO_JOIN_BY_USER:"**!!{username}!!** has invited you to join",INSTANT_INVITE_YOU_HAVE_BEEN_INVITED_TO_JOIN:"You've been invited to join",INSTANT_INVITE_YOU_HAVE_BEEN_INVITED_TO_JOIN_GROUP_DM:"You've been invited to join a group DM by",INSTANT_INVITE_YOU_HAVE_JOINED:"You have joined",INSTANT_INVITE_GUILD_BY_USER:"$[**!!{guild}!!**](guildNameHook) by **!!{username}!!**",INSTANT_INVITE_GUILD_MEMBERS_ONLINE:"{membersOnline, number} Online",INSTANT_INVITE_GUILD_MEMBERS_TOTAL:"{count, plural, one {1 Member} other {{count, number} Members}}",INSTANT_INVITE_ASK_USER_FOR_NEW_INVITE:"Ask !!{username}!! for a new invite!",INSTANT_INVITE_ASK_FOR_NEW_INVITE:"Ask for a new one!",INSTANT_INVITE_BANNED_INFO:"Uh-oh. Looks like you've been banned.",INSTANT_INVITE_DIRECT_FRIEND_DESCRIPTION:"Accepting this invite will add **!!{username}!!** as your friend on Discord.",INVITE_POKEMON_GO_ANNOUNCEMENTS_LABEL_SHORT:"**Get latest announcements**",INVITE_POKEMON_GO_ANNOUNCEMENTS_LABEL_LONG:"**Get latest announcements** for Pokemon GO raids in Los Angeles!",INVITE_POKEMON_GO_STRATEGY_LABEL_SHORT:"**Share tips and strategy**",INVITE_POKEMON_GO_STRATEGY_LABEL_LONG:"**Share tips and strategy** so you can train the strongest Pokemon!",INVITE_POKEMON_GO_FRIENDSHIP_LABEL_SHORT:"**Make new friends**",INVITE_POKEMON_GO_FRIENDSHIP_LABEL_LONG:"**Make new friends** who are also passionate about Pokemon GO in your area!",INVITE_BUTTON_TITLE_INVITED:"You've been invited to join a server",INVITE_BUTTON_TITLE_INVITER:"You sent an invite to join a server",INVITE_BUTTON_TITLE_INVITED_VOICE_CHANNEL:"You've been invited to join a voice channel",INVITE_BUTTON_TITLE_INVITER_VOICE_CHANNEL:"You sent an invite to join a voice channel",INVITE_BUTTON_TITLE_STREAMING:"Invite to watch stream",INVITE_BUTTON_TITLE_INVITED_STREAM:"You've been invited to watch a stream",INVITE_BUTTON_TITLE_INVITER_STREAM:"You sent an invite to watch a stream",INVITE_BUTTON_TITLE_INVITED_GROUP_DM:"You've been invited to join a group DM",INVITE_BUTTON_TITLE_INVITER_GROUP_DM:"You sent an invite to join a group DM",INVITE_BUTTON_TITLE_INVITED_INVALID:"You received an invite, but...",INVITE_BUTTON_TITLE_INVITER_INVALID:"You sent an invite, but...",INVITE_BUTTON_STREAMING:"!!{name}!! is live!",INVITE_BUTTON_STREAMER:"You are live!",INVITE_BUTTON_STREAM_ENDED:"!!{name}!! was live",INVITE_BUTTON_STREAM_ENDED_STREAMER:"You were live",INVITE_BUTTON_STREAM_WATCHING:"Watching",INVITE_BUTTON_STREAMING_SUBTEXT:"in !!{guildName}!!",INVITE_BUTTON_RESOLVING:"Resolving Invite",INVITE_BUTTON_INVALID:"Invalid Invite",INVITE_BUTTON_INVALID_OWNER:"Try sending a new invite!",INVITE_BUTTON_EXPIRED:"Invite Expired",INVITE_BUTTON_BODY_IN_GUILD:"in !!{guildName}!!",INVITE_BUTTON_TITLE_INVITED_TO_PLAY:"You've been invited to play",LEARN_MORE:"Learn More",LEARN_MORE_ALT:"Learn about Nitro",LEARN_MORE_LINK:"[Learn More]({helpdeskArticle})",LOGIN_TITLE:"Welcome back!",LOGIN_BODY:"Log in with your email to start talking.",FORM_LABEL_EMAIL:"Email",FORM_LABEL_PHONE_NUMBER:"Phone Number",FORM_LABEL_EMAIL_OR_PHONE_NUMBER:"Email or Phone Number",EMAIL_REQUIRED:"A valid email is required.",PHONE_REQUIRED:"A valid phone is required.",LOGIN_REQUIRED:"A valid login is required.",EMAIL_INVALID:"The email entered is not valid, please update it and try again.",PHONE_INVALID:"Phone number is not valid.",PHONE_FAILED_TO_ADD:"Failed to add phone number, please try again later",FORM_LABEL_PASSWORD:"Password",PASSWORD_REQUIRED:"Password is required.",PASSWORD_LENGTH_ERROR:"Passwords need to be between 6 and 128 characters",LOGIN:"Login",LOGIN_STAGE:"Login and Listen In",REGISTER:"Register",ENTER_PHONE_OR_EMAIL:"Enter phone or email",REGISTER_OR_EMAIL:"Or you can [sign up with email.](onClick)",REGISTER_OR_PHONE:"Or you can [sign up with a phone number.](onClick)",REGISTER_ENTER_EMAIL:"Enter an email",REGISTER_ENTER_PHONE:"Enter a phone number",REGISTER_USERNAME_HINT:"You can always change this later!",REGISTER_LOGIN_PRIVACY_NOTICE:"[View our Privacy Policy]({privacyURL})",FORGOT_PASSWORD:"Forgot your password?",NEED_ACCOUNT:"Need an account?",ACCOUNT_SCHEDULED_FOR_DELETION_TITLE:"Account Scheduled for Deletion",ACCOUNT_DISABLED_TITLE:"Account Disabled",ACCOUNT_SCHEDULED_FOR_DELETION_DESCRIPTION:"Your account is scheduled to self-destruct soon.",ACCOUNT_DISABLED_DESCRIPTION:"You cannot use it while it's disabled.",RETURN_TO_LOGIN:"Return To Login",ACCOUNT_SCHEDULED_FOR_DELETION_CANCEL:"Change your mind? [Restore Account](onClick)",ACCOUNT_SCHEDULED_FOR_DELETION_CANCEL_MOBILE:"Restore Account",PASSWORD_MANAGER:"Password Manager",PASSWORD_MANAGER_USE:"Use a password manager?",PASSWORD_MANAGER_OPEN_SETTINGS:"Open Settings",PASSWORD_MANAGER_INFO_ANDROID:"If you use a password manager, you'll need to allow it in Accessibility Settings -> Downloaded Services. Don't worry, we can take you there.",PASSWORD_MANAGER_OPEN_SETTINGS_ERROR:"Cannot open Accessibility Settings",LOGIN_WITH_QR:"Log in with QR Code",LOGIN_WITH_QR_DESCRIPTION:"Scan this with the **Discord mobile app** to log in instantly.",LOGIN_AS:"Logging in as !!{username}!!",CONFIRM_QR_CHECK_YOUR_PHONE:"Check your phone!",CONFIRM_QR_DESCRIPTION:"Only scan QR codes taken directly from your browser. Never use a code sent to you by another user.",CONFIRM_QR_KEEP_ME_SIGNED_IN:"Keep me signed in",CONFIRM_QR_LOGIN_ON_COMPUTER:"Yes, log me in",QR_CODE_NOT_FOUND:"Can't find this computer!",QR_CODE_NOT_FOUND_DESCRIPTION:"Oh no! Wumpus can't find the computer you're trying to log in on. Make sure that the computer is connected to the internet, and try reopening the Discord desktop app.",QR_CODE_LOGIN_CONFIRM:"Are you trying to log in on the computer?",QR_CODE_LOGIN_SUCCESS:"You're in!",QR_CODE_LOGIN_SUCCESS_FLAVOR:"You're now logged in on desktop.",QR_CODE_LOGIN_START_OVER:"Not me, start over",QR_CODE_LOGIN_FINISH_BUTTON:"Start talking",QR_CODE_INVALID:"Invalid QR Code Found",QR_CODE_FAIL:"Failed to scan",QR_CODE_FAIL_DESCRIPTION:"Something went wrong when trying to scan.",QR_CODE_IN_APP_SCANNER_ONLY:"Rescan the QR code to continue the login process.",SMS_CONFIRMATION_TITLE:"Enter your confirmation code",SMS_CONFIRMATION_DESCRIPTION:"An SMS was sent to !!{phone}!!.",PASSWORD_RECOVERY_TITLE:"Password Recovery",PASSWORD_RECOVERY_EXTERNAL_LINK_DESCRIPTION:"To continue, open our change password page in your browser by tapping the button below.",PASSWORD_RECOVERY_VERIFY_PHONE_TITLE:"Enter your confirmation code to reset your password",PASSWORD_RECOVERY_VERIFY_PHONE_SUBTITLE:"An SMS was sent to the phone number connected to this account.",PASSWORD_RECOVERY_VERIFY_PHONE_SUBTITLE_RESEND:"An SMS was sent to the phone number connected to this account. Didn't get a code? [Resend Code](onResendClick)",PHONE_IP_AUTHORIZATION_TITLE:"Enter your confirmation code to verify it's you",PHONE_IP_AUTHORIZATION_SUBTITLE:"We don’t recognize this location. We sent a confirmation code to the phone number connected to this account.",PHONE_IP_AUTHORIZATION_SUBTITLE_RESEND:"We don’t recognize this location. We sent a confirmation code to the phone number connected to this account. Didn't get a code? [Resend Code](onResendClick)",CONTINUE_IN_BROWSER:"Continue in browser",BACK_TO_LOGIN:"Back to Login",AUTH_MESSAGE_INVITED_BY:"!!{username}!! invited you to join",AUTH_MESSAGE_INVITED_TO_STREAM:"You've been invited to !!{username}!!'s stream in",AUTH_MESSAGE_INVITED_TO_PLAY_USERNAME:"!!{username}!! invited you to play",AUTH_MESSAGE_INVITED_TO_PLAY:"You've been invited to play",AUTH_USERNAME_TOOLTIP:"You can change this later.",AUTH_BROWSER_HANDOFF_DETECTING_DESCRIPTION:"Trying to detect a Discord account from your default browser. Gimme just one second...",AUTH_LOGIN_BODY:"We're so excited to see you again!",AUTH_IP_AUTH_SUCCEEDED_SUGGESTION:"If you followed this link after trying to login on the desktop or mobile app, please go back and try again.",AUTH_EXPIRED_SUGGESTION:"Please login to resend the link.",AUTH_VERFICATION_EXPIRED_SUGGESTION:"Please login and resend the link.",AUTH_DISABLE_EMAIL_NOTIFICATIONS_SUCCESS_HEADER:"Email Notifications Disabled",AUTH_DISABLE_EMAIL_NOTIFICATIONS_SUCCESS_BODY:"Your inbox feels a bit lighter.",AUTH_DISABLE_EMAIL_NOTIFICATIONS_FAILURE_HEADER:"Whoops. That didn't work.",AUTH_DISABLE_EMAIL_NOTIFICATIONS_FAILURE_BODY:"Try doing that again. Sorry!",AUTH_INVALID_INVITE_BODY:"This invite may be expired, or you might not have permission to join.",AUTH_BANNED_INVITE_BODY:"Uh-oh. Looks like you've been banned. You'll no longer be able to join or interact within this server.",AUTH_INVALID_INVITE_TITLE:"Invite Invalid",AUTH_INVALID_INVITE_TIP:"Why is my invite invalid?",AUTH_VIEW_PASSWORD:"View Password",AUTH_HIDE_PASSWORD:"Hide Password",MESSAGES:"Messages",DELETE_MESSAGE_TITLE:"Delete Message",DELETE_MESSAGE_BODY:"Are you sure you want to delete this message?",DELETE_MESSAGE_REPORT:"Report to Discord's Trust & Safety team.",DELETE_MESSAGE_CONTEXT_MENU_HINT:"\nYou can hold down shift when clicking **delete message** to bypass this confirmation entirely.",EDIT:"Edit",DELETE:"Delete",RETRY:"Retry",UNPIN:"Unpin",PIN:"Pin",PIN_MESSAGE:"Pin Message",UNPIN_MESSAGE:"Unpin Message",MESSAGE_OPTIONS:"More Options",MESSAGE_PUBLISHED:"Message published.",MESSAGE_PINNED:"Message pinned.",MESSAGE_UNPINNED:"Message unpinned.",NEW_MESSAGES_DIVIDER:"New Messages",NEW_MESSAGES:"{count, plural, one {1 new message} other {{count} new messages}} since {timestamp, time, short}",JUMP_TO_LAST_UNREAD_MESSAGE:"Jump to last unread message",NEW_MESSAGES_WITH_DATE:"\n{count, plural, one {1 new message} other {{count} new messages}} since {timestamp, time, short}\non {timestamp, date, long}\n",NEW_MESSAGES_ESTIMATED:"{count}+ new messages since {timestamp, time, short}",NEW_MESSAGES_ESTIMATED_WITH_DATE:"{count}+ new messages since {timestamp, time, short} on {timestamp, date, long}",MARK_AS_READ:"Mark As Read",MARK_GUILD_AS_READ:"Mark Server As Read",MARKED_AS_READ:"Marked As Read",JUMP_TO_PRESENT:"Jump To Present",JUMP_TO_REPLY:"Jump To Reply",YOURE_VIEWING_OLDER_MESSAGES:"You're viewing older messages",BEGINNING_DM:"This is the beginning of your direct message history with **@!!{username}!!**.",BEGINNING_GROUP_DM_MANAGED:"You will automatically leave this group when you're done.",BEGINNING_GROUP_DM:"Welcome to the beginning of the **!!{name}!!** group.",BEGINNING_CHANNEL_NO_HISTORY:"You do not have permission to view the message history of **#!!{channelName}!!**.",BEGINNING_CHANNEL:"Welcome to the beginning of the **#!!{channelName}!!** channel.",BEGINNING_CHANNEL_WELCOME:"Welcome to !!{channelName}!!!",BEGINNING_CHANNEL_DESCRIPTION:"This is the start of the !!{channelName}!! channel. $[](topicHook)",BEGINNING_CHAT:"Welcome to the beginning of the chat.",BEGINNING_CHAT_DM_MOBILE:"This is the very beginning of your legendary conversation with !!{username}!!.",MESSAGE_EDITED:"edited",EDIT_TEXTAREA_HELP:"escape to [cancel](onCancel) • enter to [save](onSave)",INVALID_VOICE_CHANNEL:"Invalid Channel",INVALID_TEXT_CHANNEL:"invalid-channel",SPOILER_REVEAL:"Click to reveal spoiler",SPOILER_MARK_SELECTED:"Mark as spoiler",SPOILER_HIDDEN_A11Y_LABEL:"spoiler, hidden",SPOILER:"Spoiler",SUPPRESS_ALL_EMBEDS:"Remove all embeds",BOT_TAG_BOT:"BOT",BOT_TAG_SERVER:"SERVER",REPORT_MESSAGE_MENU_OPTION:"Report Message",SYSTEM_PERMISSION_REQUEST_FILES:"To access **your impressive files, you'll need to grant us permission**.",SYSTEM_PERMISSION_REQUEST_CAMERA:"To access **your camera, you'll need to grant us permission**.",SYSTEM_PERMISSION_GRANT:"Grant Permission",CHOOSE_AN_APPLICATION:"Choose an application",DOWNLOAD_FILE_COMPLETE:"!!{fileName}!! downloaded",DOWNLOAD_FAILED:"Download failed",ATTACHMENT_FILENAME_UNKNOWN:"unknown",SHARE_TO:"Share to",OTHER_OPTIONS:"Other options",NOTIFICATION_REPLY:"Reply",NOTIFICATION_REPLY_SUCCESS:"Replied to {recipient}",NOTIFICATION_REPLY_FAILED:"Failed to reply to {recipient}",NOTIFICATION_MUTE_1_HOUR:"Mute 1H",MESSAGE_TTS:"!!{username}!! said !!{body}!!",MESSAGE_TTS_REPLY:"!!{username}!! replied to !!{replyUsername}!! !!{body}!!",MESSAGE_TTS_DELETED_ROLE:"Deleted Role",FORM_LABEL_LAST_SEEN:"Last Seen",FORM_HELP_LAST_SEEN:"\nPruning will kick **{members, plural, =-1 {[calculating...] members} =0 {0 members} one {1 member} other\n{{members} members}}** who have not been seen in **{days, plural, one {1 day} other {{days} days}}**\nand are not assigned to any roles. They can rejoin the server using a new invite.\n  ",LAST_SEEN:"more than {days, plural, one {1 day} other {{days} days}} ago",PRUNE:"Prune",PRUNE_WITH_ROLES:"Also include members with these roles",FORM_HELP_LAST_SEEN_WITH_ROLES:"\nPruning will kick **{members, plural, =-1 {[calculating...] members} =0 {0 members} one {1 member} other\n{{members} members}}** who have not been seen in **{days, plural, one {1 day} other {{days} days}}**\nand assigned to just the roles you've selected. Members who are not assigned to any roles are still included. They can rejoin the server using a new invite.\n  ",REGISTER_TITLE:"Create an account",REGISTER_BODY:"Enter login information",FORM_LABEL_ACCOUNT_INFORMATION:"Account Information",FORM_LABEL_USERNAME:"Username",FORM_LABEL_USERNAME_MOBILE:"Pick a username",USERNAME_REQUIRED:"Username is required.",FORM_PLACEHOLDER_USERNAME:"What should everyone call you?",ALREADY_HAVE_ACCOUNT:"Already have an account?",CONTINUE:"Continue",BEEP_BOOP:"Beep boop. Boop beep?",TERMS_PRIVACY:"By registering, you agree to Discord's [Terms of Service]({termsURL}) and [Privacy Policy]({privacyURL}).",TERMS_PRIVACY_OPT_IN:"I have read and agree to Discord's [Terms of Service]({termsURL}) and [Privacy Policy]({privacyURL}).",TERMS_PRIVACY_OPT_IN_TOOLTIP:"You need to agree to our terms of service to continue",NUF_BODY_REFRESH:"Join over 100 million people who use Discord to talk with communities and friends.",NUF_TITLE_MOBILE:"Welcome to Discord",NUF_BODY_MOBILE:"Login or Register to get started",NUF_BODY:"\nFrom here on out, things only get better with friends. Let's take a minute and setup **your server**, shall we?\n",GET_STARTED:"Get Started",SKIP:"Skip",NUF_WELCOME_CAROUSEL_1_TITLE_MOBILE:"Welcome to Discord",NUF_WELCOME_CAROUSEL_1_BODY_MOBILE:"Join over 200 million gamers who use Discord to chat with friends for free.",NUF_WELCOME_CAROUSEL_2_TITLE_MOBILE:"Create a Server",NUF_WELCOME_CAROUSEL_2_BODY_MOBILE:"Your server is where your friends hang out. Add custom emotes or start a voice chat!",NUF_WELCOME_CAROUSEL_3_TITLE_MOBILE:"Set Roles and Permissions",NUF_WELCOME_CAROUSEL_3_BODY_MOBILE:"Discord makes it easy to organize your gaming groups with tons of customization control.",NUF_WELCOME_CAROUSEL_4_TITLE_MOBILE:"1-Click Invite Links",NUF_WELCOME_CAROUSEL_4_BODY_MOBILE:"Adding friends to your server is as easy as copy and paste.",NUF_WELCOME_CAROUSEL_5_TITLE_MOBILE:"Check Who’s Gaming",NUF_WELCOME_CAROUSEL_5_BODY_MOBILE:"See which friends are online and what they’re playing.",CREATE_SERVER_TITLE_MOBILE_REFRESH:"Create a server",CREATE_SERVER_DESCRIPTION_MOBILE_REFRESH:"Your server is where you and your friends hang out.\n  Make yours and start talking.",JOIN_SERVER_TITLE_MOBILE_REFRESH:"Join a server",JOIN_SERVER_DESCRIPTION_MOBILE_REFRESH:"Enter an invite below to join an existing server.",FORM_LABEL_INVITE_LINK:"Invite link",EXAMPLES:"Examples",JOIN_SERVER_INVITE_EXAMPLES_HEADER:"Invites should look like",JOIN_SERVER_INVITE_EXAMPLES_MOBILE_REFRESH:"Invites should look like $[!!{example1}!!](exampleHook), $[!!{example2}!!](exampleHook), or $[!!{example3}!!](exampleHook)",NOTICE_SURVEY_PROMPT:"Would you answer a few questions about Discord? Puhhhlease!",NOTICE_SURVEY_BUTTON:"Take a Survey",NOTICE_SURVEY_BODY:"We’d love to hear your thoughts on how we’re doing at Discord and what you wish for in the future.",NOTICE_CONNECTION_CONFLICT:"Your voice has been disconnected because you connected at another location.",NOTICE_UNCLAIMED_ACCOUNT:"This is an unclaimed account. Claim it before it's lost.",NOTICE_UNVERIFIED_ACCOUNT:"Please check your email and follow the instructions to verify your account.",NOTICE_NATIVE_APPS_2020_06:"Want to take full advantage of Discord with better performance, in-game overlay, and more? Get the desktop app!",NOTICE_SCHEDULED_MAINTENANCE:"Discord will be undergoing scheduled maintenance on **{start, date, long}** at **{start, time, short}**.",NOTICE_NO_INPUT_DETECTED:"\nWell, it looks like Discord is not detecting any input from your mic. Let's fix that... together.\n",NOTICE_NO_INPUT_DETECTED_SETTINGS:"\nWell, it looks like Discord is not detecting any input from your mic. Let's fix that!\n",NOTICE_NO_INPUT_DETECTED_HELP_LINK_TEXT:"Help!",NOTICE_NO_INPUT_DETECTED_SETTINGS_LINK_TEXT:"Visit Settings",NOTICE_HARDWARE_MUTE:"\n  Well, it looks like the **{vendorName} {modelName}** microphone hardware mute switch is on.\n  ",NOTICE_CORRUPT_INSTALLATION:"\nWell, it looks like your Discord installation is corrupt. Let's fix that... together.\n",NOTICE_CORRUPT_INSTALLATION_HELP_LINK_TEXT:"Help!",NOTICE_STREAMER_MODE_TEXT:"Streamer Mode is enabled. Stay safe, friend.",NOTICE_CONNECT_SPOTIFY:"Connect your Spotify account to display your music in your status!",CLAIM_ACCOUNT:"Claim Account",CLAIM_ACCOUNT_SHORT:"Claim",CLAIM_ACCOUNT_LONG:"Claim Your Account",RECONNECT:"Reconnect",RECONNECTING:"Reconnecting",DISMISS:"Dismiss",DISABLE:"Disable",ENABLE:"Enable",CONFIGURE:"Configure",RESEND:"Resend",REMIND_ME_LATER:"Remind me later",NEVER_ASK_AGAIN:"Never ask again",ENABLE_NOTIFICATIONS:"Enable notifications",NOTICE_NOTIFICATION_MESSAGE:"Don't miss a thing! Know when your friends send a message",NOTICE_NOTIFICATION_MESSAGE2:"Keep up with your conversations with desktop notifications",NOTICE_SPOTIFY_AUTO_PAUSED:"Spotify playback paused while transmitting audio.",NOTICE_WHATS_THIS:"What's this?",NOTICE_PREMIUM_PROMO_MESSAGE:"Enhance your Discord experience!",NOTICE_PREMIUM_PROMO_ACTION:"Check it out",NOTICE_MFA_SMS_BACKUP:"We suggest adding a phone to your 2 factor authentication settings as a backup.",NOTICE_MFA_SMS_BACKUP_BUTTON:"Add Phone",NOTICE_DISPATCH_ERROR:"Oh no, an error has occurred.",NOTICE_DISPATCH_ERROR_WITH_CODE:"Oh no, an error has occurred. Code {code}",NOTICE_DISPATCH_ERROR_DISK_LOW:"You do not have enough disk space. {required} is required but only {available} is available.",NOTICE_DISPATCH_ERROR_POST_INSTALL_FAILED:"Oh no, Discord failed to install the stuff the game needs. {name} failed.",NOTICE_DISPATCH_ERROR_FILE_NAME_TOO_LONG:"Oh no, this game has file names too long for Windows. Please select a shorter install directory.",NOTICE_DISPATCH_ERROR_UNWRITABLE:"Oh no, the install location you chose is not writable. You chose {path}",NOTICE_DISPATCH_ERROR_INVALID_DRIVE:"Oh no, the install location you chose is not valid. You chose {path}",NOTICE_DISPATCH_ERROR_NO_MANIFESTS:"Oh no, it looks like there is no content for this game. Please contact support.",NOTICE_DISPATCH_ERROR_NOT_ENTITLED:"Oh no, it looks like you do not own this game. Please contact support if you believe this is an error.",NOTICE_DISPATCH_ERROR_POST_INSTALL_CANCELLED:"It looks like you said no to an install script. You need to say yes for the game to install.",NOTICE_DISPATCH_ERROR_IO_PERMISSION_DENIED:"Oh no, we failed to update the game. Please ensure the game is closed then try again.",NOTICE_DISPATCH_INSTALL_SCRIPT_PROGRESS:"Discord has to install some stuff before we can launch your game. Installing ({progress, number} of {total, number}).",NOTICE_DISPATCH_INSTALL_SCRIPT_PROGRESS_WITH_NAME:"Discord has to install some stuff before we can launch your game. Installing {name} ({progress, number} of {total, number}).",NOTICE_DISPATCH_APPLICATION_LOCK_FAILED:"Discord is already performing an operation on this game. Ensure that no other Discord clients are running.",NOTICE_DISPATCH_ERROR_DISK_FULL:"On no, it looks like your disk is full. Free up some space and try again.",NOTICE_DISPATCH_API_ERROR:"Oh no, it looks like the Discord servers are having issues. Please try again in a little bit.",NOTICE_APPLICATION_TEST_MODE:"Test mode is currently active for **!!{applicationName}!!**. Unpublished SKUs will appear and you will not be charged for any related payments.",NOTICE_APPLICATION_TEST_MODE_GO_TO_LISTING:"Go to SKU",APPLICATION_TEST_MODE_VIEW_OTHER_LISTINGS:"See other listings for this SKU",NOTICE_PREMIUM_GRANDFATHERED_ENDING:"You only have {numDays, plural, =1 {one day} =7 {a week} other {{numDays} days}} left of Nitro! Your subscription downgrades to Nitro Classic on **{date, date, medium}**.",NOTICE_PREMIUM_GRANDFATHERED_MONTHLY_ENDING:"Thanks for being an early supporter. Your grandfathered Nitro subscription changes to Nitro Classic on **{date, date, short}**. Upgrade now for a free month and keep your current perks.",NOTICE_PREMIUM_GRANDFATHERED_UPGRADE:"Upgrade Now",NOTICE_PREMIUM_GRANDFATHERED_ENDED:"Your access to Nitro has expired. Upgrade from Nitro Classic to Nitro for superpowered chat perks and Server Boosts.",PREMIUM_GRANDFATHERED_UPGRADE:"You will be upgraded to Nitro on **Jan 4, 2021** and charged the prorated difference. Your access to Nitro perks will not be interrupted.",PREMIUM_GRANDFATHERED_UPGRADE_CONFIRM:"Keep my Nitro Perks",PREMIUM_GRANDFATHERED_UPGRADE_REVIEW_HEADER:"Continue with Nitro Yearly",PREMIUM_GRANDFATHERED_UPGRADE_ESTIMATED_TITLE:"Estimated Upgrade Cost",PREMIUM_GRANDFATHERED_UPGRADE_LEGALESE:"Hey! You are opting in to resume your Nitro benefits after your grandfathered period expires. This is a one-time charge on Jan 4, 2021. You will not be charged today, and your billing date will not be changed. After Jan 4, 2021 your subscription will continue to be charged yearly until you cancel the subscription. You can cancel anytime from your Settings page, though!",NOTICE_DETECTED_OFF_PLATFORM_PREMIUM_PERK_MESSAGE:"Play **!!{applicationName}!!**? Redeem your free *!!{skuName}!!* Nitro perk!",NOTICE_DETECTED_OFF_PLATFORM_NO_PREMIUM_PERK_MESSAGE:"Play **!!{applicationName}!!**? Get a free *!!{skuName}!!*!",NOTICE_DETECTED_OFF_PLATFORM_PREMIUM_PERK_BUTTON:"Redeem Now",NOTICE_ENABLE_PUBLIC_GUILD_UPSELL_MESSAGE:"Get custom features and tools that can help you run your community.",NOTICE_REGISTER_TO_VOTE:"Are you registered to vote? Check your status and register in two minutes.",NOTICE_REGISTER_TO_VOTE_CTA:"Vote.org",NOTICE_CHANNEL_MAX_MEMBERS_CAP_REACHED_MESSAGE:"Your server is approaching its member size limit. To grow past {maxMemberCount, number} members, you need to send in a request. [Learn more]({maxMembersUrl})",NOTICE_PRODUCT_FEEDBACK_SURVEY:"Would you like to participate in product feedback discussions with us?",NOTICE_PRODUCT_FEEDBACK_SURVEY_CTA:"Let us know here!",NOTICE_PREMIUM_TIER_2_TRIAL_ENDING_DAYS:"You have {days, plural, =1 {# day} other {# days}} left to get a free month of Nitro",NOTICE_PREMIUM_TIER_2_TRIAL_ENDING_HOURS:"You have {hours, plural, =1 {# hour} other {# hours}} left to get a free month of Nitro",NOTICE_PREMIUM_TIER_2_TRIAL_ENDING_MINUTES:"You have {minutes, plural, =1 {# minute} other {# minutes}} left to get a free month of Nitro",NOTICE_PREMIUM_TIER_2_TRIAL_ENDING_CTA:"Claim Your Free Month!",NOTICE_NOISE_DETECTED:"We detected noise from your microphone. Please be nice to your friends and enable noise suppression.",ACTIVITY_FEED_CARD_GDPR_BUTTON_YES:"Yes, count me in!",ACTIVITY_FEED_NONE_PLAYING_HEADER:"It's quiet for now...",ACTIVITY_FEED_NONE_PLAYING_BODY:"When a friend starts an activity—like playing a game or hanging out on voice—we’ll show it here!",ACTIVITY_FEED_NOW_PLAYING_MULTIPLE_GAMES:"Playing Multiple Games",ACTIVITY_FEED_NOW_PLAYING_XBOX:"Playing on Xbox",ACTIVITY_FEED_NOW_PLAYING_SPOTIFY:"Listening to Spotify",ACTIVITY_FEED_NOW_PLAYING_STAGE_CHANNEL:"Listening to a Stage",ACTIVITY_FEED_NOW_PLAYING_WATCHING:"Watching a Stream",ACTIVITY_FEED_NOW_PLAYING_IN_A_VOICE_CHANNEL:"In a Voice Channel",ACTIVITY_FEED_NOW_PLAYING_HEADER_TWO_KNOWN:"**!!{user1}!!**, **!!{user2}!!**, and {extras, plural, =1 {{extras, number} other} other {{extras, number} others}}",ACTIVITY_FEED_NOW_PLAYING_HEADER_TWO_KNOWN_ONLY:"**!!{user1}!!** and **!!{user2}!!**",ACTIVITY_FEED_NOW_STREAMING_TWITCH:"Streaming on Twitch",ACTIVITY_FEED_NOW_PLAYING_ACTION_JOIN_CHANNEL:"Join Channel",ACTIVITY_FEED_NOW_PLAYING_ACTION_GO_TO_SERVER:"Go to Server",ACTIVITY_FEED_NOW_PLAYING_ACTION_LISTEN_ALONG:"Listen Along",ACTIVITY_FEED_NOW_PLAYING_ACTION_PLAY_ON_SPOTIFY:"Play on Spotify",ACTIVITY_FEED_USER_PLAYING_JUST_STARTED:"!!{name}!! - just now",ACTIVITY_FEED_USER_PLAYING_FOR_MINUTES:"!!{name}!! – {time}m",ACTIVITY_FEED_USER_PLAYING_FOR_HOURS:"!!{name}!! – {time}h",ACTIVITY_FEED_USER_PLAYING_FOR_DAYS:"!!{name}!! – {time}d",ACTIVITY_FEED_USER_PLAYED_SECONDS_AGO:"{time, number} {time, plural, =1 {second} other {seconds}} ago",ACTIVITY_FEED_USER_PLAYED_MINUTES_AGO:"{time, number} {time, plural, =1 {minute} other {minutes}} ago",ACTIVITY_FEED_USER_PLAYED_HOURS_AGO:"{time, number} {time, plural, =1 {hour} other {hours}} ago",ACTIVITY_FEED_USER_PLAYED_DAYS_AGO:"{time, number} {time, plural, =1 {day} other {days}} ago",ACTIVITY_FEED_SINGLE_MEMBER_LIST_HEADER:"{memberCount, plural, =1 {{memberCount, number} Person} other {{memberCount, number} People}}",ACTIVITY_FEED_OTHER_MEMBER_LIST_HEADER:"Other Members",ACTIVITY_FEED_POPOUT_NOT_FRIENDS_TOOLTIP:"You must be friends with !!{name}!!.",ACTIVITY_FEED_POPOUT_DESKTOP_APP_REQUIRED:"You must have the desktop app installed.",ACTIVITY_FEED_POPOUT_APPLICATION_RUNNING:"!!{name}!! is already running.",ACTIVITY_FEED_POPOUT_APPLICATION_LAUNCHING:"Launching !!{name}!!.",DIRECT_MESSAGES:"Direct Messages",DIRECT_MESSAGES_PENDING_FRIENDS:"Direct Messages, {requestCount, number} pending friend requests",DIRECT_MESSAGE:"Direct Message",DM_SEARCH_PLACEHOLDER:"Find or start a conversation",PLAYING_GAME:"Playing **!!{game}!!**",STREAMING:"Streaming **!!{name}!!**",STREAMING_A_GAME:"Streaming a game",LISTENING_TO:"Listening to **!!{name}!!**",WATCHING:"Watching **!!{name}!!**",COMPETING:"Competing in **!!{name}!!**",SPECTATORS:"Spectators - {numViewers}",NO_PRIVATE_CHANNELS_TITLE:"You don't have any direct messages yet.",NO_PRIVATE_CHANNELS_DESCRIPTION:"Add a friend to start talking with them on Discord!",HIDE_CHAT:"Hide chat",SHOW_CHAT:"Show chat",NOTIFICATION_TITLE_DISCORD:"Discord",BROWSER_NOTIFICATIONS_ENABLED_BODY:"Swoosh. Notifications are a go!",RESET_PASSWORD_TITLE:"Change Your Password",RESET_PASSWORD_SUCCESS_TITLE:"Password Changed",FORM_LABEL_NEW_PASSWORD:"New Password",CHANGE_PASSWORD:"Change Password",SHORTCUT_RECORDER_BUTTON:"Record Keybind",SHORTCUT_RECORDER_BUTTON_RECORDING:"Stop Recording",SHORTCUT_RECORDER_BUTTON_EDIT:"Edit Keybind",SHORTCUT_RECORDER_NO_BIND:"No Keybind Set",BROWSER_CHROME:"Google Chrome",BROWSER_FIREFOX:"Mozilla Firefox",UNSUPPORTED_BROWSER_TITLE:"Well, this is awkward",UNSUPPORTED_BROWSER_BODY:"\nIt looks like you're using an unsupported browser. To experience what Discord has to offer, upgrade your\nbrowser or download one of our apps.\n  ",EXPRESSION_PICKER_EMOJI:"Emoji",EXPRESSION_PICKER_GIF:"GIFs",EXPRESSION_PICKER_STICKER:"Stickers",EXPRESSION_PICKER_INTRO_TOOLTIP_HEADER:"NEW! GIF and Emoji Picker",EXPRESSION_PICKER_INTRO_TOOLTIP_BODY:"Access your GIFs and emojis in the same place. Drag left and right to resize.",EXPRESSION_PICKER_INTRO_TOOLTIP_ACTION:"Got it",EXPRESSION_PICKER_OPEN_EMOJI_PICKER_A11Y_LABEL:"Open Emoji Picker",EXPRESSION_PICKER_OPEN_GIF_PICKER_A11Y_LABEL:"Open GIF Picker",EXPRESSION_PICKER_OPEN_STICKER_PICKER_A11Y_LABEL:"Open Sticker Picker",EXPRESSION_SUGGESTIONS_STICKER_NAME:"**!!{stickerName}!!**",EXPRESSION_SUGGESTIONS_STICKER_SHORT_NAV_PROMPT:"$[](upHook) to select",SEARCH_EMOJIS:"Search emojis",SEARCH_FOR_EMOJI:"Find the perfect emoji",SEARCH_FOR_STICKER:"Find the perfect sticker",NO_EMOJI_SEARCH_RESULTS:"No emoji match your search",EMOJI_CATEGORY_RECENT:"Frequently Used",EMOJI_CATEGORY_FAVORITES:"Favorites",EMOJI_CATEGORY_CUSTOM:"Custom",EMOJI_CATEGORY_ACTIVITY:"Activities",EMOJI_CATEGORY_FLAGS:"Flags",EMOJI_CATEGORY_FOOD:"Food",EMOJI_CATEGORY_NATURE:"Nature",EMOJI_CATEGORY_OBJECTS:"Objects",EMOJI_CATEGORY_PEOPLE:"People",EMOJI_CATEGORY_SYMBOLS:"Symbols",EMOJI_CATEGORY_TRAVEL:"Travel",EMOJI_CATEGORY_PREMIUM_UPSELL:"Available with Nitro",EMOJI_FROM_GUILD:"from **!!{guildName}!!**",EMOJI_AVAILABLE_WITH_PREMIUM:"Available with Nitro",UNICODE_EMOJI_CATEGORY_SHORTCUT_A11Y_LABEL:"Navigate to unicode emoji categories",EMOJI_MODIFIER_NONE:"None",EMOJI_MODIFIER_LIGHT_SKIN_TONE:"Light skin tone",EMOJI_MODIFIER_MEDIUM_LIGHT_SKIN_TONE:"Medium-light skin tone",EMOJI_MODIFIER_MEDIUM_SKIN_TONE:"Medium skin tone",EMOJI_MODIFIER_MEDIUM_DARK_SKIN_TONE:"Medium dark skin tone",EMOJI_MODIFIER_DARK_SKIN_TONE:"Dark skin tone",EMOJI_NAMES_WITH_FAVORITED:"!!{names}!!, favorited",EMOJI_FAVORITE_TOOLTIP:"!!{key}!!+Click to ⭐",EMOJI_IS_FAVORITE_ARIA_LABEL:"!!{names}!! is in favorites",EMOJI_ADD_TO_FAVORITES:"Add to Favorites",EMOJI_REMOVE_FROM_FAVORITES:"Remove from Favorites",SEARCH_GIFS:"Search GIFs",SEARCH_TENOR:"Search Tenor",GIF_BUTTON_LABEL:"Open GIF picker",GIF_PICKER_RESULT_TYPE_TRENDING_GIFS:"Trending GIFs",NO_GIF_SEARCH_RESULTS:"No GIFs match your search.",NO_GIF_FAVORITES_HOW_TO_FAVORITE:"Click the star in the corner of a gif to favorite it",NO_GIF_FAVORITES_WHERE_TO_FAVORITE:"Favorites will show up here!",NO_GIF_FAVORITES_GO_FAVORITE:"So uhh… maybe go favorite some GIFs?",NO_GIF_FAVORITES_FLAVOR_FAVORITE_PLEASE:"Uh, go favorite them… please",NO_GIF_FAVORITES_FLAVOR_STILL_HERE:"Why uh are you still here?",NO_GIF_SEARCH_RESULTS_WITH_RELATED_SEARCH:"No GIFs match your search. We hand picked a couple of related terms below like ripe fruit.",NO_GIF_SEARCH_RESULTS_WITHOUT_RELATED_SEARCH:"Nothing matched your search and we couldn’t find any related terms. Keep trying for that perfect GIF.",GIF_PICKER_RELATED_SEARCH:"Your perfect GIF is in another castle. Try the suggested keywords below!",GIF_PICKER_ENTER_SEARCH:"Enter a search term above and find that perfect GIF to express how you really feel.",GIF_PICKER_FAVORITES:"Favorites",GIF_TOOLTIP_ADD_TO_FAVORITES:"Add to Favorites",GIF_TOOLTIP_REMOVE_FROM_FAVORITES:"Remove from Favorites",GIF_TOOLTIP_FAVORITED_PICKER_BUTTON:"Added to Favorites",STICKER:"Sticker",STICKER_ASSET_LOAD_ERROR:"Uh Oh!",STICKER_A11Y_LABEL:"Sticker, !!{stickerName}!!",STICKER_CATEGORY_A11Y_LABEL:"Category, !!{categoryName}!!",SEARCH_FOR_STICKERS:"Search stickers",NO_STICKERS_TO_SEARCH_THROUGH:"No stickers to search through yet",STICKER_CATEGORY_RECENT:"Frequently Used",ERROR_LOADING_STICKER:"Error loading sticker",NO_STICKER_SEARCH_RESULTS:"No stickers match your search",NO_STICKER_SEARCH_RESULTS_WITH_SUGGESTIONS:"Try searching for another term or select one below",STICKER_FROM_SOURCE:"from **!!{source}!!**",STICKER_PURCHASE_MODAL_HEADER:"Purchase Sticker Pack",STICKER_PURCHASE_MODAL_CONFIRM_BODY_HEADER:"Yay stickers!",STICKER_PURCHASE_MODAL_CONFIRM_BODY_CONTENT:"The !!{packName}!! sticker pack has been added to your stickers drawer.",STICKER_NOTIFICATION_BODY:"Sent a sticker: !!{stickerName}!!",STICKER_BUTTON_LABEL:"Open sticker picker",STICKER_PACK_PRICE_FREE:"Free",STICKER_PACK_STICKER_COUNT:"{numStickers, plural, =0 {# stickers} one {# sticker} other {# stickers}}",STICKER_PICKER_EMPTY_STATE_TITLE:"You don’t have any stickers yet!",STICKER_PICKER_EMPTY_STATE_SUBTITLE:"Get a sticker pack and it’ll show up here.\nGrow your collection!",STICKER_PICKER_EMPTY_STATE_SUBTITLE_MOBILE:"Tap the shop icon below to get a sticker pack and it’ll show up here. Grow your collection!",STICKER_PICKER_EMPTY_STATE_SUBTITLE_BROWSE:"[Browse sticker packs](onBrowseStickerPacks)",STICKER_PICKER_PREMIUM_EMPTY_STATE_TITLE:"Choose from 300 stickers with Nitro",STICKER_PICKER_PREMIUM_EMPTY_STATE_SUBTITLE:"Subscribe to add personality to your conversations.",STICKER_PICKER_PREMIUM_EMPTY_STATE_CTA:"Subscribe",STICKER_PICKER_CATEGORIES_RECENT:"Frequently used",STICKER_PICKER_DISCOUNTED_PRICE_ANDROID:"!!{discountedPrice}!! $[~~{regularPrice}~~](originalPriceHook)",STICKER_PICKER_DISCOUNTED_FREE_ANDROID:"Free $[~~{regularPrice}~~](originalPriceHook)",STICKER_PICKER_PRICE_WITH_PREMIUM_TIER_2:"!!{price}!! with Nitro",STICKER_PICKER_OWNED_PACK:"Pack unlocked",STICKER_PICKER_PREMIUM_PACKS:"Nitro Packs",STICKER_PICKER_PREMIUM_UPSELL_ALT:"A wumpus sticker surrounded by sparkles.",STICKER_PICKER_PREMIUM_UPSELL_TITLE:"You can't use this sticker right now",STICKER_PICKER_PREMIUM_UPSELL_DESCRIPTION:"Lift off with **Discord Nitro** to use custom stickers on any server. [Learn more.](onClick)",STICKER_PACK_PRICE_FREE_WITH_PREMIUM_TIER_2:"Free with Nitro",STICKER_PACK_PRICE_FREE_WITH_PREMIUM_TIER_1:"Free with Nitro Classic",STICKER_PACK_VIEW:"View Sticker Pack",STICKER_VIEW_MORE_STICKERS:"View More Stickers",STICKER_POPOUT_PACK_INFO:"This is from the **{stickerPackName}** sticker pack. Get {discount, number}% off with [Nitro](onClick).",STICKER_POPOUT_PACK_INFO_PREMIUM:"This is a **{stickerPackName}** sticker.",STICKER_POPOUT_PACK_INFO_NONPREMIUM:"Feelin' it? Get Nitro to use 300 stickers like this and more.",STICKER_POPOUT_PACK_INFO_UNAVAILABLE:"This is a **{stickerPackName}** sticker. They are no longer available.",STICKER_POPOUT_COUNTDOWN_HEADER:"Limited time left",STICKER_PREMIUM_TIER_2_UPSELL_ALERT_DESCRIPTION:"Get stickers at a better price with Nitro! For **!!{monthlyPrice}!! / Month** you'll get:",STICKER_PREMIUM_TIER_2_UPSELL_ALERT_PERKS_GUILD_SUBSCRIPTIONS:"{numFreeGuildSubscriptions, plural, =1 {# Server Boost} other {# Server Boosts}} for instant Level 1 perks",STICKER_PREMIUM_TIER_2_UPSELL_ALERT_PERKS_MISC:"Extra chat perks: animated emoji, custom Discord tag, and more",STICKER_PREMIUM_TIER_2_UPSELL_ALERT_UPGRADE_CTA:"Subscribe to Nitro",STICKER_PREMIUM_TIER_2_UPSELL_PERK_DISCOUNT:"{percent} off all sticker packs and exclusive Nitro Wumpus Elite pack while subscribed",STICKER_PREMIUM_TIER_2_UPSELL_PERK_PREMIUM_PACK:"Permanent access to !!{stickerPackName}!! pack",STICKER_PREMIUM_TIER_2_UPSELL_ALERT_TITLE:"Get Nitro to unlock stickers and more. For **!!{monthlyPrice}!! / Month**:",STICKER_PREMIUM_TIER_2_UPSELL_PERK_QUANTITY:"Express yourself with 300 Nitro only stickers",STICKER_PREMIUM_TIER_2_UPSELL_PERK_CUSTOM:"Use custom stickers across all servers",STICKER_PREMIUM_TIER_2_UPSELL_PERK_GUILD_SUBSCRIPTION:"Get {numGuildSubscriptions, number} free boosts and {discountPercent} off on Boost purchases",STICKER_PREMIUM_TIER_2_UPSELL_PERK_PREMIUM_SUBSCRIPTION:"Powerful chat perks: animated emoji, custom Discord tag, better Go Live streaming, and more",STICKER_PREMIUM_TIER_1_UPSELL_PERK_PREMIUM_SUBSCRIPTION:"Extra chat perks: animated emoji, custom Discord tag, and more",STICKER_PREMIUM_TIER_1_UPSELL_PERK_PREMIUM_GUILD_SUBSCRIPTION_DISCOUNT:"Get {percent} off on Boost purchases",STICKER_PREMIUM_TIER_1_UPSELL_ALERT_UPGRADE_CTA:"Subscribe to Nitro Classic",STICKER_PICKER_VIEW_ALL:"View\nAll",STICKER_PICKER_PACK_DETAILS:"{stickerPackName} Details",STICKER_PICKER_PACK_DETAILS_ANIMATED:"Animated",STICKER_PICKER_PACK_DETAILS_PREMIUM:"Only with Nitro subscription",STICKER_PICKER_PACK_DETAILS_LIMITED_TIME_LEFT:"Limited time left: {time}",STICKER_PICKER_PACK_EXPIRING_SOON:"Expiring Soon",STICKER_PACK_PREMIUM_CTA:"Get Nitro",STICKER_PACK_AVAILABLE_WITH_PREMIUM:"Get with Nitro",STICKER_PACK_GET_PREMIUM:"Get Nitro",PREMIUM_GIFT_BUTTON_LABEL:"Send a gift",PREMIUM_GIFT_BUTTON_TOOLTIP:"Upgrade your friends! Gift them awesome chat perks with Nitro.",PREMIUM_GIFT_SHARE_LINK_IOS:"Share",PREMIUM_GIFT_SEND:"or send a gift!",SKU_PAYMENT_STEPS_LABEL:"Purchase",UPLOAD_AREA_TITLE_NO_CONFIRMATION:"Insta Upload Mode!",UPLOAD_AREA_TITLE:"Drag & Drop",UPLOAD_AREA_HELP:"\nYou can add comments before uploading.\nHold shift to upload directly.",UPLOAD_AREA_TOO_LARGE_TITLE:"Your files are too powerful",UPLOAD_AREA_TOO_LARGE_HELP:"Max file size is {maxSize} please.",UPLOAD_AREA_TOO_LARGE_HELP_PREMIUM_TIER_1:"Max file size for Nitro Classic is {maxSize} please.",UPLOAD_AREA_TOO_LARGE_HELP_MOBILE:"To upload images larger than {maxSize}, you can compress it as a lower size image, or get Nitro to send a crystal clear image without losing quality!",UPLOAD_AREA_ALWAYS_COMPRESS:"Always Compress Images",UPLOAD_AREA_ALWAYS_COMPRESS_DESC:"You can find this in Text & Images in Settings",UPLOAD_AREA_INVALID_FILE_TYPE_TITLE:"Invalid File Type",UPLOAD_AREA_INVALID_FILE_TYPE_HELP:"Hmm.. I don't think we support that type of file.",UPLOAD_AREA_UPLOAD_FAILED_TITLE:"Upload Failed",UPLOAD_AREA_UPLOAD_FAILED_HELP:"[Click here to retry the upload](onClick)",UPLOAD_AREA_FILENAME:"Filename",UPLOAD_AREA_LEAVE_A_COMMENT:"Add a comment",UPLOAD_AREA_OPTIONAL:"optional",UPLOAD_AREA_CANCEL_ALL:"Cancel All",UPLOAD:"Upload",UPLOAD_TO:"Upload to **{destination}**",UPLOAD_OPEN_FILE_FAILED:"Unable to open file: {file}.",LARGE_MESSAGE_UPLOAD_TITLE:"Oh no! Your message is over 2000 characters.",LARGE_MESSAGE_UPLOAD_TITLE_MAX_LENGTH:"Oh no! Your message is over {maxLength, number} characters.",LARGE_MESSAGE_UPLOAD_SUBTITLE:"You can upload your message as a file instead.",UPLOAD_IMAGE_BODY:"Is this your card? Err, do you want to upload this image?",CROP:"Crop",UNABLE_TO_PROCESS_IMAGE:"Unable to process image",IMAGE_COMPRESSION:"Image compression",IMAGE_COMPRESSION_LABEL:"Auto-compress Images",IMAGE_COMPRESSION_NITRO_UPSELL:"When this is on, images sent will be compressed. Get Nitro to send a crystal clear image! **[Get Nitro]({nitroLink})**",TITLE:"Title",SERVER_MUTE:"Server Mute",SERVER_UNMUTE:"Server Unmute",SERVER_VOICE_MUTE:"Server Mute",SERVER_VOICE_UNMUTE:"Server Unmute",SERVER_FOLDER_MARK_AS_READ:"Mark Folder As Read",SERVER_FOLDER_SETTINGS:"Folder Settings",SERVER_DEAFEN:"Server Deafen",SERVER_UNDEAFEN:"Server Undeafen",SERVER_DEAFENED:"Server Deafened",USER_POPOUT_MESSAGE:"Message",USER_POPOUT_WUMPUS_TOOLTIP:"I'm new to Discord, say hi!",SERVER_MUTED:"Server Muted",LOCAL_MUTED:"Muted by you",LOCAL_VIDEO_DISABLED:"Video disabled by you",ROLES_LIST:"{numRoles, plural, =0 {No Roles} one {Role} other {Roles}}",USER_VOLUME:"User Volume",QUICK_DM_BLOCKED:"You cannot message blocked users",QUICK_DM_USER:"Message @!!{name}!!",USER_SETTINGS_MY_ACCOUNT:"My Account",USER_SETTINGS_SAVE:"Save",USER_SETTINGS_EDIT_PROFILE:"Edit Profile",USER_SETTINGS_CONFIRM_LOGOUT:"Are you sure you want to logout?",USER_SETTINGS_UNVERIFIED_EMAIL_BODY:"Please check your email and follow the instructions to verify your email. If you did not receive an email or if it expired, you can resend one.",USER_SETTINGS_LABEL_USERNAME:"Username",USER_SETTINGS_LABEL_DISCRIMINATOR:"Discriminator",USER_SETTINGS_LABEL_EMAIL:"Email",USER_SETTINGS_LABEL_CURRENT_PASSWORD:"Current Password",USER_SETTINGS_LABEL_NEW_PASSWORD:"New Password",USER_SETTINGS_LABEL_PHONE_NUMBER:"Phone Number",USER_SETTINGS_ADD_EMAIL_CLAIM:"Add an email to claim your account.",USER_SETTINGS_NO_EMAIL_PLACEHOLDER:"You haven't added an email yet.",USER_SETTINGS_NO_PHONE_PLACEHOLDER:"You haven't added a phone number yet.",USER_SETTINGS_CHANGE_AVATAR:"Change Avatar",USER_SETTINGS_DELETE_AVATAR:"Delete Avatar",USER_SETTINGS_UPLOAD_AVATAR:"Upload Avatar",USER_SETTINGS_SCAN_QR_CODE:"Scan QR Code",USER_SETTINGS_EDIT_ACCOUNT:"Edit Account",USER_SETTINGS_EDIT_ACCOUNT_PASSWORD_LABEL:"Enter your password to confirm changes",USER_SETTINGS_EDIT_ACCOUNT_TAG:"TAG",USER_SETTINGS_MFA_ENABLE_CODE_LABEL:"Enter the 2FA Code",USER_SETTINGS_MFA_ENABLE_CODE_BODY:"Open your authentication app and enter the code below.",USER_SETTINGS_MFA_ENABLED:"Enabled",USER_SETTINGS_MFA_REMOVED:"2FA successfully removed",USER_SETTINGS_AVAILABLE_CODES:"Available Backup Codes",USER_SETTINGS_USED_BACKUP_CODES:"Used Backup Codes",TWO_FA_SUCCESS_BODY_MOBILE:"Your Discord account is now protected with an extra layer of security",COPY_CODE:"Copy !!{code}!! to clipboard",USER_SETTINGS_ENTER_PASSWORD_VIEW_CODES:"Enter your password to view backup codes.",USER_SETTINGS_WINDOWS_SETTINGS:"Windows Settings",USER_SETTINGS_STARTUP_BEHAVIOR:"System Startup Behavior",USER_SETTINGS_CLOSE_BUTTON:"Close Button",USER_SETTINGS_OPEN_ON_STARTUP_LABEL:"Open Discord",USER_SETTINGS_OPEN_ON_STARTUP_BODY:"Save yourself a few clicks and let Discord greet you on computer startup.",USER_SETTINGS_START_MINIMIZED_LABEL:"Start Minimized",USER_SETTINGS_START_MINIMIZED_BODY:"Discord starts in the background and remains out of your way.",USER_SETTINGS_MINIMIZE_TO_TRAY_LABEL:"Minimize to Tray",USER_SETTINGS_MINIMIZE_TO_TRAY_BODY:"Hitting X will make Discord sit back and relax in your system tray when you close the app.",USER_SETTINGS_LINUX_SETTINGS:"Linux Settings",THEME:"Theme",THEME_LIGHT:"Light",THEME_DARK:"Dark",THEME_UPDATED:"Theme has been updated.",THEME_SYSTEM:"Sync with computer",DEVELOPER_MODE:"Developer Mode",DEVELOPER_MODE_HELP_TEXT:"Developer Mode exposes context menu items helpful for people writing bots using the [Discord API]({apiDocsUrl}).",DEVELOPER_APPLICATION_TEST_MODE_MODAL_HEADER:"Application Test Mode",DEVELOPER_APPLICATION_TEST_MODE_MODAL_BODY:"Enter your Discord application ID to enable test mode for that application. An application in test mode will allow you to view related unpublished SKUs and bypass related purchases to make development easier.",DEVELOPER_APPLICATION_TEST_MODE:"Application Test Mode",DEVELOPER_APPLICATION_TEST_MODE_PLACEHOLDER:"Application ID",DEVELOPER_APPLICATION_TEST_MODE_ACTIVATE:"Activate",DEVELOPER_APPLICATION_TEST_MODE_CLEAR:"Clear",DEVELOPER_APPLICATION_TEST_MODE_AUTHORIZATION_ERROR:"Not authorized to enable test-mode for this application.",DEVELOPER_APPLICATION_TEST_MODE_INVALID:"Invalid application ID",DEVELOPER_APPLICATION_TEST_MODE_NOTE:"Enter your Discord application ID to enable test mode for that application.",USER_SETTINGS_APPEARANCE_PREVIEW_MESSAGE_1:"Look at me I'm a beautiful butterfly",USER_SETTINGS_APPEARANCE_PREVIEW_MESSAGE_2_LIGHT:"Fluttering in the sunlight :sun_with_face:",USER_SETTINGS_APPEARANCE_PREVIEW_MESSAGE_2_DARK:"Fluttering in the moonlight :full_moon_with_face:",USER_SETTINGS_APPEARANCE_PREVIEW_MESSAGE_3:"Waiting for the day when",USER_SETTINGS_APPEARANCE_PREVIEW_MESSAGE_4:"Compact mode would be turned on",USER_SETTINGS_APPEARANCE_PREVIEW_MESSAGE_5:"Oh here it is!",USER_SETTINGS_APPEARANCE_ZOOM_TIP:"You can change the zoom level with {modKey} +/- and reset to the default zoom with {modKey}+0.",USER_SETTINGS_APPEARANCE_COLORS:"Colors",USER_SETTINGS_APPEARANCE_COLORBLIND_MODE_TITLE:"Colorblind Mode",USER_SETTINGS_APPEARANCE_COLORBLIND_MODE_DESCRIPTION:"Change some visual aspects of Discord to better suit colorblindness.",USER_SETTINGS_SHOW_LIBRARY:"Show Game Library",USER_SETTINGS_SHOW_LIBRARY_NOTE:"Turn this off to hide your Game Library so you can focus on your conversations.",HARDWARE_ACCELERATION:"Hardware Acceleration",HARDWARE_ACCELERATION_HELP_TEXT:"Turns on Hardware Acceleration, which uses your GPU to make Discord smoother. Turn this off if you are experiencing frame drops.",SWITCH_HARDWARE_ACCELERATION:"Change Hardware Acceleration",SWITCH_HARDWARE_ACCELERATION_BODY:"\n  Changing the hardware acceleration setting will quit and re-launch Discord.\n  Are you sure you want to do this?\n  ",ADD_KEYBIND:"Add a Keybind",ADD_KEYBIND_WARNING:"Keybinds are disabled while this panel is visible.",REMOVE_KEYBIND:"Remove Keybind",KEYBIND_DESCRIPTION_UNASSIGNED:"This action doesn't do anything! Please choose one from the drop down.",KEYBIND_DESCRIPTION_PUSH_TO_MUTE:"Hold to temporarily disable your microphone while in Voice Activity mode.",KEYBIND_DESCRIPTION_PUSH_TO_TALK:"Hold to temporarily enable your microphone while in Push to Talk mode.",KEYBIND_DESCRIPTION_PUSH_TO_TALK_PRIORITY:"\nHold to temporarily enable your microphone while in Push to Talk mode. Other speakers\nwho are not also transmitting with priority will temporarily have their volume lowered\nwhile you are speaking.\n",KEYBIND_DESCRIPTION_TOGGLE_MUTE:"Toggle your microphone's transmission on and off.",KEYBIND_DESCRIPTION_TOGGLE_DEAFEN:"\nToggle your speaker's playback on and off. Also disables your microphone while deafened.\n  ",KEYBIND_DESCRIPTION_TOGGLE_OVERLAY:"Toggle to turn your overlay on and off.",KEYBIND_DESCRIPTION_TOGGLE_VOICE_MODE:"Toggle to switch between Push To Talk and Voice Activity mode.",KEYBIND_DESCRIPTION_TOGGLE_OVERLAY_INPUT_LOCK:"Toggle overlay interactivity lock.",KEYBIND_DESCRIPTION_TOGGLE_STREAMER_MODE:"Toggle to enable/disable Streamer Mode.",KEYBIND_DESCRIPTION_TOGGLE_GO_LIVE_STREAMING:"Toggle to start/stop streaming in your current voice channel. Streams can only be started with this keybind if Discord recognizes the game you are currently playing.",KEYBIND_DESCRIPTION_NAVIGATE_BACK:"Navigate backward in page history",KEYBIND_DESCRIPTION_NAVIGATE_FORWARD:"Navigate forward in page history",KEYBIND_UNASSIGNED:"Unassigned",KEYBIND_PUSH_TO_TALK:"Push to Talk (Normal)",KEYBIND_PUSH_TO_TALK_PRIORITY:"Push to Talk (Priority)",KEYBIND_PUSH_TO_MUTE:"Push to Mute",KEYBIND_TOGGLE_MUTE:"Toggle Mute",KEYBIND_TOGGLE_DEAFEN:"Toggle Deafen",KEYBIND_TOGGLE_OVERLAY:"Toggle Overlay",KEYBIND_TOGGLE_VOICE_MODE:"Toggle VAD",KEYBIND_TOGGLE_STREAM_MODE:"Toggle Streamer Mode",KEYBIND_NAVIGATE_BACK:"Navigate Back",KEYBIND_NAVIGATE_FORWARD:"Navigate Forward",KEYBIND_TOGGLE_GO_LIVE_STREAMING:"Toggle Screen Share",KEYBIND_IN_BROSWER_NOTICE:"Custom keybinds are not currently supported in the browser. [Download]({downloadLink}) the desktop application to use custom keybinds.",USER_SETTINGS_KEYBINDS_SHOW_LIST_TITLE:"Show Keyboard Shortcuts List",USER_SETTINGS_KEYBINDS_KEYBIND:"Keybind",USER_SETTINGS_KEYBINDS_DEFAULT_KEYBINDS_TITLE:"Default Keybinds",USER_SETTINGS_KEYBINDS_ACTION:"Action",USER_SETTINGS_KEYBINDS_NAVIGATION_SECTION_TITLE:"Navigation",USER_SETTINGS_KEYBINDS_VOICE_AND_VIDEO_SECTION_TITLE:"Voice and Video",USER_SETTINGS_KEYBINDS_CHAT_SECTION_TITLE:"Chat",USER_SETTINGS_KEYBINDS_MISCELLANEOUS_SECTION_TITLE:"Miscellaneous",USER_SETTINGS_KEYBINDS_MESSAGE_SECTION_TITLE:"Messages",USER_SETTINGS_KEYBINDS_MESSAGE_DESCRIPTION:"These shortcuts work when focused on a message.",GAME_ACTIVITY:"Game Activity",SHOW_CURRENT_ACTIVITY:"Display current activity as a status message.",SHOW_CURRENT_ACTIVITY_DESC:"Discord will automatically update your status if you're attending a public Stage.",SHOW_CURRENT_ACTIVITY_DESC_EMBEDDED:"Discord will automatically update your status based on the game you're playing (if detectable), an activity you're doing that supports Rich Presence, or if you're attending a public Stage.",GAME_DETECTION_SERVICE:"Game Detection Service",GAME_DETECTED:"Playing: {game}",USAGE_ACCESS:"Usage Access",GAME_DETECTION_OPEN_SETTINGS:"Open Settings",USER_SETTINGS_GAMES_INSTALL_LOCATIONS:"Install locations",USER_SETTINGS_GAMES_INSTALL_LOCATION_ADD:"Add Install Location",USER_SETTINGS_GAMES_INSTALL_LOCATION_REMOVE:"Remove Location",USER_SETTINGS_GAMES_INSTALL_LOCATION_SPACE:"{available} available of {total}",USER_SETTINGS_GAMES_INSTALL_LOCATION_NAME:"Install Location Name",USER_SETTINGS_GAMES_INSTALL_LOCATION:"Location",USER_SETTINGS_GAMES_INSTALL_LOCATION_MAKE_DEFAULT:"Make this my default location",USER_SETTINGS_GAMES_REMOVE_LOCATION_BODY:"Are you sure you want to remove this installation location?",USER_SETTINGS_GAMES_SHORTCUTS_DESKTOP:"Create Desktop Shortcut",USER_SETTINGS_GAMES_SHORTCUTS_DESKTOP_NOTE:"When installing games from the Discord Store.",USER_SETTINGS_GAMES_SHORTCUTS_START_MENU:"Create Start Menu Shortcut",USER_SETTINGS_GAMES_SHORTCUTS_START_MENU_NOTE:"When installing games from the Discord Store. Also makes your games discoverable via windows search.",USER_SETTINGS_RESTART_APP_MOBILE:"Restart the app for your new settings to take effect.",INSTALL_LOCATION_MAIN:"Main",USER_SETTINGS_PRIVACY_TERMS:"Check out our [Terms of Service]({termsLink}) and [Privacy Policy]({privacyLink}).",USER_SETTINGS_HYPESQUAD:"HypeSquad",HYPESQUAD_HEADING:"Join the HypeSquad!",HYPESQUAD_HEADING_EXISTING_MEMBER:"You're in HypeSquad!",HYPESQUAD_SUBHEADING:"You're excited about Discord. We're excited that you're excited about Discord. Let's get other people excited about Discord, together.",HYPESQUAD_READY_TO_REP:"Ready to rep Discord?",HYPESQUAD_UNCLAIMED_ACCOUNT_NOTICE:"Before joining HypeSquad, you need to claim your account.",HYPESQUAD_UNVERIFIED_EMAIL_NOTICE:"Before joining HypeSquad, we need to verify your email address.",HYPESQUAD_JOIN:"Join HypeSquad",HYPESQUAD_NEWSLETTER_WARNING:"Wumpus’ lawyers wanted us to let you know that joining the HypeSquad will sign you up for our newsletter.",HYPESQUAD_PERKS_HEADING:"Perks of being hype",HYPESQUAD_PERK_TITLE_NEWSLETTER:"Super Secret Newsletter",HYPESQUAD_PERK_DESCRIPTION_NEWSLETTER:"We regularly send out newsletters with contests, giveaways, and more.",HYPESQUAD_PERK_TITLE_PROFILE_BADGE:"Hype Profile Badge",HYPESQUAD_PERK_DESCRIPTION_PROFILE_BADGE:"Get a unique profile badge to rep the HypeSquad House you're sorted into.",HYPESQUAD_PERK_TITLE_SQUAD_CHALLENGES:"Squad Challenges",HYPESQUAD_PERK_DESCRIPTION_SQUAD_CHALLENGES:"Rep your house and participate in challenges against other HypeSquad houses.",HYPESQUAD_LEAVE_PROMPT:"Don't want to be hype anymore?",HYPESQUAD_LEAVE_ACTION:"Leave the HypeSquad",HYPESQUAD_QUIZ_ONGOING_MODAL_TITLE:"Question {currentQuestion, number} of {questionCount, number}",HYPESQUAD_QUIZ_COMPLETED_MODAL_TITLE:"You've been picked!",HYPESQUAD_QUIZ_ERROR_MODAL_TITLE:"Something went wrong!",HYPESQUAD_QUIZ_CANCEL:"Cancel",HYPESQUAD_QUIZ_CLOSE:"Close",HYPESQUAD_QUIZ_RETRY:"Retry",HYPESQUAD_QUIZ_NEXT_QUESTION:"Next question",HYPESQUAD_QUIZ_SELECT_ANSWER:"Select your answer:",HYPESQUAD_QUIZ_SHOW_MY_HOUSE:"Show me my house!",HYPESQUAD_QUIZ_TITLE:"House of {house}",HYPESQUAD_QUIZ_BODY_HOUSE_1:"The House of Bravery thanks you for joining our efforts to preserve the sanctity of the land and maintain the legacy of Renwil. Your bravery is comparable to that of a thousand gallant warriors and without your leadership and prowess, we would be much closer to descending into chaos.",HYPESQUAD_QUIZ_BODY_HOUSE_2:"The House of Brilliance thanks you for joining our efforts to protect the land and maintain the legacy of Urdim. Your execution of strategies is that of a master tactician and without your calculated approach to any conflicts that comes your way, we would be much closer to descending into chaos.",HYPESQUAD_QUIZ_BODY_HOUSE_3:"The House of Balance thanks you for joining our efforts to protect the land and maintain the legacy of Arame. Your ability to stay stout and steadfast in times of uncertainty is admirable. Without your natural understanding of both your environment and your inner self, we would be much closer to descending into chaos.",HYPESQUAD_ERROR_HEADING:"Uh oh, we broke Discord!",HYPESQUAD_ERROR_BODY:"There was an error adding you to HypeSquad Online. If the error persists, please contact [{emailAddress}]({emailAddressLink}).",HYPESQUAD_LEAVE_ERROR:"There was an error removing you from HypeSquad Online. Please try again.",HYPESQUAD_ATTENDEE_CTA:"Interested in repping the HypeSquad at a local event? Coordinating an event of your own? [Apply here!]({url})",HYPESQUAD_YOUR_HOUSE:"Your House:",HYPESQUAD_MEMBERSHIP_HEADING:"House of {houseName}",HYPESQUAD_DESCRIPTION_HOUSE_1:"The universe needs people to lead the charge with confident optimism and tenacity. Without the brave, the HypeSquad would descend into chaos.",HYPESQUAD_DESCRIPTION_HOUSE_2:"It takes patience and discipline to become a vital member of the universe. Without brilliance, the HypeSquad would descend into chaos.",HYPESQUAD_DESCRIPTION_HOUSE_3:"Harmony and poise are necessary to create equilibrium in the universe. Without balance, the HypeSquad would descend into chaos.",HYPESQUAD_SWITCH_HOUSES_PROMPT:"Wanna switch houses?",HYPESQUAD_SWITCH_HOUSES_ACTION:"Take the test again",HYPESQUAD_HOUSE_1:"Bravery",HYPESQUAD_HOUSE_2:"Brilliance",HYPESQUAD_HOUSE_3:"Balance",HYPESQUAD_QUESTION_0_PROMPT:"Which insult would hurt you the most?",HYPESQUAD_QUESTION_0_RESPONSE_A:"You overreact a lot.",HYPESQUAD_QUESTION_0_RESPONSE_B:"You don't listen enough.",HYPESQUAD_QUESTION_0_RESPONSE_C:"You only care about yourself.",HYPESQUAD_QUESTION_0_RESPONSE_D:"You're ordinary.",HYPESQUAD_QUESTION_1_PROMPT:"What sounds like a perfect day to you?",HYPESQUAD_QUESTION_1_RESPONSE_A:"Sleeping in, having a giant, homemade lunch, and heading out to meet up with close friends late at night.",HYPESQUAD_QUESTION_1_RESPONSE_B:"Waking up early, finishing something you've been putting off for a while, and working on a new hobby in the late afternoon.",HYPESQUAD_QUESTION_1_RESPONSE_C:"Waking up on time, walking to the garden store and buying a new plant, and sinking deep into a bath to end the day.",HYPESQUAD_QUESTION_1_RESPONSE_D:"Waking up with no plans, taking the day as it comes.",HYPESQUAD_QUESTION_2_PROMPT:"What's something positive about you that you would agree with?",HYPESQUAD_QUESTION_2_RESPONSE_A:"Making decisions is easy for you.",HYPESQUAD_QUESTION_2_RESPONSE_B:"It's easy for you to understand new things.",HYPESQUAD_QUESTION_2_RESPONSE_C:"You're dependable.",HYPESQUAD_QUESTION_2_RESPONSE_D:"You tend to see the good in people.",HYPESQUAD_QUESTION_3_PROMPT:"Which of these smells makes you happiest?",HYPESQUAD_QUESTION_3_RESPONSE_A:"Air that's deep and smokey from a campfire, and sweet from toasted marshmallows.",HYPESQUAD_QUESTION_3_RESPONSE_B:"Crisp, cool air revitalized after a thunderstorm.",HYPESQUAD_QUESTION_3_RESPONSE_C:"Fresh flowers in bloom mixed with the clean smell of laundry drying on a line.",HYPESQUAD_QUESTION_3_RESPONSE_D:"Walking into a kitchen after something flavorful has been slow cooking for 8 hours as fresh bread cools on the counter.",HYPESQUAD_QUESTION_4_PROMPT:"Your favorite out of these genres is:",HYPESQUAD_QUESTION_4_RESPONSE_A:"Fiction",HYPESQUAD_QUESTION_4_RESPONSE_B:"Biographies and memoirs",HYPESQUAD_QUESTION_4_RESPONSE_C:"Poetry",HYPESQUAD_QUESTION_4_RESPONSE_D:"Romance",HYPESQUAD_QUESTION_5_PROMPT:"You and your best friend get into a fight. No one is clearly in the wrong. You:",HYPESQUAD_QUESTION_5_RESPONSE_A:"Wait to see if they apologize first, but eventually give in and reach out.",HYPESQUAD_QUESTION_5_RESPONSE_B:"Apologize first but secretly be upset you had to say something first.",HYPESQUAD_QUESTION_5_RESPONSE_C:"Apologize first and truly mean it.",HYPESQUAD_QUESTION_5_RESPONSE_D:"Never apologize. Whatever happens, happens.",HYPESQUAD_QUESTION_6_PROMPT:"Your dream exotic animal companion would be:",HYPESQUAD_QUESTION_6_RESPONSE_A:"Something intimidating and protective like a bear.",HYPESQUAD_QUESTION_6_RESPONSE_B:"Something small and nimble like a fox.",HYPESQUAD_QUESTION_6_RESPONSE_C:"Something large and helpful like an elephant.",HYPESQUAD_QUESTION_6_RESPONSE_D:"Something different and eye catching like a komodo dragon.",HYPESQUAD_QUESTION_7_PROMPT:"Your dream house would definitely have a:",HYPESQUAD_QUESTION_7_RESPONSE_A:"Perfectly sized bedroom with an extravagantly comfy bed.",HYPESQUAD_QUESTION_7_RESPONSE_B:"Giant, roaring fireplace with a cat sleeping calmly in front.",HYPESQUAD_QUESTION_7_RESPONSE_C:"Some seriously beautiful outdoor space.",HYPESQUAD_QUESTION_7_RESPONSE_D:"An expansive living room meant for hanging out in with tons of natural light.",HYPESQUAD_QUESTION_8_PROMPT:"You would want a job that:",HYPESQUAD_QUESTION_8_RESPONSE_A:"Challenges you in a way that makes you grow. You don't feel bored in your day to day.",HYPESQUAD_QUESTION_8_RESPONSE_B:"You're really good at and are looked to for advice.",HYPESQUAD_QUESTION_8_RESPONSE_C:"Lets you feel like you're making a difference in something.",HYPESQUAD_QUESTION_8_RESPONSE_D:"You do what needs to be done, but you're not really too invested in it.",HYPESQUAD_QUESTION_9_PROMPT:"How do you react to learning new things?",HYPESQUAD_QUESTION_9_RESPONSE_A:"You tend to stay away from learning new things and focus on becoming better at things you're already good at.",HYPESQUAD_QUESTION_9_RESPONSE_B:"Get really frustrated you aren't good at the start and become obsessive.",HYPESQUAD_QUESTION_9_RESPONSE_C:"Take things slowly and learn step-by-step to make sure you get things right.",HYPESQUAD_QUESTION_9_RESPONSE_D:"Give up early and often.",HYPESQUAD_QUESTION_10_PROMPT:"You can only listen to one type of music for the rest of your life. Do you pick:",HYPESQUAD_QUESTION_10_RESPONSE_A:"Something catchy that gets you excited.",HYPESQUAD_QUESTION_10_RESPONSE_B:"Something unintrusive that helps you concentrate.",HYPESQUAD_QUESTION_10_RESPONSE_C:"Something relaxing that puts you at ease.",HYPESQUAD_QUESTION_10_RESPONSE_D:"Something nostalgic that you know well.",HYPESQUAD_QUESTION_11_PROMPT:"Vacation time. Where are you going?",HYPESQUAD_QUESTION_11_RESPONSE_A:"Somewhere new and extremely different from where you live.",HYPESQUAD_QUESTION_11_RESPONSE_B:"Somewhere quiet. It's not a vacation unless you get to relax and reset.",HYPESQUAD_QUESTION_11_RESPONSE_C:"A place you've been before that you have grown to see as a second home.",HYPESQUAD_QUESTION_11_RESPONSE_D:"Stay at home. You're not one for travelling.",HYPESQUAD_QUESTION_12_PROMPT:"Your computer desk looks like:",HYPESQUAD_QUESTION_12_RESPONSE_A:"A mess to anyone who isn't you. But you know where everything is...",HYPESQUAD_QUESTION_12_RESPONSE_B:"A mess. And you're not sure where everything is...",HYPESQUAD_QUESTION_12_RESPONSE_C:"Kinda simple but you really like it.",HYPESQUAD_QUESTION_12_RESPONSE_D:"Something out of a magazine. It's clean and decorative.",HYPESQUAD_QUESTION_13_PROMPT:"The nightmare situation finally happens to you. You order food at a restaurant and what comes out is not what you ordered. You:",HYPESQUAD_QUESTION_13_RESPONSE_A:"Don't complain. Just send it back because you were really craving that one thing.",HYPESQUAD_QUESTION_13_RESPONSE_B:"Complain to the table that this isn't what you ordered but don't send it back.",HYPESQUAD_QUESTION_13_RESPONSE_C:"Eat it without saying anything to anyone.",HYPESQUAD_QUESTION_13_RESPONSE_D:"Complain to the waiter that this isn't what you ordered and send it back.",HYPESQUAD_QUESTION_14_PROMPT:"You're on your way out the door to something important, but your neighbor says that they need help with something. You:",HYPESQUAD_QUESTION_14_RESPONSE_A:"Help them and don't worry about the other thing you were on your way to.",HYPESQUAD_QUESTION_14_RESPONSE_B:"Apologize to your neighbor but insist you have something you must get to.",HYPESQUAD_QUESTION_14_RESPONSE_C:"Knock on your other neighbor's door and ask them if they can help out in your place.",HYPESQUAD_QUESTION_14_RESPONSE_D:"Pretend you didn't hear them.",OVERLAY_EXPLANATION:"\nEnabling the overlay will probably trigger a false positive in your anti-virus.\nAlso, the overlay may not work for everyone. If you have trouble or questions check out\n[this fancy help article!]({supportURL})\n",ENABLE_INGAME_OVERLAY:"Enable in-game overlay.",KEYBIND_TOGGLE_OVERLAY_INPUT_LOCK:"Toggle Overlay Lock",KEYBIND_ACTIVATE_OVERLAY_CHAT:"Activate Overlay Chat",INLINE_MEDIA_LABEL:"Display images, videos, and lolcats",INLINE_EMBED_MEDIA:"When posted as links to chat",INLINE_ATTACHMENT_MEDIA:"When uploaded directly to Discord",INLINE_ATTACHMENT_MEDIA_HELP:"Images larger than {maxSize}MB will not be previewed.",GIF_AUTO_PLAY_LABEL:"Automatically play GIFs when Discord is focused.",GIF_AUTO_PLAY_LABEL_MOBILE:"Automatically play GIFs when possible.",STICKERS_AUTO_PLAY_HEADING:"Stickers",STICKERS_AUTO_PLAY_HELP:"This controls when stickers animate.",STICKERS_AUTO_PLAY_HELP_DISABLED:"This controls when stickers animate. This is currently overridden by your reduced motion preferences.",STICKERS_ALWAYS_ANIMATE:"Always animate",STICKERS_ANIMATE_ON_INTERACTION:"Animate on interaction",STICKERS_ANIMATE_ON_INTERACTION_DESCRIPTION:"On the desktop client, stickers will animate on hover or focus. On mobile clients, stickers will animate on long-press.",STICKERS_NEVER_ANIMATE:"Never animate",SEND_IMAGES_LABEL:"Send images",LOW_QUALITY_IMAGE_MODE:"Low quality image mode.",LOW_QUALITY_IMAGE_MODE_HELP:"When this is on, images sent will be lower quality on cellular networks.",RENDER_EMBEDS_LABEL:"Link Preview",RENDER_EMBEDS:"Show website preview info from links pasted into chat",RENDER_REACTIONS:"Show emoji reactions on messages",ANIMATE_EMOJI:"Play animated emoji",ANIMATE_EMOJI_NOTE:"I want emoji to move and groove.",ALLOW_TTS_COMMAND:"Allow playback and usage of /tts command",CONVERT_EMOTICONS:"Automatically convert emoticons in your messages to emoji",CONVERT_EMOTICONS_HELP:"For example, when you type \\:\\-\\) Discord will convert it to :slight_smile:",MESSAGE_DISPLAY_MODE_LABEL:"Message Display",COMPACT_MODE:"Compact: Fit more messages on screen at one time. #IRC",COZY_MODE:"Cozy: Modern, beautiful, and easy on your eyes.",BACK_BUTTON_BEHAVIOR_LABEL_MOBILE:"Back button drawer behavior",BACK_BUTTON_BEHAVIOR_MOBILE:"Back button opens channel drawer.",KEYBOARD_BEHAVIOR_MOBILE_HEADER:"Keyboard behavior",KEYBOARD_BEHAVIOR_MOBILE_SHIFT_ENTER_TO_SEND:"Shift enter to send a message.",KEYBOARD_BEHAVIOR_MOBILE_SHIFT_ENTER_TO_SEND_HINT:"By default, external keyboards will send message on enter.",CHAT_BEHAVIOR:"Chat Behavior",CUSTOM_TABS_MOBILE_HEADER:"Use Chrome Custom Tabs",CUSTOM_TABS_MOBILE_BODY:"Use Chrome Custom Tabs for links instead of an external browser.",SHOW_SPOILER_CONTENT:"Show spoiler content",SHOW_SPOILER_CONTENT_HELP:"This controls when spoiler content is displayed.",SHOW_SPOILER_ON_CLICK:"On click",SHOW_SPOILER_ON_SERVERS_I_MOD:"On servers I moderate",SHOW_SPOILER_ALWAYS:"Always",CONNECTED_ACCOUNTS:"Connected Accounts",CONNECTED_ACCOUNTS_NONE_TITLE:"No Connections",CONNECTED_ACCOUNTS_NONE:"Connect your accounts to unlock special Discord integrations",CONNECTED_ACCOUNT_REVOKED:"This account has been revoked. Would you like to [reconnect](onReconnect) it?",SUB_ENABLED_SERVERS:"Sub Enabled Servers",AUTHORIZATION:"Authorization",AUTHORIZED_APPS:"Authorized Apps",DEAUTHORIZE:"Deauthorize",DEAUTHORIZE_APP:"Deauthorize Application",ABOUT_THIS_APP:"About this App",DEFAULT_APP_DESCRIPTION:"- None provided -",NO_AUTHORIZED_APPS:"No Authorized Apps",NO_AUTHORIZED_APPS_NOTE:"Enhance your Discord experience by authorizing and integrating third-party services",DELETE_APP_CONFIRM_MSG:"This action will remove the link between your Discord account and this app.",JOIN_GUILD:"Join",JOINING_GUILD:"Joining",JOINED_GUILD:"Joined",CONNECT_ACCOUNT_TITLE:"Connect your Accounts",CONNECT_ACCOUNT_DESCRIPTION:"Connect these accounts and unlock special Discord integrations.",DISPLAY_ON_PROFILE:"Display on profile",SYNC_FRIENDS:"Sync friends to Discord",DISPLAY_ACTIVITY:"Display {platform} as your status",DETECT_PLATFORM_ACCOUNTS:"Automatically detect accounts from other platforms on this computer.",APPLICATIONS_AND_CONNECTIONS:"Applications and Connections",APPLICATIONS_AND_CONNECTIONS_BODY:"Here's all the apps that are doing super cool things to make your Discord experience super cooler. If it gets too chilly, you can remove them at any time.",INVITE_VOICE_CHANNEL_JOIN:"Join Voice",ERROR_OCCURRED_TRY_AGAIN:"An error occurred, please try again.",VERFICATION_EXPIRED:"Email verification link has expired.",VERIFYING:"Verifying",ACTION_MAY_TAKE_A_MOMENT:"This may take a moment.",VERIFICATION_VERIFYING:"Verifying your email",VERIFICATION_VERIFIED:"Email Verified!",VERIFICATION_OPEN_DISCORD:"Continue to Discord",IP_AUTHORIZATION_SUCCEEDED:"IP Address Authorized",AUTHORIZING:"Authorizing",AUTHORIZATION_EXPIRED:"IP authorization link has expired.",VERIFICATION_EMAIL_TITLE:"Verification Email",VERIFICATION_EMAIL_BODY:"\nWe have sent you a new verification email to **!!{email}!!**, please check both your inbox and spam folder.\n  ",VERIFICATION_EMAIL_ERROR_TITLE:"Error Sending Verification Email",VERIFICATION_EMAIL_ERROR_BODY:"There was an error sending you a verification email. Try again later or contact support.",UNCLAIMED_ACCOUNT_TITLE:"Unclaimed Account",UNCLAIMED_ACCOUNT_BODY:"\nPlease enter an **email** and **password** to claim your account before it's lost.\n  ",UNCLAIMED_ACCOUNT_BODY_2:"Please add an email and password to claim your account before it's lost.",UNVERIFIED_EMAIL_TITLE:"Unverified Email",FORM_LABEL_CURRENT_PASSWORD:"Current Password",CHANGE_PASSWORD_LINK:"Change Password?",CHANGE_PHONE_NUMBER:"Change Phone Number?",PTT_LIMITED_TITLE:"Hey, Just a quick heads",PTT_LIMITED_BODY:"\nPush to Talk (Limited) will only work when this browser tab has focus. Download the desktop application\nto get system-wide Push to Talk.\n  ",PTT_LIMITED_WARNING:"\nPush to Talk (Limited) will only work when the browser tab has focus. [Download](onDownloadClick) the\ndesktop application to get system-wide Push to Talk.\n  ",BROWSER_INPUT_DEVICE_WARNING:"\nInput devices cannot be changed while using the browser. [Download](onDownloadClick) the desktop application\nto get full control over input devices.\n  ",BROWSER_OUTPUT_DEVICE_WARNING:"\nOutput devices cannot be changed while using the browser. [Download](onDownloadClick) the desktop application\nto get full control over output devices.\n  ",FORM_LABEL_INPUT_DEVICE:"Input Device",FORM_LABEL_OUTPUT_DEVICE:"Output Device",FORM_LABEL_INPUT_VOLUME:"Input Volume",FORM_LABEL_OUTPUT_VOLUME:"Output Volume",FORM_HELP_VOICE_VIDEO_TROUBLESHOOTING_GUIDE:"Need help with voice or video? Check out our [troubleshooting guide]({guideURL}).",FORM_LABEL_INPUT_MODE:"Input Mode",INPUT_MODE_PTT:"Push to Talk",INPUT_MODE_PTT_LIMITED:"Push to Talk (Limited)",INPUT_MODE_PTT_RELEASE_DELAY:"Push to Talk Release Delay",INPUT_MODE_VAD:"Voice Activity",FORM_LABEL_AUTOMATIC_VAD:"Automatically determine input sensitivity",FORM_HELP_AUTOMATIC_VAD:"If the indicator is solid green then Discord is transmitting your beautiful voice.",FORM_LABEL_SHORTCUT:"Shortcut",FORM_LABEL_VOICE_PROCESSING:"Voice Processing",FORM_LABEL_VOICE_DIAGNOSTICS:"Voice Diagnostics",FORM_LABEL_QOS:"Quality Of Service",FORM_LABEL_VOLUME:"Volume",FORM_LABEL_STREAM_VOLUME:"Stream Volume",FORM_LABEL_INPUT:"Input",FORM_LABEL_OUTPUT:"Output",FORM_LABEL_VIDEO_DEVICE:"Camera",FORM_LABEL_VIDEO_PREVIEW:"Preview",TEST_VIDEO:"Test Video",FORM_WARNING_VIDEO_PREVIEW:"\nYou must grant Discord [access to your camera](onEnableClick) in order to be able to preview.\n  ",ECHO_CANCELLATION:"Echo Cancellation",NOISE_SUPPRESSION:"Noise Reduction",AUTOMATIC_GAIN_CONTROL:"Automatic Gain Control",ADVANCED_VOICE_ACTIVITY:"Advanced Voice Activity",USER_SETTINGS_DISABLE_ADVANCED_VOICE_ACTIVITY:"Turning this off may help if your voice is not being detected by the automatic input sensitivity.",EXPERIMENTAL_ENCODERS:"Experimental Encoders",USE_SPEAKER:"Use speaker",SWITCH_AUDIO_OUTPUT:"Change Audio Output",DISPLAY_SILENCE_WARNING:"Show a warning when Discord is not detecting audio from your mic",FORM_LABEL_TEST_MICROPHONE:"Test my Microphone",FORM_LABEL_AUDIO_MODE_ANDROID:"Audio Mode",FORM_LABEL_AUDIO_MODE_ANDROID_COMMUNICATION:"Communication Mode",FORM_LABEL_AUDIO_MODE_ANDROID_CALL:"Call Mode",FORM_DESCRIPTION_AUDIO_MODE_ANDROID_COMMUNICATION:"This is the default audio mode for VoIP apps like Discord. We recommend leaving this setting alone.",FORM_DESCRIPTION_AUDIO_MODE_ANDROID_CALL:"If you are experiencing microphone or headphone issues, you may try using this audio mode. Otherwise, leave it on the default.",FORM_LABEL_ANDROID_OPENSL:"Low-latency Hardware Acceleration",FORM_LABEL_ANDROID_OPENSL_DESC:"OpenSL ES is a fancy audio API that may improve your call experience. **Changes to this setting require a Discord restart to take effect!**",FORM_LABEL_ANDROID_OPENSL_DEFAULT:"Let my Operating System decide",FORM_LABEL_ANDROID_OPENSL_DEFAULT_DESC:"Android will do its best to pick the right option for your device.",FORM_LABEL_ANDROID_OPENSL_FORCE_ENABLED:"Force calls to use OpenSL ES.",FORM_LABEL_ANDROID_OPENSL_FORCE_ENABLED_DESC:"This may improve your voice call experience, but may not be supported properly on older devices.",FORM_LABEL_ANDROID_OPENSL_FORCE_DISABLED:"Force calls to not use OpenSL ES.",FORM_LABEL_ANDROID_OPENSL_FORCE_DISABLED_DESC:"If you have an older device, this may fix issues you experience on voice calls.",FORM_CHECKBOX_DEBUG_LOGGING:"Debug Logging",FORM_HELP_DEBUG_LOGGING:"Saves debug logs to voice module folder that you can upload to Discord Support for troubleshooting.",SET_DEBUG_LOGGING:"Change Debug Logging",SET_DEBUG_LOGGING_BODY:"\nChanging debug logging will quit and re-launch Discord.\nAre you sure you want to do this?\n",FORM_LABEL_DEBUG:"Debugging",UPLOAD_DEBUG_LOGS:"Upload debug logs to Discord Support",UPLOAD_DEBUG_LOG_SUCCESS_HEADER:"Upload Successful",UPLOAD_DEBUG_LOG_SUCCESS:"Success! Your debug logs have been uploaded to Discord Support.",UPLOAD_DEBUG_LOG_FAILURE_HEADER:"Upload Failed",UPLOAD_DEBUG_LOG_FAILURE_PROGRESS:"Hold up! Your logs have been uploaded and are still being processed.",UPLOAD_DEBUG_LOG_FAILURE_NO_FILE:"We did not find any debug logs to upload. Please make sure that debug logging is enabled and try again.",UPLOAD_DEBUG_LOG_FAILURE_UPLOAD:"Something went wrong while uploading debug files. Please try again.",UPLOAD_DEBUG_LOG_FAILURE_READ:"Something went wrong while reading log files from your system. Please try again.",UPLOAD_DEBUG_LOG_FAILURE:"Something went wrong and we were unable to upload your debug files. Please try again.",FORM_CHECKBOX_AEC_DUMP:"Diagnostic Audio Recording",FORM_HELP_AEC_DUMP:"Diagnostic audio recording is used for analyzing audio problems. The last five minutes of voice is saved to voice module folder.",FORM_CHECKBOX_CONNECTION_LOG:"Save Connection Replay Log",FORM_HELP_CONNECTION_LOG:"Records all RTP data received for the next voice/video connection for debugging purposes.",OPEN_CONNECTION_REPLAY:"Open Connection Replay",FORM_LABEL_ATTENUATION:"Attenuation",FORM_HELP_ATTENUATION:"\nLower the volume of other applications by this percent when someone is speaking.\nSet to 0% to completely disable attenuation.\n  ",FORM_HELP_CERTIFIED_VOICE_PROCESSING:"\nWhile using a Discord Certified microphone certain voice processing features are no longer handled by Discord itself,\nbut rather the microphone.\n  ",FORM_CHECKBOX_QOS:"Enable Quality of Service High Packet Priority",FORM_HELP_QOS:"\nHints to your router that the packets Discord is transmitting are high priority.\nSome routers or internet service providers may misbehave when this is set.\n  ",ATTENUATE_WHILE_SPEAKING_SELF:"When I speak",ATTENUATE_WHILE_SPEAKING_OTHERS:"When others speak",FORM_LABEL_SUBSYSTEM:"Audio Subsystem",SWITCH_SUBSYSTEM:"Change Audio Subsystem",SWITCH_SUBSYSTEM_BODY:"\nChanging the audio subsystem will quit and re-launch Discord.\nAre you sure you want to do this?\n",SETTINGS_ADVANCED:"Advanced",SETTINGS_SYNC:"Sync across clients",FORM_LABEL_SENSITIVTY:"Sensitivity",FORM_LABEL_INPUT_SENSITIVTY:"Input Sensitivity",FORM_WARNING_INPUT_SENSITIVTY:"\nYou do not have any input devices enabled. You must grant Discord [access to your microphone](onEnableClick)\nin order to be able to observe input sensitivity.\n  ",FORM_LABEL_SCREENSHARE:"Screen Share",FORM_LABEL_TTS:"Text-to-Speech",FORM_LABEL_TTS_NOTIFICATIONS:"Text-to-Speech Notifications",FORM_DESCRIPTION_TTS:"Turn this on to have a high tech robot speak your notifications to you.",TTS_ALLS:"For all channels",TTS_CURRENT:"For current selected channel",TTS_NEVER:"Never",FORM_LABEL_USE_RICH_CHAT_BOX:"Text box",USE_RICH_CHAT_BOX_DESCRIPTION:"Use slash commands and preview emojis, mentions, and markdown syntax as you type",DESKTOP_NOTIFICATIONS_ENABLE:"Enable Desktop Notifications",DESKTOP_NOTIFICATIONS_ENABLE_BODY:"\nIf you're looking for per-channel or per-server notifications, right-click the desired server icon and select Notification Settings.\n",USER_SETTINGS:"User Settings",MORE_DETAILS:"More Details",USER_SETTINGS_WITH_BUILD_OVERRIDE:"User Settings (Build Override: !!{webBuildOverride}!!)",APP_SETTINGS:"App Settings",BILLING_SETTINGS:"Billing Settings",ACTIVITY_SETTINGS:"Activity Settings",APP_INFORMATION:"App Information",PREMIUM_SETTINGS:"Nitro Settings",PREMIUM_SETTINGS_GET:"Get Nitro",PREMIUM_SETTINGS_SUBSCRIBE_TODAY:"Subscribe Today",PREMIUM_SETTINGS_MANAGE:"Manage Nitro",PREMIUM_SETTINGS_PREMIUM_GUILD_SUBSCRIPTIONS:"Boosts",VOICE:"Voice",VOICE_AND_VIDEO:"Voice & Video",VOICE_SETTINGS:"Voice Settings",VOICE_CALL_MEMBER_LIST_TITLE:"{count, plural, =1 {# Person} other {# People}}",VOICE_CALL_ACTION_A11Y_HINT:"Open voice call actions",IN_GAME_VOICE_SETTINGS:"In-Game Voice Settings",VIDEO_SETTINGS:"Video Settings",TEXT:"Text",ACTIVITY_STATUS:"Activity Status",ACTIVITY:"Activity",LIBRARY:"Library",KEYBINDS:"Keybinds",TEXT_AND_IMAGES:"Text & Images",CONNECTIONS:"Connections",ACCOUNT:"Account",NOTIFICATIONS:"Notifications",NOTIFICATIONS_MUTED:"Notifications, muted",APPEARANCE:"Appearance",OVERLAY:"Game Overlay",LOCALE:"Locale",LOGOUT:"Log Out",SOUNDS:"Sounds",PREMIUM:"Nitro",SOUND_MESSAGE:"Message",SOUND_DEAFEN:"Deafen",SOUND_UNDEAFEN:"Undeafen",SOUND_MUTE:"Mute",SOUND_UNMUTE:"Unmute",SOUND_VOICE_DISCONNECTED:"Voice Disconnected",SOUND_PTT_ACTIVATE:"PTT Activate",SOUND_PTT_DEACTIVATE:"PTT Deactivate",SOUND_USER_JOIN:"User Join",SOUND_USER_LEAVE:"User Leave",SOUND_USER_MOVED:"User Moved",SOUND_INCOMING_RING:"Incoming Ring",SOUND_OUTGOING_RING:"Outgoing Ring",SOUND_STREAM_STARTED:"Stream Started",SOUND_STREAM_STOPPED:"Stream Stopped",SOUND_VIEWER_JOIN:"Viewer Join",SOUND_VIEWER_LEAVE:"Viewer Leave",SOUND_INVITED_TO_SPEAK:"Invited to Speak",RESET_VOICE_SETTINGS:"Reset Voice Settings",RESET_VOICE_SETTINGS_BODY:"\nResetting voice settings will clear all local mutes and local volumes.\nAre you sure you want to do this?\n",ACKNOWLEDGEMENTS:"Acknowledgements",CONNECT_TO_VOICE:"Connect to Voice",CONNECT_TO_VIDEO:"Connect to Video",DISCONNECT_FROM_VOICE:"Disconnect from Voice",JOINING_WILL_END_CURRENT_CALL_TITLE:"You're already in a call.",JOINING_VOICE_CHANNEL_WILL_END_CURRENT_CALL_BODY:"To join this voice channel, your current call will be ended.",JOINING_VOICE_CALL_WILL_END_CURRENT_CALL_BODY:"To join this voice call, your current call will be ended.",VOICE_CHANNEL_EMPTY:"Feelin' lonely? Add friends to this voice channel by creating an invite link.",VIDEO_UNSUPPORTED_BROWSER_TITLE:"Browser not supported",VIDEO_UNSUPPORTED_BROWSER_BODY:"Video and Screen Share are not supported in this browser. Please download our desktop client to beam your face and screen across the net.",MOBILE_ENABLE_HARDWARE_SCALING:"Enable Hardware Scaling",MOBILE_ENABLE_HARDWARE_SCALING_DESC:"Experimental feature that may improve performance in video calls. Beware, may cause jank.",CONNECT_VOICE_ONLY:"Connect with Voice",CERTIFIED:"Certified",USER_SETTINGS_BLOCKED_USERS:"Blocked Users",USER_SETTINGS_BLOCKED_USERS_HEADER:"{numberOfBlockedUsers} Blocked Users",USER_SETTINGS_BLOCKED_USERS_UNBLOCKBUTTON:"Unblock",USER_SETTINGS_BLOCKED_USERS_EMPTY:"You don't have any blocked users",OVERLAY_LAUNCH_TITLE:"Use Discord overlay in-game",OVERLAY_LAUNCH_OPEN_TIP:"Press $[!!{keybind}!!](keybindHook) to show",OVERLAY_SETTINGS_TITLE:"Overlay Settings",OVERLAY_NOTIFICATION_INCOMING_CALL:"Incoming call...",OVERLAY_WIDGET_SHOW_IN_GAME:"Show window in game",OVERLAY_WIDGET_HIDE_IN_GAME:"Hide window in game",OVERLAY_NEWS_GO_LIVE_BODY:"Want to stream !!{game}!! to your friends in !!{server}!!?",OVERLAY_NEWS_GO_LIVE_CTA:"Go Live",OVERLAY_SETTINGS_GENERAL_TAB:"General",OVERLAY_SETTINGS_VOICE_TAB:"Voice",OVERLAY_TOO_SMALL:"Whoops! Your game is too tiny for our overlay. Resize to !!{width}!!x!!{height}!! to fix it.",OVERLAY_IN_GAME_PREVIEW_HEADER:"In-Game Preview",OVERLAY_CHANNEL_CHAT_HOTKEY:"Press !!{keybind}!! to talk in !!{channelName}!!",OVERLAY_USER_CHAT_HOTKEY:"Press !!{keybind}!! to talk",OVERLAY_MOBILE_TOGGLE_LABEL:"Enable Mobile Voice Overlay",OVERLAY_MOBILE_TOGGLE_DESC:"See who's talking and access shortcuts while using other apps when connected to voice.",OVERLAY_MOBILE_REQUIRED:"Enable Mobile Overlay in the Discord's Voice Settings.",OVERLAY_MOBILE_UNAUTHED:"Login to the Discord app to enable this feature.",OVERLAY_MENU_GET_INVITE:"Get Invite Link",OVERLAY_MENU_SWITCH_CHANNELS:"Switch Channels",OVERLAY_MENU_OPEN_DISCORD:"Open Discord",OVERLAY_NO_RESULTS:"We’ve searched far and wide, but we couldn't find any voice channels.",LANGUAGE:"Language",LANGUAGE_SELECT:"Select a Language",LANGUAGE_UPDATED:"Language has been Updated.",LANGUAGE_NOT_FOUND:"Language Not Found",CHECKING_FOR_UPDATES:"Checking For Updates",UPDATE_AVAILABLE:"Downloading Update",UPDATE_DOWNLOADED:"Update Ready!",UPDATE_MANUALLY:"There is an update available",OUT_OF_DATE_TITLE:"You're out of date",OUT_OF_DATE_DESCRIPTION:"We've got some sweet changes to Discord (and probably a bug fix or two).  Update to continue.",OUT_OF_DATE_ACTION:"Update Discord",VERY_OUT_OF_DATE_DESCRIPTION:"Your Discord installation has continuously failed to update and is now very out of date. Let's fix that... together.",UPDATE_DURING_CALL_TITLE:"Briefly leave voice?",UPDATE_DURING_CALL_BODY:"Updating Discord while in a voice channel will cause you to leave briefly. You're probably going to update anyway but, you know, just warning you.",UPDATE_DURING_CALL_CONTINUE:"Update anyway!",ACCOUNT_CLICK_TO_COPY:"Click to copy username",ACCOUNT_SPEAKING_WHILE_MUTED:"You are currently muted!",ACCOUNT_USERNAME_COPY_SUCCESS_1:"Copied!",ACCOUNT_USERNAME_COPY_SUCCESS_2:"Double Copy!",ACCOUNT_USERNAME_COPY_SUCCESS_3:"Triple Copy!",ACCOUNT_USERNAME_COPY_SUCCESS_4:"Dominating!!",ACCOUNT_USERNAME_COPY_SUCCESS_5:"Rampage!!",ACCOUNT_USERNAME_COPY_SUCCESS_6:"Mega Copy!!",ACCOUNT_USERNAME_COPY_SUCCESS_7:"Unstoppable!!",ACCOUNT_USERNAME_COPY_SUCCESS_8:"Wicked Sick!!",ACCOUNT_USERNAME_COPY_SUCCESS_9:"Monster Copy!!!",ACCOUNT_USERNAME_COPY_SUCCESS_10:"GODLIKE!!!",ACCOUNT_USERNAME_COPY_SUCCESS_11:"BEYOND GODLIKE!!!!",SET_STATUS:"Set Status",STATUS_ONLINE:"Online",STATUS_ONLINE_MOBILE:"Online via mobile",STATUS_OFFLINE:"Offline",STATUS_IDLE:"Idle",STATUS_UNKNOWN:"Unknown",STATUS_DND:"Do Not Disturb",STATUS_INVISIBLE:"Invisible",STATUS_DND_HELP:"You will not receive any desktop notifications.",STATUS_INVISIBLE_HELPER:"You will not appear online, but will have full access to all of Discord.",STATUS_STREAMING:"Streaming",PINNED_MESSAGES:"Pinned Messages",PINNED_MESSAGES_PRO_TIP:"PROTIP:",PINNED_MESSAGES_PRO_TIP_BODY_CHANNEL:"Users with 'Manage Messages' can pin from the cog menu.",PINNED_MESSAGES_PRO_TIP_BODY_DM:"You and !!{other}!! can pin a message from its cog menu.",PINNED_MESSAGES_PRO_TIP_BODY_GROUP_DM:"Any group member can pin a message from its cog menu.",NO_PINS_IN_CHANNEL:"This channel doesn't have any\npinned messages... yet.",NO_PINS_IN_DM:"This direct message doesn't have\nany pinned messages... yet.",JUMP:"Jump",COLLAPSE:"Collapse",EXPAND:"Expand",UNBLOCK_TO_JUMP_TITLE:"Soo... You Blocked This Person",UNBLOCK_TO_JUMP_BODY:"First unblock '!!{name}!!' and then you can jump to their message.",PIN_MESSAGE_TITLE:"Pin It. Pin It Good.",PIN_MESSAGE_BODY:"\nHey, just double checking that you want to pin this message to #!!{channelName}!! for posterity and greatness?",PIN_MESSAGE_BODY_PRIVATE_CHANNEL:"\nHey, just double checking that you want to pin this message to the current channel for posterity and greatness?",UNPIN_MESSAGE_TITLE:"Unpin Message",UNPIN_MESSAGE_BODY:"You sure you want to remove this pinned message?",UNPIN_CONFIRM:"Remove it please!",UNPIN_MESSAGE_CONTEXT_MENU_HINT:"\nYou can hold down shift when clicking **unpin message** to bypass this confirmation entirely.",PIN_CONFIRM:"Oh yeah. Pin it",PIN_MESSAGE_TOO_MANY_TITLE:"The Pin Broke",PIN_MESSAGE_TOO_MANY_BODY:"\nDiscord is unable to pin that message. You may have hit the limit of {maxPins} pins in channel #!!{channelName}!!.",PIN_MESSAGE_TOO_MANY_BODY_PRIVATE_CHANNEL:"\nDiscord is unable to pin that message. You may have hit the limit of {maxPins} pins in this channel.",UNPIN_MESSAGE_FAILED_TITLE:"The Pin Is Stuck!",UNPIN_MESSAGE_FAILED_BODY:"Discord failed to unpin that message for some reason. Sorry about that.",PINS_DISABLED_NSFW:"This channel is NSFW and due to its content its pins should not be viewed by anyone.",NO_INPUT_DEVICES:"No Input Devices",NO_OUTPUT_DEVICES:"No Output Devices",NO_VIDEO_DEVICES:"No Video Devices",DEFAULT:"Default",INPUT_DEVICE:"Input Device",OUTPUT_DEVICE:"Output Device",CONNECTION_STATUS_CONNECTED:"Connected",CONNECTION_STATUS_CONNECTING:"Connecting",CONNECTION_STATUS_AUTHENTICATING:"Authenticating",CONNECTION_STATUS_AWAITING_ENDPOINT:"Awaiting Endpoint",CONNECTION_STATUS_DISCONNECTED:"Disconnected",CONNECTION_STATUS_VOICE_CONNECTED:"Voice Connected",CONNECTION_STATUS_VIDEO_CONNECTED:"Video Connected",CONNECTION_STATUS_RTC_CONNECTING:"RTC Connecting",CONNECTION_STATUS_ICE_CHECKING:"ICE Checking",CONNECTION_STATUS_NO_ROUTE:"No Route",CONNECTION_STATUS_RTC_DISCONNECTED:"RTC Disconnected",CONNECTION_STATUS_STREAM_CONNECTED:"Watching !!{username}!!'s Stream",CONNECTION_STATUS_STREAM_SELF_CONNECTED:"Screen Sharing",IP_ADDRESS_SECURED:"IP Address Secured",DEBUG:"Debug",DISCONNECT_SELF:"Disconnect",DISCONNECT_OTHER:"Disconnect",RTC_CONNECTION:"RTC Connection",RTC_CONNECTION_STATE_AWAITING_ENDPOINT:"We're waiting to connect for ya. If your connection gets stuck here, we may be experiencing a region outage. Check our [service status page]({url}) for more info or consider asking your server admins or owner to temporarily switch regions under the Voice Channel Settings.",RTC_CONNECTION_STATE_CONNECTING:"\nA RTC server has been allocated for you and Discord is attempting to connect to it. Get ready to roll out.\n",RTC_CONNECTION_STATE_AUTHENTICATING:"\nDiscord has connected to your real-time communication server and is securing the connection.\n",RTC_CONNECTION_STATE_RTC_CONNECTING:"\nLocked and loaded! Discord has established a secure connection to your real-time communication server and is\nattempting to send data.\n",RTC_CONNECTION_STATE_ICE_CHECKING:"\nShields Up! Discord has established a secure connection to your real-time communication server and is attempting to send data.\nIf your browser connection is stuck in this step, check out [this swanky article]({url}) to help resolve the problem.\n",RTC_CONNECTION_STATE_NO_ROUTE:"Hm, Discord can't establish a connection. We'll try again in a moment. If Discord keeps getting stuck in this step, check out [this fancy article]({url}) to help resolve the problem.",RTC_CONNECTION_STATE_RTC_CONNECTED:"\nDiscord is connected to your real-time communication server on **{hostname}** with an average ping of **{averagePing} ms**. The last\nping was **{lastPing} ms**.\n\nIf the ping is not consistent or more than {badPing} ms, consider asking the server admins or owner to switch to a different region under the Voice Channel Settings.\n",RTC_CONNECTION_STATE_RTC_CONNECTED_LOSS_RATE:"\nDiscord is connected to your real-time communication server on **{hostname}** with an average ping of **{averagePing} ms**. The last\nping was **{lastPing} ms**. Outbound packet loss rate is **{outboundLossRate}%**.\n\nIf the ping is not consistent or more than {badPing} ms, consider asking the server admins or owner to switch to a different region under the Voice Channel Settings.\n\nIf outbound packet loss rate is more than {badLossRate}%, you may sound robotic.\n",RTC_CONNECTION_STATE_DISCONNECTED:"Discord's connection has been interrupted. Sorry about that, we'll attempt to re-establish the connection in a moment.",TUTORIAL_CLOSE:"Got it!",SKIP_ALL_TIPS:"Skip all tips",CHANNEL_MUTE_TOOLTIP:"\nMuting a channel prevents unread indicators and notifications from appearing unless you are mentioned.\n  ",CHANNEL_UNMUTE_TOOLTIP:"\nUn-muting a channel will show unread indicators and trigger notifications for all messages.\n  ",CHANNEL_MUTE_LABEL:"Mute channel !!{channelName}!!",SHOW_MUTED:"Show {n} Muted",HIDE_MUTED:"Hide {n} Muted",WELCOME_MESSAGE_OWNER_TITLE:"Welcome to your server, !!{username}!!!",WELCOME_MESSAGE_TITLE:"Welcome to the server, !!{username}!!!",WELCOME_MESSAGE_SETUP_SERVER:"\n  **Customize your server** with an [awesome name and icon](onSetupClick) to make it unique.\n    ",WELCOME_MESSAGE_INSTANT_INVITE:"\n**Invite your friends** to this server by clicking on a [share button](onShareClick) when you're ready.\n  ",WELCOME_MESSAGE_DESKTOP_APPS:"\n**Download** the [desktop app](onDownloadClick) for system-wide Push to Talk, lower CPU and bandwidth usage, and more.\n  ",WELCOME_MESSAGE_TUTORIAL:"**Learn about Discord** at your own pace by exploring the floating quest indicators.",WELCOME_MESSAGE_MOBILE_APPS:"\n**Stay connected** to your server from [your smartphone](onDownloadClick) while you’re at home or on the go.\n  ",WELCOME_MESSAGE_SUPPORT:"\n**Reach us** via [our help desk]({supportURL}) or on Twitter [@discord]({twitterURL}) if you have any\nquestions or need help.\n  ",WELCOME_MESSAGE_MOBILE_OWNER_TITLE:"Welcome to your server, !!{username}!!!",WELCOME_MESSAGE_MOBILE_OWNER_SUBTITLE:"Now, let's help you get the party started.",WELCOME_MESSAGE_MOBILE_UPLOAD_ICON:"Add a server icon",WELCOME_MESSAGE_MOBILE_UPLOAD_ICON_DESC:"Give your server some personality with a server icon.",WELCOME_MESSAGE_MOBILE_INSTANT_INVITE:"Invite your friends",WELCOME_MESSAGE_MOBILE_INSTANT_INVITE_DESC:"Servers are better with friends. Get your buddies in here!",WELCOME_MESSAGE_MOBILE_EXPLORE_SERVER:"Explore your server",WELCOME_MESSAGE_MOBILE_EXPLORE_SERVER_DESC:"Check out the other channels in your server by using the menu.",TIP_VOICE_CONVERSATIONS_TITLE3:"Make Yourself Heard",TIP_VOICE_CONVERSATIONS_BODY3:"\nThis is your **voice control panel**. You can mute your microphone, deafen your headphones, or access audio settings.\n\n  ",TIP_WRITING_MESSAGES_TITLE3:"Have a Conversation",TIP_WRITING_MESSAGES_BODY3:"\nNow that you've joined {serverName}, make your presence known and **say hello**! 👋\n\n  ",TIP_ORGANIZE_BY_TOPIC_TITLE3:"Explore Your Server",TIP_ORGANIZE_BY_TOPIC_BODY3:"\nA server is made up of **text** and **voice channels**.\n\nExplore text channels and join a conversation. Or, grab some friends and get on voice!\n\n  ",TIP_WHOS_ONLINE_TITLE3:"What's everyone doing?",TIP_WHOS_ONLINE_BODY3:"\nHere you can view all the members of this channel. See who's online and what they're up to, like playing a game or listening to music.\n\n  ",TIP_INSTANT_INVITE_TITLE3:"Invite Your Friends",TIP_INSTANT_INVITE_BODY3:"\nTo invite people to a server, click the share icon $[!!{shareIcon}!!](shareIconHook) next to any channel.\n\n  ",TIP_SERVER_SETTINGS_TITLE3:"Access Server Settings",TIP_SERVER_SETTINGS_BODY3:"\nClick here to adjust your server notifications or privacy settings.\n\n  ",TIP_DIRECT_MESSAGES_TITLE3:"Start a separate conversation",TIP_DIRECT_MESSAGES_BODY3:"\nWant some one-on-one time? Click here to send a direct message to a friend.\n\n  ",TIP_CREATE_MORE_SERVERS_TITLE3:"Create Your Own Server",TIP_CREATE_MORE_SERVERS_BODY3:"\nCreate a brand new server with voice and text chat for your buddies!\n\n  ",TIP_CREATE_FIRST_SERVER_TITLE3:"Create Your Own Server",TIP_CREATE_FIRST_SERVER_BODY3:"\nCreate a brand new server with voice and text chat for your buddies!\n\n  ",TIP_FRIENDS_LIST_TITLE3:"See Your Friends",TIP_FRIENDS_LIST_BODY3:"\nView all of your friends and direct messages, or start a new private conversation.\n\n  ",BAN_USER_TITLE:"Ban '!!{user}!!'",BAN_USER_CONFIRMED:"'!!{user}!!' has been banned from the server.",BAN_CONFIRM_TITLE:"Would you like to ban '!!{username}!!?'",FORM_LABEL_DELETE_MESSAGE_HISTORY:"Delete Message History",FORM_LABEL_REASON_KICK:"Reason for Kick",FORM_LABEL_REASON_BAN:"Reason for Ban",DELETE_MESSAGE_HISTORY_OPTION_NONE:"Don't Delete Any",DELETE_MESSAGE_HISTORY_OPTION_24HR:"Previous 24 Hours",DELETE_MESSAGE_HISTORY_OPTION_7D:"Previous 7 Days",DEFAULT_FAILURE_TO_PERFORM_ACTION_MESSAGE:"Oops! Looks like that didn't work",NO_TEXT:"No",YES_TEXT:"Yes",CLOSE:"Close",SEND:"Send",SEND_COMPRESSED:"Send Compressed",SAVE:"Save",SELECT:"Select",SELECT_MESSAGE:"Select message",START:"Start",ADD:"Add",REMAINING_PARTICIPANTS:"Add Members (!!{current}!!/!!{max}!!)",TOAST_MESSAGE_HIYA:"hiya",TOAST_MESSAGE_HOWDY:"howdy partner",TOAST_MESSAGE_OH_HELLO:"oh hello there",SEND_WAVE:"Send a wave",WAVE_TO:"Wave to !!{username}!!",WAVE_DEFAULT_RECIPIENT:"your pal",NEXT:"Next",BACKSPACE:"Backspace",SYSTEM_KEYBOARD:"System keyboard",PAUSE:"Pause",PLAY:"Play",PLAY_AGAIN:"Play again",TOGGLE_DRAWER:"Toggle drawer",CLOSE_DRAWER:"Close drawer",TOGGLE_MICROPHONE:"Toggle microphone",TOGGLE_CAMERA:"Toggle camera",TOGGLE_SCREENSHARE:"Toggle screen share",CHANGE_CAMERA:"Change camera",CLOSE_ACTION_SHEET:"Close action sheet",SAVED_SETTINGS:"Settings successfully updated.",DEVICE_SETTINGS:"Device Settings",ACTIONS:"Actions",SAVE_MEDIA_SUCCESS_MOBILE:"Saved",SAVE_MEDIA_FAILURE_MOBILE:"Save Failed",SAVE_MEDIA_FAILURE_HELP_MOBILE:"Please check your system network and privacy settings for the Photos app.",NO_CAMERA_ACCESS:"Discord does not have access to your camera",NO_MICRPHONE_ACCESS:"Discord does not have access to your microphone",NO_PHOTOS_ACCESS:"Discord does not have access to your photos",NO_INPUT_MONITORING_ACCESS:"Discord does not have access to system wide keyboard input required for Push to Talk",ENABLE_PRIVACY_ACCESS:"You can enable access in privacy settings.",PIN_MESSAGE_BODY_MOBILE:"Are you sure you want to pin this message?",JOIN_VOICE_CHANNEL:"Connect to this voice channel?",LEAVE_SERVER_BODY_MOBILE:"Are you sure you want to leave !!{name}!!?",KICK_USER_TITLE:"Kick '!!{user}!!'",KICK_USER_BODY:"Are you sure you want to kick !!{user}!!? They will be able to rejoin again with a new invite.",KICK_USER_CONFIRMED:"'!!{user}!!' has been kicked from the server.",KICK_USER_ERROR_GENERIC:"Whoops... !!{user}!! could not be kicked.  Please try again!",BAN_USER_BODY:"Are you sure you want to ban !!{user}!!? They won't be able to return unless you unban them.",BAN_USER_ERROR_GENERIC:"Whoops... !!{user}!! could not be banned.  Please try again!",JOIN_AFK_CHANNEL_BODY:"It seems you've joined the inactive channel. You cannot speak in this channel.",IMAGE:"Image",VIDEO:"Video",REPORT:"Report",CLOSE_DM:"Close DM",EDIT_MESSAGE:"Edit Message",REMOVE_MESSAGE_ATTACHMENT:"Remove Message Attachment",SAVE_IMAGE:"Save Image",COPY_MEDIA_LINK:"Copy Media Link",DELETE_MESSAGE:"Delete Message",EDITING_MESSAGE:"Editing Message",SPEAK_MESSAGE:"Speak Message",STOP_SPEAKING_MESSAGE:"Stop Speaking Message",MARK_UNREAD:"Mark Unread",QUOTE:"Quote",READ_ONLY_CHANNEL:"Channel is read-only.",CREATE_CHANNEL:"Create Channel",CHANNEL_NAME_PLACEHOLDER:"new-channel",CATEGORY_NAME_PLACEHOLDER:"New Category",CREATE_CHANNEL_IN_CATEGORY:"Create Channel in !!{categoryName}!!",OPEN_IN_BROWSER:"Open in Browser",NEW_DM:"New Direct Message",EXPIRES_IN:"Expires in:",DELETE_CHANNEL_BODY:"Are you sure you want to delete **!!{channelName}!!**? This cannot be undone.",SERVERS:"Servers",USERS:"Users",COPY_TEXT:"Copy Text",COPIED_TEXT:"Copied to clipboard.",COPY_USERNAME:"Copy Username",LOAD_IMAGE_ERROR:"Failed to load the image.\nPlease try again.",SEND_MESSAGE_FAILURE:"Failed to send message. Hold for options.",INVALID_ATTACHMENTS_FAILURE:"Attachments you trying to send are unavailable.",RESEND_MESSAGE:"Resend message",PARTIAL_OUTAGE:"\n{count, plural, one {**1** other server is unavailable due to a temporary outage.}\nother {**{count}** other servers are unavailable due to a temporary outage.}}",PARTIAL_OUTAGE_A11Y:"{count, plural, one {1 server is unavailable due to a temporary outage.} other {{count} servers are unavailable due to a temporary outage.}} Discord's Twitter should have more information.",MUTE_CHANNEL:"Mute **!!{name}!!**",UNMUTE_CHANNEL:"Unmute **!!{name}!!**",MUTE_CONVERSATION:"Mute Conversation",UNMUTE_CONVERSATION:"Unmute Conversation",MUTE_SERVER:"Mute Server",UNMUTE_SERVER:"Unmute Server",MUTE_CHANNEL_GENERIC:"Mute Channel",UNMUTE_CHANNEL_GENERIC:"Unmute Channel",SYNC_ACROSS_CLIENTS_TEXT:"Sync across clients.",IOS_AUTOMATIC_THEME:"Automatic (follows iOS settings)",IOS_AUTOMATIC_THEME_SHORT:"Automatic",SYNC_ACROSS_CLIENTS_TEXT_HELP:"\nTurning this on will overwrite text & image settings on all other clients including desktop and browser.\n  ",SYNC_ACROSS_CLIENTS_APPEARANCE_HELP:"\nTurning this on will overwrite the above appearance settings on all other clients including desktop and browser.\n  ",NETWORK_ERROR_CLOUDFLARE_INTERMITTENT:"There may have been a brief CloudFlare service interruption; please try again.",NETWORK_ERROR_CLOUDFLARE_UNAUTHORIZED:"Your IP address is currently blacklisted on CloudFlare.",NETWORK_ERROR_REST_REQUEST:"A network error has occurred.",NETWORK_ERROR_CONNECTION:"A network error has occurred. Please check your connection and try again.",NETWORK_ERROR_UNKNOWN:"An unknown network error has occurred.",NETWORK_ERROR_SSL:"A network SSL error has occurred.  Please ensure your system clock is synced.",NETWORK_ERROR_UNAUTHORIZED:"You are unauthorized to perform this request.",NETWORK_ERROR_REQUEST_TOO_LARGE:"Network request payload was too large.",NETWORK_ERROR_FORBIDDEN:"A forbidden network request has occurred, please try again.",NETWORK_ERROR_BAD_REQUEST:"A bad network request has occurred, please try again.",NETWORK_OFFLINE:"Network connectivity limited or unavailable.",NETWORK_OFFLINE_AIRPLANE_MODE:"Airplane mode is active.",TIMEOUT_ERROR:"Operation took too long to complete, please try again.",INTERNAL_SERVER_ERROR:"An internal server error has occurred, please try again.",WEB_BROWSER:"Web Browser",WEB_BROWSER_IN_APP:"In-App Browser",WEB_BROWSER_SAFARI:"Safari",WEB_BROWSER_CHROME:"Chrome",JUMP_TO_MESSAGE:"Jump to Message",CHANNEL_PERMISSIONS:"Channel Permissions",CATEGORY_PERMISSIONS:"Category Permissions",FORM_HELP_CHANNEL_PERMISSIONS:"Change privacy settings and customize how members can interact with this channel.",NEW_PERMISSION:"New Permission",PERMISSION_OVERRIDES:"Permission Overrides",VIEW_PROFILE:"View Profile",BUNDLE_READY_TITLE:"Augment Complete",BUNDLE_READY_BODY:"Restart Discord for some improvements!",BUNDLE_READY_RESTART:"Restart",BUNDLE_READY_LATER:"Not now",UNHANDLED_LINK_TITLE:"Unhandled Link",UNHANDLED_LINK_BODY:"Sorry, no applications on your device were found to handle this link:",CHANNEL_SETTINGS_HAVE_BEEN_UPDATED:"Channel settings have been updated.",CHANNEL_HAS_BEEN_DELETED:"Channel has been deleted.",CATEGORY_SETTINGS_HAVE_BEEN_UPDATED:"Category settings have been updated.",CATEGORY_HAS_BEEN_DELETED:"Category has been deleted.",ADD_NEW_CONNECTION:"Add New Connection",DEFAULT_INPUT_PLACEHOLDER:"Loading...",UNKNOWN_USER:"Unknown User",INVITE_NO_THANKS:"No Thanks",PINS:"Pins",PINS_UNREAD_A11Y_LABEL:"Pins, unread",TITLE_BAR_CLOSE_WINDOW:"Close",TITLE_BAR_MINIMIZE_WINDOW:"Minimize",TITLE_BAR_MAXIMIZE_WINDOW:"Maximize",TITLE_BAR_FULLSCREEN_WINDOW:"Full screen",CHAT:"Chat",QUICK_SWITCHER:"Quick switcher",LISTEN_ON_SPOTIFY:"Listen on spotify",TOGGLE_DEAFEN:"Toggle deafen",TOGGLE_MUTE:"Toggle mute",TOGGLE_EMOJI_KEYBOARD:"Toggle emoji keyboard",UPLOAD_A_MEDIA_FILE:"Upload a media file",TWITTER:"Twitter",FACEBOOK:"Facebook",INSTAGRAM:"Instagram",PLAY_STREAM:"Play stream",VIEW_SPECTATORS:"View spectators",OPEN:"Open",SELECT_PICTURE:"Select picture",TAB_BAR:"Tab bar",QUALITY_INDICATOR:"Quality indicator",TOGGLE_MEDIA_KEYBOARD:"Toggle media keyboard",A11Y_ROLE_CHECKBOX:"checkbox",A11Y_ROLE_SWITCH:"switch",A11Y_ROLE_RADIO_BUTTON:"radio button",FORM_LABEL_AVATAR_SIZE:"Avatar Size",AVATAR_SIZE_OPTION_SMALL:"Small",AVATAR_SIZE_OPTION_LARGE:"Large",FORM_LABEL_DISPLAY_NAMES:"Display Names",FORM_LABEL_DISPLAY_USERS:"Display Users",DISPLAY_OPTION_ALWAYS:"Always",DISPLAY_OPTION_NEVER:"Never",DISPLAY_OPTION_ONLY_WHILE_SPEAKING:"Only While Speaking",FORM_LABEL_AUTOMATIC_VAD_MOBILE:"Auto Sensitivity",RESET_NOTIFICATION_SETTINGS:"Reset Notification Settings",RESET_NOTIFICATION_OVERRIDE:"Reset Notification Override",CHANNEL_SETTINGS:"Channel Settings",SEND_MESSAGE:"Send Message",OVERLAY_NOTIFICATIONS_SETTINGS:"Overlay Notifications",FORM_LABEL_NOTIFICATION_POSITION:"Notification Position",OVERLAY_NOTIFICATION_SETTINGS_DISABLED:"Notifications Disabled",OVERLAY_NOTIFICATION_SETTINGS_POSITION:"Displaying: !!{position}!!",FORM_LABEL_OVERLAY_TEXT_CHAT_NOTIFICATIONS:"Show Text Chat Notifications",FORM_LABEL_OVERLAY_CHAT_OPACITY:"Opacity",ONE_USER_TYPING:"**!!{a}!!** is typing...",TWO_USERS_TYPING:"**!!{a}!!** and **!!{b}!!** are typing...",THREE_USERS_TYPING:"**!!{a}!!**, **!!{b}!!**, and **!!{c}!!** are typing...",SEVERAL_USERS_TYPING:"Several people are typing...",CHANNEL_SLOWMODE_DESC:"Slowmode is enabled. Members can send one message every {seconds, plural, =1 {1 second} other {{seconds} seconds}}.",CHANNEL_SLOWMODE_DESC_MINUTES:"Slowmode is enabled. Members can send one message every {minutes, plural, =1 {1 minute} other {{minutes} minutes}} {seconds, plural, =0 {} =1 {1 second} other {{seconds} seconds}}",CHANNEL_SLOWMODE_DESC_HOURS:"Slowmode is enabled. Members can send one message every {hours, plural, =1 {1 hour} other {{hours} hours}} {minutes, plural, =0 {} =1 {1 minute} other {{minutes} minutes}} {seconds, plural, =0 {} =1 {1 second} other {{seconds} seconds}}",CHANNEL_SLOWMODE_DESC_IMMUNE:"Slowmode is enabled, but you are immune. Amazing!",CHANNEL_SLOWMODE_DESC_SHORT:"Slowmode is enabled.",CHANNEL_SLOWMODE_COOLDOWN:"Slowmode is enabled. You can send another message in this channel in {seconds, plural, =1 {1 second} other {{seconds} seconds}}.",PERMISSION_OVERRIDE_DENY:"Deny",PERMISSION_OVERRIDE_PASSTHROUGH:"Passthrough",PERMISSION_OVERRIDE_ALLOW:"Allow",VOICE_CHANNEL_HIDE_NAMES:"Hide Names",VOICE_CHANNEL_SHOW_NAMES:"Show Names",COPY:"Copy",COPIED:"Copied",COPY_ID:"Copy ID",CUT:"Cut",PASTE:"Paste",COPY_IMAGE_MENU_ITEM:"Copy Image",SAVE_IMAGE_MENU_ITEM:"Save Image",COPY_LINK:"Copy Link",COPY_MESSAGE_LINK:"Copy Message Link",OPEN_LINK:"Open Link",SHARE_LINK:"Share Link",COPY_CHANNEL_TOPIC:"Copy Topic",INVITE_TO_SERVER:"Invite to Server",INVITE_SENT:"Invite Sent",SEARCH_WITH_GOOGLE:"Search with Google",JUMP_TO_CHANNEL:"Jump to Channel",ERROR:"Error",ERROR_COPYING_IMAGE:"Unable to copy image preview.",ERROR_SAVING_IMAGE:"Unable to save image preview.",DISABLE_VIDEO:"Disable Video",NO_RESULTS_FOUND:"No results found",APPS:"Apps",GENERIC_ACTIONS_MENU_LABEL:"Actions",APPLICATION_ACTIONS_MENU_LABEL:"Application Actions",CHANNEL_ACTIONS_MENU_LABEL:"Channel Actions",THREAD_ACTIONS_MENU_LABEL:"Thread Actions",GUILD_ACTIONS_MENU_LABEL:"Server Actions",GUILD_ROLE_ACTIONS_MENU_LABEL:"Server Role Actions",IMAGE_ACTIONS_MENU_LABEL:"Image Actions",MESSAGE_ACTIONS_MENU_LABEL:"Message Actions",OVERLAY_ACTIONS_MENU_LABEL:"Overlay Actions",RECENTS_NOTIFICATIONS_MENU_LABEL:"Notification Actions",TEXT_ACTIONS_MENU_LABEL:"Text Actions",TEXTAREA_ACTIONS_MENU_LABEL:"Text area Actions",USER_ACTIONS_MENU_LABEL:"User Settings Actions",USER_SETTINGS_ACTIONS_MENU_LABEL:"User Settings Actions",STREAM_ACTIONS_MENU_LABEL:"Stream Actions",CHANNEL_CALL_OVERFLOW_MENU_LABEL:"Channel Call Actions",AUDIO_DEVICE_ACTIONS:"Audio Device Actions",DIRECTORY_ENTRY_MENU_LABEL:"Directory Entry Actions",MORE_OPTIONS:"More Options",SWITCH_TO_LIGHT_THEME:"Switch to Light Theme",SWITCH_TO_DARK_THEME:"Switch to Dark Theme",SWITCH_TO_COZY_MODE:"Switch to Cozy Mode",SWITCH_TO_COMPACT_MODE:"Switch to Compact Mode",SWITCH_TO_PUSH_TO_TALK:"Switch to Push to Talk",SWITCH_TO_VOICE_ACTIVITY:"Switch to Voice Activity",MOVE_TO:"Move To",MOVE_TO_SUCCESS:"User has been moved to the selected channel.",DISCONNECT_USER_SUCCESS:"User has been disconnected from voice.",CHANGE:"Change",REGION_SELECT_HEADER:"Select a server region",REGION_SELECT_FOOTER:"Server region can be changed anytime with less than a second of voice interruption.",UNKNOWN_REGION:"Unknown Region",GUILD_VERIFICATION_TEXT_NOT_CLAIMED:"You must claim and verify your account before you can send messages in this server.",GUILD_VERIFICATION_TEXT_NOT_VERIFIED:"You must verify your account before you can send messages in this server.",GUILD_VERIFICATION_TEXT_ACCOUNT_AGE:"Your account must be at least {min} minutes old to send messages in this server.",GUILD_VERIFICATION_TEXT_MEMBER_AGE:"You must be a member for at least {min} minutes to send messages in this server.",RESEND_VERIFICATION_EMAIL:"Resend Verification Email",GUILD_VERIFICATION_TEXT_NOT_PHONE_VERIFIED:"You must verify your identity by phone before you can send messages in this server.",VERIFY_PHONE:"Verify Phone",GUILD_VERIFICATION_VOICE_HEADER:"You can't join voice channels yet!",GUILD_VERIFICATION_VOICE_NOT_CLAIMED:"You must claim and verify your account before you can speak in this server.",GUILD_VERIFICATION_VOICE_NOT_VERIFIED:"You must verify your account before you can speak in this server.",GUILD_VERIFICATION_VOICE_ACCOUNT_AGE:"Your account must be at least {min} minutes old to speak in this server.",GUILD_VERIFICATION_VOICE_MEMBER_AGE:"You must be a member for at least {min} minutes to speak in this server.",GUILD_VERIFICATION_VOICE_NOT_PHONE_VERIFIED:"You must verify your identity by phone before you can speak in this server.",LURKER_MODE_CHAT_INPUT_MESSAGE:"Join this server to add it to your list and start talking!",LURKER_MODE_CHAT_INPUT_MESSAGE_IOS:"You are in preview mode. Join this server to talk.",LURKER_MODE_CHAT_INPUT_BUTTON:"Join Server",GUEST_LURKER_MODE_CHAT_INPUT_HEADER:"Sign up for Discord",GUEST_LURKER_MODE_CHAT_INPUT_BODY:"Register to talk and hang out with communities and friends.",LURKER_MODE_VIEW_GUILD:"Visit Server",LURKER_MODE_NAG_BAR_HEADER:"You are currently in preview mode. Join this server to start chatting!",LURKER_MODE_NAG_BAR_BUTTON:"Join {guild}",LURKER_MODE_POPOUT_CHAT_HEADER:"You can't talk here yet!",LURKER_MODE_POPOUT_REACTIONS_HEADER:"You can't react until you join!",LURKER_MODE_POPOUT_SUCCESS_HEADER:"You're now a member of {guild}!",LURKER_MODE_POPOUT_UPSELL_BODY:"You have to join the community first before you can interact.",LURKER_MODE_POPOUT_SUCCESS_BODY:"Hooray! It's time to talk and hang out with your fellow members.",LURKER_MODE_POPOUT_SUCCESS_BUTTON:"Let's go!",LURKER_MODE_POPOUT_JOIN:"Join this server",LURKER_MODE_POPOUT_CANCEL:"I'm not ready yet",TRANSFER:"Transfer",TRANSFER_OWNERSHIP:"Transfer Ownership",TRANSFER_OWNERSHIP_TO_USER:"Transfer Ownership to !!{user}!!",TRANSFER_OWNERSHIP_ACKNOWLEDGE:"\nI acknowledge that by transferring ownership of this server to **!!{username}!!**, it officially belongs to them.\n",TRANSFER_OWNERSHIP_PROTECTED_GUILD:"Partnered or Verified servers must reach out to the Community team for ownership transfer requests.",USER_PROFILE_MODAL:"User Profile Modal",PROFILE:"Profile",USER_INFO:"User Info",MUTUAL_GUILDS:"Mutual Servers",MUTUAL_FRIENDS:"Mutual Friends",USER_PROFILE_ACTIVITY:"Activity",CONNECTION_VERIFIED:"Verified",NO_MUTUAL_GUILDS:"No servers in common",NO_MUTUAL_FRIENDS:"No friends in common",SHARING_SCREEN:"Sharing their screen",VERIFIED_BOT_TOOLTIP:"Verified Bot",USER_PROFILE_ABOUT_ME:"About Me",LOADING:"Loading",OAUTH2_CONNECT_TO_DISCORD:"Connect to Discord",OAUTH2_TITLE:"Authorize access to your account",OAUTH2_CANNOT_READ_SEND_NOTICE:"This application **cannot** read your messages or send messages as you.",OAUTH2_CAN_READ_NOTICE:"This application **can** read your messages but **can not** send messages as you.",OAUTH2_SCOPES_LABEL:"This will allow the developer of !!{application}!! to:",OAUTH2_REQUESTS_ACCOUNT_ACCESS:"wants to access your account",OAUTH2_SIGNED_IN_AS:"Signed in as $[](userHook)",OAUTH2_LOGOUT:"Not you?",OAUTH2_DETAILS_REDIRECT:"Once you authorize, you will be redirected to: !!{origin}!!",OAUTH2_DETAILS_PRIVACY_POLICY:"The developer's privacy policy and terms of service apply to this application.",OAUTH2_DETAILS_PRIVACY_POLICY_WITH_LINKS:"The developer's [privacy policy]({privacyPolicyURL}) and [terms of service]({termsOfServiceURL}) apply to this application.",OAUTH2_DETAILS_PRIVACY_POLICY_WITH_PRIVACY_POLICY_LINK:"The developer's [privacy policy]({privacyPolicyURL}) and terms of service apply to this application.",OAUTH2_DETAILS_PRIVACY_POLICY_WITH_TERMS_OF_SERVICE_LINK:"The developer's privacy policy and [terms of service]({termsOfServiceURL}) apply to this application.",OAUTH2_DETAILS_PRIVACY_POLICY_WITH_DEVELOPER:"!!{developer}!!'s privacy policy and terms of service apply to this application.",OAUTH2_DETAILS_PRIVACY_POLICY_WITH_LINKS_WITH_DEVELOPER:"!!{developer}!!'s [privacy policy]({privacyPolicyURL}) and [terms of service]({termsOfServiceURL}) apply to this application.",OAUTH2_DETAILS_PRIVACY_POLICY_WITH_PRIVACY_POLICY_LINK_WITH_DEVELOPER:"!!{developer}!!'s [privacy policy]({privacyPolicyURL}) and terms of service apply to this application.",OAUTH2_DETAILS_PRIVACY_POLICY_WITH_TERMS_OF_SERVICE_LINK_WITH_DEVELOPER:"!!{developer}!!'s privacy policy and [terms of service]({termsOfServiceURL}) apply to this application.",OAUTH2_DETAILS_CREATION_DATE:"Active since {date, date, medium}",OAUTH2_DETAILS_GUILDS:"Used in {guildCount, number} servers",OAUTH2_ADD_WEBHOOK_INCOMING:"Add a webhook to:",OAUTH2_ADD_BOT:"Add bot to:",OAUTH2_ADD_TO_GUILD:"Add to server:",OAUTH2_ADD_TO_GUILD_PLACEHOLDER:"Select a server",OAUTH2_ADD_TO_GUILD_DESCRIPTION:"This requires you to have **Manage Server** permission in this server.",OAUTH2_REQUEST_MISSING_PARAM:"Invalid request. Missing param **{param}**",OAUTH2_REQUEST_INVALID_SCOPE:"Invalid scope **{scope}**",OAUTH2_CONFIRM_BOT_PERMISSIONS:"Confirm that you want to grant **!!{applicationName}!!** the following permissions on **!!{guildName}!!**:",OAUTH2_DISABLED_PERMISSIONS:"**!!{applicationName}!!** has also asked for the following permissions, but you can't grant them:",OAUTH2_FAKE_SCOPE_1:"Bake a cake",OAUTH2_FAKE_SCOPE_2:"Buy you a nice seafood dinner",OAUTH2_FAKE_SCOPE_3:"Have an existential crisis",OAUTH2_FAKE_SCOPE_4:"Microbrew some local kombucha",OAUTH2_FAKE_SCOPE_5:"Solve a mystery with Scooby and the gang",OAUTH2_FAKE_SCOPE_6:"Record a new mixtape",OAUTH2_FAKE_SCOPE_7:"Paint a happy little tree",OAUTH2_FAKE_SCOPE_8:"Read you a bedtime story",OAUTH2_UNKNOWN_ERROR:"Oops, something went wrong...",SCOPE_IDENTIFY:"Access your username, avatar, and banner",SCOPE_EMAIL:"Access your email address",SCOPE_EMAIL_EMPTY:"You haven't set up an email yet!",SCOPE_CONNECTIONS:"Access your third-party connections",SCOPE_CONNECTIONS_EMPTY:"You don't have any third-party connections yet!",SCOPE_GUILDS:"Know what servers you're in",SCOPE_GUILDS_EMPTY:"You're not in any servers.",SCOPE_GUILDS_JOIN:"Join servers for you",SCOPE_GUILDS_JOIN_DESCRIPTION:"Use invites on your behalf.",SCOPE_GDM_JOIN:"Join group DMs for you",SCOPE_GDM_JOIN_DESCRIPTION:"This allows the app to join group DMs on your behalf that it has created.",SCOPE_BOT:"Add a bot to a server",SCOPE_BOT_PERMISSIONS:"Allow the following permissions",SCOPE_BOT_PERMISSIONS_DESCRIPTION:"This will create a role named **!!{name}!!** you can edit.",SCOPE_RPC:"Interface with your Discord client",SCOPE_RPC_DESCRIPTION:"This allows the app to connect with your local Discord client.",SCOPE_RPC_NOTIFICATIONS_READ:"Listen to notifications over your Discord client",SCOPE_RPC_NOTIFICATIONS_READ_DESCRIPTION:"This allows the app to see notifications we send to you.",SCOPE_RPC_VOICE_WRITE:"Alter your voice settings",SCOPE_RPC_VOICE_READ:"Read your voice settings and listen for voice events",SCOPE_RPC_ACTIVITIES_WRITE:"Set your current activity",SCOPE_WEBHOOK_INCOMING:"Adds a webhook to a channel",SCOPE_WEBHOOK_INCOMING_DESCRIPTION:"This allows the app to send messages to a channel on Discord.",SCOPE_WEBHOOK_INCOMING_CHANNEL_PLACEHOLDER:"Select a channel",SCOPE_MESSAGES_READ:"Read all messages",SCOPE_MESSAGES_READ_DESCRIPTION:"This allows the app to read all messages accessible through your Discord account",SCOPE_APPLICATIONS_BUILDS_UPLOAD:"Upload and manage builds",SCOPE_APPLICATIONS_BUILDS_UPLOAD_DESCRIPTION:"This allows the app to upload and manage builds for applications as you on Discord's store",SCOPE_APPLICATIONS_BUILDS_READ:"Read build information",SCOPE_APPLICATIONS_BUILDS_READ_DESCRIPTION:"This allows the app to read build information for applications as you on Discord's store",SCOPE_APPLICATIONS_COMMANDS:"Create slash commands in a server",SCOPE_APPLICATIONS_COMMANDS_DESCRIPTION:"This allows the app to create slash commands in a server",SCOPE_APPLICATIONS_COMMANDS_UPDATE:"Update slash commands",SCOPE_APPLICATIONS_COMMANDS_UPDATE_DESCRIPTION:"This allows the app to update slash commands for applications as you",SCOPE_APPLICATIONS_STORE_UPDATE:"Manage store SKUs, listings, and assets",SCOPE_APPLICATIONS_STORE_UPDATE_DESCRIPTION:"This allows the app to create, read, update, and delete SKUs, listings, and assets for applications as you on Discord's store",SCOPE_APPLICATIONS_ENTITLEMENTS:"Manage entitlements",SCOPE_APPLICATIONS_ENTITLEMENTS_DESCRIPTION:"This allows the app to read and consume entitlements for applications as you on Discord's store",SCOPE_ACTIVITIES_READ:"Access your Active Now activities",SCOPE_ACTIVITIES_READ_DESCRIPTION:"This allows the app to read the information from the Active Now section of your Friends page.",SCOPE_ACTIVITIES_WRITE:"Update your current activity",SCOPE_ACTIVITIES_WRITE_DESCRIPTION:"This allows the app to tell Discord when you're doing an activity like streaming.",SCOPE_RELATIONSHIPS_READ:"See who your friends are",SCOPE_RELATIONSHIPS_READ_DESCRIPTION:"This allows the app to access your friends list",AUTHORIZE:"Authorize",AUTHORIZED:"Authorized",OAUTH2_MESSAGE_CTA:"You may now close this window or tab.",WHITELISTED:"Whitelisted",WHITELISTING:"Whitelisting...",WHITELIST_FAILED:"Whitelist Failed",SCOPE_UNSUPPORTED_ON_ANDROID:"Not supported within Android app",SCOPE_UNSUPPORTED_ON_ANDROID_DESCRIPTION:"This OAuth2 scope is not supported within the app yet.\nGood news though, it does work on your mobile web browser! So please open it there.",TWO_FA:"Two-factor authentication",TWO_FA_DESCRIPTION:"Two-Factor authentication (2FA for short) is a good way to add an extra layer of security to your Discord account to make sure that only you have the ability to log in.",TWO_FA_KEY:"2FA Key (Manual entry)",TWO_FA_ACTIVATE:"Activate",TWO_FA_REMOVE:"Remove 2FA",TWO_FA_GENERATE_CODES:"Generate New Backup Codes",TWO_FA_VIEW_CODES:"View Codes",TWO_FA_VIEW_BACKUP_CODES:"View Backup Codes",TWO_FA_BACKUP_CODE_USED:"used",TWO_FA_GENERATE_CODES_CONFIRM_TEXT:"Generating new backup codes will invalidate any old backup codes you have saved.",TWO_FA_DOWNLOAD_CODES:"Download Backup Codes",TWO_FA_BACKUP_CODES_LABEL:"Backup Codes",TWO_FA_BACKUP_CODES_BODY:"These codes will allow you to enter your account if you lose your\nauth app.  **Each code can only be used once! Any previously generated codes no longer work!**",TWO_FA_BACKUP_CODES_SALES_PITCH:"If you lose access to your authenticator app, you can still gain access to your account with pre-generated backup codes. Save these somewhere safe to reduce the risk of losing access to your account!",TWO_FA_BACKUP_CODES_WARNING:"Without your backup codes, you are at risk of **losing your account permanently** if you lose access to your authenticator app! Save these somewhere safe on and off your device to reduce the risk of losing your account!",TWO_FA_BACKUP_CODE_ENTER:"Enter the 8-character Backup code.",TWO_FA_BACKUP_CODE_ENTER_WRONG:"Backup codes need to be 8 characters long and can contain only numbers and letters.",TWO_FA_BACKUP_CODE_HINT:"8-character backup code",TWO_FA_ENABLE:"Enable Two-Factor Auth",TWO_FA_ENABLE_SUBHEADER:"Make your account safer in 3 easy steps:",TWO_FA_DISABLE:"Disable Two-Factor Authentication",TWO_FA_ENABLED:"Two-Factor Authentication enabled",TWO_FA_SALES_PITCH:"Protect your Discord account with an extra layer of security. Once configured, you'll be required\nto enter both your password and an authentication code from your mobile phone in order to sign in.",TWO_FA_DOWNLOAD_APP_LABEL:"Download an authenticator app",TWO_FA_DOWNLOAD_APP_BODY:"Download and install [Authy]({authyURL}) or [Google Authenticator]({googleAuthURL}) for your phone or tablet.",TWO_FA_QR_LABEL:"Scan the QR code",TWO_FA_QR_BODY:"Open the authentication app and scan the image to the left using your phone's camera.",TWO_FA_LOGIN_LABEL:"Login with your code",TWO_FA_LOGIN_BODY:"Enter the 6-digit verification code generated.",TWO_FA_LOGIN_FOOTER:"Go back to Login",TWO_FA_AUTH_CODE:"6-digit authentication code/8-digit backup code",TWO_FA_AUTH_CODE_NO_BACKUP:"6-digit authentication code",TWO_FA_USE_DESKTOP_APP:"Enabling 2FA is not supported on this browser. Please use the Desktop app to enable 2FA.",TWO_FA_NOT_VERIFIED:"You must verify your account before you can enable two-factor authentication.",TWO_FA_TOKEN_REQUIRED:"A valid Discord Auth Code is required.",TWO_FA_ENTER_TOKEN_LABEL:"Enter Discord Auth/Backup Code",TWO_FA_ENTER_TOKEN_NO_BACKUP_LABEL:"Enter Discord Auth Code",TWO_FA_ENTER_SMS_TOKEN_LABEL:"Enter Discord SMS Code",TWO_FA_ENTER_TOKEN_BODY:"You can use a backup code or your two-factor authentication mobile app.",TWO_FA_ENTER_SMS_TOKEN_SENDING:"Sending...",TWO_FA_ENTER_SMS_TOKEN_SENT:"We've sent a message to !!{phoneNumber}!!.  Please enter the code you received.",TWO_FA_GUILD_MFA_WARNING:"This server requires members with moderation powers to have Two-Factor Authentication. You cannot take any moderation actions until you enable it. [Resolve](onClick)",TWO_FA_GUILD_MFA_WARNING_MESSAGE:"This server requires members with moderation powers to have Two-Factor Authentication. You cannot take any moderation actions until you enable it.",TWO_FA_GUILD_MFA_WARNING_MESSAGE_WITH_SPACING:"This server requires members with moderation powers to have Two-Factor Authentication.\n\nYou cannot take any moderation actions until you enable it.",TWO_FA_GUILD_MFA_WARNING_RESOLVE_BUTTON:"Resolve",TWO_FA_GUILD_MFA_WARNING_IOS:"This server requires members with moderation powers to have Two-Factor Authentication. You cannot take any moderation actions until you enable it.",TWO_FA_DISCORD_BACKUP_CODES:"These are your Discord backup codes for account !!{email}!!.  Keep them safe!",TWO_FA_CHANGE_ACCOUNT:"Change account details",TWO_FA_SUCCESS_HEADER:"2FA is activated! :tada:",TWO_FA_APP_NAME_AUTHY:"Authy",TWO_FA_APP_NAME_GOOGLE_AUTHENTICATOR:"Google Authenticator",TWO_FA_CONFIRM_TITLE:"Continue without Backup",TWO_FA_CONFIRM_BODY:"Are you sure you don't want to enable SMS authentication or download your backup codes? Without them, you are at risk of losing your account permanently if you lose access to your authenticator app!",TWO_FA_CONFIRM_CONFIRM:"I'm sure",MFA_SMS_AUTH:"SMS Backup Authentication",MFA_SMS_AUTH_SALES_PITCH:"Add your phone as a backup 2FA method in case you lose your authentication app or backup codes.",MFA_SMS_AUTH_CURRENT_PHONE:"Your current phone number is: !!{phoneNumber}!!.",MFA_SMS_PHONE_NUMBER_REVEAL:"Reveal",MFA_SMS_PHONE_NUMBER_HIDE:"Hide",MFA_SMS_ENABLE:"Enable SMS Authentication",MFA_SMS_ADD_PHONE:"Add Phone Number",MFA_SMS_ALREADY_ENABLED:"Already Enabled!",MFA_SMS_DISABLED_PARTNER:"Disabled for Partners",MFA_SMS_DISABLED_NO_EMAIL:"Email Required",MFA_SMS_ENABLE_SUBHEADER:"Just a few more things you can do:",MFA_SMS_ENABLE_SHOULD_DO:"Now here are a few things you **should do**!",MFA_SMS_REMOVE:"Remove SMS Authentication",MFA_SMS_CONFIRM_REMOVE_BODY:"This removes the ability to login with an authentication code through SMS. Are you sure you want to remove this?",MFA_SMS_CONFIRM_REMOVE_ACTION:"Remove SMS Backup",MFA_SMS_RECEIVE_CODE:"Receive auth code from SMS",MFA_SMS_RESEND:"Resend SMS?",ACCOUNT_MANAGEMENT:"Account Management",DELETE_ACCOUNT:"Delete Account",DISABLE_ACCOUNT:"Disable Account",DELETE_ACCOUNT_BODY:"Are you sure that you want to delete your account? This will immediately log you out of your account and you will not be able to log in again.",DISABLE_ACCOUNT_BODY:"Are you sure that you want to disable your account? This will immediately log you out and make your account inaccessible to anyone.",DELETE_ACCOUNT_TRANSFER_OWNERSHIP:"You Own Servers!",DELETE_ACCOUNT_TRANSFER_OWNERSHIP_BODY:"In order to delete or disable your account you must first transfer ownership of all servers that you own.",DELETE_ACCOUNT_ERROR:"Error Deleting Your Account",PRIVACY_AND_SAFETY:"Privacy & Safety",FRIENDS:"Friends",PEOPLE:"People",REMOVE_FRIEND_TITLE:"Remove '!!{name}!!'",REMOVE_FRIEND_BODY:"Are you sure you want to permanently remove **!!{name}!!** from your friends?",ADD_FRIEND:"Add Friend",REMOVE_FRIEND:"Remove Friend",BLOCKED:"Blocked",INCOMING_FRIEND_REQUEST:"Incoming Friend Request",INCOMING_FRIEND_REQUEST_FROM:"Incoming Friend Request from !!{name}!!",INCOMING_FRIEND_REQUESTS_COUNT:"{count} incoming friend requests",OUTGOING_FRIEND_REQUEST:"Outgoing Friend Request",OUTGOING_FRIEND_REQUEST_TO:"Outgoing Friend Request to !!{name}!!",OUTGOING_FRIEND_REQUEST_DELETE_MSG:"Are you sure you want to delete your friend request to **!!{name}!!**?",BLOCK:"Block",CONFIRM_USER_BLOCK_TITLE:"Block !!{name}!!?",CONFIRM_USER_BLOCK_BODY:"Are you sure you want to block **!!{name}!!**? Blocking this user will also remove them from your friends list.",UNBLOCK:"Unblock",MORE:"More",SEND_DM:"Message",FRIEND_REQUEST_RECEIVED:"Sent you a friend request:",FRIEND_REQUEST_ACCEPT:"Accept",FRIEND_REQUEST_IGNORE:"Ignore",FRIEND_REQUEST_CANCEL:"Cancel",FRIENDS_SECTION_ADD_FRIEND:"Add Friend",FRIENDS_SECTION_ALL:"All",FRIENDS_SECTION_ONLINE:"Online",FRIENDS_SECTION_PENDING:"Pending",FRIENDS_COLUMN_NAME:"Name",FRIENDS_COLUMN_STATUS:"Status",FRIENDS_EMPTY_STATE_ALL:"Wumpus is waiting on friends. You don’t have to though!",FRIENDS_EMPTY_STATE_ONLINE:"No one's around to play with Wumpus.",FRIENDS_EMPTY_STATE_PENDING:"There are no pending friend requests. Here's Wumpus for now.",FRIENDS_EMPTY_STATE_BLOCKED:"You can't unblock the Wumpus.",FRIENDS_PENDING_REQUEST_HEADER:"Pending Requests — {pendingRequestNumber}",FRIENDS_EMPTY_STATE_SUBTITLE:"Try adding a friend with their username, or scan to see who is nearby.",FRIENDS_FRIEND_SUGGESTIONS_HEADER:"Friend Suggestions — {count}",FRIENDS_ONLINE_HEADER:"Online — {online}",FRIENDS_OFFLINE_HEADER:"Offline — {offline}",FRIENDS_ALL_HEADER:"All friends — {count}",FRIENDS_PENDING_HEADER:"Pending — {count}",FRIENDS_BLOCKED_HEADER:"Blocked — {count}",FRIENDS_PENDING_REQUEST_EXPAND:"See All",FRIENDS_PENDING_REQUEST_EXPAND_COLLAPSE:"See Less",FRIENDS_REQUEST_STATUS_OUTGOING:"Outgoing Friend Request",FRIENDS_REQUEST_STATUS_INCOMING:"Incoming Friend Request",ADD_BY_ID:"Add Friends",ADD_BY_ID_TITLE:"Add your friend on Discord",ADD_BY_ID_BODY:"You will need both their username and a tag. Keep in mind that username is case sensitive.",SELF_USERNAME_INDICATOR_HOOK:"Your username and tag is $[](usernameHook)",SELF_USERNAME_INDICATOR:"Your username and tag is {username}",ADD_FRIEND_OTHER_OPTIONS:"or use these options",NEARBY_SCAN:"Nearby Scan",NEARBY_SCAN_CTA_TITLE:"Nearby scan",NEARBY_SCAN_SUBTITLE:"Use Bluetooth and Wifi to find nearby friends.",FRIENDS_SHARE:"Share",FRIENDS_SHARE_SHEET_SCANNING_TEXT_TOP:"Make sure your friends are scanning too!",FRIENDS_SHARE_SHEET_SCANNING_TEXT_BOTTOM:"Scanning the airwaves for friends. Make sure your friends are on this page and scanning too.",FRIENDS_SHARE_TABBAR_TITLE:"Add me on {url} so we can talk! My username is {username}.",FRIENDS_ROW_ACTION_BUTTON_ACCESSIBILITY_LABEL_CANCEL:"Cancel Friend Request",FRIENDS_ROW_ACTION_BUTTON_ACCESSIBILITY_LABEL_DECLINE:"Decline Invitation",FRIENDS_ROW_ACTION_BUTTON_ACCESSIBILITY_LABEL_ACCEPT:"Accept Invitation",FRIENDS_ROW_ACTION_BUTTON_ACCESSIBILITY_LABEL_MESSAGE:"Send a DM to User",FRIENDS_ROW_ACTION_BUTTON_ACCESSIBILITY_LABEL_CALL:"Call User",FRIENDS_ROW_ACTION_BUTTON_ACCESSIBILITY_LABEL_ACCEPT_SUGGESTION:"Accept Suggestion",FRIENDS_ROW_ACTION_BUTTON_ACCESSIBILITY_LABEL_IGNORE_SUGGESTION:"Ignore Suggestion",FRIENDS_EMPTY_STATE_ALL_HEADER:"Know people already on Discord?",FRIENDS_EMPTY_STATE_ALL_BODY:"Let them know you're here!",FRIENDS_EMPTY_STATE_ALL_CTA:"Share my username",FRIENDS_EMPTY_STATE_COPY:"I just joined Discord, and my username is {username}. Let's talk!",FRIENDS_EMPTY_STATE_FRIEND_SUGGESTIONS_COPY:"No suggested friends",FRIENDS_EMPTY_STATE_PENDING_FRIENDS_COPY:"No pending friends",FRIEND_PERMITTED_SOURCE:"Who can add you as a friend",FRIEND_PERMITTED_SOURCE_ALL:"Everyone",FRIEND_PERMITTED_SOURCE_MUTUAL_FRIENDS:"Friends of Friends",FRIEND_PERMITTED_SOURCE_MUTUAL_GUILDS:"Server Members",USER_EXPLICIT_CONTENT_FILTER:"Safe Direct Messaging",USER_EXPLICIT_CONTENT_FILTER_HELP:"Automatically scan and delete direct messages you receive that contain explicit media content.",ACTIVITY_PARTY_PRIVACY:"Rich Presence",ACTIVITY_PARTY_PRIVACY_FRIENDS:"Allow friends to join your game.",ACTIVITY_PARTY_PRIVACY_FRIENDS_HELP:"This setting allows friends to join your game without sending a request.",ACTIVITY_PARTY_PRIVACY_VOICE_CHANNEL:"Allow voice channel participants to join your game.",ACTIVITY_PARTY_PRIVACY_VOICE_CHANNEL_HELP:"This setting allows people that are in the same voice channel as you to join your game without sending a request. This feature only works in non-community servers.",USER_EXPLICIT_CONTENT_FILTER_FRIENDS_AND_NON_FRIENDS:"Keep me safe",USER_EXPLICIT_CONTENT_FILTER_FRIENDS_AND_NON_FRIENDS_HELP:"Scan direct messages from everyone.",USER_EXPLICIT_CONTENT_FILTER_NON_FRIENDS:"My friends are nice",USER_EXPLICIT_CONTENT_FILTER_NON_FRIENDS_HELP:"Scan direct messages from everyone unless they are a friend.",USER_EXPLICIT_CONTENT_FILTER_DISABLED:"Do not scan",USER_EXPLICIT_CONTENT_FILTER_DISABLED_HELP:"Direct messages will not be scanned for explicit content.",DATA_PRIVACY_CONTROLS:"How we use your data",DATA_PRIVACY_CONTROLS_USAGE_STATISTICS_TITLE:"Use data to improve Discord",DATA_PRIVACY_CONTROLS_USAGE_STATISTICS_NOTE:"This setting allows us to use and process information about how you navigate and use Discord for analytical purposes. For example, it allows us to include you in new feature experiments we test. [Learn more about it here.]({helpdeskArticle})",DATA_PRIVACY_CONTROLS_PERSONALIZATION_TITLE:"Use data to customize my Discord experience",DATA_PRIVACY_CONTROLS_PERSONALIZATION_NOTE_LEARN_MORE:"This setting allows us to use information, such as who you talk to and what games you play, to customize Discord for you. [Learn more about it here.]({helpdeskArticle})",DATA_PRIVACY_CONTROLS_ALLOW_ACCESSIBILITY_DETECTION_TITLE:"Allow Discord to track screen reader usage",DATA_PRIVACY_CONTROLS_ALLOW_ACCESSIBILITY_DETECTION_NOTE:"This setting allows us to record when you use a screen reader while using Discord so that we can improve accessibility. [Learn more here.]({helpdeskArticle})",DATA_PRIVACY_CONTROLS_BASIC_SERVICE_TITLE:"Use data to make Discord work",DATA_PRIVACY_CONTROLS_PERSONAL_DATA_TITLE:"Request all of my Data",DATA_PRIVACY_CONTROLS_BASIC_SERVICE_NOTE:"We need to store and process some data in order to provide you the basic Discord service, such as your messages, what servers you’re in and your Direct Messages. By using Discord, you allow us to provide this basic service. You can stop this by [Disabling or Deleting your account](onClick).",DATA_PRIVACY_CONTROLS_REQUEST_DATA_DOWNLOAD:"Request Data",DATA_PRIVACY_CONTROLS_REQUEST_DATA_SUCCESS_TITLE:"Request received",DATA_PRIVACY_CONTROLS_REQUEST_DATA_SUCCESS_BODY:"We will email you a link to download as soon as it’s ready.",DATA_PRIVACY_CONTROLS_REQUEST_DATA_FAILURE_TITLE:"Oops, something went wrong...",DATA_PRIVACY_CONTROLS_REQUEST_DATA_FAILURE_BODY:"Please try again",DATA_PRIVACY_CONTROLS_REQUEST_DATA_TOOLTIP:"Your account must be verified with an email address to request data. You can verify your account in the My Account section",DATA_PRIVACY_CONTROLS_REQUEST_DATA_MODAL_TITLE:"Submit Data Request",DATA_PRIVACY_CONTROLS_REQUEST_DATA_MODAL_NOTE:"It may take us up to 30 days to collect your data. We will send you an email to the address you registered with when the package is ready.",DATA_PRIVACY_CONTROLS_REQUEST_DATA_MODAL_CONFIRM:"Request My Data",DATA_PRIVACY_CONTROLS_REQUEST_DATA_MODAL_CANCEL:"I've changed my mind",DATA_PRIVACY_CONTROLS_REQUEST_DATA_MODAL_SUCCESS:"Our privacy farmers have begun harvesting your data. This can take up to 30 days, but we'll email you when it’s done.",DATA_PRIVACY_CONTROLS_REQUEST_DATA_NOTE:"[Learn more]({helpdeskArticle}) about how getting a copy of your personal data works.",DATA_PRIVACY_UPDATE_CONSENTS_FAILED:"We couldn't update your data usage preferences right now. Please try again later",USER_DM_SETTINGS:"Server Privacy Defaults",USER_DM_SETTINGS_HELP:"This setting is applied when you join a new server. It does not apply retroactively to your existing servers.",USER_DM_SETTINGS_QUESTION:"Do you want to also apply this change to all your existing servers?",NEW_GUILDS_DM_ALLOWED:"Allow direct messages from server members",FRIEND_REQUEST_SENT:"Friend request has been sent.",FRIEND_REQUEST_CANCELLED:"Friend request has been cancelled.",FRIEND_REQUEST_IGNORED:"Friend request has been ignored.",FRIEND_HAS_BEEN_DELETED:"Friend has been removed.",USER_HAS_BEEN_BLOCKED:"User has been blocked.",USER_HAS_BEEN_UNBLOCKED:"User has been unblocked.",CONFIRMATION_CODE:"Confirmation Code",TOAST_ADD_FRIEND:"Friend Request Sent",TOAST_ADD_FRIENDS:"Friend requests sent!",TOAST_IMAGE_SAVED:"Image Saved",TOAST_VIDEO_SAVED:"Video Saved",TOAST_GIF_SAVED:"Gif Saved",TOAST_USERNAME_SAVED:"Username Copied",TOAST_MESSAGE_COPIED:"Copied Message Text",TOAST_MESSAGE_ID_COPIED:"Copied Message ID",TOAST_ID_COPIED:"Copied ID",TOAST_FEEDBACK_SENT:"Feedback Sent!",TOAST_COMMAND_COPIED:"Copied Command",NOISE_CANCELLATION_ON:"Noise Suppression On",NOISE_CANCELLATION_OFF:"Noise Suppression Off",FRIEND_REQUEST_RATE_LIMITED_HEADER:"WOAH THERE. WAY TOO SPICY",FRIEND_REQUEST_RATE_LIMITED_BODY:"You're sending friend requests too quickly!",FRIEND_REQUEST_RATE_LIMITED_BUTTON:"Enter the chill zone",FRIEND_REQUEST_REQUIRES_EMAIL_VALIDATION_HEADER:"HOLD UP JUST A SEC.",FRIEND_REQUEST_REQUIRES_EMAIL_VALIDATION_BODY:"You're going to need to claim your account and verify your e-mail before you can send a friend request.",FRIEND_REQUEST_REQUIRES_EMAIL_VALIDATION_BUTTON:"Enter the verification zone.",FRIEND_REQUEST_FAILED_HEADER:"Friend request failed",FRIEND_REQUEST_FAILED_BODY_NAMES:"Hm, something went wrong when sending a friend request to !!{name}!!. You can always try again later from the friends list.",FRIEND_REQUEST_FAILED_BODY:"Hm, something went wrong when sending friend requests. You can always try again later from the friends list.",ADD_FRIEND_DESCRIPTION:"You can add a friend with their Discord Tag. It's cAsE sEnSitIvE!",ADD_FRIEND_PLACEHOLDER:"Enter a Username#0000",ADD_FRIEND_INPUT_HINT:"Username#0000",ADD_FRIEND_CONFIRMATION:"Sent request to **!!{name}!!**",ADD_FRIEND_BUTTON:"Send Friend Request",ADD_FRIEND_BUTTON_AFTER:"Friend Request Sent",ACCEPT_REQUEST_BUTTON_AFTER:"Request Accepted",USER_SUMMARY_WITH_OTHERS:"{name} and {count, plural, one {1 other} other {{count} others}}",ADD_FRIEND_SUCCESS:"Success! Your friend request to **!!{discordTag}!!** was sent.",ADD_FRIEND_ERROR_NUMBERS_ONLY:"We're more than numbers... we're people! Enter a username and tag. It should look something like: TotallyARealUsername#0000",ADD_FRIEND_ERROR_USERNAME_ONLY:"We need !!{username}!!'s four digit tag so we know which one they are.",ADD_FRIEND_ERROR_DISCORD_TAG_USERNAME:"DiscordTag is a fake username. Enter your friend's real username and tag. It should look something like: TotallyARealUsername#0000",ADD_FRIEND_ERROR_INVALID_DISCORD_TAG:"**!!{discordTag}!!** is not accepting friend requests. They’ll have to add you to become friends.",ADD_FRIEND_ERROR_TOO_MANY_FRIENDS:"You've maxed out your friend list. Welcome to the elite 1,000 friends club!",ADD_FRIEND_ERROR_ALREADY_FRIENDS:"You're already friends with that user!",ADD_FRIEND_ERROR_OTHER:"Hm, didn't work. Double check that the capitalization, spelling, any spaces, and numbers are correct.",ADD_FRIEND_ADD_MANUALLY:"Send Friend Request",ADD_FRIEND_NEARBY:"Nearby",ADD_FRIEND_FRIEND:"Friend",ADD_FRIEND_NEARBY_DISABLE_SCANNING:"Disable Nearby Scanning",ADD_FRIEND_NEARBY_INFO:"Find friends near you with Nearby! Make sure they're using Nearby too.",ADD_FRIEND_NEARBY_ENABLE:"Start Nearby Scanning",ADD_FRIEND_NEARBY_ENABLE_SETTINGS_ANDROID:"Enable Nearby in System Settings -> Google -> Nearby to find nearby friends nearby!",ADD_FRIEND_NEARBY_LOOKING:"Scanning the airwaves for friends. Make sure your future friends are on this screen and using nearby too!",ADD_FRIEND_NEARBY_TITLE:"Scanning the airwaves...",ADD_FRIEND_NEARBY_BODY:"Make sure your friends are on this page and scanning too.",ADD_FRIEND_NEARBY_FOUND_TITLE:"We found some friends!",ADD_FRIEND_NEARBY_FOUND_BODY:"Still scanning the airwaves. You will see more friends pop up here if we find them.",ADD_FRIEND_NEARBY_STOPPED:"Nearby connection was stopped.",ADD_FRIEND_NEARBY_CONNECTION_ERROR:"Please turn on location services, Bluetooth, and WiFi (all the things!). Then reconnect to the internet to activate Nearby.",ADD_FRIEND_NEARBY_CONNECTION_ERROR_IOS:"Please turn on Bluetooth and WiFi to activate Nearby.",ADD_FRIEND_NEARBY_GENERIC_ERROR:"There was a problem using Nearby. Please try again",ADD_FRIEND_NEARBY_LEARN_MORE:"[Learn More]({helpdeskArticle})",ME:"Me",NOTIFICATION_PENDING_FRIEND_REQUEST:"Sent a friend request.",NOTIFICATION_ACCEPTED_FRIEND_REQUEST:"Accepted your friend request.",DM_VERIFICATION_TEXT_BLOCKED:"You cannot send messages to a user you have blocked.",PRIVACY_SETTINGS:"Privacy Settings",ALLOW_SERVER_DMS:"Allow direct messages from server members.",BOT_DM_SEND_FAILED:"Your message could not be delivered because you don't share a server with the recipient or you disabled direct messages on your shared server, recipient is only accepting direct messages from friends, or you were blocked by the recipient.",BOT_DM_SEND_FAILED_WITH_HELP_LINK:"Your message could not be delivered. This is usually because you don't share a server with the recipient or the recipient is only accepting direct messages from friends. You can see the full list of reasons here: {helpUrl}",BOT_DM_SEND_FAILED_WITH_HELP_LINK_MOBILE:"Your message could not be delivered. This is usually because you don't share a server with the recipient or the recipient is only accepting direct messages from friends. You can see the full list of reasons [here]({helpUrl})",BOT_REQUIRES_EMAIL_VERIFICATION:"You need to verify your email before you can send messages here.",BOT_DM_RATE_LIMITED:"You are sending too many new direct messages. Hold off for a few minutes before trying to message this person again.",BOT_DM_SEND_MESSAGE_TEMPORARILY_DISABLED:"Sending messages to this channel has been temporarily disabled. Try again in a bit.",BOT_DM_EXPLICIT_CONTENT:"Woah there! !!{name}!! has requested that Discord block any messages our mostly-accurate robots deem to be explicit, so your message has not been sent.",BOT_GDM_EXPLICIT_CONTENT:"Woah there! Someone in !!{name}!! has requested that Discord block any messages our mostly-accurate robots deem to be explicit, so your message has not been sent.",BOT_GUILD_EXPLICIT_CONTENT:"Woah there! The owner of !!{name}!! has requested that Discord block any messages our mostly-accurate robots deem to be explicit, so your message has not been sent.",BOT_CALL_IDLE_DISCONNECT:"It appears you've been by yourself in this call for more than five minutes. The bandwidth patrol has asked me to disconnect you to save bandwidth. That stuff doesn't grow on trees!",CLAIM_ACCOUNT_TITLE:"Claim your account",CLAIM_ACCOUNT_BODY_SHORT:"Keep all your messages and servers even after you close the browser.",CLAIM_ACCOUNT_BODY:"Claim your account to keep all your servers and messages even after you close the browser.",CLAIM_ACCOUNT_REQUIRED_BODY:"Please claim your account to use the desktop app.",CLAIM_ACCOUNT_EMAIL_TO:"Thanks! We've sent a confirmation link to: **!!{email}!!**",CLAIM_ACCOUNT_REQUIRED_EMAIL_TO:"Thanks! We've sent a confirmation link to **!!{email}!!**. Please click the link to verify your account.",CLAIM_ACCOUNT_PROMOTE_APP_2020_06:"Get our desktop app to take full advantage of Discord with better performance, in-game overlay, quick access to your chats, and more.",CLAIM_ACCOUNT_PROMOTE_APP_2021_04:"Now that you have an account, download the Discord desktop app for better performance and more features!",CLAIM_ACCOUNT_GET_APP:"Get the Desktop App",FINISH_SIGNING_UP:"Finish signing up",CLAIM_ACCOUNT_BODY_2:"Claim your account by entering an email and password.",STREAMER_MODE:"Streamer Mode",OPTIONS:"Options",USER_SETTINGS_STREAMER_NOTICE_TITLE:"Looking for integrations?",USER_SETTINGS_STREAMER_NOTICE_BODY:"\nEnhance your Discord community with tools made for streamers.\n\nCheck out [Discord's StreamKit]({streamkitURL}).",STREAMER_MODE_ENABLED:"Streamer Mode Enabled",ENABLE_STREAMER_MODE_LABEL:"Enable Streamer Mode",ENABLE_STREAMER_MODE_DESCRIPTION:"You can set a keybind to toggle Streamer Mode in [Keybind Settings](onClick).",AUTO_TOGGLE_STREAMER_MODE_LABEL:"Automatically Enable/Disable",AUTO_TOGGLE_STREAMER_MODE_DESCRIPTION:"Automatically enable/disable Streamer Mode if OBS or XSplit are running on this computer.",HIDE_INSTANT_INVITES_LABEL:"Hide Invite Links",HIDE_INSTANT_INVITES_DESCRIPTION:"Recommended if you don't want random people accessing your Discord servers.",DISABLE_SOUNDS_LABEL:"Disable Sounds",DISABLE_SOUNDS_DESCRIPTION:"All sound effects will be disabled.",DISABLE_NOTIFICATIONS_LABEL:"Disable Notifications",DISABLE_NOTIFICATIONS_DESCRIPTION:"All desktop notifications will be disabled.",HIDE_PERSONAL_INFORMATION_LABEL:"Hide Personal Information",HIDE_PERSONAL_INFORMATION_DESCRIPTION:"Hides email, connected accounts, notes, and anonymizes number tags.",CUSTOM_COLOR:"Custom Color",COLOR_PICKER_PRESETS:"Presets",COLOR_PICKER_CUSTOM:"Custom",COLOR_PICKER_TITLE:"Select a color",COLOR_PICKER_TRANSPARENCY:"Transparency",TAP_ADD_NICKNAME:"Tap to add a nickname",CHANGE_NICKNAME:"Change Nickname",NICKNAME:"Nickname",RESET_NICKNAME:"Reset Nickname",CHANGE_NICKNAME_WARNING:"\nNicknames are visible to everyone on this server. Do not change them unless you are enforcing a naming system\nor clearing a bad nickname.\n",NICKNAME_CHANGED:"Nickname changed to !!{nickname}!!.",NICKNAME_CLEARED:"Nickname cleared.",FRIEND_NICKNAME:"Friend Nickname",RESET_FRIEND_NICKNAME:"Reset Friend Nickname",ADD_FRIEND_NICKNAME:"Add Friend Nickname",CHANGE_FRIEND_NICKNAME:"Change Friend Nickname",FRIEND_NICKNAME_DESCRIPTION:"Find a friend faster with a personal nickname. It will only be visible to you in your direct messages.",NOTE:"Note",NOTE_PLACEHOLDER:"Click to add a note",NOTE_PLACEHOLDER_MOBILE:"Tap to add a note",ADD_NOTE:"Add Note",LOADING_NOTE:"Loading Note",EDIT_NOTE:"Edit Note",WATCH_STREAM:"Watch Stream",JOIN_STREAM:"Join Stream",WATCH_USER_STREAM:"Watch !!{streamerName}!!'s Stream",WATCH_STREAM_STREAMING:"You’re Streaming!",WATCH_STREAM_WATCHING:"Watching Stream",WATCH_STREAM_TIP:"Double click user to watch",WATCH_STREAM_IN_APP:"Go to the app to watch",WATCH:"Watch",STREAMER_PLAYING:"playing !!{game}!!",STREAM_PLAYING:"Playing !!{game}!!",LIVE:"Live",USERNAME_LIVE:"!!{username}!! - LIVE",LIVE_VIEWERS:"{viewers, number} {viewers, plural, =1 {viewer} other {viewers}}",STOP_WATCHING:"Stop Watching",STOP_WATCHING_USER:"Stop Watching — !!{username}!!",STOP_STREAMING:"Stop Streaming",STREAM_ENDED:"This stream has ended. *cricket noise*",CLOSE_WINDOW:"Close Window",CLOSE_STREAM:"Close Stream",STREAM_FAILED_TITLE:"Stream failed to start :(",STREAM_FAILED_DESCRIPTION:"Having issues with your stream? [Let us try to help.]({helpUrl})",STREAM_ISSUE_MODAL_HEADER:"Stream Issue",STREAM_BAD_STREAMER:"Your stream currently has reduced video or audio quality. This may be due to network conditions.",STREAM_BAD_SPECTATOR:"The stream you're viewing currently has reduced video or audio quality. This may be due to network conditions.",STREAM_NETWORK_QUALITY_ERROR:"Your network connection may be causing a decrease in video and audio quality. To improve voice audio, disable the stream.",STREAM_RECONNECTING_ERROR:"You've been disconnected...",STREAM_RECONNECTING_ERROR_SUBTEXT:"Sit tight, we're patching you back in!",STREAM_SOUNDSHARE_FAILED:"Hey, something went wrong and we couldn't stream the sound from your application.",STREAM_PREVIEW_PAUSED:"Your stream is still running!",STREAM_PREVIEW_PAUSED_SUBTEXT:"We’ve just paused this preview to save your resources.",STREAM_CAPTURE_PAUSED:"Stream Paused",STREAM_CAPTURE_PAUSED_DETAILS:"Swap to your application to resume.",STREAM_CAPTURE_PAUSED_DETAILS_VIEWER:"!!{username}!! has minimized their application... sit tight!",POPOUT_PLAYER:"Pop Out",POPOUT_PLAYER_OPENED:"You've popped out the player to another window",POPOUT_RETURN:"Return to App",POPOUT_STAY_ON_TOP:"Stay On Top",POPOUT_REMOVE_FROM_TOP:"Remove From Top",STREAM_FULL_MODAL_HEADER:"Stream is Full",STREAM_FULL_MODAL_BODY:"Sorry, this stream has the max number of viewers.",STREAM_NO_PREVIEW:"Stream just started. Get in here!",STREAM_PREVIEW_LOADING:"Generating preview...",STREAM_QUALITY_UNLOCK:"Unlock with Nitro",STREAMER_SETTINGS_TITLE:"Stream Settings",OPEN_IN_THEATER:"Open in Theater",SWITCH_PIP_TO_USER_STREAM:"Switch to !!{username}!!'s Stream",SWITCH_PIP_TO_GO_LIVE:"Switch to Go Live",SWITCH_PIP_TO_ACTIVITY_NAME:"Switch to {activityName}",SWITCH_PIP_TO_ACTIVITY:"Switch to Activity",SHARE_YOUR_SCREEN:"Share Your Screen",VIDEO_CAPACITY_MODAL_HEADER:"Video isn't available",VIDEO_CAPACITY_MODAL_BODY:"Sorry, video chat isn't available when there's more than {videoUserLimit} people in the voice channel.",STREAM_VOLUME:"Stream Volume",STREAM_WATCH_MULTIPLE_TOOLTIP:"Start watching multiple streams",STREAM_SHOW_NON_VIDEO:"Show Non-Video Participants",IOS_STREAM_SHOW_NON_VIDEO:"Show participants without video",STREAM_PARTICIPANTS_HIDDEN:"Participants without video are currently hidden.\n\nWould you like to show them?",IOS_STREAM_PARTICIPANTS_HIDDEN:"Participants without video are currently hidden. Would you like to show them?",MOBILE_STREAM_PARTICIPANTS_HIDDEN:"Participants without video are currently hidden. Would you like to show them?",STREAM_SHOW_ALL_PARTICIPANTS:"Show All Participants",STREAM_FPS_OPTION:"{value} FPS",STREAM_RESOLUTION:"Resolution",STREAM_PREMIUM_UPSELL_HEADER:"Unlock HD Video streaming with Discord Nitro",STREAM_PREMIUM_UPSELL_BODY:"Stream HD resolutions at 60 frames per second, get access to chat perks, [and more with Discord Nitro!](onPressMore)",STREAM_PREMIUM_UPSELL_BODY_NO_CTA:"Stream HD resolutions at 60 frames per second, get access to chat perks, and more with Discord Nitro!",STREAM_PREMIUM_UPSELL_CTA:"Subscribe",STREAM_PRESET_DOCUMENTS_DESCRIPTION_NITRO:"The picture will be clear (Source) with a slow frame rate ({fps} FPS).",STREAM_PRESET_DOCUMENTS_DESCRIPTION_NON_NITRO:"The picture will be clear (Source) with a slow frame rate ({fps} FPS). For higher speeds and other goodness, [upgrade to Nitro.](onUpgrade)",STREAM_PRESET_VIDEO:"Smoother Video",STREAM_PRESET_DOCUMENTS:"Better Text Readability",STREAM_PRESET_CUSTOM:"Custom",STREAM_QUALITY:"Stream Quality",STREAM_SINGLE_PERSON_BODY:"No one else is here yet. Invite people to join you!",STREAM_SINGLE_PERSON_BODY_ALT:"No one else is here yet. Tell your friends to come join you!",STREAM_SINGLE_PERSON_INVITE:"Invite people to join you!",STREAM_SINGLE_PERSON_NO_INVITE:"You're alone in this call.",PICTURE_IN_PICTURE_COLLAPSE:"Collapse",PICTURE_IN_PICTURE_EXPAND:"Expand",STREAM_REPORT_A_PROBLEM:"Report a problem",STREAM_REPORT_PROBLEM_MENU_ITEM:"Report Problem",STREAM_REPORT_A_PROBLEM_POST_STREAM:"How'd the stream go?",STREAM_REPORT_PROBLEM:"Report a problem with your stream",STREAM_REPORT_PROBLEM_MOBILE:"Report Stream Issue",STREAM_REPORT_PROBLEM_HEADER_MOBILE:"Had an issue?",STREAM_REPORT_PROBLEM_BODY:"Sorry you had an issue! Let us know what happened.",STREAM_REPORT_RATING_BODY:"Tell us about your stream watching experience.",STREAM_REPORT_RATING_BODY_STREAMER:"Tell us about your streaming experience.",STREAM_REPORT_LABEL:"Streaming issue",STREAM_REPORT_PLACEHOLDER:"Select your issue",STREAM_REPORT_BLACK:"Stream is black",STREAM_REPORT_BLURRY:"Stream is blurry or pixelated",STREAM_REPORT_LAGGING:"Stream is lagging or refreshing",STREAM_REPORT_OUT_OF_SYNC:"Stream is out of sync with voice",STREAM_REPORT_AUDIO_MISSING:"Application audio is absent",STREAM_REPORT_AUDIO_POOR:"Application audio is low quality",STREAM_REPORT_ENDED_BLACK:"Stream was black",STREAM_REPORT_ENDED_BLURRY:"Stream was blurry or pixelated",STREAM_REPORT_ENDED_LAGGING:"Stream was lagging or refreshing",STREAM_REPORT_ENDED_OUT_OF_SYNC:"Stream was out of sync with voice",STREAM_REPORT_ENDED_AUDIO_MISSING:"Application audio was absent",STREAM_REPORT_ENDED_AUDIO_POOR:"Application audio was low quality",STREAM_REPORT_ENDED_STREAM_STOPPED_UNEXPECTEDLY:"Stream stopped unexpectedly",STREAM_REPORT_GAME_ISSUE:"Streaming is causing an issue with my application",STREAM_REPORT_SUBMIT:"Submit",STREAM_REPORTED:"Feedback Submitted",STREAM_REPORTED_BODY:"Thanks for reporting your issue! Feedback like yours helps us improve Screen Share.",MOBILE_STREAM_ACTIVE_HEADER:"You’re sharing your screen!",MOBILE_STREAM_ACTIVE_BODY:"You can switch to other apps for your friends to see.",MOBILE_STREAM_ACTIVE_SOUNDSHARE_WARNING_ANDROID:"Audio sharing is not supported on Android system version 9 or earlier.",MOBILE_STREAM_STOP_SHARING:"Stop sharing",MOBILE_STREAM_SCREEN_SHARE:"Screen Share",MOBILE_STREAM_SCREEN_SHARING:"Sharing screen",SCREEN_SHARE_NFX_TITLE:"Mobile Screen Share is here!",SCREEN_SHARE_NFX_BODY:"Watch videos, stream gameplay, or browse other apps together by sharing your screen with your friends.",SCREEN_SHARE_NFX_TRY:"Try it out!",SCREEN_SHARE_NFX_SKIP:"Skip for now",VOICE_CONTROLS_SHEET_TOOLTIP_SWIPE_UP:"Swipe up",CALL_FEEDBACK_SHEET_TITLE:"How'd the call go?",CALL_FEEDBACK_PROMPT:"Tell us about your call experience.",CALL_FEEDBACK_ISSUE_SECTION_HEADER:"Choose your main issue",CALL_FEEDBACK_OPTION_OTHER:"Other",CALL_FEEDBACK_OPTION_COULD_NOT_HEAR_AUDIO:"I couldn't hear audio at all",CALL_FEEDBACK_OPTION_NOBODY_COULD_HEAR_ME:"Nobody could hear me",CALL_FEEDBACK_OPTION_AUDIO_ECHOS:"Audio had echos or feedback",CALL_FEEDBACK_OPTION_AUDIO_ROBOTIC:"Audio was robotic or distorted",CALL_FEEDBACK_OPTION_AUDIO_CUT:"Audio cut in and out",CALL_FEEDBACK_OPTION_BAD_VOLUME:"Volume was too low or high",CALL_FEEDBACK_OPTION_BACKGROUND_NOISE:"Background noise was too loud",CALL_FEEDBACK_OPTION_SPEAKERPHONE:"Issues with speakerphone",CALL_FEEDBACK_OPTION_HEADSET:"Issues with headset/bluetooth",CALL_FEEDBACK_CONFIRMATION:"Thanks for the feedback!",CALL_FEEDBACK_SENTIMENT_NEGATIVE:"Negative",CALL_FEEDBACK_SENTIMENT_NEUTRAL:"Neutral",CALL_FEEDBACK_SENTIMENT_POSITIVE:"Positive",FEEDBACK_ISSUE_TITLE:"Your Issue",FEEDBACK_MODAL_TITLE:"Submit Feedback",FEEDBACK_DESCRIBE_ISSUE:"Describe your issue",FEEDBACK_NEED_MORE_HELP:"Need help with your issue? [Open a help request with our customer experience team.]({helpdeskURL})",INVITE_URL:"Invite URL",VANITY_URL_USES:"{uses, plural, =0 {0 uses} one {1 use} other {{uses} uses}}",SETUP_VANITY_URL:"Setup Vanity URL",REMOVE_VANITY_URL:"Remove Vanity URL",VANITY_URL_HEADER_USES:"Vanity URL ({uses, plural, =0 {0 uses} one {1 use} other {{uses} uses}})",VANITY_URL_HELP:"\nMake your server easily accessible with a fancy vanity URL of your choosing.\nBe aware that this makes your server publicly available to anyone who uses this link.\n",VANITY_URL_HELP_CONFLICT:"\nKeep in mind that we may take back vanity URLs if we discover abuse or if there's an intellectual property conflict.",VANITY_URL_HELP_EXTENDED:"This server is now accessible to everyone at **!!{url}!!**",VANITY_URL_HELP_EXTENDED_LINK:"This server is now accessible to everyone at [!!{urlText}!!]({urlValue})",CHANGE_VANITY_URL_ERROR:"\nVanity URL could not be changed because it contains invalid characters, was too short, or is already taken.\nVanity URLs can only contain letters, numbers, or dashes.\n",VANITY_URL_HINT_MOBILE:"your-url-here",UNNAMED:"Unnamed",LEAVE_GROUP_DM_TITLE:"Leave '!!{name}!!'",LEAVE_GROUP_DM_MANAGED_TITLE:"Leave !!{name}!! Group",LEAVE_GROUP_DM_MANAGED_BODY:"\nAre you sure you want to leave? You won't be able to rejoin this group unless\n**!!{name}!!** adds you again.\n  ",LEAVE_GROUP_DM_BODY:"\nAre you sure you want to leave **!!{name}!!**? You won't be able to rejoin this group unless you are re-invited.\n  ",LEAVE_GROUP_DM:"Leave Group",REMOVE_ICON:"Remove Icon",REMOVE_FROM_GROUP:"Remove From Group",GROUP_DM_SEARCH_PLACEHOLDER:"Type the username of a friend",GROUP_DM_ADD_FRIENDS:"Add Friends to DM",GROUP_DM_INVITE_WITH_NAME:"Invite friends to !!{groupname}!!",NEW_GROUP_DM:"New Group DM",GROUP_DM_HEADER:"Select Friends",CREATE_DM:"Create DM",CREATE_GROUP_DM:"Create Group DM",GROUP_DM_INVITE_TO:"To:",GROUP_DM_INVITE_EMPTY:"No friends found that are not already in this DM.",GROUP_DM_INVITE_FULL_MAIN:"The party is full!",GROUP_DM_INVITE_FULL_SUB:"Groups have a 10 member limit.",GROUP_DM_INVITE_FULL_SUB2:"This group has a {number} member limit.",GROUP_DM_INVITE_WILL_FILL_MOBILE:"The selected users will fill the group.",GROUP_DM_INVITE_REMAINING:"{number, plural, one {You can add 1 more friend.} other {You can add {number} more friends.}}",GROUP_DM_INVITE_UNSELECT_USERS:"{number, plural, one {You must unselect 1 friend.} other {You must unselect {number} friends.}}",GROUP_DM_INVITE_NO_FRIENDS:"You don't have any friends to add!",GROUP_DM_INVITE_NOT_FRIENDS:"You need to be friends with **!!{username}!!** to start a group DM.",GROUP_DM_INVITE_CONFIRM:"Confirm New Group",GROUP_DM_INVITE_CONFIRM_BUTTON:"Create Group",GROUP_DM_INVITE_CONFIRM_DESCRIPTION:"You already have a group with these people! Are you sure you want to create a new one?",GROUP_DM_INVITE_SELECT_EXISTING:"Existing Groups",CALL:"Call",RING:"Ring",RING_USERNAME_A11Y_LABEL:"Ring !!{username}!!",STOP_RINGING:"Stop Ringing",STOP_RINGING_USERNAME_A11Y_LABEL:"Stop Ringing !!{username}!!",VOICE_STATUS_RINGING:"Ringing…",VOICE_STATUS_CONNECTING:"Connecting…",VOICE_STATUS_NOT_CONNECTED_MOBILE:"You are disconnected from this call.",VOICE_STATUS_NOT_CONNECTED:"Not Connected",IN_THE_VOICE_CHANNEL:"In the voice channel",NOT_IN_THE_VOICE_CHANNEL:"Not in the voice channel",CALL_INVITE_NOT_FRIENDS:"You need to be friends with **!!{username}!!** to start a call",START_CALL:"Start Call",JOIN_CALL:"Join Call",START_VOICE_CALL:"Start Voice Call",JOIN_VOICE_CALL:"Join Voice Call",START_VIDEO_CALL:"Start Video Call",JOIN_VIDEO_CALL:"Join Video Call",MISSED_CALL:"Missed Call",CALL_ENDED:"Call Ended",ONGOING_CALL:"Ongoing Call",ONGOING_CALL_CONNECTED_USERS:"Ongoing Call — {numUsers} Connected",ONGOING_CALL_VOICE_QUALITY_LOW:"Oh no, a big red bar. Your connection is struggling.",ONGOING_CALL_YOU_ARE_ALL_ALONE:"You're alone in this call. \n Others in this chat can join at any time.",VIDEO_CALL_RETURN_TO_GRID:"Grid",VIDEO_CALL_RETURN_TO_LIST:"List",VIDEO_CALL_AUTO_SELECT:"Focus",VIDEO_CALL_SHOW_MEMBERS:"Show Members",VIDEO_CALL_HIDE_MEMBERS:"Hide Members",GUILD_VIDEO_CALL_MARKETING_POPOUT_HEADER:"This server now has Video Chat!",GUILD_VIDEO_CALL_MARKETING_POPOUT_BODY:"Turn on video to wave hello to each other, stream, or show off your pets.",CAMERA_UNAVAILABLE:"Camera Unavailable",CAMERA_NOT_ENABLED:"Camera Not Enabled",CAMERA_DISABLED_LIMIT_REACHED:"Video chat isn't available for more than {limit, plural, one {# user} other {# users}}",BROWSER_NOT_SUPPORTED:"Browser Not Supported",ANSWER:"Answer",DECLINE:"Decline",LEAVE_CALL:"Leave Call",FOCUS_PARTICIPANT:"Focus This Person",UNFOCUS_PARTICIPANT:"Unfocus This Person",GROUP_DM_SETTINGS:"Group Settings",GROUP_NAME:"Group Name",CUSTOMIZE_GROUP:"Customize Group",MUTE_GROUP_DM:"Mute **!!{name}!!**",REGION:"region",CALL_UNAVAILABLE:"Call Unavailable",VOICE_UNAVAILABLE:"Voice Unavailable",VIDEO_UNAVAILABLE:"Video Unavailable",GROUPS:"Groups",CONTROL_VOLUME:"Control volume",CAMERA_ON:"Turn On Camera",CAMERA_OFF:"Turn Off Camera",CAMERA_SWITCH:"Switch Camera",SCREEN_SHARE_ON:"Turn On Screen Share",SCREEN_SHARE_OPTIONS:"More Screen Share Options",FULL_SCREEN:"Full Screen",EXIT_FULL_SCREEN:"Exit Full Screen",SCREENSHARE_CHANGE_WINDOWS:"Change Windows",SCREENSHARE_STOP:"Stop sharing your screen",SCREENSHARE_STREAM_GAME:"Stream {gameName}",SCREENSHARE_SHARE_SCREEN_OR_WINDOW:"Share Screen or Window",CAMERA_NO_DEVICE:"Uh oh, we can't detect any camera.",SCREENSHARE_UNAVAILABLE:"Screen Sharing Unavailable",SCREENSHARE_UNAVAILABLE_DOWNLOAD_APP:"Download the Discord Desktop app to use screen sharing!",SCREENSHARE_SOUND_TOGGLE_LABEL:"Sound",GROUP_DM_INVITE_LINK_TITLE:"Or, send an invite link to a friend!",GROUP_DM_INVITE_LINK_CREATE:"Create",GROUP_DM_INVITE_LINK_EXAMPLE:"example",CAMERA_PREVIEW_MENU_ITEM:"Preview Camera",CAMERA_PREVIEW_MODAL_HEADER:"Ready to video chat?",CAMERA_PREVIEW_MODAL_SUBTITLE:"Here’s a preview of your camera:",CAMERA_PREVIEW_MODAL_CTA:"Turn on camera",OVERLAY_FRIEND_CALLING:"!!{name}!! is calling you!",OVERLAY_UNLOCK_TO_ANSWER:"Unlock to answer $[!!{keybind}!!](keybindHook)",OVERLAY_UNLOCK_TO_JOIN:"Unlock to join $[!!{keybind}!!](keybindHook)",INCOMING_CALL:"Incoming Call",INCOMING_VIDEO_CALL:"Incoming Video Call",INCOMING_CALL_ELLIPSIS:"Incoming Call...",INCOMING_VIDEO_CALL_ELLIPSIS:"Incoming Video Call...",INCOMING_CALL_PREVIEW_CAMERA:"Preview my camera",SCREENSHARE_SCREEN:"Your Entire Screen",SCREENSHARE_WINDOW:"Application Window",SCREENSHARE_SOURCE:"Source",SCREENSHARE_DESCRIPTION:"\nDiscord wants to share the contents of your screen with !!{name}!!.\n\nChoose which screen you'd like to share.\n  ",SCREENSHARE_STREAM_QUALITY:"Stream Quality",SCREENSHARE_FRAME_RATE:"Frame Rate",SCREENSHARE_RELAUNCH:"Screen Share Problems",SCREENSHARE_RELAUNCH_BODY:"Our robots have gone wild and need to re-launch Discord to get screen share working again. Are you sure you want to do this?",SCREENSHARE_RESOLUTION_ABBREVIATED:"{resolution}p",SCREENSHARE_FPS_ABBREVIATED:"{fps}FPS",SCREENSHARE_QUALITY_TOOLTIP_NORMAL:"Streaming quality",SCREENSHARE_QUALITY_TOOLTIP_PREMIUM:"Nitro streaming quality",SCREENSHARE_QUALITY_TOOLTIP_REDUCED:"Experiencing reduced quality",SYSTEM_MESSAGE_RECIPIENT_ADD:"[!!{username}!!](usernameOnClick) added [!!{otherUsername}!!](otherUsernameOnClick) to the group.",SYSTEM_MESSAGE_RECIPIENT_REMOVE:"[!!{username}!!](usernameOnClick) removed [!!{otherUsername}!!](otherUsernameOnClick) from the group.",SYSTEM_MESSAGE_RECIPIENT_REMOVE_SELF:"[!!{username}!!](usernameOnClick) left the group.",SYSTEM_MESSAGE_CHANNEL_NAME_CHANGE:"[!!{username}!!](usernameOnClick) changed the channel name: **!!{channelName}!!**",SYSTEM_MESSAGE_CHANNEL_NAME_CHANGE2:"$[!!{username}!!](usernameHook) changed the channel name: **!!{channelName}!!**",SYSTEM_MESSAGE_CHANNEL_ICON_CHANGE:"[!!{username}!!](usernameOnClick) changed the channel icon.",SYSTEM_MESSAGE_CALL_STARTED:"[!!{username}!!](usernameOnClick) started a call.",SYSTEM_MESSAGE_CALL_STARTED_WITH_DURATION:"[!!{username}!!](usernameOnClick) started a call that lasted !!{callDuration}!!.",SYSTEM_MESSAGE_CALL_MISSED:"You missed a call from [!!{username}!!](usernameOnClick).",SYSTEM_MESSAGE_CALL_MISSED_WITH_DURATION:"You missed a call from [!!{username}!!](usernameOnClick) that lasted !!{callDuration}!!.",SYSTEM_MESSAGE_JOIN_CALL:"Join the call",SYSTEM_MESSAGE_PINNED_MESSAGE_NO_CTA:"[!!{username}!!](usernameOnClick) pinned a message to this channel.",SYSTEM_MESSAGE_PINNED_MESSAGE_NO_CTA_FORMATTED:"$[!!{username}!!](usernameOnClick) pinned a message to this channel.",SYSTEM_MESSAGE_PINNED_MESSAGE_NO_CTA_FORMATTED_WITH_MESSAGE:"$[!!{username}!!](usernameOnClick) pinned [a message](messageOnClick) to this channel.",SYSTEM_MESSAGE_PINNED_MESSAGE:"$[!!{username}!!](usernameHook) pinned a message to this channel. See all [pinned messages](pinsActionOnClick).",SYSTEM_MESSAGE_PINNED_MESSAGE_WITH_MESSAGE:"$[!!{username}!!](usernameHook) pinned [a message](messageOnClick) to this channel. See all [pinned messages](pinsActionOnClick).",SYSTEM_MESSAGE_PINNED_MESSAGE_MOBILE:"[!!{username}!!](usernameOnClick) pinned a message to this channel. See all [pinned messages](pinsOnClick).",SYSTEM_MESSAGE_GUILD_MEMBER_SUBSCRIBED:"[!!{username}!!](usernameOnClick) just boosted the server!",SYSTEM_MESSAGE_GUILD_MEMBER_SUBSCRIBED_ACHIEVED_TIER:"[!!{username}!!](usernameOnClick) just boosted the server! !!{guildName}!! has achieved **{newTierName}!**",SYSTEM_MESSAGE_GUILD_MEMBER_SUBSCRIBED_MANY:"[!!{username}!!](usernameOnClick) just boosted the server **{numSubscriptions}** times!",SYSTEM_MESSAGE_GUILD_MEMBER_SUBSCRIBED_MANY_ACHIEVED_TIER:"[!!{username}!!](usernameOnClick) just boosted the server **{numSubscriptions}** times! !!{guildName}!! has achieved **{newTierName}!**",SYSTEM_MESSAGE_CHANNEL_FOLLOW_ADD:"[!!{username}!!](usernameOnClick) has added **$[!!{webhookName}!!](webhookNameHook)** to this channel. Its most important updates will show up here.",SYSTEM_MESSAGE_CHANNEL_FOLLOW_ADD_IOS:"[!!{username}!!](usernameOnClick) has added **[!!{webhookName}!!](webhookNameOnClick)** to this channel. Its most important updates will show up here.",SOURCE_MESSAGE_DELETED:"[Original Message Deleted]",SYSTEM_MESSAGE_GUILD_DISCOVERY_DISQUALIFIED:"This server has been removed from Server Discovery because it no longer passes all the requirements. Check [Server Settings](onClick) for more details.",SYSTEM_MESSAGE_GUILD_DISCOVERY_DISQUALIFIED_MOBILE:"This server has been removed from Server Discovery because it no longer passes all the requirements. Check Server Settings on desktop for more details.",SYSTEM_MESSAGE_GUILD_DISCOVERY_REQUALIFIED:"This server is eligible for Server Discovery again and has been automatically relisted!",SYSTEM_MESSAGE_GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING:"This server has failed Discovery activity requirements for 1 week. If this server fails for 4 weeks in a row, it will be automatically removed from Discovery.",SYSTEM_MESSAGE_GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING:"This server has failed Discovery activity requirements for 3 weeks in a row. If this server fails for 1 more week, it will be removed from Discovery.",SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_001:"[!!{username}!!](usernameOnClick) joined the party.",SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_002:"[!!{username}!!](usernameOnClick) is here.",SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_003:"Welcome, [!!{username}!!](usernameOnClick). We hope you brought pizza.",SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_004:"A wild [!!{username}!!](usernameOnClick) appeared.",SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_005:"[!!{username}!!](usernameOnClick) just landed.",SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_006:"[!!{username}!!](usernameOnClick) just slid into the server.",SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_007:"[!!{username}!!](usernameOnClick) just showed up!",SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_008:"Welcome [!!{username}!!](usernameOnClick). Say hi!",SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_009:"[!!{username}!!](usernameOnClick) hopped into the server.",SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_010:"Everyone welcome [!!{username}!!](usernameOnClick)!",SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_011:"Glad you're here, [!!{username}!!](usernameOnClick).",SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_012:"Good to see you, [!!{username}!!](usernameOnClick).",SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_013:"Yay you made it, [!!{username}!!](usernameOnClick)!",SYSTEM_MESSAGE_GUILD_BOT_JOIN:"[Learn how to use this bot.](learnOnClick)",SYSTEM_MESSAGE_APPLICATION_COMMAND_USED:"$[](usernameHook) used $[](commandNameHook) with $[](applicationNameHook)",SYSTEM_MESSAGE_APPLICATION_COMMAND_USED_MOBILE:"[!!{username}!!](usernameOnClick) used **!!{commandName}!!** with **!!{applicationName}!!**",SYSTEM_MESSAGE_APPLICATION_COMMAND_USED_SHORT_MOBILE:"[!!{username}!!](usernameOnClick) used **[!!{commandName}!!](commandNameOnClick)**",SYSTEM_MESSAGE_APPLICATION_COMMAND_REPLY:"used **[!!{commandName}!!](commandNameOnClick)**",SYSTEM_MESSAGE_APPLICATION_COMMAND_USED_AS_TITLE:"[!!{username}!!](usernameOnClick) used **[!!{commandName}!!](commandName)** with",ACCEPT_INVITE_MODAL_BUTTON:"Accept Invite",INVITE_MODAL_BUTTON:"Join **!!{guildName}!!**",INVITE_MODAL_OPEN_BUTTON:"Open **!!{guildName}!!**",INIVTE_MODAL_NO_THANKS:"No Thanks",INVITE_MODAL_ERROR_TITLE:"Whoops...",INVITE_MODAL_ERROR_INVALID_TITLE:"The invite link is invalid or has expired.",INVITE_MODAL_ERROR_INVALID_BODY:"Try using a different link to join this server.",INVITE_MODAL_ERROR_BUTTON_TEXT:"Got it",INVITE_MODAL_ERROR_DEFAULT:"Unable to accept invite",DISABLE_EMAIL_NOTIFICATIONS:"Success! We've disabled e-mail notifications for you!",KEYBIND_CONFLICT:"This conflicts with a built-in shortcut. We have disabled the built-in shortcut.",KEYBIND_NAVIGATION_CONFLICT:"This key is used for [keyboard navigation]({keyboardNavArticle}). It will no longer activate Keyboard Mode.",KEYBIND_DESCRIPTION_MODAL_TITLE:"Keyboard Combos",KEYBIND_DESCRIPTION_MODAL_SUBTITLE:"Master these to be the greatest Discord Discord Revolution player",KEYBIND_DESCRIPTION_MODAL_NAVIGATE_SERVERS:"Navigate between servers",KEYBIND_DESCRIPTION_MODAL_MARK_SERVER_READ:"Mark server read",KEYBIND_DESCRIPTION_MODAL_NAVIGATE_CHANNELS:"Navigate between channels",KEYBIND_DESCRIPTION_MODAL_UNREAD_CHANNELS:"Navigate between unread channels",KEYBIND_DESCRIPTION_MODAL_UNREAD_MENTION_CHANNELS:"Navigate between unread channels with mentions",KEYBIND_DESCRIPTION_MODAL_NAVIGATE_BACK_FORWARD:"Navigate forward and backward in page history",KEYBIND_DESCRIPTION_MODAL_NAVIGATE_TO_CALL:"Navigate to current call",KEYBIND_DESCRIPTION_MODAL_JUMP_TO_FIRST_UNREAD:"Jump to oldest unread message",KEYBIND_DESCRIPTION_MODAL_MARK_CHANNEL_READ:"Mark channel as read",KEYBIND_DESCRIPTION_MODAL_TOGGLE_PREVIOUS_GUILD:"Toggle between last server and DMs",KEYBIND_DESCRIPTION_MODAL_CREATE_GUILD:"Create or join a server",KEYBIND_DESCRIPTION_MODAL_QUICKSWITCHER:"Toggle QuickSwitcher",KEYBIND_DESCRIPTION_MODAL_CREATE_DM_GROUP:"Create a private group",KEYBIND_DESCRIPTION_MODAL_TOGGLE_PINS:"Toggle pins popout",KEYBIND_DESCRIPTION_MODAL_TOGGLE_INBOX:"Toggle inbox popout",KEYBIND_DESCRIPTION_MODAL_MARK_TOP_INBOX_CHANNEL_READ:"Mark top inbox channel read",KEYBIND_DESCRIPTION_MODAL_TOGGLE_USERS:"Toggle channel member list",KEYBIND_DESCRIPTION_MODAL_TOGGLE_MUTE:"Toggle mute",KEYBIND_DESCRIPTION_MODAL_TOGGLE_DEAFEN:"Toggle deafen",KEYBIND_DESCRIPTION_MODAL_CALL_ACCEPT:"Answer incoming call",KEYBIND_DESCRIPTION_MODAL_CALL_DECLINE:"Decline incoming call",KEYBIND_DESCRIPTION_MODAL_CALL_START:"Start call in private message or group",KEYBIND_DESCRIPTION_MODAL_SCROLL_CHAT:"Scroll chat up or down",KEYBIND_DESCRIPTION_MODAL_FOCUS_TEXT_AREA:"Focus text area",KEYBIND_DESCRIPTION_MODAL_UPLOAD_FILE:"Upload a file",KEYBIND_DESCRIPTION_MODAL_SEARCH_EMOJIS:"Toggle emoji picker",KEYBIND_DESCRIPTION_MODAL_SEARCH_GIFS:"Toggle GIF picker",KEYBIND_DESCRIPTION_MODAL_SEARCH_STICKERS:"Toggle sticker picker",KEYBIND_DESCRIPTION_MODAL_TOGGLE_HELP:"Get help",KEYBIND_DESCRIPTION_MODAL_EASTER_EGG:"Raging Demon",KEYBIND_DESCRIPTION_MODAL_SEARCH:"Search",INVITE_STREAM_HEADER:"Invite to Stream",INVITE_SHARE_LINK_TO_STREAM:"Share this link with others to grant access to this server and watch the stream",INVITE_STREAM_FOOTER_LINK_HEADER:"Or, send a stream invite link to a friend",INVITE_SEARCH_FOR_FRIENDS:"Search for friends",INVITE_FOOTER_LINK_HEADER:"Or, send a server invite link to a friend",INVITE_SHARE_LINK_OWN_SERVER:"Share this link with others to grant access to your server!",INVITE_COPIED:"Copied",INVITE_SETTINGS_TITLE:"Server invite link settings",INVITE_EXPIRES_MINUTES:"Your invite link expires in 30 minutes.",INVITE_EXPIRES_MINUTES_OR_USES:"Your invite link expires in 30 minutes, or after {numUses, plural, =1 {{numUses} use} other {{numUses} uses}}.",INVITE_EXPIRES_HOURS:"Your invite link expires in {numHours, plural, =1 {{numHours} hour} other {{numHours} hours}}.",INVITE_EXPIRES_HOURS_OR_USES:"Your invite link expires in {numHours, plural, =1 {{numHours} hour} other {{numHours} hours}}, or after {numUses, plural, =1 {{numUses} use} other {{numUses} uses}}.",INVITE_EXPIRES_DAYS_PLURAL:"Your invite link expires in {numDays, plural, =1 {{numDays} day} other {{numDays} days}}.",INVITE_EXPIRES_DAYS_OR_USES_PLURAL:"Your invite link expires in {numDays, plural, =1 {{numDays} day} other {{numDays} days}}, or after {numUses, plural, =1 {{numUses} use} other {{numUses} uses}}.",INVITE_EXPIRES_USES:"Your invite link expires after {numUses, plural, =1 {{numUses} use} other {{numUses} uses}}.",INVITE_EXPIRES_NEVER:"Your invite link will never expire.",INVITE_EDIT_LINK:"Edit invite link.",INVITE_WELCOME_HEADING:"Welcome to your new server!",INVITE_WELCOME_SUBHEADING:"Let's start by inviting your friends",INVITE_YOUR_FRIENDS_HEADER_MOBILE:"Your Friends",INVITE_YOUR_FRIENDS_CHANNEL_MOBILE:"Invite friends to {channelName}",INVITE_COPY_INVITE_LINK_HEADER_MOBILE:"Copy Invite Link",INVITE_COPY_SHARE_LINK_HEADER_MOBILE:"Copy Share Link",INVITE_SHARE_LINK_HEADER_MOBILE:"Share Invite Link",INVITE_EXPIRED_SUBTEXT_MOBILE:" • expires in !!{maxAge}!!",INVITE_NEVER_EXPIRES_SUBTEXT_MOBILE:" • Never expires",INVITE_VOICE_EMPTY_MOBILE:"There’s always room for more. Share this link and get them in here:",INVITE_PRIVATE_CALL_HEADS_UP:"Heads up! Friends you invite can see your previous message history.",INVITE_EMPTY_BODY:"Share this link with friends and they'll automatically join your server.",INVITE_EMPTY_TITLE:"Invite a friend to your server!",INVITE_A_FRIEND:"Invite a friend",INVITE_LINK_HEADER:"Server invite link",INVITE_SEND_DM:"Send via Direct Message",LINK_COPIED:"Link Copied!",INVITE_NOTICE_MESSAGE:"An adventure begins.",INVITE_NOTICE_MESSAGE_PART_2:"Let's add some friends!",INVITE_PEOPLE:"Invite People",INVITE_FRIENDS:"Invite Friends",SHARE_INVITE_LINK_FOR_ACCESS:"Share this link with others to grant access to this server",SHARE_INVITE_MOBILE:"Share {inviteUrl}",INVITE_LINK_COPIED:"Invite copied!",INVITE_LINKS_EXPIRE_AFTER_1_DAY:"Invite links expire every 1 day by default",INVITE_LINKS_EXPIRE_AFTER_DEFAULT:"Invite links expire every {days} by default",SET_INVITE_LINK_NEVER_EXPIRE:"Set this link to never expire",LINK_SETTINGS:"Link Settings",GENERATE_A_NEW_LINK:"Generate a New Link",CREATE_LINK:"Create Link",HOW_TO_INVITE_OTHERS:'Hello. Beep. Boop. If you wanna invite friends to this server, click the server name in the top left and select "!!{invitePeople}!!". Beep!',GRANT_TEMPORARY_MEMBERSHIP:"Grant temporary membership",TEMPORARY_MEMBERSHIP_EXPLANATION:"Temporary members are automatically kicked when they disconnect unless a role\n    has been assigned",MAX_NUMBER_OF_USES:"Max Number of Uses",EXPIRE_AFTER:"Expire After",ONLY_YOU_CAN_SEE_AND_DELETE_THESE:"Only you can see {count, plural, one {this} other {these}} • [Dismiss {countMessages, plural, one {message} other {messages}}](handleDelete)",NEW:"new",NEW_MENTIONS:"New Mentions",NEW_UNREADS:"New Unreads",MENTIONS_COUNT:"{count} mentions",FILTER_OPTIONS:"Filter Options",FILTER_MENTIONS:"Filter Mentions",SERVER_OPTIONS:"Server Options",INVALID_ANIMATED_EMOJI_BODY:"This emoji doesn't work because it's animated. Upgrade to Discord Nitro to fulfill all your animated emoji dreams",INVALID_ANIMATED_EMOJI_BODY_UPGRADE:"This emoji doesn't work because it's animated. Discord Nitro can solve all of that, check User Settings > Nitro for details",INVALID_EXTERNAL_EMOJI_BODY:"This emoji doesn't work here because it's from a different server. Upgrade to Discord Nitro to use emoji from other servers",INVALID_EXTERNAL_EMOJI_BODY_UPGRADE:"This emoji doesn't work here because it's from a different server. Discord Nitro can solve all of that, check User Settings > Nitro for details",ADD_REACTION:"Add Reaction",REACT_WITH_LABEL:"!!{emojiName}!!, press to react",OTHER_REACTIONS:"Other Reactions",TOO_MANY_REACTIONS_ALERT_HEADER:"We appreciate the enthusiasm, but...",TOO_MANY_REACTIONS_ALERT_BODY:"Your reaction was not added because there are too many reactions on this message.",REACTION_TOOLTIP_1:"!!{a}!! reacted with !!{emojiName}!!",REACTION_TOOLTIP_1_N:"!!{a}!! and {n, plural, one {1 other} other {{n} others}} reacted with !!{emojiName}!!",REACTION_TOOLTIP_2:"!!{a}!! and !!{b}!! reacted with !!{emojiName}!!",REACTION_TOOLTIP_2_N:"!!{a}!!, !!{b}!!, and {n, plural, one {1 other} other {{n} others}} reacted with !!{emojiName}!!",REACTION_TOOLTIP_3:"!!{a}!!, !!{b}!! and !!{c}!! reacted with !!{emojiName}!!",REACTION_TOOLTIP_3_N:"!!{a}!!, !!{b}!!, !!{c}!!, and {n, plural, one {1 other} other {{n} others}} reacted with !!{emojiName}!!",REACTION_TOOLTIP_N:"{n, plural, one {1 person} other {{n} people}} reacted with !!{emojiName}!!",LOAD_REACTIONS_ERROR:"Whoops, something went wrong. Give it another try?",NO_REACTIONS_HEADER:"No Reactions",NO_REACTIONS_BODY:"What a cold, emotionless world.",HOLD_UP:"Hold Up",MASKED_LINK_BODY:"This link will take you to **!!{url}!!**. Are you sure you want to go there?",MASKED_PROTOCOL_LINK_BODY:"This protocol link will take you to **!!{url}!!**, which may **open an application on your computer**. Are you sure you want to go there?",MASKED_LINK_CANCEL:"Cancel",MASKED_LINK_CONFIRM:"Yep!",MASKED_LINK_TRUST_THIS_DOMAIN:"Trust this Domain",MASKED_LINK_TRUST_THIS_PROTOCOL:"Trust this Protocol",ACCESSIBILITY:"Accessibility",ACCESSIBILITY_FONT_SCALING_LABEL:"Chat font scaling",ACCESSIBILITY_ZOOM_LEVEL_LABEL:"Zoom level",ACCESSIBILITY_FONT_SCALING_USE_APP:"Currently using the Discord-specific font scale.",ACCESSIBILITY_FONT_SCALING_USE_OS:"Currently using your device's font scale.",ACCESSIBILITY_DARK_SIDEBAR:"Dark Sidebar",ACCESSIBILITY_DETECTION_MODAL_HEADER:"Quick Question!",ACCESSIBILITY_DETECTION_MODAL_BODY:"We're working to improve accessibility within Discord, and we've noticed you're using a screen reader! Would it be okay if we start using that information to help us improve Discord for everyone who uses a screen reader? [Learn more about how we use this information]({helpdeskArticle}).",ACCESSIBILITY_DETECTION_MODAL_BODY_WITHOUT_LINK:"We're working to improve accessibility within Discord, and we've noticed you're using a screen reader! Would it be okay if we start using that information to help us improve Discord for everyone who uses a screen reader?",ACCESSIBILITY_DETECTION_MODAL_LEARN_MORE_LABEL:"Learn more about how we use this information.",ACCESSIBILITY_DETECTION_MODAL_DECLINE_LABEL:"No. Keep this off.",ACCESSIBILITY_DETECTION_MODAL_ACCEPT_LABEL:"Yep!",ACCESSIBILITY_MESSAGE_GROUP_SPACING:"Space Between Message Groups",ACCESSIBILITY_PREFERS_REDUCED_MOTION:"Reduced Motion",ACCESSIBILITY_PREFERS_REDUCED_MOTION_DESCRIPTION:"Reduce the amount and intensity of animations, hover effects, and other moving effects across Discord. Need help? Check our [Help Center]({helpdeskArticle}) for more info!",ACCESSIBILITY_PREFERS_REDUCED_MOTION_AUTO:"Sync with computer",ACCESSIBILITY_PREFERS_REDUCED_MOTION_AUTO_MOBILE:"Sync with Device Settings",ACCESSIBILITY_PREFERS_REDUCED_MOTION_ENABLE:"Enable Reduced Motion",ACCESSIBILITY_REDUCED_MOTION_SETTINGS_OVERRIDE:"This setting has been automatically disabled because of your **Reduced Motion** setting.",ACCESSIBILITY_SETTINGS_APPEARANCE_LINK:"Can’t find what you’re looking for? Check out the [Appearance](onAppearanceClick) settings.",APPEARANCE_SETTINGS_ACCESSIBILITY_LINK:"Can’t find what you’re looking for? Check out the [Accessibility](onAccessibilityClick) settings.",ACCESSIBILITY_SETTINGS_SATURATION_TITLE:"Saturation",ACCESSIBILITY_SETTINGS_SATURATION_DESCRIPTION:"Reduce the saturation of colors within the application, for those with color sensitivities. This does not affect the saturation of images, videos, role colors or other user-provided content by default.",ACCESSIBILITY_SETTINGS_SATURATION_CUSTOM_COLORS_LABEL:"Apply to custom color choices",ACCESSIBILITY_SETTINGS_SATURATION_CUSTOM_COLORS_DESCRIPTION:"Turn on to apply this adjustment to custom color choices, like role colors",ACCESSIBILITY_SETTINGS_SATURATION_PREVIEW_MESSAGE:"links will look like this https://discord.com/",GUILDS_BAR_A11Y_LABEL:"Servers sidebar",DM_TOOLTIP_A11Y_LABEL:"!!{name}!! {mentions, plural, =0 {} =1 {, # unread message} other {, # unread messages}}",GUILD_TOOLTIP_A11Y_LABEL:" {mentions, plural, =0 {} =1 {# mention,} other {# mentions,}} !!{guildName}!!",GUILD_FOLDER_TOOLTIP_A11Y_LABEL:"!!{folderName}!!, folder {mentions, plural, =0 {} =1 {, # unread mention} other {, # unread mentions}}",GUILD_FOLDER_TOOLTIP_A11Y_LABEL_WITH_EXPANDED_STATE:"!!{folderName}!!, folder {mentions, plural, =0 {} =1 {, # unread mention} other {, # unread mentions}}, !!{expandedState}!!",CHANNEL_MEMBERS_A11Y_LABEL:"!!{title}!!, {count, plural, =1 {# member} other {# members}}",CHANNEL_CALL_MEMBERS_POPOUT_HEADER:"Participants — {count}",CHANNEL_CALL_PARTICIPANTS:"Participants",CHANNEL_CALL_CURRENT_SPEAKER:"Currently Speaking: !!{username}!!",PRIVATE_CHANNELS_A11Y_LABEL:"Private channels",ACCOUNT_A11Y_LABEL:"User area",GUILD_SIDEBAR_A11Y_LABEL:"!!{guildName}!! (server)",GUILD_SIDEBAR_DEFAULT_CHANNEL_A11Y_LABEL:"!!{channelName}!! (text channel)",GUILD_SIDEBAR_STORE_CHANNEL_A11Y_LABEL:"!!{channelName}!! (store channel)",GUILD_SIDEBAR_ANNOUNCEMENT_CHANNEL_A11Y_LABEL:"!!{channelName}!! (announcement channel)",GUILD_SIDEBAR_DEFAULT_CHANNEL_A11Y_LABEL_WITH_UNREADS:"unread, !!{channelName}!! (text channel)",GUILD_SIDEBAR_ANNOUNCEMENT_CHANNEL_A11Y_LABEL_WITH_UNREADS:"unread, !!{channelName}!! (announcement channel)",GUILD_SIDEBAR_DEFAULT_CHANNEL_A11Y_LABEL_WITH_MENTIONS:"{mentionCount, plural, one {# mention} other {# mentions}}, !!{channelName}!! (text channel)",GUILD_SIDEBAR_ANNOUNCEMENT_CHANNEL_A11Y_LABEL_WITH_MENTIONS:"{mentionCount, plural, one {# mention} other {# mentions}}, !!{channelName}!! (announcement channel)",GUILD_SIDEBAR_VOICE_CHANNEL_A11Y_LABEL:"!!{channelName}!! (voice channel)",GUILD_SIDEBAR_VOICE_CHANNEL_A11Y_LABEL_WITH_USERS:"!!{channelName}!! (voice channel), {userCount, plural, one {1 user} other {# users}}",GUILD_SIDEBAR_VOICE_CHANNEL_A11Y_LABEL_WITH_LIMIT:"!!{channelName}!! (voice channel), {userCount, number} of {limit, number} users",GUILD_SIDEBAR_STAGE_CHANNEL_A11Y_LABEL:"!!{channelName}!! (stage channel)",GUILD_SIDEBAR_STAGE_CHANNEL_A11Y_LABEL_WITH_USERS:"!!{channelName}!! (stage channel), {userCount, plural, one {1 user} other {# users}}",GUILD_SIDEBAR_STAGE_CHANNEL_A11Y_LABEL_WITH_LIMIT:"!!{channelName}!! (stage channel), {userCount, number} of {limit, number} users",CHANNEL_A11Y_LABEL:"!!{channelName}!! (channel)",CATEGORY_A11Y_LABEL:"!!{categoryName}!! (category)",CATEGORY_A11Y_LABEL_WITH_EXPANDED_STATE:"!!{categoryName}!! (category), !!{isExpanded}!!",DIRECT_MESSAGE_A11Y_LABEL:"!!{channelName}!! (direct message)",DIRECT_MESSAGE_A11Y_LABEL_WITH_UNREADS:"unread, !!{channelName}!! (direct message)",GROUP_MESSAGE_A11Y_LABEL:"!!{channelName}!! (group message)",GROUP_MESSAGE_A11Y_LABEL_WITH_UNREADS:"unread, !!{channelName}!! (group message)",CHANNEL_HEADER_BAR_A11Y_LABEL:"Channel header",CHANNEL_MESSAGES_A11Y_LABEL:"Messages in !!{channelName}!!",CHANNEL_MESSAGES_A11Y_DESCRIPTION:"Use the up and down arrow keys to navigate between messages quickly. New messages will be added to the bottom of the list as they come in.",CHANNEL_MESSAGES_A11Y_ROLE_DESCRIPTION:"message list",CHANNEL_MESSAGE_A11Y_LABEL:"!!{author}!! at {timestamp}: !!{content}!!",CHANNEL_MESSAGE_A11Y_ROLE_DESCRIPTION:"message",CHANNEL_MESSAGE_REPLY_A11Y_LABEL:"!!{author}!! replying to !!{repliedAuthor}!!",CHANNEL_MENTION_BADGE_A11Y_LABEL:"{mentionCount, plural, one {# mention} other {# mentions}}",MESSAGE_UTILITIES_A11Y_LABEL:"Message Actions",LOADING_MESSAGES_A11Y_LABEL:"Loading more messages",SELECT_FROM_APPLICATION_A11Y_LABEL:"Select from Application",CAMERA_A11Y_TURNED_ON:"Camera On",CAMERA_A11Y_TURNED_OFF:"Camera Off",EXPANDED:"Expanded",COLLAPSED:"Collapsed",IMG_ALT_ATTACHMENT_FILE_TYPE:"Attachment file type: !!{fileType}!!",IMG_ALT_ICON:"!!{name}!! Icon",IMG_ALT_LOGO:"!!{name}!! Logo",IMG_ALT_EMOJI:"!!{name}!! Emoji",HOME:"Home",SERVER_FOLDER_PLACEHOLDER:"Server Folder",SHOW_FOLDER:"Show Folder",OPEN_NAVIGATION:"Open Navigation",HIDE_NAVIGATION:"Hide Navigation",SKIP_TO_CONTENT:"Skip to Content",WUMPUS:"Wumpus",NEW_TERMS_TITLE:"Terms of Service and Privacy Update",NEW_TERMS_DESCRIPTION:"\nTo continue using Discord, please read and agree to\nour updated Terms of Service and Privacy Policy.",NEW_TERMS_ACK:"I understand and agree with these terms.",NEW_TERMS_CONTINUE:"Continue to Discord",TERMS_OF_SERVICE:"[Terms of Service]({url})",PRIVACY_POLICY:"[Privacy Policy]({url})",SEARCH_RESULTS_SECTION_LABEL:"Search Results",SEARCH_RESULT:"Search Result",SEARCH_IN:"Search in {guildName}",SEARCH_DM_WITH:"Search DM with {userName}",SEARCH_DATE_PICKER_HINT:"You can also do",SEARCH_MOST_RELEVANT:"Most Relevant",SEARCH_NEWEST:"Newest",SEARCH_OLDEST:"Oldest",SEARCH_MOST_RELEVANT_SHORT:"Relevant",SEARCH_NEWEST_SHORT:"New",SEARCH_OLDEST_SHORT:"Old",SEARCH_FOR_VALUE:"Search For: **!!{value}!!**",VIEW_SURROUNDING_MESSAGES:"View surrounding messages.",TOTAL_RESULTS:"{count, plural, =0 {No Results} one {{count} Result} other {{count} Results}}",STILL_INDEXING:"Indexing",SEARCHING:"Searching…",SEARCH_NO_RESULTS:"We searched far and wide. Unfortunately, no results were found.",SEARCH_NO_RESULTS_ALT:"No results found. Empathy banana is here for you.",SEARCH_GUILD_STILL_INDEXING:"Before searching, we need to index this server. Give us a bit.",SEARCH_DM_STILL_INDEXING:"Before searching, we need to index this DM. Give us a bit.",SEARCH_ERROR:"We dropped the magnifying glass. Can you try searching again?",SEARCH_STILL_INDEXING_HINT:"{count, plural, =0 {No results} one {{count} result} other {{count} results}} indexed so far. We’re still indexing older messages.",SEARCH_NUM_RESULTS_BLOCKED_NOT_SHOWN:"We’ve hidden {count, plural, one {{count} result} other {{count} results}} from users you’ve blocked.",SEARCH_HIDE_BLOCKED_MESSAGES:"Hide {count, plural, one {{count} message} other {{count} messages}} from blocked users",SEARCH_PICK_DATE:"Pick a date",SEARCH_FROM_SUGGESTIONS:'Search for "{suggestion}"',SEARCH_GROUP_HEADER_FROM:"From User",SEARCH_GROUP_HEADER_MENTIONS:"Mentions User",SEARCH_GROUP_HEADER_HAS:"Message Contains",SEARCH_GROUP_HEADER_CHANNELS:"In Channel",SEARCH_GROUP_HEADER_LINK_FROM:"Link From Website",SEARCH_GROUP_HEADER_FILE_TYPE:"File type",SEARCH_GROUP_HEADER_SEARCH_OPTIONS:"Search Options",SEARCH_GROUP_HEADER_HISTORY:"History",SEARCH_GROUP_HEADER_DATES:"Dates",SEARCH_FILTER_FROM:"from",SEARCH_FILTER_HAS:"has",SEARCH_FILTER_BEFORE:"before",SEARCH_FILTER_ON:"on",SEARCH_FILTER_DURING:"during",SEARCH_FILTER_AFTER:"after",SEARCH_FILTER_IN:"in",SEARCH_FILTER_MENTIONS:"mentions",SEARCH_FILTER_LINK_FROM:"linkFrom",SEARCH_FILTER_FILE_TYPE:"fileType",SEARCH_FILTER_FILE_NAME:"fileName",SEARCH_ANSWER_FROM:"user",SEARCH_ANSWER_HAS:"link, embed or file",SEARCH_ANSWER_DATE:"specific date",SEARCH_ANSWER_IN:"channel",SEARCH_ANSWER_MENTIONS:"user",SEARCH_ANSWER_LINK_FROM:"website",SEARCH_ANSWER_FILE_TYPE:"extension",SEARCH_ANSWER_FILE_NAME:"file name",SEARCH_SHORTCUT_TODAY:"today",SEARCH_SHORTCUT_YESTERDAY:"yesterday",SEARCH_SHORTCUT_WEEK:"week",SEARCH_SHORTCUT_MONTH:"month",SEARCH_SHORTCUT_YEAR:"year",SEARCH_ANSWER_HAS_LINK:"link",SEARCH_ANSWER_HAS_ATTACHMENT:"file",SEARCH_ANSWER_HAS_EMBED:"embed",SEARCH_ANSWER_HAS_IMAGE:"image",SEARCH_ANSWER_HAS_VIDEO:"video",SEARCH_ANSWER_HAS_SOUND:"sound",SEARCH_CLEAR_HISTORY:"Clear Search History",SEARCH_CLEAR:"Clear search",SEARCH_PAGINATION_A11Y_LABEL:"Search Pagination",PAGINATION_PAGE_OF:"Page {page} of {totalPages}",PREMIUM_NOT_VERIFIED:"Verify your email first",PREMIUM_NOT_VERIFIED_BODY:"Hey friend! If you want to make purchases, you’ll need to verify your email first.",PREMIUM_NOT_CLAIMED:"Claim your account first",PREMIUM_NOT_CLAIMED_BODY:"Hey friend! If you want to make purchases, you’ll need to claim your account first so you don’t lose your stuff.",BETA:"Beta",PREMIUM_CHAT_PERKS_PROFILE_BANNER:"Upload a profile banner",PREMIUM_CHAT_PERKS_DESCRIPTION_UPLOAD_LIMIT:"Larger upload file size from {maxUploadStandard} to {maxUploadPremiumTier2} with Nitro or {maxUploadPremiumTier1} with Nitro Classic.",PREMIUM_CHAT_PERKS_DESCRIPTION_PREMIUM_GUILD_INCLUDED:"{numFreeGuildSubscriptions, plural, =1 {# Boost} other {# Boosts}} with Nitro for instant server Level 1.",PREMIUM_CHAT_PERKS_DESCRIPTION_PREMIUM_GUILD_DISCOUNT:"Enjoy {discount, number}% off additional Server Boosts. [Learn more.](onLearnMore)",PREMIUM_CHAT_PERKS_DISCRIMINATOR_MOBILE:"Choose your own custom tag",PREMIUM_CHAT_PERKS_ANIMATED_AVATAR_AND_EMOJI_MOBILE:"Upload and use animated avatars and emojis",PREMIUM_CHAT_PERKS_CUSTOM_EMOJI_MOBILE:"Share custom emojis across all servers",PREMIUM_CHAT_PERKS_REP_MOBILE:"Exclusive Nitro badge on your profile",PREMIUM_CHAT_PERKS_SCREENSHARE_MOBILE:"Screen share on PC in 720p 60fps or 1080p 30fps",PREMIUM_CHAT_PERKS_STREAMING_MOBILE:"Better Go Live streams: Stream at source with Nitro or up to a crisp 1080p 60fps with Nitro Classic",PREMIUM_CHAT_PERKS_CUSTOM_STICKERS:"Use custom stickers anywhere and access 300 Nitro-exclusive stickers",PREMIUM_CHAT_PERKS_MAX_GUILDS:"Double the number of servers you can join up from {nonPremiumMaxGuilds} to {premiumMaxGuilds}",PREMIUM_CHAT_PERKS_MAX_MESSAGE_LENGTH:"Say what's on your mind with an increased character count from {nonPremiumMaxMessageLength} to {premiumMaxMessageLength} characters",PREMIUM_FEATURES_CHAT_PERKS_HEADER:"Get super powered chat perks!",PREMIUM_SUBSCRIPTION_CREDIT:"!!{planName}!! Credit",PREMIUM_SUBSCRIPTION_CREDIT_COUNT_MONTHS:"{count, plural, =1 {# Month} other {# Months}}",PREMIUM_SUBSCRIPTION_CREDIT_APPLIED_ON:"Credit will be applied on {date, date, medium}.",PREMIUM_SUBSCRIPTION_CREDIT_APPLIED_MISMATCHED_PLAN:"This credit will apply once you sign up for a !!{planName}!! subscription.",PREMIUM_SUBSCRIPTION_CREDIT_APPLIED_MISMATCHED_PLAN_ANDROID:"This credit can be applied to a !!{planName}!! subscription purchased on desktop.",PREMIUM_SUBSCRIPTION_SUBSCRIPTIONS_LINK:"Trying to manage your Nitro subscription? Go to your [Subscriptions](onSubscriptionsClick) page.",PREMIUM_UPSELL_FEATURE_PRETEXT:"Boost at a better price with Discord Nitro! For **{monthlyPrice}/Month** you’ll get:",PREMIUM_UPSELL_FEATURE_PRETEXT_WITHOUT_PRICE:"Boost at a better price with Discord Nitro! You’ll get:",PREMIUM_UPSELL_FEATURE_PRETEXT_TRIAL:"Boost at a better price with Discord Nitro! Start your free month and gain access to:",PREMIUM_UPSELL_FEATURE_FREE_GUILD_SUBSCRIPTION:"{numFreeGuildSubscriptions, plural, =1 {# Server Boost} other {# Server Boosts}} for instant Level 1 perks",PREMIUM_UPSELL_FEATURE_GUILD_SUBSCRIPTION_DISCOUNT:"{percent} off Server Boosts",PREMIUM_UPSELL_FEATURE_STREAM:"Source-quality Go Live streaming",PREMIUM_UPSELL_FEATURE_UPLOAD:"Upload file size increase to 100MB",PREMIUM_UPSELL_FEATURE_CHAT_PERKS:"Superpower chat perks: animated emoji, custom Discord tag, and more",PREMIUM_UPSELL_FEATURE_CHAT_PERKS_MOBILE:"Extra chat perks: animated emoji, custom Discord tag, and more",PREMIUM_UPSELL_UPGRADE:"Upgrade to Nitro",PREMIUM_UPSELL_CONTINUE_TO_BOOSTS:"Continue to Boosts",PREMIUM_UPSELL_CONTINUE_TO_MONTHLY:"Continue to Monthly",PREMIUM_UPSELL_YEARLY_TITLE:"Get {discountPercentage} off {planName}",PREMIUM_UPSELL_YEARLY_DESCRIPTION:"Subscribe to a yearly subscription and get a {discountPercentage} discount.",PREMIUM_UPSELL_YEARLY_CTA:"Subscribe Yearly - !!{price}!! / Year",PREMIUM_GRANDFATHERED_YEARLY:"As a thank you for supporting Discord, you have access to Nitro for two years. Your access ends **{date, date, medium}**.",PREMIUM_GRANDFATHERED_YEARLY_UPGRADING:"As a thank you for supporting Discord, you have access to Nitro for two years. You will be upgraded to Nitro on **{date, date, medium}**.",PREMIUM_GRANDFATHERED_MONTHLY:"Thanks for being an early supporter. Your grandfathered Nitro subscription changes to Nitro Classic on **{date, date, medium}**. Upgrade now for a free month and keep your current perks",PREMIUM_GUILD_SUBSCRIPTION_TITLE:"Server Boost",PREMIUM_GUILD_SUBSCRIPTION_SUBTITLE:"Boosting a server allows it to progress towards levels. Each level gives collective perks for the entire server.\n\n  Boosting a server activates a 7-day cooldown. You may not transfer a Boost to another server until this cooldown is finished. [Learn more about Server Boosting.]({helpdeskArticle})",PREMIUM_GUILD_SUBSCRIPTION_MARKETING_GUILDS_BLURB:"You can Boost a joined server, check the current level progress, and view level perks within the server itself. Get started with any of your joined servers:",PREMIUM_GUILD_SUBSCRIPTION_MARKETING_GUILDS_BLURB_WITHOUT_PROMPT:"You can Boost a joined server, check the current level progress, and view level perks within the server itself.",PREMIUM_GUILD_SUBSCRIPTION_MARKETING_GUILDS_BLURB_PROMPT:"Get started with any of your joined servers:",PREMIUM_GUILD_SUBSCRIPTION_MARKETING_GUILDS_EMPTY_BLURB_MOBILE:"You can Boost a joined server, check the current level progress, and view level perks by tapping the server name.",PREMIUM_GUILD_SUBSCRIPTION_MARKETING_GUILDS_EMPTY_DESCRIPTION_TITLE:"Looks like you haven't joined a server yet.",PREMIUM_GUILD_SUBSCRIPTION_MARKETING_GUILDS_EMPTY_DESCRIPTION_TEXT:"Come back after you've found some cool people to Boost with.",PREMIUM_GUILD_SUBSCRIPTION_SUBTITLE_MOBILE_1:"Boosting allows a server to progress towards levels. Each level unlocks perks for the entire server.",PREMIUM_GUILD_SUBSCRIPTION_SUBTITLE_MOBILE_2:"Boosting a server activates a 7-day cooldown. You may not use this Boost on another server until this cooldown is finished. [Learn more about Server Boosting.]({helpdeskArticle})",PREMIUM_GUILD_SUBSCRIPTION_UNUSED_SLOT_DESCRIPTION:"Unused Boost",PREMIUM_GUILD_SUBSCRIPTION_INVENTORY_UNCANCEL_TITLE:"Uncancel Boost Subscription",PREMIUM_GUILD_SUBSCRIPTION_INVENTORY_UNCANCEL_TITLE_MOBILE:"Save the Boost?",PREMIUM_GUILD_SUBSCRIPTION_INVENTORY_UNCANCEL_DESCRIPTION:"Would you like to uncancel this Server Boost?",PREMIUM_GUILD_SUBSCRIPTION_INVENTORY_UNCANCEL_BUTTON:"Yes, Uncancel Now",PREMIUM_GUILD_SUBSCRIPTION_INVENTORY_UNCANCEL_BUTTON_MOBILE:"Uncancel Now",PREMIUM_GUILD_SUBSCRIPTION_INVENTORY_UNCANCEL_ERROR:"There was an error trying to uncancel this boost.",PREMIUM_GUILD_SUBSCRIPTION_INVENTORY_UNCANCEL_CONFIRM_TITLE:"Boosts Saved!",PREMIUM_GUILD_SUBSCRIPTION_INVENTORY_UNCANCEL_CONFIRM_DESCRIPTION:"This Server Boost is saved from cancellation! Keep on Boosting!",PREMIUM_GUILD_SUBSCRIPTION_PURCHASE_BUTTON_DISABLED_PENDING_MUTATION_PLAN:"You have to cancel your pending plan change before buying boosts.",PREMIUM_GUILD_SUBSCRIPTION_PURCHASE_BUTTON_DISABLED_PENDING_MUTATION_PREMIUM_GUILD_SUBSCRIPTION:"You have a pending boost cancellation. You have to uncancel it before buying boosts.",PREMIUM_GUILD_SUBSCRIPTION_PURCHASE_BUTTON_DISABLED_SUBSCRIPTION_PAST_DUE:"Your subscription is past due. You have to update your payment information before buying boosts.",PREMIUM_GUILD_SUBSCRIPTION_PURCHASE_BUTTON_DISABLED_SUBSCRIPTION_ACCOUNT_HOLD:"Your subscription is on hold. You have to update your payment information before buying boosts.",PREMIUM_GUILD_SUBSCRIPTION_ACTIVE_TITLE:"Active Server Boosts",PREMIUM_GUILD_COOLDOWN_AVAILABLE_COUNTDOWN:"Boost Cooldown: **{days, number}d {hours, number}h {minutes, number}m**",PREMIUM_GUILD_GRACE_PERIOD_TITLE:"**Your server is going to lose a level!**",PREMIUM_GUILD_GRACE_PERIOD_COOLDOWN:"This server will lose {tierName} perks in: **{days, number}d {hours, number}h**. You need **{numPremiumSubscriptions, plural, =1 {# Boost} other {# Boosts}}** to maintain it.",PREMIUM_GUILD_GRACE_PERIOD_COOLDOWN_SOON:"This server will lose {tierName} perks soon. You need **{numPremiumSubscriptions, plural, =1 {# Boost} other {# Boosts}}** to maintain it.",PREMIUM_GUILD_SUBSCRIPTION_GUILD_SUBSRIPTION_SUBTITLE:"You Boosted {numSubscriptions, plural, =1 {# time} other {# times}}",PREMIUM_GUILD_SUBSCRIPTION_NUM_SUBSCRIPTIONS:"{numSubscriptions, plural, =1 {# Boost} other {# Boosts}}",PREMIUM_GUILD_SUBSCRIPTION_AVAILABLE:"{numSubscriptions, plural, =1 {# Boost} other {# Boosts}} Available",PREMIUM_GUILD_SUBSCRIPTION_SUBSCRIBE:"Boost a server",PREMIUM_GUILD_SUBSCRIPTION_SELECT_SERVER_BUTTON:"Select a Server",PREMIUM_GUILD_SUBSCRIPTION_TRANSFER_BUTTON:"Transfer Boost",PREMIUM_GUILD_SUBSCRIPTION_TRANSFER_BUTTON_DISABLED_TOOLTIP:"This Boost is on cooldown",PREMIUM_GUILD_SUBSCRIPTION_CANCEL_BUTTON_DISABLED_TOOLTIP:"This Boost is included with your Nitro subscription",PREMIUM_GUILD_SUBSCRIPTION_CANCEL_BUTTON_DISABLED_PAST_DUE_TOOLTIP:"Your subscription is past due. Please update your payment information before managing boosts.",PREMIUM_GUILD_SUBSCRIPTION_SLOT_CANCEL_BUTTON:"Cancel Boost Subscription",PREMIUM_GUILD_SUBSCRIPTION_SLOT_UNCANCEL_BUTTON:"Uncancel Boost Subscription",PREMIUM_GUILD_SUBSCRIPTION_SLOT_UNCANCEL_BUTTON_MOBILE:"Uncancel",PREMIUM_GUILD_SUBSCRIPTION_CREATION_DATE:"{date, date, long}",PREMIUM_GUILD_SUBSCRIPTION_DURATION:"Boosting since {date, date, medium} ({months, plural, =1 {# Month} other {# Months}})",PREMIUM_GUILD_SUBSCRIPTION_PENDING_CANCELATION:"Pending Cancellation: **{date, date, medium}**",PREMIUM_GUILD_SUBSCRIPTION_SUBSCRIBER_COUNT_TOOLTIP:"{subscriberCount, plural, =1 {# Boost} other {# Boosts}}",PREMIUM_GUILD_NUM_MONTH_GUILD_SUBSCRIPTIONS:"**{num}** × {num, plural, =1 {Server Boost} other {Server Boosts}} Monthly",PREMIUM_GUILD_NUM_YEAR_GUILD_SUBSCRIPTIONS:"**{num}** × {num, plural, =1 {Server Boost} other {Server Boosts}} Yearly",PREMIUM_GUILD_NUM_MONTH_GUILD_SUBSCRIPTIONS_UNFORMATTED:"{num} × {num, plural, =1 {Server Boost} other {Server Boosts}} Monthly",PREMIUM_GUILD_NUM_YEAR_GUILD_SUBSCRIPTIONS_UNFORMATTED:"{num} × {num, plural, =1 {Server Boost} other {Server Boosts}} Yearly",MONTHLY_GUILD_SUBSCRIPTION:"Monthly Server Subscription (!!{planName}!!)",YEARLY_GUILD_SUBSCRIPTION:"Yearly Server Subscription (!!{planName}!!)",PREMIUM_GUILD_SUBSCRIPTION_CANCEL_TITLE:"Cancel Server Boost",PREMIUM_GUILD_SUBSCRIPTION_CANCEL_TITLE_INVENTORY:"Cancel Server Boost From Inventory",PREMIUM_GUILD_SUBSCRIPTION_CANCEL_TITLE_GUILD:"Cancel Server Boost From A Server",PREMIUM_GUILD_SUBSCRIPTION_CANCEL_TITLE_PENDING_CANCELLATION:"Boost Pending Cancellation",PREMIUM_GUILD_SUBSCRIPTION_CANCEL_BODY_INVENTORY:"Are you sure you want to cancel a Server Boost from your Inventory? We’ll smash this gem to pieces.\n\nIt will be removed from associated servers and cancelled from your subscription at the end of your billing period: **{endDate, date, long}**.",PREMIUM_GUILD_SUBSCRIPTION_CANCEL_BODY_GUILD:"Are you sure you want to cancel this Server Boost? We’ll smash this gem to pieces.\n\nIt will be removed from associated servers and cancelled from your subscription at the end of your billing period: **{endDate, date, long}**.",PREMIUM_GUILD_SUBSCRIPTION_CANCEL_BODY_EXTERNAL:"Sorry, we don't currently support canceling boosts purchased through !!{paymentGatewayName}!!. You can cancel your boost through [!!{paymentGatewayName}!!'s Subscription Management]({subscriptionManagementLink}).",PREMIUM_GUILD_SUBSCRIPTION_CANCEL_PREVIEW:"This Server Boost subscription will be cancelled at the end of your Nitro or Nitro Classic billing period, **{endDate, date, medium}**.\n\nThe changes to your subscription are reflected below:",PREMIUM_GUILD_SUBSCRIPTION_CANCEL_INVOICE_SUBSCRIPTION_CANCELLED:"**{subscriptionCount, number}** {subscriptionCount, plural, =1 {Server Boost} other {Server Boosts}} Cancelled",PREMIUM_GUILD_SUBSCRIPTION_CANCEL_BUTTON:"Yes, Cancel Boost",PREMIUM_GUILD_SUBSCRIPTION_CANCEL_BUTTON_MOBILE:"Cancel Boost",PREMIUM_GUILD_SUBSCRIPTION_CANCEL_ERROR_MOBILE:"There was an error trying to cancel this boost.",PREMIUM_GUILD_SUBSCRIPTION_CONFIRM_TITLE:"Boost Cancelled!",PREMIUM_GUILD_SUBSCRIPTION_CONFIRM_BODY:"Alright, we're ready to smash this Boost gem for you.\n\nThis Boost is scheduled to be cancelled on: **{endDate, date, medium}**.\n\n**You can still use this Boost until it gets demolished!**",PREMIUM_GUILD_SUBSCRIPTION_NOTICE:"Server Boosts are here! Rally your community to boost your server.",PREMIUM_GUILD_SUBSCRIPTION_NOTICE_SMALL_GUILD:"Server Boosts are here! Rally your friends to boost your server.",PREMIUM_GUILD_SUBSCRIPTION_NOTICE_BUTTON:"See Levels & Perks",PREMIUM_GUILD_SUBSCRIPTION_GUILD_AFFINITY_NOTICE:"Support your top server with a boost and get a special badge!",PREMIUM_GUILD_SUBSCRIPTION_GUILD_AFFINITY_NOTICE_SMALL_GUILD:"Unlock perks for your favorite server and get a special badge!",PREMIUM_GUILD_SUBSCRIPTION_GUILD_AFFINITY_NOTICE_BUTTON:"Boost This Server",PREMIUM_GUILD_GRACE_PERIOD_NOTICE:"Oh no! Your server is going to lose a level! Refer to your server settings for status details.",PREMIUM_GUILD_GRACE_PERIOD_NOTICE_BUTTON:"Check Status",PREMIUM_GUILD_SUBSCRIPTION_MARKETING_HEADER:"Anyone can help your favorite server level up & unlock customizations, and collective perks",PREMIUM_GUILD_SUBSCRIPTION_MARKETING_HEADER_IOS:"Support your favorite servers",PREMIUM_GUILD_SUBSCRIPTION_MARKETING_BLURB:"Give Boosts to a server and help unlock up to three levels. The more Boosts, the higher the level, the more perks unlock for everyone in that server!",PREMIUM_GUILD_SUBSCRIPTION_HEADER_SUBSCRIBE_TOOLTIP_HEADER:"Server Boosting",PREMIUM_GUILD_SUBSCRIPTION_HEADER_SUBSCRIBE_TOOLTIP_TEXT:"Level up and unlock new perks for everyone in your server!",PREMIUM_GUILD_SUBSCRIPTION_HEADER_SUBSCRIBE_TOOLTIP_CLOSE:"Got it",PREMIUM_GUILD_SUBSCRIPTION_OUT_OF_SLOTS_TITLE:"You're Out of Boosts!",PREMIUM_GUILD_SUBSCRIPTION_OUT_OF_SLOTS_PURCHASE_ON_DESKTOP:"You have no more boosts to apply. Purchase additional boosts on the desktop app.\n[Learn more.]({helpdeskArticle})",PREMIUM_GUILD_SUBSCRIPTION_OUT_OF_SLOTS_PENDING_PLAN_CHANGE:"You have no more boosts to apply. To purchase more, upgrade your plan once your pending plan change is complete.",PREMIUM_GUILD_SUBSCRIPTION_OUT_OF_SLOTS_CANCELED_SUBSCRIPTION:"You have no more boosts to apply. To purchase more, please re-subscribe and upgrade your plan.",PREMIUM_GUILD_SUBSCRIPTION_OUT_OF_SLOTS_ACCOUNT_HOLD_TITLE:"Your subscription is on hold",PREMIUM_GUILD_SUBSCRIPTION_OUT_OF_SLOTS_ACCOUNT_HOLD:"In order to use your existing Boosts or purchase more please resolve your subscription hold by updating your payment info.",PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_1:"You have chat perks and a Boost discount for **!!{price}!!**",PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_1_NO_PRICE:"You have chat perks and a Boost discount",PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_1_PENDING_CANCELATION:"You have chat perks and a Boost discount for **!!{price}!!** (Pending Cancellation)",PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_1_PENDING_CANCELATION_NO_PRICE:"You have chat perks and a Boost discount (Pending Cancellation)",PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_1_ACCOUNT_HOLD:"Your chat perks and a Boost discount for **!!{price}!!** subscription is **on hold**",PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_1_ACCOUNT_HOLD_NO_PRICE:"Your chat perks and a Boost discount subscription is **on hold**",PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_2:"You have premium chat, **{num, number}x** Boosts, and a Boost discount for **!!{price}!!**",PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_2_NO_PRICE:"You have premium chat, **{num, number}x** Boosts, and a Boost discount",PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_2_PENDING_CANCELATION:"You have premium chat, **{num, number}x** Boosts, and a Boost discount for **!!{price}!!** (Pending Cancellation)",PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_2_PENDING_CANCELATION_NO_PRICE:"You have premium chat, **{num, number}x** Boosts, and a Boost discount (Pending Cancellation)",PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_2_ACCOUNT_HOLD:"Your premium chat, **{num, number}x** Boosts, and a Boost discount subscription for **!!{price}!!** is **on hold**",PREMIUM_SUBSCRIPTION_DESCRIPTION_TIER_2_ACCOUNT_HOLD_NO_PRICE:"Your premium chat, **{num, number}x** Boosts, and a Boost discount subscription is **on hold**",PREMIUM_WITH_PREMIUM_GUILD_EXTERNAL_PLAN_DESCRIPTION:"{premiumDescription} with {premiumGuildDescription}",PREMIUM_GUILD_USER_FEATURES_HEADER:"Boost a server and get:",PREMIUM_GUILD_USER_FEATURE_MEMBER_BADGE:"A member list icon next to your name",PREMIUM_GUILD_USER_FEATURE_PROFILE_BADGE:"A shiny profile badge that changes over time",PREMIUM_GUILD_USER_FEATURE_ROLE:"An exclusive new role in that server",PREMIUM_GUILD_GUILD_FEATURES_HEADER:"Boosted servers can get:",PREMIUM_GUILD_GUILD_FEATURE_EMOJI:"Room for more custom emoji",PREMIUM_GUILD_GUILD_FEATURE_AUDIO_QUALITY:"Better quality for voice channels and Go Live",PREMIUM_GUILD_GUILD_FEATURE_UPLOAD_SIZE:"Bigger upload size for all server members",PREMIUM_GUILD_GUILD_FEATURE_STICKERS:"Unlock slots for custom stickers",PREMIUM_GUILD_FULL_FEATURE_LIST:"Check out the full list of server perks in our [Server Boosting FAQ.]({helpdeskArticle})",PREMIUM_TIER_2_TITLE:"Get an enhanced Discord experience for one low monthly cost.",PREMIUM_TIER_2_SUBTITLE:"Customize your profile with a unique tag, access animated emojis, enjoy bigger file uploads, boost your favorite server, and more.",PREMIUM_TIER_2_TRIAL_CTA_TITLE:"Ready for your free month?*",PREMIUM_TIER_2_TRIAL_CTA_SUBTITLE:"Claim by signing up for Nitro and start your emoji collection today.",PREMIUM_TIER_2_TRIAL_CTA_NOTE:"*Please note that gifts and Nitro Classic are not included in this offer.",PREMIUM_TRIAL_CTA_BUTTON:"Claim Your Free Month",PREMIUM_TRIAL_CTA_DESCRIPTION:"Thanks for choosing to spend your time with Discord! Get your first month free when signing up for Nitro.",PREMIUM_TRIAL_CTA_DESCRIPTION_EXPIRING_DAYS:"Thanks for choosing to spend your time with Discord! Get your first month free when signing up for Nitro. Offer available for {days, plural, =1 {# day} other {# days}}.",PREMIUM_TRIAL_CTA_DESCRIPTION_EXPIRING_HOURS:"Thanks for choosing to spend your time with Discord! Get your first month free when signing up for Nitro. Offer available for {hours, plural, =1 {# hour} other {# hours}}.",PREMIUM_TRIAL_CTA_DESCRIPTION_EXPIRING_MINUTES:"Thanks for choosing to spend your time with Discord! Get your first month free when signing up for Nitro. Offer available for {minutes, plural, =1 {# minute} other {# minutes}}.",MARKETING_REFRESH_PREMIUM_TIER_2_TITLE:"Get an enhanced Discord experience",MARKETING_REFRESH_PREMIUM_TIER_2_SUBTITLE:"Upgrade your emoji, personalize your profile, and stand out in your servers.",MARKETING_REFRESH_PREMIUM_TIER_2_SUBTITLE_WITH_PRICE:"Upgrade your emoji, personalize your profile, and stand out in your servers. Choose between **!!{monthlyPrice}!! per month** or **!!{yearlyPrice}!! per year**.",MARKETING_REFRESH_PREMIUM_FEATURES_EMOJI_HEADING:"More Emoji Power",MARKETING_REFRESH_PREMIUM_FEATURES_EMOJI_SUBHEADING:"Use custom and animated emojis anywhere.",MARKETING_REFRESH_PREMIUM_FEATURES_PROFILE_HEADING:"Customized Profile",MARKETING_REFRESH_PREMIUM_FEATURES_PROFILE_SUBHEADING:"Rep an animated avatar and claim a custom tag.",MARKETING_REFRESH_PREMIUM_FEATURES_INCLUDED_GUILD_SUBSCRIPTIONS_HEADING:"Support a Server",MARKETING_REFRESH_PREMIUM_FEATURES_INCLUDED_GUILD_SUBSCRIPTIONS_SUBHEADING:"Get {numFreeGuildSubscriptions, plural, =1 {# Server Boost} other {# Server Boosts}} and !!{percentageOff}!! off extra Boosts. $[Learn more](learnMoreHook).",MARKETING_REFRESH_PREMIUM_FEATURES_BADGE_HEADING:"Rep Your Support",MARKETING_REFRESH_PREMIUM_FEATURES_BADGE_SUBHEADING:"Profile badge shows how long you've supported Discord.",MARKETING_REFRESH_PREMIUM_FEATURES_FILE_UPLOAD_HEADING:"Bigger Uploads",MARKETING_REFRESH_PREMIUM_FEATURES_FILE_UPLOAD_SUBHEADING:"100MB upload size for high-quality file sharing.",MARKETING_REFRESH_PREMIUM_FEATURES_GO_LIVE_HEADING:"HD Video",MARKETING_REFRESH_PREMIUM_FEATURES_GO_LIVE_SUBHEADING:"Hi-res video, Screen Share, and Go Live streaming. $[Info](infoHook)",MARKETING_REFRESH_PREMIUM_FEATURES_GO_LIVE_INFO:"Up to 4K source resolution and up to 60fps screen share.",MARKETING_REFRESH_PREMIUM_TIER_2_CTA_TITLE:"Ready to upgrade to Nitro?",MARKETING_REFRESH_PREMIUM_TIER_2_CTA_SUBTITLE:"Pick the plan that works best for you and start your emoji collection.",MARKETING_REFRESH_PREMIUM_TIER_1_CTA_DESCRIPTION:"Want to keep it simple? Enjoy a light plan with fewer perks $[info](infoHook), continue to support Discord, and get !!{discountPercentage}!! off Server Boosts.",MARKETING_REFRESH_PREMIUM_TIER_1_CTA_DESCRIPTION_WITH_PRICE:"Want to keep it simple? Enjoy a light plan with fewer perks $[info](infoHook), continue to support Discord, and get !!{discountPercentage}!! off Server Boosts. Choose between **!!{monthlyPrice}!! per month** or **!!{yearlyPrice}!! per year**.",MARKETING_REFRESH_PREMIUM_TIER_1_CTA_DESCRIPTION_WITH_PRICE_NO_INFO_HOOK:"Want to keep it simple? Enjoy a light plan with fewer perks, continue to support Discord, and get !!{discountPercentage}!! off Server Boosts. Choose between **!!{monthlyPrice}!! per month** or **!!{yearlyPrice}!! per year**.",MARKETING_REFRESH_PREMIUM_TIER_1_CTA_DESCRIPTION_PERKS_INFO_NO_PREMIUM_GUILD_SUBSCRIPTIONS:"**Does not** include {numFreeGuildSubscriptions, plural, =1 {# Server Boost} other {# Server Boosts}}.",MARKETING_REFRESH_PREMIUM_TIER_1_CTA_DESCRIPTION_PERKS_INFO_UPLOAD:"Has 50MB upload instead of 100MB.",MARKETING_REFRESH_PREMIUM_TIER_1_CTA_DESCRIPTION_PERKS_INFO_FPS:"Up to 1080p resolution and up to 60fps.",MARKETING_REFRESH_PREMIUM_TIER_1_CTA_DESCRIPTION_PERKS_INFO_LABEL:"Does not include {numFreeGuildSubscriptions, plural, =1 {# Server Boost} other {# Server Boosts}}. Has 50MB upload instead of 100MB and, up to 1080p resolution and up to 60fps.",MARKETING_REFERESH_PREMIUM_TIER_1_CTA_DESCRIPTION_PERKS_INFO_LONGER_MESSAGES:"Does not include longer messages",MARKETING_REFERESH_PREMIUM_TIER_1_CTA_DESCRIPTION_PERKS_INFO_MAX_GUILDS:"Does not include more servers",PREMIUM_MARKETING_HERO_HEADER:"Make Discord yours",PREMIUM_MARKETING_HERO_BODY:"Upgrade your emoji, personalize your profile, and stand out in your servers.",PREMIUM_MARKETING_FEATURE_HEADER:"Also Includes:",PREMIUM_MARKETING_FEATURE_EMOJI_TITLE:"More Emoji Power",PREMIUM_MARKETING_FEATURE_EMOJI_DESCRIPTION:"Use your favorite emoji anywhere and make them animated.",PREMIUM_MARKETING_FEATURE_PROFILE_TITLE:"Personalized Profile",PREMIUM_MARKETING_FEATURE_PROFILE_DESCRIPTION:"Personalize your profile with an animated avatar and custom tag.",PREMIUM_MARKETING_FEATURE_PREMIUM_GUILD_TITLE:"Support Your Server",PREMIUM_MARKETING_FEATURE_PREMIUM_GUILD_DESCRIPTION:"Get {numFreeGuildSubscriptions, plural, =1 {# Server Boost} other {# Server Boosts}} and !!{percentageOff}!! off extra Boosts. $[Learn more](learnMoreHook).",PREMIUM_MARKETING_FEATURE_PREMIUM_BADGE_TITLE:"Rep Your Status",PREMIUM_MARKETING_FEATURE_PREMIUM_BADGE_DESCRIPTION:"Custom profile badge to show off your Nitro status.",PREMIUM_MARKETING_FEATURE_PREMIUM_UPLOAD_SIZE_TITLE:"Bigger Uploads",PREMIUM_MARKETING_FEATURE_PREMIUM_UPLOAD_SIZE_DESCRIPTION:"Upload what you want with increased 100MB upload size.",PREMIUM_MARKETING_FEATURE_PREMIUM_GO_LIVE_TITLE:"HD Video",PREMIUM_MARKETING_FEATURE_PREMIUM_GO_LIVE_DESCRIPTION:"Better video resolutions for all your streams. $[Info](infoHook)",PREMIUM_MARKETING_FEATURE_STICKERS_TITLE:"Special Stickers Access",PREMIUM_MARKETING_FEATURE_STICKERS_DESCRIPTION:"Use custom stickers anywhere and access 300 Nitro-exclusive stickers. $[Info](infoHook)",PREMIUM_MARKETING_FEATURE_STICKERS_INFO:"Boosted servers can upload custom stickers through Server Settings > Stickers. Nitro users can use custom stickers anywhere.",PREMIUM_CHAT_PERKS_SIMPLE_TITLE:"Want to keep it simple? Support Discord and get sweet chat perks:",PREMIUM_SWITCH_PLAN_DISABLED_PENDING_MUTATION_PLAN:"You have to cancel your pending plan change before choosing another plan.",PREMIUM_SWITCH_PLAN_DISABLED_PENDING_MUTATION_PREMIUM_GUILD_SUBSCRIPTION:"You have a pending boost cancellation. You have to uncancel it before switching plans.",PREMIUM_UPGRADE_DISABLED_IN_TRIAL:"You cannot upgrade during your trial.",PREMIUM_SWITCH_PLAN_DISABLED_IN_TRIAL:"You cannot switch plans during your trial.",PREMIUM_FEATURES_CHAT_PERKS:"Chat Perks",PREMIUM_GUILD_FEATURES_UPLOAD_SIZES_MOBILE:"Increased community-wide upload sizes",PREMIUM_CHAT_PERKS_PREMIUM_GUILD_SUBSCRIPTION:"Boost your favorite server!",PREMIUM_GUILD_FEATURES_CUSTOM_EMOJI_MOBILE:"Room for more custom emoji",PREMIUM_GUILD_FEATURES_VOICE_QUALITY:"Better quality for voice channels and Go Live",PREMIUM_GUILD_FEATURES_UPSELL_BANNER_SUBSCRIBE:"Subscribe to Nitro to get {numFreeGuildSubscriptions, plural, =1 {# Boost} other {# Boosts}} and a Boost discount! [Learn more about Server Boosting.]({helpdeskArticle})",PREMIUM_GUILD_SUBSCRIBER_FEATURE_MEMBER_BADGE:"Show off with a new Member List icon",PREMIUM_GUILD_SUBSCRIBER_FEATURE_PROFILE_BADGE:"New profile badge that evolves over time",PREMIUM_GUILD_SUBSCRIBER_FEATURE_ROLE:"Get an exclusive Booster role",PREMIUM_GUILD_SUBSCRIBE_SELECT_GUILD_HEADER:"Select a Server",PREMIUM_GUILD_SUBSCRIBE_SELECT_GUILD_TRANSFER_HEADER:"Select a server to transfer to",PREMIUM_GUILD_SUBSCRIBE_SEARCH_GUILD_PLACEHOLDER:"Search servers",PREMIUM_GUILD_SUBSCRIBE_CONFIRM_TRANSFER_FROM_GUILD:"Current {guildCount, plural, =1 {server} other {servers}}",PREMIUM_GUILD_SUBSCRIBE_CONFIRM_TRANSFER_TO_GUILD:"Move {slotCount, plural, =1 {boost} other {boosts}} to",PREMIUM_GUILD_SUBSCRIBE_CONFIRM_BLURB:"Ready to Boost this server?",PREMIUM_GUILD_SUBSCRIBE_CONFIRM_TRANSFER_HEADER:"Transfer Server Boost?",PREMIUM_GUILD_SUBSCRIBE_CONFIRM_TRANSFER_BLURB:"Are you sure you want to transfer {slotCount, plural, =1 {this Server Boost} other {these Server Boosts}}? {guildCount, plural, =1 {The current server} other {The current servers}} will lose progress if you continue.",PREMIUM_GUILD_SUBSCRIBE_CONFIRM_COOLDOWN_WARNING:"Boosting this server will prevent transferring {slotCount, plural, =1 {this Boost} other {these Boosts}} to another server for {days, plural, =1 {# day} other {# days}}.",PREMIUM_GUILD_SUBSCRIBE_CONFIRM_CANCEL_WARNING:"{canceledCount, plural, =1 {This Boost is} other {# Boosts are}} pending cancellation and will automatically be removed from this server on {date, date, long}.",PREMIUM_GUILD_SUBSCRIBE_CONFIRM_CONFIRMATION:"{slotCount, plural, =1 {Boost} other {Boost # times}}",PREMIUM_GUILD_SUBSCRIBE_CONFIRM_CONFIRMATION_LABEL:"Select this server. It will take a moment for your {slotCount, plural, =1 {Boost} other {Boosts}} to take effect.",PREMIUM_GUILD_SUBSCRIBE_TRANSFER_CONFIRM_CONFIRMATION:"Yes, Transfer {slotCount, plural, =1 {Boost} other {Boosts}}",PREMIUM_GUILD_SUBSCRIBE_TRANSFER_ERROR_HEADER:"Transfer Error",PREMIUM_GUILD_SUBSCRIBE_TRANSFER_ERROR_BODY:"There was an error with the Boost transfer. Please try again.",PREMIUM_GUILD_SUBSCRIBE_TRANSFER_CONFIRM_CONFIRMATION_LABEL:"Transfer {slotCount, plural, =1 {Boost} other {Boosts}} to this server. It will take a moment for your {slotCount, plural, =1 {boost} other {boosts}} to take effect.",PREMIUM_GUILD_SUBSCRIBE_SUCCESS_THANKS:"Thanks for the Boost!",PREMIUM_GUILD_SUBSCRIBE_SUCCESS_OKAY:"Okay!",PREMIUM_GUILD_SUBSCRIBE_UNUSED_SLOTS_HEADER:"Unused Boosts",PREMIUM_GUILD_SUBSCRIBE_UNUSED_SLOTS_DESCRIPTION:"You have some unused Boosts. How many do you want to use for this server?",PREMIUM_GUILD_SUBSCRIBE_UNUSED_SLOTS_COUNTER:"Server Boost(s)",PREMIUM_GUILD_SUBSCRIBE_UNUSED_SLOTS_CANCEL:"Cancel",PREMIUM_GUILD_SUBSCRIBE_UNUSED_SLOTS_NEXT:"Next",PREMIUM_GUILD_SUBSCRIPTION_ERROR_RATE_LIMIT_DAYS:"Looks like you're on cooldown. Please wait **{days, plural, =1 {# day} other {# days}} and {hours, plural, =1 {# hour} other {# hours}}** before trying again",PREMIUM_GUILD_SUBSCRIPTION_ERROR_RATE_LIMIT_HOURS:"Looks like you're on cooldown. Please wait **{hours, plural, =1 {# hour} other {# hours}} and {minutes, plural, =1 {# minute} other {# minutes}}** before trying again",PREMIUM_GUILD_SUBSCRIPTION_ERROR_RATE_LIMIT_MINUTES:"Looks like you're on cooldown. Please wait **{minutes, plural, =1 {# minute} other {# minutes}}** before trying again",PREMIUM_GUILD_SUBSCRIPTION_ERROR_MOBILE:"There was an error trying to boost. Please try again.",PREMIUM_GUILD_SUBSCRIPTION_ERROR_PENDING_MUTATION:"You must cancel your pending plan change before purchasing boosts.",PREMIUM_GUILD_UNSUBSCRIBE_CONFIRM_HEADER:"Remove Server Boost?",PREMIUM_GUILD_UNSUBSCRIBE_CONFIRM_BLURB:"Are you sure you want to remove your Boost from:",PREMIUM_GUILD_UNSUBSCRIBE_CONFIRM_COOLDOWN_WARNING:"This server will lose progress if you remove your boost.",PREMIUM_GUILD_UNSUBSCRIBE_CONFIRM_COOLDOWN_WARNING_DAYS:"This server will lose progress if you remove your boost. **Your Boost is still on cooldown. It will be available in {days, plural, =1 {# day} other {# days}} and {hours, plural, =1 {# hour} other {# hours}}.**",PREMIUM_GUILD_UNSUBSCRIBE_CONFIRM_COOLDOWN_WARNING_HOURS:"This server will lose progress if you remove your boost. **Your Boost is still on cooldown. It will be available in {hours, plural, =1 {# hour} other {# hours}} and {minutes, plural, =1 {# minute} other {# minutes}}.**",PREMIUM_GUILD_UNSUBSCRIBE_CONFIRM_COOLDOWN_WARNING_MINUTES:"This server will lose progress if you remove your boost. **Your Boost is still on cooldown. It will be available in {minutes, plural, =1 {# minute} other {# minutes}}.**",PREMIUM_GUILD_UNSUBSCRIBE_CONFIRM_CONFIRMATION:"Yes, Remove Boost",PREMIUM_GUILD_HEADER_BADGE_NO_TIER:"No Level",PREMIUM_GUILD_HEADER_DROPDOWN_NITRO_SERVER_SUBSCRIBE:"Server Boost",PREMIUM_GUILD_PERKS_MODAL_HEADER:"Server Boost Status",PREMIUM_GUILD_PERKS_MODAL_HEADER_SUBSCRIPTION_COUNT:"{subscriptions, plural, =0 {No Boosts} =1 {# Boost} other {# Boosts}}",PREMIUM_GUILD_PERKS_MODAL_HEADER_USER_SUBSCRIPTION_COUNT:"(You've Boosted this server {numSubscriptions, plural, =1 {# time} other {# times!}})",PREMIUM_GUILD_PERKS_MODAL_GIFT_NITRO:"Gift Nitro",PREMIUM_GUILD_PERKS_MODAL_BLURB:"Support your favorite server with a Boost. Every Boost helps unlock new levels and more perks for everyone in the server. [Learn more about Server Boosting]({helpdeskArticle}). Manage your Boosts in [User Settings](openPremiumGuildSettings).",PREMIUM_GUILD_PERKS_MODAL_BLURB_MOBILE:"Support your favorite server with a Boost. Every Boost helps unlock new levels and more perks for everyone in the server.",PREMIUM_GUILD_PERKS_MODAL_BLURB_MOBILE_LEARN_MORE:"[Learn more about Server Boosting.]({helpdeskArticle})",PREMIUM_GUILD_PERKS_MODAL_BOOST_ALERT_IOS_TITLE:"Sorry :(",PREMIUM_GUILD_PERKS_MODAL_BOOST_ALERT_IOS_BODY:"We don't currently support Boost purchases on iOS.",PREMIUM_GUILD_PERKS_MODAL_PROTIP:"$[Protip:](protipHook) Discord Nitro includes {numFreeGuildSubscriptions, plural, =1 {# Boost} other {# Boosts}}! [Learn more.](onLearnMore)",PREMIUM_GUILD_PERKS_MODAL_PROTIP_MOBILE:"**PROTIP:** Discord Nitro includes {numFreeGuildSubscriptions, plural, =1 {# Boost} other {# Boosts}}! [Learn more.]({onLearnMore})",PREMIUM_GUILD_PERKS_MODAL_LEVEL_SUBSCRIBER_COUNT_TOOLTIP:"**{subscriberCount, number}/{numRequired, number}** Boosts",PREMIUM_GUILD_PERKS_MODAL_SUBSCRIBE_TO_TIER_TOOLTIP:"Boost to **!!{tierName}!!**",PREMIUM_GUILD_PERKS_MODAL_BASE_PERKS:"Boosted server perks include —",PREMIUM_GUILD_PERKS_MODAL_PREVIOUS_PERKS:"Boosted servers get everything previous, and —",PREMIUM_GUILD_PERKS_MODAL_MANAGE_YOUR_SUBSCRIPTIONS:"Manage Boosts",PREMIUM_GUILD_PERKS_MODAL_BUTTON_UPGRADE_TO_PREMIUM_EXTERNAL_ERROR:"We don't currently support upgrades to Nitro for subscriptions through !!{paymentGatewayName}!!. You can cancel your subscription through [!!{paymentGatewayName}!!'s Subscription Management]({subscriptionManagementLink}), but the subscription will remain active until its expiration date.",PREMIUM_GUILD_PERKS_MODAL_BUTTON_UPGRADE_TO_PREMIUM_IOS_ERROR:"We don't currently support upgrades to Nitro for subscriptions through Apple. You can cancel your subscription through [Apple's Subscription Management]({appleBillingLink}), but the subscription will remain active until its expiration date.",PREMIUM_GUILD_PERKS_MODAL_BUTTON_SUBSCRIBE_THIS_SERVER:"Boost This Server",PREMIUM_GUILD_PERKS_MODAL_BUTTON_GIFT_PREMIUM:"Gift Nitro to a friend",PREMIUM_GUILD_PERKS_MODAL_SUBSCRIBER_PERKS_HEADER:"Get cool rewards for becoming a Booster! ",GUILD_SUBSCRIPTION_PURCHASE_MODAL_STEP_SELECT_DESCRIPTION:"Help a server unlock great perks with Server Boosts. Purchase at any time — we'll do the math and prorate it.",GUILD_SUBSCRIPTION_PURCHASE_MODAL_COUNTER:"Server Boost(s)",GUILD_SUBSCRIPTION_PURCHASE_MODAL_SUBTOTAL:"Subtotal",GUILD_SUBSCRIPTION_PURCHASE_MODAL_UNUSED_SLOT_NOTICE:"Looks like you have {slotCount, plural, =1 {# unused Boost} other {# unused Boosts}}. We'll add 'em to this server for you.",GUILD_SUBSCRIPTION_PURCHASE_MODAL_FOOTER_UPSELL:"You could be paying **{discountPercentage}% less** for each Boost, and get an additional {freeSubscriptionCount} Boosts with [Discord Nitro](onPremiumSubscriptionClick)!",GUILD_SUBSCRIPTION_PURCHASE_MODAL_FOOTER_UPSELL_TRIAL:"Claim your free month to get {freeSubscriptionCount} Boosts, and save **{discountPercentage}%** on additional Boosts with [Discord Nitro](onPremiumSubscriptionClick)!",GUILD_SUBSCRIPTION_PURCHASE_MODAL_FOOTER_DISCOUNT:"You get a discount as part of your **{planName}** subscription!",GUILD_SUBSCRIPTION_PURCHASE_MODAL_PURCHASE_DETAILS_HEADER:"Purchase Details",GUILD_SUBSCRIPTION_PURCHASE_MODAL_INVOICE_ROW_CONTENT:"!!{numGuildSubscriptions}!! × {planName}",GUILD_SUBSCRIPTION_PURCHASE_MODAL_PAYMENT_SOURCE_TOOLTIP:"We'll use the payment method you selected for your subscription",GUILD_SUBSCRIPTION_PURCHASE_MODAL_SUBMIT:"Purchase",GUILD_SUBSCRIPTION_PURCHASE_MODAL_ACTIVATED_DESCRIPTION:"Boost success!\n\nYou just Boosted {guildName} **{guildSubscriptionQuantity, plural, =1 {# time} other {# times}}**.",GUILD_SUBSCRIPTION_PURCHASE_MODAL_ACTIVATED_DESCRIPTION_GENERIC_GUILD:"Boost success!\n\nYou just Boosted the server **{guildSubscriptionQuantity, plural, =1 {# time} other {# times}}**.",GUILD_SUBSCRIPTION_PURCHASE_MODAL_ACTIVATED_DESCRIPTION_MOBILE1:"Boost success!",GUILD_SUBSCRIPTION_PURCHASE_MODAL_ACTIVATED_DESCRIPTION_MOBILE2:"You just Boosted {guildName} **{guildSubscriptionQuantity, plural, =1 {# time} other {# times}}**.",GUILD_SUBSCRIPTION_PURCHASE_MODAL_ACTIVATED_DESCRIPTION_NO_APPLICATION:"You now have **{guildSubscriptionQuantity, plural, =1 {# Server Boost} other {# Server Boosts}}** available for use.",GUILD_SUBSCRIPTION_PURCHASE_MODAL_ACTIVATED_CLOSE_BUTTON:"Nice!",GUILD_SUBSCRIPTION_PURCHASE_MODAL_TRANSFERRED_DESCRIPTION:"Boost transfer success!\n\nYou just Boosted {guildName}.",GUILD_SUBSCRIPTION_PURCHASE_MODAL_TRANSFERRED_DESCRIPTION_GENERIC_GUILD:"Boost transfer success!\n\nYou just Boosted the server.",GUILD_SUBSCRIPTION_PURCHASE_MODAL_TRANSFERRED_DESCRIPTION_MOBILE1:"Boost transfer success!",GUILD_SUBSCRIPTION_PURCHASE_MODAL_TRANSFERRED_DESCRIPTION_MOBILE2:"You just Boosted {guildName} **{guildSubscriptionQuantity, plural, =1 {# time} other {# times}}**.",GUILD_SUBSCRIPTION_PURCHASE_MODAL_EXTERNAL:"Sorry, we don't currently support buying Boosts with a subscription through !!{paymentGatewayName}!!.",GUILD_SUBSCRIPTION_PURCHASE_MODAL_APPLE:"Sorry, we don't currently support buying Boosts with a [subscription through Apple]({appleSubscriptionLink}).",PREMIUM_PROMO_TITLE:"Want upgraded emoji powers?",PREMIUM_PROMO_TITLE_SEARCH_UPSELL:"You can't use this emoji right now.",PREMIUM_PROMO_DESCRIPTION:"Lift off with Discord Nitro to use animated and custom emoji anywhere.",PREMIUM_PROMO_DESCRIPTION_SEARCH_UPSELL:"Lift off with **Discord Nitro** to use animated and custom emojis anywhere. [Learn more](onClick)",PREMIUM_PROMO_DESCRIPTION_TRIAL:"Claim your free month of Discord Nitro to use animated and custom emojis anywhere.",PREMIUM_TITLE:"Discord Nitro",PREMIUM_CHOOSE_PLAN_TITLE:"Choose a Plan",SUBSCRIPTIONS_TITLE:"Subscriptions",PREMIUM_GIFTING_BUTTON:"Gift",PREMIUM_GIFTING_TITLE:"Nitro Gifting",PREMIUM_GIFTING_TITLE_MOBILE:"Select a Nitro Gift",PREMIUM_GIFTING_PURCHASE_GIFT:"Purchase a Nitro Gift",PREMIUM_INCLUDED:"Included in Nitro:",PREMIUM_WITH_PRICE:"!!{price}!! with Nitro",PREMIUM_PLAN_MONTH:"Nitro Monthly",PREMIUM_PLAN_YEAR:"Nitro Yearly",PREMIUM_PLAN_MONTH_TIER_1:"Nitro Classic Monthly",PREMIUM_PLAN_YEAR_TIER_1:"Nitro Classic Yearly",PREMIUM_PLAN_MONTH_TIER_2:"Nitro Monthly",PREMIUM_PLAN_MONTH_TIER_2_TRIAL:"Nitro Monthly **(+{months} {months, plural, =1 {month} other {months}} free)**",PREMIUM_PLAN_YEAR_TIER_2:"Nitro Yearly",PREMIUM_PLAN_YEAR_TIER_2_TRIAL:"Nitro Yearly **(+{months} {months, plural, =1 {month} other {months}} free)**",PREMIUM_LEGACY:"Nitro (Grandfathered)",PREMIUM_TIER_1:"Nitro Classic",PREMIUM_TIER_2:"Nitro",PREMIUM_GUILD_PLAN_MONTH:"Server Boost Monthly",PREMIUM_GUILD_PLAN_YEAR:"Server Boost Yearly",MONTHLY:"Monthly",YEARLY:"Yearly",PREMIUM_ACTIVATED:"Nitro Activated",PREMIUM_SUBSCRIPTION_POLICY_HINT_IOS:"See subscription and auto-renewal details below",PREMIUM_SUBSCRIPTION_POLICY_IOS:"By purchasing a Nitro subscription, you agree to our [Terms of Service]({termsURL}) and [Privacy Policy]({privacyURL}). Payment will be charged to your Apple ID account at the confirmation of purchase. Subscription automatically renews unless it is canceled at least 24 hours before the end of the current period. Your account will be charged for renewal within 24 hours prior to the end of the current period. You can manage and cancel your subscriptions by going to your account settings on the App Store after purchase.",PREMIUM_SUBSCRIPTION_BILLING_INFO_MOBILE:"These are your current subscriptions. They will be billed on the same billing cycle.",PREMIUM_CANCEL_CONFIRM_TITLE:"Cancel !!{planPremiumType}!!?",PREMIUM_CANCEL_CONFIRM_BODY_TIER_1:"Cancellation will take effect at the end of your current billing period on **{date, date, medium}**. Your Discord Tag will be randomized if you've changed it.\n\nYou can restart your subscription anytime.",PREMIUM_CANCEL_CONFIRM_BODY_TIER_1_MOBILE_PART_1:"Cancellation will take effect at the end of your current billing period on **{date, date, medium}**. Your Discord Tag will be randomized if you've changed it.",PREMIUM_CANCEL_CONFIRM_BODY_TIER_1_MOBILE_PART_2:"You can restart your subscription anytime.",PREMIUM_CANCEL_CONFIRM_BODY_TIER_2:"Cancellation will take effect at the end of your current billing period. On **{date, date, medium}**, you will lose access to Nitro, your Discord Tag will be randomized if you've changed it, and your included Server Boosts will be removed.\n\n  You can restart your subscription anytime.",PREMIUM_CANCEL_CONFIRM_BODY_TIER_2_MOBILE_PART_1:"Cancellation will take effect at the end of your current billing period. On **{date, date, medium}**, you will lose access to Nitro, your Discord Tag will be randomized if you've changed it, and your Server Boost will be removed.\n",PREMIUM_CANCEL_CONFIRM_BODY_TIER_2_MOBILE_PART_2:"You can restart your subscription anytime.",PREMIUM_CANCEL_PAST_DUE_CONFIRM_BODY:"Cancellation will take effect immediately for any Nitro and Server Boost subscriptions. Your Discord Tag will be randomized if you've changed it.",PREMIUM_CANCEL_CONFIRM_NEW:"Yup, Cancel !!{planPremiumType}!!",PREMIUM_CANCEL_FAILED_BODY:"We were unable to cancel your Nitro subscription. Please try again or reach out to our support team if this problem continues.",PREMIUM_CANCEL_CONFIRM_MOBILE:"Cancel Nitro",PREMIUM_CANCEL_CANCEL_MOBILE:"Keep Nitro",PREMIUM_UPGRADE_DONE_BODY_TIER_1:"You now have enhanced chat perks!",PREMIUM_UPGRADE_DONE_BUTTON:"Sweet!",PREMIUM_DOWNGRADE_DONE_BUTTON:"Got It",PREMIUM_UPGRADE_DONE_BODY_TIER_2_GUILD_SUBSCRIBE:"You now have enhanced chat perks and the ability to boost servers.",PREMIUM_GRANDFATHERED_WARNING_TITLE:"Careful There Friend",PREMIUM_GRANDFATHERED_WARNING:"As a thank you for supporting us, you have a discounted Nitro plan. **By canceling or changing your plan, you will lose this discount.** You've been warned!!!!!",PREMIUM_GRANDFATHERED_WARNING_CONFIRM:"Do It Anyway",PREMIUM_GRANDFATHERED_WARNING_MOBILE:"If you cancel now, you will lose access to your grandfathered plan.",PREMIUM_UPLOAD_PROMO:"Upgrade to Discord Nitro for {maxUploadPremium} file limit",PREMIUM_UPLOAD_PROMO_TRIAL:"Get 1 month free of Discord Nitro and increase your limit to {maxUploadPremium}",PREMIUM_SWITCH_REVIEW_HEADER_PREMIUM_MONTH_TIER_1:"Switch to Nitro Classic Monthly",PREMIUM_SWITCH_REVIEW_HEADER_PREMIUM_YEAR_TIER_1:"Switch to Nitro Classic Yearly",PREMIUM_SWITCH_REVIEW_HEADER_PREMIUM_MONTH_TIER_2:"Switch to Nitro Monthly",PREMIUM_SWITCH_REVIEW_HEADER_PREMIUM_YEAR_TIER_2:"Switch to Nitro Yearly",PREMIUM_ALERT_ERROR_TITLE:"Oops, something went wrong...",PREMIUM_PENDING_PLAN_CHANGE_NOTICE:"Your plan change is pending. **{planName}** will start on **{date, date, medium}**.",PREMIUM_PENDING_PLAN_CHANGE_NOTICE_GRANDFATHERED_UPGRADE:"Your plan change is pending. **Nitro** will start on **{date, date, medium}**.",PREMIUM_PENDING_PLAN_CHANGE_CANCEL_HEADER:"Cancel Subscription Plan Change",PREMIUM_PENDING_PLAN_CHANGE_CANCEL_BODY:"You have chosen to cancel the change from **{existingPlan}** to **{downgradedPlan}**. If you cancel this plan change, your **{existingPlan}** at **{existingRate}** will continue.",PREMIUM_PENDING_PLAN_CHANGE_CANCEL_BODY_NO_EXISTING_PLAN:"You have chosen to cancel the change to **{downgradedPlan}**. If you cancel this plan change, your existing plan at **{existingRate}** will continue.",PREMIUM_PENDING_PLAN_CHANGE_CANCEL_BUTTON:"Cancel Plan Change",PREMIUM_CHANGE_DISCRIMINATOR_MODAL_HEADER:"Change your Discord Tag",PREMIUM_CHANGE_DISCRIMINATOR_MODAL_BODY:"When your Nitro subscription ends, your Discord Tag will be randomized. Are you sure you want to change your Discord Tag?",PREMIUM_CHANGE_DISCRIMINATOR_WARNING:"When your Nitro subscription ends, your Discord Tag will be randomized.",PREMIUM_CHANGE_DISCRIMINATOR_MODAL_CONFIRM:"Change Discord Tag",PREMIUM_CHANGE_DISCRIMINATOR_TOOLTIP:"Want to customize your tag? Get Nitro!",PREMIUM_CHANGE_DISCRIMINATOR_LENGTH_ERROR:"This tag is invalid. Tags must contain 4 digits.",PREMIUM_CHANGE_DISCRIMINATOR_ZERO_ERROR:"This tag is invalid. Tags must be greater than 0.",PREMIUM_SETTINGS_SUBSCRIPTIONS_MOBILE_HEADER:"Your subscriptions",PREMIUM_SETTINGS_BILLING_INFO:"Billing Information",PREMIUM_SETTINGS_RENEWAL_INFO:"Your subscriptions will automatically renew on **{renewalDate, date, medium}** and you'll be charged **!!{price}!!**.",PREMIUM_SETTINGS_RENEWAL_INFO_GRANDFATHERED_UPGRADE:"Your subscription will be upgraded on **{upgradeDate, date, medium}** and you'll be charged an estimated price **!!{upgradePrice}!!**.\n\nAfter, it will renew on **{renewalDate, date, medium}** and you'll be charged **!!{renewalPrice}!!**.",PREMIUM_SETTINGS_RENEWAL_INFO_EXTERNAL:"Your subscriptions will automatically renew on **{renewalDate, date, medium}**. Please [visit your !!{paymentGatewayName}!! Subscription settings]({subscriptionManagementLink}) for more details.",PREMIUM_SETTINGS_RENEWAL_INFO_WITH_PLAN:"Your **{planName}** subscription will automatically renew on **{renewalDate, date, short}** and you'll be charged **!!{price}!!**.",PREMIUM_SETTINGS_CANCELLED_INFO:"Your subscription will end on **{endDate, date, medium}**.",PREMIUM_SETTINGS_PAST_DUE_INFO:"Your **!!{price}!!** subscription is past due. Please update your payment info or your subscription will end on **{endDate, date, medium}**.",PREMIUM_SETTINGS_PAST_DUE_INFO_EXTERNAL:"Your subscription is past due. Please [update your payment info for !!{paymentGatewayName}!!]({paymentSourceLink}) or your subscription will end on **{endDate, date, medium}**.",PREMIUM_SETTINGS_ACCOUNT_HOLD_INFO:"Your subscription is **on hold**. Please update your payment info or your subscription will end on {endDate, date, medium}.",PREMIUM_SETTINGS_ACCOUNT_HOLD_INFO_PRICE:"Your **!!{price}!!** subscription is on hold. Please update your payment info or your subscription will end on **{endDate, date, medium}**.",PREMIUM_SETTINGS_ACCOUNT_HOLD_NOTICE_INFO:"Your payment method needs to be updated. Your subscription is on hold and you currently don't have access to your perks. Please update your payment method by **{endDate, date, medium}** or you'll lose your **!!{planDescription}!!** perks.",PREMIUM_SETTINGS_ACCOUNT_HOLD_NOTICE_CHANGE_PAYMENT_METHOD_BUTTON:"Change your payment method",PREMIUM_SETTINGS_ACCOUNT_HOLD_INFO_EXTERNAL:"Your subscription is on hold. Please [update your payment info for !!{paymentGatewayName}!!]({paymentSourceLink}) or your subscription will end on **{endDate, date, medium}**.",PREMIUM_GUILD_SUBSCRIPTIONS_RENEWAL_INFO:"**{quantity}x** {quantity, plural, =1 {Server Boost} other {Server Boosts}} - **!!{rate}!!**",PREMIUM_GUILD_SUBSCRIPTIONS_RENEWAL_INFO_NO_PRICE:"**{quantity}x** {quantity, plural, =1 {Server Boost} other {Server Boosts}}",PREMIUM_GUILD_SUBSCRIPTIONS_RENEWAL_INFO_PENDING_CANCELATION:"**{quantity}x** {quantity, plural, =1 {Server Boost} other {Server Boosts}} - **!!{rate}!!** (Pending Cancellation)",PREMIUM_GUILD_SUBSCRIPTIONS_RENEWAL_INFO_PENDING_CANCELATION_NO_PRICE:"**{quantity}x** {quantity, plural, =1 {Server Boost} other {Server Boosts}} (Pending Cancellation)",PREMIUM_GUILD_SUBSCRIPTIONS_RENEWAL_INFO_ANDROID:"**{boostQuantity}x** {quantity, plural, =1 {Server Boost} other {Server Boosts}} - **!!{rate}!!**",PREMIUM_GUILD_SUBSCRIPTIONS_RENEWAL_INFO_PENDING_CANCELATION_ANDROID:"**{boostQuantity}x** {quantity, plural, =1 {Server Boost} other {Server Boosts}} - **!!{rate}!!** (Pending Cancellation)",PREMIUM_GUILD_SUBSCRIPTIONS_RENEWAL_INFO_ACCOUNT_HOLD:"**{boostQuantity}x** {quantity, plural, =1 {Server Boost} other {Server Boosts}} - **!!{rate}!!** (Subscription on hold)",PREMIUM_GUILD_SUBSCRIPTIONS_RENEWAL_INFO_ACCOUNT_HOLD_NO_PRICE:"**{boostQuantity}x** {quantity, plural, =1 {Server Boost} other {Server Boosts}} (Subscription on hold)",PREMIUM_RESTORE_SUBSCRIPTION_IOS:"Restore Nitro Subscription",PREMIUM_SWITCH_PLANS:"Switch Plans",PREMIUM_CURRENT_ACTIVE_SUBSCRIPTION:"Current active subscription",PREMIUM_MANAGE_VIA_DESKTOP:"Please manage your subscription on desktop.\n[Learn more.]({helpdeskArticle})",PREMIUM_CANCEL_CONFIRM_HEADER:"Cancel Your Subscription?",PREMIUM_CANCEL_CONFIRM_BODY:"Are you sure you want to delete your subscription? You won't be able to reactivate it from your mobile device unless you switch to using Google Play.\n[Learn more.]({helpdeskArticle})",PREMIUM_CANCEL_CONFIRM_BUTTON:"Cancel Subscription",PREMIUM_NO_PLANS_HEADER:"Sorry!",PREMIUM_NO_PLANS_BODY:"We don't current offer a plan through Google Play Billing with more boosts. [Learn more.]({helpdeskArticle})",STARTING_AT:"Starting at",PREMIUM_SETTINGS_STARTING_AT_PER_MONTH:"Subscribe - Starting at !!{price}!! / Month",PREMIUM_SUBSCRIPTION_UPDATES:"Subscription Updates",PREMIUM_SUBSCRIPTION_PLAN_ADJUSTMENT:"{planName} Adjustment",PREMIUM_SUBSCRIPTION_GUILD_SUBSCRIPTION_ADJUSTMENT:"Boost Adjustment",PREMIUM_SUBSCRIPTION_RENEWAL_FOOTER:"Any eligible subscription credit will be applied until it runs out. Your subscription will renew for **{rate}** on **{renewalDate, date, medium}**. Have questions? [Contact our support team]({contactLink}) or [check out our subscription FAQ]({helpdeskArticle}).",PREMIUM_SUBSCRIPTION_RENEWAL_FOOTER_TRIAL:"Your free month credit will be applied until it runs out, and we'll send you a reminder email **{days, plural, =1 {1 day} other {{days} days}}** before your free period ends. Have questions? [Check out our offer FAQ]({helpdeskArticle}) or [contact our support team]({contactLink}).",PREMIUM_SUBSCRIPTION_SHOW_DETAILS:"Show Subscription Details",PREMIUM_SUBSCRIPTION_HIDE_DETAILS:"Hide Subscription Details",PREMIUM_SUBSCRIPTION_NEW_LABEL:"New Subscription",PREMIUM_SUBSCRIPTION_CURRENT_LABEL:"Current Subscription",PREMIUM_SUBSCRIPTION_NEW_TOTAL:"New Subscription Total",PREMIUM_SUBSCRIPTION_CANCELLED:"{planName} Cancelled",PREMIUM_SUBSCRIPTION_ADJUSTMENT_TOOLTIP:"This adjustment includes prorations, discounts, and refunds.",PREMIUM_SUBSCRIPTION_GUILD_SUBSCRIPTION_ADJUSTMENT_TOOLTIP:"**Why am I seeing this?**\n\nYou are purchasing a plan change. Your Server Boosts are being updated accordingly.",PREMIUM_SUBSCRIPTION_GUILD_SUBSCRIPTION_ADJUSTMENT_TEXT:"You are purchasing a plan change. Your Server Boosts are being updated accordingly.",PREMIUM_SUBSCRIPTION_PERIOD_RESET_NOTICE:"Your next renewal date will be **{renewalDate, date, medium}**.",PREMIUM_SUBSCRIPTION_GRANDFATHERED_UPGRADE_NOTE:"Your grandfathered Nitro subscription is about to be changed to Nitro Classic. If you wish to keep your current perks, including Boosts, upgrade now.",USER_SETTINGS_SUBSCRIPTIONS_HEADER:"Your Subscriptions",USER_SETTINGS_NO_SUBSCRIPTIONS:"You have no active subscriptions",USER_SETTINGS_NO_SUBSCRIPTION_CREDIT:"You have no unused credits",PROMOTION_ERROR_TITLE:"Wait a second...",PROMOTION_ERROR_BODY:"Seems like something’s gone wrong and you can’t use that code. Sorry about that.",PROMOTION_ERROR_CLAIMED_BODY:"Sorry, looks like this code has already been redeemed.",PROMOTION_ERROR_NO_CODE_BODY:"Looks like this code didn't work. Make sure you have the right code and try again.",PROMOTION_ERROR_NOT_VERIFIED_BODY:"Looks like your email isn't verified. Make sure to verify your email before redeeming this code.",PROMOTION_EXISTING_SUBSCRIBER_TITLE:"Oh no!",PROMOTION_EXISTING_SUBSCRIBER_BODY:"Sorry, looks like you already have a subscription. However, you can give your redemption URL to a friend and send {months, plural, =1 {# month} other {# months}} of free {planName} their way.",PROMOTION_PREVIOUS_SUBSCRIBER_BODY:"Sorry, looks like you've already had Nitro. However, you can give your redemption URL to a friend and send {months, plural, =1 {# month} other {# months}} of free {planName} their way.",PROMOTION_REDEEM_BODY:"You get {months, plural, =1 {# month} other {# months}} of free {planName} from this promotion!",PROMOTION_ACCOUNT_IDENTIFIER:"Signed in as $[](avatarHook) {tag}. [Not You?](logoutHook)",OUTBOUND_PROMOTION_CARD_UNCLAIMED_UNEXPANDED_BODY:"Gift is available to claim until {endDate}. [More Details](onClickDetails)",OUTBOUND_PROMOTION_CARD_UNCLAIMED_EXPANDED_BODY:"Gift is available to claim until {endDate}. [Less Details](onClickDetails)",OUTBOUND_PROMOTION_CARD_CLAIMED_UNEXPANDED_BODY:"Use your code before {endDate}. [More Details](onClickDetails)",OUTBOUND_PROMOTION_CARD_CLAIMED_EXPANDED_BODY:"Use your code before {endDate}. [Less Details](onClickDetails)",OUTBOUND_PROMOTION_LESS_DETAILS:"[Less Details](onClick)",OUTBOUND_PROMOTION_MORE_DETAILS:"[More Details](onClick)",OUTBOUND_PROMOTION_SEE_CODE:"See Code",MOBILE_OUTBOUND_PROMOTION_CARD_UNCLAIMED_BODY:"Claim your code before {endDate}",MOBILE_OUTBOUND_PROMOTION_CARD_CLAIMED_BODY:"Use your code before {endDate}",OUTBOUND_PROMOTION_CODE_CONFIRMATION_EMAIL:"This code is included in a confirmation email we just sent you.",REDEMPTION_CODE:"Redemption Code",REDEEM:"Redeem",OUTBOUND_PROMOTION_REDEMPTION_MODAL_TITLE:"Awesome!",TERMS_AND_CONDITIONS:"Terms & Conditions",OUTBOUND_PROMOTION_NOTICE:"Hey, you have something waiting for you in your gift inventory! Don’t forget to claim it before it’s lost.",TAKE_ME_THERE:"Take me there",PREMIUM_UPSELL_ANIMATED_AVATAR:"Want an animated avatar?",PREMIUM_UPSELL_ANIMATED_AVATAR_SUBTITLE:"Join Nitro to get this feature and more!",PREMIUM_UPSELL_ANIMATED_AVATAR_TEXT:"Get Nitro and you'll be able to set .gifs as your profile picture",PREMIUM_UPSELL_EMOJI_ACTIVE_MOBILE:"You can’t use this emoji right now",PREMIUM_UPSELL_EMOJI_PASSIVE_MOBILE:"Get upgraded emoji power!",PREMIUM_UPSELL_EMOJI_MOBILE:"You can’t use this emoji right now",PREMIUM_UPSELL_BADGE_ACTIVE_MOBILE:"Looking to add a badge?",PREMIUM_UPSELL_BADGE_PASSIVE_MOBILE:"Badges are pretty neat!",PREMIUM_UPSELL_UPLOAD_ACTIVE_MOBILE:"Your files are too powerful!",PREMIUM_UPSELL_UPLOAD_PASSIVE_MOBILE:"Upload higher quality memes",PREMIUM_UPSELL_TAG_ACTIVE_MOBILE:"Trying to change your tag?",PREMIUM_UPSELL_TAG_PASSIVE_MOBILE:"Want to get your own custom tag?",PREMIUM_UPSELL_ANIMATED_AVATAR_ACTIVE_MOBILE:"You can't have a dancing avatar (yet)!",PREMIUM_UPSELL_ANIMATED_AVATAR_PASSIVE_MOBILE:"Want an animated avatar?",PREMIUM_UPSELL_ANIMATED_EMOJIS_ACTIVE_MOBILE:"Trying to move and groove?",PREMIUM_UPSELL_ANIMATED_EMOJIS_PASSIVE_MOBILE:"Want to move and groove?",PREMIUM_UPSELL_UPLOAD_DESCRIPTION_MOBILE:"Max file size is {maxUploadStandard}. Upgrade to **Discord Nitro** for {maxUploadPremium} file limit!",PREMIUM_UPSELL_BADGE_DESCRIPTION_MOBILE:"Deck out your profile! Subscribe to **Discord Nitro** and get an exclusive Nitro badge.",PREMIUM_UPSELL_EMOJI_DESCRIPTION_MOBILE:"Lift off with **Discord Nitro** to use animated and custom emojis on any server.",PREMIUM_UPSELL_EMOJI_DESCRIPTION_MOBILE_NEW:"Subscribe to Lift off with **Discord Nitro** to use animated and custom emojis on any server.",PREMIUM_UPSELL_TAG_DESCRIPTION_MOBILE:"Subscribe to **Discord Nitro** to choose your own custom Discord tag.",PREMIUM_UPSELL_ANIMATED_AVATAR_DESCRIPTION_MOBILE:"If you wanna upload a fun animated avatar, you should subscribe to **Discord Nitro**.",PREMIUM_UPSELL_ANIMATED_EMOJIS_DESCRIPTION_MOBILE:"Hey friend you gotta subscribe to **Discord Nitro** to use animated emojis.",PREMIUM_UPSELL_GLOBAL_STICKERS_TITLE_MOBILE:"You can't use this sticker right now",PREMIUM_UPSELL_GLOBAL_STICKERS_DESCRIPTION_MOBILE:"Subscribe to Lift off with **Discord Nitro** to use custom stickers on any server.",PREMIUM_RETENTION_EMOJI_PICKER_DESCRIPTION:"Careful! Your !!{planName}!! perks, including global and animated emoji, expire soon on **{endsAt, date, medium}**.",PREMIUM_RETENTION_EMOJI_PICKER_UPDATE_PAYMENT_INFORMATION:"Update your payment information.",EMOJI_PICKER_PREMIUM_UPSELL_BODY:"Use these emoji and more by subscribing to Nitro.",EMOJI_PICKER_PREMIUM_UPSELL_CTA:"Get Nitro",SUBSCRIPTION_PAYMENT_LEGALESE_MONTHLY:"Hey! What you're purchasing is a recurring subscription, which means we'll charge you today and continue to charge you monthly until you cancel the subscription. You can cancel anytime from your Settings page, though!",SUBSCRIPTION_PAYMENT_LEGALESE_YEARLY:"Hey! What you're purchasing is a recurring subscription, which means we'll charge you today and continue to charge you yearly until you cancel the subscription. You can cancel anytime from your Settings page, though!",PAYMENT_SOURCES_ADD:"Add a new payment method",ATTACH_PAYMENT_SOURCE_PROMPT_OPTION:"Attach a payment method to continue",ATTACH_PAYMENT_SOURCE_PROMPT_OPTION_OPTIONAL:"Attach a payment method (Optional)",ATTACH_PAYMENT_SOURCE_OPTIONAL_WITH_ENTITLEMENTS_WARNING:"You have **{months, plural, =1 {# month} other {# months}} of credit**. A payment source is required to avoid interruptions after your credit has been used.",PAYMENT_SOURCE_TYPE_SELECT:"Select Payment Type",PAYMENT_SOURCE_TYPE:"Payment Type",PAYMENT_SOURCE_INFORMATION:"Payment Information",PAYMENT_SOURCE_CREDIT_CARD:"Credit Card",PAYMENT_SOURCE_PAYPAL:"PayPal",PAYMENT_SOURCE_PAYPAL_LOADING:"Contacting PayPal...",PAYMENT_SOURCE_CARD_ENDING:"{brand} ending in **{last_4}**",PAYMENT_SOURCE_CARD_EXPIRES:"Expires {month} {year}",PAYMENT_SOURCE_PAYPAL_ACCOUNT:"PayPal Account",PAYMENT_SOURCE_PAYMENT_REQUEST_LABEL:"Add Payment",PAYMENT_SOURCE_PAYMENT_REQUEST_INFO_LOADING:"Confirming payment in your browser!",PAYMENT_SOURCE_PAYMENT_REQUEST_INFO_CREATING:"Creating card ending in {last4}...",PAYMENT_SOURCE_PAYMENT_REQUEST_INFO_TITLE:"Pay for it with",PAYMENT_SOURCE_PAYMENT_REQUEST_BUTTON_GENERIC:"Autofill from Browser",PAYMENT_SOURCE_PAYMENT_REQUEST_BUTTON_GPAY:"Google Pay",PAYMENT_SOURCE_PAYMENT_REQUEST_UNSUPPORTED:"Autofill from Browser (N/A)",PAYMENT_SOURCE_CONFIRM_PAYPAL_DETAILS:"Confirm PayPal details in your browser!",PAYMENT_SOURCE_PAYPAL_REOPEN:"Re-open Window",PAYMENT_SOURCE_PAYPAL_DETAILS:"PayPal Details",PAYMENT_SOURCE_CARD_NUMBER:"Card Number",PAYMENT_SOURCE_EXPIRATION_DATE_PLACEHOLDER:"MM/YY",PAYMENT_SOURCE_MAKE_DEFAULT:"Make this my default payment method.",PAYMENT_SOURCE_DELETE:"Delete Payment Method",PAYMENT_SOURCE_DELETED:"Payment Method deleted",PAYMENT_SOURCE_EDIT_SELECT_STATE:"Select State",PAYMENT_SOURCE_EDIT_TITLE:"Edit Payment Method",PAYMENT_SOURCE_EDIT_HELP_CARD:"To edit other card information, please use the 'Add Payment Method' button.",PAYMENT_SOURCE_EDIT_HELP_PAYPAL:"To edit your PayPal payment information, visit [PayPal.com]({paypalURL}).",PAYMENT_SOURCE_EDIT_SAVED:"Payment information saved",PAYMENT_SOURCE_NAME_ERROR_REQUIRED:"Name is required.",PAYMENT_SOURCE_CARD_ENDING_IN:"Card ending in {last4}",PAYMENT_SOURCE_DELETE_DISABLED_TOOLTIP:"Cannot delete this payment source while you have an active Nitro subscription.",PAYMENT_SOURCE_INVALID:"Invalid",PAYMENT_SOURCE_INVALID_HELP:"We were unable to successfully charge this payment source. Please ensure the information is correct.",PAYMENT_SOURCE_SUBSCRIPTION:"Subscription",PAYMENT_MODAL_SUBTITLE_PREMIUM_GIFT:"Buy a Gift",PAYMENT_MODAL_BUTTON_PREMIUM:"Get !!{planPremiumType}!!",PAYMENT_MODAL_BUTTON_PREMIUM_GIFT:"Buy Gift",PAYMENT_MODAL_ONE_YEAR:"1 Year",PAYMENT_MODAL_ONE_MONTH:"1 Month",PAYMENT_PRICE_CHANGE_TITLE:"The price changed!",PAYMENT_PRICE_CHANGE_BODY:"The price has changed since you started the purchase. Please restart the purchase after checking the price.",PREMIUM_PAYMENT_SELECT:"Select",PREMIUM_PAYMENT_IS_GIFT:"You are purchasing a gift.",PREMIUM_PAYMENT_GIFT_SUBTEXT_MONTHLY:"This will be a one time charge for the amount of time chosen. You will not be billed monthly.",PREMIUM_PAYMENT_GIFT_SUBTEXT_YEARLY:"This will be a one time charge for the amount of time chosen. You will not be billed yearly.",PREMIUM_PAYMENT_CONFIRMATION_BLURB_IAP:"You can now claim {skuName} using your Nitro subscription. Let's get this bread!!!",PREMIUM_PAYMENT_CONFIRMATION_BLURB_REGULAR:"You now have gained the power of enhanced chat perks. Stop reading this and get to talkin!!!",PREMIUM_PAYMENT_CONFIRMATION_BUTTON_REGULAR:"K, Sounds good",PREMIUM_PAYMENT_CONFIRMATION_BUTTON_IAP:"Get {skuName}!",PREMIUM_PAYMENT_GIFT_BLURB_MOBILE:"Gift someone Nitro to give access to super powered chat perks and Server Boosting. [Learn more about Nitro.](onClick)",PREMIUM_CLASSIC_PAYMENT_GIFT_BLURB_MOBILE:"Gift someone Nitro Classic to enhance their experience with super powered chat perks. [Learn more about Nitro Classic.](onClick)",PREMIUM_REQUIRED:"Nitro Required",PREMIUM_SUBSCRIPTION_REQUIRED_BODY:"Hold up! You need Nitro to get this loot.",PREMIUM_UPGRADE_REQUIRED_BODY:"Hold up! You need Nitro to get this loot. You have Nitro Classic.",PREMIUM_REQUIRED_GET_NITRO:"Get Nitro!",BILLING:"Billing",BILLING_SECURE_TOOLTIP:"Your payment methods are encrypted and stored with a secure payment processing service.",BILLING_PAYMENT_SOURCES:"Payment Methods",BILLING_ADD_PAYMENT_METHOD:"Add Payment Method",BILLING_NO_PAYMENT_METHOD:"No payment method saved",BILLING_NO_PAYMENT_METHOD_DESCRIPTION:"Checkout faster by saving a payment method",BILLING_SALES_TAX_ADDED:"!!{tax}!! in sales tax has been added due to your billing address.",BILLING_SALES_TAX_INCLUDED:"Tax is included with the price.",BILLING_CODE_REDEMPTION_REDIRECT:"Psst! Looking to redeem a Discord key? We've moved it to [your inventory](onClick).",BILLING_MANAGED_BY_APPLE:"Your subscription is handled by Apple.",BILLING_MANAGED_BY_PAYMENT_GATEWAY:"Your subscription is handled by !!{paymentGatewayName}!!",BILLING_MANAGE_SUBSCRIPTION:"Manage Subscription",BILLING_MANAGE_ON_GOOGLE_PLAY:"Manage subscription in Google Play",BILLING_MANAGE_BILLING:"Change Payment Method",BILLING_APPLIES_TO_ALL_SUBSCRIPTIONS:"*Applies to all subscriptions",BILLING_ADDRESS:"Billing Address",BILLING_ADDRESS_ADDRESS:"Address",BILLING_ADDRESS_ADDRESS_ERROR_REQUIRED:"Oops! You forgot this one!",BILLING_ADDRESS_ADDRESS_PLACEHOLDER:"123 Discord Drive",BILLING_ADDRESS_ADDRESS2:"Address 2 (Optional)",BILLING_ADDRESS_ADDRESS2_PLACEHOLDER:"Apt, Ste, Dimension",BILLING_ADDRESS_CITY:"City",BILLING_ADDRESS_CITY_ERROR_REQUIRED:"City is required",BILLING_ADDRESS_CITY_PLACEHOLDER:"Coolsville",BILLING_ADDRESS_ZIP_CODE:"ZIP Code",BILLING_ADDRESS_ZIP_CODE_ERROR_REQUIRED:"ZIP code is required",BILLING_ADDRESS_ZIP_CODE_ERROR_LENGTH:"ZIP code must be 5 digits",BILLING_ADDRESS_ZIP_CODE_INVALID:"ZIP code is invalid",BILLING_ADDRESS_ZIP_CODE_PLACEHOLDER:"00000",BILLING_ADDRESS_POSTAL_CODE:"Postal Code",BILLING_ADDRESS_POSTAL_CODE_ERROR_REQUIRED:"Postal code is required",BILLING_ADDRESS_POSTAL_CODE_CANADA_PLACEHOLDER:"A1B 2C3",BILLING_ADDRESS_STATE:"State",BILLING_ADDRESS_STATE_ERROR_REQUIRED:"State is required",BILLING_ADDRESS_REGION:"State/Province/Region",BILLING_ADDRESS_PROVINCE:"Province",BILLING_ADDRESS_PROVINCE_ERROR_REQUIRED:"Province is required",BILLING_ADDRESS_COUNTRY:"Country",BILLING_ADDRESS_COUNTRY_ERROR_REQUIRED:"Country is required",BILLING_ADDRESS_NAME:"Name",BILLING_ADDRESS_NAME_ERROR_REQUIRED:"Name is required",BILLING_STEP_SELECT_PLAN:"Select Plan",BILLING_STEP_SELECT_A_PLAN:"Select a Plan",BILLING_STEP_PAYMENT:"Payment",BILLING_STEP_PAYMENT_TYPE:"Payment Type",BILLING_STEP_PAYMENT_INFO:"Payment Information",BILLING_STEP_PAYPAL:"PayPal Information",BILLING_STEP_CREDIT_CARD_INFORMATION:"Payment Information",BILLING_STEP_ADDRESS:"Address",BILLING_STEP_REVIEW:"Review",BILLING_STEP_AWAITING_AUTHENTICATION:"Awaiting Authentication",BILLING_STEP_SHOP:"Shop",BILLING_PAY_FOR_IT_WITH:"Pay for it With",BILLING_PAYMENT_AUTHORIZATION_CHARGE:"A small hold may be placed on your payment method. [Learn More]({helpDeskArticle})",BILLING_IS_GIFT_PURCHASE:"Is this a gift?",BILLING_GIFT_LINK:"Gift Link",BILLING_GIFT_COPIED:"Copied!",BILLING_LEGAL_MUMBO_JUMBO:"Legal Mumbo Jumbo",BILLING_LEGAL_MUMBO_JUMBO_LABEL:"I agree to the [Discord Terms of Service]({url})",BILLING_LEGAL_MUMBO_JUMBO_TRIAL_LABEL:"I agree to the [Discord Terms of Service]({url}) and that my subscription will renew for **{rate}** on **{renewalDate, date, medium}**. I can cancel anytime under User Settings > Subscriptions, and previous charges won’t be refunded unless required by law.",BILLING_THIRD_PARTY_EULA_LABEL:"I agree to the [{applicationName} EULA](onClick)",BILLING_PRICE_PER_MONTH:"!!{price}!! / Month",BILLING_PRICE_PER_MONTH_CURRENT_PLAN:"(CURRENT PLAN) !!{price}!! / Month",BILLING_PRICE_PER_MONTH_CURRENT_PLAN_MOBILE:"(Current Plan) !!{price}!! / Month",BILLING_PRICE_PER_YEAR:"!!{price}!! / Year",BILLING_PRICE_PER_MONTH_BOLD:"**!!{price}!!** / Month",BILLING_PRICE_PER_YEAR_BOLD:"**!!{price}!!** / Year",BILLING_PRICE_PER_YEAR_MONTHS_FREE:"!!{price}!! / Year ({numFreeMonths, plural, =1 {# Month} other {# Months}} free!)",BILLING_PRICE_PER_YEAR_CURRENT_PLAN:"(CURRENT PLAN) !!{price}!! / Year",BILLING_PRICE_PER_YEAR_CURRENT_PLAN_MOBILE:"(Current Plan) !!{price}!! / Year",BILLING_PRICE_PER_MONTH_MOBILE:"!!{price}!! / MO",BILLING_PRICE_PER_YEAR_MOBILE:"!!{price}!! / YR",BILLING_PRICE_PER_MONTH_EACH:"!!{price}!! / Month each",BILLING_PRICE_PER_YEAR_EACH:"!!{price}!! / Year each",BILLING_PREMIUM_GIFT_YEAR_MOBILE:"!!{price}!! for 1 Year",BILLING_PREMIUM_GIFT_MONTH_MOBILE:"!!{price}!! for 1 Month",BILLING_ACCEPT_TERMS_TOOLTIP:"Accept the Terms of Service to continue",BILLING_SELECT_PAYMENT_SOURCE_TOOLTIP:"Select a payment source to continue",BILLING_PAYMENT_SOURCE_INVALID:"This payment source is invalid.",BILLING_ACCOUNT_CREDIT:"Account Credit",BILLING_ACCOUNT_CREDIT_DESCRIPTION:"When you accept a gift while you have a running subscription, or accept a gift that differs from your current subscription, it will appear here as credit.",BILLING_ACCOUNT_CREDIT_DESCRIPTION_IOS_DISCLAIMER:"Unfortunately iOS subscriptions are not eligible for account credit. Account credit will be applied while subscribing through the desktop app.",BILLING_SUBSCRIPTION_CREDIT:"Subscription Credit",BILLING_PAYMENT_PREMIUM:"Your Subscription",BILLING_PAYMENT_PREMIUM_DESCRIPTION:"These are your current subscriptions. They will be billed on the same billing cycle. You can update any subscription at any time.",BILLING_PAYMENT_PREMIUM_LEGALESE_MONTHLY:"By purchasing a Discord subscription, you agree to our [Terms of Service]({termsUrl}) and [Privacy Policy]({privacyUrl}). Nitro and Server Boost are auto-recurring subscriptions. You authorize Discord to immediately charge the payment method provided at !!{price}!! and to continue to do so automatically monthly until you cancel. You may cancel anytime.",BILLING_PAYMENT_PREMIUM_LEGALESE_YEARLY:"By purchasing a Discord subscription, you agree to our [Terms of Service]({termsUrl}) and [Privacy Policy]({privacyUrl}). Nitro and Server Boost are auto-recurring subscriptions. You authorize Discord to immediately charge the payment method provided at !!{price}!! and to continue to do so automatically yearly until you cancel. You may cancel anytime.",BILLING_HISTORY:"Billing History",BILLING_PAYMENT_HISTORY:"Transaction History",BILLING_PAYMENT_BREAKDOWN_TAXES:"Taxes",BILLING_PAYMENT_BREAKDOWN_TOTAL:"Total",BILLING_PAYMENT_TABLE_HEADER_DATE:"Date",BILLING_PAYMENT_TABLE_HEADER_DESCRIPTION:"Description",BILLING_PAYMENT_TABLE_HEADER_AMOUNT:"Amount",BILLING_PURCHASE_DETAILS_HEADER:"Purchase Details",BILLING_REFUND_HEADER:"Issues with your purchase?",BILLING_TAG_PENDING:"Pending",BILLING_TAG_FAILED:"Failed",BILLING_TAG_REFUNDED:"Refunded",BILLING_TAG_REVERSED:"Reversed",BILLING_APPLICATION_CONSUMABLE_REFUND_TEXT_UNABLE:"In-game content cannot be refunded. If there is an issue with your purchase, [please contact our support.]({supportURL})",BILLING_APPLICATION_REFUND_TEXT:"A refund can be requested if this purchase was made in the last {dateLimit, number} days and the game has been played for less than {playtimeLimit, number} hours. [Our friendly help desk will help you get your coins back.]({supportURL})",BILLING_PREMIUM_REFUND_TEXT:"A refund can be requested if this purchase was made in the last {dateLimit, number} days. [Our friendly help desk will help you get your coins back.]({supportURL})",BILLING_GIFT_REFUND_TEXT:"A refund can be requested if this purchase was made in the last {dateLimit, number} days and the gift has not been redeemed. [Our friendly help desk will help you get your coins back.]({supportURL})",BILLING_PREORDER_REFUND_TEXT:"A refund can be requested at any time before the game's release for preorders. [Our friendly help desk will help you get your coins back.]({supportURL})",BILLING_APPLICATION_REFUND_TEXT_UNABLE:"We're sorry, this purchase is not eligible for refunds. A refund can be requested if this purchase was made in the last {dateLimit, number} days and the game has been played for less than {playtimeLimit, number} hours.",BILLING_PREMIUM_REFUND_TEXT_UNABLE:"We're sorry, this purchase is not eligible for refunds. A refund can be requested if this purchase was made in the last {dateLimit, number} days.",BILLING_GIFT_REFUND_TEXT_UNABLE:"We're sorry, this purchase is not eligible for refunds. A refund can be requested if this purchase was made in the last {dateLimit, number} days and the gift has not been redeemed.",BILLING_REFUND_PURCHASE_DATE_SUBHEADER:"Purchase Date",BILLING_REFUND_RELEASE_DATE_SUBHEADER:"Release Date",BILLING_REFUND_PURCHASE_DATE:"{daysSincePurchase, plural, =0 {Today} =1 {{daysSincePurchase} day ago} other {{daysSincePurchase} days ago}}",BILLING_REFUND_PLAY_TIME_SUBHEADER:"Time Played",BILLING_REFUND_PLAY_TIME_NEVER_PLAYED:"Never played",BILLING_REFUND_REPORT_A_PROBLEM:"Report a problem",BILLING_GIFT_PURCHASE_TOOLTIP:"This was a gift",BILLING_EXTERNAL_HEADER:"You subscribed through !!{paymentGatewayName}!!",BILLING_EXTERNAL_DESCRIPTION:"!!{paymentGatewayName}!! transactions will not be listed below. To view !!{paymentGatewayName}!! transaction history or to change your !!{paymentGatewayName}!! payment method, [visit your !!{paymentGatewayName}!! Billing settings]({billingHistoryLink}).",BILLING_EXTERNAL_MANAGE_ELSEWHERE:"This is not supported for !!{paymentGatewayName}!! subscriptions. To manage your subscription, please [visit your !!{paymentGatewayName}!! Billing settings]({subscriptionManagementLink}).",BILLING_APPLE_HEADER:"You subscribed to Nitro through Apple.",BILLING_APPLE_DESCRIPTION:"Apple transactions will not be listed below. To view Apple transaction history or to change your Apple payment method, [go to your Apple Billing settings]({appleBillingLink}).",BILLING_APPLE_MANAGE_ELSEWHERE:"This is not supported for Apple subscriptions. To manage your subscription, please [go to your Apple Billing settings]({appleBillingLink}).",BILLING_SWITCH_PLAN_TIER_2_DESCRIPTION:"Get access to superpowered perks and {numFreeGuildSubscriptions, plural, =1 {# Server Boost} other {# Server Boosts}}.",BILLING_SWITCH_PLAN_TIER_1_DESCRIPTION:"Enhance your Discord experience with sweet perks.",BILLING_SWITCH_PLAN_CHOOSE_ONE:"Choose one:",BILLING_SWITCH_PLAN_CHOOSE_ONE_TRIAL_SUBTITLE:"You won't be charged until after **your free month**, and you may cancel at any time.",BILLING_SWITCH_PLAN_CURRENT_PLAN:"Current Plan",BILLING_SWITCH_PLAN_YEARLY_FREE_MONTHS:"2 months free!",BILLING_PLAN_SELECTION_DISCOUNT:"save !!{discount}!!",BILLING_SWITCH_PLAN_PURCHASE_DETAILS:"Purchase Details",BILLING_SWITCH_PLAN_SUBSCRIPTION_COST:"Subscription Cost",BILLING_SWITCH_PLAN_CHANGE_DATE:"Your subscription will change starting on **{renewalDate, date, medium}**.",BILLING_SWITCH_PLAN_CHANGE_DATE_WITH_CHARGE:"Your subscription will change starting on **{renewalDate, date, medium}** and will cost **{rate}**.",BILLING_SWITCH_PLAN_UPGRADE:"Upgrade",BILLING_SWITCH_PLAN_CHANGE:"Change Plan",BILLING_SWITCH_PLAN_UPGRADE_BODY_TIER_2:"Get Nitro to gain access to superpowered perks and Server Boosts.",BILLING_SWITCH_PLAN_UPGRADE_BODY_TIER_2_YEAR:"Switch to a yearly plan and save some cash. Enjoy superpowered perks and {numFreeGuildSubscriptions, plural, =1 {# Server Boost} other {# Server Boosts}} all year round.",BILLING_SWITCH_PLAN_UPGRADE_BODY_TIER_1_YEAR:"Save some cash and switch to a yearly plan. Enjoy sweet perks all year round.",BILLING_SWITCH_PLAN_DOWNGRADE_BODY_TIER_1:"Once you switch from Nitro to Nitro Classic, you lose the included Server Boosts and some superpowered perks.",BILLING_SWITCH_PLAN_DOWNGRADE_BODY_MONTH:"Once you switch from the yearly plan to monthly, you keep all the same perks but you lose the 2 month free discount.",BILLING_SWITCH_PLAN_CONFIRM_TIER_1:"You now have sweet perks. Enjoy friend!",BILLING_SWITCH_PLAN_CONFIRM_TIER_2:"You now have superpowered perks and Server Boosts. Enjoy friend!",BILLING_SWITCH_PLAN_CONFIRM_UPGRADE_TIER_2_MONTH:"You now have superpowered perks and Server Boosts. Enjoy friend!",BILLING_SWITCH_PLAN_CONFIRM_UPGRADE_TIER_1_YEAR:"You now have sweet perks all year round. Enjoy friend!",BILLING_SWITCH_PLAN_CONFIRM_UPGRADE_TIER_2_YEAR:"You now have superpowered perks and {numFreeGuildSubscriptions, plural, =1 {# Server Boost} other {# Server Boosts}} all year round. Enjoy friend!",BILLING_SWITCH_PLAN_CONFIRM_TIER_2_TO_TIER_1:"You lose your included Server Boosts but keep some sweet perks. You can switch back plans at any time.",BILLING_SWITCH_PLAN_CONFIRM_TIER_2_YEAR_TO_MONTH:"You lose two free months but keep all superpowered perks and your Server Boosts. You can switch back to a yearly plan at any time.",BILLING_SWITCH_PLAN_CONFIRM_TIER_1_YEAR_TO_MONTH:"You lose two free months but keep all your sweet perks.",BILLING_POST_PURCHASE_JOIN_GUILD_FOR_EMOJI:"Ready to join the **!!{guildName}!!** server and get that emoji?",BILLING_POST_PURCHASE_JOIN_GUILD_FOR_EMOJI_CTA:"Join Server",BILLING_SWITCH_PLAN_SELECT:"Select {planName}",BILLING_SWITCH_PLAN_YOU_SELECTED:"You selected {planName}!",BILLING_SELECT_PLAN_PREMIUM_YEAR_TIER_1:"Get Nitro Classic Yearly",BILLING_SELECT_PLAN_PREMIUM_MONTH_TIER_1:"Get Nitro Classic Monthly",BILLING_SELECT_PLAN_PREMIUM_YEAR_TIER_2:"Get Nitro Yearly",BILLING_SELECT_PLAN_PREMIUM_MONTH_TIER_2:"Get Nitro Monthly",BILLING_PLAN_SELECT_DESCRIPTION_PREMIUM_TIER_1_PREMIUM_GUILD_BUNDLE:"Nitro Classic + {num, plural, =1 {# Boost} other {# Boosts}}",BILLING_PLAN_SELECT_DESCRIPTION_PREMIUM_TIER_2_PREMIUM_GUILD_BUNDLE:"Nitro + {num, plural, =1 {# Boost} other {# Boosts}}",BILLING_PLAN_SELECT_INCLUDES_BOOSTS:"(Includes {num, plural, =1 {# Boost} other {# Boosts}})",BILLING_SELECT_PLAN_GUILD_SUBSCRIPTION:"Get !!{planName}!!",BILLING_INVOICE_GIFT_PLAN:"Gift !!{planName}!!",BILLING_INVOICE_SUBSCRIPTION_CREDIT_APPLIED:"Subscription Credit applied!",BILLING_INVOICE_TODAY_TOTAL:"**Today's Total**",BILLING_INVOICE_TODAY_TOTAL_TAX_INCLUSIVE:"**Today's Total** (Tax Included)",BILLING_INVOICE_TAX:"Tax",BILLING_ERROR_GATEWAY:"Something went wrong while processing your payment, please try again!",BILLING_ERROR_SECTION_CARD:"Uh oh! Looks like there is an issue with this card. Please fix the fields and try again!",BILLING_ERROR_SECTION_ADDRESS:"Uh oh! Looks like there is an issue with this address. Please fix the fields and try again!",BILLING_ERROR_ADD_PAYMENT_SOURCE_STREAMER_MODE:"You cannot add new payment sources while in Streamer Mode.",BILLING_ERROR_RATE_LIMIT:"You've attempted too many purchases too quickly. Please wait a bit and try again!",BILLING_ERROR_NEGATIVE_INVOICE_AMOUNT:"This purchase results in a negative balance and unfortunately cannot be completed. We know this is frustrating and are currently working on improving this system. Check back soon!",BILLING_ERROR_UNKNOWN_PAYMENT_SOURCE:"An unknown payment source was specified. Select another and try again.",BILLING_ERROR_GENERIC:"Something went wrong while processing your request, please try again!",BILLING_ERROR_PURCHASE:"An issue has occurred with your purchase. Please wait and try again.",BILLING_ERROR_PURCHASE_DETAILS_NOT_FOUND:"Purchase details not found. Please wait and try again.",BILLING_PREMIUM_PLANS:"Nitro Plans",BILLING_PREMIUM_AND_PREMIUM_GUILD_PLANS:"Nitro + Boost Plans",BILLING_PREMIUM_GUILD_PLANS:"Boost Plans",BILLING_PREMIUM_AND_PREMIUM_GUILD_PLAN_ACTIVATED:"You now have **{planName}**. Enjoy friend!",PAYMENT_AUTHENTICATION_MODAL_TITLE:"There was a problem with your payment",PAYMENT_AUTHENTICATION_MODAL_START:"We were unable to complete your payment of **!!{price}!!** for **!!{item}!!**. This is probably because it must be authenticated manually with your bank.",PAYMENT_AUTHENTICATION_MODAL_BUTTON:"Continue",PAYMENT_AUTHENTICATION_MODAL_BUTTON_CANCEL_PAYMENT:"Cancel Payment",PAYMENT_AUTHENTICATION_MODAL_TITLE_SUCCESS:"Payment Authenticated",PAYMENT_AUTHENTICATION_MODAL_SUCCESS:"Your payment was authenticated successfully. Thanks!",PAYMENT_AUTHENTICATION_MODAL_TITLE_FAIL:"Payment Authentication Failed",PAYMENT_AUTHENTICATION_MODAL_TITLE_CANCELED:"Payment Canceled",PAYMENT_AUTHENTICATION_MODAL_FAIL:"We were unable to authenticate your payment. Please try updating your payment method.",PAYMENT_AUTHENTICATION_MODAL_CANCELED:"Your payment for **!!{item}!!** has been canceled.",PAYMENT_WAITING_FOR_AUTHENTICATION:"Waiting for authentication...",FORM_ERROR_GENERIC:"Oops! You've caught an ultra rare error. This is probably our fault, so please try again or check [our status page]({statusPageURL}).",ERROR_GENERIC_TITLE:"Oops, something went wrong...",DATE:"Date",DESCRIPTION:"Description",AMOUNT:"Amount",PENDING:"Pending",COMPLETED:"Completed",FAILED:"Failed",REVERSED:"Reversed",REFUND:"Refund",RESUBSCRIBE:"Re-subscribe",CREDIT_CARD_ERROR_REQUIRED:"Card number required.",CREDIT_CARD_ERROR_NUMBER:"Something is wrong with your credit card number",CREDIT_CARD_ERROR_EXPIRATION:"Something is wrong with your expiration date",CREDIT_CARD_ERROR_SECURITY_CODE:"Something is wrong with your security code",CREDIT_CARD_CONFIRMATION_ERROR:"Unable to confirm credit card",PAYPAL_ACCOUNT_VERIFYING:"Connecting to PayPal",PAYPAL_CALLBACK_ERROR:"Something went wrong, try again.",PAYPAL_CALLBACK_SUCCESS:"**PayPal** account authorized. Return to **Discord** to complete the transaction.",CREDIT_CARD_NUMBER:"Credit Card Number",CREDIT_CARD_CVC:"CVC",CREDIT_CARD_SECURITY_CODE:"Security Code",CREDIT_CARD_NAME_ON_CARD:"Name On The Card",CREDIT_CARD_NAME:"Name",CREDIT_CARD_EXPIRATION_DATE:"Expiration Date",CREDIT_CARD_NUMBER_INPUT_PLACEHOLDER:"Card Number",CREDIT_CARD_EXPIRATION_DATE_INPUT_PLACEHOLDER:"MM/YY",CREDIT_CARD_CVC_INPUT_PLACEHOLDER:"Security Code",IOS_IAP_ITUNES_ERROR:"Apple Error",IOS_IAP_GENERIC_BILLING_ERROR:"Something went wrong while processing your payment, please try again!",IOS_IAP_RESTORE_SUBSCRIPTION_ERROR:"An error occurred while restoring your subscription. Please try again!",IOS_IAP_RESTORE_SUBSCRIPTION_SUCCESS:"Done.",IOS_IAP_RESTORE_SUBSCRIPTION_NONE_TITLE:"Nothing to restore.",IOS_IAP_RESTORE_SUBSCRIPTION_NONE_DESCRIPTION:"There are no purchases to restore.",IOS_IAP_MANAGE_SUBSCRIPTION_DESKTOP:"Unfortunately, you cannot manage this subscription within the iOS app. Please go to the desktop app and manage your subscription via User Settings.",IOS_IAP_MANAGE_SUBSCRIPTION_GOOGLE_PLAY:"Unfortunately, you cannot manage this subscription within the iOS app. Please go to the Google Play subscription settings to manage your subscription.",IOS_IAP_MANAGE_SUBSCRIPTION_BUTTON:"Manage my subscription",IOS_IAP_SWITCH_PLANS_BUTTON:"Switch plans",IOS_IAP_MANAGE_PREMIUM_GUILD_BUTTON:"Manage Boosts",IOS_IAP_TESTFLIGHT_ERROR:"Oops! We cannot accept purchases via the Testflight build. You'll have to use the production build that's available on the App Store.",FILE_UPLOAD_LIMIT_STANDARD:"8MB",FILE_UPLOAD_LIMIT_PREMIUM_TIER_1:"50MB",FILE_UPLOAD_LIMIT_PREMIUM_TIER_2:"100MB",FILE_UPLOAD_LIMIT_STAFF:"200MB",STAFF_BADGE_TOOLTIP:"Discord Staff",PARTNER_BADGE_TOOLTIP:"Partnered Server Owner",HYPESQUAD_BADGE_TOOLTIP:"HypeSquad Events",HYPESQUAD_ONLINE_BADGE_TOOLTIP:"HypeSquad {houseName}",BUG_HUNTER_BADGE_TOOLTIP:"Discord Bug Hunter",EARLY_SUPPORTER_TOOLTIP:"Early Supporter",PREMIUM_BADGE_TOOLTIP:"Subscriber since {date, date, medium}",PREMIUM_GUILD_SUBSCRIPTION_TOOLTIP:"Server boosting since {date, date, medium}",VERIFIED_DEVELOPER_BADGE_TOOLTIP:"Early Verified Bot Developer",CERTIFIED_MODERATOR_BADGE_TOOLTIP:"Discord Certified Moderator",SELF_XSS_HEADER:"Hold Up!",SELF_XSS_LINE_1:"If someone told you to copy/paste something here you have an 11/10 chance you're being scammed.",SELF_XSS_LINE_2:"Pasting anything in here could give attackers access to your Discord account.",SELF_XSS_LINE_3:"Unless you understand exactly what you are doing, close this window and stay safe.",SELF_XSS_LINE_4:"If you do understand exactly what you are doing, you should come work with us {url}",QUICKSWITCHER_PLACEHOLDER:"Where would you like to go?",QUICKSWITCHER_NOTICE:"Use Quick Switcher to get around Discord quickly. Just press:",QUICKSWITCHER_QUERYMODE_USERS:"Searching All Users",QUICKSWITCHER_QUERYMODE_USERS_IN_GUILD:"Search friends and users in: {name}",QUICKSWITCHER_QUERYMODE_TEXT_CHANNELS:"Searching Text Channels",QUICKSWITCHER_QUERYMODE_VOICE_CHANNELS:"Searching Voice Channels",QUICKSWITCHER_QUERYMODE_GUILDS:"Searching Servers",QUICKSWITCHER_QUERYMODE_APPLICATIONS:"Searching Games",QUICKSWITCHER_LAST_CHANNEL:"Last Channel",QUICKSWITCHER_DRAFTS:"Drafts",QUICKSWITCHER_MENTIONS:"Mentions",QUICKSWITCHER_UNREAD_CHANNELS:"Unread Channels",QUICKSWITCHER_TIP_NAV:"$[tab](shortcutHook) or $[down](shortcutHook) $[up](shortcutHook) to navigate",QUICKSWITCHER_TIP_SELECT:"$[return](shortcutHook) to select $[esc](shortcutHook) to dismiss",QUICKSWITCHER_EMPTY_TEXT:"Can’t seem to find what you’re looking for?",QUICKSWITCHER_EMPTY_CTA:"Learn more about Quick Switcher",QUICKSWITCHER_LINK_MESSAGE:"Go to message",QUICKSWITCHER_LINK_UNKNOWN:"Go to link",QUICKSWITCHER_LINK_NO_ACCESS:"You don't have access to this link",QUICKSWITCHER_PROTIP:"Start searches with $[](userSymbolHook) $[](textChannelSymbolHook) $[](voiceChannelSymbolHook) $[](guildSymbolHook) to narrow results. [Learn more]({helpdeskArticle})",QUICKSWITCHER_PROTIP_USERNAMES:"Usernames",QUICKSWITCHER_PROTIP_TEXT_CHANNELS:"Text Channels",QUICKSWITCHER_PROTIP_VOICE_CHANNELS:"Voice Channels",QUICKSWITCHER_PROTIP_GUILDS:"Servers",QUICKSWITCHER_TUTORIAL_MESSAGE_SEARCH:"Search for servers, channels or DMs",QUICKSWITCHER_TUTORIAL_MESSAGE_SELECT:"Select a result and press ENTER to jump to it",SUGGESTIONS:"Suggestions",USER_SETTINGS_VOICE_CODEC_TITLE:"Audio Codec",USER_SETTINGS_VOICE_CODEC_DESCRIPTION:"Discord uses only the best organic, locally-sourced Opus Voice codec.",USER_SETTINGS_VOICE_ADD_MULTIPLE:"You can add multiple Push to Talk binds under [Keybind Settings](onClick).",USER_SETTINGS_VOICE_MIC_TEST_TITLE:"Mic Test",USER_SETTINGS_VOICE_MIC_TEST_DESCRIPTION:"Having mic issues? Start a test and say something fun—we'll play your voice back to you.",USER_SETTINGS_VOICE_MIC_TEST_BUTTON_ACTIVE:"Stop Testing",USER_SETTINGS_VOICE_MIC_TEST_BUTTON_INACTIVE:"Let's Check",USER_SETTINGS_VOICE_MIC_TEST_VOICE_CAPTION:"Playing back your beautiful voice",USER_SETTINGS_VOICE_MIC_TEST_VOICE_NO_INPUT_NOTICE:"Discord isn’t detecting any input from your mic. Please check that you’ve selected the right input device.",USER_SETTINGS_VOICE_VIDEO_HOOK_LABEL:"Use our latest technology to capture your screen",USER_SETTINGS_VOICE_VIDEO_CODEC_TITLE:"Video Codec",USER_SETTINGS_VOICE_OPEN_H264:"OpenH264 Video Codec provided by Cisco Systems, Inc.",USER_SETTINGS_VOICE_HARDWARE_H264:"H.264 Hardware Acceleration",USER_SETTINGS_VOICE_EXPERIMENTAL_SOUNDSHARE_LABEL:"Use an experimental method to capture audio from applications",USER_SETTINGS_VOICE_SOUNDSHARE_NOT_ENABLED_LABEL:"Capturing audio on your device requires the installation of additional software. After clicking the install button below, you'll be prompted for authorization. [Learn More]({helpdeskArticle})",USER_SETTINGS_VOICE_SOUNDSHARE_ENABLING_LABEL:"The audio capture extension requires authorization to complete installation. Check your Security & Privacy system preferences. [Learn More]({helpdeskArticle})",USER_SETTINGS_VOICE_SOUNDSHARE_ENABLED_LABEL:"You're all set to capture audio from applications. [Learn More]({helpdeskArticle})",USER_SETTINGS_VOICE_INSTALL_LABEL:"Install",USER_SETTINGS_VOICE_INSTALLED_LABEL:"Installed",FORM_HELP_OPEN_H264:"Disabling OpenH264 also disables hardware accelerated video encoding, if available.",FORM_HELP_HARDWARE_H264:"Hardware acceleration uses your GPU for efficient video encoding and decoding, if available.",USERNAME:"Username",USERNAME_AND_TAG:"Username and Tag",ACCOUNT_NAME:"Account Name",SERVICE_CONNECTIONS_DISCONNECT:"Disconnect",REPORT_SERVER:"Report Server — !!{name}!!",REPORT_SERVER_NO_NAME:"Report Server",REPORT_MESSAGE:"Report Message Posted by !!{name}!!",REPORT_USER:"Report User — !!{name}!!",FORM_LABEL_REPORT_REASON:"What is it you’re reporting?",FORM_REPORT_HELP_TEXT:"Reports are sent to the Discord Trust & Safety team - **not the server owner**. Creating false reports and/or spamming the report button may result in a suspension of reporting abilities. Learn more from the [Discord Community Guidelines]({guidelinesURL}). Thanks for keeping things safe and sound.",APP_PERMISSION_CONNECT_LABEL:"Connect to Discord app",APP_PERMISSION_CONNECT_DESC:"Connect to Discord and join voice channels",PERMISSION_MICROPHONE_DENIED:"Microphone access denied - Discord requires audio access to connect to a call.",STAGE_CHANNEL_PERMISSION_MICROPHONE_DENIED:"Discord requires audio access to allow you to speak.",PERMISSION_MEDIA_DENIED:"Media access denied - Discord requires access to storage to post attachments.",PERMISSION_MEDIA_DOWNLOAD_DENIED:"Download access denied - Discord requires storage access to download files.",PERMISSION_QR_SCANNER_DENIED:"Camera access denied - Discord requires camera access to scan QR codes.",SERVER_OVERVIEW:"Server Overview",GUILD_SETTINGS_ICON_RECOMMEND:"We recommend an image of at least 512x512 for the server.",GUILD_SETTINGS_SPLASH_RECOMMEND:"The recommended minimum size is 1920x1080 and recommended aspect ratio is 16:9. [Learn more]({articleURL})",GUILD_SETTINGS_SPLASH_INFO:"This image will display when users receive an invite to the server.",UPLOAD_IMAGE:"Upload Image",UPLOAD_BACKGROUND:"Upload Background",GUILD_SETTINGS_DEFAULT_NOTIFICATION_SETTINGS_INTRO:"This will determine whether members who have not explicitly set their notification settings receive a notification for every message sent in this server or not.",GUILD_SETTINGS_DEFAULT_NOTIFICATION_SETTINGS_PROTIP:"We highly recommend setting this to only @mentions for a public Discord to avoid [this insanity]({videoURL}).",GUILD_SETTINGS_DEFAULT_NOTIFICATIONS_LARGE_GUILD_NOTIFY_ALL:"Due to this server's size, members will not get mobile push notifications for non-@mention messages.",GUILD_SETTINGS_SERVER_INVITE_BACKGROUND:"Server Invite Background",GUILD_SETTINGS_OVERVIEW_TIER_INFO:"This is a Tier {tier} Nitro Feature. [Check your tier status]({tierStatusUrl})",GUILD_SETTINGS_OVERVIEW_BOOST_UNLOCK:"{boosts, plural, =1 {# boost} other {# boosts}} to unlock",GUILD_SETTINGS_OVERVIEW_BOOST_UNLOCKED:"Tier {tier} perk unlocked",GUILD_SETTINGS_EMOJI_ALIAS:"Alias",GUILD_SETTINGS_EMOJI_ALIAS_PLACEHOLDER:"Enter Alias",GUILD_SETTINGS_EMOJI_UPLOAD_TO_SERVER_MESSAGE:"Add up to {count} custom emoji that anyone can use in this server. Animated GIF emoji may be used by members with Discord Nitro. Emoji names must be at least 2 characters long and can only contain alphanumeric characters and underscores. Emoji must be under {maxSize}kb in size.",GUILD_SETTINGS_STICKERS:"Stickers",GUILD_SETTINGS_STICKERS_UPSELL_TITLE:"Get Boosted",GUILD_SETTINGS_STICKERS_UPSELL_DESCRIPTION:"Enjoy stickers and more perks by boosting your server to Level 1. Each Level unlocks more sticker slots and new benefits for everyone.",GUILD_SETTINGS_STICKERS_BOOST_SERVER:"Boost Server",GUILD_SETTINGS_STICKERS_UPLOAD_HEADING:"Upload Requirements",GUILD_SETTINGS_STICKERS_UPLOAD_HELP:"For more information about file types, choosing related emojis, and tips on uploading custom stickers, check out this [Help Center article]({articleUrl}).",GUILD_SETTINGS_STICKERS_UPLOAD_REQUIREMENTS:"For the best looking stickers, make sure your files meet the following requirements before uploading:",GUILD_SETTINGS_STICKERS_UPLOAD_REQUIREMENTS_1:"File type: PNG, APNG, or Lottie",GUILD_SETTINGS_STICKERS_UPLOAD_REQUIREMENTS_2:"Max file size: {fileSize}",GUILD_SETTINGS_STICKERS_UPLOAD_REQUIREMENTS_3:"Dimensions: 320 x 320 (exact)",GUILD_SETTINGS_STICKERS_UPLOAD_REQUIREMENTS_4:"Related Emoji: You will be required to select a unicode emoji that matches your sticker the closest.",GUILD_STICKER_UPLOAD_TITLE:"Upload a file",GUILD_STICKER_UPLOAD_DESCRIPTION:"File should be, APNG, PNG, or Lottie ({fileSize} max)",GUILD_STICKER_UPLOAD_NAME_TITLE:"Sticker Name",GUILD_STICKER_UPLOAD_NAME_PLACEHOLDER:"ex: cat hug",GUILD_STICKER_UPLOAD_PREVIEW_TITLE:"Preview",GUILD_STICKER_UPLOAD_FILE_TITLE:"File",GUILD_STICKER_UPLOAD_FILE_TITLE_BLOCKED:"File (This cannot be edited)",GUILD_STICKER_UPLOAD_FILE_PLACEHOLDER:"Choose a file",GUILD_STICKER_UPLOAD_FILE_BUTTON:"Browse",GUILD_STICKER_UPLOAD_RELATED_EMOJI_TITLE:"Related Emoji",GUILD_STICKER_UPLOAD_RELATED_EMOJI_PLACEHOLDER:"Click to select",GUILD_STICKER_UPLOAD_DESCRIPTION_TITLE:"Description",GUILD_STICKER_UPLOAD_DESCRIPTION_PLACEHOLDER:"This text will help with screen readers",GUILD_STICKER_UPLOAD_DESCRIPTION_TOOLTIP:"You can add a description, sometimes called alt-text, to your stickers so they’re accessible to even more people, including those who are blind or visually impaired. Good descriptions are concise, but present what’s in your stickers accurately enough to understand their context. Descriptions are optional but must be more than 1 character.",GUILD_STICKER_PREVIEW_IMG_ALT_DARK:"Sticker preview on dark theme",GUILD_STICKER_PREVIEW_IMG_ALT_LIGHT:"Sticker preview on light theme",GUILD_STICKERS_UPDATE:"Update",GUILD_STICKER_GRID_UPLOAD_LABEL:"Upload Sticker",GUILD_STICKER_INVALID_STICKER:"Invalid sticker file",GUILD_STICKER_FILE_TOO_BIG:"That sticker was too big! Stickers must be under {maxSize}.",GUILD_STICKER_UNKNOWN_MIME_TYPE:"Unsupported file format",GUILD_STICKER_SETTINGS_ADDITIONAL_SLOTS:"+{numAdditional, plural, =1 {{numAdditional} Sticker Slot} other {{numAdditional} Sticker Slots}} ({numTotal, number} total)",GUILD_STICKER_SETTINGS_BUY_LEVEL:"Buy Level",GUILD_STICKER_UNUSED_TIER:"Upload more stickers to make use of this unlocked level.",GUILD_STICKER_SETTINGS_REMAINING_SLOTS_AVAILABLE:"{numAvailable, number} of {numTotal, plural, =1 {{numTotal} slot} other {{numTotal} slots}} available",GUILD_STICKER_GUILD_HEADER_TOOLTIP_HEADER:"NEW! Custom Stickers",GUILD_STICKER_GUILD_HEADER_TOOLTIP_CONTENT:"Level up and add your own sticker creations for your server! Head into Server Settings > Stickers to get started.",GUILD_STICKER_GUILD_HEADER_TOOLTIP_BUTTON:"Got it",SETTINGS_WEBHOOKS_INTRO:"\nWebhooks are an easy way to get automated messages and data updates sent to a text channel in the server using internet magic. [Learn more]({articleURL}).\n",SETTINGS_WEBHOOKS_EMPTY_TITLE:"No Webhooks",SETTINGS_WEBHOOKS_EMPTY_BODY:"Create a webhook to begin the magic",SETTINGS_WEBHOOKS_EMPTY_BODY_IOS:"For now, webhooks can only be created on web or desktop",SETTINGS_NOTICE_MESSAGE:"Careful — you have unsaved changes!",SAVE_CHANGES:"Save Changes",WEBHOOK_MODAL_TITLE:"Edit Webhook",WEBHOOK_MODAL_ICON_TITLE:"Webhook Icon",WEBHOOK_MODAL_ICON_DESCRIPTION:"We recommend an image of at least 256x256",SETTINGS_ROLES_DELETE_TITLE:"Delete Role",SETTINGS_ROLES_DELETE_BODY:"Are you sure you want to delete the **!!{name}!!** role? This action cannot be undone.",SETTINGS_PERMISSIONS_DELETE_TITLE:"Delete Permission Settings",SETTINGS_PERMISSIONS_DELETE_BODY:"Are you sure you want to delete **!!{name}!!** permissions? This action cannot be undone.",SETTINGS_INVITE_TIP:"Here's a list of all active invite links. You can revoke any one or [create one](onCreateInvite).",SETTINGS_INVITE_TIP_WITHOUT_CREATE:"Here's a list of all active invite links. You can revoke any one.",INVITES:"Invites",GUILD_SETTINGS_SERVER_BANNER:"Server Banner",FORM_LABEL_SERVER_DESCRIPTION:"Server Description",CHANGE_BANNER:"Change Banner",FORM_HELP_SERVER_BANNER:"This image will display at the top of your channels list.",FORM_HELP_SERVER_DESCRIPTION:"Describe your community. This description will be displayed in external embeds of this server’s invite link.",SERVER_DESCIPTION_EMPTY:"Tell the world a bit about this server.",FORM_LABEL_SERVER_BANNER:"Server Banner Background",GUILD_SETTINGS_BANNER_RECOMMEND:"The recommended minimum size is 960x540 and recommended aspect ratio is 16:9. [Learn more]({articleURL}).",FORM_LABEL_SERVER_LANGUAGE:"Server Primary Language",FORM_HELP_SERVER_LANGUAGE:"Discord will prioritize this server in Discovery to users who speak the selected language. Updates sent from Discord in the Moderators-only channel will also be in this language.",SEARCH_COUNTRY:"Search a country",ENTER_PHONE_TITLE:"Enter a Phone Number",ENTER_PHONE_DESCRIPTION:"You will receive a text message with a verification code.",ENTER_PHONE_DESCRIPTION_NOTE:"Your phone number can be used to verify **one Discord account** at a time and is only used for verification and login.",VERIFICATION_PHONE_TITLE:"Verify Your Number",VERIFICATION_PHONE_DESCRIPTION:"Enter the 6 digit code we sent to your phone.",RESEND_CODE:"Resend Code",CALL_ME_INSTEAD:"Call me instead",COUNTRY_CODE:"Country Code",COUNTRY_CODES:"Country Codes",COUNTRY_NO_RESULTS:"No countries found.",EMAIL:"Email",USE_EMAIL:"Use Email",PHONE:"Phone",USE_PHONE:"Use Phone",VERIFY_BY:"Verify by",VERIFY_BY_EMAIL:"Verify by Email",VERIFY_BY_EMAIL_FORMATTED:"Verify by\n**Email**",ENTER_EMAIL_BODY:"In order to verify your email address, you must first enter an email address.",VERIFY_EMAIL_BODY:"Please check your email and follow the instructions to verify your account.  If you did not receive an email or if it expired, you can resend one.",VERIFY_EMAIL_BODY_RESENT:"\n  We have sent you a new verification email to **!!{email}!!**, please check both your inbox and spam folder.\n  ",VERIFY_EMAIL:"Verify Email",VERIFY_ACCOUNT:"Verify Account",VERIFICATION_TITLE:"Something's Going on Here",VERIFICATION_BODY:"We've detected something out of the ordinary going on.\nTo continue using Discord, **we will need you to verify your account.**",VERIFICATION_BODY_ALT:"Now, let's make sure you're human...",VERIFICATION_FOOTER:"Think you're seeing this by mistake?",VERIFICATION_FOOTER_SUPPORT:"[Support]({supportURL})",VERIFICATION_FOOTER_LOGOUT:"[Log Out](logoutOnClick)",VERIFY_BY_PHONE_FORMATTED:"Verify by\n**Phone**",RESEND_EMAIL:"Resend my verification email!",CHANGE_EMAIL:"Click here to change your email",CHANGE_EMAIL_SHORT:"Change Email",ADD_EMAIL:"Add an Email",ADD_EMAIL_SHORT:"Add Email",ADD_EMAIL_DESCRIPTION:"Some Discord features require your account to have a verified email.",ADD_EMAIL_BANNER_TITLE:"Add an email to your account",VERIFY_YOUR_EMAIL:"Verify your email",RESEND_EMAIL_SHORT:"Resend Email",ENTER_CODE:"Enter your confirmation code",VERIFY_PHONE_FOR_SUPPORT:"Please enter the 6 digit code sent to you and reenter your phone number.",DURATION_SECONDS:"{seconds, plural, =1 {1 second} other {{seconds} seconds}}",DURATION_MINUTES:"{minutes, plural, =1 {1 minute} other {{minutes} minutes}}",DURATION_HOURS:"{hours, plural, =1 {1 hour} other {{hours} hours}}",DURATION_DAYS:"{days, plural, =1 {1 day} other {{days} days}}",DURATION_MINS:"{mins, plural, =1 {1 min} other {{mins} mins}}",DURATION_SECONDS_SHORT:"{seconds, plural, =1 {1s} other {{seconds}s}}",DURATION_MINUTES_SHORT:"{minutes, plural, =1 {1m} other {{minutes}m}}",DURATION_HOURS_SHORT:"{hours, plural, =1 {1h} other {{hours}h}}",DURATION_HOURS_MINUTES_SECONDS:"{hours} h {minutes} m {seconds} s",REPORT_MODAL_REPORT_MESSAGE:"Report a message",REPORT_MODAL_MESSAGE_SELECTED:"Message Selected",REPORT_MODAL_TYPE_TITLE:"What can we help you with?",REPORT_MODAL_SELECT_ONE:"Select one",REPORT_MODAL_SUBMIT:"Submit",REPORT_MODAL_SUBJECT:"Subject",REPORT_MODAL_DESCRIPTION:"Description",REPORT_MODAL_ERROR:"There was an error submitting your report. Please try again or click [here]({tnsReportUrl}) to submit online.",REPORT_MODAL_SUBMITTED:"Report Submitted",REPORT_MODAL_SUBMITTED_EMAIL_CONFIRMATION:"Thank you for notifying us. You’ll receive an email confirmation shortly.",REPORT_MODAL_DESCRIPTION_MIN_MAX:"{min, number} character minimum, {max} character maximum",REPORT_MODAL_DESCRIPTION_MAX_EXCEEDED:"You are over the maximum character limit.",REPORT_MODAL_SHOULD_DELETE:"Do you want to delete this message?",REPORT_MODAL_SHOULD_BLOCK:"Do you want to block this user?",REPORT_MODAL_BLOCK_USER:"Block user",REPORT_MODAL_REPORT_STAGE_MENU_ITEM:"Report Stage",MOBILE_REPORTS_BREADCRUMBS_TITLE:"Report Category",MOBILE_REPORTS_MESSAGE_PREVIEW_TITLE:"Selected Message",MOBILE_REPORTS_STAGE_CHANNEL_PREVIEW_TITLE:"Selected Stage",MOBILE_REPORTS_SUBMIT_REPORT:"Submit Report",MOBILE_REPORTS_SUBMIT_INFO_TEXT:"By submitting this report you confirm that it is truthful and made in good faith. Please follow our [Community Guidelines](https://discord.com/guidelines) and do not submit false or duplicate reports.",MOBILE_REPORTS_BLOCK_ELEMENT_HEADER:"More you can do",MOBILE_REPORTS_BLOCK_ELEMENT_DESCRIPTION:"This is who posted the message you reported. Block them to stop seeing any of their messages.",MOBILE_REPORTS_SUBMIT_FAILED:"There was an error trying to submit this report. Please try again!",FORM_LABEL_PUSH_AFK_TIMEOUT:"Push Notification Inactive Timeout",FORM_DESCRIPTION_PUSH_AFK_TIMEOUT:"\nDiscord avoids sending push notifications to your mobile device when you are at your computer.\nUse this setting to control how long you need to be inactive on desktop for before you receive push notifications.\n",USER_SETTINGS_NOTIFICATIONS_SHOW_BADGE_LABEL:"Enable Unread Message Badge",USER_SETTINGS_NOTIFICATIONS_SHOW_BADGE_BODY:"Shows a red badge on the app icon when you have unread messages.",USER_SETTINGS_NOTIFICATIONS_SHOW_FLASH_LABEL:"Enable Taskbar Flashing",USER_SETTINGS_NOTIFICATIONS_SHOW_FLASH_BODY:"Flashes the app in your taskbar when you have new notifications.",USER_SETTINGS_NOTIFICATIONS_PREVIEW_SOUND:"Preview sound",CHANNEL_TYPE:"Channel Type",TEXT_CHANNEL:"Text Channel",STORE_CHANNEL:"Store Channel",NEWS_CHANNEL:"Announcement Channel",DM:"Direct Message",GROUP_DM:"Group DM",STAGE_CHANNEL:"Stage Channel",CATEGORY:"Category",TEXT_CHANNEL_DESC:"Post images, GIFs, stickers, opinions, and puns",VOICE_CHANNEL_DESC:"Connect to live audio for group conversations",NEWS_CHANNEL_DESC:"A text channel that can post to servers following it",STAGE_CHANNEL_DESC:"A voice channel for hosting events with an audience",WHATS_NEW:"What's New",WHATS_NEW_DATE:"{date, date, long}",EDIT_CATEGORY:"Edit Category",CATEGORY_NAME:"Category Name",HIDE_MUTED_CHANNELS:"Hide Muted Channels",SHOW_MUTED_CHANNELS:"Show Muted Channels",COLLAPSE_CATEGORY:"Collapse Category",COLLAPSE_ALL_CATEGORIES:"Collapse All Categories",CHANNEL_OR_CATEGORY:"Channel or Category",CREATE_CATEGORY:"Create Category",MUTE_CATEGORY:"Mute Category",UNMUTE_CATEGORY:"Unmute Category",NO_CATEGORY:"No Category",IN_CATEGORY:"in !!{categoryName}!!",NUM_CHANNELS:"{num, plural, =1 {{num} channel} other {{num} channels}}",ADD_CHANNEL_TO_OVERRIDE:"Add a channel to override its default notification settings",ADD_CHANNEL_OR_CATEGORY:"Add a Channel or Category",ADD_OVERRIDE:"Add Override",NEW_OVERRIDE:"New Override",SELECT_CHANNEL_OR_CATEGORY:"Select a channel or category…",NOTIFICATION_OVERRIDES:"Notification Overrides",PRIVATE_CHANNEL:"Private Channel",CATEGORY_SETTINGS:"Category Settings",PRIVATE_CATEGORY:"Private Category",PRIVATE_CHANNEL_NOTE:"By making a channel private, only selected roles will have access to read or connect to this channel.",PRIVATE_CATEGORY_NOTE:"By making a category private, all locked channels within it will inherit permissions.",CHAT_ATTACH_UPLOAD_A_FILE:"Upload a File",CHAT_ATTACH_UPLOAD_OR_INVITE:"Upload a file or send invites",CHAT_ATTACH_INVITE_TO_PLAY_GAME:"Invite !!{channel}!! to Play !!{game}!!",CHAT_ATTACH_INVITE_TO_LISTEN:"Invite !!{channel}!! to Listen to !!{name}!!",CHAT_ATTACH_INVITE_TO_WATCH:"Invite !!{channel}!! to Watch !!{name}!!",CHANNEL_LOCKED_TO_CATEGORY:"Permissions synced with category: **{categoryName}**",PERMISSIONS_UNSYNCED:"Permissions not synced with category: **{categoryName}**",CONFIRM_CHANNEL_DRAG_TITLE:"Sync permissions?",SYNC_PERMISSIONS:"Sync Permissions",SYNC_NOW:"Sync Now",SYNC_PERMISSIONS_EXPLANATION:"Would you like to sync **{channelName}** permissions with **{categoryName}**?",KEEP_PERMISSIONS:"Keep Current Permissions",NEVERMIND:"Never Mind",GIF:"GIF",USER_ACTIVITY_HEADER_PLAYING:"Playing a game",USER_ACTIVITY_HEADER_LIVE_ON_PLATFORM:"Live on !!{platform}!!",USER_ACTIVITY_HEADER_PLAYING_ON_PLATFORM:"Playing on !!{platform}!!",USER_ACTIVITY_HEADER_WATCHING:"Watching !!{name}!!",USER_ACTIVITY_HEADER_LISTENING:"Listening to !!{name}!!",USER_ACTIVITY_HEADER_STREAMING_TO_GUILD:"Streaming to !!{server}!!",USER_ACTIVITY_HEADER_STREAMING_TO_DM:"Streaming",USER_ACTIVITY_HEADER_COMPETING:"Competing in !!{name}!!",USER_ACTIVITY_STATE_SIZE:"({count} of {max})",USER_ACTIVITY_TIMESTAMP_END_SIMPLE:"{timeDelta} left",USER_ACTIVITY_TIMESTAMP_START_SIMPLE:"{timeDelta} elapsed",USER_ACTIVITY_TIMESTAMP_END:"{hours, plural, =-1 {} other {{hours}:}}{minutes, plural, =-1 {} other {{minutes}:}}{seconds, plural, =-1 {} other {{seconds}}} left",USER_ACTIVITY_TIMESTAMP_START:"{hours, plural, =-1 {} other {{hours}:}}{minutes, plural, =-1 {} other {{minutes}:}}{seconds, plural, =-1 {} other {{seconds}}} elapsed",USER_ACTIVITY_USER_PLAYING_FOR_MINUTES:"for {time, number} {time, plural, =1 {minute} other {minutes}}",USER_ACTIVITY_USER_PLAYING_FOR_HOURS:"for {time, number} {time, plural, =1 {hour} other {hours}}",USER_ACTIVITY_USER_PLAYING_FOR_DAYS:"for {time, number} {time, plural, =1 {day} other {days}}",USER_ACTIVITY_ACTION_NOTIFY_ME:"Notify Me",USER_ACTIVITY_ACTION_ASK_TO_JOIN:"Ask to Join",USER_ACTIVITY_ACTION_INVITE_TO_JOIN:"Invite to Join",USER_ACTIVITY_ACTION_INVITE_TO_LISTEN_ALONG:"Invite to Listen Along",USER_ACTIVITY_ACTION_ASK_TO_JOIN_USER:"Ask to Join !!{name}!!",USER_ACTIVITY_ACTION_DOWNLOAD_APP:"Download",USER_ACTIVITY_CANNOT_JOIN_SELF:"You can't join yourself",USER_ACTIVITY_NOT_DETECTED:"{name} is not detected",USER_ACTIVITY_ACTION_FAILED_TO_LAUNCH:"Game Failed to Launch",USER_ACTIVITY_LISTEN_ALONG:"Listen Along",USER_ACTIVITY_WATCH_ALONG:"Watch Along",USER_ACTIVITY_PLAY_ON_PLATFORM:"Play on {platform}",USER_ACTIVITY_CONNECT_PLATFORM:"Connect {platform}",USER_ACTIVITY_CANNOT_PLAY_SELF:"You played yourself. Wait, you can't.",USER_ACTIVITY_CANNOT_SYNC_SELF:"Listen along with someone else, not yourself.",USER_ACTIVITY_ALREADY_PLAYING:"You're already playing this.",USER_ACTIVITY_ALREADY_SYNCING:"You're already along for this ride.",USER_ACTIVITY_INVITE_REQUEST_REQUESTED:"**!!{username}!!** wants to join you in **!!{game}!!**.",USER_ACTIVITY_INVITE_REQUEST_SENT:"**!!{game}!!** invite sent to **!!{username}!!**.",USER_ACTIVITY_INVITE_REQUEST_WAITING:"Asking to join **!!{username}!!**'s game...",USER_ACTIVITY_INVITE_REQUEST_RECEIVED:"**!!{username}!!** wants you to join their game!",USER_ACTIVITY_INVITE_REQUEST_EXPIRED:"**!!{username}!!** didn't accept your request. Maybe next time!",USER_ACTIVITY_INVITE_TO_JOIN:"Invite to Join {name}",USER_ACTIVITY_JOINING:"Joining",USER_ACTIVITY_RESPOND_YEAH:"Yeah",USER_ACTIVITY_RESPOND_NOPE:"Nope",USER_ACTIVITY_ACCEPT_INVITE:"Launch game and join",USER_ACTIVITY_NEVER_MIND:"Never mind",USER_ACTIVITY_CHAT_INVITE_EDUCATION:"**!!{game}!!** supports game invites. [Dismiss](dismissOnClick)",USER_ACTIVITY_LISTENING_ARTISTS:"by $[!!{artists}!!](artistsHook)",USER_ACTIVITY_LISTENING_ALBUM:"on $[!!{album}!!](albumHook)",USER_ACTIVITY_LISTEN_ALONG_DESCRIPTION:"Listen along with !!{name}!!",USER_ACTIVITY_USER_JOIN:"**!!{username}!!** is joining your game via Discord.",USER_ACTIVITY_USER_JOIN_HINT:"This may take a moment while their game launches.",USER_ACTIVITY_STAGE_STATE_SIZE:"{numSpeakers, number} speakers, {numListeners, number} listeners",INVITE_EMBED_GAME_INVITE:"Game Invite",INVITE_EMBED_LISTENING_INVITE:"Listen Along Invite",INVITE_EMBED_ASK_TO_JOIN:"Ask to Join",INVITE_EMBED_INVITE_TO_JOIN:"Invite to Join",INVITE_EMBED_INVITE_TO_JOIN_GROUP:"Invite to Join Group",INVITE_EMBED_INVITE_TO_LISTEN:"Invite to Listen Along on {name}",INVITE_EMBED_INVITE_TO_WATCH:"Invite to Watch {name}",INVITE_EMBED_NUM_OPEN_SLOTS:"{number, number} open {number, plural, =1 {slot} other {slots}}",INVITE_EMBED_GAME_HAS_ENDED:"Game has ended",INVITE_EMBED_LISTEN_HAS_ENDED:"The listening party is over!",INVITE_EMBED_WATCH_HAS_ENDED:"The watching party is over!",INVITE_EMBED_FULL_GROUP:"Full group",INVITE_EMBED_JOIN_VIA_DESKTOP_APP:"Join via Desktop App",INVITE_EMBED_JOIN_VIA_IOS:"Join via iOS",INVITE_EMBED_JOIN_VIA_ANDROID:"Join via Android",INVITE_EMBED_JOIN_VIA_XBOX:"Join via Xbox",INVITE_EMBED_IN_GROUP:"Joined group",INVITE_EMBED_SEND_INVITE:"Send Invite",INVITE_EMBED_JOINED:"Joined",GIFT_EMBED_TITLE:"A wild gift appears!",GIFT_EMBED_TITLE_SUBSCRIPTION:"You've been gifted a subscription!",GIFT_EMBED_TITLE_SELF:"You sent a gift!",GIFT_EMBED_TITLE_SUBSCRIPTION_SELF:"You gifted a subscription!",GIFT_EMBED_BODY_DEFAULT:"**!!{username}!!** has gifted you a game. Accept the gift to add it to your library.",GIFT_EMBED_BODY_NO_USER_DEFAULT:"You've been gifted a game. Accept the gift to add it to your library.",GIFT_EMBED_BODY_SUBSCRIPTION_DEFAULT_MONTHS:"**!!{username}!!** has gifted you {skuName} for **{intervalCount, plural, =1 {# month} other {# months}}**!",GIFT_EMBED_BODY_SUBSCRIPTION_NO_USER_DEFAULT_MONTHS:"You've been gifted {skuName} for **{intervalCount, plural, =1 {# month} other {# months}}**!",GIFT_EMBED_BODY_SUBSCRIPTION_DEFAULT_YEARS:"**!!{username}!!** has gifted you {skuName} for **{intervalCount, plural, =1 {# year} other {# years}}**!",GIFT_EMBED_BODY_SUBSCRIPTION_NO_USER_DEFAULT_YEARS:"You've been gifted {skuName} for **{intervalCount, plural, =1 {# year} other {# years}}**!",GIFT_EMBED_BODY_SELF:"If you want to claim this gift for yourself, go right ahead. We won't judge :)",GIFT_EMBED_BODY_SELF_NOT_REDEEMABLE:"Thanks for giving the gift of !!{skuName}!!.",GIFT_EMBED_BODY_SUBSCRIPTION_ALREADY_ACTIVE:"This gift cannot be redeemed with an existing subscription.",GIFT_EMBED_BODY_CLAIMED_SELF:"It looks like you already claimed this gift. {skuName} is in your [Library](onViewInLibrary).",GIFT_EMBED_BODY_CLAIMED_SELF_MOBILE:"Looks like you already claimed this gift.",GIFT_EMBED_BODY_CLAIMED_SELF_SUBSCRIPTION:"Looks like you already claimed this gift.",GIFT_EMBED_BODY_CLAIMED_OTHER:"Hmm, it seems someone already claimed this gift.",GIFT_EMBED_BODY_OWNED:"Oops! You can't claim {skuName} because you already own it. [View in Library](onViewInLibrary)",GIFT_EMBED_BODY_SUBSCRIPTION_MISMATCH:"Oops! You're unable to accept this gift because you're already subscribed to {planName}.",GIFT_EMBED_BODY_REQUIRES_VERIFICATION:"[Verify your account](onClick) before claiming this gift.",GIFT_EMBED_BODY_GIVEAWAY:"**!!{username}!!** is giving away {totalCopies, number} copies of {skuName}. Claim your gift before they're gone!",GIFT_EMBED_BODY_NO_USER_GIVEAWAY:"{totalCopies, number} copies of {skuName} are up for grabs! Claim your gift before they're gone!",GIFT_EMBED_EXPIRATION:"Expires in {hours, plural, =1 {# hour} other {# hours}}",GIFT_EMBED_BODY_SUBSCRIPTION_GIVEAWAY:"**!!{username}!!** is giving away {maxUses, number} subscriptions to {skuName}. Claim your gift before they're gone! Wahoooo!!!",GIFT_EMBED_BODY_SUBSCRIPTION_NO_USER_GIVEAWAY:"{maxUses, number} copies of {skuName} are up for grabs! Claim your gift before they're gone! Wahoooo!!!",GIFT_EMBED_COPIES_LEFT:"{remaining, number} of {total, number} copies left",GIFT_EMBED_SUBSCRIPTIONS_LEFT:"{remaining, number} of {total, number} subscriptions left",GIFT_EMBED_BUTTON_ACCEPT:"Accept",GIFT_EMBED_BUTTON_CLAIMED:"Claimed",GIFT_EMBED_BUTTON_CLAIMING:"Claiming",GIFT_EMBED_BUTTON_OWNED:"Owned",GIFT_EMBED_BUTTON_CANT_ACCEPT:"Can't Accept",GIFT_EMBED_HEADER_OWNER_INVALID:"You sent a gift, but...",GIFT_EMBED_HEADER_RECEIVER_INVALID:"You received a gift, but...",GIFT_EMBED_INFO_OWNER_INVALID:"Try sending another gift link!",GIFT_EMBED_INFO_RECEIVER_INVALID:"If you missed it, try asking for another link!",GIFT_EMBED_INVALID:"Gift Link Invalid",GIFT_EMBED_INVALID_TITLE_OTHER:"You received a gift, but...",GIFT_EMBED_INVALID_TITLE_SELF:"You sent a gift, but...",GIFT_EMBED_INVALID_TAGLINE_SELF:"The gift link has either expired or has been revoked. You can still create a new link to send again.",GIFT_EMBED_INVALID_TAGLINE_OTHER:"The gift link has either expired or has been revoked. The sender can still create a new link to send again.",GIFT_EMBED_RESOLVING:"Resolving gift",GIFT_EMBED_BODY_OWNED_MOBILE:"You already own this and cannot accept it.",GIFT_EMBED_BODY_REQUIRES_VERIFICATION_MOBILE:"Verify your account before claiming this gift.",GIFT_INVENTORY:"Gift Inventory",GIFT_INVENTORY_EXPIRES_IN:"Link expires in {hours, plural, =1 {# hour} other {# hours}}",GIFT_INVENTORY_EXPIRES_IN_MOBILE:"Link expires in {hours, plural, =1 {# hour} other {# hours}} - $[Revoke](revokeHook)",GIFT_INVENTORY_NO_GIFTS:"There are no gifts.",GIFT_INVENTORY_NO_GIFTS_SUBTEXT:"Feeling generous? Give someone the gift of [Nitro](onClick) and make their day!",GIFT_INVENTORY_NO_GIFTS_SUBTEXT_MOBILE:"Feeling generous? Give someone the gift of Nitro and make their day!",GIFT_INVENTORY_COPIES:"{copies, plural, =1 {# copy} other {# copies}}",GIFT_INVENTORY_REDEEM_CODES:"Redeem Codes",GIFT_INVENTORY_GENERATE_LINK:"Generate Link",GIFT_INVENTORY_GENERATE_LINK_IOS:"Generate",GIFT_INVENTORY_HIDDEN:"Gift code hidden. Use copy button.",GIFT_INVENTORY_GENERATE_HELP:"You have more gifts! Make another link?",GIFT_INVENTORY_SUBSCRIPTION_MONTHS:"{skuName} ({intervalCount, plural, =1 {# month} other {# months}})",GIFT_INVENTORY_SUBSCRIPTION_YEARS:"{skuName} ({intervalCount, plural, =1 {# year} other {# years}})",GIFT_INVENTORY_SELECT_NITRO_GIFT:"Select a Nitro Gift",GIFT_INVENTORY_SELECT_NITRO_CLASSIC_GIFT:"Select a Nitro Classic Gift",GIFT_INVENTORY_YOUR_GIFTS:"Your Gifts",GIFT_INVENTORY_GIFTS_YOU_PURCHASED:"Gifts You Purchased",GIFT_PURCHASE_GOOGLE_PLAY_NOTICE:"Currently, gifts cannot contribute towards subscriptions managed by the Google Play Store.",GIFT_PURCHASE_GOOGLE_PLAY_NOTICE_EXTENDED:"Currently, gifts cannot contribute towards subscriptions managed by the Google Play Store.\n\nRedeemed gifts can still contribute towards subscriptions purchased on our desktop or browser apps.",GIFT_CONFIRMATION_BODY_CONFIRM:"Once you accept, {skuName} will be yours FOR-EV-ERRRRRR!",GIFT_CONFIRMATION_BODY_CONFIRM_NITRO:"Once you accept you'll have credit for **{skuName}** for **{timeFrame}** *",GIFT_CONFIRMATION_BODY_CONFIRM_NITRO_DISCLAIMER:"*If you have a subscription through Google Play, you cannot apply this credit to your subscription at this time. [Learn more.]({helpdeskArticle})",GIFT_CONFIRMATION_BODY_SUBSCRIPTION_MONTHLY_CONFIRM:"Once you accept you will have {skuName} for **{intervalCount, plural, =1 {# month} other {# months}}**.",GIFT_CONFIRMATION_BODY_SUBSCRIPTION_YEARLY_CONFIRM:"Once you accept you will have {skuName} for **{intervalCount, plural, =1 {# year} other {# years}}**.",GIFT_CONFIRMATION_BUTTON_CONFIRM:"Heck Yeah! Add to Library",GIFT_CONFIRMATION_BUTTON_CONFIRM_SUBSCRIPTION:"I accept",GIFT_CONFIRMATION_BUTTON_CONFIRM_MOBILE:"Gimme",GIFT_CONFIRMATION_BUTTON_SUCCESS_MOBILE:"Noice!",GIFT_CONFIRMATION_BUTTON_GO_TO_LIBRARY:"Go to my Library",GIFT_CONFIRMATION_BUTTON_SUBSCRIPTION_SUCCESS:"Sweet!",GIFT_CONFIRMATION_BUTTON_FAIL:"Oh ok.",GIFT_CONFIRMATION_HEADER_CONFIRM:"Accept this gift?",GIFT_CONFIRMATION_HEADER_CONFIRM_NITRO:"You've been gifted {skuName}",GIFT_CONFIRMATION_HEADER_SUCCESS:"Noice!",GIFT_CONFIRMATION_HEADER_SUCCESS_NITRO:"You got {skuName}!",GIFT_CONFIRMATION_HEADER_FAIL:"*Sad Trombone*",GIFT_CONFIRMATION_BODY_CLAIMED:"You couldn't claim this gift because someone else beat you to the punch. That's jazz baby!",GIFT_CONFIRMATION_BODY_OWNED:"You couldn't claim this gift because you already have it. You can find it in [your library](onGoToLibrary).",GIFT_CONFIRMATION_BODY_UNKNOWN_ERROR:"Something funky happened and we failed to secure the bag...try again?",GIFT_CONFIRMATION_BODY_SELF_GIFT_NO_PAYMENT:"You can't accept this gift. You need to give this gift to someone else.",GIFT_CONFIRMATION_BODY_ERROR_NITRO_UPGRADE_DOWNGRADE:"Oops! You're unable to accept this gift because of your existing subscription.",GIFT_CONFIRMATION_BODY_ERROR_SUBSCRIPTION_MANAGED:"Unfortunately, since you have an active subscription through an external provider, you cannot accept Nitro gifts.",GIFT_CONFIRMATION_BODY_ERROR_INVOICE_OPEN:"Unfortunately, you're unable to accept this gift because your subscription has an open invoice.",GIFT_CONFIRMATION_BODY_INVALID:"Bummer! You couldn't claim this gift because it has been revoked.",GIFT_CONFIRMATION_BODY_SUCCESS:"{skuName} is now available in your library. Go forth and play!",GIFT_CONFIRMATION_BODY_SUCCESS_NITRO_CLASSIC_MOBILE:"Thanks to another generous human, you now have access to enhanced chat perks for {timeFrame}.",GIFT_CONFIRMATION_BODY_SUCCESS_NITRO_MOBILE:"Thanks to another generous human, you now have access to enhanced chat perks and Server Boosts for {timeframe}.",GIFT_CONFIRMATION_BODY_SUCCESS_PREMIUM_TIER_1_MONTHLY:"Thanks to another generous human, you now have access to enhanced chat perks for {intervalCount, plural, =1 {# month} other {# months}}.",GIFT_CONFIRMATION_BODY_SUCCESS_PREMIUM_TIER_1_YEARLY:"Thanks to another generous human, you now have access to enhanced chat perks for {intervalCount, plural, =1 {# year} other {# years}}.",GIFT_CONFIRMATION_BODY_SUCCESS_PREMIUM_TIER_2_MONTHLY:"Thanks to another generous human, you now have access to enhanced chat perks and Server Boosts for {intervalCount, plural, =1 {# month} other {# months}}.",GIFT_CONFIRMATION_BODY_SUCCESS_PREMIUM_TIER_2_YEARLY:"Thanks to another generous human, you now have access to enhanced chat perks and Server Boosts for {intervalCount, plural, =1 {# year} other {# years}}.",GIFT_CONFIRMATION_BODY_SUCCESS_GENERIC_SUBSCRIPTION_MONTHLY:"Thanks to another generous human, you now have {skuName} for {intervalCount, plural, =1 {# month} other {# months}}.",GIFT_CONFIRMATION_BODY_SUCCESS_GENERIC_SUBSCRIPTION_YEARLY:"Thanks to another generous human, you now have {skuName} for {intervalCount, plural, =1 {# year} other {# years}}.",GIFT_CONFIRMATION_BODY_SUCCESS_MOBILE:"**{skuName}** has been added to your library.",GIFT_CONFIRMATION_NITRO_TIME_FRAME_YEARS:"{time, plural, =1 {# year} other {# years}}",GIFT_CONFIRMATION_NITRO_TIME_FRAME_MONTHS:"{time, plural, =1 {# month} other {# months}}",GIFT_CONFIRMATION_BUTTON_NOICE:"Noice!",GIFT_CODE_AUTH_INVALID_BODY:"This gift code may be expired or you might have the wrong code.",GIFT_CODE_AUTH_INVALID_TITLE:"Gift Code Invalid",GIFT_CODE_AUTH_VERIFICATION_TITLE:"Welcome !!{username}!!",GIFT_CODE_AUTH_INVALID_TIP:"Why is my gift code invalid?",GIFT_CODE_AUTH_ACCEPT:"Woo! Accept Gift",GIFT_CODE_AUTH_CONTINUE_IN_BROWSER:"Continue in browser",GIFT_CODE_AUTH_HELP_TEXT_VERIFICATION_REQUIRED:"To accept this gift you must have a verified email address. Check your email to verify your account.",GIFT_CODE_AUTH_CHECK_VERIFICATION_AGAIN:"Already verified you say? Click here to check again...",GIFT_CODE_AUTH_HELP_TEXT_OWNED:"You already have this game. Find it in [your library.]({libraryLink})",GIFT_CODE_AUTH_HELP_TEXT_CLAIMED:"This gift has already been claimed.",GIFT_CODE_AUTH_GIFTED_BY:"!!{username}!! gifted you",GIFT_CODE_AUTH_GIFTED:"You've been gifted",GIFT_CODE_AUTH_GIFTED_SUBSCRIPTION_MONTHLY:"{skuName} for {intervalCount, plural, =1 {# month} other {# months}}",GIFT_CODE_AUTH_GIFTED_SUBSCRIPTION_YEARLY:"{skuName} for {intervalCount, plural, =1 {# year} other {# years}}",GIFT_CODE_AUTH_ACCEPTING:"Accepting",GIFT_CODE_AUTH_RESOLVING:"Retrieving your gift from cyberspace",GIFT_CODE_AUTH_FETCHING_USER:"Checking your ID",GIFT_CODE_AUTH_VERIFICATION_SENT:"Sent!",GIFT_CODE_AUTH_LOGGED_IN_AS:"You are accepting this gift as **!!{userTag}!!**. [Wrong account?](onLogoutClick)",GIFT_CODE_CANNOT_ACCEPT_BODY_IOS:"Sorry, you cannot accept your own gift on iOS.",PREORDER_SKU_NAME:"!!{name}!! (Preorder)",ADD_A_COMMENT_OPTIONAL:"Add a Comment (Optional)",MESSAGE_PREVIEW:"Message Preview",CHANGE_CATEGORY:"Change Category",UNCATEGORIZED:"Uncategorized",MOVE_FROM_CATEGORY_TO:"Move from {categoryName} to",RTC_DEBUG_OPEN:"Open Debug Panel",RTC_DEBUG_CONTEXT:"RTC Debug: {context}",RTC_DEBUG_TRANSPORT:"Transport",RTC_DEBUG_RTP_OUTBOUND:"Outbound",RTC_DEBUG_RTP_INBOUND:"Inbound",RTC_DEBUG_SCREENSHARE:"Screen Share",MENTIONS:"Mentions",MENTIONS_AND_QUICKSWITCHER:"Mentions and Quickswitcher",CATEGORIES:"Categories",NUX_NAVIGATION_HELP_GUILD:"A server is a superpowered group chat where people come together to hang out",NUX_NAVIGATION_HELP_CHANNELS:"Servers are made up of channels; places where people talk about different topics",NUX_NAVIGATION_HELP_DMS:"Add friends and chat with them directly",NUX_POST_REG_JOIN_SERVER_TITLE:"Do you have an invite?",NUX_POST_REG_JOIN_SERVER_DESCRIPTION:"Get the most out of Discord by joining a server.",NUX_POST_REG_JOIN_SERVER_SKIP:"I don't have one",NUX_OVERLAY_TITLE:"Meet the Mobile Voice Overlay!",NUX_OVERLAY_DESCRIPTION:"See who's talking and access shortcuts while using other apps—no need to switch back to Discord.",NUX_OVERLAY_ENABLE:"Enable Overlay",NUX_SAMSUNG_GAME_PRESENCE_LINK_TITLE:"What are you playing?!",NUX_SAMSUNG_GAME_PRESENCE_LINK_DESCRIPTION:"Let friends see when you’re gaming by linking your account with Samsung and enabling Mobile Game Detection.",NUX_SAMSUNG_GAME_PRESENCE_LINK_ENABLE:"Let's do it",CRASH_UNEXPECTED:"Discord has crashed unexpectedly.",CRASH_TESTERS_INVITE:"Not all is lost! Join us at {testers} and let us know what happened. We'll get right on it.",CRASH_DISCLAIMER:"Please note that using apps which attempt to customize your device's UI are not officially supported and may cause undesired behavior.",CRASH_DETAILS:"Crash Details",CRASH_APP_VERSION:"App Version: {version}",CRASH_DEVICE:"Device: {device}",CRASH_DEVICE_VERSION:"Device Version: {version}",CRASH_TIMESTAMP:"Crash Timestamp: {timestamp}",CRASH_SOURCE:"Crash Source: {source}",CAPTCHA:"Captcha",VERIFY_BY_RECAPTCHA:"Verify by reCaptcha",VERIFY_BY_HCAPTCHA:"Verify by hCaptcha",VERIFY_BY_RECAPTCHA_DESCRIPTION:"We need to know you're not a robo.",CAPTCHA_FAILED:"The captcha failed. Please try again.",CAPTCHA_FAILED_UNSUPPORTED:"The captcha failed, your device is unsupported.",CAPTCHA_FAILED_PLAY_SERVICES:"The captcha failed, Google Play Services is required.  After installing or updating please restart the app and try again.",VERIFY:"Verify",CAPTCHA_ISSUES:"Having issues with CAPTCHA?",CAPTCHA_PROBLEMS:"CAPTCHA Problems?",CAPTCHA_PROBLEMS_INFO:"If you're unable to complete the CAPTCHA, try doing it in your browser",CAPTCHA_OPEN_BROWSER:"Open Browser",SPOTIFY_CONNECTION_INFO_ANDROID:"To enable Spotify Status on Android, be sure to enable **Device Broadcast Status** within the Spotify app's settings. This will not update your status while the Discord app is in the background.",SPOTIFY_LISTEN_ALONG_TITLE_HOST:"{count, number} {count, plural, =1 {Listener} other {Listeners}}",SPOTIFY_LISTEN_ALONG_TITLE_LISTENER:"Listening Along",SPOTIFY_LISTEN_ALONG_SUBTITLE_LISTENER:"on Spotify",SPOTIFY_LISTEN_ALONG_STOP:"Stop",SPOTIFY_LISTEN_ALONG_HOST:"Host",SPOTIFY_LISTEN_ALONG_LISTENER:"Listener",SPOTIFY_LISTEN_ALONG_LISTENERS:"Listeners",SPOTIFY_LISTEN_ALONG_LISTENING_ALONG_COUNT:"{count, number} Listening Along",SPOTIFY_LISTEN_ALONG_INFO:"What's this?",XBOX_AUTHORIZATION_TITLE:"Xbox Account Authorization",LINK_YOUR_XBOX_ACCOUNT_1:"Link your Xbox account to Discord to show what game you're playing.",LINK_YOUR_XBOX_ACCOUNT_2:"Discord is a voice, text, and video chat app that's free, secure, and works on both desktop and mobile.",XBOX_PIN_STEP1:"Open the Discord app on your phone",XBOX_PIN_STEP2:"Go to Settings > Connections > Add",XBOX_PIN_STEP3:"Click on Xbox and enter the PIN above",XBOX_LINK:"Link",CONNECTION_LOGIN_WITH:"or login with",CONNECTION_LOGIN_MICROSOFT:"Microsoft",CONNECTION_ENTER_CODE:"Enter the code as it appears on your screen",CONNECTION_INVALID_PIN:"Invalid pin code entered",DISCORD_RICH_PRESENCE:"Discord Rich Presence",LINK_YOUR_DISCORD_ACCOUNT:"Link your Discord Account",LOADING_YOUR_PIN:"Loading your pin",YOUR_PIN_EXPIRES:"Your pin expires {time}",YOUR_PIN_IS_EXPIRED:"Your pin has expired",STEP_NUMBER:"Step {number}",BROWSER_HANDOFF_DETECTING_TITLE:"Detecting Account",BROWSER_HANDOFF_AUTHENTICATING_TITLE:"Authenticating",BROWSER_HANDOFF_AUTHENTICATING_DESCRIPTION:"Attempting to authenticate the Discord desktop client. Do not close this window.",BROWSER_HANDOFF_DONE_TITLE:"Done",BROWSER_HANDOFF_DONE_SAFE_TO_CLOSE:"This window is safe to close now.",BROWSER_HANDOFF_FAILED_TITLE:"Authentication Failed",BROWSER_HANDOFF_SUCCESS_TITLE:"Hey !!{name}!!!",BROWSER_HANDOFF_SUCCESS_BODY:"Do you want to login with this account?",BROWSER_HANDOFF_SUCCESS_ACTION:"Continue as !!{name}!!",BROWSER_HANDOFF_SUCCESS_CANCEL:"Switch to another account?",GAME_ACTION_BUTTON_PLAY:"Play",GAME_ACTION_BUTTON_INSTALL:"Install",GAME_ACTION_BUTTON_UPDATE:"Update",GAME_ACTION_BUTTON_PAUSED:"Paused",GAME_ACTION_BUTTON_LOCATE:"Locate",GAME_ACTION_BUTTON_QUEUED:"Queued",GAME_ACTION_BUTTON_DOWNLOADING:"Downloading",GAME_ACTION_BUTTON_VIEW_IN_STORE:"View in Store",GAME_ACTION_BUTTON_ADD_TO_LIBRARY:"Add to library",GAME_ACTION_BUTTON_UNAVAILABLE:"Unavailable",GAME_ACTION_BUTTON_GAME_NOT_DETECTED:"Game not detected",GAME_ACTION_BUTTON_PLAY_DISABLED_DESKTOP_APP:"Launch via Desktop App",GAME_ACTION_BUTTON_CANNOT_INSTALL:"Not installable",GAME_ACTION_BUTTON_LOGIN_TO_BUY:"Log In to Buy",GAME_ACTION_BUTTON_NOW_PLAYING:"Now Playing",GAME_ACTION_BUTTON_UNAVAILABLE_TOOLTIP:"Available on {operatingSystem}",GAME_ACTION_BUTTON_RESTRICTED_IN_REGION:"Unavailable in Your Country",GAME_ACTION_BUTTON_PREORDER_WAIT:"Coming Soon",GAME_ACTION_BUTTON_PREORDER_WAIT_TOOLTIP:"Available !!{date}!!",GAME_ACTION_BUTTON_UNINSTALLING_1:"Uninstalling",GAME_ACTION_BUTTON_UNINSTALLING_2:"Obliterating",GAME_ACTION_BUTTON_UNINSTALLING_3:"Vaporizing",GAME_ACTION_BUTTON_UNINSTALLING_4:"Destroying",GAME_ACTION_BUTTON_UNINSTALLING_5:"Terminating",GAME_ACTION_BUTTON_UNINSTALLING_6:"Annihilating",GAME_ACTION_BUTTON_UNINSTALLING_7:"Dismantling",GAME_ACTION_BUTTON_UNINSTALLING_8:"Deleting",GAME_ACTION_BUTTON_UNINSTALLING_9:"Razing",GAME_ACTION_BUTTON_UNINSTALLING_10:"Expunging",GAME_FEED_CURRENT_HEADER_TITLE:"Active Now",GAME_FEED_ACTIVITY_ACTION_PLAY:"Play",GAME_FEED_ACTIVITY_PLAYING_XBOX:"Playing on Xbox",GAME_FEED_ACTIVITY_STREAMING_TWITCH:"Streaming on Twitch",GAME_FEED_USER_PLAYING_JUST_STARTED:"Just started playing",GAME_FEED_USER_PLAYING_FOR_MINUTES:"Playing for {time, number} {time, plural, =1 {minute} other {minutes}}",GAME_FEED_USER_PLAYING_FOR_HOURS:"Playing for {time, number} {time, plural, =1 {hour} other {hours}}",GAME_FEED_USER_PLAYING_FOR_DAYS:"Playing for {time, number} {time, plural, =1 {day} other {days}}",GAME_FEED_USER_PLAYING_JUST_ENDED:"Just stopped playing",GAME_FEED_USER_PLAYED_MINUTES_AGO:"Played {time, number} {time, plural, =1 {minute} other {minutes}} ago",GAME_FEED_USER_PLAYED_HOURS_AGO:"Played {time, number} {time, plural, =1 {hour} other {hours}} ago",GAME_FEED_USER_PLAYED_DAYS_AGO:"Played {time, number} {time, plural, =1 {day} other {days}} ago",GAME_FEED_USER_PLAYED_WEEKS_AGO:"Played {time, number} {time, plural, =1 {week} other {weeks}} ago",GAME_FEED_USER_PLAYED_MONTHS_AGO:"Played {time, number} {time, plural, =1 {month} other {months}} ago",GAME_FEED_USER_PLAYED_YEARS_AGO:"Played {time, number} {time, plural, =1 {year} other {years}} ago",GAME_FEED_UNKNOWN_PLAYER:"Unknown Player",GAME_FEED_UNKNOWN_PLAYERS:"{count, plural, one {# Unknown Player} other {# Unknown Players}}",GAME_POPOUT_VIEW_SERVER:"View Server",GAME_POPOUT_FOLLOW:"Follow",GAME_POPOUT_NITRO_UPSELL:"Use anywhere with Nitro",APPLICATION_LIBRARY_MY_GAMES:"My Games",APPLICATION_LIBRARY_INVENTORY:"Gift Inventory",APPLICATION_LIBRARY_FILTER_PLACEHOLDER:"Filter",APPLICATION_LIBRARY_EMPTY_SEARCH_DESCRIPTION:"After looking far and wide, we couldn't find any games matching **!!{query}!!**...",APPLICATION_LIBRARY_EMPTY_STATE_HEADER:"No games found",APPLICATION_LIBRARY_EMPTY_STATE_DESCRIPTION_NO_IMPORT:"Hm, seems you don't have any games. Purchase games and they'll show up here!",APPLICATION_LIBRARY_REMOVE_CONFIRM_HEADER:"Hide from library",APPLICATION_LIBRARY_REMOVE_CONFIRM_BODY:"!!{name}!! will be hidden from your library. You can show it again from the Game Library settings page.",APPLICATION_LIBRARY_REMOVE_CONFIRM_CONFIRM:"I'm Sure",APPLICATION_PROGRESS_INDICATOR_PAUSED:"Paused",APPLICATION_PROGRESS_INDICATOR_INSTALLING:"Downloading !!{name}!!",APPLICATION_PROGRESS_INDICATOR_INSTALLING_SECONDS:"Downloading !!{name}!! - {timeRemaining, plural, =1 {wrapping up} other {# seconds remaining}}",APPLICATION_PROGRESS_INDICATOR_INSTALLING_MINUTES:"Downloading !!{name}!! - {timeRemaining, plural, =1 {# minute} other {# minutes}} remaining",APPLICATION_PROGRESS_INDICATOR_INSTALLING_HOURS:"Downloading !!{name}!! - {timeRemaining, plural, =1 {# hour} other {# hours}} remaining",APPLICATION_PROGRESS_INDICATOR_UPDATING:"Updating !!{name}!!",APPLICATION_PROGRESS_INDICATOR_UPDATING_SECONDS:"Updating !!{name}!! - {timeRemaining, plural, =1 {wrapping up} other {# seconds remaining}}",APPLICATION_PROGRESS_INDICATOR_UPDATING_MINUTES:"Updating !!{name}!! - {timeRemaining, plural, =1 {# minute} other {# minutes}} remaining",APPLICATION_PROGRESS_INDICATOR_UPDATING_HOURS:"Updating !!{name}!! - {timeRemaining, plural, =1 {# hour} other {# hours}} remaining",APPLICATION_CONTEXT_MENU_LAUNCH:"Play Game",APPLICATION_CONTEXT_MENU_LAUNCH_OPTIONS:"Show Launch Options",APPLICATION_CONTEXT_MENU_LAUNCH_APPLICATION_NAME:"Play !!{name}!!",APPLICATION_CONTEXT_MENU_SHOW:"Show Game in Library",APPLICATION_CONTEXT_MENU_HIDE:"Hide Game from Library",APPLICATION_CONTEXT_MENU_PRIVATE_STATUS:"Hide Playing Status",APPLICATION_CONTEXT_MENU_TOGGLE_OVERLAY_DISABLE:"Disable Overlay",APPLICATION_CONTEXT_MENU_INSTALL:"Install",APPLICATION_CONTEXT_MENU_REPAIR:"Repair",APPLICATION_CONTEXT_MENU_UNINSTALL:"Uninstall",APPLICATION_CONTEXT_MENU_SHOW_IN_FOLDER:"Show in Folder",APPLICATION_CONTEXT_MENU_CREATE_DESKTOP_SHORTCUT:"Create Desktop Shortcut",APPLICATION_UNINSTALL_PROMPT_TITLE:"Uninstall {gameName}?",APPLICATION_UNINSTALL_PROMPT_BODY:"Say goodbye to all of {gameName}'s data on your computer. Press the red button and it will be no more.",APPLICATION_UNINSTALL_PROMPT_CANCEL:"Nevermind",APPLICATION_UNINSTALL_PROMPT_CONFIRM:"Uninstall",PLAY_FULL_VIDEO:"Play Full Video",FILE_SIZE_KB:"{size, number} KB",FILE_SIZE_MB:"{size, number} MB",FILE_SIZE_GB:"{size, number} GB",FILE_RATE_KB:"{size, number} KB/S",FILE_RATE_MB:"{size, number} MB/S",GAME_LIBRARY_UPDATES_INSTALLING:"Downloading — {progress} of {total} (!!{percent, number}!!%)",GAME_LIBRARY_UPDATES_INSTALLING_SECONDS:"Downloading — {progress} of {total} (!!{percent, number}!!%) — {timeRemaining, plural, =1 {wrapping up} other {# seconds remaining}}",GAME_LIBRARY_UPDATES_INSTALLING_MINUTES:"Downloading — {progress} of {total} (!!{percent, number}!!%) — {timeRemaining, plural, =1 {1 minute} other {# minutes}} remaining",GAME_LIBRARY_UPDATES_INSTALLING_HOURS:"Downloading — {progress} of {total} (!!{percent, number}!!%) — {timeRemaining, plural, =1 {1 hour} other {# hours}} remaining",GAME_LIBRARY_UPDATES_UPDATING:"Patching — {progress} of {total} (!!{percent, number}!!%)",GAME_LIBRARY_UPDATES_UPDATING_UPDATING_SECONDS:"Patching — {progress} of {total} (!!{percent, number}!!%) — {timeRemaining, plural, =1 {wrapping up} other {# seconds remaining}}",GAME_LIBRARY_UPDATES_UPDATING_UPDATING_MINUTES:"Patching — {progress} of {total} (!!{percent, number}!!%) — {timeRemaining, plural, =1 {1 minute} other {# minutes}} remaining",GAME_LIBRARY_UPDATES_UPDATING_UPDATING_HOURS:"Patching — {progress} of {total} (!!{percent, number}!!%) — {timeRemaining, plural, =1 {1 hour} other {# hours}} remaining",GAME_LIBRARY_UPDATES_PROGRESS_PLANNING:"Planning — !!{percent, number}!!%",GAME_LIBRARY_UPDATES_PROGRESS_WAITING_FOR_ANOTHER:"Waiting for another download to pause — {progress} of {total} (!!{percent, number}!!%)",GAME_LIBRARY_UPDATES_PROGRESS_WAITING_FOR_ANOTHER_NO_TRANSITION:"Waiting for another download to pause",GAME_LIBRARY_UPDATES_PROGRESS_ALLOCATING_DISK:"Allocating Disk Space — (!!{percent, number}!!%)",GAME_LIBRARY_UPDATES_PROGRESS_FINALIZING:"Finalizing — !!{percent, number}!!%",GAME_LIBRARY_UPDATES_PROGRESS_PAUSING:"Pausing — {progress} of {total} (!!{percent, number}!!%)",GAME_LIBRARY_UPDATES_PROGRESS_VERIFYING:"Verifying Install — {progress} of {total} (!!{percent, number}!!%)",GAME_LIBRARY_UPDATES_PROGRESS_POST_INSTALL_SCRIPTS:"Running Scripts — {progress} of {total} (!!{percent, number}!!%)",GAME_LIBRARY_UPDATES_PROGRESS_PAUSED:"Paused — {progress} of {total} (!!{percent, number}!!%)",GAME_LIBRARY_UPDATES_PROGRESS_PAUSED_NO_TRANSITION:"Paused",GAME_LIBRARY_UPDATES_PROGRESS_QUEUED:"Queued — {progress} of {total} (!!{percent, number}!!%)",GAME_LIBRARY_UPDATES_PROGRESS_QUEUED_NO_TRANSITION:"Queued",GAME_LIBRARY_UPDATES_PROGRESS_FINISHED:"Finished — [Clear](remove)",GAME_LIBRARY_UPDATES_PROGRESS_REPAIRING:"Repairing — {progress} of {total} (!!{percent, number}!!%)",GAME_LIBRARY_UPDATES_ACTION_PAUSE:"Pause",GAME_LIBRARY_UPDATES_ACTION_RESUME:"Resume",GAME_LIBRARY_UPDATES_ACTION_REMOVE:"Remove",GAME_LIBRARY_UPDATES_ACTION_MOVE_UP:"Move Up",GAME_LIBRARY_NOT_APPLICABLE:"N/A",GAME_LIBRARY_LIST_HEADER_NAME:"Name",GAME_LIBRARY_LIST_HEADER_PLATFORM:"Platform",GAME_LIBRARY_LIST_HEADER_LAST_PLAYED:"Last Played",GAME_LIBRARY_UPDATES_HEADER_DISK:"Disk",GAME_LIBRARY_UPDATES_HEADER_NETWORK:"Network",GAME_LIBRARY_NEW:"new!",GAME_LIBRARY_PRIVATE_TOOLTIP:"Playing Status Hidden",GAME_LIBRARY_OVERLAY_DISABLED_TOOLTIP:"Overlay Disabled",GAME_LIBRARY_TIME_PLAYED_NONE:"never played",GAME_LIBRARY_TIME_PLAYED_SECONDS:"!!{time}!!  {time, plural, =1 {second} other {seconds}}",GAME_LIBRARY_TIME_PLAYED_MINUTES:"!!{time}!!  {time, plural, =1 {minute} other {minutes}}",GAME_LIBRARY_TIME_PLAYED_HOURS:"!!{time}!!  {time, plural, =1 {hour} other {hours}}",GAME_LIBRARY_LAST_PLAYED_NONE:"never played",GAME_LIBRARY_LAST_PLAYED_PLAYING_NOW:"now playing",GAME_LIBRARY_LAST_PLAYED_JUST_NOW:"just now",GAME_LIBRARY_LAST_PLAYED_MINUTES:"{time, plural, =1 {# minute} other {# minutes}} ago",GAME_LIBRARY_LAST_PLAYED_HOURS:"{time, plural, =1 {# hour} other {# hours}} ago",GAME_LIBRARY_LAST_PLAYED_DAYS:"{time, plural, =1 {yesterday} other {# days ago}}",GAME_LIBRARY_LAST_PLAYED_WEEKS:"{time, plural, =1 {last week} other {# weeks ago}}",GAME_LIBRARY_LAST_PLAYED_MONTHS:"{time, plural, =1 {last month} other {# months ago}}",GAME_LIBRARY_LAST_PLAYED_YEARS:"{time, plural, =1 {last year} other {# years ago}}",GAME_LIBRARY_NOTIFICATION_GAME_INSTALLED_TITLE:"Ready to Play",GAME_LIBRARY_NOTIFICATION_GAME_INSTALLED_BODY:"!!{name}!! finished installing. Have fun!",DISPATCH_GAME_LAUNCH_FAILED_LAUNCH_TARGET_NOT_FOUND:"Failed to launch game. Game executable not found. Please repair the game and try again.",GAME_LAUNCH_FAILED_LAUNCH_TARGET_NOT_FOUND:"Failed to launch game. Game executable was not found.",APPLICATION_CONTEXT_MENU_APPLICATION_ID:"Application ID",APPLICATION_CONTEXT_MENU_BRANCH_ID:"Branch ID",APPLICATION_CONTEXT_MENU_SKU_ID:"SKU ID",APPLICATION_INSTALLATION_MODAL_TITLE:"Install game",APPLICATION_INSTALLATION_MODAL_LOCATION:"Install location",APPLICATION_INSTALLATION_MODAL_SELECT_DIRECTORY:"Select a directory",APPLICATION_INSTALLATION_MODAL_NO_PERMISSION:"Unfortunately, we can't install this here. Choose another spot.",APPLICATION_INSTALLATION_MODAL_NOT_ENOUGH_SPACE:"Not enough disk space",APPLICATION_INSTALLATION_MODAL_DIRECTORY_WITH_SPACE:"!!{path}!! ({size} available)",APPLICATION_INSTALLATION_SPACE_USED:"{used} of disk space used",APPLICATION_STORE_LINK_COPIED:"Link Copied!",APPLICATION_STORE_BUY:"Buy",APPLICATION_STORE_BUY_GIFT:"Buy Gift",APPLICATION_STORE_BUY_AS_GIFT:"Buy as Gift",APPLICATION_STORE_BUY_FOR_PRICE:"Buy for !!{price}!!",APPLICATION_STORE_PREORDER:"Preorder",APPLICATION_STORE_PREORDER_AS_GIFT:"Preorder as Gift",APPLICATION_STORE_PREORDER_FOR_PRICE:"Preorder for !!{price}!!",APPLICATION_STORE_COMING_SOON:"Coming Soon",APPLICATION_STORE_RESTRICTED:"Unavailable in your region",APPLICATION_STORE_FREE_WITH_PREMIUM:"Free with Nitro",APPLICATION_STORE_FREE:"Free",APPLICATION_STORE_IN_LIBRARY:"In library",APPLICATION_STORE_GET_PREMIUM:"Subscribe",APPLICATION_STORE_FIRST_ON_DISCORD:"First On Discord",APPLICATION_STORE_ABOUT_HEADER:"About !!{name}!!",APPLICATION_STORE_THE_GAME_AWARDS_WINNER:"The Game Awards 2018 Winner",APPLICATION_STORE_LISTING_PURCHASE_GENERIC_ERROR:"Something went wrong. Please try again later or contact support.",APPLICATION_STORE_LISTING_PURCHASE_GENERIC_ERROR_SHORT:"Something went wrong.",APPLICATION_STORE_LISTING_PURCHASE_RATE_LIMIT_ERROR:"Woah there! You're adding games too fast. Give us some time to catch up and then try again.",APPLICATION_STORE_LISTING_PURCHASE_RATE_LIMIT_ERROR_SHORT:"Too fast! Wait a bit and try again.",APPLICATION_STORE_LISTING_SELECT_EDITION:"Select Edition",APPLICATION_STORE_PURCHASE_HEADER_DISTRIBUTION_APPLICATION:"Buy Game",APPLICATION_STORE_PURCHASE_HEADER_DISTRIBUTION_DLC:"Buy DLC",APPLICATION_STORE_PURCHASE_HEADER_DISTRIBUTION_CONSUMABLE:"Buy In-App Item",APPLICATION_STORE_PURCHASE_HEADER_DISTRIBUTION_BUNDLE:"Buy Bundle",APPLICATION_STORE_PURCHASE_HEADER_FREE_APPLICATION:"Get Game",APPLICATION_STORE_PURCHASE_HEADER_FREE_DLC:"Get DLC",APPLICATION_STORE_PURCHASE_HEADER_FREE_CONSUMABLE:"Get In-App Item",APPLICATION_STORE_PURCHASE_HEADER_FREE_BUNDLE:"Get Bundle",APPLICATION_STORE_PURCHASE_HEADER_PREORDER_APPLICATION:"Preorder Game",APPLICATION_STORE_PURCHASE_HEADER_PREORDER_DLC:"Preorder DLC",APPLICATION_STORE_PURCHASE_HEADER_PREORDER_CONSUMABLE:"Preorder In-App Item",APPLICATION_STORE_PURCHASE_HEADER_PREORDER_BUNDLE:"Preorder Bundle",APPLICATION_STORE_PURCHASE_HEADER_PREORDER_ENTITLED:"Coming Soon",APPLICATION_STORE_PURCHASE_HEADER_TIME_LEFT_UNTIL_RELEASE:"Time Left Until Release",APPLICATION_STORE_PURCHASE_AVAILABLE_DATE:"Available !!{releaseDate}!!",APPLICATION_STORE_PURCHASE_IN_LIBRARY:"In library",APPLICATION_STORE_PURCHASE_IN_LIBRARY_HIDDEN:"In library (hidden)",APPLICATION_STORE_PURCHASE_HEADER_GAMES_DIFFERENT:"Games",APPLICATION_STORE_PURCHASE_HEADER_GAMES_SAME:"More Games",APPLICATION_STORE_PURCHASE_HEADER_DLC_DIFFERENT:"Downloadable Content",APPLICATION_STORE_PURCHASE_HEADER_DLC_SAME:"More Downloadable Content",APPLICATION_STORE_PURCHASE_HEADER_CONSUMABLES_DIFFERENT:"In-App Item",APPLICATION_STORE_PURCHASE_HEADER_CONSUMABLES_SAME:"More In-App Items",APPLICATION_STORE_PURCHASE_HEADER_BUNDLES_DIFFERENT:"Bundles",APPLICATION_STORE_PURCHASE_HEADER_BUNDLES_SAME:"More Bundles",APPLICATION_STORE_PURCHASE_HEADER_FIRST_ON:"First On",APPLICATION_STORE_WARNING_RESTRICTED_IN_REGION_TITLE:"Restricted in Country",APPLICATION_STORE_WARNING_RESTRICTED_IN_REGION_DESCRIPTION:"This game is not available in your country. [Learn about country restrictions.]({helpArticle})",APPLICATION_STORE_WARNING_REQUIRES_DESKTOP_APP_TITLE:"Requires Desktop App",APPLICATION_STORE_WARNING_REQUIRES_DESKTOP_APP_DESCRIPTION:"In order to play this game, you must have the Discord $[desktop app](downloadHook) installed.",APPLICATION_STORE_WARNING_UNAVAILABLE_WINDOWS_TITLE:"Unavailable for Windows",APPLICATION_STORE_WARNING_UNAVAILABLE_MAC_OS_TITLE:"Unavailable for macOS",APPLICATION_STORE_WARNING_UNAVAILABLE_LINUX_TITLE:"Unavailable for Linux",APPLICATION_STORE_WARNING_UNAVAILABLE_LINUX_DESCRIPTION:"Discord does not yet support Linux for games. You can still purchase it and play on supported operating systems.",APPLICATION_STORE_WARNING_UNAVAILABLE_OS_DESCRIPTION:"This game is not available for your current operating system. You can still purchase it and play on supported operating systems.",APPLICATION_STORE_WARNING_DLC_REQUIRES_BASE_APPLICATION_TITLE:"Downloadable Content",APPLICATION_STORE_WARNING_DLC_REQUIRES_BASE_APPLICATION_DESCRIPTION:"This DLC requires you to own $[!!{baseName}!!](baseHook) on Discord in order to play. [Learn about DLC.]({helpArticle})",APPLICATION_STORE_WARNING_EARLY_ACCESS_TITLE:"Early Access",APPLICATION_STORE_WARNING_EARLY_ACCESS_DESCRIPTION:"Provide feedback and help the devs build a game you want to play! Still in development. [Learn more about early access.]({helpArticle})",APPLICATION_STORE_WARNING_UNAVAILABLE_IN_LANGUAGE_TITLE:"Your Language is not Supported",APPLICATION_STORE_WARNING_UNAVAILABLE_IN_LANGUAGE_DESCRIPTION:"This game does not feature any audio, interface, or subtitle support for your currently selected language.",APPLICATION_STORE_SECTION_TITLE_VERIFIED_GUILD:"Verified Discord Server",APPLICATION_STORE_SECTION_TITLE_SYSTEM_REQUIREMENTS:"System Requirements",APPLICATION_STORE_SECTION_TITLE_DETAILS:"Details",APPLICATION_STORE_SECTION_TITLE_RECOMMENDATION:"Why you might like it",APPLICATION_STORE_SECTION_TITLE_FEATURES:"Features",APPLICATION_STORE_SECTION_TITLE_RATINGS:"Rating",APPLICATION_STORE_SECTION_TITLE_COPYRIGHT:"Copyright",APPLICATION_STORE_RECOMMENDATION_NOW_PLAYING_SINGLE:"$[!!{user1}!!](user1Hook) is playing right now",APPLICATION_STORE_RECOMMENDATION_NOW_PLAYING_DOUBLE:"$[!!{user1}!!](user1Hook) and $[!!{user2}!!](user2Hook) are playing right now",APPLICATION_STORE_RECOMMENDATION_NOW_PLAYING_OTHER:"**{count, plural, one {1 person} other {{count} people}} you know** are playing right now",APPLICATION_STORE_RECOMMENDATION_RECENTLY_PLAYED_SINGLE:"$[!!{user1}!!](user1Hook) has played recently",APPLICATION_STORE_RECOMMENDATION_RECENTLY_PLAYED_DOUBLE:"$[!!{user1}!!](user1Hook) and $[!!{user2}!!](user2Hook) have played recently",APPLICATION_STORE_RECOMMENDATION_RECENTLY_PLAYED_OTHER:"**{count, plural, one {1 person} other {{count} people}} you know** have played recently",APPLICATION_STORE_RECOMMENDATION_EVER_PLAYED_SINGLE:"$[!!{user1}!!](user1Hook) has played before",APPLICATION_STORE_RECOMMENDATION_EVER_PLAYED_DOUBLE:"$[!!{user1}!!](user1Hook) and $[!!{user2}!!](user2Hook) have played before",APPLICATION_STORE_RECOMMENDATION_EVER_PLAYED_OTHER:"**{count, plural, one {1 person} other {{count} people}} you know** have played before",APPLICATION_STORE_STAFF_PICK:"Discord Staff Pick",APPLICATION_STORE_EARLY_ACCESS:"Early Access",APPLICATION_STORE_NAVIGATION_BROWSE_PREMIUM:"Browse Nitro Games",APPLICATION_STORE_DESCRIPTION_READ_MORE:"Read More",APPLICATION_STORE_DESCRIPTION_READ_LESS:"Read Less",APPLICATION_STORE_EXPAND_DOWNLOADABLE_CONTENT:"Show All DLC",APPLICATION_STORE_SINGLE_PLAYER:"Single Player",APPLICATION_STORE_LOCAL_MULTIPLAYER:"Local Multiplayer",APPLICATION_STORE_ONLINE_MULTIPLAYER:"Online Multiplayer",APPLICATION_STORE_PVP:"PvP",APPLICATION_STORE_LOCAL_COOP:"Local Cooperative",APPLICATION_STORE_ONLINE_COOP:"Online Cooperative",APPLICATION_STORE_CROSS_PLATFORM:"Cross Platform",APPLICATION_STORE_RICH_PRESENCE:"Rich Presence",APPLICATION_STORE_DISCORD_GAME_INVITES:"Discord Game Invites",APPLICATION_STORE_SPECTATOR_MODE:"Spectator Mode",APPLICATION_STORE_CONTROLLER_SUPPORT:"Controller Support",APPLICATION_STORE_CLOUD_SAVES:"Cloud Saves",APPLICATION_STORE_SECURE_NETWORKING:"Secure Networking",APPLICATION_STORE_SINGLE_PLAYER_TOOLTIP:"For when you're tired of other people!",APPLICATION_STORE_LOCAL_MULTIPLAYER_TOOLTIP:"Yes, we want you to sit next to people.",APPLICATION_STORE_ONLINE_MULTIPLAYER_TOOLTIP:"For when you need strangers in your life!",APPLICATION_STORE_PVP_TOOLTIP:"How's your anger management?",APPLICATION_STORE_LOCAL_COOP_TOOLTIP:"Because fist bumps are great.",APPLICATION_STORE_ONLINE_COOP_TOOLTIP:"For when you need to chill on that PVP grind.",APPLICATION_STORE_CROSS_PLATFORM_TOOLTIP:"The gates are open!",APPLICATION_STORE_RICH_PRESENCE_TOOLTIP:"Show detailed stats about your game experience on your profile.",APPLICATION_STORE_DISCORD_GAME_INVITES_TOOLTIP:"Send game invites directly through Discord.",APPLICATION_STORE_SPECTATOR_MODE_TOOLTIP:"For when your friends are eating dinner while you finish a match.",APPLICATION_STORE_CONTROLLER_SUPPORT_TOOLTIP:'This should really say "play with a controller."',APPLICATION_STORE_CLOUD_SAVES_TOOLTIP:"We store your save data for you. Access it anywhere from Discord!",APPLICATION_STORE_SECURE_NETWORKING_TOOLTIP:"This game's networking is on our secure network, rather than a third party.",APPLICATION_STORE_SEARCH_EMPTY:"Can't find the game you're looking for? Try a different set of filters or look for it in [Server Discovery](goToGuildDiscovery).",CLOUD_SYNC_MODAL_OR:"OR",CLOUD_SYNC_MODAL_CONFLICT_HEADER:"Cloud Save Conflict",CLOUD_SYNC_MODAL_CONFLICT_DESCRIPTION:"Local save files conflict with cloud save files for **{applicationName}**. Please choose which save you'd like to use before launching the game.",CLOUD_SYNC_MODAL_CONFLICT_LAST_MODIFIED:"Last modified:",CLOUD_SYNC_MODAL_CONFLICT_CHOICE_DOWNLOAD:"Download Cloud Saves",CLOUD_SYNC_MODAL_CONFLICT_CHOICE_UPLOAD:"Upload Local Saves",CLOUD_SYNC_ICON_TOOLTIP_SUPPORTED:"Supports Cloud Saves",CLOUD_SYNC_ICON_TOOLTIP_PLANNING:"Checking Cloud Saves",CLOUD_SYNC_ICON_TOOLTIP_PREPARING:"Preparing Cloud Saves",CLOUD_SYNC_ICON_TOOLTIP_PUSHING:"Uploading Cloud Saves",CLOUD_SYNC_ICON_TOOLTIP_PULLING:"Downloading Cloud Saves",CLOUD_SYNC_ICON_TOOLTIP_DONE:"Cloud Save Sync Completed",CLOUD_SYNC_MODAL_ERROR_HEADER:"Unable to sync cloud saves",CLOUD_SYNC_MODAL_ERROR_DESCRIPTION:"An issue is preventing Discord from syncing cloud saves for **{applicationName}.** Do you want to play anyway?",APPLICATION_STORE_SPECS_MINIMUM:"Minimum",APPLICATION_STORE_SPECS_RECOMMENDED:"Recommended",APPLICATION_STORE_SPECS_OS:"Operating System",APPLICATION_STORE_SPECS_CPU:"CPU",APPLICATION_STORE_SPECS_MEMORY:"Memory",APPLICATION_STORE_SPECS_MEMORY_VALUE:"{size} RAM",APPLICATION_STORE_SPECS_VIDEO:"Video",APPLICATION_STORE_SPECS_STORAGE:"Storage",APPLICATION_STORE_SPECS_SOUND:"Sound",APPLICATION_STORE_SPECS_NETWORK:"Network",APPLICATION_STORE_SPECS_NOTES:"Notes",APPLICATION_STORE_DETAILS_RELEASE_DATE:"Release Date",APPLICATION_STORE_DETAILS_GENRES:"Genres",APPLICATION_STORE_DETAILS_DEVELOPER:"Developer",APPLICATION_STORE_DETAILS_PUBLISHER:"Publisher",APPLICATION_STORE_NEW_RELEASE:"New release",APPLICATION_STORE_FREE_PREMIUM_CONTENT:"Free Nitro Content",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_ALCOHOL_REFERENCE:"Alcohol Reference",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_ANIMATED_BLOOD:"Animated Blood",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_BLOOD:"Blood",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_BLOOD_AND_GORE:"Blood and Gore",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_CARTOON_VIOLENCE:"Cartoon Violence",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_COMIC_MISCHIEF:"Comic Mischief",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_CRUDE_HUMOR:"Crude Humor",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_DRUG_REFERENCE:"Drug Reference",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_FANTASY_VIOLENCE:"Fantasy Violence",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_INTENSE_VIOLENCE:"Intense Violence",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_LANGUAGE:"Language",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_LYRICS:"Lyrics",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_MATURE_HUMOR:"Mature Humor",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_NUDITY:"Nudity",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_PARTUAL_NUDITY:"Partial Nudity",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_REAL_GAMBLING:"Real Gambling",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_SEXUAL_CONTENT:"Sexual Content",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_SEXUAL_THEMES:"Sexual Themes",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_SEXUAL_VIOLENCE:"Sexual Violence",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_SIMULATED_GAMBLING:"Simulated Gambling",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_STRONG_LANGUAGE:"Strong Language",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_STRONG_LYRICS:"Strong Lyrics",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_STRONG_SEXUAL_CONTENT:"Strong Sexual Content",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_SUGGESTIVE_THEMES:"Suggestive Themes",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_TOBACCO_REFERENCE:"Tobacco Reference",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_USE_OF_ALCOHOL:"Use Of Alcohol",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_USE_OF_DRUGS:"Use Of Drugs",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_USE_OF_TOBACCO:"Use Of Tobacco",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_VIOLENCE:"Violence",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_MILD_BLOOD:"Mild Blood",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_MILD_CARTOON_VIOLENCE:"Mild Cartoon Violence",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_MILD_FANTASY_VIOLENCE:"Mild Fantasy Violence",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_MILD_LANGUAGE:"Mild Language",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_MILD_LYRICS:"Mild Lyrics",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_MILD_SEXUAL_THEMES:"Mild Sexual Themes",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_MILD_SUGGESTIVE_THEMES:"Mild Suggestive Themes",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_MILD_VIOLENCE:"Mild Violence",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_ANIMATED_VIOLENCE:"Animated Violence",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_VIOLENT_REFERENCES:"Violent References",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_IN_GAME_PURCHASES:"In-Game Purchases",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_USERS_INTERACT:"Users Interact",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_SHARES_LOCATION:"Shares Location",APPLICATION_STORE_RATING_DESCRIPTORS_ESRB_UNRESTRICTED_INTERNET:"Unrestricted Internet",APPLICATION_STORE_RATING_DESCRIPTORS_PEGI_VIOLENCE:"Violence",APPLICATION_STORE_RATING_DESCRIPTORS_PEGI_BAD_LANGUAGE:"Bad Language",APPLICATION_STORE_RATING_DESCRIPTORS_PEGI_FEAR:"Fear",APPLICATION_STORE_RATING_DESCRIPTORS_PEGI_GAMBLING:"Gambling",APPLICATION_STORE_RATING_DESCRIPTORS_PEGI_SEX:"Sex",APPLICATION_STORE_RATING_DESCRIPTORS_PEGI_DRUGS:"Drugs",APPLICATION_STORE_RATING_DESCRIPTORS_PEGI_DISCRIMINATION:"Discrimination",APPLICATION_STORE_PURCHASE_APPLICATION:"Buy Game",APPLICATION_STORE_PURCHASE_DLC:"Buy DLC",APPLICATION_STORE_PURCHASE_CONSUMABLE:"Buy In-App Item",APPLICATION_STORE_PURCHASE_BUNDLE:"Buy Bundle",APPLICATION_STORE_PURCHASE_IAP:"In-App Purchase",APPLICATION_STORE_PURCHASE_CONFIRMATION_TITLE_1:"Get excited!",APPLICATION_STORE_PURCHASE_CONFIRMATION_TITLE_2:"Complete!",APPLICATION_STORE_PURCHASE_CONFIRMATION_TITLE_3:"Finished!",APPLICATION_STORE_PURCHASE_CONFIRMATION_TITLE_4:"Congrats!",APPLICATION_STORE_PURCHASE_GIFT_CONFIRMATION_TITLE:"Ready to be gifted!",APPLICATION_STORE_PURCHASE_CONFIRMATION_BLURB:"You can install !!{name}!! below and launch it from the library tab once it finishes. We hope you enjoy it!",APPLICATION_STORE_BUNDLE_PURCHASE_CONFIRMATION_BLURB:"!!{name}!! was purchased and its contents are now available in your library.",APPLICATION_STORE_GIFT_PURCHASE_CONFIRMATION_BLURB:"Send this link to a friend to give them the game. We hope they enjoy it!",APPLICATION_STORE_GIFT_PURCHASE_CONFIRM_SUBSCRIPTION_MONTHLY:"You're so generous! Send this gift to a friend to give them {intervalCount, plural, =1 {# month} other {# months}} of {skuName}. We hope they enjoy!",APPLICATION_STORE_GIFT_PURCHASE_CONFIRM_SUBSCRIPTION_YEARLY:"You're so generous! Send this gift to a friend to give them {intervalCount, plural, =1 {# year} other {# years}} of {skuName}. We hope they enjoy!",APPLICATION_STORE_GIFT_PURCHASE_CONFIRM_MONTHLY_MOBILE:"You're so generous! Send this gift to a friend to give them {intervalCount, plural, =1 {# month} other {# months}} of {name}.",APPLICATION_STORE_GIFT_PURCHASE_CONFIRM_YEARLY_MOBILE:"You're so generous! Send this gift to a friend to give them {intervalCount, plural, =1 {# year} other {# years}} of {name}.",APPLICATION_STORE_GIFT_PURCHASE_CONFIRMATION_SUBTEXT:"This link is included in your confirmation email and can be found and managed in your [gift inventory](onInventoryClick). Gift link expires after 48 hours.",APPLICATION_STORE_PURCHASE_INSTALL_GAME:"Install Game",APPLICATION_STORE_PURCHASE_GAME_UNSUPPORTED_OS:"This game is only supported on {operatingSystem}.",APPLICATION_STORE_PURCHASE_TEST_MODE:"You are in test mode for this application and will not be charged.",APPLICATION_STORE_PURCHASE_GIFT_ONLY:"You already own this application, only gifts can be purchased.",APPLICATION_STORE_PURCHASE_GIFT_ONLY_UNGIFTABLE:"You can only purchase a gift and unfortunately we do not support gifting for this payment method.",APPLICATION_STORE_PURCHASE_CONFIRMATION_UNSUPPORTED_OS:"!!{name}!! can be downloaded the next time you launch the {operatingSystem} Discord app. We hope you enjoy it!",APPLICATION_STORE_PURCHASE_WARNING_PREORDER:"You are preordering this game. It will be available !!{date}!!!",APPLICATION_STORE_PREORDER_PURCHASE_CONFIRMATION_BLURB:"!!{applicationName}!! will be ready to install on !!{date}!!. For now you can stare longingly at it in your library.",APPLICATION_IAP_PURCHASE_RETURN_TO_GAME:"Return to Game",APPLICATION_PREORDER_PURCHASE_CONFIRMATION_BUTTON:"Go to Library",APPLICATION_ADDON_PURCHASE_CONFIRMATION_BLURB:"!!{itemName}!! has been purchased and will be available in !!{applicationName}!!.",APPLICATION_ENTITLEMENT_CODE_REDEMPTION_PROMPT:"Received a code for Nitro or a game? That's exciting! Enter it below:",APPLICATION_ENTITLEMENT_CODE_REDEMPTION_REDEEM:"Redeem",APPLICATION_ENTITLEMENT_CODE_REDEMPTION_INVALID:"Invalid code entered",APPLICATION_STORE_GENRE_ACTION:"Action",APPLICATION_STORE_GENRE_ACTION_RPG:"Action RPG",APPLICATION_STORE_GENRE_BRAWLER:"Beat 'Em Up/Brawler",APPLICATION_STORE_GENRE_HACK_AND_SLASH:"Hack and Slash",APPLICATION_STORE_GENRE_PLATFORMER:"Platformer",APPLICATION_STORE_GENRE_STEALTH:"Stealth",APPLICATION_STORE_GENRE_SURVIVAL:"Survival",APPLICATION_STORE_GENRE_ADVENTURE:"Adventure",APPLICATION_STORE_GENRE_ACTION_ADVENTURE:"Action-Adventure",APPLICATION_STORE_GENRE_METROIDVANIA:"Metroidvania",APPLICATION_STORE_GENRE_OPEN_WORLD:"Open-World",APPLICATION_STORE_GENRE_PSYCHOLOGICAL_HORROR:"Psychological Horror",APPLICATION_STORE_GENRE_SANDBOX:"Sandbox",APPLICATION_STORE_GENRE_SURVIVAL_HORROR:"Survival Horror",APPLICATION_STORE_GENRE_VISUAL_NOVEL:"Visual Novel",APPLICATION_STORE_GENRE_DRIVING_RACING:"Driving/Racing",APPLICATION_STORE_GENRE_VEHICULAR_COMBAT:"Vehicular Combat",APPLICATION_STORE_GENRE_MASSIVELY_MULTIPLAYER:"Massively Multiplayer",APPLICATION_STORE_GENRE_MMORPG:"MMORPG",APPLICATION_STORE_GENRE_ROLE_PLAYING:"Role-Playing",APPLICATION_STORE_GENRE_DUNGEON_CRAWLER:"Dungeon Crawler",APPLICATION_STORE_GENRE_ROGUELIKE:"Roguelike",APPLICATION_STORE_GENRE_SHOOTER:"Shooter",APPLICATION_STORE_GENRE_LIGHT_GUN:"Light-Gun",APPLICATION_STORE_GENRE_SHOOT_EM_UP:"Shoot 'Em Up",APPLICATION_STORE_GENRE_FPS:"FPS",APPLICATION_STORE_GENRE_DUAL_JOYSTICK_SHOOTER:"Dual-Joystick Shooter",APPLICATION_STORE_GENRE_SIMULATION:"Simulation",APPLICATION_STORE_GENRE_FLIGHT_SIMULATOR:"Flight Simulator",APPLICATION_STORE_GENRE_TRAIN_SIMULATOR:"Train Simulator",APPLICATION_STORE_GENRE_LIFE_SIMULATOR:"Life Simulator",APPLICATION_STORE_GENRE_FISHING:"Fishing",APPLICATION_STORE_GENRE_SPORTS:"Sports",APPLICATION_STORE_GENRE_BASEBALL:"Baseball",APPLICATION_STORE_GENRE_BASKETBALL:"Basketball",APPLICATION_STORE_GENRE_BILLIARDS:"Billiards",APPLICATION_STORE_GENRE_BOWLING:"Bowling",APPLICATION_STORE_GENRE_BOXING:"Boxing",APPLICATION_STORE_GENRE_FOOTBALL:"Football",APPLICATION_STORE_GENRE_GOLF:"Golf",APPLICATION_STORE_GENRE_HOCKEY:"Hockey",APPLICATION_STORE_GENRE_SKATEBOARDING_SKATING:"Skateboarding/Skating",APPLICATION_STORE_GENRE_SNOWBOARDING_SKIING:"Snowboarding/Skiing",APPLICATION_STORE_GENRE_SOCCER:"Soccer",APPLICATION_STORE_GENRE_TRACK_FIELD:"Track & Field",APPLICATION_STORE_GENRE_SURFING_WAKEBOARDING:"Surfing/Wakeboarding",APPLICATION_STORE_GENRE_WRESTLING:"Wrestling",APPLICATION_STORE_GENRE_STRATEGY:"Strategy",APPLICATION_STORE_GENRE_FOUR_X:"4X",APPLICATION_STORE_GENRE_ARTILLERY:"Artillery",APPLICATION_STORE_GENRE_RTS:"RTS",APPLICATION_STORE_GENRE_TOWER_DEFENSE:"Tower Defense",APPLICATION_STORE_GENRE_TURN_BASED_STRATEGY:"Turn Based Strategy",APPLICATION_STORE_GENRE_WARGAME:"Wargame",APPLICATION_STORE_GENRE_MOBA:"MOBA",APPLICATION_STORE_GENRE_FIGHTING:"Fighting",APPLICATION_STORE_GENRE_PUZZLE:"Puzzle",APPLICATION_STORE_GENRE_CARD_GAME:"Card Game",APPLICATION_STORE_GENRE_EDUCATION:"Education",APPLICATION_STORE_GENRE_FITNESS:"Fitness",APPLICATION_STORE_GENRE_GAMBLING:"Gambling",APPLICATION_STORE_GENRE_MUSIC_RHYTHM:"Music/Rhythm",APPLICATION_STORE_GENRE_PARTY_MINI_GAME:"Party/Mini-Game",APPLICATION_STORE_GENRE_PINBALL:"Pinball",APPLICATION_STORE_GENRE_TRIVIA_BOARD_GAME:"Trivia/Board Game",APPLICATION_STORE_GENRE_MISCELLANEOUS:"Other",APPLICATION_STORE_COUNTDOWN_SECONDS:"sec",APPLICATION_STORE_COUNTDOWN_MINUTES:"min",APPLICATION_STORE_COUNTDOWN_HOURS:"hrs",APPLICATION_STORE_COUNTDOWN_DAYS:"days",APPLICATION_BRANCH_NAME_MASTER:"Master",APPLICATION_BRANCH_NAME_UNKNOWN:"Unknown",NEWS_CHANNEL_PUBLISH:"Publish",NEWS_CHANNEL_PUBLISHED:"Published",NEWS_CHANNEL_PUBLISH_BUMP:"Share with your followers!",NEWS_CHANNEL_PUBLISH_BUMP_HIDE_PERMANENTLY:"Don't show again",DISPATCH_ERROR_MODAL_HEADER:"Discord Dispatch Error",DISPATCH_ERROR_MODAL_DESCRIPTION:"Something went wrong. [Get help here.]({link})",DISPATCH_ERROR_MODAL_BODY:"If the problem persists, create a support ticket and copy the message content below.",DISPATCH_ERROR_MODAL_ERROR_LABEL:"Error Message (Copy and paste me)",DISPATCH_ERROR_MODAL_OPEN_TICKET:"Open a ticket",MISSING_ENTITLEMENT_MODAL_HEADER:"Unable to launch {applicationName}",MISSING_ENTITLEMENT_MODAL_HEADER_UNKNOWN_APPLICATION:"Unable to launch game",MISSING_ENTITLEMENT_MODAL_BODY:"Discord cannot launch **{applicationName}** for you because you've lost entitlement to it. This can be for a variety of reasons, such as a lapsed Nitro subscription, a refund, or if **{applicationName}** has been removed from the Discord store. [Please see this help article for more information or support.]({supportArticleURL})",MISSING_ENTITLEMENT_MODAL_BODY_UNKNOWN_APPLICATION:"Discord cannot launch this game for you because you've lost entitlement to it. This can be for a variety of reasons, such as a lapsed Nitro subscription, a refund, or if the game has been removed from the Discord store. [Please see this help article for more information or support.]({supportArticleURL})",SPOTIFY_PREMIUM_UPGRADE_HEADER:"*Record Scratch*",SPOTIFY_PREMIUM_UPGRADE_BODY:"Sorry pal, looks like you aren't a Spotify Premium member! Premium members are able to listen along with other Spotify listeners.",SPOTIFY_PREMIUM_UPGRADE_BUTTON:"Upgrade Spotify",EXPERIMENT_MOBILE_ONLY_USER_HEADER:"Howdy Friend!",EXPERIMENT_MOBILE_ONLY_USER_TEXT1:"Why don’t you saddle up with Discord for your desktop computer? Here’s the link to grab the desktop app: {downloadUrl}",EXPERIMENT_FEATURE_DISABLED:"Sorry, this feature is temporarily disabled.",GROUP_OWNER:"Group Owner",ACTIVE_ON_MOBILE:"Active on Mobile",FULL:"Full",COPY_OWNER_ID:"Copy Owner ID",PAGINATOR_CURRENT_PAGE:"Page !!{currentPage, number}!!",PAGINATOR_OF_PAGES:"Page !!{currentPage, number}!! of !!{numPages, number}!!",ATTACHMENT_PROCESSING:"Processing...",ATTACHMENT_COMPRESSING:"Compressing files...",UPLOAD_QUEUED:"Upload Queued",UPLOADING_FILES:"{count, plural, one, {Uploading 1 File} other {Uploading {count} Files}}",UPLOADING_FILES_FAILED:"{count, plural, one, {1 File Uploading Failed} other {{count} Files Uploading Failed}}",PREVIEW_CHANGE_LANGUAGE:"Change language",PREVIEW_SEARCH_LANGUAGE_PLACEHOLDER:"Search languages",PREVIEW_NUM_LINES:"{lines, plural, =1 {# line} other {# lines}}",PREVIEW_NUM_LINES_AT_LEAST:"More than {lines, plural, =1 {# line} other {# lines}}",PREVIEW_MODAL_LABEL:"Plaintext file previews",PREVIEW_WHOLE_FILE:"View whole file",PREVIEW_LINES_LEFT:"({lines, plural, =1 {# line} other {# lines}} left)",PREVIEW_BYTES_LEFT:"({formattedBytes} left)",SPELLCHECK:"Spellcheck",ADD_TO_DICTIONARY:"Add to Dictionary",LANGUAGES:"Languages",AUTO_SUGGEST_STICKERS:"Sticker Suggestions",AUTO_SUGGEST_STICKERS_DESCRIPTION:"Allows sticker suggestions to appear when typing messages.",NUF_WELCOME_BODY:"We're so excited you're here! Let’s get started by setting up a place for you and your group.",NUF_AGE_GATE_BODY:"We're so excited you're here! Before we get started please enter your birthday. [Why do I need to provide my birthday?]({helpURL})",NUF_COMPLETE_TITLE:"Your server is ready!",NUF_COMPLETE_SUBTITLE:"Welcome! You belong here",NUF_COMPLETE_CTA:"Take me to my server!",NUF_CREATE_SERVER_CUSTOMIZE_HEADER:"Customize your server",NUF_CREATE_SERVER_CUSTOMIZE_SUBHEADER:"Give your new server a personality with a name and an icon. You can always change it later.",NUF_CREATE_SERVER_BUTTON:"Create Server",NUF_JOIN_SERVER_TITLE_2:"Welcome to Discord!",NUF_JOIN_SERVER_BUTTON:"Join Server",NUF_DOWNLOAD_APP_BUTTON_PLATFORM:"Download for {platform}",NUF_ASK_FRIEND_SERVER_INVITE:"Ask your friends to invite you to their servers, which are places for hanging out and talking.",NUF_CREATE_GUILD_CTA_DESCRIPTION:"You can also [start your own server](onClick)",DATA_PRIVACY_RATE_LIMIT_TITLE:"Sorry about that",USAGE_STATISTICS_DISABLE_MODAL_TITLE:"Turn off some usage statistics?",USAGE_STATISTICS_DISABLE_MODAL_BODY:"By turning this off you will lose access to new experimental features and usage-based improvements to features like voice chat. Your old data will be anonymized, which will make Discord dumber.",USAGE_STATISTICS_DISABLE_MODAL_CONFIRM:"Yes, I'm sure",USAGE_STATISTICS_DISABLE_MODAL_CANCEL:"No, take me back!",PERSONALIZATION_DISABLE_MODAL_TITLE:"Turn off customization?",PERSONALIZATION_DISABLE_MODAL_BODY:"By turning this off you lose access to things like personalized recommendations and suggestions. You won’t be able to recover them in the future!",PERSONALIZATION_DISABLE_MODAL_CONFIRM:"Yes, I'm sure",PERSONALIZATION_DISABLE_MODAL_CANCEL:"No, take me back!",DATA_DOWNLOAD_REQUESTED_STATUS_NOTE:"You've recently requested a copy of your data. You can request again on {date}.",NOTIFICATIONS_NUF_TITLE:"Don't miss a thing!",NOTIFICATIONS_NUF_BODY:"Setup notifications to know when your friends send a message.",NOTIFICATIONS_NUF_CTA:"Turn Notifications ON",RATING_REQUEST_TITLE:"Enjoying Discord?",RATING_REQUEST_BODY_ANDROID:"Head over to the Play Store and leave us a rating. Every little bit helps!",OVERLAY_NOTIFICATIONS_DISABLED:"Disabled",OVERLAY_NOTIFICATIONS_TOP_LEFT:"Top Left",OVERLAY_NOTIFICATIONS_TOP_RIGHT:"Top Right",OVERLAY_NOTIFICATIONS_BOTTOM_LEFT:"Bottom Left",OVERLAY_NOTIFICATIONS_BOTTOM_RIGHT:"Bottom Right",OVERLAY_LINK_ALERT_TITLE:"Hold Up!",OVERLAY_LINK_ALERT_BODY:"You're about to open this link in an external browser. Do you want to continue?",OVERLAY_LINK_ALERT_SECONDARY:"Open and don't bother me again.",OVERLAY_CRASHED_TITLE:"Discord Overlay has crashed!",OVERLAY_RELOAD:"Reload Overlay",OVERLAY_CLICK_TO_JUMP_TO_CHANNEL:"Click to jump to channel",OVERLAY_CLICK_TO_UNLOCK:"Click to unlock overlay",OVERLAY_RESET_DEFAULT_LAYOUT:"Reset Default Layout",ACTIVITY_INVITE_MODAL_HEADER:"Invite to Play !!{name}!!",ACTIVITY_INVITE_MODAL_SEARCH_PLACEHOLDER:"Search users and channels",ACTIVITY_INVITE_MODAL_SENT:"Sent",ACTIVITY_INVITE_MODAL_INVITE:"Invite",ACTIVITY_INVITE_PRIVATE:"\nYou cannot send an invite because you are either invisible or are hiding your playing status. If you prefer to not change\nyour settings you can have someone invite you instead.\n",ACTIVITY_FEED_SHARE_MODAL_SEARCH_PLACEHOLDER:"Search users and channels",LOBBY:"Lobby",GUILD_DISCOVERY_TOOLTIP:"Explore Public Servers",GUILD_DISCOVERY_VIEW_BUTTON:"View",GUILD_DISCOVERY_SEARCH_HEADER:"Find new communities on Discord",GUILD_DISCOVERY_HOME_TITLE:"Find your community on Discord",GUILD_DISCOVERY_HOME_SUBTITLE:"From gaming, to music, to learning, there's a place for you.",GUILD_DISCOVERY_CATEGORY_TITLE:"Find {categoryName} communities on Discord",GUILD_DISCOVERY_SEARCH_PLACEHOLDER:"Explore communities",GUILD_DISCOVERY_CATEGORY_SEARCH_PLACEHOLDER:"Explore {categoryName} servers",GUILD_DISCOVERY_CATEGORY_FOOTER_TITLE:"There are more communities out there!",GUILD_DISCOVERY_FOOTER_BODY:"Try searching for them.",GUILD_DISCOVERY_SEARCH_LABEL:"Explore popular communities",GUILD_DISCOVERY_SEARCH_PRESS_ENTER:"Press **ENTER** to Search",GUILD_DISCOVERY_SEARCH_ENTER_CTA:'"ENTER" to Search',GUILD_DISCOVERY_HEADER_SEARCH_RESULTS:'{count, plural, one {1 result} other {{count} results}} for "!!{query}!!"',GUILD_DISCOVERY_HEADER_GAMES_YOU_PLAY:"Communities for games you play",GUILD_DISCOVERY_HEADER_POPULAR_GUILDS:"Popular communities",GUILD_DISCOVERY_POPULAR_HEADER:"Popular communities",GUILD_DISCOVERY_FEATURED_HEADER:"Featured communities",GUILD_DISCOVERY_SEARCH_EMPTY_TITLE:"No matches found",GUILD_DISCOVERY_SEARCH_EMPTY_DESCRIPTION:"Try another search term or browse by popular communities.",GUILD_DISCOVERY_COVID_TITLE:"Stay safe and informed",GUILD_DISCOVERY_COVID_BODY:"Visit the community-run Coronavirus Discord to talk about COVID-19, and head to [CDC.gov]({url}) for more information.",GUILD_DISCOVERY_COVID_BUTTON:"Visit COVID-19 Discord",GUILD_DISCOVERY_SEARCH_RESULTS_HEADER:'{count, plural, =0 {0 communities} one {1 community} other {{count} communities}} for "{query}"',GUILD_DISCOVERY_SEARCH_RESULTS_CATEGORY_HEADER:'{count, plural,  =0 {0  **{category}** communities} one {1 **{category}** community} other {{count} **{category}** communities}} for "{query}"',GUILD_DISCOVERY_SEARCH_EMPTY_HEADER:"No results found",GUILD_DISCOVERY_SEARCH_EMPTY_CATEGORY_HEADER:"No results found in {categoryName}",GUILD_DISCOVERY_SEARCH_EMPTY_BODY:"Try searching for something else.",GUILD_DISCOVERY_SEARCH_EMPTY_CATEGORY_BODY:"Try searching for something else or [see results from all categories](onClick).",GUILD_DISCOVERY_SEARCH_ERROR:"Uh oh, Discovery search is having issues right now. Check back later.",GUILD_DISCOVERY_ALL_CATEGORY_FILTER:"All",GUILD_DISCOVERY_EMOJIS_TOOLTIP:"Emojis in this server",GUILD_DISCOVERY_MAIN_VIEW_TITLE:"Find your Community.",GUILD_DICOVERY_MAIN_VIEW_SUBTITLE:"From gaming, to music, to education, there's a place for you on Discord.",GUILD_DISCOVERY_CATEGORY_HEADER:"Popular {categoryName} communities",GUILD_DISCOVERY_MOBILE_SEARCH_PLACEHOLDER:"Search for communities",GUILD_DISCOVERY_SEARCH_PROTIP:"$[PROTIP:](protipHook) You can search for a server by name, category, or keyword. Try any shared interest or hobby, no matter how obscure!",GUILD_DISCOVERY_CHAT_INPUT_BACK:"Back to Discovery",GUILD_DISCOVERY_LURKER_FOLLOW_NEWS_BUTTON:"Follow Updates",GUILD_POPOUT_VIEW_SERVER_BUTTON:"View Server",GUILD_POPOUT_UNAVAILABLE_HEADER:"This server is not public.",GUILD_POPOUT_UNAVAILABLE_FLAVOR:"We can't show any further details.",ANNOUNCEMENT_GUILD_POPOUT_NAME:"Community Updates",ANNOUNCEMENT_GUILD_DESCRIPTION:"Official announcements from Discord for Community server admins and moderators.",ANNOUNCEMENT_GUILD_HERE_TO_HELP:"We're here to help!",GUILD_PROFILE_JOIN_SERVER_BUTTON:"Join Server",LAUNCH_APP:"Launch {app}",FOLLOW_MODAL_TITLE:"Add this channel's updates to your server!",FOLLOW_MODAL_BODY:"Select where you want these updates to go. You can remove this at any time in Server Settings > Webhooks.",FOLLOW_MODAL_HINT:"Only servers and channels you have webhook permissions in are shown.",FOLLOW_MODAL_HINT_NO_PERMS:"Uh oh, you don't have webhook permissions in any server you're in. Ask your server admin to give you the permission or ask them to come follow themselves!",FOLLOW_MODAL_WARNING:"Note: This is an NSFW channel.",FORM_LABEL_SEND_TO:"Send to",FORM_LABEL_SELECT_CHANNEL:"Select channel",FOLLOW:"Follow",FOLLOW_MODAL_FAIL:"Failed to follow the channel, please try again.",FOLLOW_MODAL_TOO_MANY_WEBHOOKS:"The selected channel has too many webhooks. Please remove a webhook or select another channel.",FOLLOW_SUCCESS_MODAL_HEADER_01:"What a nice addition to your server. Lookin' real spiffy in here.",FOLLOW_SUCCESS_MODAL_HEADER_02:"What a nice addition to your server. Lookin' real good in here.",FOLLOW_SUCCESS_MODAL_HEADER_03:"What a nice addition to your server. Lookin' real dapper in here.",FOLLOW_SUCCESS_MODAL_HEADER_04:"What a nice addition to your server. Lookin' real swanky in here.",FOLLOW_SUCCESS_MODAL_HEADER_05:"What a nice addition to your server. Lookin' real snazzy in here.",FOLLOW_SUCCESS_MODAL_HEADER_06:"What a nice addition to your server. Lookin' real dandy in here.",FOLLOW_SUCCESS_MODAL_HEADER_07:"What a nice addition to your server. Lookin' real cozy in here.",FOLLOW_SUCCESS_MODAL_HEADER_08:"What a nice addition to your server. Lookin' real nifty in here.",FOLLOW_SUCCESS_MODAL_HEADER_09:"What a nice addition to your server. Lookin' real neato in here",FOLLOW_SUCCESS_MODAL_HEADER_10:"What a nice addition to your server. Lookin' real lively in here.",FOLLOW_SUCCESS_MODAL_BODY:"The most important updates from this channel will now show up directly in your server. Enjoy!",FOLLOW_NEWS_CHAT_INPUT_MESSAGE:"Follow to get this channel's updates in your own server.",FOLLOW_NEWS_CHAT_INPUT_SUBTITLE:"Over !!{count}!! other people are also following.",MODIFY_FOLLOWED_NEWS_HEADER:"Are you sure?",DELETE_FOLLOWED_NEWS_BODY:"This message will be deleted in all servers following this channel. It may take some time before it’s removed from all servers.",EDIT_FOLLOWED_NEWS_BODY:"This message will also be updated in all servers following this channel. It may take some time before all servers are updated.",PUBLISH_FOLLOWED_NEWS_BODY:"This message will be sent to all servers following this channel. You can edit or delete this message later, and it will update correspondingly in each following server.",PUBLISH_FOLLOWED_NEWS_BODY_REACH:"This message will be sent to **{numGuildsFollowing, plural, one {# server} other {# servers}}** following this channel. You can edit or delete this message later, and it will update correspondingly in each following server.",PUBLISH_FOLLOWED_NEWS_FAIL_TITLE:"Uh-oh, a pop up box.",PUBLISH_FOLLOWED_NEWS_FAIL_BODY:"You've reached your 10 published messages per-hour limit. But we love the enthusiasm, so please try again in {retryAfter, plural, one {1 minute} other {{retryAfter} minutes}}.",PUBLISH_FOLLOWED_NEWS_GENERIC_BODY:"Sorry, something went wrong.",PUBLISH_FOLLOWED_NEWS_BODY_SETTINGS_INSIGHTS:"Announcement stats can be found in [Server Insights.](onClick)",ANNOUNCEMENT_EDIT_RATE_LIMIT:"To keep announcements speedy, published messages can only be edited 3 times per hour. Please try again in {retryAfterMinutes, plural, one {1 minute} other {{retryAfterMinutes} minutes}}.",ACTIVITY_PANEL_GO_LIVE:"Go Live",ACTIVITY_PANEL_GO_LIVE_STREAM_GAME:"Stream !!{game}!!",ACTIVITY_PANEL_GO_LIVE_TOOLTIP_NO_PERMISSION_IN_VOICE:"You can’t stream into this channel.",ACTIVITY_PANEL_GO_LIVE_TOOLTIP_NO_PERMISSION_IN_GUILD:"You can’t stream into this server.",ACTIVITY_PANEL_GO_LIVE_TOOLTIP_NOT_IN_GUILD:"Navigate to a server to start streaming.",ACTIVITY_PANEL_GO_LIVE_TOOLTIP_CANT_STREAM_DURING_DM_CALL:"You can't stream while participating in a DM call.",ACTIVITY_PANEL_GO_LIVE_CHANGE_SCREEN:"Change Screen",GO_LIVE_MODAL_TITLE:"Screen Share",GO_LIVE_MODAL_DESCRIPTION:"Your stream's starting—have your friends grab a seat!",GO_LIVE_MODAL_DESCRIPTION_SELECT_SOURCE:"Select something to stream and have your friends grab a seat!",GO_LIVE_MODAL_APPLICATIONS:"Applications",GO_LIVE_MODAL_SCREENS:"Screens",GO_LIVE_MODAL_APPLICATION_FORM_TITLE:"What you're streaming",GO_LIVE_MODAL_SELECT_CHANNEL_FORM_TITLE:"Select a voice channel",GO_LIVE_MODAL_CURRENT_CHANNEL_FORM_TITLE:"Streaming channel",GO_LIVE_MODAL_CTA:"Go Live",GO_LIVE_MODAL_OVERFLOW_TWO_USERS:"!!{nickname0}!! and !!{nickname1}!!",GO_LIVE_MODAL_OVERFLOW_THREE_USERS:"!!{nickname0}!!, !!{nickname1}!!, and !!{nickname2}!!",GO_LIVE_MODAL_OVERFLOW_FOUR_OR_MORE_USERS:"!!{nickname0}!!, !!{nickname1}!!, and !!{remainingCount}!! others",GO_LIVE_HEY:"Hey!",GO_LIVE_LOOK:"Look!",GO_LIVE_LISTEN:"Listen!",GO_LIVE_VIDEO_DRIVERS_OUTDATED:"Your video drivers are out of date. Update them for better screen share performance.",GO_LIVE_HARDWARE_ACCELERATION_UNAVAILABLE:"Quick heads up, we can't detect hardware acceleration. Your computer may have problems supporting screen share.",GO_LIVE_SCREENSHARE_NO_SOUND:"Sound may not be available when sharing a screen on your device.",GO_LIVE_SCREENSHARE_UPDATE_WINDOWS_FOR_SOUNDSHARE:"Audio sharing may not work on your Windows version. Please upgrade to the latest Windows 10.",GO_LIVE_SCREENSHARE_UPDATE_MACOS_FOR_SOUNDSHARE:"Audio sharing may not work on your device. Please upgrade to at least macOS 10.13.",GO_LIVE_SCREENSHARE_ENABLE_FOR_SOUNDSHARE:"To enable audio for screen share, head over to [Voice & Video Settings > Screen Share](onVoiceSettingsClick) and follow the setup instructions.",GO_LIVE_TILE_SCREEN:"!!{username}!!’s Screen",GO_LIVE_USER_PLAYING:"!!{username}!! Playing {applicationName}",GO_LIVE_SHARE_SCREEN:"Screen",GO_LIVE_WATCHING_USER:"Watching {username}",GO_LIVE_PRIVATE_CHANNELS_TOOLTIP_BODY:"**New!** You can now Screen Share and video chat at the same time.",GO_LIVE_PRIVATE_CHANNELS_TOOLTIP_BODY_NO_FORMAT:"New! You can now Screen Share and video chat at the same time.",GO_LIVE_PRIVATE_CHANNELS_TOOLTIP_CTA:"Got it",GUILD_VOICE_CHANNEL_EMPTY_BODY_MOBILE:"Ready to talk? Grab a seat in this voice channel so people know you're around to hang out.",JOIN_VOICE_CHANNEL_CTA:"Join Voice",JOIN_VIDEO_CHANNEL:"Join Video",LOCAL_PUSH_NOTIFICATION_GUILD_VERIFICATION_BODY:"You can now talk in this server. Thanks for waiting!",LOCAL_PUSH_NOTIFICATION_SCREENSHARE_NOT_SUPPORTED:"This application may not support screensharing.",ELEVATED_PERMISSIONS_SOUND_TITLE:"Sound Permissions",ELEVATED_PERMISSIONS_SOUND_BODY:"Discord is unable to stream your application audio due to missing permissions. Grant Discord administrator permissions in order to send those sweet, sweet soundwaves to your friends?",ELEVATED_PERMISSIONS_SOUND_NO_SOUND_BUTTON:"Stream Without Sound",ELEVATED_PERMISSIONS_SOUND_REQUEST_ACCESS_BUTTON:"Grant Access",CUSTOM_STATUS:"Custom Status",CUSTOM_STATUS_SET_CUSTOM_STATUS:"Set a custom status",CUSTOM_STATUS_EDIT_CUSTOM_STATUS_PLACEHOLDER:"Edit Custom Status",CUSTOM_STATUS_CLEAR_CUSTOM_STATUS:"Clear Status",CUSTOM_STATUS_MODAL_BODY:"What's cookin', !!{username}!!?",CUSTOM_STATUS_MODAL_PLACEHOLDER:"Support has arrived!",CUSTOM_STATUS_CLEAR_AFTER:"Clear after",CUSTOM_STATUS_DONT_CLEAR:"Don't clear",CUSTOM_STATUS_MINUTES:"{minutes, plural, =1 {# minute} other {# minutes}}",CUSTOM_STATUS_CLEAR_IN_MINUTES:"Clear in {minutes, plural, =1 {# minute} other {# minutes}}",CUSTOM_STATUS_HOURS:"{hours, plural, =1 {# hour} other {# hours}}",CUSTOM_STATUS_CLEAR_IN_HOURS:"Clear in {hours, plural, =1 {# hour} other {# hours}}",CUSTOM_STATUS_TODAY:"Today",CUSTOM_STATUS_CLEAR_TOMORROW:"Clear tomorrow",CUSTOM_STATUS_UPDATE_SUCCESS:"Custom status updated!",CUSTOM_STATUS_STATUS_TITLE:"Status",SYSTEM_DM_CHANNEL_DESCRIPTION:"This thread is reserved for official Discord notifications.",SYSTEM_DM_CHANNEL_DESCRIPTION_SUBTEXT:"Discord will never ask you for your password or account token.",SYSTEM_DM_EMPTY_MESSAGE:"This is an official message from Team Discord. Please be advised that Discord will never ask you for your password or account token.",SYSTEM_DM_TAG_SYSTEM:"SYSTEM",SYSTEM_DM_ACTIVITY_TEXT:"Official Discord Message",SYSTEM_DM_URGENT_MESSAGE_MODAL_HEADER:"Urgent Message",SYSTEM_DM_URGENT_MESSAGE_MODAL_BODY:"There's an official message from the Discord team that needs your attention.",BUILD_OVERRIDE:"Build Override",BUILD_OVERRIDE_FOR:"Build Override for {releaseChannel}",BUILD_OVERRIDE_ID:"Build ID",BUILD_OVERRIDE_APPLY:"Apply",BUILD_OVERRIDE_CLEAR:"Clear",BUILD_OVERRIDE_ISNT_AVAILABLE:"Build isn't available",BUILD_OVERRIDE_LINK_COPY:"Copy Link",BUILD_OVERRIDE_LINK_COPIED:"Link Copied!",BUILD_OVERRIDE_INVALID:"Invalid build override",BUILD_OVERRIDE_INCOMPATIBLE_CLIENT:"{releaseChannel} client only",BUILD_OVERRIDE_INCOMPATIBLE_TARGETS:"{supportedTargets} targets only",BUILD_OVERRIDE_EXPIRED:"Build expired",BUILD_OVERRIDE_INVALID_USER:"Incorrect user",LABEL_WITH_ONLINE_STATUS:"{label}, {status}",INCOMPATIBLE_BROWSER:"Or, visit this page from a [supported browser]({supportedBrowserURL}).",DESKTOP_APP:"Desktop App",CONNECTED_ON_ANOTHER_CLIENT:"Connected on another client",NOW_PLAYING_GDPR_HEADER:"This section could be better",NOW_PLAYING_GDPR_BODY:"We can customize Active Now, and other parts of Discord, based on information like who you talk to and what games you play. You can change this anytime in [privacy settings](onPrivacyClick).",hr:"Croatian","zh-TW":"Chinese, Taiwan",fr:"French",de:"German","en-US":"English, US","en-GB":"English, UK","pt-BR":"Portuguese, Brazilian",ru:"Russian",it:"Italian","es-ES":"Spanish",ko:"Korean",nl:"Dutch","sv-SE":"Swedish",pl:"Polish",ja:"Japanese",bg:"Bulgarian",uk:"Ukrainian",tr:"Turkish",da:"Danish",cs:"Czech",fi:"Finnish",no:"Norwegian",el:"Greek",lt:"Lithuanian",hu:"Hungarian",ro:"Romanian, Romania","zh-CN":"Chinese, China",th:"Thai",vi:"Vietnamese",hi:"Hindi",en:"English",I18N_LOCALE_LOADING_ERROR:"An error occurred loading {locale}",NUF_GET_STARTED:"Let's get you started",NUF_WHAT_DO_YOU_WANT:"What do you want to do first?",NUF_VOICE_CHAT_WHILE_GAMING:"Voice chat while gaming",NUF_CHAT_WITH_FRIENDS:"Chat with friends",NUF_CLUB_OR_INTEREST_GROUP:"Start a club or community",NUF_GAMING_COMMUNITY:"Join an existing gaming community",NUF_HAVE_AN_INVITE_ALREADY:"Have an invite already?",NUF_JOIN_A_FRIEND:"Join a friend on Discord",NUF_JUST_LOOK_AROUND:"I'll just look around for now",GUILD_FOLDER_NAME:"Folder Name",GUILD_FOLDER_COLOR:"Folder Color",GUILD_FOLDER_UNNAMED:"Unnamed Server Folder",GUILD_FOLDER_UPDATED_SUCCESS:"Folder settings saved!",USER_PROFILE_MESSAGE:"Message",USER_PROFILE_AUDIO:"Call",USER_PROFILE_VIDEO:"Video",USER_PROFILE_ADD_FRIEND:"Add Friend",USER_PROFILE_PENDING:"Pending",USER_PROFILE_MUTUAL_FRIENDS:"{count, plural, =0 {0 Mutual Friends} one {1 Mutual Friend} other {{count} Mutual Friends}}",USER_PROFILE_MUTUAL_GUILDS:"{count, plural, =0 {0 Mutual Servers} one {1 Mutual Server} other {{count} Mutual Servers}}",USER_PROFILE_MUTUAL_FRIENDS_PLACEHOLDER:"Mutual Friends",USER_PROFILE_MUTUAL_GUILDS_PLACEHOLDER:"Mutual Servers",IOS_PROFILE_IN_VOICE_CALL:"In a voice call",IOS_PROFILE_OPEN_VOICE_CHANNEL:"Open Voice Channel",USER_PROFILE_GUILD_NAME_CONTENT_DESCRIPTION:"Server Name",USER_PROFILE_INCOMING_FRIEND_REQUEST_DIALOG_BODY:"Accept this friend request?",USER_PROFILE_VOLUME:"Volume",USER_PROFILE_FAILURE_TO_OPEN_MESSAGE:"Uh oh! We can't view details for this user",USER_PROFILE_SETTINGS_SETSTATUS:"Set Status",SERVER_INSIGHTS:"Server Insights",GUILD_ANALYTICS_DESCRIPTION:"We’ve put together a bunch of helpful data to help you better run your community. Learn how active your community is, where new members are coming from, and much more. Use what you learn to make informed decisions to improve your server’s engagement!\n\nAnalytics about Announcement Channels, Server Discovery, and Welcome Screen also live here.",GUILD_ANALYTICS_DEVELOPERS_CTA:"Server Insights is hosted on a separate website so that it’s easier to share links and browse cross platform.",GUILD_ANALYICS_DEVELOPERS_BUTTON:"Go to Server Insights",TOTAL_MEMBERS:"Total Members",WEEKLY_COMMUNICATORS:"Weekly Communicators",COMMUNICATORS_INFO:"A visitor who talked (voice or text).",WEEKLY_VISITORS:"Weekly Visitors",VISITORS_INFO:"A member who has clicked into the server and viewed a channel.",WEEKLY_NEW_MEMBERS:"Weekly New Members",WEEKLY_NEW_MEMBER_RETENTION:"Weekly New Member Retention",NEW_MEMBER_RETENTION_INFO:"Percentage of new members that still came back to the server the week after joining.",NOT_AVAILABLE:"N/A",TRENDING_ARROW_UP:"Trending Arrow Up",TRENDING_ARROW_DOWN:"Trending Arrow Down",PERCENTAGE_SINCE_LAST_WEEK:"{percentage}% since last week",GUILD_ANALYTICS_METRICS_LAST_WEEK:"From the most recent week",GUILD_ANALYTICS_ERROR_MESSAGE:"Uh oh! Looks like something broke. Please refresh the application and try again.",GUILD_ANALYTICS_ERROR_GUILD_SIZE:"Looks like your server isn’t quite ready to see full insights. You will only have access to Announcement Channels and Welcome Screen analytics.",NOISE_CANCELLATION_POPOUT_HEADER:"Noise Suppression",NOISE_CANCELLATION_POPOUT_DESCRIPTION:"Enable Krisp noise suppression! Make some noise—like clapping your hands—while speaking. Your friends will hear nothing but your beautiful voice.",NOISE_CANCELLATION_POPOUT_FOOTER:"Powered by",NOISE_CANCELLATION_POPOUT_TEST:"Test",NOISE_CANCELLATION_POPOUT_STOP:"Stop",NOISE_CANCELLATION_POPOUT_MIC_TEST_TITLE:"Mic Test",NOISE_CANCELLATION_TOOLTIP:"Noise Suppression powered by Krisp",USER_SETTINGS_NOISE_CANCELLATION:"Noise Suppression",USER_SETTINGS_NOISE_CANCELLATION_DESCRIPTION:"Suppress background noise from your mic.",USER_SETTINGS_DISABLE_NOISE_SUPPRESSION:"Noise reduction is disabled while Noise Suppression is active.",USER_SETTINGS_NOISE_CANCELLATION_MODEL:"Noise suppression model",MOBILE_NOISE_CANCELLATION_POPOUT_TITLE:"Noise suppression",MOBILE_NOISE_CANCELLATION_FAILED:"We couldn't enable Krisp due to an error. Give it another go and try again.",MOBILE_NOISE_CANCELLATION_CPU_OVERUSE:"We disabled noise suppression to improve phone performance.",NOISE_CANCELLATION_CPU_OVERUSE:"We disabled noise suppression to improve performance.",MOBILE_ADVANCED_VOICE_ACTIVITY_CPU_OVERUSE:"We disabled voice activity detection to improve phone performance.",MOBILE_NOISE_CANCELLATION_POPOUT_DESCRIPTION:"While speaking, filter out background noise and showcase your wonderful voice. Powered by Krisp.",ENABLE_NOISE_CANCELLATION:"Enable Noise Suppression",DISABLE_NOISE_CANCELLATION:"Disable Noise Suppression",MIC_TEST_VOICE_CHANNEL_WARNING:"You'll be muted and deafened in your voice session during Mic Testing.",CAMERA:"Camera",TAKE_A_PHOTO:"Take a Photo",IOS_VIEW_ALL:"View all",VIEW_ALL:"View all",IOS_MEDIA_KEYBOARD_NO_PERMISSION:"Enable permissions to access your photo library. Show everyone how cute your pet is.",IOS_MEDIA_KEYBOARD_NO_PHOTOS:"You don’t have any photos in your photo library. The best time to start is now.",IOS_MEDIA_KEYBOARD_MORE_PHOTOS:"Not what you’re looking for? Browse your photo library for that perfect picture.",IOS_MEDIA_KEYBOARD_ENABLE_IN_SETTINGS:"Enable in Settings",IOS_MEDIA_KEYBOARD_BROWSE_PHOTO:"Browse Photos",CANNOT_ATTACH_FILES:"You don't have permission to attach files",MEDIA_KEYBOARD_BROWSE:"Browse",MEDIA_KEYBOARD_GIFT:"Gift",EXPAND_BUTTONS:"Expand Buttons",ADD_CONTENT:"Add Content",CLEAR_ATTACHMENTS:"Clear Attachments",EMOJI_KEYBOARD_TOGGLE:"Toggle Keyboard/Emojis",OPEN_STANDARD_KEYBOARD_ACCESSIBILITY_LABEL:"Open standard keyboard",SEND_A_MESSAGE:"Send a Message",ATTACHMENT_FILES:"File Selector",ATTACHMENT_MEDIA:"Media Selector",SHOW_KEYBOARD:"Show Keyboard",ENABLE_PERMISSION:"Enable Permission",STORAGE_PERMISSION_DENIED:"Storage Permission Required",CAMERA_PERMISSION_DENIED:"Camera Permission Required",CAMERA_INTENT_RESULT_ERROR:"Camera Result Invalid",CAMERA_UNKNOWN_ERROR:"Unknown Camera Error",FILES_PERMISSION_REASON:"Storage permission needed to show files",FLASH_AUTO:"Auto Flash",FLASH_ON:"Flash On",FLASH_OFF:"Flash Off",FLASH_TORCH:"Flash Torch",CAMERA_SWITCHED:"Camera Switched",PREMIUM_GAME:"Discord Nitro Game",TEAL:"Teal",LIGHT_GREEN:"Light green",BLUE:"Blue",PURPLE:"Purple",MAGENTA:"Magenta",DARK_TEAL:"Dark teal",GREEN:"Green",DARK_BLUE:"Dark blue",LIGHT_BLUE:"Light blue",SKY_BLUE:"Sky blue",DARK_PURPLE:"Dark purple",BURGUNDY:"Burgundy",YELLOW:"Yellow",ORANGE:"Orange",SALMON:"Salmon",LIGHT_GREY:"Light grey",DARK_GREY:"Dark grey",GREY:"Grey",TAN:"Tan",BROWN:"Brown",TERRACOTTA:"Terracotta",UPLOAD_UPLOADS_TOO_LARGE_TITLE:"Too Many Uploads",UPLOAD_UPLOADS_TOO_LARGE_HELP:"Maximum number of uploads allowed in a message reached ({maxLength})",DISCODO_ENABLED:"ディスコード enabled",DISCODO_DISABLED:"ディスコード disabled",PROMOTION_CARD_ACTION_CLAIM:"Claim",ALLOW_DIRECT_MESSAGES:"Allow Direct Messages",ALLOW_DIRECT_MESSAGES_CAPTION:"Anyone in the server can message you",HUMANIZE_DURATION_A_FEW_SECONDS:"a few seconds",HUMANIZE_DURATION_SECONDS:"{time, plural, =1 {1 second} other {# seconds}}",HUMANIZE_DURATION_MINUTES:"{time, plural, =1 {1 minute} other {# minutes}}",HUMANIZE_DURATION_HOURS:"{time, plural, =1 {1 hour} other {# hours}}",HUMANIZE_DURATION_DAYS:"{time, plural, =1 {1 day} other {# days}}",BILLING_STANDALONE_GUILD_SUBSCRIPTION_PURCHASE_TITLE:"Purchase Server Boosts",BILLING_STANDALONE_PREMIUM_PURCHASE_TITLE:"Purchase Discord Nitro",BILLING_STANDALONE_PREMIUM_SWITCH_PLAN_TITLE:"Switch Discord Nitro Plan",BILLING_STANDALONE_PREMIUM_GIFT_PURCHASE_TITLE:"Gift Discord Nitro",BILLING_STANDALONE_ADD_PAYMENT_TITLE:"Add Payment Method",BILLING_STANDALONE_PAYMENT_HISTORY_TITLE:"View Payment History",BILLING_STANDALONE_PROMOTION_REDEMPTION_TITLE:"Redeem Promotion",SHARE_SETTINGS_TITLE:"Sharing",IOS_SHARE_SUGGESTIONS_TOGGLE:"iOS Conversation Suggestions",IOS_SHARE_SUGGESTIONS_HINT:"Allows Discord conversations to appear as suggestions for sharing and search in iOS. Disabling this will hide those suggestions and make iOS forget which friends and servers are your favorite.",SUPPRESS_EMBED_TITLE:"Are you sure?",SUPPRESS_EMBED_BODY:"This will remove all embeds on this message for everyone.",SUPPRESS_EMBED_CONFIRM:"Remove All Embeds",SUPPRESS_EMBED_TIP:"Hold shift when clearing embeds to skip this modal.",REMOVE_ATTACHMENT_TITLE:"Are you sure?",REMOVE_ATTACHMENT_BODY:"This will remove this attachment from this message permanently.",REMOVE_ATTACHMENT_CONFIRM:"Remove Attachment",BLOCKED_MESSAGE_COUNT:"{count, plural, =0 {No blocked messages} one {{count} blocked message} other {{count} blocked messages}}",BLOCKED_MESSAGES_SHOW:"{count, plural, one {Show message} other {Show messages}}",BLOCKED_MESSAGES_HIDE:"{count, plural, one {Collapse message} other {Collapse messages}}",AUDIO_DEVICES_OUTPUT_SELECTION_PROMPT:"Select Audio Output",AUDIO_DEVICES_CHANGE_OUTPUT:"Change Audio Output",AUDIO_DEVICES_BLUETOOTH:"Bluetooth",AUDIO_DEVICES_SPEAKER:"Speaker",AUDIO_DEVICES_EARPIECE:"Phone",AUDIO_DEVICES_WIRED:"Wired Headset",AUDIO_DEVICES_UNKNOWN:"Unknown",AUDIO_DEVICES_TOGGLE_UNAVAILABLE:"Unavailable during video call.",IOS_CALL_DISCONNECTED:"Call Disconnected",IOS_CALL_ENDED:"Your call has ended!",WORKING:"Working...",GUILD_TEMPLATE_RESOLVING_TITLE:"Loading server template",GUILD_TEMPLATE_INVALID_TITLE:"Invalid server template",GUILD_TEMPLATE_INVALID_SUBTITLE:"You can ask the owner to make a new one though",GUILD_TEMPLATE_MOBILE_INVALID_CTA:"Tap to learn more",GUILD_TEMPLATE_MOBILE_INVALID_ERROR:"This template link is invalid or has expired.\nWant to know more about Discord?",GUILD_TEMPLATE_RESOLVED_EMBED_TITLE:"Server template",GUILD_TEMPLATE_MODAL_TITLE:"Create a server based on:",GUILD_TEMPLATE_OPEN:"View Template",GUILD_TEMPLATE_EMBED_VIEW_IN_APP:"Available in App",GUILD_TEMPLATE_USAGES:"{usageCount, plural, =0 {Be the first to use this!} one {**1** person used this template} other {**{usageCount}** people used this template}}",GUILD_TEMPLATE_USAGES_NO_BOLD:"{usageCount, plural, =0 {Be the first to use this!} one {1 person used this template} other {{usageCount} people used this template}}",GUILD_TEMPLATE_USAGES_BY_CREATOR2:"{usageCount, plural, =0 {Be the first to use this template by $[**!!{creator}!!**](creatorHook)!} one {**1** person used this template by $[**!!{creator}!!**](creatorHook)} other {**{usageCount}** people used this template by $[**!!{creator}!!**](creatorHook)}}",GUILD_TEMPLATE_MODAL_ERROR_TITLE:"Whoops...",GUILD_TEMPLATE_MODAL_CHANNELS_HEADER:"Template Channels",GUILD_TEMPLATE_MODAL_CHANNELS_DESCRIPTIONS:"Use channels to organize your server by specific topics.",GUILD_TEMPLATE_MODAL_CHANNELS_TIP:"You can always edit the channels, roles, and permissions after creation.",GUILD_TEMPLATE_MODAL_ROLES_HEADER:"Roles and Permissions",GUILD_TEMPLATE_MODAL_ROLES_HEADER2:"Template Roles and Permissions",GUILD_TEMPLATE_MODAL_ROLES_DESCRIPTION:"Use roles to organize your members and to grant permissions like access to private channels.",GUILD_TEMPLATES:"Server Template",GUILD_TEMPLATE_SETTINGS_DESCRIPTION:"A server template is an easy way to share your server setup and help anyone create a server instantly.\n\n  When someone uses your server template link, they create a new server pre-filled with the same channels, roles, permissions, and settings as yours.",GUILD_TEMPLATES_FORM_LABEL_LINK:"Template Link",GUILD_TEMPLATES_CREATE_LINK:"Generate Template",GUILD_TEMPLATES_FORM_LABEL_NAME:"Template Title",GUILD_TEMPLATES_FORM_PLACEHOLDER_NAME:"Who is this server for? E.g. School Club, Artists' Community",GUILD_TEMPLATES_FORM_ERROR_NAME_REQUIRED:"Title is required.",GUILD_TEMPLATES_FORM_LABEL_DESCRIPTION:"Template Description",GUILD_TEMPLATES_FORM_PLACEHOLDER_DESCRIPTION:"What can people do in this server?",GUILD_TEMPLATES_DEFAULT_TEMPLATE_NAME:"!!{serverName}!! Template",GUILD_TEMPLATES_FORM_LABEL_ICON:"Your server icon",GUILD_TEMPLATES_PREVIEW_TEMPLATE:"Preview Template",GUILD_TEMPLATES_SYNC_TEMPLATE:"Sync Template",GUILD_TEMPLATES_UNSYNCED_WARNING:"* You have unsynced changes. Update the channels, roles, and permissions in your template by syncing.",GUILD_TEMPLATES_TEMPLATE_SYNC:"Template Sync",GUILD_TEMPLATES_LAST_SYNC:"Last sync: {timestamp, date, long}",GUILD_TEMPLATES_SYNC_DESCRIPTION:"Update the channels, roles, and permissions in your template by syncing.",GUILD_TEMPLATES_DELETE_TEMPLATE:"Delete Template",GUILD_TEMPLATES_DELETE_TEMPLATE_LINK:"Delete Template Link",GUILD_TEMPLATES_DELETE_DESCRIPTION:"Are you sure you want to delete your template? This will prevent anyone with the link from using it.",GUILD_TEMPLATES_FORM_DESCRIPTION_WILL_COPY:"Templates will copy:",GUILD_TEMPLATES_FORM_DESCRIPTION_WONT_COPY:"Templates will not copy:",GUILD_TEMPLATES_FORM_DESCRIPTION_CHANNELS:"Channels and channel topics",GUILD_TEMPLATES_FORM_DESCRIPTION_ROLES:"Roles and permissions",GUILD_TEMPLATES_FORM_DESCRIPTION_SETTINGS:"Default server settings",GUILD_TEMPLATES_FORM_DESCRIPTION_MESSAGES:"Messages or any content",GUILD_TEMPLATES_FORM_DESCRIPTION_MEMBERS:"Members or bots",GUILD_TEMPLATES_FORM_DESCRIPTION_PERKS:"Your server icon, Boosts, or other perks",GUILD_TEMPLATES_UNSYNCED_TOOLTIP:"Your server is out of sync with your server template. Sync template?",GUILD_TEMPLATE_SETUP_DISCORD:"Set up your Server",GUILD_TEMPLATE_CREATE_DISCORD:"Create a Server",GUILD_TEMPLATE_BASED_ON:"based on",GUILD_TEMPLATES_PROMOTION_TOOLTIP:"You can now help anyone set up a server easily by creating a **Server Template!**",GUILD_TEMPLATES_PROMOTION_TOOLTIP_ARIA_LABEL:"You can now help anyone set up a server easily by creating a Server Template!",TABS_HOME_ACCESSIBILITY_LABEL:"Home tab",TABS_FRIENDS_ACCESSIBILITY_LABEL:"Friends tab",TABS_SEARCH_ACCESSIBILITY_LABEL:"Search tab",TABS_MENTIONS_ACCESSIBILITY_LABEL:"Mentions tab",TABS_SETTINGS_ACCESSIBILITY_LABEL:"Settings tab",VIDEO_PLAYBACK_MUTE_ACCESSIBILITY_LABEL:"Mute video",VIDEO_PLAYBACK_UNMUTE_ACCESSIBILITY_LABEL:"Unmute video",WELCOME_SCREEN_TITLE:"Welcome to $[!!{guildName}!!](guildNameHook)",WELCOME_SCREEN_CHOICE_HEADER:"Top things to do here",WELCOME_SCREEN_SKIP:"I'll just look around for now",NUF_CHANNELS_TITLE:"These are your channels!",NUF_CHANNELS_DESCRIPTION:"Channels are places in your server where people can talk about different topics.",NUF_CHANNELS_CTA_LABEL:"View my channels",NUF_VOICE_CHANNELS_TITLE:"Voice channels are where people come together to talk.",NUF_VOICE_CHANNELS_DESCRIPTION:"There's no ringing or calling. Pop into a voice channel and friends can jump in to talk with you, use video, or even share their screen.",GUILD_SETTINGS_PUBLIC_WELCOME_EXAMPLE_TITLE:"Welcome to **Wumpus Land!**",GUILD_SETTINGS_PUBLIC_WELCOME_EXAMPLE_DESCRIPTION:"Here you can meet other Wumpus fans and participate in weekly group events",GUILD_SETTINGS_PUBLIC_WELCOME_EXAMPLE_CHANNEL_DESCRIPTION_1:"Chat about the latest Wumpus sightings",GUILD_SETTINGS_PUBLIC_WELCOME_EXAMPLE_CHANNEL_NAME_1:"general",GUILD_SETTINGS_PUBLIC_WELCOME_EXAMPLE_CHANNEL_DESCRIPTION_2:"Find others to hunt Wumpus together",GUILD_SETTINGS_PUBLIC_WELCOME_EXAMPLE_CHANNEL_NAME_2:"looking-for-group",GUILD_SETTINGS_PUBLIC_WELCOME_EXAMPLE_CHANNEL_DESCRIPTION_3:"Get the latest news about Wumpus",GUILD_SETTINGS_PUBLIC_WELCOME_EXAMPLE_CHANNEL_NAME_3:"wumpus-news",MEMBER_VERIFICATION_MODAL_TITLE:"Before you can talk in this server...",MEMBER_VERIFICATION_MODAL_SUBTITLE:"You’ll need to complete the required steps below.",MEMBER_VERIFICATION_NUM_EMOJIS:"{emojis, plural, =0 {no server emoji} one {{emojis} server emoji} other {{emojis} server emojis}}",MEMBER_VERIFICATION_NUM_ONLINE:"{membersOnline, number} Online",MEMBER_VERIFICATION_NUM_MEMBERS:"{members, number} Members",MEMBER_VERIFICATION_READ_RULES:"I have read and agree to the rules",MEMBER_VERIFICATION_WARNING:"Make sure you have not entered your password or any other sensitive information.",MEMBER_VERIFICATION_NOTICE_TEXT:"You must complete a few more steps before you can start talking in this server.",MEMBER_VERIFICATION_CHAT_BLOCKER_TEXT:"You must complete a few more steps before you can talk.",MEMBER_VERIFICATION_NOTICE_CTA:"Complete",MEMBER_VERIFICATION_VERSION_MISMATCH_ERROR:"This server's requirements have changed. Please close this and try again.",MEMBER_VERIFICATION_FORM_INCOMPLETE:"You have not completed all the required steps.",MEMBER_VERIFICATION_CLAIM_ACCOUNT_TITLE:"Claim your account to talk in this server.",MEMBER_VERIFICATION_CLAIM_ACCOUNT_SUBTITLE:"This will also save all your messages and servers even after you close the browser.",MEMBER_VERIFICATION_CLAIM_ACCOUNT_INFO:"We will send you a verification email once you press Next. You must verify your email to continue.",MEMBER_VERIFICATION_EMAIL_CONFIRMATION_TITLE:"We've sent a confirmation link to !!{email}!!",MEMBER_VERIFICATION_EMAIL_CONFIRMATION_SUBTITLE:"Confirm the link from your email to continue verification. This page will automatically refresh.",MEMBER_VERIFICATION_EMAIL_RESEND:"Resend Confirmation Email",MEMBER_VERIFICATION_CLAIM_ACCOUNT_ICON:"User avatar icon",MEMBER_VERIFICATION_VERIFY_EMAIL_ICON:"Stylized image of a mail envelope",MEMBER_VERIFICATION_VERIFICATION_ICON:"Stylized image of a sparkle for emphasis",MEMBER_VERIFICATION_CANCEL_PENDING_APPLICATION_MODAL_TITLE:"Are you sure you want to withdraw your application?",MEMBER_VERIFICATION_CANCEL_PENDING_APPLICATION_MODAL_DESC:"If you want to join in the future, you’ll have to apply again.",MEMBER_VERIFICATION_PENDING_APPLICATION_ICON:"Stylized image of a clipboard and pencil",MEMBER_VERIFICATION_PENDING_APPLICATION_MODAL_TITLE:"Your application to join the server is awaiting review!",MEMBER_VERIFICATION_PENDING_APPLICATION_CANCEL_MODAL_TITLE:"Are you sure you want to withdraw your application?",MEMBER_VERIFICATION_PENDING_APPLICATION_LEAVE_SERVER_MODAL_TITLE:"Are you sure you want to leave this server?",MEMBER_VERIFICATION_PENDING_APPLICATION_MODAL_DESC:"You’ll get notified when there’s an update.",MEMBER_VERIFICATION_PENDING_APPLICATION_LEAVE_SERVER_MODAL_DESC:"You’ll have to resubmit your application if you want to join again in the future.",MEMBER_VERIFICATION_PENDING_APPLICATION_MODAL_CONFIRM:"Got it",MEMBER_VERIFICATION_PENDING_APPLICATION_MODAL_CANCEL:"Cancel Application",MEMBER_VERIFICATION_PENDING_APPLICATION_MODAL_LEAVE:"Leave Server",MEMBER_VERIFICATION_PENDING_APPLICATION_MODAL_WITHDRAW_AND_LEAVE:"Withdraw and Leave Server",MEMBER_VERIFICATION_PENDING_APPLICATION_MODAL_DISMISS:"Never mind",MEMBER_VERIFICATION_PENDING_APPLICATION_MODAL_REAPPLY:"Reapply",MEMBER_VERIFICATION_LEAVE_APPLICATION_TITLE:"Are you sure you want to quit?",MEMBER_VERIFICATION_LEAVE_APPLICATION_DESC:"You’ll have to resubmit your application if you want to join again in the future.",MEMBER_VERIFICATION_LEAVE_APPLICATION_COMPLETE_LATER:"Complete Application Later",MEMBER_VERIFICATION_APPROVED_APPLICATION_MODAL_TITLE:"You are now a member of !!{guildName}!!!",MEMBER_VERIFICATION_APPROVED_APPLICATION_MODAL_DESC:"Hooray! It's time to talk and meet your new community.",MEMBER_VERIFICATION_APPROVED_APPLICATION_MODAL_CONFIRM:"Let's go!",MEMBER_VERIFICATION_PROGRESS_LOST_TITLE:"Are you sure? Your progress will be lost.",MEMBER_VERIFICATION_PROGRESS_LOST_CONTINUE:"Close Anyway",MEMBER_VERIFICATION_APPLICATION_REJECTED_TITLE:"Your application to join the server has been denied.",MEMBER_VERIFICATION_APPLICATION_REJECTED_TITLE_WITH_GUILD_NAME:"Your application to join {guildName} has been denied.",MEMBER_VERIFICATION_APPLICATION_REJECTED_REASON:"Reason:",MEMBER_VERIFICATION_APPLICATION_REAPPLY:"Reapply",MEMBER_VERIFICATION_APPLICATION_REJECTED_ICON:"Stylized image of a clipboard with an X",MEMBER_VERIFICATION_FOLDER_NAME:"Pending Join Requests",MEMBER_VERIFICATION_CONFIRM_LEAVE_TITLE:"Are you sure?",MEMBER_VERIFICATION_ICON_DESC:"Server Application Status",MEMBER_VERIFICATION_WARNING_UPDATE_MODAL_TITLE:"You need to update your app to join this server.",MEMBER_VERIFICATION_WARNING_UPDATE_MODAL_DESC:"If you are still seeing this screen after updating, please reach out to support.",MEMBER_VERIFICATION_WARNING_UPDATE:"Update",PARTNER_PROGRAM:"Partner Program",GUILD_PARTNER_APPLICATION_TITLE:"Apply to the Discord Partner Program",GUILD_PARTNER_APPLICATION_SERVER_STEP:"Server Info",GUILD_PARTNER_APPLICATION_USER_STEP:"Your Info",GUILD_PARTNER_APPLICATION_SUBMIT_STEP:"Submit Application",GUILD_PARTNER_APPLICATION_SERVER_STEP_TITLE:"What's your community about?",GUILD_PARTNER_APPLICATION_SERVER_STEP_DESCRIPTION:"You're a few steps away from being recognized as one of the best servers on Discord! First, we'll need a few details about your community.",GUILD_PARTNER_APPLICATION_USER_STEP_TITLE:"Tell us about yourself!",GUILD_PARTNER_APPLICATION_USER_STEP_DESCRIPTION:"Next, we'll also need some info about you, the server owner.",GUILD_PARTNER_APPLICATION_USER_STEP_DESCRIPTION_CONTENT_CREATOR:"Next, we'll also need some info about you, the server owner. Since you're a content creator, you will need to specify where you make your stuff.",GUILD_PARTNER_APPLICATION_SUBMIT_STEP_TITLE:"Just click submit and you're done!",GUILD_PARTNER_APPLICATION_SUBMIT_STEP_DESCRIPTION:"We hope to follow up within 30 days.",GUILD_PARTNER_APPLICATION_SUBMIT_STEP_DESCRIPTION_2:"Please note that acceptance into the program is not guaranteed, as many other factors are considered. Each Partner application is reviewed by the Discord team.",GUILD_PARTNER_APPLICATION_INVITE_LINK_TITLE:"Permanent Server Invite Link (Autogenerated)",GUILD_PARTNER_APPLICATION_INVITE_LINK_DESCRIPTION:"Someone from Discord may join your server to review its content and conversation. We promise not to be intrusive; we just want to understand what being part of your community is like!",GUILD_PARTNER_APPLICATION_DESCRIPTION_TITLE:"Server Description",GUILD_PARTNER_APPLICATION_DESCRIPTION_DESCRIPTION:"Tell us about your server. What is it about? Who is it for?",GUILD_PARTNER_APPLICATION_WHY_YOU_TITLE:"What makes your server deserving of Partnership?",GUILD_PARTNER_APPLICATION_WHY_YOU_DESCRIPTION:"Take a moment to share what makes your server unique, or tell us something truly special that happened within your community.",GUILD_PARTNER_APPLICATION_TYPE:"Partner Type",GUILD_PARTNER_APPLICATION_TYPE_CONTENT:"Content Creator / Personality",GUILD_PARTNER_APPLICATION_TYPE_FAN:"Interest Group or Fan Community",GUILD_PARTNER_APPLICATION_TYPE_BRAND:"Business / Brand",GUILD_PARTNER_APPLICATION_TYPE_SOFTWARE:"Open Source Software",GUILD_PARTNER_APPLICATION_TYPE_OTHER:"Other",GUILD_PARTNER_APPLICATION_CATEGORY_LABEL:"Categories",GUILD_PARTNER_APPLICATION_WEBSITE:"Community Website (Optional)",GUILD_PARTNER_APPLICATION_CATEGORY_DESCRIPTION:"Which of the following categories best describes your server?",GUILD_PARTNER_APPLICATION_SUBCATEGORY_DESCRIPTION:"You can also select up to 5 subcategories.",GUILD_PARTNER_APPLICATION_FIRST_NAME:"First Name",GUILD_PARTNER_APPLICATION_LAST_NAME:"Last Name",GUILD_PARTNER_APPLICATION_COUNTRY:"Country",GUILD_PARTNER_APPLICATION_LANGUAGE:"Select the primary language used in your server",GUILD_PARTNER_APPLICATION_CONTENT_PLATFORM:"Where do you primarily create content?",GUILD_PARTNER_APPLICATION_CREATOR_CONNECT:"Connect accounts where you create",GUILD_PARTNER_APPLICATION_CREATOR_MUST_CONNECT_PRIMARY:"If you've selected one of these options as where you primarily create content, you must connect your account to continue.",GUILD_PARTNER_APPLICATION_CONNECT:"Connect your social accounts",GUILD_PARTNER_APPLICATION_OTHER_PLATFORM:"Do you create content somewhere else?",GUILD_PARTNER_APPLICATION_OTHER_PLATFORM_OPTIONAL:"Do you create content somewhere else? (Optional)",GUILD_PARTNER_APPLICATION_SURVEY_TITLE:"Partnership Survey",GUILD_PARTNER_APPLICATION_SURVEY_DESCRIPTION:"Aside from the upgraded server perks, what are you most looking forward to getting out of being a Partnered community?",GUILD_PARTNER_APPLICATION_SURVEY_DESCRIPTION_OTHER:'If you selected "other," what have you got in mind?',GUILD_PARTNER_APPLICATION_SURVEY_TALK_WITH_OTHER_PARTNERS:"Being able to talk with other Partnered community leaders",GUILD_PARTNER_APPLICATION_SURVEY_COMMUNITY_TEAM_ACCESS:"Having direct access to the Discord Community Team for assistance",GUILD_PARTNER_APPLICATION_SURVEY_NEW_IDEAS_SUGGESTIONS:"Getting inspired with new ideas and suggestions from other Partners on how to grow my community",GUILD_PARTNER_APPLICATION_SURVEY_EARLY_ACCESS_TO_FEATURES:"Early access to news and feature updates",GUILD_PARTNER_APPLICATION_SURVEY_OTHER:"Other",GUILD_PARTNER_APPLICATION_OTHER_PLATFORM_DESCRIPTION:"If it's not one of the above websites, you can link it here.",GUILD_PARTNER_APPLICATION_HAS_ERRORS:"Uh oh, something went wrong. Please try again later.",GUILD_PARTNER_APPLICATION_PAUSE:"Partner Program applications are currently paused while the team takes a well earned break for the summer. We'll start accepting submissions soon as the next season rolls around. Take this extra time to work on your application, and we can’t wait to see you apply for Partnership in the near future!",GUILD_PARTNER_APPLICATION_BUTTON_PAUSE:"Applications are paused for the summer.",WELCOME_MESSAGE_TITLE_CHANNEL:"Welcome to !!{channelName}!!!",ANDROID_WELCOME_MESSAGE_TITLE_CHANNEL:"Welcome to #!!{channelName}!!!",WELCOME_MESSAGE_SUBTITLE_CHANNEL:"This is the start of the !!{channelName}!! channel.",ANDROID_WELCOME_MESSAGE_SUBTITLE_CHANNEL:"This is the start of the #!!{channelName}!! channel.",WELCOME_MESSAGE_EDIT_CHANNEL:"Edit channel",WELCOME_CTA_TITLE:"Welcome to\n\n!!{guildName}!!",WELCOME_CTA_TITLE_MOBILE:"Welcome to !!{guildName}!!",WELCOME_CTA_SUBTITLE_OWNER:"This is your brand new, shiny server.",WELCOME_CTA_SUBTITLE_MEMBER:"This is a brand new, shiny server.",WELCOME_CTA_SUBTITLE_EXISTING_SERVER:"This is the beginning of this server.",WELCOME_CTA_SUBTITLE_ACTION_WITH_GUIDE:"Here are some steps to help you get started. For more, check out our [Getting Started guide]({guideURL}).",WELCOME_CTA_INVITE_TITLE:"Invite your friends",WELCOME_CTA_MESSAGE_TITLE:"Send your first message",WELCOME_CTA_PERSONALIZE_TITLE:"Personalize your server with an icon",WELCOME_CTA_PERSONALIZE_TITLE_MOBILE:"Personalize your server",WELCOME_CTA_DOWNLOAD_TITLE:"Download the Discord App",GUILD_RULES_HEADER:"Server Rules",GUILD_RULES_SUBHEADER:"By participating in this server, you have read and agreed to the server's rules.",GUILD_RULES_EDIT_LINK:"Edit Server Rules",DISCOVER:"Discover",AVATAR_UPLOAD_EDIT_MEDIA:"Edit Image",AVATAR_UPLOAD_CANCEL:"Cancel",AVATAR_UPLOAD_APPLY:"Apply",AGE_GATE_GO_BACK:"Go back",AGE_GATE_SUBMIT:"Submit",AGE_GATE_AGE_VERIFIED_BODY:"Thank you for verifying your age. This helps us to keep Discord safe.",AGE_GATE_ERROR_SAME_YEAR:"Hmm, that's really young!",AGE_GATE_HEADER:"Enter your birthday",AGE_GATE_DATE_OF_BIRTH:"Date of birth",AGE_GATE_UNDERAGE_HEADER:"Unable to register",AGE_GATE_UNDERAGE_BODY_POST_REGISTER_MESSAGE:"Based on the information you provided, we can’t create an account for you right now.",AGE_GATE_UNDERAGE_BODY_DEFAULT_MESSAGE:"You need to be 13 or older in order to use Discord.",AGE_GATE_UNDERAGE_BODY:"{underageMessage} [View our help article]({helpURL}) to learn more.",AGE_GATE_UNDERAGE_BACK_TO_LOGIN:"Back to Login",AGE_GATE_VIEW_HELP_ARTICLE:"View Help Article",AGE_GATE_INVALID_BIRTHDAY:"Please enter a valid date of birth",AGE_GATE_YOUR_BIRTHDAY:"Your birthday",AGE_GATE_DATE_EXAMPLE:"Example: {exampleDate}",AGE_GATE_EXISTING_HEADER:"Help us keep Discord safe",AGE_GATE_BODY:"To keep our users safe, we need to verify your age. We will only ask you for this once. [Why do I need to provide my birthday?]({helpURL})",AGE_GATE_NSFW_BODY:"Before you can view this NSFW channel, we need to verify your age. We will only ask you for this once. [Why do I need to provide my birthday?]({helpURL})",AGE_GATE_UNDERAGE_EXISTING_HEADER:"Sorry, there's an issue.",AGE_GATE_UNDERAGE_EXISTING_BODY_DELETION:"You have **14 days** to verify your age before your account will be deleted. Check your email for instructions on verifying your age.",AGE_GATE_UNDERAGE_EXISTING_BODY_DELETION_WITH_DAYS:"You have **{days, plural, =1 {1 day} other {{days} days}}** to verify your age before your account will be deleted. Check your email for instructions on verifying your age.",AGE_GATE_AGE_VERIFIED:"Age Verified",AGE_GATE_FAILED_TO_UPDATE_BIRTHDAY:"Failed to verify your birthday, please try again",AGE_GATE_NSFW_UNDERAGE_HEADER:"Sorry, you're not old enough to view this NSFW channel",AGE_GATE_NSFW_UNDERAGE_BODY:"You need to be 18 or older in order to view NSFW channels on Discord. [View our help article]({helpURL}) on age verification.",AGE_GATE_NSFW_DESCRIPTION:"This channel contains adult content marked Not Safe For Work. Do you wish to proceed?",AGE_GATE_CONFIRM_HEADER:"You submitted that you're {age, plural, =1 {1 year old} other {{age} years old}}. Is that correct?",AGE_GATE_CONFIRM_GO_BACK:"Go back",AGE_GATE_CONFIRM_BUTTON:"Confirm age",AGE_GATE_DOB_DAY:"Day",AGE_GATE_DOB_MONTH:"Month",AGE_GATE_DOB_YEAR:"Year",NSFW_GUILD_HEADER:"NSFW server",NSFW_GUILD_DESCRIPTION:"Sorry, NSFW servers are blocked on the iOS platform per App Store guidelines. If you're over 18 you can join on the desktop app or website.",NSFW_GUILD_DESCRIPTION_MORE:"Read more at our [Help Center]({helpURL}).",NSFW_GUILD_CLOSE:"Got it",NSFW_GUILD_SIDEBAR_HEADER:"NSFW server",NSFW_GUILD_SIDEBAR_DESCRIPTION:"NSFW servers are blocked on the iOS platform per App Store guidelines. [Visit our Help Center]({helpURL}) to learn more.",NSFW_CHANNEL_HEADER:"Unavailable",NSFW_GUILD_EMOJI_UNAVAILABLE:"Emojis from this server are unavailable",NSFW_GUILD_CHANNEL_DESCRIPTION:"This server's content is unavailable on iOS",NSFW_GUILDS_TOGGLE_HEADER:"Allow access to NSFW servers on iOS",NSFW_GUILDS_TOGGLE_CAPTION:"After joining on desktop, view your servers for people 18+ on iOS devices.",NUF_CHANNEL_PROMPT_TITLE:"Start a conversation",NUF_CHANNEL_PROMPT_SUBTITLE:"Let's get you ready to talk.\n  What's a topic your group likes?",NUF_CHANNEL_PROMPT_TOPIC:"Topic",NUF_CHANNEL_PROMPT_CTA:"Take me to my server!",NUF_CHANNEL_PROMPT_CHANNEL_TOPIC_TEMPLATE:"This is a good place to talk about !!{topic}!!",NUF_CHANNEL_PROMPT_TOPIC_PLACEHOLDER:"Drawing, climbing, memes, etc.",EMOJI_TOOLTIP_CLICK_CTA:"Click to learn more",EMOJI_POPOUT_UNJOINED_GUILD_EMOJI_DESCRIPTION:"Get this emoji from",EMOJI_POPOUT_JOINED_GUILD_EMOJI_DESCRIPTION:"This emoji is from",EMOJI_POPOUT_PREMIUM_CURRENT_GUILD_DESCRIPTION:"This emoji is from this server. You can use it everywhere.",EMOJI_POPOUT_PREMIUM_JOINED_GUILD_DESCRIPTION:"This emoji is from one of your servers. Type its name in the chat bar to use it.",EMOJI_POPOUT_PREMIUM_UNJOINED_DISCOVERABLE_GUILD_DESCRIPTION:"Want to use this emoji everywhere? Join the server.",EMOJI_POPOUT_PREMIUM_UNJOINED_PRIVATE_GUILD_DESCRIPTION:"This emoji is from a server that is either private or unavailable.",EMOJI_POPOUT_CURRENT_GUILD_DESCRIPTION:"This emoji is from this server. Get Nitro to use it everywhere.",EMOJI_POPOUT_JOINED_GUILD_DESCRIPTION:"This emoji is from one of your servers. Get Nitro to use it everywhere.",EMOJI_POPOUT_UNJOINED_DISCOVERABLE_GUILD_DESCRIPTION:"Want to use this emoji everywhere? Get Nitro and join the server.",EMOJI_POPOUT_UNJOINED_PRIVATE_GUILD_DESCRIPTION:"This emoji is from a server that is either private or unavailable. [Learn more](openPremiumSettings) about using custom emoji.",STICKER_POPOUT_UNJOINED_GUILD_EMOJI_DESCRIPTION:"Get this sticker from",STICKER_POPOUT_JOINED_GUILD_EMOJI_DESCRIPTION:"This sticker is from",STICKER_POPOUT_PREMIUM_CURRENT_GUILD_DESCRIPTION:"This sticker is from this server. You can use it everywhere.",STICKER_POPOUT_PREMIUM_JOINED_GUILD_DESCRIPTION:"This sticker is from one of your servers. Type its name in the chat bar to use it.",STICKER_POPOUT_PREMIUM_UNJOINED_DISCOVERABLE_GUILD_DESCRIPTION:"Want to use this sticker everywhere? Join the server.",STICKER_POPOUT_PREMIUM_UNJOINED_PRIVATE_GUILD_DESCRIPTION:"This sticker is from a server that is either private or unavailable.",STICKER_POPOUT_CURRENT_GUILD_DESCRIPTION:"This sticker is from this server. Get Nitro to use it everywhere.",STICKER_POPOUT_JOINED_GUILD_DESCRIPTION:"This sticker is from one of your servers. Get Nitro to use it everywhere.",STICKER_POPOUT_UNJOINED_DISCOVERABLE_GUILD_DESCRIPTION:"Want to use this sticker everywhere? Get Nitro and join the server.",STICKER_POPOUT_UNJOINED_PRIVATE_GUILD_DESCRIPTION:"This sticker is from a server that is either private or unavailable. [Learn more](openPremiumSettings) about using custom stickers.",STICKER_POPOUT_JOIN_SERVER:"Join Server",STICKER_POPOUT_PUBLIC_SERVER:"Public Server",STICKER_POPOUT_PRIVATE_SERVER:"Private server",STICKER_POPOUT_SHOW_MORE_STICKERS:"Show More Stickers",EMOJI_POPOUT_PREMIUM_CTA:"Get Nitro",EMOJI_POPOUT_SHOW_MORE_EMOJIS:"Show More Emoji",EMOJI_POPOUT_SHOW_FEWER:"Show fewer",EMOJI_POPOUT_PUBLIC_SERVER:"Public Server",EMOJI_POPOUT_PRIVATE_SERVER:"Private server",EMOJI_POPOUT_STANDARD_EMOJI_DESCRIPTION:"A default emoji. You can use this emoji everywhere on Discord.",TEST_NEWLINES_KEY:"\nThis is a test string, let's see if we can preserve newlines.\n\n  ",LOADING_DID_YOU_KNOW:"Did you know",LOADING_LINE_1:"Discord was almost called Bonfire before we picked our name. It was meant to be nice and cozy.",LOADING_LINE_2:"Discord was almost called Wyvern before we picked our name. Not too proud of that one.",LOADING_LINE_3:"Our logo's name is Clyde.",LOADING_LINE_4:'There are a bunch of hidden "Easter Eggs" in the app that happen when you click certain things...',LOADING_LINE_5:"Discord started as a game company making a mobile game called Fates Forever.",LOADING_LINE_6:"Discord’s official birthday is May 13, 2015.",LOADING_LINE_7:"We came up with the idea of Discord Nitro over morning breakfast potatoes.",LOADING_LINE_8:"Our mascot, Wumpus, was originally created as a character with no friends :(",LOADING_LINE_9:"In Discord's early days, light theme was the only theme. Dark theme didn't arrive until August 2015.",LOADING_LINE_10:"In the ancient days, Discord started as a browser-only app.",LOADING_LINE_11:"Our HypeSquad program has three houses you can be sorted in to by taking the in-app quiz: Bravery, Balance, and Brilliance.",LOADING_LINE_12:"The character on our 404 page is a robot hamster named Nelly.",LOADING_LINE_13:"You can play our version of the Snake game on our 404 page by pressing a ~secret~ button.",LOADING_LINE_14:"There's a very small—and we mean small—chance you can get a secret ringtone when calling someone. Good luck!",LOADING_LINE_15:"Our old Partner mascot was an elf named Springle. He recently retired.",LOADING_KEYBIND_TIP_1:"$[](quickSwitcherHook) to quickly find a previous conversation or channel.",LOADING_KEYBIND_TIP_2:"$[](markUnreadHook) a message to mark it as unread.",LOADING_KEYBIND_TIP_3:"$[](markServerUnreadHook) to mark an entire server as read.",LOADING_KEYBIND_TIP_4:"$[](navigateUnreadHook) or $[](downHook) will navigate between unread channels",LOADING_KEYBIND_TIP_5:"Use $[](keyboardShortcutsHook) to bring up the list of keyboard shortcuts.",LOADING_KEYBIND_TIP_6:"$[](messageNewlineHook) to make a new line without sending your message.",LOADING_KEYBIND_TIP_7:"Holding $[](shiftHook) while clicking emoji allows you to send multiple emoji.",LOADING_KEYBIND_TIP_8:"You can press $[](upHook) to quickly edit your most recent message.",LOADING_TIP_1:"You can use Streamer Mode to hide personal details while streaming.",LOADING_TIP_2:"You can type /tableflip and /unflip to spice up your messages.",LOADING_TIP_3:"Characters like @, #, !, and * will narrow Quick Switcher results.",LOADING_TIP_4:"Click a server name in the emoji picker to hide that server's emoji.",LOADING_TIP_5:"Hover a GIF and click the star to save it to your favorites.",LOADING_TIP_6:"The top-most role for a user defines that user's color.",LOADING_TIP_7:"A red mic icon means that person has been muted by a server admin.",LOADING_TIP_8:"You can temporarily mute a server or channel by right-clicking it.",LOADING_TIP_9:"Click your avatar in the lower-left corner to set a custom status.",LOADING_TIP_10:"Group DMs can have up to ten members.",LOADING_TIP_11:"Click the compass in your server list to find new servers.",LOADING_TIP_12:"Drag and drop servers on top of each other to create server folders.",LOADING_TIP_13:"Type /tenor or /giphy + anything to find a GIF for that topic!",LOADING_TIP_14:"Share what you're playing by using the Game Activity settings.",LOADING_TIP_15:"Highlight text in your chat bar to bold, use italics, and more.",LOADING_TIP_16:"Hide muted channels in a server by right clicking the server name.",LOADING_TIP_17:"Customize Discord's appearance in the user settings menu.",LOADING_TIP_18:"Link your favorite social media accounts in the connections settings.",LOADING_TIP_19:"You can create channel categories to group and organize your channels.",LOADING_TIP_20:"You can join up to 100 servers, and up to 200 with Nitro!",LOADING_TIP_21:"You can drag and drop files onto Discord to upload them.",LOADING_TIP_22:"Change each participant's volume by right-clicking them in a call.",LOADING_TIP_23:"Right click to pin messages in a channel or DM to save them for later.",LOADING_TIP_24:"Type a plus sign before an emoji name to turn it into a reaction.",LOADING_TIP_25:"You can type /nick to quickly change your nickname in a server.",LOADING_TIP_26:"You can type / to view bot commands and other built-in commands",LOADING_TIP_27:"You can type !!{asterisks}!! around your words to make them **bold**.",VOICE_PANEL_INTRODUCTION_HEADER:"Welcome to your first voice channel!",VOICE_PANEL_INTRODUCTION_TEXT:"Control your voice settings, turn on video, or start screensharing here.",VOICE_PANEL_INTRODUCTION_CLOSE:"Got it",VOICE_PANEL_SHOW_VOICE_USERS:"Show Voice Users",VOICE_PANEL_USERS_A11Y_LABEL:"Voice Users",VOICE_PANEL_SHOW_EXTRAS:"Show All Users",VOICE_PANEL_HIDE_EXTRAS:"Minimize",VOICE_PANEL_USER_TOOLTIP:"!!{userName}!!, {status}",NUF_DESKTOP_TEMPLATES_TITLE:"Create your first Discord server",NUF_DESKTOP_TEMPLATES_SUBTITLE:"Your server is where you and your friends hang out.\n  Make yours and start talking.",TOO_MANY_USER_GUILDS_TITLE:"You are at the 100 server limit.",TOO_MANY_USER_GUILDS_DESCRIPTION:"You must leave a server first to join.",ONGOING_CALL_TAP_TO_JOIN:" — Tap to join",CALL_ENDED_DESCRIPTION:"!!{duration}!! — !!{timestamp}!!",CALL_MOBILE_TAP_TO_RETURN:"!!{callState}!! — Tap to return to call",TOO_MANY_USER_GUILDS_ALERT_TITLE:"Oh no!",TOO_MANY_USER_GUILDS_ALERT_DESCRIPTION:"You are at the {quantity, number} server limit. You must leave a server first to join.",MESSAGES_FAILED_TO_LOAD:"Messages failed to load",MESSAGES_FAILED_TO_LOAD_TRY_AGAIN:"Try Again",BUILD_OVERRIDE_MODAL_INVITE:"You have been invited to try a test build of Discord",BUILD_OVERRIDE_MODAL_APPLY:"Okay let's try it!",BUILD_OVERRIDE_MODAL_EXPIRES_DURATION:"expires in {expirationDuration}",BUILD_OVERRIDE_MODAL_INVALID:"This link is no longer valid.",BUILD_OVERRIDE_MODAL_INVALID_BUTTON:"Continue to Discord",APPLICATION_COMMAND:"Slash Command",COPY_COMMAND:"Copy Command",OPTIONAL_APPLICATION_COMMAND_INDICATOR:"optional",APPLICATION_COMMAND_SENDING:"Sending command...",APPLICATION_COMMAND_WAITING:"!!{applicationName}!! is thinking...",APPLICATION_COMMAND_FAILED:"This interaction failed",APPLICATION_COMMAND_USED:"$[](userHook) used $[](commandHook) with $[](applicationHook)",APPLICATION_COMMAND_USED_SHORT:"$[](userHook) used $[](commandHook)",APPLICATION_COMMAND_USED_MOBILE:"[!!{username}!!](handleTapUsername) used [!!{commandName}!!](handleTapCommandName) with [!!{applicationName}!!](handleTapApplicationName)",APPLICATION_COMMAND_USED_MOBILE_SHORT:"[!!{username}!!](handleTapUsername) used [!!{commandName}!!](handleTapCommandName)",APPLICATION_COMMAND_TOOLTIP_HEADER:"Try Slash Commands!",APPLICATION_COMMAND_TOOLTIP_DESCRIPTION:"A new way to use bots by typing slash $[](slashKey)",APPLICATION_COMMAND_TOOLTIP_DISMISS:"Got it",APPLICATION_COMMAND_TOOLTIP_OPEN:"Open Command List",APPLICATION_COMMAND_EDUCATION:"Try slash commands! A new way to use bots by typing slash. [Dismiss](dismissOnClick)",INTERACTION_RATE_LIMITED:"Slow down! You're clicking too fast.",VIEWING_AS_ROLES:"You are viewing this server as {numRoles, plural, =0 {@everyone} =1 {1 role} other {{numRoles} roles}}.",VIEWING_AS_ROLES_SELECT:"Select Roles",VIEWING_AS_ROLES_BACK:"Back to Roles Settings",VIEW_AS_ROLE:"View Server As Role",VIEW_AS_ROLE_DESCRIPTION:"This will let you test what actions this role can take and what channels it can see. Only available to Server Owners and Admins.",VIEW_AS_ROLES_HIDDEN_VC_WARNING:"This voice channel is not visible to the role(s) you are viewing as. You will no longer see this channel once you disconnect.",VIEW_AS_ROLES_VOICE_WARNING:"View as Role does not reflect a role's voice restrictions, including priority speaker and suppression.",VIEW_AS_ROLES_MENTIONS_WARNING:"You are viewing as roles. Notifications may be in channels you can't see.",VIEW_AS_ROLES_UPSELL_TITLE:"NEW: View your server as any role",VIEW_AS_ROLES_UPSELL_BODY:"Test out what channels roles can see and what actions they can take.",MESSAGE_ACTION_REPLY:"Reply",REPLYING_TO:"Replying to $[](userHook)",MOBILE_REPLYING_TO:"Replying to **{username}**",MESSAGE_HEADER_REPLIED:"$[](currentAuthor) $[replied](replyHook)",MESSAGE_HEADER_REPLIED_TO:"$[](currentAuthor) $[replied to](replyHook) $[](originalAuthor)",JUMP_BAR_VIEWING_REPLY:"You are viewing a reply.",JUMP_TO_ORIGINAL_MESSAGE:"Jump to original message",REPLY_QUOTE_NO_TEXT_CONTENT:"Click to see attachment",REPLY_QUOTE_NO_TEXT_CONTENT_MOBILE:"Tap to see attachment",REPLY_QUOTE_MESSAGE_BLOCKED:"Blocked message.",REPLY_QUOTE_MESSAGE_NOT_LOADED:"Message could not be loaded.",REPLY_QUOTE_MESSAGE_DELETED:"Original message was deleted.",REPLY_QUOTE_STICKER:"Click to see sticker",REPLY_QUOTE_STICKER_MOBILE:"Tap to see sticker",REPLY_QUOTE_COMMAND:"Click to see command",REPLY_MENTION_ON:"ON",REPLY_MENTION_ON_TOOLTIP:"Click to disable pinging the original author.",REPLY_MENTION_OFF:"OFF",REPLY_MENTION_OFF_TOOLTIP:"Click to enable pinging the original author.",USER_SETTINGS_ACCOUNT_CHANGE_EMAIL_PROMPT:"Your current email address is !!{email}!! What would you like to change it to?",USER_SETTINGS_ACCOUNT_VERIFY_PASSWORD_TITLE:"Verify your password",USER_SETTINGS_ACCOUNT_VERIFY_PASSWORD_TITLE_IN_TITLE_CASE:"Verify Your Password",USER_SETTINGS_ACCOUNT_VERIFY_PASSWORD_SUBTITLE:"Please enter your password to edit your account.",USER_SETTINGS_ACCOUNT_CHANGE_USERNAME_TITLE:"Edit Username",USER_SETTINGS_ACCOUNT_CHANGE_EMAIL_TITLE:"Edit Email",USER_SETTINGS_ACCOUNT_REMOVAL_SECTION:"Account Removal",USER_SETTINGS_ACCOUNT_REMOVAL_DESCRIPTION:"Disabling your account means you can recover it at any time after taking this action.",USER_SETTINGS_ACCOUNT_REMOVAL_DESCRIPTION_UNCLAIMED:"No longer need your account?",USER_SETTINGS_ACCOUNT_PASSWORD_AND_AUTHENTICATION:"Password and Authentication",USER_SETTINGS_ACCOUNT_CHANGE_EMAIL_TITLE_DESKTOP:"Enter an email address",USER_SETTINGS_ACCOUNT_CHANGE_EMAIL_PROMPT_DESKTOP:"Enter a new email address and your existing password.",USER_SETTINGS_ACCOUNT_CHANGE_USERNAME_TITLE_DESKTOP:"Change your username",USER_SETTINGS_ACCOUNT_CHANGE_USERNAME_PROMPT_DESKTOP:"Enter a new username and your existing password.",USER_SETTINGS_ACCOUNT_CHANGE_PASSWORD_TITLE_DESKTOP:"Change your password",USER_SETTINGS_ACCOUNT_CHANGE_PASSWORD_PROMPT_DESKTOP:"Enter your current password and a new password.",USER_SETTINGS_ACCOUNT_REMOVE_PHONE_NUMBER_TITLE:"Remove phone number",USER_SETTINGS_ACCOUNT_REMOVE_PHONE_SMS_BACKUP_WARNING:"Removing your phone number will disable SMS backup for two-factor authentication.",USER_SETTINGS_ACCOUNT_REMOVE_PHONE_NUMBER_BUTTON:"Remove Phone Number",USER_SETTINGS_ACCOUNT_REMOVE_PHONE_NUMBER_WARNING_TITLE:"Removing your phone number will disable SMS backup",USER_SETTINGS_ACCOUNT_REMOVE_PHONE_NUMBER_WARNING_BODY:"You won't be able to use SMS as a recovery tool if you're locked out of your account.",PHONE_VERIFICATION_UPDATE_TITLE:"Update your phone number",PHONE_VERIFICATION_ADD_TITLE:"Enter a phone number",PHONE_VERIFICATION_CURRENT_PHONE:"The current number on your account is !!{phone}!!.",PHONE_VERIFICATION_RECEIVE_TEXT:"You will receive a text message with a verification code.",PHONE_VERIFICATION_NEW_PHONE_LABEL:"New Phone Number",PHONE_VERIFICATION_PHONE_LABEL:"Phone Number",COUNTDOWN_UNITS_DAYS:"d",COUNTDOWN_UNITS_HOURS:"h",COUNTDOWN_UNITS_MINUTES:"m",COUNTDOWN_UNITS_SECONDS:"s",SETUP_PROGRESS:"Setup Progress",RESUME_SETUP:"Resume your server setup",GUILD_PROGRESS_CTA:"Set up your server",GUILD_PROGRESS_TITLE:"Finish setting up your server!",GUILD_PROGRESS_STEPS:"You have completed $[**!!{numFinished}!! out of {total} steps**](stepsHook).",GUILD_PROGRESS_CURRENT_STEP:"Step {currStep} of {total}: {step}",GUILD_PROGRESS_SKIP:"Skip these steps",GUILD_PROGRESS_FINISH:"Finish",BLACK_FRIDAY_PROMOTION_GIFT_INVENTORY_TITLE:"Black Friday Deal",STICKERS_GIFT_INVENTORY_TITLE_MONTH:"Stickers Gift — {skuName} ({intervalCount, plural, =1 {# month} other {# months}})",STICKERS_GIFT_INVENTORY_TITLE_YEAR:"Stickers Gift — {skuName} ({intervalCount, plural, =1 {# year} other {# years}})",ROLE_REQUIRED_SINGLE_USER_MESSAGE:"(Only you can see this channel)",BEGINNING_ROLE_REQUIRED_CHANNEL_DESCRIPTION:"This is the start of the !!{channelName}!! **private** channel. $[](topicHook)",PRIVATE_CHANNEL_ADD_MEMBERS_MODAL_SUBTITLE:"Add individual members by starting with @, or type a role name",PRIVATE_CHANNEL_ADD_MEMBERS_MODAL_SKIP:"Skip for now",CHANNEL_PERMISSIONS_PRIVATE_CHANNEL_DESCRIPTION:"By making a channel private, only select members and roles will be able to view this channel.",CHANNEL_PERMISSIONS_PRIVATE_CHANNEL_DESCRIPTION_VOICE:"By making a channel private, only select members and roles will have access to view or connect to this channel.",CHANNEL_PERMISSIONS_PRIVATE_CATEGORY_DESCRIPTION:"By making a category private, only select members and roles will be able to view this category. Synced channels in this category will automatically match to this setting.",CHANNEL_PERMISSIONS_ADD_MEMBERS_TITLE:"Add members or roles",CHANNEL_PERMISSIONS_NO_ROLES:"No Roles",CHANNEL_PERMISSIONS_EVERYONE_IS_ADMIN_WARNING:"All members can view this channel because @everyone has Administrator permissions. You can change this in Roles via Server Settings.",CHANNEL_PERMISSIONS_EVERYONE_CAN_NOT_VIEW_WARNING:"Heads up, @everyone does not have permission to view or connect to channels in this server. All channels will be default hidden to members. Use the Advanced View to give specific roles or members access to this channel.",PRIVATE_CHANNEL_ADD_MEMBERS_MODAL_SEARCH_PLACEHOLDER_MOBILE:"Search Roles & Members",PRIVATE_CHANNEL_ADD_MEMBERS_MODAL_ROW_ROLE:"Role",PRIVATE_CHANNEL_ADD_MEMBERS_MODAL_ROW_OWNER:"Server Owner",PRIVATE_CHANNEL_ADD_MEMBERS_MODAL_ROW_ADMINISTRATOR:"Administrator",PRIVATE_CHANNEL_ADD_MEMBERS_MODAL_ROW_MEMBER:"Member",PRIVATE_CHANNEL_ADD_MEMBERS_MODAL_NO_RESULT:"There are no members or roles with the name **!!{query}!!**.",PRIVATE_CHANNEL_ADD_MEMBERS_MODAL_NO_ROLES:"You haven't created any roles yet",PRIVATE_CHANNEL_ACCESS_INFO_TITLE:"Who can access",PRIVATE_CHANNEL_ACCESS_INFO_TITLE_WITH_COLON:"Who can access:",PRIVATE_CHANNEL_ACCESS_INFO_MEMBERS:"{count, plural, one {{count} Member} other {{count} Members}}",PRIVATE_CHANNEL_ACCESS_INFO_ROLES:"{count, plural, one {{count} Role} other {{count} Roles}}",PRIVATE_CHANNEL_ACCESS_INFO_MEMBERS_OVERFLOW:"{count}+ Members",PRIVATE_CHANNEL_ACCESS_INFO_ROLES_OVERFLOW:"{count}+ Roles",PRIVATE_CHANNEL_MEMBERS_SECTION_HEADER:"{sectionTitle} – {numberOfItems}",PRIVATE_CHANNEL_MEMBERS_REMOVE_YES_CONFIRMATION:"Yes, remove now",PRIVATE_CHANNEL_MEMBERS_REMOVED:"!!{name}!! removed",CHANNEL_PERMISSIONS_BASIC_VIEW:"Basic View",CHANNEL_PERMISSIONS_ADVANCED_VIEW:"Advanced View",CHANNEL_PERMISSIONS_MAKE_PUBLIC_ALERT_TITLE:"Make this channel public?",CHANNEL_PERMISSIONS_MAKE_PUBLIC_ALERT_SUBTITLE:"**#!!{channelName}!!** will become public and available to all members.",CHANNEL_PERMISSIONS_MAKE_PRIVATE_ALERT_TITLE:"Make this channel private?",CHANNEL_PERMISSIONS_MAKE_PRIVATE_ALERT_SUBTITLE:"**#!!{channelName}!!** will become private and visible to select members and roles.",PRIVATE_CHANNEL_MANAGE_CHANNEL_ACCESS_CTA:"Manage channel access",PRIVATE_CHANNEL_MEMBERS_ADDED_TOAST_MSG:"{count, plural, one {{count} member} other {{count} members}} added",PRIVATE_CHANNEL_ROLES_ADDED_TOAST_MSG:"{count, plural, one {{count} role} other {{count} roles}} added",PRIVATE_CHANNEL_MEMBERS_ROLES_ADDED_TOAST_MSG:"Members and roles added",PRIVATE_CHANNEL_MANAGE_ROLE_PERMISSION_MISSING_HINT:"You will need the Manage Roles permission to edit access to this private channel.",PRIVATE_TEXT_CHANNEL_CREATION_PERMISSION_MISSING_HINT:"**View Channels** permission required to create this private channel.",PRIVATE_VOICE_CHANNEL_CREATION_PERMISSION_MISSING_HINT:"**View Channels** and **Connect** permissions required to create this private channel.",PRIVATE_CATEGORY_CREATION_PERMISSION_MISSING_HINT:"**View Channels** and **Connect** permissions required to create this private category.",CREATE_PRIVATE_TEXT_CHANNEL:"Create a Private Text Channel",CREATE_PRIVATE_VOICE_CHANNEL:"Create a Private Voice Channel",CHANNEL_PERMISSIONS_ADVANCED_PERMISSIONS:"Advanced permissions",CHANNEL_PERMISSIONS_SUBTITLE:"Use permissions to customize who can do what in this channel.",CATEGORY_PERMISSIONS_SUBTITLE:"Use permissions to customize who can do what in this category.",CHANNEL_PERMISSIONS_ADD_MEMBERS_TOOLTIP_OWNER:"Server owner cannot be removed.",CHANNEL_PERMISSIONS_ADD_MEMBERS_TOOLTIP_ADMINISTRATOR:"Cannot be removed due to Administrator access.",CHANNEL_PERMISSIONS_ADD_MEMBERS_TOOLTIP:"Remove access to channel.",CHANNEL_PERMISSIONS_CANNOT_REMOVE_PERMISSIONS:"Cannot remove permissions",PRIVATE_CHANNEL_ADD_MEMBERS_MODAL_PLACEHOLDER:"e.g. Moderators, @wumpus",KEYBOARD_SHORTCUTS_EXPLAINER_MODAL_TITLE:"Hey there $[](tab) friend",KEYBOARD_SHORTCUTS_EXPLAINER_MODAL_BODY:"You can navigate Discord with your tab and arrow keys just fine, but there are some other helpful things we’ve added.",KEYBOARD_SHORTCUTS_EXPLAINER_LIST_SHORTCUT:"List of keyboard shortcuts",KEYBOARD_SHORTCUTS_EXPLAINER_QUICKSWITCHER_SHORTCUT:"Open the Quick Switcher—it’s the fastest way to move around!",KEYBOARD_SHORTCUTS_EXPLAINER_HELP_CENTER_LINK:"This [help center article]({link}) has more info.",DIALOG_JUST_SO_YOU_KNOW:"Just so you know!",ROLE_PERMISSIONS_SECTION_GENERAL_GUILD:"General Server Permissions",ROLE_PERMISSIONS_SECTION_GENERAL_CHANNEL:"General Channel Permissions",ROLE_PERMISSIONS_SECTION_GENERAL_CATEGORY:"General Category Permissions",ROLE_PERMISSIONS_SECTION_MEMBERSHIP:"Membership Permissions",ROLE_PERMISSIONS_SECTION_TEXT:"Text Channel Permissions",ROLE_PERMISSIONS_SECTION_VOICE:"Voice Channel Permissions",ROLE_PERMISSIONS_SECTION_ADVANCED:"Advanced Permissions",ROLE_PERMISSIONS_VIEW_CHANNEL:"View Channels",ROLE_PERMISSIONS_VIEW_CHANNEL_DESCRIPTION:"Allows members to view channels by default (excluding private channels).",MANAGE_CHANNELS:"Manage Channels",ROLE_PERMISSIONS_MANAGE_CHANNELS_DESCRIPTION:"Allows members to create, edit, or delete channels.",MANAGE_ROLES:"Manage Roles",ROLE_PERMISSIONS_MANAGE_ROLES_DESCRIPTION:"Allows members to create new roles and edit or delete roles lower than their highest role. Also allows members to change permissions of individual channels that they have access to.",MANAGE_EMOJIS:"Manage Emojis",ROLE_PERMISSIONS_MANAGE_EMOJIS_DESCRIPTION:"Allows members to add or remove custom emojis in this server.",MANAGE_EMOJIS_AND_STICKERS:"Manage Emojis and Stickers",ROLE_PERMISSIONS_MANAGE_EMOJIS_AND_STICKERS_DESCRIPTION:"Allows members to add or remove custom emojis and stickers in this server.",VIEW_AUDIT_LOG:"View Audit Log",ROLE_PERMISSIONS_VIEW_AUDIT_LOG_DESCRIPTION:"Allows members to view a record of who made which changes in this server.",VIEW_GUILD_ANALYTICS:"View Server Insights",ROLE_PERMISSIONS_VIEW_GUILD_ANALYTICS_DESCRIPTION:"Allows members to view Server Insights, which shows data on community growth, engagement, and more.",MANAGE_WEBHOOKS:"Manage Webhooks",ROLE_PERMISSIONS_MANAGE_WEBHOOKS_DESCRIPTION:"Allows members to create, edit, or delete webhooks, which can post messages from other apps or sites into this server.",MANAGE_SERVER:"Manage Server",ROLE_PERMISSIONS_MANAGE_SERVER_DESCRIPTION:"Allows members to change this server’s name, switch regions, and add bots to this server.",CREATE_INSTANT_INVITE:"Create Invite",ROLE_PERMISSIONS_CREATE_INSTANT_INVITE_DESCRIPTION:"Allows members to invite new people to this server.",ROLE_PERMISSIONS_CHANGE_NICKNAME_DESCRIPTION:"Allows members to change their own nickname, a custom name for just this server.",MANAGE_NICKNAMES:"Manage Nicknames",ROLE_PERMISSIONS_MANAGE_NICKNAMES_DESCRIPTION:"Allows members to change the nicknames of other members.",KICK_MEMBERS:"Kick Members",ROLE_PERMISSIONS_KICK_MEMBERS_DESCRIPTION:"Allows members to remove other members from this server. Kicked members will be able to rejoin if they have another invite.",BAN_MEMBERS:"Ban Members",ROLE_PERMISSIONS_BAN_MEMBERS_DESCRIPTION:"Allows members to permanently ban other members from this server.",SEND_MESSAGES:"Send Messages",ROLE_PERMISSIONS_SEND_MESSAGES_DESCRIPTION:"Allows members to send messages in text channels.",EMBED_LINKS:"Embed Links",ROLE_PERMISSIONS_EMBED_LINKS_DESCRIPTION:"Allows links that members share to show embedded content in text channels.",ATTACH_FILES:"Attach Files",ROLE_PERMISSIONS_ATTACH_FILES_DESCRIPTION:"Allows members to upload files or media in text channels.",ADD_REACTIONS:"Add Reactions",ROLE_PERMISSIONS_ADD_REACTIONS_DESCRIPTION:"Allows members to add new emoji reactions to a message. If this permission is disabled, members can still react using any existing reactions on a message.",ROLE_PERMISSIONS_USE_EXTERNAL_EMOJIS:"Use External Emoji",ROLE_PERMISSIONS_USE_EXTERNAL_EMOJIS_DESCRIPTION:"Allows members to use emoji from other servers, if they’re a Discord Nitro member.",MENTION_EVERYONE:"Mention @everyone, @here, and All Roles",ROLE_PERMISSIONS_MENTION_EVERYONE_DESCRIPTION:"Allows members to use @everyone (everyone in the server) or @here (only online members in that channel). They can also @mention all roles, even if the role’s “Allow anyone to mention this role” permission is disabled.",MANAGE_MESSAGES:"Manage Messages",ROLE_PERMISSIONS_MANAGE_MESSAGES_DESCRIPTION:"Allows members to delete messages by other members or pin any message.",READ_MESSAGE_HISTORY:"Read Message History",ROLE_PERMISSIONS_READ_MESSAGE_HISTORY_DESCRIPTION:"Allows members to read previous messages sent in channels. If this permission is disabled, members only see messages sent when they are online and focused on that channel.",ROLE_PERMISSIONS_SEND_TTS_MESSAGES:"Send Text-to-Speech Messages",ROLE_PERMISSIONS_SEND_TTS_MESSAGES_DESCRIPTION:"Allows members to send text-to-speech messages by starting a message with /tts. These messages can be heard by anyone focused on the channel.",ROLE_PERMISSIONS_USE_APPLICATION_COMMANDS:"Use Slash Commands",ROLE_PERMISSIONS_USE_APPLICATION_COMMANDS_GUILD_DESCRIPTION:"Allows members to use slash commands in text channels.",ROLE_PERMISSIONS_USE_APPLICATION_COMMANDS_CHANNEL_DESCRIPTION:"Allows members to use slash commands in this channel.",CONNECT:"Connect",ROLE_PERMISSIONS_CONNECT_DESCRIPTION:"Allows members to join voice channels and hear others.",SPEAK:"Speak",ROLE_PERMISSIONS_SPEAK_DESCRIPTION:"Allows members to talk in voice channels. If this permission is disabled, members are default muted until somebody with the “Mute Members” permission un-mutes them.",ROLE_PERMISSIONS_STREAM_DESCRIPTION:"Allows members to share their video, screen share, or stream a game in this server.",USE_VAD:"Use Voice Activity",ROLE_PERMISSIONS_USE_VAD_DESCRIPTION:"Allows members to speak in voice channels by simply talking. If this permission is disabled, members are required to use Push-to-talk. Good for controlling background noise or noisy members.",PRIORITY_SPEAKER:"Priority Speaker",ROLE_PERMISSIONS_PRIORITY_SPEAKER_DESCRIPTION:"Allows members to be more easily heard in voice channels. When activated, the volume of others without this permission will be automatically lowered.",ROLE_PERMISSIONS_PRIORITY_SPEAKER_DESCRIPTION_APP:"Allows members to be more easily heard in voice channels. When activated, the volume of others without this permission will be automatically lowered. Priority Speaker is activated by using the **[{keybind}](onClick)** keybind.",ROLE_PERMISSIONS_PRIORITY_SPEAKER_DESCRIPTION_MOBILE:"Allows members to be more easily heard in voice channels. When activated, the volume of others without this permission will be automatically lowered. Priority Speaker is activated by using the **{keybind}** keybind.",MUTE_MEMBERS:"Mute Members",ROLE_PERMISSIONS_MUTE_MEMBERS_DESCRIPTION:"Allows members to mute other members in voice channels for everyone.",DEAFEN_MEMBERS:"Deafen Members",ROLE_PERMISSIONS_DEAFEN_MEMBERS_DESCRIPTION:"Allows members to deafen other members in voice channels, which means they won’t be able to speak or hear others.",MOVE_MEMBERS:"Move Members",ROLE_PERMISSIONS_MOVE_MEMBERS_DESCRIPTION:"Allows members to move other members between voice channels that the member with this permission has access to.",ADMINISTRATOR:"Administrator",ROLE_PERMISSIONS_ADMINISTRATOR_DESCRIPTION:"Members with this permission will have every permission and will also bypass all channel specific permissions or restrictions (for example, these members would get access to all private channels). **This is a dangerous permission to grant**.",ROLE_PERMISSIONS_VIEW_CHANNEL_DESCRIPTION_CHANNEL:"Allows members to view this channel by default.",ROLE_PERMISSIONS_VIEW_CHANNEL_DESCRIPTION_CATEGORY:"Allows members to view these channels by default.",ROLE_PERMISSIONS_VIEW_CHANNEL_DESCRIPTION_TEXT_EVERYONE:"Allows members to view this channel by default. Disabling this for @everyone will make this channel private.",ROLE_PERMISSIONS_VIEW_CHANNEL_DESCRIPTION_CATEGORY_EVERYONE:"Allows members to view these channels by default. Disabling this for @everyone will make text channels private. Disabling this and the Connect permission for @everyone will make voice channels private.",ROLE_PERMISSIONS_VIEW_CHANNEL_DESCRIPTION_VOICE_EVERYONE:"Allows members to view this channel by default. Disabling this and the Connect permission for @everyone will make this channel private.",ROLE_PERMISSIONS_MANAGE_CHANNEL_DESCRIPTION_TEXT:"Allows members to change this channel’s name, description, and text settings. They can also delete the channel.",ROLE_PERMISSIONS_MANAGE_CHANNEL_DESCRIPTION_VOICE:"Allows members to change this channel’s name, description, and voice settings. They can also delete the channel.",ROLE_PERMISSIONS_MANAGE_CHANNEL_DESCRIPTION_CATEGORY:"Allows members to change these channels’ name, description, and text / voice settings. They can also delete these channels.",ROLE_PERMISSIONS_MANAGE_ROLES_DESCRIPTION_CHANNEL:"Allows members to change this channel’s permissions.",ROLE_PERMISSIONS_MANAGE_ROLES_DESCRIPTION_CATEGORY:"Allows members to change these channels’ permissions.",ROLE_PERMISSIONS_MANAGE_WEBHOOKS_DESCRIPTION_CHANNEL:"Allows members to create, edit, or delete webhooks in this channel, which can post messages from other apps or sites.",ROLE_PERMISSIONS_MANAGE_WEBHOOKS_DESCRIPTION_CATEGORY:"Allows members to create, edit, or delete webhooks in these channels, which can post messages from other apps or sites.",ROLE_PERMISSIONS_CREATE_INSTANT_INVITE_DESCRIPTION_TEXT:"Allows members to invite new people to this server via a direct invite link to this channel.",ROLE_PERMISSIONS_CREATE_INSTANT_INVITE_DESCRIPTION_VOICE:"Allows members to invite new people to this server via a direct invite link to this channel. The recipient will automatically join the voice channel if they have permission to connect.",ROLE_PERMISSIONS_CREATE_INSTANT_INVITE_DESCRIPTION_CATEGORY:"Allows members to invite new people to this server via a direct invite link to these channels.",ROLE_PERMISSIONS_SEND_MESSAGES_DESCRIPTION_TEXT:"Allows members to send messages in this channel.",ROLE_PERMISSIONS_SEND_MESSAGES_DESCRIPTION_CATEGORY:"Allows members to send messages in these channels.",ROLE_PERMISSIONS_SEND_MESSAGES_DESCRIPTION_ANNOUNCEMENT:"Allows members to publish their own messages to all servers following this [Announcement Channel]({articleURL}).",ROLE_PERMISSIONS_EMBED_LINKS_DESCRIPTION_TEXT:"Allows links that members share to show embedded content in this channel.",ROLE_PERMISSIONS_EMBED_LINKS_DESCRIPTION_CATEGORY:"Allows links that members share to show embedded content in these channels.",ROLE_PERMISSIONS_ATTACH_FILES_DESCRIPTION_TEXT:"Allows members to upload files or media in this channel.",ROLE_PERMISSIONS_ATTACH_FILES_DESCRIPTION_CATEGORY:"Allows members to upload files or media in these channels.",ROLE_PERMISSIONS_ADD_REACTIONS_DESCRIPTION_TEXT:"Allows members to add new emoji reactions to a message in this channel. If this permission is disabled, members can still react using any existing reactions on a message.",ROLE_PERMISSIONS_ADD_REACTIONS_DESCRIPTION_CATEGORY:"Allows members to add new emoji reactions to a message in these channels. If this permission is disabled, members can still react using any existing reactions on a message.",ROLE_PERMISSIONS_USE_EXTERNAL_EMOJIS_DESCRIPTION_TEXT:"Allows members to use emoji from other servers in this channel, if they’re a Discord Nitro member.",ROLE_PERMISSIONS_USE_EXTERNAL_EMOJIS_DESCRIPTION_CATEGORY:"Allows members to use emoji from other servers in these channels, if they’re a Discord Nitro member.",ROLE_PERMISSIONS_MENTION_EVERYONE_DESCRIPTION_TEXT:"Allows members to use @everyone or @here (only online members) in this channel. They can also @mention all roles in this channel, even if the role’s “Allow anyone to mention this role” permission is disabled.",ROLE_PERMISSIONS_MENTION_EVERYONE_DESCRIPTION_CATEGORY:"Allows members to use @everyone or @here (only online members) in these channels. They can also @mention all roles in these channels, even if the role’s “Allow anyone to mention this role” permission is disabled.",ROLE_PERMISSIONS_MANAGE_MESSAGES_DESCRIPTION_TEXT:"Allows members to delete messages by other members or pin any message in this channel.",ROLE_PERMISSIONS_MANAGE_MESSAGES_DESCRIPTION_CATEGORY:"Allows members to delete messages by other members or pin any message in these channels.",ROLE_PERMISSIONS_MANAGE_MESSAGES_DESCRIPTION_ANNOUNCEMENT:"Allows members to delete messages by other members or pin any message in this channel. They can also publish messages by other members to all servers that follow this [Announcement Channel]({articleURL}).",ROLE_PERMISSIONS_READ_MESSAGE_HISTORY_DESCRIPTION_TEXT:"Allows members to read previous messages sent in this channel. If this permission is disabled, members only see messages sent when they are online and focused on this channel.",ROLE_PERMISSIONS_READ_MESSAGE_HISTORY_DESCRIPTION_CATEGORY:"Allows members to read previous messages sent in these channels. If this permission is disabled, members only see messages sent when they are online and focused on that channel.",ROLE_PERMISSIONS_SEND_TTS_MESSAGES_DESCRIPTION_TEXT:"Allows members to send text-to-speech messages in this channel by starting a message with /tts. These messages can be heard by anyone focused on this channel.",ROLE_PERMISSIONS_SEND_TTS_MESSAGES_DESCRIPTION_CATEGORY:"Allows members to send text-to-speech messages in these channels by starting a message with /tts. These messages can be heard by anyone focused on that channel.",ROLE_PERMISSIONS_USE_APPLICATION_COMMANDS_DESCRIPTION_TEXT:"Allows members to use slash commands in this channel.",ROLE_PERMISSIONS_USE_APPLICATION_COMMANDS_DESCRIPTION_CATEGORY:"Allows members to use slash commands in these channels.",ROLE_PERMISSIONS_CONNECT_DESCRIPTION_VOICE:"Allows members to join this voice channel and hear others.",ROLE_PERMISSIONS_CONNECT_DESCRIPTION_CATEGORY:"Allows members to join these voice channels and hear others.",ROLE_PERMISSIONS_CONNECT_DESCRIPTION_VOICE_EVERYONE:"Allows members to join this voice channel and hear others. Disabling this and the View Channel permissions for @everyone will make this channel private.",ROLE_PERMISSIONS_CONNECT_DESCRIPTION_CATEGORY_EVERYONE:"Allows members to join these voice channels and hear others. Disabling this and the View Channel permissions for @everyone will make these channels private.",ROLE_PERMISSIONS_SPEAK_DESCRIPTION_VOICE:"Allows members to talk in this voice channel. If this permission is disabled, members are default muted until somebody with the “Mute Members” permission un-mutes them.",ROLE_PERMISSIONS_SPEAK_DESCRIPTION_CATEGORY:"Allows members to talk in these voice channels. If this permission is disabled, members are default muted until somebody with the “Mute Members” permission un-mutes them.",ROLE_PERMISSIONS_STREAM_DESCRIPTION_VOICE:"Allows members to share their video, screen share, or stream a game in this voice channel.",ROLE_PERMISSIONS_STREAM_DESCRIPTION_CATEGORY:"Allows members to share their video, screen share, or stream a game in these voice channels.",ROLE_PERMISSIONS_USE_VAD_DESCRIPTION_VOICE:"Allows members to speak in this voice channel by simply talking. If this permission is disabled, members are required to use Push-to-talk. Good for controlling background noise or noisy members.",ROLE_PERMISSIONS_USE_VAD_DESCRIPTION_CATEGORY:"Allows members to speak in these voice channels by simply talking. If this permission is disabled, members are required to use Push-to-talk. Good for controlling background noise or noisy members.",ROLE_PERMISSIONS_PRIORITY_SPEAKER_DESCRIPTION_VOICE:"Allows members to be more easily heard in this voice channel. When activated, the volume of others without this permission will be automatically lowered. Priority Speaker is activated by using the **[{keybind}](onClick)** keybind.",ROLE_PERMISSIONS_PRIORITY_SPEAKER_DESCRIPTION_VOICE_MOBILE:"Allows members to be more easily heard in this voice channel. When activated, the volume of others without this permission will be automatically lowered. Priority Speaker is activated by using the **{keybind}** keybind.",ROLE_PERMISSIONS_PRIORITY_SPEAKER_DESCRIPTION_CATEGORY:"Allows members to be more easily heard in these voice channels. When activated, the volume of others without this permission will be automatically lowered. Priority Speaker is activated by using the **[{keybind}](onClick)** keybind.",ROLE_PERMISSIONS_PRIORITY_SPEAKER_DESCRIPTION_CATEGORY_MOBILE:"Allows members to be more easily heard in these voice channels. When activated, the volume of others without this permission will be automatically lowered. Priority Speaker is activated by using the **{keybind}** keybind.",ROLE_PERMISSIONS_MUTE_MEMBERS_DESCRIPTION_VOICE:"Allows members to mute other members in this voice channel for everyone.",ROLE_PERMISSIONS_MUTE_MEMBERS_DESCRIPTION_CATEGORY:"Allows members to mute other members in these voice channels for everyone.",ROLE_PERMISSIONS_DEAFEN_MEMBERS_DESCRIPTION_VOICE:"Allows members to deafen other members in this voice channel, which means they won’t be able to speak or hear others.",ROLE_PERMISSIONS_DEAFEN_MEMBERS_DESCRIPTION_CATEGORY:"Allows members to deafen other members in these voice channels, which means they won’t be able to speak or hear others.",ROLE_PERMISSIONS_MOVE_MEMBERS_DESCRIPTION_VOICE:"Allows members to disconnect other members from this channel. They will also be able to move somebody into other channels that they have this permission in.",ROLE_PERMISSIONS_MOVE_MEMBERS_DESCRIPTION_CATEGORY:"Allows members to disconnect other members from these channels. They will also be able to move somebody into other channels that they have this permission in.",IOS_GUILD_DELETE_FEEDBACK_HEADER:"Why are you deleting this server?",GUILD_DELETE_FEEDBACK_HEADER:"Can you tell us more?",GUILD_DELETE_FEEDBACK_BODY:"Help us understand why you're deleting this server.",GUILD_DELETE_FEEDBACK_TOO_HARD:"The server was too hard to figure out",GUILD_DELETE_FEEDBACK_TEST:"I wanted to test features and/or bots",GUILD_DELETE_FEEDBACK_ACCIDENT:"I didn't mean to make a server",GUILD_DELETE_FEEDBACK_TEMPLATE:"I was curious what a server or template looked like",GUILD_DELETE_FEEDBACK_LONELY:"I couldn't get people to join",GUILD_DELETE_FEEDBACK_INACTIVE:"Server was no longer active",GUILD_DELETE_FEEDBACK_OTHER:"Other",GUILD_DELETE_FEEDBACK_REPORT:"Thanks for reporting your issue! Feedback like yours helps us improve Discord.",ROLE_CREATED_TOAST:"New role created",ROLE_CREATE_CTA:"Create Role",ROLE_OVERVIEW_HEADER:"Server Roles",ROLE_OVERVIEW_DESCRIPTION:"Use roles to organize your server members and customize their permissions.",ROLE_OVERVIEW_EMPTY_SUBHEADER:"Organize your members",ROLE_OVERVIEW_VIEW_MEMBERS:"View members",ROLE_LIST_HEADER:"Roles – {numRoles}",ROLE_LIST_BODY:"Members use the color of the highest role they have on this list. Drag roles to reorder them.",ROLE_LIST_BODY_WITH_HELP:"Members use the color of the highest role they have on this list. Drag roles to reorder them. [Need help with permissions?]({articleURL})",ROLE_LIST_REORDER_HELP:"Drag roles to reorder them. [Need help with permissions?]({articleURL})",ROLE_DELETE_CANNOT_BE_UNDONE:"This cannot be undone.",ROLE_EVERYONE_SUBLABEL:"Default permissions for all server members",ROLE_ROW_DESCRIPTION:"!!{name}!!, {count, plural, one {{count} member} other {{count} members}}, edit",ROLE_ROW_VIEW_MEMBERS:"View {count, plural, one {{count} Member} other {{count} Members}}",ROLE_MEMBER_COUNT:"{count, plural, one {{count} Member} other {{count} Members}}",ROLE_LIST_EMPTY:"No roles",ROLE_LIST_EMPTY_SORT:"No roles to sort",ROLE_EDIT_TITLE_WITH_NAME:"Edit Role — !!{roleName}!!",ROLE_EDIT_TAB_DISPLAY:"Display",ROLE_COLOR_HELP:"Members use the color of the highest role they have on the roles list.",ROLE_EDIT_TAB_PERMISSIONS:"Permissions",ROLE_EDIT_TAB_MEMBERS:"Members",ROLE_EDIT_TAB_ROLE_SETTINGS:"Role Settings",ROLE_EDIT_TAB_MANAGE_MEMBERS:"Manage Members",ROLE_EDIT_TAB_MEMBERS_WITH_LIST:"Manage Members ({numMembers})",ROLE_EDIT_SAVED:"Changes saved",ROLE_EDIT_HOIST_LABEL:"Display separately",ROLE_EDIT_PERMISSIONS_NO_RESULTS:"No permissions with the name **!!{query}!!**",ROLE_EDIT_MEMBERS_NO_RESULTS:"No members with the name **!!{query}!!**",ROLE_EDIT_MEMBERS_MISSING:"Not all members are shown, use Search to find specific members",ROLE_ADD_MEMBERS_SEARCH:"Search members",ROLE_EDIT_MEMBERS_NO_SEARCH_RESULTS:"No members were found. $[Add members to this role.](addMembersHook)",ROLE_ADD_MEMBERS_TITLE:"Add members",ROLE_ADD_MEMBERS_BUTTON:"Add Members",ROLE_PERMISSIONS_SEARCH_PLACEHOLDER:"Search permissions",ROLE_PERMISSIONS_CLEAR_PERMISSIONS:"Clear permissions",ROLE_PERMISSIONS_EMPTY_TEXT:"No permissions found",ROLE_REMOVE_MEMBER_CONFIRM_TITLE:"Remove member",ROLE_REMOVE_MEMBER_CONFIRM_BODY:"Remove **!!{username}!!** from role **!!{roleName}!!**?",ROLE_REMOVE_MEMBER_CONFIRM_TIP:"Hold shift when removing members to skip this modal.",ROLE_REMOVE_MEMBER_MANAGED:"Members cannot be manually added or removed from this role",ROLE_CHANGED_SAVE_CHANGES:"Save changes?",ROLE_CHANGED_SAVE_CHANGES_BODY:"You've made changes. Do you want to save them before leaving this page?",ROLE_CHANGED_DONT_SAVE:"Don't Save",ROLE_SAMPLE_MESSAGE:"rocks are really old",ROLE_EVERYONE_LABEL:"Default Permissions",ROLE_EVERYONE_DESCRIPTION:"applies to all server members",ROLE_EMPTY_STATE_CLUBS_ROLE_1:"president",ROLE_EMPTY_STATE_CLUBS_ROLE_2:"leadership",ROLE_EMPTY_STATE_CLUBS_ROLE_3:"coach",ROLE_EMPTY_STATE_CLUBS_ROLE_4:"new recruit",ROLE_EMPTY_STATE_CLUBS_ROLE_5:"alumni",ROLE_EMPTY_STATE_CLUBS_ROLE_6:"mentee",ROLE_EMPTY_STATE_GAMING_ROLE_1:"D&D",ROLE_EMPTY_STATE_GAMING_ROLE_2:"FFXIV",ROLE_EMPTY_STATE_GAMING_ROLE_3:"WoW",ROLE_EMPTY_STATE_GAMING_ROLE_4:"tank",ROLE_EMPTY_STATE_GAMING_ROLE_5:"dps",ROLE_EMPTY_STATE_GAMING_ROLE_6:"support",ROLE_EMPTY_STATE_HOBBIES_ROLE_1:"streamer",ROLE_EMPTY_STATE_HOBBIES_ROLE_2:"moderator",ROLE_EMPTY_STATE_HOBBIES_ROLE_3:"kpop",ROLE_EMPTY_STATE_HOBBIES_ROLE_4:"subscriber",ROLE_EMPTY_STATE_HOBBIES_ROLE_5:"artist",ROLE_EMPTY_STATE_HOBBIES_ROLE_6:"pianist",ROLE_PERMISSION_HELP_BODY:"Need help? [Start with one of our templates](onTemplateOpen)",ROLE_PERMISSION_TEMPLATE_TITLE:"Start with a template",ROLE_PERMISSION_TEMPLATE_NAME_COSMETIC:"Cosmetic",ROLE_PERMISSION_TEMPLATE_DESCRIPTION_COSMETIC:"Just for looks. Great for giving labels or color to members.",ROLE_PERMISSION_TEMPLATE_NAME_MEMBER:"Member",ROLE_PERMISSION_TEMPLATE_DESCRIPTION_MEMBER:"Basic permissions for a regular member to talk.",ROLE_PERMISSION_TEMPLATE_NAME_MODERATOR:"Moderator",ROLE_PERMISSION_TEMPLATE_DESCRIPTION_MODERATOR:"People who can help you manage other members in this server.",ROLE_PERMISSION_TEMPLATE_NAME_MANAGER:"Manager",ROLE_PERMISSION_TEMPLATE_DESCRIPTION_MANAGER:"Trusted leaders who can help you build the server.",ROLE_PERMISSION_TEMPLATE_SELECT_CTA:"Select",ROLE_PERMISSION_TEMPLATE_SELECT_WARNING_TITLE:"Wait!",ROLE_PERMISSION_TEMPLATE_SELECT_WARNING_BODY:"Looks like you already made some changes to your permissions. Do you want to override them with this template?",ROLE_PERMISSION_TEMPLATE_SELECT_CONFIRMATION_TOAST:"Template applied",ROLE_PERMISSION_TEMPLATE_COSMETIC_CONTENT_1:"Shows up on their profile",ROLE_PERMISSION_TEMPLATE_COSMETIC_CONTENT_2:"Colors their name",ROLE_PERMISSION_TEMPLATE_MEMBER_CONTENT_1:"Talk in channels",ROLE_PERMISSION_TEMPLATE_MEMBER_CONTENT_2:"Invite friends",ROLE_PERMISSION_TEMPLATE_MEMBER_CONTENT_3:"Change nickname",ROLE_PERMISSION_TEMPLATE_MODERATOR_CONTENT_PREFACE:"Everything members can do, and:",ROLE_PERMISSION_TEMPLATE_MODERATOR_CONTENT_1:"Delete any messages",ROLE_PERMISSION_TEMPLATE_MODERATOR_CONTENT_2:"Mute people in voice chat",ROLE_PERMISSION_TEMPLATE_MODERATOR_CONTENT_3:"Kick/ban members",ROLE_PERMISSION_TEMPLATE_MANAGER_CONTENT_PREFACE:"Everything moderators can do, and:",ROLE_PERMISSION_TEMPLATE_MANAGER_CONTENT_1:"Create and delete channels",ROLE_PERMISSION_TEMPLATE_MANAGER_CONTENT_2:"Create and delete roles",ROLE_PERMISSION_TEMPLATE_MANAGER_CONTENT_3:"Add emoji and bots",ROLE_PERMISSION_TEMPLATE_MANAGER_CONTENT_4:"Pretty much anything",COUNTRY_NAME_AF:"Afghanistan",COUNTRY_NAME_AL:"Albania",COUNTRY_NAME_DZ:"Algeria",COUNTRY_NAME_AS:"American Samoa",COUNTRY_NAME_AD:"Andorra",COUNTRY_NAME_AO:"Angola",COUNTRY_NAME_AI:"Anguilla",COUNTRY_NAME_AG:"Antigua and Barbuda",COUNTRY_NAME_AR:"Argentina",COUNTRY_NAME_AM:"Armenia",COUNTRY_NAME_AW:"Aruba",COUNTRY_NAME_AC:"Ascension",COUNTRY_NAME_AU:"Australia",COUNTRY_NAME_AT:"Austria",COUNTRY_NAME_AZ:"Azerbaijan",COUNTRY_NAME_BS:"Bahamas",COUNTRY_NAME_BH:"Bahrain",COUNTRY_NAME_BD:"Bangladesh",COUNTRY_NAME_BB:"Barbados",COUNTRY_NAME_BY:"Belarus",COUNTRY_NAME_BE:"Belgium",COUNTRY_NAME_BZ:"Belize",COUNTRY_NAME_BJ:"Benin",COUNTRY_NAME_BM:"Bermuda",COUNTRY_NAME_BT:"Bhutan",COUNTRY_NAME_BO:"Bolivia",COUNTRY_NAME_BA:"Bosnia and Herzegovina",COUNTRY_NAME_BW:"Botswana",COUNTRY_NAME_BR:"Brazil",COUNTRY_NAME_IO:"British Indian Ocean Territory",COUNTRY_NAME_VG:"British Virgin Islands",COUNTRY_NAME_BN:"Brunei",COUNTRY_NAME_BG:"Bulgaria",COUNTRY_NAME_BF:"Burkina Faso",COUNTRY_NAME_BI:"Burundi",COUNTRY_NAME_KH:"Cambodia",COUNTRY_NAME_CM:"Cameroon",COUNTRY_NAME_CA:"Canada",COUNTRY_NAME_CV:"Cape Verde",COUNTRY_NAME_KY:"Cayman Islands",COUNTRY_NAME_CF:"Central African Republic",COUNTRY_NAME_TD:"Chad",COUNTRY_NAME_CL:"Chile",COUNTRY_NAME_CN:"China",COUNTRY_NAME_CX:"Christmas Island",COUNTRY_NAME_CC:"Cocos-Keeling Islands",COUNTRY_NAME_CO:"Colombia",COUNTRY_NAME_KM:"Comoros",COUNTRY_NAME_CG:"Congo",COUNTRY_NAME_CD:"Congo, Dem. Rep. of (Zaire)",COUNTRY_NAME_CK:"Cook Islands",COUNTRY_NAME_CR:"Costa Rica",COUNTRY_NAME_HR:"Croatia",COUNTRY_NAME_CU:"Cuba",COUNTRY_NAME_CW:"Curacao",COUNTRY_NAME_CY:"Cyprus",COUNTRY_NAME_CZ:"Czech Republic",COUNTRY_NAME_DK:"Denmark",COUNTRY_NAME_DG:"Diego Garcia",COUNTRY_NAME_DJ:"Djibouti",COUNTRY_NAME_DM:"Dominica",COUNTRY_NAME_DO:"Dominican Republic",COUNTRY_NAME_TP:"East Timor",COUNTRY_NAME_EC:"Ecuador",COUNTRY_NAME_EG:"Egypt",COUNTRY_NAME_SV:"El Salvador",COUNTRY_NAME_GQ:"Equatorial Guinea",COUNTRY_NAME_ER:"Eritrea",COUNTRY_NAME_EE:"Estonia",COUNTRY_NAME_ET:"Ethiopia",COUNTRY_NAME_FK:"Falkland Islands",COUNTRY_NAME_FO:"Faroe Islands",COUNTRY_NAME_FJ:"Fiji",COUNTRY_NAME_FI:"Finland",COUNTRY_NAME_FR:"France",COUNTRY_NAME_GF:"French Guiana",COUNTRY_NAME_PF:"French Polynesia",COUNTRY_NAME_GA:"Gabon",COUNTRY_NAME_GM:"Gambia",COUNTRY_NAME_GE:"Georgia",COUNTRY_NAME_DE:"Germany",COUNTRY_NAME_GH:"Ghana",COUNTRY_NAME_GI:"Gibraltar",COUNTRY_NAME_GR:"Greece",COUNTRY_NAME_GL:"Greenland",COUNTRY_NAME_GD:"Grenada",COUNTRY_NAME_GP:"Guadeloupe",COUNTRY_NAME_GU:"Guam",COUNTRY_NAME_GT:"Guatemala",COUNTRY_NAME_GN:"Guinea",COUNTRY_NAME_GW:"Guinea-Bissau",COUNTRY_NAME_GY:"Guyana",COUNTRY_NAME_HT:"Haiti",COUNTRY_NAME_HN:"Honduras",COUNTRY_NAME_HK:"Hong Kong SAR China",COUNTRY_NAME_HU:"Hungary",COUNTRY_NAME_IS:"Iceland",COUNTRY_NAME_IN:"India",COUNTRY_NAME_ID:"Indonesia",COUNTRY_NAME_IR:"Iran",COUNTRY_NAME_IQ:"Iraq",COUNTRY_NAME_IE:"Ireland",COUNTRY_NAME_IL:"Israel",COUNTRY_NAME_IT:"Italy",COUNTRY_NAME_CI:"Ivory Coast",COUNTRY_NAME_JM:"Jamaica",COUNTRY_NAME_JP:"Japan",COUNTRY_NAME_JO:"Jordan",COUNTRY_NAME_KZ:"Kazakhstan",COUNTRY_NAME_KE:"Kenya",COUNTRY_NAME_KI:"Kiribati",COUNTRY_NAME_XK:"Kosovo",COUNTRY_NAME_KW:"Kuwait",COUNTRY_NAME_KG:"Kyrgyzstan",COUNTRY_NAME_LA:"Laos",COUNTRY_NAME_LV:"Latvia",COUNTRY_NAME_LB:"Lebanon",COUNTRY_NAME_LS:"Lesotho",COUNTRY_NAME_LR:"Liberia",COUNTRY_NAME_LY:"Libya",COUNTRY_NAME_LI:"Liechtenstein",COUNTRY_NAME_LT:"Lithuania",COUNTRY_NAME_LU:"Luxembourg",COUNTRY_NAME_MO:"Macau SAR China",COUNTRY_NAME_MK:"North Macedonia",COUNTRY_NAME_MG:"Madagascar",COUNTRY_NAME_MW:"Malawi",COUNTRY_NAME_MY:"Malaysia",COUNTRY_NAME_MV:"Maldives",COUNTRY_NAME_ML:"Mali",COUNTRY_NAME_MT:"Malta",COUNTRY_NAME_MH:"Marshall Islands",COUNTRY_NAME_MQ:"Martinique",COUNTRY_NAME_MR:"Mauritania",COUNTRY_NAME_MU:"Mauritius",COUNTRY_NAME_YT:"Mayotte",COUNTRY_NAME_MX:"Mexico",COUNTRY_NAME_FM:"Micronesia",COUNTRY_NAME_MI:"Midway Island",COUNTRY_NAME_MD:"Moldova",COUNTRY_NAME_MC:"Monaco",COUNTRY_NAME_MN:"Mongolia",COUNTRY_NAME_ME:"Montenegro",COUNTRY_NAME_MS:"Montserrat",COUNTRY_NAME_MA:"Morocco",COUNTRY_NAME_MZ:"Mozambique",COUNTRY_NAME_MM:"Myanmar",COUNTRY_NAME_NA:"Namibia",COUNTRY_NAME_NR:"Nauru",COUNTRY_NAME_NP:"Nepal",COUNTRY_NAME_NL:"Netherlands",COUNTRY_NAME_AN:"Netherlands Antilles",COUNTRY_NAME_KN:"Nevis",COUNTRY_NAME_NC:"New Caledonia",COUNTRY_NAME_NZ:"New Zealand",COUNTRY_NAME_NI:"Nicaragua",COUNTRY_NAME_NE:"Niger",COUNTRY_NAME_NG:"Nigeria",COUNTRY_NAME_NU:"Niue",COUNTRY_NAME_NF:"Norfolk Island",COUNTRY_NAME_KP:"North Korea",COUNTRY_NAME_MP:"Northern Mariana Islands",COUNTRY_NAME_NO:"Norway",COUNTRY_NAME_OM:"Oman",COUNTRY_NAME_PK:"Pakistan",COUNTRY_NAME_PW:"Palau",COUNTRY_NAME_PS:"Palestinian Territory",COUNTRY_NAME_PA:"Panama",COUNTRY_NAME_PG:"Papua New Guinea",COUNTRY_NAME_PY:"Paraguay",COUNTRY_NAME_PE:"Peru",COUNTRY_NAME_PH:"Philippines",COUNTRY_NAME_PL:"Poland",COUNTRY_NAME_PT:"Portugal",COUNTRY_NAME_PR:"Puerto Rico",COUNTRY_NAME_QA:"Qatar",COUNTRY_NAME_RE:"Reunion",COUNTRY_NAME_RO:"Romania",COUNTRY_NAME_RU:"Russia",COUNTRY_NAME_RW:"Rwanda",COUNTRY_NAME_PM:"Saint Pierre and Miquelon",COUNTRY_NAME_WS:"Samoa",COUNTRY_NAME_SM:"San Marino",COUNTRY_NAME_SA:"Saudi Arabia",COUNTRY_NAME_SN:"Senegal",COUNTRY_NAME_RS:"Serbia",COUNTRY_NAME_SC:"Seychelles",COUNTRY_NAME_SL:"Sierra Leone",COUNTRY_NAME_SG:"Singapore",COUNTRY_NAME_SX:"Sint Maarten",COUNTRY_NAME_SK:"Slovakia",COUNTRY_NAME_SI:"Slovenia",COUNTRY_NAME_SB:"Solomon Islands",COUNTRY_NAME_SO:"Somalia",COUNTRY_NAME_ZA:"South Africa",COUNTRY_NAME_GS:"South Georgia and the South Sandwich Islands",COUNTRY_NAME_KR:"South Korea",COUNTRY_NAME_ES:"Spain",COUNTRY_NAME_LK:"Sri Lanka",COUNTRY_NAME_SD:"Sudan",COUNTRY_NAME_SR:"Suriname",COUNTRY_NAME_SZ:"eSwatini",COUNTRY_NAME_SE:"Sweden",COUNTRY_NAME_CH:"Switzerland",COUNTRY_NAME_SY:"Syria",COUNTRY_NAME_TW:"Taiwan",COUNTRY_NAME_TJ:"Tajikistan",COUNTRY_NAME_TZ:"Tanzania",COUNTRY_NAME_TH:"Thailand",COUNTRY_NAME_TL:"Timor Leste",COUNTRY_NAME_TG:"Togo",COUNTRY_NAME_TK:"Tokelau",COUNTRY_NAME_TO:"Tonga",COUNTRY_NAME_TT:"Trinidad and Tobago",COUNTRY_NAME_TN:"Tunisia",COUNTRY_NAME_TR:"Turkey",COUNTRY_NAME_TM:"Turkmenistan",COUNTRY_NAME_TC:"Turks and Caicos Islands",COUNTRY_NAME_TV:"Tuvalu",COUNTRY_NAME_VI:"U.S. Virgin Islands",COUNTRY_NAME_UG:"Uganda",COUNTRY_NAME_UA:"Ukraine",COUNTRY_NAME_AE:"United Arab Emirates",COUNTRY_NAME_GB:"United Kingdom",COUNTRY_NAME_US:"United States",COUNTRY_NAME_UY:"Uruguay",COUNTRY_NAME_UZ:"Uzbekistan",COUNTRY_NAME_VU:"Vanuatu",COUNTRY_NAME_VE:"Venezuela",COUNTRY_NAME_VN:"Vietnam",COUNTRY_NAME_WK:"Wake Island",COUNTRY_NAME_WF:"Wallis and Futuna",COUNTRY_NAME_YE:"Yemen",COUNTRY_NAME_ZM:"Zambia",COUNTRY_NAME_ZW:"Zimbabwe",INACCESSIBLE_CHANNEL_LINK_TITLE:"You don't have access to this link.",INACCESSIBLE_CHANNEL_LINK_SUBTITLE:"This link is to a server or channel you don't have access to.",CREATION_INTENT_CHECKBOX_LABEL:"I'm making this server for a club or community.",CREATION_INTENT_TITLE:"Tell us more about your server",CREATION_INTENT_DESCRIPTION:"In order to help you with your setup, is your new server for just a few friends or a larger community?",CREATION_INTENT_OPTION_FRIENDS:"For me and my friends",CREATION_INTENT_OPTION_COMMUNITY:"For a club or community",CREATION_INTENT_SKIP:"Not sure? You can [skip this question](onSkip) for now.",VIEW:"View",GUILD_CREATE_INVITE_TITLE:"Add some people",GUILD_CREATE_INVITE_DESCRIPTION:"You’ll need a few friends to get the most out of your server.",GUILD_CREATE_INVITE_SEE_MORE_SUGGESTIONS:"See more friends",GUILD_INVITE_SEARCH_SERVERS_PLACEHOLDER:"Search your servers",GUILD_INVITE_EXPIRATION_SUBLABEL:"Invites expire in {xDays}.",GUILD_INVITE_YOUR_GUILDS_LIST_LABEL:"Owned by you",GUILD_INVITE_OTHER_GUILDS_LIST_LABEL:"Other servers",GUILD_INVITE_SEARCH_NO_RESULTS:"No Results",GUILD_INVITE_CTA:"Invite to Servers",CONTACT_SYNC_TITLE:"Find your friends",CONTACT_SYNC_LANDING_TITLE:"Find your friends",CONTACT_SYNC_SUBTITLE:"Discord can connect you with your friends and help them find you.",CONTACT_SYNC_LANDING_TOGGLE_LABEL:"Allow contacts to add me",CONTACT_SYNC_SETTING_LABEL:"Sync Contacts",CONTACT_SYNC_LANDING_INFO_2:"Allow someone to add you if they have your phone number saved in their phone contacts. (Email coming soon!)",CONTACT_SYNC_LANDING_CTA:"Find Friends",CONTACT_SYNC_INFO_2:"Use the settings below to allow someone to add you if they have your contact information saved in their phone contacts.",CONTACT_SYNC_LEARN_MORE:"This can be changed anytime in settings. $[Learn More](learnMoreHook)",CONTACT_SYNC_SUGGESTIONS_TITLE:"Add Friends",CONTACT_SYNC_SUGGESTIONS_CTA:"Add Friends",CONTACT_SYNC_SUGGESTIONS_SUBTITLE:"We found some people you know on Discord! Select who you’d like to send a friend request to.",CONTACT_SYNC_NEEDS_PERMISSIONS:"To help you find your friends Discord, we’ll need permission to access your contacts.",CONTACT_SYNC_NEEDS_PERMISSIONS_ANDROID:"To help you find your friends Discord, we’ll need permission to access your contacts. Go to settings, then permissions, then turn contacts on.",CONTACT_SYNC_ENTER_NAME_TITLE:"Enter your name",CONTACT_SYNC_ENTER_NAME_SUBTITLE:"Your name is used for friend requests and suggestions to people you have in your contact book.",CONTACT_SYNC_ENTER_NAME_INPUT_HEADER:"Your name",CONTACT_SYNC_UPDATE_NAME_CTA:"Update name",CONTACT_SYNC_UPDATE_NAME_TITLE:"Update your name",CONTACT_SYNC_UPDATE_NAME_SUBTITLE:"Your name is only used when you send friend requests to people you have in your contact book.",CONTACT_SYNC_REMOVE_NAME:"Remove name",CONTACT_SYNC_SUGGESTIONS_EMPTY_TITLE:"Invite your friends to Discord",CONTACT_SYNC_SUGGESTIONS_EMPTY_SUBTITLE:"None of your contacts are on Discord yet, but we’ll let you know when your friends join. For now, you can invite your friends to join Discord!",CONTACT_SYNC_PHONE_VERIFY_TITLE:"Enter your phone number",CONTACT_SYNC_PHONE_VERIFY_TITLE_2:"Find your friends by adding your phone number",CONTACT_SYNC_PHONE_VERIFY_SUBTITLE:"Before we can sync your contacts, we need to verify your phone number.",CONTACT_SYNC_FIND_FRIENDS_TITLE:"Find your friends",CONTACT_SYNC_FIND_FRIENDS_SUBTITLE:"Sync your contacts and start chatting.",CONTACT_SYNC_EMPTY_FRIENDS_SUBTITLE:"Add friends from your contacts and let them know you’re on Discord.",CONTACT_SYNC_INFO_SETTINGS:"This will allow people to add you through Find your Friends if they have you in their contacts. You will also receive friend suggestions when your contacts join Discord.",CONTACT_SYNC_INFO_SETTINGS_2:"Discord can connect you with your friends and help them find you. Your contacts will be regularly sent to us. [Learn More](onClick)",CONTACT_SYNC_INFO_SETTINGS_DISABLE:"Disabling this will delete any contact data uploaded to Discord.",CONTACT_SYNC_INFO_PERMISSIONS_FORM_HEADER:"Discovery permissions",CONTACT_SYNC_INFO_PHONE:"People can add you by your phone number",CONTACT_SYNC_INFO_EMAIL:"People can add you by your email",CONTACT_SYNC_INVITE_SMS_MESSAGE:"Add me on Discord! My username is !!{username}!! {inviteLink}",SUGGESTED_FRIENDS_LIST_HEADER:"Suggested Friends",PENDING_FRIENDS_LIST_HEADER:"Pending Friends",FORM_LABEL_REGION_OVERRIDE:"Region Override",FORM_HELP_REGION_OVERRIDE:"Anyone in this channel will connect to the region you set, regardless of where they live. Regions affect voice and video quality. Leave it on Automatic and Discord will figure out what works best.",AUTOMATIC_REGION:"Automatic",GUILD_REGION_DEPRECATED_BLURB:"Regions, which affect voice and video quality, are now available for each voice channel and determined automatically. If you need a hand, you can read our [Help Center]({helpURL}).",STAGE_VOICE_CHANNEL:"Stage Channel",LISTENING_COUNT:"{count} listening",BLOCKED_COUNT:"{count} blocked",SPEAKING_COUNT:"{count, plural, =0 {No one is speaking} other {{count} speaking}}",DISCOVERY_SPEAKER_COUNT:"{speakersCount, plural, =1 {+{count} Speaker} other {+{count} Speakers}}",STAGE_CHANNEL_USERS_ARE_SPEAKING:"{count, plural, =1 {is} other {are}} speaking",STAGE_SETTINGS:"Stage Settings",VISIT_COMMUNITY:"Visit Community",START_STAGE_CHANNEL_EVENT_MODAL_TITLE:"What will you be talking about?",START_STAGE_CHANNEL_EVENT_MODAL_SUBTITLE:"Write a topic to start your Stage.",START_STAGE_CHANNEL_EVENT_MODAL_TOPIC_LABEL:"Stage Topic",START_STAGE_CHANNEL_EVENT_MODAL_TOPIC_PLACEHOLDER:"The debate is over: diet is better than regular",START_STAGE_CHANNEL_EVENT_MODAL_BUTTON:"Start Stage",START_STAGE_CHANNEL_EVENT_MODAL_TOPIC_REQUIRED:"You must set a topic. It’s a rule we made up.",START_STAGE_CHANNEL_EVENT_MODAL_SPEAKER_HINT:"You will be a Speaker when the Stage opens.",EDIT_STAGE_TITLE:"Edit Stage",EDIT_STAGE_SUBTITLE:"Change the topic",EDIT_STAGE_CHANNEL_TITLE:"Edit Stage",EDIT_STAGE_CHANNEL_SUBTITLE:"Change the topic or privacy settings",RECOMMENDED:"Recommended",START_STAGE_CHANNEL_EVENT_MEMBERS_TITLE:"Members Only",START_STAGE_CHANNEL_EVENT_MEMBERS_SUBTITLE:"Only members of your server can join.",START_STAGE_CHANNEL_EVENT_PUBLIC_TITLE:"Public",START_STAGE_CHANNEL_EVENT_PUBLIC_SUBTITLE:"Your Stage will be listed in Stage Discovery.\nAnyone can listen in!",START_STAGE_CHANNEL_EVENT_PUBLIC_EXPLANATION:"People who listen in will also be able to join your server while the Stage is live. Public Stages must follow [additional guidelines.]({articleURL})",START_STAGE_CHANNEL_EVENT_PUBLIC_PERMISSIONS_DISCLAIMER:"Only Stage moderators with Invite Members permission can make their Stage public.",START_STAGE_CHANNEL_EVENT_PUBLIC_PERMANENT_DISCLAIMER:"Public Stages cannot become closed.",START_STAGE_CHANNEL_EVENT_PUBLIC_EVERYONE_WARNING:"You can only start public Stages in channels that are joinable by @everyone.",START_STAGE_PUBLIC_SHORT_TOPIC_WARNING:"Is your topic descriptive enough? Make sure it's clear so that people browsing Stage Discovery can easily know what your Stage and community is about.",START_STAGE_PUBLIC_INFO_TITLE:"Your Stage is going public!",START_STAGE_PUBLIC_INFO_TITLE_CAPTION:"Here are a few things you should know.",START_STAGE_PUBLIC_INFO_ALT_TEXT:"People performing",START_STAGE_PUBLIC_INFO_SECTION_ONE:"This Stage will be listed in Stage Discovery. Anyone can listen in!",START_STAGE_PUBLIC_INFO_SECTION_TWO:"While the Stage is live, listeners can join your server and become part of your community.",START_STAGE_PUBLIC_INFO_SECTION_THREE:"Public Stages must follow a few additional rules. [Read full guidelines here.]({articleURL})",START_STAGE_PUBLIC_INFO_SECTION_FOUR:"Public Stages cannot feature explicit, graphic, or sexual content, and make sure your topic is accurate and descriptive.",START_STAGE_PUBLIC_CONFIRM:"Let's do it",START_STAGE_PUBLIC_PREVIEW_TITLE:"Your Stage is going public!",START_STAGE_PUBLIC_PREVIEW_SUBTITLE:"It'll be listed publicly in Stage Discovery.",START_STAGE_PUBLIC_PREVIEW_SECTION_ONE:"This is a great chance to grow your community! Anyone can listen in from Stage Discovery.",START_STAGE_PUBLIC_PREVIEW_SECTION_TWO:"Listeners can also directly join your server if they like the Stage.",START_STAGE_PUBLIC_PREVIEW_SECTION_THREE:"We recommend a more descriptive topic since listeners might not know about your server.",START_STAGE_PUBLIC_PREVIEW_SECTION_FOUR:"Public Stages must follow [Stage Guidelines.]({articleURL}) No explicit or sexual content allowed.",STAGE_MODERATOR_JOIN_MODAL_TITLE:"Talking or just listening in?",STAGE_MODERATOR_JOIN_MODAL_SUBTITLE:"Join as Speaker to talk, or chill out in the audience.",STAGE_MODERATOR_JOIN_MODAL_JOIN_SPEAKER:"Join as Speaker",STAGE_MODERATOR_JOIN_MODAL_JOIN_AUDIENCE:"Join Audience",STAGE_BLOCKED_USERS_TITLE:"Blocked Accounts Present",STAGE_BLOCKED_USERS_TITLE_PLURAL:"Blocked {number, plural, =1 {Account} other {Accounts}} Present",STAGE_BLOCKED_USERS_BODY:"Just so you know, {number, plural, =1 {# account you blocked is} other {# accounts you blocked are}} in this Stage.",STAGE_BLOCKED_USERS_DESCRIPTION_COUNT:"{number, plural, =1 {# account you blocked is} other {# accounts you blocked are}} in this Stage.",STAGE_BLOCKED_USERS_ACCEPT:"Got it, thanks",STAGE_BLOCKED_USERS_CANCEL:"Never mind",STAGE_START_PROMPT_TITLE:"Waiting for the Stage to start… Any day now.",STAGE_START_PROMPT_TITLE_MODERATOR:"Waiting for the Stage to start…",STAGE_START_PROMPT_SUBTITLE:"What will you be talking about today?",STAGE_CONTINUE_PROMPT_TITLE:"Continue without starting",STAGE_CONTINUE_PROMPT_SUBTITLE:"You'll need to start the stage to set the topic.",STAGE_AUDIENCE_WAITING_ONE:"!!{first}!! is currently waiting.",STAGE_AUDIENCE_WAITING_TWO:"!!{first}!!, and !!{second}!! are currently waiting.",STAGE_AUDIENCE_WAITING_MANY:"!!{first}!!, !!{second}!!, and {numOthers, plural, =1 {# other} other {# others}} are currently waiting.",AUDIENCE_LABEL:"In Audience",AUDIENCE_A11Y_LABEL:"!!{name}!! - Audience",SPEAKER_A11Y_LABEL:"!!{name}!! - Speaker",AUDIENCE_RAISE_HAND_CTA:"Request to Speak",AUDIENCE_RAISE_HAND_CTA_LONG:"Raise Hand to Speak",AUDIENCE_RAISE_HAND_NO_PERMISSION:"Raise Hand Disabled",AUDIENCE_LOWER_HAND:"Cancel Request",AUDIENCE_DISCONNECT:"Exit Quietly",AUDIENCE_HAND_RAISED:"Hand Raised",AUDIENCE_ABLE_TO_SPEAK:"Speaking in {channelName}",AUDIENCE_SECTION_HEADER:"Audience — {audienceSize}",MODERATOR_RAISE_OWN_HAND:"Become a Speaker",MODERATOR_ALLOW_EVERYONE_RAISE_HAND:"Allow requests from @everyone",STAGE_MODERATOR_TOOLTIP:"Stage Moderator",REQUEST_TO_SPEAK_AREA_TITLE:"Requests to Speak",REQUEST_TO_SPEAK_AREA_OPEN:"Show Requests",REQUEST_TO_SPEAK_AREA_CLOSE:"Hide Requests",REQUEST_TO_SPEAK_AREA_ALL_ROLES:"@everyone can request to speak",REQUEST_TO_SPEAK_AREA_ALL_ROLES_DISABLED:"Requests Disabled",REQUEST_TO_SPEAK_LIST_TITLE:"Requests to Speak — {numHands}",REQUEST_TO_SPEAK_EMPTY_LIST_TITLE:"No Requests",REQUEST_TO_SPEAK_EMPTY_LIST_BODY:"Requests to speak will show up here.",REQUEST_TO_SPEAK_ACCEPT:"Invite to Speak",REQUEST_TO_SPEAK_INVITATION_SEND:"Invite Sent",REQUEST_TO_SPEAK_DECLINE:"Dismiss",REQUEST_TO_SPEAK_ACCESSIBILITY_TEXT:"Open Raised Hands List",REQUEST_TO_SPEAK_MEMBER_INFO_MEMBER:"Member",REQUEST_TO_SPEAK_MEMBER_INFO_MEMBER_ROLES:"Member with Role(s)",REQUEST_TO_SPEAK_MEMBER_INFO_NEW_MEMBER:"New Member",REQUEST_TO_SPEAK_MEMBER_INFO_NON_MEMBER:"Visitor (Non-Member)",REQUEST_TO_SPEAK_MEMBER_INFO_NEW_TO_DISCORD:"New to Discord",WAVE_ACCESSIBILITY_TEXT:"Request to Speak",MOVE_ME_TO_AUDIENCE:"Move to Audience",REQUEST_TO_SPEAK:"Request to Speak",ROLE_PERMISSIONS_REQUEST_TO_SPEAK_DESCRIPTION:"Allow requests to speak in Stage channels. Stage moderators manually approve or deny each request.",ROLE_PERMISSIONS_REQUEST_TO_SPEAK_DESCRIPTION_CATEGORY:"Allow requests to speak in these Stage channels. Stage moderators manually approve or deny each request.",ROLE_PERMISSIONS_REQUEST_TO_SPEAK_DESCRIPTION_STAGE:"Allow requests to speak in this Stage channel. Stage moderators manually approve or deny each request.",ROLE_PERMISSIONS_SECTION_STAGE:"Stage Channel Permissions",ROLE_PERMISSIONS_MANAGE_CHANNEL_DESCRIPTION_STAGE:"(Required for Stage moderator) Allow members to set a topic to start the Stage and enable or disable requests to speak. They can also delete the Stage channel.",ROLE_PERMISSIONS_MANAGE_ROLES_DESCRIPTION_STAGE:"Allow members to change this channel's permissions.",ROLE_PERMISSIONS_CONNECT_DESCRIPTION_STAGE_EVERYONE:"Allow members to join this Stage channel as the audience. Disabling this and the View Channel permissions for @everyone will make this channel private.",ROLE_PERMISSIONS_CONNECT_DESCRIPTION_STAGE:"Allow members to join this Stage channel as the audience.",ROLE_PERMISSIONS_SPEAK_DESCRIPTION_STAGE:"Allow members to be Speakers in this channel.",ROLE_PERMISSIONS_USE_VAD_DESCRIPTION_STAGE:"Allow Speaker voices to be heard automatically when they start talking. If this permission is disabled, Speakers will be required to use Push to Talk.",ROLE_PERMISSIONS_MUTE_MEMBERS_DESCRIPTION_STAGE:"(Required for Stage moderator) Allow members to add or remove Speakers.",ROLE_PERMISSIONS_MOVE_MEMBERS_DESCRIPTION_STAGE:"(Required for Stage moderator) Allow members to force others to disconnect from this channel.",STAGE_CHANNEL_CANNOT_OVERWRITE_PERMISSION:"This override is currently disabled for Stage channels.",STAGE_CHANNEL_CURRENTLY_DISABLED_CHANNEL_SETTING:"The setting is currently disabled for Stage Channels.",STAGE_INVITE_GUILD_HEADER:"Presented By",STAGE_INVITE_SPEAKER_COUNT:"{count, plural, =1 {1 Speaker} other {{count} Speakers}}",STAGE_CHANNEL_USER_CONTEXT_MENU:"Participant Actions",STAGE_CHANNEL_USER_MOVE_TO_AUDIENCE:"Move to Audience",STAGE_CHANNEL_USER_INVITE_TO_SPEAK:"Invite to Speak",STAGE_CHANNEL_USER_INVITED_TO_SPEAK:"Invite Sent",STAGE_CHANNEL_USER_SET_MYSELF_TO_SPEAKER:"Become a Speaker",STAGE_AUDIENCE:"Audience",STAGE_SPEAKER:"Speaker",STAGE_CHANNEL_START_TITLE:"Start the Stage",STAGE_CHANNEL_START_SUBTITLE:"Pick a topic to start the conversation.",STAGE_CHANNEL_START_ALT_TEXT:"Green stage channel icon with plus sign",STAGE_CHANNEL_AUDIENCE_COUNT:"{userCount} listening",STAGE_CHANNEL_NO_AUDIENCE:"No listeners yet",STAGE_CHANNEL_LIVE_INDICATOR:"LIVE",STAGE_CHANNEL_LIVE_NOW:"Live Now",STAGE_CHANNEL_JOIN_BUTTON:"Listen In",STAGE_CHANNEL_JOINED_AUDIENCE_BUTTON:"Joined Audience",STAGE_CHANNEL_JOINED_SPEAKER_BUTTON:"Joined as Speaker",STAGE_CHANNEL_PEOPLE_COUNT:"{count, plural, =1 {1 person} other {{count} people}} ({speakerCount, plural, =0 {No Speakers} =1 {1 speaking} other {{speakerCount} speaking}})",STAGE_CHANNEL_LEAVE_BUTTON:"Exit Quietly",STAGE_CHANNEL_NO_TOPIC:"No topic yet. Write one to start the Stage!",STAGE_CHANNEL_AUDIENCE_NO_TOPIC:"Waiting for event to start. [elevator music]",STAGE_CHANNEL_AUDIENCE_MODAL_TITLE:"Welcome to Stages!",STAGE_CHANNEL_AUDIENCE_MODAL_SUBTITLE:"Your mic will be muted unless you are invited to speak. You can leave and rejoin anytime without making noise. Request to speak to join the conversation!",STAGE_CHANNEL_AUDIENCE_MODAL_BULLET_1:"Your mic will be muted unless you are invited to speak.",STAGE_CHANNEL_AUDIENCE_MODAL_BULLET_2:"You can leave and rejoin anytime without making noise.",STAGE_CHANNEL_AUDIENCE_MODAL_BULLET_3:"Request to speak to join the conversation!",STAGE_CHANNEL_AUDIENCE_MODAL_BULLET_4:"Listening to a public Stage will show up as your status. Go to User Settings > Activity Status for more info.",STAGE_CHANNEL_AUDIENCE_MODAL_ACTION:"Got it!",STAGE_CHANNEL_AUDIENCE_MODAL_ALT_TEXT:"Illustration of four people sitting on a couch watching a stage curtain open",STAGE_SPEAK_INVITE_HEADER:"You have been invited to speak.",STAGE_SPEAK_INVITE_HEADER_BLOCKED_USERS:"{number, plural, =1 {# blocked user} other {# blocked users}} present",STAGE_SPEAK_INVITE_PUSH_NOTIFICATION:"You have been invited to speak in {channelName} about {channelTopic}.",STAGE_SPEAK_INVITE_ACCEPT:"Accept",STAGE_SPEAK_INVITE_DECLINE:"Decline",STAGE_SPEAK_INVITE_BLOCKED_USERS:"{number, plural, =1 {# blocked user} other {# blocked users}} in this Stage",STAGE_SPEAK_INVITE_SEND:"Invite to Speak",STAGE_IS_SPEAKING_ZERO_QUANTITY_HOOK:"](usernameHook)is speaking...",STAGE_IS_SPEAKING_HOOK:"$[{username} {count, plural, =1 {and one other](usernameHook) are speaking...} other {and {count} others](usernameHook) are speaking...}}",STAGE_DISCOVERY_TOOLTIP:"New: Discover Live Stages",STAGE_DISCOVERY_TOOLTIP_MOBILE:"New",STAGE_DISCOVERY_INTRO_CARD_HEADER:"What're you passionate about?",STAGE_DISCOVERY_INTRO_CARD_BODY:"There's a community talking about it on Discord. Listen to conversations happening live with Stages.",STAGE_DISCOVERY_INTRO_CARD_BODY_DESKTOP:"There's a community talking about it on Discord.\nListen to conversations happening live with Stages.",STAGE_DISCOVERY_INTRO_CARD_ALT_TEXT:"Four friends sitting on a couch waiting for the stage curtain to open",GUILD_EVENTS:"Events",GUILD_EVENTS_PLURAL:"{number, plural, =1 {# Event} other {# Events}}",START_EVENT:"Start Event",SCHEDULE_EVENT:"Schedule Event",SCHEDULE_EVENT_DESCRIPTION:"Create a Stage to be started later.",START_SCHEDULED_EVENT:"Start a Scheduled Event",STARTING_SOON:"Starting Soon",STARTING_IN_MINUTES:"Starting in {minutes}m",CHANNEL_PERMISSIONS_MODERATOR_TITLE:"Stage Moderators",CHANNEL_PERMISSIONS_MODERATOR_CURRENT_TITLE:"Current Stage moderators",CHANNEL_PERMISSIONS_MODERATOR_DESCRIPTION:"Stage moderators are Speakers who can add and remove other Speakers. They can also start the Stage event. Stage moderators don't have to be mods of the server.",CHANNEL_PERMISSIONS_MODERATOR_LABEL:"Who is a Stage moderator for this channel?",CHANNEL_PERMISSIONS_REMOVE_MODERATOR_TOOLTIP:"Remove Stage moderator from channel.",CHANNEL_PERMISSIONS_NOT_MODERATOR:"You are not a Stage moderator.",CHANNEL_PERMISSIONS_SEARCH_TOOLTIP:"Only users or roles with Manage Roles permission can be added.",CHANNEL_PERMISSIONS_CANNOT_EDIT_MODERATORS:"You cannot add or remove Stage moderators.",CHANNEL_PERMISSIONS_ADD_MODERATOR_TITLE:"Add Stage moderators",CHANNEL_PERMISSIONS_REMOVE_NOT_OVERWRITE:"Permissions do not come from a channel overwrite.",CHANNEL_PERMISSIONS_ROLE_ALREADY_HAS_PERMISSIONS:"Already has permissions",CHANNEL_PERMISSIONS_MODERATOR_TITLE_SIMPLE:"Moderators",CHANNEL_PERMISSIONS_ADD_MODERATOR_TITLE_SIMPLE:"Add Stage moderators",CHANNEL_PERMISSIONS_ADD_HAS_GUILD_PERMISSIONS:"Role already has server-level permissions.",STAGE_MICROPHONE_PERMISSIONS_DENIED:"Microphone access denied - Discord requires audio access if you want to speak. You will be moved to the audience for now.",STAGE_DISCOVERY_LIVE_STAGE_TILE_SUBTEXT_JUST_STARTED:"Just started",STAGE_DISCOVERY_LIVE_STAGE_TILE_SUBTEXT_YOUR_SERVER:"Server you are in",STAGE_DISCOVERY_LIVE_STAGE_TILE_SUBTEXT_PARTNER:"Partner Community / Verified Community",STAGE_DISCOVERY_LIVE_STAGE_TILE_SUBTEXT_COMMUNITY:"Community",STAGE_DISCOVERY_LIVE_STAGE_TILE_DISCONNECTING:"Disconnecting...",STAGE_DISCOVERY_NO_RESULTS_HEADER:"We couldn't find any live Stages happening right now.",STAGE_DISCOVERY_NO_RESULTS_SUBHEADER:"Check back later!",STAGE_DISCOVERY_NO_RESULTS_ALT:"Purple wumpus waving hello surrounded by sparkles",STAGE_DISCOVERY_NO_RESULTS_BUTTON:"Refresh",START_STAGE_BUTTON_TEXT:"Start a Stage",START_STAGE_BUTTON_TEXT_MOBILE:"Start a Stage",START_STAGE_MODAL_SERVER_MODAL_LABEL:"Start a Stage",START_STAGE_MODAL_SERVER_SELECTION_TITLE:"Where do you want to host a Stage?",START_STAGE_MODAL_SERVER_SELECTION_SUBTITLE:"Engage and grow your community by hosting a live audio event with Stage channels.",START_STAGE_MODAL_SERVER_SELECTION_BUTTON_TEXT:"Learn more about Stage channels",START_STAGE_MODAL_SERVER_SELECTION_BUTTON_HINT:"Curious to learn more?",START_STAGE_MODAL_SERVER_SELECTION_EMPTY_TITLE:"You can't start a Stage yet",START_STAGE_MODAL_SERVER_SELECTION_BULLET_1:"Make a [Community server.]({helpdeskArticle})",START_STAGE_MODAL_SERVER_SELECTION_BULLET_2:"Create a Stage channel.",START_STAGE_MODAL_SERVER_SELECTION_BULLET_3:"Come up with a great event.",START_STAGE_MODAL_SERVER_SELECTION_BULLET_4:"Start your Stage!",START_STAGE_MODAL_SET_TOPIC_TITLE:"What will you be talking about?",START_STAGE_MODAL_SET_TOPIC_SUBTITLE:"Write a topic to start your Stage.",START_STAGE_MODAL_SET_TOPIC_SELECT_LABEL:"Stage channel",START_STAGE_MODAL_SET_TOPIC_HELP_TEXT:"Your Stage will be hosted in $[**!!{stageName}!!**](stageHook).",START_STAGE_MODAL_SET_TOPIC_CHANGE_CHANNEL:"Your Stage will be hosted in $[**!!{stageName}!!**](stageHook). $[Change Channel](changeHook)",START_STAGE_MODAL_SET_TOPIC_CREATE_CHANNEL:"We will create a Stage channel for you called $[**!!{stageName}!!**](stageHook). You can change the name later.",START_STAGE_MODAL_CONFIRM_TEXT:"Start the Stage",START_STAGE_MODAL_SELECT_CHANNEL:"Select a Stage channel",NEW_DM_CTA_SEND_FIRST_MESSAGE:"Send your first message",NEW_DM_CTA_START_GROUP_MESSAGE:"Start a group messsage",NEW_DM_CTA_INVITE_TO_SERVER_MESSAGE:"Invite to server",END_STAGE:"End Stage",END_STAGE_TITLE:"Do you want to end the Stage?",EXPLICIT_END_STAGE_TITLE:"Do you want to also end the Stage?",EXPLICIT_END_STAGE_SUBTITLE:"A Stage with no speakers will automatically end after a few minutes.",EXPLICIT_END_STAGE_CONFIRM:"Exit and End",EXPLICIT_END_STAGE_CONFIRM_MOBILE:"Exit and end the Stage",EXPLICIT_END_STAGE_CANCEL:"No, just exiting quietly",TOKEN_POPOUT_BODY:"This message may contain a Discord authentication token, which can grant an attacker access to your account. Are you sure you want to send it?",STAGE_DISCOVERY_CARD_SPEAKER_TEXT:"{number, plural, =1 {# speaking with {userNick}} other {{userNick} is speaking}}",STAGE_DISCOVERY_CARD_SPEAKER_TEXT_OVERFLOW:"{count, plural, =0 {} other {+{count} speaking}}",STAGE_DISCOVERY_ORIGIN_TEXT:"From {origin}",STAGE_DISCOVERY_CARD_OPEN_STAGE:"Open Stage",STAGE_DISCOVERY_SPEAKER_JOIN_NOTICE:"Joined as Speaker",STAGE_DISCOVERY_AUDIENCE_JOIN_NOTICE:"Joined as Audience",STAGE_DISCOVERY:"Stage Discovery",LIVE_STAGES:"Live Stages",STAGE_DISCOVERY_GUILD_SIDEBAR_LIVE_STAGES_CATEGORY:"Stage Discovery",STAGE_DISCOVERY_REFRESH_ICON_LABEL:"Refresh",STAGE_DISCOVERY_CONNECTION_ERROR_GENERIC:"We are having problems connecting you to this Stage. Please try later.",STAGE_DISCOVERY_CONNECTION_ERROR_BUTTON_TEXT:"Try Again",STAGE_DISCOVERY_LIVE_STAGE_TILE_USER_GUILDS_CONTEXT:"You are in this server",STAGE_DISCOVERY_LIVE_STAGE_TILE_USER_GUILDS_BOOSTING_CONTEXT:"You are boosting this server",STAGE_DISCOVERY_LIVE_STAGE_LISTENING_INDICATOR:"You are listening",STAGE_DISCOVERY_LIVE_STAGE_TILE_USER_GUILDS_CONTEXT_SUBTEXT:"Server you are in",STAGE_DISCOVERY_LIVE_STAGE_TILE_FRIENDS_GUILDS_CONTEXT_AUDIENCE:"**!!{name}!!** is in the audience",STAGE_DISCOVERY_LIVE_STAGE_TILE_FRIENDS_GUILDS_CONTEXT_SPEAKER:"**!!{name}!!** is speaking",STAGE_DISCOVERY_LIVE_STAGE_TILE_SPEAKER_SUMMARY_OVERFLOW:"{count, plural, =1 {+{count} Speaker} other {+{count} Speakers}}",STAGE_DISCOVERY_LIVE_STAGE_TILE_FRIENDS_GUILDS_CONTEXT_AUDIENCE_HOOK:"$[!!{name}!!](usernameHook) is in the audience",STAGE_DISCOVERY_LIVE_STAGE_TILE_FRIENDS_GUILDS_CONTEXT_SPEAKER_HOOK:"$[!!{name}!!](usernameHook) is speaking",STAGE_DISCOVERY_FOOTER_TITLE:"That’s it for now!",STAGE_DISCOVERY_FOOTER_BODY:"But there might be more if you refresh...",STAGE_DISCOVERY_FOOTER_BUTTON:"Refresh",START_STAGE_CHANNEL_EVENT_PRIVACY_TITLE:"Privacy",STAGE_DISCOVERY_TIMESTAMP_DAYS:"Started {count}d ago",STAGE_DISCOVERY_TIMESTAMP_HOURS:"Started {count}h ago",STAGE_DISCOVERY_TIMESTAMP_MINUTES:"Started {count}m ago",STAGE_CHANNEL_ACTIVITY_FEED_DEFAULT:"In a Stage Channel",STAGE_CHANNEL_ACTIVITY_FEED_JOIN:"Join {channel}",STAGE_CHANNEL_INVITE_TO_STAGE_MODAL_HEADER:"Invite friends to Stage",STAGE_CHANNEL_INVITE_TO_STAGE_MODAL_FOOTER:"Or, send a Stage invite link to a friend",GUILD_JOIN_REASON_HEADER:"How did you find this server?",GUILD_JOIN_REASON_ASK_FRIENDS_INVITE:"I asked my friends for an invite",GUILD_JOIN_REASON_FRIEND_INVITE:"A friend invited me to this server",GUILD_JOIN_REASON_SEARCH_ONLINE:"I searched for a server online",GUILD_JOIN_REASON_IN_APP:"I found a server inside Discord",GUILD_JOIN_REASON_EXISTING_COMMUNITY:"I joined a community I'm a member of elsewhere",GUILD_JOIN_REASON_OTHER:"Other",GUILD_JOIN_REASON_TITLE_LABEL:"Your Answer",GUILD_JOIN_REASON_DESCRIPTION_LABEL:"Describe how you found this server",STAGE_INSTANCE_GUILD_PICKER_TITLE:"Let’s get the show started.",STAGE_INSTANCE_GUILD_PICKER_SUBTITLE:"Some sort of brief explanation of what a stage is plus an intro to the idea of hosting a stage inside a server.",STAGE_INSTANCE_PRIVACY_TYPE_PUBLIC_LABEL:"Public",STAGE_INSTANCE_PRIVACY_TYPE_PUBLIC_SUB_LABEL:"Open to anyone on Discord",STAGE_INSTANCE_PRIVACY_TYPE_PRIVATE_LABEL:"Private",STAGE_INSTANCE_PRIVACY_TYPE_PRIVATE_SUB_LABEL:"Open to people who are invited",STAGE_INSTANCE_PRIVACY_TYPE_FRIENDS_ONLY_LABEL:"Friends",STAGE_INSTANCE_PRIVACY_TYPE_FRIENDS_ONLY_SUB_LABEL:"Open to your friends on Discord",STAGE_INSTANCE_PRIVACY_TYPE_SHEET_TITLE:"Stage Type",CREATE_STAGE_INSTANCE_TITLE_INPUT_LABEL:"Stage Title",CREATE_STAGE_INSTANCE_TITLE_INPUT_PLACEHOLDER:"What are you gonna talk about?",CREATE_STAGE_INSTANCE_DESCRIPTION_INPUT_LABEL:"Description",CREATE_STAGE_INSTANCE_DESCRIPTION_INPUT_PLACEHOLDER:"Tell people a little more about your stage (optional)",CREATE_STAGE_INSTANCE_GO_LIVE_LABEL:"Go Live",CREATE_STAGE_INSTANCE_TICKET_REQUIRED_LABEL:"Ticket Required",CREATE_STAGE_INSTANCE_TICKET_REQUIRED_SUBLABEL:"Set a price for admission to your stage.",CREATE_STAGE_INSTANCE_REQUIRE_TICKET_LABEL:"Require Ticket",CREATE_STAGE_INSTANCE_ADD_SPEAKER_LABEL:"Add speaker",CREATE_STAGE_INSTANCE_SPEAKERS_LABEL:"{speakerCount, plural, =1 {1 Speaker} other {{speakerCount} Speakers}} Added",MESSAGE_BUTTON_COMPONENT_LINK_CONTEXT_MENU_NAME:"Button Link Actions",MESSAGE_BUTTON_COMPONENT_LINK_CONTEXT_MENU_COPY:"Copy link",MESSAGE_SELECT_COMPONENT_DEFAULT_PLACEHOLDER:"Make a selection",MESSAGE_SELECT_COMPONENT_SELECT_REQUIREMENT:"Select at least {count}",SELECT_ACCESSIBILITY_DESC_OPEN_OPTIONS_LIST:"Select options list opened",SELECT_ACCESSIBILITY_DESC_OPTION:"Option {emojiName} {optionName} {optionDescription}",SELECT_ACCESSIBILITY_DESC:"Select component {placeholder}",SELECT_ACCESSIBILITY_DESC_WITH_SELECTION:"Select component with {selections} selected",USER_SETTINGS_USER_PROFILE:"User Profile",USER_SETTINGS_PROFLE_COLOR:"Profile Color",USER_SETTINGS_PROFILE_COLOR_BETA:"Profile Color is currently available to a limited number of people",USER_SETTINGS_PROFILE_COLOR_DEFAULT:"Default",USER_SETTINGS_PROFILE_COLOR_CUSTOM:"Custom",USER_SETTINGS_CUSTOMIZATION_UPSELL:"Unlock with Nitro",USER_SETTINGS_CUSTOMIZATION_UPGRADE_UPSELL:"Upgrade to Unlock",USER_SETTINGS_AVATAR:"Avatar",USER_SETTINGS_PROFILE_BANNER:"Profile Banner",USER_SETTINGS_BANNER_SPECS:"We recommend an image of at least 600x240. You can upload a PNG, JPG, or an animated GIF under 10 MB.",USER_SETTINGS_CUSTOMIZE_PROFILE_TITLE:"Customizing My Profile",USER_SETTINGS_IMAGE_UPLOAD_FILETYPE_ERROR:"Unsupported image format. You can upload a PNG, JPG or an animated GIF.",USER_SETTINGS_UPLOAD_BANNER:"Upload Banner",USER_SETTINGS_REMOVE_BANNER:"Remove Banner",USER_SETTINGS_UNLOCK_BANNER:"Unlock Banner",USER_SETTINGS_CHANGE_BANNER_A11Y_LABEL:"Change Banner",USER_SETTINGS_UPLOAD_PROFILE_BANNER:"Upload Profile Banner",USER_SETTINGS_CHANGE_PROFILE_BANNER:"Change Profile Banner",USER_SETTINGS_REMOVE_PROFILE_BANNER:"Remove Profile Banner",USER_SETTINGS_REMOVE_AVATAR:"Remove Avatar",USER_SETTINGS_CHANGE_AVATAR_A11Y_LABEL:"Change Avatar",USER_SETTINGS_ABOUT_ME:"About Me",USER_SETTINGS_ABOUT_ME_HINT:"Tap to add an about me",USER_SETTINGS_ABOUT_ME_DESCRIPTION:"Write anything you’d like about yourself — as long as you do it in under {maxLength, number} characters. You can use markdown and links if you’d like.",USER_SETTINGS_ABOUT_ME_DETAILS:"You can use markdown and links if you’d like.",USER_SETTINGS_BANNER_COLOR_TITLE:"Profile Color",USER_SETTINGS_BANNER_COLOR_DESCRIPTION:"Visible when no image is set",USER_POPOUT_ABOUT_ME:"About Me",PREMIUM_PROFILE_CUSTOMIZATION_UPSELL_HEADER:"Wanna upload your own banner?",PREMIUM_PROFILE_CUSTOMIZATION_UPGRADE_BODY:"Get more customization with a profile banner and join more servers by [upgrading to Discord Nitro](onLearnMore)",PREMIUM_PROFILE_CUSTOMIZATION_UPSELL_BODY:"Get more customization with a profile banner, an animated avatar, a custom tag, [and more with Discord Nitro!](onLearnMore)",MARKETING_REFRESH_PREMIUM_TIER_1_CTA_DESCRIPTION_PERKS_INFO_PROFILE_CUSTOMIZATION:"**Does not** include profile banner.",PREMIUM_FEATURES_PROFILE_CUSTOMIZATION_HEADER:"Style Your Profile",PREMIUM_FEATURES_PROFILE_CUSTOMIZATION_SUBHEADER:"Express yourself with an animated avatar, profile banner, and custom tag.",PROFILE_CUSTOMIZATION_MARKETING_TOOLTIP_HEADER:"New User Profiles!",PROFILE_CUSTOMIZATION_MARKETING_TOOLTIP_BODY:'Express yourself with an "about me" and, if you have Nitro, a profile banner!',PROFILE_CUSTOMIZATION_MARKETING_TOOLTIP_CTA:"Got it",PROFILE_CUSTOMIZATION_BETA_TOOLTIP:"Profile Customization is currently available to a limited number of people.",PROFILE_BANNER_ICON_TOOLTIP_UPSELL:"Upload your own personalized banner and more with Discord Nitro!",PROFILE_CUSTOMIZATION_BIO_PLACEHOLDER:"Tell the world a little about yourself",PROFILE_CUSTOMIZATION_NITRO_ICON_TOOLTIP:"Exclusive to Nitro",MARKETING_PREMIUM_TIER_1_PERK_LIST_OMIT_PROFILE_CUSTOMIZATION:"Does not include profile banner",PROFILE_USER_BADGES:"User Badges",PROFILE_CUSTOMIZATION_PREVIEW:"Preview",PROFILE_CUSTOMIZATION_ACTIVITY_TIME:"$[](renderTimeHook) elapsed",PREMIUM_MESSAGE_LENGTH_UPSELL_MODAL_HEADER:"Wanna send longer messages?",PREMIUM_MESSAGE_LENGTH_UPSELL_MODAL_BODY:"Speak your mind with 2x longer messages, send larger file uploads, [and more with Discord Nitro!](onLearnMore)",PREMIUM_MESSAGE_LENGTH_UPSELL_TOOLTIP:"Send longer messages with [Discord Nitro!](onLearnMore)",PREMIUM_MESSAGE_LENGTH_UPSELL_MODAL_UPLOAD:"Upload as File",PREMIUM_FEATURES_MESSAGE_LENGTH_HEADING:"Longer Messages",PREMIUM_FEATURES_MESSAGE_LENGTH_SUBHEADING:"Say what’s on your mind with an increased character count.",PREMIUM_MESSAGE_LENGTH_ROADBLOCK_MODAL_HEADER:"Your message is too long...",PREMIUM_MESSAGE_LENGTH_ROADBLOCK_MODAL_BODY:"You’ve hit the {maxLength} character count limit.\n\nSpeak your mind with 2x longer messages, send larger file uploads, [and more with Discord Nitro!](onLearnMore)",MARKETING_REFRESH_PREMIUM_TIER_1_CTA_DESCRIPTION_PERKS_INFO_MESSAGE_LENGTH:"**Does not** include increased message length.",MARKETING_PREMIUM_TIER_1_PERK_LIST_OMIT_MESSAGE_LENGTH:"Does not include longer messages",PREMIUM_MESSAGE_LENGTH_CHATBOX_FLAIR:"Nitro is powering you with {maxLength} characters per message!",GUILD_CAP_INVITE_MODAL_BUTTON:"You are at the 100 server limit",GUILD_CAP_UPSELL_TOOLTIP:"Upgrade to Discord Nitro to join up to 200 servers!",GUILD_CAP_UPSELL_GET_NITRO:"Get Nitro",GUILD_CAP_UPSELL_MODAL_TITLE:"Wanna join more servers?",GUILD_CAP_UPSELL_MODAL_AT_LIMIT_BODY:"We love the enthusiasm, but you've hit the 100 server limit.\n\nJoin up to 200 servers $[NEW](newBadgeHook), use your server emoji everywhere, $[and more with Discord Nitro!](onAndMore)",GUILD_CAP_UPSELL_MODAL_NEAR_LIMIT_BODY:"You're in {guildCount} servers and might hit the 100 server limit soon.\n\nJoin up to 200 servers $[NEW](newBadgeHook), use your server emoji everywhere, $[and more with Discord Nitro!](onAndMore)",GUILD_CAP_PREMIUM_FEATURE_TITLE:"More Servers",GUILD_CAP_PREMIUM_FEATURE_DESCRIPTION:"Double the number of servers you can join up to 200.",GUILD_CAP_MARKETING_HERO_BODY:"Upgrade your emoji, personalize your profile, double the number of servers you can join, and stand out in your servers.",MARKETING_REFRESH_PREMIUM_TIER_1_CTA_DESCRIPTION_PERKS_INFO_GUILD_CAP:"**Does not** include more servers.",MARKETING_TIER_1_PERK_LIST_CUSTOM_EMOJI:"Use custom and animated emoji anywhere",MARKETING_TIER_1_PERK_LIST_UPLOAD_SIZE:"50 MB upload instead of 100 MB",MARKETING_TIER_1_PERK_LIST_STREAM_QUALITY:"Up to 1080p resolution and up to 60fps",MARKETING_TIER_1_PERK_LIST_BOOST_DISCOUNT:"30% off Server Boosts",MARKETING_PREMIUM_TIER_1_PERK_LIST_OMIT_GUILD_CAP:"Does not include more servers",MARKETING_TIER_1_PERK_OMIT_STICKERS:"Does not include Nitro sticker perks",DEVELOPER_SETTINGS_BUG_REPORTING_TITLE:"Screenshot To Report Bug",DEVELOPER_SETTINGS_BUG_REPORTING_DESCRIPTION:"Enables ability to send a bug report to Discord after you take a screenshot",SUBMIT_BUG:"Submit Bug",BUG_REPORT_NAME:"What's the issue?",BUG_REPORT_NO_SCREENSHOT:"Screenshot removed from report",BUG_REPORT_DESCRIPTION:"Detailed description (optional)",BUG_REPORT_PRIORITY:"Priority",BUG_REPORT_PRIORITY_CRITICAL_TITLE:"Critical (P0)",BUG_REPORT_PRIORITY_CRITICAL_DESCRIPTION:"**Urgent and important.** These are **mission critical** issues that prevent a **widespread** number of users from using critical functions of the app.",BUG_REPORT_PRIORITY_HIGH_TITLE:"High (P1)",BUG_REPORT_PRIORITY_HIGH_DESCRIPTION:"**Urgent but not important.** These are issues that impact a user's ability to use a core function of the app, while not preventing them from using other parts of the app.",BUG_REPORT_PRIORITY_LOW_TITLE:"Low (P2)",BUG_REPORT_PRIORITY_LOW_DESCRIPTION:"**Not urgent but important.** These are issues that negatively impact a user's experience with the application but do not actively prevent them from using core application functionality.",BUG_REPORT_PRIORITY_VERY_LOW_TITLE:"Very Low (P3)",BUG_REPORT_PRIORITY_VERY_LOW_DESCRIPTION:"**Not urgent and not important.** P3 allows us to acknowledge that something is an issue, but these kinds of issues do not need to be fixed until other more pressing concerns are dealt with.",BUG_REPORT_ERROR_NAME_REQUIRED:"Issue name required",BUG_REPORT_ERROR_PRIORITY_REQUIRED:"Priority required",BUG_REPORT_STATUS_SENDING:"Sending report",BUG_REPORT_STATUS_SENT:"Report sent",GUILD_MEMBER_AVATAR_UPSELL_TITLE:"Wanna use a different avatar?",GUILD_MEMBER_AVATAR_UPSELL_BODY:"Be who you want and use a different avatar in each of your servers, unlock animated avatars, [and more with Discord Nitro!](onAndMore)",CHANGE_GUILD_MEMBER_AVATAR:"Change Server Avatar",PER_GUILD_AVATARS_PREMIUM_FEATURE_TITLE:"Multiple Avatars",PER_GUILD_AVATARS_PREMIUM_FEATURE_DESCRIPTION:"Be who you want and use a different avatar in each of your servers.",CHANGE_IDENTITY:"Change Identity",CHANGE_IDENTITY_MODAL_TITLE:"Change Server",CHANGE_IDENTITY_MODAL_PER_SERVER_SECTION:"Server Avatar $[BETA](betaBadgeHook)",CHANGE_IDENTITY_MODAL_UPSELL:"Use a different avatar in each of your servers and more with **Discord Nitro!**",CHANGE_IDENTITY_MODAL_RESET_PRIMARY_AVATAR:"Reset to primary Avatar",CHANGE_IDENTITY_MODAL_UPLOADER_CTA:"Change\nServer\nAvatar",CHANGE_IDENTITY_MODAL_UNKNOWN_ERROR:"Unkown error",CHANGE_IDENTITY_MODAL_CHANGE_NICKNAME_DISABLED:"Nickname (Disabled)",CHANGE_IDENTITY_MODAL_DESCRIPTION:"You can change how others see you inside this server by setting a server nickname and avatar.",AKA_MORE_AVATARS_OVERFLOW:"See more per server avatars",USER_POPOUT_IDENTITY_CTA_AVATAR:"Set a Server Avatar",USER_POPOUT_IDENTITY_CTA_NICKNAME:"Set a Server Nickname",USER_POPOUT_IDENTITY_CTA_BOTH:"Set a Server Nickname and Avatar",CHANGE_IDENTITY_BETA_TOOLTIP:"Setting a different avatar for each of your servers is currently available to a limited number of people.",CHANGE_IDENTITY_GUILD_HEADER_TOOLTIP_TITLE:"NEW! Change Server Identity",CHANGE_IDENTITY_GUILD_HEADER_TOOLTIP_CONTENT:"Use a nickname and, if you have Nitro, use a different avatar in each of your servers.",CHANGE_IDENTITY_GUILD_HEADER_TOOLTIP_BUTTON:"Got it",NUX_NOTIFICATION_PERMISSION_PROMPT_TEXT:"You’ll receive push notifications for Discord activities like messages, mentions, friend requests, and events.",NUX_NOTIFICATION_PERMISSION_PROMPT_SUBTITLE:"Don’t miss a thing! Setup notifications to know when your friends send you a message.",NUX_NOTIFICATION_PERMISSION_ALERT_TITLE:"Allow Notifications",ENABLE_NOTIFICATIONS_TITLECASE:"Enable Notifications",SKIP_FOR_NOW:"Skip For Now",MAYBE_LATER:"Maybe Later",ALLOW:"Allow",DISCORD_U_COMING_SOON_TO_MOBILE:"Coming soon to mobile! For now, head over to desktop to access Discord Hubs",USER_SETTING_NOTIFICATION_NOT_ENABLED_PROMPT:"Push notifications not enabled",THREADS:"Threads",VIEW_THREAD:"View Thread",CREATE_THREAD:"Create Thread",EDIT_THREAD:"Edit Thread",DELETE_THREAD:"Delete Thread",ARCHIVE_THREAD:"Archive Thread",UNARCHIVE_THREAD:"Unarchive Thread",THREAD_SETTINGS:"Thread Settings",ARCHIVE_SETTINGS:"Archive Settings",ARCHIVE_NOW:"Archive Now",AUTO_ARCHIVE:"Auto-archive",AUTO_ARCHIVE_THREAD_AT:"Auto-archive at {time}",AUTO_ARCHIVE_THREAD_AT_LONG:"This thread will archive: {time}",EMPTY_MESSAGE_PRIVATE_THREAD_INSTRUCTIONS:"@mention users to add them to this private thread.",MEMBER_LIST_PRIVATE_THREAD_INSTRUCTIONS:"Only people you invite and moderators can see this thread.",AUTO_ARCHIVE_THREAD_AFTER:"Archive after {duration} of inactivity",AUTO_ARCHIVE_DURATION_1_HOUR:"1 Hour",AUTO_ARCHIVE_DURATION_24_HOURS:"24 Hours",AUTO_ARCHIVE_DURATION_3_DAYS:"3 Days",AUTO_ARCHIVE_DURATION_1_WEEK:"1 Week",ACTIVE_THREADS_POPOUT_HEADER:"More Active Threads",ACTIVE_THREADS_POPOUT_LINK:"See All",JOIN_THREAD:"Join Thread",LEAVE_THREAD:"Leave Thread",THREAD_MESSAGE_COUNT:"{count, plural, one {1 Message ›} other {{count} Messages ›}}",THREAD_MESSAGE_COUNT_MAX:"50+ Messages ›",THREAD_MESSAGE_COUNT_MOBILE:"{count} ›",THREAD_MESSAGE_COUNT_MAX_MOBILE:"50+ ›",SEE_THREAD_MOBILE:"›",SEE_THREAD:"See Thread ›",THREAD_ARCHIVED:"This thread is archived",NO_THREAD_MESSAGES:"There are no messages in this thread yet.",NO_RECENT_THREAD_MESSAGES:"There are no recent messages in this thread.",THREAD_STARTER_MESSAGE_ORIGINAL_MESSAGE:"Original message from channel",THREAD_STARTER_MESSAGE_NOT_LOADED:"Sorry, we couldn't load the first message in this thread",THREAD_STARTED_BY:"Started by $[](usernameHook)",THREAD_BROWSER_MESSAGE_PREVIEW:"$[](usernameHook) $[](messageTextHook)",BEGINNING_THREAD_ARCHIVE_DESCRIPTION:"This thread will archive after $[](autoArchiveDurationHook) of inactivity.",THREAD:"Thread",THREAD_SETTINGS_UPDATED:"Thread settings have been updated.",OPEN_IN_FULL_VIEW:"Open in Full View",OPEN_IN_SPLIT_VIEW:"Open in Split View",THREAD_HEADER_NOTICE_JOIN:"Join this thread to get notifications and to save in your channel list.",THREAD_HEADER_NOTICE_ARCHIVED:"This thread is archived. You can send a message to unarchive it.",THREAD_HEADER_NOTICE_LOCKED:"This thread was archived by a moderator. Only moderators can unarchive it.",UNARCHIVE:"Unarchive",ARCHIVED_THREAD_REACTIONS_DISABLED_TOAST:"You cannot add or remove reactions in archived threads.",THREAD_BROWSER_TITLE:"Threads",THREAD_BROWSER_ACTIVE:"Active",THREAD_BROWSER_ARCHIVED:"Archived",THREAD_BROWSER_PUBLIC:"Public",THREAD_BROWSER_PRIVATE:"Private",THREAD_BROWSER_STARTED_BY:"Started by $[](authorHook)",THREAD_BROWSER_CREATION_TIME:"Created {time}",THREAD_BROWSER_ARCHIVE_TIME:"Archived {time}",THREAD_BROWSER_PUBLIC_HEADER:"Public Threads",THREAD_BROWSER_PRIVATE_HEADER:"Private Threads",THREAD_BROWSER_OTHER_HEADER:"{count} other active threads",THREAD_BROWSER_FILTER_CONTENT_DESCRIPTION:"filter archived threads",THREAD_BROWSER_JOINED_HEADER:"{count} joined threads",THREAD_BROWSER_TIMESTAMP_DAYS:"{count}d ago",THREAD_BROWSER_TIMESTAMP_HOURS:"{count}h ago",THREAD_BROWSER_TIMESTAMP_MINUTES:"{count}m ago",THREAD_BROWSER_TIMESTAMP_MORE_THAN_MONTH:">30d ago",THREAD_BROWSER_NO_RECENT_MESSAGES:"No recent messages",THREAD_BROWSER_EMPTY_STATE_ACTIVE_HEADER:"There are no active threads.",THREAD_BROWSER_EMPTY_STATE_ARCHIVED_HEADER:"There are no archived threads.",THREAD_BROWSER_EMPTY_STATE_SUBTEXT:"Stay focused on a conversation with a thread, a temporary text channel.",THREAD_BROWSER_FILTER_SETTINGS_TITLE:"Filter Settings",THREAD_BROWSER_FILTER_SETTINGS_VISIBILITY:"Thread visibility",THREAD_MEMBER_WITHOUT_ACCESS:"Cannot view this thread",MODERATOR_VIEW:"Moderator View",MODERATOR_VIEW_DESCRIPTION:"See all private threads created by all users",MODERATOR_VIEW_TOOLTIP:"Moderator view lets you see all private threads, even those created by others.",MODERATOR_VIEW_TOOLTIP_MOBILE:"See all private threads created by all users",NEW_THREAD:"New Thread",THREAD_NAME:"Thread Name",FORM_THREAD_NAME_PLACEHOLDER:"New Thread",FORM_THREAD_NAME_HINT:"Name",FORM_THREAD_NAME_REQUIRED_ERROR:"Thread Name is required",FORM_THREAD_AUTO_ARCHIVE_SECTION_LABEL:"Archive After Inactivity",FORM_THREAD_STARTER_MESSAGE_SECTION_LABEL:"Starter Message",FORM_THREAD_STARTER_MESSAGE_PLACEHOLDER:"Enter a message to start the conversation!",FORM_THREAD_PRIVATE_THREAD_SECTION_LABEL:"Only people you invite and moderators can see",FORM_THREAD_PRIVATE_THREAD_DESCRIPTION:"You can invite new people by @mentioning them.",PRIVATE_THREAD:"Private Thread",THREAD_REPLY_SUGGESTION:"Want to make it easier to follow this chain of {count, plural, =1 {# reply} other {# replies}}?",FORM_PRIVATE_THREAD_DESCRIPTION:"Only people you invite and moderators can see this thread.",CREATE_THREAD_HEADER_1:"Send a message to start a thread in this channel!",CREATE_THREAD_HEADER_2:"It will archive after $[](durationHook) of inactivity.",CANNOT_JOIN_THREAD:"Cannot join thread",CANNOT_ADD_USER_TO_THREAD:"Cannot add user to thread",CANNOT_CREATE_THREAD:"Cannot create thread",CANNOT_UNARCHIVE_THREAD:"Cannot unarchive thread",TOO_MANY_MEMBERS_MESSAGE:"This thread has reached the maximum possible number of members.",TOO_MANY_THREADS_MESSAGE:"This server has reached the maximum number of active threads. Free up space by archiving a thread.",TOO_MANY_ANNOUNCEMENT_THREADS_MESSAGE:"This server has reached the maximum number of active announcement threads. Free up space by archiving a thread.",BOT_DM_TOO_MANY_THREADS:"Your message could not be sent because this server has reached the maximum number of threads. Free up space by archiving a thread.",BOT_DM_TOO_MANY_ANNOUNCEMENT_THREADS:"Your message could not be sent because this server has reached the maximum number of announcement threads. Free up space by archiving a thread.",FORM_HELP_DEFAULT_AUTO_ARCHIVE_DURATION:"New threads will be set to archive after the specified duration of inactivity.",FORM_LABEL_DEFAULT_AUTO_ARCHIVE_DURATION_OFF:"No default set.",FORM_HELP_AUTO_ARCHIVE_DURATION:"Threads will archive after the specified duration of inactivity.",UPLOAD_FILE_SUBTEXT:"Tip: Double click the $[](icon)",SYSTEM_MESSAGE_THREAD_CREATED:"$[!!{actorName}!!](actorHook) started a thread: **[!!{threadName}!!](threadOnClick)**. See all [threads](viewThreadsOnClick).",SYSTEM_MESSAGE_THREAD_CREATED_MOBILE:"[!!{actorName}!!](actorHook) started a thread: **[!!{threadName}!!](threadOnClick)**.",SYSTEM_MESSAGE_THREAD_MEMBER_ADD:"$[!!{actorName}!!](actorHook) added $[!!{targetName}!!](targetHook) to the thread.",SYSTEM_MESSAGE_THREAD_MEMBER_ADD_MOBILE:"[!!{username}!!](usernameOnClick) added [!!{otherUsername}!!](otherUsernameOnClick) to the thread.",SYSTEM_MESSAGE_THREAD_MEMBER_REMOVE:"$[!!{actorName}!!](actorHook) removed $[!!{targetName}!!](targetHook) from the thread.",SYSTEM_MESSAGE_THREAD_MEMBER_REMOVE_MOBILE:"[!!{username}!!](usernameOnClick) removed [!!{otherUsername}!!](otherUsernameOnClick) from the thread.",SYSTEM_MESSAGE_THREAD_MEMBER_REMOVE_SELF:"$[!!{username}!!](usernameOnClick) left the thread",SYSTEM_MESSAGE_THREAD_MEMBER_REMOVE_SELF_MOBILE:"[!!{username}!!](usernameOnClick) left the thread",REMOVE_USER_FROM_THREAD:"Remove !!{user}!! from Thread",KICK_USER_FROM_SERVER:"Kick !!{user}!! from Server",BAN_USER_FROM_SERVER:"Ban !!{user}!! from Server",MANAGE_THREADS:"Manage Threads",ROLE_PERMISSIONS_MANAGE_THREADS_DESCRIPTION:"Allows members to rename, delete, archive/unarchive, and turn on slow mode for threads. They can also view private threads.",ROLE_PERMISSIONS_MANAGE_THREADS_DESCRIPTION_TEXT:"Allows members to rename, delete, archive/unarchive, and turn on slow mode for threads in this channel. They can also view private threads.",ROLE_PERMISSIONS_MANAGE_THREADS_DESCRIPTION_CATEGORY:"Allows members to rename, delete, archive/unarchive, and turn on slow mode for threads in these channels. They can also view private threads.",USE_PUBLIC_THREADS:"Use Public Threads",ROLE_PERMISSIONS_USE_PUBLIC_THREADS_DESCRIPTION:"Allows members to talk in threads. The “Send Messages” permission must be enabled for members to start new threads; if it‘s disabled, they can only respond to existing threads.",ROLE_PERMISSIONS_USE_PUBLIC_THREADS_DESCRIPTION_TEXT:"Allows members to talk in threads in this channel. The “Send Messages” permission must be enabled for members to start new threads; if it‘s disabled, they can only respond to existing threads.",ROLE_PERMISSIONS_USE_PUBLIC_THREADS_DESCRIPTION_CATEGORY:"Allows members to talk in threads in these channels. The “Send Messages” permission must be enabled for members to start new threads; if it‘s disabled, they can only respond to existing threads.",USE_PRIVATE_THREADS:"Use Private Threads",ROLE_PERMISSIONS_USE_PRIVATE_THREADS_DESCRIPTION:"Allows members to create and chat in private threads. The “Send Messages” permission must be enabled for members to start new private threads; if it‘s disabled, they can only respond to private threads they’re added to.",ROLE_PERMISSIONS_USE_PRIVATE_THREADS_DESCRIPTION_TEXT:"Allows members to create and chat in private threads in this channel. The “Send Messages” permission must be enabled for members to start new private threads; if it‘s disabled, they can only respond to private threads they’re added to.",ROLE_PERMISSIONS_USE_PRIVATE_THREADS_DESCRIPTION_CATEGORY:"Allows members to create and chat in private threads in these channels. The “Send Messages” permission must be enabled for members to start new private threads; if it‘s disabled, they can only respond to private threads they’re added to.",THREAD_NOTIFICATION_SETTINGS_NUDGE_DESCRIPTION:"Your notification setting is now set to All Messages.",THREAD_NOTIFICATION_SETTINGS_NUDGE_DESCRIPTION_MOBILE:"Your notification setting is now set to All Messages. [Don't show again](onClick)",THREAD_NOTIFICATION_SETTINGS_NUDGE_CTA:"Change Settings",THREAD_NOTIFICATION_SETTINGS_NUDGE_CANCEL:"Don’t show again",DURATION_DAYS_SHORT:"{days, plural, =1 {1d} other {{days}d}}",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_DEFAULT_AUTO_ARCHIVE_DURATION_CREATE:"{newValue, plural, =0 {Removed default archive duration} =1 {Set default archive duration to **# minute**} other {Set default archive duration to **# minutes**}}",GUILD_SETTINGS_AUDIT_LOG_CHANNEL_DEFAULT_AUTO_ARCHIVE_DURATION_CHANGE:"{newValue, plural, =0 {Removed default archive duration} =1 {Changed default archive duration to **# minute**} other {Changed default archive duration to **# minutes**}}",GUILD_SETTINGS_ACTION_FILTER_THREAD_CREATE:"Create Thread",GUILD_SETTINGS_ACTION_FILTER_THREAD_UPDATE:"Update Thread",GUILD_SETTINGS_ACTION_FILTER_THREAD_DELETE:"Delete Thread",GUILD_SETTINGS_AUDIT_LOG_PRIVATE_THREAD_CREATE:"$[**!!{user}!!**](userHook) created a private thread $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_ANNOUNCEMENT_THREAD_CREATE:"$[**!!{user}!!**](userHook) created an announcement thread $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_THREAD_CREATE:"$[**!!{user}!!**](userHook) created a thread $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_THREAD_UPDATE:"$[**!!{user}!!**](userHook) made changes to the thread $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_THREAD_DELETE:"$[**!!{user}!!**](userHook) deleted the thread $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_THREAD_NAME_CREATE:"Set the name to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_THREAD_NAME_CHANGE:"Changed the name from **!!{oldValue}!!** to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_THREAD_ARCHIVED:"Archived the thread",GUILD_SETTINGS_AUDIT_LOG_THREAD_UNARCHIVED:"Unarchived the thread",GUILD_SETTINGS_AUDIT_LOG_THREAD_LOCKED:"Locked the thread, restricting it to only be unarchived by moderators",GUILD_SETTINGS_AUDIT_LOG_THREAD_UNLOCKED:"Unlocked the thread, allowing it to be unarchived by non-moderators",GUILD_SETTINGS_AUDIT_LOG_THREAD_AUTO_ARCHIVE_DURATION_CREATE:"{newValue, plural, =0 {Removed auto archive duration} =1 {Set auto archive duration to **# minute**} other {Set auto archive duration to **# minutes**}}",GUILD_SETTINGS_AUDIT_LOG_THREAD_AUTO_ARCHIVE_DURATION_CHANGE:"{newValue, plural, =0 {Removed auto archive duration} =1 {Changed auto archive duration to **# minute**} other {Changed auto archive duration to **# minutes**}}",THREAD_MEMBER_LIST_EMPTY_STATE_HEADER:"There’s no one in this thread.",THREAD_MEMBER_LIST_EMPTY_STATE_SUBTEXT:"You can invite people by @mentioning them in a message.",THREAD_WELCOME_TITLE:"Say Hello to Threads!",THREAD_WELCOME_SUBTITLE:"Threads are temporary sub-discussions within a channel that keep conversations focused in your channels.",THREAD_WELCOME_FEATURE_CREATE:"Create a thread from an existing message or the plus button next to the chat input.",THREAD_WELCOME_FEATURE_ARCHIVE:"Threads will be archived after a pre-set timer. Anyone can unarchive, unless it's archived by a moderator.",THREAD_WELCOME_FEATURE_JOIN:"Once you join a thread, it will be saved to your channel sidebar until it's archived.",PREMIUM_UTILITY_MARKETING_TOOLTIP_HEADER:"New Nitro Perks!",PREMIUM_UTILITY_MARKETING_TOOLTIP_BODY:"You can now double the number of servers you can join and send longer messages!",PREMIUM_UTILITY_MARKETING_TOOLTIP_CTA:"Got it",GENERIC_ERROR_TITLE:"Oh no!",GENERIC_ERROR_BODY:"Seems like something's gone wrong. Sorry about that."})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUtterance=i,t.speak=function(e,t,n){if(r){var a=i(e,n);return o(a,t),a}},t.speakUtterance=o,t.cancelAll=function(){r&&speechSynthesis.cancel()},t.supported=void 0;var r=null!=window.speechSynthesis;function i(e,t){var n=e.replace(/(https?:\/\/[^\s]+)/g,(function(e){var t,n=e.match(/^https?:\/\/(?:www\.)?([^/?#]+)(?:[/?#]|$)/i);return null!==(t=n&&n[1])&&void 0!==t?t:""}));return null!=t&&n.length>t&&(n=(n=n.substr(0,t)).substr(0,Math.min(n.length,n.lastIndexOf(" ")))),new SpeechSynthesisUtterance(n)}function o(e,t){r&&(e.voice=t,speechSynthesis.speak(e))}t.supported=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return null!=t&&e.startsWith("window:"+t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setAwaitOnline=function(e){c=e},t.importWithRetry=f,t.makeLazy=function(e){var t=e.createPromise,n=e.webpackId,r=e.renderLoader,o=e.name,a=e.memo,s=void 0!==a&&a,c=i.lazy((function(){return f({createPromise:t,webpackId:n})})),d=function(e){return u(i.Suspense,{fallback:null!=r?r():l()()},void 0,i.createElement(c,e))};s&&(d=i.memo(d));return d.displayName="Suspense("+(o||"Unknown")+")",d},t.LazyLibrary=function(e){var t=e.createPromise,n=e.webpackId,r=e.render,o=e.renderFallback,a=i.useState(null),s=a[0],u=a[1];return i.useEffect((function(){f({createPromise:t,webpackId:n}).then((function(e){var t=e.default;return u(t)}))}),[]),null==s?o():r(s)},t.loaderMaker=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function a(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){a(o,r,i,s,u,"next",e)}function u(e){a(o,r,i,s,u,"throw",e)}s(void 0)}))}}function u(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var l=function(e){return void 0===e&&(e="transparent"),function(){return u("div",{style:{position:"absolute",width:"100%",height:"100%",backgroundColor:e}})}};t.loaderMaker=l;var c=function(){return Promise.resolve()};var d=function(e){return new Promise((function(t){return setTimeout(t,e)}))};function f(e){return _.apply(this,arguments)}function _(){return(_=s(regeneratorRuntime.mark((function e(t){var r,i,o,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.createPromise,i=t.webpackId,o=500,a=0;case 3:return e.prev=4,e.next=7,r();case 7:return e.abrupt("return",e.sent);case 10:if(e.prev=10,e.t0=e.catch(4),console.log(e.t0),!(i in n.c)){e.next=16;break}throw console.log("Module was found in webpack cache so it has loaded from the network and webpack will not retry"),e.t0;case 16:if(!(a>=50)){e.next=18;break}throw e.t0;case 18:return e.next=20,d(o);case 20:return e.next=22,c();case 22:o=Math.min(5e3,2*o),a++;case 24:e.next=3;break;case 26:throw Error("This should never get thrown :)");case 27:case"end":return e.stop()}}),e,null,[[4,10]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.id,n=e.username,i=e.discriminator,o=e.avatar,a=e.bot,s=e.flags,u=e.premiumType;return{id:t,username:n,discriminator:i,avatar:o,bot:a,flags:s,premium_type:null!=u?u:r.PremiumTypes.NONE_DEPRECATED}};var r=n(1)},function(e,t,n){"use strict";var r;function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){var t,n;function r(t){var n;return(n=e.call(this)||this).userId=t.userId||"",n.channelId=t.channelId||null,n.sessionId=t.sessionId||null,n.mute=t.mute||!1,n.deaf=t.deaf||!1,n.selfMute=t.selfMute||!1,n.selfDeaf=t.selfDeaf||!1,n.selfVideo=t.selfVideo||!1,n.selfStream=t.selfStream||!1,n.suppress=t.suppress||!1,n.requestToSpeakTimestamp=t.requestToSpeakTimestamp,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var o=r.prototype;return o.isVoiceMuted=function(){return this.selfMute||this.mute||this.suppress||null!=this.requestToSpeakTimestamp},o.isVoiceDeafened=function(){return this.selfDeaf||this.deaf},r}(((r=n(62))&&r.__esModule?r:{default:r}).default);t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttledTrackExpressionSuggestionDisplayed=t.getQueriesFromUserInput=t.removePunctuation=void 0;var r=s(n(1243)),i=s(n(13)),o=n(1361),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}var u=/(!|\.|;|,|-|—|–|\?|"|')/g,l=/(\n|\t|\s)/g,c=function(e){return e.replace(u,"").replace(l," ")};t.removePunctuation=c;t.getQueriesFromUserInput=function(e){return null==e?[]:c(e).trim().split(" ")};var d=(0,r.default)((function(){i.default.track(a.AnalyticEvents.AUTO_SUGGEST_DISPLAYED)}),o.SUGGESTIONS_SHOWED_INSTRUMENTATION_RATE_LIMIT_MS,{leading:!0,trailing:!1});t.throttledTrackExpressionSuggestionDisplayed=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(5)),i=u(n(62)),o=n(99),a=n(724),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||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}).apply(this,arguments)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){var t,n;function i(t){var n,i,o;return(o=e.call(this)||this).id=t.id,o.type=t.type||s.MessageTypes.DEFAULT,o.channel_id=t.channel_id,o.author=t.author,o.content=t.content||"",o.customRenderedContent=t.customRenderedContent,o.attachments=t.attachments||[],o.embeds=t.embeds||[],o.mentions=t.mentions||[],o.mentionRoles=t.mentionRoles||[],o.mentionChannels=t.mentionChannels||[],o.mentioned=t.mentioned||!1,o.pinned=t.pinned||!1,o.mentionEveryone=t.mentionEveryone||!1,o.tts=t.tts||!1,o.codedLinks=t.codedLinks||[],o.giftCodes=t.giftCodes||[],o.timestamp=t.timestamp||(0,r.default)(),o.editedTimestamp=t.editedTimestamp||null,o.state=t.state||s.MessageStates.SENT,o.nonce=t.nonce||null,o.blocked=t.blocked||!1,o.call=t.call||null,o.bot=t.bot||!1,o.webhookId=t.webhookId||null,o.reactions=t.reactions||[],o.applicationId=t.application_id||t.applicationId||null,o.application=null!=t.application?{id:t.application.id,name:t.application.name,primarySkuId:t.application.primary_sku_id,description:t.application.description,icon:t.application.icon,coverImage:t.application.cover_image,deeplinkUri:t.application.deeplink_uri}:null,o.activity=t.activity||null,o.messageReference=t.messageReference||null,o.flags=t.flags||0,o.isSearchHit=t.hit||t.isSearchHit||!1,o.stickers=t.stickers||[],o.stickerItems=null!==(n=null!==(i=t.sticker_items)&&void 0!==i?i:t.stickerItems)&&void 0!==n?n:[],o.components=t.components,o.loggingName=t.loggingName||null,o.colorString=t.colorString,o.nick=t.nick,o.interaction=t.interaction||null,o.interactionData=t.interactionData||null,o.interactionError=t.interactionError||null,o}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var u=i.prototype;return u.isEdited=function(){return null!=this.editedTimestamp},u.getChannelId=function(){return this.channel_id},u.getReaction=function(e){return this.reactions.find((function(t){return(0,a.emojiEquals)(t.emoji,e)}))},u.addReaction=function(e,t){void 0===t&&(t=!1);var n=-1,r=this.reactions.map((function(r,i){return(0,a.emojiEquals)(r.emoji,e)&&(r=l({},r,{count:t&&r.me?r.count:r.count+1,me:!!t||r.me}),n=i),r}));return-1===n&&r.push({emoji:e,me:t,count:1}),this.set("reactions",r)},u.removeReaction=function(e,t){void 0===t&&(t=!1);var n=-1,r=this.reactions.map((function(r,i){return(0,a.emojiEquals)(r.emoji,e)&&(r=l({},r,{count:t&&!r.me?r.count:r.count-1,me:!t&&r.me}),n=i),r}));return-1!==n&&r[n].count<=0&&r.splice(n,1),this.set("reactions",r)},u.removeReactionsForEmoji=function(e){return this.set("reactions",this.reactions.filter((function(t){return!(0,a.emojiEquals)(t.emoji,e)})))},u.isSystemDM=function(){return this.author.isSystemUser()},u.hasFlag=function(e){return(0,o.hasFlag)(this.flags,e)},u.toJS=function(){return l({},this,{webkhook_id:this.webhookId,edited_timestamp:this.editedTimestamp,mention_everyone:this.mentionEveryone})},i}(i.default);t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sanitizeEmbed=function(e,t,n){var u={id:r.default.uniqueId("embed_"),url:n.url,type:n.type,rawTitle:n.title,rawDescription:n.description,referenceId:n.reference_id};null!=n.footer&&(u.footer={text:n.footer.text,iconURL:n.footer.icon_url,iconProxyURL:n.footer.proxy_icon_url});null!=n.author&&null!=n.author.name&&(u.author={name:n.author.name,url:n.author.url,iconURL:n.author.icon_url,iconProxyURL:n.author.proxy_icon_url});null!=n.provider&&null!=n.provider.name&&(u.provider={name:n.provider.name,url:n.provider.url});null!=n.timestamp&&(u.timestamp=(0,i.default)(new Date(n.timestamp)));null!=n.color&&(u.color=(0,o.int2hsl)(n.color,!0));if(null!=n.thumbnail&&f(n.thumbnail))switch(u.type){case s.EmbedTypes.ARTICLE:case s.EmbedTypes.IMAGE:u.image=_(n.thumbnail);break;default:u.thumbnail=_(n.thumbnail)}null!=n.image&&f(n.image)&&(u.image=_(n.image));null!=n.video&&(null==u.thumbnail&&null!=n.video.proxy_url&&f(n.video)&&(u.thumbnail={width:n.video.width,height:n.video.height,url:n.video.proxy_url+"?format=jpeg"}),null!=u.thumbnail&&f(n.video)&&function(e,t,n){if(null!=t&&l.test(t.name)||c.test(n.url))return!1;var r=null!=n.proxy_url||/^https:/i.test(n.url);a.default.extractTimestamp(e)<1492472454139&&(r=r&&null!=t&&d.test(t.name));return r}(t,n.provider,n.video)&&(u.video=_(n.video)));u.type===s.EmbedTypes.RICH&&null!=n.fields&&(u.fields=n.fields.map((function(e){return{rawName:e.name,rawValue:e.value,inline:e.inline}})));return u},t.mergeEmbedsOnURL=function(e){var t=new Map,n=[];return e.forEach((function(e){if(null!=e.url){var r=t.get(e.url);if(null==r)return n.push(e),void t.set(e.url,e);null!=e.image&&(null==r.images&&(r.images=[],null!=r.image&&r.images.push(r.image)),r.images.push(e.image))}else n.push(e)})),n},t.isEmbedInline=function(e){var t=e.image,n=e.video,r=e.type,i=e.author,o=e.rawTitle;if(null==t&&null==n)return!1;return r===s.EmbedTypes.GIFV||r!==s.EmbedTypes.RICH&&null==i&&null==o};var r=u(n(8)),i=u(n(5)),o=n(202),a=u(n(97)),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}var l=/sketchfab/i,c=/^https:\/\/sketchfab\.com/i,d=/youtube|steam|imgur|vimeo|sketchfab|soundcloud|streamable|twitch|vid\.me|twitter/i;function f(e){var t=e.width,n=e.height;return t>0&&n>0}function _(e){return{url:e.url,proxyURL:e.proxy_url,width:e.width,height:e.height}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(null==e)return!1;var r=null!=t.activity?t.activity.party_id:null,a=null!=r&&(null==e.party||e.party.id!==r),s=i.default.extractTimestamp(t.id)+o.EMBED_LIFETIME<Date.now(),u=null!=e.application_id&&e.application_id!==n;return!a&&!s&&!u};var r,i=(r=n(97))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),i=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=!1;var u=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n),r.prototype.isProtocolRegistered=function(){return s},r}(r.default.Store))(i.default,{SPOTIFY_SET_PROTOCOL_REGISTERED:function(e){var t=e.isRegistered;s=t}});t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(3)),a=n(42),s=E(n(11)),u=E(n(56)),l=E(n(39)),c=E(n(5380)),d=n(701),f=n(5386),_=E(n(5387)),p=n(1);function E(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function m(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var T=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={isLoadingGuild:!1},t.handleView=function(e){e.stopPropagation();var n=t.props,r=n.guildId,i=n.channelId,o=n.messageId,s=n.isMember;if(null!=r){if(s)(0,a.transitionToGuild)(r,i,o);else{var u={page:p.AnalyticsPages.GUILD_CHANNEL,section:p.AnalyticsSections.GUILD_POPOUT,object:p.AnalyticsObjects.CARD};(0,d.startLurking)(r,u)}t.setState({isLoadingGuild:!0})}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var i=r.prototype;return i.componentDidMount=function(){var e=this.props,t=e.guildId;null==e.guild&&null!=t&&(0,f.fetchGuildForPopout)(t)},i.render=function(){var e=this.props,t=e.loading,n=e.unavailable,r=e.guild,i=e.guildId,o=e.theme,a=this.state.isLoadingGuild;return null==i?null:m(c.default,{loading:t,unavailable:n,guild:r,onView:this.handleView,submitting:a,theme:o})},r}(i.Component);T.displayName="ConnectedGuildPopout";var g=o.default.connectStores([s.default,_.default,u.default,l.default],(function(e){var t=e.messageReference,n=e.selectedGuildId,r=t||{},i=r.channel_id,o=r.guild_id,a=r.message_id,c=null!=n?n:o,d=null==c||_.default.hasFetchFailed(c),f=null!=c?_.default.getGuild(c):null;return{loading:null!=c&&(_.default.isFetchingGuild(c)||null==f)&&!d,unavailable:d,guild:f,guildId:c,channelId:i,messageId:a,isMember:u.default.isMember(c,s.default.getId()),theme:l.default.theme}}))(T);t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStatusColor=v,t.getStatusValues=I,t.renderStatusMask=y,t.getStatusMask=O,t.getStatusSize=N,Object.defineProperty(t,"StatusTypes",{enumerable:!0,get:function(){return d.StatusTypes}}),t.Status=t.AnimatedStatus=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=_(n(9)),a=n(276),s=n(122),u=_(n(98)),l=n(314),c=_(n(248)),d=n(1),f=_(n(5737));function _(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function E(){return(E=Object.assign||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}).apply(this,arguments)}function h(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var m={tension:600,friction:70};function v(e){switch(e){case d.StatusTypes.ONLINE:return d.Colors.STATUS_GREEN_600;case d.StatusTypes.IDLE:return d.Colors.STATUS_YELLOW;case d.StatusTypes.DND:return d.Colors.STATUS_RED;case d.StatusTypes.STREAMING:return d.Colors.TWITCH;case d.StatusTypes.INVISIBLE:case d.StatusTypes.UNKNOWN:case d.StatusTypes.OFFLINE:default:return d.Colors.STATUS_GREY}}function T(e,t,n,r){return"scale("+t+") translate("+(.5625*e+r)+" "+(.75*e+n)+")"}function g(e,t,n){return.5625*e+n+"px "+(.75*e+t)+"px"}function I(e){var t=e.size,n=e.status,r=e.isMobile,i=e.isTyping,o=e.topOffset,a=void 0===o?0:o,s=e.leftOffset,u=a/8*t,c=(void 0===s?0:s)/8*t;if(i)return{bgRadius:.5*t,bgY:.25*t+u,bgX:0,bgHeight:t,bgWidth:t*l.TYPING_WIDTH_RATIO,cutoutX:.5*t+c,cutoutY:.75*t+u,cutoutWidth:0,cutoutHeight:0,cutoutRadius:0,polygonScale:T(t,0,u,c),polygonOrigin:g(t,u,c),dotY:.75*t+u,dotX:.5*t+c,dotRadius:0};switch(n){case d.StatusTypes.ONLINE:return r?{bgRadius:t*l.MOBILE_HEIGHT_RATIO*l.MOBILE_ICON_RADIUS,bgY:0,bgX:c,bgHeight:t*l.MOBILE_HEIGHT_RATIO,bgWidth:t,cutoutX:.125*t+c,cutoutY:.25*t,cutoutWidth:.75*t,cutoutHeight:.75*t,cutoutRadius:0,polygonScale:T(t,0,u,c),polygonOrigin:g(t,u,c),dotY:1.25*t,dotX:.5*t+c,dotRadius:.125*t}:{bgRadius:.5*t,bgY:.25*t+u,bgX:c,bgHeight:t,bgWidth:t,cutoutX:.5*t+c,cutoutY:.75*t+u,cutoutWidth:0,cutoutHeight:0,cutoutRadius:0,polygonScale:T(t,0,u,c),polygonOrigin:g(t,u,c),dotY:.75*t+u,dotX:.5*t+c,dotRadius:0};case d.StatusTypes.IDLE:return{bgRadius:.5*t,bgY:.25*t+u,bgX:c,bgHeight:t,bgWidth:t,cutoutX:-.125*t+c,cutoutY:.125*t+u,cutoutWidth:.75*t,cutoutHeight:.75*t,cutoutRadius:.375*t,polygonScale:T(t,0,u,c),polygonOrigin:g(t,u,c),dotY:.75*t+u,dotX:.5*t+c,dotRadius:0};case d.StatusTypes.DND:return{bgRadius:.5*t,bgY:.25*t+u,bgX:c,bgHeight:t,bgWidth:t,cutoutX:.125*t+c,cutoutY:.625*t+u,cutoutWidth:.75*t,cutoutHeight:.25*t,cutoutRadius:.125*t,polygonScale:T(t,0,u,c),polygonOrigin:g(t,u,c),dotY:.75*t+u,dotX:.5*t+c,dotRadius:0};case d.StatusTypes.STREAMING:return{bgRadius:.5*t,bgY:.25*t+u,bgX:c,bgHeight:t,bgWidth:t,cutoutX:.5*t+c,cutoutY:.75*t+u,cutoutWidth:0,cutoutHeight:0,cutoutRadius:.25*t,polygonScale:T(t,1,u,c),polygonOrigin:g(t,u,c),dotY:.75*t+u,dotX:.5*t+c,dotRadius:0};case d.StatusTypes.INVISIBLE:case d.StatusTypes.UNKNOWN:case d.StatusTypes.OFFLINE:default:return{bgRadius:.5*t,bgY:.25*t+u,bgX:c,bgHeight:t,bgWidth:t,cutoutX:.25*t+c,cutoutY:.5*t+u,cutoutWidth:.5*t,cutoutHeight:.5*t,cutoutRadius:.25*t,polygonScale:T(t,0,u,c),polygonOrigin:g(t,u,c),dotY:.75*t+u,dotX:.5*t+c,dotRadius:0}}}function S(e){return"-"+.216506*e+",-"+.25*e+" "+.216506*e+",0 -"+.216506*e+","+.25*e}function y(e,t,n){var r=e.bgRadius,i=e.bgY,o=e.bgX,a=e.bgHeight,u=e.bgWidth,l=e.cutoutX,c=e.cutoutY,d=e.cutoutWidth,f=e.cutoutHeight,_=e.cutoutRadius,p=e.polygonScale,E=e.polygonOrigin,m=e.dotY,v=e.dotX,T=e.dotRadius;return h("mask",{id:n},void 0,h(s.animated.rect,{x:o,y:i,width:u,height:a,rx:r,ry:r,fill:"white"}),h(s.animated.rect,{x:l,y:c,width:d,height:f,rx:_,ry:_,fill:"black"}),h(s.animated.polygon,{points:S(t),fill:"black",transform:p,style:{transformOrigin:E}}),h(s.animated.circle,{fill:"black",cx:v,cy:m,r:T}))}y.displayName="renderStatusMask";var A=function(e){var t=e.status,n=e.isMobile,r=void 0!==n&&n,c=e.size,_=void 0===c?8:c,p=e.color,E=e.className,T=e.style,g=(0,a.useLazyValue)((function(){return u.default.v4()})),S=t===d.StatusTypes.ONLINE&&r,A=i.useMemo((function(){return I({size:_,status:t,isMobile:S})}),[_,t,S]),O=(0,s.useSpring)({config:m,to:A}),N=null==p?v(t):p,R=(0,s.useSpring)({config:m,fill:N},[N])[0].fill,b=_,L=Math.ceil(_*l.MOBILE_HEIGHT_RATIO);return h("svg",{width:b,height:L,viewBox:"0 0 "+b+" "+L,className:(0,o.default)(f.default.mask,E),style:T},void 0,y(O,_,g),h(s.animated.rect,{x:0,y:0,width:b,height:L,fill:R,mask:"url(#"+g+")"}))};function O(e,t,n){if(void 0===n&&(n=!1),n)return c.default.Masks.STATUS_TYPING;switch(e){case d.StatusTypes.IDLE:return c.default.Masks.STATUS_IDLE;case d.StatusTypes.DND:return c.default.Masks.STATUS_DND;case d.StatusTypes.STREAMING:return c.default.Masks.STATUS_STREAMING;case d.StatusTypes.INVISIBLE:case d.StatusTypes.UNKNOWN:case d.StatusTypes.OFFLINE:return c.default.Masks.STATUS_OFFLINE;case d.StatusTypes.ONLINE:default:return t?c.default.Masks.STATUS_ONLINE_MOBILE:c.default.Masks.STATUS_ONLINE}}function N(e,t,n,r){return void 0===r&&(r=!1),t===d.StatusTypes.ONLINE&&n&&!r?{width:e,height:e*l.MOBILE_HEIGHT_RATIO}:{width:r?e*l.TYPING_WIDTH_RATIO:e,height:e}}t.AnimatedStatus=A,A.displayName="AnimatedStatus";var R=function(e){var t=e.status,n=e.isMobile,r=void 0!==n&&n,a=e.size,s=void 0===a?8:a,u=e.className,l=e.style,_=e.color,p=t===d.StatusTypes.ONLINE&&r;return i.createElement(c.default,E({mask:O(t,p),className:(0,o.default)(f.default.mask,u),style:l},N(s,t,p)),h("div",{style:{backgroundColor:null==_?v(t):_},className:f.default.status}))};t.Status=R,R.displayName="Status"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?24:t,r=e.height,i=void 0===r?24:r,s=e.color,c=void 0===s?"currentColor":s,d=e.className,f=e.foreground,_=function(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}(e,["width","height","color","className","foreground"]);return o.createElement("svg",u({},(0,a.default)(_),{className:d,width:n,height:i,viewBox:"0 0 24 24"}),l("path",{className:f,fill:c,d:"M12 10.9C11.39 10.9 10.9 11.39 10.9 12C10.9 12.61 11.39 13.1 12 13.1C12.61 13.1 13.1 12.61 13.1 12C13.1 11.39 12.61 10.9 12 10.9ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM14.19 14.19L6 18L9.81 9.81L18 6L14.19 14.19Z"}))}c.displayName="Discover"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.submitDateOfBirth=function(e,t){return(0,o.default)(e,t),r.default.patch({url:a.Endpoints.ME,body:{date_of_birth:e.format("YYYY-MM-DD")},oldFormErrors:!0}).then((function(e){var t=e.body;i.default.dispatch({type:a.ActionTypes.CURRENT_USER_UPDATE,user:t})}))},t.preventUnderageRegistration=function(){i.default.dispatch({type:a.ActionTypes.AGE_GATE_PREVENT_UNDERAGE_REGISTRATION})},t.logoutUnderageNewUser=function(){i.default.dispatch({type:a.ActionTypes.AGE_GATE_LOGOUT_UNDERAGE_NEW_USER})};var r=s(n(14)),i=s(n(2)),o=s(n(1369)),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(9)),a=f(n(5)),s=f(n(1159)),u=n(131),l=f(n(24)),c=f(n(6)),d=f(n(5749));function f(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function p(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var E=(0,a.default)().localeData().months(),h=Array.from(Array(31).keys()).map((function(e){return{value:e+1,label:""+(e+1)}})),m=Array.from(Array(12).keys()).map((function(e){return{value:e+1,label:E[e]}}));var v=/[a-zA-Z0-9]/;function T(e){var t=e.options,n=e.selectOption,r=e.children,o=i.useState(""),a=o[0],s=o[1];return i.useEffect((function(){if(""!==a){var e=setTimeout((function(){return s("")}),1e3);return function(){return clearTimeout(e)}}}),[a,s]),p("div",{onKeyDown:i.useCallback((function(e){if(v.test(e.key)){var r=""+a+e.key.toLowerCase(),i=t.find((function(e){return e.label.toLowerCase().startsWith(r)}));null!=i&&n(i.value),s(r)}}),[n,s,a,t])},void 0,r)}function g(){var e=(0,a.default)().localeData().longDateFormat("L"),t=e.indexOf("D"),n=e.indexOf("M"),r=e.indexOf("Y");return-1!==t&&-1!==n&&-1!==r||(t=0,n=1,r=2),[{index:t,type:"day"},{index:n,type:"month"},{index:r,type:"year"}].sort((function(e,t){return e.index<t.index?-1:1}))}T.displayName="DropdownSuggestionWrapper";var I=i.forwardRef((function(e,t){var n=e.value,r=e.wrapperClassName,f=e.onChange,_=e.onPopulated,E=e.error,v=e.autoFocus,I=function(e){var t=null,n=null,r=null;null!=e&&(t=e.date(),n=e.month()+1,r=e.year());var o=i.useState(t),a=o[0],s=o[1],u=i.useState(n),l=u[0],c=u[1],d=i.useState(r);return{day:a,setDay:s,month:l,setMonth:c,year:d[0],setYear:d[1]}}(n),S=I.day,y=I.setDay,A=I.month,O=I.setMonth,N=I.year,R=I.setYear,b=i.useMemo((function(){return null!=S&&null!=A&&null!=N?(0,a.default)(S+"/"+A+"/"+N,"DD/MM/YYYY"):null}),[S,A,N]);i.useEffect((function(){f((null==b?void 0:b.isValid())?b:null)}),[b,f]);var L=E;null==b||b.isValid()||(L=c.default.Messages.AGE_GATE_INVALID_BIRTHDAY);var D,C,M=(D=(new Date).getFullYear(),C=i.useRef(Array.from(Array(150).keys()).map((function(e){return{value:D-e-3,label:""+(D-e-3)}}))),i.useEffect((function(){C.current=Array.from(Array(150).keys()).map((function(e){return{value:D-e-3,label:""+(D-e-3)}}))}),[D]),C.current),P=i.useState(v?0:-1),w=P[0],U=P[1],k=i.useRef(null),G=i.useRef(null),Y=i.useRef(null),x=i.useMemo(g,[]),V=i.useCallback((function(){var e,t,n,r;switch(null===(e=x[w])||void 0===e?void 0:e.type){case"day":null===(t=k.current)||void 0===t||t.focus();break;case"month":null===(n=G.current)||void 0===n||n.focus();break;case"year":null===(r=Y.current)||void 0===r||r.focus()}}),[w,k,G,Y,x]);i.useEffect((function(){setTimeout(V,500)}),[]),i.useEffect((function(){w>=x.length?_&&_():V()}),[w,V]);for(var H=[],F=function(e){switch(x[e].type){case"day":H.push(p(T,{options:h,selectOption:y},void 0,i.createElement(s.default,{ref:k,className:d.default.inputDay,"aria-label":c.default.Messages.AGE_GATE_DOB_DAY,menuPlacement:s.default.MenuPlacements.TOP,placeholder:p("span",{"aria-hidden":!0},void 0,c.default.Messages.AGE_GATE_DOB_DAY),options:h,value:S,onChange:function(t){var n=t.value;y(n),U(e+1)},maxMenuHeight:215})));break;case"month":H.push(p(T,{options:m,selectOption:O},void 0,i.createElement(s.default,{ref:G,className:d.default.inputMonth,"aria-label":c.default.Messages.AGE_GATE_DOB_MONTH,menuPlacement:s.default.MenuPlacements.TOP,placeholder:p("span",{"aria-hidden":!0},void 0,c.default.Messages.AGE_GATE_DOB_MONTH),options:m,value:A,onChange:function(t){var n=t.value;O(n),U(e+1)},maxMenuHeight:215})));break;case"year":H.push(p(T,{options:M,selectOption:R},void 0,i.createElement(s.default,{ref:Y,className:d.default.inputYear,"aria-label":c.default.Messages.AGE_GATE_DOB_YEAR,menuPlacement:s.default.MenuPlacements.TOP,placeholder:p("span",{"aria-hidden":!0},void 0,c.default.Messages.AGE_GATE_DOB_YEAR),options:M,value:N,onChange:function(t){var n=t.value;R(n),U(e+1)},maxMenuHeight:215})))}},B=0;B<3;B++)F(B);return p("div",{className:(0,o.default)(d.default.container,r)},void 0,p(u.FormTitle,{tag:u.FormTitle.Tags.H5},void 0,c.default.Messages.AGE_GATE_DATE_OF_BIRTH),p("div",{className:d.default.inputs},void 0,H.map((function(e,t){return p("div",{tabIndex:t+1},t,e)}))),p(l.default,{className:d.default.errors},void 0,L))}));t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=u(n(5)),o=u(n(5415));n(5752);var a,s=u(n(5753));function u(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var i=e&&e.defaultProps,o=arguments.length-3;if(t||0===o||(t={children:void 0}),1===o)t.children=r;else if(o>1){for(var s=new Array(o),u=0;u<o;u++)s[u]=arguments[u+3];t.children=s}if(t&&i)for(var l in i)void 0===t[l]&&(t[l]=i[l]);else t||(t=i||{});return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n),r.prototype.render=function(){var e=this.props,t=e.minDate,n=e.maxDate,r=e.onSelect,i=e.locale,a=e.value,u=e.calendarClassName;return c("div",{className:s.default.calendarPicker},void 0,c(o.default,{fixedHeight:!0,inline:!0,selected:a,locale:i,onSelect:r,maxDate:n,minDate:t,calendarClassName:u}))},r}(r.PureComponent);t.default=f,f.displayName="CalendarPicker",f.defaultProps={value:(0,i.default)().local()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=l("clipPath",{},void 0,l("path",{d:"m.000183 0h16v16h-16z"}));function d(e){var t=e.width,n=void 0===t?32:t,r=e.height,i=void 0===r?32:r,s=e.color,d=void 0===s?"currentColor":s,f=function(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}(e,["width","height","color"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 16 16",fill:"none"}),c,l("g",{clipPath:"url(#a)"},void 0,l("path",{d:"m7.90039 1c-3.9 0-6.999999 3.1-6.999999 7s3.099999 7 6.999999 7c3.90001 0 7.00001-3.1 7.00001-7s-3.2-7-7.00001-7zm0 2.3c.8 0 1.6.3 2.30001.7l-6.40001 6.4c-.3-.7-.6-1.5-.6-2.4 0-2.6 2.1-4.7 4.7-4.7zm0 9.4c-.9 0-1.7-.3-2.4-.7l6.40001-6.4c.4.7.7 1.5.7 2.4-.1 2.6-2.2 4.7-4.70001 4.7z",fill:d})))}d.displayName="Blocked"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?24:t,r=e.height,i=void 0===r?24:r,s=e.color,c=void 0===s?"currentColor":s,d=function(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}(e,["width","height","color"]);return o.createElement("svg",u({},(0,a.default)(d),{width:n,height:i,viewBox:"0 0 24 24"}),l("path",{d:"M21.03 7.76998C20.955 7.60998 20.81 7.48998 20.635 7.44498C20.545 7.41998 20.445 7.39498 20.35 7.36998C19.805 7.22998 19.135 7.56498 18.85 8.11498L17.87 9.99998C17.585 10.55 17.225 10.51 17.07 9.90998L14.895 1.38498C14.74 0.779981 14.14 0.459981 13.55 0.664981C12.96 0.869981 12.595 1.52498 12.725 2.13498L13.995 7.95998C14.13 8.56998 14.075 9.11498 13.875 9.18498C13.675 9.25498 13.35 8.83498 13.15 8.24498L11.05 2.07498C10.85 1.48498 10.21 1.17498 9.62004 1.37998C9.03004 1.58498 8.71504 2.22998 8.91004 2.81998L10.97 8.99998C11.165 9.58998 11.165 10.125 10.965 10.195C10.765 10.265 10.385 9.86498 10.125 9.29998L7.77504 4.29998C7.51004 3.73998 6.82004 3.44498 6.23004 3.64998C5.64504 3.85498 5.37504 4.47498 5.64004 5.03998L8.60004 11.045C8.86004 11.61 8.91004 12.125 8.71004 12.195C8.51004 12.265 8.03004 11.93 7.64004 11.445L5.60504 8.82498C5.21504 8.33998 4.54004 8.07498 4.09504 8.22998C3.65504 8.38498 3.54004 8.94498 3.84504 9.48998L6.34504 13.865C6.40004 14.02 7.85504 16.8 7.96004 16.915C9.00004 18.565 10.645 19.51 12.73 18.79L14.91 18.035C16.145 17.605 17.095 16.735 17.63 15.7C17.64 15.69 20.15 10.205 21.03 8.28498C21.105 8.11498 21.105 7.92998 21.03 7.76998Z",fill:c}),l("path",{d:"M21.3251 23.4001L19.1101 19.0301C18.8501 18.5201 18.2501 18.2851 17.7151 18.4851L12.3101 20.5101C12.0201 20.6201 11.7851 20.8451 11.6651 21.1351C11.5451 21.4251 11.5551 21.7501 11.6851 22.0301L12.3151 23.3951H21.3251V23.4001Z",fill:c}))}c.displayName="RaisedHand"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OpacityBounds=t.BackgroundOpacityClasses=void 0;var r=Object.freeze({LOW:"background-opacity-low",MEDIUM:"background-opacity-medium",HIGH:"background-opacity-high",FULL:"background-opacity-full",DISABLED:null});t.BackgroundOpacityClasses=r;var i=Object.freeze({BOTTOM:0,LOWER:.25,UPPER:.75,TOP:1});t.OpacityBounds=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.id,n=e.clientFilter,r=(0,o.useStateFromStores)([u.default],(function(){return u.default.getUserExperimentDescriptor(t)}),[t]),l=(0,i.useState)((function(){return null==n||n.isEligible()})),c=l[0],d=l[1];return(0,i.useEffect)((function(){if(null!=n&&null!=n.subscribe)return d(n.isEligible()),n.subscribe(void 0,(function(e){return d(e)}))}),[n]),(0,i.useEffect)((function(){c&&null!=r&&(0,s.trackExposureToExperiment)(t,r)}),[c,t,r]),null!=r?r.bucket:a.ExperimentBuckets.NOT_ELIGIBLE};var r,i=n(0),o=n(3),a=n(141),s=n(208),u=(r=n(187))&&r.__esModule?r:{default:r}},function(e,t,n){e.exports=n.p+"1afb8f8e80a200ef3aa11131c0c07934.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.JUMP_TO_GUILD=void 0;var r=n(42),i=u(n(36)),o=u(n(107)),a=u(n(361)),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}var l={binds:function(){for(var e=[],t=1;t<10;t++)e.push("mod+"+t);return e}(),comboKeysBindGlobal:!0,action:function(e,t){var n,u=parseInt(t.split("+")[1],10);if((0===u&&(u=10),u)&&(n=1===u?s.ME:a.default.getFlattenedGuildIds()[u-2])){var l=i.default.getChannelId(n);return n===s.ME&&null==o.default.getGuildId()&&(l=null),(0,r.transitionTo)(s.Routes.CHANNEL(n,l)),!1}}};t.JUMP_TO_GUILD=l;var c={JUMP_TO_GUILD:l};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=L(n(8)),i=L(n(28)),o=L(n(2)),a=b(n(714)),s=n(180),u=n(31),l=L(n(697)),c=L(n(11)),d=L(n(10)),f=b(n(1225)),_=b(n(86)),p=L(n(15)),E=L(n(200)),h=L(n(36)),m=L(n(107)),v=L(n(181)),T=L(n(56)),g=L(n(40)),I=L(n(70)),S=L(n(39)),y=L(n(12)),A=L(n(1262)),O=n(1),N=L(n(6));function R(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return R=function(){return e},e}function b(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=R();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function L(e){return e&&e.__esModule?e:{default:e}}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var C,M=0,P=!1,w=!1,U=null,k=[],G=null;function Y(e){var t,n,r=d.default.getChannel(e);if(null==r)return null;switch(r.type){case O.ChannelTypes.DM:return null!=U&&U!==a.AutocompleterResultTypes.USER?null:(n=a.AutocompleterResultTypes.USER,t=(0,s.computeChannelName)(r,y.default,I.default),null==(r=y.default.getUser(r.getRecipientId()))?null:{type:n,record:r,score:0,comparator:t});case O.ChannelTypes.GROUP_DM:return null!=U&&U!==a.AutocompleterResultTypes.GROUP_DM?null:{type:n=a.AutocompleterResultTypes.GROUP_DM,record:r,score:0,comparator:t=(0,s.computeChannelName)(r,y.default,I.default)};default:return null!=U&&U!==a.AutocompleterResultTypes.TEXT_CHANNEL?null:{type:n=a.AutocompleterResultTypes.TEXT_CHANNEL,record:r,score:0,comparator:t=(0,s.computeChannelName)(r,y.default,I.default)}}}function x(){var e=m.default.getGuildId()||void 0,t=h.default.getChannelId()||void 0,n=h.default.getLastSelectedChannelId()||void 0;switch(U){case a.AutocompleterResultTypes.USER:var i=c.default.getId();return l.default.getRecentlyTalked(t,100).filter((function(e){return e.user.id!==i})).map((function(e){var t=e.user,n=e.comparator,r=e.score;return{type:a.AutocompleterResultTypes.USER,record:t,score:r,comparator:n}}));case a.AutocompleterResultTypes.APPLICATION:return l.default.queryApplications("",100,!0).map((function(e){var t=e.application,n=e.score,r=e.comparator;return{type:a.AutocompleterResultTypes.APPLICATION,record:t,score:n,comparator:r}}));case a.AutocompleterResultTypes.GUILD:return l.default.queryGuilds("",100,!0).map((function(e){var t=e.guild,n=e.score,r=e.comparator;return{type:a.AutocompleterResultTypes.GUILD,record:t,score:n,comparator:r}}));case a.AutocompleterResultTypes.TEXT_CHANNEL:return l.default.queryChannels("",m.default.getGuildId(),100,!0).map((function(e){var t=e.channel,n=e.score,r=e.comparator;return{type:a.AutocompleterResultTypes.TEXT_CHANNEL,record:t,score:n,comparator:r}}));case a.AutocompleterResultTypes.VOICE_CHANNEL:return l.default.queryChannels("",m.default.getGuildId(),100,!0,(function(){return!0}),_.GUILD_VOCAL_CHANNELS_KEY).map((function(e){var t=e.channel,n=e.score,r=e.comparator;return{type:a.AutocompleterResultTypes.TEXT_CHANNEL,record:t,score:n,comparator:r}}))}var o=[];if(n){var s=Y(n);null!=s&&(s.type!==a.AutocompleterResultTypes.TEXT_CHANNEL&&s.type!==a.AutocompleterResultTypes.VOICE_CHANNEL||g.default.can(O.Permissions.VIEW_CHANNEL,s.record))&&o.push((0,a.createHeaderResult)(N.default.Messages.QUICKSWITCHER_LAST_CHANNEL),s)}var u,p=function(e){var t=[];return f.default.getRecentlyEditedDrafts(f.DraftType.ChannelMessage).forEach((function(n){var r=n.channelId;if(!e(r)){var i=Y(r);null!=i&&t.push(i)}})),t}((function(e){return e===t||e===n}));p.length>0&&(u=o).push.apply(u,[(0,a.createHeaderResult)(N.default.Messages.QUICKSWITCHER_DRAFTS)].concat(p));var T=(0,r.default)(d.default.getMutableGuildAndPrivateChannels()).values().filter((function(e){var r=e.id;return r!==t&&r!==n&&E.default.getMentionCount(r)>0})).map((function(e){return Y(e.id)})).filter((function(e){return!!e})).value();if(T.length&&(o.push((0,a.createHeaderResult)(N.default.Messages.QUICKSWITCHER_MENTIONS)),o=o.concat(T)),null!=e){var I=_.default.getSelectableChannelIds(e).filter((function(e){var r=d.default.getChannel(e);return!(null==r||e===t||e===n||v.default.isChannelMuted(r.guild_id,e)||null!=r.parent_id&&v.default.isChannelMuted(r.guild_id,r.parent_id))&&E.default.hasUnread(e)})).map((function(e){return Y(e)})).filter((function(e){return e}));I.length&&(o.push((0,a.createHeaderResult)(N.default.Messages.QUICKSWITCHER_UNREAD_CHANNELS)),o=o.concat(I))}return(0,r.default)(o).uniqBy((function(e){return e.record.id})).value()}function V(e,t){if(e.length>0)switch(U){case a.AutocompleterResultTypes.USER:var n=p.default.getGuild(m.default.getGuildId());k=[(0,a.createHeaderResult)(null!=n?N.default.Messages.QUICKSWITCHER_QUERYMODE_USERS_IN_GUILD.format({name:n.name}):N.default.Messages.QUICKSWITCHER_QUERYMODE_USERS)].concat(e);break;case a.AutocompleterResultTypes.TEXT_CHANNEL:k=[(0,a.createHeaderResult)(N.default.Messages.QUICKSWITCHER_QUERYMODE_TEXT_CHANNELS)].concat(e);break;case a.AutocompleterResultTypes.VOICE_CHANNEL:k=[(0,a.createHeaderResult)(N.default.Messages.QUICKSWITCHER_QUERYMODE_VOICE_CHANNELS)].concat(e);break;case a.AutocompleterResultTypes.GUILD:k=[(0,a.createHeaderResult)(N.default.Messages.QUICKSWITCHER_QUERYMODE_GUILDS)].concat(e);break;case a.AutocompleterResultTypes.APPLICATION:k=[(0,a.createHeaderResult)(N.default.Messages.QUICKSWITCHER_QUERYMODE_APPLICATIONS)].concat(e);break;default:k=e}else k=e;if(t!==G)G=t,M=(0,a.findNextSelectedResult)(a.FindResultDirections.DOWN,-1,k);else{var r=k[M];null!=r&&r.type===a.AutocompleterResultTypes.HEADER&&(M=(0,a.findNextSelectedResult)(a.FindResultDirections.DOWN,M,k))}B.emitChange()}function H(e){var t=e.query,n=e.queryMode,r=m.default.getGuildId()||void 0,i=new Set(["user:"+c.default.getId()]);null!=r&&i.add("guild:"+r),C=C||new a.default((function(e,t){return V(""===t.trim()?x():e,t)}),null,null!=n?100:5,{frecencyBoosters:!0,blacklist:i}),G=null,U=n,C.search(t)}function F(){G=null,null!=C&&(C.destroy(),C=null)}var B=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,D(t,n);var o=r.prototype;return o.initialize=function(){this.waitFor(T.default),this.syncWith([S.default],(function(){return!0})),P=i.default.get("seenQSTutorial")||!1},o.isOpen=function(){return null!=C},o.getResultTotals=function(e){return null==C?0:null==e?C.results.reduce((function(e,t){return t.type!==a.AutocompleterResultTypes.HEADER?e+1:e}),0):C.results.reduce((function(t,n){return n.type===e?t+1:t}),0)},o.channelNoticePredicate=function(e,t,n){var r=Date.now()-n>=O.CHANNEL_NOTICE_SHOW_DELAY;return w&&e&&r},o.getFrequentGuilds=function(){return null!=C?C.queryGuilds("",100):null},o.getFrequentGuildsLength=function(){return null!=C?C.queryGuilds("",100).length:0},o.getProps=function(){return{theme:S.default.theme,query:null!=C?C.query:"",queryMode:U,results:k,selectedIndex:M,seenTutorial:P}},r}(A.default))(o.default,{CONNECTION_OPEN:function(e){var t=e.guilds,n=e.channels;w=t.length>=3||n.filter((function(e){var t=e.type;return(0,u.isPrivate)(t)})).length>=20},QUICKSWITCHER_SHOW:H,SHOW_ACTION_SHEET_QUICK_SWITCHER:H,QUICKSWITCHER_HIDE:function(e){return F()},OVERLAY_SET_INPUT_LOCKED:function(e){return F()},HIDE_ACTION_SHEET_QUICK_SWITCHER:function(e){return F()},QUICKSWITCHER_SEARCH:function(e){var t=e.query,n=e.queryMode;if(null==C)return!1;var r=m.default.getGuildId()||null;if(U!==n){C.setResultTypes(null!=n?[n]:null),C.setLimit(null!=n?100:5);var i=m.default.getGuildId()||void 0;n===a.AutocompleterResultTypes.USER&&null!=i?C.setOptions({userFilters:{guild:i,friends:!0}},!0):n===a.AutocompleterResultTypes.VOICE_CHANNEL?C.setOptions({voiceChannelGuildFilter:null},!0):C.setOptions({userFilters:null,voiceChannelGuildFilter:void 0},!0)}U=n,C.search(t,U===a.AutocompleterResultTypes.USER?r:void 0)},QUICKSWITCHER_SELECT:function(e){M=e.selectedIndex},QUICKSWITCHER_SWITCH_TO:function(e){return function(){if(P)return!1;P=!0,i.default.set("seenQSTutorial",!0)}()}}),j=B;t.default=j},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MessageDataType=void 0;var r=d(n(419)),i=d(n(95)),o=d(n(138)),a=d(n(14)),s=n(286),u=d(n(26)),l=d(n(1388)),c=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(){return(f=Object.assign||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}).apply(this,arguments)}function _(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 p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E,h=null;__OVERLAY__&&(h=n(376).default),t.MessageDataType=E,function(e){e[e.SEND=0]="SEND",e[e.EDIT=1]="EDIT",e[e.COMMAND=2]="COMMAND"}(E||(t.MessageDataType=E={}));var m=new(function(e){var t,n;function l(t){var n;return void 0===t&&(t=5),(n=e.call(this,new u.default("MessageQueue"))||this).maxSize=t,n.requests=new Map,n}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var d=l.prototype;return d.isFull=function(){return this.queue.length>=this.maxSize},d.drain=function(e,t){switch(e.type){case E.SEND:this.handleSend(e.message,t);break;case E.EDIT:this.handleEdit(e.message,t);break;case E.COMMAND:this.handleCommand(e.message,t)}},d.cancelRequest=function(e){var t;null===(t=this.requests.get(e))||void 0===t||t.abort(),this.requests.delete(e)},d.createResponseHandler=function(e,t){var n=this;return function(r){if(null!=e&&n.requests.has(e)&&n.requests.delete(e),r.hasErr)return t(null,r);(null==r.body||r.body.code!==c.AbortCodes.SLOWMODE_RATE_LIMITED&&r.body.code!==c.AbortCodes.CHANNEL_FOLLOWING_EDIT_RATE_LIMITED)&&429===r.status?t({retryAfter:1e3*r.body.retry_after}):t(null,r)}},d.handleSend=function(e,t){var n,s=this,u=e.channelId,l=e.file,d=e.filename,p=_(e,["channelId","file","filename"]);null!=h&&(h.isInstanceUILocked()?n={location:c.AnalyticsOverlayLocations.OVERLAY_LOCKED_ACTIVATED}:h.isInstanceUILocked()||(n=h.isPinned(c.OverlayWidgets.TEXT)?{location:c.AnalyticsOverlayLocations.OVERLAY_UNLOCKED_PINNED}:{location:c.AnalyticsOverlayLocations.OVERLAY_UNLOCKED}));var E=this.createResponseHandler(e.nonce,t);if(l&&d){for(var m=r.default.post(c.Endpoints.MESSAGES(u)),v=0,T=Object.entries(p);v<T.length;v++){var g=T[v],I=g[0],S=g[1];null!=S&&m.field(I,S)}if(null!=n){var y=i.default.encodeProperties(n);m.set("X-Context-Properties",y)}m.attach("file",l,d),m.ok((function(e){return null!=e.status})),m.then((function(e){return E({ok:!0,hasErr:!1,headers:e.headers,body:e.body,text:e.text,status:e.status})}),(function(e){return E({ok:!1,hasErr:!0,err:e})}))}else{var A={timeout:6e4,retries:3,backoff:new o.default};0,a.default.post(f({url:c.Endpoints.MESSAGES(u),body:p,context:n,oldFormErrors:!0},A,{onRequestCreated:function(t){null!=e.nonce&&s.requests.set(e.nonce,t)}}),E)}},d.handleEdit=function(e,t){var n=this,r=e.channelId,i=e.messageId,o=_(e,["channelId","messageId"]);a.default.patch({url:c.Endpoints.MESSAGE(r,i),body:o,retries:1,oldFormErrors:!0,onRequestCreated:function(e){n.requests.set(i,e)}},this.createResponseHandler(i,t))},d.handleCommand=function(e,t){var n=this,r=e.applicationId,i=e.guildId,o=e.channelId,u=e.data,l=e.nonce,d={type:s.InteractionTypes.APPLICATION_COMMAND,application_id:r,guild_id:i,channel_id:o,data:u,nonce:l};a.default.post({url:c.Endpoints.INTERACTIONS,body:d,timeout:3e3,onRequestCreated:function(e){n.requests.set(l,e)}},this.createResponseHandler(l,t))},l}(l.default));t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.acceptPurchaseTerms=function(){i.default.dispatch({type:o.ActionTypes.APPLICATION_STORE_ACCEPT_STORE_TERMS})},t.acceptEULA=function(e){i.default.dispatch({type:o.ActionTypes.APPLICATION_STORE_ACCEPT_EULA,eulaId:e})},t.muteStoreDirectory=function(){i.default.dispatch({type:o.ActionTypes.APPLICATION_STORE_DIRECTORY_MUTE})},t.unmuteStoreDirectory=function(){i.default.dispatch({type:o.ActionTypes.APPLICATION_STORE_DIRECTORY_UNMUTE})};var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=s(n(101)),o=s(n(271)),a=n(730);function s(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(){return(l=Object.assign||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}).apply(this,arguments)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){var t,n;function s(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).handleClick=function(e){return(0,a.handleClick)(t.props,e)},t}return n=e,(t=s).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),s.prototype.render=function(){var e=this.props,t=(e.onClick,e.trusted,e.title),n=void 0===t?null:t,a=e.href,s=e.children,u=function(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}(e,["onClick","trusted","title","href","children"]),c=i.default.sanitizeUrl(a);return r.createElement(o.default,l({},u,{title:n,target:"_blank",rel:"noreferrer noopener",href:c,onClick:this.handleClick}),s||n)},s}(r.PureComponent);t.default=d,d.displayName="MaskedLink"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);var a={show:function(){this.deactivateRagingDemon(),i.default.dispatch({type:o.ActionTypes.SHOW_KEYBOARD_SHORTCUTS})},hide:function(){i.default.dispatch({type:o.ActionTypes.HIDE_KEYBOARD_SHORTCUTS})},activateRagingDemon:function(){i.default.dispatch({type:o.ActionTypes.ACTIVATE_RAGING_DEMON})},deactivateRagingDemon:function(){i.default.dispatch({type:o.ActionTypes.DEACTIVATE_RAGING_DEMON})}};t.default=a},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getInviteDynamicLinkTemplate=function(e){return location.protocol+"//"+window.GLOBAL_ENV.INVITE_HOST+"/"+e},t.getGuildTemplateDynamicLinkTemplate=function(e){return location.protocol+"//"+window.GLOBAL_ENV.GUILD_TEMPLATE_HOST+"/"+e},t.getDefaultDynamicLinkTemplate=function(){return""+location.protocol+window.GLOBAL_ENV.WEBAPP_ENDPOINT+"/channels/@me"}},function(e,t){function n(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return a[e];var n,o=String(e);return(n=r[o.toLowerCase()])?n:(n=i[o.toLowerCase()])||(1===o.length?o.charCodeAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"==typeof e){var n=e.which||e.keyCode||e.charCode;if(null==n)return!1;if("string"==typeof t){var o;if(o=r[t.toLowerCase()])return o===n;if(o=i[t.toLowerCase()])return o===n}else if("number"==typeof t)return t===n;return!1}};var r=(t=e.exports=n).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(o=97;o<123;o++)r[String.fromCharCode(o)]=o-32;for(var o=48;o<58;o++)r[o-48]=o;for(o=1;o<13;o++)r["f"+o]=o+111;for(o=0;o<10;o++)r["numpad "+o]=o+96;var a=t.names=t.title={};for(o in r)a[r[o]]=o;for(var s in i)r[s]=i[s]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"guild",id:"2020-09_guild_voice_channel_latency_routing",label:"Guild Voice Channel Latency Routing",defaultConfig:{useGuildVoiceChannelLatencyRouting:!1},treatments:[{id:1,label:"Uses preferred region (or geo fallback) for guild voice channel region selection",config:{useGuildVoiceChannelLatencyRouting:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(null!=e&&null!=e.url&&r.validStreamURL.test(e.url))return e.url;return};var r=n(156)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null!=e&&e.type===r.ActivityTypes.PLAYING};var r=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(Array.isArray(e)){var n=e;return null!=t&&(n=[].concat(n,[null])),n.map((function(e){return s(e,t)})).find((function(e){return null!=e}))}return s(e,t)};var r=a(n(707)),i=n(1),o=a(n(6));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(null!=e&&e.type===i.ActivityTypes.CUSTOM_STATUS)return null!=e.state?e.state.trim():null;if(null!=t)return null==e||e.type!==i.ActivityTypes.PLAYING?o.default.Messages.SHARING_SCREEN:o.default.Messages.STREAMING.format({name:e.name});if(null==e||null==e.name)return null;if((0,r.default)(e))return o.default.Messages.STREAMING.format({name:e.details||e.name});switch(e.type){case i.ActivityTypes.LISTENING:return o.default.Messages.LISTENING_TO.format({name:e.name});case i.ActivityTypes.WATCHING:return o.default.Messages.WATCHING.format({name:e.name});case i.ActivityTypes.CUSTOM_STATUS:return null;case i.ActivityTypes.COMPETING:return o.default.Messages.COMPETING.format({name:e.name});case i.ActivityTypes.PLAYING:default:return o.default.Messages.PLAYING_GAME.format({game:e.name})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=l("path",{d:"M0,0 L24,0 L24,24 L0,24 L0,0 Z M0,0 L24,0 L24,24 L0,24 L0,0 Z M0,0 L24,0 L24,24 L0,24 L0,0 Z"});function d(e){var t=e.width,n=void 0===t?16:t,r=e.height,i=void 0===r?16:r,s=e.color,d=void 0===s?"currentColor":s,f=e.foreground,_=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(_),{width:n,height:i,viewBox:"0 0 24 24"}),l("g",{fill:"none",fillRule:"evenodd"},void 0,l("path",{fill:d,className:f,fillRule:"nonzero",d:"M0.5,0 L0.5,1.5 C0.5,5.65 2.71,9.28 6,11.3 L6,16 L21,16 L21,14 C21,11.34 15.67,10 13,10 C13,10 12.83,10 12.75,10 C8,10 4,6 4,1.5 L4,0 L0.5,0 Z M13,0 C10.790861,0 9,1.790861 9,4 C9,6.209139 10.790861,8 13,8 C15.209139,8 17,6.209139 17,4 C17,1.790861 15.209139,0 13,0 Z",transform:"translate(2 4)"}),c))}d.displayName="PersonWaving"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=r.useRef(e);return t.current=e,t};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?24:t,r=e.height,i=void 0===r?24:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 24 24"}),l("path",{fill:c,className:d,d:"M7.41 16.0001L12 11.4201L16.59 16.0001L18 14.5901L12 8.59006L6 14.5901L7.41 16.0001Z"}))}c.displayName="ArrowDropUp"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tryParseChannelPath=function(e){if(null==e)return null;var t=e.match(f);if(null!=t&&t.length>3)return{guildId:t[1],channelId:t[2],messageId:t[3]};var n,r=e.match(d);if(null!=r&&r.length>1)return{guildId:r[1],channelId:null!==(n=r[2])&&void 0!==n?n:void 0};var i=e.match(_);if(null!=i&&i.length>1)return{guildId:i[1]};return null},t.isAccessibleChannelPath=function(e){var t=e.guildId,n=e.channelId;if(null==o.default.getGuild(t)&&t!==s.ME)return!1;if(null==n)return!0;var r=i.default.getChannel(n);if(null==r)return!1;return p(r)},t.isAccessibleChannelOrThreadPath=function(e){return E.apply(this,arguments)};var r=u(n(1339)),i=u(n(10)),o=u(n(15)),a=u(n(40)),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){l(o,r,i,a,s,"next",e)}function s(e){l(o,r,i,a,s,"throw",e)}a(void 0)}))}}var d=new RegExp("^/channels/(\\d+|"+s.ME+")(?:/)?(\\d+)?"),f=new RegExp("^/channels/(\\d+|"+s.ME+")(?:/)(\\d+)(?:/)(\\d+)"),_=new RegExp("^/guild-stages/(\\d+)(?:/)?(\\d+)?");function p(e){return!!e.isPrivate()||a.default.can(s.Permissions.VIEW_CHANNEL,e)}function E(){return(E=c(regeneratorRuntime.mark((function e(t){var n,a,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.guildId,a=t.channelId,null!=o.default.getGuild(n)||n===s.ME){e.next=3;break}return e.abrupt("return",!1);case 3:if(null!=a){e.next=5;break}return e.abrupt("return",!0);case 5:if(null!=(u=i.default.getChannel(a))){e.next=12;break}return e.next=9,r.default.loadThread(a);case 9:if(null!=(u=i.default.getChannel(a))){e.next=12;break}return e.abrupt("return",!1);case 12:return e.abrupt("return",p(u));case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(14)),i=f(n(2)),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(31)),a=f(n(10)),s=f(n(709)),u=f(n(36)),l=n(1209),c=n(1);function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){return e&&e.__esModule?e:{default:e}}var _={},p=!1;function E(e){if(null==e)return Promise.resolve();if(null!=a.default.getChannel(e))return Promise.resolve();if(p||(p=!0,i.default.subscribe(c.ActionTypes.CONNECTION_OPEN,(function(){_={};var e=u.default.getChannelId(),t=a.default.getChannel(e);null!=e&&null==t&&E(e)}))),!s.default.isConnected())return Promise.resolve();if(!(0,l.computeCanSeeThreads)())return Promise.resolve();var t=_[e];if(null!=t)return"LOADING"===t.type?t.promise:Promise.resolve();var n=r.default.get(c.Endpoints.CHANNEL(e)).then((function(t){var n=t.body;_[e]={type:"LOADED"},o.THREAD_CHANNEL_TYPES.has(n.type)&&i.default.dispatch({type:c.ActionTypes.THREAD_CREATE,guildHashes:void 0,channel:o.default.fromServer(n)})})).catch((function(){_[e]={type:"NOT_FOUND"}}));return _[e]={type:"LOADING",promise:n},n}var h={loadThread:E};t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QUICKSWITCHER_SHOW=void 0;var r=n(1272),i=a(n(11)),o=a(n(694));function a(e){return e&&e.__esModule?e:{default:e}}var s={binds:["mod+k","mod+t"],comboKeysBindGlobal:!0,action:function(){return i.default.isGuest()||o.default.hasLayers()||(0,r.show)(),!1}};t.QUICKSWITCHER_SHOW=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=b(n(480)),o=b(n(8)),a=b(n(5)),s=b(n(3)),u=b(n(2)),l=b(n(1245)),c=b(n(400)),d=b(n(155)),f=b(n(405)),_=b(n(71)),p=b(n(120)),E=b(n(79)),h=b(n(160)),m=b(n(39)),v=b(n(1386)),T=n(263),g=n(393),I=n(48),S=n(136),y=b(n(16)),A=b(n(43)),O=b(n(470)),N=n(768),R=n(1);function b(e){return e&&e.__esModule?e:{default:e}}function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var C=(0,a.default)().subtract(1,"week"),M=[],P="",w=!1;function U(e,t){return e.application.name.localeCompare(t.application.name,m.default.locale,{sensitivity:"base"})}function k(e,t){return null!=e&&((0,a.default)(e.createdAt).isAfter(C)&&0===t)}var G=((r={})[R.GameTableListKeys.NAME]=U,r[R.GameTableListKeys.PLATFORM]=function(e,t,n){var r=e.libraryApplication.getDistributor(),i=t.libraryApplication.getDistributor();return r===i?(n===R.TableSortDirections.DESCENDING?-1:1)*U(e,t):null==r?1:null==i?-1:r.localeCompare(i)},r[R.GameTableListKeys.LAST_PLAYED]=function(e,t){return e.isNew&&!t.isNew?-1:!e.isNew&&t.isNew?1:e.lastPlayed===t.lastPlayed?0:e.lastPlayed>t.lastPlayed?-1:1},r[R.GameTableListKeys.ACTIONS]=null,r),Y=(0,g.cachedFunction)((function(e){return e.filter((function(e){return null!=e.libraryApplication&&e.shouldShowInLibrary}))})),x=(0,g.cachedFunction)((function(e){return e.filter((function(e){return null!=e.libraryApplication&&d.default.isLaunchable(e.libraryApplication.id,e.libraryApplication.branchId)}))})),V=(0,g.cachedFunction)((function(e,t){return e.filter((function(e){return(0,i.default)(t.toLowerCase(),e.application.name.toLowerCase())}))})),H=(0,g.cachedFunction)((function(e,t,n,r){var i=G[t];if(null==i)return e;var o=[].concat(e).sort(i);return n===R.TableSortDirections.DESCENDING?o.reverse():o})),F=(0,g.cachedFunction)((function(e){return e.filter((function(e){return null!=e.libraryApplication&&e.libraryApplication.isHidden()}))}));function B(e,t){var n=O.default.getCurrentUserStatisticsForApplication(e.id);if(null!=n)return new Date(n.last_played_at).getTime();var r=t[e.id];return null!=r?r:0}function j(){var e=new Set(E.default.getRunningVerifiedApplicationIds()),t={},n=new Set,r=E.default.getGamesSeen(!1,!1).map((function(e){var n=_.default.getGameBySettingGame(e);return null!=n?(t[n.id]=1e3*e.lastFocused,n.id):null})),i=Object.values(p.default.getAllLibraryApplications()).map((function(r){return function(e,t,n,r,i){if(!i&&t.has(e.id))return null;var o=_.default.getGame(e.id);if(null==o)return null;var a=B(o,n);return t.add(e.id),(0,S.isUserEntitledToLibraryApplication)(e)||d.default.isInstalled(e.id,e.branchId)?{key:e.id+"-"+e.branchId,application:o,libraryApplication:e,lastPlayed:a,supportsCloudSync:null!=e&&d.default.supportsCloudSync(e.id,e.branchId),isNew:k(e,a),isLaunching:l.default.launchingGames.has(e.id),isRunning:r.has(e.id),isLaunchable:(0,T.isLaunchable)(p.default,l.default,d.default,c.default,e.id,e.branchId),isUpdatingFlags:p.default.isUpdatingFlags(e.id,e.branchId),shouldShowInLibrary:(0,S.shouldShowGameInLibrary)(o,e,h.default),defaultAction:(0,N.getDefaultLibraryApplicationAction)(e,d.default,f.default)}:null}(r,n,t,e,!0)})).filter(I.isNotNullish),a=r.map((function(r){return function(e,t,n,r){var i=null!=e?_.default.getGame(e):null;if(null==i||null==e||t.has(e))return null;var o=B(i,n);return t.add(e),{key:e,application:i,lastPlayed:o,supportsCloudSync:!1,isNew:!1,isLaunching:l.default.launchingGames.has(e),isRunning:r.has(e),isLaunchable:(0,T.isLaunchable)(p.default,l.default,d.default,c.default,e,null),isUpdatingFlags:!1,shouldShowInLibrary:!1,libraryApplication:null,defaultAction:null}}(r,n,t,e)})).filter(I.isNotNullish),s=[].concat(a,i).sort((function(e,t){return e.lastPlayed===t.lastPlayed?0:e.lastPlayed>t.lastPlayed?-1:1}));return w=null!=_.default.lastFetched&&p.default.fetched,!o.default.isEqual(s,M)&&(M=s,y.default.embedded&&A.default.setSystemTrayApplications(x(M).map((function(e){return e.application})).slice(0,5)),!0)}var W=new(function(e){var t,n,r,i,o;function a(){return e.apply(this,arguments)||this}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,D(t,n),a.prototype.initialize=function(){this.syncWith([_.default,l.default,E.default,d.default,f.default,p.default,O.default,h.default,c.default],j,200),this.syncWith([v.default,m.default],(function(){return!0}))},r=a,(i=[{key:"applicationFilterQuery",get:function(){return P}},{key:"applicationViewItems",get:function(){return M}},{key:"launchableApplicationViewItems",get:function(){return x(M)}},{key:"libraryApplicationViewItems",get:function(){return Y(M)}},{key:"filteredLibraryApplicationViewItems",get:function(){return V(this.libraryApplicationViewItems,P)}},{key:"sortedFilteredLibraryApplicationViewItems",get:function(){return H(this.filteredLibraryApplicationViewItems,v.default.sortKey,v.default.sortDirection,m.default.locale)}},{key:"hiddenLibraryApplicationViewItems",get:function(){return F(M)}},{key:"hasFetchedApplications",get:function(){return w}}])&&L(r.prototype,i),o&&L(r,o),a}(s.default.Store))(u.default,{LIBRARY_APPLICATION_FILTER_UPDATE:function(e){var t=e.query;P=t}});t.default=W},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o,a=m(n(3)),s=m(n(2)),u=h(n(1132)),l=m(n(120)),c=m(n(79)),d=n(136),f=m(n(16)),_=h(n(1133)),p=n(1);function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function m(e){return e&&e.__esModule?e:{default:e}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var I=new(function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var s=a.prototype;return s.initialize=function(){f.default.embedded&&_.init(),r={},i=new Set,o=[]},s.getState=function(e,t){var n=(0,d.getComboId)(e,t);return r[n]},s.isSyncing=function(e,t){var n=(0,d.getComboId)(e,t);return i.has(n)},a}(a.default.Store))(s.default,{GAME_CLOUD_SYNC_START:function(e){var t=e.applicationId,n=e.branchId,r=(0,d.getComboId)(t,n);i.add(r)},GAME_CLOUD_SYNC_UPDATE:function(e){for(var t=e.state,n=0,i=Object.keys(t);n<i.length;n++){var o=i[n];r[o]=t[o]}},GAME_CLOUD_SYNC_COMPLETE:function(e){var t=e.applicationId,n=e.branchId,o=(0,d.getComboId)(t,n);return i.delete(o),r[o]={type:p.CloudSyncStateTypes.DONE,timestamp:Date.now()},!0},GAME_CLOUD_SYNC_CONFLICT:function(e){var t=e.applicationId,n=e.branchId,o=e.next,a=e.remote,s=(0,d.getComboId)(t,n);r[s]={type:p.CloudSyncStateTypes.CONFLICT,next:o,remote:a},i.delete(s)},GAME_CLOUD_SYNC_ERROR:function(e){var t=e.applicationId,n=e.branchId,o=(0,d.getComboId)(t,n);r[o]={type:p.CloudSyncStateTypes.ERROR},i.delete(o)},RUNNING_GAMES_CHANGE:function(e){return function(){for(var e,t=c.default.getRunningDiscordApplicationIds(),n=function(){var t=e.value,n=l.default.getActiveLibraryApplication(t);if(null==n)return"continue";s.default.wait((function(){try{u.sync(n.id,n.branchId)}catch(e){}}))},r=T(o.filter((function(e){return!t.includes(e)})));!(e=r()).done;)n();return o=t,!1}()}});t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);var a={setEnabled:function(e){this.update({enabled:e})},update:function(e){for(var t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];i.default.dispatch({type:o.ActionTypes.STREAMER_MODE_UPDATE,key:r,value:e[r]})}}};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInputLikeElement=function(e){if(null==e)return!1;if("true"===e.getAttribute("contenteditable"))return!0;if(i.test(e.tagName))return!0;if(r.test(e.tagName)){var t=e.getAttribute("type")||"text";if("text"===t||"password"===t)return!0}return!1},t.removeNode=function(e){null!=e.parentNode&&e.parentNode.removeChild(e)},t.clickedOnVisibleImage=function(e,t,n,r){var i=n.width,o=n.height,a=r.top,s=r.left,u=r.width,l=r.height,c=Math.min(u/i,l/o,1),d=i*c,f=o*c,_=(l-f)/2+s,p=(u-d)/2+a;if(t>=_&&t<=_+f&&e>=p&&e<=p+d)return!0;return!1};var r=/input/i,i=/textarea/i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=h(n(0)),o=n(42),a=h(n(29)),s=p(n(679)),u=p(n(13)),l=p(n(164)),c=p(n(43)),d=n(1),f=p(n(6)),_=p(n(5815));function p(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function m(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var T=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={error:null,info:null},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n);var i=r.prototype;return i.componentDidCatch=function(e,t){var n=(0,o.getHistory)().location;this.setState({error:e,info:t}),l.default.captureCrash(e,{extra:t}),u.default.track(d.AnalyticEvents.APP_CRASHED,{path:n.pathname,extra:t}),c.default.cleanupDisplaySleep()},i._handleSubmitReport=function(){location.reload(!0)},i.render=function(){var e=this.props,t=e.children,n=e.renderCustomMessage;if(null!==this.state.error){var r=m("div",{},void 0,m("p",{},void 0,f.default.Messages.ERRORS_UNEXPECTED_CRASH),m("p",{},void 0,f.default.Messages.ERRORS_ACTION_TO_TAKE)),i=m(a.default,{size:a.ButtonSizes.LARGE,onClick:this._handleSubmitReport},void 0,f.default.Messages.ERRORS_RELOAD);return m(s.default,{title:f.default.Messages.UNSUPPORTED_BROWSER_TITLE,note:null!=n?n():r,action:i,className:_.default.errorPage})}return t},r}(i.PureComponent);T.displayName="ErrorBoundary";var g=T;t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=s(n(9)),o=n(35),a=s(n(5714));function s(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(){return(l=Object.assign||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}).apply(this,arguments)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d={SMALL:a.default.sizeSmall,MEDIUM:a.default.sizeMedium,LARGE:a.default.sizeLarge},f=function(e){var t,n;function s(t){var n;return(n=e.call(this,t)||this)._scroller=null,n.setRef=function(e){n._scroller=e,null!=e&&n.calculateScroll()},n.handleScroll=function(e){n.calculateScroll();var t=n.props.onScroll;t&&t(e)},n.state={hideSeparator:!1},n}n=e,(t=s).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var u=s.prototype;return u.calculateScroll=function(e){if(void 0===e&&(e=this._scroller),null!=e){var t=e.getScrollerState().scrollTop,n=this.state.hideSeparator;0!==t||n?t>0&&n&&this.setState({hideSeparator:!1}):this.setState({hideSeparator:!0})}},u.getScroller=function(){return this._scroller},u.renderChildren=function(){var e=this,t=this.state.hideSeparator;return r.Children.map(this.props.children,(function(n){return r.isValidElement(n)?n.type===o.ModalContent||n.type===o.ModalListContent?r.cloneElement(n,{scrollerRef:e.setRef,onScroll:e.handleScroll,onResize:e.handleScroll}):n.type===o.ModalHeader&&t?r.cloneElement(n,{separator:!1}):n:n}))},u.render=function(){var e,t=this.props,n=t.className,o=(t.children,t.tag),s=t.size,u=t.fullscreenOnMobile,c=function(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}(t,["className","children","tag","size","fullscreenOnMobile"]);return r.createElement(o,l({className:(0,i.default)(a.default.modal,n,s,(e={},e[a.default.fullscreenOnMobile]=u,e))},c),this.renderChildren())},s}(r.PureComponent);f.displayName="DeprecatedModal",f.Header=o.ModalHeader,f.Footer=o.ModalFooter,f.Content=o.ModalContent,f.ListContent=o.ModalListContent,f.CloseButton=o.ModalCloseButton,f.Sizes=d,f.defaultProps={fullscreenOnMobile:!0,size:d.SMALL,tag:"div"};var _=f;t.default=_},,function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.SystemThemeState=void 0,t.SystemThemeState=r,function(e){e[e.UNSET=0]="UNSET",e[e.OFF=1]="OFF",e[e.ON=2]="ON",e[e.UNAVAILABLE=3]="UNAVAILABLE"}(r||(t.SystemThemeState=r={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=v(n(1403)),i=v(n(1350)),o=v(n(1554)),a=v(n(1555)),s=v(n(1556)),u=v(n(1557)),l=v(n(1558)),c=v(n(1559)),d=v(n(1560)),f=v(n(1561)),_=v(n(1562)),p=v(n(1563)),E=v(n(1564)),h=v(n(1565)),m=v(n(1566));function v(e){return e&&e.__esModule?e:{default:e}}var T={DEFAULT_AVATARS:[i.default,o.default,a.default,s.default,u.default],DEFAULT_GROUP_DM_AVATARS:[l.default,c.default,d.default,f.default,_.default,p.default,E.default,h.default],BOT_AVATARS:{clyde:r.default},DEFAULT_CHANNEL_ICON:m.default};t.default=T},function(e,t,n){e.exports=n.p+"1f0bfc0865d324c2587920a7d80c609b.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(64),i=d(n(66)),o=d(n(1604)),a=n(1613),s=n(178),u=d(n(1614)),l=d(n(438)),c=n(439);function d(e){return e&&e.__esModule?e:{default:e}}function f(){return(f=Object.assign||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}).apply(this,arguments)}function _(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e){return(null!=e?e:c.DEFAULT_VOLUME)/c.DEFAULT_VOLUME}var h=function(e){var t,n;function r(){var t,n;(n=e.call(this)||this).Video=l.default,n.Camera=u.default,n.videoInputDeviceId=c.DISABLED_DEVICE_ID,n.connections=new Set,n.lastVoiceActivity=-1,n.audioSubsystem="standard",n.audioLayer="",n.loopback=!1,n.deviceChangeGeneration=0,n.consecutiveWatchdogFailures=0,n.handleDeviceChange=function(e,t,r){void 0===e&&(e=[]),void 0===t&&(t=[]),void 0===r&&(r=[]),n.deviceChangeGeneration++,n.emit("devicechange",(0,a.sanitizeDevices)(c.DeviceTypes.AUDIO_INPUT,e),(0,a.sanitizeDevices)(c.DeviceTypes.AUDIO_OUTPUT,t),(0,a.sanitizeDevices)(c.DeviceTypes.VIDEO_INPUT,r))},n.handleVolumeChange=function(e,t){n.emit("volumechange",e*c.DEFAULT_VOLUME,t*c.DEFAULT_VOLUME)},n.handleVoiceActivity=function(e,t){var r=Date.now();n.listenerCount("voiceactivity")>0&&(-1===n.lastVoiceActivity||Date.now()-n.lastVoiceActivity>20)&&(n.lastVoiceActivity=r,n.emit("voiceactivity",e,t))},n.handleActiveSinksChange=function(e,t){n.connections.forEach((function(n){return n.setHasActiveVideoOutputSink(e,t)}))},n.handleNewListener=function(e){if("voiceactivity"===e)(0,s.getVoiceEngine)().setEmitVADLevel(!0,n.loopback,{});else if("devicechange"===e){var t=n.deviceChangeGeneration;Promise.all([n.getAudioInputDevices(),n.getAudioOutputDevices(),n.getVideoInputDevices()]).then((function(e){var r=e[0],i=e[1],o=e[2];t===n.deviceChangeGeneration&&n.emit("devicechange",r,i,o)}))}},n.handleRemoveListener=function(e){"voiceactivity"===e&&(0,s.getVoiceEngine)().setEmitVADLevel(n.loopback||n.listenerCount("voiceactivity")>0,n.loopback,{})},n.handleVideoInputInitialization=function(e){n.emit("video-input-initialized",e)};var i=(0,s.getVoiceEngine)();if(i.setDeviceChangeCallback(n.handleDeviceChange),i.setVolumeChangeCallback(n.handleVolumeChange),i.setOnVoiceCallback(n.handleVoiceActivity),null===(t=i.setVideoInputInitializationCallback)||void 0===t||t.call(i,n.handleVideoInputInitialization),i.setTransportOptions({idleJitterBufferFlush:!0,ducking:!1}),n.on("removeListener",n.handleRemoveListener),n.on("newListener",n.handleNewListener),null!=(0,s.getVoiceEngine)().getAudioSubsystem?(0,s.getVoiceEngine)().getAudioSubsystem((function(e,t){n.audioSubsystem=e,n.audioLayer=t})):null!=(0,s.getVoiceEngine)().getUseLegacyAudioDevice&&(n.audioSubsystem=(0,s.getVoiceEngine)().getUseLegacyAudioDevice()?c.AudioSubsystems.LEGACY:c.AudioSubsystems.STANDARD),null!=i.pingVoiceThread&&"undefined"!=typeof window&&"canary"===window.GLOBAL_ENV.RELEASE_CHANNEL&&n.watchdogTick(),n.getDebugLogging()&&!r.installedLogHooks){r.installedLogHooks=!0;for(var o=function(){var e=f[d],t=console,n=t[e];null!=n&&(t[e]=function(){n.apply(this,arguments);try{(0,s.getVoiceEngine)().consoleLog(e,JSON.stringify(Array.from(arguments).map((function(e){return null!=e?e.toString():e}))))}catch(e){}})},d=0,f=["trace","debug","info","warn","error","log"];d<f.length;d++)o()}return null!=i.setActiveSinksChangeCallback&&i.setActiveSinksChangeCallback(n.handleActiveSinksChange),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var d=r.prototype;return d.destroy=function(){this.eachConnection((function(e){return e.destroy()})),this.emit("destroy"),this.removeAllListeners()},d.interact=function(){},r.supported=function(){return(0,s.supported)()},d.supported=function(){return!0},d.supports=function(e){var t,n;switch(e){case c.Features.LEGACY_AUDIO_SUBSYSTEM:return(0,s.supportsFeature)(c.NativeFeatures.VOICE_LEGACY_SUBSYSTEM);case c.Features.EXPERIMENTAL_AUDIO_SUBSYSTEM:return(0,s.supportsFeature)(c.NativeFeatures.VOICE_EXPERIMENTAL_SUBSYSTEM);case c.Features.DEBUG_LOGGING:return(0,s.supportsFeature)(c.NativeFeatures.DEBUG_LOGGING);case c.Features.SOUNDSHARE:return(0,s.supportsFeature)(c.NativeFeatures.SOUNDSHARE);case c.Features.ELEVATED_HOOK:return(0,s.supportsFeature)(c.NativeFeatures.ELEVATED_HOOK);case c.Features.LOOPBACK:return(0,s.supportsFeature)(c.NativeFeatures.LOOPBACK);case c.Features.WUMPUS_VIDEO:return(0,s.supportsFeature)(c.NativeFeatures.WUMPUS_VIDEO);case c.Features.HYBRID_VIDEO:return(0,s.supportsFeature)(c.NativeFeatures.HYBRID_VIDEO);case c.Features.ATTENUATION:case c.Features.VIDEO_HOOK:return null!=(null===i.default||void 0===i.default||null===(t=i.default.os)||void 0===t?void 0:t.family)&&/^win/i.test(i.default.os.family);case c.Features.EXPERIMENTAL_SOUNDSHARE:return(0,s.supportsFeature)(c.NativeFeatures.SOUNDSHARE_LOOPBACK);case c.Features.OPEN_H264:return null!=(null===i.default||void 0===i.default||null===(n=i.default.os)||void 0===n?void 0:n.family)&&/^win|linux|OS X/i.test(i.default.os.family);case c.Features.EXPERIMENTAL_ENCODERS:return(0,s.supportsFeature)(c.NativeFeatures.EXPERIMENTAL_ENCODERS);case c.Features.REMOTE_LOCUS_NETWORK_CONTROL:return(0,s.supportsFeature)(c.NativeFeatures.REMOTE_LOCUS_NETWORK_CONTROL);case c.Features.SCREEN_PREVIEWS:return(0,s.supportsFeature)(c.NativeFeatures.SCREEN_PREVIEWS);case c.Features.WINDOW_PREVIEWS:return(0,s.supportsFeature)(c.NativeFeatures.WINDOW_PREVIEWS);case c.Features.AUDIO_DEBUG_STATE:return(0,s.supportsFeature)(c.NativeFeatures.AUDIO_DEBUG_STATE);case c.Features.CONNECTION_REPLAY:return(0,s.supportsFeature)(c.NativeFeatures.CONNECTION_REPLAY);case c.Features.SIMULCAST:return(0,s.supportsFeature)(c.NativeFeatures.SIMULCAST)&&(0,s.supportsFeature)(c.NativeFeatures.SIMULCAST_BUGFIX);case c.Features.RTC_REGION_RANKING:return(0,s.supportsFeature)(c.NativeFeatures.RTC_REGION_RANKING);case c.Features.DIRECT_VIDEO:return(0,s.supportsFeature)(c.NativeFeatures.DIRECT_VIDEO)&&null!=window.createDiscordStream;case c.Features.ELECTRON_VIDEO:return(0,s.supportsFeature)(c.NativeFeatures.ELECTRON_VIDEO);case c.Features.DIAGNOSTICS:case c.Features.NATIVE_PING:case c.Features.AUTOMATIC_VAD:case c.Features.AUDIO_INPUT_DEVICE:case c.Features.AUDIO_OUTPUT_DEVICE:case c.Features.QOS:case c.Features.VOICE_PROCESSING:case c.Features.AUTO_ENABLE:case c.Features.VIDEO:case c.Features.DESKTOP_CAPTURE:case c.Features.DESKTOP_CAPTURE_FORMAT:case c.Features.DESKTOP_CAPTURE_APPLICATIONS:case c.Features.VOICE_PANNING:case c.Features.AEC_DUMP:case c.Features.DISABLE_VIDEO:return!0;case c.Features.ICE:default:return!1}},d.connect=function(e,t,n){var r=this,i=n.ssrc,a=n.address,u=n.port,l=n.modes,d=n.experiments,f=n.streamUserId,_=n.streamParameters,p=(0,s.supportsFeature)(c.NativeFeatures.EXPERIMENT_CONFIG),E=o.default.create(e,t,i,a,u,l,!0,_,p?d:void 0,f);return E.on("destroy",(function(e){r.connections.delete(e),0===r.connections.size&&(0,s.setProcessPriority)(c.ProcessPriority.NORMAL)})),E.on("connected",(function(){E.setVideoBroadcast(r.shouldConnectionBroadcastVideo(E))})),E.on("silence",(function(e){r.emit("silence",e)})),this.connections.add(E),(0,s.setProcessPriority)(c.ProcessPriority.HIGH),this.emit("connection",E),E},d.shouldConnectionBroadcastVideo=function(e){return e.context===c.MediaEngineContextTypes.DEFAULT&&this.videoInputDeviceId!==c.DISABLED_DEVICE_ID||e.hasDesktopSource()},d.eachConnection=function(e,t){this.connections.forEach((function(n){null!=t&&n.context!==t||e(n)}))},d.enable=function(){return Promise.resolve()},d.setInputVolume=function(e){(0,s.getVoiceEngine)().setInputVolume(E(e))},d.setOutputVolume=function(e){(0,s.getVoiceEngine)().setOutputVolume(E(e))},d.getAudioInputDevices=function(){return(0,a.getAudioInputDevices)()},d.setAudioInputDevice=function(e){(0,s.supportsFeature)(c.NativeFeatures.SET_AUDIO_DEVICE_BY_ID)?(0,s.getVoiceEngine)().setInputDevice(e):(0,a.getAudioInputDevices)().then((function(t){var n=t.find((function(t){return t.id===e}))||t[0];n&&(0,s.getVoiceEngine)().setInputDevice(n.index)}))},d.getAudioOutputDevices=function(){return(0,a.getAudioOutputDevices)()},d.setAudioOutputDevice=function(e){(0,s.supportsFeature)(c.NativeFeatures.SET_AUDIO_DEVICE_BY_ID)?(0,s.getVoiceEngine)().setOutputDevice(e):(0,a.getAudioOutputDevices)().then((function(t){var n=t.find((function(t){return t.id===e}))||t[0];n&&(0,s.getVoiceEngine)().setOutputDevice(n.index)}))},d.getVideoInputDevices=function(){return(0,a.getVideoInputDevices)()},d.setVideoInputDevice=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var n,r,i,o,a=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getVideoInputDevices();case 2:if(n=e.sent,r=n.find((function(e){return e.id===t})),(i=null!=r?r.id:c.DISABLED_DEVICE_ID)!==this.videoInputDeviceId){e.next=7;break}return e.abrupt("return");case 7:this.videoInputDeviceId=i,(0,s.supportsFeature)(c.NativeFeatures.SET_VIDEO_DEVICE_BY_ID)?(o=null!=r?r.originalId||r.id:c.DISABLED_DEVICE_ID,(0,s.getVoiceEngine)().setVideoInputDevice(o)):(0,s.getVoiceEngine)().setVideoInputDevice(null!=r?r.index:-1),this.connections.forEach((function(e){return e.setVideoBroadcast(a.shouldConnectionBroadcastVideo(e))}));case 10:case"end":return e.stop()}}),e,this)})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){_(o,r,i,a,s,"next",e)}function s(e){_(o,r,i,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),d.getSupportedVideoCodecs=function(e){(0,s.getVoiceEngine)().getSupportedVideoCodecs(e)},d.setDesktopSource=function(e,t){var n=this;if(void 0===t&&(t=c.MediaEngineContextTypes.DEFAULT),null!=e){var r=e.resolution,i=e.id,o=e.frameRate,a=e.soundshareId,s=e.useLoopback,u=e.useVideoHook,l=e.useWumpus,d=e.useQuartzCapturer,f=e.hdrCaptureMode,_=r<=480?r/3*4:r/9*16,p=r;this.eachConnection((function(e){t===c.MediaEngineContextTypes.STREAM&&e.streamUserId!==e.userId||(e.setSoundshareSource(a,s),e.setDesktopSource(i,{width:_,height:p,fps:o,useVideoHook:u,useWumpus:l,useQuartzCapturer:d,hdrCaptureMode:f}),e.setVideoBroadcast(n.shouldConnectionBroadcastVideo(e)))}),t)}else this.eachConnection((function(e){e.clearDesktopSource(),e.setSoundshareSource(0,!1),e.setVideoBroadcast(n.shouldConnectionBroadcastVideo(e))}),t)},d.setSoundshareSource=function(e,t,n){this.eachConnection((function(r){n===c.MediaEngineContextTypes.STREAM&&r.streamUserId!==r.userId||r.setSoundshareSource(e,t)}),n)},d.getDesktopSource=function(){return Promise.reject(new Error("NO_STREAM"))},d.getDesktopSources=function(){return new Promise((function(e){null!=(0,s.getVoiceEngine)().getDesktopSources?(0,s.getVoiceEngine)().getDesktopSources((function(t){return e(t)})):e([])}))},d.getScreenPreviews=function(e,t){return new Promise((function(n){null!=(0,s.getVoiceEngine)().getScreenPreviews?(0,s.getVoiceEngine)().getScreenPreviews(e,t,(function(e){n(e.map((function(e,t){return f({},e,{name:"Screen "+(t+1)})})))})):n([])}))},d.getWindowPreviews=function(e,t){return new Promise((function(n){null!=(0,s.getVoiceEngine)().getWindowPreviews?(0,s.getVoiceEngine)().getWindowPreviews(e,t,(function(e){n(e)})):n([])}))},d.setAudioSubsystem=function(e){null!=(0,s.getVoiceEngine)().setAudioSubsystem?(0,s.getVoiceEngine)().setAudioSubsystem(e):(0,s.getVoiceEngine)().setUseLegacyAudioDevice(e===c.AudioSubsystems.LEGACY)},d.getAudioSubsystem=function(){return this.audioSubsystem},d.getAudioLayer=function(){return this.audioLayer},d.getDebugLogging=function(){return!!this.supports(c.Features.DEBUG_LOGGING)&&(0,s.getVoiceEngine)().getDebugLogging()},d.setDebugLogging=function(e){this.supports(c.Features.DEBUG_LOGGING)&&(0,s.getVoiceEngine)().setDebugLogging(e)},d.setExperimentalAdm=function(e){var t=this,n=(0,s.getVoiceEngine)(),r=n.setExperimentalAdm,i=n.getAudioSubsystem;null==r||r(e),null==i||i((function(e){t.audioSubsystem=e}))},d.setLoopback=function(e,t){this.loopback=e,(0,s.getVoiceEngine)().setEmitVADLevel(e||this.listenerCount("voiceactivity")>0,e,{echoCancellation:t.echoCancellation,noiseSuppression:t.noiseSuppression,automaticGainControl:t.automaticGainControl,noiseCancellation:t.noiseCancellation})},d.getLoopback=function(){return this.loopback},d.setH264Enabled=function(e){o.default.setH264Enabled(e)},d.writeAudioDebugState=function(){return new Promise((function(e,t){var n=(0,s.getVoiceEngine)().writeAudioDebugState;null!=n?(n(),e()):t(new Error("Audio debug state is not supported."))}))},d.startAecDump=function(){},d.stopAecDump=function(){},d.setAecDump=function(e){var t,n;null===(t=(n=(0,s.getVoiceEngine)()).setAecDump)||void 0===t||t.call(n,e)},d.rankRtcRegions=function(e){return new Promise((function(t,n){var r=(0,s.getVoiceEngine)().rankRtcRegions;null!=r?r(e,(function(e){return t(e)})):n(new Error("RTC region latency test is not supported."))}))},d.getSoundshareStatus=function(){return new Promise((function(e,t){var n=(0,s.getVoiceEngine)().getSoundshareStatus;null!=n?n((function(t){return e(t)})):t(new Error("getSoundshareStatus is not supported."))}))},d.enableSoundshare=function(){return new Promise((function(e,t){var n=(0,s.getVoiceEngine)().enableSoundshare;null!=n?n((function(t,n){return e({code:t,message:n,willRetry:!1})})):t(new Error("enableSoundshare is not supported."))}))},d.createReplayConnection=function(e,t){var n=this,r=o.default.createReplay(e,t);return null==r?null:(r.on("destroy",(function(e){n.connections.delete(e),0===n.connections.size&&(0,s.setProcessPriority)(c.ProcessPriority.NORMAL)})),this.connections.add(r),(0,s.setProcessPriority)(c.ProcessPriority.HIGH),this.emit("connection",r),r)},d.setUseDirectVideo=function(e){l.default.useDirectVideo=e},d.watchdogTick=function(){var e=this,t=!1;(0,s.getVoiceEngine)().pingVoiceThread((function(){t=!0,e.consecutiveWatchdogFailures=0})),setTimeout((function(){!t&&++e.consecutiveWatchdogFailures>1?e.emit("watchdogtimeout"):e.watchdogTick()}),c.WATCHDOG_TIMEOUT_MS)},r}(r.EventEmitter);t.default=h,h.installedLogHooks=!1},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(5)),i=c(n(62)),o=c(n(71)),a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(99)),s=c(n(1191)),u=n(1);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=function(e){var t,n;function i(t){var n;return(n=e.call(this)||this).id=t.id,n.createdAt=t.createdAt,n.flags=t.flags,n.branchId=t.branchId,n.entitlements=t.entitlements,n.branch=t.branch,n.sku=t.sku,n.isTestMode=t.isTestMode||!1,n}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n),i.createFromServer=function(e){return new i({id:e.application.id,branchId:e.branch_id,entitlements:null!=e.entitlements?e.entitlements.map((function(e){return s.default.createFromServer(e)})):[],branch:e.branch,flags:e.flags,createdAt:e.created_at,sku:{id:e.sku.id,type:e.sku.type,premium:e.sku.premium,preorderReleaseAt:null!=e.sku.preorder_release_at?(0,r.default)(e.sku.preorder_release_at):null,preorderApproximateReleaseDate:null!=e.sku.preorder_approximate_release_date?e.sku.preorder_approximate_release_date:null}})},i.createForTestMode=function(e){return new i({id:e.id,entitlements:[],branchId:e.branch.id,branch:e.branch,flags:u.LibraryApplicationFlags.ENTITLED,createdAt:e.branch.created_at,sku:{id:e.skuId,type:u.SKUTypes.DURABLE_PRIMARY,premium:!1},isTestMode:!0})};var l=i.prototype;return l.getFlags=function(){return this.flags},l.hasFlag=function(e){return a.hasFlag(this.flags,e)},l.isHidden=function(){return this.hasFlag(u.LibraryApplicationFlags.HIDDEN)},l.isOverlayEnabled=function(){return!this.hasFlag(u.LibraryApplicationFlags.OVERLAY_DISABLED)},l.isMasterBranch=function(){return this.branchId===this.id},l.isDiscordApplication=function(){return!0},l.isEntitled=function(e,t){var n=this;return!!this.isTestMode||this.entitlements.some((function(r){return r.isValid(e,t,n.branchId)}))},l.isPreorder=function(){return null!=this.sku.preorderReleaseAt||null!=this.sku.preorderApproximateReleaseDate},l.getDistributor=function(){return u.Distributors.DISCORD},l.getBranchName=function(){return null!=this.branch?this.branch.name:"master"},l.getBranchedName=function(e){return this.isMasterBranch()||null==this.branch?e.name:e.name+" ("+this.branch.name+")"},l.getSkuIdForAnalytics=function(){return this.sku.id},l.getAnalyticsData=function(){var e=o.default.getGame(this.id);return{application_id:null!=e?e.id:null,application_name:null!=e?e.name:null,sku_id:this.getSkuIdForAnalytics(),launcher_platform:this.getDistributor()}},i}(i.default);t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),i=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=null,u=!1;var l=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n);var i=r.prototype;return i.getLastProgress=function(){return s},i.isRunning=function(){return u},r}(r.default.Store))(i.default,{DISPATCH_APPLICATION_LAUNCH_SETUP_START:function(e){u=!0},DISPATCH_APPLICATION_INSTALL_SCRIPTS_PROGRESS_UPDATE:function(e){var t=e.progress,n=e.total,r=e.name;s={progress:t,total:n,name:r}},DISPATCH_APPLICATION_LAUNCH_SETUP_COMPLETE:function(e){return s=null,void(u=!1)}});t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(218))&&r.__esModule?r:{default:r},a=n(41);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}var l={show:function(e){var t=e.title,n=e.body,r=e.confirmText,s=e.cancelText,l=e.onConfirm,c=e.onCancel,d=e.minorText,f=e.onConfirmSecondary,_=e.className;(0,a.openModal)((function(e){return i.createElement(o.default,u({},e,{title:t,body:n,confirmText:r,cancelText:s,onConfirm:l,onCancel:c,minorText:d,onConfirmSecondary:f,className:_}))}))}};t.default=l},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},function(e,t,n){var r=n(1738),i=n(408),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(3)),i=n(34),o=a(n(2));n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=i.DEFAULT_VOICE_BITRATE;var c=new(function(e){var t,n,r,i,o;function a(){return e.apply(this,arguments)||this}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n),r=a,(i=[{key:"bitrate",get:function(){return l}}])&&s(r.prototype,i),o&&s(r,o),a}(r.default.Store))(o.default,{SET_CHANNEL_BITRATE:function(e){l=e.bitrate}});t.default=c},function(e,t,n){var r={"./bg.png":1752,"./cs.png":1753,"./da.png":1754,"./de.png":1755,"./el.png":1756,"./en-GB.png":1757,"./en-US.png":1758,"./es-ES.png":1759,"./fi.png":1760,"./fr.png":1761,"./hi.png":1762,"./hr.png":1763,"./hu.png":1764,"./it.png":1765,"./ja.png":1766,"./ko.png":1767,"./lt.png":1768,"./nl.png":1769,"./no.png":1770,"./pl.png":1771,"./pt-BR.png":1772,"./ro.png":1773,"./ru.png":1774,"./sv-SE.png":1775,"./th.png":1776,"./tr.png":1777,"./uk.png":1778,"./vi.png":1779,"./zh-CN.png":1780,"./zh-TW.png":1781};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=1358},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(i.default.inTestModeForEmbeddedApplication(e))return i.default.testModeOriginURL;var t=window.GLOBAL_ENV.ACTIVITY_APPLICATION_HOST;return null==t?null:"https://"+e+"."+t};var r,i=(r=n(1167))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(8)),i=u(n(3)),o=u(n(2)),a=n(31),s=u(n(10));n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var f={};function _(e){var t;null===(t=e.threads)||void 0===t||t.forEach(p)}function p(e){if(!a.ALL_CHANNEL_TYPES.has(e.type))return!1;var t=function(e){var t,n;return e.id in f||(f[e.id]={guildId:e.guild_id,parentId:e.parent_id,memberCount:null!==(t=e.memberCount)&&void 0!==t?t:0,memberIdsPreview:null!==(n=e.memberIdsPreview)&&void 0!==n?n:[]}),f[e.id]}(e);null!=e.memberCount&&(t.memberCount=e.memberCount),null!=e.memberIdsPreview&&(t.memberIdsPreview=e.memberIdsPreview)}function E(e){return p(e.channel)}function h(e){if(null!=e&&!(e.id in f)){var t=s.default.getChannel(e.id);if(null!=t)return p(t),!0}return!1}var m=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(s.default)},i.getMemberCount=function(e){var t,n;return null!==(t=null===(n=f[e])||void 0===n?void 0:n.memberCount)&&void 0!==t?t:null},i.getMemberIdsPreview=function(e){var t,n;return null!==(t=null===(n=f[e])||void 0===n?void 0:n.memberIdsPreview)&&void 0!==t?t:null},r}(i.default.Store))(o.default,{CONNECTION_OPEN:function(e){f={},e.guilds.forEach(_)},GUILD_CREATE:function(e){_(e.guild)},GUILD_DELETE:function(e){var t,n=e.guild;t=n.id,f=r.default.omitBy(f,(function(e){return e.guildId===t}))},CHANNEL_DELETE:function(e){var t,n=e.channel;t=n.id,f=r.default.omitBy(f,(function(e){return e.parentId===t}))},THREAD_CREATE:E,THREAD_UPDATE:E,THREAD_LIST_SYNC:function(e){e.threads.forEach(p)},THREAD_MEMBERS_UPDATE:function(e){var t=f[e.id];if(null==t)return!1;null!=e.memberIdsPreview&&(t.memberIdsPreview=e.memberIdsPreview),t.memberCount=e.memberCount},SEARCH_FINISH:function(e){for(var t,n=!1,r=c(e.messages);!(t=r()).done;)for(var i,o=c(t.value);!(i=o()).done;){var a=i.value;n=h(a.thread)||n}return e.threads.forEach((function(e){n=h(e)||n})),n},LOAD_ARCHIVED_THREADS_SUCCESS:function(e){e.threads.forEach(h)},THREAD_DELETE:function(e){var t=e.channel;delete f[t.id]},LOAD_MESSAGES_SUCCESS:function(e){for(var t,n=!1,r=c(e.messages);!(t=r()).done;){n=h(t.value.thread)||n}return n}});t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExpressionSuggestionTypes=t.REQUEST_THROTTLE_DURATION_MS=t.SUGGESTIONS_SHOWED_INSTRUMENTATION_RATE_LIMIT_MS=t.DELAY_BEFORE_SUGGESTIONS_MS=t.MAX_NUM_USER_INPUT_WORDS=t.MAX_NUM_SUGGESTED_STICKERS=void 0;var r=n(1);t.MAX_NUM_SUGGESTED_STICKERS=4;t.MAX_NUM_USER_INPUT_WORDS=5;t.DELAY_BEFORE_SUGGESTIONS_MS=350;var i=1e3*r.Durations.MINUTE;t.SUGGESTIONS_SHOWED_INSTRUMENTATION_RATE_LIMIT_MS=i;var o,a=1e3*r.Durations.MINUTE*2;t.REQUEST_THROTTLE_DURATION_MS=a,t.ExpressionSuggestionTypes=o,function(e){e[e.STICKER=0]="STICKER"}(o||(t.ExpressionSuggestionTypes=o={}))},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.JumpTypes=void 0,t.JumpTypes=r,function(e){e.ANIMATED="ANIMATED",e.INSTANT="INSTANT"}(r||(t.JumpTypes=r={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(null==e||null==e.assets||null==e.assets.large_image)return null;return(0,r.getAssetImage)(t,e.assets.large_image,[i.ACTIVITY_INVITE_COVER_IMAGE_SIZE,i.ACTIVITY_INVITE_COVER_IMAGE_SIZE])};var r=n(409),i=n(156)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,i.default)(e)||"";switch(t){case o.ActivityGamePlatforms.XBOX:case o.ActivityGamePlatforms.SAMSUNG:return a.default.Messages.USER_ACTIVITY_HEADER_PLAYING_ON_PLATFORM.format({platform:r.default.get(t).name});default:return a.default.Messages.USER_ACTIVITY_HEADER_PLAYING}};var r=s(n(183)),i=s(n(486)),o=n(1),a=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return null!=e.application_id&&null==t.getApplicationActivity(e.application_id,!1)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){var s=null==t?void 0:t.application_id;if(null==e||null==t||!(0,o.default)(t,a.ActivityFlags.JOIN)||null==s)return!1;var u=r.getGame(s);if(null==u||(0,i.hasFlag)(u.flags,a.ApplicationFlags.EMBEDDED))return!1;return n.shouldShowEducation(s)};var r,i=n(99),o=(r=n(399))&&r.__esModule?r:{default:r},a=n(1)},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getAccessToken=E,t.subscribePlayerStateNotifications=function(e,t,n){return p.put(e,t,{url:u.SpotifyEndpoints.NOTIFICATIONS_PLAYER,query:{connection_id:n}})},t.getProfile=function(e,t){return p.get(e,t,{url:u.SpotifyEndpoints.PROFILE}).then((function(t){return o.default.dispatch({type:c.ActionTypes.SPOTIFY_PROFILE_UPDATE,accountId:e,isPremium:"premium"===t.body.product}),t}))},t.getDevices=function(e,t){return p.get(e,t,{url:u.SpotifyEndpoints.PLAYER_DEVICES}).then((function(t){return t.body&&o.default.dispatch({type:c.ActionTypes.SPOTIFY_SET_DEVICES,accountId:e,devices:t.body.devices}),t}))},t.play=function(e,t,n,r){void 0===r&&(r={});var i=u.SpotifyEndpoints.PLAYER_OPEN(u.SpotifyResourceTypes.TRACK,n,!1),a=r,s=a.deviceId,l=a.position,d=a.contextUri,f=a.repeat;return p.put(e,t,{url:u.SpotifyEndpoints.PLAYER_PLAY,query:{device_id:s},body:{context_uri:null!=d?d:void 0,uris:null==d?[i]:void 0,offset:null!=d?{uri:i}:void 0,position_ms:null!=l?l:0}}).then((function(n){return null==f?n:p.put(e,t,{url:u.SpotifyEndpoints.PLAYER_REPEAT,query:{device_id:s,state:f?"context":"off"}})})).then((function(e){return o.default.dispatch({type:c.ActionTypes.SPOTIFY_PLAYER_PLAY,id:n,position:null!=l?l:0}),e}))},t.pause=function(e,t){return p.put(e,t,{url:u.SpotifyEndpoints.PLAYER_PAUSE}).then((function(e){return o.default.dispatch({type:c.ActionTypes.SPOTIFY_PLAYER_PAUSE}),e}))},t.fetchIsSpotifyProtocolRegistered=function(){if(l.default.isProtocolRegistered())return;s.default.isDesktop()&&a.default.isProtocolRegistered(u.SPOTIFY_APP_PROTOCOL).then((function(e){o.default.dispatch({type:c.ActionTypes.SPOTIFY_SET_PROTOCOL_REGISTERED,isRegistered:e})}))},t.setActiveDevice=function(e,t){o.default.dispatch({type:c.ActionTypes.SPOTIFY_SET_ACTIVE_DEVICE,accountId:e,deviceId:t})},t.SpotifyAPI=void 0;var r=d(n(14)),i=n(57),o=d(n(2)),a=d(n(312)),s=d(n(16)),u=n(293),l=d(n(1310)),c=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(){return(f=Object.assign||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}).apply(this,arguments)}function _(t,n,r,o,a){return void 0===a&&(a=1),o=f({},o,{headers:{authorization:"Bearer "+r}}),t(o).then((function(e){return 202===e.status?Promise.reject(e):e})).catch((function(r){var s=!0!==o.onlyRetryOnAuthorizationErrors&&202===r.status;return(401===r.status||s)&&a>0?(202===r.status?(0,i.timeoutPromise)(5e3):Promise.resolve()).then((function(){return E(n)})).then((function(e){var r=e.body.access_token;return _(t,n,r,o,a-1)})).then((function(t){return new Promise((function(n){return e((function(){return n(t)}))}))})):Promise.reject(r)}))}var p={get:_.bind(null,r.default.get),put:_.bind(null,r.default.put)};function E(e){return r.default.get({url:c.Endpoints.CONNECTION_ACCESS_TOKEN(c.PlatformTypes.SPOTIFY,e),oldFormErrors:!0}).catch((function(t){if(401===t.status)o.default.dispatch({type:c.ActionTypes.SPOTIFY_ACCOUNT_ACCESS_TOKEN_REVOKE,accountId:e});else if(429===t.status){var n=1e3*t.headers["retry-after"]||5e3;return(0,i.timeoutPromise)(n).then((function(){return E(e)}))}return Promise.reject(t)})).then((function(t){var n=t.body.access_token;return o.default.dispatch({type:c.ActionTypes.SPOTIFY_ACCOUNT_ACCESS_TOKEN,accountId:e,accessToken:n}),t}))}t.SpotifyAPI=p}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?16:t,r=e.height,i=void 0===r?16:r,s=e.color,c=void 0===s?"currentColor":s,d=function(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}(e,["width","height","color"]);return o.createElement("svg",u({},(0,a.default)(d),{width:n,height:i,viewBox:"0 0 16 16"}),l("path",{d:"M10.5906 6.39993L9.19223 7.29993C8.99246 7.39993 8.89258 7.39993 8.69281 7.29993C8.59293 7.19993 8.39317 7.09993 8.29328 6.99993C7.89375 6.89993 7.5941 6.99993 7.29445 7.19993L6.79504 7.49993L4.29797 9.19993C3.69867 9.49993 2.99949 9.39993 2.69984 8.79993C2.30031 8.29993 2.50008 7.59993 2.99949 7.19993L5.99598 5.19993C6.79504 4.69993 7.79387 4.49993 8.69281 4.69993C9.49188 4.89993 10.0912 5.29993 10.5906 5.89993C10.7904 6.09993 10.6905 6.29993 10.5906 6.39993Z",fill:c}),l("path",{d:"M13.4871 7.79985C13.4871 8.19985 13.2874 8.59985 12.9877 8.79985L9.89135 10.7999C9.29206 11.1999 8.69276 11.3999 7.99358 11.3999C7.69393 11.3999 7.49417 11.3999 7.19452 11.2999C6.39545 11.0999 5.79616 10.6999 5.29674 10.0999C5.19686 9.89985 5.29674 9.69985 5.39663 9.59985L6.79499 8.69985C6.89487 8.59985 7.09463 8.59985 7.19452 8.69985C7.39428 8.79985 7.59405 8.89985 7.69393 8.99985C8.09346 8.99985 8.39311 8.99985 8.69276 8.79985L9.39194 8.39985L11.3896 6.99985L11.6892 6.79985C12.1887 6.49985 12.9877 6.59985 13.2874 7.09985C13.4871 7.39985 13.4871 7.59985 13.4871 7.79985Z",fill:c}))}c.displayName="Partner"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){i.default.track(o.AnalyticEvents.AGE_GATE_SUBMITTED,{dob:(0,r.default)().diff(e,"years")<18?e.format("YYYY-MM-DD"):null,source:{section:t}})};var r=a(n(5)),i=a(n(13)),o=n(1);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ImagePositions=t.Types=void 0;var r,i=_(n(0)),o=d(n(9)),a=d(n(467)),s=d(n(55)),u=d(n(474)),l=_(n(159)),c=d(n(5747));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function _(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function p(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(){return(E=Object.assign||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}).apply(this,arguments)}var h=a.default.Types;t.Types=h;var m={LEFT:"left",RIGHT:"right"};t.ImagePositions=m;var v=function(e){var t,n,r,d,f=e.type,_=void 0===f?a.default.Types.DANGER:f,h=e.imageData,v=e.button,T=e.className,g=e.iconClassName,I=e.title,S=e.body,y=e.style,A=e.align,O=void 0===A?s.default.Align.START:A,N=s.default.Direction.HORIZONTAL;if(null!=h){var R=h.position,b=function(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}(h,["position"]);r=p(s.default.Child,{grow:0,shrink:0},void 0,i.createElement("img",E({alt:"",className:(0,o.default)(c.default.icon,g)},b))),R===m.RIGHT&&(N=s.default.Direction.HORIZONTAL_REVERSE)}else null!=v&&(d=v);var L=!0;return _===a.default.Types.PRIMARY&&(L=!1),p(a.default,{className:(0,o.default)(c.default.formNotice,T),type:_,style:y},void 0,p(s.default,{direction:N,align:O},void 0,r,p(s.default.Child,{},void 0,I?p(l.default,{faded:!0,tag:l.Tags.H5,className:(0,o.default)(c.default.formNoticeTitle,(t={},t[c.default.whiteText]=L,t))},void 0,I):null,p(u.default,{className:(0,o.default)(c.default.formNoticeBody,(n={},n[c.default.whiteText]=L,n))},void 0,S),d)))};v.displayName="FormNotice",v.Types=a.default.Types;var T=v;t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"guild",id:"2021-04_stage_discovery_public_guilds",label:"Stage Discovery for Guilds",defaultConfig:{enablePublicStageDiscoveryForGuild:!1},treatments:[{id:1,label:"Enables guild to use the Stage Discovery surface",config:{enablePublicStageDiscoveryForGuild:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-05_stage_public_toggle_users",label:"Stage Public Toggle for Users",defaultConfig:{enablePublicStageToggle:!1},treatments:[{id:1,label:"Enables users to turn their stages public",config:{enablePublicStageToggle:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-04_stage_discovery",label:"Stage Discovery for Users",defaultConfig:{enableStageDiscoveryForUser:!1},treatments:[{id:1,label:"Enables Stage Discovery surface for the user",config:{enableStageDiscoveryForUser:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?24:t,r=e.height,i=void 0===r?24:r,s=e.color,c=void 0===s?"currentColor":s,d=e.className,f=e.foreground,_=function(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}(e,["width","height","color","className","foreground"]);return o.createElement("svg",u({},(0,a.default)(_),{className:d,width:n,height:i,viewBox:"0 0 24 24"}),l("path",{className:f,fill:c,d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM11 19.93C7.05 19.44 4 16.08 4 12C4 11.38 4.08 10.79 4.21 10.21L9 15V16C9 17.1 9.9 18 11 18V19.93ZM17.9 17.39C17.64 16.58 16.9 16 16 16H15V13C15 12.45 14.55 12 14 12H8V10H10C10.55 10 11 9.55 11 9V7H13C14.1 7 15 6.1 15 5V4.59C17.93 5.78 20 8.65 20 12C20 14.08 19.2 15.97 17.9 17.39Z"}))}c.displayName="Public"},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Looks=void 0,t.Looks=r,function(e){e[e.FILLED=0]="FILLED"}(r||(t.Looks=r={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o=p(n(0)),a=f(n(9)),s=f(n(1281)),u=f(n(1261)),l=n(314),c=p(n(248)),d=f(n(5759));function f(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function E(){return(E=Object.assign||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}).apply(this,arguments)}function h(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}!function(e){e[e.OUTGOING=0]="OUTGOING",e[e.INCOMING=1]="INCOMING"}(i||(i={}));var v=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var o=r.prototype;return o.renderStatus=function(){var e=this.props,t=e.muted,n=e.deafen,r=n?s.default:u.default;return t||n?h(r,{className:d.default.status},"status"):null},o.renderBorder=function(){var e,t=this.props.speaking;return h("div",{className:(0,a.default)(d.default.border,(e={},e[d.default.speaking]=t,e))},"border")},o.renderVoiceCallAvatar=function(){var e,t=this.props,n=t.src,r=t.disabled,o=t.ringing,s=t.ringingType,u=t.avatarClassName,f=t.muted,_=t.deafen,p=t.size,E=t.renderIcon,m=(0,l.getAvatarSize)(p),v=h("img",{src:n,alt:" ",className:(0,a.default)(d.default.voiceAvatar,u,(e={},e[d.default.ringingOutgoing]=o&&s===i.OUTGOING,e))});if(r)return v;var T=c.MaskIDs.AVATAR_DEFAULT;return null!=E?T=p===l.Sizes.SIZE_32?c.MaskIDs.AVATAR_CALL_ICON_32:c.MaskIDs.AVATAR_CALL_ICON:(f||_)&&(T=c.MaskIDs.AVATAR_VOICE_CALL_80),h(c.default,{className:d.default.callAvatarMask,width:m,height:m,mask:T},void 0,null==E?void 0:E(),v,f||_?this.renderStatus():this.renderBorder())},o.render=function(){var e,t=this.props,n=t.size,r=t.onClick,o=t.style,s=t.onContextMenu,u=t.className,c=t.ringingType,f=t.ringing,_=(0,a.default)(d.default.wrapper,((e={})[d.default.clickable]=null!=r,e[d.default.ringingOutgoing]=f&&c===i.OUTGOING,e[d.default.ringingIncoming]=f&&c===i.INCOMING,e),u),p=(0,l.getAvatarSize)(n);return h("div",{style:E({height:p,width:p},o),onContextMenu:s,className:_},void 0,this.renderVoiceCallAvatar())},r}(o.PureComponent);v.displayName="CallAvatar",v.defaultProps={size:l.Sizes.SIZE_80,ringingType:i.OUTGOING,speaking:!1,soundsharing:!1,ringing:!1,muted:!1,deafen:!1,hasVideo:!1,mirror:!1,disabled:!1,paused:!1},v.RingingType=i;var T=v;t.default=T},function(e,t,n){e.exports=n.p+"b931523a8f5fe4156295af49092c936f.svg"},function(e,t,n){e.exports=n.p+"a653d9adebbf38303bb5039dfa352052.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,r.transitionTo)(i.Routes.CHANNEL(e.guildId,e.channelId))};var r=n(42),i=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trackGuildNotificationSettingsUpdate=function(e,t,n){var r=t.suppress_everyone,o=t.suppress_roles,a=t.muted,u=t.mute_config,l=t.mobile_push,f=t.message_notifications,_=d(e),p=_.guild_suppress_everyone,E=_.guild_suppress_roles,h=_.guild_is_muted,m=_.guild_muted_until,v=_.guild_receive_mobile_push,T=_.guild_message_notification_settings;i.default.trackWithMetadata(s.AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED,{update_type:s.NotificationSettingsUpdateType.GUILD,guild_id:e,guild_suppress_everyone:null!=r?r:p,guild_suppress_roles:null!=o?o:E,guild_is_muted:null!=a?a:h,guild_muted_until:null!=u&&null!=u.end_time?new Date(u.end_time).getTime():m,guild_receive_mobile_push:null!=l?l:v,guild_message_notification_settings:null!=f?c[f]:T,location:n})},t.trackChannelNotificationSettingsUpdate=function(e,t,n,r){var a=n.muted,u=n.mute_config,_=n.message_notifications,p=f(e,t),E=p.channel_is_muted,h=p.channel_muted_until,m=p.channel_message_notification_settings;E=null!=a?a:E,h=null!=u&&null!=u.end_time?new Date(u.end_time).getTime():h,m=null!=_?c[_]:m;var v=null==e?null:!0===E||null!=m,T=o.default.getChannel(t);i.default.trackWithMetadata(s.AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED,l({update_type:s.NotificationSettingsUpdateType.CHANNEL,guild_id:e,channel_id:t,parent_id:null!=T?T.parent_id:null},d(e),{channel_is_overridden:v,channel_is_muted:E,channel_muted_until:h,channel_message_notification_settings:m,location:r}))},t.getCurrentChannelSettings=f,t.MessageNotificationSettings=void 0;var r,i=u(n(106)),o=u(n(10)),a=u(n(181)),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||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}).apply(this,arguments)}var c=Object.freeze(((r={})[s.UserNotificationSettings.ALL_MESSAGES]="All",r[s.UserNotificationSettings.ONLY_MENTIONS]="Mentions",r[s.UserNotificationSettings.NO_MESSAGES]="Nothing",r[s.UserNotificationSettings.NULL]=null,r));function d(e){if(null==e)return{};var t=a.default.isMuted(e),n=a.default.getMuteConfig(e);return{guild_suppress_everyone:a.default.isSuppressEveryoneEnabled(e),guild_suppress_roles:a.default.isSuppressRolesEnabled(e),guild_is_muted:t,guild_muted_until:null!=n&&null!=n.end_time?new Date(n.end_time).getTime():null,guild_receive_mobile_push:a.default.isMobilePushEnabled(e),guild_message_notification_settings:c[a.default.getMessageNotifications(e)]}}function f(e,t){var n=a.default.isChannelMuted(e,t),r=a.default.getChannelMuteConfig(e,t);return{channel_is_muted:n,channel_muted_until:null!=r&&null!=r.end_time?new Date(r.end_time).getTime():null,channel_message_notification_settings:c[a.default.getChannelMessageNotifications(e,t)]}}t.MessageNotificationSettings=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n)}(n(0));var r,i=d(n(29)),o=n(85),a=n(35),s=d(n(24)),u=d(n(6)),l=d(n(5774)),c=d(n(1427));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function _(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.onClose,n=e.transitionState,r=(0,o.useUID)();return _(a.ModalRoot,{transitionState:n,"aria-labelledby":r,size:a.ModalSize.SMALL},void 0,_(a.ModalContent,{className:l.default.content},void 0,_(a.ModalCloseButton,{className:l.default.closeButton,onClick:t}),_("img",{className:l.default.image,src:c.default,alt:""}),_(s.default,{className:l.default.title,id:r,size:s.default.Sizes.SIZE_24,color:s.default.Colors.HEADER_PRIMARY},void 0,u.default.Messages.INACCESSIBLE_CHANNEL_LINK_TITLE),_(s.default,{className:l.default.subtitle,size:s.default.Sizes.SIZE_16,color:s.default.Colors.HEADER_SECONDARY},void 0,u.default.Messages.INACCESSIBLE_CHANNEL_LINK_SUBTITLE)),_(a.ModalFooter,{},void 0,_(i.default,{className:l.default.button,color:i.default.Colors.BRAND,onClick:t,size:i.default.Sizes.LARGE},void 0,u.default.Messages.OKAY)))}p.displayName="InaccessibleChannelLinkModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseOAuth2AuthorizeProps=W,t.OAuth2AuthorizePage=K,t.OAuth2AuthorizeModal=z,t.openOAuth2Modal=function(e,t){(0,h.openModal)((function(t){return i.createElement(E.ModalRoot,F({},t,{size:E.ModalSize.DYNAMIC,"aria-labelledby":j}),i.createElement(z,F({},t,e,{cancelCompletesFlow:!1,callback:J})))}),{onCloseCallback:t})},t.isOAuth2Link=function(e){var t=s.default.parse(e),n=t.hostname,r=void 0===n?"":n,i=t.host,o=t.path,a=t.query;if(null!=o&&null!=a&&(S.default.isDiscordHostname(r)||i===window.location.host)&&(o.startsWith("/api"+w.Endpoints.OAUTH2_AUTHORIZE)||o.startsWith(w.Routes.OAUTH2_AUTHORIZE)))return W(a);return null};var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=Y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(394),a=n(192),s=G(n(142)),u=G(n(63)),l=G(n(1166)),c=G(n(89)),d=G(n(11)),f=G(n(29)),_=G(n(1187)),p=G(n(151)),E=n(35),h=n(41),m=G(n(24)),v=G(n(272)),T=G(n(13)),g=n(1188),I=G(n(78)),S=G(n(186)),y=n(425),A=n(5474),O=n(458),N=n(1429),R=G(n(5475)),b=G(n(5476)),L=G(n(5477)),D=n(5478),C=G(n(5479)),M=n(776),P=n(1384),w=n(1),U=G(n(6)),k=G(n(5787));function G(e){return e&&e.__esModule?e:{default:e}}function Y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Y=function(){return e},e}function x(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function V(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){x(o,r,i,a,s,"next",e)}function s(e){x(o,r,i,a,s,"throw",e)}a(void 0)}))}}function H(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function F(){return(F=Object.assign||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}).apply(this,arguments)}var B,j="oauth2-authorize-header-id";function W(e){var t=(0,o.parse)(e,{arrayFormat:"bracket"}),n=I.default.NONE;try{n=u.default.deserialize(t.permissions||"0")}catch(e){}return{clientId:t.client_id||"",scopes:(t.scope||"").split(" ").filter((function(e){return e.length>0})),responseType:t.response_type,redirectUri:t.redirect_uri,codeChallenge:t.code_challenge,codeChallengeMethod:t.code_challenge_method,state:t.state,permissions:n,guildId:t.guild_id,channelId:t.channel_id,prompt:t.prompt,disableGuildSelect:"true"===t.disable_guild_select}}function K(){var e=W((0,a.useLocation)().search);return H(M.OAuth2Page,{},void 0,i.createElement(X,F({},e,{showLogout:!0})))}function z(e){return H(M.OAuth2Modal,{},void 0,i.createElement(X,F({},e,{scrollable:!0})))}!function(e){e[e.AUTHORIZE_SCOPES=0]="AUTHORIZE_SCOPES",e[e.AUTHORIZE_BOT_PERMISSIONS=1]="AUTHORIZE_BOT_PERMISSIONS",e[e.AUTHORIZE_CAPTCHA=2]="AUTHORIZE_CAPTCHA"}(B||(B={})),K.displayName="OAuth2AuthorizePage",z.displayName="OAuth2AuthorizeModal";var q=H(p.default,{});function X(e){var t,n,r=e.clientId,o=e.scopes,s=e.responseType,p=e.redirectUri,E=e.codeChallenge,h=e.codeChallengeMethod,S=e.state,M=e.guildId,G=e.channelId,Y=e.permissions,x=e.prompt,F=e.disableGuildSelect,W=e.showLogout,K=void 0!==W&&W,z=e.scrollable,X=void 0!==z&&z,J=e.authorization,Q=e.callback,Z=e.onClose,$=e.cancelCompletesFlow,ee=void 0===$||$,te=i.useMemo((function(){return o.filter((function(e){return!O.RemovedScopes.includes(e)}))}),[o]),ne=(0,a.useLocation)(),re=(0,l.default)(),ie=i.useState(!0),oe=ie[0],ae=ie[1],se=i.useState(null),ue=se[0],le=se[1],ce=i.useState(null),de=ce[0],fe=ce[1],_e=i.useState(I.default.NONE),pe=_e[0],Ee=_e[1],he=i.useState(B.AUTHORIZE_SCOPES),me=he[0],ve=he[1],Te=i.useState(null),ge=Te[0],Ie=Te[1],Se=i.useState(O.OrderedAccountScopes.filter((function(e){return te.includes(e)})))[0],ye=i.useState(M||null),Ae=ye[0],Oe=ye[1],Ne=i.useState(G||null),Re=Ne[0],be=Ne[1],Le=i.useCallback(function(){var e=V(regeneratorRuntime.mark((function e(t,n){var i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t||ee){e.next=3;break}return null!=Q&&(Q(),null==Z||Z()),e.abrupt("return");case 3:return e.prev=3,e.next=6,(0,y.authorize)(t,r,te,s,p,E,h,S,u.default.remove(null!=Y?Y:I.default.NONE,pe),n,null!=Ae?Ae:void 0,null!=Re?Re:void 0);case 6:i=e.sent,null!=Q?(Q(i.location),null==Z||Z()):null!=i.location&&(window.location=i.location),e.next=16;break;case 10:e.prev=10,e.t0=e.catch(3),o=e.t0.body,fe(o),null!=o.captcha_key?ve(B.AUTHORIZE_CAPTCHA):o.message?(Ie(new Error(o.message)),ve(B.AUTHORIZE_SCOPES)):(Ie(o),ve(B.AUTHORIZE_SCOPES)),ae(!1);case 16:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t,n){return e.apply(this,arguments)}}(),[Q,r,E,h,pe,Z,Y,p,s,te,Ae,Re,S,ee]),De=i.useCallback(V(regeneratorRuntime.mark((function e(){var t,n,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(oe){e.next=2;break}return e.abrupt("return");case 2:if(d.default.isAuthenticated()){e.next=5;break}return(0,y.logoutWithRedirect)(ne),e.abrupt("return");case 5:if(e.prev=5,null==J){e.next=10;break}e.t0=J,e.next=13;break;case 10:return e.next=12,(0,y.fetchAuthorization)(r,te,s,p,E,h,S);case 12:e.t0=e.sent;case 13:t=e.t0,le((0,A.convertOAuth2Authorization)(t)),x===N.OAuth2Prompts.NONE&&t.authorized?Le(!0):ae(!1),T.default.track(w.AnalyticEvents.OAUTH2_AUTHORIZE_VIEWED,{application_id:t.application.id}),e.next=32;break;case 19:if(e.prev=19,e.t1=e.catch(5),n=e.t1.status,i=e.t1.body,401!==n){e.next=26;break}return(0,y.logoutWithRedirect)(ne),e.abrupt("return");case 26:if(null==Q){e.next=30;break}return Q(),null==Z||Z(),e.abrupt("return");case 30:Ie(new Error(null!=i.message?i.message:Object.keys(i)[0]+": "+Object.values(i)[0])),ae(!1);case 32:case"end":return e.stop()}}),e,null,[[5,19]])}))),[J,Q,r,E,h,oe,ne,Z,x,p,s,te,Le,S]),Ce=i.useCallback((function(e,t){Ee((function(n){return e?u.default.remove(n,t):u.default.add(n,t)}))}),[]);if(i.useEffect((function(){var e=te.filter((function(e){return!O.ValidScopes.includes(e)}));0===te.length?(Ie(new Error("No scopes were provided.")),ae(!1)):e.length>0?(Ie(new Error("Invalid scope: "+e[0])),ae(!1)):De()}),[De,te]),i.useEffect((function(){var e;null!=ue&&(null==(null===(e=ue.guilds)||void 0===e?void 0:e.find((function(e){return e.id===Ae})))&&(Oe(null),be(null)))}),[ue,Ae]),ge instanceof Error)return H(P.OAuth2Error,{message:ge.message});if(oe||null==ue)return q;var Me,Pe,we,Ue=new c.default(ue.user),ke=null===(t=ue.bot)||void 0===t?void 0:t.approximate_guild_count,Ge=!1,Ye=!0;switch(me){case B.AUTHORIZE_SCOPES:var xe=null==ge||ge instanceof Error?{}:ge,Ve=null===(n=ue.guilds)||void 0===n?void 0:n.sort((function(e,t){return e.name.toLowerCase().localeCompare(t.name.toLowerCase())})),He=te.includes(w.OAuth2Scopes.BOT)||te.includes(w.OAuth2Scopes.WEBHOOK_INCOMING)||te.includes(w.OAuth2Scopes.APPLICATIONS_COMMANDS);Me=i.createElement(i.Fragment,null,H(b.default,{application:ue.application,accountScopes:Se,errors:xe}),He?H(D.GuildSelector,{error:(xe[w.OAuth2Scopes.BOT]||xe[w.OAuth2Scopes.APPLICATIONS_COMMANDS]||[])[0],selectedGuildId:Ae,onGuildChange:function(e){return Oe(e)},guilds:Ve||[],disabled:""!==Ae&&!0===F}):null,te.includes(w.OAuth2Scopes.WEBHOOK_INCOMING)?H(D.WebhookGuildChannelSelector,{error:(xe[w.OAuth2Scopes.WEBHOOK_INCOMING]||[])[0],selectedChannelId:Re,selectedGuildId:Ae,onChannelChange:function(e){return be(e)}}):null),te.includes(w.OAuth2Scopes.BOT)&&!u.default.equals(Y,I.default.NONE)&&(we=B.AUTHORIZE_BOT_PERMISSIONS);var Fe=He&&null==Ae,Be=te.includes(w.OAuth2Scopes.WEBHOOK_INCOMING)&&null==Re;Ge=Fe||Be;break;case B.AUTHORIZE_BOT_PERMISSIONS:Me=H(L.default,{application:ue.application,permissions:null!=Y?Y:I.default.NONE,deniedPermissions:pe,onPermissionsChange:Ce,guild:(null==ue?void 0:ue.guilds).filter((function(e){return e.id===Ae}))[0]}),Pe=B.AUTHORIZE_SCOPES;break;case B.AUTHORIZE_CAPTCHA:Me=H("div",{className:k.default.captcha},void 0,H(m.default,{size:m.default.Sizes.SIZE_14,color:m.default.Colors.HEADER_SECONDARY,className:k.default.captchaLabel},void 0,U.default.Messages.BEEP_BOOP),H(_.default,{captchaService:(0,g.parseCaptchaType)(null==de?void 0:de.captcha_service),sitekey:null==de?void 0:de.captcha_sitekey,className:k.default.recaptcha,theme:re,onVerify:function(e){return Le(!0,e)}})),Ye=!1}var je=Ye&&null==we?H(R.default,{application:ue.application,scopes:te,redirectUri:ue.redirect_uri||null,approximateGuildCount:void 0!==ke?ke:null}):null,We=Ye?H("div",{className:k.default.footer},void 0,null!=Pe?H(f.default,{look:f.default.Looks.LINK,color:f.default.Colors.PRIMARY,onClick:function(){return ve(Pe)}},void 0,U.default.Messages.BACK):H(f.default,{look:f.default.Looks.LINK,color:f.default.Colors.PRIMARY,onClick:function(){return Le(!1)}},void 0,U.default.Messages.CANCEL),null!=we?H(f.default,{onClick:function(){return ve(we)},disabled:Ge},void 0,U.default.Messages.CONTINUE):H(f.default,{onClick:function(){return Le(!0)},disabled:Ge},void 0,U.default.Messages.AUTHORIZE)):null,Ke=i.createElement(i.Fragment,null,H(C.default,{id:j,user:Ue,application:ue.application,bot:ue.bot,accountScopes:Se,showLogout:K||!1,location:ne}),Me,je);return H("div",{className:k.default.authorize},void 0,X?H(v.default,{className:k.default.scrollContent},void 0,Ke):H("div",{className:k.default.content},void 0,Ke),We)}function J(e){if(null!=e){var t=s.default.parse(e,!0),n=t.host,r=t.path,o=t.query,a=S.default.isDiscordHostname(n)||window.location.host===n;if(a&&r===w.Routes.OAUTH2_AUTHORIZED)(0,h.openModal)((function(e){return i.createElement(E.ModalRoot,F({},e,{size:E.ModalSize.DYNAMIC,"aria-labelledby":j}),H(M.OAuth2Modal,{},void 0,H(P.OAuth2Success,{message:U.default.Messages.AUTHORIZED,onClose:e.onClose})))}));else if(a&&(null==r?void 0:r.startsWith(w.Routes.OAUTH2_ERROR)))(0,h.openModal)((function(e){var t=o.error_description||o.error||U.default.Messages.OAUTH2_UNKNOWN_ERROR;return Array.isArray(t)&&(t=t[0]),i.createElement(E.ModalRoot,F({},e,{size:E.ModalSize.DYNAMIC,"aria-labelledby":j}),H(M.OAuth2Modal,{},void 0,H(P.OAuth2Error,{message:t,onClose:e.onClose}),";"))}));else{var u;null===(u=window.open(e,"_blank"))||void 0===u||u.focus()}}}X.displayName="OAuth2Authorize"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPermissionName=function(e){switch(e){case i.Permissions.ADMINISTRATOR:return o.default.Messages.ADMINISTRATOR;case i.Permissions.MANAGE_GUILD:return o.default.Messages.MANAGE_SERVER;case i.Permissions.MANAGE_ROLES:return o.default.Messages.MANAGE_ROLES;case i.Permissions.MANAGE_CHANNELS:return o.default.Messages.MANAGE_CHANNELS;case i.Permissions.KICK_MEMBERS:return o.default.Messages.KICK_MEMBERS;case i.Permissions.BAN_MEMBERS:return o.default.Messages.BAN_MEMBERS;case i.Permissions.CREATE_INSTANT_INVITE:return o.default.Messages.CREATE_INSTANT_INVITE;case i.Permissions.MANAGE_NICKNAMES:return o.default.Messages.MANAGE_NICKNAMES;case i.Permissions.CHANGE_NICKNAME:return o.default.Messages.CHANGE_NICKNAME;case i.Permissions.MANAGE_EMOJIS:return o.default.Messages.MANAGE_EMOJIS_AND_STICKERS;case i.Permissions.MANAGE_WEBHOOKS:return o.default.Messages.MANAGE_WEBHOOKS;case i.Permissions.VIEW_AUDIT_LOG:return o.default.Messages.VIEW_AUDIT_LOG;case i.Permissions.VIEW_CHANNEL:return o.default.Messages.READ_MESSAGES;case i.Permissions.SEND_MESSAGES:return o.default.Messages.SEND_MESSAGES;case i.Permissions.SEND_TTS_MESSAGES:return o.default.Messages.SEND_TTS_MESSAGES;case i.Permissions.MANAGE_MESSAGES:return o.default.Messages.MANAGE_MESSAGES;case i.Permissions.EMBED_LINKS:return o.default.Messages.EMBED_LINKS;case i.Permissions.ATTACH_FILES:return o.default.Messages.ATTACH_FILES;case i.Permissions.READ_MESSAGE_HISTORY:return o.default.Messages.READ_MESSAGE_HISTORY;case i.Permissions.MENTION_EVERYONE:return o.default.Messages.MENTION_EVERYONE;case i.Permissions.ADD_REACTIONS:return o.default.Messages.ADD_REACTIONS;case i.Permissions.USE_EXTERNAL_EMOJIS:return o.default.Messages.USE_EXTERNAL_EMOJIS;case i.Permissions.USE_APPLICATION_COMMANDS:return o.default.Messages.USE_APPLICATION_COMMANDS;case i.Permissions.CONNECT:return o.default.Messages.CONNECT;case i.Permissions.SPEAK:return o.default.Messages.SPEAK;case i.Permissions.MUTE_MEMBERS:return o.default.Messages.MUTE_MEMBERS;case i.Permissions.DEAFEN_MEMBERS:return o.default.Messages.DEAFEN_MEMBERS;case i.Permissions.MOVE_MEMBERS:return o.default.Messages.MOVE_MEMBERS;case i.Permissions.USE_VAD:return o.default.Messages.USE_VAD;case i.Permissions.PRIORITY_SPEAKER:return o.default.Messages.PRIORITY_SPEAKER}throw new Error("Unknown permission: "+e)},t.OrderedPermissions=void 0;var r,i=n(1),o=(r=n(6))&&r.__esModule?r:{default:r};var a=[i.Permissions.ADMINISTRATOR,i.Permissions.MANAGE_GUILD,i.Permissions.MANAGE_ROLES,i.Permissions.MANAGE_CHANNELS,i.Permissions.KICK_MEMBERS,i.Permissions.BAN_MEMBERS,i.Permissions.CREATE_INSTANT_INVITE,i.Permissions.MANAGE_NICKNAMES,i.Permissions.CHANGE_NICKNAME,i.Permissions.MANAGE_EMOJIS,i.Permissions.MANAGE_WEBHOOKS,i.Permissions.VIEW_AUDIT_LOG,i.Permissions.VIEW_CHANNEL,i.Permissions.SEND_MESSAGES,i.Permissions.SEND_TTS_MESSAGES,i.Permissions.MANAGE_MESSAGES,i.Permissions.EMBED_LINKS,i.Permissions.ATTACH_FILES,i.Permissions.READ_MESSAGE_HISTORY,i.Permissions.MENTION_EVERYONE,i.Permissions.ADD_REACTIONS,i.Permissions.USE_EXTERNAL_EMOJIS,i.Permissions.USE_APPLICATION_COMMANDS,i.Permissions.CONNECT,i.Permissions.SPEAK,i.Permissions.MUTE_MEMBERS,i.Permissions.DEAFEN_MEMBERS,i.Permissions.MOVE_MEMBERS,i.Permissions.USE_VAD,i.Permissions.PRIORITY_SPEAKER];t.OrderedPermissions=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=S,t.OAuth2Success=y,t.OAuth2Error=A,t.OAuth2AuthorizedPage=O,t.OAuth2ErrorPage=N;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(9)),a=n(394),s=n(262),u=m(n(142)),l=n(42),c=m(n(151)),d=n(35),f=m(n(24)),_=n(776),p=n(1),E=m(n(6)),h=m(n(5786));function m(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function T(){return(T=Object.assign||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}).apply(this,arguments)}function g(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var I=g(c.default,{});function S(e){var t=e.message,n=e.headerClassName,r=e.cta,a=e.spinner,u=e.onClose;return i.createElement(i.Fragment,null,u&&g(d.ModalCloseButton,{onClick:u,className:h.default.closeButton}),g("div",{className:h.default.wrapper},void 0,g(s.Helmet,{title:E.default.Messages.OAUTH2_TITLE}),a?I:null,g("div",{className:(0,o.default)(h.default.header,n)}),g(f.default,{size:f.default.Sizes.SIZE_16,className:h.default.text},void 0,t),r?g(f.default,{size:f.default.Sizes.SIZE_12,color:f.default.Colors.MUTED},void 0,E.default.Messages.OAUTH2_MESSAGE_CTA):null))}function y(e){return i.createElement(S,T({},e,{headerClassName:h.default.headerSuccess}))}function A(e){return i.createElement(S,T({},e,{headerClassName:h.default.headerFailure}))}function O(){return g(_.OAuth2Page,{},void 0,g(y,{message:E.default.Messages.AUTHORIZED,cta:!0}))}function N(e){var t=e.location;i.useEffect((function(){if(null!=t){var e=document.referrer?u.default.parse(document.referrer):null;null!=e&&e.host===window.location.host&&e.pathname===p.Routes.OAUTH2_AUTHORIZE||(0,l.transitionTo)(p.Routes.INDEX)}}),[t]);var n=null!=t?(0,a.parse)(t.search):{},r=n.error_description||n.error||E.default.Messages.OAUTH2_UNKNOWN_ERROR;return g(_.OAuth2Page,{},void 0,g(A,{message:r,cta:!0}))}y.displayName="OAuth2Success",A.displayName="OAuth2Error",O.displayName="OAuth2AuthorizedPage",N.displayName="OAuth2ErrorPage"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(3)),i=d(n(28)),o=d(n(2)),a=d(n(452)),s=d(n(10)),u=d(n(15)),l=d(n(36)),c=d(n(107));n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=new a.default((function(){return 100}),(function(e){var t=0;return 0===e?t=100:e>=1&&e<2?t=70:e>=2&&e<4?t=50:e>=4&&e<7?t=30:e>=7&&(t=10),t}),(function(e){return u.default.getGuild(e)||s.default.getChannel(e)||s.default.getChannel(s.default.getDMFromUserId(e))}),(function(e){__OVERLAY__||i.default.set("selectedChannelGuildFrecency",e)}),100,10),E=null,h=null;function m(e){var t=e.guildId,n=e.channelId;return n!==E&&(E=n||null,null!=n&&p.track(n)),null!=t&&t!==h&&(h=t,p.track(t)),!1}function v(){return p.markDirty(),!1}var T=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n);var o,a,u,d=r.prototype;return d.initialize=function(){this.waitFor(c.default,l.default);var e=i.default.get("selectedChannelGuildFrecency",null);null!=e&&p.overwriteHistory(e)},d.getFrequently=function(){return p.frequently},d.getScore=function(e){return p.getFrecency(e)||0},d.getScoreForDM=function(e){var t=s.default.getDMFromUserId(e);return null!=t?this.getScore(t):0},d.getMaxScore=function(){return 1e3},d.getBonusScore=function(){return 100},o=r,(a=[{key:"frecency",get:function(){return p}}])&&f(o.prototype,a),u&&f(o,u),r}(r.default.Store))(o.default,{CONNECTION_OPEN:function(e){return v()},OVERLAY_INITIALIZE:function(e){return v()},VOICE_CHANNEL_SELECT:m,CHANNEL_SELECT:m});t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(8)),i=u(n(3)),o=u(n(28)),a=u(n(2)),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d,f=s.TableSortDirections.ASCENDING,_=s.GameTableListKeys.LAST_PLAYED,p=!1,E=r.default.debounce((function(){p=!1,h.emitChange()}),200);var h=new(function(e){var t,n,r,i,a;function s(){return e.apply(this,arguments)||this}return n=e,(t=s).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),s.prototype.initialize=function(){var e=o.default.get("GameLibraryViewStore")||{};null!=e.sortDirection&&null!=e.sortKey&&(f=e.sortDirection,_=e.sortKey)},r=s,(i=[{key:"sortDirection",get:function(){return f}},{key:"sortKey",get:function(){return _}},{key:"activeRowKey",get:function(){return d}},{key:"isNavigatingByKeyboard",get:function(){return p}}])&&l(r.prototype,i),a&&l(r,a),s}(i.default.Store))(a.default,{LIBRARY_TABLE_SORT_UPDATE:function(e){var t=e.direction,n=e.key;f=t,_=n,o.default.set("GameLibraryViewStore",{sortDirection:f,sortKey:_})},LIBRARY_TABLE_ACTIVE_ROW_ID_UPDATE:function(e){var t=e.key;e.isKeyboardEvent&&(p=!0,E()),d=t}}),m=h;t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(14)),i=s(n(390)),o=n(1),a=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}var u={changeNickname:function(e,t,n,s){return r.default.patch({url:o.Endpoints.GUILD_MEMBER_NICK(e,n),body:{nick:s},oldFormErrors:!0}).then((function(e){s=e.body.nick,i.default.sendBotMessage(t,s?a.default.Messages.COMMAND_NICK_SUCCESS.plainFormat({nick:s}):a.default.Messages.COMMAND_NICK_RESET)}),(function(e){403===e.status?i.default.sendBotMessage(t,a.default.Messages.COMMAND_NICK_FAILURE_PERMISSION.plainFormat()):i.default.sendBotMessage(t,a.default.Messages.COMMAND_NICK_FAILURE)}))}};t.default=u},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(5528));function i(e){return e&&e.__esModule?e:{default:e}}var o=new(i(n(26)).default)("Queue"),a=function(){function t(e,t){void 0===e&&(e=o),void 0===t&&(t=100),this.logger=e,this.defaultRetryAfter=t,this.queue=new r.default,this.timeout=null,this.draining=!1}var n=t.prototype;return n.enqueue=function(e,t){this.queue.push({message:e,success:t}),this._drainIfNecessary()},n._drainIfNecessary=function(){var t=this;if(null===this.timeout&&0!==this.queue.length&&!0!==this.draining){this.draining=!0;var n=this.queue.shift(),r=n.message,i=n.success;this.drain(r,(function(r,o){if(t.draining=!1,r){var a=r.retryAfter||t.defaultRetryAfter;t.logger.info("Rate limited. Delaying draining of queue for "+a+" ms."),t.timeout=setTimeout((function(){t.queue.unshift(n),t.timeout=null,t._drainIfNecessary()}),a)}else{e((function(){return t._drainIfNecessary()}));try{i(o)}catch(e){t.logger.error("",e)}}}))}},t}();t.default=a}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trackGuildInviteNotificationAction=function(){i.default.trackWithMetadata(o.AnalyticEvents.NOTIFICATION_CTA_CLICKED,{notification_type:o.NotificationTypes.REMINDER_NOTIFICATION,action:o.NotificationActionTypes.GUILD_INVITE,dismissed:!1})},t.trackGuildInviteNotificationDismissed=function(){i.default.trackWithMetadata(o.AnalyticEvents.NOTIFICATION_CTA_CLICKED,{notification_type:o.NotificationTypes.REMINDER_NOTIFICATION,action:o.NotificationActionTypes.GUILD_INVITE,dismissed:!0})};var r,i=(r=n(106))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);var a={show:function(e,t,n,r,a){i.default.dispatch({type:o.ActionTypes.NOTICE_SHOW,notice:{id:a,type:e,message:t,buttonText:n,callback:r}})},dismiss:function(e,t){i.default.dispatch({type:o.ActionTypes.NOTICE_DISMISS,id:e,isTemporary:t})}};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchBuildSize=function(e,t,n,r){return c.apply(this,arguments)};var r=s(n(14)),i=s(n(2)),o=s(n(306)),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function l(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){u(o,r,i,a,s,"next",e)}function s(e){u(o,r,i,a,s,"throw",e)}a(void 0)}))}}function c(){return(c=l(regeneratorRuntime.mark((function e(t,n,s,u){var l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o.default.needsToFetchBuildSize(s)){e.next=2;break}return e.abrupt("return");case 2:return i.default.dispatch({type:a.ActionTypes.APPLICATION_BUILD_SIZE_FETCH_START,buildId:s}),e.prev=3,e.next=6,r.default.post({url:a.Endpoints.APPLICATION_BUILD_SIZE(t,n,s),body:{manifest_ids:u},oldFormErrors:!0});case 6:l=e.sent,i.default.dispatch({type:a.ActionTypes.APPLICATION_BUILD_SIZE_FETCH_SUCCESS,buildId:s,sizeKB:l.body.size_kb}),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(3),i.default.dispatch({type:a.ActionTypes.APPLICATION_BUILD_SIZE_FETCH_FAIL,buildId:s});case 13:case"end":return e.stop()}}),e,null,[[3,10]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=_(n(9)),a=_(n(101)),s=n(277),u=_(n(461)),l=_(n(1393)),c=_(n(1227)),d=_(n(5794)),f=_(n(5701));function _(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(){return(m=Object.assign||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}).apply(this,arguments)}var v=new RegExp("https?://"+(window.GLOBAL_ENV.CDN_HOST||""));function T(e){return"string"==typeof e.content?e.content:S(e.content)}var g=m({},a.default.defaultRules,{heading:m({},a.default.defaultRules.heading,{react:function(e,t,n){var r="h"+e.level;return h(c.default,{tag:r},n.key,t(e.content,n))}}),paragraph:m({},a.default.defaultRules.paragraph,{react:function(e,t,n){return h("div",{className:d.default.paragraph},n.key,t(e.content,n))}}),strong:m({},a.default.defaultRules.strong,{order:6}),em:m({},a.default.defaultRules.em,{order:6}),u:m({},a.default.defaultRules.u,{order:5}),del:m({},a.default.defaultRules.del,{order:6}),link:m({},u.default,{},(0,l.default)({enableBuildOverrides:!1}),{order:6}),blockQuote:m({},a.default.defaultRules.blockQuote,{react:function(e,t,n){return h("blockquote",{className:d.default.blockquote},n.key,T(e))}}),image:m({},a.default.defaultRules.image,{order:6,match:function(e,t,n){var r=a.default.defaultRules.image;if(null==r||null==r.match)return!1;var i=r.match(e,t,n);if(null!=i&&Array.isArray(i)&&i.length>=3){var o=i[2];if("string"==typeof o)return null!=o.match(v)?i:null}return!1}}),inlineCode:m({},a.default.defaultRules.inlineCode,{order:6,react:function(e,t,n){return h("code",{className:d.default.codeInline},n.key,T(e))}}),codeBlock:m({},a.default.defaultRules.codeBlock,{react:function(e,t,r){var i=function(){return h("pre",{},r.key,h("code",{className:(0,o.default)(f.default.scrollbarGhostHairline,"hljs")},void 0,T(e)))};return h(s.LazyLibrary,{createPromise:function(){return Promise.all([n.e(3),n.e(26)]).then(n.t.bind(null,1231,7))},webpackId:1231,renderFallback:i,render:function(t){if(e.lang&&t.hasLanguage(e.lang)&&"string"==typeof e.content){var n=t.highlight(e.lang,e.content,!0);return null==n?i():h("pre",{},r.key,h("code",{className:(0,o.default)(f.default.scrollbarGhostHairline,"hljs",n.language),dangerouslySetInnerHTML:{__html:n.value}}))}return i()}},r.key)}})}),I=a.default.parserFor(g),S=a.default.reactFor(a.default.ruleOutput(g,"react")),y=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,E(t,n),r.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=e.state,i=e.parser,a=(0,e.output)(i(n+"\n\n",m({inline:!1},r)));return h("div",{className:(0,o.default)(d.default.markdown,t)},void 0,a)},r}(i.PureComponent);y.displayName="Markdown",y.rules=g,y.defaultProps={parser:I,output:S};var A=y;t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{react:function(t,n,r){if(e.enableBuildOverrides&&(0,s.isBuildOverrideLink)(t.target))return f(i.Fragment,{},r.key,f(u.default,{url:t.target},t.target));var c=n(t.content,r),d=t.title||(0,o.astToString)(t.content);return f(a.default,{title:d,href:t.target,trusted:function(){return(0,l.isLinkTrusted)(t)}},r.key,c)}}};var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(718),a=c(n(1326)),s=n(307),u=c(n(5540)),l=n(5544);function c(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyStaffBuildOverride=function(e){return c.apply(this,arguments)},t.applyPublicBuildOverride=function(e){return d.apply(this,arguments)},t.clearBuildOverride=function(){return f.apply(this,arguments)},t.getPublicBuildOverrideLink=function(e){return r.default.post({url:(0,a.getAPIEndpoint)("/__development/create_build_override_link"),body:e,headers:{Authorization:i.default.getToken()||""},oldFormErrors:!0}).then((function(e){return{url:e.body.url,error:!1}}),(function(e){return 400===e.status?{url:!1,error:e.body}:{url:!1,error:"Error making API request ("+e.status+")"}}))};var r=s(n(14)),i=s(n(11)),o=s(n(213)),a=n(307);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function l(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){u(o,r,i,a,s,"next",e)}function s(e){u(o,r,i,a,s,"throw",e)}a(void 0)}))}}function c(){return(c=l(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r.default.put({url:(0,a.getAPIEndpoint)("/__development/build_overrides"),body:{overrides:t,version:void 0},headers:{Authorization:i.default.getToken()||""},oldFormErrors:!0});case 3:return n=e.sent,e.prev=4,e.next=7,o.default.flushCookies();case 7:e.next=11;break;case 9:e.prev=9,e.t0=e.catch(4);case 11:return e.abrupt("return",n);case 14:return e.prev=14,e.t1=e.catch(0),e.abrupt("return",e.t1);case 17:case"end":return e.stop()}}),e,null,[[0,14],[4,9]])})))).apply(this,arguments)}function d(){return(d=l(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r.default.put({url:(0,a.getAPIEndpoint)("/__development/link"),body:{payload:t,token:i.default.getToken(),version:void 0},oldFormErrors:!0});case 3:return n=e.sent,e.prev=4,e.next=7,o.default.flushCookies();case 7:e.next=11;break;case 9:e.prev=9,e.t0=e.catch(4);case 11:return e.abrupt("return",n);case 14:return e.prev=14,e.t1=e.catch(0),e.abrupt("return",e.t1);case 17:case"end":return e.stop()}}),e,null,[[0,14],[4,9]])})))).apply(this,arguments)}function f(){return(f=l(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.delete({url:(0,a.getAPIEndpoint)("/__development/build_overrides"),oldFormErrors:!0});case 2:return t=e.sent,e.prev=3,e.next=6,o.default.flushCookies();case 6:e.next=10;break;case 8:e.prev=8,e.t0=e.catch(3);case 10:return e.abrupt("return",t);case 11:case"end":return e.stop()}}),e,null,[[3,8]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.copy=function(e){var t=document.body;if(null==t)throw new Error("[Utils] ClipboardUtils.copy(): assert failed: document.body != null");var n=document.createRange(),r=window.getSelection(),i=document.createElement("textarea");i.value=e,i.contentEditable="true",i.style.visibility="none",t.appendChild(i),n.selectNodeContents(i),null==r||r.removeAllRanges(),null==r||r.addRange(n),i.focus(),i.setSelectionRange(0,e.length);var o=document.execCommand("copy");return t.removeChild(i),o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(3)),a=n(1432),s=p(n(210)),u=p(n(159)),l=n(374),c=n(380),d=p(n(43)),f=p(n(6)),_=p(n(5799));function p(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function h(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={newInstallationPath:null},t.fetchedMetadataPaths=new Set,t.handleChange=function(e){"select"===e?d.default.showOpenDialog(["openDirectory"]).then((function(e){if(null!=e&&e.length>0){var n=e[0];t.setState({newInstallationPath:t.props.installationPaths.find((function(e){return e.path===n}))?null:n}),t.sendChange(n)}})):t.sendChange(e)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,T(t,n);var i=r.prototype;return i.fetchAllDirectoryMetadata=function(){var e=this,t=this.props.installationPaths.map((function(e){return e.path})),n=this.state.newInstallationPath;null!=n&&t.push(n),t=t.filter((function(t){return!e.fetchedMetadataPaths.has(t)})),(0,a.fetchMetadata)(t);for(var r,i=m(t);!(r=i()).done;){var o=r.value;this.fetchedMetadataPaths.add(o)}},i.componentDidMount=function(){this.fetchAllDirectoryMetadata()},i.componentDidUpdate=function(e){this.fetchAllDirectoryMetadata(),this.props.requiredDiskKB===e.requiredDiskKB&&this.props.installationPathsMetadata===e.installationPathsMetadata||this.sendChange(this.props.value)},i.getOptions=function(){var e=this,t=this.props.installationPaths,n=this.state.newInstallationPath,r=t.map((function(t){var n=t.path,r=t.label;return{value:n,label:e.renderLabel(n,r)}}));return null!=n&&r.push({value:n,label:this.renderLabel(n)}),r.push({value:"select",label:f.default.Messages.APPLICATION_INSTALLATION_MODAL_SELECT_DIRECTORY}),r},i.hasEnoughDiskSpace=function(e){var t=this.props,n=t.requiredDiskKB,r=t.installationPathsMetadata,i=null!=r[e]?r[e].availableKB:null;return null==n||null==i||n<i},i.sendChange=function(e){var t=this.props,n=t.installationPathsMetadata;(0,t.onChange)(e,null!=n[e]&&!1===n[e].hasPermission||!this.hasEnoughDiskSpace(e))},i.renderError=function(){var e=this.props,t=e.value,n=e.installationPathsMetadata;return null!=n[t]&&!1===n[t].hasPermission?h("div",{className:_.default.error},void 0,f.default.Messages.APPLICATION_INSTALLATION_MODAL_NO_PERMISSION):this.hasEnoughDiskSpace(t)?null:h("div",{className:_.default.error},void 0,f.default.Messages.APPLICATION_INSTALLATION_MODAL_NOT_ENOUGH_SPACE)},i.renderLabel=function(e,t){var n=this.props.installationPathsMetadata,r=null!=t?t:e;return null!=n[e]&&null!=n[e].availableKB?f.default.Messages.APPLICATION_INSTALLATION_MODAL_DIRECTORY_WITH_SPACE.format({path:r,size:(0,c.formatSize)(n[e].availableKB,{useKibibytes:!0})}):r},i.render=function(){var e=this.props,t=e.value,n=e.className,r=e.autoFocus;return h("div",{className:n},void 0,h(u.default,{tag:u.default.Tags.H5},void 0,f.default.Messages.APPLICATION_INSTALLATION_MODAL_LOCATION),h(l.SingleSelect,{autoFocus:r,options:this.getOptions(),value:t,onChange:this.handleChange}),this.renderError())},r}(i.PureComponent);g.displayName="InstallationLocationSelector";var I=o.default.connectStores([s.default],(function(){return{installationPaths:s.default.installationPaths,installationPathsMetadata:s.default.installationPathsMetadata}}))(g);t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(3)),i=a(n(2)),o=a(n(403));n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=!1,l=!1;var c=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var i=r.prototype;return i.isOpen=function(){return u},i.getState=function(){return{ragingDemon:l}},r}(r.default.Store))(i.default,{SHOW_KEYBOARD_SHORTCUTS:function(e){u=!0},HIDE_KEYBOARD_SHORTCUTS:function(e){return u=!1,void o.default.enable()},ACTIVATE_RAGING_DEMON:function(e){l=!0},DEACTIVATE_RAGING_DEMON:function(e){l=!1}});t.default=c},,function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i,o,a,s,u=1,l={},c=!1,d=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){p(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}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){p(e.data)},r=function(e){o.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(i=d.documentElement,r=function(e){var t=d.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):r=function(e){setTimeout(p,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&p(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(a+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return l[u]=i,r(u),u++},f.clearImmediate=_}function _(e){delete l[e]}function p(e){if(c)setTimeout(p,0,e);else{var t=l[e];if(t){c=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{_(e),c=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(44),n(100))},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(44))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setDeveloperOptionSettings=function(e){i.default.dispatch({type:o.ActionTypes.DEVELOPER_OPTIONS_UPDATE_SETTINGS,settings:e})};var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){e.exports=n.p+"f78426a064bc9dd24847519259bc42af.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.frameLoop=void 0;var r,i=n(122);var o=new(((r=n(1586))&&r.__esModule?r:{default:r}).default);t.frameLoop=o,i.Globals.assign({frameLoop:o})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(null==t)return!0;if("string"==typeof t)return e.includes(t);if("object"!=typeof t)return!1;var n=t[r.RPC_SCOPE_CONFIG.ANY],i=t[r.RPC_SCOPE_CONFIG.ALL];if(Array.isArray(n)&&n.some((function(t){return e.includes(t)})))return!0;if(Array.isArray(i)&&i.every((function(t){return e.includes(t)})))return!0;return!1};var r=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=(0,u.getScrollbarSpecs)(e),c=new Map,d=new n((function(e){e.forEach((function(e){var t,n=e.target;null===(t=c.get(n))||void 0===t||t(e)}))}));return i.forwardRef((function(n,p){var E,h=n.className,m=n.onScroll,v=n.onResize,T=void 0===v?null:v,g=n.dir,I=void 0===g?"ltr":g,S=n.sections,y=n.sectionHeight,A=n.rowHeight,O=n.footerHeight,N=void 0===O?0:O,R=n.renderSection,b=n.renderRow,L=n.renderFooter,D=n.wrapSection,C=n.getAnchorId,M=n.paddingTop,P=n.paddingBottom,w=n.fade,U=void 0!==w&&w,k=n.chunkSize,G=n.style,Y=function(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}(n,["className","onScroll","onResize","dir","sections","sectionHeight","rowHeight","footerHeight","renderSection","renderRow","renderFooter","wrapSection","getAnchorId","paddingTop","paddingBottom","fade","chunkSize","style"]),x=i.useRef(null),V=i.useRef(null),H=i.useState(!1),F=H[0],B=H[1],j=(0,u.useCachedScrollerState)(),W=j.scrollerRef,K=j.scrollerState,z=j.getScrollerState;(0,u.usePaddingFixes)({scrollerRef:W,className:h,specs:r,orientation:"vertical",dir:I});var q=(0,u.useVirtualizedState)({sections:S,sectionHeight:y,rowHeight:A,footerHeight:N,paddingTop:M,paddingBottom:P,chunkSize:k,getScrollerState:z,getAnchorId:C}),X=q.spacerTop,J=q.totalHeight,Q=q.items,Z=q.listComputer,$=q.forceUpdateOnChunkChange,ee=q.anchor,te=(0,u.useScrollSpring)(W),ne=i.useRef(T);i.useLayoutEffect((function(){ne.current=T}));var re=i.useCallback((function(e){var t;(void 0===e&&(e=2),e>K.current.dirty&&(K.current.dirty=e),2===e)&&(null===(t=ne.current)||void 0===t||t.call(ne));$(e)}),[$,K]),ie=i.useCallback((function(){return re()}),[re]);(0,u.useResizeObserverSubscription)({ref:W,onUpdate:ie,key:"container",resizeObserver:d,listenerMap:c});var oe=function(e){var t=i.useRef(e);return i.useEffect((function(){t.current=e}),[e]),i.useCallback((function(){return t.current}),[])}(Q),ae=function(e){var t=i.useRef(e);return i.useEffect((function(){t.current=e}),[e]),i.useCallback((function(e){for(var n=t.current,r=0,i=0;i<n.length;i++){var o=n[i];if(r<=e&&r+o>=e)return[i,e-r];r+=o}return[0,0]}),[])}(S);i.useImperativeHandle(p,(function(){return f({getScrollerNode:function(){return W.current},getScrollerState:z,getItems:oe,getSectionRowFromIndex:ae},(0,u.getAnimatedListScrollHelpers)(W,z,Z,te))}),[W,z,ae,oe,Z,te]);var se=i.useCallback((function(e){re(1),null==x.current?B(!0):clearTimeout(x.current),x.current=setTimeout((function(){x.current=null,B(!1)}),200),null!=m&&m(e)}),[m,re]);return i.useLayoutEffect((function(){2!==K.current.dirty&&(K.current.dirty=2)}),[Q,R,b,L,D,J,X,K]),(0,u.useVirtualizedAnchor)({scrollerRef:W,anchor:ee,getScrollerState:z,listComputer:Z,getAnchorId:C,totalHeight:J}),i.createElement("div",f({ref:W,onScroll:se,className:(0,o.default)(h,(E={},E[e]=!0,E[t]=U,E[l.default.scrolling]=F,E)),style:(0,u.getMergedOrientationStyles)(G)},Y),i.useMemo((function(){return i.createElement("div",{style:{height:J},className:l.default.content,ref:V},_(s.FocusRingScope,{containerRef:V},void 0,function(e){var t=e.renderSection,n=e.renderRow,r=e.renderFooter,i=e.wrapSection,o=e.items,s=[_("div",{style:{height:e.spacerTop}},"---list-spacer-top")],u=[],l=0;o.forEach((function(e){switch(e.section!==l&&u.length>0&&(s.push(null!=i?i(l,u):u),u=[]),l=e.section,e.type){case"section":u.push(t(e));break;case"row":u.push(n(e));break;case"footer":null!=r&&u.push(r(e))}})),u.length>0&&s.push(i?i(l,u):u);return(0,a.default)(s)}({items:Q,renderSection:R,renderRow:b,renderFooter:L,wrapSection:D,spacerTop:X})))}),[Q,R,b,L,D,J,X]))}))};var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=c(n(9)),a=c(n(760)),s=n(88),u=n(414),l=c(n(381));function c(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}function _(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(3)),i=a(n(2)),o=n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u={};var l=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n),r.prototype.getHookError=function(e){return u[e]},r}(r.default.Store))(i.default,{MEDIA_ENGINE_SET_DESKTOP_SOURCE:function(e){u={}},MEDIA_ENGINE_SOUNDSHARE_TRANSMITTING:function(e){delete u[o.MediaEngineHookTypes.SOUND]},MEDIA_ENGINE_SOUNDSHARE_FAILED:function(e){var t=e.errorMessage,n=e.errorCode;u[o.MediaEngineHookTypes.SOUND]={errorMessage:t,errorCode:n}}});t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),i=o(n(2));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=n(1).VideoQualityMode.AUTO;var l=new(function(e){var t,n,r,i,o;function l(){return e.apply(this,arguments)||this}return n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n),r=l,(i=[{key:"mode",get:function(){return u}}])&&a(r.prototype,i),o&&a(r,o),l}(r.default.Store))(i.default,{SET_CHANNEL_VIDEO_QUALITY_MODE:function(e){u=e.mode}});t.default=l},function(e,t,n){e.exports=n.p+"1a7544e1a27a25e87075c01e3fa130e3.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-06_desktop_school_hubs",label:"School Hubs",defaultConfig:{allowCustomHubUI:!1},treatments:[{id:1,label:"Enables custom UI and directory channels for Hubs",config:{allowCustomHubUI:!0}}]});t.default=r},function(e,t,n){var r=n(406),i=n(756),o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):a.test(e)?NaN:+e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){i.default.dispatch({type:o.ActionTypes.ACTIVITY_SYNC_STOP})};var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=null;if(null!=e.emojiId){var n=i.default.getUsableCustomEmojiById(e.emojiId);t=null!=n?{id:n.id,name:n.name,animated:n.animated}:null}else if(null!=e.emojiName){var a=r.default.getByName(r.default.convertSurrogateToName(e.emojiName,!1));t=null!=a?{id:null,name:a.surrogates,animated:!1}:null}return{name:"Custom Status",type:o.ActivityTypes.CUSTOM_STATUS,state:e.text,emoji:t}};var r=a(n(185)),i=a(n(249)),o=n(1);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(8)),i=c(n(3)),o=c(n(2)),a=c(n(5374)),s=c(n(10)),u=c(n(56)),l=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=new a.default(u.default.isMember,(function(e,t){o.default.dispatch({type:l.ActionTypes.GUILD_MEMBERS_REQUEST,guildIds:[e],userIds:t})}));function _(){f.reset()}function p(e,t){return f.request(e,t),!1}function E(e,t){return t.forEach((function(t){var n=t.author,r=t.mentions;null!=n&&p(e,n.id),r.forEach((function(t){return p(e,t.id)}))})),!1}function h(e){var t=e.channelId,n=e.messages,r=s.default.getChannel(t);return null!=r&&null!=r.guild_id&&E(r.guild_id,n)}var m=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(s.default,u.default)},i.requestLurkerGuildUser=function(e,t){p(e,t)},r}(i.default.Store))(o.default,{CONNECTION_CLOSED:function(e){return _()},CONNECTION_OPEN:function(e){return _()},CONNECTION_RESUMED:function(e){return f.requestUnacknowledged(),!1},GUILD_MEMBERS_CHUNK:function(e){var t=e.guildId,n=e.members,r=e.notFound;return n.forEach((function(e){f.acknowledge(t,e.user.id)})),null!=r&&r.forEach((function(e){return f.acknowledge(t,e)})),!1},SEARCH_FINISH:function(e){var t=e.searchId,n=e.messages;return E(t,r.default.flatten(n))},LOAD_MESSAGES_SUCCESS:h,LOAD_MESSAGES_AROUND_SUCCESS:h,LOAD_PINNED_MESSAGES_SUCCESS:h,LOAD_RECENT_MENTIONS_SUCCESS:h});t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_(n(130)),i=_(n(3)),o=_(n(14)),a=_(n(2)),s=_(n(739)),u=_(n(183)),l=n(409),c=_(n(725)),d=_(n(160)),f=n(1);function _(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function h(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){E(o,r,i,a,s,"next",e)}function s(e){E(o,r,i,a,s,"throw",e)}a(void 0)}))}}var m=/live_user_(.*)-\{width\}/,v=null,T=0,g=new Set,I={};function S(e){var t;return null===(t=m.exec(e))||void 0===t?void 0:t[1]}function y(e,t,n){return o.default.get({url:"https://api.twitch.tv/helix"+e,query:t,headers:{"Client-ID":f.TWITCH_CLIENT_ID,Authorization:"Bearer "+n}})}function A(e,t){return O.apply(this,arguments)}function O(){return(O=h(regeneratorRuntime.mark((function e(t,n){var r,i,o,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==(r=I[t])){e.next=3;break}return e.abrupt("return",r);case 3:return e.next=5,y("/games",{id:t},n);case 5:return i=e.sent,o=i.body.data,a=o[0].name,I[t]=a,e.abrupt("return",a);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var N=new(function(){function e(){this._started=!1}var t=e.prototype;return t.start=function(){this._started||(this._started=!0,c.default.isFetching()?s.default.fetch():this._check())},t.stop=function(){this._started=!1,null!=this._nextCheck&&clearTimeout(this._nextCheck),a.default.dirtyDispatch({type:f.ActionTypes.STREAMING_UPDATE,stream:null})},t._checkTwitch=function(){var e=h(regeneratorRuntime.mark((function e(t,n){var r,i,o,a,c,d,_,p,E,h,m,v,T,g=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===n&&(n=null),!t.revoked){e.next=3;break}return e.abrupt("return",null);case 3:if(null!=(n=null!==(r=n)&&void 0!==r?r:t.accessToken)){e.next=6;break}return e.abrupt("return",null);case 6:return e.prev=6,e.next=9,y("/streams",{user_id:t.id,first:1},n);case 9:if(a=e.sent,c=a.body.data,null!=(d=c[0])&&"live"===d.type){e.next=14;break}throw new Error("no stream");case 14:return _=d.thumbnail_url,p=d.game_id,E=d.title,h={large_image:null!=_&&(0,l.getAssetFromImageURL)(f.PlatformTypes.TWITCH,_)||void 0},e.next=18,A(p,n);case 18:return m=e.sent,v=u.default.get(f.PlatformTypes.TWITCH),T=null!==(i=S(_))&&void 0!==i?i:t.name,e.abrupt("return",{url:null===(o=v.getPlatformUserUrl)||void 0===o?void 0:o.call(v,{id:t.id,name:T}),name:v.name,assets:h,details:E,state:m});case 24:if(e.prev=24,e.t0=e.catch(6),401!==e.t0.status||null!=n){e.next=28;break}return e.abrupt("return",s.default.refreshAccessToken(t.type,t.id).then((function(e){return g._checkTwitch(t,e)})).catch((function(){return null})));case 28:return e.abrupt("return",null);case 29:case"end":return e.stop()}}),e,null,[[6,24]])})));return function(t,n){return e.apply(this,arguments)}}(),t._checkYouTube=function(){var e=h(regeneratorRuntime.mark((function e(t,n){var r,i,a,c,d,_,p,E,h=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===n&&(n=null),!t.revoked&&!g.has(t.id)){e.next=3;break}return e.abrupt("return",null);case 3:return e.prev=3,e.next=6,o.default.get({url:"https://www.googleapis.com/youtube/v3/liveBroadcasts",query:{part:"id,snippet",broadcastStatus:"active",broadcastType:"all"},headers:{Authorization:"Bearer "+(null!=n?n:t.accessToken)},oldFormErrors:!0});case 6:if(r=e.sent,!((i=r.body.items).length<1)){e.next=10;break}throw new Error("no stream");case 10:return a=i[0],c=a.id,d=a.snippet,_=d.title,p=d.thumbnails,E={large_image:(0,l.getAssetFromImageURL)(f.PlatformTypes.YOUTUBE,p.high.url)||void 0},e.abrupt("return",{url:(m=c,"https://youtube.com/watch?v="+m),name:u.default.get(f.PlatformTypes.YOUTUBE).name,details:_,assets:E});case 15:if(e.prev=15,e.t0=e.catch(3),401!==e.t0.status||null!=n){e.next=19;break}return e.abrupt("return",s.default.refreshAccessToken(t.type,t.id).then((function(e){return h._checkYouTube(t,e)})).catch((function(){return null})));case 19:return 403===e.t0.status&&g.add(t.id),e.abrupt("return",null);case 21:case"end":return e.stop()}var m}),e,null,[[3,15]])})));return function(t,n){return e.apply(this,arguments)}}(),t._check=function(){var e=this;if(this._started){var t=c.default.getAccounts();if(null!=t){null!=this._nextCheck&&clearTimeout(this._nextCheck);var n=[f.PlatformTypes.TWITCH],r=Date.now();T<=r&&(n.push(f.PlatformTypes.YOUTUBE),T=r+3e5);var i=t.filter((function(e){return n.includes(e.type)})).map((function(t){return t.type===f.PlatformTypes.TWITCH?e._checkTwitch(t):e._checkYouTube(t)}));Promise.all(i).then((function(t){if(e._started){var n=null,r=t.find((function(e){return null!=e}));null!=r&&(n=r),a.default.dispatch({type:f.ActionTypes.STREAMING_UPDATE,stream:n})}e._scheduleCheck()}),(function(){return e._scheduleCheck()}))}}},t._scheduleCheck=function(){var e=this;this._started&&(this._nextCheck=setTimeout((function(){return e._check()}),6e4))},e}());function R(){d.default.enabled?N.start():N.stop()}var b=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var i=r.prototype;return i.initialize=function(){R(),this.waitFor(c.default),this.syncWith([d.default],R)},i.getStream=function(){return v},r}(i.default.Store))(a.default,{STREAMING_UPDATE:function(e){if((0,r.default)(e.stream,v))return!1;v=e.stream||null},USER_CONNECTIONS_UPDATE:function(e){return N._check()}});t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n)}(n(0));var r,i=E(n(9)),o=E(n(1311)),a=E(n(61)),s=E(n(375)),u=E(n(371)),l=E(n(278)),c=E(n(24)),d=n(722),f=E(n(5394)),_=E(n(5395)),p=E(n(5740));function E(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function m(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.guild,n=e.stageInstance,r=e.showGuildPopout,E=e.setShowGuildPopout,h=e.handleGuildNameClick,v=e.source,T=e.speakers,g=e.speakerCount,I=e.audienceCount;var S=m(s.default,{guild:t});return m("div",{className:p.default.contentContainer},void 0,m("div",{className:p.default.headerContainer},void 0,m("div",{className:p.default.guildInfoContainer},void 0,m(l.default,{position:l.default.Positions.RIGHT,shouldShow:r,renderPopout:function(){return m(o.default,{selectedGuildId:t.id})},onRequestClose:function(){return E(!1)}},void 0,(function(){var e;return m(a.default,{className:p.default.flexContainerRow,onClick:h},void 0,m(u.default,{guild:t,size:u.default.Sizes.MINI,className:p.default.guildIcon}),m("div",{className:p.default.flexContainerRow},void 0,m(c.default,{color:c.default.Colors.HEADER_SECONDARY,size:c.default.Sizes.SIZE_14,className:(0,i.default)(p.default.guildName,(e={},e[p.default.disabled]=null==h,e))},void 0,t.name),S))})),m("div",{className:p.default.rightJustifiedContent},void 0,v===d.StageDiscoveryRecommendationSource.FEATURED&&m("div",{className:p.default.featuredTag},void 0,m(c.default,{size:c.default.Sizes.SIZE_14,className:p.default.featuredTagText},void 0,"Featured")),m(f.default,{count:I,className:p.default.audienceCount}))),m(c.default,{color:c.default.Colors.HEADER_PRIMARY,size:c.default.Sizes.SIZE_20,className:p.default.topicText},void 0,n.topic),m(_.default,{guild:t,speakers:T,speakerCount:g})))}v.displayName="LiveStageTileBody"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?32:t,r=e.height,i=void 0===r?32:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 32 32"}),l("rect",{width:"32",height:"32",rx:"16",fill:c}),l("path",{d:"M23 9.99995C19.56 9.99995 16.826 6.43495 16.799 6.39795C16.421 5.89795 15.579 5.89795 15.201 6.39795C15.174 6.43495 12.44 9.99995 9 9.99995C8.447 9.99995 8 10.4479 8 10.9999V17.9999C8 21.8069 14.764 25.4779 15.534 25.8839C15.68 25.9609 15.84 25.9979 16 25.9979C16.16 25.9979 16.32 25.9599 16.466 25.8839C17.236 25.4779 24 21.8069 24 17.9999V10.9999C24 10.4479 23.553 9.99995 23 9.99995ZM19 19.9999L16 17.9999L13 19.9999L14 16.9999L12 14.9999H15L16 11.9999L17 14.9999H20L18 16.9999L19 19.9999Z",className:d}))}c.displayName="StarBadge"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(8)),i=u(n(3)),o=u(n(2)),a=u(n(12)),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(){return(d=Object.assign||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}).apply(this,arguments)}var f=s.FormStates.CLOSED,_=null,p={},E={},h=null,m=null,v=!1,T=!1,g=null,I=null,S=null;function y(e){var t,n,r=a.default.getCurrentUser();if(null==r)return A();_=e.section||_,null!=e.subsection&&null!=_&&(p[_]=e.subsection),T=!!e.openWithoutBackstack,f=s.FormStates.OPEN,E={},(t={})[s.UserSettingsSections.ACCOUNT]={userId:r.id,username:r.username,discriminator:r.discriminator,email:r.email,avatar:r.avatar,password:"",newPassword:null,claimed:r.isClaimed()},m=d({},h=t),I=e.onClose||null,S=null!==(n=e.analyticsLocation)&&void 0!==n?n:null}function A(){f=s.FormStates.CLOSED,v=!1,h=null,m=null,_=null,p={},I=null,S=null}function O(){f=s.FormStates.OPEN,E={}}var N=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var o,u,d,y=i.prototype;return y.initialize=function(){this.waitFor(a.default)},y.hasChanges=function(){return null!=m&&null!=h&&(!(!this.isOpen()&&g!==s.DrawerTabTypes.USER_SETTINGS)&&!r.default.isEqual(m,h))},y.isOpen=function(){return v},y.getSection=function(){return _},y.shouldOpenWithoutBackstack=function(){return T},y.getProps=function(){return{submitting:f===s.FormStates.SUBMITTING,section:_,subsection:null!=p&&null!=_?p[_]:null,settings:m,errors:E,hasChanges:this.hasChanges(),openWithoutBackstack:T,analyticsLocation:S}},o=i,(u=[{key:"onClose",get:function(){return I}}])&&l(o.prototype,u),d&&l(o,d),i}(i.default.Store))(o.default,{USER_SETTINGS_MODAL_OPEN:function(e){v=!0,y(e)},USER_SETTINGS_MODAL_INIT:y,USER_SETTINGS_MODAL_CLOSE:function(e){return A()},LOGOUT:function(e){return A()},USER_SETTINGS_MODAL_SUBMIT:function(e){f=s.FormStates.SUBMITTING},USER_SETTINGS_MODAL_SUBMIT_FAILURE:function(e){if(f!==s.FormStates.SUBMITTING)return!1;f=s.FormStates.OPEN,_=s.UserSettingsSections.ACCOUNT,E=e.errors||{}},USER_SETTINGS_MODAL_SET_SECTION:function(e){_=e.section,null!=e.subsection&&(p[_]=e.subsection)},USER_SETTINGS_MODAL_UPDATE_ACCOUNT:function(e){var t=e.settings;null==m&&(m={});var n=m[s.UserSettingsSections.ACCOUNT];m[s.UserSettingsSections.ACCOUNT]=d({},n,{},t)},USER_SETTINGS_MODAL_SUBMIT_COMPLETE:function(e){return O()},USER_SETTINGS_MODAL_RESET:function(e){return n=a.default.getCurrentUser(),O(),void(n&&((t={})[s.UserSettingsSections.ACCOUNT]={userId:n.id,username:n.username,discriminator:n.discriminator,email:n.email,avatar:n.avatar,password:"",newPassword:null,claimed:n.isClaimed()},m=d({},h=t)));var t,n},DRAWER_SELECT_TAB:function(e){return g=e.tab,null==_&&g===s.DrawerTabTypes.USER_SETTINGS&&y({type:s.ActionTypes.USER_SETTINGS_MODAL_INIT,section:null,subsection:null,openWithoutBackstack:!1})}});t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=N;var r,i=y(n(0)),o=n(95),a=n(3),s=n(417),u=I(n(749)),l=I(n(12)),c=I(n(29)),d=n(35),f=I(n(47)),_=I(n(24)),p=I(n(13)),E=I(n(93)),h=y(n(1314)),m=I(n(1315)),v=n(1),T=I(n(6)),g=I(n(5750));function I(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function A(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function N(e){var t=e.transitionState,n=e.onClose,r=i.useState(null),I=r[0],S=r[1],y=i.useState(null),N=y[0],R=y[1],b=i.useState(!1),L=b[0],D=b[1],C=i.createRef(),M=(0,a.useStateFromStores)([l.default],(function(){return l.default.getNullableCurrentUser()})),P=i.createRef();i.useEffect((function(){u.default.flowStep(s.FlowType.ANY,s.AgeGateSteps.AGE_GATE),p.default.track(v.AnalyticEvents.OPEN_MODAL,{type:"Claim Age Gate"})}),[]),i.useEffect((function(){null!=(null==M?void 0:M.nsfwAllowed)&&n()}),[M,n]);var w=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),null!=I){e.next=3;break}return e.abrupt("return");case 3:return D(!0),e.prev=4,e.next=7,h.submitDateOfBirth(I,v.AnalyticsSections.CLAIM_ACCOUNT_MODAL);case 7:D(!1),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(4),null!=(null===e.t0||void 0===e.t0||null===(r=e.t0.body)||void 0===r?void 0:r.date_of_birth)?(u.default.flowStep(s.FlowType.ANY,s.AgeGateSteps.AGE_GATE_UNDERAGE),h.preventUnderageRegistration(),h.logoutUnderageNewUser(),n()):R(null===e.t0||void 0===e.t0?void 0:e.t0.body.message),D(!1);case 14:case"end":return e.stop()}}),e,null,[[4,10]])})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){O(o,r,i,a,s,"next",e)}function s(e){O(o,r,i,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),U=i.useCallback((function(){var e;null===(e=P.current)||void 0===e||e.focus()}),[P]);return A(d.ModalRoot,{transitionState:t,size:d.ModalSize.DYNAMIC,"aria-label":T.default.Messages.AGE_GATE_HEADER,className:g.default.modal,impressionName:o.ImpressionNames.USER_AGE_GATE,impressionMetadata:{existing_user:!1}},void 0,A(d.ModalContent,{className:g.default.content},void 0,A("div",{className:g.default.image}),A("form",{onSubmit:w},void 0,A(f.default,{className:g.default.title,size:f.default.Sizes.SIZE_24},void 0,T.default.Messages.AGE_GATE_HEADER),A(_.default,{color:_.default.Colors.HEADER_SECONDARY,className:g.default.description,size:_.default.Sizes.SIZE_16},void 0,T.default.Messages.AGE_GATE_BODY.format({helpURL:E.default.getArticleURL(v.HelpdeskArticles.AGE_GATE)})),i.createElement(m.default,{required:!0,autoFocus:!0,wrapperClassName:g.default.formItem,label:T.default.Messages.AGE_GATE_YOUR_BIRTHDAY,name:"birthday",onChange:function(e){return S(e)},onPopulated:U,error:N,value:I,ref:C}),A(c.default,{buttonRef:P,type:"submit",size:c.default.Sizes.LARGE,submitting:L,disabled:null==I,fullWidth:!0},void 0,T.default.Messages.DONE))))}N.displayName="NewUserAgeGate"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateDiscordTag=function(e){if(/^(.+?@.+?\..+?|.+?#\d{4})$/.test(e))return null;if(function(e){var t=e.split("#"),n=t[0],a=t[1];r.default.track(o.AnalyticEvents.FRIEND_REQUEST_FAILED,{reason:"Invalid Username",query:e,discrim_len:(null!=a?a:"").length,username_len:n.length,is_email_like:i.default.isEmail(e),is_num_only:u.test(e)})}(e),/^DiscordTag/i.test(e))return a.default.Messages.ADD_FRIEND_ERROR_DISCORD_TAG_USERNAME;if(u.test(e))return a.default.Messages.ADD_FRIEND_ERROR_NUMBERS_ONLY;if(e.length>0&&-1===e.indexOf("#"))return a.default.Messages.ADD_FRIEND_ERROR_USERNAME_ONLY.format({username:e});return a.default.Messages.ADD_FRIEND_ERROR_OTHER},t.humanizeAbortCode=function(e,t){switch(e){case o.AbortCodes.RELATIONSHIP_INCOMING_DISABLED:return a.default.Messages.ADD_FRIEND_ERROR_INVALID_DISCORD_TAG.format({discordTag:t});case o.AbortCodes.TOO_MANY_FRIENDS:return a.default.Messages.ADD_FRIEND_ERROR_TOO_MANY_FRIENDS;case o.AbortCodes.RELATIONSHIP_ALREADY_FRIENDS:return a.default.Messages.ADD_FRIEND_ERROR_ALREADY_FRIENDS;case o.AbortCodes.RELATIONSHIP_INCOMING_BLOCKED:case o.AbortCodes.RELATIONSHIP_INVALID_SELF:case o.AbortCodes.RELATIONSHIP_INVALUD_USER_BOT:case o.AbortCodes.RELATIONSHIP_INVALID_DISCORD_TAG:default:return a.default.Messages.ADD_FRIEND_ERROR_OTHER}};var r=s(n(13)),i=s(n(5410)),o=n(1),a=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}var u=/^\d+$/},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.startStageInstance=function(e,t,n,r){return u.apply(this,arguments)},t.updateStageInstance=function(e,t,n){return l.apply(this,arguments)},t.endStageInstance=function(e){return i.default.delete(o.Endpoints.STAGE_INSTANCE(e))};var r,i=(r=n(14))&&r.__esModule?r:{default:r},o=n(1);function a(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){a(o,r,i,s,u,"next",e)}function u(e){a(o,r,i,s,u,"throw",e)}s(void 0)}))}}function u(){return(u=s(regeneratorRuntime.mark((function e(t,n,r,a){var s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.default.post({url:o.Endpoints.STAGE_INSTANCES,body:{channel_id:t,topic:n,privacy_level:r,guild_scheduled_event_id:a}});case 2:return s=e.sent,e.abrupt("return",s.body);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(){return(l=s(regeneratorRuntime.mark((function e(t,n,r){var a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.default.patch({url:o.Endpoints.STAGE_INSTANCE(t),body:{topic:n,privacy_level:r}});case 2:return a=e.sent,e.abrupt("return",a.body);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSameSize=s,t.default=function(e,t,n){var r=(0,i.useState)(null),u=r[0],l=r[1],c=(0,i.useRef)(null);function d(e){l((function(t){return null!==t&&s(t,e)?t:e}))}return(0,i.useLayoutEffect)((function(){if(function(e,t){requestAnimationFrame((function(){e.current&&t(e.current.getBoundingClientRect())}))}(e,(function(e){d(a(e,!1))})),t&&e.current){var n=e.current;c.current=(0,o.default)(e.current,(function(t){e.current===n&&d(a(t,!0))})),c.current.observe()}return function(){c.current&&c.current.unobserve()}}),[e.current,t].concat(n)),u};var r,i=n(0),o=(r=n(5412))&&r.__esModule?r:{default:r};function a(e,t){return{width:e.width,height:e.height,observed:t}}function s(e,t){return e.width===t.width&&e.height===t.height}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getInitialEventStartDate=void 0;var r,i=(r=n(5))&&r.__esModule?r:{default:r};t.getInitialEventStartDate=function(){var e=(0,i.default)().add(1,"hour"),t=e.hour();return e.minutes()>=30&&(t+=1),e.hour(t).minutes(0).seconds(0)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=T;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(5)),a=E(n(29)),s=E(n(5414)),u=E(n(5418)),l=n(131),c=E(n(686)),d=E(n(1256)),f=E(n(24)),_=E(n(6)),p=E(n(5757));function E(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function m(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(){return(v=Object.assign||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}).apply(this,arguments)}function T(e){var t=e.onScheduleChange,n=e.schedule;if(null==n)return null;var r=(0,o.default)(),E=(0,o.default)().add(30,"days"),h=function(e){t(v({},n,{startDate:e}))},T=function(e){t(v({},n,{endDate:e}))};return m("div",{className:p.default.formSection},void 0,m("div",{className:p.default.doubleInput},void 0,m(l.FormItem,{title:_.default.Messages.CREATE_EVENT_START_DATE_LABEL},void 0,m(s.default,{value:n.startDate,onSelect:h,minDate:r,maxDate:E})),m(l.FormItem,{title:_.default.Messages.CREATE_EVENT_START_TIME_LABEL},void 0,m(u.default,{value:n.startDate,onChange:h}))),null!=n.endDate?i.createElement(i.Fragment,null,m("div",{className:p.default.doubleInput},void 0,m(l.FormItem,{title:_.default.Messages.CREATE_EVENT_END_DATE_LABEL},void 0,m(s.default,{value:n.endDate,onSelect:T,minDate:n.startDate,maxDate:E})),m(l.FormItem,{title:_.default.Messages.CREATE_EVENT_END_TIME_LABEL},void 0,m(u.default,{value:n.endDate,onChange:T}))),m(a.default,{onClick:function(){T(void 0)},look:a.default.Looks.BLANK,size:a.default.Sizes.MIN},void 0,m("div",{className:p.default.link},void 0,m(c.default,{width:17,height:17,className:p.default.removeIcon}),m(f.default,{},void 0,_.default.Messages.CREATE_EVENT_REMOVE_END_TIME_LABEL)))):m(a.default,{look:a.default.Looks.BLANK,size:a.default.Sizes.MIN,onClick:function(){T((0,o.default)(n.startDate).add(1,"hour"))}},void 0,m("div",{className:p.default.link},void 0,m(d.default,{width:20,height:20,className:p.default.addIcon}),m(f.default,{},void 0,_.default.Messages.CREATE_EVENT_ADD_END_TIME_LABEL))))}T.displayName="GuildEventSchedule"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setIsOnStartStageScreen=_,t.useUpdateIsOnStartStageScreenEffect=function(e){var t=(0,o.useStateFromStores)([a.default],(function(){return a.default.can(s.MODERATE_STAGE_CHANNEL_PERMISSIONS,e)}),[e]),n=(0,o.useStateFromStores)([u.default],(function(){return u.default.isLive(e.id)}),[e.id]),i=t&&!n;r.useEffect((function(){i||_(!1)}),[i])},t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=l(n(251)),o=n(3),a=l(n(40)),s=n(203),u=l(n(81));function l(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}var d=(0,i.default)((function(e){return{isOnStartStageScreen:!0}})),f=d;function _(e){d.setState({isOnStartStageScreen:e})}t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);var a={call:function(e){i.default.dirtyDispatch({type:o.ActionTypes.POST_CONNECTION_PENDING_CALLBACK,callback:e})}};t.default=a},function(e,t,n){e.exports=n.p+"755d4654e19c105c3cd108610b78d01c.svg"},function(e,t,n){(function(t){var r;r=function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return function(e){return Array.from(document.scripts).filter((function(t){return t.src.indexOf(e)>-1}))}(e).length>0};t.isAnyScriptPresent=function(e){return e.reduce((function(e,t){return e||r(t)}),!1)},t.injectScript=function(e){var t=document.createElement("script");t.async=!0,t.defer=!0,t.src=e,document.head&&document.head.appendChild(t)}},function(t,n){t.exports=e},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(1),o=(r=i)&&r.__esModule?r:{default:r},a=n(0),s=["https://google.com/recaptcha","https://recaptcha.net/recaptcha","https://www.gstatic.com/recaptcha"],u=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.container=null,n._isAvailable=function(){return Boolean(window&&window.grecaptcha&&window.grecaptcha.ready)},n._inject=function(){n.props.inject&&!(0,a.isAnyScriptPresent)(s)&&(0,a.injectScript)("https://recaptcha.net/recaptcha/api.js?render=explicit")},n._prepare=function(){var e=n.props,t=e.explicit,r=e.onLoad;window.grecaptcha.ready((function(){n.setState({ready:!0},(function(){t||n.renderExplicitly(),r&&r()}))}))},n._renderRecaptcha=function(e,t){return window.grecaptcha.render(e,t)},n._resetRecaptcha=function(){return window.grecaptcha.reset(n.state.instanceId)},n._executeRecaptcha=function(){return window.grecaptcha.execute(n.state.instanceId)},n._stopTimer=function(){n.state.timer&&clearInterval(n.state.timer)},n.componentDidMount=function(){if(n._inject(),n._isAvailable())n._prepare();else{var e=setInterval((function(){n._isAvailable()&&(n._prepare(),n._stopTimer())}),500);n.setState({timer:e})}},n.shouldComponentUpdate=function(){return!n.state.rendered},n.componentWillUnmount=function(){n._stopTimer(),n.state.rendered&&n._resetRecaptcha()},n.renderExplicitly=function(){return new Promise((function(e,t){if(n.state.rendered)return t("This recaptcha instance has been already rendered.");if(!n.state.ready||!n.container)return t("Recaptcha is not ready for rendering yet.");var r=n._renderRecaptcha(n.container,{sitekey:n.props.sitekey,theme:n.state.invisible?null:n.props.theme,size:n.props.size,badge:n.state.invisible?n.props.badge:null,tabindex:n.props.tabindex,callback:n.props.onVerify,"expired-callback":n.props.onExpire,"error-callback":n.props.onError,isolated:n.state.invisible?n.props.isolated:null,hl:n.state.invisible?null:n.props.hl});n.setState({instanceId:r,rendered:!0},(function(){n.props.onRender&&n.props.onRender(),e()}))}))},n.reset=function(){return new Promise((function(e,t){if(n.state.rendered)return n._resetRecaptcha(),e();t("This recaptcha instance did not render yet.")}))},n.execute=function(){return new Promise((function(e,t){return n.state.invisible?(n.state.rendered&&(n._executeRecaptcha(),e()),t("This recaptcha instance did not render yet.")):t("Manual execution is only available for invisible size.")}))},n.render=function(){return o.default.createElement("div",{id:n.props.id,className:n.props.className,ref:function(e){return n.container=e}})},n.state={instanceId:null,ready:!1,rendered:!1,invisible:"invisible"===n.props.size,timer:null},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(i.Component);u.defaultProps={id:"",className:"g-recaptcha",theme:"light",size:"normal",badge:"bottomright",tabindex:0,explicit:!1,inject:!0,isolated:!1,hl:""},t.default=u}]).default},e.exports=r(n(0))}).call(this,n(44))},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.OAuth2Prompts=void 0,t.OAuth2Prompts=r,function(e){e.NONE="none",e.CONSENT="consent"}(r||(t.OAuth2Prompts=r={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?18:t,r=e.height,i=void 0===r?18:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 24 24"}),l("path",{className:d,fill:c,d:"M19 6.00001C15.56 6.00001 12.826 2.43501 12.799 2.39801C12.421 1.89801 11.579 1.89801 11.201 2.39801C11.174 2.43501 8.44 6.00001 5 6.00001C4.447 6.00001 4 6.44801 4 7.00001V14C4 17.807 10.764 21.478 11.534 21.884C11.68 21.961 11.84 21.998 12 21.998C12.16 21.998 12.32 21.96 12.466 21.884C13.236 21.478 20 17.807 20 14V7.00001C20 6.44801 19.553 6.00001 19 6.00001ZM15 16L12 14L9 16L10 13L8 11H11L12 8.00001L13 11H16L14 13L15 16Z"}))}c.displayName="ShieldStar"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.State=void 0;var r,i=u(n(3)),o=u(n(2)),a=n(307),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(){return(c=Object.assign||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}).apply(this,arguments)}t.State=r,function(e){e[e.NotResolved=0]="NotResolved",e[e.Resolving=1]="Resolving",e[e.Resolved=2]="Resolved",e[e.Invalid=3]="Invalid"}(r||(t.State=r={}));var d=r.NotResolved,f=null,_={};var p=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var u=i.prototype;return u.getCurrentBuildOverride=function(){return d===r.NotResolved&&(d=r.Resolving,(0,a.getBuildOverride)().then((function(e){o.default.dispatch({type:s.ActionTypes.CURRENT_BUILD_OVERRIDE_RESOLVED,overrides:e})}))),{state:d,overrides:f}},u.getBuildOverride=function(e){return function(e){if(!(e in _)){var t,n,i=(0,a.validateURL)(e);null!=i?(_=c({},_,((n={})[e]={url:e,validatedURL:i.url,payload:String(i.payload),state:r.Resolving},n)),(0,a.getBuildOverrideMeta)(i.url).then((function(t){o.default.dispatch({type:s.ActionTypes.BUILD_OVERRIDE_RESOLVED,url:e,override:t})}))):_=c({},_,((t={})[e]={url:e,state:r.Invalid},t))}}(e),_[e]},u.getBuildOverrides=function(){return _},i}(i.default.Store))(o.default,{BUILD_OVERRIDE_RESOLVED:function(e){var t,n=e.url,i=e.override,o=null==i?r.Invalid:r.Resolved;_=c({},_,((t={})[n]=c({},_[n],{state:o,override:i}),t))},CURRENT_BUILD_OVERRIDE_RESOLVED:function(e){var t=e.overrides;d=r.Resolved,f=t}});t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addInstallLocation=function(e){i.default.queryDirectory(e,(function(t,n){null==t&&null!=n&&r.default.dispatch({type:o.ActionTypes.INSTALLATION_LOCATION_ADD,path:e,metadata:n})}))},t.removeInstallLocation=function(e){r.default.dispatch({type:o.ActionTypes.INSTALLATION_LOCATION_REMOVE,path:e})},t.updateInstallLocation=function(e,t){var n=t.label,i=t.isDefault;r.default.dispatch({type:o.ActionTypes.INSTALLATION_LOCATION_UPDATE,path:e,label:n,isDefault:i})},t.fetchMetadata=function(e){for(var t,n={},a=0,u=function(){var s=t.value;if(null==s||"string"!=typeof s)return"continue";i.default.queryDirectory(s,(function(t,i){++a,null==t&&null!=i&&(n[s]=i),a===e.length&&r.default.dirtyDispatch({type:o.ActionTypes.INSTALLATION_LOCATION_FETCH_METADATA,metadataPayload:n})}))},l=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(e);!(t=l()).done;)u()};var r=a(n(2)),i=a(n(351)),o=n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=T(n(9)),a=n(262),s=n(3),u=n(123),l=T(n(105)),c=T(n(39)),d=T(n(161)),f=T(n(13)),_=n(259),p=n(299),E=T(n(1434)),h=T(n(5558)),m=T(n(5658)),v=n(1);function T(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function I(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(e){if(!(e.ctrlKey||e.altKey||e.metaKey)&&e.keyCode===v.KeyboardKeys.TAB&&null!=e.target){var t=e.target,n=document.activeElement;t instanceof HTMLElement&&f.default.track(v.AnalyticEvents.KEYBOARD_SHORTCUT_USED,{shortcut_name:"tab_navigation",source_class_list:null!=n?Array.from(n.classList):[],location_object:t.tagName})}}function y(){var e=(0,s.useStateFromStoresObject)([c.default],(function(){return{locale:c.default.locale,theme:c.default.theme}})),t=e.locale,n=e.theme,r=(0,s.useStateFromStores)([d.default],(function(){return d.default.isFocused()}),[]),a=i.useContext(u.AccessibilityPreferencesContext).reducedMotion,f=(i.useEffect((function(){return window.addEventListener("keydown",S),function(){return window.removeEventListener("keydown",S)}}),[]),(0,s.useStateFromStoresObject)([l.default],(function(){return{fontScale:l.default.fontScale,fontScaleClass:l.default.fontScaleClass,keyboardModeEnabled:l.default.keyboardModeEnabled,saturation:l.default.saturation,desaturateUserColors:l.default.desaturateUserColors}}))),v=f.fontScale,T=f.fontScaleClass,g=f.keyboardModeEnabled,y=f.saturation,A=f.desaturateUserColors;(0,h.default)();var O=(0,m.default)();return I("html",{lang:t,style:"font-size: "+v+"%; --saturation-factor: "+y+";",className:(0,o.default)({overlay:__OVERLAY__,"mouse-mode":O,"keyboard-mode":g,"reduce-motion":a.enabled,"full-motion":!a.enabled,"is-mobile":p.isMobile,"app-focused":r,"low-saturation":y<=.4,"desaturate-user-colors":A},(0,_.getThemeClass)(n),(0,E.default)(),T)})}function A(e){var t=e.children;return I(a.Helmet,{},void 0,y(),t)}n(5813),y.displayName="useHTMLTag",A.displayName="AppHelmet";var O=i.memo(A);t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e="";i.default.isWindows()?e="platform-win":i.default.isOSX()?e="platform-osx":i.default.isLinux()?e="platform-linux":i.default.isWeb()&&(e="platform-web");return __OVERLAY__?e+" platform-overlay":e};var r,i=(r=n(16))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"KeyboardEventKey",{enumerable:!0,get:function(){return r.Key}}),t.NavigationShortcuts=t.NavigationKeyShortcutMap=void 0;var r=n(5559),i=new Map([[r.Key.Tab,"tab"],[r.Key.ArrowDown,"down"],[r.Key.ArrowUp,"up"],[r.Key.ArrowLeft,"left"],[r.Key.ArrowRight,"right"],[r.Key.Home,"home"],[r.Key.End,"end"]]);t.NavigationKeyShortcutMap=i;var o=new Set(["tab","shift+tab","down","up","left","right","home","end"]);t.NavigationShortcuts=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-04_april_fools",label:"April Fools",defaultConfig:{allowSoundpacks:!1},treatments:[{id:1,label:"April Fools",config:{allowSoundpacks:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=p(n(0)),o=p(n(3)),a=p(n(913)),s=f(n(914)),u=f(n(39)),l=f(n(679)),c=f(n(6)),d=f(n(5816));function f(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function p(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t=e.locale,n=e.children,r=(0,o.useStateFromStoresArray)([s.default],(function(){return[s.default.isLoading(),s.default.getError()]})),i=r[0],a=r[1];return a?h(l.default,{title:c.default.Messages.I18N_LOCALE_LOADING_ERROR.format({locale:t}),note:h("span",{},void 0,a)}):i?__OVERLAY__?null:h("div",{className:d.default.loading}):n}var v=function(e){var t,n;function r(t){var n;return n=e.call(this,t)||this,a.updateLocaleLoadingStatus(t.locale,!0),n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,E(t,n),r.prototype.render=function(){var e=this.props;return h(m,{locale:e.locale},void 0,e.children)},r}(i.Component);v.displayName="I18nLoaderWrapper";var T=o.default.connectStores([u.default],(function(){return{locale:u.default.locale}}))(v);t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=v(n(0)),o=h(n(273)),a=h(n(3)),s=h(n(469)),u=h(n(397)),l=n(123),c=h(n(690)),d=v(n(415)),f=h(n(282)),_=n(121),p=n(1),E=h(n(5817));function h(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function T(){return(T=Object.assign||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}).apply(this,arguments)}function g(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function I(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,S(e,t)}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={animate:new o.default.Value(1)},t}I(t,e);var n=t.prototype;return n.componentWillEnter=function(e){e(),this.props.disableAnimation||(this.state.animate.setValue(0),o.default.timing(this.state.animate,{toValue:1,duration:300,easing:o.default.Easing.inOut(o.default.Easing.back())}).start())},n.componentWillLeave=function(e){this.props.disableAnimation&&e(),o.default.timing(this.state.animate,{toValue:0,duration:100,easing:o.default.Easing.quad}).start(e)},n.render=function(){var e=this.context.reducedMotion,t=this.state.animate.interpolate({inputRange:[0,1],outputRange:["0.7","1"]}),n=o.default.accelerate({transform:e.enabled?void 0:[{scale:t}],opacity:this.state.animate});return g(o.default.div,{className:E.default.modal,style:n},void 0,g(f.default,{className:E.default.inner},void 0,this.props.renderModal()))},t}(i.Component);y.displayName="Modal",y.contextType=l.AccessibilityPreferencesContext;var A=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).modalRefs={},t.setRef=function(e,n){t.modalRefs[e]=n},t.handleClose=function(){var e=t.props,n=e.closable,r=e.modalKey;if(n){var i=t.modalRefs[r];null!=i&&"function"==typeof i.close?i.close():u.default.pop()}},t}I(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){var t=this.props.renderModal;null!=t&&null==e.renderModal?(_.ComponentDispatch.subscribe(p.ComponentActions.MODAL_CLOSE,this.handleClose),_.ComponentDispatch.dispatch(p.ComponentActions.TEXTAREA_BLUR),_.ComponentDispatch.dispatch(p.ComponentActions.POPOUT_CLOSE),_.ComponentDispatch.dispatch(p.ComponentActions.CONTEXT_MENU_CLOSE)):null==t&&null!=e.renderModal&&_.ComponentDispatch.unsubscribe(p.ComponentActions.MODAL_CLOSE,this.handleClose)},n.render=function(){var e,t=this,n=this.props,r=n.modalKey,i=n.renderModal,o=n.disableAnimation,a=n.backdropStyle,u=n.backdropInstant,l=n.className;return i&&(e=g(y,{onClose:this.handleClose,disableAnimation:o,renderModal:function(){return i(t.setRef)}},r)),g(s.default,{component:"div",className:l},void 0,g(d.default,{onClose:this.handleClose,backdropStyle:a,backdropInstant:u,isVisible:i},"backdrop"),e)},t}(i.PureComponent);A.displayName="Modals";var O=a.default.connectStores([c.default],(function(){var e="modal",t=null,n=!0,r=d.BackdropStyles.DARK,o=!1,a=!1,s=c.default.getModal();if(null!=s){var l=s.modal,f=s.props,_=void 0===f?{}:f;r=s.backdropStyle||r,o=s.backdropInstant||_.backdropInstant||o,a=s.disableAnimation||_.disableAnimation||a,n=s.hasOwnProperty("closable")?s.closable:n,e=s.key||e,t=function(t){return i.createElement(l,T({},_,{ref:null!=l.render||null!=l.prototype&&null!=l.prototype.render?function(n){return t(e,n)}:null,onClose:u.default.pop}))}}return{modalKey:e,renderModal:t,closable:n,backdropStyle:r,backdropInstant:o,disableAnimation:a}}))(A);t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(378)),i=a(n(2)),o=n(1);function a(e){return e&&e.__esModule?e:{default:e}}var s={focus:function(e){i.default.dirtyDispatch({type:o.ActionTypes.WINDOW_FOCUS,focused:e})},resized:(0,r.default)((function(){i.default.dirtyDispatch({type:o.ActionTypes.WINDOW_RESIZED})}),100)};t.default=s},,function(e,t,n){n(1442).polyfill()},function(e,t,n){(function(t){for(var r=n(778),i="undefined"==typeof window?t:window,o=["moz","webkit"],a="AnimationFrame",s=i["request"+a],u=i["cancel"+a]||i["cancelRequest"+a],l=0;!s&&l<o.length;l++)s=i[o[l]+"Request"+a],u=i[o[l]+"Cancel"+a]||i[o[l]+"CancelRequest"+a];if(!s||!u){var c=0,d=0,f=[];s=function(e){if(0===f.length){var t=r(),n=Math.max(0,1e3/60-(t-c));c=n+t,setTimeout((function(){var e=f.slice(0);f.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return f.push({handle:++d,callback:e,cancelled:!1}),d},u=function(e){for(var t=0;t<f.length;t++)f[t].handle===e&&(f[t].cancelled=!0)}}e.exports=function(e){return s.call(i,e)},e.exports.cancel=function(){u.apply(i,arguments)},e.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=s,e.cancelAnimationFrame=u}}).call(this,n(44))},function(e,t,n){"use strict";n(1444),n(779);var r=m(n(164));n(1533),n(771),n(1534),n(1404),n(11),n(382),n(1588),n(1589),n(1590);var i=n(67),o=m(n(211)),a=m(n(1591)),s=m(n(3)),u=n(348),l=m(n(1593)),c=m(n(118)),d=m(n(777)),f=m(n(5549)),_=m(n(26)),p=m(n(5550)),E=n(1),h=m(n(6));function m(e){return e&&e.__esModule?e:{default:e}}(0,u.setUpdateRules)(l.default),(0,a.default)(h.default,o.default,c.default),s.default.Store.injectBatchEmitChanges(i.unstable_batchedUpdates),s.default.PersistedStore.disableWrites=__OVERLAY__,s.default.initialize();var v=window.GLOBAL_ENV.RELEASE_CHANNEL;(new _.default).log("[BUILD INFO] Release Channel: "+v+", Build Number: 90176, Version Hash: 337b0b53d10875228a5b553e10dbfb3f270aa0dd"),r.default.setTags({appContext:E.CURRENT_APP_CONTEXT}),d.default.initBasic(),f.default.init(),p.default.init()},function(e,t,n){"use strict";var r=n(741);function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}null==window.ResizeObserver&&(window.ResizeObserver=r.ResizeObserver),Map.prototype.toJSON=function(){return Array.from(this)},Set.prototype.toJSON=function(){return Array.from(this)};var a=function(){function e(e,t,n,r){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),void 0===r&&(r=1),this.x=e,this.y=t,this.z=n,this.w=r}return e.fromPoint=function(t){return new e(t.x,t.y,void 0!==t.z?t.z:0,void 0!==t.w?t.w:1)},e.prototype.matrixTransform=function(t){return(t.is2D||t instanceof SVGMatrix)&&0===this.z&&1===this.w?new e(this.x*t.a+this.y*t.c+t.e,this.x*t.b+this.y*t.d+t.f,0,1):new e(this.x*t.m11+this.y*t.m21+this.z*t.m31+this.w*t.m41,this.x*t.m12+this.y*t.m22+this.z*t.m32+this.w*t.m42,this.x*t.m13+this.y*t.m23+this.z*t.m33+this.w*t.m43,this.x*t.m14+this.y*t.m24+this.z*t.m34+this.w*t.m44)},e}();null==window.DOMPoint&&(window.DOMPoint=a);var s=function(){function e(e,t,n,r){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),void 0===r&&(r=0),this.x=e,this.y=t,this.width=n,this.height=r}return e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},o(e,[{key:"top",get:function(){return this.y}},{key:"left",get:function(){return this.x}},{key:"right",get:function(){return this.x+this.width}},{key:"bottom",get:function(){return this.y+this.height}}]),e}();null==window.DOMRect&&(window.DOMRect=s);var u=180/Math.PI,l=Math.PI/180,c=Symbol("values"),d=Symbol("is2d"),f=function(e){var t=e.split(/\(/,1)[0];if("matrix"===t)return function(e){var t=e.replace(/matrix\(/,"");if(6!==(t=t.split(/,/,7)).length)throw new Error("Failed to parse "+e);return[(t=t.map(parseFloat))[0],t[1],0,0,t[2],t[3],0,0,0,0,1,0,t[4],t[5],0,1]}(e);if("matrix3d"===t)return function(e){var t=e.replace(/matrix3d\(/,"");if(16!==(t=t.split(/,/,17)).length)throw new Error("Failed to parse "+e);return t.map(parseFloat)}(e);throw new Error(t+" parsing not implemented")},_=function(e,t,n){if("number"!=typeof n)throw new TypeError("Expected number");e[c][t]=n},p=function(e,t,n){if("number"!=typeof n)throw new TypeError("Expected number");10===t||15===t?1!==n&&(e[d]=!1):0!==n&&(e[d]=!1),e[c][t]=n},E=function(e){var t=Object.create(m.prototype);return t.constructor=m,t[d]=!0,t[c]=e,t},h=function(e,t){for(var n=new Float64Array(16),r=0;r<4;r++)for(var i=0;i<4;i++){for(var o=0,a=0;a<4;a++)o+=e[4*r+a]*t[4*a+i];n[4*r+i]=o}return n},m=function(){function e(e){if(this[d]=!0,this[c]=new Float64Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),"string"==typeof e){if(""===e)return;var t=e.split(/\)\s+/,20).map(f);if(0===t.length)return;e=t[0];for(var n=1;n<t.length;n++)e=h(t[n],e)}var r=0;if(e&&6===e.length)_(this,0,e[r++]),_(this,1,e[r++]),_(this,4,e[r++]),_(this,5,e[r++]),_(this,12,e[r++]),_(this,13,e[r++]);else if(e&&16===e.length)_(this,0,e[r++]),_(this,1,e[r++]),p(this,2,e[r++]),p(this,3,e[r++]),_(this,4,e[r++]),_(this,5,e[r++]),p(this,6,e[r++]),p(this,7,e[r++]),p(this,8,e[r++]),p(this,9,e[r++]),p(this,10,e[r++]),p(this,11,e[r++]),_(this,12,e[r++]),_(this,13,e[r++]),p(this,14,e[r++]),p(this,15,e[r]);else if(void 0!==e)throw new TypeError("Expected string or array.")}e.fromMatrix=function(t){if(t instanceof e)return new e(t[c]);if(t instanceof SVGMatrix)return new e([t.a,t.b,t.c,t.d,t.e,t.f]);throw new TypeError("Expected DOMMatrix")},e.fromFloat32Array=function(t){if(!(t instanceof Float32Array))throw new TypeError("Expected Float32Array");return new e(t)},e.fromFloat64Array=function(t){if(!(t instanceof Float64Array))throw new TypeError("Expected Float64Array");return new e(t)},o(e,[{key:"m11",get:function(){return this[c][0]},set:function(e){_(this,0,e)}},{key:"m12",get:function(){return this[c][1]},set:function(e){_(this,1,e)}},{key:"m13",get:function(){return this[c][2]},set:function(e){p(this,2,e)}},{key:"m14",get:function(){return this[c][3]},set:function(e){p(this,3,e)}},{key:"m21",get:function(){return this[c][4]},set:function(e){_(this,4,e)}},{key:"m22",get:function(){return this[c][5]},set:function(e){_(this,5,e)}},{key:"m23",get:function(){return this[c][6]},set:function(e){p(this,6,e)}},{key:"m24",get:function(){return this[c][7]},set:function(e){p(this,7,e)}},{key:"m31",get:function(){return this[c][8]},set:function(e){p(this,8,e)}},{key:"m32",get:function(){return this[c][9]},set:function(e){p(this,9,e)}},{key:"m33",get:function(){return this[c][10]},set:function(e){p(this,10,e)}},{key:"m34",get:function(){return this[c][11]},set:function(e){p(this,11,e)}},{key:"m41",get:function(){return this[c][12]},set:function(e){_(this,12,e)}},{key:"m42",get:function(){return this[c][13]},set:function(e){_(this,13,e)}},{key:"m43",get:function(){return this[c][14]},set:function(e){p(this,14,e)}},{key:"m44",get:function(){return this[c][15]},set:function(e){p(this,15,e)}},{key:"a",get:function(){return this[c][0]},set:function(e){_(this,0,e)}},{key:"b",get:function(){return this[c][1]},set:function(e){_(this,1,e)}},{key:"c",get:function(){return this[c][4]},set:function(e){_(this,4,e)}},{key:"d",get:function(){return this[c][5]},set:function(e){_(this,5,e)}},{key:"e",get:function(){return this[c][12]},set:function(e){_(this,12,e)}},{key:"f",get:function(){return this[c][13]},set:function(e){_(this,13,e)}},{key:"is2D",get:function(){return this[d]}},{key:"isIdentity",get:function(){var e=this[c];return 1===e[0]&&0===e[1]&&0===e[2]&&0===e[3]&&0===e[4]&&1===e[5]&&0===e[6]&&0===e[7]&&0===e[8]&&0===e[9]&&1===e[10]&&0===e[11]&&0===e[12]&&0===e[13]&&0===e[14]&&1===e[15]}}]);var t=e.prototype;return t.inspect=function(e,t){return e<0?"[DOMMatrix]":"DOMMatrix [\n        a: "+this.a+"\n        b: "+this.b+"\n        c: "+this.c+"\n        d: "+this.d+"\n        e: "+this.e+"\n        f: "+this.f+"\n        m11: "+this.m11+"\n        m12: "+this.m12+"\n        m13: "+this.m13+"\n        m14: "+this.m14+"\n        m21: "+this.m21+"\n        m22: "+this.m22+"\n        m23: "+this.m23+"\n        m23: "+this.m23+"\n        m31: "+this.m31+"\n        m32: "+this.m32+"\n        m33: "+this.m33+"\n        m34: "+this.m34+"\n        m41: "+this.m41+"\n        m42: "+this.m42+"\n        m43: "+this.m43+"\n        m44: "+this.m44+"\n        is2D: "+this.is2D+"\n        isIdentity: "+this.isIdentity+" ]"},t.multiply=function(e){return E(this[c]).multiplySelf(e)},t.multiplySelf=function(e){return this[c]=h(e[c],this[c]),e.is2D||(this[d]=!1),this},t.preMultiplySelf=function(e){return this[c]=h(this[c],e[c]),e.is2D||(this[d]=!1),this},t.translate=function(e,t,n){return E(this[c]).translateSelf(e,t,n)},t.translateSelf=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),this[c]=h([1,0,0,0,0,1,0,0,0,0,1,0,e,t,n,1],this[c]),0!==n&&(this[d]=!1),this},t.scale=function(e,t,n,r,i,o){return E(this[c]).scaleSelf(e,t,n,r,i,o)},t.scale3d=function(e,t,n,r){return E(this[c]).scale3dSelf(e,t,n,r)},t.scale3dSelf=function(e,t,n,r){return this.scaleSelf(e,e,e,t,n,r)},t.scaleSelf=function(e,t,n,r,i,o){return"number"!=typeof r&&(r=0),"number"!=typeof i&&(i=0),"number"!=typeof o&&(o=0),this.translateSelf(r,i,o),"number"!=typeof e&&(e=1),"number"!=typeof t&&(t=e),"number"!=typeof n&&(n=1),this[c]=h([e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1],this[c]),this.translateSelf(-r,-i,-o),1===n&&0===o||(this[d]=!1),this},t.rotateFromVector=function(e,t){return E(this[c]).rotateFromVectorSelf(e,t)},t.rotateFromVectorSelf=function(e,t){void 0===e&&(e=0),void 0===t&&(t=0);var n=0===e&&0===t?0:Math.atan2(t,e)*u;return this.rotateSelf(n)},t.rotate=function(e,t,n){return E(this[c]).rotateSelf(e,t,n)},t.rotateSelf=function(e,t,n){void 0===t&&void 0===n&&(n=e,e=t=0),"number"!=typeof t&&(t=0),"number"!=typeof n&&(n=0),0===e&&0===t||(this[d]=!1),e*=l,t*=l,n*=l;var r=Math.cos(n),i=Math.sin(n);return this[c]=h([r,i,0,0,-i,r,0,0,0,0,1,0,0,0,0,1],this[c]),r=Math.cos(t),i=Math.sin(t),this[c]=h([r,0,-i,0,0,1,0,0,i,0,r,0,0,0,0,1],this[c]),r=Math.cos(e),i=Math.sin(e),this[c]=h([1,0,0,0,0,r,i,0,0,-i,r,0,0,0,0,1],this[c]),this},t.rotateAxisAngle=function(e,t,n,r){return E(this[c]).rotateAxisAngleSelf(e,t,n,r)},t.rotateAxisAngleSelf=function(e,t,n,r){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),void 0===r&&(r=0);var i=Math.sqrt(e*e+t*t+n*n);if(0===i)return this;1!==i&&(e/=i,t/=i,n/=i),r*=l;var o=Math.cos(r),a=Math.sin(r),s=1-o,u=s*e,f=s*t;return this[c]=h([u*e+o,u*t+a*n,u*n-a*t,0,u*t-a*n,f*t+o,f*n+a*e,0,u*n+a*t,f*n-a*e,s*n*n+o,0,0,0,0,1],this[c]),0===e&&0===t||(this[d]=!1),this},t.skewX=function(e){return E(this[c]).skewXSelf(e)},t.skewXSelf=function(e){if("number"!=typeof e)return this;var t=Math.tan(e*l);return this[c]=h([1,0,0,0,t,1,0,0,0,0,1,0,0,0,0,1],this[c]),this},t.skewY=function(e){return E(this[c]).skewYSelf(e)},t.skewYSelf=function(e){if("number"!=typeof e)return this;var t=Math.tan(e*l);return this[c]=h([1,t,0,0,0,1,0,0,0,0,1,0,0,0,0,1],this[c]),this},t.flipX=function(){return E(h([-1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],this[c]))},t.flipY=function(){return E(h([1,0,0,0,0,-1,0,0,0,0,1,0,0,0,0,1],this[c]))},t.inverse=function(){return E(this[c]).invertSelf()},t.invertSelf=function(){if(!this[d])throw new Error("3D matrix inversion is not implemented.");var t=this[c][0]*this[c][5]-this[c][1]*this[c][4];if(0!==t){var n=new e;return n.a=this[c][5]/t,n.b=-this[c][1]/t,n.c=-this[c][4]/t,n.d=this[c][0]/t,n.e=(this[c][4]*this[c][13]-this[c][5]*this[c][12])/t,n.f=(this[c][1]*this[c][12]-this[c][0]*this[c][13])/t,n}this[d]=!1,this[c]=[NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN]},t.setMatrixValue=function(t){var n=new e(t);return this[c]=n[c],this[d]=n[d],this},t.transformPoint=function(e){var t=e.x,n=e.y,r=e.z,i=e.w,o=this[c],a=o[0]*t+o[4]*n+o[8]*r+o[12]*i,s=o[1]*t+o[5]*n+o[9]*r+o[13]*i,u=o[2]*t+o[6]*n+o[10]*r+o[14]*i,l=o[3]*t+o[7]*n+o[11]*r+o[15]*i;return new DOMPoint(a,s,u,l)},t.toFloat32Array=function(){return Float32Array.from(this[c])},t.toFloat64Array=function(){return this[c].slice(0)},t.toString=function(){return this.is2D?"matrix("+this.a+", "+this.b+", "+this.c+", "+this.d+", "+this.e+", "+this.f+")":"matrix3d("+this[c].join(", ")+")"},e}();null==window.DOMMatrix&&(window.DOMMatrix=m)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUpdatedOptions=function(e){return a({},e,{extra:a({},null==e?void 0:e.extra,{},{currentAction:o.default._currentDispatchActionType,lastFewActions:(0,i.serialize)()})})};var r,i=n(431),o=(r=n(2))&&r.__esModule?r:{default:r};function a(){return(a=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dispatcher=void 0;var r=n(1447),i=c(n(23)),o=c(n(190)),a=n(1448),s=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(431)),u=c(n(212));function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e){return e&&e.__esModule?e:{default:e}}var d=new o.default("Flux"),f=function(){function e(){this._subscriptions={},this._waitQueue=[],this._processingWaitQueue=!1,this._currentDispatchActionType=null,this._orderedActionHandlers={},this._orderedCallbackTokens=null,this._lastID=1,this._dependencyGraph=new r.DepGraph}var t=e.prototype;return t.isDispatching=function(){return null!=this._currentDispatchActionType},t.maybeDispatch=function(e){this.isDispatching()||this.dispatch(e)},t.dirtyDispatch=function(e){this.isDispatching()?this._waitQueue.push(this.dispatch.bind(this,e)):this.dispatch(e)},t.dispatch=function(e){this._dispatch(e)},t._dispatch=function(e){if((0,i.default)(null==this._currentDispatchActionType,"Dispatch.dispatch(...): Cannot dispatch in the middle of a dispatch. Action: "+e.type+" Already dispatching: "+this._currentDispatchActionType),(0,i.default)(e.type,"Dispatch.dispatch(...) called without an action type"),null==this._interceptor||!this._interceptor(e)){var t=Date.now();this._currentDispatchActionType=e.type,(0,a.mark)(e.type),s.add(e.type);try{for(var n=this._orderedActionHandlers[e.type]||this._computeOrderedActionHandlers(e.type),r=0,o=n.length;r<o;r++){var l=n[r],c=l.actionHandler,f=l.storeDidChange;!1!==c(e)&&f(e)}u.default.emitChanges(),this._currentDispatchActionType=null}finally{this._currentDispatchActionType=null}var _=this._subscriptions[e.type];null!=_&&_.forEach((function(t){return t(e)}));var p=Date.now();p-t>100&&d.log("Slow dispatch on "+e.type+": "+(p-t)+"ms"),(0,a.measure)("DISPATCH["+e.type+"]",e.type),this._processWaitQueue()}},t.setInterceptor=function(e){this._interceptor=e},t.wait=function(e){if(!this.isDispatching())return e();this._waitQueue.push(e)},t.subscribe=function(e,t){var n=this._subscriptions[e];null==n&&(this._subscriptions[e]=n=new Set),n.add(t)},t.unsubscribe=function(e,t){var n=this._subscriptions[e];null!=n&&(n.delete(t),0===n.size&&delete this._subscriptions[e])},t.register=function(e,t,n){var r="ID_"+this._lastID++;return this._dependencyGraph.addNode(r,{name:e,actionHandler:t,storeDidChange:n}),this._invalidateCaches(),r},t.addDependencies=function(e,t){var n=this;t.forEach((function(t){n._dependencyGraph.addDependency(e,t)})),this._invalidateCaches()},t._invalidateCaches=function(){this._orderedCallbackTokens=null,this._orderedActionHandlers={}},t._processWaitQueue=function(){if(!this._processingWaitQueue){for(this._processingWaitQueue=!0;this._waitQueue.length&&!this.isDispatching();){var e=this._waitQueue.shift();null!=e&&e()}this._processingWaitQueue=!1}},t._computeOrderedActionHandlers=function(e){for(var t=this._orderedCallbackTokens||this._computeOrderedCallbackTokens(),n=[],r=0,i=t.length;r<i;r++){var o=this._dependencyGraph.getNodeData(t[r]),a=o.actionHandler,s=o.storeDidChange;if("function"==typeof a)n.push({actionHandler:a,storeDidChange:s});else if("object"==typeof a){var u=a[e];null!=u&&n.push({actionHandler:u,storeDidChange:s})}}return this._orderedActionHandlers[e]=n,n},t._computeOrderedCallbackTokens=function(){var e=this;try{var t=this._dependencyGraph.overallOrder();return this._orderedCallbackTokens=t,t}catch(t){if(null!=t.cyclePath){var n=t.cyclePath.map((function(t){return e._dependencyGraph.getNodeData(t).name+"("+t+")"}));throw new Error("Dependency Cycle Found: "+n.join(" -> "))}throw t}},e}();t.Dispatcher=f},function(e,t){function n(e,t,n,r){var o=[],a={};return function s(u){a[u]=!0,o.push(u),e[u].forEach((function(e){if(a[e]){if(o.indexOf(e)>=0&&(o.push(e),!r))throw new i(o)}else s(e)})),o.pop(),t&&0!==e[u].length||-1!==n.indexOf(u)||n.push(u)}}var r=t.DepGraph=function(e){this.nodes={},this.outgoingEdges={},this.incomingEdges={},this.circular=e&&!!e.circular};r.prototype={size:function(){return Object.keys(this.nodes).length},addNode:function(e,t){this.hasNode(e)||(this.nodes[e]=2===arguments.length?t:e,this.outgoingEdges[e]=[],this.incomingEdges[e]=[])},removeNode:function(e){this.hasNode(e)&&(delete this.nodes[e],delete this.outgoingEdges[e],delete this.incomingEdges[e],[this.incomingEdges,this.outgoingEdges].forEach((function(t){Object.keys(t).forEach((function(n){var r=t[n].indexOf(e);r>=0&&t[n].splice(r,1)}),this)})))},hasNode:function(e){return this.nodes.hasOwnProperty(e)},getNodeData:function(e){if(this.hasNode(e))return this.nodes[e];throw new Error("Node does not exist: "+e)},setNodeData:function(e,t){if(!this.hasNode(e))throw new Error("Node does not exist: "+e);this.nodes[e]=t},addDependency:function(e,t){if(!this.hasNode(e))throw new Error("Node does not exist: "+e);if(!this.hasNode(t))throw new Error("Node does not exist: "+t);return-1===this.outgoingEdges[e].indexOf(t)&&this.outgoingEdges[e].push(t),-1===this.incomingEdges[t].indexOf(e)&&this.incomingEdges[t].push(e),!0},removeDependency:function(e,t){var n;this.hasNode(e)&&(n=this.outgoingEdges[e].indexOf(t))>=0&&this.outgoingEdges[e].splice(n,1),this.hasNode(t)&&(n=this.incomingEdges[t].indexOf(e))>=0&&this.incomingEdges[t].splice(n,1)},clone:function(){var e=this,t=new r;return Object.keys(e.nodes).forEach((function(n){t.nodes[n]=e.nodes[n],t.outgoingEdges[n]=e.outgoingEdges[n].slice(0),t.incomingEdges[n]=e.incomingEdges[n].slice(0)})),t},dependenciesOf:function(e,t){if(this.hasNode(e)){var r=[];n(this.outgoingEdges,t,r,this.circular)(e);var i=r.indexOf(e);return i>=0&&r.splice(i,1),r}throw new Error("Node does not exist: "+e)},dependantsOf:function(e,t){if(this.hasNode(e)){var r=[];n(this.incomingEdges,t,r,this.circular)(e);var i=r.indexOf(e);return i>=0&&r.splice(i,1),r}throw new Error("Node does not exist: "+e)},overallOrder:function(e){var t=this,r=[],i=Object.keys(this.nodes);if(0===i.length)return r;var o=n(this.outgoingEdges,!1,[],this.circular);i.forEach((function(e){o(e)}));var a=n(this.outgoingEdges,e,r,this.circular);return i.filter((function(e){return 0===t.incomingEdges[e].length})).forEach((function(e){a(e)})),r}};var i=t.DepGraphCycleError=function(e){var t="Dependency Cycle Found: "+e.join(" -> "),n=new Error(t);return n.cyclePath=e,Object.setPrototypeOf(n,Object.getPrototypeOf(this)),Error.captureStackTrace&&Error.captureStackTrace(n,i),n};i.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(i,Error)},function(e,t,n){"use strict";(function(e){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.mark=function(e){return void 0;r.mark(e)},t.measure=function(e,t){return void 0;r.measure(e,t),i(t),o(e)},t.clearMarks=i,t.clearMeasures=o;var r=null!==(n=e.performance)&&void 0!==n?n:{};function i(e){}function o(e){}}).call(this,n(44))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(28));function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,n;function i(t,n,r,i,o){var a;return(a=e.call(this,t,(function(e){var t=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(a),n=t.handleUpdate(e),r=null!=o&&o(t,e);return n||r}))||this)._data={},a.cacheKey=n,a.updateActionType=r,a.defaults=i,a}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,o(t,n);var a=i.prototype;return a.initialize=function(){this._data=r.default.get(this.cacheKey)||{}},a.handleUpdate=function(e){return e.type===this.updateActionType&&(this.set(e.key,e.value),!0)},a.get=function(e){var t=this._data[e];return null!=t?t:this.defaults[e]},a.set=function(e,t){this._data[e]=t,r.default.set(this.cacheKey,this._data)},i}(i(n(212)).default);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return{componentDidMount:function(){var e=this;t.forEach((function(t){return t.addChangeListener(e.storesDidChange)}))},componentWillUnmount:function(){var e=this;t.forEach((function(t){return t.removeChangeListener(e.storesDidChange)}))},storesDidChange:function(){this.setState(this.getStateFromStores()||{})}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(8)),i=a(n(28)),o=a(n(212));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l={_state:void 0,_version:void 0},c=function(e){var t,n;n=e,(t=c).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var a=c.prototype;function c(t,n){var i;if((i=e.call(this,t,n)||this)._version=null==i.getClass().migrations?0:i.getClass().migrations.length,i.callback=function(e){var t=i.getClass().persistKey;i.persist(),c._writePromises.delete(t),c._writeResolvers.delete(t),e()},i.throttledCallback=r.default.throttle((function(e){return i.callback(e)}),i.getClass().throttleDelay,{leading:!1}),"string"!=typeof i.getClass().persistKey)throw new Error(i.getClass().name+" initialized without a `persistKey`. Add one so we know where to save your stuff!");if("function"!=typeof s(i).initialize)throw new Error(i.getClass().name+" initialized without an `initialize` method. Add one that accepts the initial cached state.");if("function"!=typeof s(i).getState)throw new Error(i.getClass().name+" initialized without a `getState` method. Add one that returns the full state of the store for persistance to work.");return i.addChangeListener((function(){return i.asyncPersist()})),i}return a.getClass=function(){return this.constructor},c.clearAll=function(e){return null==c._clearAllPromise&&(c._clearAllPromise=new Promise((function(t){requestIdleCallback((function(){c.clearPersistQueue(),c.persistKeys.forEach((function(t){null!=e&&"object"==typeof e&&null!=e.omit&&e.omit.includes(t)||i.default.remove(t)})),o.default.getAll().forEach((function(t){if(t instanceof c){var n=t.getClass().persistKey;null!=e&&"object"==typeof e&&null!=e.omit&&e.omit.includes(n)||(t._isInitialized=!1,t.initializeIfNeeded())}})),c._clearAllPromise=null,t()}),{timeout:500})}))),c._clearAllPromise},c.clearPersistQueue=function(){c._writeResolvers.forEach((function(e,t){var n=e[0],r=e[1];c._writePromises.delete(t),c._writeResolvers.delete(t),cancelIdleCallback(r),n(!1)})),c._writePromises.clear(),c._writeResolvers.clear()},c.getAllStates=function(){return Promise.all(Array.from(c._writePromises.values())).then((function(){var e={};return c.persistKeys.forEach((function(t){e[t]=(i.default.get(t)||l)._state})),e}))},c.initializeAll=function(e){o.default.getAll().forEach((function(t){if(t instanceof c){var n=t.getClass().persistKey;if(!e.hasOwnProperty(n))return;t.initialize(e[n]),t._isInitialized?t.emitChange():(c.persistKeys.add(t.getClass().persistKey),t._isInitialized=!0)}}))},c.destroy=function(){o.default.destroy(),c.clearPersistQueue(),c.persistKeys.clear()},a.initializeIfNeeded=function(){if(!this._isInitialized){c.persistKeys.add(this.getClass().persistKey);var e=(c._clearAllPromise?null:i.default.get(this.getClass().persistKey))||l,t=e._state,n=e._version,r=function(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}(e,["_state","_version"]),o=this.getClass().migrations,a=null==o?0:o.length;if(0!==a&&n!==a&&null!=o){var s=n||0,u=t;for(null==n&&(u=r);s<a;){u=(0,o[s])(u),s++}this.initialize(u),this.asyncPersist()}else Object.values(r).length>0?(this.initialize(r),this.asyncPersist()):this.initialize(t);this._isInitialized=!0}},a.asyncPersist=function(){var e=this,t=this.getClass(),n=t.persistKey,r=t.disableWrite,i=t.throttleDelay;if(c.disableWrites||r)return Promise.resolve(!1);var o=c._writePromises.get(n);return null!=o||(o=new Promise((function(t){var r=i>0?function(){return e.throttledCallback(t)}:function(){return e.callback(t)};c._writeResolvers.set(n,[t,requestIdleCallback(r,{timeout:500})])})),c._writePromises.set(n,o)),o},a.persist=function(){var e=this.getClass().persistKey,t=this.getState(),n=this._version;i.default.set(e,{_state:t,_version:n})},a.clear=function(){var e=this.getClass().persistKey;i.default.remove(e)},c}(o.default);t.default=c,c.persistKeys=new Set,c._writePromises=new Map,c._writeResolvers=new Map,c.disableWrites=!1,c.disableWrite=!1,c.throttleDelay=0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return{componentDidMount:function(){var e=this;t.forEach((function(t){return t.addChangeListener(e.storesDidChange)}))},componentWillUnmount:function(){var e=this;t.forEach((function(t){return t.removeChangeListener(e.storesDidChange)}))},getInitialState:function(){return this.getStateFromStores()||{}},storesDidChange:function(){this.setState(this.getStateFromStores()||{})}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(184)),a=s(n(432));function s(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function d(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,f(e,t)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=function(e,t,n){return null!=n&&n.forwardRef?function(e,t){return function(n){var r="FluxContainer("+p(n)+")",s=function(s){function u(){for(var n,r=arguments.length,i=new Array(r),u=0;u<r;u++)i[u]=arguments[u];return(n=s.call.apply(s,[this].concat(i))||this).memoizedGetStateFromStores=E(t),n.listener=new a.default(e,(function(){var e=n.memoizedGetStateFromStores.getCachedResult(n.props.childProps);null!=e&&(n.memoizedGetStateFromStores.clear(),(0,o.default)(n.memoizedGetStateFromStores(n.props.childProps),e))||n.forceUpdate()})),n}d(u,s);var l=u.prototype;return l.componentDidMount=function(){this.listener.attach(r)},l.componentWillUnmount=function(){this.listener.detach(),this.memoizedGetStateFromStores.clear()},l.render=function(){var e=this.props,t=e.forwardedConnectStoresRef,r=e.childProps,o=this.memoizedGetStateFromStores(r);return i.createElement(n,c({ref:t},r,o))},u}(i.Component);s.displayName="FluxContainer",s.displayName=r;var u=i.forwardRef((function(e,t){return l(s,{childProps:e,forwardedConnectStoresRef:t})}));return u.displayName="ForwardRef("+r+")",u}}(e,t):function(e,t){return function(n){var r="FluxContainer("+p(n)+")",s=function(s){function u(){for(var n,r=arguments.length,i=new Array(r),u=0;u<r;u++)i[u]=arguments[u];return(n=s.call.apply(s,[this].concat(i))||this).memoizedGetStateFromStores=E(t),n.listener=new a.default(e,(function(){var e=n.memoizedGetStateFromStores.getCachedResult(n.props);null!=e&&(n.memoizedGetStateFromStores.clear(),(0,o.default)(n.memoizedGetStateFromStores(n.props),e))||n.forceUpdate()})),n}d(u,s);var l=u.prototype;return l.componentDidMount=function(){this.listener.attach(r)},l.componentWillUnmount=function(){this.listener.detach(),this.memoizedGetStateFromStores.clear()},l.render=function(){var e=this.memoizedGetStateFromStores(this.props);return i.createElement(n,c({},this.props,e))},u}(i.Component);return s.displayName="FluxContainer",s.displayName=r,s}}(e,t)};function p(e){return e.displayName||e.name||"<Unknown>"}function E(e){var t=null,n=null,r=function(e){return null!=t&&null!=n&&(0,o.default)(t,e)?n:null!=t&&null!=n&&(0,o.default)(t,e)?(t=e,n):null},i=function(i){var o=r(i);return null!=o?o:n=e(t=i)};return i.getCachedResult=r,i.clear=function(){t=null,n=null},i}t.default=_},function(e,t,n){"use strict";var r=n(367),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,u=i?Symbol.for("react.strict_mode"):60108,l=i?Symbol.for("react.profiler"):60114,c=i?Symbol.for("react.provider"):60109,d=i?Symbol.for("react.context"):60110,f=i?Symbol.for("react.forward_ref"):60112,_=i?Symbol.for("react.suspense"):60113;i&&Symbol.for("react.suspense_list");var p=i?Symbol.for("react.memo"):60115,E=i?Symbol.for("react.lazy"):60116;i&&Symbol.for("react.fundamental"),i&&Symbol.for("react.responder"),i&&Symbol.for("react.scope");var h="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T={};function g(e,t,n){this.props=e,this.context=t,this.refs=T,this.updater=n||v}function I(){}function S(e,t,n){this.props=e,this.context=t,this.refs=T,this.updater=n||v}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},I.prototype=g.prototype;var y=S.prototype=new I;y.constructor=S,r(y,g.prototype),y.isPureReactComponent=!0;var A={current:null},O={current:null},N=Object.prototype.hasOwnProperty,R={key:!0,ref:!0,__self:!0,__source:!0};function b(e,t,n){var r,i={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)N.call(t,r)&&!R.hasOwnProperty(r)&&(i[r]=t[r]);var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){for(var l=Array(u),c=0;c<u;c++)l[c]=arguments[c+2];i.children=l}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===i[r]&&(i[r]=u[r]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:O.current}}function L(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var D=/\/+/g,C=[];function M(e,t,n,r){if(C.length){var i=C.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function P(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>C.length&&C.push(e)}function w(e,t,n){return null==e?0:function e(t,n,r,i){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var u=!1;if(null===t)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case o:case a:u=!0}}if(u)return r(i,t,""===n?"."+U(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l<t.length;l++){var c=n+U(s=t[l],l);u+=e(s,c,r,i)}else if(null===t||"object"!=typeof t?c=null:c="function"==typeof(c=h&&t[h]||t["@@iterator"])?c:null,"function"==typeof c)for(t=c.call(t),l=0;!(s=t.next()).done;)u+=e(s=s.value,c=n+U(s,l++),r,i);else if("object"===s)throw r=""+t,Error(m(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return u}(e,"",t,n)}function U(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function k(e,t){e.func.call(e.context,t,e.count++)}function G(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?Y(e,r,n,(function(e){return e})):null!=e&&(L(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(D,"$&/")+"/")+n)),r.push(e))}function Y(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(D,"$&/")+"/"),w(e,G,t=M(t,o,r,i)),P(t)}function x(){var e=A.current;if(null===e)throw Error(m(321));return e}var V={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return Y(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;w(e,k,t=M(null,null,t,n)),P(t)},count:function(e){return w(e,(function(){return null}),null)},toArray:function(e){var t=[];return Y(e,t,null,(function(e){return e})),t},only:function(e){if(!L(e))throw Error(m(143));return e}},createRef:function(){return{current:null}},Component:g,PureComponent:S,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:f,render:e}},lazy:function(e){return{$$typeof:E,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return x().useCallback(e,t)},useContext:function(e,t){return x().useContext(e,t)},useEffect:function(e,t){return x().useEffect(e,t)},useImperativeHandle:function(e,t,n){return x().useImperativeHandle(e,t,n)},useDebugValue:function(){},useLayoutEffect:function(e,t){return x().useLayoutEffect(e,t)},useMemo:function(e,t){return x().useMemo(e,t)},useReducer:function(e,t,n){return x().useReducer(e,t,n)},useRef:function(e){return x().useRef(e)},useState:function(e){return x().useState(e)},Fragment:s,Profiler:l,StrictMode:u,Suspense:_,createElement:b,cloneElement:function(e,t,n){if(null==e)throw Error(m(267,e));var i=r({},e.props),a=e.key,s=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,u=O.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)N.call(t,c)&&!R.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){l=Array(c);for(var d=0;d<c;d++)l[d]=arguments[d+2];i.children=l}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:u}},createFactory:function(e){var t=b.bind(null,e);return t.type=e,t},isValidElement:L,version:"16.12.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:A,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:O,IsSomeRendererActing:{current:!1},assign:r}},H={default:V},F=H&&V||H;e.exports=F.default||F},function(e,t,n){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=l(e),a=r[0],s=r[1],u=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),c=0,d=s>0?a-4:a;for(n=0;n<d;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,u[c++]=255&t);1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t);return u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(c(e,a,a+16383>s?s:a+16383));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s<u;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,n){for(var i,o,a=[],s=t;s<n;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,l=u>>1,c=-7,d=n?i-1:0,f=n?-1:1,_=e[t+d];for(d+=f,o=_&(1<<-c)-1,_>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+d],d+=f,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(_?-1:1);a+=Math.pow(2,r),o-=l}return(_?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<<l)-1,d=c>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,_=r?0:o-1,p=r?1:-1,E=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+d>=1?f/u:f*Math.pow(2,1-d))*u>=2&&(a++,u/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*u-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+_]=255&s,_+=p,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[n+_]=255&a,_+=p,a/=256,l-=8);e[n+_-p]|=128*E}},function(e,t,n){function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var i=0;i<r.length;i++)if((n=r[i])===t||n.fn===t){r.splice(i,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var i=(n=n.slice(0)).length;r<i;++r)n[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},function(e,t){e.exports=i,i.default=i,i.stable=a,i.stableStringify=a;var n=[],r=[];function i(e,t,i){var o;for(!function e(t,i,o,a){var s;if("object"==typeof t&&null!==t){for(s=0;s<o.length;s++)if(o[s]===t){var u=Object.getOwnPropertyDescriptor(a,i);return void(void 0!==u.get?u.configurable?(Object.defineProperty(a,i,{value:"[Circular]"}),n.push([a,i,t,u])):r.push([t,i]):(a[i]="[Circular]",n.push([a,i,t])))}if(o.push(t),Array.isArray(t))for(s=0;s<t.length;s++)e(t[s],s,o,t);else{var l=Object.keys(t);for(s=0;s<l.length;s++){var c=l[s];e(t[c],c,o,t)}}o.pop()}}(e,"",[],void 0),o=0===r.length?JSON.stringify(e,t,i):JSON.stringify(e,s(t),i);0!==n.length;){var a=n.pop();4===a.length?Object.defineProperty(a[0],a[1],a[3]):a[0][a[1]]=a[2]}return o}function o(e,t){return e<t?-1:e>t?1:0}function a(e,t,i){var a,u=function e(t,i,a,s){var u;if("object"==typeof t&&null!==t){for(u=0;u<a.length;u++)if(a[u]===t){var l=Object.getOwnPropertyDescriptor(s,i);return void(void 0!==l.get?l.configurable?(Object.defineProperty(s,i,{value:"[Circular]"}),n.push([s,i,t,l])):r.push([t,i]):(s[i]="[Circular]",n.push([s,i,t])))}if("function"==typeof t.toJSON)return;if(a.push(t),Array.isArray(t))for(u=0;u<t.length;u++)e(t[u],u,a,t);else{var c={},d=Object.keys(t).sort(o);for(u=0;u<d.length;u++){var f=d[u];e(t[f],f,a,t),c[f]=t[f]}if(void 0===s)return c;n.push([s,i,t]),s[i]=c}a.pop()}}(e,"",[],void 0)||e;for(a=0===r.length?JSON.stringify(u,t,i):JSON.stringify(u,s(t),i);0!==n.length;){var l=n.pop();4===l.length?Object.defineProperty(l[0],l[1],l[3]):l[0][l[1]]=l[2]}return a}function s(e){return e=void 0!==e?e:function(e,t){return t},function(t,n){if(r.length>0)for(var i=0;i<r.length;i++){var o=r[i];if(o[1]===t&&o[0]===n){n="[Circular]",r.splice(i,1);break}}return e.call(this,t,n)}}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=n(781);function o(e){if(e)return function(e){for(var t in o.prototype)Object.prototype.hasOwnProperty.call(o.prototype,t)&&(e[t]=o.prototype[t]);return e}(e)}e.exports=o,o.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},o.prototype.parse=function(e){return this._parser=e,this},o.prototype.responseType=function(e){return this._responseType=e,this},o.prototype.serialize=function(e){return this._serializer=e,this},o.prototype.timeout=function(e){if(!e||"object"!==r(e))return this._timeout=e,this._responseTimeout=0,this._uploadTimeout=0,this;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;case"upload":this._uploadTimeout=e.upload;break;default:console.warn("Unknown timeout option",t)}return this},o.prototype.retry=function(e,t){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};var a=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];o.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(e,t);if(!0===n)return!0;if(!1===n)return!1}catch(e){console.error(e)}if(t&&t.status&&t.status>=500&&501!==t.status)return!0;if(e){if(e.code&&-1!==a.indexOf(e.code))return!0;if(e.timeout&&"ECONNABORTED"===e.code)return!0;if(e.crossDomain)return!0}return!1},o.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},o.prototype.then=function(e,t){var n=this;if(!this._fullfilledPromise){var r=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(e,t){r.on("abort",(function(){var e=new Error("Aborted");e.code="ABORTED",e.status=n.status,e.method=n.method,e.url=n.url,t(e)})),r.end((function(n,r){n?t(n):e(r)}))}))}return this._fullfilledPromise.then(e,t)},o.prototype.catch=function(e){return this.then(void 0,e)},o.prototype.use=function(e){return e(this),this},o.prototype.ok=function(e){if("function"!=typeof e)throw new Error("Callback required");return this._okCallback=e,this},o.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},o.prototype.get=function(e){return this._header[e.toLowerCase()]},o.prototype.getHeader=o.prototype.get,o.prototype.set=function(e,t){if(i(e)){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},o.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},o.prototype.field=function(e,t){if(null==e)throw new Error(".field(name, val) name can not be empty");if(this._data)throw new Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(i(e)){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&this.field(n,e[n]);return this}if(Array.isArray(t)){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&this.field(e,t[r]);return this}if(null==t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=String(t)),this._getFormData().append(e,t),this},o.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},o.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization","Basic ".concat(r("".concat(e,":").concat(t))));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer ".concat(e))}return this},o.prototype.withCredentials=function(e){return void 0===e&&(e=!0),this._withCredentials=e,this},o.prototype.redirects=function(e){return this._maxRedirects=e,this},o.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw new TypeError("Invalid argument");return this._maxResponseSize=e,this},o.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},o.prototype.send=function(e){var t=i(e),n=this._header["content-type"];if(this._formData)throw new Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw new Error("Can't merge these send calls");if(t&&i(this._data))for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(this._data[r]=e[r]);else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"===n?this._data?"".concat(this._data,"&").concat(e):e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)||n||this.type("json"),this},o.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},o.prototype._finalizeQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._query.length=0,this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.substring(t+1).split("&");"function"==typeof this._sort?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,t)+"?"+n.join("&")}}},o.prototype._appendQueryString=function(){console.warn("Unsupported")},o.prototype._timeoutError=function(e,t,n){if(!this._aborted){var r=new Error("".concat(e+t,"ms exceeded"));r.timeout=t,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.abort(),this.callback(r)}},o.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}},function(e,t,n){"use strict";var r=n(1461);function i(e){if(e)return function(e){for(var t in i.prototype)Object.prototype.hasOwnProperty.call(i.prototype,t)&&(e[t]=i.prototype[t]);return e}(e)}e.exports=i,i.prototype.get=function(e){return this.header[e.toLowerCase()]},i.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=r.type(t);var n=r.params(t);for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(this[i]=n[i]);this.links={};try{e.link&&(this.links=r.parseLinks(e.link))}catch(e){}},i.prototype._setStatusProperties=function(e){var t=e/100|0;this.statusCode=e,this.status=this.statusCode,this.statusType=t,this.info=1===t,this.ok=2===t,this.redirect=3===t,this.clientError=4===t,this.serverError=5===t,this.error=(4===t||5===t)&&this.toError(),this.created=201===e,this.accepted=202===e,this.noContent=204===e,this.badRequest=400===e,this.unauthorized=401===e,this.notAcceptable=406===e,this.forbidden=403===e,this.notFound=404===e,this.unprocessableEntity=422===e}},function(e,t,n){"use strict";t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce((function(e,t){var n=t.split(/ *= */),r=n.shift(),i=n.shift();return r&&i&&(e[r]=i),e}),{})},t.parseLinks=function(e){return e.split(/ *, */).reduce((function(e,t){var n=t.split(/ *; */),r=n[0].slice(1,-1);return e[n[1].split(/ *= */)[1].slice(1,-1)]=r,e}),{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e}},function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert"].forEach((function(e){i.prototype[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this._defaults.push({fn:e,args:n}),this}})),i.prototype._setDefaults=function(e){this._defaults.forEach((function(t){e[t.fn].apply(e,r(t.args))}))},e.exports=i},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}(e.exports="function"==typeof Object.keys?Object.keys:n).shim=n},function(e,t){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function r(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function i(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}(t=e.exports=n?r:i).supported=r,t.unsupported=i},function(e,t,n){"use strict";var r=n(1466),i=n(1471);r.default.__addLocaleData(i.default),r.default.defaultLocale="en",t.default=r.default},function(e,t,n){"use strict";var r=n(784),i=n(1467),o=n(1468),a=n(1469);function s(e,t,n){var r="string"==typeof e?s.__parse(e):e;if(!r||"messageFormatPattern"!==r.type)throw new TypeError("A message must be provided as a String or AST.");n=this._mergeFormats(s.formats,n),i.defineProperty(this,"_locale",{value:this._resolveLocale(t)});var o=this._findPluralRuleFunction(this._locale),a=this._compilePattern(r,t,n,o),u=this;this.format=function(e){return u._format(a,e)}}t.default=s,i.defineProperty(s,"formats",{enumerable:!0,value:{number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}),i.defineProperty(s,"__localeData__",{value:i.objCreate(null)}),i.defineProperty(s,"__addLocaleData",{value:function(e){if(!e||!e.locale)throw new Error("Locale data provided to IntlMessageFormat is missing a `locale` property");s.__localeData__[e.locale.toLowerCase()]=e}}),i.defineProperty(s,"__parse",{value:a.default.parse}),i.defineProperty(s,"defaultLocale",{enumerable:!0,writable:!0,value:void 0}),s.prototype.resolvedOptions=function(){return{locale:this._locale}},s.prototype._compilePattern=function(e,t,n,r){return new o.default(t,n,r).compile(e)},s.prototype._findPluralRuleFunction=function(e){for(var t=s.__localeData__,n=t[e.toLowerCase()];n;){if(n.pluralRuleFunction)return n.pluralRuleFunction;n=n.parentLocale&&t[n.parentLocale.toLowerCase()]}throw new Error("Locale data added to IntlMessageFormat is missing a `pluralRuleFunction` for :"+e)},s.prototype._format=function(e,t){var n,i,o,a,s,u="";for(n=0,i=e.length;n<i;n+=1)if("string"!=typeof(o=e[n])){if(a=o.id,!t||!r.hop.call(t,a))throw new Error("A value must be provided for: "+a);s=t[a],o.options?u+=this._format(o.getOption(s),t):u+=o.format(s)}else u+=o;return u},s.prototype._mergeFormats=function(e,t){var n,o,a={};for(n in e)r.hop.call(e,n)&&(a[n]=o=i.objCreate(e[n]),t&&r.hop.call(t,n)&&r.extend(o,t[n]));return a},s.prototype._resolveLocale=function(e){"string"==typeof e&&(e=[e]),e=(e||[]).concat(s.defaultLocale);var t,n,r,i,o=s.__localeData__;for(t=0,n=e.length;t<n;t+=1)for(r=e[t].toLowerCase().split("-");r.length;){if(i=o[r.join("-")])return i.locale;r.pop()}var a=e.pop();throw new Error("No locale data has been added to IntlMessageFormat for: "+e.join(", ")+", or the default locale: "+a)}},function(e,t,n){"use strict";var r=n(784),i=function(){try{return!!Object.defineProperty({},"a",{})}catch(e){return!1}}(),o=(!i&&Object.prototype.__defineGetter__,i?Object.defineProperty:function(e,t,n){"get"in n&&e.__defineGetter__?e.__defineGetter__(t,n.get):r.hop.call(e,t)&&!("value"in n)||(e[t]=n.value)}),a=Object.create||function(e,t){var n,i;function a(){}for(i in a.prototype=e,n=new a,t)r.hop.call(t,i)&&o(n,i,t[i]);return n};t.defineProperty=o,t.objCreate=a},function(e,t,n){"use strict";function r(e,t,n){this.locales=e,this.formats=t,this.pluralFn=n}function i(e,t){var n;try{n=new Intl.DateTimeFormat(e,t)}catch(e){}var r=n?n.resolvedOptions().timeZone:null;return r&&"etc/unknown"!==r.toLowerCase()?n:new Intl.DateTimeFormat(e,Object.assign({},t,{timeZone:"UTC"}))}function o(e){this.id=e}function a(e,t,n,r,i){this.id=e,this.useOrdinal=t,this.offset=n,this.options=r,this.pluralFn=i}function s(e,t,n,r){this.id=e,this.offset=t,this.numberFormat=n,this.string=r}function u(e,t){this.id=e,this.options=t}t.default=r,r.prototype.compile=function(e){return this.pluralStack=[],this.currentPlural=null,this.pluralNumberFormat=null,this.compileMessage(e)},r.prototype.compileMessage=function(e){if(!e||"messageFormatPattern"!==e.type)throw new Error('Message AST is not of type: "messageFormatPattern"');var t,n,r,i=e.elements,o=[];for(t=0,n=i.length;t<n;t+=1)switch((r=i[t]).type){case"messageTextElement":o.push(this.compileMessageText(r));break;case"argumentElement":o.push(this.compileArgument(r));break;default:throw new Error("Message element does not have a valid type")}return o},r.prototype.compileMessageText=function(e){return this.currentPlural&&/(^|[^\\])#/g.test(e.value)?(this.pluralNumberFormat||(this.pluralNumberFormat=new Intl.NumberFormat(this.locales)),new s(this.currentPlural.id,this.currentPlural.format.offset,this.pluralNumberFormat,e.value)):e.value.replace(/\\#/g,"#")},r.prototype.compileArgument=function(e){var t=e.format;if(!t)return new o(e.id);var n,r=this.formats,s=this.locales,l=this.pluralFn;switch(t.type){case"numberFormat":return n=r.number[t.style],{id:e.id,format:new Intl.NumberFormat(s,n).format};case"dateFormat":return n=r.date[t.style],{id:e.id,format:i(s,n).format};case"timeFormat":return n=r.time[t.style],{id:e.id,format:i(s,n).format};case"pluralFormat":return n=this.compileOptions(e),new a(e.id,t.ordinal,t.offset,n,l);case"selectFormat":return n=this.compileOptions(e),new u(e.id,n);default:throw new Error("Message element does not have a valid format type")}},r.prototype.compileOptions=function(e){var t,n,r,i=e.format,o=i.options,a={};for(this.pluralStack.push(this.currentPlural),this.currentPlural="pluralFormat"===i.type?e:null,t=0,n=o.length;t<n;t+=1)a[(r=o[t]).selector]=this.compileMessage(r.value);return this.currentPlural=this.pluralStack.pop(),a},o.prototype.format=function(e){return e?"string"==typeof e?e:String(e):""},a.prototype.getOption=function(e){var t=this.options;return t["="+e]||t[this.pluralFn(e-this.offset,this.useOrdinal)]||t.other},s.prototype.format=function(e){var t=this.numberFormat.format(e-this.offset);return this.string.replace(/(^|[^\\])#/g,"$1"+t).replace(/\\#/g,"#")},u.prototype.getOption=function(e){var t=this.options;return t[e]||t.other}},function(e,t,n){"use strict";(t=e.exports=n(1470).default).default=t},function(e,t,n){"use strict";t.default=function(){function e(e,t,n,r,i,o){this.message=e,this.expected=t,this.found=n,this.offset=r,this.line=i,this.column=o,this.name="SyntaxError"}return function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(e,Error),{SyntaxError:e,parse:function(t){var n,r=arguments.length>1?arguments[1]:{},i={},o={start:De},a=De,s=function(e){return{type:"messageFormatPattern",elements:e}},u=i,l=function(e){var t,n,r,i,o,a="";for(t=0,r=e.length;t<r;t+=1)for(n=0,o=(i=e[t]).length;n<o;n+=1)a+=i[n];return a},c=function(e){return{type:"messageTextElement",value:e}},d=/^[^ \t\n\r,.+={}#]/,f={type:"class",value:"[^ \\t\\n\\r,.+={}#]",description:"[^ \\t\\n\\r,.+={}#]"},_="{",p={type:"literal",value:"{",description:'"{"'},E=null,h=",",m={type:"literal",value:",",description:'","'},v="}",T={type:"literal",value:"}",description:'"}"'},g=function(e,t){return{type:"argumentElement",id:e,format:t&&t[2]}},I="number",S={type:"literal",value:"number",description:'"number"'},y="date",A={type:"literal",value:"date",description:'"date"'},O="time",N={type:"literal",value:"time",description:'"time"'},R=function(e,t){return{type:e+"Format",style:t&&t[2]}},b="plural",L={type:"literal",value:"plural",description:'"plural"'},D=function(e){return{type:e.type,ordinal:!1,offset:e.offset||0,options:e.options}},C="selectordinal",M={type:"literal",value:"selectordinal",description:'"selectordinal"'},P=function(e){return{type:e.type,ordinal:!0,offset:e.offset||0,options:e.options}},w="select",U={type:"literal",value:"select",description:'"select"'},k=function(e){return{type:"selectFormat",options:e}},G="=",Y={type:"literal",value:"=",description:'"="'},x=function(e,t){return{type:"optionalFormatPattern",selector:e,value:t}},V="offset:",H={type:"literal",value:"offset:",description:'"offset:"'},F=function(e){return e},B=function(e,t){return{type:"pluralFormat",offset:e,options:t}},j={type:"other",description:"whitespace"},W=/^[ \t\n\r]/,K={type:"class",value:"[ \\t\\n\\r]",description:"[ \\t\\n\\r]"},z={type:"other",description:"optionalWhitespace"},q=/^[0-9]/,X={type:"class",value:"[0-9]",description:"[0-9]"},J=/^[0-9a-f]/i,Q={type:"class",value:"[0-9a-f]i",description:"[0-9a-f]i"},Z="0",$={type:"literal",value:"0",description:'"0"'},ee=/^[1-9]/,te={type:"class",value:"[1-9]",description:"[1-9]"},ne=function(e){return parseInt(e,10)},re=/^[^{}\\\0-\x1F \t\n\r]/,ie={type:"class",value:"[^{}\\\\\\0-\\x1F \\t\\n\\r]",description:"[^{}\\\\\\0-\\x1F \\t\\n\\r]"},oe="\\\\",ae={type:"literal",value:"\\\\",description:'"\\\\\\\\"'},se=function(){return"\\"},ue="\\#",le={type:"literal",value:"\\#",description:'"\\\\#"'},ce=function(){return"\\#"},de="\\{",fe={type:"literal",value:"\\{",description:'"\\\\{"'},_e=function(){return"{"},pe="\\}",Ee={type:"literal",value:"\\}",description:'"\\\\}"'},he=function(){return"}"},me="\\u",ve={type:"literal",value:"\\u",description:'"\\\\u"'},Te=function(e){return String.fromCharCode(parseInt(e,16))},ge=function(e){return e.join("")},Ie=0,Se=0,ye={line:1,column:1,seenCR:!1},Ae=0,Oe=[],Ne=0;if("startRule"in r){if(!(r.startRule in o))throw new Error("Can't start parsing from rule \""+r.startRule+'".');a=o[r.startRule]}function Re(e){return Se!==e&&(Se>e&&(Se=0,ye={line:1,column:1,seenCR:!1}),function(e,n,r){var i,o;for(i=n;i<r;i++)"\n"===(o=t.charAt(i))?(e.seenCR||e.line++,e.column=1,e.seenCR=!1):"\r"===o||"\u2028"===o||"\u2029"===o?(e.line++,e.column=1,e.seenCR=!0):(e.column++,e.seenCR=!1)}(ye,Se,e),Se=e),ye}function be(e){Ie<Ae||(Ie>Ae&&(Ae=Ie,Oe=[]),Oe.push(e))}function Le(n,r,i){var o=Re(i),a=i<t.length?t.charAt(i):null;return null!==r&&function(e){var t=1;for(e.sort((function(e,t){return e.description<t.description?-1:e.description>t.description?1:0}));t<e.length;)e[t-1]===e[t]?e.splice(t,1):t++}(r),new e(null!==n?n:function(e,t){var n,r=new Array(e.length);for(n=0;n<e.length;n++)r[n]=e[n].description;return"Expected "+(e.length>1?r.slice(0,-1).join(", ")+" or "+r[e.length-1]:r[0])+" but "+(t?'"'+function(e){function t(e){return e.charCodeAt(0).toString(16).toUpperCase()}return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,(function(e){return"\\x0"+t(e)})).replace(/[\x10-\x1F\x80-\xFF]/g,(function(e){return"\\x"+t(e)})).replace(/[\u0180-\u0FFF]/g,(function(e){return"\\u0"+t(e)})).replace(/[\u1080-\uFFFF]/g,(function(e){return"\\u"+t(e)}))}(t)+'"':"end of input")+" found."}(r,a),r,a,i,o.line,o.column)}function De(){return Ce()}function Ce(){var e,t,n;for(e=Ie,t=[],n=Me();n!==i;)t.push(n),n=Me();return t!==i&&(e,t=s(t)),e=t}function Me(){var e;return(e=we())===i&&(e=ke()),e}function Pe(){var e,n,r,o,a,s;if(e=Ie,n=[],r=Ie,(o=ze())!==i&&(a=Ze())!==i&&(s=ze())!==i?r=o=[o,a,s]:(Ie=r,r=u),r!==i)for(;r!==i;)n.push(r),r=Ie,(o=ze())!==i&&(a=Ze())!==i&&(s=ze())!==i?r=o=[o,a,s]:(Ie=r,r=u);else n=u;return n!==i&&(e,n=l(n)),(e=n)===i&&(e=Ie,(n=Ke())!==i&&(n=t.substring(e,Ie)),e=n),e}function we(){var e,t;return e=Ie,(t=Pe())!==i&&(e,t=c(t)),e=t}function Ue(){var e,n,r;if((e=Je())===i){if(e=Ie,n=[],d.test(t.charAt(Ie))?(r=t.charAt(Ie),Ie++):(r=i,0===Ne&&be(f)),r!==i)for(;r!==i;)n.push(r),d.test(t.charAt(Ie))?(r=t.charAt(Ie),Ie++):(r=i,0===Ne&&be(f));else n=u;n!==i&&(n=t.substring(e,Ie)),e=n}return e}function ke(){var e,n,r,o,a,s,l;return e=Ie,123===t.charCodeAt(Ie)?(n=_,Ie++):(n=i,0===Ne&&be(p)),n!==i&&ze()!==i&&(r=Ue())!==i&&ze()!==i?(o=Ie,44===t.charCodeAt(Ie)?(a=h,Ie++):(a=i,0===Ne&&be(m)),a!==i&&(s=ze())!==i&&(l=Ge())!==i?o=a=[a,s,l]:(Ie=o,o=u),o===i&&(o=E),o!==i&&(a=ze())!==i?(125===t.charCodeAt(Ie)?(s=v,Ie++):(s=i,0===Ne&&be(T)),s!==i?(e,e=n=g(r,o)):(Ie=e,e=u)):(Ie=e,e=u)):(Ie=e,e=u),e}function Ge(){var e;return(e=Ye())===i&&(e=xe())===i&&(e=Ve())===i&&(e=He()),e}function Ye(){var e,n,r,o,a,s;return e=Ie,t.substr(Ie,6)===I?(n=I,Ie+=6):(n=i,0===Ne&&be(S)),n===i&&(t.substr(Ie,4)===y?(n=y,Ie+=4):(n=i,0===Ne&&be(A)),n===i&&(t.substr(Ie,4)===O?(n=O,Ie+=4):(n=i,0===Ne&&be(N)))),n!==i&&ze()!==i?(r=Ie,44===t.charCodeAt(Ie)?(o=h,Ie++):(o=i,0===Ne&&be(m)),o!==i&&(a=ze())!==i&&(s=Ze())!==i?r=o=[o,a,s]:(Ie=r,r=u),r===i&&(r=E),r!==i?(e,e=n=R(n,r)):(Ie=e,e=u)):(Ie=e,e=u),e}function xe(){var e,n,r,o;return e=Ie,t.substr(Ie,6)===b?(n=b,Ie+=6):(n=i,0===Ne&&be(L)),n!==i&&ze()!==i?(44===t.charCodeAt(Ie)?(r=h,Ie++):(r=i,0===Ne&&be(m)),r!==i&&ze()!==i&&(o=We())!==i?(e,e=n=D(o)):(Ie=e,e=u)):(Ie=e,e=u),e}function Ve(){var e,n,r,o;return e=Ie,t.substr(Ie,13)===C?(n=C,Ie+=13):(n=i,0===Ne&&be(M)),n!==i&&ze()!==i?(44===t.charCodeAt(Ie)?(r=h,Ie++):(r=i,0===Ne&&be(m)),r!==i&&ze()!==i&&(o=We())!==i?(e,e=n=P(o)):(Ie=e,e=u)):(Ie=e,e=u),e}function He(){var e,n,r,o,a;if(e=Ie,t.substr(Ie,6)===w?(n=w,Ie+=6):(n=i,0===Ne&&be(U)),n!==i)if(ze()!==i)if(44===t.charCodeAt(Ie)?(r=h,Ie++):(r=i,0===Ne&&be(m)),r!==i)if(ze()!==i){if(o=[],(a=Be())!==i)for(;a!==i;)o.push(a),a=Be();else o=u;o!==i?(e,e=n=k(o)):(Ie=e,e=u)}else Ie=e,e=u;else Ie=e,e=u;else Ie=e,e=u;else Ie=e,e=u;return e}function Fe(){var e,n,r,o;return e=Ie,n=Ie,61===t.charCodeAt(Ie)?(r=G,Ie++):(r=i,0===Ne&&be(Y)),r!==i&&(o=Je())!==i?n=r=[r,o]:(Ie=n,n=u),n!==i&&(n=t.substring(e,Ie)),(e=n)===i&&(e=Ze()),e}function Be(){var e,n,r,o,a;return e=Ie,ze()!==i&&(n=Fe())!==i&&ze()!==i?(123===t.charCodeAt(Ie)?(r=_,Ie++):(r=i,0===Ne&&be(p)),r!==i&&ze()!==i&&(o=Ce())!==i&&ze()!==i?(125===t.charCodeAt(Ie)?(a=v,Ie++):(a=i,0===Ne&&be(T)),a!==i?(e,e=x(n,o)):(Ie=e,e=u)):(Ie=e,e=u)):(Ie=e,e=u),e}function je(){var e,n,r;return e=Ie,t.substr(Ie,7)===V?(n=V,Ie+=7):(n=i,0===Ne&&be(H)),n!==i&&ze()!==i&&(r=Je())!==i?(e,e=n=F(r)):(Ie=e,e=u),e}function We(){var e,t,n,r;if(e=Ie,(t=je())===i&&(t=E),t!==i)if(ze()!==i){if(n=[],(r=Be())!==i)for(;r!==i;)n.push(r),r=Be();else n=u;n!==i?(e,e=t=B(t,n)):(Ie=e,e=u)}else Ie=e,e=u;else Ie=e,e=u;return e}function Ke(){var e,n;if(Ne++,e=[],W.test(t.charAt(Ie))?(n=t.charAt(Ie),Ie++):(n=i,0===Ne&&be(K)),n!==i)for(;n!==i;)e.push(n),W.test(t.charAt(Ie))?(n=t.charAt(Ie),Ie++):(n=i,0===Ne&&be(K));else e=u;return Ne--,e===i&&(n=i,0===Ne&&be(j)),e}function ze(){var e,n,r;for(Ne++,e=Ie,n=[],r=Ke();r!==i;)n.push(r),r=Ke();return n!==i&&(n=t.substring(e,Ie)),Ne--,(e=n)===i&&(n=i,0===Ne&&be(z)),e}function qe(){var e;return q.test(t.charAt(Ie))?(e=t.charAt(Ie),Ie++):(e=i,0===Ne&&be(X)),e}function Xe(){var e;return J.test(t.charAt(Ie))?(e=t.charAt(Ie),Ie++):(e=i,0===Ne&&be(Q)),e}function Je(){var e,n,r,o,a,s;if(e=Ie,48===t.charCodeAt(Ie)?(n=Z,Ie++):(n=i,0===Ne&&be($)),n===i){if(n=Ie,r=Ie,ee.test(t.charAt(Ie))?(o=t.charAt(Ie),Ie++):(o=i,0===Ne&&be(te)),o!==i){for(a=[],s=qe();s!==i;)a.push(s),s=qe();a!==i?r=o=[o,a]:(Ie=r,r=u)}else Ie=r,r=u;r!==i&&(r=t.substring(n,Ie)),n=r}return n!==i&&(e,n=ne(n)),e=n}function Qe(){var e,n,r,o,a,s,l,c;return re.test(t.charAt(Ie))?(e=t.charAt(Ie),Ie++):(e=i,0===Ne&&be(ie)),e===i&&(e=Ie,t.substr(Ie,2)===oe?(n=oe,Ie+=2):(n=i,0===Ne&&be(ae)),n!==i&&(e,n=se()),(e=n)===i&&(e=Ie,t.substr(Ie,2)===ue?(n=ue,Ie+=2):(n=i,0===Ne&&be(le)),n!==i&&(e,n=ce()),(e=n)===i&&(e=Ie,t.substr(Ie,2)===de?(n=de,Ie+=2):(n=i,0===Ne&&be(fe)),n!==i&&(e,n=_e()),(e=n)===i&&(e=Ie,t.substr(Ie,2)===pe?(n=pe,Ie+=2):(n=i,0===Ne&&be(Ee)),n!==i&&(e,n=he()),(e=n)===i&&(e=Ie,t.substr(Ie,2)===me?(n=me,Ie+=2):(n=i,0===Ne&&be(ve)),n!==i?(r=Ie,o=Ie,(a=Xe())!==i&&(s=Xe())!==i&&(l=Xe())!==i&&(c=Xe())!==i?o=a=[a,s,l,c]:(Ie=o,o=u),o!==i&&(o=t.substring(r,Ie)),(r=o)!==i?(e,e=n=Te(r)):(Ie=e,e=u)):(Ie=e,e=u)))))),e}function Ze(){var e,t,n;if(e=Ie,t=[],(n=Qe())!==i)for(;n!==i;)t.push(n),n=Qe();else t=u;return t!==i&&(e,t=ge(t)),e=t}if((n=a())!==i&&Ie===t.length)return n;throw n!==i&&Ie<t.length&&be({type:"end",description:"end of input"}),Le(null,Oe,Ae)}}}()},function(e,t,n){"use strict";t.default={locale:"en",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=!n[1],i=Number(n[0])==e,o=i&&n[0].slice(-1),a=i&&n[0].slice(-2);return t?1==o&&11!=a?"one":2==o&&12!=a?"two":3==o&&13!=a?"few":"other":1==e&&r?"one":"other"}}},function(e,t){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(101);function i(){return(i=Object.assign||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}).apply(this,arguments)}var o=r.defaultRules.newline,a=r.defaultRules.paragraph,s=r.defaultRules.url,u=r.defaultRules.link,l=r.defaultRules.strong,c=r.defaultRules.u,d=r.defaultRules.br,f=r.defaultRules.em,_=r.defaultRules.image,p=r.defaultRules.text,E={newline:o,paragraph:a,url:s,link:i({},u,{parse:function(e,t,n){var r=u.parse(e,t,n);return r.context=n.context,r}}),strong:l,u:c,br:d,em:f,image:_,hook:{order:p.order,match:(0,r.inlineRegex)(/^\$\[(.*?)\]\((\w+)\)/),parse:function(e,t,n){return{render:n.context[e[2]],content:t(e[1],n)}},react:function(e,t,n){return e.render(t(e.content,n),n.key)}},noparse:{order:p.order,match:(0,r.inlineRegex)(/^!!(\d+?)!!/),parse:function(e,t,n){var r=n.unsafeContext[e[1]];return"string"!=typeof r&&(r=null!=r?r.toString():""),{type:"text",content:r}},react:function(e){return e.content}},text:p};t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UNSAFE_RE_ALL=t.UNSAFE_RE=t.MARKDOWN_RE=t.FORMAT_RE=void 0;t.FORMAT_RE=/\{.+?\}/;t.MARKDOWN_RE=/[~*_]{2}.+?[~*_]{2}|\[.*?\]\(.+?\)|\n\n/;t.UNSAFE_RE=/!!/;t.UNSAFE_RE_ALL=/!!/g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.heading=o.defaultRules.heading,e.lheading=o.defaultRules.lheading,e.list=o.defaultRules.list,e.paragraph=u({},e.paragraph,{react:function(e,t,n){return s("p",{},n.key,t(e.content,n))}}),e.link=u({},e.link,{react:function(e,t,n){var r={};if(null!=e.context){var a=e.context[e.target];a&&a.onClick?(r.onClick=a.onClick,r.onContextMenu=a.onContextMenu):r.onClick=a}return null==r.onClick&&(r.href=(0,o.sanitizeUrl)(e.target),r.target="_blank"),i.createElement("a",u({key:n.key,title:e.title},r,{rel:"noreferrer"}),t(e.content,n))}}),e};var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(101);function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function u(){return(u=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getSystemLocale=c,t.default=void 0;var r=n(64),i=s(n(783)),o=s(n(5)),a=n(782);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,l(e,t)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}e.IntlMessageFormat=i.default,n(1478),n(1479),n(1480),n(1481),n(1482),n(1483),n(1484),n(1485),n(1486),n(1487),n(1488),n(1489),n(1490),n(1491),n(1492),n(1493),n(1494),n(1495),n(1496),n(1497),n(1498),n(1499),n(1500),n(1501),n(1502),n(1503),n(1504),n(1505),delete e.IntlMessageFormat,"undefined"==typeof Intl&&n(908);function c(){var e;return null!==(e=(Array.isArray(navigator.languages)?navigator.languages[0]:null)||navigator.language||navigator.browserLanguage||navigator.userLanguage)&&void 0!==e?e:""}var d=function(){function e(e){this._context={messages:{},defaultMessages:{},locale:"en-US"},this._parsedMessages={},this._getParsedMessages=e}return e.prototype.getMessages=function(){return this._parsedMessages},e}(),f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this)._refresh=function(e,n){return void 0===n&&(n={}),Object.keys(e.defaultMessages).forEach((function(r){Object.defineProperty(n,r,{configurable:!0,get:function(){return delete n[r],n[r]=t._getParsedMessages(e,r,t._refresh)}})})),n},t}return u(t,e),t.prototype.refresh=function(e){this._context=e,this._refresh(e,this._parsedMessages)},t}(d),_=function(e){function t(t){var n;return(n=e.call(this,t)||this)._createProxy=function(e){return void 0===e&&(e=n._context),new Proxy({},{get:function(t,r){return t[r]||(t[r]=n._getParsedMessages(e,r,n._createProxy))}})},n._parsedMessages=n._createProxy(n._context),n}return u(t,e),t.prototype.refresh=function(e){var t=this;Object.assign(this._context,e),Object.keys(this._parsedMessages).forEach((function(e){delete t._parsedMessages[e]}))},t}(d),p=function(e){function t(t){var r,i=t.initialLocale,o=t.getMessages,s=t.getLanguages;return(r=e.call(this)||this).loadPromise=Promise.resolve(),r._languages=[],r._chosenLocale="",r._getParsedMessages=function(e,t,n){var r=e.messages,i=e.defaultMessages,o=e.locale,s=r[t]||i[t];if("object"==typeof s)return n({messages:s,defaultMessages:i[t],locale:o});try{return(0,a.getMessage)(s,o)}catch(e){if(console.warn("Failed parsing intl key '"+t+"' in locale '"+o+"' defaulting to English",e),"string"==typeof(s=i[t]))return(0,a.getMessage)(s,o)}return""},r._handleNewListener=function(e){switch(e){case"locale":r.emit(e,r._chosenLocale)}},Intl.__addLocaleData&&Intl.__addLocaleData(n(1510)),r._languages=s(),r._provider=null!=window.Proxy?new _(r._getParsedMessages):new f(r._getParsedMessages),r.Messages=r._provider.getMessages(),r._getMessages=o,r.setLocale(i||r.getDefaultLocale()),r.on("newListener",r._handleNewListener),r}u(t,e);var r=t.prototype;return r.setLocale=function(e){if(this._chosenLocale!==e){this._requestedLocale=e;var t=this._chosenLocale;this._chosenLocale=e,this.loadPromise=this._loadMessagesForLocale(e),function(e,t){for(var n=[],r=("no"===e?"nb":e).split("-");r.length>0;)n.push(r.join("-")),r.pop();n.push(t),o.default.locale(n)}(this._chosenLocale,"en-US"),this.emit("locale",this._chosenLocale,t)}},r.setUpdateRules=function(e){(0,a.setUpdateRules)(e)},r.getLanguages=function(){return this._languages},r.getAvailableLocales=function(){var e=this;return this._languages.filter((function(e){return e.enabled})).map((function(t){var n,r=t.code,i=t.name;return{value:r,name:i,localizedName:null!==(n=e.Messages[r])&&void 0!==n?n:i}})).sort((function(e,t){var n=e.name,r=t.name;return(n=n.toLowerCase())<(r=r.toLowerCase())?-1:n>r?1:0}))},r.getLocale=function(){return this._chosenLocale},r.getLocaleInfo=function(){var e=this;return this._languages.find((function(t){return t.code===e._chosenLocale}))},r.getDefaultLocale=function(){var e,t,n=null!==(e=c())&&void 0!==e?e:"en-US",r=this._languages.filter((function(e){return e.enabled})).map((function(e){return e.code}));if(r.includes(n))return n;var i=n.split("-")[0];return r.includes(i)?i:null!==(t=r.find((function(e){return e.split("-")[0]===i})))&&void 0!==t?t:"en-US"},r._loadMessagesForLocale=function(e){var t=this,n=this._fetchMessages(e);return n instanceof Promise?n.then((function(n){return t._applyMessagesForLocale(n,e)})):(this._applyMessagesForLocale(n,e),Promise.resolve())},r._applyMessagesForLocale=function(e,t,n){void 0===n&&(n=this._findMessages("en-US")),this._requestedLocale===t&&this._provider.refresh({messages:e,defaultMessages:n,locale:t})},r._findMessages=function(e){var t=this._fetchMessages(e);if(t instanceof Promise)throw new Error("Messages are still loading.");return t},r._fetchMessages=function(e){var t=this,n="en-US"===e?function(){throw new Error("Error Loading en-US")}:function(){return console.warn("Unsupported Locale",e),-1===e.indexOf("-")?t._fetchMessages("en-US"):t._fetchMessages(e.split("-")[0])};try{var r=this._getMessages(e);return r instanceof Promise?r.catch(n):r}catch(e){return n()}},t}(r.EventEmitter);t.default=p}).call(this,n(44))},function(e,t,n){var r={"./af":785,"./af.js":785,"./ar":786,"./ar-dz":787,"./ar-dz.js":787,"./ar-kw":788,"./ar-kw.js":788,"./ar-ly":789,"./ar-ly.js":789,"./ar-ma":790,"./ar-ma.js":790,"./ar-sa":791,"./ar-sa.js":791,"./ar-tn":792,"./ar-tn.js":792,"./ar.js":786,"./az":793,"./az.js":793,"./be":794,"./be.js":794,"./bg":795,"./bg.js":795,"./bm":796,"./bm.js":796,"./bn":797,"./bn.js":797,"./bo":798,"./bo.js":798,"./br":799,"./br.js":799,"./bs":800,"./bs.js":800,"./ca":801,"./ca.js":801,"./cs":802,"./cs.js":802,"./cv":803,"./cv.js":803,"./cy":804,"./cy.js":804,"./da":805,"./da.js":805,"./de":806,"./de-at":807,"./de-at.js":807,"./de-ch":808,"./de-ch.js":808,"./de.js":806,"./dv":809,"./dv.js":809,"./el":810,"./el.js":810,"./en-au":811,"./en-au.js":811,"./en-ca":812,"./en-ca.js":812,"./en-gb":813,"./en-gb.js":813,"./en-ie":814,"./en-ie.js":814,"./en-il":815,"./en-il.js":815,"./en-nz":816,"./en-nz.js":816,"./eo":817,"./eo.js":817,"./es":818,"./es-do":819,"./es-do.js":819,"./es-us":820,"./es-us.js":820,"./es.js":818,"./et":821,"./et.js":821,"./eu":822,"./eu.js":822,"./fa":823,"./fa.js":823,"./fi":824,"./fi.js":824,"./fo":825,"./fo.js":825,"./fr":826,"./fr-ca":827,"./fr-ca.js":827,"./fr-ch":828,"./fr-ch.js":828,"./fr.js":826,"./fy":829,"./fy.js":829,"./gd":830,"./gd.js":830,"./gl":831,"./gl.js":831,"./gom-latn":832,"./gom-latn.js":832,"./gu":833,"./gu.js":833,"./he":834,"./he.js":834,"./hi":835,"./hi.js":835,"./hr":836,"./hr.js":836,"./hu":837,"./hu.js":837,"./hy-am":838,"./hy-am.js":838,"./id":839,"./id.js":839,"./is":840,"./is.js":840,"./it":841,"./it.js":841,"./ja":842,"./ja.js":842,"./jv":843,"./jv.js":843,"./ka":844,"./ka.js":844,"./kk":845,"./kk.js":845,"./km":846,"./km.js":846,"./kn":847,"./kn.js":847,"./ko":848,"./ko.js":848,"./ky":849,"./ky.js":849,"./lb":850,"./lb.js":850,"./lo":851,"./lo.js":851,"./lt":852,"./lt.js":852,"./lv":853,"./lv.js":853,"./me":854,"./me.js":854,"./mi":855,"./mi.js":855,"./mk":856,"./mk.js":856,"./ml":857,"./ml.js":857,"./mn":858,"./mn.js":858,"./mr":859,"./mr.js":859,"./ms":860,"./ms-my":861,"./ms-my.js":861,"./ms.js":860,"./mt":862,"./mt.js":862,"./my":863,"./my.js":863,"./nb":864,"./nb.js":864,"./ne":865,"./ne.js":865,"./nl":866,"./nl-be":867,"./nl-be.js":867,"./nl.js":866,"./nn":868,"./nn.js":868,"./pa-in":869,"./pa-in.js":869,"./pl":870,"./pl.js":870,"./pt":871,"./pt-br":872,"./pt-br.js":872,"./pt.js":871,"./ro":873,"./ro.js":873,"./ru":874,"./ru.js":874,"./sd":875,"./sd.js":875,"./se":876,"./se.js":876,"./si":877,"./si.js":877,"./sk":878,"./sk.js":878,"./sl":879,"./sl.js":879,"./sq":880,"./sq.js":880,"./sr":881,"./sr-cyrl":882,"./sr-cyrl.js":882,"./sr.js":881,"./ss":883,"./ss.js":883,"./sv":884,"./sv.js":884,"./sw":885,"./sw.js":885,"./ta":886,"./ta.js":886,"./te":887,"./te.js":887,"./tet":888,"./tet.js":888,"./tg":889,"./tg.js":889,"./th":890,"./th.js":890,"./tl-ph":891,"./tl-ph.js":891,"./tlh":892,"./tlh.js":892,"./tr":893,"./tr.js":893,"./tzl":894,"./tzl.js":894,"./tzm":895,"./tzm-latn":896,"./tzm-latn.js":896,"./tzm.js":895,"./ug-cn":897,"./ug-cn.js":897,"./uk":898,"./uk.js":898,"./ur":899,"./ur.js":899,"./uz":900,"./uz-latn":901,"./uz-latn.js":901,"./uz.js":900,"./vi":902,"./vi.js":902,"./x-pseudo":903,"./x-pseudo.js":903,"./yo":904,"./yo.js":904,"./zh-cn":905,"./zh-cn.js":905,"./zh-hk":906,"./zh-hk.js":906,"./zh-tw":907,"./zh-tw.js":907};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=1477},function(e,t){IntlMessageFormat.__addLocaleData({locale:"bg",pluralRuleFunction:function(e,t){return t?"other":1==e?"one":"other"}})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"cs",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=n[0],i=!n[1];return t?"other":1==e&&i?"one":r>=2&&r<=4&&i?"few":i?"other":"many"}})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"da",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=n[0],i=Number(n[0])==e;return t||1!=e&&(i||0!=r&&1!=r)?"other":"one"}}),IntlMessageFormat.__addLocaleData({locale:"da-GL",parentLocale:"da"})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"de",pluralRuleFunction:function(e,t){var n=!String(e).split(".")[1];return t?"other":1==e&&n?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"de-AT",parentLocale:"de"}),IntlMessageFormat.__addLocaleData({locale:"de-BE",parentLocale:"de"}),IntlMessageFormat.__addLocaleData({locale:"de-CH",parentLocale:"de"}),IntlMessageFormat.__addLocaleData({locale:"de-LI",parentLocale:"de"}),IntlMessageFormat.__addLocaleData({locale:"de-LU",parentLocale:"de"})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"el",pluralRuleFunction:function(e,t){return t?"other":1==e?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"el-CY",parentLocale:"el"})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"en",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=!n[1],i=Number(n[0])==e,o=i&&n[0].slice(-1),a=i&&n[0].slice(-2);return t?1==o&&11!=a?"one":2==o&&12!=a?"two":3==o&&13!=a?"few":"other":1==e&&r?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"en-001",parentLocale:"en"}),IntlMessageFormat.__addLocaleData({locale:"en-150",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-AG",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-AI",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-AS",parentLocale:"en"}),IntlMessageFormat.__addLocaleData({locale:"en-AT",parentLocale:"en-150"}),IntlMessageFormat.__addLocaleData({locale:"en-AU",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-BB",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-BE",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-BI",parentLocale:"en"}),IntlMessageFormat.__addLocaleData({locale:"en-BM",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-BS",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-BW",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-BZ",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-CA",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-CC",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-CH",parentLocale:"en-150"}),IntlMessageFormat.__addLocaleData({locale:"en-CK",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-CM",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-CX",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-CY",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-DE",parentLocale:"en-150"}),IntlMessageFormat.__addLocaleData({locale:"en-DG",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-DK",parentLocale:"en-150"}),IntlMessageFormat.__addLocaleData({locale:"en-DM",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-Dsrt",pluralRuleFunction:function(e,t){return"other"}}),IntlMessageFormat.__addLocaleData({locale:"en-ER",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-FI",parentLocale:"en-150"}),IntlMessageFormat.__addLocaleData({locale:"en-FJ",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-FK",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-FM",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-GB",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-GD",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-GG",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-GH",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-GI",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-GM",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-GU",parentLocale:"en"}),IntlMessageFormat.__addLocaleData({locale:"en-GY",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-HK",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-IE",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-IL",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-IM",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-IN",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-IO",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-JE",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-JM",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-KE",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-KI",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-KN",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-KY",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-LC",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-LR",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-LS",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-MG",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-MH",parentLocale:"en"}),IntlMessageFormat.__addLocaleData({locale:"en-MO",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-MP",parentLocale:"en"}),IntlMessageFormat.__addLocaleData({locale:"en-MS",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-MT",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-MU",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-MW",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-MY",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-NA",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-NF",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-NG",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-NL",parentLocale:"en-150"}),IntlMessageFormat.__addLocaleData({locale:"en-NR",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-NU",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-NZ",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-PG",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-PH",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-PK",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-PN",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-PR",parentLocale:"en"}),IntlMessageFormat.__addLocaleData({locale:"en-PW",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-RW",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-SB",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-SC",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-SD",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-SE",parentLocale:"en-150"}),IntlMessageFormat.__addLocaleData({locale:"en-SG",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-SH",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-SI",parentLocale:"en-150"}),IntlMessageFormat.__addLocaleData({locale:"en-SL",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-SS",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-SX",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-SZ",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-Shaw",pluralRuleFunction:function(e,t){return"other"}}),IntlMessageFormat.__addLocaleData({locale:"en-TC",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-TK",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-TO",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-TT",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-TV",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-TZ",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-UG",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-UM",parentLocale:"en"}),IntlMessageFormat.__addLocaleData({locale:"en-US",parentLocale:"en"}),IntlMessageFormat.__addLocaleData({locale:"en-VC",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-VG",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-VI",parentLocale:"en"}),IntlMessageFormat.__addLocaleData({locale:"en-VU",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-WS",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-ZA",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-ZM",parentLocale:"en-001"}),IntlMessageFormat.__addLocaleData({locale:"en-ZW",parentLocale:"en-001"})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"es",pluralRuleFunction:function(e,t){return t?"other":1==e?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"es-419",parentLocale:"es"}),IntlMessageFormat.__addLocaleData({locale:"es-AR",parentLocale:"es-419"}),IntlMessageFormat.__addLocaleData({locale:"es-BO",parentLocale:"es-419"}),IntlMessageFormat.__addLocaleData({locale:"es-CL",parentLocale:"es-419"}),IntlMessageFormat.__addLocaleData({locale:"es-CO",parentLocale:"es-419"}),IntlMessageFormat.__addLocaleData({locale:"es-CR",parentLocale:"es-419"}),IntlMessageFormat.__addLocaleData({locale:"es-CU",parentLocale:"es-419"}),IntlMessageFormat.__addLocaleData({locale:"es-DO",parentLocale:"es-419"}),IntlMessageFormat.__addLocaleData({locale:"es-EA",parentLocale:"es"}),IntlMessageFormat.__addLocaleData({locale:"es-EC",parentLocale:"es-419"}),IntlMessageFormat.__addLocaleData({locale:"es-GQ",parentLocale:"es"}),IntlMessageFormat.__addLocaleData({locale:"es-GT",parentLocale:"es-419"}),IntlMessageFormat.__addLocaleData({locale:"es-HN",parentLocale:"es-419"}),IntlMessageFormat.__addLocaleData({locale:"es-IC",parentLocale:"es"}),IntlMessageFormat.__addLocaleData({locale:"es-MX",parentLocale:"es-419"}),IntlMessageFormat.__addLocaleData({locale:"es-NI",parentLocale:"es-419"}),IntlMessageFormat.__addLocaleData({locale:"es-PA",parentLocale:"es-419"}),IntlMessageFormat.__addLocaleData({locale:"es-PE",parentLocale:"es-419"}),IntlMessageFormat.__addLocaleData({locale:"es-PH",parentLocale:"es"}),IntlMessageFormat.__addLocaleData({locale:"es-PR",parentLocale:"es-419"}),IntlMessageFormat.__addLocaleData({locale:"es-PY",parentLocale:"es-419"}),IntlMessageFormat.__addLocaleData({locale:"es-SV",parentLocale:"es-419"}),IntlMessageFormat.__addLocaleData({locale:"es-US",parentLocale:"es-419"}),IntlMessageFormat.__addLocaleData({locale:"es-UY",parentLocale:"es-419"}),IntlMessageFormat.__addLocaleData({locale:"es-VE",parentLocale:"es-419"})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"fi",pluralRuleFunction:function(e,t){var n=!String(e).split(".")[1];return t?"other":1==e&&n?"one":"other"}})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"fr",pluralRuleFunction:function(e,t){return t?1==e?"one":"other":e>=0&&e<2?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"fr-BE",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-BF",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-BI",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-BJ",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-BL",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-CA",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-CD",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-CF",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-CG",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-CH",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-CI",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-CM",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-DJ",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-DZ",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-GA",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-GF",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-GN",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-GP",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-GQ",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-HT",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-KM",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-LU",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-MA",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-MC",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-MF",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-MG",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-ML",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-MQ",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-MR",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-MU",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-NC",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-NE",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-PF",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-PM",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-RE",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-RW",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-SC",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-SN",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-SY",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-TD",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-TG",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-TN",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-VU",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-WF",parentLocale:"fr"}),IntlMessageFormat.__addLocaleData({locale:"fr-YT",parentLocale:"fr"})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"hr",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=n[0],i=n[1]||"",o=!n[1],a=r.slice(-1),s=r.slice(-2),u=i.slice(-1),l=i.slice(-2);return t?"other":o&&1==a&&11!=s||1==u&&11!=l?"one":o&&a>=2&&a<=4&&(s<12||s>14)||u>=2&&u<=4&&(l<12||l>14)?"few":"other"}}),IntlMessageFormat.__addLocaleData({locale:"hr-BA",parentLocale:"hr"})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"hu",pluralRuleFunction:function(e,t){return t?1==e||5==e?"one":"other":1==e?"one":"other"}})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"it",pluralRuleFunction:function(e,t){var n=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&n?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"it-CH",parentLocale:"it"}),IntlMessageFormat.__addLocaleData({locale:"it-SM",parentLocale:"it"})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"ja",pluralRuleFunction:function(e,t){return"other"}})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"ko",pluralRuleFunction:function(e,t){return"other"}}),IntlMessageFormat.__addLocaleData({locale:"ko-KP",parentLocale:"ko"})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"lt",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=n[1]||"",i=Number(n[0])==e,o=i&&n[0].slice(-1),a=i&&n[0].slice(-2);return t?"other":1==o&&(a<11||a>19)?"one":o>=2&&o<=9&&(a<11||a>19)?"few":0!=r?"many":"other"}})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"nl",pluralRuleFunction:function(e,t){var n=!String(e).split(".")[1];return t?"other":1==e&&n?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"nl-AW",parentLocale:"nl"}),IntlMessageFormat.__addLocaleData({locale:"nl-BE",parentLocale:"nl"}),IntlMessageFormat.__addLocaleData({locale:"nl-BQ",parentLocale:"nl"}),IntlMessageFormat.__addLocaleData({locale:"nl-CW",parentLocale:"nl"}),IntlMessageFormat.__addLocaleData({locale:"nl-SR",parentLocale:"nl"}),IntlMessageFormat.__addLocaleData({locale:"nl-SX",parentLocale:"nl"})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"no",pluralRuleFunction:function(e,t){return t?"other":1==e?"one":"other"}})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"pl",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=n[0],i=!n[1],o=r.slice(-1),a=r.slice(-2);return t?"other":1==e&&i?"one":i&&o>=2&&o<=4&&(a<12||a>14)?"few":i&&1!=r&&(0==o||1==o)||i&&o>=5&&o<=9||i&&a>=12&&a<=14?"many":"other"}})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"pt",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=Number(n[0])==e;return t?"other":r&&e>=0&&e<=2&&2!=e?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"pt-AO",parentLocale:"pt-PT"}),IntlMessageFormat.__addLocaleData({locale:"pt-PT",parentLocale:"pt",pluralRuleFunction:function(e,t){var n=!String(e).split(".")[1];return t?"other":1==e&&n?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"pt-CV",parentLocale:"pt-PT"}),IntlMessageFormat.__addLocaleData({locale:"pt-GW",parentLocale:"pt-PT"}),IntlMessageFormat.__addLocaleData({locale:"pt-MO",parentLocale:"pt-PT"}),IntlMessageFormat.__addLocaleData({locale:"pt-MZ",parentLocale:"pt-PT"}),IntlMessageFormat.__addLocaleData({locale:"pt-ST",parentLocale:"pt-PT"}),IntlMessageFormat.__addLocaleData({locale:"pt-TL",parentLocale:"pt-PT"})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"ro",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=!n[1],i=Number(n[0])==e&&n[0].slice(-2);return t?1==e?"one":"other":1==e&&r?"one":!r||0==e||1!=e&&i>=1&&i<=19?"few":"other"}}),IntlMessageFormat.__addLocaleData({locale:"ro-MD",parentLocale:"ro"})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"ru",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=n[0],i=!n[1],o=r.slice(-1),a=r.slice(-2);return t?"other":i&&1==o&&11!=a?"one":i&&o>=2&&o<=4&&(a<12||a>14)?"few":i&&0==o||i&&o>=5&&o<=9||i&&a>=11&&a<=14?"many":"other"}}),IntlMessageFormat.__addLocaleData({locale:"ru-BY",parentLocale:"ru"}),IntlMessageFormat.__addLocaleData({locale:"ru-KG",parentLocale:"ru"}),IntlMessageFormat.__addLocaleData({locale:"ru-KZ",parentLocale:"ru"}),IntlMessageFormat.__addLocaleData({locale:"ru-MD",parentLocale:"ru"}),IntlMessageFormat.__addLocaleData({locale:"ru-UA",parentLocale:"ru"})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"sv",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=!n[1],i=Number(n[0])==e,o=i&&n[0].slice(-1),a=i&&n[0].slice(-2);return t?1!=o&&2!=o||11==a||12==a?"other":"one":1==e&&r?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"sv-AX",parentLocale:"sv"}),IntlMessageFormat.__addLocaleData({locale:"sv-FI",parentLocale:"sv"})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"th",pluralRuleFunction:function(e,t){return"other"}})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"tr",pluralRuleFunction:function(e,t){return t?"other":1==e?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"tr-CY",parentLocale:"tr"})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"uk",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=n[0],i=!n[1],o=Number(n[0])==e,a=o&&n[0].slice(-1),s=o&&n[0].slice(-2),u=r.slice(-1),l=r.slice(-2);return t?3==a&&13!=s?"few":"other":i&&1==u&&11!=l?"one":i&&u>=2&&u<=4&&(l<12||l>14)?"few":i&&0==u||i&&u>=5&&u<=9||i&&l>=11&&l<=14?"many":"other"}})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"vi",pluralRuleFunction:function(e,t){return t&&1==e?"one":"other"}})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"zh",pluralRuleFunction:function(e,t){return"other"}}),IntlMessageFormat.__addLocaleData({locale:"zh-Hans",parentLocale:"zh"}),IntlMessageFormat.__addLocaleData({locale:"zh-Hans-HK",parentLocale:"zh-Hans"}),IntlMessageFormat.__addLocaleData({locale:"zh-Hans-MO",parentLocale:"zh-Hans"}),IntlMessageFormat.__addLocaleData({locale:"zh-Hans-SG",parentLocale:"zh-Hans"}),IntlMessageFormat.__addLocaleData({locale:"zh-Hant",pluralRuleFunction:function(e,t){return"other"}}),IntlMessageFormat.__addLocaleData({locale:"zh-Hant-HK",parentLocale:"zh-Hant"}),IntlMessageFormat.__addLocaleData({locale:"zh-Hant-MO",parentLocale:"zh-Hant-HK"})},function(e,t){IntlMessageFormat.__addLocaleData({locale:"hi",pluralRuleFunction:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"}})},function(e,t,n){"use strict";var r,i=n(1507),o=n(1508),a={},s=function(){var e={};try{return Object.defineProperty(e,"a",{}),"a"in e}catch(e){return!1}}(),u=!s&&!Object.prototype.__defineGetter__,l=Object.prototype.hasOwnProperty,c=s?Object.defineProperty:function(e,t,n){"get"in n&&e.__defineGetter__?e.__defineGetter__(t,n.get):l.call(e,t)&&!("value"in n)||(e[t]=n.value)},d=Array.prototype.indexOf||function(e){var t=this;if(!t.length)return-1;for(var n=arguments[1]||0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},f=Object.create||function(e,t){var n;function r(){}for(var i in r.prototype=e,n=new r,t)l.call(t,i)&&c(n,i,t[i]);return n},_=Array.prototype.slice,p=Array.prototype.concat,E=Array.prototype.push,h=Array.prototype.join,m=Array.prototype.shift,v=(Array.prototype.unshift,Function.prototype.bind||function(e){var t=this,n=_.call(arguments,1);return 1===t.length?function(r){return t.apply(e,p.call(n,_.call(arguments)))}:function(){return t.apply(e,p.call(n,_.call(arguments)))}}),T=f(null),g=Math.random(),I=f(null,{narrow:{},short:{},long:{}}),S=!1,y=!1,A=/^[A-Z]{3}$/,O=/-u(?:-[0-9a-z]{2,8})+/gi,N={tags:{"art-lojban":"jbo","i-ami":"ami","i-bnn":"bnn","i-hak":"hak","i-klingon":"tlh","i-lux":"lb","i-navajo":"nv","i-pwn":"pwn","i-tao":"tao","i-tay":"tay","i-tsu":"tsu","no-bok":"nb","no-nyn":"nn","sgn-BE-FR":"sfb","sgn-BE-NL":"vgt","sgn-CH-DE":"sgg","zh-guoyu":"cmn","zh-hakka":"hak","zh-min-nan":"nan","zh-xiang":"hsn","sgn-BR":"bzs","sgn-CO":"csn","sgn-DE":"gsg","sgn-DK":"dsl","sgn-ES":"ssp","sgn-FR":"fsl","sgn-GB":"bfi","sgn-GR":"gss","sgn-IE":"isg","sgn-IT":"ise","sgn-JP":"jsl","sgn-MX":"mfs","sgn-NI":"ncs","sgn-NL":"dse","sgn-NO":"nsl","sgn-PT":"psr","sgn-SE":"swl","sgn-US":"ase","sgn-ZA":"sfs","zh-cmn":"cmn","zh-cmn-Hans":"cmn-Hans","zh-cmn-Hant":"cmn-Hant","zh-gan":"gan","zh-wuu":"wuu","zh-yue":"yue"},subtags:{BU:"MM",DD:"DE",FX:"FR",TP:"TL",YD:"YE",ZR:"CD",heploc:"alalc97",in:"id",iw:"he",ji:"yi",jw:"jv",mo:"ro",ayx:"nun",bjd:"drl",ccq:"rki",cjr:"mom",cka:"cmr",cmk:"xch",drh:"khk",drw:"prs",gav:"dev",hrr:"jal",ibi:"opa",kgh:"kml",lcq:"ppr",mst:"mry",myt:"mry",sca:"hle",tie:"ras",tkk:"twm",tlw:"weo",tnf:"prs",ybd:"rki",yma:"lrr"},extLang:{aao:["aao","ar"],abh:["abh","ar"],abv:["abv","ar"],acm:["acm","ar"],acq:["acq","ar"],acw:["acw","ar"],acx:["acx","ar"],acy:["acy","ar"],adf:["adf","ar"],ads:["ads","sgn"],aeb:["aeb","ar"],aec:["aec","ar"],aed:["aed","sgn"],aen:["aen","sgn"],afb:["afb","ar"],afg:["afg","sgn"],ajp:["ajp","ar"],apc:["apc","ar"],apd:["apd","ar"],arb:["arb","ar"],arq:["arq","ar"],ars:["ars","ar"],ary:["ary","ar"],arz:["arz","ar"],ase:["ase","sgn"],asf:["asf","sgn"],asp:["asp","sgn"],asq:["asq","sgn"],asw:["asw","sgn"],auz:["auz","ar"],avl:["avl","ar"],ayh:["ayh","ar"],ayl:["ayl","ar"],ayn:["ayn","ar"],ayp:["ayp","ar"],bbz:["bbz","ar"],bfi:["bfi","sgn"],bfk:["bfk","sgn"],bjn:["bjn","ms"],bog:["bog","sgn"],bqn:["bqn","sgn"],bqy:["bqy","sgn"],btj:["btj","ms"],bve:["bve","ms"],bvl:["bvl","sgn"],bvu:["bvu","ms"],bzs:["bzs","sgn"],cdo:["cdo","zh"],cds:["cds","sgn"],cjy:["cjy","zh"],cmn:["cmn","zh"],coa:["coa","ms"],cpx:["cpx","zh"],csc:["csc","sgn"],csd:["csd","sgn"],cse:["cse","sgn"],csf:["csf","sgn"],csg:["csg","sgn"],csl:["csl","sgn"],csn:["csn","sgn"],csq:["csq","sgn"],csr:["csr","sgn"],czh:["czh","zh"],czo:["czo","zh"],doq:["doq","sgn"],dse:["dse","sgn"],dsl:["dsl","sgn"],dup:["dup","ms"],ecs:["ecs","sgn"],esl:["esl","sgn"],esn:["esn","sgn"],eso:["eso","sgn"],eth:["eth","sgn"],fcs:["fcs","sgn"],fse:["fse","sgn"],fsl:["fsl","sgn"],fss:["fss","sgn"],gan:["gan","zh"],gds:["gds","sgn"],gom:["gom","kok"],gse:["gse","sgn"],gsg:["gsg","sgn"],gsm:["gsm","sgn"],gss:["gss","sgn"],gus:["gus","sgn"],hab:["hab","sgn"],haf:["haf","sgn"],hak:["hak","zh"],hds:["hds","sgn"],hji:["hji","ms"],hks:["hks","sgn"],hos:["hos","sgn"],hps:["hps","sgn"],hsh:["hsh","sgn"],hsl:["hsl","sgn"],hsn:["hsn","zh"],icl:["icl","sgn"],ils:["ils","sgn"],inl:["inl","sgn"],ins:["ins","sgn"],ise:["ise","sgn"],isg:["isg","sgn"],isr:["isr","sgn"],jak:["jak","ms"],jax:["jax","ms"],jcs:["jcs","sgn"],jhs:["jhs","sgn"],jls:["jls","sgn"],jos:["jos","sgn"],jsl:["jsl","sgn"],jus:["jus","sgn"],kgi:["kgi","sgn"],knn:["knn","kok"],kvb:["kvb","ms"],kvk:["kvk","sgn"],kvr:["kvr","ms"],kxd:["kxd","ms"],lbs:["lbs","sgn"],lce:["lce","ms"],lcf:["lcf","ms"],liw:["liw","ms"],lls:["lls","sgn"],lsg:["lsg","sgn"],lsl:["lsl","sgn"],lso:["lso","sgn"],lsp:["lsp","sgn"],lst:["lst","sgn"],lsy:["lsy","sgn"],ltg:["ltg","lv"],lvs:["lvs","lv"],lzh:["lzh","zh"],max:["max","ms"],mdl:["mdl","sgn"],meo:["meo","ms"],mfa:["mfa","ms"],mfb:["mfb","ms"],mfs:["mfs","sgn"],min:["min","ms"],mnp:["mnp","zh"],mqg:["mqg","ms"],mre:["mre","sgn"],msd:["msd","sgn"],msi:["msi","ms"],msr:["msr","sgn"],mui:["mui","ms"],mzc:["mzc","sgn"],mzg:["mzg","sgn"],mzy:["mzy","sgn"],nan:["nan","zh"],nbs:["nbs","sgn"],ncs:["ncs","sgn"],nsi:["nsi","sgn"],nsl:["nsl","sgn"],nsp:["nsp","sgn"],nsr:["nsr","sgn"],nzs:["nzs","sgn"],okl:["okl","sgn"],orn:["orn","ms"],ors:["ors","ms"],pel:["pel","ms"],pga:["pga","ar"],pks:["pks","sgn"],prl:["prl","sgn"],prz:["prz","sgn"],psc:["psc","sgn"],psd:["psd","sgn"],pse:["pse","ms"],psg:["psg","sgn"],psl:["psl","sgn"],pso:["pso","sgn"],psp:["psp","sgn"],psr:["psr","sgn"],pys:["pys","sgn"],rms:["rms","sgn"],rsi:["rsi","sgn"],rsl:["rsl","sgn"],sdl:["sdl","sgn"],sfb:["sfb","sgn"],sfs:["sfs","sgn"],sgg:["sgg","sgn"],sgx:["sgx","sgn"],shu:["shu","ar"],slf:["slf","sgn"],sls:["sls","sgn"],sqk:["sqk","sgn"],sqs:["sqs","sgn"],ssh:["ssh","ar"],ssp:["ssp","sgn"],ssr:["ssr","sgn"],svk:["svk","sgn"],swc:["swc","sw"],swh:["swh","sw"],swl:["swl","sgn"],syy:["syy","sgn"],tmw:["tmw","ms"],tse:["tse","sgn"],tsm:["tsm","sgn"],tsq:["tsq","sgn"],tss:["tss","sgn"],tsy:["tsy","sgn"],tza:["tza","sgn"],ugn:["ugn","sgn"],ugy:["ugy","sgn"],ukl:["ukl","sgn"],uks:["uks","sgn"],urk:["urk","ms"],uzn:["uzn","uz"],uzs:["uzs","uz"],vgt:["vgt","sgn"],vkk:["vkk","ms"],vkt:["vkt","ms"],vsi:["vsi","sgn"],vsl:["vsl","sgn"],vsv:["vsv","sgn"],wuu:["wuu","zh"],xki:["xki","sgn"],xml:["xml","sgn"],xmm:["xmm","ms"],xms:["xms","sgn"],yds:["yds","sgn"],ysl:["ysl","sgn"],yue:["yue","zh"],zib:["zib","sgn"],zlm:["zlm","ms"],zmi:["zmi","ms"],zsl:["zsl","sgn"],zsm:["zsm","ms"]}},R={BHD:3,BYR:0,XOF:0,BIF:0,XAF:0,CLF:4,CLP:0,KMF:0,DJF:0,XPF:0,GNF:0,ISK:0,IQD:3,JPY:0,JOD:3,KRW:0,KWD:3,LYD:3,OMR:3,PYG:0,RWF:0,TND:3,UGX:0,UYI:0,VUV:0,VND:0};function b(e){return!!i.expBCP47Syntax.test(e)&&(!i.expVariantDupes.test(e)&&!i.expSingletonDupes.test(e))}function L(e){for(var t,n,r=1,o=(n=(e=e.toLowerCase()).split("-")).length;r<o;r++)if(2===n[r].length)n[r]=n[r].toUpperCase();else if(4===n[r].length)n[r]=n[r].charAt(0).toUpperCase()+n[r].slice(1);else if(1===n[r].length&&"x"!==n[r])break;(t=(e=h.call(n,"-")).match(i.expExtSequences))&&t.length>1&&(t.sort(),e=e.replace(RegExp("(?:"+i.expExtSequences.source+")+","i"),h.call(t,""))),l.call(N.tags,e)&&(e=N.tags[e]);for(r=1,o=(n=e.split("-")).length;r<o;r++)l.call(N.subtags,n[r])?n[r]=N.subtags[n[r]]:l.call(N.extLang,n[r])&&(n[r]=N.extLang[n[r]][0],1===r&&N.extLang[n[1]][1]===n[0]&&(n=_.call(n,r++),o-=1));return h.call(n,"-")}function D(e){if(void 0===e)return new ee;for(var t=new ee,n=re(e="string"==typeof e?[e]:e),r=n.length,i=0;i<r;){var o=String(i);if(o in n){var a=n[o];if(null==a||"string"!=typeof a&&"object"!=typeof a)throw new TypeError("String or Object type expected");var s=String(a);if(!b(s))throw new RangeError("'"+s+"' is not a structurally valid language tag");s=L(s),-1===d.call(t,s)&&E.call(t,s)}i++}return t}function C(e,t){for(var n=t;;){if(d.call(e,n)>-1)return n;var r=n.lastIndexOf("-");if(r<0)return;r>=2&&"-"===n.charAt(r-2)&&(r-=2),n=n.substring(0,r)}}function M(e,t){for(var n=0,i=t.length;n<i&&!s;){var o=t[n],a=String(o).replace(O,""),s=C(e,a);n++}var u=new $;if(void 0!==s){if(u["[[locale]]"]=s,String(o)!==String(a)){var l=o.match(O)[0],c=o.indexOf("-u-");u["[[extension]]"]=l,u["[[extensionIndex]]"]=c}}else u["[[locale]]"]=r;return u}function P(e,t,n,r,i){if(0===e.length)throw new ReferenceError("No locale data has been provided for this object yet.");if("lookup"===n["[[localeMatcher]]"])var o=M(e,t);else o=function(e,t){return M(e,t)}(e,t);var a=o["[[locale]]"];if(l.call(o,"[[extension]]"))var s=o["[[extension]]"],u=o["[[extensionIndex]]"],c=String.prototype.split.call(s,"-"),f=c.length;var _=new $;_["[[dataLocale]]"]=a;for(var p="-u",E=0,h=r.length;E<h;){var m=r[E],v=i[a][m],T=v[0],g="",I=d;if(void 0!==c){var S=I.call(c,m);if(-1!==S)if(S+1<f&&c[S+1].length>2){var y=c[S+1];if(-1!==I.call(v,y))g="-"+m+"-"+(T=y)}else{if(-1!==I(v,"true"))T="true"}}if(l.call(n,"[["+m+"]]")){var A=n["[["+m+"]]"];-1!==I.call(v,A)&&A!==T&&(T=A,g="")}_["[["+m+"]]"]=T,p+=g,E++}if(p.length>2)a=a.substring(0,u)+p+a.substring(u);return _["[[locale]]"]=a,_}function w(e,t){for(var n=t.length,r=new ee,i=0;i<n;){var o=t[i];void 0!==C(e,String(o).replace(O,""))&&E.call(r,o),i++}return _.call(r)}function U(e,t,n){if(void 0!==n){var r=(n=new $(re(n))).localeMatcher;if(void 0!==r&&"lookup"!==(r=String(r))&&"best fit"!==r)throw new RangeError('matcher should be "lookup" or "best fit"')}if(void 0===r||"best fit"===r)var i=function(e,t){return w(e,t)}(e,t);else i=w(e,t);for(var o in i)l.call(i,o)&&c(i,o,{writable:!1,configurable:!1,value:i[o]});return c(i,"length",{writable:!1}),i}function k(e,t,n,r,i){var o=e[t];if(void 0!==o){if(o="boolean"===n?Boolean(o):"string"===n?String(o):o,void 0!==r&&-1===d.call(r,o))throw new RangeError("'"+o+"' is not an allowed value for `"+t+"`");return o}return i}function G(e,t,n,r,i){var o=e[t];if(void 0!==o){if(o=Number(o),isNaN(o)||o<n||o>r)throw new RangeError("Value is not a number or outside accepted range");return Math.floor(o)}return i}function Y(){var e=arguments[0],t=arguments[1];return this&&this!==a?x(re(this),e,t):new a.NumberFormat(e,t)}function x(e,t,n){var r=ie(e),i=te();if(!0===r["[[initializedIntlObject]]"])throw new TypeError("`this` object has already been initialized as an Intl object");c(e,"__getInternalProperties",{value:function(){if(arguments[0]===g)return r}}),r["[[initializedIntlObject]]"]=!0;var o=D(t);n=void 0===n?{}:re(n);var a=new $,s=k(n,"localeMatcher","string",new ee("lookup","best fit"),"best fit");a["[[localeMatcher]]"]=s;var l=T.NumberFormat["[[localeData]]"],d=P(T.NumberFormat["[[availableLocales]]"],o,a,T.NumberFormat["[[relevantExtensionKeys]]"],l);r["[[locale]]"]=d["[[locale]]"],r["[[numberingSystem]]"]=d["[[nu]]"],r["[[dataLocale]]"]=d["[[dataLocale]]"];var f=d["[[dataLocale]]"],_=k(n,"style","string",new ee("decimal","percent","currency"),"decimal");r["[[style]]"]=_;var p,E=k(n,"currency","string");if(void 0!==E&&(p=ne(String(E)),!1===A.test(p)))throw new RangeError("'"+E+"' is not a valid currency code");if("currency"===_&&void 0===E)throw new TypeError("Currency code is required when style is currency");if("currency"===_){E=E.toUpperCase(),r["[[currency]]"]=E;var h=function(e){return void 0!==R[e]?R[e]:2}(E)}var m=k(n,"currencyDisplay","string",new ee("code","symbol","name"),"symbol");"currency"===_&&(r["[[currencyDisplay]]"]=m);var v=G(n,"minimumIntegerDigits",1,21,1);r["[[minimumIntegerDigits]]"]=v;var I=G(n,"minimumFractionDigits",0,20,"currency"===_?h:0);r["[[minimumFractionDigits]]"]=I;var S=G(n,"maximumFractionDigits",I,20,"currency"===_?Math.max(I,h):"percent"===_?Math.max(I,0):Math.max(I,3));r["[[maximumFractionDigits]]"]=S;var y=n.minimumSignificantDigits,O=n.maximumSignificantDigits;void 0===y&&void 0===O||(y=G(n,"minimumSignificantDigits",1,21,1),O=G(n,"maximumSignificantDigits",y,21,21),r["[[minimumSignificantDigits]]"]=y,r["[[maximumSignificantDigits]]"]=O);var N=k(n,"useGrouping","boolean",void 0,!0);r["[[useGrouping]]"]=N;var b=l[f].patterns[_];return r["[[positivePattern]]"]=b.positivePattern,r["[[negativePattern]]"]=b.negativePattern,r["[[boundFormat]]"]=void 0,r["[[initializedNumberFormat]]"]=!0,u&&(e.format=V.call(e)),i.exp.test(i.input),e}function V(){var e=null!=this&&"object"==typeof this&&ie(this);if(!e||!e["[[initializedNumberFormat]]"])throw new TypeError("`this` value for format() is not an initialized Intl.NumberFormat object.");if(void 0===e["[[boundFormat]]"]){var t=v.call((function(e){return H(this,Number(e))}),this);e["[[boundFormat]]"]=t}return e["[[boundFormat]]"]}function H(e,t){var n,r=te(),i=ie(e),o=i["[[dataLocale]]"],a=i["[[numberingSystem]]"],s=T.NumberFormat["[[localeData]]"][o],u=s.symbols[a]||s.symbols.latn,c=!1;if(!1===isFinite(t))isNaN(t)?n=u.nan:(n=u.infinity,t<0&&(c=!0));else{if(t<0&&(c=!0,t=-t),"percent"===i["[[style]]"]&&(t*=100),n=l.call(i,"[[minimumSignificantDigits]]")&&l.call(i,"[[maximumSignificantDigits]]")?function(e,t,n){var r=n;if(0===e)var i=h.call(Array(r+1),"0"),o=0;else{o=function(e){if("function"==typeof Math.log10)return Math.floor(Math.log10(e));var t=Math.round(Math.log(e)*Math.LOG10E);return t-(Number("1e"+t)>e)}(Math.abs(e));var a=Math.round(Math.exp(Math.abs(o-r+1)*Math.LN10));i=String(Math.round(o-r+1<0?e*a:e/a))}if(o>=r)return i+h.call(Array(o-r+1+1),"0");if(o===r-1)return i;o>=0?i=i.slice(0,o+1)+"."+i.slice(o+1):o<0&&(i="0."+h.call(Array(1-(o+1)),"0")+i);if(i.indexOf(".")>=0&&n>t){for(var s=n-t;s>0&&"0"===i.charAt(i.length-1);)i=i.slice(0,-1),s--;"."===i.charAt(i.length-1)&&(i=i.slice(0,-1))}return i}(t,i["[[minimumSignificantDigits]]"],i["[[maximumSignificantDigits]]"]):function(e,t,n,r){var i,o=Number.prototype.toFixed.call(e,r),a=o.split(".")[0].length,s=r-n,u=(i=o.indexOf("e"))>-1?o.slice(i+1):0;u&&(o=o.slice(0,i).replace(".",""),o+=h.call(Array(u-(o.length-1)+1),"0")+"."+h.call(Array(r+1),"0"),a=o.length);for(;s>0&&"0"===o.slice(-1);)o=o.slice(0,-1),s--;"."===o.slice(-1)&&(o=o.slice(0,-1));if(a<t)var l=h.call(Array(t-a+1),"0");return(l||"")+o}(t,i["[[minimumIntegerDigits]]"],i["[[minimumFractionDigits]]"],i["[[maximumFractionDigits]]"]),F[a]){var d=F[i["[[numberingSystem]]"]];n=String(n).replace(/\d/g,(function(e){return d[e]}))}else n=String(n);if(n=n.replace(/\./g,u.decimal),!0===i["[[useGrouping]]"]){var f=n.split(u.decimal),_=f[0],p=s.patterns.primaryGroupSize||3,m=s.patterns.secondaryGroupSize||p;if(_.length>p){var v=new ee,g=_.length-p,I=g%m,S=_.slice(0,I);for(S.length&&E.call(v,S);I<g;)E.call(v,_.slice(I,I+m)),I+=m;E.call(v,_.slice(g)),f[0]=h.call(v,u.group)}n=h.call(f,u.decimal)}}var y=i[!0===c?"[[negativePattern]]":"[[positivePattern]]"];if(y=y.replace("{number}",n),"currency"===i["[[style]]"]){var A,O=i["[[currency]]"],N=s.currencies[O];switch(i["[[currencyDisplay]]"]){case"symbol":A=N||O;break;default:case"code":case"name":A=O}y=y.replace("{currency}",A)}return r.exp.test(r.input),y}c(a,"NumberFormat",{configurable:!0,writable:!0,value:Y}),c(a.NumberFormat,"prototype",{writable:!1}),T.NumberFormat={"[[availableLocales]]":[],"[[relevantExtensionKeys]]":["nu"],"[[localeData]]":{}},c(a.NumberFormat,"supportedLocalesOf",{configurable:!0,writable:!0,value:v.call(Q,T.NumberFormat)}),c(a.NumberFormat.prototype,"format",{configurable:!0,get:V});var F={arab:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],arabext:["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"],bali:["᭐","᭑","᭒","᭓","᭔","᭕","᭖","᭗","᭘","᭙"],beng:["০","১","২","৩","৪","৫","৬","৭","৮","৯"],deva:["०","१","२","३","४","५","६","७","८","९"],fullwide:["0","1","2","3","4","5","6","7","8","9"],gujr:["૦","૧","૨","૩","૪","૫","૬","૭","૮","૯"],guru:["੦","੧","੨","੩","੪","੫","੬","੭","੮","੯"],hanidec:["〇","一","二","三","四","五","六","七","八","九"],khmr:["០","១","២","៣","៤","៥","៦","៧","៨","៩"],knda:["೦","೧","೨","೩","೪","೫","೬","೭","೮","೯"],laoo:["໐","໑","໒","໓","໔","໕","໖","໗","໘","໙"],latn:["0","1","2","3","4","5","6","7","8","9"],limb:["᥆","᥇","᥈","᥉","᥊","᥋","᥌","᥍","᥎","᥏"],mlym:["൦","൧","൨","൩","൪","൫","൬","൭","൮","൯"],mong:["᠐","᠑","᠒","᠓","᠔","᠕","᠖","᠗","᠘","᠙"],mymr:["၀","၁","၂","၃","၄","၅","၆","၇","၈","၉"],orya:["୦","୧","୨","୩","୪","୫","୬","୭","୮","୯"],tamldec:["௦","௧","௨","௩","௪","௫","௬","௭","௮","௯"],telu:["౦","౧","౨","౩","౪","౫","౬","౭","౮","౯"],thai:["๐","๑","๒","๓","๔","๕","๖","๗","๘","๙"],tibt:["༠","༡","༢","༣","༤","༥","༦","༧","༨","༩"]};function B(){var e=arguments[0],t=arguments[1];return this&&this!==a?j(re(this),e,t):new a.DateTimeFormat(e,t)}function j(e,t,n){var r=ie(e),i=te();if(!0===r["[[initializedIntlObject]]"])throw new TypeError("`this` object has already been initialized as an Intl object");c(e,"__getInternalProperties",{value:function(){if(arguments[0]===g)return r}}),r["[[initializedIntlObject]]"]=!0;var a=D(t),s=(n=K(n,"any","date"),new $);y=k(n,"localeMatcher","string",new ee("lookup","best fit"),"best fit"),s["[[localeMatcher]]"]=y;var d=T.DateTimeFormat,f=d["[[localeData]]"],_=P(d["[[availableLocales]]"],a,s,d["[[relevantExtensionKeys]]"],f);r["[[locale]]"]=_["[[locale]]"],r["[[calendar]]"]=_["[[ca]]"],r["[[numberingSystem]]"]=_["[[nu]]"],r["[[dataLocale]]"]=_["[[dataLocale]]"];var p=_["[[dataLocale]]"],E=n.timeZone;if(void 0!==E&&"UTC"!==(E=ne(E)))throw new RangeError("timeZone is not supported.");for(var h in r["[[timeZone]]"]=E,s=new $,W)if(l.call(W,h)){var m=k(n,h,"string",W[h]);s["[["+h+"]]"]=m}var v,I=f[p],S=function(e){if("[object Array]"===Object.prototype.toString.call(e))return e;return o.createDateTimeFormats(e)}(I.formats),y=k(n,"formatMatcher","string",new ee("basic","best fit"),"best fit");for(var h in I.formats=S,v="basic"===y?function(e,t){return z(e,t)}(s,S):function(e,t){return z(e,t,!0)}(s,S),W)if(l.call(W,h)&&l.call(v,h)){var A=v[h];r["[["+h+"]]"]=A}var O,N=k(n,"hour12","boolean");if(r["[[hour]]"])if(N=void 0===N?I.hour12:N,r["[[hour12]]"]=N,!0===N){var R=I.hourNo0;r["[[hourNo0]]"]=R,O=v.pattern12}else O=v.pattern;else O=v.pattern;return r["[[pattern]]"]=O,r["[[boundFormat]]"]=void 0,r["[[initializedDateTimeFormat]]"]=!0,u&&(e.format=q.call(e)),i.exp.test(i.input),e}c(a.NumberFormat.prototype,"resolvedOptions",{configurable:!0,writable:!0,value:function(){var e,t=new $,n=["locale","numberingSystem","style","currency","currencyDisplay","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","useGrouping"],r=null!=this&&"object"==typeof this&&ie(this);if(!r||!r["[[initializedNumberFormat]]"])throw new TypeError("`this` value for resolvedOptions() is not an initialized Intl.NumberFormat object.");for(var i=0,o=n.length;i<o;i++)l.call(r,e="[["+n[i]+"]]")&&(t[n[i]]={value:r[e],writable:!0,configurable:!0,enumerable:!0});return f({},t)}}),c(a,"DateTimeFormat",{configurable:!0,writable:!0,value:B}),c(B,"prototype",{writable:!1});var W={weekday:["narrow","short","long"],era:["narrow","short","long"],year:["2-digit","numeric"],month:["2-digit","numeric","narrow","short","long"],day:["2-digit","numeric"],hour:["2-digit","numeric"],minute:["2-digit","numeric"],second:["2-digit","numeric"],timeZoneName:["short","long"]};function K(e,t,n){if(void 0===e)e=null;else{var r=re(e);for(var i in e=new $,r)e[i]=r[i]}e=f(e);var o=!0;return"date"!==t&&"any"!==t||void 0===e.weekday&&void 0===e.year&&void 0===e.month&&void 0===e.day||(o=!1),"time"!==t&&"any"!==t||void 0===e.hour&&void 0===e.minute&&void 0===e.second||(o=!1),!o||"date"!==n&&"all"!==n||(e.year=e.month=e.day="numeric"),!o||"time"!==n&&"all"!==n||(e.hour=e.minute=e.second="numeric"),e}function z(e,t,n){for(var r,i=-1/0,o=0,a=t.length;o<a;){var s=t[o],u=0;for(var c in W)if(l.call(W,c)){var f=e["[["+c+"]]"],_=l.call(s,c)?s[c]:void 0;if(void 0===f&&void 0!==_)u-=20;else if(void 0!==f&&void 0===_)u-=120;else{var p=["2-digit","numeric","narrow","short","long"],E=d.call(p,f),h=d.call(p,_),m=Math.max(Math.min(h-E,2),-2);!n||("numeric"!==f&&"2-digit"!==f||"numeric"===_||"2-digit"===_)&&("numeric"===f||"2-digit"===f||"2-digit"!==_&&"numeric"!==_)||(u-=8),2===m?u-=6:1===m?u-=3:-1===m?u-=6:-2===m&&(u-=8)}}u>i&&(i=u,r=s),o++}return r}function q(){var e=null!=this&&"object"==typeof this&&ie(this);if(!e||!e["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for format() is not an initialized Intl.DateTimeFormat object.");if(void 0===e["[[boundFormat]]"]){var t=v.call((function(){var e=Number(0===arguments.length?Date.now():arguments[0]);return X(this,e)}),this);e["[[boundFormat]]"]=t}return e["[[boundFormat]]"]}function X(e,t){if(!isFinite(t))throw new RangeError("Invalid valid date passed to format");var n,r,i,o,s=e.__getInternalProperties(g),u=te(),c=s["[[locale]]"],d=new a.NumberFormat([c],{useGrouping:!1}),f=new a.NumberFormat([c],{minimumIntegerDigits:2,useGrouping:!1}),_=(n=t,s["[[calendar]]"],r=s["[[timeZone]]"],new $({"[[weekday]]":(i=new Date(n))[(o="get"+(r||""))+"Day"](),"[[era]]":+(i[o+"FullYear"]()>=0),"[[year]]":i[o+"FullYear"](),"[[month]]":i[o+"Month"](),"[[day]]":i[o+"Date"](),"[[hour]]":i[o+"Hours"](),"[[minute]]":i[o+"Minutes"](),"[[second]]":i[o+"Seconds"](),"[[inDST]]":!1})),p=s["[[pattern]]"],E=s["[[dataLocale]]"],h=T.DateTimeFormat["[[localeData]]"][E].calendars,m=s["[[calendar]]"];for(var v in W)if(l.call(s,"[["+v+"]]")){var S,y,A=s["[["+v+"]]"],O=_["[["+v+"]]"];if("year"===v&&O<=0?O=1-O:"month"===v?O++:"hour"===v&&!0===s["[[hour12]]"]&&(S=(O%=12)!==_["[["+v+"]]"],0===O&&!0===s["[[hourNo0]]"]&&(O=12)),"numeric"===A)y=H(d,O);else if("2-digit"===A)(y=H(f,O)).length>2&&(y=y.slice(-2));else if(A in I)switch(v){case"month":y=Z(h,m,"months",A,_["[["+v+"]]"]);break;case"weekday":try{y=Z(h,m,"days",A,_["[["+v+"]]"])}catch(e){throw new Error("Could not find weekday data for locale "+c)}break;case"timeZoneName":y="";break;default:y=_["[["+v+"]]"]}p=p.replace("{"+v+"}",y)}return!0===s["[[hour12]]"]&&(y=Z(h,m,"dayPeriods",S?"pm":"am"),p=p.replace("{ampm}",y)),u.exp.test(u.input),p}T.DateTimeFormat={"[[availableLocales]]":[],"[[relevantExtensionKeys]]":["ca","nu"],"[[localeData]]":{}},c(a.DateTimeFormat,"supportedLocalesOf",{configurable:!0,writable:!0,value:v.call(Q,T.DateTimeFormat)}),c(a.DateTimeFormat.prototype,"format",{configurable:!0,get:q}),c(a.DateTimeFormat.prototype,"resolvedOptions",{writable:!0,configurable:!0,value:function(){var e,t=new $,n=["locale","calendar","numberingSystem","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"],r=null!=this&&"object"==typeof this&&ie(this);if(!r||!r["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for resolvedOptions() is not an initialized Intl.DateTimeFormat object.");for(var i=0,o=n.length;i<o;i++)l.call(r,e="[["+n[i]+"]]")&&(t[n[i]]={value:r[e],writable:!0,configurable:!0,enumerable:!0});return f({},t)}});var J=a.__localeSensitiveProtos={Number:{},Date:{}};function Q(e){if(!l.call(this,"[[availableLocales]]"))throw new TypeError("supportedLocalesOf() is not a constructor");var t=te(),n=arguments[1],r=this["[[availableLocales]]"],i=D(e);return t.exp.test(t.input),U(r,i,n)}function Z(e,t,n,r,i){var o=e[t]&&e[t][n]?e[t][n]:e.gregory[n],a={narrow:["short","long"],short:["long","narrow"],long:["short","narrow"]},s=l.call(o,r)?o[r]:l.call(o,a[r][0])?o[a[r][0]]:o[a[r][1]];return null!=i?s[i]:s}function $(e){for(var t in e)(e instanceof $||l.call(e,t))&&c(this,t,{value:e[t],enumerable:!0,writable:!0,configurable:!0})}function ee(){c(this,"length",{writable:!0,value:0}),arguments.length&&E.apply(this,_.call(arguments))}function te(){for(var e=/[.?*+^$[\]\\(){}|-]/g,t=RegExp.lastMatch||"",n=RegExp.multiline?"m":"",r={input:RegExp.input},i=new ee,o=!1,a={},s=1;s<=9;s++)o=(a["$"+s]=RegExp["$"+s])||o;if(t=t.replace(e,"\\$&"),o)for(s=1;s<=9;s++){var u=a["$"+s];u?(u=u.replace(e,"\\$&"),t=t.replace(u,"("+u+")")):t="()"+t,E.call(i,t.slice(0,t.indexOf("(")+1)),t=t.slice(t.indexOf("(")+1)}return r.exp=new RegExp(h.call(i,"")+t,n),r}function ne(e){for(var t=e.length;t--;){var n=e.charAt(t);n>="a"&&n<="z"&&(e=e.slice(0,t)+n.toUpperCase()+e.slice(t+1))}return e}function re(e){if(null==e)throw new TypeError("Cannot convert null or undefined to object");return Object(e)}function ie(e){return l.call(e,"__getInternalProperties")?e.__getInternalProperties(g):f(null)}J.Number.toLocaleString=function(){if("[object Number]"!==Object.prototype.toString.call(this))throw new TypeError("`this` value must be a number for Number.prototype.toLocaleString()");return H(new Y(arguments[0],arguments[1]),this)},J.Date.toLocaleString=function(){if("[object Date]"!==Object.prototype.toString.call(this))throw new TypeError("`this` value must be a Date instance for Date.prototype.toLocaleString()");var e=+this;if(isNaN(e))return"Invalid Date";var t=arguments[0],n=new B(t,K(arguments[1],"any","all"));return X(n,e)},J.Date.toLocaleDateString=function(){if("[object Date]"!==Object.prototype.toString.call(this))throw new TypeError("`this` value must be a Date instance for Date.prototype.toLocaleDateString()");var e=+this;if(isNaN(e))return"Invalid Date";var t=arguments[0],n=new B(t,K(arguments[1],"date","date"));return X(n,e)},J.Date.toLocaleTimeString=function(){if("[object Date]"!==Object.prototype.toString.call(this))throw new TypeError("`this` value must be a Date instance for Date.prototype.toLocaleTimeString()");var e=+this;if(isNaN(e))return"Invalid Date";var t=arguments[0],n=new B(t,K(arguments[1],"time","time"));return X(n,e)},c(a,"__applyLocaleSensitivePrototypes",{writable:!0,configurable:!0,value:function(){for(var e in c(Number.prototype,"toLocaleString",{writable:!0,configurable:!0,value:J.Number.toLocaleString}),c(Date.prototype,"toLocaleString",{writable:!0,configurable:!0,value:J.Date.toLocaleString}),J.Date)l.call(J.Date,e)&&c(Date.prototype,e,{writable:!0,configurable:!0,value:J.Date[e]})}}),c(a,"__addLocaleData",{value:function(e){if(!b(e.locale))throw new Error("Object passed doesn't identify itself with a valid language tag");!function(e,t){if(!e.number)throw new Error("Object passed doesn't contain locale data for Intl.NumberFormat");var n,i=[t],o=t.split("-");o.length>2&&4===o[1].length&&E.call(i,o[0]+"-"+o[2]);for(;n=m.call(i);)E.call(T.NumberFormat["[[availableLocales]]"],n),T.NumberFormat["[[localeData]]"][n]=e.number,e.date&&(e.date.nu=e.number.nu,E.call(T.DateTimeFormat["[[availableLocales]]"],n),T.DateTimeFormat["[[localeData]]"][n]=e.date);void 0===r&&(r=t);S||(x(a.NumberFormat.prototype),S=!0);e.date&&!y&&(j(a.DateTimeFormat.prototype),y=!0)}(e,e.locale)}}),$.prototype=f(null),ee.prototype=f(null),t.default=a},function(e,t,n){"use strict";var r="(?:[a-z0-9]{5,8}|\\d[a-z0-9]{3})",i="[0-9a-wy-z](?:-[a-z0-9]{2,8})+",o=RegExp("^(?:(?:[a-z]{2,3}(?:-[a-z]{3}(?:-[a-z]{3}){0,2})?|[a-z]{4}|[a-z]{5,8})(?:-[a-z]{4})?(?:-(?:[a-z]{2}|\\d{3}))?(?:-(?:[a-z0-9]{5,8}|\\d[a-z0-9]{3}))*(?:-[0-9a-wy-z](?:-[a-z0-9]{2,8})+)*(?:-x(?:-[a-z0-9]{1,8})+)?|x(?:-[a-z0-9]{1,8})+|(?:(?:en-GB-oed|i-(?:ami|bnn|default|enochian|hak|klingon|lux|mingo|navajo|pwn|tao|tay|tsu)|sgn-(?:BE-FR|BE-NL|CH-DE))|(?:art-lojban|cel-gaulish|no-bok|no-nyn|zh-(?:guoyu|hakka|min|min-nan|xiang))))$","i"),a=RegExp("^(?!x).*?-("+r+")-(?:\\w{4,8}-(?!x-))*\\1\\b","i"),s=RegExp("^(?!x).*?-([0-9a-wy-z])-(?:\\w+-(?!x-))*\\1\\b","i"),u=RegExp("-"+i,"ig");t.expBCP47Syntax=o,t.expVariantDupes=a,t.expSingletonDupes=s,t.expExtSequences=u},function(e,t,n){"use strict";t.createDateTimeFormat=c,t.createDateTimeFormats=function(e){var t,n,r,i,o,a=e.availableFormats,s=e.timeFormats,d=e.dateFormats,f=e.medium,_=[],p=[],E=[];function h(e,t){var n=new Array((e.match(/M/g)||[]).length+1),r=new Array((e.match(/E/g)||[]).length+1);return n.length>2&&(t=t.replace(/(M|L)+/,n.join("$1"))),r.length>2&&(t=t.replace(/([Eec])+/,r.join("$1"))),t}for(t in a)a.hasOwnProperty(t)&&(n=h(t,a[t]),(r=c(n))&&(_.push(r),u(r)?E.push(n):l(r)&&p.push(n)));for(i=0;i<p.length;i+=1)for(o=0;o<E.length;o+=1)n=f.replace("{0}",p[i]).replace("{1}",E[o]).replace(/^[,\s]+|[,\s]+$/gi,""),(r=c(n))&&_.push(r);for(t in s)s.hasOwnProperty(t)&&(n=h(t,s[t]),(r=c(n))&&_.push(r));for(t in d)d.hasOwnProperty(t)&&(n=h(t,d[t]),(r=c(n))&&_.push(r));return _};var r=/(?:[Eec]{1,6}|G{1,5}|(?:[yYu]+|U{1,5})|[ML]{1,5}|d{1,2}|a|[hkHK]{1,2}|m{1,2}|s{1,2}|z{1,4})(?=([^']*'[^']*')*[^']*$)/g,i=/[QxXVOvZASjgFDwWIQqH]/,o={month:["numeric","2-digit","short","long","narrow"],weekday:["short","short","short","long","narrow"],era:["short","short","short","long","narrow"]},a=["weekday","era","year","month","day"],s=["hour","minute","second","timeZoneName"];function u(e){for(var t=0;t<s.length;t+=1)if(e.hasOwnProperty(s[t]))return!1;return!0}function l(e){for(var t=0;t<a.length;t+=1)if(e.hasOwnProperty(a[t]))return!1;return!0}function c(e){if(!i.test(e)){var t={};return t.pattern=e.replace(r,(function(e){switch(e.charAt(0)){case"E":case"e":case"c":return t.weekday=o.weekday[e.length-1],"{weekday}";case"G":return t.era=o.era[e.length-1],"{era}";case"y":case"Y":case"u":case"U":return t.year=2===e.length?"2-digit":"numeric","{year}";case"M":case"L":return t.month=o.month[e.length-1],"{month}";case"d":return t.day=2===e.length?"2-digit":"numeric","{day}";case"a":return"{ampm}";case"h":case"H":case"k":case"K":return t.hour=2===e.length?"2-digit":"numeric","{hour}";case"m":return t.minute=2===e.length?"2-digit":"numeric","{minute}";case"s":return t.second=2===e.length?"2-digit":"numeric","{second}";case"z":return t.timeZoneName=e.length<4?"short":"long","{timeZoneName}"}})),t.pattern=t.pattern.replace(/'([^']*)'/g,(function(e,t){return t||"'"})),t.pattern.indexOf("{ampm}")>-1&&(t.hour12=!0,t.pattern12=t.pattern,t.pattern=t.pattern.replace("{ampm}","").replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")),t}}},function(e,t){},function(e){e.exports=JSON.parse('{"locale":"en","date":{"ca":["gregory","buddhist","chinese","coptic","dangi","ethioaa","ethiopic","generic","hebrew","indian","islamic","islamicc","japanese","persian","roc"],"hourNo0":true,"hour12":true,"formats":{"medium":"{1}, {0}","availableFormats":{"E":"ccc","EHm":"E HH:mm","EHms":"E HH:mm:ss","Ed":"d E","Ehm":"E h:mm a","Ehms":"E h:mm:ss a","Gy":"y G","GyMMM":"MMM y G","GyMMMEd":"E, MMM d, y G","GyMMMd":"MMM d, y G","H":"HH","Hm":"HH:mm","Hms":"HH:mm:ss","Hmsv":"HH:mm:ss v","Hmv":"HH:mm v","M":"L","MEd":"E, M/d","MMM":"LLL","MMMEd":"E, MMM d","MMMd":"MMM d","Md":"M/d","d":"d","h":"h a","hm":"h:mm a","hms":"h:mm:ss a","hmsv":"h:mm:ss a v","hmv":"h:mm a v","ms":"mm:ss","y":"y","yM":"M/y","yMEd":"E, M/d/y","yMMM":"MMM y","yMMMEd":"E, MMM d, y","yMMMd":"MMM d, y","yMd":"M/d/y","yQQQ":"QQQ y","yQQQQ":"QQQQ y"},"dateFormats":{"full":"EEEE, MMMM d, y","long":"MMMM d, y","medium":"MMM d, y","short":"M/d/yy"},"timeFormats":{"full":"h:mm:ss a zzzz","long":"h:mm:ss a z","medium":"h:mm:ss a","short":"h:mm a"}},"calendars":{"buddhist":{"months":{"narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"short":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"long":["January","February","March","April","May","June","July","August","September","October","November","December"]},"days":{"narrow":["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"eras":{"narrow":["BE"],"short":["BE"],"long":["BE"]},"dayPeriods":{"am":"AM","pm":"PM"}},"chinese":{"months":{"narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["Mo1","Mo2","Mo3","Mo4","Mo5","Mo6","Mo7","Mo8","Mo9","Mo10","Mo11","Mo12"],"long":["Month1","Month2","Month3","Month4","Month5","Month6","Month7","Month8","Month9","Month10","Month11","Month12"]},"days":{"narrow":["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"dayPeriods":{"am":"AM","pm":"PM"}},"coptic":{"months":{"narrow":["1","2","3","4","5","6","7","8","9","10","11","12","13"],"short":["Tout","Baba","Hator","Kiahk","Toba","Amshir","Baramhat","Baramouda","Bashans","Paona","Epep","Mesra","Nasie"],"long":["Tout","Baba","Hator","Kiahk","Toba","Amshir","Baramhat","Baramouda","Bashans","Paona","Epep","Mesra","Nasie"]},"days":{"narrow":["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"eras":{"narrow":["ERA0","ERA1"],"short":["ERA0","ERA1"],"long":["ERA0","ERA1"]},"dayPeriods":{"am":"AM","pm":"PM"}},"dangi":{"months":{"narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["Mo1","Mo2","Mo3","Mo4","Mo5","Mo6","Mo7","Mo8","Mo9","Mo10","Mo11","Mo12"],"long":["Month1","Month2","Month3","Month4","Month5","Month6","Month7","Month8","Month9","Month10","Month11","Month12"]},"days":{"narrow":["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"dayPeriods":{"am":"AM","pm":"PM"}},"ethiopic":{"months":{"narrow":["1","2","3","4","5","6","7","8","9","10","11","12","13"],"short":["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"],"long":["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"]},"days":{"narrow":["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"eras":{"narrow":["ERA0","ERA1"],"short":["ERA0","ERA1"],"long":["ERA0","ERA1"]},"dayPeriods":{"am":"AM","pm":"PM"}},"ethioaa":{"months":{"narrow":["1","2","3","4","5","6","7","8","9","10","11","12","13"],"short":["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"],"long":["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"]},"days":{"narrow":["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"eras":{"narrow":["ERA0"],"short":["ERA0"],"long":["ERA0"]},"dayPeriods":{"am":"AM","pm":"PM"}},"generic":{"months":{"narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["M01","M02","M03","M04","M05","M06","M07","M08","M09","M10","M11","M12"],"long":["M01","M02","M03","M04","M05","M06","M07","M08","M09","M10","M11","M12"]},"days":{"narrow":["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"eras":{"narrow":["ERA0","ERA1"],"short":["ERA0","ERA1"],"long":["ERA0","ERA1"]},"dayPeriods":{"am":"AM","pm":"PM"}},"gregory":{"months":{"narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"short":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"long":["January","February","March","April","May","June","July","August","September","October","November","December"]},"days":{"narrow":["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"eras":{"narrow":["B","A","BCE","CE"],"short":["BC","AD","BCE","CE"],"long":["Before Christ","Anno Domini","Before Common Era","Common Era"]},"dayPeriods":{"am":"AM","pm":"PM"}},"hebrew":{"months":{"narrow":["1","2","3","4","5","6","7","8","9","10","11","12","13","7"],"short":["Tishri","Heshvan","Kislev","Tevet","Shevat","Adar I","Adar","Nisan","Iyar","Sivan","Tamuz","Av","Elul","Adar II"],"long":["Tishri","Heshvan","Kislev","Tevet","Shevat","Adar I","Adar","Nisan","Iyar","Sivan","Tamuz","Av","Elul","Adar II"]},"days":{"narrow":["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"eras":{"narrow":["AM"],"short":["AM"],"long":["AM"]},"dayPeriods":{"am":"AM","pm":"PM"}},"indian":{"months":{"narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["Chaitra","Vaisakha","Jyaistha","Asadha","Sravana","Bhadra","Asvina","Kartika","Agrahayana","Pausa","Magha","Phalguna"],"long":["Chaitra","Vaisakha","Jyaistha","Asadha","Sravana","Bhadra","Asvina","Kartika","Agrahayana","Pausa","Magha","Phalguna"]},"days":{"narrow":["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"eras":{"narrow":["Saka"],"short":["Saka"],"long":["Saka"]},"dayPeriods":{"am":"AM","pm":"PM"}},"islamic":{"months":{"narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["Muh.","Saf.","Rab. I","Rab. II","Jum. I","Jum. II","Raj.","Sha.","Ram.","Shaw.","Dhuʻl-Q.","Dhuʻl-H."],"long":["Muharram","Safar","Rabiʻ I","Rabiʻ II","Jumada I","Jumada II","Rajab","Shaʻban","Ramadan","Shawwal","Dhuʻl-Qiʻdah","Dhuʻl-Hijjah"]},"days":{"narrow":["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"eras":{"narrow":["AH"],"short":["AH"],"long":["AH"]},"dayPeriods":{"am":"AM","pm":"PM"}},"islamicc":{"months":{"narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["Muh.","Saf.","Rab. I","Rab. II","Jum. I","Jum. II","Raj.","Sha.","Ram.","Shaw.","Dhuʻl-Q.","Dhuʻl-H."],"long":["Muharram","Safar","Rabiʻ I","Rabiʻ II","Jumada I","Jumada II","Rajab","Shaʻban","Ramadan","Shawwal","Dhuʻl-Qiʻdah","Dhuʻl-Hijjah"]},"days":{"narrow":["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"eras":{"narrow":["AH"],"short":["AH"],"long":["AH"]},"dayPeriods":{"am":"AM","pm":"PM"}},"japanese":{"months":{"narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"short":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"long":["January","February","March","April","May","June","July","August","September","October","November","December"]},"days":{"narrow":["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"eras":{"narrow":["Taika (645-650)","Hakuchi (650-671)","Hakuhō (672-686)","Shuchō (686-701)","Taihō (701-704)","Keiun (704-708)","Wadō (708-715)","Reiki (715-717)","Yōrō (717-724)","Jinki (724-729)","Tempyō (729-749)","Tempyō-kampō (749-749)","Tempyō-shōhō (749-757)","Tempyō-hōji (757-765)","Temphō-jingo (765-767)","Jingo-keiun (767-770)","Hōki (770-780)","Ten-ō (781-782)","Enryaku (782-806)","Daidō (806-810)","Kōnin (810-824)","Tenchō (824-834)","Jōwa (834-848)","Kajō (848-851)","Ninju (851-854)","Saiko (854-857)","Tennan (857-859)","Jōgan (859-877)","Genkei (877-885)","Ninna (885-889)","Kampyō (889-898)","Shōtai (898-901)","Engi (901-923)","Enchō (923-931)","Shōhei (931-938)","Tengyō (938-947)","Tenryaku (947-957)","Tentoku (957-961)","Ōwa (961-964)","Kōhō (964-968)","Anna (968-970)","Tenroku (970-973)","Ten-en (973-976)","Jōgen (976-978)","Tengen (978-983)","Eikan (983-985)","Kanna (985-987)","Ei-en (987-989)","Eiso (989-990)","Shōryaku (990-995)","Chōtoku (995-999)","Chōhō (999-1004)","Kankō (1004-1012)","Chōwa (1012-1017)","Kannin (1017-1021)","Jian (1021-1024)","Manju (1024-1028)","Chōgen (1028-1037)","Chōryaku (1037-1040)","Chōkyū (1040-1044)","Kantoku (1044-1046)","Eishō (1046-1053)","Tengi (1053-1058)","Kōhei (1058-1065)","Jiryaku (1065-1069)","Enkyū (1069-1074)","Shōho (1074-1077)","Shōryaku (1077-1081)","Eiho (1081-1084)","Ōtoku (1084-1087)","Kanji (1087-1094)","Kaho (1094-1096)","Eichō (1096-1097)","Shōtoku (1097-1099)","Kōwa (1099-1104)","Chōji (1104-1106)","Kashō (1106-1108)","Tennin (1108-1110)","Ten-ei (1110-1113)","Eikyū (1113-1118)","Gen-ei (1118-1120)","Hoan (1120-1124)","Tenji (1124-1126)","Daiji (1126-1131)","Tenshō (1131-1132)","Chōshō (1132-1135)","Hoen (1135-1141)","Eiji (1141-1142)","Kōji (1142-1144)","Tenyō (1144-1145)","Kyūan (1145-1151)","Ninpei (1151-1154)","Kyūju (1154-1156)","Hogen (1156-1159)","Heiji (1159-1160)","Eiryaku (1160-1161)","Ōho (1161-1163)","Chōkan (1163-1165)","Eiman (1165-1166)","Nin-an (1166-1169)","Kaō (1169-1171)","Shōan (1171-1175)","Angen (1175-1177)","Jishō (1177-1181)","Yōwa (1181-1182)","Juei (1182-1184)","Genryuku (1184-1185)","Bunji (1185-1190)","Kenkyū (1190-1199)","Shōji (1199-1201)","Kennin (1201-1204)","Genkyū (1204-1206)","Ken-ei (1206-1207)","Shōgen (1207-1211)","Kenryaku (1211-1213)","Kenpō (1213-1219)","Shōkyū (1219-1222)","Jōō (1222-1224)","Gennin (1224-1225)","Karoku (1225-1227)","Antei (1227-1229)","Kanki (1229-1232)","Jōei (1232-1233)","Tempuku (1233-1234)","Bunryaku (1234-1235)","Katei (1235-1238)","Ryakunin (1238-1239)","En-ō (1239-1240)","Ninji (1240-1243)","Kangen (1243-1247)","Hōji (1247-1249)","Kenchō (1249-1256)","Kōgen (1256-1257)","Shōka (1257-1259)","Shōgen (1259-1260)","Bun-ō (1260-1261)","Kōchō (1261-1264)","Bun-ei (1264-1275)","Kenji (1275-1278)","Kōan (1278-1288)","Shōō (1288-1293)","Einin (1293-1299)","Shōan (1299-1302)","Kengen (1302-1303)","Kagen (1303-1306)","Tokuji (1306-1308)","Enkei (1308-1311)","Ōchō (1311-1312)","Shōwa (1312-1317)","Bunpō (1317-1319)","Genō (1319-1321)","Genkyō (1321-1324)","Shōchū (1324-1326)","Kareki (1326-1329)","Gentoku (1329-1331)","Genkō (1331-1334)","Kemmu (1334-1336)","Engen (1336-1340)","Kōkoku (1340-1346)","Shōhei (1346-1370)","Kentoku (1370-1372)","Bunchũ (1372-1375)","Tenju (1375-1379)","Kōryaku (1379-1381)","Kōwa (1381-1384)","Genchũ (1384-1392)","Meitoku (1384-1387)","Kakei (1387-1389)","Kōō (1389-1390)","Meitoku (1390-1394)","Ōei (1394-1428)","Shōchō (1428-1429)","Eikyō (1429-1441)","Kakitsu (1441-1444)","Bun-an (1444-1449)","Hōtoku (1449-1452)","Kyōtoku (1452-1455)","Kōshō (1455-1457)","Chōroku (1457-1460)","Kanshō (1460-1466)","Bunshō (1466-1467)","Ōnin (1467-1469)","Bunmei (1469-1487)","Chōkyō (1487-1489)","Entoku (1489-1492)","Meiō (1492-1501)","Bunki (1501-1504)","Eishō (1504-1521)","Taiei (1521-1528)","Kyōroku (1528-1532)","Tenmon (1532-1555)","Kōji (1555-1558)","Eiroku (1558-1570)","Genki (1570-1573)","Tenshō (1573-1592)","Bunroku (1592-1596)","Keichō (1596-1615)","Genwa (1615-1624)","Kan-ei (1624-1644)","Shōho (1644-1648)","Keian (1648-1652)","Shōō (1652-1655)","Meiryaku (1655-1658)","Manji (1658-1661)","Kanbun (1661-1673)","Enpō (1673-1681)","Tenwa (1681-1684)","Jōkyō (1684-1688)","Genroku (1688-1704)","Hōei (1704-1711)","Shōtoku (1711-1716)","Kyōhō (1716-1736)","Genbun (1736-1741)","Kanpō (1741-1744)","Enkyō (1744-1748)","Kan-en (1748-1751)","Hōryaku (1751-1764)","Meiwa (1764-1772)","An-ei (1772-1781)","Tenmei (1781-1789)","Kansei (1789-1801)","Kyōwa (1801-1804)","Bunka (1804-1818)","Bunsei (1818-1830)","Tenpō (1830-1844)","Kōka (1844-1848)","Kaei (1848-1854)","Ansei (1854-1860)","Man-en (1860-1861)","Bunkyū (1861-1864)","Genji (1864-1865)","Keiō (1865-1868)","M","T","S","H"],"short":["Taika (645-650)","Hakuchi (650-671)","Hakuhō (672-686)","Shuchō (686-701)","Taihō (701-704)","Keiun (704-708)","Wadō (708-715)","Reiki (715-717)","Yōrō (717-724)","Jinki (724-729)","Tempyō (729-749)","Tempyō-kampō (749-749)","Tempyō-shōhō (749-757)","Tempyō-hōji (757-765)","Temphō-jingo (765-767)","Jingo-keiun (767-770)","Hōki (770-780)","Ten-ō (781-782)","Enryaku (782-806)","Daidō (806-810)","Kōnin (810-824)","Tenchō (824-834)","Jōwa (834-848)","Kajō (848-851)","Ninju (851-854)","Saiko (854-857)","Tennan (857-859)","Jōgan (859-877)","Genkei (877-885)","Ninna (885-889)","Kampyō (889-898)","Shōtai (898-901)","Engi (901-923)","Enchō (923-931)","Shōhei (931-938)","Tengyō (938-947)","Tenryaku (947-957)","Tentoku (957-961)","Ōwa (961-964)","Kōhō (964-968)","Anna (968-970)","Tenroku (970-973)","Ten-en (973-976)","Jōgen (976-978)","Tengen (978-983)","Eikan (983-985)","Kanna (985-987)","Ei-en (987-989)","Eiso (989-990)","Shōryaku (990-995)","Chōtoku (995-999)","Chōhō (999-1004)","Kankō (1004-1012)","Chōwa (1012-1017)","Kannin (1017-1021)","Jian (1021-1024)","Manju (1024-1028)","Chōgen (1028-1037)","Chōryaku (1037-1040)","Chōkyū (1040-1044)","Kantoku (1044-1046)","Eishō (1046-1053)","Tengi (1053-1058)","Kōhei (1058-1065)","Jiryaku (1065-1069)","Enkyū (1069-1074)","Shōho (1074-1077)","Shōryaku (1077-1081)","Eiho (1081-1084)","Ōtoku (1084-1087)","Kanji (1087-1094)","Kaho (1094-1096)","Eichō (1096-1097)","Shōtoku (1097-1099)","Kōwa (1099-1104)","Chōji (1104-1106)","Kashō (1106-1108)","Tennin (1108-1110)","Ten-ei (1110-1113)","Eikyū (1113-1118)","Gen-ei (1118-1120)","Hoan (1120-1124)","Tenji (1124-1126)","Daiji (1126-1131)","Tenshō (1131-1132)","Chōshō (1132-1135)","Hoen (1135-1141)","Eiji (1141-1142)","Kōji (1142-1144)","Tenyō (1144-1145)","Kyūan (1145-1151)","Ninpei (1151-1154)","Kyūju (1154-1156)","Hogen (1156-1159)","Heiji (1159-1160)","Eiryaku (1160-1161)","Ōho (1161-1163)","Chōkan (1163-1165)","Eiman (1165-1166)","Nin-an (1166-1169)","Kaō (1169-1171)","Shōan (1171-1175)","Angen (1175-1177)","Jishō (1177-1181)","Yōwa (1181-1182)","Juei (1182-1184)","Genryuku (1184-1185)","Bunji (1185-1190)","Kenkyū (1190-1199)","Shōji (1199-1201)","Kennin (1201-1204)","Genkyū (1204-1206)","Ken-ei (1206-1207)","Shōgen (1207-1211)","Kenryaku (1211-1213)","Kenpō (1213-1219)","Shōkyū (1219-1222)","Jōō (1222-1224)","Gennin (1224-1225)","Karoku (1225-1227)","Antei (1227-1229)","Kanki (1229-1232)","Jōei (1232-1233)","Tempuku (1233-1234)","Bunryaku (1234-1235)","Katei (1235-1238)","Ryakunin (1238-1239)","En-ō (1239-1240)","Ninji (1240-1243)","Kangen (1243-1247)","Hōji (1247-1249)","Kenchō (1249-1256)","Kōgen (1256-1257)","Shōka (1257-1259)","Shōgen (1259-1260)","Bun-ō (1260-1261)","Kōchō (1261-1264)","Bun-ei (1264-1275)","Kenji (1275-1278)","Kōan (1278-1288)","Shōō (1288-1293)","Einin (1293-1299)","Shōan (1299-1302)","Kengen (1302-1303)","Kagen (1303-1306)","Tokuji (1306-1308)","Enkei (1308-1311)","Ōchō (1311-1312)","Shōwa (1312-1317)","Bunpō (1317-1319)","Genō (1319-1321)","Genkyō (1321-1324)","Shōchū (1324-1326)","Kareki (1326-1329)","Gentoku (1329-1331)","Genkō (1331-1334)","Kemmu (1334-1336)","Engen (1336-1340)","Kōkoku (1340-1346)","Shōhei (1346-1370)","Kentoku (1370-1372)","Bunchū (1372-1375)","Tenju (1375-1379)","Kōryaku (1379-1381)","Kōwa (1381-1384)","Genchū (1384-1392)","Meitoku (1384-1387)","Kakei (1387-1389)","Kōō (1389-1390)","Meitoku (1390-1394)","Ōei (1394-1428)","Shōchō (1428-1429)","Eikyō (1429-1441)","Kakitsu (1441-1444)","Bun-an (1444-1449)","Hōtoku (1449-1452)","Kyōtoku (1452-1455)","Kōshō (1455-1457)","Chōroku (1457-1460)","Kanshō (1460-1466)","Bunshō (1466-1467)","Ōnin (1467-1469)","Bunmei (1469-1487)","Chōkyō (1487-1489)","Entoku (1489-1492)","Meiō (1492-1501)","Bunki (1501-1504)","Eishō (1504-1521)","Taiei (1521-1528)","Kyōroku (1528-1532)","Tenmon (1532-1555)","Kōji (1555-1558)","Eiroku (1558-1570)","Genki (1570-1573)","Tenshō (1573-1592)","Bunroku (1592-1596)","Keichō (1596-1615)","Genwa (1615-1624)","Kan-ei (1624-1644)","Shōho (1644-1648)","Keian (1648-1652)","Shōō (1652-1655)","Meiryaku (1655-1658)","Manji (1658-1661)","Kanbun (1661-1673)","Enpō (1673-1681)","Tenwa (1681-1684)","Jōkyō (1684-1688)","Genroku (1688-1704)","Hōei (1704-1711)","Shōtoku (1711-1716)","Kyōhō (1716-1736)","Genbun (1736-1741)","Kanpō (1741-1744)","Enkyō (1744-1748)","Kan-en (1748-1751)","Hōryaku (1751-1764)","Meiwa (1764-1772)","An-ei (1772-1781)","Tenmei (1781-1789)","Kansei (1789-1801)","Kyōwa (1801-1804)","Bunka (1804-1818)","Bunsei (1818-1830)","Tenpō (1830-1844)","Kōka (1844-1848)","Kaei (1848-1854)","Ansei (1854-1860)","Man-en (1860-1861)","Bunkyū (1861-1864)","Genji (1864-1865)","Keiō (1865-1868)","Meiji","Taishō","Shōwa","Heisei"],"long":["Taika (645-650)","Hakuchi (650-671)","Hakuhō (672-686)","Shuchō (686-701)","Taihō (701-704)","Keiun (704-708)","Wadō (708-715)","Reiki (715-717)","Yōrō (717-724)","Jinki (724-729)","Tempyō (729-749)","Tempyō-kampō (749-749)","Tempyō-shōhō (749-757)","Tempyō-hōji (757-765)","Temphō-jingo (765-767)","Jingo-keiun (767-770)","Hōki (770-780)","Ten-ō (781-782)","Enryaku (782-806)","Daidō (806-810)","Kōnin (810-824)","Tenchō (824-834)","Jōwa (834-848)","Kajō (848-851)","Ninju (851-854)","Saiko (854-857)","Tennan (857-859)","Jōgan (859-877)","Genkei (877-885)","Ninna (885-889)","Kampyō (889-898)","Shōtai (898-901)","Engi (901-923)","Enchō (923-931)","Shōhei (931-938)","Tengyō (938-947)","Tenryaku (947-957)","Tentoku (957-961)","Ōwa (961-964)","Kōhō (964-968)","Anna (968-970)","Tenroku (970-973)","Ten-en (973-976)","Jōgen (976-978)","Tengen (978-983)","Eikan (983-985)","Kanna (985-987)","Ei-en (987-989)","Eiso (989-990)","Shōryaku (990-995)","Chōtoku (995-999)","Chōhō (999-1004)","Kankō (1004-1012)","Chōwa (1012-1017)","Kannin (1017-1021)","Jian (1021-1024)","Manju (1024-1028)","Chōgen (1028-1037)","Chōryaku (1037-1040)","Chōkyū (1040-1044)","Kantoku (1044-1046)","Eishō (1046-1053)","Tengi (1053-1058)","Kōhei (1058-1065)","Jiryaku (1065-1069)","Enkyū (1069-1074)","Shōho (1074-1077)","Shōryaku (1077-1081)","Eiho (1081-1084)","Ōtoku (1084-1087)","Kanji (1087-1094)","Kaho (1094-1096)","Eichō (1096-1097)","Shōtoku (1097-1099)","Kōwa (1099-1104)","Chōji (1104-1106)","Kashō (1106-1108)","Tennin (1108-1110)","Ten-ei (1110-1113)","Eikyū (1113-1118)","Gen-ei (1118-1120)","Hoan (1120-1124)","Tenji (1124-1126)","Daiji (1126-1131)","Tenshō (1131-1132)","Chōshō (1132-1135)","Hoen (1135-1141)","Eiji (1141-1142)","Kōji (1142-1144)","Tenyō (1144-1145)","Kyūan (1145-1151)","Ninpei (1151-1154)","Kyūju (1154-1156)","Hogen (1156-1159)","Heiji (1159-1160)","Eiryaku (1160-1161)","Ōho (1161-1163)","Chōkan (1163-1165)","Eiman (1165-1166)","Nin-an (1166-1169)","Kaō (1169-1171)","Shōan (1171-1175)","Angen (1175-1177)","Jishō (1177-1181)","Yōwa (1181-1182)","Juei (1182-1184)","Genryuku (1184-1185)","Bunji (1185-1190)","Kenkyū (1190-1199)","Shōji (1199-1201)","Kennin (1201-1204)","Genkyū (1204-1206)","Ken-ei (1206-1207)","Shōgen (1207-1211)","Kenryaku (1211-1213)","Kenpō (1213-1219)","Shōkyū (1219-1222)","Jōō (1222-1224)","Gennin (1224-1225)","Karoku (1225-1227)","Antei (1227-1229)","Kanki (1229-1232)","Jōei (1232-1233)","Tempuku (1233-1234)","Bunryaku (1234-1235)","Katei (1235-1238)","Ryakunin (1238-1239)","En-ō (1239-1240)","Ninji (1240-1243)","Kangen (1243-1247)","Hōji (1247-1249)","Kenchō (1249-1256)","Kōgen (1256-1257)","Shōka (1257-1259)","Shōgen (1259-1260)","Bun-ō (1260-1261)","Kōchō (1261-1264)","Bun-ei (1264-1275)","Kenji (1275-1278)","Kōan (1278-1288)","Shōō (1288-1293)","Einin (1293-1299)","Shōan (1299-1302)","Kengen (1302-1303)","Kagen (1303-1306)","Tokuji (1306-1308)","Enkei (1308-1311)","Ōchō (1311-1312)","Shōwa (1312-1317)","Bunpō (1317-1319)","Genō (1319-1321)","Genkyō (1321-1324)","Shōchū (1324-1326)","Kareki (1326-1329)","Gentoku (1329-1331)","Genkō (1331-1334)","Kemmu (1334-1336)","Engen (1336-1340)","Kōkoku (1340-1346)","Shōhei (1346-1370)","Kentoku (1370-1372)","Bunchū (1372-1375)","Tenju (1375-1379)","Kōryaku (1379-1381)","Kōwa (1381-1384)","Genchū (1384-1392)","Meitoku (1384-1387)","Kakei (1387-1389)","Kōō (1389-1390)","Meitoku (1390-1394)","Ōei (1394-1428)","Shōchō (1428-1429)","Eikyō (1429-1441)","Kakitsu (1441-1444)","Bun-an (1444-1449)","Hōtoku (1449-1452)","Kyōtoku (1452-1455)","Kōshō (1455-1457)","Chōroku (1457-1460)","Kanshō (1460-1466)","Bunshō (1466-1467)","Ōnin (1467-1469)","Bunmei (1469-1487)","Chōkyō (1487-1489)","Entoku (1489-1492)","Meiō (1492-1501)","Bunki (1501-1504)","Eishō (1504-1521)","Taiei (1521-1528)","Kyōroku (1528-1532)","Tenmon (1532-1555)","Kōji (1555-1558)","Eiroku (1558-1570)","Genki (1570-1573)","Tenshō (1573-1592)","Bunroku (1592-1596)","Keichō (1596-1615)","Genwa (1615-1624)","Kan-ei (1624-1644)","Shōho (1644-1648)","Keian (1648-1652)","Shōō (1652-1655)","Meiryaku (1655-1658)","Manji (1658-1661)","Kanbun (1661-1673)","Enpō (1673-1681)","Tenwa (1681-1684)","Jōkyō (1684-1688)","Genroku (1688-1704)","Hōei (1704-1711)","Shōtoku (1711-1716)","Kyōhō (1716-1736)","Genbun (1736-1741)","Kanpō (1741-1744)","Enkyō (1744-1748)","Kan-en (1748-1751)","Hōryaku (1751-1764)","Meiwa (1764-1772)","An-ei (1772-1781)","Tenmei (1781-1789)","Kansei (1789-1801)","Kyōwa (1801-1804)","Bunka (1804-1818)","Bunsei (1818-1830)","Tenpō (1830-1844)","Kōka (1844-1848)","Kaei (1848-1854)","Ansei (1854-1860)","Man-en (1860-1861)","Bunkyū (1861-1864)","Genji (1864-1865)","Keiō (1865-1868)","Meiji","Taishō","Shōwa","Heisei"]},"dayPeriods":{"am":"AM","pm":"PM"}},"persian":{"months":{"narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Dey","Bahman","Esfand"],"long":["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Dey","Bahman","Esfand"]},"days":{"narrow":["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"eras":{"narrow":["AP"],"short":["AP"],"long":["AP"]},"dayPeriods":{"am":"AM","pm":"PM"}},"roc":{"months":{"narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"short":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"long":["January","February","March","April","May","June","July","August","September","October","November","December"]},"days":{"narrow":["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"eras":{"narrow":["Before R.O.C.","Minguo"],"short":["Before R.O.C.","Minguo"],"long":["Before R.O.C.","Minguo"]},"dayPeriods":{"am":"AM","pm":"PM"}}}},"number":{"nu":["latn"],"patterns":{"decimal":{"positivePattern":"{number}","negativePattern":"-{number}"},"currency":{"positivePattern":"{currency}{number}","negativePattern":"-{currency}{number}"},"percent":{"positivePattern":"{number}%","negativePattern":"-{number}%"}},"symbols":{"latn":{"decimal":".","group":",","nan":"NaN","percent":"%","infinity":"∞"}},"currencies":{"AUD":"A$","BRL":"R$","CAD":"CA$","CNY":"CN¥","EUR":"€","GBP":"£","HKD":"HK$","ILS":"₪","INR":"₹","JPY":"¥","KRW":"₩","MXN":"MX$","NZD":"NZ$","TWD":"NT$","USD":"$","VND":"₫","XAF":"FCFA","XCD":"EC$","XOF":"CFA","XPF":"CFPF"}}}')},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1512).impl;t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sessionStorageTest=o,t.impl=void 0;var r,i=n(472);try{r=window.sessionStorage}catch(e){}try{delete window.sessionStorage}catch(e){}function o(){try{return r.setItem("test","test"),r.removeItem("test"),!0}catch(e){return!1}}var a=function(){function e(){}var t=e.prototype;return t.get=function(e,t){var n=r.getItem(e);if(null!=n)try{n=JSON.parse(n)}catch(e){n=t}else n=t;return n},t.set=function(e,t){r.setItem(e,JSON.stringify(t))},t.remove=function(e){r.removeItem(e)},t.clear=function(){r.clear()},e}(),s=o()?new a:new i.ObjectStorage;t.impl=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e,t){return function(n,r,i){void 0===i&&(i=!1),e.dirtyDispatch({type:t,event:n,properties:r,flush:i})}}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.analyticsTrackingStoreMaker=t.AnalyticsActionHandlers=void 0;var r=n(305),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(3)),o=u(n(14)),a=u(n(909)),s=n(206);function u(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(){return(d=Object.assign||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}).apply(this,arguments)}var f,_,p=1500,E=window.requestIdleCallback||function(t,n){return e(t)},h=new a.default,m={};t.AnalyticsActionHandlers=m;var v,T=[];t.analyticsTrackingStoreMaker=function(e){var t=e.dispatcher,n=e.actionHandler,a=e.getFingerprint,u=e.TRACKING_URL,l=e.drainTimeoutOverride,g=e.waitFor;function I(){return 0!==T.length&&(null!=_?null!=f:null!=a())}function S(){null==v&&I()&&(v=E(y,{timeout:p}))}function y(){if(v=null,I()){var e=function(){if(null!=_)return _;var e=a();return null!=e?(0,r.extractId)(e):null}(),t=(0,s.now)(),n=T.map((function(e){return d({},e,{properties:d({},i(e),{client_send_timestamp:t})})}));T=[],o.default.post({url:u,body:{token:f,events:n},retries:3}).catch((function(e){var t;(t=T).unshift.apply(t,n);var r=(e.body||e).message;console.warn("[AnalyticsTrackingStore] Track:",r)}))}function i(t){var n=d({},t.properties);return null!=e&&(n.client_uuid=t.properties.client_uuid||h.generate(e)),n}}return p=null!=l?l:1500,m.handleConnectionOpen=function(e){var t=e.analyticsToken,n=e.user;return null!=t&&(f=t),null!=n.id&&(_=n.id),S(),!1},m.handleConnectionClosed=function(){return y(),f=null,_=null,!1},m.handleFingerprint=function(){return y(),!1},m.handleTrack=function(e){var t=e.event,n=e.properties,r=e.flush,i={type:t,properties:d({client_track_timestamp:(0,s.now)()},n)};return T.push(i),T.length>1e4&&(T=T.slice(-1e4)),r?y():S(),!1},new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),r.prototype.initialize=function(){null!=g&&this.waitFor.apply(this,g)},r}(i.default.Store))(t,n)}}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.ImpressionTypes=t.ImpressionGroups=void 0,t.ImpressionGroups=r,function(e){e.GUILD_ADD_FLOW="guild_add_flow",e.GUILD_ADD_NUF="guild_add_nuf",e.CHANNEL_ADD_FLOW="channel_add_flow",e.ROLE_ADD_FLOW="role_add_flow",e.USER_REGISTRATION_FLOW="user_registration_flow",e.CONTACT_SYNC_FLOW="contact_sync_flow",e.DIRECTORY_GUILD_ADD_FLOW="directory_guild_add_flow"}(r||(t.ImpressionGroups=r={})),t.ImpressionTypes=i,function(e){e.PAGE="page",e.MODAL="modal",e.POPOUT="popout",e.MENU="menu",e.PANE="pane",e.VIEW="view",e.HALFSHEET="halfsheet"}(i||(t.ImpressionTypes=i={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkActionNames=t.ImpressionNames=void 0;var r,i;n(92);t.ImpressionNames=r,function(e){e.APPLICATION_LIBRARY="impression_application_library",e.APPLICATION_STORE="impression_application_store",e.CHANNEL_ADD_INFO="impression_channel_add_info",e.CHANNEL_ADD_MEMBERS="impression_channel_add_members",e.CHANNEL_VIEWED="impression_channel_viewed",e.CONTACT_SYNC_INPUT_NAME="impression_contact_sync_input_name",e.CONTACT_SYNC_START="impression_contact_sync_start",e.CONTACT_SYNC_SUGGESTIONS="impression_contact_sync_suggestions",e.DIRECTORY_ADD_GUILD_CONFIRMATION="impression_directory_add_guild_confirmation",e.FRIENDS="impression_friends",e.GUILD_ADD_ACCEPT_INVITE="impression_guild_add_accept_invite",e.GUILD_ADD_CHANNEL_PROMPT="impression_guild_add_channel_prompt",e.GUILD_ADD_CUSTOMIZE="impression_guild_add_customize",e.GUILD_ADD_GUILD_INVITE="impression_guild_add_guild_invite",e.GUILD_ADD_INTENT_SELECTION="impression_guild_add_intent_selection",e.GUILD_ADD_JOIN="impression_guild_add_join",e.GUILD_CREATE_MODAL_JOIN="impression_guild_create_modal_join",e.GUILD_ADD_LANDING="impression_guild_add_landing",e.GUILD_CHANNEL="impression_guild_channel",e.GUILD_DISCOVERY="impression_guild_discovery",e.GUILD_INVITE="impression_guild_invite",e.GUILD_INVITE_LINK_SETTINGS="impression_guild_invite_link_settings",e.GUILD_INVITE_SEARCH="impression_guild_invite_search",e.GUILD_MEMBER_VERIFICATION="impression_guild_member_verification",e.GUILD_SETTINGS_ANALYTICS="impression_guild_settings_analytics",e.GUILD_SETTINGS_AUDIT_LOG="impression_guild_settings_audit_log",e.GUILD_SETTINGS_BANS="impression_guild_settings_bans",e.GUILD_SETTINGS_BOOST_STATUS="impression_guild_settings_boost_status",e.GUILD_SETTINGS_CHANNELS="impression_guild_settings_channels",e.GUILD_SETTINGS_COMMUNITY_OVERVIEW="impression_guild_settings_community_overview",e.GUILD_SETTINGS_COMMUNITY_WELCOME="impression_guild_settings_community_welcome",e.GUILD_SETTINGS_DISCOVERY="impression_guild_settings_discovery",e.GUILD_SETTINGS_EMOJI="impression_guild_settings_emoji",e.GUILD_SETTINGS_ENABLE_COMMUNITY="impression_guild_settings_enable_community",e.GUILD_SETTINGS_INTEGRATION="impression_guild_settings_integration",e.GUILD_SETTINGS_INVITES="impression_guild_settings_invites",e.GUILD_SETTINGS_LANDING="impression_guild_settings_landing",e.GUILD_SETTINGS_MEMBER_VERIFICATION="impression_guild_settings_member_verification",e.GUILD_SETTINGS_MEMBERS="impression_guild_settings_members",e.GUILD_SETTINGS_MODERATION="impression_guild_settings_moderation",e.GUILD_SETTINGS_OVERVIEW="impression_guild_settings_overview",e.GUILD_SETTINGS_PARTNER="impression_guild_settings_partner",e.GUILD_SETTINGS_ROLES="impression_guild_settings_roles",e.GUILD_SETTINGS_SECURITY="impression_guild_settings_security",e.GUILD_SETTINGS_STICKERS="impression_guild_settings_stickers",e.GUILD_SETTINGS_TEMPLATE="impression_guild_settings_template",e.GUILD_SETTINGS_VANITY_URL="impression_guild_settings_vanity_url",e.GUILD_SETTINGS_WEBHOOKS="impression_guild_settings_webhooks",e.GUILD_SETTINGS_WIDGET="impression_guild_settings_widget",e.HUB_CREATE_GUILD_CUSTOMIZE="impression_hub_create_guild_customize",e.HUB_CREATE_GUILD_TEMPLATE="impression_hub_create_guild_template",e.HUB_EMAIL_SIGNUP="impression_hub_email_signup",e.HUB_EMAIL_VERIFICATION_PAGE="impression_hub_email_verification_page",e.HUB_EXISTING_GUILD_CHOOSE="impression_hub_existing_guild_choose",e.HUB_EXISTING_GUILD_CUSTOMIZE="impression_hub_existing_guild_customize",e.HUB_WAITLIST_SIGNUP="impression_hub_waitlist_signup",e.INVITE_ACCEPT="impression_invite_accept",e.PUSH_NOTIFICATION_PREPROMPT="impression_push_notification_preprompt",e.PUSH_NOTIFICATION_REACTIVATION_PROMPT="impression_push_notification_reactivation_prompt",e.ROLE_CREATE_ADD_MEMBERS="impression_role_create_add_members",e.ROLE_CREATE_DISPLAY="impression_role_create_display",e.ROLE_CREATE_PERMISSIONS="impression_role_create_permissions",e.STAGE_DISCOVERY="impression_stage_discovery",e.USER_ADD_PHONE="impression_user_add_phone",e.USER_AGE_GATE="impression_user_age_gate",e.USER_AGE_GATE_UNDERAGE="impression_user_age_gate_underage",e.USER_LOGIN="impression_user_login",e.USER_REGISTER_ACCOUNT_INFORMATION="impression_user_register_account_information",e.USER_REGISTER_IDENTITY="impression_user_register_identity",e.USER_REGISTRATION="impression_user_registration",e.USER_VERIFY_PASSWORD="impression_user_verify_password",e.USER_VERIFY_PHONE="impression_user_verify_phone",e.USER_WELCOME="impression_user_welcome"}(r||(t.ImpressionNames=r={})),t.NetworkActionNames=i,function(e){e.AUTHORIZE_IP="network_action_authorize_ip",e.CHANNEL_CREATE="network_action_channel_create",e.DIRECTORY_GUILD_ENTRY_CREATE="network_action_directory_guild_entry_create",e.DIRECTORY_GUILD_ENTRY_DELETE="network_action_directory_guild_entry_delete",e.FORGOT_PASSWORD="network_action_forgot_password",e.GUILD_CREATE="network_action_guild_create",e.HUB_EMAIL_VERIFY="network_action_hub_email_verify",e.HUB_EMAIL_VERIFY_SEND="network_action_hub_email_verify_send",e.HUB_WAITLIST_SIGNUP="network_action_hub_waitlist_signup",e.INVITE_RESOLVE="network_action_invite_resolve",e.LOGIN_REQUEST_SMS_TOKEN="network_action_login_request_sms_token",e.USER_BULK_RELATIONSHIPS_UPDATE="network_action_user_bulk_relationships_update",e.USER_CONNECTIONS_UPDATE="network_action_user_connections_update",e.USER_CONTACTS_SYNC="network_action_user_contacts_sync",e.USER_LOGIN="network_action_user_login",e.USER_LOGIN_MFA="network_action_user_login_mfa",e.USER_LOGIN_MFA_SMS="network_action_user_login_mfa_sms",e.USER_LOGOUT="network_action_user_logout",e.USER_REGISTER="network_action_user_register",e.USER_REGISTER_PHONE="network_action_user_register_phone",e.USER_RESET_PASSWORD="network_action_user_reset_password",e.USER_SETTINGS_UPDATE="network_action_user_settings_update",e.USER_SURVEY_FETCH="network_action_user_survey_fetch",e.USER_VERIFY="network_action_user_verify",e.USER_VERIFY_PHONE="network_action_user_verify_phone",e.USER_VERIFY_RESEND="network_action_user_verify_resend"}(i||(t.NetworkActionNames=i={}))},function(e,t,n){var r;!function(n){"use strict";function i(e){return 16843009*((e=(858993459&(e-=e>>>1&1431655765))+(e>>>2&858993459))+(e>>>4)&252645135)>>>24}function o(e,t){for(var n=0,r=0;r<e.length;r++){n*=2;var i=(e[r]+n)/t|0;n=(e[r]+n)%t,e[r]=i}return n}function a(e,t){if(null==t)return e.data=[0,0,0,0,0,0,0,0,0,0],void(e._=0);if(t instanceof s)return e.data=t.data,void(e._=t._);switch(typeof t){case"number":e.data=[0|t],e._=0;break;case"string":var n=2,r=32;0===t.indexOf("0b")?t=t.substr(2):0===t.indexOf("0x")&&(t=t.substr(2),n=16,r=8),e.data=[],e._=0;for(var i=t.length-r,o=t.length;;){var a=parseInt(t.slice(i>0?i:0,o),n);if(isNaN(a))throw SyntaxError("Invalid param");if(e.data.push(0|a),i<=0)break;i-=r,o-=r}break;default:e.data=[0];var l=e.data;if(t instanceof Array){for(var c=t.length-1;c>=0;c--){var d=t[c];d===1/0?e._=-1:(u(e,d),l[d>>>5]|=1<<d)}break}if(Uint8Array&&t instanceof Uint8Array){u(e,8*t.length);for(c=0;c<t.length;c++)for(var f=t[c],_=0;_<8;_++){var p=8*c+_;l[p>>>5]|=(f>>_&1)<<p}break}throw SyntaxError("Invalid param")}}function s(e){if(!(this instanceof s))return new s(e);a(this,e),this.data=this.data.slice()}function u(e,t){for(var n=t>>>5,r=e.data,i=e._,o=r.length;n>=o;n--)r.push(i)}var l={data:[],_:0};s.prototype={data:[],_:0,set:function(e,t){return u(this,e|=0),void 0===t||t?this.data[e>>>5]|=1<<e:this.data[e>>>5]&=~(1<<e),this},get:function(e){e|=0;var t=this.data,n=e>>>5;return n>=t.length?1&this._:t[n]>>>e&1},not:function(){for(var e=this.clone(),t=e.data,n=0;n<t.length;n++)t[n]=~t[n];return e._=~e._,e},and:function(e){a(l,e);var t=this.clone(),n=t.data,r=l.data,i=r.length,o=l._;0!==t._&&u(t,32*i-1);for(var s=n.length,c=Math.min(i,s),d=0;d<c;d++)n[d]&=r[d];for(;d<s;d++)n[d]&=o;return t._&=o,t},or:function(e){a(l,e);for(var t=this.clone(),n=t.data,r=l.data,i=r.length-1,o=n.length-1,s=Math.min(o,i),u=i;u>s;u--)n[u]=r[u];for(;u>=0;u--)n[u]|=r[u];return t._|=l._,t},xor:function(e){a(l,e);var t=this.clone(),n=t.data,r=l.data,i=t._,o=l._,s=0,u=n.length-1,c=r.length-1;for(s=u;s>c;s--)n[s]^=o;for(s=c;s>u;s--)n[s]=i^r[s];for(;s>=0;s--)n[s]^=r[s];return t._^=o,t},andNot:function(e){return this.and(new s(e).flip())},flip:function(e,t){if(void 0===e){for(var n=this.data,r=0;r<n.length;r++)n[r]=~n[r];this._=~this._}else if(void 0===t)u(this,e),this.data[e>>>5]^=1<<e;else if(0<=e&&e<=t){u(this,t);for(r=e;r<=t;r++)this.data[r>>>5]^=1<<r}return this},clear:function(e,t){var n=this.data;if(void 0===e){for(var r=n.length-1;r>=0;r--)n[r]=0;this._=0}else if(void 0===t)u(this,e|=0),n[e>>>5]&=~(1<<e);else if(e<=t){u(this,t);for(r=e;r<=t;r++)n[r>>>5]&=~(1<<r)}return this},slice:function(e,t){if(void 0===e)return this.clone();if(void 0===t){t=32*this.data.length,(r=Object.create(s.prototype))._=this._,r.data=[0];for(var n=e;n<=t;n++)r.set(n-e,this.get(n));return r}if(e<=t&&0<=e){var r;(r=Object.create(s.prototype)).data=[0];for(n=e;n<=t;n++)r.set(n-e,this.get(n));return r}return null},setRange:function(e,t,n){for(var r=e;r<=t;r++)this.set(r,n);return this},clone:function(){var e=Object.create(s.prototype);return e.data=this.data.slice(),e._=this._,e},toArray:Math.clz32?function(){for(var e=[],t=this.data,n=t.length-1;n>=0;n--)for(var r=t[n];0!==r;){var i=31-Math.clz32(r);r^=1<<i,e.unshift(32*n+i)}return 0!==this._&&e.push(1/0),e}:function(){for(var e=[],t=this.data,n=0;n<t.length;n++)for(var r=t[n];0!==r;){var o=r&-r;r^=o,e.push(32*n+i(o-1))}return 0!==this._&&e.push(1/0),e},toString:function(e){var t=this.data;if(e||(e=2),0==(e&e-1)&&e<36){for(var n="",r=2+Math.log(4294967295)/Math.log(e)|0,i=t.length-1;i>=0;i--){var a=t[i];a<0&&(a+=4294967296);var s=a.toString(e);""!==n&&(n+="0".repeat(r-s.length-1)),n+=s}return 0===this._?(""===(n=n.replace(/^0+/,""))&&(n="0"),n):(n="1111"+n).replace(/^1+/,"...1111")}if(2>e||e>36)throw SyntaxError("Invalid base");n=[];var u=[];for(i=t.length;i--;)for(var l=32;l--;)u.push(t[i]>>>l&1);do{n.unshift(o(u,e).toString(e))}while(!u.every((function(e){return 0===e})));return n.join("")},isEmpty:function(){if(0!==this._)return!1;for(var e=this.data,t=e.length-1;t>=0;t--)if(0!==e[t])return!1;return!0},cardinality:function(){if(0!==this._)return 1/0;for(var e=0,t=this.data,n=0;n<t.length;n++){var r=t[n];0!==r&&(e+=i(r))}return e},msb:Math.clz32?function(){if(0!==this._)return 1/0;for(var e=this.data,t=e.length;t-- >0;){var n=Math.clz32(e[t]);if(32!==n)return 32*t+32-1-n}return 1/0}:function(){if(0!==this._)return 1/0;for(var e=this.data,t=e.length;t-- >0;){var n=e[t],r=0;if(n){for(;(n>>>=1)>0;r++);return 32*t+r}}return 1/0},ntz:function(){for(var e=this.data,t=0;t<e.length;t++){var n=e[t];if(0!==n)return 32*t+i(n=(n^n-1)>>>1)}return 1/0},lsb:function(){for(var e=this.data,t=0;t<e.length;t++){var n=e[t],r=0;if(n){for(var i=n&-n;i>>>=1;r++);return 32*t+r}}return 1&this._},equals:function(e){a(l,e);var t=this.data,n=l.data,r=this._,i=l._,o=t.length-1,s=n.length-1;if(i!==r)return!1;for(var u=o<s?o:s,c=0;c<=u;c++)if(t[c]!==n[c])return!1;for(c=o;c>s;c--)if(t[c]!==i)return!1;for(c=s;c>o;c--)if(n[c]!==r)return!1;return!0},[Symbol.iterator]:function(){var e=this.data,t=0;if(0===this._){for(var n=0,r=e.length-1;r>=0;r--)if(0!==e[r]){n=r;break}return{next:function(){var r=t>>>5;return{done:r>n||r===n&&e[r]>>>t==0,value:r>n?0:e[r]>>>t++&1}}}}return{next:function(){var n=t>>>5;return{done:!1,value:n<e.length?e[n]>>>t++&1:1}}}}},s.fromBinaryString=function(e){return new s("0b"+e)},s.fromHexString=function(e){return new s("0x"+e)},s.Random=function(e){(void 0===e||e<0)&&(e=32);for(var t=e%32,n=[],r=Math.ceil(e/32),i=Object.create(s.prototype),o=0;o<r;o++)n.push(4294967296*Math.random()|0);return t>0&&(n[r-1]&=(1<<t)-1),i.data=n,i._=0,i},void 0===(r=function(){return s}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){"use strict";var r=Object.freeze({DARK:"dark",LIGHT:"light"});e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=Object.freeze({HEADER_PRIMARY:["#ffffff","#060607"],HEADER_SECONDARY:["#b9bbbe","#4f5660"],TEXT_NORMAL:["#dcddde","#2e3338"],TEXT_MUTED:["#72767d","#747f8d"],TEXT_LINK:["#00b0f4","#0067e0"],TEXT_LINK_LOW_SATURATION:["#0fbcff","#0067e0"],TEXT_POSITIVE:["#4fdc7b","#3ba55c"],TEXT_WARNING:["#faa61a","#faa61a"],TEXT_DANGER:["#ed4245","#ed4245"],INTERACTIVE_NORMAL:["#b9bbbe","#4f5660"],INTERACTIVE_HOVER:["#dcddde","#2e3338"],INTERACTIVE_ACTIVE:["#ffffff","#060607"],INTERACTIVE_MUTED:["#4f545c","#c7ccd1"],BACKGROUND_PRIMARY:["#36393f","#ffffff"],BACKGROUND_SECONDARY:["#2f3136","#f2f3f5"],BACKGROUND_SECONDARY_ALT:["#292b2f","#ebedef"],BACKGROUND_TERTIARY:["#202225","#e3e5e8"],BACKGROUND_ACCENT:["#4f545c","#747f8d"],BACKGROUND_FLOATING:["#18191c","#ffffff"],BACKGROUND_MOBILE_PRIMARY:["#36393f","#f8f9f9"],BACKGROUND_MOBILE_SECONDARY:["#2f3136","#ffffff"],BACKGROUND_MODIFIER_HOVER:["hsla(217, 7.6%, 33.5%, 0.16)","hsla(214, 9.9%, 50.4%, 0.08)"],BACKGROUND_MODIFIER_ACTIVE:["hsla(217, 7.6%, 33.5%, 0.24)","hsla(214, 9.9%, 50.4%, 0.16)"],BACKGROUND_MODIFIER_SELECTED:["hsla(217, 7.6%, 33.5%, 0.32)","hsla(214, 9.9%, 50.4%, 0.24)"],BACKGROUND_MODIFIER_ACCENT:["hsla(0, 0%, 100%, 0.06)","hsla(240, 7.7%, 2.5%, 0.08)"],INFO_POSITIVE_BACKGROUND:["hsla(139, 47.3%, 43.9%, 0.1)","hsla(139, 47.3%, 43.9%, 0.1)"],INFO_POSITIVE_FOREGROUND:["#3ba55c","#3ba55c"],INFO_POSITIVE_TEXT:["#ffffff","#000000"],INFO_WARNING_BACKGROUND:["hsla(38, 95.7%, 54.1%, 0.1)","hsla(38, 95.7%, 54.1%, 0.1)"],INFO_WARNING_FOREGROUND:["#faa61a","#faa61a"],INFO_WARNING_TEXT:["#ffffff","#000000"],INFO_DANGER_BACKGROUND:["hsla(359, 82.6%, 59.4%, 0.1)","hsla(359, 82.6%, 59.4%, 0.1)"],INFO_DANGER_FOREGROUND:["#ed4245","#ed4245"],INFO_DANGER_TEXT:["#ffffff","#000000"],INFO_HELP_BACKGROUND:["hsla(197, 100%, 47.8%, 0.1)","hsla(212, 100%, 43.9%, 0.1)"],INFO_HELP_FOREGROUND:["#00b0f4","#0067e0"],INFO_HELP_TEXT:["#ffffff","#000000"],STATUS_POSITIVE_BACKGROUND:["#3ba55c","#3ba55c"],STATUS_POSITIVE_TEXT:["#ffffff","#ffffff"],STATUS_WARNING_BACKGROUND:["#faa61a","#faa61a"],STATUS_WARNING_TEXT:["#000000","#ffffff"],STATUS_DANGER_BACKGROUND:["#ed4245","#ed4245"],STATUS_DANGER_TEXT:["#ffffff","#ffffff"],SCROLLBAR_THIN_THUMB:["#202225","hsla(217, 7.6%, 33.5%, 0.3)"],SCROLLBAR_THIN_TRACK:["hsla(0, 0%, 0%, 0)","hsla(0, 0%, 0%, 0)"],SCROLLBAR_AUTO_THUMB:["#202225","#cccccc"],SCROLLBAR_AUTO_TRACK:["#2e3338","#f2f2f2"],SCROLLBAR_AUTO_SCROLLBAR_COLOR_THUMB:["#202225","#e3e5e8"],SCROLLBAR_AUTO_SCROLLBAR_COLOR_TRACK:["#2f3136","#f2f3f5"],ELEVATION_STROKE:["0 0 0 1px opacity(#040405, 0.15)","0 0 0 1px opacity(#060607, 0.08)"],ELEVATION_LOW:["0 1px 0 opacity(#040405, 0.2), 0 1.5px 0 opacity(#060607, 0.05), 0 2px 0 opacity(#040405, 0.05)","0 1px 0 opacity(#060607, 0.1), 0 1.5px 0 opacity(#060607, 0.025), 0 2px 0 opacity(#060607, 0.025)"],ELEVATION_MEDIUM:["0 4px 4px opacity(#000000, 0.16)","0 4px 4px opacity(#000000, 0.08)"],ELEVATION_HIGH:["0 8px 16px opacity(#000000, 0.24)","0 8px 16px opacity(#000000, 0.16)"],LOGO_PRIMARY:["#ffffff","#7289da"],FOCUS_PRIMARY:["#00b0f4","#00b0f4"],CONTROL_BRAND_FOREGROUND:["#a5b3e7","#7289da"],CONTROL_BRAND_FOREGROUND_NEW:["#949cf7","#5865f2"],BACKGROUND_MENTIONED:["hsla(38, 95.7%, 54.1%, 0.1)","hsla(38, 95.7%, 54.1%, 0.1)"],BACKGROUND_MENTIONED_HOVER:["hsla(38, 95.7%, 54.1%, 0.08)","hsla(38, 95.7%, 54.1%, 0.2)"],BACKGROUND_MESSAGE_HOVER:["hsla(240, 11.1%, 1.8%, 0.07)","hsla(240, 7.7%, 2.5%, 0.02)"],CHANNELS_DEFAULT:["#8e9297","#6a7480"],GUILD_HEADER_TEXT_SHADOW:["0 1px 1px opacity(#000000, 0.4)","0 1px 1px opacity(#ffffff, 0.4)"],CHANNELTEXTAREA_BACKGROUND:["#40444b","#ebedef"],ACTIVITY_CARD_BACKGROUND:["#202225","#ffffff"],TEXTBOX_MARKDOWN_SYNTAX:["#8e9297","#6a7480"],DEPRECATED_CARD_BG:["hsla(216, 7.2%, 13.5%, 0.6)","#f8f9f9"],DEPRECATED_CARD_EDITABLE_BG:["hsla(216, 7.2%, 13.5%, 0.3)","hsla(240, 5.9%, 96.7%, 0.6)"],DEPRECATED_STORE_BG:["#36393f","#f8f9f9"],DEPRECATED_QUICKSWITCHER_INPUT_BACKGROUND:["#72767d","#ffffff"],DEPRECATED_QUICKSWITCHER_INPUT_PLACEHOLDER:["hsla(0, 0%, 100%, 0.3)","hsla(217, 7.6%, 33.5%, 0.3)"],DEPRECATED_TEXT_INPUT_BG:["hsla(0, 0%, 0%, 0.1)","hsla(217, 7.6%, 33.5%, 0.02)"],DEPRECATED_TEXT_INPUT_BORDER:["hsla(0, 0%, 0%, 0.3)","hsla(217, 7.6%, 33.5%, 0.3)"],DEPRECATED_TEXT_INPUT_BORDER_HOVER:["#040405","#b9bbbe"],DEPRECATED_TEXT_INPUT_BORDER_DISABLED:["#202225","#dcddde"],DEPRECATED_TEXT_INPUT_PREFIX:["#dcddde","#b9bbbe"]});t.default=r},function(e,t,n){e.exports=n.p+"efc9b24f5779403afd12f5fc8594497f.svg"},function(e,t,n){e.exports=n.p+"9b3163fa3bb9d1eb2be647fed797a211.svg"},function(e,t,n){e.exports=n.p+"a9c828bc42fdacefb74f400a0b875e2e.svg"},function(e,t,n){e.exports=n.p+"ab4c0da3ffff8a5c7705274f74aaa890.svg"},function(e,t,n){e.exports=n.p+"779a770c34fcb823a598a7277301adaf.svg"},function(e,t,n){e.exports=n.p+"c4e681296681c48b7a9be5e461fa9101.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(){function e(e,t,n){void 0===n&&(n="An unexpected error occurred.");var r=function(e,t){if("string"==typeof e)return{message:e,code:t};if(null!=e.body){if(null==e.body.message||Array.isArray(e.body.message)||null!=e.body.code&&Array.isArray(e.body.code)){var n=e.body,r=null!=n?Object.values(n)[0]:null;return{message:null!=r?r[0]:void 0,fields:n,status:e.status}}return{message:e.body.message,code:e.body.code,retryAfter:e.body.retry_after,status:e.status}}return{}}(e,t),i=r.message,o=r.code,a=r.retryAfter,s=r.fields,u=r.status;this.message=i||n,this.retryAfter=a,this.code=o||-1,this.fields=s||{},this.status=u,this.error=new Error(i)}return e.prototype.getFieldMessage=function(e){return null!=this.fields[e]?this.fields[e][0]:null},e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.INVALID_FORM_BODY_ERROR_CODE=void 0;function r(e){return e.map((function(e){return{code:"UNKNOWN",message:e}}))}function i(e){for(var t={},n=0,i=Object.entries(e);n<i.length;n++){var o=i[n],a=o[0],s=o[1];if("_misc"!==a){var u={};u._errors=r(s),t[a]=u}else t._errors=r(s)}return t}t.INVALID_FORM_BODY_ERROR_CODE=50035;var o=function(){function e(e,t,n){void 0===n&&(n="An unexpected error occurred.");var r=function(e,t){if("string"==typeof e)return{message:e,code:t};if(null==e.body)return{status:e.status};var n=e.body;return null==e.body.message||Array.isArray(e.body.message)||null!=e.body.code&&Array.isArray(e.body.code)?{status:e.status,code:50035,errors:i(n)}:{message:n.message,code:n.code,retryAfter:n.retry_after,errors:n.errors,status:e.status}}(e,t),o=r.message,a=r.code,s=r.retryAfter,u=r.errors,l=r.status;this.message=null!=o?o:n,this.code=null!=a?a:-1,this.retryAfter=s,this.errors=u,this.status=l}var t=e.prototype;return t.hasFieldErrors=function(){return null!=this.errors&&Object.keys(this.errors).length>0},t.getFieldErrors=function(e){var t;"string"==typeof e&&(e=[e]);for(var n=this.errors;e.length>0&&null!=n;)n=n[e[0]],e=e.splice(1);return null===(t=n)||void 0===t?void 0:t._errors},t.getFirstFieldErrorMessage=function(e){var t=this.getFieldErrors(e);return null==t||t.length<1?null:t[0].message},t.getAnyErrorMessage=function(){for(var e=this.errors;null!=e;){if(null!=e._errors)return e._errors[0].message;e=e[Object.keys(e)[0]]}return this.message},e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={};for(var n in e){var r=e[n];if(null!=r&&("_errors"===n&&(t._misc=e[n].map((function(e){return e.message}))),!Array.isArray(r))){var i=r._errors;t[n]=null!=i?i.map((function(e){return e.message})):[Object.keys(r)[0]]}}return t}},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,o){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var u=1e3;o&&"number"==typeof o.maxKeys&&(u=o.maxKeys);var l=e.length;u>0&&l>u&&(l=u);for(var c=0;c<l;++c){var d,f,_,p,E=e[c].replace(s,"%20"),h=E.indexOf(n);h>=0?(d=E.substr(0,h),f=E.substr(h+1)):(d=E,f=""),_=decodeURIComponent(d),p=decodeURIComponent(f),r(a,_)?i(a[_])?a[_].push(p):a[_]=[a[_],p]:a[_]=p}return a};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,s){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?o(a(e),(function(a){var s=encodeURIComponent(r(a))+n;return i(e[a])?o(e[a],(function(e){return s+encodeURIComponent(r(e))})).join(t):s+encodeURIComponent(r(e[a]))})).join(t):s?encodeURIComponent(r(s))+n+encodeURIComponent(r(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var a=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BANNER_HEIGHT=t.SectionListElementType=t.WHITESPACE_RE=t.RESET_EXPRESSION_CATEGORY_SCROLL_DELAY=t.EXPRESSION_FOOTER_HEIGHT=t.NODE_MARGIN_HORIZONTAL=t.NODE_MARGIN_VERTICAL=t.NODE_SIZE=t.EMOJI_SEARCH_HEADER_HEIGHT=t.CATEGORY_ICON_SIZE=t.GIF_FETCH_LIMIT_IOS=t.TooltipNames=t.ExpressionPickerScene=t.MediaType=t.CreateGuildModalStates=t.DISCORD_CONNECT_EXAMPLE_APP_APPLICATION_ID=t.DISCORD_CONNECT_EXAMPLE_APP_DEEPLINK_URI=t.USER_SETTINGS_CONTAINER_HORIZONTAL_PADDING=t.CompressionQuality=t.SlashCommands=t.Gradients=t.HorizontalGradient=t.GIF_RE_IOS=t.VIDEO_RE_IOS=t.ModalAnimation=t.StorageKeys=t.StoreKitErrors=t.ProductIds=t.UpsellTypes=t.DM_WIDTH=t.EMOJI_CHAT_SIZE=t.UPLOAD_SMALL_SIZE=t.UPLOAD_MEDIUM_SIZE=t.UPLOAD_BANNER_SIZE=t.INVITE_EMBED_AVATAR_SIZE=t.MAX_INVITE_AVATARS_TO_SHOW=t.STORAGE_SECURE_KEYS=t.CACHE_STORE_KEY=t.CACHE_STORE_LAZY_KEY=t.ActivityPartyApplicationNames=t.LINKING_WHITELIST=t.LinkingTypes=t.Base64GIFPrefix=t.Base64PNGPrefix=t.Base64JPEGPrefix=t.MANAGE_SUBSCRIPTION_LINK=t.APP_STORE_REVIEW_LINK=t.NotificationSettingsSections=t.RTC_PANEL_HEIGHT=t.AUTOCOMPLETE_ROW_HEIGHT=t.SEGMENT_CONTROL_HEIGHT=t.SEARCH_BAR_HEIGHT=t.STATUS_BAR_HEIGHT=t.NAV_BAR_HEIGHT_MULTILINE=t.NAV_BAR_HEIGHT=t.AuditLogFilterTypes=t.PremiumGuildSubscribeModalScenes=t.InviteModalScenes=t.ContactSyncModalScenes=t.CallModalScenes=t.VerificationModalScenes=t.MentionModalScenes=t.CaptchaEvent=t.WebBrowserType=t.GuildSettingsPermissionSections=t.SearchBarStates=t.LoadingType=t.SeparatorAction=t.SeparatorType=t.RowType=t.Changeset=t.SourceTypes=t.KeyboardTypes=t.KeyboardThemes=t.AuthStates=t.AppStates=t.DrawerTabTypes=t.DrawerTypes=void 0;var r=o(n(133)),i=o(n(434));function o(e){return e&&e.__esModule?e:{default:e}}var a,s,u=(0,r.default)({CHANNELS:null,MEMBERS:null});t.DrawerTypes=u,t.DrawerTabTypes=a,function(e){e.CHAT="CHAT",e.FRIENDS="FRIENDS",e.QUICKSWITCHER="QUICKSWITCHER",e.RECENT_MENTIONS="RECENT_MENTIONS",e.MENTIONS_AND_QUICKSWITCHER="MENTIONS_AND_QUICKSWITCHER",e.USER_SETTINGS="USER_SETTINGS",e.STAGE_DISCOVERY="STAGE_DISCOVERY"}(a||(t.DrawerTabTypes=a={})),t.AppStates=s,function(e){e.INACTIVE="inactive",e.BACKGROUND="background",e.ACTIVE="active"}(s||(t.AppStates=s={}));var l,c,d,f=(0,r.default)({WELCOME:null,LOGIN:null,REGISTER:null,REGISTER_IDENTITY:null,REGISTER_ACCOUNT_INFORMATION:null,VERIFY_PHONE:null,MFA:null,ACCOUNT_DISABLED_OR_DELETION_SCHEDULED:null,AGE_GATE_UNDERAGE:null,AGE_GATE:null,COUNTRY_SELECT:null,EXTERNAL_LINK:null});t.AuthStates=f,t.KeyboardThemes=l,function(e){e.DEFAULT="default",e.DARK="dark",e.LIGHT="light"}(l||(t.KeyboardThemes=l={})),t.KeyboardTypes=c,function(e){e.SYSTEM="system",e.EXPRESSION="expression",e.MEDIA="media"}(c||(t.KeyboardTypes=c={})),t.SourceTypes=d,function(e){e.CAMERA="camera",e.PHOTO="photo"}(d||(t.SourceTypes=d={}));var _,p,E,h,m,v,T,g,I;t.Changeset={NOOP:0,INSERT:1,UPDATE:2,REMOVE:3},t.RowType=_,function(e){e[e.SEPARATOR=0]="SEPARATOR",e[e.MESSAGE=1]="MESSAGE",e[e.BLOCKED_GROUP=2]="BLOCKED_GROUP",e[e.UPLOAD_PROGRESS=3]="UPLOAD_PROGRESS",e[e.LOADING=4]="LOADING"}(_||(t.RowType=_={})),t.SeparatorType=p,function(e){e.DAY="day",e.UNREAD="unread"}(p||(t.SeparatorType=p={})),t.SeparatorAction=E,function(e){e.TOGGLE_BLOCKED_MESSAGES="toggle",e.LOAD_MORE_BEFORE="load_more_before",e.LOAD_MORE_AFTER="load_more_after"}(E||(t.SeparatorAction=E={})),t.LoadingType=h,function(e){e.LOAD_BEFORE="load_before",e.LOAD_AFTER="load_after"}(h||(t.LoadingType=h={})),t.SearchBarStates=m,function(e){e[e.BLURRED_NO_QUERY=0]="BLURRED_NO_QUERY",e[e.BLURRED_WITH_QUERY=1]="BLURRED_WITH_QUERY",e[e.FOCUSED_NO_QUERY=2]="FOCUSED_NO_QUERY",e[e.FOCUSED_WITH_QUERY=3]="FOCUSED_WITH_QUERY"}(m||(t.SearchBarStates=m={})),t.GuildSettingsPermissionSections=v,function(e){e[e.GENERAL=0]="GENERAL",e[e.TEXT=1]="TEXT",e[e.VOICE=2]="VOICE"}(v||(t.GuildSettingsPermissionSections=v={})),t.WebBrowserType=T,function(e){e[e.SAFARI=0]="SAFARI",e[e.IN_APP=1]="IN_APP",e[e.CHROME=2]="CHROME"}(T||(t.WebBrowserType=T={})),t.CaptchaEvent=g,function(e){e.SOLVED="solved",e.EXPIRED="expired"}(g||(t.CaptchaEvent=g={})),t.MentionModalScenes=I,function(e){e.MENTIONS="mentions",e.CHAT="mentions_chat"}(I||(t.MentionModalScenes=I={}));var S=(0,r.default)({OVERVIEW:null,RESEND_EMAIL:null,ENTER_EMAIL:null,ADD_PHONE:null,VERIFY_PHONE:null,VERIFY_PASSWORD:null});t.VerificationModalScenes=S;var y=(0,r.default)({VOICE:null,VIDEO:null,STREAM:null});t.CallModalScenes=y;var A=(0,r.default)({LANDING:null,SYNCING:null,RESULTS:null,NO_RESULTS:null,ADD_PHONE:null,VERIFY_PHONE:null});t.ContactSyncModalScenes=A;var O,N=(0,r.default)({ADVANCED:null});t.InviteModalScenes=N,t.PremiumGuildSubscribeModalScenes=O,function(e){e.GUILD_SELECT="guild_select",e.OVERVIEW="overview",e.CONFIRMATION="confirmation",e.SUCCESS="success"}(O||(t.PremiumGuildSubscribeModalScenes=O={}));var R=(0,r.default)({USER:null,ACTION:null});t.AuditLogFilterTypes=R;t.NAV_BAR_HEIGHT=44;t.NAV_BAR_HEIGHT_MULTILINE=48;t.STATUS_BAR_HEIGHT=20;t.SEARCH_BAR_HEIGHT=50;t.SEGMENT_CONTROL_HEIGHT=40;t.AUTOCOMPLETE_ROW_HEIGHT=48;t.RTC_PANEL_HEIGHT=28;var b=(0,r.default)({OVERVIEW:null,ADD_OVERRIDE:null,CHANNEL_OVERRIDE:null});t.NotificationSettingsSections=b;t.APP_STORE_REVIEW_LINK="itms-apps://itunes.apple.com/us/app/id985746746?mt=8&action=write-review";t.MANAGE_SUBSCRIPTION_LINK="itms-apps://apps.apple.com/account/subscriptions";t.Base64JPEGPrefix="data:image/jpeg;base64,";t.Base64PNGPrefix="data:image/png;base64,";var L;t.Base64GIFPrefix="data:image/gif;base64,",t.LinkingTypes=L,function(e){e.INVITE="invite",e.GUILD_TEMPLATE="guild-template",e.CHANNEL="channel",e.GIFT_CODE="gift-code",e.MESSAGE="message",e.OAUTH2_AUTHORIZE="oauth2-authorize",e.PROMOTIONS="promotions",e.NONE="none",e.REMOTE_AUTH="remote-auth",e.USER_PROFILE="user-profile",e.BUILD_OVERRIDE="build-override"}(L||(t.LinkingTypes=L={}));t.LINKING_WHITELIST=[{regex:/(?:^https?:\/\/)(?:www\.)?(youtube\.com|youtu\.be)(?:$|\/)/i,protocol:"youtube://"},{regex:/(?:^https?:\/\/)(?:www\.)?(instagram\.com|instagr\.am)(?:$|\/)/i,protocol:"instagram://"},{regex:/(?:^https?:\/\/)(?:www\.)?(twitch\.tv)(?:$|\/)/i,protocol:"twitch://"},{regex:/(?:^https?:\/\/)(?:www\.)?(twitter\.com)(?:$|\/)/i,protocol:"twitter://"},{regex:/(?:^discordconnect:\/\/)/i,protocol:"discordconnect://"},{regex:/(?:^https?:\/\/)(?:open\.)?(spotify\.com)(?:$|\/)/i,protocol:"https://open.spotify.com"}];t.ActivityPartyApplicationNames={spotify:"Spotify"};t.CACHE_STORE_LAZY_KEY="CacheStoreLazy";t.CACHE_STORE_KEY="CacheStore";var D=new Set(["token","fingerprint"]);t.STORAGE_SECURE_KEYS=D;t.MAX_INVITE_AVATARS_TO_SHOW=6;t.INVITE_EMBED_AVATAR_SIZE=50;t.UPLOAD_BANNER_SIZE=1080;t.UPLOAD_MEDIUM_SIZE=256;t.UPLOAD_SMALL_SIZE=128;t.EMOJI_CHAT_SIZE=18;var C,M,P,w,U;t.DM_WIDTH=72,t.UpsellTypes=C,function(e){e.UPLOAD="upload",e.GLOBAL_EMOJI="global-emoji",e.EMOJI_AUTOCOMPLETE="emoji-autocomplete",e.TAG="tag",e.BADGE="badge",e.ANIMATED_EMOJI="animated-emoji",e.ANIMATED_AVATAR="animated-avatar",e.CUSTOM_PROFILES="custom-profiles",e.GLOBAL_STICKER="global-sticker"}(C||(t.UpsellTypes=C={})),t.ProductIds=M,function(e){e.PREMIUM_MONTH_TIER_1="premium_month_tier_1.1",e.PREMIUM_YEAR_TIER_1="premium_year_tier_1.1",e.PREMIUM_MONTH_TIER_2="premium_month_tier_2.1",e.PREMIUM_YEAR_TIER_2="premium_year_tier_2.1",e.PREMIUM_GIFT_MONTH_TIER_1="premium_month_tier_1.2",e.PREMIUM_GIFT_YEAR_TIER_1="premium_year_tier_1.2",e.PREMIUM_GIFT_MONTH_TIER_2="premium_month_tier_2.2",e.PREMIUM_GIFT_YEAR_TIER_2="premium_year_tier_2.2",e.PREMIUM_TIER_2_MONTHLY="premium_tier_2_monthly",e.PREMIUM_TIER_2_YEARLY="premium_tier_2_yearly",e.PREMIUM_TIER_1_MONTHLY="premium_tier_1_monthly",e.PREMIUM_TIER_1_YEARLY="premium_tier_1_yearly",e.PREMIUM_TIER_2_PREMIUM_GUILD_1_MONTHLY="premium_tier_2_premium_guild_1_monthly",e.PREMIUM_TIER_2_PREMIUM_GUILD_1_YEARLY="premium_tier_2_premium_guild_1_yearly",e.PREMIUM_TIER_2_PREMIUM_GUILD_2_MONTHLY="premium_tier_2_premium_guild_2_monthly",e.PREMIUM_TIER_2_PREMIUM_GUILD_2_YEARLY="premium_tier_2_premium_guild_2_yearly",e.PREMIUM_TIER_2_PREMIUM_GUILD_3_MONTHLY="premium_tier_2_premium_guild_3_monthly",e.PREMIUM_TIER_2_PREMIUM_GUILD_3_YEARLY="premium_tier_2_premium_guild_3_yearly",e.PREMIUM_TIER_2_PREMIUM_GUILD_5_MONTHLY="premium_tier_2_premium_guild_5_monthly",e.PREMIUM_TIER_2_PREMIUM_GUILD_5_YEARLY="premium_tier_2_premium_guild_5_yearly",e.PREMIUM_TIER_2_PREMIUM_GUILD_10_MONTHLY="premium_tier_2_premium_guild_10_monthly",e.PREMIUM_TIER_2_PREMIUM_GUILD_10_YEARLY="premium_tier_2_premium_guild_10_yearly",e.PREMIUM_TIER_2_PREMIUM_GUILD_13_MONTHLY="premium_tier_2_premium_guild_13_monthly",e.PREMIUM_TIER_2_PREMIUM_GUILD_13_YEARLY="premium_tier_2_premium_guild_13_yearly",e.PREMIUM_TIER_2_PREMIUM_GUILD_28_MONTHLY="premium_tier_2_premium_guild_28_monthly",e.PREMIUM_TIER_2_PREMIUM_GUILD_28_YEARLY="premium_tier_2_premium_guild_28_yearly",e.PREMIUM_TIER_1_PREMIUM_GUILD_1_MONTHLY="premium_tier_1_premium_guild_1_monthly",e.PREMIUM_TIER_1_PREMIUM_GUILD_1_YEARLY="premium_tier_1_premium_guild_1_yearly",e.PREMIUM_GUILD_1_MONTHLY="premium_guild_1_monthly",e.PREMIUM_GUILD_2_MONTHLY="premium_guild_2_monthly",e.STICKER_PACK_199="sticker_pack_199",e.STICKER_PACK_299="sticker_pack_299"}(M||(t.ProductIds=M={})),t.StoreKitErrors=P,function(e){e.UNKNOWN="ESKERRORDOMAIN0",e.CLIENT_INVALID="ESKERRORDOMAIN1",e.PAYMENT_CANCELED="ESKERRORDOMAIN2",e.PAYMENT_INVALID="ESKERRORDOMAIN3",e.PAYMENT_NOT_ALLOWED="ESKERRORDOMAIN4",e.STORE_PRODUCT_NOT_AVAILABLE="ESKERRORDOMAIN5",e.CLOUD_SERVICE_PERMISSION_DENIED="ESKERRORDOMAIN6",e.CLOUD_SERVICE_NETWORK_CONNECTION_FAILED="ESKERRORDOMAIN7",e.CLOUD_SERVICE_REVOKED="ESKERRORDOMAIN8",e.PRIVACY_ACKNOWLEDGEMENT_REQUIRED="ESKERRORDOMAIN9",e.UNAUTHORIZED_REQUEST_DATA="ESKERRORDOMAIN10",e.INVALID_OFFER_IDENTIFIER="ESKERRORDOMAIN11",e.INVALID_SIGNATURE="ESKERRORDOMAIN12",e.MISSING_OFFER_PARAMS="ESKERRORDOMAIN13",e.INVALID_OFFER_PRICE="ESKERRORDOMAIN14",e.OVERLAY_CANCELLED="ESKERRORDOMAIN15",e.OVERLAY_INVALID_CONFIGURATION="ESKERRORDOMAIN16",e.OVERLAY_TIMEOUT="ESKERRORDOMAIN17",e.INELIGIBLE_FOR_OFFER="ESKERRORDOMAIN18",e.UNSUPPORTED_PLATFORM="ESKERRORDOMAIN19"}(P||(t.StoreKitErrors=P={})),t.StorageKeys=w,function(e){e.LOGOUT_TIMESTAMP_KEY="logout_timestamp_key",e.ACKNOWLEDGED_TOOLTIPS_KEY="acknowledged_tooltips_key",e.KRISP_ONBOARD="krisp_onboard",e.SCREENSHARE_ONBOARD="screenshare_onboard"}(w||(t.StorageKeys=w={})),t.ModalAnimation=U,function(e){e.NONE="none",e.SLIDE_UP="slide-up",e.SLIDE_IN="slide-in",e.SLIDE_IN_OUT="slide-in-out",e.FADE="fade"}(U||(t.ModalAnimation=U={}));t.VIDEO_RE_IOS=/\.(mp4|mov)$/i;t.GIF_RE_IOS=/\.(gif)$/i;var k=Object.freeze({START:{x:0,y:0},END:{x:1,y:0}});t.HorizontalGradient=k;var G={PREMIUM_TIER_1:[i.default.PREMIUM_TIER_1_BLUE,i.default.PREMIUM_TIER_1_PURPLE],PREMIUM_TIER_2:[i.default.PREMIUM_TIER_2_PURPLE,i.default.PREMIUM_TIER_2_PINK],PREMIUM_GUILD:[i.default.PREMIUM_GUILD_BLUE,i.default.PREMIUM_GUILD_PURPLE]};t.Gradients=G;var Y;t.SlashCommands=[{name:"tableflip",commandPreview:"(╯°□°)╯︵ ┻━┻"},{name:"unflip",commandPreview:"┬─┬ ノ( ゜-゜ノ)"},{name:"shrug",commandPreview:"¯\\_(ツ)_/¯"}],t.CompressionQuality=Y,function(e){e[e.HIGH=.6]="HIGH",e[e.LOW=.3]="LOW"}(Y||(t.CompressionQuality=Y={}));t.USER_SETTINGS_CONTAINER_HORIZONTAL_PADDING=16;t.DISCORD_CONNECT_EXAMPLE_APP_DEEPLINK_URI="discordconnect://connect";var x,V,H,F;t.DISCORD_CONNECT_EXAMPLE_APP_APPLICATION_ID="628735568569696256",t.CreateGuildModalStates=x,function(e){e.CREATE_SERVER="create_server",e.JOIN_SERVER="join_server",e.ACCEPT_INVITE="accept_invite",e.GUILD_TEMPLATES="guild_templates",e.CHANNEL_PROMPT="channel_prompt",e.CREATION_INTENT="creation_intent",e.GUILD_INVITE="guild_invite"}(x||(t.CreateGuildModalStates=x={})),t.MediaType=V,function(e){e[e.IMAGE=0]="IMAGE",e[e.GIF=1]="GIF",e[e.VIDEO=2]="VIDEO"}(V||(t.MediaType=V={})),t.ExpressionPickerScene=H,function(e){e.OVERVIEW="overview",e.GIF_RESULTS="gif_results"}(H||(t.ExpressionPickerScene=H={})),t.TooltipNames=F,function(e){e.GUILD_TOOLTIP="guild_tooltip",e.GIF_PICKER_TOOLTIP="gif_picker_tooltip",e.GIF_PICKER_TOOLTIP_SPARKLE="gif_picker_tooltip_sparkle",e.STICKER_PICKER_TOOLTIP="sticker_picker_tooltip",e.STICKER_PICKER_TOOLTIP_SPARKLE="sticker_picker_tooltip_sparkle",e.STICKER_PICKER_SHOP_VIEW_ALL="sticker_picker_shop_view_all",e.SCREENSHARE_ONBOARD_SPARKLES="screenshare_onboard_sparkles",e.SCREENSHARE_SWIPE_UP_CONTROLS="screenshare_swipe_up_controls",e.STAGE_DISCOVERY_TOOLTIP="stage_discovery_tooltip"}(F||(t.TooltipNames=F={}));t.GIF_FETCH_LIMIT_IOS=50;t.CATEGORY_ICON_SIZE=24;t.EMOJI_SEARCH_HEADER_HEIGHT=56;t.NODE_SIZE=32;t.NODE_MARGIN_VERTICAL=4;t.NODE_MARGIN_HORIZONTAL=4;t.EXPRESSION_FOOTER_HEIGHT=40;t.RESET_EXPRESSION_CATEGORY_SCROLL_DELAY=100;var B;t.WHITESPACE_RE=/(\t|\s)/,t.SectionListElementType=B,function(e){e[e.ROW=0]="ROW",e[e.HEADER=1]="HEADER",e[e.FOOTER=2]="FOOTER"}(B||(t.SectionListElementType=B={}));t.BANNER_HEIGHT=150},function(e,t,n){(function(n){var r,i,o;i=[],void 0===(o="function"==typeof(r=function(){"use strict";var e,t,r,i,o,a,s,u,l="undefined"!=typeof window?window:null!=typeof n?n:this||{},c=l.cancelRequestAnimationFrame&&l.requestAnimationFrame||setTimeout,d=l.cancelRequestAnimationFrame||clearTimeout,f=[],_=0,p=!1,E=7,h=35,m=125,v=0,T=0,g=0,I={get didTimeout(){return!1},timeRemaining:function(){var e=E-(Date.now()-T);return e<0?0:e}},S=(o=function(){E=22,m=66,h=0},u=function(){var e=Date.now()-s;e<99?a=setTimeout(u,99-e):(a=null,o())},function(){s=Date.now(),a||(a=setTimeout(u,99))});function y(){125!=m&&(E=7,m=125,h=35,p&&(p&&(i&&d(i),r&&clearTimeout(r),p=!1),N())),S()}function A(){i=null,r=setTimeout(R,0)}function O(){r=null,c(A)}function N(){p||(t=m-(Date.now()-T),e=Date.now(),p=!0,h&&t<h&&(t=h),t>9?r=setTimeout(O,t):(t=0,O()))}function R(){var n,i,o,a=E>9?9:1;if(T=Date.now(),p=!1,r=null,_>2||T-t-50<e)for(i=0,o=f.length;i<o&&I.timeRemaining()>a;i++)n=f.shift(),g++,n&&n(I);f.length?N():_=0}function b(e){return v++,f.push(e),N(),v}function L(e){var t=e-1-g;f[t]&&(f[t]=null)}if(l.requestIdleCallback&&l.cancelIdleCallback)try{l.requestIdleCallback((function(){}),{timeout:0})}catch(e){!function(e){var t,n;if(l.requestIdleCallback=function(t,n){return n&&"number"==typeof n.timeout?e(t,n.timeout):e(t)},l.IdleCallbackDeadline&&(t=IdleCallbackDeadline.prototype)){if(!(n=Object.getOwnPropertyDescriptor(t,"timeRemaining"))||!n.configurable||!n.get)return;Object.defineProperty(t,"timeRemaining",{value:function(){return n.get.call(this)},enumerable:!0,configurable:!0})}}(l.requestIdleCallback)}else l.requestIdleCallback=b,l.cancelIdleCallback=L,l.document&&document.addEventListener&&(l.addEventListener("scroll",y,!0),l.addEventListener("resize",y),document.addEventListener("focus",y,!0),document.addEventListener("mouseover",y,!0),["click","keypress","touchstart","mousedown"].forEach((function(e){document.addEventListener(e,y,{capture:!0,passive:!0})})),l.MutationObserver&&new MutationObserver(y).observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}));return{request:b,cancel:L}})?r.apply(t,i):r)||(e.exports=o)}).call(this,n(44))},function(e,t,n){"use strict";var r=f(n(419)),i=f(n(14)),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(349)),a=f(n(11)),s=f(n(267)),u=f(n(39)),l=f(n(12)),c=f(n(13));function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){return e&&e.__esModule?e:{default:e}}var _=new(f(n(1567)).default);function p(e){var t;switch(window.GLOBAL_ENV.PROJECT_ENV){case"production":t="discord-prd";break;case"staging":t="discord-stg";break;case"development":default:return null}var n=new URLSearchParams;return n.append("query",'"guid.x-client-trace-id" IN ("'+e+'")'),new URL("explorer?"+n.toString(),"https://app.lightstep.com/"+t+"/").toString()}var E=r.default.Request.prototype.end;r.default.Request.prototype.end=function(){var e=this;if("/"===this.url[0]){this.url=i.default.getAPIBaseURL()+this.url,"Authorization"in this.header||"authorization"in this.header||this.set("Authorization",a.default.getToken());var t=c.default.getSuperPropertiesBase64();null!=t&&this.set("X-Super-Properties",t);var n=a.default.getFingerprint();n&&this.set("X-Fingerprint",n),this.set("Accept-Language",u.default.locale);var r=s.default.getDebugOptions();if(r&&this.set("X-Debug-Options",r),s.default.isTracingRequests){var d=l.default.getCurrentUser(),f=_.generate(d&&d.id||"0");this.set("x-client-trace-id",f);try{var h=new URL(this.url).pathname;if("/api/v6/science"!==h){var m=p(f);null!==m&&console.debug("%c[tracing]%c %s %s\n%s","font-weight: bold","",this.method,h,m)}}catch(e){console.error("error while printing Lightstep log",e)}}}return o.report("Network","Sending "+this.method+" to "+this.url),this.on("response",(function(t){var n=null!=t&&t.status>=400?t.text:null,r=null==n?"":"and body: "+n;o.report("Network","Completed "+e.method+" to "+e.url+" with status: "+(null==t?void 0:t.status)+" "+r)})),this.on("error",(function(t,n){o.report("Network","Failed "+e.method+" to "+e.url+" with status "+(null==t?void 0:t.status)+" and body: "+(null==n?void 0:n.text))})),E.apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.saveLastRoute=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);t.saveLastRoute=function(e){i.default.dirtyDispatch({type:o.ActionTypes.SAVE_LAST_ROUTE,path:e})}},function(e,t,n){var r=n(309),i=n(1328),o=n(711),a=n(756),s=r?r.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t,n){var r=n(309),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){"use strict";e.exports=Object.freeze({DISCORD_NAME:"Discord",en:"English",DISAPPROVAL:"ಠ_ಠ",GO_LIVE_MODAL_DESCRIPTION_GENERIC:"Set up your stream and have your friends grab a seat!",GO_LIVE_MODAL_SELECT_GUILD_FORM_TITLE:"Select a server for your stream",GO_LIVE_MODAL_GUILD_FORM_TITLE:"Where you're streaming",OVERLAY_NEWS_GO_LIVE_BODY_NO_VOICE_CHANNEL:"Stream {game} to your friends!",SYSTEM_MESSAGE_GUILD_STREAM_ACTIVE:"[!!{username}!!](usernameOnClick) is live! Now streaming !!{activityName}!!. [Join Stream](onJoinStream)",SYSTEM_MESSAGE_GUILD_STREAM_ACTIVE_NO_ACTIVITY:"[!!{username}!!](usernameOnClick) is live in !!{channelName}!!. [Join Stream](onJoinStream)",SYSTEM_MESSAGE_GUILD_STREAM_ACTIVE_MOBILE:"[!!{username}!!](usernameOnClick) is live. [Join Stream](onJoinStream)",SYSTEM_MESSAGE_GUILD_STREAM_ENDED:"[!!{username}!!](usernameOnClick) was live for {duration} in !!{channelName}!!",SYSTEM_MESSAGE_GUILD_STREAM_ENDED_MOBILE:"[!!{username}!!](usernameOnClick) was live for {duration}.",SYSTEM_MESSAGE_GUILD_STREAM_ACTIVE_ANDROID:"[!!{username}!!](usernameOnClick) is live. [Join Stream](https://discord.com)",INVITE_YOUR_FRIENDS:"Invite your friends!",SERVER_QUEST:"Server Quest",PROGRESS_STEPS:"Step {step} of 4",PROGRESS_STEPS_FINISHED:"Completed!",SET_UP_YOUR_SERVER:"Set up your server!",SET_UP_DESCRIPTION:"Start creating a sense of belonging in your server by completing these set of server quests OMG this COPY IS BAD",PROGRESS_COMPLETED:"You are all set!",PROGRESS_COMPLETED_DESCRIPTION:"Wow your server is looking all snazzy! Here are a few more things you can do with your server. Have fun!",CREATE_CHANNEL_ERROR:"Something went wrong trying to create a channel. Please try again later.",AVATAR_STEP_TITLE:"Set an icon for your server",AVATAR_STEP_SUBTITLE:"Upload a snazzy picture that represents your server!",CHANNEL_STEP_TITLE:"What topics do you want to talk about here?",CHANNEL_STEP_SUBTITLE:"Enter some topics to chat about so we can create a chatroom for them!",MESSAGE_STEP_TITLE:"Send your first message",MESSAGE_STEP_SUBTITLE:"Say hi, post a GIF, go wild. The world (or at least this channel) is your oyster.",INVITE_STEP_TITLE:"Invite friends to your server!",INVITE_STEP_SUBTITLE:"Share this link with your friends and they’ll automatically join your server!",UPLOAD_EMOJI_TITLE:"Upload an emoji",UPLOAD_EMOJI_SUBTITLE:"Spice up your chat with a custom emoji.",VOICE_CHANNEL_TITLE:"Get on a voice channel",VOICE_CHANNEL_SUBTITLE:"Hang out with your friends",ADD_ROLE_TITLE:"Set a role",ADD_ROLE_SUBTITLE:"Give special permissions to your members.",ADD_TOPIC:"Add Topic",ENTER_NEW_TOPIC:"Enter a new topic",MESSAGE_REPLIED_TO:"replied",COVID_NEW_USER_SURVEY_PROMPT:"We want to hear from you about your experience on Discord. We appreciate your input!",COVID_NEW_USER_SURVEY_BUTTON:"Take Survey",BROWSER_UPDATE_NOTICE:"The comfort of accessing Discord from anywhere - more browser app updates for you!",FIRST_WEEK_SURVEY_PROMPT:"Let us know how we're doing! We appreciate your input.",FIRST_WEEK_SURVEY_BUTTON:"Take Survey",PRIVATE_CHANNEL_MODAL_ADMIN_ROLE_FORCE_ENABLED:"This role can see everything",ROLE_REQUIRED_EDIT_ROLES_MODAL_TITLE:"Private Channel Members",ROLE_REQUIRED_EDIT_ROLES_MODAL_SUBTITLE:"in #{channelName}",CHANNEL_PERMISSIONS_READ_ONLY_TITLE:"Read Only",CHANNEL_PERMISSIONS_READ_ONLY_DESCRIPTION:"By making a channel read only, members will not be able to send messages.",WATCH_MEDIA_SURVEY_PROMPT:"Please help us improve Discord by taking this short survey! We appreciate your help.",WATCH_MEDIA_SURVEY_BUTTON:"Take Survey",B_PLUS_A_SURVEY_PROMPT:"Mind taking a 3 min survey with our partner? Many thanks for helping us improve Discord.",B_PLUS_A_SURVEY_BUTTON:"Sure!",GUILD_TEMPLATE_HEADER_SCHOOL_CLUB:"School Club",GUILD_TEMPLATE_NAME_VOICE_MEETING_ROOM_1:"Meeting Room 1",GUILD_TEMPLATE_NAME_VOICE_MEETING_ROOM_2:"Meeting Room 2",TAKE_SURVEY:"Take Survey",NOTICE_SURVEY_IMPROVE_PROMPT:"Help us improve Discord",NOTICE_GUILD_FEEDBACK_SURVEY:"We'd love to hear about your experience creating a new server:",NOTICE_MESSAGING_EXPERIENCE_SURVEY:"Do you have 2 min to tell us which messaging features you want Discord to build next?",NOTICE_MESSAGING_EXPERIENCE_BUTTON:"Sure!",WELCOME_CTA_ONBOARDING_VIDEO_TITLE_NEW_USER:"Learn how to use Discord",WELCOME_CTA_ONBOARDING_VIDEO_TITLE:"Learn about server setup",ONBOARDING_VIDEO_BOT_MESSAGE_NEW_USER:"👋 Hello! Welcome to Discord. \nGet started by learning how to use Discord here:\n",ONBOARDING_VIDEO_BOT_MESSAGE:"👋 Hello! Welcome to your new server. \nLearn all about server setup here:\n",ROLE_CREATION_SKIP:"Skip this step",ROLE_CREATION_STEP_TITLE:"Step {number} of {total}",ROLE_CREATION_FINISH:"Finish",ROLE_CREATION_CREATE_STEP_TITLE:"Create a new role",ROLE_CREATION_CREATE_STEP_SUBTITLE:"Give this role a unique name and color. You can always change this later.",ROLE_CREATION_CREATE_STEP_NAME_HINT:"e.g. coach, moderator, subscriber, pet club",ROLE_CREATION_CREATE_STEP_COLOR_HINT:"Members use the color of the highest role they have in the roles list.",ROLE_CREATION_PERMISSION_STEP_TITLE:"Set up permissions",ROLE_CREATION_PERMISSION_STEP_SUBTITLE:"How powerful should this role be? You can always change permissions later.",ROLE_CREATION_MEMBER_STEP_TITLE:"Add members",ROLE_CREATION_MEMBER_STEP_SUBTITLE:"Assign this role to your members. Members can have more than one role.",ROLE_CREATION_FAILED:"Failed to create role",ROLE_CREATE_DISPLAY_TITLE:"Create a new role",ROLE_UPDATE_CTA:"Update Role",ROLE_CREATE_DISPLAY_SUBTITLE:"Give this role a unique name and color. You can always change this later.",ROLE_CREATE_NAME_EXAMPLES:"e.g. manager, moderator, big gamer, knitting group",ROLE_CREATE_PERMISSIONS_TITLE:"Set up permissions",ROLE_CREATE_PERMISSIONS_SUBTITLE:"How powerful should this role be? You can always change the permissions later.",ROLE_CREATE_TOOLTIP_TIP:"Quick create with shift + click",ROLE_CREATE_TIP_TOOLTIP_TEXT:"Quickly create multiple roles with shift + click",ROLE_CREATE_ADD_MEMBERS_SUBTITLE:"Assign this role to your members. Members can have more than one role.",EMBEDDED_ACTIVITIES_LEAVE_ACTIVITY:"Leave Activity",EMBEDDED_ACTIVITIES_JOIN_ACTIVITY:"Join Activity",EMBEDDED_ACTIVITIES_IN_ACTIVITY:"In Activity",EMBEDDED_ACTIVITIES_START_AN_ACTIVITY:"Start an Activity",EMBEDDED_ACTIVITIES_IN_ACTIVITY_TOOLTIP:"In Activity",EMBEDDED_ACTIVITIES_PLAYING_APPLICATION:"Playing !!{applicationName}!!",EMBEDDED_ACTIVITIES_WATCHING_APPLICATION:"Watching !!{applicationName}!!",EMBEDDED_ACTIVITIES_IN_APPLICATION:"In !!{applicationName}!!",EMBEDDED_ACTIVITIES_START_APPLICATION:"Start !!{applicationName}!!",EMBEDDED_ACTIVITIES_INVITE_TO_ACTIVITY:"Invite To Activity",EMBEDDED_ACTIVITIES_SHARE_LINK_TO_ACTIVITY:"Share this link with others to grant access to this server and join the activity",EMBEDDED_ACTIVITIES_INVITE_ACTIVITY_FOOTER_LINK_HEADER:"Send an activity invite link to a friend",EMBEDDED_ACTIVITIES_MARKETING_TOOLTIP_HEADER:"Play Poker with your friends",EMBEDDED_ACTIVITIES_MARKETING_TOOLTIP_BODY:"Start a game of Poker Night directly inside the voice channel!",EMBEDDED_ACTIVITIES_MARKETING_TOOLTIP_CTA:"Got it",EMBEDDED_ACTIVITIES_BETRAYAL_MARKETING_TOOLTIP_HEADER:"Play Betrayal with your server!",EMBEDDED_ACTIVITIES_BETRAYAL_MARKETING_TOOLTIP_BODY:"A new multiplayer mystery game, playable right in this voice channel!",EMBEDDED_ACTIVITIES_YOUTUBE_MARKETING_TOOLTIP_HEADER:"Watch YouTube with your friends!",EMBEDDED_ACTIVITIES_YOUTUBE_MARKETING_TOOLTIP_BODY:"Enjoy YouTube videos together directly inside the voice channel!",EMBEDDED_ACTIVITIES_FISHINGTON_MARKETING_TOOLTIP_HEADER:"Play Fishington with your friends!",EMBEDDED_ACTIVITIES_FISHINGTON_MARKETING_TOOLTIP_BODY:"Catch some fish with your friends in our new game Fishington.io!",EMBEDDED_ACTIVITIES_DISCORD_GAME_MARKETING_TOOLTIP_HEADER:"Play !!{applicationName}!! with your friends!",EMBEDDED_ACTIVITIES_INVITE_IN:"in",EMBEDDED_ACTIVITIES_INVITE_ACTIVITY_ENDED:"Activity has ended",EMBEDDED_ACTIVITIES_ALREADY_IN_ACTIVITY:"Already in Activity",EMBEDDED_ACTIVITIES_IS_PLAYING:"!!{username}!! is playing",EMBEDDED_ACTIVITIES_IS_WATCHING:"!!{username}!! is watching",EMBEDDED_ACTIVITIES_IS_IN_ACTIVITY:"!!{username}!! is in an activity",EMBEDDED_ACTIVITIES_CHANNEL_ACTIVITY_ACTIVE:"Join !!{applicationName}!!",EMBEDDED_ACTIVITIES_LOOK_FOR_MORE:"Look for more activities coming soon!",EMBEDDED_ACTIVITIES_ARE_PARTICIPATING:"!!{username}!! and {count, plural, =1 {# other} other {# others}} are participating",EMBEDDED_ACTIVITIES_ARE_PLAYING:"!!{username}!! and {count, plural, =1 {# other} other {# others}} are playing",EMBEDDED_ACTIVITIES_ARE_WATCHING:"!!{username}!! and {count, plural, =1 {# other} other {# others}} are watching",EMBEDDED_ACTIVITIES_HANGING_IN_GUILD:"Hanging out in !!{guildName}!!",EMBEDDED_ACTIVITIES_PLAYING_IN_GUILD:"Playing in !!{guildName}!!",EMBEDDED_ACTIVITIES_WATCHING_IN_GUILD:"Watching in !!{guildName}!!",EMBEDDED_ACTIVITIES_MAX_PARTICIPANTS:"Up to {count} participants",EMBEDDED_ACTIVITIES_ERROR_TITLE:"Error {code}",EMBEDDED_ACTIVITIES_NUM_PARTICIPANTS:"Participants - {numUsers}",EMBEDDED_ACTIVITIES_UNLIMITED_PARTICIPANTS:"Unlimited participants",EMBEDDED_ACTIVITIES_LAUNCHING_ACTIVITY:"Launching activity",SPECTATE:"Spectate",ACTIVITY_REPORT_POST_ACTIVITY_HEADER:"How'd !!{applicationName}!! go?",ACTIVITY_REPORT_POST_ACTIVITY_PROBLEM_TITLE:"What could have gone better?",ACTIVITY_REPORTED_BODY:"Thanks for reporting your issue! Feedback like yours helps us improve Activities.",ACTIVITY_REPORT_ACTIVITY_BODY:"Tell us about your activity experience",ACTIVITY_REPORT_ACTIVITY_END_FAILED_LOAD:"Activity didn't load properly",ACTIVITY_REPORT_ACTIVITY_FAILED_LOAD:"Activity not loading properly",ACTIVITY_REPORT_ACTIVITY_END_LAGGING:"Activity was lagging or freezing",ACTIVITY_REPORT_ACTIVITY_LAGGING:"Activity is lagging or freezing",ACTIVITY_REPORT_ACTIVITY_END_CONFUSING:"Activity controls were confusing",ACTIVITY_REPORT_ACTIVITY_CONFUSING:"Activity controls are confusing",ACTIVITY_REPORT_ACTIVITY_END_NOT_FUN:"Activity was not fun",ACTIVITY_REPORT_ACTIVITY_NOT_FUN:"Activity is not fun",OTHER:"Other",DEVELOPER_APPLICATION_TEST_MODE_ORIGIN_LABEL:"Select URL Origin Type (Embedded Apps Only)",DEVELOPER_APPLICATION_TEST_MODE_PORT_NUMBER_LABEL:"Localhost Port Number",DEVELOPER_APPLICATION_TEST_MODE_LOCALHOST_OPTION:"Localhost",DEVELOPER_APPLICATION_TEST_MODE_PROXY_OPTION:"Discord Proxy",NOTICE_EMBEDDED_APPLICATION_TEST_MODE:"Test mode is currently active for **!!{applicationName}!!**. Your application should appear as an option in the activities button menu.",CREATOR_JOURNEY_SURVEY:"We'd love to hear about your experience getting started on Discord.",NOTICE_SNOWSGIVING:"Join the Snowsgiving 2020 server and feel the Discord holiday cheer! Daily giveaways, musical performances, and more! 🎁",NOTICE_SNOWSGIVING_CTA:"Join!",SUBSCRIPTION_SURVEY_PROMPT:"Please help us improve Discord by taking this short survey! We appreciate your help.",POKER_SURVEY_PROMPT:"We wanna hear about your experience playing Discord’s new game, Poker Night!",INSTANT_INVITE_YOU_HAVE_BEEN_INVITED_TO_JOIN_GROUP_DM_BY_USER:"**!!{username}!!** has invited you to join a group DM",INVITE_MODAL_NEVERMIND_BUTTON:"Nevermind",INCENTIVIZED_INSTALL_NOTICE:"Wanna use your emoji anywhere? Get a **FREE** month of Discord Nitro by downloading Discord on your phone.",INCENTIVIZED_INSTALL_PREMIUM_SETTINGS_BANNER:"\n  Get a **FREE** month of Discord Nitro! Install the Discord mobile app on your phone and log in with this account.\n  You'll automatically get your **FREE** month and have access to everything listed below.\n  ",INVITE_APP_GMAIL:"Gmail",INVITE_APP_WHATSAPP:"WhatsApp",INVITE_APP_LINE:"Line",INVITE_APP_MESSAGES:"Messages",INVITE_APP_EMAIL:"Email",INVITE_APP_TWITTER:"Twitter",INVITE_APP_MESSENGER:"Messenger",INVITE_APP_TELEGRAM:"Telegram",INVITE_SEND_ERROR:"Message Failed",NO_CONTACTS_ACCESS:"Discord does not have access to your contacts",INVITE_MESSAGE_PLACEHOLDER:"hey come check out Discord with me !!{link}!!",INVITE_URGENT_DAYS_MESSAGE_PLACEHOLDER:"hey join me on Discord! Invite expires in {numDays, plural, one {1 day} other {{numDays} days}}. !!{link}!!",INVITE_URGENT_HOURS_MESSAGE_PLACEHOLDER:"hey join me on Discord! Invite expires in {numHours, plural, one {1 hour} other {{numHours} hours}}. !!{link}!!",INVITE_URGENT_MINUTES_PLACEHOLDER:"hey join me on Discord! Invite expires in {numMinutes, plural, one {1 minute} other {{numMinutes} minutes}}. !!{link}!!",CONTACTS_INVITE_PLACEHOLDER:"hey come check out Discord with me !!{link}!!",INVITE_EXPIRATION_NOTICE:"Invite expires in **!!{duration}!!.**",SYSTEM_MESSAGE_INVITE_USERS_OWNER:"Wondering who to invite?",SYSTEM_MESSAGE_INVITE_USERS_DESCRIPTION_OWNER:"Start by inviting anyone who can help you build the server!",SYSTEM_MESSAGE_INVITE_NOTIFICATION:"Wondering who to invite? Start by inviting anyone who can help you build the server!",SYSTEM_MESSAGE_INVITE_USERS:"Invite your friends",SYSTEM_MESSAGE_INVITE_USERS_DESCRIPTION:"The best way to setup a server is with your buddies!",SYSTEM_MESSAGE_INVITE_USERS_BUTTON:"Send an Invite",SYSTEM_MESSAGE_MANAGE_SETTINGS:"Manage message settings",SYSTEM_MESSAGE_INVITE_USERS_OWNER_COMPACT:"**Wondering who to invite?** Start by inviting anyone who can help you build the server! $[Send an invite](inviteHook)",SYSTEM_MESSAGE_INVITE_USERS_COMPACT:"**Invite your friends!** The best way to setup a server is with your buddies! $[Send an invite](inviteHook)",SOUNDPACK_CLASSIC_LABEL:"Classic",SOUNDPACK_UNCLE_LABEL:"My Uncle",SOUNDPACK_LABEL:"Sound Pack",SOUNDPACK_YACHTY_LABEL:"Lil Yachty",SOUNDPACK_CHAOS_LABEL:"Chaos",STAGE_INSTANCE_TICKET_PURCHASE_LABEL:"Purchase",STAGE_INSTANCE_RSVP_COUNT:"{rsvpCount} interested",STAGE_INSTANCE_TICKET_BUY_LABEL:"Buy",STAGE_INSTANCE_INTERESTED_LABEL:"Interested",STAGE_INSTANCE_TICKET_PURCHASE_MODAL_PURCHASE_DETAILS_HEADER:"Purchase Details",STAGE_INSTANCE_TICKET_PURCHASE_CONFIRMATION_TITLE:"You're in.",STAGE_INSTANCE_TICKET_PURCHASE_CONFIRMATION_SUB_TITLE:"This Stage will kick off {startTime}.",STAGE_INSTANCE_TICKET_PURCHASE_CONFIRMATION_STAGE_STARTED_SUB_TITLE:"This Stage already started. Head on over!",STAGE_INSTANCE_TICKET_PURCHASE_CONFIRMATION_GOT_IT_LABEL:"Got It",STAGE_INSTANCE_SPEAKERS:"!!{firstSpeaker}!! {speakerCount, plural, =0 {} =1 {and {speakerCount} other} other {and {speakerCount} others}}",STAGE_INSTANCE_PURCHASED_LABEL:"Purchased",STAGE_INSTANCE_TICKET_SOLD_OUT_LABEL:"Sold Out",STAGE_INSTANCE_TODAY_LABEL:"Today",STAGE_INSTANCE_START_STAGE_LABEL:"Start Stage",STAGE_INSTANCE_BUY_TICKET_LABEL:"Buy Ticket",STAGE_INSTANCE_BUILDING_STAGE_LABEL:"Building your stage...",START_STAGE_CONFIRMATION_TITLE:"Are you sure you want to start this Stage?",START_STAGE_CONFIRMATION_DESCRIPTION_SAME_DAY:"This Stage was scheduled to start at {eventStartTime, time, short}. People will be able to join once you start.",START_STAGE_CONFIRMATION_DESCRIPTION_DIFFERENT_DAY:"This Stage was scheduled to start at {eventStartTime, time, short} on {eventStartTime, date, long}. People will be able to join once you start.",GUILD_STAGE_INSTANCE_DISCOVERY_TITLE:"Ticketed Stages",UPCOMING_GUILD_STAGE_INSTANCE_DISCOVERY_EMPTY_STATE_TITLE:"There are no upcoming Stages… yet.",UPCOMING_GUILD_STAGE_INSTANCE_DISCOVERY_EMPTY_STATE_SUB_TITLE:"Let people know what’s happening by scheduling an upcoming Stage.\nIt will show up here for everyone in this server.",GUILD_STAGE_DISCOVERY_SCHEDULE_EVENT_LABEL:"Schedule Stage",GUILD_STAGE_DISCOVERY_COPY_EVENT_URL:"Copy Link",GUILD_STAGE_INSTANCE_ACTIONS_MENU_LABEL:"Stage instance action menu",DELETE_STAGE_EVENT_LABEL:"Delete Event",DELETE_STAGE_EVENT_CONFIRMATION_DESCRIPTION:"Are you sure you want to delete **!!{eventName}!!**? This action cannot be undone.",CREATE_STAGE_EVENT_MODAL_TITLE:"Schedule Stage",CREATE_STAGE_INSTANCE_ADD_SPEAKER:"Search Members",CREATE_EVENT_TICKET_SCENE_TITLE:"Create a Ticket",EVENT_TICKET_PRICE_PICKER_ACTION_SHEET_INSTRUCTION:"The minimum price is $0.99, and the maximum price is $99.99. Id mauris viverra pellentesque sit eget.",EVENT_TICKET_PRICE_PICKER_ACTION_SHEET_TITLE:"Set a Price",EVENT_TICKET_CUSTOM_PRICE_OPTION:"Other",EVENT_TICKET_PRICE_PICKER_LABEL:"Ticket Price",EVENT_TICKET_PRICE_PICKER_INSTRUCTION:"Select an admission fee between $2.99 and $99.99.",EVENT_TICKET_IMAGE_PICKER_LABEL:"Ticket Photo",EVENT_TICKET_IMAGE_PICKER_INSTRUCTION:"We recommend an image that’s at least 1000 pixels square.",EVENT_TICKET_COLOR_PICKER_LABEL:"Ticket Color",EVENT_TICKET_PRICE_PICKER_INPUT_PLACEHOLDER:"Custom price must end in 0.99",CREATE_STAGE_INSTANCE_SELECT_GUILD_HEADER:"Where's the party?",CREATE_STAGE_INSTANCE_SELECT_GUILD_SUBHEADER:"Sed tincidunt aenean eu, ultrices ullamcorper tristique habitant. Ut integer pellentesque sit malesuada. Magna vivamus.",CREATE_STAGE_INSTANCE_SELECT_PRIVACY_HEADER:"Who’s invited?",CREATE_STAGE_INSTANCE_SELECT_PRIVACY_SUBHEADER:"Sed tincidunt aenean eu, ultrices ullamcorper tristique habitant. Ut integer pellentesque sit malesuada. Magna vivamus.",CREATE_EVENT_SECTION_LABEL:"Schedule Event",CREATE_EVENT_START_DATE_LABEL:"Start Date",CREATE_EVENT_START_TIME_LABEL:"Start Time",CREATE_EVENT_ADD_END_TIME_LABEL:"Add end date and time",CREATE_EVENT_REMOVE_END_TIME_LABEL:"Remove end date and time",CREATE_EVENT_END_DATE_LABEL:"End Date",CREATE_EVENT_END_TIME_LABEL:"End Time",CREATE_EVENT_SUBMIT_LABEL:"Schedule",MANAGE_EVENTS:"Manage Events",ROLE_PERMISSIONS_SECTION_GUILD_EVENTS:"Guild Events Permissions",ROLE_PERMISSIONS_MANAGE_EVENTS_DESCRIPTION:"Allows the user to manage guild events",PURCHASE_TICKET_LEGAL_LABEL:"I agree to the [Terms of Service]({tosURL}) and [Refund Policy]({refundPolicyURL})",GUILD_EVENT_TICKET_BILLING_INVOICE_TOTAL_TAX_INCLUSIVE:"**Total** (Tax Included)",PURCHASE_TICKET_MODAL_TITLE:"Purchase Ticket",GUILD_STAGES_LANDING_MOBILE_TITLE:"Ticket purchasing is desktop only for now.",GUILD_STAGES_LANDING_MOBILE_SUBTITLE:"Visit this link on your desktop to buy a ticket. Once you have a ticket, you'll be able to attend the event on desktop or mobile.",GUILD_STAGES_CANT_START_EVENT_YET:"This Stage isn't scheduled to start until {startDate} at {startTime}",GUILD_EVENT_ADD_MODERATORS_LABEL:"Add Moderators",GUILD_EVENT_MODERATORS_DESCRIPTION:"Stage moderators are Speakers who can add and remove other Speakers. They can also end the Stage. Stage moderators don't have to be mods of the server.",EXIT_EVENT_STAGE_OPTIONS_LABEL:"Exit Stage",EXPLICIT_END_TICKETED_GUILD_EVENT_SUBTITLE:"You’re the last event manager in this Stage.",END_GUILD_EVENT_FOR_EVERYONE:"End Stage for Everyone",END_EVENT_STAGE_CONFIRMATION_TITLE:"Are you sure you want to end the Stage for everyone?",END_EVENT_STAGE_CONFIRMATION_SUBTITLE:"The Stage will close immediately and the channel will be deleted. This action cannot be undone.",END_EVENT_STAGE_CONFIRMATION_CONFIRM:"End Stage",LIVE_GUILD_STAGE_EVENT_LABEL:"Live now",GUILD_EVENTS_LIST_ACTION_SHEET_HEADER:"{count, plural, one {1 Event} other {{count} Events}}",GUILD_EVENTS_LIST_ACTION_SHEET_CREATE_EVENT:"Create",GUILD_SETTINGS_ACTION_FILTER_GUILD_SCHEDULED_EVENT_CREATE:"Schedule Event",GUILD_SETTINGS_ACTION_FILTER_GUILD_SCHEDULED_EVENT_UPDATE:"Update Event",GUILD_SETTINGS_ACTION_FILTER_GUILD_SCHEDULED_EVENT_DELETE:"Delete Event",GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_CREATE:"$[**!!{user}!!**](userHook) scheduled the event $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_UPDATE:"$[**!!{user}!!**](userHook) updated the scheduled event $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_DELETE:"$[**!!{user}!!**](userHook) deleted the scheduled event $[**!!{target}!!**](targetHook)",GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_NAME_CREATE:"With the name **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_DESCRIPTION_CREATE:"Set the description to **!!{newValue}!!**",GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_STATUS_SCHEDULED:"Set the status to **Scheduled**",GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_STATUS_ACTIVE:"Set the status to **Active**",GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_STATUS_COMPLETED:"Set the status to **Completed**",GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_STATUS_CANCELED:"Set the status to **Canceled**",GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_ENTITY_TYPE_NONE:"Linked to **Nothing**",GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_ENTITY_TYPE_STAGE_INSTANCE:"Linked with a **Stage**",GUILD_SETTINGS_AUDIT_LOG_SCHEDULED_EVENT_SKUS_CREATE:"With a ticket",HUB_DIRECTORY_CHANNEL_TITLE:"Discord Hub for !!{guildName}!!",HUB_DIRECTORY_CHANNEL_EMPTY_TITLE:"Welcome to the Discord Hub for !!{guildName}!! students",HUB_DIRECTORY_CHANNEL_EMPTY_SUBTITLE:"You're one of the first people here! Let's start by adding some servers and members.",HUB_DIRECTORY_CHANNEL_EMPTY_ADD_SERVER:"Add a server to this Hub",HUB_DIRECTORY_CHANNEL_EMPTY_INVITE:"Invite people to this Hub",HUB_DIRECTORY_CARD_JOINED_GUILD_BUTTON:"Go to Server",HUB_CREATE_OR_ADD_GUILD_TITLE:"Help grow the Discord Hub for !!{guildName}!!",HUB_CREATE_OR_ADD_GUILD_SUBTITLE:"You will still be able to invite people from outside the Hub to your server.",HUB_CREATE_GUILD_LABEL:"Want to start a new group?",HUB_CREATE_GUILD_CTA:"Create New Server",HUB_ADD_GUILD_DESCRIPTION_TITLE:"Server Description",HUB_ADD_GUILD_DESCRIPTION_HELP:"This server description will appear in the Hub.",HUB_ADD_GUILD_DESCRIPTION_PLACEHOLDER:"What's your server about? What do people do there?",HUB_ENTRY_INVITE_SUBTITLE:"If your server is intended for students only, just invite your classmates. They don't need a .edu address to join",HUB_ENTRY_REMOVE:"Remove from Hub",HUB_ENTRY_UPDATE:"Update description",HUB_ENTRY_REMOVE_BODY:"Are you sure you want to remove !!{guildName}!! from this Hub?",HUB_CHOOSE_GUILD_TITLE:"Add a server to !!{guildName}!!",HUB_CHOOSE_GUILD_SUBTITLE:"Your server will be discoverable by people in this Hub. You can add servers you have the Admin permission for.",HUB_CHOOSE_GUILD_CHOOSE_TAB:"Servers You Can Add",HUB_CHOOSE_GUILD_ADDED_TAB:"Servers You've Added",HUB_CHOOSE_GUILD_EMPTY:"You are not an admin of any unlisted servers.",HUB_CHOOSE_GUILD_ADDED_EMPTY:"You haven't added any servers yet!",HUB_CUSTOMIZE_EXISTING_GUILD_TITLE:"Help other students find !!{guildName}!!",HUB_CUSTOMIZE_NEW_GUILD_SUBTITLE:"This server description will appear in the Hub. Use it to help students decide whether to join.",HUB_ADD_SERVER_CTA:"Add Server",HUB_ADD_OR_CREATE_SERVER_CONFIRMATION_TITLE:"Success!",HUB_ADD_SERVER_CONFIRMATION_SUBTITLE:"Your server has been added to the Hub for !!{guildName}!!!",HUB_ADD_SERVER_CONFIRMATION_BUTTON:"Got it!",HUB_CREATE_SERVER_CONFIRMATION_SUBTITLE:"Your server has been created and added to the Hub for !!{guildName}!!!",HUB_CREATE_SERVER_CONFIRMATION_STAY:"Back to Hub",HUB_CREATE_SERVER_CONFIRMATION_GO:"Go to Server",HUB_DIRECTORY_SEARCH_TITLE:"Find your people",HUB_DIRECTORY_SEARCH_SUBTITLE:"From clubs, to study groups, to game nights, there’s a place for you.",DIRECTORY_SEARCH_PLACEHOLDER:"Explore servers",DIRECTORY_SEARCH_RESULTS_HEADER:'{numResults, plural, =0 {**0** communities} one {**1** community} other {**{numResults}** communities}} for **"{query}"**',DIRECTORY_SEARCH_NO_RESULTS_TITLE:"No matches found",DIRECTORY_SEARCH_NO_RESULTS_SUBTITLE:"Try another search or $[add a server](addServerHook).",HUB_ENTRY_UPDATE_DESCRIPTION_TITLE:"Update description for !!{guildName}!!",GUILD_TEMPLATE_HEADER_CLASS:"Class",GUILD_TEMPLATE_HEADER_SOCIAL:"Social",GUILD_TEMPLATE_HEADER_MAJOR:"Subject or Major",GUILD_TEMPLATE_HEADER_DORM:"Dorm",GUILD_TEMPLATE_NAME_HELP_QUESTIONS:"help-and-questions",GUILD_TEMPLATE_NAME_ASSIGNMENTS:"assignments",GUILD_TEMPLATE_NAME_DORM_NEWS:"dorm-news",GUILD_TEMPLATE_NAME_INTRODUCTIONS:"introductions",GUILD_TEMPLATE_NAME_VOICE_COUCHES:"Couches",GUILD_TEMPLATE_NAME_VOICE_MOVIE_ROOM:"Movie Room",GUILD_TEMPLATE_NAME_VOICE_UNNUMBERED_STUDY_ROOM:"Study Room",GUILD_TEMPLATE_NAME_CATEGORY_INFO:"Info",GUILD_TEMPLATE_NAME_CATEGORY_CHAT:"Chat",GUILD_MONETIZATION_APP_NAME:"!!{guildName}!! monetization",GUILD_MONETIZATION_TICKETING_INSIGHTS_SECTION:"Ticketing Insights",GUILD_MONETIZATION_TICKETING_INSIGHTS_DESCRIPTION:"We’ve put together a bunch of helpful data to help you better run ticketed Stages. Learn how active your community is, where new members are coming from, and much more. Use what you learn to make informed decisions to improve your Stages’ engagement!",GUILD_MONETIZATION_TICKETING_ENABLED_BADGE_TITLE:"Ticketing is enabled!",GUILD_MONETIZATION_TICKETING_ENABLED_BADGE_SUBTITLE:"Ticketing cannot be disabled from within the app. If you’d like to remove ticketing from your server, [contact support]({URL}).",GUILD_MONETIZATION_ENABLE_TICKETING_SECTION_TITLE:"Enable Ticketing",GUILD_MONETIZATION_ENABLE_TICKETING_DESCRIPTION:"To be eligible for ticketing access, you must [set up a Team]({createTeamURL}) and then select it below. Teams must have valid payment information. Once enabled, ticketing cannot be disabled.",GUILD_MONETIZATION_ENABLE_TICKETING_SELECT_PLACEHOLDER:"Select a Team",GUILD_MONETIZATION_ENABLE_TICKETING_CTA:"Enable Ticketing",GUILD_MONETIZATION_ENABLE_TICKETING_CONFIRMATION_TITLE:"Are you sure you want to enable ticketing for this server?",GUILD_MONETIZATION_ENABLE_TICKETING_CONFIRMATION_SUBTITLE:"Those with proper permissions will be able to schedule ticketed Stages. This action cannot be undone.",GUILD_MONETIZATION_TICKETING_SETTINGS_PAGE_TITLE:"Ticketed Stages",GUILD_MONETIZATION_ENABLE_TICKETING_SETTINGS_PAGE_TITLE:"Enable Ticketed Stages",GUILD_MONETIZATION_TICKETING_SETTINGS_PAGE_DESCRIPTION:"Get paid for hosting Stages and events for your community. With Ticketed Stages, you can choose to charge an admission fee for important Stages.",VERIFY_BY_PHONE_BAIL:"Sign up using email instead",HUB_WAITLIST_MODAL_JOIN_HEADER:"Are you a current student?\nJoin the Discord Hub for your school!",HUB_WAITLIST_MODAL_JOIN_SUBHEADER:"Get notified when your hub launches so you can easily find\nstudent-run servers for your study groups and clubs.",HUB_WAITLIST_MODAL_FORM_DESCRIPTION:"Enter your official school email address",HUB_WAITLIST_MODAL_FORM_PLACEHOLDER:"sam@college.edu",HUB_WAITLIST_MODAL_FORM_TITLE:"School Email",HUB_DISCORD_HUB:"Discord Hub",HUB_VERIFIED_DISCORD_HUB:"Verified Discord Hub",JOIN_WAITLIST:"Join Waitlist",HUB_WAITLIST_MODAL_JOINED_HEADER:"We’ll let you know when your\nschool hub is live!",HUB_REAL_NAME_MODAL_HEADER:"Welcome to the Discord Hub for !!{guildName}!!!",HUB_REAL_NAME_MODAL_SUBHEADER:"Add your real name so people will recognize you. You can change this anytime via the Hub Settings.",HUB_REAL_NAME_MODAL_FORM_PLACEHOLDER:"Full Name",HUB_REAL_NAME_MODAL_FORM_TITLE:"Real Name",HUB_REAL_NAME_CTA:"Let's go!",WELCOME_CTA_LABEL:"Wave to say hi!",GET_MOBILE_APP:"Get the Discord app",GET_MOBILE_APP_SUBTITLE:"Discord isn't supported on mobile web browsers. Join over 100 million people who use Discord to talk with communities and friends.",GET_MOBILE_APP_CTA:"Get the App",GET_MOBILE_APP_SKIP:"Skip for now",MOBILE_APP_DOWNLOAD_CTA:"Get our mobile app",MOBILE_APP_DOWNLOAD_SUBHEADER:"Keep the conversion going on our iOS or Android app.",QR_CODE_DOWNLOAD_CTA:"Scan this QR code for an easy download link for our iOS or Android apps.",DESKTOP_DOWNLOAD_DESCRIPTION:"More features, better performance, and easy access to all your conversations.",DESKTOP_DOWNLOAD_TITLE_MAC:"Discord for Mac",DESKTOP_DOWNLOAD_TITLE_WINDOWS:"Discord for Windows",DESKTOP_DOWNLOAD_TITLE_LINUX:"Discord for Linux",DESKTOP_DOWNLOAD_TITLE:"Discord for desktop",EDIT_PROFILE:"Edit Profile",USER_SETTINGS_BANNER_A11Y_LABEL:"Change Profile Banner",USER_SETTINGS_BANNER_UPLOAD:"Upload Profile Banner",USER_SETTINGS_CHANGE_PROFILE_BANNER:"Change Profile Banner",USER_SETTINGS_BANNER_EDIT_SUB_LABEL:"The recommended minimum size and aspect ratio are 600x240 and 5:2. Accepted file types include PNG, JPG, and animated GIFs.",USER_SETTINGS_REMOVE_PROFILE_BANNER:"Remove Profile Banner",USER_SETTINGS_EDIT_PROFILE_DONT_SAVE:"Don't Save",USER_SETTINGS_EDIT_PROFILE_SAVE_CHANGES:"Save Changes?",USER_SETTINGS_EDIT_PROFILE_SAVE_CONFIRMATION_BODY:"You've made changes. Do you want to save them before leaving this page?",PREMIUM_PROFILE_CUSTOMIZATION_UPSELL_HEADER_MOBILE:"Wanna upload your own profile banner?",PREMIUM_PROFILE_CUSTOMIZATION_UPSELL_BODY_MOBILE:"Get more customization with a profile banner, an animated avatar, a custom tag, and more with **Discord Nitro!**",LEAVE_HUB_BODY:"\nAre you sure you want to leave **!!{name}!!**? You won't be able to rejoin this Hub unless you are re-invited.\n  ",LEAVE_HUB:"Leave Hub",INVITE_BUTTON_TITLE_INVITED_HUB:"You've been invited to join a Hub",INVITE_BUTTON_TITLE_INVITER_HUB:"You sent an invite to join a Hub",HUB_SIDEBAR_JOIN_SERVERS:"Join Servers",HUB_SIDEBAR_ADD_SERVERS:"Add Servers",HUB_SIDEBAR_INVITE_MEMBERS:"Invite People",HUB_EMAIL_CONNECTION_SIDEBAR_HEADER:"Discord Hubs",HUB_EMAIL_CONNECTION_SIDEBAR_LEARN_MORE_HEADER:"What's a Discord Hub?",HUB_EMAIL_CONNECTION_SIDEBAR_DESCRIPTION:"An exclusive place to connect with students, discover servers, and share your own servers for students to join.\n\nHubs are not affiliated with or managed by schools.\n\nServers in the Hub are student-run, but may include non-students.",HUB_EMAIL_CONNECTION_CONTENT_HEADER:"Are you a current student?\nJoin the Discord Hub for your school",HUB_EMAIL_CONNECTION_CONTENT_DESCRIPTION:"Easily find student-run servers for your study groups, clubs, game nights, and more.",HUB_EMAIL_CONNECTION_CONTENT_INPUT_HEADER:"School Email",HUB_EMAIL_CONNECTION_CONTENT_INPUT_PLACEHOLDER:"name@school.edu",HUB_EMAIL_CONNECTION_CONTENT_INPUT_DESCRIPTION:"Enter your official school email address",HUB_EMAIL_CONNECTION_CONTENT_BUTTON:"Join My School",HUB_EMAIL_CONFIRMATION_HEADER:"We’ve sent a confirmation link to !!{email}!!",HUB_EMAIL_CONFIRMATION_DESCRIPTION:"Confirm the link from your email to continue verification. This page will automatically refresh.",HUB_EMAIL_CONFIRMATION_RESEND:"Resend Confirmation Link",HUB_EMAIL_CONFIRMATION_DIFFERENT_EMAIL:"Try A Different Email",HUB_EMAIL_CONNECTION_ADD_HEADER:"Attend multiple schools?",HUB_EMAIL_CONNECTION_ADD_DESCRIPTION:"You can join the hub of any school you’re attending.",HUB_EMAIL_CONNECTION_JOIN_ANOTHER:"Join Another Hub",HUB_DISCORD_HUBS:"Discord Hubs",HUB_SCHOOL_HUBS:"School Hubs",HUB_DISCOVERY_FOOTER_DESCRIPTION:"Hubs connect multiple related servers that are part of a broader community.\nHubs related to education are student-run and not officially affiliated with schools.",HUB_EMAIL_CONNECTION_INVITE_HEADER:"Join {count, plural, =0 {} =1 {{count} other friend} other {{count} other friends}} in the Discord Hub for !!{guildName}!!!",HUB_INVITE_BUTTON_TITLE_INVITED:"You've been invited to join a Hub",HUB_INVITE_BUTTON_TITLE_INVITER:"You sent an invite to join a Hub",HUB_INVITE_ANOTHER_SCHOOL_LINK:"Go to a different school? [Join here](onClick)",GUILD_SETTINGS_MONETIZATION:"We're no strangers to love",GUILD_SETTINGS_ROLE_SUBSCRIPTIONS_TITLE:"You know the rules and so do I",GUILD_ROLE_SUBSCRIPTION_CREATE_TIER_STEP_HEADER:"Step {number} of {total}",GUILD_ROLE_SUBSCRIPTION_CREATE_TIER_CONTINUE:"Continue",GUILD_ROLE_SUBSCRIPTION_CREATE_TIER_DETAILS_TITLE:"A full commitment's what I'm thinking of",GUILD_ROLE_SUBSCRIPTION_CREATE_TIER_DETAILS_DESCRIPTION:"You wouldn't get this from any other guy",GUILD_ROLE_SUBSCRIPTION_CREATE_TIER_BENEFITS_TITLE:"We've known each other for so long",GUILD_ROLE_SUBSCRIPTION_CREATE_TIER_BENEFITS_DESCRIPTION:"Your heart's been aching, but you're too shy to say it",GUILD_ROLE_SUBSCRIPTION_CREATE_TIER_DESIGN_TITLE:"Make it look cool.",GUILD_ROLE_SUBSCRIPTION_CREATE_TIER_DESIGN_DESCRIPTION:"You wouldn't get this from any other guy",GUILD_ROLE_SUBSCRIPTION_CREATE_TIER_CONFIRMATION_TITLE:"All good?",GUILD_ROLE_SUBSCRIPTION_CREATE_TIER_CONFIRMATION_DESCRIPTION:"You wouldn't get this from any other guy",GUILD_ROLE_SUBSCRIPTION_TIER_EXCLUSIVE_CHANNEL_TITLE:"Exclusive Channel",GUILD_ROLE_SUBSCRIPTION_TIER_ADDITIONAL_BENEFIT_TITLE:"Additional Benefit",GUILD_ROLE_SUBSCRIPTION_TIER_DETAIL_NAME_LABEL:"I just wanna tell you how I'm feeling",GUILD_ROLE_SUBSCRIPTION_TIER_DETAIL_NAME_PLACEHOLDER:"Golden Wumpus Club",GUILD_ROLE_SUBSCRIPTION_TIER_DETAIL_CUSTOM_IMAGE_LABEL:"Custom Image",GUILD_ROLE_SUBSCRIPTION_TIER_DETAIL_CUSTOM_IMAGE_DESCRIPTION:"We recommend an image that's at least 500 pixels square.",GUILD_ROLE_SUBSCRIPTION_TIER_DETAIL_CUSTOM_IMAGE_BUTTON:"Upload Image",GUILD_ROLE_SUBSCRIPTION_TIER_DETAIL_CUSTOM_IMAGE_A11Y_LABEL:"Select Image",GUILD_ROLE_SUBSCRIPTION_TIER_DETAIL_PRICE_LABEL:"Price",GUILD_ROLE_SUBSCRIPTION_TIER_DETAIL_PRICE_PLACEHOLDER:"Select a price",GUILD_ROLE_SUBSCRIPTION_TIER_DETAIL_DESCRIPTION_LABEL:"Description",GUILD_ROLE_SUBSCRIPTION_TIER_DETAIL_DESCRIPTION_PLACEHOLDER:"Gotta make you understand",GUILD_ROLE_SUBSCRIPTION_TIER_BENEFITS_ADD_CHANNEL_LABEL:"Add a channel",GUILD_ROLE_SUBSCRIPTION_TIER_BENEFITS_ADD_BENEFIT_LABEL:"Add a benefit",GUILD_ROLE_SUBSCRIPTION_TIER_DESIGN_MEMBER_COLOR_LABEL:"Member Color",GUILD_ROLE_SUBSCRIPTION_TIER_DESIGN_MEMBER_BADGE_LABEL:"Member Badge",GUILD_ROLE_SUBSCRIPTION_TIER_DESIGN_MEMBER_BADGE_DESCRIPTION:"We recommend an image that's at least 32 pixels square.",GUILD_ROLE_SUBSCRIPTION_TIER_DESIGN_MEMBER_PREVIEW_PLACEHOLDER_MESSAGE:"check out how cool this looks",PREMIUM_CHAT_PERKS_PROFILE_BANNER_MOBILE:"Upload a profile banner",THREAD_HAS_BEEN_DELETED:"Thread has been deleted."})},function(e,t,n){var r={"./bg.json":[5862,37],"./cs.json":[5863,38],"./da.json":[5864,39],"./de.json":[5865,40],"./el.json":[5866,41],"./en-GB.json":[5867,42],"./es-ES.json":[5868,43],"./fi.json":[5869,44],"./fr.json":[5870,45],"./hi.json":[5871,46],"./hr.json":[5872,47],"./hu.json":[5873,48],"./it.json":[5874,49],"./ja.json":[5875,50],"./ko.json":[5876,51],"./lt.json":[5877,52],"./nl.json":[5878,53],"./no.json":[5879,54],"./pl.json":[5880,55],"./pt-BR.json":[5881,56],"./ro.json":[5882,57],"./ru.json":[5883,58],"./sv-SE.json":[5884,59],"./th.json":[5885,60],"./tr.json":[5886,61],"./uk.json":[5887,62],"./vi.json":[5888,63],"./zh-CN.json":[5889,64],"./zh-TW.json":[5890,65]};function i(e){if(!n.o(r,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],i=t[0];return n.e(t[1]).then((function(){return n.t(i,3)}))}i.keys=function(){return Object.keys(r)},i.id=1540,e.exports=i},function(e){e.exports=JSON.parse('[{"name":"English, US","englishName":"English, US","code":"en-US","postgresLang":"english","enabled":true},{"name":"English, UK","englishName":"English, UK","code":"en-GB","postgresLang":"english","enabled":true},{"name":"中文","englishName":"Chinese Simplified","code":"zh-CN","postgresLang":"simple","enabled":true},{"name":"繁體中文","englishName":"Traditional Chinese","code":"zh-TW","postgresLang":"simple","enabled":true},{"name":"Čeština","englishName":"Czech","code":"cs","postgresLang":"simple","enabled":true},{"name":"Dansk","englishName":"Danish","code":"da","postgresLang":"danish","enabled":true},{"name":"Nederlands","englishName":"Dutch","code":"nl","postgresLang":"dutch","enabled":true},{"name":"Français","englishName":"French","code":"fr","postgresLang":"french","enabled":true},{"name":"Deutsch","englishName":"German","code":"de","postgresLang":"german","enabled":true},{"name":"Ελληνικά","englishName":"Greek","code":"el","postgresLang":"simple","enabled":true},{"name":"Magyar","englishName":"Hungarian","code":"hu","postgresLang":"hungarian","enabled":true},{"name":"Italiano","englishName":"Italian","code":"it","postgresLang":"italian","enabled":true},{"name":"日本語","englishName":"Japanese","code":"ja","postgresLang":"simple","enabled":true},{"name":"한국어","englishName":"Korean","code":"ko","postgresLang":"simple","enabled":true},{"name":"Polski","englishName":"Polish","code":"pl","postgresLang":"simple","enabled":true},{"name":"Português","englishName":"Portuguese","code":"pt-PT","postgresLang":"portuguese","enabled":false},{"name":"Português do Brasil","englishName":"Portuguese, Brazilian","code":"pt-BR","postgresLang":"portuguese","enabled":true},{"name":"Русский","englishName":"Russian","code":"ru","postgresLang":"russian","enabled":true},{"name":"Slovenčina","englishName":"Slovak","code":"sk","postgresLang":"simple","enabled":false},{"name":"Español","englishName":"Spanish","code":"es-ES","postgresLang":"spanish","enabled":true},{"name":"Svenska","englishName":"Swedish","code":"sv-SE","postgresLang":"swedish","enabled":true},{"name":"Türkçe","englishName":"Turkish","code":"tr","postgresLang":"turkish","enabled":true},{"name":"български","englishName":"Bulgarian","code":"bg","postgresLang":"simple","enabled":true},{"name":"Українська","englishName":"Ukrainian","code":"uk","postgresLang":"simple","enabled":true},{"name":"Suomi","englishName":"Finnish","code":"fi","postgresLang":"finnish","enabled":true},{"name":"Norsk","englishName":"Norwegian","code":"no","postgresLang":"norwegian","enabled":true},{"name":"Hrvatski","englishName":"Croatian","code":"hr","postgresLang":"simple","enabled":true},{"name":"Română","englishName":"Romanian","code":"ro","postgresLang":"romanian","enabled":true},{"name":"Lietuviškai","englishName":"Lithuanian","code":"lt","postgresLang":"simple","enabled":true},{"name":"ไทย","englishName":"Thai","code":"th","postgresLang":"simple","enabled":true},{"name":"Tiếng Việt","englishName":"Vietnamese","code":"vi","postgresLang":"simple","enabled":true},{"name":"हिंदी","englishName":"Hindi","code":"hi","postgresLang":"simple","enabled":true}]')},function(e,t,n){var r={"./bg":915,"./bg.json":915,"./cs":916,"./cs.json":916,"./da":917,"./da.json":917,"./de":918,"./de.json":918,"./el":919,"./el.json":919,"./en-US":920,"./en-US.js":920,"./es-ES":921,"./es-ES.json":921,"./fi":922,"./fi.json":922,"./fr":923,"./fr.json":923,"./hi":924,"./hi.json":924,"./hr":925,"./hr.json":925,"./hu":926,"./hu.json":926,"./it":927,"./it.json":927,"./ja":928,"./ja.json":928,"./ko":929,"./ko.json":929,"./lt":930,"./lt.json":930,"./nl":931,"./nl.json":931,"./no":932,"./no.json":932,"./pl":933,"./pl.json":933,"./pt-BR":934,"./pt-BR.json":934,"./ro":935,"./ro.json":935,"./ru":936,"./ru.json":936,"./sv-SE":937,"./sv-SE.json":937,"./th":938,"./th.json":938,"./tr":939,"./tr.json":939,"./uk":940,"./uk.json":940,"./vi":941,"./vi.json":941,"./zh-CN":942,"./zh-CN.json":942,"./zh-TW":943,"./zh-TW.json":943};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=1542},function(e){e.exports=JSON.parse('[{"name":"English, USA","englishName":"English, USA","code":"en-US","enabled":true},{"name":"中文","englishName":"Chinese Simplified","code":"zh-CN","enabled":true},{"name":"繁體中文","englishName":"Traditional Chinese","code":"zh-TW","enabled":true},{"name":"Čeština","englishName":"Czech","code":"cs","enabled":true},{"name":"Dansk","englishName":"Danish","code":"da","enabled":true},{"name":"Nederlands","englishName":"Dutch","code":"nl","enabled":true},{"name":"Français","englishName":"French","code":"fr","enabled":true},{"name":"Deutsch","englishName":"German","code":"de","enabled":true},{"name":"Ελληνικά","englishName":"Greek","code":"el","enabled":true},{"name":"Magyar","englishName":"Hungarian","code":"hu","enabled":true},{"name":"Italiano","englishName":"Italian","code":"it","enabled":true},{"name":"日本語","englishName":"Japanese","code":"ja","enabled":true},{"name":"한국어","englishName":"Korean","code":"ko","enabled":true},{"name":"Norwegian","englishName":"Norwegian","code":"no","enabled":true},{"name":"Hrvatski","englishName":"Croatian","code":"hr","enabled":true},{"name":"Polski","englishName":"Polish","code":"pl","enabled":true},{"name":"Português","englishName":"Portuguese","code":"pt-PT","enabled":false},{"name":"Português do Brasil","englishName":"Portuguese, Brazilian","code":"pt-BR","enabled":true},{"name":"Русский","englishName":"Russian","code":"ru","enabled":true},{"name":"Slovenčina","englishName":"Slovak","code":"sk","enabled":false},{"name":"Español","englishName":"Spanish","code":"es-ES","enabled":true},{"name":"Svenska","englishName":"Swedish","code":"sv-SE","enabled":true},{"name":"Türkçe","englishName":"Turkish","code":"tr","enabled":true},{"name":"български","englishName":"Bulgarian","code":"bg","enabled":true},{"name":"Українська","englishName":"Ukrainian","code":"uk","enabled":true},{"name":"Suomi","englishName":"Finnish","code":"fi","enabled":true},{"name":"Română","englishName":"Romanian","code":"ro","enabled":true},{"name":"Lietuviškai","englishName":"Lithuanian","code":"lt","enabled":true},{"name":"ไทย","englishName":"Thai","code":"th","enabled":true},{"name":"Tiếng Việt","englishName":"Vietnamese","code":"vi","enabled":true},{"name":"हिंदी","englishName":"Hindi","code":"hi","enabled":true}]')},function(e,t,n){"use strict";n(1)},function(e,t,n){e.exports=n.p+"edaed5daf032643e89ba411a3b99014b.jpg"},function(e,t,n){(function(t){var n;if(t.crypto&&crypto.getRandomValues){var r=new Uint8Array(16);n=function(){return crypto.getRandomValues(r),r}}if(!n){var i=new Array(16);n=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}e.exports=n}).call(this,n(44))},function(e,t,n){(function(t){"pseudomap"===t.env.npm_package_name&&"test"===t.env.npm_lifecycle_script&&(t.env.TEST_PSEUDOMAP="true"),"function"!=typeof Map||t.env.TEST_PSEUDOMAP?e.exports=n(1548):e.exports=Map}).call(this,n(100))},function(e,t){var n=Object.prototype.hasOwnProperty;function r(e){if(!(this instanceof r))throw new TypeError("Constructor PseudoMap requires 'new'");if(this.clear(),e)if(e instanceof r||"function"==typeof Map&&e instanceof Map)e.forEach((function(e,t){this.set(t,e)}),this);else{if(!Array.isArray(e))throw new TypeError("invalid argument");e.forEach((function(e){this.set(e[0],e[1])}),this)}}function i(e,t){return e===t||e!=e&&t!=t}function o(e,t,n){this.key=e,this.value=t,this._index=n}function a(e,t){for(var r=0,o="_"+t,a=o;n.call(e,a);a=o+r++)if(i(e[a].key,t))return e[a]}e.exports=r,r.prototype.forEach=function(e,t){t=t||this,Object.keys(this._data).forEach((function(n){"size"!==n&&e.call(t,this._data[n].value,this._data[n].key)}),this)},r.prototype.has=function(e){return!!a(this._data,e)},r.prototype.get=function(e){var t=a(this._data,e);return t&&t.value},r.prototype.set=function(e,t){!function(e,t,r){for(var a=0,s="_"+t,u=s;n.call(e,u);u=s+a++)if(i(e[u].key,t))return void(e[u].value=r);e.size++,e[u]=new o(t,r,u)}(this._data,e,t)},r.prototype.delete=function(e){var t=a(this._data,e);t&&(delete this._data[t._index],this._data.size--)},r.prototype.clear=function(){var e=Object.create(null);e.size=0,Object.defineProperty(this,"_data",{value:e,enumerable:!1,configurable:!0,writable:!1})},Object.defineProperty(r.prototype,"size",{get:function(){return this._data.size},set:function(e){},enumerable:!0,configurable:!0}),r.prototype.values=r.prototype.keys=r.prototype.entries=function(){throw new Error("iterators are not implemented in this version")}},function(e,t,n){(function(e){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},i=/%[sdj%]/g;t.format=function(e){if(!m(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(s(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),u=r[n];n<o;u=r[++n])E(u)||!g(u)?a+=" "+u:a+=" "+s(u);return a},t.deprecate=function(n,r){if(void 0!==e&&!0===e.noDeprecation)return n;if(void 0===e)return function(){return t.deprecate(n,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(e.throwDeprecation)throw new Error(r);e.traceDeprecation?console.trace(r):console.error(r),i=!0}return n.apply(this,arguments)}};var o,a={};function s(e,n){var r={seen:[],stylize:l};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),p(n)?r.showHidden=n:n&&t._extend(r,n),v(r.showHidden)&&(r.showHidden=!1),v(r.depth)&&(r.depth=2),v(r.colors)&&(r.colors=!1),v(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),c(r,e,r.depth)}function u(e,t){var n=s.styles[t];return n?"["+s.colors[n][0]+"m"+e+"["+s.colors[n][1]+"m":e}function l(e,t){return e}function c(e,n,r){if(e.customInspect&&n&&y(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return m(i)||(i=c(e,i,r)),i}var o=function(e,t){if(v(t))return e.stylize("undefined","undefined");if(m(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(h(t))return e.stylize(""+t,"number");if(p(t))return e.stylize(""+t,"boolean");if(E(t))return e.stylize("null","null")}(e,n);if(o)return o;var a=Object.keys(n),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),S(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(n);if(0===a.length){if(y(n)){var u=n.name?": "+n.name:"";return e.stylize("[Function"+u+"]","special")}if(T(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(I(n))return e.stylize(Date.prototype.toString.call(n),"date");if(S(n))return d(n)}var l,g="",A=!1,O=["{","}"];(_(n)&&(A=!0,O=["[","]"]),y(n))&&(g=" [Function"+(n.name?": "+n.name:"")+"]");return T(n)&&(g=" "+RegExp.prototype.toString.call(n)),I(n)&&(g=" "+Date.prototype.toUTCString.call(n)),S(n)&&(g=" "+d(n)),0!==a.length||A&&0!=n.length?r<0?T(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),l=A?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)b(t,String(a))?o.push(f(e,t,n,r,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(f(e,t,n,r,i,!0))})),o}(e,n,r,s,a):a.map((function(t){return f(e,n,r,s,t,A)})),e.seen.pop(),function(e,t,n){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(l,g,O)):O[0]+g+O[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,n,r,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),b(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=E(n)?c(e,u.value,null):c(e,u.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return"  "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return"   "+e})).join("\n")):s=e.stylize("[Circular]","special")),v(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function _(e){return Array.isArray(e)}function p(e){return"boolean"==typeof e}function E(e){return null===e}function h(e){return"number"==typeof e}function m(e){return"string"==typeof e}function v(e){return void 0===e}function T(e){return g(e)&&"[object RegExp]"===A(e)}function g(e){return"object"==typeof e&&null!==e}function I(e){return g(e)&&"[object Date]"===A(e)}function S(e){return g(e)&&("[object Error]"===A(e)||e instanceof Error)}function y(e){return"function"==typeof e}function A(e){return Object.prototype.toString.call(e)}function O(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(n){if(v(o)&&(o=e.env.NODE_DEBUG||""),n=n.toUpperCase(),!a[n])if(new RegExp("\\b"+n+"\\b","i").test(o)){var r=e.pid;a[n]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",n,r,e)}}else a[n]=function(){};return a[n]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=_,t.isBoolean=p,t.isNull=E,t.isNullOrUndefined=function(e){return null==e},t.isNumber=h,t.isString=m,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=v,t.isRegExp=T,t.isObject=g,t.isDate=I,t.isError=S,t.isFunction=y,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(1550);var N=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function R(){var e=new Date,t=[O(e.getHours()),O(e.getMinutes()),O(e.getSeconds())].join(":");return[e.getDate(),N[e.getMonth()],t].join(" ")}function b(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",R(),t.format.apply(t,arguments))},t.inherits=n(1551),t._extend=function(e,t){if(!t||!g(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var L="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function D(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(L&&e[L]){var t;if("function"!=typeof(t=e[L]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,L,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),L&&Object.defineProperty(t,L,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,r(e))},t.promisify.custom=L,t.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],r=0;r<arguments.length;r++)n.push(arguments[r]);var i=n.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};t.apply(this,n).then((function(t){e.nextTick(a,null,t)}),(function(t){e.nextTick(D,t,a)}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),Object.defineProperties(n,r(t)),n}}).call(this,n(100))},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t){function n(e){var t=this;if(t instanceof n||(t=new n),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var r=0,i=arguments.length;r<i;r++)t.push(arguments[r]);return t}function r(e,t){e.tail=new o(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function i(e,t){e.head=new o(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function o(e,t,n,r){if(!(this instanceof o))return new o(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=n,n.Node=o,n.create=n,n.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null},n.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},n.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},n.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)r(this,arguments[e]);return this.length},n.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},n.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},n.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},n.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},n.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},n.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},n.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},n.prototype.map=function(e,t){t=t||this;for(var r=new n,i=this.head;null!==i;)r.push(e.call(t,i.value,this)),i=i.next;return r},n.prototype.mapReverse=function(e,t){t=t||this;for(var r=new n,i=this.tail;null!==i;)r.push(e.call(t,i.value,this)),i=i.prev;return r},n.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var i=0;null!==r;i++)n=e(n,r.value,i),r=r.next;return n},n.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var i=this.length-1;null!==r;i--)n=e(n,r.value,i),r=r.prev;return n},n.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},n.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},n.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&i<e;i++)o=o.next;for(;null!==o&&i<t;i++,o=o.next)r.push(o.value);return r},n.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)r.push(o.value);return r},n.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1),i=[],o=!1;function a(){var e=window.navigator.connection;return null==e?{type:r.NetworkConnectionTypes.UNKNOWN,effectiveSpeed:r.NetworkConnectionSpeeds.UNKNOWN}:{type:null!=e.type?e.type:r.NetworkConnectionTypes.UNKNOWN,effectiveSpeed:e.effectiveType}}function s(){var e=a();i.forEach((function(t){return t(e)}))}function u(e){i.push(e),function(){if(!0!==o){var e=window.navigator.connection;null!=e&&(o=!0,e.addEventListener("change",s))}}()}function l(e){var t=i.indexOf(e);-1!==t&&(i.splice(t,1),function(){if(!1!==o){var e=window.navigator.connection;null!=e&&0===i.length&&null!=e&&(e.removeEventListener("change",s),o=!1)}}())}var c={addOnlineCallback:function(e){window.addEventListener("online",e)},removeOnlineCallback:function(e){window.removeEventListener("online",e)},addOfflineCallback:function(e){window.addEventListener("offline",e)},removeOfflineCallback:function(e){window.removeEventListener("offline",e)},addChangeCallback:function(e){u(e)},removeChangeCallback:function(e){l(e)},getNetworkInformation:function(){return Promise.resolve(a())},isOnline:function(){var e=navigator.onLine;return void 0===e||e}};t.default=c},function(e,t,n){e.exports=n.p+"c09a43a372ba81e3018c3151d4ed4773.png"},function(e,t,n){e.exports=n.p+"7c8f476123d28d103efe381543274c25.png"},function(e,t,n){e.exports=n.p+"6f26ddd1bf59740c536d2274bb834a05.png"},function(e,t,n){e.exports=n.p+"3c6ccb83716d1e4fb91d3082f6b21d77.png"},function(e,t,n){e.exports=n.p+"861ab526aa1fabb04c6b7da8074e3e21.png"},function(e,t,n){e.exports=n.p+"b8912961ea6ab32f0655d583bbc26b4f.png"},function(e,t,n){e.exports=n.p+"773616c3c8a7e21f8a774eb0d5625436.png"},function(e,t,n){e.exports=n.p+"f810dc5fedb7175c43a3389aa890534f.png"},function(e,t,n){e.exports=n.p+"e1fb24a120bdd003a84e021b16ec3bef.png"},function(e,t,n){e.exports=n.p+"b3150d5cef84b9e82128a1131684f287.png"},function(e,t,n){e.exports=n.p+"485a854d5171c8dc98088041626e6fea.png"},function(e,t,n){e.exports=n.p+"1531b79c2f2927945582023e1edaaa11.png"},function(e,t,n){e.exports=n.p+"142eb7ffe3fcfbd1d6b4029a47793f64.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var r,i=(r=n(909))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(944)),o=n(1569),a=n(67),s=n(1138),u=r(n(1585)),l=n(950),c=n(436),d=r(n(437)),f=/^--/;function _(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||f.test(e)||E.hasOwnProperty(e)&&E[e]?(""+t).trim():t+"px"}var p={};var E={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},h=["Webkit","Ms","Moz","O"];E=Object.keys(E).reduce((function(e,t){return h.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),E);var m=/^(matrix|translate|scale|rotate|skew)/,v=/^(translate)/,T=/^(rotate|skew)/,g=function(e,t){return c.is.num(e)&&0!==e?e+t:e},I=function e(t,n){return c.is.arr(t)?t.every((function(t){return e(t,n)})):c.is.num(t)?t===n:parseFloat(t)===n},S=function(e){function t(t){var n=t.x,r=t.y,o=t.z,a=i(t,["x","y","z"]),s=[],u=[];return(n||r||o)&&(s.push([n||0,r||0,o||0]),u.push((function(e){return["translate3d("+e.map((function(e){return g(e,"px")})).join(",")+")",I(e,0)]}))),c.each(a,(function(e,t){if("transform"===t)s.push([e||""]),u.push((function(e){return[e,""===e]}));else if(m.test(t)){if(delete a[t],c.is.und(e))return;var n=v.test(t)?"px":T.test(t)?"deg":"";s.push(c.toArray(e)),u.push("rotate3d"===t?function(e){var t=e[0],r=e[1],i=e[2],o=e[3];return["rotate3d("+t+","+r+","+i+","+g(o,n)+")",I(o,0)]}:function(e){return[t+"("+e.map((function(e){return g(e,n)})).join(",")+")",I(e,t.startsWith("scale")?1:0)]})}})),s.length&&(a.transform=new y(s,u)),e.call(this,a)||this}return d(t,e),t}(l.AnimatedObject),y=function(e){function t(t,n){var r;return(r=e.call(this)||this).inputs=t,r.transforms=n,r._value=null,r._children=new Set,r}d(t,e);var n=t.prototype;return n.get=function(){return this._value||(this._value=this._get())},n._get=function(){var e=this,t="",n=!0;return c.each(this.inputs,(function(r,i){var o=c.getFluidValue(r[0]),a=e.transforms[i](c.is.arr(o)?o:r.map(c.getFluidValue)),s=a[0],u=a[1];t+=" "+s,n=n&&u})),n?"none":t},n.addChild=function(e){var t=this;this._children.size||c.each(this.inputs,(function(e){return c.each(e,(function(e){var n=c.getFluidConfig(e);n&&n.addChild(t)}))})),this._children.add(e)},n.removeChild=function(e){var t=this;this._children.delete(e),this._children.size||c.each(this.inputs,(function(e){return c.each(e,(function(e){var n=c.getFluidConfig(e);n&&n.removeChild(t)}))}))},n.onParentChange=function(e){"change"==e.type&&(this._value=null),c.each(this._children,(function(t){t.onParentChange(e)}))},t}(c.FluidValue);o.Globals.assign({colorNames:u,createStringInterpolator:s.createStringInterpolator,batchedUpdates:a.unstable_batchedUpdates});var A=l.createHost(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;var n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,r=t,o=r.style,a=r.children,s=r.scrollTop,u=r.scrollLeft,l=i(r,["style","children","scrollTop","scrollLeft"]),d=Object.values(l),E=Object.keys(l).map((function(t){return n||e.hasAttribute(t)?t:p[t]||(p[t]=t.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})))}));c.Globals.frameLoop.onWrite((function(){for(var t in void 0!==a&&(e.textContent=a),o)if(o.hasOwnProperty(t)){var n=_(t,o[t]);"float"===t?t="cssFloat":f.test(t)?e.style.setProperty(t,n):e.style[t]=n}E.forEach((function(t,n){e.setAttribute(t,d[n])})),void 0!==s&&(e.scrollTop=s),void 0!==u&&(e.scrollLeft=u)}))},createAnimatedStyle:function(e){return new S(e)},getComponentProps:function(e){e.scrollTop,e.scrollLeft;return i(e,["scrollTop","scrollLeft"])}}).animated;Object.keys(o).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})})),t.a=A,t.animated=A},function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var i=n(945),o=n(436),a=r(n(949)),s=n(0),u=r(n(1570)),l=r(n(1572)),c=r(n(1573)),d=r(n(437)),f=n(950),_=n(46),p=n(1574),E=r(n(1575)),h=n(1580),m=r(n(944)),v=r(n(951)),T=n(1138),g=n(1581);var I={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},S=a(a({},I.default),{},{mass:1,damping:1,easing:function(e){return e},clamp:!1}),y=function(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,S)};function A(e,t){if(o.is.und(t.decay)){var n=!o.is.und(t.tension)||!o.is.und(t.friction);!n&&o.is.und(t.frequency)&&o.is.und(t.damping)&&o.is.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var O=[],N=function(){this.changed=!1,this.values=O,this.toValues=null,this.fromValues=O,this.to=void 0,this.from=void 0,this.config=new y,this.immediate=!1,this.onStart=void 0,this.onChange=void 0,this.onRest=[]};function R(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(e,t)}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var L=function(e,t){return p.useMemoOne(e,t||[{}])};function D(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return o.is.fun(e)?e.apply(void 0,n):e}var C=function(e,t){return!0===e||!!(t&&e&&(o.is.fun(e)?e(t):o.toArray(e).includes(t)))},M=function(e,t,n){return e&&(o.is.fun(e)?e(t,n):o.is.arr(e)?e[t]:a({},e))},P=function(e,t){return!0===e.default?e[t]:e.default?e.default[t]:void 0},w=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});var r=U;e.default&&!0!==e.default&&(e=e.default,r=Object.keys(e));for(var i,a=R(r);!(i=a()).done;){var s=i.value,u=e[s];o.is.und(u)||t.includes(s)||(n[s]=u)}return n},U=["pause","cancel","config","immediate","onDelayEnd","onProps","onStart","onChange","onRest"],k={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onDelayEnd:1,onProps:1,onStart:1,onChange:1,onRest:1,onNoopRest:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,keys:1,callId:1,parentId:1};function G(e){var t=function(e){var t={},n=0;if(o.each(e,(function(e,r){k[r]||(t[r]=e,n++)})),n)return t}(e);if(t){var n={to:t};return o.each(e,(function(e,r){return r in t||(n[r]=e)})),n}return a({},e)}function Y(e){var t=o.getFluidConfig(e);return t?Y(t.get()):o.is.arr(e)?e.map(Y):o.isAnimatedString(e)?_.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function x(e,t){var n=t.key,r=t.props,i=t.state,s=t.actions;return new Promise((function(t,u){var l,c,d=!1,f=C(r.cancel,n);function _(){i.resumeQueue.add(p),c.cancel(),l=c.time-o.Globals.now()}function p(){l>0?(i.pauseQueue.add(_),c=o.Globals.frameLoop.setTimeout(E,l)):E()}function E(){i.pauseQueue.delete(_),e<=(i.cancelId||0)&&(f=!0);try{s.start(a(a({},r),{},{callId:e,delay:l,cancel:f,pause:d}),t)}catch(e){u(e)}}f?E():(l=D(r.delay||0,n),(d=C(r.pause,n))?(i.resumeQueue.add(p),s.pause()):(s.resume(),p()))}))}var V=function(e,t){return 1==t.length?t[0]:t.some((function(e){return e.cancelled}))?B(e):t.every((function(e){return e.noop}))?H(e):F(e,t.every((function(e){return e.finished})))},H=function(e,t){return void 0===t&&(t=e.get()),{value:t,noop:!0,finished:!0,target:e}},F=function(e,t,n){return void 0===n&&(n=e.get()),{value:n,finished:t,target:e}},B=function(e,t){return void 0===t&&(t=e.get()),{value:t,cancelled:!0,target:e}};function j(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return W(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return W(e,t)}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function K(e,t,n,r){return z.apply(this,arguments)}function z(){return(z=l(u.mark((function e(t,n,r,i){var s,c,d,f,p;return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n.pause){e.next=3;break}return e.next=3,new Promise((function(e){r.resumeQueue.add(e)}));case 3:if(s=n.callId,c=n.parentId,d=n.onRest,f=r.asyncTo,p=r.promise,c||t!==f||n.reset){e.next=7;break}return e.abrupt("return",p);case 7:return e.abrupt("return",r.promise=l(u.mark((function e(){var E,h,m,v,T,g,I,S;return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.asyncId=s,r.asyncTo=t,E=w(n,["onRest"]),v=new Promise((function(e,t){return h=e,m=t})),T=function(e){var t=s<=(r.cancelId||0)&&B(i)||s!==r.asyncId&&F(i,!1);if(t)throw e.result=t,e},g=function(e){return function(){var t=function(e){throw e instanceof X&&m(e),e};try{return e.apply(void 0,arguments).catch(t)}catch(e){t(e)}}}((function(e,t){var n=new X;T(n);var c=o.is.obj(e)?a({},e):a(a({},t),{},{to:e});return c.parentId=s,o.each(E,(function(e,t){o.is.und(c[t])&&(c[t]=e)})),i.start(c).then(function(){var e=l(u.mark((function e(t){return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(T(n),!i.is("PAUSED")){e.next=4;break}return e.next=4,new Promise((function(e){r.resumeQueue.add(e)}));case 4:return e.abrupt("return",t);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())})),e.prev=7,o.is.arr(t)?S=function(){var e=l(u.mark((function e(t){var n,r,i;return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=j(t);case 1:if((r=n()).done){e.next=7;break}return i=r.value,e.next=5,g(i);case 5:e.next=1;break;case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()(t):o.is.fun(t)&&(S=Promise.resolve(t(g,i.stop.bind(i)))),e.next=11,Promise.all([S.then(h),v]);case 11:I=F(i,!0),e.next=21;break;case 14:if(e.prev=14,e.t0=e.catch(7),!(e.t0 instanceof X)){e.next=20;break}I=e.t0.result,e.next=21;break;case 20:throw e.t0;case 21:return e.prev=21,s==r.asyncId&&(r.asyncId=c,r.asyncTo=c?f:void 0,r.promise=c?p:void 0),e.finish(21);case 24:return o.is.fun(d)&&_.batchedUpdates((function(){d(I)})),e.abrupt("return",I);case 26:case"end":return e.stop()}}),e,null,[[7,14,21,24]])})))());case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function q(e,t){e.cancelId=t,e.asyncId=e.asyncTo=e.promise=void 0}var X=function(e){function t(){var t;return(t=e.call(this,"An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")||this).result=void 0,t}return d(t,e),t}(E(Error)),J=function(e){return e instanceof Z},Q=1,Z=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).id=Q++,t.key=void 0,t._priority=0,t._children=new Set,t}d(t,e);var n=t.prototype;return n.get=function(){var e=f.getAnimated(this);return e&&e.getValue()},n.to=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return _.to(this,t)},n.interpolate=function(){h.deprecateInterpolate();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return _.to(this,t)},n.addChild=function(e){this._children.size||this._attach(),this._children.add(e)},n.removeChild=function(e){this._children.delete(e),this._children.size||this._detach()},n.onParentChange=function(e){var t=e.type;this.idle?"start"==t&&(this._reset(),this._start()):"reset"==t&&this._reset()},n._attach=function(){},n._detach=function(){},n._reset=function(){this._emit({type:"reset",parent:this})},n._start=function(){this._emit({type:"start",parent:this})},n._onChange=function(e,t){void 0===t&&(t=!1),this._emit({type:"change",parent:this,value:e,idle:t})},n._onPriorityChange=function(e){this.idle||_.frameLoop.start(this),this._emit({type:"priority",parent:this,priority:e})},n._emit=function(e){o.each(Array.from(this._children),(function(t){t.onParentChange(e)}))},c(t,[{key:"priority",get:function(){return this._priority},set:function(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}}]),t}(o.FluidValue),$="ACTIVE",ee=function(e){function t(t,n){var r;if((r=e.call(this)||this).key=void 0,r.animation=new N,r.queue=void 0,r._phase="CREATED",r._state={pauseQueue:new Set,resumeQueue:new Set},r._defaultProps={},r._lastCallId=0,r._lastToId=0,!o.is.und(t)||!o.is.und(n)){var i=o.is.obj(t)?a({},t):a(a({},n),{},{from:t});i.default=!0,r.start(i)}return r}d(t,e);var n=t.prototype;return n.advance=function(e){var t=this,n=!0,r=!1,i=this.animation,a=i.config,s=i.toValues,u=f.getPayload(i.to);if(!u){var l=o.getFluidConfig(i.to);l&&(s=o.toArray(l.get()))}return i.values.forEach((function(l,c){if(!l.done){var d=u?u[c].lastPosition:s[c],f=i.immediate,_=d;if(!f){if(_=l.lastPosition,a.tension<=0)return void(l.done=!0);var p,E=l.elapsedTime+=e,h=i.fromValues[c],m=null!=l.v0?l.v0:l.v0=o.is.arr(a.velocity)?a.velocity[c]:a.velocity;if(o.is.und(a.duration))if(a.decay){var v=!0===a.decay?.998:a.decay,T=Math.exp(-(1-v)*E);_=h+m/(1-v)*(1-T),f=Math.abs(l.lastPosition-_)<.1,p=m*T}else{p=null==l.lastVelocity?m:l.lastVelocity;for(var g=a.precision||(h==d?.005:Math.min(1,.001*Math.abs(d-h))),I=a.restVelocity||g/10,S=a.clamp?0:a.bounce,y=!o.is.und(S),A=h==d?l.v0>0:h<d,O=Math.ceil(e/1),N=0;N<O&&(Math.abs(p)>I||!(f=Math.abs(d-_)<=g));++N){y&&(_==d||_>d==A)&&(p=-p*S,_=d),_+=1*(p+=1*((1e-6*-a.tension*(_-d)+.001*-a.friction*p)/a.mass))}}else{var R=a.progress||0;a.duration<=0?R=1:R+=(1-R)*Math.min(1,E/a.duration),p=((_=h+a.easing(R)*(d-h))-l.lastPosition)/e,f=1==R}l.lastVelocity=p,Number.isNaN(_)&&(console.warn("Got NaN while animating:",t),f=!0)}u&&!u[c].done&&(f=!1),f?l.done=!0:n=!1,l.setValue(_,a.round)&&(r=!0)}})),n?this.finish():r&&this._onChange(this.get()),n},n.is=function(e){return this._phase==e},n.set=function(e){var t=this;return _.batchedUpdates((function(){if(t._focus(e),t._set(e)&&!t.is($))return t._onChange(t.get(),!0);t._stop()})),this},n.pause=function(){te(this,"pause"),this.is("PAUSED")||(this._phase="PAUSED",o.flush(this._state.pauseQueue,(function(e){return e()})))},n.resume=function(){te(this,"resume"),this.is("PAUSED")&&(this._start(),o.flush(this._state.resumeQueue,(function(e){return e()})))},n.finish=function(e){var t=this;if(this.resume(),this.is($)){var n=this.animation;!n.config.decay&&o.is.und(e)&&(e=n.to),o.is.und(e)||this._set(e),_.batchedUpdates((function(){n.changed||(n.changed=!0,n.onStart&&n.onStart(t)),t._stop()}))}return this},n.update=function(e){return te(this,"update"),(this.queue||(this.queue=[])).push(e),this},n.start=function(){var e=l(u.mark((function e(t,n){var r,i,s=this;return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return te(this,"start"),o.is.und(t)?(r=this.queue||[],this.queue=[]):r=[o.is.obj(t)?t:a(a({},n),{},{to:t})],e.next=4,Promise.all(r.map((function(e){return s._update(e)})));case 4:return i=e.sent,e.abrupt("return",V(this,i));case 6:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}(),n.stop=function(e){var t=this;return this.is("DISPOSED")||(q(this._state,this._lastCallId),this._focus(this.get()),_.batchedUpdates((function(){return t._stop(e)}))),this},n.reset=function(){this._update({reset:!0})},n.dispose=function(){this.is("DISPOSED")||(this.animation&&(this.animation.onRest=[]),this.stop(),this._phase="DISPOSED")},n.onParentChange=function(t){e.prototype.onParentChange.call(this,t),"change"==t.type?this.is($)||(this._reset(),this.is("PAUSED")||this._start()):"priority"==t.type&&(this.priority=t.priority+1)},n._prepareNode=function(e){var t=e.to,n=e.from,r=e.reverse,i=this.key||"",a={to:t=!o.is.obj(t)||o.getFluidConfig(t)?t:t[i],from:n=!o.is.obj(n)||o.getFluidConfig(n)?n:n[i]};if(this.is("CREATED")){if(r){var s=[n,t];t=s[0],n=s[1]}n=o.getFluidValue(n);var u=this._updateNode(o.is.und(n)?o.getFluidValue(t):n);u&&!o.is.und(n)&&u.setValue(n)}return a},n._updateNode=function(e){var t=f.getAnimated(this);if(!o.is.und(e)){var n=this._getNodeType(e);t&&t.constructor===n||f.setAnimated(this,t=n.create(e))}return t},n._getNodeType=function(e){var t=f.getAnimated(e);return t?t.constructor:o.is.arr(e)?f.AnimatedArray:o.isAnimatedString(e)?f.AnimatedString:f.AnimatedValue},n._update=function(e,t){var n=this,r=this._defaultProps,i=function(t){var n=P(e,t);o.is.und(n)||(r[t]=n),r[t]&&(e[t]=r[t])};i("cancel"),i("pause");var a=this._prepareNode(e);return x(++this._lastCallId,{key:this.key,props:e,state:this._state,actions:{pause:this.pause.bind(this),resume:this.resume.bind(this),start:this._merge.bind(this,a)}}).then((function(r){if(e.loop&&r.finished&&(!t||!r.noop)){var i=ie(e);if(i)return n._update(i,!0)}return r}))},n._merge=function(e,t,n){if(t.cancel)return this.stop(!0),n(B(this));var r=this.key,i=this.animation,s=this._defaultProps,u=!o.is.und(e.to),l=!o.is.und(e.from);if(u||l){if(!(t.callId>this._lastToId))return n(B(this));this._lastToId=t.callId}var c=function(e){return o.is.und(t[e])?s[e]:t[e]},d=ne(c("onDelayEnd"),r);d&&d(t,this),t.default&&function(e,t,n){w(t,n,e)}(s,t,["pause","cancel"]);var p=i.to,E=i.from,h=e.to,m=void 0===h?p:h,v=e.from,T=void 0===v?E:v;if(l&&!u&&(m=T),t.reverse){var g=[T,m];m=g[0],T=g[1]}var I=!o.isEqual(T,E);I&&(i.from=T);var y=!o.isEqual(m,p);y&&this._focus(m);var O=o.getFluidConfig(m),N=o.getFluidConfig(T);N&&(T=N.get());var R=o.is.arr(t.to)||o.is.fun(t.to),b=i.config,L=b.decay,M=b.velocity;t.config&&!R&&function(e,t,n){for(var r in n&&(A(n=a({},n),t),t=a(a({},n),t)),A(e,t),Object.assign(e,t),S)null==e[r]&&(e[r]=S[r]);var i=e.mass,s=e.frequency,u=e.damping;o.is.und(s)||(s<.01&&(s=.01),u<0&&(u=0),e.tension=Math.pow(2*Math.PI/s,2)*i,e.friction=4*Math.PI*u*i/s)}(b,D(t.config,r),t.config!==s.config?D(s.config,r):void 0);var P=f.getAnimated(this);if(!P||o.is.und(m))return n(F(this,!0));var U=o.is.und(t.reset)?l&&!t.default:!o.is.und(T)&&C(t.reset,r),k=U?T:this.get(),G=Y(m),x=o.is.num(G)||o.is.arr(G)||o.isAnimatedString(G),V=!R&&(!x||C(s.immediate||t.immediate,r));if(y)if(V)P=this._updateNode(G);else{var j=this._getNodeType(m);if(j!==P.constructor)throw Error("Cannot animate between "+P.constructor.name+" and "+j.name+', as the "to" prop suggests')}var W=P.constructor,z=!!O,q=!1;if(!z){var X=U||this.is("CREATED")&&I;(y||X)&&(z=!(q=o.isEqual(Y(k),G))),o.isEqual(b.decay,L)&&o.isEqual(b.velocity,M)||(z=!0)}if(q&&this.is($)&&(i.changed&&!U?z=!0:z||this._stop()),!R){(z||o.getFluidConfig(p))&&(i.values=P.getPayload(),i.toValues=O?null:W==f.AnimatedString?[1]:o.toArray(G)),i.immediate=V,i.onStart=ne(c("onStart"),r),i.onChange=ne(c("onChange"),r);var J=i.onRest,Q=U&&!t.onRest?J[0]||o.noop:re(ne(c("onRest"),r),this);if(z){i.onRest=[Q,re(n,this)];var Z=U?0:1;Z<J.length&&_.batchedUpdates((function(){for(;Z<J.length;Z++)J[Z]()}))}else(U||t.onRest)&&(i.onRest[0]=Q)}var ee=ne(c("onProps"),r);if(ee&&ee(t,this),U&&P.setValue(k),R)n(K(t.to,t,this._state,this));else if(z)U&&(this._phase="IDLE"),this._reset(),this._start();else if(this.is($)&&!y)i.onRest.push(re(n,this));else{const e=H(this,k),t=ne(c("onNoopRest"),r);null!=t&&t(e),n(e)}},n._focus=function(e){var t=this.animation;if(e!==t.to){var n=o.getFluidConfig(t.to);n&&n.removeChild(this),t.to=e;var r=0;(n=o.getFluidConfig(e))&&(n.addChild(this),J(e)&&(r=(e.priority||0)+1)),this.priority=r}},n._set=function(e){var t=o.getFluidConfig(e);t&&(e=t.get());var n=f.getAnimated(this),r=n&&n.getValue();return n?n.setValue(e):this._updateNode(e),!o.isEqual(e,r)},n._onChange=function(t,n){void 0===n&&(n=!1);var r=this.animation;r.changed||n||(r.changed=!0,r.onStart&&r.onStart(this)),r.onChange&&r.onChange(t,this),e.prototype._onChange.call(this,t,n)},n._reset=function(){var t=this.animation;f.getAnimated(this).reset(t.to),this.is($)||(t.changed=!1),t.immediate||(t.fromValues=t.values.map((function(e){return e.lastPosition}))),e.prototype._reset.call(this)},n._start=function(){this.is($)||(this._phase=$,e.prototype._start.call(this),_.skipAnimation?this.finish():_.frameLoop.start(this))},n._stop=function(e){if(this.resume(),this.is($)){this._phase="IDLE",this._onChange(this.get(),!0);var t=this.animation;o.each(t.values,(function(e){e.done=!0}));var n=t.onRest;n.length&&(t.onRest=[t.toValues?o.noop:n[0]],t.changed||(n[0]=o.noop),o.each(n,(function(t){return t(e)})))}},c(t,[{key:"idle",get:function(){return!this.is($)&&!this._state.asyncTo}},{key:"goal",get:function(){return o.getFluidValue(this.animation.to)}},{key:"velocity",get:function(){var e=f.getAnimated(this);return e instanceof f.AnimatedValue?e.lastVelocity||0:e.getPayload().map((function(e){return e.lastVelocity||0}))}}]),t}(Z);function te(e,t){if(e.is("DISPOSED"))throw Error('Cannot call "'+t+'" of disposed "'+e.constructor.name+'" object')}function ne(e,t){return o.is.fun(e)?e:t&&e?e[t]:void 0}var re=function(e,t){var n=t.animation.to;return e?function(r){if(r)e(B(t));else{var i=Y(n),a=Y(t.get()),s=o.isEqual(a,i);e(F(t,s))}}:o.noop};function ie(e,t,n){void 0===t&&(t=e.loop),void 0===n&&(n=e.to);var r=D(t);if(r){var i=!0!==r&&G(r),s=(i||e).reverse,u=!i||i.reset;return oe(a(a({},e),{},{loop:t,default:!1,to:!s||o.is.arr(n)||o.is.fun(n)?n:void 0,from:u?e.from:void 0,reset:u},i))}}function oe(e){var t=e=G(e),n=t.to,r=t.from,i=new Set;return r?se(r,i):delete e.from,o.is.obj(n)?se(n,i):n||delete e.to,e.keys=i.size?Array.from(i):null,e}function ae(e){var t=oe(e);return o.is.und(t.default)&&(t.default=w(t,[!0===t.immediate&&"immediate"])),t}function se(e,t){o.each(e,(function(e,n){return null!=e&&t.add(n)}))}var ue=["onStart","onChange","onRest"],le=1,ce=function(){function e(e,t){this.id=le++,this.springs={},this.queue=[],this._flush=void 0,this._initialProps=void 0,this._phase="CREATED",this._lastAsyncId=0,this._active=new Set,this._state={pauseQueue:new Set,resumeQueue:new Set},this._events={onStart:new Set,onChange:new Set,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start(e)}var t=e.prototype;return t.is=function(e){return this._phase==e},t.get=function(){var e={};return this.each((function(t,n){return e[n]=t.get()})),e},t.update=function(e){return e&&this.queue.push(oe(e)),this},t.start=function(e){var t=e?o.toArray(e).map(oe):this.queue;return e||(this.queue=[]),this._flush?this._flush(this,t):(he(this,t),de(this,t))},t.stop=function(e){if(o.is.und(e))this.each((function(e){return e.stop()})),q(this._state,this._lastAsyncId);else{var t=this.springs;o.each(o.toArray(e),(function(e){return t[e].stop()}))}return this},t.pause=function(e){if(o.is.und(e))this.each((function(e){return e.pause()}));else{var t=this.springs;o.each(o.toArray(e),(function(e){return t[e].pause()}))}return this},t.resume=function(e){if(o.is.und(e))this.each((function(e){return e.resume()}));else{var t=this.springs;o.each(o.toArray(e),(function(e){return t[e].resume()}))}return this},t.reset=function(){return this.each((function(e){return e.reset()})),this},t.each=function(e){o.each(this.springs,e)},t.dispose=function(){this._state.asyncTo=void 0,this.each((function(e){return e.dispose()})),this.springs={}},t._onFrame=function(){var e=this,t=this._events,n=t.onStart,r=t.onChange,i=t.onRest,a=this._active.size>0;a&&this._phase!=$&&(this._phase=$,o.flush(n,(function(t){return t(e)})));var s=(r.size||!a&&i.size)&&this.get();o.flush(r,(function(e){return e(s)})),a||(this._phase="IDLE",o.flush(i,(function(e){var t=e[0],n=e[1];n.value=s,t(n)})))},t.onParentChange=function(e){"change"==e.type&&(this._active[e.idle?"delete":"add"](e.parent),_.frameLoop.onFrame(this._onFrame))},c(e,[{key:"idle",get:function(){return!this._state.asyncTo&&Object.values(this.springs).every((function(e){return e.idle}))}}]),e}();function de(e,t){return Promise.all(t.map((function(t){return function e(t,n,r){var i=n.to,a=n.loop,s=n.onRest;a&&(n.loop=!1);var u=o.is.arr(i)||o.is.fun(i)?i:void 0;u?(n.to=void 0,n.onRest=void 0):o.each(ue,(function(e){var r=n[e];if(o.is.fun(r)){var i=t._events[e];i instanceof Set?n[e]=function(){return i.add(r)}:n[e]=function(e){var t=e.finished,n=e.cancelled,o=i.get(r);o?(t||(o.finished=!1),n&&(o.cancelled=!0)):i.set(r,{value:null,finished:t,cancelled:n})}}}));var l=(n.keys||Object.keys(t.springs)).map((function(e){return t.springs[e].start(n)})),c=t._state;u?l.push(x(++t._lastAsyncId,{props:n,state:c,actions:{pause:o.noop,resume:o.noop,start:function(e,n){e.onRest=s,e.cancel?function(e,t){return!o.is.und(P(e,t))}(e,"cancel")&&q(c,e.callId):n(K(u,e,c,t))}}})):n.keys||!0!==n.cancel||q(c,t._lastAsyncId);return Promise.all(l).then((function(o){var s=V(t,o);if(a&&s.finished&&(!r||!s.noop)){var u=ie(n,a,i);if(u)return he(t,[u]),e(t,u,!0)}return s}))}(e,t)}))).then((function(t){return V(e,t)}))}function fe(e,t){var n=a({},e.springs);return t&&o.each(o.toArray(t),(function(e){o.is.und(e.keys)&&(e=oe(e)),o.is.obj(e.to)||(e=a(a({},e),{},{to:void 0})),Ee(n,e,(function(e){return pe(e)}))})),n}function _e(e,t){o.each(t,(function(t,n){e.springs[n]||(e.springs[n]=t,t.addChild(e))}))}function pe(e,t){var n=new ee;return n.key=e,t&&n.addChild(t),n}function Ee(e,t,n){t.keys&&o.each(t.keys,(function(r){(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function he(e,t){o.each(t,(function(t){Ee(e.springs,t,(function(t){return pe(t,e)}))}))}var me=s.createContext({}),ve=function(e){var t=e.children,n=m(e,["children"]),r=s.useContext(me);n=L((function(){return a(a({},r),n)}),[r,n.pause,n.cancel,n.immediate,n.config]);var i=me.Provider;return s.createElement(i,{value:n},t)};ve.Provider=me.Provider,ve.Consumer=me.Consumer;var Te=function(){return s.useContext(me)},ge={create:function(e){return{get controllers(){return e()},update:function(t){return o.each(e(),(function(e,n){e.update(M(t,n,e))})),this},start:function(t){return l(u.mark((function n(){var r;return u.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Promise.all(e().map((function(e,n){var r=M(t,n,e);return e.start(r)})));case 2:return r=n.sent,n.abrupt("return",{value:r.map((function(e){return e.value})),finished:r.every((function(e){return e.finished}))});case 4:case"end":return n.stop()}}),n)})))()},stop:function(t){return o.each(e(),(function(e){return e.stop(t)}))},pause:function(t){return o.each(e(),(function(e){return e.pause(t)}))},resume:function(t){return o.each(e(),(function(e){return e.resume(t)}))}}}};function Ie(e,t,n){var r=o.is.fun(t)&&t;r&&!n&&(n=[]);var u=s.useRef(0),l=o.useForceUpdate(),c=s.useState((function(){return{ctrls:[],queue:[],flush:function(e,t){var n=fe(e,t);return u.current>0&&!d.queue.length&&!Object.keys(n).some((function(t){return!e.springs[t]}))?de(e,t):new Promise((function(r){_e(e,n),d.queue.push((function(){r(de(e,t))})),l()}))}}})),d=c[0],f=s.useRef(),_=[].concat(d.ctrls),p=[],E=o.usePrev(e)||0,h=_.slice(e,E);function m(e,n){for(var i=e;i<n;i++){var o=_[i]||(_[i]=new ce(null,d.flush)),a=r?r(i,o):t[i];a&&(a=p[i]=ae(a),0==i&&(f.current=a.ref,a.ref=void 0))}}L((function(){_.length=e,m(E,e)}),[e]),L((function(){m(0,Math.min(E,e))}),n);var v=s.useMemo((function(){return ge.create((function(){return d.ctrls}))}),[]),T=_.map((function(e,t){return fe(e,p[t])})),g=Te();i.useLayoutEffect((function(){u.current++,d.ctrls=_,f.current&&(f.current.current=v);var e=d.queue;e.length&&(d.queue=[],o.each(e,(function(e){return e()}))),o.each(h,(function(e){return e.dispose()})),o.each(_,(function(e,t){_e(e,T[t]),e.start({default:g});var n=p[t];n&&(f.current?e.queue.push(n):e.start(n))}))})),o.useOnce((function(){return function(){o.each(d.ctrls,(function(e){return e.dispose()}))}}));var I=T.map((function(e){return a({},e)}));return r||3==arguments.length?[I,v.start,v.stop]:I}function Se(e,t){var n=o.is.fun(e),r=Ie(1,n?e:[e],n?t||[]:t),i=r[0],a=i[0],s=r[1],u=r[2];return n||2==arguments.length?[a,s,u]:a}function ye(e,t,n){var r=o.is.fun(t)&&t;r&&!n&&(n=[]);var a=[],s=Ie(e,(function(e,n){return a[e]=n,M(t,e,n)}),n||[{}]);if(i.useLayoutEffect((function(){for(var e=o.is.obj(t)&&t.reverse,n=0;n<a.length;n++){var r=a[n+(e?1:-1)];r&&a[n].update({to:r.springs}).start()}}),n),r||3==arguments.length){var u=s[1];return s[1]=p.useCallbackOne((function(e){var t=o.is.obj(e)&&e.reverse;return u((function(n,r){var i=M(e,n,r),o=a[n+(t?1:-1)];return o&&(i.to=o.springs),i}))}),n),s}return s[0]}var Ae="enter";function Oe(e,t,n){var r=t.ref,u=t.reset,l=t.sort,c=t.trail,d=void 0===c?0:c,f=t.expires,_=void 0===f||f,p=o.toArray(e),E=[],h=Ne(p,t),m=s.useRef(null),v=u?null:m.current;i.useLayoutEffect((function(){m.current=E})),o.useOnce((function(){return function(){return o.each(m.current,(function(e){e.expired&&clearTimeout(e.expirationId),e.ctrl.dispose()}))}}));var T=[];if(v&&o.each(v,(function(e,t){e.expired?clearTimeout(e.expirationId):~(t=T[t]=h.indexOf(e.key))&&(E[t]=e)})),o.each(p,(function(e,t){E[t]||(E[t]={key:h[t],item:e,phase:"mount",ctrl:new ce})})),T.length){var g=-1;o.each(T,(function(e,n){var r=v[n];~e?(g=E.indexOf(r),E[g]=a(a({},r),{},{item:p[e]})):t.leave&&E.splice(++g,0,r)}))}o.is.fun(l)&&E.sort((function(e,t){return l(e.item,t.item)}));var I=-d,S=o.useForceUpdate(),y=w(t),A=new Map;o.each(E,(function(e,n){var r,i,s=e.key,u=e.phase;if("mount"==u)r=t.enter,i=Ae;else{var l=h.indexOf(s)<0;if("leave"!=u)if(l)r=t.leave,i="leave";else{if(!(r=t.update))return;i="update"}else{if(l)return;r=t.enter,i=Ae}}if(r=D(r,e.item,n),!(r=o.is.obj(r)?G(r):{to:r}).config){var c=t.config||y.config;r.config=D(c,e.item,n)}var f=a(a({},y),{},{delay:I+=d,reset:!1},r);if(i==Ae&&o.is.und(f.from)){var p=o.is.und(t.initial)||v?t.from:t.initial;f.from=D(p,e.item,n)}var E=f.onRest;f.onRest=f.onNoopRest=function(e){var t=m.current,n=t.find((function(e){return e.key===s}));if(n)if(o.is.fun(E)&&!0!==e.noop&&E(e,n),e.cancelled&&"update"!=n.phase)n.phase=u;else if(n.ctrl.idle){var r=t.every((function(e){return e.ctrl.idle}));if("leave"==n.phase){var i=D(_,n.item);if(!1!==i){var a=!0===i?0:i;if(n.expired=!0,!r&&a>0)return void(a<=2147483647&&(n.expirationId=setTimeout(S,a)))}}r&&t.some((function(e){return e.expired}))&&S()}};var T=fe(e.ctrl,f);A.set(e,{phase:i,springs:T,payload:f})}));var O=Te();i.useLayoutEffect((function(){o.each(E,(function(e){e.ctrl.start({default:O})}))}),[O]);var N=s.useMemo((function(){return ge.create((function(){return m.current.map((function(e){return e.ctrl}))}))}),[]);s.useImperativeHandle(r,(function(){return N})),i.useLayoutEffect((function(){o.each(A,(function(e,t){var n=e.phase,i=e.springs,o=e.payload;_e(t.ctrl,i),O.cancel||(t.phase=n,n==Ae&&t.ctrl.start({default:O}),t.ctrl[r?"update":"start"](o))}))}),u?void 0:n);var R=function(e){return s.createElement(s.Fragment,null,E.map((function(t,n){var r=(A.get(t)||t.ctrl).springs,i=e(a({},r),t.item,t,n);return i&&i.type?s.createElement(i.type,a({},i.props,{key:o.is.str(t.key)||o.is.num(t.key)?t.key:t.ctrl.id,ref:i.ref})):i})))};return 3==arguments.length?[R,N.start,N.stop]:R}function Ne(e,t){var n=t.key,r=t.keys,i=void 0===r?n:r;return o.is.und(i)?e:o.is.fun(i)?e.map(i):o.toArray(i)}var Re=function(e){function t(t,n){var r;(r=e.call(this)||this).source=t,r.key=void 0,r.idle=!0,r.calc=void 0,r.calc=o.createInterpolator.apply(void 0,n);var i=r._get(),a=o.is.arr(i)?f.AnimatedArray:f.AnimatedValue;return f.setAnimated(v(r),a.create(i)),r}d(t,e);var n=t.prototype;return n.advance=function(e){var t=this._get(),n=this.get();o.isEqual(t,n)||(f.getAnimated(this).setValue(t),this._onChange(t,this.idle))},n._get=function(){var e=o.is.arr(this.source)?this.source.map((function(e){return e.get()})):o.toArray(this.source.get());return this.calc.apply(this,e)},n._reset=function(){o.each(f.getPayload(this),(function(e){return e.reset()})),e.prototype._reset.call(this)},n._start=function(){this.idle=!1,e.prototype._start.call(this),_.skipAnimation?(this.idle=!0,this.advance()):_.frameLoop.start(this)},n._attach=function(){var e=this,t=!0,n=1;o.each(o.toArray(this.source),(function(r){J(r)&&(r.idle||(t=!1),n=Math.max(n,r.priority+1)),r.addChild(e)})),this.priority=n,t||(this._reset(),this._start())},n._detach=function(){var e=this;o.each(o.toArray(this.source),(function(t){t.removeChild(e)})),this.idle=!0},n.onParentChange=function(t){"start"==t.type?this.advance():"change"==t.type?this.idle?this.advance():t.idle&&(this.idle=o.toArray(this.source).every((function(e){return!1!==e.idle})),this.idle&&(this.advance(),o.each(f.getPayload(this),(function(e){e.done=!0})))):"priority"==t.type&&(this.priority=o.toArray(this.source).reduce((function(e,t){return Math.max(e,(t.priority||0)+1)}),0)),e.prototype.onParentChange.call(this,t)},t}(Z);o.Globals.assign({createStringInterpolator:T.createStringInterpolator,to:function(e,t){return new Re(e,t)}});Object.keys(g).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}})})),Object.defineProperty(t,"FrameLoop",{enumerable:!0,get:function(){return o.FrameLoop}}),Object.defineProperty(t,"Globals",{enumerable:!0,get:function(){return o.Globals}}),Object.defineProperty(t,"createInterpolator",{enumerable:!0,get:function(){return o.createInterpolator}}),t.BailSignal=X,t.Controller=ce,t.FrameValue=Z,t.Interpolation=Re,t.Spring=function(e){return(0,e.children)(Se(m(e,["children"])))},t.SpringContext=ve,t.SpringHandle=ge,t.SpringValue=ee,t.Trail=function(e){var t=e.items,n=e.children,r=m(e,["items","children"]),i=ye(t.length,r);return t.map((function(e,t){var r=n(e,t);return o.is.fun(r)?r(i[t]):r}))},t.Transition=function(e){var t=e.items,n=e.children,r=m(e,["items","children"]);return s.createElement(s.Fragment,null,Oe(t,r)(n))},t.config=I,t.inferTo=G,t.interpolate=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return h.deprecateInterpolate(),new Re(e,n)},t.to=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new Re(e,n)},t.update=function(){return o.Globals.frameLoop.advance()},t.useChain=function(e,t,n){void 0===n&&(n=1e3),i.useLayoutEffect((function(){if(t){var r=0;o.each(e,(function(e,i){if(e.current){var a=e.current.controllers;if(a.length){var s=n*t[i];isNaN(s)?s=r:r=s,o.each(a,(function(e){o.each(e.queue,(function(e){e.delay=s+(e.delay||0)})),e.start()}))}}}))}else{var i=Promise.resolve();o.each(e,(function(e){var t=e.current||{},n=t.controllers,r=t.start;if(n&&n.length){var a=n.map((function(e){var t=e.queue;return e.queue=[],t}));i=i.then((function(){return o.each(n,(function(e,t){var n;return(n=e.queue).push.apply(n,a[t])})),r()}))}}))}}))},t.useSpring=Se,t.useSprings=Ie,t.useTrail=ye,t.useTransition=Oe},function(e,t,n){e.exports=n(1571)},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(e,t,n,r){var i=t&&t.prototype instanceof c?t:c,o=Object.create(i.prototype),a=new S(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return A()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=T(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=u(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(e,n,a),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var l={};function c(){}function d(){}function f(){}var _={};_[i]=function(){return this};var p=Object.getPrototypeOf,E=p&&p(p(y([])));E&&E!==t&&n.call(E,i)&&(_=E);var h=f.prototype=c.prototype=Object.create(_);function m(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function v(e,t){var r;this._invoke=function(i,o){function a(){return new t((function(r,a){!function r(i,o,a,s){var l=u(e[i],e,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}(i,o,r,a)}))}return r=r?r.then(a,a):a()}}function T(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,T(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function g(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(g,this),this.reset(!0)}function y(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:A}}function A(){return{value:void 0,done:!0}}return d.prototype=h.constructor=f,f.constructor=d,f[a]=d.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(h),e},e.awrap=function(e){return{__await:e}},m(v.prototype),v.prototype[o]=function(){return this},e.AsyncIterator=v,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new v(s(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(h),h[a]="Generator",h[i]=function(){return this},h.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=y,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(I),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),I(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;I(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:y(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t){function n(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,u,"next",e)}function u(e){n(a,i,o,s,u,"throw",e)}s(void 0)}))}}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){"use strict";n.r(t),n.d(t,"useCallback",(function(){return s})),n.d(t,"useCallbackOne",(function(){return o})),n.d(t,"useMemo",(function(){return a})),n.d(t,"useMemoOne",(function(){return i}));var r=n(0);function i(e,t){var n=Object(r.useState)((function(){return{inputs:t,result:e()}}))[0],i=Object(r.useRef)(n),o=Boolean(t&&i.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,i.current.inputs))?i.current:{inputs:t,result:e()};return Object(r.useEffect)((function(){i.current=o}),[o]),o.result}function o(e,t){return i((function(){return e}),t)}var a=i,s=o},function(e,t,n){var r=n(1576),i=n(952),o=n(1577),a=n(1578);function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},s(t)}e.exports=s},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}},function(e,t,n){var r=n(952),i=n(1579);function o(t,n,a){return i()?e.exports=o=Reflect.construct:e.exports=o=function(e,t,n){var i=[null];i.push.apply(i,t);var o=new(Function.bind.apply(e,i));return n&&r(o,n.prototype),o},o.apply(null,arguments)}e.exports=o},function(e,t){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}},function(e,t,n){"use strict";n.r(t),n.d(t,"deprecateInterpolate",(function(){return i}));var r=!1;function i(){r||(r=!0,console.warn('react-spring: The "interpolate" function is deprecated in v10 (use "to" instead)'))}},function(e,t){},function(e,t,n){"use strict";var r=n(0),i=n(367),o=n(1583);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));var s=null,u={};function l(){if(s)for(var e in u){var t=u[e],n=s.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!d[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in d[n]=t,n=t.eventTypes){var i=void 0,o=n[r],l=t,_=r;if(f.hasOwnProperty(_))throw Error(a(99,_));f[_]=o;var p=o.phasedRegistrationNames;if(p){for(i in p)p.hasOwnProperty(i)&&c(p[i],l,_);i=!0}else o.registrationName?(c(o.registrationName,l,_),i=!0):i=!1;if(!i)throw Error(a(98,r,e))}}}}function c(e,t,n){if(_[e])throw Error(a(100,e));_[e]=t,p[e]=t.eventTypes[n].dependencies}var d=[],f={},_={},p={};function E(e,t,n,r,i,o,a,s,u){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var h=!1,m=null,v=!1,T=null,g={onError:function(e){h=!0,m=e}};function I(e,t,n,r,i,o,a,s,u){h=!1,m=null,E.apply(g,arguments)}var S=null,y=null,A=null;function O(e,t,n){var r=e.type||"unknown-event";e.currentTarget=A(n),function(e,t,n,r,i,o,s,u,l){if(I.apply(this,arguments),h){if(!h)throw Error(a(198));var c=m;h=!1,m=null,v||(v=!0,T=c)}}(r,t,void 0,e),e.currentTarget=null}function N(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function R(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var b=null;function L(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)O(e,t[r],n[r]);else t&&O(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function D(e){if(null!==e&&(b=N(b,e)),e=b,b=null,e){if(R(e,L),b)throw Error(a(95));if(v)throw e=T,v=!1,T=null,e}}var C={injectEventPluginOrder:function(e){if(s)throw Error(a(101));s=Array.prototype.slice.call(e),l()},injectEventPluginsByName:function(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!u.hasOwnProperty(t)||u[t]!==r){if(u[t])throw Error(a(102,t));u[t]=r,n=!0}}n&&l()}};function M(e,t){var n=e.stateNode;if(!n)return null;var r=S(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var P=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;P.hasOwnProperty("ReactCurrentDispatcher")||(P.ReactCurrentDispatcher={current:null}),P.hasOwnProperty("ReactCurrentBatchConfig")||(P.ReactCurrentBatchConfig={suspense:null});var w=/^(.*)[\\\/]/,U="function"==typeof Symbol&&Symbol.for,k=U?Symbol.for("react.element"):60103,G=U?Symbol.for("react.portal"):60106,Y=U?Symbol.for("react.fragment"):60107,x=U?Symbol.for("react.strict_mode"):60108,V=U?Symbol.for("react.profiler"):60114,H=U?Symbol.for("react.provider"):60109,F=U?Symbol.for("react.context"):60110,B=U?Symbol.for("react.concurrent_mode"):60111,j=U?Symbol.for("react.forward_ref"):60112,W=U?Symbol.for("react.suspense"):60113,K=U?Symbol.for("react.suspense_list"):60120,z=U?Symbol.for("react.memo"):60115,q=U?Symbol.for("react.lazy"):60116;U&&Symbol.for("react.fundamental"),U&&Symbol.for("react.responder"),U&&Symbol.for("react.scope");var X="function"==typeof Symbol&&Symbol.iterator;function J(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=X&&e[X]||e["@@iterator"])?e:null}function Q(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Y:return"Fragment";case G:return"Portal";case V:return"Profiler";case x:return"StrictMode";case W:return"Suspense";case K:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case F:return"Context.Consumer";case H:return"Context.Provider";case j:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case z:return Q(e.type);case q:if(e=1===e._status?e._result:null)return Q(e)}return null}function Z(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,i=e._debugSource,o=Q(e.type);n=null,r&&(n=Q(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(w,"")+":"+i.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n    in "+(r||"Unknown")+o}t+=n,e=e.return}while(e);return t}var $=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ee=null,te=null,ne=null;function re(e){if(e=y(e)){if("function"!=typeof ee)throw Error(a(280));var t=S(e.stateNode);ee(e.stateNode,e.type,t)}}function ie(e){te?ne?ne.push(e):ne=[e]:te=e}function oe(){if(te){var e=te,t=ne;if(ne=te=null,re(e),t)for(e=0;e<t.length;e++)re(t[e])}}function ae(e,t){return e(t)}function se(e,t,n,r){return e(t,n,r)}function ue(){}var le=ae,ce=!1,de=!1;function fe(){null===te&&null===ne||(ue(),oe())}new Map;var _e=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,pe=Object.prototype.hasOwnProperty,Ee={},he={};function me(e,t,n,r,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o}var ve={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){ve[e]=new me(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];ve[t]=new me(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){ve[e]=new me(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){ve[e]=new me(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){ve[e]=new me(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){ve[e]=new me(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){ve[e]=new me(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){ve[e]=new me(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){ve[e]=new me(e,5,!1,e.toLowerCase(),null,!1)}));var Te=/[\-:]([a-z])/g;function ge(e){return e[1].toUpperCase()}function Ie(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Se(e,t,n,r){var i=ve.hasOwnProperty(t)?ve[t]:null;(null!==i?0===i.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!pe.call(he,e)||!pe.call(Ee,e)&&(_e.test(e)?he[e]=!0:(Ee[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function ye(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ae(e){e._valueTracker||(e._valueTracker=function(e){var t=ye(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Oe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ye(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Ne(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Re(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Ie(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function be(e,t){null!=(t=t.checked)&&Se(e,"checked",t,!1)}function Le(e,t){be(e,t);var n=Ie(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ce(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ce(e,t.type,Ie(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function De(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ce(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Me(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Pe(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Ie(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function we(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ue(e,t){var n=t.value;if(null==n){if(n=t.defaultValue,null!=(t=t.children)){if(null!=n)throw Error(a(92));if(Array.isArray(t)){if(!(1>=t.length))throw Error(a(93));t=t[0]}n=t}null==n&&(n="")}e._wrapperState={initialValue:Ie(n)}}function ke(e,t){var n=Ie(t.value),r=Ie(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Ge(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(Te,ge);ve[t]=new me(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(Te,ge);ve[t]=new me(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(Te,ge);ve[t]=new me(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){ve[e]=new me(e,1,!1,e.toLowerCase(),null,!1)})),ve.xlinkHref=new me("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){ve[e]=new me(e,1,!1,e.toLowerCase(),null,!0)}));var Ye="http://www.w3.org/1999/xhtml",xe="http://www.w3.org/2000/svg";function Ve(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function He(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Ve(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Fe,Be=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==xe||"innerHTML"in e)e.innerHTML=t;else{for((Fe=Fe||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Fe.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function je(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function We(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ke={animationend:We("Animation","AnimationEnd"),animationiteration:We("Animation","AnimationIteration"),animationstart:We("Animation","AnimationStart"),transitionend:We("Transition","TransitionEnd")},ze={},qe={};function Xe(e){if(ze[e])return ze[e];if(!Ke[e])return e;var t,n=Ke[e];for(t in n)if(n.hasOwnProperty(t)&&t in qe)return ze[e]=n[t];return e}$&&(qe=document.createElement("div").style,"AnimationEvent"in window||(delete Ke.animationend.animation,delete Ke.animationiteration.animation,delete Ke.animationstart.animation),"TransitionEvent"in window||delete Ke.transitionend.transition);var Je=Xe("animationend"),Qe=Xe("animationiteration"),Ze=Xe("animationstart"),$e=Xe("transitionend"),et="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" ");function tt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function nt(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function rt(e){if(tt(e)!==e)throw Error(a(188))}function it(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=tt(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return rt(i),e;if(o===r)return rt(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,u=i.child;u;){if(u===n){s=!0,n=i,r=o;break}if(u===r){s=!0,r=i,n=o;break}u=u.sibling}if(!s){for(u=o.child;u;){if(u===n){s=!0,n=o,r=i;break}if(u===r){s=!0,r=o,n=i;break}u=u.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var ot,at,st,ut,lt=!1,ct=[],dt=null,ft=null,_t=null,pt=new Map,Et=new Map,ht=[],mt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),vt="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Tt(e,t,n,r){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:r}}function gt(e,t,n,r){if(e=Tt(e,t,n,r),ct.push(e),1===ct.length)for(;null!==e.blockedOn&&null!==(t=fr(e.blockedOn))&&(ot(t),null===e.blockedOn);)Nt()}function It(e,t){switch(e){case"focus":case"blur":dt=null;break;case"dragenter":case"dragleave":ft=null;break;case"mouseover":case"mouseout":_t=null;break;case"pointerover":case"pointerout":pt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Et.delete(t.pointerId)}}function St(e,t,n,r,i){return null===e||e.nativeEvent!==i?(e=Tt(t,n,r,i),null!==t&&(null!==(t=fr(t))&&st(t)),e):(e.eventSystemFlags|=r,e)}function yt(e){var t=dr(e.target);if(null!==t){var n=tt(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=nt(n)))return e.blockedOn=t,void o.unstable_runWithPriority(e.priority,(function(){ut(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function At(e){if(null!==e.blockedOn)return!1;var t=Pn(e.topLevelType,e.eventSystemFlags,e.nativeEvent);if(null!==t){var n=fr(t);return null!==n&&st(n),e.blockedOn=t,!1}return!0}function Ot(e,t,n){At(e)&&n.delete(t)}function Nt(){for(lt=!1;0<ct.length;){var e=ct[0];if(null!==e.blockedOn){null!==(e=fr(e.blockedOn))&&at(e);break}var t=Pn(e.topLevelType,e.eventSystemFlags,e.nativeEvent);null!==t?e.blockedOn=t:ct.shift()}null!==dt&&At(dt)&&(dt=null),null!==ft&&At(ft)&&(ft=null),null!==_t&&At(_t)&&(_t=null),pt.forEach(Ot),Et.forEach(Ot)}function Rt(e,t){e.blockedOn===t&&(e.blockedOn=null,lt||(lt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Nt)))}function bt(e){function t(t){return Rt(t,e)}if(0<ct.length){Rt(ct[0],e);for(var n=1;n<ct.length;n++){var r=ct[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==dt&&Rt(dt,e),null!==ft&&Rt(ft,e),null!==_t&&Rt(_t,e),pt.forEach(t),Et.forEach(t),n=0;n<ht.length;n++)(r=ht[n]).blockedOn===e&&(r.blockedOn=null);for(;0<ht.length&&null===(n=ht[0]).blockedOn;)yt(n),null===n.blockedOn&&ht.shift()}function Lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function Dt(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Ct(e,t,n){(t=M(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=N(n._dispatchListeners,t),n._dispatchInstances=N(n._dispatchInstances,e))}function Mt(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Dt(t);for(t=n.length;0<t--;)Ct(n[t],"captured",e);for(t=0;t<n.length;t++)Ct(n[t],"bubbled",e)}}function Pt(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=M(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=N(n._dispatchListeners,t),n._dispatchInstances=N(n._dispatchInstances,e))}function wt(e){e&&e.dispatchConfig.registrationName&&Pt(e._targetInst,null,e)}function Ut(e){R(e,Mt)}function kt(){return!0}function Gt(){return!1}function Yt(e,t,n,r){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?kt:Gt,this.isPropagationStopped=Gt,this}function xt(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function Vt(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Ht(e){e.eventPool=[],e.getPooled=xt,e.release=Vt}i(Yt.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=kt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=kt)},persist:function(){this.isPersistent=kt},isPersistent:Gt,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Gt,this._dispatchInstances=this._dispatchListeners=null}}),Yt.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Yt.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,Ht(n),n},Ht(Yt);var Ft=Yt.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Bt=Yt.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),jt=Yt.extend({view:null,detail:null}),Wt=jt.extend({relatedTarget:null});function Kt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var zt={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qt={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Xt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Jt(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Xt[e])&&!!t[e]}function Qt(){return Jt}for(var Zt=jt.extend({key:function(e){if(e.key){var t=zt[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Kt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?qt[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Qt,charCode:function(e){return"keypress"===e.type?Kt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Kt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),$t=0,en=0,tn=!1,nn=!1,rn=jt.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Qt,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=$t;return $t=e.screenX,tn?"mousemove"===e.type?e.screenX-t:0:(tn=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=en;return en=e.screenY,nn?"mousemove"===e.type?e.screenY-t:0:(nn=!0,0)}}),on=rn.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),an=rn.extend({dataTransfer:null}),sn=jt.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Qt}),un=Yt.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ln=rn.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),cn=[["blur","blur",0],["cancel","cancel",0],["click","click",0],["close","close",0],["contextmenu","contextMenu",0],["copy","copy",0],["cut","cut",0],["auxclick","auxClick",0],["dblclick","doubleClick",0],["dragend","dragEnd",0],["dragstart","dragStart",0],["drop","drop",0],["focus","focus",0],["input","input",0],["invalid","invalid",0],["keydown","keyDown",0],["keypress","keyPress",0],["keyup","keyUp",0],["mousedown","mouseDown",0],["mouseup","mouseUp",0],["paste","paste",0],["pause","pause",0],["play","play",0],["pointercancel","pointerCancel",0],["pointerdown","pointerDown",0],["pointerup","pointerUp",0],["ratechange","rateChange",0],["reset","reset",0],["seeked","seeked",0],["submit","submit",0],["touchcancel","touchCancel",0],["touchend","touchEnd",0],["touchstart","touchStart",0],["volumechange","volumeChange",0],["drag","drag",1],["dragenter","dragEnter",1],["dragexit","dragExit",1],["dragleave","dragLeave",1],["dragover","dragOver",1],["mousemove","mouseMove",1],["mouseout","mouseOut",1],["mouseover","mouseOver",1],["pointermove","pointerMove",1],["pointerout","pointerOut",1],["pointerover","pointerOver",1],["scroll","scroll",1],["toggle","toggle",1],["touchmove","touchMove",1],["wheel","wheel",1],["abort","abort",2],[Je,"animationEnd",2],[Qe,"animationIteration",2],[Ze,"animationStart",2],["canplay","canPlay",2],["canplaythrough","canPlayThrough",2],["durationchange","durationChange",2],["emptied","emptied",2],["encrypted","encrypted",2],["ended","ended",2],["error","error",2],["gotpointercapture","gotPointerCapture",2],["load","load",2],["loadeddata","loadedData",2],["loadedmetadata","loadedMetadata",2],["loadstart","loadStart",2],["lostpointercapture","lostPointerCapture",2],["playing","playing",2],["progress","progress",2],["seeking","seeking",2],["stalled","stalled",2],["suspend","suspend",2],["timeupdate","timeUpdate",2],[$e,"transitionEnd",2],["waiting","waiting",2]],dn={},fn={},_n=0;_n<cn.length;_n++){var pn=cn[_n],En=pn[0],hn=pn[1],mn=pn[2],vn="on"+(hn[0].toUpperCase()+hn.slice(1)),Tn={phasedRegistrationNames:{bubbled:vn,captured:vn+"Capture"},dependencies:[En],eventPriority:mn};dn[hn]=Tn,fn[En]=Tn}var gn={eventTypes:dn,getEventPriority:function(e){return void 0!==(e=fn[e])?e.eventPriority:2},extractEvents:function(e,t,n,r){var i=fn[e];if(!i)return null;switch(e){case"keypress":if(0===Kt(n))return null;case"keydown":case"keyup":e=Zt;break;case"blur":case"focus":e=Wt;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=rn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=an;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=sn;break;case Je:case Qe:case Ze:e=Ft;break;case $e:e=un;break;case"scroll":e=jt;break;case"wheel":e=ln;break;case"copy":case"cut":case"paste":e=Bt;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=on;break;default:e=Yt}return Ut(t=e.getPooled(i,t,n,r)),t}},In=o.unstable_UserBlockingPriority,Sn=o.unstable_runWithPriority,yn=gn.getEventPriority,An=[];function On(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=dr(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var i=Lt(e.nativeEvent);r=e.topLevelType;for(var o=e.nativeEvent,a=e.eventSystemFlags,s=null,u=0;u<d.length;u++){var l=d[u];l&&(l=l.extractEvents(r,t,o,i,a))&&(s=N(s,l))}D(s)}}var Nn=!0;function Rn(e,t){bn(t,e,!1)}function bn(e,t,n){switch(yn(t)){case 0:var r=Ln.bind(null,t,1);break;case 1:r=Dn.bind(null,t,1);break;default:r=Mn.bind(null,t,1)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Ln(e,t,n){ce||ue();var r=Mn,i=ce;ce=!0;try{se(r,e,t,n)}finally{(ce=i)||fe()}}function Dn(e,t,n){Sn(In,Mn.bind(null,e,t,n))}function Cn(e,t,n,r){if(An.length){var i=An.pop();i.topLevelType=e,i.eventSystemFlags=t,i.nativeEvent=n,i.targetInst=r,e=i}else e={topLevelType:e,eventSystemFlags:t,nativeEvent:n,targetInst:r,ancestors:[]};try{if(t=On,n=e,de)t(n,void 0);else{de=!0;try{le(t,n,void 0)}finally{de=!1,fe()}}}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,An.length<10&&An.push(e)}}function Mn(e,t,n){if(Nn)if(0<ct.length&&-1<mt.indexOf(e))gt(null,e,t,n);else{var r=Pn(e,t,n);null===r?It(e,n):-1<mt.indexOf(e)?gt(r,e,t,n):function(e,t,n,r){switch(t){case"focus":return dt=St(dt,e,t,n,r),!0;case"dragenter":return ft=St(ft,e,t,n,r),!0;case"mouseover":return _t=St(_t,e,t,n,r),!0;case"pointerover":var i=r.pointerId;return pt.set(i,St(pt.get(i)||null,e,t,n,r)),!0;case"gotpointercapture":return i=r.pointerId,Et.set(i,St(Et.get(i)||null,e,t,n,r)),!0}return!1}(r,e,t,n)||(It(e,n),Cn(e,t,n,null))}}function Pn(e,t,n){var r=Lt(n);if(null!==(r=dr(r))){var i=tt(r);if(null===i)r=null;else{var o=i.tag;if(13===o){if(null!==(r=nt(i)))return r;r=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null)}}return Cn(e,t,n,r),null}function wn(e){if(!$)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var Un=new("function"==typeof WeakMap?WeakMap:Map);function kn(e){var t=Un.get(e);return void 0===t&&(t=new Set,Un.set(e,t)),t}function Gn(e,t,n){if(!n.has(e)){switch(e){case"scroll":bn(t,"scroll",!0);break;case"focus":case"blur":bn(t,"focus",!0),bn(t,"blur",!0),n.add("blur"),n.add("focus");break;case"cancel":case"close":wn(e)&&bn(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===et.indexOf(e)&&Rn(e,t)}n.add(e)}}var Yn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},xn=["Webkit","ms","Moz","O"];function Vn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Yn.hasOwnProperty(e)&&Yn[e]?(""+t).trim():t+"px"}function Hn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=Vn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(Yn).forEach((function(e){xn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Yn[t]=Yn[e]}))}));var Fn=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Bn(e,t){if(t){if(Fn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function jn(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Wn(e,t){var n=kn(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=p[t];for(var r=0;r<t.length;r++)Gn(t[r],e,n)}function Kn(){}function zn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function qn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xn(e,t){var n,r=qn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=qn(r)}}function Jn(){for(var e=window,t=zn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=zn((e=t.contentWindow).document)}return t}function Qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Zn="$?",$n="$!",er=null,tr=null;function nr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function rr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ir="function"==typeof setTimeout?setTimeout:void 0,or="function"==typeof clearTimeout?clearTimeout:void 0;function ar(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void bt(t);r--}else"$"!==n&&n!==Zn&&n!==$n||r++;n=i}while(n);bt(t)}function sr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t&&("$"===(t=e.data)||t===$n||t===Zn))break}return e}function ur(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||n===$n||n===Zn){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var lr="__reactInternalInstance$",cr="__reactContainere$"+Math.random().toString(36).slice(2);function dr(e){var t=e[lr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[cr]||n[lr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ur(e);null!==e;){if(n=e[lr])return n;e=ur(e)}return t}n=(e=n).parentNode}return null}function fr(e){return!(e=e[lr]||e[cr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function _r(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function pr(e){return e.__reactEventHandlers$||null}var Er=null,hr=null,mr=null;function vr(){if(mr)return mr;var e,t,n=hr,r=n.length,i="value"in Er?Er.value:Er.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return mr=i.slice(e,1<t?1-t:void 0)}var Tr=Yt.extend({data:null}),gr=Yt.extend({data:null}),Ir=[9,13,27,32],Sr=$&&"CompositionEvent"in window,yr=null;$&&"documentMode"in document&&(yr=document.documentMode);var Ar=$&&"TextEvent"in window&&!yr,Or=$&&(!Sr||yr&&8<yr&&11>=yr),Nr=String.fromCharCode(32),Rr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},br=!1;function Lr(e,t){switch(e){case"keyup":return-1!==Ir.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Dr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Cr=!1;var Mr={eventTypes:Rr,extractEvents:function(e,t,n,r){var i;if(Sr)e:{switch(e){case"compositionstart":var o=Rr.compositionStart;break e;case"compositionend":o=Rr.compositionEnd;break e;case"compositionupdate":o=Rr.compositionUpdate;break e}o=void 0}else Cr?Lr(e,n)&&(o=Rr.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=Rr.compositionStart);return o?(Or&&"ko"!==n.locale&&(Cr||o!==Rr.compositionStart?o===Rr.compositionEnd&&Cr&&(i=vr()):(hr="value"in(Er=r)?Er.value:Er.textContent,Cr=!0)),o=Tr.getPooled(o,t,n,r),i?o.data=i:null!==(i=Dr(n))&&(o.data=i),Ut(o),i=o):i=null,(e=Ar?function(e,t){switch(e){case"compositionend":return Dr(t);case"keypress":return 32!==t.which?null:(br=!0,Nr);case"textInput":return(e=t.data)===Nr&&br?null:e;default:return null}}(e,n):function(e,t){if(Cr)return"compositionend"===e||!Sr&&Lr(e,t)?(e=vr(),mr=hr=Er=null,Cr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Or&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=gr.getPooled(Rr.beforeInput,t,n,r)).data=e,Ut(t)):t=null,null===i?t:null===t?i:[i,t]}},Pr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function wr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Pr[e.type]:"textarea"===t}var Ur={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function kr(e,t,n){return(e=Yt.getPooled(Ur.change,e,t,n)).type="change",ie(n),Ut(e),e}var Gr=null,Yr=null;function xr(e){D(e)}function Vr(e){if(Oe(_r(e)))return e}function Hr(e,t){if("change"===e)return t}var Fr=!1;function Br(){Gr&&(Gr.detachEvent("onpropertychange",jr),Yr=Gr=null)}function jr(e){if("value"===e.propertyName&&Vr(Yr))if(e=kr(Yr,e,Lt(e)),ce)D(e);else{ce=!0;try{ae(xr,e)}finally{ce=!1,fe()}}}function Wr(e,t,n){"focus"===e?(Br(),Yr=n,(Gr=t).attachEvent("onpropertychange",jr)):"blur"===e&&Br()}function Kr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Vr(Yr)}function zr(e,t){if("click"===e)return Vr(t)}function qr(e,t){if("input"===e||"change"===e)return Vr(t)}$&&(Fr=wn("input")&&(!document.documentMode||9<document.documentMode));var Xr,Jr={eventTypes:Ur,_isInputEventSupported:Fr,extractEvents:function(e,t,n,r){var i=t?_r(t):window,o=i.nodeName&&i.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===i.type)var a=Hr;else if(wr(i))if(Fr)a=qr;else{a=Kr;var s=Wr}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=zr);if(a&&(a=a(e,t)))return kr(a,n,r);s&&s(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&Ce(i,"number",i.value)}},Qr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Zr={eventTypes:Qr,extractEvents:function(e,t,n,r,i){var o="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(o&&0==(32&i)&&(n.relatedTarget||n.fromElement)||!a&&!o)return null;if(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,a?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?dr(t):null)&&(t!==(o=tt(t))||5!==t.tag&&6!==t.tag)&&(t=null)):a=null,a===t)return null;if("mouseout"===e||"mouseover"===e)var s=rn,u=Qr.mouseLeave,l=Qr.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=on,u=Qr.pointerLeave,l=Qr.pointerEnter,c="pointer");if(e=null==a?i:_r(a),i=null==t?i:_r(t),(u=s.getPooled(u,a,n,r)).type=c+"leave",u.target=e,u.relatedTarget=i,(r=s.getPooled(l,t,n,r)).type=c+"enter",r.target=i,r.relatedTarget=e,c=t,(s=a)&&c)e:{for(e=c,a=0,t=l=s;t;t=Dt(t))a++;for(t=0,i=e;i;i=Dt(i))t++;for(;0<a-t;)l=Dt(l),a--;for(;0<t-a;)e=Dt(e),t--;for(;a--;){if(l===e||l===e.alternate)break e;l=Dt(l),e=Dt(e)}l=null}else l=null;for(e=l,l=[];s&&s!==e&&(null===(a=s.alternate)||a!==e);)l.push(s),s=Dt(s);for(s=[];c&&c!==e&&(null===(a=c.alternate)||a!==e);)s.push(c),c=Dt(c);for(c=0;c<l.length;c++)Pt(l[c],"bubbled",u);for(c=s.length;0<c--;)Pt(s[c],"captured",r);return n===Xr?(Xr=null,[u]):(Xr=n,[u,r])}};var $r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},ei=Object.prototype.hasOwnProperty;function ti(e,t){if($r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!ei.call(t,n[r])||!$r(e[n[r]],t[n[r]]))return!1;return!0}var ni=$&&"documentMode"in document&&11>=document.documentMode,ri={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},ii=null,oi=null,ai=null,si=!1;function ui(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return si||null==ii||ii!==zn(n)?null:("selectionStart"in(n=ii)&&Qn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},ai&&ti(ai,n)?null:(ai=n,(e=Yt.getPooled(ri.select,oi,e,t)).type="select",e.target=ii,Ut(e),e))}var li={eventTypes:ri,extractEvents:function(e,t,n,r){var i,o=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(i=!o)){e:{o=kn(o),i=p.onSelect;for(var a=0;a<i.length;a++)if(!o.has(i[a])){o=!1;break e}o=!0}i=!o}if(i)return null;switch(o=t?_r(t):window,e){case"focus":(wr(o)||"true"===o.contentEditable)&&(ii=o,oi=t,ai=null);break;case"blur":ai=oi=ii=null;break;case"mousedown":si=!0;break;case"contextmenu":case"mouseup":case"dragend":return si=!1,ui(n,r);case"selectionchange":if(ni)break;case"keydown":case"keyup":return ui(n,r)}return null}};C.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),S=pr,y=fr,A=_r,C.injectEventPluginsByName({SimpleEventPlugin:gn,EnterLeaveEventPlugin:Zr,ChangeEventPlugin:Jr,SelectEventPlugin:li,BeforeInputEventPlugin:Mr}),new Set;var ci=[],di=-1;function fi(e){0>di||(e.current=ci[di],ci[di]=null,di--)}function _i(e,t){di++,ci[di]=e.current,e.current=t}var pi={},Ei={current:pi},hi={current:!1},mi=pi;function vi(e,t){var n=e.type.contextTypes;if(!n)return pi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ti(e){return null!=(e=e.childContextTypes)}function gi(e){fi(hi),fi(Ei)}function Ii(e){fi(hi),fi(Ei)}function Si(e,t,n){if(Ei.current!==pi)throw Error(a(168));_i(Ei,t),_i(hi,n)}function yi(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(a(108,Q(t)||"Unknown",o));return i({},n,{},r)}function Ai(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||pi,mi=Ei.current,_i(Ei,t),_i(hi,hi.current),!0}function Oi(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(t=yi(e,t,mi),r.__reactInternalMemoizedMergedChildContext=t,fi(hi),fi(Ei),_i(Ei,t)):fi(hi),_i(hi,n)}var Ni=o.unstable_runWithPriority,Ri=o.unstable_scheduleCallback,bi=o.unstable_cancelCallback,Li=o.unstable_shouldYield,Di=o.unstable_requestPaint,Ci=o.unstable_now,Mi=o.unstable_getCurrentPriorityLevel,Pi=o.unstable_ImmediatePriority,wi=o.unstable_UserBlockingPriority,Ui=o.unstable_NormalPriority,ki=o.unstable_LowPriority,Gi=o.unstable_IdlePriority,Yi={},xi=void 0!==Di?Di:function(){},Vi=null,Hi=null,Fi=!1,Bi=Ci(),ji=1e4>Bi?Ci:function(){return Ci()-Bi};function Wi(){switch(Mi()){case Pi:return 99;case wi:return 98;case Ui:return 97;case ki:return 96;case Gi:return 95;default:throw Error(a(332))}}function Ki(e){switch(e){case 99:return Pi;case 98:return wi;case 97:return Ui;case 96:return ki;case 95:return Gi;default:throw Error(a(332))}}function zi(e,t){return e=Ki(e),Ni(e,t)}function qi(e,t,n){return e=Ki(e),Ri(e,t,n)}function Xi(e){return null===Vi?(Vi=[e],Hi=Ri(Pi,Qi)):Vi.push(e),Yi}function Ji(){if(null!==Hi){var e=Hi;Hi=null,bi(e)}Qi()}function Qi(){if(!Fi&&null!==Vi){Fi=!0;var e=0;try{var t=Vi;zi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Vi=null}catch(t){throw null!==Vi&&(Vi=Vi.slice(e+1)),Ri(Pi,Ji),t}finally{Fi=!1}}}var Zi=3;function $i(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function eo(e,t){if(e&&e.defaultProps)for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var to={current:null},no=null,ro=null,io=null;function oo(){io=ro=no=null}function ao(e,t){var n=e.type._context;_i(to,n._currentValue),n._currentValue=t}function so(e){var t=to.current;fi(to),e.type._context._currentValue=t}function uo(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function lo(e,t){no=e,io=ro=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(ja=!0),e.firstContext=null)}function co(e,t){if(io!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(io=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ro){if(null===no)throw Error(a(308));ro=t,no.dependencies={expirationTime:0,firstContext:t,responders:null}}else ro=ro.next=t;return e._currentValue}var fo=!1;function _o(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function po(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Eo(e,t){return{expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function ho(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function mo(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,i=null;null===r&&(r=e.updateQueue=_o(e.memoizedState))}else r=e.updateQueue,i=n.updateQueue,null===r?null===i?(r=e.updateQueue=_o(e.memoizedState),i=n.updateQueue=_o(n.memoizedState)):r=e.updateQueue=po(i):null===i&&(i=n.updateQueue=po(r));null===i||r===i?ho(r,t):null===r.lastUpdate||null===i.lastUpdate?(ho(r,t),ho(i,t)):(ho(r,t),i.lastUpdate=t)}function vo(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=_o(e.memoizedState):To(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function To(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=po(t)),t}function go(e,t,n,r,o,a){switch(n.tag){case 1:return"function"==typeof(e=n.payload)?e.call(a,r,o):e;case 3:e.effectTag=-4097&e.effectTag|64;case 0:if(null==(o="function"==typeof(e=n.payload)?e.call(a,r,o):e))break;return i({},r,o);case 2:fo=!0}return r}function Io(e,t,n,r,i){fo=!1;for(var o=(t=To(e,t)).baseState,a=null,s=0,u=t.firstUpdate,l=o;null!==u;){var c=u.expirationTime;c<i?(null===a&&(a=u,o=l),s<c&&(s=c)):(vu(c,u.suspenseConfig),l=go(e,0,u,l,n,r),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=u:(t.lastEffect.nextEffect=u,t.lastEffect=u))),u=u.next}for(c=null,u=t.firstCapturedUpdate;null!==u;){var d=u.expirationTime;d<i?(null===c&&(c=u,null===a&&(o=l)),s<d&&(s=d)):(l=go(e,0,u,l,n,r),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=u:(t.lastCapturedEffect.nextEffect=u,t.lastCapturedEffect=u))),u=u.next}null===a&&(t.lastUpdate=null),null===c?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===c&&(o=l),t.baseState=o,t.firstUpdate=a,t.firstCapturedUpdate=c,Tu(s),e.expirationTime=s,e.memoizedState=l}function So(e,t,n){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),yo(t.firstEffect,n),t.firstEffect=t.lastEffect=null,yo(t.firstCapturedEffect,n),t.firstCapturedEffect=t.lastCapturedEffect=null}function yo(e,t){for(;null!==e;){var n=e.callback;if(null!==n){e.callback=null;var r=t;if("function"!=typeof n)throw Error(a(191,n));n.call(r)}e=e.nextEffect}}var Ao=P.ReactCurrentBatchConfig,Oo=(new r.Component).refs;function No(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:i({},t,n),e.memoizedState=n,null!==(r=e.updateQueue)&&0===e.expirationTime&&(r.baseState=n)}var Ro={isMounted:function(e){return!!(e=e._reactInternalFiber)&&tt(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=nu(),i=Ao.suspense;(i=Eo(r=ru(r,e,i),i)).payload=t,null!=n&&(i.callback=n),mo(e,i),iu(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=nu(),i=Ao.suspense;(i=Eo(r=ru(r,e,i),i)).tag=1,i.payload=t,null!=n&&(i.callback=n),mo(e,i),iu(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=nu(),r=Ao.suspense;(r=Eo(n=ru(n,e,r),r)).tag=2,null!=t&&(r.callback=t),mo(e,r),iu(e,n)}};function bo(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!ti(n,r)||!ti(i,o))}function Lo(e,t,n){var r=!1,i=pi,o=t.contextType;return"object"==typeof o&&null!==o?o=co(o):(i=Ti(t)?mi:Ei.current,o=(r=null!=(r=t.contextTypes))?vi(e,i):pi),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ro,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Do(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ro.enqueueReplaceState(t,t.state,null)}function Co(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Oo;var o=t.contextType;"object"==typeof o&&null!==o?i.context=co(o):(o=Ti(t)?mi:Ei.current,i.context=vi(e,o)),null!==(o=e.updateQueue)&&(Io(e,o,n,i,r),i.state=e.memoizedState),"function"==typeof(o=t.getDerivedStateFromProps)&&(No(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&Ro.enqueueReplaceState(i,i.state,null),null!==(o=e.updateQueue)&&(Io(e,o,n,i,r),i.state=e.memoizedState)),"function"==typeof i.componentDidMount&&(e.effectTag|=4)}var Mo=Array.isArray;function Po(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=r.refs;t===Oo&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function wo(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Uo(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t,n){return(e=Fu(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Wu(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function l(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=Po(e,t,n),r.return=e,r):((r=Bu(n.type,n.key,n.props,null,e.mode,r)).ref=Po(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ku(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=ju(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Wu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return(n=Bu(t.type,t.key,t.props,null,e.mode,n)).ref=Po(e,null,t),n.return=e,n;case G:return(t=Ku(t,e.mode,n)).return=e,t}if(Mo(t)||J(t))return(t=ju(t,e.mode,n,null)).return=e,t;wo(e,t)}return null}function _(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===i?n.type===Y?d(e,t,n.props.children,r,i):l(e,t,n,r):null;case G:return n.key===i?c(e,t,n,r):null}if(Mo(n)||J(n))return null!==i?null:d(e,t,n,r,null);wo(e,n)}return null}function p(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return e=e.get(null===r.key?n:r.key)||null,r.type===Y?d(t,e,r.props.children,i,r.key):l(t,e,r,i);case G:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(Mo(r)||J(r))return d(t,e=e.get(n)||null,r,i,null);wo(t,r)}return null}function E(i,a,s,u){for(var l=null,c=null,d=a,E=a=0,h=null;null!==d&&E<s.length;E++){d.index>E?(h=d,d=null):h=d.sibling;var m=_(i,d,s[E],u);if(null===m){null===d&&(d=h);break}e&&d&&null===m.alternate&&t(i,d),a=o(m,a,E),null===c?l=m:c.sibling=m,c=m,d=h}if(E===s.length)return n(i,d),l;if(null===d){for(;E<s.length;E++)null!==(d=f(i,s[E],u))&&(a=o(d,a,E),null===c?l=d:c.sibling=d,c=d);return l}for(d=r(i,d);E<s.length;E++)null!==(h=p(d,i,E,s[E],u))&&(e&&null!==h.alternate&&d.delete(null===h.key?E:h.key),a=o(h,a,E),null===c?l=h:c.sibling=h,c=h);return e&&d.forEach((function(e){return t(i,e)})),l}function h(i,s,u,l){var c=J(u);if("function"!=typeof c)throw Error(a(150));if(null==(u=c.call(u)))throw Error(a(151));for(var d=c=null,E=s,h=s=0,m=null,v=u.next();null!==E&&!v.done;h++,v=u.next()){E.index>h?(m=E,E=null):m=E.sibling;var T=_(i,E,v.value,l);if(null===T){null===E&&(E=m);break}e&&E&&null===T.alternate&&t(i,E),s=o(T,s,h),null===d?c=T:d.sibling=T,d=T,E=m}if(v.done)return n(i,E),c;if(null===E){for(;!v.done;h++,v=u.next())null!==(v=f(i,v.value,l))&&(s=o(v,s,h),null===d?c=v:d.sibling=v,d=v);return c}for(E=r(i,E);!v.done;h++,v=u.next())null!==(v=p(E,i,h,v.value,l))&&(e&&null!==v.alternate&&E.delete(null===v.key?h:v.key),s=o(v,s,h),null===d?c=v:d.sibling=v,d=v);return e&&E.forEach((function(e){return t(i,e)})),c}return function(e,r,o,u){var l="object"==typeof o&&null!==o&&o.type===Y&&null===o.key;l&&(o=o.props.children);var c="object"==typeof o&&null!==o;if(c)switch(o.$$typeof){case k:e:{for(c=o.key,l=r;null!==l;){if(l.key===c){if(7===l.tag?o.type===Y:l.elementType===o.type){n(e,l.sibling),(r=i(l,o.type===Y?o.props.children:o.props)).ref=Po(e,l,o),r.return=e,e=r;break e}n(e,l);break}t(e,l),l=l.sibling}o.type===Y?((r=ju(o.props.children,e.mode,u,o.key)).return=e,e=r):((u=Bu(o.type,o.key,o.props,null,e.mode,u)).ref=Po(e,r,o),u.return=e,e=u)}return s(e);case G:e:{for(l=o.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Ku(o,e.mode,u)).return=e,e=r}return s(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=Wu(o,e.mode,u)).return=e,e=r),s(e);if(Mo(o))return E(e,r,o,u);if(J(o))return h(e,r,o,u);if(c&&wo(e,o),void 0===o&&!l)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var ko=Uo(!0),Go=Uo(!1),Yo={},xo={current:Yo},Vo={current:Yo},Ho={current:Yo};function Fo(e){if(e===Yo)throw Error(a(174));return e}function Bo(e,t){_i(Ho,t),_i(Vo,e),_i(xo,Yo);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:He(null,"");break;default:t=He(t=(n=8===n?t.parentNode:t).namespaceURI||null,n=n.tagName)}fi(xo),_i(xo,t)}function jo(e){fi(xo),fi(Vo),fi(Ho)}function Wo(e){Fo(Ho.current);var t=Fo(xo.current),n=He(t,e.type);t!==n&&(_i(Vo,e),_i(xo,n))}function Ko(e){Vo.current===e&&(fi(xo),fi(Vo))}var zo={current:0};function qo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===Zn||n.data===$n))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Xo(e,t){return{responder:e,props:t}}var Jo=P.ReactCurrentDispatcher,Qo=P.ReactCurrentBatchConfig,Zo=0,$o=null,ea=null,ta=null,na=null,ra=null,ia=null,oa=0,aa=null,sa=0,ua=!1,la=null,ca=0;function da(){throw Error(a(321))}function fa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!$r(e[n],t[n]))return!1;return!0}function _a(e,t,n,r,i,o){if(Zo=o,$o=t,ta=null!==e?e.memoizedState:null,Jo.current=null===ta?Ma:Pa,t=n(r,i),ua){do{ua=!1,ca+=1,ta=null!==e?e.memoizedState:null,ia=na,aa=ra=ea=null,Jo.current=Pa,t=n(r,i)}while(ua);la=null,ca=0}if(Jo.current=Ca,(e=$o).memoizedState=na,e.expirationTime=oa,e.updateQueue=aa,e.effectTag|=sa,e=null!==ea&&null!==ea.next,Zo=0,ia=ra=na=ta=ea=$o=null,oa=0,aa=null,sa=0,e)throw Error(a(300));return t}function pa(){Jo.current=Ca,Zo=0,ia=ra=na=ta=ea=$o=null,oa=0,aa=null,sa=0,ua=!1,la=null,ca=0}function Ea(){var e={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return null===ra?na=ra=e:ra=ra.next=e,ra}function ha(){if(null!==ia)ia=(ra=ia).next,ta=null!==(ea=ta)?ea.next:null;else{if(null===ta)throw Error(a(310));var e={memoizedState:(ea=ta).memoizedState,baseState:ea.baseState,queue:ea.queue,baseUpdate:ea.baseUpdate,next:null};ra=null===ra?na=e:ra.next=e,ta=ea.next}return ra}function ma(e,t){return"function"==typeof t?t(e):t}function va(e){var t=ha(),n=t.queue;if(null===n)throw Error(a(311));if(n.lastRenderedReducer=e,0<ca){var r=n.dispatch;if(null!==la){var i=la.get(n);if(void 0!==i){la.delete(n);var o=t.memoizedState;do{o=e(o,i.action),i=i.next}while(null!==i);return $r(o,t.memoizedState)||(ja=!0),t.memoizedState=o,t.baseUpdate===n.last&&(t.baseState=o),n.lastRenderedState=o,[o,r]}}return[t.memoizedState,r]}r=n.last;var s=t.baseUpdate;if(o=t.baseState,null!==s?(null!==r&&(r.next=null),r=s.next):r=null!==r?r.next:null,null!==r){var u=i=null,l=r,c=!1;do{var d=l.expirationTime;d<Zo?(c||(c=!0,u=s,i=o),d>oa&&Tu(oa=d)):(vu(d,l.suspenseConfig),o=l.eagerReducer===e?l.eagerState:e(o,l.action)),s=l,l=l.next}while(null!==l&&l!==r);c||(u=s,i=o),$r(o,t.memoizedState)||(ja=!0),t.memoizedState=o,t.baseUpdate=u,t.baseState=i,n.lastRenderedState=o}return[t.memoizedState,n.dispatch]}function Ta(e){var t=Ea();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,lastRenderedReducer:ma,lastRenderedState:e}).dispatch=Da.bind(null,$o,e),[t.memoizedState,e]}function ga(e){return va(ma)}function Ia(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===aa?(aa={lastEffect:null}).lastEffect=e.next=e:null===(t=aa.lastEffect)?aa.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,aa.lastEffect=e),e}function Sa(e,t,n,r){var i=Ea();sa|=e,i.memoizedState=Ia(t,n,void 0,void 0===r?null:r)}function ya(e,t,n,r){var i=ha();r=void 0===r?null:r;var o=void 0;if(null!==ea){var a=ea.memoizedState;if(o=a.destroy,null!==r&&fa(r,a.deps))return void Ia(0,n,o,r)}sa|=e,i.memoizedState=Ia(t,n,o,r)}function Aa(e,t){return Sa(516,192,e,t)}function Oa(e,t){return ya(516,192,e,t)}function Na(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ra(){}function ba(e,t){return Ea().memoizedState=[e,void 0===t?null:t],e}function La(e,t){var n=ha();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&fa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Da(e,t,n){if(!(25>ca))throw Error(a(301));var r=e.alternate;if(e===$o||null!==r&&r===$o)if(ua=!0,e={expirationTime:Zo,suspenseConfig:null,action:n,eagerReducer:null,eagerState:null,next:null},null===la&&(la=new Map),void 0===(n=la.get(t)))la.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{var i=nu(),o=Ao.suspense;o={expirationTime:i=ru(i,e,o),suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};var s=t.last;if(null===s)o.next=o;else{var u=s.next;null!==u&&(o.next=u),s.next=o}if(t.last=o,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var l=t.lastRenderedState,c=r(l,n);if(o.eagerReducer=r,o.eagerState=c,$r(c,l))return}catch(e){}iu(e,i)}}var Ca={readContext:co,useCallback:da,useContext:da,useEffect:da,useImperativeHandle:da,useLayoutEffect:da,useMemo:da,useReducer:da,useRef:da,useState:da,useDebugValue:da,useResponder:da,useDeferredValue:da,useTransition:da},Ma={readContext:co,useCallback:ba,useContext:co,useEffect:Aa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Sa(4,36,Na.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Sa(4,36,e,t)},useMemo:function(e,t){var n=Ea();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ea();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Da.bind(null,$o,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ea().memoizedState=e},useState:Ta,useDebugValue:Ra,useResponder:Xo,useDeferredValue:function(e,t){var n=Ta(e),r=n[0],i=n[1];return Aa((function(){o.unstable_next((function(){var n=Qo.suspense;Qo.suspense=void 0===t?null:t;try{i(e)}finally{Qo.suspense=n}}))}),[e,t]),r},useTransition:function(e){var t=Ta(!1),n=t[0],r=t[1];return[ba((function(t){r(!0),o.unstable_next((function(){var n=Qo.suspense;Qo.suspense=void 0===e?null:e;try{r(!1),t()}finally{Qo.suspense=n}}))}),[e,n]),n]}},Pa={readContext:co,useCallback:La,useContext:co,useEffect:Oa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ya(4,36,Na.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ya(4,36,e,t)},useMemo:function(e,t){var n=ha();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&fa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:va,useRef:function(){return ha().memoizedState},useState:ga,useDebugValue:Ra,useResponder:Xo,useDeferredValue:function(e,t){var n=ga(),r=n[0],i=n[1];return Oa((function(){o.unstable_next((function(){var n=Qo.suspense;Qo.suspense=void 0===t?null:t;try{i(e)}finally{Qo.suspense=n}}))}),[e,t]),r},useTransition:function(e){var t=ga(),n=t[0],r=t[1];return[La((function(t){r(!0),o.unstable_next((function(){var n=Qo.suspense;Qo.suspense=void 0===e?null:e;try{r(!1),t()}finally{Qo.suspense=n}}))}),[e,n]),n]}},wa=null,Ua=null,ka=!1;function Ga(e,t){var n=Vu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ya(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(e.memoizedState={dehydrated:t,retryTime:1},(n=Vu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,!0);default:return!1}}function xa(e){if(ka){var t=Ua;if(t){var n=t;if(!Ya(e,t)){if(!(t=sr(n.nextSibling))||!Ya(e,t))return e.effectTag=-1025&e.effectTag|2,ka=!1,void(wa=e);Ga(wa,n)}wa=e,Ua=sr(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,ka=!1,wa=e}}function Va(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;wa=e}function Ha(e){if(e!==wa)return!1;if(!ka)return Va(e),ka=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!rr(t,e.memoizedProps))for(t=Ua;t;)Ga(e,t),t=sr(t.nextSibling);if(Va(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ua=sr(e.nextSibling);break e}t--}else"$"!==n&&n!==$n&&n!==Zn||t++}e=e.nextSibling}Ua=null}}else Ua=wa?sr(e.stateNode.nextSibling):null;return!0}function Fa(){Ua=wa=null,ka=!1}var Ba=P.ReactCurrentOwner,ja=!1;function Wa(e,t,n,r){t.child=null===e?Go(t,null,n,r):ko(t,e.child,n,r)}function Ka(e,t,n,r,i){n=n.render;var o=t.ref;return lo(t,i),r=_a(e,t,n,r,o,i),null===e||ja?(t.effectTag|=1,Wa(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),ls(e,t,i))}function za(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!=typeof a||Hu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Bu(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,qa(e,t,a,r,i,o))}return a=e.child,i<o&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:ti)(i,r)&&e.ref===t.ref)?ls(e,t,o):(t.effectTag|=1,(e=Fu(a,r)).ref=t.ref,e.return=t,t.child=e)}function qa(e,t,n,r,i,o){return null!==e&&ti(e.memoizedProps,r)&&e.ref===t.ref&&(ja=!1,i<o)?ls(e,t,o):Ja(e,t,n,r,o)}function Xa(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Ja(e,t,n,r,i){var o=Ti(n)?mi:Ei.current;return o=vi(t,o),lo(t,i),n=_a(e,t,n,r,o,i),null===e||ja?(t.effectTag|=1,Wa(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),ls(e,t,i))}function Qa(e,t,n,r,i){if(Ti(n)){var o=!0;Ai(t)}else o=!1;if(lo(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),Lo(t,n,r),Co(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,l=n.contextType;"object"==typeof l&&null!==l?l=co(l):l=vi(t,l=Ti(n)?mi:Ei.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==l)&&Do(t,a,r,l),fo=!1;var f=t.memoizedState;u=a.state=f;var _=t.updateQueue;null!==_&&(Io(t,_,r,a,i),u=t.memoizedState),s!==r||f!==u||hi.current||fo?("function"==typeof c&&(No(t,n,c,r),u=t.memoizedState),(s=fo||bo(t,n,s,r,f,u,l))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=l,r=s):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,s=t.memoizedProps,a.props=t.type===t.elementType?s:eo(t.type,s),u=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=co(l):l=vi(t,l=Ti(n)?mi:Ei.current),(d="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==l)&&Do(t,a,r,l),fo=!1,u=t.memoizedState,f=a.state=u,null!==(_=t.updateQueue)&&(Io(t,_,r,a,i),f=t.memoizedState),s!==r||u!==f||hi.current||fo?("function"==typeof c&&(No(t,n,c,r),f=t.memoizedState),(c=fo||bo(t,n,s,r,u,f,l))?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return Za(e,t,n,r,o,i)}function Za(e,t,n,r,i,o){Xa(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return i&&Oi(t,n,!1),ls(e,t,o);r=t.stateNode,Ba.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=ko(t,e.child,null,o),t.child=ko(t,null,s,o)):Wa(e,t,s,o),t.memoizedState=r.state,i&&Oi(t,n,!0),t.child}function $a(e){var t=e.stateNode;t.pendingContext?Si(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Si(0,t.context,!1),Bo(e,t.containerInfo)}var es,ts,ns,rs={dehydrated:null,retryTime:0};function is(e,t,n){var r,i=t.mode,o=t.pendingProps,a=zo.current,s=!1,u=0!=(64&t.effectTag);if((r=u)||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),_i(zo,1&a),null===e){if(void 0!==o.fallback&&(xa(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)))return 0==(2&t.mode)?t.expirationTime=1073741823:e.data===$n?(n=$i(n=nu(),5e3,250),t.expirationTime=n):t.expirationTime=1,null;if(s){if(s=o.fallback,(o=ju(null,i,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=ju(s,i,n,null)).return=t,o.sibling=n,t.memoizedState=rs,t.child=o,n}return i=o.children,t.memoizedState=null,t.child=Go(t,null,i,n)}if(null!==(a=e.memoizedState)){if(null!==(r=a.dehydrated)){if(u){if(null!==t.memoizedState)return t.child=e.child,t.effectTag|=64,null;if(s=o.fallback,(o=ju(null,i,0,null)).return=t,o.child=null,0==(2&t.mode))for(e=o.child=t.child;null!==e;)e.return=o,e=e.sibling;else ko(t,e.child,null,n);return(n=ju(s,i,n,null)).return=t,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,t.memoizedState=rs,t.child=o,n}if(0==(2&t.mode))t=os(e,t,n);else if(r.data===$n)t=os(e,t,n);else if(i=e.childExpirationTime>=n,ja||i)1073741823>n&&a.retryTime<=n&&(i=n+1,a.retryTime=i,iu(e,i)),gu(),t=os(e,t,n);else if(r.data===Zn)t.effectTag|=64,t.child=e.child,t=Uu.bind(null,e),r._reactRetry=t,t=null;else{for(Ua=sr(r.nextSibling),Va(t),ka=!0,i=n=Go(t,null,t.pendingProps.children,n);i;)i.effectTag|=1024,i=i.sibling;t.child=n,t=t.child}return t}if(i=(e=e.child).sibling,s){if(o=o.fallback,(n=Fu(e,e.pendingProps)).return=t,0==(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(i=Fu(i,o,i.expirationTime)).return=t,n.sibling=i,n.childExpirationTime=0,t.memoizedState=rs,t.child=n,i}return n=ko(t,e.child,o.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=o.fallback,(o=ju(null,i,0,null)).return=t,o.child=e,null!==e&&(e.return=o),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=ju(s,i,n,null)).return=t,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,t.memoizedState=rs,t.child=o,n}return t.memoizedState=null,t.child=ko(t,e,o.children,n)}function os(e,t,n){return t.memoizedState=null,Wa(e,t,t.pendingProps.children,n),t.child}function as(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),uo(e.return,t)}function ss(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function us(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Wa(e,t,r.children,n),0!=(2&(r=zo.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&as(e,n);else if(19===e.tag)as(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(_i(zo,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===qo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ss(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===qo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ss(t,!0,n,null,o,t.lastEffect);break;case"together":ss(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function ls(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&Tu(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Fu(e=t.child,e.pendingProps,e.expirationTime),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Fu(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}function cs(e){e.effectTag|=4}function ds(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function fs(e){switch(e.tag){case 1:Ti(e.type)&&gi();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(jo(),Ii(),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Ko(e),null;case 13:if(fi(zo),null!==(t=e.memoizedState)&&null!==t.dehydrated){if(null===e.alternate)throw Error(a(340));Fa()}return 4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return fi(zo),null;case 4:return jo(),null;case 10:return so(e),null;default:return null}}function _s(e,t){return{value:e,source:t,stack:Z(t)}}es=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},ts=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var s,u,l=t.stateNode;switch(Fo(xo.current),e=null,n){case"input":a=Ne(l,a),r=Ne(l,r),e=[];break;case"option":a=Me(l,a),r=Me(l,r),e=[];break;case"select":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case"textarea":a=we(l,a),r=we(l,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(l.onclick=Kn)}for(s in Bn(n,r),n=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s)for(u in l=a[s])l.hasOwnProperty(u)&&(n||(n={}),n[u]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(_.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in r){var c=r[s];if(l=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&c!==l&&(null!=c||null!=l))if("style"===s)if(l){for(u in l)!l.hasOwnProperty(u)||c&&c.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in c)c.hasOwnProperty(u)&&l[u]!==c[u]&&(n||(n={}),n[u]=c[u])}else n||(e||(e=[]),e.push(s,n)),n=c;else"dangerouslySetInnerHTML"===s?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(e=e||[]).push(s,""+c)):"children"===s?l===c||"string"!=typeof c&&"number"!=typeof c||(e=e||[]).push(s,""+c):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(_.hasOwnProperty(s)?(null!=c&&Wn(o,s),e||l===c||(e=[])):(e=e||[]).push(s,c))}n&&(e=e||[]).push("style",n),o=e,(t.updateQueue=o)&&cs(t)}},ns=function(e,t,n,r){n!==r&&cs(t)};var ps="function"==typeof WeakSet?WeakSet:Set;function Es(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=Z(n)),null!==n&&Q(n.type),t=t.value,null!==e&&1===e.tag&&Q(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function hs(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Mu(e,t)}else t.current=null}function ms(e,t){switch(t.tag){case 0:case 11:case 15:vs(2,0,t);break;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:eo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}break;case 3:case 5:case 6:case 4:case 17:break;default:throw Error(a(163))}}function vs(e,t,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var r=n=n.next;do{if(0!=(r.tag&e)){var i=r.destroy;r.destroy=void 0,void 0!==i&&i()}0!=(r.tag&t)&&(i=r.create,r.destroy=i()),r=r.next}while(r!==n)}}function Ts(e,t,n){switch("function"==typeof Yu&&Yu(t),t.tag){case 0:case 11:case 14:case 15:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;zi(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var i=t;try{n()}catch(e){Mu(i,e)}}e=e.next}while(e!==r)}))}break;case 1:hs(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Mu(e,t)}}(t,n);break;case 5:hs(t),t.stateNode.__reactEventHandlers$=null,t.stateNode.__reactInternalInstance$=null;break;case 6:t.stateNode.__reactEventHandlers$=null,t.stateNode.__reactInternalInstance$=null;break;case 4:ys(e,t,n);break;case 20:case 18:return}t.stateNode=null,null!=t.alternate&&(t.alternate.stateNode=null)}function gs(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,null!==t&&gs(t)}function Is(e){return 5===e.tag||3===e.tag||4===e.tag}function Ss(e){e:{for(var t=e.return;null!==t;){if(Is(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(je(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Is(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var i=e;;){var o=5===i.tag||6===i.tag;if(o){var s=o?i.stateNode:i.stateNode.instance;if(n)if(r){var u=s;s=n,8===(o=t).nodeType?o.parentNode.insertBefore(u,s):o.insertBefore(u,s)}else t.insertBefore(s,n);else r?(8===(u=t).nodeType?(o=u.parentNode).insertBefore(s,u):(o=u).appendChild(s),null!=(u=u._reactRootContainer)||null!==o.onclick||(o.onclick=Kn)):t.appendChild(s)}else if(4!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===e)break;for(;null===i.sibling;){if(null===i.return||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function ys(e,t,n){for(var r,i,o=t,s=!1;;){if(!s){s=o.return;e:for(;;){if(null===s)throw Error(a(160));switch(r=s.stateNode,s.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}s=s.return}s=!0}if(5===o.tag||6===o.tag){var u=o.stateNode;e:for(var l=e,c=o,d=n,f=c;;)if(Ts(l,f,d),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===c)break;for(;null===f.sibling;){if(null===f.return||f.return===c)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}i?8===(l=r).nodeType?l.parentNode.removeChild(u):l.removeChild(u):r.removeChild(u)}else if(18===o.tag)i?(u=r,l=o.stateNode,8===u.nodeType?ar(u.parentNode,l):1===u.nodeType&&ar(u,l),bt(u)):ar(r,o.stateNode);else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(Ts(e,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(s=!1)}o.sibling.return=o.return,o=o.sibling}}function As(e,t){switch(t.tag){case 0:case 11:case 14:case 15:vs(4,8,t);break;case 1:break;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n.__reactEventHandlers$=r,"input"===e&&"radio"===r.type&&null!=r.name&&be(n,r),jn(e,i),t=jn(e,r),i=0;i<o.length;i+=2){var s=o[i],u=o[i+1];"style"===s?Hn(n,u):"dangerouslySetInnerHTML"===s?Be(n,u):"children"===s?je(n,u):Se(n,s,u,t)}switch(e){case"input":Le(n,r);break;case"textarea":ke(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Pe(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Pe(n,!!r.multiple,r.defaultValue,!0):Pe(n,!!r.multiple,r.multiple?[]:"",!1))}}}break;case 6:if(null===t.stateNode)throw Error(a(162));t.stateNode.nodeValue=t.memoizedProps;break;case 3:(t=t.stateNode).hydrate&&(t.hydrate=!1,bt(t.containerInfo));break;case 12:break;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,js=ji()),null!==n)e:for(e=n;;){if(5===e.tag)o=e.stateNode,r?"function"==typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=e.stateNode,i=null!=(i=e.memoizedProps.style)&&i.hasOwnProperty("display")?i.display:null,o.style.display=Vn("display",i));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(o=e.child.sibling).return=e,e=o;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break e;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}Os(t);break;case 19:Os(t);break;case 17:case 20:case 21:break;default:throw Error(a(163))}}function Os(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ps),t.forEach((function(t){var r=ku.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var Ns="function"==typeof WeakMap?WeakMap:Map;function Rs(e,t,n){(n=Eo(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ks||(Ks=!0,zs=r),Es(e,t)},n}function bs(e,t,n){(n=Eo(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return Es(e,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===qs?qs=new Set([this]):qs.add(this),Es(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var Ls,Ds=Math.ceil,Cs=P.ReactCurrentDispatcher,Ms=P.ReactCurrentOwner,Ps=0,ws=null,Us=null,ks=0,Gs=0,Ys=null,xs=1073741823,Vs=1073741823,Hs=null,Fs=0,Bs=!1,js=0,Ws=null,Ks=!1,zs=null,qs=null,Xs=!1,Js=null,Qs=90,Zs=null,$s=0,eu=null,tu=0;function nu(){return 0!=(48&Ps)?1073741821-(ji()/10|0):0!==tu?tu:tu=1073741821-(ji()/10|0)}function ru(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Wi();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(16&Ps))return ks;if(null!==n)e=$i(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=$i(e,150,100);break;case 97:case 96:e=$i(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==ws&&e===ks&&--e,e}function iu(e,t){if(50<$s)throw $s=0,eu=null,Error(a(185));if(null!==(e=ou(e,t))){var n=Wi();1073741823===t?0!=(8&Ps)&&0==(48&Ps)?lu(e):(su(e),0===Ps&&Ji()):su(e),0==(4&Ps)||98!==n&&99!==n||(null===Zs?Zs=new Map([[e,t]]):(void 0===(n=Zs.get(e))||n>t)&&Zs.set(e,t))}}function ou(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&3===e.tag)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(ws===i&&(Tu(t),4===Gs&&Xu(i,ks)),Ju(i,t)),i}function au(e){var t=e.lastExpiredTime;return 0!==t?t:qu(e,t=e.firstPendingTime)?(t=e.lastPingedTime)>(e=e.nextKnownPendingLevel)?t:e:t}function su(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Xi(lu.bind(null,e));else{var t=au(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=nu();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var i=e.callbackPriority;if(e.callbackExpirationTime===t&&i>=r)return;n!==Yi&&bi(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Xi(lu.bind(null,e)):qi(r,uu.bind(null,e),{timeout:10*(1073741821-t)-ji()}),e.callbackNode=t}}}function uu(e,t){if(tu=0,t)return Qu(e,t=nu()),su(e),null;var n=au(e);if(0!==n){if(t=e.callbackNode,0!=(48&Ps))throw Error(a(327));if(Lu(),e===ws&&n===ks||Eu(e,n),null!==Us){var r=Ps;Ps|=16;for(var i=mu();;)try{Su();break}catch(t){hu(e,t)}if(oo(),Ps=r,Cs.current=i,1===Gs)throw t=Ys,Eu(e,n),Xu(e,n),su(e),t;if(null===Us)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Gs,ws=null,r){case 0:case 1:throw Error(a(345));case 2:Qu(e,2<n?2:n);break;case 3:if(Xu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=Ou(i)),1073741823===xs&&10<(i=js+500-ji())){if(Bs){var o=e.lastPingedTime;if(0===o||o>=n){e.lastPingedTime=n,Eu(e,n);break}}if(0!==(o=au(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=ir(Nu.bind(null,e),i);break}Nu(e);break;case 4:if(Xu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=Ou(i)),Bs&&(0===(i=e.lastPingedTime)||i>=n)){e.lastPingedTime=n,Eu(e,n);break}if(0!==(i=au(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Vs?r=10*(1073741821-Vs)-ji():1073741823===xs?r=0:(r=10*(1073741821-xs)-5e3,0>(r=(i=ji())-r)&&(r=0),(n=10*(1073741821-n)-i)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ds(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=ir(Nu.bind(null,e),r);break}Nu(e);break;case 5:if(1073741823!==xs&&null!==Hs){o=xs;var s=Hs;if(0>=(r=0|s.busyMinDurationMs)?r=0:(i=0|s.busyDelayMs,r=(o=ji()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)))<=i?0:i+r-o),10<r){Xu(e,n),e.timeoutHandle=ir(Nu.bind(null,e),r);break}}Nu(e);break;default:throw Error(a(329))}if(su(e),e.callbackNode===t)return uu.bind(null,e)}}return null}function lu(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,e.finishedExpirationTime===t)Nu(e);else{if(0!=(48&Ps))throw Error(a(327));if(Lu(),e===ws&&t===ks||Eu(e,t),null!==Us){var n=Ps;Ps|=16;for(var r=mu();;)try{Iu();break}catch(t){hu(e,t)}if(oo(),Ps=n,Cs.current=r,1===Gs)throw n=Ys,Eu(e,t),Xu(e,t),su(e),n;if(null!==Us)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,ws=null,Nu(e),su(e)}}return null}function cu(){0==(49&Ps)&&(function(){if(null!==Zs){var e=Zs;Zs=null,e.forEach((function(e,t){Qu(t,e),su(t)})),Ji()}}(),Lu())}function du(e,t){var n=Ps;Ps|=1;try{return e(t)}finally{0===(Ps=n)&&Ji()}}function fu(e,t,n,r){var i=Ps;Ps|=4;try{return zi(98,e.bind(null,t,n,r))}finally{0===(Ps=i)&&Ji()}}function _u(e,t){var n=Ps;Ps&=-2,Ps|=8;try{return e(t)}finally{0===(Ps=n)&&Ji()}}function pu(e,t){if(0!=(48&Ps))throw Error(a(187));var n=Ps;Ps|=1;try{return zi(99,e.bind(null,t))}finally{Ps=n,Ji()}}function Eu(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,or(n)),null!==Us)for(n=Us.return;null!==n;){var r=n;switch(r.tag){case 1:var i=r.type.childContextTypes;null!=i&&gi();break;case 3:jo(),Ii();break;case 5:Ko(r);break;case 4:jo();break;case 13:case 19:fi(zo);break;case 10:so(r)}n=n.return}ws=e,Us=Fu(e.current,null),ks=t,Gs=0,Ys=null,Vs=xs=1073741823,Hs=null,Fs=0,Bs=!1}function hu(e,t){for(;;){try{if(oo(),pa(),null===Us||null===Us.return)return Gs=1,Ys=t,null;e:{var n=e,r=Us.return,i=Us,o=t;if(t=ks,i.effectTag|=2048,i.firstEffect=i.lastEffect=null,null!==o&&"object"==typeof o&&"function"==typeof o.then){var a=o,s=0!=(1&zo.current),u=r;do{var l;if(l=13===u.tag){var c=u.memoizedState;if(null!==c)l=null!==c.dehydrated;else{var d=u.memoizedProps;l=void 0!==d.fallback&&(!0!==d.unstable_avoidThisFallback||!s)}}if(l){var f=u.updateQueue;if(null===f){var _=new Set;_.add(a),u.updateQueue=_}else f.add(a);if(0==(2&u.mode)){if(u.effectTag|=64,i.effectTag&=-2981,1===i.tag)if(null===i.alternate)i.tag=17;else{var p=Eo(1073741823,null);p.tag=2,mo(i,p)}i.expirationTime=1073741823;break e}o=void 0,i=t;var E=n.pingCache;if(null===E?(E=n.pingCache=new Ns,o=new Set,E.set(a,o)):void 0===(o=E.get(a))&&(o=new Set,E.set(a,o)),!o.has(i)){o.add(i);var h=Pu.bind(null,n,a,i);a.then(h,h)}u.effectTag|=4096,u.expirationTime=t;break e}u=u.return}while(null!==u);o=Error((Q(i.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+Z(i))}5!==Gs&&(Gs=2),o=_s(o,i),u=r;do{switch(u.tag){case 3:a=o,u.effectTag|=4096,u.expirationTime=t,vo(u,Rs(u,a,t));break e;case 1:a=o;var m=u.type,v=u.stateNode;if(0==(64&u.effectTag)&&("function"==typeof m.getDerivedStateFromError||null!==v&&"function"==typeof v.componentDidCatch&&(null===qs||!qs.has(v)))){u.effectTag|=4096,u.expirationTime=t,vo(u,bs(u,a,t));break e}}u=u.return}while(null!==u)}Us=Au(Us)}catch(e){t=e;continue}break}}function mu(){var e=Cs.current;return Cs.current=Ca,null===e?Ca:e}function vu(e,t){e<xs&&2<e&&(xs=e),null!==t&&e<Vs&&2<e&&(Vs=e,Hs=t)}function Tu(e){e>Fs&&(Fs=e)}function gu(){0!==Gs&&3!==Gs||(Gs=4),0!==Fs&&null!==ws&&(Xu(ws,ks),Ju(ws,Fs))}function Iu(){for(;null!==Us;)Us=yu(Us)}function Su(){for(;null!==Us&&!Li();)Us=yu(Us)}function yu(e){var t=Ls(e.alternate,e,ks);return e.memoizedProps=e.pendingProps,null===t&&(t=Au(e)),Ms.current=null,t}function Au(e){Us=e;do{var t=Us.alternate;if(e=Us.return,0==(2048&Us.effectTag)){e:{var n=t,r=ks,o=(t=Us).pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:Ti(t.type)&&gi();break;case 3:jo(),Ii(),(o=t.stateNode).pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(null===n||null===n.child)&&Ha(t)&&cs(t);break;case 5:Ko(t),r=Fo(Ho.current);var s=t.type;if(null!==n&&null!=t.stateNode)ts(n,t,s,o,r),n.ref!==t.ref&&(t.effectTag|=128);else if(o){var u=Fo(xo.current);if(Ha(t)){var l=(o=t).stateNode;n=o.type;var c=o.memoizedProps,d=r;switch(l[lr]=o,l.__reactEventHandlers$=c,s=void 0,r=l,n){case"iframe":case"object":case"embed":Rn("load",r);break;case"video":case"audio":for(l=0;l<et.length;l++)Rn(et[l],r);break;case"source":Rn("error",r);break;case"img":case"image":case"link":Rn("error",r),Rn("load",r);break;case"form":Rn("reset",r),Rn("submit",r);break;case"details":Rn("toggle",r);break;case"input":Re(r,c),Rn("invalid",r),Wn(d,"onChange");break;case"select":r._wrapperState={wasMultiple:!!c.multiple},Rn("invalid",r),Wn(d,"onChange");break;case"textarea":Ue(r,c),Rn("invalid",r),Wn(d,"onChange")}for(s in Bn(n,c),l=null,c)c.hasOwnProperty(s)&&(u=c[s],"children"===s?"string"==typeof u?r.textContent!==u&&(l=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(l=["children",""+u]):_.hasOwnProperty(s)&&null!=u&&Wn(d,s));switch(n){case"input":Ae(r),De(r,c,!0);break;case"textarea":Ae(r),Ge(r);break;case"select":case"option":break;default:"function"==typeof c.onClick&&(r.onclick=Kn)}s=l,o.updateQueue=s,(o=null!==s)&&cs(t)}else{n=t,d=s,c=o,l=9===r.nodeType?r:r.ownerDocument,u===Ye&&(u=Ve(d)),u===Ye?"script"===d?((c=l.createElement("div")).innerHTML="<script><\/script>",l=c.removeChild(c.firstChild)):"string"==typeof c.is?l=l.createElement(d,{is:c.is}):(l=l.createElement(d),"select"===d&&(d=l,c.multiple?d.multiple=!0:c.size&&(d.size=c.size))):l=l.createElementNS(u,d),(c=l)[lr]=n,c.__reactEventHandlers$=o,es(c,t),t.stateNode=c;var f=r,p=jn(d=s,n=o);switch(d){case"iframe":case"object":case"embed":Rn("load",c),r=n;break;case"video":case"audio":for(r=0;r<et.length;r++)Rn(et[r],c);r=n;break;case"source":Rn("error",c),r=n;break;case"img":case"image":case"link":Rn("error",c),Rn("load",c),r=n;break;case"form":Rn("reset",c),Rn("submit",c),r=n;break;case"details":Rn("toggle",c),r=n;break;case"input":Re(c,n),r=Ne(c,n),Rn("invalid",c),Wn(f,"onChange");break;case"option":r=Me(c,n);break;case"select":c._wrapperState={wasMultiple:!!n.multiple},r=i({},n,{value:void 0}),Rn("invalid",c),Wn(f,"onChange");break;case"textarea":Ue(c,n),r=we(c,n),Rn("invalid",c),Wn(f,"onChange");break;default:r=n}Bn(d,r),l=void 0,u=d;var E=c,h=r;for(l in h)if(h.hasOwnProperty(l)){var m=h[l];"style"===l?Hn(E,m):"dangerouslySetInnerHTML"===l?null!=(m=m?m.__html:void 0)&&Be(E,m):"children"===l?"string"==typeof m?("textarea"!==u||""!==m)&&je(E,m):"number"==typeof m&&je(E,""+m):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(_.hasOwnProperty(l)?null!=m&&Wn(f,l):null!=m&&Se(E,l,m,p))}switch(d){case"input":Ae(c),De(c,n,!1);break;case"textarea":Ae(c),Ge(c);break;case"option":null!=n.value&&c.setAttribute("value",""+Ie(n.value));break;case"select":(r=c).multiple=!!n.multiple,null!=(c=n.value)?Pe(r,!!n.multiple,c,!1):null!=n.defaultValue&&Pe(r,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof r.onClick&&(c.onclick=Kn)}(o=nr(s,o))&&cs(t)}null!==t.ref&&(t.effectTag|=128)}else if(null===t.stateNode)throw Error(a(166));break;case 6:if(n&&null!=t.stateNode)ns(0,t,n.memoizedProps,o);else{if("string"!=typeof o&&null===t.stateNode)throw Error(a(166));r=Fo(Ho.current),Fo(xo.current),Ha(t)?(s=(o=t).stateNode,r=o.memoizedProps,s[lr]=o,(o=s.nodeValue!==r)&&cs(t)):(s=t,(o=(9===r.nodeType?r:r.ownerDocument).createTextNode(o))[lr]=s,t.stateNode=o)}break;case 11:break;case 13:if(fi(zo),null!==(o=t.memoizedState)&&null!==o.dehydrated){if(null===n){if(!Ha(t))throw Error(a(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(a(317));o[lr]=t}else Fa(),0==(64&t.effectTag)&&(t.memoizedState=null),t.effectTag|=4;break}if(0!=(64&t.effectTag)){t.expirationTime=r;break e}o=null!==o,s=!1,null===n?void 0!==t.memoizedProps.fallback&&Ha(t):(s=null!==(r=n.memoizedState),o||null===r||null!==(r=n.child.sibling)&&(null!==(c=t.firstEffect)?(t.firstEffect=r,r.nextEffect=c):(t.firstEffect=t.lastEffect=r,r.nextEffect=null),r.effectTag=8)),o&&!s&&0!=(2&t.mode)&&(null===n&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&zo.current)?0===Gs&&(Gs=3):gu()),(o||s)&&(t.effectTag|=4);break;case 7:case 8:case 12:break;case 4:jo();break;case 10:so(t);break;case 9:case 14:break;case 17:Ti(t.type)&&gi();break;case 19:if(fi(zo),null===(o=t.memoizedState))break;if(s=0!=(64&t.effectTag),null===(c=o.rendering)){if(s)ds(o,!1);else if(0!==Gs||null!==n&&0!=(64&n.effectTag))for(n=t.child;null!==n;){if(null!==(c=qo(n))){for(t.effectTag|=64,ds(o,!1),null!==(s=c.updateQueue)&&(t.updateQueue=s,t.effectTag|=4),null===o.lastEffect&&(t.firstEffect=null),t.lastEffect=o.lastEffect,o=r,s=t.child;null!==s;)n=o,(r=s).effectTag&=2,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null,null===(c=r.alternate)?(r.childExpirationTime=0,r.expirationTime=n,r.child=null,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null):(r.childExpirationTime=c.childExpirationTime,r.expirationTime=c.expirationTime,r.child=c.child,r.memoizedProps=c.memoizedProps,r.memoizedState=c.memoizedState,r.updateQueue=c.updateQueue,n=c.dependencies,r.dependencies=null===n?null:{expirationTime:n.expirationTime,firstContext:n.firstContext,responders:n.responders}),s=s.sibling;_i(zo,1&zo.current|2),t=t.child;break e}n=n.sibling}}else{if(!s)if(null!==(n=qo(c))){if(t.effectTag|=64,s=!0,null!==(r=n.updateQueue)&&(t.updateQueue=r,t.effectTag|=4),ds(o,!0),null===o.tail&&"hidden"===o.tailMode&&!c.alternate){null!==(t=t.lastEffect=o.lastEffect)&&(t.nextEffect=null);break}}else ji()>o.tailExpiration&&1<r&&(t.effectTag|=64,s=!0,ds(o,!1),t.expirationTime=t.childExpirationTime=r-1);o.isBackwards?(c.sibling=t.child,t.child=c):(null!==(r=o.last)?r.sibling=c:t.child=c,o.last=c)}if(null!==o.tail){0===o.tailExpiration&&(o.tailExpiration=ji()+500),r=o.tail,o.rendering=r,o.tail=r.sibling,o.lastEffect=t.lastEffect,r.sibling=null,o=zo.current,_i(zo,o=s?1&o|2:1&o),t=r;break e}break;case 20:case 21:break;default:throw Error(a(156,t.tag))}t=null}if(o=Us,1===ks||1!==o.childExpirationTime){for(s=0,r=o.child;null!==r;)(n=r.expirationTime)>s&&(s=n),(c=r.childExpirationTime)>s&&(s=c),r=r.sibling;o.childExpirationTime=s}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Us.firstEffect),null!==Us.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Us.firstEffect),e.lastEffect=Us.lastEffect),1<Us.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Us:e.firstEffect=Us,e.lastEffect=Us))}else{if(null!==(t=fs(Us)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Us.sibling))return t;Us=e}while(null!==Us);return 0===Gs&&(Gs=5),null}function Ou(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function Nu(e){var t=Wi();return zi(99,Ru.bind(null,e,t)),null}function Ru(e,t){do{Lu()}while(null!==Js);if(0!=(48&Ps))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=Ou(n);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===ws&&(Us=ws=null,ks=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=Ps;Ps|=32,Ms.current=null,er=Nn;var s=Jn();if(Qn(s)){if("selectionStart"in s)var u={start:s.selectionStart,end:s.selectionEnd};else e:{var l=(u=(u=s.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(l&&0!==l.rangeCount){u=l.anchorNode;var c=l.anchorOffset,d=l.focusNode;l=l.focusOffset;try{u.nodeType,d.nodeType}catch(e){u=null;break e}var f=0,_=-1,p=-1,E=0,h=0,m=s,v=null;t:for(;;){for(var T;m!==u||0!==c&&3!==m.nodeType||(_=f+c),m!==d||0!==l&&3!==m.nodeType||(p=f+l),3===m.nodeType&&(f+=m.nodeValue.length),null!==(T=m.firstChild);)v=m,m=T;for(;;){if(m===s)break t;if(v===u&&++E===c&&(_=f),v===d&&++h===l&&(p=f),null!==(T=m.nextSibling))break;v=(m=v).parentNode}m=T}u=-1===_||-1===p?null:{start:_,end:p}}else u=null}u=u||{start:0,end:0}}else u=null;tr={activeElementDetached:null,focusedElem:s,selectionRange:u},Nn=!1,Ws=i;do{try{bu()}catch(e){if(null===Ws)throw Error(a(330));Mu(Ws,e),Ws=Ws.nextEffect}}while(null!==Ws);Ws=i;do{try{for(s=e,u=t;null!==Ws;){var g=Ws.effectTag;if(16&g&&je(Ws.stateNode,""),128&g){var I=Ws.alternate;if(null!==I){var S=I.ref;null!==S&&("function"==typeof S?S(null):S.current=null)}}switch(1038&g){case 2:Ss(Ws),Ws.effectTag&=-3;break;case 6:Ss(Ws),Ws.effectTag&=-3,As(Ws.alternate,Ws);break;case 1024:Ws.effectTag&=-1025;break;case 1028:Ws.effectTag&=-1025,As(Ws.alternate,Ws);break;case 4:As(Ws.alternate,Ws);break;case 8:ys(s,c=Ws,u),gs(c)}Ws=Ws.nextEffect}}catch(e){if(null===Ws)throw Error(a(330));Mu(Ws,e),Ws=Ws.nextEffect}}while(null!==Ws);if(S=tr,I=Jn(),g=S.focusedElem,u=S.selectionRange,I!==g&&g&&g.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(g.ownerDocument.documentElement,g)){null!==u&&Qn(g)&&(I=u.start,void 0===(S=u.end)&&(S=I),"selectionStart"in g?(g.selectionStart=I,g.selectionEnd=Math.min(S,g.value.length)):(S=(I=g.ownerDocument||document)&&I.defaultView||window).getSelection&&(S=S.getSelection(),c=g.textContent.length,s=Math.min(u.start,c),u=void 0===u.end?s:Math.min(u.end,c),!S.extend&&s>u&&(c=u,u=s,s=c),c=Xn(g,s),d=Xn(g,u),c&&d&&(1!==S.rangeCount||S.anchorNode!==c.node||S.anchorOffset!==c.offset||S.focusNode!==d.node||S.focusOffset!==d.offset)&&((I=I.createRange()).setStart(c.node,c.offset),S.removeAllRanges(),s>u?(S.addRange(I),S.extend(d.node,d.offset)):(I.setEnd(d.node,d.offset),S.addRange(I))))),I=[];for(S=g;S=S.parentNode;)1===S.nodeType&&I.push({element:S,left:S.scrollLeft,top:S.scrollTop});for("function"==typeof g.focus&&g.focus(),g=0;g<I.length;g++)(S=I[g]).element.scrollLeft=S.left,S.element.scrollTop=S.top}Nn=!!er,tr=er=null,e.current=n,Ws=i;do{try{for(g=r;null!==Ws;){var y=Ws.effectTag;if(36&y){var A=Ws.alternate;switch(S=g,(I=Ws).tag){case 0:case 11:case 15:vs(16,32,I);break;case 1:var O=I.stateNode;if(4&I.effectTag)if(null===A)O.componentDidMount();else{var N=I.elementType===I.type?A.memoizedProps:eo(I.type,A.memoizedProps);O.componentDidUpdate(N,A.memoizedState,O.__reactInternalSnapshotBeforeUpdate)}var R=I.updateQueue;null!==R&&So(0,R,O);break;case 3:var b=I.updateQueue;if(null!==b){if(s=null,null!==I.child)switch(I.child.tag){case 5:s=I.child.stateNode;break;case 1:s=I.child.stateNode}So(0,b,s)}break;case 5:var L=I.stateNode;null===A&&4&I.effectTag&&nr(I.type,I.memoizedProps)&&L.focus();break;case 6:case 4:case 12:break;case 13:if(null===I.memoizedState){var D=I.alternate;if(null!==D){var C=D.memoizedState;if(null!==C){var M=C.dehydrated;null!==M&&bt(M)}}}break;case 19:case 17:case 20:case 21:break;default:throw Error(a(163))}}if(128&y){I=void 0;var P=Ws.ref;if(null!==P){var w=Ws.stateNode;switch(Ws.tag){case 5:I=w;break;default:I=w}"function"==typeof P?P(I):P.current=I}}Ws=Ws.nextEffect}}catch(e){if(null===Ws)throw Error(a(330));Mu(Ws,e),Ws=Ws.nextEffect}}while(null!==Ws);Ws=null,xi(),Ps=o}else e.current=n;if(Xs)Xs=!1,Js=e,Qs=t;else for(Ws=i;null!==Ws;)t=Ws.nextEffect,Ws.nextEffect=null,Ws=t;if(0===(t=e.firstPendingTime)&&(qs=null),1073741823===t?e===eu?$s++:($s=0,eu=e):$s=0,"function"==typeof Gu&&Gu(n.stateNode,r),su(e),Ks)throw Ks=!1,e=zs,zs=null,e;return 0!=(8&Ps)||Ji(),null}function bu(){for(;null!==Ws;){var e=Ws.effectTag;0!=(256&e)&&ms(Ws.alternate,Ws),0==(512&e)||Xs||(Xs=!0,qi(97,(function(){return Lu(),null}))),Ws=Ws.nextEffect}}function Lu(){if(90!==Qs){var e=97<Qs?97:Qs;return Qs=90,zi(e,Du)}}function Du(){if(null===Js)return!1;var e=Js;if(Js=null,0!=(48&Ps))throw Error(a(331));var t=Ps;for(Ps|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:vs(128,0,n),vs(0,64,n)}}catch(t){if(null===e)throw Error(a(330));Mu(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return Ps=t,Ji(),!0}function Cu(e,t,n){mo(e,t=Rs(e,t=_s(n,t),1073741823)),null!==(e=ou(e,1073741823))&&su(e)}function Mu(e,t){if(3===e.tag)Cu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Cu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===qs||!qs.has(r))){mo(n,e=bs(n,e=_s(t,e),1073741823)),null!==(n=ou(n,1073741823))&&su(n);break}}n=n.return}}function Pu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),ws===e&&ks===n?4===Gs||3===Gs&&1073741823===xs&&ji()-js<500?Eu(e,ks):Bs=!0:qu(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,e.finishedExpirationTime===n&&(e.finishedExpirationTime=0,e.finishedWork=null),su(e)))}function wu(e,t){0===t&&(t=ru(t=nu(),e,null)),null!==(e=ou(e,t))&&su(e)}function Uu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryTime),wu(e,n)}function ku(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryTime);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(t),wu(e,n)}Ls=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||hi.current)ja=!0;else{if(r<n){switch(ja=!1,t.tag){case 3:$a(t),Fa();break;case 5:if(Wo(t),4&t.mode&&1!==n&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:Ti(t.type)&&Ai(t);break;case 4:Bo(t,t.stateNode.containerInfo);break;case 10:ao(t,t.memoizedProps.value);break;case 13:if(null!==(r=t.memoizedState)){if(null!==r.dehydrated){_i(zo,1&zo.current),t.effectTag|=64;break}return 0!==(r=t.child.childExpirationTime)&&r>=n?is(e,t,n):(_i(zo,1&zo.current),null!==(t=ls(e,t,n))?t.sibling:null)}_i(zo,1&zo.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return us(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),_i(zo,zo.current),!r)return null}return ls(e,t,n)}ja=!1}}else ja=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=vi(t,Ei.current),lo(t,n),i=_a(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,pa(),Ti(r)){var o=!0;Ai(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null;var s=r.getDerivedStateFromProps;"function"==typeof s&&No(t,r,s,e),i.updater=Ro,t.stateNode=i,i._reactInternalFiber=t,Co(t,r,e,n),t=Za(null,t,r,!0,o,n)}else t.tag=0,Wa(null,t,i,n),t=t.child;return t;case 16:if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,o=t.tag=function(e){if("function"==typeof e)return Hu(e)?1:0;if(null!=e){if((e=e.$$typeof)===j)return 11;if(e===z)return 14}return 2}(i),e=eo(i,e),o){case 0:t=Ja(null,t,i,e,n);break;case 1:t=Qa(null,t,i,e,n);break;case 11:t=Ka(null,t,i,e,n);break;case 14:t=za(null,t,i,eo(i.type,e),r,n);break;default:throw Error(a(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,Ja(e,t,r,i=t.elementType===r?i:eo(r,i),n);case 1:return r=t.type,i=t.pendingProps,Qa(e,t,r,i=t.elementType===r?i:eo(r,i),n);case 3:if($a(t),null===(r=t.updateQueue))throw Error(a(282));if(i=null!==(i=t.memoizedState)?i.element:null,Io(t,r,t.pendingProps,null,n),(r=t.memoizedState.element)===i)Fa(),t=ls(e,t,n);else{if((i=t.stateNode.hydrate)&&(Ua=sr(t.stateNode.containerInfo.firstChild),wa=t,i=ka=!0),i)for(n=Go(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Wa(e,t,r,n),Fa();t=t.child}return t;case 5:return Wo(t),null===e&&xa(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,rr(r,i)?s=null:null!==o&&rr(r,o)&&(t.effectTag|=16),Xa(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Wa(e,t,s,n),t=t.child),t;case 6:return null===e&&xa(t),null;case 13:return is(e,t,n);case 4:return Bo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ko(t,null,r,n):Wa(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Ka(e,t,r,i=t.elementType===r?i:eo(r,i),n);case 7:return Wa(e,t,t.pendingProps,n),t.child;case 8:case 12:return Wa(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,ao(t,o=i.value),null!==s){var u=s.value;if(0===(o=$r(u,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,o):1073741823))){if(s.children===i.children&&!hi.current){t=ls(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var l=s.dependencies;if(null!==l){u=s.child;for(var c=l.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&o)){1===s.tag&&((c=Eo(n,null)).tag=2,mo(s,c)),s.expirationTime<n&&(s.expirationTime=n),null!==(c=s.alternate)&&c.expirationTime<n&&(c.expirationTime=n),uo(s.return,n),l.expirationTime<n&&(l.expirationTime=n);break}c=c.next}}else if(10===s.tag)u=s.type===t.type?null:s.child;else if(18===s.tag){if(null===(u=s.return))throw Error(a(341));u.expirationTime<n&&(u.expirationTime=n),null!==(l=u.alternate)&&l.expirationTime<n&&(l.expirationTime=n),uo(u,n),u=s.sibling}else u=s.child;if(null!==u)u.return=s;else for(u=s;null!==u;){if(u===t){u=null;break}if(null!==(s=u.sibling)){s.return=u.return,u=s;break}u=u.return}s=u}}Wa(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,lo(t,n),r=r(i=co(i,o.unstable_observedBits)),t.effectTag|=1,Wa(e,t,r,n),t.child;case 14:return o=eo(i=t.type,t.pendingProps),za(e,t,i,o=eo(i.type,o),r,n);case 15:return qa(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:eo(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,Ti(r)?(e=!0,Ai(t)):e=!1,lo(t,n),Lo(t,r,i),Co(t,r,i,n),Za(null,t,r,!0,e,n);case 19:return us(e,t,n)}throw Error(a(156,t.tag))};var Gu=null,Yu=null;function xu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Vu(e,t,n,r){return new xu(e,t,n,r)}function Hu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Fu(e,t){var n=e.alternate;return null===n?((n=Vu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Bu(e,t,n,r,i,o){var s=2;if(r=e,"function"==typeof e)Hu(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case Y:return ju(n.children,i,o,t);case B:s=8,i|=7;break;case x:s=8,i|=1;break;case V:return(e=Vu(12,n,t,8|i)).elementType=V,e.type=V,e.expirationTime=o,e;case W:return(e=Vu(13,n,t,i)).type=W,e.elementType=W,e.expirationTime=o,e;case K:return(e=Vu(19,n,t,i)).elementType=K,e.expirationTime=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case H:s=10;break e;case F:s=9;break e;case j:s=11;break e;case z:s=14;break e;case q:s=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Vu(s,n,t,i)).elementType=e,t.type=r,t.expirationTime=o,t}function ju(e,t,n,r){return(e=Vu(7,e,r,t)).expirationTime=n,e}function Wu(e,t,n){return(e=Vu(6,e,null,t)).expirationTime=n,e}function Ku(e,t,n){return(t=Vu(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zu(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function qu(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Xu(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Ju(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Qu(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Zu(e,t,n,r){var i=t.current,o=nu(),s=Ao.suspense;o=ru(o,i,s);e:if(n){t:{if(tt(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(Ti(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(a(171))}if(1===n.tag){var l=n.type;if(Ti(l)){n=yi(n,l,u);break e}}n=u}else n=pi;return null===t.context?t.context=n:t.pendingContext=n,(t=Eo(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),mo(i,t),iu(i,o),o}function $u(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function el(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function tl(e,t){el(e,t),(e=e.alternate)&&el(e,t)}function nl(e,t){this._internalRoot=il(e,2,t)}function rl(e,t,n){this._internalRoot=il(e,t,n)}function il(e,t,n){var r=new zu(e,t,n=null!=n&&!0===n.hydrate),i=Vu(3,null,null,2===t?7:1===t?3:0);return r.current=i,i.stateNode=r,e[cr]=r.current,n&&0!==t&&function(e){var t=kn(e);mt.forEach((function(n){Gn(n,e,t)})),vt.forEach((function(n){Gn(n,e,t)}))}(9===e.nodeType?e:e.ownerDocument),r}function ol(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function al(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"==typeof i){var s=i;i=function(){var e=$u(a);s.call(e)}}Zu(t,a,e,i)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new rl(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"==typeof i){var u=i;i=function(){var e=$u(a);u.call(e)}}_u((function(){Zu(t,a,e,i)}))}return $u(a)}function sl(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:G,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function ul(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ol(t))throw Error(a(200));return sl(e,t,null,n)}nl.prototype.render=rl.prototype.render=function(e,t){Zu(e,this._internalRoot,null,void 0===t?null:t)},nl.prototype.unmount=rl.prototype.unmount=function(e){var t=this._internalRoot,n=void 0===e?null:e,r=t.containerInfo;Zu(null,t,null,(function(){r[cr]=null,null!==n&&n()}))},ot=function(e){switch(e.tag){case 3:var t=e.stateNode;t.hydrate&&function(e,t){Qu(e,t),su(e),0==(48&Ps)&&Ji()}(t,t.firstPendingTime);break;case 13:pu((function(){return iu(e,1073741823)})),t=$i(nu(),150,100),tl(e,t)}},at=function(e){if(13===e.tag){var t=$i(nu(),150,100);iu(e,t),tl(e,t)}},st=function(e){if(13===e.tag){nu();var t=Zi++;iu(e,t),tl(e,t)}},ut=function(e){if(13===e.tag){var t=nu();iu(e,t=ru(t,e,null)),tl(e,t)}},ee=function(e,t,n){switch(t){case"input":if(Le(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=pr(r);if(!i)throw Error(a(90));Oe(r),Le(r,i)}}}break;case"textarea":ke(e,n);break;case"select":null!=(t=n.value)&&Pe(e,!!n.multiple,t,!1)}},ae=du,se=fu,ue=cu,le=function(e,t){var n=Ps;Ps|=2;try{return e(t)}finally{0===(Ps=n)&&Ji()}};var ll,cl,dl={createPortal:ul,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=it(t))?null:e.stateNode},hydrate:function(e,t,n){if(!ol(t))throw Error(a(200));return al(null,e,t,!0,n)},render:function(e,t,n){if(!ol(t))throw Error(a(200));return al(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){if(!ol(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return al(e,t,n,!1,r)},unmountComponentAtNode:function(e){if(!ol(e))throw Error(a(40));return!!e._reactRootContainer&&(_u((function(){al(null,null,e,!1,(function(){e._reactRootContainer=null,e[cr]=null}))})),!0)},unstable_createPortal:function(){return ul.apply(void 0,arguments)},unstable_batchedUpdates:du,flushSync:pu,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[fr,_r,pr,C.injectEventPluginsByName,f,Ut,function(e){R(e,wt)},ie,oe,Mn,D,Lu,{current:!1}]},createRoot:function(e,t){if(!ol(e))throw Error(a(299));return new nl(e,t)},createBlockingRoot:function(e,t){if(!ol(e))throw Error(a(299));return new rl(e,1,t)}};dl.unstable_discreteUpdates=fu,dl.unstable_flushDiscreteUpdates=cu,dl.unstable_flushControlled=function(e){var t=Ps;Ps|=1;try{zi(99,e)}finally{0===(Ps=t)&&Ji()}},dl.unstable_scheduleHydration=function(e){if(e){var t=o.unstable_getCurrentPriorityLevel();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ht.length&&!(t<=ht[n].priority);n++);ht.splice(n,0,e),0===n&&yt(e)}},cl=(ll={findFiberByHostInstance:dr,bundleType:0,version:"16.12.0",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Gu=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},Yu=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(i({},ll,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:P.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=it(e))?null:e.stateNode},findFiberByHostInstance:function(e){return cl?cl(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}));var fl={default:dl},_l=fl&&dl||fl;e.exports=_l.default||_l},function(e,t,n){"use strict";e.exports=n(1584)},function(e,t,n){"use strict";var r,i,o,a,s;if(Object.defineProperty(t,"__esModule",{value:!0}),"undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,l=null,c=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(c,0),e}},d=Date.now();t.unstable_now=function(){return Date.now()-d},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(c,0))},i=function(e,t){l=setTimeout(e,t)},o=function(){clearTimeout(l)},a=function(){return!1},s=t.unstable_forceFrameRate=function(){}}else{var f=window.performance,_=window.Date,p=window.setTimeout,E=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof f&&"function"==typeof f.now)t.unstable_now=function(){return f.now()};else{var m=_.now();t.unstable_now=function(){return _.now()-m}}var v=!1,T=null,g=-1,I=5,S=0;a=function(){return t.unstable_now()>=S},s=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):I=0<e?Math.floor(1e3/e):5};var y=new MessageChannel,A=y.port2;y.port1.onmessage=function(){if(null!==T){var e=t.unstable_now();S=e+I;try{T(!0,e)?A.postMessage(null):(v=!1,T=null)}catch(e){throw A.postMessage(null),e}}else v=!1},r=function(e){T=e,v||(v=!0,A.postMessage(null))},i=function(e,n){g=p((function(){e(t.unstable_now())}),n)},o=function(){E(g),g=-1}}function O(e,t){var n=e.length;e.push(t);e:for(;;){var r=Math.floor((n-1)/2),i=e[r];if(!(void 0!==i&&0<b(i,t)))break e;e[r]=t,e[n]=i,n=r}}function N(e){return void 0===(e=e[0])?null:e}function R(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],s=o+1,u=e[s];if(void 0!==a&&0>b(a,n))void 0!==u&&0>b(u,a)?(e[r]=u,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==u&&0>b(u,n)))break e;e[r]=u,e[s]=n,r=s}}}return t}return null}function b(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var L=[],D=[],C=1,M=null,P=3,w=!1,U=!1,k=!1;function G(e){for(var t=N(D);null!==t;){if(null===t.callback)R(D);else{if(!(t.startTime<=e))break;R(D),t.sortIndex=t.expirationTime,O(L,t)}t=N(D)}}function Y(e){if(k=!1,G(e),!U)if(null!==N(L))U=!0,r(x);else{var t=N(D);null!==t&&i(Y,t.startTime-e)}}function x(e,n){U=!1,k&&(k=!1,o()),w=!0;var r=P;try{for(G(n),M=N(L);null!==M&&(!(M.expirationTime>n)||e&&!a());){var s=M.callback;if(null!==s){M.callback=null,P=M.priorityLevel;var u=s(M.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?M.callback=u:M===N(L)&&R(L),G(n)}else R(L);M=N(L)}if(null!==M)var l=!0;else{var c=N(D);null!==c&&i(Y,c.startTime-n),l=!1}return l}finally{M=null,P=r,w=!1}}function V(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var H=s;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=P;P=e;try{return t()}finally{P=n}},t.unstable_next=function(e){switch(P){case 1:case 2:case 3:var t=3;break;default:t=P}var n=P;P=t;try{return e()}finally{P=n}},t.unstable_scheduleCallback=function(e,n,a){var s=t.unstable_now();if("object"==typeof a&&null!==a){var u=a.delay;u="number"==typeof u&&0<u?s+u:s,a="number"==typeof a.timeout?a.timeout:V(e)}else a=V(e),u=s;return e={id:C++,callback:n,priorityLevel:e,startTime:u,expirationTime:a=u+a,sortIndex:-1},u>s?(e.sortIndex=u,O(D,e),null===N(L)&&e===N(D)&&(k?o():k=!0,i(Y,u-s))):(e.sortIndex=a,O(L,e),U||w||(U=!0,r(x))),e},t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_wrapCallback=function(e){var t=P;return function(){var n=P;P=t;try{return e.apply(this,arguments)}finally{P=n}}},t.unstable_getCurrentPriorityLevel=function(){return P},t.unstable_shouldYield=function(){var e=t.unstable_now();G(e);var n=N(L);return n!==M&&null!==M&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<M.expirationTime||a()},t.unstable_requestPaint=H,t.unstable_continueExecution=function(){U||w||(U=!0,r(x))},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return N(L)},t.unstable_Profiling=null},function(e,t,n){"use strict";n.r(t);t.default={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(122);function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var o=function(e){var t,n;function o(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this)._requestAnimationFrame=function(e){return requestAnimationFrame(e)},t._cancelAnimationFrame=function(e){return cancelAnimationFrame(e)},t.writing=!1,t.id=0,t.lastTime=0,t.animations=[],t.priority=0,t.startQueue=new Set,t.frameQueue=new Set,t.writeQueue=new Set,t.timeoutQueue=[],t.addAnimation=function(e){var n=t.animations.indexOf(e);n<0&&(n=t.animations.findIndex((function(t){return t.priority>e.priority})),t.animations.splice(~n?n:t.animations.length,0,e))},t.loop=function(){if(0!==t.lastTime)try{t.advance()}catch(e){console.error(e)}finally{t.animations.length||t.startQueue.size||t.frameQueue.size||t.writeQueue.size||t.timeoutQueue.length?t.id=t._requestAnimationFrame(t.loop):(t.lastTime=0,t.id=0)}},t.startLoop=function(){t.lastTime>0||(t.lastTime=r.Globals.now(),t.id=t._requestAnimationFrame(t.loop))},t.advance=function(){var e=r.Globals.now();if(t.startQueue.size&&(t.startQueue.forEach(t.addAnimation),t.startQueue.clear()),t.timeoutQueue.length&&r.Globals.batchedUpdates((function(){var n=a(t.timeoutQueue,(function(t){return t.time>e}));t.timeoutQueue.splice(0,n).forEach((function(e){return e.handler()}))})),e>t.lastTime){var n=Math.min(64,e-t.lastTime);t.lastTime=e,r.Globals.batchedUpdates((function(){t.animations.length&&(r.Globals.willAdvance(t.animations),t.animations=t.animations.filter((function(e){return t.priority=e.priority,e.idle||e.advance(n),!e.idle})),t.priority=0),t.frameQueue.size&&(t.frameQueue.forEach((function(t){return t(e)})),t.frameQueue.clear()),t.writeQueue.size&&(t.writing=!0,t.writeQueue.forEach((function(t){return t(e)})),t.writeQueue.clear(),t.writing=!1)}))}},t.start=function(e){t.priority>e.priority?t.startQueue.add(e):(t.addAnimation(e),t.startLoop())},t.setTimeout=function(e,n){var i=r.Globals.now()+n,o=a(t.timeoutQueue,(function(e){return e.time>i})),s={time:i,handler:e,cancel:function e(){var n=t.timeoutQueue.findIndex((function(t){return t.cancel===e}));n>=0&&t.timeoutQueue.splice(n,1)}};return t.timeoutQueue.splice(o,0,s),t.startLoop(),s},t.onFrame=function(e){t.frameQueue.add(e),t.startLoop()},t.onWrite=function(e){t.writing?e(t.lastTime):t.writeQueue.add(e)},t}return n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n),o.prototype.setRAF=function(e,t){this.id&&(this._cancelAnimationFrame(this.id),this.id=0),this._requestAnimationFrame=e,this._cancelAnimationFrame=t,this.loop()},o}(r.FrameLoop);function a(e,t){var n=e.findIndex(t);return n<0?e.length:n}t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GUILD_FILTERS=void 0;var r,i=u(n(433)),o=u(n(743)),a=u(n(684)),s=u(n(15));function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t,n){var r=(0,i.default)(e),o=null!=t?(0,i.default)(t):null,a=null!=n?(0,i.default)(n):null;return(null==o||!r.lesser(o))&&(null==a||!r.greater(a))}function f(e){for(var t,n,r,i=l(e);!(r=i()).done;){var a=r.value,s=a[0],u=a[1];switch(s){case o.default.v3("min_id"):t=u;break;case o.default.v3("max_id"):n=u}}return{min:t,max:n}}var _=((r={})[o.default.v3("guild_ids")]=function(e){for(var t,n=[],r=l(e);!(t=r()).done;){var i=t.value,a=i[0],s=i[1];switch(a){case o.default.v3("guild_ids"):n=s}}return function(e){return n.includes(e)}},r[o.default.v3("guild_id_range")]=function(e){var t=f(e),n=t.min,r=t.max;return function(e){return d(e,n,r)}},r[o.default.v3("guild_member_count_range")]=function(e){var t=f(e),n=t.min,r=t.max;return function(e){var t=a.default.getMemberCount(e);return null!=t&&d(t,n,r)}},r[o.default.v3("guild_has_feature")]=function(e){var t=e[0][1];return function(e){var n=s.default.getGuild(e);return null!=n&&t.some((function(e){return n.hasFeature(e)}))}},r);t.GUILD_FILTERS=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(95),i=s(n(2)),o=s(n(11)),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}var u=(0,r.analyticsTrackingStoreMaker)({dispatcher:i.default,actionHandler:function(e){switch(e.type){case a.ActionTypes.CONNECTION_OPEN:case a.ActionTypes.OVERLAY_INITIALIZE:case a.ActionTypes.CURRENT_USER_UPDATE:return r.AnalyticsActionHandlers.handleConnectionOpen(e);case a.ActionTypes.CONNECTION_CLOSED:return r.AnalyticsActionHandlers.handleConnectionClosed();case a.ActionTypes.FINGERPRINT:return r.AnalyticsActionHandlers.handleFingerprint();case a.ActionTypes.TRACK:return r.AnalyticsActionHandlers.handleTrack(e);default:return!1}},TRACKING_URL:a.Endpoints.TRACK,waitFor:[o.default],getFingerprint:o.default.getFingerprint});t.default=u},function(e,t,n){e.exports=n.p+"847541504914fd33810e70a0ea73177e.ico"},function(e,t,n){e.exports=n.p+"ee7c382d9257652a88c8f7b7f22a994d.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(1592))&&r.__esModule?r:{default:r};function o(e,t){void 0===t&&(t=0);var n=null!=e.Messages.XSSDefenses?e.Messages.XSSDefenses:e.Messages;null!=n.SELF_XSS_HEADER&&(console.log("%c"+n.SELF_XSS_HEADER,"color: #5865f2; -webkit-text-stroke: 2px black; font-size: 72px; font-weight: bold;"),console.log("%c"+n.SELF_XSS_LINE_1,"font-size: 16px;"),console.log("%c"+n.SELF_XSS_LINE_2,"font-size: 18px; font-weight: bold; color: red;"),t>=4?(console.log("%c"+n.SELF_XSS_LINE_3,"font-size: 16px;"),console.log("%c"+n.SELF_XSS_LINE_4.format({url:""+location.protocol+window.GLOBAL_ENV.MARKETING_ENDPOINT+"/jobs"}),"font-size: 16px;")):setTimeout((function(){return o(e,t+1)}),1e3))}t.default=function(e,t,n){if(null==n||"0.0.0"!==n.remoteApp.getVersion()){var r=new i.default;if(null!=n)if(null!=n.window.setDevtoolsCallbacks)n.window.setDevtoolsCallbacks((function(){t.hideToken(),o(e)}),(function(){t.showToken()}));else{var a=n.window.webContents;a.removeAllListeners("devtools-opened"),a.on("devtools-opened",(function(){t.hideToken(),o(e)})),a.on("devtools-closed",t.showToken)}else r.on("changed",(function(n){n.open?(t.hideToken(),o(e)):t.showToken()}));window.addEventListener("beforeunload",(function(){return t.showToken()}))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(64);function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a;!function(e){e.VERTICAL="vertical",e.HORIZONTAL="horizontal"}(a||(a={}));var s={open:!1,orientation:null};var u=function(e){var t,n,r,u,l;function c(){var t;return t=e.call(this)||this,setInterval((function(){return t.check()}),500),t}return n=e,(t=c).prototype=Object.create(n.prototype),t.prototype.constructor=t,o(t,n),c.prototype.check=function(){var e=function(){try{return window.outerWidth-window.innerWidth}catch(e){return 0}}()>160,t=function(){try{return window.outerHeight-window.innerHeight}catch(e){return 0}}()>160,n=e?a.VERTICAL:a.HORIZONTAL;if(t&&e||!(function(){try{return window.Firebug.chrome.isInitialized}catch(e){return!1}}()||e||t))s.open&&(s.open=!1,this.emit("changed",s));else{var r=s.open;s={open:!0,orientation:n},r&&s.orientation===n||this.emit("changed",s)}},r=c,(u=[{key:"orientations",get:function(){return Object.values(a)}},{key:"state",get:function(){return s}}])&&i(r.prototype,u),l&&i(r,l),c}(r.EventEmitter);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.paragraph=c({},e.paragraph,{react:function(e,t,n){return l("p",{},n.key,t(e.content,n))}}),e.link=c({},e.link,{react:function(e,t,n){var r={};if(null!=e.context){var s=e.context[e.target];s&&s.onClick?(r.onClick=s.onClick,r.onContextMenu=s.onContextMenu):r.onClick=s}return null==r.onClick&&(r.href=o.default.sanitizeUrl(e.target)),i.createElement(a.default,c({key:n.key,title:e.title},r),t(e.content,n))}}),e};var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(101)),a=s(n(271));function s(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1595).default;t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return i.default.Messages.DynamicLinks.IOS_APP_PREVIEW_DESCRIPTION};var r,i=(r=n(731))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){i.default.dispatch({type:o.ActionTypes.EMBEDDED_ACTIVITY_DEFERRED_OPEN,channelId:e,applicationId:t,intent:n})};var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-04_network_action_logging",label:"Standard Analytics: Log Network Actions",defaultConfig:{useStandardAnalytics:!1},treatments:[{id:1,label:"Log network actions",config:{useStandardAnalytics:!0}}]});t.default=r},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(247),o=n.n(i),a={};t.default=function(e,t){void 0===t&&(t=o.a);var n=Object(r.useRef)(a),i=n.current;return Object(r.useEffect)((function(){n.current=i})),n.current!==a&&t(e,n.current)||(i=e),i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=o.default.getUserExperimentDescriptor(u.id);if(null==e)return!1;e.override||(0,i.trackExposureToExperiment)(u.id,e);return e.bucket===r.ExperimentBuckets.TREATMENT_1};var r=n(141),i=n(208),o=s(n(187)),a=s(n(412));function s(e){return e&&e.__esModule?e:{default:e}}var u=(0,i.registerUserExperiment)({id:a.default.GUILD_PROGRESS_BAR,title:"2020-01 Exp: Show a guild progress bar on newly created guilds",description:["An experiment that tests if guiding a user through setting up a guild will improve activation and retention","Control: No changes","Treatment 1: Show guild progress bar when a user creates a guild"],buckets:[r.ExperimentBuckets.CONTROL,r.ExperimentBuckets.TREATMENT_1]})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){void 0===n&&(n=3);if(i>Date.now())return r;return r=t().then((function(e){return i=Date.now()+1e3*e.ttl,e.servers.map(o)})).catch((function(r){if(n<=0)throw r;return new Promise((function(r,i){setTimeout((function(){e(t,n-1).then(r,i)}),1e3)}))}))};var r=Promise.resolve([]),i=Date.now(),o=function(e){return{urls:[e.url],username:e.username,credential:e.credential}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-04_electron_video",label:"Controls use of the electron-based hardware video decoder",defaultConfig:{useElectronVideo:!1},treatments:[{id:1,label:"New electron-based hardware video decoder used for playback in calls and Go Live",config:{useElectronVideo:!0}}]});t.default=r},function(e,t,n){"use strict";var r=n(178),i=s(n(26)),o=s(n(16)),a=s(n(43));function s(e){return e&&e.__esModule?e:{default:e}}(0,r.inject)({supported:function(){try{if(__OVERLAY__)return!1;if(o.default.embedded){var e=(0,r.getVoiceEngine)();if(null==e.VoiceConnection||null==e.setVideoOutputSink&&null==e.addVideoOutputSink)throw new Error("voe function missing");return!0}}catch(e){new i.default("injectMediaEngine").error("Potentially corrupt installation:",e.message)}return!1},supportsFeature:function(e){return a.default.supportsFeature(e)},setProcessPriority:function(e){a.default.getDiscordUtils().setProcessPriority(e)},getVoiceEngine:function(){return a.default.getVoiceEngine()}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.determineMediaEngine=function(){return[r.MediaEngineImplementations.NATIVE,r.MediaEngineImplementations.WEBRTC].find((function(e){return i(e).supported()}))||r.MediaEngineImplementations.DUMMY},t.initializeMediaEngine=function(e){return new(i(e))};var r=n(34);function i(e){switch(e){case r.MediaEngineImplementations.NATIVE:return n(1351).default;case r.MediaEngineImplementations.WEBRTC:return n(1615).default;case r.MediaEngineImplementations.DUMMY:default:return n(1634).default}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(8)),i=n(1605),o=p(n(190)),a=p(n(955)),s=n(956),u=n(1607),l=n(178),c=p(n(1608)),d=p(n(438)),f=n(34),_=n(439);function p(e){return e&&e.__esModule?e:{default:e}}function E(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(){return(m=Object.assign||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}).apply(this,arguments)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var T=new o.default("Connection"),g=["H264","VP8","VP9"],I=!1,S=0;function y(e){return e?e+1:0}function A(e){var t=e.map((function(e){return e.toUpperCase()})),n=g,r=n.filter((function(e){return t.includes(e)})),i=t.filter((function(e){return!n.includes(e)}));return I?r.concat(i):r.concat(i).filter((function(e){return"H264"!==e}))}var O=function(e){var t,n;function o(t,n,i){var o;return(o=e.call(this,t,n)||this).mediaEngineConnectionId="Native-"+S++,o.selfMute=!1,o.selfVideo=!1,o.forceAudioNormal=!1,o.forceAudioPriority=!1,o.codecs=[],o.desktopDegradationPreference=(0,l.getVoiceEngine)().DegradationPreference.MAINTAIN_RESOLUTION,o.videoDegradationPreference=(0,l.getVoiceEngine)().DegradationPreference.BALANCED,o.localPans={},o.remoteAudioSSRCs={},o.remoteVideoSSRCs={},o.inputMode=_.InputModes.VOICE_ACTIVITY,o.vadThreshold=-40,o.vadAutoThreshold=!0,o.vadUseKrisp=!0,o.vadLeading=5,o.vadTrailing=25,o.pttReleaseDelay=20,o.soundshareActive=!1,o.soundshareId=null,o.soundshareSentSpeakingEvent=!1,o.echoCancellation=!0,o.noiseSuppression=!0,o.automaticGainControl=!0,o.noiseCancellation=!1,o.experimentalEncoders=!1,o.hardwareH264=!0,o.attenuationFactor=.5,o.attenuateWhileSpeakingSelf=!1,o.attenuateWhileSpeakingOthers=!0,o.qos=!0,o.postponeDecodeLevel=0,o.reconnectInterval=6e4,o.handleSpeakingNative=function(e,t){var n=_.SpeakingFlags.NONE;n="boolean"==typeof t?t?_.SpeakingFlags.VOICE:_.SpeakingFlags.NONE:t,o.handleSpeakingFlags(e,n)},o.handleSpeakingFlags=function(e,t){o.localSpeakingFlags[e]=t;var n=e===o.userId?o.audioSSRC:o.remoteAudioSSRCs[e];o.emit("speaking",e,t,n),t&_.SpeakingFlags.SOUNDSHARE&&!1===o.soundshareSentSpeakingEvent&&(o.emit("soundsharespeaking"),o.soundshareSentSpeakingEvent=!0)},o.handleSpeakingWhileMuted=function(){o.emit("speakingwhilemuted")},o.handlePing=function(e,t,n){o.emit("ping",e)},o.handlePingTimeout=function(e,t,n,r){o.emit("pingtimeout",n,r||4e3)},o.handleVideo=function(e,t,n,r){e===o.userId?null!=r&&Array.isArray(r)&&r.length>0?r.forEach((function(e){o.videoStreamParameters.forEach((function(t,n){t.rid===e.rid&&(o.videoStreamParameters[n]=m({},t,{ssrc:e.ssrc,rtxSsrc:e.rtxSsrc,active:e.active}))}))})):t>0?(o.videoStreamParameters[0].active=!0,o.videoStreamParameters[0].ssrc=t,o.videoStreamParameters[0].rtxSsrc=y(t)):o.videoStreamParameters[0].active=!1:o.remoteVideoSSRCs[e]=t,o.emit("video",e,n||null,e===o.userId?o.audioSSRC:o.remoteAudioSSRCs[e],t,y(t),o.videoStreamParameters)},o.handleNoInput=function(e){o.emit("silence",!e)},o.handleDesktopSourceEnded=function(){o.emit("desktopsourceend")},o.handleSoundshare=function(e){e&&(o.soundshareActive=!0,o.conn.setTransportOptions({encodingVoiceBitRate:Math.max(_.DEFAULT_SOUNDSHARE_VOICE_BITRATE,o.voiceBitrate)}),o.emit("soundshareattached"))},o.handleSoundshareFailed=function(e,t,n){o.emit("soundsharefailed",{failureCode:e,failureReason:t,willRetry:n})},o.handleSoundshareEnded=function(){o.soundshareActive=!1,o.destroyed||o.conn.setTransportOptions({encodingVoiceBitRate:o.voiceBitrate})},o.handleNewListenerNative=function(e){switch(e){case"connectionstatechange":o.emit(e,o.connectionState)}},o.pollStats=function(e){void 0===e&&(e=1e3),o.connectionState!==_.ConnectionStates.DISCONNECTED&&(o.getStats(f.StatsFilter.OUTBOUND).then((function(e){if(null!=e){if(null!=o.stats){var t=r.default.reduce(e.rtp.outbound,(function(e,t){var n,r;return e.lost+=null!==(n=t.packetsLost)&&void 0!==n?n:0,e.sent+=null!==(r=t.packetsSent)&&void 0!==r?r:0,e}),{lost:0,sent:0}),n=r.default.reduce(o.stats.rtp.outbound,(function(e,t){var n,r;return e.lost+=null!==(n=t.packetsLost)&&void 0!==n?n:0,e.sent+=null!==(r=t.packetsSent)&&void 0!==r?r:0,e}),{lost:0,sent:0}),i=t.sent-n.sent,a=t.lost-n.lost;if(0===i)o.emit("outboundlossrate",0);else if(i>0&&a>=0){var s=r.default.clamp(a/(i+a),0,1);o.emit("outboundlossrate",100*s)}var u=e.rtp.outbound.filter((function(e){return"audio"===e.type}))[0],l=o.stats.rtp.outbound.filter((function(e){return"audio"===e.type}))[0];if(null!=u&&null!=l&&null!=u.framesCaptured&&null!=l.framesCaptured){var c=u.framesCaptured-l.framesCaptured;if(o.noiseCancellation&&c>0&&null!=u.noiseCancellerProcessTime&&null!=l.noiseCancellerProcessTime){var d=u.noiseCancellerProcessTime-l.noiseCancellerProcessTime;d/c>8?o.emit("noisecancellererror",_.NoiseCancellerError.CPU_OVERUSE):0===d&&o.emit("noisecancellererror",_.NoiseCancellerError.FAILED)}if(o.inputMode===_.InputModes.VOICE_ACTIVITY&&o.vadAutoThreshold&&o.vadUseKrisp&&c>0&&null!=u.voiceActivityDetectorProcessTime&&null!=l.voiceActivityDetectorProcessTime)(u.voiceActivityDetectorProcessTime-l.voiceActivityDetectorProcessTime)/c>4&&o.emit("voiceactivitydetectorerror",_.NoiseCancellerError.VAD_CPU_OVERUSE)}}o.stats=e}})),setTimeout(o.pollStats,e))},o.videoSupported=i,o}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n),o.setH264Enabled=function(e){I=e},o.create=function(e,t,n,r,i,a,s,u,l,c){var d=new o(e,t,s);return d.initialize(n,r,i,a,u,l,c),d},o.createReplay=function(e,t){var n=new o(e,"0",!0),r=(0,l.getVoiceEngine)();n.initializeStreamParameters([{type:f.MediaTypes.VIDEO,rid:"100",ssrc:0,rtxSsrc:0,quality:100,active:!1}]);var i=r.createReplayConnection("default",(function(t,i){n.pollStats(),n.conn.setOnVideoCallback(n.handleVideo),r.getSupportedVideoCodecs((function(t){n.codecs=[{type:"audio",name:_.Codecs.OPUS,priority:1,payloadType:120}].concat(A(t).map((function(e,t){var n=101+2*t;return{type:"video",name:e,priority:t+1,payloadType:n,rtxPayloadType:n+1}}))),n.setCodecs(_.Codecs.OPUS,_.Codecs.H264,e),n.conn.startReplay()}))}),t);return null==i?null:(n.conn=i,n)};var a=o.prototype;return a.initialize=function(e,t,n,r,i,o,a){var s,u,c=this;this.audioSSRC=e,this.streamUserId=a,this.initializeStreamParameters(i);var d,f,p=(0,l.getVoiceEngine)(),E=function(e,t){if(!c.destroyed){if(null!=e&&""!==e)return c.setConnectionState(_.ConnectionStates.NO_ROUTE),void c.emit("error",e);if(null==t)throw new Error("Invalid transport info");var n=t.protocol,i=t.address,o=t.port;p.getSupportedVideoCodecs((function(e){c.codecs=[{type:"audio",name:_.Codecs.OPUS,priority:1,payloadType:120}].concat(A(e).map((function(e,t){var n=101+2*t;return{type:"video",name:e,priority:t+1,payloadType:n,rtxPayloadType:n+1}}))),d.getEncryptionModes((function(e){var t,a,s,u,l,f,E,h,m,v,g,I,S,y;(d.setTransportOptions(c.getConnectionTransportOptions()),d.setSelfMute(c.selfMute||c.context===_.MediaEngineContextTypes.STREAM),d.setSelfDeafen(c.selfDeaf),d.setOnSpeakingCallback(c.handleSpeakingNative),null===(t=(a=d).setOnSpeakingWhileMutedCallback)||void 0===t||t.call(a,c.handleSpeakingWhileMuted),null===(s=(u=d).setPingInterval)||void 0===s||s.call(u,_.PING_INTERVAL),d.setPingCallback(c.handlePing),null===(l=(f=d).setPingTimeoutCallback)||void 0===l||l.call(f,c.handlePingTimeout),p.setTransportOptions({builtInEchoCancellation:!0,echoCancellation:c.echoCancellation,noiseSuppression:c.noiseSuppression,automaticGainControl:c.automaticGainControl,noiseCancellation:c.noiseCancellation}),p.setNoInputThreshold(-100),p.setNoInputCallback(c.handleNoInput),c.videoSupported)&&(d.setOnVideoCallback(c.handleVideo),null===(E=(h=d).setOnDesktopSourceEnded)||void 0===E||E.call(h,c.handleDesktopSourceEnded),null===(m=(v=d).setOnSoundshare)||void 0===m||m.call(v,c.handleSoundshare),null===(g=(I=d).setOnSoundshareEnded)||void 0===g||g.call(I,c.handleSoundshareEnded),null===(S=(y=d).setOnSoundshareFailed)||void 0===S||S.call(y,c.handleSoundshareFailed));c.setConnectionState(_.ConnectionStates.CONNECTED),c.emit("connected",n,{address:i,port:o,mode:c.chooseEncryptionMode(r,e),codecs:c.codecs}),c.pollStats();var A=c.getUserOptions();A.forEach((function(e){return T.info("Creating user: "+e.id+" with audio SSRC: "+e.ssrc+" and video SSRC: "+e.videoSsrc)})),d.mergeUsers(A);for(var O=0,N=Object.keys(c.localSpeakingFlags);O<N.length;O++){var R=N[O];R!==c.userId&&c.setSpeakingFlags(R,c.localSpeakingFlags[R])}}))}))}};null!=p.createOwnStreamConnection?f=this.context===_.MediaEngineContextTypes.STREAM&&this.streamUserId===this.userId?p.createOwnStreamConnection:p.createVoiceConnection:f=function(e,t,n,r,i,o,a){return new p.VoiceConnection(e,t,n,r,i,o,a)};null===(s=(u=d=0!==this.videoStreamParameters.length?this.conn=f(e,this.userId,t,n,E,o,this.videoStreamParameters):this.conn=o?f(e,this.userId,t,n,E,o):f(e,this.userId,t,n,E)).setDesktopSourceStatusCallback)||void 0===s||s.call(u,(function(e){"videohook_start"===e.type?c.emit("videohook-start"):"videohook_stop"===e.type?c.emit("videohook-stop"):"videohook_initialize"===e.type?c.emit("videohook-initialize",e.backend,e.format,e.framebufferFormat,e.sampleCount,e.success,e.reinitialization):"screenshare_finish"===e.type?c.emit("screenshare-finish",e.screenshare_frames,e.videohook_frames,e.hybrid_dxgi_frames,e.hybrid_gdi_frames,e.hybrid_videohook_frames,e.desktop_capturer_type,e.screens,e.windows):"video_state"===e.type?c.emit("video-state",e.state):e.type.startsWith("soundshare_")&&c.emit("soundsharetrace",e)})),this.on("newListener",this.handleNewListenerNative)},a.destroy=function(){var t=this;this.conn.destroy(),(0,r.default)(this.localSpeakingFlags).keys().reject((function(e){return e===t.userId})).forEach((function(e){return t.emit("speaking",e,_.SpeakingFlags.NONE,t.remoteAudioSSRCs[e])})),this.setConnectionState(_.ConnectionStates.DISCONNECTED),e.prototype.destroy.call(this)},a.setCodecs=function(e,t,n){this.conn.setTransportOptions(this.getCodecOptions(e,t,n))},a.getStats=function(e){var t=this;return void 0===e&&(e=f.StatsFilter.ALL),(0,i.timeout)(new Promise((function(n){if(null!=t.conn.getFilteredStats)t.conn.getFilteredStats(e,(function(e){return n((0,c.default)(t.mediaEngineConnectionId,e,t.remoteVideoSinkWants))}));else if(null!=t.conn.getStats)t.conn.getStats((function(e){return n((0,c.default)(t.mediaEngineConnectionId,e,t.remoteVideoSinkWants))}));else{(0,l.getVoiceEngine)().getStats((function(e){return n((0,c.default)(t.mediaEngineConnectionId,e,t.remoteVideoSinkWants))}))}})),1e3).catch((function(e){if(!(e instanceof i.TimeoutError))throw e}))},a.createUser=function(e,t,n){if(0!==t){var r=this.remoteAudioSSRCs[e]!==t,i=this.remoteVideoSSRCs[e]!==(n=(null!=n?n:this.remoteVideoSSRCs[e])||0);if(this.remoteAudioSSRCs[e]=t,this.remoteVideoSSRCs[e]=n,this.userId!==e&&(r||i)){var o={id:e,ssrc:t,videoSsrc:n,rtxSsrc:y(n),mute:this.getLocalMute(e),volume:this.getLocalVolume(e)};this.connectionState===_.ConnectionStates.CONNECTED&&(T.info("Creating user: "+e+" with audio SSRC: "+t+" and video SSRC: "+n),this.conn.mergeUsers([o]));var a=this.localPans[e];a&&this.setLocalPan(e,a.left,a.right);var s=this.localSpeakingFlags[e];s&&this.setSpeakingFlags(e,s)}}else T.warn("Attempting to create user "+e+" with 0 audio SSRC")},a.destroyUser=function(e){null!=this.remoteAudioSSRCs[e]&&(this.conn.destroyUser(e),delete this.remoteAudioSSRCs[e],delete this.remoteVideoSSRCs[e])},a.setSelfMute=function(e){this.selfMute=e,this.conn.setSelfMute(e),this.emit("mute",e)},a.setSelfDeaf=function(e){this.selfDeaf=e,this.conn.setSelfDeafen(e)},a.setSoundshareSource=function(e,t){if(!(this.soundshareId===e&&this.soundshareSentSpeakingEvent||this.context!==_.MediaEngineContextTypes.STREAM)){this.soundshareId=e,this.soundshareSentSpeakingEvent=!1;var n=e;null===n&&(n=0),this.conn.setTransportOptions({soundsharePid:n,soundshareEventDriven:!0,soundshareLoopback:t})}},a.setLocalMute=function(e,t){this.localMutes[e]=t,this.conn.setLocalMute(e,t),this.emit("local-mute",e,t)},a.setLocalVideoDisabled=function(e,t){this.disabledLocalVideos[e]=t,this.emit("local-video-disabled",e,t)},a.setPostponeDecodeLevel=function(e){this.postponeDecodeLevel=e},a.getLocalVolume=function(e){var t=this.localVolumes[e];return null==t&&(t=this.context===_.MediaEngineContextTypes.DEFAULT?_.DEFAULT_VOLUME:_.DEFAULT_STREAM_VOLUME),function(e){return(null!=e?e:_.DEFAULT_VOLUME)/_.DEFAULT_VOLUME}(t)},a.setLocalVolume=function(e,t){this.localVolumes[e]=t,this.conn.setLocalVolume(e,this.getLocalVolume(e))},a.setLocalPan=function(e,t,n){this.localPans[e]={left:t,right:n},this.conn.setLocalPan(e,t,n)},a.isAttenuating=function(){return this.attenuationFactor<1},a.setAttenuation=function(e,t,n){this.attenuationFactor=(100-e)/100,this.attenuateWhileSpeakingSelf=t,this.attenuateWhileSpeakingOthers=n,this.conn.setTransportOptions(this.getAttenuationOptions())},a.setCanHavePriority=function(e,t){var n,r;null===(n=(r=this.conn).setRemoteUserCanHavePriority)||void 0===n||n.call(r,e,t)},a.setBitRate=function(e){this.setVoiceBitRate(e)},a.setVoiceBitRate=function(e){if(this.voiceBitrate!==e){this.voiceBitrate=e;var t=this.voiceBitrate;this.soundshareActive&&(t=Math.max(_.DEFAULT_SOUNDSHARE_VOICE_BITRATE,t)),this.conn.setTransportOptions({encodingVoiceBitRate:t})}},a.setCameraBitRate=function(e,t,n){null!=n||null!=t?this.videoQualityManager.setQuality({bitrateMin:n||t,bitrateMax:t}):this.videoQualityManager.setQuality({}),this.hasDesktopSource()||this.conn.setTransportOptions({encodingVideoBitRate:e,encodingVideoMinBitRate:n,encodingVideoMaxBitRate:t})},a.setEchoCancellation=function(e){this.echoCancellation=e,(0,l.getVoiceEngine)().setTransportOptions({echoCancellation:this.echoCancellation})},a.setNoiseSuppression=function(e){this.noiseSuppression=e,(0,l.getVoiceEngine)().setTransportOptions({noiseSuppression:this.noiseSuppression})},a.setAutomaticGainControl=function(e){this.automaticGainControl=e,(0,l.getVoiceEngine)().setTransportOptions({automaticGainControl:this.automaticGainControl})},a.setNoiseCancellation=function(e){this.noiseCancellation=e,(0,l.getVoiceEngine)().setTransportOptions({noiseCancellation:this.noiseCancellation})},a.setNoiseDetection=function(e,t){var n=this;(0,l.getVoiceEngine)().setTransportOptions({noiseDetection:e,noiseDetectionThreshold:t,noiseDetectionCallback:function(e){n.selfMute||n.inputMode===_.InputModes.PUSH_TO_TALK&&!n.forceAudioPriority&&!n.forceAudioNormal||(n.emit("noiselevel",e),T.info("Noise level: "+e))}})},a.setExperimentalEncoders=function(e){this.experimentalEncoders=e,this.conn.setTransportOptions({experimentalEncoders:this.experimentalEncoders})},a.setHardwareH264=function(e){this.hardwareH264=e,this.conn.setTransportOptions({hardwareH264:this.hardwareH264})},a.setQoS=function(e){this.qos=e,this.conn.setTransportOptions({qos:this.qos})},a.setInputMode=function(e,t){switch(this.inputMode=e,e){case _.InputModes.PUSH_TO_TALK:this.pttReleaseDelay=t.pttReleaseDelay;break;case _.InputModes.VOICE_ACTIVITY:this.vadThreshold=t.vadThreshold,this.vadAutoThreshold=t.vadAutoThreshold,this.vadUseKrisp=t.vadUseKrisp,this.vadLeading=t.vadLeading,this.vadTrailing=t.vadTrailing;break;default:throw new Error("Unknown Input Mode: "+e)}this.conn.setTransportOptions({inputMode:_.NATIVE_MODE_VALUES[this.inputMode],inputModeOptions:this.createInputModeOptions()})},a.setSilenceThreshold=function(e){(0,l.getVoiceEngine)().setNoInputThreshold(e)},a.setForceAudioInput=function(e,t){void 0===t&&(t=!1),t?this.forceAudioPriority=e:this.forceAudioNormal=e,this.conn.setPTTActive(this.forceAudioPriority||this.forceAudioNormal,this.forceAudioPriority)},a.setSpeakingFlags=function(e,t){null!=this.conn.setRemoteUserSpeakingStatus?this.conn.setRemoteUserSpeakingStatus(e,t):null!=this.conn.setRemoteUserSpeaking&&this.conn.setRemoteUserSpeaking(e,(t&_.SpeakingFlags.VOICE)===_.SpeakingFlags.VOICE),this.handleSpeakingFlags(e,t)},a.clearAllSpeaking=function(){},a.setEncryption=function(e,t){this.conn.setTransportOptions({encryptionSettings:{mode:e,secretKey:t}})},a.setReconnectInterval=function(e){this.reconnectInterval=e,this.conn.setTransportOptions({reconnectInterval:this.reconnectInterval})},a.setVideoBroadcast=function(e){this.selfVideo!==e&&(this.selfVideo=e,this.applyVideoTransportOptions())},a.setDesktopSource=function(e,t){var n=t.width,r=t.height,i=t.fps,o=t.useWumpus,a=t.useVideoHook,s=t.useQuartzCapturer,u=t.hdrCaptureMode;if(this.desktopSourceId!==e){if(this.desktopSourceId=e,null!=this.conn.setDesktopSource){var l=null!=e?e.split(":"):["",""],c=l[0],d=l[1],f=o&&"string"==typeof d?"wumpus-"+d:d;null!=e?T.info("capturing desktop (type: "+c+", handle: "+d+", resolved-handle: "+f+", use-video-hook: "+a.toString()+", use-wumpus: "+o.toString()+")."):T.info("capturing desktop (type: <stop>)."),null!=this.conn.setDesktopSourceWithOptions?null!=e?this.conn.setDesktopSourceWithOptions({type:c,sourceId:d,useVideoHook:a,useQuartzCapturer:s,hdrCaptureMode:u}):this.conn.clearDesktopSource():this.conn.setDesktopSource(f,a,c),this.setDesktopEncodingOptions(n,r,i)}}else this.setDesktopEncodingOptions(n,r,i)},a.clearDesktopSource=function(){null!=this.desktopSourceId&&this.setDesktopEncodingOptions(1280,720,30),this.desktopSourceId=null,null!=this.conn.clearDesktopSource?this.conn.clearDesktopSource():this.conn.setDesktopSource("",!1,"")},a.setDesktopSourceStatusCallback=function(e){var t,n;null===(t=(n=this.conn).setDesktopSourceStatusCallback)||void 0===t||t.call(n,e)},a.hasDesktopSource=function(){return null!=this.desktopSourceId},a.setDesktopEncodingOptions=function(e,t,n){if(!this.destroyed){var r=1080===t||0===t||n>30?f.DESKTOP_BITRATE_ENHANCED:f.DESKTOP_BITRATE,i={width:e,height:t,framerate:n},o=this.videoQualityManager.getQuality();s.VideoQuality.equals(i,o.capture)&&o.bitrateMax===r||(this.videoQualityManager.setQuality({capture:i,bitrateMax:r}),this.videoStreamParameters.length>0&&(this.videoStreamParameters[0].maxResolution={type:0===e&&0===t?_.ResolutionTypes.SOURCE:_.ResolutionTypes.FIXED,width:e,height:t},this.videoStreamParameters[0].maxFrameRate=n,this.videoStreamParameters[0].maxBitrate=r),this.emit("video",this.userId,null,this.audioSSRC,this.videoStreamParameters[0].ssrc,y(this.videoStreamParameters[0].ssrc),this.videoStreamParameters),this.conn.setTransportOptions(this.applyQualityConstraints().constraints))}},a.setSDP=function(e){},a.setRemoteVideoSinkWants=function(e){this.remoteVideoSinkWants=e,this.updateVideoQuality(f.MEDIA_SINK_WANTS_PROPERTIES)},a.setLocalVideoSinkWants=function(e){for(var t=this.localVideoSinkWants,n=e,r=0,i=Object.entries(this.remoteVideoSSRCs);r<i.length;r++){var o,a,s,u,l=i[r],c=l[0],d=l[1],f=null==t?void 0:t[d],_=null==n?void 0:n[d];if(0===f&&0!==_)null===(o=(a=this.conn).setDisableLocalVideo)||void 0===o||o.call(a,c,!1);if(0!==f&&0===_)null===(s=(u=this.conn).setDisableLocalVideo)||void 0===s||s.call(u,c,!0)}this.localVideoSinkWants=e},a.updateVideoQualityCore=function(e,t){this.videoSupported&&this.conn.setTransportOptions(e)},a.setStreamParameters=function(e){var t=this;return this.videoStreamParameters.forEach((function(n){var i=e.findIndex((function(e){return e.rid===n.rid}));if(-1===i)return Promise.reject(new Error("Invalid rid"));var o=[];r.default.isEqual(t.videoStreamParameters[i],e[i])||(t.videoStreamParameters[i]=m({},e[i]),o.push(m({},e[i]))),t.conn.setTransportOptions({streamParameters:o})})),Promise.resolve()},a.applyVideoTransportOptions=function(){this.videoSupported&&(this.conn.setTransportOptions(this.applyQualityConstraints({encodingVideoDegradationPreference:this.hasDesktopSource()?this.desktopDegradationPreference:this.videoDegradationPreference}).constraints),this.conn.setVideoBroadcast(this.selfVideo))},a.chooseEncryptionMode=function(e,t){for(var n,r=E(t);!(n=r()).done;)for(var i,o=n.value,a=E(e);!(i=a()).done;){if(o===i.value)return o}return"xsalsa20_poly1305"},a.getUserOptions=function(){var e=this;return Object.keys(this.remoteAudioSSRCs).map((function(t){return{id:t,ssrc:e.remoteAudioSSRCs[t],videoSsrc:e.remoteVideoSSRCs[t],rtxSsrc:y(e.remoteVideoSSRCs[t]),mute:e.getLocalMute(t),volume:e.getLocalVolume(t)}}))},a.createInputModeOptions=function(){switch(this.inputMode){case _.InputModes.VOICE_ACTIVITY:return{vadThreshold:this.vadThreshold,vadAutoThreshold:this.vadAutoThreshold?u.VADAggressiveness.VERY_AGGRESSIVE:u.VADAggressiveness.DISABLED,vadUseKrisp:this.vadUseKrisp,vadLeading:this.vadLeading,vadTrailing:this.vadTrailing};case _.InputModes.PUSH_TO_TALK:return{pttReleaseDelay:this.pttReleaseDelay};default:throw new Error("Unknown Input Mode: "+this.inputMode)}},a.getAttenuationOptions=function(){return{attenuation:this.isAttenuating(),attenuationFactor:this.attenuationFactor,attenuateWhileSpeakingSelf:this.attenuateWhileSpeakingSelf,attenuateWhileSpeakingOthers:this.attenuateWhileSpeakingOthers}},a.getCodecOptions=function(e,t,n){var r,i={type:(r=this.codecs.find((function(t){return t.name===e})))&&r.payloadType||0,name:e,freq:48e3,pacsize:960,channels:1,rate:64e3},o=[{type:r&&r.payloadType||0,name:e,freq:48e3,channels:2,params:{stereo:"1"}}];n===_.MediaEngineContextTypes.STREAM&&(i.channels=2),r=this.codecs.find((function(e){return e.name===t}));var a={name:t,type:r&&r.payloadType||0,rtxType:r&&r.rtxPayloadType||0,params:{"level-asymmetry-allowed":"1","packetization-mode":"1","profile-level-id":"42e034","hardware-h264":this.hardwareH264&&this.useElectronVideo&&d.default.useDirectVideo?"1":"0"}},s=m({},a,{params:m({},a.params,{"profile-level-id":"4d0033"})});return this.experimentFlags.has(f.ExperimentFlags.VIDEOTOOLBOX_RATE_CONTROL)&&(s.params["fixed-rate-presentation-timestamps"]="1"),{videoEncoder:s,videoDecoders:[a],audioEncoder:i,audioDecoders:o}},a.getConnectionTransportOptions=function(){var e=m({selfMute:this.selfMute,inputMode:_.NATIVE_MODE_VALUES[this.inputMode],inputModeOptions:this.createInputModeOptions(),postponeDecodeLevel:this.postponeDecodeLevel},this.getAttenuationOptions(),{fec:!0,packetLossRate:.3,qos:this.qos,prioritySpeakerDucking:_.DEFAULT_PRIORITY_SPEAKER_DUCKING,encodingVoiceBitRate:this.voiceBitrate,callBitRate:_.DEFAULT_CALL_BITRATE,callMinBitRate:_.DEFAULT_CALL_MIN_BITRATE,callMaxBitRate:_.DEFAULT_CALL_MAX_BITRATE,encodingVideoDegradationPreference:this.videoDegradationPreference,experimentalEncoders:this.experimentalEncoders,hardwareH264:this.hardwareH264,reconnectInterval:this.reconnectInterval});return(0,l.supportsFeature)(_.NativeFeatures.VIDEO_EFFECTS)&&this.context===_.MediaEngineContextTypes.STREAM&&(e.enableVideoEffects=!0),e},a.setStream=function(e){throw new Error("Method not implemented.")},a.getTrackUserId=function(e){throw new Error("Method not implemented.")},o}(a.default);t.default=O},function(e,t,n){"use strict";var r;e.exports.timeout=function(e,t){var n,i=new r;return Promise.race([e,new Promise((function(e,r){n=setTimeout((function(){r(i)}),t)}))]).then((function(e){return clearTimeout(n),e}),(function(e){throw clearTimeout(n),e}))};(r=e.exports.TimeoutError=function(){Error.call(this),this.stack=Error().stack,this.message="Timeout"}).prototype=Object.create(Error.prototype),r.prototype.name="TimeoutError"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(34),i=function(){function e(e,t,n){var i=this;this.connection=e,this.sinkWants=t,this.handleSpeaking=function(e,t){i.enabled&&e===i.connection.userId&&i.userSpeakingChange(t===r.SpeakingFlags.NONE)},this.handleSelfMute=function(e){i.enabled&&(i.connection.hasDesktopSource()||(i.destroyFramerateScaleFactorTimers(),i.sinkWants.isMuted=e,i.updateRemoteWantsFramerate()))},e.on("speaking",this.handleSpeaking),e.on("mute",this.handleSelfMute),e.on("experiment-flag",this.handleExperimentFlag.bind(this)),this.handleExperimentFlag(n),this.initialize()}var t=e.prototype;return t.initialize=function(){this.userSpeakingChange(!0)},t.handleExperimentFlag=function(e){var t=this.enabled;this.enabled=e.has(r.ExperimentFlags.RESOLOUTION_FPS_LADDER_EXPERIMENT),t!==this.enabled&&(console.log("ConnectionEventFramerateReducer: "+this.enabled+"."),this.enabled?this.initialize():this.sinkWants.isMuted&&(this.destroyFramerateScaleFactorTimers(),this.sinkWants.isMuted=!1,this.updateRemoteWantsFramerate()))},t.userSpeakingChange=function(e){var t=this;this.enabled&&(this.connection.hasDesktopSource()||(this.destroyFramerateScaleFactorTimers(),e?this.framerateReductionTimeout=setTimeout((function(){t.connection.destroyed||(console.log("BaseConnection.userSpeakingChange: Reduced framerate after "+r.VIDEO_QUALITY_FRAMRATE_NOT_SPEAKING_TIMEOUT+" ms."),t.framerateReductionTimeout=void 0,t.sinkWants.isMuted=!0,t.updateRemoteWantsFramerate())}),r.VIDEO_QUALITY_FRAMRATE_NOT_SPEAKING_TIMEOUT):this.sinkWants.isMuted&&(this.sinkWants.isMuted=!1,this.updateRemoteWantsFramerate())))},t.destroyFramerateScaleFactorTimers=function(){"number"==typeof this.framerateReductionTimeout&&(clearTimeout(this.framerateReductionTimeout),this.framerateReductionTimeout=void 0)},t.updateRemoteWantsFramerate=function(){this.connection.updateVideoQuality(["remoteSinkWantsMaxFramerate"])},t.destroy=function(){this.destroyFramerateScaleFactorTimers()},e}();t.default=i},function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionAttemptResult=t.VADAggressiveness=void 0,t.VADAggressiveness=r,function(e){e[e.DISABLED=-1]="DISABLED",e[e.NORMAL=0]="NORMAL",e[e.LOW_BIRTATE=1]="LOW_BIRTATE",e[e.AGGRESSIVE=2]="AGGRESSIVE",e[e.VERY_AGGRESSIVE=3]="VERY_AGGRESSIVE"}(r||(t.VADAggressiveness=r={})),t.ConnectionAttemptResult=i,function(e){e[e.NONE=0]="NONE",e[e.TIMEOUT=1]="TIMEOUT"}(i||(t.ConnectionAttemptResult=i={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var c=null,d=null,f="string"==typeof t?JSON.parse(t):t,_=[];if(null!=f.outbound){var p,E=f.outbound,h=E.audio,m=E.video,v=E.videos;if(null!=h)d=(null!==(p=d)&&void 0!==p?p:0)+h.bytesSent,_.push({type:"audio",ssrc:h.ssrc,sinkWant:(0,r.formatSinkWantStat)(n,h.ssrc,!1),codec:{id:h.codecPayloadType,name:h.codecName},bytesSent:h.bytesSent,packetsSent:h.packetsSent,packetsLost:Math.max(0,h.packetsLost),fractionLost:100*h.fractionLost,audioLevel:o(h.audioLevel),audioDetected:h.speaking,framesCaptured:h.framesCaptured,framesRendered:h.framesRendered,noiseCancellerProcessTime:h.noiseCancellerProcessTime,voiceActivityDetectorProcessTime:h.voiceActivityDetectorProcessTime});if(null!=v)v.forEach((function(e){var t,r=l(e,n);null!=r&&(d=(null!==(t=d)&&void 0!==t?t:0)+r.bytesSent,_.push(r))}));else if(null!=m){var T,g=l(m,n);if(null!=g)d=(null!==(T=d)&&void 0!==T?T:0)+g.bytesSent,_.push(g)}}var I={};null!=f.inbound&&f.inbound.forEach((function(e){var t,l=e.id,d=e.audio,f=e.video,_=e.playout;(I[l]=[],null!=d)&&(c=(null!==(t=c)&&void 0!==t?t:0)+d.bytesReceived,I[l].push(i({type:"audio",ssrc:d.ssrc,sinkWant:(0,r.formatSinkWantStat)(n,d.ssrc,!1),codec:{id:d.codecPayloadType,name:d.codecName},bytesReceived:d.bytesReceived,packetsReceived:d.packetsReceived,packetsLost:d.packetsLost,fractionLost:100*d.fractionLost,audioLevel:o(d.audioLevel),audioDetected:d.speaking,jitter:d.jitter,jitterBuffer:d.jitterBuffer,jitterBufferPreferred:d.jitterBufferPreferred,decodingCNG:d.decodingCNG,decodingMutedOutput:d.decodingMutedOutput,decodingNormal:d.decodingNormal,decodingPLC:d.decodingPLC,decodingPLCCNG:d.decodingPLCCNG,accelerateRate:100*d.accelerateRate,expandRate:100*d.expandRate,preemptiveExpandRate:100*d.preemptiveExpandRate,speechExpandRate:100*d.speechExpandRate,secondaryDecodedRate:100*d.secondaryDecodedRate,opSilence:d.opSilence,opNormal:d.opNormal,opMerge:d.opMerge,opExpand:d.opExpand,opAccelerate:d.opAccelerate,opPreemptiveExpand:d.opPreemptiveExpand,opCNG:d.opCNG,delayEstimate:d.delayEstimate},_&&u({audioJitterBuffer:_.audioJitterBuffer,audioJitterDelay:_.audioJitterDelay,audioJitterTarget:_.audioJitterTarget,audioPlayoutUnderruns:_.audioPlayoutUnderruns,relativeReceptionDelay:_.relativeReceptionDelay,relativePlayoutDelay:_.relativePlayoutDelay}))));if(null!=f){var p,E=a(f.rtpStats),h=s(f.rtpStats);c=(null!==(p=c)&&void 0!==p?p:0)+E,I[l].push(i({type:"video",ssrc:f.ssrc,sinkWant:(0,r.formatSinkWantStat)(n,f.ssrc,!0),codec:{id:f.codecPayloadType,name:f.codecName},bytesReceived:E,packetsReceived:h,packetsLost:f.rtpStats.packetsLost||f.rtcpStats.fractionLost,fractionLost:f.rtcpStats.fractionLost,bitrate:f.totalBitrate,jitterBuffer:f.jitterBuffer,currentDelay:f.currentDelay,targetDelay:f.targetDelay,minPlayoutDelay:f.minPlayoutDelay,renderDelay:f.renderDelay,averageDecodeTime:f.decode,resolution:{height:f.height,width:f.width},decoderImplementationName:f.decoderImplementationName,framesDecoded:f.framesDecoded,framesDropped:f.framesDropped,framesReceived:f.frameCounts.keyFrames+f.frameCounts.deltaFrames,frameRateDecode:f.decodeFrameRate,frameRateNetwork:f.networkFrameRate,frameRateRender:f.renderFrameRate,firCount:f.rtcpStats.firPackets,nackCount:f.rtcpStats.nackPackets,pliCount:f.rtcpStats.pliPackets,qpSum:f.qpSum},_&&u({videoJitterBuffer:_.videoJitterBuffer,videoJitterDelay:_.videoJitterDelay,videoJitterTarget:_.videoJitterTarget})))}}));var S=f.transport,y={};null!=S&&(y.availableOutgoingBitrate=S.sendBandwidth,y.ping=S.rtt,y.decryptionFailures=S.decryptionFailures,y.localAddress=S.localAddress,y.pacerDelay=S.pacerDelay,S.receiverReports&&(y.receiverReports=S.receiverReports),y.receiverBitrateEstimate=S.receiverBitrateEstimate,y.outboundBitrateEstimate=S.outboundBitrateEstimate,y.inboundBitrateEstimate=S.inboundBitrateEstimate||0);null==c||Number.isNaN(c)||(y.bytesReceived=c);null==d||Number.isNaN(d)||(y.bytesSent=d);var A=f.screenshare;return{mediaEngineConnectionId:e,transport:y,screenshare:A,rtp:{inbound:I,outbound:_}}};var r=n(958);function i(){return(i=Object.assign||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}).apply(this,arguments)}function o(e){return e/32768}function a(e){var t,n,r,i,o,a,s,u,l,c=((null==e?void 0:e.headerBytes)||0)+((null==e?void 0:e.payloadBytes)||0)+((null==e?void 0:e.paddingBytes)||0);return((null==e||null===(t=e.fec)||void 0===t?void 0:t.headerBytes)||0)+((null==e||null===(n=e.fec)||void 0===n?void 0:n.payloadBytes)||0)+((null==e||null===(r=e.fec)||void 0===r?void 0:r.paddingBytes)||0)+((null==e||null===(i=e.retransmitted)||void 0===i?void 0:i.headerBytes)||0)+((null==e||null===(o=e.retransmitted)||void 0===o?void 0:o.payloadBytes)||0)+((null==e||null===(a=e.retransmitted)||void 0===a?void 0:a.paddingBytes)||0)+((null==e||null===(s=e.transmitted)||void 0===s?void 0:s.headerBytes)||0)+((null==e||null===(u=e.transmitted)||void 0===u?void 0:u.payloadBytes)||0)+((null==e||null===(l=e.transmitted)||void 0===l?void 0:l.paddingBytes)||0)+c}function s(e){var t,n,r,i=(null==e?void 0:e.packets)||0;return((null==e||null===(t=e.fec)||void 0===t?void 0:t.packets)||0)+((null==e||null===(n=e.retransmitted)||void 0===n?void 0:n.packets)||0)+((null==e||null===(r=e.transmitted)||void 0===r?void 0:r.packets)||0)+i}function u(e){var t,n={};for(var r in e)n[r]=(t=e[r])&&{last:Math.round(1e3*t.last),mean:Math.round(1e3*t.mean),p75:Math.round(1e3*t.p75),p95:Math.round(1e3*t.p95),p99:Math.round(1e3*t.p99),max:Math.round(1e3*t.max)};return n}function l(e,t){var n=e.substreams.find((function(e){return!e.isRTX&&!e.isFlexFEC}));if(n){var i=e.substreams.reduce((function(e,t){return e+a(t.rtpStats)}),0),o=e.substreams.reduce((function(e,t){return e+s(t.rtpStats)}),0);return{type:"video",ssrc:n.ssrc,sinkWant:(0,r.formatSinkWantStat)(t,n.ssrc,!0),codec:{id:e.codecPayloadType,name:e.codecName},bytesSent:i,packetsSent:o,packetsLost:n.rtcpStats.packetsLost,fractionLost:n.rtcpStats.fractionLost,bitrate:e.mediaBitrate,bitrateTarget:e.targetMediaBitrate,encoderImplementationName:e.encoderImplementationName,encodeUsage:e.encodeUsage,averageEncodeTime:e.avgEncodeTime,resolution:{height:n.height,width:n.width},framesSent:n.frameCounts.keyFrames+n.frameCounts.deltaFrames,framesEncoded:e.framesEncoded,frameRateInput:e.inputFrameRate,frameRateEncode:e.encodeFrameRate,firCount:n.rtcpStats.firPackets,nackCount:n.rtcpStats.nackPackets,pliCount:n.rtcpStats.pliPackets,qpSum:e.qpSum,bandwidthLimitedResolution:e.bwLimitedResolution,cpuLimitedResolution:e.cpuLimitedResolution}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=c(n(9)),o=c(n(8)),a=n(178),s=n(1610),u=n(1611),l=c(n(1204));function c(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}function _(e){var t=e.streamId,n=e.paused,c=e.onReady,d=e.onResize,_=e.className,p=function(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}(e,["streamId","paused","onReady","onResize","className"]),E=r.useRef(null),h=r.useRef(o.default.uniqueId("media-engine-video-")).current;return r.useEffect((function(){var e=E.current;if(!n&&null!=e){var r=!1,i=function(t,n){r||(null==c||c(),r=!0),e.width===t&&e.height===n||(e.width=t,e.height=n,null==d||d({width:t,height:n}))},o=(0,a.getVoiceEngine)();if(null!=o.addVideoOutputSink)return o.addVideoOutputSink(h,t,i),function(){o.removeVideoOutputSink(h,t)};var f=function(e){var t,n,r,i,o=null===(t=window)||void 0===t||null===(n=t.DiscordNative)||void 0===n||null===(r=n.app)||void 0===r||null===(i=r.getReleaseChannel)||void 0===i?void 0:i.call(r);return"canary"===o||"development"===o?(0,u.initRenderingContextWebGL)(e):(0,s.initRenderingContext2D)(e)}(e);if(null==f)return;return l.default.addSink(t,E,(function(e){i(e.width,e.height),f.render(e)})),function(){l.default.removeSink(t,E)}}}),[t,n,d,c,h]),r.createElement("canvas",f({id:h,className:(0,i.default)("media-engine-video",_),ref:E},p))}_.displayName="CanvasVideo",_.defaultProps={paused:!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initRenderingContext2D=function(e){var t=e.getContext("2d");if(null==t)return null;return{render:function(e){t.putImageData(e,0,0)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initRenderingContextWebGL=function(e){var t=e.getContext("webgl2");if(null==t)return null;return r.create(t)};var r=function(){function e(e,t,n,r,i,o,a,s){this.gl=e,this.program=t,this.positionLoc=n,this.texcoordLoc=r,this.transformLoc=i,this.textureLoc=o,this.vertexBuffer=a,this.texture=s,this.transform=new Float32Array([2,0,0,0,0,-2,0,0,0,0,1,0,-1,1,0,1])}return e.create=function(t){if(null==t)return null;var n=this.createShader(t,t.VERTEX_SHADER,"\nattribute vec4 position;\nattribute vec2 texcoord;\nuniform mat4 transform;\nvarying vec2 out_texcoord;\n\nvoid main() {\n   gl_Position = transform * position;\n   out_texcoord = texcoord;\n}\n"),r=this.createShader(t,t.FRAGMENT_SHADER,"\nprecision mediump float;\n\nvarying vec2 out_texcoord;\nuniform sampler2D texture;\n\nvoid main() {\n   gl_FragColor = texture2D(texture, out_texcoord);\n}\n");if(null==n||null==r)return null;var i=this.createProgram(t,n,r);if(null==i)return null;var o=t.getAttribLocation(i,"position"),a=t.getAttribLocation(i,"texcoord");if(-1===o||-1===a)return null;var s=t.getUniformLocation(i,"transform"),u=t.getUniformLocation(i,"texture");if(null==s||null==u)return null;var l=t.createBuffer();if(null==l)return null;t.bindBuffer(t.ARRAY_BUFFER,l),t.bufferData(t.ARRAY_BUFFER,new Float32Array([0,0,0,1,1,0,1,0,0,1,1,1]),t.STATIC_DRAW);var c=t.createTexture();return null==c?null:new e(t,i,o,a,s,u,l,c)},e.createShader=function(e,t,n){var r=e.createShader(t);return null==r?null:(e.shaderSource(r,n),e.compileShader(r),e.getShaderParameter(r,e.COMPILE_STATUS)?r:(console.warn("Failed to compile shader!"),console.warn(e.getShaderInfoLog(r)),e.deleteShader(r),null))},e.createProgram=function(e,t,n){if(null==t||null==n)return null;var r=e.createProgram();return null==r?null:(e.attachShader(r,t),e.attachShader(r,n),e.linkProgram(r),e.getProgramParameter(r,e.LINK_STATUS)?r:(console.warn("Failed to link program!"),console.warn(e.getProgramInfoLog(r)),e.deleteProgram(r),null))},e.prototype.render=function(e){if(null!=e){var t=e.width,n=e.height,r=this.gl;r.bindTexture(r.TEXTURE_2D,this.texture),r.texImage2D(r.TEXTURE_2D,0,r.RGBA,t,n,0,r.RGBA,r.UNSIGNED_BYTE,e.data),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.LINEAR),r.viewport(0,0,t,n),r.clearColor(0,0,0,1),r.clear(r.COLOR_BUFFER_BIT),r.useProgram(this.program),r.bindBuffer(r.ARRAY_BUFFER,this.vertexBuffer),r.enableVertexAttribArray(this.positionLoc),r.vertexAttribPointer(this.positionLoc,2,r.FLOAT,!1,0,0),r.enableVertexAttribArray(this.texcoordLoc),r.vertexAttribPointer(this.texcoordLoc,2,r.FLOAT,!1,0,0),r.uniformMatrix4fv(this.transformLoc,!1,this.transform),r.uniform1i(this.textureLoc,0),r.drawArrays(r.TRIANGLES,0,6)}},e}();r.displayName="RenderingContext"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(9))&&r.__esModule?r:{default:r},a=n(178);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}var l=function(){function e(e){this.refcount=1,this.stream=window.createDiscordStream(e)}var t=e.prototype;return t.addref=function(){this.refcount++},t.release=function(){return this.refcount--,0===this.refcount},e}(),c=new Map;function d(e){var t=c.get(e);null!=t&&t.release()&&((0,a.getVoiceEngine)().removeDirectVideoOutputSink(e),c.delete(e))}function f(e){var t=e.streamId,n=e.paused,r=e.onReady,s=e.onResize,f=e.className,_=function(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}(e,["streamId","paused","onReady","onResize","className"]),p=i.useRef(null),E=i.useRef(null),h=i.useRef({width:0,height:0}),m=i.useRef({paused:n,onReady:r,onResize:s});return i.useLayoutEffect((function(){var e=p.current;if(null!=e){var t=document.createElement("video");t.style.display="block",t.style.width="100%",t.style.height="100%",t.autoplay=!0,t.muted=!0,t.addEventListener("pause",(function(){var e;m.current.paused||null===(e=E.current)||void 0===e||e.play()})),t.addEventListener("resize",(function(){var e,t,n,r,i=h.current,o=i.width,a=i.height,s=null!==(e=null===(t=E.current)||void 0===t?void 0:t.videoWidth)&&void 0!==e?e:0,u=null!==(n=null===(r=E.current)||void 0===r?void 0:r.videoHeight)&&void 0!==n?n:0;if(o!==s||a!==u){var l,c,d={width:s,height:u};null===(l=(c=m.current).onResize)||void 0===l||l.call(c,d),h.current=d}})),t.addEventListener("canplaythrough",(function(){var e,t;null===(e=(t=m.current).onReady)||void 0===e||e.call(t)})),e.appendChild(t),E.current=t}}),[]),i.useEffect((function(){m.current.paused=n,m.current.onReady=r,m.current.onResize=s})),i.useEffect((function(){var e=E.current,r=p.current;if(null!=e&&null!=r){if(!n)return e.srcObject=function(e){var t=c.get(e);return null==t?(t=new l(e),(0,a.getVoiceEngine)().addDirectVideoOutputSink(e),c.set(e,t)):t.addref(),t.stream}(t),function(){var n=new MutationObserver((function(r){r.some((function(e){return e.removedNodes.length>0}))&&(requestAnimationFrame((function(){e.srcObject=null,d(t)})),n.disconnect())}));n.observe(r,{childList:!0})};null!=e.srcObject&&(e.srcObject=null,d(t))}}),[n,t]),i.createElement("div",u({className:(0,o.default)("media-engine-video",f),ref:p},_))}f.displayName="DirectVideo",f.defaultProps={paused:!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sanitizeDevices=s,t.getAudioInputDevices=function(){return new Promise((function(e){(0,o.getVoiceEngine)().getInputDevices((function(t){return e(s(a.DeviceTypes.AUDIO_INPUT,t))}))}))},t.getAudioOutputDevices=function(){return new Promise((function(e){(0,o.getVoiceEngine)().getOutputDevices((function(t){return e(s(a.DeviceTypes.AUDIO_OUTPUT,t))}))}))},t.getVideoInputDevices=function(){return new Promise((function(e){(0,o.getVoiceEngine)().getVideoInputDevices((function(t){return e(s(a.DeviceTypes.VIDEO_INPUT,t))}))}))};var r,i=(r=n(66))&&r.__esModule?r:{default:r},o=n(178),a=n(439);function s(e,t){var n,r=!1,o=t.map((function(t,n){var i=t.guid,o=t.guid,s=t.name,u=t.name,l=t.index;return/^default/.test(s)?(r=!0,i=a.DEFAULT_DEVICE_ID,s=s.replace("default","Default")):i=i||s,null!=l&&(n=l),{id:i,type:e,index:n,name:s,originalName:u,originalId:o}}));return e!==a.DeviceTypes.VIDEO_INPUT&&!r&&null!=(null===i.default||void 0===i.default||null===(n=i.default.os)||void 0===n?void 0:n.family)&&/^win/i.test(i.default.os.family)&&o.unshift({id:a.DEFAULT_DEVICE_ID,type:e,index:-1,name:"Default"}),o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n)}(n(0));var r,i,o=(r=n(438))&&r.__esModule?r:{default:r};function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function u(e){var t=e.disabled,n=e.deviceId,r=e.width,i=e.height;return t?s("div",{className:"media-engine-video",style:{width:r,height:i}}):s(o.default,{streamId:n,style:{width:r,height:i}})}u.defaultProps={disabled:!1,width:320,height:180}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1616);var r=n(64),i=h(n(8)),o=h(n(66)),a=n(384),s=h(n(440)),u=n(1618),l=h(n(1629)),c=n(350),d=h(n(1630)),f=h(n(1631)),_=h(n(1632)),p=h(n(964)),E=n(135);function h(e){return e&&e.__esModule?e:{default:e}}function m(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function v(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){m(o,r,i,a,s,"next",e)}function s(e){m(o,r,i,a,s,"throw",e)}a(void 0)}))}}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=function(e){var t,r;function h(){var t;return(t=e.call(this)||this).Video=p.default,t.Camera=_.default,t._audioContext=null,t.outputVolume=E.DEFAULT_VOLUME,t.sourceId=E.DEFAULT_DEVICE_ID,t.sinkId=E.DEFAULT_DEVICE_ID,t.enabled=!1,t.connections=new Set,t.deviceChangeInterval=null,t.interacted=!1,t.loopback=null,t.voiceActivityInput=null,t.pendingDesktopInputs={},t.enablePromise=null,t.handleNewListener=function(e){switch(e){case"devicechange":null==t.deviceChangeInterval&&(t.deviceChangeInterval=window.setInterval(t.handleDeviceChange,5e3),t.handleDeviceChange());break;case"voiceactivity":null==t.voiceActivityInput&&(t.voiceActivityInput=new s.default(t.getAudioContext()),t.voiceActivityInput.setSource(t.sourceId),t.voiceActivityInput.on("voiceactivity",t.handleVoiceActivity),t.enabled&&t.voiceActivityInput.enable())}},t.handleRemoveListener=function(e){switch(e){case"devicechange":null!=t.deviceChangeInterval&&0===t.listenerCount("devicechange")&&(clearInterval(t.deviceChangeInterval),t.deviceChangeInterval=null);break;case"voiceactivity":null!=t.voiceActivityInput&&0===t.listenerCount("voiceactivity")&&(t.voiceActivityInput.destroy(),t.voiceActivityInput=null)}},t.handleDeviceChange=function(){(0,c.getDevices)().then((function(e){var n=e[0],r=e[1],i=e[2];return t.emit("devicechange",n,r,i)}))},t.handleVoiceActivity=function(e){t.emit("voiceactivity",e)},t.handleDesktopSourceEnd=function(){t.emit("desktopsourceend")},t.handleAudioPermission=function(e){t.emit("audio-permission",e)},t.handleVideoPermission=function(e){t.emit("video-permission",e)},t.on("newListener",t.handleNewListener),t.on("removeListener",t.handleRemoveListener),t}r=e,(t=h).prototype=Object.create(r.prototype),t.prototype.constructor=t,T(t,r);var m=h.prototype;return m.destroy=function(){null!=this.deviceChangeInterval&&clearInterval(this.deviceChangeInterval),null!=this.voiceActivityInput&&(this.voiceActivityInput.destroy(),this.voiceActivityInput=null),this.eachConnection((function(e){return e.destroy()})),this.emit("destroy"),this.removeAllListeners()},m.interact=function(){this.interacted||(document.createElement("audio").play(),this.interacted=!0),this.eachConnection((function(e){return e.interact()}))},h.supported=function(){return!__OVERLAY__&&(i.default.some(E.SUPPORTED_BROWSERS,(function(e,t){var n;return o.default.name===t&&parseInt(null!==(n=o.default.version)&&void 0!==n?n:"0",10)>=e}))&&null!=window.AudioContext&&null!=window.RTCPeerConnection?(n(1633),!0):(console.log("WebRTC is not supported on",o.default.name,o.default.version),!1))},m.supported=function(){return!0},m.supports=function(e){var t,n;switch(e){case E.Features.AUDIO_INPUT_DEVICE:return c.CAN_SET_DEVICES;case E.Features.AUDIO_OUTPUT_DEVICE:return c.CAN_SET_OUTPUT_DEVICES;case E.Features.VIDEO:return a.BROWSER_SUPPORTS_VIDEO;case E.Features.DESKTOP_CAPTURE:return null!=(null===(t=navigator.mediaDevices)||void 0===t?void 0:t.getDisplayMedia);case E.Features.VOICE_PROCESSING:return"Chrome"===o.default.name;case E.Features.NATIVE_PING:case E.Features.DIAGNOSTICS:return"Chrome"===o.default.name&&parseInt(null!==(n=o.default.version)&&void 0!==n?n:"0",10)>=58;case E.Features.DESKTOP_CAPTURE_APPLICATIONS:case E.Features.LOOPBACK:return"Safari"!==o.default.name;case E.Features.ICE:case E.Features.QOS:case E.Features.ATTENUATION:case E.Features.AUTOMATIC_VAD:case E.Features.LEGACY_AUDIO_SUBSYSTEM:case E.Features.EXPERIMENTAL_AUDIO_SUBSYSTEM:case E.Features.DEBUG_LOGGING:case E.Features.VOICE_PANNING:case E.Features.AUTO_ENABLE:case E.Features.DESKTOP_CAPTURE_FORMAT:case E.Features.VIDEO_HOOK:case E.Features.OPEN_H264:case E.Features.AEC_DUMP:case E.Features.DISABLE_VIDEO:case E.Features.CONNECTION_REPLAY:case E.Features.SIMULCAST:default:return!1}},m.getAudioContext=function(){return null==this._audioContext&&(this._audioContext=new AudioContext),this._audioContext},m.connect=function(e,t,n){var r=this,i=(n.ssrc,n.address,n.port,n.modes,n.iceServers),o=n.streamUserId,a=n.streamParameters,s=(0,u.makeConnection)(e,t,this.getAudioContext(),i,a);return s.streamUserId=o,s.setOutputVolume(this.outputVolume),s.setSinkId(this.sinkId),s.once("destroy",(function(e){return r.connections.delete(e)})),s.on("silence",(function(e){return r.emit("silence",e)})),s.on("desktopsourceend",this.handleDesktopSourceEnd),s.on("audio-permission",this.handleAudioPermission),s.on("video-permission",this.handleVideoPermission),this.interacted&&s.interact(),e===E.MediaEngineContextTypes.DEFAULT&&(s.setAudioSource(this.sourceId),this.enabled&&s.input.enableAudioInput()),this.connections.add(s),this.emit("connection",s),s},m.findConnection=function(e){return Array.from(this.connections).find((function(t){return null==e||t.context===e}))},m.eachConnection=function(e,t){this.connections.forEach((function(n){null!=t&&n.context!==t||e(n)}))},m.enable=function(){var e=this;return null==this.enablePromise&&(this.enablePromise=this._enable().finally((function(){e.enablePromise=null}))),this.enablePromise},m._enable=function(){var e=v(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.enabled){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.getAudioContext().audioWorklet.addModule(d.default);case 4:return(t=new s.default(this.getAudioContext())).on("permission",this.handleAudioPermission),e.prev=6,e.next=9,t.enable();case 9:this.enabled=!0,this.eachConnection((function(e){return e.input.enableAudioInput()}),E.MediaEngineContextTypes.DEFAULT),null===(n=this.voiceActivityInput)||void 0===n||n.enable();case 12:return e.prev=12,t.destroy(),e.finish(12);case 15:case"end":return e.stop()}}),e,this,[[6,,12,15]])})));return function(){return e.apply(this,arguments)}}(),m.setInputVolume=function(e){},m.setOutputVolume=function(e){this.outputVolume=e,this.connections.forEach((function(t){return t.setOutputVolume(e)}))},m.getAudioInputDevices=function(){return(0,c.getAudioInputDevices)()},m.setAudioInputDevice=function(e){var t,n;this.sourceId=e,this.eachConnection((function(t){return t.setAudioSource(e)}),E.MediaEngineContextTypes.DEFAULT),null===(t=this.voiceActivityInput)||void 0===t||t.setSource(e),null===(n=this.loopback)||void 0===n||n.setAudioSource(e)},m.getAudioOutputDevices=function(){return(0,c.getAudioOutputDevices)()},m.setAudioOutputDevice=function(e){var t;this.sinkId=e,this.connections.forEach((function(t){return t.setSinkId(e)})),null===(t=this.loopback)||void 0===t||t.setAudioSink(e)},m.getVideoInputDevices=function(){return(0,c.getVideoInputDevices)()},m.setVideoInputDevice=function(e){this.eachConnection((function(t){return t.setVideoSource(e)}),E.MediaEngineContextTypes.DEFAULT)},m.getSupportedVideoCodecs=function(e){e([])},m.getDesktopSource=function(){var e=v(regeneratorRuntime.mark((function e(t,n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===n&&(n=!1),e.next=3,l.default.get(t,n);case 3:return r=e.sent,this.pendingDesktopInputs[r.id]=r,e.abrupt("return",r.id);case 6:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}(),m.getDesktopSources=function(){return Promise.reject(new Error("NO_STREAM"))},m.getScreenPreviews=function(e,t){return Promise.reject(new Error("UNSUPPORTED"))},m.getWindowPreviews=function(e,t){return Promise.reject(new Error("UNSUPPORTED"))},m.setDesktopSource=function(e,t){if(void 0===t&&(t=E.MediaEngineContextTypes.DEFAULT),null==e)this.eachConnection((function(e){return e.setDesktopInput(null)}),t);else if(null!=this.findConnection(t)){var n=this.pendingDesktopInputs[e.id];delete this.pendingDesktopInputs[e.id],null!=n&&this.eachConnection((function(e){return e.setDesktopInput(n)}),t)}},m.setSoundshareSource=function(e,t,n){},m.setAudioSubsystem=function(e){},m.getAudioSubsystem=function(){return E.AudioSubsystems.STANDARD},m.getAudioLayer=function(){return""},m.getDebugLogging=function(){return!1},m.setDebugLogging=function(e){},m.writeAudioDebugState=function(){return Promise.reject(new Error("Audio debug state is not supported."))},m.setExperimentalAdm=function(e){},m.setLoopback=function(e,t){e&&null==this.loopback?(this.enable(),this.loopback=new f.default(this.getAudioContext(),this.sourceId,this.sinkId)):e||null==this.loopback||(this.loopback.stop(),this.loopback=null)},m.getLoopback=function(){return null!=this.loopback},m.setH264Enabled=function(e){},m.startAecDump=function(){},m.stopAecDump=function(){},m.setAecDump=function(e){},m.createReplayConnection=function(e,t){throw new Error("Connection replay is not supported.")},m.setUseDirectVideo=function(e){},m.rankRtcRegions=function(e){return Promise.reject(new Error("RTC region latency test is not supported."))},m.getSoundshareStatus=function(){return Promise.reject(new Error("getSoundshareStatus is not supported."))},m.enableSoundshare=function(){return Promise.reject(new Error("enableSoundshare is not supported."))},h}(r.EventEmitter);t.default=g},function(e,t,n){"use strict";var r,i=(r=n(66))&&r.__esModule?r:{default:r},o=n(959);if(window.AudioContext=window.AudioContext||window.webkitAudioContext,null!=window.RTCPeerConnection&&"Chrome"===i.default.name&&(0,o.platformVersion)()<52){["createOffer","createAnswer"].forEach((function(e){var t=RTCPeerConnection.prototype[e];RTCPeerConnection.prototype[e]=function(){for(var e=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];if(r.length<1||1===r.length&&"object"==typeof r[0]){var o=1===r.length?r[0]:void 0;return null!=o&&(o={mandatory:{OfferToReceiveAudio:o.offerToReceiveAudio||!1,OfferToReceiveVideo:o.offerToReceiveVideo||!1},optional:[{VoiceActivityDetection:o.voiceActivityDetection||!1},{IceRestart:o.iceRestart||!1}]}),new Promise((function(n,r){return t.apply(e,[n,r,o])}))}return t.apply(this,r)}}))}},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(){function e(e,t,n,r,i){var o=this;void 0===r&&(r=.1),void 0===i&&(i=10),this.currentVolume=0,this.speakingHistoryIndex=0,this.speakingCounter=0,this.onProcess=null;var a=e.createAnalyser();a.fftSize=512,a.smoothingTimeConstant=r;var s=e.createMediaStreamSource(t);s.connect(a);for(var u=[],l=0;l<i;l++)u.push(!1);var c=window.setInterval((function(){o.update(),o.onProcess&&o.onProcess(o.speaking,o.currentVolume)}),20);this.threshold=n,this.analyser=a,this.interval=c,this.fftBins=new Float32Array(a.fftSize),this.source=s,this.speakingHistory=u,this.silenceThreshold=this.speakingHistory.length,this.silentFrames=this.silenceThreshold}var t,n,i,o=e.prototype;return o.stop=function(){this.source.disconnect(),clearInterval(this.interval),this.speakingCounter=0},o.update=function(){this.currentVolume=function(e,t){var n=-1/0;e.getFloatFrequencyData(t);for(var r=4;r<t.length;r++)t[r]>n&&t[r]<0&&(n=t[r]);return n}(this.analyser,this.fftBins),this.speakingHistory[this.speakingHistoryIndex]&&this.speakingCounter--;var e=this.currentVolume>this.threshold;this.speakingHistory[this.speakingHistoryIndex]=e,e&&this.speakingCounter++,++this.speakingHistoryIndex===this.speakingHistory.length&&(this.speakingHistoryIndex=0),this.speakingCounter>0?this.silentFrames=0:this.silentFrames++},t=e,(n=[{key:"speaking",get:function(){return this.speakingCounter>0||this.silentFrames<this.silenceThreshold}}])&&r(t.prototype,n),i&&r(t,i),e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeConnection=function(e,t,n,i,o){var a=(r.default.name?r.default.name:"unknown")+" "+(r.default.version?r.default.version:"unknown");return l.USE_UNIFIED?(p.info("Using Unified Plan ("+a+")"),new c.default(e,t,n,i,o)):(p.info("Using Plan B ("+a+")"),new h(e,t,n,i,o))},t.default=void 0;var r=f(n(66)),i=f(n(190)),o=f(n(961)),a=f(n(1623)),s=n(441),u=f(n(1627)),l=n(442),c=f(n(1628)),d=n(135);function f(e){return e&&e.__esModule?e:{default:e}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=new i.default("Connection");function E(e){return e.split("-")[0]}var h=function(e){var t,n;function r(t,n,r,i,o){var c;(c=e.call(this,t,n,r,i,o)||this).codecs=[],c.getTrackUserId=function(e){return e.trackIdentifier.split("-")[0].slice(1)};var f=new a.default;f.on("answer",(function(e){return c.pc.setRemoteDescription(e).catch((function(e){return p.error("Failed to set remote description (answer): "+e)}))})),f.on("offer",(function(e){c.pc.setRemoteDescription(e).then((function(){return c.pc.createAnswer()})).then((function(e){return c.fpc.setRemoteDescription(e)})).catch((function(e){return p.error("Failed to set remote description (offer): "+e)}))})),f.direction=null!=c.input.stream?l.Directions.SENDRECV:l.Directions.SENDONLY,c.fpc=f;var _=new u.default(c.iceServers,c.voiceBitrate);return _.on("addtrack",(function(e,t){return c.createOutput(E(e),t)})),_.on("removetrack",(function(e,t){return c.destroyOutput(E(e),t)})),_.once("connected",(function(){c.input.reset(),c.setConnectionState(d.ConnectionStates.CONNECTED),c.pollStats(),c.input.on(s.InputEvent.VoiceActivity,c.handleVoiceActivity)})),_.on("checking",(function(){return c.setConnectionState(d.ConnectionStates.ICE_CHECKING)})),_.on("failed",(function(){return c.setConnectionState(d.ConnectionStates.NO_ROUTE)})),_.on("disconnected",(function(){return c.setConnectionState(d.ConnectionStates.DISCONNECTED)})),_.on("closed",(function(){return c.setConnectionState(d.ConnectionStates.DISCONNECTED)})),_.on("offer",(function(e){var t=e.sdp,n=(0,l.extractSDP)(t),r=n.outboundStreams,i=n.codecs,o=n.audioSSRC,a=n.videoSSRC,s=n.rtxSSRC;c.codecs=i;var u=(0,l.getExtensions)(t);f.outboundStreams=r,c.audioSSRC=o,f.extensions=u,c.videoStreamParameters[0].ssrc===a&&c.videoStreamParameters[0].rtxSsrc===s&&c.videoReady||(c.videoStreamParameters[0].ssrc=a,c.videoStreamParameters[0].rtxSsrc=s,c.emit("video",c.userId,c.input.getVideoStreamId(),c.audioSSRC,c.videoStreamParameters[0].ssrc,c.videoStreamParameters[0].rtxSsrc,c.videoStreamParameters),c.videoReady=!0)})),_.once("offer",(function(e){var t=e.sdp;c.emit("connected","webrtc",(0,l.truncateSDP)(t))})),null!=c.input.stream?_.setStream(c.input.stream):_.negotiationNeeded(),c.pc=_,c}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n);var i=r.prototype;return i.destroy=function(){e.prototype.destroy.call(this),this.pc.close()},i.setCodecs=function(e,t,n){var r;this.fpc.audioCodec===e&&this.fpc.videoCodec===t||(r=this.codecs.find((function(t){return t.name===e})),this.fpc.audioCodec=e,this.fpc.audioPayloadType=r?r.payloadType:0,r=this.codecs.find((function(e){return e.name===t})),this.fpc.videoCodec=t,this.fpc.videoPayloadType=r?r.payloadType:0,this.fpc.rtxPayloadType=r?r.rtxPayloadType:0,this.pc.negotiationNeeded())},i.setStream=function(e){this.fpc.direction=null!=e?l.Directions.SENDRECV:l.Directions.SENDONLY,this.pc.setStream(null!=e?e:null)},i.createUser=function(e,t,n){0!==t?(p.info("Creating user: "+e+" with audio SSRC: "+t+" and video SSRC: "+n),this.fpc.addStream(e,t,n)):p.warn("Attempting to create user "+e+" with 0 audio SSRC")},i.destroyUser=function(e){this.fpc.removeStream(e)},i.setBitRate=function(t){this.voiceBitrate!==t&&(e.prototype.setBitRate.call(this,t),this.pc.setBitRate(t))},i.setSDP=function(e){var t=this;this.pc.on("offer",(function(){return t.fpc.createAnswer()})),this.fpc.sdp=e},i.getRawStats=function(){return this.pc.getStats()},i.setVideoEncoderParameters=function(e){},r}(o.default);t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(64),i=function(){function e(){this.emitter=new r.EventEmitter}var t=e.prototype;return t.on=function(e,t){this.emitter.on(e,t)},t.addListener=function(e,t){this.emitter.addListener(e,t)},t.removeListener=function(e,t){this.emitter.removeListener(e,t)},t.removeAllListeners=function(){this.emitter.removeAllListeners()},t.emit=function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];(t=this.emitter).emit.apply(t,[e].concat(r))},e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=n(64),o=n(350),a=(r=n(960))&&r.__esModule?r:{default:r},s=n(253),u=n(135);function l(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=new a.default,f=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).stream=new MediaStream,t.sourceId=u.DISABLED_DEVICE_ID,t.streamId=null,t.destroyed=!1,t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var i=r.prototype;return i.destroy=function(){null!=this.stream&&(d.release(this.stream),this.stream=null),null!=this.streamId&&(0,s.unregisterVideoStream)(this.streamId),this.destroyed=!0},i.getStreamId=function(){return this.streamId},i.setSource=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var n,r,i,a=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.sourceId!==t){e.next=2;break}return e.abrupt("return",this.stream);case 2:return this.sourceId=t,null!=this.stream&&(d.release(this.stream),this.stream=null),e.next=6,(0,o.getVideoInputDevices)();case 6:if(n=e.sent,this.sourceId!==u.DISABLED_DEVICE_ID){e.next=9;break}return e.abrupt("return",this.setStream(new MediaStream));case 9:return r={width:1280},n.some((function(e){return e.id===a.sourceId}))&&(r.deviceId=this.sourceId),e.prev=11,e.next=14,d.acquire({audio:!1,video:r});case 14:if(i=e.sent,!this.destroyed){e.next=18;break}throw d.release(i),new Error("VideoInput: Already destroyed");case 18:return this.emit("permission",!0),e.abrupt("return",this.setStream(i));case 22:if(e.prev=22,e.t0=e.catch(11),"string"==typeof e.t0){e.next=34;break}e.t1=e.t0.name,e.next="PermissionDeniedError"===e.t1||"NotAllowedError"===e.t1?28:"PermissionDismissedError"===e.t1?30:"DevicesNotFoundError"===e.t1||"NotFoundError"===e.t1?32:33;break;case 28:throw this.emit("permission",!1),u.UserMediaErrors.PERMISSION_DENIED;case 30:throw this.emit("permission",!1),u.UserMediaErrors.PERMISSION_DISMISSED;case 32:throw u.UserMediaErrors.NO_DEVICES_FOUND;case 33:throw e.t0.name||"UNKNOWN";case 34:throw e.t0;case 35:case"end":return e.stop()}}),e,this,[[11,22]])})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){l(o,r,i,a,s,"next",e)}function s(e){l(o,r,i,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),i.setStream=function(e){var t=this;return null!=this.streamId&&((0,s.unregisterVideoStream)(this.streamId),this.streamId=null),this.stream=e,e.onaddtrack=function(e){return t.emit("add-video-track",e)},e.getVideoTracks().length>0&&(this.streamId=(0,s.registerVideoStream)(e)),this.emit("stream",e),this.emit("video",this.getStreamId()),e},r}(i.EventEmitter);t.default=f},function(e,t,n){"use strict";var r;function i(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0}),t.WebRTCStatsCalculator=void 0;var a,s=function(){function e(){this.inboundVideoBitrate={},this.inboundDecodeFps={},this.outboundVideoBitrate={},this.outboundEncodeFps={}}var t=e.prototype;return t.update=function(e){for(var t in e.rtp.inbound)for(var n,r=i(e.rtp.inbound[t]);!(n=r()).done;){var o=n.value;switch(o.type){case"video":var a=this.getInboundBytesRecevierCalculator(o),s=this.getInboundFrameDecodeRateCalculator(o);o.bitrate=a.calculate(o),o.frameRateDecode=s.calculate(o)}}for(var u,l=i(e.rtp.outbound);!(u=l()).done;){var c=u.value;switch(c.type){case"video":var d=this.getOutboundBytesSentCalculator(c),f=this.getOutboundEncodeRateCalculator(c);c.bitrate=d.calculate(c),c.frameRateEncode=f.calculate(c)}}},e.getCalculatorOrCreate=function(e,t,n,r,i){void 0===i&&(i=a.NONE);var o=e[t.ssrc];return null==o&&(o=new l(n,r,i),e[t.ssrc]=o),o},t.getInboundBytesRecevierCalculator=function(t){return e.getCalculatorOrCreate(this.inboundVideoBitrate,t,"bytesReceived","timestamp",a.MILLISECONDS_FROM_SECONDS|a.BYTES_TO_BITS)},t.getInboundFrameDecodeRateCalculator=function(t){return e.getCalculatorOrCreate(this.inboundDecodeFps,t,"framesDecoded","timestamp",a.MILLISECONDS_FROM_SECONDS|a.ROUND)},t.getOutboundBytesSentCalculator=function(t){return e.getCalculatorOrCreate(this.outboundVideoBitrate,t,"bytesSent","timestamp",a.MILLISECONDS_FROM_SECONDS|a.BYTES_TO_BITS)},t.getOutboundEncodeRateCalculator=function(t){return e.getCalculatorOrCreate(this.outboundEncodeFps,t,"framesEncoded","timestamp",a.MILLISECONDS_FROM_SECONDS|a.ROUND)},e}();t.WebRTCStatsCalculator=s,function(e){e[e.NONE=0]="NONE",e[e.MILLISECONDS_FROM_SECONDS=1]="MILLISECONDS_FROM_SECONDS",e[e.BYTES_TO_BITS=2]="BYTES_TO_BITS",e[e.ROUND=4]="ROUND"}(a||(a={}));var u=((r={})[a.NONE]={multiplier:1},r[a.MILLISECONDS_FROM_SECONDS]={postfix:"_in_ms",multiplier:1e3},r[a.BYTES_TO_BITS]={bitrate:!0,postfix:"",multiplier:8},r),l=function(){function e(e,t,n){for(var r in void 0===n&&(n=a.NONE),this.accumulativeMetricKey=e,this.samplesMetricKey=t,this.multiplier=1,this.round=!1,a){var i,o=Number(r);!isNaN(o)&&0!=(n&o)&&r in u&&(this.multiplier*=(null===(i=u[r])||void 0===i?void 0:i.multiplier)||1)}this.round=0!=(n&a.ROUND)}return e.prototype.calculate=function(e){var t=this.previous;if(this.previous=e,null!=t){var n=e.timestamp-t.timestamp;if(!(n<=0||"number"!=typeof n)){var r=t[this.accumulativeMetricKey],i=e[this.accumulativeMetricKey];if("number"==typeof r&&"number"==typeof i){var o=t[this.samplesMetricKey],a=e[this.samplesMetricKey];if("number"==typeof o&&"number"==typeof a){var s=(i-r)/(a-o)*this.multiplier;return this.round?Math.round(s):s}}}}},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){for(var u,l,c={},d={},f={},_={},p=[],E=[],h={},m=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(e.values());!(l=m()).done;){var v=l.value;switch(v.type){case"transport":u=v;break;case"local-candidate":case"remote-candidate":c[v.id]=v;break;case"candidate-pair":d[v.id]=v;break;case"codec":f[v.id]=v;break;case"track":_[v.id]=v;break;case"inbound-rtp":p.push(v);break;case"outbound-rtp":E.push(v);break;case"media-source":h[v.id]=v}}if(null==u)return null;var T=d[u.selectedCandidatePairId];if(null==T)return null;for(var g=[],I=0,S=E;I<S.length;I++){var y=S[I],A=f[y.codecId];if(null!=A&&!y.isRemote){var O=s(y,h),N=s(y,_,(function(e){return!e.remoteSource})),R={ssrc:y.ssrc,timestamp:y.timestamp,sinkWant:(0,r.formatSinkWantStat)(n,y.ssrc,"video"===y.mediaType),codec:a(A),bytesSent:y.bytesSent,packetsSent:y.packetsSent};if("audio"===y.mediaType){var b=i({type:y.mediaType},R);null!=N&&(b=i({audioLevel:N.audioLevel},b)),g.push(b)}else if("video"===y.mediaType){var L=O,D=i({type:y.mediaType},R,{framesEncoded:y.framesEncoded,firCount:y.firCount,nackCount:y.nackCount,pliCount:y.pliCount,bitrateTarget:y.targetBitrate,qpSum:y.qpSum,averageEncodeTime:null==y.framesEncoded||null==y.totalEncodeTime?void 0:(1e3*y.totalEncodeTime/y.framesEncoded).toFixed(1)});null!=N&&(D=i({resolution:{height:N.frameHeight,width:N.frameWidth},framesSent:N.framesSent,frameRateInput:null==L?void 0:L.framesPerSecond},D)),g.push(D)}}}for(var C={},M=0,P=p;M<P.length;M++){var w=P[M],U=_[w.trackId],k=f[w.codecId];if(null!=U&&null!=k){var G={type:w.mediaType,ssrc:w.ssrc,timestamp:w.timestamp,sinkWant:(0,r.formatSinkWantStat)(n,w.ssrc,"video"===w.mediaType),codec:a(k),bytesReceived:w.bytesReceived,packetsReceived:w.packetsReceived,packetsLost:w.packetsLost},Y=t(U);if("audio"===w.mediaType&&"audio"===U.kind&&U.remoteSource){var x=U.hasOwnProperty("jitterBufferDelay")&&U.hasOwnProperty("jitterBufferEmittedCount")?Math.round(1e3*U.jitterBufferDelay/U.jitterBufferEmittedCount):0;null==C[Y]&&(C[Y]=[]),C[Y].push(i({type:"audio"},G,{audioLevel:U.audioLevel,jitter:1e3*w.jitter,jitterBuffer:x}))}else"video"===w.mediaType&&"video"===U.kind&&U.remoteSource&&(null==C[Y]&&(C[Y]=[]),C[Y].push(i({type:"video"},G,{resolution:{height:U.frameHeight,width:U.frameWidth},framesDecoded:w.framesDecoded,framesDropped:U.framesDropped,framesReceived:U.framesReceived,frameRateDecode:w.framesPerSecond,averageDecodeTime:null==w.framesDecoded||null==w.totalDecodeTime?void 0:(1e3*w.totalDecodeTime/w.framesDecoded).toFixed(1),firCount:w.firCount,nackCount:w.nackCount,pliCount:w.pliCount,qpSum:w.qpSum,decoderImplementationName:"WebRTC"})))}}return{transport:{availableOutgoingBitrate:T.availableOutgoingBitrate||0,bytesReceived:T.bytesReceived,bytesSent:T.bytesSent,ping:1e3*T.currentRoundTripTime},rtp:{inbound:C,outbound:g}}};var r=n(958);function i(){return(i=Object.assign||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}).apply(this,arguments)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e){return{id:e.payloadType,name:e.mimeType.split("/").slice(1)[0]}}function s(e,t,n){var r,i=(null===(r=t[e.trackId])||void 0===r?void 0:r.kind)===e.mediaType?t[e.trackId]:void 0;return null==i||!n||n(i)?i:void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=n(64),o=(r=n(66))&&r.__esModule?r:{default:r},a=n(442);function s(){return(s=Object.assign||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}).apply(this,arguments)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).audioCodec=null,t.audioPayloadType=null,t.videoCodec=null,t.videoPayloadType=null,t.rtxPayloadType=null,t.direction=null,t.outboundStreams=[],t.extensions=[],t.streams=[],t.activeAudioSSRCs={},t.activeVideoSSRCs={},t._sdp=null,t.connected=!1,t.negotiating=!1,t._negotiationNeeded=!1,t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var i,c,d,f=r.prototype;return f.addStream=function(e,t,n){var r,i,o=!1;(this.streams.some((function(e){return e.ssrc===t}))||this.streams.push({ssrc:t,cname:e,type:"audio"}),this.activeAudioSSRCs[e]!==t)&&(this.activeAudioSSRCs=s({},this.activeAudioSSRCs,((r={})[e]=t,r)),o=!0);null!=n&&(n>0?(this.streams.some((function(e){return e.ssrc===n}))||this.streams.push({ssrc:n,cname:e,type:"video"}),this.activeVideoSSRCs[e]!==n&&(this.activeVideoSSRCs=s({},this.activeVideoSSRCs,((i={})[e]=n,i)),o=!0)):null!=this.activeVideoSSRCs[e]&&(o=!0,this.activeVideoSSRCs=s({},this.activeVideoSSRCs),delete this.activeVideoSSRCs[e]));o&&this.negotiationNeeded()},f.removeStream=function(e){var t=!1;null!=this.activeAudioSSRCs[e]&&(t=!0,this.activeAudioSSRCs=s({},this.activeAudioSSRCs),delete this.activeAudioSSRCs[e]),null!=this.activeVideoSSRCs[e]&&(t=!0,this.activeVideoSSRCs=s({},this.activeVideoSSRCs),delete this.activeVideoSSRCs[e]),t&&this.negotiationNeeded()},f.negotiationNeeded=function(){this.negotiating?this._negotiationNeeded=!0:null!=this._sdp?(this.negotiating=!0,this._negotiationNeeded=!1,this.generateSessionDescription("offer")):this._negotiationNeeded=!0},f.setRemoteDescription=function(e){return this.negotiating=!1,this._negotiationNeeded&&this.negotiationNeeded(),Promise.resolve()},f.createAnswer=function(){return this.generateSessionDescription("answer")},f.getSSRCs=function(e){var t=this,n=this.streams.map((function(e,n){var r=e.cname,i=e.ssrc,o=e.type,s=t.activeAudioSSRCs[r],u=t.activeVideoSSRCs[r],l=o+"_inbound_"+n;return[i,r,o,s===i||u===i?t.direction:a.Directions.INACTIVE,l]}));if("Firefox"!==o.default.name)return this.connected?n:[];var r=this.outboundStreams.map((function(e,t){return[0,"outbound",e.type,(0,a.getDirection)(e.direction),e.type+"_outbound_"+t]}));if("answer"===e){var i=r.length-n.length;return r.slice(0,i).concat(n).slice(0,r.length).map((function(e,n){var r=e[0],i=e[1],o=e[2];e[3],e[4];return[r,i,o,(0,a.getDirection)(t.outboundStreams[n].direction),t.outboundStreams[n].mid]}))}return r.concat(n)},f.generateSessionDescription=function(e){var t=this.audioCodec,n=this.audioPayloadType,r=this.videoCodec,i=this.videoPayloadType,o=this.rtxPayloadType,s=this.sdp;if(null==t||null==n||null==r||null==i||null==o||null==s||null==this.direction)throw new Error("Invalid payload: audioCodec: "+t+", audioPayloadType: "+(null==n?"null":n)+", videoCodec: "+r+", videoCodecPayloadType: "+(null==i?"null":i)+", rtxPayloadType: "+(null==o?"null":o)+", sdp: "+s);var u=(0,a.generateSessionDescription)(e,s,this.direction,t,n,40,r,i,2500,o,this.getSSRCs(e),this.extensions);return this.emit(e,u),Promise.resolve(u)},i=r,(c=[{key:"sdp",get:function(){if(null==this._sdp)throw new Error("sdp is not set");return this._sdp},set:function(e){if(!(0,a.validateSdp)(e))throw new Error("Incorrect SDP received from rtc-worker: "+e);this._sdp=e,this.createAnswer(),this.connected=!0,this._negotiationNeeded&&this.negotiationNeeded()}}])&&u(i.prototype,c),d&&u(i,d),r}(i.EventEmitter);t.default=c},function(e,t,n){var r=n(1625),i=n(1626);t.write=i,t.parse=r.parse,t.parseFmtpConfig=r.parseFmtpConfig,t.parseParams=r.parseParams,t.parsePayloads=r.parsePayloads,t.parseRemoteCandidates=r.parseRemoteCandidates,t.parseImageAttributes=r.parseImageAttributes,t.parseSimulcastStreamList=r.parseSimulcastStreamList},function(e,t,n){var r=function(e){return String(Number(e))===e?Number(e):e},i=function(e,t,n){var i=e.name&&e.names;e.push&&!t[e.push]?t[e.push]=[]:i&&!t[e.name]&&(t[e.name]={});var o=e.push?{}:i?t[e.name]:t;!function(e,t,n,i){if(i&&!n)t[i]=r(e[1]);else for(var o=0;o<n.length;o+=1)null!=e[o+1]&&(t[n[o]]=r(e[o+1]))}(n.match(e.reg),o,e.names,e.name),e.push&&t[e.push].push(o)},o=n(963),a=RegExp.prototype.test.bind(/^([a-z])=(.*)/);t.parse=function(e){var t={},n=[],r=t;return e.split(/(\r\n|\r|\n)/).filter(a).forEach((function(e){var t=e[0],a=e.slice(2);"m"===t&&(n.push({rtp:[],fmtp:[]}),r=n[n.length-1]);for(var s=0;s<(o[t]||[]).length;s+=1){var u=o[t][s];if(u.reg.test(a))return i(u,r,a)}})),t.media=n,t};var s=function(e,t){var n=t.split(/=(.+)/,2);return 2===n.length&&(e[n[0]]=r(n[1])),e};t.parseParams=function(e){return e.split(/\;\s?/).reduce(s,{})},t.parseFmtpConfig=t.parseParams,t.parsePayloads=function(e){return e.split(" ").map(Number)},t.parseRemoteCandidates=function(e){for(var t=[],n=e.split(" ").map(r),i=0;i<n.length;i+=3)t.push({component:n[i],ip:n[i+1],port:n[i+2]});return t},t.parseImageAttributes=function(e){return e.split(" ").map((function(e){return e.substring(1,e.length-1).split(",").reduce(s,{})}))},t.parseSimulcastStreamList=function(e){return e.split(";").map((function(e){return e.split(",").map((function(e){var t,n=!1;return"~"!==e[0]?t=r(e):(t=r(e.substring(1,e.length)),n=!0),{scid:t,paused:n}}))}))}},function(e,t,n){var r=n(963),i=/%[sdv%]/g,o=function(e){var t=1,n=arguments,r=n.length;return e.replace(i,(function(e){if(t>=r)return e;var i=n[t];switch(t+=1,e){case"%%":return"%";case"%s":return String(i);case"%d":return Number(i);case"%v":return""}}))},a=function(e,t,n){var r=[e+"="+(t.format instanceof Function?t.format(t.push?n:n[t.name]):t.format)];if(t.names)for(var i=0;i<t.names.length;i+=1){var a=t.names[i];t.name?r.push(n[t.name][a]):r.push(n[t.names[i]])}else r.push(n[t.name]);return o.apply(null,r)},s=["v","o","s","i","u","e","p","c","b","t","r","z","a"],u=["i","c","b","a"];e.exports=function(e,t){t=t||{},null==e.version&&(e.version=0),null==e.name&&(e.name=" "),e.media.forEach((function(e){null==e.payloads&&(e.payloads="")}));var n=t.outerOrder||s,i=t.innerOrder||u,o=[];return n.forEach((function(t){r[t].forEach((function(n){n.name in e&&null!=e[n.name]?o.push(a(t,n,e)):n.push in e&&null!=e[n.push]&&e[n.push].forEach((function(e){o.push(a(t,n,e))}))}))})),e.media.forEach((function(e){o.push(a("m",r.m[0],e)),i.forEach((function(t){r[t].forEach((function(n){n.name in e&&null!=e[n.name]?o.push(a(t,n,e)):n.push in e&&null!=e[n.push]&&e[n.push].forEach((function(e){o.push(a(t,n,e))}))}))}))})),o.join("\r\n")+"\r\n"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(64),i=n(384);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){var t,n;function r(t,n){var r;(r=e.call(this)||this).stream=null,r.senders=[],r.negotiating=!1,r._negotiationNeeded=!1,r.handleIceConnectionStateChange=function(){var e=r.iceConnectionState;console.info("iceConnectionState =>",e),"completed"===e&&(e="connected"),r.emit(e)},r.handleSignalingStateChange=function(){console.info("signalingState => "+r.signalingState+", negotiation needed: "+r._negotiationNeeded.toString()),"stable"===r.signalingState&&(r.negotiating=!1,r._negotiationNeeded&&r.negotiationNeeded())},r.handleIceGatheringStateChange=function(){console.info("iceGatheringState =>",r.iceGatheringState)},r.handleTrack=function(e){r.emitTrack(e.streams[0].id,e.track)},r.bitrate=n;var i=r.pc=new RTCPeerConnection({iceServers:t,sdpSemantics:"plan-b"});return i.oniceconnectionstatechange=r.handleIceConnectionStateChange,i.onsignalingstatechange=r.handleSignalingStateChange,i.onicegatheringstatechange=r.handleIceGatheringStateChange,i.ontrack=r.handleTrack.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r)),console.info("Constructed RTCPeerConnection"),r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n);var s,u,l,c=r.prototype;return c.setBitRate=function(e){this.bitrate!==e&&(this.bitrate=e,this.negotiationNeeded())},c.close=function(){console.info("Close RTCPeerConnection"),"closed"!==this.signalingState&&this.pc.close(),this.removeAllListeners()},c.setStream=function(e,t){void 0===t&&(t=!1);var n=this.pc,r="closed"===this.iceConnectionState,i=!1;null==this.stream||r||(this.senders.forEach((function(e){return n.removeTrack(e)})),i=!0),this.stream=e,this.senders=[],null==e||r||(this.senders=[].concat(e.getAudioTracks().map((function(t){return n.addTrack(t,e)})),e.getVideoTracks().map((function(t){return n.addTrack(t,e)}))),i=!0),i&&!t&&this.negotiationNeeded()},c.createOffer=function(){var e=this,t=this.pc;return t.createOffer(this.makeOfferAnswerOptions()).then((function(n){return t.setLocalDescription(e.mungeLocalDescription(n))})).then((function(){var n=t.localDescription;if(null==n)throw new Error("localDescription is null");return e.emit("offer",n),n})).catch((function(n){if("have-remote-offer"===t.signalingState)return console.error(n),e.createOffer();throw n}))},c.createAnswer=function(){var e=this,t=this.pc;return t.createAnswer(this.makeOfferAnswerOptions()).then((function(n){return t.setLocalDescription(e.mungeLocalDescription(n))})).then((function(){var n=t.localDescription;if(null==n)throw new Error("localDescription is null");return e.emit("answer",n),n})).catch((function(e){throw console.warn("PeerConnection#createAnswer: Attempted to set local description in state: "+t.signalingState),e}))},c.negotiationNeeded=function(){this.negotiating?this._negotiationNeeded=!0:(this.negotiating=!0,this._negotiationNeeded=!1,this.createOffer())},c.setRemoteDescription=function(e){return this.pc.setRemoteDescription(e)},c.getStats=function(){return this.pc.getStats()},c.makeOfferAnswerOptions=function(){return{offerToReceiveAudio:!0,offerToReceiveVideo:i.BROWSER_SUPPORTS_VIDEO,iceRestart:!1}},c.mungeLocalDescription=function(e){for(var t=e.sdp.split("\n"),n=0;n<t.length;n++){var r=t[n];if(/^a=mid:/.test(r)){null!=this.bitrate&&t.splice(n+1,0,"b=AS:"+Math.floor(this.bitrate/1e3));break}}return e.sdp=t.join("\n"),e},c.emitTrack=function(e,t){var n=this;/^default/.test(t.id)||(t.onended=function(){n.emit("removetrack",e,t)},this.emit("addtrack",e,t))},s=r,(u=[{key:"iceGatheringState",get:function(){return this.pc.iceGatheringState}},{key:"iceConnectionState",get:function(){return this.pc.iceConnectionState}},{key:"signalingState",get:function(){return this.pc.signalingState}},{key:"connected",get:function(){return null!=this.pc&&/connected|completed/.test(this.pc.iceConnectionState)}}])&&o(s.prototype,u),l&&o(s,l),r}(r.EventEmitter);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(190))&&r.__esModule?r:{default:r},o=n(384),a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(961)),s=n(441),u=n(442),l=n(135);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){d(o,r,i,a,s,"next",e)}function s(e){d(o,r,i,a,s,"throw",e)}a(void 0)}))}}function _(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=new i.default("UnifiedConnection");function v(e,t){e.sender.replaceTrack(t),e.direction=null!=t?"sendrecv":"recvonly"}var T=function(e){var t,n;function r(t,n,r,i,a){var u;(u=e.call(this,t,n,r,i,a)||this).sdp=null,u.negotiating=!1,u.negotiationNeeded=!1,u.users=new Map,u.assignedStreams=new Map,u.unassignedStreams={audio:[],video:[]},u.inactiveTransceivers={audio:[],video:[]},u.outboundStreams=[],u.trackUserIds={},u.audioCodec=null,u.audioPayloadType=null,u.videoCodec=null,u.videoPayloadType=null,u.rtxPayloadType=null,u.extensions=[],u.codecs=[],u.getTrackUserId=function(e){return u.trackUserIds[e.trackIdentifier]},u.handleIceConnectionStateChange=function(){var e=u.iceConnectionState;switch(m.info("iceConnectionState =>",e),e){case"connected":u.input.reset(),u.setConnectionState(l.ConnectionStates.CONNECTED),u.pollStats(),u.input.on(s.InputEvent.VoiceActivity,u.handleVoiceActivity);break;case"checking":u.setConnectionState(l.ConnectionStates.ICE_CHECKING);break;case"failed":u.setConnectionState(l.ConnectionStates.NO_ROUTE);break;case"disconnected":case"closed":u.setConnectionState(l.ConnectionStates.DISCONNECTED)}},u.handleSignalingStateChange=function(){var e=u.signalingState;m.info("signalingState => "+e)},u.handleIceGatheringStateChange=function(){m.info("iceGatheringState =>",u.iceGatheringState)},u.handleTrack=function(e){var t=e.streams[0].id,n=e.track;if(!/^default/.test(n.id)){var r=function(e){return e.split("-")[0]}(t);u.trackUserIds[n.id]=r,u.createOutput(r,n),n.onunmute=function(){return u.createOutput(r,n)},n.onmute=function(){var e;null==(null===(e=u.users.get(r))||void 0===e?void 0:e.videoSSRC)&&u.destroyOutput(r,n)}}},u.videoSupported=o.BROWSER_SUPPORTS_VIDEO;var c=u.pc=new RTCPeerConnection({iceServers:i,bundlePolicy:"max-bundle",sdpSemantics:"unified-plan"});return c.oniceconnectionstatechange=u.handleIceConnectionStateChange,c.onsignalingstatechange=u.handleSignalingStateChange,c.onicegatheringstatechange=u.handleIceGatheringStateChange,c.ontrack=u.handleTrack,u.addTransceivers("audio","recvonly",1),u.audioTransceiver=c.getTransceivers()[0],u.videoSupported&&(u.addTransceivers("video","recvonly",1,u.input.getVideoStream()),u.videoTransceiver=c.getTransceivers()[1]),u.addTransceivers("audio","recvonly",10),u.videoSupported&&u.addTransceivers("video","recvonly",10),u.setStream(u.input.stream),m.info("Renegotiating: Initial negotiation"),u.handleNegotiationNeeded(!0),u}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n);var i,c,d,p=r.prototype;return p.destroy=function(){e.prototype.destroy.call(this),"closed"!==this.signalingState&&this.pc.close()},p.setCodecs=function(e,t,n){var r,i,o,a,s,u,l;this.audioCodec===e&&this.videoCodec===t||(l=this.codecs.find((function(t){return t.name===e})),this.audioCodec=e,this.audioPayloadType=null!==(r=null===(i=l)||void 0===i?void 0:i.payloadType)&&void 0!==r?r:0,l=this.codecs.find((function(e){return e.name===t})),this.videoCodec=t,this.videoPayloadType=null!==(o=null===(a=l)||void 0===a?void 0:a.payloadType)&&void 0!==o?o:0,this.rtxPayloadType=null!==(s=null===(u=l)||void 0===u?void 0:u.rtxPayloadType)&&void 0!==s?s:0,m.info("Renegotiating: Codecs changed"),this.handleNegotiationNeeded())},p.setStream=function(e){var t="closed"===this.iceConnectionState;null==e||t||(v(this.audioTransceiver,e.getAudioTracks()[0]),this.videoSupported&&v(this.videoTransceiver,e.getVideoTracks()[0])),m.info("Renegotiating: Streams changed"),this.handleNegotiationNeeded()},p.createUser=function(e,t,n){if(0!==t){m.info("Creating user: "+e+" with audio SSRC: "+t+" and video SSRC: "+n);var r=!1,i=this.users.get(e);if(null==i&&(i={}),i.audioSSRC!==t){i.audioSSRC=t,r=!0,this.unassignedStreams.audio.push({cname:e,ssrc:t});var o=this.inactiveTransceivers.audio.length,a=10+this.unassignedStreams.audio.length-o;this.addTransceivers("audio","recvonly",a)}if(this.videoSupported&&null!=n)if(n>0){if(i.videoSSRC!==n){i.videoSSRC=n,r=!0,this.unassignedStreams.video.push({cname:e,ssrc:n});var s=this.inactiveTransceivers.video.length,u=10+this.unassignedStreams.video.length-s;this.addTransceivers("video","recvonly",u)}}else null!=i.videoSSRC&&(i.videoSSRC=void 0,r=!0);r&&(this.users.set(e,i),m.info("Renegotiating: User joined"),this.handleNegotiationNeeded())}else m.warn("Attempting to create user "+e+" with 0 audio SSRC")},p.destroyUser=function(e){this.users.has(e)&&(this.users.delete(e),m.info("Renegotiating: User left"),this.handleNegotiationNeeded())},p.setBitRate=function(t){this.voiceBitrate!==t&&(e.prototype.setBitRate.call(this,t),m.info("Renegotiating: Bitrate changed"),this.handleNegotiationNeeded())},p.setSDP=function(e){if(!(0,u.validateSdp)(e))throw new Error("Incorrect SDP received from rtc-worker: "+e);this.sdp=e,this.setRemoteAnswer()},p.setTransceiverEncodingParameters=function(e,t){if(null!=e&&0!==t.length){var n=e.sender,r=n.getParameters();if(null!=r.encodings){for(var i,o=!1,a=_(r.encodings);!(i=a()).done;)for(var s,u=i.value,l=_(t);!(s=l()).done;){var c=s.value,d=c.propertyName,f=c.value;u[d]!==f&&(console.log("UnifiedConnection.setTransceiverEncodingParameters: "+d+": from '"+u[d]+"' to '"+f+"'"),o=!0,u[d]=f)}if(o){var p=function(e){console.error('UnifiedConnection.setTransceiverEncodingProperty: setParameters failed: "'+e+'" ('+JSON.stringify(t)+')"')};n.setParameters(r).then((function(){}),(function(e){return p(e)})).catch((function(e){return p(e)}))}}}},p.setVideoEncoderParameters=function(e){for(var t,n,r=((t={})[a.EncoderParameter.VIDEO_BITRATE]="maxBitrate",t[a.EncoderParameter.VIDEO_RESOLUTION_SCALE]="scaleResolutionDownBy",t[a.EncoderParameter.VIDEO_FRAMERATE]="maxFramerate",t),i=[],o=_(e);!(n=o()).done;){var s=n.value,u=s.parameter,l=s.value,c=r[u];if(null==c)return void console.info('UnifiedConnection.setEncoderParameter: Unable to set parameter "'+u+'"');i.push({propertyName:c,value:l})}this.setTransceiverEncodingParameters(this.videoTransceiver,i)},p.getRawStats=function(){return this.pc.getStats()},p.makeOfferAnswerOptions=function(){return{iceRestart:!1}},p.mungeLocalDescription=function(e){for(var t=e.sdp.split("\n"),n=0;n<t.length;n++){var r=t[n];if(/^a=mid:/.test(r)){null!=this.voiceBitrate&&t.splice(n+1,0,"b=AS:"+Math.floor(this.voiceBitrate/1e3));break}}return e.sdp=t.join("\n"),e},p.parseLocalDescription=function(){var e=this.pc.localDescription;if(null==e)throw new Error("localDescription is null");var t=e.sdp,n=(0,u.extractSDP)(t),r=n.outboundStreams,i=n.codecs,o=n.audioSSRC,a=n.videoSSRC,s=n.rtxSSRC;return this.outboundStreams=r,this.codecs=i,this.extensions=(0,u.getExtensions)(t),this.audioSSRC=o,this.videoStreamParameters[0].ssrc===a&&this.videoStreamParameters[0].rtxSsrc===s&&this.videoReady||(this.videoStreamParameters[0].ssrc=a,this.videoStreamParameters[0].rtxSsrc=s,this.emit("video",this.userId,this.input.getVideoStreamId(),this.audioSSRC,this.videoStreamParameters[0].ssrc,this.videoStreamParameters[0].rtxSsrc,this.videoStreamParameters),this.videoReady=!0),t},p.addTransceivers=function(e,t,n,r){for(var i=this.pc,o=i.getTransceivers().length,a=o;a<o+n;a++)"video"===e&&null!=r?i.addTransceiver(e,{direction:t,streams:[r]}):i.addTransceiver(e,{direction:t}),this.inactiveTransceivers[e].push(a.toString())},p.buildSSRCsFromOutboundStreams=function(){var e=this;return this.outboundStreams.map((function(t){var n=t.mid,r=t.type,i=t.direction;n=String(n);var o=e.assignedStreams.get(n);if(null!=o){var a=e.users.get(o.cname),s="audio"===r?null==a?void 0:a.audioSSRC:null==a?void 0:a.videoSSRC;o.ssrc!==s&&(o=void 0,e.assignedStreams.delete(n))}var l=e.unassignedStreams[r],c=e.inactiveTransceivers[r],d=c.indexOf(n);return null==o&&l.length&&-1!==d&&(o=l.pop(),c.splice(d,1),e.assignedStreams.set(n,o)),null==o&&(o={ssrc:-1,cname:""}),{ssrc:o.ssrc,cname:o.cname,type:r,direction:(0,u.getDirection)(i),mid:n}}))},p.generateSDPAnswer=function(){var e,t,n=this.audioCodec,r=this.audioPayloadType,i=this.videoCodec,o=this.videoPayloadType,a=this.videoSupported&&null!=(null===(e=this.videoTransceiver)||void 0===e||null===(t=e.sender)||void 0===t?void 0:t.track),s=this.rtxPayloadType,l=this.sdp;if(null==n||null==r||null==i||null==o||null==s||null==l)throw new Error("Invalid payload: audioCodec: "+n+", audioPayloadType: "+(null==r?"null":r)+", videoCodec: "+i+", videoCodecPayloadType: "+(null==o?"null":o)+", rtxPayloadType: "+(null==s?"null":s)+", sdp: "+(null==l?"null":l));var c=this.buildSSRCsFromOutboundStreams();return(0,u.generateUnifiedSessionDescription)("answer",l,n,r,40,i,o,2500,a,s,c,this.extensions)},p.setRemoteAnswer=function(){var e=f(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.pc,n=this.generateSDPAnswer(),e.next=4,t.setRemoteDescription(n);case 4:(this.unassignedStreams.audio.length||this.unassignedStreams.video.length)&&(this.negotiationNeeded=!0,m.info("Renegotiating: Streams left unassigned after negotiation - renegotiate")),this.negotiating=!1,this.negotiationNeeded&&this.handleNegotiationNeeded();case 7:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),p.handleNegotiationNeeded=function(){var e=f(regeneratorRuntime.mark((function e(t){var n,r,i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===t&&(t=!1),t||!this.negotiating&&null!=this.sdp){e.next=4;break}return this.negotiationNeeded=!0,e.abrupt("return");case 4:return this.negotiating=!0,this.negotiationNeeded=!1,n=this.pc,e.next=9,n.createOffer(this.makeOfferAnswerOptions());case 9:return r=e.sent,i=this.mungeLocalDescription(r),e.next=13,n.setLocalDescription(i);case 13:o=this.parseLocalDescription(),null==this.sdp?this.emit("connected","webrtc",(0,u.truncateSDP)(o)):this.setRemoteAnswer();case 15:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),i=r,(c=[{key:"iceGatheringState",get:function(){return this.pc.iceGatheringState}},{key:"iceConnectionState",get:function(){return this.pc.iceConnectionState}},{key:"signalingState",get:function(){return this.pc.signalingState}},{key:"connected",get:function(){return"connected"===this.pc.iceConnectionState}}])&&E(i.prototype,c),d&&E(i,d),r}(a.default);t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(64),i=n(253);function o(){return(o=Object.assign||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}).apply(this,arguments)}function a(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){var t,n;function r(t){var n;return n=e.call(this)||this,t.getVideoTracks().forEach((function(e){e.onended=function(){n.emit("desktopsourceend")}})),n.id=t.getVideoTracks()[0].label,n.stream=t,n.streamId=(0,i.registerVideoStream)(t),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n),r.get=function(){var e,t=(e=regeneratorRuntime.mark((function e(t,n){var i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=o({},t,{frameRate:30}),null==(null===(i=navigator.mediaDevices)||void 0===i?void 0:i.getDisplayMedia)){e.next=7;break}return e.t0=r,e.next=5,navigator.mediaDevices.getDisplayMedia({audio:n,video:a});case 5:return e.t1=e.sent,e.abrupt("return",new e.t0(e.t1));case 7:throw new Error("UNKNOWN");case 8:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){a(o,r,i,s,u,"next",e)}function u(e){a(o,r,i,s,u,"throw",e)}s(void 0)}))});return function(e,n){return t.apply(this,arguments)}}();var u=r.prototype;return u.destroy=function(){this.removeAllListeners(),(0,i.unregisterVideoStream)(this.streamId),this.stream.getTracks().forEach((function(e){return e.stop()}))},u.reset=function(){this.refreshSpeaking()},u.getStreamId=function(){return this.streamId},u.refreshSpeaking=function(){this.emit("speaking",this.stream.getAudioTracks().some((function(e){return e.enabled})))},r}(r.EventEmitter);t.default=u},function(e,t,n){e.exports=n.p+"1abf0cdc45aa62488910.worklet.js"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(64),i=s(n(440)),o=s(n(962)),a=n(135);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l={voiceActivityDetection:!0,offerToReceiveAudio:!0,offerToReceiveVideo:!1,iceRestart:!1},c=function(e){var t,n;function r(t,n,r,o){var a;return void 0===o&&(o=""),(a=e.call(this)||this).senders=[],a.outputs={},a.handleStream=function(){var e=a.input.getDelayedStream();a.senders.forEach((function(e){return a.pc1.removeTrack(e)})),a.senders=[].concat(e.getAudioTracks().map((function(t){return a.pc1.addTrack(t,e)}))),a.handshake()},a.handleTrack=function(e){e.streams[0].getTracks().forEach((function(e){a.createOutput(e.id,e),e.onmute=function(){a.destroyOutput(e.id,e)}}))},a.userId=o,a.sinkId=r,a.pc1=new RTCPeerConnection,a.pc1.onicecandidate=function(e){null!=e.candidate&&a.pc2.addIceCandidate(e.candidate)},a.pc2=new RTCPeerConnection,a.pc2.onicecandidate=function(e){null!=e.candidate&&a.pc1.addIceCandidate(e.candidate)},a.pc2.ontrack=a.handleTrack,a.input=new i.default(t),a.input.setSource(n),a.input.on("stream",a.handleStream),a.input.enable(),a.audioContext=t,a}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var s=r.prototype;return s.stop=function(){this.pc1.close(),this.pc2.close(),this.input.destroy();for(var e=0,t=Object.keys(this.outputs);e<t.length;e++){var n=t[e];this.destroyOutput(n)}},s.setAudioSource=function(e){this.input.setSource(e)},s.setAudioSink=function(e){this.sinkId=e;for(var t=0,n=Object.keys(this.outputs);t<n.length;t++){var r=n[t];this.outputs[r].setSinkId(e)}},s.createOutput=function(e,t){var n=this.outputs[e];null==n&&((n=new o.default(this.userId,this.audioContext)).mute=!1,n.volume=100,n.setSpeakingFlags(a.SpeakingFlags.VOICE),n.setSinkId(this.sinkId),this.outputs[e]=n),n.addTrack(t),n.play()},s.destroyOutput=function(e,t){var n=this.outputs[e];null==n||null!=t&&0!==n.removeTrack(t)||(n.destroy(),delete this.outputs[e])},s.handshake=function(){var e=this;this.pc1.createOffer(l).then((function(t){e.pc1.setLocalDescription(function(e){for(var t=e.sdp.split("\n"),n=0;n<t.length;n++){var r=t[n];if(/^a=mid:/.test(r))break}return e.sdp=t.join("\n"),e}(t)).then((function(){e.pc2.setRemoteDescription(t).then((function(){e.pc2.createAnswer().then((function(t){e.pc2.setLocalDescription(t).then((function(){e.pc1.setRemoteDescription(t)}))}))}))}))}))},r}(r.EventEmitter);t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(253),s=(r=n(964))&&r.__esModule?r:{default:r};function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){c(o,r,i,a,s,"next",e)}function s(e){c(o,r,i,a,s,"throw",e)}a(void 0)}))}}function f(){return(f=d(regeneratorRuntime.mark((function e(t){var n,r,i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.deviceId,r=t.width,i=t.height,!t.disabled){e.next=3;break}return e.abrupt("return",null);case 3:return e.prev=3,e.next=6,navigator.mediaDevices.getUserMedia({audio:!1,video:{width:r*window.devicePixelRatio,height:i*window.devicePixelRatio,frameRate:30,deviceId:n}});case 6:return o=e.sent,e.abrupt("return",o);case 10:return e.prev=10,e.t0=e.catch(3),e.abrupt("return",null);case 13:case"end":return e.stop()}}),e,null,[[3,10]])})))).apply(this,arguments)}function _(e){var t=e.deviceId,n=e.width,r=e.height,i=e.disabled,u=o.useState(),c=u[0],d=u[1];return o.useEffect((function(){var e=function(e){return f.apply(this,arguments)}({deviceId:t,width:n,height:r,disabled:i}).then((function(e){var t=null!=e?(0,a.registerVideoStream)(e):null;return d(t),{stream:e,streamId:t}}));return function(){e.then((function(e){var t=e.stream,n=e.streamId;!function(e){null!=e&&e.getTracks().forEach((function(e){return e.stop()}))}(t),null!=n&&(0,a.unregisterVideoStream)(n)}))}}),[t,n,r,i]),null==c?l("div",{className:"media-engine-video",style:{width:n,height:r}}):l(s.default,{streamId:c,style:{width:n,height:r}})}_.defaultProps={disabled:!1,width:320,height:180}},function(e,t,n){!function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[a]={exports:{}};t[a][0].call(l.exports,(function(e){return i(t[a][1][e]||e)}),l,l.exports,e,t,n,r)}return n[a].exports}for(var o=!1,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){"use strict";var r=(0,e("./adapter_factory.js").adapterFactory)({window:window});t.exports=r},{"./adapter_factory.js":2}],2:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.adapterFactory=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.window,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shimChrome:!0,shimFirefox:!0,shimEdge:!0,shimSafari:!0},l=r.log,c=r.detectBrowser(t),d={browserDetails:c,commonShim:u,extractVersion:r.extractVersion,disableLog:r.disableLog,disableWarnings:r.disableWarnings};switch(c.browser){case"chrome":if(!i||!i.shimPeerConnection||!n.shimChrome)return l("Chrome shim is not included in this adapter release."),d;l("adapter.js shimming chrome."),d.browserShim=i,i.shimGetUserMedia(t),i.shimMediaStream(t),i.shimPeerConnection(t),i.shimOnTrack(t),i.shimAddTrackRemoveTrack(t),i.shimGetSendersWithDtmf(t),i.shimGetStats(t),i.shimSenderReceiverGetStats(t),i.fixNegotiationNeeded(t),u.shimRTCIceCandidate(t),u.shimConnectionState(t),u.shimMaxMessageSize(t),u.shimSendThrowTypeError(t),u.removeAllowExtmapMixed(t);break;case"firefox":if(!a||!a.shimPeerConnection||!n.shimFirefox)return l("Firefox shim is not included in this adapter release."),d;l("adapter.js shimming firefox."),d.browserShim=a,a.shimGetUserMedia(t),a.shimPeerConnection(t),a.shimOnTrack(t),a.shimRemoveStream(t),a.shimSenderGetStats(t),a.shimReceiverGetStats(t),a.shimRTCDataChannel(t),a.shimAddTransceiver(t),a.shimCreateOffer(t),a.shimCreateAnswer(t),u.shimRTCIceCandidate(t),u.shimConnectionState(t),u.shimMaxMessageSize(t),u.shimSendThrowTypeError(t);break;case"edge":if(!o||!o.shimPeerConnection||!n.shimEdge)return l("MS edge shim is not included in this adapter release."),d;l("adapter.js shimming edge."),d.browserShim=o,o.shimGetUserMedia(t),o.shimGetDisplayMedia(t),o.shimPeerConnection(t),o.shimReplaceTrack(t),u.shimMaxMessageSize(t),u.shimSendThrowTypeError(t);break;case"safari":if(!s||!n.shimSafari)return l("Safari shim is not included in this adapter release."),d;l("adapter.js shimming safari."),d.browserShim=s,s.shimRTCIceServerUrls(t),s.shimCreateOfferLegacy(t),s.shimCallbacksAPI(t),s.shimLocalStreamsAPI(t),s.shimRemoteStreamsAPI(t),s.shimTrackEventTransceiver(t),s.shimGetUserMedia(t),u.shimRTCIceCandidate(t),u.shimMaxMessageSize(t),u.shimSendThrowTypeError(t),u.removeAllowExtmapMixed(t);break;default:l("Unsupported browser!")}return d};var r=l(e("./utils")),i=l(e("./chrome/chrome_shim")),o=l(e("./edge/edge_shim")),a=l(e("./firefox/firefox_shim")),s=l(e("./safari/safari_shim")),u=l(e("./common_shim"));function l(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}},{"./chrome/chrome_shim":3,"./common_shim":6,"./edge/edge_shim":12,"./firefox/firefox_shim":7,"./safari/safari_shim":10,"./utils":11}],3:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.shimGetDisplayMedia=n.shimGetUserMedia=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=e("./getusermedia");Object.defineProperty(n,"shimGetUserMedia",{enumerable:!0,get:function(){return i.shimGetUserMedia}});var o=e("./getdisplaymedia");Object.defineProperty(n,"shimGetDisplayMedia",{enumerable:!0,get:function(){return o.shimGetDisplayMedia}}),n.shimMediaStream=function(e){e.MediaStream=e.MediaStream||e.webkitMediaStream},n.shimOnTrack=function(e){if("object"===(void 0===e?"undefined":r(e))&&e.RTCPeerConnection&&!("ontrack"in e.RTCPeerConnection.prototype)){Object.defineProperty(e.RTCPeerConnection.prototype,"ontrack",{get:function(){return this._ontrack},set:function(e){this._ontrack&&this.removeEventListener("track",this._ontrack),this.addEventListener("track",this._ontrack=e)},enumerable:!0,configurable:!0});var t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){var n=this;return this._ontrackpoly||(this._ontrackpoly=function(t){t.stream.addEventListener("addtrack",(function(r){var i=void 0;i=e.RTCPeerConnection.prototype.getReceivers?n.getReceivers().find((function(e){return e.track&&e.track.id===r.track.id})):{track:r.track};var o=new Event("track");o.track=r.track,o.receiver=i,o.transceiver={receiver:i},o.streams=[t.stream],n.dispatchEvent(o)})),t.stream.getTracks().forEach((function(r){var i=void 0;i=e.RTCPeerConnection.prototype.getReceivers?n.getReceivers().find((function(e){return e.track&&e.track.id===r.id})):{track:r};var o=new Event("track");o.track=r,o.receiver=i,o.transceiver={receiver:i},o.streams=[t.stream],n.dispatchEvent(o)}))},this.addEventListener("addstream",this._ontrackpoly)),t.apply(this,arguments)}}else a.wrapPeerConnectionEvent(e,"track",(function(e){return e.transceiver||Object.defineProperty(e,"transceiver",{value:{receiver:e.receiver}}),e}))},n.shimGetSendersWithDtmf=function(e){if("object"===(void 0===e?"undefined":r(e))&&e.RTCPeerConnection&&!("getSenders"in e.RTCPeerConnection.prototype)&&"createDTMFSender"in e.RTCPeerConnection.prototype){var t=function(e,t){return{track:t,get dtmf(){return void 0===this._dtmf&&("audio"===t.kind?this._dtmf=e.createDTMFSender(t):this._dtmf=null),this._dtmf},_pc:e}};if(!e.RTCPeerConnection.prototype.getSenders){e.RTCPeerConnection.prototype.getSenders=function(){return this._senders=this._senders||[],this._senders.slice()};var n=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,r){var i=n.apply(this,arguments);return i||(i=t(this,e),this._senders.push(i)),i};var i=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){i.apply(this,arguments);var t=this._senders.indexOf(e);-1!==t&&this._senders.splice(t,1)}}var o=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){var n=this;this._senders=this._senders||[],o.apply(this,[e]),e.getTracks().forEach((function(e){n._senders.push(t(n,e))}))};var a=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){var t=this;this._senders=this._senders||[],a.apply(this,[e]),e.getTracks().forEach((function(e){var n=t._senders.find((function(t){return t.track===e}));n&&t._senders.splice(t._senders.indexOf(n),1)}))}}else if("object"===(void 0===e?"undefined":r(e))&&e.RTCPeerConnection&&"getSenders"in e.RTCPeerConnection.prototype&&"createDTMFSender"in e.RTCPeerConnection.prototype&&e.RTCRtpSender&&!("dtmf"in e.RTCRtpSender.prototype)){var s=e.RTCPeerConnection.prototype.getSenders;e.RTCPeerConnection.prototype.getSenders=function(){var e=this,t=s.apply(this,[]);return t.forEach((function(t){return t._pc=e})),t},Object.defineProperty(e.RTCRtpSender.prototype,"dtmf",{get:function(){return void 0===this._dtmf&&("audio"===this.track.kind?this._dtmf=this._pc.createDTMFSender(this.track):this._dtmf=null),this._dtmf}})}},n.shimGetStats=function(e){if(!e.RTCPeerConnection)return;var t=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){var e=this,n=Array.prototype.slice.call(arguments),r=n[0],i=n[1],o=n[2];if(arguments.length>0&&"function"==typeof r)return t.apply(this,arguments);if(0===t.length&&(0===arguments.length||"function"!=typeof r))return t.apply(this,[]);var a=function(e){var t={};return e.result().forEach((function(e){var n={id:e.id,timestamp:e.timestamp,type:{localcandidate:"local-candidate",remotecandidate:"remote-candidate"}[e.type]||e.type};e.names().forEach((function(t){n[t]=e.stat(t)})),t[n.id]=n})),t},s=function(e){return new Map(Object.keys(e).map((function(t){return[t,e[t]]})))};if(arguments.length>=2){var u=function(e){i(s(a(e)))};return t.apply(this,[u,r])}return new Promise((function(n,r){t.apply(e,[function(e){n(s(a(e)))},r])})).then(i,o)}},n.shimSenderReceiverGetStats=function(e){if(!("object"===(void 0===e?"undefined":r(e))&&e.RTCPeerConnection&&e.RTCRtpSender&&e.RTCRtpReceiver))return;if(!("getStats"in e.RTCRtpSender.prototype)){var t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){var e=this,n=t.apply(this,[]);return n.forEach((function(t){return t._pc=e})),n});var n=e.RTCPeerConnection.prototype.addTrack;n&&(e.RTCPeerConnection.prototype.addTrack=function(){var e=n.apply(this,arguments);return e._pc=this,e}),e.RTCRtpSender.prototype.getStats=function(){var e=this;return this._pc.getStats().then((function(t){return a.filterStats(t,e.track,!0)}))}}if(!("getStats"in e.RTCRtpReceiver.prototype)){var i=e.RTCPeerConnection.prototype.getReceivers;i&&(e.RTCPeerConnection.prototype.getReceivers=function(){var e=this,t=i.apply(this,[]);return t.forEach((function(t){return t._pc=e})),t}),a.wrapPeerConnectionEvent(e,"track",(function(e){return e.receiver._pc=e.srcElement,e})),e.RTCRtpReceiver.prototype.getStats=function(){var e=this;return this._pc.getStats().then((function(t){return a.filterStats(t,e.track,!1)}))}}if(!("getStats"in e.RTCRtpSender.prototype)||!("getStats"in e.RTCRtpReceiver.prototype))return;var o=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){if(arguments.length>0&&arguments[0]instanceof e.MediaStreamTrack){var t=arguments[0],n=void 0,r=void 0,i=void 0;return this.getSenders().forEach((function(e){e.track===t&&(n?i=!0:n=e)})),this.getReceivers().forEach((function(e){return e.track===t&&(r?i=!0:r=e),e.track===t})),i||n&&r?Promise.reject(new DOMException("There are more than one sender or receiver for the track.","InvalidAccessError")):n?n.getStats():r?r.getStats():Promise.reject(new DOMException("There is no sender or receiver for the track.","InvalidAccessError"))}return o.apply(this,arguments)}},n.shimAddTrackRemoveTrackWithNative=u,n.shimAddTrackRemoveTrack=function(e){if(!e.RTCPeerConnection)return;var t=a.detectBrowser(e);if(e.RTCPeerConnection.prototype.addTrack&&t.version>=65)return u(e);var n=e.RTCPeerConnection.prototype.getLocalStreams;e.RTCPeerConnection.prototype.getLocalStreams=function(){var e=this,t=n.apply(this);return this._reverseStreams=this._reverseStreams||{},t.map((function(t){return e._reverseStreams[t.id]}))};var r=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(t){var n=this;if(this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},t.getTracks().forEach((function(e){if(n.getSenders().find((function(t){return t.track===e})))throw new DOMException("Track already exists.","InvalidAccessError")})),!this._reverseStreams[t.id]){var i=new e.MediaStream(t.getTracks());this._streams[t.id]=i,this._reverseStreams[i.id]=t,t=i}r.apply(this,[t])};var i=e.RTCPeerConnection.prototype.removeStream;function o(e,t){var n=t.sdp;return Object.keys(e._reverseStreams||[]).forEach((function(t){var r=e._reverseStreams[t],i=e._streams[r.id];n=n.replace(new RegExp(i.id,"g"),r.id)})),new RTCSessionDescription({type:t.type,sdp:n})}function l(e,t){var n=t.sdp;return Object.keys(e._reverseStreams||[]).forEach((function(t){var r=e._reverseStreams[t],i=e._streams[r.id];n=n.replace(new RegExp(r.id,"g"),i.id)})),new RTCSessionDescription({type:t.type,sdp:n})}e.RTCPeerConnection.prototype.removeStream=function(e){this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},i.apply(this,[this._streams[e.id]||e]),delete this._reverseStreams[this._streams[e.id]?this._streams[e.id].id:e.id],delete this._streams[e.id]},e.RTCPeerConnection.prototype.addTrack=function(t,n){var r=this;if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");var i=[].slice.call(arguments,1);if(1!==i.length||!i[0].getTracks().find((function(e){return e===t})))throw new DOMException("The adapter.js addTrack polyfill only supports a single  stream which is associated with the specified track.","NotSupportedError");var o=this.getSenders().find((function(e){return e.track===t}));if(o)throw new DOMException("Track already exists.","InvalidAccessError");this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{};var a=this._streams[n.id];if(a)a.addTrack(t),Promise.resolve().then((function(){r.dispatchEvent(new Event("negotiationneeded"))}));else{var s=new e.MediaStream([t]);this._streams[n.id]=s,this._reverseStreams[s.id]=n,this.addStream(s)}return this.getSenders().find((function(e){return e.track===t}))},["createOffer","createAnswer"].forEach((function(t){var n=e.RTCPeerConnection.prototype[t],r=s({},t,(function(){var e=this,t=arguments,r=arguments.length&&"function"==typeof arguments[0];return r?n.apply(this,[function(n){var r=o(e,n);t[0].apply(null,[r])},function(e){t[1]&&t[1].apply(null,e)},arguments[2]]):n.apply(this,arguments).then((function(t){return o(e,t)}))}));e.RTCPeerConnection.prototype[t]=r[t]}));var c=e.RTCPeerConnection.prototype.setLocalDescription;e.RTCPeerConnection.prototype.setLocalDescription=function(){return arguments.length&&arguments[0].type?(arguments[0]=l(this,arguments[0]),c.apply(this,arguments)):c.apply(this,arguments)};var d=Object.getOwnPropertyDescriptor(e.RTCPeerConnection.prototype,"localDescription");Object.defineProperty(e.RTCPeerConnection.prototype,"localDescription",{get:function(){var e=d.get.apply(this);return""===e.type?e:o(this,e)}}),e.RTCPeerConnection.prototype.removeTrack=function(e){var t=this;if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");if(!e._pc)throw new DOMException("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.","TypeError");if(!(e._pc===this))throw new DOMException("Sender was not created by this connection.","InvalidAccessError");this._streams=this._streams||{};var n=void 0;Object.keys(this._streams).forEach((function(r){t._streams[r].getTracks().find((function(t){return e.track===t}))&&(n=t._streams[r])})),n&&(1===n.getTracks().length?this.removeStream(this._reverseStreams[n.id]):n.removeTrack(e.track),this.dispatchEvent(new Event("negotiationneeded")))}},n.shimPeerConnection=function(e){var t=a.detectBrowser(e);!e.RTCPeerConnection&&e.webkitRTCPeerConnection&&(e.RTCPeerConnection=e.webkitRTCPeerConnection);if(!e.RTCPeerConnection)return;var n=0===e.RTCPeerConnection.prototype.addIceCandidate.length;t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach((function(t){var n=e.RTCPeerConnection.prototype[t],r=s({},t,(function(){return arguments[0]=new("addIceCandidate"===t?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),n.apply(this,arguments)}));e.RTCPeerConnection.prototype[t]=r[t]}));var r=e.RTCPeerConnection.prototype.addIceCandidate;e.RTCPeerConnection.prototype.addIceCandidate=function(){return n||arguments[0]?t.version<78&&arguments[0]&&""===arguments[0].candidate?Promise.resolve():r.apply(this,arguments):(arguments[1]&&arguments[1].apply(null),Promise.resolve())}},n.fixNegotiationNeeded=function(e){a.wrapPeerConnectionEvent(e,"negotiationneeded",(function(e){if("stable"===e.target.signalingState)return e}))};var a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(e("../utils.js"));function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){e.RTCPeerConnection.prototype.getLocalStreams=function(){var e=this;return this._shimmedLocalStreams=this._shimmedLocalStreams||{},Object.keys(this._shimmedLocalStreams).map((function(t){return e._shimmedLocalStreams[t][0]}))};var t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,n){if(!n)return t.apply(this,arguments);this._shimmedLocalStreams=this._shimmedLocalStreams||{};var r=t.apply(this,arguments);return this._shimmedLocalStreams[n.id]?-1===this._shimmedLocalStreams[n.id].indexOf(r)&&this._shimmedLocalStreams[n.id].push(r):this._shimmedLocalStreams[n.id]=[n,r],r};var n=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){var t=this;this._shimmedLocalStreams=this._shimmedLocalStreams||{},e.getTracks().forEach((function(e){if(t.getSenders().find((function(t){return t.track===e})))throw new DOMException("Track already exists.","InvalidAccessError")}));var r=this.getSenders();n.apply(this,arguments);var i=this.getSenders().filter((function(e){return-1===r.indexOf(e)}));this._shimmedLocalStreams[e.id]=[e].concat(i)};var r=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},delete this._shimmedLocalStreams[e.id],r.apply(this,arguments)};var i=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){var t=this;return this._shimmedLocalStreams=this._shimmedLocalStreams||{},e&&Object.keys(this._shimmedLocalStreams).forEach((function(n){var r=t._shimmedLocalStreams[n].indexOf(e);-1!==r&&t._shimmedLocalStreams[n].splice(r,1),1===t._shimmedLocalStreams[n].length&&delete t._shimmedLocalStreams[n]})),i.apply(this,arguments)}}},{"../utils.js":11,"./getdisplaymedia":4,"./getusermedia":5}],4:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.shimGetDisplayMedia=function(e,t){if(e.navigator.mediaDevices&&"getDisplayMedia"in e.navigator.mediaDevices)return;if(!e.navigator.mediaDevices)return;if("function"!=typeof t)return void console.error("shimGetDisplayMedia: getSourceId argument is not a function");e.navigator.mediaDevices.getDisplayMedia=function(n){return t(n).then((function(t){var r=n.video&&n.video.width,i=n.video&&n.video.height,o=n.video&&n.video.frameRate;return n.video={mandatory:{chromeMediaSource:"desktop",chromeMediaSourceId:t,maxFrameRate:o||3}},r&&(n.video.mandatory.maxWidth=r),i&&(n.video.mandatory.maxHeight=i),e.navigator.mediaDevices.getUserMedia(n)}))}}},{}],5:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n.shimGetUserMedia=function(e){var t=e&&e.navigator;if(!t.mediaDevices)return;var n=i.detectBrowser(e),a=function(e){if("object"!==(void 0===e?"undefined":r(e))||e.mandatory||e.optional)return e;var t={};return Object.keys(e).forEach((function(n){if("require"!==n&&"advanced"!==n&&"mediaSource"!==n){var i="object"===r(e[n])?e[n]:{ideal:e[n]};void 0!==i.exact&&"number"==typeof i.exact&&(i.min=i.max=i.exact);var o=function(e,t){return e?e+t.charAt(0).toUpperCase()+t.slice(1):"deviceId"===t?"sourceId":t};if(void 0!==i.ideal){t.optional=t.optional||[];var a={};"number"==typeof i.ideal?(a[o("min",n)]=i.ideal,t.optional.push(a),(a={})[o("max",n)]=i.ideal,t.optional.push(a)):(a[o("",n)]=i.ideal,t.optional.push(a))}void 0!==i.exact&&"number"!=typeof i.exact?(t.mandatory=t.mandatory||{},t.mandatory[o("",n)]=i.exact):["min","max"].forEach((function(e){void 0!==i[e]&&(t.mandatory=t.mandatory||{},t.mandatory[o(e,n)]=i[e])}))}})),e.advanced&&(t.optional=(t.optional||[]).concat(e.advanced)),t},s=function(e,i){if(n.version>=61)return i(e);if((e=JSON.parse(JSON.stringify(e)))&&"object"===r(e.audio)){var s=function(e,t,n){t in e&&!(n in e)&&(e[n]=e[t],delete e[t])};s((e=JSON.parse(JSON.stringify(e))).audio,"autoGainControl","googAutoGainControl"),s(e.audio,"noiseSuppression","googNoiseSuppression"),e.audio=a(e.audio)}if(e&&"object"===r(e.video)){var u=e.video.facingMode;u=u&&("object"===(void 0===u?"undefined":r(u))?u:{ideal:u});var l=n.version<66;if(u&&("user"===u.exact||"environment"===u.exact||"user"===u.ideal||"environment"===u.ideal)&&(!t.mediaDevices.getSupportedConstraints||!t.mediaDevices.getSupportedConstraints().facingMode||l)){delete e.video.facingMode;var c=void 0;if("environment"===u.exact||"environment"===u.ideal?c=["back","rear"]:"user"!==u.exact&&"user"!==u.ideal||(c=["front"]),c)return t.mediaDevices.enumerateDevices().then((function(t){var n=(t=t.filter((function(e){return"videoinput"===e.kind}))).find((function(e){return c.some((function(t){return e.label.toLowerCase().includes(t)}))}));return!n&&t.length&&c.includes("back")&&(n=t[t.length-1]),n&&(e.video.deviceId=u.exact?{exact:n.deviceId}:{ideal:n.deviceId}),e.video=a(e.video),o("chrome: "+JSON.stringify(e)),i(e)}))}e.video=a(e.video)}return o("chrome: "+JSON.stringify(e)),i(e)},u=function(e){return n.version>=64?e:{name:{PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"}[e.name]||e.name,message:e.message,constraint:e.constraint||e.constraintName,toString:function(){return this.name+(this.message&&": ")+this.message}}};if(t.getUserMedia=function(e,n,r){s(e,(function(e){t.webkitGetUserMedia(e,n,(function(e){r&&r(u(e))}))}))}.bind(t),t.mediaDevices.getUserMedia){var l=t.mediaDevices.getUserMedia.bind(t.mediaDevices);t.mediaDevices.getUserMedia=function(e){return s(e,(function(e){return l(e).then((function(t){if(e.audio&&!t.getAudioTracks().length||e.video&&!t.getVideoTracks().length)throw t.getTracks().forEach((function(e){e.stop()})),new DOMException("","NotFoundError");return t}),(function(e){return Promise.reject(u(e))}))}))}}};var i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(e("../utils.js"));var o=i.log},{"../utils.js":11}],6:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n.shimRTCIceCandidate=function(e){if(!e.RTCIceCandidate||e.RTCIceCandidate&&"foundation"in e.RTCIceCandidate.prototype)return;var t=e.RTCIceCandidate;e.RTCIceCandidate=function(e){if("object"===(void 0===e?"undefined":r(e))&&e.candidate&&0===e.candidate.indexOf("a=")&&((e=JSON.parse(JSON.stringify(e))).candidate=e.candidate.substr(2)),e.candidate&&e.candidate.length){var n=new t(e),i=a.default.parseCandidate(e.candidate),o=Object.assign(n,i);return o.toJSON=function(){return{candidate:o.candidate,sdpMid:o.sdpMid,sdpMLineIndex:o.sdpMLineIndex,usernameFragment:o.usernameFragment}},o}return new t(e)},e.RTCIceCandidate.prototype=t.prototype,s.wrapPeerConnectionEvent(e,"icecandidate",(function(t){return t.candidate&&Object.defineProperty(t,"candidate",{value:new e.RTCIceCandidate(t.candidate),writable:"false"}),t}))},n.shimMaxMessageSize=function(e){if(!e.RTCPeerConnection)return;var t=s.detectBrowser(e);"sctp"in e.RTCPeerConnection.prototype||Object.defineProperty(e.RTCPeerConnection.prototype,"sctp",{get:function(){return void 0===this._sctp?null:this._sctp}});var n=function(e){if(!e||!e.sdp)return!1;var t=a.default.splitSections(e.sdp);return t.shift(),t.some((function(e){var t=a.default.parseMLine(e);return t&&"application"===t.kind&&-1!==t.protocol.indexOf("SCTP")}))},r=function(e){var t=e.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);if(null===t||t.length<2)return-1;var n=parseInt(t[1],10);return n!=n?-1:n},i=function(e){var n=65536;return"firefox"===t.browser&&(n=t.version<57?-1===e?16384:2147483637:t.version<60?57===t.version?65535:65536:2147483637),n},o=function(e,n){var r=65536;"firefox"===t.browser&&57===t.version&&(r=65535);var i=a.default.matchPrefix(e.sdp,"a=max-message-size:");return i.length>0?r=parseInt(i[0].substr(19),10):"firefox"===t.browser&&-1!==n&&(r=2147483637),r},u=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){if(this._sctp=null,"chrome"===t.browser&&t.version>=76){var e=this.getConfiguration(),a=e.sdpSemantics;"plan-b"===a&&Object.defineProperty(this,"sctp",{get:function(){return void 0===this._sctp?null:this._sctp},enumerable:!0,configurable:!0})}if(n(arguments[0])){var s=r(arguments[0]),l=i(s),c=o(arguments[0],s),d=void 0;d=0===l&&0===c?Number.POSITIVE_INFINITY:0===l||0===c?Math.max(l,c):Math.min(l,c);var f={};Object.defineProperty(f,"maxMessageSize",{get:function(){return d}}),this._sctp=f}return u.apply(this,arguments)}},n.shimSendThrowTypeError=function(e){if(!e.RTCPeerConnection||!("createDataChannel"in e.RTCPeerConnection.prototype))return;function t(e,t){var n=e.send;e.send=function(){var r=arguments[0],i=r.length||r.size||r.byteLength;if("open"===e.readyState&&t.sctp&&i>t.sctp.maxMessageSize)throw new TypeError("Message too large (can send a maximum of "+t.sctp.maxMessageSize+" bytes)");return n.apply(e,arguments)}}var n=e.RTCPeerConnection.prototype.createDataChannel;e.RTCPeerConnection.prototype.createDataChannel=function(){var e=n.apply(this,arguments);return t(e,this),e},s.wrapPeerConnectionEvent(e,"datachannel",(function(e){return t(e.channel,e.target),e}))},n.shimConnectionState=function(e){if(!e.RTCPeerConnection||"connectionState"in e.RTCPeerConnection.prototype)return;var t=e.RTCPeerConnection.prototype;Object.defineProperty(t,"connectionState",{get:function(){return{completed:"connected",checking:"connecting"}[this.iceConnectionState]||this.iceConnectionState},enumerable:!0,configurable:!0}),Object.defineProperty(t,"onconnectionstatechange",{get:function(){return this._onconnectionstatechange||null},set:function(e){this._onconnectionstatechange&&(this.removeEventListener("connectionstatechange",this._onconnectionstatechange),delete this._onconnectionstatechange),e&&this.addEventListener("connectionstatechange",this._onconnectionstatechange=e)},enumerable:!0,configurable:!0}),["setLocalDescription","setRemoteDescription"].forEach((function(e){var n=t[e];t[e]=function(){return this._connectionstatechangepoly||(this._connectionstatechangepoly=function(e){var t=e.target;if(t._lastConnectionState!==t.connectionState){t._lastConnectionState=t.connectionState;var n=new Event("connectionstatechange",e);t.dispatchEvent(n)}return e},this.addEventListener("iceconnectionstatechange",this._connectionstatechangepoly)),n.apply(this,arguments)}}))},n.removeAllowExtmapMixed=function(e){if(!e.RTCPeerConnection)return;var t=s.detectBrowser(e);if("chrome"===t.browser&&t.version>=71)return;var n=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(e){return e&&e.sdp&&-1!==e.sdp.indexOf("\na=extmap-allow-mixed")&&(e.sdp=e.sdp.split("\n").filter((function(e){return"a=extmap-allow-mixed"!==e.trim()})).join("\n")),n.apply(this,arguments)}};var i,o=e("sdp"),a=(i=o)&&i.__esModule?i:{default:i},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(e("./utils"))},{"./utils":11,sdp:13}],7:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.shimGetDisplayMedia=n.shimGetUserMedia=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=e("./getusermedia");Object.defineProperty(n,"shimGetUserMedia",{enumerable:!0,get:function(){return i.shimGetUserMedia}});var o=e("./getdisplaymedia");Object.defineProperty(n,"shimGetDisplayMedia",{enumerable:!0,get:function(){return o.shimGetDisplayMedia}}),n.shimOnTrack=function(e){"object"===(void 0===e?"undefined":r(e))&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get:function(){return{receiver:this.receiver}}})},n.shimPeerConnection=function(e){var t=a.detectBrowser(e);if("object"!==(void 0===e?"undefined":r(e))||!e.RTCPeerConnection&&!e.mozRTCPeerConnection)return;!e.RTCPeerConnection&&e.mozRTCPeerConnection&&(e.RTCPeerConnection=e.mozRTCPeerConnection);t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach((function(t){var n=e.RTCPeerConnection.prototype[t],r=function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},t,(function(){return arguments[0]=new("addIceCandidate"===t?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),n.apply(this,arguments)}));e.RTCPeerConnection.prototype[t]=r[t]}));if(t.version<68){var n=e.RTCPeerConnection.prototype.addIceCandidate;e.RTCPeerConnection.prototype.addIceCandidate=function(){return arguments[0]?arguments[0]&&""===arguments[0].candidate?Promise.resolve():n.apply(this,arguments):(arguments[1]&&arguments[1].apply(null),Promise.resolve())}}var i={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp",candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"},o=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){var e=Array.prototype.slice.call(arguments),n=e[0],r=e[1],a=e[2];return o.apply(this,[n||null]).then((function(e){if(t.version<53&&!r)try{e.forEach((function(e){e.type=i[e.type]||e.type}))}catch(t){if("TypeError"!==t.name)throw t;e.forEach((function(t,n){e.set(n,Object.assign({},t,{type:i[t.type]||t.type}))}))}return e})).then(r,a)}},n.shimSenderGetStats=function(e){if("object"!==(void 0===e?"undefined":r(e))||!e.RTCPeerConnection||!e.RTCRtpSender)return;if(e.RTCRtpSender&&"getStats"in e.RTCRtpSender.prototype)return;var t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){var e=this,n=t.apply(this,[]);return n.forEach((function(t){return t._pc=e})),n});var n=e.RTCPeerConnection.prototype.addTrack;n&&(e.RTCPeerConnection.prototype.addTrack=function(){var e=n.apply(this,arguments);return e._pc=this,e});e.RTCRtpSender.prototype.getStats=function(){return this.track?this._pc.getStats(this.track):Promise.resolve(new Map)}},n.shimReceiverGetStats=function(e){if("object"!==(void 0===e?"undefined":r(e))||!e.RTCPeerConnection||!e.RTCRtpSender)return;if(e.RTCRtpSender&&"getStats"in e.RTCRtpReceiver.prototype)return;var t=e.RTCPeerConnection.prototype.getReceivers;t&&(e.RTCPeerConnection.prototype.getReceivers=function(){var e=this,n=t.apply(this,[]);return n.forEach((function(t){return t._pc=e})),n});a.wrapPeerConnectionEvent(e,"track",(function(e){return e.receiver._pc=e.srcElement,e})),e.RTCRtpReceiver.prototype.getStats=function(){return this._pc.getStats(this.track)}},n.shimRemoveStream=function(e){if(!e.RTCPeerConnection||"removeStream"in e.RTCPeerConnection.prototype)return;e.RTCPeerConnection.prototype.removeStream=function(e){var t=this;a.deprecated("removeStream","removeTrack"),this.getSenders().forEach((function(n){n.track&&e.getTracks().includes(n.track)&&t.removeTrack(n)}))}},n.shimRTCDataChannel=function(e){e.DataChannel&&!e.RTCDataChannel&&(e.RTCDataChannel=e.DataChannel)},n.shimAddTransceiver=function(e){if("object"!==(void 0===e?"undefined":r(e))||!e.RTCPeerConnection)return;var t=e.RTCPeerConnection.prototype.addTransceiver;t&&(e.RTCPeerConnection.prototype.addTransceiver=function(){this.setParametersPromises=[];var e=arguments[1],n=e&&"sendEncodings"in e;n&&e.sendEncodings.forEach((function(e){if("rid"in e){if(!/^[a-z0-9]{0,16}$/i.test(e.rid))throw new TypeError("Invalid RID value provided.")}if("scaleResolutionDownBy"in e&&!(parseFloat(e.scaleResolutionDownBy)>=1))throw new RangeError("scale_resolution_down_by must be >= 1.0");if("maxFramerate"in e&&!(parseFloat(e.maxFramerate)>=0))throw new RangeError("max_framerate must be >= 0.0")}));var r=t.apply(this,arguments);if(n){var i=r.sender,o=i.getParameters();"encodings"in o||(o.encodings=e.sendEncodings,this.setParametersPromises.push(i.setParameters(o).catch((function(){}))))}return r})},n.shimCreateOffer=function(e){if("object"!==(void 0===e?"undefined":r(e))||!e.RTCPeerConnection)return;var t=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(){var e=this,n=arguments;return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then((function(){return t.apply(e,n)})).finally((function(){e.setParametersPromises=[]})):t.apply(this,arguments)}},n.shimCreateAnswer=function(e){if("object"!==(void 0===e?"undefined":r(e))||!e.RTCPeerConnection)return;var t=e.RTCPeerConnection.prototype.createAnswer;e.RTCPeerConnection.prototype.createAnswer=function(){var e=this,n=arguments;return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then((function(){return t.apply(e,n)})).finally((function(){e.setParametersPromises=[]})):t.apply(this,arguments)}};var a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(e("../utils"))},{"../utils":11,"./getdisplaymedia":8,"./getusermedia":9}],8:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.shimGetDisplayMedia=function(e,t){if(e.navigator.mediaDevices&&"getDisplayMedia"in e.navigator.mediaDevices)return;if(!e.navigator.mediaDevices)return;e.navigator.mediaDevices.getDisplayMedia=function(n){if(!n||!n.video){var r=new DOMException("getDisplayMedia without video constraints is undefined");return r.name="NotFoundError",r.code=8,Promise.reject(r)}return!0===n.video?n.video={mediaSource:t}:n.video.mediaSource=t,e.navigator.mediaDevices.getUserMedia(n)}}},{}],9:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n.shimGetUserMedia=function(e){var t=i.detectBrowser(e),n=e&&e.navigator,o=e&&e.MediaStreamTrack;if(n.getUserMedia=function(e,t,r){i.deprecated("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),n.mediaDevices.getUserMedia(e).then(t,r)},!(t.version>55&&"autoGainControl"in n.mediaDevices.getSupportedConstraints())){var a=function(e,t,n){t in e&&!(n in e)&&(e[n]=e[t],delete e[t])},s=n.mediaDevices.getUserMedia.bind(n.mediaDevices);if(n.mediaDevices.getUserMedia=function(e){return"object"===(void 0===e?"undefined":r(e))&&"object"===r(e.audio)&&(e=JSON.parse(JSON.stringify(e)),a(e.audio,"autoGainControl","mozAutoGainControl"),a(e.audio,"noiseSuppression","mozNoiseSuppression")),s(e)},o&&o.prototype.getSettings){var u=o.prototype.getSettings;o.prototype.getSettings=function(){var e=u.apply(this,arguments);return a(e,"mozAutoGainControl","autoGainControl"),a(e,"mozNoiseSuppression","noiseSuppression"),e}}if(o&&o.prototype.applyConstraints){var l=o.prototype.applyConstraints;o.prototype.applyConstraints=function(e){return"audio"===this.kind&&"object"===(void 0===e?"undefined":r(e))&&(e=JSON.parse(JSON.stringify(e)),a(e,"autoGainControl","mozAutoGainControl"),a(e,"noiseSuppression","mozNoiseSuppression")),l.apply(this,[e])}}}};var i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(e("../utils"))},{"../utils":11}],10:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n.shimLocalStreamsAPI=function(e){if("object"!==(void 0===e?"undefined":r(e))||!e.RTCPeerConnection)return;"getLocalStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams});if(!("addStream"in e.RTCPeerConnection.prototype)){var t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addStream=function(e){var n=this;this._localStreams||(this._localStreams=[]),this._localStreams.includes(e)||this._localStreams.push(e),e.getAudioTracks().forEach((function(r){return t.call(n,r,e)})),e.getVideoTracks().forEach((function(r){return t.call(n,r,e)}))},e.RTCPeerConnection.prototype.addTrack=function(e){for(var n=this,r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return i&&i.forEach((function(e){n._localStreams?n._localStreams.includes(e)||n._localStreams.push(e):n._localStreams=[e]})),t.apply(this,arguments)}}"removeStream"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.removeStream=function(e){var t=this;this._localStreams||(this._localStreams=[]);var n=this._localStreams.indexOf(e);if(-1!==n){this._localStreams.splice(n,1);var r=e.getTracks();this.getSenders().forEach((function(e){r.includes(e.track)&&t.removeTrack(e)}))}})},n.shimRemoteStreamsAPI=function(e){if("object"!==(void 0===e?"undefined":r(e))||!e.RTCPeerConnection)return;"getRemoteStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getRemoteStreams=function(){return this._remoteStreams?this._remoteStreams:[]});if(!("onaddstream"in e.RTCPeerConnection.prototype)){Object.defineProperty(e.RTCPeerConnection.prototype,"onaddstream",{get:function(){return this._onaddstream},set:function(e){var t=this;this._onaddstream&&(this.removeEventListener("addstream",this._onaddstream),this.removeEventListener("track",this._onaddstreampoly)),this.addEventListener("addstream",this._onaddstream=e),this.addEventListener("track",this._onaddstreampoly=function(e){e.streams.forEach((function(e){if(t._remoteStreams||(t._remoteStreams=[]),!t._remoteStreams.includes(e)){t._remoteStreams.push(e);var n=new Event("addstream");n.stream=e,t.dispatchEvent(n)}}))})}});var t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){var e=this;return this._onaddstreampoly||this.addEventListener("track",this._onaddstreampoly=function(t){t.streams.forEach((function(t){if(e._remoteStreams||(e._remoteStreams=[]),!(e._remoteStreams.indexOf(t)>=0)){e._remoteStreams.push(t);var n=new Event("addstream");n.stream=t,e.dispatchEvent(n)}}))}),t.apply(e,arguments)}}},n.shimCallbacksAPI=function(e){if("object"!==(void 0===e?"undefined":r(e))||!e.RTCPeerConnection)return;var t=e.RTCPeerConnection.prototype,n=t.createOffer,i=t.createAnswer,o=t.setLocalDescription,a=t.setRemoteDescription,s=t.addIceCandidate;t.createOffer=function(e,t){var r=arguments.length>=2?arguments[2]:arguments[0],i=n.apply(this,[r]);return t?(i.then(e,t),Promise.resolve()):i},t.createAnswer=function(e,t){var n=arguments.length>=2?arguments[2]:arguments[0],r=i.apply(this,[n]);return t?(r.then(e,t),Promise.resolve()):r};var u=function(e,t,n){var r=o.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r};t.setLocalDescription=u,u=function(e,t,n){var r=a.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r},t.setRemoteDescription=u,u=function(e,t,n){var r=s.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r},t.addIceCandidate=u},n.shimGetUserMedia=function(e){var t=e&&e.navigator;if(t.mediaDevices&&t.mediaDevices.getUserMedia){var n=t.mediaDevices,r=n.getUserMedia.bind(n);t.mediaDevices.getUserMedia=function(e){return r(o(e))}}!t.getUserMedia&&t.mediaDevices&&t.mediaDevices.getUserMedia&&(t.getUserMedia=function(e,n,r){t.mediaDevices.getUserMedia(e).then(n,r)}.bind(t))},n.shimConstraints=o,n.shimRTCIceServerUrls=function(e){var t=e.RTCPeerConnection;e.RTCPeerConnection=function(e,n){if(e&&e.iceServers){for(var r=[],o=0;o<e.iceServers.length;o++){var a=e.iceServers[o];!a.hasOwnProperty("urls")&&a.hasOwnProperty("url")?(i.deprecated("RTCIceServer.url","RTCIceServer.urls"),(a=JSON.parse(JSON.stringify(a))).urls=a.url,delete a.url,r.push(a)):r.push(e.iceServers[o])}e.iceServers=r}return new t(e,n)},e.RTCPeerConnection.prototype=t.prototype,"generateCertificate"in e.RTCPeerConnection&&Object.defineProperty(e.RTCPeerConnection,"generateCertificate",{get:function(){return t.generateCertificate}})},n.shimTrackEventTransceiver=function(e){"object"===(void 0===e?"undefined":r(e))&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get:function(){return{receiver:this.receiver}}})},n.shimCreateOfferLegacy=function(e){var t=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(e){if(e){void 0!==e.offerToReceiveAudio&&(e.offerToReceiveAudio=!!e.offerToReceiveAudio);var n=this.getTransceivers().find((function(e){return"audio"===e.receiver.track.kind}));!1===e.offerToReceiveAudio&&n?"sendrecv"===n.direction?n.setDirection?n.setDirection("sendonly"):n.direction="sendonly":"recvonly"===n.direction&&(n.setDirection?n.setDirection("inactive"):n.direction="inactive"):!0!==e.offerToReceiveAudio||n||this.addTransceiver("audio"),void 0!==e.offerToReceiveVideo&&(e.offerToReceiveVideo=!!e.offerToReceiveVideo);var r=this.getTransceivers().find((function(e){return"video"===e.receiver.track.kind}));!1===e.offerToReceiveVideo&&r?"sendrecv"===r.direction?r.setDirection?r.setDirection("sendonly"):r.direction="sendonly":"recvonly"===r.direction&&(r.setDirection?r.setDirection("inactive"):r.direction="inactive"):!0!==e.offerToReceiveVideo||r||this.addTransceiver("video")}return t.apply(this,arguments)}};var i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(e("../utils"));function o(e){return e&&void 0!==e.video?Object.assign({},e,{video:i.compactObject(e.video)}):e}},{"../utils":11}],11:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n.extractVersion=a,n.wrapPeerConnectionEvent=function(e,t,n){if(!e.RTCPeerConnection)return;var r=e.RTCPeerConnection.prototype,i=r.addEventListener;r.addEventListener=function(e,r){if(e!==t)return i.apply(this,arguments);var o=function(e){var t=n(e);t&&r(t)};return this._eventMap=this._eventMap||{},this._eventMap[r]=o,i.apply(this,[e,o])};var o=r.removeEventListener;r.removeEventListener=function(e,n){if(e!==t||!this._eventMap||!this._eventMap[n])return o.apply(this,arguments);var r=this._eventMap[n];return delete this._eventMap[n],o.apply(this,[e,r])},Object.defineProperty(r,"on"+t,{get:function(){return this["_on"+t]},set:function(e){this["_on"+t]&&(this.removeEventListener(t,this["_on"+t]),delete this["_on"+t]),e&&this.addEventListener(t,this["_on"+t]=e)},enumerable:!0,configurable:!0})},n.disableLog=function(e){if("boolean"!=typeof e)return new Error("Argument type: "+(void 0===e?"undefined":r(e))+". Please use a boolean.");return i=e,e?"adapter.js logging disabled":"adapter.js logging enabled"},n.disableWarnings=function(e){if("boolean"!=typeof e)return new Error("Argument type: "+(void 0===e?"undefined":r(e))+". Please use a boolean.");return o=!e,"adapter.js deprecation warnings "+(e?"disabled":"enabled")},n.log=function(){if("object"===("undefined"==typeof window?"undefined":r(window))){if(i)return;"undefined"!=typeof console&&"function"==typeof console.log&&console.log.apply(console,arguments)}},n.deprecated=function(e,t){if(!o)return;console.warn(e+" is deprecated, please use "+t+" instead.")},n.detectBrowser=function(e){var t=e.navigator,n={browser:null,version:null};if(void 0===e||!e.navigator)return n.browser="Not a browser.",n;if(t.mozGetUserMedia)n.browser="firefox",n.version=a(t.userAgent,/Firefox\/(\d+)\./,1);else if(t.webkitGetUserMedia||!1===e.isSecureContext&&e.webkitRTCPeerConnection&&!e.RTCIceGatherer)n.browser="chrome",n.version=a(t.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else if(t.mediaDevices&&t.userAgent.match(/Edge\/(\d+).(\d+)$/))n.browser="edge",n.version=a(t.userAgent,/Edge\/(\d+).(\d+)$/,2);else{if(!e.RTCPeerConnection||!t.userAgent.match(/AppleWebKit\/(\d+)\./))return n.browser="Not a supported browser.",n;n.browser="safari",n.version=a(t.userAgent,/AppleWebKit\/(\d+)\./,1),n.supportsUnifiedPlan=e.RTCRtpTransceiver&&"currentDirection"in e.RTCRtpTransceiver.prototype}return n},n.compactObject=function e(t){if(!s(t))return t;return Object.keys(t).reduce((function(n,r){var i=s(t[r]),o=i?e(t[r]):t[r],a=i&&!Object.keys(o).length;return void 0===o||a?n:Object.assign(n,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},r,o))}),{})},n.walkStats=u,n.filterStats=function(e,t,n){var r=n?"outbound-rtp":"inbound-rtp",i=new Map;if(null===t)return i;var o=[];return e.forEach((function(e){"track"===e.type&&e.trackIdentifier===t.id&&o.push(e)})),o.forEach((function(t){e.forEach((function(n){n.type===r&&n.trackId===t.id&&u(e,n,i)}))})),i};var i=!0,o=!0;function a(e,t,n){var r=e.match(t);return r&&r.length>=n&&parseInt(r[n],10)}function s(e){return"[object Object]"===Object.prototype.toString.call(e)}function u(e,t,n){t&&!n.has(t.id)&&(n.set(t.id,t),Object.keys(t).forEach((function(r){r.endsWith("Id")?u(e,e.get(t[r]),n):r.endsWith("Ids")&&t[r].forEach((function(t){u(e,e.get(t),n)}))})))}},{}],12:[function(e,t,n){},{}],13:[function(e,t,n){"use strict";var r={generateIdentifier:function(){return Math.random().toString(36).substr(2,10)}};r.localCName=r.generateIdentifier(),r.splitLines=function(e){return e.trim().split("\n").map((function(e){return e.trim()}))},r.splitSections=function(e){return e.split("\nm=").map((function(e,t){return(t>0?"m="+e:e).trim()+"\r\n"}))},r.getDescription=function(e){var t=r.splitSections(e);return t&&t[0]},r.getMediaSections=function(e){var t=r.splitSections(e);return t.shift(),t},r.matchPrefix=function(e,t){return r.splitLines(e).filter((function(e){return 0===e.indexOf(t)}))},r.parseCandidate=function(e){for(var t,n={foundation:(t=0===e.indexOf("a=candidate:")?e.substring(12).split(" "):e.substring(10).split(" "))[0],component:parseInt(t[1],10),protocol:t[2].toLowerCase(),priority:parseInt(t[3],10),ip:t[4],address:t[4],port:parseInt(t[5],10),type:t[7]},r=8;r<t.length;r+=2)switch(t[r]){case"raddr":n.relatedAddress=t[r+1];break;case"rport":n.relatedPort=parseInt(t[r+1],10);break;case"tcptype":n.tcpType=t[r+1];break;case"ufrag":n.ufrag=t[r+1],n.usernameFragment=t[r+1];break;default:n[t[r]]=t[r+1]}return n},r.writeCandidate=function(e){var t=[];t.push(e.foundation),t.push(e.component),t.push(e.protocol.toUpperCase()),t.push(e.priority),t.push(e.address||e.ip),t.push(e.port);var n=e.type;return t.push("typ"),t.push(n),"host"!==n&&e.relatedAddress&&e.relatedPort&&(t.push("raddr"),t.push(e.relatedAddress),t.push("rport"),t.push(e.relatedPort)),e.tcpType&&"tcp"===e.protocol.toLowerCase()&&(t.push("tcptype"),t.push(e.tcpType)),(e.usernameFragment||e.ufrag)&&(t.push("ufrag"),t.push(e.usernameFragment||e.ufrag)),"candidate:"+t.join(" ")},r.parseIceOptions=function(e){return e.substr(14).split(" ")},r.parseRtpMap=function(e){var t=e.substr(9).split(" "),n={payloadType:parseInt(t.shift(),10)};return t=t[0].split("/"),n.name=t[0],n.clockRate=parseInt(t[1],10),n.channels=3===t.length?parseInt(t[2],10):1,n.numChannels=n.channels,n},r.writeRtpMap=function(e){var t=e.payloadType;void 0!==e.preferredPayloadType&&(t=e.preferredPayloadType);var n=e.channels||e.numChannels||1;return"a=rtpmap:"+t+" "+e.name+"/"+e.clockRate+(1!==n?"/"+n:"")+"\r\n"},r.parseExtmap=function(e){var t=e.substr(9).split(" ");return{id:parseInt(t[0],10),direction:t[0].indexOf("/")>0?t[0].split("/")[1]:"sendrecv",uri:t[1]}},r.writeExtmap=function(e){return"a=extmap:"+(e.id||e.preferredId)+(e.direction&&"sendrecv"!==e.direction?"/"+e.direction:"")+" "+e.uri+"\r\n"},r.parseFmtp=function(e){for(var t,n={},r=e.substr(e.indexOf(" ")+1).split(";"),i=0;i<r.length;i++)n[(t=r[i].trim().split("="))[0].trim()]=t[1];return n},r.writeFmtp=function(e){var t="",n=e.payloadType;if(void 0!==e.preferredPayloadType&&(n=e.preferredPayloadType),e.parameters&&Object.keys(e.parameters).length){var r=[];Object.keys(e.parameters).forEach((function(t){e.parameters[t]?r.push(t+"="+e.parameters[t]):r.push(t)})),t+="a=fmtp:"+n+" "+r.join(";")+"\r\n"}return t},r.parseRtcpFb=function(e){var t=e.substr(e.indexOf(" ")+1).split(" ");return{type:t.shift(),parameter:t.join(" ")}},r.writeRtcpFb=function(e){var t="",n=e.payloadType;return void 0!==e.preferredPayloadType&&(n=e.preferredPayloadType),e.rtcpFeedback&&e.rtcpFeedback.length&&e.rtcpFeedback.forEach((function(e){t+="a=rtcp-fb:"+n+" "+e.type+(e.parameter&&e.parameter.length?" "+e.parameter:"")+"\r\n"})),t},r.parseSsrcMedia=function(e){var t=e.indexOf(" "),n={ssrc:parseInt(e.substr(7,t-7),10)},r=e.indexOf(":",t);return r>-1?(n.attribute=e.substr(t+1,r-t-1),n.value=e.substr(r+1)):n.attribute=e.substr(t+1),n},r.parseSsrcGroup=function(e){var t=e.substr(13).split(" ");return{semantics:t.shift(),ssrcs:t.map((function(e){return parseInt(e,10)}))}},r.getMid=function(e){var t=r.matchPrefix(e,"a=mid:")[0];if(t)return t.substr(6)},r.parseFingerprint=function(e){var t=e.substr(14).split(" ");return{algorithm:t[0].toLowerCase(),value:t[1]}},r.getDtlsParameters=function(e,t){return{role:"auto",fingerprints:r.matchPrefix(e+t,"a=fingerprint:").map(r.parseFingerprint)}},r.writeDtlsParameters=function(e,t){var n="a=setup:"+t+"\r\n";return e.fingerprints.forEach((function(e){n+="a=fingerprint:"+e.algorithm+" "+e.value+"\r\n"})),n},r.parseCryptoLine=function(e){var t=e.substr(9).split(" ");return{tag:parseInt(t[0],10),cryptoSuite:t[1],keyParams:t[2],sessionParams:t.slice(3)}},r.writeCryptoLine=function(e){return"a=crypto:"+e.tag+" "+e.cryptoSuite+" "+("object"==typeof e.keyParams?r.writeCryptoKeyParams(e.keyParams):e.keyParams)+(e.sessionParams?" "+e.sessionParams.join(" "):"")+"\r\n"},r.parseCryptoKeyParams=function(e){if(0!==e.indexOf("inline:"))return null;var t=e.substr(7).split("|");return{keyMethod:"inline",keySalt:t[0],lifeTime:t[1],mkiValue:t[2]?t[2].split(":")[0]:void 0,mkiLength:t[2]?t[2].split(":")[1]:void 0}},r.writeCryptoKeyParams=function(e){return e.keyMethod+":"+e.keySalt+(e.lifeTime?"|"+e.lifeTime:"")+(e.mkiValue&&e.mkiLength?"|"+e.mkiValue+":"+e.mkiLength:"")},r.getCryptoParameters=function(e,t){return r.matchPrefix(e+t,"a=crypto:").map(r.parseCryptoLine)},r.getIceParameters=function(e,t){var n=r.matchPrefix(e+t,"a=ice-ufrag:")[0],i=r.matchPrefix(e+t,"a=ice-pwd:")[0];return n&&i?{usernameFragment:n.substr(12),password:i.substr(10)}:null},r.writeIceParameters=function(e){return"a=ice-ufrag:"+e.usernameFragment+"\r\na=ice-pwd:"+e.password+"\r\n"},r.parseRtpParameters=function(e){for(var t={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},n=r.splitLines(e)[0].split(" "),i=3;i<n.length;i++){var o=n[i],a=r.matchPrefix(e,"a=rtpmap:"+o+" ")[0];if(a){var s=r.parseRtpMap(a),u=r.matchPrefix(e,"a=fmtp:"+o+" ");switch(s.parameters=u.length?r.parseFmtp(u[0]):{},s.rtcpFeedback=r.matchPrefix(e,"a=rtcp-fb:"+o+" ").map(r.parseRtcpFb),t.codecs.push(s),s.name.toUpperCase()){case"RED":case"ULPFEC":t.fecMechanisms.push(s.name.toUpperCase())}}}return r.matchPrefix(e,"a=extmap:").forEach((function(e){t.headerExtensions.push(r.parseExtmap(e))})),t},r.writeRtpDescription=function(e,t){var n="";n+="m="+e+" ",n+=t.codecs.length>0?"9":"0",n+=" UDP/TLS/RTP/SAVPF ",n+=t.codecs.map((function(e){return void 0!==e.preferredPayloadType?e.preferredPayloadType:e.payloadType})).join(" ")+"\r\n",n+="c=IN IP4 0.0.0.0\r\n",n+="a=rtcp:9 IN IP4 0.0.0.0\r\n",t.codecs.forEach((function(e){n+=r.writeRtpMap(e),n+=r.writeFmtp(e),n+=r.writeRtcpFb(e)}));var i=0;return t.codecs.forEach((function(e){e.maxptime>i&&(i=e.maxptime)})),i>0&&(n+="a=maxptime:"+i+"\r\n"),n+="a=rtcp-mux\r\n",t.headerExtensions&&t.headerExtensions.forEach((function(e){n+=r.writeExtmap(e)})),n},r.parseRtpEncodingParameters=function(e){var t,n=[],i=r.parseRtpParameters(e),o=-1!==i.fecMechanisms.indexOf("RED"),a=-1!==i.fecMechanisms.indexOf("ULPFEC"),s=r.matchPrefix(e,"a=ssrc:").map((function(e){return r.parseSsrcMedia(e)})).filter((function(e){return"cname"===e.attribute})),u=s.length>0&&s[0].ssrc,l=r.matchPrefix(e,"a=ssrc-group:FID").map((function(e){return e.substr(17).split(" ").map((function(e){return parseInt(e,10)}))}));l.length>0&&l[0].length>1&&l[0][0]===u&&(t=l[0][1]),i.codecs.forEach((function(e){if("RTX"===e.name.toUpperCase()&&e.parameters.apt){var r={ssrc:u,codecPayloadType:parseInt(e.parameters.apt,10)};u&&t&&(r.rtx={ssrc:t}),n.push(r),o&&((r=JSON.parse(JSON.stringify(r))).fec={ssrc:u,mechanism:a?"red+ulpfec":"red"},n.push(r))}})),0===n.length&&u&&n.push({ssrc:u});var c=r.matchPrefix(e,"b=");return c.length&&(c=0===c[0].indexOf("b=TIAS:")?parseInt(c[0].substr(7),10):0===c[0].indexOf("b=AS:")?1e3*parseInt(c[0].substr(5),10)*.95-16e3:void 0,n.forEach((function(e){e.maxBitrate=c}))),n},r.parseRtcpParameters=function(e){var t={},n=r.matchPrefix(e,"a=ssrc:").map((function(e){return r.parseSsrcMedia(e)})).filter((function(e){return"cname"===e.attribute}))[0];n&&(t.cname=n.value,t.ssrc=n.ssrc);var i=r.matchPrefix(e,"a=rtcp-rsize");t.reducedSize=i.length>0,t.compound=0===i.length;var o=r.matchPrefix(e,"a=rtcp-mux");return t.mux=o.length>0,t},r.parseMsid=function(e){var t,n=r.matchPrefix(e,"a=msid:");if(1===n.length)return{stream:(t=n[0].substr(7).split(" "))[0],track:t[1]};var i=r.matchPrefix(e,"a=ssrc:").map((function(e){return r.parseSsrcMedia(e)})).filter((function(e){return"msid"===e.attribute}));return i.length>0?{stream:(t=i[0].value.split(" "))[0],track:t[1]}:void 0},r.parseSctpDescription=function(e){var t,n=r.parseMLine(e),i=r.matchPrefix(e,"a=max-message-size:");i.length>0&&(t=parseInt(i[0].substr(19),10)),isNaN(t)&&(t=65536);var o=r.matchPrefix(e,"a=sctp-port:");if(o.length>0)return{port:parseInt(o[0].substr(12),10),protocol:n.fmt,maxMessageSize:t};if(r.matchPrefix(e,"a=sctpmap:").length>0){var a=r.matchPrefix(e,"a=sctpmap:")[0].substr(10).split(" ");return{port:parseInt(a[0],10),protocol:a[1],maxMessageSize:t}}},r.writeSctpDescription=function(e,t){var n=[];return n="DTLS/SCTP"!==e.protocol?["m="+e.kind+" 9 "+e.protocol+" "+t.protocol+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctp-port:"+t.port+"\r\n"]:["m="+e.kind+" 9 "+e.protocol+" "+t.port+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctpmap:"+t.port+" "+t.protocol+" 65535\r\n"],void 0!==t.maxMessageSize&&n.push("a=max-message-size:"+t.maxMessageSize+"\r\n"),n.join("")},r.generateSessionId=function(){return Math.random().toString().substr(2,21)},r.writeSessionBoilerplate=function(e,t,n){var i=void 0!==t?t:2;return"v=0\r\no="+(n||"thisisadapterortc")+" "+(e||r.generateSessionId())+" "+i+" IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},r.writeMediaSection=function(e,t,n,i){var o=r.writeRtpDescription(e.kind,t);if(o+=r.writeIceParameters(e.iceGatherer.getLocalParameters()),o+=r.writeDtlsParameters(e.dtlsTransport.getLocalParameters(),"offer"===n?"actpass":"active"),o+="a=mid:"+e.mid+"\r\n",e.direction?o+="a="+e.direction+"\r\n":e.rtpSender&&e.rtpReceiver?o+="a=sendrecv\r\n":e.rtpSender?o+="a=sendonly\r\n":e.rtpReceiver?o+="a=recvonly\r\n":o+="a=inactive\r\n",e.rtpSender){var a="msid:"+i.id+" "+e.rtpSender.track.id+"\r\n";o+="a="+a,o+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" "+a,e.sendEncodingParameters[0].rtx&&(o+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" "+a,o+="a=ssrc-group:FID "+e.sendEncodingParameters[0].ssrc+" "+e.sendEncodingParameters[0].rtx.ssrc+"\r\n")}return o+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" cname:"+r.localCName+"\r\n",e.rtpSender&&e.sendEncodingParameters[0].rtx&&(o+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" cname:"+r.localCName+"\r\n"),o},r.getDirection=function(e,t){for(var n=r.splitLines(e),i=0;i<n.length;i++)switch(n[i]){case"a=sendrecv":case"a=sendonly":case"a=recvonly":case"a=inactive":return n[i].substr(2)}return t?r.getDirection(t):"sendrecv"},r.getKind=function(e){return r.splitLines(e)[0].split(" ")[0].substr(2)},r.isRejected=function(e){return"0"===e.split(" ",2)[1]},r.parseMLine=function(e){var t=r.splitLines(e)[0].substr(2).split(" ");return{kind:t[0],port:parseInt(t[1],10),protocol:t[2],fmt:t.slice(3).join(" ")}},r.parseOLine=function(e){var t=r.matchPrefix(e,"o=")[0].substr(2).split(" ");return{username:t[0],sessionId:t[1],sessionVersion:parseInt(t[2],10),netType:t[3],addressType:t[4],address:t[5]}},r.isValidSDP=function(e){if("string"!=typeof e||0===e.length)return!1;for(var t=r.splitLines(e),n=0;n<t.length;n++)if(t[n].length<2||"="!==t[n].charAt(1))return!1;return!0},"object"==typeof t&&(t.exports=r)},{}]},{},[1])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(64),o=n(34);function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,u(e,t)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e){function t(){return e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){return null},t}(r.PureComponent);l.displayName="MediaEngineDummyCamera";var c=function(e){function t(){return e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){return null},t}(r.PureComponent);c.displayName="MediaEngineDummyVideo";var d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).Video=c,t.Camera=l,t}s(t,e);var n=t.prototype;return n.destroy=function(){this.emit("destroy"),this.removeAllListeners()},n.interact=function(){},n.supported=function(){return __OVERLAY__},n.supports=function(e){switch(e){case o.Features.AUTO_ENABLE:return __OVERLAY__;default:return!1}},n.connect=function(){throw new Error("NOT_IMPLEMENTED")},n.eachConnection=function(){},n.enable=function(){return Promise.resolve()},n.setInputVolume=function(e){},n.setOutputVolume=function(e){},n.getAudioInputDevices=function(){return Promise.resolve([])},n.setAudioInputDevice=function(e){},n.getAudioOutputDevices=function(){return Promise.resolve([])},n.setAudioOutputDevice=function(e){},n.getVideoInputDevices=function(){return Promise.resolve([])},n.setVideoInputDevice=function(e){},n.getSupportedVideoCodecs=function(e){e([])},n.getAudioSubsystem=function(){return o.AudioSubsystems.STANDARD},n.getAudioLayer=function(){return""},n.setDesktopSource=function(e,t){void 0===t&&(t=o.MediaEngineContextTypes.DEFAULT)},n.setSoundshareSource=function(e,t,n){},n.getDesktopSource=function(){return Promise.reject(new Error("NO_STREAM"))},n.getDesktopSources=function(){return Promise.reject(new Error("NO_STREAM"))},n.getScreenPreviews=function(e,t){return Promise.reject(new Error("UNSUPPORTED"))},n.getWindowPreviews=function(e,t){return Promise.reject(new Error("UNSUPPORTED"))},n.setAudioSubsystem=function(e){},n.getDebugLogging=function(){return!1},n.setDebugLogging=function(e){},n.writeAudioDebugState=function(){return Promise.reject(new Error("Audio debug state is not supported."))},n.setExperimentalAdm=function(e){},n.setLoopback=function(e,t){},n.getLoopback=function(){return!1},n.setH264Enabled=function(e){},n.setExperimentFlag=function(e,t){},n.startAecDump=function(){},n.stopAecDump=function(){},n.setAecDump=function(e){},n.createReplayConnection=function(){throw new Error("Connection replay is not supported.")},n.setUseDirectVideo=function(e){},n.rankRtcRegions=function(e){return Promise.reject(new Error("RTC region latency test is not supported."))},n.getSoundshareStatus=function(){return Promise.reject(new Error("Soundshare is not supported."))},n.enableSoundshare=function(){return Promise.reject(new Error("Soundshare is not supported."))},t}(i.EventEmitter);t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-01_desktop_direct_video",label:"Controls use of the new direct video pipeline on desktop",defaultConfig:{useDirectVideo:!1},treatments:[{id:1,label:"New direct video pipeline used for playback in calls and Go Live",config:{useDirectVideo:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-03_resoloution_fps_ladder_experiment",label:"Varies the resolution and bitrate of video senders based on the number of video senders in a call.",defaultConfig:{useResolutionLadder:!1},treatments:[{id:1,label:"Use guild video call resolution ladder",config:{useResolutionLadder:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-06_hdr_screen_capture",label:"HDR Screen Capture",defaultConfig:{hdrCaptureMode:"never"},treatments:[{id:1,label:"Always",config:{hdrCaptureMode:"always"}},{id:2,label:"Permitted Devices Only",config:{hdrCaptureMode:"permittedDevicesOnly"}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-03_macos_soundshare",label:"macOS Soundshare",defaultConfig:{enableMacOSSoundshare:!1},treatments:[{id:1,label:"Enables soundsharing on macOS",config:{enableMacOSSoundshare:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2020-12_disable_native_reconnect",label:"Disabled Native Reconnect",defaultConfig:{disabled:!1},treatments:[{id:1,label:"Disable native reconnect",config:{disabled:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-02_noise_detection",label:"Noise Detection",defaultConfig:{enabled:!1},treatments:[{id:1,label:"Enable noise detection",config:{enabled:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-02_quartz_video_source",label:"Quartz Video Source",defaultConfig:{useQuartzCapturer:!1},treatments:[{id:1,label:"gotta go fast",config:{useQuartzCapturer:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-04_simulcast_video",label:"Simucast Video",defaultConfig:{enabled:!1},treatments:[{id:1,label:"Simulcast Video - Sender offers two video streams",config:{enabled:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-03_videotoolbox_rate_optimization",label:"VideoToolbox Rate Control Optimizations",defaultConfig:{useExperimentalRateControl:!1},treatments:[{id:1,label:"On",config:{useExperimentalRateControl:!0}}]});t.default=r},function(e,t,n){"use strict";var r;function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){var t,n;function r(t){var n;return(n=e.call(this)||this).id=t.id,n.name=t.name,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n),r.createFromServer=function(e){return new r(e)},r}(((r=n(62))&&r.__esModule?r:{default:r}).default);t.default=o},function(e,t,n){e.exports=n.p+"edbbf6107b2cd4334d582b26e1ac786d.png"},function(e,t,n){e.exports=n.p+"4c1bab3f945269a5c1be0b3a2c177141.png"},function(e,t,n){e.exports=n.p+"402008166e5ef53b0045b10930b263b0.png"},function(e,t,n){e.exports=n.p+"d5c9d174036ef1b010d2812352393788.svg"},function(e,t,n){e.exports=n.p+"449cca50c1452b4ace3cbe9bc5ae0fd6.png"},function(e,t,n){e.exports=n.p+"0ef81742942677bcef0bebdfb7061d29.png"},function(e,t,n){e.exports=n.p+"3f8d3e1dd3c9426ac7e680dada39650e.png"},function(e,t,n){e.exports=n.p+"8c289d499232cd8e9582b4a5639d9d1d.png"},function(e,t,n){e.exports=n.p+"3a257c4cab129e956b05bd50047eb0f9.png"},function(e,t,n){e.exports=n.p+"cf74f0c780cba6ae11728b8ca740b30c.png"},function(e,t,n){e.exports=n.p+"5be6cc17e596c02e7506f2776cfb1622.png"},function(e,t,n){e.exports=n.p+"de5fb9e860729912c65048c1c657e1a3.png"},function(e,t,n){e.exports=n.p+"1c419ecaf6e5406addbae729c7fa2e75.png"},function(e,t,n){e.exports=n.p+"806953fe1cc616477175cbcdf90d5cd3.png"},function(e,t,n){e.exports=n.p+"fbbd224a0d94747c102515090682bbe1.png"},function(e,t,n){e.exports=n.p+"f87228c98e49168b6cf7ad38651b4e87.png"},function(e,t,n){e.exports=n.p+"f09c1c70a67ceaaeb455d163f3f9cbb8.png"},function(e,t,n){e.exports=n.p+"baf4bdd36b7ef74e8f34b402e66f81f4.png"},function(e,t,n){e.exports=n.p+"6ca4a49418715a16e226be1280494f46.png"},function(e,t,n){e.exports=n.p+"3abe9ce5a00cc24bd8aae04bf5968f4c.png"},function(e,t,n){e.exports=n.p+"bcc7bc0c0b27f9cbadaa1a47ea79db22.png"},function(e,t,n){e.exports=n.p+"51edbb92b1904c19197eb16be97bc6fb.png"},function(e,t,n){e.exports=n.p+"8d8f815f3d81a33b1e70ec7c22e1b6fe.png"},function(e,t,n){e.exports=n.p+"c926e69c482dac25b8e940db74496813.png"},function(e,t,n){e.exports=n.p+"27fb89c30127405c6a5370b477590da6.png"},function(e,t,n){e.exports=n.p+"4662875160dc4c56954003ebda995414.png"},function(e,t,n){e.exports=n.p+"2ac50d286a1c883f28b5149239a8ad36.png"},function(e,t,n){e.exports=n.p+"c38327e52d3a859d550af398edb8d8e0.png"},function(e,t,n){e.exports=n.p+"f0655521c19c08c4ea4e508044ec7d8c.png"},function(e,t,n){e.exports=n.p+"fe3770614c2658a07dea3ecb286ce745.png"},function(e,t,n){e.exports=n.p+"739cb09703de9dcfe68d0200a163d9fc.png"},function(e,t,n){e.exports=n.p+"6635313902322207734e67a2802bd716.svg"},function(e,t,n){e.exports=n.p+"0d44ba28e39303de3832db580a252456.png"},function(e,t,n){e.exports=n.p+"850ed4fcf5839b7a32651f5959e8511e.png"},function(e,t,n){e.exports=n.p+"d8e257d7526932dcf7f88e8816a49b30.png"},function(e,t,n){e.exports=n.p+"4c59c8e37dda86294d3cf237b2695dde.png"},function(e,t,n){e.exports=n.p+"5693b73a047e27ac19c1f01611a6a628.svg"},function(e,t,n){e.exports=n.p+"4857334662156d13f00bf3ef64d5c5f8.png"},function(e,t,n){e.exports=n.p+"4254c0546958ee2e795275ee303877b2.png"},function(e,t,n){e.exports=n.p+"cd416a3c1217c430c0f03f6fdf11a9c8.png"},function(e,t,n){e.exports=n.p+"a74a33dcb6b9294ca4d688b2b8b74ded.svg"},function(e,t,n){e.exports=n.p+"5d69e29f0d71aaa04ed9725100199b4e.png"},function(e,t,n){e.exports=n.p+"9e2893717851c493b4bff518f8b63ee7.png"},function(e,t,n){e.exports=n.p+"6257b0a8be1163ff4b87b8df278502ec.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(62)),i=o(n(6));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){var t,n;function r(t){var n;return(n=e.call(this)||this).id=t.id,n.liveBuildId=t.liveBuildId,n.name=t.name,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n),r.createFromServer=function(e){return new r({id:e.id,liveBuildId:e.live_build_id,name:e.name})},r.prototype.getName=function(e){return null!=this.name?this.name:this.id===e?i.default.Messages.APPLICATION_BRANCH_NAME_MASTER:i.default.Messages.APPLICATION_BRANCH_NAME_UNKNOWN},r}(r.default);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertToMinorCurrencyUnits=t.convertToMajorCurrencyUnits=t.CurrencyExponents=t.formatPrice=void 0;var r,i,o=(r=n(1691))&&r.__esModule?r:{default:r},a=n(92);function s(){return(s=Object.assign||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}).apply(this,arguments)}t.formatPrice=function(e,t,n,r){void 0===r&&(r={});var i=r,o=i.convertToMajorUnits,a=void 0===o||o,u=function(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}(i,["convertToMajorUnits"]);return Intl.NumberFormat(n,s({style:"currency",currency:t},u)).format(a?l(e,t):e)};var u=((i={})[a.CurrencyCodes.USD]=2,i[a.CurrencyCodes.CAD]=2,i[a.CurrencyCodes.EUR]=2,i[a.CurrencyCodes.AUD]=2,i[a.CurrencyCodes.GBP]=2,i[a.CurrencyCodes.NOK]=2,i[a.CurrencyCodes.RUB]=2,i[a.CurrencyCodes.JPY]=0,i);t.CurrencyExponents=u;var l=function(e,t){var n=u[t];if(null==n)throw new Error("Unexpected currency "+t);return new o.default(e).dividedBy(Math.pow(10,n)).toNumber()};t.convertToMajorCurrencyUnits=l;t.convertToMinorCurrencyUnits=function(e,t){var n=u[t];if(null==n)throw new Error("Unexpected currency "+t);return new o.default(e).times(Math.pow(10,n)).toNumber()}},function(e,t,n){var r;!function(i){"use strict";var o,a={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},s=!0,u="[DecimalError] ",l=u+"Invalid argument: ",c=u+"Exponent out of range: ",d=Math.floor,f=Math.pow,_=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,p=1e7,E=d(1286742750677284.5),h={};function m(e,t){var n,r,i,o,a,u,l,c,d=e.constructor,f=d.precision;if(!e.s||!t.s)return t.s||(t=new d(e)),s?R(t,f):t;if(l=e.d,c=t.d,a=e.e,i=t.e,l=l.slice(),o=a-i){for(o<0?(r=l,o=-o,u=c.length):(r=c,i=a,u=l.length),o>(u=(a=Math.ceil(f/7))>u?a+1:u+1)&&(o=u,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for((u=l.length)-(o=c.length)<0&&(o=u,r=c,c=l,l=r),n=0;o;)n=(l[--o]=l[o]+c[o]+n)/p|0,l[o]%=p;for(n&&(l.unshift(n),++i),u=l.length;0==l[--u];)l.pop();return t.d=l,t.e=i,s?R(t,f):t}function v(e,t,n){if(e!==~~e||e<t||e>n)throw Error(l+e)}function T(e){var t,n,r,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;t<i;t++)(n=7-(r=e[t]+"").length)&&(o+=A(n)),o+=r;(n=7-(r=(a=e[t])+"").length)&&(o+=A(n))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}h.absoluteValue=h.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},h.comparedTo=h.cmp=function(e){var t,n,r,i,o=this;if(e=new o.constructor(e),o.s!==e.s)return o.s||-e.s;if(o.e!==e.e)return o.e>e.e^o.s<0?1:-1;for(t=0,n=(r=o.d.length)<(i=e.d.length)?r:i;t<n;++t)if(o.d[t]!==e.d[t])return o.d[t]>e.d[t]^o.s<0?1:-1;return r===i?0:r>i^o.s<0?1:-1},h.decimalPlaces=h.dp=function(){var e=this,t=e.d.length-1,n=7*(t-e.e);if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},h.dividedBy=h.div=function(e){return g(this,new this.constructor(e))},h.dividedToIntegerBy=h.idiv=function(e){var t=this.constructor;return R(g(this,new t(e),0,1),t.precision)},h.equals=h.eq=function(e){return!this.cmp(e)},h.exponent=function(){return S(this)},h.greaterThan=h.gt=function(e){return this.cmp(e)>0},h.greaterThanOrEqualTo=h.gte=function(e){return this.cmp(e)>=0},h.isInteger=h.isint=function(){return this.e>this.d.length-2},h.isNegative=h.isneg=function(){return this.s<0},h.isPositive=h.ispos=function(){return this.s>0},h.isZero=function(){return 0===this.s},h.lessThan=h.lt=function(e){return this.cmp(e)<0},h.lessThanOrEqualTo=h.lte=function(e){return this.cmp(e)<1},h.logarithm=h.log=function(e){var t,n=this,r=n.constructor,i=r.precision,a=i+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(o))throw Error(u+"NaN");if(n.s<1)throw Error(u+(n.s?"NaN":"-Infinity"));return n.eq(o)?new r(0):(s=!1,t=g(O(n,a),O(e,a),a),s=!0,R(t,i))},h.minus=h.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?b(t,e):m(t,(e.s=-e.s,e))},h.modulo=h.mod=function(e){var t,n=this,r=n.constructor,i=r.precision;if(!(e=new r(e)).s)throw Error(u+"NaN");return n.s?(s=!1,t=g(n,e,0,1).times(e),s=!0,n.minus(t)):R(new r(n),i)},h.naturalExponential=h.exp=function(){return I(this)},h.naturalLogarithm=h.ln=function(){return O(this)},h.negated=h.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},h.plus=h.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?m(t,e):b(t,(e.s=-e.s,e))},h.precision=h.sd=function(e){var t,n,r,i=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(l+e);if(t=S(i)+1,n=7*(r=i.d.length-1)+1,r=i.d[r]){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},h.squareRoot=h.sqrt=function(){var e,t,n,r,i,o,a,l=this,c=l.constructor;if(l.s<1){if(!l.s)return new c(0);throw Error(u+"NaN")}for(e=S(l),s=!1,0==(i=Math.sqrt(+l))||i==1/0?(((t=T(l.d)).length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=d((e+1)/2)-(e<0||e%2),r=new c(t=i==1/0?"1e"+e:(t=i.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new c(i.toString()),i=a=(n=c.precision)+3;;)if(r=(o=r).plus(g(l,o,a+2)).times(.5),T(o.d).slice(0,a)===(t=T(r.d)).slice(0,a)){if(t=t.slice(a-3,a+1),i==a&&"4999"==t){if(R(o,n+1,0),o.times(o).eq(l)){r=o;break}}else if("9999"!=t)break;a+=4}return s=!0,R(r,n)},h.times=h.mul=function(e){var t,n,r,i,o,a,u,l,c,d=this,f=d.constructor,_=d.d,E=(e=new f(e)).d;if(!d.s||!e.s)return new f(0);for(e.s*=d.s,n=d.e+e.e,(l=_.length)<(c=E.length)&&(o=_,_=E,E=o,a=l,l=c,c=a),o=[],r=a=l+c;r--;)o.push(0);for(r=c;--r>=0;){for(t=0,i=l+r;i>r;)u=o[i]+E[r]*_[i-r-1]+t,o[i--]=u%p|0,t=u/p|0;o[i]=(o[i]+t)%p|0}for(;!o[--a];)o.pop();return t?++n:o.shift(),e.d=o,e.e=n,s?R(e,f.precision):e},h.toDecimalPlaces=h.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(v(e,0,1e9),void 0===t?t=r.rounding:v(t,0,8),R(n,e+S(n)+1,t))},h.toExponential=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=L(r,!0):(v(e,0,1e9),void 0===t?t=i.rounding:v(t,0,8),n=L(r=R(new i(r),e+1,t),!0,e+1)),n},h.toFixed=function(e,t){var n,r,i=this,o=i.constructor;return void 0===e?L(i):(v(e,0,1e9),void 0===t?t=o.rounding:v(t,0,8),n=L((r=R(new o(i),e+S(i)+1,t)).abs(),!1,e+S(r)+1),i.isneg()&&!i.isZero()?"-"+n:n)},h.toInteger=h.toint=function(){var e=this,t=e.constructor;return R(new t(e),S(e)+1,t.rounding)},h.toNumber=function(){return+this},h.toPower=h.pow=function(e){var t,n,r,i,a,l,c=this,f=c.constructor,_=+(e=new f(e));if(!e.s)return new f(o);if(!(c=new f(c)).s){if(e.s<1)throw Error(u+"Infinity");return c}if(c.eq(o))return c;if(r=f.precision,e.eq(o))return R(c,r);if(l=(t=e.e)>=(n=e.d.length-1),a=c.s,l){if((n=_<0?-_:_)<=9007199254740991){for(i=new f(o),t=Math.ceil(r/7+4),s=!1;n%2&&D((i=i.times(c)).d,t),0!==(n=d(n/2));)D((c=c.times(c)).d,t);return s=!0,e.s<0?new f(o).div(i):R(i,r)}}else if(a<0)throw Error(u+"NaN");return a=a<0&&1&e.d[Math.max(t,n)]?-1:1,c.s=1,s=!1,i=e.times(O(c,r+12)),s=!0,(i=I(i)).s=a,i},h.toPrecision=function(e,t){var n,r,i=this,o=i.constructor;return void 0===e?r=L(i,(n=S(i))<=o.toExpNeg||n>=o.toExpPos):(v(e,1,1e9),void 0===t?t=o.rounding:v(t,0,8),r=L(i=R(new o(i),e,t),e<=(n=S(i))||n<=o.toExpNeg,e)),r},h.toSignificantDigits=h.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(v(e,1,1e9),void 0===t?t=n.rounding:v(t,0,8)),R(new n(this),e,t)},h.toString=h.valueOf=h.val=h.toJSON=function(){var e=this,t=S(e),n=e.constructor;return L(e,t<=n.toExpNeg||t>=n.toExpPos)};var g=function(){function e(e,t){var n,r=0,i=e.length;for(e=e.slice();i--;)n=e[i]*t+r,e[i]=n%p|0,r=n/p|0;return r&&e.unshift(r),e}function t(e,t,n,r){var i,o;if(n!=r)o=n>r?1:-1;else for(i=o=0;i<n;i++)if(e[i]!=t[i]){o=e[i]>t[i]?1:-1;break}return o}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]<t[n]?1:0,e[n]=r*p+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,i,o,a){var s,l,c,d,f,_,E,h,m,v,T,g,I,y,A,O,N,b,L=r.constructor,D=r.s==i.s?1:-1,C=r.d,M=i.d;if(!r.s)return new L(r);if(!i.s)throw Error(u+"Division by zero");for(l=r.e-i.e,N=M.length,A=C.length,h=(E=new L(D)).d=[],c=0;M[c]==(C[c]||0);)++c;if(M[c]>(C[c]||0)&&--l,(g=null==o?o=L.precision:a?o+(S(r)-S(i))+1:o)<0)return new L(0);if(g=g/7+2|0,c=0,1==N)for(d=0,M=M[0],g++;(c<A||d)&&g--;c++)I=d*p+(C[c]||0),h[c]=I/M|0,d=I%M|0;else{for((d=p/(M[0]+1)|0)>1&&(M=e(M,d),C=e(C,d),N=M.length,A=C.length),y=N,v=(m=C.slice(0,N)).length;v<N;)m[v++]=0;(b=M.slice()).unshift(0),O=M[0],M[1]>=p/2&&++O;do{d=0,(s=t(M,m,N,v))<0?(T=m[0],N!=v&&(T=T*p+(m[1]||0)),(d=T/O|0)>1?(d>=p&&(d=p-1),1==(s=t(f=e(M,d),m,_=f.length,v=m.length))&&(d--,n(f,N<_?b:M,_))):(0==d&&(s=d=1),f=M.slice()),(_=f.length)<v&&f.unshift(0),n(m,f,v),-1==s&&(s=t(M,m,N,v=m.length))<1&&(d++,n(m,N<v?b:M,v)),v=m.length):0===s&&(d++,m=[0]),h[c++]=d,s&&m[0]?m[v++]=C[y]||0:(m=[C[y]],v=1)}while((y++<A||void 0!==m[0])&&g--)}return h[0]||h.shift(),E.e=l,R(E,a?o+S(E)+1:o)}}();function I(e,t){var n,r,i,a,u,l=0,d=0,_=e.constructor,p=_.precision;if(S(e)>16)throw Error(c+S(e));if(!e.s)return new _(o);for(null==t?(s=!1,u=p):u=t,a=new _(.03125);e.abs().gte(.1);)e=e.times(a),d+=5;for(u+=Math.log(f(2,d))/Math.LN10*2+5|0,n=r=i=new _(o),_.precision=u;;){if(r=R(r.times(e),u),n=n.times(++l),T((a=i.plus(g(r,n,u))).d).slice(0,u)===T(i.d).slice(0,u)){for(;d--;)i=R(i.times(i),u);return _.precision=p,null==t?(s=!0,R(i,p)):i}i=a}}function S(e){for(var t=7*e.e,n=e.d[0];n>=10;n/=10)t++;return t}function y(e,t,n){if(t>e.LN10.sd())throw s=!0,n&&(e.precision=n),Error(u+"LN10 precision limit exceeded");return R(new e(e.LN10),t)}function A(e){for(var t="";e--;)t+="0";return t}function O(e,t){var n,r,i,a,l,c,d,f,_,p=1,E=e,h=E.d,m=E.constructor,v=m.precision;if(E.s<1)throw Error(u+(E.s?"NaN":"-Infinity"));if(E.eq(o))return new m(0);if(null==t?(s=!1,f=v):f=t,E.eq(10))return null==t&&(s=!0),y(m,f);if(f+=10,m.precision=f,r=(n=T(h)).charAt(0),a=S(E),!(Math.abs(a)<15e14))return d=y(m,f+2,v).times(a+""),E=O(new m(r+"."+n.slice(1)),f-10).plus(d),m.precision=v,null==t?(s=!0,R(E,v)):E;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=T((E=E.times(e)).d)).charAt(0),p++;for(a=S(E),r>1?(E=new m("0."+n),a++):E=new m(r+"."+n.slice(1)),c=l=E=g(E.minus(o),E.plus(o),f),_=R(E.times(E),f),i=3;;){if(l=R(l.times(_),f),T((d=c.plus(g(l,new m(i),f))).d).slice(0,f)===T(c.d).slice(0,f))return c=c.times(2),0!==a&&(c=c.plus(y(m,f+2,v).times(a+""))),c=g(c,new m(p),f),m.precision=v,null==t?(s=!0,R(c,v)):c;c=d,i+=2}}function N(e,t){var n,r,i;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(i=t.length;48===t.charCodeAt(i-1);)--i;if(t=t.slice(r,i)){if(i-=r,n=n-r-1,e.e=d(n/7),e.d=[],r=(n+1)%7,n<0&&(r+=7),r<i){for(r&&e.d.push(+t.slice(0,r)),i-=7;r<i;)e.d.push(+t.slice(r,r+=7));r=7-(t=t.slice(r)).length}else r-=i;for(;r--;)t+="0";if(e.d.push(+t),s&&(e.e>E||e.e<-E))throw Error(c+n)}else e.s=0,e.e=0,e.d=[0];return e}function R(e,t,n){var r,i,o,a,u,l,_,h,m=e.d;for(a=1,o=m[0];o>=10;o/=10)a++;if((r=t-a)<0)r+=7,i=t,_=m[h=0];else{if((h=Math.ceil((r+1)/7))>=(o=m.length))return e;for(_=o=m[h],a=1;o>=10;o/=10)a++;i=(r%=7)-7+a}if(void 0!==n&&(u=_/(o=f(10,a-i-1))%10|0,l=t<0||void 0!==m[h+1]||_%o,l=n<4?(u||l)&&(0==n||n==(e.s<0?3:2)):u>5||5==u&&(4==n||l||6==n&&(r>0?i>0?_/f(10,a-i):0:m[h-1])%10&1||n==(e.s<0?8:7))),t<1||!m[0])return l?(o=S(e),m.length=1,t=t-o-1,m[0]=f(10,(7-t%7)%7),e.e=d(-t/7)||0):(m.length=1,m[0]=e.e=e.s=0),e;if(0==r?(m.length=h,o=1,h--):(m.length=h+1,o=f(10,7-r),m[h]=i>0?(_/f(10,a-i)%f(10,i)|0)*o:0),l)for(;;){if(0==h){(m[0]+=o)==p&&(m[0]=1,++e.e);break}if(m[h]+=o,m[h]!=p)break;m[h--]=0,o=1}for(r=m.length;0===m[--r];)m.pop();if(s&&(e.e>E||e.e<-E))throw Error(c+S(e));return e}function b(e,t){var n,r,i,o,a,u,l,c,d,f,_=e.constructor,E=_.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new _(e),s?R(t,E):t;if(l=e.d,f=t.d,r=t.e,c=e.e,l=l.slice(),a=c-r){for((d=a<0)?(n=l,a=-a,u=f.length):(n=f,r=c,u=l.length),a>(i=Math.max(Math.ceil(E/7),u)+2)&&(a=i,n.length=1),n.reverse(),i=a;i--;)n.push(0);n.reverse()}else{for((d=(i=l.length)<(u=f.length))&&(u=i),i=0;i<u;i++)if(l[i]!=f[i]){d=l[i]<f[i];break}a=0}for(d&&(n=l,l=f,f=n,t.s=-t.s),u=l.length,i=f.length-u;i>0;--i)l[u++]=0;for(i=f.length;i>a;){if(l[--i]<f[i]){for(o=i;o&&0===l[--o];)l[o]=p-1;--l[o],l[i]+=p}l[i]-=f[i]}for(;0===l[--u];)l.pop();for(;0===l[0];l.shift())--r;return l[0]?(t.d=l,t.e=r,s?R(t,E):t):new _(0)}function L(e,t,n){var r,i=S(e),o=T(e.d),a=o.length;return t?(n&&(r=n-a)>0?o=o.charAt(0)+"."+o.slice(1)+A(r):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+A(-i-1)+o,n&&(r=n-a)>0&&(o+=A(r))):i>=a?(o+=A(i+1-a),n&&(r=n-i-1)>0&&(o=o+"."+A(r))):((r=i+1)<a&&(o=o.slice(0,r)+"."+o.slice(r)),n&&(r=n-a)>0&&(i+1===a&&(o+="."),o+=A(r))),e.s<0?"-"+o:o}function D(e,t){if(e.length>t)return e.length=t,!0}function C(e){if(!e||"object"!=typeof e)throw Error(u+"Object expected");var t,n,r,i=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if(void 0!==(r=e[n=i[t]])){if(!(d(r)===r&&r>=i[t+1]&&r<=i[t+2]))throw Error(l+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(l+n+": "+r);this[n]=new this(r)}return this}(a=function e(t){var n,r,i;function o(e){var t=this;if(!(t instanceof o))return new o(e);if(t.constructor=o,e instanceof o)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"==typeof e){if(0*e!=0)throw Error(l+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):N(t,e.toString())}if("string"!=typeof e)throw Error(l+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!_.test(e))throw Error(l+e);N(t,e)}if(o.prototype=h,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=e,o.config=o.set=C,void 0===t&&(t={}),t)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n<i.length;)t.hasOwnProperty(r=i[n++])||(t[r]=this[r]);return o.config(t),o}(a)).default=a.Decimal=a,o=new a(1),void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()},function(e,t,n){"use strict";function r(e){var t="function"==typeof Map?new Map:void 0;return(r=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return i(e,arguments,s(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),a(r,e)})(e)}function i(e,t,n){return(i=o()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&a(i,n.prototype),i}).apply(null,arguments)}function o(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=function(e){var t,n;function r(t,n){var r;return(r=e.call(this,n)||this).code=t,r.message=n,r.name="RPCError",r}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n),r}(r(Error));t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(3)),i=a(n(2)),o=n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=0;var l=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n),r.prototype.getId=function(){return u},r}(r.default.Store))(i.default,{RPC_SERVER_READY:function(e){var t=e.port;u=o.RPC_STARTING_PORT-t}});t.default=l},function(e,t,n){"use strict";var r=function(e){return e&&e.includeBoundaries?"(?:(?<=\\s|^)(?=[a-fA-F\\d:])|(?<=[a-fA-F\\d:])(?=\\s|$))":""},i="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",o="[a-fA-F\\d]{1,4}",a=("\n(\n(?:"+o+":){7}(?:"+o+"|:)|                                // 1:2:3:4:5:6:7::  1:2:3:4:5:6:7:8\n(?:"+o+":){6}(?:"+i+"|:"+o+"|:)|                         // 1:2:3:4:5:6::    1:2:3:4:5:6::8   1:2:3:4:5:6::8  1:2:3:4:5:6::1.2.3.4\n(?:"+o+":){5}(?::"+i+"|(:"+o+"){1,2}|:)|                 // 1:2:3:4:5::      1:2:3:4:5::7:8   1:2:3:4:5::8    1:2:3:4:5::7:1.2.3.4\n(?:"+o+":){4}(?:(:"+o+"){0,1}:"+i+"|(:"+o+"){1,3}|:)| // 1:2:3:4::        1:2:3:4::6:7:8   1:2:3:4::8      1:2:3:4::6:7:1.2.3.4\n(?:"+o+":){3}(?:(:"+o+"){0,2}:"+i+"|(:"+o+"){1,4}|:)| // 1:2:3::          1:2:3::5:6:7:8   1:2:3::8        1:2:3::5:6:7:1.2.3.4\n(?:"+o+":){2}(?:(:"+o+"){0,3}:"+i+"|(:"+o+"){1,5}|:)| // 1:2::            1:2::4:5:6:7:8   1:2::8          1:2::4:5:6:7:1.2.3.4\n(?:"+o+":){1}(?:(:"+o+"){0,4}:"+i+"|(:"+o+"){1,6}|:)| // 1::              1::3:4:5:6:7:8   1::8            1::3:4:5:6:7:1.2.3.4\n(?::((?::"+o+"){0,5}:"+i+"|(?::"+o+"){1,7}|:))           // ::2:3:4:5:6:7:8  ::2:3:4:5:6:7:8  ::8             ::1.2.3.4\n)(%[0-9a-zA-Z]{1,})?                                           // %eth0            %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),s=function(e){return e&&e.exact?new RegExp("(?:^"+i+"$)|(?:^"+a+"$)"):new RegExp("(?:"+r(e)+i+r(e)+")|(?:"+r(e)+a+r(e)+")","g")};s.v4=function(e){return e&&e.exact?new RegExp("^"+i+"$"):new RegExp(""+r(e)+i+r(e),"g")},s.v6=function(e){return e&&e.exact?new RegExp("^"+a+"$"):new RegExp(""+r(e)+a+r(e),"g")},e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ProgressBarManager=void 0;var r=a(n(26)),i=a(n(16)),o=a(n(118));function a(e){return e&&e.__esModule?e:{default:e}}var s=new r.default("ProgressBarManager"),u=function(){function e(){}var t=e.prototype;return t.setProgress=function(e,t){if(!i.default.isDesktop())throw new Error("cannot set progress from non-native");null==this.taskID||this.taskID===e?(this.taskID=e,o.default.window.setProgressBar(t)):s.warn(this.taskID+" is already running. cannot set "+e)},t.clearProgress=function(e){if(!i.default.isDesktop())throw new Error("cannot clear progress from non-native");null!=this.taskID?this.taskID===e?(this.taskID=null,o.default.window.setProgressBar(-1)):s.warn("cannot clear progress of "+e+" when "+this.taskID+" is running"):s.warn("cannot clear progress. No current progress running.")},e}();t.ProgressBarManager=u;var l=new u;t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(2)),i=l(n(216)),o=l(n(16)),a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(773)),s=n(1);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var u=i.prototype;return u.isEnabled=function(){return o.default.isDesktop()&&o.default.isOSX()},u._initialize=function(){this.isEnabled()&&r.default.subscribe(s.ActionTypes.AUDIO_SET_MODE,this.handleAudioSetMode)},u._terminate=function(){this.isEnabled()&&r.default.unsubscribe(s.ActionTypes.AUDIO_SET_MODE,this.handleAudioSetMode)},u.handleAudioSetMode=function(e){e.mode===s.InputModes.PUSH_TO_TALK&&a.default.requestPermission(a.NativePermissionTypes.INPUT_MONITORING)},i}(i.default));t.default=d},function(e,t,n){"use strict";var r=n(1698);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,_=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,E=r?Symbol.for("react.suspense_list"):60120,h=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,T=r?Symbol.for("react.fundamental"):60117,g=r?Symbol.for("react.responder"):60118,I=r?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case f:case a:case u:case s:case p:return e;default:switch(e=e&&e.$$typeof){case c:case _:case m:case h:case l:return e;default:return t}}case o:return t}}}function y(e){return S(e)===f}t.AsyncMode=d,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=l,t.Element=i,t.ForwardRef=_,t.Fragment=a,t.Lazy=m,t.Memo=h,t.Portal=o,t.Profiler=u,t.StrictMode=s,t.Suspense=p,t.isAsyncMode=function(e){return y(e)||S(e)===d},t.isConcurrentMode=y,t.isContextConsumer=function(e){return S(e)===c},t.isContextProvider=function(e){return S(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return S(e)===_},t.isFragment=function(e){return S(e)===a},t.isLazy=function(e){return S(e)===m},t.isMemo=function(e){return S(e)===h},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===u},t.isStrictMode=function(e){return S(e)===s},t.isSuspense=function(e){return S(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===u||e===s||e===p||e===E||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===_||e.$$typeof===T||e.$$typeof===g||e.$$typeof===I||e.$$typeof===v)},t.typeOf=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBestFocusColor=function(e){if(null==e)return i.PRIMARY;var t=e.toHSL().saturation,n=e.getRelativeLuminance();if(t<=.4)return i.PRIMARY;return n<200?i.WHITE:i.BLACK},t.getBackgroundColorFromAncestry=function(e){for(var t,n=[],r=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(e.styles.slice(1));!(t=r()).done;){var i=t.value,u=o.default.parseString(i.backgroundColor);if(null!=u){if(u.alpha>.95)return u;n.push(u)}}return n.push(new o.default(255,255,255,1)),n.reduce(a.mixColors)};var r,i,o=(r=n(969))&&r.__esModule?r:{default:r},a=n(483);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}!function(e){e.PRIMARY="var(--focus-primary)",e.WHITE="rgba(255,255,255,0.7)",e.BLACK="rgba(0, 0, 0, 0.85)"}(i||(i={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FOCUS_RING_RADIUS_CSS_PROPERTY=t.FOCUS_RING_COLOR_CSS_PROPERTY=void 0;t.FOCUS_RING_COLOR_CSS_PROPERTY="--__adaptive-focus-color";t.FOCUS_RING_RADIUS_CSS_PROPERTY="--__adaptive-radius"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,r.useState)({})[1];return(0,r.useCallback)((function(){return e({})}),[])};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,i.useRef)(),r=(0,i.useRef)(a);r.current===a?(n.current=e(),r.current=t):(0,o.default)(t,r.current)||(n.current=e(),r.current=t);return n.current};var r,i=n(0),o=(r=n(970))&&r.__esModule?r:{default:r};var a=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.useRef)(i);t.current===i&&(t.current=e());return t.current};var r=n(0),i={}},function(e,t,n){"use strict";function r(){return(r=Object.assign||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}).apply(this,arguments)}var i=n(23),o=n(102),a=n(191),s=n(1709),u=n(1710),l=n(1711),c=n(1712),d=n(1713),f=n(1714),_=n(1715),p=(n(270),n(1716)),E=n(1718),h=n(1719),m=function(e,t,n){if(e instanceof s){var i=r({},t),o=r({},t);for(var a in t){var u=t[a],l=u.x,c=u.y;void 0!==l&&void 0!==c&&(i[a]=l,o[a]=c)}var d=n(e.x,i),f=n(e.y,o);return g([d,f],{stopTogether:!1})}return null},v=function e(t,n){return m(t,n,e)||{start:function(e){var r=t,i=n;r.stopTracking(),n.toValue instanceof o?r.track(new f(r,n.toValue,p,i,e)):r.animate(new p(i),e)},stop:function(){t.stopAnimation()}}},T=function(e){var t=0;return{start:function(n){0===e.length?n&&n({finished:!0}):e[t].start((function r(i){i.finished&&++t!==e.length?e[t].start(r):n&&n(i)}))},stop:function(){t<e.length&&e[t].stop()}}},g=function(e,t){var n=0,r={},i=!(t&&!1===t.stopTogether),o={start:function(t){n!==e.length?e.forEach((function(a,s){var u=function(a){if(r[s]=!0,++n===e.length)return n=0,void(t&&t(a));!a.finished&&i&&o.stop()};a?a.start(u):u({finished:!0})})):t&&t({finished:!0})},stop:function(){e.forEach((function(e,t){!r[t]&&e.stop(),r[t]=!0}))}};return o},I=function(e){return v(new a(0),{toValue:0,delay:e,duration:0})};e.exports={Value:a,ValueXY:s,decay:function e(t,n){return m(t,n,e)||{start:function(e){var r=t,i=n;r.stopTracking(),r.animate(new E(i),e)},stop:function(){t.stopAnimation()}}},timing:v,spring:function e(t,n){return m(t,n,e)||{start:function(e){var r=t,i=n;r.stopTracking(),n.toValue instanceof o?r.track(new f(r,n.toValue,h,i,e)):r.animate(new h(i),e)},stop:function(){t.stopAnimation()}}},add:function(e,t){return new u(e,t)},multiply:function(e,t){return new l(e,t)},modulo:function(e,t){return new c(e,t)},template:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new d(e,n)},delay:I,sequence:T,parallel:g,stagger:function(e,t){return g(t.map((function(t,n){return T([I(e*n),t])})))},event:function(e,t){return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var s=function e(t,n,r){if("number"==typeof n)return i(t instanceof a,"Bad mapping of type "+typeof t+" for key "+r+", event value must map to AnimatedValue"),void t.setValue(n);for(var r in i("object"==typeof t,"Bad mapping of type "+typeof t+" for key "+r),i("object"==typeof n,"Bad event of type "+typeof n+" for key "+r),t)e(t[r],n[r],r)};e.forEach((function(e,t){s(e,r[t],"arg"+t)})),t&&t.listener&&t.listener.apply(null,r)}},isAnimated:_,createAnimatedComponent:n(1721),inject:{ApplyAnimatedValues:n(975).inject,InteractionManager:n(971).inject,FlattenStyle:n(974).inject,RequestAnimationFrame:n(353).inject,CancelAnimationFrame:n(354).inject},__PropsOnlyForTests:n(973)}},function(e,t){function n(e){var t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=u.hex6.exec(e))?parseInt(t[1]+"ff",16)>>>0:_.hasOwnProperty(e)?_[e]:(t=u.rgb.exec(e))?(l(t[1])<<24|l(t[2])<<16|l(t[3])<<8|255)>>>0:(t=u.rgba.exec(e))?(l(t[1])<<24|l(t[2])<<16|l(t[3])<<8|d(t[4]))>>>0:(t=u.hex3.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=u.hex8.exec(e))?parseInt(t[1],16)>>>0:(t=u.hex4.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=u.hsl.exec(e))?(255|i(c(t[1]),f(t[2]),f(t[3])))>>>0:(t=u.hsla.exec(e))?(i(c(t[1]),f(t[2]),f(t[3]))|d(t[4]))>>>0:null}function r(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function i(e,t,n){var i=n<.5?n*(1+t):n+t-n*t,o=2*n-i,a=r(o,i,e+1/3),s=r(o,i,e),u=r(o,i,e-1/3);return Math.round(255*a)<<24|Math.round(255*s)<<16|Math.round(255*u)<<8}var o="[-+]?\\d*\\.?\\d+";function a(e){return Array.prototype.slice.call(e,0)}function s(){return"\\(\\s*("+a(arguments).join(")\\s*,\\s*(")+")\\s*\\)"}var u={rgb:new RegExp("rgb"+s(o,o,o)),rgba:new RegExp("rgba"+s(o,o,o,o)),hsl:new RegExp("hsl"+s(o,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),hsla:new RegExp("hsla"+s(o,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",o)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/};function l(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function c(e){return(parseFloat(e)%360+360)%360/360}function d(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function f(e){var t=parseFloat(e,10);return t<0?0:t>100?1:t/100}var _={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199};n.rgba=function(e){return{r:Math.round((4278190080&e)>>>24),g:Math.round((16711680&e)>>>16),b:Math.round((65280&e)>>>8),a:((255&e)>>>0)/255}},e.exports=n},function(e,t,n){"use strict";function r(){this._cache=[]}r.prototype.add=function(e){-1===this._cache.indexOf(e)&&this._cache.push(e)},r.prototype.forEach=function(e){this._cache.forEach(e)},e.exports=r},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n(102);var i=n(191),o=n(147),a=n(23),s=n(446),u=function(e){var t,n;function o(t){var n;n=e.call(this)||this;var r=t||{x:0,y:0};return"number"==typeof r.x&&"number"==typeof r.y?(n.x=new i(r.x),n.y=new i(r.y)):(a(r.x instanceof i&&r.y instanceof i,"AnimatedValueXY must be initalized with an object of numbers or AnimatedValues."),n.x=r.x,n.y=r.y),n._listeners={},n}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n);var u=o.prototype;return u.setValue=function(e){this.x.setValue(e.x),this.y.setValue(e.y)},u.setOffset=function(e){this.x.setOffset(e.x),this.y.setOffset(e.y)},u.flattenOffset=function(){this.x.flattenOffset(),this.y.flattenOffset()},u.__getValue=function(){return{x:this.x.__getValue(),y:this.y.__getValue()}},u.stopAnimation=function(e){this.x.stopAnimation(),this.y.stopAnimation(),e&&e(this.__getValue())},u.addListener=function(e){var t=this,n=s(),r=function(n){n.value;e(t.__getValue())};return this._listeners[n]={x:this.x.addListener(r),y:this.y.addListener(r)},n},u.removeListener=function(e){this.x.removeListener(this._listeners[e].x),this.y.removeListener(this._listeners[e].y),delete this._listeners[e]},u.getLayout=function(){return{left:this.x,top:this.y}},u.getTranslateTransform=function(){return[{translateX:this.x},{translateY:this.y}]},o}(o);e.exports=u},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var i=n(147),o=(n(102),n(191)),a=n(269),s=n(352),u=function(e){var t,n;function i(t,n){var r;return(r=e.call(this)||this)._a="number"==typeof t?new o(t):t,r._b="number"==typeof n?new o(n):n,r._listeners={},r}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n);var u=i.prototype;return u.__getValue=function(){return this._a.__getValue()+this._b.__getValue()},u.addListener=function(e){var t=this;!this._aListener&&this._a.addListener&&(this._aListener=this._a.addListener((function(){for(var e in t._listeners)t._listeners[e]({value:t.__getValue()})}))),!this._bListener&&this._b.addListener&&(this._bListener=this._b.addListener((function(){for(var e in t._listeners)t._listeners[e]({value:t.__getValue()})})));var n=guid();return this._listeners[n]=e,n},u.removeListener=function(e){delete this._listeners[e]},u.interpolate=function(e){return new s(this,a.create(e))},u.__attach=function(){this._a.__addChild(this),this._b.__addChild(this)},u.__detach=function(){this._a.__removeChild(this),this._b.__removeChild(this)},i}(i);e.exports=u},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var i=n(147),o=(n(102),n(191)),a=n(352),s=n(269),u=function(e){var t,n;function i(t,n){var r;return(r=e.call(this)||this)._a="number"==typeof t?new o(t):t,r._b="number"==typeof n?new o(n):n,r._listeners={},r}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n);var u=i.prototype;return u.__getValue=function(){return this._a.__getValue()*this._b.__getValue()},u.addListener=function(e){var t=this;!this._aListener&&this._a.addListener&&(this._aListener=this._a.addListener((function(){for(var e in t._listeners)t._listeners[e]({value:t.__getValue()})}))),!this._bListener&&this._b.addListener&&(this._bListener=this._b.addListener((function(){for(var e in t._listeners)t._listeners[e]({value:t.__getValue()})})));var n=guid();return this._listeners[n]=e,n},u.removeListener=function(e){delete this._listeners[e]},u.interpolate=function(e){return new a(this,s.create(e))},u.__attach=function(){this._a.__addChild(this),this._b.__addChild(this)},u.__detach=function(){this._a.__removeChild(this),this._b.__removeChild(this)},i}(i);e.exports=u},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n(102);var i=n(147),o=n(352),a=n(269),s=function(e){var t,n;function i(t,n){var r;return(r=e.call(this)||this)._a=t,r._modulus=n,r._listeners={},r}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n);var s=i.prototype;return s.__getValue=function(){return(this._a.__getValue()%this._modulus+this._modulus)%this._modulus},s.addListener=function(e){var t=this;this._aListener||(this._aListener=this._a.addListener((function(){for(var e in t._listeners)t._listeners[e]({value:t.__getValue()})})));var n=guid();return this._listeners[n]=e,n},s.removeListener=function(e){delete this._listeners[e]},s.interpolate=function(e){return new o(this,a.create(e))},s.__attach=function(){this._a.__addChild(this)},s.__detach=function(){this._a.__removeChild(this)},i}(i);e.exports=s},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var i=n(102),o=function(e){var t,n;function o(t,n){var r;return(r=e.call(this)||this)._strings=t,r._values=n,r}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n);var a=o.prototype;return a.__transformValue=function(e){return e instanceof i?e.__getValue():e},a.__getValue=function(){for(var e=this._strings[0],t=0;t<this._values.length;++t)e+=this.__transformValue(this._values[t])+this._strings[1+t];return e},a.__attach=function(){for(var e=0;e<this._values.length;++e)this._values[e]instanceof i&&this._values[e].__addChild(this)},a.__detach=function(){for(var e=0;e<this._values.length;++e)this._values[e]instanceof i&&this._values[e].__removeChild(this)},o}(n(147));e.exports=o},function(e,t,n){"use strict";function r(){return(r=Object.assign||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}).apply(this,arguments)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var o=n(102),a=(n(191),function(e){var t,n;function o(t,n,r,i,o){var a;return(a=e.call(this)||this)._value=t,a._parent=n,a._animationClass=r,a._animationConfig=i,a._callback=o,a.__attach(),a}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var a=o.prototype;return a.__getValue=function(){return this._parent.__getValue()},a.__attach=function(){this._parent.__addChild(this)},a.__detach=function(){this._parent.__removeChild(this)},a.update=function(){this._value.animate(new this._animationClass(r({},this._animationConfig,{toValue:this._animationConfig.toValue.__getValue()})),this._callback)},o}(o));e.exports=a},function(e,t,n){"use strict";var r=n(102);e.exports=function(e){return e instanceof r}},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var i=n(270),o=(n(191),n(972)),a=n(353),s=n(354),u=o.inOut(o.ease),l=function(e){var t,n;function i(t){var n;return(n=e.call(this)||this)._toValue=t.toValue,n._easing=void 0!==t.easing?t.easing:u,n._duration=void 0!==t.duration?t.duration:500,n._delay=void 0!==t.delay?t.delay:0,n.__isInteraction=void 0===t.isInteraction||t.isInteraction,n}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n);var o=i.prototype;return o.start=function(e,t,n){var r=this;this.__active=!0,this._fromValue=e,this._onUpdate=t,this.__onEnd=n;var i=function(){0===r._duration?(r._onUpdate(r._toValue),r.__debouncedOnEnd({finished:!0})):(r._startTime=Date.now(),r._animationFrame=a.current(r.onUpdate.bind(r)))};this._delay?this._timeout=setTimeout(i,this._delay):i()},o.onUpdate=function(){var e=Date.now();if(e>=this._startTime+this._duration)return 0===this._duration?this._onUpdate(this._toValue):this._onUpdate(this._fromValue+this._easing(1)*(this._toValue-this._fromValue)),void this.__debouncedOnEnd({finished:!0});this._onUpdate(this._fromValue+this._easing((e-this._startTime)/this._duration)*(this._toValue-this._fromValue)),this.__active&&(this._animationFrame=a.current(this.onUpdate.bind(this)))},o.stop=function(){this.__active=!1,clearTimeout(this._timeout),s.current(this._animationFrame),this.__debouncedOnEnd({finished:!1})},i}(i);e.exports=l},function(e,t,n){"use strict";var r="function"==typeof Float32Array;function i(e,t){return 1-3*t+3*e}function o(e,t){return 3*t-6*e}function a(e){return 3*e}function s(e,t,n){return((i(t,n)*e+o(t,n))*e+a(t))*e}function u(e,t,n){return 3*i(t,n)*e*e+2*o(t,n)*e+a(t)}e.exports=function(e,t,n,i){if(!(0<=e&&e<=1&&0<=n&&n<=1))throw new Error("bezier x values must be in [0, 1] range");var o=r?new Float32Array(11):new Array(11);if(e!==t||n!==i)for(var a=0;a<11;++a)o[a]=s(.1*a,e,n);function l(t){for(var r=0,i=1;10!==i&&o[i]<=t;++i)r+=.1;--i;var a=r+.1*((t-o[i])/(o[i+1]-o[i])),l=u(a,e,n);return l>=.001?function(e,t,n,r){for(var i=0;i<4;++i){var o=u(t,n,r);if(0===o)return t;t-=(s(t,n,r)-e)/o}return t}(t,a,e,n):0===l?a:function(e,t,n,r,i){var o,a,u=0;do{(o=s(a=t+(n-t)/2,r,i)-e)>0?n=a:t=a}while(Math.abs(o)>1e-7&&++u<10);return a}(t,r,r+.1,e,n)}return function(r){return e===t&&n===i?r:0===r?0:1===r?1:s(l(r),t,i)}}},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var i=n(270),o=n(353),a=n(354),s=function(e){var t,n;function i(t){var n;return(n=e.call(this)||this)._deceleration=void 0!==t.deceleration?t.deceleration:.998,n._velocity=t.velocity,n.__isInteraction=void 0===t.isInteraction||t.isInteraction,n}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n);var s=i.prototype;return s.start=function(e,t,n){this.__active=!0,this._lastValue=e,this._fromValue=e,this._onUpdate=t,this.__onEnd=n,this._startTime=Date.now(),this._animationFrame=o.current(this.onUpdate.bind(this))},s.onUpdate=function(){var e=Date.now(),t=this._fromValue+this._velocity/(1-this._deceleration)*(1-Math.exp(-(1-this._deceleration)*(e-this._startTime)));this._onUpdate(t),Math.abs(this._lastValue-t)<.1?this.__debouncedOnEnd({finished:!0}):(this._lastValue=t,this.__active&&(this._animationFrame=o.current(this.onUpdate.bind(this))))},s.stop=function(){this.__active=!1,a.current(this._animationFrame),this.__debouncedOnEnd({finished:!1})},i}(i);e.exports=s},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var i=n(270),o=(n(191),n(353)),a=n(354),s=n(23),u=n(1720);function l(e,t){return null==e?t:e}var c=function(e){var t,n;function i(t){var n,r;return(n=e.call(this)||this)._overshootClamping=l(t.overshootClamping,!1),n._restDisplacementThreshold=l(t.restDisplacementThreshold,.001),n._restSpeedThreshold=l(t.restSpeedThreshold,.001),n._initialVelocity=t.velocity,n._lastVelocity=l(t.velocity,0),n._toValue=t.toValue,n.__isInteraction=void 0===t.isInteraction||t.isInteraction,void 0!==t.bounciness||void 0!==t.speed?(s(void 0===t.tension&&void 0===t.friction,"You can only define bounciness/speed or tension/friction but not both"),r=u.fromBouncinessAndSpeed(l(t.bounciness,8),l(t.speed,12))):r=u.fromOrigamiTensionAndFriction(l(t.tension,40),l(t.friction,7)),n._tension=r.tension,n._friction=r.friction,n}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n);var c=i.prototype;return c.start=function(e,t,n,r){if(this.__active=!0,this._startPosition=e,this._lastPosition=this._startPosition,this._onUpdate=t,this.__onEnd=n,this._lastTime=Date.now(),r instanceof i){var o=r.getInternalState();this._lastPosition=o.lastPosition,this._lastVelocity=o.lastVelocity,this._lastTime=o.lastTime}void 0!==this._initialVelocity&&null!==this._initialVelocity&&(this._lastVelocity=this._initialVelocity),this.onUpdate()},c.getInternalState=function(){return{lastPosition:this._lastPosition,lastVelocity:this._lastVelocity,lastTime:this._lastTime}},c.onUpdate=function(){var e=this._lastPosition,t=this._lastVelocity,n=this._lastPosition,r=this._lastVelocity,i=Date.now();i>this._lastTime+64&&(i=this._lastTime+64);for(var a=Math.floor((i-this._lastTime)/1),s=0;s<a;++s){var u=t,l=this._tension*(this._toValue-n)-this._friction*r,c=(n=e+.001*u/2,r=t+.001*l/2),d=this._tension*(this._toValue-n)-this._friction*r;n=e+.001*c/2;var f=r=t+.001*d/2,_=this._tension*(this._toValue-n)-this._friction*r;n=e+.001*f/2;var p=r=t+.001*_/2,E=this._tension*(this._toValue-n)-this._friction*r;n=e+.001*f/2,r=t+.001*_/2,e+=.001*((u+2*(c+f)+p)/6),t+=.001*((l+2*(d+_)+E)/6)}if(this._lastTime=i,this._lastPosition=e,this._lastVelocity=t,this._onUpdate(e),this.__active){var h=!1;this._overshootClamping&&0!==this._tension&&(h=this._startPosition<this._toValue?e>this._toValue:e<this._toValue);var m=Math.abs(t)<=this._restSpeedThreshold,v=!0;if(0!==this._tension&&(v=Math.abs(this._toValue-e)<=this._restDisplacementThreshold),h||m&&v)return 0!==this._tension&&this._onUpdate(this._toValue),void this.__debouncedOnEnd({finished:!0});this._animationFrame=o.current(this.onUpdate.bind(this))}},c.stop=function(){this.__active=!1,a.current(this._animationFrame),this.__debouncedOnEnd({finished:!1})},i}(i);e.exports=c},function(e,t,n){"use strict";function r(e){return 3.62*(e-30)+194}function i(e){return 3*(e-8)+25}e.exports={fromOrigamiTensionAndFriction:function(e,t){return{tension:r(e),friction:i(t)}},fromBouncinessAndSpeed:function(e,t){function n(e,t,n){return(e-t)/(n-t)}function o(e,t,n){return t+e*(n-t)}var a=n(e/1.7,0,20);a=o(a,0,.8);var s,u,l,c,d=o(n(t/1.7,0,20),.5,200),f=(s=a,u=(l=d)<=18?(c=l,7e-4*Math.pow(c,3)-.031*Math.pow(c,2)+.64*c+1.28):l>18&&l<=44?function(e){return 44e-6*Math.pow(e,3)-.006*Math.pow(e,2)+.36*e+2}(l):function(e){return 45e-8*Math.pow(e,3)-332e-6*Math.pow(e,2)+.1078*e+5.84}(l),function(e,t,n){return e*n+(1-e)*t}(2*s-s*s,u,.01));return{tension:r(d),friction:i(f)}}}},function(e,t,n){"use strict";function r(){return(r=Object.assign||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}).apply(this,arguments)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var o=n(0),a=n(973),s=n(975);e.exports=function(e){var t=function(t){var n,u;function l(){return t.apply(this,arguments)||this}u=t,(n=l).prototype=Object.create(u.prototype),n.prototype.constructor=n,i(n,u);var c=l.prototype;return c.componentWillUnmount=function(){this._propsAnimated&&this._propsAnimated.__detach()},c.setNativeProps=function(e){!1===s.current(this.refs.node,e,this)&&this.forceUpdate()},c.componentWillMount=function(){this.attachProps(this.props)},c.attachProps=function(e){var t=this,n=this._propsAnimated;this._propsAnimated=new a(e,(function(){!1===s.current(t.refs.node,t._propsAnimated.__getAnimatedValue(),t)&&t.forceUpdate()})),n&&n.__detach()},c.componentWillReceiveProps=function(e){this.attachProps(e)},c.render=function(){var t=this._propsAnimated.__getValue(),n=t.style,i=function(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}(t,["style"]);return o.createElement(e,r({},i,{style:s.transformStyles(n),ref:"node"}))},l}(o.Component);return t.displayName="AnimatedComponent",t}},function(e,t,n){"use strict";function r(){return(r=Object.assign||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}).apply(this,arguments)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var o=n(102),a=n(147),s=n(1723),u=n(974),l=function(e){var t,n;function a(t){var n;return n=e.call(this)||this,!(t=u.current(t)||{}).transform||t.transform instanceof o||(t=r({},t,{transform:new s(t.transform)})),n._style=t,n}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var l=a.prototype;return l.__getValue=function(){var e={};for(var t in this._style){var n=this._style[t];e[t]=n instanceof o?n.__getValue():n}return e},l.__getAnimatedValue=function(){var e={};for(var t in this._style){var n=this._style[t];n instanceof o&&(e[t]=n.__getAnimatedValue())}return e},l.__attach=function(){for(var e in this._style){var t=this._style[e];t instanceof o&&t.__addChild(this)}},l.__detach=function(){for(var e in this._style){var t=this._style[e];t instanceof o&&t.__removeChild(this)}},a}(a);e.exports=l},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var i=n(102),o=function(e){var t,n;function o(t){var n;return(n=e.call(this)||this)._transforms=t,n}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n);var a=o.prototype;return a.__getValue=function(){return this._transforms.map((function(e){var t={};for(var n in e){var r=e[n];t[n]=r instanceof i?r.__getValue():r}return t}))},a.__getAnimatedValue=function(){return this._transforms.map((function(e){var t={};for(var n in e){var r=e[n];t[n]=r instanceof i?r.__getAnimatedValue():r}return t}))},a.__attach=function(){var e=this;this._transforms.forEach((function(t){for(var n in t){var r=t[n];r instanceof i&&r.__addChild(e)}}))},a.__detach=function(){var e=this;this._transforms.forEach((function(t){for(var n in t){var r=t[n];r instanceof i&&r.__removeChild(e)}}))},o}(n(147));e.exports=o},function(e,t,n){"use strict";var r={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};var i=["Webkit","ms","Moz","O"];Object.keys(r).forEach((function(e){i.forEach((function(t){r[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=r[e]}))}));var o={isUnitlessNumber:r,shorthandPropertyExpansions:{background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}}},a=!("undefined"==typeof window||!window.document||!window.document.createElement),s=a,u=(a&&(!window.addEventListener&&window.attachEvent),a&&window.screen,o.isUnitlessNumber);function l(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||u.hasOwnProperty(e)&&u[e]?(""+t).trim():t+"px"}function c(e){return function(){return e}}var d=function(){};d.thatReturns=c,d.thatReturnsFalse=c(!1),d.thatReturnsTrue=c(!0),d.thatReturnsNull=c(null),d.thatReturnsThis=function(){return this},d.thatReturnsArgument=function(e){return e};var f=!1;if(s){var _=document.createElement("div").style;try{_.font=""}catch(e){f=!0}}var p={createDangerousStringForStyles:function(e){},setValueForStyles:function(e,t,n){var r=e.style;for(var i in t)if(t.hasOwnProperty(i)){var a=0===i.indexOf("--"),s=l(i,t[i],a);if("float"===i&&(i="cssFloat"),a)r.setProperty(i,s);else if(s)r[i]=s;else{var u=f&&o.shorthandPropertyExpansions[i];if(u)for(var c in u)r[c]="";else r[i]=""}}}};e.exports=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,u.getScrollbarSpecs)(e);return o.forwardRef((function(r,i){var l,f=r.children,_=r.className,p=r.dir,E=void 0===p?"ltr":p,h=r.orientation,m=void 0===h?"vertical":h,v=r.fade,T=void 0!==v&&v,g=r.paddingFix,I=void 0===g||g,S=r.style,y=function(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}(r,["children","className","dir","orientation","fade","paddingFix","style"]),A=(0,u.useUncachedScrollerState)(),O=A.scrollerRef,N=A.getScrollerState,R=(0,u.useScrollSpring)(O,m);o.useImperativeHandle(i,(function(){return d({getScrollerNode:function(){return O.current},getScrollerState:N},(0,u.getAnimatedScrollHelpers)(O,N,R,m))}),[O,N,m,R]);var b=(0,u.usePaddingFixes)({paddingFix:I,orientation:m,dir:E,className:_,scrollerRef:O,specs:n});return o.createElement("div",d({ref:O,className:(0,a.default)(_,(l={},l[e]=!0,l[t]=T,l)),style:(0,u.getMergedOrientationStyles)(S,m),dir:E},y),c(s.FocusRingScope,{containerRef:O},void 0,f,b))}))};var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(9))&&r.__esModule?r:{default:r},s=n(88),u=n(414);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(){return(d=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){var a=(0,i.default)(e,t,r),s=function(e,t){return n.computeScrollPosition(e,t)};return o({},a,{getScrollPosition:s,isItemVisible:function(e,n,r){void 0===r&&(r=!1);var i=s(e,n),o=i[0],a=i[1],u=t();return r?o>=u.scrollTop&&o+a<=u.scrollTop+u.offsetHeight:o+a>=u.scrollTop&&o<=u.scrollTop+u.offsetHeight},scrollToIndex:function(e){var t=e.section,n=e.row,r=e.animate,i=e.callback,o=e.padding,u=void 0===o?0:o,l=s(t,n),c=l[0],d=l[1];a.scrollIntoViewRect({start:c,end:c+d,padding:u,animate:r,callback:i})}})};var r,i=(r=n(976))&&r.__esModule?r:{default:r};function o(){return(o=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,r.useRef)(null),t=(0,r.useRef)(o),n=(0,r.useCallback)((function(){var n=e.current,r=t.current.dirty;if(null==n||0===r)return t.current;if(1===r){var o=n.scrollTop,a=n.scrollLeft;t.current=i({},t.current,{scrollTop:o,scrollLeft:a,dirty:0})}else{var s=n.scrollTop,u=n.scrollLeft,l=n.scrollHeight,c=n.scrollWidth,d=n.offsetHeight,f=n.offsetWidth;t.current={scrollTop:s,scrollLeft:u,scrollHeight:l,scrollWidth:c,offsetHeight:d,offsetWidth:f,dirty:0}}return t.current}),[]);return{scrollerRef:e,scrollerState:t,getScrollerState:n}};var r=n(0);function i(){return(i=Object.assign||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}).apply(this,arguments)}var o=Object.freeze({scrollTop:0,scrollLeft:0,scrollHeight:0,scrollWidth:0,offsetHeight:0,offsetWidth:0,dirty:2})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.paddingFix,n=void 0===t||t,i=e.orientation,a=void 0===i?"vertical":i,s=e.dir,u=e.className,l=e.scrollerRef,c=e.specs,d=(0,r.useRef)(null);return(0,r.useLayoutEffect)((function(){var e,t=l.current;if(null!=t&&"auto"!==a&&n){var r=null===(e=t.ownerDocument)||void 0===e?void 0:e.defaultView;if(null!=r){t.style.paddingTop="",t.style.paddingBottom="",t.style.paddingLeft="",t.style.paddingRight="";var i=r.getComputedStyle(t);if("vertical"===a){if("rtl"===s){var o=parseInt(i.getPropertyValue("padding-left"),10);t.style.paddingLeft=Math.max(0,o-c.width)+"px",t.style.paddingRight=""}else{var u=parseInt(i.getPropertyValue("padding-right"),10);t.style.paddingRight=Math.max(0,u-c.width)+"px",t.style.paddingLeft=""}var f=d.current;null!=f&&(f.style.height=i.getPropertyValue("padding-bottom"))}else{var _=parseInt(i.getPropertyValue("padding-bottom"),10);t.style.paddingBottom=Math.max(0,_-c.height)+"px";var p=d.current;null!=p&&(p.style.width=i.getPropertyValue("padding-left"))}}}}),[a,s,u,l,n,c]),(0,r.useMemo)((function(){return"auto"!==a?r.default.createElement("div",{"aria-hidden":!0,style:o(a),ref:d}):null}),[a])};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function o(e){return{position:"vertical"===e?"absolute":"relative",pointerEvents:"none",minHeight:"vertical"===e?0:1,minWidth:"horizontal"===e?0:1,flex:"0 0 auto"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.ref,n=e.onUpdate,o=e.resizeObserver,a=e.listenerMap,s=e.key;(0,r.useLayoutEffect)((function(){var e=t.current;return null!=e&&(a.set(e,(function(e){return n(e,s)})),o.observe(e,i)),function(){null!=e&&(o.unobserve(e),a.delete(e))}}),[n,o,t,a,s])};var r=n(0),i=Object.freeze({box:"border-box"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,r.useRef)(null),t=(0,r.useCallback)((function(){var t=e.current;return null!=t?{scrollTop:t.scrollTop,scrollLeft:t.scrollLeft,scrollHeight:t.scrollHeight,scrollWidth:t.scrollWidth,offsetHeight:t.offsetHeight,offsetWidth:t.offsetWidth,dirty:0}:i}),[]);return{scrollerRef:e,getScrollerState:t}};var r=n(0),i=Object.freeze({scrollTop:0,scrollLeft:0,scrollHeight:0,scrollWidth:0,offsetHeight:0,offsetWidth:0,dirty:0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.sections,n=e.columns,s=e.getItemKey,c=e.getItemHeight,d=e.getSectionHeight,f=e.chunkSize,_=void 0===f?250:f,p=e.getScrollerState,E=e.itemGutter,h=e.sectionGutter,m=e.padding,v=e.dir,T=(0,o.default)(),g=(0,r.useRef)(l),I=(0,r.useState)((function(){return new i.default}))[0],S=p().offsetWidth,y=(0,a.default)({chunkSize:_,getScrollerState:p,forceUpdate:T}),A=y.dirty,O=y.chunkStart,N=y.chunkEnd,R=y.forceUpdateOnChunkChange;return g.current=(0,r.useMemo)((function(){return A>0?g.current:(I.mergeProps({sections:t,columns:n,getItemKey:s,getItemHeight:c,getSectionHeight:d,bufferWidth:S,itemGutter:E,sectionGutter:h,padding:m,dir:v}),I.computeVisibleSections(Math.max(0,O*_),N*_),I.getState())}),[A,I,t,n,s,c,d,O,N,_,E,h,m,S,v]),u({},g.current,{masonryComputer:I,forceUpdateOnChunkChange:R,forceUpdate:T})};var r=n(0),i=s(n(977)),o=s(n(448)),a=s(n(449));function s(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||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}).apply(this,arguments)}var l=Object.freeze({coordsMap:{},visibleSections:{},totalHeight:0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.sections,n=e.sectionHeight,s=e.rowHeight,d=e.footerHeight,f=e.chunkSize,_=void 0===f?256:f,p=e.paddingTop,E=void 0===p?0:p,h=e.paddingBottom,m=void 0===h?0:h,v=e.getScrollerState,T=e.getAnchorId;0;for(var g,I=(0,o.default)(),S=(0,r.useRef)(c),y=(0,r.useState)((function(){return new i.default}))[0],A=(0,a.default)({chunkSize:_,getScrollerState:v,forceUpdate:I}),O=A.dirty,N=A.chunkStart,R=A.chunkEnd,b=A.forceUpdateOnChunkChange,L=S.current.items,D=null,C=v().scrollTop,M=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(L);!(g=M()).done;){var P=g.value;if(0===C)break;if("footer"!==P.type&&null!=P.anchorId){var w="row"===P.type?P.row:void 0;if(P.offsetTop>=C){D={id:P.anchorId,section:P.section,row:w,scrollOffset:P.offsetTop-C};break}}}var U=(0,r.useMemo)((function(){return O>0?S.current:(y.mergeProps({sectionHeight:n,rowHeight:s,footerHeight:d,paddingBottom:m,paddingTop:E,sections:t,getAnchorId:T}),y.compute(Math.max(0,N*_),R*_))}),[O,N,R,n,s,d,m,E,t,y,_,T]);return(0,r.useLayoutEffect)((function(){S.current=U})),u({},U,{listComputer:y,forceUpdateOnChunkChange:b,anchor:D})},t.useVirtualizedAnchor=function(e){var t=e.scrollerRef,n=e.anchor,i=e.getScrollerState,o=e.listComputer,a=e.getAnchorId,s=e.totalHeight;(0,r.useLayoutEffect)((function(){var e=t.current,r=i().scrollTop;if(null!=n&&null!=e&&null!=a&&0!==r)for(var s=function(t,i){var a=o.computeScrollPosition(t,i)[0]-n.scrollOffset;r!==a&&(e.scrollTop=a)},u=0;u<3;){var l=n.row;switch(u){case 1:l=null!=l?l-1:l;break;case 2:l=null!=l?l+1:l}if(a(n.section,n.row)===n.id){s(n.section,l);break}if(null==l)break;u++}}),[s])};var r=n(0),i=s(n(978)),o=s(n(448)),a=s(n(449));function s(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=Object.freeze({spacerTop:0,totalHeight:0,items:[]})},function(e,t,n){"use strict";function r(){return(r=Object.assign||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}).apply(this,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===t&&(t="vertical");var n="vertical"===t?i:"horizontal"===t?o:a;return null!=e?r({},n,{},e):n},t.STYLES_AUTO=t.STYLES_HORIZONTAL=t.STYLES_VERTICAL=void 0;var i=Object.freeze({overflowY:"scroll",overflowX:"hidden"});t.STYLES_VERTICAL=i;var o=Object.freeze({overflowX:"scroll",overflowY:"hidden"});t.STYLES_HORIZONTAL=o;var a=Object.freeze({overflow:"auto"});t.STYLES_AUTO=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===t&&(t="vertical");return(0,i.useState)((function(){return new o.default({tension:200,friction:35,mass:2,clamp:!0,callback:function(n,r){var i=e.current;if(null==i)return r();"horizontal"===t?i.scrollLeft=n:i.scrollTop=n},getNodeWindow:function(){var t,n;return(null===(t=e.current)||void 0===t||null===(n=t.ownerDocument)||void 0===n?void 0:n.defaultView)||null}})}))[0]};var r,i=n(0),o=(r=n(979))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";function r(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){void 0===e&&(e="");for(var t,n=document.createElement("div"),i=document.createElement("div"),s=r(o);!(t=s()).done;){var u=t.value,l=u[0],c=u[1];n.style[l]=c}for(var d,f=r(a);!(d=f()).done;){var _=d.value,p=_[0],E=_[1];i.style[p]=E}n.appendChild(i),document.body.appendChild(n),n.className=e;var h={width:n.offsetWidth-n.clientWidth,height:n.offsetHeight-n.clientHeight};return document.body.removeChild(n),h};var o=[["position","absolute"],["top","-100px"],["left","-100px"],["width","100px"],["height","100px"],["overflow","scroll"]],a=[["width","200px"],["height","200px"]]},function(e,t,n){var r=n(1355),i=n(1737);e.exports=function e(t,n,o,a,s){var u=-1,l=t.length;for(o||(o=i),s||(s=[]);++u<l;){var c=t[u];n>0&&o(c)?n>1?e(c,n-1,o,a,s):r(s,c):a||(s[s.length]=c)}return s}},function(e,t,n){var r=n(309),i=n(1356),o=n(711),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(a&&e&&e[a])}},function(e,t,n){var r=n(737),i=n(408);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getChildMapping=function(e){var t={};e&&r.Children.map(e,(function(e){return e})).forEach((function(e){null!=e.key&&(t[e.key]=e)}));return t},t.mergeChildMappings=function(e,t){void 0===e&&(e={});void 0===t&&(t={});function n(n){return t.hasOwnProperty(n)?t[n]:e[n]}var r,i={},o=[];for(var a in e)t.hasOwnProperty(a)?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var u in t){if(i.hasOwnProperty(u))for(r=0;r<i[u].length;r++){var l=i[u][r];s[i[u][r]]=n(l)}s[u]=n(u)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(1);var a=function(){function e(){}return e.setPermission=function(e,t){i.default.dirtyDispatch({type:o.ActionTypes.SET_NATIVE_PERMISSION,permissionType:e,state:t})},e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(3)),i=u(n(2)),o=u(n(13)),a=n(215),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=function(e){var t,n;function r(){var t;return(t=e.call(this,i.default,(function(e){switch(e.type){case s.ActionTypes.SET_NATIVE_PERMISSION:return t.handleSetNativePermission(e)}}))||this).settings={permissionStates:{}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var u=r.prototype;return u.initialize=function(e){this.settings=e||this.settings},u.getState=function(){return this.settings},u.hasPermission=function(e){var t=this.settings.permissionStates[e];return!!t&&t===a.NativePermissionStates.ACCEPTED},u.handleSetNativePermission=function(e){var t=e.state,n=e.permissionType,r=this.settings.permissionStates,i=r[n];r[n]=t,i!==t&&o.default.track(s.AnalyticEvents.PERMISSIONS_ACKED,{type:n,action:t,previous_action:i||a.NativePermissionStates.NONE})},r}(r.default.PersistedStore);c.persistKey="NativePermissionsStore";var d=c;t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(43)),o=n(444),a=n(215);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).nativeUtils=i.default.getDiscordUtils(),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var o=r.prototype;return o.requestPermissionCore=function(e,t){var n;return this.asyncify(null===(n=this.nativeUtils)||void 0===n?void 0:n.nativePermssionRequestAuthorization,e,t)},o.hasPermissionCore=function(e,t){var n;return this.asyncify(null===(n=this.nativeUtils)||void 0===n?void 0:n.nativePermssionHasAuthorization,e,t)},o.asyncify=function(e,t,n){var i=r.requestTypeLookup[t];if(void 0===i)return Promise.resolve(!0);return this.requestAuthorization(t,(function(){return e?new Promise((function(t,n){return e(t,i)})):Promise.resolve(a.NativePermissionStatus.AUTHORIZED)}),n)},o.openSettings=function(e){var t;if(null===(t=this.nativeUtils)||void 0===t?void 0:t.nativePermissionOpenSettings){var n=r.requestTypeLookup[e];void 0!==n&&this.nativeUtils.nativePermissionOpenSettings(n)}},o.didHavePermission=function(e){return this.storage.hasPermission(e)},r}(o.NativePermissionBaseUtils);l.requestTypeLookup=((r={})[a.NativePermissionTypes.CAMERA]=i.NativePermissionRequestType.Camera,r[a.NativePermissionTypes.AUDIO]=i.NativePermissionRequestType.Microphone,r[a.NativePermissionTypes.PHOTOS]=i.NativePermissionRequestType.Photo,r[a.NativePermissionTypes.INPUT_MONITORING]=i.NativePermissionRequestType.InputMonitoring,r);var c=new l;t.default=c},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n);var o=i.prototype;return o.requestPermissionCore=function(e,t){return Promise.resolve(!0)},o.hasPermissionCore=function(e,t){return Promise.resolve(!0)},o.openSettings=function(e){},o.didHavePermission=function(e){return!0},i}(n(444).NativePermissionBaseUtils));t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o=d(n(3)),a=d(n(2)),s=n(141),u=n(208),l=d(n(412)),c=d(n(382));function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n);var i,o,a,u=r.prototype;return u.initialize=function(){this.syncWith([c.default],(function(){return!0}))},u.getExperimentId=function(){return l.default.WUMPUS_VIDEO},u.getMetaData=function(){return{title:"Hybrid Video 。゚・ (>﹏<) ・゚。",description:["Control: Off","Treatment 1: On!"]}},u.getExperimentDescriptor=function(){return c.default.getOverrideExperimentDescriptor(this.getExperimentId())||c.default.getEligibleExperiment(this.getExperimentId())},i=r,(o=[{key:"enabled",get:function(){var e=this.getExperimentDescriptor();return null!=e&&e.bucket===s.ExperimentBuckets.TREATMENT_1}}])&&f(i.prototype,o),a&&f(i,a),r}(o.default.Store))(a.default);(0,u.registerExperimentLegacy)(p,((i={})[s.ExperimentTypes.USER]=((r={})[s.ExperimentBuckets.CONTROL]=function(){return null},r[s.ExperimentBuckets.TREATMENT_1]=function(){return null},r),i));var E=p;t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(64)),i=l(n(138)),o=n(34),a=l(n(26)),s=l(n(267)),u=l(n(16));function l(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f,_,p;function E(){}!function(e){e[e.IDENTIFY=0]="IDENTIFY",e[e.SELECT_PROTOCOL=1]="SELECT_PROTOCOL",e[e.READY=2]="READY",e[e.HEARTBEAT=3]="HEARTBEAT",e[e.SELECT_PROTOCOL_ACK=4]="SELECT_PROTOCOL_ACK",e[e.SPEAKING=5]="SPEAKING",e[e.HEARTBEAT_ACK=6]="HEARTBEAT_ACK",e[e.RESUME=7]="RESUME",e[e.HELLO=8]="HELLO",e[e.RESUMED=9]="RESUMED",e[e.VIDEO=12]="VIDEO",e[e.CLIENT_DISCONNECT=13]="CLIENT_DISCONNECT",e[e.SESSION_UPDATE=14]="SESSION_UPDATE",e[e.MEDIA_SINK_WANTS=15]="MEDIA_SINK_WANTS"}(f||(f={})),function(e){e[e.AUTHENTICATION_FAILED=4004]="AUTHENTICATION_FAILED",e[e.INVALID_SESSION=4006]="INVALID_SESSION",e[e.SERVER_NOT_FOUND=4011]="SERVER_NOT_FOUND",e[e.SERVER_CRASH=4015]="SERVER_CRASH",e[e.HEARTBEAT_TIMEOUT=4800]="HEARTBEAT_TIMEOUT",e[e.UNRESUMABLE=4801]="UNRESUMABLE",e[e.RESET_BACKOFF=4802]="RESET_BACKOFF"}(_||(_={})),function(e){e[e.DISCONNECTED=0]="DISCONNECTED",e[e.CONNECTING=1]="CONNECTING",e[e.IDENTIFYING=2]="IDENTIFYING",e[e.RESUMING=3]="RESUMING",e[e.CONNECTED=4]="CONNECTED",e[e.RECONNECTING=5]="RECONNECTING"}(p||(p={}));function h(e){return e.map((function(e){return{name:e.name,type:e.type,priority:1e3*e.priority,payload_type:e.payloadType,rtx_payload_type:e.rtxPayloadType}}))}function m(e){return null==e?void 0:e.map((function(e){return{type:e.type,rid:e.rid,ssrc:e.ssrc,active:e.active,quality:e.quality,rtx_ssrc:e.rtxSsrc,max_bitrate:e.maxBitrate,max_framerate:e.maxFrameRate,max_resolution:null!=e.maxResolution?{type:e.maxResolution.type,width:e.maxResolution.width,height:e.maxResolution.height}:void 0}}))}function v(e){return(null==e?void 0:e.map((function(e){return{type:(t=e.type,"audio"===t?o.MediaTypes.AUDIO:"screen"===t?o.MediaTypes.SCREEN:o.MediaTypes.VIDEO),rid:e.rid,ssrc:e.ssrc,rtxSsrc:e.rtx_ssrc,active:e.active,quality:e.quality,maxBitrate:e.max_bitrate,maxFrameRate:e.max_framerate,maxResolution:null!=e.max_resolution?{type:e.max_resolution.type,width:e.max_resolution.width,height:e.max_resolution.height}:void 0};var t})))||[]}var T=function(e){var t,n;function r(t){var n;return(n=e.call(this)||this).logger=new a.default("RTCControlSocket"),n.backoff=new i.default(1e3,5e3),n.serverVersion=0,n.url=t,n.webSocket=null,n.connectionState=p.DISCONNECTED,n.helloTimeout=null,n.lastHeartbeatAckTime=null,n.heartbeatInterval=null,n.heartbeater=null,n.heartbeatAck=!0,n.expeditedHeartbeatTimeout=null,n.connectionStartTime=0,n.sessionId=null,n.serverId=null,n.token=null,n.resumable=!1,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var l=r.prototype;return l.createWebSocket=function(){var e=this;this.logger.info("[CONNECT] "+this.url),null!==this.webSocket&&(this.logger.error("Connect called with already existing websocket"),this.cleanupWebSocket((function(e){return e.close(4e3)}))),this.connectionStartTime=Date.now(),this.helloTimeout=setTimeout((function(){var t=Date.now()-e.connectionStartTime;e.handleClose(!1,0,"The connection timed out after "+t+" ms - did not receive OP_HELLO in time.")}),2e4);var t=this.webSocket=new WebSocket(this.url+"?v=5");t.onopen=function(){e.connectionState===p.CONNECTING?e.emit("connect"):e.connectionState===p.RECONNECTING&&e.doResumeOrClose(),e.connectionState=p.CONNECTED;var t=Date.now()-e.connectionStartTime;e.logger.info("[CONNECTED] "+e.url+" in "+t+" ms"),e.emit("ping",Math.round(t/2))},t.onmessage=function(t){var n=e.parseWebSocketMessage(t),r=n.op,i=n.d;switch(s.default.isLoggingGatewayEvents&&e.logger.info("~> "+r+": "+JSON.stringify(i)),r){case f.HELLO:e.clearHelloTimeout(),e.handleHello(i);break;case f.READY:e.handleReady(i);break;case f.RESUMED:e.handleResumed(i);break;case f.SELECT_PROTOCOL_ACK:e.emit("codecs",i.audio_codec,i.video_codec),i.media_session_id&&e.emit("media-session-id",i.media_session_id),i.sdp?e.emit("sdp",i.sdp):i.mode&&e.emit("encryption",i.mode,i.secret_key),e.resumable=!0;break;case f.SPEAKING:var a=i.speaking;"boolean"==typeof a&&(a=a?o.SpeakingFlags.VOICE:o.SpeakingFlags.NONE),e.emit("speaking",i.user_id,i.ssrc,a);break;case f.HEARTBEAT:e.sendHeartbeat();break;case f.HEARTBEAT_ACK:e.emit("ping",Date.now()-i),e.handleHeartbeatAck(i);break;case f.VIDEO:e.emit("video",i.user_id,i.audio_ssrc,i.video_ssrc,v(i.streams));break;case f.CLIENT_DISCONNECT:e.emit("client-disconnect",i.user_id);break;case f.SESSION_UPDATE:null==i.audio_codec&&null==i.video_codec||e.emit("codecs",i.audio_codec,i.video_codec),null!=i.media_session_id&&e.emit("media-session-id",i.media_session_id);break;case f.MEDIA_SINK_WANTS:e.emit("media-sink-wants",i);break;default:e.logger.info("Unhandled op "+r)}},t.onerror=function(){return e.handleClose(!1,0,"An error with the websocket occurred")},t.onclose=function(t){var n=t.wasClean,r=t.code,i=t.reason;return e.handleClose(n,r,i)}},l.send=function(e,t){void 0===t&&(t=null);var n=this.webSocket;if(null!=n&&n.readyState===WebSocket.OPEN){var r=JSON.stringify({op:e,d:t});s.default.isLoggingGatewayEvents&&this.logger.info("<~ "+r);try{n.send(r)}catch(e){}}},l.ping=function(){this.sendHeartbeat()},l.doResumeOrClose=function(){var e=Date.now();null!==this.serverId&&null!==this.token&&null!==this.sessionId&&this.resumable&&(null==this.lastHeartbeatAckTime||e-this.lastHeartbeatAckTime<=6e4)?(this.doResume(),this.lastHeartbeatAckTime=e):this.disconnect(!1,_.UNRESUMABLE,"Cannot resume connection.")},l.doResume=function(){this.logger.info("[RESUME] resuming session. serverId="+(this.serverId||"")+" sessionId="+(this.sessionId||"")),this.emit("resuming"),this.connectionState=p.RESUMING,this.send(f.RESUME,{token:this.token,session_id:this.sessionId,server_id:this.serverId})},l.handleHello=function(e){if(this.serverVersion=e.v||3,this.serverVersion<=3){var t=u.default.embedded?.25:.1;this.heartbeatInterval=e.heartbeat_interval*t}else this.heartbeatInterval=e.heartbeat_interval,u.default.embedded||(this.heartbeatInterval=Math.min(5e3,this.heartbeatInterval));var n=Date.now()-this.connectionStartTime;this.logger.info("[HELLO] heartbeat interval: "+(this.heartbeatInterval||"??")+", version: "+this.serverVersion+", took "+n+" ms"),this.startHeartbeater()},l.handleReady=function(e){this.backoff.succeed();var t=Date.now()-this.connectionStartTime;this.logger.info("[READY] took "+t+" ms"),this.emit("ready",e.ip,e.port,e.modes,e.ssrc,v(e.streams),e.experiments)},l.handleResumed=function(e){this.backoff.succeed()},l.handleClose=function(e,t,n){var r=this;if(this.connectionState=p.DISCONNECTED,e=e||!1,this.cleanupWebSocket(),t===_.AUTHENTICATION_FAILED||t===_.SERVER_CRASH||t===_.SERVER_NOT_FOUND||t===_.INVALID_SESSION)return this.disconnect(e,t,n);if(this.backoff.fails>3)this.logger.warn("[WS CLOSED] Backoff exceed. Resetting."),this.disconnect(e,t,n);else{var i=this.backoff.fail((function(){return r.reconnect(e,t,n)}));this.logger.warn("[WS CLOSED] (clean: "+e.toString()+", code: "+t+", reason: "+n+") retrying in "+(i/1e3).toFixed(2)+" seconds.")}},l.disconnect=function(e,t,n){this.logger.warn("[DISCONNECT] ("+e.toString()+", "+t+", "+n+")"),this.cleanupWebSocket(),this.cleanupState(),this.connectionState=p.DISCONNECTED,this.emit("disconnect",e,t,n)},l.reconnect=function(e,t,n){this.logger.info("[RECONNECT] wasClean="+e.toString()+" code="+t+" reason="+n),this.cleanupWebSocket((function(e){return e.close(4e3)})),this.connectionState=p.RECONNECTING,this.createWebSocket()},l.cleanupWebSocket=function(e){this.stopHeartbeater(),this.clearHelloTimeout();var t=this.webSocket;this.webSocket=null,null!=t&&(t.onopen=E,t.onmessage=E,t.onerror=E,t.onclose=E,e&&e(t)),this.backoff.cancel()},l.cleanupState=function(){this.serverId=null,this.sessionId=null,this.token=null,this.resumable=!1},l.parseWebSocketMessage=function(e){return JSON.parse(e.data)},l.clearHelloTimeout=function(){null!=this.helloTimeout&&(clearTimeout(this.helloTimeout),this.helloTimeout=null)},l.handleHeartbeatAck=function(e){this.lastHeartbeatAckTime=Date.now(),this.heartbeatAck=!0,null!==this.expeditedHeartbeatTimeout&&(clearTimeout(this.expeditedHeartbeatTimeout),this.expeditedHeartbeatTimeout=null,this.logger.info("Expedited heartbeat succeeded"))},l.handleHeartbeatTimeout=function(){var e=this;this.cleanupWebSocket((function(e){return e.close(4e3)}));var t=this.backoff.fail((function(){return e.reconnect(!1,_.HEARTBEAT_TIMEOUT,"Heartbeat timeout.")}));this.logger.warn("[ACK TIMEOUT] reconnecting in "+(t/1e3).toFixed(2)+" seconds.")},l.startHeartbeater=function(){var e=this;null!==this.heartbeater&&clearInterval(this.heartbeater),this.heartbeatAck=!0,this.heartbeater=setInterval((function(){e.heartbeatAck?(e.heartbeatAck=!1,e.sendHeartbeat()):null===e.expeditedHeartbeatTimeout&&e.handleHeartbeatTimeout()}),this.heartbeatInterval)},l.sendHeartbeat=function(){this.send(f.HEARTBEAT,Date.now())},l.stopHeartbeater=function(){null!==this.heartbeater&&(clearInterval(this.heartbeater),this.heartbeater=null),null!==this.expeditedHeartbeatTimeout&&(clearTimeout(this.expeditedHeartbeatTimeout),this.expeditedHeartbeatTimeout=null)},l.connect=function(){return this.connectionState!==p.DISCONNECTED?(this.logger.error("Cannot start a new connection, connection state is not disconnected"),!1):(this.connectionState=p.CONNECTING,this.createWebSocket(),this.emit("connecting"),!0)},l.identify=function(e,t,n,r,i,o){void 0===i&&(i=!1),this.serverId=e,this.sessionId=n,this.token=r,this.connectionState=p.IDENTIFYING,this.send(f.IDENTIFY,{server_id:e,user_id:t,session_id:n,token:r,video:i,streams:m(o)})},l.expeditedHeartbeat=function(e,t,n){var r=this;if(void 0===t&&(t=""),void 0===n&&(n=!0),this.webSocket)this.logger.info("Performing an expedited heartbeat "+(t?"reason: "+t:"")),this.heartbeatAck=!1,this.sendHeartbeat(),null!==this.expeditedHeartbeatTimeout&&clearTimeout(this.expeditedHeartbeatTimeout),this.expeditedHeartbeatTimeout=setTimeout((function(){r.expeditedHeartbeatTimeout=null,!1===r.heartbeatAck&&r.handleHeartbeatTimeout()}),e);else{if(n)return this.resetBackoff(t);this.logger.info("Expedited heartbeat requested, but is disconnected and a reset was not requested "+(t?"reason: "+t:""))}return!1},l.resetBackoff=function(e){return void 0===e&&(e=""),this.backoff.fails>0&&null==this.webSocket&&(this.logger.info("Connection backoff reset "+(e?"for reason: "+e:"")),this.backoff.succeed(),this.reconnect(!1,_.RESET_BACKOFF,"Reset backoff."),!0)},l.close=function(){this.logger.info("CLOSE"),this.cleanupWebSocket((function(e){return e.close(4e3)})),this.cleanupState(),this.connectionState=p.DISCONNECTED,this.emit("disconnect",!0,1e3,"Force Close")},l.destroy=function(){this.close()},l.selectProtocol=function(e,t,n,r){var i,o={};null==n?i=null:n.sdp?(i=n.sdp,o=c({},n,{codecs:h(n.codecs),rtc_connection_id:t})):n.address&&n.port&&n.mode&&(i={address:n.address,port:n.port,mode:n.mode},o=c({},n,{codecs:h(n.codecs),rtc_connection_id:t,experiments:r})),this.send(f.SELECT_PROTOCOL,c({protocol:e,data:i},o))},l.speaking=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=0),this.send(f.SPEAKING,{speaking:this.serverVersion<=3?Boolean(e):e,delay:t,ssrc:n})},l.video=function(e,t,n,r){this.send(f.VIDEO,{audio_ssrc:e,video_ssrc:t,rtx_ssrc:n,streams:m(r)})},l.mediaSinkWants=function(e){this.serverVersion>=5&&this.send(f.MEDIA_SINK_WANTS,e)},r}(r.default);t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DEFAULT_WANTS_FULL=void 0;var r=u(n(64)),i=n(957),o=u(n(184)),a=n(57),s=u(n(1747));function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f={any:100};t.DEFAULT_WANTS_FULL=f;var _=function(e){var t,n;function r(t,n){var r;return void 0===n&&(n=new i.MediaSinkWantsLadder),(r=e.call(this)||this).userId=t,r.ladder=n,r.connection=null,r.audioSsrcs={},r.videoSsrcs={},r.streamIds={},r.latestWants=f,r.participants=new Set,r.selectedParticipantId=null,r.delayedUpdate=function(){r.delayedCall.delay()},r.update=function(e){var t;void 0===e&&(e=[]);for(var n=r.getWantsLevel(),i={any:n},a=s.default.getCurrentConfig({}),u=(null===(t=r.connection)||void 0===t?void 0:t.getActiveOutputSinkTrackingEnabled())&&a.stopOffScreenVideoStream,c=0,d=Object.entries(r.videoSsrcs);c<d.length;c++){var f,_=d[c],p=_[0],E=_[1],h=E[0].ssrc;if(null!==r.selectedParticipantId&&r.selectedParticipantId!==r.userId){if(E.length>1)if(p===r.selectedParticipantId&&100!==n)for(var m,v=l(E);!(m=v()).done;){var T=m.value;100===T.quality?(i[T.ssrc]=100,h=T.ssrc):i[T.ssrc]=0}else for(var g,I=l(E);!(g=I()).done;){var S=g.value;100===S.quality?i[S.ssrc]=0:h=S.ssrc}else if(p===r.selectedParticipantId&&100!==n){var y=Object.values(E)[0].ssrc;i[y]=100}}else if(E.length>1)for(var A,O=l(E);!(A=O()).done;){var N=A.value;100===N.quality?i[N.ssrc]=0:h=N.ssrc}if((null===(f=r.connection)||void 0===f?void 0:f.getLocalVideoDisabled(p))&&E.forEach((function(e){i[e.ssrc]=0})),u){var R,b=r.streamIds[p];null==b||(null===(R=r.connection)||void 0===R?void 0:R.getHasActiveVideoOutputSink(b))||E.forEach((function(e){i[e.ssrc]=0}))}e.includes(p)&&r.emit("user-ssrc-update",p,r.audioSsrcs[p],h)}for(var L=0,D=Object.entries(r.audioSsrcs);L<D.length;L++){var C,M=D[L],P=M[0],w=M[1];(null===(C=r.connection)||void 0===C?void 0:C.getLocalMute(P))&&(i[w]=0)}return null==r.connection||(0,o.default)(r.latestWants,i)||(r.latestWants=i,r.emit("update",i)),i},r.delayedCall=new a.DelayedCall(100,r.update),r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var u=r.prototype;return u.getWantsLevel=function(){var e=this.getVideoParticipantCount();return this.ladder.getMaxSinkValue(e)},u.setConnection=function(e,t){var n,r,i,o,a,s;void 0===t&&(t=!0),null===(n=this.connection)||void 0===n||n.removeListener("local-video-disabled",this.update),null===(r=this.connection)||void 0===r||r.removeListener("local-mute",this.update),null===(i=this.connection)||void 0===i||i.removeListener("active-sink-change",this.delayedUpdate),this.connection=e,null===(o=this.connection)||void 0===o||o.addListener("local-video-disabled",this.update),null===(a=this.connection)||void 0===a||a.addListener("local-mute",this.update),null===(s=this.connection)||void 0===s||s.addListener("active-sink-change",this.delayedUpdate),t&&this.update()},u.setAudioSSRC=function(e,t){return t>0?this.audioSsrcs[e]=t:delete this.audioSsrcs[e],this.update()},u.setVideoSSRCs=function(e,t){var n=t.filter((function(e){return e.active&&(e.ssrc||0)>0})).map((function(e){return{quality:e.quality||100,ssrc:e.ssrc}}));return n.length>0?(this.videoSsrcs[e]=n,this.participants.add(e)):(delete this.videoSsrcs[e],this.participants.delete(e),this.emit("user-ssrc-update",e,this.audioSsrcs[e],0)),this.update(n.length>0?[e]:[])},u.setStreamId=function(e,t){return null!=t?this.streamIds[e]=t:delete this.streamIds[e],this.update()},u.destroyUser=function(e){return delete this.audioSsrcs[e],delete this.videoSsrcs[e],this.participants.delete(e),delete this.streamIds[e],this.update()},u.reset=function(){this.setConnection(null,!1),this.audioSsrcs={},this.videoSsrcs={},this.streamIds={},this.latestWants=f},u.setSelectedParticipant=function(e){var t=this;if(e===this.selectedParticipantId)return this.latestWants;var n=[];if(null!=this.selectedParticipantId&&this.selectedParticipantId!==this.userId&&n.push(this.selectedParticipantId),null!=e)if(this.participants.has(e))this.selectedParticipantId=e,n.push(e);else{if(this.userId!==e)return console.warn("Participant not found: "+e),this.latestWants;this.selectedParticipantId=e}else this.selectedParticipantId=null;return this.update(n.filter((function(e){var n;return(null===(n=t.videoSsrcs[e])||void 0===n?void 0:n.length)>1})))},u.getVideoParticipantCount=function(){for(var e=0,t=0,n=Object.keys(this.videoSsrcs);t<n.length;t++){var r,i=n[t];(null===(r=this.connection)||void 0===r?void 0:r.getLocalVideoDisabled(i))||e++}return e},r}(r.default);t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-03_stop_offscreen_video_streams",label:"Controls whether offscreen video streams will be turned off",defaultConfig:{stopOffScreenVideoStream:!1},treatments:[{id:1,label:"Offscreen video streams will be stopped",config:{stopOffScreenVideoStream:!0}}]});t.default=r},function(e,t,n){"use strict";function r(){return(r=Object.assign||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}).apply(this,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(){function e(){this._report={soundshare_attach_requested_count:0,soundshare_capturing_count:0,soundshare_capture_stopped_count:0,soundshare_hooked_count:0,soundshare_recv_connect_count:0,soundshare_recv_disconnect_count:0,soundshare_recv_started_count:0,soundshare_recv_stopped_count:0,soundshare_recv_failed_count:0,soundshare_recv_format_count:0,soundshare_send_announce_count:0,soundshare_send_start_count:0,soundshare_send_stop_count:0,soundshare_malformed_trace_count:0,soundshare_audio_detected_count:0,soundshare_state_transition_detached_count:0,soundshare_state_transition_waiting_count:0,soundshare_state_transition_attached_count:0,soundshare_state_transition_started_count:0,soundshare_state_transition_playing_count:0,soundshare_state_transition_silence_count:0,soundshare_unknown_event_count:0,soundshare_first_pid:0,soundshare_last_pid:0,soundshare_unique_pids:0,soundshare_first_session:null,soundshare_last_session:null},this._pids=new Set}var t=e.prototype;return t.traceEvent=function(e,t){var n,r=this._report;void 0!==r[n="soundshare_state_transition"===t.type?"soundshare_state_transition_"+["detached","waiting","attached","started","playing","silence"][t.newState]+"_count":t.type+"_count"]?r[n]<32767&&r[n]++:r.soundshare_unknown_event_count++,t.pid&&(r.soundshare_first_pid||(r.soundshare_first_pid=t.pid),r.soundshare_last_pid=t.pid,this._pids.add(t.pid)),e&&(r.soundshare_first_session||(r.soundshare_first_session=e),r.soundshare_last_session=e)},t.getStats=function(){return r({},this._report,{soundshare_unique_pids:this._pids.size})},e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(133)),i=l(n(8)),o=n(206),a=n(57),s=l(n(16)),u=l(n(981));function l(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var f,_=[0,5e5,1e6,15e5,2e6,3e6,4e6,5e6,6e6,7e6,8e6],p=[0,5,10,15,20,25,30,35,40,45,50,55,60],E=[720,480,360];!function(e){e.NVIDIA_CUDA="nvidia_cuda",e.NVIDIA_DIRECT_3D="nvidia_direct_3d",e.OPENH264="openh264",e.VIDEOTOOLBOX="videotoolbox",e.AMD_DIRECT_3D="amd_direct_3d",e.INTEL="intel",e.INTEL_DIRECT_3D="intel_direct_3d",e.UNKNOWN="unknown"}(f||(f={}));var h=Object.freeze({"nvidia: cuda":f.NVIDIA_CUDA,"nvidia: direct3d":f.NVIDIA_DIRECT_3D,"amd: direct3d":f.AMD_DIRECT_3D,"intel: direct3d":f.INTEL_DIRECT_3D,intel:f.INTEL,VideoToolbox:f.VIDEOTOOLBOX,OpenH264:f.OPENH264}),m=(0,r.default)({framesCodec:null,framesNetwork:null,packets:null,packetsLost:null,framesDropped:null,bytes:null,nackCount:null,pliCount:null});function v(e,t){return void 0===t&&(t=0),null!=e?Math.round(e):t}var T=function(){function e(e){this.total=0,this.state=e,this.begin=e?(0,o.now)():null}var t,n,r;return e.prototype.totalDuration=function(){return null!=this.begin?this.total+(0,o.now)()-this.begin:this.total},t=e,(n=[{key:"value",set:function(e){e&&!this.state&&(this.begin=(0,o.now)()),!e&&this.state&&(this.total+=(0,o.now)()-this.begin,this.begin=null),this.state=e},get:function(){return this.state}}])&&d(t.prototype,n),r&&d(t,r),e}(),g=function(){function e(e){var t=this;this._sampleStats=function(){var e=t._connection;if(null!=e){var n=(0,o.now)();t._networkQuality.incrementNetworkStats(n),e.getStats().then((function(e){var r,o;if(null!=e){var a=e.transport,u=s.default.isWeb()?1:null!==(r=null===(o=a.receiverReports)||void 0===o?void 0:o.length)&&void 0!==r?r:0;t._updateSendState({receivers:u}),e.rtp.outbound.filter((function(e){return"video"===e.type})).forEach((function(e){var r=e;if(null!=r){var i,o=r.ssrc;null==t._outboundStats[o]&&(console.warn("Unknown outbound video stream with SSRC: "+o),t._outboundStats[o]=t._initOutboundStats()),null==t._outboundStats[o].timeToFirstFrame&&(r.framesEncoded>0||(null!==(i=r.frameRateInput)&&void 0!==i?i:0)>0)&&(t._outboundStats[o].timeToFirstFrame=Math.max(0,n-t._outboundStats[o].startTime)),t._videoStopped.value||(t._appendAndIncrementStats(t._outboundStats[o],t._parseOutboundStats(r,n)),t._lastTargetBitrate=r.bitrateTarget)}})),t._paused.value||i.default.forEach(e.rtp.inbound,(function(e,r){var i=e.find((function(e){return"video"===e.type}));null!=i&&(null==t._inboundStats[r]&&(console.warn("Unknown inbound video stream for user: "+r),t._inboundStats[r]=t._initStats()),t._appendAndIncrementStats(t._inboundStats[r],t._parseInboundStats(i,n)),null==t._inboundStats[r].timeToFirstFrame&&i.framesDecoded>0&&(t._inboundStats[r].timeToFirstFrame=n-t._inboundStats[r].startTime))}))}}))}},this._connection=e,this._statInterval=new a.Interval,this._networkQuality=new u.default,this._paused=new T(!1),this._pausedCount=0,this._zeroReceivers=new T(!1),this._videoStopped=new T(!1),this._inboundStats={},this._outboundStats={},this._lastTargetBitrate=0}var t=e.prototype;return t.start=function(){this._streamStart=(0,o.now)(),this._statInterval.start(1e3,this._sampleStats)},t.setOutboundSsrc=function(e){null==this._outboundStats[e]&&(this._outboundStats[e]=this._initOutboundStats())},t.setInboundUser=function(e){null==this._inboundStats[e]?this._inboundStats[e]=this._initStats():this._inboundStats[e].statsWindow.length>0&&0===this._inboundStats[e].statsWindow[0].packets&&(this._inboundStats[e].startTime=(0,o.now)())},t.pause=function(){this._paused.value||this._pausedCount++,i.default.forEach(this._outboundStats,(function(e){e.statsWindow=[]})),i.default.forEach(this._inboundStats,(function(e){e.statsWindow=[]})),this._updateSendState({paused:!0})},t.resume=function(){this._updateSendState({paused:!1})},t.stop=function(){this._statInterval.stop(),this._streamEnd=(0,o.now)()},t.getNetworkStats=function(){return this._networkQuality.getStats()},t.getOutboundStats=function(){var e=this,t=[];return i.default.forEach(this._outboundStats,(function(n,r){var i,o=null===(i=e._connection)||void 0===i?void 0:i.getStreamParameters(),a=50;o.forEach((function(e){var t;parseInt(r)===e.ssrc&&(a=null!==(t=e.quality)&&void 0!==t?t:50)})),t.push(c({},e._getStats(n),{target_bitrate:e._lastTargetBitrate,duration_encoder_nvidia_cuda:v(n.encoderBuckets[f.NVIDIA_CUDA]),duration_encoder_nvidia_direct3d:v(n.encoderBuckets[f.NVIDIA_DIRECT_3D]),duration_encoder_openh264:v(n.encoderBuckets[f.OPENH264]),duration_encoder_videotoolbox:v(n.encoderBuckets[f.VIDEOTOOLBOX]),duration_encoder_amd_direct3d:v(n.encoderBuckets[f.AMD_DIRECT_3D]),duration_encoder_intel:v(n.encoderBuckets[f.INTEL]),duration_encoder_intel_direct3d:v(n.encoderBuckets[f.INTEL_DIRECT_3D]),duration_encoder_unknown:v(n.encoderBuckets[f.UNKNOWN]),quality:a}))})),t},t.getInboundStats=function(e){return this._getStats(this._inboundStats[e])},t.destroyUser=function(e){delete this._inboundStats[e]},t.getInboundParticipants=function(){return Object.keys(this._inboundStats)},t._updateSendState=function(e){null!=e.paused&&(this._paused.value=e.paused),null!=e.receivers&&(this._zeroReceivers.value=0===e.receivers);var t=this._paused.value||this._zeroReceivers.value,n=this._videoStopped.value;this._videoStopped.value=t,t!==n&&i.default.forEach(this._outboundStats,(function(e){return e.statsWindow=[]}))},t._getStats=function(e){if(null!=e){var t=(null!=this._streamEnd?this._streamEnd-this._streamStart:(0,o.now)()-this._streamStart)/1e3,n=e.aggregationDuration/1e3,r={duration:Math.floor(t),duration_stream_under_8mbps:v(e.bitrateBuckets[8e6]),duration_stream_under_7mbps:v(e.bitrateBuckets[7e6]),duration_stream_under_6mbps:v(e.bitrateBuckets[6e6]),duration_stream_under_5mbps:v(e.bitrateBuckets[5e6]),duration_stream_under_4mbps:v(e.bitrateBuckets[4e6]),duration_stream_under_3mbps:v(e.bitrateBuckets[3e6]),duration_stream_under_2mbps:v(e.bitrateBuckets[2e6]),duration_stream_under_1_5mbps:v(e.bitrateBuckets[15e5]),duration_stream_under_1mbps:v(e.bitrateBuckets[1e6]),duration_stream_under_0_5mbps:v(e.bitrateBuckets[5e5]),duration_stream_at_0mbps:v(e.bitrateBuckets[0]),duration_fps_under_60:v(e.fpsBuckets[60]),duration_fps_under_55:v(e.fpsBuckets[55]),duration_fps_under_50:v(e.fpsBuckets[50]),duration_fps_under_45:v(e.fpsBuckets[45]),duration_fps_under_40:v(e.fpsBuckets[40]),duration_fps_under_35:v(e.fpsBuckets[35]),duration_fps_under_30:v(e.fpsBuckets[30]),duration_fps_under_25:v(e.fpsBuckets[25]),duration_fps_under_20:v(e.fpsBuckets[20]),duration_fps_under_15:v(e.fpsBuckets[15]),duration_fps_under_10:v(e.fpsBuckets[10]),duration_fps_under_5:v(e.fpsBuckets[5]),duration_fps_at_0:v(e.fpsBuckets[0]),avg_resolution:n>0?Math.round(e.resolutionTotal/n):0,duration_resolution_under_720:v(e.resolutionBuckets[720]),duration_resolution_under_480:v(e.resolutionBuckets[480]),duration_resolution_under_360:v(e.resolutionBuckets[360]),num_pauses:this._pausedCount,duration_paused:v(this._paused.totalDuration()/1e3),duration_zero_receivers:v(this._zeroReceivers.totalDuration()/1e3),duration_video_stopped:v(this._videoStopped.totalDuration()/1e3)},i=e.aggregatedProperties,a=i.bytes,s=i.framesDropped,u=i.framesCodec,l=i.framesNetwork,d=i.packets,f=i.packetsLost,_=i.nackCount,p=i.pliCount;return c({},r,{avg_bitrate:n>0?Math.round(8*a/n):0,avg_fps:n>0?Math.round(u/n):0,num_bytes:a,num_packets_lost:f,num_packets:d,num_frames:l,time_to_first_frame_ms:e.timeToFirstFrame,num_frames_dropped:s,num_nacks:_,num_plis:p})}},t._initStats=function(){var e={statsWindow:[],aggregationDuration:0,resolutionTotal:0,bitrateBuckets:{},fpsBuckets:{},resolutionBuckets:{},aggregatedProperties:{},startTime:(0,o.now)()};_.forEach((function(t){e.bitrateBuckets[t]=0})),p.forEach((function(t){e.fpsBuckets[t]=0})),E.forEach((function(t){e.resolutionBuckets[t]=0}));for(var t=0,n=Object.keys(m);t<n.length;t++){var r=n[t];e.aggregatedProperties[r]=0}return e},t._initOutboundStats=function(){for(var e=c({},this._initStats(),{encoderBuckets:{}}),t=0,n=Object.keys(f);t<n.length;t++){var r=n[t];e.encoderBuckets[f[r]]=0}return e},t._parseEncoder=function(e){if(null==e)return f.UNKNOWN;for(var t=0,n=Object.keys(h);t<n.length;t++){var r=n[t];if(e.startsWith(r))return h[r]}return f.UNKNOWN},t._parseInboundStats=function(e,t){if(null==e)return{bytes:0,framesCodec:0,framesNetwork:0,resolution:0,framesDropped:0,timestamp:t,packets:0,packetsLost:0,nackCount:0,pliCount:0,encoder:null};var n=e.bytesReceived,r=e.packetsLost,i=e.packetsReceived,o=e.framesDropped,a=e.framesDecoded,s=e.framesReceived,u=e.resolution,l=e.nackCount,c=e.pliCount;return{bytes:n,framesCodec:a,framesNetwork:s,packets:i,packetsLost:r,framesDropped:o,resolution:null!=u?u.height:0,timestamp:t,nackCount:l,pliCount:c,encoder:null}},t._parseOutboundStats=function(e,t){if(null==e)return{bytes:0,framesCodec:0,framesNetwork:0,resolution:0,framesDropped:0,timestamp:t,packets:0,packetsLost:0,nackCount:0,pliCount:0,encoder:null};var n=e.bytesSent,r=e.framesEncoded,i=e.framesSent,o=e.packetsLost,a=e.packetsSent,s=e.resolution,u=e.nackCount,l=e.pliCount,c=e.encoderImplementationName;return{bytes:n,framesCodec:r,framesNetwork:i||0,packets:a,packetsLost:o||0,framesDropped:0,resolution:null!=s?s.height:0,timestamp:t,encoder:this._parseEncoder(c),nackCount:u,pliCount:l}},t._collectAggregationStats=function(e,t,n){for(var r=0,i=Object.keys(m);r<i.length;r++){var o=i[r],a=t[o],s=n[o];e.aggregatedProperties[o]+=s>a?a:a-s}e.aggregationDuration+=t.timestamp-n.timestamp},t._appendAndIncrementStats=function(e,t){if(e.statsWindow.push(t),!(e.statsWindow.length<2)){var n=e.statsWindow[e.statsWindow.length-1],r=e.statsWindow[e.statsWindow.length-2];this._collectAggregationStats(e,n,r);var i=n.bytes,o=n.framesCodec,a=n.timestamp,s=n.resolution,u=n.encoder,l=(a-r.timestamp)/1e3;if(e.resolutionTotal+=s*l,null!=u&&null!=e.encoderBuckets&&(e.encoderBuckets[u]+=l),!(e.statsWindow.length<6)){var c=e.statsWindow[e.statsWindow.length-3],d=c.bytes,f=c.framesCodec,h=c.timestamp;E.forEach((function(t){s<=t&&(e.resolutionBuckets[t]+=l)}));var m=(a-h)/1e3,v=8*(i-d)/m,T=(o-f)/m;_.forEach((function(t){v<=t&&(e.bitrateBuckets[t]+=l)})),p.forEach((function(t){T<=t&&(e.fpsBuckets[t]+=l)})),e.statsWindow.shift()}}},e}();t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(8)),i=n(206),o=n(57),a=s(n(981));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function l(){return(l=Object.assign||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}).apply(this,arguments)}var c=function(){function e(e){this.connection=e,this.statInterval=new o.Interval,this.networkQuality=new a.default,this.inboundStats={},this.outboundStats={packetsSent:0,packetsLost:0},this.duration={listening:0,speaking:0,participation:0,connected:0}}var t=e.prototype;return t.start=function(){var e=this;this.statInterval.start(1e3,(function(){return e.sampleStats()}))},t.stop=function(){this.statInterval.stop()},t.getMosStats=function(){var e=r.default.reduce(this.inboundStats,(function(e,t){e.mosSum+=t.mosSum,e.mosCount+=t.mosCount;for(var n=0;n<5;n++)e.mosBuckets[n]+=t.mosBuckets[n];return e}),{mosSum:0,mosCount:0,mosBuckets:[0,0,0,0,0]});return{mos_mean:e.mosCount>0?e.mosSum/e.mosCount:0,mos_1:e.mosBuckets[1],mos_2:e.mosBuckets[2],mos_3:e.mosBuckets[3],mos_4:e.mosBuckets[4]}},t.getPacketStats=function(){var e=r.default.reduce(this.inboundStats,(function(e,t){return e.packetsReceived+=t.packetsReceived,e.packetsReceivedLost+=t.packetsLost,e}),{packetsReceived:0,packetsReceivedLost:0});return{packets_sent:this.outboundStats.packetsSent,packets_sent_lost:this.outboundStats.packetsLost,packets_received:e.packetsReceived,packets_received_lost:e.packetsReceivedLost}},t.getNetworkStats=function(){return this.networkQuality.getStats()},t.getBufferStats=function(){var e=r.default.reduce(this.inboundStats,(function(e,t){return(!e||null!=t.bufferStats.audioJitterBuffer&&null!=e.audioJitterBuffer&&t.bufferStats.audioJitterBuffer.p75>e.audioJitterBuffer.p75)&&(e=t.bufferStats),e}),null);return l({},function(e){var t={};for(var n in e)t[n+"_mean"]=null!=e[n]?e[n].mean:0,t[n+"_p75"]=null!=e[n]?e[n].p75:0,t[n+"_p95"]=null!=e[n]?e[n].p95:0,t[n+"_p99"]=null!=e[n]?e[n].p99:0,t[n+"_max"]=null!=e[n]?e[n].max:0;return t}({audio_jitter_buffer:null!=e?e.audioJitterBuffer:null,audio_jitter_target:null!=e?e.audioJitterTarget:null,audio_jitter_delay:null!=e?e.audioJitterDelay:null,relative_reception_delay:null!=e?e.relativeReceptionDelay:null,relative_playout_delay:null!=e?e.relativePlayoutDelay:null}))},t.getFrameOpStats=function(){var e=r.default.reduce(this.inboundStats,(function(e,t){return null!=t.frameOpStats.silent&&(e.silent+=t.frameOpStats.silent),null!=t.frameOpStats.normal&&(e.normal+=t.frameOpStats.normal),null!=t.frameOpStats.merged&&(e.merged+=t.frameOpStats.merged),null!=t.frameOpStats.expanded&&(e.expanded+=t.frameOpStats.expanded),null!=t.frameOpStats.accelerated&&(e.accelerated+=t.frameOpStats.accelerated),null!=t.frameOpStats.preemptiveExpanded&&(e.preemptiveExpanded+=t.frameOpStats.preemptiveExpanded),null!=t.frameOpStats.cng&&(e.cng+=t.frameOpStats.cng),e}),{silent:0,normal:0,merged:0,expanded:0,accelerated:0,preemptiveExpanded:0,cng:0});return{frame_op_silent:e.silent,frame_op_normal:e.normal,frame_op_merged:e.merged,frame_op_expanded:e.expanded,frame_op_accelerated:e.accelerated,frame_op_preemptive_expanded:e.preemptiveExpanded,frame_op_cng:e.cng}},t.getDurationStats=function(){return{duration_listening:this.duration.listening,duration_speaking:this.duration.speaking,duration_participation:this.duration.participation,duration_connected:this.duration.connected}},t.getTransportStats=function(){return{decryption_failures:this.decryptionFailures}},t.sampleStats=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,n,o,a,s,u=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=this.connection._connection){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.connection._connection.getStats();case 4:if(null!=(t=e.sent)){e.next=7;break}return e.abrupt("return");case 7:this.networkQuality.incrementNetworkStats((0,i.now)()),this.decryptionFailures=t.transport.decryptionFailures,this.duration.connected++,n=this.outboundStats.packetsSent,o=r.default.reduce(this.inboundStats,(function(e,t){return e.packetsReceived+=t.packetsReceived,e}),{packetsReceived:0}),a=!1,s=!1,r.default.forEach(t.rtp.outbound,(function(e){"audio"===e.type&&(u.outboundStats={packetsSent:e.packetsSent,packetsLost:e.packetsLost||0})})),r.default.forEach(t.rtp.inbound,(function(e,n){r.default.forEach(e,(function(e){if("audio"===e.type){var i=t.transport.ping||0,o=e.packetsReceived,a=e.packetsLost,s=e.jitterBuffer||0,l={audioJitterBuffer:e.audioJitterBuffer,audioJitterTarget:e.audioJitterTarget,audioJitterDelay:e.audioJitterDelay,relativeReceptionDelay:e.relativeReceptionDelay,relativePlayoutDelay:e.relativePlayoutDelay},c={silent:e.opSilence,normal:e.opNormal,merged:e.opMerge,expanded:e.opExpand,accelerated:e.opAccelerate,preemptiveExpanded:e.opPreemptiveExpand,cng:e.opCNG};if(null!=u.inboundStats[n]){var d=o-u.inboundStats[n].packetsReceived,f=a-u.inboundStats[n].packetsLost,_=0,p=u.inboundStats[n].mosBuckets;d>0&&f>=0&&(_=u.calculateMos(i+s,r.default.clamp(f/(d+f),0,1)),p[Math.floor(_)]++),u.inboundStats[n]={packetsReceived:o,packetsLost:a,mos:_,mosSum:u.inboundStats[n].mosSum+_,mosCount:u.inboundStats[n].mosCount+(_>0?1:0),mosBuckets:p,bufferStats:l,frameOpStats:c}}else u.inboundStats[n]={packetsReceived:o,packetsLost:a,mos:0,mosSum:0,mosCount:0,mosBuckets:[0,0,0,0,0],bufferStats:l,frameOpStats:c}}}))})),this.outboundStats.packetsSent>n&&(a=!0,this.duration.speaking++),r.default.reduce(this.inboundStats,(function(e,t){return e.packetsReceived+=t.packetsReceived,e}),{packetsReceived:0}).packetsReceived>o.packetsReceived&&(s=!0,this.duration.listening++),(a||s)&&this.duration.participation++;case 20:case"end":return e.stop()}}),e,this)})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){u(o,r,i,a,s,"next",e)}function s(e){u(o,r,i,a,s,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}(),t.calculateMos=function(e,t){var n=this.calculateR(e,t);return n<0?1:n>100?4.5:1+.035*n+71e-7*n*(n-60)*(100-n)},t.calculateR=function(e,t){return 93.4-(.024*e+(e>177.3?.11*(e-177.3):0))-(10+122*t/(t+10))},e}();t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(34),i=a(n(80)),o=a(n(365));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=function(){function e(e,t){this.maxVoiceStateCount=1,this.speaking=r.SpeakingFlags.NONE,this.maxListenerCount=0,this.maxSpeakerCount=0,this.userId=e,this.channelId=t}var t,n,a,u=e.prototype;return u.updateVoiceStates=function(e,t){t===this.channelId?(this.totalParticipants.add(e),this.maxVoiceStateCount=Math.max(o.default.countVoiceStatesForChannel(t),this.maxVoiceStateCount)):null==t&&e in this.totalSpeakers&&(this.totalSpeakers[e]=r.SpeakingFlags.NONE)},u.getStats=function(){return{max_voice_state_count:this.maxVoiceStateCount,total_voice_state_count:this.totalParticipants.size,max_listener_count:this.maxListenerCount,total_listener_count:this.totalListeners.size,max_speaker_count:this.maxSpeakerCount,total_speaker_count:Object.keys(this.totalSpeakers).length}},u.setSpeaking=function(e,t){var n=this;if(t!==r.SpeakingFlags.NONE){var o=i.default.getVoiceStateForChannel(this._channelId,e);if(null!=o&&!o.selfMute&&!o.mute){this.totalSpeakers[e]=t;var a=Object.values(this.totalSpeakers).filter((function(e){return e!==r.SpeakingFlags.NONE})).length;this.maxSpeakerCount=Math.max(this.maxSpeakerCount,a)}}else e in this.totalSpeakers&&(this.totalSpeakers[e]=r.SpeakingFlags.NONE);if(this.userId===e){if(t===this.speaking)return;if(t!==r.SpeakingFlags.NONE){var s=Object.values(i.default.getVoiceStatesForChannel(this._channelId)).filter((function(e){return e.userId!==n.userId&&!e.selfDeaf&&!e.deaf}));s.forEach((function(e){return n.totalListeners.add(e.userId)})),this.maxListenerCount=Math.max(s.length,this.maxListenerCount)}this.speaking=t}},t=e,(n=[{key:"channelId",set:function(e){var t=this;if(e!==this.channelId){this._channelId=e,this.totalParticipants=new Set([this.userId]);var n=Object.keys(i.default.getVoiceStatesForChannel(this._channelId));n.forEach((function(e){return t.totalParticipants.add(e)})),this.maxVoiceStateCount=Math.max(n.length,this.maxVoiceStateCount),this.speaking=r.SpeakingFlags.NONE,this.maxListenerCount=0,this.totalListeners=new Set,this.maxSpeakerCount=0,this.totalSpeakers={}}},get:function(){return this._channelId}}])&&s(t.prototype,n),a&&s(t,a),e}();t.default=u},function(e,t,n){e.exports=n.p+"d24e290703f8b31b56744a69df613fcb.png"},function(e,t,n){e.exports=n.p+"44a7840b2161275358742595c9257e76.png"},function(e,t,n){e.exports=n.p+"3590df6f2ae2f7202dab15c0bd3aca9a.png"},function(e,t,n){e.exports=n.p+"7fa2adf98f26db34178bb30a63dabe8c.png"},function(e,t,n){e.exports=n.p+"d19290ba3158e138bb241ae669a3bc37.png"},function(e,t,n){e.exports=n.p+"6bf3cf5d375d7561cb3b9bf74212ed45.png"},function(e,t,n){e.exports=n.p+"e6d6b255259ac878d00819a9555072ad.png"},function(e,t,n){e.exports=n.p+"10bb7b2e55f0a34f23d903121de6b9bc.png"},function(e,t,n){e.exports=n.p+"02e75e392ab5d5a8ed5ab4f8fcae9c77.png"},function(e,t,n){e.exports=n.p+"8d1d548a64761f0c5b1d7c9e00ae66a6.png"},function(e,t,n){e.exports=n.p+"78cbfbf0381b8c7f5a192c4a46bd0b0e.png"},function(e,t,n){e.exports=n.p+"cfc9643cb00e44fae64bfeda3556bfd9.png"},function(e,t,n){e.exports=n.p+"08d0c70a708cd25acecb7a8b0cb0eb23.png"},function(e,t,n){e.exports=n.p+"cbf50c2e3287d2118f741e827a3ddaf5.png"},function(e,t,n){e.exports=n.p+"f23c5c28c4429691f7c54af93876d661.png"},function(e,t,n){e.exports=n.p+"ab02db863b7edeaa46bf4cd49b6646a9.png"},function(e,t,n){e.exports=n.p+"7eb9487d4dac00095f8ed2d2c80b21a8.png"},function(e,t,n){e.exports=n.p+"c9f51873ae719a6b4b8c6724362e999e.png"},function(e,t,n){e.exports=n.p+"fcdf14841cd468de3f43704be16fa303.png"},function(e,t,n){e.exports=n.p+"894cceea2dd5b523936930d1d7e333c5.png"},function(e,t,n){e.exports=n.p+"7beab7b17eaa9ff7ceed3e5b1af274c2.png"},function(e,t,n){e.exports=n.p+"d5073ab2ca9ee7c06c3f4d761968ac44.png"},function(e,t,n){e.exports=n.p+"64f37efd5319b9b581557604864f042a.png"},function(e,t,n){e.exports=n.p+"2ac1239c26c4ae1d27817a9d7b85dc53.png"},function(e,t,n){e.exports=n.p+"da07da4bde6f81f16366b62e8fcc90ec.png"},function(e,t,n){e.exports=n.p+"8e1cf1f1cf2a1a917002b8b583270c32.png"},function(e,t,n){e.exports=n.p+"d52ce383ca6d8eb53588bcc042574cae.png"},function(e,t,n){e.exports=n.p+"b1309f8892f138383d8b0b6ff8e23463.png"},function(e,t,n){e.exports=n.p+"b2da62f020089ccee92860e4defafdb4.png"},function(e,t,n){e.exports=n.p+"4db0790f7a81e49025d7fbfb9aeb182c.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selectVoiceChannelAdditional=void 0;var r=E(n(2)),i=E(n(1783)),o=n(1294),a=E(n(1784)),s=E(n(10)),u=E(n(15)),l=E(n(1219)),c=E(n(36)),d=E(n(80)),f=n(41),_=n(292),p=n(1);function E(e){return e&&e.__esModule?e:{default:e}}t.selectVoiceChannelAdditional=function(e,t,n,E){void 0===n&&(n=!1),void 0===E&&(E=!1);var h=s.default.getChannel(e),m=d.default.getCurrentClientVoiceChannelId(null!=t?t:null)===e,v=null!=h?l.default.getCheck(h.guild_id):null;(null==v||v.canChat||(0,o.canLurkerListen)(h))&&(null==h||!(0,_.isChannelFull)(h,d.default,u.default)||m?(0,a.default)((function(){r.default.dirtyDispatch({type:p.ActionTypes.VOICE_CHANNEL_SELECT,guildId:t,channelId:e,currentVoiceChannelId:c.default.getVoiceChannelId(),video:n,stream:E})}),e,E,n):(0,f.openModal)(i.default))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n)}(n(0));var r,i=d(n(29)),o=d(n(55)),a=n(35),s=d(n(47)),u=d(n(24)),l=d(n(6)),c=d(n(5727));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function _(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.transitionState,n=e.onClose;return _(a.ModalRoot,{size:a.ModalSize.DYNAMIC,transitionState:t,"aria-label":l.default.Messages.UNABLE_TO_JOIN_CHANNEL_FULL_MODAL_HEADER},void 0,_(a.ModalHeader,{justify:o.default.Justify.BETWEEN,separator:!1},void 0,_(s.default,{size:s.default.Sizes.SIZE_16,className:c.default.header},void 0,l.default.Messages.UNABLE_TO_JOIN_CHANNEL_FULL_MODAL_HEADER),_(a.ModalCloseButton,{onClick:n})),_(a.ModalContent,{},void 0,_(u.default,{},void 0,l.default.Messages.UNABLE_TO_JOIN_CHANNEL_FULL_MODAL_BODY),_("div",{className:c.default.fullArt})),_(a.ModalFooter,{},void 0,_(i.default,{onClick:n},void 0,l.default.Messages.OKAY)))}p.displayName="ChannelFullModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,c){var f=u.default.getVoiceChannelId(),_=a.default.getChannel(f);if(null==t&&null!=f&&_){var p=function(e,t){return d({channel_id:e.id,channel_type:e.type,guild_id:e.getGuildId(),rtc_connection_id:s.default.getRTCConnectionId(),duration:s.default.getDuration(),media_session_id:s.default.getMediaSessionId()},(0,o.getVoiceStateMetadata)(s.default.getGuildId(),s.default.getChannelId(),t))}(_,c);e();var E=i.default.getSelfEmbeddedActivities().has(null!=t?t:"");n||E||r.default.dispatch({type:l.ActionTypes.VOICE_CHANNEL_SHOW_FEEDBACK,analyticsData:p})}else e()};var r=c(n(2)),i=c(n(294)),o=n(106),a=c(n(10)),s=c(n(94)),u=c(n(36)),l=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function d(){return(d=Object.assign||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}).apply(this,arguments)}},function(e,t,n){var r=n(720);e.exports=function(){return r.Date.now()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(62)),i=o(n(89));function o(e){return e&&e.__esModule?e:{default:e}}function a(){return(a=Object.assign||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}).apply(this,arguments)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){var t,n;function r(t){var n;return(n=e.call(this)||this).id=t.id,n.name=t.name,n.type=t.type,n.user=t.user,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n),r.createFromServer=function(e){return new r(a({},e,{user:new i.default(e.user)}))},r}(r.default);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(488));function i(e){return e&&e.__esModule?e:{default:e}}var o={getURL:i(n(1788)).default.makeMemoizer((function(e){if(["™","™️","©","©️","®","®️"].indexOf(e)>-1)return"";try{var t=e.indexOf("‍")<0?e.replace("️",""):e;return n(1789)("./"+r.default.convert.toCodePoint(t)+".svg")}catch(t){return console.warn(t,"no emoji for",e),""}}))};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={makeMemoizer:function(e){var t=new Map;return function(n){var r=t.get(n);return void 0===r&&(r=e(n),t.set(n,r)),r}}};t.default=r},function(e,t,n){var r={"./1f004.svg":1790,"./1f0cf.svg":1791,"./1f170.svg":1792,"./1f171.svg":1793,"./1f17e.svg":1794,"./1f17f.svg":1795,"./1f18e.svg":1796,"./1f191.svg":1797,"./1f192.svg":1798,"./1f193.svg":1799,"./1f194.svg":1800,"./1f195.svg":1801,"./1f196.svg":1802,"./1f197.svg":1803,"./1f198.svg":1804,"./1f199.svg":1805,"./1f19a.svg":1806,"./1f1e6-1f1e8.svg":1807,"./1f1e6-1f1e9.svg":1808,"./1f1e6-1f1ea.svg":1809,"./1f1e6-1f1eb.svg":1810,"./1f1e6-1f1ec.svg":1811,"./1f1e6-1f1ee.svg":1812,"./1f1e6-1f1f1.svg":1813,"./1f1e6-1f1f2.svg":1814,"./1f1e6-1f1f4.svg":1815,"./1f1e6-1f1f6.svg":1816,"./1f1e6-1f1f7.svg":1817,"./1f1e6-1f1f8.svg":1818,"./1f1e6-1f1f9.svg":1819,"./1f1e6-1f1fa.svg":1820,"./1f1e6-1f1fc.svg":1821,"./1f1e6-1f1fd.svg":1822,"./1f1e6-1f1ff.svg":1823,"./1f1e6.svg":1824,"./1f1e7-1f1e6.svg":1825,"./1f1e7-1f1e7.svg":1826,"./1f1e7-1f1e9.svg":1827,"./1f1e7-1f1ea.svg":1828,"./1f1e7-1f1eb.svg":1829,"./1f1e7-1f1ec.svg":1830,"./1f1e7-1f1ed.svg":1831,"./1f1e7-1f1ee.svg":1832,"./1f1e7-1f1ef.svg":1833,"./1f1e7-1f1f1.svg":1834,"./1f1e7-1f1f2.svg":1835,"./1f1e7-1f1f3.svg":1836,"./1f1e7-1f1f4.svg":1837,"./1f1e7-1f1f6.svg":1838,"./1f1e7-1f1f7.svg":1839,"./1f1e7-1f1f8.svg":1840,"./1f1e7-1f1f9.svg":1841,"./1f1e7-1f1fb.svg":1842,"./1f1e7-1f1fc.svg":1843,"./1f1e7-1f1fe.svg":1844,"./1f1e7-1f1ff.svg":1845,"./1f1e7.svg":1846,"./1f1e8-1f1e6.svg":1847,"./1f1e8-1f1e8.svg":1848,"./1f1e8-1f1e9.svg":1849,"./1f1e8-1f1eb.svg":1850,"./1f1e8-1f1ec.svg":1851,"./1f1e8-1f1ed.svg":1852,"./1f1e8-1f1ee.svg":1853,"./1f1e8-1f1f0.svg":1854,"./1f1e8-1f1f1.svg":1855,"./1f1e8-1f1f2.svg":1856,"./1f1e8-1f1f3.svg":1857,"./1f1e8-1f1f4.svg":1858,"./1f1e8-1f1f5.svg":1859,"./1f1e8-1f1f7.svg":1860,"./1f1e8-1f1fa.svg":1861,"./1f1e8-1f1fb.svg":1862,"./1f1e8-1f1fc.svg":1863,"./1f1e8-1f1fd.svg":1864,"./1f1e8-1f1fe.svg":1865,"./1f1e8-1f1ff.svg":1866,"./1f1e8.svg":1867,"./1f1e9-1f1ea.svg":1868,"./1f1e9-1f1ec.svg":1869,"./1f1e9-1f1ef.svg":1870,"./1f1e9-1f1f0.svg":1871,"./1f1e9-1f1f2.svg":1872,"./1f1e9-1f1f4.svg":1873,"./1f1e9-1f1ff.svg":1874,"./1f1e9.svg":1875,"./1f1ea-1f1e6.svg":1876,"./1f1ea-1f1e8.svg":1877,"./1f1ea-1f1ea.svg":1878,"./1f1ea-1f1ec.svg":1879,"./1f1ea-1f1ed.svg":1880,"./1f1ea-1f1f7.svg":1881,"./1f1ea-1f1f8.svg":1882,"./1f1ea-1f1f9.svg":1883,"./1f1ea-1f1fa.svg":1884,"./1f1ea.svg":1885,"./1f1eb-1f1ee.svg":1886,"./1f1eb-1f1ef.svg":1887,"./1f1eb-1f1f0.svg":1888,"./1f1eb-1f1f2.svg":1889,"./1f1eb-1f1f4.svg":1890,"./1f1eb-1f1f7.svg":1891,"./1f1eb.svg":1892,"./1f1ec-1f1e6.svg":1893,"./1f1ec-1f1e7.svg":1894,"./1f1ec-1f1e9.svg":1895,"./1f1ec-1f1ea.svg":1896,"./1f1ec-1f1eb.svg":1897,"./1f1ec-1f1ec.svg":1898,"./1f1ec-1f1ed.svg":1899,"./1f1ec-1f1ee.svg":1900,"./1f1ec-1f1f1.svg":1901,"./1f1ec-1f1f2.svg":1902,"./1f1ec-1f1f3.svg":1903,"./1f1ec-1f1f5.svg":1904,"./1f1ec-1f1f6.svg":1905,"./1f1ec-1f1f7.svg":1906,"./1f1ec-1f1f8.svg":1907,"./1f1ec-1f1f9.svg":1908,"./1f1ec-1f1fa.svg":1909,"./1f1ec-1f1fc.svg":1910,"./1f1ec-1f1fe.svg":1911,"./1f1ec.svg":1912,"./1f1ed-1f1f0.svg":1913,"./1f1ed-1f1f2.svg":1914,"./1f1ed-1f1f3.svg":1915,"./1f1ed-1f1f7.svg":1916,"./1f1ed-1f1f9.svg":1917,"./1f1ed-1f1fa.svg":1918,"./1f1ed.svg":1919,"./1f1ee-1f1e8.svg":1920,"./1f1ee-1f1e9.svg":1921,"./1f1ee-1f1ea.svg":1922,"./1f1ee-1f1f1.svg":1923,"./1f1ee-1f1f2.svg":1924,"./1f1ee-1f1f3.svg":1925,"./1f1ee-1f1f4.svg":1926,"./1f1ee-1f1f6.svg":1927,"./1f1ee-1f1f7.svg":1928,"./1f1ee-1f1f8.svg":1929,"./1f1ee-1f1f9.svg":1930,"./1f1ee.svg":1931,"./1f1ef-1f1ea.svg":1932,"./1f1ef-1f1f2.svg":1933,"./1f1ef-1f1f4.svg":1934,"./1f1ef-1f1f5.svg":1935,"./1f1ef.svg":1936,"./1f1f0-1f1ea.svg":1937,"./1f1f0-1f1ec.svg":1938,"./1f1f0-1f1ed.svg":1939,"./1f1f0-1f1ee.svg":1940,"./1f1f0-1f1f2.svg":1941,"./1f1f0-1f1f3.svg":1942,"./1f1f0-1f1f5.svg":1943,"./1f1f0-1f1f7.svg":1944,"./1f1f0-1f1fc.svg":1945,"./1f1f0-1f1fe.svg":1946,"./1f1f0-1f1ff.svg":1947,"./1f1f0.svg":1948,"./1f1f1-1f1e6.svg":1949,"./1f1f1-1f1e7.svg":1950,"./1f1f1-1f1e8.svg":1951,"./1f1f1-1f1ee.svg":1952,"./1f1f1-1f1f0.svg":1953,"./1f1f1-1f1f7.svg":1954,"./1f1f1-1f1f8.svg":1955,"./1f1f1-1f1f9.svg":1956,"./1f1f1-1f1fa.svg":1957,"./1f1f1-1f1fb.svg":1958,"./1f1f1-1f1fe.svg":1959,"./1f1f1.svg":1960,"./1f1f2-1f1e6.svg":1961,"./1f1f2-1f1e8.svg":1962,"./1f1f2-1f1e9.svg":1963,"./1f1f2-1f1ea.svg":1964,"./1f1f2-1f1eb.svg":1965,"./1f1f2-1f1ec.svg":1966,"./1f1f2-1f1ed.svg":1967,"./1f1f2-1f1f0.svg":1968,"./1f1f2-1f1f1.svg":1969,"./1f1f2-1f1f2.svg":1970,"./1f1f2-1f1f3.svg":1971,"./1f1f2-1f1f4.svg":1972,"./1f1f2-1f1f5.svg":1973,"./1f1f2-1f1f6.svg":1974,"./1f1f2-1f1f7.svg":1975,"./1f1f2-1f1f8.svg":1976,"./1f1f2-1f1f9.svg":1977,"./1f1f2-1f1fa.svg":1978,"./1f1f2-1f1fb.svg":1979,"./1f1f2-1f1fc.svg":1980,"./1f1f2-1f1fd.svg":1981,"./1f1f2-1f1fe.svg":1982,"./1f1f2-1f1ff.svg":1983,"./1f1f2.svg":1984,"./1f1f3-1f1e6.svg":1985,"./1f1f3-1f1e8.svg":1986,"./1f1f3-1f1ea.svg":1987,"./1f1f3-1f1eb.svg":1988,"./1f1f3-1f1ec.svg":1989,"./1f1f3-1f1ee.svg":1990,"./1f1f3-1f1f1.svg":1991,"./1f1f3-1f1f4.svg":1992,"./1f1f3-1f1f5.svg":1993,"./1f1f3-1f1f7.svg":1994,"./1f1f3-1f1fa.svg":1995,"./1f1f3-1f1ff.svg":1996,"./1f1f3.svg":1997,"./1f1f4-1f1f2.svg":1998,"./1f1f4.svg":1999,"./1f1f5-1f1e6.svg":2e3,"./1f1f5-1f1ea.svg":2001,"./1f1f5-1f1eb.svg":2002,"./1f1f5-1f1ec.svg":2003,"./1f1f5-1f1ed.svg":2004,"./1f1f5-1f1f0.svg":2005,"./1f1f5-1f1f1.svg":2006,"./1f1f5-1f1f2.svg":2007,"./1f1f5-1f1f3.svg":2008,"./1f1f5-1f1f7.svg":2009,"./1f1f5-1f1f8.svg":2010,"./1f1f5-1f1f9.svg":2011,"./1f1f5-1f1fc.svg":2012,"./1f1f5-1f1fe.svg":2013,"./1f1f5.svg":2014,"./1f1f6-1f1e6.svg":2015,"./1f1f6.svg":2016,"./1f1f7-1f1ea.svg":2017,"./1f1f7-1f1f4.svg":2018,"./1f1f7-1f1f8.svg":2019,"./1f1f7-1f1fa.svg":2020,"./1f1f7-1f1fc.svg":2021,"./1f1f7.svg":2022,"./1f1f8-1f1e6.svg":2023,"./1f1f8-1f1e7.svg":2024,"./1f1f8-1f1e8.svg":2025,"./1f1f8-1f1e9.svg":2026,"./1f1f8-1f1ea.svg":2027,"./1f1f8-1f1ec.svg":2028,"./1f1f8-1f1ed.svg":2029,"./1f1f8-1f1ee.svg":2030,"./1f1f8-1f1ef.svg":2031,"./1f1f8-1f1f0.svg":2032,"./1f1f8-1f1f1.svg":2033,"./1f1f8-1f1f2.svg":2034,"./1f1f8-1f1f3.svg":2035,"./1f1f8-1f1f4.svg":2036,"./1f1f8-1f1f7.svg":2037,"./1f1f8-1f1f8.svg":2038,"./1f1f8-1f1f9.svg":2039,"./1f1f8-1f1fb.svg":2040,"./1f1f8-1f1fd.svg":2041,"./1f1f8-1f1fe.svg":2042,"./1f1f8-1f1ff.svg":2043,"./1f1f8.svg":2044,"./1f1f9-1f1e6.svg":2045,"./1f1f9-1f1e8.svg":2046,"./1f1f9-1f1e9.svg":2047,"./1f1f9-1f1eb.svg":2048,"./1f1f9-1f1ec.svg":2049,"./1f1f9-1f1ed.svg":2050,"./1f1f9-1f1ef.svg":2051,"./1f1f9-1f1f0.svg":2052,"./1f1f9-1f1f1.svg":2053,"./1f1f9-1f1f2.svg":2054,"./1f1f9-1f1f3.svg":2055,"./1f1f9-1f1f4.svg":2056,"./1f1f9-1f1f7.svg":2057,"./1f1f9-1f1f9.svg":2058,"./1f1f9-1f1fb.svg":2059,"./1f1f9-1f1fc.svg":2060,"./1f1f9-1f1ff.svg":2061,"./1f1f9.svg":2062,"./1f1fa-1f1e6.svg":2063,"./1f1fa-1f1ec.svg":2064,"./1f1fa-1f1f2.svg":2065,"./1f1fa-1f1f3.svg":2066,"./1f1fa-1f1f8.svg":2067,"./1f1fa-1f1fe.svg":2068,"./1f1fa-1f1ff.svg":2069,"./1f1fa.svg":2070,"./1f1fb-1f1e6.svg":2071,"./1f1fb-1f1e8.svg":2072,"./1f1fb-1f1ea.svg":2073,"./1f1fb-1f1ec.svg":2074,"./1f1fb-1f1ee.svg":2075,"./1f1fb-1f1f3.svg":2076,"./1f1fb-1f1fa.svg":2077,"./1f1fb.svg":2078,"./1f1fc-1f1eb.svg":2079,"./1f1fc-1f1f8.svg":2080,"./1f1fc.svg":2081,"./1f1fd-1f1f0.svg":2082,"./1f1fd.svg":2083,"./1f1fe-1f1ea.svg":2084,"./1f1fe-1f1f9.svg":2085,"./1f1fe.svg":2086,"./1f1ff-1f1e6.svg":2087,"./1f1ff-1f1f2.svg":2088,"./1f1ff-1f1fc.svg":2089,"./1f1ff.svg":2090,"./1f201.svg":2091,"./1f202.svg":2092,"./1f21a.svg":2093,"./1f22f.svg":2094,"./1f232.svg":2095,"./1f233.svg":2096,"./1f234.svg":2097,"./1f235.svg":2098,"./1f236.svg":2099,"./1f237.svg":2100,"./1f238.svg":2101,"./1f239.svg":2102,"./1f23a.svg":2103,"./1f250.svg":2104,"./1f251.svg":2105,"./1f300.svg":2106,"./1f301.svg":2107,"./1f302.svg":2108,"./1f303.svg":2109,"./1f304.svg":2110,"./1f305.svg":2111,"./1f306.svg":2112,"./1f307.svg":2113,"./1f308.svg":2114,"./1f309.svg":2115,"./1f30a.svg":2116,"./1f30b.svg":2117,"./1f30c.svg":2118,"./1f30d.svg":2119,"./1f30e.svg":2120,"./1f30f.svg":2121,"./1f310.svg":2122,"./1f311.svg":2123,"./1f312.svg":2124,"./1f313.svg":2125,"./1f314.svg":2126,"./1f315.svg":2127,"./1f316.svg":2128,"./1f317.svg":2129,"./1f318.svg":2130,"./1f319.svg":2131,"./1f31a.svg":2132,"./1f31b.svg":2133,"./1f31c.svg":2134,"./1f31d.svg":2135,"./1f31e.svg":2136,"./1f31f.svg":2137,"./1f320.svg":2138,"./1f321.svg":2139,"./1f324.svg":2140,"./1f325.svg":2141,"./1f326.svg":2142,"./1f327.svg":2143,"./1f328.svg":2144,"./1f329.svg":2145,"./1f32a.svg":2146,"./1f32b.svg":2147,"./1f32c.svg":2148,"./1f32d.svg":2149,"./1f32e.svg":2150,"./1f32f.svg":2151,"./1f330.svg":2152,"./1f331.svg":2153,"./1f332.svg":2154,"./1f333.svg":2155,"./1f334.svg":2156,"./1f335.svg":2157,"./1f336.svg":2158,"./1f337.svg":2159,"./1f338.svg":2160,"./1f339.svg":2161,"./1f33a.svg":2162,"./1f33b.svg":2163,"./1f33c.svg":2164,"./1f33d.svg":2165,"./1f33e.svg":2166,"./1f33f.svg":2167,"./1f340.svg":2168,"./1f341.svg":2169,"./1f342.svg":2170,"./1f343.svg":2171,"./1f344.svg":2172,"./1f345.svg":2173,"./1f346.svg":2174,"./1f347.svg":2175,"./1f348.svg":2176,"./1f349.svg":2177,"./1f34a.svg":2178,"./1f34b.svg":2179,"./1f34c.svg":2180,"./1f34d.svg":2181,"./1f34e.svg":2182,"./1f34f.svg":2183,"./1f350.svg":2184,"./1f351.svg":2185,"./1f352.svg":2186,"./1f353.svg":2187,"./1f354.svg":2188,"./1f355.svg":2189,"./1f356.svg":2190,"./1f357.svg":2191,"./1f358.svg":2192,"./1f359.svg":2193,"./1f35a.svg":2194,"./1f35b.svg":2195,"./1f35c.svg":2196,"./1f35d.svg":2197,"./1f35e.svg":2198,"./1f35f.svg":2199,"./1f360.svg":2200,"./1f361.svg":2201,"./1f362.svg":2202,"./1f363.svg":2203,"./1f364.svg":2204,"./1f365.svg":2205,"./1f366.svg":2206,"./1f367.svg":2207,"./1f368.svg":2208,"./1f369.svg":2209,"./1f36a.svg":2210,"./1f36b.svg":2211,"./1f36c.svg":2212,"./1f36d.svg":2213,"./1f36e.svg":2214,"./1f36f.svg":2215,"./1f370.svg":2216,"./1f371.svg":2217,"./1f372.svg":2218,"./1f373.svg":2219,"./1f374.svg":2220,"./1f375.svg":2221,"./1f376.svg":2222,"./1f377.svg":2223,"./1f378.svg":2224,"./1f379.svg":2225,"./1f37a.svg":2226,"./1f37b.svg":2227,"./1f37c.svg":2228,"./1f37d.svg":2229,"./1f37e.svg":2230,"./1f37f.svg":2231,"./1f380.svg":2232,"./1f381.svg":2233,"./1f382.svg":2234,"./1f383.svg":2235,"./1f384.svg":2236,"./1f385-1f3fb.svg":2237,"./1f385-1f3fc.svg":2238,"./1f385-1f3fd.svg":2239,"./1f385-1f3fe.svg":2240,"./1f385-1f3ff.svg":2241,"./1f385.svg":2242,"./1f386.svg":2243,"./1f387.svg":2244,"./1f388.svg":2245,"./1f389.svg":2246,"./1f38a.svg":2247,"./1f38b.svg":2248,"./1f38c.svg":2249,"./1f38d.svg":2250,"./1f38e.svg":2251,"./1f38f.svg":2252,"./1f390.svg":2253,"./1f391.svg":2254,"./1f392.svg":2255,"./1f393.svg":2256,"./1f396.svg":2257,"./1f397.svg":2258,"./1f399.svg":2259,"./1f39a.svg":2260,"./1f39b.svg":2261,"./1f39e.svg":2262,"./1f39f.svg":2263,"./1f3a0.svg":2264,"./1f3a1.svg":2265,"./1f3a2.svg":2266,"./1f3a3.svg":2267,"./1f3a4.svg":2268,"./1f3a5.svg":2269,"./1f3a6.svg":2270,"./1f3a7.svg":2271,"./1f3a8.svg":2272,"./1f3a9.svg":2273,"./1f3aa.svg":2274,"./1f3ab.svg":2275,"./1f3ac.svg":2276,"./1f3ad.svg":2277,"./1f3ae.svg":2278,"./1f3af.svg":2279,"./1f3b0.svg":2280,"./1f3b1.svg":2281,"./1f3b2.svg":2282,"./1f3b3.svg":2283,"./1f3b4.svg":2284,"./1f3b5.svg":2285,"./1f3b6.svg":2286,"./1f3b7.svg":2287,"./1f3b8.svg":2288,"./1f3b9.svg":2289,"./1f3ba.svg":2290,"./1f3bb.svg":2291,"./1f3bc.svg":2292,"./1f3bd.svg":2293,"./1f3be.svg":2294,"./1f3bf.svg":2295,"./1f3c0.svg":2296,"./1f3c1.svg":2297,"./1f3c2-1f3fb.svg":2298,"./1f3c2-1f3fc.svg":2299,"./1f3c2-1f3fd.svg":2300,"./1f3c2-1f3fe.svg":2301,"./1f3c2-1f3ff.svg":2302,"./1f3c2.svg":2303,"./1f3c3-1f3fb-200d-2640-fe0f.svg":2304,"./1f3c3-1f3fb-200d-2642-fe0f.svg":2305,"./1f3c3-1f3fb.svg":2306,"./1f3c3-1f3fc-200d-2640-fe0f.svg":2307,"./1f3c3-1f3fc-200d-2642-fe0f.svg":2308,"./1f3c3-1f3fc.svg":2309,"./1f3c3-1f3fd-200d-2640-fe0f.svg":2310,"./1f3c3-1f3fd-200d-2642-fe0f.svg":2311,"./1f3c3-1f3fd.svg":2312,"./1f3c3-1f3fe-200d-2640-fe0f.svg":2313,"./1f3c3-1f3fe-200d-2642-fe0f.svg":2314,"./1f3c3-1f3fe.svg":2315,"./1f3c3-1f3ff-200d-2640-fe0f.svg":2316,"./1f3c3-1f3ff-200d-2642-fe0f.svg":2317,"./1f3c3-1f3ff.svg":2318,"./1f3c3-200d-2640-fe0f.svg":2319,"./1f3c3-200d-2642-fe0f.svg":2320,"./1f3c3.svg":2321,"./1f3c4-1f3fb-200d-2640-fe0f.svg":2322,"./1f3c4-1f3fb-200d-2642-fe0f.svg":2323,"./1f3c4-1f3fb.svg":2324,"./1f3c4-1f3fc-200d-2640-fe0f.svg":2325,"./1f3c4-1f3fc-200d-2642-fe0f.svg":2326,"./1f3c4-1f3fc.svg":2327,"./1f3c4-1f3fd-200d-2640-fe0f.svg":2328,"./1f3c4-1f3fd-200d-2642-fe0f.svg":2329,"./1f3c4-1f3fd.svg":2330,"./1f3c4-1f3fe-200d-2640-fe0f.svg":2331,"./1f3c4-1f3fe-200d-2642-fe0f.svg":2332,"./1f3c4-1f3fe.svg":2333,"./1f3c4-1f3ff-200d-2640-fe0f.svg":2334,"./1f3c4-1f3ff-200d-2642-fe0f.svg":2335,"./1f3c4-1f3ff.svg":2336,"./1f3c4-200d-2640-fe0f.svg":2337,"./1f3c4-200d-2642-fe0f.svg":2338,"./1f3c4.svg":2339,"./1f3c5.svg":2340,"./1f3c6.svg":2341,"./1f3c7-1f3fb.svg":2342,"./1f3c7-1f3fc.svg":2343,"./1f3c7-1f3fd.svg":2344,"./1f3c7-1f3fe.svg":2345,"./1f3c7-1f3ff.svg":2346,"./1f3c7.svg":2347,"./1f3c8.svg":2348,"./1f3c9.svg":2349,"./1f3ca-1f3fb-200d-2640-fe0f.svg":2350,"./1f3ca-1f3fb-200d-2642-fe0f.svg":2351,"./1f3ca-1f3fb.svg":2352,"./1f3ca-1f3fc-200d-2640-fe0f.svg":2353,"./1f3ca-1f3fc-200d-2642-fe0f.svg":2354,"./1f3ca-1f3fc.svg":2355,"./1f3ca-1f3fd-200d-2640-fe0f.svg":2356,"./1f3ca-1f3fd-200d-2642-fe0f.svg":2357,"./1f3ca-1f3fd.svg":2358,"./1f3ca-1f3fe-200d-2640-fe0f.svg":2359,"./1f3ca-1f3fe-200d-2642-fe0f.svg":2360,"./1f3ca-1f3fe.svg":2361,"./1f3ca-1f3ff-200d-2640-fe0f.svg":2362,"./1f3ca-1f3ff-200d-2642-fe0f.svg":2363,"./1f3ca-1f3ff.svg":2364,"./1f3ca-200d-2640-fe0f.svg":2365,"./1f3ca-200d-2642-fe0f.svg":2366,"./1f3ca.svg":2367,"./1f3cb-1f3fb-200d-2640-fe0f.svg":2368,"./1f3cb-1f3fb-200d-2642-fe0f.svg":2369,"./1f3cb-1f3fb.svg":2370,"./1f3cb-1f3fc-200d-2640-fe0f.svg":2371,"./1f3cb-1f3fc-200d-2642-fe0f.svg":2372,"./1f3cb-1f3fc.svg":2373,"./1f3cb-1f3fd-200d-2640-fe0f.svg":2374,"./1f3cb-1f3fd-200d-2642-fe0f.svg":2375,"./1f3cb-1f3fd.svg":2376,"./1f3cb-1f3fe-200d-2640-fe0f.svg":2377,"./1f3cb-1f3fe-200d-2642-fe0f.svg":2378,"./1f3cb-1f3fe.svg":2379,"./1f3cb-1f3ff-200d-2640-fe0f.svg":2380,"./1f3cb-1f3ff-200d-2642-fe0f.svg":2381,"./1f3cb-1f3ff.svg":2382,"./1f3cb-fe0f-200d-2640-fe0f.svg":2383,"./1f3cb-fe0f-200d-2642-fe0f.svg":2384,"./1f3cb.svg":2385,"./1f3cc-1f3fb-200d-2640-fe0f.svg":2386,"./1f3cc-1f3fb-200d-2642-fe0f.svg":2387,"./1f3cc-1f3fb.svg":2388,"./1f3cc-1f3fc-200d-2640-fe0f.svg":2389,"./1f3cc-1f3fc-200d-2642-fe0f.svg":2390,"./1f3cc-1f3fc.svg":2391,"./1f3cc-1f3fd-200d-2640-fe0f.svg":2392,"./1f3cc-1f3fd-200d-2642-fe0f.svg":2393,"./1f3cc-1f3fd.svg":2394,"./1f3cc-1f3fe-200d-2640-fe0f.svg":2395,"./1f3cc-1f3fe-200d-2642-fe0f.svg":2396,"./1f3cc-1f3fe.svg":2397,"./1f3cc-1f3ff-200d-2640-fe0f.svg":2398,"./1f3cc-1f3ff-200d-2642-fe0f.svg":2399,"./1f3cc-1f3ff.svg":2400,"./1f3cc-fe0f-200d-2640-fe0f.svg":2401,"./1f3cc-fe0f-200d-2642-fe0f.svg":2402,"./1f3cc.svg":2403,"./1f3cd.svg":2404,"./1f3ce.svg":2405,"./1f3cf.svg":2406,"./1f3d0.svg":2407,"./1f3d1.svg":2408,"./1f3d2.svg":2409,"./1f3d3.svg":2410,"./1f3d4.svg":2411,"./1f3d5.svg":2412,"./1f3d6.svg":2413,"./1f3d7.svg":2414,"./1f3d8.svg":2415,"./1f3d9.svg":2416,"./1f3da.svg":2417,"./1f3db.svg":2418,"./1f3dc.svg":2419,"./1f3dd.svg":2420,"./1f3de.svg":2421,"./1f3df.svg":2422,"./1f3e0.svg":2423,"./1f3e1.svg":2424,"./1f3e2.svg":2425,"./1f3e3.svg":2426,"./1f3e4.svg":2427,"./1f3e5.svg":2428,"./1f3e6.svg":2429,"./1f3e7.svg":2430,"./1f3e8.svg":2431,"./1f3e9.svg":2432,"./1f3ea.svg":2433,"./1f3eb.svg":2434,"./1f3ec.svg":2435,"./1f3ed.svg":2436,"./1f3ee.svg":2437,"./1f3ef.svg":2438,"./1f3f0.svg":2439,"./1f3f3-fe0f-200d-1f308.svg":2440,"./1f3f3-fe0f-200d-26a7-fe0f.svg":2441,"./1f3f3.svg":2442,"./1f3f4-200d-2620-fe0f.svg":2443,"./1f3f4-e0067-e0062-e0065-e006e-e0067-e007f.svg":2444,"./1f3f4-e0067-e0062-e0073-e0063-e0074-e007f.svg":2445,"./1f3f4-e0067-e0062-e0077-e006c-e0073-e007f.svg":2446,"./1f3f4.svg":2447,"./1f3f5.svg":2448,"./1f3f7.svg":2449,"./1f3f8.svg":2450,"./1f3f9.svg":2451,"./1f3fa.svg":2452,"./1f3fb.svg":2453,"./1f3fc.svg":2454,"./1f3fd.svg":2455,"./1f3fe.svg":2456,"./1f3ff.svg":2457,"./1f400.svg":2458,"./1f401.svg":2459,"./1f402.svg":2460,"./1f403.svg":2461,"./1f404.svg":2462,"./1f405.svg":2463,"./1f406.svg":2464,"./1f407.svg":2465,"./1f408-200d-2b1b.svg":2466,"./1f408.svg":2467,"./1f409.svg":2468,"./1f40a.svg":2469,"./1f40b.svg":2470,"./1f40c.svg":2471,"./1f40d.svg":2472,"./1f40e.svg":2473,"./1f40f.svg":2474,"./1f410.svg":2475,"./1f411.svg":2476,"./1f412.svg":2477,"./1f413.svg":2478,"./1f414.svg":2479,"./1f415-200d-1f9ba.svg":2480,"./1f415.svg":2481,"./1f416.svg":2482,"./1f417.svg":2483,"./1f418.svg":2484,"./1f419.svg":2485,"./1f41a.svg":2486,"./1f41b.svg":2487,"./1f41c.svg":2488,"./1f41d.svg":2489,"./1f41e.svg":2490,"./1f41f.svg":2491,"./1f420.svg":2492,"./1f421.svg":2493,"./1f422.svg":2494,"./1f423.svg":2495,"./1f424.svg":2496,"./1f425.svg":2497,"./1f426.svg":2498,"./1f427.svg":2499,"./1f428.svg":2500,"./1f429.svg":2501,"./1f42a.svg":2502,"./1f42b.svg":2503,"./1f42c.svg":2504,"./1f42d.svg":2505,"./1f42e.svg":2506,"./1f42f.svg":2507,"./1f430.svg":2508,"./1f431.svg":2509,"./1f432.svg":2510,"./1f433.svg":2511,"./1f434.svg":2512,"./1f435.svg":2513,"./1f436.svg":2514,"./1f437.svg":2515,"./1f438.svg":2516,"./1f439.svg":2517,"./1f43a.svg":2518,"./1f43b-200d-2744-fe0f.svg":2519,"./1f43b.svg":2520,"./1f43c.svg":2521,"./1f43d.svg":2522,"./1f43e.svg":2523,"./1f43f.svg":2524,"./1f440.svg":2525,"./1f441-200d-1f5e8.svg":2526,"./1f441.svg":2527,"./1f442-1f3fb.svg":2528,"./1f442-1f3fc.svg":2529,"./1f442-1f3fd.svg":2530,"./1f442-1f3fe.svg":2531,"./1f442-1f3ff.svg":2532,"./1f442.svg":2533,"./1f443-1f3fb.svg":2534,"./1f443-1f3fc.svg":2535,"./1f443-1f3fd.svg":2536,"./1f443-1f3fe.svg":2537,"./1f443-1f3ff.svg":2538,"./1f443.svg":2539,"./1f444.svg":2540,"./1f445.svg":2541,"./1f446-1f3fb.svg":2542,"./1f446-1f3fc.svg":2543,"./1f446-1f3fd.svg":2544,"./1f446-1f3fe.svg":2545,"./1f446-1f3ff.svg":2546,"./1f446.svg":2547,"./1f447-1f3fb.svg":2548,"./1f447-1f3fc.svg":2549,"./1f447-1f3fd.svg":2550,"./1f447-1f3fe.svg":2551,"./1f447-1f3ff.svg":2552,"./1f447.svg":2553,"./1f448-1f3fb.svg":2554,"./1f448-1f3fc.svg":2555,"./1f448-1f3fd.svg":2556,"./1f448-1f3fe.svg":2557,"./1f448-1f3ff.svg":2558,"./1f448.svg":2559,"./1f449-1f3fb.svg":2560,"./1f449-1f3fc.svg":2561,"./1f449-1f3fd.svg":2562,"./1f449-1f3fe.svg":2563,"./1f449-1f3ff.svg":2564,"./1f449.svg":2565,"./1f44a-1f3fb.svg":2566,"./1f44a-1f3fc.svg":2567,"./1f44a-1f3fd.svg":2568,"./1f44a-1f3fe.svg":2569,"./1f44a-1f3ff.svg":2570,"./1f44a.svg":2571,"./1f44b-1f3fb.svg":2572,"./1f44b-1f3fc.svg":2573,"./1f44b-1f3fd.svg":2574,"./1f44b-1f3fe.svg":2575,"./1f44b-1f3ff.svg":2576,"./1f44b.svg":2577,"./1f44c-1f3fb.svg":2578,"./1f44c-1f3fc.svg":2579,"./1f44c-1f3fd.svg":2580,"./1f44c-1f3fe.svg":2581,"./1f44c-1f3ff.svg":2582,"./1f44c.svg":2583,"./1f44d-1f3fb.svg":2584,"./1f44d-1f3fc.svg":2585,"./1f44d-1f3fd.svg":2586,"./1f44d-1f3fe.svg":2587,"./1f44d-1f3ff.svg":2588,"./1f44d.svg":2589,"./1f44e-1f3fb.svg":2590,"./1f44e-1f3fc.svg":2591,"./1f44e-1f3fd.svg":2592,"./1f44e-1f3fe.svg":2593,"./1f44e-1f3ff.svg":2594,"./1f44e.svg":2595,"./1f44f-1f3fb.svg":2596,"./1f44f-1f3fc.svg":2597,"./1f44f-1f3fd.svg":2598,"./1f44f-1f3fe.svg":2599,"./1f44f-1f3ff.svg":2600,"./1f44f.svg":2601,"./1f450-1f3fb.svg":2602,"./1f450-1f3fc.svg":2603,"./1f450-1f3fd.svg":2604,"./1f450-1f3fe.svg":2605,"./1f450-1f3ff.svg":2606,"./1f450.svg":2607,"./1f451.svg":2608,"./1f452.svg":2609,"./1f453.svg":2610,"./1f454.svg":2611,"./1f455.svg":2612,"./1f456.svg":2613,"./1f457.svg":2614,"./1f458.svg":2615,"./1f459.svg":2616,"./1f45a.svg":2617,"./1f45b.svg":2618,"./1f45c.svg":2619,"./1f45d.svg":2620,"./1f45e.svg":2621,"./1f45f.svg":2622,"./1f460.svg":2623,"./1f461.svg":2624,"./1f462.svg":2625,"./1f463.svg":2626,"./1f464.svg":2627,"./1f465.svg":2628,"./1f466-1f3fb.svg":2629,"./1f466-1f3fc.svg":2630,"./1f466-1f3fd.svg":2631,"./1f466-1f3fe.svg":2632,"./1f466-1f3ff.svg":2633,"./1f466.svg":2634,"./1f467-1f3fb.svg":2635,"./1f467-1f3fc.svg":2636,"./1f467-1f3fd.svg":2637,"./1f467-1f3fe.svg":2638,"./1f467-1f3ff.svg":2639,"./1f467.svg":2640,"./1f468-1f3fb-200d-1f33e.svg":2641,"./1f468-1f3fb-200d-1f373.svg":2642,"./1f468-1f3fb-200d-1f37c.svg":2643,"./1f468-1f3fb-200d-1f384.svg":2644,"./1f468-1f3fb-200d-1f393.svg":2645,"./1f468-1f3fb-200d-1f3a4.svg":2646,"./1f468-1f3fb-200d-1f3a8.svg":2647,"./1f468-1f3fb-200d-1f3eb.svg":2648,"./1f468-1f3fb-200d-1f3ed.svg":2649,"./1f468-1f3fb-200d-1f4bb.svg":2650,"./1f468-1f3fb-200d-1f4bc.svg":2651,"./1f468-1f3fb-200d-1f527.svg":2652,"./1f468-1f3fb-200d-1f52c.svg":2653,"./1f468-1f3fb-200d-1f680.svg":2654,"./1f468-1f3fb-200d-1f692.svg":2655,"./1f468-1f3fb-200d-1f91d-200d-1f468-1f3fc.svg":2656,"./1f468-1f3fb-200d-1f91d-200d-1f468-1f3fd.svg":2657,"./1f468-1f3fb-200d-1f91d-200d-1f468-1f3fe.svg":2658,"./1f468-1f3fb-200d-1f91d-200d-1f468-1f3ff.svg":2659,"./1f468-1f3fb-200d-1f9af.svg":2660,"./1f468-1f3fb-200d-1f9b0.svg":2661,"./1f468-1f3fb-200d-1f9b1.svg":2662,"./1f468-1f3fb-200d-1f9b2.svg":2663,"./1f468-1f3fb-200d-1f9b3.svg":2664,"./1f468-1f3fb-200d-1f9bc.svg":2665,"./1f468-1f3fb-200d-1f9bd.svg":2666,"./1f468-1f3fb-200d-2695-fe0f.svg":2667,"./1f468-1f3fb-200d-2696-fe0f.svg":2668,"./1f468-1f3fb-200d-2708-fe0f.svg":2669,"./1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fb.svg":2670,"./1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fc.svg":2671,"./1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fd.svg":2672,"./1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fe.svg":2673,"./1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3ff.svg":2674,"./1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb.svg":2675,"./1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc.svg":2676,"./1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd.svg":2677,"./1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe.svg":2678,"./1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff.svg":2679,"./1f468-1f3fb.svg":2680,"./1f468-1f3fc-200d-1f33e.svg":2681,"./1f468-1f3fc-200d-1f373.svg":2682,"./1f468-1f3fc-200d-1f37c.svg":2683,"./1f468-1f3fc-200d-1f384.svg":2684,"./1f468-1f3fc-200d-1f393.svg":2685,"./1f468-1f3fc-200d-1f3a4.svg":2686,"./1f468-1f3fc-200d-1f3a8.svg":2687,"./1f468-1f3fc-200d-1f3eb.svg":2688,"./1f468-1f3fc-200d-1f3ed.svg":2689,"./1f468-1f3fc-200d-1f4bb.svg":2690,"./1f468-1f3fc-200d-1f4bc.svg":2691,"./1f468-1f3fc-200d-1f527.svg":2692,"./1f468-1f3fc-200d-1f52c.svg":2693,"./1f468-1f3fc-200d-1f680.svg":2694,"./1f468-1f3fc-200d-1f692.svg":2695,"./1f468-1f3fc-200d-1f91d-200d-1f468-1f3fb.svg":2696,"./1f468-1f3fc-200d-1f91d-200d-1f468-1f3fd.svg":2697,"./1f468-1f3fc-200d-1f91d-200d-1f468-1f3fe.svg":2698,"./1f468-1f3fc-200d-1f91d-200d-1f468-1f3ff.svg":2699,"./1f468-1f3fc-200d-1f9af.svg":2700,"./1f468-1f3fc-200d-1f9b0.svg":2701,"./1f468-1f3fc-200d-1f9b1.svg":2702,"./1f468-1f3fc-200d-1f9b2.svg":2703,"./1f468-1f3fc-200d-1f9b3.svg":2704,"./1f468-1f3fc-200d-1f9bc.svg":2705,"./1f468-1f3fc-200d-1f9bd.svg":2706,"./1f468-1f3fc-200d-2695-fe0f.svg":2707,"./1f468-1f3fc-200d-2696-fe0f.svg":2708,"./1f468-1f3fc-200d-2708-fe0f.svg":2709,"./1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fb.svg":2710,"./1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fc.svg":2711,"./1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fd.svg":2712,"./1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fe.svg":2713,"./1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3ff.svg":2714,"./1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb.svg":2715,"./1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc.svg":2716,"./1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd.svg":2717,"./1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe.svg":2718,"./1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff.svg":2719,"./1f468-1f3fc.svg":2720,"./1f468-1f3fd-200d-1f33e.svg":2721,"./1f468-1f3fd-200d-1f373.svg":2722,"./1f468-1f3fd-200d-1f37c.svg":2723,"./1f468-1f3fd-200d-1f384.svg":2724,"./1f468-1f3fd-200d-1f393.svg":2725,"./1f468-1f3fd-200d-1f3a4.svg":2726,"./1f468-1f3fd-200d-1f3a8.svg":2727,"./1f468-1f3fd-200d-1f3eb.svg":2728,"./1f468-1f3fd-200d-1f3ed.svg":2729,"./1f468-1f3fd-200d-1f4bb.svg":2730,"./1f468-1f3fd-200d-1f4bc.svg":2731,"./1f468-1f3fd-200d-1f527.svg":2732,"./1f468-1f3fd-200d-1f52c.svg":2733,"./1f468-1f3fd-200d-1f680.svg":2734,"./1f468-1f3fd-200d-1f692.svg":2735,"./1f468-1f3fd-200d-1f91d-200d-1f468-1f3fb.svg":2736,"./1f468-1f3fd-200d-1f91d-200d-1f468-1f3fc.svg":2737,"./1f468-1f3fd-200d-1f91d-200d-1f468-1f3fe.svg":2738,"./1f468-1f3fd-200d-1f91d-200d-1f468-1f3ff.svg":2739,"./1f468-1f3fd-200d-1f9af.svg":2740,"./1f468-1f3fd-200d-1f9b0.svg":2741,"./1f468-1f3fd-200d-1f9b1.svg":2742,"./1f468-1f3fd-200d-1f9b2.svg":2743,"./1f468-1f3fd-200d-1f9b3.svg":2744,"./1f468-1f3fd-200d-1f9bc.svg":2745,"./1f468-1f3fd-200d-1f9bd.svg":2746,"./1f468-1f3fd-200d-2695-fe0f.svg":2747,"./1f468-1f3fd-200d-2696-fe0f.svg":2748,"./1f468-1f3fd-200d-2708-fe0f.svg":2749,"./1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fb.svg":2750,"./1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fc.svg":2751,"./1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fd.svg":2752,"./1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fe.svg":2753,"./1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3ff.svg":2754,"./1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb.svg":2755,"./1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc.svg":2756,"./1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd.svg":2757,"./1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe.svg":2758,"./1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff.svg":2759,"./1f468-1f3fd.svg":2760,"./1f468-1f3fe-200d-1f33e.svg":2761,"./1f468-1f3fe-200d-1f373.svg":2762,"./1f468-1f3fe-200d-1f37c.svg":2763,"./1f468-1f3fe-200d-1f384.svg":2764,"./1f468-1f3fe-200d-1f393.svg":2765,"./1f468-1f3fe-200d-1f3a4.svg":2766,"./1f468-1f3fe-200d-1f3a8.svg":2767,"./1f468-1f3fe-200d-1f3eb.svg":2768,"./1f468-1f3fe-200d-1f3ed.svg":2769,"./1f468-1f3fe-200d-1f4bb.svg":2770,"./1f468-1f3fe-200d-1f4bc.svg":2771,"./1f468-1f3fe-200d-1f527.svg":2772,"./1f468-1f3fe-200d-1f52c.svg":2773,"./1f468-1f3fe-200d-1f680.svg":2774,"./1f468-1f3fe-200d-1f692.svg":2775,"./1f468-1f3fe-200d-1f91d-200d-1f468-1f3fb.svg":2776,"./1f468-1f3fe-200d-1f91d-200d-1f468-1f3fc.svg":2777,"./1f468-1f3fe-200d-1f91d-200d-1f468-1f3fd.svg":2778,"./1f468-1f3fe-200d-1f91d-200d-1f468-1f3ff.svg":2779,"./1f468-1f3fe-200d-1f9af.svg":2780,"./1f468-1f3fe-200d-1f9b0.svg":2781,"./1f468-1f3fe-200d-1f9b1.svg":2782,"./1f468-1f3fe-200d-1f9b2.svg":2783,"./1f468-1f3fe-200d-1f9b3.svg":2784,"./1f468-1f3fe-200d-1f9bc.svg":2785,"./1f468-1f3fe-200d-1f9bd.svg":2786,"./1f468-1f3fe-200d-2695-fe0f.svg":2787,"./1f468-1f3fe-200d-2696-fe0f.svg":2788,"./1f468-1f3fe-200d-2708-fe0f.svg":2789,"./1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fb.svg":2790,"./1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fc.svg":2791,"./1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fd.svg":2792,"./1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fe.svg":2793,"./1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3ff.svg":2794,"./1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb.svg":2795,"./1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc.svg":2796,"./1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd.svg":2797,"./1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe.svg":2798,"./1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff.svg":2799,"./1f468-1f3fe.svg":2800,"./1f468-1f3ff-200d-1f33e.svg":2801,"./1f468-1f3ff-200d-1f373.svg":2802,"./1f468-1f3ff-200d-1f37c.svg":2803,"./1f468-1f3ff-200d-1f384.svg":2804,"./1f468-1f3ff-200d-1f393.svg":2805,"./1f468-1f3ff-200d-1f3a4.svg":2806,"./1f468-1f3ff-200d-1f3a8.svg":2807,"./1f468-1f3ff-200d-1f3eb.svg":2808,"./1f468-1f3ff-200d-1f3ed.svg":2809,"./1f468-1f3ff-200d-1f4bb.svg":2810,"./1f468-1f3ff-200d-1f4bc.svg":2811,"./1f468-1f3ff-200d-1f527.svg":2812,"./1f468-1f3ff-200d-1f52c.svg":2813,"./1f468-1f3ff-200d-1f680.svg":2814,"./1f468-1f3ff-200d-1f692.svg":2815,"./1f468-1f3ff-200d-1f91d-200d-1f468-1f3fb.svg":2816,"./1f468-1f3ff-200d-1f91d-200d-1f468-1f3fc.svg":2817,"./1f468-1f3ff-200d-1f91d-200d-1f468-1f3fd.svg":2818,"./1f468-1f3ff-200d-1f91d-200d-1f468-1f3fe.svg":2819,"./1f468-1f3ff-200d-1f9af.svg":2820,"./1f468-1f3ff-200d-1f9b0.svg":2821,"./1f468-1f3ff-200d-1f9b1.svg":2822,"./1f468-1f3ff-200d-1f9b2.svg":2823,"./1f468-1f3ff-200d-1f9b3.svg":2824,"./1f468-1f3ff-200d-1f9bc.svg":2825,"./1f468-1f3ff-200d-1f9bd.svg":2826,"./1f468-1f3ff-200d-2695-fe0f.svg":2827,"./1f468-1f3ff-200d-2696-fe0f.svg":2828,"./1f468-1f3ff-200d-2708-fe0f.svg":2829,"./1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fb.svg":2830,"./1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fc.svg":2831,"./1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fd.svg":2832,"./1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fe.svg":2833,"./1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3ff.svg":2834,"./1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb.svg":2835,"./1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc.svg":2836,"./1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd.svg":2837,"./1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe.svg":2838,"./1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff.svg":2839,"./1f468-1f3ff.svg":2840,"./1f468-200d-1f33e.svg":2841,"./1f468-200d-1f373.svg":2842,"./1f468-200d-1f37c.svg":2843,"./1f468-200d-1f384.svg":2844,"./1f468-200d-1f393.svg":2845,"./1f468-200d-1f3a4.svg":2846,"./1f468-200d-1f3a8.svg":2847,"./1f468-200d-1f3eb.svg":2848,"./1f468-200d-1f3ed.svg":2849,"./1f468-200d-1f466-200d-1f466.svg":2850,"./1f468-200d-1f466.svg":2851,"./1f468-200d-1f467-200d-1f466.svg":2852,"./1f468-200d-1f467-200d-1f467.svg":2853,"./1f468-200d-1f467.svg":2854,"./1f468-200d-1f468-200d-1f466-200d-1f466.svg":2855,"./1f468-200d-1f468-200d-1f466.svg":2856,"./1f468-200d-1f468-200d-1f467-200d-1f466.svg":2857,"./1f468-200d-1f468-200d-1f467-200d-1f467.svg":2858,"./1f468-200d-1f468-200d-1f467.svg":2859,"./1f468-200d-1f469-200d-1f466-200d-1f466.svg":2860,"./1f468-200d-1f469-200d-1f466.svg":2861,"./1f468-200d-1f469-200d-1f467-200d-1f466.svg":2862,"./1f468-200d-1f469-200d-1f467-200d-1f467.svg":2863,"./1f468-200d-1f469-200d-1f467.svg":2864,"./1f468-200d-1f4bb.svg":2865,"./1f468-200d-1f4bc.svg":2866,"./1f468-200d-1f527.svg":2867,"./1f468-200d-1f52c.svg":2868,"./1f468-200d-1f680.svg":2869,"./1f468-200d-1f692.svg":2870,"./1f468-200d-1f9af.svg":2871,"./1f468-200d-1f9b0.svg":2872,"./1f468-200d-1f9b1.svg":2873,"./1f468-200d-1f9b2.svg":2874,"./1f468-200d-1f9b3.svg":2875,"./1f468-200d-1f9bc.svg":2876,"./1f468-200d-1f9bd.svg":2877,"./1f468-200d-2695-fe0f.svg":2878,"./1f468-200d-2696-fe0f.svg":2879,"./1f468-200d-2708-fe0f.svg":2880,"./1f468-200d-2764-fe0f-200d-1f468.svg":2881,"./1f468-200d-2764-fe0f-200d-1f48b-200d-1f468.svg":2882,"./1f468.svg":2883,"./1f469-1f3fb-200d-1f33e.svg":2884,"./1f469-1f3fb-200d-1f373.svg":2885,"./1f469-1f3fb-200d-1f37c.svg":2886,"./1f469-1f3fb-200d-1f384.svg":2887,"./1f469-1f3fb-200d-1f393.svg":2888,"./1f469-1f3fb-200d-1f3a4.svg":2889,"./1f469-1f3fb-200d-1f3a8.svg":2890,"./1f469-1f3fb-200d-1f3eb.svg":2891,"./1f469-1f3fb-200d-1f3ed.svg":2892,"./1f469-1f3fb-200d-1f4bb.svg":2893,"./1f469-1f3fb-200d-1f4bc.svg":2894,"./1f469-1f3fb-200d-1f527.svg":2895,"./1f469-1f3fb-200d-1f52c.svg":2896,"./1f469-1f3fb-200d-1f680.svg":2897,"./1f469-1f3fb-200d-1f692.svg":2898,"./1f469-1f3fb-200d-1f91d-200d-1f468-1f3fc.svg":2899,"./1f469-1f3fb-200d-1f91d-200d-1f468-1f3fd.svg":2900,"./1f469-1f3fb-200d-1f91d-200d-1f468-1f3fe.svg":2901,"./1f469-1f3fb-200d-1f91d-200d-1f468-1f3ff.svg":2902,"./1f469-1f3fb-200d-1f91d-200d-1f469-1f3fc.svg":2903,"./1f469-1f3fb-200d-1f91d-200d-1f469-1f3fd.svg":2904,"./1f469-1f3fb-200d-1f91d-200d-1f469-1f3fe.svg":2905,"./1f469-1f3fb-200d-1f91d-200d-1f469-1f3ff.svg":2906,"./1f469-1f3fb-200d-1f9af.svg":2907,"./1f469-1f3fb-200d-1f9b0.svg":2908,"./1f469-1f3fb-200d-1f9b1.svg":2909,"./1f469-1f3fb-200d-1f9b2.svg":2910,"./1f469-1f3fb-200d-1f9b3.svg":2911,"./1f469-1f3fb-200d-1f9bc.svg":2912,"./1f469-1f3fb-200d-1f9bd.svg":2913,"./1f469-1f3fb-200d-2695-fe0f.svg":2914,"./1f469-1f3fb-200d-2696-fe0f.svg":2915,"./1f469-1f3fb-200d-2708-fe0f.svg":2916,"./1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fb.svg":2917,"./1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fc.svg":2918,"./1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fd.svg":2919,"./1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fe.svg":2920,"./1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3ff.svg":2921,"./1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fb.svg":2922,"./1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fc.svg":2923,"./1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fd.svg":2924,"./1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fe.svg":2925,"./1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3ff.svg":2926,"./1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb.svg":2927,"./1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc.svg":2928,"./1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd.svg":2929,"./1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe.svg":2930,"./1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff.svg":2931,"./1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb.svg":2932,"./1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc.svg":2933,"./1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd.svg":2934,"./1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe.svg":2935,"./1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff.svg":2936,"./1f469-1f3fb.svg":2937,"./1f469-1f3fc-200d-1f33e.svg":2938,"./1f469-1f3fc-200d-1f373.svg":2939,"./1f469-1f3fc-200d-1f37c.svg":2940,"./1f469-1f3fc-200d-1f384.svg":2941,"./1f469-1f3fc-200d-1f393.svg":2942,"./1f469-1f3fc-200d-1f3a4.svg":2943,"./1f469-1f3fc-200d-1f3a8.svg":2944,"./1f469-1f3fc-200d-1f3eb.svg":2945,"./1f469-1f3fc-200d-1f3ed.svg":2946,"./1f469-1f3fc-200d-1f4bb.svg":2947,"./1f469-1f3fc-200d-1f4bc.svg":2948,"./1f469-1f3fc-200d-1f527.svg":2949,"./1f469-1f3fc-200d-1f52c.svg":2950,"./1f469-1f3fc-200d-1f680.svg":2951,"./1f469-1f3fc-200d-1f692.svg":2952,"./1f469-1f3fc-200d-1f91d-200d-1f468-1f3fb.svg":2953,"./1f469-1f3fc-200d-1f91d-200d-1f468-1f3fd.svg":2954,"./1f469-1f3fc-200d-1f91d-200d-1f468-1f3fe.svg":2955,"./1f469-1f3fc-200d-1f91d-200d-1f468-1f3ff.svg":2956,"./1f469-1f3fc-200d-1f91d-200d-1f469-1f3fb.svg":2957,"./1f469-1f3fc-200d-1f91d-200d-1f469-1f3fd.svg":2958,"./1f469-1f3fc-200d-1f91d-200d-1f469-1f3fe.svg":2959,"./1f469-1f3fc-200d-1f91d-200d-1f469-1f3ff.svg":2960,"./1f469-1f3fc-200d-1f9af.svg":2961,"./1f469-1f3fc-200d-1f9b0.svg":2962,"./1f469-1f3fc-200d-1f9b1.svg":2963,"./1f469-1f3fc-200d-1f9b2.svg":2964,"./1f469-1f3fc-200d-1f9b3.svg":2965,"./1f469-1f3fc-200d-1f9bc.svg":2966,"./1f469-1f3fc-200d-1f9bd.svg":2967,"./1f469-1f3fc-200d-2695-fe0f.svg":2968,"./1f469-1f3fc-200d-2696-fe0f.svg":2969,"./1f469-1f3fc-200d-2708-fe0f.svg":2970,"./1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fb.svg":2971,"./1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fc.svg":2972,"./1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fd.svg":2973,"./1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fe.svg":2974,"./1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3ff.svg":2975,"./1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fb.svg":2976,"./1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fc.svg":2977,"./1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fd.svg":2978,"./1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fe.svg":2979,"./1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3ff.svg":2980,"./1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb.svg":2981,"./1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc.svg":2982,"./1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd.svg":2983,"./1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe.svg":2984,"./1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff.svg":2985,"./1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb.svg":2986,"./1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc.svg":2987,"./1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd.svg":2988,"./1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe.svg":2989,"./1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff.svg":2990,"./1f469-1f3fc.svg":2991,"./1f469-1f3fd-200d-1f33e.svg":2992,"./1f469-1f3fd-200d-1f373.svg":2993,"./1f469-1f3fd-200d-1f37c.svg":2994,"./1f469-1f3fd-200d-1f384.svg":2995,"./1f469-1f3fd-200d-1f393.svg":2996,"./1f469-1f3fd-200d-1f3a4.svg":2997,"./1f469-1f3fd-200d-1f3a8.svg":2998,"./1f469-1f3fd-200d-1f3eb.svg":2999,"./1f469-1f3fd-200d-1f3ed.svg":3e3,"./1f469-1f3fd-200d-1f4bb.svg":3001,"./1f469-1f3fd-200d-1f4bc.svg":3002,"./1f469-1f3fd-200d-1f527.svg":3003,"./1f469-1f3fd-200d-1f52c.svg":3004,"./1f469-1f3fd-200d-1f680.svg":3005,"./1f469-1f3fd-200d-1f692.svg":3006,"./1f469-1f3fd-200d-1f91d-200d-1f468-1f3fb.svg":3007,"./1f469-1f3fd-200d-1f91d-200d-1f468-1f3fc.svg":3008,"./1f469-1f3fd-200d-1f91d-200d-1f468-1f3fe.svg":3009,"./1f469-1f3fd-200d-1f91d-200d-1f468-1f3ff.svg":3010,"./1f469-1f3fd-200d-1f91d-200d-1f469-1f3fb.svg":3011,"./1f469-1f3fd-200d-1f91d-200d-1f469-1f3fc.svg":3012,"./1f469-1f3fd-200d-1f91d-200d-1f469-1f3fe.svg":3013,"./1f469-1f3fd-200d-1f91d-200d-1f469-1f3ff.svg":3014,"./1f469-1f3fd-200d-1f9af.svg":3015,"./1f469-1f3fd-200d-1f9b0.svg":3016,"./1f469-1f3fd-200d-1f9b1.svg":3017,"./1f469-1f3fd-200d-1f9b2.svg":3018,"./1f469-1f3fd-200d-1f9b3.svg":3019,"./1f469-1f3fd-200d-1f9bc.svg":3020,"./1f469-1f3fd-200d-1f9bd.svg":3021,"./1f469-1f3fd-200d-2695-fe0f.svg":3022,"./1f469-1f3fd-200d-2696-fe0f.svg":3023,"./1f469-1f3fd-200d-2708-fe0f.svg":3024,"./1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fb.svg":3025,"./1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fc.svg":3026,"./1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fd.svg":3027,"./1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fe.svg":3028,"./1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3ff.svg":3029,"./1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fb.svg":3030,"./1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fc.svg":3031,"./1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fd.svg":3032,"./1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fe.svg":3033,"./1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3ff.svg":3034,"./1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb.svg":3035,"./1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc.svg":3036,"./1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd.svg":3037,"./1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe.svg":3038,"./1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff.svg":3039,"./1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb.svg":3040,"./1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc.svg":3041,"./1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd.svg":3042,"./1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe.svg":3043,"./1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff.svg":3044,"./1f469-1f3fd.svg":3045,"./1f469-1f3fe-200d-1f33e.svg":3046,"./1f469-1f3fe-200d-1f373.svg":3047,"./1f469-1f3fe-200d-1f37c.svg":3048,"./1f469-1f3fe-200d-1f384.svg":3049,"./1f469-1f3fe-200d-1f393.svg":3050,"./1f469-1f3fe-200d-1f3a4.svg":3051,"./1f469-1f3fe-200d-1f3a8.svg":3052,"./1f469-1f3fe-200d-1f3eb.svg":3053,"./1f469-1f3fe-200d-1f3ed.svg":3054,"./1f469-1f3fe-200d-1f4bb.svg":3055,"./1f469-1f3fe-200d-1f4bc.svg":3056,"./1f469-1f3fe-200d-1f527.svg":3057,"./1f469-1f3fe-200d-1f52c.svg":3058,"./1f469-1f3fe-200d-1f680.svg":3059,"./1f469-1f3fe-200d-1f692.svg":3060,"./1f469-1f3fe-200d-1f91d-200d-1f468-1f3fb.svg":3061,"./1f469-1f3fe-200d-1f91d-200d-1f468-1f3fc.svg":3062,"./1f469-1f3fe-200d-1f91d-200d-1f468-1f3fd.svg":3063,"./1f469-1f3fe-200d-1f91d-200d-1f468-1f3ff.svg":3064,"./1f469-1f3fe-200d-1f91d-200d-1f469-1f3fb.svg":3065,"./1f469-1f3fe-200d-1f91d-200d-1f469-1f3fc.svg":3066,"./1f469-1f3fe-200d-1f91d-200d-1f469-1f3fd.svg":3067,"./1f469-1f3fe-200d-1f91d-200d-1f469-1f3ff.svg":3068,"./1f469-1f3fe-200d-1f9af.svg":3069,"./1f469-1f3fe-200d-1f9b0.svg":3070,"./1f469-1f3fe-200d-1f9b1.svg":3071,"./1f469-1f3fe-200d-1f9b2.svg":3072,"./1f469-1f3fe-200d-1f9b3.svg":3073,"./1f469-1f3fe-200d-1f9bc.svg":3074,"./1f469-1f3fe-200d-1f9bd.svg":3075,"./1f469-1f3fe-200d-2695-fe0f.svg":3076,"./1f469-1f3fe-200d-2696-fe0f.svg":3077,"./1f469-1f3fe-200d-2708-fe0f.svg":3078,"./1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fb.svg":3079,"./1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fc.svg":3080,"./1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fd.svg":3081,"./1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fe.svg":3082,"./1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3ff.svg":3083,"./1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fb.svg":3084,"./1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fc.svg":3085,"./1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fd.svg":3086,"./1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fe.svg":3087,"./1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3ff.svg":3088,"./1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb.svg":3089,"./1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc.svg":3090,"./1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd.svg":3091,"./1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe.svg":3092,"./1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff.svg":3093,"./1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb.svg":3094,"./1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc.svg":3095,"./1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd.svg":3096,"./1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe.svg":3097,"./1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff.svg":3098,"./1f469-1f3fe.svg":3099,"./1f469-1f3ff-200d-1f33e.svg":3100,"./1f469-1f3ff-200d-1f373.svg":3101,"./1f469-1f3ff-200d-1f37c.svg":3102,"./1f469-1f3ff-200d-1f384.svg":3103,"./1f469-1f3ff-200d-1f393.svg":3104,"./1f469-1f3ff-200d-1f3a4.svg":3105,"./1f469-1f3ff-200d-1f3a8.svg":3106,"./1f469-1f3ff-200d-1f3eb.svg":3107,"./1f469-1f3ff-200d-1f3ed.svg":3108,"./1f469-1f3ff-200d-1f4bb.svg":3109,"./1f469-1f3ff-200d-1f4bc.svg":3110,"./1f469-1f3ff-200d-1f527.svg":3111,"./1f469-1f3ff-200d-1f52c.svg":3112,"./1f469-1f3ff-200d-1f680.svg":3113,"./1f469-1f3ff-200d-1f692.svg":3114,"./1f469-1f3ff-200d-1f91d-200d-1f468-1f3fb.svg":3115,"./1f469-1f3ff-200d-1f91d-200d-1f468-1f3fc.svg":3116,"./1f469-1f3ff-200d-1f91d-200d-1f468-1f3fd.svg":3117,"./1f469-1f3ff-200d-1f91d-200d-1f468-1f3fe.svg":3118,"./1f469-1f3ff-200d-1f91d-200d-1f469-1f3fb.svg":3119,"./1f469-1f3ff-200d-1f91d-200d-1f469-1f3fc.svg":3120,"./1f469-1f3ff-200d-1f91d-200d-1f469-1f3fd.svg":3121,"./1f469-1f3ff-200d-1f91d-200d-1f469-1f3fe.svg":3122,"./1f469-1f3ff-200d-1f9af.svg":3123,"./1f469-1f3ff-200d-1f9b0.svg":3124,"./1f469-1f3ff-200d-1f9b1.svg":3125,"./1f469-1f3ff-200d-1f9b2.svg":3126,"./1f469-1f3ff-200d-1f9b3.svg":3127,"./1f469-1f3ff-200d-1f9bc.svg":3128,"./1f469-1f3ff-200d-1f9bd.svg":3129,"./1f469-1f3ff-200d-2695-fe0f.svg":3130,"./1f469-1f3ff-200d-2696-fe0f.svg":3131,"./1f469-1f3ff-200d-2708-fe0f.svg":3132,"./1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fb.svg":3133,"./1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fc.svg":3134,"./1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fd.svg":3135,"./1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fe.svg":3136,"./1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3ff.svg":3137,"./1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fb.svg":3138,"./1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fc.svg":3139,"./1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fd.svg":3140,"./1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fe.svg":3141,"./1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3ff.svg":3142,"./1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb.svg":3143,"./1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc.svg":3144,"./1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd.svg":3145,"./1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe.svg":3146,"./1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff.svg":3147,"./1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb.svg":3148,"./1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc.svg":3149,"./1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd.svg":3150,"./1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe.svg":3151,"./1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff.svg":3152,"./1f469-1f3ff.svg":3153,"./1f469-200d-1f33e.svg":3154,"./1f469-200d-1f373.svg":3155,"./1f469-200d-1f37c.svg":3156,"./1f469-200d-1f384.svg":3157,"./1f469-200d-1f393.svg":3158,"./1f469-200d-1f3a4.svg":3159,"./1f469-200d-1f3a8.svg":3160,"./1f469-200d-1f3eb.svg":3161,"./1f469-200d-1f3ed.svg":3162,"./1f469-200d-1f466-200d-1f466.svg":3163,"./1f469-200d-1f466.svg":3164,"./1f469-200d-1f467-200d-1f466.svg":3165,"./1f469-200d-1f467-200d-1f467.svg":3166,"./1f469-200d-1f467.svg":3167,"./1f469-200d-1f469-200d-1f466-200d-1f466.svg":3168,"./1f469-200d-1f469-200d-1f466.svg":3169,"./1f469-200d-1f469-200d-1f467-200d-1f466.svg":3170,"./1f469-200d-1f469-200d-1f467-200d-1f467.svg":3171,"./1f469-200d-1f469-200d-1f467.svg":3172,"./1f469-200d-1f4bb.svg":3173,"./1f469-200d-1f4bc.svg":3174,"./1f469-200d-1f527.svg":3175,"./1f469-200d-1f52c.svg":3176,"./1f469-200d-1f680.svg":3177,"./1f469-200d-1f692.svg":3178,"./1f469-200d-1f9af.svg":3179,"./1f469-200d-1f9b0.svg":3180,"./1f469-200d-1f9b1.svg":3181,"./1f469-200d-1f9b2.svg":3182,"./1f469-200d-1f9b3.svg":3183,"./1f469-200d-1f9bc.svg":3184,"./1f469-200d-1f9bd.svg":3185,"./1f469-200d-2695-fe0f.svg":3186,"./1f469-200d-2696-fe0f.svg":3187,"./1f469-200d-2708-fe0f.svg":3188,"./1f469-200d-2764-fe0f-200d-1f468.svg":3189,"./1f469-200d-2764-fe0f-200d-1f469.svg":3190,"./1f469-200d-2764-fe0f-200d-1f48b-200d-1f468.svg":3191,"./1f469-200d-2764-fe0f-200d-1f48b-200d-1f469.svg":3192,"./1f469.svg":3193,"./1f46a.svg":3194,"./1f46b-1f3fb.svg":3195,"./1f46b-1f3fc.svg":3196,"./1f46b-1f3fd.svg":3197,"./1f46b-1f3fe.svg":3198,"./1f46b-1f3ff.svg":3199,"./1f46b.svg":3200,"./1f46c-1f3fb.svg":3201,"./1f46c-1f3fc.svg":3202,"./1f46c-1f3fd.svg":3203,"./1f46c-1f3fe.svg":3204,"./1f46c-1f3ff.svg":3205,"./1f46c.svg":3206,"./1f46d-1f3fb.svg":3207,"./1f46d-1f3fc.svg":3208,"./1f46d-1f3fd.svg":3209,"./1f46d-1f3fe.svg":3210,"./1f46d-1f3ff.svg":3211,"./1f46d.svg":3212,"./1f46e-1f3fb-200d-2640-fe0f.svg":3213,"./1f46e-1f3fb-200d-2642-fe0f.svg":3214,"./1f46e-1f3fb.svg":3215,"./1f46e-1f3fc-200d-2640-fe0f.svg":3216,"./1f46e-1f3fc-200d-2642-fe0f.svg":3217,"./1f46e-1f3fc.svg":3218,"./1f46e-1f3fd-200d-2640-fe0f.svg":3219,"./1f46e-1f3fd-200d-2642-fe0f.svg":3220,"./1f46e-1f3fd.svg":3221,"./1f46e-1f3fe-200d-2640-fe0f.svg":3222,"./1f46e-1f3fe-200d-2642-fe0f.svg":3223,"./1f46e-1f3fe.svg":3224,"./1f46e-1f3ff-200d-2640-fe0f.svg":3225,"./1f46e-1f3ff-200d-2642-fe0f.svg":3226,"./1f46e-1f3ff.svg":3227,"./1f46e-200d-2640-fe0f.svg":3228,"./1f46e-200d-2642-fe0f.svg":3229,"./1f46e.svg":3230,"./1f46f-200d-2640-fe0f.svg":3231,"./1f46f-200d-2642-fe0f.svg":3232,"./1f46f.svg":3233,"./1f470-1f3fb-200d-2640-fe0f.svg":3234,"./1f470-1f3fb-200d-2642-fe0f.svg":3235,"./1f470-1f3fb.svg":3236,"./1f470-1f3fc-200d-2640-fe0f.svg":3237,"./1f470-1f3fc-200d-2642-fe0f.svg":3238,"./1f470-1f3fc.svg":3239,"./1f470-1f3fd-200d-2640-fe0f.svg":3240,"./1f470-1f3fd-200d-2642-fe0f.svg":3241,"./1f470-1f3fd.svg":3242,"./1f470-1f3fe-200d-2640-fe0f.svg":3243,"./1f470-1f3fe-200d-2642-fe0f.svg":3244,"./1f470-1f3fe.svg":3245,"./1f470-1f3ff-200d-2640-fe0f.svg":3246,"./1f470-1f3ff-200d-2642-fe0f.svg":3247,"./1f470-1f3ff.svg":3248,"./1f470-200d-2640-fe0f.svg":3249,"./1f470-200d-2642-fe0f.svg":3250,"./1f470.svg":3251,"./1f471-1f3fb-200d-2640-fe0f.svg":3252,"./1f471-1f3fb-200d-2642-fe0f.svg":3253,"./1f471-1f3fb.svg":3254,"./1f471-1f3fc-200d-2640-fe0f.svg":3255,"./1f471-1f3fc-200d-2642-fe0f.svg":3256,"./1f471-1f3fc.svg":3257,"./1f471-1f3fd-200d-2640-fe0f.svg":3258,"./1f471-1f3fd-200d-2642-fe0f.svg":3259,"./1f471-1f3fd.svg":3260,"./1f471-1f3fe-200d-2640-fe0f.svg":3261,"./1f471-1f3fe-200d-2642-fe0f.svg":3262,"./1f471-1f3fe.svg":3263,"./1f471-1f3ff-200d-2640-fe0f.svg":3264,"./1f471-1f3ff-200d-2642-fe0f.svg":3265,"./1f471-1f3ff.svg":3266,"./1f471-200d-2640-fe0f.svg":3267,"./1f471-200d-2642-fe0f.svg":3268,"./1f471.svg":3269,"./1f472-1f3fb.svg":3270,"./1f472-1f3fc.svg":3271,"./1f472-1f3fd.svg":3272,"./1f472-1f3fe.svg":3273,"./1f472-1f3ff.svg":3274,"./1f472.svg":3275,"./1f473-1f3fb-200d-2640-fe0f.svg":3276,"./1f473-1f3fb-200d-2642-fe0f.svg":3277,"./1f473-1f3fb.svg":3278,"./1f473-1f3fc-200d-2640-fe0f.svg":3279,"./1f473-1f3fc-200d-2642-fe0f.svg":3280,"./1f473-1f3fc.svg":3281,"./1f473-1f3fd-200d-2640-fe0f.svg":3282,"./1f473-1f3fd-200d-2642-fe0f.svg":3283,"./1f473-1f3fd.svg":3284,"./1f473-1f3fe-200d-2640-fe0f.svg":3285,"./1f473-1f3fe-200d-2642-fe0f.svg":3286,"./1f473-1f3fe.svg":3287,"./1f473-1f3ff-200d-2640-fe0f.svg":3288,"./1f473-1f3ff-200d-2642-fe0f.svg":3289,"./1f473-1f3ff.svg":3290,"./1f473-200d-2640-fe0f.svg":3291,"./1f473-200d-2642-fe0f.svg":3292,"./1f473.svg":3293,"./1f474-1f3fb.svg":3294,"./1f474-1f3fc.svg":3295,"./1f474-1f3fd.svg":3296,"./1f474-1f3fe.svg":3297,"./1f474-1f3ff.svg":3298,"./1f474.svg":3299,"./1f475-1f3fb.svg":3300,"./1f475-1f3fc.svg":3301,"./1f475-1f3fd.svg":3302,"./1f475-1f3fe.svg":3303,"./1f475-1f3ff.svg":3304,"./1f475.svg":3305,"./1f476-1f3fb.svg":3306,"./1f476-1f3fc.svg":3307,"./1f476-1f3fd.svg":3308,"./1f476-1f3fe.svg":3309,"./1f476-1f3ff.svg":3310,"./1f476.svg":3311,"./1f477-1f3fb-200d-2640-fe0f.svg":3312,"./1f477-1f3fb-200d-2642-fe0f.svg":3313,"./1f477-1f3fb.svg":3314,"./1f477-1f3fc-200d-2640-fe0f.svg":3315,"./1f477-1f3fc-200d-2642-fe0f.svg":3316,"./1f477-1f3fc.svg":3317,"./1f477-1f3fd-200d-2640-fe0f.svg":3318,"./1f477-1f3fd-200d-2642-fe0f.svg":3319,"./1f477-1f3fd.svg":3320,"./1f477-1f3fe-200d-2640-fe0f.svg":3321,"./1f477-1f3fe-200d-2642-fe0f.svg":3322,"./1f477-1f3fe.svg":3323,"./1f477-1f3ff-200d-2640-fe0f.svg":3324,"./1f477-1f3ff-200d-2642-fe0f.svg":3325,"./1f477-1f3ff.svg":3326,"./1f477-200d-2640-fe0f.svg":3327,"./1f477-200d-2642-fe0f.svg":3328,"./1f477.svg":3329,"./1f478-1f3fb.svg":3330,"./1f478-1f3fc.svg":3331,"./1f478-1f3fd.svg":3332,"./1f478-1f3fe.svg":3333,"./1f478-1f3ff.svg":3334,"./1f478.svg":3335,"./1f479.svg":3336,"./1f47a.svg":3337,"./1f47b.svg":3338,"./1f47c-1f3fb.svg":3339,"./1f47c-1f3fc.svg":3340,"./1f47c-1f3fd.svg":3341,"./1f47c-1f3fe.svg":3342,"./1f47c-1f3ff.svg":3343,"./1f47c.svg":3344,"./1f47d.svg":3345,"./1f47e.svg":3346,"./1f47f.svg":3347,"./1f480.svg":3348,"./1f481-1f3fb-200d-2640-fe0f.svg":3349,"./1f481-1f3fb-200d-2642-fe0f.svg":3350,"./1f481-1f3fb.svg":3351,"./1f481-1f3fc-200d-2640-fe0f.svg":3352,"./1f481-1f3fc-200d-2642-fe0f.svg":3353,"./1f481-1f3fc.svg":3354,"./1f481-1f3fd-200d-2640-fe0f.svg":3355,"./1f481-1f3fd-200d-2642-fe0f.svg":3356,"./1f481-1f3fd.svg":3357,"./1f481-1f3fe-200d-2640-fe0f.svg":3358,"./1f481-1f3fe-200d-2642-fe0f.svg":3359,"./1f481-1f3fe.svg":3360,"./1f481-1f3ff-200d-2640-fe0f.svg":3361,"./1f481-1f3ff-200d-2642-fe0f.svg":3362,"./1f481-1f3ff.svg":3363,"./1f481-200d-2640-fe0f.svg":3364,"./1f481-200d-2642-fe0f.svg":3365,"./1f481.svg":3366,"./1f482-1f3fb-200d-2640-fe0f.svg":3367,"./1f482-1f3fb-200d-2642-fe0f.svg":3368,"./1f482-1f3fb.svg":3369,"./1f482-1f3fc-200d-2640-fe0f.svg":3370,"./1f482-1f3fc-200d-2642-fe0f.svg":3371,"./1f482-1f3fc.svg":3372,"./1f482-1f3fd-200d-2640-fe0f.svg":3373,"./1f482-1f3fd-200d-2642-fe0f.svg":3374,"./1f482-1f3fd.svg":3375,"./1f482-1f3fe-200d-2640-fe0f.svg":3376,"./1f482-1f3fe-200d-2642-fe0f.svg":3377,"./1f482-1f3fe.svg":3378,"./1f482-1f3ff-200d-2640-fe0f.svg":3379,"./1f482-1f3ff-200d-2642-fe0f.svg":3380,"./1f482-1f3ff.svg":3381,"./1f482-200d-2640-fe0f.svg":3382,"./1f482-200d-2642-fe0f.svg":3383,"./1f482.svg":3384,"./1f483-1f3fb.svg":3385,"./1f483-1f3fc.svg":3386,"./1f483-1f3fd.svg":3387,"./1f483-1f3fe.svg":3388,"./1f483-1f3ff.svg":3389,"./1f483.svg":3390,"./1f484.svg":3391,"./1f485-1f3fb.svg":3392,"./1f485-1f3fc.svg":3393,"./1f485-1f3fd.svg":3394,"./1f485-1f3fe.svg":3395,"./1f485-1f3ff.svg":3396,"./1f485.svg":3397,"./1f486-1f3fb-200d-2640-fe0f.svg":3398,"./1f486-1f3fb-200d-2642-fe0f.svg":3399,"./1f486-1f3fb.svg":3400,"./1f486-1f3fc-200d-2640-fe0f.svg":3401,"./1f486-1f3fc-200d-2642-fe0f.svg":3402,"./1f486-1f3fc.svg":3403,"./1f486-1f3fd-200d-2640-fe0f.svg":3404,"./1f486-1f3fd-200d-2642-fe0f.svg":3405,"./1f486-1f3fd.svg":3406,"./1f486-1f3fe-200d-2640-fe0f.svg":3407,"./1f486-1f3fe-200d-2642-fe0f.svg":3408,"./1f486-1f3fe.svg":3409,"./1f486-1f3ff-200d-2640-fe0f.svg":3410,"./1f486-1f3ff-200d-2642-fe0f.svg":3411,"./1f486-1f3ff.svg":3412,"./1f486-200d-2640-fe0f.svg":3413,"./1f486-200d-2642-fe0f.svg":3414,"./1f486.svg":3415,"./1f487-1f3fb-200d-2640-fe0f.svg":3416,"./1f487-1f3fb-200d-2642-fe0f.svg":3417,"./1f487-1f3fb.svg":3418,"./1f487-1f3fc-200d-2640-fe0f.svg":3419,"./1f487-1f3fc-200d-2642-fe0f.svg":3420,"./1f487-1f3fc.svg":3421,"./1f487-1f3fd-200d-2640-fe0f.svg":3422,"./1f487-1f3fd-200d-2642-fe0f.svg":3423,"./1f487-1f3fd.svg":3424,"./1f487-1f3fe-200d-2640-fe0f.svg":3425,"./1f487-1f3fe-200d-2642-fe0f.svg":3426,"./1f487-1f3fe.svg":3427,"./1f487-1f3ff-200d-2640-fe0f.svg":3428,"./1f487-1f3ff-200d-2642-fe0f.svg":3429,"./1f487-1f3ff.svg":3430,"./1f487-200d-2640-fe0f.svg":3431,"./1f487-200d-2642-fe0f.svg":3432,"./1f487.svg":3433,"./1f488.svg":3434,"./1f489.svg":3435,"./1f48a.svg":3436,"./1f48b.svg":3437,"./1f48c.svg":3438,"./1f48d.svg":3439,"./1f48e.svg":3440,"./1f48f-1f3fb.svg":3441,"./1f48f-1f3fc.svg":3442,"./1f48f-1f3fd.svg":3443,"./1f48f-1f3fe.svg":3444,"./1f48f-1f3ff.svg":3445,"./1f48f.svg":3446,"./1f490.svg":3447,"./1f491-1f3fb.svg":3448,"./1f491-1f3fc.svg":3449,"./1f491-1f3fd.svg":3450,"./1f491-1f3fe.svg":3451,"./1f491-1f3ff.svg":3452,"./1f491.svg":3453,"./1f492.svg":3454,"./1f493.svg":3455,"./1f494.svg":3456,"./1f495.svg":3457,"./1f496.svg":3458,"./1f497.svg":3459,"./1f498.svg":3460,"./1f499.svg":3461,"./1f49a.svg":3462,"./1f49b.svg":3463,"./1f49c.svg":3464,"./1f49d.svg":3465,"./1f49e.svg":3466,"./1f49f.svg":3467,"./1f4a0.svg":3468,"./1f4a1.svg":3469,"./1f4a2.svg":3470,"./1f4a3.svg":3471,"./1f4a4.svg":3472,"./1f4a5.svg":3473,"./1f4a6.svg":3474,"./1f4a7.svg":3475,"./1f4a8.svg":3476,"./1f4a9.svg":3477,"./1f4aa-1f3fb.svg":3478,"./1f4aa-1f3fc.svg":3479,"./1f4aa-1f3fd.svg":3480,"./1f4aa-1f3fe.svg":3481,"./1f4aa-1f3ff.svg":3482,"./1f4aa.svg":3483,"./1f4ab.svg":3484,"./1f4ac.svg":3485,"./1f4ad.svg":3486,"./1f4ae.svg":3487,"./1f4af.svg":3488,"./1f4b0.svg":3489,"./1f4b1.svg":3490,"./1f4b2.svg":3491,"./1f4b3.svg":3492,"./1f4b4.svg":3493,"./1f4b5.svg":3494,"./1f4b6.svg":3495,"./1f4b7.svg":3496,"./1f4b8.svg":3497,"./1f4b9.svg":3498,"./1f4ba.svg":3499,"./1f4bb.svg":3500,"./1f4bc.svg":3501,"./1f4bd.svg":3502,"./1f4be.svg":3503,"./1f4bf.svg":3504,"./1f4c0.svg":3505,"./1f4c1.svg":3506,"./1f4c2.svg":3507,"./1f4c3.svg":3508,"./1f4c4.svg":3509,"./1f4c5.svg":3510,"./1f4c6.svg":3511,"./1f4c7.svg":3512,"./1f4c8.svg":3513,"./1f4c9.svg":3514,"./1f4ca.svg":3515,"./1f4cb.svg":3516,"./1f4cc.svg":3517,"./1f4cd.svg":3518,"./1f4ce.svg":3519,"./1f4cf.svg":3520,"./1f4d0.svg":3521,"./1f4d1.svg":3522,"./1f4d2.svg":3523,"./1f4d3.svg":3524,"./1f4d4.svg":3525,"./1f4d5.svg":3526,"./1f4d6.svg":3527,"./1f4d7.svg":3528,"./1f4d8.svg":3529,"./1f4d9.svg":3530,"./1f4da.svg":3531,"./1f4db.svg":3532,"./1f4dc.svg":3533,"./1f4dd.svg":3534,"./1f4de.svg":3535,"./1f4df.svg":3536,"./1f4e0.svg":3537,"./1f4e1.svg":3538,"./1f4e2.svg":3539,"./1f4e3.svg":3540,"./1f4e4.svg":3541,"./1f4e5.svg":3542,"./1f4e6.svg":3543,"./1f4e7.svg":3544,"./1f4e8.svg":3545,"./1f4e9.svg":3546,"./1f4ea.svg":3547,"./1f4eb.svg":3548,"./1f4ec.svg":3549,"./1f4ed.svg":3550,"./1f4ee.svg":3551,"./1f4ef.svg":3552,"./1f4f0.svg":3553,"./1f4f1.svg":3554,"./1f4f2.svg":3555,"./1f4f3.svg":3556,"./1f4f4.svg":3557,"./1f4f5.svg":3558,"./1f4f6.svg":3559,"./1f4f7.svg":3560,"./1f4f8.svg":3561,"./1f4f9.svg":3562,"./1f4fa.svg":3563,"./1f4fb.svg":3564,"./1f4fc.svg":3565,"./1f4fd.svg":3566,"./1f4ff.svg":3567,"./1f500.svg":3568,"./1f501.svg":3569,"./1f502.svg":3570,"./1f503.svg":3571,"./1f504.svg":3572,"./1f505.svg":3573,"./1f506.svg":3574,"./1f507.svg":3575,"./1f508.svg":3576,"./1f509.svg":3577,"./1f50a.svg":3578,"./1f50b.svg":3579,"./1f50c.svg":3580,"./1f50d.svg":3581,"./1f50e.svg":3582,"./1f50f.svg":3583,"./1f510.svg":3584,"./1f511.svg":3585,"./1f512.svg":3586,"./1f513.svg":3587,"./1f514.svg":3588,"./1f515.svg":3589,"./1f516.svg":3590,"./1f517.svg":3591,"./1f518.svg":3592,"./1f519.svg":3593,"./1f51a.svg":3594,"./1f51b.svg":3595,"./1f51c.svg":3596,"./1f51d.svg":3597,"./1f51e.svg":3598,"./1f51f.svg":3599,"./1f520.svg":3600,"./1f521.svg":3601,"./1f522.svg":3602,"./1f523.svg":3603,"./1f524.svg":3604,"./1f525.svg":3605,"./1f526.svg":3606,"./1f527.svg":3607,"./1f528.svg":3608,"./1f529.svg":3609,"./1f52a.svg":3610,"./1f52b.svg":3611,"./1f52c.svg":3612,"./1f52d.svg":3613,"./1f52e.svg":3614,"./1f52f.svg":3615,"./1f530.svg":3616,"./1f531.svg":3617,"./1f532.svg":3618,"./1f533.svg":3619,"./1f534.svg":3620,"./1f535.svg":3621,"./1f536.svg":3622,"./1f537.svg":3623,"./1f538.svg":3624,"./1f539.svg":3625,"./1f53a.svg":3626,"./1f53b.svg":3627,"./1f53c.svg":3628,"./1f53d.svg":3629,"./1f549.svg":3630,"./1f54a.svg":3631,"./1f54b.svg":3632,"./1f54c.svg":3633,"./1f54d.svg":3634,"./1f54e.svg":3635,"./1f550.svg":3636,"./1f551.svg":3637,"./1f552.svg":3638,"./1f553.svg":3639,"./1f554.svg":3640,"./1f555.svg":3641,"./1f556.svg":3642,"./1f557.svg":3643,"./1f558.svg":3644,"./1f559.svg":3645,"./1f55a.svg":3646,"./1f55b.svg":3647,"./1f55c.svg":3648,"./1f55d.svg":3649,"./1f55e.svg":3650,"./1f55f.svg":3651,"./1f560.svg":3652,"./1f561.svg":3653,"./1f562.svg":3654,"./1f563.svg":3655,"./1f564.svg":3656,"./1f565.svg":3657,"./1f566.svg":3658,"./1f567.svg":3659,"./1f56f.svg":3660,"./1f570.svg":3661,"./1f573.svg":3662,"./1f574-1f3fb-200d-2640-fe0f.svg":3663,"./1f574-1f3fb-200d-2642-fe0f.svg":3664,"./1f574-1f3fb.svg":3665,"./1f574-1f3fc-200d-2640-fe0f.svg":3666,"./1f574-1f3fc-200d-2642-fe0f.svg":3667,"./1f574-1f3fc.svg":3668,"./1f574-1f3fd-200d-2640-fe0f.svg":3669,"./1f574-1f3fd-200d-2642-fe0f.svg":3670,"./1f574-1f3fd.svg":3671,"./1f574-1f3fe-200d-2640-fe0f.svg":3672,"./1f574-1f3fe-200d-2642-fe0f.svg":3673,"./1f574-1f3fe.svg":3674,"./1f574-1f3ff-200d-2640-fe0f.svg":3675,"./1f574-1f3ff-200d-2642-fe0f.svg":3676,"./1f574-1f3ff.svg":3677,"./1f574-fe0f-200d-2640-fe0f.svg":3678,"./1f574-fe0f-200d-2642-fe0f.svg":3679,"./1f574.svg":3680,"./1f575-1f3fb-200d-2640-fe0f.svg":3681,"./1f575-1f3fb-200d-2642-fe0f.svg":3682,"./1f575-1f3fb.svg":3683,"./1f575-1f3fc-200d-2640-fe0f.svg":3684,"./1f575-1f3fc-200d-2642-fe0f.svg":3685,"./1f575-1f3fc.svg":3686,"./1f575-1f3fd-200d-2640-fe0f.svg":3687,"./1f575-1f3fd-200d-2642-fe0f.svg":3688,"./1f575-1f3fd.svg":3689,"./1f575-1f3fe-200d-2640-fe0f.svg":3690,"./1f575-1f3fe-200d-2642-fe0f.svg":3691,"./1f575-1f3fe.svg":3692,"./1f575-1f3ff-200d-2640-fe0f.svg":3693,"./1f575-1f3ff-200d-2642-fe0f.svg":3694,"./1f575-1f3ff.svg":3695,"./1f575-fe0f-200d-2640-fe0f.svg":3696,"./1f575-fe0f-200d-2642-fe0f.svg":3697,"./1f575.svg":3698,"./1f576.svg":3699,"./1f577.svg":3700,"./1f578.svg":3701,"./1f579.svg":3702,"./1f57a-1f3fb.svg":3703,"./1f57a-1f3fc.svg":3704,"./1f57a-1f3fd.svg":3705,"./1f57a-1f3fe.svg":3706,"./1f57a-1f3ff.svg":3707,"./1f57a.svg":3708,"./1f587.svg":3709,"./1f58a.svg":3710,"./1f58b.svg":3711,"./1f58c.svg":3712,"./1f58d.svg":3713,"./1f590-1f3fb.svg":3714,"./1f590-1f3fc.svg":3715,"./1f590-1f3fd.svg":3716,"./1f590-1f3fe.svg":3717,"./1f590-1f3ff.svg":3718,"./1f590.svg":3719,"./1f595-1f3fb.svg":3720,"./1f595-1f3fc.svg":3721,"./1f595-1f3fd.svg":3722,"./1f595-1f3fe.svg":3723,"./1f595-1f3ff.svg":3724,"./1f595.svg":3725,"./1f596-1f3fb.svg":3726,"./1f596-1f3fc.svg":3727,"./1f596-1f3fd.svg":3728,"./1f596-1f3fe.svg":3729,"./1f596-1f3ff.svg":3730,"./1f596.svg":3731,"./1f5a4.svg":3732,"./1f5a5.svg":3733,"./1f5a8.svg":3734,"./1f5b1.svg":3735,"./1f5b2.svg":3736,"./1f5bc.svg":3737,"./1f5c2.svg":3738,"./1f5c3.svg":3739,"./1f5c4.svg":3740,"./1f5d1.svg":3741,"./1f5d2.svg":3742,"./1f5d3.svg":3743,"./1f5dc.svg":3744,"./1f5dd.svg":3745,"./1f5de.svg":3746,"./1f5e1.svg":3747,"./1f5e3.svg":3748,"./1f5e8.svg":3749,"./1f5ef.svg":3750,"./1f5f3.svg":3751,"./1f5fa.svg":3752,"./1f5fb.svg":3753,"./1f5fc.svg":3754,"./1f5fd.svg":3755,"./1f5fe.svg":3756,"./1f5ff.svg":3757,"./1f600.svg":3758,"./1f601.svg":3759,"./1f602.svg":3760,"./1f603.svg":3761,"./1f604.svg":3762,"./1f605.svg":3763,"./1f606.svg":3764,"./1f607.svg":3765,"./1f608.svg":3766,"./1f609.svg":3767,"./1f60a.svg":3768,"./1f60b.svg":3769,"./1f60c.svg":3770,"./1f60d.svg":3771,"./1f60e.svg":3772,"./1f60f.svg":3773,"./1f610.svg":3774,"./1f611.svg":3775,"./1f612.svg":3776,"./1f613.svg":3777,"./1f614.svg":3778,"./1f615.svg":3779,"./1f616.svg":3780,"./1f617.svg":3781,"./1f618.svg":3782,"./1f619.svg":3783,"./1f61a.svg":3784,"./1f61b.svg":3785,"./1f61c.svg":3786,"./1f61d.svg":3787,"./1f61e.svg":3788,"./1f61f.svg":3789,"./1f620.svg":3790,"./1f621.svg":3791,"./1f622.svg":3792,"./1f623.svg":3793,"./1f624.svg":3794,"./1f625.svg":3795,"./1f626.svg":3796,"./1f627.svg":3797,"./1f628.svg":3798,"./1f629.svg":3799,"./1f62a.svg":3800,"./1f62b.svg":3801,"./1f62c.svg":3802,"./1f62d.svg":3803,"./1f62e-200d-1f4a8.svg":3804,"./1f62e.svg":3805,"./1f62f.svg":3806,"./1f630.svg":3807,"./1f631.svg":3808,"./1f632.svg":3809,"./1f633.svg":3810,"./1f634.svg":3811,"./1f635-200d-1f4ab.svg":3812,"./1f635.svg":3813,"./1f636-200d-1f32b-fe0f.svg":3814,"./1f636.svg":3815,"./1f637.svg":3816,"./1f638.svg":3817,"./1f639.svg":3818,"./1f63a.svg":3819,"./1f63b.svg":3820,"./1f63c.svg":3821,"./1f63d.svg":3822,"./1f63e.svg":3823,"./1f63f.svg":3824,"./1f640.svg":3825,"./1f641.svg":3826,"./1f642.svg":3827,"./1f643.svg":3828,"./1f644.svg":3829,"./1f645-1f3fb-200d-2640-fe0f.svg":3830,"./1f645-1f3fb-200d-2642-fe0f.svg":3831,"./1f645-1f3fb.svg":3832,"./1f645-1f3fc-200d-2640-fe0f.svg":3833,"./1f645-1f3fc-200d-2642-fe0f.svg":3834,"./1f645-1f3fc.svg":3835,"./1f645-1f3fd-200d-2640-fe0f.svg":3836,"./1f645-1f3fd-200d-2642-fe0f.svg":3837,"./1f645-1f3fd.svg":3838,"./1f645-1f3fe-200d-2640-fe0f.svg":3839,"./1f645-1f3fe-200d-2642-fe0f.svg":3840,"./1f645-1f3fe.svg":3841,"./1f645-1f3ff-200d-2640-fe0f.svg":3842,"./1f645-1f3ff-200d-2642-fe0f.svg":3843,"./1f645-1f3ff.svg":3844,"./1f645-200d-2640-fe0f.svg":3845,"./1f645-200d-2642-fe0f.svg":3846,"./1f645.svg":3847,"./1f646-1f3fb-200d-2640-fe0f.svg":3848,"./1f646-1f3fb-200d-2642-fe0f.svg":3849,"./1f646-1f3fb.svg":3850,"./1f646-1f3fc-200d-2640-fe0f.svg":3851,"./1f646-1f3fc-200d-2642-fe0f.svg":3852,"./1f646-1f3fc.svg":3853,"./1f646-1f3fd-200d-2640-fe0f.svg":3854,"./1f646-1f3fd-200d-2642-fe0f.svg":3855,"./1f646-1f3fd.svg":3856,"./1f646-1f3fe-200d-2640-fe0f.svg":3857,"./1f646-1f3fe-200d-2642-fe0f.svg":3858,"./1f646-1f3fe.svg":3859,"./1f646-1f3ff-200d-2640-fe0f.svg":3860,"./1f646-1f3ff-200d-2642-fe0f.svg":3861,"./1f646-1f3ff.svg":3862,"./1f646-200d-2640-fe0f.svg":3863,"./1f646-200d-2642-fe0f.svg":3864,"./1f646.svg":3865,"./1f647-1f3fb-200d-2640-fe0f.svg":3866,"./1f647-1f3fb-200d-2642-fe0f.svg":3867,"./1f647-1f3fb.svg":3868,"./1f647-1f3fc-200d-2640-fe0f.svg":3869,"./1f647-1f3fc-200d-2642-fe0f.svg":3870,"./1f647-1f3fc.svg":3871,"./1f647-1f3fd-200d-2640-fe0f.svg":3872,"./1f647-1f3fd-200d-2642-fe0f.svg":3873,"./1f647-1f3fd.svg":3874,"./1f647-1f3fe-200d-2640-fe0f.svg":3875,"./1f647-1f3fe-200d-2642-fe0f.svg":3876,"./1f647-1f3fe.svg":3877,"./1f647-1f3ff-200d-2640-fe0f.svg":3878,"./1f647-1f3ff-200d-2642-fe0f.svg":3879,"./1f647-1f3ff.svg":3880,"./1f647-200d-2640-fe0f.svg":3881,"./1f647-200d-2642-fe0f.svg":3882,"./1f647.svg":3883,"./1f648.svg":3884,"./1f649.svg":3885,"./1f64a.svg":3886,"./1f64b-1f3fb-200d-2640-fe0f.svg":3887,"./1f64b-1f3fb-200d-2642-fe0f.svg":3888,"./1f64b-1f3fb.svg":3889,"./1f64b-1f3fc-200d-2640-fe0f.svg":3890,"./1f64b-1f3fc-200d-2642-fe0f.svg":3891,"./1f64b-1f3fc.svg":3892,"./1f64b-1f3fd-200d-2640-fe0f.svg":3893,"./1f64b-1f3fd-200d-2642-fe0f.svg":3894,"./1f64b-1f3fd.svg":3895,"./1f64b-1f3fe-200d-2640-fe0f.svg":3896,"./1f64b-1f3fe-200d-2642-fe0f.svg":3897,"./1f64b-1f3fe.svg":3898,"./1f64b-1f3ff-200d-2640-fe0f.svg":3899,"./1f64b-1f3ff-200d-2642-fe0f.svg":3900,"./1f64b-1f3ff.svg":3901,"./1f64b-200d-2640-fe0f.svg":3902,"./1f64b-200d-2642-fe0f.svg":3903,"./1f64b.svg":3904,"./1f64c-1f3fb.svg":3905,"./1f64c-1f3fc.svg":3906,"./1f64c-1f3fd.svg":3907,"./1f64c-1f3fe.svg":3908,"./1f64c-1f3ff.svg":3909,"./1f64c.svg":3910,"./1f64d-1f3fb-200d-2640-fe0f.svg":3911,"./1f64d-1f3fb-200d-2642-fe0f.svg":3912,"./1f64d-1f3fb.svg":3913,"./1f64d-1f3fc-200d-2640-fe0f.svg":3914,"./1f64d-1f3fc-200d-2642-fe0f.svg":3915,"./1f64d-1f3fc.svg":3916,"./1f64d-1f3fd-200d-2640-fe0f.svg":3917,"./1f64d-1f3fd-200d-2642-fe0f.svg":3918,"./1f64d-1f3fd.svg":3919,"./1f64d-1f3fe-200d-2640-fe0f.svg":3920,"./1f64d-1f3fe-200d-2642-fe0f.svg":3921,"./1f64d-1f3fe.svg":3922,"./1f64d-1f3ff-200d-2640-fe0f.svg":3923,"./1f64d-1f3ff-200d-2642-fe0f.svg":3924,"./1f64d-1f3ff.svg":3925,"./1f64d-200d-2640-fe0f.svg":3926,"./1f64d-200d-2642-fe0f.svg":3927,"./1f64d.svg":3928,"./1f64e-1f3fb-200d-2640-fe0f.svg":3929,"./1f64e-1f3fb-200d-2642-fe0f.svg":3930,"./1f64e-1f3fb.svg":3931,"./1f64e-1f3fc-200d-2640-fe0f.svg":3932,"./1f64e-1f3fc-200d-2642-fe0f.svg":3933,"./1f64e-1f3fc.svg":3934,"./1f64e-1f3fd-200d-2640-fe0f.svg":3935,"./1f64e-1f3fd-200d-2642-fe0f.svg":3936,"./1f64e-1f3fd.svg":3937,"./1f64e-1f3fe-200d-2640-fe0f.svg":3938,"./1f64e-1f3fe-200d-2642-fe0f.svg":3939,"./1f64e-1f3fe.svg":3940,"./1f64e-1f3ff-200d-2640-fe0f.svg":3941,"./1f64e-1f3ff-200d-2642-fe0f.svg":3942,"./1f64e-1f3ff.svg":3943,"./1f64e-200d-2640-fe0f.svg":3944,"./1f64e-200d-2642-fe0f.svg":3945,"./1f64e.svg":3946,"./1f64f-1f3fb.svg":3947,"./1f64f-1f3fc.svg":3948,"./1f64f-1f3fd.svg":3949,"./1f64f-1f3fe.svg":3950,"./1f64f-1f3ff.svg":3951,"./1f64f.svg":3952,"./1f680.svg":3953,"./1f681.svg":3954,"./1f682.svg":3955,"./1f683.svg":3956,"./1f684.svg":3957,"./1f685.svg":3958,"./1f686.svg":3959,"./1f687.svg":3960,"./1f688.svg":3961,"./1f689.svg":3962,"./1f68a.svg":3963,"./1f68b.svg":3964,"./1f68c.svg":3965,"./1f68d.svg":3966,"./1f68e.svg":3967,"./1f68f.svg":3968,"./1f690.svg":3969,"./1f691.svg":3970,"./1f692.svg":3971,"./1f693.svg":3972,"./1f694.svg":3973,"./1f695.svg":3974,"./1f696.svg":3975,"./1f697.svg":3976,"./1f698.svg":3977,"./1f699.svg":3978,"./1f69a.svg":3979,"./1f69b.svg":3980,"./1f69c.svg":3981,"./1f69d.svg":3982,"./1f69e.svg":3983,"./1f69f.svg":3984,"./1f6a0.svg":3985,"./1f6a1.svg":3986,"./1f6a2.svg":3987,"./1f6a3-1f3fb-200d-2640-fe0f.svg":3988,"./1f6a3-1f3fb-200d-2642-fe0f.svg":3989,"./1f6a3-1f3fb.svg":3990,"./1f6a3-1f3fc-200d-2640-fe0f.svg":3991,"./1f6a3-1f3fc-200d-2642-fe0f.svg":3992,"./1f6a3-1f3fc.svg":3993,"./1f6a3-1f3fd-200d-2640-fe0f.svg":3994,"./1f6a3-1f3fd-200d-2642-fe0f.svg":3995,"./1f6a3-1f3fd.svg":3996,"./1f6a3-1f3fe-200d-2640-fe0f.svg":3997,"./1f6a3-1f3fe-200d-2642-fe0f.svg":3998,"./1f6a3-1f3fe.svg":3999,"./1f6a3-1f3ff-200d-2640-fe0f.svg":4e3,"./1f6a3-1f3ff-200d-2642-fe0f.svg":4001,"./1f6a3-1f3ff.svg":4002,"./1f6a3-200d-2640-fe0f.svg":4003,"./1f6a3-200d-2642-fe0f.svg":4004,"./1f6a3.svg":4005,"./1f6a4.svg":4006,"./1f6a5.svg":4007,"./1f6a6.svg":4008,"./1f6a7.svg":4009,"./1f6a8.svg":4010,"./1f6a9.svg":4011,"./1f6aa.svg":4012,"./1f6ab.svg":4013,"./1f6ac.svg":4014,"./1f6ad.svg":4015,"./1f6ae.svg":4016,"./1f6af.svg":4017,"./1f6b0.svg":4018,"./1f6b1.svg":4019,"./1f6b2.svg":4020,"./1f6b3.svg":4021,"./1f6b4-1f3fb-200d-2640-fe0f.svg":4022,"./1f6b4-1f3fb-200d-2642-fe0f.svg":4023,"./1f6b4-1f3fb.svg":4024,"./1f6b4-1f3fc-200d-2640-fe0f.svg":4025,"./1f6b4-1f3fc-200d-2642-fe0f.svg":4026,"./1f6b4-1f3fc.svg":4027,"./1f6b4-1f3fd-200d-2640-fe0f.svg":4028,"./1f6b4-1f3fd-200d-2642-fe0f.svg":4029,"./1f6b4-1f3fd.svg":4030,"./1f6b4-1f3fe-200d-2640-fe0f.svg":4031,"./1f6b4-1f3fe-200d-2642-fe0f.svg":4032,"./1f6b4-1f3fe.svg":4033,"./1f6b4-1f3ff-200d-2640-fe0f.svg":4034,"./1f6b4-1f3ff-200d-2642-fe0f.svg":4035,"./1f6b4-1f3ff.svg":4036,"./1f6b4-200d-2640-fe0f.svg":4037,"./1f6b4-200d-2642-fe0f.svg":4038,"./1f6b4.svg":4039,"./1f6b5-1f3fb-200d-2640-fe0f.svg":4040,"./1f6b5-1f3fb-200d-2642-fe0f.svg":4041,"./1f6b5-1f3fb.svg":4042,"./1f6b5-1f3fc-200d-2640-fe0f.svg":4043,"./1f6b5-1f3fc-200d-2642-fe0f.svg":4044,"./1f6b5-1f3fc.svg":4045,"./1f6b5-1f3fd-200d-2640-fe0f.svg":4046,"./1f6b5-1f3fd-200d-2642-fe0f.svg":4047,"./1f6b5-1f3fd.svg":4048,"./1f6b5-1f3fe-200d-2640-fe0f.svg":4049,"./1f6b5-1f3fe-200d-2642-fe0f.svg":4050,"./1f6b5-1f3fe.svg":4051,"./1f6b5-1f3ff-200d-2640-fe0f.svg":4052,"./1f6b5-1f3ff-200d-2642-fe0f.svg":4053,"./1f6b5-1f3ff.svg":4054,"./1f6b5-200d-2640-fe0f.svg":4055,"./1f6b5-200d-2642-fe0f.svg":4056,"./1f6b5.svg":4057,"./1f6b6-1f3fb-200d-2640-fe0f.svg":4058,"./1f6b6-1f3fb-200d-2642-fe0f.svg":4059,"./1f6b6-1f3fb.svg":4060,"./1f6b6-1f3fc-200d-2640-fe0f.svg":4061,"./1f6b6-1f3fc-200d-2642-fe0f.svg":4062,"./1f6b6-1f3fc.svg":4063,"./1f6b6-1f3fd-200d-2640-fe0f.svg":4064,"./1f6b6-1f3fd-200d-2642-fe0f.svg":4065,"./1f6b6-1f3fd.svg":4066,"./1f6b6-1f3fe-200d-2640-fe0f.svg":4067,"./1f6b6-1f3fe-200d-2642-fe0f.svg":4068,"./1f6b6-1f3fe.svg":4069,"./1f6b6-1f3ff-200d-2640-fe0f.svg":4070,"./1f6b6-1f3ff-200d-2642-fe0f.svg":4071,"./1f6b6-1f3ff.svg":4072,"./1f6b6-200d-2640-fe0f.svg":4073,"./1f6b6-200d-2642-fe0f.svg":4074,"./1f6b6.svg":4075,"./1f6b7.svg":4076,"./1f6b8.svg":4077,"./1f6b9.svg":4078,"./1f6ba.svg":4079,"./1f6bb.svg":4080,"./1f6bc.svg":4081,"./1f6bd.svg":4082,"./1f6be.svg":4083,"./1f6bf.svg":4084,"./1f6c0-1f3fb.svg":4085,"./1f6c0-1f3fc.svg":4086,"./1f6c0-1f3fd.svg":4087,"./1f6c0-1f3fe.svg":4088,"./1f6c0-1f3ff.svg":4089,"./1f6c0.svg":4090,"./1f6c1.svg":4091,"./1f6c2.svg":4092,"./1f6c3.svg":4093,"./1f6c4.svg":4094,"./1f6c5.svg":4095,"./1f6cb.svg":4096,"./1f6cc-1f3fb.svg":4097,"./1f6cc-1f3fc.svg":4098,"./1f6cc-1f3fd.svg":4099,"./1f6cc-1f3fe.svg":4100,"./1f6cc-1f3ff.svg":4101,"./1f6cc.svg":4102,"./1f6cd.svg":4103,"./1f6ce.svg":4104,"./1f6cf.svg":4105,"./1f6d0.svg":4106,"./1f6d1.svg":4107,"./1f6d2.svg":4108,"./1f6d5.svg":4109,"./1f6d6.svg":4110,"./1f6d7.svg":4111,"./1f6e0.svg":4112,"./1f6e1.svg":4113,"./1f6e2.svg":4114,"./1f6e3.svg":4115,"./1f6e4.svg":4116,"./1f6e5.svg":4117,"./1f6e9.svg":4118,"./1f6eb.svg":4119,"./1f6ec.svg":4120,"./1f6f0.svg":4121,"./1f6f3.svg":4122,"./1f6f4.svg":4123,"./1f6f5.svg":4124,"./1f6f6.svg":4125,"./1f6f7.svg":4126,"./1f6f8.svg":4127,"./1f6f9.svg":4128,"./1f6fa.svg":4129,"./1f6fb.svg":4130,"./1f6fc.svg":4131,"./1f7e0.svg":4132,"./1f7e1.svg":4133,"./1f7e2.svg":4134,"./1f7e3.svg":4135,"./1f7e4.svg":4136,"./1f7e5.svg":4137,"./1f7e6.svg":4138,"./1f7e7.svg":4139,"./1f7e8.svg":4140,"./1f7e9.svg":4141,"./1f7ea.svg":4142,"./1f7eb.svg":4143,"./1f90c-1f3fb.svg":4144,"./1f90c-1f3fc.svg":4145,"./1f90c-1f3fd.svg":4146,"./1f90c-1f3fe.svg":4147,"./1f90c-1f3ff.svg":4148,"./1f90c.svg":4149,"./1f90d.svg":4150,"./1f90e.svg":4151,"./1f90f-1f3fb.svg":4152,"./1f90f-1f3fc.svg":4153,"./1f90f-1f3fd.svg":4154,"./1f90f-1f3fe.svg":4155,"./1f90f-1f3ff.svg":4156,"./1f90f.svg":4157,"./1f910.svg":4158,"./1f911.svg":4159,"./1f912.svg":4160,"./1f913.svg":4161,"./1f914.svg":4162,"./1f915.svg":4163,"./1f916.svg":4164,"./1f917.svg":4165,"./1f918-1f3fb.svg":4166,"./1f918-1f3fc.svg":4167,"./1f918-1f3fd.svg":4168,"./1f918-1f3fe.svg":4169,"./1f918-1f3ff.svg":4170,"./1f918.svg":4171,"./1f919-1f3fb.svg":4172,"./1f919-1f3fc.svg":4173,"./1f919-1f3fd.svg":4174,"./1f919-1f3fe.svg":4175,"./1f919-1f3ff.svg":4176,"./1f919.svg":4177,"./1f91a-1f3fb.svg":4178,"./1f91a-1f3fc.svg":4179,"./1f91a-1f3fd.svg":4180,"./1f91a-1f3fe.svg":4181,"./1f91a-1f3ff.svg":4182,"./1f91a.svg":4183,"./1f91b-1f3fb.svg":4184,"./1f91b-1f3fc.svg":4185,"./1f91b-1f3fd.svg":4186,"./1f91b-1f3fe.svg":4187,"./1f91b-1f3ff.svg":4188,"./1f91b.svg":4189,"./1f91c-1f3fb.svg":4190,"./1f91c-1f3fc.svg":4191,"./1f91c-1f3fd.svg":4192,"./1f91c-1f3fe.svg":4193,"./1f91c-1f3ff.svg":4194,"./1f91c.svg":4195,"./1f91d.svg":4196,"./1f91e-1f3fb.svg":4197,"./1f91e-1f3fc.svg":4198,"./1f91e-1f3fd.svg":4199,"./1f91e-1f3fe.svg":4200,"./1f91e-1f3ff.svg":4201,"./1f91e.svg":4202,"./1f91f-1f3fb.svg":4203,"./1f91f-1f3fc.svg":4204,"./1f91f-1f3fd.svg":4205,"./1f91f-1f3fe.svg":4206,"./1f91f-1f3ff.svg":4207,"./1f91f.svg":4208,"./1f920.svg":4209,"./1f921.svg":4210,"./1f922.svg":4211,"./1f923.svg":4212,"./1f924.svg":4213,"./1f925.svg":4214,"./1f926-1f3fb-200d-2640-fe0f.svg":4215,"./1f926-1f3fb-200d-2642-fe0f.svg":4216,"./1f926-1f3fb.svg":4217,"./1f926-1f3fc-200d-2640-fe0f.svg":4218,"./1f926-1f3fc-200d-2642-fe0f.svg":4219,"./1f926-1f3fc.svg":4220,"./1f926-1f3fd-200d-2640-fe0f.svg":4221,"./1f926-1f3fd-200d-2642-fe0f.svg":4222,"./1f926-1f3fd.svg":4223,"./1f926-1f3fe-200d-2640-fe0f.svg":4224,"./1f926-1f3fe-200d-2642-fe0f.svg":4225,"./1f926-1f3fe.svg":4226,"./1f926-1f3ff-200d-2640-fe0f.svg":4227,"./1f926-1f3ff-200d-2642-fe0f.svg":4228,"./1f926-1f3ff.svg":4229,"./1f926-200d-2640-fe0f.svg":4230,"./1f926-200d-2642-fe0f.svg":4231,"./1f926.svg":4232,"./1f927.svg":4233,"./1f928.svg":4234,"./1f929.svg":4235,"./1f92a.svg":4236,"./1f92b.svg":4237,"./1f92c.svg":4238,"./1f92d.svg":4239,"./1f92e.svg":4240,"./1f92f.svg":4241,"./1f930-1f3fb.svg":4242,"./1f930-1f3fc.svg":4243,"./1f930-1f3fd.svg":4244,"./1f930-1f3fe.svg":4245,"./1f930-1f3ff.svg":4246,"./1f930.svg":4247,"./1f931-1f3fb.svg":4248,"./1f931-1f3fc.svg":4249,"./1f931-1f3fd.svg":4250,"./1f931-1f3fe.svg":4251,"./1f931-1f3ff.svg":4252,"./1f931.svg":4253,"./1f932-1f3fb.svg":4254,"./1f932-1f3fc.svg":4255,"./1f932-1f3fd.svg":4256,"./1f932-1f3fe.svg":4257,"./1f932-1f3ff.svg":4258,"./1f932.svg":4259,"./1f933-1f3fb.svg":4260,"./1f933-1f3fc.svg":4261,"./1f933-1f3fd.svg":4262,"./1f933-1f3fe.svg":4263,"./1f933-1f3ff.svg":4264,"./1f933.svg":4265,"./1f934-1f3fb.svg":4266,"./1f934-1f3fc.svg":4267,"./1f934-1f3fd.svg":4268,"./1f934-1f3fe.svg":4269,"./1f934-1f3ff.svg":4270,"./1f934.svg":4271,"./1f935-1f3fb-200d-2640-fe0f.svg":4272,"./1f935-1f3fb-200d-2642-fe0f.svg":4273,"./1f935-1f3fb.svg":4274,"./1f935-1f3fc-200d-2640-fe0f.svg":4275,"./1f935-1f3fc-200d-2642-fe0f.svg":4276,"./1f935-1f3fc.svg":4277,"./1f935-1f3fd-200d-2640-fe0f.svg":4278,"./1f935-1f3fd-200d-2642-fe0f.svg":4279,"./1f935-1f3fd.svg":4280,"./1f935-1f3fe-200d-2640-fe0f.svg":4281,"./1f935-1f3fe-200d-2642-fe0f.svg":4282,"./1f935-1f3fe.svg":4283,"./1f935-1f3ff-200d-2640-fe0f.svg":4284,"./1f935-1f3ff-200d-2642-fe0f.svg":4285,"./1f935-1f3ff.svg":4286,"./1f935-200d-2640-fe0f.svg":4287,"./1f935-200d-2642-fe0f.svg":4288,"./1f935.svg":4289,"./1f936-1f3fb.svg":4290,"./1f936-1f3fc.svg":4291,"./1f936-1f3fd.svg":4292,"./1f936-1f3fe.svg":4293,"./1f936-1f3ff.svg":4294,"./1f936.svg":4295,"./1f937-1f3fb-200d-2640-fe0f.svg":4296,"./1f937-1f3fb-200d-2642-fe0f.svg":4297,"./1f937-1f3fb.svg":4298,"./1f937-1f3fc-200d-2640-fe0f.svg":4299,"./1f937-1f3fc-200d-2642-fe0f.svg":4300,"./1f937-1f3fc.svg":4301,"./1f937-1f3fd-200d-2640-fe0f.svg":4302,"./1f937-1f3fd-200d-2642-fe0f.svg":4303,"./1f937-1f3fd.svg":4304,"./1f937-1f3fe-200d-2640-fe0f.svg":4305,"./1f937-1f3fe-200d-2642-fe0f.svg":4306,"./1f937-1f3fe.svg":4307,"./1f937-1f3ff-200d-2640-fe0f.svg":4308,"./1f937-1f3ff-200d-2642-fe0f.svg":4309,"./1f937-1f3ff.svg":4310,"./1f937-200d-2640-fe0f.svg":4311,"./1f937-200d-2642-fe0f.svg":4312,"./1f937.svg":4313,"./1f938-1f3fb-200d-2640-fe0f.svg":4314,"./1f938-1f3fb-200d-2642-fe0f.svg":4315,"./1f938-1f3fb.svg":4316,"./1f938-1f3fc-200d-2640-fe0f.svg":4317,"./1f938-1f3fc-200d-2642-fe0f.svg":4318,"./1f938-1f3fc.svg":4319,"./1f938-1f3fd-200d-2640-fe0f.svg":4320,"./1f938-1f3fd-200d-2642-fe0f.svg":4321,"./1f938-1f3fd.svg":4322,"./1f938-1f3fe-200d-2640-fe0f.svg":4323,"./1f938-1f3fe-200d-2642-fe0f.svg":4324,"./1f938-1f3fe.svg":4325,"./1f938-1f3ff-200d-2640-fe0f.svg":4326,"./1f938-1f3ff-200d-2642-fe0f.svg":4327,"./1f938-1f3ff.svg":4328,"./1f938-200d-2640-fe0f.svg":4329,"./1f938-200d-2642-fe0f.svg":4330,"./1f938.svg":4331,"./1f939-1f3fb-200d-2640-fe0f.svg":4332,"./1f939-1f3fb-200d-2642-fe0f.svg":4333,"./1f939-1f3fb.svg":4334,"./1f939-1f3fc-200d-2640-fe0f.svg":4335,"./1f939-1f3fc-200d-2642-fe0f.svg":4336,"./1f939-1f3fc.svg":4337,"./1f939-1f3fd-200d-2640-fe0f.svg":4338,"./1f939-1f3fd-200d-2642-fe0f.svg":4339,"./1f939-1f3fd.svg":4340,"./1f939-1f3fe-200d-2640-fe0f.svg":4341,"./1f939-1f3fe-200d-2642-fe0f.svg":4342,"./1f939-1f3fe.svg":4343,"./1f939-1f3ff-200d-2640-fe0f.svg":4344,"./1f939-1f3ff-200d-2642-fe0f.svg":4345,"./1f939-1f3ff.svg":4346,"./1f939-200d-2640-fe0f.svg":4347,"./1f939-200d-2642-fe0f.svg":4348,"./1f939.svg":4349,"./1f93a.svg":4350,"./1f93c-200d-2640-fe0f.svg":4351,"./1f93c-200d-2642-fe0f.svg":4352,"./1f93c.svg":4353,"./1f93d-1f3fb-200d-2640-fe0f.svg":4354,"./1f93d-1f3fb-200d-2642-fe0f.svg":4355,"./1f93d-1f3fb.svg":4356,"./1f93d-1f3fc-200d-2640-fe0f.svg":4357,"./1f93d-1f3fc-200d-2642-fe0f.svg":4358,"./1f93d-1f3fc.svg":4359,"./1f93d-1f3fd-200d-2640-fe0f.svg":4360,"./1f93d-1f3fd-200d-2642-fe0f.svg":4361,"./1f93d-1f3fd.svg":4362,"./1f93d-1f3fe-200d-2640-fe0f.svg":4363,"./1f93d-1f3fe-200d-2642-fe0f.svg":4364,"./1f93d-1f3fe.svg":4365,"./1f93d-1f3ff-200d-2640-fe0f.svg":4366,"./1f93d-1f3ff-200d-2642-fe0f.svg":4367,"./1f93d-1f3ff.svg":4368,"./1f93d-200d-2640-fe0f.svg":4369,"./1f93d-200d-2642-fe0f.svg":4370,"./1f93d.svg":4371,"./1f93e-1f3fb-200d-2640-fe0f.svg":4372,"./1f93e-1f3fb-200d-2642-fe0f.svg":4373,"./1f93e-1f3fb.svg":4374,"./1f93e-1f3fc-200d-2640-fe0f.svg":4375,"./1f93e-1f3fc-200d-2642-fe0f.svg":4376,"./1f93e-1f3fc.svg":4377,"./1f93e-1f3fd-200d-2640-fe0f.svg":4378,"./1f93e-1f3fd-200d-2642-fe0f.svg":4379,"./1f93e-1f3fd.svg":4380,"./1f93e-1f3fe-200d-2640-fe0f.svg":4381,"./1f93e-1f3fe-200d-2642-fe0f.svg":4382,"./1f93e-1f3fe.svg":4383,"./1f93e-1f3ff-200d-2640-fe0f.svg":4384,"./1f93e-1f3ff-200d-2642-fe0f.svg":4385,"./1f93e-1f3ff.svg":4386,"./1f93e-200d-2640-fe0f.svg":4387,"./1f93e-200d-2642-fe0f.svg":4388,"./1f93e.svg":4389,"./1f93f.svg":4390,"./1f940.svg":4391,"./1f941.svg":4392,"./1f942.svg":4393,"./1f943.svg":4394,"./1f944.svg":4395,"./1f945.svg":4396,"./1f947.svg":4397,"./1f948.svg":4398,"./1f949.svg":4399,"./1f94a.svg":4400,"./1f94b.svg":4401,"./1f94c.svg":4402,"./1f94d.svg":4403,"./1f94e.svg":4404,"./1f94f.svg":4405,"./1f950.svg":4406,"./1f951.svg":4407,"./1f952.svg":4408,"./1f953.svg":4409,"./1f954.svg":4410,"./1f955.svg":4411,"./1f956.svg":4412,"./1f957.svg":4413,"./1f958.svg":4414,"./1f959.svg":4415,"./1f95a.svg":4416,"./1f95b.svg":4417,"./1f95c.svg":4418,"./1f95d.svg":4419,"./1f95e.svg":4420,"./1f95f.svg":4421,"./1f960.svg":4422,"./1f961.svg":4423,"./1f962.svg":4424,"./1f963.svg":4425,"./1f964.svg":4426,"./1f965.svg":4427,"./1f966.svg":4428,"./1f967.svg":4429,"./1f968.svg":4430,"./1f969.svg":4431,"./1f96a.svg":4432,"./1f96b.svg":4433,"./1f96c.svg":4434,"./1f96d.svg":4435,"./1f96e.svg":4436,"./1f96f.svg":4437,"./1f970.svg":4438,"./1f971.svg":4439,"./1f972.svg":4440,"./1f973.svg":4441,"./1f974.svg":4442,"./1f975.svg":4443,"./1f976.svg":4444,"./1f977-1f3fb.svg":4445,"./1f977-1f3fc.svg":4446,"./1f977-1f3fd.svg":4447,"./1f977-1f3fe.svg":4448,"./1f977-1f3ff.svg":4449,"./1f977.svg":4450,"./1f978.svg":4451,"./1f97a.svg":4452,"./1f97b.svg":4453,"./1f97c.svg":4454,"./1f97d.svg":4455,"./1f97e.svg":4456,"./1f97f.svg":4457,"./1f980.svg":4458,"./1f981.svg":4459,"./1f982.svg":4460,"./1f983.svg":4461,"./1f984.svg":4462,"./1f985.svg":4463,"./1f986.svg":4464,"./1f987.svg":4465,"./1f988.svg":4466,"./1f989.svg":4467,"./1f98a.svg":4468,"./1f98b.svg":4469,"./1f98c.svg":4470,"./1f98d.svg":4471,"./1f98e.svg":4472,"./1f98f.svg":4473,"./1f990.svg":4474,"./1f991.svg":4475,"./1f992.svg":4476,"./1f993.svg":4477,"./1f994.svg":4478,"./1f995.svg":4479,"./1f996.svg":4480,"./1f997.svg":4481,"./1f998.svg":4482,"./1f999.svg":4483,"./1f99a.svg":4484,"./1f99b.svg":4485,"./1f99c.svg":4486,"./1f99d.svg":4487,"./1f99e.svg":4488,"./1f99f.svg":4489,"./1f9a0.svg":4490,"./1f9a1.svg":4491,"./1f9a2.svg":4492,"./1f9a3.svg":4493,"./1f9a4.svg":4494,"./1f9a5.svg":4495,"./1f9a6.svg":4496,"./1f9a7.svg":4497,"./1f9a8.svg":4498,"./1f9a9.svg":4499,"./1f9aa.svg":4500,"./1f9ab.svg":4501,"./1f9ac.svg":4502,"./1f9ad.svg":4503,"./1f9ae.svg":4504,"./1f9af.svg":4505,"./1f9b0.svg":4506,"./1f9b1.svg":4507,"./1f9b2.svg":4508,"./1f9b3.svg":4509,"./1f9b4.svg":4510,"./1f9b5-1f3fb.svg":4511,"./1f9b5-1f3fc.svg":4512,"./1f9b5-1f3fd.svg":4513,"./1f9b5-1f3fe.svg":4514,"./1f9b5-1f3ff.svg":4515,"./1f9b5.svg":4516,"./1f9b6-1f3fb.svg":4517,"./1f9b6-1f3fc.svg":4518,"./1f9b6-1f3fd.svg":4519,"./1f9b6-1f3fe.svg":4520,"./1f9b6-1f3ff.svg":4521,"./1f9b6.svg":4522,"./1f9b7.svg":4523,"./1f9b8-1f3fb-200d-2640-fe0f.svg":4524,"./1f9b8-1f3fb-200d-2642-fe0f.svg":4525,"./1f9b8-1f3fb.svg":4526,"./1f9b8-1f3fc-200d-2640-fe0f.svg":4527,"./1f9b8-1f3fc-200d-2642-fe0f.svg":4528,"./1f9b8-1f3fc.svg":4529,"./1f9b8-1f3fd-200d-2640-fe0f.svg":4530,"./1f9b8-1f3fd-200d-2642-fe0f.svg":4531,"./1f9b8-1f3fd.svg":4532,"./1f9b8-1f3fe-200d-2640-fe0f.svg":4533,"./1f9b8-1f3fe-200d-2642-fe0f.svg":4534,"./1f9b8-1f3fe.svg":4535,"./1f9b8-1f3ff-200d-2640-fe0f.svg":4536,"./1f9b8-1f3ff-200d-2642-fe0f.svg":4537,"./1f9b8-1f3ff.svg":4538,"./1f9b8-200d-2640-fe0f.svg":4539,"./1f9b8-200d-2642-fe0f.svg":4540,"./1f9b8.svg":4541,"./1f9b9-1f3fb-200d-2640-fe0f.svg":4542,"./1f9b9-1f3fb-200d-2642-fe0f.svg":4543,"./1f9b9-1f3fb.svg":4544,"./1f9b9-1f3fc-200d-2640-fe0f.svg":4545,"./1f9b9-1f3fc-200d-2642-fe0f.svg":4546,"./1f9b9-1f3fc.svg":4547,"./1f9b9-1f3fd-200d-2640-fe0f.svg":4548,"./1f9b9-1f3fd-200d-2642-fe0f.svg":4549,"./1f9b9-1f3fd.svg":4550,"./1f9b9-1f3fe-200d-2640-fe0f.svg":4551,"./1f9b9-1f3fe-200d-2642-fe0f.svg":4552,"./1f9b9-1f3fe.svg":4553,"./1f9b9-1f3ff-200d-2640-fe0f.svg":4554,"./1f9b9-1f3ff-200d-2642-fe0f.svg":4555,"./1f9b9-1f3ff.svg":4556,"./1f9b9-200d-2640-fe0f.svg":4557,"./1f9b9-200d-2642-fe0f.svg":4558,"./1f9b9.svg":4559,"./1f9ba.svg":4560,"./1f9bb-1f3fb.svg":4561,"./1f9bb-1f3fc.svg":4562,"./1f9bb-1f3fd.svg":4563,"./1f9bb-1f3fe.svg":4564,"./1f9bb-1f3ff.svg":4565,"./1f9bb.svg":4566,"./1f9bc.svg":4567,"./1f9bd.svg":4568,"./1f9be.svg":4569,"./1f9bf.svg":4570,"./1f9c0.svg":4571,"./1f9c1.svg":4572,"./1f9c2.svg":4573,"./1f9c3.svg":4574,"./1f9c4.svg":4575,"./1f9c5.svg":4576,"./1f9c6.svg":4577,"./1f9c7.svg":4578,"./1f9c8.svg":4579,"./1f9c9.svg":4580,"./1f9ca.svg":4581,"./1f9cb.svg":4582,"./1f9cd-1f3fb-200d-2640-fe0f.svg":4583,"./1f9cd-1f3fb-200d-2642-fe0f.svg":4584,"./1f9cd-1f3fb.svg":4585,"./1f9cd-1f3fc-200d-2640-fe0f.svg":4586,"./1f9cd-1f3fc-200d-2642-fe0f.svg":4587,"./1f9cd-1f3fc.svg":4588,"./1f9cd-1f3fd-200d-2640-fe0f.svg":4589,"./1f9cd-1f3fd-200d-2642-fe0f.svg":4590,"./1f9cd-1f3fd.svg":4591,"./1f9cd-1f3fe-200d-2640-fe0f.svg":4592,"./1f9cd-1f3fe-200d-2642-fe0f.svg":4593,"./1f9cd-1f3fe.svg":4594,"./1f9cd-1f3ff-200d-2640-fe0f.svg":4595,"./1f9cd-1f3ff-200d-2642-fe0f.svg":4596,"./1f9cd-1f3ff.svg":4597,"./1f9cd-200d-2640-fe0f.svg":4598,"./1f9cd-200d-2642-fe0f.svg":4599,"./1f9cd.svg":4600,"./1f9ce-1f3fb-200d-2640-fe0f.svg":4601,"./1f9ce-1f3fb-200d-2642-fe0f.svg":4602,"./1f9ce-1f3fb.svg":4603,"./1f9ce-1f3fc-200d-2640-fe0f.svg":4604,"./1f9ce-1f3fc-200d-2642-fe0f.svg":4605,"./1f9ce-1f3fc.svg":4606,"./1f9ce-1f3fd-200d-2640-fe0f.svg":4607,"./1f9ce-1f3fd-200d-2642-fe0f.svg":4608,"./1f9ce-1f3fd.svg":4609,"./1f9ce-1f3fe-200d-2640-fe0f.svg":4610,"./1f9ce-1f3fe-200d-2642-fe0f.svg":4611,"./1f9ce-1f3fe.svg":4612,"./1f9ce-1f3ff-200d-2640-fe0f.svg":4613,"./1f9ce-1f3ff-200d-2642-fe0f.svg":4614,"./1f9ce-1f3ff.svg":4615,"./1f9ce-200d-2640-fe0f.svg":4616,"./1f9ce-200d-2642-fe0f.svg":4617,"./1f9ce.svg":4618,"./1f9cf-1f3fb-200d-2640-fe0f.svg":4619,"./1f9cf-1f3fb-200d-2642-fe0f.svg":4620,"./1f9cf-1f3fb.svg":4621,"./1f9cf-1f3fc-200d-2640-fe0f.svg":4622,"./1f9cf-1f3fc-200d-2642-fe0f.svg":4623,"./1f9cf-1f3fc.svg":4624,"./1f9cf-1f3fd-200d-2640-fe0f.svg":4625,"./1f9cf-1f3fd-200d-2642-fe0f.svg":4626,"./1f9cf-1f3fd.svg":4627,"./1f9cf-1f3fe-200d-2640-fe0f.svg":4628,"./1f9cf-1f3fe-200d-2642-fe0f.svg":4629,"./1f9cf-1f3fe.svg":4630,"./1f9cf-1f3ff-200d-2640-fe0f.svg":4631,"./1f9cf-1f3ff-200d-2642-fe0f.svg":4632,"./1f9cf-1f3ff.svg":4633,"./1f9cf-200d-2640-fe0f.svg":4634,"./1f9cf-200d-2642-fe0f.svg":4635,"./1f9cf.svg":4636,"./1f9d0.svg":4637,"./1f9d1-1f3fb-200d-1f33e.svg":4638,"./1f9d1-1f3fb-200d-1f373.svg":4639,"./1f9d1-1f3fb-200d-1f37c.svg":4640,"./1f9d1-1f3fb-200d-1f384.svg":4641,"./1f9d1-1f3fb-200d-1f393.svg":4642,"./1f9d1-1f3fb-200d-1f3a4.svg":4643,"./1f9d1-1f3fb-200d-1f3a8.svg":4644,"./1f9d1-1f3fb-200d-1f3eb.svg":4645,"./1f9d1-1f3fb-200d-1f3ed.svg":4646,"./1f9d1-1f3fb-200d-1f4bb.svg":4647,"./1f9d1-1f3fb-200d-1f4bc.svg":4648,"./1f9d1-1f3fb-200d-1f527.svg":4649,"./1f9d1-1f3fb-200d-1f52c.svg":4650,"./1f9d1-1f3fb-200d-1f680.svg":4651,"./1f9d1-1f3fb-200d-1f692.svg":4652,"./1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fb.svg":4653,"./1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fc.svg":4654,"./1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fd.svg":4655,"./1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fe.svg":4656,"./1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3ff.svg":4657,"./1f9d1-1f3fb-200d-1f9af.svg":4658,"./1f9d1-1f3fb-200d-1f9b0.svg":4659,"./1f9d1-1f3fb-200d-1f9b1.svg":4660,"./1f9d1-1f3fb-200d-1f9b2.svg":4661,"./1f9d1-1f3fb-200d-1f9b3.svg":4662,"./1f9d1-1f3fb-200d-1f9bc.svg":4663,"./1f9d1-1f3fb-200d-1f9bd.svg":4664,"./1f9d1-1f3fb-200d-2695-fe0f.svg":4665,"./1f9d1-1f3fb-200d-2696-fe0f.svg":4666,"./1f9d1-1f3fb-200d-2708-fe0f.svg":4667,"./1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc.svg":4668,"./1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd.svg":4669,"./1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe.svg":4670,"./1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff.svg":4671,"./1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fc.svg":4672,"./1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fd.svg":4673,"./1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fe.svg":4674,"./1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3ff.svg":4675,"./1f9d1-1f3fb.svg":4676,"./1f9d1-1f3fc-200d-1f33e.svg":4677,"./1f9d1-1f3fc-200d-1f373.svg":4678,"./1f9d1-1f3fc-200d-1f37c.svg":4679,"./1f9d1-1f3fc-200d-1f384.svg":4680,"./1f9d1-1f3fc-200d-1f393.svg":4681,"./1f9d1-1f3fc-200d-1f3a4.svg":4682,"./1f9d1-1f3fc-200d-1f3a8.svg":4683,"./1f9d1-1f3fc-200d-1f3eb.svg":4684,"./1f9d1-1f3fc-200d-1f3ed.svg":4685,"./1f9d1-1f3fc-200d-1f4bb.svg":4686,"./1f9d1-1f3fc-200d-1f4bc.svg":4687,"./1f9d1-1f3fc-200d-1f527.svg":4688,"./1f9d1-1f3fc-200d-1f52c.svg":4689,"./1f9d1-1f3fc-200d-1f680.svg":4690,"./1f9d1-1f3fc-200d-1f692.svg":4691,"./1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fb.svg":4692,"./1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fc.svg":4693,"./1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fd.svg":4694,"./1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fe.svg":4695,"./1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3ff.svg":4696,"./1f9d1-1f3fc-200d-1f9af.svg":4697,"./1f9d1-1f3fc-200d-1f9b0.svg":4698,"./1f9d1-1f3fc-200d-1f9b1.svg":4699,"./1f9d1-1f3fc-200d-1f9b2.svg":4700,"./1f9d1-1f3fc-200d-1f9b3.svg":4701,"./1f9d1-1f3fc-200d-1f9bc.svg":4702,"./1f9d1-1f3fc-200d-1f9bd.svg":4703,"./1f9d1-1f3fc-200d-2695-fe0f.svg":4704,"./1f9d1-1f3fc-200d-2696-fe0f.svg":4705,"./1f9d1-1f3fc-200d-2708-fe0f.svg":4706,"./1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb.svg":4707,"./1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd.svg":4708,"./1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe.svg":4709,"./1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff.svg":4710,"./1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fb.svg":4711,"./1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fd.svg":4712,"./1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fe.svg":4713,"./1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3ff.svg":4714,"./1f9d1-1f3fc.svg":4715,"./1f9d1-1f3fd-200d-1f33e.svg":4716,"./1f9d1-1f3fd-200d-1f373.svg":4717,"./1f9d1-1f3fd-200d-1f37c.svg":4718,"./1f9d1-1f3fd-200d-1f384.svg":4719,"./1f9d1-1f3fd-200d-1f393.svg":4720,"./1f9d1-1f3fd-200d-1f3a4.svg":4721,"./1f9d1-1f3fd-200d-1f3a8.svg":4722,"./1f9d1-1f3fd-200d-1f3eb.svg":4723,"./1f9d1-1f3fd-200d-1f3ed.svg":4724,"./1f9d1-1f3fd-200d-1f4bb.svg":4725,"./1f9d1-1f3fd-200d-1f4bc.svg":4726,"./1f9d1-1f3fd-200d-1f527.svg":4727,"./1f9d1-1f3fd-200d-1f52c.svg":4728,"./1f9d1-1f3fd-200d-1f680.svg":4729,"./1f9d1-1f3fd-200d-1f692.svg":4730,"./1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fb.svg":4731,"./1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fc.svg":4732,"./1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fd.svg":4733,"./1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fe.svg":4734,"./1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3ff.svg":4735,"./1f9d1-1f3fd-200d-1f9af.svg":4736,"./1f9d1-1f3fd-200d-1f9b0.svg":4737,"./1f9d1-1f3fd-200d-1f9b1.svg":4738,"./1f9d1-1f3fd-200d-1f9b2.svg":4739,"./1f9d1-1f3fd-200d-1f9b3.svg":4740,"./1f9d1-1f3fd-200d-1f9bc.svg":4741,"./1f9d1-1f3fd-200d-1f9bd.svg":4742,"./1f9d1-1f3fd-200d-2695-fe0f.svg":4743,"./1f9d1-1f3fd-200d-2696-fe0f.svg":4744,"./1f9d1-1f3fd-200d-2708-fe0f.svg":4745,"./1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb.svg":4746,"./1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc.svg":4747,"./1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe.svg":4748,"./1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff.svg":4749,"./1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fb.svg":4750,"./1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fc.svg":4751,"./1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fe.svg":4752,"./1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3ff.svg":4753,"./1f9d1-1f3fd.svg":4754,"./1f9d1-1f3fe-200d-1f33e.svg":4755,"./1f9d1-1f3fe-200d-1f373.svg":4756,"./1f9d1-1f3fe-200d-1f37c.svg":4757,"./1f9d1-1f3fe-200d-1f384.svg":4758,"./1f9d1-1f3fe-200d-1f393.svg":4759,"./1f9d1-1f3fe-200d-1f3a4.svg":4760,"./1f9d1-1f3fe-200d-1f3a8.svg":4761,"./1f9d1-1f3fe-200d-1f3eb.svg":4762,"./1f9d1-1f3fe-200d-1f3ed.svg":4763,"./1f9d1-1f3fe-200d-1f4bb.svg":4764,"./1f9d1-1f3fe-200d-1f4bc.svg":4765,"./1f9d1-1f3fe-200d-1f527.svg":4766,"./1f9d1-1f3fe-200d-1f52c.svg":4767,"./1f9d1-1f3fe-200d-1f680.svg":4768,"./1f9d1-1f3fe-200d-1f692.svg":4769,"./1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fb.svg":4770,"./1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fc.svg":4771,"./1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fd.svg":4772,"./1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fe.svg":4773,"./1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3ff.svg":4774,"./1f9d1-1f3fe-200d-1f9af.svg":4775,"./1f9d1-1f3fe-200d-1f9b0.svg":4776,"./1f9d1-1f3fe-200d-1f9b1.svg":4777,"./1f9d1-1f3fe-200d-1f9b2.svg":4778,"./1f9d1-1f3fe-200d-1f9b3.svg":4779,"./1f9d1-1f3fe-200d-1f9bc.svg":4780,"./1f9d1-1f3fe-200d-1f9bd.svg":4781,"./1f9d1-1f3fe-200d-2695-fe0f.svg":4782,"./1f9d1-1f3fe-200d-2696-fe0f.svg":4783,"./1f9d1-1f3fe-200d-2708-fe0f.svg":4784,"./1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb.svg":4785,"./1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc.svg":4786,"./1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd.svg":4787,"./1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff.svg":4788,"./1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fb.svg":4789,"./1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fc.svg":4790,"./1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fd.svg":4791,"./1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3ff.svg":4792,"./1f9d1-1f3fe.svg":4793,"./1f9d1-1f3ff-200d-1f33e.svg":4794,"./1f9d1-1f3ff-200d-1f373.svg":4795,"./1f9d1-1f3ff-200d-1f37c.svg":4796,"./1f9d1-1f3ff-200d-1f384.svg":4797,"./1f9d1-1f3ff-200d-1f393.svg":4798,"./1f9d1-1f3ff-200d-1f3a4.svg":4799,"./1f9d1-1f3ff-200d-1f3a8.svg":4800,"./1f9d1-1f3ff-200d-1f3eb.svg":4801,"./1f9d1-1f3ff-200d-1f3ed.svg":4802,"./1f9d1-1f3ff-200d-1f4bb.svg":4803,"./1f9d1-1f3ff-200d-1f4bc.svg":4804,"./1f9d1-1f3ff-200d-1f527.svg":4805,"./1f9d1-1f3ff-200d-1f52c.svg":4806,"./1f9d1-1f3ff-200d-1f680.svg":4807,"./1f9d1-1f3ff-200d-1f692.svg":4808,"./1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fb.svg":4809,"./1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fc.svg":4810,"./1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fd.svg":4811,"./1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fe.svg":4812,"./1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3ff.svg":4813,"./1f9d1-1f3ff-200d-1f9af.svg":4814,"./1f9d1-1f3ff-200d-1f9b0.svg":4815,"./1f9d1-1f3ff-200d-1f9b1.svg":4816,"./1f9d1-1f3ff-200d-1f9b2.svg":4817,"./1f9d1-1f3ff-200d-1f9b3.svg":4818,"./1f9d1-1f3ff-200d-1f9bc.svg":4819,"./1f9d1-1f3ff-200d-1f9bd.svg":4820,"./1f9d1-1f3ff-200d-2695-fe0f.svg":4821,"./1f9d1-1f3ff-200d-2696-fe0f.svg":4822,"./1f9d1-1f3ff-200d-2708-fe0f.svg":4823,"./1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb.svg":4824,"./1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc.svg":4825,"./1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd.svg":4826,"./1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe.svg":4827,"./1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fb.svg":4828,"./1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fc.svg":4829,"./1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fd.svg":4830,"./1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fe.svg":4831,"./1f9d1-1f3ff.svg":4832,"./1f9d1-200d-1f33e.svg":4833,"./1f9d1-200d-1f373.svg":4834,"./1f9d1-200d-1f37c.svg":4835,"./1f9d1-200d-1f384.svg":4836,"./1f9d1-200d-1f393.svg":4837,"./1f9d1-200d-1f3a4.svg":4838,"./1f9d1-200d-1f3a8.svg":4839,"./1f9d1-200d-1f3eb.svg":4840,"./1f9d1-200d-1f3ed.svg":4841,"./1f9d1-200d-1f4bb.svg":4842,"./1f9d1-200d-1f4bc.svg":4843,"./1f9d1-200d-1f527.svg":4844,"./1f9d1-200d-1f52c.svg":4845,"./1f9d1-200d-1f680.svg":4846,"./1f9d1-200d-1f692.svg":4847,"./1f9d1-200d-1f91d-200d-1f9d1.svg":4848,"./1f9d1-200d-1f9af.svg":4849,"./1f9d1-200d-1f9b0.svg":4850,"./1f9d1-200d-1f9b1.svg":4851,"./1f9d1-200d-1f9b2.svg":4852,"./1f9d1-200d-1f9b3.svg":4853,"./1f9d1-200d-1f9bc.svg":4854,"./1f9d1-200d-1f9bd.svg":4855,"./1f9d1-200d-2695-fe0f.svg":4856,"./1f9d1-200d-2696-fe0f.svg":4857,"./1f9d1-200d-2708-fe0f.svg":4858,"./1f9d1.svg":4859,"./1f9d2-1f3fb.svg":4860,"./1f9d2-1f3fc.svg":4861,"./1f9d2-1f3fd.svg":4862,"./1f9d2-1f3fe.svg":4863,"./1f9d2-1f3ff.svg":4864,"./1f9d2.svg":4865,"./1f9d3-1f3fb.svg":4866,"./1f9d3-1f3fc.svg":4867,"./1f9d3-1f3fd.svg":4868,"./1f9d3-1f3fe.svg":4869,"./1f9d3-1f3ff.svg":4870,"./1f9d3.svg":4871,"./1f9d4-1f3fb-200d-2640-fe0f.svg":4872,"./1f9d4-1f3fb-200d-2642-fe0f.svg":4873,"./1f9d4-1f3fb.svg":4874,"./1f9d4-1f3fc-200d-2640-fe0f.svg":4875,"./1f9d4-1f3fc-200d-2642-fe0f.svg":4876,"./1f9d4-1f3fc.svg":4877,"./1f9d4-1f3fd-200d-2640-fe0f.svg":4878,"./1f9d4-1f3fd-200d-2642-fe0f.svg":4879,"./1f9d4-1f3fd.svg":4880,"./1f9d4-1f3fe-200d-2640-fe0f.svg":4881,"./1f9d4-1f3fe-200d-2642-fe0f.svg":4882,"./1f9d4-1f3fe.svg":4883,"./1f9d4-1f3ff-200d-2640-fe0f.svg":4884,"./1f9d4-1f3ff-200d-2642-fe0f.svg":4885,"./1f9d4-1f3ff.svg":4886,"./1f9d4-200d-2640-fe0f.svg":4887,"./1f9d4-200d-2642-fe0f.svg":4888,"./1f9d4.svg":4889,"./1f9d5-1f3fb.svg":4890,"./1f9d5-1f3fc.svg":4891,"./1f9d5-1f3fd.svg":4892,"./1f9d5-1f3fe.svg":4893,"./1f9d5-1f3ff.svg":4894,"./1f9d5.svg":4895,"./1f9d6-1f3fb-200d-2640-fe0f.svg":4896,"./1f9d6-1f3fb-200d-2642-fe0f.svg":4897,"./1f9d6-1f3fb.svg":4898,"./1f9d6-1f3fc-200d-2640-fe0f.svg":4899,"./1f9d6-1f3fc-200d-2642-fe0f.svg":4900,"./1f9d6-1f3fc.svg":4901,"./1f9d6-1f3fd-200d-2640-fe0f.svg":4902,"./1f9d6-1f3fd-200d-2642-fe0f.svg":4903,"./1f9d6-1f3fd.svg":4904,"./1f9d6-1f3fe-200d-2640-fe0f.svg":4905,"./1f9d6-1f3fe-200d-2642-fe0f.svg":4906,"./1f9d6-1f3fe.svg":4907,"./1f9d6-1f3ff-200d-2640-fe0f.svg":4908,"./1f9d6-1f3ff-200d-2642-fe0f.svg":4909,"./1f9d6-1f3ff.svg":4910,"./1f9d6-200d-2640-fe0f.svg":4911,"./1f9d6-200d-2642-fe0f.svg":4912,"./1f9d6.svg":4913,"./1f9d7-1f3fb-200d-2640-fe0f.svg":4914,"./1f9d7-1f3fb-200d-2642-fe0f.svg":4915,"./1f9d7-1f3fb.svg":4916,"./1f9d7-1f3fc-200d-2640-fe0f.svg":4917,"./1f9d7-1f3fc-200d-2642-fe0f.svg":4918,"./1f9d7-1f3fc.svg":4919,"./1f9d7-1f3fd-200d-2640-fe0f.svg":4920,"./1f9d7-1f3fd-200d-2642-fe0f.svg":4921,"./1f9d7-1f3fd.svg":4922,"./1f9d7-1f3fe-200d-2640-fe0f.svg":4923,"./1f9d7-1f3fe-200d-2642-fe0f.svg":4924,"./1f9d7-1f3fe.svg":4925,"./1f9d7-1f3ff-200d-2640-fe0f.svg":4926,"./1f9d7-1f3ff-200d-2642-fe0f.svg":4927,"./1f9d7-1f3ff.svg":4928,"./1f9d7-200d-2640-fe0f.svg":4929,"./1f9d7-200d-2642-fe0f.svg":4930,"./1f9d7.svg":4931,"./1f9d8-1f3fb-200d-2640-fe0f.svg":4932,"./1f9d8-1f3fb-200d-2642-fe0f.svg":4933,"./1f9d8-1f3fb.svg":4934,"./1f9d8-1f3fc-200d-2640-fe0f.svg":4935,"./1f9d8-1f3fc-200d-2642-fe0f.svg":4936,"./1f9d8-1f3fc.svg":4937,"./1f9d8-1f3fd-200d-2640-fe0f.svg":4938,"./1f9d8-1f3fd-200d-2642-fe0f.svg":4939,"./1f9d8-1f3fd.svg":4940,"./1f9d8-1f3fe-200d-2640-fe0f.svg":4941,"./1f9d8-1f3fe-200d-2642-fe0f.svg":4942,"./1f9d8-1f3fe.svg":4943,"./1f9d8-1f3ff-200d-2640-fe0f.svg":4944,"./1f9d8-1f3ff-200d-2642-fe0f.svg":4945,"./1f9d8-1f3ff.svg":4946,"./1f9d8-200d-2640-fe0f.svg":4947,"./1f9d8-200d-2642-fe0f.svg":4948,"./1f9d8.svg":4949,"./1f9d9-1f3fb-200d-2640-fe0f.svg":4950,"./1f9d9-1f3fb-200d-2642-fe0f.svg":4951,"./1f9d9-1f3fb.svg":4952,"./1f9d9-1f3fc-200d-2640-fe0f.svg":4953,"./1f9d9-1f3fc-200d-2642-fe0f.svg":4954,"./1f9d9-1f3fc.svg":4955,"./1f9d9-1f3fd-200d-2640-fe0f.svg":4956,"./1f9d9-1f3fd-200d-2642-fe0f.svg":4957,"./1f9d9-1f3fd.svg":4958,"./1f9d9-1f3fe-200d-2640-fe0f.svg":4959,"./1f9d9-1f3fe-200d-2642-fe0f.svg":4960,"./1f9d9-1f3fe.svg":4961,"./1f9d9-1f3ff-200d-2640-fe0f.svg":4962,"./1f9d9-1f3ff-200d-2642-fe0f.svg":4963,"./1f9d9-1f3ff.svg":4964,"./1f9d9-200d-2640-fe0f.svg":4965,"./1f9d9-200d-2642-fe0f.svg":4966,"./1f9d9.svg":4967,"./1f9da-1f3fb-200d-2640-fe0f.svg":4968,"./1f9da-1f3fb-200d-2642-fe0f.svg":4969,"./1f9da-1f3fb.svg":4970,"./1f9da-1f3fc-200d-2640-fe0f.svg":4971,"./1f9da-1f3fc-200d-2642-fe0f.svg":4972,"./1f9da-1f3fc.svg":4973,"./1f9da-1f3fd-200d-2640-fe0f.svg":4974,"./1f9da-1f3fd-200d-2642-fe0f.svg":4975,"./1f9da-1f3fd.svg":4976,"./1f9da-1f3fe-200d-2640-fe0f.svg":4977,"./1f9da-1f3fe-200d-2642-fe0f.svg":4978,"./1f9da-1f3fe.svg":4979,"./1f9da-1f3ff-200d-2640-fe0f.svg":4980,"./1f9da-1f3ff-200d-2642-fe0f.svg":4981,"./1f9da-1f3ff.svg":4982,"./1f9da-200d-2640-fe0f.svg":4983,"./1f9da-200d-2642-fe0f.svg":4984,"./1f9da.svg":4985,"./1f9db-1f3fb-200d-2640-fe0f.svg":4986,"./1f9db-1f3fb-200d-2642-fe0f.svg":4987,"./1f9db-1f3fb.svg":4988,"./1f9db-1f3fc-200d-2640-fe0f.svg":4989,"./1f9db-1f3fc-200d-2642-fe0f.svg":4990,"./1f9db-1f3fc.svg":4991,"./1f9db-1f3fd-200d-2640-fe0f.svg":4992,"./1f9db-1f3fd-200d-2642-fe0f.svg":4993,"./1f9db-1f3fd.svg":4994,"./1f9db-1f3fe-200d-2640-fe0f.svg":4995,"./1f9db-1f3fe-200d-2642-fe0f.svg":4996,"./1f9db-1f3fe.svg":4997,"./1f9db-1f3ff-200d-2640-fe0f.svg":4998,"./1f9db-1f3ff-200d-2642-fe0f.svg":4999,"./1f9db-1f3ff.svg":5e3,"./1f9db-200d-2640-fe0f.svg":5001,"./1f9db-200d-2642-fe0f.svg":5002,"./1f9db.svg":5003,"./1f9dc-1f3fb-200d-2640-fe0f.svg":5004,"./1f9dc-1f3fb-200d-2642-fe0f.svg":5005,"./1f9dc-1f3fb.svg":5006,"./1f9dc-1f3fc-200d-2640-fe0f.svg":5007,"./1f9dc-1f3fc-200d-2642-fe0f.svg":5008,"./1f9dc-1f3fc.svg":5009,"./1f9dc-1f3fd-200d-2640-fe0f.svg":5010,"./1f9dc-1f3fd-200d-2642-fe0f.svg":5011,"./1f9dc-1f3fd.svg":5012,"./1f9dc-1f3fe-200d-2640-fe0f.svg":5013,"./1f9dc-1f3fe-200d-2642-fe0f.svg":5014,"./1f9dc-1f3fe.svg":5015,"./1f9dc-1f3ff-200d-2640-fe0f.svg":5016,"./1f9dc-1f3ff-200d-2642-fe0f.svg":5017,"./1f9dc-1f3ff.svg":5018,"./1f9dc-200d-2640-fe0f.svg":5019,"./1f9dc-200d-2642-fe0f.svg":5020,"./1f9dc.svg":5021,"./1f9dd-1f3fb-200d-2640-fe0f.svg":5022,"./1f9dd-1f3fb-200d-2642-fe0f.svg":5023,"./1f9dd-1f3fb.svg":5024,"./1f9dd-1f3fc-200d-2640-fe0f.svg":5025,"./1f9dd-1f3fc-200d-2642-fe0f.svg":5026,"./1f9dd-1f3fc.svg":5027,"./1f9dd-1f3fd-200d-2640-fe0f.svg":5028,"./1f9dd-1f3fd-200d-2642-fe0f.svg":5029,"./1f9dd-1f3fd.svg":5030,"./1f9dd-1f3fe-200d-2640-fe0f.svg":5031,"./1f9dd-1f3fe-200d-2642-fe0f.svg":5032,"./1f9dd-1f3fe.svg":5033,"./1f9dd-1f3ff-200d-2640-fe0f.svg":5034,"./1f9dd-1f3ff-200d-2642-fe0f.svg":5035,"./1f9dd-1f3ff.svg":5036,"./1f9dd-200d-2640-fe0f.svg":5037,"./1f9dd-200d-2642-fe0f.svg":5038,"./1f9dd.svg":5039,"./1f9de-200d-2640-fe0f.svg":5040,"./1f9de-200d-2642-fe0f.svg":5041,"./1f9de.svg":5042,"./1f9df-200d-2640-fe0f.svg":5043,"./1f9df-200d-2642-fe0f.svg":5044,"./1f9df.svg":5045,"./1f9e0.svg":5046,"./1f9e1.svg":5047,"./1f9e2.svg":5048,"./1f9e3.svg":5049,"./1f9e4.svg":5050,"./1f9e5.svg":5051,"./1f9e6.svg":5052,"./1f9e7.svg":5053,"./1f9e8.svg":5054,"./1f9e9.svg":5055,"./1f9ea.svg":5056,"./1f9eb.svg":5057,"./1f9ec.svg":5058,"./1f9ed.svg":5059,"./1f9ee.svg":5060,"./1f9ef.svg":5061,"./1f9f0.svg":5062,"./1f9f1.svg":5063,"./1f9f2.svg":5064,"./1f9f3.svg":5065,"./1f9f4.svg":5066,"./1f9f5.svg":5067,"./1f9f6.svg":5068,"./1f9f7.svg":5069,"./1f9f8.svg":5070,"./1f9f9.svg":5071,"./1f9fa.svg":5072,"./1f9fb.svg":5073,"./1f9fc.svg":5074,"./1f9fd.svg":5075,"./1f9fe.svg":5076,"./1f9ff.svg":5077,"./1fa70.svg":5078,"./1fa71.svg":5079,"./1fa72.svg":5080,"./1fa73.svg":5081,"./1fa74.svg":5082,"./1fa78.svg":5083,"./1fa79.svg":5084,"./1fa7a.svg":5085,"./1fa80.svg":5086,"./1fa81.svg":5087,"./1fa82.svg":5088,"./1fa83.svg":5089,"./1fa84.svg":5090,"./1fa85.svg":5091,"./1fa86.svg":5092,"./1fa90.svg":5093,"./1fa91.svg":5094,"./1fa92.svg":5095,"./1fa93.svg":5096,"./1fa94.svg":5097,"./1fa95.svg":5098,"./1fa96.svg":5099,"./1fa97.svg":5100,"./1fa98.svg":5101,"./1fa99.svg":5102,"./1fa9a.svg":5103,"./1fa9b.svg":5104,"./1fa9c.svg":5105,"./1fa9d.svg":5106,"./1fa9e.svg":5107,"./1fa9f.svg":5108,"./1faa0.svg":5109,"./1faa1.svg":5110,"./1faa2.svg":5111,"./1faa3.svg":5112,"./1faa4.svg":5113,"./1faa5.svg":5114,"./1faa6.svg":5115,"./1faa7.svg":5116,"./1faa8.svg":5117,"./1fab0.svg":5118,"./1fab1.svg":5119,"./1fab2.svg":5120,"./1fab3.svg":5121,"./1fab4.svg":5122,"./1fab5.svg":5123,"./1fab6.svg":5124,"./1fac0.svg":5125,"./1fac1.svg":5126,"./1fac2.svg":5127,"./1fad0.svg":5128,"./1fad1.svg":5129,"./1fad2.svg":5130,"./1fad3.svg":5131,"./1fad4.svg":5132,"./1fad5.svg":5133,"./1fad6.svg":5134,"./203c.svg":5135,"./2049.svg":5136,"./2122.svg":5137,"./2139.svg":5138,"./2194.svg":5139,"./2195.svg":5140,"./2196.svg":5141,"./2197.svg":5142,"./2198.svg":5143,"./2199.svg":5144,"./21a9.svg":5145,"./21aa.svg":5146,"./23-20e3.svg":5147,"./231a.svg":5148,"./231b.svg":5149,"./2328.svg":5150,"./23cf.svg":5151,"./23e9.svg":5152,"./23ea.svg":5153,"./23eb.svg":5154,"./23ec.svg":5155,"./23ed.svg":5156,"./23ee.svg":5157,"./23ef.svg":5158,"./23f0.svg":5159,"./23f1.svg":5160,"./23f2.svg":5161,"./23f3.svg":5162,"./23f8.svg":5163,"./23f9.svg":5164,"./23fa.svg":5165,"./24c2.svg":5166,"./25aa.svg":5167,"./25ab.svg":5168,"./25b6.svg":5169,"./25c0.svg":5170,"./25fb.svg":5171,"./25fc.svg":5172,"./25fd.svg":5173,"./25fe.svg":5174,"./2600.svg":5175,"./2601.svg":5176,"./2602.svg":5177,"./2603.svg":5178,"./2604.svg":5179,"./260e.svg":5180,"./2611.svg":5181,"./2614.svg":5182,"./2615.svg":5183,"./2618.svg":5184,"./261d-1f3fb.svg":5185,"./261d-1f3fc.svg":5186,"./261d-1f3fd.svg":5187,"./261d-1f3fe.svg":5188,"./261d-1f3ff.svg":5189,"./261d.svg":5190,"./2620.svg":5191,"./2622.svg":5192,"./2623.svg":5193,"./2626.svg":5194,"./262a.svg":5195,"./262e.svg":5196,"./262f.svg":5197,"./2638.svg":5198,"./2639.svg":5199,"./263a.svg":5200,"./2640.svg":5201,"./2642.svg":5202,"./2648.svg":5203,"./2649.svg":5204,"./264a.svg":5205,"./264b.svg":5206,"./264c.svg":5207,"./264d.svg":5208,"./264e.svg":5209,"./264f.svg":5210,"./2650.svg":5211,"./2651.svg":5212,"./2652.svg":5213,"./2653.svg":5214,"./265f.svg":5215,"./2660.svg":5216,"./2663.svg":5217,"./2665.svg":5218,"./2666.svg":5219,"./2668.svg":5220,"./267b.svg":5221,"./267e.svg":5222,"./267f.svg":5223,"./2692.svg":5224,"./2693.svg":5225,"./2694.svg":5226,"./2695.svg":5227,"./2696.svg":5228,"./2697.svg":5229,"./2699.svg":5230,"./269b.svg":5231,"./269c.svg":5232,"./26a0.svg":5233,"./26a1.svg":5234,"./26a7.svg":5235,"./26aa.svg":5236,"./26ab.svg":5237,"./26b0.svg":5238,"./26b1.svg":5239,"./26bd.svg":5240,"./26be.svg":5241,"./26c4.svg":5242,"./26c5.svg":5243,"./26c8.svg":5244,"./26ce.svg":5245,"./26cf.svg":5246,"./26d1.svg":5247,"./26d3.svg":5248,"./26d4.svg":5249,"./26e9.svg":5250,"./26ea.svg":5251,"./26f0.svg":5252,"./26f1.svg":5253,"./26f2.svg":5254,"./26f3.svg":5255,"./26f4.svg":5256,"./26f5.svg":5257,"./26f7-1f3fb.svg":5258,"./26f7-1f3fc.svg":5259,"./26f7-1f3fd.svg":5260,"./26f7-1f3fe.svg":5261,"./26f7-1f3ff.svg":5262,"./26f7.svg":5263,"./26f8.svg":5264,"./26f9-1f3fb-200d-2640-fe0f.svg":5265,"./26f9-1f3fb-200d-2642-fe0f.svg":5266,"./26f9-1f3fb.svg":5267,"./26f9-1f3fc-200d-2640-fe0f.svg":5268,"./26f9-1f3fc-200d-2642-fe0f.svg":5269,"./26f9-1f3fc.svg":5270,"./26f9-1f3fd-200d-2640-fe0f.svg":5271,"./26f9-1f3fd-200d-2642-fe0f.svg":5272,"./26f9-1f3fd.svg":5273,"./26f9-1f3fe-200d-2640-fe0f.svg":5274,"./26f9-1f3fe-200d-2642-fe0f.svg":5275,"./26f9-1f3fe.svg":5276,"./26f9-1f3ff-200d-2640-fe0f.svg":5277,"./26f9-1f3ff-200d-2642-fe0f.svg":5278,"./26f9-1f3ff.svg":5279,"./26f9-fe0f-200d-2640-fe0f.svg":5280,"./26f9-fe0f-200d-2642-fe0f.svg":5281,"./26f9.svg":5282,"./26fa.svg":5283,"./26fd.svg":5284,"./2702.svg":5285,"./2705.svg":5286,"./2708.svg":5287,"./2709.svg":5288,"./270a-1f3fb.svg":5289,"./270a-1f3fc.svg":5290,"./270a-1f3fd.svg":5291,"./270a-1f3fe.svg":5292,"./270a-1f3ff.svg":5293,"./270a.svg":5294,"./270b-1f3fb.svg":5295,"./270b-1f3fc.svg":5296,"./270b-1f3fd.svg":5297,"./270b-1f3fe.svg":5298,"./270b-1f3ff.svg":5299,"./270b.svg":5300,"./270c-1f3fb.svg":5301,"./270c-1f3fc.svg":5302,"./270c-1f3fd.svg":5303,"./270c-1f3fe.svg":5304,"./270c-1f3ff.svg":5305,"./270c.svg":5306,"./270d-1f3fb.svg":5307,"./270d-1f3fc.svg":5308,"./270d-1f3fd.svg":5309,"./270d-1f3fe.svg":5310,"./270d-1f3ff.svg":5311,"./270d.svg":5312,"./270f.svg":5313,"./2712.svg":5314,"./2714.svg":5315,"./2716.svg":5316,"./271d.svg":5317,"./2721.svg":5318,"./2728.svg":5319,"./2733.svg":5320,"./2734.svg":5321,"./2744.svg":5322,"./2747.svg":5323,"./274c.svg":5324,"./274e.svg":5325,"./2753.svg":5326,"./2754.svg":5327,"./2755.svg":5328,"./2757.svg":5329,"./2763.svg":5330,"./2764-fe0f-200d-1f525.svg":5331,"./2764-fe0f-200d-1fa79.svg":5332,"./2764.svg":5333,"./2795.svg":5334,"./2796.svg":5335,"./2797.svg":5336,"./27a1.svg":5337,"./27b0.svg":5338,"./27bf.svg":5339,"./2934.svg":5340,"./2935.svg":5341,"./2a-20e3.svg":5342,"./2b05.svg":5343,"./2b06.svg":5344,"./2b07.svg":5345,"./2b1b.svg":5346,"./2b1c.svg":5347,"./2b50.svg":5348,"./2b55.svg":5349,"./30-20e3.svg":5350,"./3030.svg":5351,"./303d.svg":5352,"./31-20e3.svg":5353,"./32-20e3.svg":5354,"./3297.svg":5355,"./3299.svg":5356,"./33-20e3.svg":5357,"./34-20e3.svg":5358,"./35-20e3.svg":5359,"./36-20e3.svg":5360,"./37-20e3.svg":5361,"./38-20e3.svg":5362,"./39-20e3.svg":5363,"./a9.svg":5364,"./ae.svg":5365,"./e50a.svg":5366};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=1789},function(e,t,n){e.exports=n.p+"1bf32ef6b612a4f8539a083d233c065b.svg"},function(e,t,n){e.exports=n.p+"080ef5f5f55bdf671af4e31d41b893d3.svg"},function(e,t,n){e.exports=n.p+"c7187bc733565edcc179626010040af7.svg"},function(e,t,n){e.exports=n.p+"a3332ef2e06680bfa80635bd332a7abc.svg"},function(e,t,n){e.exports=n.p+"bd98f7be046312fa0fe14e6471496949.svg"},function(e,t,n){e.exports=n.p+"ebff6c97250daa98236fb09f024cb6a2.svg"},function(e,t,n){e.exports=n.p+"07af81a5ac6f3aaf50115980ac08f045.svg"},function(e,t,n){e.exports=n.p+"b562dfc21bd896ab902e96ce0dbada56.svg"},function(e,t,n){e.exports=n.p+"493b294d10a152f36d7513101fcbc1b7.svg"},function(e,t,n){e.exports=n.p+"b083a3f93b31a4f6289d8515841ebb67.svg"},function(e,t,n){e.exports=n.p+"91b1589451155bddf09b376a16e01a8e.svg"},function(e,t,n){e.exports=n.p+"b1b98f44f621fc902b43b6253f27bb7b.svg"},function(e,t,n){e.exports=n.p+"833042af2e090050df33e0bc5fc1034d.svg"},function(e,t,n){e.exports=n.p+"1bef63657aa7eb2726e9cc735245a88f.svg"},function(e,t,n){e.exports=n.p+"7b1bc30c9fdddb9ec771b4e8904178ef.svg"},function(e,t,n){e.exports=n.p+"5393e51a22216db7b4e10f8179875e4d.svg"},function(e,t,n){e.exports=n.p+"d6f73a44b9145920c4f29a1a5cac983a.svg"},function(e,t,n){e.exports=n.p+"ce540ee7717eb2e93a07313ee897c9eb.svg"},function(e,t,n){e.exports=n.p+"03edda8fc710082317dc192b7988f368.svg"},function(e,t,n){e.exports=n.p+"1e0f8ea8b39c7c12501b0a0deda991a6.svg"},function(e,t,n){e.exports=n.p+"46fecbc0b0e0c44d1171b20a5f2cae44.svg"},function(e,t,n){e.exports=n.p+"e0f5696c968c0c55a171b7a06d176bed.svg"},function(e,t,n){e.exports=n.p+"90dc2197923497786683b1450e275250.svg"},function(e,t,n){e.exports=n.p+"d2504bd52ecf3946c9bfc0ef5e797e3c.svg"},function(e,t,n){e.exports=n.p+"be7d5f1c6163091f9d2487a065e9dffb.svg"},function(e,t,n){e.exports=n.p+"3442c32e82d34c1e193ce979ca575b75.svg"},function(e,t,n){e.exports=n.p+"70454ad4b759ce057e9b5ae8bfc74ddb.svg"},function(e,t,n){e.exports=n.p+"06b81704d7b89f08dae734409b3f9320.svg"},function(e,t,n){e.exports=n.p+"2bbe762f2ed3ca3d9daab13cb96efada.svg"},function(e,t,n){e.exports=n.p+"31ad9f90fa231ed0c0b947deadbfe176.svg"},function(e,t,n){e.exports=n.p+"089a9442fa6faeffeda0150ae182eccc.svg"},function(e,t,n){e.exports=n.p+"b6b3224833a3fab47498f6a9d83be368.svg"},function(e,t,n){e.exports=n.p+"364f7b7682f692230c6871fc30f19876.svg"},function(e,t,n){e.exports=n.p+"765d88cb946d2435d143da7638c3a009.svg"},function(e,t,n){e.exports=n.p+"bbe8ae762f831966587a35010ed46f67.svg"},function(e,t,n){e.exports=n.p+"cba3943cf437ace539cf137343c080d6.svg"},function(e,t,n){e.exports=n.p+"ccd75c3d36c0427d63f026bd08eec5ae.svg"},function(e,t,n){e.exports=n.p+"9bed1a653d1ed1f2106c8b0eb13b6c43.svg"},function(e,t,n){e.exports=n.p+"32b15e6a387d9237339d816c1ac5012c.svg"},function(e,t,n){e.exports=n.p+"b618d9b3b084c13742cf10508f72cae9.svg"},function(e,t,n){e.exports=n.p+"3b7879f4b8000316eb26cbef996102bf.svg"},function(e,t,n){e.exports=n.p+"1203d99f39734ebef456a7fa7df54916.svg"},function(e,t,n){e.exports=n.p+"11d24452092b69aefaa2bc1cfd8d080c.svg"},function(e,t,n){e.exports=n.p+"88a8d5ab27e338b68bb20fa20577405c.svg"},function(e,t,n){e.exports=n.p+"8cde1631998a5b968a69063ab5b969db.svg"},function(e,t,n){e.exports=n.p+"cef76050138bc289891b492d1703fedb.svg"},function(e,t,n){e.exports=n.p+"7cc3012c0a3c2e6502fff3f2061283a5.svg"},function(e,t,n){e.exports=n.p+"c4a172646ffdb980964bf399fd000dba.svg"},function(e,t,n){e.exports=n.p+"d489c1409382c9d72effb6223236567c.svg"},function(e,t,n){e.exports=n.p+"407b23225039d193f5e539e2de0900f2.svg"},function(e,t,n){e.exports=n.p+"388fb4565a0c62ff75b7dc86f92bf1b5.svg"},function(e,t,n){e.exports=n.p+"62b4f6fce2a4bd6f4ae8963260b4b8f2.svg"},function(e,t,n){e.exports=n.p+"1d2976b1e227bd271bcbcf3e3da9e6fc.svg"},function(e,t,n){e.exports=n.p+"690066ce531e722fffabd032c5a8a774.svg"},function(e,t,n){e.exports=n.p+"86bcc5e9f70c5794cbe5b08c03f7c068.svg"},function(e,t,n){e.exports=n.p+"661f2b47d604ac019ee43f118b815d60.svg"},function(e,t,n){e.exports=n.p+"515873f6898e0b26daf51921c65a43f7.svg"},function(e,t,n){e.exports=n.p+"6ea8666882589830dd40b86f950081bf.svg"},function(e,t,n){e.exports=n.p+"8348b09ba2d47bd880723408bc91970a.svg"},function(e,t,n){e.exports=n.p+"2ed98c24951a8699ad5be11006709adf.svg"},function(e,t,n){e.exports=n.p+"6cfed08765ddebc69a9fec2583049d15.svg"},function(e,t,n){e.exports=n.p+"649e2d1e43c47d5dd02b6a2b50886ddd.svg"},function(e,t,n){e.exports=n.p+"728982808359b77ea519b24e6be7a218.svg"},function(e,t,n){e.exports=n.p+"4d9908dec47fccd0dee025bd4b1f3ca8.svg"},function(e,t,n){e.exports=n.p+"d9ae67dcf0c3a6f1cd7dab3f4de6dc91.svg"},function(e,t,n){e.exports=n.p+"4071a277a721553383b6505c1efe4485.svg"},function(e,t,n){e.exports=n.p+"962085c2759e97a9a5ae9281c6d20ea1.svg"},function(e,t,n){e.exports=n.p+"d39728b84718665ada444d92579fadae.svg"},function(e,t,n){e.exports=n.p+"95752fe012425c0f62e8897a92916613.svg"},function(e,t,n){e.exports=n.p+"c1a36c711f0ae0ab46c7dce06f63a723.svg"},function(e,t,n){e.exports=n.p+"5bb8f3219c8f09abe83edb66e11ba844.svg"},function(e,t,n){e.exports=n.p+"7ad66e7bc98f1ab73026bc867f008fbb.svg"},function(e,t,n){e.exports=n.p+"53e7f7ae06e8348b6586887e7c607204.svg"},function(e,t,n){e.exports=n.p+"48f2b28431184c4a0db67917c237179b.svg"},function(e,t,n){e.exports=n.p+"8ca30f720ae07015c4c8e49bb2d6e42f.svg"},function(e,t,n){e.exports=n.p+"d1f393cfbb7178a8795d19e287788703.svg"},function(e,t,n){e.exports=n.p+"92a1cad7710f4afbcc4b9d2e9863c623.svg"},function(e,t,n){e.exports=n.p+"3e0ee2fd29177284491b8fb543bb4bdb.svg"},function(e,t,n){e.exports=n.p+"939afd91bea7074f84f4a328ca095295.svg"},function(e,t,n){e.exports=n.p+"25a61f86196b27d9ab335deb79723af4.svg"},function(e,t,n){e.exports=n.p+"bc0d8fde67fbbe1382f66744dc765d07.svg"},function(e,t,n){e.exports=n.p+"1eb2893dc9f4ad8ef5f3dc001c922c69.svg"},function(e,t,n){e.exports=n.p+"59c557a22f8839466e233847b0d86cfe.svg"},function(e,t,n){e.exports=n.p+"744e3c8dedcebb70840ab009f95b13d3.svg"},function(e,t,n){e.exports=n.p+"619734e944260b818f266b6e0390bead.svg"},function(e,t,n){e.exports=n.p+"7b63a90197c59c371914e0d1c91af358.svg"},function(e,t,n){e.exports=n.p+"a8224968196d0dd6d84e44c98093c280.svg"},function(e,t,n){e.exports=n.p+"43cc209f984220ed2ef463c525082c5a.svg"},function(e,t,n){e.exports=n.p+"72802e4dbb8d31e19e3de610500ab9f4.svg"},function(e,t,n){e.exports=n.p+"a0634b212047f7fdf09bc113fde994fe.svg"},function(e,t,n){e.exports=n.p+"e37010ffeb0b56e773c3a2812532bf83.svg"},function(e,t,n){e.exports=n.p+"cf2083761cb0b2fcf29ffb4efa2414c3.svg"},function(e,t,n){e.exports=n.p+"a8224968196d0dd6d84e44c98093c280.svg"},function(e,t,n){e.exports=n.p+"d0af777a290a6f80b63aedfd99ee6c3f.svg"},function(e,t,n){e.exports=n.p+"4be7421b4e5f8718344dffd8549333e9.svg"},function(e,t,n){e.exports=n.p+"0df8cc6898cdb812709a4672f137b62d.svg"},function(e,t,n){e.exports=n.p+"cd2e96a846ada23ae0949bcb18534b1f.svg"},function(e,t,n){e.exports=n.p+"4b6c6def299739ec0e4ef3016fd7df05.svg"},function(e,t,n){e.exports=n.p+"1697e3e1209ada4d87a8ce00825f8141.svg"},function(e,t,n){e.exports=n.p+"622e4fca94d491574c4a1281a1ef7314.svg"},function(e,t,n){e.exports=n.p+"04b0bd887b326b6d1bb2fd83bafd7f1f.svg"},function(e,t,n){e.exports=n.p+"c1a36c711f0ae0ab46c7dce06f63a723.svg"},function(e,t,n){e.exports=n.p+"197cdfb70e6835c81cbb1af86ab7e01e.svg"},function(e,t,n){e.exports=n.p+"1adadc61eff78ca7ae57787e6717f564.svg"},function(e,t,n){e.exports=n.p+"99a9e5571c2f5acd9cb910ce6a3f39a6.svg"},function(e,t,n){e.exports=n.p+"5c02c6fc239702ef7afbea0f9cbfe17a.svg"},function(e,t,n){e.exports=n.p+"f7f2de15054ec5ac9be3d9bf285e8320.svg"},function(e,t,n){e.exports=n.p+"ea3a145d691f58154a44acffd1ab6ff3.svg"},function(e,t,n){e.exports=n.p+"f1998b531e92ad407b62f515dbe28e1a.svg"},function(e,t,n){e.exports=n.p+"b6dcc90d03def047251992cca264d755.svg"},function(e,t,n){e.exports=n.p+"62f506dd2474c7c3d84c2277b48f0019.svg"},function(e,t,n){e.exports=n.p+"52bafddf281d84b9afbcb5461967990a.svg"},function(e,t,n){e.exports=n.p+"cc9026e4314eec2edaaf1207d38e6d06.svg"},function(e,t,n){e.exports=n.p+"5d4c3bb09da9270585624dd8997064e1.svg"},function(e,t,n){e.exports=n.p+"1c146cdff31786fc64da4158088d7813.svg"},function(e,t,n){e.exports=n.p+"e80351257922a217be89685598d09340.svg"},function(e,t,n){e.exports=n.p+"4da46394f31b6dde1ac858f27e371dbd.svg"},function(e,t,n){e.exports=n.p+"66e27c1bf701dff9f2c3f9428c1e3716.svg"},function(e,t,n){e.exports=n.p+"da54b9bf623f6bf35e6e5922f9228aa4.svg"},function(e,t,n){e.exports=n.p+"461f9fb47f2d998cf2f2ae7c95f8cf87.svg"},function(e,t,n){e.exports=n.p+"04c8b9ed019ce81a510e8866efbd360c.svg"},function(e,t,n){e.exports=n.p+"da81a396d9646417f4de1b5666a64eef.svg"},function(e,t,n){e.exports=n.p+"8971c31a6aaa34e99f197c5c9c3d03ad.svg"},function(e,t,n){e.exports=n.p+"7968207955275d49b4185fd8ce02895f.svg"},function(e,t,n){e.exports=n.p+"089a9442fa6faeffeda0150ae182eccc.svg"},function(e,t,n){e.exports=n.p+"b5c9d55ea7c123c25b6dae4d8878ebec.svg"},function(e,t,n){e.exports=n.p+"de04008f1e2608c18925882d03e06ed2.svg"},function(e,t,n){e.exports=n.p+"3ca01981f93df96e92a633986def813b.svg"},function(e,t,n){e.exports=n.p+"81fc2b556ceda0e7454a32d46c7c54bc.svg"},function(e,t,n){e.exports=n.p+"558d3608d282c924baac1499b7ccfe14.svg"},function(e,t,n){e.exports=n.p+"60ef554f0de960af055e7a208f05b459.svg"},function(e,t,n){e.exports=n.p+"eff38923a385151be23438cb3c8b11c7.svg"},function(e,t,n){e.exports=n.p+"6f51ceb455aec2ab2d85e8cadf6aa79f.svg"},function(e,t,n){e.exports=n.p+"2fdf6f04696efea8e293bcff42a36dc9.svg"},function(e,t,n){e.exports=n.p+"805f3106b7ca4c1fe8ba76543124b017.svg"},function(e,t,n){e.exports=n.p+"cfe70da9dbbd44c91aa4310481dcba89.svg"},function(e,t,n){e.exports=n.p+"25a61f86196b27d9ab335deb79723af4.svg"},function(e,t,n){e.exports=n.p+"d0f82101fb1bb0b068e5f048cf1211d5.svg"},function(e,t,n){e.exports=n.p+"a003bd0873f93fd1095f9df6a4d18992.svg"},function(e,t,n){e.exports=n.p+"e4df6ae4dcffd3cd3e3b686bbeefa56a.svg"},function(e,t,n){e.exports=n.p+"4d4f20f2f1c88447480002bbf675404a.svg"},function(e,t,n){e.exports=n.p+"4606ee2759d6aae4410c034fb94a8395.svg"},function(e,t,n){e.exports=n.p+"dce884a7a8675c6ff6f149e8bf21cb97.svg"},function(e,t,n){e.exports=n.p+"015c49a74a101354b978606d56ae8d4f.svg"},function(e,t,n){e.exports=n.p+"2548460590c622e1493f9be0f053ea76.svg"},function(e,t,n){e.exports=n.p+"3a58d8e5d92ed893921b644bebb7cc3e.svg"},function(e,t,n){e.exports=n.p+"72005bede6a07f7681914dc974ed3ff8.svg"},function(e,t,n){e.exports=n.p+"41e202cbf12d7473cf320447b27b49c1.svg"},function(e,t,n){e.exports=n.p+"a8e477ad00f8c492cacfb6022c959335.svg"},function(e,t,n){e.exports=n.p+"cd00b81bb35b2a4ebff51641edad81a1.svg"},function(e,t,n){e.exports=n.p+"26d3b520ab05841b65fc6e4e0d5fbd02.svg"},function(e,t,n){e.exports=n.p+"2b5aead432ae7667adc1812288182bdd.svg"},function(e,t,n){e.exports=n.p+"bf5509422cdbf04356bd742ebe948a7a.svg"},function(e,t,n){e.exports=n.p+"e0cd271eb2f383d5d4e93fe71c1a3f4f.svg"},function(e,t,n){e.exports=n.p+"b57d2718c0f2330c0e06166d4b5fb606.svg"},function(e,t,n){e.exports=n.p+"f9e5ee010086899b5c4d31b5cfbb4004.svg"},function(e,t,n){e.exports=n.p+"420c78d13bdc8bc0196f9738cdb491f8.svg"},function(e,t,n){e.exports=n.p+"119ac47606cfa2b965e6ac789aa606b1.svg"},function(e,t,n){e.exports=n.p+"547b9b60d8dfc97568666a168793dc73.svg"},function(e,t,n){e.exports=n.p+"ad8e424913be4fd9ec69421bc37d4bc2.svg"},function(e,t,n){e.exports=n.p+"15ff5c02fc69e8516224bdf39a00e7a6.svg"},function(e,t,n){e.exports=n.p+"baa3c27e05395ca8012cadcf0b05b774.svg"},function(e,t,n){e.exports=n.p+"a52fbeb793d03ded5ee8c168b8a6e7d6.svg"},function(e,t,n){e.exports=n.p+"0de77c5d05390bb1fb630c962a56bb48.svg"},function(e,t,n){e.exports=n.p+"0ac3af6c036b70334c9f4a51246bff13.svg"},function(e,t,n){e.exports=n.p+"ca37b723b0024a6bd501ef04eadf4922.svg"},function(e,t,n){e.exports=n.p+"400cdb5817f3e5815ecbeb879dfdfbec.svg"},function(e,t,n){e.exports=n.p+"0d7d66cf0a8f30478301c67839c17730.svg"},function(e,t,n){e.exports=n.p+"8d3134ef31d10935beb0141f9918c41f.svg"},function(e,t,n){e.exports=n.p+"dc9e0296895e64a0dc96c6954aadd1d4.svg"},function(e,t,n){e.exports=n.p+"c07212f2d498c21e56d3b3f581799972.svg"},function(e,t,n){e.exports=n.p+"69eef4c9b90da86b24cb69aafd529140.svg"},function(e,t,n){e.exports=n.p+"33fc478ecbb89220b67fe96b251e23cc.svg"},function(e,t,n){e.exports=n.p+"239a65b494415a12508c3b77ba0cf0dd.svg"},function(e,t,n){e.exports=n.p+"33bf70749ffe96311d85d5edb7ffa9a5.svg"},function(e,t,n){e.exports=n.p+"c1a36c711f0ae0ab46c7dce06f63a723.svg"},function(e,t,n){e.exports=n.p+"8e88bfa7cfb20e6e7b01f8dedccef158.svg"},function(e,t,n){e.exports=n.p+"a04412e248d53a4b2581f1ad781beaae.svg"},function(e,t,n){e.exports=n.p+"06cf3d86babf10c4c99a13812c85c1a5.svg"},function(e,t,n){e.exports=n.p+"f509dd925ffc8d333efa3bfa37f68484.svg"},function(e,t,n){e.exports=n.p+"de00df62d77af80d6d3885ee67232928.svg"},function(e,t,n){e.exports=n.p+"3dc0656020a6fc85bf60b12a009e435f.svg"},function(e,t,n){e.exports=n.p+"7dcb1d9b3f0495a2ea886eeea6dfbfd8.svg"},function(e,t,n){e.exports=n.p+"7370737a7111529d65b413d01eef1591.svg"},function(e,t,n){e.exports=n.p+"e4bc36c061c4f447c010e6be80c9e0bc.svg"},function(e,t,n){e.exports=n.p+"5fb1abc88ca4ac5e4984ba6184a13389.svg"},function(e,t,n){e.exports=n.p+"98f1db383b5a6b6f7f88ab12ea1ea617.svg"},function(e,t,n){e.exports=n.p+"33faa6649f9e67fd4daa303c70198332.svg"},function(e,t,n){e.exports=n.p+"b71ff9fffd256b95abc918130fce2af7.svg"},function(e,t,n){e.exports=n.p+"e699bf5a211e116d1b2a2ffdd34de129.svg"},function(e,t,n){e.exports=n.p+"5bfe6c2c4b0d14b6ac8801972d0f0534.svg"},function(e,t,n){e.exports=n.p+"3c5b8da90d812275171a486dfd32b54c.svg"},function(e,t,n){e.exports=n.p+"c44e8e4bbc5b8e9e4c695ffacd2af82c.svg"},function(e,t,n){e.exports=n.p+"9c766bfa8ed02217f1ecb22eccd9d27c.svg"},function(e,t,n){e.exports=n.p+"3ae4af803746f6882a684a5a48dc29ff.svg"},function(e,t,n){e.exports=n.p+"79f3f954459f5c14ca49858996d9b6e6.svg"},function(e,t,n){e.exports=n.p+"572d02aaf3b8ec9697b8a9c649dc2205.svg"},function(e,t,n){e.exports=n.p+"533380b8faf02c88ab68565a898114bb.svg"},function(e,t,n){e.exports=n.p+"92fe330f2f22fddea768b7bc429c393a.svg"},function(e,t,n){e.exports=n.p+"d8b5f4d93ac7396a44eb3352d5e31cee.svg"},function(e,t,n){e.exports=n.p+"89e84790ce6baaeb39b51a74603b29bc.svg"},function(e,t,n){e.exports=n.p+"4e731115cad84fd5e7bc024d9b146765.svg"},function(e,t,n){e.exports=n.p+"ce4def896435e73267187e77a8e32e76.svg"},function(e,t,n){e.exports=n.p+"47cd7f001f25667541850514d6b528f7.svg"},function(e,t,n){e.exports=n.p+"c1f7c02fd252677d2f1c823eebcfb12f.svg"},function(e,t,n){e.exports=n.p+"e4011344d97c939e2ed95d329f24d9be.svg"},function(e,t,n){e.exports=n.p+"f0dcfef90556797a8c0e2aa8268ce73f.svg"},function(e,t,n){e.exports=n.p+"f654b0f03f641e89a0db09b4c69cc33b.svg"},function(e,t,n){e.exports=n.p+"c1e139ac8fa94073d413a287e14f7c3b.svg"},function(e,t,n){e.exports=n.p+"89bba1c5173777ba0a352d7ac585a647.svg"},function(e,t,n){e.exports=n.p+"d31e2e8df725339060d7c80a7f4ec133.svg"},function(e,t,n){e.exports=n.p+"1abb9ba2de38e6c8d6c130534b5d2d4a.svg"},function(e,t,n){e.exports=n.p+"2661c3af3a0a3d6219c18f602735fb69.svg"},function(e,t,n){e.exports=n.p+"d55ad76981b445a8a3a95a4dc67e1804.svg"},function(e,t,n){e.exports=n.p+"fddabadcb0b358a763a9afd2857bb5d5.svg"},function(e,t,n){e.exports=n.p+"4a95a88bc4e490ad256b13173e85b8a5.svg"},function(e,t,n){e.exports=n.p+"db99e1f10b9b733e13f049300bfaa93b.svg"},function(e,t,n){e.exports=n.p+"2bf0b0119e3ef5d288d1c7f708acec89.svg"},function(e,t,n){e.exports=n.p+"a43733a41d048fcf15901db7cf711829.svg"},function(e,t,n){e.exports=n.p+"f11fea7aa78defc90c68b7cfb029bc28.svg"},function(e,t,n){e.exports=n.p+"8af934770d4b2612b7da10c4bb8c486d.svg"},function(e,t,n){e.exports=n.p+"6e9db125513715df3ec213f701b912d8.svg"},function(e,t,n){e.exports=n.p+"f35b8830aae5d9e0ab53b6918fd2d632.svg"},function(e,t,n){e.exports=n.p+"47a313745cb9ff00d8fedf333d60fc1f.svg"},function(e,t,n){e.exports=n.p+"7f56a6932ada40d5b3562468de2b0cde.svg"},function(e,t,n){e.exports=n.p+"695995d6ddb114b045eac53953a8ded7.svg"},function(e,t,n){e.exports=n.p+"8f10626d49756081044bcb1a2314140f.svg"},function(e,t,n){e.exports=n.p+"c8e10ca93aee8c709c9ad7086ef7db0b.svg"},function(e,t,n){e.exports=n.p+"9d3c3d0c6d823bdf4f3fb73d27f8826e.svg"},function(e,t,n){e.exports=n.p+"b044bc510f436a9f7d47629f27bcf358.svg"},function(e,t,n){e.exports=n.p+"01efcb4dcb5b464a6859688f7e48907f.svg"},function(e,t,n){e.exports=n.p+"351457feb3d64fb2a0332f088992e808.svg"},function(e,t,n){e.exports=n.p+"7102ad5cacc8ba7bd99fa16b4e6468a5.svg"},function(e,t,n){e.exports=n.p+"e2fd81b98714ede9438e987b8eaaf4d9.svg"},function(e,t,n){e.exports=n.p+"73133b26661cf0f992d5dde9385605b3.svg"},function(e,t,n){e.exports=n.p+"7ca358aad934a052df4e943b5b99967e.svg"},function(e,t,n){e.exports=n.p+"677a2f56794095afd1ef17ba9306da04.svg"},function(e,t,n){e.exports=n.p+"d185c005a74ae7371c3930da1eb21b89.svg"},function(e,t,n){e.exports=n.p+"169d41570e242f9f69bda7fb598d0cd7.svg"},function(e,t,n){e.exports=n.p+"5fb9c7b96aae7603c6e9dda5344ca0a6.svg"},function(e,t,n){e.exports=n.p+"c50675737a4171106c8327256bb2a07b.svg"},function(e,t,n){e.exports=n.p+"ce4def896435e73267187e77a8e32e76.svg"},function(e,t,n){e.exports=n.p+"db83bf812a67bbce39e1e099f641ad14.svg"},function(e,t,n){e.exports=n.p+"3088186e32c678d6b2b725ae5162bd3f.svg"},function(e,t,n){e.exports=n.p+"d82e9103d237a0fcc9d41ab4dffbc8ff.svg"},function(e,t,n){e.exports=n.p+"f1d88cb12c58a4e181758b70a1bcd78d.svg"},function(e,t,n){e.exports=n.p+"717b5f50d630648af37fe8ead20e786b.svg"},function(e,t,n){e.exports=n.p+"3806a753a87972a4647463ec5467333a.svg"},function(e,t,n){e.exports=n.p+"ddf238511a3cb9445ac46bb5d35e89cd.svg"},function(e,t,n){e.exports=n.p+"026a986362375cc4539d0f124cf2120c.svg"},function(e,t,n){e.exports=n.p+"bf5a9c3a2c3b15a84694327705136ea0.svg"},function(e,t,n){e.exports=n.p+"0f6a5e64d6e4fba1ef2c74dd1fc71b04.svg"},function(e,t,n){e.exports=n.p+"ed30431a60d06a264fca091d5c788b5b.svg"},function(e,t,n){e.exports=n.p+"9b15eea3d759f65781db7ba90b6aaeb5.svg"},function(e,t,n){e.exports=n.p+"c4cb8aa4b3abef19178d052694e3ebf4.svg"},function(e,t,n){e.exports=n.p+"ad3b29d7b10230c8c8ace42fcbb3c7c1.svg"},function(e,t,n){e.exports=n.p+"13b9f62cbedf0217e876bcf55d4aef25.svg"},function(e,t,n){e.exports=n.p+"244c04cb4bdb6dd4784d82df297245c8.svg"},function(e,t,n){e.exports=n.p+"2b0e93ab364cb49b847d2f843649c1aa.svg"},function(e,t,n){e.exports=n.p+"b6eec570d5233a65fce6c702939b762a.svg"},function(e,t,n){e.exports=n.p+"8eb35819c5123690f2d7d8961960c90e.svg"},function(e,t,n){e.exports=n.p+"9456c1edf27b3c677b8726cae427c2a6.svg"},function(e,t,n){e.exports=n.p+"fc69f60455ab04068f88cebea3bc235f.svg"},function(e,t,n){e.exports=n.p+"cd0b602377aa51caadf36db01dcd54db.svg"},function(e,t,n){e.exports=n.p+"438ea27c2ae7eb9a04e0b0c0afbacf54.svg"},function(e,t,n){e.exports=n.p+"2dfd2cab9ebadb45706d69e6c339468d.svg"},function(e,t,n){e.exports=n.p+"32c2033b3811823ecba457d5bcec3013.svg"},function(e,t,n){e.exports=n.p+"5c1ddcf25e62845a09ddaedb534eb028.svg"},function(e,t,n){e.exports=n.p+"5c5c329a0b2f551cf941107f889453f3.svg"},function(e,t,n){e.exports=n.p+"23e46dd5ab86f9c5754f091a105b9104.svg"},function(e,t,n){e.exports=n.p+"9a866b52de950f63b2a345271a2a54b7.svg"},function(e,t,n){e.exports=n.p+"1a7681dc245b3106404849f80f5937a0.svg"},function(e,t,n){e.exports=n.p+"6c0a0b4df6f599f65e40ad372047d782.svg"},function(e,t,n){e.exports=n.p+"ac4bcb496ca349a21b05e400bd8ac5dc.svg"},function(e,t,n){e.exports=n.p+"ecc1234ed5af7d4d3f7cabed150a9e63.svg"},function(e,t,n){e.exports=n.p+"d788b9231ed2028dc29245f76cf0a415.svg"},function(e,t,n){e.exports=n.p+"a3f841eb785e386094300877252f0751.svg"},function(e,t,n){e.exports=n.p+"d788b9231ed2028dc29245f76cf0a415.svg"},function(e,t,n){e.exports=n.p+"a46c15a4bf9cbd4c3c2fe3eb76c944f0.svg"},function(e,t,n){e.exports=n.p+"7b5f068caef383296afcee1c198394b3.svg"},function(e,t,n){e.exports=n.p+"9efe2dc7b0a590b54482c0ef75c752ca.svg"},function(e,t,n){e.exports=n.p+"6db161e1b1d85019bd569e25b6d87f03.svg"},function(e,t,n){e.exports=n.p+"3c4d4812de2506b893de3eeed446b03a.svg"},function(e,t,n){e.exports=n.p+"2e1982ae2ce9eeca687d83fa92661e1e.svg"},function(e,t,n){e.exports=n.p+"898dee1d7461139f2cac3259def418ab.svg"},function(e,t,n){e.exports=n.p+"31a53c15df6b4ab7eba039e42b3f0314.svg"},function(e,t,n){e.exports=n.p+"cc2541c8b215b79d5d05065db41a27d5.svg"},function(e,t,n){e.exports=n.p+"e402061f22397e9d9027c5ffa1fa44fe.svg"},function(e,t,n){e.exports=n.p+"a70363c477e7d0875631634ef277da9c.svg"},function(e,t,n){e.exports=n.p+"30a3dc6c326bf4c6fa7ccf034d5fc0c0.svg"},function(e,t,n){e.exports=n.p+"a638c54dfc90ef0457c8afa9b59ed153.svg"},function(e,t,n){e.exports=n.p+"7e6ce569cc1d4e3c2bb19400e8bbedb6.svg"},function(e,t,n){e.exports=n.p+"ec3a29f6b06bb07a638c92bfcde037c3.svg"},function(e,t,n){e.exports=n.p+"1c196447e01b16cdb2d0eeea39c3c145.svg"},function(e,t,n){e.exports=n.p+"9844a069ae43c742f234429e5ac05d5b.svg"},function(e,t,n){e.exports=n.p+"8ba98dbf55284b1ff94ffcaafd6749b7.svg"},function(e,t,n){e.exports=n.p+"2d24eb6ab8545bd17e66af014500f1ed.svg"},function(e,t,n){e.exports=n.p+"bfc4e3aad2ba71c04041c2e69409e98e.svg"},function(e,t,n){e.exports=n.p+"1f170dae3d3a29521954072f3d32d51c.svg"},function(e,t,n){e.exports=n.p+"1507c78581a695b71930b24eb6db55b7.svg"},function(e,t,n){e.exports=n.p+"bb490dbf14a4adf534d757ed3c94ab3b.svg"},function(e,t,n){e.exports=n.p+"ef0e6ac76ce7fb7ec714cae45b626453.svg"},function(e,t,n){e.exports=n.p+"792139a36ce5a965930759ea305ee56e.svg"},function(e,t,n){e.exports=n.p+"01e6499a34df6983dbd9a98896f9ba98.svg"},function(e,t,n){e.exports=n.p+"71fd0955727f308def5322154838afdc.svg"},function(e,t,n){e.exports=n.p+"00c4c21f4e44c38fa69600d19e1f4c27.svg"},function(e,t,n){e.exports=n.p+"9585d4e025bfda11003734b35a2329e9.svg"},function(e,t,n){e.exports=n.p+"386f2cb4eef53c9753be97e5b153c1e7.svg"},function(e,t,n){e.exports=n.p+"0990ea5215b51a361f9f5d1cc5f0f715.svg"},function(e,t,n){e.exports=n.p+"dfd29c7961ea97c405d31325a34b702f.svg"},function(e,t,n){e.exports=n.p+"270f8fffe5193ae95508a7d23dbeb372.svg"},function(e,t,n){e.exports=n.p+"7c36d9a18afa75ae6d8ec8603b363113.svg"},function(e,t,n){e.exports=n.p+"b5461315d0043e571090037fef595a3d.svg"},function(e,t,n){e.exports=n.p+"62460650701e8429f22dfb75d45a8a8f.svg"},function(e,t,n){e.exports=n.p+"dbd6730a7e07f1da7ef9e81fe3ec54f4.svg"},function(e,t,n){e.exports=n.p+"850acd4515b313c418cf1d06bda6d552.svg"},function(e,t,n){e.exports=n.p+"29b4e3bbe8a0af346aa0cc36a50f0bbb.svg"},function(e,t,n){e.exports=n.p+"7edb15b19d6524d49ca17523af0ba64b.svg"},function(e,t,n){e.exports=n.p+"fc11d60ede4cb42f8c1c617bcb7d5fb9.svg"},function(e,t,n){e.exports=n.p+"99f0065389c775d7001b181f6aaa6a70.svg"},function(e,t,n){e.exports=n.p+"05d001ab4db9cb2d650a33c84d781dd4.svg"},function(e,t,n){e.exports=n.p+"c873a3842e3c1c351f71a8e316da3836.svg"},function(e,t,n){e.exports=n.p+"3100f4199a7969a6801759d7a8af5781.svg"},function(e,t,n){e.exports=n.p+"a4ad10781f285c4cc14bd8c3757f6732.svg"},function(e,t,n){e.exports=n.p+"baa392758f065fa770e3a9063f91d33a.svg"},function(e,t,n){e.exports=n.p+"053f85d0ecbe3c78ddc7b2edd374b0ba.svg"},function(e,t,n){e.exports=n.p+"2372da6e6674f60fd41b76e0058440a3.svg"},function(e,t,n){e.exports=n.p+"590794b9f632ce8391c966b9e6194c1b.svg"},function(e,t,n){e.exports=n.p+"2e3fbb2338145553a3d26c677b4f83a3.svg"},function(e,t,n){e.exports=n.p+"6d274903d488a6b57e40a883809fb33c.svg"},function(e,t,n){e.exports=n.p+"ed1c937de3aee41b70cea715005de3ef.svg"},function(e,t,n){e.exports=n.p+"0b261d8e3291bf494fcc26872c6f1dfc.svg"},function(e,t,n){e.exports=n.p+"516bf0fae97628e22a3a3ec810a8c4ba.svg"},function(e,t,n){e.exports=n.p+"6c8c8654d649bee316b88e2342b6c8fa.svg"},function(e,t,n){e.exports=n.p+"1033902f7cb4331b67b3c3be3f238ff6.svg"},function(e,t,n){e.exports=n.p+"3b9baa700cfeb3b6a8b27434bfca6602.svg"},function(e,t,n){e.exports=n.p+"859b37667ef7484514bdf611bb654fe1.svg"},function(e,t,n){e.exports=n.p+"fccc6b7583e67ffbe59b5ff17bb220f3.svg"},function(e,t,n){e.exports=n.p+"9fafca319eaa0c1e7d01da9a2f013ca7.svg"},function(e,t,n){e.exports=n.p+"825059b38b542d878fe89814c61645c2.svg"},function(e,t,n){e.exports=n.p+"4abbe17058207a51000e5a3cac06d986.svg"},function(e,t,n){e.exports=n.p+"e5908a8644b0403d9ff848f64e2ffcbb.svg"},function(e,t,n){e.exports=n.p+"5828a9abe4bd7a7dfbd221d64133aa43.svg"},function(e,t,n){e.exports=n.p+"39d26a6c2233dfd7996020755b929ce6.svg"},function(e,t,n){e.exports=n.p+"6c900814186d9436432cebb184fab8b7.svg"},function(e,t,n){e.exports=n.p+"c4cccc083da07eb95edf161ad5726d00.svg"},function(e,t,n){e.exports=n.p+"522c8314225487737f7dd4ead8d4a731.svg"},function(e,t,n){e.exports=n.p+"030fc6691abd2ab36c1d90407e02505e.svg"},function(e,t,n){e.exports=n.p+"7c34233236b5365782a8b697d05144c3.svg"},function(e,t,n){e.exports=n.p+"6305ff54712d29696712e48643b401ba.svg"},function(e,t,n){e.exports=n.p+"9c2c6878cb9096e7beddaf21391787bc.svg"},function(e,t,n){e.exports=n.p+"04783923cecf02e62f44e48afdebb9e4.svg"},function(e,t,n){e.exports=n.p+"7f4def89ba52825f547fe1b031e33802.svg"},function(e,t,n){e.exports=n.p+"e63b6822e54d6334126831f99fbda142.svg"},function(e,t,n){e.exports=n.p+"dc8757b127abe7b5cbd527d2de74a053.svg"},function(e,t,n){e.exports=n.p+"bc55d554d8c7432189439e0edd242bef.svg"},function(e,t,n){e.exports=n.p+"065cf6676dbeebd1264438854f2a76e6.svg"},function(e,t,n){e.exports=n.p+"85aa91d8a19980fb08ede157f919287f.svg"},function(e,t,n){e.exports=n.p+"4dd945c4df62fde81378656b2305f03b.svg"},function(e,t,n){e.exports=n.p+"557b8480fbd03c0405039ef45eb54ffe.svg"},function(e,t,n){e.exports=n.p+"2edf2d23ff03c3e4429ae709d5c3e6de.svg"},function(e,t,n){e.exports=n.p+"630c91022fd762ead4271d5668239025.svg"},function(e,t,n){e.exports=n.p+"07e63adc84f2b773c10ee339a8fcbf8c.svg"},function(e,t,n){e.exports=n.p+"38002403475def186f4b7ac64cc9d04f.svg"},function(e,t,n){e.exports=n.p+"5dca95ac71f782daf8bdff7e8114d656.svg"},function(e,t,n){e.exports=n.p+"1179cce930e54f671be9a98ffc9313e3.svg"},function(e,t,n){e.exports=n.p+"0b52d41ab11b969765213113b0d197c9.svg"},function(e,t,n){e.exports=n.p+"c22a2def17c0dfb9d4ba44dbc54f4062.svg"},function(e,t,n){e.exports=n.p+"52d1136b13f76fc2d27ee5a22124dcef.svg"},function(e,t,n){e.exports=n.p+"b8d0435c20c936da2daa4ebb412dc45c.svg"},function(e,t,n){e.exports=n.p+"764836c1d982d6a999ef5ee6ab11eb87.svg"},function(e,t,n){e.exports=n.p+"332a1867f90ba415fe0cd56491e4d16c.svg"},function(e,t,n){e.exports=n.p+"07302a0ce95bfc27d75e6d9748f7c3c4.svg"},function(e,t,n){e.exports=n.p+"b8126c857aacaf1d7226fa5505b5f5cb.svg"},function(e,t,n){e.exports=n.p+"cf977724a615ddf7aa9610c50a577536.svg"},function(e,t,n){e.exports=n.p+"e64de7aced945c2e198bb5731e94ac6d.svg"},function(e,t,n){e.exports=n.p+"e12380ed13d4f1c0633d0166042bbea1.svg"},function(e,t,n){e.exports=n.p+"d23c2dde0892d5c67b9148d3332aff8c.svg"},function(e,t,n){e.exports=n.p+"ccb393b137e9218ac3af16b2c4617a2e.svg"},function(e,t,n){e.exports=n.p+"1cea8f71b1b8c4f083e93e58c667bd7c.svg"},function(e,t,n){e.exports=n.p+"7c8d861a86a9c3852f2cdde40715d490.svg"},function(e,t,n){e.exports=n.p+"40115dda7d9f615f9561a451236d9623.svg"},function(e,t,n){e.exports=n.p+"2cf786a465ca489dd2e55a37c08e3c59.svg"},function(e,t,n){e.exports=n.p+"0217e68f2c1b88c35f227040cc035672.svg"},function(e,t,n){e.exports=n.p+"f92a9f8821057c551982b659b268ed8e.svg"},function(e,t,n){e.exports=n.p+"40e0130a4411323cdbed71b01ee0268e.svg"},function(e,t,n){e.exports=n.p+"3811d4c3223612227a941920960daa30.svg"},function(e,t,n){e.exports=n.p+"8b9d5f124020931b4de093c25506f5aa.svg"},function(e,t,n){e.exports=n.p+"b6a8ecf7ee81bc5f198efaae7756c41f.svg"},function(e,t,n){e.exports=n.p+"5aa65ce7d8af354c6840c01006f26ef7.svg"},function(e,t,n){e.exports=n.p+"7afa8b718dc3a9439560566d912b5f2c.svg"},function(e,t,n){e.exports=n.p+"260afedd0836f7e9f87512040ec16f57.svg"},function(e,t,n){e.exports=n.p+"d963d0ebb1bc7743dc37568e3b7c5cfb.svg"},function(e,t,n){e.exports=n.p+"a77e46deee7127d2b85e271f0d5b738a.svg"},function(e,t,n){e.exports=n.p+"f5f860bd5863b0e6dc82effa2ef64b6d.svg"},function(e,t,n){e.exports=n.p+"1799c138d1fe59c90b621531822b0be2.svg"},function(e,t,n){e.exports=n.p+"bcf31add4e99af68aefc1ad8c68bd8f5.svg"},function(e,t,n){e.exports=n.p+"ee4d204778150f625d480712d693acf4.svg"},function(e,t,n){e.exports=n.p+"3a2a5ebb52c26a470f87b1eb42c0da92.svg"},function(e,t,n){e.exports=n.p+"aa0f4c1498e8a6b14b1e3417b601b5aa.svg"},function(e,t,n){e.exports=n.p+"f7ab12b60a61adab8654e0a9dc2e63af.svg"},function(e,t,n){e.exports=n.p+"cb026612789e2a304448f7d84c6d1f61.svg"},function(e,t,n){e.exports=n.p+"600fbe12de9dd0653d9c6d60196a1e42.svg"},function(e,t,n){e.exports=n.p+"aa383d4f83ca500164ebe970318158de.svg"},function(e,t,n){e.exports=n.p+"edc4233ac27dd39edc6dcf270c3aa599.svg"},function(e,t,n){e.exports=n.p+"d541826138980a5f4381317c342137f2.svg"},function(e,t,n){e.exports=n.p+"e60479de5773e230338b18f49e225c95.svg"},function(e,t,n){e.exports=n.p+"fea9f79514871312e3d97d243548bb69.svg"},function(e,t,n){e.exports=n.p+"b4145d2678321d6d3376f1c88604fd42.svg"},function(e,t,n){e.exports=n.p+"c38b71cfa643cbb5509817dbf90f7100.svg"},function(e,t,n){e.exports=n.p+"23ce7360b90fa15ff7502a4efa6e3bcd.svg"},function(e,t,n){e.exports=n.p+"e6bf45e664dc5e37cf7414ecba378138.svg"},function(e,t,n){e.exports=n.p+"f39d880f51c2c1fdc68b43fa8ffe86b2.svg"},function(e,t,n){e.exports=n.p+"a3fdf36792c57acefbd11c5cf628a617.svg"},function(e,t,n){e.exports=n.p+"7c309737c9a3ccda2f7448ef0abe001f.svg"},function(e,t,n){e.exports=n.p+"1e5535def77a31917694578e9e32f16e.svg"},function(e,t,n){e.exports=n.p+"6a0b77bb41b5c5011ead76848d12ef02.svg"},function(e,t,n){e.exports=n.p+"4d10c3bb48aaa22938d622f33368a74c.svg"},function(e,t,n){e.exports=n.p+"52bfdf64e0f7355d16780ff7187f9a1a.svg"},function(e,t,n){e.exports=n.p+"b598f124b86f91d9daed202d64e29169.svg"},function(e,t,n){e.exports=n.p+"e8f23286ca11816c9ab8c145de57793d.svg"},function(e,t,n){e.exports=n.p+"a7ea7115b408d7dfa2eb701ef0a3b67d.svg"},function(e,t,n){e.exports=n.p+"45c8f940aac4dab66e6e73181663a59e.svg"},function(e,t,n){e.exports=n.p+"9acc7742efa057d93e09f6b68e6afd3a.svg"},function(e,t,n){e.exports=n.p+"15975b815581fb2e18622a682ca2380a.svg"},function(e,t,n){e.exports=n.p+"fc0d70c18dc95a7f572f1b8d4fd99fc5.svg"},function(e,t,n){e.exports=n.p+"3105a283924c31ad8edcf99e1406fce4.svg"},function(e,t,n){e.exports=n.p+"8f2b2dd111792f17b61b92f26df87d21.svg"},function(e,t,n){e.exports=n.p+"852c152018b85fee8747fc9b7fda029d.svg"},function(e,t,n){e.exports=n.p+"4c5368da6e23ddb039b77eb75136f27e.svg"},function(e,t,n){e.exports=n.p+"753af848c32c8c27590c18f45292a12d.svg"},function(e,t,n){e.exports=n.p+"d51a9baef36313665fad17c1e2609023.svg"},function(e,t,n){e.exports=n.p+"bbaf8d037b3f9be9c44f45dd8c6c0156.svg"},function(e,t,n){e.exports=n.p+"c66576976bc07f835107667c7db2f3db.svg"},function(e,t,n){e.exports=n.p+"32b7c567bd420f7e43f13ff4140fcd04.svg"},function(e,t,n){e.exports=n.p+"4e4a4ac66710b0aecf931cd72cd65d9e.svg"},function(e,t,n){e.exports=n.p+"b4e610191ce369a8bd475c23d6b4c40b.svg"},function(e,t,n){e.exports=n.p+"5e2ea03aa4963cda5e91d395c2587e6b.svg"},function(e,t,n){e.exports=n.p+"70de7399b20bad71f868ca5161d140d3.svg"},function(e,t,n){e.exports=n.p+"b9cff060443410369c93d78ed3b11408.svg"},function(e,t,n){e.exports=n.p+"ae5e2a35c59da2f4e12c406f5efa86b9.svg"},function(e,t,n){e.exports=n.p+"0973f9db9b3cd198463d3d8bdea44264.svg"},function(e,t,n){e.exports=n.p+"309a45f4a75e9936c4c00807354e4c7c.svg"},function(e,t,n){e.exports=n.p+"7a7ff35f227d659eb5efd817e2052174.svg"},function(e,t,n){e.exports=n.p+"496cd7d4bfc59cdf6cd8a3285b42b576.svg"},function(e,t,n){e.exports=n.p+"549e0b9954236583f841032b85ba45f9.svg"},function(e,t,n){e.exports=n.p+"2f5331445a4647af2bb317862b38502a.svg"},function(e,t,n){e.exports=n.p+"ed2a388ba7ed8f310d600514e2dca126.svg"},function(e,t,n){e.exports=n.p+"90016e00fd4d9381ff6bd2d1d2a24a3b.svg"},function(e,t,n){e.exports=n.p+"6ea878caca1856a6fa65030950201ea3.svg"},function(e,t,n){e.exports=n.p+"92d9856824994ff6623ece935bd56776.svg"},function(e,t,n){e.exports=n.p+"105311b6dd7c00d36b514f5e41d0f46c.svg"},function(e,t,n){e.exports=n.p+"9a77e13be0f62ffa5f508f3cf50912c2.svg"},function(e,t,n){e.exports=n.p+"be2863685453106bcaf150626e1c188a.svg"},function(e,t,n){e.exports=n.p+"72f93fd9cd78b6cf221bab5594ca9176.svg"},function(e,t,n){e.exports=n.p+"a6298512f50632252a23cc264ec73f29.svg"},function(e,t,n){e.exports=n.p+"b052a4bef57c1aa73cd7cff5bc4fb61d.svg"},function(e,t,n){e.exports=n.p+"9d23479dd0484c082194cf5a316adf08.svg"},function(e,t,n){e.exports=n.p+"842e3b859f3efcb7f40ed7fc6867ca50.svg"},function(e,t,n){e.exports=n.p+"560f68782305d3736f6932663213aedf.svg"},function(e,t,n){e.exports=n.p+"3bc9a862612bae045329b90ed60f2ad7.svg"},function(e,t,n){e.exports=n.p+"eb697691fa500edf556867e585c4d4ac.svg"},function(e,t,n){e.exports=n.p+"4b25919b3fb54419d57e436cbdb1a2d4.svg"},function(e,t,n){e.exports=n.p+"5ab2679b6db7772e5eb4ed3415d82800.svg"},function(e,t,n){e.exports=n.p+"ac4294066a9379874e669fe6eae9dbe5.svg"},function(e,t,n){e.exports=n.p+"9354845e25932052065dd6c1e08afb5e.svg"},function(e,t,n){e.exports=n.p+"89641ebba191be23dc9a725ae84007ca.svg"},function(e,t,n){e.exports=n.p+"6ca609cb5fe0c1a5a74633567c2e743f.svg"},function(e,t,n){e.exports=n.p+"d702f2335a85d421e708bc9466571fa8.svg"},function(e,t,n){e.exports=n.p+"59bdcc534c0d1adc1fb7575a1a4785a6.svg"},function(e,t,n){e.exports=n.p+"135271eb4178e4ff93c8e318adf7a1bc.svg"},function(e,t,n){e.exports=n.p+"a286d7a1a5c1f92786bdd48244b50add.svg"},function(e,t,n){e.exports=n.p+"024b5c2f8ead9b3fafeffe323d995f12.svg"},function(e,t,n){e.exports=n.p+"7d3e3949b8fafe2ebed318974f1ece8b.svg"},function(e,t,n){e.exports=n.p+"e054e243a1525b8c307a8d25ad46580e.svg"},function(e,t,n){e.exports=n.p+"e8c52ade4aba5b3f303de1db23345b7f.svg"},function(e,t,n){e.exports=n.p+"026a3b9641a2a5695469456570daf22f.svg"},function(e,t,n){e.exports=n.p+"2d827842d29f3408d9eb56fcdd96e589.svg"},function(e,t,n){e.exports=n.p+"1a681bfe61f09a5f527efb25cbbd1a37.svg"},function(e,t,n){e.exports=n.p+"733a0db94b390b2fd5da87408285a079.svg"},function(e,t,n){e.exports=n.p+"e599756478c7b2bcb016822bbc4c770c.svg"},function(e,t,n){e.exports=n.p+"b5a892d37d598e0e73dce83212ad8512.svg"},function(e,t,n){e.exports=n.p+"5cdf72535fd236b2a7e6ab8e4826b3a4.svg"},function(e,t,n){e.exports=n.p+"31123922fb35c46cb2f8daa1cf4899a5.svg"},function(e,t,n){e.exports=n.p+"1ca974f0ab1e4880a4aba47c5e96250b.svg"},function(e,t,n){e.exports=n.p+"5e5ab6737c6e2b6a9aa7a1e7295d1b41.svg"},function(e,t,n){e.exports=n.p+"78279ce9b1bc7be03b83aec31c42b4ee.svg"},function(e,t,n){e.exports=n.p+"74753e5398ed3c86145f696cca04ed5b.svg"},function(e,t,n){e.exports=n.p+"f1426431eb7c60fb8c072f90acb07ceb.svg"},function(e,t,n){e.exports=n.p+"90eb8387713284f854d84ae86a5ff811.svg"},function(e,t,n){e.exports=n.p+"fd75504bd8a4810f750bdb5a94ade84c.svg"},function(e,t,n){e.exports=n.p+"0cfd4882c0646d504900c90166d80cf8.svg"},function(e,t,n){e.exports=n.p+"34039c067d82e86f0f1a07ad38e86685.svg"},function(e,t,n){e.exports=n.p+"7366fdb7c5d9143057318249297a13bc.svg"},function(e,t,n){e.exports=n.p+"a5a0052b1eeb1e7765a591dca2439b3a.svg"},function(e,t,n){e.exports=n.p+"658d047ef378c3147a9d8d3a01fef268.svg"},function(e,t,n){e.exports=n.p+"d4118b2f1c66753deb666882b7fb4380.svg"},function(e,t,n){e.exports=n.p+"7a17610e7c39ea79577387820328eff4.svg"},function(e,t,n){e.exports=n.p+"e048d897c44345a409d66888bf61f72d.svg"},function(e,t,n){e.exports=n.p+"648413c5ab30c6d4bbd34fd15b4c9e93.svg"},function(e,t,n){e.exports=n.p+"6e7e4b0e52381281ff1ae9456f61c90a.svg"},function(e,t,n){e.exports=n.p+"e1d2ae13fd4dd03d7ae81a48ea4ea424.svg"},function(e,t,n){e.exports=n.p+"0e7fc4b6265bd336e8fe4dca75417ee7.svg"},function(e,t,n){e.exports=n.p+"b838c3f308050200c31cda4af66039e9.svg"},function(e,t,n){e.exports=n.p+"07aab6d892f35d529932196dbd20101f.svg"},function(e,t,n){e.exports=n.p+"93c5ae5a41e9d1468fbc1c892ad6e4a6.svg"},function(e,t,n){e.exports=n.p+"45c074e64c49165be59a19ec38f40ae8.svg"},function(e,t,n){e.exports=n.p+"8e9a2d7ef44c1052a246e062e4c3f796.svg"},function(e,t,n){e.exports=n.p+"c3263a9facd55f57ec90f2988c8cae2f.svg"},function(e,t,n){e.exports=n.p+"b8a16cae8e305aef65da38c13613c03d.svg"},function(e,t,n){e.exports=n.p+"9fe137edb0dbe590fa20cfbd6a9d9a70.svg"},function(e,t,n){e.exports=n.p+"1a89e4c57ee9dd4eb94bf44df18ba784.svg"},function(e,t,n){e.exports=n.p+"4a3cb447275cc33c66c8b5173f94b0f4.svg"},function(e,t,n){e.exports=n.p+"7c3ec42a517d26f7559a1bd4ce282e55.svg"},function(e,t,n){e.exports=n.p+"6cc14f644e35c26509bf8cd3dcfd9189.svg"},function(e,t,n){e.exports=n.p+"a47d8536794c4d71b52d0a76483ec8a1.svg"},function(e,t,n){e.exports=n.p+"ed2cad5271c6a22e4c663227a1a88dc4.svg"},function(e,t,n){e.exports=n.p+"710aaa607844e01a67fd63054e13a8dc.svg"},function(e,t,n){e.exports=n.p+"b918364e4e75614717756786f008dd4b.svg"},function(e,t,n){e.exports=n.p+"733d7d1c9ef7dead23d426dda25c1696.svg"},function(e,t,n){e.exports=n.p+"b5b2cc93c232ea97acf112dd3422e3a4.svg"},function(e,t,n){e.exports=n.p+"c03dbe5c2f01b2a1abe6818f48c3ffd9.svg"},function(e,t,n){e.exports=n.p+"98a7b0c592e65151be05eee3ddf12fa8.svg"},function(e,t,n){e.exports=n.p+"993f278301c13ecaeb97bde300dcfdd1.svg"},function(e,t,n){e.exports=n.p+"c3d98564b2c85d94260bedcd85ae2264.svg"},function(e,t,n){e.exports=n.p+"6b5cc40c5791ebe8d2f1983ecd8345e7.svg"},function(e,t,n){e.exports=n.p+"8a57f8fbe78ba84eaa85a393a0df9f5a.svg"},function(e,t,n){e.exports=n.p+"58c3c30c10d9d7a957d5de5af4d24d18.svg"},function(e,t,n){e.exports=n.p+"720159dbbc5901a62e379f8aca4bdd7f.svg"},function(e,t,n){e.exports=n.p+"d6b6f90837c3ace171ee7718457877f0.svg"},function(e,t,n){e.exports=n.p+"a897d2fd1408aeb4c548eb4ba434f8c3.svg"},function(e,t,n){e.exports=n.p+"ff99a5cc7fa936b757396e6c1b51f589.svg"},function(e,t,n){e.exports=n.p+"bf6e82bd0f457145d316671486cd8f72.svg"},function(e,t,n){e.exports=n.p+"d7681b300623922f934f6673574e5567.svg"},function(e,t,n){e.exports=n.p+"7aefaf7f7287ad26b8551af03e64700a.svg"},function(e,t,n){e.exports=n.p+"c751a1a98de25d0ab3a9fd6b071bc7fa.svg"},function(e,t,n){e.exports=n.p+"a600d186d61c892b6c6e66b071382318.svg"},function(e,t,n){e.exports=n.p+"b496edd56d2f2c82887fca4f4859d69e.svg"},function(e,t,n){e.exports=n.p+"7234e721d923e6f1eea6b97f1c6112ac.svg"},function(e,t,n){e.exports=n.p+"a360facd845cbccc2c235b4008db81bc.svg"},function(e,t,n){e.exports=n.p+"1d30d10e461f3a7c99cb1c3dbd244d39.svg"},function(e,t,n){e.exports=n.p+"a79bee5f12de57120a16cb46b14531da.svg"},function(e,t,n){e.exports=n.p+"b7dbcce9956ce290a8cd40329da7238e.svg"},function(e,t,n){e.exports=n.p+"ae7b80cbcc619fab7cffd626d89812a3.svg"},function(e,t,n){e.exports=n.p+"7a1af78d6f0dced5ce232120251df850.svg"},function(e,t,n){e.exports=n.p+"36d18f44131158a9cbab17475b023749.svg"},function(e,t,n){e.exports=n.p+"70fdfb7b890d82e71b436c5a34838e71.svg"},function(e,t,n){e.exports=n.p+"14a2ba51038405a0948691e5f4a9a0bb.svg"},function(e,t,n){e.exports=n.p+"435e77efc58439fc277559e76354c3c4.svg"},function(e,t,n){e.exports=n.p+"82080ae19c3f1a6e082013bca37414df.svg"},function(e,t,n){e.exports=n.p+"c9b563417a1ff01700edc358b5fc309f.svg"},function(e,t,n){e.exports=n.p+"0a00e865c445d42dfb9f64bedfab8cf8.svg"},function(e,t,n){e.exports=n.p+"3bbd60003f464dd95f112819b6bf3936.svg"},function(e,t,n){e.exports=n.p+"d715b5531c0e2321110d31f9aff7e001.svg"},function(e,t,n){e.exports=n.p+"4724d04f4c9f36a2f71e69c68d6c8b2a.svg"},function(e,t,n){e.exports=n.p+"0fe65e9200915762274a634fda80595f.svg"},function(e,t,n){e.exports=n.p+"1cb987a3fe7b0d4c72ae351ff5c2b64b.svg"},function(e,t,n){e.exports=n.p+"3292eb84cb663e0f2ec7ab7bd53e766f.svg"},function(e,t,n){e.exports=n.p+"1a25c1bc80c7722bec151bbff3e85dec.svg"},function(e,t,n){e.exports=n.p+"a71c8639481a2696377378ab07d348fb.svg"},function(e,t,n){e.exports=n.p+"2b15cda399bf3cb2cc7fca1b62478924.svg"},function(e,t,n){e.exports=n.p+"1c2136eecd03dcf815794df0e63be866.svg"},function(e,t,n){e.exports=n.p+"240fbb983050b091fcd6847b647b5167.svg"},function(e,t,n){e.exports=n.p+"854aca380c22ddf8a4f69e3f85c5185f.svg"},function(e,t,n){e.exports=n.p+"d218bf31c50d2156b2328ab98530cf1c.svg"},function(e,t,n){e.exports=n.p+"a78657039bc7a43138128d41a7a3f328.svg"},function(e,t,n){e.exports=n.p+"4ff40f4fc53c4396cba453d71ac2330a.svg"},function(e,t,n){e.exports=n.p+"bc2d5b6f81203c7a749b09124b4d6921.svg"},function(e,t,n){e.exports=n.p+"258353825046fa4191d6ff067bf2f2d6.svg"},function(e,t,n){e.exports=n.p+"6a99e49cdb8ac02b9e0b6a6bfe530fca.svg"},function(e,t,n){e.exports=n.p+"eb87d44efd10a51a30a3b399891b85df.svg"},function(e,t,n){e.exports=n.p+"8a97e29b4104a12860d0e75d80269315.svg"},function(e,t,n){e.exports=n.p+"ab9cdd42aae36e677be8cfa4aa1b63e4.svg"},function(e,t,n){e.exports=n.p+"a17ad3a7a5c5a1aeb28a14038a663ac1.svg"},function(e,t,n){e.exports=n.p+"a2c91146f71b1ef6d2cf8d0e76b7016e.svg"},function(e,t,n){e.exports=n.p+"a1f0b617eefb7b7bb00a5ac1d6474e6c.svg"},function(e,t,n){e.exports=n.p+"123a3f509aa65a7253b00b5c8642f1ab.svg"},function(e,t,n){e.exports=n.p+"3d3d2f97da31f797970d23c9991c36c9.svg"},function(e,t,n){e.exports=n.p+"f566048cbabe74324a14fe4b6c8c61db.svg"},function(e,t,n){e.exports=n.p+"a7c9926ad513324dbdc25df66befcce1.svg"},function(e,t,n){e.exports=n.p+"2f04073020feab26f94de654cbb8df50.svg"},function(e,t,n){e.exports=n.p+"eab73a31d17ce2104a02ca4a89820909.svg"},function(e,t,n){e.exports=n.p+"6e4e3ff455bd1412920dfbbfd0c018fa.svg"},function(e,t,n){e.exports=n.p+"46f17dc924965027337d8a2f0df1d488.svg"},function(e,t,n){e.exports=n.p+"bbb481984b99a48678f9284de8860b36.svg"},function(e,t,n){e.exports=n.p+"d9cc40855e6acd5ad67bad226d9a9a30.svg"},function(e,t,n){e.exports=n.p+"135d2a82a1f7f9d7b639659e3dd593be.svg"},function(e,t,n){e.exports=n.p+"ed34f06cdf88bcbfe9a71c343a04c960.svg"},function(e,t,n){e.exports=n.p+"0ff0ca15d9041a28186969a4a37d8734.svg"},function(e,t,n){e.exports=n.p+"464dd865a2cd784392443539f4190d07.svg"},function(e,t,n){e.exports=n.p+"19bfb1eb4390fcb078f8a833e796b2ac.svg"},function(e,t,n){e.exports=n.p+"79a6155de8e7823dda7477be9394e349.svg"},function(e,t,n){e.exports=n.p+"592e7d1eaa228fd71894d13c9a8a7574.svg"},function(e,t,n){e.exports=n.p+"c9a46ce244be49810baf215670b73b90.svg"},function(e,t,n){e.exports=n.p+"a017c614e28f794bebc8c4a24e341290.svg"},function(e,t,n){e.exports=n.p+"6dd7ab864a207d17090be312385e5f68.svg"},function(e,t,n){e.exports=n.p+"c17a3b48593ca33f55c8bbd9179b0b68.svg"},function(e,t,n){e.exports=n.p+"c0a6e4d7861d903142ce842a7b9d4d8f.svg"},function(e,t,n){e.exports=n.p+"17f0997bbf8ec8d2f336fa6be1ef492e.svg"},function(e,t,n){e.exports=n.p+"cf94063b8e0d1cdf31cd982c5f2e5f2b.svg"},function(e,t,n){e.exports=n.p+"946771bc592962a56221486eb71a6f4f.svg"},function(e,t,n){e.exports=n.p+"f28c9dc07e5f42a0e26e763d77460092.svg"},function(e,t,n){e.exports=n.p+"03368fe0a04c6df38109188ce1e3fcb0.svg"},function(e,t,n){e.exports=n.p+"146cd05bd650d6b399657e2c62c48739.svg"},function(e,t,n){e.exports=n.p+"03b36b80f27dfebfe4fbac8a6f827975.svg"},function(e,t,n){e.exports=n.p+"c4e8fe0bcb38e24f5c86ea1217ac3026.svg"},function(e,t,n){e.exports=n.p+"449d43d80485af99d50d7876f1ec8295.svg"},function(e,t,n){e.exports=n.p+"d049b7b0b6933595c69e999ceddc2771.svg"},function(e,t,n){e.exports=n.p+"e1faddc65fe9b22cf99792241feaf50b.svg"},function(e,t,n){e.exports=n.p+"a272020b6b03a24930833240b011a1cd.svg"},function(e,t,n){e.exports=n.p+"258ff337f4e451e5dc8818167a2517a2.svg"},function(e,t,n){e.exports=n.p+"fab490f155c34dea60bc085787fd27de.svg"},function(e,t,n){e.exports=n.p+"4f48605d44de75f151f4b376c7ff1da4.svg"},function(e,t,n){e.exports=n.p+"da28365ece0a48897bac0f27e1e21f49.svg"},function(e,t,n){e.exports=n.p+"b5577b3454c45a6c0e2d8c277a6c23d5.svg"},function(e,t,n){e.exports=n.p+"fa67c93ec376cad2e3389ac1a5608b8f.svg"},function(e,t,n){e.exports=n.p+"a6f72a20e57fc5604130b794eb81ead7.svg"},function(e,t,n){e.exports=n.p+"408999faaed422016a76103ed3418837.svg"},function(e,t,n){e.exports=n.p+"cb503564eb2ce37230ec6f56a27b8bbe.svg"},function(e,t,n){e.exports=n.p+"aeb43e604aa87f6028f2053d26582c3f.svg"},function(e,t,n){e.exports=n.p+"2859b7c99f56fe22827916c529ccac86.svg"},function(e,t,n){e.exports=n.p+"d3aa46ca884079ab7f9edf60b4f14275.svg"},function(e,t,n){e.exports=n.p+"2f87e5640674dc70c9eafec452c12744.svg"},function(e,t,n){e.exports=n.p+"e6b64cfec7333c838fa8ef994854fcdf.svg"},function(e,t,n){e.exports=n.p+"f9b9b873bf481dbcd708be1902614079.svg"},function(e,t,n){e.exports=n.p+"912a52fc3c152af29923ca7e9ae043b0.svg"},function(e,t,n){e.exports=n.p+"5c94579af4ab4f1e1ca895b431161e2e.svg"},function(e,t,n){e.exports=n.p+"6bcda303bbdcc7446673edae013ce4c4.svg"},function(e,t,n){e.exports=n.p+"dbe34f53028e0d3a38ebb7d3c1af041e.svg"},function(e,t,n){e.exports=n.p+"68e9a0c39cb131b2255d568dc6eca41f.svg"},function(e,t,n){e.exports=n.p+"1bd2330e92ac71ac26fe6b5ab5fae7dd.svg"},function(e,t,n){e.exports=n.p+"e17a95f8ce43367d6abb5ca1969a9f25.svg"},function(e,t,n){e.exports=n.p+"67741038c09b81e658f85a81bbce3c6e.svg"},function(e,t,n){e.exports=n.p+"deea117ff9db07e31d8658a505394d01.svg"},function(e,t,n){e.exports=n.p+"2c371712123bf19d0d7d6d1f7980a701.svg"},function(e,t,n){e.exports=n.p+"e06526a1c3ff1d5e509c60eb8a03bcb3.svg"},function(e,t,n){e.exports=n.p+"98c4f020cfcd05c0c3d0ee025a3154f3.svg"},function(e,t,n){e.exports=n.p+"d0fa9f2140e3c00f264eff648a668178.svg"},function(e,t,n){e.exports=n.p+"04b84a4aaace7647c3ea5cbe5c27cf86.svg"},function(e,t,n){e.exports=n.p+"3cc9f57b6443eeba3ffb69b93629e3cf.svg"},function(e,t,n){e.exports=n.p+"11992200304494a5161bf3ff8e262a23.svg"},function(e,t,n){e.exports=n.p+"b9a0934c854db0d97b4b21424d578452.svg"},function(e,t,n){e.exports=n.p+"d3a8c94c0473495cbe1b8eb999316475.svg"},function(e,t,n){e.exports=n.p+"dcd96093a932467ba2155089dae4f789.svg"},function(e,t,n){e.exports=n.p+"af1ad229ecfb7d74a349cde651e9e49e.svg"},function(e,t,n){e.exports=n.p+"6837f6f531ad403f557f15f9ba6d22f5.svg"},function(e,t,n){e.exports=n.p+"c93b005f6352c5c0aee811015a4f8d9c.svg"},function(e,t,n){e.exports=n.p+"89cfd891eb713f4b055d1b0d03e1501a.svg"},function(e,t,n){e.exports=n.p+"d842cbb9aa8106059c54eb0cbb5d03ba.svg"},function(e,t,n){e.exports=n.p+"ec15d5b501416e4b7270cb1dd1624631.svg"},function(e,t,n){e.exports=n.p+"fd4b28db5d02e26f4ee43ab549ecffd4.svg"},function(e,t,n){e.exports=n.p+"b4389a07796a128a9e86e28e7f6df386.svg"},function(e,t,n){e.exports=n.p+"60607b817ba7412ac83babae796c1d8c.svg"},function(e,t,n){e.exports=n.p+"b9cd193b23b2d0d0f878f992ef8a6b26.svg"},function(e,t,n){e.exports=n.p+"9029ac54b7922ae530aa8f0f0e1a2b6a.svg"},function(e,t,n){e.exports=n.p+"a5414b22592b99113a3b8ee550607816.svg"},function(e,t,n){e.exports=n.p+"030eea881ddab556dcf9713ad69540cd.svg"},function(e,t,n){e.exports=n.p+"53d700db9e5fbb461663685b813156df.svg"},function(e,t,n){e.exports=n.p+"936f7125fcf405a5d18bd84b0b52f47b.svg"},function(e,t,n){e.exports=n.p+"0f7341809de05e185655e4d20735d0a2.svg"},function(e,t,n){e.exports=n.p+"f38d6de174ee2cf1f7c9bde8019e0c18.svg"},function(e,t,n){e.exports=n.p+"a33ea7f530f4b720a3a4c050594842fa.svg"},function(e,t,n){e.exports=n.p+"600365a75232f047561f91e816ff1961.svg"},function(e,t,n){e.exports=n.p+"76e8faef078f9788cc00a499138af98d.svg"},function(e,t,n){e.exports=n.p+"3781c1246a4fea0dd55e56197ba6ca9e.svg"},function(e,t,n){e.exports=n.p+"c1f3cc7c40bb7a370a29ebcc0c14def7.svg"},function(e,t,n){e.exports=n.p+"c86af7b1783402e3e65c22adda7f6aaf.svg"},function(e,t,n){e.exports=n.p+"49670d374499c7f830a0fca6741db06b.svg"},function(e,t,n){e.exports=n.p+"f36b66e2f802dc9f43d8b4fa18c084aa.svg"},function(e,t,n){e.exports=n.p+"62e0abd117fa79e4728618e413d86d19.svg"},function(e,t,n){e.exports=n.p+"2c675857bded304870f3aedc02de2ffb.svg"},function(e,t,n){e.exports=n.p+"06abe2c5f92d0dfc5d66446cb4e1e83b.svg"},function(e,t,n){e.exports=n.p+"3c6d0d0cdd8a07c4c6837fd143e1e60c.svg"},function(e,t,n){e.exports=n.p+"df8b26ce08bff3cc70d505b48ccdc71c.svg"},function(e,t,n){e.exports=n.p+"a4ae9ac0cb5ad12a68f767d39b249811.svg"},function(e,t,n){e.exports=n.p+"e076bda560b596a206ea032e02bd411b.svg"},function(e,t,n){e.exports=n.p+"a784784c984905c2a74507d57aa3523e.svg"},function(e,t,n){e.exports=n.p+"56f7f46a090f4935ce29b6718c8d47ce.svg"},function(e,t,n){e.exports=n.p+"d73ab953aa1a3b9cca3a5a0bb6c37842.svg"},function(e,t,n){e.exports=n.p+"fface028e87dd156db7f772d5009211e.svg"},function(e,t,n){e.exports=n.p+"217b9691030367991d52c0bcbde34f30.svg"},function(e,t,n){e.exports=n.p+"6dfcd23c3f6302b228666f9ce61dbf61.svg"},function(e,t,n){e.exports=n.p+"dbfbe586e724f4a0cd993d0c1048316b.svg"},function(e,t,n){e.exports=n.p+"591183f3386ef43f266bd7bcf03ef83f.svg"},function(e,t,n){e.exports=n.p+"3b7c890100e7d7260288ce46d67a24cd.svg"},function(e,t,n){e.exports=n.p+"55aecf5f15c4f21115d04f8cd63fb3ab.svg"},function(e,t,n){e.exports=n.p+"1118afb9d722b17e0cb0595bbe4f6e0a.svg"},function(e,t,n){e.exports=n.p+"766e42505fdf9dc7c390ecd08c0bc4a6.svg"},function(e,t,n){e.exports=n.p+"ddd66e0ba306c3e6d9483acd8cfc124b.svg"},function(e,t,n){e.exports=n.p+"468644ef0a79a3d8163f7778164b756d.svg"},function(e,t,n){e.exports=n.p+"92f89f0c4724cd564fc307a5dd20e18a.svg"},function(e,t,n){e.exports=n.p+"8b285f94106efc8fbb076980806d4462.svg"},function(e,t,n){e.exports=n.p+"d083412544c302d290775006877f6202.svg"},function(e,t,n){e.exports=n.p+"1a7689368e6b9d41ce8db98f709ca08a.svg"},function(e,t,n){e.exports=n.p+"a2893dfac8eccc398a9b14402df114c2.svg"},function(e,t,n){e.exports=n.p+"b881e880846e099613fba17d5de1497b.svg"},function(e,t,n){e.exports=n.p+"3ef216c0db84ff0dbeebd9409104b32f.svg"},function(e,t,n){e.exports=n.p+"370f5af37229902609dec50690ec5f99.svg"},function(e,t,n){e.exports=n.p+"e37bc714ecd911af7c558f5aaa0c4464.svg"},function(e,t,n){e.exports=n.p+"66421caf19743280c076da2fca8932a3.svg"},function(e,t,n){e.exports=n.p+"d5b1663a1a49a2471ab3bce9f98bfc27.svg"},function(e,t,n){e.exports=n.p+"720806c4ff4375a2f36674e8aeeb1906.svg"},function(e,t,n){e.exports=n.p+"ea60e8e1bc38ab15f4309ef49f081f22.svg"},function(e,t,n){e.exports=n.p+"eb870587a80d227731a888c954ac2eca.svg"},function(e,t,n){e.exports=n.p+"0da5614923cc73f71ea9641a5cdb5a3e.svg"},function(e,t,n){e.exports=n.p+"3e830e736f5880373f5c58ea37f0a09e.svg"},function(e,t,n){e.exports=n.p+"e751b74d24f6d6dd9f57b5c1e257a2fe.svg"},function(e,t,n){e.exports=n.p+"3fbf09f29fe27dc2b8a7d06c83465ce8.svg"},function(e,t,n){e.exports=n.p+"cf725f98edb284d25530f5dbd7d30ee4.svg"},function(e,t,n){e.exports=n.p+"727bc86f98316c40c37e48797f2ab196.svg"},function(e,t,n){e.exports=n.p+"6ea80059130bde711bef1b446f78e282.svg"},function(e,t,n){e.exports=n.p+"79f5a5b12f5ff0785032b3ec01f37a24.svg"},function(e,t,n){e.exports=n.p+"14baad8ac7905736f0505fef9e6761a8.svg"},function(e,t,n){e.exports=n.p+"aa2e827a8b3c78ded1a842fa19f89326.svg"},function(e,t,n){e.exports=n.p+"1a5d8cce6c59fe1ff80d19f182616d13.svg"},function(e,t,n){e.exports=n.p+"1e8855463ed8a429b8a0da902d4ce910.svg"},function(e,t,n){e.exports=n.p+"7da28de81a5be51f4199da5050e83041.svg"},function(e,t,n){e.exports=n.p+"ed7822d0ae570e74d95ff32a31309005.svg"},function(e,t,n){e.exports=n.p+"a81931766f2a88526baea838dde7d225.svg"},function(e,t,n){e.exports=n.p+"a582f38ca1d7c72abd5b2565033bc810.svg"},function(e,t,n){e.exports=n.p+"6bdc7fbe1d1895ee1ae6f10d8b7ff014.svg"},function(e,t,n){e.exports=n.p+"1cb536137c5e70d114922edd3d3faaa0.svg"},function(e,t,n){e.exports=n.p+"dd3c29b26d0bc7cdfd537f483c9c5bb3.svg"},function(e,t,n){e.exports=n.p+"e867007be4b2af2652e06c6aea5311ae.svg"},function(e,t,n){e.exports=n.p+"2eb6ca0fe3f48e16b1fe240735710094.svg"},function(e,t,n){e.exports=n.p+"dd77cf000a729a9bf0fc03b97e1e4a5d.svg"},function(e,t,n){e.exports=n.p+"68af06bbac9f4830d08fa474f201f92b.svg"},function(e,t,n){e.exports=n.p+"fc50a173b1afcfb37d141e4bee11e479.svg"},function(e,t,n){e.exports=n.p+"70c59f59ef85eeddfd7d3962a4840cb8.svg"},function(e,t,n){e.exports=n.p+"eb3b52294d6cbab490cdb577afe40b11.svg"},function(e,t,n){e.exports=n.p+"589b531ad20f070bbee33f31f233c135.svg"},function(e,t,n){e.exports=n.p+"ffa1f81e3c3364ef04f9a1a26b55b42b.svg"},function(e,t,n){e.exports=n.p+"6c9bbf3f832dcd57767157214e9c5bb5.svg"},function(e,t,n){e.exports=n.p+"f8cfa52b218e9e8fac7c1b21d09d8ef6.svg"},function(e,t,n){e.exports=n.p+"de0f03380b137cdb950b1a9d2ca04a3b.svg"},function(e,t,n){e.exports=n.p+"4c5a77a89716352686f590a6f014770c.svg"},function(e,t,n){e.exports=n.p+"85ea65fa7910b449da793663ad09a695.svg"},function(e,t,n){e.exports=n.p+"938845ae928cc025cc21cc71d38c2418.svg"},function(e,t,n){e.exports=n.p+"82f12d05b6a1da604853772a022b7733.svg"},function(e,t,n){e.exports=n.p+"c3d79dfbe33fe8df10cea51abbd1d763.svg"},function(e,t,n){e.exports=n.p+"0998ac3a974b9becd7a6e733b7bfc608.svg"},function(e,t,n){e.exports=n.p+"d6e5c362c24a037e6cfdb2841c665882.svg"},function(e,t,n){e.exports=n.p+"89a6921cee7acd223407651991aeeb34.svg"},function(e,t,n){e.exports=n.p+"c6d79c4d1a768725d74b74b8dde87041.svg"},function(e,t,n){e.exports=n.p+"24595f23d0f31fcf308551a445585407.svg"},function(e,t,n){e.exports=n.p+"8458f84a9d4070d2fac4bfa609747d9d.svg"},function(e,t,n){e.exports=n.p+"91111ed2130a9ce307a83022eb2b1bf2.svg"},function(e,t,n){e.exports=n.p+"3cd3cc8a4bf73ab84643240493ef345e.svg"},function(e,t,n){e.exports=n.p+"5acf7aa0de092b9850201f1a98997bcc.svg"},function(e,t,n){e.exports=n.p+"9a3e2c6b01cec5094c81ad9db673d430.svg"},function(e,t,n){e.exports=n.p+"c1aac731a5d5bab09fc7d177fadc5eef.svg"},function(e,t,n){e.exports=n.p+"0d16121d9eae5745be9da0c730557d30.svg"},function(e,t,n){e.exports=n.p+"cbc478ff82823481336a59c9df975d5a.svg"},function(e,t,n){e.exports=n.p+"217040d5caf54fd16eb5ed0ca8ac01c0.svg"},function(e,t,n){e.exports=n.p+"cc8ea3bd44e057321ae74c97dbe7dc0e.svg"},function(e,t,n){e.exports=n.p+"5f6799ef67ea97133d20a1e6c2e4ee5c.svg"},function(e,t,n){e.exports=n.p+"c824fe39c2ccf2a5a5ae5c9391a87be8.svg"},function(e,t,n){e.exports=n.p+"863d47ae4fdda4d783c57dd9c496b7d6.svg"},function(e,t,n){e.exports=n.p+"36ead449b8b0e52147ab345c7411e919.svg"},function(e,t,n){e.exports=n.p+"733b1db280d04104c0f48d2cabc0fe9d.svg"},function(e,t,n){e.exports=n.p+"b3875912b2c72107671c851e72c9fb13.svg"},function(e,t,n){e.exports=n.p+"98e77dc7b2bb8f0caca2c6413bae4c7b.svg"},function(e,t,n){e.exports=n.p+"f041779f08aa1403569ad8ac8dedfa56.svg"},function(e,t,n){e.exports=n.p+"985bb2d2398be71e1b68bc7e2103c993.svg"},function(e,t,n){e.exports=n.p+"4f674d2884e5410a290f2902c9ac4767.svg"},function(e,t,n){e.exports=n.p+"79e19473aa334b2e12e0e21bb334f31c.svg"},function(e,t,n){e.exports=n.p+"524925c691c8a47a0efb7eb71826eaca.svg"},function(e,t,n){e.exports=n.p+"fccf52170abe65e36c8ccc9eb2056db0.svg"},function(e,t,n){e.exports=n.p+"f9d1f028b115b18db7a663951a53c82c.svg"},function(e,t,n){e.exports=n.p+"1e3b6d27bfb21f04dc9e00c7bc965c55.svg"},function(e,t,n){e.exports=n.p+"514a375486cbde6994112a6813338e30.svg"},function(e,t,n){e.exports=n.p+"2cf0a9351423d5e826f73926f412579f.svg"},function(e,t,n){e.exports=n.p+"24068beaa92dca904f4d5019ec1ec880.svg"},function(e,t,n){e.exports=n.p+"f387113fc103b8f60d740605ca094ebf.svg"},function(e,t,n){e.exports=n.p+"bd291fec9f86791e1c14d9428da01e5a.svg"},function(e,t,n){e.exports=n.p+"032d907ff49a63e0757cadd5f36ab216.svg"},function(e,t,n){e.exports=n.p+"b4d35a6a482db1951eec43f2a03f167f.svg"},function(e,t,n){e.exports=n.p+"34c4ff66fe9d9b8092682ace398215e4.svg"},function(e,t,n){e.exports=n.p+"afdca1c380ee2b05d0762be4c4a7fe17.svg"},function(e,t,n){e.exports=n.p+"f1e6881034979b46fb100d6d5ccd230d.svg"},function(e,t,n){e.exports=n.p+"aa44525e2c3e814c0376275728b599be.svg"},function(e,t,n){e.exports=n.p+"4601b0cf78b83ff531ea80756d6cc9c2.svg"},function(e,t,n){e.exports=n.p+"13dd4bf16aa9bd2a1ee9a491df0a1614.svg"},function(e,t,n){e.exports=n.p+"1c04f18c838e60d2f9da6edb50bb8acf.svg"},function(e,t,n){e.exports=n.p+"f6cb905941a4e06659b7fda1f220ad11.svg"},function(e,t,n){e.exports=n.p+"1192443acd62d421cf58068cffb22bf9.svg"},function(e,t,n){e.exports=n.p+"c82938c4327ff1aa7e38e30499b8b8d8.svg"},function(e,t,n){e.exports=n.p+"df7ba0f4020ca70048a0226d1dfa73f6.svg"},function(e,t,n){e.exports=n.p+"51bf7abe73c308b4fd46b01fdb9bb8bb.svg"},function(e,t,n){e.exports=n.p+"cf8c0022f7611df66d71f4feb60de87f.svg"},function(e,t,n){e.exports=n.p+"065cc3ffc227aa126a8366cb0ea05f7e.svg"},function(e,t,n){e.exports=n.p+"7c65839e8a8895f447c06180693013e5.svg"},function(e,t,n){e.exports=n.p+"462d9312ecec015bb2523a13385a9eed.svg"},function(e,t,n){e.exports=n.p+"464b4c2745e1dda6a86028d09bb8bbec.svg"},function(e,t,n){e.exports=n.p+"6421ec0021fe0aaac74c995bca648c2d.svg"},function(e,t,n){e.exports=n.p+"91ec3a4c2e4ac1f41195cf2675641262.svg"},function(e,t,n){e.exports=n.p+"2887099457281b44595981d12aee7b27.svg"},function(e,t,n){e.exports=n.p+"98a0f745aa5c3bfa6aacfb46caf2ec3a.svg"},function(e,t,n){e.exports=n.p+"67101ac17ea3b782a17f5abe8a5f1296.svg"},function(e,t,n){e.exports=n.p+"08c0a077780263f3df97613e58e71744.svg"},function(e,t,n){e.exports=n.p+"75f045808f62791af6eb85db3db9f866.svg"},function(e,t,n){e.exports=n.p+"8e80101ffd2eee9330efa01bd812a5c7.svg"},function(e,t,n){e.exports=n.p+"87376e6d945c6dfd5b4bbf6b1351fae9.svg"},function(e,t,n){e.exports=n.p+"a7674d07f7b056cfdeeb762510fe0c75.svg"},function(e,t,n){e.exports=n.p+"f38845d04000b20255488bf8cd7ef992.svg"},function(e,t,n){e.exports=n.p+"66e3cbf517993ee5261f23687a2bc032.svg"},function(e,t,n){e.exports=n.p+"c6795f855ff264d715b697bd54a6e241.svg"},function(e,t,n){e.exports=n.p+"786ec4e2268cbc5a4a6c6261767127a2.svg"},function(e,t,n){e.exports=n.p+"fcac65b8ddc2d6983660b95104ac5ee8.svg"},function(e,t,n){e.exports=n.p+"cb05d6a6fca6a9b1964d139ec3df1e26.svg"},function(e,t,n){e.exports=n.p+"5d1ed4f41b1e9a9a7f68686e1449bf61.svg"},function(e,t,n){e.exports=n.p+"9fa091f676e4451ee5946fed948cb8fe.svg"},function(e,t,n){e.exports=n.p+"75acff92016b849842a29f93873e2082.svg"},function(e,t,n){e.exports=n.p+"c68a78c2ac8d0486efe6e113a314a67d.svg"},function(e,t,n){e.exports=n.p+"1481f88f5ea4cbbfc5a41457a8aeab12.svg"},function(e,t,n){e.exports=n.p+"8365a82fec73aac36cd5b4e0acd9990d.svg"},function(e,t,n){e.exports=n.p+"0c0ce52bde4b3627956f86e9a7176fcf.svg"},function(e,t,n){e.exports=n.p+"4824d50b7b1d299c694da8a3843ec840.svg"},function(e,t,n){e.exports=n.p+"98fe9cdec2bf8ded782a7bf1e302b664.svg"},function(e,t,n){e.exports=n.p+"b4b0c3ade8e13486d81c05fa91c4ce03.svg"},function(e,t,n){e.exports=n.p+"39795e861142747cedd93bf1ead76c9d.svg"},function(e,t,n){e.exports=n.p+"0f76d5e15506991715cfef61988749f8.svg"},function(e,t,n){e.exports=n.p+"63acb187ec615e6e39e1fdd6e4352751.svg"},function(e,t,n){e.exports=n.p+"9f5efa2378393854163b617cfe4f3b69.svg"},function(e,t,n){e.exports=n.p+"293579110f2137926e045941a942e8d4.svg"},function(e,t,n){e.exports=n.p+"986297ec6e17beaccac69da14de35c68.svg"},function(e,t,n){e.exports=n.p+"2b7131663ce4ca5046296ba985c69737.svg"},function(e,t,n){e.exports=n.p+"2d16214bcc74dd1546a35d3d6f15abec.svg"},function(e,t,n){e.exports=n.p+"d3092bd86511d5b68e4fb3daaefd2642.svg"},function(e,t,n){e.exports=n.p+"bee42a93836b9ac1083126bd7b048f12.svg"},function(e,t,n){e.exports=n.p+"b9d078e1eb3408ff187e6c473bc88530.svg"},function(e,t,n){e.exports=n.p+"44527ec040d4905b10bf22c0c784183e.svg"},function(e,t,n){e.exports=n.p+"fb2f7817a660282622da1be18fe7799e.svg"},function(e,t,n){e.exports=n.p+"b5b74b9da3617bdcfdab8793dde734ad.svg"},function(e,t,n){e.exports=n.p+"88c6d18631a6faeff7ad175f18afa209.svg"},function(e,t,n){e.exports=n.p+"4d1ed1d5abee26793b4c287b9896cd56.svg"},function(e,t,n){e.exports=n.p+"2f9c6cba3a5fc370216faeb3b04927c3.svg"},function(e,t,n){e.exports=n.p+"f1719ecb228ce3c17b203ca4c15115c0.svg"},function(e,t,n){e.exports=n.p+"7153b47b3433c885f93ef07dbb2e544a.svg"},function(e,t,n){e.exports=n.p+"9e057ae833ac2cb0da2512454d050b59.svg"},function(e,t,n){e.exports=n.p+"83fc074c3c6c80080672a6adf5a1fc22.svg"},function(e,t,n){e.exports=n.p+"d85a08e19ad76674c11c2833010c53ad.svg"},function(e,t,n){e.exports=n.p+"3fd01ff7a6032fd44c8b1ee577190d22.svg"},function(e,t,n){e.exports=n.p+"0a6795ad0fb0272199f574367553a2a7.svg"},function(e,t,n){e.exports=n.p+"da92b34fa8f50c1295e125b3e5e1c55c.svg"},function(e,t,n){e.exports=n.p+"496b126281f4a1af2d52e3e055b32fc7.svg"},function(e,t,n){e.exports=n.p+"1fde6d802203c3fe50946542d7ab9e95.svg"},function(e,t,n){e.exports=n.p+"53069313ab2fd0e906179cb8335e3147.svg"},function(e,t,n){e.exports=n.p+"cc6c11d5845f38a77e01660e002f2de3.svg"},function(e,t,n){e.exports=n.p+"aec96b451fef5f357bb8c6edca9168dd.svg"},function(e,t,n){e.exports=n.p+"af1464f289927a54e50e5b6ad684f540.svg"},function(e,t,n){e.exports=n.p+"b9587c2e17542aa2c285fc7178107152.svg"},function(e,t,n){e.exports=n.p+"cb3b40981cf6d9b96f8187cb59ef0eb3.svg"},function(e,t,n){e.exports=n.p+"d6fc608e140374d509b269794fab1787.svg"},function(e,t,n){e.exports=n.p+"ed2a388ba7ed8f310d600514e2dca126.svg"},function(e,t,n){e.exports=n.p+"8b74277e6e2326e7dc7666b630845fca.svg"},function(e,t,n){e.exports=n.p+"5937c7c5bd6f17184f4f07ad8616a845.svg"},function(e,t,n){e.exports=n.p+"630c5f21b6266be0a37488d618958ff4.svg"},function(e,t,n){e.exports=n.p+"3ec7cb70e8fa4a95a71a20100f3888fb.svg"},function(e,t,n){e.exports=n.p+"55f492c4a77febe124ed33ebb4ffb689.svg"},function(e,t,n){e.exports=n.p+"50d81e63bf47eb00902b6893341e3841.svg"},function(e,t,n){e.exports=n.p+"47fc48cdb382562530617816a5814986.svg"},function(e,t,n){e.exports=n.p+"62925251085102a44bda8407577a8ca6.svg"},function(e,t,n){e.exports=n.p+"0c0a04860e99b51daaae45aa0d0cdf0b.svg"},function(e,t,n){e.exports=n.p+"4accb0495afd42353f93cd11805807f0.svg"},function(e,t,n){e.exports=n.p+"085fa77b34454891ada49a5de7fe2fd9.svg"},function(e,t,n){e.exports=n.p+"3497b4b39cfdebb1b3344696d9777dc2.svg"},function(e,t,n){e.exports=n.p+"b47031ecb07b92479f94dccddb4f9f70.svg"},function(e,t,n){e.exports=n.p+"f29469484fc961c1749f7e69c122f00d.svg"},function(e,t,n){e.exports=n.p+"0bcf40c540f302245ae257ccaf5bb8b3.svg"},function(e,t,n){e.exports=n.p+"bdb235f915693d004bf91332db9f98fc.svg"},function(e,t,n){e.exports=n.p+"f20aee6eee82e54f2eccb8b11dc18f82.svg"},function(e,t,n){e.exports=n.p+"dc6bb339ead883563765e7fabb68399b.svg"},function(e,t,n){e.exports=n.p+"a32139e437161e1303e436268c1e5cf7.svg"},function(e,t,n){e.exports=n.p+"5d5f8fa188d5d5449d4556c164ef5ff8.svg"},function(e,t,n){e.exports=n.p+"deccb080c23f9ba053f0ac89fc0fda84.svg"},function(e,t,n){e.exports=n.p+"1e55d9d48ed78094d56a18c595348b91.svg"},function(e,t,n){e.exports=n.p+"65e4651a0ad24dbdf6182aa924ccd21d.svg"},function(e,t,n){e.exports=n.p+"13a0dd7c7af7524a16a5206fae7c1839.svg"},function(e,t,n){e.exports=n.p+"c334bbde9bd478e38bfb505f441ecb28.svg"},function(e,t,n){e.exports=n.p+"256b5b5985a965cad6838644a4bf6a95.svg"},function(e,t,n){e.exports=n.p+"880fbd5a6db8ef8115eaec30af232e2f.svg"},function(e,t,n){e.exports=n.p+"c225ece669f4d3b24f57929723604fed.svg"},function(e,t,n){e.exports=n.p+"02d6ff92f3beec33d130c1f56cbc216e.svg"},function(e,t,n){e.exports=n.p+"efdd1d0bdc0c720a7c1c6408f9d31d72.svg"},function(e,t,n){e.exports=n.p+"1594585f764a527fb04f4b742693fe0f.svg"},function(e,t,n){e.exports=n.p+"42bf81318b85fb0145a4200fded953f4.svg"},function(e,t,n){e.exports=n.p+"6c10f50dddd664df7013277c2adff2b9.svg"},function(e,t,n){e.exports=n.p+"93c6d2a2657ae3007459831594f21543.svg"},function(e,t,n){e.exports=n.p+"314821d074d8a54f4d596d5f1466e799.svg"},function(e,t,n){e.exports=n.p+"296099758a9f1ab0ba40ae2c0d4dfb2e.svg"},function(e,t,n){e.exports=n.p+"5fbeee27372ed0fa9e9ec577004ee9d3.svg"},function(e,t,n){e.exports=n.p+"e0cb51b24eabad405f2e51c01c6d395c.svg"},function(e,t,n){e.exports=n.p+"a6d73ab8b97d05805aa5fa65bbadc077.svg"},function(e,t,n){e.exports=n.p+"90016e00fd4d9381ff6bd2d1d2a24a3b.svg"},function(e,t,n){e.exports=n.p+"1b5fc68368f8abe842df624e12d4eca6.svg"},function(e,t,n){e.exports=n.p+"1dcbf531e4761273a8884807319083f7.svg"},function(e,t,n){e.exports=n.p+"78ac158a0fc7e8088b851c67825b2b18.svg"},function(e,t,n){e.exports=n.p+"5485d3eabca199dd4b5453f21aa134d7.svg"},function(e,t,n){e.exports=n.p+"80e2ef12fe61b9f4c47d8ffc362529c2.svg"},function(e,t,n){e.exports=n.p+"8ce8e01a755be3bc3bd47e9a04c91168.svg"},function(e,t,n){e.exports=n.p+"9b9968da315e005a1141ec0c7a9d731a.svg"},function(e,t,n){e.exports=n.p+"2cc2f7075b0787d2dcf6ccba6a24a6c5.svg"},function(e,t,n){e.exports=n.p+"74a9429af2ded3eb66b64c133f9fcbae.svg"},function(e,t,n){e.exports=n.p+"43782831a71f6746740cca289a75493a.svg"},function(e,t,n){e.exports=n.p+"6d91b3472e855eaf27c28a0c1cf9ff7c.svg"},function(e,t,n){e.exports=n.p+"45a20a12235f31365518c7e0a3558c23.svg"},function(e,t,n){e.exports=n.p+"b67909392b10039486bb9809e7562c95.svg"},function(e,t,n){e.exports=n.p+"ee5ce6157f4c60967a4b8b1b7f8f7af5.svg"},function(e,t,n){e.exports=n.p+"a16b3b8fb41e152e963082288f739a12.svg"},function(e,t,n){e.exports=n.p+"5e0daa215cfde475c1396a2901991d65.svg"},function(e,t,n){e.exports=n.p+"fae946cef8df100ee735e694ab58d19e.svg"},function(e,t,n){e.exports=n.p+"4ab793c36ce135759fcc5c93401de0ac.svg"},function(e,t,n){e.exports=n.p+"9d3601cc732e2df84b0b28cbcd79d697.svg"},function(e,t,n){e.exports=n.p+"14ec3be7800925de9d2d3c14d1e1568c.svg"},function(e,t,n){e.exports=n.p+"ddefd3cc23d303281cfcc65f97abd049.svg"},function(e,t,n){e.exports=n.p+"efb9005487280c7e16c620caf2dd80bd.svg"},function(e,t,n){e.exports=n.p+"79e61cb037b2963237170142531f53aa.svg"},function(e,t,n){e.exports=n.p+"fc00d6ac840e5352bd9cefa8cea215c4.svg"},function(e,t,n){e.exports=n.p+"63121443f4e4325d3aababdc56efdaa1.svg"},function(e,t,n){e.exports=n.p+"7dec34a9deb5ed78911fdee5b06f0df3.svg"},function(e,t,n){e.exports=n.p+"691268037bf71fdc4b9edffe7e842ffa.svg"},function(e,t,n){e.exports=n.p+"bc5d57b3382453157340fab2940220b9.svg"},function(e,t,n){e.exports=n.p+"a323c8cc86633c61e3e1e6210bbeb07a.svg"},function(e,t,n){e.exports=n.p+"6e967a6d93321898fa211fb0249c20e2.svg"},function(e,t,n){e.exports=n.p+"63bfd26c9eda91b38bbad0c2e13007dc.svg"},function(e,t,n){e.exports=n.p+"ebdca3b259ce89506e612b289956d1d0.svg"},function(e,t,n){e.exports=n.p+"e5b30015e2486a1f5bad689892d72c6a.svg"},function(e,t,n){e.exports=n.p+"ee7ab3e4108affca02838adc522ae314.svg"},function(e,t,n){e.exports=n.p+"2ddae246b3dfa9a00e606ff5f75de992.svg"},function(e,t,n){e.exports=n.p+"a173769265ce9220b3993adac139ba7d.svg"},function(e,t,n){e.exports=n.p+"2171b72fef088f12ee1f9b55053947c9.svg"},function(e,t,n){e.exports=n.p+"ca21215c4a52090c5265eb744b8fe925.svg"},function(e,t,n){e.exports=n.p+"6cc722cf4e4d852e90e13476bd07fc87.svg"},function(e,t,n){e.exports=n.p+"6ea878caca1856a6fa65030950201ea3.svg"},function(e,t,n){e.exports=n.p+"357f9d52cc5cc5bd9cc187e979720edb.svg"},function(e,t,n){e.exports=n.p+"958217345350392fbc8ae4a7907e104b.svg"},function(e,t,n){e.exports=n.p+"ab7e41cdf9cbffe289190ffbdef58c99.svg"},function(e,t,n){e.exports=n.p+"ecca42f0683e8efb6b853f601114aff0.svg"},function(e,t,n){e.exports=n.p+"13dea9589106a858139e099e5d96ca06.svg"},function(e,t,n){e.exports=n.p+"a26c19456649ee4e1588063277e186c5.svg"},function(e,t,n){e.exports=n.p+"793a6430136c6b509ced854872429a96.svg"},function(e,t,n){e.exports=n.p+"7d5e72c53720a98fdc558c44de7a4acb.svg"},function(e,t,n){e.exports=n.p+"282952eb109ad53924bfb432e613abf9.svg"},function(e,t,n){e.exports=n.p+"2cf589e4bb28d81e87b748409f7be376.svg"},function(e,t,n){e.exports=n.p+"4f495d40b13d8f2b879e9effcea6d8ef.svg"},function(e,t,n){e.exports=n.p+"9595e4b623b035f16fa9916fc9695c8c.svg"},function(e,t,n){e.exports=n.p+"c0a07e3d35d8a9170dc1ea7c8823372e.svg"},function(e,t,n){e.exports=n.p+"0036def4c134685a6388ff0bc1768a28.svg"},function(e,t,n){e.exports=n.p+"1303cc17fcb2c82ffc4aabf64f716701.svg"},function(e,t,n){e.exports=n.p+"8f3a905f0366b419540a323536fcaddc.svg"},function(e,t,n){e.exports=n.p+"908fc08aa976dd4e41eff1e2a2a1dffd.svg"},function(e,t,n){e.exports=n.p+"15c607fbbb604de29a492035954d75e2.svg"},function(e,t,n){e.exports=n.p+"50bf2e6b33d5c307cedeaa80ea8ccb47.svg"},function(e,t,n){e.exports=n.p+"74ec62c43b54772cba943a223ff8c844.svg"},function(e,t,n){e.exports=n.p+"736f7ef34035aeb6f20b62979387bba7.svg"},function(e,t,n){e.exports=n.p+"870829af98542a889c2c4b7342a0f218.svg"},function(e,t,n){e.exports=n.p+"c2a38508baf922f3dc859da3bfe9efd8.svg"},function(e,t,n){e.exports=n.p+"219ad47d297c7f78c1b46123218d089f.svg"},function(e,t,n){e.exports=n.p+"fbd137df9597e521e9ca2fa75b22076e.svg"},function(e,t,n){e.exports=n.p+"e666e49917ad2363cb480b49b5456f29.svg"},function(e,t,n){e.exports=n.p+"5f7866139700c621834b15d130263bda.svg"},function(e,t,n){e.exports=n.p+"90b1dcaaa9fe7ecfe4b89e4c5b1ad040.svg"},function(e,t,n){e.exports=n.p+"292415f0e08f33ca85005b3bf60dfc71.svg"},function(e,t,n){e.exports=n.p+"cde841c893415c762b064f2f87a6c17e.svg"},function(e,t,n){e.exports=n.p+"f0a512ff7e891d5f2a09ca89b9da49cb.svg"},function(e,t,n){e.exports=n.p+"84c660e518c595682cd59ac02bab5fbe.svg"},function(e,t,n){e.exports=n.p+"6324168e411cb0955d56df21bea13e60.svg"},function(e,t,n){e.exports=n.p+"cb0073b0c5e5c3136700763423dae449.svg"},function(e,t,n){e.exports=n.p+"18e9a9ca55b62188e7c1fe0656127f2d.svg"},function(e,t,n){e.exports=n.p+"a2ccf9097d31344249c3d8846100171c.svg"},function(e,t,n){e.exports=n.p+"6beb6e91edab1077f8211c2f258cb538.svg"},function(e,t,n){e.exports=n.p+"e2130e5b2f56680557d2a5dba9c6035a.svg"},function(e,t,n){e.exports=n.p+"df02f1a0782c56b87ca8ac3badeeceec.svg"},function(e,t,n){e.exports=n.p+"92d9856824994ff6623ece935bd56776.svg"},function(e,t,n){e.exports=n.p+"e8ed5e1e087ff5ac9a654ec828205cc9.svg"},function(e,t,n){e.exports=n.p+"3ccacc1e13905df4d8d3f810ed55bc6b.svg"},function(e,t,n){e.exports=n.p+"f7416e93ce0014070ef2a79ffee8dc0b.svg"},function(e,t,n){e.exports=n.p+"1553e44d2fec6728e8cd58268c48f041.svg"},function(e,t,n){e.exports=n.p+"b65e58ed07db74f4c728c2813f4c1a1a.svg"},function(e,t,n){e.exports=n.p+"793ae3d7e01d6fe718aac40c7081c2df.svg"},function(e,t,n){e.exports=n.p+"4672bbed123f642a41d8bcd9cf59d6fa.svg"},function(e,t,n){e.exports=n.p+"54df1ae47edeb612dade86b2d8a5bcdb.svg"},function(e,t,n){e.exports=n.p+"2c98229699d46c969ef57e075ec8b69f.svg"},function(e,t,n){e.exports=n.p+"391a9b6eafbbd4956f406c836912941e.svg"},function(e,t,n){e.exports=n.p+"cdd8bbec41a5f865d7db22f1d5e12946.svg"},function(e,t,n){e.exports=n.p+"7765a5ee30507c518628a48e7aa7938f.svg"},function(e,t,n){e.exports=n.p+"20710e0a39c8185d2d666ac34948c0ae.svg"},function(e,t,n){e.exports=n.p+"6b0e531a93795065b69255ee93223b4c.svg"},function(e,t,n){e.exports=n.p+"5f03b0939025a0dc7e79e279eb222d66.svg"},function(e,t,n){e.exports=n.p+"03178a504cd74436660f8d1bb0e8ea47.svg"},function(e,t,n){e.exports=n.p+"dbd16e0a92feca0944ed7032a7d4d048.svg"},function(e,t,n){e.exports=n.p+"893e8dc1e57bff8d429e63741c364204.svg"},function(e,t,n){e.exports=n.p+"029a89a899646963900ad26d75dad79a.svg"},function(e,t,n){e.exports=n.p+"47cbdb4b9e3ec091f6908ceebef6c108.svg"},function(e,t,n){e.exports=n.p+"dbfe80572737a4b183ac4f10d2908c15.svg"},function(e,t,n){e.exports=n.p+"1c5bb4c5f3327c8444a9caa487d4c4e4.svg"},function(e,t,n){e.exports=n.p+"26129600e82b9df45aab56ce8e5ae8ca.svg"},function(e,t,n){e.exports=n.p+"2458f2a51a59a58f3f57cbf6f346ed04.svg"},function(e,t,n){e.exports=n.p+"8de0b1d1cbb5c59b7f66449e6a623171.svg"},function(e,t,n){e.exports=n.p+"7ccb21b5a8c070b1e3e99268863e44f7.svg"},function(e,t,n){e.exports=n.p+"6237b9e770886dd64b7b05b2bca11278.svg"},function(e,t,n){e.exports=n.p+"6e5dad11ea0c40923ea9420c7e1f511a.svg"},function(e,t,n){e.exports=n.p+"82e69659b5e2831a3d85662e57e32272.svg"},function(e,t,n){e.exports=n.p+"67bd2e04323bc9312079238c0727db13.svg"},function(e,t,n){e.exports=n.p+"1ad396e30782e304613380d42abd171b.svg"},function(e,t,n){e.exports=n.p+"cb36d1e8ca46a33483fd0f0207f66fd0.svg"},function(e,t,n){e.exports=n.p+"9542b4a3a67f6f9075fdb3f61fb94ed9.svg"},function(e,t,n){e.exports=n.p+"a3ee61d0b9d562788b7e98adaa2da3b0.svg"},function(e,t,n){e.exports=n.p+"d2fdda22522d2877f7636cd901331942.svg"},function(e,t,n){e.exports=n.p+"325b0405c0ca2d31db80462e3bfa7dba.svg"},function(e,t,n){e.exports=n.p+"03b66d7b560c89dbaff2b8709eb4054c.svg"},function(e,t,n){e.exports=n.p+"1560d8478e10e92775645092798e3ce0.svg"},function(e,t,n){e.exports=n.p+"1e6429c9114c50025f5596b2324b5dfa.svg"},function(e,t,n){e.exports=n.p+"105311b6dd7c00d36b514f5e41d0f46c.svg"},function(e,t,n){e.exports=n.p+"39536bbdfc927864a312cf0c4d8c51dd.svg"},function(e,t,n){e.exports=n.p+"90198033faff0645e4eb2d094319944c.svg"},function(e,t,n){e.exports=n.p+"8e640e5327a2cc4a9c91e3a70f148909.svg"},function(e,t,n){e.exports=n.p+"894974af2a716e29eaa10e5a95da6156.svg"},function(e,t,n){e.exports=n.p+"c8575296d2f041b9ae1e2b08e8b21187.svg"},function(e,t,n){e.exports=n.p+"502f7dc7cead9c69efce5fbe5520b341.svg"},function(e,t,n){e.exports=n.p+"f9175aa78d76a906d9eb513d07dfc3b1.svg"},function(e,t,n){e.exports=n.p+"444397e4d9c29bf68a044eb112627990.svg"},function(e,t,n){e.exports=n.p+"1462b77b7121f62234fa96687000cf0e.svg"},function(e,t,n){e.exports=n.p+"32b4479fda72b0bc9ba84dd9a18c86af.svg"},function(e,t,n){e.exports=n.p+"59af5a1ce4b7a389384bc7c1290fc888.svg"},function(e,t,n){e.exports=n.p+"4aa321f8c08cadb26e4d8c4bfe45a1ed.svg"},function(e,t,n){e.exports=n.p+"a8a650e4209896ccf071449908297576.svg"},function(e,t,n){e.exports=n.p+"4327bf60ae5ca82ecf029ec996f2d3db.svg"},function(e,t,n){e.exports=n.p+"5e0c4011b436fce242590bbbd6864c5e.svg"},function(e,t,n){e.exports=n.p+"6f13f12d3040bac99e3cf16707a03a60.svg"},function(e,t,n){e.exports=n.p+"9e4f19705c2623a469473182b89212a7.svg"},function(e,t,n){e.exports=n.p+"cb922c040149058b8c06f556e17736e6.svg"},function(e,t,n){e.exports=n.p+"eb6796a182ef5b5bb2b0d53526dcf993.svg"},function(e,t,n){e.exports=n.p+"8643fdde81d97361abf9f07a83ba9715.svg"},function(e,t,n){e.exports=n.p+"cb7f86967e96e92077865c4c4f0ef806.svg"},function(e,t,n){e.exports=n.p+"faeb292e7886387dcf692a7185b6679b.svg"},function(e,t,n){e.exports=n.p+"a191c2c1f994df334267a8cc81e8a1ab.svg"},function(e,t,n){e.exports=n.p+"3379576d827e8d84ba91535ea199d79f.svg"},function(e,t,n){e.exports=n.p+"81db924b8c31f2b43beff0ebc559140d.svg"},function(e,t,n){e.exports=n.p+"7385d261e70b0cc9566ca77e048c821d.svg"},function(e,t,n){e.exports=n.p+"59056eaaeb655a7c5beb85c0095173dd.svg"},function(e,t,n){e.exports=n.p+"704977f099302e133536f0ef3c756db6.svg"},function(e,t,n){e.exports=n.p+"c4b28fbc6bf564696acf93f73058ee62.svg"},function(e,t,n){e.exports=n.p+"05c5bf56bba8bbfa3e8e6e1f9aa34944.svg"},function(e,t,n){e.exports=n.p+"854362b64e8f3cdbbde633f73ed3a5b5.svg"},function(e,t,n){e.exports=n.p+"7b1b3b6a979722eabab479abf0e801c6.svg"},function(e,t,n){e.exports=n.p+"7a62150043fb80e9c7bc6b32ad80ab0e.svg"},function(e,t,n){e.exports=n.p+"5de427e82aed3933a93720a857fa6b88.svg"},function(e,t,n){e.exports=n.p+"deb56f91411cb6d487c4be492b77db4c.svg"},function(e,t,n){e.exports=n.p+"af83ffc7860973be9b3a48124e9d3c25.svg"},function(e,t,n){e.exports=n.p+"294decfba74cc81a67bf80ca383bd4c8.svg"},function(e,t,n){e.exports=n.p+"5083b9b79a0eb93681004cb832d6c3b4.svg"},function(e,t,n){e.exports=n.p+"a7d6ef4ec8f152fbed2694d3116105e2.svg"},function(e,t,n){e.exports=n.p+"9a77e13be0f62ffa5f508f3cf50912c2.svg"},function(e,t,n){e.exports=n.p+"822f669dcf1896f482b5191ad465d7bf.svg"},function(e,t,n){e.exports=n.p+"a80d371c64aa68975c04d7eb628d7e11.svg"},function(e,t,n){e.exports=n.p+"7781807ba07d7c3cedfff262af647697.svg"},function(e,t,n){e.exports=n.p+"2debd7addbbde54bcb76293957ae88d8.svg"},function(e,t,n){e.exports=n.p+"a8edfb553852f212bbf7a8d9f9c30fa7.svg"},function(e,t,n){e.exports=n.p+"17669dc459ec7b632142ba2368d8d33d.svg"},function(e,t,n){e.exports=n.p+"39651be2c95bfb01b4c6b64adf9187f9.svg"},function(e,t,n){e.exports=n.p+"b7c7f1b5c741b71681ebc465e4e32a4f.svg"},function(e,t,n){e.exports=n.p+"475ece5e169b7434c6e845d7e86c278c.svg"},function(e,t,n){e.exports=n.p+"953b262e6c412066e6da03d6cd73e745.svg"},function(e,t,n){e.exports=n.p+"25330f91a421dc15886f47aae528562f.svg"},function(e,t,n){e.exports=n.p+"48657aa9a8b7ef99a232bf8057a5648a.svg"},function(e,t,n){e.exports=n.p+"fa92efdbe330a33e06073e688ee29502.svg"},function(e,t,n){e.exports=n.p+"10b9955b4f5bdeb8be773380c76d9303.svg"},function(e,t,n){e.exports=n.p+"ee0e39de06febd5ca94bab0a4eb16ad8.svg"},function(e,t,n){e.exports=n.p+"356570767f07ea5101e7dff30343fa6a.svg"},function(e,t,n){e.exports=n.p+"a7b649c8c2cf38e3264f915d1c961213.svg"},function(e,t,n){e.exports=n.p+"e863abeafe9067c9b617f1b9d8bc5a51.svg"},function(e,t,n){e.exports=n.p+"dd73633ea103e7274a17196828179362.svg"},function(e,t,n){e.exports=n.p+"b0d0e2799eb3c66821396a55c1aeaed4.svg"},function(e,t,n){e.exports=n.p+"001ee681fa13f39b4475ebf139a7ac64.svg"},function(e,t,n){e.exports=n.p+"6da8f926e0b844ea70233c4ea3260b21.svg"},function(e,t,n){e.exports=n.p+"d7ef13a16a7e1c7276214d5181c1f2e5.svg"},function(e,t,n){e.exports=n.p+"78dcd1cb4f8754439e93ebba4730170a.svg"},function(e,t,n){e.exports=n.p+"499ad1ac9249b7575ec6c0435380d940.svg"},function(e,t,n){e.exports=n.p+"a75b6b2ff509da81b35801073e057ea8.svg"},function(e,t,n){e.exports=n.p+"4c563924403f14f48eaa81ddb4d541f7.svg"},function(e,t,n){e.exports=n.p+"770fed3a8516e0819a2bb949bd300b8f.svg"},function(e,t,n){e.exports=n.p+"6083a1adedd7c66bfd5390b89e73ccf3.svg"},function(e,t,n){e.exports=n.p+"fdbde87b901e59744ccf58d931820e2b.svg"},function(e,t,n){e.exports=n.p+"249da2bffcec354ded3d7b68ca0c75a5.svg"},function(e,t,n){e.exports=n.p+"66fd6cb83e2a4f276e28bf7125f5700c.svg"},function(e,t,n){e.exports=n.p+"ee85cab72bda4cc497f77f710eb8fa6a.svg"},function(e,t,n){e.exports=n.p+"a9c58cb30c6283e8ce3fd4d9fb05b171.svg"},function(e,t,n){e.exports=n.p+"3992481612c30fea0d5752bd4d33d164.svg"},function(e,t,n){e.exports=n.p+"8b9d38aa44fe033b956b454465a10548.svg"},function(e,t,n){e.exports=n.p+"96ba72cd40bb0c9581f5a426d8fdc663.svg"},function(e,t,n){e.exports=n.p+"282bd8521b6b2d455c767873c676aa9f.svg"},function(e,t,n){e.exports=n.p+"4a561f2ae55e60f31e4341d02540f70a.svg"},function(e,t,n){e.exports=n.p+"c05ee60e4b02cbf3250b7194aeb77568.svg"},function(e,t,n){e.exports=n.p+"eb7da966209699f5ef99d30b27a5b5b9.svg"},function(e,t,n){e.exports=n.p+"7e9bc42d9d71b2e0680b36281655a46d.svg"},function(e,t,n){e.exports=n.p+"e25208b297bf8f9e22044a09811083fd.svg"},function(e,t,n){e.exports=n.p+"6b7066d56f7bb0306bed5d1e4368362a.svg"},function(e,t,n){e.exports=n.p+"400b65985fb9c1d6c27eb720aa54c282.svg"},function(e,t,n){e.exports=n.p+"5753700d0860e08882b55c541b9a0e12.svg"},function(e,t,n){e.exports=n.p+"7d5a8f324d82231cd79f1de6da182af2.svg"},function(e,t,n){e.exports=n.p+"6957f0d23f81dd8aa333ec86391ffae3.svg"},function(e,t,n){e.exports=n.p+"b5141101a34dc7f2bd83968f6525085b.svg"},function(e,t,n){e.exports=n.p+"e5206e051d31c3981958c0f6a09adc76.svg"},function(e,t,n){e.exports=n.p+"4a946474d29e2faa7314d68e9bb3fa1c.svg"},function(e,t,n){e.exports=n.p+"4dd79c6e2ec753cc8761d6088d030b0a.svg"},function(e,t,n){e.exports=n.p+"b4019d667518ddc15a4f3c9e0b3274aa.svg"},function(e,t,n){e.exports=n.p+"162ea95c835848f50fe7508717ad0f44.svg"},function(e,t,n){e.exports=n.p+"da9851cecfe6985008a06e3fa1c1aea6.svg"},function(e,t,n){e.exports=n.p+"580cc653ebad003fe6a2242165d7df0e.svg"},function(e,t,n){e.exports=n.p+"2c75415bf90d5b8146201abe5154651f.svg"},function(e,t,n){e.exports=n.p+"fa968efb651ef4204c0b89c973d5666b.svg"},function(e,t,n){e.exports=n.p+"af3100b9207f3462e55fe5148da001f8.svg"},function(e,t,n){e.exports=n.p+"e22c4c70963f45d3a300b5614ab939ad.svg"},function(e,t,n){e.exports=n.p+"b7e5e2dc520418fc77f99c083d89e879.svg"},function(e,t,n){e.exports=n.p+"6668241333c5805aaa2538ddeaf59d47.svg"},function(e,t,n){e.exports=n.p+"42cc56c9d9adb19541c316c3d723e970.svg"},function(e,t,n){e.exports=n.p+"5cb9af3510d009af4dbf47b29612f12c.svg"},function(e,t,n){e.exports=n.p+"8d6a47adc6bc6697095e3b584c56fef6.svg"},function(e,t,n){e.exports=n.p+"4549c316efc751175db7cef3b56bca2f.svg"},function(e,t,n){e.exports=n.p+"93cc1882d9b2744442631151d88dd053.svg"},function(e,t,n){e.exports=n.p+"78bcb22888a9bb794b76af73ec7a14b2.svg"},function(e,t,n){e.exports=n.p+"80e8ff2c814ac87d52a2460fa1f35e66.svg"},function(e,t,n){e.exports=n.p+"2bf3289b57c30a2d80d8bb814190f471.svg"},function(e,t,n){e.exports=n.p+"40d7a6d9708f54dab9ac2c30e9d4c6b3.svg"},function(e,t,n){e.exports=n.p+"f30e4c1df4e95be305ad216db8852e39.svg"},function(e,t,n){e.exports=n.p+"36c308d350c00d853499019526b3d9d1.svg"},function(e,t,n){e.exports=n.p+"acaa918820bf4923209a614045fb94b6.svg"},function(e,t,n){e.exports=n.p+"c4c1f3c65502ce730de793606976d918.svg"},function(e,t,n){e.exports=n.p+"37ac0988a41e2582211f6fdb58017648.svg"},function(e,t,n){e.exports=n.p+"760d438dd8818306433c66390c1ada6e.svg"},function(e,t,n){e.exports=n.p+"8e65f23a8bd5d220ee44191dc0c8efe9.svg"},function(e,t,n){e.exports=n.p+"e05a5488326423c95c23fa04f0989028.svg"},function(e,t,n){e.exports=n.p+"d3a5175d5967b49303aaa007c2323503.svg"},function(e,t,n){e.exports=n.p+"95993a38ab1f852a3e2e0acbefb8caf4.svg"},function(e,t,n){e.exports=n.p+"047094777be0cf85fc16c2c86e4c688f.svg"},function(e,t,n){e.exports=n.p+"b7fbe619e9e01d7dacdf3a80ea2283c9.svg"},function(e,t,n){e.exports=n.p+"c60d98a1b568138df0f4e3315241c67c.svg"},function(e,t,n){e.exports=n.p+"0f00b719d0f51d29bfc1bb70a86ebbca.svg"},function(e,t,n){e.exports=n.p+"06166817c43bf33237f4db6280182c54.svg"},function(e,t,n){e.exports=n.p+"db1c2f64c493bb2282b2b48aaf517fd5.svg"},function(e,t,n){e.exports=n.p+"716165f1effafd6289ee7f74d5f8407b.svg"},function(e,t,n){e.exports=n.p+"2db20d18a3880dd64da1d8e9c7cfa3bb.svg"},function(e,t,n){e.exports=n.p+"fe44c728ce714a7ef417c0d49b15ad02.svg"},function(e,t,n){e.exports=n.p+"a6304ffbc3d5568f144daa08a9081414.svg"},function(e,t,n){e.exports=n.p+"c8d00e4308cecc7841479e759002feca.svg"},function(e,t,n){e.exports=n.p+"4a8440d0f005eb46ed688d214a7f8792.svg"},function(e,t,n){e.exports=n.p+"31c6feca10ba91c88283d90f48b9e596.svg"},function(e,t,n){e.exports=n.p+"0c244dd4926eac645058f5e5154f6d87.svg"},function(e,t,n){e.exports=n.p+"a20a876eb57197c2b3dabf50ea0d2557.svg"},function(e,t,n){e.exports=n.p+"4b083ab47a352c20827b7e2457c4ea20.svg"},function(e,t,n){e.exports=n.p+"cb85df61e21dc34e23c6667133695956.svg"},function(e,t,n){e.exports=n.p+"31db695924215fc7e288ca0388d16c1e.svg"},function(e,t,n){e.exports=n.p+"f485ba770550749690b2d3419c59efbf.svg"},function(e,t,n){e.exports=n.p+"f1a5c411d8332356f7d013863b3bb77b.svg"},function(e,t,n){e.exports=n.p+"d149aa3152b1d0d06cb4581a1da24c07.svg"},function(e,t,n){e.exports=n.p+"5b082b13bb34c501ff8be602eb47e760.svg"},function(e,t,n){e.exports=n.p+"8314ff2c4ec7f0f1493a60aa9c6ca0d6.svg"},function(e,t,n){e.exports=n.p+"81b415149fbcfe7dfc9b78859b033808.svg"},function(e,t,n){e.exports=n.p+"f7310bbaf7e63acb1de3495752a03154.svg"},function(e,t,n){e.exports=n.p+"c03d7dac24a5d5d2a9255f0e5acffd14.svg"},function(e,t,n){e.exports=n.p+"48f16c7d6b5c4731e50c4a2f4abdd32d.svg"},function(e,t,n){e.exports=n.p+"8ad29bc57b755eb0e679a3f8fb96439b.svg"},function(e,t,n){e.exports=n.p+"6c5d95b4e54283eee288c7b6adea1380.svg"},function(e,t,n){e.exports=n.p+"e650bde0c76bde895b715d37ca084887.svg"},function(e,t,n){e.exports=n.p+"c3ff32aafb1f1a0a758bcc6109e0e5a4.svg"},function(e,t,n){e.exports=n.p+"13391d4dbabd1baf111829281c4bd742.svg"},function(e,t,n){e.exports=n.p+"2ba3d61cfb67ad247aa1a4c31820cc46.svg"},function(e,t,n){e.exports=n.p+"687bcea1a44d07c81ff7c8c53d705041.svg"},function(e,t,n){e.exports=n.p+"9390d01b73a35988eeadd26e987bc8eb.svg"},function(e,t,n){e.exports=n.p+"73fa3a01d6f07e9a3f7ed3c75ce3b9e9.svg"},function(e,t,n){e.exports=n.p+"f57d9d8cba0c2c3efe420f67d5c3cc8d.svg"},function(e,t,n){e.exports=n.p+"a24da1d246e0908a99c67dc48768ba86.svg"},function(e,t,n){e.exports=n.p+"79ba4dfc4afabf837ba4894cd8c1d37d.svg"},function(e,t,n){e.exports=n.p+"1eb9b79722b18e5e3be552f37122ed84.svg"},function(e,t,n){e.exports=n.p+"287b7cc1bf7bd576b2c4a6188b54684a.svg"},function(e,t,n){e.exports=n.p+"0ec768b28ed3582ec436cd4652bf561c.svg"},function(e,t,n){e.exports=n.p+"c88b21573403cedac7f18d55af57e0ae.svg"},function(e,t,n){e.exports=n.p+"af5f05769e4755f7f5265269a54757e3.svg"},function(e,t,n){e.exports=n.p+"23ca3e0d5bab9a5ebe68f9eba6671431.svg"},function(e,t,n){e.exports=n.p+"25dc13edf0aeaea4911011ba7f3eb2ec.svg"},function(e,t,n){e.exports=n.p+"c561e8bf1732fa5edf431590591b4b8a.svg"},function(e,t,n){e.exports=n.p+"0a7e55e4b5db670525407b7fd7e7f6aa.svg"},function(e,t,n){e.exports=n.p+"bcdee8d6f823e7242546ececd3099881.svg"},function(e,t,n){e.exports=n.p+"5d37d071f87b53a4260f815aa924689a.svg"},function(e,t,n){e.exports=n.p+"aca632c602f12a99f5a1a8d588f858b7.svg"},function(e,t,n){e.exports=n.p+"74a3fdcd8ec14a0383f84bbbfa34190a.svg"},function(e,t,n){e.exports=n.p+"f5b5c6a759f2147353dfa4f6c356e15f.svg"},function(e,t,n){e.exports=n.p+"281fb7cb02d1651612f1d6bfb6b9757a.svg"},function(e,t,n){e.exports=n.p+"6faa734c6c31ce344e71008142ce97ba.svg"},function(e,t,n){e.exports=n.p+"1e6c3c89cbed8f853cc9b5eb0a86215d.svg"},function(e,t,n){e.exports=n.p+"0c78d39195e86dd3a18ec422a7c5de2a.svg"},function(e,t,n){e.exports=n.p+"f789d89354a8f5248593108c8df0df82.svg"},function(e,t,n){e.exports=n.p+"9be6b87ad91eeef32708affd8cd9d7ed.svg"},function(e,t,n){e.exports=n.p+"a64d2a49a27c3c431136fbf0b308c5c3.svg"},function(e,t,n){e.exports=n.p+"23e1c8b52911dd854313f02ce2680d23.svg"},function(e,t,n){e.exports=n.p+"b783eba12b2d117cd97c0cf41da787fe.svg"},function(e,t,n){e.exports=n.p+"40c554ac80c3afed17fa83d7ac701faf.svg"},function(e,t,n){e.exports=n.p+"da9fb6e7a6e49b405a256bd942b69ff7.svg"},function(e,t,n){e.exports=n.p+"9405d68a4d72305380b89b3d615ade08.svg"},function(e,t,n){e.exports=n.p+"4e5c39b2653bdcbb7021443b051094b4.svg"},function(e,t,n){e.exports=n.p+"6d2c5244c2c60def7772acf366a1f0f8.svg"},function(e,t,n){e.exports=n.p+"29105405916cc959c1e39a7d24f54921.svg"},function(e,t,n){e.exports=n.p+"544e21f44f747aa00bff6f0b42dd0671.svg"},function(e,t,n){e.exports=n.p+"8b8b3c75cc1cc90e05de45cbfb4cbf7f.svg"},function(e,t,n){e.exports=n.p+"1edf244c3891dcbe0dfdfedd441832d7.svg"},function(e,t,n){e.exports=n.p+"27f75de4cec0943119819371e5e589e2.svg"},function(e,t,n){e.exports=n.p+"58a73cf10928c8484c829bc3e075a305.svg"},function(e,t,n){e.exports=n.p+"5ddb5da3e15c2aa0e1daa67588f96895.svg"},function(e,t,n){e.exports=n.p+"b440f45c00c5fb69a04d500e29db11b3.svg"},function(e,t,n){e.exports=n.p+"0ad7247adcc5b1cae4285780787843ed.svg"},function(e,t,n){e.exports=n.p+"52aab809f3799796ab308b384ae831fd.svg"},function(e,t,n){e.exports=n.p+"be79522916395976316afb14365e3cc5.svg"},function(e,t,n){e.exports=n.p+"3e351a53ec2fd7a5e77daeb7f7619c84.svg"},function(e,t,n){e.exports=n.p+"1d34207841604ead8f228efc6de5694b.svg"},function(e,t,n){e.exports=n.p+"c8cae5e2d1f6c877a1a8ecbc6cf186ed.svg"},function(e,t,n){e.exports=n.p+"3c0db26cea27baa4ed43381768002c13.svg"},function(e,t,n){e.exports=n.p+"b2779ac68c1a10fe0ae533943fbea263.svg"},function(e,t,n){e.exports=n.p+"ac16a3298f6aa3d9b730708c2968fa99.svg"},function(e,t,n){e.exports=n.p+"02063ac87d66ee807bca80994752b13c.svg"},function(e,t,n){e.exports=n.p+"ea1c7ee2460a4f6a9b898c3843950349.svg"},function(e,t,n){e.exports=n.p+"618ab972b401228b4d7334e2d00874e7.svg"},function(e,t,n){e.exports=n.p+"fecb77322d79365c0c4d94961794fa7f.svg"},function(e,t,n){e.exports=n.p+"cb4166709b0e470024bb7888024177ff.svg"},function(e,t,n){e.exports=n.p+"efa3a0f4b6ed4c013d987411afb5ca26.svg"},function(e,t,n){e.exports=n.p+"5f0b561cd83f1a1a98f3d9b89aacd511.svg"},function(e,t,n){e.exports=n.p+"04441cae81215450ae396fcd41b5ed46.svg"},function(e,t,n){e.exports=n.p+"15b0f8e9ab83200c095149863a8b4cdf.svg"},function(e,t,n){e.exports=n.p+"41e4aaae2899d212613e2a32a7df000f.svg"},function(e,t,n){e.exports=n.p+"ec72051e4ff2b9f7facaeeb8c6ff5e21.svg"},function(e,t,n){e.exports=n.p+"c30f9c21b7338892e5d778d48a5a0134.svg"},function(e,t,n){e.exports=n.p+"fa78e04dbe3582c0190e248f5a916028.svg"},function(e,t,n){e.exports=n.p+"3c51068c920b9197c5f2e50bf7909464.svg"},function(e,t,n){e.exports=n.p+"efd4ceb1752fb6dfe72a86356a72cdae.svg"},function(e,t,n){e.exports=n.p+"acbc7f64fabcb45f7f82b212f525e8b0.svg"},function(e,t,n){e.exports=n.p+"0f3b414a9fc1ed7e1915b8819163e404.svg"},function(e,t,n){e.exports=n.p+"27872fe06a8ec01e102c5eb254a373ee.svg"},function(e,t,n){e.exports=n.p+"576142ba81a59e5fad77d2529316c56e.svg"},function(e,t,n){e.exports=n.p+"d271649403bc0323db07981f2508f2f7.svg"},function(e,t,n){e.exports=n.p+"9df18aea301352a280bd02cc3b89236e.svg"},function(e,t,n){e.exports=n.p+"99acbe619c3a6ad99830a3836b9f8a31.svg"},function(e,t,n){e.exports=n.p+"e4266f85e2124a9e50b5ce3539965bc2.svg"},function(e,t,n){e.exports=n.p+"3e62b3c5ce965e1e3a46e3e0623748ba.svg"},function(e,t,n){e.exports=n.p+"6ed7914877fa185b441eabacbbc6f380.svg"},function(e,t,n){e.exports=n.p+"6907b5f26485bee4a536e66dedb6e6e3.svg"},function(e,t,n){e.exports=n.p+"89ada0142f618da282e828d07bcccfad.svg"},function(e,t,n){e.exports=n.p+"f239257616c0ce72100b90fecc040744.svg"},function(e,t,n){e.exports=n.p+"a9238b7c298f0719a48d9d1ba52c1d25.svg"},function(e,t,n){e.exports=n.p+"d21f8df460c7ae40a61e7fe5e0426512.svg"},function(e,t,n){e.exports=n.p+"debb276cf038fbdf4a17cc5ca814cdbb.svg"},function(e,t,n){e.exports=n.p+"7bfcd2fd2d6cf2ce1d445b4be73b79a3.svg"},function(e,t,n){e.exports=n.p+"d2ac957826b698f2a8efb153a8089b31.svg"},function(e,t,n){e.exports=n.p+"f66dc33d90f39ff73bbaff64beb54be9.svg"},function(e,t,n){e.exports=n.p+"e5c425a31f6de39f5028c7e8f3255bf4.svg"},function(e,t,n){e.exports=n.p+"d6b7df4fe1250ec05349f57d8a36e72b.svg"},function(e,t,n){e.exports=n.p+"8b308f6501b07bf49003ee79e90d3080.svg"},function(e,t,n){e.exports=n.p+"6db671fe52184eef889799f2a456045d.svg"},function(e,t,n){e.exports=n.p+"aaaa38f72f28f35fdc537d36130c2d81.svg"},function(e,t,n){e.exports=n.p+"35c164880897dd708ed51d2941301c10.svg"},function(e,t,n){e.exports=n.p+"6f76cbcfbebab34e011f6366967e74c0.svg"},function(e,t,n){e.exports=n.p+"3a73c0a66923019fddf2456ed4bca515.svg"},function(e,t,n){e.exports=n.p+"8a643a1f62e2818331396c0cdd021f06.svg"},function(e,t,n){e.exports=n.p+"42f417a237bb3827006c175f4becce8b.svg"},function(e,t,n){e.exports=n.p+"ab8ce74e33f64ac1a578849a6f2e9885.svg"},function(e,t,n){e.exports=n.p+"e3c324bfc5e4da193eb4791fb118a074.svg"},function(e,t,n){e.exports=n.p+"9edb44f79375d0f8532f4aaab78a4ef2.svg"},function(e,t,n){e.exports=n.p+"dff246e02fa4e39502d1b6736b4096f8.svg"},function(e,t,n){e.exports=n.p+"0eeb7ea386e175e12c13a89c2e551ce8.svg"},function(e,t,n){e.exports=n.p+"e9df0c69884582c8c47808250ec4cac2.svg"},function(e,t,n){e.exports=n.p+"22169f12a5fdb65d4767122fca047722.svg"},function(e,t,n){e.exports=n.p+"af11740467b1006950640f741a491c7e.svg"},function(e,t,n){e.exports=n.p+"2208e758eb9340d80189c75ad21563b0.svg"},function(e,t,n){e.exports=n.p+"2236cc2cec63a9eaf7763b1c196012cd.svg"},function(e,t,n){e.exports=n.p+"ef68804f725bd3d3d0b69a6e5ab93a38.svg"},function(e,t,n){e.exports=n.p+"427196f5352393a0d396880926d9fdd2.svg"},function(e,t,n){e.exports=n.p+"84a4b0f9fe39b3a7a9b11bbaf532d8cf.svg"},function(e,t,n){e.exports=n.p+"6c2b86fc28d0cef0d6e0581a30e3f496.svg"},function(e,t,n){e.exports=n.p+"ef6ed19889aacfd33c5203de1f819e23.svg"},function(e,t,n){e.exports=n.p+"74340a9085c26aa7b62a0e9de3bd1396.svg"},function(e,t,n){e.exports=n.p+"e8e3f547ed020eba2154100b354c2e8b.svg"},function(e,t,n){e.exports=n.p+"429b3b0971ada8f52a9dbc93105eaaf9.svg"},function(e,t,n){e.exports=n.p+"ed05cd29c2fc8dd39ca34c040d11647d.svg"},function(e,t,n){e.exports=n.p+"99b38cd273a08d9e992b74073ff69d93.svg"},function(e,t,n){e.exports=n.p+"9eb0ddad15773a21f676f2a2fd0a3c63.svg"},function(e,t,n){e.exports=n.p+"0827d63a9ca5bf7b360d03f146c814b3.svg"},function(e,t,n){e.exports=n.p+"e73cf632a96329576540cc68f9ef25b9.svg"},function(e,t,n){e.exports=n.p+"9355b588d9b275fbcbcb58c8c13fb7f7.svg"},function(e,t,n){e.exports=n.p+"3ef538c9e8f36542de50ac17fa5fe8d7.svg"},function(e,t,n){e.exports=n.p+"08094f34475aa9be9fdceaed29fd8053.svg"},function(e,t,n){e.exports=n.p+"4c12215c9313a8514ab3e431751cb482.svg"},function(e,t,n){e.exports=n.p+"4436816a6d68ae53a7e3455dbe0e58d9.svg"},function(e,t,n){e.exports=n.p+"2e55f66b1a84d562576c075d5d2378f5.svg"},function(e,t,n){e.exports=n.p+"f8eaeafef7b9fd6a27652881a54db757.svg"},function(e,t,n){e.exports=n.p+"a355bbcce726fbba96d6a28741649669.svg"},function(e,t,n){e.exports=n.p+"d32459b82148d5cbf1e03b003230d7b6.svg"},function(e,t,n){e.exports=n.p+"fed4ef164f83d848f13ae6cfcab556ef.svg"},function(e,t,n){e.exports=n.p+"6d0dbe4d65bc75752eedf3ebbbce4c86.svg"},function(e,t,n){e.exports=n.p+"ece6cfddda169ad39b735f11b93bc3ca.svg"},function(e,t,n){e.exports=n.p+"bfa406c50c94005b0364c2a264860b2c.svg"},function(e,t,n){e.exports=n.p+"1845f628183af48ee75dc421100f500b.svg"},function(e,t,n){e.exports=n.p+"bbc59c553442f16743f7d9a96137e111.svg"},function(e,t,n){e.exports=n.p+"a57edd62a2d5684509783e2a6f43d7ba.svg"},function(e,t,n){e.exports=n.p+"b1cd81a028bbd9b6fb78e4c78ca5f075.svg"},function(e,t,n){e.exports=n.p+"c56ae4c8c41e0c13b9f2f5dcf3827cb0.svg"},function(e,t,n){e.exports=n.p+"312797132c9c8ac9edd50a41f24fe278.svg"},function(e,t,n){e.exports=n.p+"a0d0e4d477abe32bb1637bc1d756d136.svg"},function(e,t,n){e.exports=n.p+"2e08933c9384cde89547e053a7655846.svg"},function(e,t,n){e.exports=n.p+"9f8808f3b0e9f04ab829d815ac6fd473.svg"},function(e,t,n){e.exports=n.p+"c54fc3caa4686b1c8b5e435efb4e248d.svg"},function(e,t,n){e.exports=n.p+"0009618e499a0416857ba72269849fc3.svg"},function(e,t,n){e.exports=n.p+"a45f7b5b54ff1c098e9b02593e6adc10.svg"},function(e,t,n){e.exports=n.p+"469eb344c3bb4597e979c212a4a5603d.svg"},function(e,t,n){e.exports=n.p+"21d8977920e9aa27089f971704695fc0.svg"},function(e,t,n){e.exports=n.p+"752fdf60e9b39c1021d345b7a89c5177.svg"},function(e,t,n){e.exports=n.p+"9c1de015477307258713626405331986.svg"},function(e,t,n){e.exports=n.p+"bd8a8189440491ad5eca9b920a7295c5.svg"},function(e,t,n){e.exports=n.p+"c7c25b7c8f5ba0422921e078d9338ea2.svg"},function(e,t,n){e.exports=n.p+"ba30af14ec3eff7e16b7ce0bfdacd84c.svg"},function(e,t,n){e.exports=n.p+"acd662e82616cd7f40435ecba3ae1bda.svg"},function(e,t,n){e.exports=n.p+"a41da6a6a4ad9c6b64d98c3e84c9617c.svg"},function(e,t,n){e.exports=n.p+"088f8554a4524c59500868ccd1d4f37b.svg"},function(e,t,n){e.exports=n.p+"90e42e5162bcfbc3961a138d85731cf1.svg"},function(e,t,n){e.exports=n.p+"3a040154c7667e309a163c33d0089773.svg"},function(e,t,n){e.exports=n.p+"2be8aedb51ad2f4f3d76d6d2e04b5470.svg"},function(e,t,n){e.exports=n.p+"e37a09cf46ab10550fccd90e32e761b9.svg"},function(e,t,n){e.exports=n.p+"e1ba0026a5cc602924834d31b6239cfd.svg"},function(e,t,n){e.exports=n.p+"c98258da30e0453fe5f6797e77c5ad45.svg"},function(e,t,n){e.exports=n.p+"1df3e5f974d353c417ed701aee476a11.svg"},function(e,t,n){e.exports=n.p+"d908c8ec832aeaa7b43ca11fa13d4483.svg"},function(e,t,n){e.exports=n.p+"976862e9872e868bf7bc362c3a954d58.svg"},function(e,t,n){e.exports=n.p+"37a7790b54dcc2e3a000c248582792c6.svg"},function(e,t,n){e.exports=n.p+"622d84936c03564f3bd1a8efe94649f3.svg"},function(e,t,n){e.exports=n.p+"3c05e392fc4011f7ca74dd64cfd25cb6.svg"},function(e,t,n){e.exports=n.p+"a55a2bd2ad31ac07648b0b149902abf7.svg"},function(e,t,n){e.exports=n.p+"dfd2bee0bf3301ac8e5ade903a24b8c9.svg"},function(e,t,n){e.exports=n.p+"dbba7a4e9cc79334b255d1c322f66b2b.svg"},function(e,t,n){e.exports=n.p+"81b1bb1f94c59be53b72a4b24cfc5579.svg"},function(e,t,n){e.exports=n.p+"e04323da7a26eef6876f30be12197ec7.svg"},function(e,t,n){e.exports=n.p+"12822020bf870690a34f3972f604613d.svg"},function(e,t,n){e.exports=n.p+"6eae6e4173ab349cca3e0d387122cfc8.svg"},function(e,t,n){e.exports=n.p+"1025d4b9d4660b5e4e243bf0faa5620c.svg"},function(e,t,n){e.exports=n.p+"26520efea2f61082869db732d0bbda54.svg"},function(e,t,n){e.exports=n.p+"fb3693a994480b97c1d7bed8a8bbdede.svg"},function(e,t,n){e.exports=n.p+"a2aa4f15998877774e033cdf3b2c6b52.svg"},function(e,t,n){e.exports=n.p+"f414975e17cab7f07639bb011352a55e.svg"},function(e,t,n){e.exports=n.p+"1011b0e8da7c61bc9c5d5a60a4473412.svg"},function(e,t,n){e.exports=n.p+"0f788081c54bdc4c1052dbf9c8b2dabd.svg"},function(e,t,n){e.exports=n.p+"db923883bbeaddb34b2187707fda47ac.svg"},function(e,t,n){e.exports=n.p+"512842ac7f55c150517a9d789c012a37.svg"},function(e,t,n){e.exports=n.p+"7a269ab5fcabaceeb647bfc13ac19512.svg"},function(e,t,n){e.exports=n.p+"2e805b0262e744aff373281b82830bde.svg"},function(e,t,n){e.exports=n.p+"0b6f5befab406880a9b63f407639559f.svg"},function(e,t,n){e.exports=n.p+"c77891519d90d53406804f33db67b608.svg"},function(e,t,n){e.exports=n.p+"4c7308bb73721199c0b23c3f230931fc.svg"},function(e,t,n){e.exports=n.p+"4828af7bf71bd85136af78a0f6492953.svg"},function(e,t,n){e.exports=n.p+"21201c828b469033ef588786bdf0b3df.svg"},function(e,t,n){e.exports=n.p+"035a624f002da882721e964509098b03.svg"},function(e,t,n){e.exports=n.p+"1d7fc1761497a2641cae5c17b80bee8b.svg"},function(e,t,n){e.exports=n.p+"5b26bd4103fbb765c7329d41a3df7075.svg"},function(e,t,n){e.exports=n.p+"6aa67b54c18150f38c34d1a88c6eccab.svg"},function(e,t,n){e.exports=n.p+"600d211ad08036dd3a0727e5d0f894bd.svg"},function(e,t,n){e.exports=n.p+"34ddb0e2d936e73ac615f9f9252465e2.svg"},function(e,t,n){e.exports=n.p+"fba1d9956db585299f85d53dd8474256.svg"},function(e,t,n){e.exports=n.p+"c4c1fa7998175ce6787fe4330588fa04.svg"},function(e,t,n){e.exports=n.p+"fdad8d976f2a6333ab99776940f1fe42.svg"},function(e,t,n){e.exports=n.p+"ff8e88ccbd96141a488b991b13d14e5e.svg"},function(e,t,n){e.exports=n.p+"fa94ca14b2a88caa3529aa407645e6be.svg"},function(e,t,n){e.exports=n.p+"9046ad65adaa1e8a152e62e4790550ab.svg"},function(e,t,n){e.exports=n.p+"f8eaaf4c5d92f1cadf3242eecddac324.svg"},function(e,t,n){e.exports=n.p+"daec28d82ed385d47f6e4a157ddbde18.svg"},function(e,t,n){e.exports=n.p+"cca6a3d335f4a41b4e0d7538499f6892.svg"},function(e,t,n){e.exports=n.p+"ce636b3e6a427ec27cc7cdcc03ff31de.svg"},function(e,t,n){e.exports=n.p+"95bab3dc5269d36d0f68321ea9bf8e87.svg"},function(e,t,n){e.exports=n.p+"66a66146666c485c6d6e6849b3e8ff2e.svg"},function(e,t,n){e.exports=n.p+"5c2d1d1055865bd40432ab3e19269408.svg"},function(e,t,n){e.exports=n.p+"161492e934c530288d50aef3aae6b71d.svg"},function(e,t,n){e.exports=n.p+"e488d2a3032cf78b5dd160efe12e4651.svg"},function(e,t,n){e.exports=n.p+"45ed7a86efbdf780e6f907f1dcc0d0b0.svg"},function(e,t,n){e.exports=n.p+"def866ac0055751ee3182efe64287a98.svg"},function(e,t,n){e.exports=n.p+"f3bad5a9a0f03e8386b09e4bf441f32b.svg"},function(e,t,n){e.exports=n.p+"6581d869a42d89dec19222a1811a4291.svg"},function(e,t,n){e.exports=n.p+"0ae3c62f0c077a82ef6d3a0c8d219dc5.svg"},function(e,t,n){e.exports=n.p+"6cc26b2a99c011c2efea7dbf638d2c2c.svg"},function(e,t,n){e.exports=n.p+"e335c404cdbcb2f063114b4fc1b30e23.svg"},function(e,t,n){e.exports=n.p+"feccf61dcc4b79e8646f1834e0103f8b.svg"},function(e,t,n){e.exports=n.p+"c86f520b770dedfa733ff2bdbfab0f66.svg"},function(e,t,n){e.exports=n.p+"7fa023e319f8176927b67a1f8ac65289.svg"},function(e,t,n){e.exports=n.p+"69e77d9640edc775c499a68332222a62.svg"},function(e,t,n){e.exports=n.p+"e61492cdd9592f4cfa74b4eb3920015d.svg"},function(e,t,n){e.exports=n.p+"cac36b9d62313708153c66cb99cb8cb3.svg"},function(e,t,n){e.exports=n.p+"2a4c16144dafcc7c73ad23f370ed350c.svg"},function(e,t,n){e.exports=n.p+"55f506ab0a26fefd1a66cfc913bc9a7e.svg"},function(e,t,n){e.exports=n.p+"3db60866983a923775f35e692d73d313.svg"},function(e,t,n){e.exports=n.p+"5d1624b5fabf365a639f3c1426d0b9da.svg"},function(e,t,n){e.exports=n.p+"c203a3c2194f5bc11fda6cfc926eac89.svg"},function(e,t,n){e.exports=n.p+"708852a93cb3f02b8fa384e177705baf.svg"},function(e,t,n){e.exports=n.p+"57c12e6d051f42c27babaf0b431395ab.svg"},function(e,t,n){e.exports=n.p+"0e4e3a77daf120d0da57757f45cd788e.svg"},function(e,t,n){e.exports=n.p+"3d08f3213d29cb977d8c74ea5cf16c82.svg"},function(e,t,n){e.exports=n.p+"97c54609186e3aedba6824bc0dabedbd.svg"},function(e,t,n){e.exports=n.p+"fa5ad9d30f2e9fa928e7cb36a6cbda35.svg"},function(e,t,n){e.exports=n.p+"3e6fe9139009de4b87b2690aac5bb940.svg"},function(e,t,n){e.exports=n.p+"55393c8aa1b07ef9bbbba4ec6bd9b562.svg"},function(e,t,n){e.exports=n.p+"af9a70ada0ec287096f84d3cd545bab1.svg"},function(e,t,n){e.exports=n.p+"9a2909bc4bc112b465c50fe0f041a3b6.svg"},function(e,t,n){e.exports=n.p+"003e85963114ac1efebc782dcde4bc57.svg"},function(e,t,n){e.exports=n.p+"1a2f71d7e6eabca6b8c1cb62f3acbad4.svg"},function(e,t,n){e.exports=n.p+"635a3240d74c7805b8e6d360447eea0c.svg"},function(e,t,n){e.exports=n.p+"879a8ce063ddef1f6ca005a12ad3efc5.svg"},function(e,t,n){e.exports=n.p+"3c717b0d164f2435d4c46ec2fbdd7363.svg"},function(e,t,n){e.exports=n.p+"684da0090f5777d0aee4921744a744f8.svg"},function(e,t,n){e.exports=n.p+"cb69486b443b6876eba10f4da690c597.svg"},function(e,t,n){e.exports=n.p+"5876aa6d4a43b2df0c3e868dc256b7a3.svg"},function(e,t,n){e.exports=n.p+"8d8ccdc88a34d7344c66558f99d89d6d.svg"},function(e,t,n){e.exports=n.p+"558a9cc85559acc338700ce63da6b02b.svg"},function(e,t,n){e.exports=n.p+"408021169d5ec234ea9940ed80c1f355.svg"},function(e,t,n){e.exports=n.p+"b7e8a90cbd3d56f10b570ef1a8273dd6.svg"},function(e,t,n){e.exports=n.p+"bd3f7205b9a41293c96e7f98eb086cb9.svg"},function(e,t,n){e.exports=n.p+"dbd250e2255de8d3f2376c0ad4403390.svg"},function(e,t,n){e.exports=n.p+"c9c5cda971c3c283cea0a65b03ddc212.svg"},function(e,t,n){e.exports=n.p+"718e6b0bffca0d32b0a444bca088e7d6.svg"},function(e,t,n){e.exports=n.p+"6f62bae14a3663fedb03553ee393e5f8.svg"},function(e,t,n){e.exports=n.p+"5c79219a6ea469a0182ec5df2439ce2a.svg"},function(e,t,n){e.exports=n.p+"0cc1c9e5863fa49b891f84def52afd2b.svg"},function(e,t,n){e.exports=n.p+"6279b79f07fa4bacbe118b891347031d.svg"},function(e,t,n){e.exports=n.p+"45a360d4f7809e577aab398551823308.svg"},function(e,t,n){e.exports=n.p+"e857ca9ac3b4d7bf0d7ff3821fd82a0d.svg"},function(e,t,n){e.exports=n.p+"2578d978aba121c6333a09a503ba7fe6.svg"},function(e,t,n){e.exports=n.p+"1c0d13640603c371a611587d06353b69.svg"},function(e,t,n){e.exports=n.p+"130cad87f3ef6550482c39ad4c67d729.svg"},function(e,t,n){e.exports=n.p+"9775d6e097636b8fb926e1a55458b46f.svg"},function(e,t,n){e.exports=n.p+"0914ca93cc2f18917577723f5cc69b2a.svg"},function(e,t,n){e.exports=n.p+"cbce7890f64e0bbb9bdd4664dfbfcbff.svg"},function(e,t,n){e.exports=n.p+"aa91b3ae7533f6f79c695b279a02c3e5.svg"},function(e,t,n){e.exports=n.p+"75fa5ca236bd9a4c8b46472b0889974c.svg"},function(e,t,n){e.exports=n.p+"3b3e939ba7ea5b17641973605fb3c367.svg"},function(e,t,n){e.exports=n.p+"066ac551f8c87cd1b7e44a1f8e65af49.svg"},function(e,t,n){e.exports=n.p+"bf2638093845f1a4051c0331b2f02ea2.svg"},function(e,t,n){e.exports=n.p+"ccb2d2a7a4b084c98d57ab384c0267c6.svg"},function(e,t,n){e.exports=n.p+"770955b283a8a3d1cfd221f70dc0e6ee.svg"},function(e,t,n){e.exports=n.p+"ca99e78cbd0b60e254f50543063803b4.svg"},function(e,t,n){e.exports=n.p+"73d82af5f3813a256237682879256f39.svg"},function(e,t,n){e.exports=n.p+"c74f1755041b1db171f32a6340a2f1ad.svg"},function(e,t,n){e.exports=n.p+"5dcadb864074245f46e7f89241838ca3.svg"},function(e,t,n){e.exports=n.p+"acd4b1d13abe3afc215d6a8d52835711.svg"},function(e,t,n){e.exports=n.p+"15ce5ebd7a86fb94775121f7ea9a509b.svg"},function(e,t,n){e.exports=n.p+"baebecae6a8d6242bf4ef3eb5089a600.svg"},function(e,t,n){e.exports=n.p+"6780beb7cfe20de23129773da786d186.svg"},function(e,t,n){e.exports=n.p+"444805b7ce220170da1870bd3c8938d8.svg"},function(e,t,n){e.exports=n.p+"361a6cab72e8e840ccbfdecf779ae8c7.svg"},function(e,t,n){e.exports=n.p+"0e8e873defbdbcbf43fe52e0359c3f68.svg"},function(e,t,n){e.exports=n.p+"22d9c2a4199fa1e1305b403d6f7a1b8c.svg"},function(e,t,n){e.exports=n.p+"687800af2986793efd88f5f124b3592d.svg"},function(e,t,n){e.exports=n.p+"5f45ee211c1cc1cc646364bdea252699.svg"},function(e,t,n){e.exports=n.p+"b80f5adb40a8f874be4fa5fef5cbd6e7.svg"},function(e,t,n){e.exports=n.p+"b8b2df1bc4d274b5c1dfb4cee08d65c7.svg"},function(e,t,n){e.exports=n.p+"aeb61deb81d24fa34437287f89c64942.svg"},function(e,t,n){e.exports=n.p+"21bc8accea0c4f7737b4e621778d4482.svg"},function(e,t,n){e.exports=n.p+"61518f7f99778e7b1d2912f177218e2a.svg"},function(e,t,n){e.exports=n.p+"1eec9b269d1f4bbec357215a982d273d.svg"},function(e,t,n){e.exports=n.p+"178f1ae593a3fe88a135d55a8f041f13.svg"},function(e,t,n){e.exports=n.p+"143017f50097887c1b7c8e414c543702.svg"},function(e,t,n){e.exports=n.p+"d2c882ea277d3491314a1093b60c87ab.svg"},function(e,t,n){e.exports=n.p+"2b4137bf709fea8cec83f7fb08a229e8.svg"},function(e,t,n){e.exports=n.p+"4e5c39b2653bdcbb7021443b051094b4.svg"},function(e,t,n){e.exports=n.p+"b015f8a948b8a70785f91ebfeb9da8b9.svg"},function(e,t,n){e.exports=n.p+"128f73e6db6d11d1577afa389b6a94dd.svg"},function(e,t,n){e.exports=n.p+"1a79354704635a634dbd5b962b903c59.svg"},function(e,t,n){e.exports=n.p+"67256f26af63c15883fbb392f8390b8d.svg"},function(e,t,n){e.exports=n.p+"b07a9be3582d9c433f1cba43b334daf4.svg"},function(e,t,n){e.exports=n.p+"16c3030a75cdc92940e5b56976b667d0.svg"},function(e,t,n){e.exports=n.p+"7d5d7d38af60577fd7fe4dcaeba3bbd9.svg"},function(e,t,n){e.exports=n.p+"cce4a2cf7e9699d0d467a85c0304431c.svg"},function(e,t,n){e.exports=n.p+"a60fef3c60fd7285b1c9077eadea4ffa.svg"},function(e,t,n){e.exports=n.p+"83daf63e7edc5e685ca3311fb9edb7af.svg"},function(e,t,n){e.exports=n.p+"39ec79f4c6a6eefc1535f001700c4cc9.svg"},function(e,t,n){e.exports=n.p+"06054e507640fe08208a805a880bd57b.svg"},function(e,t,n){e.exports=n.p+"5e9806db4409c0d2c5b0995288cf60b1.svg"},function(e,t,n){e.exports=n.p+"97522f4ddbac0a424e63064f7b7baea9.svg"},function(e,t,n){e.exports=n.p+"417cadc37b5d9694e036529ad8f6a002.svg"},function(e,t,n){e.exports=n.p+"79ee69dcd8d4e523cb9188c7da91019c.svg"},function(e,t,n){e.exports=n.p+"3746591402b881bb8ba4b47e45880a12.svg"},function(e,t,n){e.exports=n.p+"2c25b19b4feaf5cc5cfd92a7b02fc211.svg"},function(e,t,n){e.exports=n.p+"59fb4cc978d2e9304a7a4c731ff5cfcc.svg"},function(e,t,n){e.exports=n.p+"cb992a6634d275a8499979728964b6ce.svg"},function(e,t,n){e.exports=n.p+"6ede211f0b68f93636f9a9bd6e60dda4.svg"},function(e,t,n){e.exports=n.p+"af5c01282edbb6f3ddd92e4388606872.svg"},function(e,t,n){e.exports=n.p+"cac990aef8ef6d42608dbbeba2450269.svg"},function(e,t,n){e.exports=n.p+"2513d07a3bd72f65a17c199053c4ee06.svg"},function(e,t,n){e.exports=n.p+"39df3b31634c5c36c1807312d0fc3266.svg"},function(e,t,n){e.exports=n.p+"c560fb10078ca40fc5ae8c2299eeb61c.svg"},function(e,t,n){e.exports=n.p+"d2feee290476a59d570f10701612ce04.svg"},function(e,t,n){e.exports=n.p+"a2ae38665a94625f20f5a78e9434c475.svg"},function(e,t,n){e.exports=n.p+"2c1ad9d9e777b5e25e1cff57eee1807e.svg"},function(e,t,n){e.exports=n.p+"847c3b975d0addd21c0ecbbd24a28401.svg"},function(e,t,n){e.exports=n.p+"7ebdef857bd504e5e48d7f3af6c1d5b5.svg"},function(e,t,n){e.exports=n.p+"54042ce7a79c4dd2e95e477951d11585.svg"},function(e,t,n){e.exports=n.p+"4b07c6204c49035ee0f9df20a77dacee.svg"},function(e,t,n){e.exports=n.p+"8787013c0b1d00a29f6660fe3eaa1e51.svg"},function(e,t,n){e.exports=n.p+"1180ff15939e25b59ab504a30f79ce87.svg"},function(e,t,n){e.exports=n.p+"2db1e039a934e3791067807fb07ccd3c.svg"},function(e,t,n){e.exports=n.p+"c8501363fcc73cc42e0941af0109ee41.svg"},function(e,t,n){e.exports=n.p+"04f98a870f131aa41bda167e0a565b85.svg"},function(e,t,n){e.exports=n.p+"c5b54825a8043da98554a187e0d5a31c.svg"},function(e,t,n){e.exports=n.p+"6074259f0c76688b3899d1a4c5ca7e4e.svg"},function(e,t,n){e.exports=n.p+"63956ccca3dfb96980ff8270d09f9075.svg"},function(e,t,n){e.exports=n.p+"38a6b6726f3e320ea86ada3a4cc85b15.svg"},function(e,t,n){e.exports=n.p+"edd95b4964a6d45246ee83897dd26f9b.svg"},function(e,t,n){e.exports=n.p+"e9e625fd08df5c4b229deae8485b85de.svg"},function(e,t,n){e.exports=n.p+"aa7bf6e0fcfe11448dbc18ac74cb77a5.svg"},function(e,t,n){e.exports=n.p+"1e12e16f853ba36453a70434d09a4244.svg"},function(e,t,n){e.exports=n.p+"78cdafcb7c7b771045575eae6b9877c4.svg"},function(e,t,n){e.exports=n.p+"d7e881e9c28cd1bb65f722c0fcfb2b2f.svg"},function(e,t,n){e.exports=n.p+"30b585e56c563bf1b0fcca4d516546c3.svg"},function(e,t,n){e.exports=n.p+"15ebfdae28b2b852cce176b5cd7b8c72.svg"},function(e,t,n){e.exports=n.p+"180367177854e0c407b5eb99c0234b30.svg"},function(e,t,n){e.exports=n.p+"29653af412330e5b0fcecfd5df4f4649.svg"},function(e,t,n){e.exports=n.p+"e9ef777676878cd5e1182369dfe3936d.svg"},function(e,t,n){e.exports=n.p+"449fd96e28f8d1f3d3a3b06c4b4595c9.svg"},function(e,t,n){e.exports=n.p+"03c2dc40bc908159316b2b61096c1291.svg"},function(e,t,n){e.exports=n.p+"7d4ab5c9735709184c38ef242f689647.svg"},function(e,t,n){e.exports=n.p+"435ec311a03dae3d97fdf1b8b8c280c2.svg"},function(e,t,n){e.exports=n.p+"b7a8d53abfbe350bd308884fe7ea368f.svg"},function(e,t,n){e.exports=n.p+"9455c6259d47d65fe8800cc4980ce6d9.svg"},function(e,t,n){e.exports=n.p+"e1d34365eabd95131142141e6792056f.svg"},function(e,t,n){e.exports=n.p+"dafa563c40b44de2ef1a7d797e4cc037.svg"},function(e,t,n){e.exports=n.p+"cbdd8ae31bdd383f9ac37a3b3f8bcd2a.svg"},function(e,t,n){e.exports=n.p+"07d5dbab3b2118aace504894791a8b57.svg"},function(e,t,n){e.exports=n.p+"63df7f88d8adfc1afb3432dcf5e0f363.svg"},function(e,t,n){e.exports=n.p+"f4f8d09c66fbd71ae00822e0daf502ab.svg"},function(e,t,n){e.exports=n.p+"950b4d766dd85965b80ae64e112810a4.svg"},function(e,t,n){e.exports=n.p+"deead738e00289bde10197f7f5223ced.svg"},function(e,t,n){e.exports=n.p+"d99b70a25576c75ef1d735e3a11bbc7f.svg"},function(e,t,n){e.exports=n.p+"b8d67a157c8d797d570540594027e136.svg"},function(e,t,n){e.exports=n.p+"3626b41e97391eeb2e9473267dc11b02.svg"},function(e,t,n){e.exports=n.p+"6f53b12829f09cd4fad177ec4c6e85ee.svg"},function(e,t,n){e.exports=n.p+"36b31160501e167746f7edc3cd33b495.svg"},function(e,t,n){e.exports=n.p+"8cf911be88357d07e30fb9330daaa391.svg"},function(e,t,n){e.exports=n.p+"87fc4587f2899ed9f38af84d8572deb3.svg"},function(e,t,n){e.exports=n.p+"c472791462f428675161086895cffec8.svg"},function(e,t,n){e.exports=n.p+"5d8482cb5d30d412e26ba2d9709240b6.svg"},function(e,t,n){e.exports=n.p+"6871d8626c462c35a7d4f430a7eedfbd.svg"},function(e,t,n){e.exports=n.p+"4cba08d51c9b544526914a81674d4670.svg"},function(e,t,n){e.exports=n.p+"b0974f0910325b60ba73fab29901bf3e.svg"},function(e,t,n){e.exports=n.p+"53fd80576c28adc6cc43ead4637d60b7.svg"},function(e,t,n){e.exports=n.p+"f7b28657f23a942ed82d45ed23094d63.svg"},function(e,t,n){e.exports=n.p+"97af278eacce256fb63c30689f80ee86.svg"},function(e,t,n){e.exports=n.p+"d92e0fd8dd2558af60d2a77eaae3100f.svg"},function(e,t,n){e.exports=n.p+"d9cec66b0fb892f43d64f620d70c5d21.svg"},function(e,t,n){e.exports=n.p+"2abaf346540d4f73a7786c9702952630.svg"},function(e,t,n){e.exports=n.p+"1e38d4131bdeac25303a3602c25a9f2a.svg"},function(e,t,n){e.exports=n.p+"b3a2a764b8ed47c78a7f3639351045da.svg"},function(e,t,n){e.exports=n.p+"e4e87c9fa804c97e5b82ddc375d0747f.svg"},function(e,t,n){e.exports=n.p+"ca86c2cbb56cae3c88c269aa0d9b5bd0.svg"},function(e,t,n){e.exports=n.p+"9cf1e02c84cdd759ebbd16d28e431d42.svg"},function(e,t,n){e.exports=n.p+"f061fbca366aace47d711c09ee19d26b.svg"},function(e,t,n){e.exports=n.p+"7fd35efd211326f76a364c4c10d77ef1.svg"},function(e,t,n){e.exports=n.p+"f64f47a895e537305b3463f9d30bc177.svg"},function(e,t,n){e.exports=n.p+"073457993178e889608efa5713b80a78.svg"},function(e,t,n){e.exports=n.p+"1d05ac7f16a9e2e8f35e21fe33f12abe.svg"},function(e,t,n){e.exports=n.p+"88bf77da230ce21c5026635dbbd9611c.svg"},function(e,t,n){e.exports=n.p+"d5639c90fdbf9e87894f536da7d986cf.svg"},function(e,t,n){e.exports=n.p+"f35938865ef20adb89f8351eaee128f6.svg"},function(e,t,n){e.exports=n.p+"1c6d99fe1cf444c63e08c2956cfc78cd.svg"},function(e,t,n){e.exports=n.p+"5fa2d2753fe260ce07608f99e41d44e1.svg"},function(e,t,n){e.exports=n.p+"c712f8d59534fb0e98de8feb8669d32d.svg"},function(e,t,n){e.exports=n.p+"8c5799448fe6fcf7dc00bb7703b08dcf.svg"},function(e,t,n){e.exports=n.p+"21cfbfcb04a73a9514b12b22f6c5f6c5.svg"},function(e,t,n){e.exports=n.p+"582f312c837aaee37694a4a7c48551a9.svg"},function(e,t,n){e.exports=n.p+"742e2b48f04a103d7183f92fd1b71b59.svg"},function(e,t,n){e.exports=n.p+"29a9dbe2ab17d65dad0fb9a37e3445a6.svg"},function(e,t,n){e.exports=n.p+"4105188359a054b7b176a48aa6d50b40.svg"},function(e,t,n){e.exports=n.p+"0a68a9d6deff6861cb61bef664556d2e.svg"},function(e,t,n){e.exports=n.p+"2cbe54370276de226f5088f07223e422.svg"},function(e,t,n){e.exports=n.p+"f517c96b24aa9603cb500054c3e9fa97.svg"},function(e,t,n){e.exports=n.p+"e3151f4a7f87ba845f0b961f67cec5ca.svg"},function(e,t,n){e.exports=n.p+"d73b1912006f47782cc73fe36d5ec3d9.svg"},function(e,t,n){e.exports=n.p+"36c3849db2471224f01544456982e323.svg"},function(e,t,n){e.exports=n.p+"0a0df34b233b78dcf99ff4d89c614437.svg"},function(e,t,n){e.exports=n.p+"c6cddeeaa2bf33c69a89d184e3282100.svg"},function(e,t,n){e.exports=n.p+"8ef0fda6e7e05fd7c16f3688c46c85d8.svg"},function(e,t,n){e.exports=n.p+"242aac582d753bf70a107a986bb6d21a.svg"},function(e,t,n){e.exports=n.p+"f473a55d0ce25ba81edbf748c046c35a.svg"},function(e,t,n){e.exports=n.p+"bc11668deab89928e4c40016df057006.svg"},function(e,t,n){e.exports=n.p+"1a701c365c0911d0f706a8b06714b744.svg"},function(e,t,n){e.exports=n.p+"7015599f90a5f526d0ba11b8e21ac726.svg"},function(e,t,n){e.exports=n.p+"ef7670e022583926d7133e2a42cc2f09.svg"},function(e,t,n){e.exports=n.p+"d8fe5e48a818732ec37f8bb91dbac801.svg"},function(e,t,n){e.exports=n.p+"c295768cb769c87a33214cd5248eff8d.svg"},function(e,t,n){e.exports=n.p+"1de39527aa0c6c29a84a2ffc7a525562.svg"},function(e,t,n){e.exports=n.p+"873dc5c60327b566d716005a4937e808.svg"},function(e,t,n){e.exports=n.p+"d05572fcb9e9ada684f4ef5446e0092f.svg"},function(e,t,n){e.exports=n.p+"f7b0146ff19142d68fbed5fef22dcd7e.svg"},function(e,t,n){e.exports=n.p+"09e7fe5dff0fb3c974363e259d09dca3.svg"},function(e,t,n){e.exports=n.p+"acac0429f723f2ac52d03b7b00de7a50.svg"},function(e,t,n){e.exports=n.p+"a92068066172a9f2043fa934329884e6.svg"},function(e,t,n){e.exports=n.p+"646d497a80f142c0f37bb20ac73fea41.svg"},function(e,t,n){e.exports=n.p+"64f5c5a996ff4f1dc675809f9bf48c56.svg"},function(e,t,n){e.exports=n.p+"c739545e834bbc313e57a48e062cb432.svg"},function(e,t,n){e.exports=n.p+"762f76a5eef7c38bde88c1888726e75d.svg"},function(e,t,n){e.exports=n.p+"0c518947e88b8259ca154299eede123d.svg"},function(e,t,n){e.exports=n.p+"bce56fa7d23510b3952271bcdb72da37.svg"},function(e,t,n){e.exports=n.p+"e32265c67d20b47d115dfa53a0f32271.svg"},function(e,t,n){e.exports=n.p+"4f5549515880634d646214f4a9c266ec.svg"},function(e,t,n){e.exports=n.p+"476cdc0d299c7acad78c59a6ff477a49.svg"},function(e,t,n){e.exports=n.p+"b874ab14ffd1cf741291076e1fee788f.svg"},function(e,t,n){e.exports=n.p+"70f1d2b535b42b22b01302efe2b4bebc.svg"},function(e,t,n){e.exports=n.p+"b8fd7672d420984b0526022e6d763194.svg"},function(e,t,n){e.exports=n.p+"770dc69b36de2e979ecf136e172eaf72.svg"},function(e,t,n){e.exports=n.p+"b05e9437c06e3e5a4634dad8af9004e6.svg"},function(e,t,n){e.exports=n.p+"9db5cc8c5c430ac14d86e21b3688629f.svg"},function(e,t,n){e.exports=n.p+"90f88e3af89c4339f1c19cfef0880df8.svg"},function(e,t,n){e.exports=n.p+"2ea0babe788aba543cab1d47ca72e5c4.svg"},function(e,t,n){e.exports=n.p+"47ccc4c4c99cf7a808fa12e8a66aa9e5.svg"},function(e,t,n){e.exports=n.p+"df8cc331901cdea17f04a9a16db33b2b.svg"},function(e,t,n){e.exports=n.p+"fbd0cdbd475a5e3568e448339b7f22bc.svg"},function(e,t,n){e.exports=n.p+"1ace7c42ae608a89088bcd9319d9d277.svg"},function(e,t,n){e.exports=n.p+"d2f3262c23663c44a70c2d57669d4eb3.svg"},function(e,t,n){e.exports=n.p+"04baef0dc14b5187f9b0c33fa8707502.svg"},function(e,t,n){e.exports=n.p+"96ecbefe46bb434c13f5a89802b5ec94.svg"},function(e,t,n){e.exports=n.p+"7c21c02ee987439b528736adf84d23f4.svg"},function(e,t,n){e.exports=n.p+"9d3c637a4159e08698b630721d54f827.svg"},function(e,t,n){e.exports=n.p+"52a394382e50afb3a700906ae66a537c.svg"},function(e,t,n){e.exports=n.p+"35f3f921817c0d8ad7665df77f4d2d4a.svg"},function(e,t,n){e.exports=n.p+"a51fc65b9f1bce4d1ed2a0cdcab6f48d.svg"},function(e,t,n){e.exports=n.p+"6cb53a6a9cd7b0cc393948cdccdfd6a2.svg"},function(e,t,n){e.exports=n.p+"abf761f17d6cf8cde528b4c0428a6ea4.svg"},function(e,t,n){e.exports=n.p+"1e2030c985b158e74ae1b216125cac8a.svg"},function(e,t,n){e.exports=n.p+"d1989701a8b5f0f119dcf067b20db641.svg"},function(e,t,n){e.exports=n.p+"8f9367c5ebdcac057e4b98b424a7d331.svg"},function(e,t,n){e.exports=n.p+"20ee521d55f89361c1b8e399c2029895.svg"},function(e,t,n){e.exports=n.p+"312d79de138177e77805b7254f58ce48.svg"},function(e,t,n){e.exports=n.p+"8a2673837207eda5fd74c7c665d9b687.svg"},function(e,t,n){e.exports=n.p+"3820fb52eaf77c8ed7abb8a101d661f8.svg"},function(e,t,n){e.exports=n.p+"67e0153a3bd5238018e065d4a14f6ff7.svg"},function(e,t,n){e.exports=n.p+"30cb958e509bb0965a3e591fcd40bc49.svg"},function(e,t,n){e.exports=n.p+"63fd1d4a9fec43db09dfd92ebb8881e4.svg"},function(e,t,n){e.exports=n.p+"4aceb8c2735981cee8b75373c0f3391d.svg"},function(e,t,n){e.exports=n.p+"5eed46562404041e4a2ab9f59a679d40.svg"},function(e,t,n){e.exports=n.p+"b34ad089ab768af46f156b3a078198a4.svg"},function(e,t,n){e.exports=n.p+"3033000da40ef9fee5bfefe8919022b5.svg"},function(e,t,n){e.exports=n.p+"adcb02d39d476ca5f502767c7311e53c.svg"},function(e,t,n){e.exports=n.p+"49c4729bd700e4ca9c119451ecb54b6c.svg"},function(e,t,n){e.exports=n.p+"de9e8041ce007578d6cb70a50b643a39.svg"},function(e,t,n){e.exports=n.p+"fa063beda8b31cc0fbf3475da4eadbd1.svg"},function(e,t,n){e.exports=n.p+"d84e76e52edde463aa106a30db7d4908.svg"},function(e,t,n){e.exports=n.p+"1f47248f358622a7398c81207142239b.svg"},function(e,t,n){e.exports=n.p+"cf61cc6cbb5934d4d0e9c426f5b17d8a.svg"},function(e,t,n){e.exports=n.p+"8c1770ed85c17cfc28bdcba042e4388d.svg"},function(e,t,n){e.exports=n.p+"5a8d9af8b5b3922097b2cccfce844630.svg"},function(e,t,n){e.exports=n.p+"f5f7e5c44c71309fb8c8b6158ebb2446.svg"},function(e,t,n){e.exports=n.p+"37a9c1cea4adac64fc9c07b78996530f.svg"},function(e,t,n){e.exports=n.p+"44e4fa2c7cf07fedc715e0ebe6c9f4fa.svg"},function(e,t,n){e.exports=n.p+"2ad0fa81e6eb0db77fdb06f832732865.svg"},function(e,t,n){e.exports=n.p+"a8de0d11b5a6ee9d8a28a6ab38884160.svg"},function(e,t,n){e.exports=n.p+"4c06e8737b6e48224a0e5976c4537fae.svg"},function(e,t,n){e.exports=n.p+"3113df582817db67e43e88415a345c6e.svg"},function(e,t,n){e.exports=n.p+"2e1cfd9ae7083518726e773f561bc8bf.svg"},function(e,t,n){e.exports=n.p+"3358a883165c286cb0928edb9d4a9cb1.svg"},function(e,t,n){e.exports=n.p+"d2173fead798eb0046381b40c9259eaa.svg"},function(e,t,n){e.exports=n.p+"b2e69b00f5769bd9312e462f164392fe.svg"},function(e,t,n){e.exports=n.p+"0f6a353494551426a03fc68522230686.svg"},function(e,t,n){e.exports=n.p+"8b29c19c33ef185cc5fe9fba05389257.svg"},function(e,t,n){e.exports=n.p+"cce04e58eccd72f3844059633baa5057.svg"},function(e,t,n){e.exports=n.p+"058dee5288ffcb904a26594ea31fcfb3.svg"},function(e,t,n){e.exports=n.p+"fda7477c4eea759cf5407472387453bf.svg"},function(e,t,n){e.exports=n.p+"70b35c3dc2e909287823bd8626150089.svg"},function(e,t,n){e.exports=n.p+"8544ea5ce32fd9e17df806eb1cfeab47.svg"},function(e,t,n){e.exports=n.p+"4bfb4661aa2746510f9e9ddcc990ccae.svg"},function(e,t,n){e.exports=n.p+"4c1490be77de62e7cf3e5bb5e68dfff8.svg"},function(e,t,n){e.exports=n.p+"e37c985edda06b7d5f4559bc838c1bde.svg"},function(e,t,n){e.exports=n.p+"35221463e22cf68c28b23b6479a43613.svg"},function(e,t,n){e.exports=n.p+"46dc70e2608d986da6de64c6ba5a59da.svg"},function(e,t,n){e.exports=n.p+"ec10708f00b5b6767490ffe50dfe2663.svg"},function(e,t,n){e.exports=n.p+"99ee25afc79bd853311f019eddc53ab4.svg"},function(e,t,n){e.exports=n.p+"430e873bc74e81778ccf63f5d440f0ca.svg"},function(e,t,n){e.exports=n.p+"70e2e710d9ea845df9bba730bcdb0e02.svg"},function(e,t,n){e.exports=n.p+"56c6c1f230e42a3780cfd5373b49c418.svg"},function(e,t,n){e.exports=n.p+"d95a24865c58c14548e439defc097222.svg"},function(e,t,n){e.exports=n.p+"baf44b1c1e3c284e9b263d08b426bdc5.svg"},function(e,t,n){e.exports=n.p+"31ef50db484eb3d4b2fbebb4e91a0764.svg"},function(e,t,n){e.exports=n.p+"f341538d6092b98ba32c58ad45537267.svg"},function(e,t,n){e.exports=n.p+"d198f92b9911c7fdbb12baa694a819a2.svg"},function(e,t,n){e.exports=n.p+"9d7ddcf78b0fdff6ab938077da38401f.svg"},function(e,t,n){e.exports=n.p+"0631de3cded7d03f57c5ea29aae77168.svg"},function(e,t,n){e.exports=n.p+"3140c8f687ba06dc8628b3c90686f77e.svg"},function(e,t,n){e.exports=n.p+"8359db312f7319a4b0b23415e5fd1392.svg"},function(e,t,n){e.exports=n.p+"265f7b903ab5ce027b91304a9b41a4bb.svg"},function(e,t,n){e.exports=n.p+"91c005d9108b18392832578533e6f884.svg"},function(e,t,n){e.exports=n.p+"64aa9648a4ff86e608127ad7b2cf9ac5.svg"},function(e,t,n){e.exports=n.p+"b8e50e05f78dd95d203c764955b9727c.svg"},function(e,t,n){e.exports=n.p+"155543fac269ac1e1a3bb1f96a57b5d7.svg"},function(e,t,n){e.exports=n.p+"1837c5719a977362642ffaf4990b6bac.svg"},function(e,t,n){e.exports=n.p+"1b3817ca3b1dc991baefdb3079ed0624.svg"},function(e,t,n){e.exports=n.p+"df8b5c1e4abb97e748071aeb28f1ba38.svg"},function(e,t,n){e.exports=n.p+"0933c4860868252befc05509165a1db4.svg"},function(e,t,n){e.exports=n.p+"83a26e87d6e49f8f0e692fd9b090bef2.svg"},function(e,t,n){e.exports=n.p+"db009c8fa13d0f303df266e9d42c8e30.svg"},function(e,t,n){e.exports=n.p+"6c42ea9f3e233d9110e04dcd87db55da.svg"},function(e,t,n){e.exports=n.p+"da56d5c7e4409c0c1640ff6ba21ec1ad.svg"},function(e,t,n){e.exports=n.p+"1679bb713b6a99e6ddf111d45400be3a.svg"},function(e,t,n){e.exports=n.p+"ae85f3ba482693c99192d68b402b691c.svg"},function(e,t,n){e.exports=n.p+"24f893169104e65cf4e3dfb1d817d078.svg"},function(e,t,n){e.exports=n.p+"7bfe8fa5c4b8e024b491a7902eeca1fe.svg"},function(e,t,n){e.exports=n.p+"194b9697b35e4ff8541e40d73d8b6c36.svg"},function(e,t,n){e.exports=n.p+"e6025571aaedfcbedc52c5e38e5a1017.svg"},function(e,t,n){e.exports=n.p+"aff6d39f4947f22f042e67ac21a9dc7a.svg"},function(e,t,n){e.exports=n.p+"302be58fece29baf9e7e18b32f626b89.svg"},function(e,t,n){e.exports=n.p+"8f081debefb68b05c983e7171ad4549b.svg"},function(e,t,n){e.exports=n.p+"509dd485f6269e2521955120f3e8f0ef.svg"},function(e,t,n){e.exports=n.p+"7d4bf2e92b2587e47b09997dbc654823.svg"},function(e,t,n){e.exports=n.p+"54f34f46e4d0a360c76dd65eb9af4eec.svg"},function(e,t,n){e.exports=n.p+"435f9f150f67f68ca9e254d80a38f33c.svg"},function(e,t,n){e.exports=n.p+"280d22966f7da9bd8d4b422b84d44c37.svg"},function(e,t,n){e.exports=n.p+"157c1bae93cc97462a1aab7d3e3af20f.svg"},function(e,t,n){e.exports=n.p+"ecf869302151b7838aff2f2125920206.svg"},function(e,t,n){e.exports=n.p+"63155fb563c7f3ac84ec1e239d7688a3.svg"},function(e,t,n){e.exports=n.p+"731d48be4af017de9a5299e90ff28b12.svg"},function(e,t,n){e.exports=n.p+"eedd4bd948a0da6d75bf5304bff4e17f.svg"},function(e,t,n){e.exports=n.p+"c5f722a37a7e3800b78a61c3ebd2dd74.svg"},function(e,t,n){e.exports=n.p+"8528553f74b666f80b1784f07a205cdf.svg"},function(e,t,n){e.exports=n.p+"5e8675734d4bf5232a60a4f6751dcd03.svg"},function(e,t,n){e.exports=n.p+"3bfe17056153e8a390c99fe243e0a649.svg"},function(e,t,n){e.exports=n.p+"dd7e45533e2f2008d8ba36ebed18c712.svg"},function(e,t,n){e.exports=n.p+"7b4003ce2786fcf382c6b1ba5ac08f24.svg"},function(e,t,n){e.exports=n.p+"1bfac5a4300cf5668073bd17d178e89e.svg"},function(e,t,n){e.exports=n.p+"09204f6a96455580e749454b7449aa82.svg"},function(e,t,n){e.exports=n.p+"304f17a447dd859533f5b41c0f2464f0.svg"},function(e,t,n){e.exports=n.p+"be2be087dbf2f58ac10f91f16b7e6b0a.svg"},function(e,t,n){e.exports=n.p+"7ffb6424744afba54797827604583e33.svg"},function(e,t,n){e.exports=n.p+"bf6bdfc4ee2222efcd652a344cb22ef4.svg"},function(e,t,n){e.exports=n.p+"f2d2183f4b21d53a9e0885fc78d9c766.svg"},function(e,t,n){e.exports=n.p+"2399e762ce8c9fe5d6f24f5c09dcb379.svg"},function(e,t,n){e.exports=n.p+"ba3e449f17cf9e91e2f52a0dcb65b4cc.svg"},function(e,t,n){e.exports=n.p+"673d9936cd86abc0f48e36d86950cc81.svg"},function(e,t,n){e.exports=n.p+"73793d476111f6ee0422b20b236b34c4.svg"},function(e,t,n){e.exports=n.p+"794df59352a0aab153763ae7c1a4b67c.svg"},function(e,t,n){e.exports=n.p+"2f62701a0bd9896f10ba600e9bb3ee6d.svg"},function(e,t,n){e.exports=n.p+"331da3cdba2b7b84a5acd7a1f304a3bd.svg"},function(e,t,n){e.exports=n.p+"7bb4df46a1dad3c2092e712cdda18369.svg"},function(e,t,n){e.exports=n.p+"9515c498b6c2e3d2e3e3b5ad73b6c22f.svg"},function(e,t,n){e.exports=n.p+"117476c82e097a60f93a9447b67d0dbf.svg"},function(e,t,n){e.exports=n.p+"5f8aee4f266854e41de9778beaf7abca.svg"},function(e,t,n){e.exports=n.p+"e1ec53c5d89c0291001989a36716aa9a.svg"},function(e,t,n){e.exports=n.p+"f34c63197816c3e60bea4a9537c5fffa.svg"},function(e,t,n){e.exports=n.p+"cbf0c56a2f3c861877b0de6f7fe8c24f.svg"},function(e,t,n){e.exports=n.p+"eb5164cb069835f50006747e21fab87d.svg"},function(e,t,n){e.exports=n.p+"7e9c28f98192ec5811981181f28ea7ac.svg"},function(e,t,n){e.exports=n.p+"0634b5f01a88a0121bed072779e81bd6.svg"},function(e,t,n){e.exports=n.p+"75c28d370b0dacca5589ec28c423f572.svg"},function(e,t,n){e.exports=n.p+"13a4210298dfc7e57883c733259bda0a.svg"},function(e,t,n){e.exports=n.p+"d2847ce64775bce206d39ae4114db659.svg"},function(e,t,n){e.exports=n.p+"8e06d99a02d277377d03fa2975237f14.svg"},function(e,t,n){e.exports=n.p+"701414a67cb18fe339ec2bbe21a1d448.svg"},function(e,t,n){e.exports=n.p+"95ff2ac1c2edcb54e96d85f4976711d2.svg"},function(e,t,n){e.exports=n.p+"63228fcdf74039fa92cb1188586fa030.svg"},function(e,t,n){e.exports=n.p+"a26369e03c9084aeb19ab69e0396a396.svg"},function(e,t,n){e.exports=n.p+"f6a60dce93537e22dae89fb5c7003f1b.svg"},function(e,t,n){e.exports=n.p+"459285aabe618b3d3e215676c97b689c.svg"},function(e,t,n){e.exports=n.p+"088935948a58168d5e34e8bf4afd7137.svg"},function(e,t,n){e.exports=n.p+"4d41113640745c63755c85463f6b3001.svg"},function(e,t,n){e.exports=n.p+"80b2f3b471f6d01821b1b3eda515e0a4.svg"},function(e,t,n){e.exports=n.p+"51cd8436fb99a6f12257db34780fb7a7.svg"},function(e,t,n){e.exports=n.p+"3547c9b25b1b9a1da8c06100fc4da900.svg"},function(e,t,n){e.exports=n.p+"14b8317fd0cf1f8d1e8a89de6c841c76.svg"},function(e,t,n){e.exports=n.p+"c039d0f4fb5cee040c7aa7c80da104d8.svg"},function(e,t,n){e.exports=n.p+"97ec29084cf5be2bdf9be1d4ec61036c.svg"},function(e,t,n){e.exports=n.p+"889b9885ccdacc969f18d3c15788f2a4.svg"},function(e,t,n){e.exports=n.p+"0fb64655fbfea2d2fcd384c5dee3e2cc.svg"},function(e,t,n){e.exports=n.p+"6c895a6898d73cc30959ac78c67c2ddf.svg"},function(e,t,n){e.exports=n.p+"0c57febf44dbbb019c6fd75b05837495.svg"},function(e,t,n){e.exports=n.p+"05a1abc6388a96e2a536650433c12fca.svg"},function(e,t,n){e.exports=n.p+"3a36caf1fd1fce61581d2250b8459314.svg"},function(e,t,n){e.exports=n.p+"a9e13a28157a6568d203df8fcf754230.svg"},function(e,t,n){e.exports=n.p+"d5818f5fa376321c8bef87324c160ed8.svg"},function(e,t,n){e.exports=n.p+"654212b1a4cdf391b4a8bb37faf7d18c.svg"},function(e,t,n){e.exports=n.p+"9f6ac7129f1751c174534f1ac2f119ae.svg"},function(e,t,n){e.exports=n.p+"5ca9943d29a6dc5cd0808b011327a81c.svg"},function(e,t,n){e.exports=n.p+"f3fdb69431ef187e87cb909b0206cc93.svg"},function(e,t,n){e.exports=n.p+"503a6a1d6710b6ea50a29507115549de.svg"},function(e,t,n){e.exports=n.p+"50b152d1ee2fcb5c356592ab0a5fc3bb.svg"},function(e,t,n){e.exports=n.p+"2ffcb91dee0015f46b03482b3c73fcad.svg"},function(e,t,n){e.exports=n.p+"d22dc22448b350e43b9e3cefcf3196d1.svg"},function(e,t,n){e.exports=n.p+"d3d76c82a46964a19a8c96e222bd414a.svg"},function(e,t,n){e.exports=n.p+"a85469a7ea891a12e2513f4281d51f78.svg"},function(e,t,n){e.exports=n.p+"3c2ef0062bb4f45d77a5853e75128d80.svg"},function(e,t,n){e.exports=n.p+"7654aba0da598aad6cee02d8c69c0330.svg"},function(e,t,n){e.exports=n.p+"766c86e6244395ea36c530a7a4f27242.svg"},function(e,t,n){e.exports=n.p+"c63522b43c2c7bcbe934a22b4f7991bf.svg"},function(e,t,n){e.exports=n.p+"16520d89e684777eedd536346015e71f.svg"},function(e,t,n){e.exports=n.p+"ddeb2a90dd32867b77e22b1eccf5fa55.svg"},function(e,t,n){e.exports=n.p+"0477c6a43026315dd623bc6367e18acb.svg"},function(e,t,n){e.exports=n.p+"15aa0f8bb6ed4afd2c4b2d3175bc36ab.svg"},function(e,t,n){e.exports=n.p+"cad68a908e01b9ccce5e26e22793391f.svg"},function(e,t,n){e.exports=n.p+"f8bae833e841f69bd5d5bd23568f9a09.svg"},function(e,t,n){e.exports=n.p+"c35b8b5c0666ad99ab0e820f8aa90002.svg"},function(e,t,n){e.exports=n.p+"8b7eb8b25468313916d2e5ec3727cd2d.svg"},function(e,t,n){e.exports=n.p+"6201ff6add4821014e02cfc1bc82fc95.svg"},function(e,t,n){e.exports=n.p+"e2b2f4d4a21891f6f01b43a3c4e341a1.svg"},function(e,t,n){e.exports=n.p+"2424297076c0d1c8499820fc4f9d9f57.svg"},function(e,t,n){e.exports=n.p+"7c13aa0def6ccb6932f47dedd33f59c1.svg"},function(e,t,n){e.exports=n.p+"8ae21900410d5310d5697a36de1aa5ea.svg"},function(e,t,n){e.exports=n.p+"6c928e43c553124e23e45c31c6ddbece.svg"},function(e,t,n){e.exports=n.p+"6a86f8cca40da89386aa7e9eca926da7.svg"},function(e,t,n){e.exports=n.p+"b8b439115436db0c0bbff081749a1ddb.svg"},function(e,t,n){e.exports=n.p+"b3f45308df051ef73d8cf63ffe0976c3.svg"},function(e,t,n){e.exports=n.p+"fa259978fede6539d40db4b59a2b0f66.svg"},function(e,t,n){e.exports=n.p+"ece853d6c1c1cd81f762db6c26fade40.svg"},function(e,t,n){e.exports=n.p+"5e1630b749695f21d61dcf55fc09c2b6.svg"},function(e,t,n){e.exports=n.p+"2404733a7fc9302ab9471a4842dcf68e.svg"},function(e,t,n){e.exports=n.p+"c1837b024900b2dd81e3200b2f35875f.svg"},function(e,t,n){e.exports=n.p+"8db9972dd015f679c16544ac3e29e6b1.svg"},function(e,t,n){e.exports=n.p+"1c15ce3170d607ac9960d225739a881d.svg"},function(e,t,n){e.exports=n.p+"bf963581d0de4e574187f07ff71a0656.svg"},function(e,t,n){e.exports=n.p+"67069a13e006345ce28ecc581f2ed162.svg"},function(e,t,n){e.exports=n.p+"020aad8e903ef738aab703419e0139fa.svg"},function(e,t,n){e.exports=n.p+"eed642a423f5147c48ad395310a3d797.svg"},function(e,t,n){e.exports=n.p+"767059c01f5e1967080e803b9ac9ff42.svg"},function(e,t,n){e.exports=n.p+"2c9735249ccb0e821822eb4a0fec20f2.svg"},function(e,t,n){e.exports=n.p+"9f89170e2913a534d3dc182297c44c87.svg"},function(e,t,n){e.exports=n.p+"fd0dd759c1ed1e0a044fa6882e95fd02.svg"},function(e,t,n){e.exports=n.p+"5e8bf9a87b34b1e80b8ccfeb55c61df1.svg"},function(e,t,n){e.exports=n.p+"ebbab3f48f8d122987d7617bed56d17c.svg"},function(e,t,n){e.exports=n.p+"1e183a34aa97fc91f7e6992bdd24f981.svg"},function(e,t,n){e.exports=n.p+"ba9ded4c8399e915303b1f97974a1573.svg"},function(e,t,n){e.exports=n.p+"bd766f88fab518680708df9935b50e85.svg"},function(e,t,n){e.exports=n.p+"7d7c9561cc5ab5259ff8023b8ef86c99.svg"},function(e,t,n){e.exports=n.p+"41e47bdc538a48f4ecdde53dc73e4e9b.svg"},function(e,t,n){e.exports=n.p+"f90f568565bb6721ca07c30f1c9f54b7.svg"},function(e,t,n){e.exports=n.p+"a0a7f6cf67b863940eceaa40397e2030.svg"},function(e,t,n){e.exports=n.p+"35fce59c5d17a56d69c3de3d8864ed22.svg"},function(e,t,n){e.exports=n.p+"db6a04513188ab406f172cf98141dd58.svg"},function(e,t,n){e.exports=n.p+"f46a1943d6b9b360f14ca7355da59b7a.svg"},function(e,t,n){e.exports=n.p+"893165570015b53aad1a6999d13ea7d8.svg"},function(e,t,n){e.exports=n.p+"85e5fb9f60873c46d98c8ab4efdf4066.svg"},function(e,t,n){e.exports=n.p+"79e14ae0b5c616e7ceb92e5c01a42cbc.svg"},function(e,t,n){e.exports=n.p+"b8630468b0aed7fa65976ef23ceaa8c3.svg"},function(e,t,n){e.exports=n.p+"3e208107951235969e572910cdaf60f6.svg"},function(e,t,n){e.exports=n.p+"b27c96355efbd49d331fe799ebb0f167.svg"},function(e,t,n){e.exports=n.p+"251041f7277f771b3bbf869097a6f10a.svg"},function(e,t,n){e.exports=n.p+"49533def46858e98682242755ef6912b.svg"},function(e,t,n){e.exports=n.p+"a2bcfe4eee2242c2f9724d2cfdf6c45b.svg"},function(e,t,n){e.exports=n.p+"7b8001eccac970278fc175bc0f74489c.svg"},function(e,t,n){e.exports=n.p+"5336e6cc987e13a886e8d2e8d483633b.svg"},function(e,t,n){e.exports=n.p+"1c5a602f27f37e42e8955eaff293a971.svg"},function(e,t,n){e.exports=n.p+"11beb379b710396803eae9672cda0662.svg"},function(e,t,n){e.exports=n.p+"b1ee2010d5c89c554af9cac9684c31ce.svg"},function(e,t,n){e.exports=n.p+"1b49a181ff7cdab94bd390b3d3224f63.svg"},function(e,t,n){e.exports=n.p+"f483d0c3ce87afe27007a9b8fcad4547.svg"},function(e,t,n){e.exports=n.p+"e54cb38aa9327d2e17410178236e0320.svg"},function(e,t,n){e.exports=n.p+"faec4b08de7d17e4ea1ecf5bf4a6c0a3.svg"},function(e,t,n){e.exports=n.p+"969f2c73dcc20bfd35f093a1a02a4e9d.svg"},function(e,t,n){e.exports=n.p+"d6784afcd2745a3941b08bb98acc5322.svg"},function(e,t,n){e.exports=n.p+"f2022d3850e36ba427caea9a51cd9ae0.svg"},function(e,t,n){e.exports=n.p+"38bfa82363472a2ff8e43b6559b9a9a6.svg"},function(e,t,n){e.exports=n.p+"20c5f193bec54b7bf249eef78d17fa08.svg"},function(e,t,n){e.exports=n.p+"e98b98c644f3189af469660a51721954.svg"},function(e,t,n){e.exports=n.p+"505b59fb67bd9d6604bd4f15bd22d1e1.svg"},function(e,t,n){e.exports=n.p+"6a695716479912d8a088c52419c610b7.svg"},function(e,t,n){e.exports=n.p+"f3de70a77769446bb2d6353b04105308.svg"},function(e,t,n){e.exports=n.p+"2799e319aa2a2526f31629e37b3af464.svg"},function(e,t,n){e.exports=n.p+"0b637337b40e8513c11b022e187cb3d8.svg"},function(e,t,n){e.exports=n.p+"9c26776906ae5adcf76dad9b39692133.svg"},function(e,t,n){e.exports=n.p+"5a7474418f87e73ee9bb6d02eafa2305.svg"},function(e,t,n){e.exports=n.p+"150bfceb8f2536c49dbe0a6ea5167489.svg"},function(e,t,n){e.exports=n.p+"0000f34484a7bf568d45b7591916b603.svg"},function(e,t,n){e.exports=n.p+"5da159fab87f2c8e59c459d04d127dc7.svg"},function(e,t,n){e.exports=n.p+"5be8c5ebff4285f213dd497a2969bed8.svg"},function(e,t,n){e.exports=n.p+"628b5d25b12422cb143cdc0d7be18f7a.svg"},function(e,t,n){e.exports=n.p+"74e9975a0b831d350b1a92e2793cf483.svg"},function(e,t,n){e.exports=n.p+"e75125914de0c65e43aab08786e23b06.svg"},function(e,t,n){e.exports=n.p+"0542c8e0343df05c3d32b8694aec066a.svg"},function(e,t,n){e.exports=n.p+"e78fe49009591173017056181d33fa72.svg"},function(e,t,n){e.exports=n.p+"3cff3df41a0104aff7a8bb0e19800b30.svg"},function(e,t,n){e.exports=n.p+"d1a272b765ce7b4fb2a94e0613cbc370.svg"},function(e,t,n){e.exports=n.p+"f4149fa9e499c27cb681cd8151158510.svg"},function(e,t,n){e.exports=n.p+"b4a898bf092d57e67c2120b6b3ce0de0.svg"},function(e,t,n){e.exports=n.p+"86868c1b2423baa5790a34f485dcd042.svg"},function(e,t,n){e.exports=n.p+"5466febf998bb2f4ef7cf8b509304bf0.svg"},function(e,t,n){e.exports=n.p+"746637ba728b663cc853bd56c9111d9c.svg"},function(e,t,n){e.exports=n.p+"b2a02b8a4ccb81c6e3af70b1168ba5a2.svg"},function(e,t,n){e.exports=n.p+"00105e2e3311d55fad448a3f82e92e44.svg"},function(e,t,n){e.exports=n.p+"8011eef7d68aa40a7b1b151b0c962913.svg"},function(e,t,n){e.exports=n.p+"7c7ddee26a1c09876bebcc2c25f5b746.svg"},function(e,t,n){e.exports=n.p+"b488f18fd70a2360c8092fd6dd810519.svg"},function(e,t,n){e.exports=n.p+"9a4e23451ab85b216a6d73464ac56067.svg"},function(e,t,n){e.exports=n.p+"16e64c8e7dcb219b42845cfea1175cb1.svg"},function(e,t,n){e.exports=n.p+"bf13c55b5b950756a35205c264465164.svg"},function(e,t,n){e.exports=n.p+"81e4c2e69ccafce51a5b1bbfacbfc5e6.svg"},function(e,t,n){e.exports=n.p+"ab6a1028c6b247bcc472a4e9d0041228.svg"},function(e,t,n){e.exports=n.p+"17864ff030901a8af3211a41d28834e7.svg"},function(e,t,n){e.exports=n.p+"1d32c80bbeb06320fc9ad21b61be37b4.svg"},function(e,t,n){e.exports=n.p+"b627cfc2f8b906495959bb772d2fa59c.svg"},function(e,t,n){e.exports=n.p+"8c4a38c29b7a0342d8996ac7aad6f509.svg"},function(e,t,n){e.exports=n.p+"225d7a78ca6c8f5b3eb412e488ea18cf.svg"},function(e,t,n){e.exports=n.p+"2f57dbf12c69920d4c9cb912065be4d3.svg"},function(e,t,n){e.exports=n.p+"3e055288b38d72c85f51135cb1f594ed.svg"},function(e,t,n){e.exports=n.p+"a9c6ebdb934525e428efe6d36e9552a9.svg"},function(e,t,n){e.exports=n.p+"274035ca8eff944cb317533b3093f173.svg"},function(e,t,n){e.exports=n.p+"71bf9b31162691d5bf97577a77f8e02b.svg"},function(e,t,n){e.exports=n.p+"0a6590e811c0fd46ef81a7a96845ea03.svg"},function(e,t,n){e.exports=n.p+"e4fe6f3a25bdcfbfccaeb67f5bbc1884.svg"},function(e,t,n){e.exports=n.p+"eef4a7950b00b5b8f916ac4c3a73106c.svg"},function(e,t,n){e.exports=n.p+"576491c1b9ad7a79b5dc9649dea66805.svg"},function(e,t,n){e.exports=n.p+"be3674dfe83de7b94ae4ed2bab3da8a6.svg"},function(e,t,n){e.exports=n.p+"e634993a52b48cdf32505de99dc71192.svg"},function(e,t,n){e.exports=n.p+"ea887e7960cb2d5c876c910bdf55d068.svg"},function(e,t,n){e.exports=n.p+"0d9e341a5ff1e9d55e691cc7d86f05bd.svg"},function(e,t,n){e.exports=n.p+"7d15a79b1f1d1a18e9fc874a084c6d6c.svg"},function(e,t,n){e.exports=n.p+"d6e12f410c99374f88879450daaaced9.svg"},function(e,t,n){e.exports=n.p+"4f7f755e1f3af2ecc5eea3540cd16527.svg"},function(e,t,n){e.exports=n.p+"d5b6040243084dc53e2baa2acf9af348.svg"},function(e,t,n){e.exports=n.p+"c37ade23949ebed54ca304e548c55b72.svg"},function(e,t,n){e.exports=n.p+"9b31686eaf7d89d4ed2449a2fb0b3808.svg"},function(e,t,n){e.exports=n.p+"8772fb03a8ca53be1b06a7d7a0020dbf.svg"},function(e,t,n){e.exports=n.p+"69ec6070d431cbf7843575f3d3bff7bd.svg"},function(e,t,n){e.exports=n.p+"1609b10f7c77f3f19d48b12e227004ad.svg"},function(e,t,n){e.exports=n.p+"b839169ecf4b7b147129f96e369e055a.svg"},function(e,t,n){e.exports=n.p+"99176ba5499c1a3fa03ab6030f9a3ccb.svg"},function(e,t,n){e.exports=n.p+"ef166777e2f79997d529055dc66f0ab7.svg"},function(e,t,n){e.exports=n.p+"5d831ad22096d754a2d4961374aa9f7a.svg"},function(e,t,n){e.exports=n.p+"1f90b12fb5df52074f2f863802f09382.svg"},function(e,t,n){e.exports=n.p+"8ad04dbb11c573c22adf06a81995dbcd.svg"},function(e,t,n){e.exports=n.p+"a08de47989183721f1f2b5ef9a55f4dd.svg"},function(e,t,n){e.exports=n.p+"25046a389b90a8a726140e60bd2230fe.svg"},function(e,t,n){e.exports=n.p+"36de8dcb664c9f7a53e63c529109f597.svg"},function(e,t,n){e.exports=n.p+"842b662764dbaea4bb6f2f2302b0a8c6.svg"},function(e,t,n){e.exports=n.p+"53ea320d6c861f822762b4a2735dd9a8.svg"},function(e,t,n){e.exports=n.p+"03a7095ff4fb6450153094ecb26b236d.svg"},function(e,t,n){e.exports=n.p+"1ad5f8565cbd0a102c74bcf9f6b1cb27.svg"},function(e,t,n){e.exports=n.p+"69ecac0ac98e32818713df874abc5ea6.svg"},function(e,t,n){e.exports=n.p+"a5428e27d8a94903955aa47b9588a4f1.svg"},function(e,t,n){e.exports=n.p+"413d1ebdefa088a085c4326ceb0052dc.svg"},function(e,t,n){e.exports=n.p+"6f5bda185520a8233a7ee99e57c2c0d9.svg"},function(e,t,n){e.exports=n.p+"66ab7f72e745ac8b2ccd0cd920b1d4e8.svg"},function(e,t,n){e.exports=n.p+"398e9e01dc5a7cca25fdb0a72270a0e1.svg"},function(e,t,n){e.exports=n.p+"e89210e40f25ad35aeadbd2c204025e5.svg"},function(e,t,n){e.exports=n.p+"a66bc91624cea86566605ac1e2e44f3b.svg"},function(e,t,n){e.exports=n.p+"cd8155b9922404ca5fab57ea1cd2c4c0.svg"},function(e,t,n){e.exports=n.p+"583c37730c928c6d3b061af53ad749f4.svg"},function(e,t,n){e.exports=n.p+"c9fa5a58142d229cf34ed71b0c213384.svg"},function(e,t,n){e.exports=n.p+"d91cb297561a6bc50f8c6918d428bc61.svg"},function(e,t,n){e.exports=n.p+"54b027c5a0fdb9c92545820e12544ab4.svg"},function(e,t,n){e.exports=n.p+"2ca36a6407640df119f1cac98a4fde48.svg"},function(e,t,n){e.exports=n.p+"e97b992acec4ceea9cf5412d65c38332.svg"},function(e,t,n){e.exports=n.p+"88f07ff3608e596846433af12af1449c.svg"},function(e,t,n){e.exports=n.p+"c4424d3d5068cba14a10467cfafd6580.svg"},function(e,t,n){e.exports=n.p+"b9248f302c72a7bf6000495bc443229c.svg"},function(e,t,n){e.exports=n.p+"b542a360ed4cdceeac3bca73b455ebc6.svg"},function(e,t,n){e.exports=n.p+"2faf0368f5faf385b807cb7b8b36a7b8.svg"},function(e,t,n){e.exports=n.p+"d0b3037b528406cab8072a6c30cb3267.svg"},function(e,t,n){e.exports=n.p+"3391ce4715f3c814d6067911438e5bf7.svg"},function(e,t,n){e.exports=n.p+"7be2358758e81e1ab253eb071a9527c7.svg"},function(e,t,n){e.exports=n.p+"09c5f5a8214d180fd33997a0f6f332e2.svg"},function(e,t,n){e.exports=n.p+"e14bea9653868307f4d1e70fa17e2535.svg"},function(e,t,n){e.exports=n.p+"a5054ee2699eac86708c28d32dcc087d.svg"},function(e,t,n){e.exports=n.p+"47f10f1fb3beec3810f0f37cf4cccd95.svg"},function(e,t,n){e.exports=n.p+"124c49c6b3c5a9664053fe7ca23a20b6.svg"},function(e,t,n){e.exports=n.p+"972f4783c40bf1217f007fcfd944ac30.svg"},function(e,t,n){e.exports=n.p+"3cde66c399ecfb908ead029f0f1f7e5e.svg"},function(e,t,n){e.exports=n.p+"ff85a1aae50ad48506e3275656768e89.svg"},function(e,t,n){e.exports=n.p+"88de0a41aeb09fc3b3d1258d1f94228d.svg"},function(e,t,n){e.exports=n.p+"5edf36be746bc578274b74ca2b360db1.svg"},function(e,t,n){e.exports=n.p+"c8a34a6a05436624f8c1579871333c72.svg"},function(e,t,n){e.exports=n.p+"3f743d1073c0662bcc72eb6b55541f5e.svg"},function(e,t,n){e.exports=n.p+"168846893df62b3f7279874c122ff488.svg"},function(e,t,n){e.exports=n.p+"295860beaa5c80f427ca012b50e46634.svg"},function(e,t,n){e.exports=n.p+"7c010dc6da25c012643ea22c1f002bb4.svg"},function(e,t,n){e.exports=n.p+"ab226fe832acc948e9f974decd04a4f0.svg"},function(e,t,n){e.exports=n.p+"6201503f3aa918470a2190b36d1e196f.svg"},function(e,t,n){e.exports=n.p+"66f6c781fe86c346fbaf3390618668fc.svg"},function(e,t,n){e.exports=n.p+"626aaed496ac12bbdb68a86b46871a1f.svg"},function(e,t,n){e.exports=n.p+"b45af785b0e648fe2fb7e318a6b8010c.svg"},function(e,t,n){e.exports=n.p+"cb91d362742dcc886e4a4c3f981f3365.svg"},function(e,t,n){e.exports=n.p+"e461bb3847973d47822fdc79d66f494d.svg"},function(e,t,n){e.exports=n.p+"54b9902837fed72b7551edb77b30b96e.svg"},function(e,t,n){e.exports=n.p+"2e41bfdeba797283ee9da9bb439c3ece.svg"},function(e,t,n){e.exports=n.p+"6f75b58eb746d08c2c18451573876292.svg"},function(e,t,n){e.exports=n.p+"913e66b19410c0ca3e71fe837a29e093.svg"},function(e,t,n){e.exports=n.p+"817f965bd1fd796777908e6c8052d665.svg"},function(e,t,n){e.exports=n.p+"e55f552bd0b1cf368b466422408c8401.svg"},function(e,t,n){e.exports=n.p+"5f80f04e6ee97feebdd00feff92ced82.svg"},function(e,t,n){e.exports=n.p+"480eb6b0f6c22cbc1d98d6ff93e1edc1.svg"},function(e,t,n){e.exports=n.p+"fa9b378aed10bba1aea54ca34e76fe4b.svg"},function(e,t,n){e.exports=n.p+"4f57f2120dbe61deda4eb15ea2fd3559.svg"},function(e,t,n){e.exports=n.p+"19581aca5d78feac3a180971f24d399b.svg"},function(e,t,n){e.exports=n.p+"6d8c8a8219b45458260ab4843f383b76.svg"},function(e,t,n){e.exports=n.p+"2ea1f6bba4448fa4e8d9504fe976095d.svg"},function(e,t,n){e.exports=n.p+"fc5c8aa09047ef94d2c380891feff0f4.svg"},function(e,t,n){e.exports=n.p+"e6fe72eb79ef6258554b1385259df5d1.svg"},function(e,t,n){e.exports=n.p+"2651df01b16f9037f954d7bfe6a535f4.svg"},function(e,t,n){e.exports=n.p+"81a553e7c02c5dd144e40888c4b2faad.svg"},function(e,t,n){e.exports=n.p+"d5d060921efbed7794c0d8087ba4cf58.svg"},function(e,t,n){e.exports=n.p+"ac30cfcc3533da0c03cc80bbc3e63db6.svg"},function(e,t,n){e.exports=n.p+"10f25947b6687b5b103e131ca82826ab.svg"},function(e,t,n){e.exports=n.p+"c9030d84bb2453fbba42c7c1896dbde8.svg"},function(e,t,n){e.exports=n.p+"8220f7a8492a41bd571c315954aeb9b9.svg"},function(e,t,n){e.exports=n.p+"08b9e24092ee146b9e071e89049c1055.svg"},function(e,t,n){e.exports=n.p+"a114d57f38f4921991a16893f9525421.svg"},function(e,t,n){e.exports=n.p+"4a1e59abafc2145af813eda8bf82a49d.svg"},function(e,t,n){e.exports=n.p+"3f4e3f10b0a177426ca14b381445ca3b.svg"},function(e,t,n){e.exports=n.p+"f6d30507f4baee759bc9d7e5c0d3ba4f.svg"},function(e,t,n){e.exports=n.p+"00faf33e229084cb56d8a51c9130761a.svg"},function(e,t,n){e.exports=n.p+"1344a726dc134bff094a84ff60ea934d.svg"},function(e,t,n){e.exports=n.p+"7e1efa56e2112cb69d5d6c205d2c454a.svg"},function(e,t,n){e.exports=n.p+"c57f781369d6761064207b216ab66d1e.svg"},function(e,t,n){e.exports=n.p+"92a2ca0b8a4ec9474a0b1e1a953262a9.svg"},function(e,t,n){e.exports=n.p+"f467d08bfa67807c2b3dc6e0d1495fe1.svg"},function(e,t,n){e.exports=n.p+"7d9b0ce939d6486f22cf0111f0f815d6.svg"},function(e,t,n){e.exports=n.p+"387d45cfc608c20850306f85bc143f09.svg"},function(e,t,n){e.exports=n.p+"7f36e54469b941cf193a1a19baf2b806.svg"},function(e,t,n){e.exports=n.p+"c4a0dcc8ff99eb77285d772b6b577389.svg"},function(e,t,n){e.exports=n.p+"f7b3f6b926cb31a17d4928d076febab4.svg"},function(e,t,n){e.exports=n.p+"7669a083750f34a23def85b9afe351ab.svg"},function(e,t,n){e.exports=n.p+"2312e90b9fc75749149a200817b952f2.svg"},function(e,t,n){e.exports=n.p+"f2d2c885c71d7c98b53fc15216e34e87.svg"},function(e,t,n){e.exports=n.p+"b6e59899d18889c76321b4cb546b30b9.svg"},function(e,t,n){e.exports=n.p+"81195a9847a459acbb2b680a70357728.svg"},function(e,t,n){e.exports=n.p+"b4a967b8b0d6fea5994d4efdbe07f354.svg"},function(e,t,n){e.exports=n.p+"fd077d826b040d6c8b895de3b7585c25.svg"},function(e,t,n){e.exports=n.p+"711ac22a92d00f844023ded91f820e8c.svg"},function(e,t,n){e.exports=n.p+"8a44746659bab9f133830029b166edff.svg"},function(e,t,n){e.exports=n.p+"08cf46d4be10cd96a7f69a8b372d1425.svg"},function(e,t,n){e.exports=n.p+"cffbe7d3b392eec446456db6adea7704.svg"},function(e,t,n){e.exports=n.p+"63164bb66f2c9c65db1b1f7cf554a968.svg"},function(e,t,n){e.exports=n.p+"2993ada413223a149555f5f68198043f.svg"},function(e,t,n){e.exports=n.p+"e96ed3e46f59af0b9b7b49e3cb4e59f7.svg"},function(e,t,n){e.exports=n.p+"4557741be111e94ca7083abf39422a30.svg"},function(e,t,n){e.exports=n.p+"ef2af7fab48463e72a3a7f0f8fb4fb4e.svg"},function(e,t,n){e.exports=n.p+"d4d91a5f31668dd4609a3d7522f722c5.svg"},function(e,t,n){e.exports=n.p+"e25128510c26b0aad9d71bc6cf49df67.svg"},function(e,t,n){e.exports=n.p+"ddd2c1bf4d9e5afa87394a52f1832fe4.svg"},function(e,t,n){e.exports=n.p+"551f9d76028c39299e0bc9bc20cd0e0d.svg"},function(e,t,n){e.exports=n.p+"509c4f6bb9b71c5d9551357942e11f12.svg"},function(e,t,n){e.exports=n.p+"3068417ae7f1a7c5c2ba60ab1aa1fb62.svg"},function(e,t,n){e.exports=n.p+"9dc0c15c9e35f7ba86150ae12e895d29.svg"},function(e,t,n){e.exports=n.p+"da3651e59d6006dfa5fa07ec3102d1f3.svg"},function(e,t,n){e.exports=n.p+"559c3311dcdb3f23b7fb745559207db9.svg"},function(e,t,n){e.exports=n.p+"8210e7f5bf5e03f5dee15f6ce4232feb.svg"},function(e,t,n){e.exports=n.p+"e4bafeefcfd535fb36d72b4102ca89af.svg"},function(e,t,n){e.exports=n.p+"aa87472d8cff75ffa04a48454d46d7c8.svg"},function(e,t,n){e.exports=n.p+"990d05052d07ceb7794619c1abf32da0.svg"},function(e,t,n){e.exports=n.p+"9618b50a9153e13446d5239cfcb5501f.svg"},function(e,t,n){e.exports=n.p+"7e2e8796afd5c215461046b0cf9b868b.svg"},function(e,t,n){e.exports=n.p+"c845d2d835955e12d212d26c0593a49c.svg"},function(e,t,n){e.exports=n.p+"522a8d8ef52265787b785482fbf88735.svg"},function(e,t,n){e.exports=n.p+"a46c7ac83683d024183cc74925c07428.svg"},function(e,t,n){e.exports=n.p+"a59f14e5601d196f409a79cfde146ab3.svg"},function(e,t,n){e.exports=n.p+"538bac4f357c812fa136ed3198fd1e5e.svg"},function(e,t,n){e.exports=n.p+"65379e75f4c1fff032f58936364a2d1c.svg"},function(e,t,n){e.exports=n.p+"920a27f462f5094e93b2764ee9c86e16.svg"},function(e,t,n){e.exports=n.p+"8c4cedc551e2f84cdffa591b3d573f97.svg"},function(e,t,n){e.exports=n.p+"96edea1b25cd421b90b1c8df2db6c2b5.svg"},function(e,t,n){e.exports=n.p+"2899cc3275777a6d9a2986dd1440c880.svg"},function(e,t,n){e.exports=n.p+"0963f6c910f6b6b90847631be9cbdcb9.svg"},function(e,t,n){e.exports=n.p+"275159f063e49c0443b28cfce651a666.svg"},function(e,t,n){e.exports=n.p+"836f55532a453bb6c39638ce5c21ba38.svg"},function(e,t,n){e.exports=n.p+"c7af2697784341b59be0ec006555f2fb.svg"},function(e,t,n){e.exports=n.p+"4c1ea62bf8fde61bc7dea77e1b14fe80.svg"},function(e,t,n){e.exports=n.p+"5bd68fb9086ce1f7402f36d5d10c39fb.svg"},function(e,t,n){e.exports=n.p+"37af92e28f861bdd02103ebdc7d59e1a.svg"},function(e,t,n){e.exports=n.p+"3250d2cc557ac2dcd9c4f2987bd7a1db.svg"},function(e,t,n){e.exports=n.p+"bc176e6c3413dbe53bdabe275142643c.svg"},function(e,t,n){e.exports=n.p+"623b8a4f322030c5c0844d9e55b54a3b.svg"},function(e,t,n){e.exports=n.p+"550a3008fa852f848c9cf5d7071d027f.svg"},function(e,t,n){e.exports=n.p+"0133d2f2f9b15044012435afb8ba2b13.svg"},function(e,t,n){e.exports=n.p+"f1403ee5b0610a493e453e9c8c66b145.svg"},function(e,t,n){e.exports=n.p+"08d25cfc2a331a9f4c717e40a87be188.svg"},function(e,t,n){e.exports=n.p+"65abdc01764266f7df480af26b24a545.svg"},function(e,t,n){e.exports=n.p+"9c2951e9e5472ba14a2d6a76c661deb1.svg"},function(e,t,n){e.exports=n.p+"e3d86737aa88eecd1663a5682b80e5be.svg"},function(e,t,n){e.exports=n.p+"bd3d22b6f76087bcb9630dba7ab5451e.svg"},function(e,t,n){e.exports=n.p+"1b1af1650a397c8a1870338ddcaf5532.svg"},function(e,t,n){e.exports=n.p+"c173f908105bc50c398824cd79718c1a.svg"},function(e,t,n){e.exports=n.p+"2a621dab73905adc65c79bd717101420.svg"},function(e,t,n){e.exports=n.p+"b71b0f575c9195596d081002a6ea3dcb.svg"},function(e,t,n){e.exports=n.p+"929ff0beced5fae703eddd219e00bc71.svg"},function(e,t,n){e.exports=n.p+"4d1b3ca79ffa4e217cd17f65c1493693.svg"},function(e,t,n){e.exports=n.p+"758741537217e54a2a3aa867f967254b.svg"},function(e,t,n){e.exports=n.p+"9b8bb015731f4df944fe8fe1d8cf1a57.svg"},function(e,t,n){e.exports=n.p+"e6ca6bfa7d78e651f6ec49034168aff5.svg"},function(e,t,n){e.exports=n.p+"1d33c9a8fc7131c4d64796f046ec5a31.svg"},function(e,t,n){e.exports=n.p+"cf35bc218d53bace117eaf8d0a65d40a.svg"},function(e,t,n){e.exports=n.p+"457e90908912e9aa3c8241a1b399b9f8.svg"},function(e,t,n){e.exports=n.p+"e146bf30eff14755c88bdf6dc175cecd.svg"},function(e,t,n){e.exports=n.p+"4b0580098b30b58eee577bb13f14c6bf.svg"},function(e,t,n){e.exports=n.p+"ce81c1d5260e044f06729efff609778b.svg"},function(e,t,n){e.exports=n.p+"07ce262a33b8abf5f638f1de539fbd9c.svg"},function(e,t,n){e.exports=n.p+"e9b9aa1d3bf7e4d383ab44dda43618f8.svg"},function(e,t,n){e.exports=n.p+"cc15ee7d19541b9ee217768b7921d000.svg"},function(e,t,n){e.exports=n.p+"675d17a3ebb1029ee1405a8d60ab8031.svg"},function(e,t,n){e.exports=n.p+"4175bacb70ded99827b450575737ad1a.svg"},function(e,t,n){e.exports=n.p+"18386212a23d1d9eb2014f2a96c3a8c6.svg"},function(e,t,n){e.exports=n.p+"a5aefa53dd12db3e911bf24b5ab4e478.svg"},function(e,t,n){e.exports=n.p+"ff686eb311c897278950bd29a9113990.svg"},function(e,t,n){e.exports=n.p+"3096aae4bb3afd6cb72252000ee4e4f2.svg"},function(e,t,n){e.exports=n.p+"32e41552cda9f1af61ef37a583017d18.svg"},function(e,t,n){e.exports=n.p+"8802422d1f3808b2004625833b6f1225.svg"},function(e,t,n){e.exports=n.p+"781225a875b56a87c6fcb1c7d02e9f08.svg"},function(e,t,n){e.exports=n.p+"bcab3e4095023cb7338642e9a895568e.svg"},function(e,t,n){e.exports=n.p+"c6c31d836d81bd52d50284756fa87c01.svg"},function(e,t,n){e.exports=n.p+"7f04d1ac64b62eaadc9c0a9b5c8cf14d.svg"},function(e,t,n){e.exports=n.p+"79c448a90825fc870334d2e6ed9f26d1.svg"},function(e,t,n){e.exports=n.p+"c38d79c8b75507df69ea7682c5d829de.svg"},function(e,t,n){e.exports=n.p+"cd187e1a441654b319d11b7ea6d5f133.svg"},function(e,t,n){e.exports=n.p+"27538637717bd93fd6d9fae4bdbf1d11.svg"},function(e,t,n){e.exports=n.p+"16ec0f5f36a740e54c01933dc9626a52.svg"},function(e,t,n){e.exports=n.p+"96f5786c086214c286f78d82d19be355.svg"},function(e,t,n){e.exports=n.p+"0fa69ee0fa238cfbcf010550e5ed0b9f.svg"},function(e,t,n){e.exports=n.p+"4df8624eb02ecc90630e70cb22d5364e.svg"},function(e,t,n){e.exports=n.p+"3eb25b48e33eac40ae23aaaefa6b0ff9.svg"},function(e,t,n){e.exports=n.p+"bd62dd372c32648f02e2fe8b529d94f0.svg"},function(e,t,n){e.exports=n.p+"73eb28d646c1d52066a6fd8b9d9da955.svg"},function(e,t,n){e.exports=n.p+"f6029c315568bbf96b2b6a6887989ffb.svg"},function(e,t,n){e.exports=n.p+"fdf726a9235852e13210425da64e9315.svg"},function(e,t,n){e.exports=n.p+"5ec067af98b2b306970b1530b5d84f29.svg"},function(e,t,n){e.exports=n.p+"7409af062a65b243c9f59780d17596e0.svg"},function(e,t,n){e.exports=n.p+"34a01dd719f96040bf3b79d8f4545db0.svg"},function(e,t,n){e.exports=n.p+"62fb6e97b95a33cc8880823a0757e7df.svg"},function(e,t,n){e.exports=n.p+"ba431d6ffa85449aca277d36b401519e.svg"},function(e,t,n){e.exports=n.p+"0989e7fdee4729b41c6848209cc7e1ba.svg"},function(e,t,n){e.exports=n.p+"f96c2a36447a02edf8c730e7defbe96f.svg"},function(e,t,n){e.exports=n.p+"907e557883c61add1e37382c4bb432ff.svg"},function(e,t,n){e.exports=n.p+"94fa86a314386a8a4fd32ca002c89c62.svg"},function(e,t,n){e.exports=n.p+"5940802b4a7207362f1dfc66cfd8cf50.svg"},function(e,t,n){e.exports=n.p+"4f6f1ceea1cf9007087d1fe227b3d5db.svg"},function(e,t,n){e.exports=n.p+"5aa57853bd756632c263b188bf5bd5b1.svg"},function(e,t,n){e.exports=n.p+"107a3f1dccb93795ab6ff4c9ed5a2858.svg"},function(e,t,n){e.exports=n.p+"c5bc135f86ac4174f921584d8fd32381.svg"},function(e,t,n){e.exports=n.p+"dd19c7c967123e49d4cc73f3d99e3670.svg"},function(e,t,n){e.exports=n.p+"394756eef766f51c91722da9430e1d8f.svg"},function(e,t,n){e.exports=n.p+"430da7ab6af2c365166e8908c660da7b.svg"},function(e,t,n){e.exports=n.p+"62cd24f5ea190fc76358adb770f49588.svg"},function(e,t,n){e.exports=n.p+"05fa874208781b1ae35297503bbd53f8.svg"},function(e,t,n){e.exports=n.p+"5f772312b7c3018a1ee8eec5cf8f1d6b.svg"},function(e,t,n){e.exports=n.p+"ed4573f772198e869e8f98a110b0315a.svg"},function(e,t,n){e.exports=n.p+"bd50f4e7d27719b697c8c09782e56059.svg"},function(e,t,n){e.exports=n.p+"5f85cdd26ef114949f19dafbc70b40ae.svg"},function(e,t,n){e.exports=n.p+"8f32e6b636a8d98fb9f12a18dfe5cb1f.svg"},function(e,t,n){e.exports=n.p+"2267c3f0fe7bb99da85539696c3fec6e.svg"},function(e,t,n){e.exports=n.p+"d055024360a093d60f9e9c9765ff7406.svg"},function(e,t,n){e.exports=n.p+"29747cff972f544b8bfb778f845377da.svg"},function(e,t,n){e.exports=n.p+"c9ea268aa7b6429ad0bab9f948e5d813.svg"},function(e,t,n){e.exports=n.p+"619b8047a38b082a5d5f808f07216fe1.svg"},function(e,t,n){e.exports=n.p+"85e6263e12bb986b19291107d7ba11c7.svg"},function(e,t,n){e.exports=n.p+"1b9243f446a480d34998956cfb3613e4.svg"},function(e,t,n){e.exports=n.p+"ca0402732a19790446fa2c6d43f5efd9.svg"},function(e,t,n){e.exports=n.p+"f07cb7c57e9b1a2ac75d59c2f1a65798.svg"},function(e,t,n){e.exports=n.p+"467cacfda14482ad4de55e92be42f368.svg"},function(e,t,n){e.exports=n.p+"a498bd05e70b5854049360918223e7be.svg"},function(e,t,n){e.exports=n.p+"bce655b1b6034dd8a7f37b35b626ee1b.svg"},function(e,t,n){e.exports=n.p+"4b6666f4d919e0b68965ec0b18ed0a68.svg"},function(e,t,n){e.exports=n.p+"0a82630356cb742a8f5a95b92ed0e67e.svg"},function(e,t,n){e.exports=n.p+"f23fcdc37adb1113ec6a629fcf5b7d33.svg"},function(e,t,n){e.exports=n.p+"8e9c54b22ffb8507caba8dea86edb291.svg"},function(e,t,n){e.exports=n.p+"d44a54c7600107ade937c9f262cf70aa.svg"},function(e,t,n){e.exports=n.p+"bcab4c6e6a98f0a5413eb9b111d9e4f6.svg"},function(e,t,n){e.exports=n.p+"7ebfe4e1b2c2e6172bade1960838fe2d.svg"},function(e,t,n){e.exports=n.p+"fcf78553740b6d379d28e1092fc293c9.svg"},function(e,t,n){e.exports=n.p+"f7569feeac6da4a8ac86e681151cc47d.svg"},function(e,t,n){e.exports=n.p+"3f0179c8a166b821969a153781d8d0f2.svg"},function(e,t,n){e.exports=n.p+"1904291ab1aa5d14b2adaaff23a578dd.svg"},function(e,t,n){e.exports=n.p+"748ff0e7b2f1f22adecad8463de25945.svg"},function(e,t,n){e.exports=n.p+"01075418f9647440ed04acabf3e8f7aa.svg"},function(e,t,n){e.exports=n.p+"f390f4d0cb6aaa013ddf18ce6615d821.svg"},function(e,t,n){e.exports=n.p+"fea5832461c20821b109170d73898118.svg"},function(e,t,n){e.exports=n.p+"9b24377f1cf5effcecb2853bc759d3fc.svg"},function(e,t,n){e.exports=n.p+"4a9111e181ea614235add9dfb096205c.svg"},function(e,t,n){e.exports=n.p+"654296028cc95c58b0f583ab5a61327b.svg"},function(e,t,n){e.exports=n.p+"2fc6570871bbfd545aff4faa71f58ec1.svg"},function(e,t,n){e.exports=n.p+"82c62425b59d06a0cb0cd18ef573466f.svg"},function(e,t,n){e.exports=n.p+"61cec822f6697dee4e983546ebdd8b63.svg"},function(e,t,n){e.exports=n.p+"3f418c6b8a8a1a13162f69716d83c9c0.svg"},function(e,t,n){e.exports=n.p+"0b777b823ec85f31d5936553733b68fa.svg"},function(e,t,n){e.exports=n.p+"9db1206a2ccb12d67bea2d47cc3e0d07.svg"},function(e,t,n){e.exports=n.p+"5539a6c427da1960a7db94febf02a01b.svg"},function(e,t,n){e.exports=n.p+"e7c8c0c4054cfa920b3501521955c158.svg"},function(e,t,n){e.exports=n.p+"93f6904835699e9b29676d18cae9abc5.svg"},function(e,t,n){e.exports=n.p+"664fdc23e521ee9c1c619a2b7c3c7b18.svg"},function(e,t,n){e.exports=n.p+"ab136c40e0d79d1ecda361d342b53050.svg"},function(e,t,n){e.exports=n.p+"c2aef75dcc13733edda4b2bbd35509a6.svg"},function(e,t,n){e.exports=n.p+"c8d3385524b2681cbb83d5f6dad308a2.svg"},function(e,t,n){e.exports=n.p+"1d1374021eaf78943dab417ef3bca421.svg"},function(e,t,n){e.exports=n.p+"b4cf68e705b8fe43fdcab0c37254ab5e.svg"},function(e,t,n){e.exports=n.p+"214a3c5c9606d28683ca427a72ecbbb0.svg"},function(e,t,n){e.exports=n.p+"53b7f069eafe8fd4fd29b1242eeb82e3.svg"},function(e,t,n){e.exports=n.p+"6722611d81e4e8f1349a2476b48f5a40.svg"},function(e,t,n){e.exports=n.p+"8f2709228308ba976978f5dfdf2543ff.svg"},function(e,t,n){e.exports=n.p+"56ddd9000c95d59159bd32c05a6463ba.svg"},function(e,t,n){e.exports=n.p+"f9652629575f1a1f55dc4e539e4027d3.svg"},function(e,t,n){e.exports=n.p+"c3c997035449530ae2bf3c4fccaf5cef.svg"},function(e,t,n){e.exports=n.p+"92f443d730355c96a209fa0d6d01d1ba.svg"},function(e,t,n){e.exports=n.p+"c023080478d4567e641e8c9dea4ff520.svg"},function(e,t,n){e.exports=n.p+"18862b80cffca5a1564e4c0609fa9a0a.svg"},function(e,t,n){e.exports=n.p+"efac1bfad4c725d65b24d04a0df85d4c.svg"},function(e,t,n){e.exports=n.p+"058fc206f7623f0071ea386e16e82e63.svg"},function(e,t,n){e.exports=n.p+"4f0733f2f2b923058a9c28b22daef33f.svg"},function(e,t,n){e.exports=n.p+"fc027cbabbb6d8f0b960a29786579d8a.svg"},function(e,t,n){e.exports=n.p+"13d3572a85cd6365f53a543c380f1dcf.svg"},function(e,t,n){e.exports=n.p+"6a3a372ebf68406a74c0a94a274b386e.svg"},function(e,t,n){e.exports=n.p+"8bf28e206919c45c61a78221968418d4.svg"},function(e,t,n){e.exports=n.p+"e636dbb25b6cabc9d0b5ba7df4d46e30.svg"},function(e,t,n){e.exports=n.p+"bbdd9507db13b6b19c40c1bc37705cc6.svg"},function(e,t,n){e.exports=n.p+"feafb7871b0d42641936211a695259d4.svg"},function(e,t,n){e.exports=n.p+"4d1301ea90bf99fb9318a9b8438ff628.svg"},function(e,t,n){e.exports=n.p+"b8937d3a8e7ee9b7991d368acd6b10ee.svg"},function(e,t,n){e.exports=n.p+"5ef8214974b898fe125358e0fad210d1.svg"},function(e,t,n){e.exports=n.p+"3d7df8a4a4dcfa89f8755d3200e2dbe2.svg"},function(e,t,n){e.exports=n.p+"29f253f2116a4ba58987ec4768634dbc.svg"},function(e,t,n){e.exports=n.p+"257937c92246bac4e78cd57e84e3987d.svg"},function(e,t,n){e.exports=n.p+"f13471dbe9cb24fd6685d0ceb54ccff4.svg"},function(e,t,n){e.exports=n.p+"85acdad3a3c754da14d31d3561051b42.svg"},function(e,t,n){e.exports=n.p+"bbc33a2765c9e570540377d41cb6362a.svg"},function(e,t,n){e.exports=n.p+"1b7d9fdf3c8f30b96cc4540d0397d4ae.svg"},function(e,t,n){e.exports=n.p+"d8fa05dba9403dc09d02f74edb374713.svg"},function(e,t,n){e.exports=n.p+"96ac826bfd73104e2f9dc72aaa7e5b6b.svg"},function(e,t,n){e.exports=n.p+"11463169f9dfe8fc57d8ca9eff7ab8f0.svg"},function(e,t,n){e.exports=n.p+"9a495f33d1114e0f9f91a3eb5090af81.svg"},function(e,t,n){e.exports=n.p+"cc41695a05541293cdedb6fff1be8563.svg"},function(e,t,n){e.exports=n.p+"b56e4108808ff9e886c75a135ccdb784.svg"},function(e,t,n){e.exports=n.p+"f5f43be48e7804a8265947d8dd64e430.svg"},function(e,t,n){e.exports=n.p+"77cc21ee15c109963eeb17581bbe4104.svg"},function(e,t,n){e.exports=n.p+"415fa55dc7f6a0a58dbdda2d33b29bf3.svg"},function(e,t,n){e.exports=n.p+"29362d6f43281e0f69076b520fb262b4.svg"},function(e,t,n){e.exports=n.p+"57501a31a2dc8e9f127b01c5981c7d71.svg"},function(e,t,n){e.exports=n.p+"f2d7eb6ae9c9fc4a4112d1ca4a5d9cec.svg"},function(e,t,n){e.exports=n.p+"944c0d3b832d55d9cd788260f8b26a0a.svg"},function(e,t,n){e.exports=n.p+"42cd19c00c2f5f199da38ec554635cbc.svg"},function(e,t,n){e.exports=n.p+"a5c2d247ff4ddb2b1e966320d46dbcab.svg"},function(e,t,n){e.exports=n.p+"442dd1525062b91820d91cf99dd645e5.svg"},function(e,t,n){e.exports=n.p+"acc1f217a15aeb408a4e6f8b09a1661b.svg"},function(e,t,n){e.exports=n.p+"baa9307b417571db11381b8c648692f8.svg"},function(e,t,n){e.exports=n.p+"b086f6ad3cba1e9b72e4fdda99995e74.svg"},function(e,t,n){e.exports=n.p+"7810abdb23cb3bc7a2ffb53a13dc8f83.svg"},function(e,t,n){e.exports=n.p+"a53c5c63b050e1ee14b9b1b4684df369.svg"},function(e,t,n){e.exports=n.p+"1dc8db91e1bbb857885b3768ac71ab1f.svg"},function(e,t,n){e.exports=n.p+"e0bb10124eba68a2f07886b86403b6fe.svg"},function(e,t,n){e.exports=n.p+"98277e0e3350fe35e102e67e83e9f827.svg"},function(e,t,n){e.exports=n.p+"95491ec991ab7813b1cf9a08fc27591b.svg"},function(e,t,n){e.exports=n.p+"c2b9ba438212a0dc876ed87636630c57.svg"},function(e,t,n){e.exports=n.p+"261c3534a746570279f47a60a3f70120.svg"},function(e,t,n){e.exports=n.p+"505d18f36bc693b3ccc510b7be041330.svg"},function(e,t,n){e.exports=n.p+"66b5af677441a51c2ff958ab664d1286.svg"},function(e,t,n){e.exports=n.p+"d031cc3e478e22659ccc57653a41aea8.svg"},function(e,t,n){e.exports=n.p+"ef6232bb2eb6296ef4d01f0e0f42633c.svg"},function(e,t,n){e.exports=n.p+"a0645eccb2a0a1de9966ecd7956acc43.svg"},function(e,t,n){e.exports=n.p+"c1b55e70bfea5c4824e4a55177568422.svg"},function(e,t,n){e.exports=n.p+"119e86efa4f6a047134c9ccd3cc3c5a4.svg"},function(e,t,n){e.exports=n.p+"312da0d93f342c7ecdd0ebee5bddce74.svg"},function(e,t,n){e.exports=n.p+"3d54353a4ea5e11663aa858d198289c5.svg"},function(e,t,n){e.exports=n.p+"4329f2e6bdba199d441b689cbcfb9c4c.svg"},function(e,t,n){e.exports=n.p+"1af8e7a525dc0678fe2ff70ec26684c0.svg"},function(e,t,n){e.exports=n.p+"37140af52a9bee083ce5e5e7547d5d9b.svg"},function(e,t,n){e.exports=n.p+"daf1ea6baf5c0dd535d8f6cd49a17cc6.svg"},function(e,t,n){e.exports=n.p+"21c6e35dd488d9a937cf5541660a4a60.svg"},function(e,t,n){e.exports=n.p+"961a76c1772969b3aaeb7274430c6e95.svg"},function(e,t,n){e.exports=n.p+"1960f1124863b6696b18aba56267168e.svg"},function(e,t,n){e.exports=n.p+"210338168b5d00372a88f3e0e0b9ee5c.svg"},function(e,t,n){e.exports=n.p+"e14debeca54a3456e447c9e61994732c.svg"},function(e,t,n){e.exports=n.p+"5a9fe9bdafe18e2769997f60316cf2e3.svg"},function(e,t,n){e.exports=n.p+"ca9900e982f51633708c017d8e5cef8c.svg"},function(e,t,n){e.exports=n.p+"7201d20947d7389d6914ec50d75bd697.svg"},function(e,t,n){e.exports=n.p+"e472dd0918b31d84864e95cfad851a16.svg"},function(e,t,n){e.exports=n.p+"17f877586ced178c1f46772b1b3fd5e7.svg"},function(e,t,n){e.exports=n.p+"d56992b2df5ce1d436c31088bb064b14.svg"},function(e,t,n){e.exports=n.p+"8c647eb5ba92ce2e93618da667f8c876.svg"},function(e,t,n){e.exports=n.p+"a205db3062f442f0761d56529c485742.svg"},function(e,t,n){e.exports=n.p+"0c72eea57ac1e9ee4908da4ac7f84976.svg"},function(e,t,n){e.exports=n.p+"6a356420b3c9387c896a74262e78edd1.svg"},function(e,t,n){e.exports=n.p+"f67a6bdc932ce2c87487b65bd243e8a0.svg"},function(e,t,n){e.exports=n.p+"0098709d735bd4ae1228c2665d0eda21.svg"},function(e,t,n){e.exports=n.p+"f028bdc22cf452b1312a7a4cd10a84c7.svg"},function(e,t,n){e.exports=n.p+"63a56f89f6b72b9ab70b82134e228363.svg"},function(e,t,n){e.exports=n.p+"1e14b077a569ddd1a0f6e1b54361b754.svg"},function(e,t,n){e.exports=n.p+"5c8a1bc5ac083808f6f0ea519a6d1c8e.svg"},function(e,t,n){e.exports=n.p+"404ba3a074a886afe7301dbbf0e485dd.svg"},function(e,t,n){e.exports=n.p+"a3de8eef5989f4fa979c0e6ffc33a34d.svg"},function(e,t,n){e.exports=n.p+"3a16830dcbf02942fc8a2ff3fbee68fa.svg"},function(e,t,n){e.exports=n.p+"a5fd8f21da24056419a2afdb2eb177d0.svg"},function(e,t,n){e.exports=n.p+"68d4ca73e49096ce6a724083e632e4d8.svg"},function(e,t,n){e.exports=n.p+"040cc17ef3a1c7daa80b2aacdcd5752d.svg"},function(e,t,n){e.exports=n.p+"44e8c5b6ffb57875dc213f0dc2d60dd2.svg"},function(e,t,n){e.exports=n.p+"9680424e7286bd6f615865f35ad53e6f.svg"},function(e,t,n){e.exports=n.p+"7f3423f0d46703e87fd05ea77e45118a.svg"},function(e,t,n){e.exports=n.p+"660f8acc8164369d9d5f2ba84c490670.svg"},function(e,t,n){e.exports=n.p+"0cb784cd70c2e57dfaeaf67e8673256e.svg"},function(e,t,n){e.exports=n.p+"8f6a229efe387d8c6748e74007ee4fed.svg"},function(e,t,n){e.exports=n.p+"95ab7ffb8d5e241e108c25f902509b2a.svg"},function(e,t,n){e.exports=n.p+"aed9b39359d1332acf621d489c6dc79a.svg"},function(e,t,n){e.exports=n.p+"49b93e5d61becf80a5dd32884b867e3a.svg"},function(e,t,n){e.exports=n.p+"b27ddde1cf4f8ae0f48aad5f4d9e6b72.svg"},function(e,t,n){e.exports=n.p+"911620b8cbc68d6f317a054be58977bd.svg"},function(e,t,n){e.exports=n.p+"07d9a4d6f4154a1b8ac8a75838948fe5.svg"},function(e,t,n){e.exports=n.p+"bed220030481eb31314f5ffce48ab558.svg"},function(e,t,n){e.exports=n.p+"2c25b28c7b9e33dadb6daf1f80c5d424.svg"},function(e,t,n){e.exports=n.p+"7f2ca4e46b1a59f8c08c4672f4a81515.svg"},function(e,t,n){e.exports=n.p+"9bbcbdbf898e8b03cbbc2c49273e247e.svg"},function(e,t,n){e.exports=n.p+"09703f994cc29ba95390adafc109a5ba.svg"},function(e,t,n){e.exports=n.p+"8806b9939c35714baf9f5bb5b0e1f5fa.svg"},function(e,t,n){e.exports=n.p+"979eda077154e01c720eba386173ca36.svg"},function(e,t,n){e.exports=n.p+"258f504cdda0f12abe03f9360724bfec.svg"},function(e,t,n){e.exports=n.p+"cd1bdce1611a7c1ff88f761a949413a3.svg"},function(e,t,n){e.exports=n.p+"8a374fe55f29aaa29114c8b49d301c0a.svg"},function(e,t,n){e.exports=n.p+"cbd219ee673dba70b2c9e39bfbf8f7d1.svg"},function(e,t,n){e.exports=n.p+"a01f52021777e58829cad9323b17371a.svg"},function(e,t,n){e.exports=n.p+"052c2cb602f1fe2bafb5900b67cf236a.svg"},function(e,t,n){e.exports=n.p+"5baead4e3ce7a0ded1977fcfeceb4176.svg"},function(e,t,n){e.exports=n.p+"ceea7dbdb52a88a800a3f538c27ab4f2.svg"},function(e,t,n){e.exports=n.p+"85062b7ca20c887bcbe93977b070b456.svg"},function(e,t,n){e.exports=n.p+"831b74f22f01cb59cc4ba8f64ec0c327.svg"},function(e,t,n){e.exports=n.p+"298f6b746370fda33a91d6748fd0c830.svg"},function(e,t,n){e.exports=n.p+"6c19371cf04137dfdd0de46a32c230fd.svg"},function(e,t,n){e.exports=n.p+"a2ba6861bf663df7158a5699cae07c1c.svg"},function(e,t,n){e.exports=n.p+"791e391602ab4e6b10c64f43095342b9.svg"},function(e,t,n){e.exports=n.p+"08148db134d007c67675a73a5c89bc19.svg"},function(e,t,n){e.exports=n.p+"182f6ee66279e4564729eedd02f113ef.svg"},function(e,t,n){e.exports=n.p+"2ff27b392104b9f10c0faa72f68e3fbd.svg"},function(e,t,n){e.exports=n.p+"3f0519f01b411bfdaf3fe311ea34b74c.svg"},function(e,t,n){e.exports=n.p+"5b294fcb8f365e9a9d9d45e7caa72856.svg"},function(e,t,n){e.exports=n.p+"553b3d5b39313e22a9f5864e7ea071f7.svg"},function(e,t,n){e.exports=n.p+"d77b8dbc29974f4cd6db18e4d8329be0.svg"},function(e,t,n){e.exports=n.p+"28a6206f93399999d1a908d5c45232ad.svg"},function(e,t,n){e.exports=n.p+"ad2e4d6e7b90ca6005a5038e22b099cc.svg"},function(e,t,n){e.exports=n.p+"ab7865e51cabbc0f7497b2ef0a28f503.svg"},function(e,t,n){e.exports=n.p+"2181fc530db1148d9539399397354547.svg"},function(e,t,n){e.exports=n.p+"039d43e53c13e4adfc1ea88b7b563b9d.svg"},function(e,t,n){e.exports=n.p+"68a9d96b5ca631e01277d2fba7811eb4.svg"},function(e,t,n){e.exports=n.p+"971eb19375e225dcace1026e67ca51f1.svg"},function(e,t,n){e.exports=n.p+"b325d2c8b0d4f7c4e71372f3b973c5e8.svg"},function(e,t,n){e.exports=n.p+"5870a5192561ceb1db7bd245d9d5c7b4.svg"},function(e,t,n){e.exports=n.p+"a069b0f6a6d79b5056dfc8a1f2cca4ad.svg"},function(e,t,n){e.exports=n.p+"59cda6e5f44b956f5dbd46c0dd1dc63e.svg"},function(e,t,n){e.exports=n.p+"12055ae4da82b5e45b83bbd1919d7836.svg"},function(e,t,n){e.exports=n.p+"054ec4de28473a5bcfdf1e7dc20a6711.svg"},function(e,t,n){e.exports=n.p+"3d1325998ccf6e8874185a82aa2a7d64.svg"},function(e,t,n){e.exports=n.p+"f8db26d08ff2e4af0f967ae1827bf8b6.svg"},function(e,t,n){e.exports=n.p+"d2b42f278672425e187ce745be2e2bcd.svg"},function(e,t,n){e.exports=n.p+"78ee9dac01fd40a3d1a22b5ee20c0710.svg"},function(e,t,n){e.exports=n.p+"17368d92d73b6f8b824d8925c474c91e.svg"},function(e,t,n){e.exports=n.p+"23a4feddccd956ca8bb5bc8049d07c01.svg"},function(e,t,n){e.exports=n.p+"ec28d8e0cea7737cc97081d10828c5b0.svg"},function(e,t,n){e.exports=n.p+"89266863a0183fbdd7b4524634f5ec8b.svg"},function(e,t,n){e.exports=n.p+"b633d391ab0f467ac71a7b459fefa4be.svg"},function(e,t,n){e.exports=n.p+"dbd26c4768e6ce541f5b857b4973226e.svg"},function(e,t,n){e.exports=n.p+"d5705ac7e416d39813ddf63c8d396102.svg"},function(e,t,n){e.exports=n.p+"4e697e73dee47d6a399f3d33d15a83b5.svg"},function(e,t,n){e.exports=n.p+"395a4608ed021406b8f0ad4506081996.svg"},function(e,t,n){e.exports=n.p+"f3dd95bf2c4f3a87f4e562760ab8082a.svg"},function(e,t,n){e.exports=n.p+"2b417f558f9e5063c0c5c9d348d4347e.svg"},function(e,t,n){e.exports=n.p+"0ca363e545e2f490cf4b852f5c8e0404.svg"},function(e,t,n){e.exports=n.p+"bb7aa875fe442f8c2c79e5b8b1e8c7c9.svg"},function(e,t,n){e.exports=n.p+"5c5c067826e5243e8228edd1dd6a69cc.svg"},function(e,t,n){e.exports=n.p+"d417205608f0ca8bbca73c1274ee5d5b.svg"},function(e,t,n){e.exports=n.p+"d791da7b1a23ecf6e79092f1e8d1f2ee.svg"},function(e,t,n){e.exports=n.p+"27f2e1682b9690924c87956971a3b3d2.svg"},function(e,t,n){e.exports=n.p+"bd5b969cd8a8621634726ea4d03505c4.svg"},function(e,t,n){e.exports=n.p+"befd9cacd69790122bb22306372ebc3d.svg"},function(e,t,n){e.exports=n.p+"c829443df39b9b4adfbc86ca6854dda8.svg"},function(e,t,n){e.exports=n.p+"24494e7542e5cb86e1821f11bcdad52e.svg"},function(e,t,n){e.exports=n.p+"75ef348f4fd073a0ee237584fa350ea6.svg"},function(e,t,n){e.exports=n.p+"0dbfbf14977e0fa1f094d00281332013.svg"},function(e,t,n){e.exports=n.p+"03c1065498cc4370b8e0deb867d14b80.svg"},function(e,t,n){e.exports=n.p+"3fa9750a187819d0bb9a2ce4fa4e61a5.svg"},function(e,t,n){e.exports=n.p+"08ad6577195036baf6de481b81c0c453.svg"},function(e,t,n){e.exports=n.p+"599a69e42323cd729713d99769324a8b.svg"},function(e,t,n){e.exports=n.p+"664094c83e37a7056f6584bd9f3f2773.svg"},function(e,t,n){e.exports=n.p+"2f99d51172fe3346316961fe4f67fe30.svg"},function(e,t,n){e.exports=n.p+"c9687b0b5a491edea9fbe438d316a341.svg"},function(e,t,n){e.exports=n.p+"dd35e632b9aac425f17ad59c85ecf9eb.svg"},function(e,t,n){e.exports=n.p+"0d8bbcf262e835b89d4f75a0cda241fe.svg"},function(e,t,n){e.exports=n.p+"c61131c53f9986ac8808d592c3019a7a.svg"},function(e,t,n){e.exports=n.p+"263a7f4eeb6f69e46d969fa479188592.svg"},function(e,t,n){e.exports=n.p+"267b527f1be941e367bce73444c96f3b.svg"},function(e,t,n){e.exports=n.p+"b67e65c2ab0428da786c1f53ebfd4243.svg"},function(e,t,n){e.exports=n.p+"aeb86343db64360cf19cd66eae4eb792.svg"},function(e,t,n){e.exports=n.p+"8c470a3905bbc669c74de491c812b8fc.svg"},function(e,t,n){e.exports=n.p+"1539517cf9dffcecd98a5adfb8e32900.svg"},function(e,t,n){e.exports=n.p+"440c3c0546c4d779dfead9edd45db3e1.svg"},function(e,t,n){e.exports=n.p+"59452bf1b005e6f315338aad11c2243d.svg"},function(e,t,n){e.exports=n.p+"350f25c2297fecb66d92c0fc9cf01937.svg"},function(e,t,n){e.exports=n.p+"4cc63989873551be9218f8219326eb62.svg"},function(e,t,n){e.exports=n.p+"f71ed20d4938704495e41731dfd0b1df.svg"},function(e,t,n){e.exports=n.p+"4b09495ffbea06f18998d9bd3c3a7abe.svg"},function(e,t,n){e.exports=n.p+"ab6568f8bff3d353cbc373b00a7ff37d.svg"},function(e,t,n){e.exports=n.p+"7a4b02348b453b83d9d5eddff21c6b4b.svg"},function(e,t,n){e.exports=n.p+"793b82ac800030928994e43e91d2cc90.svg"},function(e,t,n){e.exports=n.p+"29e1f3826b6e67ef9c25140c83a5d802.svg"},function(e,t,n){e.exports=n.p+"03f72fd05c4c4465f374e341d77f089f.svg"},function(e,t,n){e.exports=n.p+"d35c1ded71f65290c24615ef06ad19ea.svg"},function(e,t,n){e.exports=n.p+"3a37de3c540d8f2ba4e9047ad631af1c.svg"},function(e,t,n){e.exports=n.p+"bc42d978a15e36408ac95d222395335f.svg"},function(e,t,n){e.exports=n.p+"805da37fec8479154e9d681ebf7fcbcd.svg"},function(e,t,n){e.exports=n.p+"1d2621e5852646cb449ff778ff014969.svg"},function(e,t,n){e.exports=n.p+"ac124a11bad5b752efef1812af0c5065.svg"},function(e,t,n){e.exports=n.p+"691e1346eda4d84c351044dd7e6f8221.svg"},function(e,t,n){e.exports=n.p+"999adeb9199b2523de72f28c3aed1aac.svg"},function(e,t,n){e.exports=n.p+"36dded763cc3aa4b4e798a8c5d32ad5c.svg"},function(e,t,n){e.exports=n.p+"b38e512f3b6a5d190650f956d0a43e1a.svg"},function(e,t,n){e.exports=n.p+"94801ab47a5a573b00876e2d35fb9f44.svg"},function(e,t,n){e.exports=n.p+"57bfd99d6b61e4fd9be0ecec7f661cf7.svg"},function(e,t,n){e.exports=n.p+"8e483e5c659fd05e3194936f63ea2ba2.svg"},function(e,t,n){e.exports=n.p+"e67297f9ccdf5ee457fff229ec2deb8b.svg"},function(e,t,n){e.exports=n.p+"741b7103a8f04432313c963e462886fb.svg"},function(e,t,n){e.exports=n.p+"cef6139ee2105a15d87277eda9ae0c72.svg"},function(e,t,n){e.exports=n.p+"bfe98075124bdb8b6ac3c7f040774efb.svg"},function(e,t,n){e.exports=n.p+"f40c51d7e4257be8edc62e02fe787937.svg"},function(e,t,n){e.exports=n.p+"812cb33188d430312d85f4de3e4bb5c6.svg"},function(e,t,n){e.exports=n.p+"ff1a0335ce80419b159d6ce93ace23b4.svg"},function(e,t,n){e.exports=n.p+"48acd48e3f3aadcb841b8115c0324743.svg"},function(e,t,n){e.exports=n.p+"3608579e9183dc13a7eadad0fba7b2a4.svg"},function(e,t,n){e.exports=n.p+"774493fe2b2046e74fbb2f1a54b7ac16.svg"},function(e,t,n){e.exports=n.p+"093949d259169bc4d540b065462277de.svg"},function(e,t,n){e.exports=n.p+"35d41bc20e433b649f9ca702e4449eba.svg"},function(e,t,n){e.exports=n.p+"def622214d5ad39278ec2600c197000a.svg"},function(e,t,n){e.exports=n.p+"2cebe8708185decab3d03f674a193a8a.svg"},function(e,t,n){e.exports=n.p+"7d3e26500f8a61a424f819958e1556b7.svg"},function(e,t,n){e.exports=n.p+"5d76b9f37a6c2d952106c0d8c71a7ec8.svg"},function(e,t,n){e.exports=n.p+"3dc67b93bfac1fa91815569ffd22a874.svg"},function(e,t,n){e.exports=n.p+"c18f8f63a3232a0d246868b4d9f20f7b.svg"},function(e,t,n){e.exports=n.p+"19fc9fc6001951c7370b1fd74e1570f1.svg"},function(e,t,n){e.exports=n.p+"8212db2111debc4acc49ceb20cbfbdf0.svg"},function(e,t,n){e.exports=n.p+"567230faa19ec889fad5613630597049.svg"},function(e,t,n){e.exports=n.p+"bcee365bd88b9ad34961293f870fbc65.svg"},function(e,t,n){e.exports=n.p+"7db949cd37e5e7c2623249272d9b3ea7.svg"},function(e,t,n){e.exports=n.p+"53afc1d327bfc0e93db70f19031dda3d.svg"},function(e,t,n){e.exports=n.p+"50c86571a05706b95d90d948e50c07f1.svg"},function(e,t,n){e.exports=n.p+"94abfeb751d16e1d050ce1fca7817b27.svg"},function(e,t,n){e.exports=n.p+"4b606ec1f384ab6a812d0eb7c6dfc288.svg"},function(e,t,n){e.exports=n.p+"a8a61a3b61c2ffdeb9e3ece65c818b32.svg"},function(e,t,n){e.exports=n.p+"fc55a0b669a11aee693dd249af519abb.svg"},function(e,t,n){e.exports=n.p+"8541b3067327c36a0343dca642c6a62a.svg"},function(e,t,n){e.exports=n.p+"e6d8ab86226242c9b3505d6430bb5270.svg"},function(e,t,n){e.exports=n.p+"ef218a0b037cc59bbc287778dc19d739.svg"},function(e,t,n){e.exports=n.p+"dea442643ec94fc96dbe8b1a9d5ec172.svg"},function(e,t,n){e.exports=n.p+"bde1e7ae8d15868e613a8f0e4263cb31.svg"},function(e,t,n){e.exports=n.p+"3f0e2af86f4f1843855994a4353c38ca.svg"},function(e,t,n){e.exports=n.p+"5a4d827bd7b61eb1ed3a3c17b885eb19.svg"},function(e,t,n){e.exports=n.p+"8afb6cf24e748da3745958ed50f55dd9.svg"},function(e,t,n){e.exports=n.p+"190e9262baadf08c2c87e776017ed65e.svg"},function(e,t,n){e.exports=n.p+"6e014f8c0b0641b4aa08366c1ee33e7f.svg"},function(e,t,n){e.exports=n.p+"2b5dd64f0e98417ee815db4e47e9e499.svg"},function(e,t,n){e.exports=n.p+"2b7369da4c95a00663061c4acb5567ff.svg"},function(e,t,n){e.exports=n.p+"a8a943a00a0430e5d06bb57ffacf2839.svg"},function(e,t,n){e.exports=n.p+"879468637365983eba26983ddf6d38ad.svg"},function(e,t,n){e.exports=n.p+"ffa92fc2c8f0a781d5ae9ffbecefa054.svg"},function(e,t,n){e.exports=n.p+"aee3a8d989cabcd262db85fe0ce7cd0d.svg"},function(e,t,n){e.exports=n.p+"acb7b1a237378bbddd34927b4001b8f4.svg"},function(e,t,n){e.exports=n.p+"d3b48623c6a5915294f7278351b002da.svg"},function(e,t,n){e.exports=n.p+"6ba3855f5ea79b9b014e66b28c54429c.svg"},function(e,t,n){e.exports=n.p+"633e893d2577bb3de002991aa00bc3b0.svg"},function(e,t,n){e.exports=n.p+"ddea4500a252f80cbf6d6c92db15178e.svg"},function(e,t,n){e.exports=n.p+"806ce1822cd982fb5cca464fc728d7cc.svg"},function(e,t,n){e.exports=n.p+"610fb7ae7015b8bdce3bf3cad6937099.svg"},function(e,t,n){e.exports=n.p+"198a5c244f3497124743bcaae8b3bece.svg"},function(e,t,n){e.exports=n.p+"8894be9692fe30ec4ea1082e24d69aea.svg"},function(e,t,n){e.exports=n.p+"03f79b4541d307be99e9b1ff0660a62b.svg"},function(e,t,n){e.exports=n.p+"b7e3dbb19c3827f816d31d41f40b9cab.svg"},function(e,t,n){e.exports=n.p+"7850ca1e5f40881b6ec3fd70442f88d1.svg"},function(e,t,n){e.exports=n.p+"f8e0fddf1beffd3a4c15c309e57143f6.svg"},function(e,t,n){e.exports=n.p+"45079b32dd7747137b5e04ce90cf661f.svg"},function(e,t,n){e.exports=n.p+"507d3947092b81aa47b5fd573b5515bc.svg"},function(e,t,n){e.exports=n.p+"0977d24075aea9ae9e84d5d4e102d2c6.svg"},function(e,t,n){e.exports=n.p+"25fa21b12082690d8c45e1c21e366635.svg"},function(e,t,n){e.exports=n.p+"a7eccc48437e30e9e4652ef4fcbf1ee0.svg"},function(e,t,n){e.exports=n.p+"cb118ee43ced1cdd4e3e17c9af5e10b8.svg"},function(e,t,n){e.exports=n.p+"6eb1026d4a7cc846d2ad8c4d2e247595.svg"},function(e,t,n){e.exports=n.p+"b602f0770e3f6aa7265dbe2881259a84.svg"},function(e,t,n){e.exports=n.p+"4ed6c4300d27c0683cb4dac3364c7e95.svg"},function(e,t,n){e.exports=n.p+"dd4f622d0cffd2089f4afb9076ff1797.svg"},function(e,t,n){e.exports=n.p+"eebea3080bbbfe540a724b231ff01a08.svg"},function(e,t,n){e.exports=n.p+"932f050b224642212a1034af0ff18e6a.svg"},function(e,t,n){e.exports=n.p+"c991627955c3f8924c5066256e3c7e47.svg"},function(e,t,n){e.exports=n.p+"6ced3847afbf38a97e576d369744ccd0.svg"},function(e,t,n){e.exports=n.p+"ddd86f7a79e89b8400999b6354accc5f.svg"},function(e,t,n){e.exports=n.p+"38df7a213fb773ddc158558a3075d10d.svg"},function(e,t,n){e.exports=n.p+"a371c029978be85615dad4038d42e8e6.svg"},function(e,t,n){e.exports=n.p+"d14d615cdff4c0fdb8044254ea328de8.svg"},function(e,t,n){e.exports=n.p+"081d3cc7d468abf5c779fdfeb72662b9.svg"},function(e,t,n){e.exports=n.p+"aed8c42690943f0c06392099346d575f.svg"},function(e,t,n){e.exports=n.p+"c0756a1988f7c3a0c0c732eaa0d12bef.svg"},function(e,t,n){e.exports=n.p+"6d7e0f3b4b9279dda7875df4d5ae8b40.svg"},function(e,t,n){e.exports=n.p+"700cb091f05d9ba7f6805447ca4adfe0.svg"},function(e,t,n){e.exports=n.p+"4b4cacefad809a36361b8ca5a069c830.svg"},function(e,t,n){e.exports=n.p+"06a19966574248f47ac8570b6f79c992.svg"},function(e,t,n){e.exports=n.p+"f54a3d5d5c70cf0d13fd778bcaf1f297.svg"},function(e,t,n){e.exports=n.p+"85403c696cf8d809cdb672525b84c33b.svg"},function(e,t,n){e.exports=n.p+"1c617c8800e557975555c28407e6a7db.svg"},function(e,t,n){e.exports=n.p+"567dfecfecbe8a4bfdfc1bf4edef0868.svg"},function(e,t,n){e.exports=n.p+"f5446257d5625441734281c5dce41dac.svg"},function(e,t,n){e.exports=n.p+"af5f9ae8899de5c3be14afdb6728b4c9.svg"},function(e,t,n){e.exports=n.p+"0d0dd554019e0e46379a8efc745abe1f.svg"},function(e,t,n){e.exports=n.p+"bcb3fc13f8108da5a563c9fb86ed34c9.svg"},function(e,t,n){e.exports=n.p+"ec86ce30dfcdd92a871c8c9064084589.svg"},function(e,t,n){e.exports=n.p+"55d326adbbd0de37b4e7354608965772.svg"},function(e,t,n){e.exports=n.p+"6bbe6bcf94288d2e673851061bb49dd2.svg"},function(e,t,n){e.exports=n.p+"145f7bb4cd7db626c25a6c02456462b8.svg"},function(e,t,n){e.exports=n.p+"336e26cd512ff4ed2b2238ff8087eec5.svg"},function(e,t,n){e.exports=n.p+"da7554bf196b958f159e5dbb3b7084ef.svg"},function(e,t,n){e.exports=n.p+"3af67fd06e7c5cf136c22654eaa51962.svg"},function(e,t,n){e.exports=n.p+"e25208b297bf8f9e22044a09811083fd.svg"},function(e,t,n){e.exports=n.p+"4b083ab47a352c20827b7e2457c4ea20.svg"},function(e,t,n){e.exports=n.p+"8b8b3c75cc1cc90e05de45cbfb4cbf7f.svg"},function(e,t,n){e.exports=n.p+"35c164880897dd708ed51d2941301c10.svg"},function(e,t,n){e.exports=n.p+"21d8977920e9aa27089f971704695fc0.svg"},function(e,t,n){e.exports=n.p+"fa94ca14b2a88caa3529aa407645e6be.svg"},function(e,t,n){e.exports=n.p+"b7e3e925224e1dd9ab6a9ccc02a57195.svg"},function(e,t,n){e.exports=n.p+"2a6e5919e58df2a439fe123be230624c.svg"},function(e,t,n){e.exports=n.p+"f37ba287409050dbac4660708cd65a1d.svg"},function(e,t,n){e.exports=n.p+"2db729e5755e2164efb94d8d995cde3d.svg"},function(e,t,n){e.exports=n.p+"b8f4484ceffb751aa13f674a8be20e1c.svg"},function(e,t,n){e.exports=n.p+"21d94abcaf7e2f614bb2264aa14f01e4.svg"},function(e,t,n){e.exports=n.p+"abf13f9789e1e33f28243c648a8170a6.svg"},function(e,t,n){e.exports=n.p+"af98f33a8a273c26d52cb3fc764ae849.svg"},function(e,t,n){e.exports=n.p+"be6abfeef9d6b03de92f28d5b0499426.svg"},function(e,t,n){e.exports=n.p+"430fc6217379e8c2b8d6f4d40e4119a3.svg"},function(e,t,n){e.exports=n.p+"6424a39f1cef67ec334a955598693288.svg"},function(e,t,n){e.exports=n.p+"bb9e730957dcc60ef85e65455beacb46.svg"},function(e,t,n){e.exports=n.p+"f2628bfc6c7972d73044beee09a9b74d.svg"},function(e,t,n){e.exports=n.p+"8a924e5d45c0a3ca992f3b5427067b04.svg"},function(e,t,n){e.exports=n.p+"6fc69fcaafce22bce90bf12943f1ee7f.svg"},function(e,t,n){e.exports=n.p+"9fa4e8b751cc33b92608079dcb56293f.svg"},function(e,t,n){e.exports=n.p+"8bb32bd487f28959e88250de4794153a.svg"},function(e,t,n){e.exports=n.p+"a6f0125bda828e86ccba6c5b64c74100.svg"},function(e,t,n){e.exports=n.p+"e951ef5244ac8b90f61f9684d4251c80.svg"},function(e,t,n){e.exports=n.p+"08511f65d12257de42cb0e38741ed97f.svg"},function(e,t,n){e.exports=n.p+"caf3189e034fb74a360315a16e2fc9c2.svg"},function(e,t,n){e.exports=n.p+"7f3d53a4529fce18fd17031e5ebcc1ba.svg"},function(e,t,n){e.exports=n.p+"ec2a00b9d3c6bdb83f2a8d0c38c96430.svg"},function(e,t,n){e.exports=n.p+"cfbea48dcbb2d1eafac9709491df63bc.svg"},function(e,t,n){e.exports=n.p+"db3a757906949d483454f800b4510bc0.svg"},function(e,t,n){e.exports=n.p+"ef7f8d7ef34ec96814285b447600e862.svg"},function(e,t,n){e.exports=n.p+"6a2a9bf7660d682483bdabf01789835d.svg"},function(e,t,n){e.exports=n.p+"3ae492224e929a8cbb1e6f81c437850d.svg"},function(e,t,n){e.exports=n.p+"e360c888afa12dd2b7380d0de89d4ff2.svg"},function(e,t,n){e.exports=n.p+"74ef644223026d44cb8989db3127d3cf.svg"},function(e,t,n){e.exports=n.p+"d9abdf7902f0576e514dad47fd19abb3.svg"},function(e,t,n){e.exports=n.p+"b1742ac237af2171d08929bf6e93a7b2.svg"},function(e,t,n){e.exports=n.p+"f990788ea761c9163a0a1b4dc91929ab.svg"},function(e,t,n){e.exports=n.p+"181e14284d04a9115e1b9235f0e788e7.svg"},function(e,t,n){e.exports=n.p+"d4ca5ce1c1ad7c9ec8b801c6de566409.svg"},function(e,t,n){e.exports=n.p+"1948eca4d13209a088ac39d88cdc60ff.svg"},function(e,t,n){e.exports=n.p+"19700558aa106149d34d7056932d0e29.svg"},function(e,t,n){e.exports=n.p+"1c7e382f2f9f36c36e710fc4deaa272e.svg"},function(e,t,n){e.exports=n.p+"e656f183e5a22a38f337e7de7e316e58.svg"},function(e,t,n){e.exports=n.p+"b3696fcbb3f46f108e297aa6c24cefac.svg"},function(e,t,n){e.exports=n.p+"f9c31743fb4821cae75ef1f34366a5af.svg"},function(e,t,n){e.exports=n.p+"003519a109cd19de38c8845aecf1bb98.svg"},function(e,t,n){e.exports=n.p+"b4e7366de69790632e2d11c337c09067.svg"},function(e,t,n){e.exports=n.p+"c98a5dbe79e5c4f87dd8e788a31ab0f2.svg"},function(e,t,n){e.exports=n.p+"8673f8b7a808b5b6340988d2fd4307e6.svg"},function(e,t,n){e.exports=n.p+"a2c5fdf59473655ee575cc2d71bb5d72.svg"},function(e,t,n){e.exports=n.p+"33cd3c15452bd39808675b70804c1f3e.svg"},function(e,t,n){e.exports=n.p+"21422b05608bbc656f968455442b688c.svg"},function(e,t,n){e.exports=n.p+"8a702eae2f09090d7bcbb55141dce6d8.svg"},function(e,t,n){e.exports=n.p+"df9cec539cf80c1d6ef6d917de5faa22.svg"},function(e,t,n){e.exports=n.p+"f0c6210b88b3120894abfe2716c6ad27.svg"},function(e,t,n){e.exports=n.p+"eba5d35eeea19659f59b278fe4630f87.svg"},function(e,t,n){e.exports=n.p+"54dbb83805cd44eef9ae0cc3429bc7a6.svg"},function(e,t,n){e.exports=n.p+"ce1cb62b6a67196f8de5df9876f038d6.svg"},function(e,t,n){e.exports=n.p+"aac0ffc4672c9707c76118dbac907a07.svg"},function(e,t,n){e.exports=n.p+"8ea607afa7bcedeb2fe414d15200ac13.svg"},function(e,t,n){e.exports=n.p+"2a79c268a98676d675c028cafb3e1252.svg"},function(e,t,n){e.exports=n.p+"c85523a381bb24faffc9d02222bf76fd.svg"},function(e,t,n){e.exports=n.p+"59082dfd1924a3a1a170d1d6342e0ed8.svg"},function(e,t,n){e.exports=n.p+"861a896e64ee03826f846e330b2cf3d2.svg"},function(e,t,n){e.exports=n.p+"90355331d422ce8a686dee722ed2f90c.svg"},function(e,t,n){e.exports=n.p+"4ae5a2db74c037605703cc837078683e.svg"},function(e,t,n){e.exports=n.p+"99074ec66afe20c487f5e3c6e6e17ade.svg"},function(e,t,n){e.exports=n.p+"627f445f0150f20c7657302620453f40.svg"},function(e,t,n){e.exports=n.p+"227fe006a3ba251d3602698f8bed2dd5.svg"},function(e,t,n){e.exports=n.p+"4fd9b11483bf5fca7964cef4735b4494.svg"},function(e,t,n){e.exports=n.p+"7933987438efe3bda9a5290a62bc4e1e.svg"},function(e,t,n){e.exports=n.p+"6e423a40b237268262554fe74334ed17.svg"},function(e,t,n){e.exports=n.p+"116fee1744819351f7a0176d1e1359d6.svg"},function(e,t,n){e.exports=n.p+"4e9a17a2650eac60f8b3fe3825cd004e.svg"},function(e,t,n){e.exports=n.p+"b08e537533ee9fd667aaa9932f7aeddb.svg"},function(e,t,n){e.exports=n.p+"200edd5228be534d8f0a2be06a394699.svg"},function(e,t,n){e.exports=n.p+"718b7f45da79b29eae44661179ae4e13.svg"},function(e,t,n){e.exports=n.p+"ffa686880d5e800441246b2dcc9590a7.svg"},function(e,t,n){e.exports=n.p+"c69f90edb8b9a349e2cb816b33af0516.svg"},function(e,t,n){e.exports=n.p+"6f9af1b4a7c298cbd4a15b6b90333871.svg"},function(e,t,n){e.exports=n.p+"55c49fe0812ae3b17a2f6f2b86651d92.svg"},function(e,t,n){e.exports=n.p+"23e62edb3356527fbd8ed3af98f4f994.svg"},function(e,t,n){e.exports=n.p+"9571a75fea7c7c8a06a472d3dc6a7403.svg"},function(e,t,n){e.exports=n.p+"8bd1f8d7a9a0e5267855146aea68ee81.svg"},function(e,t,n){e.exports=n.p+"c7a87ee9a48ea74f83053442c7ac7f42.svg"},function(e,t,n){e.exports=n.p+"8ac12b59272083e4d9d591866282961f.svg"},function(e,t,n){e.exports=n.p+"6adb3c817113d3f46b27c64a9e1af28e.svg"},function(e,t,n){e.exports=n.p+"11ddff238eddecadd85bd5ed19621237.svg"},function(e,t,n){e.exports=n.p+"d09ec23e7d3861ced5425b8526ec316c.svg"},function(e,t,n){e.exports=n.p+"18729439d2a6761a1275c6578189c3ae.svg"},function(e,t,n){e.exports=n.p+"e3ac8efbcee5e39759424b9a71205082.svg"},function(e,t,n){e.exports=n.p+"826b0c974ba4cda72e4da887972b9c6b.svg"},function(e,t,n){e.exports=n.p+"156a252526c3745ca7f98a1bf0b57fb7.svg"},function(e,t,n){e.exports=n.p+"9823dcf3d148d1e44334db781e5a7927.svg"},function(e,t,n){e.exports=n.p+"92a7693f118f444f02d60d1548feb113.svg"},function(e,t,n){e.exports=n.p+"5b994d589b1dcb2d803595cde9f344b1.svg"},function(e,t,n){e.exports=n.p+"751bed3be20ea3ab9d046553d016fb7a.svg"},function(e,t,n){e.exports=n.p+"f98b0a9fb9f497ba61f15d98ace1d65e.svg"},function(e,t,n){e.exports=n.p+"348da7884f4dec0c4005b82f1f3e410a.svg"},function(e,t,n){e.exports=n.p+"e328cbaba5658ae0f002fadbddbf04d0.svg"},function(e,t,n){e.exports=n.p+"24495a3225f3b181f06ebc589b3267be.svg"},function(e,t,n){e.exports=n.p+"1046d6db48d3c45ffa745e73f85e230e.svg"},function(e,t,n){e.exports=n.p+"05ed8fab4d9da4b1130ff7123988bad8.svg"},function(e,t,n){e.exports=n.p+"b8088efbebfa288bed766d40ac14e118.svg"},function(e,t,n){e.exports=n.p+"ff63bac8b064e04d31a32eeae8ccd7dc.svg"},function(e,t,n){e.exports=n.p+"e2f8f101328a4b4ae7875945716345b3.svg"},function(e,t,n){e.exports=n.p+"c65da98dd1cd29756d4d5901ed549661.svg"},function(e,t,n){e.exports=n.p+"9ecf90770f4de9be7b44cb601d49722c.svg"},function(e,t,n){e.exports=n.p+"0bba59679c1a2c8325542fa484725c1a.svg"},function(e,t,n){e.exports=n.p+"9447893dd2eff1070480ee5a93ef3180.svg"},function(e,t,n){e.exports=n.p+"4712a73f565aa5a47245ed69d584f403.svg"},function(e,t,n){e.exports=n.p+"75dfe02f845433ec1da6f104c5b8ccba.svg"},function(e,t,n){e.exports=n.p+"9efa279f76d8fcf03309fa1b771c43de.svg"},function(e,t,n){e.exports=n.p+"688d7afb399b4582b65a4db9016c28fc.svg"},function(e,t,n){e.exports=n.p+"90fd02b490e78c1d109f8a6c2258e603.svg"},function(e,t,n){e.exports=n.p+"e4b6d2720cd87cfdffe875ecc469f710.svg"},function(e,t,n){e.exports=n.p+"6fdc6338e892d53430b283f7136c5cb3.svg"},function(e,t,n){e.exports=n.p+"9a3fba507c934679b333d8d3cfee04a9.svg"},function(e,t,n){e.exports=n.p+"18ab2177ee2cf01e2855d916c24b568d.svg"},function(e,t,n){e.exports=n.p+"505b14bf36ec47cdbe22258a9419471e.svg"},function(e,t,n){e.exports=n.p+"6728f7445b5530e8a9a2223c48bdb922.svg"},function(e,t,n){e.exports=n.p+"9cf68b29157f98c83144580400b5d3ee.svg"},function(e,t,n){e.exports=n.p+"7f1f04d2c3986363c03750206bf7d9d7.svg"},function(e,t,n){e.exports=n.p+"ad56cc64bdb8fa62623c559900829a3a.svg"},function(e,t,n){e.exports=n.p+"5ca0c0b0ad60ee4b580e7ed918426cdb.svg"},function(e,t,n){e.exports=n.p+"c7b9a045336a335d4b87fae6b75b73ce.svg"},function(e,t,n){e.exports=n.p+"ff9619d028f1535f85a4c759a64de267.svg"},function(e,t,n){e.exports=n.p+"17ef302e76de9a5905f978a06c52ddf4.svg"},function(e,t,n){e.exports=n.p+"ddef78a94382b29b2d562a947f332211.svg"},function(e,t,n){e.exports=n.p+"41c805926fd5c0b120e7b58536473314.svg"},function(e,t,n){e.exports=n.p+"98c3f380071921c6c56509b1ee924df9.svg"},function(e,t,n){e.exports=n.p+"2613f4b9c6f9ae2f05e64c1ba3ad6c30.svg"},function(e,t,n){e.exports=n.p+"3f6e1787ce79cf5aca97e45fc7680564.svg"},function(e,t,n){e.exports=n.p+"232c25279b78c07d9f9dcf3b55dee3d6.svg"},function(e,t,n){e.exports=n.p+"e93446908591e6087dcff8877dce3eb5.svg"},function(e,t,n){e.exports=n.p+"fb44324f4075e90f296ea8a798af1703.svg"},function(e,t,n){e.exports=n.p+"1de9216486dce86e581aa64cbe4b7f4e.svg"},function(e,t,n){e.exports=n.p+"98956724fc3f86e605dcf272a05b4a1e.svg"},function(e,t,n){e.exports=n.p+"c08455e24d167e611d3ed56380212922.svg"},function(e,t,n){e.exports=n.p+"d35629f6c4293ff75d35f0c96e287c92.svg"},function(e,t,n){e.exports=n.p+"38fadb5ec7c550dd3c3a513f2135dadc.svg"},function(e,t,n){e.exports=n.p+"2396da35337ea36298e29e868ea4407b.svg"},function(e,t,n){e.exports=n.p+"816f010a6094fe98836610d2f080a5fb.svg"},function(e,t,n){e.exports=n.p+"79957f681e99624173f17b2ba0e81627.svg"},function(e,t,n){e.exports=n.p+"54c838326679dc943c43a70c3291814f.svg"},function(e,t,n){e.exports=n.p+"8e51177d22634fcb045f1cc5bd941a4c.svg"},function(e,t,n){e.exports=n.p+"01c80723fb8cbdcb9e22747cd88e07e4.svg"},function(e,t,n){e.exports=n.p+"e899188d7f6b611acdca8b91abc2f104.svg"},function(e,t,n){e.exports=n.p+"4fc5b1ef776d4ae648d813da6eb6704f.svg"},function(e,t,n){e.exports=n.p+"f3e307960b1c81de130c429034802618.svg"},function(e,t,n){e.exports=n.p+"154693d902e0f75f3e475bd487be7969.svg"},function(e,t,n){e.exports=n.p+"372518b135d414f92edcd06b89e1468b.svg"},function(e,t,n){e.exports=n.p+"10ba107674fdf2d100be5592e7c85c74.svg"},function(e,t,n){e.exports=n.p+"b803a4b9e5eeab66e4a4aaca84105935.svg"},function(e,t,n){e.exports=n.p+"c7f258a5332b1fa52a5dfc5ae05ad76c.svg"},function(e,t,n){e.exports=n.p+"dd642bb5444f274317579b62d2d353f3.svg"},function(e,t,n){e.exports=n.p+"5f71ab6be9935e2075bc6c4cbde05161.svg"},function(e,t,n){e.exports=n.p+"046606412fd783386b53e492e4f63eb3.svg"},function(e,t,n){e.exports=n.p+"b5f4153866352d28e665cff0c44f36c0.svg"},function(e,t,n){e.exports=n.p+"5963476960a5b3a9cf36e7bf8b435928.svg"},function(e,t,n){e.exports=n.p+"6bca769662f755d33514d1f5304c617d.svg"},function(e,t,n){e.exports=n.p+"6c290f08486ef0478c750e3a5f50f637.svg"},function(e,t,n){e.exports=n.p+"ec6ba34f48e83598abb7108a5687c8fa.svg"},function(e,t,n){e.exports=n.p+"0d10438407905c132a21ad9cf2ba576c.svg"},function(e,t,n){e.exports=n.p+"48eee58d8732624417222c0ae7e360b3.svg"},function(e,t,n){e.exports=n.p+"3a604b4ffe92262b9303fbb545f9bd43.svg"},function(e,t,n){e.exports=n.p+"fca95001ef5ed7b75f1d0b3baf0aaf4d.svg"},function(e,t,n){e.exports=n.p+"e23557c7f844b57a30a431444b64af5f.svg"},function(e,t,n){e.exports=n.p+"738160272d6024585562a55a39e1cb25.svg"},function(e,t,n){e.exports=n.p+"618ca8489ae1ab5f94fde2e3a7fb2c0c.svg"},function(e,t,n){e.exports=n.p+"b99b0dd045c527a855a8ee484140cdfe.svg"},function(e,t,n){e.exports=n.p+"eefee5ca29d3804705c4c61dc104efb1.svg"},function(e,t,n){e.exports=n.p+"5e623785155f790f48901eeb4e5022c9.svg"},function(e,t,n){e.exports=n.p+"af70a9ae5dd90f1078e363eab1c855cc.svg"},function(e,t,n){e.exports=n.p+"7141e059d1cd75465ac7cdfa2101da72.svg"},function(e,t,n){e.exports=n.p+"59e611bd4994d2978d695df90db540c4.svg"},function(e,t,n){e.exports=n.p+"ba34ab28ffd9aeddbce8253362a33dd1.svg"},function(e,t,n){e.exports=n.p+"64342de07ecabe5158112886bccfef45.svg"},function(e,t,n){e.exports=n.p+"a8a497879f296fa124562710db149d98.svg"},function(e,t,n){e.exports=n.p+"e8b3b5a31c0a3c541960bd3ddccc538f.svg"},function(e,t,n){e.exports=n.p+"1703f9a3721beece0d66f10c0ef9d3d0.svg"},function(e,t,n){e.exports=n.p+"1d5443faf52d355d2abd7900449eb5ae.svg"},function(e,t,n){e.exports=n.p+"1247f4e6cce47d98b0a08f956fccb4f9.svg"},function(e,t,n){e.exports=n.p+"b70c28fda81441dfa331c656b365c61f.svg"},function(e,t,n){e.exports=n.p+"d0f34dde89da79643396c7bdc41493bd.svg"},function(e,t,n){e.exports=n.p+"536b3e1a4ba312bd793ca96a4d0487f2.svg"},function(e,t,n){e.exports=n.p+"222cb7486c4fec7d2602bf456b259f5b.svg"},function(e,t,n){e.exports=n.p+"9703ffde881fc89b02b21a419e3f1f2f.svg"},function(e,t,n){e.exports=n.p+"367e391010f99cb7ee114f0568ddd80f.svg"},function(e,t,n){e.exports=n.p+"6b66d2ae72c692e11209c7b0cf2bb9ef.svg"},function(e,t,n){e.exports=n.p+"e6afe8d972ad58432c61bd59e9df132f.svg"},function(e,t,n){e.exports=n.p+"fa08c3c8afc72844296f9c00465be77a.svg"},function(e,t,n){e.exports=n.p+"4a5fb8d468c3d4c13216440813feb418.svg"},function(e,t,n){e.exports=n.p+"77c65f388b96be7a8bd2d8334fb546bc.svg"},function(e,t,n){e.exports=n.p+"ef02cd8645bcdff874d23500b2b516fd.svg"},function(e,t,n){e.exports=n.p+"09b38a6de1509c805be67eed340e2f8f.svg"},function(e,t,n){e.exports=n.p+"506e7d0b2e3c6ab21f2e57dd5072cfc3.svg"},function(e,t,n){e.exports=n.p+"4b68db498853957de56d6e5d7cb89ccf.svg"},function(e,t,n){e.exports=n.p+"c166700764a11c7d30026d4d825b235a.svg"},function(e,t,n){e.exports=n.p+"82cb4a510436e4755388615426d2de73.svg"},function(e,t,n){e.exports=n.p+"05d31fd63d5a6a3cef375d3d326a8a0c.svg"},function(e,t,n){e.exports=n.p+"af5f26288872cf6f0f22ef421fc394cd.svg"},function(e,t,n){e.exports=n.p+"76174ac71d3cebcc5ec2949e33a2ed25.svg"},function(e,t,n){e.exports=n.p+"cdc3facd345983768d3bd16aa6021f90.svg"},function(e,t,n){e.exports=n.p+"a8ef7bbc89c69e7de6d38b6fc1f92dab.svg"},function(e,t,n){e.exports=n.p+"70e2c1bb3d82f6e009d3aaa6d72b8fc2.svg"},function(e,t,n){e.exports=n.p+"7631a1b3137202d7b80e48d99987484f.svg"},function(e,t,n){e.exports=n.p+"430705f097a53695b1bf71c6de22b866.svg"},function(e,t,n){e.exports=n.p+"2fcf8d7e3940696bb875970845316433.svg"},function(e,t,n){e.exports=n.p+"0ee00f8f2f780bb43828baa8684991e2.svg"},function(e,t,n){e.exports=n.p+"4074c31ae3588a394a7a78c5e80c7d98.svg"},function(e,t,n){e.exports=n.p+"a6e116c71ab2e177001c5ca9977e68d1.svg"},function(e,t,n){e.exports=n.p+"cbce1272869a42215ef4a4afad1cd85e.svg"},function(e,t,n){e.exports=n.p+"ae2bc7c99cefa62a5ec6c5bebd181de7.svg"},function(e,t,n){e.exports=n.p+"34d058f310514aa8b38e46d0c9916e01.svg"},function(e,t,n){e.exports=n.p+"9a89e54569523cfff827e1cb10a4f38a.svg"},function(e,t,n){e.exports=n.p+"57fba982f0886bb9fa799e2cb199c098.svg"},function(e,t,n){e.exports=n.p+"7b4a9192e7a487a0803072d7e29b0208.svg"},function(e,t,n){e.exports=n.p+"dc147b62a179d59b5098c926628ebab1.svg"},function(e,t,n){e.exports=n.p+"d60b98636d4af01fda7cd95d10dad45e.svg"},function(e,t,n){e.exports=n.p+"b8a3d0b887458fa6193716883a77ea8e.svg"},function(e,t,n){e.exports=n.p+"1dae4b144aede36560abe2c2d63686a9.svg"},function(e,t,n){e.exports=n.p+"d7228ec3d0ad6a9f4d2894733fa3c395.svg"},function(e,t,n){e.exports=n.p+"9f0cf23705daa3432a2615f7b01ff7e1.svg"},function(e,t,n){e.exports=n.p+"344019c5657ef505cd2458f05f1c89fe.svg"},function(e,t,n){e.exports=n.p+"81a61af00a8f7b928e45df627b2e416b.svg"},function(e,t,n){e.exports=n.p+"8a5903aab23c22ac0f0fd2974a9eb7b8.svg"},function(e,t,n){e.exports=n.p+"e37bbe76d9b3326ab8bf3e164a8f6b6a.svg"},function(e,t,n){e.exports=n.p+"90f961e5700e8cc9c7aac41a7708be18.svg"},function(e,t,n){e.exports=n.p+"2c24a849d3f4b9da6046b923ae7ad024.svg"},function(e,t,n){e.exports=n.p+"44b6cd0df0c9590310f18b21279b0b31.svg"},function(e,t,n){e.exports=n.p+"0dc3b6c0f9b69ae7471adc414f6fc0ce.svg"},function(e,t,n){e.exports=n.p+"921f9127e2adaf5896f665292a532a1c.svg"},function(e,t,n){e.exports=n.p+"a6beb4165bce6281e9e81eff4de526b2.svg"},function(e,t,n){e.exports=n.p+"0de6c951e72141af9aa66db4fa66ebb5.svg"},function(e,t,n){e.exports=n.p+"6048cd1fcd6f39a58f7c4f279b56bf2b.svg"},function(e,t,n){e.exports=n.p+"e1dd57af31b3be285d1421b5a4d3b6a5.svg"},function(e,t,n){e.exports=n.p+"b2399885e46e90181cd57527bbc5b758.svg"},function(e,t,n){e.exports=n.p+"463a8a1675322d8b1f0fec6c0c7319af.svg"},function(e,t,n){e.exports=n.p+"f21c159ba9b0ea3952c61b6b7922a812.svg"},function(e,t,n){e.exports=n.p+"5e90e9dd7ba9ea1eb41dd05e3cd6cdce.svg"},function(e,t,n){e.exports=n.p+"1bd08eea3a7362eac906ac102683790c.svg"},function(e,t,n){e.exports=n.p+"738caee09b1d8e0795ca4cdbd137bf71.svg"},function(e,t,n){e.exports=n.p+"c1b018e1543766df8850eb345a267619.svg"},function(e,t,n){e.exports=n.p+"abe65f059bc50c17bbfb59c9be2bfc04.svg"},function(e,t,n){e.exports=n.p+"f4a5fd892af6e4cc9ad9f609fe8b2f5b.svg"},function(e,t,n){e.exports=n.p+"217c2cb1a0bf68c94519486846fce117.svg"},function(e,t,n){e.exports=n.p+"566ebbbd1875331374b4bbdf8b872190.svg"},function(e,t,n){e.exports=n.p+"631f7bad4f29ec429d643bfdd15fce4f.svg"},function(e,t,n){e.exports=n.p+"05f8af73b85832f48989ab6cecbc1a94.svg"},function(e,t,n){e.exports=n.p+"1bb70e8bfc45b0a420a122ff0b16eb9a.svg"},function(e,t,n){e.exports=n.p+"31dc8076f1a4563738aaa75e7da8ad07.svg"},function(e,t,n){e.exports=n.p+"8c40928823dc9277cfd02ca2b8cc2887.svg"},function(e,t,n){e.exports=n.p+"e49d3ba857ecacb1995f5466793dc738.svg"},function(e,t,n){e.exports=n.p+"52228f7fb4c77e37381b40b593dcd41a.svg"},function(e,t,n){e.exports=n.p+"8d7406ed006385766970b934ce4fe8db.svg"},function(e,t,n){e.exports=n.p+"93e3beacb013e67287b92d576e74af92.svg"},function(e,t,n){e.exports=n.p+"71ae042caadaddd8562d3e98573b2ed6.svg"},function(e,t,n){e.exports=n.p+"558931e7dc4f6fab0e67f999e5dfdb11.svg"},function(e,t,n){e.exports=n.p+"104b702022072d5ed76a9b01d2103902.svg"},function(e,t,n){e.exports=n.p+"3a791c5624e8aaa04d781f2f162be633.svg"},function(e,t,n){e.exports=n.p+"725dba6e4ec1c6dee66ca6d1ef0e5a47.svg"},function(e,t,n){e.exports=n.p+"7f08432ef93f820b2a6cc9c8e95a86cf.svg"},function(e,t,n){e.exports=n.p+"aa87e8a35dbd298f50f6b2e1c01c5ad2.svg"},function(e,t,n){e.exports=n.p+"946471265b328f30c4140e1770aae3a8.svg"},function(e,t,n){e.exports=n.p+"fbbb89018ad3b4119e23f2660fd0a363.svg"},function(e,t,n){e.exports=n.p+"e01709322004d85e169d1a720c058c1d.svg"},function(e,t,n){e.exports=n.p+"3dc774bd30a9a61ea4696691c981f7b1.svg"},function(e,t,n){e.exports=n.p+"df8615a72085735c2d93bdc504c40d8a.svg"},function(e,t,n){e.exports=n.p+"869b54c2d8a2e806139de55dd60c3723.svg"},function(e,t,n){e.exports=n.p+"a49752c1a526af4b2612e6207bb188e8.svg"},function(e,t,n){e.exports=n.p+"7e7c2f74d9a6035f4c301d65335ea16d.svg"},function(e,t,n){e.exports=n.p+"9ad758fe18b89eefe522295e39de5b5a.svg"},function(e,t,n){e.exports=n.p+"e53b759073d7c416ab6414f17560bfaa.svg"},function(e,t,n){e.exports=n.p+"ff0d16a79f1080221ca5523ac87d9472.svg"},function(e,t,n){e.exports=n.p+"582f0380b96c11bac7b4d3f9159b9535.svg"},function(e,t,n){e.exports=n.p+"5f99f7506e0a777509a134a0692b1396.svg"},function(e,t,n){e.exports=n.p+"12b7251a9a096c53443ac4efbd01d0a3.svg"},function(e,t,n){e.exports=n.p+"a8fae04612d4a5ef9c801b49121e69b1.svg"},function(e,t,n){e.exports=n.p+"90e5e990b28206c9884cb6e73ac0adb0.svg"},function(e,t,n){e.exports=n.p+"c352b227ece1465d8ae9a67076426898.svg"},function(e,t,n){e.exports=n.p+"fd72e31198f8ff94f70c826290622af0.svg"},function(e,t,n){e.exports=n.p+"6bd52eef967d3df855102935a93c9a70.svg"},function(e,t,n){e.exports=n.p+"e04954175e9c3f3b895c0366ca4363e8.svg"},function(e,t,n){e.exports=n.p+"dbb5e0a5ac7fcd8f801730e2e3498977.svg"},function(e,t,n){e.exports=n.p+"a94024f83beca602c5971b8ae6009f75.svg"},function(e,t,n){e.exports=n.p+"e3585a83e0de8f33dc85d02bba5da810.svg"},function(e,t,n){e.exports=n.p+"ba1058c9c4297e7358162853663b1cfd.svg"},function(e,t,n){e.exports=n.p+"c307c164eaccc7381860988b70b38882.svg"},function(e,t,n){e.exports=n.p+"fd6114328c436e5a111d326d05af3b9a.svg"},function(e,t,n){e.exports=n.p+"e1fba47252509b8a076f39a3272809f9.svg"},function(e,t,n){e.exports=n.p+"63202f68e1ac0ba1447271cab9706014.svg"},function(e,t,n){e.exports=n.p+"e12889fc24ecaf74a65a1d1eae8f4f67.svg"},function(e,t,n){e.exports=n.p+"73e98f86f248a793d31f8adea4f54f3f.svg"},function(e,t,n){e.exports=n.p+"e0a7c02a2d2c94f08b71c8c5658bb2a7.svg"},function(e,t,n){e.exports=n.p+"19cbe89e1fb782cc5aa2ade21669984b.svg"},function(e,t,n){e.exports=n.p+"7eac84671992bfa137340ab9a44d576d.svg"},function(e,t,n){e.exports=n.p+"ca3cbb5662839534e2d34f32b2699c0b.svg"},function(e,t,n){e.exports=n.p+"486cf8d7f6718fa1fc54f85deb3bc407.svg"},function(e,t,n){e.exports=n.p+"321d9b915c41d0350130b1a8997528b2.svg"},function(e,t,n){e.exports=n.p+"2668287aa85f84e297057d0f74a73506.svg"},function(e,t,n){e.exports=n.p+"7649727186dad39a3f3cce9400204b0d.svg"},function(e,t,n){e.exports=n.p+"71abae064715bd20f8d6cf8e96a95fe0.svg"},function(e,t,n){e.exports=n.p+"75ebaab95b16217831b226a00149f37d.svg"},function(e,t,n){e.exports=n.p+"559149bf1f85eb2e90a0d42e28f84fe4.svg"},function(e,t,n){e.exports=n.p+"748e649a4da988fb0f0482c9fb817a5f.svg"},function(e,t,n){e.exports=n.p+"c02083bf36e880aa24bdb7b59e14ef35.svg"},function(e,t,n){e.exports=n.p+"410585ccbd3ebe997c3554df996f366e.svg"},function(e,t,n){e.exports=n.p+"73abeedf09a85642fc74aecd1e5e4e7c.svg"},function(e,t,n){e.exports=n.p+"c499b91d738c7985c96b948da20fba56.svg"},function(e,t,n){e.exports=n.p+"119339667bd1214c447326f20f3b52aa.svg"},function(e,t,n){e.exports=n.p+"f0e8801de8c9931e8fafb1072898beed.svg"},function(e,t,n){e.exports=n.p+"5056e757024fbc919e0c8faa96116cf5.svg"},function(e,t,n){e.exports=n.p+"0c22a18d2167ef2595a6d4189245fd86.svg"},function(e,t,n){e.exports=n.p+"addc625aa551180ad75e7a6c93b71b77.svg"},function(e,t,n){e.exports=n.p+"b1ab593c4ba61694c1862522180b0246.svg"},function(e,t,n){e.exports=n.p+"9edc195fff89615456efae4bf13831be.svg"},function(e,t,n){e.exports=n.p+"cba2759ed08d6e491026957dc9355fd5.svg"},function(e,t,n){e.exports=n.p+"4c94d0176318bc3a0c037a6e3bdb5807.svg"},function(e,t,n){e.exports=n.p+"e176873ec347a8a9d2f5d96bdda0ce1b.svg"},function(e,t,n){e.exports=n.p+"5630457097574c48e0969eabdaa2d6b3.svg"},function(e,t,n){e.exports=n.p+"ffa9dc366506fcfe529cc5ce3859776c.svg"},function(e,t,n){e.exports=n.p+"ed3f8e48b79f552e76da2dfdf5199802.svg"},function(e,t,n){e.exports=n.p+"39d7228c270903d9d7a4c32e6780c6d7.svg"},function(e,t,n){e.exports=n.p+"86867e53eb5517ae45a043a6a1e37011.svg"},function(e,t,n){e.exports=n.p+"5b4bc5143440f3f223f5f6b63c8157cb.svg"},function(e,t,n){e.exports=n.p+"77e04697733e6488d0a50d3e4253fd6f.svg"},function(e,t,n){e.exports=n.p+"3082440dee2a905555745a331adc8dd0.svg"},function(e,t,n){e.exports=n.p+"82abeb872e7ac1754264b537d0b553a2.svg"},function(e,t,n){e.exports=n.p+"acfc26c8e8e514e8279915ca433c09f7.svg"},function(e,t,n){e.exports=n.p+"2d1f96f2bb72af799af9833af1877b8f.svg"},function(e,t,n){e.exports=n.p+"6c6c29554124e34f12f57ed8658cb17c.svg"},function(e,t,n){e.exports=n.p+"fd9cf68056afa31bfb30b286e800fda8.svg"},function(e,t,n){e.exports=n.p+"abd547d16691bb4cf2b672a38346bf74.svg"},function(e,t,n){e.exports=n.p+"e95ce26dfe8807ab3bb23a72df74b55d.svg"},function(e,t,n){e.exports=n.p+"87519b349e326690e670b2e7d75126fb.svg"},function(e,t,n){e.exports=n.p+"7b85f8b9b4ba98e4e99b7f7165aae56d.svg"},function(e,t,n){e.exports=n.p+"42cb4469dba26c8b42643a9edd35f6bf.svg"},function(e,t,n){e.exports=n.p+"25a5193f696bf65278fbc9f67409f4bf.svg"},function(e,t,n){e.exports=n.p+"c39b13d719be43dafe171819b663bb83.svg"},function(e,t,n){e.exports=n.p+"e3a6c1190deae2b43d7f630fd3f70cc9.svg"},function(e,t,n){e.exports=n.p+"19b82de2252962b76a3635fa4d78bcf3.svg"},function(e,t,n){e.exports=n.p+"e1ee238d98c423480edc11549686ac23.svg"},function(e,t,n){e.exports=n.p+"4bf7d5f6e5474fc9b572926d7695834e.svg"},function(e,t,n){e.exports=n.p+"66721fdc43f4a0c307d365419bb51427.svg"},function(e,t,n){e.exports=n.p+"ece6283544a703f158b497507aae3b62.svg"},function(e,t,n){e.exports=n.p+"4356c77eb1af446256d222ebae04ad7f.svg"},function(e,t,n){e.exports=n.p+"eef772525d54c119e1553e60c8a84243.svg"},function(e,t,n){e.exports=n.p+"29ad8629df2cc75f59f77a79ee05aad6.svg"},function(e,t,n){e.exports=n.p+"d17400e4c6792c33206589776f978c48.svg"},function(e,t,n){e.exports=n.p+"7c9c3e401c06e91c678f67e970ea42b9.svg"},function(e,t,n){e.exports=n.p+"531adcd0cd883e35973652e748bd68c4.svg"},function(e,t,n){e.exports=n.p+"9b3d0c9513525e7fb3298ad7a4157b8c.svg"},function(e,t,n){e.exports=n.p+"841a6fdb897dfaa822965530fd035956.svg"},function(e,t,n){e.exports=n.p+"ec51ae340dc3e445302637ee8b15874e.svg"},function(e,t,n){e.exports=n.p+"bf6dc913a5e692db30b9d7f0a1dcaa22.svg"},function(e,t,n){e.exports=n.p+"edd44743176dd0763381fa7dc847ffb0.svg"},function(e,t,n){e.exports=n.p+"93d777513c3dd0a15a5451bfc893e0ba.svg"},function(e,t,n){e.exports=n.p+"b2d694d90e16423128a9586fafa52260.svg"},function(e,t,n){e.exports=n.p+"0677926f6dc0c52f48f1e8a36cd38af2.svg"},function(e,t,n){e.exports=n.p+"4119762945206f4236886e5c4a5c107c.svg"},function(e,t,n){e.exports=n.p+"8543ce5f23ba63dac6bddcc1211676eb.svg"},function(e,t,n){e.exports=n.p+"fbab8540f076ee98c588c7b0bef67dbb.svg"},function(e,t,n){e.exports=n.p+"188c11d69d27bbbb30184fdb00952cfa.svg"},function(e,t,n){e.exports=n.p+"ff51bed1207a8a0bf952deb79765f4e0.svg"},function(e,t,n){e.exports=n.p+"cc10fda83519443ee3a9244d4fa93771.svg"},function(e,t,n){e.exports=n.p+"a81460f39407665a3c48497c6759ed33.svg"},function(e,t,n){e.exports=n.p+"2adf3bb7b175d74a32066a3ca9746e82.svg"},function(e,t,n){e.exports=n.p+"b6062290347938ce3eb39357abc959e7.svg"},function(e,t,n){e.exports=n.p+"783c1a074ccf74705bd13ff3c19b0eb6.svg"},function(e,t,n){e.exports=n.p+"888bf94a4d5db30a4c7f1f92e9ac469d.svg"},function(e,t,n){e.exports=n.p+"6d231e4fbc4281e15867601c1571106d.svg"},function(e,t,n){e.exports=n.p+"99de91eeaac103c0d49c2815ec398497.svg"},function(e,t,n){e.exports=n.p+"d6a04cee9857c066da10e87dc8f20c1c.svg"},function(e,t,n){e.exports=n.p+"58d0bca9d878af0d7738dc122a25cc6b.svg"},function(e,t,n){e.exports=n.p+"1d9ae008740995a8cd1fcb98f992c3cd.svg"},function(e,t,n){e.exports=n.p+"273ca4795f28a152dff2a7b03194e5e7.svg"},function(e,t,n){e.exports=n.p+"b3d19aa8a5d139cd0bc7856488bdf962.svg"},function(e,t,n){e.exports=n.p+"1490386fa66943527ddfad572a54d142.svg"},function(e,t,n){e.exports=n.p+"13a77ba4c447e225d4a8cfd1ad2a1e4e.svg"},function(e,t,n){e.exports=n.p+"465e60222d0d83fd1f6ed99ba2942dc1.svg"},function(e,t,n){e.exports=n.p+"2d9099197cb69de9afb3e9066dbc617e.svg"},function(e,t,n){e.exports=n.p+"630ddb0c3c8115160d8243edc0440cf0.svg"},function(e,t,n){e.exports=n.p+"b663e0f06d37cbe1a0a2292a94a53091.svg"},function(e,t,n){e.exports=n.p+"a73d24769c0b06c6d9860daf5a15aeb3.svg"},function(e,t,n){e.exports=n.p+"c8b1650899d86b013f8901a03bad0adb.svg"},function(e,t,n){e.exports=n.p+"5ec317cd32c4a0b2a3a906e88d702831.svg"},function(e,t,n){e.exports=n.p+"d494ec5a45c271ec3d6578282b8e3e55.svg"},function(e,t,n){e.exports=n.p+"7c0bf82e902c79582358fe5fab49717e.svg"},function(e,t,n){e.exports=n.p+"ed1bda94dd4968e840212c5f851ab18d.svg"},function(e,t,n){e.exports=n.p+"0cd96fdfb7508de5110a75c63e013ed3.svg"},function(e,t,n){e.exports=n.p+"e8d1da792b6eeeb0a2c36c38e9e807b4.svg"},function(e,t,n){e.exports=n.p+"b5412e659b7b29a4aa35a041382b067e.svg"},function(e,t,n){e.exports=n.p+"bc99aacd77d22e205c77c9b0f651e2a0.svg"},function(e,t,n){e.exports=n.p+"f92a4c1da8927a4939ca2b5ab17ac0c8.svg"},function(e,t,n){e.exports=n.p+"19dcd7845842cb6510c9703c04d3fde8.svg"},function(e,t,n){e.exports=n.p+"824f59ab90343591fcf42e4d72beb253.svg"},function(e,t,n){e.exports=n.p+"b2f8f407e3ebcdaef918bd214395c0d0.svg"},function(e,t,n){e.exports=n.p+"7ec73675290b77a81258bd65597eb0af.svg"},function(e,t,n){e.exports=n.p+"69a90c6a79b354f0b737787792f676e9.svg"},function(e,t,n){e.exports=n.p+"748a6202cc32eabe376fe9a964444746.svg"},function(e,t,n){e.exports=n.p+"05c923c314f34767d8fe3407539fafd7.svg"},function(e,t,n){e.exports=n.p+"3e5edc2b947fd0b7d72559aecba29c78.svg"},function(e,t,n){e.exports=n.p+"3c28b7352aa42712ae9d5f94d3af098b.svg"},function(e,t,n){e.exports=n.p+"997f376b9ea3db8110d87d0f517cbb79.svg"},function(e,t,n){e.exports=n.p+"3d5ad6981f2f6e46c520bceb22b149f6.svg"},function(e,t,n){e.exports=n.p+"3cc7d653b4640955b02090d38d28fe0d.svg"},function(e,t,n){e.exports=n.p+"2286598e236171ae19a24c76917d2a58.svg"},function(e,t,n){e.exports=n.p+"c58aaa5810f9ccb88087243990600c9c.svg"},function(e,t,n){e.exports=n.p+"258667558371a25412e0b99fa84d9a57.svg"},function(e,t,n){e.exports=n.p+"820126bce06d70b9f4dc6df60092324b.svg"},function(e,t,n){e.exports=n.p+"a49d667d740c88f4a6470d7705724bc3.svg"},function(e,t,n){e.exports=n.p+"0e0bf498e347a1a79d43a085c565b3a0.svg"},function(e,t,n){e.exports=n.p+"54ae65452fe0bf838b68659d80844af8.svg"},function(e,t,n){e.exports=n.p+"958a8f70896025ec9d3521cc7e05284a.svg"},function(e,t,n){e.exports=n.p+"06b7e2d6931a2cc2f67e0de9e145f9ec.svg"},function(e,t,n){e.exports=n.p+"089866c94c221d84038f81a8ae29879d.svg"},function(e,t,n){e.exports=n.p+"5f7952d702a76f4a5cea36f3a5240ef6.svg"},function(e,t,n){e.exports=n.p+"aa1ea48ff20d312626d1ebaf681d4b98.svg"},function(e,t,n){e.exports=n.p+"315034a75dbe8aa74721aeb4dfdcfb5e.svg"},function(e,t,n){e.exports=n.p+"fe5f1e259640668521fb25632e4fa1d7.svg"},function(e,t,n){e.exports=n.p+"d5d77f1d63ac1db259edeab7ab70ffb1.svg"},function(e,t,n){e.exports=n.p+"d09a48de7b5ac236450541c3e67dcbd9.svg"},function(e,t,n){e.exports=n.p+"d0b8a0832b9923f8d6503f17726f8f0a.svg"},function(e,t,n){e.exports=n.p+"084026309fc35e622f05808338a0409b.svg"},function(e,t,n){e.exports=n.p+"311d8b2b1f3455b92853cba6f4759aec.svg"},function(e,t,n){e.exports=n.p+"13e0e57c8dad4724196fbae5b3c910f6.svg"},function(e,t,n){e.exports=n.p+"020efad3516a39bc3c1c2895d409bae0.svg"},function(e,t,n){e.exports=n.p+"d8cf2d9d9dbc2721f72f82f9aec28915.svg"},function(e,t,n){e.exports=n.p+"5a694b91cdc6d788471e4374656a3c34.svg"},function(e,t,n){e.exports=n.p+"ab686ee048676cb10ef6bed31028bbbb.svg"},function(e,t,n){e.exports=n.p+"05ac7df4433679c033ae294dbd52ea77.svg"},function(e,t,n){e.exports=n.p+"8341b12f960ef71ab88c2205dc20e3b5.svg"},function(e,t,n){e.exports=n.p+"9fe7f7a0f889d824d0edd80dbc7817ef.svg"},function(e,t,n){e.exports=n.p+"21c832e86d9f919dd2dcb24f554f669f.svg"},function(e,t,n){e.exports=n.p+"ac3b136b3b6bbfb0133c041e4a462666.svg"},function(e,t,n){e.exports=n.p+"3dc6f59212cc300c47922c924d2cd6e7.svg"},function(e,t,n){e.exports=n.p+"9978f314798de31db888d3eeb03cd601.svg"},function(e,t,n){e.exports=n.p+"205ab18fba44f75adec7ade713714448.svg"},function(e,t,n){e.exports=n.p+"ec0ab2ce7d754011d689a252f7dd414c.svg"},function(e,t,n){e.exports=n.p+"e07d98c4f004957c7490a273a655a218.svg"},function(e,t,n){e.exports=n.p+"473240e807378a8c6d8b44217fb27cf0.svg"},function(e,t,n){e.exports=n.p+"461898562cf02f76b548df5db5572c28.svg"},function(e,t,n){e.exports=n.p+"0d5d3041235b53244489495c33c4b004.svg"},function(e,t,n){e.exports=n.p+"dd8e95845e37e85641c2e97e3b9b05bd.svg"},function(e,t,n){e.exports=n.p+"169c33f365bca0627616b7893a872d45.svg"},function(e,t,n){e.exports=n.p+"854a94f915b537b447db3681d31c9979.svg"},function(e,t,n){e.exports=n.p+"df3fe20a2d6350e0bc40e28c06eacc26.svg"},function(e,t,n){e.exports=n.p+"aa784ccd749e63a51b77561335401862.svg"},function(e,t,n){e.exports=n.p+"240c67c8b34eb0b1da173167cf4e3ff4.svg"},function(e,t,n){e.exports=n.p+"2b650edb4b64e1e13b3796ab3272e146.svg"},function(e,t,n){e.exports=n.p+"fa1b46fba925da954a515f98d45df879.svg"},function(e,t,n){e.exports=n.p+"14a3e7e534dd164c2f58e4e398013558.svg"},function(e,t,n){e.exports=n.p+"0decafe5dc69d5efd8e9d85a3e8dd4b8.svg"},function(e,t,n){e.exports=n.p+"97547ca6617ddc8ef3a45d5c8e2de96d.svg"},function(e,t,n){e.exports=n.p+"336770e0b07d60707d7de49d0eaa4e62.svg"},function(e,t,n){e.exports=n.p+"2490b0be4d6dce751b698f42df1ed467.svg"},function(e,t,n){e.exports=n.p+"8bd0260d29b2d69fe5598de2735ffa1d.svg"},function(e,t,n){e.exports=n.p+"df185ec77a8f18d29a072e6339ebe631.svg"},function(e,t,n){e.exports=n.p+"14ad2ccd91f78bee3fabb67e5f181bd4.svg"},function(e,t,n){e.exports=n.p+"dab0923cee94ebcdb78cddaecb85c60c.svg"},function(e,t,n){e.exports=n.p+"3980b3bb3869cad54445356af9f5eedd.svg"},function(e,t,n){e.exports=n.p+"0f9872f8ec8d1a50ffb3629f0beaace0.svg"},function(e,t,n){e.exports=n.p+"525a706a0f873ef83938c39e4936433c.svg"},function(e,t,n){e.exports=n.p+"dca5ff1fc04255389eff0028e921aed3.svg"},function(e,t,n){e.exports=n.p+"4f45c7167095f74ff59327de4d3e0115.svg"},function(e,t,n){e.exports=n.p+"8423bce212a5ec2a01e93b0e1a9bfdac.svg"},function(e,t,n){e.exports=n.p+"a741876d6de3ace454279e7bc1014f99.svg"},function(e,t,n){e.exports=n.p+"ae5c58a0732f801b7f26584475ee63df.svg"},function(e,t,n){e.exports=n.p+"25cc6d4537d878e2b680a4913d81de58.svg"},function(e,t,n){e.exports=n.p+"77b1f303ad1b889cd99bc45828279779.svg"},function(e,t,n){e.exports=n.p+"8438e67e2762f22eda9197b6936ded0c.svg"},function(e,t,n){e.exports=n.p+"bcc6d32784c3b7f77b11e1ec97eda415.svg"},function(e,t,n){e.exports=n.p+"ca339caee3a5018d531f70039a8e47ab.svg"},function(e,t,n){e.exports=n.p+"6fadcebd5005f543f26beb15258f3055.svg"},function(e,t,n){e.exports=n.p+"7a2e70981a3be9ccc980f103f5fd8a8e.svg"},function(e,t,n){e.exports=n.p+"5429e945618edca98786285bdc86bdc2.svg"},function(e,t,n){e.exports=n.p+"592c78280bc68c0ea17a35685149eedb.svg"},function(e,t,n){e.exports=n.p+"78d0a8e2a4c121724b086a1a30383e91.svg"},function(e,t,n){e.exports=n.p+"fbd8c954691668ceada3c475755ca35f.svg"},function(e,t,n){e.exports=n.p+"46c22458ecaa66eda7d211985c1cc38c.svg"},function(e,t,n){e.exports=n.p+"2938c2e15bd71bbd53b1744f66b65298.svg"},function(e,t,n){e.exports=n.p+"800b259acb8babe76fad9242ded9686c.svg"},function(e,t,n){e.exports=n.p+"1d12317c94b1516fcf6195892ffb79a1.svg"},function(e,t,n){e.exports=n.p+"06bf204263f1a2a8ed2e9dd9cd0611ad.svg"},function(e,t,n){e.exports=n.p+"5f6a6088b5dea1dff1f2212699c49588.svg"},function(e,t,n){e.exports=n.p+"c47155ce36a3818b1296b7a380654160.svg"},function(e,t,n){e.exports=n.p+"2207de84a1c8ae9b6448d467ed79b3ac.svg"},function(e,t,n){e.exports=n.p+"33e7959a132a39691251575eb14fba5f.svg"},function(e,t,n){e.exports=n.p+"e6cad252ff67fc8d8cc75df503881945.svg"},function(e,t,n){e.exports=n.p+"58c3a6da03c303d5ae6647c79d30644a.svg"},function(e,t,n){e.exports=n.p+"d01333cb5f4163574473c2772dcce114.svg"},function(e,t,n){e.exports=n.p+"f7e36fb56623a083b6740eb3d048e980.svg"},function(e,t,n){e.exports=n.p+"3a6894097226116ae7ce2035ef6f0f2b.svg"},function(e,t,n){e.exports=n.p+"b27aba22564a48c9d85f0073265cf3f9.svg"},function(e,t,n){e.exports=n.p+"9610d74cb56fab27bbd870b00dba930d.svg"},function(e,t,n){e.exports=n.p+"422076b3e766399025beddbf34dde7e4.svg"},function(e,t,n){e.exports=n.p+"d9f2531c2cfc039ca8a7786be16b9610.svg"},function(e,t,n){e.exports=n.p+"1f92cd9b15ee350b93de37c9e3840532.svg"},function(e,t,n){e.exports=n.p+"8d28eb881c117ccb2a48035547ba398b.svg"},function(e,t,n){e.exports=n.p+"53e66c5bbeb959299107e8b3d7547653.svg"},function(e,t,n){e.exports=n.p+"a786b886d349738b8e08aa4067ad5432.svg"},function(e,t,n){e.exports=n.p+"d9b5c45899c71032c16bb042ea1de7ec.svg"},function(e,t,n){e.exports=n.p+"062a37466828befbdc22dd6c70d2f26e.svg"},function(e,t,n){e.exports=n.p+"38872839eea424e113f10cf5453f5678.svg"},function(e,t,n){e.exports=n.p+"d13dc77dc8c3436ed7f1043b46f8cca4.svg"},function(e,t,n){e.exports=n.p+"878332fac1464007550a6a4c274006d7.svg"},function(e,t,n){e.exports=n.p+"7f6c9f9a3e7917478ac9112c1e8422df.svg"},function(e,t,n){e.exports=n.p+"4217b412e24e781846d918e103c3bb72.svg"},function(e,t,n){e.exports=n.p+"6cec76c494bfa3ae46035e0edcb45c12.svg"},function(e,t,n){e.exports=n.p+"70fc307ed438ce746e63b71c33d969c4.svg"},function(e,t,n){e.exports=n.p+"1a8a376f7e86e3d77251955392d9ef98.svg"},function(e,t,n){e.exports=n.p+"366bb47156c87549462a61b06721fc9b.svg"},function(e,t,n){e.exports=n.p+"b4f9d962e098ce611bb3349342aba005.svg"},function(e,t,n){e.exports=n.p+"584bfae16a8ff73d414eead25fa370c5.svg"},function(e,t,n){e.exports=n.p+"4631087c5fb54661ba4d01ae71cace60.svg"},function(e,t,n){e.exports=n.p+"34716f2b22e852b8e641dc91cdbcba63.svg"},function(e,t,n){e.exports=n.p+"5212f2403f865e103f3cd808bbcce400.svg"},function(e,t,n){e.exports=n.p+"2d241fa4cac39d7222f03734abb3ece5.svg"},function(e,t,n){e.exports=n.p+"1f70a48bf27298da2a1caca7ea85f6e9.svg"},function(e,t,n){e.exports=n.p+"2af61c8a3e58bd22f440e3a7dd012110.svg"},function(e,t,n){e.exports=n.p+"c3a730e5d5606554d6567037503bbc43.svg"},function(e,t,n){e.exports=n.p+"fc2fb2fd0060b46fae5d58160496989a.svg"},function(e,t,n){e.exports=n.p+"9328f9d82a1136eccac429840d5935a9.svg"},function(e,t,n){e.exports=n.p+"7e4d508daee769febfe542ad0e016215.svg"},function(e,t,n){e.exports=n.p+"c72c77a0d6cc0c48e92fd0edb239acd0.svg"},function(e,t,n){e.exports=n.p+"e6e9e7a405bb146e88e0f8a3aec6bb02.svg"},function(e,t,n){e.exports=n.p+"46436dabe2908b75088f509c3f91b03c.svg"},function(e,t,n){e.exports=n.p+"815627ecfc88d10dfac326e354f8f316.svg"},function(e,t,n){e.exports=n.p+"53a70520c771d871cf02c51b70f73b13.svg"},function(e,t,n){e.exports=n.p+"d24b5e815b39b61c4bf747b0315f7af3.svg"},function(e,t,n){e.exports=n.p+"9629329d15f85294668d2f310829e4a6.svg"},function(e,t,n){e.exports=n.p+"fd0a3e77df584b4e6f6c54fbbda9587e.svg"},function(e,t,n){e.exports=n.p+"23c5f5338914dafeee68394a64245728.svg"},function(e,t,n){e.exports=n.p+"ee93f48b12afe35a6ad16d6192494538.svg"},function(e,t,n){e.exports=n.p+"b1d8d9e6cfa2923ea83ef9c7abd4dc80.svg"},function(e,t,n){e.exports=n.p+"05d8a9d4718ec0d5788f99343f33cbc4.svg"},function(e,t,n){e.exports=n.p+"d90c4b051025851e8bd62168c6921aa1.svg"},function(e,t,n){e.exports=n.p+"a1f68ff56f790c80061ff73bb3bdb470.svg"},function(e,t,n){e.exports=n.p+"e72c8568f7e87d55dfb2fd6db9e5337f.svg"},function(e,t,n){e.exports=n.p+"ded81139c0261716ede8918707ad348b.svg"},function(e,t,n){e.exports=n.p+"82a5610e8450aa63d835b60cd13e1e45.svg"},function(e,t,n){e.exports=n.p+"43a762ae5038e4e28d7fdfb4231132fb.svg"},function(e,t,n){e.exports=n.p+"bf79ec13ba711cee8f696f69dad70906.svg"},function(e,t,n){e.exports=n.p+"07df9e164392126108fbd370a3af1421.svg"},function(e,t,n){e.exports=n.p+"f332ef3d172d77d4c641eb65a49bc4a8.svg"},function(e,t,n){e.exports=n.p+"4ab5e1a69cab55e1ec0fda9306acd479.svg"},function(e,t,n){e.exports=n.p+"c2d98046d6f9b642f56a494bcbc76321.svg"},function(e,t,n){e.exports=n.p+"202dcb7b0453a308167e21fc7a3a06d3.svg"},function(e,t,n){e.exports=n.p+"99bd938af7bd3d769c0d8d514013e58a.svg"},function(e,t,n){e.exports=n.p+"c210245001be9e8dcc7e334e9e94043d.svg"},function(e,t,n){e.exports=n.p+"2bc856b4eb32bacb668f4844d8e7233f.svg"},function(e,t,n){e.exports=n.p+"e4d803c3bb0f8a5c8e2d37b6bfa7a1c1.svg"},function(e,t,n){e.exports=n.p+"da5e3a22d3d7e5bb5caec6a2de5dd035.svg"},function(e,t,n){e.exports=n.p+"b624d405f4e23cc021e045efae40ece4.svg"},function(e,t,n){e.exports=n.p+"da2e32efbdd18f01572f8904bd33a131.svg"},function(e,t,n){e.exports=n.p+"3d11a69902e23f2dc1c01176e22135d3.svg"},function(e,t,n){e.exports=n.p+"39c113ca451fa1a8f6f8626b2a246c8b.svg"},function(e,t,n){e.exports=n.p+"8814ba388970278862c579833a43516a.svg"},function(e,t,n){e.exports=n.p+"0ac11febca8bfde20516f5139d93e46b.svg"},function(e,t,n){e.exports=n.p+"bb0ed620695b35f1450b623617ffc0b0.svg"},function(e,t,n){e.exports=n.p+"f74bfb2a28c708ed3c3832c720ee5e0e.svg"},function(e,t,n){e.exports=n.p+"9f216159df2c12370101e55dc5dc6862.svg"},function(e,t,n){e.exports=n.p+"e3eb745d92a5175aab529edb2e7d3248.svg"},function(e,t,n){e.exports=n.p+"e185e1a81329abffe479ea0a59650f11.svg"},function(e,t,n){e.exports=n.p+"581744e66dae5ebd54b563d527478f93.svg"},function(e,t,n){e.exports=n.p+"01aa92966a7d5cde4f0c9370dd84ba9c.svg"},function(e,t,n){e.exports=n.p+"5c0074506e0e63ae5ac8646fa17910c0.svg"},function(e,t,n){e.exports=n.p+"7222f385d5ec496cc4bb0308e1153879.svg"},function(e,t,n){e.exports=n.p+"81286b8e5b76e65d7f03c3ffaaef5ec0.svg"},function(e,t,n){e.exports=n.p+"0be0403c674552b9cc5dfbf4f9d42c15.svg"},function(e,t,n){e.exports=n.p+"f157cbac452bf9ae53d7aa1073cb78f6.svg"},function(e,t,n){e.exports=n.p+"cece3d1439975e3678bb956fd99a6b16.svg"},function(e,t,n){e.exports=n.p+"e361b8723c20d3049457fd449a2cf0ce.svg"},function(e,t,n){e.exports=n.p+"3da7a9607b726ffb4947c7a07c822800.svg"},function(e,t,n){e.exports=n.p+"eaf0846edd962b9c41baf6675f8e8756.svg"},function(e,t,n){e.exports=n.p+"26d9aeef49a0e48315a6668435d388fa.svg"},function(e,t,n){e.exports=n.p+"47df200fb8534471e8ca1290bd600a98.svg"},function(e,t,n){e.exports=n.p+"973da4215ff91a11314b977449b93400.svg"},function(e,t,n){e.exports=n.p+"2861f278b896dc3b7734b2b2e07b3fa1.svg"},function(e,t,n){e.exports=n.p+"f9403047f472b9b8ca3b53230af3b5f4.svg"},function(e,t,n){e.exports=n.p+"653a8e1d8e8736fbe8a01d1d0599a7b4.svg"},function(e,t,n){e.exports=n.p+"2d60ccc91929e8ea8fa313a0728f367c.svg"},function(e,t,n){e.exports=n.p+"0e3649e174bc3392b5b9bc46545ebb33.svg"},function(e,t,n){e.exports=n.p+"b5768a9acaa6944a8d61754c2333132f.svg"},function(e,t,n){e.exports=n.p+"e44b7408dce2a801347a5648fbaa13aa.svg"},function(e,t,n){e.exports=n.p+"05280ec44dc3b1589a0de2f4f9f3c6e5.svg"},function(e,t,n){e.exports=n.p+"e67b8fcfcc7e2dac5f450a1774a16dca.svg"},function(e,t,n){e.exports=n.p+"42b83fa035b51cc78967d6397b30f112.svg"},function(e,t,n){e.exports=n.p+"427d2c94f1e6c1b749612cc12f11df7f.svg"},function(e,t,n){e.exports=n.p+"fb85748cbf6237665a63d0be4a86e87f.svg"},function(e,t,n){e.exports=n.p+"683f13c51040cf0f943448e5206135f8.svg"},function(e,t,n){e.exports=n.p+"ddd646b579a0e1211ac528f322a81d7c.svg"},function(e,t,n){e.exports=n.p+"4e2cfb47767914d79f828f0d034a314e.svg"},function(e,t,n){e.exports=n.p+"aa7ee66a0b4a196350679d2a33ea1f37.svg"},function(e,t,n){e.exports=n.p+"c0c269468c9c961894e2271efad76cdf.svg"},function(e,t,n){e.exports=n.p+"43910a2315d80e54680078da1d9bee20.svg"},function(e,t,n){e.exports=n.p+"9d1b5445bc3ad1deb1c1c262e8a9dfd4.svg"},function(e,t,n){e.exports=n.p+"2f36b16efce2273fd8af875aa24aca43.svg"},function(e,t,n){e.exports=n.p+"c047791b5f0a0e09206289fbdbc19c9a.svg"},function(e,t,n){e.exports=n.p+"94224b47cd686845e22a8c15586fe445.svg"},function(e,t,n){e.exports=n.p+"851e1dcf23d9d8efc250d49370f2a754.svg"},function(e,t,n){e.exports=n.p+"216b91a03b445bdb3751e631a5a608ff.svg"},function(e,t,n){e.exports=n.p+"2f200f77ba6ea3a96b4db91d29005749.svg"},function(e,t,n){e.exports=n.p+"7c61a4efbcb172a107757cd9d29ceeb2.svg"},function(e,t,n){e.exports=n.p+"58d2d618b428d10337d11bcf53ac9abd.svg"},function(e,t,n){e.exports=n.p+"ca3dcef2e67de1e096ee19cd24eb6702.svg"},function(e,t,n){e.exports=n.p+"4f486e912b84eb81b42219bb01b8f118.svg"},function(e,t,n){e.exports=n.p+"e0383021231d746c9a0596aba8c0b840.svg"},function(e,t,n){e.exports=n.p+"91e7b21f2e0e5bd00cb9398219bafff5.svg"},function(e,t,n){e.exports=n.p+"2e61c60deca6f1a1b9889224218c0374.svg"},function(e,t,n){e.exports=n.p+"d644ae3886379900a2aad80d97732117.svg"},function(e,t,n){e.exports=n.p+"433eab58ecd0deccffc57c8860040b02.svg"},function(e,t,n){e.exports=n.p+"4addb81fa0b6e0275190c85c6569784d.svg"},function(e,t,n){e.exports=n.p+"7be6df4cb1ea8762760d66931f6819d2.svg"},function(e,t,n){e.exports=n.p+"3bc8dd485118ee6ca56f5a9e30893968.svg"},function(e,t,n){e.exports=n.p+"4170cde17128fe667d5efb755880b04a.svg"},function(e,t,n){e.exports=n.p+"5291f48639cb101a73063a600c6e8f0c.svg"},function(e,t,n){e.exports=n.p+"e94ec80b0fab970d1343354e48d57496.svg"},function(e,t,n){e.exports=n.p+"9a77b4a345faab00f882f3827e9c9267.svg"},function(e,t,n){e.exports=n.p+"0b5bcef820dd9f3d67744097c286ce3e.svg"},function(e,t,n){e.exports=n.p+"c9780594998f0ee4f3d6f224b03c9ee5.svg"},function(e,t,n){e.exports=n.p+"3db812dc6d0cbd195764611e35c6af03.svg"},function(e,t,n){e.exports=n.p+"02207416446aa886a5381f88f3182059.svg"},function(e,t,n){e.exports=n.p+"3dc636a2d49a04415f0f9c96bcca8e8a.svg"},function(e,t,n){e.exports=n.p+"23d7a64c784e502b9ecd92d0f9c08d71.svg"},function(e,t,n){e.exports=n.p+"a328aaa6f4f382926fa495bf3ba92afd.svg"},function(e,t,n){e.exports=n.p+"5f84d46b37e0b88c473a024ff0347300.svg"},function(e,t,n){e.exports=n.p+"d829687b546ae8a31adb8c45241ecb64.svg"},function(e,t,n){e.exports=n.p+"e844240dc2411be5439c1326fe46e7c4.svg"},function(e,t,n){e.exports=n.p+"ebe85522fa1e73d7200f78470a231068.svg"},function(e,t,n){e.exports=n.p+"84e3577814a6e335c45f1d766d54a4b0.svg"},function(e,t,n){e.exports=n.p+"ad1074c0702656fec1fce44211e26eaa.svg"},function(e,t,n){e.exports=n.p+"01b8ee039e18e0901cfc499bc71c6990.svg"},function(e,t,n){e.exports=n.p+"94403bf6bcea5b39c46141ed25824cbb.svg"},function(e,t,n){e.exports=n.p+"c1da8fe78533c5509fb5b97da9ee9b6f.svg"},function(e,t,n){e.exports=n.p+"8f7170461d8ea91ec4127aa5b3c6723a.svg"},function(e,t,n){e.exports=n.p+"631009c880011f9252745316f7a6619a.svg"},function(e,t,n){e.exports=n.p+"30e719fd200a5bca3f760d4af8309d12.svg"},function(e,t,n){e.exports=n.p+"a8a074cc55eb537493539db348aab9a6.svg"},function(e,t,n){e.exports=n.p+"1dcf839d3946816c3d28247c6b3795e8.svg"},function(e,t,n){e.exports=n.p+"d54feddfcc86b76e84407839c8fee397.svg"},function(e,t,n){e.exports=n.p+"32fcb37d4fdd650d73f28dfab8f99323.svg"},function(e,t,n){e.exports=n.p+"8380a773d8651f24fd810b6553779f00.svg"},function(e,t,n){e.exports=n.p+"79e0a69229f5b700bb5b3cbcd4b7ccea.svg"},function(e,t,n){e.exports=n.p+"574a41bea03444d6556bb2a07f6c20ec.svg"},function(e,t,n){e.exports=n.p+"a53dc336c12f2823e70919ec4ae38e12.svg"},function(e,t,n){e.exports=n.p+"c5bcb9198662897f657193a54d7c88f0.svg"},function(e,t,n){e.exports=n.p+"ec40d5da381fb31686f5a20e0af5d75a.svg"},function(e,t,n){e.exports=n.p+"b8783388b27601db4e4f7cc755d0b654.svg"},function(e,t,n){e.exports=n.p+"c998fb5c898e8502567805f582d210b8.svg"},function(e,t,n){e.exports=n.p+"554093718cd40b1222f4290f45a2fd6f.svg"},function(e,t,n){e.exports=n.p+"2d0065f12461931ea56d9d737599f8b7.svg"},function(e,t,n){e.exports=n.p+"6b5f51de9d2394203fab745b8a7bfa1f.svg"},function(e,t,n){e.exports=n.p+"09612863c6c52ec54862dedbcbfd00db.svg"},function(e,t,n){e.exports=n.p+"3a77e32a4186aea365929e965e030298.svg"},function(e,t,n){e.exports=n.p+"8412469510e8a64554aa7a66b2a6e504.svg"},function(e,t,n){e.exports=n.p+"343b2bf6e4bffc0f2511e683fca7feca.svg"},function(e,t,n){e.exports=n.p+"b438c16b261e093696e62a1a885cdf30.svg"},function(e,t,n){e.exports=n.p+"e46d5cf36d4f8730cd9a0e87e27b39ee.svg"},function(e,t,n){e.exports=n.p+"00d8541506c4f9ad5097206bf041c21a.svg"},function(e,t,n){e.exports=n.p+"6de4803c453e401fd9a496dd04824304.svg"},function(e,t,n){e.exports=n.p+"eaa3bd7d4aedbe3370f13d001b1df7d9.svg"},function(e,t,n){e.exports=n.p+"bba45ad5e43a6dfc3808fc2c89e60be7.svg"},function(e,t,n){e.exports=n.p+"71252bf410cb016ec3c3f387142f1288.svg"},function(e,t,n){e.exports=n.p+"7edc30faec6d8df693ae54089f3ef39b.svg"},function(e,t,n){e.exports=n.p+"618236af9063475d6aea94ad88cf496a.svg"},function(e,t,n){e.exports=n.p+"987a4b09b19d009af74ecd5aa2ce5208.svg"},function(e,t,n){e.exports=n.p+"73c1f9d72ce637eeb0912bd7d4a86fbf.svg"},function(e,t,n){e.exports=n.p+"cf4ba1b9ee56e41df83f7b4077090847.svg"},function(e,t,n){e.exports=n.p+"e0139854aba487f4126d494cf888380f.svg"},function(e,t,n){e.exports=n.p+"4e331a5aeb50d352f087435d23596889.svg"},function(e,t,n){e.exports=n.p+"1db5f5621f5ae8f73aa4812e9e343f42.svg"},function(e,t,n){e.exports=n.p+"1dafc1b378a16a192aa60fd044152648.svg"},function(e,t,n){e.exports=n.p+"2f02679c4162c9c9d27a28a800c5e69a.svg"},function(e,t,n){e.exports=n.p+"48861cd332b06ab0fee8865188f6ed42.svg"},function(e,t,n){e.exports=n.p+"b037a9b4e1223ddde108a1503ba1e562.svg"},function(e,t,n){e.exports=n.p+"4d1ba3b403a2cc69b9be6404d95cc510.svg"},function(e,t,n){e.exports=n.p+"0bb07db0d1e5f158b7700e04ac57f109.svg"},function(e,t,n){e.exports=n.p+"b6a66e6815691246055f4a4a4c9e2fbf.svg"},function(e,t,n){e.exports=n.p+"41f72c28e915d210437e582512a75999.svg"},function(e,t,n){e.exports=n.p+"66edd694a75fb426a55644c11691f0a1.svg"},function(e,t,n){e.exports=n.p+"9dd3bc6a3c2ab5a1a30d034418e1e449.svg"},function(e,t,n){e.exports=n.p+"7730d9a67220e06c4b937f43db576b24.svg"},function(e,t,n){e.exports=n.p+"d49c32e5980a172d35ba0fc46fe946ea.svg"},function(e,t,n){e.exports=n.p+"f358d991df3e0d3c1151935535277a65.svg"},function(e,t,n){e.exports=n.p+"88a50ca0498a10843fbd81e510eb78ed.svg"},function(e,t,n){e.exports=n.p+"868bea312c95c94948d24fefc9a621db.svg"},function(e,t,n){e.exports=n.p+"27e333bf05f6ffdf08b0c13bd3d31217.svg"},function(e,t,n){e.exports=n.p+"d873f9b00ca32263b4b71932e8da732f.svg"},function(e,t,n){e.exports=n.p+"d35a5f82a7bdad1a3862d6607acc6b8a.svg"},function(e,t,n){e.exports=n.p+"66d6eff4403350b072813d10925205ed.svg"},function(e,t,n){e.exports=n.p+"aa159edfdd00793bdbc8c261478c22ec.svg"},function(e,t,n){e.exports=n.p+"ee740e436f1798ba6ad7fbba112b2410.svg"},function(e,t,n){e.exports=n.p+"b1553649a4132583b858187541d637e7.svg"},function(e,t,n){e.exports=n.p+"0350934f92cde2d67a77b84d18367fa1.svg"},function(e,t,n){e.exports=n.p+"672635b9a4339b5dbe1d8ec82448d2e0.svg"},function(e,t,n){e.exports=n.p+"4b2b8ba80373b67fc338674e0ff935a8.svg"},function(e,t,n){e.exports=n.p+"4a0f3e3ab990b2813b67b010fb612f6d.svg"},function(e,t,n){e.exports=n.p+"1d9b7b00f5a4289cb8ffd6d207df04f0.svg"},function(e,t,n){e.exports=n.p+"92c9e16f95b0546219f846a2913d6feb.svg"},function(e,t,n){e.exports=n.p+"d8c48acf24e3ee003848047367e752f4.svg"},function(e,t,n){e.exports=n.p+"b229142af51d4af94879e9926f48a392.svg"},function(e,t,n){e.exports=n.p+"02e78f3f076d900363c55e045dff330b.svg"},function(e,t,n){e.exports=n.p+"5fbb997f1f5311969a881f2c7f4c515f.svg"},function(e,t,n){e.exports=n.p+"362aab919f3c8773a1fb59100314cfef.svg"},function(e,t,n){e.exports=n.p+"04488c3c5879bcd80e920faa8e3fcd1f.svg"},function(e,t,n){e.exports=n.p+"debf413899ddcf055ac0cffc7641626c.svg"},function(e,t,n){e.exports=n.p+"03ccb743a9c42c8c83910f8a8949fa36.svg"},function(e,t,n){e.exports=n.p+"c7686e989f90435dfcb794abcde3bcd2.svg"},function(e,t,n){e.exports=n.p+"fef51a627159aaa4759c812c2945ce76.svg"},function(e,t,n){e.exports=n.p+"7ff3d0c31182a3e0ddc4fb2cbba80607.svg"},function(e,t,n){e.exports=n.p+"694fad2bec3833bac257ebd8e4a9504f.svg"},function(e,t,n){e.exports=n.p+"aad5af67ca4be288ed1fd00f6c154f57.svg"},function(e,t,n){e.exports=n.p+"2a5d382b0be4059e9f8ac97d4bb8aed4.svg"},function(e,t,n){e.exports=n.p+"2203027ddecdc045aec94357450b4530.svg"},function(e,t,n){e.exports=n.p+"7a18fdad29559333046e1df4d34f86b9.svg"},function(e,t,n){e.exports=n.p+"e7b36c7b78fc8acbf03dc366fafd43ce.svg"},function(e,t,n){e.exports=n.p+"ba581ef02424c465a38145e65f8f1d58.svg"},function(e,t,n){e.exports=n.p+"68ae4eb7c72054f6e238b9c69cc90d9f.svg"},function(e,t,n){e.exports=n.p+"74657057d786751d7016ec1727733697.svg"},function(e,t,n){e.exports=n.p+"643e1beb80590f15f378b262036e8001.svg"},function(e,t,n){e.exports=n.p+"64d017a8572a93e8d0dac2460d725fb8.svg"},function(e,t,n){e.exports=n.p+"00e6c22a3ed9c78cdd8382993448f1d8.svg"},function(e,t,n){e.exports=n.p+"3e2cd92b66060c29cff7bef6ea2e0456.svg"},function(e,t,n){e.exports=n.p+"1d6e9c622b6ee497c18756317a4fd29c.svg"},function(e,t,n){e.exports=n.p+"da1aa93913927015100be2b0e95a44aa.svg"},function(e,t,n){e.exports=n.p+"bac5ea1aa04ed502cb375def90af9a2e.svg"},function(e,t,n){e.exports=n.p+"89cd7eb2c075f997621c23c5f651fe25.svg"},function(e,t,n){e.exports=n.p+"6ce9524619b852925762f7cda549e274.svg"},function(e,t,n){e.exports=n.p+"c7eb742cb16e158f2895edb372c200f3.svg"},function(e,t,n){e.exports=n.p+"bfd9b9dfa58a53fca7de8242b2e4d3d7.svg"},function(e,t,n){e.exports=n.p+"e0512629d76cc356a19d3ef99747ca15.svg"},function(e,t,n){e.exports=n.p+"41a874a7fbed9bc6d6a21e6634f00b56.svg"},function(e,t,n){e.exports=n.p+"be618df1a2f4832da12795e58124376c.svg"},function(e,t,n){e.exports=n.p+"87bf9e29d869aff1adb917fd0fb7c193.svg"},function(e,t,n){e.exports=n.p+"bfb7670addd486a17063e9e39af86462.svg"},function(e,t,n){e.exports=n.p+"e79e337d29d9c88efe0d746f835d884f.svg"},function(e,t,n){e.exports=n.p+"00b1287a89ec490d9bbb09011465a1c5.svg"},function(e,t,n){e.exports=n.p+"444af7af46ac656dffb23a33040cc638.svg"},function(e,t,n){e.exports=n.p+"80c507466757fdf397d5b2f17c09b81d.svg"},function(e,t,n){e.exports=n.p+"accb7af48c00777f25e3aab6d6da735a.svg"},function(e,t,n){e.exports=n.p+"8a9482e7e12f8c8f3783844125791bef.svg"},function(e,t,n){e.exports=n.p+"834e1a2a61ce6e8533336f1f7e1d244d.svg"},function(e,t,n){e.exports=n.p+"8a295569f9f205841c33085202539ab2.svg"},function(e,t,n){e.exports=n.p+"a58910ba2a48b7c7ac2436cc47b15d08.svg"},function(e,t,n){e.exports=n.p+"c70b690debd7e0fe9c1685a673b8c7a1.svg"},function(e,t,n){e.exports=n.p+"8738333495fab2ea53accfb1e6fadb47.svg"},function(e,t,n){e.exports=n.p+"5deffcb0dbea4f9362e684bd10eb9f45.svg"},function(e,t,n){e.exports=n.p+"a08f3a02e3225d9c9dcb8bab91960ce0.svg"},function(e,t,n){e.exports=n.p+"c232d1fc0940c72d2de13293e1845f7f.svg"},function(e,t,n){e.exports=n.p+"3a7998c9dd06201ec681eed98ce86526.svg"},function(e,t,n){e.exports=n.p+"f6e85f7022a1fdf4868fb8667cfe12cc.svg"},function(e,t,n){e.exports=n.p+"5ac85f0d02866dbce56973ac87224a7d.svg"},function(e,t,n){e.exports=n.p+"0bf5972bff8b8b4c26621bd5cd25d839.svg"},function(e,t,n){e.exports=n.p+"ec0bba62895ee2423aed0aabf5fb3c83.svg"},function(e,t,n){e.exports=n.p+"b1b58b6b04a9f27b37c712060c06c145.svg"},function(e,t,n){e.exports=n.p+"559218d868ea9947d1bf8f398f04d214.svg"},function(e,t,n){e.exports=n.p+"0e61b1d970d94a2786e48830b2ba1da9.svg"},function(e,t,n){e.exports=n.p+"b24d488311f7b61c7652675a38895105.svg"},function(e,t,n){e.exports=n.p+"2ca95301db0ebcf082d6be3824d44da0.svg"},function(e,t,n){e.exports=n.p+"a38e4c37e7586cf0d2ed5ef9b7a1256b.svg"},function(e,t,n){e.exports=n.p+"a66029551e6622ee220b35677db15d8b.svg"},function(e,t,n){e.exports=n.p+"6397a81d13d9b1cac66c1afefb072f3d.svg"},function(e,t,n){e.exports=n.p+"fc330e3e65219b14fbc0f73695678212.svg"},function(e,t,n){e.exports=n.p+"267472d9c0d95782291d5b05f6008409.svg"},function(e,t,n){e.exports=n.p+"9982c55956394231e8a23ccac7cfe202.svg"},function(e,t,n){e.exports=n.p+"232c63163a0f5b41306a860843920938.svg"},function(e,t,n){e.exports=n.p+"77e4efbf6ce6a79d8e7fe15172be07e5.svg"},function(e,t,n){e.exports=n.p+"77ade546786b522c1f56c57e74d4b1b0.svg"},function(e,t,n){e.exports=n.p+"e673c35319c2c6b3d4318f16d4181f77.svg"},function(e,t,n){e.exports=n.p+"d81f686b7808eef83563b335fa444a5d.svg"},function(e,t,n){e.exports=n.p+"6fa55b72d1a0a1db7fb2be7c248b06b1.svg"},function(e,t,n){e.exports=n.p+"b5fe64c81ae3bfcd40655a32b297f948.svg"},function(e,t,n){e.exports=n.p+"1e7634006385f432ddb02ac2ec30a230.svg"},function(e,t,n){e.exports=n.p+"04ae66e9535ee04c36ebc2489bbd0351.svg"},function(e,t,n){e.exports=n.p+"d57f2dafc1768e2fa3fbdae18d04a17f.svg"},function(e,t,n){e.exports=n.p+"83ef7fa5e050f0e8133709ad5d87fc90.svg"},function(e,t,n){e.exports=n.p+"f248b9a976f998c9cc7faadd0040a5fb.svg"},function(e,t,n){e.exports=n.p+"ba5be176ff3630e7bd154623ebac6522.svg"},function(e,t,n){e.exports=n.p+"4810636ec1a368979c0daefe076741e2.svg"},function(e,t,n){e.exports=n.p+"e04c90b83c277fb080c70d73a71e7c79.svg"},function(e,t,n){e.exports=n.p+"e33aeec40a8c81635528cb5f8bf50200.svg"},function(e,t,n){e.exports=n.p+"41d1ec3b4319acce95451c0b5d8784b0.svg"},function(e,t,n){e.exports=n.p+"e3f518dd9cfea9db83921d7c037d61d1.svg"},function(e,t,n){e.exports=n.p+"c84e3f83b281b92495872d0d3b139cea.svg"},function(e,t,n){e.exports=n.p+"38939362014f3205d178580c43cbd13a.svg"},function(e,t,n){e.exports=n.p+"84d41fa0d4c5e3b668edb1142d6d4105.svg"},function(e,t,n){e.exports=n.p+"57b616f0b6a6e590342ac593b59a1a8c.svg"},function(e,t,n){e.exports=n.p+"e82f2a5518037286d72a5411e710d4d7.svg"},function(e,t,n){e.exports=n.p+"6985843ccf92dd8c22735b3c832a1acd.svg"},function(e,t,n){e.exports=n.p+"2af597d88e655d0cce7ff65a50298d70.svg"},function(e,t,n){e.exports=n.p+"c36f404ef43affe7525784b28dce16ff.svg"},function(e,t,n){e.exports=n.p+"d4b1476ff922b0ef6ac41ea825cf2705.svg"},function(e,t,n){e.exports=n.p+"e8fb6cf9479a7397963129798f97b1d5.svg"},function(e,t,n){e.exports=n.p+"c82b382a4e972f005a98e29131b773d9.svg"},function(e,t,n){e.exports=n.p+"8286cb29b97eb60edbd70a9172afabbb.svg"},function(e,t,n){e.exports=n.p+"914776cd7f1e6684424542e0793cf54b.svg"},function(e,t,n){e.exports=n.p+"e6bbd7e1a762e2e20cee7ae28d29a6f3.svg"},function(e,t,n){e.exports=n.p+"e329f1d8eba62eb4d02e9106bbe2c6a5.svg"},function(e,t,n){e.exports=n.p+"1c1e2b8196062cea1c70edeed44fc479.svg"},function(e,t,n){e.exports=n.p+"f7e01db7b5747da3c85cfd6bc6207c66.svg"},function(e,t,n){e.exports=n.p+"9efd3edbbbbe01484706490270ca2059.svg"},function(e,t,n){e.exports=n.p+"089aef33603e32cfb0408c97244972bb.svg"},function(e,t,n){e.exports=n.p+"76e6d179559520cd50c0f603ca15c517.svg"},function(e,t,n){e.exports=n.p+"4a272ae77e82237cdaca3c0895b8a313.svg"},function(e,t,n){e.exports=n.p+"aedb2953ab450c89c31253dd395297c1.svg"},function(e,t,n){e.exports=n.p+"d9c6360fe725a4054969f2b59506dc0d.svg"},function(e,t,n){e.exports=n.p+"45868a261eb6ede08e6ce627d8d15993.svg"},function(e,t,n){e.exports=n.p+"cd7e7ce7864a13e519ceac8e3d573dd1.svg"},function(e,t,n){e.exports=n.p+"11b9d8164d204c7fd48a88a515745c1d.svg"},function(e,t,n){e.exports=n.p+"dadac20f322abc00a1730821b9a2c8c6.svg"},function(e,t,n){e.exports=n.p+"bb70fe9751f89158c5df2c920846eb6a.svg"},function(e,t,n){e.exports=n.p+"c9ab5c7dade3ae221f8b865b880d3f02.svg"},function(e,t,n){e.exports=n.p+"0b7d8392d45f50e895f03eb2c1e2fb6c.svg"},function(e,t,n){e.exports=n.p+"f2bce58c85b3a413f40a65ad2c0b2ebf.svg"},function(e,t,n){e.exports=n.p+"d9a6bac016e1c405fe737691c8cc084b.svg"},function(e,t,n){e.exports=n.p+"0a46bbddbcd72afd279f95ec25ed901f.svg"},function(e,t,n){e.exports=n.p+"e615f9bfc59c57cc6ad2a1bd5df68264.svg"},function(e,t,n){e.exports=n.p+"d8cd8872f217c51e8cab323d5681a6e9.svg"},function(e,t,n){e.exports=n.p+"1ba62b494748b1fff7ac325265ea543f.svg"},function(e,t,n){e.exports=n.p+"d3a23a6f305b9e9b242bd252296602c1.svg"},function(e,t,n){e.exports=n.p+"5c554f6ebf3cfddf82ea3d1d715d2dda.svg"},function(e,t,n){e.exports=n.p+"aabdb1da52257ba05480f31bbe066aa3.svg"},function(e,t,n){e.exports=n.p+"c21367782d767a023bd5d090b735bad9.svg"},function(e,t,n){e.exports=n.p+"3f668b2c0d30e081d55f33b810f5cf96.svg"},function(e,t,n){e.exports=n.p+"ba4d132b61d61e957465db5d29e61e7d.svg"},function(e,t,n){e.exports=n.p+"711d821cf988b45ec85fd6a31ba985d8.svg"},function(e,t,n){e.exports=n.p+"fdfbde645f16761b69a21d334ee17611.svg"},function(e,t,n){e.exports=n.p+"787ebc472336cac2e745b913176af113.svg"},function(e,t,n){e.exports=n.p+"ffe6ed65594ad7e59441d29b235a5e3b.svg"},function(e,t,n){e.exports=n.p+"1ed507569d97d69aa36ebd7dc1011177.svg"},function(e,t,n){e.exports=n.p+"ccf3a8ec8488ab282e36c8f0217d73cd.svg"},function(e,t,n){e.exports=n.p+"4cd3151267b3c4033da1226fb48105f9.svg"},function(e,t,n){e.exports=n.p+"8e9f1b9bfcef34a52182bd1d06fbcb88.svg"},function(e,t,n){e.exports=n.p+"16e50cf15d1cfdc28964072544f55043.svg"},function(e,t,n){e.exports=n.p+"0f17a7cce9e5c8fd393abc909a2616ab.svg"},function(e,t,n){e.exports=n.p+"233755b9437ebf9f05d34ea440d7a16b.svg"},function(e,t,n){e.exports=n.p+"bfbfe07667b675fdcbbb30ba63f0464c.svg"},function(e,t,n){e.exports=n.p+"284a5960c3fb6d80d0e02bc8ed2f2a2d.svg"},function(e,t,n){e.exports=n.p+"198bca7e9175adece98c33d497569962.svg"},function(e,t,n){e.exports=n.p+"9aed4befbf07fca5047eda5e2d461292.svg"},function(e,t,n){e.exports=n.p+"3bdb393d75d08ec821a943f2f2659a95.svg"},function(e,t,n){e.exports=n.p+"9a13b8821ec2c880981df4bf3ce07177.svg"},function(e,t,n){e.exports=n.p+"2cc6266229c7e2ccfde10e81782e8b5c.svg"},function(e,t,n){e.exports=n.p+"1cc8befbb8d3c3dcb5b4f942d396395f.svg"},function(e,t,n){e.exports=n.p+"70fef31c956805f7f5d867ebb5ba9b70.svg"},function(e,t,n){e.exports=n.p+"43e7ad0f9a97bb8c7655bf3ec472ded6.svg"},function(e,t,n){e.exports=n.p+"d9584dea94b394bd56d70f941b8afdf3.svg"},function(e,t,n){e.exports=n.p+"be097e7d915489fe6a4d3c90d6931f60.svg"},function(e,t,n){e.exports=n.p+"94d72d11e74aa2583b2092275093efea.svg"},function(e,t,n){e.exports=n.p+"f220b5e735fd1d9f1e1d374d7021f7f6.svg"},function(e,t,n){e.exports=n.p+"f33f04b3c6c8190ec9afa622d0168706.svg"},function(e,t,n){e.exports=n.p+"610162a08147d9e3c3198c32c9deada9.svg"},function(e,t,n){e.exports=n.p+"397cc2a7ee743bfc004701afc818b84a.svg"},function(e,t,n){e.exports=n.p+"05ace4106e5e1af6afbea0fa339e557c.svg"},function(e,t,n){e.exports=n.p+"ff8c49a85b7fbda0110c66353a9db71e.svg"},function(e,t,n){e.exports=n.p+"fcff6ac673eb2d32ef5a49818d9572da.svg"},function(e,t,n){e.exports=n.p+"094aec29c55873f2b7a24df523b428c6.svg"},function(e,t,n){e.exports=n.p+"d303e410b0ca930c1415c3b420675997.svg"},function(e,t,n){e.exports=n.p+"d6e013cec3f76e3fe8b0aecea25dfd16.svg"},function(e,t,n){e.exports=n.p+"cce448a3308b974d14c3a58bc86cabdc.svg"},function(e,t,n){e.exports=n.p+"bcce2b4d6cf7e4c2a0f83d6488c338ea.svg"},function(e,t,n){e.exports=n.p+"97ebb7b72c4369b203aba61059674db1.svg"},function(e,t,n){e.exports=n.p+"5c453c22c9759622b0cd8a103b368801.svg"},function(e,t,n){e.exports=n.p+"f6f5399e57ef77e62130ed0b16104a4f.svg"},function(e,t,n){e.exports=n.p+"dad59c6b5d0282bdb6476eb7b437785c.svg"},function(e,t,n){e.exports=n.p+"630f5938948131784285d97d57a3e8a0.svg"},function(e,t,n){e.exports=n.p+"11d800c7b4c405d96e8e412163727a89.svg"},function(e,t,n){e.exports=n.p+"c3b6bfe6efe3d61d1e9198fe347ca06c.svg"},function(e,t,n){e.exports=n.p+"617c1718e07ad475bacecb7e5e401dd3.svg"},function(e,t,n){e.exports=n.p+"c76aff0be5af2818d6a54a7041f42a11.svg"},function(e,t,n){e.exports=n.p+"bfd68f26a38f7184b5bcdd40153c4196.svg"},function(e,t,n){e.exports=n.p+"86be05bb96db845b7681ef10462f0a51.svg"},function(e,t,n){e.exports=n.p+"dac778e8126fd5f96b6511d7ad8ffec1.svg"},function(e,t,n){e.exports=n.p+"60c5854fe77ca7a4946b7c801c559f4a.svg"},function(e,t,n){e.exports=n.p+"6c50e93fd7985026a8bc945a412edbdd.svg"},function(e,t,n){e.exports=n.p+"9fa9d42fbc4405fdca021e2fe9e5c4e2.svg"},function(e,t,n){e.exports=n.p+"b080d1398cef7723bd25208b26b3f89a.svg"},function(e,t,n){e.exports=n.p+"d55ae3fc2d6af0ffc3d175e9ef6b423a.svg"},function(e,t,n){e.exports=n.p+"b6a3073e1281d1ef79d48ef130c183b2.svg"},function(e,t,n){e.exports=n.p+"da4ea68f0040eb0cdcf1aadc43bcbb7c.svg"},function(e,t,n){e.exports=n.p+"7d4f02f7354aee0b30e7e5a35579fff4.svg"},function(e,t,n){e.exports=n.p+"1038cee47a0a8313dc2d4006145fcee6.svg"},function(e,t,n){e.exports=n.p+"6b40a9e9f0035e358ec8ecd215429e01.svg"},function(e,t,n){e.exports=n.p+"4ae61830562f5264431aae7c546bd2bf.svg"},function(e,t,n){e.exports=n.p+"f5ff21535567c18b5e0af90c9152699b.svg"},function(e,t,n){e.exports=n.p+"b1287f622ee40d8bfc5c008b176f0ea7.svg"},function(e,t,n){e.exports=n.p+"e39ec5942bc69d0a6392f507ff3321ed.svg"},function(e,t,n){e.exports=n.p+"86c16c39d96283551fd4ca7392e22681.svg"},function(e,t,n){e.exports=n.p+"f6de0d98b8ce397124e3cb7cc069da16.svg"},function(e,t,n){e.exports=n.p+"2e081ee00be98dbfc615fa5d5dc249b1.svg"},function(e,t,n){e.exports=n.p+"ac577511ab9afa8bb830b0d70272d887.svg"},function(e,t,n){e.exports=n.p+"e243141d9cecd61ee4dc3251baffe5fa.svg"},function(e,t,n){e.exports=n.p+"4e88c34f04c3cad89f5f0949d8ea96d3.svg"},function(e,t,n){e.exports=n.p+"e03a98069a150f630847129fb427b8dd.svg"},function(e,t,n){e.exports=n.p+"ca0867a54e1e6303914873bea2479c79.svg"},function(e,t,n){e.exports=n.p+"5892291f9a03ff4dc8b36beece5ac70c.svg"},function(e,t,n){e.exports=n.p+"a08390af9d69488ad04ca6332b33c2d5.svg"},function(e,t,n){e.exports=n.p+"39cb7a326a67437dfed8216b0523d055.svg"},function(e,t,n){e.exports=n.p+"9445b59878fd9d95fad861939d5a25a7.svg"},function(e,t,n){e.exports=n.p+"672f8aca9a57812526e1e5875916efbe.svg"},function(e,t,n){e.exports=n.p+"698459178d35dc0796ec25fbae70c6c5.svg"},function(e,t,n){e.exports=n.p+"d23f3adc94869d5324e319ce84aaf451.svg"},function(e,t,n){e.exports=n.p+"d7bbe0154d7fe493cad8d0254bf151cb.svg"},function(e,t,n){e.exports=n.p+"fcafaf615ea28a865390cd1075f7c808.svg"},function(e,t,n){e.exports=n.p+"df0b84caccd7c506a224e12879bd169a.svg"},function(e,t,n){e.exports=n.p+"88201cfdba8c923f39b94e0db7f42f08.svg"},function(e,t,n){e.exports=n.p+"b426f77f42bb709bcb2faa23602d2dc4.svg"},function(e,t,n){e.exports=n.p+"b8aa4aa17118e3f6fa4a281eebaa8657.svg"},function(e,t,n){e.exports=n.p+"f2d869d6b7b636d5ca7e1fa73e09b9c6.svg"},function(e,t,n){e.exports=n.p+"97ba10c090fb15245ff6cbcc14fd291a.svg"},function(e,t,n){e.exports=n.p+"611c257f23f38c50b66e1454df7bda7a.svg"},function(e,t,n){e.exports=n.p+"31e97cadbf129a612acc8498fd9b4e8e.svg"},function(e,t,n){e.exports=n.p+"a92d65baeb967f98d06fb9667f43d077.svg"},function(e,t,n){e.exports=n.p+"8e920530067946e0a960de6de58b29c8.svg"},function(e,t,n){e.exports=n.p+"85170bae8fa48e79647abf33e831c2de.svg"},function(e,t,n){e.exports=n.p+"bf336110b8d3f2fc054016e661dde72e.svg"},function(e,t,n){e.exports=n.p+"5ff81764b353f54e96aa1ad538181a0c.svg"},function(e,t,n){e.exports=n.p+"3c3978d607f6d32816a9fa03ac34b640.svg"},function(e,t,n){e.exports=n.p+"c795dea52fd2f189386004b416e7e42f.svg"},function(e,t,n){e.exports=n.p+"7c5374d50f0fab4ddad07d721eef2a03.svg"},function(e,t,n){e.exports=n.p+"bfaee833fbad8301dbd9a4862efe5671.svg"},function(e,t,n){e.exports=n.p+"22bbea32f8826e963038329aee825bc1.svg"},function(e,t,n){e.exports=n.p+"3fe9fcacdbee990bd0d873135689bd5b.svg"},function(e,t,n){e.exports=n.p+"b67a375a6b8f5caeacff463835c44011.svg"},function(e,t,n){e.exports=n.p+"1afd3c799f3e158662a70498e83e2a87.svg"},function(e,t,n){e.exports=n.p+"61e5eb6df757130920f69f1bc3ec6cdf.svg"},function(e,t,n){e.exports=n.p+"2f845c13e5a7ba55b9dd834910f20b74.svg"},function(e,t,n){e.exports=n.p+"1abe7bcd908fce61e7eadc5aaab23cbd.svg"},function(e,t,n){e.exports=n.p+"87c3702386b15ec3c4474fae0bf31bbe.svg"},function(e,t,n){e.exports=n.p+"5610f2e382d6b6394dcf82fbac03e32c.svg"},function(e,t,n){e.exports=n.p+"3c660250c99f7f232505c273d29e6a7e.svg"},function(e,t,n){e.exports=n.p+"3935fe40246bcfa69647ca92a58761a5.svg"},function(e,t,n){e.exports=n.p+"e7159ba0fcc85f39f95227dd85f44aeb.svg"},function(e,t,n){e.exports=n.p+"e3ffc4211c11ed9af585031111c236f9.svg"},function(e,t,n){e.exports=n.p+"04e853004af5d0aad387cef5be7513a0.svg"},function(e,t,n){e.exports=n.p+"bbe33fe3305ad5d3212157014584317f.svg"},function(e,t,n){e.exports=n.p+"a6d05968d7706183143518d96c9f066e.svg"},function(e,t,n){e.exports=n.p+"f70b9bba067a9d6a02d73385aff6449c.svg"},function(e,t,n){e.exports=n.p+"87632fc55f217f6774af0b077e01ddca.svg"},function(e,t,n){e.exports=n.p+"289673858e06dfa2e0e3a7ee610c3a30.svg"},function(e,t,n){e.exports=n.p+"bcca43b1c7aa91d47f62962ce2422ae1.svg"},function(e,t,n){e.exports=n.p+"5a34a257309d5c07242e1deabe5b5b02.svg"},function(e,t,n){e.exports=n.p+"2e2d492de1f35e3234bdfaddb2b6894a.svg"},function(e,t,n){e.exports=n.p+"6278365424fa5701d3b185e2d9fe8225.svg"},function(e,t,n){e.exports=n.p+"1d3e7779b411a7cfeea6dd430557f803.svg"},function(e,t,n){e.exports=n.p+"69a6d1386a64620065532c7e72882d8a.svg"},function(e,t,n){e.exports=n.p+"376bdd3ac92afd53169e8faecf624110.svg"},function(e,t,n){e.exports=n.p+"53d958a3faa6250deaadde739100ab66.svg"},function(e,t,n){e.exports=n.p+"198dea7bcb58c81b9e93b26bcfac0ba5.svg"},function(e,t,n){e.exports=n.p+"0ea19f09eaae8075f4cfa0771796c819.svg"},function(e,t,n){e.exports=n.p+"d987d05d2d1595268dee2e7ada00f1fd.svg"},function(e,t,n){e.exports=n.p+"55766f4390e34af67f31e11e31e4af83.svg"},function(e,t,n){e.exports=n.p+"6ed16a164f91fc0843c06088529e3a27.svg"},function(e,t,n){e.exports=n.p+"782c5bd88fb4750d99cf6655fba03474.svg"},function(e,t,n){e.exports=n.p+"054f3a3f26cef91a51405d70a83f9102.svg"},function(e,t,n){e.exports=n.p+"22841a994e9477aaf121a8844c07ebf0.svg"},function(e,t,n){e.exports=n.p+"c69e993b1de469f191315a52bfa4f1b1.svg"},function(e,t,n){e.exports=n.p+"d0657b7d9a16d462de04fa4369f92690.svg"},function(e,t,n){e.exports=n.p+"9cf5ee12b49ade54b7a75c123dd28544.svg"},function(e,t,n){e.exports=n.p+"11f1b62baa1bed36665089ce5da05045.svg"},function(e,t,n){e.exports=n.p+"a4e74e3428dae61b1f70506f40ac63cd.svg"},function(e,t,n){e.exports=n.p+"795431f7abdbe4dcaa45e1355146ecec.svg"},function(e,t,n){e.exports=n.p+"2d3379f5f922b815bf195d381436e573.svg"},function(e,t,n){e.exports=n.p+"764420c21fa117adca53fda6490c9ec2.svg"},function(e,t,n){e.exports=n.p+"bfa4963f6b2ad0a46513afad9d9eb611.svg"},function(e,t,n){e.exports=n.p+"53457d4efec9be1d3bd20ff6c0997db9.svg"},function(e,t,n){e.exports=n.p+"7f86d843bfd0603e57fcf51fb3817f6a.svg"},function(e,t,n){e.exports=n.p+"eb37ccfb516378b010c16c5cb482fa86.svg"},function(e,t,n){e.exports=n.p+"d8f5b4a43e7367a5b2f1e21146a76153.svg"},function(e,t,n){e.exports=n.p+"bffa69e95906ccb382393c3d09e3baa1.svg"},function(e,t,n){e.exports=n.p+"8f1d923af2f428792561333404cc0808.svg"},function(e,t,n){e.exports=n.p+"5b0885b72f6e076a808e0214be2d7b61.svg"},function(e,t,n){e.exports=n.p+"29b478871bf19827e49d2358115f730a.svg"},function(e,t,n){e.exports=n.p+"fb3822271aed96ad08bb956b811ae542.svg"},function(e,t,n){e.exports=n.p+"fc1004c016bd1acf87ccf134cfa46fa0.svg"},function(e,t,n){e.exports=n.p+"2a83e55014bb281d69a1565e2dfc105e.svg"},function(e,t,n){e.exports=n.p+"c70730bdb7cc6ad5c4213bfe133d9ac3.svg"},function(e,t,n){e.exports=n.p+"4f989b3a40c260a1b32483ac6849f43f.svg"},function(e,t,n){e.exports=n.p+"dc36a28262a87ae36f796ecf6e2bc200.svg"},function(e,t,n){e.exports=n.p+"cf9415dea1dc3cd4679929c823bfdf0e.svg"},function(e,t,n){e.exports=n.p+"5c0c879149927a18f3e6aba436da51e6.svg"},function(e,t,n){e.exports=n.p+"356626d9a23473a35df7516479686ab2.svg"},function(e,t,n){e.exports=n.p+"3f6196c88eba2615a3645ccdd583ca22.svg"},function(e,t,n){e.exports=n.p+"6b37796cd505197da44d13902366ccb5.svg"},function(e,t,n){e.exports=n.p+"01dbac2721b78f26d2db3602f6c8bc21.svg"},function(e,t,n){e.exports=n.p+"e569230c0feadf93c474a1355785a8d1.svg"},function(e,t,n){e.exports=n.p+"048f569111aa7bb39f95c4c62a1a58d1.svg"},function(e,t,n){e.exports=n.p+"a4aefde30a114312b44782f724a6842b.svg"},function(e,t,n){e.exports=n.p+"a5a0432e8f6009b91678356b39e9ad83.svg"},function(e,t,n){e.exports=n.p+"55fb67da14f0411c1c363213f5f6afa3.svg"},function(e,t,n){e.exports=n.p+"aceae280075be9b5026cf651f580a699.svg"},function(e,t,n){e.exports=n.p+"3dcc54fffb253571d6eab25020e424f5.svg"},function(e,t,n){e.exports=n.p+"212e30e47232be03033a87dc58edaa95.svg"},function(e,t,n){e.exports=n.p+"f77079e6e8625b28a365f021e983cd4d.svg"},function(e,t,n){e.exports=n.p+"e62b930d873735bbede7ae1785d13233.svg"},function(e,t,n){e.exports=n.p+"b87b2a7761bb9bb287a719e5a9b4d8c9.svg"},function(e,t,n){e.exports=n.p+"7b6f0023e00e59a7eadd77fcb930550a.svg"},function(e,t,n){e.exports=n.p+"1a4314a11992006afa74ee76f037a2f4.svg"},function(e,t,n){e.exports=n.p+"655402be8912d444fb4606122279a98d.svg"},function(e,t,n){e.exports=n.p+"f181cfd31e1cffe993982e60125e4d93.svg"},function(e,t,n){e.exports=n.p+"a6b80a0effe992a7dab3a0da18335d39.svg"},function(e,t,n){e.exports=n.p+"b35861d502058e77b66f9424d0399697.svg"},function(e,t,n){e.exports=n.p+"4b196d9f6f6cb3912da001c923a3628d.svg"},function(e,t,n){e.exports=n.p+"6fbdbe1b24eea15c44f2f0ce89d2de3c.svg"},function(e,t,n){e.exports=n.p+"af69eefb59b1dae2180b3641ba77121f.svg"},function(e,t,n){e.exports=n.p+"31feca763e90c1b622f1144bebb1648c.svg"},function(e,t,n){e.exports=n.p+"23862f9f0fbd366c49b898c278c879cb.svg"},function(e,t,n){e.exports=n.p+"449824ac589b6e63c7a671e9fabec7db.svg"},function(e,t,n){e.exports=n.p+"3798ccb3763dc5b2fe4eb60d9998f1da.svg"},function(e,t,n){e.exports=n.p+"b49bfa1ba6f51c984c5e46c22cc0d828.svg"},function(e,t,n){e.exports=n.p+"2fc6d6efcb988a46fdd916f3d8d208c8.svg"},function(e,t,n){e.exports=n.p+"f50b6dbf0f0ba5ccf4f628c5611ae5a7.svg"},function(e,t,n){e.exports=n.p+"d24e4bd5f355ec0bdf176bd36d33678a.svg"},function(e,t,n){e.exports=n.p+"79c6e4286819646876bf9e4f9fb120ce.svg"},function(e,t,n){e.exports=n.p+"6ba62bb726543c1c8f912b251d8baaa7.svg"},function(e,t,n){e.exports=n.p+"194f512f5c57469cd5c7fd3f5a199769.svg"},function(e,t,n){e.exports=n.p+"73956eb46d7065e6b5c5840edaea5026.svg"},function(e,t,n){e.exports=n.p+"09a099221f7e00db7469e85e3ced1f4e.svg"},function(e,t,n){e.exports=n.p+"8cd77280fc37422a25059d2d6dd59797.svg"},function(e,t,n){e.exports=n.p+"b37d783fa2330771124219f7f13f2f31.svg"},function(e,t,n){e.exports=n.p+"3fe596b04c5915b21f6cc16a1f50ceab.svg"},function(e,t,n){e.exports=n.p+"7b3ff12d16d96ca77345da9450986dc7.svg"},function(e,t,n){e.exports=n.p+"133b77ff9fc321682fed3cde12d6355c.svg"},function(e,t,n){e.exports=n.p+"30ee6669f72802f601cd8569d3237fee.svg"},function(e,t,n){e.exports=n.p+"6beea364b9ff84ef3050b82901915c77.svg"},function(e,t,n){e.exports=n.p+"e820a306c732b90515989dada9995a97.svg"},function(e,t,n){e.exports=n.p+"c403bad03948b5fefc0e67d1b6b5cec9.svg"},function(e,t,n){e.exports=n.p+"1d2dc7d83ed3182e3348d4f216c15c87.svg"},function(e,t,n){e.exports=n.p+"18154d25de86594ea07571e133b92e05.svg"},function(e,t,n){e.exports=n.p+"99665c9a8eca6fc9c10045b3172aa6fe.svg"},function(e,t,n){e.exports=n.p+"8becd37ab9d13cdfe37c08c496a9def3.svg"},function(e,t,n){e.exports=n.p+"d17d69c79096244f30760ec441f76933.svg"},function(e,t,n){e.exports=n.p+"3e531d8e171629e9433db0bb431b2e12.svg"},function(e,t,n){e.exports=n.p+"aef26397c9a6a3afee9c857c5e6f3317.svg"},function(e,t,n){e.exports=n.p+"4d5be7b6873ad2b627eef85496c92fcd.svg"},function(e,t,n){e.exports=n.p+"4467f392af6cb1ad2acd20ae416a69ab.svg"},function(e,t,n){e.exports=n.p+"fcc6e0e5fd313e770f13408321d2d50b.svg"},function(e,t,n){e.exports=n.p+"93bef14e30e0a38bbc07f733e524f652.svg"},function(e,t,n){e.exports=n.p+"9967ec117c4f96b99c71e706ed1ec74a.svg"},function(e,t,n){e.exports=n.p+"0483f2b648dcc986d01385062052ae1c.svg"},function(e,t,n){e.exports=n.p+"9a43e631d506ae4818ecefc825dc02ad.svg"},function(e,t,n){e.exports=n.p+"13c8662cff8e029799a35878b56e23eb.svg"},function(e,t,n){e.exports=n.p+"3d663bbe9d97bc976c24ec4d125fe2b3.svg"},function(e,t,n){e.exports=n.p+"464b4ad3ec906581bdc288c42780b3c9.svg"},function(e,t,n){e.exports=n.p+"48c9c24b660f8c392a56f8d28c86f1c3.svg"},function(e,t,n){e.exports=n.p+"9927e29e935ba83635ac960b29111116.svg"},function(e,t,n){e.exports=n.p+"a840470f230f4af61a7f19c289030d51.svg"},function(e,t,n){e.exports=n.p+"0a925256fa01e07f5a7986c1e4fee0c9.svg"},function(e,t,n){e.exports=n.p+"63f52f1c8a74fd85d7a4c1b36957e7bd.svg"},function(e,t,n){e.exports=n.p+"de73a9116babdbce65076a42ac2ac2ba.svg"},function(e,t,n){e.exports=n.p+"b51c7cfe515fd884537ca5c2ac8ce7a2.svg"},function(e,t,n){e.exports=n.p+"31abf4145cf7c27ea0e1a2e4328283fd.svg"},function(e,t,n){e.exports=n.p+"d0e23cdf2386056cc64e775a6248ed17.svg"},function(e,t,n){e.exports=n.p+"b08312e344d5ada1c4da75f4e02f293c.svg"},function(e,t,n){e.exports=n.p+"141d49436743034a59dec6bd5618675d.svg"},function(e,t,n){e.exports=n.p+"0cfc29f75efcc78c7c38580fffe314ba.svg"},function(e,t,n){e.exports=n.p+"d10eead5823437c08b5287cf93bd5223.svg"},function(e,t,n){e.exports=n.p+"502afa9807a8da920a357e25c14da10a.svg"},function(e,t,n){e.exports=n.p+"8abc9c947c43ded3e8f531cd7b42252d.svg"},function(e,t,n){e.exports=n.p+"68546f5fc3b2166f42cf90b7e23c5ae9.svg"},function(e,t,n){e.exports=n.p+"eb29ce5fcf54bc3b23ff77039a4ecf3c.svg"},function(e,t,n){e.exports=n.p+"98cb1e133ea86796b3027a1282e3a3b8.svg"},function(e,t,n){e.exports=n.p+"01105a704e5c229cd10d7c2223b7bf35.svg"},function(e,t,n){e.exports=n.p+"67f896405747f26f63f09e0cb048d358.svg"},function(e,t,n){e.exports=n.p+"09fe8a2882cac4cdb4712ab9622d3fe1.svg"},function(e,t,n){e.exports=n.p+"5575865e2cb3d50ea051b09d7e1d2550.svg"},function(e,t,n){e.exports=n.p+"f8b3e0e54d99d2b2962a2e474b2110e4.svg"},function(e,t,n){e.exports=n.p+"c5ef2ff553f9cecd81add57e79aaf81d.svg"},function(e,t,n){e.exports=n.p+"71de2e3efd19455f1c63b9bd00329ec5.svg"},function(e,t,n){e.exports=n.p+"488cb48b4a6952b728df8bbe99fdbb20.svg"},function(e,t,n){e.exports=n.p+"c04b978067d1d0e67497618a9ae6cced.svg"},function(e,t,n){e.exports=n.p+"d572ca58de003e569b80bdd330ce503f.svg"},function(e,t,n){e.exports=n.p+"fcd3e15d569ca24ecbb591c449c9fa8d.svg"},function(e){e.exports=JSON.parse('{"people":[{"names":["grinning"],"surrogates":"😀","unicodeVersion":6.1},{"names":["smiley"],"surrogates":"😃","unicodeVersion":6},{"names":["smile"],"surrogates":"😄","unicodeVersion":6},{"names":["grin"],"surrogates":"😁","unicodeVersion":6},{"names":["laughing","satisfied"],"surrogates":"😆","unicodeVersion":6},{"names":["sweat_smile"],"surrogates":"😅","unicodeVersion":6},{"names":["joy"],"surrogates":"😂","unicodeVersion":6},{"names":["rofl","rolling_on_the_floor_laughing"],"surrogates":"🤣","unicodeVersion":9},{"names":["relaxed"],"surrogates":"☺️","unicodeVersion":1.1},{"names":["blush"],"surrogates":"😊","unicodeVersion":6},{"names":["innocent"],"surrogates":"😇","unicodeVersion":6},{"names":["slight_smile","slightly_smiling_face"],"surrogates":"🙂","unicodeVersion":7},{"names":["upside_down","upside_down_face"],"surrogates":"🙃","unicodeVersion":8},{"names":["wink"],"surrogates":"😉","unicodeVersion":6},{"names":["relieved"],"surrogates":"😌","unicodeVersion":6},{"names":["smiling_face_with_tear"],"surrogates":"🥲","unicodeVersion":13},{"names":["heart_eyes"],"surrogates":"😍","unicodeVersion":6},{"names":["smiling_face_with_3_hearts"],"surrogates":"🥰","unicodeVersion":11},{"names":["kissing_heart"],"surrogates":"😘","unicodeVersion":6},{"names":["kissing"],"surrogates":"😗","unicodeVersion":6.1},{"names":["kissing_smiling_eyes"],"surrogates":"😙","unicodeVersion":6.1},{"names":["kissing_closed_eyes"],"surrogates":"😚","unicodeVersion":6},{"names":["yum"],"surrogates":"😋","unicodeVersion":6},{"names":["stuck_out_tongue"],"surrogates":"😛","unicodeVersion":6.1},{"names":["stuck_out_tongue_closed_eyes"],"surrogates":"😝","unicodeVersion":6},{"names":["stuck_out_tongue_winking_eye"],"surrogates":"😜","unicodeVersion":6},{"names":["zany_face"],"surrogates":"🤪","unicodeVersion":10},{"names":["face_with_raised_eyebrow"],"surrogates":"🤨","unicodeVersion":10},{"names":["face_with_monocle"],"surrogates":"🧐","unicodeVersion":10},{"names":["nerd","nerd_face"],"surrogates":"🤓","unicodeVersion":8},{"names":["sunglasses"],"surrogates":"😎","unicodeVersion":6},{"names":["star_struck"],"surrogates":"🤩","unicodeVersion":10},{"names":["partying_face"],"surrogates":"🥳","unicodeVersion":11},{"names":["smirk"],"surrogates":"😏","unicodeVersion":6},{"names":["unamused"],"surrogates":"😒","unicodeVersion":6},{"names":["disappointed"],"surrogates":"😞","unicodeVersion":6},{"names":["pensive"],"surrogates":"😔","unicodeVersion":6},{"names":["worried"],"surrogates":"😟","unicodeVersion":6.1},{"names":["confused"],"surrogates":"😕","unicodeVersion":6.1},{"names":["slight_frown","slightly_frowning_face"],"surrogates":"🙁","unicodeVersion":7},{"names":["frowning2","white_frowning_face"],"surrogates":"☹️","unicodeVersion":1.1},{"names":["persevere"],"surrogates":"😣","unicodeVersion":6},{"names":["confounded"],"surrogates":"😖","unicodeVersion":6},{"names":["tired_face"],"surrogates":"😫","unicodeVersion":6},{"names":["weary"],"surrogates":"😩","unicodeVersion":6},{"names":["pleading_face"],"surrogates":"🥺","unicodeVersion":11},{"names":["cry"],"surrogates":"😢","unicodeVersion":6},{"names":["sob"],"surrogates":"😭","unicodeVersion":6},{"names":["triumph"],"surrogates":"😤","unicodeVersion":6},{"names":["face_exhaling"],"surrogates":"😮‍💨","unicodeVersion":13.1},{"names":["angry"],"surrogates":"😠","unicodeVersion":6},{"names":["rage"],"surrogates":"😡","unicodeVersion":6},{"names":["face_with_symbols_over_mouth"],"surrogates":"🤬","unicodeVersion":10},{"names":["exploding_head"],"surrogates":"🤯","unicodeVersion":10},{"names":["flushed"],"surrogates":"😳","unicodeVersion":6},{"names":["face_in_clouds"],"surrogates":"😶‍🌫️","unicodeVersion":13.1},{"names":["hot_face"],"surrogates":"🥵","unicodeVersion":11},{"names":["cold_face"],"surrogates":"🥶","unicodeVersion":11},{"names":["scream"],"surrogates":"😱","unicodeVersion":6},{"names":["fearful"],"surrogates":"😨","unicodeVersion":6},{"names":["cold_sweat"],"surrogates":"😰","unicodeVersion":6},{"names":["disappointed_relieved"],"surrogates":"😥","unicodeVersion":6},{"names":["sweat"],"surrogates":"😓","unicodeVersion":6},{"names":["hugging","hugging_face"],"surrogates":"🤗","unicodeVersion":8},{"names":["thinking","thinking_face"],"surrogates":"🤔","unicodeVersion":8},{"names":["face_with_hand_over_mouth"],"surrogates":"🤭","unicodeVersion":10},{"names":["yawning_face"],"surrogates":"🥱","unicodeVersion":12},{"names":["shushing_face"],"surrogates":"🤫","unicodeVersion":10},{"names":["lying_face","liar"],"surrogates":"🤥","unicodeVersion":9},{"names":["no_mouth"],"surrogates":"😶","unicodeVersion":6},{"names":["neutral_face"],"surrogates":"😐","unicodeVersion":6},{"names":["expressionless"],"surrogates":"😑","unicodeVersion":6.1},{"names":["grimacing"],"surrogates":"😬","unicodeVersion":6.1},{"names":["rolling_eyes","face_with_rolling_eyes"],"surrogates":"🙄","unicodeVersion":8},{"names":["hushed"],"surrogates":"😯","unicodeVersion":6.1},{"names":["frowning"],"surrogates":"😦","unicodeVersion":6.1},{"names":["anguished"],"surrogates":"😧","unicodeVersion":6.1},{"names":["open_mouth"],"surrogates":"😮","unicodeVersion":6.1},{"names":["astonished"],"surrogates":"😲","unicodeVersion":6},{"names":["sleeping"],"surrogates":"😴","unicodeVersion":6.1},{"names":["drooling_face","drool"],"surrogates":"🤤","unicodeVersion":9},{"names":["sleepy"],"surrogates":"😪","unicodeVersion":6},{"names":["dizzy_face"],"surrogates":"😵","unicodeVersion":6},{"names":["face_with_spiral_eyes"],"surrogates":"😵‍💫","unicodeVersion":13.1},{"names":["zipper_mouth","zipper_mouth_face"],"surrogates":"🤐","unicodeVersion":8},{"names":["woozy_face"],"surrogates":"🥴","unicodeVersion":11},{"names":["nauseated_face","sick"],"surrogates":"🤢","unicodeVersion":9},{"names":["face_vomiting"],"surrogates":"🤮","unicodeVersion":10},{"names":["sneezing_face","sneeze"],"surrogates":"🤧","unicodeVersion":9},{"names":["mask"],"surrogates":"😷","unicodeVersion":6},{"names":["thermometer_face","face_with_thermometer"],"surrogates":"🤒","unicodeVersion":8},{"names":["head_bandage","face_with_head_bandage"],"surrogates":"🤕","unicodeVersion":8},{"names":["money_mouth","money_mouth_face"],"surrogates":"🤑","unicodeVersion":8},{"names":["cowboy","face_with_cowboy_hat"],"surrogates":"🤠","unicodeVersion":9},{"names":["disguised_face"],"surrogates":"🥸","unicodeVersion":13},{"names":["smiling_imp"],"surrogates":"😈","unicodeVersion":6},{"names":["imp"],"surrogates":"👿","unicodeVersion":6},{"names":["japanese_ogre"],"surrogates":"👹","unicodeVersion":6},{"names":["japanese_goblin"],"surrogates":"👺","unicodeVersion":6},{"names":["clown","clown_face"],"surrogates":"🤡","unicodeVersion":9},{"names":["poop","shit","hankey","poo"],"surrogates":"💩","unicodeVersion":6},{"names":["ghost"],"surrogates":"👻","unicodeVersion":6},{"names":["skull","skeleton"],"surrogates":"💀","unicodeVersion":6},{"names":["skull_crossbones","skull_and_crossbones"],"surrogates":"☠️","unicodeVersion":1.1},{"names":["alien"],"surrogates":"👽","unicodeVersion":6},{"names":["space_invader"],"surrogates":"👾","unicodeVersion":6},{"names":["robot","robot_face"],"surrogates":"🤖","unicodeVersion":8},{"names":["jack_o_lantern"],"surrogates":"🎃","unicodeVersion":6},{"names":["smiley_cat"],"surrogates":"😺","unicodeVersion":6},{"names":["smile_cat"],"surrogates":"😸","unicodeVersion":6},{"names":["joy_cat"],"surrogates":"😹","unicodeVersion":6},{"names":["heart_eyes_cat"],"surrogates":"😻","unicodeVersion":6},{"names":["smirk_cat"],"surrogates":"😼","unicodeVersion":6},{"names":["kissing_cat"],"surrogates":"😽","unicodeVersion":6},{"names":["scream_cat"],"surrogates":"🙀","unicodeVersion":6},{"names":["crying_cat_face"],"surrogates":"😿","unicodeVersion":6},{"names":["pouting_cat"],"surrogates":"😾","unicodeVersion":6},{"names":["palms_up_together"],"surrogates":"🤲","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["palms_up_together_tone1","palms_up_together_light_skin_tone"],"surrogates":"🤲🏻","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["palms_up_together_tone2","palms_up_together_medium_light_skin_tone"],"surrogates":"🤲🏼","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["palms_up_together_tone3","palms_up_together_medium_skin_tone"],"surrogates":"🤲🏽","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["palms_up_together_tone4","palms_up_together_medium_dark_skin_tone"],"surrogates":"🤲🏾","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["palms_up_together_tone5","palms_up_together_dark_skin_tone"],"surrogates":"🤲🏿","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["open_hands"],"surrogates":"👐","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["open_hands_tone1"],"surrogates":"👐🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["open_hands_tone2"],"surrogates":"👐🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["open_hands_tone3"],"surrogates":"👐🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["open_hands_tone4"],"surrogates":"👐🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["open_hands_tone5"],"surrogates":"👐🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["raised_hands"],"surrogates":"🙌","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["raised_hands_tone1"],"surrogates":"🙌🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["raised_hands_tone2"],"surrogates":"🙌🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["raised_hands_tone3"],"surrogates":"🙌🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["raised_hands_tone4"],"surrogates":"🙌🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["raised_hands_tone5"],"surrogates":"🙌🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["clap"],"surrogates":"👏","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["clap_tone1"],"surrogates":"👏🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["clap_tone2"],"surrogates":"👏🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["clap_tone3"],"surrogates":"👏🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["clap_tone4"],"surrogates":"👏🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["clap_tone5"],"surrogates":"👏🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["handshake","shaking_hands"],"surrogates":"🤝","unicodeVersion":9},{"names":["thumbsup","+1","thumbup"],"surrogates":"👍","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["thumbsup_tone1","+1_tone1","thumbup_tone1"],"surrogates":"👍🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["thumbsup_tone2","+1_tone2","thumbup_tone2"],"surrogates":"👍🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["thumbsup_tone3","+1_tone3","thumbup_tone3"],"surrogates":"👍🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["thumbsup_tone4","+1_tone4","thumbup_tone4"],"surrogates":"👍🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["thumbsup_tone5","+1_tone5","thumbup_tone5"],"surrogates":"👍🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["thumbsdown","-1","thumbdown"],"surrogates":"👎","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["thumbsdown_tone1","_1_tone1","thumbdown_tone1"],"surrogates":"👎🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["thumbsdown_tone2","_1_tone2","thumbdown_tone2"],"surrogates":"👎🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["thumbsdown_tone3","_1_tone3","thumbdown_tone3"],"surrogates":"👎🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["thumbsdown_tone4","_1_tone4","thumbdown_tone4"],"surrogates":"👎🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["thumbsdown_tone5","_1_tone5","thumbdown_tone5"],"surrogates":"👎🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["punch"],"surrogates":"👊","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["punch_tone1"],"surrogates":"👊🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["punch_tone2"],"surrogates":"👊🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["punch_tone3"],"surrogates":"👊🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["punch_tone4"],"surrogates":"👊🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["punch_tone5"],"surrogates":"👊🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["fist"],"surrogates":"✊","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["fist_tone1"],"surrogates":"✊🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["fist_tone2"],"surrogates":"✊🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["fist_tone3"],"surrogates":"✊🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["fist_tone4"],"surrogates":"✊🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["fist_tone5"],"surrogates":"✊🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["left_facing_fist","left_fist"],"surrogates":"🤛","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["left_facing_fist_tone1","left_fist_tone1"],"surrogates":"🤛🏻","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["left_facing_fist_tone2","left_fist_tone2"],"surrogates":"🤛🏼","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["left_facing_fist_tone3","left_fist_tone3"],"surrogates":"🤛🏽","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["left_facing_fist_tone4","left_fist_tone4"],"surrogates":"🤛🏾","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["left_facing_fist_tone5","left_fist_tone5"],"surrogates":"🤛🏿","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["right_facing_fist","right_fist"],"surrogates":"🤜","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["right_facing_fist_tone1","right_fist_tone1"],"surrogates":"🤜🏻","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["right_facing_fist_tone2","right_fist_tone2"],"surrogates":"🤜🏼","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["right_facing_fist_tone3","right_fist_tone3"],"surrogates":"🤜🏽","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["right_facing_fist_tone4","right_fist_tone4"],"surrogates":"🤜🏾","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["right_facing_fist_tone5","right_fist_tone5"],"surrogates":"🤜🏿","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["fingers_crossed","hand_with_index_and_middle_finger_crossed"],"surrogates":"🤞","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["fingers_crossed_tone1","hand_with_index_and_middle_fingers_crossed_tone1"],"surrogates":"🤞🏻","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["fingers_crossed_tone2","hand_with_index_and_middle_fingers_crossed_tone2"],"surrogates":"🤞🏼","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["fingers_crossed_tone3","hand_with_index_and_middle_fingers_crossed_tone3"],"surrogates":"🤞🏽","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["fingers_crossed_tone4","hand_with_index_and_middle_fingers_crossed_tone4"],"surrogates":"🤞🏾","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["fingers_crossed_tone5","hand_with_index_and_middle_fingers_crossed_tone5"],"surrogates":"🤞🏿","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["v"],"surrogates":"✌️","unicodeVersion":1.1,"hasDiversity":true,"diversityChildren":[{"names":["v_tone1"],"surrogates":"✌🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["v_tone2"],"surrogates":"✌🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["v_tone3"],"surrogates":"✌🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["v_tone4"],"surrogates":"✌🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["v_tone5"],"surrogates":"✌🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["love_you_gesture"],"surrogates":"🤟","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["love_you_gesture_tone1","love_you_gesture_light_skin_tone"],"surrogates":"🤟🏻","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["love_you_gesture_tone2","love_you_gesture_medium_light_skin_tone"],"surrogates":"🤟🏼","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["love_you_gesture_tone3","love_you_gesture_medium_skin_tone"],"surrogates":"🤟🏽","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["love_you_gesture_tone4","love_you_gesture_medium_dark_skin_tone"],"surrogates":"🤟🏾","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["love_you_gesture_tone5","love_you_gesture_dark_skin_tone"],"surrogates":"🤟🏿","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["metal","sign_of_the_horns"],"surrogates":"🤘","unicodeVersion":8,"hasDiversity":true,"diversityChildren":[{"names":["metal_tone1","sign_of_the_horns_tone1"],"surrogates":"🤘🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["metal_tone2","sign_of_the_horns_tone2"],"surrogates":"🤘🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["metal_tone3","sign_of_the_horns_tone3"],"surrogates":"🤘🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["metal_tone4","sign_of_the_horns_tone4"],"surrogates":"🤘🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["metal_tone5","sign_of_the_horns_tone5"],"surrogates":"🤘🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["ok_hand"],"surrogates":"👌","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["ok_hand_tone1"],"surrogates":"👌🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["ok_hand_tone2"],"surrogates":"👌🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["ok_hand_tone3"],"surrogates":"👌🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["ok_hand_tone4"],"surrogates":"👌🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["ok_hand_tone5"],"surrogates":"👌🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["pinching_hand"],"surrogates":"🤏","unicodeVersion":12,"hasDiversity":true,"diversityChildren":[{"names":["pinching_hand_tone1","pinching_hand_light_skin_tone"],"surrogates":"🤏🏻","unicodeVersion":12,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["pinching_hand_tone2","pinching_hand_medium_light_skin_tone"],"surrogates":"🤏🏼","unicodeVersion":12,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["pinching_hand_tone3","pinching_hand_medium_skin_tone"],"surrogates":"🤏🏽","unicodeVersion":12,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["pinching_hand_tone4","pinching_hand_medium_dark_skin_tone"],"surrogates":"🤏🏾","unicodeVersion":12,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["pinching_hand_tone5","pinching_hand_dark_skin_tone"],"surrogates":"🤏🏿","unicodeVersion":12,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["pinched_fingers"],"surrogates":"🤌","unicodeVersion":13,"hasDiversity":true,"diversityChildren":[{"names":["pinched_fingers_tone2","pinched_fingers_medium_light_skin_tone"],"surrogates":"🤌🏼","unicodeVersion":13,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["pinched_fingers_tone1","pinched_fingers_light_skin_tone"],"surrogates":"🤌🏻","unicodeVersion":13,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["pinched_fingers_tone3","pinched_fingers_medium_skin_tone"],"surrogates":"🤌🏽","unicodeVersion":13,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["pinched_fingers_tone4","pinched_fingers_medium_dark_skin_tone"],"surrogates":"🤌🏾","unicodeVersion":13,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["pinched_fingers_tone5","pinched_fingers_dark_skin_tone"],"surrogates":"🤌🏿","unicodeVersion":13,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["point_left"],"surrogates":"👈","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["point_left_tone1"],"surrogates":"👈🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["point_left_tone2"],"surrogates":"👈🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["point_left_tone3"],"surrogates":"👈🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["point_left_tone4"],"surrogates":"👈🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["point_left_tone5"],"surrogates":"👈🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["point_right"],"surrogates":"👉","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["point_right_tone1"],"surrogates":"👉🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["point_right_tone2"],"surrogates":"👉🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["point_right_tone3"],"surrogates":"👉🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["point_right_tone4"],"surrogates":"👉🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["point_right_tone5"],"surrogates":"👉🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["point_up_2"],"surrogates":"👆","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["point_up_2_tone1"],"surrogates":"👆🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["point_up_2_tone2"],"surrogates":"👆🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["point_up_2_tone3"],"surrogates":"👆🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["point_up_2_tone4"],"surrogates":"👆🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["point_up_2_tone5"],"surrogates":"👆🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["point_down"],"surrogates":"👇","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["point_down_tone1"],"surrogates":"👇🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["point_down_tone2"],"surrogates":"👇🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["point_down_tone3"],"surrogates":"👇🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["point_down_tone4"],"surrogates":"👇🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["point_down_tone5"],"surrogates":"👇🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["point_up"],"surrogates":"☝️","unicodeVersion":1.1,"hasDiversity":true,"diversityChildren":[{"names":["point_up_tone1"],"surrogates":"☝🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["point_up_tone2"],"surrogates":"☝🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["point_up_tone3"],"surrogates":"☝🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["point_up_tone4"],"surrogates":"☝🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["point_up_tone5"],"surrogates":"☝🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["raised_hand"],"surrogates":"✋","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["raised_hand_tone1"],"surrogates":"✋🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["raised_hand_tone2"],"surrogates":"✋🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["raised_hand_tone3"],"surrogates":"✋🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["raised_hand_tone4"],"surrogates":"✋🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["raised_hand_tone5"],"surrogates":"✋🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["raised_back_of_hand","back_of_hand"],"surrogates":"🤚","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["raised_back_of_hand_tone1","back_of_hand_tone1"],"surrogates":"🤚🏻","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["raised_back_of_hand_tone2","back_of_hand_tone2"],"surrogates":"🤚🏼","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["raised_back_of_hand_tone3","back_of_hand_tone3"],"surrogates":"🤚🏽","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["raised_back_of_hand_tone4","back_of_hand_tone4"],"surrogates":"🤚🏾","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["raised_back_of_hand_tone5","back_of_hand_tone5"],"surrogates":"🤚🏿","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["hand_splayed","raised_hand_with_fingers_splayed"],"surrogates":"🖐️","unicodeVersion":7,"hasDiversity":true,"diversityChildren":[{"names":["hand_splayed_tone1","raised_hand_with_fingers_splayed_tone1"],"surrogates":"🖐🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["hand_splayed_tone2","raised_hand_with_fingers_splayed_tone2"],"surrogates":"🖐🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["hand_splayed_tone3","raised_hand_with_fingers_splayed_tone3"],"surrogates":"🖐🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["hand_splayed_tone4","raised_hand_with_fingers_splayed_tone4"],"surrogates":"🖐🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["hand_splayed_tone5","raised_hand_with_fingers_splayed_tone5"],"surrogates":"🖐🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["vulcan","raised_hand_with_part_between_middle_and_ring_fingers"],"surrogates":"🖖","unicodeVersion":7,"hasDiversity":true,"diversityChildren":[{"names":["vulcan_tone1","raised_hand_with_part_between_middle_and_ring_fingers_tone1"],"surrogates":"🖖🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["vulcan_tone2","raised_hand_with_part_between_middle_and_ring_fingers_tone2"],"surrogates":"🖖🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["vulcan_tone3","raised_hand_with_part_between_middle_and_ring_fingers_tone3"],"surrogates":"🖖🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["vulcan_tone4","raised_hand_with_part_between_middle_and_ring_fingers_tone4"],"surrogates":"🖖🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["vulcan_tone5","raised_hand_with_part_between_middle_and_ring_fingers_tone5"],"surrogates":"🖖🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["wave"],"surrogates":"👋","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["wave_tone1"],"surrogates":"👋🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["wave_tone2"],"surrogates":"👋🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["wave_tone3"],"surrogates":"👋🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["wave_tone4"],"surrogates":"👋🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["wave_tone5"],"surrogates":"👋🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["call_me","call_me_hand"],"surrogates":"🤙","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["call_me_tone1","call_me_hand_tone1"],"surrogates":"🤙🏻","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["call_me_tone2","call_me_hand_tone2"],"surrogates":"🤙🏼","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["call_me_tone3","call_me_hand_tone3"],"surrogates":"🤙🏽","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["call_me_tone4","call_me_hand_tone4"],"surrogates":"🤙🏾","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["call_me_tone5","call_me_hand_tone5"],"surrogates":"🤙🏿","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["muscle"],"surrogates":"💪","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["muscle_tone1"],"surrogates":"💪🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["muscle_tone2"],"surrogates":"💪🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["muscle_tone3"],"surrogates":"💪🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["muscle_tone4"],"surrogates":"💪🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["muscle_tone5"],"surrogates":"💪🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["mechanical_arm"],"surrogates":"🦾","unicodeVersion":12},{"names":["middle_finger","reversed_hand_with_middle_finger_extended"],"surrogates":"🖕","unicodeVersion":7,"hasDiversity":true,"diversityChildren":[{"names":["middle_finger_tone1","reversed_hand_with_middle_finger_extended_tone1"],"surrogates":"🖕🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["middle_finger_tone2","reversed_hand_with_middle_finger_extended_tone2"],"surrogates":"🖕🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["middle_finger_tone3","reversed_hand_with_middle_finger_extended_tone3"],"surrogates":"🖕🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["middle_finger_tone4","reversed_hand_with_middle_finger_extended_tone4"],"surrogates":"🖕🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["middle_finger_tone5","reversed_hand_with_middle_finger_extended_tone5"],"surrogates":"🖕🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["writing_hand"],"surrogates":"✍️","unicodeVersion":1.1,"hasDiversity":true,"diversityChildren":[{"names":["writing_hand_tone1"],"surrogates":"✍🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["writing_hand_tone2"],"surrogates":"✍🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["writing_hand_tone3"],"surrogates":"✍🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["writing_hand_tone4"],"surrogates":"✍🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["writing_hand_tone5"],"surrogates":"✍🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["pray"],"surrogates":"🙏","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["pray_tone1"],"surrogates":"🙏🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["pray_tone2"],"surrogates":"🙏🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["pray_tone3"],"surrogates":"🙏🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["pray_tone4"],"surrogates":"🙏🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["pray_tone5"],"surrogates":"🙏🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["foot"],"surrogates":"🦶","unicodeVersion":11,"hasDiversity":true,"diversityChildren":[{"names":["foot_tone1","foot_light_skin_tone"],"surrogates":"🦶🏻","unicodeVersion":11,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["foot_tone2","foot_medium_light_skin_tone"],"surrogates":"🦶🏼","unicodeVersion":11,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["foot_tone3","foot_medium_skin_tone"],"surrogates":"🦶🏽","unicodeVersion":11,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["foot_tone4","foot_medium_dark_skin_tone"],"surrogates":"🦶🏾","unicodeVersion":11,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["foot_tone5","foot_dark_skin_tone"],"surrogates":"🦶🏿","unicodeVersion":11,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["leg"],"surrogates":"🦵","unicodeVersion":11,"hasDiversity":true,"diversityChildren":[{"names":["leg_tone1","leg_light_skin_tone"],"surrogates":"🦵🏻","unicodeVersion":11,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["leg_tone2","leg_medium_light_skin_tone"],"surrogates":"🦵🏼","unicodeVersion":11,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["leg_tone3","leg_medium_skin_tone"],"surrogates":"🦵🏽","unicodeVersion":11,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["leg_tone4","leg_medium_dark_skin_tone"],"surrogates":"🦵🏾","unicodeVersion":11,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["leg_tone5","leg_dark_skin_tone"],"surrogates":"🦵🏿","unicodeVersion":11,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["mechanical_leg"],"surrogates":"🦿","unicodeVersion":12},{"names":["lipstick"],"surrogates":"💄","unicodeVersion":6},{"names":["kiss"],"surrogates":"💋","unicodeVersion":6},{"names":["lips"],"surrogates":"👄","unicodeVersion":6},{"names":["tooth"],"surrogates":"🦷","unicodeVersion":11},{"names":["tongue"],"surrogates":"👅","unicodeVersion":6},{"names":["ear"],"surrogates":"👂","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["ear_tone1"],"surrogates":"👂🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["ear_tone2"],"surrogates":"👂🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["ear_tone3"],"surrogates":"👂🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["ear_tone4"],"surrogates":"👂🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["ear_tone5"],"surrogates":"👂🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["ear_with_hearing_aid"],"surrogates":"🦻","unicodeVersion":12,"hasDiversity":true,"diversityChildren":[{"names":["ear_with_hearing_aid_tone1","ear_with_hearing_aid_light_skin_tone"],"surrogates":"🦻🏻","unicodeVersion":12,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["ear_with_hearing_aid_tone2","ear_with_hearing_aid_medium_light_skin_tone"],"surrogates":"🦻🏼","unicodeVersion":12,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["ear_with_hearing_aid_tone3","ear_with_hearing_aid_medium_skin_tone"],"surrogates":"🦻🏽","unicodeVersion":12,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["ear_with_hearing_aid_tone4","ear_with_hearing_aid_medium_dark_skin_tone"],"surrogates":"🦻🏾","unicodeVersion":12,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["ear_with_hearing_aid_tone5","ear_with_hearing_aid_dark_skin_tone"],"surrogates":"🦻🏿","unicodeVersion":12,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["nose"],"surrogates":"👃","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["nose_tone1"],"surrogates":"👃🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["nose_tone2"],"surrogates":"👃🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["nose_tone3"],"surrogates":"👃🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["nose_tone4"],"surrogates":"👃🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["nose_tone5"],"surrogates":"👃🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["footprints"],"surrogates":"👣","unicodeVersion":6},{"names":["eye"],"surrogates":"👁️","unicodeVersion":7},{"names":["eyes"],"surrogates":"👀","unicodeVersion":6},{"names":["brain"],"surrogates":"🧠","unicodeVersion":10},{"names":["anatomical_heart"],"surrogates":"🫀","unicodeVersion":13},{"names":["lungs"],"surrogates":"🫁","unicodeVersion":13},{"names":["bone"],"surrogates":"🦴","unicodeVersion":11},{"names":["speaking_head","speaking_head_in_silhouette"],"surrogates":"🗣️","unicodeVersion":7},{"names":["bust_in_silhouette"],"surrogates":"👤","unicodeVersion":6},{"names":["busts_in_silhouette"],"surrogates":"👥","unicodeVersion":6},{"names":["people_hugging"],"surrogates":"🫂","unicodeVersion":13},{"names":["baby"],"surrogates":"👶","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["baby_tone1"],"surrogates":"👶🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["baby_tone2"],"surrogates":"👶🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["baby_tone3"],"surrogates":"👶🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["baby_tone4"],"surrogates":"👶🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["baby_tone5"],"surrogates":"👶🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["girl"],"surrogates":"👧","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["girl_tone1"],"surrogates":"👧🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["girl_tone2"],"surrogates":"👧🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["girl_tone3"],"surrogates":"👧🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["girl_tone4"],"surrogates":"👧🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["girl_tone5"],"surrogates":"👧🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["child"],"surrogates":"🧒","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["child_tone1","child_light_skin_tone"],"surrogates":"🧒🏻","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["child_tone2","child_medium_light_skin_tone"],"surrogates":"🧒🏼","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["child_tone3","child_medium_skin_tone"],"surrogates":"🧒🏽","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["child_tone4","child_medium_dark_skin_tone"],"surrogates":"🧒🏾","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["child_tone5","child_dark_skin_tone"],"surrogates":"🧒🏿","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["boy"],"surrogates":"👦","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["boy_tone1"],"surrogates":"👦🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["boy_tone2"],"surrogates":"👦🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["boy_tone3"],"surrogates":"👦🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["boy_tone4"],"surrogates":"👦🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["boy_tone5"],"surrogates":"👦🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman"],"surrogates":"👩","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_tone1"],"surrogates":"👩🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_tone2"],"surrogates":"👩🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_tone3"],"surrogates":"👩🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_tone4"],"surrogates":"👩🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_tone5"],"surrogates":"👩🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["adult"],"surrogates":"🧑","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["adult_tone1","adult_light_skin_tone"],"surrogates":"🧑🏻","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["adult_tone2","adult_medium_light_skin_tone"],"surrogates":"🧑🏼","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["adult_tone3","adult_medium_skin_tone"],"surrogates":"🧑🏽","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["adult_tone4","adult_medium_dark_skin_tone"],"surrogates":"🧑🏾","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["adult_tone5","adult_dark_skin_tone"],"surrogates":"🧑🏿","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man"],"surrogates":"👨","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_tone1"],"surrogates":"👨🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_tone2"],"surrogates":"👨🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_tone3"],"surrogates":"👨🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_tone4"],"surrogates":"👨🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_tone5"],"surrogates":"👨🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_curly_hair"],"surrogates":"🧑‍🦱","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["person_tone1_curly_hair","person_light_skin_tone_curly_hair"],"surrogates":"🧑🏻‍🦱","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_tone2_curly_hair","person_medium_light_skin_tone_curly_hair"],"surrogates":"🧑🏼‍🦱","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_tone3_curly_hair","person_medium_skin_tone_curly_hair"],"surrogates":"🧑🏽‍🦱","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_tone4_curly_hair","person_medium_dark_skin_tone_curly_hair"],"surrogates":"🧑🏾‍🦱","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_tone5_curly_hair","person_dark_skin_tone_curly_hair"],"surrogates":"🧑🏿‍🦱","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_curly_haired"],"surrogates":"👩‍🦱","unicodeVersion":11,"hasDiversity":true,"diversityChildren":[{"names":["woman_curly_haired_tone1","woman_curly_haired_light_skin_tone"],"surrogates":"👩🏻‍🦱","unicodeVersion":11,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_curly_haired_tone2","woman_curly_haired_medium_light_skin_tone"],"surrogates":"👩🏼‍🦱","unicodeVersion":11,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_curly_haired_tone3","woman_curly_haired_medium_skin_tone"],"surrogates":"👩🏽‍🦱","unicodeVersion":11,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_curly_haired_tone4","woman_curly_haired_medium_dark_skin_tone"],"surrogates":"👩🏾‍🦱","unicodeVersion":11,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_curly_haired_tone5","woman_curly_haired_dark_skin_tone"],"surrogates":"👩🏿‍🦱","unicodeVersion":11,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_curly_haired"],"surrogates":"👨‍🦱","unicodeVersion":11,"hasDiversity":true,"diversityChildren":[{"names":["man_curly_haired_tone1","man_curly_haired_light_skin_tone"],"surrogates":"👨🏻‍🦱","unicodeVersion":11,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_curly_haired_tone2","man_curly_haired_medium_light_skin_tone"],"surrogates":"👨🏼‍🦱","unicodeVersion":11,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_curly_haired_tone3","man_curly_haired_medium_skin_tone"],"surrogates":"👨🏽‍🦱","unicodeVersion":11,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_curly_haired_tone4","man_curly_haired_medium_dark_skin_tone"],"surrogates":"👨🏾‍🦱","unicodeVersion":11,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_curly_haired_tone5","man_curly_haired_dark_skin_tone"],"surrogates":"👨🏿‍🦱","unicodeVersion":11,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_red_hair"],"surrogates":"🧑‍🦰","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["person_tone1_red_hair","person_light_skin_tone_red_hair"],"surrogates":"🧑🏻‍🦰","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_tone2_red_hair","person_medium_light_skin_tone_red_hair"],"surrogates":"🧑🏼‍🦰","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_tone3_red_hair","person_medium_skin_tone_red_hair"],"surrogates":"🧑🏽‍🦰","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_tone4_red_hair","person_medium_dark_skin_tone_red_hair"],"surrogates":"🧑🏾‍🦰","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_tone5_red_hair","person_dark_skin_tone_red_hair"],"surrogates":"🧑🏿‍🦰","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_red_haired"],"surrogates":"👩‍🦰","unicodeVersion":11,"hasDiversity":true,"diversityChildren":[{"names":["woman_red_haired_tone1","woman_red_haired_light_skin_tone"],"surrogates":"👩🏻‍🦰","unicodeVersion":11,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_red_haired_tone2","woman_red_haired_medium_light_skin_tone"],"surrogates":"👩🏼‍🦰","unicodeVersion":11,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_red_haired_tone3","woman_red_haired_medium_skin_tone"],"surrogates":"👩🏽‍🦰","unicodeVersion":11,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_red_haired_tone4","woman_red_haired_medium_dark_skin_tone"],"surrogates":"👩🏾‍🦰","unicodeVersion":11,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_red_haired_tone5","woman_red_haired_dark_skin_tone"],"surrogates":"👩🏿‍🦰","unicodeVersion":11,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_red_haired"],"surrogates":"👨‍🦰","unicodeVersion":11,"hasDiversity":true,"diversityChildren":[{"names":["man_red_haired_tone1","man_red_haired_light_skin_tone"],"surrogates":"👨🏻‍🦰","unicodeVersion":11,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_red_haired_tone2","man_red_haired_medium_light_skin_tone"],"surrogates":"👨🏼‍🦰","unicodeVersion":11,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_red_haired_tone3","man_red_haired_medium_skin_tone"],"surrogates":"👨🏽‍🦰","unicodeVersion":11,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_red_haired_tone4","man_red_haired_medium_dark_skin_tone"],"surrogates":"👨🏾‍🦰","unicodeVersion":11,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_red_haired_tone5","man_red_haired_dark_skin_tone"],"surrogates":"👨🏿‍🦰","unicodeVersion":11,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["blond_haired_woman"],"surrogates":"👱‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["blond_haired_woman_tone1","blond_haired_woman_light_skin_tone"],"surrogates":"👱🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["blond_haired_woman_tone2","blond_haired_woman_medium_light_skin_tone"],"surrogates":"👱🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["blond_haired_woman_tone3","blond_haired_woman_medium_skin_tone"],"surrogates":"👱🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["blond_haired_woman_tone4","blond_haired_woman_medium_dark_skin_tone"],"surrogates":"👱🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["blond_haired_woman_tone5","blond_haired_woman_dark_skin_tone"],"surrogates":"👱🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["blond_haired_person","person_with_blond_hair"],"surrogates":"👱","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["blond_haired_person_tone1","person_with_blond_hair_tone1"],"surrogates":"👱🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["blond_haired_person_tone2","person_with_blond_hair_tone2"],"surrogates":"👱🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["blond_haired_person_tone3","person_with_blond_hair_tone3"],"surrogates":"👱🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["blond_haired_person_tone4","person_with_blond_hair_tone4"],"surrogates":"👱🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["blond_haired_person_tone5","person_with_blond_hair_tone5"],"surrogates":"👱🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["blond_haired_man"],"surrogates":"👱‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["blond_haired_man_tone1","blond_haired_man_light_skin_tone"],"surrogates":"👱🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["blond_haired_man_tone2","blond_haired_man_medium_light_skin_tone"],"surrogates":"👱🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["blond_haired_man_tone3","blond_haired_man_medium_skin_tone"],"surrogates":"👱🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["blond_haired_man_tone4","blond_haired_man_medium_dark_skin_tone"],"surrogates":"👱🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["blond_haired_man_tone5","blond_haired_man_dark_skin_tone"],"surrogates":"👱🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_white_hair"],"surrogates":"🧑‍🦳","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["person_tone1_white_hair","person_light_skin_tone_white_hair"],"surrogates":"🧑🏻‍🦳","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_tone2_white_hair","person_medium_light_skin_tone_white_hair"],"surrogates":"🧑🏼‍🦳","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_tone3_white_hair","person_medium_skin_tone_white_hair"],"surrogates":"🧑🏽‍🦳","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_tone4_white_hair","person_medium_dark_skin_tone_white_hair"],"surrogates":"🧑🏾‍🦳","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_tone5_white_hair","person_dark_skin_tone_white_hair"],"surrogates":"🧑🏿‍🦳","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_white_haired"],"surrogates":"👩‍🦳","unicodeVersion":11,"hasDiversity":true,"diversityChildren":[{"names":["woman_white_haired_tone1","woman_white_haired_light_skin_tone"],"surrogates":"👩🏻‍🦳","unicodeVersion":11,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_white_haired_tone2","woman_white_haired_medium_light_skin_tone"],"surrogates":"👩🏼‍🦳","unicodeVersion":11,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_white_haired_tone3","woman_white_haired_medium_skin_tone"],"surrogates":"👩🏽‍🦳","unicodeVersion":11,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_white_haired_tone4","woman_white_haired_medium_dark_skin_tone"],"surrogates":"👩🏾‍🦳","unicodeVersion":11,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_white_haired_tone5","woman_white_haired_dark_skin_tone"],"surrogates":"👩🏿‍🦳","unicodeVersion":11,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_white_haired"],"surrogates":"👨‍🦳","unicodeVersion":11,"hasDiversity":true,"diversityChildren":[{"names":["man_white_haired_tone1","man_white_haired_light_skin_tone"],"surrogates":"👨🏻‍🦳","unicodeVersion":11,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_white_haired_tone2","man_white_haired_medium_light_skin_tone"],"surrogates":"👨🏼‍🦳","unicodeVersion":11,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_white_haired_tone3","man_white_haired_medium_skin_tone"],"surrogates":"👨🏽‍🦳","unicodeVersion":11,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_white_haired_tone4","man_white_haired_medium_dark_skin_tone"],"surrogates":"👨🏾‍🦳","unicodeVersion":11,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_white_haired_tone5","man_white_haired_dark_skin_tone"],"surrogates":"👨🏿‍🦳","unicodeVersion":11,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_bald"],"surrogates":"🧑‍🦲","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["person_tone1_bald","person_light_skin_tone_bald"],"surrogates":"🧑🏻‍🦲","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_tone2_bald","person_medium_light_skin_tone_bald"],"surrogates":"🧑🏼‍🦲","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_tone3_bald","person_medium_skin_tone_bald"],"surrogates":"🧑🏽‍🦲","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_tone4_bald","person_medium_dark_skin_tone_bald"],"surrogates":"🧑🏾‍🦲","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_tone5_bald","person_dark_skin_tone_bald"],"surrogates":"🧑🏿‍🦲","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_bald"],"surrogates":"👩‍🦲","unicodeVersion":11,"hasDiversity":true,"diversityChildren":[{"names":["woman_bald_tone1","woman_bald_light_skin_tone"],"surrogates":"👩🏻‍🦲","unicodeVersion":11,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_bald_tone2","woman_bald_medium_light_skin_tone"],"surrogates":"👩🏼‍🦲","unicodeVersion":11,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_bald_tone3","woman_bald_medium_skin_tone"],"surrogates":"👩🏽‍🦲","unicodeVersion":11,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_bald_tone4","woman_bald_medium_dark_skin_tone"],"surrogates":"👩🏾‍🦲","unicodeVersion":11,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_bald_tone5","woman_bald_dark_skin_tone"],"surrogates":"👩🏿‍🦲","unicodeVersion":11,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_bald"],"surrogates":"👨‍🦲","unicodeVersion":11,"hasDiversity":true,"diversityChildren":[{"names":["man_bald_tone1","man_bald_light_skin_tone"],"surrogates":"👨🏻‍🦲","unicodeVersion":11,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_bald_tone2","man_bald_medium_light_skin_tone"],"surrogates":"👨🏼‍🦲","unicodeVersion":11,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_bald_tone3","man_bald_medium_skin_tone"],"surrogates":"👨🏽‍🦲","unicodeVersion":11,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_bald_tone4","man_bald_medium_dark_skin_tone"],"surrogates":"👨🏾‍🦲","unicodeVersion":11,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_bald_tone5","man_bald_dark_skin_tone"],"surrogates":"👨🏿‍🦲","unicodeVersion":11,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["bearded_person"],"surrogates":"🧔","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["bearded_person_tone1","bearded_person_light_skin_tone"],"surrogates":"🧔🏻","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["bearded_person_tone2","bearded_person_medium_light_skin_tone"],"surrogates":"🧔🏼","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["bearded_person_tone3","bearded_person_medium_skin_tone"],"surrogates":"🧔🏽","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["bearded_person_tone4","bearded_person_medium_dark_skin_tone"],"surrogates":"🧔🏾","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["bearded_person_tone5","bearded_person_dark_skin_tone"],"surrogates":"🧔🏿","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_beard"],"surrogates":"🧔‍♂️","unicodeVersion":13.1,"hasDiversity":true,"diversityChildren":[{"names":["man_tone1_beard","man_light_skin_tone_beard"],"surrogates":"🧔🏻‍♂️","unicodeVersion":13.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_tone2_beard","man_medium_light_skin_tone_beard"],"surrogates":"🧔🏼‍♂️","unicodeVersion":13.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_tone3_beard","man_medium_skin_tone_beard"],"surrogates":"🧔🏽‍♂️","unicodeVersion":13.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_tone4_beard","man_medium_dark_skin_tone_beard"],"surrogates":"🧔🏾‍♂️","unicodeVersion":13.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_tone5_beard","man_dark_skin_tone_beard"],"surrogates":"🧔🏿‍♂️","unicodeVersion":13.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_beard"],"surrogates":"🧔‍♀️","unicodeVersion":13.1,"hasDiversity":true,"diversityChildren":[{"names":["woman_tone1_beard","woman_light_skin_tone_beard"],"surrogates":"🧔🏻‍♀️","unicodeVersion":13.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_tone2_beard","woman_medium_light_skin_tone_beard"],"surrogates":"🧔🏼‍♀️","unicodeVersion":13.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_tone3_beard","woman_medium_skin_tone_beard"],"surrogates":"🧔🏽‍♀️","unicodeVersion":13.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_tone4_beard","woman_medium_dark_skin_tone_beard"],"surrogates":"🧔🏾‍♀️","unicodeVersion":13.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_tone5_beard","woman_dark_skin_tone_beard"],"surrogates":"🧔🏿‍♀️","unicodeVersion":13.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["older_woman","grandma"],"surrogates":"👵","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["older_woman_tone1","grandma_tone1"],"surrogates":"👵🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["older_woman_tone2","grandma_tone2"],"surrogates":"👵🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["older_woman_tone3","grandma_tone3"],"surrogates":"👵🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["older_woman_tone4","grandma_tone4"],"surrogates":"👵🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["older_woman_tone5","grandma_tone5"],"surrogates":"👵🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["older_adult"],"surrogates":"🧓","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["older_adult_tone1","older_adult_light_skin_tone"],"surrogates":"🧓🏻","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["older_adult_tone2","older_adult_medium_light_skin_tone"],"surrogates":"🧓🏼","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["older_adult_tone3","older_adult_medium_skin_tone"],"surrogates":"🧓🏽","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["older_adult_tone4","older_adult_medium_dark_skin_tone"],"surrogates":"🧓🏾","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["older_adult_tone5","older_adult_dark_skin_tone"],"surrogates":"🧓🏿","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["older_man"],"surrogates":"👴","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["older_man_tone1"],"surrogates":"👴🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["older_man_tone2"],"surrogates":"👴🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["older_man_tone3"],"surrogates":"👴🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["older_man_tone4"],"surrogates":"👴🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["older_man_tone5"],"surrogates":"👴🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_with_chinese_cap","man_with_gua_pi_mao"],"surrogates":"👲","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_with_chinese_cap_tone1","man_with_gua_pi_mao_tone1"],"surrogates":"👲🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_with_chinese_cap_tone2","man_with_gua_pi_mao_tone2"],"surrogates":"👲🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_with_chinese_cap_tone3","man_with_gua_pi_mao_tone3"],"surrogates":"👲🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_with_chinese_cap_tone4","man_with_gua_pi_mao_tone4"],"surrogates":"👲🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_with_chinese_cap_tone5","man_with_gua_pi_mao_tone5"],"surrogates":"👲🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_wearing_turban","man_with_turban"],"surrogates":"👳","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["person_wearing_turban_tone1","man_with_turban_tone1"],"surrogates":"👳🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_wearing_turban_tone2","man_with_turban_tone2"],"surrogates":"👳🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_wearing_turban_tone3","man_with_turban_tone3"],"surrogates":"👳🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_wearing_turban_tone4","man_with_turban_tone4"],"surrogates":"👳🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_wearing_turban_tone5","man_with_turban_tone5"],"surrogates":"👳🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_wearing_turban"],"surrogates":"👳‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_wearing_turban_tone1","woman_wearing_turban_light_skin_tone"],"surrogates":"👳🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_wearing_turban_tone2","woman_wearing_turban_medium_light_skin_tone"],"surrogates":"👳🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_wearing_turban_tone3","woman_wearing_turban_medium_skin_tone"],"surrogates":"👳🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_wearing_turban_tone4","woman_wearing_turban_medium_dark_skin_tone"],"surrogates":"👳🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_wearing_turban_tone5","woman_wearing_turban_dark_skin_tone"],"surrogates":"👳🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_wearing_turban"],"surrogates":"👳‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_wearing_turban_tone1","man_wearing_turban_light_skin_tone"],"surrogates":"👳🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_wearing_turban_tone2","man_wearing_turban_medium_light_skin_tone"],"surrogates":"👳🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_wearing_turban_tone3","man_wearing_turban_medium_skin_tone"],"surrogates":"👳🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_wearing_turban_tone4","man_wearing_turban_medium_dark_skin_tone"],"surrogates":"👳🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_wearing_turban_tone5","man_wearing_turban_dark_skin_tone"],"surrogates":"👳🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_with_headscarf"],"surrogates":"🧕","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["woman_with_headscarf_tone1","woman_with_headscarf_light_skin_tone"],"surrogates":"🧕🏻","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_with_headscarf_tone2","woman_with_headscarf_medium_light_skin_tone"],"surrogates":"🧕🏼","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_with_headscarf_tone3","woman_with_headscarf_medium_skin_tone"],"surrogates":"🧕🏽","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_with_headscarf_tone4","woman_with_headscarf_medium_dark_skin_tone"],"surrogates":"🧕🏾","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_with_headscarf_tone5","woman_with_headscarf_dark_skin_tone"],"surrogates":"🧕🏿","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["police_officer","cop"],"surrogates":"👮","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["police_officer_tone1","cop_tone1"],"surrogates":"👮🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["police_officer_tone2","cop_tone2"],"surrogates":"👮🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["police_officer_tone3","cop_tone3"],"surrogates":"👮🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["police_officer_tone4","cop_tone4"],"surrogates":"👮🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["police_officer_tone5","cop_tone5"],"surrogates":"👮🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_police_officer"],"surrogates":"👮‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_police_officer_tone1","woman_police_officer_light_skin_tone"],"surrogates":"👮🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_police_officer_tone2","woman_police_officer_medium_light_skin_tone"],"surrogates":"👮🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_police_officer_tone3","woman_police_officer_medium_skin_tone"],"surrogates":"👮🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_police_officer_tone4","woman_police_officer_medium_dark_skin_tone"],"surrogates":"👮🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_police_officer_tone5","woman_police_officer_dark_skin_tone"],"surrogates":"👮🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_police_officer"],"surrogates":"👮‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_police_officer_tone1","man_police_officer_light_skin_tone"],"surrogates":"👮🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_police_officer_tone2","man_police_officer_medium_light_skin_tone"],"surrogates":"👮🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_police_officer_tone3","man_police_officer_medium_skin_tone"],"surrogates":"👮🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_police_officer_tone4","man_police_officer_medium_dark_skin_tone"],"surrogates":"👮🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_police_officer_tone5","man_police_officer_dark_skin_tone"],"surrogates":"👮🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["construction_worker"],"surrogates":"👷","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["construction_worker_tone1"],"surrogates":"👷🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["construction_worker_tone2"],"surrogates":"👷🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["construction_worker_tone3"],"surrogates":"👷🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["construction_worker_tone4"],"surrogates":"👷🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["construction_worker_tone5"],"surrogates":"👷🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_construction_worker"],"surrogates":"👷‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_construction_worker_tone1","woman_construction_worker_light_skin_tone"],"surrogates":"👷🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_construction_worker_tone2","woman_construction_worker_medium_light_skin_tone"],"surrogates":"👷🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_construction_worker_tone3","woman_construction_worker_medium_skin_tone"],"surrogates":"👷🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_construction_worker_tone4","woman_construction_worker_medium_dark_skin_tone"],"surrogates":"👷🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_construction_worker_tone5","woman_construction_worker_dark_skin_tone"],"surrogates":"👷🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_construction_worker"],"surrogates":"👷‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_construction_worker_tone1","man_construction_worker_light_skin_tone"],"surrogates":"👷🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_construction_worker_tone2","man_construction_worker_medium_light_skin_tone"],"surrogates":"👷🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_construction_worker_tone3","man_construction_worker_medium_skin_tone"],"surrogates":"👷🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_construction_worker_tone4","man_construction_worker_medium_dark_skin_tone"],"surrogates":"👷🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_construction_worker_tone5","man_construction_worker_dark_skin_tone"],"surrogates":"👷🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["guard","guardsman"],"surrogates":"💂","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["guard_tone1","guardsman_tone1"],"surrogates":"💂🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["guard_tone2","guardsman_tone2"],"surrogates":"💂🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["guard_tone3","guardsman_tone3"],"surrogates":"💂🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["guard_tone4","guardsman_tone4"],"surrogates":"💂🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["guard_tone5","guardsman_tone5"],"surrogates":"💂🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_guard"],"surrogates":"💂‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_guard_tone1","woman_guard_light_skin_tone"],"surrogates":"💂🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_guard_tone2","woman_guard_medium_light_skin_tone"],"surrogates":"💂🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_guard_tone3","woman_guard_medium_skin_tone"],"surrogates":"💂🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_guard_tone4","woman_guard_medium_dark_skin_tone"],"surrogates":"💂🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_guard_tone5","woman_guard_dark_skin_tone"],"surrogates":"💂🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_guard"],"surrogates":"💂‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_guard_tone1","man_guard_light_skin_tone"],"surrogates":"💂🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_guard_tone2","man_guard_medium_light_skin_tone"],"surrogates":"💂🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_guard_tone3","man_guard_medium_skin_tone"],"surrogates":"💂🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_guard_tone4","man_guard_medium_dark_skin_tone"],"surrogates":"💂🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_guard_tone5","man_guard_dark_skin_tone"],"surrogates":"💂🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["detective","spy","sleuth_or_spy"],"surrogates":"🕵️","unicodeVersion":7,"hasDiversity":true,"diversityChildren":[{"names":["detective_tone1","spy_tone1","sleuth_or_spy_tone1"],"surrogates":"🕵🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["detective_tone2","spy_tone2","sleuth_or_spy_tone2"],"surrogates":"🕵🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["detective_tone3","spy_tone3","sleuth_or_spy_tone3"],"surrogates":"🕵🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["detective_tone4","spy_tone4","sleuth_or_spy_tone4"],"surrogates":"🕵🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["detective_tone5","spy_tone5","sleuth_or_spy_tone5"],"surrogates":"🕵🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_detective"],"surrogates":"🕵️‍♀️","unicodeVersion":7,"hasDiversity":true,"diversityChildren":[{"names":["woman_detective_tone1","woman_detective_light_skin_tone"],"surrogates":"🕵🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_detective_tone2","woman_detective_medium_light_skin_tone"],"surrogates":"🕵🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_detective_tone3","woman_detective_medium_skin_tone"],"surrogates":"🕵🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_detective_tone4","woman_detective_medium_dark_skin_tone"],"surrogates":"🕵🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_detective_tone5","woman_detective_dark_skin_tone"],"surrogates":"🕵🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_detective"],"surrogates":"🕵️‍♂️","unicodeVersion":7,"hasDiversity":true,"diversityChildren":[{"names":["man_detective_tone1","man_detective_light_skin_tone"],"surrogates":"🕵🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_detective_tone2","man_detective_medium_light_skin_tone"],"surrogates":"🕵🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_detective_tone3","man_detective_medium_skin_tone"],"surrogates":"🕵🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_detective_tone4","man_detective_medium_dark_skin_tone"],"surrogates":"🕵🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_detective_tone5","man_detective_dark_skin_tone"],"surrogates":"🕵🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["health_worker"],"surrogates":"🧑‍⚕️","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["health_worker_tone1","health_worker_light_skin_tone"],"surrogates":"🧑🏻‍⚕️","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["health_worker_tone2","health_worker_medium_light_skin_tone"],"surrogates":"🧑🏼‍⚕️","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["health_worker_tone3","health_worker_medium_skin_tone"],"surrogates":"🧑🏽‍⚕️","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["health_worker_tone4","health_worker_medium_dark_skin_tone"],"surrogates":"🧑🏾‍⚕️","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["health_worker_tone5","health_worker_dark_skin_tone"],"surrogates":"🧑🏿‍⚕️","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_health_worker"],"surrogates":"👩‍⚕️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_health_worker_tone1","woman_health_worker_light_skin_tone"],"surrogates":"👩🏻‍⚕️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_health_worker_tone2","woman_health_worker_medium_light_skin_tone"],"surrogates":"👩🏼‍⚕️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_health_worker_tone3","woman_health_worker_medium_skin_tone"],"surrogates":"👩🏽‍⚕️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_health_worker_tone4","woman_health_worker_medium_dark_skin_tone"],"surrogates":"👩🏾‍⚕️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_health_worker_tone5","woman_health_worker_dark_skin_tone"],"surrogates":"👩🏿‍⚕️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_health_worker"],"surrogates":"👨‍⚕️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_health_worker_tone1","man_health_worker_light_skin_tone"],"surrogates":"👨🏻‍⚕️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_health_worker_tone2","man_health_worker_medium_light_skin_tone"],"surrogates":"👨🏼‍⚕️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_health_worker_tone3","man_health_worker_medium_skin_tone"],"surrogates":"👨🏽‍⚕️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_health_worker_tone4","man_health_worker_medium_dark_skin_tone"],"surrogates":"👨🏾‍⚕️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_health_worker_tone5","man_health_worker_dark_skin_tone"],"surrogates":"👨🏿‍⚕️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["farmer"],"surrogates":"🧑‍🌾","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["farmer_tone1","farmer_light_skin_tone"],"surrogates":"🧑🏻‍🌾","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["farmer_tone2","farmer_medium_light_skin_tone"],"surrogates":"🧑🏼‍🌾","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["farmer_tone3","farmer_medium_skin_tone"],"surrogates":"🧑🏽‍🌾","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["farmer_tone4","farmer_medium_dark_skin_tone"],"surrogates":"🧑🏾‍🌾","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["farmer_tone5","farmer_dark_skin_tone"],"surrogates":"🧑🏿‍🌾","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_farmer"],"surrogates":"👩‍🌾","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_farmer_tone1","woman_farmer_light_skin_tone"],"surrogates":"👩🏻‍🌾","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_farmer_tone2","woman_farmer_medium_light_skin_tone"],"surrogates":"👩🏼‍🌾","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_farmer_tone3","woman_farmer_medium_skin_tone"],"surrogates":"👩🏽‍🌾","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_farmer_tone4","woman_farmer_medium_dark_skin_tone"],"surrogates":"👩🏾‍🌾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_farmer_tone5","woman_farmer_dark_skin_tone"],"surrogates":"👩🏿‍🌾","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_farmer"],"surrogates":"👨‍🌾","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_farmer_tone1","man_farmer_light_skin_tone"],"surrogates":"👨🏻‍🌾","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_farmer_tone2","man_farmer_medium_light_skin_tone"],"surrogates":"👨🏼‍🌾","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_farmer_tone3","man_farmer_medium_skin_tone"],"surrogates":"👨🏽‍🌾","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_farmer_tone4","man_farmer_medium_dark_skin_tone"],"surrogates":"👨🏾‍🌾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_farmer_tone5","man_farmer_dark_skin_tone"],"surrogates":"👨🏿‍🌾","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["cook"],"surrogates":"🧑‍🍳","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["cook_tone1","cook_light_skin_tone"],"surrogates":"🧑🏻‍🍳","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["cook_tone2","cook_medium_light_skin_tone"],"surrogates":"🧑🏼‍🍳","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["cook_tone3","cook_medium_skin_tone"],"surrogates":"🧑🏽‍🍳","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["cook_tone4","cook_medium_dark_skin_tone"],"surrogates":"🧑🏾‍🍳","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["cook_tone5","cook_dark_skin_tone"],"surrogates":"🧑🏿‍🍳","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_cook"],"surrogates":"👩‍🍳","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_cook_tone1","woman_cook_light_skin_tone"],"surrogates":"👩🏻‍🍳","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_cook_tone2","woman_cook_medium_light_skin_tone"],"surrogates":"👩🏼‍🍳","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_cook_tone3","woman_cook_medium_skin_tone"],"surrogates":"👩🏽‍🍳","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_cook_tone4","woman_cook_medium_dark_skin_tone"],"surrogates":"👩🏾‍🍳","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_cook_tone5","woman_cook_dark_skin_tone"],"surrogates":"👩🏿‍🍳","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_cook"],"surrogates":"👨‍🍳","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_cook_tone1","man_cook_light_skin_tone"],"surrogates":"👨🏻‍🍳","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_cook_tone2","man_cook_medium_light_skin_tone"],"surrogates":"👨🏼‍🍳","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_cook_tone3","man_cook_medium_skin_tone"],"surrogates":"👨🏽‍🍳","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_cook_tone4","man_cook_medium_dark_skin_tone"],"surrogates":"👨🏾‍🍳","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_cook_tone5","man_cook_dark_skin_tone"],"surrogates":"👨🏿‍🍳","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["student"],"surrogates":"🧑‍🎓","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["student_tone1","student_light_skin_tone"],"surrogates":"🧑🏻‍🎓","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["student_tone2","student_medium_light_skin_tone"],"surrogates":"🧑🏼‍🎓","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["student_tone3","student_medium_skin_tone"],"surrogates":"🧑🏽‍🎓","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["student_tone4","student_medium_dark_skin_tone"],"surrogates":"🧑🏾‍🎓","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["student_tone5","student_dark_skin_tone"],"surrogates":"🧑🏿‍🎓","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_student"],"surrogates":"👩‍🎓","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_student_tone1","woman_student_light_skin_tone"],"surrogates":"👩🏻‍🎓","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_student_tone2","woman_student_medium_light_skin_tone"],"surrogates":"👩🏼‍🎓","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_student_tone3","woman_student_medium_skin_tone"],"surrogates":"👩🏽‍🎓","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_student_tone4","woman_student_medium_dark_skin_tone"],"surrogates":"👩🏾‍🎓","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_student_tone5","woman_student_dark_skin_tone"],"surrogates":"👩🏿‍🎓","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_student"],"surrogates":"👨‍🎓","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_student_tone1","man_student_light_skin_tone"],"surrogates":"👨🏻‍🎓","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_student_tone2","man_student_medium_light_skin_tone"],"surrogates":"👨🏼‍🎓","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_student_tone3","man_student_medium_skin_tone"],"surrogates":"👨🏽‍🎓","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_student_tone4","man_student_medium_dark_skin_tone"],"surrogates":"👨🏾‍🎓","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_student_tone5","man_student_dark_skin_tone"],"surrogates":"👨🏿‍🎓","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["singer"],"surrogates":"🧑‍🎤","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["singer_tone1","singer_light_skin_tone"],"surrogates":"🧑🏻‍🎤","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["singer_tone2","singer_medium_light_skin_tone"],"surrogates":"🧑🏼‍🎤","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["singer_tone3","singer_medium_skin_tone"],"surrogates":"🧑🏽‍🎤","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["singer_tone4","singer_medium_dark_skin_tone"],"surrogates":"🧑🏾‍🎤","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["singer_tone5","singer_dark_skin_tone"],"surrogates":"🧑🏿‍🎤","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_singer"],"surrogates":"👩‍🎤","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_singer_tone1","woman_singer_light_skin_tone"],"surrogates":"👩🏻‍🎤","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_singer_tone2","woman_singer_medium_light_skin_tone"],"surrogates":"👩🏼‍🎤","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_singer_tone3","woman_singer_medium_skin_tone"],"surrogates":"👩🏽‍🎤","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_singer_tone4","woman_singer_medium_dark_skin_tone"],"surrogates":"👩🏾‍🎤","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_singer_tone5","woman_singer_dark_skin_tone"],"surrogates":"👩🏿‍🎤","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_singer"],"surrogates":"👨‍🎤","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_singer_tone1","man_singer_light_skin_tone"],"surrogates":"👨🏻‍🎤","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_singer_tone2","man_singer_medium_light_skin_tone"],"surrogates":"👨🏼‍🎤","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_singer_tone3","man_singer_medium_skin_tone"],"surrogates":"👨🏽‍🎤","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_singer_tone4","man_singer_medium_dark_skin_tone"],"surrogates":"👨🏾‍🎤","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_singer_tone5","man_singer_dark_skin_tone"],"surrogates":"👨🏿‍🎤","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["teacher"],"surrogates":"🧑‍🏫","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["teacher_tone1","teacher_light_skin_tone"],"surrogates":"🧑🏻‍🏫","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["teacher_tone2","teacher_medium_light_skin_tone"],"surrogates":"🧑🏼‍🏫","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["teacher_tone3","teacher_medium_skin_tone"],"surrogates":"🧑🏽‍🏫","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["teacher_tone4","teacher_medium_dark_skin_tone"],"surrogates":"🧑🏾‍🏫","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["teacher_tone5","teacher_dark_skin_tone"],"surrogates":"🧑🏿‍🏫","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_teacher"],"surrogates":"👩‍🏫","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_teacher_tone1","woman_teacher_light_skin_tone"],"surrogates":"👩🏻‍🏫","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_teacher_tone2","woman_teacher_medium_light_skin_tone"],"surrogates":"👩🏼‍🏫","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_teacher_tone3","woman_teacher_medium_skin_tone"],"surrogates":"👩🏽‍🏫","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_teacher_tone4","woman_teacher_medium_dark_skin_tone"],"surrogates":"👩🏾‍🏫","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_teacher_tone5","woman_teacher_dark_skin_tone"],"surrogates":"👩🏿‍🏫","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_teacher"],"surrogates":"👨‍🏫","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_teacher_tone1","man_teacher_light_skin_tone"],"surrogates":"👨🏻‍🏫","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_teacher_tone2","man_teacher_medium_light_skin_tone"],"surrogates":"👨🏼‍🏫","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_teacher_tone3","man_teacher_medium_skin_tone"],"surrogates":"👨🏽‍🏫","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_teacher_tone4","man_teacher_medium_dark_skin_tone"],"surrogates":"👨🏾‍🏫","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_teacher_tone5","man_teacher_dark_skin_tone"],"surrogates":"👨🏿‍🏫","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["factory_worker"],"surrogates":"🧑‍🏭","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["factory_worker_tone1","factory_worker_light_skin_tone"],"surrogates":"🧑🏻‍🏭","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["factory_worker_tone2","factory_worker_medium_light_skin_tone"],"surrogates":"🧑🏼‍🏭","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["factory_worker_tone3","factory_worker_medium_skin_tone"],"surrogates":"🧑🏽‍🏭","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["factory_worker_tone4","factory_worker_medium_dark_skin_tone"],"surrogates":"🧑🏾‍🏭","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["factory_worker_tone5","factory_worker_dark_skin_tone"],"surrogates":"🧑🏿‍🏭","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_factory_worker"],"surrogates":"👩‍🏭","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_factory_worker_tone1","woman_factory_worker_light_skin_tone"],"surrogates":"👩🏻‍🏭","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_factory_worker_tone2","woman_factory_worker_medium_light_skin_tone"],"surrogates":"👩🏼‍🏭","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_factory_worker_tone3","woman_factory_worker_medium_skin_tone"],"surrogates":"👩🏽‍🏭","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_factory_worker_tone4","woman_factory_worker_medium_dark_skin_tone"],"surrogates":"👩🏾‍🏭","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_factory_worker_tone5","woman_factory_worker_dark_skin_tone"],"surrogates":"👩🏿‍🏭","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_factory_worker"],"surrogates":"👨‍🏭","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_factory_worker_tone1","man_factory_worker_light_skin_tone"],"surrogates":"👨🏻‍🏭","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_factory_worker_tone2","man_factory_worker_medium_light_skin_tone"],"surrogates":"👨🏼‍🏭","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_factory_worker_tone3","man_factory_worker_medium_skin_tone"],"surrogates":"👨🏽‍🏭","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_factory_worker_tone4","man_factory_worker_medium_dark_skin_tone"],"surrogates":"👨🏾‍🏭","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_factory_worker_tone5","man_factory_worker_dark_skin_tone"],"surrogates":"👨🏿‍🏭","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["technologist"],"surrogates":"🧑‍💻","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["technologist_tone1","technologist_light_skin_tone"],"surrogates":"🧑🏻‍💻","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["technologist_tone2","technologist_medium_light_skin_tone"],"surrogates":"🧑🏼‍💻","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["technologist_tone3","technologist_medium_skin_tone"],"surrogates":"🧑🏽‍💻","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["technologist_tone4","technologist_medium_dark_skin_tone"],"surrogates":"🧑🏾‍💻","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["technologist_tone5","technologist_dark_skin_tone"],"surrogates":"🧑🏿‍💻","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_technologist"],"surrogates":"👩‍💻","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_technologist_tone1","woman_technologist_light_skin_tone"],"surrogates":"👩🏻‍💻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_technologist_tone2","woman_technologist_medium_light_skin_tone"],"surrogates":"👩🏼‍💻","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_technologist_tone3","woman_technologist_medium_skin_tone"],"surrogates":"👩🏽‍💻","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_technologist_tone4","woman_technologist_medium_dark_skin_tone"],"surrogates":"👩🏾‍💻","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_technologist_tone5","woman_technologist_dark_skin_tone"],"surrogates":"👩🏿‍💻","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_technologist"],"surrogates":"👨‍💻","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_technologist_tone1","man_technologist_light_skin_tone"],"surrogates":"👨🏻‍💻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_technologist_tone2","man_technologist_medium_light_skin_tone"],"surrogates":"👨🏼‍💻","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_technologist_tone3","man_technologist_medium_skin_tone"],"surrogates":"👨🏽‍💻","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_technologist_tone4","man_technologist_medium_dark_skin_tone"],"surrogates":"👨🏾‍💻","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_technologist_tone5","man_technologist_dark_skin_tone"],"surrogates":"👨🏿‍💻","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["office_worker"],"surrogates":"🧑‍💼","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["office_worker_tone1","office_worker_light_skin_tone"],"surrogates":"🧑🏻‍💼","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["office_worker_tone2","office_worker_medium_light_skin_tone"],"surrogates":"🧑🏼‍💼","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["office_worker_tone3","office_worker_medium_skin_tone"],"surrogates":"🧑🏽‍💼","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["office_worker_tone4","office_worker_medium_dark_skin_tone"],"surrogates":"🧑🏾‍💼","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["office_worker_tone5","office_worker_dark_skin_tone"],"surrogates":"🧑🏿‍💼","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_office_worker"],"surrogates":"👩‍💼","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_office_worker_tone1","woman_office_worker_light_skin_tone"],"surrogates":"👩🏻‍💼","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_office_worker_tone2","woman_office_worker_medium_light_skin_tone"],"surrogates":"👩🏼‍💼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_office_worker_tone3","woman_office_worker_medium_skin_tone"],"surrogates":"👩🏽‍💼","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_office_worker_tone4","woman_office_worker_medium_dark_skin_tone"],"surrogates":"👩🏾‍💼","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_office_worker_tone5","woman_office_worker_dark_skin_tone"],"surrogates":"👩🏿‍💼","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_office_worker"],"surrogates":"👨‍💼","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_office_worker_tone1","man_office_worker_light_skin_tone"],"surrogates":"👨🏻‍💼","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_office_worker_tone2","man_office_worker_medium_light_skin_tone"],"surrogates":"👨🏼‍💼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_office_worker_tone3","man_office_worker_medium_skin_tone"],"surrogates":"👨🏽‍💼","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_office_worker_tone4","man_office_worker_medium_dark_skin_tone"],"surrogates":"👨🏾‍💼","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_office_worker_tone5","man_office_worker_dark_skin_tone"],"surrogates":"👨🏿‍💼","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["mechanic"],"surrogates":"🧑‍🔧","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["mechanic_tone1","mechanic_light_skin_tone"],"surrogates":"🧑🏻‍🔧","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["mechanic_tone2","mechanic_medium_light_skin_tone"],"surrogates":"🧑🏼‍🔧","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["mechanic_tone3","mechanic_medium_skin_tone"],"surrogates":"🧑🏽‍🔧","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["mechanic_tone4","mechanic_medium_dark_skin_tone"],"surrogates":"🧑🏾‍🔧","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["mechanic_tone5","mechanic_dark_skin_tone"],"surrogates":"🧑🏿‍🔧","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_mechanic"],"surrogates":"👩‍🔧","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_mechanic_tone1","woman_mechanic_light_skin_tone"],"surrogates":"👩🏻‍🔧","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_mechanic_tone2","woman_mechanic_medium_light_skin_tone"],"surrogates":"👩🏼‍🔧","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_mechanic_tone3","woman_mechanic_medium_skin_tone"],"surrogates":"👩🏽‍🔧","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_mechanic_tone4","woman_mechanic_medium_dark_skin_tone"],"surrogates":"👩🏾‍🔧","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_mechanic_tone5","woman_mechanic_dark_skin_tone"],"surrogates":"👩🏿‍🔧","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_mechanic"],"surrogates":"👨‍🔧","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_mechanic_tone1","man_mechanic_light_skin_tone"],"surrogates":"👨🏻‍🔧","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_mechanic_tone2","man_mechanic_medium_light_skin_tone"],"surrogates":"👨🏼‍🔧","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_mechanic_tone3","man_mechanic_medium_skin_tone"],"surrogates":"👨🏽‍🔧","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_mechanic_tone4","man_mechanic_medium_dark_skin_tone"],"surrogates":"👨🏾‍🔧","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_mechanic_tone5","man_mechanic_dark_skin_tone"],"surrogates":"👨🏿‍🔧","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["scientist"],"surrogates":"🧑‍🔬","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["scientist_tone1","scientist_light_skin_tone"],"surrogates":"🧑🏻‍🔬","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["scientist_tone2","scientist_medium_light_skin_tone"],"surrogates":"🧑🏼‍🔬","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["scientist_tone3","scientist_medium_skin_tone"],"surrogates":"🧑🏽‍🔬","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["scientist_tone4","scientist_medium_dark_skin_tone"],"surrogates":"🧑🏾‍🔬","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["scientist_tone5","scientist_dark_skin_tone"],"surrogates":"🧑🏿‍🔬","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_scientist"],"surrogates":"👩‍🔬","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_scientist_tone1","woman_scientist_light_skin_tone"],"surrogates":"👩🏻‍🔬","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_scientist_tone2","woman_scientist_medium_light_skin_tone"],"surrogates":"👩🏼‍🔬","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_scientist_tone3","woman_scientist_medium_skin_tone"],"surrogates":"👩🏽‍🔬","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_scientist_tone4","woman_scientist_medium_dark_skin_tone"],"surrogates":"👩🏾‍🔬","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_scientist_tone5","woman_scientist_dark_skin_tone"],"surrogates":"👩🏿‍🔬","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_scientist"],"surrogates":"👨‍🔬","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_scientist_tone1","man_scientist_light_skin_tone"],"surrogates":"👨🏻‍🔬","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_scientist_tone2","man_scientist_medium_light_skin_tone"],"surrogates":"👨🏼‍🔬","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_scientist_tone3","man_scientist_medium_skin_tone"],"surrogates":"👨🏽‍🔬","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_scientist_tone4","man_scientist_medium_dark_skin_tone"],"surrogates":"👨🏾‍🔬","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_scientist_tone5","man_scientist_dark_skin_tone"],"surrogates":"👨🏿‍🔬","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["artist"],"surrogates":"🧑‍🎨","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["artist_tone1","artist_light_skin_tone"],"surrogates":"🧑🏻‍🎨","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["artist_tone2","artist_medium_light_skin_tone"],"surrogates":"🧑🏼‍🎨","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["artist_tone3","artist_medium_skin_tone"],"surrogates":"🧑🏽‍🎨","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["artist_tone4","artist_medium_dark_skin_tone"],"surrogates":"🧑🏾‍🎨","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["artist_tone5","artist_dark_skin_tone"],"surrogates":"🧑🏿‍🎨","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_artist"],"surrogates":"👩‍🎨","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_artist_tone1","woman_artist_light_skin_tone"],"surrogates":"👩🏻‍🎨","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_artist_tone2","woman_artist_medium_light_skin_tone"],"surrogates":"👩🏼‍🎨","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_artist_tone3","woman_artist_medium_skin_tone"],"surrogates":"👩🏽‍🎨","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_artist_tone4","woman_artist_medium_dark_skin_tone"],"surrogates":"👩🏾‍🎨","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_artist_tone5","woman_artist_dark_skin_tone"],"surrogates":"👩🏿‍🎨","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_artist"],"surrogates":"👨‍🎨","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_artist_tone1","man_artist_light_skin_tone"],"surrogates":"👨🏻‍🎨","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_artist_tone2","man_artist_medium_light_skin_tone"],"surrogates":"👨🏼‍🎨","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_artist_tone3","man_artist_medium_skin_tone"],"surrogates":"👨🏽‍🎨","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_artist_tone4","man_artist_medium_dark_skin_tone"],"surrogates":"👨🏾‍🎨","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_artist_tone5","man_artist_dark_skin_tone"],"surrogates":"👨🏿‍🎨","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["firefighter"],"surrogates":"🧑‍🚒","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["firefighter_tone1","firefighter_light_skin_tone"],"surrogates":"🧑🏻‍🚒","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["firefighter_tone2","firefighter_medium_light_skin_tone"],"surrogates":"🧑🏼‍🚒","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["firefighter_tone3","firefighter_medium_skin_tone"],"surrogates":"🧑🏽‍🚒","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["firefighter_tone4","firefighter_medium_dark_skin_tone"],"surrogates":"🧑🏾‍🚒","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["firefighter_tone5","firefighter_dark_skin_tone"],"surrogates":"🧑🏿‍🚒","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_firefighter"],"surrogates":"👩‍🚒","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_firefighter_tone1","woman_firefighter_light_skin_tone"],"surrogates":"👩🏻‍🚒","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_firefighter_tone2","woman_firefighter_medium_light_skin_tone"],"surrogates":"👩🏼‍🚒","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_firefighter_tone3","woman_firefighter_medium_skin_tone"],"surrogates":"👩🏽‍🚒","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_firefighter_tone4","woman_firefighter_medium_dark_skin_tone"],"surrogates":"👩🏾‍🚒","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_firefighter_tone5","woman_firefighter_dark_skin_tone"],"surrogates":"👩🏿‍🚒","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_firefighter"],"surrogates":"👨‍🚒","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_firefighter_tone1","man_firefighter_light_skin_tone"],"surrogates":"👨🏻‍🚒","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_firefighter_tone2","man_firefighter_medium_light_skin_tone"],"surrogates":"👨🏼‍🚒","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_firefighter_tone3","man_firefighter_medium_skin_tone"],"surrogates":"👨🏽‍🚒","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_firefighter_tone4","man_firefighter_medium_dark_skin_tone"],"surrogates":"👨🏾‍🚒","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_firefighter_tone5","man_firefighter_dark_skin_tone"],"surrogates":"👨🏿‍🚒","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["pilot"],"surrogates":"🧑‍✈️","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["pilot_tone1","pilot_light_skin_tone"],"surrogates":"🧑🏻‍✈️","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["pilot_tone2","pilot_medium_light_skin_tone"],"surrogates":"🧑🏼‍✈️","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["pilot_tone3","pilot_medium_skin_tone"],"surrogates":"🧑🏽‍✈️","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["pilot_tone4","pilot_medium_dark_skin_tone"],"surrogates":"🧑🏾‍✈️","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["pilot_tone5","pilot_dark_skin_tone"],"surrogates":"🧑🏿‍✈️","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_pilot"],"surrogates":"👩‍✈️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_pilot_tone1","woman_pilot_light_skin_tone"],"surrogates":"👩🏻‍✈️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_pilot_tone2","woman_pilot_medium_light_skin_tone"],"surrogates":"👩🏼‍✈️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_pilot_tone3","woman_pilot_medium_skin_tone"],"surrogates":"👩🏽‍✈️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_pilot_tone4","woman_pilot_medium_dark_skin_tone"],"surrogates":"👩🏾‍✈️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_pilot_tone5","woman_pilot_dark_skin_tone"],"surrogates":"👩🏿‍✈️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_pilot"],"surrogates":"👨‍✈️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_pilot_tone1","man_pilot_light_skin_tone"],"surrogates":"👨🏻‍✈️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_pilot_tone2","man_pilot_medium_light_skin_tone"],"surrogates":"👨🏼‍✈️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_pilot_tone3","man_pilot_medium_skin_tone"],"surrogates":"👨🏽‍✈️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_pilot_tone4","man_pilot_medium_dark_skin_tone"],"surrogates":"👨🏾‍✈️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_pilot_tone5","man_pilot_dark_skin_tone"],"surrogates":"👨🏿‍✈️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["astronaut"],"surrogates":"🧑‍🚀","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["astronaut_tone1","astronaut_light_skin_tone"],"surrogates":"🧑🏻‍🚀","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["astronaut_tone2","astronaut_medium_light_skin_tone"],"surrogates":"🧑🏼‍🚀","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["astronaut_tone3","astronaut_medium_skin_tone"],"surrogates":"🧑🏽‍🚀","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["astronaut_tone4","astronaut_medium_dark_skin_tone"],"surrogates":"🧑🏾‍🚀","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["astronaut_tone5","astronaut_dark_skin_tone"],"surrogates":"🧑🏿‍🚀","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_astronaut"],"surrogates":"👩‍🚀","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_astronaut_tone1","woman_astronaut_light_skin_tone"],"surrogates":"👩🏻‍🚀","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_astronaut_tone2","woman_astronaut_medium_light_skin_tone"],"surrogates":"👩🏼‍🚀","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_astronaut_tone3","woman_astronaut_medium_skin_tone"],"surrogates":"👩🏽‍🚀","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_astronaut_tone4","woman_astronaut_medium_dark_skin_tone"],"surrogates":"👩🏾‍🚀","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_astronaut_tone5","woman_astronaut_dark_skin_tone"],"surrogates":"👩🏿‍🚀","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_astronaut"],"surrogates":"👨‍🚀","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_astronaut_tone1","man_astronaut_light_skin_tone"],"surrogates":"👨🏻‍🚀","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_astronaut_tone2","man_astronaut_medium_light_skin_tone"],"surrogates":"👨🏼‍🚀","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_astronaut_tone3","man_astronaut_medium_skin_tone"],"surrogates":"👨🏽‍🚀","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_astronaut_tone4","man_astronaut_medium_dark_skin_tone"],"surrogates":"👨🏾‍🚀","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_astronaut_tone5","man_astronaut_dark_skin_tone"],"surrogates":"👨🏿‍🚀","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["judge"],"surrogates":"🧑‍⚖️","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["judge_tone1","judge_light_skin_tone"],"surrogates":"🧑🏻‍⚖️","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["judge_tone2","judge_medium_light_skin_tone"],"surrogates":"🧑🏼‍⚖️","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["judge_tone3","judge_medium_skin_tone"],"surrogates":"🧑🏽‍⚖️","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["judge_tone4","judge_medium_dark_skin_tone"],"surrogates":"🧑🏾‍⚖️","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["judge_tone5","judge_dark_skin_tone"],"surrogates":"🧑🏿‍⚖️","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_judge"],"surrogates":"👩‍⚖️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_judge_tone1","woman_judge_light_skin_tone"],"surrogates":"👩🏻‍⚖️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_judge_tone2","woman_judge_medium_light_skin_tone"],"surrogates":"👩🏼‍⚖️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_judge_tone3","woman_judge_medium_skin_tone"],"surrogates":"👩🏽‍⚖️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_judge_tone4","woman_judge_medium_dark_skin_tone"],"surrogates":"👩🏾‍⚖️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_judge_tone5","woman_judge_dark_skin_tone"],"surrogates":"👩🏿‍⚖️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_judge"],"surrogates":"👨‍⚖️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_judge_tone1","man_judge_light_skin_tone"],"surrogates":"👨🏻‍⚖️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_judge_tone2","man_judge_medium_light_skin_tone"],"surrogates":"👨🏼‍⚖️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_judge_tone3","man_judge_medium_skin_tone"],"surrogates":"👨🏽‍⚖️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_judge_tone4","man_judge_medium_dark_skin_tone"],"surrogates":"👨🏾‍⚖️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_judge_tone5","man_judge_dark_skin_tone"],"surrogates":"👨🏿‍⚖️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_with_veil"],"surrogates":"👰","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["person_with_veil_tone1"],"surrogates":"👰🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_with_veil_tone2"],"surrogates":"👰🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_with_veil_tone3"],"surrogates":"👰🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_with_veil_tone4"],"surrogates":"👰🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_with_veil_tone5"],"surrogates":"👰🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_with_veil","bride_with_veil"],"surrogates":"👰‍♀️","unicodeVersion":13,"hasDiversity":true,"diversityChildren":[{"names":["woman_with_veil_tone1","woman_with_veil_light_skin_tone"],"surrogates":"👰🏻‍♀️","unicodeVersion":13,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_with_veil_tone2","woman_with_veil_medium_light_skin_tone"],"surrogates":"👰🏼‍♀️","unicodeVersion":13,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_with_veil_tone3","woman_with_veil_medium_skin_tone"],"surrogates":"👰🏽‍♀️","unicodeVersion":13,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_with_veil_tone4","woman_with_veil_medium_dark_skin_tone"],"surrogates":"👰🏾‍♀️","unicodeVersion":13,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_with_veil_tone5","woman_with_veil_dark_skin_tone"],"surrogates":"👰🏿‍♀️","unicodeVersion":13,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_with_veil"],"surrogates":"👰‍♂️","unicodeVersion":13,"hasDiversity":true,"diversityChildren":[{"names":["man_with_veil_tone1","man_with_veil_light_skin_tone"],"surrogates":"👰🏻‍♂️","unicodeVersion":13,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_with_veil_tone2","man_with_veil_medium_light_skin_tone"],"surrogates":"👰🏼‍♂️","unicodeVersion":13,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_with_veil_tone3","man_with_veil_medium_skin_tone"],"surrogates":"👰🏽‍♂️","unicodeVersion":13,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_with_veil_tone4","man_with_veil_medium_dark_skin_tone"],"surrogates":"👰🏾‍♂️","unicodeVersion":13,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_with_veil_tone5","man_with_veil_dark_skin_tone"],"surrogates":"👰🏿‍♂️","unicodeVersion":13,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_in_tuxedo"],"surrogates":"🤵","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["person_in_tuxedo_tone1","tuxedo_tone1"],"surrogates":"🤵🏻","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_in_tuxedo_tone2","tuxedo_tone2"],"surrogates":"🤵🏼","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_in_tuxedo_tone3","tuxedo_tone3"],"surrogates":"🤵🏽","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_in_tuxedo_tone4","tuxedo_tone4"],"surrogates":"🤵🏾","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_in_tuxedo_tone5","tuxedo_tone5"],"surrogates":"🤵🏿","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_in_tuxedo"],"surrogates":"🤵‍♀️","unicodeVersion":13,"hasDiversity":true,"diversityChildren":[{"names":["woman_in_tuxedo_tone1","woman_in_tuxedo_light_skin_tone"],"surrogates":"🤵🏻‍♀️","unicodeVersion":13,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_in_tuxedo_tone2","woman_in_tuxedo_medium_light_skin_tone"],"surrogates":"🤵🏼‍♀️","unicodeVersion":13,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_in_tuxedo_tone3","woman_in_tuxedo_medium_skin_tone"],"surrogates":"🤵🏽‍♀️","unicodeVersion":13,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_in_tuxedo_tone4","woman_in_tuxedo_medium_dark_skin_tone"],"surrogates":"🤵🏾‍♀️","unicodeVersion":13,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_in_tuxedo_tone5","woman_in_tuxedo_dark_skin_tone"],"surrogates":"🤵🏿‍♀️","unicodeVersion":13,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_in_tuxedo"],"surrogates":"🤵‍♂️","unicodeVersion":13,"hasDiversity":true,"diversityChildren":[{"names":["man_in_tuxedo_tone1","man_in_tuxedo_light_skin_tone"],"surrogates":"🤵🏻‍♂️","unicodeVersion":13,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_in_tuxedo_tone2","man_in_tuxedo_medium_light_skin_tone"],"surrogates":"🤵🏼‍♂️","unicodeVersion":13,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_in_tuxedo_tone3","man_in_tuxedo_medium_skin_tone"],"surrogates":"🤵🏽‍♂️","unicodeVersion":13,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_in_tuxedo_tone4","man_in_tuxedo_medium_dark_skin_tone"],"surrogates":"🤵🏾‍♂️","unicodeVersion":13,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_in_tuxedo_tone5","man_in_tuxedo_dark_skin_tone"],"surrogates":"🤵🏿‍♂️","unicodeVersion":13,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["princess"],"surrogates":"👸","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["princess_tone1"],"surrogates":"👸🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["princess_tone2"],"surrogates":"👸🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["princess_tone3"],"surrogates":"👸🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["princess_tone4"],"surrogates":"👸🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["princess_tone5"],"surrogates":"👸🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["prince"],"surrogates":"🤴","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["prince_tone1"],"surrogates":"🤴🏻","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["prince_tone2"],"surrogates":"🤴🏼","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["prince_tone3"],"surrogates":"🤴🏽","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["prince_tone4"],"surrogates":"🤴🏾","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["prince_tone5"],"surrogates":"🤴🏿","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["superhero"],"surrogates":"🦸","unicodeVersion":11,"hasDiversity":true,"diversityChildren":[{"names":["superhero_tone1","superhero_light_skin_tone"],"surrogates":"🦸🏻","unicodeVersion":11,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["superhero_tone2","superhero_medium_light_skin_tone"],"surrogates":"🦸🏼","unicodeVersion":11,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["superhero_tone3","superhero_medium_skin_tone"],"surrogates":"🦸🏽","unicodeVersion":11,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["superhero_tone4","superhero_medium_dark_skin_tone"],"surrogates":"🦸🏾","unicodeVersion":11,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["superhero_tone5","superhero_dark_skin_tone"],"surrogates":"🦸🏿","unicodeVersion":11,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_superhero"],"surrogates":"🦸‍♀️","unicodeVersion":11,"hasDiversity":true,"diversityChildren":[{"names":["woman_superhero_tone1","woman_superhero_light_skin_tone"],"surrogates":"🦸🏻‍♀️","unicodeVersion":11,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_superhero_tone2","woman_superhero_medium_light_skin_tone"],"surrogates":"🦸🏼‍♀️","unicodeVersion":11,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_superhero_tone3","woman_superhero_medium_skin_tone"],"surrogates":"🦸🏽‍♀️","unicodeVersion":11,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_superhero_tone4","woman_superhero_medium_dark_skin_tone"],"surrogates":"🦸🏾‍♀️","unicodeVersion":11,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_superhero_tone5","woman_superhero_dark_skin_tone"],"surrogates":"🦸🏿‍♀️","unicodeVersion":11,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_superhero"],"surrogates":"🦸‍♂️","unicodeVersion":11,"hasDiversity":true,"diversityChildren":[{"names":["man_superhero_tone1","man_superhero_light_skin_tone"],"surrogates":"🦸🏻‍♂️","unicodeVersion":11,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_superhero_tone2","man_superhero_medium_light_skin_tone"],"surrogates":"🦸🏼‍♂️","unicodeVersion":11,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_superhero_tone3","man_superhero_medium_skin_tone"],"surrogates":"🦸🏽‍♂️","unicodeVersion":11,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_superhero_tone4","man_superhero_medium_dark_skin_tone"],"surrogates":"🦸🏾‍♂️","unicodeVersion":11,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_superhero_tone5","man_superhero_dark_skin_tone"],"surrogates":"🦸🏿‍♂️","unicodeVersion":11,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["supervillain"],"surrogates":"🦹","unicodeVersion":11,"hasDiversity":true,"diversityChildren":[{"names":["supervillain_tone1","supervillain_light_skin_tone"],"surrogates":"🦹🏻","unicodeVersion":11,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["supervillain_tone2","supervillain_medium_light_skin_tone"],"surrogates":"🦹🏼","unicodeVersion":11,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["supervillain_tone3","supervillain_medium_skin_tone"],"surrogates":"🦹🏽","unicodeVersion":11,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["supervillain_tone4","supervillain_medium_dark_skin_tone"],"surrogates":"🦹🏾","unicodeVersion":11,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["supervillain_tone5","supervillain_dark_skin_tone"],"surrogates":"🦹🏿","unicodeVersion":11,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_supervillain"],"surrogates":"🦹‍♀️","unicodeVersion":11,"hasDiversity":true,"diversityChildren":[{"names":["woman_supervillain_tone1","woman_supervillain_light_skin_tone"],"surrogates":"🦹🏻‍♀️","unicodeVersion":11,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_supervillain_tone2","woman_supervillain_medium_light_skin_tone"],"surrogates":"🦹🏼‍♀️","unicodeVersion":11,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_supervillain_tone3","woman_supervillain_medium_skin_tone"],"surrogates":"🦹🏽‍♀️","unicodeVersion":11,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_supervillain_tone4","woman_supervillain_medium_dark_skin_tone"],"surrogates":"🦹🏾‍♀️","unicodeVersion":11,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_supervillain_tone5","woman_supervillain_dark_skin_tone"],"surrogates":"🦹🏿‍♀️","unicodeVersion":11,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_supervillain"],"surrogates":"🦹‍♂️","unicodeVersion":11,"hasDiversity":true,"diversityChildren":[{"names":["man_supervillain_tone1","man_supervillain_light_skin_tone"],"surrogates":"🦹🏻‍♂️","unicodeVersion":11,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_supervillain_tone2","man_supervillain_medium_light_skin_tone"],"surrogates":"🦹🏼‍♂️","unicodeVersion":11,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_supervillain_tone3","man_supervillain_medium_skin_tone"],"surrogates":"🦹🏽‍♂️","unicodeVersion":11,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_supervillain_tone4","man_supervillain_medium_dark_skin_tone"],"surrogates":"🦹🏾‍♂️","unicodeVersion":11,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_supervillain_tone5","man_supervillain_dark_skin_tone"],"surrogates":"🦹🏿‍♂️","unicodeVersion":11,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["ninja"],"surrogates":"🥷","unicodeVersion":13,"hasDiversity":true,"diversityChildren":[{"names":["ninja_tone1","ninja_light_skin_tone"],"surrogates":"🥷🏻","unicodeVersion":13,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["ninja_tone2","ninja_medium_light_skin_tone"],"surrogates":"🥷🏼","unicodeVersion":13,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["ninja_tone3","ninja_medium_skin_tone"],"surrogates":"🥷🏽","unicodeVersion":13,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["ninja_tone4","ninja_medium_dark_skin_tone"],"surrogates":"🥷🏾","unicodeVersion":13,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["ninja_tone5","ninja_dark_skin_tone"],"surrogates":"🥷🏿","unicodeVersion":13,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["mx_claus"],"surrogates":"🧑‍🎄","unicodeVersion":13,"hasDiversity":true,"diversityChildren":[{"names":["mx_claus_tone1","mx_claus_light_skin_tone"],"surrogates":"🧑🏻‍🎄","unicodeVersion":13,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["mx_claus_tone2","mx_claus_medium_light_skin_tone"],"surrogates":"🧑🏼‍🎄","unicodeVersion":13,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["mx_claus_tone3","mx_claus_medium_skin_tone"],"surrogates":"🧑🏽‍🎄","unicodeVersion":13,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["mx_claus_tone4","mx_claus_medium_dark_skin_tone"],"surrogates":"🧑🏾‍🎄","unicodeVersion":13,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["mx_claus_tone5","mx_claus_dark_skin_tone"],"surrogates":"🧑🏿‍🎄","unicodeVersion":13,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["mrs_claus","mother_christmas"],"surrogates":"🤶","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["mrs_claus_tone1","mother_christmas_tone1"],"surrogates":"🤶🏻","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["mrs_claus_tone2","mother_christmas_tone2"],"surrogates":"🤶🏼","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["mrs_claus_tone3","mother_christmas_tone3"],"surrogates":"🤶🏽","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["mrs_claus_tone4","mother_christmas_tone4"],"surrogates":"🤶🏾","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["mrs_claus_tone5","mother_christmas_tone5"],"surrogates":"🤶🏿","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["santa"],"surrogates":"🎅","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["santa_tone1"],"surrogates":"🎅🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["santa_tone2"],"surrogates":"🎅🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["santa_tone3"],"surrogates":"🎅🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["santa_tone4"],"surrogates":"🎅🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["santa_tone5"],"surrogates":"🎅🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["mage"],"surrogates":"🧙","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["mage_tone1","mage_light_skin_tone"],"surrogates":"🧙🏻","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["mage_tone2","mage_medium_light_skin_tone"],"surrogates":"🧙🏼","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["mage_tone3","mage_medium_skin_tone"],"surrogates":"🧙🏽","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["mage_tone4","mage_medium_dark_skin_tone"],"surrogates":"🧙🏾","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["mage_tone5","mage_dark_skin_tone"],"surrogates":"🧙🏿","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_mage"],"surrogates":"🧙‍♀️","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["woman_mage_tone1","woman_mage_light_skin_tone"],"surrogates":"🧙🏻‍♀️","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_mage_tone2","woman_mage_medium_light_skin_tone"],"surrogates":"🧙🏼‍♀️","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_mage_tone3","woman_mage_medium_skin_tone"],"surrogates":"🧙🏽‍♀️","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_mage_tone4","woman_mage_medium_dark_skin_tone"],"surrogates":"🧙🏾‍♀️","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_mage_tone5","woman_mage_dark_skin_tone"],"surrogates":"🧙🏿‍♀️","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_mage"],"surrogates":"🧙‍♂️","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["man_mage_tone1","man_mage_light_skin_tone"],"surrogates":"🧙🏻‍♂️","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_mage_tone2","man_mage_medium_light_skin_tone"],"surrogates":"🧙🏼‍♂️","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_mage_tone3","man_mage_medium_skin_tone"],"surrogates":"🧙🏽‍♂️","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_mage_tone4","man_mage_medium_dark_skin_tone"],"surrogates":"🧙🏾‍♂️","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_mage_tone5","man_mage_dark_skin_tone"],"surrogates":"🧙🏿‍♂️","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["elf"],"surrogates":"🧝","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["elf_tone1","elf_light_skin_tone"],"surrogates":"🧝🏻","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["elf_tone2","elf_medium_light_skin_tone"],"surrogates":"🧝🏼","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["elf_tone3","elf_medium_skin_tone"],"surrogates":"🧝🏽","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["elf_tone4","elf_medium_dark_skin_tone"],"surrogates":"🧝🏾","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["elf_tone5","elf_dark_skin_tone"],"surrogates":"🧝🏿","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_elf"],"surrogates":"🧝‍♀️","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["woman_elf_tone1","woman_elf_light_skin_tone"],"surrogates":"🧝🏻‍♀️","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_elf_tone2","woman_elf_medium_light_skin_tone"],"surrogates":"🧝🏼‍♀️","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_elf_tone3","woman_elf_medium_skin_tone"],"surrogates":"🧝🏽‍♀️","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_elf_tone4","woman_elf_medium_dark_skin_tone"],"surrogates":"🧝🏾‍♀️","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_elf_tone5","woman_elf_dark_skin_tone"],"surrogates":"🧝🏿‍♀️","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_elf"],"surrogates":"🧝‍♂️","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["man_elf_tone1","man_elf_light_skin_tone"],"surrogates":"🧝🏻‍♂️","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_elf_tone2","man_elf_medium_light_skin_tone"],"surrogates":"🧝🏼‍♂️","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_elf_tone3","man_elf_medium_skin_tone"],"surrogates":"🧝🏽‍♂️","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_elf_tone4","man_elf_medium_dark_skin_tone"],"surrogates":"🧝🏾‍♂️","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_elf_tone5","man_elf_dark_skin_tone"],"surrogates":"🧝🏿‍♂️","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["vampire"],"surrogates":"🧛","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["vampire_tone1","vampire_light_skin_tone"],"surrogates":"🧛🏻","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["vampire_tone2","vampire_medium_light_skin_tone"],"surrogates":"🧛🏼","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["vampire_tone3","vampire_medium_skin_tone"],"surrogates":"🧛🏽","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["vampire_tone4","vampire_medium_dark_skin_tone"],"surrogates":"🧛🏾","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["vampire_tone5","vampire_dark_skin_tone"],"surrogates":"🧛🏿","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_vampire"],"surrogates":"🧛‍♀️","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["woman_vampire_tone1","woman_vampire_light_skin_tone"],"surrogates":"🧛🏻‍♀️","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_vampire_tone2","woman_vampire_medium_light_skin_tone"],"surrogates":"🧛🏼‍♀️","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_vampire_tone3","woman_vampire_medium_skin_tone"],"surrogates":"🧛🏽‍♀️","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_vampire_tone4","woman_vampire_medium_dark_skin_tone"],"surrogates":"🧛🏾‍♀️","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_vampire_tone5","woman_vampire_dark_skin_tone"],"surrogates":"🧛🏿‍♀️","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_vampire"],"surrogates":"🧛‍♂️","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["man_vampire_tone1","man_vampire_light_skin_tone"],"surrogates":"🧛🏻‍♂️","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_vampire_tone2","man_vampire_medium_light_skin_tone"],"surrogates":"🧛🏼‍♂️","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_vampire_tone3","man_vampire_medium_skin_tone"],"surrogates":"🧛🏽‍♂️","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_vampire_tone4","man_vampire_medium_dark_skin_tone"],"surrogates":"🧛🏾‍♂️","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_vampire_tone5","man_vampire_dark_skin_tone"],"surrogates":"🧛🏿‍♂️","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["zombie"],"surrogates":"🧟","unicodeVersion":10},{"names":["woman_zombie"],"surrogates":"🧟‍♀️","unicodeVersion":10},{"names":["man_zombie"],"surrogates":"🧟‍♂️","unicodeVersion":10},{"names":["genie"],"surrogates":"🧞","unicodeVersion":10},{"names":["woman_genie"],"surrogates":"🧞‍♀️","unicodeVersion":10},{"names":["man_genie"],"surrogates":"🧞‍♂️","unicodeVersion":10},{"names":["merperson"],"surrogates":"🧜","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["merperson_tone1","merperson_light_skin_tone"],"surrogates":"🧜🏻","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["merperson_tone2","merperson_medium_light_skin_tone"],"surrogates":"🧜🏼","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["merperson_tone3","merperson_medium_skin_tone"],"surrogates":"🧜🏽","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["merperson_tone4","merperson_medium_dark_skin_tone"],"surrogates":"🧜🏾","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["merperson_tone5","merperson_dark_skin_tone"],"surrogates":"🧜🏿","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["mermaid"],"surrogates":"🧜‍♀️","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["mermaid_tone1","mermaid_light_skin_tone"],"surrogates":"🧜🏻‍♀️","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["mermaid_tone2","mermaid_medium_light_skin_tone"],"surrogates":"🧜🏼‍♀️","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["mermaid_tone3","mermaid_medium_skin_tone"],"surrogates":"🧜🏽‍♀️","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["mermaid_tone4","mermaid_medium_dark_skin_tone"],"surrogates":"🧜🏾‍♀️","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["mermaid_tone5","mermaid_dark_skin_tone"],"surrogates":"🧜🏿‍♀️","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["merman"],"surrogates":"🧜‍♂️","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["merman_tone1","merman_light_skin_tone"],"surrogates":"🧜🏻‍♂️","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["merman_tone2","merman_medium_light_skin_tone"],"surrogates":"🧜🏼‍♂️","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["merman_tone3","merman_medium_skin_tone"],"surrogates":"🧜🏽‍♂️","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["merman_tone4","merman_medium_dark_skin_tone"],"surrogates":"🧜🏾‍♂️","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["merman_tone5","merman_dark_skin_tone"],"surrogates":"🧜🏿‍♂️","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["fairy"],"surrogates":"🧚","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["fairy_tone1","fairy_light_skin_tone"],"surrogates":"🧚🏻","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["fairy_tone2","fairy_medium_light_skin_tone"],"surrogates":"🧚🏼","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["fairy_tone3","fairy_medium_skin_tone"],"surrogates":"🧚🏽","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["fairy_tone4","fairy_medium_dark_skin_tone"],"surrogates":"🧚🏾","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["fairy_tone5","fairy_dark_skin_tone"],"surrogates":"🧚🏿","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_fairy"],"surrogates":"🧚‍♀️","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["woman_fairy_tone1","woman_fairy_light_skin_tone"],"surrogates":"🧚🏻‍♀️","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_fairy_tone2","woman_fairy_medium_light_skin_tone"],"surrogates":"🧚🏼‍♀️","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_fairy_tone3","woman_fairy_medium_skin_tone"],"surrogates":"🧚🏽‍♀️","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_fairy_tone4","woman_fairy_medium_dark_skin_tone"],"surrogates":"🧚🏾‍♀️","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_fairy_tone5","woman_fairy_dark_skin_tone"],"surrogates":"🧚🏿‍♀️","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_fairy"],"surrogates":"🧚‍♂️","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["man_fairy_tone1","man_fairy_light_skin_tone"],"surrogates":"🧚🏻‍♂️","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_fairy_tone2","man_fairy_medium_light_skin_tone"],"surrogates":"🧚🏼‍♂️","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_fairy_tone3","man_fairy_medium_skin_tone"],"surrogates":"🧚🏽‍♂️","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_fairy_tone4","man_fairy_medium_dark_skin_tone"],"surrogates":"🧚🏾‍♂️","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_fairy_tone5","man_fairy_dark_skin_tone"],"surrogates":"🧚🏿‍♂️","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["angel"],"surrogates":"👼","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["angel_tone1"],"surrogates":"👼🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["angel_tone2"],"surrogates":"👼🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["angel_tone3"],"surrogates":"👼🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["angel_tone4"],"surrogates":"👼🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["angel_tone5"],"surrogates":"👼🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["pregnant_woman","expecting_woman"],"surrogates":"🤰","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["pregnant_woman_tone1","expecting_woman_tone1"],"surrogates":"🤰🏻","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["pregnant_woman_tone2","expecting_woman_tone2"],"surrogates":"🤰🏼","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["pregnant_woman_tone3","expecting_woman_tone3"],"surrogates":"🤰🏽","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["pregnant_woman_tone4","expecting_woman_tone4"],"surrogates":"🤰🏾","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["pregnant_woman_tone5","expecting_woman_tone5"],"surrogates":"🤰🏿","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["breast_feeding"],"surrogates":"🤱","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["breast_feeding_tone1","breast_feeding_light_skin_tone"],"surrogates":"🤱🏻","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["breast_feeding_tone2","breast_feeding_medium_light_skin_tone"],"surrogates":"🤱🏼","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["breast_feeding_tone3","breast_feeding_medium_skin_tone"],"surrogates":"🤱🏽","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["breast_feeding_tone4","breast_feeding_medium_dark_skin_tone"],"surrogates":"🤱🏾","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["breast_feeding_tone5","breast_feeding_dark_skin_tone"],"surrogates":"🤱🏿","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_feeding_baby"],"surrogates":"🧑‍🍼","unicodeVersion":13,"hasDiversity":true,"diversityChildren":[{"names":["person_feeding_baby_tone1","person_feeding_baby_light_skin_tone"],"surrogates":"🧑🏻‍🍼","unicodeVersion":13,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_feeding_baby_tone2","person_feeding_baby_medium_light_skin_tone"],"surrogates":"🧑🏼‍🍼","unicodeVersion":13,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_feeding_baby_tone3","person_feeding_baby_medium_skin_tone"],"surrogates":"🧑🏽‍🍼","unicodeVersion":13,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_feeding_baby_tone4","person_feeding_baby_medium_dark_skin_tone"],"surrogates":"🧑🏾‍🍼","unicodeVersion":13,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_feeding_baby_tone5","person_feeding_baby_dark_skin_tone"],"surrogates":"🧑🏿‍🍼","unicodeVersion":13,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_feeding_baby"],"surrogates":"👩‍🍼","unicodeVersion":13,"hasDiversity":true,"diversityChildren":[{"names":["woman_feeding_baby_tone1","woman_feeding_baby_light_skin_tone"],"surrogates":"👩🏻‍🍼","unicodeVersion":13,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_feeding_baby_tone2","woman_feeding_baby_medium_light_skin_tone"],"surrogates":"👩🏼‍🍼","unicodeVersion":13,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_feeding_baby_tone3","woman_feeding_baby_medium_skin_tone"],"surrogates":"👩🏽‍🍼","unicodeVersion":13,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_feeding_baby_tone4","woman_feeding_baby_medium_dark_skin_tone"],"surrogates":"👩🏾‍🍼","unicodeVersion":13,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_feeding_baby_tone5","woman_feeding_baby_dark_skin_tone"],"surrogates":"👩🏿‍🍼","unicodeVersion":13,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_feeding_baby"],"surrogates":"👨‍🍼","unicodeVersion":13,"hasDiversity":true,"diversityChildren":[{"names":["man_feeding_baby_tone1","man_feeding_baby_light_skin_tone"],"surrogates":"👨🏻‍🍼","unicodeVersion":13,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_feeding_baby_tone2","man_feeding_baby_medium_light_skin_tone"],"surrogates":"👨🏼‍🍼","unicodeVersion":13,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_feeding_baby_tone3","man_feeding_baby_medium_skin_tone"],"surrogates":"👨🏽‍🍼","unicodeVersion":13,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_feeding_baby_tone4","man_feeding_baby_medium_dark_skin_tone"],"surrogates":"👨🏾‍🍼","unicodeVersion":13,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_feeding_baby_tone5","man_feeding_baby_dark_skin_tone"],"surrogates":"👨🏿‍🍼","unicodeVersion":13,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_bowing","bow"],"surrogates":"🙇","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["person_bowing_tone1","bow_tone1"],"surrogates":"🙇🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_bowing_tone2","bow_tone2"],"surrogates":"🙇🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_bowing_tone3","bow_tone3"],"surrogates":"🙇🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_bowing_tone4","bow_tone4"],"surrogates":"🙇🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_bowing_tone5","bow_tone5"],"surrogates":"🙇🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_bowing"],"surrogates":"🙇‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_bowing_tone1","woman_bowing_light_skin_tone"],"surrogates":"🙇🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_bowing_tone2","woman_bowing_medium_light_skin_tone"],"surrogates":"🙇🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_bowing_tone3","woman_bowing_medium_skin_tone"],"surrogates":"🙇🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_bowing_tone4","woman_bowing_medium_dark_skin_tone"],"surrogates":"🙇🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_bowing_tone5","woman_bowing_dark_skin_tone"],"surrogates":"🙇🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_bowing"],"surrogates":"🙇‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_bowing_tone1","man_bowing_light_skin_tone"],"surrogates":"🙇🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_bowing_tone2","man_bowing_medium_light_skin_tone"],"surrogates":"🙇🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_bowing_tone3","man_bowing_medium_skin_tone"],"surrogates":"🙇🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_bowing_tone4","man_bowing_medium_dark_skin_tone"],"surrogates":"🙇🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_bowing_tone5","man_bowing_dark_skin_tone"],"surrogates":"🙇🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_tipping_hand","information_desk_person"],"surrogates":"💁","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["person_tipping_hand_tone1","information_desk_person_tone1"],"surrogates":"💁🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_tipping_hand_tone2","information_desk_person_tone2"],"surrogates":"💁🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_tipping_hand_tone3","information_desk_person_tone3"],"surrogates":"💁🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_tipping_hand_tone4","information_desk_person_tone4"],"surrogates":"💁🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_tipping_hand_tone5","information_desk_person_tone5"],"surrogates":"💁🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_tipping_hand"],"surrogates":"💁‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_tipping_hand_tone1","woman_tipping_hand_light_skin_tone"],"surrogates":"💁🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_tipping_hand_tone2","woman_tipping_hand_medium_light_skin_tone"],"surrogates":"💁🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_tipping_hand_tone3","woman_tipping_hand_medium_skin_tone"],"surrogates":"💁🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_tipping_hand_tone4","woman_tipping_hand_medium_dark_skin_tone"],"surrogates":"💁🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_tipping_hand_tone5","woman_tipping_hand_dark_skin_tone"],"surrogates":"💁🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_tipping_hand"],"surrogates":"💁‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_tipping_hand_tone1","man_tipping_hand_light_skin_tone"],"surrogates":"💁🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_tipping_hand_tone2","man_tipping_hand_medium_light_skin_tone"],"surrogates":"💁🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_tipping_hand_tone3","man_tipping_hand_medium_skin_tone"],"surrogates":"💁🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_tipping_hand_tone4","man_tipping_hand_medium_dark_skin_tone"],"surrogates":"💁🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_tipping_hand_tone5","man_tipping_hand_dark_skin_tone"],"surrogates":"💁🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_gesturing_no","no_good"],"surrogates":"🙅","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["person_gesturing_no_tone1","no_good_tone1"],"surrogates":"🙅🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_gesturing_no_tone2","no_good_tone2"],"surrogates":"🙅🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_gesturing_no_tone3","no_good_tone3"],"surrogates":"🙅🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_gesturing_no_tone4","no_good_tone4"],"surrogates":"🙅🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_gesturing_no_tone5","no_good_tone5"],"surrogates":"🙅🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_gesturing_no"],"surrogates":"🙅‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_gesturing_no_tone1","woman_gesturing_no_light_skin_tone"],"surrogates":"🙅🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_gesturing_no_tone2","woman_gesturing_no_medium_light_skin_tone"],"surrogates":"🙅🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_gesturing_no_tone3","woman_gesturing_no_medium_skin_tone"],"surrogates":"🙅🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_gesturing_no_tone4","woman_gesturing_no_medium_dark_skin_tone"],"surrogates":"🙅🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_gesturing_no_tone5","woman_gesturing_no_dark_skin_tone"],"surrogates":"🙅🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_gesturing_no"],"surrogates":"🙅‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_gesturing_no_tone1","man_gesturing_no_light_skin_tone"],"surrogates":"🙅🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_gesturing_no_tone2","man_gesturing_no_medium_light_skin_tone"],"surrogates":"🙅🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_gesturing_no_tone3","man_gesturing_no_medium_skin_tone"],"surrogates":"🙅🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_gesturing_no_tone4","man_gesturing_no_medium_dark_skin_tone"],"surrogates":"🙅🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_gesturing_no_tone5","man_gesturing_no_dark_skin_tone"],"surrogates":"🙅🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_gesturing_ok","ok_woman"],"surrogates":"🙆","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["person_gesturing_ok_tone1","ok_woman_tone1"],"surrogates":"🙆🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_gesturing_ok_tone2","ok_woman_tone2"],"surrogates":"🙆🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_gesturing_ok_tone3","ok_woman_tone3"],"surrogates":"🙆🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_gesturing_ok_tone4","ok_woman_tone4"],"surrogates":"🙆🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_gesturing_ok_tone5","ok_woman_tone5"],"surrogates":"🙆🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_gesturing_ok"],"surrogates":"🙆‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_gesturing_ok_tone1","woman_gesturing_ok_light_skin_tone"],"surrogates":"🙆🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_gesturing_ok_tone2","woman_gesturing_ok_medium_light_skin_tone"],"surrogates":"🙆🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_gesturing_ok_tone3","woman_gesturing_ok_medium_skin_tone"],"surrogates":"🙆🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_gesturing_ok_tone4","woman_gesturing_ok_medium_dark_skin_tone"],"surrogates":"🙆🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_gesturing_ok_tone5","woman_gesturing_ok_dark_skin_tone"],"surrogates":"🙆🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_gesturing_ok"],"surrogates":"🙆‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_gesturing_ok_tone1","man_gesturing_ok_light_skin_tone"],"surrogates":"🙆🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_gesturing_ok_tone2","man_gesturing_ok_medium_light_skin_tone"],"surrogates":"🙆🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_gesturing_ok_tone3","man_gesturing_ok_medium_skin_tone"],"surrogates":"🙆🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_gesturing_ok_tone4","man_gesturing_ok_medium_dark_skin_tone"],"surrogates":"🙆🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_gesturing_ok_tone5","man_gesturing_ok_dark_skin_tone"],"surrogates":"🙆🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_raising_hand","raising_hand"],"surrogates":"🙋","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["person_raising_hand_tone1","raising_hand_tone1"],"surrogates":"🙋🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_raising_hand_tone2","raising_hand_tone2"],"surrogates":"🙋🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_raising_hand_tone3","raising_hand_tone3"],"surrogates":"🙋🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_raising_hand_tone4","raising_hand_tone4"],"surrogates":"🙋🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_raising_hand_tone5","raising_hand_tone5"],"surrogates":"🙋🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_raising_hand"],"surrogates":"🙋‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_raising_hand_tone1","woman_raising_hand_light_skin_tone"],"surrogates":"🙋🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_raising_hand_tone2","woman_raising_hand_medium_light_skin_tone"],"surrogates":"🙋🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_raising_hand_tone3","woman_raising_hand_medium_skin_tone"],"surrogates":"🙋🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_raising_hand_tone4","woman_raising_hand_medium_dark_skin_tone"],"surrogates":"🙋🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_raising_hand_tone5","woman_raising_hand_dark_skin_tone"],"surrogates":"🙋🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_raising_hand"],"surrogates":"🙋‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_raising_hand_tone1","man_raising_hand_light_skin_tone"],"surrogates":"🙋🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_raising_hand_tone2","man_raising_hand_medium_light_skin_tone"],"surrogates":"🙋🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_raising_hand_tone3","man_raising_hand_medium_skin_tone"],"surrogates":"🙋🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_raising_hand_tone4","man_raising_hand_medium_dark_skin_tone"],"surrogates":"🙋🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_raising_hand_tone5","man_raising_hand_dark_skin_tone"],"surrogates":"🙋🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["deaf_person"],"surrogates":"🧏","unicodeVersion":12,"hasDiversity":true,"diversityChildren":[{"names":["deaf_person_tone1","deaf_person_light_skin_tone"],"surrogates":"🧏🏻","unicodeVersion":12,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["deaf_person_tone2","deaf_person_medium_light_skin_tone"],"surrogates":"🧏🏼","unicodeVersion":12,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["deaf_person_tone3","deaf_person_medium_skin_tone"],"surrogates":"🧏🏽","unicodeVersion":12,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["deaf_person_tone4","deaf_person_medium_dark_skin_tone"],"surrogates":"🧏🏾","unicodeVersion":12,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["deaf_person_tone5","deaf_person_dark_skin_tone"],"surrogates":"🧏🏿","unicodeVersion":12,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["deaf_woman"],"surrogates":"🧏‍♀️","unicodeVersion":12,"hasDiversity":true,"diversityChildren":[{"names":["deaf_woman_tone1","deaf_woman_light_skin_tone"],"surrogates":"🧏🏻‍♀️","unicodeVersion":12,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["deaf_woman_tone2","deaf_woman_medium_light_skin_tone"],"surrogates":"🧏🏼‍♀️","unicodeVersion":12,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["deaf_woman_tone3","deaf_woman_medium_skin_tone"],"surrogates":"🧏🏽‍♀️","unicodeVersion":12,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["deaf_woman_tone4","deaf_woman_medium_dark_skin_tone"],"surrogates":"🧏🏾‍♀️","unicodeVersion":12,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["deaf_woman_tone5","deaf_woman_dark_skin_tone"],"surrogates":"🧏🏿‍♀️","unicodeVersion":12,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["deaf_man"],"surrogates":"🧏‍♂️","unicodeVersion":12,"hasDiversity":true,"diversityChildren":[{"names":["deaf_man_tone1","deaf_man_light_skin_tone"],"surrogates":"🧏🏻‍♂️","unicodeVersion":12,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["deaf_man_tone2","deaf_man_medium_light_skin_tone"],"surrogates":"🧏🏼‍♂️","unicodeVersion":12,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["deaf_man_tone3","deaf_man_medium_skin_tone"],"surrogates":"🧏🏽‍♂️","unicodeVersion":12,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["deaf_man_tone4","deaf_man_medium_dark_skin_tone"],"surrogates":"🧏🏾‍♂️","unicodeVersion":12,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["deaf_man_tone5","deaf_man_dark_skin_tone"],"surrogates":"🧏🏿‍♂️","unicodeVersion":12,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_facepalming","face_palm","facepalm"],"surrogates":"🤦","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["person_facepalming_tone1","face_palm_tone1","facepalm_tone1"],"surrogates":"🤦🏻","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_facepalming_tone2","face_palm_tone2","facepalm_tone2"],"surrogates":"🤦🏼","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_facepalming_tone3","face_palm_tone3","facepalm_tone3"],"surrogates":"🤦🏽","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_facepalming_tone4","face_palm_tone4","facepalm_tone4"],"surrogates":"🤦🏾","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_facepalming_tone5","face_palm_tone5","facepalm_tone5"],"surrogates":"🤦🏿","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_facepalming"],"surrogates":"🤦‍♀️","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["woman_facepalming_tone1","woman_facepalming_light_skin_tone"],"surrogates":"🤦🏻‍♀️","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_facepalming_tone2","woman_facepalming_medium_light_skin_tone"],"surrogates":"🤦🏼‍♀️","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_facepalming_tone3","woman_facepalming_medium_skin_tone"],"surrogates":"🤦🏽‍♀️","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_facepalming_tone4","woman_facepalming_medium_dark_skin_tone"],"surrogates":"🤦🏾‍♀️","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_facepalming_tone5","woman_facepalming_dark_skin_tone"],"surrogates":"🤦🏿‍♀️","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_facepalming"],"surrogates":"🤦‍♂️","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["man_facepalming_tone1","man_facepalming_light_skin_tone"],"surrogates":"🤦🏻‍♂️","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_facepalming_tone2","man_facepalming_medium_light_skin_tone"],"surrogates":"🤦🏼‍♂️","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_facepalming_tone3","man_facepalming_medium_skin_tone"],"surrogates":"🤦🏽‍♂️","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_facepalming_tone4","man_facepalming_medium_dark_skin_tone"],"surrogates":"🤦🏾‍♂️","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_facepalming_tone5","man_facepalming_dark_skin_tone"],"surrogates":"🤦🏿‍♂️","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_shrugging","shrug"],"surrogates":"🤷","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["person_shrugging_tone1","shrug_tone1"],"surrogates":"🤷🏻","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_shrugging_tone2","shrug_tone2"],"surrogates":"🤷🏼","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_shrugging_tone3","shrug_tone3"],"surrogates":"🤷🏽","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_shrugging_tone4","shrug_tone4"],"surrogates":"🤷🏾","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_shrugging_tone5","shrug_tone5"],"surrogates":"🤷🏿","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_shrugging"],"surrogates":"🤷‍♀️","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["woman_shrugging_tone1","woman_shrugging_light_skin_tone"],"surrogates":"🤷🏻‍♀️","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_shrugging_tone2","woman_shrugging_medium_light_skin_tone"],"surrogates":"🤷🏼‍♀️","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_shrugging_tone3","woman_shrugging_medium_skin_tone"],"surrogates":"🤷🏽‍♀️","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_shrugging_tone4","woman_shrugging_medium_dark_skin_tone"],"surrogates":"🤷🏾‍♀️","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_shrugging_tone5","woman_shrugging_dark_skin_tone"],"surrogates":"🤷🏿‍♀️","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_shrugging"],"surrogates":"🤷‍♂️","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["man_shrugging_tone1","man_shrugging_light_skin_tone"],"surrogates":"🤷🏻‍♂️","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_shrugging_tone2","man_shrugging_medium_light_skin_tone"],"surrogates":"🤷🏼‍♂️","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_shrugging_tone3","man_shrugging_medium_skin_tone"],"surrogates":"🤷🏽‍♂️","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_shrugging_tone4","man_shrugging_medium_dark_skin_tone"],"surrogates":"🤷🏾‍♂️","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_shrugging_tone5","man_shrugging_dark_skin_tone"],"surrogates":"🤷🏿‍♂️","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_pouting","person_with_pouting_face"],"surrogates":"🙎","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["person_pouting_tone1","person_with_pouting_face_tone1"],"surrogates":"🙎🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_pouting_tone2","person_with_pouting_face_tone2"],"surrogates":"🙎🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_pouting_tone3","person_with_pouting_face_tone3"],"surrogates":"🙎🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_pouting_tone4","person_with_pouting_face_tone4"],"surrogates":"🙎🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_pouting_tone5","person_with_pouting_face_tone5"],"surrogates":"🙎🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_pouting"],"surrogates":"🙎‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_pouting_tone1","woman_pouting_light_skin_tone"],"surrogates":"🙎🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_pouting_tone2","woman_pouting_medium_light_skin_tone"],"surrogates":"🙎🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_pouting_tone3","woman_pouting_medium_skin_tone"],"surrogates":"🙎🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_pouting_tone4","woman_pouting_medium_dark_skin_tone"],"surrogates":"🙎🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_pouting_tone5","woman_pouting_dark_skin_tone"],"surrogates":"🙎🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_pouting"],"surrogates":"🙎‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_pouting_tone1","man_pouting_light_skin_tone"],"surrogates":"🙎🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_pouting_tone2","man_pouting_medium_light_skin_tone"],"surrogates":"🙎🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_pouting_tone3","man_pouting_medium_skin_tone"],"surrogates":"🙎🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_pouting_tone4","man_pouting_medium_dark_skin_tone"],"surrogates":"🙎🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_pouting_tone5","man_pouting_dark_skin_tone"],"surrogates":"🙎🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_frowning"],"surrogates":"🙍","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["person_frowning_tone1"],"surrogates":"🙍🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_frowning_tone2"],"surrogates":"🙍🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_frowning_tone3"],"surrogates":"🙍🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_frowning_tone4"],"surrogates":"🙍🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_frowning_tone5"],"surrogates":"🙍🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_frowning"],"surrogates":"🙍‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_frowning_tone1","woman_frowning_light_skin_tone"],"surrogates":"🙍🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_frowning_tone2","woman_frowning_medium_light_skin_tone"],"surrogates":"🙍🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_frowning_tone3","woman_frowning_medium_skin_tone"],"surrogates":"🙍🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_frowning_tone4","woman_frowning_medium_dark_skin_tone"],"surrogates":"🙍🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_frowning_tone5","woman_frowning_dark_skin_tone"],"surrogates":"🙍🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_frowning"],"surrogates":"🙍‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_frowning_tone1","man_frowning_light_skin_tone"],"surrogates":"🙍🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_frowning_tone2","man_frowning_medium_light_skin_tone"],"surrogates":"🙍🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_frowning_tone3","man_frowning_medium_skin_tone"],"surrogates":"🙍🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_frowning_tone4","man_frowning_medium_dark_skin_tone"],"surrogates":"🙍🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_frowning_tone5","man_frowning_dark_skin_tone"],"surrogates":"🙍🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_getting_haircut","haircut"],"surrogates":"💇","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["person_getting_haircut_tone1","haircut_tone1"],"surrogates":"💇🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_getting_haircut_tone2","haircut_tone2"],"surrogates":"💇🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_getting_haircut_tone3","haircut_tone3"],"surrogates":"💇🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_getting_haircut_tone4","haircut_tone4"],"surrogates":"💇🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_getting_haircut_tone5","haircut_tone5"],"surrogates":"💇🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_getting_haircut"],"surrogates":"💇‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_getting_haircut_tone1","woman_getting_haircut_light_skin_tone"],"surrogates":"💇🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_getting_haircut_tone2","woman_getting_haircut_medium_light_skin_tone"],"surrogates":"💇🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_getting_haircut_tone3","woman_getting_haircut_medium_skin_tone"],"surrogates":"💇🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_getting_haircut_tone4","woman_getting_haircut_medium_dark_skin_tone"],"surrogates":"💇🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_getting_haircut_tone5","woman_getting_haircut_dark_skin_tone"],"surrogates":"💇🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_getting_haircut"],"surrogates":"💇‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_getting_haircut_tone1","man_getting_haircut_light_skin_tone"],"surrogates":"💇🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_getting_haircut_tone2","man_getting_haircut_medium_light_skin_tone"],"surrogates":"💇🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_getting_haircut_tone3","man_getting_haircut_medium_skin_tone"],"surrogates":"💇🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_getting_haircut_tone4","man_getting_haircut_medium_dark_skin_tone"],"surrogates":"💇🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_getting_haircut_tone5","man_getting_haircut_dark_skin_tone"],"surrogates":"💇🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_getting_massage","massage"],"surrogates":"💆","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["person_getting_massage_tone1","massage_tone1"],"surrogates":"💆🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_getting_massage_tone2","massage_tone2"],"surrogates":"💆🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_getting_massage_tone3","massage_tone3"],"surrogates":"💆🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_getting_massage_tone4","massage_tone4"],"surrogates":"💆🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_getting_massage_tone5","massage_tone5"],"surrogates":"💆🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_getting_face_massage"],"surrogates":"💆‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_getting_face_massage_tone1","woman_getting_face_massage_light_skin_tone"],"surrogates":"💆🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_getting_face_massage_tone2","woman_getting_face_massage_medium_light_skin_tone"],"surrogates":"💆🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_getting_face_massage_tone3","woman_getting_face_massage_medium_skin_tone"],"surrogates":"💆🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_getting_face_massage_tone4","woman_getting_face_massage_medium_dark_skin_tone"],"surrogates":"💆🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_getting_face_massage_tone5","woman_getting_face_massage_dark_skin_tone"],"surrogates":"💆🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_getting_face_massage"],"surrogates":"💆‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_getting_face_massage_tone1","man_getting_face_massage_light_skin_tone"],"surrogates":"💆🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_getting_face_massage_tone2","man_getting_face_massage_medium_light_skin_tone"],"surrogates":"💆🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_getting_face_massage_tone3","man_getting_face_massage_medium_skin_tone"],"surrogates":"💆🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_getting_face_massage_tone4","man_getting_face_massage_medium_dark_skin_tone"],"surrogates":"💆🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_getting_face_massage_tone5","man_getting_face_massage_dark_skin_tone"],"surrogates":"💆🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_in_steamy_room"],"surrogates":"🧖","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["person_in_steamy_room_tone1","person_in_steamy_room_light_skin_tone"],"surrogates":"🧖🏻","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_in_steamy_room_tone2","person_in_steamy_room_medium_light_skin_tone"],"surrogates":"🧖🏼","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_in_steamy_room_tone3","person_in_steamy_room_medium_skin_tone"],"surrogates":"🧖🏽","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_in_steamy_room_tone4","person_in_steamy_room_medium_dark_skin_tone"],"surrogates":"🧖🏾","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_in_steamy_room_tone5","person_in_steamy_room_dark_skin_tone"],"surrogates":"🧖🏿","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_in_steamy_room"],"surrogates":"🧖‍♀️","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["woman_in_steamy_room_tone1","woman_in_steamy_room_light_skin_tone"],"surrogates":"🧖🏻‍♀️","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_in_steamy_room_tone2","woman_in_steamy_room_medium_light_skin_tone"],"surrogates":"🧖🏼‍♀️","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_in_steamy_room_tone3","woman_in_steamy_room_medium_skin_tone"],"surrogates":"🧖🏽‍♀️","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_in_steamy_room_tone4","woman_in_steamy_room_medium_dark_skin_tone"],"surrogates":"🧖🏾‍♀️","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_in_steamy_room_tone5","woman_in_steamy_room_dark_skin_tone"],"surrogates":"🧖🏿‍♀️","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_in_steamy_room"],"surrogates":"🧖‍♂️","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["man_in_steamy_room_tone1","man_in_steamy_room_light_skin_tone"],"surrogates":"🧖🏻‍♂️","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_in_steamy_room_tone2","man_in_steamy_room_medium_light_skin_tone"],"surrogates":"🧖🏼‍♂️","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_in_steamy_room_tone3","man_in_steamy_room_medium_skin_tone"],"surrogates":"🧖🏽‍♂️","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_in_steamy_room_tone4","man_in_steamy_room_medium_dark_skin_tone"],"surrogates":"🧖🏾‍♂️","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_in_steamy_room_tone5","man_in_steamy_room_dark_skin_tone"],"surrogates":"🧖🏿‍♂️","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["nail_care"],"surrogates":"💅","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["nail_care_tone1"],"surrogates":"💅🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["nail_care_tone2"],"surrogates":"💅🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["nail_care_tone3"],"surrogates":"💅🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["nail_care_tone4"],"surrogates":"💅🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["nail_care_tone5"],"surrogates":"💅🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["selfie"],"surrogates":"🤳","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["selfie_tone1"],"surrogates":"🤳🏻","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["selfie_tone2"],"surrogates":"🤳🏼","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["selfie_tone3"],"surrogates":"🤳🏽","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["selfie_tone4"],"surrogates":"🤳🏾","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["selfie_tone5"],"surrogates":"🤳🏿","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["dancer"],"surrogates":"💃","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["dancer_tone1"],"surrogates":"💃🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["dancer_tone2"],"surrogates":"💃🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["dancer_tone3"],"surrogates":"💃🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["dancer_tone4"],"surrogates":"💃🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["dancer_tone5"],"surrogates":"💃🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_dancing","male_dancer"],"surrogates":"🕺","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["man_dancing_tone1","male_dancer_tone1"],"surrogates":"🕺🏻","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_dancing_tone2","male_dancer_tone2"],"surrogates":"🕺🏼","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_dancing_tone3","male_dancer_tone3"],"surrogates":"🕺🏽","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_dancing_tone5","male_dancer_tone5"],"surrogates":"🕺🏿","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true},{"names":["man_dancing_tone4","male_dancer_tone4"],"surrogates":"🕺🏾","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true}]},{"names":["people_with_bunny_ears_partying","dancers"],"surrogates":"👯","unicodeVersion":6},{"names":["women_with_bunny_ears_partying"],"surrogates":"👯‍♀️","unicodeVersion":6},{"names":["men_with_bunny_ears_partying"],"surrogates":"👯‍♂️","unicodeVersion":6},{"names":["levitate","man_in_business_suit_levitating"],"surrogates":"🕴️","unicodeVersion":7,"hasDiversity":true,"diversityChildren":[{"names":["levitate_tone1","man_in_business_suit_levitating_tone1","man_in_business_suit_levitating_light_skin_tone"],"surrogates":"🕴🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["levitate_tone2","man_in_business_suit_levitating_tone2","man_in_business_suit_levitating_medium_light_skin_tone"],"surrogates":"🕴🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["levitate_tone3","man_in_business_suit_levitating_tone3","man_in_business_suit_levitating_medium_skin_tone"],"surrogates":"🕴🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["levitate_tone4","man_in_business_suit_levitating_tone4","man_in_business_suit_levitating_medium_dark_skin_tone"],"surrogates":"🕴🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["levitate_tone5","man_in_business_suit_levitating_tone5","man_in_business_suit_levitating_dark_skin_tone"],"surrogates":"🕴🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_in_manual_wheelchair"],"surrogates":"🧑‍🦽","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["person_in_manual_wheelchair_tone1","person_in_manual_wheelchair_light_skin_tone"],"surrogates":"🧑🏻‍🦽","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_in_manual_wheelchair_tone2","person_in_manual_wheelchair_medium_light_skin_tone"],"surrogates":"🧑🏼‍🦽","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_in_manual_wheelchair_tone3","person_in_manual_wheelchair_medium_skin_tone"],"surrogates":"🧑🏽‍🦽","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_in_manual_wheelchair_tone4","person_in_manual_wheelchair_medium_dark_skin_tone"],"surrogates":"🧑🏾‍🦽","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_in_manual_wheelchair_tone5","person_in_manual_wheelchair_dark_skin_tone"],"surrogates":"🧑🏿‍🦽","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_in_manual_wheelchair"],"surrogates":"👩‍🦽","unicodeVersion":12,"hasDiversity":true,"diversityChildren":[{"names":["woman_in_manual_wheelchair_tone1","woman_in_manual_wheelchair_light_skin_tone"],"surrogates":"👩🏻‍🦽","unicodeVersion":12,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_in_manual_wheelchair_tone2","woman_in_manual_wheelchair_medium_light_skin_tone"],"surrogates":"👩🏼‍🦽","unicodeVersion":12,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_in_manual_wheelchair_tone3","woman_in_manual_wheelchair_medium_skin_tone"],"surrogates":"👩🏽‍🦽","unicodeVersion":12,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_in_manual_wheelchair_tone4","woman_in_manual_wheelchair_medium_dark_skin_tone"],"surrogates":"👩🏾‍🦽","unicodeVersion":12,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_in_manual_wheelchair_tone5","woman_in_manual_wheelchair_dark_skin_tone"],"surrogates":"👩🏿‍🦽","unicodeVersion":12,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_in_manual_wheelchair"],"surrogates":"👨‍🦽","unicodeVersion":12,"hasDiversity":true,"diversityChildren":[{"names":["man_in_manual_wheelchair_tone1","man_in_manual_wheelchair_light_skin_tone"],"surrogates":"👨🏻‍🦽","unicodeVersion":12,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_in_manual_wheelchair_tone2","man_in_manual_wheelchair_medium_light_skin_tone"],"surrogates":"👨🏼‍🦽","unicodeVersion":12,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_in_manual_wheelchair_tone3","man_in_manual_wheelchair_medium_skin_tone"],"surrogates":"👨🏽‍🦽","unicodeVersion":12,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_in_manual_wheelchair_tone4","man_in_manual_wheelchair_medium_dark_skin_tone"],"surrogates":"👨🏾‍🦽","unicodeVersion":12,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_in_manual_wheelchair_tone5","man_in_manual_wheelchair_dark_skin_tone"],"surrogates":"👨🏿‍🦽","unicodeVersion":12,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_in_motorized_wheelchair"],"surrogates":"🧑‍🦼","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["person_in_motorized_wheelchair_tone1","person_in_motorized_wheelchair_light_skin_tone"],"surrogates":"🧑🏻‍🦼","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_in_motorized_wheelchair_tone2","person_in_motorized_wheelchair_medium_light_skin_tone"],"surrogates":"🧑🏼‍🦼","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_in_motorized_wheelchair_tone3","person_in_motorized_wheelchair_medium_skin_tone"],"surrogates":"🧑🏽‍🦼","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_in_motorized_wheelchair_tone4","person_in_motorized_wheelchair_medium_dark_skin_tone"],"surrogates":"🧑🏾‍🦼","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_in_motorized_wheelchair_tone5","person_in_motorized_wheelchair_dark_skin_tone"],"surrogates":"🧑🏿‍🦼","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_in_motorized_wheelchair"],"surrogates":"👩‍🦼","unicodeVersion":12,"hasDiversity":true,"diversityChildren":[{"names":["woman_in_motorized_wheelchair_tone1","woman_in_motorized_wheelchair_light_skin_tone"],"surrogates":"👩🏻‍🦼","unicodeVersion":12,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_in_motorized_wheelchair_tone2","woman_in_motorized_wheelchair_medium_light_skin_tone"],"surrogates":"👩🏼‍🦼","unicodeVersion":12,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_in_motorized_wheelchair_tone3","woman_in_motorized_wheelchair_medium_skin_tone"],"surrogates":"👩🏽‍🦼","unicodeVersion":12,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_in_motorized_wheelchair_tone4","woman_in_motorized_wheelchair_medium_dark_skin_tone"],"surrogates":"👩🏾‍🦼","unicodeVersion":12,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_in_motorized_wheelchair_tone5","woman_in_motorized_wheelchair_dark_skin_tone"],"surrogates":"👩🏿‍🦼","unicodeVersion":12,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_in_motorized_wheelchair"],"surrogates":"👨‍🦼","unicodeVersion":12,"hasDiversity":true,"diversityChildren":[{"names":["man_in_motorized_wheelchair_tone1","man_in_motorized_wheelchair_light_skin_tone"],"surrogates":"👨🏻‍🦼","unicodeVersion":12,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_in_motorized_wheelchair_tone2","man_in_motorized_wheelchair_medium_light_skin_tone"],"surrogates":"👨🏼‍🦼","unicodeVersion":12,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_in_motorized_wheelchair_tone3","man_in_motorized_wheelchair_medium_skin_tone"],"surrogates":"👨🏽‍🦼","unicodeVersion":12,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_in_motorized_wheelchair_tone4","man_in_motorized_wheelchair_medium_dark_skin_tone"],"surrogates":"👨🏾‍🦼","unicodeVersion":12,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_in_motorized_wheelchair_tone5","man_in_motorized_wheelchair_dark_skin_tone"],"surrogates":"👨🏿‍🦼","unicodeVersion":12,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_walking","walking"],"surrogates":"🚶","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["person_walking_tone1","walking_tone1"],"surrogates":"🚶🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_walking_tone2","walking_tone2"],"surrogates":"🚶🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_walking_tone3","walking_tone3"],"surrogates":"🚶🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_walking_tone4","walking_tone4"],"surrogates":"🚶🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_walking_tone5","walking_tone5"],"surrogates":"🚶🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_walking"],"surrogates":"🚶‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_walking_tone1","woman_walking_light_skin_tone"],"surrogates":"🚶🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_walking_tone2","woman_walking_medium_light_skin_tone"],"surrogates":"🚶🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_walking_tone3","woman_walking_medium_skin_tone"],"surrogates":"🚶🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_walking_tone4","woman_walking_medium_dark_skin_tone"],"surrogates":"🚶🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_walking_tone5","woman_walking_dark_skin_tone"],"surrogates":"🚶🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_walking"],"surrogates":"🚶‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_walking_tone1","man_walking_light_skin_tone"],"surrogates":"🚶🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_walking_tone2","man_walking_medium_light_skin_tone"],"surrogates":"🚶🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_walking_tone3","man_walking_medium_skin_tone"],"surrogates":"🚶🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_walking_tone4","man_walking_medium_dark_skin_tone"],"surrogates":"🚶🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_walking_tone5","man_walking_dark_skin_tone"],"surrogates":"🚶🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_with_probing_cane"],"surrogates":"🧑‍🦯","unicodeVersion":12.1,"hasDiversity":true,"diversityChildren":[{"names":["person_with_probing_cane_tone1","person_with_probing_cane_light_skin_tone"],"surrogates":"🧑🏻‍🦯","unicodeVersion":12.1,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_with_probing_cane_tone2","person_with_probing_cane_medium_light_skin_tone"],"surrogates":"🧑🏼‍🦯","unicodeVersion":12.1,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_with_probing_cane_tone3","person_with_probing_cane_medium_skin_tone"],"surrogates":"🧑🏽‍🦯","unicodeVersion":12.1,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_with_probing_cane_tone4","person_with_probing_cane_medium_dark_skin_tone"],"surrogates":"🧑🏾‍🦯","unicodeVersion":12.1,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_with_probing_cane_tone5","person_with_probing_cane_dark_skin_tone"],"surrogates":"🧑🏿‍🦯","unicodeVersion":12.1,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_with_probing_cane"],"surrogates":"👩‍🦯","unicodeVersion":12,"hasDiversity":true,"diversityChildren":[{"names":["woman_with_probing_cane_tone1","woman_with_probing_cane_light_skin_tone"],"surrogates":"👩🏻‍🦯","unicodeVersion":12,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_with_probing_cane_tone2","woman_with_probing_cane_medium_light_skin_tone"],"surrogates":"👩🏼‍🦯","unicodeVersion":12,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_with_probing_cane_tone3","woman_with_probing_cane_medium_skin_tone"],"surrogates":"👩🏽‍🦯","unicodeVersion":12,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_with_probing_cane_tone4","woman_with_probing_cane_medium_dark_skin_tone"],"surrogates":"👩🏾‍🦯","unicodeVersion":12,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_with_probing_cane_tone5","woman_with_probing_cane_dark_skin_tone"],"surrogates":"👩🏿‍🦯","unicodeVersion":12,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_with_probing_cane"],"surrogates":"👨‍🦯","unicodeVersion":12,"hasDiversity":true,"diversityChildren":[{"names":["man_with_probing_cane_tone1","man_with_probing_cane_light_skin_tone"],"surrogates":"👨🏻‍🦯","unicodeVersion":12,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_with_probing_cane_tone3","man_with_probing_cane_medium_skin_tone"],"surrogates":"👨🏽‍🦯","unicodeVersion":12,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_with_probing_cane_tone2","man_with_probing_cane_medium_light_skin_tone"],"surrogates":"👨🏼‍🦯","unicodeVersion":12,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_with_probing_cane_tone4","man_with_probing_cane_medium_dark_skin_tone"],"surrogates":"👨🏾‍🦯","unicodeVersion":12,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_with_probing_cane_tone5","man_with_probing_cane_dark_skin_tone"],"surrogates":"👨🏿‍🦯","unicodeVersion":12,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_kneeling"],"surrogates":"🧎","unicodeVersion":12,"hasDiversity":true,"diversityChildren":[{"names":["person_kneeling_tone1","person_kneeling_light_skin_tone"],"surrogates":"🧎🏻","unicodeVersion":12,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_kneeling_tone2","person_kneeling_medium_light_skin_tone"],"surrogates":"🧎🏼","unicodeVersion":12,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_kneeling_tone3","person_kneeling_medium_skin_tone"],"surrogates":"🧎🏽","unicodeVersion":12,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_kneeling_tone4","person_kneeling_medium_dark_skin_tone"],"surrogates":"🧎🏾","unicodeVersion":12,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_kneeling_tone5","person_kneeling_dark_skin_tone"],"surrogates":"🧎🏿","unicodeVersion":12,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_kneeling"],"surrogates":"🧎‍♀️","unicodeVersion":12,"hasDiversity":true,"diversityChildren":[{"names":["woman_kneeling_tone1","woman_kneeling_light_skin_tone"],"surrogates":"🧎🏻‍♀️","unicodeVersion":12,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_kneeling_tone2","woman_kneeling_medium_light_skin_tone"],"surrogates":"🧎🏼‍♀️","unicodeVersion":12,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_kneeling_tone3","woman_kneeling_medium_skin_tone"],"surrogates":"🧎🏽‍♀️","unicodeVersion":12,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_kneeling_tone4","woman_kneeling_medium_dark_skin_tone"],"surrogates":"🧎🏾‍♀️","unicodeVersion":12,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_kneeling_tone5","woman_kneeling_dark_skin_tone"],"surrogates":"🧎🏿‍♀️","unicodeVersion":12,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_kneeling"],"surrogates":"🧎‍♂️","unicodeVersion":12,"hasDiversity":true,"diversityChildren":[{"names":["man_kneeling_tone1","man_kneeling_light_skin_tone"],"surrogates":"🧎🏻‍♂️","unicodeVersion":12,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_kneeling_tone2","man_kneeling_medium_light_skin_tone"],"surrogates":"🧎🏼‍♂️","unicodeVersion":12,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_kneeling_tone3","man_kneeling_medium_skin_tone"],"surrogates":"🧎🏽‍♂️","unicodeVersion":12,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_kneeling_tone4","man_kneeling_medium_dark_skin_tone"],"surrogates":"🧎🏾‍♂️","unicodeVersion":12,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_kneeling_tone5","man_kneeling_dark_skin_tone"],"surrogates":"🧎🏿‍♂️","unicodeVersion":12,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_running","runner"],"surrogates":"🏃","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["person_running_tone1","runner_tone1"],"surrogates":"🏃🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_running_tone2","runner_tone2"],"surrogates":"🏃🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_running_tone3","runner_tone3"],"surrogates":"🏃🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_running_tone4","runner_tone4"],"surrogates":"🏃🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_running_tone5","runner_tone5"],"surrogates":"🏃🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_running"],"surrogates":"🏃‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_running_tone1","woman_running_light_skin_tone"],"surrogates":"🏃🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_running_tone2","woman_running_medium_light_skin_tone"],"surrogates":"🏃🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_running_tone3","woman_running_medium_skin_tone"],"surrogates":"🏃🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_running_tone4","woman_running_medium_dark_skin_tone"],"surrogates":"🏃🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_running_tone5","woman_running_dark_skin_tone"],"surrogates":"🏃🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_running"],"surrogates":"🏃‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_running_tone1","man_running_light_skin_tone"],"surrogates":"🏃🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_running_tone2","man_running_medium_light_skin_tone"],"surrogates":"🏃🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_running_tone3","man_running_medium_skin_tone"],"surrogates":"🏃🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_running_tone4","man_running_medium_dark_skin_tone"],"surrogates":"🏃🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_running_tone5","man_running_dark_skin_tone"],"surrogates":"🏃🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_standing"],"surrogates":"🧍","unicodeVersion":12,"hasDiversity":true,"diversityChildren":[{"names":["person_standing_tone1","person_standing_light_skin_tone"],"surrogates":"🧍🏻","unicodeVersion":12,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_standing_tone2","person_standing_medium_light_skin_tone"],"surrogates":"🧍🏼","unicodeVersion":12,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_standing_tone3","person_standing_medium_skin_tone"],"surrogates":"🧍🏽","unicodeVersion":12,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_standing_tone4","person_standing_medium_dark_skin_tone"],"surrogates":"🧍🏾","unicodeVersion":12,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_standing_tone5","person_standing_dark_skin_tone"],"surrogates":"🧍🏿","unicodeVersion":12,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_standing"],"surrogates":"🧍‍♀️","unicodeVersion":12,"hasDiversity":true,"diversityChildren":[{"names":["woman_standing_tone1","woman_standing_light_skin_tone"],"surrogates":"🧍🏻‍♀️","unicodeVersion":12,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_standing_tone2","woman_standing_medium_light_skin_tone"],"surrogates":"🧍🏼‍♀️","unicodeVersion":12,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_standing_tone3","woman_standing_medium_skin_tone"],"surrogates":"🧍🏽‍♀️","unicodeVersion":12,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_standing_tone4","woman_standing_medium_dark_skin_tone"],"surrogates":"🧍🏾‍♀️","unicodeVersion":12,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_standing_tone5","woman_standing_dark_skin_tone"],"surrogates":"🧍🏿‍♀️","unicodeVersion":12,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_standing"],"surrogates":"🧍‍♂️","unicodeVersion":12,"hasDiversity":true,"diversityChildren":[{"names":["man_standing_tone1","man_standing_light_skin_tone"],"surrogates":"🧍🏻‍♂️","unicodeVersion":12,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_standing_tone2","man_standing_medium_light_skin_tone"],"surrogates":"🧍🏼‍♂️","unicodeVersion":12,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_standing_tone3","man_standing_medium_skin_tone"],"surrogates":"🧍🏽‍♂️","unicodeVersion":12,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_standing_tone4","man_standing_medium_dark_skin_tone"],"surrogates":"🧍🏾‍♂️","unicodeVersion":12,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_standing_tone5","man_standing_dark_skin_tone"],"surrogates":"🧍🏿‍♂️","unicodeVersion":12,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["people_holding_hands"],"surrogates":"🧑‍🤝‍🧑","unicodeVersion":12,"diversityChildren":[{"names":["people_holding_hands_tone1","people_holding_hands_light_skin_tone"],"surrogates":"🧑🏻‍🤝‍🧑🏻","unicodeVersion":12,"diversity":["1f3fb"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone1_tone2","people_holding_hands_light_skin_tone_medium_light_skin_tone"],"surrogates":"🧑🏻‍🤝‍🧑🏼","unicodeVersion":12.1,"diversity":["1f3fb","1f3fc"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone1_tone3","people_holding_hands_light_skin_tone_medium_skin_tone"],"surrogates":"🧑🏻‍🤝‍🧑🏽","unicodeVersion":12.1,"diversity":["1f3fb","1f3fd"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone1_tone4","people_holding_hands_light_skin_tone_medium_dark_skin_tone"],"surrogates":"🧑🏻‍🤝‍🧑🏾","unicodeVersion":12.1,"diversity":["1f3fb","1f3fe"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone1_tone5","people_holding_hands_light_skin_tone_dark_skin_tone"],"surrogates":"🧑🏻‍🤝‍🧑🏿","unicodeVersion":12.1,"diversity":["1f3fb","1f3ff"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone2_tone1","people_holding_hands_medium_light_skin_tone_light_skin_tone"],"surrogates":"🧑🏼‍🤝‍🧑🏻","unicodeVersion":12,"diversity":["1f3fc","1f3fb"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone2","people_holding_hands_medium_light_skin_tone"],"surrogates":"🧑🏼‍🤝‍🧑🏼","unicodeVersion":12,"diversity":["1f3fc"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone2_tone3","people_holding_hands_medium_light_skin_tone_medium_skin_tone"],"surrogates":"🧑🏼‍🤝‍🧑🏽","unicodeVersion":12.1,"diversity":["1f3fc","1f3fd"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone2_tone4","people_holding_hands_medium_light_skin_tone_medium_dark_skin_tone"],"surrogates":"🧑🏼‍🤝‍🧑🏾","unicodeVersion":12.1,"diversity":["1f3fc","1f3fe"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone2_tone5","people_holding_hands_medium_light_skin_tone_dark_skin_tone"],"surrogates":"🧑🏼‍🤝‍🧑🏿","unicodeVersion":12.1,"diversity":["1f3fc","1f3ff"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone3_tone1","people_holding_hands_medium_skin_tone_light_skin_tone"],"surrogates":"🧑🏽‍🤝‍🧑🏻","unicodeVersion":12,"diversity":["1f3fd","1f3fb"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone3_tone2","people_holding_hands_medium_skin_tone_medium_light_skin_tone"],"surrogates":"🧑🏽‍🤝‍🧑🏼","unicodeVersion":12,"diversity":["1f3fd","1f3fc"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone3","people_holding_hands_medium_skin_tone"],"surrogates":"🧑🏽‍🤝‍🧑🏽","unicodeVersion":12,"diversity":["1f3fd"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone3_tone4","people_holding_hands_medium_skin_tone_medium_dark_skin_tone"],"surrogates":"🧑🏽‍🤝‍🧑🏾","unicodeVersion":12.1,"diversity":["1f3fd","1f3fe"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone3_tone5","people_holding_hands_medium_skin_tone_dark_skin_tone"],"surrogates":"🧑🏽‍🤝‍🧑🏿","unicodeVersion":12.1,"diversity":["1f3fd","1f3ff"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone4_tone1","people_holding_hands_medium_dark_skin_tone_light_skin_tone"],"surrogates":"🧑🏾‍🤝‍🧑🏻","unicodeVersion":12,"diversity":["1f3fe","1f3fb"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone4_tone2","people_holding_hands_medium_dark_skin_tone_medium_light_skin_tone"],"surrogates":"🧑🏾‍🤝‍🧑🏼","unicodeVersion":12,"diversity":["1f3fe","1f3fc"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone4_tone3","people_holding_hands_medium_dark_skin_tone_medium_skin_tone"],"surrogates":"🧑🏾‍🤝‍🧑🏽","unicodeVersion":12,"diversity":["1f3fe","1f3fd"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone4","people_holding_hands_medium_dark_skin_tone"],"surrogates":"🧑🏾‍🤝‍🧑🏾","unicodeVersion":12,"diversity":["1f3fe"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone4_tone5","people_holding_hands_medium_dark_skin_tone_dark_skin_tone"],"surrogates":"🧑🏾‍🤝‍🧑🏿","unicodeVersion":12.1,"diversity":["1f3fe","1f3ff"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone5_tone1","people_holding_hands_dark_skin_tone_light_skin_tone"],"surrogates":"🧑🏿‍🤝‍🧑🏻","unicodeVersion":12,"diversity":["1f3ff","1f3fb"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone5_tone2","people_holding_hands_dark_skin_tone_medium_light_skin_tone"],"surrogates":"🧑🏿‍🤝‍🧑🏼","unicodeVersion":12,"diversity":["1f3ff","1f3fc"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone5_tone3","people_holding_hands_dark_skin_tone_medium_skin_tone"],"surrogates":"🧑🏿‍🤝‍🧑🏽","unicodeVersion":12,"diversity":["1f3ff","1f3fd"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone5_tone4","people_holding_hands_dark_skin_tone_medium_dark_skin_tone"],"surrogates":"🧑🏿‍🤝‍🧑🏾","unicodeVersion":12,"diversity":["1f3ff","1f3fe"],"hasMultiDiversityParent":true},{"names":["people_holding_hands_tone5","people_holding_hands_dark_skin_tone"],"surrogates":"🧑🏿‍🤝‍🧑🏿","unicodeVersion":12,"diversity":["1f3ff"],"hasMultiDiversityParent":true}],"hasMultiDiversity":true},{"names":["couple"],"surrogates":"👫","unicodeVersion":6,"diversityChildren":[{"names":["woman_and_man_holding_hands_tone1","woman_and_man_holding_hands_light_skin_tone"],"surrogates":"👫🏻","unicodeVersion":12,"diversity":["1f3fb"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone1_tone2","woman_and_man_holding_hands_light_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏻‍🤝‍👨🏼","unicodeVersion":12,"diversity":["1f3fb","1f3fc"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone1_tone3","woman_and_man_holding_hands_light_skin_tone_medium_skin_tone"],"surrogates":"👩🏻‍🤝‍👨🏽","unicodeVersion":12,"diversity":["1f3fb","1f3fd"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone1_tone4","woman_and_man_holding_hands_light_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏻‍🤝‍👨🏾","unicodeVersion":12,"diversity":["1f3fb","1f3fe"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone1_tone5","woman_and_man_holding_hands_light_skin_tone_dark_skin_tone"],"surrogates":"👩🏻‍🤝‍👨🏿","unicodeVersion":12,"diversity":["1f3fb","1f3ff"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone2_tone1","woman_and_man_holding_hands_medium_light_skin_tone_light_skin_tone"],"surrogates":"👩🏼‍🤝‍👨🏻","unicodeVersion":12,"diversity":["1f3fc","1f3fb"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone2","woman_and_man_holding_hands_medium_light_skin_tone"],"surrogates":"👫🏼","unicodeVersion":12,"diversity":["1f3fc"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone2_tone3","woman_and_man_holding_hands_medium_light_skin_tone_medium_skin_tone"],"surrogates":"👩🏼‍🤝‍👨🏽","unicodeVersion":12,"diversity":["1f3fc","1f3fd"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone2_tone4","woman_and_man_holding_hands_medium_light_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏼‍🤝‍👨🏾","unicodeVersion":12,"diversity":["1f3fc","1f3fe"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone2_tone5","woman_and_man_holding_hands_medium_light_skin_tone_dark_skin_tone"],"surrogates":"👩🏼‍🤝‍👨🏿","unicodeVersion":12,"diversity":["1f3fc","1f3ff"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone3_tone1","woman_and_man_holding_hands_medium_skin_tone_light_skin_tone"],"surrogates":"👩🏽‍🤝‍👨🏻","unicodeVersion":12,"diversity":["1f3fd","1f3fb"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone3_tone2","woman_and_man_holding_hands_medium_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏽‍🤝‍👨🏼","unicodeVersion":12,"diversity":["1f3fd","1f3fc"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone3","woman_and_man_holding_hands_medium_skin_tone"],"surrogates":"👫🏽","unicodeVersion":12,"diversity":["1f3fd"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone3_tone4","woman_and_man_holding_hands_medium_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏽‍🤝‍👨🏾","unicodeVersion":12,"diversity":["1f3fd","1f3fe"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone3_tone5","woman_and_man_holding_hands_medium_skin_tone_dark_skin_tone"],"surrogates":"👩🏽‍🤝‍👨🏿","unicodeVersion":12,"diversity":["1f3fd","1f3ff"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone4_tone1","woman_and_man_holding_hands_medium_dark_skin_tone_light_skin_tone"],"surrogates":"👩🏾‍🤝‍👨🏻","unicodeVersion":12,"diversity":["1f3fe","1f3fb"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone4_tone2","woman_and_man_holding_hands_medium_dark_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏾‍🤝‍👨🏼","unicodeVersion":12,"diversity":["1f3fe","1f3fc"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone4_tone3","woman_and_man_holding_hands_medium_dark_skin_tone_medium_skin_tone"],"surrogates":"👩🏾‍🤝‍👨🏽","unicodeVersion":12,"diversity":["1f3fe","1f3fd"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone4","woman_and_man_holding_hands_medium_dark_skin_tone"],"surrogates":"👫🏾","unicodeVersion":12,"diversity":["1f3fe"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone4_tone5","woman_and_man_holding_hands_medium_dark_skin_tone_dark_skin_tone"],"surrogates":"👩🏾‍🤝‍👨🏿","unicodeVersion":12,"diversity":["1f3fe","1f3ff"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone5_tone1","woman_and_man_holding_hands_dark_skin_tone_light_skin_tone"],"surrogates":"👩🏿‍🤝‍👨🏻","unicodeVersion":12,"diversity":["1f3ff","1f3fb"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone5_tone2","woman_and_man_holding_hands_dark_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏿‍🤝‍👨🏼","unicodeVersion":12,"diversity":["1f3ff","1f3fc"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone5_tone3","woman_and_man_holding_hands_dark_skin_tone_medium_skin_tone"],"surrogates":"👩🏿‍🤝‍👨🏽","unicodeVersion":12,"diversity":["1f3ff","1f3fd"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone5_tone4","woman_and_man_holding_hands_dark_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏿‍🤝‍👨🏾","unicodeVersion":12,"diversity":["1f3ff","1f3fe"],"hasMultiDiversityParent":true},{"names":["woman_and_man_holding_hands_tone5","woman_and_man_holding_hands_dark_skin_tone"],"surrogates":"👫🏿","unicodeVersion":12,"diversity":["1f3ff"],"hasMultiDiversityParent":true}],"hasMultiDiversity":true},{"names":["two_women_holding_hands"],"surrogates":"👭","unicodeVersion":6,"diversityChildren":[{"names":["women_holding_hands_tone1","women_holding_hands_light_skin_tone"],"surrogates":"👭🏻","unicodeVersion":12,"diversity":["1f3fb"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone1_tone2","women_holding_hands_light_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏻‍🤝‍👩🏼","unicodeVersion":12.1,"diversity":["1f3fb","1f3fc"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone1_tone3","women_holding_hands_light_skin_tone_medium_skin_tone"],"surrogates":"👩🏻‍🤝‍👩🏽","unicodeVersion":12.1,"diversity":["1f3fb","1f3fd"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone1_tone4","women_holding_hands_light_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏻‍🤝‍👩🏾","unicodeVersion":12.1,"diversity":["1f3fb","1f3fe"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone1_tone5","women_holding_hands_light_skin_tone_dark_skin_tone"],"surrogates":"👩🏻‍🤝‍👩🏿","unicodeVersion":12.1,"diversity":["1f3fb","1f3ff"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone2_tone1","women_holding_hands_medium_light_skin_tone_light_skin_tone"],"surrogates":"👩🏼‍🤝‍👩🏻","unicodeVersion":12,"diversity":["1f3fc","1f3fb"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone2","women_holding_hands_medium_light_skin_tone"],"surrogates":"👭🏼","unicodeVersion":12,"diversity":["1f3fc"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone2_tone3","women_holding_hands_medium_light_skin_tone_medium_skin_tone"],"surrogates":"👩🏼‍🤝‍👩🏽","unicodeVersion":12.1,"diversity":["1f3fc","1f3fd"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone2_tone4","women_holding_hands_medium_light_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏼‍🤝‍👩🏾","unicodeVersion":12.1,"diversity":["1f3fc","1f3fe"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone2_tone5","women_holding_hands_medium_light_skin_tone_dark_skin_tone"],"surrogates":"👩🏼‍🤝‍👩🏿","unicodeVersion":12.1,"diversity":["1f3fc","1f3ff"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone3_tone1","women_holding_hands_medium_skin_tone_light_skin_tone"],"surrogates":"👩🏽‍🤝‍👩🏻","unicodeVersion":12,"diversity":["1f3fd","1f3fb"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone3_tone2","women_holding_hands_medium_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏽‍🤝‍👩🏼","unicodeVersion":12,"diversity":["1f3fd","1f3fc"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone3","women_holding_hands_medium_skin_tone"],"surrogates":"👭🏽","unicodeVersion":12,"diversity":["1f3fd"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone3_tone4","women_holding_hands_medium_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏽‍🤝‍👩🏾","unicodeVersion":12.1,"diversity":["1f3fd","1f3fe"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone3_tone5","women_holding_hands_medium_skin_tone_dark_skin_tone"],"surrogates":"👩🏽‍🤝‍👩🏿","unicodeVersion":12.1,"diversity":["1f3fd","1f3ff"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone4_tone1","women_holding_hands_medium_dark_skin_tone_light_skin_tone"],"surrogates":"👩🏾‍🤝‍👩🏻","unicodeVersion":12,"diversity":["1f3fe","1f3fb"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone4_tone2","women_holding_hands_medium_dark_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏾‍🤝‍👩🏼","unicodeVersion":12,"diversity":["1f3fe","1f3fc"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone4_tone3","women_holding_hands_medium_dark_skin_tone_medium_skin_tone"],"surrogates":"👩🏾‍🤝‍👩🏽","unicodeVersion":12,"diversity":["1f3fe","1f3fd"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone4","women_holding_hands_medium_dark_skin_tone"],"surrogates":"👭🏾","unicodeVersion":12,"diversity":["1f3fe"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone4_tone5","women_holding_hands_medium_dark_skin_tone_dark_skin_tone"],"surrogates":"👩🏾‍🤝‍👩🏿","unicodeVersion":12.1,"diversity":["1f3fe","1f3ff"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone5_tone1","women_holding_hands_dark_skin_tone_light_skin_tone"],"surrogates":"👩🏿‍🤝‍👩🏻","unicodeVersion":12,"diversity":["1f3ff","1f3fb"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone5_tone2","women_holding_hands_dark_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏿‍🤝‍👩🏼","unicodeVersion":12,"diversity":["1f3ff","1f3fc"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone5_tone3","women_holding_hands_dark_skin_tone_medium_skin_tone"],"surrogates":"👩🏿‍🤝‍👩🏽","unicodeVersion":12,"diversity":["1f3ff","1f3fd"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone5_tone4","women_holding_hands_dark_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏿‍🤝‍👩🏾","unicodeVersion":12,"diversity":["1f3ff","1f3fe"],"hasMultiDiversityParent":true},{"names":["women_holding_hands_tone5","women_holding_hands_dark_skin_tone"],"surrogates":"👭🏿","unicodeVersion":12,"diversity":["1f3ff"],"hasMultiDiversityParent":true}],"hasMultiDiversity":true},{"names":["two_men_holding_hands"],"surrogates":"👬","unicodeVersion":6,"diversityChildren":[{"names":["men_holding_hands_tone1","men_holding_hands_light_skin_tone"],"surrogates":"👬🏻","unicodeVersion":12,"diversity":["1f3fb"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone1_tone2","men_holding_hands_light_skin_tone_medium_light_skin_tone"],"surrogates":"👨🏻‍🤝‍👨🏼","unicodeVersion":12.1,"diversity":["1f3fb","1f3fc"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone1_tone3","men_holding_hands_light_skin_tone_medium_skin_tone"],"surrogates":"👨🏻‍🤝‍👨🏽","unicodeVersion":12.1,"diversity":["1f3fb","1f3fd"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone1_tone4","men_holding_hands_light_skin_tone_medium_dark_skin_tone"],"surrogates":"👨🏻‍🤝‍👨🏾","unicodeVersion":12.1,"diversity":["1f3fb","1f3fe"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone1_tone5","men_holding_hands_light_skin_tone_dark_skin_tone"],"surrogates":"👨🏻‍🤝‍👨🏿","unicodeVersion":12.1,"diversity":["1f3fb","1f3ff"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone2_tone1","men_holding_hands_medium_light_skin_tone_light_skin_tone"],"surrogates":"👨🏼‍🤝‍👨🏻","unicodeVersion":12,"diversity":["1f3fc","1f3fb"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone2","men_holding_hands_medium_light_skin_tone"],"surrogates":"👬🏼","unicodeVersion":12,"diversity":["1f3fc"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone2_tone3","men_holding_hands_medium_light_skin_tone_medium_skin_tone"],"surrogates":"👨🏼‍🤝‍👨🏽","unicodeVersion":12.1,"diversity":["1f3fc","1f3fd"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone2_tone4","men_holding_hands_medium_light_skin_tone_medium_dark_skin_tone"],"surrogates":"👨🏼‍🤝‍👨🏾","unicodeVersion":12.1,"diversity":["1f3fc","1f3fe"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone2_tone5","men_holding_hands_medium_light_skin_tone_dark_skin_tone"],"surrogates":"👨🏼‍🤝‍👨🏿","unicodeVersion":12.1,"diversity":["1f3fc","1f3ff"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone3_tone1","men_holding_hands_medium_skin_tone_light_skin_tone"],"surrogates":"👨🏽‍🤝‍👨🏻","unicodeVersion":12,"diversity":["1f3fd","1f3fb"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone3_tone2","men_holding_hands_medium_skin_tone_medium_light_skin_tone"],"surrogates":"👨🏽‍🤝‍👨🏼","unicodeVersion":12,"diversity":["1f3fd","1f3fc"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone3","men_holding_hands_medium_skin_tone"],"surrogates":"👬🏽","unicodeVersion":12,"diversity":["1f3fd"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone3_tone4","men_holding_hands_medium_skin_tone_medium_dark_skin_tone"],"surrogates":"👨🏽‍🤝‍👨🏾","unicodeVersion":12.1,"diversity":["1f3fd","1f3fe"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone3_tone5","men_holding_hands_medium_skin_tone_dark_skin_tone"],"surrogates":"👨🏽‍🤝‍👨🏿","unicodeVersion":12.1,"diversity":["1f3fd","1f3ff"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone4_tone1","men_holding_hands_medium_dark_skin_tone_light_skin_tone"],"surrogates":"👨🏾‍🤝‍👨🏻","unicodeVersion":12,"diversity":["1f3fe","1f3fb"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone4_tone2","men_holding_hands_medium_dark_skin_tone_medium_light_skin_tone"],"surrogates":"👨🏾‍🤝‍👨🏼","unicodeVersion":12,"diversity":["1f3fe","1f3fc"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone4_tone3","men_holding_hands_medium_dark_skin_tone_medium_skin_tone"],"surrogates":"👨🏾‍🤝‍👨🏽","unicodeVersion":12,"diversity":["1f3fe","1f3fd"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone4","men_holding_hands_medium_dark_skin_tone"],"surrogates":"👬🏾","unicodeVersion":12,"diversity":["1f3fe"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone4_tone5","men_holding_hands_medium_dark_skin_tone_dark_skin_tone"],"surrogates":"👨🏾‍🤝‍👨🏿","unicodeVersion":12.1,"diversity":["1f3fe","1f3ff"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone5_tone1","men_holding_hands_dark_skin_tone_light_skin_tone"],"surrogates":"👨🏿‍🤝‍👨🏻","unicodeVersion":12,"diversity":["1f3ff","1f3fb"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone5_tone2","men_holding_hands_dark_skin_tone_medium_light_skin_tone"],"surrogates":"👨🏿‍🤝‍👨🏼","unicodeVersion":12,"diversity":["1f3ff","1f3fc"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone5_tone3","men_holding_hands_dark_skin_tone_medium_skin_tone"],"surrogates":"👨🏿‍🤝‍👨🏽","unicodeVersion":12,"diversity":["1f3ff","1f3fd"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone5_tone4","men_holding_hands_dark_skin_tone_medium_dark_skin_tone"],"surrogates":"👨🏿‍🤝‍👨🏾","unicodeVersion":12,"diversity":["1f3ff","1f3fe"],"hasMultiDiversityParent":true},{"names":["men_holding_hands_tone5","men_holding_hands_dark_skin_tone"],"surrogates":"👬🏿","unicodeVersion":12,"diversity":["1f3ff"],"hasMultiDiversityParent":true}],"hasMultiDiversity":true},{"names":["couple_with_heart"],"surrogates":"💑","unicodeVersion":6,"diversityChildren":[{"names":["couple_with_heart_tone1","couple_with_heart_light_skin_tone"],"surrogates":"💑🏻","unicodeVersion":13.1,"diversity":["1f3fb"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_person_person_tone1_tone2","couple_with_heart_person_person_light_skin_tone_medium_light_skin_tone"],"surrogates":"🧑🏻‍❤️‍🧑🏼","unicodeVersion":13.1,"diversity":["1f3fb","1f3fc"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_person_person_tone1_tone3","couple_with_heart_person_person_light_skin_tone_medium_skin_tone"],"surrogates":"🧑🏻‍❤️‍🧑🏽","unicodeVersion":13.1,"diversity":["1f3fb","1f3fd"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_person_person_tone1_tone4","couple_with_heart_person_person_light_skin_tone_medium_dark_skin_tone"],"surrogates":"🧑🏻‍❤️‍🧑🏾","unicodeVersion":13.1,"diversity":["1f3fb","1f3fe"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_person_person_tone1_tone5","couple_with_heart_person_person_light_skin_tone_dark_skin_tone"],"surrogates":"🧑🏻‍❤️‍🧑🏿","unicodeVersion":13.1,"diversity":["1f3fb","1f3ff"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_person_person_tone2_tone1","couple_with_heart_person_person_medium_light_skin_tone_light_skin_tone"],"surrogates":"🧑🏼‍❤️‍🧑🏻","unicodeVersion":13.1,"diversity":["1f3fc","1f3fb"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_tone2","couple_with_heart_medium_light_skin_tone"],"surrogates":"💑🏼","unicodeVersion":13.1,"diversity":["1f3fc"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_person_person_tone2_tone3","couple_with_heart_person_person_medium_light_skin_tone_medium_skin_tone"],"surrogates":"🧑🏼‍❤️‍🧑🏽","unicodeVersion":13.1,"diversity":["1f3fc","1f3fd"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_person_person_tone2_tone4","couple_with_heart_person_person_medium_light_skin_tone_medium_dark_skin_tone"],"surrogates":"🧑🏼‍❤️‍🧑🏾","unicodeVersion":13.1,"diversity":["1f3fc","1f3fe"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_person_person_tone2_tone5","couple_with_heart_person_person_medium_light_skin_tone_dark_skin_tone"],"surrogates":"🧑🏼‍❤️‍🧑🏿","unicodeVersion":13.1,"diversity":["1f3fc","1f3ff"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_person_person_tone3_tone1","couple_with_heart_person_person_medium_skin_tone_light_skin_tone"],"surrogates":"🧑🏽‍❤️‍🧑🏻","unicodeVersion":13.1,"diversity":["1f3fd","1f3fb"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_person_person_tone3_tone2","couple_with_heart_person_person_medium_skin_tone_medium_light_skin_tone"],"surrogates":"🧑🏽‍❤️‍🧑🏼","unicodeVersion":13.1,"diversity":["1f3fd","1f3fc"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_tone3","couple_with_heart_medium_skin_tone"],"surrogates":"💑🏽","unicodeVersion":13.1,"diversity":["1f3fd"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_person_person_tone3_tone4","couple_with_heart_person_person_medium_skin_tone_medium_dark_skin_tone"],"surrogates":"🧑🏽‍❤️‍🧑🏾","unicodeVersion":13.1,"diversity":["1f3fd","1f3fe"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_person_person_tone3_tone5","couple_with_heart_person_person_medium_skin_tone_dark_skin_tone"],"surrogates":"🧑🏽‍❤️‍🧑🏿","unicodeVersion":13.1,"diversity":["1f3fd","1f3ff"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_person_person_tone4_tone1","couple_with_heart_person_person_medium_dark_skin_tone_light_skin_tone"],"surrogates":"🧑🏾‍❤️‍🧑🏻","unicodeVersion":13.1,"diversity":["1f3fe","1f3fb"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_person_person_tone4_tone2","couple_with_heart_person_person_medium_dark_skin_tone_medium_light_skin_tone"],"surrogates":"🧑🏾‍❤️‍🧑🏼","unicodeVersion":13.1,"diversity":["1f3fe","1f3fc"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_person_person_tone4_tone3","couple_with_heart_person_person_medium_dark_skin_tone_medium_skin_tone"],"surrogates":"🧑🏾‍❤️‍🧑🏽","unicodeVersion":13.1,"diversity":["1f3fe","1f3fd"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_tone4","couple_with_heart_medium_dark_skin_tone"],"surrogates":"💑🏾","unicodeVersion":13.1,"diversity":["1f3fe"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_person_person_tone4_tone5","couple_with_heart_person_person_medium_dark_skin_tone_dark_skin_tone"],"surrogates":"🧑🏾‍❤️‍🧑🏿","unicodeVersion":13.1,"diversity":["1f3fe","1f3ff"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_person_person_tone5_tone1","couple_with_heart_person_person_dark_skin_tone_light_skin_tone"],"surrogates":"🧑🏿‍❤️‍🧑🏻","unicodeVersion":13.1,"diversity":["1f3ff","1f3fb"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_person_person_tone5_tone2","couple_with_heart_person_person_dark_skin_tone_medium_light_skin_tone"],"surrogates":"🧑🏿‍❤️‍🧑🏼","unicodeVersion":13.1,"diversity":["1f3ff","1f3fc"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_person_person_tone5_tone3","couple_with_heart_person_person_dark_skin_tone_medium_skin_tone"],"surrogates":"🧑🏿‍❤️‍🧑🏽","unicodeVersion":13.1,"diversity":["1f3ff","1f3fd"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_person_person_tone5_tone4","couple_with_heart_person_person_dark_skin_tone_medium_dark_skin_tone"],"surrogates":"🧑🏿‍❤️‍🧑🏾","unicodeVersion":13.1,"diversity":["1f3ff","1f3fe"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_tone5","couple_with_heart_dark_skin_tone"],"surrogates":"💑🏿","unicodeVersion":13.1,"diversity":["1f3ff"],"hasMultiDiversityParent":true}],"hasMultiDiversity":true},{"names":["couple_with_heart_woman_man"],"surrogates":"👩‍❤️‍👨","unicodeVersion":6,"diversityChildren":[{"names":["couple_with_heart_woman_man_tone1","couple_with_heart_woman_man_light_skin_tone"],"surrogates":"👩🏻‍❤️‍👨🏻","unicodeVersion":13.1,"diversity":["1f3fb"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone1_tone2","couple_with_heart_woman_man_light_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏻‍❤️‍👨🏼","unicodeVersion":13.1,"diversity":["1f3fb","1f3fc"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone1_tone3","couple_with_heart_woman_man_light_skin_tone_medium_skin_tone"],"surrogates":"👩🏻‍❤️‍👨🏽","unicodeVersion":13.1,"diversity":["1f3fb","1f3fd"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone1_tone4","couple_with_heart_woman_man_light_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏻‍❤️‍👨🏾","unicodeVersion":13.1,"diversity":["1f3fb","1f3fe"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone1_tone5","couple_with_heart_woman_man_light_skin_tone_dark_skin_tone"],"surrogates":"👩🏻‍❤️‍👨🏿","unicodeVersion":13.1,"diversity":["1f3fb","1f3ff"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone2_tone1","couple_with_heart_woman_man_medium_light_skin_tone_light_skin_tone"],"surrogates":"👩🏼‍❤️‍👨🏻","unicodeVersion":13.1,"diversity":["1f3fc","1f3fb"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone2","couple_with_heart_woman_man_medium_light_skin_tone"],"surrogates":"👩🏼‍❤️‍👨🏼","unicodeVersion":13.1,"diversity":["1f3fc"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone2_tone3","couple_with_heart_woman_man_medium_light_skin_tone_medium_skin_tone"],"surrogates":"👩🏼‍❤️‍👨🏽","unicodeVersion":13.1,"diversity":["1f3fc","1f3fd"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone2_tone4","couple_with_heart_woman_man_medium_light_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏼‍❤️‍👨🏾","unicodeVersion":13.1,"diversity":["1f3fc","1f3fe"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone2_tone5","couple_with_heart_woman_man_medium_light_skin_tone_dark_skin_tone"],"surrogates":"👩🏼‍❤️‍👨🏿","unicodeVersion":13.1,"diversity":["1f3fc","1f3ff"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone3_tone1","couple_with_heart_woman_man_medium_skin_tone_light_skin_tone"],"surrogates":"👩🏽‍❤️‍👨🏻","unicodeVersion":13.1,"diversity":["1f3fd","1f3fb"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone3_tone2","couple_with_heart_woman_man_medium_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏽‍❤️‍👨🏼","unicodeVersion":13.1,"diversity":["1f3fd","1f3fc"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone3","couple_with_heart_woman_man_medium_skin_tone"],"surrogates":"👩🏽‍❤️‍👨🏽","unicodeVersion":13.1,"diversity":["1f3fd"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone3_tone4","couple_with_heart_woman_man_medium_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏽‍❤️‍👨🏾","unicodeVersion":13.1,"diversity":["1f3fd","1f3fe"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone3_tone5","couple_with_heart_woman_man_medium_skin_tone_dark_skin_tone"],"surrogates":"👩🏽‍❤️‍👨🏿","unicodeVersion":13.1,"diversity":["1f3fd","1f3ff"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone4_tone1","couple_with_heart_woman_man_medium_dark_skin_tone_light_skin_tone"],"surrogates":"👩🏾‍❤️‍👨🏻","unicodeVersion":13.1,"diversity":["1f3fe","1f3fb"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone4_tone2","couple_with_heart_woman_man_medium_dark_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏾‍❤️‍👨🏼","unicodeVersion":13.1,"diversity":["1f3fe","1f3fc"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone4_tone3","couple_with_heart_woman_man_medium_dark_skin_tone_medium_skin_tone"],"surrogates":"👩🏾‍❤️‍👨🏽","unicodeVersion":13.1,"diversity":["1f3fe","1f3fd"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone4","couple_with_heart_woman_man_medium_dark_skin_tone"],"surrogates":"👩🏾‍❤️‍👨🏾","unicodeVersion":13.1,"diversity":["1f3fe"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone4_tone5","couple_with_heart_woman_man_medium_dark_skin_tone_dark_skin_tone"],"surrogates":"👩🏾‍❤️‍👨🏿","unicodeVersion":13.1,"diversity":["1f3fe","1f3ff"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone5_tone1","couple_with_heart_woman_man_dark_skin_tone_light_skin_tone"],"surrogates":"👩🏿‍❤️‍👨🏻","unicodeVersion":13.1,"diversity":["1f3ff","1f3fb"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone5_tone2","couple_with_heart_woman_man_dark_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏿‍❤️‍👨🏼","unicodeVersion":13.1,"diversity":["1f3ff","1f3fc"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone5_tone3","couple_with_heart_woman_man_dark_skin_tone_medium_skin_tone"],"surrogates":"👩🏿‍❤️‍👨🏽","unicodeVersion":13.1,"diversity":["1f3ff","1f3fd"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone5_tone4","couple_with_heart_woman_man_dark_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏿‍❤️‍👨🏾","unicodeVersion":13.1,"diversity":["1f3ff","1f3fe"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_man_tone5","couple_with_heart_woman_man_dark_skin_tone"],"surrogates":"👩🏿‍❤️‍👨🏿","unicodeVersion":13.1,"diversity":["1f3ff"],"hasMultiDiversityParent":true}],"hasMultiDiversity":true},{"names":["couple_ww","couple_with_heart_ww"],"surrogates":"👩‍❤️‍👩","unicodeVersion":6,"diversityChildren":[{"names":["couple_with_heart_woman_woman_tone1","couple_with_heart_woman_woman_light_skin_tone"],"surrogates":"👩🏻‍❤️‍👩🏻","unicodeVersion":13.1,"diversity":["1f3fb"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone1_tone2","couple_with_heart_woman_woman_light_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏻‍❤️‍👩🏼","unicodeVersion":13.1,"diversity":["1f3fb","1f3fc"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone1_tone3","couple_with_heart_woman_woman_light_skin_tone_medium_skin_tone"],"surrogates":"👩🏻‍❤️‍👩🏽","unicodeVersion":13.1,"diversity":["1f3fb","1f3fd"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone1_tone4","couple_with_heart_woman_woman_light_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏻‍❤️‍👩🏾","unicodeVersion":13.1,"diversity":["1f3fb","1f3fe"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone1_tone5","couple_with_heart_woman_woman_light_skin_tone_dark_skin_tone"],"surrogates":"👩🏻‍❤️‍👩🏿","unicodeVersion":13.1,"diversity":["1f3fb","1f3ff"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone2_tone1","couple_with_heart_woman_woman_medium_light_skin_tone_light_skin_tone"],"surrogates":"👩🏼‍❤️‍👩🏻","unicodeVersion":13.1,"diversity":["1f3fc","1f3fb"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone2","couple_with_heart_woman_woman_medium_light_skin_tone"],"surrogates":"👩🏼‍❤️‍👩🏼","unicodeVersion":13.1,"diversity":["1f3fc"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone2_tone3","couple_with_heart_woman_woman_medium_light_skin_tone_medium_skin_tone"],"surrogates":"👩🏼‍❤️‍👩🏽","unicodeVersion":13.1,"diversity":["1f3fc","1f3fd"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone2_tone4","couple_with_heart_woman_woman_medium_light_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏼‍❤️‍👩🏾","unicodeVersion":13.1,"diversity":["1f3fc","1f3fe"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone2_tone5","couple_with_heart_woman_woman_medium_light_skin_tone_dark_skin_tone"],"surrogates":"👩🏼‍❤️‍👩🏿","unicodeVersion":13.1,"diversity":["1f3fc","1f3ff"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone3_tone1","couple_with_heart_woman_woman_medium_skin_tone_light_skin_tone"],"surrogates":"👩🏽‍❤️‍👩🏻","unicodeVersion":13.1,"diversity":["1f3fd","1f3fb"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone3_tone2","couple_with_heart_woman_woman_medium_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏽‍❤️‍👩🏼","unicodeVersion":13.1,"diversity":["1f3fd","1f3fc"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone3","couple_with_heart_woman_woman_medium_skin_tone"],"surrogates":"👩🏽‍❤️‍👩🏽","unicodeVersion":13.1,"diversity":["1f3fd"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone3_tone4","couple_with_heart_woman_woman_medium_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏽‍❤️‍👩🏾","unicodeVersion":13.1,"diversity":["1f3fd","1f3fe"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone3_tone5","couple_with_heart_woman_woman_medium_skin_tone_dark_skin_tone"],"surrogates":"👩🏽‍❤️‍👩🏿","unicodeVersion":13.1,"diversity":["1f3fd","1f3ff"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone4_tone1","couple_with_heart_woman_woman_medium_dark_skin_tone_light_skin_tone"],"surrogates":"👩🏾‍❤️‍👩🏻","unicodeVersion":13.1,"diversity":["1f3fe","1f3fb"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone4_tone2","couple_with_heart_woman_woman_medium_dark_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏾‍❤️‍👩🏼","unicodeVersion":13.1,"diversity":["1f3fe","1f3fc"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone4_tone3","couple_with_heart_woman_woman_medium_dark_skin_tone_medium_skin_tone"],"surrogates":"👩🏾‍❤️‍👩🏽","unicodeVersion":13.1,"diversity":["1f3fe","1f3fd"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone4","couple_with_heart_woman_woman_medium_dark_skin_tone"],"surrogates":"👩🏾‍❤️‍👩🏾","unicodeVersion":13.1,"diversity":["1f3fe"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone4_tone5","couple_with_heart_woman_woman_medium_dark_skin_tone_dark_skin_tone"],"surrogates":"👩🏾‍❤️‍👩🏿","unicodeVersion":13.1,"diversity":["1f3fe","1f3ff"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone5_tone1","couple_with_heart_woman_woman_dark_skin_tone_light_skin_tone"],"surrogates":"👩🏿‍❤️‍👩🏻","unicodeVersion":13.1,"diversity":["1f3ff","1f3fb"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone5_tone2","couple_with_heart_woman_woman_dark_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏿‍❤️‍👩🏼","unicodeVersion":13.1,"diversity":["1f3ff","1f3fc"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone5_tone3","couple_with_heart_woman_woman_dark_skin_tone_medium_skin_tone"],"surrogates":"👩🏿‍❤️‍👩🏽","unicodeVersion":13.1,"diversity":["1f3ff","1f3fd"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone5_tone4","couple_with_heart_woman_woman_dark_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏿‍❤️‍👩🏾","unicodeVersion":13.1,"diversity":["1f3ff","1f3fe"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_woman_woman_tone5","couple_with_heart_woman_woman_dark_skin_tone"],"surrogates":"👩🏿‍❤️‍👩🏿","unicodeVersion":13.1,"diversity":["1f3ff"],"hasMultiDiversityParent":true}],"hasMultiDiversity":true},{"names":["couple_mm","couple_with_heart_mm"],"surrogates":"👨‍❤️‍👨","unicodeVersion":6,"diversityChildren":[{"names":["couple_with_heart_man_man_tone1","couple_with_heart_man_man_light_skin_tone"],"surrogates":"👨🏻‍❤️‍👨🏻","unicodeVersion":13.1,"diversity":["1f3fb"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone1_tone2","couple_with_heart_man_man_light_skin_tone_medium_light_skin_tone"],"surrogates":"👨🏻‍❤️‍👨🏼","unicodeVersion":13.1,"diversity":["1f3fb","1f3fc"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone1_tone3","couple_with_heart_man_man_light_skin_tone_medium_skin_tone"],"surrogates":"👨🏻‍❤️‍👨🏽","unicodeVersion":13.1,"diversity":["1f3fb","1f3fd"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone1_tone4","couple_with_heart_man_man_light_skin_tone_medium_dark_skin_tone"],"surrogates":"👨🏻‍❤️‍👨🏾","unicodeVersion":13.1,"diversity":["1f3fb","1f3fe"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone1_tone5","couple_with_heart_man_man_light_skin_tone_dark_skin_tone"],"surrogates":"👨🏻‍❤️‍👨🏿","unicodeVersion":13.1,"diversity":["1f3fb","1f3ff"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone2_tone1","couple_with_heart_man_man_medium_light_skin_tone_light_skin_tone"],"surrogates":"👨🏼‍❤️‍👨🏻","unicodeVersion":13.1,"diversity":["1f3fc","1f3fb"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone2","couple_with_heart_man_man_medium_light_skin_tone"],"surrogates":"👨🏼‍❤️‍👨🏼","unicodeVersion":13.1,"diversity":["1f3fc"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone2_tone3","couple_with_heart_man_man_medium_light_skin_tone_medium_skin_tone"],"surrogates":"👨🏼‍❤️‍👨🏽","unicodeVersion":13.1,"diversity":["1f3fc","1f3fd"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone2_tone4","couple_with_heart_man_man_medium_light_skin_tone_medium_dark_skin_tone"],"surrogates":"👨🏼‍❤️‍👨🏾","unicodeVersion":13.1,"diversity":["1f3fc","1f3fe"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone2_tone5","couple_with_heart_man_man_medium_light_skin_tone_dark_skin_tone"],"surrogates":"👨🏼‍❤️‍👨🏿","unicodeVersion":13.1,"diversity":["1f3fc","1f3ff"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone3_tone1","couple_with_heart_man_man_medium_skin_tone_light_skin_tone"],"surrogates":"👨🏽‍❤️‍👨🏻","unicodeVersion":13.1,"diversity":["1f3fd","1f3fb"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone3_tone2","couple_with_heart_man_man_medium_skin_tone_medium_light_skin_tone"],"surrogates":"👨🏽‍❤️‍👨🏼","unicodeVersion":13.1,"diversity":["1f3fd","1f3fc"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone3","couple_with_heart_man_man_medium_skin_tone"],"surrogates":"👨🏽‍❤️‍👨🏽","unicodeVersion":13.1,"diversity":["1f3fd"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone3_tone4","couple_with_heart_man_man_medium_skin_tone_medium_dark_skin_tone"],"surrogates":"👨🏽‍❤️‍👨🏾","unicodeVersion":13.1,"diversity":["1f3fd","1f3fe"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone3_tone5","couple_with_heart_man_man_medium_skin_tone_dark_skin_tone"],"surrogates":"👨🏽‍❤️‍👨🏿","unicodeVersion":13.1,"diversity":["1f3fd","1f3ff"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone4_tone1","couple_with_heart_man_man_medium_dark_skin_tone_light_skin_tone"],"surrogates":"👨🏾‍❤️‍👨🏻","unicodeVersion":13.1,"diversity":["1f3fe","1f3fb"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone4_tone2","couple_with_heart_man_man_medium_dark_skin_tone_medium_light_skin_tone"],"surrogates":"👨🏾‍❤️‍👨🏼","unicodeVersion":13.1,"diversity":["1f3fe","1f3fc"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone4_tone3","couple_with_heart_man_man_medium_dark_skin_tone_medium_skin_tone"],"surrogates":"👨🏾‍❤️‍👨🏽","unicodeVersion":13.1,"diversity":["1f3fe","1f3fd"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone4","couple_with_heart_man_man_medium_dark_skin_tone"],"surrogates":"👨🏾‍❤️‍👨🏾","unicodeVersion":13.1,"diversity":["1f3fe"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone4_tone5","couple_with_heart_man_man_medium_dark_skin_tone_dark_skin_tone"],"surrogates":"👨🏾‍❤️‍👨🏿","unicodeVersion":13.1,"diversity":["1f3fe","1f3ff"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone5_tone1","couple_with_heart_man_man_dark_skin_tone_light_skin_tone"],"surrogates":"👨🏿‍❤️‍👨🏻","unicodeVersion":13.1,"diversity":["1f3ff","1f3fb"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone5_tone2","couple_with_heart_man_man_dark_skin_tone_medium_light_skin_tone"],"surrogates":"👨🏿‍❤️‍👨🏼","unicodeVersion":13.1,"diversity":["1f3ff","1f3fc"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone5_tone3","couple_with_heart_man_man_dark_skin_tone_medium_skin_tone"],"surrogates":"👨🏿‍❤️‍👨🏽","unicodeVersion":13.1,"diversity":["1f3ff","1f3fd"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone5_tone4","couple_with_heart_man_man_dark_skin_tone_medium_dark_skin_tone"],"surrogates":"👨🏿‍❤️‍👨🏾","unicodeVersion":13.1,"diversity":["1f3ff","1f3fe"],"hasMultiDiversityParent":true},{"names":["couple_with_heart_man_man_tone5","couple_with_heart_man_man_dark_skin_tone"],"surrogates":"👨🏿‍❤️‍👨🏿","unicodeVersion":13.1,"diversity":["1f3ff"],"hasMultiDiversityParent":true}],"hasMultiDiversity":true},{"names":["couplekiss"],"surrogates":"💏","unicodeVersion":6,"diversityChildren":[{"names":["kiss_person_person_tone5_tone4","kiss_person_person_dark_skin_tone_medium_dark_skin_tone"],"surrogates":"🧑🏿‍❤️‍💋‍🧑🏾","unicodeVersion":13.1,"diversity":["1f3ff","1f3fe"],"hasMultiDiversityParent":true},{"names":["kiss_tone1","kiss_light_skin_tone"],"surrogates":"💏🏻","unicodeVersion":13.1,"diversity":["1f3fb"],"hasMultiDiversityParent":true},{"names":["kiss_person_person_tone1_tone2","kiss_person_person_light_skin_tone_medium_light_skin_tone"],"surrogates":"🧑🏻‍❤️‍💋‍🧑🏼","unicodeVersion":13.1,"diversity":["1f3fb","1f3fc"],"hasMultiDiversityParent":true},{"names":["kiss_person_person_tone1_tone3","kiss_person_person_light_skin_tone_medium_skin_tone"],"surrogates":"🧑🏻‍❤️‍💋‍🧑🏽","unicodeVersion":13.1,"diversity":["1f3fb","1f3fd"],"hasMultiDiversityParent":true},{"names":["kiss_person_person_tone1_tone4","kiss_person_person_light_skin_tone_medium_dark_skin_tone"],"surrogates":"🧑🏻‍❤️‍💋‍🧑🏾","unicodeVersion":13.1,"diversity":["1f3fb","1f3fe"],"hasMultiDiversityParent":true},{"names":["kiss_person_person_tone1_tone5","kiss_person_person_light_skin_tone_dark_skin_tone"],"surrogates":"🧑🏻‍❤️‍💋‍🧑🏿","unicodeVersion":13.1,"diversity":["1f3fb","1f3ff"],"hasMultiDiversityParent":true},{"names":["kiss_person_person_tone2_tone1","kiss_person_person_medium_light_skin_tone_light_skin_tone"],"surrogates":"🧑🏼‍❤️‍💋‍🧑🏻","unicodeVersion":13.1,"diversity":["1f3fc","1f3fb"],"hasMultiDiversityParent":true},{"names":["kiss_tone2","kiss_medium_light_skin_tone"],"surrogates":"💏🏼","unicodeVersion":13.1,"diversity":["1f3fc"],"hasMultiDiversityParent":true},{"names":["kiss_person_person_tone2_tone3","kiss_person_person_medium_light_skin_tone_medium_skin_tone"],"surrogates":"🧑🏼‍❤️‍💋‍🧑🏽","unicodeVersion":13.1,"diversity":["1f3fc","1f3fd"],"hasMultiDiversityParent":true},{"names":["kiss_person_person_tone2_tone4","kiss_person_person_medium_light_skin_tone_medium_dark_skin_tone"],"surrogates":"🧑🏼‍❤️‍💋‍🧑🏾","unicodeVersion":13.1,"diversity":["1f3fc","1f3fe"],"hasMultiDiversityParent":true},{"names":["kiss_person_person_tone2_tone5","kiss_person_person_medium_light_skin_tone_dark_skin_tone"],"surrogates":"🧑🏼‍❤️‍💋‍🧑🏿","unicodeVersion":13.1,"diversity":["1f3fc","1f3ff"],"hasMultiDiversityParent":true},{"names":["kiss_person_person_tone3_tone1","kiss_person_person_medium_skin_tone_light_skin_tone"],"surrogates":"🧑🏽‍❤️‍💋‍🧑🏻","unicodeVersion":13.1,"diversity":["1f3fd","1f3fb"],"hasMultiDiversityParent":true},{"names":["kiss_person_person_tone3_tone2","kiss_person_person_medium_skin_tone_medium_light_skin_tone"],"surrogates":"🧑🏽‍❤️‍💋‍🧑🏼","unicodeVersion":13.1,"diversity":["1f3fd","1f3fc"],"hasMultiDiversityParent":true},{"names":["kiss_tone3","kiss_medium_skin_tone"],"surrogates":"💏🏽","unicodeVersion":13.1,"diversity":["1f3fd"],"hasMultiDiversityParent":true},{"names":["kiss_person_person_tone3_tone4","kiss_person_person_medium_skin_tone_medium_dark_skin_tone"],"surrogates":"🧑🏽‍❤️‍💋‍🧑🏾","unicodeVersion":13.1,"diversity":["1f3fd","1f3fe"],"hasMultiDiversityParent":true},{"names":["kiss_person_person_tone3_tone5","kiss_person_person_medium_skin_tone_dark_skin_tone"],"surrogates":"🧑🏽‍❤️‍💋‍🧑🏿","unicodeVersion":13.1,"diversity":["1f3fd","1f3ff"],"hasMultiDiversityParent":true},{"names":["kiss_person_person_tone4_tone1","kiss_person_person_medium_dark_skin_tone_light_skin_tone"],"surrogates":"🧑🏾‍❤️‍💋‍🧑🏻","unicodeVersion":13.1,"diversity":["1f3fe","1f3fb"],"hasMultiDiversityParent":true},{"names":["kiss_person_person_tone4_tone2","kiss_person_person_medium_dark_skin_tone_medium_light_skin_tone"],"surrogates":"🧑🏾‍❤️‍💋‍🧑🏼","unicodeVersion":13.1,"diversity":["1f3fe","1f3fc"],"hasMultiDiversityParent":true},{"names":["kiss_person_person_tone4_tone3","kiss_person_person_medium_dark_skin_tone_medium_skin_tone"],"surrogates":"🧑🏾‍❤️‍💋‍🧑🏽","unicodeVersion":13.1,"diversity":["1f3fe","1f3fd"],"hasMultiDiversityParent":true},{"names":["kiss_tone4","kiss_medium_dark_skin_tone"],"surrogates":"💏🏾","unicodeVersion":13.1,"diversity":["1f3fe"],"hasMultiDiversityParent":true},{"names":["kiss_person_person_tone4_tone5","kiss_person_person_medium_dark_skin_tone_dark_skin_tone"],"surrogates":"🧑🏾‍❤️‍💋‍🧑🏿","unicodeVersion":13.1,"diversity":["1f3fe","1f3ff"],"hasMultiDiversityParent":true},{"names":["kiss_person_person_tone5_tone1","kiss_person_person_dark_skin_tone_light_skin_tone"],"surrogates":"🧑🏿‍❤️‍💋‍🧑🏻","unicodeVersion":13.1,"diversity":["1f3ff","1f3fb"],"hasMultiDiversityParent":true},{"names":["kiss_person_person_tone5_tone2","kiss_person_person_dark_skin_tone_medium_light_skin_tone"],"surrogates":"🧑🏿‍❤️‍💋‍🧑🏼","unicodeVersion":13.1,"diversity":["1f3ff","1f3fc"],"hasMultiDiversityParent":true},{"names":["kiss_person_person_tone5_tone3","kiss_person_person_dark_skin_tone_medium_skin_tone"],"surrogates":"🧑🏿‍❤️‍💋‍🧑🏽","unicodeVersion":13.1,"diversity":["1f3ff","1f3fd"],"hasMultiDiversityParent":true},{"names":["kiss_tone5","kiss_dark_skin_tone"],"surrogates":"💏🏿","unicodeVersion":13.1,"diversity":["1f3ff"],"hasMultiDiversityParent":true}],"hasMultiDiversity":true},{"names":["kiss_woman_man"],"surrogates":"👩‍❤️‍💋‍👨","unicodeVersion":6,"diversityChildren":[{"names":["kiss_woman_man_tone1","kiss_woman_man_light_skin_tone"],"surrogates":"👩🏻‍❤️‍💋‍👨🏻","unicodeVersion":13.1,"diversity":["1f3fb"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone1_tone2","kiss_woman_man_light_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏻‍❤️‍💋‍👨🏼","unicodeVersion":13.1,"diversity":["1f3fb","1f3fc"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone1_tone3","kiss_woman_man_light_skin_tone_medium_skin_tone"],"surrogates":"👩🏻‍❤️‍💋‍👨🏽","unicodeVersion":13.1,"diversity":["1f3fb","1f3fd"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone1_tone4","kiss_woman_man_light_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏻‍❤️‍💋‍👨🏾","unicodeVersion":13.1,"diversity":["1f3fb","1f3fe"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone1_tone5","kiss_woman_man_light_skin_tone_dark_skin_tone"],"surrogates":"👩🏻‍❤️‍💋‍👨🏿","unicodeVersion":13.1,"diversity":["1f3fb","1f3ff"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone2_tone1","kiss_woman_man_medium_light_skin_tone_light_skin_tone"],"surrogates":"👩🏼‍❤️‍💋‍👨🏻","unicodeVersion":13.1,"diversity":["1f3fc","1f3fb"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone2","kiss_woman_man_medium_light_skin_tone"],"surrogates":"👩🏼‍❤️‍💋‍👨🏼","unicodeVersion":13.1,"diversity":["1f3fc"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone2_tone3","kiss_woman_man_medium_light_skin_tone_medium_skin_tone"],"surrogates":"👩🏼‍❤️‍💋‍👨🏽","unicodeVersion":13.1,"diversity":["1f3fc","1f3fd"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone2_tone4","kiss_woman_man_medium_light_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏼‍❤️‍💋‍👨🏾","unicodeVersion":13.1,"diversity":["1f3fc","1f3fe"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone2_tone5","kiss_woman_man_medium_light_skin_tone_dark_skin_tone"],"surrogates":"👩🏼‍❤️‍💋‍👨🏿","unicodeVersion":13.1,"diversity":["1f3fc","1f3ff"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone3_tone1","kiss_woman_man_medium_skin_tone_light_skin_tone"],"surrogates":"👩🏽‍❤️‍💋‍👨🏻","unicodeVersion":13.1,"diversity":["1f3fd","1f3fb"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone3_tone2","kiss_woman_man_medium_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏽‍❤️‍💋‍👨🏼","unicodeVersion":13.1,"diversity":["1f3fd","1f3fc"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone3","kiss_woman_man_medium_skin_tone"],"surrogates":"👩🏽‍❤️‍💋‍👨🏽","unicodeVersion":13.1,"diversity":["1f3fd"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone3_tone4","kiss_woman_man_medium_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏽‍❤️‍💋‍👨🏾","unicodeVersion":13.1,"diversity":["1f3fd","1f3fe"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone3_tone5","kiss_woman_man_medium_skin_tone_dark_skin_tone"],"surrogates":"👩🏽‍❤️‍💋‍👨🏿","unicodeVersion":13.1,"diversity":["1f3fd","1f3ff"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone4_tone1","kiss_woman_man_medium_dark_skin_tone_light_skin_tone"],"surrogates":"👩🏾‍❤️‍💋‍👨🏻","unicodeVersion":13.1,"diversity":["1f3fe","1f3fb"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone4_tone2","kiss_woman_man_medium_dark_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏾‍❤️‍💋‍👨🏼","unicodeVersion":13.1,"diversity":["1f3fe","1f3fc"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone4_tone3","kiss_woman_man_medium_dark_skin_tone_medium_skin_tone"],"surrogates":"👩🏾‍❤️‍💋‍👨🏽","unicodeVersion":13.1,"diversity":["1f3fe","1f3fd"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone4","kiss_woman_man_medium_dark_skin_tone"],"surrogates":"👩🏾‍❤️‍💋‍👨🏾","unicodeVersion":13.1,"diversity":["1f3fe"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone4_tone5","kiss_woman_man_medium_dark_skin_tone_dark_skin_tone"],"surrogates":"👩🏾‍❤️‍💋‍👨🏿","unicodeVersion":13.1,"diversity":["1f3fe","1f3ff"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone5_tone1","kiss_woman_man_dark_skin_tone_light_skin_tone"],"surrogates":"👩🏿‍❤️‍💋‍👨🏻","unicodeVersion":13.1,"diversity":["1f3ff","1f3fb"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone5_tone2","kiss_woman_man_dark_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏿‍❤️‍💋‍👨🏼","unicodeVersion":13.1,"diversity":["1f3ff","1f3fc"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone5_tone3","kiss_woman_man_dark_skin_tone_medium_skin_tone"],"surrogates":"👩🏿‍❤️‍💋‍👨🏽","unicodeVersion":13.1,"diversity":["1f3ff","1f3fd"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone5_tone4","kiss_woman_man_dark_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏿‍❤️‍💋‍👨🏾","unicodeVersion":13.1,"diversity":["1f3ff","1f3fe"],"hasMultiDiversityParent":true},{"names":["kiss_woman_man_tone5","kiss_woman_man_dark_skin_tone"],"surrogates":"👩🏿‍❤️‍💋‍👨🏿","unicodeVersion":13.1,"diversity":["1f3ff"],"hasMultiDiversityParent":true}],"hasMultiDiversity":true},{"names":["kiss_ww","couplekiss_ww"],"surrogates":"👩‍❤️‍💋‍👩","unicodeVersion":6,"diversityChildren":[{"names":["kiss_woman_woman_tone1","kiss_woman_woman_light_skin_tone"],"surrogates":"👩🏻‍❤️‍💋‍👩🏻","unicodeVersion":13.1,"diversity":["1f3fb"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone1_tone2","kiss_woman_woman_light_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏻‍❤️‍💋‍👩🏼","unicodeVersion":13.1,"diversity":["1f3fb","1f3fc"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone1_tone3","kiss_woman_woman_light_skin_tone_medium_skin_tone"],"surrogates":"👩🏻‍❤️‍💋‍👩🏽","unicodeVersion":13.1,"diversity":["1f3fb","1f3fd"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone1_tone4","kiss_woman_woman_light_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏻‍❤️‍💋‍👩🏾","unicodeVersion":13.1,"diversity":["1f3fb","1f3fe"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone1_tone5","kiss_woman_woman_light_skin_tone_dark_skin_tone"],"surrogates":"👩🏻‍❤️‍💋‍👩🏿","unicodeVersion":13.1,"diversity":["1f3fb","1f3ff"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone2_tone1","kiss_woman_woman_medium_light_skin_tone_light_skin_tone"],"surrogates":"👩🏼‍❤️‍💋‍👩🏻","unicodeVersion":13.1,"diversity":["1f3fc","1f3fb"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone2","kiss_woman_woman_medium_light_skin_tone"],"surrogates":"👩🏼‍❤️‍💋‍👩🏼","unicodeVersion":13.1,"diversity":["1f3fc"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone2_tone3","kiss_woman_woman_medium_light_skin_tone_medium_skin_tone"],"surrogates":"👩🏼‍❤️‍💋‍👩🏽","unicodeVersion":13.1,"diversity":["1f3fc","1f3fd"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone2_tone4","kiss_woman_woman_medium_light_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏼‍❤️‍💋‍👩🏾","unicodeVersion":13.1,"diversity":["1f3fc","1f3fe"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone2_tone5","kiss_woman_woman_medium_light_skin_tone_dark_skin_tone"],"surrogates":"👩🏼‍❤️‍💋‍👩🏿","unicodeVersion":13.1,"diversity":["1f3fc","1f3ff"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone3_tone1","kiss_woman_woman_medium_skin_tone_light_skin_tone"],"surrogates":"👩🏽‍❤️‍💋‍👩🏻","unicodeVersion":13.1,"diversity":["1f3fd","1f3fb"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone3_tone2","kiss_woman_woman_medium_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏽‍❤️‍💋‍👩🏼","unicodeVersion":13.1,"diversity":["1f3fd","1f3fc"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone3","kiss_woman_woman_medium_skin_tone"],"surrogates":"👩🏽‍❤️‍💋‍👩🏽","unicodeVersion":13.1,"diversity":["1f3fd"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone3_tone4","kiss_woman_woman_medium_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏽‍❤️‍💋‍👩🏾","unicodeVersion":13.1,"diversity":["1f3fd","1f3fe"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone3_tone5","kiss_woman_woman_medium_skin_tone_dark_skin_tone"],"surrogates":"👩🏽‍❤️‍💋‍👩🏿","unicodeVersion":13.1,"diversity":["1f3fd","1f3ff"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone4_tone1","kiss_woman_woman_medium_dark_skin_tone_light_skin_tone"],"surrogates":"👩🏾‍❤️‍💋‍👩🏻","unicodeVersion":13.1,"diversity":["1f3fe","1f3fb"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone4_tone2","kiss_woman_woman_medium_dark_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏾‍❤️‍💋‍👩🏼","unicodeVersion":13.1,"diversity":["1f3fe","1f3fc"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone4_tone3","kiss_woman_woman_medium_dark_skin_tone_medium_skin_tone"],"surrogates":"👩🏾‍❤️‍💋‍👩🏽","unicodeVersion":13.1,"diversity":["1f3fe","1f3fd"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone4","kiss_woman_woman_medium_dark_skin_tone"],"surrogates":"👩🏾‍❤️‍💋‍👩🏾","unicodeVersion":13.1,"diversity":["1f3fe"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone4_tone5","kiss_woman_woman_medium_dark_skin_tone_dark_skin_tone"],"surrogates":"👩🏾‍❤️‍💋‍👩🏿","unicodeVersion":13.1,"diversity":["1f3fe","1f3ff"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone5_tone1","kiss_woman_woman_dark_skin_tone_light_skin_tone"],"surrogates":"👩🏿‍❤️‍💋‍👩🏻","unicodeVersion":13.1,"diversity":["1f3ff","1f3fb"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone5_tone2","kiss_woman_woman_dark_skin_tone_medium_light_skin_tone"],"surrogates":"👩🏿‍❤️‍💋‍👩🏼","unicodeVersion":13.1,"diversity":["1f3ff","1f3fc"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone5_tone3","kiss_woman_woman_dark_skin_tone_medium_skin_tone"],"surrogates":"👩🏿‍❤️‍💋‍👩🏽","unicodeVersion":13.1,"diversity":["1f3ff","1f3fd"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone5_tone4","kiss_woman_woman_dark_skin_tone_medium_dark_skin_tone"],"surrogates":"👩🏿‍❤️‍💋‍👩🏾","unicodeVersion":13.1,"diversity":["1f3ff","1f3fe"],"hasMultiDiversityParent":true},{"names":["kiss_woman_woman_tone5","kiss_woman_woman_dark_skin_tone"],"surrogates":"👩🏿‍❤️‍💋‍👩🏿","unicodeVersion":13.1,"diversity":["1f3ff"],"hasMultiDiversityParent":true}],"hasMultiDiversity":true},{"names":["kiss_mm","couplekiss_mm"],"surrogates":"👨‍❤️‍💋‍👨","unicodeVersion":6,"diversityChildren":[{"names":["kiss_man_man_tone1","kiss_man_man_light_skin_tone"],"surrogates":"👨🏻‍❤️‍💋‍👨🏻","unicodeVersion":13.1,"diversity":["1f3fb"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone1_tone2","kiss_man_man_light_skin_tone_medium_light_skin_tone"],"surrogates":"👨🏻‍❤️‍💋‍👨🏼","unicodeVersion":13.1,"diversity":["1f3fb","1f3fc"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone1_tone3","kiss_man_man_light_skin_tone_medium_skin_tone"],"surrogates":"👨🏻‍❤️‍💋‍👨🏽","unicodeVersion":13.1,"diversity":["1f3fb","1f3fd"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone1_tone4","kiss_man_man_light_skin_tone_medium_dark_skin_tone"],"surrogates":"👨🏻‍❤️‍💋‍👨🏾","unicodeVersion":13.1,"diversity":["1f3fb","1f3fe"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone1_tone5","kiss_man_man_light_skin_tone_dark_skin_tone"],"surrogates":"👨🏻‍❤️‍💋‍👨🏿","unicodeVersion":13.1,"diversity":["1f3fb","1f3ff"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone2_tone1","kiss_man_man_medium_light_skin_tone_light_skin_tone"],"surrogates":"👨🏼‍❤️‍💋‍👨🏻","unicodeVersion":13.1,"diversity":["1f3fc","1f3fb"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone2","kiss_man_man_medium_light_skin_tone"],"surrogates":"👨🏼‍❤️‍💋‍👨🏼","unicodeVersion":13.1,"diversity":["1f3fc"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone2_tone3","kiss_man_man_medium_light_skin_tone_medium_skin_tone"],"surrogates":"👨🏼‍❤️‍💋‍👨🏽","unicodeVersion":13.1,"diversity":["1f3fc","1f3fd"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone2_tone4","kiss_man_man_medium_light_skin_tone_medium_dark_skin_tone"],"surrogates":"👨🏼‍❤️‍💋‍👨🏾","unicodeVersion":13.1,"diversity":["1f3fc","1f3fe"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone2_tone5","kiss_man_man_medium_light_skin_tone_dark_skin_tone"],"surrogates":"👨🏼‍❤️‍💋‍👨🏿","unicodeVersion":13.1,"diversity":["1f3fc","1f3ff"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone3_tone1","kiss_man_man_medium_skin_tone_light_skin_tone"],"surrogates":"👨🏽‍❤️‍💋‍👨🏻","unicodeVersion":13.1,"diversity":["1f3fd","1f3fb"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone3_tone2","kiss_man_man_medium_skin_tone_medium_light_skin_tone"],"surrogates":"👨🏽‍❤️‍💋‍👨🏼","unicodeVersion":13.1,"diversity":["1f3fd","1f3fc"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone3","kiss_man_man_medium_skin_tone"],"surrogates":"👨🏽‍❤️‍💋‍👨🏽","unicodeVersion":13.1,"diversity":["1f3fd"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone3_tone4","kiss_man_man_medium_skin_tone_medium_dark_skin_tone"],"surrogates":"👨🏽‍❤️‍💋‍👨🏾","unicodeVersion":13.1,"diversity":["1f3fd","1f3fe"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone3_tone5","kiss_man_man_medium_skin_tone_dark_skin_tone"],"surrogates":"👨🏽‍❤️‍💋‍👨🏿","unicodeVersion":13.1,"diversity":["1f3fd","1f3ff"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone4_tone1","kiss_man_man_medium_dark_skin_tone_light_skin_tone"],"surrogates":"👨🏾‍❤️‍💋‍👨🏻","unicodeVersion":13.1,"diversity":["1f3fe","1f3fb"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone4_tone2","kiss_man_man_medium_dark_skin_tone_medium_light_skin_tone"],"surrogates":"👨🏾‍❤️‍💋‍👨🏼","unicodeVersion":13.1,"diversity":["1f3fe","1f3fc"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone4_tone3","kiss_man_man_medium_dark_skin_tone_medium_skin_tone"],"surrogates":"👨🏾‍❤️‍💋‍👨🏽","unicodeVersion":13.1,"diversity":["1f3fe","1f3fd"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone4","kiss_man_man_medium_dark_skin_tone"],"surrogates":"👨🏾‍❤️‍💋‍👨🏾","unicodeVersion":13.1,"diversity":["1f3fe"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone4_tone5","kiss_man_man_medium_dark_skin_tone_dark_skin_tone"],"surrogates":"👨🏾‍❤️‍💋‍👨🏿","unicodeVersion":13.1,"diversity":["1f3fe","1f3ff"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone5_tone1","kiss_man_man_dark_skin_tone_light_skin_tone"],"surrogates":"👨🏿‍❤️‍💋‍👨🏻","unicodeVersion":13.1,"diversity":["1f3ff","1f3fb"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone5_tone2","kiss_man_man_dark_skin_tone_medium_light_skin_tone"],"surrogates":"👨🏿‍❤️‍💋‍👨🏼","unicodeVersion":13.1,"diversity":["1f3ff","1f3fc"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone5_tone3","kiss_man_man_dark_skin_tone_medium_skin_tone"],"surrogates":"👨🏿‍❤️‍💋‍👨🏽","unicodeVersion":13.1,"diversity":["1f3ff","1f3fd"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone5_tone4","kiss_man_man_dark_skin_tone_medium_dark_skin_tone"],"surrogates":"👨🏿‍❤️‍💋‍👨🏾","unicodeVersion":13.1,"diversity":["1f3ff","1f3fe"],"hasMultiDiversityParent":true},{"names":["kiss_man_man_tone5","kiss_man_man_dark_skin_tone"],"surrogates":"👨🏿‍❤️‍💋‍👨🏿","unicodeVersion":13.1,"diversity":["1f3ff"],"hasMultiDiversityParent":true}],"hasMultiDiversity":true},{"names":["family"],"surrogates":"👪","unicodeVersion":6},{"names":["family_man_woman_boy"],"surrogates":"👨‍👩‍👦","unicodeVersion":6},{"names":["family_mwg"],"surrogates":"👨‍👩‍👧","unicodeVersion":6},{"names":["family_mwgb"],"surrogates":"👨‍👩‍👧‍👦","unicodeVersion":6},{"names":["family_mwbb"],"surrogates":"👨‍👩‍👦‍👦","unicodeVersion":6},{"names":["family_mwgg"],"surrogates":"👨‍👩‍👧‍👧","unicodeVersion":6},{"names":["family_wwb"],"surrogates":"👩‍👩‍👦","unicodeVersion":6},{"names":["family_wwg"],"surrogates":"👩‍👩‍👧","unicodeVersion":6},{"names":["family_wwgb"],"surrogates":"👩‍👩‍👧‍👦","unicodeVersion":6},{"names":["family_wwbb"],"surrogates":"👩‍👩‍👦‍👦","unicodeVersion":6},{"names":["family_wwgg"],"surrogates":"👩‍👩‍👧‍👧","unicodeVersion":6},{"names":["family_mmb"],"surrogates":"👨‍👨‍👦","unicodeVersion":6},{"names":["family_mmg"],"surrogates":"👨‍👨‍👧","unicodeVersion":6},{"names":["family_mmgb"],"surrogates":"👨‍👨‍👧‍👦","unicodeVersion":6},{"names":["family_mmbb"],"surrogates":"👨‍👨‍👦‍👦","unicodeVersion":6},{"names":["family_mmgg"],"surrogates":"👨‍👨‍👧‍👧","unicodeVersion":6},{"names":["family_woman_boy"],"surrogates":"👩‍👦","unicodeVersion":6},{"names":["family_woman_girl"],"surrogates":"👩‍👧","unicodeVersion":6},{"names":["family_woman_girl_boy"],"surrogates":"👩‍👧‍👦","unicodeVersion":6},{"names":["family_woman_boy_boy"],"surrogates":"👩‍👦‍👦","unicodeVersion":6},{"names":["family_woman_girl_girl"],"surrogates":"👩‍👧‍👧","unicodeVersion":6},{"names":["family_man_boy"],"surrogates":"👨‍👦","unicodeVersion":6},{"names":["family_man_girl"],"surrogates":"👨‍👧","unicodeVersion":6},{"names":["family_man_girl_boy"],"surrogates":"👨‍👧‍👦","unicodeVersion":6},{"names":["family_man_boy_boy"],"surrogates":"👨‍👦‍👦","unicodeVersion":6},{"names":["family_man_girl_girl"],"surrogates":"👨‍👧‍👧","unicodeVersion":6},{"names":["yarn"],"surrogates":"🧶","unicodeVersion":11},{"names":["thread"],"surrogates":"🧵","unicodeVersion":11},{"names":["coat"],"surrogates":"🧥","unicodeVersion":10},{"names":["lab_coat"],"surrogates":"🥼","unicodeVersion":11},{"names":["safety_vest"],"surrogates":"🦺","unicodeVersion":12},{"names":["womans_clothes"],"surrogates":"👚","unicodeVersion":6},{"names":["shirt"],"surrogates":"👕","unicodeVersion":6},{"names":["jeans"],"surrogates":"👖","unicodeVersion":6},{"names":["briefs"],"surrogates":"🩲","unicodeVersion":12},{"names":["shorts"],"surrogates":"🩳","unicodeVersion":12},{"names":["necktie"],"surrogates":"👔","unicodeVersion":6},{"names":["dress"],"surrogates":"👗","unicodeVersion":6},{"names":["bikini"],"surrogates":"👙","unicodeVersion":6},{"names":["one_piece_swimsuit"],"surrogates":"🩱","unicodeVersion":12},{"names":["kimono"],"surrogates":"👘","unicodeVersion":6},{"names":["sari"],"surrogates":"🥻","unicodeVersion":12},{"names":["womans_flat_shoe"],"surrogates":"🥿","unicodeVersion":11},{"names":["high_heel"],"surrogates":"👠","unicodeVersion":6},{"names":["sandal"],"surrogates":"👡","unicodeVersion":6},{"names":["boot"],"surrogates":"👢","unicodeVersion":6},{"names":["mans_shoe"],"surrogates":"👞","unicodeVersion":6},{"names":["athletic_shoe"],"surrogates":"👟","unicodeVersion":6},{"names":["hiking_boot"],"surrogates":"🥾","unicodeVersion":11},{"names":["thong_sandal"],"surrogates":"🩴","unicodeVersion":13},{"names":["socks"],"surrogates":"🧦","unicodeVersion":10},{"names":["gloves"],"surrogates":"🧤","unicodeVersion":10},{"names":["scarf"],"surrogates":"🧣","unicodeVersion":10},{"names":["tophat"],"surrogates":"🎩","unicodeVersion":6},{"names":["billed_cap"],"surrogates":"🧢","unicodeVersion":10},{"names":["womans_hat"],"surrogates":"👒","unicodeVersion":6},{"names":["mortar_board"],"surrogates":"🎓","unicodeVersion":6},{"names":["helmet_with_cross","helmet_with_white_cross"],"surrogates":"⛑️","unicodeVersion":5.2},{"names":["military_helmet"],"surrogates":"🪖","unicodeVersion":13},{"names":["crown"],"surrogates":"👑","unicodeVersion":6},{"names":["ring"],"surrogates":"💍","unicodeVersion":6},{"names":["pouch"],"surrogates":"👝","unicodeVersion":6},{"names":["purse"],"surrogates":"👛","unicodeVersion":6},{"names":["handbag"],"surrogates":"👜","unicodeVersion":6},{"names":["briefcase"],"surrogates":"💼","unicodeVersion":6},{"names":["school_satchel"],"surrogates":"🎒","unicodeVersion":6},{"names":["luggage"],"surrogates":"🧳","unicodeVersion":11},{"names":["eyeglasses"],"surrogates":"👓","unicodeVersion":6},{"names":["dark_sunglasses"],"surrogates":"🕶️","unicodeVersion":7},{"names":["goggles"],"surrogates":"🥽","unicodeVersion":11},{"names":["closed_umbrella"],"surrogates":"🌂","unicodeVersion":6}],"nature":[{"names":["dog"],"surrogates":"🐶","unicodeVersion":6},{"names":["cat"],"surrogates":"🐱","unicodeVersion":6},{"names":["mouse"],"surrogates":"🐭","unicodeVersion":6},{"names":["hamster"],"surrogates":"🐹","unicodeVersion":6},{"names":["rabbit"],"surrogates":"🐰","unicodeVersion":6},{"names":["fox","fox_face"],"surrogates":"🦊","unicodeVersion":9},{"names":["bear"],"surrogates":"🐻","unicodeVersion":6},{"names":["panda_face"],"surrogates":"🐼","unicodeVersion":6},{"names":["polar_bear"],"surrogates":"🐻‍❄️","unicodeVersion":13},{"names":["koala"],"surrogates":"🐨","unicodeVersion":6},{"names":["tiger"],"surrogates":"🐯","unicodeVersion":6},{"names":["lion_face","lion"],"surrogates":"🦁","unicodeVersion":8},{"names":["cow"],"surrogates":"🐮","unicodeVersion":6},{"names":["pig"],"surrogates":"🐷","unicodeVersion":6},{"names":["pig_nose"],"surrogates":"🐽","unicodeVersion":6},{"names":["frog"],"surrogates":"🐸","unicodeVersion":6},{"names":["monkey_face"],"surrogates":"🐵","unicodeVersion":6},{"names":["see_no_evil"],"surrogates":"🙈","unicodeVersion":6},{"names":["hear_no_evil"],"surrogates":"🙉","unicodeVersion":6},{"names":["speak_no_evil"],"surrogates":"🙊","unicodeVersion":6},{"names":["monkey"],"surrogates":"🐒","unicodeVersion":6},{"names":["chicken"],"surrogates":"🐔","unicodeVersion":6},{"names":["penguin"],"surrogates":"🐧","unicodeVersion":6},{"names":["bird"],"surrogates":"🐦","unicodeVersion":6},{"names":["baby_chick"],"surrogates":"🐤","unicodeVersion":6},{"names":["hatching_chick"],"surrogates":"🐣","unicodeVersion":6},{"names":["hatched_chick"],"surrogates":"🐥","unicodeVersion":6},{"names":["duck"],"surrogates":"🦆","unicodeVersion":9},{"names":["dodo"],"surrogates":"🦤","unicodeVersion":13},{"names":["eagle"],"surrogates":"🦅","unicodeVersion":9},{"names":["owl"],"surrogates":"🦉","unicodeVersion":9},{"names":["bat"],"surrogates":"🦇","unicodeVersion":9},{"names":["wolf"],"surrogates":"🐺","unicodeVersion":6},{"names":["boar"],"surrogates":"🐗","unicodeVersion":6},{"names":["horse"],"surrogates":"🐴","unicodeVersion":6},{"names":["unicorn","unicorn_face"],"surrogates":"🦄","unicodeVersion":8},{"names":["bee"],"surrogates":"🐝","unicodeVersion":6},{"names":["bug"],"surrogates":"🐛","unicodeVersion":6},{"names":["butterfly"],"surrogates":"🦋","unicodeVersion":9},{"names":["snail"],"surrogates":"🐌","unicodeVersion":6},{"names":["worm"],"surrogates":"🪱","unicodeVersion":13},{"names":["lady_beetle"],"surrogates":"🐞","unicodeVersion":6},{"names":["ant"],"surrogates":"🐜","unicodeVersion":6},{"names":["fly"],"surrogates":"🪰","unicodeVersion":13},{"names":["mosquito"],"surrogates":"🦟","unicodeVersion":11},{"names":["cockroach"],"surrogates":"🪳","unicodeVersion":13},{"names":["beetle"],"surrogates":"🪲","unicodeVersion":13},{"names":["cricket"],"surrogates":"🦗","unicodeVersion":10},{"names":["spider"],"surrogates":"🕷️","unicodeVersion":7},{"names":["spider_web"],"surrogates":"🕸️","unicodeVersion":7},{"names":["scorpion"],"surrogates":"🦂","unicodeVersion":8},{"names":["turtle"],"surrogates":"🐢","unicodeVersion":6},{"names":["snake"],"surrogates":"🐍","unicodeVersion":6},{"names":["lizard"],"surrogates":"🦎","unicodeVersion":9},{"names":["t_rex"],"surrogates":"🦖","unicodeVersion":10},{"names":["sauropod"],"surrogates":"🦕","unicodeVersion":10},{"names":["octopus"],"surrogates":"🐙","unicodeVersion":6},{"names":["squid"],"surrogates":"🦑","unicodeVersion":9},{"names":["shrimp"],"surrogates":"🦐","unicodeVersion":9},{"names":["lobster"],"surrogates":"🦞","unicodeVersion":11},{"names":["crab"],"surrogates":"🦀","unicodeVersion":8},{"names":["blowfish"],"surrogates":"🐡","unicodeVersion":6},{"names":["tropical_fish"],"surrogates":"🐠","unicodeVersion":6},{"names":["fish"],"surrogates":"🐟","unicodeVersion":6},{"names":["seal"],"surrogates":"🦭","unicodeVersion":13},{"names":["dolphin"],"surrogates":"🐬","unicodeVersion":6},{"names":["whale"],"surrogates":"🐳","unicodeVersion":6},{"names":["whale2"],"surrogates":"🐋","unicodeVersion":6},{"names":["shark"],"surrogates":"🦈","unicodeVersion":9},{"names":["crocodile"],"surrogates":"🐊","unicodeVersion":6},{"names":["tiger2"],"surrogates":"🐅","unicodeVersion":6},{"names":["leopard"],"surrogates":"🐆","unicodeVersion":6},{"names":["zebra"],"surrogates":"🦓","unicodeVersion":10},{"names":["gorilla"],"surrogates":"🦍","unicodeVersion":9},{"names":["orangutan"],"surrogates":"🦧","unicodeVersion":12},{"names":["elephant"],"surrogates":"🐘","unicodeVersion":6},{"names":["mammoth"],"surrogates":"🦣","unicodeVersion":13},{"names":["bison"],"surrogates":"🦬","unicodeVersion":13},{"names":["hippopotamus"],"surrogates":"🦛","unicodeVersion":11},{"names":["rhino","rhinoceros"],"surrogates":"🦏","unicodeVersion":9},{"names":["dromedary_camel"],"surrogates":"🐪","unicodeVersion":6},{"names":["camel"],"surrogates":"🐫","unicodeVersion":6},{"names":["giraffe"],"surrogates":"🦒","unicodeVersion":10},{"names":["kangaroo"],"surrogates":"🦘","unicodeVersion":11},{"names":["water_buffalo"],"surrogates":"🐃","unicodeVersion":6},{"names":["ox"],"surrogates":"🐂","unicodeVersion":6},{"names":["cow2"],"surrogates":"🐄","unicodeVersion":6},{"names":["racehorse"],"surrogates":"🐎","unicodeVersion":6},{"names":["pig2"],"surrogates":"🐖","unicodeVersion":6},{"names":["ram"],"surrogates":"🐏","unicodeVersion":6},{"names":["sheep"],"surrogates":"🐑","unicodeVersion":6},{"names":["llama"],"surrogates":"🦙","unicodeVersion":11},{"names":["goat"],"surrogates":"🐐","unicodeVersion":6},{"names":["deer"],"surrogates":"🦌","unicodeVersion":9},{"names":["dog2"],"surrogates":"🐕","unicodeVersion":6},{"names":["poodle"],"surrogates":"🐩","unicodeVersion":6},{"names":["guide_dog"],"surrogates":"🦮","unicodeVersion":12},{"names":["service_dog"],"surrogates":"🐕‍🦺","unicodeVersion":12},{"names":["cat2"],"surrogates":"🐈","unicodeVersion":6},{"names":["black_cat"],"surrogates":"🐈‍⬛","unicodeVersion":13},{"names":["rooster"],"surrogates":"🐓","unicodeVersion":6},{"names":["turkey"],"surrogates":"🦃","unicodeVersion":8},{"names":["peacock"],"surrogates":"🦚","unicodeVersion":11},{"names":["parrot"],"surrogates":"🦜","unicodeVersion":11},{"names":["swan"],"surrogates":"🦢","unicodeVersion":11},{"names":["flamingo"],"surrogates":"🦩","unicodeVersion":12},{"names":["dove","dove_of_peace"],"surrogates":"🕊️","unicodeVersion":7},{"names":["rabbit2"],"surrogates":"🐇","unicodeVersion":6},{"names":["raccoon"],"surrogates":"🦝","unicodeVersion":11},{"names":["skunk"],"surrogates":"🦨","unicodeVersion":12},{"names":["badger"],"surrogates":"🦡","unicodeVersion":11},{"names":["beaver"],"surrogates":"🦫","unicodeVersion":13},{"names":["otter"],"surrogates":"🦦","unicodeVersion":12},{"names":["sloth"],"surrogates":"🦥","unicodeVersion":12},{"names":["mouse2"],"surrogates":"🐁","unicodeVersion":6},{"names":["rat"],"surrogates":"🐀","unicodeVersion":6},{"names":["chipmunk"],"surrogates":"🐿️","unicodeVersion":7},{"names":["hedgehog"],"surrogates":"🦔","unicodeVersion":10},{"names":["feet","paw_prints"],"surrogates":"🐾","unicodeVersion":6},{"names":["dragon"],"surrogates":"🐉","unicodeVersion":6},{"names":["dragon_face"],"surrogates":"🐲","unicodeVersion":6},{"names":["cactus"],"surrogates":"🌵","unicodeVersion":6},{"names":["christmas_tree"],"surrogates":"🎄","unicodeVersion":6},{"names":["evergreen_tree"],"surrogates":"🌲","unicodeVersion":6},{"names":["deciduous_tree"],"surrogates":"🌳","unicodeVersion":6},{"names":["palm_tree"],"surrogates":"🌴","unicodeVersion":6},{"names":["seedling"],"surrogates":"🌱","unicodeVersion":6},{"names":["herb"],"surrogates":"🌿","unicodeVersion":6},{"names":["shamrock"],"surrogates":"☘️","unicodeVersion":4.1},{"names":["four_leaf_clover"],"surrogates":"🍀","unicodeVersion":6},{"names":["bamboo"],"surrogates":"🎍","unicodeVersion":6},{"names":["tanabata_tree"],"surrogates":"🎋","unicodeVersion":6},{"names":["leaves"],"surrogates":"🍃","unicodeVersion":6},{"names":["fallen_leaf"],"surrogates":"🍂","unicodeVersion":6},{"names":["maple_leaf"],"surrogates":"🍁","unicodeVersion":6},{"names":["feather"],"surrogates":"🪶","unicodeVersion":13},{"names":["mushroom"],"surrogates":"🍄","unicodeVersion":6},{"names":["shell"],"surrogates":"🐚","unicodeVersion":6},{"names":["rock"],"surrogates":"🪨","unicodeVersion":13},{"names":["wood"],"surrogates":"🪵","unicodeVersion":13},{"names":["ear_of_rice"],"surrogates":"🌾","unicodeVersion":6},{"names":["potted_plant"],"surrogates":"🪴","unicodeVersion":13},{"names":["bouquet"],"surrogates":"💐","unicodeVersion":6},{"names":["tulip"],"surrogates":"🌷","unicodeVersion":6},{"names":["rose"],"surrogates":"🌹","unicodeVersion":6},{"names":["wilted_rose","wilted_flower"],"surrogates":"🥀","unicodeVersion":9},{"names":["hibiscus"],"surrogates":"🌺","unicodeVersion":6},{"names":["cherry_blossom"],"surrogates":"🌸","unicodeVersion":6},{"names":["blossom"],"surrogates":"🌼","unicodeVersion":6},{"names":["sunflower"],"surrogates":"🌻","unicodeVersion":6},{"names":["sun_with_face"],"surrogates":"🌞","unicodeVersion":6},{"names":["full_moon_with_face"],"surrogates":"🌝","unicodeVersion":6},{"names":["first_quarter_moon_with_face"],"surrogates":"🌛","unicodeVersion":6},{"names":["last_quarter_moon_with_face"],"surrogates":"🌜","unicodeVersion":6},{"names":["new_moon_with_face"],"surrogates":"🌚","unicodeVersion":6},{"names":["full_moon"],"surrogates":"🌕","unicodeVersion":6},{"names":["waning_gibbous_moon"],"surrogates":"🌖","unicodeVersion":6},{"names":["last_quarter_moon"],"surrogates":"🌗","unicodeVersion":6},{"names":["waning_crescent_moon"],"surrogates":"🌘","unicodeVersion":6},{"names":["new_moon"],"surrogates":"🌑","unicodeVersion":6},{"names":["waxing_crescent_moon"],"surrogates":"🌒","unicodeVersion":6},{"names":["first_quarter_moon"],"surrogates":"🌓","unicodeVersion":6},{"names":["waxing_gibbous_moon"],"surrogates":"🌔","unicodeVersion":6},{"names":["crescent_moon"],"surrogates":"🌙","unicodeVersion":6},{"names":["earth_americas"],"surrogates":"🌎","unicodeVersion":6},{"names":["earth_africa"],"surrogates":"🌍","unicodeVersion":6},{"names":["earth_asia"],"surrogates":"🌏","unicodeVersion":6},{"names":["ringed_planet"],"surrogates":"🪐","unicodeVersion":12},{"names":["dizzy"],"surrogates":"💫","unicodeVersion":6},{"names":["star"],"surrogates":"⭐","unicodeVersion":5.1},{"names":["star2"],"surrogates":"🌟","unicodeVersion":6},{"names":["sparkles"],"surrogates":"✨","unicodeVersion":6},{"names":["zap"],"surrogates":"⚡","unicodeVersion":4},{"names":["comet"],"surrogates":"☄️","unicodeVersion":1.1},{"names":["boom"],"surrogates":"💥","unicodeVersion":6},{"names":["fire","flame"],"surrogates":"🔥","unicodeVersion":6},{"names":["cloud_tornado","cloud_with_tornado"],"surrogates":"🌪️","unicodeVersion":7},{"names":["rainbow"],"surrogates":"🌈","unicodeVersion":6},{"names":["sunny"],"surrogates":"☀️","unicodeVersion":1.1},{"names":["white_sun_small_cloud","white_sun_with_small_cloud"],"surrogates":"🌤️","unicodeVersion":7},{"names":["partly_sunny"],"surrogates":"⛅","unicodeVersion":5.2},{"names":["white_sun_cloud","white_sun_behind_cloud"],"surrogates":"🌥️","unicodeVersion":7},{"names":["cloud"],"surrogates":"☁️","unicodeVersion":1.1},{"names":["white_sun_rain_cloud","white_sun_behind_cloud_with_rain"],"surrogates":"🌦️","unicodeVersion":7},{"names":["cloud_rain","cloud_with_rain"],"surrogates":"🌧️","unicodeVersion":7},{"names":["thunder_cloud_rain","thunder_cloud_and_rain"],"surrogates":"⛈️","unicodeVersion":5.2},{"names":["cloud_lightning","cloud_with_lightning"],"surrogates":"🌩️","unicodeVersion":7},{"names":["cloud_snow","cloud_with_snow"],"surrogates":"🌨️","unicodeVersion":7},{"names":["snowflake"],"surrogates":"❄️","unicodeVersion":1.1},{"names":["snowman2"],"surrogates":"☃️","unicodeVersion":1.1},{"names":["snowman"],"surrogates":"⛄","unicodeVersion":5.2},{"names":["wind_blowing_face"],"surrogates":"🌬️","unicodeVersion":7},{"names":["dash"],"surrogates":"💨","unicodeVersion":6},{"names":["droplet"],"surrogates":"💧","unicodeVersion":6},{"names":["sweat_drops"],"surrogates":"💦","unicodeVersion":6},{"names":["umbrella"],"surrogates":"☔","unicodeVersion":4},{"names":["umbrella2"],"surrogates":"☂️","unicodeVersion":1.1},{"names":["ocean"],"surrogates":"🌊","unicodeVersion":6},{"names":["fog"],"surrogates":"🌫️","unicodeVersion":7}],"food":[{"names":["green_apple"],"surrogates":"🍏","unicodeVersion":6},{"names":["apple"],"surrogates":"🍎","unicodeVersion":6},{"names":["pear"],"surrogates":"🍐","unicodeVersion":6},{"names":["tangerine"],"surrogates":"🍊","unicodeVersion":6},{"names":["lemon"],"surrogates":"🍋","unicodeVersion":6},{"names":["banana"],"surrogates":"🍌","unicodeVersion":6},{"names":["watermelon"],"surrogates":"🍉","unicodeVersion":6},{"names":["grapes"],"surrogates":"🍇","unicodeVersion":6},{"names":["blueberries"],"surrogates":"🫐","unicodeVersion":13},{"names":["strawberry"],"surrogates":"🍓","unicodeVersion":6},{"names":["melon"],"surrogates":"🍈","unicodeVersion":6},{"names":["cherries"],"surrogates":"🍒","unicodeVersion":6},{"names":["peach"],"surrogates":"🍑","unicodeVersion":6},{"names":["mango"],"surrogates":"🥭","unicodeVersion":11},{"names":["pineapple"],"surrogates":"🍍","unicodeVersion":6},{"names":["coconut"],"surrogates":"🥥","unicodeVersion":10},{"names":["kiwi","kiwifruit"],"surrogates":"🥝","unicodeVersion":9},{"names":["tomato"],"surrogates":"🍅","unicodeVersion":6},{"names":["eggplant"],"surrogates":"🍆","unicodeVersion":6},{"names":["avocado"],"surrogates":"🥑","unicodeVersion":9},{"names":["olive"],"surrogates":"🫒","unicodeVersion":13},{"names":["broccoli"],"surrogates":"🥦","unicodeVersion":10},{"names":["leafy_green"],"surrogates":"🥬","unicodeVersion":11},{"names":["bell_pepper"],"surrogates":"🫑","unicodeVersion":13},{"names":["cucumber"],"surrogates":"🥒","unicodeVersion":9},{"names":["hot_pepper"],"surrogates":"🌶️","unicodeVersion":7},{"names":["corn"],"surrogates":"🌽","unicodeVersion":6},{"names":["carrot"],"surrogates":"🥕","unicodeVersion":9},{"names":["garlic"],"surrogates":"🧄","unicodeVersion":12},{"names":["onion"],"surrogates":"🧅","unicodeVersion":12},{"names":["potato"],"surrogates":"🥔","unicodeVersion":9},{"names":["sweet_potato"],"surrogates":"🍠","unicodeVersion":6},{"names":["croissant"],"surrogates":"🥐","unicodeVersion":9},{"names":["bagel"],"surrogates":"🥯","unicodeVersion":11},{"names":["bread"],"surrogates":"🍞","unicodeVersion":6},{"names":["french_bread","baguette_bread"],"surrogates":"🥖","unicodeVersion":9},{"names":["flatbread"],"surrogates":"🫓","unicodeVersion":13},{"names":["pretzel"],"surrogates":"🥨","unicodeVersion":10},{"names":["cheese","cheese_wedge"],"surrogates":"🧀","unicodeVersion":8},{"names":["egg"],"surrogates":"🥚","unicodeVersion":9},{"names":["cooking"],"surrogates":"🍳","unicodeVersion":6},{"names":["butter"],"surrogates":"🧈","unicodeVersion":12},{"names":["pancakes"],"surrogates":"🥞","unicodeVersion":9},{"names":["waffle"],"surrogates":"🧇","unicodeVersion":12},{"names":["bacon"],"surrogates":"🥓","unicodeVersion":9},{"names":["cut_of_meat"],"surrogates":"🥩","unicodeVersion":10},{"names":["poultry_leg"],"surrogates":"🍗","unicodeVersion":6},{"names":["meat_on_bone"],"surrogates":"🍖","unicodeVersion":6},{"names":["hotdog","hot_dog"],"surrogates":"🌭","unicodeVersion":8},{"names":["hamburger"],"surrogates":"🍔","unicodeVersion":6},{"names":["fries"],"surrogates":"🍟","unicodeVersion":6},{"names":["pizza"],"surrogates":"🍕","unicodeVersion":6},{"names":["sandwich"],"surrogates":"🥪","unicodeVersion":10},{"names":["stuffed_flatbread","stuffed_pita"],"surrogates":"🥙","unicodeVersion":9},{"names":["falafel"],"surrogates":"🧆","unicodeVersion":12},{"names":["taco"],"surrogates":"🌮","unicodeVersion":8},{"names":["burrito"],"surrogates":"🌯","unicodeVersion":8},{"names":["tamale"],"surrogates":"🫔","unicodeVersion":13},{"names":["salad","green_salad"],"surrogates":"🥗","unicodeVersion":9},{"names":["shallow_pan_of_food","paella"],"surrogates":"🥘","unicodeVersion":9},{"names":["fondue"],"surrogates":"🫕","unicodeVersion":13},{"names":["canned_food"],"surrogates":"🥫","unicodeVersion":10},{"names":["spaghetti"],"surrogates":"🍝","unicodeVersion":6},{"names":["ramen"],"surrogates":"🍜","unicodeVersion":6},{"names":["stew"],"surrogates":"🍲","unicodeVersion":6},{"names":["curry"],"surrogates":"🍛","unicodeVersion":6},{"names":["sushi"],"surrogates":"🍣","unicodeVersion":6},{"names":["bento"],"surrogates":"🍱","unicodeVersion":6},{"names":["dumpling"],"surrogates":"🥟","unicodeVersion":10},{"names":["oyster"],"surrogates":"🦪","unicodeVersion":12},{"names":["fried_shrimp"],"surrogates":"🍤","unicodeVersion":6},{"names":["rice_ball"],"surrogates":"🍙","unicodeVersion":6},{"names":["rice"],"surrogates":"🍚","unicodeVersion":6},{"names":["rice_cracker"],"surrogates":"🍘","unicodeVersion":6},{"names":["fish_cake"],"surrogates":"🍥","unicodeVersion":6},{"names":["fortune_cookie"],"surrogates":"🥠","unicodeVersion":10},{"names":["moon_cake"],"surrogates":"🥮","unicodeVersion":11},{"names":["oden"],"surrogates":"🍢","unicodeVersion":6},{"names":["dango"],"surrogates":"🍡","unicodeVersion":6},{"names":["shaved_ice"],"surrogates":"🍧","unicodeVersion":6},{"names":["ice_cream"],"surrogates":"🍨","unicodeVersion":6},{"names":["icecream"],"surrogates":"🍦","unicodeVersion":6},{"names":["pie"],"surrogates":"🥧","unicodeVersion":10},{"names":["cupcake"],"surrogates":"🧁","unicodeVersion":11},{"names":["cake"],"surrogates":"🍰","unicodeVersion":6},{"names":["birthday"],"surrogates":"🎂","unicodeVersion":6},{"names":["custard","pudding","flan"],"surrogates":"🍮","unicodeVersion":6},{"names":["lollipop"],"surrogates":"🍭","unicodeVersion":6},{"names":["candy"],"surrogates":"🍬","unicodeVersion":6},{"names":["chocolate_bar"],"surrogates":"🍫","unicodeVersion":6},{"names":["popcorn"],"surrogates":"🍿","unicodeVersion":8},{"names":["doughnut"],"surrogates":"🍩","unicodeVersion":6},{"names":["cookie"],"surrogates":"🍪","unicodeVersion":6},{"names":["chestnut"],"surrogates":"🌰","unicodeVersion":6},{"names":["peanuts","shelled_peanut"],"surrogates":"🥜","unicodeVersion":9},{"names":["honey_pot"],"surrogates":"🍯","unicodeVersion":6},{"names":["milk","glass_of_milk"],"surrogates":"🥛","unicodeVersion":9},{"names":["baby_bottle"],"surrogates":"🍼","unicodeVersion":6},{"names":["coffee"],"surrogates":"☕","unicodeVersion":4},{"names":["tea"],"surrogates":"🍵","unicodeVersion":6},{"names":["teapot"],"surrogates":"🫖","unicodeVersion":13},{"names":["mate"],"surrogates":"🧉","unicodeVersion":12},{"names":["bubble_tea"],"surrogates":"🧋","unicodeVersion":13},{"names":["beverage_box"],"surrogates":"🧃","unicodeVersion":12},{"names":["cup_with_straw"],"surrogates":"🥤","unicodeVersion":10},{"names":["sake"],"surrogates":"🍶","unicodeVersion":6},{"names":["beer"],"surrogates":"🍺","unicodeVersion":6},{"names":["beers"],"surrogates":"🍻","unicodeVersion":6},{"names":["champagne_glass","clinking_glass"],"surrogates":"🥂","unicodeVersion":9},{"names":["wine_glass"],"surrogates":"🍷","unicodeVersion":6},{"names":["tumbler_glass","whisky"],"surrogates":"🥃","unicodeVersion":9},{"names":["cocktail"],"surrogates":"🍸","unicodeVersion":6},{"names":["tropical_drink"],"surrogates":"🍹","unicodeVersion":6},{"names":["champagne","bottle_with_popping_cork"],"surrogates":"🍾","unicodeVersion":8},{"names":["ice_cube"],"surrogates":"🧊","unicodeVersion":12},{"names":["spoon"],"surrogates":"🥄","unicodeVersion":9},{"names":["fork_and_knife"],"surrogates":"🍴","unicodeVersion":6},{"names":["fork_knife_plate","fork_and_knife_with_plate"],"surrogates":"🍽️","unicodeVersion":7},{"names":["bowl_with_spoon"],"surrogates":"🥣","unicodeVersion":10},{"names":["takeout_box"],"surrogates":"🥡","unicodeVersion":10},{"names":["chopsticks"],"surrogates":"🥢","unicodeVersion":10},{"names":["salt"],"surrogates":"🧂","unicodeVersion":11}],"activity":[{"names":["soccer"],"surrogates":"⚽","unicodeVersion":5.2},{"names":["basketball"],"surrogates":"🏀","unicodeVersion":6},{"names":["football"],"surrogates":"🏈","unicodeVersion":6},{"names":["baseball"],"surrogates":"⚾","unicodeVersion":5.2},{"names":["softball"],"surrogates":"🥎","unicodeVersion":11},{"names":["tennis"],"surrogates":"🎾","unicodeVersion":6},{"names":["volleyball"],"surrogates":"🏐","unicodeVersion":8},{"names":["rugby_football"],"surrogates":"🏉","unicodeVersion":6},{"names":["flying_disc"],"surrogates":"🥏","unicodeVersion":11},{"names":["boomerang"],"surrogates":"🪃","unicodeVersion":13},{"names":["8ball"],"surrogates":"🎱","unicodeVersion":6},{"names":["yo_yo"],"surrogates":"🪀","unicodeVersion":12},{"names":["ping_pong","table_tennis"],"surrogates":"🏓","unicodeVersion":8},{"names":["badminton"],"surrogates":"🏸","unicodeVersion":8},{"names":["hockey"],"surrogates":"🏒","unicodeVersion":8},{"names":["field_hockey"],"surrogates":"🏑","unicodeVersion":8},{"names":["lacrosse"],"surrogates":"🥍","unicodeVersion":11},{"names":["cricket_game","cricket_bat_ball"],"surrogates":"🏏","unicodeVersion":8},{"names":["goal","goal_net"],"surrogates":"🥅","unicodeVersion":9},{"names":["golf"],"surrogates":"⛳","unicodeVersion":5.2},{"names":["kite"],"surrogates":"🪁","unicodeVersion":12},{"names":["bow_and_arrow","archery"],"surrogates":"🏹","unicodeVersion":8},{"names":["fishing_pole_and_fish"],"surrogates":"🎣","unicodeVersion":6},{"names":["diving_mask"],"surrogates":"🤿","unicodeVersion":12},{"names":["boxing_glove","boxing_gloves"],"surrogates":"🥊","unicodeVersion":9},{"names":["martial_arts_uniform","karate_uniform"],"surrogates":"🥋","unicodeVersion":9},{"names":["running_shirt_with_sash"],"surrogates":"🎽","unicodeVersion":6},{"names":["skateboard"],"surrogates":"🛹","unicodeVersion":11},{"names":["roller_skate"],"surrogates":"🛼","unicodeVersion":13},{"names":["sled"],"surrogates":"🛷","unicodeVersion":10},{"names":["ice_skate"],"surrogates":"⛸️","unicodeVersion":5.2},{"names":["curling_stone"],"surrogates":"🥌","unicodeVersion":10},{"names":["ski"],"surrogates":"🎿","unicodeVersion":6},{"names":["skier"],"surrogates":"⛷️","unicodeVersion":5.2},{"names":["snowboarder"],"surrogates":"🏂","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["snowboarder_tone1","snowboarder_light_skin_tone"],"surrogates":"🏂🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["snowboarder_tone2","snowboarder_medium_light_skin_tone"],"surrogates":"🏂🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["snowboarder_tone3","snowboarder_medium_skin_tone"],"surrogates":"🏂🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["snowboarder_tone4","snowboarder_medium_dark_skin_tone"],"surrogates":"🏂🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["snowboarder_tone5","snowboarder_dark_skin_tone"],"surrogates":"🏂🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["parachute"],"surrogates":"🪂","unicodeVersion":12},{"names":["person_lifting_weights","lifter","weight_lifter"],"surrogates":"🏋️","unicodeVersion":7,"hasDiversity":true,"diversityChildren":[{"names":["person_lifting_weights_tone1","lifter_tone1","weight_lifter_tone1"],"surrogates":"🏋🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_lifting_weights_tone2","lifter_tone2","weight_lifter_tone2"],"surrogates":"🏋🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_lifting_weights_tone3","lifter_tone3","weight_lifter_tone3"],"surrogates":"🏋🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_lifting_weights_tone4","lifter_tone4","weight_lifter_tone4"],"surrogates":"🏋🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_lifting_weights_tone5","lifter_tone5","weight_lifter_tone5"],"surrogates":"🏋🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_lifting_weights"],"surrogates":"🏋️‍♀️","unicodeVersion":7,"hasDiversity":true,"diversityChildren":[{"names":["woman_lifting_weights_tone1","woman_lifting_weights_light_skin_tone"],"surrogates":"🏋🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_lifting_weights_tone2","woman_lifting_weights_medium_light_skin_tone"],"surrogates":"🏋🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_lifting_weights_tone3","woman_lifting_weights_medium_skin_tone"],"surrogates":"🏋🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_lifting_weights_tone4","woman_lifting_weights_medium_dark_skin_tone"],"surrogates":"🏋🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_lifting_weights_tone5","woman_lifting_weights_dark_skin_tone"],"surrogates":"🏋🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_lifting_weights"],"surrogates":"🏋️‍♂️","unicodeVersion":7,"hasDiversity":true,"diversityChildren":[{"names":["man_lifting_weights_tone1","man_lifting_weights_light_skin_tone"],"surrogates":"🏋🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_lifting_weights_tone2","man_lifting_weights_medium_light_skin_tone"],"surrogates":"🏋🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_lifting_weights_tone3","man_lifting_weights_medium_skin_tone"],"surrogates":"🏋🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_lifting_weights_tone4","man_lifting_weights_medium_dark_skin_tone"],"surrogates":"🏋🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_lifting_weights_tone5","man_lifting_weights_dark_skin_tone"],"surrogates":"🏋🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["people_wrestling","wrestlers","wrestling"],"surrogates":"🤼","unicodeVersion":9},{"names":["women_wrestling"],"surrogates":"🤼‍♀️","unicodeVersion":9},{"names":["men_wrestling"],"surrogates":"🤼‍♂️","unicodeVersion":9},{"names":["person_doing_cartwheel","cartwheel"],"surrogates":"🤸","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["person_doing_cartwheel_tone1","cartwheel_tone1"],"surrogates":"🤸🏻","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_doing_cartwheel_tone2","cartwheel_tone2"],"surrogates":"🤸🏼","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_doing_cartwheel_tone3","cartwheel_tone3"],"surrogates":"🤸🏽","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_doing_cartwheel_tone4","cartwheel_tone4"],"surrogates":"🤸🏾","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_doing_cartwheel_tone5","cartwheel_tone5"],"surrogates":"🤸🏿","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_cartwheeling"],"surrogates":"🤸‍♀️","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["woman_cartwheeling_tone1","woman_cartwheeling_light_skin_tone"],"surrogates":"🤸🏻‍♀️","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_cartwheeling_tone2","woman_cartwheeling_medium_light_skin_tone"],"surrogates":"🤸🏼‍♀️","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_cartwheeling_tone3","woman_cartwheeling_medium_skin_tone"],"surrogates":"🤸🏽‍♀️","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_cartwheeling_tone4","woman_cartwheeling_medium_dark_skin_tone"],"surrogates":"🤸🏾‍♀️","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_cartwheeling_tone5","woman_cartwheeling_dark_skin_tone"],"surrogates":"🤸🏿‍♀️","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_cartwheeling"],"surrogates":"🤸‍♂️","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["man_cartwheeling_tone1","man_cartwheeling_light_skin_tone"],"surrogates":"🤸🏻‍♂️","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_cartwheeling_tone2","man_cartwheeling_medium_light_skin_tone"],"surrogates":"🤸🏼‍♂️","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_cartwheeling_tone3","man_cartwheeling_medium_skin_tone"],"surrogates":"🤸🏽‍♂️","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_cartwheeling_tone4","man_cartwheeling_medium_dark_skin_tone"],"surrogates":"🤸🏾‍♂️","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_cartwheeling_tone5","man_cartwheeling_dark_skin_tone"],"surrogates":"🤸🏿‍♂️","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_bouncing_ball","basketball_player","person_with_ball"],"surrogates":"⛹️","unicodeVersion":5.2,"hasDiversity":true,"diversityChildren":[{"names":["person_bouncing_ball_tone1","basketball_player_tone1","person_with_ball_tone1"],"surrogates":"⛹🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_bouncing_ball_tone2","basketball_player_tone2","person_with_ball_tone2"],"surrogates":"⛹🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_bouncing_ball_tone3","basketball_player_tone3","person_with_ball_tone3"],"surrogates":"⛹🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_bouncing_ball_tone4","basketball_player_tone4","person_with_ball_tone4"],"surrogates":"⛹🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_bouncing_ball_tone5","basketball_player_tone5","person_with_ball_tone5"],"surrogates":"⛹🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_bouncing_ball"],"surrogates":"⛹️‍♀️","unicodeVersion":5.2,"hasDiversity":true,"diversityChildren":[{"names":["woman_bouncing_ball_tone1","woman_bouncing_ball_light_skin_tone"],"surrogates":"⛹🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_bouncing_ball_tone2","woman_bouncing_ball_medium_light_skin_tone"],"surrogates":"⛹🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_bouncing_ball_tone3","woman_bouncing_ball_medium_skin_tone"],"surrogates":"⛹🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_bouncing_ball_tone4","woman_bouncing_ball_medium_dark_skin_tone"],"surrogates":"⛹🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_bouncing_ball_tone5","woman_bouncing_ball_dark_skin_tone"],"surrogates":"⛹🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_bouncing_ball"],"surrogates":"⛹️‍♂️","unicodeVersion":5.2,"hasDiversity":true,"diversityChildren":[{"names":["man_bouncing_ball_tone1","man_bouncing_ball_light_skin_tone"],"surrogates":"⛹🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_bouncing_ball_tone2","man_bouncing_ball_medium_light_skin_tone"],"surrogates":"⛹🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_bouncing_ball_tone3","man_bouncing_ball_medium_skin_tone"],"surrogates":"⛹🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_bouncing_ball_tone4","man_bouncing_ball_medium_dark_skin_tone"],"surrogates":"⛹🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_bouncing_ball_tone5","man_bouncing_ball_dark_skin_tone"],"surrogates":"⛹🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_fencing","fencer","fencing"],"surrogates":"🤺","unicodeVersion":9},{"names":["person_playing_handball","handball"],"surrogates":"🤾","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["person_playing_handball_tone1","handball_tone1"],"surrogates":"🤾🏻","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_playing_handball_tone2","handball_tone2"],"surrogates":"🤾🏼","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_playing_handball_tone3","handball_tone3"],"surrogates":"🤾🏽","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_playing_handball_tone4","handball_tone4"],"surrogates":"🤾🏾","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_playing_handball_tone5","handball_tone5"],"surrogates":"🤾🏿","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_playing_handball"],"surrogates":"🤾‍♀️","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["woman_playing_handball_tone1","woman_playing_handball_light_skin_tone"],"surrogates":"🤾🏻‍♀️","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_playing_handball_tone2","woman_playing_handball_medium_light_skin_tone"],"surrogates":"🤾🏼‍♀️","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_playing_handball_tone3","woman_playing_handball_medium_skin_tone"],"surrogates":"🤾🏽‍♀️","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_playing_handball_tone4","woman_playing_handball_medium_dark_skin_tone"],"surrogates":"🤾🏾‍♀️","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_playing_handball_tone5","woman_playing_handball_dark_skin_tone"],"surrogates":"🤾🏿‍♀️","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_playing_handball"],"surrogates":"🤾‍♂️","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["man_playing_handball_tone1","man_playing_handball_light_skin_tone"],"surrogates":"🤾🏻‍♂️","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_playing_handball_tone2","man_playing_handball_medium_light_skin_tone"],"surrogates":"🤾🏼‍♂️","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_playing_handball_tone3","man_playing_handball_medium_skin_tone"],"surrogates":"🤾🏽‍♂️","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_playing_handball_tone4","man_playing_handball_medium_dark_skin_tone"],"surrogates":"🤾🏾‍♂️","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_playing_handball_tone5","man_playing_handball_dark_skin_tone"],"surrogates":"🤾🏿‍♂️","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_golfing","golfer"],"surrogates":"🏌️","unicodeVersion":7,"hasDiversity":true,"diversityChildren":[{"names":["person_golfing_tone1","person_golfing_light_skin_tone"],"surrogates":"🏌🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_golfing_tone2","person_golfing_medium_light_skin_tone"],"surrogates":"🏌🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_golfing_tone3","person_golfing_medium_skin_tone"],"surrogates":"🏌🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_golfing_tone4","person_golfing_medium_dark_skin_tone"],"surrogates":"🏌🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_golfing_tone5","person_golfing_dark_skin_tone"],"surrogates":"🏌🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_golfing"],"surrogates":"🏌️‍♀️","unicodeVersion":7,"hasDiversity":true,"diversityChildren":[{"names":["woman_golfing_tone1","woman_golfing_light_skin_tone"],"surrogates":"🏌🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_golfing_tone2","woman_golfing_medium_light_skin_tone"],"surrogates":"🏌🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_golfing_tone3","woman_golfing_medium_skin_tone"],"surrogates":"🏌🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_golfing_tone4","woman_golfing_medium_dark_skin_tone"],"surrogates":"🏌🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_golfing_tone5","woman_golfing_dark_skin_tone"],"surrogates":"🏌🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_golfing"],"surrogates":"🏌️‍♂️","unicodeVersion":7,"hasDiversity":true,"diversityChildren":[{"names":["man_golfing_tone1","man_golfing_light_skin_tone"],"surrogates":"🏌🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_golfing_tone2","man_golfing_medium_light_skin_tone"],"surrogates":"🏌🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_golfing_tone3","man_golfing_medium_skin_tone"],"surrogates":"🏌🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_golfing_tone4","man_golfing_medium_dark_skin_tone"],"surrogates":"🏌🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_golfing_tone5","man_golfing_dark_skin_tone"],"surrogates":"🏌🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["horse_racing"],"surrogates":"🏇","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["horse_racing_tone1"],"surrogates":"🏇🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["horse_racing_tone2"],"surrogates":"🏇🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["horse_racing_tone3"],"surrogates":"🏇🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["horse_racing_tone4"],"surrogates":"🏇🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["horse_racing_tone5"],"surrogates":"🏇🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_in_lotus_position"],"surrogates":"🧘","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["person_in_lotus_position_tone1","person_in_lotus_position_light_skin_tone"],"surrogates":"🧘🏻","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_in_lotus_position_tone2","person_in_lotus_position_medium_light_skin_tone"],"surrogates":"🧘🏼","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_in_lotus_position_tone3","person_in_lotus_position_medium_skin_tone"],"surrogates":"🧘🏽","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_in_lotus_position_tone4","person_in_lotus_position_medium_dark_skin_tone"],"surrogates":"🧘🏾","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_in_lotus_position_tone5","person_in_lotus_position_dark_skin_tone"],"surrogates":"🧘🏿","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_in_lotus_position"],"surrogates":"🧘‍♀️","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["woman_in_lotus_position_tone1","woman_in_lotus_position_light_skin_tone"],"surrogates":"🧘🏻‍♀️","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_in_lotus_position_tone2","woman_in_lotus_position_medium_light_skin_tone"],"surrogates":"🧘🏼‍♀️","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_in_lotus_position_tone3","woman_in_lotus_position_medium_skin_tone"],"surrogates":"🧘🏽‍♀️","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_in_lotus_position_tone4","woman_in_lotus_position_medium_dark_skin_tone"],"surrogates":"🧘🏾‍♀️","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_in_lotus_position_tone5","woman_in_lotus_position_dark_skin_tone"],"surrogates":"🧘🏿‍♀️","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_in_lotus_position"],"surrogates":"🧘‍♂️","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["man_in_lotus_position_tone1","man_in_lotus_position_light_skin_tone"],"surrogates":"🧘🏻‍♂️","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_in_lotus_position_tone2","man_in_lotus_position_medium_light_skin_tone"],"surrogates":"🧘🏼‍♂️","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_in_lotus_position_tone3","man_in_lotus_position_medium_skin_tone"],"surrogates":"🧘🏽‍♂️","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_in_lotus_position_tone4","man_in_lotus_position_medium_dark_skin_tone"],"surrogates":"🧘🏾‍♂️","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_in_lotus_position_tone5","man_in_lotus_position_dark_skin_tone"],"surrogates":"🧘🏿‍♂️","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_surfing","surfer"],"surrogates":"🏄","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["person_surfing_tone1","surfer_tone1"],"surrogates":"🏄🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_surfing_tone2","surfer_tone2"],"surrogates":"🏄🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_surfing_tone3","surfer_tone3"],"surrogates":"🏄🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_surfing_tone4","surfer_tone4"],"surrogates":"🏄🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_surfing_tone5","surfer_tone5"],"surrogates":"🏄🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_surfing"],"surrogates":"🏄‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_surfing_tone1","woman_surfing_light_skin_tone"],"surrogates":"🏄🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_surfing_tone2","woman_surfing_medium_light_skin_tone"],"surrogates":"🏄🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_surfing_tone3","woman_surfing_medium_skin_tone"],"surrogates":"🏄🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_surfing_tone4","woman_surfing_medium_dark_skin_tone"],"surrogates":"🏄🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_surfing_tone5","woman_surfing_dark_skin_tone"],"surrogates":"🏄🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_surfing"],"surrogates":"🏄‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_surfing_tone1","man_surfing_light_skin_tone"],"surrogates":"🏄🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_surfing_tone2","man_surfing_medium_light_skin_tone"],"surrogates":"🏄🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_surfing_tone3","man_surfing_medium_skin_tone"],"surrogates":"🏄🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_surfing_tone4","man_surfing_medium_dark_skin_tone"],"surrogates":"🏄🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_surfing_tone5","man_surfing_dark_skin_tone"],"surrogates":"🏄🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_swimming","swimmer"],"surrogates":"🏊","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["person_swimming_tone1","swimmer_tone1"],"surrogates":"🏊🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_swimming_tone2","swimmer_tone2"],"surrogates":"🏊🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_swimming_tone3","swimmer_tone3"],"surrogates":"🏊🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_swimming_tone4","swimmer_tone4"],"surrogates":"🏊🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_swimming_tone5","swimmer_tone5"],"surrogates":"🏊🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_swimming"],"surrogates":"🏊‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_swimming_tone1","woman_swimming_light_skin_tone"],"surrogates":"🏊🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_swimming_tone2","woman_swimming_medium_light_skin_tone"],"surrogates":"🏊🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_swimming_tone3","woman_swimming_medium_skin_tone"],"surrogates":"🏊🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_swimming_tone4","woman_swimming_medium_dark_skin_tone"],"surrogates":"🏊🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_swimming_tone5","woman_swimming_dark_skin_tone"],"surrogates":"🏊🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_swimming"],"surrogates":"🏊‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_swimming_tone1","man_swimming_light_skin_tone"],"surrogates":"🏊🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_swimming_tone2","man_swimming_medium_light_skin_tone"],"surrogates":"🏊🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_swimming_tone3","man_swimming_medium_skin_tone"],"surrogates":"🏊🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_swimming_tone4","man_swimming_medium_dark_skin_tone"],"surrogates":"🏊🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_swimming_tone5","man_swimming_dark_skin_tone"],"surrogates":"🏊🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_playing_water_polo","water_polo"],"surrogates":"🤽","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["person_playing_water_polo_tone1","water_polo_tone1"],"surrogates":"🤽🏻","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_playing_water_polo_tone2","water_polo_tone2"],"surrogates":"🤽🏼","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_playing_water_polo_tone3","water_polo_tone3"],"surrogates":"🤽🏽","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_playing_water_polo_tone4","water_polo_tone4"],"surrogates":"🤽🏾","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_playing_water_polo_tone5","water_polo_tone5"],"surrogates":"🤽🏿","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_playing_water_polo"],"surrogates":"🤽‍♀️","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["woman_playing_water_polo_tone1","woman_playing_water_polo_light_skin_tone"],"surrogates":"🤽🏻‍♀️","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_playing_water_polo_tone2","woman_playing_water_polo_medium_light_skin_tone"],"surrogates":"🤽🏼‍♀️","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_playing_water_polo_tone3","woman_playing_water_polo_medium_skin_tone"],"surrogates":"🤽🏽‍♀️","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_playing_water_polo_tone4","woman_playing_water_polo_medium_dark_skin_tone"],"surrogates":"🤽🏾‍♀️","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_playing_water_polo_tone5","woman_playing_water_polo_dark_skin_tone"],"surrogates":"🤽🏿‍♀️","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_playing_water_polo"],"surrogates":"🤽‍♂️","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["man_playing_water_polo_tone1","man_playing_water_polo_light_skin_tone"],"surrogates":"🤽🏻‍♂️","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_playing_water_polo_tone2","man_playing_water_polo_medium_light_skin_tone"],"surrogates":"🤽🏼‍♂️","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_playing_water_polo_tone3","man_playing_water_polo_medium_skin_tone"],"surrogates":"🤽🏽‍♂️","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_playing_water_polo_tone4","man_playing_water_polo_medium_dark_skin_tone"],"surrogates":"🤽🏾‍♂️","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_playing_water_polo_tone5","man_playing_water_polo_dark_skin_tone"],"surrogates":"🤽🏿‍♂️","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_rowing_boat","rowboat"],"surrogates":"🚣","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["person_rowing_boat_tone1","rowboat_tone1"],"surrogates":"🚣🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_rowing_boat_tone2","rowboat_tone2"],"surrogates":"🚣🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_rowing_boat_tone3","rowboat_tone3"],"surrogates":"🚣🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_rowing_boat_tone4","rowboat_tone4"],"surrogates":"🚣🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_rowing_boat_tone5","rowboat_tone5"],"surrogates":"🚣🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_rowing_boat"],"surrogates":"🚣‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_rowing_boat_tone1","woman_rowing_boat_light_skin_tone"],"surrogates":"🚣🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_rowing_boat_tone2","woman_rowing_boat_medium_light_skin_tone"],"surrogates":"🚣🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_rowing_boat_tone3","woman_rowing_boat_medium_skin_tone"],"surrogates":"🚣🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_rowing_boat_tone4","woman_rowing_boat_medium_dark_skin_tone"],"surrogates":"🚣🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_rowing_boat_tone5","woman_rowing_boat_dark_skin_tone"],"surrogates":"🚣🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_rowing_boat"],"surrogates":"🚣‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_rowing_boat_tone1","man_rowing_boat_light_skin_tone"],"surrogates":"🚣🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_rowing_boat_tone2","man_rowing_boat_medium_light_skin_tone"],"surrogates":"🚣🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_rowing_boat_tone3","man_rowing_boat_medium_skin_tone"],"surrogates":"🚣🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_rowing_boat_tone4","man_rowing_boat_medium_dark_skin_tone"],"surrogates":"🚣🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_rowing_boat_tone5","man_rowing_boat_dark_skin_tone"],"surrogates":"🚣🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_climbing"],"surrogates":"🧗","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["person_climbing_tone1","person_climbing_light_skin_tone"],"surrogates":"🧗🏻","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_climbing_tone2","person_climbing_medium_light_skin_tone"],"surrogates":"🧗🏼","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_climbing_tone3","person_climbing_medium_skin_tone"],"surrogates":"🧗🏽","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_climbing_tone4","person_climbing_medium_dark_skin_tone"],"surrogates":"🧗🏾","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_climbing_tone5","person_climbing_dark_skin_tone"],"surrogates":"🧗🏿","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_climbing"],"surrogates":"🧗‍♀️","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["woman_climbing_tone1","woman_climbing_light_skin_tone"],"surrogates":"🧗🏻‍♀️","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_climbing_tone2","woman_climbing_medium_light_skin_tone"],"surrogates":"🧗🏼‍♀️","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_climbing_tone3","woman_climbing_medium_skin_tone"],"surrogates":"🧗🏽‍♀️","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_climbing_tone4","woman_climbing_medium_dark_skin_tone"],"surrogates":"🧗🏾‍♀️","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_climbing_tone5","woman_climbing_dark_skin_tone"],"surrogates":"🧗🏿‍♀️","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_climbing"],"surrogates":"🧗‍♂️","unicodeVersion":10,"hasDiversity":true,"diversityChildren":[{"names":["man_climbing_tone1","man_climbing_light_skin_tone"],"surrogates":"🧗🏻‍♂️","unicodeVersion":10,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_climbing_tone2","man_climbing_medium_light_skin_tone"],"surrogates":"🧗🏼‍♂️","unicodeVersion":10,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_climbing_tone3","man_climbing_medium_skin_tone"],"surrogates":"🧗🏽‍♂️","unicodeVersion":10,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_climbing_tone4","man_climbing_medium_dark_skin_tone"],"surrogates":"🧗🏾‍♂️","unicodeVersion":10,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_climbing_tone5","man_climbing_dark_skin_tone"],"surrogates":"🧗🏿‍♂️","unicodeVersion":10,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_mountain_biking","mountain_bicyclist"],"surrogates":"🚵","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["person_mountain_biking_tone1","mountain_bicyclist_tone1"],"surrogates":"🚵🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_mountain_biking_tone2","mountain_bicyclist_tone2"],"surrogates":"🚵🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_mountain_biking_tone3","mountain_bicyclist_tone3"],"surrogates":"🚵🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_mountain_biking_tone4","mountain_bicyclist_tone4"],"surrogates":"🚵🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_mountain_biking_tone5","mountain_bicyclist_tone5"],"surrogates":"🚵🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_mountain_biking"],"surrogates":"🚵‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_mountain_biking_tone1","woman_mountain_biking_light_skin_tone"],"surrogates":"🚵🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_mountain_biking_tone2","woman_mountain_biking_medium_light_skin_tone"],"surrogates":"🚵🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_mountain_biking_tone3","woman_mountain_biking_medium_skin_tone"],"surrogates":"🚵🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_mountain_biking_tone4","woman_mountain_biking_medium_dark_skin_tone"],"surrogates":"🚵🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_mountain_biking_tone5","woman_mountain_biking_dark_skin_tone"],"surrogates":"🚵🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_mountain_biking"],"surrogates":"🚵‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_mountain_biking_tone1","man_mountain_biking_light_skin_tone"],"surrogates":"🚵🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_mountain_biking_tone2","man_mountain_biking_medium_light_skin_tone"],"surrogates":"🚵🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_mountain_biking_tone3","man_mountain_biking_medium_skin_tone"],"surrogates":"🚵🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_mountain_biking_tone4","man_mountain_biking_medium_dark_skin_tone"],"surrogates":"🚵🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_mountain_biking_tone5","man_mountain_biking_dark_skin_tone"],"surrogates":"🚵🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["person_biking","bicyclist"],"surrogates":"🚴","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["person_biking_tone1","bicyclist_tone1"],"surrogates":"🚴🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_biking_tone2","bicyclist_tone2"],"surrogates":"🚴🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_biking_tone3","bicyclist_tone3"],"surrogates":"🚴🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_biking_tone4","bicyclist_tone4"],"surrogates":"🚴🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_biking_tone5","bicyclist_tone5"],"surrogates":"🚴🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_biking"],"surrogates":"🚴‍♀️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["woman_biking_tone1","woman_biking_light_skin_tone"],"surrogates":"🚴🏻‍♀️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_biking_tone2","woman_biking_medium_light_skin_tone"],"surrogates":"🚴🏼‍♀️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_biking_tone3","woman_biking_medium_skin_tone"],"surrogates":"🚴🏽‍♀️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_biking_tone4","woman_biking_medium_dark_skin_tone"],"surrogates":"🚴🏾‍♀️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_biking_tone5","woman_biking_dark_skin_tone"],"surrogates":"🚴🏿‍♀️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_biking"],"surrogates":"🚴‍♂️","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["man_biking_tone1","man_biking_light_skin_tone"],"surrogates":"🚴🏻‍♂️","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_biking_tone2","man_biking_medium_light_skin_tone"],"surrogates":"🚴🏼‍♂️","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_biking_tone3","man_biking_medium_skin_tone"],"surrogates":"🚴🏽‍♂️","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_biking_tone4","man_biking_medium_dark_skin_tone"],"surrogates":"🚴🏾‍♂️","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_biking_tone5","man_biking_dark_skin_tone"],"surrogates":"🚴🏿‍♂️","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["trophy"],"surrogates":"🏆","unicodeVersion":6},{"names":["first_place","first_place_medal"],"surrogates":"🥇","unicodeVersion":9},{"names":["second_place","second_place_medal"],"surrogates":"🥈","unicodeVersion":9},{"names":["third_place","third_place_medal"],"surrogates":"🥉","unicodeVersion":9},{"names":["medal","sports_medal"],"surrogates":"🏅","unicodeVersion":7},{"names":["military_medal"],"surrogates":"🎖️","unicodeVersion":7},{"names":["rosette"],"surrogates":"🏵️","unicodeVersion":7},{"names":["reminder_ribbon"],"surrogates":"🎗️","unicodeVersion":7},{"names":["ticket"],"surrogates":"🎫","unicodeVersion":6},{"names":["tickets","admission_tickets"],"surrogates":"🎟️","unicodeVersion":7},{"names":["circus_tent"],"surrogates":"🎪","unicodeVersion":6},{"names":["person_juggling","juggling","juggler"],"surrogates":"🤹","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["person_juggling_tone1","juggling_tone1","juggler_tone1"],"surrogates":"🤹🏻","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_juggling_tone2","juggling_tone2","juggler_tone2"],"surrogates":"🤹🏼","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_juggling_tone3","juggling_tone3","juggler_tone3"],"surrogates":"🤹🏽","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_juggling_tone4","juggling_tone4","juggler_tone4"],"surrogates":"🤹🏾","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_juggling_tone5","juggling_tone5","juggler_tone5"],"surrogates":"🤹🏿","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["woman_juggling"],"surrogates":"🤹‍♀️","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["woman_juggling_tone1","woman_juggling_light_skin_tone"],"surrogates":"🤹🏻‍♀️","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["woman_juggling_tone2","woman_juggling_medium_light_skin_tone"],"surrogates":"🤹🏼‍♀️","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["woman_juggling_tone3","woman_juggling_medium_skin_tone"],"surrogates":"🤹🏽‍♀️","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["woman_juggling_tone4","woman_juggling_medium_dark_skin_tone"],"surrogates":"🤹🏾‍♀️","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["woman_juggling_tone5","woman_juggling_dark_skin_tone"],"surrogates":"🤹🏿‍♀️","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["man_juggling"],"surrogates":"🤹‍♂️","unicodeVersion":9,"hasDiversity":true,"diversityChildren":[{"names":["man_juggling_tone1","man_juggling_light_skin_tone"],"surrogates":"🤹🏻‍♂️","unicodeVersion":9,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["man_juggling_tone2","man_juggling_medium_light_skin_tone"],"surrogates":"🤹🏼‍♂️","unicodeVersion":9,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["man_juggling_tone3","man_juggling_medium_skin_tone"],"surrogates":"🤹🏽‍♂️","unicodeVersion":9,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["man_juggling_tone4","man_juggling_medium_dark_skin_tone"],"surrogates":"🤹🏾‍♂️","unicodeVersion":9,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["man_juggling_tone5","man_juggling_dark_skin_tone"],"surrogates":"🤹🏿‍♂️","unicodeVersion":9,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["performing_arts"],"surrogates":"🎭","unicodeVersion":6},{"names":["ballet_shoes"],"surrogates":"🩰","unicodeVersion":12},{"names":["art"],"surrogates":"🎨","unicodeVersion":6},{"names":["clapper"],"surrogates":"🎬","unicodeVersion":6},{"names":["microphone"],"surrogates":"🎤","unicodeVersion":6},{"names":["headphones"],"surrogates":"🎧","unicodeVersion":6},{"names":["musical_score"],"surrogates":"🎼","unicodeVersion":6},{"names":["musical_keyboard"],"surrogates":"🎹","unicodeVersion":6},{"names":["drum","drum_with_drumsticks"],"surrogates":"🥁","unicodeVersion":9},{"names":["long_drum"],"surrogates":"🪘","unicodeVersion":13},{"names":["saxophone"],"surrogates":"🎷","unicodeVersion":6},{"names":["trumpet"],"surrogates":"🎺","unicodeVersion":6},{"names":["guitar"],"surrogates":"🎸","unicodeVersion":6},{"names":["banjo"],"surrogates":"🪕","unicodeVersion":12},{"names":["violin"],"surrogates":"🎻","unicodeVersion":6},{"names":["accordion"],"surrogates":"🪗","unicodeVersion":13},{"names":["game_die"],"surrogates":"🎲","unicodeVersion":6},{"names":["chess_pawn"],"surrogates":"♟️","unicodeVersion":1.1},{"names":["dart"],"surrogates":"🎯","unicodeVersion":6},{"names":["bowling"],"surrogates":"🎳","unicodeVersion":6},{"names":["video_game"],"surrogates":"🎮","unicodeVersion":6},{"names":["slot_machine"],"surrogates":"🎰","unicodeVersion":6},{"names":["jigsaw"],"surrogates":"🧩","unicodeVersion":11}],"travel":[{"names":["red_car"],"surrogates":"🚗","unicodeVersion":6},{"names":["taxi"],"surrogates":"🚕","unicodeVersion":6},{"names":["blue_car"],"surrogates":"🚙","unicodeVersion":6},{"names":["pickup_truck"],"surrogates":"🛻","unicodeVersion":13},{"names":["bus"],"surrogates":"🚌","unicodeVersion":6},{"names":["trolleybus"],"surrogates":"🚎","unicodeVersion":6},{"names":["race_car","racing_car"],"surrogates":"🏎️","unicodeVersion":7},{"names":["police_car"],"surrogates":"🚓","unicodeVersion":6},{"names":["ambulance"],"surrogates":"🚑","unicodeVersion":6},{"names":["fire_engine"],"surrogates":"🚒","unicodeVersion":6},{"names":["minibus"],"surrogates":"🚐","unicodeVersion":6},{"names":["truck"],"surrogates":"🚚","unicodeVersion":6},{"names":["articulated_lorry"],"surrogates":"🚛","unicodeVersion":6},{"names":["tractor"],"surrogates":"🚜","unicodeVersion":6},{"names":["probing_cane"],"surrogates":"🦯","unicodeVersion":12},{"names":["manual_wheelchair"],"surrogates":"🦽","unicodeVersion":12},{"names":["motorized_wheelchair"],"surrogates":"🦼","unicodeVersion":12},{"names":["scooter"],"surrogates":"🛴","unicodeVersion":9},{"names":["bike"],"surrogates":"🚲","unicodeVersion":6},{"names":["motor_scooter","motorbike"],"surrogates":"🛵","unicodeVersion":9},{"names":["motorcycle","racing_motorcycle"],"surrogates":"🏍️","unicodeVersion":7},{"names":["auto_rickshaw"],"surrogates":"🛺","unicodeVersion":12},{"names":["rotating_light"],"surrogates":"🚨","unicodeVersion":6},{"names":["oncoming_police_car"],"surrogates":"🚔","unicodeVersion":6},{"names":["oncoming_bus"],"surrogates":"🚍","unicodeVersion":6},{"names":["oncoming_automobile"],"surrogates":"🚘","unicodeVersion":6},{"names":["oncoming_taxi"],"surrogates":"🚖","unicodeVersion":6},{"names":["aerial_tramway"],"surrogates":"🚡","unicodeVersion":6},{"names":["mountain_cableway"],"surrogates":"🚠","unicodeVersion":6},{"names":["suspension_railway"],"surrogates":"🚟","unicodeVersion":6},{"names":["railway_car"],"surrogates":"🚃","unicodeVersion":6},{"names":["train"],"surrogates":"🚋","unicodeVersion":6},{"names":["mountain_railway"],"surrogates":"🚞","unicodeVersion":6},{"names":["monorail"],"surrogates":"🚝","unicodeVersion":6},{"names":["bullettrain_side"],"surrogates":"🚄","unicodeVersion":6},{"names":["bullettrain_front"],"surrogates":"🚅","unicodeVersion":6},{"names":["light_rail"],"surrogates":"🚈","unicodeVersion":6},{"names":["steam_locomotive"],"surrogates":"🚂","unicodeVersion":6},{"names":["train2"],"surrogates":"🚆","unicodeVersion":6},{"names":["metro"],"surrogates":"🚇","unicodeVersion":6},{"names":["tram"],"surrogates":"🚊","unicodeVersion":6},{"names":["station"],"surrogates":"🚉","unicodeVersion":6},{"names":["airplane"],"surrogates":"✈️","unicodeVersion":1.1},{"names":["airplane_departure"],"surrogates":"🛫","unicodeVersion":7},{"names":["airplane_arriving"],"surrogates":"🛬","unicodeVersion":7},{"names":["airplane_small","small_airplane"],"surrogates":"🛩️","unicodeVersion":7},{"names":["seat"],"surrogates":"💺","unicodeVersion":6},{"names":["satellite_orbital"],"surrogates":"🛰️","unicodeVersion":7},{"names":["rocket"],"surrogates":"🚀","unicodeVersion":6},{"names":["flying_saucer"],"surrogates":"🛸","unicodeVersion":10},{"names":["helicopter"],"surrogates":"🚁","unicodeVersion":6},{"names":["canoe","kayak"],"surrogates":"🛶","unicodeVersion":9},{"names":["sailboat"],"surrogates":"⛵","unicodeVersion":5.2},{"names":["speedboat"],"surrogates":"🚤","unicodeVersion":6},{"names":["motorboat"],"surrogates":"🛥️","unicodeVersion":7},{"names":["cruise_ship","passenger_ship"],"surrogates":"🛳️","unicodeVersion":7},{"names":["ferry"],"surrogates":"⛴️","unicodeVersion":5.2},{"names":["ship"],"surrogates":"🚢","unicodeVersion":6},{"names":["anchor"],"surrogates":"⚓","unicodeVersion":4.1},{"names":["fuelpump"],"surrogates":"⛽","unicodeVersion":5.2},{"names":["construction"],"surrogates":"🚧","unicodeVersion":6},{"names":["vertical_traffic_light"],"surrogates":"🚦","unicodeVersion":6},{"names":["traffic_light"],"surrogates":"🚥","unicodeVersion":6},{"names":["busstop"],"surrogates":"🚏","unicodeVersion":6},{"names":["map","world_map"],"surrogates":"🗺️","unicodeVersion":7},{"names":["moyai"],"surrogates":"🗿","unicodeVersion":6},{"names":["statue_of_liberty"],"surrogates":"🗽","unicodeVersion":6},{"names":["tokyo_tower"],"surrogates":"🗼","unicodeVersion":6},{"names":["european_castle"],"surrogates":"🏰","unicodeVersion":6},{"names":["japanese_castle"],"surrogates":"🏯","unicodeVersion":6},{"names":["stadium"],"surrogates":"🏟️","unicodeVersion":7},{"names":["ferris_wheel"],"surrogates":"🎡","unicodeVersion":6},{"names":["roller_coaster"],"surrogates":"🎢","unicodeVersion":6},{"names":["carousel_horse"],"surrogates":"🎠","unicodeVersion":6},{"names":["fountain"],"surrogates":"⛲","unicodeVersion":5.2},{"names":["beach_umbrella","umbrella_on_ground"],"surrogates":"⛱️","unicodeVersion":5.2},{"names":["beach","beach_with_umbrella"],"surrogates":"🏖️","unicodeVersion":7},{"names":["island","desert_island"],"surrogates":"🏝️","unicodeVersion":7},{"names":["desert"],"surrogates":"🏜️","unicodeVersion":7},{"names":["volcano"],"surrogates":"🌋","unicodeVersion":6},{"names":["mountain"],"surrogates":"⛰️","unicodeVersion":5.2},{"names":["mountain_snow","snow_capped_mountain"],"surrogates":"🏔️","unicodeVersion":7},{"names":["mount_fuji"],"surrogates":"🗻","unicodeVersion":6},{"names":["camping"],"surrogates":"🏕️","unicodeVersion":7},{"names":["tent"],"surrogates":"⛺","unicodeVersion":5.2},{"names":["house"],"surrogates":"🏠","unicodeVersion":6},{"names":["house_with_garden"],"surrogates":"🏡","unicodeVersion":6},{"names":["homes","house_buildings"],"surrogates":"🏘️","unicodeVersion":7},{"names":["house_abandoned","derelict_house_building"],"surrogates":"🏚️","unicodeVersion":7},{"names":["hut"],"surrogates":"🛖","unicodeVersion":13},{"names":["construction_site","building_construction"],"surrogates":"🏗️","unicodeVersion":7},{"names":["factory"],"surrogates":"🏭","unicodeVersion":6},{"names":["office"],"surrogates":"🏢","unicodeVersion":6},{"names":["department_store"],"surrogates":"🏬","unicodeVersion":6},{"names":["post_office"],"surrogates":"🏣","unicodeVersion":6},{"names":["european_post_office"],"surrogates":"🏤","unicodeVersion":6},{"names":["hospital"],"surrogates":"🏥","unicodeVersion":6},{"names":["bank"],"surrogates":"🏦","unicodeVersion":6},{"names":["hotel"],"surrogates":"🏨","unicodeVersion":6},{"names":["convenience_store"],"surrogates":"🏪","unicodeVersion":6},{"names":["school"],"surrogates":"🏫","unicodeVersion":6},{"names":["love_hotel"],"surrogates":"🏩","unicodeVersion":6},{"names":["wedding"],"surrogates":"💒","unicodeVersion":6},{"names":["classical_building"],"surrogates":"🏛️","unicodeVersion":7},{"names":["church"],"surrogates":"⛪","unicodeVersion":5.2},{"names":["mosque"],"surrogates":"🕌","unicodeVersion":8},{"names":["synagogue"],"surrogates":"🕍","unicodeVersion":8},{"names":["hindu_temple"],"surrogates":"🛕","unicodeVersion":12},{"names":["kaaba"],"surrogates":"🕋","unicodeVersion":8},{"names":["shinto_shrine"],"surrogates":"⛩️","unicodeVersion":5.2},{"names":["railway_track","railroad_track"],"surrogates":"🛤️","unicodeVersion":7},{"names":["motorway"],"surrogates":"🛣️","unicodeVersion":7},{"names":["japan"],"surrogates":"🗾","unicodeVersion":6},{"names":["rice_scene"],"surrogates":"🎑","unicodeVersion":6},{"names":["park","national_park"],"surrogates":"🏞️","unicodeVersion":7},{"names":["sunrise"],"surrogates":"🌅","unicodeVersion":6},{"names":["sunrise_over_mountains"],"surrogates":"🌄","unicodeVersion":6},{"names":["stars"],"surrogates":"🌠","unicodeVersion":6},{"names":["sparkler"],"surrogates":"🎇","unicodeVersion":6},{"names":["fireworks"],"surrogates":"🎆","unicodeVersion":6},{"names":["city_sunset","city_sunrise"],"surrogates":"🌇","unicodeVersion":6},{"names":["city_dusk"],"surrogates":"🌆","unicodeVersion":6},{"names":["cityscape"],"surrogates":"🏙️","unicodeVersion":7},{"names":["night_with_stars"],"surrogates":"🌃","unicodeVersion":6},{"names":["milky_way"],"surrogates":"🌌","unicodeVersion":6},{"names":["bridge_at_night"],"surrogates":"🌉","unicodeVersion":6},{"names":["foggy"],"surrogates":"🌁","unicodeVersion":6}],"objects":[{"names":["watch"],"surrogates":"⌚","unicodeVersion":1.1},{"names":["mobile_phone","iphone"],"surrogates":"📱","unicodeVersion":6},{"names":["calling"],"surrogates":"📲","unicodeVersion":6},{"names":["computer"],"surrogates":"💻","unicodeVersion":6},{"names":["keyboard"],"surrogates":"⌨️","unicodeVersion":1.1},{"names":["desktop","desktop_computer"],"surrogates":"🖥️","unicodeVersion":7},{"names":["printer"],"surrogates":"🖨️","unicodeVersion":7},{"names":["mouse_three_button","three_button_mouse"],"surrogates":"🖱️","unicodeVersion":7},{"names":["trackball"],"surrogates":"🖲️","unicodeVersion":7},{"names":["joystick"],"surrogates":"🕹️","unicodeVersion":7},{"names":["compression"],"surrogates":"🗜️","unicodeVersion":7},{"names":["minidisc"],"surrogates":"💽","unicodeVersion":6},{"names":["floppy_disk"],"surrogates":"💾","unicodeVersion":6},{"names":["cd"],"surrogates":"💿","unicodeVersion":6},{"names":["dvd"],"surrogates":"📀","unicodeVersion":6},{"names":["vhs"],"surrogates":"📼","unicodeVersion":6},{"names":["camera"],"surrogates":"📷","unicodeVersion":6},{"names":["camera_with_flash"],"surrogates":"📸","unicodeVersion":7},{"names":["video_camera"],"surrogates":"📹","unicodeVersion":6},{"names":["movie_camera"],"surrogates":"🎥","unicodeVersion":6},{"names":["projector","film_projector"],"surrogates":"📽️","unicodeVersion":7},{"names":["film_frames"],"surrogates":"🎞️","unicodeVersion":7},{"names":["telephone_receiver"],"surrogates":"📞","unicodeVersion":6},{"names":["telephone"],"surrogates":"☎️","unicodeVersion":1.1},{"names":["pager"],"surrogates":"📟","unicodeVersion":6},{"names":["fax"],"surrogates":"📠","unicodeVersion":6},{"names":["tv"],"surrogates":"📺","unicodeVersion":6},{"names":["radio"],"surrogates":"📻","unicodeVersion":6},{"names":["microphone2","studio_microphone"],"surrogates":"🎙️","unicodeVersion":7},{"names":["level_slider"],"surrogates":"🎚️","unicodeVersion":7},{"names":["control_knobs"],"surrogates":"🎛️","unicodeVersion":7},{"names":["compass"],"surrogates":"🧭","unicodeVersion":11},{"names":["stopwatch"],"surrogates":"⏱️","unicodeVersion":6},{"names":["timer","timer_clock"],"surrogates":"⏲️","unicodeVersion":6},{"names":["alarm_clock"],"surrogates":"⏰","unicodeVersion":6},{"names":["clock","mantlepiece_clock"],"surrogates":"🕰️","unicodeVersion":7},{"names":["hourglass"],"surrogates":"⌛","unicodeVersion":1.1},{"names":["hourglass_flowing_sand"],"surrogates":"⏳","unicodeVersion":6},{"names":["satellite"],"surrogates":"📡","unicodeVersion":6},{"names":["battery"],"surrogates":"🔋","unicodeVersion":6},{"names":["electric_plug"],"surrogates":"🔌","unicodeVersion":6},{"names":["bulb"],"surrogates":"💡","unicodeVersion":6},{"names":["flashlight"],"surrogates":"🔦","unicodeVersion":6},{"names":["candle"],"surrogates":"🕯️","unicodeVersion":7},{"names":["diya_lamp"],"surrogates":"🪔","unicodeVersion":12},{"names":["fire_extinguisher"],"surrogates":"🧯","unicodeVersion":11},{"names":["oil","oil_drum"],"surrogates":"🛢️","unicodeVersion":7},{"names":["money_with_wings"],"surrogates":"💸","unicodeVersion":6},{"names":["dollar"],"surrogates":"💵","unicodeVersion":6},{"names":["yen"],"surrogates":"💴","unicodeVersion":6},{"names":["euro"],"surrogates":"💶","unicodeVersion":6},{"names":["pound"],"surrogates":"💷","unicodeVersion":6},{"names":["coin"],"surrogates":"🪙","unicodeVersion":13},{"names":["moneybag"],"surrogates":"💰","unicodeVersion":6},{"names":["credit_card"],"surrogates":"💳","unicodeVersion":6},{"names":["gem"],"surrogates":"💎","unicodeVersion":6},{"names":["scales"],"surrogates":"⚖️","unicodeVersion":4.1},{"names":["ladder"],"surrogates":"🪜","unicodeVersion":13},{"names":["toolbox"],"surrogates":"🧰","unicodeVersion":11},{"names":["screwdriver"],"surrogates":"🪛","unicodeVersion":13},{"names":["wrench"],"surrogates":"🔧","unicodeVersion":6},{"names":["hammer"],"surrogates":"🔨","unicodeVersion":6},{"names":["hammer_pick","hammer_and_pick"],"surrogates":"⚒️","unicodeVersion":4.1},{"names":["tools","hammer_and_wrench"],"surrogates":"🛠️","unicodeVersion":7},{"names":["pick"],"surrogates":"⛏️","unicodeVersion":5.2},{"names":["nut_and_bolt"],"surrogates":"🔩","unicodeVersion":6},{"names":["gear"],"surrogates":"⚙️","unicodeVersion":4.1},{"names":["bricks"],"surrogates":"🧱","unicodeVersion":11},{"names":["chains"],"surrogates":"⛓️","unicodeVersion":5.2},{"names":["hook"],"surrogates":"🪝","unicodeVersion":13},{"names":["knot"],"surrogates":"🪢","unicodeVersion":13},{"names":["magnet"],"surrogates":"🧲","unicodeVersion":11},{"names":["gun"],"surrogates":"🔫","unicodeVersion":6},{"names":["bomb"],"surrogates":"💣","unicodeVersion":6},{"names":["firecracker"],"surrogates":"🧨","unicodeVersion":11},{"names":["axe"],"surrogates":"🪓","unicodeVersion":12},{"names":["carpentry_saw"],"surrogates":"🪚","unicodeVersion":13},{"names":["knife"],"surrogates":"🔪","unicodeVersion":6},{"names":["dagger","dagger_knife"],"surrogates":"🗡️","unicodeVersion":7},{"names":["crossed_swords"],"surrogates":"⚔️","unicodeVersion":4.1},{"names":["shield"],"surrogates":"🛡️","unicodeVersion":7},{"names":["smoking"],"surrogates":"🚬","unicodeVersion":6},{"names":["coffin"],"surrogates":"⚰️","unicodeVersion":4.1},{"names":["headstone"],"surrogates":"🪦","unicodeVersion":13},{"names":["urn","funeral_urn"],"surrogates":"⚱️","unicodeVersion":4.1},{"names":["amphora"],"surrogates":"🏺","unicodeVersion":8},{"names":["magic_wand"],"surrogates":"🪄","unicodeVersion":13},{"names":["crystal_ball"],"surrogates":"🔮","unicodeVersion":6},{"names":["prayer_beads"],"surrogates":"📿","unicodeVersion":8},{"names":["nazar_amulet"],"surrogates":"🧿","unicodeVersion":11},{"names":["barber"],"surrogates":"💈","unicodeVersion":6},{"names":["alembic"],"surrogates":"⚗️","unicodeVersion":4.1},{"names":["telescope"],"surrogates":"🔭","unicodeVersion":6},{"names":["microscope"],"surrogates":"🔬","unicodeVersion":6},{"names":["hole"],"surrogates":"🕳️","unicodeVersion":7},{"names":["window"],"surrogates":"🪟","unicodeVersion":13},{"names":["adhesive_bandage"],"surrogates":"🩹","unicodeVersion":12},{"names":["stethoscope"],"surrogates":"🩺","unicodeVersion":12},{"names":["pill"],"surrogates":"💊","unicodeVersion":6},{"names":["syringe"],"surrogates":"💉","unicodeVersion":6},{"names":["drop_of_blood"],"surrogates":"🩸","unicodeVersion":12},{"names":["dna"],"surrogates":"🧬","unicodeVersion":11},{"names":["microbe"],"surrogates":"🦠","unicodeVersion":11},{"names":["petri_dish"],"surrogates":"🧫","unicodeVersion":11},{"names":["test_tube"],"surrogates":"🧪","unicodeVersion":11},{"names":["thermometer"],"surrogates":"🌡️","unicodeVersion":7},{"names":["mouse_trap"],"surrogates":"🪤","unicodeVersion":13},{"names":["broom"],"surrogates":"🧹","unicodeVersion":11},{"names":["basket"],"surrogates":"🧺","unicodeVersion":11},{"names":["sewing_needle"],"surrogates":"🪡","unicodeVersion":13},{"names":["roll_of_paper"],"surrogates":"🧻","unicodeVersion":11},{"names":["toilet"],"surrogates":"🚽","unicodeVersion":6},{"names":["plunger"],"surrogates":"🪠","unicodeVersion":13},{"names":["bucket"],"surrogates":"🪣","unicodeVersion":13},{"names":["potable_water"],"surrogates":"🚰","unicodeVersion":6},{"names":["shower"],"surrogates":"🚿","unicodeVersion":6},{"names":["bathtub"],"surrogates":"🛁","unicodeVersion":6},{"names":["bath"],"surrogates":"🛀","unicodeVersion":6,"hasDiversity":true,"diversityChildren":[{"names":["bath_tone1"],"surrogates":"🛀🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["bath_tone2"],"surrogates":"🛀🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["bath_tone3"],"surrogates":"🛀🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["bath_tone4"],"surrogates":"🛀🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["bath_tone5"],"surrogates":"🛀🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["toothbrush"],"surrogates":"🪥","unicodeVersion":13},{"names":["soap"],"surrogates":"🧼","unicodeVersion":11},{"names":["razor"],"surrogates":"🪒","unicodeVersion":12},{"names":["sponge"],"surrogates":"🧽","unicodeVersion":11},{"names":["squeeze_bottle"],"surrogates":"🧴","unicodeVersion":11},{"names":["bellhop","bellhop_bell"],"surrogates":"🛎️","unicodeVersion":7},{"names":["key"],"surrogates":"🔑","unicodeVersion":6},{"names":["key2","old_key"],"surrogates":"🗝️","unicodeVersion":7},{"names":["door"],"surrogates":"🚪","unicodeVersion":6},{"names":["chair"],"surrogates":"🪑","unicodeVersion":12},{"names":["mirror"],"surrogates":"🪞","unicodeVersion":13},{"names":["couch","couch_and_lamp"],"surrogates":"🛋️","unicodeVersion":7},{"names":["bed"],"surrogates":"🛏️","unicodeVersion":7},{"names":["sleeping_accommodation"],"surrogates":"🛌","unicodeVersion":7,"hasDiversity":true,"diversityChildren":[{"names":["person_in_bed_tone1","person_in_bed_light_skin_tone"],"surrogates":"🛌🏻","unicodeVersion":8,"diversity":["1f3fb"],"hasDiversityParent":true},{"names":["person_in_bed_tone2","person_in_bed_medium_light_skin_tone"],"surrogates":"🛌🏼","unicodeVersion":8,"diversity":["1f3fc"],"hasDiversityParent":true},{"names":["person_in_bed_tone3","person_in_bed_medium_skin_tone"],"surrogates":"🛌🏽","unicodeVersion":8,"diversity":["1f3fd"],"hasDiversityParent":true},{"names":["person_in_bed_tone4","person_in_bed_medium_dark_skin_tone"],"surrogates":"🛌🏾","unicodeVersion":8,"diversity":["1f3fe"],"hasDiversityParent":true},{"names":["person_in_bed_tone5","person_in_bed_dark_skin_tone"],"surrogates":"🛌🏿","unicodeVersion":8,"diversity":["1f3ff"],"hasDiversityParent":true}]},{"names":["teddy_bear"],"surrogates":"🧸","unicodeVersion":11},{"names":["frame_photo","frame_with_picture"],"surrogates":"🖼️","unicodeVersion":7},{"names":["shopping_bags"],"surrogates":"🛍️","unicodeVersion":7},{"names":["shopping_cart","shopping_trolley"],"surrogates":"🛒","unicodeVersion":9},{"names":["gift"],"surrogates":"🎁","unicodeVersion":6},{"names":["balloon"],"surrogates":"🎈","unicodeVersion":6},{"names":["flags"],"surrogates":"🎏","unicodeVersion":6},{"names":["ribbon"],"surrogates":"🎀","unicodeVersion":6},{"names":["confetti_ball"],"surrogates":"🎊","unicodeVersion":6},{"names":["tada"],"surrogates":"🎉","unicodeVersion":6},{"names":["piñata"],"surrogates":"🪅","unicodeVersion":13},{"names":["nesting_dolls"],"surrogates":"🪆","unicodeVersion":13},{"names":["dolls"],"surrogates":"🎎","unicodeVersion":6},{"names":["izakaya_lantern"],"surrogates":"🏮","unicodeVersion":6},{"names":["wind_chime"],"surrogates":"🎐","unicodeVersion":6},{"names":["red_envelope"],"surrogates":"🧧","unicodeVersion":11},{"names":["envelope"],"surrogates":"✉️","unicodeVersion":1.1},{"names":["envelope_with_arrow"],"surrogates":"📩","unicodeVersion":6},{"names":["incoming_envelope"],"surrogates":"📨","unicodeVersion":6},{"names":["e_mail","email"],"surrogates":"📧","unicodeVersion":6},{"names":["love_letter"],"surrogates":"💌","unicodeVersion":6},{"names":["inbox_tray"],"surrogates":"📥","unicodeVersion":6},{"names":["outbox_tray"],"surrogates":"📤","unicodeVersion":6},{"names":["package"],"surrogates":"📦","unicodeVersion":6},{"names":["label"],"surrogates":"🏷️","unicodeVersion":7},{"names":["mailbox_closed"],"surrogates":"📪","unicodeVersion":6},{"names":["mailbox"],"surrogates":"📫","unicodeVersion":6},{"names":["mailbox_with_mail"],"surrogates":"📬","unicodeVersion":6},{"names":["mailbox_with_no_mail"],"surrogates":"📭","unicodeVersion":6},{"names":["postbox"],"surrogates":"📮","unicodeVersion":6},{"names":["postal_horn"],"surrogates":"📯","unicodeVersion":6},{"names":["placard"],"surrogates":"🪧","unicodeVersion":13},{"names":["scroll"],"surrogates":"📜","unicodeVersion":6},{"names":["page_with_curl"],"surrogates":"📃","unicodeVersion":6},{"names":["page_facing_up"],"surrogates":"📄","unicodeVersion":6},{"names":["bookmark_tabs"],"surrogates":"📑","unicodeVersion":6},{"names":["receipt"],"surrogates":"🧾","unicodeVersion":11},{"names":["bar_chart"],"surrogates":"📊","unicodeVersion":6},{"names":["chart_with_upwards_trend"],"surrogates":"📈","unicodeVersion":6},{"names":["chart_with_downwards_trend"],"surrogates":"📉","unicodeVersion":6},{"names":["notepad_spiral","spiral_note_pad"],"surrogates":"🗒️","unicodeVersion":7},{"names":["calendar_spiral","spiral_calendar_pad"],"surrogates":"🗓️","unicodeVersion":7},{"names":["calendar"],"surrogates":"📆","unicodeVersion":6},{"names":["date"],"surrogates":"📅","unicodeVersion":6},{"names":["wastebasket"],"surrogates":"🗑️","unicodeVersion":7},{"names":["card_index"],"surrogates":"📇","unicodeVersion":6},{"names":["card_box","card_file_box"],"surrogates":"🗃️","unicodeVersion":7},{"names":["ballot_box","ballot_box_with_ballot"],"surrogates":"🗳️","unicodeVersion":7},{"names":["file_cabinet"],"surrogates":"🗄️","unicodeVersion":7},{"names":["clipboard"],"surrogates":"📋","unicodeVersion":6},{"names":["file_folder"],"surrogates":"📁","unicodeVersion":6},{"names":["open_file_folder"],"surrogates":"📂","unicodeVersion":6},{"names":["dividers","card_index_dividers"],"surrogates":"🗂️","unicodeVersion":7},{"names":["newspaper2","rolled_up_newspaper"],"surrogates":"🗞️","unicodeVersion":7},{"names":["newspaper"],"surrogates":"📰","unicodeVersion":6},{"names":["notebook"],"surrogates":"📓","unicodeVersion":6},{"names":["notebook_with_decorative_cover"],"surrogates":"📔","unicodeVersion":6},{"names":["ledger"],"surrogates":"📒","unicodeVersion":6},{"names":["closed_book"],"surrogates":"📕","unicodeVersion":6},{"names":["green_book"],"surrogates":"📗","unicodeVersion":6},{"names":["blue_book"],"surrogates":"📘","unicodeVersion":6},{"names":["orange_book"],"surrogates":"📙","unicodeVersion":6},{"names":["books"],"surrogates":"📚","unicodeVersion":6},{"names":["book"],"surrogates":"📖","unicodeVersion":6},{"names":["bookmark"],"surrogates":"🔖","unicodeVersion":6},{"names":["safety_pin"],"surrogates":"🧷","unicodeVersion":11},{"names":["link"],"surrogates":"🔗","unicodeVersion":6},{"names":["paperclip"],"surrogates":"📎","unicodeVersion":6},{"names":["paperclips","linked_paperclips"],"surrogates":"🖇️","unicodeVersion":7},{"names":["triangular_ruler"],"surrogates":"📐","unicodeVersion":6},{"names":["straight_ruler"],"surrogates":"📏","unicodeVersion":6},{"names":["abacus"],"surrogates":"🧮","unicodeVersion":11},{"names":["pushpin"],"surrogates":"📌","unicodeVersion":6},{"names":["round_pushpin"],"surrogates":"📍","unicodeVersion":6},{"names":["scissors"],"surrogates":"✂️","unicodeVersion":1.1},{"names":["pen_ballpoint","lower_left_ballpoint_pen"],"surrogates":"🖊️","unicodeVersion":7},{"names":["pen_fountain","lower_left_fountain_pen"],"surrogates":"🖋️","unicodeVersion":7},{"names":["black_nib"],"surrogates":"✒️","unicodeVersion":1.1},{"names":["paintbrush","lower_left_paintbrush"],"surrogates":"🖌️","unicodeVersion":7},{"names":["crayon","lower_left_crayon"],"surrogates":"🖍️","unicodeVersion":7},{"names":["pencil","memo"],"surrogates":"📝","unicodeVersion":6},{"names":["pencil2"],"surrogates":"✏️","unicodeVersion":1.1},{"names":["mag"],"surrogates":"🔍","unicodeVersion":6},{"names":["mag_right"],"surrogates":"🔎","unicodeVersion":6},{"names":["lock_with_ink_pen"],"surrogates":"🔏","unicodeVersion":6},{"names":["closed_lock_with_key"],"surrogates":"🔐","unicodeVersion":6},{"names":["lock"],"surrogates":"🔒","unicodeVersion":6},{"names":["unlock"],"surrogates":"🔓","unicodeVersion":6}],"symbols":[{"names":["heart"],"surrogates":"❤️","unicodeVersion":1.1},{"names":["orange_heart"],"surrogates":"🧡","unicodeVersion":10},{"names":["yellow_heart"],"surrogates":"💛","unicodeVersion":6},{"names":["green_heart"],"surrogates":"💚","unicodeVersion":6},{"names":["blue_heart"],"surrogates":"💙","unicodeVersion":6},{"names":["purple_heart"],"surrogates":"💜","unicodeVersion":6},{"names":["black_heart"],"surrogates":"🖤","unicodeVersion":9},{"names":["brown_heart"],"surrogates":"🤎","unicodeVersion":12},{"names":["white_heart"],"surrogates":"🤍","unicodeVersion":12},{"names":["broken_heart"],"surrogates":"💔","unicodeVersion":6},{"names":["heart_exclamation","heavy_heart_exclamation_mark_ornament"],"surrogates":"❣️","unicodeVersion":1.1},{"names":["two_hearts"],"surrogates":"💕","unicodeVersion":6},{"names":["revolving_hearts"],"surrogates":"💞","unicodeVersion":6},{"names":["heartbeat"],"surrogates":"💓","unicodeVersion":6},{"names":["heartpulse"],"surrogates":"💗","unicodeVersion":6},{"names":["sparkling_heart"],"surrogates":"💖","unicodeVersion":6},{"names":["cupid"],"surrogates":"💘","unicodeVersion":6},{"names":["gift_heart"],"surrogates":"💝","unicodeVersion":6},{"names":["mending_heart"],"surrogates":"❤️‍🩹","unicodeVersion":13.1},{"names":["heart_on_fire"],"surrogates":"❤️‍🔥","unicodeVersion":13.1},{"names":["heart_decoration"],"surrogates":"💟","unicodeVersion":6},{"names":["peace","peace_symbol"],"surrogates":"☮️","unicodeVersion":1.1},{"names":["cross","latin_cross"],"surrogates":"✝️","unicodeVersion":1.1},{"names":["star_and_crescent"],"surrogates":"☪️","unicodeVersion":1.1},{"names":["om_symbol"],"surrogates":"🕉️","unicodeVersion":7},{"names":["wheel_of_dharma"],"surrogates":"☸️","unicodeVersion":1.1},{"names":["star_of_david"],"surrogates":"✡️","unicodeVersion":1.1},{"names":["six_pointed_star"],"surrogates":"🔯","unicodeVersion":6},{"names":["menorah"],"surrogates":"🕎","unicodeVersion":8},{"names":["yin_yang"],"surrogates":"☯️","unicodeVersion":1.1},{"names":["orthodox_cross"],"surrogates":"☦️","unicodeVersion":1.1},{"names":["place_of_worship","worship_symbol"],"surrogates":"🛐","unicodeVersion":8},{"names":["ophiuchus"],"surrogates":"⛎","unicodeVersion":6},{"names":["aries"],"surrogates":"♈","unicodeVersion":1.1},{"names":["taurus"],"surrogates":"♉","unicodeVersion":1.1},{"names":["gemini"],"surrogates":"♊","unicodeVersion":1.1},{"names":["cancer"],"surrogates":"♋","unicodeVersion":1.1},{"names":["leo"],"surrogates":"♌","unicodeVersion":1.1},{"names":["virgo"],"surrogates":"♍","unicodeVersion":1.1},{"names":["libra"],"surrogates":"♎","unicodeVersion":1.1},{"names":["scorpius"],"surrogates":"♏","unicodeVersion":1.1},{"names":["sagittarius"],"surrogates":"♐","unicodeVersion":1.1},{"names":["capricorn"],"surrogates":"♑","unicodeVersion":1.1},{"names":["aquarius"],"surrogates":"♒","unicodeVersion":1.1},{"names":["pisces"],"surrogates":"♓","unicodeVersion":1.1},{"names":["id"],"surrogates":"🆔","unicodeVersion":6},{"names":["atom","atom_symbol"],"surrogates":"⚛️","unicodeVersion":4.1},{"names":["accept"],"surrogates":"🉑","unicodeVersion":6},{"names":["radioactive","radioactive_sign"],"surrogates":"☢️","unicodeVersion":1.1},{"names":["biohazard","biohazard_sign"],"surrogates":"☣️","unicodeVersion":1.1},{"names":["mobile_phone_off"],"surrogates":"📴","unicodeVersion":6},{"names":["vibration_mode"],"surrogates":"📳","unicodeVersion":6},{"names":["u6709"],"surrogates":"🈶","unicodeVersion":6},{"names":["u7121"],"surrogates":"🈚","unicodeVersion":5.2},{"names":["u7533"],"surrogates":"🈸","unicodeVersion":6},{"names":["u55b6"],"surrogates":"🈺","unicodeVersion":6},{"names":["u6708"],"surrogates":"🈷️","unicodeVersion":6},{"names":["eight_pointed_black_star"],"surrogates":"✴️","unicodeVersion":1.1},{"names":["vs"],"surrogates":"🆚","unicodeVersion":6},{"names":["white_flower"],"surrogates":"💮","unicodeVersion":6},{"names":["ideograph_advantage"],"surrogates":"🉐","unicodeVersion":6},{"names":["secret"],"surrogates":"㊙️","unicodeVersion":1.1},{"names":["congratulations"],"surrogates":"㊗️","unicodeVersion":1.1},{"names":["u5408"],"surrogates":"🈴","unicodeVersion":6},{"names":["u6e80"],"surrogates":"🈵","unicodeVersion":6},{"names":["u5272"],"surrogates":"🈹","unicodeVersion":6},{"names":["u7981"],"surrogates":"🈲","unicodeVersion":6},{"names":["a"],"surrogates":"🅰️","unicodeVersion":6},{"names":["b"],"surrogates":"🅱️","unicodeVersion":6},{"names":["ab"],"surrogates":"🆎","unicodeVersion":6},{"names":["cl"],"surrogates":"🆑","unicodeVersion":6},{"names":["o2"],"surrogates":"🅾️","unicodeVersion":6},{"names":["sos"],"surrogates":"🆘","unicodeVersion":6},{"names":["x"],"surrogates":"❌","unicodeVersion":6},{"names":["o"],"surrogates":"⭕","unicodeVersion":5.2},{"names":["octagonal_sign","stop_sign"],"surrogates":"🛑","unicodeVersion":9},{"names":["no_entry"],"surrogates":"⛔","unicodeVersion":5.2},{"names":["name_badge"],"surrogates":"📛","unicodeVersion":6},{"names":["no_entry_sign"],"surrogates":"🚫","unicodeVersion":6},{"names":["100"],"surrogates":"💯","unicodeVersion":6},{"names":["anger"],"surrogates":"💢","unicodeVersion":6},{"names":["hotsprings"],"surrogates":"♨️","unicodeVersion":1.1},{"names":["no_pedestrians"],"surrogates":"🚷","unicodeVersion":6},{"names":["do_not_litter"],"surrogates":"🚯","unicodeVersion":6},{"names":["no_bicycles"],"surrogates":"🚳","unicodeVersion":6},{"names":["non_potable_water"],"surrogates":"🚱","unicodeVersion":6},{"names":["underage"],"surrogates":"🔞","unicodeVersion":6},{"names":["no_mobile_phones"],"surrogates":"📵","unicodeVersion":6},{"names":["no_smoking"],"surrogates":"🚭","unicodeVersion":6},{"names":["exclamation"],"surrogates":"❗","unicodeVersion":5.2},{"names":["grey_exclamation"],"surrogates":"❕","unicodeVersion":6},{"names":["question"],"surrogates":"❓","unicodeVersion":6},{"names":["grey_question"],"surrogates":"❔","unicodeVersion":6},{"names":["bangbang"],"surrogates":"‼️","unicodeVersion":1.1},{"names":["interrobang"],"surrogates":"⁉️","unicodeVersion":3},{"names":["low_brightness"],"surrogates":"🔅","unicodeVersion":6},{"names":["high_brightness"],"surrogates":"🔆","unicodeVersion":6},{"names":["part_alternation_mark"],"surrogates":"〽️","unicodeVersion":3.2},{"names":["warning"],"surrogates":"⚠️","unicodeVersion":4},{"names":["children_crossing"],"surrogates":"🚸","unicodeVersion":6},{"names":["trident"],"surrogates":"🔱","unicodeVersion":6},{"names":["fleur_de_lis"],"surrogates":"⚜️","unicodeVersion":4.1},{"names":["beginner"],"surrogates":"🔰","unicodeVersion":6},{"names":["recycle"],"surrogates":"♻️","unicodeVersion":3.2},{"names":["white_check_mark"],"surrogates":"✅","unicodeVersion":6},{"names":["u6307"],"surrogates":"🈯","unicodeVersion":5.2},{"names":["chart"],"surrogates":"💹","unicodeVersion":6},{"names":["sparkle"],"surrogates":"❇️","unicodeVersion":1.1},{"names":["eight_spoked_asterisk"],"surrogates":"✳️","unicodeVersion":1.1},{"names":["negative_squared_cross_mark"],"surrogates":"❎","unicodeVersion":6},{"names":["globe_with_meridians"],"surrogates":"🌐","unicodeVersion":6},{"names":["diamond_shape_with_a_dot_inside"],"surrogates":"💠","unicodeVersion":6},{"names":["m"],"surrogates":"Ⓜ️","unicodeVersion":1.1},{"names":["cyclone"],"surrogates":"🌀","unicodeVersion":6},{"names":["zzz"],"surrogates":"💤","unicodeVersion":6},{"names":["atm"],"surrogates":"🏧","unicodeVersion":6},{"names":["wc"],"surrogates":"🚾","unicodeVersion":6},{"names":["wheelchair"],"surrogates":"♿","unicodeVersion":4.1},{"names":["parking"],"surrogates":"🅿️","unicodeVersion":5.2},{"names":["u7a7a"],"surrogates":"🈳","unicodeVersion":6},{"names":["sa"],"surrogates":"🈂️","unicodeVersion":6},{"names":["passport_control"],"surrogates":"🛂","unicodeVersion":6},{"names":["customs"],"surrogates":"🛃","unicodeVersion":6},{"names":["baggage_claim"],"surrogates":"🛄","unicodeVersion":6},{"names":["left_luggage"],"surrogates":"🛅","unicodeVersion":6},{"names":["elevator"],"surrogates":"🛗","unicodeVersion":13},{"names":["mens"],"surrogates":"🚹","unicodeVersion":6},{"names":["womens"],"surrogates":"🚺","unicodeVersion":6},{"names":["baby_symbol"],"surrogates":"🚼","unicodeVersion":6},{"names":["restroom"],"surrogates":"🚻","unicodeVersion":6},{"names":["put_litter_in_its_place"],"surrogates":"🚮","unicodeVersion":6},{"names":["cinema"],"surrogates":"🎦","unicodeVersion":6},{"names":["signal_strength"],"surrogates":"📶","unicodeVersion":6},{"names":["koko"],"surrogates":"🈁","unicodeVersion":6},{"names":["symbols"],"surrogates":"🔣","unicodeVersion":6},{"names":["information_source"],"surrogates":"ℹ️","unicodeVersion":3},{"names":["abc"],"surrogates":"🔤","unicodeVersion":6},{"names":["abcd"],"surrogates":"🔡","unicodeVersion":6},{"names":["capital_abcd"],"surrogates":"🔠","unicodeVersion":6},{"names":["ng"],"surrogates":"🆖","unicodeVersion":6},{"names":["ok"],"surrogates":"🆗","unicodeVersion":6},{"names":["up"],"surrogates":"🆙","unicodeVersion":6},{"names":["cool"],"surrogates":"🆒","unicodeVersion":6},{"names":["new"],"surrogates":"🆕","unicodeVersion":6},{"names":["free"],"surrogates":"🆓","unicodeVersion":6},{"names":["zero"],"surrogates":"0️⃣","unicodeVersion":3},{"names":["one"],"surrogates":"1️⃣","unicodeVersion":3},{"names":["two"],"surrogates":"2️⃣","unicodeVersion":3},{"names":["three"],"surrogates":"3️⃣","unicodeVersion":3},{"names":["four"],"surrogates":"4️⃣","unicodeVersion":3},{"names":["five"],"surrogates":"5️⃣","unicodeVersion":3},{"names":["six"],"surrogates":"6️⃣","unicodeVersion":3},{"names":["seven"],"surrogates":"7️⃣","unicodeVersion":3},{"names":["eight"],"surrogates":"8️⃣","unicodeVersion":3},{"names":["nine"],"surrogates":"9️⃣","unicodeVersion":3},{"names":["keycap_ten"],"surrogates":"🔟","unicodeVersion":6},{"names":["1234"],"surrogates":"🔢","unicodeVersion":6},{"names":["hash"],"surrogates":"#️⃣","unicodeVersion":3},{"names":["asterisk","keycap_asterisk"],"surrogates":"*️⃣","unicodeVersion":3},{"names":["eject","eject_symbol"],"surrogates":"⏏️","unicodeVersion":4},{"names":["arrow_forward"],"surrogates":"▶️","unicodeVersion":1.1},{"names":["pause_button","double_vertical_bar"],"surrogates":"⏸️","unicodeVersion":7},{"names":["play_pause"],"surrogates":"⏯️","unicodeVersion":6},{"names":["stop_button"],"surrogates":"⏹️","unicodeVersion":7},{"names":["record_button"],"surrogates":"⏺️","unicodeVersion":7},{"names":["track_next","next_track"],"surrogates":"⏭️","unicodeVersion":6},{"names":["track_previous","previous_track"],"surrogates":"⏮️","unicodeVersion":6},{"names":["fast_forward"],"surrogates":"⏩","unicodeVersion":6},{"names":["rewind"],"surrogates":"⏪","unicodeVersion":6},{"names":["arrow_double_up"],"surrogates":"⏫","unicodeVersion":6},{"names":["arrow_double_down"],"surrogates":"⏬","unicodeVersion":6},{"names":["arrow_backward"],"surrogates":"◀️","unicodeVersion":1.1},{"names":["arrow_up_small"],"surrogates":"🔼","unicodeVersion":6},{"names":["arrow_down_small"],"surrogates":"🔽","unicodeVersion":6},{"names":["arrow_right"],"surrogates":"➡️","unicodeVersion":1.1},{"names":["arrow_left"],"surrogates":"⬅️","unicodeVersion":4},{"names":["arrow_up"],"surrogates":"⬆️","unicodeVersion":4},{"names":["arrow_down"],"surrogates":"⬇️","unicodeVersion":4},{"names":["arrow_upper_right"],"surrogates":"↗️","unicodeVersion":1.1},{"names":["arrow_lower_right"],"surrogates":"↘️","unicodeVersion":1.1},{"names":["arrow_lower_left"],"surrogates":"↙️","unicodeVersion":1.1},{"names":["arrow_upper_left"],"surrogates":"↖️","unicodeVersion":1.1},{"names":["arrow_up_down"],"surrogates":"↕️","unicodeVersion":1.1},{"names":["left_right_arrow"],"surrogates":"↔️","unicodeVersion":1.1},{"names":["arrow_right_hook"],"surrogates":"↪️","unicodeVersion":1.1},{"names":["leftwards_arrow_with_hook"],"surrogates":"↩️","unicodeVersion":1.1},{"names":["arrow_heading_up"],"surrogates":"⤴️","unicodeVersion":3.2},{"names":["arrow_heading_down"],"surrogates":"⤵️","unicodeVersion":3.2},{"names":["twisted_rightwards_arrows"],"surrogates":"🔀","unicodeVersion":6},{"names":["repeat"],"surrogates":"🔁","unicodeVersion":6},{"names":["repeat_one"],"surrogates":"🔂","unicodeVersion":6},{"names":["arrows_counterclockwise"],"surrogates":"🔄","unicodeVersion":6},{"names":["arrows_clockwise"],"surrogates":"🔃","unicodeVersion":6},{"names":["musical_note"],"surrogates":"🎵","unicodeVersion":6},{"names":["notes"],"surrogates":"🎶","unicodeVersion":6},{"names":["heavy_plus_sign"],"surrogates":"➕","unicodeVersion":6},{"names":["heavy_minus_sign"],"surrogates":"➖","unicodeVersion":6},{"names":["heavy_division_sign"],"surrogates":"➗","unicodeVersion":6},{"names":["heavy_multiplication_x"],"surrogates":"✖️","unicodeVersion":1.1},{"names":["infinity"],"surrogates":"♾️","unicodeVersion":11},{"names":["heavy_dollar_sign"],"surrogates":"💲","unicodeVersion":6},{"names":["currency_exchange"],"surrogates":"💱","unicodeVersion":6},{"names":["tm"],"surrogates":"™️","unicodeVersion":1.1},{"names":["copyright"],"surrogates":"©️","unicodeVersion":1.1},{"names":["registered"],"surrogates":"®️","unicodeVersion":1.1},{"names":["wavy_dash"],"surrogates":"〰️","unicodeVersion":1.1},{"names":["curly_loop"],"surrogates":"➰","unicodeVersion":6},{"names":["loop"],"surrogates":"➿","unicodeVersion":6},{"names":["end"],"surrogates":"🔚","unicodeVersion":6},{"names":["back"],"surrogates":"🔙","unicodeVersion":6},{"names":["on"],"surrogates":"🔛","unicodeVersion":6},{"names":["top"],"surrogates":"🔝","unicodeVersion":6},{"names":["soon"],"surrogates":"🔜","unicodeVersion":6},{"names":["heavy_check_mark"],"surrogates":"✔️","unicodeVersion":1.1},{"names":["ballot_box_with_check"],"surrogates":"☑️","unicodeVersion":1.1},{"names":["radio_button"],"surrogates":"🔘","unicodeVersion":6},{"names":["white_circle"],"surrogates":"⚪","unicodeVersion":4.1},{"names":["black_circle"],"surrogates":"⚫","unicodeVersion":4.1},{"names":["red_circle"],"surrogates":"🔴","unicodeVersion":6},{"names":["blue_circle"],"surrogates":"🔵","unicodeVersion":6},{"names":["brown_circle"],"surrogates":"🟤","unicodeVersion":12},{"names":["purple_circle"],"surrogates":"🟣","unicodeVersion":12},{"names":["green_circle"],"surrogates":"🟢","unicodeVersion":12},{"names":["yellow_circle"],"surrogates":"🟡","unicodeVersion":12},{"names":["orange_circle"],"surrogates":"🟠","unicodeVersion":12},{"names":["small_red_triangle"],"surrogates":"🔺","unicodeVersion":6},{"names":["small_red_triangle_down"],"surrogates":"🔻","unicodeVersion":6},{"names":["small_orange_diamond"],"surrogates":"🔸","unicodeVersion":6},{"names":["small_blue_diamond"],"surrogates":"🔹","unicodeVersion":6},{"names":["large_orange_diamond"],"surrogates":"🔶","unicodeVersion":6},{"names":["large_blue_diamond"],"surrogates":"🔷","unicodeVersion":6},{"names":["white_square_button"],"surrogates":"🔳","unicodeVersion":6},{"names":["black_square_button"],"surrogates":"🔲","unicodeVersion":6},{"names":["black_small_square"],"surrogates":"▪️","unicodeVersion":1.1},{"names":["white_small_square"],"surrogates":"▫️","unicodeVersion":1.1},{"names":["black_medium_small_square"],"surrogates":"◾","unicodeVersion":3.2},{"names":["white_medium_small_square"],"surrogates":"◽","unicodeVersion":3.2},{"names":["black_medium_square"],"surrogates":"◼️","unicodeVersion":3.2},{"names":["white_medium_square"],"surrogates":"◻️","unicodeVersion":3.2},{"names":["black_large_square"],"surrogates":"⬛","unicodeVersion":5.1},{"names":["white_large_square"],"surrogates":"⬜","unicodeVersion":5.1},{"names":["orange_square"],"surrogates":"🟧","unicodeVersion":12},{"names":["blue_square"],"surrogates":"🟦","unicodeVersion":12},{"names":["red_square"],"surrogates":"🟥","unicodeVersion":12},{"names":["brown_square"],"surrogates":"🟫","unicodeVersion":12},{"names":["purple_square"],"surrogates":"🟪","unicodeVersion":12},{"names":["green_square"],"surrogates":"🟩","unicodeVersion":12},{"names":["yellow_square"],"surrogates":"🟨","unicodeVersion":12},{"names":["speaker"],"surrogates":"🔈","unicodeVersion":6},{"names":["mute"],"surrogates":"🔇","unicodeVersion":6},{"names":["sound"],"surrogates":"🔉","unicodeVersion":6},{"names":["loud_sound"],"surrogates":"🔊","unicodeVersion":6},{"names":["bell"],"surrogates":"🔔","unicodeVersion":6},{"names":["no_bell"],"surrogates":"🔕","unicodeVersion":6},{"names":["mega"],"surrogates":"📣","unicodeVersion":6},{"names":["loudspeaker"],"surrogates":"📢","unicodeVersion":6},{"names":["speech_left","left_speech_bubble"],"surrogates":"🗨️","unicodeVersion":7},{"names":["eye_in_speech_bubble"],"surrogates":"👁‍🗨","unicodeVersion":7},{"names":["speech_balloon"],"surrogates":"💬","unicodeVersion":6},{"names":["thought_balloon"],"surrogates":"💭","unicodeVersion":6},{"names":["anger_right","right_anger_bubble"],"surrogates":"🗯️","unicodeVersion":7},{"names":["spades"],"surrogates":"♠️","unicodeVersion":1.1},{"names":["clubs"],"surrogates":"♣️","unicodeVersion":1.1},{"names":["hearts"],"surrogates":"♥️","unicodeVersion":1.1},{"names":["diamonds"],"surrogates":"♦️","unicodeVersion":1.1},{"names":["black_joker"],"surrogates":"🃏","unicodeVersion":6},{"names":["flower_playing_cards"],"surrogates":"🎴","unicodeVersion":6},{"names":["mahjong"],"surrogates":"🀄","unicodeVersion":5.1},{"names":["clock1"],"surrogates":"🕐","unicodeVersion":6},{"names":["clock2"],"surrogates":"🕑","unicodeVersion":6},{"names":["clock3"],"surrogates":"🕒","unicodeVersion":6},{"names":["clock4"],"surrogates":"🕓","unicodeVersion":6},{"names":["clock5"],"surrogates":"🕔","unicodeVersion":6},{"names":["clock6"],"surrogates":"🕕","unicodeVersion":6},{"names":["clock7"],"surrogates":"🕖","unicodeVersion":6},{"names":["clock8"],"surrogates":"🕗","unicodeVersion":6},{"names":["clock9"],"surrogates":"🕘","unicodeVersion":6},{"names":["clock10"],"surrogates":"🕙","unicodeVersion":6},{"names":["clock11"],"surrogates":"🕚","unicodeVersion":6},{"names":["clock12"],"surrogates":"🕛","unicodeVersion":6},{"names":["clock130"],"surrogates":"🕜","unicodeVersion":6},{"names":["clock230"],"surrogates":"🕝","unicodeVersion":6},{"names":["clock330"],"surrogates":"🕞","unicodeVersion":6},{"names":["clock430"],"surrogates":"🕟","unicodeVersion":6},{"names":["clock530"],"surrogates":"🕠","unicodeVersion":6},{"names":["clock630"],"surrogates":"🕡","unicodeVersion":6},{"names":["clock730"],"surrogates":"🕢","unicodeVersion":6},{"names":["clock830"],"surrogates":"🕣","unicodeVersion":6},{"names":["clock930"],"surrogates":"🕤","unicodeVersion":6},{"names":["clock1030"],"surrogates":"🕥","unicodeVersion":6},{"names":["clock1130"],"surrogates":"🕦","unicodeVersion":6},{"names":["clock1230"],"surrogates":"🕧","unicodeVersion":6},{"names":["female_sign"],"surrogates":"♀️","unicodeVersion":1.1},{"names":["male_sign"],"surrogates":"♂️","unicodeVersion":1.1},{"names":["transgender_symbol"],"surrogates":"⚧","unicodeVersion":13},{"names":["medical_symbol"],"surrogates":"⚕️","unicodeVersion":4.1},{"names":["regional_indicator_z"],"surrogates":"🇿","unicodeVersion":6},{"names":["regional_indicator_y"],"surrogates":"🇾","unicodeVersion":6},{"names":["regional_indicator_x"],"surrogates":"🇽","unicodeVersion":6},{"names":["regional_indicator_w"],"surrogates":"🇼","unicodeVersion":6},{"names":["regional_indicator_v"],"surrogates":"🇻","unicodeVersion":6},{"names":["regional_indicator_u"],"surrogates":"🇺","unicodeVersion":6},{"names":["regional_indicator_t"],"surrogates":"🇹","unicodeVersion":6},{"names":["regional_indicator_s"],"surrogates":"🇸","unicodeVersion":6},{"names":["regional_indicator_r"],"surrogates":"🇷","unicodeVersion":6},{"names":["regional_indicator_q"],"surrogates":"🇶","unicodeVersion":6},{"names":["regional_indicator_p"],"surrogates":"🇵","unicodeVersion":6},{"names":["regional_indicator_o"],"surrogates":"🇴","unicodeVersion":6},{"names":["regional_indicator_n"],"surrogates":"🇳","unicodeVersion":6},{"names":["regional_indicator_m"],"surrogates":"🇲","unicodeVersion":6},{"names":["regional_indicator_l"],"surrogates":"🇱","unicodeVersion":6},{"names":["regional_indicator_k"],"surrogates":"🇰","unicodeVersion":6},{"names":["regional_indicator_j"],"surrogates":"🇯","unicodeVersion":6},{"names":["regional_indicator_i"],"surrogates":"🇮","unicodeVersion":6},{"names":["regional_indicator_h"],"surrogates":"🇭","unicodeVersion":6},{"names":["regional_indicator_g"],"surrogates":"🇬","unicodeVersion":6},{"names":["regional_indicator_f"],"surrogates":"🇫","unicodeVersion":6},{"names":["regional_indicator_e"],"surrogates":"🇪","unicodeVersion":6},{"names":["regional_indicator_d"],"surrogates":"🇩","unicodeVersion":6},{"names":["regional_indicator_c"],"surrogates":"🇨","unicodeVersion":6},{"names":["regional_indicator_b"],"surrogates":"🇧","unicodeVersion":6},{"names":["regional_indicator_a"],"surrogates":"🇦","unicodeVersion":6}],"flags":[{"names":["flag_white"],"surrogates":"🏳️","unicodeVersion":7},{"names":["flag_black"],"surrogates":"🏴","unicodeVersion":7},{"names":["checkered_flag"],"surrogates":"🏁","unicodeVersion":6},{"names":["triangular_flag_on_post"],"surrogates":"🚩","unicodeVersion":6},{"names":["rainbow_flag","gay_pride_flag"],"surrogates":"🏳️‍🌈","unicodeVersion":7},{"names":["transgender_flag"],"surrogates":"🏳️‍⚧️","unicodeVersion":13},{"names":["pirate_flag"],"surrogates":"🏴‍☠️","unicodeVersion":11},{"names":["flag_af"],"surrogates":"🇦🇫","unicodeVersion":6},{"names":["flag_ax"],"surrogates":"🇦🇽","unicodeVersion":6},{"names":["flag_al"],"surrogates":"🇦🇱","unicodeVersion":6},{"names":["flag_dz"],"surrogates":"🇩🇿","unicodeVersion":6},{"names":["flag_as"],"surrogates":"🇦🇸","unicodeVersion":6},{"names":["flag_ad"],"surrogates":"🇦🇩","unicodeVersion":6},{"names":["flag_ao"],"surrogates":"🇦🇴","unicodeVersion":6},{"names":["flag_ai"],"surrogates":"🇦🇮","unicodeVersion":6},{"names":["flag_aq"],"surrogates":"🇦🇶","unicodeVersion":6},{"names":["flag_ag"],"surrogates":"🇦🇬","unicodeVersion":6},{"names":["flag_ar"],"surrogates":"🇦🇷","unicodeVersion":6},{"names":["flag_am"],"surrogates":"🇦🇲","unicodeVersion":6},{"names":["flag_aw"],"surrogates":"🇦🇼","unicodeVersion":6},{"names":["flag_au"],"surrogates":"🇦🇺","unicodeVersion":6},{"names":["flag_at"],"surrogates":"🇦🇹","unicodeVersion":6},{"names":["flag_az"],"surrogates":"🇦🇿","unicodeVersion":6},{"names":["flag_bs"],"surrogates":"🇧🇸","unicodeVersion":6},{"names":["flag_bh"],"surrogates":"🇧🇭","unicodeVersion":6},{"names":["flag_bd"],"surrogates":"🇧🇩","unicodeVersion":6},{"names":["flag_bb"],"surrogates":"🇧🇧","unicodeVersion":6},{"names":["flag_by"],"surrogates":"🇧🇾","unicodeVersion":6},{"names":["flag_be"],"surrogates":"🇧🇪","unicodeVersion":6},{"names":["flag_bz"],"surrogates":"🇧🇿","unicodeVersion":6},{"names":["flag_bj"],"surrogates":"🇧🇯","unicodeVersion":6},{"names":["flag_bm"],"surrogates":"🇧🇲","unicodeVersion":6},{"names":["flag_bt"],"surrogates":"🇧🇹","unicodeVersion":6},{"names":["flag_bo"],"surrogates":"🇧🇴","unicodeVersion":6},{"names":["flag_ba"],"surrogates":"🇧🇦","unicodeVersion":6},{"names":["flag_bw"],"surrogates":"🇧🇼","unicodeVersion":6},{"names":["flag_br"],"surrogates":"🇧🇷","unicodeVersion":6},{"names":["flag_io"],"surrogates":"🇮🇴","unicodeVersion":6},{"names":["flag_vg"],"surrogates":"🇻🇬","unicodeVersion":6},{"names":["flag_bn"],"surrogates":"🇧🇳","unicodeVersion":6},{"names":["flag_bg"],"surrogates":"🇧🇬","unicodeVersion":6},{"names":["flag_bf"],"surrogates":"🇧🇫","unicodeVersion":6},{"names":["flag_bi"],"surrogates":"🇧🇮","unicodeVersion":6},{"names":["flag_kh"],"surrogates":"🇰🇭","unicodeVersion":6},{"names":["flag_cm"],"surrogates":"🇨🇲","unicodeVersion":6},{"names":["flag_ca"],"surrogates":"🇨🇦","unicodeVersion":6},{"names":["flag_ic"],"surrogates":"🇮🇨","unicodeVersion":6},{"names":["flag_cv"],"surrogates":"🇨🇻","unicodeVersion":6},{"names":["flag_bq"],"surrogates":"🇧🇶","unicodeVersion":6},{"names":["flag_ky"],"surrogates":"🇰🇾","unicodeVersion":6},{"names":["flag_cf"],"surrogates":"🇨🇫","unicodeVersion":6},{"names":["flag_td"],"surrogates":"🇹🇩","unicodeVersion":6},{"names":["flag_cl"],"surrogates":"🇨🇱","unicodeVersion":6},{"names":["flag_cn"],"surrogates":"🇨🇳","unicodeVersion":6},{"names":["flag_cx"],"surrogates":"🇨🇽","unicodeVersion":6},{"names":["flag_cc"],"surrogates":"🇨🇨","unicodeVersion":6},{"names":["flag_co"],"surrogates":"🇨🇴","unicodeVersion":6},{"names":["flag_km"],"surrogates":"🇰🇲","unicodeVersion":6},{"names":["flag_cg"],"surrogates":"🇨🇬","unicodeVersion":6},{"names":["flag_cd"],"surrogates":"🇨🇩","unicodeVersion":6},{"names":["flag_ck"],"surrogates":"🇨🇰","unicodeVersion":6},{"names":["flag_cr"],"surrogates":"🇨🇷","unicodeVersion":6},{"names":["flag_ci"],"surrogates":"🇨🇮","unicodeVersion":6},{"names":["flag_hr"],"surrogates":"🇭🇷","unicodeVersion":6},{"names":["flag_cu"],"surrogates":"🇨🇺","unicodeVersion":6},{"names":["flag_cw"],"surrogates":"🇨🇼","unicodeVersion":6},{"names":["flag_cy"],"surrogates":"🇨🇾","unicodeVersion":6},{"names":["flag_cz"],"surrogates":"🇨🇿","unicodeVersion":6},{"names":["flag_dk"],"surrogates":"🇩🇰","unicodeVersion":6},{"names":["flag_dj"],"surrogates":"🇩🇯","unicodeVersion":6},{"names":["flag_dm"],"surrogates":"🇩🇲","unicodeVersion":6},{"names":["flag_do"],"surrogates":"🇩🇴","unicodeVersion":6},{"names":["flag_ec"],"surrogates":"🇪🇨","unicodeVersion":6},{"names":["flag_eg"],"surrogates":"🇪🇬","unicodeVersion":6},{"names":["flag_sv"],"surrogates":"🇸🇻","unicodeVersion":6},{"names":["flag_gq"],"surrogates":"🇬🇶","unicodeVersion":6},{"names":["flag_er"],"surrogates":"🇪🇷","unicodeVersion":6},{"names":["flag_ee"],"surrogates":"🇪🇪","unicodeVersion":6},{"names":["flag_et"],"surrogates":"🇪🇹","unicodeVersion":6},{"names":["flag_eu"],"surrogates":"🇪🇺","unicodeVersion":6},{"names":["flag_fk"],"surrogates":"🇫🇰","unicodeVersion":6},{"names":["flag_fo"],"surrogates":"🇫🇴","unicodeVersion":6},{"names":["flag_fj"],"surrogates":"🇫🇯","unicodeVersion":6},{"names":["flag_fi"],"surrogates":"🇫🇮","unicodeVersion":6},{"names":["flag_fr"],"surrogates":"🇫🇷","unicodeVersion":6},{"names":["flag_gf"],"surrogates":"🇬🇫","unicodeVersion":6},{"names":["flag_pf"],"surrogates":"🇵🇫","unicodeVersion":6},{"names":["flag_tf"],"surrogates":"🇹🇫","unicodeVersion":6},{"names":["flag_ga"],"surrogates":"🇬🇦","unicodeVersion":6},{"names":["flag_gm"],"surrogates":"🇬🇲","unicodeVersion":6},{"names":["flag_ge"],"surrogates":"🇬🇪","unicodeVersion":6},{"names":["flag_de"],"surrogates":"🇩🇪","unicodeVersion":6},{"names":["flag_gh"],"surrogates":"🇬🇭","unicodeVersion":6},{"names":["flag_gi"],"surrogates":"🇬🇮","unicodeVersion":6},{"names":["flag_gr"],"surrogates":"🇬🇷","unicodeVersion":6},{"names":["flag_gl"],"surrogates":"🇬🇱","unicodeVersion":6},{"names":["flag_gd"],"surrogates":"🇬🇩","unicodeVersion":6},{"names":["flag_gp"],"surrogates":"🇬🇵","unicodeVersion":6},{"names":["flag_gu"],"surrogates":"🇬🇺","unicodeVersion":6},{"names":["flag_gt"],"surrogates":"🇬🇹","unicodeVersion":6},{"names":["flag_gg"],"surrogates":"🇬🇬","unicodeVersion":6},{"names":["flag_gn"],"surrogates":"🇬🇳","unicodeVersion":6},{"names":["flag_gw"],"surrogates":"🇬🇼","unicodeVersion":6},{"names":["flag_gy"],"surrogates":"🇬🇾","unicodeVersion":6},{"names":["flag_ht"],"surrogates":"🇭🇹","unicodeVersion":6},{"names":["flag_hn"],"surrogates":"🇭🇳","unicodeVersion":6},{"names":["flag_hk"],"surrogates":"🇭🇰","unicodeVersion":6},{"names":["flag_hu"],"surrogates":"🇭🇺","unicodeVersion":6},{"names":["flag_is"],"surrogates":"🇮🇸","unicodeVersion":6},{"names":["flag_in"],"surrogates":"🇮🇳","unicodeVersion":6},{"names":["flag_id"],"surrogates":"🇮🇩","unicodeVersion":6},{"names":["flag_ir"],"surrogates":"🇮🇷","unicodeVersion":6},{"names":["flag_iq"],"surrogates":"🇮🇶","unicodeVersion":6},{"names":["flag_ie"],"surrogates":"🇮🇪","unicodeVersion":6},{"names":["flag_im"],"surrogates":"🇮🇲","unicodeVersion":6},{"names":["flag_il"],"surrogates":"🇮🇱","unicodeVersion":6},{"names":["flag_it"],"surrogates":"🇮🇹","unicodeVersion":6},{"names":["flag_jm"],"surrogates":"🇯🇲","unicodeVersion":6},{"names":["flag_jp"],"surrogates":"🇯🇵","unicodeVersion":6},{"names":["crossed_flags"],"surrogates":"🎌","unicodeVersion":6},{"names":["flag_je"],"surrogates":"🇯🇪","unicodeVersion":6},{"names":["flag_jo"],"surrogates":"🇯🇴","unicodeVersion":6},{"names":["flag_kz"],"surrogates":"🇰🇿","unicodeVersion":6},{"names":["flag_ke"],"surrogates":"🇰🇪","unicodeVersion":6},{"names":["flag_ki"],"surrogates":"🇰🇮","unicodeVersion":6},{"names":["flag_xk"],"surrogates":"🇽🇰","unicodeVersion":6},{"names":["flag_kw"],"surrogates":"🇰🇼","unicodeVersion":6},{"names":["flag_kg"],"surrogates":"🇰🇬","unicodeVersion":6},{"names":["flag_la"],"surrogates":"🇱🇦","unicodeVersion":6},{"names":["flag_lv"],"surrogates":"🇱🇻","unicodeVersion":6},{"names":["flag_lb"],"surrogates":"🇱🇧","unicodeVersion":6},{"names":["flag_ls"],"surrogates":"🇱🇸","unicodeVersion":6},{"names":["flag_lr"],"surrogates":"🇱🇷","unicodeVersion":6},{"names":["flag_ly"],"surrogates":"🇱🇾","unicodeVersion":6},{"names":["flag_li"],"surrogates":"🇱🇮","unicodeVersion":6},{"names":["flag_lt"],"surrogates":"🇱🇹","unicodeVersion":6},{"names":["flag_lu"],"surrogates":"🇱🇺","unicodeVersion":6},{"names":["flag_mo"],"surrogates":"🇲🇴","unicodeVersion":6},{"names":["flag_mk"],"surrogates":"🇲🇰","unicodeVersion":6},{"names":["flag_mg"],"surrogates":"🇲🇬","unicodeVersion":6},{"names":["flag_mw"],"surrogates":"🇲🇼","unicodeVersion":6},{"names":["flag_my"],"surrogates":"🇲🇾","unicodeVersion":6},{"names":["flag_mv"],"surrogates":"🇲🇻","unicodeVersion":6},{"names":["flag_ml"],"surrogates":"🇲🇱","unicodeVersion":6},{"names":["flag_mt"],"surrogates":"🇲🇹","unicodeVersion":6},{"names":["flag_mh"],"surrogates":"🇲🇭","unicodeVersion":6},{"names":["flag_mq"],"surrogates":"🇲🇶","unicodeVersion":6},{"names":["flag_mr"],"surrogates":"🇲🇷","unicodeVersion":6},{"names":["flag_mu"],"surrogates":"🇲🇺","unicodeVersion":6},{"names":["flag_yt"],"surrogates":"🇾🇹","unicodeVersion":6},{"names":["flag_mx"],"surrogates":"🇲🇽","unicodeVersion":6},{"names":["flag_fm"],"surrogates":"🇫🇲","unicodeVersion":6},{"names":["flag_md"],"surrogates":"🇲🇩","unicodeVersion":6},{"names":["flag_mc"],"surrogates":"🇲🇨","unicodeVersion":6},{"names":["flag_mn"],"surrogates":"🇲🇳","unicodeVersion":6},{"names":["flag_me"],"surrogates":"🇲🇪","unicodeVersion":6},{"names":["flag_ms"],"surrogates":"🇲🇸","unicodeVersion":6},{"names":["flag_ma"],"surrogates":"🇲🇦","unicodeVersion":6},{"names":["flag_mz"],"surrogates":"🇲🇿","unicodeVersion":6},{"names":["flag_mm"],"surrogates":"🇲🇲","unicodeVersion":6},{"names":["flag_na"],"surrogates":"🇳🇦","unicodeVersion":6},{"names":["flag_nr"],"surrogates":"🇳🇷","unicodeVersion":6},{"names":["flag_np"],"surrogates":"🇳🇵","unicodeVersion":6},{"names":["flag_nl"],"surrogates":"🇳🇱","unicodeVersion":6},{"names":["flag_nc"],"surrogates":"🇳🇨","unicodeVersion":6},{"names":["flag_nz"],"surrogates":"🇳🇿","unicodeVersion":6},{"names":["flag_ni"],"surrogates":"🇳🇮","unicodeVersion":6},{"names":["flag_ne"],"surrogates":"🇳🇪","unicodeVersion":6},{"names":["flag_ng"],"surrogates":"🇳🇬","unicodeVersion":6},{"names":["flag_nu"],"surrogates":"🇳🇺","unicodeVersion":6},{"names":["flag_nf"],"surrogates":"🇳🇫","unicodeVersion":6},{"names":["flag_kp"],"surrogates":"🇰🇵","unicodeVersion":6},{"names":["flag_mp"],"surrogates":"🇲🇵","unicodeVersion":6},{"names":["flag_no"],"surrogates":"🇳🇴","unicodeVersion":6},{"names":["flag_om"],"surrogates":"🇴🇲","unicodeVersion":6},{"names":["flag_pk"],"surrogates":"🇵🇰","unicodeVersion":6},{"names":["flag_pw"],"surrogates":"🇵🇼","unicodeVersion":6},{"names":["flag_ps"],"surrogates":"🇵🇸","unicodeVersion":6},{"names":["flag_pa"],"surrogates":"🇵🇦","unicodeVersion":6},{"names":["flag_pg"],"surrogates":"🇵🇬","unicodeVersion":6},{"names":["flag_py"],"surrogates":"🇵🇾","unicodeVersion":6},{"names":["flag_pe"],"surrogates":"🇵🇪","unicodeVersion":6},{"names":["flag_ph"],"surrogates":"🇵🇭","unicodeVersion":6},{"names":["flag_pn"],"surrogates":"🇵🇳","unicodeVersion":6},{"names":["flag_pl"],"surrogates":"🇵🇱","unicodeVersion":6},{"names":["flag_pt"],"surrogates":"🇵🇹","unicodeVersion":6},{"names":["flag_pr"],"surrogates":"🇵🇷","unicodeVersion":6},{"names":["flag_qa"],"surrogates":"🇶🇦","unicodeVersion":6},{"names":["flag_re"],"surrogates":"🇷🇪","unicodeVersion":6},{"names":["flag_ro"],"surrogates":"🇷🇴","unicodeVersion":6},{"names":["flag_ru"],"surrogates":"🇷🇺","unicodeVersion":6},{"names":["flag_rw"],"surrogates":"🇷🇼","unicodeVersion":6},{"names":["flag_ws"],"surrogates":"🇼🇸","unicodeVersion":6},{"names":["flag_sm"],"surrogates":"🇸🇲","unicodeVersion":6},{"names":["flag_st"],"surrogates":"🇸🇹","unicodeVersion":6},{"names":["flag_sa"],"surrogates":"🇸🇦","unicodeVersion":6},{"names":["flag_sn"],"surrogates":"🇸🇳","unicodeVersion":6},{"names":["flag_rs"],"surrogates":"🇷🇸","unicodeVersion":6},{"names":["flag_sc"],"surrogates":"🇸🇨","unicodeVersion":6},{"names":["flag_sl"],"surrogates":"🇸🇱","unicodeVersion":6},{"names":["flag_sg"],"surrogates":"🇸🇬","unicodeVersion":6},{"names":["flag_sx"],"surrogates":"🇸🇽","unicodeVersion":6},{"names":["flag_sk"],"surrogates":"🇸🇰","unicodeVersion":6},{"names":["flag_si"],"surrogates":"🇸🇮","unicodeVersion":6},{"names":["flag_gs"],"surrogates":"🇬🇸","unicodeVersion":6},{"names":["flag_sb"],"surrogates":"🇸🇧","unicodeVersion":6},{"names":["flag_so"],"surrogates":"🇸🇴","unicodeVersion":6},{"names":["flag_za"],"surrogates":"🇿🇦","unicodeVersion":6},{"names":["flag_kr"],"surrogates":"🇰🇷","unicodeVersion":6},{"names":["flag_ss"],"surrogates":"🇸🇸","unicodeVersion":6},{"names":["flag_es"],"surrogates":"🇪🇸","unicodeVersion":6},{"names":["flag_lk"],"surrogates":"🇱🇰","unicodeVersion":6},{"names":["flag_bl"],"surrogates":"🇧🇱","unicodeVersion":6},{"names":["flag_sh"],"surrogates":"🇸🇭","unicodeVersion":6},{"names":["flag_kn"],"surrogates":"🇰🇳","unicodeVersion":6},{"names":["flag_lc"],"surrogates":"🇱🇨","unicodeVersion":6},{"names":["flag_pm"],"surrogates":"🇵🇲","unicodeVersion":6},{"names":["flag_vc"],"surrogates":"🇻🇨","unicodeVersion":6},{"names":["flag_sd"],"surrogates":"🇸🇩","unicodeVersion":6},{"names":["flag_sr"],"surrogates":"🇸🇷","unicodeVersion":6},{"names":["flag_sz"],"surrogates":"🇸🇿","unicodeVersion":6},{"names":["flag_se"],"surrogates":"🇸🇪","unicodeVersion":6},{"names":["flag_ch"],"surrogates":"🇨🇭","unicodeVersion":6},{"names":["flag_sy"],"surrogates":"🇸🇾","unicodeVersion":6},{"names":["flag_tw"],"surrogates":"🇹🇼","unicodeVersion":6},{"names":["flag_tj"],"surrogates":"🇹🇯","unicodeVersion":6},{"names":["flag_tz"],"surrogates":"🇹🇿","unicodeVersion":6},{"names":["flag_th"],"surrogates":"🇹🇭","unicodeVersion":6},{"names":["flag_tl"],"surrogates":"🇹🇱","unicodeVersion":6},{"names":["flag_tg"],"surrogates":"🇹🇬","unicodeVersion":6},{"names":["flag_tk"],"surrogates":"🇹🇰","unicodeVersion":6},{"names":["flag_to"],"surrogates":"🇹🇴","unicodeVersion":6},{"names":["flag_tt"],"surrogates":"🇹🇹","unicodeVersion":6},{"names":["flag_tn"],"surrogates":"🇹🇳","unicodeVersion":6},{"names":["flag_tr"],"surrogates":"🇹🇷","unicodeVersion":6},{"names":["flag_tm"],"surrogates":"🇹🇲","unicodeVersion":6},{"names":["flag_tc"],"surrogates":"🇹🇨","unicodeVersion":6},{"names":["flag_vi"],"surrogates":"🇻🇮","unicodeVersion":6},{"names":["flag_tv"],"surrogates":"🇹🇻","unicodeVersion":6},{"names":["flag_ug"],"surrogates":"🇺🇬","unicodeVersion":6},{"names":["flag_ua"],"surrogates":"🇺🇦","unicodeVersion":6},{"names":["flag_ae"],"surrogates":"🇦🇪","unicodeVersion":6},{"names":["flag_gb"],"surrogates":"🇬🇧","unicodeVersion":6},{"names":["england"],"surrogates":"🏴󠁧󠁢󠁥󠁮󠁧󠁿","unicodeVersion":7},{"names":["scotland"],"surrogates":"🏴󠁧󠁢󠁳󠁣󠁴󠁿","unicodeVersion":7},{"names":["wales"],"surrogates":"🏴󠁧󠁢󠁷󠁬󠁳󠁿","unicodeVersion":7},{"names":["flag_us"],"surrogates":"🇺🇸","unicodeVersion":6},{"names":["flag_uy"],"surrogates":"🇺🇾","unicodeVersion":6},{"names":["flag_uz"],"surrogates":"🇺🇿","unicodeVersion":6},{"names":["flag_vu"],"surrogates":"🇻🇺","unicodeVersion":6},{"names":["flag_va"],"surrogates":"🇻🇦","unicodeVersion":6},{"names":["flag_ve"],"surrogates":"🇻🇪","unicodeVersion":6},{"names":["flag_vn"],"surrogates":"🇻🇳","unicodeVersion":6},{"names":["flag_wf"],"surrogates":"🇼🇫","unicodeVersion":6},{"names":["flag_eh"],"surrogates":"🇪🇭","unicodeVersion":6},{"names":["flag_ye"],"surrogates":"🇾🇪","unicodeVersion":6},{"names":["flag_zm"],"surrogates":"🇿🇲","unicodeVersion":6},{"names":["flag_zw"],"surrogates":"🇿🇼","unicodeVersion":6},{"names":["flag_ac"],"surrogates":"🇦🇨","unicodeVersion":6},{"names":["flag_bv"],"surrogates":"🇧🇻","unicodeVersion":6},{"names":["flag_cp"],"surrogates":"🇨🇵","unicodeVersion":6},{"names":["flag_ea"],"surrogates":"🇪🇦","unicodeVersion":6},{"names":["flag_dg"],"surrogates":"🇩🇬","unicodeVersion":6},{"names":["flag_hm"],"surrogates":"🇭🇲","unicodeVersion":6},{"names":["flag_mf"],"surrogates":"🇲🇫","unicodeVersion":6},{"names":["flag_sj"],"surrogates":"🇸🇯","unicodeVersion":6},{"names":["flag_ta"],"surrogates":"🇹🇦","unicodeVersion":6},{"names":["flag_um"],"surrogates":"🇺🇲","unicodeVersion":6},{"names":["united_nations"],"surrogates":"🇺🇳","unicodeVersion":6}]}')},function(e){e.exports=JSON.parse('[{"emoji":"angry","shortcuts":[">:(",">:-(",">=(",">=-("]},{"emoji":"blush","shortcuts":[":\\")",":-\\")","=\\")","=-\\")"]},{"emoji":"broken_heart","shortcuts":["</3","<\\\\3"]},{"emoji":"confused","shortcuts":[":-\\\\",":-/","=-\\\\","=-/"]},{"emoji":"cry","shortcuts":[":\'(",":\'-(",":,(",":,-(","=\'(","=\'-(","=,(","=,-("]},{"emoji":"frowning","shortcuts":[":(",":-(","=(","=-("]},{"emoji":"heart","shortcuts":["<3","♡"]},{"emoji":"imp","shortcuts":["]:(","]:-(","]=(","]=-("]},{"emoji":"innocent","shortcuts":["o:)","O:)","o:-)","O:-)","0:)","0:-)","o=)","O=)","o=-)","O=-)","0=)","0=-)"]},{"emoji":"joy","shortcuts":[":\')",":\'-)",":,)",":,-)",":\'D",":\'-D",":,D",":,-D","=\')","=\'-)","=,)","=,-)","=\'D","=\'-D","=,D","=,-D"]},{"emoji":"kissing","shortcuts":[":*",":-*","=*","=-*"]},{"emoji":"laughing","shortcuts":["x-)","X-)"]},{"emoji":"neutral_face","shortcuts":[":|",":-|","=|","=-|"]},{"emoji":"open_mouth","shortcuts":[":o",":-o",":O",":-O","=o","=-o","=O","=-O"]},{"emoji":"rage","shortcuts":[":@",":-@","=@","=-@"]},{"emoji":"smile","shortcuts":[":D",":-D","=D","=-D"]},{"emoji":"slight_smile","shortcuts":[":)",":-)","=)","=-)"]},{"emoji":"smiling_imp","shortcuts":["]:)","]:-)","]=)","]=-)"]},{"emoji":"sob","shortcuts":[":,\'(",":,\'-(",";(",";-(","=,\'(","=,\'-("]},{"emoji":"stuck_out_tongue","shortcuts":[":P",":-P","=P","=-P"]},{"emoji":"sunglasses","shortcuts":["8-)","B-)"]},{"emoji":"sweat","shortcuts":[",:(",",:-(",",=(",",=-("]},{"emoji":"sweat_smile","shortcuts":[",:)",",:-)",",=)",",=-)"]},{"emoji":"unamused","shortcuts":[":s",":-S",":z",":-Z",":$",":-$","=s","=-S","=z","=-Z","=$","=-$"]},{"emoji":"wink","shortcuts":[";)",";-)"]}]')},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.match(r.validStreamURL);if(null!=t)return t[1];return null};var r=n(156)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.match(r.validStreamURL);if(null!=t)return t[2];return null};var r=n(156)},function(e,t,n){"use strict";var r;function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){var t,n;function r(t){var n;return(n=e.call(this)||this).id=t.id,n.type=t.type,n.name=t.name,n.revoked=t.revoked||!1,n.integrations=t.integrations||[],n.visibility=t.visibility||0,n.friendSync=t.friend_sync||!1,n.showActivity=t.show_activity||!1,n.verified=t.verified||!1,n.accessToken=t.access_token||null,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n),r.prototype.toString=function(){return this.name},r}(((r=n(62))&&r.__esModule?r:{default:r}).default);t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(130)),i=a(n(3)),o=a(n(2));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=[a(n(5373)).default],d=[];function f(){for(var e,t=[],n=u(c);!(e=n()).done;){var i=e.value.getActivity();i&&t.push(i)}return!(0,r.default)(t,d)&&(d=t,!0)}var _=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var i=r.prototype;return i.initialize=function(){this.syncWith(c,f)},i.getActivities=function(){return d},r}(i.default.Store))(o.default);t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=v(n(130)),i=v(n(3)),o=v(n(2)),a=v(n(11)),s=v(n(10)),u=v(n(15)),l=v(n(94)),c=v(n(36)),d=v(n(302)),f=n(260),_=n(1278),p=n(134),E=n(207),h=v(n(81)),m=n(1);function v(e){return e&&e.__esModule?e:{default:e}}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=null;function I(){var e,t,n,r,i,o,a,l=c.default.getVoiceChannelId();if(null==l)return null;var v=h.default.getStageInstanceByChannel(l);if(!v)return null;if(v.privacy_level!==E.StageInstancePrivacyLevel.PUBLIC)return null;var T=s.default.getChannel(l);if(!T)return null;var I=u.default.getGuild(T.getGuildId());if(!I)return null;var S=(0,_.packStageChannelPartyId)(T,v),y=(null===(e=g)||void 0===e||null===(t=e.party)||void 0===t?void 0:t.id)===S?g:null;return{application_id:p.STAGE_APPLICATION_ID,name:null!==(n=null!==(r=v.topic)&&void 0!==r?r:T.topic)&&void 0!==n?n:T.name,type:m.ActivityTypes.LISTENING,timestamps:{start:null!==(i=null==y||null===(o=y.timestamps)||void 0===o?void 0:o.start)&&void 0!==i?i:(new Date).getTime()},assets:{small_image:null!==(a=I.icon)&&void 0!==a?a:void 0,small_text:I.name},party:{id:S,size:[d.default.getParticipantCount(l,f.StageChannelParticipantNamedIndex.SPEAKER),d.default.getParticipantCount(l)]}}}function S(){var e=I();return!(0,r.default)(e,g)&&(g=e,!0)}var y=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,T(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(s.default,c.default,h.default,l.default)},i.getActivity=function(){return g},r}(i.default.Store))(o.default,{CONNECTION_OPEN:function(e){return S()},STAGE_INSTANCE_CREATE:function(e){return S()},STAGE_INSTANCE_UPDATE:function(e){return S()},STAGE_INSTANCE_DELETE:function(e){return S()},VOICE_CHANNEL_SELECT:function(e){return S()},RTC_CONNECTION_STATE:function(e){var t,n,r,i,o=e.state,a=null!==(t=null===(n=g)||void 0===n||null===(r=n.party)||void 0===r||null===(i=r.size)||void 0===i?void 0:i[1])&&void 0!==t?t:0;return!(o!==m.RTCConnectionStates.RTC_CONNECTED||a>0)&&S()},VOICE_STATE_UPDATE:function(e){var t,n,r;if(e.userId!==a.default.getId())return!1;var i=I();return(null==i||null===(t=i.party)||void 0===t?void 0:t.id)!==(null===(n=g)||void 0===n||null===(r=n.party)||void 0===r?void 0:r.id)&&(g=i,!0)}});t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(8))&&r.__esModule?r:{default:r},o=n(57);var a=function(){function e(e,t){this._pendingRequests=new Set,this._sentRequests=new Set,this._unacknowledgedRequests=new Set,this._guildId=e,this._guildMemberExists=function(n){return t(e,n)}}var t=e.prototype;return t.acknowledge=function(e){this._unacknowledgedRequests.delete(e),this._pendingRequests.delete(e)},t.flushRequests=function(e){var t=this;if(0!==this._pendingRequests.size){var n=[];this._pendingRequests.forEach((function(e){t._guildMemberExists(e)||(t._unacknowledgedRequests.add(e),t._sentRequests.add(e),n.push(e))})),n.length>0&&e(this._guildId,n),this._pendingRequests.clear()}},t.requestUnacknowledged=function(){var e=this;return 0!==this._unacknowledgedRequests.size&&(this._unacknowledgedRequests.forEach((function(t){e._guildMemberExists(t)?e._unacknowledgedRequests.delete(t):e._pendingRequests.add(t)})),0!==this._pendingRequests.size&&void 0)},t.request=function(e){if(this._guildMemberExists(e)||this._sentRequests.has(e)||this._pendingRequests.has(e))return!1;this._pendingRequests.add(e)},e}(),s=function(){function e(e,t){var n=this;this._guildStates={},this._flush=new o.DelayedCall(0,(function(){return n.flushRequests()})),this._guildMemberExists=e,this._onChange=t}var t=e.prototype;return t.reset=function(){this._guildStates={},this._flush.cancel()},t.request=function(e,t){!1!==this._getGuildState(e).request(t)&&this._flush.delay(!1)},t.acknowledge=function(e,t){this._getGuildState(e).acknowledge(t)},t.flushRequests=function(){var e=this;i.default.forEach(this._guildStates,(function(t){return t.flushRequests(e._onChange)}))},t.requestUnacknowledged=function(){i.default.reduce(this._guildStates,(function(e,t){return!1!==t.requestUnacknowledged()||t}),!1)&&this._flush.delay()},t._getGuildState=function(e){var t=this._guildStates[e];return null==t&&(t=this._guildStates[e]=new a(e,this._guildMemberExists)),t},e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.useStateFromStores)([o.default,i.default],(function(){return u(e,t,[o.default,i.default])}),[e,t])},t.getHighestHoistedRole=void 0;var r=n(3),i=s(n(56)),o=s(n(15)),a=s(n(78));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(e,t,n){var r=void 0===n?[o.default,i.default]:n,s=r[0],u=r[1];if(null==!e||null==t)return null;var l=s.getGuild(e);if(null==l)return null;var c=u.getMember(l.id,t);return null==c?null:a.default.getHighestHoistedRole(l,c)};t.getHighestHoistedRole=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/[\s-~]+/g,"-").replace(/^-+/,"").replace(/[\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").toLowerCase()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(8)),i=s(n(3)),o=s(n(2)),a=s(n(11));n(1);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=Object.freeze([]),c={};function d(e){c={},e.sessions.forEach((function(e){c[e.sessionId]=e}))}var f=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var o=i.prototype;return o.initialize=function(){this.waitFor(a.default)},o.getSessions=function(){return c},o.getSession=function(){var e=a.default.getSessionId();return null!=e?this.getSessionById(e):null},o.getRemoteActivities=function(){var e=a.default.getSessionId(),t=r.default.find(c,(function(t){return t.active&&t.sessionId!==e}));return null!=t?t.activities:l},o.getSessionById=function(e){return c[e]},o.getActiveSession=function(){return r.default.find(c,(function(e){return e.active}))},i}(i.default.Store))(o.default,{CONNECTION_OPEN:d,SESSIONS_REPLACE:d});t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVoiceAnalyticsMetadataAdditional=function(){var e=i.default.getCurrentGame();return{game_name:null!=e?e.name:null,game_id:null!=e?e.id:null}},t.getGroupMetadataAdditional=function(e){var t=r.default.getGame(e);return{game_name:null!=t?t.name:"Unknown Game"}};var r=o(n(71)),i=o(n(79));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=T(n(23)),a=n(134),s=T(n(81)),u=T(n(985)),l=T(n(986)),c=T(n(992)),d=n(703),f=n(85),_=n(35),p=T(n(13)),E=T(n(5413)),h=T(n(5426)),m=n(1),v=T(n(5766));function T(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function I(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var S=function(e){var t=e.onNavigateToStage,n=e.transitionState,r=e.onClose,T=(0,f.useUID)(),g=i.useState(),S=g[0],y=g[1],A=i.useState(),O=A[0],N=A[1],R=(0,l.default)(O,(function(e){var n,i;(0,o.default)(null!=O,"Channel cannot be null"),t(O,null,!1),r(),p.default.track(m.AnalyticEvents.STAGE_DISCOVERY_START_STAGE_COMPLETED,{stage_instance_id:null!==(n=null==e?void 0:e.id)&&void 0!==n?n:null===(i=s.default.getStageInstanceByChannel(O.id))||void 0===i?void 0:i.id,created_new_stage_channel:!1})}),null==S?void 0:S.id),b=R.loading,L=R.error,D=R.onSave,C=(0,c.default)({defaultStep:a.StartStageSteps.GUILD_SELECTION,error:L,onSave:D}),M=C.modalStep,P=C.setModalStep,w=C.readySlide,U=C.handleSlideReady,k=C.savedOptions,G=C.handleSettingsSave,Y=C.handleDelayedSave;return i.useEffect((function(){null!=S&&null!=O||P(a.StartStageSteps.GUILD_SELECTION)}),[S,O,P]),I(_.ModalRoot,{transitionState:n,size:_.ModalSize.SMALL,"aria-labelledby":T},void 0,I(d.Slides,{activeSlide:M,width:440,onSlideReady:U},void 0,I(d.Slide,{id:a.StartStageSteps.GUILD_SELECTION},void 0,I("div",{className:v.default.slideContainer},void 0,I(h.default,{headerId:T,onClick:function(e,t){null!=e&&(y(e),N(t)),P(a.StartStageSteps.STAGE_CHANNEL_SETTINGS)}}))),I(d.Slide,{id:a.StartStageSteps.STAGE_CHANNEL_SETTINGS},void 0,I("div",{className:v.default.slideContainer},void 0,null!=S&&null!=O?I(E.default,{headerId:T,guild:S,channel:O,onClose:r,onSelectChannel:function(e){N(e)},isSlideReady:w===a.StartStageSteps.STAGE_CHANNEL_SETTINGS,loading:b,error:L,onSave:G,defaultOptions:k}):null)),I(d.Slide,{id:a.StartStageSteps.PUBLIC_STAGE_PREVIEW},void 0,I("div",{className:v.default.slideContainer},void 0,I(u.default,{headerId:T,guild:S,channel:O,stageData:k,loading:b,onNext:Y,onCancel:r,onBack:function(){return P(a.StartStageSteps.STAGE_CHANNEL_SETTINGS)}})))))};S.displayName="StartStageModal";var y=S;t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=y();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=S(n(9)),a=S(n(150)),s=n(193),u=S(n(29)),l=S(n(61)),c=S(n(282)),d=S(n(55)),f=S(n(375)),_=S(n(149)),p=S(n(47)),E=S(n(248)),h=S(n(24)),m=n(1),v=S(n(6)),T=S(n(5731)),g=S(n(5384)),I=S(n(5385));function S(e){return e&&e.__esModule?e:{default:e}}function y(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y=function(){return e},e}function A(){return(A=Object.assign||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}).apply(this,arguments)}function O(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var R=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,N(t,n);var S=r.prototype;return S.renderLoading=function(){return i.createElement(i.Fragment,null,O("div",{className:T.default.splashPlaceholder}),O("div",{className:(0,o.default)(T.default.body,T.default.hasSplash)},void 0,O("div",{className:T.default.iconPlaceholder}),O("div",{className:T.default.headerText},void 0,O("div",{className:T.default.namePlaceholder})),O(d.default,{className:T.default.memberInfo,align:d.default.Align.CENTER},void 0,O("div",{className:T.default.memberCount},void 0,O("div",{className:T.default.memberInfoPlaceholder})),O("div",{className:T.default.memberCount},void 0,O("div",{className:T.default.memberInfoPlaceholder}))),O("div",{className:T.default.viewButtonPlaceholder})))},S.renderUnavailable=function(){var e=this.props.theme;return O("div",{className:T.default.body},void 0,O("img",{src:e===m.ThemeTypes.DARK?g.default:I.default,className:T.default.unavailableIcon,width:80,height:80,alt:""}),O(p.default,{className:T.default.unavailableHeader,size:p.default.Sizes.SIZE_16},void 0,v.default.Messages.GUILD_POPOUT_UNAVAILABLE_HEADER),O(h.default,{},void 0,v.default.Messages.GUILD_POPOUT_UNAVAILABLE_FLAVOR))},S.renderFooter=function(){var e,t=this.props,n=t.onView,r=t.submitting,s=t.guild;if(null==s)return null;var l=s.emojis,c=l,d=null;return null!=c&&c.length>6&&null!=l&&(c=(null==l?void 0:l.slice(Math.max((null==l?void 0:l.length)-6,0)))||[],d=l.length-6),O("div",{className:T.default.footer},void 0,null!=c&&c.length>0?i.createElement(i.Fragment,null,O(p.default,{size:p.default.Sizes.SIZE_12,muted:!0,className:T.default.emojiHeader},void 0,v.default.Messages.SERVER_EMOJI),O("div",{className:(0,o.default)(T.default.emojiContainer,(e={},e[T.default.withCounter]=null!=d,e))},void 0,c.map((function(e){var t=a.default.getEmojiURL({id:e.id,animated:!1});return O(_.default,{text:":"+e.name+":"},e.id,(function(e){var n;return i.createElement("img",A({},e,{width:24,height:24,src:t,className:(0,o.default)((n={},n[T.default.emoji]=null==d,n)),alt:""}))}))})),null!=d?O(p.default,{size:p.default.Sizes.SIZE_12,muted:!0,className:T.default.emojiCounter},void 0,"+"+d):null)):null,O(u.default,{look:u.default.Looks.FILLED,color:u.default.Colors.BRAND,size:u.default.Sizes.SMALL,onClick:n,submitting:r,autoFocus:!0},void 0,v.default.Messages.GUILD_POPOUT_VIEW_SERVER_BUTTON))},S.renderGuild=function(){var e,t,n=this.props,r=n.guild,u=n.onView;if(null==r)return null;var c=r.name,p=r.id,g=r.discoverySplash,I=r.icon,S=r.description,y=r.presenceCount,A=r.memberCount,N=a.default.getGuildDiscoverySplashURL({id:p,splash:g,size:250*(0,s.getDevicePixelRatio)()}),R=a.default.getGuildIconURL({id:p,icon:I,size:80})||void 0;return i.createElement(i.Fragment,null,null!=N?O("img",{src:N,alt:"",className:T.default.splashImage}):null,O("div",{className:(0,o.default)(T.default.body,(e={},e[T.default.hasSplash]=null!=N,e))},void 0,O("div",{className:(0,o.default)((t={},t[T.default.iconWithSplash]=null!=N,t))},void 0,O(l.default,{onClick:u},void 0,O(E.default,{mask:E.default.Masks.SQUIRCLE,width:88,height:88},void 0,O("div",{className:T.default.iconMask},void 0,O(E.default,{mask:E.default.Masks.SQUIRCLE,width:80,height:80},void 0,O("img",{src:R,alt:"",className:T.default.avatar})))))),null!=c?O("div",{className:T.default.guildNameWrapper},void 0,O(f.default,{className:T.default.badge,guild:r,tooltipPosition:_.default.Positions.TOP,tooltipColor:_.default.Colors.PRIMARY,badgeColor:m.Colors.PRIMARY_DARK}),O("span",{className:T.default.guildName},void 0,c)):null,null!=S?O(h.default,{color:h.default.Colors.HEADER_SECONDARY,className:T.default.description},void 0,S):null,O(d.default,{className:T.default.memberInfo,align:d.default.Align.CENTER},void 0,null!=y?O("div",{className:T.default.memberCount},void 0,O("div",{className:T.default.dotOnline}),O("span",{className:T.default.memberText},void 0,v.default.Messages.INSTANT_INVITE_GUILD_MEMBERS_ONLINE.format({membersOnline:y}))):null,null!=A?O("div",{className:T.default.memberCount},void 0,O("div",{className:T.default.dotOffline}),O("span",{className:T.default.memberText},void 0,v.default.Messages.INSTANT_INVITE_GUILD_MEMBERS_TOTAL.format({count:A}))):null)),this.renderFooter())},S.render=function(){var e=this.props,t=e.loading,n=e.guild,r=null,i=null;return t?(r=this.renderLoading(),i=v.default.Messages.LOADING):null!=n?(r=this.renderGuild(),i=n.name):(r=this.renderUnavailable(),i=v.default.Messages.GUILD_UNAVAILABLE_HEADER),O(c.default,{"aria-label":i,className:T.default.guildPopout},void 0,r)},r}(i.Component);R.displayName="GuildPopout";var b=R;t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?16:t,r=e.height,i=void 0===r?16:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 16 15.2"}),l("path",{className:d,fill:c,fillRule:"evenodd",d:"m16 7.6c0 .79-1.28 1.38-1.52 2.09s.44 2 0 2.59-1.84.35-2.46.8-.79 1.84-1.54 2.09-1.67-.8-2.47-.8-1.75 1-2.47.8-.92-1.64-1.54-2.09-2-.18-2.46-.8.23-1.84 0-2.59-1.54-1.3-1.54-2.09 1.28-1.38 1.52-2.09-.44-2 0-2.59 1.85-.35 2.48-.8.78-1.84 1.53-2.12 1.67.83 2.47.83 1.75-1 2.47-.8.91 1.64 1.53 2.09 2 .18 2.46.8-.23 1.84 0 2.59 1.54 1.3 1.54 2.09z"}))}c.displayName="FlowerStarIcon";var d=c;t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c=l("circle",{cx:"8",cy:"8",r:"8"}),d=l("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 11.3333V4.66666H8.5L8.49999 11.3333H7.5Z",fill:"white"});function f(e){var t=e.width,n=void 0===t?16:t,r=e.height,i=void 0===r?16:r,s=e.color,f=void 0===s?"currentColor":s,_=function(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}(e,["width","height","color"]);return o.createElement("svg",u({},(0,a.default)(_),{width:n,height:i,viewBox:"0 0 16 16"}),c,l("path",{d:"M4.66666 12.6667C3.93028 12.6667 3.33333 12.0697 3.33333 11.3333C3.33333 10.5969 3.93028 9.99999 4.66666 9.99999C5.40304 9.99999 5.99999 10.5969 5.99999 11.3333C5.99999 12.0697 5.40304 12.6667 4.66666 12.6667Z",fill:f}),l("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.66666 12C4.29847 12 3.99999 11.7015 3.99999 11.3333C3.99999 10.9651 4.29847 10.6667 4.66666 10.6667C5.03485 10.6667 5.33333 10.9651 5.33333 11.3333C5.33333 11.7015 5.03485 12 4.66666 12ZM3.33333 11.3333C3.33333 12.0697 3.93028 12.6667 4.66666 12.6667C5.40304 12.6667 5.99999 12.0697 5.99999 11.3333C5.99999 10.5969 5.40304 9.99999 4.66666 9.99999C3.93028 9.99999 3.33333 10.5969 3.33333 11.3333Z",fill:f}),l("path",{d:"M8 12.6667C7.26362 12.6667 6.66666 12.0697 6.66666 11.3333C6.66666 10.5969 7.26362 9.99999 8 9.99999C8.73637 9.99999 9.33333 10.5969 9.33333 11.3333C9.33333 12.0697 8.73637 12.6667 8 12.6667Z",fill:f}),l("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 12C7.63181 12 7.33333 11.7015 7.33333 11.3333C7.33333 10.9651 7.63181 10.6667 8 10.6667C8.36819 10.6667 8.66666 10.9651 8.66666 11.3333C8.66666 11.7015 8.36819 12 8 12ZM6.66666 11.3333C6.66666 12.0697 7.26362 12.6667 8 12.6667C8.73637 12.6667 9.33333 12.0697 9.33333 11.3333C9.33333 10.5969 8.73637 9.99999 8 9.99999C7.26362 9.99999 6.66666 10.5969 6.66666 11.3333Z",fill:f}),l("path",{d:"M8 6C7.26362 6 6.66666 5.40304 6.66666 4.66666C6.66666 3.93028 7.26362 3.33333 8 3.33333C8.73637 3.33333 9.33333 3.93028 9.33333 4.66666C9.33333 5.40304 8.73637 6 8 6Z",fill:f}),l("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 5.33333C7.63181 5.33333 7.33333 5.03485 7.33333 4.66666C7.33333 4.29847 7.63181 3.99999 8 3.99999C8.36819 3.99999 8.66666 4.29847 8.66666 4.66666C8.66666 5.03485 8.36819 5.33333 8 5.33333ZM6.66666 4.66666C6.66666 5.40304 7.26362 6 8 6C8.73637 6 9.33333 5.40304 9.33333 4.66666C9.33333 3.93028 8.73637 3.33333 8 3.33333C7.26362 3.33333 6.66666 3.93028 6.66666 4.66666Z",fill:f}),l("path",{d:"M11.3333 12.6667C10.5969 12.6667 9.99999 12.0697 9.99999 11.3333C9.99999 10.5969 10.5969 9.99999 11.3333 9.99999C12.0697 9.99999 12.6667 10.5969 12.6667 11.3333C12.6667 12.0697 12.0697 12.6667 11.3333 12.6667Z",fill:f}),l("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3333 12C10.9651 12 10.6667 11.7015 10.6667 11.3333C10.6667 10.9651 10.9651 10.6667 11.3333 10.6667C11.7015 10.6667 12 10.9651 12 11.3333C12 11.7015 11.7015 12 11.3333 12ZM9.99999 11.3333C9.99999 12.0697 10.5969 12.6667 11.3333 12.6667C12.0697 12.6667 12.6667 12.0697 12.6667 11.3333C12.6667 10.5969 12.0697 9.99999 11.3333 9.99999C10.5969 9.99999 9.99999 10.5969 9.99999 11.3333Z",fill:f}),l("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.99999 8.49999C5.53976 8.49999 5.16666 8.87309 5.16666 9.33333V10.6667H4.16666V9.33333C4.16666 8.32081 4.98747 7.49999 5.99999 7.49999H9.99999C11.0125 7.49999 11.8333 8.32081 11.8333 9.33333V10.6667H10.8333V9.33333C10.8333 8.87309 10.4602 8.49999 9.99999 8.49999H5.99999Z",fill:f}),d)}f.displayName="HubBadge"},,function(e,t,n){e.exports=n.p+"9b6e88ab0dce304077f9037fbcced99a.svg"},function(e,t,n){e.exports=n.p+"568ed23b69c459a68d126f08051a9b44.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchGuildForPopout=function(e){return l.apply(this,arguments)};var r=a(n(14)),i=a(n(2)),o=n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){s(o,r,i,a,u,"next",e)}function u(e){s(o,r,i,a,u,"throw",e)}a(void 0)}))}}function l(){return(l=u(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i.default.dirtyDispatch({type:o.ActionTypes.GUILD_POPOUT_FETCH_START,guildId:t}),e.prev=1,e.next=4,r.default.get({url:o.Endpoints.GUILD_PREVIEW(t),oldFormErrors:!0});case 4:n=e.sent,i.default.dispatch({type:o.ActionTypes.GUILD_POPOUT_FETCH_SUCCESS,guildId:t,guild:n.body}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),i.default.dispatch({type:o.ActionTypes.GUILD_POPOUT_FETCH_FAILURE,guildId:t});case 11:case"end":return e.stop()}}),e,null,[[1,8]])})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=u(n(3)),o=u(n(2)),a=u(n(11)),s=n(701);n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(){return(c=Object.assign||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}).apply(this,arguments)}!function(e){e.UNSET="unset",e.FETCHING="fetching",e.FAILED="failed",e.SUCCEEDED="succeeded"}(r||(r={}));var d={guilds:{}};var f=new(function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var o=i.prototype;return o.initialize=function(){this.waitFor(a.default)},o.isFetchingGuild=function(e){var t=d.guilds[e];return null!=t&&t.fetchState===r.FETCHING},o.getGuild=function(e){var t=d.guilds[e];return null!=t?t.guild:null},o.hasFetchFailed=function(e){var t=d.guilds[e];return null!=t&&t.fetchState===r.FAILED},i}(i.default.Store))(o.default,{GUILD_POPOUT_FETCH_START:function(e){var t=e.guildId;d.guilds[t]=c({},d.guilds[t],{fetchState:r.FETCHING})},GUILD_POPOUT_FETCH_SUCCESS:function(e){var t=e.guildId,n=e.guild,i=(0,s.makeDiscoverableGuild)(n);d.guilds[t]=c({},d.guilds[t],{guild:i,fetchState:r.SUCCEEDED})},GUILD_POPOUT_FETCH_FAILURE:function(e){var t=e.guildId;d.guilds[t]=c({},d.guilds[t],{fetchState:r.FAILED})}});t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.backgroundImagePreloader=function(e){var t=function(t){var n,r;function o(e){var n;(n=t.call(this,e)||this).cachedURLs=[],n.canceller=null;var r=e.style,i=r?d(r.backgroundImage):null;return n.cachedURLs=[i],n.state={cached:i,url:null,loaded:!0},n}r=t,(n=o).prototype=Object.create(r.prototype),n.prototype.constructor=n,l(n,r);var s=o.prototype;return s.componentDidUpdate=function(e,t){var n=this;if(t!==this.state){var r=this.state,i=r.cached,o=r.loaded,a=this.props.style,s=a?d(a.backgroundImage):null;null==s&&s!==i||this.cachedURLs.indexOf(s)>=0?this.setState({loaded:!0,cached:s}):null!=s&&s!==i&&!0===o&&this.setState({loaded:!1},(function(){return n.preloadURL(s)}))}},s.preloadURL=function(e){var t=this;this.canceller&&this.canceller(),this.canceller=(0,a.loadImage)(e,(function(n){t.canceller&&(t.canceller=null),n||(t.cachedURLs.push(e),t.setState({cached:e,loaded:!0}));var r=t.props.onBackgroundImageLoad;r&&r(n,e)}))},s.componentWillUnmount=function(){this.canceller&&this.canceller(),this.cachedURLs.length=0},s.render=function(){var t=this.props,n=t.style,r=(t.onBackgroundImageLoad,function(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}(t,["style","onBackgroundImageLoad"])),o=this.state,a=o.loaded,s=o.cached;return!a&&n&&(n=u({},n,{backgroundImage:f(s)})),i.createElement(e,u({style:n},r))},o}(i.Component);return t.displayName="BackgroundImagePreloader",(0,o.default)(t,e),t};var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(5389))&&r.__esModule?r:{default:r},a=n(193);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=/url\(['"](.*)['"]\)/,d=function(e){if(!e||"none"===e)return null;var t=e.match(c);return t?t[1]:e};function f(e){return e&&"none"!==e?"url("+e+")":"none"}},function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},o="function"==typeof Object.getOwnPropertySymbols;e.exports=function(e,t,n){if("string"!=typeof t){var a=Object.getOwnPropertyNames(t);o&&(a=a.concat(Object.getOwnPropertySymbols(t)));for(var s=0;s<a.length;++s)if(!(r[a[s]]||i[a[s]]||n&&n[a[s]]))try{e[a[s]]=t[a[s]]}catch(e){}}return e}},function(e,t){if(!n)var n={map:function(e,t){var n={};return t?e.map((function(e,r){return n.index=r,t.call(n,e)})):e.slice()},naturalOrder:function(e,t){return e<t?-1:e>t?1:0},sum:function(e,t){var n={};return e.reduce(t?function(e,r,i){return n.index=i,e+t.call(n,r)}:function(e,t){return e+t},0)},max:function(e,t){return Math.max.apply(null,t?n.map(e,t):e)}};var r=function(){function e(e,t,n){return(e<<10)+(t<<5)+n}function t(e){var t=[],n=!1;function r(){t.sort(e),n=!0}return{push:function(e){t.push(e),n=!1},peek:function(e){return n||r(),void 0===e&&(e=t.length-1),t[e]},pop:function(){return n||r(),t.pop()},size:function(){return t.length},map:function(e){return t.map(e)},debug:function(){return n||r(),t}}}function r(e,t,n,r,i,o,a){this.r1=e,this.r2=t,this.g1=n,this.g2=r,this.b1=i,this.b2=o,this.histo=a}function i(){this.vboxes=new t((function(e,t){return n.naturalOrder(e.vbox.count()*e.vbox.volume(),t.vbox.count()*t.vbox.volume())}))}function o(t,r){if(r.count()){var i=r.r2-r.r1+1,o=r.g2-r.g1+1,a=r.b2-r.b1+1,s=n.max([i,o,a]);if(1==r.count())return[r.copy()];var u,l,c,d,f=0,_=[],p=[];if(s==i)for(u=r.r1;u<=r.r2;u++){for(d=0,l=r.g1;l<=r.g2;l++)for(c=r.b1;c<=r.b2;c++)d+=t[e(u,l,c)]||0;f+=d,_[u]=f}else if(s==o)for(u=r.g1;u<=r.g2;u++){for(d=0,l=r.r1;l<=r.r2;l++)for(c=r.b1;c<=r.b2;c++)d+=t[e(l,u,c)]||0;f+=d,_[u]=f}else for(u=r.b1;u<=r.b2;u++){for(d=0,l=r.r1;l<=r.r2;l++)for(c=r.g1;c<=r.g2;c++)d+=t[e(l,c,u)]||0;f+=d,_[u]=f}return _.forEach((function(e,t){p[t]=f-e})),E(s==i?"r":s==o?"g":"b")}function E(e){var t,n,i,o,a,s=e+"1",l=e+"2",c=0;for(u=r[s];u<=r[l];u++)if(_[u]>f/2){for(i=r.copy(),o=r.copy(),a=(t=u-r[s])<=(n=r[l]-u)?Math.min(r[l]-1,~~(u+n/2)):Math.max(r[s],~~(u-1-t/2));!_[a];)a++;for(c=p[a];!c&&_[a-1];)c=p[--a];return i[l]=a,o[s]=i[l]+1,[i,o]}}}return r.prototype={volume:function(e){return this._volume&&!e||(this._volume=(this.r2-this.r1+1)*(this.g2-this.g1+1)*(this.b2-this.b1+1)),this._volume},count:function(t){var n=this.histo;if(!this._count_set||t){var r,i,o,a=0;for(r=this.r1;r<=this.r2;r++)for(i=this.g1;i<=this.g2;i++)for(o=this.b1;o<=this.b2;o++)a+=n[e(r,i,o)]||0;this._count=a,this._count_set=!0}return this._count},copy:function(){return new r(this.r1,this.r2,this.g1,this.g2,this.b1,this.b2,this.histo)},avg:function(t){var n=this.histo;if(!this._avg||t){var r,i,o,a,s=0,u=0,l=0,c=0;for(i=this.r1;i<=this.r2;i++)for(o=this.g1;o<=this.g2;o++)for(a=this.b1;a<=this.b2;a++)s+=r=n[e(i,o,a)]||0,u+=r*(i+.5)*8,l+=r*(o+.5)*8,c+=r*(a+.5)*8;this._avg=s?[~~(u/s),~~(l/s),~~(c/s)]:[~~(8*(this.r1+this.r2+1)/2),~~(8*(this.g1+this.g2+1)/2),~~(8*(this.b1+this.b2+1)/2)]}return this._avg},contains:function(e){var t=e[0]>>3;return gval=e[1]>>3,bval=e[2]>>3,t>=this.r1&&t<=this.r2&&gval>=this.g1&&gval<=this.g2&&bval>=this.b1&&bval<=this.b2}},i.prototype={push:function(e){this.vboxes.push({vbox:e,color:e.avg()})},palette:function(){return this.vboxes.map((function(e){return e.color}))},size:function(){return this.vboxes.size()},map:function(e){for(var t=this.vboxes,n=0;n<t.size();n++)if(t.peek(n).vbox.contains(e))return t.peek(n).color;return this.nearest(e)},nearest:function(e){for(var t,n,r,i=this.vboxes,o=0;o<i.size();o++)((n=Math.sqrt(Math.pow(e[0]-i.peek(o).color[0],2)+Math.pow(e[1]-i.peek(o).color[1],2)+Math.pow(e[2]-i.peek(o).color[2],2)))<t||void 0===t)&&(t=n,r=i.peek(o).color);return r},forcebw:function(){var e=this.vboxes;e.sort((function(e,t){return n.naturalOrder(n.sum(e.color),n.sum(t.color))}));var t=e[0].color;t[0]<5&&t[1]<5&&t[2]<5&&(e[0].color=[0,0,0]);var r=e.length-1,i=e[r].color;i[0]>251&&i[1]>251&&i[2]>251&&(e[r].color=[255,255,255])}},{quantize:function(a,s){if(!a.length||s<2||s>256)return!1;var u=function(t){var n,r,i,o,a=new Array(32768);return t.forEach((function(t){r=t[0]>>3,i=t[1]>>3,o=t[2]>>3,n=e(r,i,o),a[n]=(a[n]||0)+1})),a}(a);u.forEach((function(){0}));var l=function(e,t){var n,i,o,a=1e6,s=0,u=1e6,l=0,c=1e6,d=0;return e.forEach((function(e){n=e[0]>>3,i=e[1]>>3,o=e[2]>>3,n<a?a=n:n>s&&(s=n),i<u?u=i:i>l&&(l=i),o<c?c=o:o>d&&(d=o)})),new r(a,s,u,l,c,d,t)}(a,u),c=new t((function(e,t){return n.naturalOrder(e.count(),t.count())}));function d(e,t){for(var n,r=1,i=0;i<1e3;)if((n=e.pop()).count()){var a=o(u,n),s=a[0],l=a[1];if(!s)return;if(e.push(s),l&&(e.push(l),r++),r>=t)return;if(i++>1e3)return}else e.push(n),i++}c.push(l),d(c,.75*s);for(var f=new t((function(e,t){return n.naturalOrder(e.count()*e.volume(),t.count()*t.volume())}));c.size();)f.push(c.pop());d(f,s-f.size());for(var _=new i;f.size();)_.push(f.pop());return _}}}();e.exports=r.quantize},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-04_impression_logging",label:"Standard Analytics: Log Impressions",defaultConfig:{useStandardAnalytics:!1},treatments:[{id:1,label:"Log impressions",config:{useStandardAnalytics:!0}}]});t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;l(n(0));var r,i=s(n(282)),o=l(n(151)),a=s(n(5733));function s(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function c(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(){return c(i.default,{className:a.default.loadingPopout},void 0,c(o.default,{type:o.SpinnerTypes.SPINNING_CIRCLE}))}d.displayName="LoadingPopout"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o,a,s=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),u=_(n(9)),l=n(57),c=n(123),d=n(717),f=_(n(5734));function _(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function E(e,t,n,r){o||(o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var i=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&i)for(var l in i)void 0===t[l]&&(t[l]=i[l]);else t||(t=i||{});return{$$typeof:o,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}!function(e){e[e.TRANSLATE=1]="TRANSLATE",e[e.SCALE=2]="SCALE",e[e.FADE=3]="FADE"}(a||(a={}));var h=Object.freeze(((r={})[a.TRANSLATE]=f.default.translate,r[a.SCALE]=f.default.scale,r[a.FADE]=f.default.fade,r)),m=Object.freeze(((i={})[d.PopoutPositions.TOP]=f.default.animatorTop,i[d.PopoutPositions.BOTTOM]=f.default.animatorBottom,i[d.PopoutPositions.LEFT]=f.default.animatorLeft,i[d.PopoutPositions.RIGHT]=f.default.animatorRight,i[d.PopoutPositions.CENTER]=f.default.animatorCenter,i)),v=function(e){var t,n=e.position,r=e.type,i=e.children,o=s.useContext(c.AccessibilityPreferencesContext).reducedMotion.enabled?a.FADE:r,d=s.useState(null!=n),_=d[0],p=d[1],v=s.useState((function(){return new l.Timeout}))[0];return s.useEffect((function(){return function(){return v.stop()}}),[v]),s.useEffect((function(){null!=n&&v.start(10,(function(){return p(!0)}))}),[n,v]),E("div",{className:(0,u.default)(null!=n?m[n]:null,(t={},t[h[o]]=null!=n,t[f.default.didRender]=_,t))},void 0,i)};v.displayName="PopoutCSSAnimator",v.Types=a;var T=v;t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n)}(n(0));var r,i=u(n(9)),o=u(n(1240)),a=u(n(24)),s=u(n(5735));function u(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t=e.count,n=e.className;return c("div",{className:(0,i.default)(s.default.container,n)},void 0,c(o.default,{width:12,height:12,className:s.default.icon}),c(a.default,{color:a.default.Colors.HEADER_SECONDARY,size:a.default.Sizes.SIZE_14},void 0,null!=t?t:0))}d.displayName="AudienceCountWithIcon";var f=d;t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n)}(n(0));var r,i=l(n(407)),o=l(n(279)),a=l(n(24)),s=l(n(6)),u=l(n(5739));function l(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var f=d(i.default,{height:12});function _(e){var t=e.guild,n=e.speakers,r=e.speakerCount,i=n.slice(0,5),l=i.map((function(e){var n,r;return d("div",{className:u.default.speakerContainer},null==e||null===(n=e.user)||void 0===n?void 0:n.id,d(o.default,{src:null==e||null===(r=e.user)||void 0===r?void 0:r.getAvatarURL(t.id),size:o.default.Sizes.SIZE_24,className:u.default.avatar,"aria-label":(null==e?void 0:e.userNick)+"-avatar"}),d("div",{className:u.default.textInGridContainer},void 0,d(a.default,{color:a.default.Colors.HEADER_SECONDARY,size:a.default.Sizes.SIZE_14,className:u.default.textInGrid},void 0,null==e?void 0:e.userNick)))})),c=r-i.length;return d("div",{className:u.default.grid},void 0,l,c>0&&d("div",{className:u.default.speakerContainer},void 0,d("div",{className:u.default.iconMicrophone},void 0,f),d(a.default,{color:a.default.Colors.HEADER_SECONDARY,size:a.default.Sizes.SIZE_14,className:u.default.textInGrid},void 0,s.default.Messages.STAGE_DISCOVERY_LIVE_STAGE_TILE_SPEAKER_SUMMARY_OVERFLOW.format({count:c}))))}_.displayName="SpeakerSummarySection"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.resolveThunk=void 0;var r,i=(r=n(8))&&r.__esModule?r:{default:r};var o=function(e){return"function"==typeof e?e():e};t.resolveThunk=o;var a=i.default.curry((function(e,t,n){return o(t)?e(n):n({})}));t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showModal=function(e,t,n){return(0,a.openModal)(l(e,t,n))},t.updateModalProps=function(e,t,n,r){return(0,a.updateModal)(e,l(t,n,r))};var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(5398))&&r.__esModule?r:{default:r},a=n(41);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}var l=function(e,t,n){return function(r){return i.createElement(o.default,u({handleSubmit:e,handleEarlyClose:t},n,r))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(29)),a=E(n(467)),s=E(n(153)),u=n(85),l=E(n(476)),c=n(35),d=E(n(47)),f=E(n(24)),_=E(n(6)),p=E(n(5742));function E(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function m(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var T=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).headerId=(0,u.uid)(),t.state={code:""},t.setRef=function(e){t._input=e},t.handleSubmit=function(e){e.preventDefault(),(0,t.props.handleSubmit)(t.state.code)},t.handleCancel=function(){var e=t.props,n=e.onClose,r=e.handleEarlyClose;n(),r&&r()},t.handleCodeChange=function(e){t.setState({code:e})},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,v(t,n),r.prototype.render=function(){var e=this.props,t=e.title,n=e.actionText,r=e.children,u=e.error,E=e.isLoading,h=e.disallowBackupCodes,v=e.transitionState,T=this.state.code,g=i.Children.count(r)?m(a.default,{type:a.default.Types.WARNING,className:p.default.card},void 0,m(f.default,{size:f.default.Sizes.SIZE_16},void 0,r)):null;return m(c.ModalRoot,{transitionState:v,"aria-labelledby":this.headerId},void 0,m("form",{onSubmit:this.handleSubmit},void 0,m(c.ModalHeader,{separator:!1,id:this.headerId},void 0,m(d.default,{tag:d.default.Tags.H2,size:d.default.Sizes.SIZE_20},void 0,t)),m(c.ModalContent,{},void 0,g,m(l.default,{title:h?_.default.Messages.TWO_FA_ENTER_TOKEN_NO_BACKUP_LABEL:_.default.Messages.TWO_FA_ENTER_TOKEN_LABEL,className:p.default.spacing},void 0,m(s.default,{inputRef:this.setRef,onChange:this.handleCodeChange,placeholder:h?_.default.Messages.TWO_FA_AUTH_CODE_NO_BACKUP:_.default.Messages.TWO_FA_AUTH_CODE,maxLength:10,value:T,autoComplete:"off",autoFocus:!0}),u?m(f.default,{color:f.default.Colors.STATUS_RED,size:f.default.Sizes.SIZE_12,className:p.default.error},void 0,u):null)),m(c.ModalFooter,{},void 0,m(o.default,{type:"submit",disabled:E},void 0,n||_.default.Messages.CONFIRM),m(o.default,{onClick:this.handleCancel,disabled:E,look:o.default.Looks.LINK,color:o.default.Colors.PRIMARY},void 0,_.default.Messages.CANCEL))))},r}(i.PureComponent);T.displayName="MFAConfirm",T.defaultProps={btnClass:"",isLoading:!1,disallowBackupCodes:!1,error:null};var g=T;t.default=g},function(e,t,n){"use strict";var r;function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){var t,n;function r(t){var n,r,i=t.error;null!=i.param?n=e.call(this,{body:(r={},r[i.param]=[i.message],r)})||this:n=e.call(this,i.message)||this;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n)}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n),r}(((r=n(490))&&r.__esModule?r:{default:r}).default);t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1161),i=a(n(195)),o=a(n(6));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){var t,n;function i(t,n){var r;return 429===(r=e.call(this,t,n)||this).status&&(r.message=r._getMessageFromRateLimit(t)),r}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n),i.prototype._getMessageFromRateLimit=function(e){var t=e.body.retry_after,n=(0,r.diffAsUnits)(0,1e3*t);return(0,r.unitsAsStrings)(n,{days:o.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_ERROR_RATE_LIMIT_DAYS,hours:o.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_ERROR_RATE_LIMIT_HOURS,minutes:o.default.Messages.PREMIUM_GUILD_SUBSCRIPTION_ERROR_RATE_LIMIT_MINUTES})},i}(i.default);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLocaleData=u,t.default=function(e,t,n){void 0===t&&(t=u());void 0===n&&(n=!1);e=function(e,t){return e.replace(/L[L|T|S]{0,3}/g,(function(n,r){return/^LLLL/.test(n)?t.longDateFormat.LLLL:/^LLL/.test(n)?t.longDateFormat.LLL+n.slice(3):/^LL/.test(n)?t.longDateFormat.LL+n.slice(2):/^LTS/.test(n)?t.longDateFormat.LTS+n.slice(3):/^LT/.test(n)?t.longDateFormat.LT+n.slice(2):/^L/.test(n)&&"["!==e[r-1]?t.longDateFormat.L+n.slice(1):n}))}(e,t);var r=[],i={month:!1,dayOfYear:!1,date:!1,day:!1,week:!1,isoweek:!1,year:!1,hour:!1,minutes:!1,seconds:!1,millis:!1,offset:!1},o=e;function a(e){r.push("("+e+")")}function s(e){o=o.slice(e)}for(;o.length;){switch(o.charAt(0)){case"M":if(i.month=!0,/^MMMM/.test(o)){a('localeData.months(_month, "'+e+'")'),s(4);continue}if(/^MMM/.test(o)){a('localeData.monthsShort(_month, "'+e+'")'),s(3);continue}if(/^MM/.test(o)){a('_month+1 < 10 ? "0" : ""'),a("_month+1"),s(2);continue}if(/^Mo/.test(o)){a('localeData.ordinal(_month, "M")'),s(2);continue}a("_month + 1"),s(1);continue;case"Q":if(i.month=!0,/^Qo/.test(o)){a('localeData.ordinal((_month + 1) / 3, "Q")'),s(2);continue}a("Math.ceil((_month + 1) / 3)"),s(1);continue;case"D":if(/^DDD/.test(o)){if(i.dayOfYear=!0,/^DDDD/.test(o)){a('_doy < 100 ? "0" : ""'),a('_doy < 10 ? "0" : ""'),a("_doy"),s(4);continue}if(/^DDDo/.test(o)){a('localeData.ordinal(_doy, "DDD")'),s(4);continue}a("_doy"),s(3);continue}if(i.date=!0,/^DD/.test(o)){a('_date < 10 ? "0" : ""'),a("_date"),s(2);continue}if(/^Do/.test(o)){a('localeData.ordinal(_date, "D")'),s(2);continue}a("_date"),s(1);continue;case"d":if(i.day=!0,/^dddd/.test(o)){a('localeData.weekdays(_day, "'+e+'")'),s(4);continue}if(/^ddd/.test(o)){a('localeData.weekdaysShort(_day, "'+e+'")'),s(3);continue}if(/^dd/.test(o)){a('localeData.weekdaysMin(_day, "'+e+'")'),s(2);continue}if(/^do/.test(o)){a('localeData.ordinal(_day, "d")'),s(2);continue}a("_day"),s(1);continue;case"e":i.day=!0,a("(_day + 7 - "+ +t.week.dow+") % 7"),s(1);continue;case"E":i.day=!0,a("_day === 0 ? 7 : _day"),s(1);continue;case"w":if(i.week=!0,/^ww/.test(o)){a('_week < 10 ? "0" : ""'),a("_week"),s(2);continue}if(/^wo/.test(o)){a('localeData.ordinal(_week, "w")'),s(2);continue}a("_week"),s(1);continue;case"W":if(i.isoweek=!0,/^WW/.test(o)){a('_i_week < 10 ? "0" : ""'),a("_i_week"),s(2);continue}if(/^Wo/.test(o)){a('localeData.ordinal(_i_week, "W")'),s(2);continue}a("_i_week"),s(1);continue;case"Y":if(i.year=!0,/^YYYY/.test(o)){a("_year"),s(4);continue}if(/^YY/.test(o)){a('(_year % 100) < 10 ? "0" : ""'),a("_year % 100"),s(2);continue}a('_year < 9999 ? _year : "+" + _year'),s(1);continue;case"g":if(i.week=!0,/^gggg/.test(o)){a("_weekYear"),s(4);continue}if(/^gg/.test(o)){a('(_weekYear % 100) < 10 ? "0" : ""'),a("_weekYear % 100"),s(2);continue}break;case"G":if(i.isoweek=!0,/^GGGG/.test(o)){a("_i_weekYear"),s(4);continue}if(/^GG/.test(o)){a('(_i_weekYear % 100) < 10 ? "0" : ""'),a("_i_weekYear % 100"),s(2);continue}break;case"A":i.hour=!0,i.minutes=!0,a("localeData.meridiem(_hour, _mins, false)"),s(1);continue;case"a":i.hour=!0,i.minutes=!0,a("localeData.meridiem(_hour, _mins, true)"),s(1);continue;case"H":if(i.hour=!0,/^HH/.test(o)){a('_hour < 10 ? "0" : ""'),a("_hour"),s(2);continue}a("_hour"),s(1);continue;case"h":if(i.hour=!0,/^hh/.test(o)){a('((_hour+11) % 12) < 9 ? "0" : ""'),a("((_hour+11) % 12) + 1"),s(2);continue}a("((_hour+11) % 12) + 1"),s(1);continue;case"k":if(i.hour=!0,/^kk/.test(o)){a('_hour > 0 && _hour < 10 ? "0" : ""'),a('_hour === 0 ? "24" : _hour'),s(2);continue}a('_hour === 0 ? "24" : _hour'),s(1);continue;case"m":if(i.minutes=!0,/^mm/.test(o)){a('_mins < 10 ? "0" : ""'),a("_mins"),s(2);continue}a("_mins"),s(1);continue;case"s":if(i.seconds=!0,/^ss/.test(o)){a('_secs < 10 ? "0" : ""'),a("_secs"),s(2);continue}a("_secs"),s(1);continue;case"S":if(i.millis=!0,/^SSS/.test(o)){a('_ms < 100 ? "0" : ""'),a('_ms < 10 ? "0" : ""'),a("_ms");var l=/^S{3,9}/.exec(o);if(null==l)throw new Error("ms len regex failed");var c=l[0].length;c>3&&a('"'+Array(c-2).join("0")+'"'),s(c);continue}if(/^SS/.test(o)){a('_ms < 100 ? "0" : ""'),a("Math.floor(_ms/10)"),s(2);continue}a("Math.floor(_ms / 100)"),s(1);continue;case"Z":if(i.offset=!0,/^ZZ/.test(o)){a('_offs >= 0 ? "+" : "-"'),a('_offH < 10 ? "0" : ""'),a("_offH"),a('_offM < 10 ? "0" : ""'),a("_offM"),s(2);continue}a('_offs >= 0 ? "+" : "-"'),a('_offH < 10 ? "0" : ""'),a("_offH"),a('":"'),a('_offM < 10 ? "0" : ""'),a("_offM"),s(1);continue;case"X":a("Math.floor(d / 1000)"),s(1);continue;case"x":a("d.valueOf()"),s(1);continue;case"[":var d=o.indexOf("]");if(-1===d){a('"["'),s(1);continue}a(JSON.stringify(o.slice(1,d))),s(d+1);continue}a(JSON.stringify(o.charAt(0))),s(1)}var f="";i.date&&(f+="var _date = d.get"+(n?"UTC":"")+"Date();\n");i.month&&(f+="var _month = d.get"+(n?"UTC":"")+"Month();\n");i.dayOfYear&&(f+="var _startOfYear = new Date(d.valueOf());\n_startOfYear.set"+(n?"UTC":"")+"Month(0);\n_startOfYear.set"+(n?"UTC":"")+"Date(1);\nvar _doy = Math.round((d - _startOfYear) / 864e5) + 1;\n");i.day&&(f+="var _day = d.get"+(n?"UTC":"")+"Day();\n");i.year&&(f+="var _year = d.get"+(n?"UTC":"")+"FullYear();\n");i.hour&&(f+="var _hour = d.get"+(n?"UTC":"")+"Hours();\n");i.minutes&&(f+="var _mins = d.get"+(n?"UTC":"")+"Minutes();\n");i.seconds&&(f+="var _secs = d.get"+(n?"UTC":"")+"Seconds();\n");i.millis&&(f+="var _ms = d.get"+(n?"UTC":"")+"Milliseconds();\n");i.offset&&(f+=n?"var _offs = 0, _absOffs = 0, _offH = 0, _offM = 0;":"var _offs = -d.getTimezoneOffset();\nvar _absOffs = _offs < 0 ? -_offs : _offs;\nvar _offH = Math.floor(_absOffs / 60);\nvar _offM = _absOffs % 60;\n");i.week&&(f+="var _wend = "+(t.week.doy-t.week.dow)+";\nvar _ddw = "+ +t.week.doy+" - d.get"+(n?"UTC":"")+"Day();\nif(_ddw > _wend) _ddw -= 7;\nif(_ddw < _wend - 7) _ddw += 7;\nvar _d2 = new Date(d.valueOf());\n_d2.set"+(n?"UTC":"")+"Date(d.get"+(n?"UTC":"")+"Date() + _ddw);\nvar _soy2 = new Date(_d2.valueOf());\n_soy2.set"+(n?"UTC":"")+"Month(0);\n_soy2.set"+(n?"UTC":"")+"Date(1);\nvar _doy2 = Math.round((_d2 - _soy2) / 864e5) + 1;\nvar _week = Math.ceil(_doy2 / 7);\nvar _weekYear = _d2.get"+(n?"UTC":"")+"FullYear();\n");i.isoweek&&(f+="var _i_wend = 3;\nvar _i_ddw = 4 - d.get"+(n?"UTC":"")+"Day();\nif(_i_ddw > _i_wend) _i_ddw -= 7;\nif(_i_ddw < _i_wend - 7) _i_ddw += 7;\nvar _i_d2 = new Date(d.valueOf());\n_i_d2.set"+(n?"UTC":"")+"Date(d.get"+(n?"UTC":"")+"Date() + _i_ddw);\nvar _i_soy2 = new Date(_i_d2.valueOf());\n_i_soy2.set"+(n?"UTC":"")+"Month(0);\n_i_soy2.set"+(n?"UTC":"")+"Date(1);\nvar _i_doy2 = Math.round((_i_d2 - _i_soy2) / 864e5) + 1;\nvar _i_week = Math.ceil(_i_doy2 / 7);\nvar _i_weekYear = _i_d2.get"+(n?"UTC":"")+"FullYear();\n");f+='return (\n"" +\n'+r.join(" +\n")+"\n);";var _=new Function("d","localeData",f);return function(e){return _(e,t)}};var r,i=(r=n(5))&&r.__esModule?r:{default:r};function o(e,t){if("function"==typeof t){var n=i.default.localeData(),r=t.bind(n);return function(t,n){var i;return r(((i={})[e]=function(){return t},i),n)}}return t=Array.isArray(t)?t:t.format,function(e){return t[e]}}function a(e){return"string"==typeof e?function(t){return e.replace("%d",""+t)}:e}function s(e,t,n){return e<12?n?"am":"AM":n?"pm":"PM"}function u(){var e=i.default.localeData()._config,t=e.months,n=e.monthsShort,r=e.weekdays,u=e.weekdaysShort,l=e.weekdaysMin,c=e.meridiem,d=void 0===c?s:c,f=e.ordinal,_=e.longDateFormat,p=e.week,E=void 0===p?{dow:0,doy:6}:p;return{months:o("month",t),monthsShort:o("month",n),weekdays:o("day",r),weekdaysShort:o("day",u),weekdaysMin:o("day",l),meridiem:d,ordinal:a(f),longDateFormat:_,week:E}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UploadErrorCodes=void 0;var r,i,o=(r=n(6))&&r.__esModule?r:{default:r};function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}t.UploadErrorCodes=i,function(e){e[e.GENERAL=0]="GENERAL",e[e.NO_FILE=1]="NO_FILE",e[e.PROGRESS=2]="PROGRESS",e[e.UPLOAD=3]="UPLOAD",e[e.READ=4]="READ"}(i||(t.UploadErrorCodes=i={}));var s=function(){function e(e){this.code=e}var t,n,r;return t=e,(n=[{key:"displayMessage",get:function(){switch(this.code){case i.NO_FILE:return o.default.Messages.UPLOAD_DEBUG_LOG_FAILURE_NO_FILE;case i.PROGRESS:return o.default.Messages.UPLOAD_DEBUG_LOG_FAILURE_PROGRESS;case i.UPLOAD:return o.default.Messages.UPLOAD_DEBUG_LOG_FAILURE_UPLOAD;case i.READ:return o.default.Messages.UPLOAD_DEBUG_LOG_FAILURE_READ;case i.GENERAL:default:return o.default.Messages.UPLOAD_DEBUG_LOG_FAILURE}}}])&&a(t.prototype,n),r&&a(t,r),e}();t.default=s},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;!function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}t.default=e}(n(17));var r=s(n(5404)),i=s(n(5407)),o=s(n(0)),a=s(n(987));n(989);function s(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||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}).apply(this,arguments)}var l=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,r.default)(e,t)}))},c=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,i.default)(e,t)}))},d=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).onEnter=function(e,n){var r=t.getClassNames(n?"appear":"enter").className;t.removeClasses(e,"exit"),l(e,r),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.getClassNames(n?"appear":"enter").activeClassName;t.reflowAndAddClass(e,r),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.getClassNames("appear").doneClassName,i=t.getClassNames("enter").doneClassName,o=n?r+" "+i:i;t.removeClasses(e,n?"appear":"enter"),l(e,o),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.getClassNames("exit").className;t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),l(e,n),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.getClassNames("exit").activeClassName;t.reflowAndAddClass(e,n),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.getClassNames("exit").doneClassName;t.removeClasses(e,"exit"),l(e,n),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,i=r?(r&&n?n+"-":"")+e:n[e];return{className:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.removeClasses=function(e,t){var n=this.getClassNames(t),r=n.className,i=n.activeClassName,o=n.doneClassName;r&&c(e,r),i&&c(e,i),o&&c(e,o)},i.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,l(e,t))},i.render=function(){var e=u({},this.props);return delete e.classNames,o.default.createElement(a.default,u({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(o.default.Component);d.defaultProps={classNames:""},d.propTypes={};var f=d;t.default=f,e.exports=t.default},function(e,t,n){"use strict";var r=n(5405);t.__esModule=!0,t.default=function(e,t){e.classList?e.classList.add(t):(0,i.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))};var i=r(n(5406));e.exports=t.default},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=r(e.className,t):e.setAttribute("class",r(e.className&&e.className.baseVal||"",t))}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;a(n(17));var r=a(n(0)),i=n(67),o=a(n(990));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var t,n;function a(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var s=a.prototype;return s.handleLifecycle=function(e,t,n){var o,a=this.props.children,s=r.default.Children.toArray(a)[t];s.props[e]&&(o=s.props)[e].apply(o,n),this.props[e]&&this.props[e]((0,i.findDOMNode)(this))},s.render=function(){var e=this.props,t=e.children,n=e.in,i=function(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}(e,["children","in"]),a=r.default.Children.toArray(t),s=a[0],u=a[1];return delete i.onEnter,delete i.onEntering,delete i.onEntered,delete i.onExit,delete i.onExiting,delete i.onExited,r.default.createElement(o.default,i,n?r.default.cloneElement(s,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):r.default.cloneElement(u,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},a}(r.default.Component);s.propTypes={};var u=s;t.default=u,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.getChildMapping=i,t.mergeChildMappings=o,t.getInitialChildMapping=function(e,t){return i(e.children,(function(n){return(0,r.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:a(n,"appear",e),enter:a(n,"enter",e),exit:a(n,"exit",e)})}))},t.getNextChildMapping=function(e,t,n){var s=i(e.children),u=o(t,s);return Object.keys(u).forEach((function(i){var o=u[i];if((0,r.isValidElement)(o)){var l=i in t,c=i in s,d=t[i],f=(0,r.isValidElement)(d)&&!d.props.in;!c||l&&!f?c||!l||f?c&&l&&(0,r.isValidElement)(d)&&(u[i]=(0,r.cloneElement)(o,{onExited:n.bind(null,o),in:d.props.in,exit:a(o,"exit",e),enter:a(o,"enter",e)})):u[i]=(0,r.cloneElement)(o,{in:!1}):u[i]=(0,r.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:a(o,"exit",e),enter:a(o,"enter",e)})}})),u};var r=n(0);function i(e,t){var n=Object.create(null);return e&&r.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,r.isValidElement)(e)?t(e):e}(e)})),n}function o(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var u in t){if(i[u])for(r=0;r<i[u].length;r++){var l=i[u][r];s[i[u][r]]=n(l)}s[u]=n(u)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}function a(e,t,n){return null!=n[t]?n[t]:e.props[t]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=/^([\w-+]+(?:\.[\w-+]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,63}(?:\.[a-z]{2})?)$/i;var i={isEmail:function(e){return r.test(e)}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=o.default.useExperiment({})[0].badgePublicStageCreation,c=(0,i.useStateFromStores)([s.default],(function(){return s.default.hasHotspot(a.HotspotLocations.PUBLIC_STAGE_CREATION_BADGE)})),d=(0,u.useGuildEligibleForPublicStageDiscovery)(null==t?void 0:t.getGuildId()),f=null==e?void 0:e.hasFeature(l.GuildFeatures.DISCOVERABLE),_=d&&n&&c&&!f;return r.useEffect((function(){_&&o.default.trackExposure({})}),[_]),_};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(3),o=c(n(991)),a=n(395),s=c(n(702)),u=n(454),l=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}},function(e,t,n){"use strict";n.r(t);var r,i=["bottom","height","left","right","top","width"],o=new Map,a=function e(){o.forEach((function(e){e.hasRectChanged&&(e.callbacks.forEach((function(t){return t(e.rect)})),e.hasRectChanged=!1)})),window.setTimeout((function(){o.forEach((function(e,t){var n,r,o=t.getBoundingClientRect();n=o,r=e.rect,void 0===n&&(n={}),void 0===r&&(r={}),i.some((function(e){return n[e]!==r[e]}))&&(e.hasRectChanged=!0,e.rect=o)}))}),0),r=window.requestAnimationFrame(e)};t.default=function(e,t){return{observe:function(){var n=0===o.size;o.has(e)?o.get(e).callbacks.push(t):o.set(e,{rect:void 0,hasRectChanged:!1,callbacks:[t]}),n&&a()},unobserve:function(){var n=o.get(e);if(n){var i=n.callbacks.indexOf(t);i>=0&&n.callbacks.splice(i,1),n.callbacks.length||o.delete(e),o.size||cancelAnimationFrame(r)}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.headerId,n=e.channel,r=e.guild,d=e.onClose,f=e.onSelectChannel,p=e.isSlideReady,E=e.loading,h=e.error,m=e.onSave,v=e.defaultOptions;return i.createElement(i.Fragment,null,_("div",{className:c.default.container},void 0,_(a.default,{guild:r,size:a.default.Sizes.LARGE,className:c.default.guildIcon}),_(s.default,{id:t,tag:s.default.Tags.H2,size:s.default.Sizes.SIZE_24},void 0,l.default.Messages.START_STAGE_MODAL_SET_TOPIC_TITLE),_(u.default,{color:u.default.Colors.HEADER_SECONDARY,size:u.default.Sizes.SIZE_14,className:c.default.subheader},void 0,l.default.Messages.START_STAGE_MODAL_SET_TOPIC_SUBTITLE)),_(o.default,{guild:r,channel:n,onSave:m,error:h,loading:E,onClose:d,onSelectChannel:f,isSlideReady:p,defaultOptions:v}))};var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(764)),a=d(n(371)),s=d(n(47)),u=d(n(24)),l=d(n(6)),c=d(n(5763));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function _(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=l(n(1316)),a=l(n(278)),s=l(n(153)),u=l(n(5754));function l(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var f=function(e){var t=e.value,n=e.onSelect,r=e.dateFormat,l=void 0===r?"MMM D, YYYY":r,c=e.minDate,f=e.maxDate,_=e.inputClassName,p=i.useState(!1),E=p[0],h=p[1],m=function(e){e.preventDefault()};return d(a.default,{renderPopout:function(){return d("div",{onMouseDown:m},void 0,d(o.default,{minDate:c,maxDate:f,value:t,onSelect:function(e){n(e),h(!1)},calendarClassName:u.default.calendarContainer}))},position:a.default.Positions.BOTTOM,shouldShow:E},void 0,(function(e){return i.createElement("div",e,d(s.default,{inputClassName:_,value:null==t?void 0:t.format(l),onFocus:function(){return h(!0)},onBlur:function(){return h(!1)}}))}))};f.displayName="DateInput";var _=f;t.default=_},function(e,t,n){var r,i,o;e.exports=(r=n(7),i=n(0),o=n(5417),function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=r(n(1)),a=r(n(4)),s=(r(n(5)),n(20)),u=r(s),l=r(n(11)),c=n(18),d=r(n(2)),f=r(n(12)),_="react-datepicker-ignore-onclickoutside",p=(0,f.default)(o.default),E=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.calcInitialState=function(){var e=n.props.openToDate?(0,d.default)(n.props.openToDate):n.props.selectsEnd&&n.props.startDate?(0,d.default)(n.props.startDate):n.props.selectsStart&&n.props.endDate?(0,d.default)(n.props.endDate):void 0!==n.props.utcOffset?d.default.utc().utcOffset(n.props.utcOffset):(0,d.default)(),t=(0,c.getEffectiveMinDate)(n.props),r=(0,c.getEffectiveMaxDate)(n.props),i=t&&e.isBefore(t)?t:r&&e.isAfter(r)?r:e;return{open:!1,preventFocus:!1,preSelection:n.props.selected?(0,d.default)(n.props.selected):i}},n.clearPreventFocusTimeout=function(){n.preventFocusTimeout&&clearTimeout(n.preventFocusTimeout)},n.setFocus=function(){n.refs.input.focus()},n.setOpen=function(e){n.setState({open:e,preSelection:e&&n.state.open?n.state.preSelection:n.calcInitialState().preSelection})},n.handleFocus=function(e){n.state.preventFocus||(n.props.onFocus(e),n.setOpen(!0))},n.cancelFocusInput=function(){clearTimeout(n.inputFocusTimeout),n.inputFocusTimeout=null},n.deferFocusInput=function(){n.cancelFocusInput(),n.inputFocusTimeout=setTimeout((function(){return n.setFocus()}),1)},n.handleDropdownFocus=function(){n.cancelFocusInput()},n.handleBlur=function(e){n.state.open?n.deferFocusInput():n.props.onBlur(e)},n.handleCalendarClickOutside=function(e){n.props.inline||n.setOpen(!1),n.props.onClickOutside(e),n.props.withPortal&&e.preventDefault()},n.handleChange=function(e){if(!n.props.onChangeRaw||(n.props.onChangeRaw(e),!e.isDefaultPrevented())){n.setState({inputValue:e.target.value});var t=(0,c.parseDate)(e.target.value,n.props);!t&&e.target.value||n.setSelected(t,e,!0)}},n.handleSelect=function(e,t){n.setState({preventFocus:!0},(function(){return n.preventFocusTimeout=setTimeout((function(){return n.setState({preventFocus:!1})}),50),n.preventFocusTimeout})),n.setSelected(e,t),n.props.shouldCloseOnSelect?n.props.inline||n.setOpen(!1):n.setPreSelection(e)},n.setSelected=function(e,t,r){var i=e;null!==i&&(0,c.isDayDisabled)(i,n.props)||((0,c.isSameDay)(n.props.selected,i)&&!n.props.allowSameDay||(null!==i&&(n.props.selected&&(i=(0,d.default)(i).set({hour:n.props.selected.hour(),minute:n.props.selected.minute(),second:n.props.selected.second()})),n.setState({preSelection:i})),n.props.onChange(i,t)),n.props.onSelect(i,t),r||n.setState({inputValue:null}))},n.setPreSelection=function(e){(void 0===n.props.minDate||void 0===n.props.maxDate||!e||(0,c.isDayInRange)(e,n.props.minDate,n.props.maxDate))&&n.setState({preSelection:e})},n.onInputClick=function(){n.props.disabled||n.setOpen(!0)},n.onInputKeyDown=function(e){n.props.onKeyDown(e);var t=e.key;if(n.state.open||n.props.inline){var r=(0,d.default)(n.state.preSelection);if("Enter"===t)e.preventDefault(),d.default.isMoment(n.state.preSelection)||d.default.isDate(n.state.preSelection)?(n.handleSelect(r,e),!n.props.shouldCloseOnSelect&&n.setPreSelection(r)):n.setOpen(!1);else if("Escape"===t)e.preventDefault(),n.setOpen(!1);else if("Tab"===t)n.setOpen(!1);else if(!n.props.disabledKeyboardNavigation){var i=void 0;switch(t){case"ArrowLeft":e.preventDefault(),i=r.subtract(1,"days");break;case"ArrowRight":e.preventDefault(),i=r.add(1,"days");break;case"ArrowUp":e.preventDefault(),i=r.subtract(1,"weeks");break;case"ArrowDown":e.preventDefault(),i=r.add(1,"weeks");break;case"PageUp":e.preventDefault(),i=r.subtract(1,"months");break;case"PageDown":e.preventDefault(),i=r.add(1,"months");break;case"Home":e.preventDefault(),i=r.subtract(1,"years");break;case"End":e.preventDefault(),i=r.add(1,"years")}n.setPreSelection(i)}}else"Enter"!==t&&"Escape"!==t&&"Tab"!==t&&n.onInputClick()},n.onClearClick=function(e){e.preventDefault(),n.props.onChange(null,e)},n.renderCalendar=function(){return n.props.inline||n.state.open&&!n.props.disabled?a.default.createElement(p,{ref:"calendar",locale:n.props.locale,dateFormat:n.props.dateFormatCalendar,useWeekdaysShort:n.props.useWeekdaysShort,dropdownMode:n.props.dropdownMode,selected:n.props.selected,preSelection:n.state.preSelection,onSelect:n.handleSelect,onWeekSelect:n.props.onWeekSelect,openToDate:n.props.openToDate,minDate:n.props.minDate,maxDate:n.props.maxDate,selectsStart:n.props.selectsStart,selectsEnd:n.props.selectsEnd,startDate:n.props.startDate,endDate:n.props.endDate,excludeDates:n.props.excludeDates,filterDate:n.props.filterDate,onClickOutside:n.handleCalendarClickOutside,formatWeekNumber:n.props.formatWeekNumber,highlightDates:n.props.highlightDates,includeDates:n.props.includeDates,inline:n.props.inline,peekNextMonth:n.props.peekNextMonth,showMonthDropdown:n.props.showMonthDropdown,showWeekNumbers:n.props.showWeekNumbers,showYearDropdown:n.props.showYearDropdown,forceShowMonthNavigation:n.props.forceShowMonthNavigation,scrollableYearDropdown:n.props.scrollableYearDropdown,todayButton:n.props.todayButton,weekLabel:n.props.weekLabel,utcOffset:n.props.utcOffset,outsideClickIgnoreClass:_,fixedHeight:n.props.fixedHeight,monthsShown:n.props.monthsShown,onDropdownFocus:n.handleDropdownFocus,onMonthChange:n.props.onMonthChange,dayClassName:n.props.dayClassName,className:n.props.calendarClassName,yearDropdownItemNumber:n.props.yearDropdownItemNumber},n.props.children):null},n.renderDateInput=function(){var e=(0,l.default)(n.props.className,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},_,n.state.open)),t=n.props.customInput||a.default.createElement("input",{type:"text"}),r="string"==typeof n.props.value?n.props.value:"string"==typeof n.state.inputValue?n.state.inputValue:(0,c.safeDateFormat)(n.props.selected,n.props);return a.default.cloneElement(t,{ref:"input",value:r,onBlur:n.handleBlur,onChange:n.handleChange,onClick:n.onInputClick,onFocus:n.handleFocus,onKeyDown:n.onInputKeyDown,id:n.props.id,name:n.props.name,autoFocus:n.props.autoFocus,placeholder:n.props.placeholderText,disabled:n.props.disabled,autoComplete:n.props.autoComplete,className:e,title:n.props.title,readOnly:n.props.readOnly,required:n.props.required,tabIndex:n.props.tabIndex})},n.renderClearButton=function(){return n.props.isClearable&&null!=n.props.selected?a.default.createElement("a",{className:"react-datepicker__close-icon",href:"#",onClick:n.onClearClick}):null},n.state=n.calcInitialState(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"defaultProps",get:function(){return{allowSameDay:!1,dateFormat:"L",dateFormatCalendar:"MMMM YYYY",onChange:function(){},disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",onFocus:function(){},onBlur:function(){},onKeyDown:function(){},onSelect:function(){},onClickOutside:function(){},onMonthChange:function(){},utcOffset:(0,d.default)().utcOffset(),monthsShown:1,withPortal:!1,shouldCloseOnSelect:!0}}}]),i(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.props.selected&&this.props.selected.month(),n=e.selected&&e.selected.month();this.props.inline&&t!==n&&this.setPreSelection(e.selected)}},{key:"componentWillUnmount",value:function(){this.clearPreventFocusTimeout()}},{key:"render",value:function(){var e=this.renderCalendar();return this.props.inline&&!this.props.withPortal?e:this.props.withPortal?a.default.createElement("div",null,this.props.inline?null:a.default.createElement("div",{className:"react-datepicker__input-container"},this.renderDateInput(),this.renderClearButton()),this.state.open||this.props.inline?a.default.createElement("div",{className:"react-datepicker__portal"},e):null):a.default.createElement(u.default,{className:this.props.popperClassName,hidePopper:!this.state.open||this.props.disabled,popperModifiers:this.props.popperModifiers,targetComponent:a.default.createElement("div",{className:"react-datepicker__input-container"},this.renderDateInput(),this.renderClearButton()),popperComponent:e,popperPlacement:this.props.popperPlacement})}}]),t}(a.default.Component);t.default=E},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=r(n(2)),a=r(n(3)),s=r(n(13)),u=r(n(15)),l=r(n(4)),c=(r(n(5)),n(11)),d=r(c),f=n(18),_=["react-datepicker__year-select","react-datepicker__month-select"],p=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleClickOutside=function(e){n.props.onClickOutside(e)},n.handleDropdownFocus=function(e){(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(e.className||"").split(/\s+/);return _.some((function(e){return t.indexOf(e)>=0}))})(e.target)&&n.props.onDropdownFocus()},n.getDateInView=function(){var e=n.props,t=e.preSelection,r=e.selected,i=e.openToDate,a=e.utcOffset,s=(0,f.getEffectiveMinDate)(n.props),u=(0,f.getEffectiveMaxDate)(n.props),l=o.default.utc().utcOffset(a),c=i||r||t;return c||(s&&l.isBefore(s)?s:u&&l.isAfter(u)?u:l)},n.localizeMoment=function(e){return e.clone().locale(n.props.locale||o.default.locale())},n.increaseMonth=function(){n.setState({date:n.state.date.clone().add(1,"month")},(function(){return n.handleMonthChange(n.state.date)}))},n.decreaseMonth=function(){n.setState({date:n.state.date.clone().subtract(1,"month")},(function(){return n.handleMonthChange(n.state.date)}))},n.handleDayClick=function(e,t){return n.props.onSelect(e,t)},n.handleDayMouseEnter=function(e){return n.setState({selectingDate:e})},n.handleMonthMouseLeave=function(){return n.setState({selectingDate:null})},n.handleMonthChange=function(e){n.props.onMonthChange&&n.props.onMonthChange(e)},n.changeYear=function(e){n.setState({date:n.state.date.clone().set("year",e)})},n.changeMonth=function(e){n.setState({date:n.state.date.clone().set("month",e)},(function(){return n.handleMonthChange(n.state.date)}))},n.header=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.state.date,t=e.clone().startOf("week"),r=[];return n.props.showWeekNumbers&&r.push(l.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},n.props.weekLabel||"#")),r.concat([0,1,2,3,4,5,6].map((function(e){var r=t.clone().add(e,"days"),i=n.props.useWeekdaysShort?r.localeData().weekdaysShort(r):r.localeData().weekdaysMin(r);return l.default.createElement("div",{key:e,className:"react-datepicker__day-name"},i)})))},n.renderPreviousMonthButton=function(){if(n.props.forceShowMonthNavigation||!(0,f.allDaysDisabledBefore)(n.state.date,"month",n.props))return l.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--previous",onClick:n.decreaseMonth})},n.renderNextMonthButton=function(){if(n.props.forceShowMonthNavigation||!(0,f.allDaysDisabledAfter)(n.state.date,"month",n.props))return l.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--next",onClick:n.increaseMonth})},n.renderCurrentMonth=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.state.date,t=["react-datepicker__current-month"];return n.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),n.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),l.default.createElement("div",{className:t.join(" ")},e.format(n.props.dateFormat))},n.renderYearDropdown=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.props.showYearDropdown&&!e)return l.default.createElement(a.default,{dropdownMode:n.props.dropdownMode,onChange:n.changeYear,minDate:n.props.minDate,maxDate:n.props.maxDate,year:n.state.date.year(),scrollableYearDropdown:n.props.scrollableYearDropdown,yearDropdownItemNumber:n.props.yearDropdownItemNumber})},n.renderMonthDropdown=function(){if(n.props.showMonthDropdown)return l.default.createElement(s.default,{dropdownMode:n.props.dropdownMode,locale:n.props.locale,dateFormat:n.props.dateFormat,onChange:n.changeMonth,month:n.state.date.month()})},n.renderTodayButton=function(){if(n.props.todayButton)return l.default.createElement("div",{className:"react-datepicker__today-button",onClick:function(e){return n.props.onSelect(o.default.utc().utcOffset(n.props.utcOffset).startOf("date"),e)}},n.props.todayButton)},n.renderMonths=function(){for(var e=[],t=0;t<n.props.monthsShown;++t){var r=n.state.date.clone().add(t,"M"),i="month-"+t;e.push(l.default.createElement("div",{key:i,className:"react-datepicker__month-container"},l.default.createElement("div",{className:"react-datepicker__header"},n.renderCurrentMonth(r),l.default.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--"+n.props.dropdownMode,onFocus:n.handleDropdownFocus},n.renderMonthDropdown(0!==t),n.renderYearDropdown(0!==t)),l.default.createElement("div",{className:"react-datepicker__day-names"},n.header(r))),l.default.createElement(u.default,{day:r,dayClassName:n.props.dayClassName,onDayClick:n.handleDayClick,onDayMouseEnter:n.handleDayMouseEnter,onMouseLeave:n.handleMonthMouseLeave,onWeekSelect:n.props.onWeekSelect,formatWeekNumber:n.props.formatWeekNumber,minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,highlightDates:n.props.highlightDates,selectingDate:n.state.selectingDate,includeDates:n.props.includeDates,inline:n.props.inline,fixedHeight:n.props.fixedHeight,filterDate:n.props.filterDate,preSelection:n.props.preSelection,selected:n.props.selected,selectsStart:n.props.selectsStart,selectsEnd:n.props.selectsEnd,showWeekNumbers:n.props.showWeekNumbers,startDate:n.props.startDate,endDate:n.props.endDate,peekNextMonth:n.props.peekNextMonth,utcOffset:n.props.utcOffset})))}return e},n.state={date:n.localizeMoment(n.getDateInView()),selectingDate:null},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"defaultProps",get:function(){return{onDropdownFocus:function(){},utcOffset:o.default.utc().utcOffset(),monthsShown:1,forceShowMonthNavigation:!1}}}]),i(t,[{key:"componentWillReceiveProps",value:function(e){e.preSelection&&!(0,f.isSameDay)(e.preSelection,this.props.preSelection)?this.setState({date:this.localizeMoment(e.preSelection)}):e.openToDate&&!(0,f.isSameDay)(e.openToDate,this.props.openToDate)&&this.setState({date:this.localizeMoment(e.openToDate)})}},{key:"render",value:function(){return l.default.createElement("div",{className:(0,d.default)("react-datepicker",this.props.className)},l.default.createElement("div",{className:"react-datepicker__triangle"}),this.renderPreviousMonthButton(),this.renderNextMonthButton(),this.renderMonths(),this.renderTodayButton(),this.props.children)}}]),t}(l.default.Component);t.default=p},function(e,t){e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=r(n(4)),u=(r(n(5)),n(10)),l=r(u),c=(0,r(n(12)).default)(l.default),d=function(e){function t(){var e,n,r;i(this,t);for(var a=arguments.length,u=Array(a),l=0;l<a;l++)u[l]=arguments[l];return n=r=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),r.state={dropdownVisible:!1},r.renderSelectOptions=function(){for(var e=r.props.minDate?r.props.minDate.year():1900,t=r.props.maxDate?r.props.maxDate.year():2100,n=[],i=e;i<=t;i++)n.push(s.default.createElement("option",{key:i,value:i},i));return n},r.onSelectChange=function(e){r.onChange(e.target.value)},r.renderSelectMode=function(){return s.default.createElement("select",{value:r.props.year,className:"react-datepicker__year-select",onChange:r.onSelectChange},r.renderSelectOptions())},r.renderReadView=function(e){return s.default.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:r.toggleDropdown},s.default.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),s.default.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},r.props.year))},r.renderDropdown=function(){return s.default.createElement(c,{key:"dropdown",ref:"options",year:r.props.year,onChange:r.onChange,onCancel:r.toggleDropdown,scrollableYearDropdown:r.props.scrollableYearDropdown,yearDropdownItemNumber:r.props.yearDropdownItemNumber})},r.renderScrollMode=function(){var e=r.state.dropdownVisible,t=[r.renderReadView(!e)];return e&&t.unshift(r.renderDropdown()),t},r.onChange=function(e){r.toggleDropdown(),e!==r.props.year&&r.props.onChange(e)},r.toggleDropdown=function(){r.setState({dropdownVisible:!r.state.dropdownVisible})},o(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=void 0;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return s.default.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--"+this.props.dropdownMode},e)}}]),t}(s.default.Component);t.default=d},function(e,t){e.exports=i},function(e,t,n){e.exports=n(6)()},function(e,t,n){"use strict";var r=n(7),i=n(8),o=n(9);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t){"use strict";function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,i,o,a,s,u){if(r(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,i,o,a,s,u],d=0;(l=new Error(t.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){for(var n=[],r=0;r<2*t+1;r++)n.push(e+t-r);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=r(n(4)),s=(r(n(5)),n(11)),u=r(s),l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.renderOptions=function(){var e=n.props.year,t=n.state.yearsList.map((function(t){return a.default.createElement("div",{className:"react-datepicker__year-option",key:t,ref:t,onClick:n.onChange.bind(n,t)},e===t?a.default.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",t)}));return t.unshift(a.default.createElement("div",{className:"react-datepicker__year-option",ref:"upcoming",key:"upcoming",onClick:n.incrementYears},a.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),t.push(a.default.createElement("div",{className:"react-datepicker__year-option",ref:"previous",key:"previous",onClick:n.decrementYears},a.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t},n.onChange=function(e){n.props.onChange(e)},n.handleClickOutside=function(){n.props.onCancel()},n.shiftYears=function(e){var t=n.state.yearsList.map((function(t){return t+e}));n.setState({yearsList:t})},n.incrementYears=function(){return n.shiftYears(1)},n.decrementYears=function(){return n.shiftYears(-1)};var r=e.yearDropdownItemNumber,o=e.scrollableYearDropdown,s=r||(o?10:5);return n.state={yearsList:i(n.props.year,s)},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"render",value:function(){var e=(0,u.default)({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return a.default.createElement("div",{className:e},this.renderOptions())}}]),t}(a.default.Component);t.default=l},function(e,t,n){var r;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r))e.push(n.apply(null,r));else if("object"===o)for(var a in r)i.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?e.exports=n:void 0===(r=function(){return n}.apply(t,[]))||(e.exports=r)}()},function(e,t){e.exports=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=r(n(4)),u=(r(n(5)),n(14)),l=r(u),c=r(n(12)),d=r(n(2)),f=(0,c.default)(l.default),_=function(e){function t(){var e,n,r;i(this,t);for(var a=arguments.length,u=Array(a),l=0;l<a;l++)u[l]=arguments[l];return n=r=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),r.state={dropdownVisible:!1},r.renderSelectOptions=function(e){return e.map((function(e,t){return s.default.createElement("option",{key:t,value:t},e)}))},r.renderSelectMode=function(e){return s.default.createElement("select",{value:r.props.month,className:"react-datepicker__month-select",onChange:function(e){return r.onChange(e.target.value)}},r.renderSelectOptions(e))},r.renderReadView=function(e,t){return s.default.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:r.toggleDropdown},s.default.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},t[r.props.month]),s.default.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}))},r.renderDropdown=function(e){return s.default.createElement(f,{key:"dropdown",ref:"options",month:r.props.month,monthNames:e,onChange:r.onChange,onCancel:r.toggleDropdown})},r.renderScrollMode=function(e){var t=r.state.dropdownVisible,n=[r.renderReadView(!t,e)];return t&&n.unshift(r.renderDropdown(e)),n},r.onChange=function(e){r.toggleDropdown(),e!==r.props.month&&r.props.onChange(e)},r.toggleDropdown=function(){return r.setState({dropdownVisible:!r.state.dropdownVisible})},o(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=this,t=d.default.localeData(this.props.locale),n=[0,1,2,3,4,5,6,7,8,9,10,11].map((function(n){return t.months((0,d.default)({M:n}),e.props.dateFormat)})),r=void 0;switch(this.props.dropdownMode){case"scroll":r=this.renderScrollMode(n);break;case"select":r=this.renderSelectMode(n)}return s.default.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--"+this.props.dropdownMode},r)}}]),t}(s.default.Component);t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=r(n(4)),u=(r(n(5)),function(e){function t(){var e,n,r;i(this,t);for(var a=arguments.length,u=Array(a),l=0;l<a;l++)u[l]=arguments[l];return n=r=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),r.renderOptions=function(){return r.props.monthNames.map((function(e,t){return s.default.createElement("div",{className:"react-datepicker__month-option",key:e,ref:e,onClick:r.onChange.bind(r,t)},r.props.month===t?s.default.createElement("span",{className:"react-datepicker__month-option--selected"},"✓"):"",e)}))},r.onChange=function(e){return r.props.onChange(e)},r.handleClickOutside=function(){return r.props.onCancel()},o(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){return s.default.createElement("div",{className:"react-datepicker__month-dropdown"},this.renderOptions())}}]),t}(s.default.Component));t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=r(n(4)),u=(r(n(5)),n(11)),l=r(u),c=r(n(16)),d=function(e){function t(){var e,n,r;i(this,t);for(var a=arguments.length,u=Array(a),d=0;d<a;d++)u[d]=arguments[d];return n=r=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),r.handleDayClick=function(e,t){r.props.onDayClick&&r.props.onDayClick(e,t)},r.handleDayMouseEnter=function(e){r.props.onDayMouseEnter&&r.props.onDayMouseEnter(e)},r.handleMouseLeave=function(){r.props.onMouseLeave&&r.props.onMouseLeave()},r.isWeekInMonth=function(e){var t=r.props.day,n=e.clone().add(6,"days");return e.isSame(t,"month")||n.isSame(t,"month")},r.renderWeeks=function(){for(var e=[],t=r.props.fixedHeight,n=r.props.day.clone().startOf("month").startOf("week"),i=0,o=!1;e.push(s.default.createElement(c.default,{key:i,day:n,month:r.props.day.month(),onDayClick:r.handleDayClick,onDayMouseEnter:r.handleDayMouseEnter,onWeekSelect:r.props.onWeekSelect,formatWeekNumber:r.props.formatWeekNumber,minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,includeDates:r.props.includeDates,inline:r.props.inline,highlightDates:r.props.highlightDates,selectingDate:r.props.selectingDate,filterDate:r.props.filterDate,preSelection:r.props.preSelection,selected:r.props.selected,selectsStart:r.props.selectsStart,selectsEnd:r.props.selectsEnd,showWeekNumber:r.props.showWeekNumbers,startDate:r.props.startDate,endDate:r.props.endDate,dayClassName:r.props.dayClassName,utcOffset:r.props.utcOffset})),!o;){i++,n=n.clone().add(1,"weeks");var a=t&&i>=6,u=!t&&!r.isWeekInMonth(n);if(a||u){if(!r.props.peekNextMonth)break;o=!0}}return e},r.getClassNames=function(){var e=r.props,t=e.selectingDate,n=e.selectsStart,i=e.selectsEnd;return(0,l.default)("react-datepicker__month",{"react-datepicker__month--selecting-range":t&&(n||i)})},o(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){return s.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.handleMouseLeave,role:"listbox"},this.renderWeeks())}}]),t}(s.default.Component);t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=r(n(4)),u=(r(n(5)),n(17)),l=r(u),c=r(n(19)),d=function(e){function t(){var e,n,r;i(this,t);for(var a=arguments.length,u=Array(a),d=0;d<a;d++)u[d]=arguments[d];return n=r=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),r.handleDayClick=function(e,t){r.props.onDayClick&&r.props.onDayClick(e,t)},r.handleDayMouseEnter=function(e){r.props.onDayMouseEnter&&r.props.onDayMouseEnter(e)},r.handleWeekClick=function(e,t,n){"function"==typeof r.props.onWeekSelect&&r.props.onWeekSelect(e,t,n)},r.formatWeekNumber=function(e){return r.props.formatWeekNumber?r.props.formatWeekNumber(e):parseInt(e.format("w"),10)},r.renderDays=function(){var e=r.props.day.clone().startOf("week"),t=[],n=r.formatWeekNumber(e);if(r.props.showWeekNumber){var i=r.props.onWeekSelect?r.handleWeekClick.bind(r,e,n):void 0;t.push(s.default.createElement(c.default,{key:"W",weekNumber:n,onClick:i}))}return t.concat([0,1,2,3,4,5,6].map((function(t){var n=e.clone().add(t,"days");return s.default.createElement(l.default,{key:t,day:n,month:r.props.month,onClick:r.handleDayClick.bind(r,n),onMouseEnter:r.handleDayMouseEnter.bind(r,n),minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,includeDates:r.props.includeDates,inline:r.props.inline,highlightDates:r.props.highlightDates,selectingDate:r.props.selectingDate,filterDate:r.props.filterDate,preSelection:r.props.preSelection,selected:r.props.selected,selectsStart:r.props.selectsStart,selectsEnd:r.props.selectsEnd,startDate:r.props.startDate,endDate:r.props.endDate,dayClassName:r.props.dayClassName,utcOffset:r.props.utcOffset})})))},o(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){return s.default.createElement("div",{className:"react-datepicker__week"},this.renderDays())}}]),t}(s.default.Component);t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}Object.defineProperty(t,"__esModule",{value:!0});var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=r(n(2)),c=r(n(4)),d=(r(n(5)),n(11)),f=r(d),_=n(18),p=function(e){function t(){var e,n,r;o(this,t);for(var u=arguments.length,c=Array(u),d=0;d<u;d++)c[d]=arguments[d];return n=r=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),r.handleClick=function(e){!r.isDisabled()&&r.props.onClick&&r.props.onClick(e)},r.handleMouseEnter=function(e){!r.isDisabled()&&r.props.onMouseEnter&&r.props.onMouseEnter(e)},r.isSameDay=function(e){return(0,_.isSameDay)(r.props.day,e)},r.isKeyboardSelected=function(){return!r.props.inline&&!r.isSameDay(r.props.selected)&&r.isSameDay(r.props.preSelection)},r.isDisabled=function(){return(0,_.isDayDisabled)(r.props.day,r.props)},r.getHighLightedClass=function(e){var t=r.props,n=t.day,o=t.highlightDates;if(!o)return i({},e,!1);for(var a={},u=0,c=o.length;u<c;u++){var d=o[u];if(d instanceof l.default)(0,_.isSameDay)(n,d)&&(a[e]=!0);else if("object"===(void 0===d?"undefined":s(d))){var f=Object.keys(d),p=d[f[0]];if("string"==typeof f[0]&&p.constructor===Array)for(var E=0,h=p.length;E<h;E++)(0,_.isSameDay)(n,p[E])&&(a[f[0]]=!0)}}return a},r.isInRange=function(){var e=r.props,t=e.day,n=e.startDate,i=e.endDate;return!(!n||!i)&&(0,_.isDayInRange)(t,n,i)},r.isInSelectingRange=function(){var e=r.props,t=e.day,n=e.selectsStart,i=e.selectsEnd,o=e.selectingDate,a=e.startDate,s=e.endDate;return!(!n&&!i||!o||r.isDisabled())&&(n&&s&&o.isSameOrBefore(s)?(0,_.isDayInRange)(t,o,s):!!(i&&a&&o.isSameOrAfter(a))&&(0,_.isDayInRange)(t,a,o))},r.isSelectingRangeStart=function(){if(!r.isInSelectingRange())return!1;var e=r.props,t=e.day,n=e.selectingDate,i=e.startDate;return e.selectsStart?(0,_.isSameDay)(t,n):(0,_.isSameDay)(t,i)},r.isSelectingRangeEnd=function(){if(!r.isInSelectingRange())return!1;var e=r.props,t=e.day,n=e.selectingDate,i=e.endDate;return e.selectsEnd?(0,_.isSameDay)(t,n):(0,_.isSameDay)(t,i)},r.isRangeStart=function(){var e=r.props,t=e.day,n=e.startDate,i=e.endDate;return!(!n||!i)&&(0,_.isSameDay)(n,t)},r.isRangeEnd=function(){var e=r.props,t=e.day,n=e.startDate,i=e.endDate;return!(!n||!i)&&(0,_.isSameDay)(i,t)},r.isWeekend=function(){var e=r.props.day.day();return 0===e||6===e},r.isOutsideMonth=function(){return void 0!==r.props.month&&r.props.month!==r.props.day.month()},r.getClassNames=function(e){var t=r.props.dayClassName?r.props.dayClassName(e):void 0;return(0,f.default)("react-datepicker__day",t,"react-datepicker__day--"+(0,_.getDayOfWeekCode)(r.props.day),{"react-datepicker__day--disabled":r.isDisabled(),"react-datepicker__day--selected":r.isSameDay(r.props.selected),"react-datepicker__day--keyboard-selected":r.isKeyboardSelected(),"react-datepicker__day--range-start":r.isRangeStart(),"react-datepicker__day--range-end":r.isRangeEnd(),"react-datepicker__day--in-range":r.isInRange(),"react-datepicker__day--in-selecting-range":r.isInSelectingRange(),"react-datepicker__day--selecting-range-start":r.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":r.isSelectingRangeEnd(),"react-datepicker__day--today":r.isSameDay(l.default.utc().utcOffset(r.props.utcOffset)),"react-datepicker__day--weekend":r.isWeekend(),"react-datepicker__day--outside-month":r.isOutsideMonth()},r.getHighLightedClass("react-datepicker__day--highlighted"))},a(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),u(t,[{key:"render",value:function(){return c.default.createElement("div",{className:this.getClassNames(this.props.day),onClick:this.handleClick,onMouseEnter:this.handleMouseEnter,"aria-label":"day-"+this.props.day.date(),role:"option"},this.props.day.date())}}]),t}(c.default.Component);p.defaultProps={utcOffset:l.default.utc().utcOffset()},t.default=p},function(e,t,n){"use strict";function r(e,t){return e&&t?e.isSame(t,"day"):!e&&!t}Object.defineProperty(t,"__esModule",{value:!0}),t.isSameDay=r,t.isSameUtcOffset=function(e,t){return e&&t?e.utcOffset()===t.utcOffset():!e&&!t},t.isDayInRange=function(e,t,n){var r=t.clone().startOf("day").subtract(1,"seconds"),i=n.clone().startOf("day").add(1,"seconds");return e.clone().startOf("day").isBetween(r,i)},t.isDayDisabled=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,i=t.maxDate,o=t.excludeDates,a=t.includeDates,s=t.filterDate;return n&&e.isBefore(n,"day")||i&&e.isAfter(i,"day")||o&&o.some((function(t){return r(e,t)}))||a&&!a.some((function(t){return r(e,t)}))||s&&!s(e.clone())||!1},t.allDaysDisabledBefore=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.minDate,i=n.includeDates,o=e.clone().subtract(1,t);return r&&o.isBefore(r,t)||i&&i.every((function(e){return o.isBefore(e,t)}))||!1},t.allDaysDisabledAfter=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.maxDate,i=n.includeDates,o=e.clone().add(1,t);return r&&o.isAfter(r,t)||i&&i.every((function(e){return o.isAfter(e,t)}))||!1},t.getEffectiveMinDate=function(e){var t=e.minDate,n=e.includeDates;return n&&t?i.default.min(n.filter((function(e){return t.isSameOrBefore(e,"day")}))):n?i.default.min(n):t},t.getEffectiveMaxDate=function(e){var t=e.maxDate,n=e.includeDates;return n&&t?i.default.max(n.filter((function(e){return t.isSameOrAfter(e,"day")}))):n?i.default.max(n):t},t.parseDate=function(e,t){var n=t.dateFormat,r=t.locale,o=(0,i.default)(e,n,r||i.default.locale(),!0);return o.isValid()?o:null},t.safeDateFormat=function(e,t){var n=t.dateFormat,r=t.locale;return e&&e.clone().locale(r||i.default.locale()).format(Array.isArray(n)?n[0]:n)||""},t.getDayOfWeekCode=function(e){return o[e.isoWeekday()]};var i=function(e){return e&&e.__esModule?e:{default:e}}(n(2)),o={1:"mon",2:"tue",3:"wed",4:"thu",5:"fri",6:"sat",7:"sun"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=r(n(4)),u=(r(n(5)),n(11)),l=r(u),c=function(e){function t(){var e,n,r;i(this,t);for(var a=arguments.length,s=Array(a),u=0;u<a;u++)s[u]=arguments[u];return n=r=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),r.handleClick=function(e){r.props.onClick&&r.props.onClick(e)},o(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!this.props.onClick};return s.default.createElement("div",{className:(0,l.default)(e),"aria-label":"week-"+this.props.weekNumber,onClick:this.handleClick},this.props.weekNumber)}}]),t}(s.default.Component);t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}Object.defineProperty(t,"__esModule",{value:!0}),t.popperPlacementPositions=void 0;var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=r(n(4)),u=(r(n(5)),n(21)),l=(t.popperPlacementPositions=["auto","auto-left","auto-right","bottom","bottom-end","bottom-start","left","left-end","left-start","right","right-end","right-start","top","top-end","top-start"],function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=this.props,t=e.hidePopper,n=e.popperComponent,r=e.popperModifiers,i=e.popperPlacement,o=e.targetComponent;return s.default.createElement(u.Manager,null,s.default.createElement(u.Target,{className:"react-datepicker-wrapper"},o),!t&&s.default.createElement(u.Popper,{className:"react-datepicker-popper",modifiers:r,placement:i},n))}}],[{key:"defaultProps",get:function(){return{hidePopper:!0,popperModifiers:{preventOverflow:{enabled:!0,escapeWithReference:!0,boundariesElement:"viewport"}},popperPlacement:"bottom-start"}}}]),t}(s.default.Component));t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Arrow=t.Popper=t.Target=t.Manager=void 0;var i=r(n(22)),o=r(n(23)),a=r(n(24)),s=r(n(28));t.Manager=i.default,t.Target=o.default,t.Popper=a.default,t.Arrow=s.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(4),u=(r(s),n(5)),l=r(u),c=function(e){function t(){var e,n,r;i(this,t);for(var a=arguments.length,s=Array(a),u=0;u<a;u++)s[u]=arguments[u];return n=r=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),r._setTargetNode=function(e){r._targetNode=e},r._getTargetNode=function(){return r._targetNode},o(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"getChildContext",value:function(){return{popperManager:{setTargetNode:this._setTargetNode,getTargetNode:this._getTargetNode}}}},{key:"render",value:function(){var e=this.props,t=e.tag,n=e.children,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["tag","children"]);return!1!==t?(0,s.createElement)(t,r,n):n}}]),t}(s.Component);c.childContextTypes={popperManager:l.default.object.isRequired},c.propTypes={tag:l.default.oneOfType([l.default.string,l.default.bool])},c.defaultProps={tag:"div"},t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||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},o=n(4),a=(r(o),n(5)),s=r(a),u=function(e,t){var n=e.component,r=void 0===n?"div":n,a=e.innerRef,s=e.children,u=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["component","innerRef","children"]),l=t.popperManager,c=function(e){l.setTargetNode(e),"function"==typeof a&&a(e)};if("function"==typeof s)return s({targetProps:{ref:c},restProps:u});var d=i({},u);return"string"==typeof r?d.ref=c:d.innerRef=c,(0,o.createElement)(r,d,s)};u.contextTypes={popperManager:s.default.object.isRequired},u.propTypes={component:s.default.oneOfType([s.default.node,s.default.func]),innerRef:s.default.func,children:s.default.oneOfType([s.default.node,s.default.func])},t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||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=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(4),l=(r(u),n(5)),c=r(l),d=r(n(25)),f=r(n(26)),_=function(e){function t(){var e,n,r;i(this,t);for(var s=arguments.length,u=Array(s),l=0;l<s;l++)u[l]=arguments[l];return n=r=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),r.state={},r._setArrowNode=function(e){r._arrowNode=e},r._getTargetNode=function(){return r.context.popperManager.getTargetNode()},r._updateStateModifier={enabled:!0,order:900,fn:function(e){return(r.state.data&&!(0,f.default)(e.offsets,r.state.data.offsets)||!r.state.data)&&r.setState({data:e}),e}},r._getPopperStyle=function(){var e=r.state.data;if(!r._popper||!e)return{position:"absolute",pointerEvents:"none",opacity:0};var t=e.offsets.popper,n=(t.top,t.left,t.position);return a({position:n},e.styles)},r._getPopperPlacement=function(){return r.state.data?r.state.data.placement:void 0},r._getArrowStyle=function(){if(r.state.data&&r.state.data.offsets.arrow){var e=r.state.data.offsets.arrow,t=e.top,n=e.left;return n?{left:+n}:{top:+t}}return{}},o(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"getChildContext",value:function(){return{popper:{setArrowNode:this._setArrowNode,getArrowStyle:this._getArrowStyle}}}},{key:"componentDidMount",value:function(){this._updatePopper()}},{key:"componentDidUpdate",value:function(e){e.placement===this.props.placement&&e.eventsEnabled===this.props.eventsEnabled||this._updatePopper(),e.children!==this.props.children&&this._popper.scheduleUpdate()}},{key:"componentWillUnmount",value:function(){this._destroyPopper()}},{key:"_updatePopper",value:function(){this._destroyPopper(),this._node&&this._createPopper()}},{key:"_createPopper",value:function(){var e=this.props,t=e.placement,n=e.eventsEnabled,r=a({},this.props.modifiers,{applyStyle:{enabled:!1},updateState:this._updateStateModifier});this._arrowNode&&(r.arrow={element:this._arrowNode}),this._popper=new d.default(this._getTargetNode(),this._node,{placement:t,eventsEnabled:n,modifiers:r}),this._popper.scheduleUpdate()}},{key:"_destroyPopper",value:function(){this._popper&&this._popper.destroy()}},{key:"render",value:function(){var e=this,t=this.props,n=t.component,r=t.innerRef,i=(t.placement,t.eventsEnabled,t.modifiers,t.children),o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["component","innerRef","placement","eventsEnabled","modifiers","children"]),s=function(t){e._node=t,"function"==typeof r&&r(t)},l=this._getPopperStyle(),c=this._getPopperPlacement();if("function"==typeof i)return i({popperProps:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({ref:s,style:l},"data-placement",c),restProps:o,scheduleUpdate:this._popper&&this._popper.scheduleUpdate});var d=a({},o,{style:a({},o.style,l),"data-placement":c});return"string"==typeof n?d.ref=s:d.innerRef=s,(0,u.createElement)(n,d,i)}}]),t}(u.Component);_.contextTypes={popperManager:c.default.object.isRequired},_.childContextTypes={popper:c.default.object.isRequired},_.propTypes={component:c.default.oneOfType([c.default.node,c.default.func]),innerRef:c.default.func,placement:c.default.oneOf(d.default.placements),eventsEnabled:c.default.bool,modifiers:c.default.object,children:c.default.oneOfType([c.default.node,c.default.func])},_.defaultProps={component:"div",placement:"bottom",eventsEnabled:!0,modifiers:{}},t.default=_},function(e,t,n){(function(t){!function(t,n){e.exports=n()}(0,(function(){"use strict";function e(e){return e&&"[object Function]"==={}.toString.call(e)}function n(e,t){if(1!==e.nodeType)return[];var n=window.getComputedStyle(e,null);return t?n[t]:n}function r(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function i(e){if(!e||-1!==["HTML","BODY","#document"].indexOf(e.nodeName))return window.document.body;var t=n(e),o=t.overflow,a=t.overflowX,s=t.overflowY;return/(auto|scroll)/.test(o+s+a)?e:i(r(e))}function o(e){return null!==e.parentNode?o(e.parentNode):e}function a(e){var t=e&&e.offsetParent,n=t&&t.nodeName;return n&&"BODY"!==n&&"HTML"!==n?t:window.document.documentElement}function s(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return window.document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,u=document.createRange();u.setStart(r,0),u.setEnd(i,0);var l=u.commonAncestorContainer;if(e!==l&&t!==l||r.contains(i))return function(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||e.firstElementChild.offsetParent===e)}(l)?l:a(l);var c=o(e);return c.host?s(c.host,t):s(e,o(t).host)}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var i=window.document.documentElement,o=window.document.scrollingElement||i;return o[n]}return e[n]}function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=u(t,"top"),i=u(t,"left"),o=n?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=i*o,e.right+=i*o,e}function c(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return+e["border"+n+"Width"].split("px")[0]+ +e["border"+r+"Width"].split("px")[0]}function d(e,t,n,r){return Math.max(t["offset"+e],n["client"+e],n["offset"+e],X()?n["offset"+e]+r["margin"+("Height"===e?"Top":"Left")]+r["margin"+("Height"===e?"Bottom":"Right")]:0)}function f(){var e=window.document.body,t=window.document.documentElement,n=X()&&window.getComputedStyle(t);return{height:d("Height",e,t,n),width:d("Width",e,t,n)}}function _(e){return J({},e,{right:e.left+e.width,bottom:e.top+e.height})}function p(e){var t={};if(X())try{t=e.getBoundingClientRect();var r=u(e,"top"),i=u(e,"left");t.top+=r,t.left+=i,t.bottom+=r,t.right+=i}catch(e){}else t=e.getBoundingClientRect();var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a="HTML"===e.nodeName?f():{},s=a.width||e.clientWidth||o.right-o.left,l=a.height||e.clientHeight||o.bottom-o.top,d=e.offsetWidth-s,p=e.offsetHeight-l;if(d||p){var E=n(e);d-=c(E,"x"),p-=c(E,"y"),o.width-=d,o.height-=p}return _(o)}function E(e,t){var r=X(),o="HTML"===t.nodeName,a=p(e),s=p(t),u=i(e),c=n(t),d=+c.borderTopWidth.split("px")[0],f=+c.borderLeftWidth.split("px")[0],E=_({top:a.top-s.top-d,left:a.left-s.left-f,width:a.width,height:a.height});if(E.marginTop=0,E.marginLeft=0,!r&&o){var h=+c.marginTop.split("px")[0],m=+c.marginLeft.split("px")[0];E.top-=d-h,E.bottom-=d-h,E.left-=f-m,E.right-=f-m,E.marginTop=h,E.marginLeft=m}return(r?t.contains(u):t===u&&"BODY"!==u.nodeName)&&(E=l(E,t)),E}function h(e){var t=window.document.documentElement,n=E(e,t),r=Math.max(t.clientWidth,window.innerWidth||0),i=Math.max(t.clientHeight,window.innerHeight||0),o=u(t),a=u(t,"left");return _({top:o-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:r,height:i})}function m(e){var t=e.nodeName;return"BODY"!==t&&"HTML"!==t&&("fixed"===n(e,"position")||m(r(e)))}function v(e,t,n,o){var a={top:0,left:0},u=s(e,t);if("viewport"===o)a=h(u);else{var l=void 0;"scrollParent"===o?"BODY"===(l=i(r(e))).nodeName&&(l=window.document.documentElement):l="window"===o?window.document.documentElement:o;var c=E(l,u);if("HTML"!==l.nodeName||m(u))a=c;else{var d=f(),_=d.height,p=d.width;a.top+=c.top-c.marginTop,a.bottom=_+c.top,a.left+=c.left-c.marginLeft,a.right=p+c.left}}return a.left+=n,a.top+=n,a.right-=n,a.bottom-=n,a}function T(e){return e.width*e.height}function g(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=v(n,r,o,i),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},u=Object.keys(s).map((function(e){return Q({key:e},s[e],{area:T(s[e])})})).sort((function(e,t){return t.area-e.area})),l=u.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),c=l.length>0?l[0].key:u[0].key,d=e.split("-")[1];return c+(d?"-"+d:"")}function I(e,t,n){return E(n,s(t,n))}function S(e){var t=window.getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function y(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function A(e,t,n){n=n.split("-")[0];var r=S(e),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",u=o?"height":"width",l=o?"width":"height";return i[a]=t[a]+t[u]/2-r[u]/2,i[s]=n===s?t[s]-r[l]:t[y(s)],i}function O(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function N(t,n,r){return(void 0===r?t:t.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=O(e,(function(e){return e[t]===n}));return e.indexOf(r)}(t,"name",r))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=t.function||t.fn;t.enabled&&e(r)&&(n.offsets.popper=_(n.offsets.popper),n.offsets.reference=_(n.offsets.reference),n=r(n,t))})),n}function R(){if(!this.state.isDestroyed){var e={instance:this,styles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=I(this.state,this.popper,this.reference),e.placement=g(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.offsets.popper=A(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position="absolute",e=N(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function b(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function L(e){for(var t=[!1,"ms","webkit","moz","o"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length-1;r++){var i=t[r],o=i?""+i+n:e;if(void 0!==window.document.body.style[o])return o}return null}function D(){return this.state.isDestroyed=!0,b(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[L("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function C(e,t,n,r){n.updateBound=r,window.addEventListener("resize",n.updateBound,{passive:!0});var o=i(e);return function e(t,n,r,o){var a="BODY"===t.nodeName,s=a?window:t;s.addEventListener(n,r,{passive:!0}),a||e(i(s.parentNode),n,r,o),o.push(s)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function M(){this.state.eventsEnabled||(this.state=C(this.reference,this.options,this.state,this.scheduleUpdate))}function P(){this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=function(e,t){return window.removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}(this.reference,this.state))}function w(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function U(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&w(t[n])&&(r="px"),e.style[n]=t[n]+r}))}function k(e,t,n){var r=O(e,(function(e){return e.name===t})),i=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!i){var o="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}function G(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=ee.indexOf(e),r=ee.slice(n+1).concat(ee.slice(0,n));return t?r.reverse():r}function Y(e,t,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(O(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,l=-1!==s?[a.slice(0,s).concat([a[s].split(u)[0]]),[a[s].split(u)[1]].concat(a.slice(s+1))]:[a];return(l=l.map((function(e,r){var i=(1===r?!o:o)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return _(s)[t]/100*o}return"vh"===a||"vw"===a?("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o:o}(e,i,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){w(n)&&(i[t]+=n*("-"===e[r-1]?-1:1))}))})),i}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function H(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}for(var F=["native code","[object MutationObserverConstructor]"],B="undefined"!=typeof window,j=["Edge","Trident","Firefox"],W=0,K=0;K<j.length;K+=1)if(B&&navigator.userAgent.indexOf(j[K])>=0){W=1;break}var z=B&&function(e){return F.some((function(t){return(e||"").toString().indexOf(t)>-1}))}(window.MutationObserver)?function(e){var t=!1,n=0,r=document.createElement("span");return new MutationObserver((function(){e(),t=!1})).observe(r,{attributes:!0}),function(){t||(t=!0,r.setAttribute("x-index",n),n+=1)}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),W))}},q=void 0,X=function(){return void 0===q&&(q=-1!==navigator.appVersion.indexOf("MSIE 10")),q},J=Object.assign||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},Q=Object.assign||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},Z=Object.assign||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},$=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ee=$.slice(3),te=Object.assign||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},ne={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},re=Object.assign||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},ie=Object.assign||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},oe={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var i=e.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),u=s?"left":"top",l=s?"width":"height",c={start:V({},u,o[u]),end:V({},u,o[u]+o[l]-a[l])};e.offsets.popper=ie({},a,c[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n,r=t.offset,i=e.placement,o=e.offsets,a=o.popper,s=o.reference,u=i.split("-")[0];return n=w(+r)?[+r,0]:Y(r,a,s,u),"left"===u?(a.top+=n[0],a.left-=n[1]):"right"===u?(a.top+=n[0],a.left+=n[1]):"top"===u?(a.left+=n[0],a.top-=n[1]):"bottom"===u&&(a.left+=n[0],a.top+=n[1]),e.popper=a,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||a(e.instance.popper);e.instance.reference===n&&(n=a(n));var r=v(e.instance.popper,e.instance.reference,t.padding,n);t.boundaries=r;var i=t.priority,o=e.offsets.popper,s={primary:function(e){var n=o[e];return o[e]<r[e]&&!t.escapeWithReference&&(n=Math.max(o[e],r[e])),x({},e,n)},secondary:function(e){var n="right"===e?"left":"top",i=o[n];return o[e]>r[e]&&!t.escapeWithReference&&(i=Math.min(o[n],r[e]-("right"===e?o.width:o.height))),x({},n,i)}};return i.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";o=re({},o,s[t](e))})),e.offsets.popper=o,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,i=e.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",u=a?"left":"top",l=a?"width":"height";return n[s]<o(r[u])&&(e.offsets.popper[u]=o(r[u])-n[l]),n[u]>o(r[s])&&(e.offsets.popper[u]=o(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(!k(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"==typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],i=e.offsets,o=i.popper,a=i.reference,s=-1!==["left","right"].indexOf(r),u=s?"height":"width",l=s?"top":"left",c=s?"left":"top",d=s?"bottom":"right",f=S(n)[u];a[d]-f<o[l]&&(e.offsets.popper[l]-=o[l]-(a[d]-f)),a[l]+f>o[d]&&(e.offsets.popper[l]+=a[l]+f-o[d]);var p=a[l]+a[u]/2-f/2-_(e.offsets.popper)[l];return p=Math.max(Math.min(o[u]-f,p),0),e.arrowElement=n,e.offsets.arrow={},e.offsets.arrow[l]=Math.round(p),e.offsets.arrow[c]="",e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(b(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=v(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement),r=e.placement.split("-")[0],i=y(r),o=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case ne.FLIP:a=[r,i];break;case ne.CLOCKWISE:a=G(r);break;case ne.COUNTERCLOCKWISE:a=G(r,!0);break;default:a=t.behavior}return a.forEach((function(s,u){if(r!==s||a.length===u+1)return e;r=e.placement.split("-")[0],i=y(r);var l=e.offsets.popper,c=e.offsets.reference,d=Math.floor,f="left"===r&&d(l.right)>d(c.left)||"right"===r&&d(l.left)<d(c.right)||"top"===r&&d(l.bottom)>d(c.top)||"bottom"===r&&d(l.top)<d(c.bottom),_=d(l.left)<d(n.left),p=d(l.right)>d(n.right),E=d(l.top)<d(n.top),h=d(l.bottom)>d(n.bottom),m="left"===r&&_||"right"===r&&p||"top"===r&&E||"bottom"===r&&h,v=-1!==["top","bottom"].indexOf(r),T=!!t.flipVariations&&(v&&"start"===o&&_||v&&"end"===o&&p||!v&&"start"===o&&E||!v&&"end"===o&&h);(f||m||T)&&(e.flipped=!0,(f||m)&&(r=a[u+1]),T&&(o=function(e){return"end"===e?"start":"start"===e?"end":e}(o)),e.placement=r+(o?"-"+o:""),e.offsets.popper=te({},e.offsets.popper,A(e.instance.popper,e.offsets.reference,e.placement)),e=N(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[t]-(s?i[a?"width":"height"]:0),e.placement=y(t),e.offsets.popper=_(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!k(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=O(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,i=e.offsets.popper,o=O(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s,u,l=void 0!==o?o:t.gpuAcceleration,c=p(a(e.instance.popper)),d={position:i.position},f={left:Math.floor(i.left),top:Math.floor(i.top),bottom:Math.floor(i.bottom),right:Math.floor(i.right)},_="bottom"===n?"top":"bottom",E="right"===r?"left":"right",h=L("transform");if(u="bottom"===_?-c.height+f.bottom:f.top,s="right"===E?-c.width+f.right:f.left,l&&h)d[h]="translate3d("+s+"px, "+u+"px, 0)",d[_]=0,d[E]=0,d.willChange="transform";else{var m="bottom"===_?-1:1,v="right"===E?-1:1;d[_]=u*m,d[E]=s*v,d.willChange=_+", "+E}var T={"x-placement":e.placement};return e.attributes=T,e.styles=Z({},d,e.styles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){return U(e.instance.popper,e.styles),function(e,t){Object.keys(t).forEach((function(n){!1!==t[n]?e.setAttribute(n,t[n]):e.removeAttribute(n)}))}(e.instance.popper,e.attributes),e.offsets.arrow&&U(e.arrowElement,e.offsets.arrow),e},onLoad:function(e,t,n,r,i){var o=I(0,t,e),a=g(n.placement,o,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),U(t,{position:"absolute"}),n},gpuAcceleration:void 0}}},ae=Object.assign||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},se=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),ue=function(){function t(n,r){var i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};H(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=z(this.update.bind(this)),this.options=ae({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=n.jquery?n[0]:n,this.popper=r.jquery?r[0]:r,this.options.modifiers={},Object.keys(ae({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){i.options.modifiers[e]=ae({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return ae({name:e},i.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(t){t.enabled&&e(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return se(t,[{key:"update",value:function(){return R.call(this)}},{key:"destroy",value:function(){return D.call(this)}},{key:"enableEventListeners",value:function(){return M.call(this)}},{key:"disableEventListeners",value:function(){return P.call(this)}}]),t}();return ue.Utils=("undefined"!=typeof window?window:t).PopperUtils,ue.placements=$,ue.Defaults=oe,ue}))}).call(t,function(){return this}())},function(e,t,n){"use strict";var r=n(27);e.exports=function(e,t){if(!e&&!t)return!0;if(!e&&t||e&&!t)return!1;var n,i=0,o=0;for(n in t)if(o++,!r(t[n])||!e.hasOwnProperty(n)||e[n]!==t[n])return!1;for(n in e)i++;return i===o}},function(e,t){"use strict";e.exports=function(e){return null==e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||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},o=n(4),a=(r(o),n(5)),s=r(a),u=function(e,t){var n=e.component,r=void 0===n?"span":n,a=e.innerRef,s=e.children,u=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["component","innerRef","children"]),l=t.popper,c=function(e){l.setArrowNode(e),"function"==typeof a&&a(e)},d=l.getArrowStyle();if("function"==typeof s)return s({arrowProps:{ref:c,style:d},restProps:u});var f=i({},u,{style:i({},d,u.style)});return"string"==typeof r?f.ref=c:f.innerRef=c,(0,o.createElement)(r,f,s)};u.contextTypes={popper:s.default.object.isRequired},u.propTypes={component:s.default.oneOfType([s.default.node,s.default.func]),innerRef:s.default.func,children:s.default.oneOfType([s.default.node,s.default.func])},t.default=u}]))},function(e,t,n){var r={"./af":993,"./af.js":993,"./ar":994,"./ar-dz":995,"./ar-dz.js":995,"./ar-kw":996,"./ar-kw.js":996,"./ar-ly":997,"./ar-ly.js":997,"./ar-ma":998,"./ar-ma.js":998,"./ar-sa":999,"./ar-sa.js":999,"./ar-tn":1e3,"./ar-tn.js":1e3,"./ar.js":994,"./az":1001,"./az.js":1001,"./be":1002,"./be.js":1002,"./bg":1003,"./bg.js":1003,"./bm":1004,"./bm.js":1004,"./bn":1005,"./bn.js":1005,"./bo":1006,"./bo.js":1006,"./br":1007,"./br.js":1007,"./bs":1008,"./bs.js":1008,"./ca":1009,"./ca.js":1009,"./cs":1010,"./cs.js":1010,"./cv":1011,"./cv.js":1011,"./cy":1012,"./cy.js":1012,"./da":1013,"./da.js":1013,"./de":1014,"./de-at":1015,"./de-at.js":1015,"./de-ch":1016,"./de-ch.js":1016,"./de.js":1014,"./dv":1017,"./dv.js":1017,"./el":1018,"./el.js":1018,"./en-SG":1019,"./en-SG.js":1019,"./en-au":1020,"./en-au.js":1020,"./en-ca":1021,"./en-ca.js":1021,"./en-gb":1022,"./en-gb.js":1022,"./en-ie":1023,"./en-ie.js":1023,"./en-il":1024,"./en-il.js":1024,"./en-nz":1025,"./en-nz.js":1025,"./eo":1026,"./eo.js":1026,"./es":1027,"./es-do":1028,"./es-do.js":1028,"./es-us":1029,"./es-us.js":1029,"./es.js":1027,"./et":1030,"./et.js":1030,"./eu":1031,"./eu.js":1031,"./fa":1032,"./fa.js":1032,"./fi":1033,"./fi.js":1033,"./fo":1034,"./fo.js":1034,"./fr":1035,"./fr-ca":1036,"./fr-ca.js":1036,"./fr-ch":1037,"./fr-ch.js":1037,"./fr.js":1035,"./fy":1038,"./fy.js":1038,"./ga":1039,"./ga.js":1039,"./gd":1040,"./gd.js":1040,"./gl":1041,"./gl.js":1041,"./gom-latn":1042,"./gom-latn.js":1042,"./gu":1043,"./gu.js":1043,"./he":1044,"./he.js":1044,"./hi":1045,"./hi.js":1045,"./hr":1046,"./hr.js":1046,"./hu":1047,"./hu.js":1047,"./hy-am":1048,"./hy-am.js":1048,"./id":1049,"./id.js":1049,"./is":1050,"./is.js":1050,"./it":1051,"./it-ch":1052,"./it-ch.js":1052,"./it.js":1051,"./ja":1053,"./ja.js":1053,"./jv":1054,"./jv.js":1054,"./ka":1055,"./ka.js":1055,"./kk":1056,"./kk.js":1056,"./km":1057,"./km.js":1057,"./kn":1058,"./kn.js":1058,"./ko":1059,"./ko.js":1059,"./ku":1060,"./ku.js":1060,"./ky":1061,"./ky.js":1061,"./lb":1062,"./lb.js":1062,"./lo":1063,"./lo.js":1063,"./lt":1064,"./lt.js":1064,"./lv":1065,"./lv.js":1065,"./me":1066,"./me.js":1066,"./mi":1067,"./mi.js":1067,"./mk":1068,"./mk.js":1068,"./ml":1069,"./ml.js":1069,"./mn":1070,"./mn.js":1070,"./mr":1071,"./mr.js":1071,"./ms":1072,"./ms-my":1073,"./ms-my.js":1073,"./ms.js":1072,"./mt":1074,"./mt.js":1074,"./my":1075,"./my.js":1075,"./nb":1076,"./nb.js":1076,"./ne":1077,"./ne.js":1077,"./nl":1078,"./nl-be":1079,"./nl-be.js":1079,"./nl.js":1078,"./nn":1080,"./nn.js":1080,"./pa-in":1081,"./pa-in.js":1081,"./pl":1082,"./pl.js":1082,"./pt":1083,"./pt-br":1084,"./pt-br.js":1084,"./pt.js":1083,"./ro":1085,"./ro.js":1085,"./ru":1086,"./ru.js":1086,"./sd":1087,"./sd.js":1087,"./se":1088,"./se.js":1088,"./si":1089,"./si.js":1089,"./sk":1090,"./sk.js":1090,"./sl":1091,"./sl.js":1091,"./sq":1092,"./sq.js":1092,"./sr":1093,"./sr-cyrl":1094,"./sr-cyrl.js":1094,"./sr.js":1093,"./ss":1095,"./ss.js":1095,"./sv":1096,"./sv.js":1096,"./sw":1097,"./sw.js":1097,"./ta":1098,"./ta.js":1098,"./te":1099,"./te.js":1099,"./tet":1100,"./tet.js":1100,"./tg":1101,"./tg.js":1101,"./th":1102,"./th.js":1102,"./tl-ph":1103,"./tl-ph.js":1103,"./tlh":1104,"./tlh.js":1104,"./tr":1105,"./tr.js":1105,"./tzl":1106,"./tzl.js":1106,"./tzm":1107,"./tzm-latn":1108,"./tzm-latn.js":1108,"./tzm.js":1107,"./ug-cn":1109,"./ug-cn.js":1109,"./uk":1110,"./uk.js":1110,"./ur":1111,"./ur.js":1111,"./uz":1112,"./uz-latn":1113,"./uz-latn.js":1113,"./uz.js":1112,"./vi":1114,"./vi.js":1114,"./x-pseudo":1115,"./x-pseudo.js":1115,"./yo":1116,"./yo.js":1116,"./zh-cn":1117,"./zh-cn.js":1117,"./zh-hk":1118,"./zh-hk.js":1118,"./zh-tw":1119,"./zh-tw.js":1119};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=5416},function(e,t,n){"use strict";n.r(t),n.d(t,"IGNORE_CLASS_NAME",(function(){return f}));var r=n(0),i=n(67);function o(e,t,n){return e===t||(e.correspondingElement?e.correspondingElement.classList.contains(n):e.classList.contains(n))}var a,s,u=(void 0===a&&(a=0),function(){return++a}),l={},c={},d=["touchstart","touchmove"],f="ignore-react-onclickoutside";function _(e,t){var n=null;return-1!==d.indexOf(t)&&s&&(n={passive:!e.props.preventDefault}),n}t.default=function(e,t){var n,a,d=e.displayName||e.name||"Component";return a=n=function(n){var a,f;function p(e){var r;return(r=n.call(this,e)||this).__outsideClickHandler=function(e){if("function"!=typeof r.__clickOutsideHandlerProp){var t=r.getInstance();if("function"!=typeof t.props.handleClickOutside){if("function"!=typeof t.handleClickOutside)throw new Error("WrappedComponent: "+d+" lacks a handleClickOutside(event) function for processing outside click events.");t.handleClickOutside(e)}else t.props.handleClickOutside(e)}else r.__clickOutsideHandlerProp(e)},r.__getComponentNode=function(){var e=r.getInstance();return t&&"function"==typeof t.setClickOutsideRef?t.setClickOutsideRef()(e):"function"==typeof e.setClickOutsideRef?e.setClickOutsideRef():Object(i.findDOMNode)(e)},r.enableOnClickOutside=function(){if("undefined"!=typeof document&&!c[r._uid]){void 0===s&&(s=function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};return window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),e}}()),c[r._uid]=!0;var e=r.props.eventTypes;e.forEach||(e=[e]),l[r._uid]=function(e){var t;null!==r.componentNode&&(r.props.preventDefault&&e.preventDefault(),r.props.stopPropagation&&e.stopPropagation(),r.props.excludeScrollbar&&(t=e,document.documentElement.clientWidth<=t.clientX||document.documentElement.clientHeight<=t.clientY)||function(e,t,n){if(e===t)return!0;for(;e.parentNode;){if(o(e,t,n))return!0;e=e.parentNode}return e}(e.target,r.componentNode,r.props.outsideClickIgnoreClass)===document&&r.__outsideClickHandler(e))},e.forEach((function(e){document.addEventListener(e,l[r._uid],_(r,e))}))}},r.disableOnClickOutside=function(){delete c[r._uid];var e=l[r._uid];if(e&&"undefined"!=typeof document){var t=r.props.eventTypes;t.forEach||(t=[t]),t.forEach((function(t){return document.removeEventListener(t,e,_(r,t))})),delete l[r._uid]}},r.getRef=function(e){return r.instanceRef=e},r._uid=u(),r}f=n,(a=p).prototype=Object.create(f.prototype),a.prototype.constructor=a,a.__proto__=f;var E=p.prototype;return E.getInstance=function(){if(!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},E.componentDidMount=function(){if("undefined"!=typeof document&&document.createElement){var e=this.getInstance();if(t&&"function"==typeof t.handleClickOutside&&(this.__clickOutsideHandlerProp=t.handleClickOutside(e),"function"!=typeof this.__clickOutsideHandlerProp))throw new Error("WrappedComponent: "+d+" lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=this.__getComponentNode(),this.props.disableOnClickOutside||this.enableOnClickOutside()}},E.componentDidUpdate=function(){this.componentNode=this.__getComponentNode()},E.componentWillUnmount=function(){this.disableOnClickOutside()},E.render=function(){var t=this.props,n=(t.excludeScrollbar,function(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]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,["excludeScrollbar"]));return e.prototype.isReactComponent?n.ref=this.getRef:n.wrappedRef=this.getRef,n.disableOnClickOutside=this.disableOnClickOutside,n.enableOnClickOutside=this.enableOnClickOutside,Object(r.createElement)(e,n)},p}(r.Component),n.displayName="OnClickOutside("+d+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:f,preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=d(n(5)),a=d(n(278)),s=d(n(1194)),u=d(n(153)),l=n(272),c=d(n(5756));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function _(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var p=(0,o.default)("2021-04-12T00:00:00"),E=function(){for(var e=[],t=(0,o.default)(p),n=(0,o.default)(t).add(1,"day"),r=(0,o.default)(t);r<n;)e.push(r.format("h:mm A")),r=r.add(15,"minutes");return e}(),h=function(e,t){if(null==e||""===t)return null;var n=t.toUpperCase().match(/^(\d{1,2}):(\d{2})\s*([AP]M)$/);if(!n)return null;var r=parseInt(n[1])%12,i=parseInt(n[2]);return"PM"===n[3]&&(r+=12),(0,o.default)(e).hours(r).minutes(i).seconds(0)},m=function(e){return(0,o.default)(e).format("h:mm A")},v=function(e){var t=e.value,n=e.onChange,r=e.inputClassName,o=i.useState(!1),d=o[0],f=o[1],p=i.useState((function(){return m(t)})),v=p[0],T=p[1];i.useEffect((function(){T(m(t))}),[t]);var g=function(e){e.preventDefault()};return _(a.default,{renderPopout:function(){return _("div",{className:c.default.listContainer,onMouseDown:g},void 0,_(l.ScrollerAuto,{className:c.default.listScroller},void 0,E.map((function(e){return _(s.default,{onClick:(r=e,function(){var e=h(t,r);null!=e&&n(e),f(!1)})},e,e);var r}))))},shouldShow:d,autoInvert:!1,position:a.default.Positions.BOTTOM},void 0,(function(){return _(u.default,{onFocus:function(){return f(!0)},onBlur:function(){return null!=(e=h(t,v))?n(e):T(m(t)),void f(!1);var e},value:v,onChange:T,inputClassName:r})}))};v.displayName="TimeInput";var T=v;t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,u.getScrollbarSpecs)(e);return o.forwardRef((function(r,i){var l,f=r.children,_=r.className,p=r.dir,E=void 0===p?"ltr":p,h=r.orientation,m=void 0===h?"vertical":h,v=r.paddingFix,T=void 0===v||v,g=r.fade,I=void 0!==g&&g,S=(r.onScroll,r.style),y=function(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}(r,["children","className","dir","orientation","paddingFix","fade","onScroll","style"]);var A=o.useRef(null),O=(0,u.usePaddingFixes)({paddingFix:T,orientation:m,dir:E,className:_,scrollerRef:A,specs:n});return o.createElement("div",c({ref:function(e){"function"==typeof i?i(e):null!=i&&(i.current=e),A.current=e},className:(0,a.default)(_,(l={},l[e]=!0,l[t]=I,l)),style:(0,u.getMergedOrientationStyles)(S,m),dir:E},y),d(s.FocusRingScope,{containerRef:A},void 0,f,O))}))};var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(9))&&r.__esModule?r:{default:r},s=n(88),u=n(414);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(){return(c=Object.assign||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}).apply(this,arguments)}function d(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findFirstVisibleItem=function(e,t){return new Promise((function(n){for(var o,a=new IntersectionObserver((function(e){for(var t,o=0,s=null,u=i(e);!(t=u()).done;){var l=t.value,c=l.isIntersecting,d=l.intersectionRatio,f=l.target;if(c&&1===d){a.disconnect();var _=f.getAttribute(r.LIST_ITEM_ID_ATTRIBUTE);if(null!=_)return n(_)}d>o&&(o=d,s=f.getAttribute(r.LIST_ITEM_ID_ATTRIBUTE))}a.disconnect(),n(s)}),{root:e}),s=i(t);!(o=s()).done;){var u=o.value;a.observe(u)}}))},t.findLastVisibleItem=function(e,t){return new Promise((function(n){for(var o,a=new IntersectionObserver((function(e){for(var t=0,i=null,o=e.length-1;o>=0;o--){var s=e[o],u=s.isIntersecting,l=s.intersectionRatio,c=s.target;if(u&&1===l){a.disconnect();var d=c.getAttribute(r.LIST_ITEM_ID_ATTRIBUTE);if(null!=d)return n(d)}l>t&&(t=l,i=c.getAttribute(r.LIST_ITEM_ID_ATTRIBUTE))}a.disconnect(),n(i)}),{root:e}),s=i(t);!(o=s()).done;){var u=o.value;a.observe(u)}}))},t.isItemVisible=function(e,t,n){void 0===n&&(n=.5);return new Promise((function(r){var i=new IntersectionObserver((function(e){var t=e[0];i.disconnect(),r(t.intersectionRatio>=n)}),{root:e});i.observe(t)}))};var r=n(418);function i(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useListItem=_,t.ListNavigatorItem=function(e){var t=e.children,n=_(e.id);return t(n)},t.useListContainerProps=p,t.getContainerPropsFromNavigator=function(e){var t,n=e.id,r=e.containerProps,i=r.onKeyDown,o=r.ref,a=r.tabIndex,u=e.orientation;return(t={role:"list",onKeyDown:i,"aria-orientation":u,ref:o})[s.LIST_ID_ATTRIBUTE]=n,t.tabIndex=a,t},t.ListNavigatorContainer=function(e){var t=e.children,n=p();return t(n)},t.ListNavigatorProvider=E,t.ListContainerContext=t.ListItemContext=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(1120),a=n(704),s=n(418);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var c={id:"NO_LIST",onKeyDown:function(){},orientation:a.Orientations.VERTICAL,ref:i.createRef(),tabIndex:-1},d=i.createContext({id:"NO_LIST",setFocus:function(){}});t.ListItemContext=d;var f=i.createContext(c);function _(e){var t,n=i.useState(-1),r=n[0],a=n[1],u=i.useContext(d),l=u.id,c=u.setFocus,f=i.useCallback((function(){return c(e)}),[e,c]);return i.useLayoutEffect((function(){return(0,o.addFocusSubscriber)(l,(function(t,n){a(n&&t===e?0:-1)}))}),[e,l]),(t={role:"listitem"})[s.LIST_ITEM_ID_ATTRIBUTE]=(0,s.createListItemId)(l,e),t.tabIndex=r,t.onFocus=f,t}function p(){var e,t=i.useContext(f),n=t.id,r=t.onKeyDown,o=t.orientation,a=t.ref;return(e={role:"list",tabIndex:t.tabIndex})[s.LIST_ID_ATTRIBUTE]=n,e.onKeyDown=r,e["aria-orientation"]=o,e.ref=a,e}function E(e){var t=e.children,n=e.navigator,r=n.id,o=n.setFocus,a=n.containerProps,s=a.onKeyDown,u=a.ref,c=a.tabIndex,_=n.orientation,p=i.useMemo((function(){return{id:r,setFocus:o}}),[r,o]),E=i.useMemo((function(){return{onKeyDown:s,orientation:_,ref:u,id:r,tabIndex:c}}),[s,_,u,r,c]);return l(f.Provider,{value:E},void 0,l(d.Provider,{value:p},void 0,t)," ")}t.ListContainerContext=f,E.displayName="ListNavigatorProvider"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=r.useState(void 0),t=e[0],n=e[1],i=r.useState(void 0),o=i[0],a=i[1],s=r.useRef(null);return r.useLayoutEffect((function(){var e=s.current;if(null!=e){var t=new ResizeObserver((function(e){var t,r,i,o,u=e[0],l=null==u||null===(t=u.borderBoxSize)||void 0===t||null===(r=t[0])||void 0===r?void 0:r.inlineSize,c=null==u||null===(i=u.borderBoxSize)||void 0===i||null===(o=i[0])||void 0===o?void 0:o.blockSize;if(null==l||null==c){var d=s.current;if(null!=d){var f,_,p=window.getComputedStyle(d);if(null==l)l=parseFloat(null!==(f=p.width)&&void 0!==f?f:"0");if(null==c)c=parseFloat(null!==(_=p.height)&&void 0!==_?_:"0")}}n(l),a(c)}));return t.observe(e),function(){return t.disconnect()}}}),[]),{ref:s,width:t,height:o}};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var f=(0,o.useStateFromStores)([a.default],(function(){return a.default.can(r.Permissions.CREATE_INSTANT_INVITE,e)})),_=u.default.canEveryoneRole(i.default.combine(r.Permissions.VIEW_CHANNEL,r.Permissions.CONNECT),e);return{helpText:(null==t?void 0:t.privacy_level)===l.StageInstancePrivacyLevel.PUBLIC?d.default.Messages.START_STAGE_CHANNEL_EVENT_PUBLIC_PERMANENT_DISCLAIMER:f?_?n===l.StageInstancePrivacyLevel.PUBLIC?d.default.Messages.START_STAGE_CHANNEL_EVENT_PUBLIC_EXPLANATION.format({articleURL:s.default.getArticleURL(c.HelpdeskArticles.STAGE_CHANNEL_GUIDELINES)}):null:d.default.Messages.START_STAGE_CHANNEL_EVENT_PUBLIC_EVERYONE_WARNING:d.default.Messages.START_STAGE_CHANNEL_EVENT_PUBLIC_PERMISSIONS_DISCLAIMER,guildOnlyDisabled:(null==t?void 0:t.privacy_level)===l.StageInstancePrivacyLevel.PUBLIC,publicDisabled:!f||!_}};var r=n(92),i=f(n(63)),o=n(3),a=f(n(40)),s=f(n(93)),u=f(n(78)),l=n(207),c=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PublicStageInfoContent=T,t.default=g;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=E(n(29)),a=n(85),s=n(131),u=n(35),l=E(n(47)),c=E(n(24)),d=n(134),f=n(1),_=E(n(6)),p=E(n(5761));function E(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function m(){return(m=Object.assign||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}).apply(this,arguments)}function v(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(e){var t=e.headerId,r=e.onNext,a=e.onClose,E=e.onBack,h=e.loading,m=(0,d.getStagePublicInfoText)();return i.createElement(i.Fragment,null,v("div",{className:p.default.banner},void 0,v("div",{className:p.default.headerTextContainer},void 0,v(l.default,{id:t,size:c.default.Sizes.SIZE_20,color:f.Colors.WHITE,className:p.default.headerTitle},void 0,_.default.Messages.START_STAGE_PUBLIC_INFO_TITLE),v(c.default,{className:p.default.caption},void 0,_.default.Messages.START_STAGE_PUBLIC_INFO_TITLE_CAPTION)),v("img",{alt:_.default.Messages.START_STAGE_PUBLIC_INFO_ALT_TEXT,src:n(5425),className:p.default.illustration})),v(u.ModalContent,{className:p.default.content},void 0,v("div",{className:p.default.infoListContainer},void 0,m.map((function(e,t){return v(i.Fragment,{},t,0!==t?v(s.FormDivider,{className:p.default.divider}):null,v(c.default,{size:c.default.Sizes.SIZE_16,color:c.default.Colors.HEADER_SECONDARY},void 0,e))})))),v(u.ModalFooter,{},void 0,v(o.default,{color:o.default.Colors.BRAND,onClick:r,submitting:h},void 0,_.default.Messages.START_STAGE_PUBLIC_CONFIRM),v(o.default,{color:o.default.Colors.GREY,className:p.default.cancelButton,onClick:a},void 0,_.default.Messages.CANCEL),null!=E?v(o.default,{look:o.default.Looks.LINK,color:o.default.Colors.LINK,className:p.default.backButton,onClick:E,size:o.default.Sizes.MIN},void 0,_.default.Messages.BACK):null))}function g(e){var t=e.transitionState,n=e.onNext,r=e.onClose,o=e.onBack,s=function(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}(e,["transitionState","onNext","onClose","onBack"]),l=(0,a.useUID)();return i.createElement(u.ModalRoot,m({transitionState:t,"aria-labelledby":l},s,{size:u.ModalSize.SMALL}),v(T,{headerId:l,onNext:function(){n(),r()},onClose:r,onBack:o}))}g.displayName="PublicStageInfoModal"},function(e,t,n){e.exports=n.p+"2feec4681eed269e051a73681cbaf3c0.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.headerId,n=e.onClick,r=(0,T.default)();return i.createElement(i.Fragment,null,O("div",{className:S.default.illustration}),function(){if(0===r.length){var e=v.default.getArticleURL(g.HelpdeskArticles.GUILD_COMMUNITY_FEATURE);return O("div",{className:S.default.contentContainer},void 0,O("div",{className:S.default.headerContainer},void 0,O(E.default,{id:t,tag:E.default.Tags.H2,size:E.default.Sizes.SIZE_24,className:S.default.header},void 0,I.default.Messages.START_STAGE_MODAL_SERVER_SELECTION_EMPTY_TITLE),O(h.default,{color:h.default.Colors.HEADER_SECONDARY,size:h.default.Sizes.SIZE_14,className:S.default.subheader},void 0,I.default.Messages.START_STAGE_MODAL_SERVER_SELECTION_SUBTITLE)),O("div",{className:S.default.bulletsContainer},void 0,O(N,{icon:c.default,text:I.default.Messages.START_STAGE_MODAL_SERVER_SELECTION_BULLET_1.format({helpdeskArticle:e})}),O(N,{icon:f.default,text:I.default.Messages.START_STAGE_MODAL_SERVER_SELECTION_BULLET_2}),O(N,{icon:_.default,text:I.default.Messages.START_STAGE_MODAL_SERVER_SELECTION_BULLET_3}),O(N,{icon:d.default,text:I.default.Messages.START_STAGE_MODAL_SERVER_SELECTION_BULLET_4,isLastItem:!0})))}return i.createElement(i.Fragment,null,O("div",{className:S.default.headerContainer},void 0,O(E.default,{tag:E.default.Tags.H2,size:E.default.Sizes.SIZE_24,className:S.default.header},void 0,I.default.Messages.START_STAGE_MODAL_SERVER_SELECTION_TITLE),O(h.default,{color:h.default.Colors.HEADER_SECONDARY,size:h.default.Sizes.SIZE_14,className:S.default.subheader},void 0,I.default.Messages.START_STAGE_MODAL_SERVER_SELECTION_SUBTITLE)),O(m.default,{className:S.default.scroller},void 0,O("div",{className:S.default.bulletsContainer},void 0,r.map((function(e,t){var i=e[0],o=e[1];return O(R,{guild:i,onClick:function(){return n(i,o)},isLastItem:t===r.length-1},i.id)})))))}(),O(p.ModalFooter,{className:S.default.footerContainer},void 0,O(h.default,{color:h.default.Colors.HEADER_SECONDARY,size:h.default.Sizes.SIZE_12,className:S.default.hint},void 0,I.default.Messages.START_STAGE_MODAL_SERVER_SELECTION_BUTTON_HINT),O(a.default,{onClick:function(){window.open(g.MarketingURLs.STAGES)},color:a.default.Colors.GREY,className:S.default.button},void 0,I.default.Messages.START_STAGE_MODAL_SERVER_SELECTION_BUTTON_TEXT)))};var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=y(n(9)),a=y(n(29)),s=y(n(61)),u=y(n(371)),l=y(n(683)),c=y(n(5427)),d=y(n(1318)),f=y(n(291)),_=y(n(5428)),p=n(35),E=y(n(47)),h=y(n(24)),m=y(n(272)),v=y(n(93)),T=y(n(453)),g=n(1),I=y(n(6)),S=y(n(5765));function y(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function O(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function N(e){var t,n=e.icon,r=e.text,i=e.isLastItem,a=void 0!==i&&i;return O("div",{className:S.default.bulletItem},void 0,O("div",{className:S.default.bulletIcon},void 0,O("div",{className:S.default.circle},void 0,O(n,{height:17,className:S.default.icon}))),O("div",{className:(0,o.default)(S.default.bulletContent,(t={},t[S.default.borderBottom]=!a,t))},void 0,O(h.default,{color:h.default.Colors.HEADER_PRIMARY,size:h.default.Sizes.SIZE_16},void 0,r)))}function R(e){var t,n=e.guild,r=e.onClick,i=e.isLastItem,a=void 0!==i&&i;return O(s.default,{onClick:r,className:(0,o.default)(S.default.bulletItem,S.default.clickable)},void 0,O("div",{className:S.default.bulletIcon},void 0,O(u.default,{guild:n,size:u.default.Sizes.MEDIUM,className:S.default.guildIcon})),O("div",{className:(0,o.default)(S.default.bulletContent,(t={},t[S.default.borderBottom]=!a,t))},void 0,O(h.default,{color:h.default.Colors.HEADER_PRIMARY,size:h.default.Sizes.SIZE_16,className:S.default.guildName},void 0,n.name),O(l.default,{className:S.default.caret})))}N.displayName="BulletItem",R.displayName="GuildSelectionItem"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?20:t,r=e.height,i=void 0===r?17:r,s=e.color,c=void 0===s?"currentColor":s,d=function(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}(e,["width","height","color"]);return o.createElement("svg",u({},(0,a.default)(d),{width:n,height:i,viewBox:"0 0 20 17"}),l("path",{d:"M8 17V11H12V17H17V9H20L10 0L0 9H3V17H8Z",fill:c}))}c.displayName="House"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?24:t,r=e.height,i=void 0===r?24:r,s=e.color,c=void 0===s?"currentColor":s,d=function(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}(e,["width","height","color"]);return o.createElement("svg",u({},(0,a.default)(d),{width:n,height:i,viewBox:"0 0 24 24"}),l("path",{d:"M16.8025 6.81104L19.6313 3.98304L21.0453 5.39744L18.2165 8.22544L16.8025 6.81104Z",fill:c}),l("path",{d:"M18.2871 12.3481L18.8047 10.4163L22.6683 11.4515L22.1507 13.3833L18.2871 12.3481Z",fill:c}),l("path",{d:"M15.7866 18.3324L14.7517 14.4698L16.6835 13.9522L17.7184 17.8148L15.7866 18.3324Z",fill:c}),l("path",{d:"M13.5767 2.36145L14.6112 6.22448L12.6792 6.74188L11.6447 2.87885L13.5767 2.36145Z",fill:c}),l("path",{d:"M7.21265 7.30957L11.0766 8.34357L10.5599 10.2746L6.69591 9.2406L7.21265 7.30957Z",fill:c}),l("path",{d:"M3.00049 19.8782L14.3134 8.56528L16.4347 10.6866L5.12179 21.9995L3.00049 19.8782Z",fill:c}))}c.displayName="Wand"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(132)),a=h(n(29)),s=n(85),u=h(n(1121)),l=h(n(466)),c=h(n(47)),d=h(n(24)),f=n(301),_=h(n(308)),p=h(n(6)),E=h(n(5769));function h(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function v(){return(v=Object.assign||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}).apply(this,arguments)}function T(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var g=function(e){var t=e.channel,n=function(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}(e,["channel"]),r=(0,s.useUID)();return i.createElement(l.default,v({confirmText:p.default.Messages.END_EVENT_STAGE_CONFIRMATION_CONFIRM,cancelText:p.default.Messages.CANCEL,onConfirm:function(){(0,f.endStage)(t),o.default.disconnect()},confirmButtonColor:a.default.Colors.RED,bodyClassName:E.default.body},n),T(_.default,{className:E.default.headerIconContainer},void 0,T("div",{className:E.default.iconBackground},void 0,T(u.default,{width:40,height:40,className:E.default.headerIcon}))),T(c.default,{id:r,size:d.default.Sizes.SIZE_24,color:d.default.Colors.HEADER_PRIMARY,className:E.default.title},void 0,p.default.Messages.END_EVENT_STAGE_CONFIRMATION_TITLE),T(d.default,{size:d.default.Sizes.SIZE_16,color:d.default.Colors.HEADER_SECONDARY,className:E.default.subtitle},void 0,p.default.Messages.END_EVENT_STAGE_CONFIRMATION_SUBTITLE))};g.displayName="EndGuildEventConfirmationModal";var I=g;t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n)}(n(0));var r,i=E(n(132)),o=E(n(29)),a=n(85),s=E(n(1121)),u=n(35),l=E(n(47)),c=E(n(24)),d=n(301),f=E(n(308)),_=E(n(6)),p=E(n(5770));function E(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function m(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.channel,n=e.transitionState,r=e.onClose,E=e.isTicketedEvent,h=(0,a.useUID)();function v(){i.default.disconnect(),r()}return m(u.ModalRoot,{transitionState:n,"aria-labelledby":h},void 0,m(u.ModalContent,{className:p.default.content},void 0,m(f.default,{},void 0,m("div",{className:p.default.iconBackground},void 0,m(s.default,{width:40,height:40,className:p.default.headerIcon}))),m(l.default,{id:h,size:c.default.Sizes.SIZE_24,color:c.default.Colors.HEADER_PRIMARY,className:p.default.title},void 0,_.default.Messages.EXPLICIT_END_STAGE_TITLE),m(c.default,{size:c.default.Sizes.SIZE_16,color:c.default.Colors.HEADER_SECONDARY,className:p.default.subtitle},void 0,E?_.default.Messages.EXPLICIT_END_TICKETED_GUILD_EVENT_SUBTITLE:_.default.Messages.EXPLICIT_END_STAGE_SUBTITLE)),m(u.ModalFooter,{},void 0,m(o.default,{color:o.default.Colors.RED,onClick:function(){(0,d.endStage)(t),v()}},void 0,_.default.Messages.EXPLICIT_END_STAGE_CONFIRM),m(o.default,{color:o.default.Colors.GREY,className:p.default.cancelButton,onClick:v},void 0,_.default.Messages.EXPLICIT_END_STAGE_CANCEL)))}v.displayName="EndStageModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=p(n(29)),a=n(85),s=n(35),u=p(n(47)),l=p(n(24)),c=n(268),d=n(455),f=p(n(6)),_=p(n(5771));function p(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function h(){return(h=Object.assign||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}).apply(this,arguments)}function m(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.channel,n=e.onAccept,r=e.transitionState,p=e.onClose,E=function(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}(e,["channel","onAccept","transitionState","onClose"]),v=(0,a.useUID)(),T=(0,c.useStageBlockedUsers)(t.id);return i.createElement(s.ModalRoot,h({transitionState:r,"aria-labelledby":v},E,{size:s.ModalSize.SMALL}),m(s.ModalHeader,{className:_.default.header},void 0,m(u.default,{size:u.default.Sizes.SIZE_24},void 0,f.default.Messages.STAGE_BLOCKED_USERS_TITLE_PLURAL.format({number:T.length})),m(l.default,{color:l.default.Colors.HEADER_SECONDARY,className:_.default.description},void 0,f.default.Messages.STAGE_BLOCKED_USERS_BODY.format({number:T.length}))),m(s.ModalContent,{className:_.default.content},void 0,T.map((function(e){var t=e.user,n=e.id,r=e.speaker,i=e.moderator;return m(d.BlockedUser,{user:t,speaker:r,moderator:i,showStatus:!0},n)}))),m(s.ModalFooter,{className:_.default.footer},void 0,m(o.default,{onClick:function(){n(t),p()},color:o.default.Colors.BRAND},void 0,f.default.Messages.STAGE_BLOCKED_USERS_ACCEPT),m(o.default,{onClick:function(){p()},color:o.default.Colors.PRIMARY,look:o.default.Looks.LINK},void 0,f.default.Messages.STAGE_BLOCKED_USERS_CANCEL)))}v.displayName="StageChannelBlockedUsersModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=N;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(29)),a=v(n(407)),s=v(n(696)),u=v(n(291)),l=n(35),c=v(n(47)),d=v(n(24)),f=n(301),_=n(268),p=n(455),E=v(n(308)),h=v(n(6)),m=v(n(5772));function v(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function g(){return(g=Object.assign||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}).apply(this,arguments)}function I(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function y(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){S(o,r,i,a,s,"next",e)}function s(e){S(o,r,i,a,s,"throw",e)}a(void 0)}))}}var A=I(a.default,{width:20,height:20}),O=I(s.default,{width:20,height:20});function N(e){var t=e.channel,n=e.transitionState,r=e.onClose,a=function(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}(e,["channel","transitionState","onClose"]),s=(0,_.useStageBlockedUsersCount)(t.id),v=function(){var e=y(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,f.moveSelfToAudience)(t);case 2:r();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),T=function(){var e=y(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,f.audienceAckRequestToSpeak)(t,!1);case 2:r();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return i.createElement(l.ModalRoot,g({transitionState:n,"aria-labelledby":h.default.Messages.START_STAGE_CHANNEL_EVENT_MODAL_TITLE},a,{size:l.ModalSize.SMALL}),I(l.ModalContent,{className:m.default.content},void 0,I(E.default,{},void 0,I("div",{className:m.default.stageIconBackground},void 0,I(u.default,{width:40,height:40,className:m.default.stageIcon}))),I(c.default,{size:d.default.Sizes.SIZE_24,color:d.default.Colors.HEADER_PRIMARY,className:m.default.headerTitle},void 0,h.default.Messages.STAGE_MODERATOR_JOIN_MODAL_TITLE),I(d.default,{size:d.default.Sizes.SIZE_14,color:d.default.Colors.HEADER_SECONDARY,className:m.default.headerSubtitle},void 0,h.default.Messages.STAGE_MODERATOR_JOIN_MODAL_SUBTITLE),s>0&&I(p.BlockedUsersNotice,{channelId:t.id}),I("div",{className:m.default.buttonsContainer},void 0,I(o.default,{color:o.default.Colors.GREY,className:m.default.button,innerClassName:m.default.innerButton,onClick:T},void 0,I("div",{className:m.default.icon},void 0,A),h.default.Messages.STAGE_MODERATOR_JOIN_MODAL_JOIN_SPEAKER),I(o.default,{color:o.default.Colors.GREY,className:m.default.button,innerClassName:m.default.innerButton,onClick:v},void 0,I("div",{className:m.default.icon},void 0,O),h.default.Messages.STAGE_MODERATOR_JOIN_MODAL_JOIN_AUDIENCE))))}N.displayName="StageChannelModeratorJoinModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),a=n(454),s=y(n(15)),u=n(703),l=n(85),c=y(n(291)),d=n(35),f=y(n(47)),_=y(n(24)),p=n(134),E=y(n(81)),h=y(n(308)),m=y(n(985)),v=y(n(764)),T=y(n(986)),g=y(n(992)),I=y(n(6)),S=y(n(5773));function y(e){return e&&e.__esModule?e:{default:e}}function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}function O(){return(O=Object.assign||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}).apply(this,arguments)}function N(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function R(e){var t=e.guild,n=e.channel,r=e.stageInstance,o=e.appContext,s=e.headerId,u=e.onClose,l=e.loading,d=e.error,p=e.onSave,E=e.defaultOptions,m=e.isSlideReady,T=(0,a.useGuildEligibleForPublicStageDiscovery)(n.getGuildId());return i.createElement(i.Fragment,null,N("div",{className:S.default.content},void 0,N(h.default,{},void 0,N("div",{className:S.default.stageIconBackground},void 0,N(c.default,{width:32,height:32,className:S.default.stageIcon}))),N(f.default,{id:s,size:_.default.Sizes.SIZE_24,color:_.default.Colors.HEADER_PRIMARY,className:S.default.headerTitle},void 0,null==r?I.default.Messages.START_STAGE_CHANNEL_EVENT_MODAL_TITLE:I.default.Messages.EDIT_STAGE_CHANNEL_TITLE),N(_.default,{size:_.default.Sizes.SIZE_14,color:_.default.Colors.HEADER_SECONDARY,className:S.default.headerSubtitle},void 0,null==r?I.default.Messages.START_STAGE_CHANNEL_EVENT_MODAL_SUBTITLE:T?I.default.Messages.EDIT_STAGE_CHANNEL_SUBTITLE:I.default.Messages.EDIT_STAGE_SUBTITLE)),N(v.default,{guild:t,channel:n,onSave:p,error:d,loading:l,onClose:u,appContext:o,defaultOptions:E,isSlideReady:m}))}function b(e){var t=e.channel,n=e.appContext,r=e.onClose,a=e.transitionState,c=function(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}(e,["channel","appContext","onClose","transitionState"]),f=(0,l.useUID)(),_=(0,o.useStateFromStores)([s.default],(function(){return s.default.getGuild(t.guild_id)})),h=i.useMemo((function(){return E.default.getStageInstanceByChannel(t.id)}),[t.id]),v=(0,T.default)(t,r),I=v.loading,y=v.error,A=v.onSave,b=(0,g.default)({stageInstance:h,defaultStep:p.StartStageSteps.STAGE_CHANNEL_SETTINGS,error:y,onSave:A}),L=b.modalStep,D=b.setModalStep,C=b.readySlide,M=b.handleSlideReady,P=b.savedOptions,w=b.handleSettingsSave,U=b.handleDelayedSave;return i.useEffect((function(){null==_&&r()}),[_,r]),null==_?null:i.createElement(d.ModalRoot,O({transitionState:a,"aria-labelledby":f},c,{size:d.ModalSize.SMALL}),N(u.Slides,{activeSlide:L,width:440,onSlideReady:M},void 0,N(u.Slide,{id:p.StartStageSteps.STAGE_CHANNEL_SETTINGS},void 0,N("div",{className:S.default.slideContainer},void 0,N(R,{guild:_,channel:t,stageInstance:h,appContext:n,headerId:f,onClose:r,loading:I,error:y,onSave:w,defaultOptions:P,isSlideReady:C===p.StartStageSteps.STAGE_CHANNEL_SETTINGS}))),N(u.Slide,{id:p.StartStageSteps.PUBLIC_STAGE_PREVIEW},void 0,N("div",{className:S.default.slideContainer},void 0,N(m.default,{headerId:f,guild:_,channel:t,stageData:P,loading:I,onNext:U,onCancel:r,onBack:function(){return D(p.StartStageSteps.STAGE_CHANNEL_SETTINGS)}})))))}b.displayName="StageChannelSettingsModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_(n(28)),i=_(n(2)),o=_(n(216)),a=_(n(11)),s=_(n(36)),u=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(5435)),l=_(n(205)),c=n(134),d=n(1);function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function _(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E=new(function(e){var t,n;function o(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this).handleVoiceStateUpdate=function(e){if(e.channelId&&e.userId===a.default.getId()&&(t.terminate(),!r.default.get(c.STAGE_AUDIENCE_NOTICE_SHOWN_STORAGE_KEY,!1))){var n=s.default.getVoiceChannelId();null!=n&&e.channelId===n&&l.default.isAudienceMember(e.userId,n)&&(r.default.set(c.STAGE_AUDIENCE_NOTICE_SHOWN_STORAGE_KEY,!0),u.openStageChannelAudienceNoticeModal(n))}},t}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n);var f=o.prototype;return f._initialize=function(){i.default.subscribe(d.ActionTypes.VOICE_STATE_UPDATE,this.handleVoiceStateUpdate)},f._terminate=function(){i.default.unsubscribe(d.ActionTypes.VOICE_STATE_UPDATE,this.handleVoiceStateUpdate)},o}(o.default));t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openStageChannelAudienceNoticeModal=function(e){r.openStageChannelAudienceNoticeModal(e)};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(748));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(2)),i=c(n(216)),o=n(451),a=c(n(10)),s=c(n(107)),u=n(48),l=n(1);function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=new(function(e){var t,n;function i(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).handleVoiceChannelSelect=function(e){var n=e.channelId,r=e.guildId;if(null!=n){var i=a.default.getChannel(n);if(null==i||i.isGuildStageVoice())return}t.terminate();var o=null==n?null:null!=r?r:null;t.handleDisconnectFromStageChannel(o)},t.handleDisconnectFromStageChannel=function(e){var t=s.default.getGuildId();(0,o.stopLurkingAll)([t,e].filter(u.isNotNullish))},t.handleLogout=function(){t.terminate(),t.handleDisconnectFromStageChannel(null)},t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var c=i.prototype;return c._initialize=function(){r.default.subscribe(l.ActionTypes.VOICE_CHANNEL_SELECT,this.handleVoiceChannelSelect),r.default.subscribe(l.ActionTypes.LOGOUT,this.handleLogout)},c._terminate=function(){r.default.unsubscribe(l.ActionTypes.VOICE_CHANNEL_SELECT,this.handleVoiceChannelSelect),r.default.unsubscribe(l.ActionTypes.LOGOUT,this.handleLogout)},i}(i.default));t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=new Map,i=new Map;function o(e){e&&e.parentNode&&e.parentNode.removeChild(e)}var a={ensure:function(e){var t=r.get(e);return t||(t=function(e){return new Promise((function(t,n){var a=!1,s=i.get(e),u=function(){a||(a=!0,o(l),clearTimeout(c),r.delete(e),n(new Error("script error")))},l=document.createElement("script");l.async=!0,l.type="text/javascript",l.onload=function(){o(l),clearTimeout(c);var e=window;return null!=s&&e[s]?t(e[s]):null==s||e[s]?void t():n(new Error("globalKey does not exist in window"))},l.onerror=u,l.src=e,document.body.appendChild(l);var c=setTimeout(u,3e3)}))}(e),r.set(e,t),t)},register:function(e,t){i.set(e,t)}};t.default=a},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=S(n(64)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(456)),o=S(n(138)),a=S(n(3)),s=S(n(2)),u=S(n(26)),l=S(n(5447)),c=S(n(5448)),d=S(n(267)),f=S(n(386)),_=S(n(13)),p=S(n(213)),E=S(n(164)),h=S(n(5450)),m=S(n(5451)),v=S(n(5452)),T=S(n(5454)),g=n(1);function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function S(e){return e&&e.__esModule?e:{default:e}}function y(){return(y=Object.assign||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}).apply(this,arguments)}function A(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var R=new v.default;function b(){}var L;!function(e){e.CLOSED="CLOSED",e.WILL_RECONNECT="WILL_RECONNECT",e.CONNECTING="CONNECTING",e.IDENTIFYING="IDENTIFYING",e.RESUMING="RESUMING",e.SESSION_ESTABLISHED="SESSION_ESTABLISHED"}(L||(L={}));function D(e){return null==e?0:"string"==typeof e?new Blob([e]).size:e.byteLength}var C=function(t){var n,r;function v(e){var n;return(n=t.call(this)||this).dispatchExceptionBackoff=new o.default(1e3,6e4),n.dispatchSuccessTimer=0,n.didForceClearGuildHashes=!1,n.identifyUncompressedByteSize=0,n.identifyCompressedByteSize=0,n.isCacheLoaded=l.default.cacheFullyLoaded(),n.queuedDispatches=[],n._handleCacheLoaded=function(){n.isCacheLoaded=!0,l.default.removeChangeListener(n._handleCacheLoaded);for(var e,t=A(n.queuedDispatches);!(e=t()).done;){var r=e.value,i=r.data,o=r.type,a=r.compressionAnalytics;n._handleDispatch(i,o,a)}},n.send=function(e,t,r){d.default.isLoggingGatewayEvents&&n.logger.verbose("~>",e,t);var i=R.pack({op:e,d:t});if(!r||n.isSessionEstablished())try{null!=n.webSocket?n.webSocket.send(i):n.logger.warn("Attempted to send without a websocket that exists. Opcode: "+e)}catch(e){}else n.logger.warn("Attempted to send while not being in a connected state opcode: "+e)},n.gatewayBackoff=new o.default(1e3,6e4),n.handleIdentify=e,n.connectionState=L.CLOSED,n.webSocket=null,n.seq=0,n.replayedEvents=0,n.sessionId=null,n.token=null,n.logger=new u.default("GatewaySocket"),n.initialHeartbeatTimeout=null,n.expeditedHeartbeatTimeout=null,n.lastHeartbeatAckTime=null,n.helloTimeout=null,n.heartbeatInterval=null,n.heartbeater=null,n.heartbeatAck=!0,n.connectionStartTime=0,n.identifyStartTime=0,n.nextReconnectIsImmediate=!1,n.compressionHandler=new m.default(R),n.hasConnectedOnce=!1,n.isFastConnect=!1,n.isCacheLoaded||l.default.addChangeListener(n._handleCacheLoaded),n}r=t,(n=v).prototype=Object.create(r.prototype),n.prototype.constructor=n,N(n,r);var I=v.prototype;return I._connect=function(){var e=this;if(this.willReconnect()){this.connectionState=L.CONNECTING,this.nextReconnectIsImmediate=!1;var t,n,r,i=this.compressionHandler.getAlgorithm(),o=R.getName(),s=window.GLOBAL_ENV.GATEWAY_ENDPOINT,u=window.GLOBAL_ENV.API_VERSION;this.logger.info("[CONNECT] "+s+", encoding: "+o+", version: "+u+", compression: "+(i||"none")),null!==this.webSocket&&(this.logger.error("_connect called with already existing websocket"),this._cleanup((function(e){return e.close(4e3)}))),this.connectionStartTime=Date.now(),this.helloTimeout=setTimeout((function(){var t=Date.now()-e.connectionStartTime;e._handleClose(!1,0,"The connection timed out after "+t+" ms - did not receive OP_HELLO in time.")}),2e4),s+="/?encoding="+o+"&v="+u,i&&(s+="&compress="+i),function(e,t,n,r,i,o){var a,s=window._ws,u=!1,l=!1,c=null;window._ws=null,null!=s&&(a=s.ws,s.state.gateway!==e?(console.log("[FAST CONNECT] gatewayURL mismatch: "+s.state.gateway+" !== "+e),a.close(1e3),a=null):(console.log("[FAST CONNECT] successfully took over websocket, state:",s.state),u=s.state.open,l=s.state.identify,c=s.state.messages)),null==a&&((a=(0,T.default)(e)).binaryType="arraybuffer"),t(a),u&&n(l),c&&c.forEach(r),a.onopen=function(){return n(l)},a.onmessage=r,a.onclose=o,a.onerror=i}(s,(function(t){e.webSocket=t,e.compressionHandler.bindWebSocket(t)}),(function(t){var n=Date.now()-e.connectionStartTime;e.logger.info("[CONNECTED] "+s+" in "+n+" ms"),e.isFastConnect=t,t?e._doFastConnectIdentify():e._doResumeOrIdentify()}),(t=this.compressionHandler,n=function(t,n){var r=Date.now(),i=R.unpack(t),o=i.op,s=i.s,u=i.t,l=i.d,c=Date.now()-r;switch(null!=s&&(e.seq=s),o){case 10:e._clearHelloTimeout(),e._handleHello(l);break;case 7:e._handleReconnect();break;case 9:e._handleInvalidSession(l);break;case 1:e._sendHeartbeat();break;case 11:e._handleHeartbeatAck(l);break;case 0:e.connectionState===L.RESUMING&&(e.replayedEvents+=1,a.default.Store.pauseEmittingChanges(150)),e._handleDispatch(l,u,{compressed_byte_size:n,uncompressed_byte_size:D(t),compression_algorithm:e.compressionHandler.getAlgorithm(),packing_algorithm:R.getName(),unpack_duration_ms:c});break;default:e.logger.info("Unhandled op "+o)}},r=0,t.dataReady((function(e){try{return n(e,r)}finally{r=0}})),function(e){var n=e.data;r+=D(n),t.feed(n)}),(function(){p.default.flushDNSCache(),e._handleClose(!1,0,"An error with the websocket occurred")}),(function(t){var n=t.wasClean,r=t.code,i=t.reason;return e._handleClose(n,r,i)}))}},I._handleHello=function(e){var t=this.heartbeatInterval=e.heartbeat_interval,n=Date.now()-this.connectionStartTime;this.logger.info("[HELLO] via "+this._getConnectionPath(e)+", heartbeat interval: "+t+", took "+n+" ms"),this._startHeartbeater()},I._handleReconnect=function(){this.logger.info("[RECONNECT] gateway requested I reconnect."),this._cleanup((function(e){return e.close(4e3)})),this.connectionState=L.WILL_RECONNECT,this._connect()},I._handleInvalidSession=function(e){this.logger.info("[INVALID_SESSION]"+(e?" can resume)":"")),e?this._doResumeOrIdentify():this._doIdentify()},I._handleDispatch=function(e,t,n){if(this.isCacheLoaded){var r,i,o,s,u,l,c,f,p,h,m,v,T,I,S,A,O,N,R,b,D,C=Date.now();if("READY"===t||"READY_SUPPLEMENTAL"===t||"RESUMED"===t){a.default.Store.resumeEmittingChanges();var M=Date.now()-this.connectionStartTime;switch(t){case"READY":var P=e.session_id;this.sessionId=P,this.logger.info("[READY] took "+M+"ms, via "+this._getConnectionPath(e)+" as "+P);break;case"READY_SUPPLEMENTAL":this.logger.info("[READY_SUPPLEMENTAL] took "+M+"ms");break;case"RESUMED":this.logger.info("[RESUMED] took "+M+"ms, via "+this._getConnectionPath(e)+", replayed "+this.replayedEvents+" events, new seq: "+this.seq),this.replayedEvents=0}this.connectionState=L.SESSION_ESTABLISHED,this.gatewayBackoff.succeed()}0,d.default.isLoggingGatewayEvents&&this.logger.verbose("<~",t,e);try{this.emit("dispatch",t,e)}catch(e){this.logger.error(e),(!e.message||e.message.indexOf("Guild data was missing from store")<0)&&E.default.captureException(e),this.resetSocketOnError()}"READY"===t&&(_.default.track(g.AnalyticEvents.READY_PAYLOAD_RECEIVED,y({},n,{},function(e){var t=e._trace,n={};try{var r=JSON.parse(t);r[0]&&r[0].startsWith("gateway-")&&(n.identify_total_server_duration_ms=Math.floor(r[1].micros/1e3)),function e(t,n){if(t&&t.length)for(var r=0;r<t.length;r+=2){var i=t[r],o=t[r+1];n(i,o.micros),e(o.calls,n)}}(r,(function(e,t){"start_session"===e?n.identify_api_duration_ms=Math.floor(t/1e3):"guilds_connect"===e&&(n.identify_guilds_duration_ms=Math.floor(t/1e3))}))}catch(e){}return n}(e),{},(s=(r=e).guilds,u=r.merged_presences,l=r.merged_members,c=r.read_state,f=r.private_channels,p=r.user_guild_settings,h=r.relationships,m=r.users,v=[],T=[],I=[],S=[],A=[],O=0,N=0,R=0,b=0,D=0,s.forEach((function(e){var t,n,r,i=e.channels,o=e.voice_states,a=e.roles,s=e.emojis,u=e.guild_hashes,l=function(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}(e,["channels","voice_states","roles","emojis","guild_hashes"]);e.unavailable||(null!=i&&null!=i.forEach&&i.forEach((function(e){N++,e.type===g.ChannelTypes.GUILD_CATEGORY&&O++})),(null==u||null===(t=u.metadata)||void 0===t?void 0:t.omitted)&&R++,(null==u||null===(n=u.channels)||void 0===n?void 0:n.omitted)&&b++,(null==u||null===(r=u.roles)||void 0===r?void 0:r.omitted)&&D++,v.push(o),T.push(i),I.push(a),S.push(s),A.push(l))})),{presences_size:JSON.stringify(null!==(i=null==u?void 0:u.friends)&&void 0!==i?i:[]).length,users_size:JSON.stringify(m).length,read_states_size:JSON.stringify(c).length,private_channels_size:JSON.stringify(f).length,user_guild_settings_size:JSON.stringify(p).length,relationships_size:JSON.stringify(h).length,guild_voice_states_size:JSON.stringify(v).length,guild_channels_size:JSON.stringify(T).length,guild_members_size:JSON.stringify(null!=l?l:[]).length,guild_presences_size:JSON.stringify(null!==(o=null==u?void 0:u.guilds)&&void 0!==o?o:[]).length,guild_roles_size:JSON.stringify(I).length,guild_emojis_size:JSON.stringify(S).length,guild_remaining_data_size:JSON.stringify(A).length,num_guilds:s.length,num_guild_channels:N,num_guild_category_channels:O,num_guilds_with_metadata_omitted:R,num_guilds_with_channels_omitted:b,num_guilds_with_roles_omitted:D}),{duration_ms_since_identify_start:C-this.identifyStartTime,duration_ms_since_connection_start:C-this.connectionStartTime,duration_ms_since_emit_start:Date.now()-C,is_reconnect:this.hasConnectedOnce,is_fast_connect:this.isFastConnect,did_force_clear_guild_hashes:this.didForceClearGuildHashes,identify_uncompressed_byte_size:this.identifyUncompressedByteSize,identify_compressed_byte_size:this.identifyCompressedByteSize}),{logEventProperties:!0}),this.didForceClearGuildHashes=!1,this.hasConnectedOnce=!0)}else this.queuedDispatches.push({data:e,type:t,compressionAnalytics:n})},I._handleHeartbeatAck=function(e){this.lastHeartbeatAckTime=Date.now(),this.heartbeatAck=!0,null!==this.expeditedHeartbeatTimeout&&(clearTimeout(this.expeditedHeartbeatTimeout),this.expeditedHeartbeatTimeout=null,this.logger.info("Expedited heartbeat succeeded"))},I._handleHeartbeatTimeout=function(){var e=this;this._cleanup((function(e){return e.close(4e3)})),this.connectionState=L.WILL_RECONNECT;var t=this.gatewayBackoff.fail((function(){return e._connect()}));this.logger.warn("[ACK TIMEOUT] reconnecting in "+(t/1e3).toFixed(2)+" seconds.")},I._handleClose=function(e,t,n){var r=this;if(e=e||!1,this._cleanup(),this.emit("close",{code:t,reason:n}),4004===t)return this.connectionState=L.CLOSED,this.logger.warn("[WS CLOSED] because of authentication failure, marking as closed."),this._reset(e,t,n);if(this.connectionState=L.WILL_RECONNECT,this.nextReconnectIsImmediate)this.logger.warn("[WS CLOSED] ("+e.toString()+", "+t+", "+n+") retrying immediately."),this._connect();else{var i=this.gatewayBackoff.fail((function(){return r._connect()}));this.logger.warn("[WS CLOSED] ("+e.toString()+", "+t+", "+n+") retrying in "+(i/1e3).toFixed(2)+" seconds."),this.gatewayBackoff.fails>4&&this._reset(e,t,n)}},I._reset=function(e,t,n){this.sessionId=null,this.seq=0,this.logger.warn("[RESET] ("+e.toString()+", "+t+", "+n+")"),this.emit("disconnect",{wasClean:e,code:t,reason:n})},I._startHeartbeater=function(){var e=this;null!==this.initialHeartbeatTimeout&&clearTimeout(this.initialHeartbeatTimeout),null!==this.heartbeater&&(clearInterval(this.heartbeater),this.heartbeater=null);var t=function(){e.heartbeatAck?(e.heartbeatAck=!1,e._sendHeartbeat()):null===e.expeditedHeartbeatTimeout&&e._handleHeartbeatTimeout()};this.initialHeartbeatTimeout=setTimeout((function(){e.initialHeartbeatTimeout=null,e.heartbeatAck=!0,e.heartbeater=setInterval(t,e.heartbeatInterval),t()}),Math.floor(Math.random()*(this.heartbeatInterval||0)))},I._stopHeartbeater=function(){null!==this.heartbeater&&(clearInterval(this.heartbeater),this.heartbeater=null),null!==this.initialHeartbeatTimeout&&(clearTimeout(this.initialHeartbeatTimeout),this.initialHeartbeatTimeout=null),null!==this.expeditedHeartbeatTimeout&&(clearTimeout(this.expeditedHeartbeatTimeout),this.expeditedHeartbeatTimeout=null)},I._clearHelloTimeout=function(){null!=this.helloTimeout&&(clearTimeout(this.helloTimeout),this.helloTimeout=null)},I._cleanup=function(e){a.default.Store.resumeEmittingChanges(),this._stopHeartbeater(),this._clearHelloTimeout();var t=this.webSocket;this.webSocket=null,null!=t&&(t.onopen=b,t.onmessage=b,t.onerror=b,t.onclose=b,e&&e(t)),this.gatewayBackoff.cancel(),this.compressionHandler.close(),this.compressionHandler=new m.default(R)},I._getConnectionPath=function(e){return e._trace?e._trace.join(" -> "):"???"},I._doResume=function(){this.connectionState=L.RESUMING,this.replayedEvents=0,this.logger.info("[RESUME] resuming session "+(this.sessionId||"")+", seq: "+this.seq),this.send(6,{token:this.token,session_id:this.sessionId,seq:this.seq},!1)},I._doIdentify=function(){this.seq=0,this.sessionId=null;var e=this.handleIdentify();if(null!==e){this.connectionState=L.IDENTIFYING,this.identifyStartTime=Date.now();var t=e.token,n=e.properties,r=void 0===n?{}:n,o=e.presence;this.token=t,this.logger.info("[IDENTIFY]");var a={token:t,capabilities:h.default,properties:r,presence:o,compress:this.compressionHandler.usesLegacyCompression(),client_state:c.default.clientState},s=JSON.stringify(a);this.identifyUncompressedByteSize=s.length,this.identifyCompressedByteSize=i.deflate(s).length,this.send(2,a,!1)}else this._handleClose(!0,4004,"No connection info provided")},I._doFastConnectIdentify=function(){this.seq=0,this.sessionId=null;var e=this.handleIdentify();if(null!==e){var t=e.token;this.token=t,this.connectionState=L.IDENTIFYING,this.identifyStartTime=Date.now(),this.logger.info("[IDENTIFY, fast-connect]"),this._updateLastHeartbeatAckTime()}else this._handleClose(!0,4004,"No connection info provided")},I._doResumeOrIdentify=function(){var e=Date.now();null!==this.sessionId&&(null==this.lastHeartbeatAckTime||e-this.lastHeartbeatAckTime<=18e4)?this._doResume():this._doIdentify(),this._updateLastHeartbeatAckTime()},I._updateLastHeartbeatAckTime=function(){this.lastHeartbeatAckTime=Date.now()},I._sendHeartbeat=function(){this.send(1,this.seq,!1)},I.getLogger=function(){return this.logger},I.willReconnect=function(){return this.connectionState===L.WILL_RECONNECT},I.isClosed=function(){return this.connectionState===L.CLOSED},I.isSessionEstablished=function(){return this.connectionState===L.SESSION_ESTABLISHED},I.isConnected=function(){return this.connectionState===L.IDENTIFYING||this.connectionState===L.RESUMING||this.connectionState===L.SESSION_ESTABLISHED},I.connect=function(){return this.isClosed()?(this.connectionState=L.WILL_RECONNECT,this._connect(),!0):(this.logger.error("Cannot start a new connection, connection state is not closed"),!1)},I.resetSocketOnError=function(){var e=this;this._cleanup((function(e){return e.close()})),this._reset(!0,1e3,"Resetting socket due to error."),this.connectionState=L.WILL_RECONNECT,this.dispatchExceptionBackoff.fail((function(){return e._connect()})),this.didForceClearGuildHashes=!0,s.default.dispatch({type:g.ActionTypes.CLEAR_GUILD_HASHES}),clearTimeout(this.dispatchSuccessTimer),this.dispatchSuccessTimer=setTimeout((function(){return e.dispatchExceptionBackoff.succeed()}),12e4)},I.close=function(){var t=this;this.isClosed()?this.logger.info("close() called, but socket is already closed."):(this.logger.info("Closing connection, current state is "+this.connectionState),this._cleanup((function(e){return e.close()})),this.connectionState=L.CLOSED,e((function(){t._reset(!0,1e3,"Disconnect requested by user")})))},I.expeditedHeartbeat=function(e,t,n){var r=this;if(void 0===t&&(t=""),void 0===n&&(n=!0),!this.isClosed())return this.isConnected()?(this.logger.info("Performing an expedited heartbeat "+(t?"reason: "+t:"")),this.heartbeatAck=!1,this._sendHeartbeat(),null!==this.expeditedHeartbeatTimeout&&clearTimeout(this.expeditedHeartbeatTimeout),void(this.expeditedHeartbeatTimeout=setTimeout((function(){r.expeditedHeartbeatTimeout=null,!1===r.heartbeatAck&&r._handleHeartbeatTimeout()}),e))):void(n?this.resetBackoff(t):this.logger.info("Expedited heartbeat requested, but, connection state is "+this.connectionState+" and reconnectImmediately was not requested "+(t?"reason: "+t:"")))},I.resetBackoff=function(e){void 0===e&&(e=""),this.logger.info("Connection has reset backoff"+(e?" for reason: "+e:"")),this.gatewayBackoff.succeed(),this.nextReconnectIsImmediate=!0,this._connect()},I.presenceUpdate=function(e,t,n,r){this.send(3,{status:e,since:t,activities:n,afk:r})},I.voiceStateUpdate=function(e,t,n,r,i,o){void 0===e&&(e=null),void 0===t&&(t=null),void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=!1),void 0===o&&(o=null);var a={guild_id:e,channel_id:t,self_mute:n,self_deaf:r,self_video:i};null!=t&&f.default.shouldIncludePreferredRegion(e)&&(a.preferred_region=o),this.send(4,a)},I.voiceServerPing=function(){this.send(5,null)},I.requestGuildMembers=function(e,t){var n=t.query,r=t.limit,i=t.userIds,o=t.presences;this.send(8,{guild_id:e,query:n,limit:r,user_ids:i,presences:o})},I.updateGuildSubscriptions=function(e,t){this.send(14,y({guild_id:e},t))},I.callConnect=function(e){this.send(13,{channel_id:e})},I.lobbyConnect=function(e,t){this.send(15,{lobby_id:e,lobby_secret:t})},I.lobbyDisconnect=function(e){this.send(16,{lobby_id:e})},I.lobbyVoiceStatesUpdate=function(e){this.send(17,e.map((function(e){return{lobby_id:e.lobbyId,self_mute:e.selfMute,self_deaf:e.selfDeaf}})))},I.streamCreate=function(e,t,n,r){void 0===r&&(r=null),this.send(18,{type:e,guild_id:t,channel_id:n,preferred_region:r})},I.streamWatch=function(e){this.send(20,{stream_key:e})},I.streamPing=function(e){this.send(21,{stream_key:e})},I.streamDelete=function(e){this.send(19,{stream_key:e})},I.streamSetPaused=function(e,t){this.send(22,{stream_key:e,paused:t})},I.queryApplicationCommands=function(e,t,n,r,i,o,a,s){void 0===i&&(i=null),void 0===o&&(o=null),void 0===a&&(a=null),void 0===s&&(s=null);var u={guild_id:e,applications:t,nonce:n,type:r};null!=a&&(u.offset=a),null!=s&&(u.limit=s),null!=i&&(u.application_id=i),null!=o&&(u.query=o),this.send(24,u)},v}(r.default);t.default=C}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";var r=n(5440),i=n(157),o=n(1125),a=n(457),s=n(1126),u=Object.prototype.toString;function l(e){if(!(this instanceof l))return new l(e);this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw new Error(a[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var c;if(c="string"==typeof t.dictionary?o.string2buf(t.dictionary):"[object ArrayBuffer]"===u.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=r.deflateSetDictionary(this.strm,c)))throw new Error(a[n]);this._dict_set=!0}}function c(e,t){var n=new l(t);if(n.push(e,!0),n.err)throw n.msg||a[n.err];return n.result}l.prototype.push=function(e,t){var n,a,s=this.strm,l=this.options.chunkSize;if(this.ended)return!1;a=t===~~t?t:!0===t?4:0,"string"==typeof e?s.input=o.string2buf(e):"[object ArrayBuffer]"===u.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(l),s.next_out=0,s.avail_out=l),1!==(n=r.deflate(s,a))&&0!==n)return this.onEnd(n),this.ended=!0,!1;0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&1!==n);return 4===a?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==a||(this.onEnd(0),s.avail_out=0,!0)},l.prototype.onData=function(e){this.chunks.push(e)},l.prototype.onEnd=function(e){0===e&&("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},t.Deflate=l,t.deflate=c,t.deflateRaw=function(e,t){return(t=t||{}).raw=!0,c(e,t)},t.gzip=function(e,t){return(t=t||{}).gzip=!0,c(e,t)}},function(e,t,n){"use strict";var r,i=n(157),o=n(5441),a=n(1123),s=n(1124),u=n(457);function l(e,t){return e.msg=u[t],t}function c(e){return(e<<1)-(e>4?9:0)}function d(e){for(var t=e.length;--t>=0;)e[t]=0}function f(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 _(e,t){o._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,f(e.strm)}function p(e,t){e.pending_buf[e.pending++]=t}function E(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function h(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,l=e.window,c=e.w_mask,d=e.prev,f=e.strstart+258,_=l[o+a-1],p=l[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(l[(n=t)+a]===p&&l[n+a-1]===_&&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<f);if(r=258-(f-o),o=f-258,r>a){if(e.match_start=t,a=r,r>=s)break;_=l[o+a-1],p=l[o+a]}}}while((t=d[t&c])>u&&0!=--i);return a<=e.lookahead?a:e.lookahead}function m(e){var t,n,r,o,u,l,c,d,f,_,p=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-262)){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;do{r=e.head[--t],e.head[t]=r>=p?r-p:0}while(--n);t=n=p;do{r=e.prev[--t],e.prev[t]=r>=p?r-p:0}while(--n);o+=p}if(0===e.strm.avail_in)break;if(l=e.strm,c=e.window,d=e.strstart+e.lookahead,f=o,_=void 0,(_=l.avail_in)>f&&(_=f),n=0===_?0:(l.avail_in-=_,i.arraySet(c,l.input,l.next_in,_,d),1===l.state.wrap?l.adler=a(l.adler,c,_,d):2===l.state.wrap&&(l.adler=s(l.adler,c,_,d)),l.next_in+=_,l.total_in+=_,_),e.lookahead+=n,e.lookahead+e.insert>=3)for(u=e.strstart-e.insert,e.ins_h=e.window[u],e.ins_h=(e.ins_h<<e.hash_shift^e.window[u+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[u+3-1])&e.hash_mask,e.prev[u&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=u,u++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<262&&0!==e.strm.avail_in)}function v(e,t){for(var n,r;;){if(e.lookahead<262){if(m(e),e.lookahead<262&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-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-262&&(e.match_length=h(e,n)),e.match_length>=3)if(r=o._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(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&&(_(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(_(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(_(e,!1),0===e.strm.avail_out)?1:2}function T(e,t){for(var n,r,i;;){if(e.lookahead<262){if(m(e),e.lookahead<262&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-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=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-262&&(e.match_length=h(e,n),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(_(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=o._tr_tally(e,0,e.window[e.strstart-1]))&&_(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}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<2?e.strstart:2,4===t?(_(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(_(e,!1),0===e.strm.avail_out)?1:2}function g(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 I(){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=8,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(1146),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.Buf16(78),d(this.dyn_ltree),d(this.dyn_dtree),d(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(16),this.heap=new i.Buf16(573),d(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),d(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 S(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:113,e.adler=2===t.wrap?0:1,t.last_flush=0,o._tr_init(t),0):l(e,-2)}function y(e){var t,n=S(e);return 0===n&&((t=e.state).window_size=2*t.w_size,d(t.head),t.max_lazy_match=r[t.level].max_lazy,t.good_match=r[t.level].good_length,t.nice_match=r[t.level].nice_length,t.max_chain_length=r[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n}function A(e,t,n,r,o,a){if(!e)return-2;var s=1;if(-1===t&&(t=6),r<0?(s=0,r=-r):r>15&&(s=2,r-=16),o<1||o>9||8!==n||r<8||r>15||t<0||t>9||a<0||a>4)return l(e,-2);8===r&&(r=9);var u=new I;return e.state=u,u.strm=e,u.wrap=s,u.gzhead=null,u.w_bits=r,u.w_size=1<<u.w_bits,u.w_mask=u.w_size-1,u.hash_bits=o+7,u.hash_size=1<<u.hash_bits,u.hash_mask=u.hash_size-1,u.hash_shift=~~((u.hash_bits+3-1)/3),u.window=new i.Buf8(2*u.w_size),u.head=new i.Buf16(u.hash_size),u.prev=new i.Buf16(u.w_size),u.lit_bufsize=1<<o+6,u.pending_buf_size=4*u.lit_bufsize,u.pending_buf=new i.Buf8(u.pending_buf_size),u.d_buf=1*u.lit_bufsize,u.l_buf=3*u.lit_bufsize,u.level=t,u.strategy=a,u.method=n,y(e)}r=[new g(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(m(e),0===e.lookahead&&0===t)return 1;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,_(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-262&&(_(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(_(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(_(e,!1),e.strm.avail_out),1)})),new g(4,4,8,4,v),new g(4,5,16,8,v),new g(4,6,32,32,v),new g(4,4,16,16,T),new g(8,16,32,32,T),new g(8,16,128,128,T),new g(8,32,128,256,T),new g(32,128,258,1024,T),new g(32,258,258,4096,T)],t.deflateInit=function(e,t){return A(e,t,8,15,8,0)},t.deflateInit2=A,t.deflateReset=y,t.deflateResetKeep=S,t.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?-2:(e.state.gzhead=t,0):-2},t.deflate=function(e,t){var n,i,a,u;if(!e||!e.state||t>5||t<0)return e?l(e,-2):-2;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&4!==t)return l(e,0===e.avail_out?-5:-2);if(i.strm=e,n=i.last_flush,i.last_flush=t,42===i.status)if(2===i.wrap)e.adler=0,p(i,31),p(i,139),p(i,8),i.gzhead?(p(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)),p(i,255&i.gzhead.time),p(i,i.gzhead.time>>8&255),p(i,i.gzhead.time>>16&255),p(i,i.gzhead.time>>24&255),p(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),p(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(p(i,255&i.gzhead.extra.length),p(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(p(i,0),p(i,0),p(i,0),p(i,0),p(i,0),p(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),p(i,3),i.status=113);else{var h=8+(i.w_bits-8<<4)<<8;h|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(h|=32),h+=31-h%31,i.status=113,E(i,h),0!==i.strstart&&(E(i,e.adler>>>16),E(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),f(e),a=i.pending,i.pending!==i.pending_buf_size));)p(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),f(e),a=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,p(i,u)}while(0!==u);i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===u&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),f(e),a=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,p(i,u)}while(0!==u);i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===u&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&f(e),i.pending+2<=i.pending_buf_size&&(p(i,255&e.adler),p(i,e.adler>>8&255),e.adler=0,i.status=113)):i.status=113),0!==i.pending){if(f(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&c(t)<=c(n)&&4!==t)return l(e,-5);if(666===i.status&&0!==e.avail_in)return l(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&666!==i.status){var v=2===i.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(m(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(_(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(_(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(_(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var n,r,i,a,s=e.window;;){if(e.lookahead<=258){if(m(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=s[i=e.strstart-1])===s[++i]&&r===s[++i]&&r===s[++i]){a=e.strstart+258;do{}while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<a);e.match_length=258-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=o._tr_tally(e,1,e.match_length-3),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&&(_(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(_(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(_(e,!1),0===e.strm.avail_out)?1:2}(i,t):r[i.level].func(i,t);if(3!==v&&4!==v||(i.status=666),1===v||3===v)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===v&&(1===t?o._tr_align(i):5!==t&&(o._tr_stored_block(i,0,0,!1),3===t&&(d(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),f(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(p(i,255&e.adler),p(i,e.adler>>8&255),p(i,e.adler>>16&255),p(i,e.adler>>24&255),p(i,255&e.total_in),p(i,e.total_in>>8&255),p(i,e.total_in>>16&255),p(i,e.total_in>>24&255)):(E(i,e.adler>>>16),E(i,65535&e.adler)),f(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?0:1)},t.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&113!==t&&666!==t?l(e,-2):(e.state=null,113===t?l(e,-3):0):-2},t.deflateSetDictionary=function(e,t){var n,r,o,s,u,l,c,f,_=t.length;if(!e||!e.state)return-2;if(2===(s=(n=e.state).wrap)||1===s&&42!==n.status||n.lookahead)return-2;for(1===s&&(e.adler=a(e.adler,t,_,0)),n.wrap=0,_>=n.w_size&&(0===s&&(d(n.head),n.strstart=0,n.block_start=0,n.insert=0),f=new i.Buf8(n.w_size),i.arraySet(f,t,_-n.w_size,n.w_size,0),t=f,_=n.w_size),u=e.avail_in,l=e.next_in,c=e.input,e.avail_in=_,e.next_in=0,e.input=t,m(n);n.lookahead>=3;){r=n.strstart,o=n.lookahead-2;do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+3-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++}while(--o);n.strstart=r,n.lookahead=2,m(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,e.next_in=l,e.input=c,e.avail_in=u,n.wrap=s,0},t.deflateInfo="pako deflate (from Nodeca project)"},function(e,t,n){"use strict";var r=n(157);function i(e){for(var t=e.length;--t>=0;)e[t]=0}var o=[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],a=[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],s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],u=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],l=new Array(576);i(l);var c=new Array(60);i(c);var d=new Array(512);i(d);var f=new Array(256);i(f);var _=new Array(29);i(_);var p,E,h,m=new Array(30);function v(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 T(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function g(e){return e<256?d[e]:d[256+(e>>>7)]}function I(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function S(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,I(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function y(e,t,n){S(e,n[2*t],n[2*t+1])}function A(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function O(e,t,n){var r,i,o=new Array(16),a=0;for(r=1;r<=15;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=A(o[s]++,s))}}function N(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function R(e){e.bi_valid>8?I(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function b(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 L(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&b(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!b(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function D(e,t,n){var r,i,s,u,l=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*l]<<8|e.pending_buf[e.d_buf+2*l+1],i=e.pending_buf[e.l_buf+l],l++,0===r?y(e,i,t):(y(e,(s=f[i])+256+1,t),0!==(u=o[s])&&S(e,i-=_[s],u),y(e,s=g(--r),n),0!==(u=a[s])&&S(e,r-=m[s],u))}while(l<e.last_lit);y(e,256,t)}function C(e,t){var n,r,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,u=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<u;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--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=l,n=e.heap_len>>1;n>=1;n--)L(e,o,n);i=u;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],L(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++,L(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,o,a,s,u=t.dyn_tree,l=t.max_code,c=t.stat_desc.static_tree,d=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,_=t.stat_desc.extra_base,p=t.stat_desc.max_length,E=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(u[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)(o=u[2*u[2*(r=e.heap[n])+1]+1]+1)>p&&(o=p,E++),u[2*r+1]=o,r>l||(e.bl_count[o]++,a=0,r>=_&&(a=f[r-_]),s=u[2*r],e.opt_len+=s*(o+a),d&&(e.static_len+=s*(c[2*r+1]+a)));if(0!==E){do{for(o=p-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[p]--,E-=2}while(E>0);for(o=p;0!==o;o--)for(r=e.bl_count[o];0!==r;)(i=e.heap[--n])>l||(u[2*i+1]!==o&&(e.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),r--)}}(e,t),O(o,l,e.bl_count)}function M(e,t,n){var r,i,o=-1,a=t[1],s=0,u=7,l=4;for(0===a&&(u=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s<u&&i===a||(s<l?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,o=i,0===a?(u=138,l=3):i===a?(u=6,l=3):(u=7,l=4))}function P(e,t,n){var r,i,o=-1,a=t[1],s=0,u=7,l=4;for(0===a&&(u=138,l=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<u&&i===a)){if(s<l)do{y(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(y(e,i,e.bl_tree),s--),y(e,16,e.bl_tree),S(e,s-3,2)):s<=10?(y(e,17,e.bl_tree),S(e,s-3,3)):(y(e,18,e.bl_tree),S(e,s-11,7));s=0,o=i,0===a?(u=138,l=3):i===a?(u=6,l=3):(u=7,l=4)}}i(m);var w=!1;function U(e,t,n,i){S(e,0+(i?1:0),3),function(e,t,n,i){R(e),i&&(I(e,n),I(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}t._tr_init=function(e){w||(!function(){var e,t,n,r,i,u=new Array(16);for(n=0,r=0;r<28;r++)for(_[r]=n,e=0;e<1<<o[r];e++)f[n++]=r;for(f[n-1]=r,i=0,r=0;r<16;r++)for(m[r]=i,e=0;e<1<<a[r];e++)d[i++]=r;for(i>>=7;r<30;r++)for(m[r]=i<<7,e=0;e<1<<a[r]-7;e++)d[256+i++]=r;for(t=0;t<=15;t++)u[t]=0;for(e=0;e<=143;)l[2*e+1]=8,e++,u[8]++;for(;e<=255;)l[2*e+1]=9,e++,u[9]++;for(;e<=279;)l[2*e+1]=7,e++,u[7]++;for(;e<=287;)l[2*e+1]=8,e++,u[8]++;for(O(l,287,u),e=0;e<30;e++)c[2*e+1]=5,c[2*e]=A(e,5);p=new v(l,o,257,286,15),E=new v(c,a,0,30,15),h=new v(new Array(0),s,0,19,7)}(),w=!0),e.l_desc=new T(e.dyn_ltree,p),e.d_desc=new T(e.dyn_dtree,E),e.bl_desc=new T(e.bl_tree,h),e.bi_buf=0,e.bi_valid=0,N(e)},t._tr_stored_block=U,t._tr_flush_block=function(e,t,n,r){var i,o,a=0;e.level>0?(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 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),C(e,e.l_desc),C(e,e.d_desc),a=function(e){var t;for(M(e,e.dyn_ltree,e.l_desc.max_code),M(e,e.dyn_dtree,e.d_desc.max_code),C(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*u[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=n+5,n+4<=i&&-1!==t?U(e,t,n,r):4===e.strategy||o===i?(S(e,2+(r?1:0),3),D(e,l,c)):(S(e,4+(r?1:0),3),function(e,t,n,r){var i;for(S(e,t-257,5),S(e,n-1,5),S(e,r-4,4),i=0;i<r;i++)S(e,e.bl_tree[2*u[i]+1],3);P(e,e.dyn_ltree,t-1),P(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),D(e,e.dyn_ltree,e.dyn_dtree)),N(e),r&&R(e)},t._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*(f[n]+256+1)]++,e.dyn_dtree[2*g(t)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){S(e,2,3),y(e,256,l),function(e){16===e.bi_valid?(I(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},function(e,t,n){"use strict";var r=n(5443),i=n(157),o=n(1125),a=n(1127),s=n(457),u=n(1126),l=n(5446),c=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&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==a.Z_OK)throw new Error(s[n]);this.header=new l,r.inflateGetHeader(this.strm,this.header)}function f(e,t){var n=new d(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}d.prototype.push=function(e,t){var n,s,u,l,d,f,_=this.strm,p=this.options.chunkSize,E=this.options.dictionary,h=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof e?_.input=o.binstring2buf(e):"[object ArrayBuffer]"===c.call(e)?_.input=new Uint8Array(e):_.input=e,_.next_in=0,_.avail_in=_.input.length;do{if(0===_.avail_out&&(_.output=new i.Buf8(p),_.next_out=0,_.avail_out=p),(n=r.inflate(_,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&E&&(f="string"==typeof E?o.string2buf(E):"[object ArrayBuffer]"===c.call(E)?new Uint8Array(E):E,n=r.inflateSetDictionary(this.strm,f)),n===a.Z_BUF_ERROR&&!0===h&&(n=a.Z_OK,h=!1),n!==a.Z_STREAM_END&&n!==a.Z_OK)return this.onEnd(n),this.ended=!0,!1;_.next_out&&(0!==_.avail_out&&n!==a.Z_STREAM_END&&(0!==_.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(u=o.utf8border(_.output,_.next_out),l=_.next_out-u,d=o.buf2string(_.output,u),_.next_out=l,_.avail_out=p-l,l&&i.arraySet(_.output,_.output,u,l,0),this.onData(d)):this.onData(i.shrinkBuf(_.output,_.next_out)))),0===_.avail_in&&0===_.avail_out&&(h=!0)}while((_.avail_in>0||0===_.avail_out)&&n!==a.Z_STREAM_END);return n===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),_.avail_out=0,!0)},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===a.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},t.Inflate=d,t.inflate=f,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,f(e,t)},t.ungzip=f},function(e,t,n){"use strict";var r=n(157),i=n(1123),o=n(1124),a=n(5444),s=n(5445);function u(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function l(){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 c(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=1,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(852),t.distcode=t.distdyn=new r.Buf32(592),t.sane=1,t.back=-1,0):-2}function d(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,c(e)):-2}function f(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||t>15)?-2:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,d(e))):-2}function _(e,t){var n,r;return e?(r=new l,e.state=r,r.window=null,0!==(n=f(e,t))&&(e.state=null),n):-2}var p,E,h=!0;function m(e){if(h){var t;for(p=new r.Buf32(512),E=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(s(1,e.lens,0,288,p,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(2,e.lens,0,32,E,0,e.work,{bits:5}),h=!1}e.lencode=p,e.lenbits=9,e.distcode=E,e.distbits=5}function v(e,t,n,i){var o,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new r.Buf8(a.wsize)),i>=a.wsize?(r.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((o=a.wsize-a.wnext)>i&&(o=i),r.arraySet(a.window,t,n-i,o,a.wnext),(i-=o)?(r.arraySet(a.window,t,n-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}t.inflateReset=d,t.inflateReset2=f,t.inflateResetKeep=c,t.inflateInit=function(e){return _(e,15)},t.inflateInit2=_,t.inflate=function(e,t){var n,l,c,d,f,_,p,E,h,T,g,I,S,y,A,O,N,R,b,L,D,C,M,P,w=0,U=new r.Buf8(4),k=[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-2;12===(n=e.state).mode&&(n.mode=13),f=e.next_out,c=e.output,p=e.avail_out,d=e.next_in,l=e.input,_=e.avail_in,E=n.hold,h=n.bits,T=_,g=p,C=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;h<16;){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}if(2&n.wrap&&35615===E){n.check=0,U[0]=255&E,U[1]=E>>>8&255,n.check=o(n.check,U,2,0),E=0,h=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&E)<<8)+(E>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&E)){e.msg="unknown compression method",n.mode=30;break}if(h-=4,D=8+(15&(E>>>=4)),0===n.wbits)n.wbits=D;else if(D>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<D,e.adler=n.check=1,n.mode=512&E?10:12,E=0,h=0;break;case 2:for(;h<16;){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}if(n.flags=E,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=E>>8&1),512&n.flags&&(U[0]=255&E,U[1]=E>>>8&255,n.check=o(n.check,U,2,0)),E=0,h=0,n.mode=3;case 3:for(;h<32;){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}n.head&&(n.head.time=E),512&n.flags&&(U[0]=255&E,U[1]=E>>>8&255,U[2]=E>>>16&255,U[3]=E>>>24&255,n.check=o(n.check,U,4,0)),E=0,h=0,n.mode=4;case 4:for(;h<16;){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}n.head&&(n.head.xflags=255&E,n.head.os=E>>8),512&n.flags&&(U[0]=255&E,U[1]=E>>>8&255,n.check=o(n.check,U,2,0)),E=0,h=0,n.mode=5;case 5:if(1024&n.flags){for(;h<16;){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}n.length=E,n.head&&(n.head.extra_len=E),512&n.flags&&(U[0]=255&E,U[1]=E>>>8&255,n.check=o(n.check,U,2,0)),E=0,h=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((I=n.length)>_&&(I=_),I&&(n.head&&(D=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,l,d,I,D)),512&n.flags&&(n.check=o(n.check,l,I,d)),_-=I,d+=I,n.length-=I),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===_)break e;I=0;do{D=l[d+I++],n.head&&D&&n.length<65536&&(n.head.name+=String.fromCharCode(D))}while(D&&I<_);if(512&n.flags&&(n.check=o(n.check,l,I,d)),_-=I,d+=I,D)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===_)break e;I=0;do{D=l[d+I++],n.head&&D&&n.length<65536&&(n.head.comment+=String.fromCharCode(D))}while(D&&I<_);if(512&n.flags&&(n.check=o(n.check,l,I,d)),_-=I,d+=I,D)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;h<16;){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}if(E!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}E=0,h=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(;h<32;){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}e.adler=n.check=u(E),E=0,h=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=f,e.avail_out=p,e.next_in=d,e.avail_in=_,n.hold=E,n.bits=h,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last){E>>>=7&h,h-=7&h,n.mode=27;break}for(;h<3;){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}switch(n.last=1&E,h-=1,3&(E>>>=1)){case 0:n.mode=14;break;case 1:if(m(n),n.mode=20,6===t){E>>>=2,h-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}E>>>=2,h-=2;break;case 14:for(E>>>=7&h,h-=7&h;h<32;){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}if((65535&E)!=(E>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&E,E=0,h=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(I=n.length){if(I>_&&(I=_),I>p&&(I=p),0===I)break e;r.arraySet(c,l,d,I,f),_-=I,d+=I,p-=I,f+=I,n.length-=I;break}n.mode=12;break;case 17:for(;h<14;){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}if(n.nlen=257+(31&E),E>>>=5,h-=5,n.ndist=1+(31&E),E>>>=5,h-=5,n.ncode=4+(15&E),E>>>=4,h-=4,n.nlen>286||n.ndist>30){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(;h<3;){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}n.lens[k[n.have++]]=7&E,E>>>=3,h-=3}for(;n.have<19;)n.lens[k[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,M={bits:n.lenbits},C=s(0,n.lens,0,19,n.lencode,0,n.work,M),n.lenbits=M.bits,C){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=(w=n.lencode[E&(1<<n.lenbits)-1])>>>16&255,N=65535&w,!((A=w>>>24)<=h);){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}if(N<16)E>>>=A,h-=A,n.lens[n.have++]=N;else{if(16===N){for(P=A+2;h<P;){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}if(E>>>=A,h-=A,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}D=n.lens[n.have-1],I=3+(3&E),E>>>=2,h-=2}else if(17===N){for(P=A+3;h<P;){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}h-=A,D=0,I=3+(7&(E>>>=A)),E>>>=3,h-=3}else{for(P=A+7;h<P;){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}h-=A,D=0,I=11+(127&(E>>>=A)),E>>>=7,h-=7}if(n.have+I>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;I--;)n.lens[n.have++]=D}}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,M={bits:n.lenbits},C=s(1,n.lens,0,n.nlen,n.lencode,0,n.work,M),n.lenbits=M.bits,C){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,M={bits:n.distbits},C=s(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,M),n.distbits=M.bits,C){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&&p>=258){e.next_out=f,e.avail_out=p,e.next_in=d,e.avail_in=_,n.hold=E,n.bits=h,a(e,g),f=e.next_out,c=e.output,p=e.avail_out,d=e.next_in,l=e.input,_=e.avail_in,E=n.hold,h=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;O=(w=n.lencode[E&(1<<n.lenbits)-1])>>>16&255,N=65535&w,!((A=w>>>24)<=h);){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}if(O&&0==(240&O)){for(R=A,b=O,L=N;O=(w=n.lencode[L+((E&(1<<R+b)-1)>>R)])>>>16&255,N=65535&w,!(R+(A=w>>>24)<=h);){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}E>>>=R,h-=R,n.back+=R}if(E>>>=A,h-=A,n.back+=A,n.length=N,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(P=n.extra;h<P;){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}n.length+=E&(1<<n.extra)-1,E>>>=n.extra,h-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;O=(w=n.distcode[E&(1<<n.distbits)-1])>>>16&255,N=65535&w,!((A=w>>>24)<=h);){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}if(0==(240&O)){for(R=A,b=O,L=N;O=(w=n.distcode[L+((E&(1<<R+b)-1)>>R)])>>>16&255,N=65535&w,!(R+(A=w>>>24)<=h);){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}E>>>=R,h-=R,n.back+=R}if(E>>>=A,h-=A,n.back+=A,64&O){e.msg="invalid distance code",n.mode=30;break}n.offset=N,n.extra=15&O,n.mode=24;case 24:if(n.extra){for(P=n.extra;h<P;){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}n.offset+=E&(1<<n.extra)-1,E>>>=n.extra,h-=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===p)break e;if(I=g-p,n.offset>I){if((I=n.offset-I)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}I>n.wnext?(I-=n.wnext,S=n.wsize-I):S=n.wnext-I,I>n.length&&(I=n.length),y=n.window}else y=c,S=f-n.offset,I=n.length;I>p&&(I=p),p-=I,n.length-=I;do{c[f++]=y[S++]}while(--I);0===n.length&&(n.mode=21);break;case 26:if(0===p)break e;c[f++]=n.length,p--,n.mode=21;break;case 27:if(n.wrap){for(;h<32;){if(0===_)break e;_--,E|=l[d++]<<h,h+=8}if(g-=p,e.total_out+=g,n.total+=g,g&&(e.adler=n.check=n.flags?o(n.check,c,g,f-g):i(n.check,c,g,f-g)),g=p,(n.flags?E:u(E))!==n.check){e.msg="incorrect data check",n.mode=30;break}E=0,h=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;h<32;){if(0===_)break e;_--,E+=l[d++]<<h,h+=8}if(E!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}E=0,h=0}n.mode=29;case 29:C=1;break e;case 30:C=-3;break e;case 31:return-4;case 32:default:return-2}return e.next_out=f,e.avail_out=p,e.next_in=d,e.avail_in=_,n.hold=E,n.bits=h,(n.wsize||g!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&v(e,e.output,e.next_out,g-e.avail_out)?(n.mode=31,-4):(T-=e.avail_in,g-=e.avail_out,e.total_in+=T,e.total_out+=g,n.total+=g,n.wrap&&g&&(e.adler=n.check=n.flags?o(n.check,c,g,e.next_out-g):i(n.check,c,g,e.next_out-g)),e.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0===T&&0===g||4===t)&&0===C&&(C=-5),C)},t.inflateEnd=function(e){if(!e||!e.state)return-2;var t=e.state;return t.window&&(t.window=null),e.state=null,0},t.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?-2:(n.head=t,t.done=!1,0):-2},t.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?-2:11===n.mode&&i(1,t,r,0)!==n.check?-3:v(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,0):-2},t.inflateInfo="pako inflate (from Nodeca project)"},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,o,a,s,u,l,c,d,f,_,p,E,h,m,v,T,g,I,S,y,A,O,N;n=e.state,r=e.next_in,O=e.input,i=r+(e.avail_in-5),o=e.next_out,N=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),u=n.dmax,l=n.wsize,c=n.whave,d=n.wnext,f=n.window,_=n.hold,p=n.bits,E=n.lencode,h=n.distcode,m=(1<<n.lenbits)-1,v=(1<<n.distbits)-1;e:do{p<15&&(_+=O[r++]<<p,p+=8,_+=O[r++]<<p,p+=8),T=E[_&m];t:for(;;){if(_>>>=g=T>>>24,p-=g,0===(g=T>>>16&255))N[o++]=65535&T;else{if(!(16&g)){if(0==(64&g)){T=E[(65535&T)+(_&(1<<g)-1)];continue t}if(32&g){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}I=65535&T,(g&=15)&&(p<g&&(_+=O[r++]<<p,p+=8),I+=_&(1<<g)-1,_>>>=g,p-=g),p<15&&(_+=O[r++]<<p,p+=8,_+=O[r++]<<p,p+=8),T=h[_&v];n:for(;;){if(_>>>=g=T>>>24,p-=g,!(16&(g=T>>>16&255))){if(0==(64&g)){T=h[(65535&T)+(_&(1<<g)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(S=65535&T,p<(g&=15)&&(_+=O[r++]<<p,(p+=8)<g&&(_+=O[r++]<<p,p+=8)),(S+=_&(1<<g)-1)>u){e.msg="invalid distance too far back",n.mode=30;break e}if(_>>>=g,p-=g,S>(g=o-a)){if((g=S-g)>c&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(y=0,A=f,0===d){if(y+=l-g,g<I){I-=g;do{N[o++]=f[y++]}while(--g);y=o-S,A=N}}else if(d<g){if(y+=l+d-g,(g-=d)<I){I-=g;do{N[o++]=f[y++]}while(--g);if(y=0,d<I){I-=g=d;do{N[o++]=f[y++]}while(--g);y=o-S,A=N}}}else if(y+=d-g,g<I){I-=g;do{N[o++]=f[y++]}while(--g);y=o-S,A=N}for(;I>2;)N[o++]=A[y++],N[o++]=A[y++],N[o++]=A[y++],I-=3;I&&(N[o++]=A[y++],I>1&&(N[o++]=A[y++]))}else{y=o-S;do{N[o++]=N[y++],N[o++]=N[y++],N[o++]=N[y++],I-=3}while(I>2);I&&(N[o++]=N[y++],I>1&&(N[o++]=N[y++]))}break}}break}}while(r<i&&o<s);r-=I=p>>3,_&=(1<<(p-=I<<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<s?s-o+257:257-(o-s),n.hold=_,n.bits=p}},function(e,t,n){"use strict";var r=n(157),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],a=[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],s=[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];e.exports=function(e,t,n,u,l,c,d,f){var _,p,E,h,m,v,T,g,I,S=f.bits,y=0,A=0,O=0,N=0,R=0,b=0,L=0,D=0,C=0,M=0,P=null,w=0,U=new r.Buf16(16),k=new r.Buf16(16),G=null,Y=0;for(y=0;y<=15;y++)U[y]=0;for(A=0;A<u;A++)U[t[n+A]]++;for(R=S,N=15;N>=1&&0===U[N];N--);if(R>N&&(R=N),0===N)return l[c++]=20971520,l[c++]=20971520,f.bits=1,0;for(O=1;O<N&&0===U[O];O++);for(R<O&&(R=O),D=1,y=1;y<=15;y++)if(D<<=1,(D-=U[y])<0)return-1;if(D>0&&(0===e||1!==N))return-1;for(k[1]=0,y=1;y<15;y++)k[y+1]=k[y]+U[y];for(A=0;A<u;A++)0!==t[n+A]&&(d[k[t[n+A]]++]=A);if(0===e?(P=G=d,v=19):1===e?(P=i,w-=257,G=o,Y-=257,v=256):(P=a,G=s,v=-1),M=0,A=0,y=O,m=c,b=R,L=0,E=-1,h=(C=1<<R)-1,1===e&&C>852||2===e&&C>592)return 1;for(;;){T=y-L,d[A]<v?(g=0,I=d[A]):d[A]>v?(g=G[Y+d[A]],I=P[w+d[A]]):(g=96,I=0),_=1<<y-L,O=p=1<<b;do{l[m+(M>>L)+(p-=_)]=T<<24|g<<16|I|0}while(0!==p);for(_=1<<y-1;M&_;)_>>=1;if(0!==_?(M&=_-1,M+=_):M=0,A++,0==--U[y]){if(y===N)break;y=t[n+d[A]]}if(y>R&&(M&h)!==E){for(0===L&&(L=R),m+=O,D=1<<(b=y-L);b+L<N&&!((D-=U[b+L])<=0);)b++,D<<=1;if(C+=1<<b,1===e&&C>852||2===e&&C>592)return 1;l[E=M&h]=R<<24|b<<16|m-c|0}}return 0!==M&&(l[m+M]=y-L<<24|64<<16|0),f.bits=R,0}},function(e,t,n){"use strict";e.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}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),i=o(n(2));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n);var i=r.prototype;return i.hasCache=function(){return!0},i.cacheFullyLoaded=function(){return!0},r}(r.default.Store))(i.default);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(3)),i=u(n(2)),o=u(n(97)),a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(5449));n(1);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var _=Date.now(),p="0",E={},h=0,m=-1,v=null;function T(e){null!=e&&1===o.default.compare(e,p)&&(p=e)}function g(e,t){return null==t||1!==t.version?I(e):void(E[e]=[t.metadata.hash,t.channels.hash,t.roles.hash])}function I(e){delete E[e]}function S(e){var t=e.guildHashes,n=e.channel.guild_id;null!=n&&g(n,t)}function y(e){g(e.guildId,e.guildHashes)}function A(){p="0",E={},h=0,m=-1}var O=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var i,o,s,u=r.prototype;return u.persist=function(){_+3e4<Date.now()&&(null==v&&(v=Date.now()),a.persist({highestLastMessageId:p,knownGuildHashes:E,readStateVersion:h,userGuildSettingsVersion:m,version:"stable-9",cacheCreationDate:v}))},u.clear=function(){A()},i=r,(o=[{key:"clientState",get:function(){return{guild_hashes:E,highest_last_message_id:p,read_state_version:h,user_guild_settings_version:m}}}])&&l(i.prototype,o),s&&l(i,s),r}(r.default.Store))(i.default,{CONNECTION_OPEN:function(e){var t=e.channels,n=e.guilds,r=e.readState,i=e.userGuildSettings;E={},h=r.version,m=i.version;for(var o,a=d(n);!(o=a()).done;){var s=o.value;g(s.id,s.guild_hashes)}for(var u,l=d(t);!(u=l()).done;){T(u.value.lastMessageId)}},MESSAGE_CREATE:function(e){var t=e.message.id,n=e.isPushNotification,r=e.optimistic;n||r||T(t)},GUILD_DELETE:function(e){I(e.guild.id)},GUILD_CREATE:function(e){var t=e.guild;g(t.id,t.guild_hashes),t.unavailable&&I(t.id)},GUILD_UPDATE:function(e){var t=e.guild,n=e.guildHashes;g(t.id,n),t.unavailable&&I(t.id)},GUILD_ROLE_CREATE:y,GUILD_ROLE_UPDATE:y,GUILD_ROLE_DELETE:y,GUILD_EMOJIS_UPDATE:y,GUILD_STICKERS_UPDATE:y,CHANNEL_CREATE:S,CHANNEL_DELETE:S,CHANNEL_UPDATES:function(e){for(var t,n=d(e.updates);!(t=n()).done;){var r=t.value,i=r.guildHashes,o=r.channel.guild_id;null!=o&&g(o,i)}},CLEAR_GUILD_HASHES:function(e){return A()},LOGOUT:function(e){return A()},LOGIN:function(e){return A()},MESSAGE_ACK:function(e){var t=e.version;null!=t&&(h=t)},CHANNEL_PINS_ACK:function(e){var t=e.version;null!=t&&(h=t)},USER_GUILD_SETTINGS_FULL_UPDATE:function(e){for(var t,n=d(e.userGuildSettings);!(t=n()).done;){var r=t.value;null!=r.version&&r.version>m&&(m=r.version)}}});t.default=O;var N=a.initialState;null!=N&&"stable-9"===N.version&&null!=N.cacheCreationDate&&N.cacheCreationDate+2592e6>Date.now()&&(E=N.knownGuildHashes,p=N.highestLastMessageId,v=N.cacheCreationDate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.persist=function(e){},t.initialState=void 0;t.initialState=null},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=125},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(8)),i=o(n(26));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,s(e,t)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u={}.NativeModules,l=[],c=function(){function e(e){this._onDataReady=null,this._gatewayEncoding=e}e.canUse=function(){return!1};var t=e.prototype;return t.bindWebSocket=function(e){},t.feed=function(e){},t.dataReady=function(e){this._onDataReady=e},e}();l.push(function(e){a(r,e),r.canUse=function(){return void 0!==window.Uint8Array};var t=r.prototype;function r(t){var r;(r=e.call(this,t)||this)._pako=n(456);var i=r._pako;return(r._inflate=new i.Inflate({chunkSize:65536,to:r._gatewayEncoding.wantsString()?"string":""})).onEnd=r.handleFlushEnd.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r)),r}return t.getAlgorithm=function(){return"zlib-stream"},t.usesLegacyCompression=function(){return!1},t.feed=function(e){var t=this._pako,n=this._inflate;if(null==n)throw new Error("Trying to feed to closed compression adapter");if(null===this._onDataReady)throw new Error("Cannot feed unless a data ready callback is registered.");if(!(e instanceof ArrayBuffer))throw new Error("Expected array buffer, but got "+typeof e);var r=new DataView(e),i=r.byteLength>=4&&65535===r.getUint32(r.byteLength-4,!1);n.push(e,!!i&&t.Z_SYNC_FLUSH)},t.close=function(){null!=this._inflate&&(this._inflate.onEnd=null,this._inflate.chunks=[]),this._inflate=null},t.handleFlushEnd=function(e){var t=this._pako,n=this._inflate;if(null!=n){if(e!==t.Z_OK)throw new Error("zlib error, "+e+", "+n.strm.msg);var r,o=n.chunks,a=o.length;if(this._gatewayEncoding.wantsString())r=a>1?o.join(""):o[0];else if(a>1){for(var s=0,u=0;u<a;u++)s+=o[u].length;for(var l=new Uint8Array(s),c=0,d=0;d<a;d++){var f=o[d];l.set(f,c),c+=f.length}r=l}else r=o[0];o.length=0,null!=this._onDataReady&&this._onDataReady(r)}else new i.default("GatewayCompressionHandler").error("flush end happened on closed compression adapter")},r}(c)),l.push(function(e){function t(){for(var t,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this)._pako=n(456),t}a(t,e),t.canUse=function(){return!0};var r=t.prototype;return r.getAlgorithm=function(){return null},r.usesLegacyCompression=function(){return!0},r.feed=function(e){var t=this._pako;if(e instanceof ArrayBuffer&&this._gatewayEncoding.wantsString()&&(e=t.inflate(e,{to:"string"})),null==this._onDataReady)throw new Error("Cannot feed unless a data ready callback is registered.");this._onDataReady(e)},r.close=function(){},t}(c)),l.push(function(e){function t(t){var n;return(n=e.call(this,t)||this)._socketId=null,n}a(t,e),t.canUse=function(){return!1};var n=t.prototype;return n.bindWebSocket=function(e){this.close(),this._socketId=e._socketId,u.DCDCompressionManager.enableZlibStreamSupport(this._socketId)},n.getAlgorithm=function(){return"zlib-stream"},n.usesLegacyCompression=function(){return!1},n.feed=function(e){if(null==this._onDataReady)throw new Error("Cannot feed unless a data ready callback is registered.");null!==e&&this._onDataReady(e)},n.close=function(){var e=this._socketId;this._socketId=null,null!==e&&u.DCDCompressionManager.disableZlibStreamSupport(e)},t}(c)),l.push(function(e){function t(){return e.apply(this,arguments)||this}a(t,e),t.canUse=function(){return!0};var n=t.prototype;return n.getAlgorithm=function(){return null},n.usesLegacyCompression=function(){return!1},n.feed=function(e){if(null==this._onDataReady)throw new Error("Cannot feed unless a data ready callback is registered.");this._onDataReady(e)},n.close=function(){},t}(c));var d=r.default.find(l,(function(e){return e.canUse()}));t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(5453).getErlpackEncoding)(),i=void 0!==r?r:function(){function e(){}var t=e.prototype;return t.pack=function(e){return JSON.stringify(e)},t.unpack=function(e){if("string"!=typeof e)throw new Error("Expected a string to be passed to JSONEncoding.unpack");return JSON.parse(e)},t.getName=function(){return"json"},t.wantsString=function(){return!0},e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErlpackEncoding=function(){if(i.default.embedded){var e;try{e=o.default.requireModule("discord_erlpack")}catch(t){try{e=o.default.requireModule("erlpack")}catch(e){}}if(null!=e)return function(){function t(){}t.canUse=function(){return null!=e};var n=t.prototype;return n.pack=function(t){return e.pack(t).buffer},n.unpack=function(t){t instanceof ArrayBuffer&&(t=new Uint8Array(t));try{return e.unpack(t)}catch(e){throw new r.default("GatewayEncodingErlpackEncoding").error("Error unpacking",{erlpackUnpackError:e,erlpackDataPreview:null!=t?Array.from(t.slice(0,32)):null,erlpackDataLength:null!=t?t.length:null}),e}},n.getName=function(){return"etf"},n.wantsString=function(){return!1},t}()}return};var r=a(n(26)),i=a(n(16)),o=a(n(43));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return new WebSocket(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(130))&&r.__esModule?r:{default:r};function o(){return(o=Object.assign||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}).apply(this,arguments)}var a=function(){function e(){this.dirty=!1,this.state=this.getInitialState()}var t=e.prototype;return t.shouldCommit=function(){return!0},t.setState=function(e){this.state=o({},this.state,{},e)},t.getState=function(){return this.state},t.reset=function(){this.dirty=!1,this.state=this.getInitialState()},t.update=function(e,t){void 0===e&&(e={}),void 0===t&&(t=!1);var n=this.getNextState(o({},this.state,{},e));if(t)this.dirty=!(0,i.default)(n,this.getInitialState());else for(var r=0,a=Object.keys(n);r<a.length;r++){var s=a[r];this.dirty=this.dirty||!(0,i.default)(this.state[s],n[s])}return this.state=n,!(!this.dirty||!this.shouldCommit())&&(this.dirty=!1,this.didCommit(this.state),!0)},t.forceUpdate=function(){this.dirty=!1,this.didCommit(this.state)},e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r,i=[];return function o(){for(var a=arguments.length,s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];var l=Date.now();for(null!=r&&(clearTimeout(r),r=null);i.length>0&&i[0]<=l;)i.shift();i.length<e?(i.push(l+t),n.apply(void 0,s)):r=setTimeout((function(){return o.apply(void 0,s)}),i[0]-l)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(10)),i=f(n(1223)),o=f(n(15)),a=f(n(200)),s=f(n(300)),u=f(n(410)),l=f(n(204)),c=f(n(746)),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function _(){return(_=Object.assign||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}).apply(this,arguments)}var p=[],E=[];function h(e,t){var n,d,f,_,h,m,v,T,g,I,S,y,A,O,N=t.useFullLog,R=t.filter,b=r.default.getChannel(e);return{joined:l.default.hasJoined(e),flags:l.default.flags(e),joinTimestamp:l.default.joinTimestamp(e),isActive:u.default.isActive(null==b?void 0:b.guild_id,e),isActiveUnjoined:null!=s.default.getActiveUnjoinedThreadsForParent(null!==(n=null==b?void 0:b.guild_id)&&void 0!==n?n:"",null!==(d=null==b?void 0:b.parent_id)&&void 0!==d?d:"")[e],isActiveJoined:null!=s.default.getActiveJoinedThreadsForParent(null!==(f=null==b?void 0:b.guild_id)&&void 0!==f?f:"",null!==(_=null==b?void 0:b.parent_id)&&void 0!==_?_:"")[e],isActiveJoinedUnread:null!=(null!==(h=s.default.getActiveJoinedUnreadThreadsForGuild(null!==(m=null==b?void 0:b.guild_id)&&void 0!==m?m:"")[null!==(v=null==b?void 0:b.parent_id)&&void 0!==v?v:""])&&void 0!==h?h:{})[e],channel:b,parentChannel:r.default.getChannel(null==b?void 0:b.parent_id),guild:o.default.getGuild(null==b?void 0:b.guild_id),readState:null===(T=a.default.getForDebugging(e))||void 0===T?void 0:T.serialize(),readStateHasUnread:null===(g=a.default.getForDebugging(e))||void 0===g?void 0:g.hasUnread(),readStateHasUnreadOrMentions:null===(I=a.default.getForDebugging(e))||void 0===I?void 0:I.hasUnreadOrMentions(),readStateHasMentions:null===(S=a.default.getForDebugging(e))||void 0===S?void 0:S.hasMentions(),readStateMentionCount:null===(y=a.default.getForDebugging(e))||void 0===y?void 0:y.mentionCount,guildUnreadCount:i.default.getGuildUnreadCount(null!==(A=null==b?void 0:b.guild_id)&&void 0!==A?A:""),guildMentionCount:i.default.getMentionCount(null!==(O=null==b?void 0:b.guild_id)&&void 0!==O?O:""),log:(N?E:p).filter((function(t){return JSON.stringify(t).match(null!=R?R:e)})),messageCount:c.default.getCount(e),mostRecentMessage:c.default.getMostRecentMessage(e)}}window.__GET_THREAD_DEBUG_INFO=h,window.__COPY_THREAD_DEBUG_INFO=function(e,t){window.copy(JSON.stringify(h(e,t),void 0,2))};var m={logAction:function(e,t){var n=_({type:e},t);for(E.push(n);E.length>1e4;)E.shift();switch(e){case"READY_SUPPLEMENTAL":case"READY":case"RESUMED":case d.ActionTypes.MESSAGE_CREATE:case d.ActionTypes.MESSAGE_UPDATE:case d.ActionTypes.MESSAGE_DELETE:case d.ActionTypes.MESSAGE_DELETE_BULK:case d.ActionTypes.MESSAGE_ACK:case d.ActionTypes.CHANNEL_PINS_ACK:case d.ActionTypes.CHANNEL_PINS_UPDATE:case d.ActionTypes.CHANNEL_UNREAD_UPDATE:case d.ActionTypes.CHANNEL_CREATE:case d.ActionTypes.CHANNEL_DELETE:case"CHANNEL_UPDATE":case d.ActionTypes.THREAD_CREATE:case d.ActionTypes.THREAD_UPDATE:case d.ActionTypes.THREAD_DELETE:case d.ActionTypes.THREAD_LIST_SYNC:case d.ActionTypes.THREAD_MEMBER_UPDATE:case d.ActionTypes.THREAD_MEMBERS_UPDATE:case d.ActionTypes.GUILD_CREATE:case d.ActionTypes.GUILD_UPDATE:case d.ActionTypes.GUILD_DELETE:for(p.push(n);p.length>1e4;)p.shift()}}};t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ChannelRTCParticipantsIndexes=void 0;var r=n(34),i=g(n(313)),o=g(n(294)),a=n(140),s=n(31),u=g(n(163)),l=g(n(11)),c=g(n(303)),d=g(n(10)),f=g(n(51)),_=g(n(283)),p=g(n(12)),E=g(n(775)),h=g(n(80)),m=g(n(258)),v=n(691),T=n(1);function g(e){return e&&e.__esModule?e:{default:e}}function I(){return(I=Object.assign||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}).apply(this,arguments)}function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var y,A=function(e,t){return""+e.toLowerCase().padEnd(32,"!")+t.discriminator};function O(e){var t,n;switch(e.type){case v.ParticipantTypes.ACTIVITY:return"\0";case v.ParticipantTypes.STREAM:return(e.userVideo?"":"")+A(e.userNick,e.user)+"";case v.ParticipantTypes.USER:var r="";return(null===(t=e.voiceState)||void 0===t?void 0:t.selfVideo)?r="":(null===(n=e.voiceState)||void 0===n?void 0:n.selfStream)&&(r=""),""+r+A(e.userNick,e.user)}}t.ChannelRTCParticipantsIndexes=y,function(e){e.VIDEO="VIDEO",e.STREAM="STREAM",e.FILTERED="FILTERED",e.SPEAKING="SPEAKING"}(y||(t.ChannelRTCParticipantsIndexes=y={}));var N=function(){function e(e){this.participants={},this.participantByIndex=new i.default((function(e){var t,n=[];return e.type===v.ParticipantTypes.USER&&e.speaking&&n.push(y.SPEAKING),e.type===v.ParticipantTypes.USER&&(null===(t=e.voiceState)||void 0===t?void 0:t.selfVideo)?(n.push(y.VIDEO),e.localVideoDisabled||n.push(y.FILTERED)):e.type===v.ParticipantTypes.STREAM&&(n.push(y.STREAM),null!=e.streamId&&n.push(y.FILTERED)),n}),O),this.channelId=e}var t,n,g,A=e.prototype;return A.size=function(e){return this.participantByIndex.size(e)},A.toArray=function(e){return this.participantByIndex.values(e,!0)},A.rebuild=function(){var e=this,t=d.default.getChannel(this.channelId);if(null==t||t.type===T.ChannelTypes.GUILD_TEXT)return!1;if(this.call=c.default.getCall(this.channelId),t.isPrivate()&&(null==this.call||this.call.unavailable))return!1;var n=new Set((0,s.isGuildVocalChannelType)(t.type)?Object.keys(h.default.getVoiceStatesForChannel(t.id)):t.recipients);return n.add(l.default.getId()),u.default.getAllActiveStreamsForChannel(this.channelId).forEach((function(e){var t=e.ownerId;return n.add(t)})),this.participantByIndex.clear(),this.participants={},n.forEach((function(t){return e.updateParticipant(t)})),this.updateEmbeddedActivities(),!0},A.getParticipant=function(e){var t;return null!==(t=this.participantByIndex.get(e))&&void 0!==t?t:null},A.updateEmbeddedActivities=function(){return this.updateParticipant("__EMBEDDED_ACTIVITIES__")},A.updateParticipant=function(e){var t=this,n=this.participants[e],r="__EMBEDDED_ACTIVITIES__"===e?this._getParticipantsForEmbeddedActivities():this._getParticipantsForUser(e);return(null!=n||0!==r.length)&&(null==n||n.forEach((function(e){t.participantByIndex.delete(e.id)})),r.forEach((function(e){t.participantByIndex.set(e.id,e)})),this.participants[e]=r,!0)},A.updateParticipantSpeaking=function(e){var t,n,r=this;return null!==(t=null===(n=this.participants[e])||void 0===n?void 0:n.reduce((function(t,n){if(n.type===v.ParticipantTypes.USER){var i,o=null==n||null===(i=n.voiceState)||void 0===i?void 0:i.isVoiceMuted();return r.participantByIndex.set(n.id,I({},n,{speaking:_.default.isSpeaking(e)&&!o,soundsharing:_.default.isSoundSharing(e)})),!0}return t}),!1))&&void 0!==t&&t},A.updateParticipantQuality=function(e,t,n){var r,i,o=this;return null!==(r=null===(i=this.participants[e])||void 0===i?void 0:i.reduce((function(e,r){return r.type===v.ParticipantTypes.USER||r.type===v.ParticipantTypes.STREAM?(r.type===v.ParticipantTypes.USER?o.participantByIndex.set(r.id,I({},r)):o.participantByIndex.set(r.id,I({},r,{maxResolution:t,maxFrameRate:n})),!0):e}),!1))&&void 0!==r&&r},A._getEmbeddedActivities=function(){var e=[],t=o.default.getSelfEmbeddedActivityForChannel(this.channelId);return null!=t&&e.push(t),Object.values(h.default.getVoiceStatesForChannel(this.channelId)).forEach((function(t){l.default.getSessionId()!==t.sessionId&&o.default.getEmbeddedActivitiesForUser(t.userId,t.sessionId).forEach((function(t){e.push(t)}))})),e},A._getParticipantsForEmbeddedActivities=function(){var e={};return this._getEmbeddedActivities().forEach((function(t){var n,r=null!==(n=e[t.applicationId])&&void 0!==n?n:{type:v.ParticipantTypes.ACTIVITY,id:t.applicationId,activityURL:t.url,canJoin:t.canJoin,participants:new Set([t.userId])};e[t.applicationId]=I({},r,{canJoin:t.canJoin||r.canJoin,participants:new Set([].concat(Array.from(r.participants),[t.userId]))})})),Object.values(e)},A._getParticipantsForUser=function(e){var t,n,i,o=[],s=p.default.getUser(e);if(null==s)return o;var l,c,T=h.default.getVoiceStateForChannel(this.channelId,e),g=null!==(t=null===(n=this.call)||void 0===n||null===(i=n.ringing)||void 0===i?void 0:i.includes(e))&&void 0!==t&&t;if(null!=T||g){var S,y=null==T?void 0:T.isVoiceMuted();l=I({type:v.ParticipantTypes.USER},E.default.getUserStreamData(e),{user:s,id:s.id,voiceState:T,speaking:_.default.isSpeaking(e)&&!y,soundsharing:_.default.isSoundSharing(e),ringing:g,userNick:m.default.getName(null===(S=d.default.getChannel(this.channelId))||void 0===S?void 0:S.getGuildId(),this.channelId,s),localVideoDisabled:f.default.isLocalVideoDisabled(s.id)}),o.push(l)}var A=u.default.getStreamForUser(e)||u.default.getActiveStreamForUser(e);if((null==A?void 0:A.channelId)===this.channelId){var O,N,R=(0,a.encodeStreamKey)(A),b=this.getParticipant(R),L=(null==b?void 0:b.type)===v.ParticipantTypes.STREAM?{maxResolution:null!=b.maxResolution?I({},b.maxResolution):void 0,maxFrameRate:b.maxFrameRate}:null;c=I({},E.default.getUserStreamData(e,r.MediaEngineContextTypes.STREAM),{},L,{type:v.ParticipantTypes.STREAM,id:R,userVideo:null!==(O=null==T?void 0:T.selfVideo)&&void 0!==O&&O,user:s,userNick:m.default.getName(null===(N=d.default.getChannel(this.channelId))||void 0===N?void 0:N.getGuildId(),this.channelId,s),stream:A}),o.push(c)}return o},t=e,(n=[{key:"version",get:function(){return this.participantByIndex.version}}])&&S(t.prototype,n),g&&S(t,g),e}();t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(137)),i=s(n(14)),o=s(n(26)),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(e,t,n){this.isCanceled=!1,this.searchId=e,this.searchType=t,this.query=n}var t=e.prototype;return t.fetch=function(e,t,n){var s=this;if(!this.isCanceled){var u=this.searchType===a.SearchTypes.GUILD?a.Endpoints.SEARCH_GUILD:a.Endpoints.SEARCH_CHANNEL;this.searchId&&i.default.get({url:u(this.searchId),query:r.default.stringify(this.query),oldFormErrors:!0}).then((function(r){s.isCanceled||(200===r.status?e(r):202===r.status&&(s.query.attempts=(s.query.attempts||0)+1,s.retryDelay=1e3*r.body.retry_after||5e3,s.retryLater(e,t,n),t(r)))})).catch((function(e){new o.default("SearchFetcher").error(e),n(e)}))}},t.cancel=function(){this.isCanceled=!0,null!=this.indexingPollId&&clearTimeout(this.indexingPollId)},t.retryLater=function(e,t,n){null!=this.indexingPollId&&clearTimeout(this.indexingPollId),this.indexingPollId=setTimeout(this.fetch.bind(this,e,t,n),this.retryDelay)},e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializeObject=function(e){return i.default.cloneDeepWith(e,(function(e){if(e instanceof o.BigFlag)return{__tag__:"bigflag",data:e.toJSON()}}))},t.deserializeObject=function(e){return i.default.cloneDeepWith(e,(function(e){if(null!=e&&"object"==typeof e&&"__tag__"in e&&"bigflag"===e.__tag__)return o.default.deserialize(e.data)}))};var r,i=(r=n(8))&&r.__esModule?r:{default:r},o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(63));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}},function(e,t,n){"use strict";var r;function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){var t,n;function r(t){var n;return(n=e.call(this)||this).id=t.id||"",n.widgets=t.widgets||[],n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n),r}(((r=n(62))&&r.__esModule?r:{default:r}).default);t.default=o},function(e,t,n){"use strict";var r;function i(){return(i=Object.assign||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}).apply(this,arguments)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){var t,n;function r(t){var n;return(n=e.call(this)||this).id=t.id||"",n.layoutId=t.layoutId||"",n.type=t.type,n.anchor=i({left:0,top:0},t.anchor),n.size=i({width:0,height:0},t.size),n.pinned=!!t.pinned,n.zIndex=t.zIndex||0,n.meta=i({},t.meta),n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,o(t,n),r}(((r=n(62))&&r.__esModule?r:{default:r}).default);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hydrateReadySupplementalPayload=function(e){var t=e.guilds,n=e.merged_members,r=e.merged_presences,i=v(e,["guilds","merged_members","merged_presences"]),o=g(T,null==r?void 0:r.friends),a=(t||[]).map((function(e,t){var i=g(T,null==r?null:r.guilds[t]),o=g(T,null==n?null:n[t]);return m({},e,{unavailable:void 0===e.voice_states,presences:i,members:o})}));return T={},m({},i,{presences:o,guilds:a})},t.hydrateReadyPayloadPrioritized=function(e){var t=e.users,n=e.relationships,_=e.private_channels,p=e.merged_members,h=e.guilds,y=v(e,["users","relationships","private_channels","merged_members","guilds"]);return function(){I={};for(var e,t=i.default.values(c.default.getGuilds()),n=i.default.groupBy(i.default.values(u.default.getMutableGuildChannels()),(function(e){return e.guild_id})),r=E(t);!(e=r()).done;){var _,p=e.value,h=(n[p.id]||[]).map((function(e){var t=d.default.lastPinTimestamp(e.id);return m({},s.default.toServer(e),{last_message_id:d.default.lastMessageId(e.id)||e.lastMessageId,last_pin_timestamp:t?new Date(t).toISOString():e.lastPinTimestamp})}));I[p.id]={guild:f.toServer(p,[],l.default.getGuildEmoji(p.id),Object.values(o.default.getStageInstancesByGuild(p.id)),null!==(_=a.default.getStickersByGuildId(p.id))&&void 0!==_?_:[]),channels:h}}}(),T=i.default.keyBy(t,(function(e){return e.id})),n=g(T,n||[]),_=(_||[]).map((function(e){var t=e.recipient_ids,n=v(e,["recipient_ids"]);return null!=t?m({},n,{recipients:t.map((function(e){return(0,r.default)(null!=T[e],"Missing user in compressed ready payload"),T[e]}))}):n})),h=(h||[]).map((function(e,t){return!0===e.unavailable?m({},e):S(m({},e,{members:g(T,null==p?null:p[t]),voice_states:[]}))})),m({},y,{users:t,presences:[],relationships:n,guilds:h,private_channels:_})},t.hydrateGuild=S;var r=p(n(23)),i=p(n(8)),o=p(n(81)),a=p(n(362)),s=p(n(31)),u=p(n(10)),l=p(n(249)),c=p(n(15)),d=p(n(200)),f=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(953));function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function p(e){return e&&e.__esModule?e:{default:e}}function E(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(){return(m=Object.assign||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}).apply(this,arguments)}function v(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}var T={};function g(e,t){for(var n,i=[],o=E(t||[]);!(n=o()).done;){var a=n.value;if(null!=a){var s=a.user_id,u=v(a,["user_id"]);null!=s?((0,r.default)(null!=e[s],"Missing user["+s+"] in compressed ready payload"),i.push(m({},u,{user:e[s]}))):i.push(u)}}return i}var I={};function S(e){var t,n,r,o,a,s,u=function(e){var t=I[e];return delete I[e],t}(e.id),l=null===(t=e.guild_hashes)||void 0===t||null===(n=t.metadata)||void 0===n?void 0:n.omitted,c=null===(r=e.guild_hashes)||void 0===r||null===(o=r.channels)||void 0===o?void 0:o.omitted,d=null===(a=e.guild_hashes)||void 0===a||null===(s=a.roles)||void 0===s?void 0:s.omitted;if(!l&&!c&&!d)return m({},e);if(null==u)throw Error("Guild data was missing from store, but hash was still available.");var f=e.channel_updates,_=i.default.keyBy(f,"id"),p=c?u.channels.map((function(e){var t,n;return m({},e,{last_message_id:(null===(t=_[e.id])||void 0===t?void 0:t.last_message_id)||e.last_message_id,last_pin_timestamp:(null===(n=_[e.id])||void 0===n?void 0:n.last_pin_timestamp)||e.last_pin_timestamp})})):e.channels;return m({},u.guild,{},e,{channels:p})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.StreamRTCAnalyticsContext=t.ConservativeLinkEstimateExperiment=void 0;var r=m(n(8)),i=n(34),o=m(n(2)),a=m(n(758)),s=n(1148),u=m(n(11)),l=m(n(15)),c=m(n(51)),d=m(n(982)),f=m(n(13)),_=m(n(5467)),p=n(140),E=m(n(5468)),h=n(1);function m(e){return e&&e.__esModule?e:{default:e}}function v(){return(v=Object.assign||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}).apply(this,arguments)}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var I=(0,s.registerUserExperiment)({id:s.Experiments.BWE_CONSERVATIVE_LINK_ESTIMATE,title:"BWE: Conservative Link Estimate",description:["Control: standard BWE","Treatment 1: Conservative link estimate","Treatment 2: Conservative link estimate + remote locus BWE"],buckets:[s.ExperimentBuckets.CONTROL,s.ExperimentBuckets.TREATMENT_1,s.ExperimentBuckets.TREATMENT_2]});t.ConservativeLinkEstimateExperiment=I;var S=function(){function e(e){var t=e.streamRegion,n=e.streamApplication,r=e.actionContext,i=e.numViewers;this.streamRegion=t,this.streamApplication=n,this.actionContext=r,this.maxViewers=i}var t=e.prototype;return t.setActionContext=function(e){this.actionContext=e},t.trackViewerCount=function(e){this.maxViewers=Math.max(e,this.maxViewers)},e}();t.StreamRTCAnalyticsContext=S;var y=function(e){var t,n;function a(t,n,a,s,l,c,d){var f,E=(0,p.decodeStreamKey)(n),m=E.guildId,v=E.channelId;return(f=e.call(this,u.default.getId(),t,m,v,i.MediaEngineContextTypes.STREAM,a,d)||this)._streamContext=E,f._streamKey=n,f._isStreamer=c,f._videoStreamStats=new _.default(s,f.isOwner),f.analyticsContext=l,f._updateVideoStreamId=r.default.debounce((function(e,t){var n=(0,p.decodeStreamKey)(f._streamKey),r=n.guildId,a=n.channelId,s=n.ownerId;o.default.wait((function(){return o.default.dispatch({type:h.ActionTypes.RTC_CONNECTION_VIDEO,guildId:r,channelId:a,userId:s,streamId:e,rtcServerId:t,context:i.MediaEngineContextTypes.STREAM})}))}),200),f._videoStreamStats.start(),f._initializeEvents(),f}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,g(t,n);var m,I,S,y=a.prototype;return y.destroy=function(t){this._videoStreamStats.stop(),this._trackVideoEndStats(t),this._updateVideoStreamId.cancel(),this._updateVideoStreamId(null,null),this._updateVideoStreamId.flush(),e.prototype.destroy.call(this)},y.streamUpdate=function(e){var t=this._videoQuality;null!=t&&(e?t.pause():t.resume())},y.layoutChange=function(e){this._videoStreamStats.layoutChange(e)},y._initializeEvents=function(){var e=this,t=!1;this.on("state",(function(t,n,r){o.default.wait((function(){return o.default.dispatch(v({type:h.ActionTypes.RTC_CONNECTION_STATE,state:t,hostname:n},r,{streamKey:e._streamKey}))}))})),this.on("video",(function(n,r,i,o,a){var s=(0,p.decodeStreamKey)(e._streamKey);s.guildId===n&&s.channelId===r&&s.ownerId===i&&(null==e.getMediaSessionId()||t||(e._trackVideoStartStats(),t=!0),e._updateVideoStreamId(o,a))}))},y._getStreamAnalyticsProperties=function(){var e=this.analyticsContext,t=e.streamRegion,n=e.streamApplication,r=e.actionContext,o=this._streamContext,a=o.ownerId,s=o.guildId,u=l.default.getGuild(s);return{channel_id:this.channelId,rtc_connection_id:this.getRTCConnectionId(),media_session_id:this.getMediaSessionId(),parent_media_session_id:this.parentMediaSessionId,sender_user_id:a,context:i.MediaEngineContextTypes.STREAM,guild_id:s,stream_region:t,guild_region:null!=u?u.region:null,participant_type:this.isOwner?"streamer":"receiver",share_application_name:null!=n?n.name:null,share_application_id:null!=n?n.id:null,share_application_executable:null!=n?n.exe:null,video_layout:this._videoStreamStats.getLayout(),client_event_source:r}},y._trackVideoStartStats=function(){var e=this.isOwner?(0,E.default)():null;f.default.track(h.AnalyticEvents.VIDEO_STREAM_STARTED,v({},this._getStreamAnalyticsProperties(),{},e,{connection_type:d.default.getType(),effective_connection_speed:d.default.getEffectiveConnectionSpeed(),service_provider:d.default.getServiceProvider()}))},y._trackVideoEndStats=function(e){var t=this._streamContext.ownerId,n=null,r=null,i=this._videoQuality;null!=i&&(n=this.isOwner?i.getOutboundStats()[0]:i.getInboundStats(t),r=i.getNetworkStats());f.default.track(h.AnalyticEvents.VIDEO_STREAM_ENDED,v({},n,{},r,{},null,{},this._videoStreamStats.getStats(),{},this._soundshareStats.getStats(),{},this._getStreamAnalyticsProperties(),{reason:e,max_viewers:this.analyticsContext.maxViewers}))},y._chooseExperiments=function(t){e.prototype._chooseExperiments.call(this,t);var n=s.ExperimentStore.getUserExperimentDescriptor(s.Experiments.BWE_CONSERVATIVE_LINK_ESTIMATE);n&&t.includes(h.RTCVoiceExperiments.BWE_CONSERVATIVE_LINK_ESTIMATE)&&t.includes(h.RTCVoiceExperiments.BWE_REMOTE_LOCUS_CLIENT)&&this._isStreamer&&c.default.supports(i.Features.REMOTE_LOCUS_NETWORK_CONTROL)&&((0,s.trackExposureToExperiment)(s.Experiments.BWE_CONSERVATIVE_LINK_ESTIMATE,n),n.bucket===s.ExperimentBuckets.TREATMENT_1?this._selectedExperiments.push(h.RTCVoiceExperiments.BWE_CONSERVATIVE_LINK_ESTIMATE):n.bucket===s.ExperimentBuckets.TREATMENT_2&&(this._selectedExperiments.push(h.RTCVoiceExperiments.BWE_CONSERVATIVE_LINK_ESTIMATE),this._selectedExperiments.push(h.RTCVoiceExperiments.BWE_REMOTE_LOCUS_CLIENT)))},y._getExtraConnectionOptions=function(){return{streamUserId:(0,p.decodeStreamKey)(this._streamKey).ownerId}},m=a,(I=[{key:"isOwner",get:function(){var e=this._streamContext.ownerId;return u.default.getId()===e}}])&&T(m.prototype,I),S&&T(m,S),a}(a.default);t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return{isEligible:t,subscribe:function(n,i){var o=t(n),a=new r.BatchedStoreListener(e,(function(){var e=t(n);e!==o&&i(o=e)}));return a.attach("FluxStoreExperimentClientFilter"),function(){return a.detach()}}}};var r=n(3)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=e.id,l=e.clientFilter,c=(0,o.useStateFromStores)([u.default],(function(){return null!=t?u.default.getGuildExperimentDescriptor(r,t):null}),[r,t]),d=(0,i.useState)((function(){return null!=t&&(null==l||l.isEligible({guildId:t}))})),f=d[0],_=d[1];return(0,i.useEffect)((function(){if(null!=t&&null!=l&&null!=l.subscribe)return _(l.isEligible({guildId:t})),l.subscribe({guildId:t},(function(e){return _(e)}))}),[t,l]),(0,i.useEffect)((function(){f&&null!=c&&(0,s.trackExposureToExperiment)(r,c,n)}),[f,r,c,n]),null!=c?c.bucket:a.ExperimentBuckets.NOT_ELIGIBLE};var r,i=n(0),o=n(3),a=n(141),s=n(208),u=(r=n(187))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=n(206),o=n(57),a=(r=n(1185))&&r.__esModule?r:{default:r},s=n(1);function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t){return void 0===t&&(t=0),null!=e?Math.round(e):t}var c=function(){function e(e,t){var n=this;this._targetResolution=0,this._targetFPS=0,this._streamSettingsChanged=!1,this._layoutChanges=0,this._incrementLayout=function(e,t){null==n._layoutBuckets[e]&&(n._layoutBuckets[e]=0),n._layoutBuckets[e]+=t},this._sampleStats=function(){var e=a.default.getState(),t=e.resolution,r=e.fps;n._streamSettingsChanged=t!==n._targetResolution||r!==n._targetFPS},this._isSender=t,this._statInterval=new o.Interval,this._lastLayout=e,this._layoutBuckets={}}var t=e.prototype;return t.start=function(){var e=a.default.getState(),t=e.resolution,n=e.fps;this._targetResolution=t,this._targetFPS=n,this._statInterval.start(1e3,this._sampleStats),this._lastLayoutChanged=(0,i.now)()},t.stop=function(){this._statInterval.stop(),this._streamEnd=(0,i.now)(),this._incrementLayout(this._lastLayout,(this._streamEnd-this._lastLayoutChanged)/1e3)},t.layoutChange=function(e){if(e!==this._lastLayout&&null==this._streamEnd){var t=(0,i.now)();this._incrementLayout(this._lastLayout,(t-this._lastLayoutChanged)/1e3),this._layoutChanges++,this._lastLayout=e,this._lastLayoutChanged=t}},t.getLayout=function(){return this._lastLayout},t.getStats=function(){var e={num_layout_changes:this._layoutChanges,duration_layout_fullscreen:l(this._layoutBuckets[s.StreamLayouts.FULL_SCREEN]),duration_layout_theatre:l(this._layoutBuckets[s.StreamLayouts.THEATRE]),duration_layout_pip:l(this._layoutBuckets[s.StreamLayouts.PIP]),duration_layout_popout:l(this._layoutBuckets[s.StreamLayouts.POPOUT]),duration_layout_portrait:l(this._layoutBuckets[s.StreamLayouts.PORTRAIT]),duration_layout_landscape:l(this._layoutBuckets[s.StreamLayouts.LANDSCAPE]),duration_layout_minimized:l(this._layoutBuckets[s.StreamLayouts.MINIMIZED])};return this._isSender?u({},e,{target_fps:this._targetFPS,target_resolution_height:this._targetResolution,stream_settings_changed:this._streamSettingsChanged}):e},e}();t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(766).getDesktopSourceMetadata;t.default=r},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=(0,((r=n(310))&&r.__esModule?r:{default:r}).default)({id:"2021-06_in_app_oauth2",label:"In-App OAuth2 Linking",kind:"user",defaultConfig:{enabled:!1},treatments:[{id:1,label:"Enabled",config:{enabled:!0}}]});t.default=i},function(e,t,n){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}},function(e,t,n){"use strict";var r=new RegExp("%[a-f0-9]{2}","gi"),i=new RegExp("(%[a-f0-9]{2})+","gi");function o(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function a(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(r),n=1;n<t.length;n++)t=(e=o(t,n).join("")).match(r);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=i.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var r=a(n[0]);r!==n[0]&&(t[n[0]]=r)}n=i.exec(e)}t["%C2"]="�";for(var o=Object.keys(t),s=0;s<o.length;s++){var u=o[s];e=e.replace(new RegExp(u,"g"),t[u])}return e}(e)}}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=n(0),p=n(5473).generateQuery,E=[],h=!1,m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(a,e);var t,n,r,i=l(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).renderCaptcha=t.renderCaptcha.bind(d(t)),t.resetCaptcha=t.resetCaptcha.bind(d(t)),t.removeCaptcha=t.removeCaptcha.bind(d(t)),t.handleOnLoad=t.handleOnLoad.bind(d(t)),t.handleSubmit=t.handleSubmit.bind(d(t)),t.handleExpire=t.handleExpire.bind(d(t)),t.handleError=t.handleError.bind(d(t));var n="undefined"!=typeof hcaptcha;return t.ref=_.createRef(),t.state={isApiReady:n,isRemoved:!1,elementId:e.id,captchaId:""},t}return t=a,(n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.apihost,n=e.assethost,r=e.endpoint,i=e.host,o=e.imghost,a=e.languageOverride,s=e.reCaptchaCompat,u=e.reportapi,l=e.sentry;this.state.isApiReady?this.renderCaptcha():(h||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h=!0,window.hcaptchaOnLoad=function(){E=E.filter((function(e){return e(),!1}))};var t=e.apihost||"https://hcaptcha.com";delete e.apihost;var n=document.createElement("script");n.src="".concat(t,"/1/api.js?render=explicit&onload=hcaptchaOnLoad"),n.async=!0;var r=p(e);n.src+=""!==r?"&".concat(r):"",document.head.appendChild(n)}({apihost:t,assethost:n,endpoint:r,hl:a,host:i,imghost:o,recaptchacompat:!1===s?"off":null,reportapi:u,sentry:l}),E.push(this.handleOnLoad))}},{key:"componentWillUnmount",value:function(){var e=this.state,t=e.isApiReady,n=e.isRemoved,r=e.captchaId;t&&!n&&(hcaptcha.reset(r),hcaptcha.remove(r))}},{key:"shouldComponentUpdate",value:function(e,t){return this.state.isApiReady===t.isApiReady&&this.state.isRemoved===t.isRemoved}},{key:"componentDidUpdate",value:function(e){var t=this;["sitekey","size","theme","tabindex","languageOverride","endpoint"].every((function(n){return e[n]===t.props[n]}))||this.removeCaptcha((function(){t.renderCaptcha()}))}},{key:"renderCaptcha",value:function(){if(this.state.isApiReady){var e=hcaptcha.render(this.ref.current,o(o({},this.props),{},{"error-callback":this.handleError,"expired-callback":this.handleExpire,callback:this.handleSubmit}));this.setState({isRemoved:!1,captchaId:e})}}},{key:"resetCaptcha",value:function(){var e=this.state,t=e.isApiReady,n=e.isRemoved,r=e.captchaId;t&&!n&&hcaptcha.reset(r)}},{key:"removeCaptcha",value:function(e){var t=this.state,n=t.isApiReady,r=t.isRemoved,i=t.captchaId;n&&!r&&this.setState({isRemoved:!0},(function(){hcaptcha.remove(i),e&&e()}))}},{key:"handleOnLoad",value:function(){var e=this;this.setState({isApiReady:!0},(function(){var t=e.props.onLoad;t&&t(),e.renderCaptcha()}))}},{key:"handleSubmit",value:function(e){var t=this.props.onVerify,n=this.state,r=n.isRemoved,i=n.captchaId;"undefined"==typeof hcaptcha||r||t(hcaptcha.getResponse(i),hcaptcha.getRespKey(i))}},{key:"handleExpire",value:function(){var e=this.props.onExpire,t=this.state,n=t.isApiReady,r=t.isRemoved,i=t.captchaId;n&&!r&&(hcaptcha.reset(i),e&&e())}},{key:"handleError",value:function(e){var t=this.props.onError,n=this.state,r=n.isApiReady,i=n.isRemoved,o=n.captchaId;r&&!i&&(hcaptcha.reset(o),t&&t(e))}},{key:"execute",value:function(){var e=this.state,t=e.isApiReady,n=e.isRemoved,r=e.captchaId;t&&!n&&hcaptcha.execute(r)}},{key:"render",value:function(){var e=this.state.elementId;return _.createElement("div",{ref:this.ref,id:e})}}])&&s(t.prototype,n),r&&s(t,r),a}(_.Component);e.exports=m},function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}e.exports={generateQuery:function(e){return Object.entries(e).filter((function(e){var t=r(e,2),n=(t[0],t[1]);return n||!1===n})).map((function(e){var t=r(e,2),n=t[0],i=t[1];return"".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(i))})).join("&")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertOAuth2Authorization=function(e){if(null==e.guilds)return e;return o({},e,{guilds:(t=e.guilds,t.map((function(e){return o({},e,{permissions:i.default.deserialize(e.permissions)})})))});var t};var r,i=(r=n(63))&&r.__esModule?r:{default:r};function o(){return(o=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n)}(n(0));var r,i=n(92),o=m(n(1224)),a=m(n(736)),s=m(n(1221)),u=m(n(1283)),l=m(n(1430)),c=m(n(24)),d=n(99),f=m(n(97)),_=n(458),p=n(1),E=m(n(6)),h=m(n(5775));function m(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function T(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function g(e){var t,n,r,c=e.application,m=e.scopes,v=e.redirectUri,g=e.approximateGuildCount,S=new Date(f.default.extractTimestamp(c.id)),y=(0,_.getSecurityMessage)(m),A=(0,d.hasFlag)(null!==(t=c.flags)&&void 0!==t?t:0,p.ApplicationFlags.EMBEDDED);return T("div",{className:h.default.applicationDetails},void 0,null==v||A?null:T(I,{icon:a.default,text:E.default.Messages.OAUTH2_DETAILS_REDIRECT.format({origin:new URL(v).origin})}),T(I,{icon:s.default,text:(r=null,1===(null===(n=c.developers)||void 0===n?void 0:n.length)&&(r=c.developers[0].name),null==r?null!=c.privacy_policy_url&&null!=c.terms_of_service_url?E.default.Messages.OAUTH2_DETAILS_PRIVACY_POLICY_WITH_LINKS.format({privacyPolicyURL:c.privacy_policy_url,termsOfServiceURL:c.terms_of_service_url}):null!=c.privacy_policy_url?E.default.Messages.OAUTH2_DETAILS_PRIVACY_POLICY_WITH_PRIVACY_POLICY_LINK.format({privacyPolicyURL:c.privacy_policy_url}):null!=c.terms_of_service_url?E.default.Messages.OAUTH2_DETAILS_PRIVACY_POLICY_WITH_TERMS_OF_SERVICE_LINK.format({termsOfServiceURL:c.terms_of_service_url}):E.default.Messages.OAUTH2_DETAILS_PRIVACY_POLICY:null!=c.privacy_policy_url&&null!=c.terms_of_service_url?E.default.Messages.OAUTH2_DETAILS_PRIVACY_POLICY_WITH_LINKS_WITH_DEVELOPER.format({developer:r,privacyPolicyURL:c.privacy_policy_url,termsOfServiceURL:c.terms_of_service_url}):null!=c.privacy_policy_url?E.default.Messages.OAUTH2_DETAILS_PRIVACY_POLICY_WITH_PRIVACY_POLICY_LINK_WITH_DEVELOPER.format({developer:r,privacyPolicyURL:c.privacy_policy_url}):null!=c.terms_of_service_url?E.default.Messages.OAUTH2_DETAILS_PRIVACY_POLICY_WITH_TERMS_OF_SERVICE_LINK_WITH_DEVELOPER.format({developer:r,termsOfServiceURL:c.terms_of_service_url}):E.default.Messages.OAUTH2_DETAILS_PRIVACY_POLICY_WITH_DEVELOPER.format({developer:r}))}),T(I,{icon:o.default,text:E.default.Messages.OAUTH2_DETAILS_CREATION_DATE.format({date:S})}),m.includes(i.OAuth2Scopes.BOT)&&null!=g?T(I,{icon:u.default,text:E.default.Messages.OAUTH2_DETAILS_GUILDS.format({guildCount:g})}):null,T(I,{icon:l.default,text:y}))}function I(e){var t=e.icon,n=e.text;return T("div",{className:h.default.entry},void 0,T(t,{className:h.default.entryIcon}),T(c.default,{size:c.default.Sizes.SIZE_12,color:c.default.Colors.MUTED,className:h.default.entryInner},void 0,n))}g.displayName="ApplicationDetails",I.displayName="ApplicationDetailsEntry"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=f(n(372)),a=f(n(255)),s=f(n(47)),u=f(n(24)),l=n(458),c=f(n(6)),d=f(n(5776));function f(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function p(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e){var t,n=e.application,r=e.accountScopes,f=e.errors,_=i.useState(l.FakeScopes[Math.floor(Math.random()*l.FakeScopes.length)])[0];if(0===r.length)return null;var E=r.map((function(e){var t=(0,l.getScopeName)(e),n=((null==f?void 0:f[e])||[])[0];return p("div",{className:d.default.scope},e,p("div",{className:d.default.scopeCheck},void 0,p(o.default,{className:d.default.icon})),p("div",{className:d.default.scopeInner},void 0,p(u.default,{size:u.default.Sizes.SIZE_16,className:d.default.scopeName},void 0,t),null!=n?p(u.default,{size:u.default.Sizes.SIZE_12,color:u.default.Colors.ERROR},void 0,n):null))})),h=p("div",{className:d.default.scope},void 0,p("div",{className:d.default.scopeTimes},void 0,p(a.default,{className:d.default.icon})),p("div",{className:d.default.scopeInner},void 0,p(u.default,{size:u.default.Sizes.SIZE_16,className:d.default.scopeName},void 0,_)));return p("div",{className:d.default.scopes},void 0,p(s.default,{size:s.default.Sizes.SIZE_12,className:d.default.sectionLabel},void 0,c.default.Messages.OAUTH2_SCOPES_LABEL.format({application:null!==(t=null==n?void 0:n.name)&&void 0!==t?t:""})),E,h)}E.displayName="AuthorizeScopes"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=_(n(63)),a=_(n(1296)),s=_(n(255)),u=_(n(24)),l=_(n(78)),c=n(1383),d=_(n(6)),f=_(n(5778));function _(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function E(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function h(e){var t=e.application,n=e.permissions,r=e.deniedPermissions,_=e.onPermissionsChange,p=e.guild,h=i.useState(l.default.NONE),m=h[0],v=h[1];i.useEffect((function(){_(!0,n),v(o.default.invert(p.permissions)),_(!1,o.default.invert(p.permissions))}),[p,_,n]);var T=c.OrderedPermissions.filter((function(e){return o.default.has(n,e)})),g=T.filter((function(e){return!o.default.has(m,e)})).map((function(e){var t=(0,c.getPermissionName)(e),n=!o.default.has(r,e);return E("li",{className:f.default.permission},String(e),E(a.default,{checked:n,onChange:function(t){var n=t.currentTarget.checked;return _(n,e)}},void 0,E(u.default,{size:u.default.Sizes.SIZE_16},void 0,t)))})),I=T.filter((function(e){return o.default.has(m,e)})).map((function(e){var t=(0,c.getPermissionName)(e);return E("li",{className:f.default.permission},String(e),E("div",{className:f.default.disabledPermissionIcon},void 0,E(s.default,{className:f.default.icon})),E(u.default,{size:u.default.Sizes.SIZE_16},void 0,t))}));return E("div",{className:f.default.botPermissions},void 0,E(u.default,{size:u.default.Sizes.SIZE_14,color:u.default.Colors.HEADER_SECONDARY,className:f.default.permissionsLabel},void 0,d.default.Messages.OAUTH2_CONFIRM_BOT_PERMISSIONS.format({applicationName:t.name,guildName:p.name})),E("ul",{className:f.default.permissionsList},void 0,g),I.length>0?i.createElement(i.Fragment,null,E(u.default,{size:u.default.Sizes.SIZE_14,color:u.default.Colors.HEADER_SECONDARY,className:f.default.disabledPermissionsLabel},void 0,d.default.Messages.OAUTH2_DISABLED_PERMISSIONS.format({applicationName:t.name})),E("ul",{className:f.default.permissionsList},void 0,I)):null)}h.displayName="BotPermissions"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GuildSelector=v,t.WebhookGuildChannelSelector=T;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=_(n(63)),a=_(n(47)),s=n(374),u=_(n(24)),l=n(425),c=n(1),d=_(n(6)),f=_(n(5779));function _(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function E(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function h(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){E(o,r,i,a,s,"next",e)}function s(e){E(o,r,i,a,s,"throw",e)}a(void 0)}))}}function m(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.error,n=e.selectedGuildId,r=e.onGuildChange,i=e.guilds,l=e.disabled,_=void 0!==l&&l,p=i.filter((function(e){return o.default.has(e.permissions,c.Permissions.MANAGE_GUILD)})).map((function(e){return{value:e.id,label:e.name}}));return m("div",{className:f.default.selectorGroup},void 0,m(a.default,{size:u.default.Sizes.SIZE_12,className:f.default.sectionLabel},void 0,d.default.Messages.OAUTH2_ADD_TO_GUILD),t?m(u.default,{size:u.default.Sizes.SIZE_12,color:u.default.Colors.ERROR},void 0,t):null,m(s.SingleSelect,{className:f.default.select,maxVisibleItems:5,value:n,placeholder:d.default.Messages.OAUTH2_ADD_TO_GUILD_PLACEHOLDER,options:p,onChange:function(e){r(e)},isDisabled:_}),m(u.default,{size:u.default.Sizes.SIZE_12,color:u.default.Colors.HEADER_SECONDARY,className:f.default.label},void 0,d.default.Messages.OAUTH2_ADD_TO_GUILD_DESCRIPTION.format()))}function T(e){var t=e.selectedGuildId,n=e.selectedChannelId,r=e.onChannelChange,o=e.error,c=i.useState(null),_=c[0],p=c[1];i.useEffect((function(){function e(){return(e=h(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==t){e.next=5;break}return e.next=3,(0,l.fetchChannels)(t);case 3:n=e.sent,p(n);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[t]),i.useEffect((function(){null==_||null==n||_.find((function(e){return e.id===n}))||r(null)}),[_,r,n]);var E=(_||[]).map((function(e){return{value:e.id,label:e.name}}));return null==t?null:m("div",{className:f.default.selectorGroup},void 0,m(a.default,{size:u.default.Sizes.SIZE_12,className:f.default.sectionLabel},void 0,d.default.Messages.OAUTH2_ADD_WEBHOOK_INCOMING),o?m(u.default,{size:u.default.Sizes.SIZE_12,color:u.default.Colors.ERROR},void 0,o):null,m(s.SingleSelect,{className:f.default.select,maxVisibleItems:5,onChange:function(e){r(e)},placeholder:d.default.Messages.SCOPE_WEBHOOK_INCOMING_CHANNEL_PLACEHOLDER,value:n,options:E}),m(u.default,{size:u.default.Sizes.SIZE_12,color:u.default.Colors.HEADER_SECONDARY,className:f.default.label},void 0,d.default.Messages.SCOPE_WEBHOOK_INCOMING_DESCRIPTION))}v.displayName="GuildSelector",T.displayName="WebhookGuildChannelSelector"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n)}(n(0));var r,i=p(n(1222)),o=p(n(61)),a=p(n(279)),s=p(n(24)),u=p(n(150)),l=n(99),c=n(425),d=n(1),f=p(n(6)),_=p(n(5781));function p(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function h(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function m(e){var t=e.id,r=e.user,p=e.application,E=e.bot,m=e.accountScopes,v=e.showLogout,T=e.location,g=p.icon?u.default.getApplicationIconURL({id:p.id,icon:p.icon}):n(1321),I=u.default.getUserAvatarURL(r);return h("header",{id:t,className:_.default.header},void 0,h("div",{className:_.default.headerIcons},void 0,h(a.default,{src:g,size:a.default.Sizes.SIZE_80,"aria-label":p.name}),h("div",{className:_.default.ellipseGroup},void 0,h("div",{className:_.default.ellipse}),h("div",{className:_.default.ellipse}),h("div",{className:_.default.ellipse})),h(a.default,{src:I,size:a.default.Sizes.SIZE_80,"aria-label":r.username})),h(s.default,{size:s.default.Sizes.SIZE_20,color:s.default.Colors.HEADER_PRIMARY,className:_.default.applicationName},void 0,p.name,null!=E?h(i.default,{className:_.default.botTag,verified:null!=E.public_flags&&(0,l.hasFlag)(E.public_flags,d.UserFlags.VERIFIED_BOT)}):null),m.length>0?h(s.default,{size:s.default.Sizes.SIZE_16,color:s.default.Colors.HEADER_SECONDARY,className:_.default.label},void 0,f.default.Messages.OAUTH2_REQUESTS_ACCOUNT_ACCESS):h(s.default,{size:s.default.Sizes.SIZE_16,color:s.default.Colors.HEADER_SECONDARY,className:_.default.label},void 0,f.default.Messages.OAUTH2_CONNECT_TO_DISCORD),v?h("div",{className:_.default.currentUser},void 0,h(s.default,{size:s.default.Sizes.SIZE_14,color:s.default.Colors.MUTED},void 0,f.default.Messages.OAUTH2_SIGNED_IN_AS.format({userHook:function(){return h(s.default,{className:_.default.currentUserTag},r.id,r.username,h(s.default,{className:_.default.currentUserDiscriminator},void 0,"#"+r.discriminator))}}),h(o.default,{tag:"a",className:_.default.logoutLink,onClick:function(){return(0,c.logoutWithRedirect)(T)}},void 0,f.default.Messages.OAUTH2_LOGOUT))):null)}m.displayName="Header"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=s(n(9)),a=s(n(5782));function s(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(){return(c=Object.assign||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}).apply(this,arguments)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).unmounting=!1,n.state={loaded:!1},n.initialize(),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var i=r.prototype;return i.componentDidUpdate=function(e){var t=this;e.src!==this.props.src&&this.setState({loaded:!1},(function(){return t.initialize()}))},i.initialize=function(){var e,t=this;(e=this.props.src,new Promise((function(t,n){null==e&&n(new Error("No image src passed"));var r=new Image;r.src=e,r.onload=function(){return t(r)},r.onerror=function(e){return n(e)}}))).then((function(){t.unmounting||t.setState({loaded:!0})}))},i.componentWillUnmount=function(){this.unmounting=!0},i.render=function(){var e,t=this.props,n=t.className,r=t.src,i=t.alt,s=t.width,u=t.height,d=t.onLoad,f=t.style,_=this.state.loaded;return l("div",{className:n,style:c({},f,{width:s,height:u})},void 0,l("img",{className:(0,o.default)(a.default.image,(e={},e[a.default.loaded]=_,e)),width:s,height:u,src:r,alt:i,onLoad:d}))},r}(i.PureComponent);f.displayName="LazySplash",f.defaultProps={width:0,height:0,alt:""};var _=f;t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(9)),a=n(123),s=n(121),u=n(139),l=h(n(5482)),c=h(n(5484)),d=h(n(5487)),f=n(197),_=n(1),p=h(n(5784)),E=h(n(471));function h(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function v(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=(0,u.cssValueToNumber)(E.default.responsiveWidthMobile),I=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).width=0,n.height=0,n.children=[],n.ratio=0,n._lastTick=0,n._isPlaying=!1,n._reqAnimId=null,n.setCanvas=function(e){if(null!=e){n.canvas=e,n.canvasContext=n.canvas.getContext("2d");var t=window.devicePixelRatio||1,r=n.canvasContext.webkitBackingStorePixelRatio||n.canvasContext.mozBackingStorePixelRatio||n.canvasContext.msBackingStorePixelRatio||n.canvasContext.oBackingStorePixelRatio||n.canvasContext.backingStorePixelRatio||1;n.ratio=t/r,n.resizeCanvas()}},n.resizeCanvas=function(){n.width=window.innerWidth,n.height=window.innerHeight;var e=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n),t=e.canvas,r=e.canvasContext,i=e.width,o=e.height,a=e.ratio;null!=t&&null!=r&&(t.width=i*a,t.height=o*a,t.style.width=i+"px",t.style.height=o+"px",r.scale(a,a)),i<=g?n.pause():n.play(),n.wave.resizeWave(),n.renderAnimation()},n.handleVisibilityChange=function(){document.hidden?n.delayedPause():n.play()},n.play=function(){clearTimeout(n._pauseTimeout),n._isPlaying||(n._isPlaying=!0,n.run())},n.pause=function(){clearTimeout(n._pauseTimeout),n._isPlaying=!1,window.cancelAnimationFrame(n._reqAnimId),n._reqAnimId=null,n.advanceTransitionalState()},n.delayedPause=function(){clearTimeout(n._pauseTimeout),n._pauseTimeout=setTimeout(n.pause,4e3)},n.updateWaveState=function(e){(0,n.props.updateWaveState)(e)},n.handleWaveEmphasize=function(){n.wave.emphasize()},n.run=function(){if(n._isPlaying){if(0===n._lastTick)return n._lastTick=Date.now(),void(n._reqAnimId=requestAnimationFrame(n.run));for(var e=Date.now(),t=Math.min((e-n._lastTick)/1e3,1/120*8);t>0;){var r=t<1/120?t:1/120;n.updateAnimation(r),t-=r}n.renderAnimation(),n._lastTick=e,n._reqAnimId=requestAnimationFrame(n.run)}},n.wave=new d.default(n.updateWaveState),n.children=[new l.default,new c.default,n.wave],n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,T(t,n);var u=r.prototype;return u.componentDidMount=function(){this.initialize()},u.componentDidUpdate=function(e){var t=this.props.waveState;t===f.WaveStates.FILLING&&t!==e.waveState&&this.waveFill()},u.componentWillUnmount=function(){this.terminate()},u.initialize=function(){this.children.forEach((function(e){return e.initialize()})),this.bindEvents(),this.resizeCanvas(),document.hidden&&this.delayedPause()},u.terminate=function(){this.pause(),this.unbindEvents(),this.children.forEach((function(e){return e.terminate()}))},u.bindEvents=function(){window.addEventListener("resize",this.resizeCanvas,!1),window.addEventListener("blur",this.delayedPause,!1),window.addEventListener("focus",this.play,!1),document.addEventListener("visibilitychange",this.handleVisibilityChange,!1),s.ComponentDispatch.subscribe(_.ComponentActions.WAVE_EMPHASIZE,this.handleWaveEmphasize)},u.unbindEvents=function(){window.removeEventListener("resize",this.resizeCanvas,!1),window.removeEventListener("blur",this.delayedPause,!1),window.removeEventListener("focus",this.play,!1),document.removeEventListener("visibilitychange",this.handleVisibilityChange,!1),s.ComponentDispatch.unsubscribe(_.ComponentActions.WAVE_EMPHASIZE,this.handleWaveEmphasize)},u.advanceTransitionalState=function(){var e=this.props.waveState;e!==f.WaveStates.INITIAL&&e!==f.WaveStates.FILLING||this.updateWaveState(e+1)},u.waveFill=function(){this._isPlaying?this.children.forEach((function(e){return e.fill()})):this.updateWaveState(f.WaveStates.FILLED)},u.updateAnimation=function(e){this.children.forEach((function(t){return t.update(e)}))},u.renderAnimation=function(){var e=this.canvasContext;null!=e&&(e.fillStyle=_.HEXColors.PRIMARY_DARK_630,e.fillRect(0,0,this.width,this.height),this.children.forEach((function(t){return t.render(e)})))},u.render=function(){var e=this,t=this.props,n=t.waveState,r=t.hideFallback,s=t.embedded;return v(a.AccessibilityPreferencesContext.Consumer,{},void 0,(function(t){var a,u;return t.reducedMotion.enabled?v("div",{className:(0,o.default)(p.default.fallbackImage,(a={},a[p.default.embedded]=s,a[p.default.visible]=!r&&n>=f.WaveStates.ENTERED,a))}):i.createElement("canvas",{className:(0,o.default)(p.default.canvas,(u={},u[p.default.embedded]=s,u)),ref:e.setCanvas})}))},r}(i.Component);I.displayName="WaveAnimation",I.defaultProps={embedded:!1};var S=I;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=n(355),o=(r=n(5483))&&r.__esModule?r:{default:r};var a=function(){function e(){var e=this;this.img=null,this.loaded=!1,this.isFilled=!1,this.alpha=0,this.mx=0,this.my=0,this.x=0,this.y=0,this.velX=0,this.velY=0,this.targetX=40,this.targetY=40,this.spring={friction:60,tension:100},this.handleMouseMove=function(t){var n=t.clientX,r=t.clientY;e.targetX=n/window.innerWidth*20+20,e.targetY=r/window.innerWidth*20+20}}var t=e.prototype;return t.initialize=function(){var e=this;this.img=new Image,this.img.onload=function(){e.loaded=!0},this.img.src=o.default,this.bind()},t.bind=function(){window.addEventListener("mousemove",this.handleMouseMove,!1)},t.unbind=function(){window.removeEventListener("mousemove",this.handleMouseMove,!1)},t.terminate=function(){this.img=null,this.loaded=!1,this.isFilled=!1,this.alpha=0,this.unbind()},t.update=function(e){this.loaded&&(!this.isFilled&&this.alpha<1?this.alpha=Math.min(1,this.alpha+e):this.isFilled&&this.alpha>0&&(this.alpha=Math.max(0,this.alpha-3*e)),this.velX+=(0,i.applySpringForce)(this.targetX,this.x,this.velX,this.spring)*e,this.velY+=(0,i.applySpringForce)(this.targetY,this.y,this.velY,this.spring)*e,this.x+=this.velX*e,this.y+=this.velY*e)},t.render=function(e){var t=this.img;this.loaded&&null!=t&&(e.save(),e.globalCompositeOperation="source-atop",e.globalAlpha=this.alpha,e.drawImage(t,this.x+20,this.y+20),e.restore())},t.fill=function(){this.isFilled=!0},e}();a.displayName="Blobs";var s=a;t.default=s},function(e,t,n){e.exports=n.p+"c8f0b54f79a9fd1ef60ad74c73a1ee1a.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(5485)),i=o(n(5486));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(){function e(){this.particles=[],this.wind=new i.default,this.alpha=0,this.isFilled=!1,this.loadInTimer=null}var t=e.prototype;return t.initialize=function(){var e=this;this.particles=[],this.wind.initialize(),this.loadInTimer=setTimeout((function(){for(var t=0;t<75;t++)e.particles.push(new r.default)}),250)},t.terminate=function(){this.particles=[],this.wind.terminate(),null!=this.loadInTimer&&clearTimeout(this.loadInTimer)},t.update=function(e){var t=this;0!==this.particles.length&&(!this.isFilled&&this.alpha<1?this.alpha=Math.min(1,this.alpha+e):this.isFilled&&this.alpha>0&&(this.alpha=Math.max(0,this.alpha-3*e)),this.wind.update(),this.particles.forEach((function(n){return n.update(10*t.wind.forceX*e,10*Math.min(t.wind.forceY,-.001)*e-.1)})))},t.render=function(e){var t=this;0!==this.particles.length&&(e.save(),e.globalCompositeOperation="source-atop",this.particles.forEach((function(n){return n.render(e,t.alpha)})),e.restore())},t.fill=function(){this.isFilled=!0},e}();a.displayName="Particles";var s=a;t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(355),i=n(197),o=["#7d8187","#18191c","#8fa2df","#4f545c"],a=function(){function e(){this.size=(0,r.randomNumber)(2,3),this.depth=(0,r.randomNumber)(1,4),this.positionMultiplier=this.depth/4,this.color=o[4-this.depth],this.offscreenX=i.MAX_RADIUS+this.size,this.offscreenY=i.MAX_RADIUS+this.size,this.x=(0,r.randomNumber)(-this.size,this.offscreenX),this.y=(0,r.randomNumber)(-this.size,this.offscreenY)}var t=e.prototype;return t.checkBounds=function(){this.x>this.offscreenX?this.x=-this.size:this.y>this.offscreenY?this.y=-this.size:this.x<-this.size?this.x=this.offscreenX:this.y<-this.size&&(this.y=this.offscreenY)},t.update=function(e,t){this.checkBounds(),this.y+=t*this.positionMultiplier,this.x+=e*this.positionMultiplier},t.render=function(e,t){e.beginPath(),e.globalAlpha=t*this.depth/4,e.arc(this.x,this.y,this.size,0,i.TWO_PI,!0),e.fillStyle=this.color,e.fill(),e.globalAlpha=1},e}();a.displayName="Particle";var s=a;t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;function r(e,t){return Math.max(Math.min((e-t)/30,1),-1)}var i=function(){function e(){var e=this;this.resistance=.98,this.px=0,this.py=0,this.x=0,this.y=0,this.forceX=0,this.forceY=0,this.handleMouseMove=function(t){var n=t.clientX,r=t.clientY;e.x=n,e.y=r}}var t=e.prototype;return t.initialize=function(){window.addEventListener("mousemove",this.handleMouseMove)},t.terminate=function(){window.removeEventListener("mousemove",this.handleMouseMove)},t.update=function(){this.x!==this.px&&this.y!==this.py&&(this.forceX+=r(this.x,this.px),this.forceY+=r(this.y,this.py),this.px=this.x,this.py=this.y),0!==this.forceX&&(this.forceX=this.forceX*this.resistance),0!==this.forceY&&(this.forceY=this.forceY*this.resistance)},t.render=function(){},e}();i.displayName="Wind";var o=i;t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(378)),i=n(139),o=l(n(5488)),a=n(355),s=n(197),u=l(n(471));function l(e){return e&&e.__esModule?e:{default:e}}var c=(0,i.cssValueToNumber)(u.default.responsiveWidthMobile);function d(e,t,n,r){return t*(n/r)+e}function f(){return Math.min(Math.max(Math.min(.8*window.innerWidth,.8*window.innerHeight),s.MIN_RADIUS),s.MAX_RADIUS)}var _=function(){function e(e){var t,n=this;this.points=[],this.hasEntered=!1,this.isFilling=!1,this._resizeWave=function(){var e=f();n.points.forEach((function(t,n){var r=e*Math.cos(s.TWO_PI*d(0,.25,n,15))-40,i=e*Math.sin(s.TWO_PI*d(0,.25,n,15))-40;0!==n?i+=(0,a.randomNumber)(0,30)-15:r+=(0,a.randomNumber)(0,30)-15,t.targetX=r,t.targetY=i,t.angle=Math.atan2(i,r)}))},this.resizeWave=(0,r.default)(this._resizeWave,200),this.updateWaveState=e,this.hasEntered=!1;for(var i=0;i<=15;i++)this.points.push(new o.default((t=i,Math.floor(7.5-Math.floor(Math.abs(t-7.5))))))}var t=e.prototype;return t.initialize=function(){this._resizeWave()},t.emphasize=function(){this.points.forEach((function(e){return e.speedUp=1}))},t.terminate=function(){this.points=[]},t.update=function(e){0!==this.points.length&&(this.points.forEach((function(t){return t.update(Math.min(e,1/60))})),this.hasEntered||this.points[0].x>c&&(this.hasEntered=!0,this.updateWaveState(s.WaveStates.ENTERED)),this.isFilling&&this.points[0].x>this.points[0].targetX&&(this.isFilling=!1,this.updateWaveState(s.WaveStates.FILLED)))},t.render=function(e){if(0!==this.points.length){var t=this.points,n=t[0],r=t.slice(1);e.save(),e.beginPath(),e.moveTo(n.x,n.y),r.forEach((function(t,n){if(null==r[n+1])e.quadraticCurveTo(t.x,t.y,t.x,t.y);else{var i=(t.x+r[n+1].x)/2,o=(t.y+r[n+1].y)/2;e.quadraticCurveTo(t.x,t.y,i,o)}})),e.lineTo(0,0),e.closePath(),e.fillStyle="#000",e.globalCompositeOperation="destination-in",e.fill(),e.restore()}},t.fill=function(){var e=this,t=Math.sqrt(window.innerWidth*window.innerWidth+window.innerHeight*window.innerHeight)+100,n=f()-140,r=function(e,t,n,r){e.targetX=t*Math.cos(s.TWO_PI*d(0,.25,n,15))-40,e.targetY=t*Math.sin(s.TWO_PI*d(0,.25,n,15))-40,r&&(e.targetX+=(0,a.randomNumber)(0,30)-15,e.targetY+=(0,a.randomNumber)(0,30)-15,e.speedUp=3,e.spring.tension=s.POINT_TENSION_DEFAULT*Math.random()*.5+s.POINT_TENSION_DEFAULT)};this.points.forEach((function(e,t){return r(e,n,t,!0)})),setTimeout((function(){e.points.forEach((function(e,n){r(e,t,n,!1);var i=1-e.index/7.5;e.spring.friction+=e.spring.friction+e.spring.friction*i,e.spring.tension=.7*s.POINT_TENSION_DEFAULT+80*Math.random(),e.waveRange=2*e.waveRange})),e.isFilling=!0,e.updateWaveState(s.WaveStates.FILLING)}),250)},e}();_.displayName="Wave";var p=_;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(355),i=n(197),o=2.15*Math.cos(Math.PI),a=function(){function e(e){this.x=-40,this.y=-40,this.targetX=0,this.targetY=0,this.oscillate=!0,this.velX=0,this.velY=0,this.angle=0,this.speedUp=1.5,this.waveRange=60,this.spring={friction:15,tension:i.POINT_TENSION_DEFAULT},this.index=e,this.spring.tension=i.POINT_TENSION_DEFAULT*Math.max(.1,e/7)+i.POINT_TENSION_DEFAULT,this.count=o*e}var t=e.prototype;return t.updateStatic=function(){this.targetX=this.targetX+30*Math.cos(this.angle)*Math.sin(this.count),this.targetY=this.targetY+30*Math.sin(this.angle)*Math.sin(this.count),this.x=this.targetX,this.y=this.targetY},t.update=function(e){var t,n;if(this.speedUp>0?(this.speedUp=Math.max(0,this.speedUp-e),this.count+=e*(10*Math.min(this.speedUp,1)+.4)):this.count+=.4*e,t=(0,r.applySpringForce)(this.targetX,this.x,this.velX,this.spring),n=(0,r.applySpringForce)(this.targetY,this.y,this.velY,this.spring),this.velX+=t*e,this.velY+=n*e,this.oscillate){var i=this.targetX+this.waveRange*Math.cos(this.angle)*Math.sin(this.count),o=this.targetY+this.waveRange*Math.sin(this.angle)*Math.sin(this.count);t=(0,r.applySpringForce)(i,this.x,this.velX,this.spring),n=(0,r.applySpringForce)(o,this.y,this.velY,this.spring),this.velX+=t*e,this.velY+=n*e}this.x+=this.velX*e,this.y+=this.velY*e},t.render=function(e){e.fillStyle="#fff",e.fillRect(this.x,this.y,4,4)},e}();a.displayName="Point";var s=a;t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAccessibilitySupportEnabled=function(){return u.apply(this,arguments)};var r=o(n(118)),i=o(n(16));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){a(o,r,i,s,u,"next",e)}function u(e){a(o,r,i,s,u,"throw",e)}s(void 0)}))}}function u(){return(u=s(regeneratorRuntime.mark((function e(){var t,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i.default.embedded){e.next=2;break}return e.abrupt("return",!1);case 2:return e.next=4,null===(t=r.default.accessibility)||void 0===t||null===(n=t.isAccessibilitySupportEnabled)||void 0===n?void 0:n.call(t);case 4:return o=e.sent,e.abrupt("return",null!=o&&o);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=T(n(0)),o=m(n(274)),a=m(n(29)),s=m(n(55)),u=n(85),l=n(35),c=m(n(47)),d=m(n(24)),f=m(n(93)),_=T(n(285)),p=n(1),E=m(n(6)),h=m(n(5789));function m(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function T(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function g(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var I=function(e){var t=e.transitionState,n=e.onClose,r=(0,u.useUID)(),m=i.useCallback((function(){o.default.updateRemoteSettings({allowAccessibilityDetection:!0}),n()}),[n]);return i.useEffect((function(){return function(){return _.detectionModalSeen()}}),[]),g(l.ModalRoot,{transitionState:t,role:"alertdialog","aria-labelledby":r},void 0,g(l.ModalContent,{className:h.default.modal},void 0,g(c.default,{size:c.default.Sizes.SIZE_24,className:h.default.header,id:r},void 0,E.default.Messages.ACCESSIBILITY_DETECTION_MODAL_HEADER),g(d.default,{size:d.default.Sizes.SIZE_16,className:h.default.body},void 0,E.default.Messages.ACCESSIBILITY_DETECTION_MODAL_BODY.format({helpdeskArticle:f.default.getArticleURL(p.HelpdeskArticles.ACCESSIBILITY_TRACKING)}))),g(l.ModalFooter,{align:s.default.Align.STRETCH,justify:s.default.Justify.BETWEEN},void 0,g(a.default,{onClick:m,size:a.default.Sizes.LARGE,color:a.default.Colors.BRAND,className:h.default.button,autoFocus:!0},void 0,E.default.Messages.ACCESSIBILITY_DETECTION_MODAL_ACCEPT_LABEL),g(a.default,{onClick:n,size:a.default.Sizes.LARGE,color:a.default.Colors.PRIMARY,className:h.default.button},void 0,E.default.Messages.ACCESSIBILITY_DETECTION_MODAL_DECLINE_LABEL)))};I.displayName="AccessibilityAllowDetectionModal";var S=I;t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=S;var r,i=g(n(0)),o=v(n(1257)),a=n(1340),s=n(1298),u=v(n(29)),l=n(85),c=n(35),d=v(n(47)),f=v(n(24)),_=v(n(93)),p=g(n(285)),E=n(1),h=v(n(6)),m=v(n(5801));function v(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function g(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function I(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function S(e){var t=e.transitionState,n=e.onClose,r=(0,l.useUID)();return i.useEffect((function(){p.keyboardNavigationExplainerModalSeen()}),[]),I(c.ModalRoot,{transitionState:t,role:"alertdialog","aria-labelledby":r},void 0,I(c.ModalContent,{className:m.default.content},void 0,I(d.default,{size:d.default.Sizes.SIZE_24,id:r,className:m.default.header},void 0,h.default.Messages.KEYBOARD_SHORTCUTS_EXPLAINER_MODAL_TITLE.format({tab:function(e,t){return I(o.default,{shortcut:"tab",className:m.default.headerShortcut},t)}})),I(f.default,{size:f.default.Sizes.SIZE_16},void 0,h.default.Messages.KEYBOARD_SHORTCUTS_EXPLAINER_MODAL_BODY),I("ul",{className:m.default.tips},void 0,I("li",{},void 0,I(o.default,{shortcut:s.TOGGLE_HOTKEYS.binds[0]}),I(f.default,{size:f.default.Sizes.SIZE_16},void 0,h.default.Messages.KEYBOARD_SHORTCUTS_EXPLAINER_LIST_SHORTCUT)),I("li",{},void 0,I(o.default,{shortcut:a.QUICKSWITCHER_SHOW.binds[0]}),I(f.default,{size:f.default.Sizes.SIZE_16},void 0,h.default.Messages.KEYBOARD_SHORTCUTS_EXPLAINER_QUICKSWITCHER_SHORTCUT))),I(f.default,{size:f.default.Sizes.SIZE_16},void 0,h.default.Messages.KEYBOARD_SHORTCUTS_EXPLAINER_HELP_CENTER_LINK.format({link:_.default.getArticleURL(E.HelpdeskArticles.KEYBOARD_NAVIGATION)}))),I(c.ModalFooter,{},void 0,I(u.default,{onClick:n,color:u.default.Colors.BRAND,size:u.default.Sizes.SMALL,autoFocus:!0},void 0,h.default.Messages.OKAY)))}S.displayName="KeyboardNavigationModal"},function(e,t,n){"use strict";e.exports=function(e,t,n){return e=e instanceof Array?e:[e],this.bindMultiple(e,t,n),this}},function(e,t,n){"use strict";e.exports=function(e,t,n){for(var r=0;r<e.length;++r)this.bindSingle(e[r],t,n)}},function(e,t,n){"use strict";e.exports=function(e,t){return this.bind(e,(function(){}),t)}},function(e,t,n){"use strict";e.exports=function(e,t){return this.directMap[e+":"+t]&&this.directMap[e+":"+t]({},e),this}},function(e,t,n){"use strict";e.exports=function(){return this.callbacks={},this.directMap={},this}},function(e,t,n){"use strict";e.exports=function(e,t){if((" "+t.className+" ").indexOf(" combokeys ")>-1)return!1;var n=t.tagName.toLowerCase();return"input"===n||"select"===n||"textarea"===n||t.isContentEditable}},function(e,t,n){"use strict";e.exports=function(e,t,r){var i,o,a,s,u={},l=0,c=!1;for(i=this.getMatches(e,t,r),o=0;o<i.length;++o)i[o].seq&&(l=Math.max(l,i[o].level));for(o=0;o<i.length;++o)if(i[o].seq){if(i[o].level!==l)continue;c=!0,u[i[o].seq]=1,this.fireCallback(i[o].callback,r,i[o].combo,i[o].seq)}else c||this.fireCallback(i[o].callback,r,i[o].combo);s="keypress"===r.type&&this.ignoreNextKeypress,a=n(459),r.type!==this.nextExpectedAction||a(e)||s||this.resetSequences(u),this.ignoreNextKeypress=c&&"keydown"===r.type}},function(e,t,n){"use strict";e.exports=function(){var e=n(1128),t=this.element;this.eventHandler=n(5500).bind(this),e(t,"keypress",this.eventHandler),e(t,"keydown",this.eventHandler),e(t,"keyup",this.eventHandler)}},function(e,t,n){"use strict";e.exports=function(e){var t;"number"!=typeof e.which&&(e.which=e.keyCode);var r=n(1129)(e);r&&("keyup"!==e.type||this.ignoreNextKeyup!==r?(t=n(5502),this.handleKey(r,t(e),e)):this.ignoreNextKeyup=!1)}},function(e,t,n){"use strict";e.exports={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){this.directMap[e+":"+n]=t;var o,a=(e=e.replace(/\s+/g," ")).split(" ");a.length>1?this.bindSequence(e,a,t,n):(o=this.getKeyInfo(e,n),this.callbacks[o.key]=this.callbacks[o.key]||[],this.getMatches(o.key,o.modifiers,{type:o.action},r,e,i),this.callbacks[o.key][r?"unshift":"push"]({callback:t,modifiers:o.modifiers,action:o.action,seq:r,level:i,combo:e}))}},function(e,t,n){"use strict";e.exports=function(e,t){var r,i,o,a,s,u,l=[];for(r=n(5505)(e),a=n(5506),s=n(5507),u=n(459),o=0;o<r.length;++o)a[i=r[o]]&&(i=a[i]),t&&"keypress"!==t&&s[i]&&(i=s[i],l.push("shift")),u(i)&&l.push(i);return{key:i,modifiers:l,action:t=this.pickBestAction(i,l,t)}}},function(e,t,n){"use strict";e.exports=function(e){return"+"===e?["+"]:e.split("+")}},function(e,t,n){"use strict";e.exports={option:"alt",command:"meta",return:"enter",escape:"esc",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"}},function(e,t,n){"use strict";e.exports={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"}},function(e,t,n){"use strict";e.exports=function(e,t,n){return n||(n=this.getReverseMap()[e]?"keydown":"keypress"),"keypress"===n&&t.length&&(n="keydown"),n}},function(e,t,n){"use strict";e.exports=function(){var e,t=this.constructor;if(!t.REVERSE_MAP)for(var r in t.REVERSE_MAP={},e=n(1130))r>95&&r<112||e.hasOwnProperty(r)&&(t.REVERSE_MAP[e[r]]=r);return t.REVERSE_MAP}},function(e,t,n){"use strict";e.exports=function(e,t,r,i,o,a){var s,u,l,c,d=[],f=r.type;"keypress"!==f||r.code&&"Arrow"===r.code.slice(0,5)||(this.callbacks["any-character"]||[]).forEach((function(e){d.push(e)}));if(!this.callbacks[e])return d;for(l=n(459),"keyup"===f&&l(e)&&(t=[e]),s=0;s<this.callbacks[e].length;++s)if(u=this.callbacks[e][s],(i||!u.seq||this.sequenceLevels[u.seq]===u.level)&&f===u.action&&(c=n(5511),"keypress"===f&&!r.metaKey&&!r.ctrlKey||c(t,u.modifiers))){var _=!i&&u.combo===o,p=i&&u.seq===i&&u.level===a;(_||p)&&this.callbacks[e].splice(s,1),d.push(u)}return d}},function(e,t,n){"use strict";e.exports=function(e,t){return e.sort().join(",")===t.sort().join(",")}},function(e,t,n){"use strict";e.exports=function(e){e=e||{};var t,n=!1;for(t in this.sequenceLevels)e[t]?n=!0:this.sequenceLevels[t]=0;n||(this.nextExpectedAction=!1)}},function(e,t,n){"use strict";e.exports=function(e,t,r,i){this.stopCallback(t,t.target||t.srcElement,r,i)||!1===e(t,r)&&(n(5514)(t),n(5515)(t))}},function(e,t,n){"use strict";e.exports=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}},function(e,t,n){"use strict";e.exports=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}},function(e,t,n){"use strict";e.exports=function(e,t,r,i){var o=this;function a(t){return function(){o.nextExpectedAction=t,++o.sequenceLevels[e],o.resetSequenceTimer()}}function s(t){var a;o.fireCallback(r,t,e),"keyup"!==i&&(a=n(1129),o.ignoreNextKeyup=a(t)),setTimeout((function(){o.resetSequences()}),10)}o.sequenceLevels[e]=0;for(var u=0;u<t.length;++u){var l=u+1===t.length?s:a(i||o.getKeyInfo(t[u+1]).action);o.bindSingle(t[u],l,i,e,u)}}},function(e,t,n){"use strict";e.exports=function(){var e=this;clearTimeout(e.resetTimer),e.resetTimer=setTimeout((function(){e.resetSequences()}),1e3)}},function(e,t,n){var r=n(1128).off;e.exports=function(){var e=this.element;r(e,"keypress",this.eventHandler),r(e,"keydown",this.eventHandler),r(e,"keyup",this.eventHandler)}},function(e,t,n){"use strict";e.exports=function(){this.instances.forEach((function(e){e.reset()}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=S(n(8)),i=S(n(101)),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=I();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(31)),a=S(n(162)),s=S(n(5521)),u=S(n(10)),l=S(n(1385)),c=n(86),d=S(n(70)),f=S(n(12)),_=S(n(697)),p=n(48),E=S(n(723)),h=S(n(186)),m=n(356),v=S(n(1186)),T=S(n(460)),g=n(1);function I(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return I=function(){return e},e}function S(e){return e&&e.__esModule?e:{default:e}}function y(){return(y=Object.assign||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}).apply(this,arguments)}function A(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function N(e,t){return(0,r.default)(e).sort(T.default).take(t).value()}var R=Object.freeze({});function b(e,t){return void 0===e&&(e=0),1e3*e*(t||1)}function L(e,t){if(!t.frecencyBoosters)return{};var n=l.default.getFrequently(),r=n.reduce((function(e,t){var n=t.id,r=l.default.getScore(n);return r>e?r:e}),0),i=[];switch(e){case m.AutocompleterResultTypes.GUILD:i=n.filter((function(e){return e instanceof a.default}));break;case m.AutocompleterResultTypes.USER:i=n.filter((function(e){return e instanceof o.default&&e.type===g.ChannelTypes.DM}));break;case m.AutocompleterResultTypes.GROUP_DM:i=n.filter((function(e){return e instanceof o.default&&e.isMultiUserDM()}));break;case m.AutocompleterResultTypes.TEXT_CHANNEL:i=n.filter((function(e){return e instanceof o.default&&(0,o.isGuildSelectableChannelType)(e.type)}));break;case m.AutocompleterResultTypes.VOICE_CHANNEL:i=n.filter((function(e){return e instanceof o.default&&e.isVocal()}))}for(var s,c={},f=A(i);!(s=f()).done;){var _=s.value,p=_.id,E=l.default.getScore(p);if(e===m.AutocompleterResultTypes.USER&&_ instanceof o.default){if(_.type===g.ChannelTypes.DM)c[p=_.getRecipientId()]=1+E/r;else if(_.type===g.ChannelTypes.GROUP_DM)for(var h,v=_.recipients.length,T=A(_.recipients);!(h=T()).done;){c[h.value]=1+E/r*(1/v)}}else c[p]=1+E/r}for(var I,S=A(d.default.getFriendIDs());!(I=S()).done;){var y=I.value;c[y]=(c[y]||1)+.2}for(var O,N=A(u.default.getDMUserIds());!(O=N()).done;){var R=O.value;c[R]=(c[R]||1)+.1}return c}var D=function(){function e(e,t,n,i){var o=this;void 0===n&&(n=100),void 0===i&&(i=R),this.query="",this.options=R,this.results=[],this._userResults=[],this._groupDMResults=[],this._textChannelResults=[],this._voiceChannelResults=[],this._guildResults=[],this._applicationResults=[],this._linkResults=[],this._userBlacklist=null,this.mapUserResult=function(e){var t=e.user,n=e.id,r=e.score,i=e.comparator;return null==t&&(t=f.default.getUser(n)),null==t?null:{type:m.AutocompleterResultTypes.USER,record:t,score:b(r),comparator:i}},this.parseUserResults=function(e){var t=e.results;o._include(m.AutocompleterResultTypes.USER)&&(o._userResults=t.map(o.mapUserResult).filter(p.isNotNullish),o._userResults.length>o._limit&&(o._userResults.length=o._limit),o.updateAllResults())},this.updateAllResults=function(){clearTimeout(o._asyncTimeout),o.results=(0,r.default)([].concat(o._userResults,o._groupDMResults,o._textChannelResults,o._voiceChannelResults,o._guildResults,o._linkResults)).uniqBy((function(e){return e.type+"-"+e.record.id})).sort(T.default).value(),o.onResultsChange(o.results,o.query)},this.onResultsChange=e,this.setOptions(i,!0),this._limit=n,this.userSearchContext=v.default.getSearchContext(this.parseUserResults,n),this.setResultTypes(t)}var t=e.prototype;return t.setLimit=function(e){var t=this.userSearchContext;this._limit=e,null!=t&&t.setLimit(e),this._userResults.length>this._limit&&(this._userResults.length=this._limit),this._groupDMResults.length>this._limit&&(this._groupDMResults.length=this._limit),this._textChannelResults.length>this._limit&&(this._textChannelResults.length=this._limit),this._voiceChannelResults.length>this._limit&&(this._voiceChannelResults.length=this._limit),this._guildResults.length>this._limit&&(this._guildResults.length=this._limit),this._applicationResults.length>this._limit&&(this._applicationResults.length=this._limit),this._linkResults.length>this._limit&&(this._linkResults.length=this._limit)},t.setResultTypes=function(e){this.resultTypes=null!=e?new Set(e):null,this._userResults=this._include(m.AutocompleterResultTypes.USER)?this._userResults:[],this._groupDMResults=this._include(m.AutocompleterResultTypes.GROUP_DM)?this._groupDMResults:[],this._textChannelResults=this._include(m.AutocompleterResultTypes.TEXT_CHANNEL)?this._textChannelResults:[],this._voiceChannelResults=this._include(m.AutocompleterResultTypes.VOICE_CHANNEL)?this._voiceChannelResults:[],this._guildResults=this._include(m.AutocompleterResultTypes.GUILD)?this._guildResults:[],this._applicationResults=this._include(m.AutocompleterResultTypes.APPLICATION)?this._applicationResults:[],this._linkResults=this._include(m.AutocompleterResultTypes.LINK)?this._linkResults:[]},t._include=function(e){return null==this.resultTypes||this.resultTypes.has(e)},t._isAsyncSearch=function(){return this._include(m.AutocompleterResultTypes.USER)},t.setOptions=function(e,t){void 0===t&&(t=!1),this.options=t?y({},this.options,{},e):e,this.options.blacklist?this._userBlacklist=Array.from(this.options.blacklist).map((function(e){return e.startsWith("user:")?e.replace("user:",""):""})).filter((function(e){return""!==e})):this._userBlacklist=null},t.search=function(e,t){if(this.query=e,""===e.trim())return this.clear(),void this.updateAllResults();this.queryUsers(e,t,this._limit),this._groupDMResults=this.queryGroupDMs(e,this._limit),this._textChannelResults=this.queryTextChannels(e,this._limit),this._voiceChannelResults=this.queryVoiceChannels(e,this._limit),this._guildResults=this.queryGuilds(e,this._limit),this._applicationResults=this.queryApplications(e,this._limit),this._linkResults=this.queryLink(e,this._limit),this._isAsyncSearch()?(clearTimeout(this._asyncTimeout),this._asyncTimeout=setTimeout(this.updateAllResults,300)):this.updateAllResults()},t.clear=function(){var e=this.userSearchContext;null!=e&&e.clearQuery(),this.results=[],this._userResults=[],this._groupDMResults=[],this._textChannelResults=[],this._voiceChannelResults=[],this._guildResults=[],this._applicationResults=[],this._linkResults=[]},t.destroy=function(){var e=this.userSearchContext;null!=e&&(e.destroy(),this.userSearchContext=null)},t.queryTextChannels=function(e,t){if(!this._include(m.AutocompleterResultTypes.TEXT_CHANNEL))return[];var n=L(m.AutocompleterResultTypes.TEXT_CHANNEL,this.options),r=this.options.blacklist,i=null!=r?function(e){return!r.has("channel:"+e.id)}:void 0;return N(_.default.queryChannels(e,null,1/0,!0,i).map((function(e){var t=e.channel,r=e.score,i=e.comparator;return{type:m.AutocompleterResultTypes.TEXT_CHANNEL,record:t,score:b(r,n[t.id]),comparator:i}})),t)},t.queryVoiceChannels=function(e,t){if(!this._include(m.AutocompleterResultTypes.VOICE_CHANNEL))return[];var n=this.options.voiceChannelGuildFilter;if(void 0===n)return[];var r=L(m.AutocompleterResultTypes.VOICE_CHANNEL,this.options);return N(_.default.queryChannels(e,n,1/0,!0,(function(){return!0}),c.GUILD_VOCAL_CHANNELS_KEY).map((function(e){var t=e.channel,n=e.score,i=e.comparator;return{type:m.AutocompleterResultTypes.VOICE_CHANNEL,record:t,score:b(n,r[t.id]),comparator:i}})),t)},t.queryGuilds=function(e,t){if(!this._include(m.AutocompleterResultTypes.GUILD))return[];var n=L(m.AutocompleterResultTypes.GUILD,this.options),r=this.options.blacklist,i=null!=r?function(e){return!r.has("guild:"+e.id)}:void 0;return N(_.default.queryGuilds(e,1/0,!0,i).map((function(e){var t=e.guild,r=e.score,i=e.comparator;return{type:m.AutocompleterResultTypes.GUILD,record:t,score:b(r,n[t.id]),comparator:i}})),t)},t.queryUsers=function(e,t,n){var r=this.userSearchContext;if(null!=r&&this._include(m.AutocompleterResultTypes.USER)){var i=this.options.userFilters;void 0!==t&&E.default.requestMembers(t,e,100),r.setLimit(n),r.setQuery(e,i,this._userBlacklist,L(m.AutocompleterResultTypes.USER,this.options))}},t.queryGroupDMs=function(e,t){if(!this._include(m.AutocompleterResultTypes.GROUP_DM))return[];var n=this.options.blacklist,r=L(m.AutocompleterResultTypes.GROUP_DM,this.options),i=null!=n?function(e){return!n.has("channel:"+e.id)}:void 0;return N(_.default.queryGroupDMs(e,1/0,!0,i).map((function(e){var t=e.channel,n=e.score,i=e.comparator;return{type:m.AutocompleterResultTypes.GROUP_DM,record:t,score:b(n,r[t.id]),comparator:i}})),t)},t.queryApplications=function(e,t){return this._include(m.AutocompleterResultTypes.APPLICATION)?N(_.default.queryApplications(e,1/0,!0).map((function(e){var t=e.application,n=e.score,r=e.comparator;return{type:m.AutocompleterResultTypes.APPLICATION,record:t,score:b(n),comparator:r}})),t):[]},t.queryLink=function(e,t){if(!this._include(m.AutocompleterResultTypes.LINK))return[];var n,r=i.default.sanitizeUrl(e);try{n=new URL(r)}catch(e){return[]}var o=n,a=o.pathname,u=o.hostname,l=void 0===u?"":u,c=o.host,d=h.default.isDiscordHostname(l)||window.location.host===c;return null!==a&&d&&h.default.isAppRoute(a)?N([{type:m.AutocompleterResultTypes.LINK,record:s.default.fromPath(a),score:1}],t):[]},e}();t.default=D},function(e,t,n){"use strict";var r;function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.LinkRecord=t.default=void 0;var o=function(e){var t,n;function r(t){var n;return(n=e.call(this)||this).id=t.id,n.path=t.path,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n),r.fromPath=function(e){return new r({id:e,path:e})},r}(((r=n(62))&&r.__esModule?r:{default:r}).default);t.LinkRecord=o;var a=o;t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e.score!==t.score)return t.score-e.score;var n=a(e.channel),r=a(t.channel);if(n!==r)return n-r;var i=(e.comparator||"").toLocaleLowerCase(),o=(t.comparator||"").toLocaleLowerCase();if(i<o)return-1;if(i>o)return 1;return 0};var r,i=(r=n(10))&&r.__esModule?r:{default:r},o=n(1);function a(e){if(null==e.parent_id)return e.type===o.ChannelTypes.GUILD_CATEGORY?1e3*(e.position+1):e.position;var t,n,r=1e3*((null!==(t=null===(n=i.default.getChannel(e.parent_id))||void 0===n?void 0:n.position)&&void 0!==t?t:0)+1);return e.isVocal()?r+e.position+500:r+e.position}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(1341)),i=o(n(6));function o(e){return e&&e.__esModule?e:{default:e}}var a={MENTION_EVERYONE:function(){return{test:"everyone",text:"@everyone",description:i.default.Messages.MENTION_EVERYONE_AUTOCOMPLETE_DESCRIPTION}},MENTION_HERE:function(){return{test:"here",text:"@here",description:i.default.Messages.MENTION_HERE_AUTOCOMPLETE_DESCRIPTION}},LAUNCHABLE_APPLICATIONS:function(){return r.default.launchableApplicationViewItems}};t.default=a},function(e,t,n){e.exports=function(){return new Worker(n.p+"b94b507c314944f1dc1f.worker.js")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createHeaderResult=function(e){return{type:r.AutocompleterResultTypes.HEADER,record:new r.HeaderRecord(e),score:0}};var r=n(356)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n,i,o){var a=i.length,s=o,u=n;if(0===a)return 0;if(null==s)s=u;else if(s===u)return u;if((u+=t===r.FindResultDirections.UP?-1:1)<0||u>=a)return e(t,u<0?a:-1,i,s);if(i[u].type===r.AutocompleterResultTypes.HEADER)return e(t,u,i,s);return u};var r=n(356)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.playApplication=C;var r,i=y(n(0)),o=I(n(5)),a=I(n(3)),s=y(n(1132)),u=I(n(478)),l=I(n(71)),c=I(n(1342)),d=I(n(29)),f=I(n(55)),_=I(n(159)),p=n(35),E=n(41),h=I(n(13)),m=n(1),v=I(n(6)),T=I(n(5790)),g=I(n(370));function I(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function A(){return(A=Object.assign||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}).apply(this,arguments)}function O(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function N(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){O(o,r,i,a,s,"next",e)}function s(e){O(o,r,i,a,s,"throw",e)}a(void 0)}))}}function R(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var L=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).onClose=function(){t.props.onClose()},t.handlePlay=function(e,n){void 0===e&&(e=!0),void 0===n&&(n=null);var r=t.props,i=r.libraryApplication,o=r.analyticsParams;t.onClose(),C(i.id,i,{analyticsParams:o,cloudSync:e,cloudSyncForceHash:n})},t.handleChooseDownload=function(){var e=t.props.cloudSyncState;e.type===m.CloudSyncStateTypes.CONFLICT&&t.handlePlay(!0,e.remote.hash)},t.handleChooseUpload=function(){var e=t.props.cloudSyncState;e.type===m.CloudSyncStateTypes.CONFLICT&&t.handlePlay(!0,e.next.hash)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,b(t,n);var a=r.prototype;return a.renderConflictButton=function(e,t,n,r){return R(d.default,{className:T.default.conflictButton,innerClassName:T.default.conflictButtonInner,onClick:r},void 0,R("div",{className:n}),R("div",{className:T.default.buttonBody},void 0,R("div",{className:T.default.conflictTitle},void 0,e),R("div",{},void 0,v.default.Messages.CLOUD_SYNC_MODAL_CONFLICT_LAST_MODIFIED),R("div",{className:T.default.timestamp},void 0,(0,o.default)(t).calendar())))},a.renderError=function(){var e=this,t=this.props.application;return R(i.Fragment,{},void 0,R(p.ModalContent,{},void 0,R(f.default,{justify:f.default.Justify.CENTER},void 0,R("div",{className:T.default.errorArt})),R("div",{className:T.default.description},void 0,v.default.Messages.CLOUD_SYNC_MODAL_ERROR_DESCRIPTION.format({applicationName:t.name}))),R(p.ModalFooter,{},void 0,R(f.default,{justify:f.default.Justify.BETWEEN},void 0,R(d.default,{className:T.default.linkButton,size:T.default.linkButtonSize,look:d.default.Looks.LINK,color:d.default.Colors.PRIMARY,onClick:this.onClose},void 0,v.default.Messages.CANCEL),R(f.default,{direction:f.default.Direction.HORIZONTAL,justify:f.default.Justify.END},void 0,R(d.default,{look:d.default.Looks.LINK,color:d.default.Colors.PRIMARY,onClick:function(){return e.handlePlay()},className:T.default.retryButton},void 0,v.default.Messages.RETRY),R(d.default,{onClick:function(){return e.handlePlay(!1)}},void 0,v.default.Messages.GAME_ACTION_BUTTON_PLAY)))))},a.renderConflict=function(){var e=this.props,t=e.application,n=e.cloudSyncState;if(n.type!==m.CloudSyncStateTypes.CONFLICT)throw new Error("Cannot render conflict for non conflict type");return R(p.ModalContent,{className:g.default.marginBottom20},void 0,R("div",{className:T.default.description},void 0,v.default.Messages.CLOUD_SYNC_MODAL_CONFLICT_DESCRIPTION.format({applicationName:t.name})),this.renderConflictButton(v.default.Messages.CLOUD_SYNC_MODAL_CONFLICT_CHOICE_DOWNLOAD,n.remote.timestamp,T.default.conflictDownloadArt,this.handleChooseDownload),R(f.default,{className:T.default.choiceWrapper,align:f.default.Align.CENTER},void 0,R("div",{className:T.default.choiceLine}),R("div",{className:T.default.choiceTitle},void 0,v.default.Messages.CLOUD_SYNC_MODAL_OR),R("div",{className:T.default.choiceLine})),this.renderConflictButton(v.default.Messages.CLOUD_SYNC_MODAL_CONFLICT_CHOICE_UPLOAD,n.next.timestamp,T.default.conflictUploadArt,this.handleChooseUpload))},a.render=function(){var e=this.props,t=e.cloudSyncState,n=e.transitionState,r=t.type===m.CloudSyncStateTypes.CONFLICT?v.default.Messages.CLOUD_SYNC_MODAL_CONFLICT_HEADER:v.default.Messages.CLOUD_SYNC_MODAL_ERROR_HEADER;return R(p.ModalRoot,{transitionState:n,className:T.default.modal,"aria-label":r},void 0,R(p.ModalHeader,{separator:!1},void 0,R(p.ModalCloseButton,{className:T.default.closeButton,onClick:this.onClose}),R(_.default,{tag:_.default.Tags.H2,className:g.default.marginReset},void 0,r)),t.type===m.CloudSyncStateTypes.CONFLICT?this.renderConflict():this.renderError())},r}(i.PureComponent);L.displayName="CloudSyncResolutionModal";var D=a.default.connectStores([c.default,l.default],(function(e){var t=e.libraryApplication,n=e.branchId;return{cloudSyncState:c.default.getState(t.id,n),application:l.default.getGame(t.id)}}))(L);function C(e,t,n){return M.apply(this,arguments)}function M(){return(M=N(regeneratorRuntime.mark((function e(t,n,r){var o,a,c,d,f,_,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=(o=l.default.getGame(t))){e.next=3;break}return e.abrupt("return");case 3:if(a=r.cloudSync,c=void 0===a||a,d=r.cloudSyncForceHash,f=void 0===d?null:d,_=r.analyticsParams,!c||null==n){e.next=15;break}return p=n.branchId,e.prev=6,e.next=9,s.sync(n.id,p,f);case 9:e.next=15;break;case 11:return e.prev=11,e.t0=e.catch(6),(0,E.openModal)((function(e){return i.createElement(D,A({libraryApplication:n,analyticsParams:_,branchId:p},e))})),e.abrupt("return");case 15:return h.default.track(m.AnalyticEvents.APPLICATION_OPENED,A({application_id:o.id,application_name:o.name,type:m.AnalyticsGameOpenTypes.LAUNCH,distributor:null!=n?n.getDistributor():null},_)),e.abrupt("return",u.default.launch(o.id,null==n?void 0:n.branchId));case 17:case"end":return e.stop()}}),e,null,[[6,11]])})))).apply(this,arguments)}},function(e,t,n){"use strict";function r(e){if(this._capacity=a(e),this._length=0,this._front=0,this._makeCapacity(),i(e)){for(var t=e.length,n=0;n<t;++n)this[n]=e[n];this._length=t}}r.prototype.toArray=function(){for(var e=this._length,t=new Array(e),n=this._front,r=this._capacity,i=0;i<e;++i)t[i]=this[n+i&r-1];return t},r.prototype.push=function(e){var t=arguments.length,n=this._length;if(t>1){var r=this._capacity;if(n+t>r){for(var i=0;i<t;++i){this._checkCapacity(n+1),this[o=this._front+n&this._capacity-1]=arguments[i],n++,this._length=n}return n}for(var o=this._front,i=0;i<t;++i)this[o+n&r-1]=arguments[i],o++;return this._length=n+t,n+t}return 0===t?n:(this._checkCapacity(n+1),this[i=this._front+n&this._capacity-1]=e,this._length=n+1,n+1)},r.prototype.pop=function(){var e=this._length;if(0!==e){var t=this._front+e-1&this._capacity-1,n=this[t];return this[t]=void 0,this._length=e-1,n}},r.prototype.shift=function(){var e=this._length;if(0!==e){var t=this._front,n=this[t];return this[t]=void 0,this._front=t+1&this._capacity-1,this._length=e-1,n}},r.prototype.unshift=function(e){var t=this._length,n=arguments.length;if(n>1){if(t+n>(i=this._capacity)){for(var r=n-1;r>=0;r--){this._checkCapacity(t+1);var i=this._capacity;this[a=(this._front-1&i-1^i)-i]=arguments[r],t++,this._length=t,this._front=a}return t}var o=this._front;for(r=n-1;r>=0;r--){var a;this[a=(o-1&i-1^i)-i]=arguments[r],o=a}return this._front=o,this._length=t+n,t+n}if(0===n)return t;this._checkCapacity(t+1);i=this._capacity;return this[r=(this._front-1&i-1^i)-i]=e,this._length=t+1,this._front=r,t+1},r.prototype.peekBack=function(){var e=this._length;if(0!==e)return this[this._front+e-1&this._capacity-1]},r.prototype.peekFront=function(){if(0!==this._length)return this[this._front]},r.prototype.get=function(e){var t=e;if(t===(0|t)){var n=this._length;if(t<0&&(t+=n),!(t<0||t>=n))return this[this._front+t&this._capacity-1]}},r.prototype.isEmpty=function(){return 0===this._length},r.prototype.clear=function(){this._length=0,this._front=0,this._makeCapacity()},r.prototype.toString=function(){return this.toArray().toString()},r.prototype.valueOf=r.prototype.toString,r.prototype.removeFront=r.prototype.shift,r.prototype.removeBack=r.prototype.pop,r.prototype.insertFront=r.prototype.unshift,r.prototype.insertBack=r.prototype.push,r.prototype.enqueue=r.prototype.push,r.prototype.dequeue=r.prototype.shift,r.prototype.toJSON=r.prototype.toArray,Object.defineProperty(r.prototype,"length",{get:function(){return this._length},set:function(){throw new RangeError("")}}),r.prototype._makeCapacity=function(){for(var e=this._capacity,t=0;t<e;++t)this[t]=void 0},r.prototype._checkCapacity=function(e){this._capacity<e&&this._resizeTo(a(1.5*this._capacity+16))},r.prototype._resizeTo=function(e){var t=this._front,n=this._capacity,r=new Array(n),i=this._length;if(o(this,0,r,0,n),this._capacity=e,this._makeCapacity(),this._front=0,t+i<=n)o(r,t,this,0,i);else{var a=i-(t+i&n-1);o(r,t,this,0,a),o(r,0,this,a,i-a)}};var i=Array.isArray;function o(e,t,n,r,i){for(var o=0;o<i;++o)n[o+r]=e[o+t]}function a(e){if("number"!=typeof e){if(!i(e))return 16;e=e.length}return t=Math.min(Math.max(16,e),1073741824),t>>>=0,t-=1,t|=t>>1,t|=t>>2,t|=t>>4,t|=t>>8,1+(t|=t>>16);var t}e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={init:function(){},donateSentMessage:function(e,t){}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={clear:function(){},channelRendered:function(e){},appStateChanged:function(e){},messageFetchStart:function(e){},messageFetchEnd:function(e){},notificationTapped:function(e,t,n,r){}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(101)),i=s(n(185)),o=s(n(249)),a=s(n(261));function s(e){return e&&e.__esModule?e:{default:e}}var u={s:{match:r.default.inlineRegex(/^~~([\s\S]+?)~~(?!_)/)},highlight:{order:r.default.defaultRules.text.order,match:function(){return null}},emoji:{order:r.default.defaultRules.text.order,match:function(e){var t=i.default.EMOJI_NAME_AND_DIVERSITY_RE.exec(e);return null!=t&&""!==i.default.convertNameToSurrogate(t[1])?t:null},parse:function(e){var t=e[0],n=e[1],r=i.default.convertNameToSurrogate(n);return r?{name:":"+n+":",surrogate:r,src:a.default.getURL(r)}:{type:"text",content:t}}},customEmoji:{order:r.default.defaultRules.codeBlock.order,match:function(e){return/^<(a)?:(\w+):(\d+)>/.exec(e)},parse:function(e,t,n){e[0];var r=e[1],i=e[2],a=e[3],s=n.guildId,u=o.default.getDisambiguatedEmojiContext(s).getById(a),l=!u||u.require_colons;return u&&(i=u.name),{emojiId:a,name:l?":"+i+":":i,animated:"a"===r}}},text:{parse:function(e){var t=i.default.findInlineEmojisFromSurrogates(e[0]),n=0;return t.map((function(e){if("text"===e.type){var t={index:n,0:e.text};return n+=e.text.length,{type:"text",content:e.text,originalMatch:t}}var r={index:n,0:e.surrogate};return n+=e.surrogate.length,{type:"emoji",name:e.emojiName,surrogate:e.surrogate,src:a.default.getURL(e.surrogate),originalMatch:r}}))}}};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.installApplication=function(e,t,n,l,c){var f=a.default.getInstallationPath(e.id,t),_=null!=e.eulaId&&!s.default.hasAcceptedEULA(e.eulaId);null==f||_?(0,u.openModal)((function(n){return r.createElement(o.default,d({},n,{applicationId:e.id,branchId:t,analyticsLocation:c}))})):(0,i.installApplication)(e,t,n,l,f,c)};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(266),o=l(n(5533)),a=l(n(210)),s=l(n(426)),u=n(41);function l(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(){return(d=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=R(n(3)),a=R(n(2)),s=n(421),u=n(1391),l=n(1325),c=n(266),d=R(n(485)),f=n(42),_=R(n(71)),p=R(n(210)),E=R(n(306)),h=R(n(426)),m=R(n(29)),v=R(n(55)),T=R(n(477)),g=n(35),I=R(n(47)),S=n(380),y=R(n(1396)),A=n(1),O=R(n(6)),N=R(n(5800));function R(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function L(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var C=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={selectedInstallationPath:t.props.defaultInstallationPath,hasError:!1,isInstalling:!1,hasAcceptedNeccessaryTerms:!1},t.isUnmounted=!1,t.handleChangePath=function(e,n){t.setState({selectedInstallationPath:e,hasError:n})},t.install=function(e,n){var r=t.props,i=r.application,o=r.branchId,a=r.analyticsLocation;if(null==i)return null;(0,c.installApplication)(i,o,e,n,t.state.selectedInstallationPath,a),(0,f.transitionTo)(A.Routes.APPLICATION_LIBRARY),t.close()},t.handleInstall=function(){var e=t.props,n=e.application,r=e.buildId,i=e.manifestIds,o=e.hasPreviouslyAcceptedStoreTerms;if(null==r||null==i)throw new Error("Unexpected missing build info for non-premium product");o||(0,l.acceptPurchaseTerms)(),null!=n&&null!=n.eulaId&&(0,l.acceptEULA)(n.eulaId),t.install(r,i)},t.handlePurchaseTermsChange=function(e){t.setState({hasAcceptedNeccessaryTerms:e})},t.close=function(){t.props.onClose()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,D(t,n);var i=r.prototype;return i.fetchInstallSize=function(){var e=this.props,t=e.applicationId,n=e.branchId,r=e.buildId,i=e.manifestIds,o=e.buildSizeKB;null!=r&&null!=i&&null==o&&a.default.wait((function(){(0,u.fetchBuildSize)(t,n,r,i)}))},i.componentDidMount=function(){var e=this.props,t=e.applicationId,n=e.branchId,r=e.buildId,i=e.manifestIds;null==r||null==i?(0,s.fetchLiveBuild)(t,n):this.fetchInstallSize()},i.componentDidUpdate=function(e){this.props.buildId===e.buildId&&this.props.manifestIds===e.manifestIds||this.fetchInstallSize()},i.componentWillUnmount=function(){this.isUnmounted=!0},i.renderButton=function(){var e=this.props.buildId,t=this.state,n=t.hasError,r=t.hasAcceptedNeccessaryTerms;return L(m.default,{disabled:n||null==e||!r,color:m.default.Colors.GREEN,onClick:this.handleInstall},void 0,O.default.Messages.GAME_ACTION_BUTTON_INSTALL)},i.render=function(){var e=this.props,t=e.application,n=e.buildSizeKB,r=e.transitionState,i=this.state,o=i.selectedInstallationPath,a=i.isInstalling,s=null!=t&&t.getSplashURL(440);return L(g.ModalRoot,{transitionState:r,size:g.ModalSize.SMALL,"aria-label":O.default.Messages.APPLICATION_INSTALLATION_MODAL_TITLE},void 0,null!=s?L("div",{className:N.default.splash,style:{backgroundImage:"url("+s+")"}}):null,L(g.ModalHeader,{justify:v.default.Justify.BETWEEN},void 0,L(v.default.Child,{grow:1},void 0,L(I.default,{tag:I.default.Tags.H2,size:I.default.Sizes.SIZE_20},void 0,O.default.Messages.APPLICATION_INSTALLATION_MODAL_TITLE)),L(v.default.Child,{grow:0},void 0,L(g.ModalCloseButton,{onClick:this.close}))),L(g.ModalContent,{},void 0,L(v.default,{align:v.default.Align.CENTER},void 0,L(T.default,{game:t,size:T.default.Sizes.MEDIUM,className:N.default.gameIcon}),L("div",{className:N.default.gameName},void 0,null!=t&&t.name),null!=n?L("div",{className:N.default.installSize},void 0,(0,S.formatSize)(n,{useKibibytes:!0})):null),L("div",{className:N.default.divider}),L(y.default,{autoFocus:!0,className:N.default.selector,value:o,requiredDiskKB:n,onChange:this.handleChangePath}),L(d.default,{eulaId:t.eulaId,applicationName:t.name,disabled:a,onChange:this.handlePurchaseTermsChange,className:N.default.terms})),L(g.ModalFooter,{},void 0,this.renderButton()))},r}(i.Component);C.displayName="ApplicationInstallationModal";var M=o.default.connectStores([p.default,_.default,E.default,h.default],(function(e){var t=e.applicationId,n=e.branchId,r=E.default.getTargetBuildId(t,n);return{application:_.default.getGame(t),defaultInstallationPath:p.default.defaultInstallationPath,buildId:r,manifestIds:E.default.getTargetManifests(t,n),buildSizeKB:null!=r?E.default.getBuildSize(r):null,hasPreviouslyAcceptedStoreTerms:h.default.hasAcceptedStoreTerms}}))(C);t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(3),a=n(5535),s=E(n(5536)),u=E(n(55)),l=E(n(1392)),c=E(n(151)),d=n(35),f=E(n(47)),_=E(n(6)),p=E(n(5795));function E(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function m(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t,n=e.eulaId,r=e.transitionState,E=e.onClose,h=(0,o.useStateFromStores)([s.default],(function(){return s.default.getEULA(n)}));i.useEffect((function(){(0,a.fetchEULA)(n)}),[n]);var v=null!==(t=null==h?void 0:h.name)&&void 0!==t?t:_.default.Messages.LOADING,T=h?m(l.default,{children:h.content,className:p.default.markdown}):m(c.default,{className:p.default.spinner});return m(d.ModalRoot,{transitionState:r,size:d.ModalSize.SMALL,"aria-label":v||_.default.Messages.LOADING},void 0,m(d.ModalHeader,{justify:u.default.Justify.BETWEEN},void 0,m(f.default,{tag:f.default.Tags.H2,size:f.default.Sizes.SIZE_20},void 0,v),m(d.ModalCloseButton,{onClick:E})),m(d.ModalContent,{},void 0,T))}v.displayName="EULAModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchEULA=function(e){return l.apply(this,arguments)};var r=a(n(14)),i=a(n(2)),o=n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){s(o,r,i,a,u,"next",e)}function u(e){s(o,r,i,a,u,"throw",e)}a(void 0)}))}}function l(){return(l=u(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.default.get({url:o.Endpoints.STORE_EULA(t),oldFormErrors:!0});case 2:n=e.sent,i.default.dispatch({type:o.ActionTypes.EULA_FETCH_SUCCESS,eula:n.body});case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),i=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s={};var u=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n),r.prototype.getEULA=function(e){return s[e]},r}(r.default.Store))(i.default,{EULA_FETCH_SUCCESS:function(e){var t=e.eula;s[t.id]=t}});t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(101))&&r.__esModule?r:{default:r},o=n(1134);function a(){return(a=Object.assign||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}).apply(this,arguments)}function s(e,t,n,r,i){var s;return n||(t+="\n\n"),s=e(t,a({inline:n},r)),s=(0,o.flattenAst)(s),s=(0,o.constrainAst)(s),i&&(s=i(s,n)),s}var u={reactParserFor:function(e){var t=i.default.parserFor(e),n=i.default.reactFor(i.default.ruleOutput(e,"react"));return function(e,r,i,o){return void 0===e&&(e=""),void 0===r&&(r=!0),void 0===i&&(i={}),void 0===o&&(o=null),n(s(t,e,r,i,o),i)}},astParserFor:function(e){var t=i.default.parserFor(e);return function(e,n,r,i){return void 0===e&&(e=""),void 0===n&&(n=!0),void 0===r&&(r={}),void 0===i&&(i=null),s(t,e,n,r,i)}}};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trustDomain=function(e){i.default.dispatch({type:o.ActionTypes.MASKED_LINK_ADD_TRUSTED_DOMAIN,url:e})},t.trustProtocol=function(e){i.default.dispatch({type:o.ActionTypes.MASKED_LINK_ADD_TRUSTED_PROTOCOL,url:e})};var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),i=l(n(28)),o=l(n(2)),a=n(293),s=l(n(186)),u=n(1135);n(1);function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=new Set,f=new Set;function _(e){var t=(0,u.getHostname)(e);switch(t){case window.GLOBAL_ENV.CDN_HOST:case window.GLOBAL_ENV.INVITE_HOST:case window.GLOBAL_ENV.GIFT_CODE_HOST:case window.GLOBAL_ENV.GUILD_TEMPLATE_HOST:case location.hostname:return!0;default:return a.SPOTIFY_HOSTNAMES.includes(t)||s.default.isDiscordHostname(t)||d.has(t)}}function p(e){var t=(0,u.getProtocol)(e);return f.has(t)}var E=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var o=r.prototype;return o.initialize=function(){var e=i.default.get("MaskedLinkStore")||{};if(Array.isArray(e))d=new Set(null!=e?Array.from(e):null),f=new Set;else{var t=e.trustedDomains,n=e.trustedProtocols;d=new Set(null!=t?Array.from(t):null),f=new Set(null!=n?Array.from(n):null)}},o.isTrustedDomain=function(e){return _(e)},o.isTrustedProtocol=function(e){return p(e)},r}(r.default.Store))(o.default,{MASKED_LINK_ADD_TRUSTED_DOMAIN:function(e){var t=e.url;if(_(t))return!1;d.add((0,u.getHostname)(t)),i.default.set("MaskedLinkStore",{trustedDomains:d,trustedProtocols:f})},MASKED_LINK_ADD_TRUSTED_PROTOCOL:function(e){var t=e.url;if(p(t))return!1;f.add((0,u.getProtocol)(t)),i.default.set("MaskedLinkStore",{trustedDomains:d,trustedProtocols:f})}});t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o=d(n(0)),a=n(3),s=n(1394),u=d(n(1431)),l=(r=n(5541))&&r.__esModule?r:{default:r};function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function f(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function _(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){_(o,r,i,a,s,"next",e)}function s(e){_(o,r,i,a,s,"throw",e)}a(void 0)}))}}function E(){return(E=p(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.applyPublicBuildOverride)(t);case 2:if(200===e.sent.status){e.next=5;break}throw new Error("Build override couldn't apply");case 5:window.location.reload(!0);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(){return m.apply(this,arguments)}function m(){return(m=p(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.clearBuildOverride)();case 2:window.location.reload(!0);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var v=o.memo((function(e){var t=e.url,n=(0,a.useStateFromStores)([u.default],(function(){return u.default.getCurrentBuildOverride()})),r=(0,a.useStateFromStores)([u.default],(function(){return u.default.getBuildOverride(t)})),i=r.payload,s=r.validatedURL,c=n.state===u.State.Resolving||r.state===u.State.Resolving,d=o.useCallback((function(){return null!=i?function(e){return E.apply(this,arguments)}(i):Promise.reject(new Error("Invalid override payload"))}),[i]);return null!=s?f(l.default,{loading:c,linkMeta:r.override,currentOverrides:n.overrides,applyBuildOverride:d,clearBuildOverride:h,url:s}):null}));t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CopyLink=O,t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=I(n(9)),a=I(n(23)),s=I(n(271)),u=I(n(29)),l=I(n(61)),c=I(n(1236)),d=I(n(736)),f=I(n(5542)),_=I(n(47)),p=I(n(24)),E=I(n(93)),h=n(1163),m=I(n(5543)),v=n(1),T=I(n(6)),g=I(n(5792));function I(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function y(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var A=["discord_web"];function O(e){var t=e.url,n=i.useState(!1),r=n[0],a=n[1],s=i.useRef(void 0),u=i.useCallback((function(){r||((0,h.copy)(t)&&a(!0),s.current=setTimeout((function(){return a(!1)}),2e3))}),[t,r]);return i.useEffect((function(){return function(){return clearTimeout(s.current)}}),[]),h.SUPPORTS_COPY?y(l.default,{className:(0,o.default)(g.default.copyLink,r?g.default.copied:null),onClick:u},void 0,y(d.default,{className:g.default.copyLinkIcon}),r?T.default.Messages.BUILD_OVERRIDE_LINK_COPIED:T.default.Messages.BUILD_OVERRIDE_LINK_COPY):null}function N(){return y(i.Fragment,{},void 0,y("div",{className:g.default.buildInfo},void 0,y("div",{className:(0,o.default)(g.default.barLoader,g.default.barTitle)}),y("div",{className:g.default.barLoader})),y("div",{className:g.default.buttonLoader}))}function R(e){var t=e.subHead,n=e.buildDetails,r=e.buttonColor,a=e.buttonClick,s=e.buttonText,l=e.disabled,c=void 0!==l&&l,d=e.submitting,f=void 0!==d&&d;return y(i.Fragment,{},void 0,y("div",{className:g.default.buildInfo},void 0,y(p.default,{size:p.default.Sizes.SIZE_14,className:g.default.subHead},void 0,t),y("div",{className:g.default.buildDetails},void 0,n)),y(u.default,{submitting:f,color:r,onClick:a,className:(0,o.default)(g.default.button,c?g.default.disabledButtonOverride:null),size:g.default.buttonSize,disabled:c},void 0,s))}function b(e){var t,n=e.currentOverrides,r=e.linkMeta,i=e.applyBuildOverride,o=e.clearBuildOverride,s=e.submitting,l=(0,m.default)(r,A);if(!l.valid)return t=l.reason,R({subHead:T.default.Messages.BUILD_OVERRIDE_ISNT_AVAILABLE,buttonColor:u.default.Colors.TRANSPARENT,buttonText:"Invalid",buildDetails:t,disabled:!0});(0,a.default)(null!=r,"BuildOverrideEmbed.renderResolved: linkMeta should never be null if resolved");var c,d,f,_=r.targetBuildOverride.discord_web;return(0,a.default)(null!=_,"BuildOverrideEmbed.renderResolved: linkMeta.targetBuildOverride.discord_web should never be null if resolved"),!function(e,t){return null!=t&&null!=t.discord_web&&(e.id===t.discord_web.id&&e.type===t.discord_web.type)}(_,n)?(d=T.default.Messages.BUILD_OVERRIDE_APPLY,c=i,f=u.default.Colors.GREEN):(d=T.default.Messages.BUILD_OVERRIDE_CLEAR,c=o,f=u.default.Colors.RED),R({subHead:T.default.Messages.BUILD_OVERRIDE_ID,buildDetails:_.id,buttonClick:c,buttonText:d,buttonColor:f,submitting:s})}function L(e,t,n){return y(p.default,{size:_.default.Sizes.SIZE_12,className:g.default.titleRegion},void 0,y("strong",{className:g.default.title},void 0,null!=e&&null!=e.releaseChannel?T.default.Messages.BUILD_OVERRIDE_FOR.format({releaseChannel:e.releaseChannel}):T.default.Messages.BUILD_OVERRIDE),y(s.default,{className:g.default.infoLink,href:E.default.getArticleURL(v.HelpdeskArticles.BUILD_OVERRIDE_EMBED),target:"_blank"},void 0,y(c.default,{className:g.default.infoIcon})),n?null:y(O,{url:t}))}N.displayName="renderLoading",R.displayName="renderContent",L.displayName="renderTitle";var D=function(e){var t=e.loading,n=void 0!==t&&t,r=e.currentOverrides,o=e.linkMeta,a=e.url,s=e.applyBuildOverride,u=e.clearBuildOverride,l=i.useState(!1),c=l[0],d=l[1],_=i.useCallback((function(){c||(d(!0),s().catch((function(){return d(!1)})))}),[s,c]),p=i.useCallback((function(){c||(d(!0),u().catch((function(){return d(!1)})))}),[u,c]);return y("div",{className:g.default.wrapper},void 0,L(o,a,n),y("div",{className:g.default.content},void 0,y(f.default,{className:g.default.icon}),n?N():b({currentOverrides:r,linkMeta:o,applyBuildOverride:_,clearBuildOverride:p,submitting:c})))};D.displayName="BuildOverrideEmbed";var C=D;t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(5791))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var l=o.memo((function(e){return u("svg",{width:"57",height:"40",viewBox:"0 0 57 40",fill:"none",className:e.className},void 0,u("path",{d:"M49.4949 36H3.9596C1.78182 36 0 34.2486 0 32.1081V3.89189C0 1.75135 1.78182 0 3.9596 0H49.4949C51.6727 0 53.4545 1.75135 53.4545 3.89189V32.1081C53.4545 34.2486 51.6727 36 49.4949 36Z",className:a.default.svgContentRight}),u("path",{d:"M44.5456 10.8889H25.7375C24.6486 10.8889 23.7577 9.99798 23.7577 8.90909C23.7577 7.8202 24.6486 6.92929 25.7375 6.92929H44.5456C45.6345 6.92929 46.5254 7.8202 46.5254 8.90909C46.5254 9.99798 45.6345 10.8889 44.5456 10.8889ZM19.7981 10.8889C18.7092 10.8889 17.8183 9.99798 17.8183 8.90909C17.8183 7.8202 18.7092 6.92929 19.7981 6.92929C20.887 6.92929 21.7779 7.8202 21.7779 8.90909C21.7779 9.99798 20.887 10.8889 19.7981 10.8889ZM44.5456 19.798H25.7375C24.6486 19.798 23.7577 18.9071 23.7577 17.8182C23.7577 16.7293 24.6486 15.8384 25.7375 15.8384H44.5456C45.6345 15.8384 46.5254 16.7293 46.5254 17.8182C46.5254 18.9071 45.6345 19.798 44.5456 19.798ZM19.7981 19.798C18.7092 19.798 17.8183 18.9071 17.8183 17.8182C17.8183 16.7293 18.7092 15.8384 19.7981 15.8384C20.887 15.8384 21.7779 16.7293 21.7779 17.8182C21.7779 18.9071 20.887 19.798 19.7981 19.798ZM31.6365 28.7071H25.7375C24.6486 28.7071 23.7577 27.8162 23.7577 26.7273C23.7577 25.6384 24.6486 24.7475 25.7375 24.7475H31.6365C32.7254 24.7475 33.6163 25.6384 33.6163 26.7273C33.6163 27.8162 32.7254 28.7071 31.6365 28.7071ZM19.7981 28.7071C18.7092 28.7071 17.8183 27.8162 17.8183 26.7273C17.8183 25.6384 18.7092 24.7475 19.7981 24.7475C20.887 24.7475 21.7779 25.6384 21.7779 26.7273C21.7779 27.8162 20.887 28.7071 19.7981 28.7071Z",className:a.default.svgContentLines}),u("path",{d:"M3.9596 36H13.8586V0H3.9596C1.78182 0 0 1.78182 0 3.9596V32.0404C0 34.2182 1.78182 36 3.9596 36Z",className:a.default.svgContentLeft}),u("path",{d:"M6.9293 10.8889C5.24647 10.8889 3.9596 9.60202 3.9596 7.91919C3.9596 6.23636 5.24647 4.94949 6.9293 4.94949C8.61212 4.94949 9.89899 6.23636 9.89899 7.91919C9.89899 9.60202 8.61212 10.8889 6.9293 10.8889ZM6.9293 20.7879C5.24647 20.7879 3.9596 19.501 3.9596 17.8182C3.9596 16.1354 5.24647 14.8485 6.9293 14.8485C8.61212 14.8485 9.89899 16.1354 9.89899 17.8182C9.89899 19.501 8.61212 20.7879 6.9293 20.7879ZM6.9293 30.6869C5.24647 30.6869 3.9596 29.4 3.9596 27.7172C3.9596 26.0343 5.24647 24.7475 6.9293 24.7475C8.61212 24.7475 9.89899 26.0343 9.89899 27.7172C9.89899 29.4 8.61212 30.6869 6.9293 30.6869Z",className:a.default.svgDots}),u("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.4328 33L46 37.7129L43.7836 40L37 32.9999L39.2164 30.7128L39.2165 30.7129L43.7836 26L46 28.2871L41.4328 33Z",className:a.default.svgTag}),u("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M54.7821 35.2871L54.7841 35.2892L57 33.0021L50.2159 26L48 28.2871L52.5662 33L48 37.7129L50.2159 40L54.7821 35.2871Z",className:a.default.svgTag}))}));t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(null==e||null==t)return{valid:!1,reason:a.default.Messages.BUILD_OVERRIDE_INVALID};var s=e.releaseChannel,u=e.expiresAt,l=e.validForUserIds,c=e.allowedVersions,d=e.targetBuildOverride,f=Object.keys(d);if(0===r.default.intersection(f,t).length)return{valid:!1,reason:a.default.Messages.BUILD_OVERRIDE_INCOMPATIBLE_TARGETS.format({supportedTargets:t.join(", ")})};if(null!=s&&s!==window.GLOBAL_ENV.RELEASE_CHANNEL){var _=s===o.PublicReleaseChannels.PTB?s.toUpperCase():""+s.charAt(0).toUpperCase()+s.slice(1);return{valid:!1,reason:a.default.Messages.BUILD_OVERRIDE_INCOMPATIBLE_CLIENT.format({releaseChannel:_})}}if(null!=c&&(null==n||!c.includes(n)))return{valid:!1,reason:a.default.Messages.BUILD_OVERRIDE_INCOMPATIBLE_CLIENT.format({releaseChannel:c.join(", ")})};var p=null!=u?new Date(u).getTime():null;if(null!=p&&p<Date.now())return{valid:!1,reason:a.default.Messages.BUILD_OVERRIDE_EXPIRED};if(l.length>0&&!l.includes(i.default.getId()))return{valid:!1,reason:a.default.Messages.BUILD_OVERRIDE_INVALID_USER};return{valid:!0}};var r=s(n(8)),i=s(n(11)),o=n(1),a=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLinkTrusted=function(e){return(0,i.isLinkTrusted)(e.target,e.title||(0,r.astToString)(e.content))};var r=n(718),i=n(730)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?24:t,r=e.height,i=void 0===r?24:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 40 40"}),l("g",{fill:"none",fillRule:"evenodd"},void 0,l("path",{className:d,fill:c,fillOpacity:".8",d:"M21.226 30v-4.154h-3.755V30h3.755zm-.512-8.62c3.67-1.337 5.718-2.959 5.718-6.145 0-3.272-2.36-5.235-6.088-5.235-2.589 0-4.637.825-6.344 2.048l.484 3.3c1.621-1.251 3.47-2.162 5.49-2.162 1.707 0 2.845.854 2.845 2.305 0 1.593-1.08 2.475-3.812 3.442l-.882.342.342 4.523 2.076-.455.171-1.963z"}),l("rect",{className:d,width:"38",height:"38",x:"1",y:"1",stroke:c,strokeOpacity:".4",strokeWidth:"2",rx:"5"}),l("circle",{className:d,cx:"7",cy:"7",r:"2",fill:c,fillOpacity:".4"}),l("circle",{className:d,cx:"7",cy:"33",r:"2",fill:c,fillOpacity:".4"}),l("circle",{className:d,cx:"33",cy:"7",r:"2",fill:c,fillOpacity:".4"}),l("circle",{className:d,cx:"33",cy:"33",r:"2",fill:c,fillOpacity:".4"})))}c.displayName="ApplicationPlaceholder"},function(e,t,n){e.exports=n.p+"89cf77d39a9bf300e1b7dffd7d5f238b.svg"},function(e,t,n){e.exports=n.p+"95a99c20457b563a45238e98545c2744.svg"},function(e,t,n){e.exports=n.p+"f6cbcdc9366fb8d31e03bdc6c9c50246.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(13)),i=n(912),o=a(n(105));function a(e){return e&&e.__esModule?e:{default:e}}var s=i.AccessibilityFeatureFlags.NONE;function u(e,t){t?s|=e:s&=~e}var l={init:function(){o.default.addChangeListener(this.handleAccessibilityStoreChanged);var e=window.matchMedia("(prefers-color-scheme: dark)");e.addListener(this.handlePrefersColorSchemeDarkChanged),this.handlePrefersColorSchemeDarkChanged(e);var t=window.matchMedia("(prefers-color-scheme: light)");t.addListener(this.handlePrefersColorSchemeLightChanged),this.handlePrefersColorSchemeLightChanged(t);var n=window.matchMedia("(inverted-colors: inverted)");n.addListener(this.handleInvertColorsChanged),this.handleInvertColorsChanged(n),r.default.setSystemAccessibilityFeatures(this.getActiveFeatures)},getActiveFeatures:function(){return s},handlePrefersColorSchemeDarkChanged:function(e){u(i.AccessibilityFeatureFlags.PREFERS_COLOR_SCHEME_DARK,e.matches)},handlePrefersColorSchemeLightChanged:function(e){u(i.AccessibilityFeatureFlags.PREFERS_COLOR_SCHEME_LIGHT,e.matches)},handleInvertColorsChanged:function(e){u(i.AccessibilityFeatureFlags.INVERT_COLORS,e.matches)},handleAccessibilityStoreChanged:function(){u(i.AccessibilityFeatureFlags.SCREENREADER,o.default.accessibilitySupportEnabled),u(i.AccessibilityFeatureFlags.REDUCED_MOTION,o.default.useReducedMotion),u(i.AccessibilityFeatureFlags.REDUCED_MOTION_FROM_USER_SETTINGS,"auto"!==o.default.rawPrefersReducedMotion),u(i.AccessibilityFeatureFlags.CHAT_FONT_SCALE_DECREASED,o.default.isFontScaledDown),u(i.AccessibilityFeatureFlags.CHAT_FONT_SCALE_INCREASED,o.default.isFontScaledUp),u(i.AccessibilityFeatureFlags.ZOOM_LEVEL_DECREASED,o.default.isZoomedOut),u(i.AccessibilityFeatureFlags.ZOOM_LEVEL_INCREASED,o.default.isZoomedIn),u(i.AccessibilityFeatureFlags.MESSAGE_GROUP_SPACING_DECREASED,o.default.isMessageGroupSpacingDecreased),u(i.AccessibilityFeatureFlags.MESSAGE_GROUP_SPACING_INCREASED,o.default.isMessageGroupSpacingIncreased),u(i.AccessibilityFeatureFlags.DARK_SIDEBAR,o.default.darkSidebar),u(i.AccessibilityFeatureFlags.SATURATION_LEVEL_DECREASED,o.default.saturation<1)}};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(184)),i=a(n(105)),o=n(445);function a(e){return e&&e.__esModule?e:{default:e}}var s,u=!1,l={};function c(){if(u){var e=null===o.ACTIVE_RING_CONTEXT_MANAGER||void 0===o.ACTIVE_RING_CONTEXT_MANAGER?void 0:o.ACTIVE_RING_CONTEXT_MANAGER.getStyle();null==e||(0,r.default)(e,l)?null!=s&&cancelAnimationFrame(s):(l=e,null===o.ACTIVE_RING_CONTEXT_MANAGER||void 0===o.ACTIVE_RING_CONTEXT_MANAGER||o.ACTIVE_RING_CONTEXT_MANAGER.invalidate()),s=requestAnimationFrame(c)}}var d={init:function(){var e=this;i.default.addChangeListener((function(){i.default.keyboardModeEnabled?e.enableAnimationTracking():e.disableAnimationTracking()}))},enableAnimationTracking:function(){u=!0,s=requestAnimationFrame(c)},disableAnimationTracking:function(){u=!1,null!=s&&cancelAnimationFrame(s)}};t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?12:t,r=e.height,i=void 0===r?12:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 12 12"}),l("polygon",{fill:c,className:d,fillRule:"evenodd",points:"11 1.576 6.583 6 11 10.424 10.424 11 6 6.583 1.576 11 1 10.424 5.417 6 1 1.576 1.576 1 6 5.417 10.424 1"}))}c.displayName="TitleBarClose"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?12:t,r=e.height,i=void 0===r?12:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 12 12"}),l("path",{stroke:c,className:d,fill:"none",d:"M8.5,3.5 L6,6 L3.5,3.5 L6,6 L3.5,8.5 L6,6 L8.5,8.5 L6,6 L8.5,3.5 Z"}))}c.displayName="TitleBarCloseMac"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?12:t,r=e.height,i=void 0===r?12:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 12 12"}),l("rect",{width:"9",height:"9",x:"1.5",y:"1.5",fill:"none",stroke:c,className:d}))}c.displayName="TitleBarMaximize"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=(r=n(22))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(){return(u=Object.assign||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}).apply(this,arguments)}function l(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t=e.width,n=void 0===t?12:t,r=e.height,i=void 0===r?12:r,s=e.color,c=void 0===s?"currentColor":s,d=e.foreground,f=function(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}(e,["width","height","color","foreground"]);return o.createElement("svg",u({},(0,a.default)(f),{width:n,height:i,viewBox:"0 0 12 12"}),l("rect",{className:d,fill:c,width:"10",height:"1",x:"1",y:"6"}))}c.displayName="TitleBarMinimize"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=Y(n(0)),o=k(n(9)),a=n(422),s=n(3),u=n(5556),l=n(123),c=k(n(105)),d=k(n(416)),f=k(n(5557)),_=n(277),p=k(n(1433)),E=n(88),h=k(n(39)),m=k(n(161)),v=k(n(1149)),T=k(n(447)),g=k(n(284)),I=n(165),S=n(1230),y=n(761),A=Y(n(745)),O=n(248),N=k(n(16)),R=n(299),b=k(n(754)),L=k(n(1345)),D=k(n(1437)),C=k(n(1201)),M=k(n(1438)),P=k(n(5659)),w=n(1),U=k(n(5818));function k(e){return e&&e.__esModule?e:{default:e}}function G(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return G=function(){return e},e}function Y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=G();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function x(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function V(){return(V=Object.assign||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}).apply(this,arguments)}n(1346);var H=(0,_.makeLazy)({createPromise:function(){return Promise.all([n.e(0),n.e(24)]).then(n.t.bind(null,1347,7))},webpackId:1347,name:"Popouts"});Promise.all([n.e(0),n.e(2),n.e(16)]).then(n.t.bind(null,5859,7)).then((function(e){N.default.embedded?window.addEventListener("contextmenu",e.contextMenuCallbackNative,!1):window.addEventListener("contextmenu",e.contextMenuCallbackWeb,!1)}));var F=i.memo((function(e){var t=(0,s.useStateFromStores)([m.default],(function(){return m.default.isFocused()}));return i.createElement(C.default,V({},e,{focused:t}))})),B=x(p.default,{}),j=x(O.MaskLibrary,{}),W=x(v.default,{}),K=x(a.FocusGuard,{}),z=x(H,{}),q=x(M.default,{}),X=x(A.default,{}),J=x(P.default,{}),Q=x(S.FullScreenLayers,{}),Z=x(I.AppLayerContainer,{}),$=x(y.VerificationLayerContainer,{}),ee=x(f.default,{}),te=x(a.FocusGuard,{});function ne(e){var t=e.children,n=N.default.getPlatform(),r=R.isMobile||R.isTablet;r&&u.MobileWebScrollExperiment.trackExposure({});var a=u.MobileWebScrollExperiment.useExperiment({},{disable:!r})[0],f=(0,s.useStateFromStores)([h.default],(function(){return h.default.theme})),_=(0,s.useStateFromStores)([c.default],(function(){return c.default.darkSidebar?w.ThemeTypes.DARK:void 0})),p=(0,s.useStateFromStoresObject)([c.default],(function(){return{enabled:c.default.useReducedMotion,rawValue:c.default.rawPrefersReducedMotion}})),m=i.useMemo((function(){return{reducedMotion:p}}),[p]),v=i.useRef(document.body);return x(g.default.Provider,{value:f},void 0,x(l.AccessibilityPreferencesContext.Provider,{value:m},void 0,B,!1,x(D.default,{},void 0,x(L.default,{},void 0,x(E.FocusRingScope,{containerRef:v},void 0,j,W,K,null!=n?x(F,{type:n,themeOverride:_}):null,x(I.AppLayerProvider,{},void 0,x(y.VerificationLayerProvider,{},void 0,x(T.default.Provider,{value:d.default},void 0,x(A.ModalProvider,{},void 0,x("div",{className:(0,o.default)(a.canScrollOnMobile?U.default.mobileApp:U.default.app)},void 0,t),x(b.default,{context:w.AppContext.APP}),z,q,X,J,Q,Z,$),ee))),te)))))}ne.displayName="AppSkeleton";var re=ne;t.default=re},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MobileWebScrollExperiment=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2021-03_mobile_web_scroll_experiment",label:"Add scroll to mobile web",defaultConfig:{canScrollOnMobile:!1},treatments:[{id:1,label:"Enable Mobile Scroll on web",config:{canScrollOnMobile:!0}}]});t.MobileWebScrollExperiment=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t,n,r,f=(0,h.useImpressionStore)((function(e){return{debugTrackedData:e.debugTrackedData,impressions:e.impressions}})),_=f.debugTrackedData,v=f.impressions,T=(0,a.useStateFromStores)([u.default],(function(){return u.default.isAnalyticsDebuggerEnabled})),y=(0,a.useStateFromStores)([s.default],(function(){return s.default.isDeveloper})),A=i.useState(!1),O=A[0],N=A[1],R=null!=_?_:{},b=R.name,L=function(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}(R,["name"]),D=null!=b;return y&&T?g(p.default,{},void 0,g("div",{className:(0,o.default)(m.default.container,(e={},e[m.default.containerMinimized]=O,e[m.default.notTracked]=!D,e))},void 0,g(l.default,{className:m.default.minimizeButton,onClick:function(){N(!O)}},void 0,O?I:S),g("div",{className:(0,o.default)(m.default.content,(t={},t[m.default.contentMinimized]=O,t))},void 0,g(E.default,{className:(0,o.default)(m.default.label,(n={},n[m.default.notTracked]=!D,n)),size:E.default.Sizes.SIZE_10},void 0,D?g(c.default,{className:m.default.iconTracked}):g(d.default,{className:m.default.iconNotTracked}),null!=b?b:"(untracked)"),g("div",{className:m.default.current},void 0,JSON.stringify(L,void 0,2)),g(E.default,{className:(0,o.default)(m.default.label,(r={},r[m.default.notTracked]=!D,r)),size:E.default.Sizes.SIZE_10},void 0,"impressions stack"),g("div",{className:m.default.stack},void 0,JSON.stringify(v,void 0,2))))):null};var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=v(n(9)),a=n(3),s=v(n(759)),u=v(n(267)),l=v(n(61)),c=v(n(729)),d=v(n(686)),f=v(n(1136)),_=v(n(1137)),p=v(n(165)),E=v(n(24)),h=n(435),m=v(n(5809));function v(e){return e&&e.__esModule?e:{default:e}}function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function g(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var I=g(f.default,{}),S=g(_.default,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(0),i=n(54),o=n(3),a=n(285),s=h(n(105)),u=h(n(777)),l=n(1246),c=n(1435),d=h(n(1180)),f=n(1344),_=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(401)),p=n(1);function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function h(e){return e&&e.__esModule?e:{default:e}}var m=new Set([p.Routes.LOGIN,p.Routes.REGISTER]);function v(e){var t=e.ctrlKey||e.altKey||e.metaKey;e.key!==c.KeyboardEventKey.Tab||t||__OVERLAY__||u.default.maybeShowKeyboardNavigationExplainerModal()}function T(e,t){var n=(0,f.isInputLikeElement)(document.activeElement);if((!n||e.key===c.KeyboardEventKey.Tab)&&!(e.ctrlKey||e.altKey||e.metaKey||e.key!==c.KeyboardEventKey.Tab&&e.shiftKey)){var r=function(e){var t=_.keyToCode("shift"),n=_.keyToCode("tab");if(e.key===c.KeyboardEventKey.Tab&&e.shiftKey&&null!=t&&null!=n)return[[p.KeyboardDeviceTypes.KEYBOARD_KEY,t],[p.KeyboardDeviceTypes.KEYBOARD_KEY,n]];var r=c.NavigationKeyShortcutMap.get(e.key);if(null!=r){var i=_.keyToCode(r);if(null!=i)return[[p.KeyboardDeviceTypes.KEYBOARD_KEY,i]]}return null}(e);null==r||d.default.hasExactKeybind(r)||((0,a.enableKeyboardMode)(),n&&!t&&e.preventDefault())}}function g(){(0,a.disableKeyboardMode)()}var I=function(){var e=(0,o.useStateFromStores)([s.default],(function(){return s.default.keyboardModeEnabled}));(0,l.useFocusJumpSectionManager)(e);var t=(0,i.useLocation)(),n=(0,r.useMemo)((function(){return m.has(t.pathname)}),[t.pathname]),a=(0,r.useCallback)((function(e){T(e,n)}),[n]);return(0,r.useLayoutEffect)((function(){return e?(window.addEventListener("mousedown",g),window.addEventListener("keydown",v)):window.addEventListener("keydown",a),function(){e?(window.removeEventListener("mousedown",g),window.removeEventListener("keydown",v)):window.removeEventListener("keydown",a)}}),[a,e]),e};t.default=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Unidentified="Unidentified",e.Alt="Alt",e.AltGraph="AltGraph",e.CapsLock="CapsLock",e.Control="Control",e.Fn="Fn",e.FnLock="FnLock",e.Hyper="Hyper",e.Meta="Meta",e.NumLock="NumLock",e.ScrollLock="ScrollLock",e.Shift="Shift",e.Super="Super",e.Symbol="Symbol",e.SymbolLock="SymbolLock",e.Enter="Enter",e.Tab="Tab",e.ArrowDown="ArrowDown",e.ArrowLeft="ArrowLeft",e.ArrowRight="ArrowRight",e.ArrowUp="ArrowUp",e.End="End",e.Home="Home",e.PageDown="PageDown",e.PageUp="PageUp",e.Backspace="Backspace",e.Clear="Clear",e.Copy="Copy",e.CrSel="CrSel",e.Cut="Cut",e.Delete="Delete",e.EraseEof="EraseEof",e.ExSel="ExSel",e.Insert="Insert",e.Paste="Paste",e.Redo="Redo",e.Undo="Undo",e.Accept="Accept",e.Again="Again",e.Attn="Attn",e.Cancel="Cancel",e.ContextMenu="ContextMenu",e.Escape="Escape",e.Execute="Execute",e.Find="Find",e.Finish="Finish",e.Help="Help",e.Pause="Pause",e.Play="Play",e.Props="Props",e.Select="Select",e.ZoomIn="ZoomIn",e.ZoomOut="ZoomOut",e.BrightnessDown="BrightnessDown",e.BrightnessUp="BrightnessUp",e.Eject="Eject",e.LogOff="LogOff",e.Power="Power",e.PowerOff="PowerOff",e.PrintScreen="PrintScreen",e.Hibernate="Hibernate",e.Standby="Standby",e.WakeUp="WakeUp",e.AllCandidates="AllCandidates",e.Alphanumeric="Alphanumeric",e.CodeInput="CodeInput",e.Compose="Compose",e.Convert="Convert",e.Dead="Dead",e.FinalMode="FinalMode",e.GroupFirst="GroupFirst",e.GroupLast="GroupLast",e.GroupNext="GroupNext",e.GroupPrevious="GroupPrevious",e.ModeChange="ModeChange",e.NextCandidate="NextCandidate",e.NonConvert="NonConvert",e.PreviousCandidate="PreviousCandidate",e.Process="Process",e.SingleCandidate="SingleCandidate",e.HangulMode="HangulMode",e.HanjaMode="HanjaMode",e.JunjaMode="JunjaMode",e.Eisu="Eisu",e.Hankaku="Hankaku",e.Hiragana="Hiragana",e.HiraganaKatakana="HiraganaKatakana",e.KanaMode="KanaMode",e.KanjiMode="KanjiMode",e.Katakana="Katakana",e.Romaji="Romaji",e.Zenkaku="Zenkaku",e.ZenkakuHanaku="ZenkakuHanaku",e.F1="F1",e.F2="F2",e.F3="F3",e.F4="F4",e.F5="F5",e.F6="F6",e.F7="F7",e.F8="F8",e.F9="F9",e.F10="F10",e.F11="F11",e.F12="F12",e.F13="F13",e.F14="F14",e.F15="F15",e.F16="F16",e.F17="F17",e.F18="F18",e.F19="F19",e.F20="F20",e.Soft1="Soft1",e.Soft2="Soft2",e.Soft3="Soft3",e.Soft4="Soft4",e.AppSwitch="AppSwitch",e.Call="Call",e.Camera="Camera",e.CameraFocus="CameraFocus",e.EndCall="EndCall",e.GoBack="GoBack",e.GoHome="GoHome",e.HeadsetHook="HeadsetHook",e.LastNumberRedial="LastNumberRedial",e.Notification="Notification",e.MannerMode="MannerMode",e.VoiceDial="VoiceDial",e.ChannelDown="ChannelDown",e.ChannelUp="ChannelUp",e.MediaFastForward="MediaFastForward",e.MediaPause="MediaPause",e.MediaPlay="MediaPlay",e.MediaPlayPause="MediaPlayPause",e.MediaRecord="MediaRecord",e.MediaRewind="MediaRewind",e.MediaStop="MediaStop",e.MediaTrackNext="MediaTrackNext",e.MediaTrackPrevious="MediaTrackPrevious",e.AudioBalanceLeft="AudioBalanceLeft",e.AudioBalanceRight="AudioBalanceRight",e.AudioBassDown="AudioBassDown",e.AudioBassBoostDown="AudioBassBoostDown",e.AudioBassBoostToggle="AudioBassBoostToggle",e.AudioBassBoostUp="AudioBassBoostUp",e.AudioBassUp="AudioBassUp",e.AudioFaderFront="AudioFaderFront",e.AudioFaderRear="AudioFaderRear",e.AudioSurroundModeNext="AudioSurroundModeNext",e.AudioTrebleDown="AudioTrebleDown",e.AudioTrebleUp="AudioTrebleUp",e.AudioVolumeDown="AudioVolumeDown",e.AudioVolumeMute="AudioVolumeMute",e.AudioVolumeUp="AudioVolumeUp",e.MicrophoneToggle="MicrophoneToggle",e.MicrophoneVolumeDown="MicrophoneVolumeDown",e.MicrophoneVolumeMute="MicrophoneVolumeMute",e.MicrophoneVolumeUp="MicrophoneVolumeUp",e.TV="TV",e.TV3DMode="TV3DMode",e.TVAntennaCable="TVAntennaCable",e.TVAudioDescription="TVAudioDescription",e.TVAudioDescriptionMixDown="TVAudioDescriptionMixDown",e.TVAudioDescriptionMixUp="TVAudioDescriptionMixUp",e.TVContentsMenu="TVContentsMenu",e.TVDataService="TVDataService",e.TVInput="TVInput",e.TVInputComponent1="TVInputComponent1",e.TVInputComponent2="TVInputComponent2",e.TVInputComposite1="TVInputComposite1",e.TVInputComposite2="TVInputComposite2",e.TVInputHDMI1="TVInputHDMI1",e.TVInputHDMI2="TVInputHDMI2",e.TVInputHDMI3="TVInputHDMI3",e.TVInputHDMI4="TVInputHDMI4",e.TVInputVGA1="TVInputVGA1",e.TVMediaContext="TVMediaContext",e.TVNetwork="TVNetwork",e.TVNumberEntry="TVNumberEntry",e.TVPower="TVPower",e.TVRadioService="TVRadioService",e.TVSatellite="TVSatellite",e.TVSatelliteBS="TVSatelliteBS",e.TVSatelliteCS="TVSatelliteCS",e.TVSatelliteToggle="TVSatelliteToggle",e.TVTerrestrialAnalog="TVTerrestrialAnalog",e.TVTerrestrialDigital="TVTerrestrialDigital",e.TVTimer="TVTimer",e.AVRInput="AVRInput",e.AVRPower="AVRPower",e.ColorF0Red="ColorF0Red",e.ColorF1Green="ColorF1Green",e.ColorF2Yellow="ColorF2Yellow",e.ColorF3Blue="ColorF3Blue",e.ColorF4Grey="ColorF4Grey",e.ColorF5Brown="ColorF5Brown",e.ClosedCaptionToggle="ClosedCaptionToggle",e.Dimmer="Dimmer",e.DisplaySwap="DisplaySwap",e.DVR="DVR",e.Exit="Exit",e.FavoriteClear0="FavoriteClear0",e.FavoriteClear1="FavoriteClear1",e.FavoriteClear2="FavoriteClear2",e.FavoriteClear3="FavoriteClear3",e.FavoriteRecall0="FavoriteRecall0",e.FavoriteRecall1="FavoriteRecall1",e.FavoriteRecall2="FavoriteRecall2",e.FavoriteRecall3="FavoriteRecall3",e.FavoriteStore0="FavoriteStore0",e.FavoriteStore1="FavoriteStore1",e.FavoriteStore2="FavoriteStore2",e.FavoriteStore3="FavoriteStore3",e.Guide="Guide",e.GuideNextDay="GuideNextDay",e.GuidePreviousDay="GuidePreviousDay",e.Info="Info",e.InstantReplay="InstantReplay",e.Link="Link",e.ListProgram="ListProgram",e.LiveContent="LiveContent",e.Lock="Lock",e.MediaApps="MediaApps",e.MediaAudioTrack="MediaAudioTrack",e.MediaLast="MediaLast",e.MediaSkipBackward="MediaSkipBackward",e.MediaSkipForward="MediaSkipForward",e.MediaStepBackward="MediaStepBackward",e.MediaStepForward="MediaStepForward",e.MediaTopMenu="MediaTopMenu",e.NavigateIn="NavigateIn",e.NavigateNext="NavigateNext",e.NavigateOut="NavigateOut",e.NavigatePrevious="NavigatePrevious",e.NextFavoriteChannel="NextFavoriteChannel",e.NextUserProfile="NextUserProfile",e.OnDemand="OnDemand",e.Pairing="Pairing",e.PinPDown="PinPDown",e.PinPMove="PinPMove",e.PinPToggle="PinPToggle",e.PinPUp="PinPUp",e.PlaySpeedDown="PlaySpeedDown",e.PlaySpeedReset="PlaySpeedReset",e.PlaySpeedUp="PlaySpeedUp",e.RandomToggle="RandomToggle",e.RcLowBattery="RcLowBattery",e.RecordSpeedNext="RecordSpeedNext",e.RfBypass="RfBypass",e.ScanChannelsToggle="ScanChannelsToggle",e.ScreenModeNext="ScreenModeNext",e.Settings="Settings",e.SplitScreenToggle="SplitScreenToggle",e.STBInput="STBInput",e.STBPower="STBPower",e.Subtitle="Subtitle",e.Teletext="Teletext",e.VideoModeNext="VideoModeNext",e.Wink="Wink",e.ZoomToggle="ZoomToggle",e.SpeechCorrectionList="SpeechCorrectionList",e.SpeechInputToggle="SpeechInputToggle",e.Close="Close",e.New="New",e.Open="Open",e.Print="Print",e.Save="Save",e.SpellCheck="SpellCheck",e.MailForward="MailForward",e.MailReply="MailReply",e.MailSend="MailSend",e.LaunchCalculator="LaunchCalculator",e.LaunchCalendar="LaunchCalendar",e.LaunchContacts="LaunchContacts",e.LaunchMail="LaunchMail",e.LaunchMediaPlayer="LaunchMediaPlayer",e.LaunchMusicPlayer="LaunchMusicPlayer",e.LaunchMyComputer="LaunchMyComputer",e.LaunchPhone="LaunchPhone",e.LaunchScreenSaver="LaunchScreenSaver",e.LaunchSpreadsheet="LaunchSpreadsheet",e.LaunchWebBrowser="LaunchWebBrowser",e.LaunchWebCam="LaunchWebCam",e.LaunchWordProcessor="LaunchWordProcessor",e.LaunchApplication1="LaunchApplication1",e.LaunchApplication2="LaunchApplication2",e.LaunchApplication3="LaunchApplication3",e.LaunchApplication4="LaunchApplication4",e.LaunchApplication5="LaunchApplication5",e.LaunchApplication6="LaunchApplication6",e.LaunchApplication7="LaunchApplication7",e.LaunchApplication8="LaunchApplication8",e.LaunchApplication9="LaunchApplication9",e.LaunchApplication10="LaunchApplication10",e.LaunchApplication11="LaunchApplication11",e.LaunchApplication12="LaunchApplication12",e.LaunchApplication13="LaunchApplication13",e.LaunchApplication14="LaunchApplication14",e.LaunchApplication15="LaunchApplication15",e.LaunchApplication16="LaunchApplication16",e.BrowserBack="BrowserBack",e.BrowserFavorites="BrowserFavorites",e.BrowserForward="BrowserForward",e.BrowserHome="BrowserHome",e.BrowserRefresh="BrowserRefresh",e.BrowserSearch="BrowserSearch",e.BrowserStop="BrowserStop",e.Decimal="Decimal",e.Key11="Key11",e.Key12="Key12",e.Multiply="Multiply",e.Add="Add",e.Divide="Divide",e.Subtract="Subtract",e.Separator="Separator"}(t.Key||(t.Key={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return s[e]};var r,i,o=(r=n(133))&&r.__esModule?r:{default:r},a=n(769);var s=((i={})[a.Soundpacks.CLASSIC]=(0,o.default)({discodo:null,message1:null,deafen:null,undeafen:null,mute:null,unmute:null,disconnect:null,ptt_start:null,ptt_stop:null,user_join:null,user_leave:null,user_moved:null,call_calling:null,call_ringing:null,stream_started:null,stream_ended:null,stream_user_joined:null,stream_user_left:null}),i[a.Soundpacks.CHAOS]={discodo:"chaos_bootup",message1:"chaos_message",deafen:"chaos_deafen",undeafen:"chaos_undeafen",mute:"chaos_mute",unmute:"chaos_unmute",disconnect:"chaos_disconnect",ptt_start:"chaos_ptt_start",ptt_stop:"chaos_ptt_stop",user_join:"chaos_user_join",user_leave:"chaos_user_leave",user_moved:"user_moved",call_calling:"chaos_call_calling",call_ringing:"chaos_call_ringing",stream_started:"chaos_stream_started",stream_ended:"chaos_stream_ended",stream_user_joined:"chaos_stream_user_joined",stream_user_left:"chaos_stream_user_left"},i[a.Soundpacks.YACHTY]={discodo:"yachty_bootup",message1:"yachty_message",deafen:"yachty_deafen",undeafen:"yachty_undeafen",mute:"yachty_mute",unmute:"yachty_unmute",disconnect:"yachty_disconnect",ptt_start:"yachty_ptt_start",ptt_stop:"yachty_ptt_stop",user_join:"yachty_user_join",user_leave:"yachty_user_leave",user_moved:"user_moved",call_calling:"yachty_call_calling",call_ringing:"yachty_call_ringing",stream_started:"yachty_stream_started",stream_ended:"yachty_stream_ended",stream_user_joined:"yachty_stream_user_joined",stream_user_left:"yachty_stream_user_left"},i[a.Soundpacks.UNCLE]={discodo:"uncle_bootup",message1:"uncle_message",deafen:"uncle_deafen",undeafen:"uncle_undeafen",mute:"uncle_mute",unmute:"uncle_unmute",disconnect:"uncle_disconnect",ptt_start:"uncle_ptt_start",ptt_stop:"uncle_ptt_stop",user_join:"uncle_user_join",user_leave:"uncle_user_leave",user_moved:"uncle_user_moved",call_calling:"uncle_call_calling",call_ringing:"uncle_call_ringing",stream_started:"uncle_stream_started",stream_ended:"uncle_stream_ended",stream_user_joined:"uncle_stream_user_joined",stream_user_left:"uncle_stream_user_left"},i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebAudioSound=void 0;var r=a(n(8)),i=a(n(51)),o=a(n(16));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u="default";function l(){null!=window.navigator.mediaDevices&&window.navigator.mediaDevices.enumerateDevices().then((function(e){var t=i.default.getOutputDevices(),n=(0,r.default)(t).sortBy((function(e){return e.index})).findIndex((function(e){return e.id===i.default.getOutputDeviceId()})),o=t[i.default.getOutputDeviceId()],a=e.filter((function(e){return"audiooutput"===e.kind&&"communications"!==e.deviceId})),s=a[n];null==o||null!=s&&s.label===o.name||(s=a.find((function(e){return e.label===o.name}))),u=null!=s?s.deviceId:"default"})).catch((function(){u="default"}))}o.default.embedded&&(i.default.addChangeListener(l),l());var c=function(){function e(e,t){this.name=e,this._volume=t}var t,r,a,l=e.prototype;return l.loop=function(){this._ensureAudio().then((function(e){e.loop=!0,e.play()}))},l.play=function(){this._ensureAudio().then((function(e){e.loop=!1,e.play()}))},l.stop=function(){this._destroyAudio()},l._destroyAudio=function(){this._audio&&(this._audio.then((function(e){e.pause(),e.src=""})),this._audio=null)},l._ensureAudio=function(){var e=this;return this._audio=this._audio||new Promise((function(t,r){var a=new Audio;a.src=n(5562)("./"+e.name+".mp3"),a.onloadeddata=function(){a.volume=Math.min(i.default.getOutputVolume()/100*e._volume,1),o.default.embedded&&a.setSinkId(u),t(a)},a.onerror=function(){return r(new Error("could not play audio"))},a.onended=function(){return e._destroyAudio()},a.load()})),this._audio},t=e,(r=[{key:"volume",get:function(){return this._volume},set:function(e){this._volume=e,this._ensureAudio().then((function(t){return t.volume=e}))}}])&&s(t.prototype,r),a&&s(t,a),e}();t.WebAudioSound=c},function(e,t,n){var r={"./call_calling.mp3":5563,"./call_ringing.mp3":5564,"./call_ringing_beat.mp3":5565,"./chaos_bootup.mp3":5566,"./chaos_call_calling.mp3":5567,"./chaos_call_ringing.mp3":5568,"./chaos_deafen.mp3":5569,"./chaos_disconnect.mp3":5570,"./chaos_message.mp3":5571,"./chaos_mute.mp3":5572,"./chaos_ptt_start.mp3":5573,"./chaos_ptt_stop.mp3":5574,"./chaos_stream_ended.mp3":5575,"./chaos_stream_started.mp3":5576,"./chaos_stream_user_joined.mp3":5577,"./chaos_stream_user_left.mp3":5578,"./chaos_undeafen.mp3":5579,"./chaos_unmute.mp3":5580,"./chaos_user_join.mp3":5581,"./chaos_user_leave.mp3":5582,"./ddr-down.mp3":5583,"./ddr-left.mp3":5584,"./ddr-right.mp3":5585,"./ddr-up.mp3":5586,"./deafen.mp3":5587,"./discodo.mp3":5588,"./disconnect.mp3":5589,"./human_man.mp3":5590,"./mention1.mp3":5591,"./mention2.mp3":5592,"./mention3.mp3":5593,"./message1.mp3":5594,"./message2.mp3":5595,"./message3.mp3":5596,"./mute.mp3":5597,"./overlayunlock.mp3":5598,"./ptt_start.mp3":5599,"./ptt_stop.mp3":5600,"./reconnect.mp3":5601,"./robot_man.mp3":5602,"./stream_ended.mp3":5603,"./stream_started.mp3":5604,"./stream_user_joined.mp3":5605,"./stream_user_left.mp3":5606,"./uncle_bootup.mp3":5607,"./uncle_call_calling.mp3":5608,"./uncle_call_ringing.mp3":5609,"./uncle_deafen.mp3":5610,"./uncle_disconnect.mp3":5611,"./uncle_message.mp3":5612,"./uncle_mute.mp3":5613,"./uncle_ptt_start.mp3":5614,"./uncle_ptt_stop.mp3":5615,"./uncle_stream_ended.mp3":5616,"./uncle_stream_started.mp3":5617,"./uncle_stream_user_joined.mp3":5618,"./uncle_stream_user_left.mp3":5619,"./uncle_undeafen.mp3":5620,"./uncle_unmute.mp3":5621,"./uncle_user_join.mp3":5622,"./uncle_user_leave.mp3":5623,"./uncle_user_moved.mp3":5624,"./uncle_welcome_message.mp3":5625,"./undeafen.mp3":5626,"./unmute.mp3":5627,"./user_join.mp3":5628,"./user_leave.mp3":5629,"./user_moved.mp3":5630,"./yachty_bootup.mp3":5631,"./yachty_call_calling.mp3":5632,"./yachty_call_ringing.mp3":5633,"./yachty_deafen.mp3":5634,"./yachty_disconnect.mp3":5635,"./yachty_message.mp3":5636,"./yachty_mute.mp3":5637,"./yachty_mute_2.mp3":5638,"./yachty_ptt_start.mp3":5639,"./yachty_ptt_stop.mp3":5640,"./yachty_stream_ended.mp3":5641,"./yachty_stream_started.mp3":5642,"./yachty_stream_user_joined.mp3":5643,"./yachty_stream_user_left.mp3":5644,"./yachty_undeafen.mp3":5645,"./yachty_unmute.mp3":5646,"./yachty_user_join.mp3":5647,"./yachty_user_leave.mp3":5648};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=5562},function(e,t,n){e.exports=n.p+"c6e92752668dde4eee5923d70441579f.mp3"},function(e,t,n){e.exports=n.p+"84a1b4e11d634dbfa1e5dd97a96de3ad.mp3"},function(e,t,n){e.exports=n.p+"b9411af07f154a6fef543e7e442e4da9.mp3"},function(e,t,n){e.exports=n.p+"74f5be9eb9457fbd255edfe86dd5e59d.mp3"},function(e,t,n){e.exports=n.p+"9f67ccdbb9e9d03fc120192744fe1a5a.mp3"},function(e,t,n){e.exports=n.p+"607ac5dd6c8fae76711a79dd9e2a0aaf.mp3"},function(e,t,n){e.exports=n.p+"5470f6bd4ae9d9ecd57845f7aaf27e74.mp3"},function(e,t,n){e.exports=n.p+"ec97b71622119819256689ddcbc694c5.mp3"},function(e,t,n){e.exports=n.p+"5c42f90d147b16b2e32f2100fe533162.mp3"},function(e,t,n){e.exports=n.p+"81fff96fd7809efbf2c5fe1329236629.mp3"},function(e,t,n){e.exports=n.p+"e58b29b25a85fa9a438307f1d767aa37.mp3"},function(e,t,n){e.exports=n.p+"b8ec6d8279916423bcb9aef98c339f9b.mp3"},function(e,t,n){e.exports=n.p+"e134b8a555f3ce0c335bb263c17574b0.mp3"},function(e,t,n){e.exports=n.p+"7cab8b4a9c561ca3acfec9fe0ae6b3c7.mp3"},function(e,t,n){e.exports=n.p+"f35faf578fb5fc6394313f8eeb373a3e.mp3"},function(e,t,n){e.exports=n.p+"3871ba4ca02f1d0163d7475a16dab30a.mp3"},function(e,t,n){e.exports=n.p+"daf509b2834fff4f8d9021d08f810e71.mp3"},function(e,t,n){e.exports=n.p+"9bd62881ba46df7ee76b02c6b2d30c6c.mp3"},function(e,t,n){e.exports=n.p+"eaf6fab4e40f1a293bdd3884275bcd85.mp3"},function(e,t,n){e.exports=n.p+"6d72d30734c5537d74971e6b81a51999.mp3"},function(e,t,n){e.exports=n.p+"71f048f8aa7d4b24bf4268a87cbbb192.mp3"},function(e,t,n){e.exports=n.p+"1de04408e62b5d52ae3ebbb91e9e1978.mp3"},function(e,t,n){e.exports=n.p+"2c0433f93db8449e4a82b76dc520cb29.mp3"},function(e,t,n){e.exports=n.p+"68472713f7a62c7c37e0a6a5d5a1faeb.mp3"},function(e,t,n){e.exports=n.p+"e4d539271704b87764dc465b1a061abd.mp3"},function(e,t,n){e.exports=n.p+"ae7d16bb2eea76b9b9977db0fad66658.mp3"},function(e,t,n){e.exports=n.p+"7e125dc075ec6e5ae796e4c3ab83abb3.mp3"},function(e,t,n){e.exports=n.p+"a37dcd6272ae41cf49295d58c9806fe3.mp3"},function(e,t,n){e.exports=n.p+"fa4d62c3cbc80733bf1f01b9c6f181de.mp3"},function(e,t,n){e.exports=n.p+"a5f42064e8120e381528b14fd3188b72.mp3"},function(e,t,n){e.exports=n.p+"84c9fa3d07da865278bd77c97d952db4.mp3"},function(e,t,n){e.exports=n.p+"dd920c06a01e5bb8b09678581e29d56f.mp3"},function(e,t,n){e.exports=n.p+"15fe810f6cfab609c7fcda61652b9b34.mp3"},function(e,t,n){e.exports=n.p+"53ce6a92d3c233e8b4ac529d34d374e4.mp3"},function(e,t,n){e.exports=n.p+"429d09ee3b86e81a75b5e06d3fb482be.mp3"},function(e,t,n){e.exports=n.p+"ad322ffe0a88436296158a80d5d11baa.mp3"},function(e,t,n){e.exports=n.p+"8b63833c8d252fedba6b9c4f2517c705.mp3"},function(e,t,n){e.exports=n.p+"74ab980d6890a0fa6aa0336182f9f620.mp3"},function(e,t,n){e.exports=n.p+"471cfd0005b112ff857705e894bf41a6.mp3"},function(e,t,n){e.exports=n.p+"66598bea6e59eb8acdf32cf2d9d75ba9.mp3"},function(e,t,n){e.exports=n.p+"4e30f98aa537854f79f49a76af822bbc.mp3"},function(e,t,n){e.exports=n.p+"9ca817f41727edc1b2f1bc4f1911107c.mp3"},function(e,t,n){e.exports=n.p+"5827bbf9a67c61cbb0e02ffbf434b654.mp3"},function(e,t,n){e.exports=n.p+"7cdcdcbc426cc43583365a671c24b740.mp3"},function(e,t,n){e.exports=n.p+"403401035c40ef53398b0787be3dfda3.mp3"},function(e,t,n){e.exports=n.p+"9d648a896b6fada665a5ce67a6b0fa67.mp3"},function(e,t,n){e.exports=n.p+"2c5a169dd4ed761067bb1dd5d6fd06eb.mp3"},function(e,t,n){e.exports=n.p+"0ec09e52a757a8fba5090fbffb3907d9.mp3"},function(e,t,n){e.exports=n.p+"c532a859eff730ecd208ef2b1be62958.mp3"},function(e,t,n){e.exports=n.p+"c8e5f657aec39596a45debabd86e2f57.mp3"},function(e,t,n){e.exports=n.p+"bb1eb7d4ad979b143cf2565bece1d86c.mp3"},function(e,t,n){e.exports=n.p+"3a23273aca92b6ea3eaadad70288b14e.mp3"},function(e,t,n){e.exports=n.p+"f0c927e271ffa91e1d4b6fd85cc9fa2f.mp3"},function(e,t,n){e.exports=n.p+"86dc600cfa5a4f5f56a192aed65d8ef3.mp3"},function(e,t,n){e.exports=n.p+"148257da85b4767dc2a9af3595fad205.mp3"},function(e,t,n){e.exports=n.p+"db753e52c70b732754f00cdb81d46232.mp3"},function(e,t,n){e.exports=n.p+"e2aaee99449f29a0630a1d90f205ed22.mp3"},function(e,t,n){e.exports=n.p+"7a0187b3c9816e3d2ee2f16ee77a7614.mp3"},function(e,t,n){e.exports=n.p+"caf5f773a55b81fd82255b1df5114496.mp3"},function(e,t,n){e.exports=n.p+"850fd1f05917333ed2a89dd97bc5b363.mp3"},function(e,t,n){e.exports=n.p+"2e6ebe2d593a3249d097ebc8ad349cd4.mp3"},function(e,t,n){e.exports=n.p+"0802ac18a888aae76f28a32f80355d24.mp3"},function(e,t,n){e.exports=n.p+"f97c37a2bf7ede39fe9c4dd5622744a5.mp3"},function(e,t,n){e.exports=n.p+"5a000a0d4dff083d12a1d4fc2c7cbf66.mp3"},function(e,t,n){e.exports=n.p+"43805b9dd757ac4f6b9b58c1a8ee5f0d.mp3"},function(e,t,n){e.exports=n.p+"5dd43c946894005258d85770f0d10cff.mp3"},function(e,t,n){e.exports=n.p+"4fcfeb2cba26459c4750e60f626cebdc.mp3"},function(e,t,n){e.exports=n.p+"e81d11590762728c1b811eadfa5be766.mp3"},function(e,t,n){e.exports=n.p+"c88ae254f418b800f2b5c5f1525dc0ed.mp3"},function(e,t,n){e.exports=n.p+"c83bde4d12570c4cf27576dc055eafbb.mp3"},function(e,t,n){e.exports=n.p+"0c4f59a03b74a68f6b2b48e12f63d025.mp3"},function(e,t,n){e.exports=n.p+"9aca5150a677a9f2fb22688d6ea6018f.mp3"},function(e,t,n){e.exports=n.p+"f4202759ad87af36d9b300c365d3837e.mp3"},function(e,t,n){e.exports=n.p+"fb2c4360bf577e96fc86afa06063c489.mp3"},function(e,t,n){e.exports=n.p+"9bf29386d09c819c4c026067a46f3852.mp3"},function(e,t,n){e.exports=n.p+"52e1f9a301927d8f0ad6c240958a5462.mp3"},function(e,t,n){e.exports=n.p+"643a05f228c3ba9f861d464d2d652065.mp3"},function(e,t,n){e.exports=n.p+"06bf919aa2f2e33104ba1ceaf70c5e87.mp3"},function(e,t,n){e.exports=n.p+"9527396ff31361428b4aba49d52956ae.mp3"},function(e,t,n){e.exports=n.p+"965c2a4b2d9052c70a0b175ee2103cf9.mp3"},function(e,t,n){e.exports=n.p+"4436dccdccc1b43f325e99c0edacc694.mp3"},function(e,t,n){e.exports=n.p+"90e68e1ba36355ee2c42cea26e6187f6.mp3"},function(e,t,n){e.exports=n.p+"db53837f464baab67853752d27d9fa1e.mp3"},function(e,t,n){e.exports=n.p+"d70fd809b6e955a2c34c07022422085c.mp3"},function(e,t,n){e.exports=n.p+"765e5bf96068ffd4b86dd1c88ae6a1c1.mp3"},function(e,t,n){e.exports=n.p+"a01e6f09a7d4566fd30c30a136042631.mp3"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNotSupported=S,t.enable=function(e){void 0===e&&(e=!0);return S()?Promise.resolve(!1):(p.default.track(E.AnalyticEvents.PERMISSIONS_REQUESTED,{type:"audio"}),l.default.getMediaEngine().enable().then((function(){o.default.dispatch({type:E.ActionTypes.MEDIA_ENGINE_SET_AUDIO_ENABLED,enabled:!0,unmute:e}),y(u.NativePermissionStates.ACCEPTED)}),(function(e){switch(e){case E.UserMediaErrors.NO_DEVICES_FOUND:y(u.NativePermissionStates.NO_DEVICES);break;case E.UserMediaErrors.PERMISSION_DENIED:y(u.NativePermissionStates.DENIED);break;case E.UserMediaErrors.PERMISSION_DISMISSED:y(u.NativePermissionStates.DISMISSED);break;default:y(u.NativePermissionStates.ERROR),I.warn("unknown getUserMedia error: "+e)}})).then((function(){return!0})))};var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=m(n(2)),a=n(1228),s=m(n(26)),u=n(215),l=m(n(51)),c=m(n(29)),d=m(n(466)),f=n(41),_=m(n(24)),p=m(n(13)),E=n(1),h=m(n(6));function m(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function T(){return(T=Object.assign||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}).apply(this,arguments)}function g(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var I=new s.default("AudioActionCreators");function S(){return!l.default.isSupported()&&((0,f.openModal)((function(e){return i.createElement(d.default,T({header:h.default.Messages.UNSUPPORTED_BROWSER,confirmText:h.default.Messages.DOWNLOAD_APP,cancelText:h.default.Messages.CANCEL,onConfirm:function(){(0,a.showAppDownloadModal)("Unsupported Browser")},confirmButtonColor:c.default.Colors.BRAND},e),g(_.default,{size:_.default.Sizes.SIZE_16},void 0,h.default.Messages.UNSUPPORTED_BROWSER_DETAILS))})),!0)}function y(e){p.default.track(E.AnalyticEvents.PERMISSIONS_ACKED,{type:"audio",action:e})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=y(n(0)),o=I(n(211)),a=n(411),s=n(305),u=I(n(3)),l=n(1190),c=I(n(11)),d=I(n(12)),f=y(n(29)),_=I(n(24)),p=I(n(13)),E=n(368),h=n(1),m=I(n(6)),v=I(n(5812)),T=I(n(5653)),g=I(n(5654));function I(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function A(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,N(e,t)}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var R=function(e){function t(){return e.apply(this,arguments)||this}O(t,e);var n=t.prototype;return n.onClickDownload=function(e){var t=(0,E.getMobileDownloadLink)(this.props.source,e),n=(0,a.parseDynamicLink)(t);null!=n&&p.default.track(h.AnalyticEvents.DEEP_LINK_CLICKED,{fingerprint:(0,s.maybeExtractId)(n.fingerprint),attempt_id:n.attemptId,source:n.utmSource});var r=this.props,i=r.fingerprint,u=r.claimed,l=r.source;(o.default.getToken()||null!=i)&&p.default.track(h.AnalyticEvents.DOWNLOAD_APP,{platform:e,ptb:!1,released:!0,has_e_mail:u,referring_location:l,qr_code:!1}),window.open(t,"_blank")},n.render=function(){var e=this;return A("div",{className:v.default.mobileContainer},void 0,A("div",{className:v.default.subcontainer},void 0,this.props.showQrCode?i.createElement(i.Fragment,null,A(l.QRCodeWithOverlay,{text:(0,h.MOBILE_DOWNLOAD_QRCODE_URL)(this.props.claimed,this.props.source)}),A(_.default,{className:v.default.header},void 0,m.default.Messages.MOBILE_APP_DOWNLOAD_CTA),A(_.default,{className:v.default.subheader},void 0,m.default.Messages.QR_CODE_DOWNLOAD_CTA)):i.createElement(i.Fragment,null,A(_.default,{className:v.default.header},void 0,m.default.Messages.MOBILE_APP_DOWNLOAD_CTA),A(_.default,{className:v.default.subheader},void 0,m.default.Messages.MOBILE_APP_DOWNLOAD_SUBHEADER)),A("div",{className:v.default.buttonContainer},void 0,A(f.default,{className:v.default.downloadButton,color:f.ButtonColors.BRAND_NEW,onClick:function(){return e.onClickDownload("iOS")}},void 0,m.default.Messages.PLATFORM_IOS),A(f.default,{className:v.default.downloadButton,color:f.ButtonColors.BRAND_NEW,onClick:function(){return e.onClickDownload("Android")}},void 0,m.default.Messages.PLATFORM_ANDROID))),A("div",{className:v.default.mobileImageContainer},void 0,A("img",{src:g.default,alt:"",className:v.default.mobileImage})))},t}(i.PureComponent);R.displayName="AppDownloadMobile";var b=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={platform:(0,E.getPlatformDownloadName)()},t}O(t,e);var n=t.prototype;return n.getTitleMessage=function(){if(this.props.showAllPlatforms)return m.default.Messages.DESKTOP_DOWNLOAD_TITLE;switch(this.state.platform){case"osx":return m.default.Messages.DESKTOP_DOWNLOAD_TITLE_MAC;case"linux":return m.default.Messages.DESKTOP_DOWNLOAD_TITLE_LINUX;default:return m.default.Messages.DESKTOP_DOWNLOAD_TITLE_WINDOWS}},n.getOS=function(){switch(this.state.platform){case"osx":return m.default.Messages.PLATFORM_MACOS;case"linux":return m.default.Messages.PLATFORM_LINUX;default:return m.default.Messages.PLATFORM_WINDOWS}},n.onClickDownload=function(e,t){var n=(0,E.makeDesktopDownloadURL)(e,!1,t),r=this.props,i=r.fingerprint,a=r.claimed,s=r.source;(o.default.getToken()||null!=i)&&p.default.track(h.AnalyticEvents.DOWNLOAD_APP,{platform:this.getOS(),ptb:!1,released:!0,has_e_mail:a,referring_location:s,qr_code:!1}),window.open(n,"_blank")},n.renderDownloadButtons=function(){var e=this;if(this.props.showAllPlatforms)return A("div",{className:v.default.desktopButtonContainer},void 0,A(f.default,{className:v.default.desktopDownloadButtonFixed,color:f.ButtonColors.BRAND_NEW,onClick:function(){return e.onClickDownload("win")}},void 0,m.default.Messages.WINDOWS),A(f.default,{className:v.default.desktopDownloadButtonFixed,color:f.ButtonColors.BRAND_NEW,onClick:function(){return e.onClickDownload("osx")}},void 0,m.default.Messages.MACOS),A(f.default,{className:v.default.desktopDownloadButtonFixed,color:f.ButtonColors.BRAND_NEW,onClick:function(){return e.onClickDownload("linux","deb")}},void 0,m.default.Messages.LINUX+" ("+m.default.Messages.DEB+")"),A(f.default,{className:v.default.desktopDownloadButtonFixed,color:f.ButtonColors.BRAND_NEW,onClick:function(){return e.onClickDownload("linux","tar.gz")}},void 0,m.default.Messages.LINUX+" ("+m.default.Messages.TAR_GZ+")"));var t=this.state.platform;return"linux"!==t?A(f.default,{className:v.default.desktopDownloadButton,color:f.ButtonColors.BRAND_NEW,onClick:function(){return e.onClickDownload(t)}},void 0,m.default.Messages.DOWNLOAD):A("div",{className:v.default.linuxDownloadButtonContainer},void 0,A(f.default,{className:v.default.linuxDownloadButton,color:f.ButtonColors.BRAND_NEW,onClick:function(){return e.onClickDownload(t,"deb")}},void 0,m.default.Messages.DEB),A(f.default,{className:v.default.linuxDownloadButton,color:f.ButtonColors.BRAND_NEW,onClick:function(){return e.onClickDownload(t,"tar.gz")}},void 0,m.default.Messages.TAR_GZ))},n.render=function(){return A("div",{className:v.default.desktopContainer},void 0,A("img",{src:T.default,alt:"",className:v.default.laptopImage}),A("div",{className:v.default.desktopSubcontainer},void 0,A(_.default,{className:v.default.desktopHeader},void 0,this.getTitleMessage()),A(_.default,{className:v.default.desktopSubHeader},void 0,m.default.Messages.DESKTOP_DOWNLOAD_DESCRIPTION),this.renderDownloadButtons()))},t}(i.PureComponent);b.displayName="AppDownloadDesktop";var L=function(e){function t(){return e.apply(this,arguments)||this}return O(t,e),t.prototype.render=function(){return A("div",{className:v.default.container},void 0,i.createElement(R,this.props),i.createElement(b,this.props))},t}(i.PureComponent);L.displayName="AppDownload";var D=u.default.connectStores([d.default,c.default],(function(){var e=d.default.getCurrentUser();return{claimed:null==e||e.isClaimed(),fingerprint:c.default.getFingerprint()}}),{forwardRef:!0})(L);t.default=D},function(e,t,n){e.exports=n(5652)},function(e,t){var n;!function(){function e(e){this.mode=r.MODE_8BIT_BYTE,this.data=e,this.parsedData=[];for(var t=0,n=this.data.length;t<n;t++){var i=[],o=this.data.charCodeAt(t);o>65536?(i[0]=240|(1835008&o)>>>18,i[1]=128|(258048&o)>>>12,i[2]=128|(4032&o)>>>6,i[3]=128|63&o):o>2048?(i[0]=224|(61440&o)>>>12,i[1]=128|(4032&o)>>>6,i[2]=128|63&o):o>128?(i[0]=192|(1984&o)>>>6,i[1]=128|63&o):i[0]=o,this.parsedData.push(i)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function t(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}e.prototype={getLength:function(e){return this.parsedData.length},write:function(e){for(var t=0,n=this.parsedData.length;t<n;t++)e.put(this.parsedData[t],8)}},t.prototype={addData:function(t){var n=new e(t);this.dataList.push(n),this.dataCache=null},isDark:function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(e,n){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++){this.modules[r]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++)this.modules[r][i]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,n),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=t.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,n)},setupPositionProbePattern:function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(this.modules[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},getBestMaskPattern:function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=_.getLostPoint(this);(0==n||e>r)&&(e=r,t=n)}return t},createMovieClip:function(e,t,n){var r=e.createEmptyMovieClip(t,n);this.make();for(var i=0;i<this.modules.length;i++)for(var o=1*i,a=0;a<this.modules[i].length;a++){var s=1*a;this.modules[i][a]&&(r.beginFill(0,100),r.moveTo(s,o),r.lineTo(s+1,o),r.lineTo(s+1,o+1),r.lineTo(s,o+1),r.endFill())}return r},setupTimingPattern:function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},setupPositionAdjustPattern:function(){for(var e=_.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var r=e[t],i=e[n];if(null==this.modules[r][i])for(var o=-2;o<=2;o++)for(var a=-2;a<=2;a++)this.modules[r+o][i+a]=-2==o||2==o||-2==a||2==a||0==o&&0==a}},setupTypeNumber:function(e){for(var t=_.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var r=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;n<18;n++){r=!e&&1==(t>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},setupTypeInfo:function(e,t){for(var n=this.errorCorrectLevel<<3|t,r=_.getBCHTypeInfo(n),i=0;i<15;i++){var o=!e&&1==(r>>i&1);i<6?this.modules[i][8]=o:i<8?this.modules[i+1][8]=o:this.modules[this.moduleCount-15+i][8]=o}for(i=0;i<15;i++){o=!e&&1==(r>>i&1);i<8?this.modules[8][this.moduleCount-i-1]=o:i<9?this.modules[8][15-i-1+1]=o:this.modules[8][15-i-1]=o}this.modules[this.moduleCount-8][8]=!e},mapData:function(e,t){for(var n=-1,r=this.moduleCount-1,i=7,o=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;s<2;s++)if(null==this.modules[r][a-s]){var u=!1;o<e.length&&(u=1==(e[o]>>>i&1)),_.getMask(t,r,a-s)&&(u=!u),this.modules[r][a-s]=u,-1==--i&&(o++,i=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}}},t.PAD0=236,t.PAD1=17,t.createData=function(e,n,r){for(var i=m.getRSBlocks(e,n),o=new v,a=0;a<r.length;a++){var s=r[a];o.put(s.mode,4),o.put(s.getLength(),_.getLengthInBits(s.mode,e)),s.write(o)}var u=0;for(a=0;a<i.length;a++)u+=i[a].dataCount;if(o.getLengthInBits()>8*u)throw new Error("code length overflow. ("+o.getLengthInBits()+">"+8*u+")");for(o.getLengthInBits()+4<=8*u&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(!1);for(;!(o.getLengthInBits()>=8*u||(o.put(t.PAD0,8),o.getLengthInBits()>=8*u));)o.put(t.PAD1,8);return t.createBytes(o,i)},t.createBytes=function(e,t){for(var n=0,r=0,i=0,o=new Array(t.length),a=new Array(t.length),s=0;s<t.length;s++){var u=t[s].dataCount,l=t[s].totalCount-u;r=Math.max(r,u),i=Math.max(i,l),o[s]=new Array(u);for(var c=0;c<o[s].length;c++)o[s][c]=255&e.buffer[c+n];n+=u;var d=_.getErrorCorrectPolynomial(l),f=new h(o[s],d.getLength()-1).mod(d);a[s]=new Array(d.getLength()-1);for(c=0;c<a[s].length;c++){var p=c+f.getLength()-a[s].length;a[s][c]=p>=0?f.get(p):0}}var E=0;for(c=0;c<t.length;c++)E+=t[c].totalCount;var m=new Array(E),v=0;for(c=0;c<r;c++)for(s=0;s<t.length;s++)c<o[s].length&&(m[v++]=o[s][c]);for(c=0;c<i;c++)for(s=0;s<t.length;s++)c<a[s].length&&(m[v++]=a[s][c]);return m};for(var r={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},i={L:1,M:0,Q:3,H:2},o=0,a=1,s=2,u=3,l=4,c=5,d=6,f=7,_={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;_.getBCHDigit(t)-_.getBCHDigit(_.G15)>=0;)t^=_.G15<<_.getBCHDigit(t)-_.getBCHDigit(_.G15);return(e<<10|t)^_.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;_.getBCHDigit(t)-_.getBCHDigit(_.G18)>=0;)t^=_.G18<<_.getBCHDigit(t)-_.getBCHDigit(_.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return _.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case o:return(t+n)%2==0;case a:return t%2==0;case s:return n%3==0;case u:return(t+n)%3==0;case l:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case c:return t*n%2+t*n%3==0;case d:return(t*n%2+t*n%3)%2==0;case f:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new h([1],0),n=0;n<e;n++)t=t.multiply(new h([1,p.gexp(n)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case r.MODE_NUMBER:return 10;case r.MODE_ALPHA_NUM:return 9;case r.MODE_8BIT_BYTE:case r.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case r.MODE_NUMBER:return 12;case r.MODE_ALPHA_NUM:return 11;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case r.MODE_NUMBER:return 14;case r.MODE_ALPHA_NUM:return 13;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),n=0,r=0;r<t;r++)for(var i=0;i<t;i++){for(var o=0,a=e.isDark(r,i),s=-1;s<=1;s++)if(!(r+s<0||t<=r+s))for(var u=-1;u<=1;u++)i+u<0||t<=i+u||0==s&&0==u||a==e.isDark(r+s,i+u)&&o++;o>5&&(n+=3+o-5)}for(r=0;r<t-1;r++)for(i=0;i<t-1;i++){var l=0;e.isDark(r,i)&&l++,e.isDark(r+1,i)&&l++,e.isDark(r,i+1)&&l++,e.isDark(r+1,i+1)&&l++,0!=l&&4!=l||(n+=3)}for(r=0;r<t;r++)for(i=0;i<t-6;i++)e.isDark(r,i)&&!e.isDark(r,i+1)&&e.isDark(r,i+2)&&e.isDark(r,i+3)&&e.isDark(r,i+4)&&!e.isDark(r,i+5)&&e.isDark(r,i+6)&&(n+=40);for(i=0;i<t;i++)for(r=0;r<t-6;r++)e.isDark(r,i)&&!e.isDark(r+1,i)&&e.isDark(r+2,i)&&e.isDark(r+3,i)&&e.isDark(r+4,i)&&!e.isDark(r+5,i)&&e.isDark(r+6,i)&&(n+=40);var c=0;for(i=0;i<t;i++)for(r=0;r<t;r++)e.isDark(r,i)&&c++;return n+=10*(Math.abs(100*c/t/t-50)/5)}},p={glog:function(e){if(e<1)throw new Error("glog("+e+")");return p.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return p.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},E=0;E<8;E++)p.EXP_TABLE[E]=1<<E;for(E=8;E<256;E++)p.EXP_TABLE[E]=p.EXP_TABLE[E-4]^p.EXP_TABLE[E-5]^p.EXP_TABLE[E-6]^p.EXP_TABLE[E-8];for(E=0;E<255;E++)p.LOG_TABLE[p.EXP_TABLE[E]]=E;function h(e,t){if(null==e.length)throw new Error(e.length+"/"+t);for(var n=0;n<e.length&&0==e[n];)n++;this.num=new Array(e.length-n+t);for(var r=0;r<e.length-n;r++)this.num[r]=e[r+n]}function m(e,t){this.totalCount=e,this.dataCount=t}function v(){this.buffer=[],this.length=0}h.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),n=0;n<this.getLength();n++)for(var r=0;r<e.getLength();r++)t[n+r]^=p.gexp(p.glog(this.get(n))+p.glog(e.get(r)));return new h(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=p.glog(this.get(0))-p.glog(e.get(0)),n=new Array(this.getLength()),r=0;r<this.getLength();r++)n[r]=this.get(r);for(r=0;r<e.getLength();r++)n[r]^=p.gexp(p.glog(e.get(r))+t);return new h(n,0).mod(e)}},m.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],m.getRSBlocks=function(e,t){var n=m.getRsBlockTable(e,t);if(null==n)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var r=n.length/3,i=[],o=0;o<r;o++)for(var a=n[3*o+0],s=n[3*o+1],u=n[3*o+2],l=0;l<a;l++)i.push(new m(s,u));return i},m.getRsBlockTable=function(e,t){switch(t){case i.L:return m.RS_BLOCK_TABLE[4*(e-1)+0];case i.M:return m.RS_BLOCK_TABLE[4*(e-1)+1];case i.Q:return m.RS_BLOCK_TABLE[4*(e-1)+2];case i.H:return m.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},v.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var T=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function g(){var e=!1,t=navigator.userAgent;if(/android/i.test(t)){e=!0;var n=t.toString().match(/android ([0-9]\.[0-9])/i);n&&n[1]&&(e=parseFloat(n[1]))}return e}var I=function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){var t=this._htOption,n=this._el,r=e.getModuleCount();Math.floor(t.width/r),Math.floor(t.height/r);function i(e,t){var n=document.createElementNS("http://www.w3.org/2000/svg",e);for(var r in t)t.hasOwnProperty(r)&&n.setAttribute(r,t[r]);return n}this.clear();var o=i("svg",{viewBox:"0 0 "+String(r)+" "+String(r),width:"100%",height:"100%",fill:t.colorLight});o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),n.appendChild(o),o.appendChild(i("rect",{fill:t.colorLight,width:"100%",height:"100%"})),o.appendChild(i("rect",{fill:t.colorDark,width:"1",height:"1",id:"template"}));for(var a=0;a<r;a++)for(var s=0;s<r;s++)if(e.isDark(a,s)){var u=i("use",{x:String(s),y:String(a)});u.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),o.appendChild(u)}},e.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},e}(),S="svg"===document.documentElement.tagName.toLowerCase()?I:"undefined"==typeof CanvasRenderingContext2D?function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){for(var t=this._htOption,n=this._el,r=e.getModuleCount(),i=Math.floor(t.width/r),o=Math.floor(t.height/r),a=['<table style="border:0;border-collapse:collapse;">'],s=0;s<r;s++){a.push("<tr>");for(var u=0;u<r;u++)a.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+i+"px;height:"+o+"px;background-color:"+(e.isDark(s,u)?t.colorDark:t.colorLight)+';"></td>');a.push("</tr>")}a.push("</table>"),n.innerHTML=a.join("");var l=n.childNodes[0],c=(t.width-l.offsetWidth)/2,d=(t.height-l.offsetHeight)/2;c>0&&d>0&&(l.style.margin=d+"px "+c+"px")},e.prototype.clear=function(){this._el.innerHTML=""},e}():function(){function e(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}if(this._android&&this._android<=2.1){var t=1/window.devicePixelRatio,n=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(e,r,i,o,a,s,u,l,c){if("nodeName"in e&&/img/i.test(e.nodeName))for(var d=arguments.length-1;d>=1;d--)arguments[d]=arguments[d]*t;else void 0===l&&(arguments[1]*=t,arguments[2]*=t,arguments[3]*=t,arguments[4]*=t);n.apply(this,arguments)}}function r(e,t){var n=this;if(n._fFail=t,n._fSuccess=e,null===n._bSupportDataURI){var r=document.createElement("img"),i=function(){n._bSupportDataURI=!1,n._fFail&&n._fFail.call(n)};return r.onabort=i,r.onerror=i,r.onload=function(){n._bSupportDataURI=!0,n._fSuccess&&n._fSuccess.call(n)},void(r.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===n._bSupportDataURI&&n._fSuccess?n._fSuccess.call(n):!1===n._bSupportDataURI&&n._fFail&&n._fFail.call(n)}var i=function(e,t){this._bIsPainted=!1,this._android=g(),this._htOption=t,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=t.width,this._elCanvas.height=t.height,e.appendChild(this._elCanvas),this._el=e,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return i.prototype.draw=function(e){var t=this._elImage,n=this._oContext,r=this._htOption,i=e.getModuleCount(),o=r.width/i,a=r.height/i,s=Math.round(o),u=Math.round(a);t.style.display="none",this.clear();for(var l=0;l<i;l++)for(var c=0;c<i;c++){var d=e.isDark(l,c),f=c*o,_=l*a;n.strokeStyle=d?r.colorDark:r.colorLight,n.lineWidth=1,n.fillStyle=d?r.colorDark:r.colorLight,n.fillRect(f,_,o,a),n.strokeRect(Math.floor(f)+.5,Math.floor(_)+.5,s,u),n.strokeRect(Math.ceil(f)-.5,Math.ceil(_)-.5,s,u)}this._bIsPainted=!0},i.prototype.makeImage=function(){this._bIsPainted&&r.call(this,e)},i.prototype.isPainted=function(){return this._bIsPainted},i.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},i.prototype.round=function(e){return e?Math.floor(1e3*e)/1e3:e},i}();function y(e,t){for(var n=1,r=function(e){var t=encodeURI(e).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return t.length+(t.length!=e?3:0)}(e),o=0,a=T.length;o<=a;o++){var s=0;switch(t){case i.L:s=T[o][0];break;case i.M:s=T[o][1];break;case i.Q:s=T[o][2];break;case i.H:s=T[o][3]}if(r<=s)break;n++}if(n>T.length)throw new Error("Too long data");return n}(n=function(e,t){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:i.H},"string"==typeof t&&(t={text:t}),t)for(var n in t)this._htOption[n]=t[n];"string"==typeof e&&(e=document.getElementById(e)),this._htOption.useSVG&&(S=I),this._android=g(),this._el=e,this._el.innerHTML="",this._oQRCode=null,this._oDrawing=new S(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)}).prototype.makeCode=function(e){this._oQRCode=new t(y(e,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(e),this._oQRCode.make(),this._el.title=e,this._oDrawing.draw(this._oQRCode),this.makeImage()},n.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},n.prototype.clear=function(){this._oDrawing.clear()},n.CorrectLevel=i}(),e.exports=n},function(e,t,n){e.exports=n.p+"f9b5f8736a0689df99f60da21a939a89.svg"},function(e,t,n){e.exports=n.p+"452838ebc1d24d17dce8866041c24c67.svg"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){void 0===e&&(e=!0);var t=d.default.getCurrentUser();if(!(0,p.default)(s.default))return!1;if(null!=i.default.getActiveStreamForUser(t.id))return!1;var n=(0,E.default)(l.default,f.default);if(null==n)return!1;if(n.isLauncher&&!e)return!1;var h=c.default.getVoiceChannelId(),m=o.default.getChannel(h);if(null==m)return!1;var v=m.getGuildId();return!!(0,_.canStreamInChannel)(m,a.default,u.default,!1)&&((0,r.startStream)(v,m.id,{pid:n.pid}),!0)};var r=n(364),i=h(n(163)),o=h(n(10)),a=h(n(15)),s=h(n(51)),u=h(n(40)),l=h(n(79)),c=h(n(36)),d=h(n(12)),f=h(n(710)),_=n(484),p=h(n(1273)),E=h(n(1248));function h(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){void 0===r&&(r=new i.default);return n.e(76).then(n.t.bind(null,5892,7)).then((function(n){return(0,n.default)(e,t,r)}))};var r,i=(r=n(138))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createLock=function(){var e=Promise.resolve(null);return function(t){return new Promise((function(n,r){e=e.then(t).then(n,r)}))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.useStateFromStores)([o.default],(function(){return o.default.getPopouts().length>0}),[]),t=(0,i.useStateFromStores)([a.default],(function(){return __OVERLAY__||a.default.isFocused()}),[]),n=r.useState(0),l=n[0],c=n[1];r.useEffect((function(){var e=function(){return c((function(e){return e+1}))},t=function(){return c((function(e){return Math.max(0,e-1)}))};return s.ComponentDispatch.subscribe(u.ComponentActions.POPOUT_SHOW,e),s.ComponentDispatch.subscribe(u.ComponentActions.POPOUT_HIDE,t),function(){s.ComponentDispatch.unsubscribe(u.ComponentActions.POPOUT_SHOW,e),s.ComponentDispatch.unsubscribe(u.ComponentActions.POPOUT_HIDE,t)}}),[]);var f=r.useState(!1),_=f[0],p=f[1];return r.useLayoutEffect((function(){var n=function(n){(!t||e||l>0)&&_?p(!1):!_&&(e||l>0)||n instanceof KeyboardEvent&&(n.ctrlKey||n.altKey||n.shiftKey||n.metaKey||d.indexOf(n.key)>=0)||p((function(e){return!e}))},r=_?"keyup":"mousemove";return t&&window.addEventListener(r,n),function(){return window.removeEventListener(r,n)}}),[_,e,l,t]),!e&&t&&0===l&&_};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(3),o=l(n(1238)),a=l(n(161)),s=n(121),u=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}var d=["Shift","Alt","Meta","Control"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=l(n(5660)),a=l(n(5661)),s=l(n(5662)),u=l(n(5664));function l(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var f=d(a.default,{}),_=d(o.default,{}),p=d(s.default,{}),E=d(u.default,{}),h=function(){return i.createElement(i.Fragment,null,f,_,p,E)};t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(3),o=c(n(288)),a=c(n(218)),s=c(n(51)),u=n(41),l=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}var _=function(){var e=(0,i.useStateFromStores)([s.default],(function(){return s.default.isInteractionRequired()}),[]),t=r.useRef(null);function n(){null!==t.current&&((0,u.closeModal)(t.current),t.current=null)}function c(){o.default.interact()}return r.useEffect((function(){return e?t.current=(0,u.openModal)((function(e){return r.createElement(a.default,f({title:l.default.Messages.INTERACTION_REQUIRED_TITLE,body:l.default.Messages.INTERACTION_REQUIRED_BODY,onConfirm:c,confirmText:l.default.Messages.OKAY},e))})):n(),function(){n()}}),[e]),null};t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(3),o=p(n(311)),a=p(n(218)),s=p(n(51)),u=p(n(94)),l=p(n(79)),c=n(41),d=p(n(93)),f=n(1),_=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function h(){return(h=Object.assign||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}).apply(this,arguments)}var m=function(){var e=(0,i.useStateFromStoresArray)([l.default],(function(){return[l.default.canShowAdminWarning,l.default.getVisibleGame()]}),[]),t=e[0],n=e[1],p=(0,i.useStateFromStores)([u.default],(function(){return u.default.isConnected()}),[]),E=(0,i.useStateFromStores)([s.default],(function(){return s.default.getMode()===f.InputModes.PUSH_TO_TALK}),[]),m=null!=n&&n.elevated&&p&&E&&t,v=r.useRef(null);function T(){null!==v.current&&((0,c.closeModal)(v.current),v.current=null)}return r.useEffect((function(){return m?v.current=(0,c.openModal)((function(e){return r.createElement(a.default,h({title:_.default.Messages.PTT_PERMISSION_TITLE,body:_.default.Messages.PTT_PERMISSION_BODY.format({game:null==n?void 0:n.name}),minorText:_.default.Messages.DONT_SHOW_AGAIN,onConfirmSecondary:function(){return o.default.clearPTTAdminWarning()},onConfirm:function(){return window.open(d.default.getArticleURL(f.HelpdeskArticles.PUSH_TO_TALK_ADMINISTRATOR_MODE),"_blank")},confirmText:_.default.Messages.HELP_DESK},e))})):T(),function(){T()}}),[n,m]),null};t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(3),o=c(n(311)),a=c(n(218)),s=c(n(5663)),u=n(41),l=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}var _=function(){var e=r.useRef(null);function t(){null!==e.current&&((0,u.closeModal)(e.current),e.current=null)}var n=function(){o.default.clearSuppressWarning()},c=function(){o.default.clearSuppressWarning(!0)},d=(0,i.useStateFromStoresArray)([s.default],(function(){return[s.default.shouldShowWarning(),s.default.isAFKChannel()]}),[]),_=d[0],p=d[1],E="",h="";return p?(E=l.default.Messages.SUPPRESSED_AFK_TITLE,h=l.default.Messages.SUPPRESSED_AFK_BODY):(E=l.default.Messages.SUPPRESSED,h=l.default.Messages.SUPPRESSED_PERMISSION_BODY),r.useEffect((function(){return _?e.current=(0,u.openModal)((function(e){return r.createElement(a.default,f({title:E,body:h,onConfirm:n,confirmText:l.default.Messages.OKAY,minorText:l.default.Messages.DONT_SHOW_AGAIN,onConfirmSecondary:c},e))})):t(),function(){t()}}),[_,E,h]),null};t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(3)),i=u(n(28)),o=u(n(2)),a=u(n(10)),s=u(n(15));n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c,d,f=!1,_=!0,p=!1;var E=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var o=r.prototype;return o.initialize=function(){p=i.default.get("hideSuppressWarning")||p},o.isAFKChannel=function(){var e=a.default.getChannel(d);if(null==e)return!1;var t=s.default.getGuild(e.getGuildId());return null!=t&&e.id===t.afkChannelId},o.shouldShowWarning=function(){var e;return!(null===(e=a.default.getChannel(d))||void 0===e?void 0:e.isGuildStageVoice())&&!_},r}(r.default.Store))(o.default,{CONNECTION_OPEN:function(e){c=e.sessionId,f=!1},CONNECTION_CLOSED:function(e){return c=null,d=null,void(_=!0)},VOICE_STATE_UPDATE:function(e){if(c!==e.sessionId)return!1;f!==e.suppress&&(f=e.suppress,_=!f),d!==e.channelId&&(d=e.channelId,_=!f),(p||null==e.channelId)&&(_=!0)},PERMISSION_CLEAR_SUPPRESS_WARNING:function(e){var t=e.forever;_=!0,t&&(p=!0,i.default.set("hideSuppressWarning",p))}});t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.useStateFromStores)([u.default],(function(){return u.default.shouldShowWarning()}),[]),t=r.useRef(null);function n(){null!==t.current&&((0,l.closeModal)(t.current),t.current=null)}function f(){a.default.clearVADWarning()}return r.useEffect((function(){return e?t.current=(0,l.openModal)((function(e){return r.createElement(s.default,p({title:d.default.Messages.VAD_PERMISSION_TITLE,body:d.default.Messages.VAD_PERMISSION_BODY,onCancel:f,cancelText:d.default.Messages.VAD_PERMISSION_OKAY,confirmText:d.default.Messages.VAD_PERMISSION_ENABLE_PTT,onConfirm:function(){o.default.setMode(c.InputModes.PUSH_TO_TALK),f()}},e))})):n(),function(){n()}}),[e]),null};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(3),o=f(n(288)),a=f(n(311)),s=f(n(218)),u=f(n(5665)),l=n(41),c=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(3)),i=f(n(2)),o=f(n(11)),a=f(n(10)),s=f(n(51)),u=f(n(40)),l=f(n(94)),c=f(n(80)),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=!0,E=!0;function h(){var e,t=l.default.getChannelId();if(null==t)e=!0;else{var n=a.default.getChannel(t),r=c.default.getVoiceState(null==n?void 0:n.getGuildId(),o.default.getId());e=s.default.getMode()!==d.InputModes.VOICE_ACTIVITY||null==n||n.isPrivate()||n.isGuildStageVoice()||u.default.can(d.Permissions.USE_VAD,n)||function(e){return null==e||(!!e.suppress||null!=e.requestToSpeakTimestamp)}(r)}if(p===e)return!1;E=e,p=e,i.default.dirtyDispatch({type:d.ActionTypes.SET_VAD_PERMISSION,hasPermission:p})}var m=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n);var i=r.prototype;return i.initialize=function(){this.waitFor(u.default,s.default,l.default,c.default)},i.shouldShowWarning=function(){return!E},i.canUseVoiceActivity=function(){return p},r}(r.default.Store))(i.default,{RTC_CONNECTION_STATE:function(e){return h()},MEDIA_ENGINE_SET_AUDIO_ENABLED:function(e){return h()},AUDIO_SET_MODE:function(e){return h()},CHANNEL_UPDATES:function(e){return h()},THREAD_UPDATE:function(e){return h()},GUILD_ROLE_UPDATE:function(e){return h()},GUILD_MEMBER_UPDATE:function(e){return h()},VIEW_AS_ROLES_UPDATE:function(e){return h()},VIEW_AS_ROLES_STOP:function(e){return h()},VOICE_STATE_UPDATE:function(e){return e.userId===o.default.getId()&&h()},AUDIO_TOGGLE_SELF_MUTE:function(e){E=p},PERMISSION_CLEAR_VAD_WARNING:function(e){E=!0}});t.default=m},,,,function(e,t,n){"use strict";n.r(t);var r=n(49),i=n(87),o=n(65);n(17);function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var s=n(0),u=n.n(s),l=n(67),c=n.n(l),d={disabled:!1},f=u.a.createContext(null),_="entering",p="entered",E=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i="exited",r.appearStatus=_):i=p:i=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",r.state={status:i},r.nextCallback=null,r}Object(o.a)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==_&&n!==p&&(t=_):n!==_&&n!==p||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=c.a.findDOMNode(this);t===_?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},n.performEnter=function(e,t){var n=this,r=this.props.enter,i=this.context?this.context.isMounting:t,o=this.getTimeouts(),a=i?o.appear:o.enter;!t&&!r||d.disabled?this.safeSetState({status:p},(function(){n.props.onEntered(e)})):(this.props.onEnter(e,i),this.safeSetState({status:_},(function(){n.props.onEntering(e,i),n.onTransitionEnd(e,a,(function(){n.safeSetState({status:p},(function(){n.props.onEntered(e,i)}))}))})))},n.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();n&&!d.disabled?(this.props.onExit(e),this.safeSetState({status:"exiting"},(function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,(function(){t.safeSetState({status:"exited"},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:"exited"},(function(){t.props.onExited(e)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;e&&!r?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,r=Object(i.a)(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return u.a.createElement(f.Provider,{value:null},n(e,r));var o=u.a.Children.only(n);return u.a.createElement(f.Provider,{value:null},u.a.cloneElement(o,r))},t}(u.a.Component);function h(){}E.contextType=f,E.propTypes={},E.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},E.UNMOUNTED=0,E.EXITED=1,E.ENTERING=2,E.ENTERED=3,E.EXITING=4;var m=E,v=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=a(n.className,r):n.setAttribute("class",a(n.className&&n.className.baseVal||"",r)));var n,r}))},T=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){t.removeClasses(e,"exit"),t.addClass(e,n?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=n?"appear":"enter";t.addClass(e,r,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=n?"appear":"enter";t.removeClasses(e,r),t.addClass(e,r,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),t.addClass(e,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){t.addClass(e,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){t.removeClasses(e,"exit"),t.addClass(e,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,i=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}Object(o.a)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"];"appear"===t&&"done"===n&&(r+=" "+this.getClassNames("enter").doneClassName),"active"===n&&e&&e.scrollTop,this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r)},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,o=n.done;this.appliedClasses[t]={},r&&v(e,r),i&&v(e,i),o&&v(e,o)},n.render=function(){var e=this.props,t=(e.classNames,Object(i.a)(e,["classNames"]));return u.a.createElement(m,Object(r.a)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(u.a.Component);T.defaultProps={classNames:""},T.propTypes={};var g=T;function I(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e,t){var n=Object.create(null);return e&&s.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Object(s.isValidElement)(e)?t(e):e}(e)})),n}function y(e,t,n){return null!=n[t]?n[t]:e.props[t]}function A(e,t,n){var r=S(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var u in t){if(i[u])for(r=0;r<i[u].length;r++){var l=i[u][r];s[i[u][r]]=n(l)}s[u]=n(u)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(t,r);return Object.keys(i).forEach((function(o){var a=i[o];if(Object(s.isValidElement)(a)){var u=o in t,l=o in r,c=t[o],d=Object(s.isValidElement)(c)&&!c.props.in;!l||u&&!d?l||!u||d?l&&u&&Object(s.isValidElement)(c)&&(i[o]=Object(s.cloneElement)(a,{onExited:n.bind(null,a),in:c.props.in,exit:y(a,"exit",e),enter:y(a,"enter",e)})):i[o]=Object(s.cloneElement)(a,{in:!1}):i[o]=Object(s.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:y(a,"exit",e),enter:y(a,"enter",e)})}})),i}var O=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},N=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(I(I(r)));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}Object(o.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,o=t.handleExited;return{children:t.firstRender?(n=e,r=o,S(n.children,(function(e){return Object(s.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:y(e,"appear",n),enter:y(e,"enter",n),exit:y(e,"exit",n)})}))):A(e,i,o),firstRender:!1}},n.handleExited=function(e,t){var n=S(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Object(r.a)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Object(i.a)(e,["component","childFactory"]),o=this.state.contextValue,a=O(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?u.a.createElement(f.Provider,{value:o},a):u.a.createElement(f.Provider,{value:o},u.a.createElement(t,r,a))},t}(u.a.Component);N.propTypes={},N.defaultProps={component:"div",childFactory:function(e){return e}};var R=N,b=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}Object(o.a)(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var r,i=this.props.children,o=u.a.Children.toArray(i)[t];o.props[e]&&(r=o.props)[e].apply(r,n),this.props[e]&&this.props[e](c.a.findDOMNode(this))},n.render=function(){var e=this.props,t=e.children,n=e.in,r=Object(i.a)(e,["children","in"]),o=u.a.Children.toArray(t),a=o[0],s=o[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,u.a.createElement(R,r,n?u.a.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):u.a.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(u.a.Component);b.propTypes={};var L,D,C=b;var M="out-in",P="in-out",w=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},U=((L={})[M]=function(e){var t=e.current,n=e.changeState;return u.a.cloneElement(t,{in:!1,onExited:w(t,"onExited",(function(){n(_,null)}))})},L[P]=function(e){var t=e.current,n=e.changeState,r=e.children;return[t,u.a.cloneElement(r,{in:!0,onEntered:w(r,"onEntered",(function(){n(_)}))})]},L),k=((D={})[M]=function(e){var t=e.children,n=e.changeState;return u.a.cloneElement(t,{in:!0,onEntered:w(t,"onEntered",(function(){n(p,u.a.cloneElement(t,{in:!0}))}))})},D[P]=function(e){var t=e.current,n=e.children,r=e.changeState;return[u.a.cloneElement(t,{in:!1,onExited:w(t,"onExited",(function(){r(p,u.a.cloneElement(n,{in:!0}))}))}),u.a.cloneElement(n,{in:!0})]},D),G=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={status:p,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}Object(o.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===_&&e.mode===P?{status:_}:!t.current||(n=t.current,r=e.children,n===r||u.a.isValidElement(n)&&u.a.isValidElement(r)&&null!=n.key&&n.key===r.key)?{current:u.a.cloneElement(e.children,{in:!0})}:{status:"exiting"};var n,r},n.render=function(){var e,t=this.props,n=t.children,r=t.mode,i=this.state,o=i.status,a=i.current,s={children:n,current:a,changeState:this.changeState,status:o};switch(o){case _:e=k[r](s);break;case"exiting":e=U[r](s);break;case p:e=a}return u.a.createElement(f.Provider,{value:{isMounting:!this.appeared}},e)},t}(u.a.Component);G.propTypes={},G.defaultProps={mode:M};var Y=G;n.d(t,"CSSTransition",(function(){return g})),n.d(t,"ReplaceTransition",(function(){return C})),n.d(t,"SwitchTransition",(function(){return Y})),n.d(t,"TransitionGroup",(function(){return R})),n.d(t,"Transition",(function(){return m})),n.d(t,"config",(function(){return d}))},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n.n(r);function o(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var a=function(e,t){var n;void 0===t&&(t=o);var r,i=[],a=!1;return function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return a&&n===this&&t(o,i)||(r=e.apply(this,o),a=!0,n=this,i=o),r}},s=n(38),u=n(67),l=n(17),c=n.n(l),d=n(1143),f=n.n(d),_=n(1144),p=n.n(_),E=n(360);function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function I(){return(I=Object.assign||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}).apply(this,arguments)}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){g(e,t,n[t])}))}return e}function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O(e,t)}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(e,t){if(null==e)return{};var n,r,i=function(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}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?R(e):t}function L(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(t,"SelectBase",(function(){return We})),n.d(t,"Async",(function(){return Qe})),n.d(t,"makeAsyncSelect",(function(){return Xe})),n.d(t,"AsyncCreatable",(function(){return rt})),n.d(t,"Creatable",(function(){return tt})),n.d(t,"makeCreatableSelect",(function(){return et})),n.d(t,"createFilter",(function(){return re})),n.d(t,"makeAnimated",(function(){return _t})),n.d(t,"components",(function(){return Ye})),n.d(t,"mergeStyles",(function(){return He})),n.d(t,"defaultTheme",(function(){return Fe}));var D=function(){};function C(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function M(e,t,n,r){var i=[t,r];if(n&&e)for(var o in n)n.hasOwnProperty(o)&&n[o]&&i.push("".concat(C(e,o)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var P=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===h(e)&&null!==e?[e]:[]};function w(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function U(e){return w(e)?window.pageYOffset:e.scrollTop}function k(e,t){w(e)?window.scrollTo(0,t):e.scrollTop=t}function G(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Y(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:D,i=U(e),o=t-i,a=10,s=0;function u(){var t=G(s+=a,i,o,n);k(e,t),s<n?f()(u):r(e)}u()}function x(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function V(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,a=e.isFixedPosition,s=e.theme.spacing,u=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/,i=document.documentElement;if("fixed"===t.position)return i;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return i}(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c=u.getBoundingClientRect().height,d=n.getBoundingClientRect(),f=d.bottom,_=d.height,p=d.top,E=n.offsetParent.getBoundingClientRect().top,h=window.innerHeight,m=U(u),v=parseInt(getComputedStyle(n).marginBottom,10),T=parseInt(getComputedStyle(n).marginTop,10),g=E-T,I=h-p,S=g+m,y=c-m-p,A=f-h+m+v,O=m+p-T;switch(i){case"auto":case"bottom":if(I>=_)return{placement:"bottom",maxHeight:t};if(y>=_&&!a)return o&&Y(u,A,160),{placement:"bottom",maxHeight:t};if(!a&&y>=r||a&&I>=r)return o&&Y(u,A,160),{placement:"bottom",maxHeight:a?I-v:y-v};if("auto"===i||a){var N=t,R=a?g:S;return R>=r&&(N=Math.min(R-v-s.controlHeight,t)),{placement:"top",maxHeight:N}}if("bottom"===i)return k(u,A),{placement:"bottom",maxHeight:t};break;case"top":if(g>=_)return{placement:"top",maxHeight:t};if(S>=_&&!a)return o&&Y(u,O,160),{placement:"top",maxHeight:t};if(!a&&S>=r||a&&g>=r){var b=t;return(!a&&S>=r||a&&g>=r)&&(b=a?g-T:S-T),o&&Y(u,O,160),{placement:"top",maxHeight:b}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return l}var H=function(e){return"auto"===e?"bottom":e},F=function(e){function t(){var e,n;m(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return g(R(R(n=b(this,(e=A(t)).call.apply(e,[this].concat(i))))),"state",{maxHeight:n.props.maxMenuHeight,placement:null}),g(R(R(n)),"getPlacement",(function(e){var t=n.props,r=t.minMenuHeight,i=t.maxMenuHeight,o=t.menuPlacement,a=t.menuPosition,s=t.menuShouldScrollIntoView,u=t.theme,l=n.context.getPortalPlacement;if(e){var c="fixed"===a,d=V({maxHeight:i,menuEl:e,minHeight:r,placement:o,shouldScroll:s&&!c,isFixedPosition:c,theme:u});l&&l(d),n.setState(d)}})),g(R(R(n)),"getUpdatedProps",(function(){var e=n.props.menuPlacement,t=n.state.placement||H(e);return S({},n.props,{placement:t,maxHeight:n.state.maxHeight})})),n}return y(t,e),T(t,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),t}(r.Component);g(F,"contextTypes",{getPortalPlacement:c.a.func});var B=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},j=B,W=B,K=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return i.a.createElement("div",I({className:r(Object(s.a)(o("noOptionsMessage",e)),{"menu-notice":!0,"menu-notice--no-options":!0},n)},a),t)};K.defaultProps={children:"No options"};var z=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return i.a.createElement("div",I({className:r(Object(s.a)(o("loadingMessage",e)),{"menu-notice":!0,"menu-notice--loading":!0},n)},a),t)};z.defaultProps={children:"Loading..."};var q=function(e){function t(){var e,n;m(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return g(R(R(n=b(this,(e=A(t)).call.apply(e,[this].concat(i))))),"state",{placement:null}),g(R(R(n)),"getPortalPlacement",(function(e){var t=e.placement;t!==H(n.props.menuPlacement)&&n.setState({placement:t})})),n}return y(t,e),T(t,[{key:"getChildContext",value:function(){return{getPortalPlacement:this.getPortalPlacement}}},{key:"render",value:function(){var e=this.props,t=e.appendTo,n=e.children,r=e.controlElement,o=e.menuPlacement,a=e.menuPosition,l=e.getStyles,c="fixed"===a;if(!t&&!c||!r)return null;var d=this.state.placement||H(o),f=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),_=c?0:window.pageYOffset,p={offset:f[d]+_,position:a,rect:f},E=i.a.createElement("div",{className:Object(s.a)(l("menuPortal",p))},n);return t?Object(u.createPortal)(E,t):E}}]),t}(r.Component);g(q,"childContextTypes",{getPortalPlacement:c.a.func});var X=Array.isArray,J=Object.keys,Q=Object.prototype.hasOwnProperty;function Z(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==h(t)&&"object"==h(n)){var r,i,o,a=X(t),s=X(n);if(a&&s){if((i=t.length)!=n.length)return!1;for(r=i;0!=r--;)if(!e(t[r],n[r]))return!1;return!0}if(a!=s)return!1;var u=t instanceof Date,l=n instanceof Date;if(u!=l)return!1;if(u&&l)return t.getTime()==n.getTime();var c=t instanceof RegExp,d=n instanceof RegExp;if(c!=d)return!1;if(c&&d)return t.toString()==n.toString();var f=J(t);if((i=f.length)!==J(n).length)return!1;for(r=i;0!=r--;)if(!Q.call(n,f[r]))return!1;for(r=i;0!=r--;)if(!("_owner"===(o=f[r])&&t.$$typeof||e(t[o],n[o])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}var $=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],ee=function(e){for(var t=0;t<$.length;t++)e=e.replace($[t].letters,$[t].base);return e},te=function(e){return e.replace(/^\s+|\s+$/g,"")},ne=function(e){return"".concat(e.label," ").concat(e.value)},re=function(e){return function(t,n){var r=S({ignoreCase:!0,ignoreAccents:!0,stringify:ne,trim:!0,matchFrom:"any"},e),i=r.ignoreCase,o=r.ignoreAccents,a=r.stringify,s=r.trim,u=r.matchFrom,l=s?te(n):n,c=s?te(a(t)):a(t);return i&&(l=l.toLowerCase(),c=c.toLowerCase()),o&&(l=ee(l),c=ee(c)),"start"===u?c.substr(0,l.length)===l:c.indexOf(l)>-1}},ie=function(e){return i.a.createElement("span",I({className:Object(s.a)({label:"a11yText",zIndex:9999,border:0,clip:"rect(1px, 1px, 1px, 1px)",height:1,width:1,position:"absolute",overflow:"hidden",padding:0,whiteSpace:"nowrap",backgroundColor:"red",color:"blue"})},e))},oe=function(e){function t(){return m(this,t),b(this,A(t).apply(this,arguments))}return y(t,e),T(t,[{key:"render",value:function(){var e=this.props,t=(e.in,e.out,e.onExited,e.appear,e.enter,e.exit,e.innerRef),n=(e.emotion,N(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return i.a.createElement("input",I({ref:t},n,{className:Object(s.a)({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"})}))}}]),t}(r.Component),ae=function(e){function t(){return m(this,t),b(this,A(t).apply(this,arguments))}return y(t,e),T(t,[{key:"componentDidMount",value:function(){this.props.innerRef(Object(u.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),t}(r.Component),se=["boxSizing","height","overflow","paddingRight","position"],ue={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function le(e){e.preventDefault()}function ce(e){e.stopPropagation()}function de(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function fe(){return"ontouchstart"in window||navigator.maxTouchPoints}var _e=!("undefined"==typeof window||!window.document||!window.document.createElement),pe=0,Ee=function(e){function t(){var e,n;m(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return g(R(R(n=b(this,(e=A(t)).call.apply(e,[this].concat(i))))),"originalStyles",{}),g(R(R(n)),"listenerOptions",{capture:!1,passive:!1}),n}return y(t,e),T(t,[{key:"componentDidMount",value:function(){var e=this;if(_e){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,i=document.body,o=i&&i.style;if(n&&se.forEach((function(t){var n=o&&o[t];e.originalStyles[t]=n})),n&&pe<1){var a=parseInt(this.originalStyles.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,u=window.innerWidth-s+a||0;Object.keys(ue).forEach((function(e){var t=ue[e];o&&(o[e]=t)})),o&&(o.paddingRight="".concat(u,"px"))}i&&fe()&&(i.addEventListener("touchmove",le,this.listenerOptions),r&&(r.addEventListener("touchstart",de,this.listenerOptions),r.addEventListener("touchmove",ce,this.listenerOptions))),pe+=1}}},{key:"componentWillUnmount",value:function(){var e=this;if(_e){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,i=document.body,o=i&&i.style;pe=Math.max(pe-1,0),n&&pe<1&&se.forEach((function(t){var n=e.originalStyles[t];o&&(o[t]=n)})),i&&fe()&&(i.removeEventListener("touchmove",le,this.listenerOptions),r&&(r.removeEventListener("touchstart",de,this.listenerOptions),r.removeEventListener("touchmove",ce,this.listenerOptions)))}}},{key:"render",value:function(){return null}}]),t}(r.Component);g(Ee,"defaultProps",{accountForScrollbars:!0});var he=function(e){function t(){var e,n;m(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return g(R(R(n=b(this,(e=A(t)).call.apply(e,[this].concat(i))))),"state",{touchScrollTarget:null}),g(R(R(n)),"getScrollTarget",(function(e){e!==n.state.touchScrollTarget&&n.setState({touchScrollTarget:e})})),g(R(R(n)),"blurSelectInput",(function(){document.activeElement&&document.activeElement.blur()})),n}return y(t,e),T(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.isEnabled,r=this.state.touchScrollTarget;return n?i.a.createElement("div",null,i.a.createElement("div",{onClick:this.blurSelectInput,className:Object(s.a)({position:"fixed",left:0,bottom:0,right:0,top:0})}),i.a.createElement(ae,{innerRef:this.getScrollTarget},t),r?i.a.createElement(Ee,{touchScrollTarget:r}):null):t}}]),t}(r.PureComponent),me=function(e){function t(){var e,n;m(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return g(R(R(n=b(this,(e=A(t)).call.apply(e,[this].concat(i))))),"isBottom",!1),g(R(R(n)),"isTop",!1),g(R(R(n)),"scrollTarget",void 0),g(R(R(n)),"touchStart",void 0),g(R(R(n)),"cancelScroll",(function(e){e.preventDefault(),e.stopPropagation()})),g(R(R(n)),"handleEventDelta",(function(e,t){var r=n.props,i=r.onBottomArrive,o=r.onBottomLeave,a=r.onTopArrive,s=r.onTopLeave,u=n.scrollTarget,l=u.scrollTop,c=u.scrollHeight,d=u.clientHeight,f=n.scrollTarget,_=t>0,p=c-d-l,E=!1;p>t&&n.isBottom&&(o&&o(e),n.isBottom=!1),_&&n.isTop&&(s&&s(e),n.isTop=!1),_&&t>p?(i&&!n.isBottom&&i(e),f.scrollTop=c,E=!0,n.isBottom=!0):!_&&-t>l&&(a&&!n.isTop&&a(e),f.scrollTop=0,E=!0,n.isTop=!0),E&&n.cancelScroll(e)})),g(R(R(n)),"onWheel",(function(e){n.handleEventDelta(e,e.deltaY)})),g(R(R(n)),"onTouchStart",(function(e){n.touchStart=e.changedTouches[0].clientY})),g(R(R(n)),"onTouchMove",(function(e){var t=n.touchStart-e.changedTouches[0].clientY;n.handleEventDelta(e,t)})),g(R(R(n)),"getScrollTarget",(function(e){n.scrollTarget=e})),n}return y(t,e),T(t,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(e){e&&(e.scrollHeight<=e.clientHeight||("function"==typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1)))}},{key:"stopListening",value:function(e){e.scrollHeight<=e.clientHeight||("function"==typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1))}},{key:"render",value:function(){return i.a.createElement(ae,{innerRef:this.getScrollTarget},this.props.children)}}]),t}(r.Component),ve=function(e){function t(){return m(this,t),b(this,A(t).apply(this,arguments))}return y(t,e),T(t,[{key:"render",value:function(){var e=this.props,t=e.isEnabled,n=N(e,["isEnabled"]);return t?i.a.createElement(me,n):this.props.children}}]),t}(r.Component);g(ve,"defaultProps",{isEnabled:!0});var Te=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isSearchable,r=t.isMulti,i=t.label,o=t.isDisabled;switch(e){case"menu":return"Use Up and Down to choose options".concat(o?"":", press Enter to select the currently focused option",", press Escape to exit the menu, press Tab to select the option and exit the menu.");case"input":return"".concat(i||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},ge=function(e,t){var n=t.value,r=t.isDisabled;if(n)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"select-option":return"option ".concat(n,r?" is disabled. Select another option.":", selected.")}},Ie=function(e){return!!e.isDisabled},Se=function(e){function t(){return m(this,t),b(this,A(t).apply(this,arguments))}return y(t,e),T(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.cx,o=e.isMulti,a=e.getStyles,u=e.hasValue;return i.a.createElement("div",{className:r(Object(s.a)(a("valueContainer",this.props)),{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":u},n)},t)}}]),t}(r.Component),ye=function(e){var t=e.size,n=N(e,["size"]);return i.a.createElement("svg",I({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:Object(s.a)({display:"inline-block",fill:"currentColor",lineHeight:1,stroke:"currentColor",strokeWidth:0})},n))},Ae=function(e){return i.a.createElement(ye,I({size:20},e),i.a.createElement("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Oe=function(e){return i.a.createElement(ye,I({size:20},e),i.a.createElement("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Ne=function(e){var t=e.isFocused,n=e.theme,r=n.spacing.baseUnit,i=n.colors;return{label:"indicatorContainer",color:t?i.neutral60:i.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:t?i.neutral80:i.neutral40}}},Re=Ne,be=Ne,Le=!1,De=function(e){var t=e.color,n=e.delay,r=e.offset;return i.a.createElement("span",{className:Object(s.a)({animationDuration:"1s",animationDelay:"".concat(n,"ms"),animationIterationCount:"infinite",animationName:"react-select-loading-indicator",animationTimingFunction:"ease-in-out",backgroundColor:t,borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":null,height:"1em",verticalAlign:"top",width:"1em"})})},Ce=function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps,a=e.isFocused,u=e.isRtl,l=e.theme.colors,c=a?l.neutral80:l.neutral20;return Le||(Object(s.b)("@keyframes ","react-select-loading-indicator","{0%,80%,100%{opacity:0;}40%{opacity:1;}};"),Le=!0),i.a.createElement("div",I({},o,{className:n(Object(s.a)(r("loadingIndicator",e)),{indicator:!0,"loading-indicator":!0},t)}),i.a.createElement(De,{color:c,delay:0,offset:u}),i.a.createElement(De,{color:c,delay:160,offset:!0}),i.a.createElement(De,{color:c,delay:320,offset:!u}))};Ce.defaultProps={size:4};var Me=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}},Pe=function(e){var t=e.children,n=e.innerProps;return i.a.createElement("div",n,t)},we=Pe,Ue=Pe,ke=function(e){function t(){return m(this,t),b(this,A(t).apply(this,arguments))}return y(t,e),T(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.innerProps;return i.a.createElement("div",n,t||i.a.createElement(Ae,{size:14}))}}]),t}(r.Component),Ge=function(e){function t(){return m(this,t),b(this,A(t).apply(this,arguments))}return y(t,e),T(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.components,o=e.cx,a=e.data,u=e.getStyles,l=e.innerProps,c=e.isDisabled,d=e.removeProps,f=e.selectProps,_=r.Container,p=r.Label,E=r.Remove,h=S({className:o(Object(s.a)(u("multiValue",this.props)),{"multi-value":!0,"multi-value--is-disabled":c},n)},l),m={className:o(Object(s.a)(u("multiValueLabel",this.props)),{"multi-value__label":!0},n)},v=S({className:o(Object(s.a)(u("multiValueRemove",this.props)),{"multi-value__remove":!0},n)},d);return i.a.createElement(_,{data:a,innerProps:h,selectProps:f},i.a.createElement(p,{data:a,innerProps:m,selectProps:f},t),i.a.createElement(E,{data:a,innerProps:v,selectProps:f}))}}]),t}(r.Component);g(Ge,"defaultProps",{cropWithEllipsis:!0});var Ye={ClearIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return i.a.createElement("div",I({},a,{className:r(Object(s.a)(o("clearIndicator",e)),{indicator:!0,"clear-indicator":!0},n)}),t||i.a.createElement(Ae,null))},Control:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.className,a=e.isDisabled,u=e.isFocused,l=e.innerRef,c=e.innerProps,d=e.menuIsOpen;return i.a.createElement("div",I({ref:l,className:n(Object(s.a)(r("control",e)),{control:!0,"control--is-disabled":a,"control--is-focused":u,"control--menu-is-open":d},o)},c),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return i.a.createElement("div",I({},a,{className:r(Object(s.a)(o("dropdownIndicator",e)),{indicator:!0,"dropdown-indicator":!0},n)}),t||i.a.createElement(Oe,null))},DownChevron:Oe,CrossIcon:Ae,Group:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.Heading,u=e.headingProps,l=e.label,c=e.theme,d=e.selectProps;return i.a.createElement("div",{className:r(Object(s.a)(o("group",e)),{group:!0},n)},i.a.createElement(a,I({},u,{selectProps:d,theme:c,getStyles:o,cx:r}),l),i.a.createElement("div",null,t))},GroupHeading:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.theme,a=(e.selectProps,N(e,["className","cx","getStyles","theme","selectProps"]));return i.a.createElement("div",I({className:n(Object(s.a)(r("groupHeading",S({theme:o},a))),{"group-heading":!0},t)},a))},IndicatorsContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles;return i.a.createElement("div",{className:r(Object(s.a)(o("indicatorsContainer",e)),{indicators:!0},n)},t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps;return i.a.createElement("span",I({},o,{className:n(Object(s.a)(r("indicatorSeparator",e)),{"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerRef,a=e.isHidden,u=e.isDisabled,l=e.theme,c=(e.selectProps,N(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return i.a.createElement("div",{className:Object(s.a)(r("input",S({theme:l},c)))},i.a.createElement(p.a,I({className:n(null,{input:!0},t),inputRef:o,inputStyle:Me(a),disabled:u},c)))},LoadingIndicator:Ce,Menu:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerRef,u=e.innerProps,l=r(Object(s.a)(o("menu",e)),{menu:!0},n);return i.a.createElement("div",I({className:l},u,{ref:a}),t)},MenuList:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.isMulti,u=e.innerRef;return i.a.createElement("div",{className:r(Object(s.a)(o("menuList",e)),{"menu-list":!0,"menu-list--is-multi":a},n),ref:u},t)},MenuPortal:q,LoadingMessage:z,NoOptionsMessage:K,MultiValue:Ge,MultiValueContainer:we,MultiValueLabel:Ue,MultiValueRemove:ke,Option:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.isDisabled,u=e.isFocused,l=e.isSelected,c=e.innerRef,d=e.innerProps;return i.a.createElement("div",I({ref:c,className:r(Object(s.a)(o("option",e)),{option:!0,"option--is-disabled":a,"option--is-focused":u,"option--is-selected":l},n)},d),t)},Placeholder:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return i.a.createElement("div",I({className:r(Object(s.a)(o("placeholder",e)),{placeholder:!0},n)},a),t)},SelectContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps,u=e.isDisabled,l=e.isRtl;return i.a.createElement("div",I({className:r(Object(s.a)(o("container",e)),{"--is-disabled":u,"--is-rtl":l},n)},a),t)},SingleValue:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.isDisabled,u=e.innerProps;return i.a.createElement("div",I({className:r(Object(s.a)(o("singleValue",e)),{"single-value":!0,"single-value--is-disabled":a},n)},u),t)},ValueContainer:Se},xe=function(e){return S({},Ye,e.components)},Ve={clearIndicator:be,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,i=r.colors,o=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?i.neutral5:i.neutral0,borderColor:t?i.neutral10:n?i.primary:i.neutral20,borderRadius:o,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(i.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?i.primary:i.neutral30}}},dropdownIndicator:Re,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,i=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?i.neutral10:i.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},input:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,i=n.colors;return{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:t?"hidden":"visible",color:i.neutral80}},loadingIndicator:function(e){var t=e.isFocused,n=e.size,r=e.theme,i=r.colors,o=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?i.neutral60:i.neutral20,display:"flex",padding:2*o,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:W,menu:function(e){var t,n=e.placement,r=e.theme,i=r.borderRadius,o=r.spacing,a=r.colors;return g(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),g(t,"backgroundColor",a.neutral0),g(t,"borderRadius",i),g(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),g(t,"marginBottom",o.menuGutter),g(t,"marginTop",o.menuGutter),g(t,"position","absolute"),g(t,"width","100%"),g(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,r=t.colors,i=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:i?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,i=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused&&i.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}}},noOptionsMessage:j,option:function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,i=e.theme,o=i.spacing,a=i.colors;return{label:"option",backgroundColor:r?a.primary:n?a.primary25:"transparent",color:t?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*o.baseUnit,"px ").concat(3*o.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:r?a.primary:a.primary50}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,i=n.colors;return{label:"singleValue",color:t?i.neutral40:i.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"calc(100% - ".concat(2*r.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};function He(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=S({},e);return Object.keys(t).forEach((function(r){e[r]?n[r]=function(n,i){return t[r](e[r](n,i),i)}:n[r]=t[r]})),n}var Fe={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Be={backspaceRemovesValue:!0,blurInputOnSelect:x(),captureMenuScroll:!x(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:re(),formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Ie,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},je=1,We=function(e){function t(e){var n;m(this,t),g(R(R(n=b(this,A(t).call(this,e)))),"state",{ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,isComposing:!1,menuOptions:{render:[],focusable:[]},selectValue:[]}),g(R(R(n)),"blockOptionHover",!1),g(R(R(n)),"clearFocusValueOnUpdate",!1),g(R(R(n)),"commonProps",void 0),g(R(R(n)),"components",void 0),g(R(R(n)),"hasGroups",!1),g(R(R(n)),"initialTouchX",0),g(R(R(n)),"initialTouchY",0),g(R(R(n)),"inputIsHiddenAfterUpdate",void 0),g(R(R(n)),"instancePrefix",""),g(R(R(n)),"openAfterFocus",!1),g(R(R(n)),"scrollToFocusedOptionOnUpdate",!1),g(R(R(n)),"userIsDragging",void 0),g(R(R(n)),"controlRef",null),g(R(R(n)),"getControlRef",(function(e){n.controlRef=e})),g(R(R(n)),"focusedOptionRef",null),g(R(R(n)),"getFocusedOptionRef",(function(e){n.focusedOptionRef=e})),g(R(R(n)),"menuListRef",null),g(R(R(n)),"getMenuListRef",(function(e){n.menuListRef=e})),g(R(R(n)),"inputRef",null),g(R(R(n)),"getInputRef",(function(e){n.inputRef=e})),g(R(R(n)),"cacheComponents",(function(e){n.components=xe({components:e})})),g(R(R(n)),"focus",n.focusInput),g(R(R(n)),"blur",n.blurInput),g(R(R(n)),"onChange",(function(e,t){var r=n.props;(0,r.onChange)(e,S({},t,{name:r.name}))})),g(R(R(n)),"setValue",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",r=arguments.length>2?arguments[2]:void 0,i=n.props,o=i.closeMenuOnSelect,a=i.isMulti;n.onInputChange("",{action:"set-value"}),o&&(n.inputIsHiddenAfterUpdate=!a,n.onMenuClose()),n.clearFocusValueOnUpdate=!0,n.onChange(e,{action:t,option:r})})),g(R(R(n)),"selectOption",(function(e){var t=n.props,r=t.blurInputOnSelect,i=t.isMulti,o=n.state.selectValue;if(i)if(n.isOptionSelected(e,o)){var a=n.getOptionValue(e);n.setValue(o.filter((function(e){return n.getOptionValue(e)!==a})),"deselect-option",e),n.announceAriaLiveSelection({event:"deselect-option",context:{value:n.getOptionLabel(e)}})}else n.isOptionDisabled(e,o)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue([].concat(L(o),[e]),"select-option",e),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));else n.isOptionDisabled(e,o)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue(e,"select-option"),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));r&&n.blurInput()})),g(R(R(n)),"removeValue",(function(e){var t=n.state.selectValue,r=n.getOptionValue(e);n.onChange(t.filter((function(e){return n.getOptionValue(e)!==r})),{action:"remove-value",removedValue:e}),n.announceAriaLiveSelection({event:"remove-value",context:{value:e?n.getOptionLabel(e):""}}),n.focusInput()})),g(R(R(n)),"clearValue",(function(){var e=n.props.isMulti;n.onChange(e?[]:null,{action:"clear"})})),g(R(R(n)),"popValue",(function(){var e=n.state.selectValue,t=e[e.length-1];n.announceAriaLiveSelection({event:"pop-value",context:{value:t?n.getOptionLabel(t):""}}),n.onChange(e.slice(0,e.length-1),{action:"pop-value",removedValue:t})})),g(R(R(n)),"getOptionLabel",(function(e){return n.props.getOptionLabel(e)})),g(R(R(n)),"getOptionValue",(function(e){return n.props.getOptionValue(e)})),g(R(R(n)),"getStyles",(function(e,t){var r=Ve[e](t);r.boxSizing="border-box";var i=n.props.styles[e];return i?i(r,t):r})),g(R(R(n)),"getElementId",(function(e){return"".concat(n.instancePrefix,"-").concat(e)})),g(R(R(n)),"getActiveDescendentId",(function(){var e=n.props.menuIsOpen,t=n.state,r=t.menuOptions,i=t.focusedOption;if(i&&e){var o=r.focusable.indexOf(i),a=r.render[o];return a&&a.key}})),g(R(R(n)),"announceAriaLiveSelection",(function(e){var t=e.event,r=e.context;n.setState({ariaLiveSelection:ge(t,r)})})),g(R(R(n)),"announceAriaLiveContext",(function(e){var t=e.event,r=e.context;n.setState({ariaLiveContext:Te(t,S({},r,{label:n.props["aria-label"]}))})})),g(R(R(n)),"onMenuMouseDown",(function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),n.focusInput())})),g(R(R(n)),"onMenuMouseMove",(function(e){n.blockOptionHover=!1})),g(R(R(n)),"onControlMouseDown",(function(e){var t=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?"INPUT"!==e.target.tagName&&n.onMenuClose():t&&n.openMenu("first"):(t&&(n.openAfterFocus=!0),n.focusInput()),"INPUT"!==e.target.tagName&&e.preventDefault()})),g(R(R(n)),"onDropdownIndicatorMouseDown",(function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||n.props.isDisabled)){var t=n.props,r=t.isMulti,i=t.menuIsOpen;n.focusInput(),i?(n.inputIsHiddenAfterUpdate=!r,n.onMenuClose()):n.openMenu("first"),e.preventDefault(),e.stopPropagation()}})),g(R(R(n)),"onClearIndicatorMouseDown",(function(e){e&&"mousedown"===e.type&&0!==e.button||(n.clearValue(),e.stopPropagation(),n.openAfterFocus=!1,setTimeout((function(){return n.focusInput()})))})),g(R(R(n)),"onScroll",(function(e){"boolean"==typeof n.props.closeMenuOnScroll?e.target instanceof HTMLElement&&w(e.target)&&n.props.onMenuClose():"function"==typeof n.props.closeMenuOnScroll&&n.props.closeMenuOnScroll(e)&&n.props.onMenuClose()})),g(R(R(n)),"onCompositionStart",(function(){n.setState({isComposing:!0})})),g(R(R(n)),"onCompositionEnd",(function(){n.setState({isComposing:!1})})),g(R(R(n)),"onTouchStart",(function(e){var t=e.touches.item(0);t&&(n.initialTouchX=t.clientX,n.initialTouchY=t.clientY,n.userIsDragging=!1)})),g(R(R(n)),"onTouchMove",(function(e){var t=e.touches.item(0);if(t){var r=Math.abs(t.clientX-n.initialTouchX),i=Math.abs(t.clientY-n.initialTouchY);n.userIsDragging=r>5||i>5}})),g(R(R(n)),"onTouchEnd",(function(e){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(e.target)&&n.menuListRef&&!n.menuListRef.contains(e.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)})),g(R(R(n)),"onControlTouchEnd",(function(e){n.userIsDragging||n.onControlMouseDown(e)})),g(R(R(n)),"onClearIndicatorTouchEnd",(function(e){n.userIsDragging||n.onClearIndicatorMouseDown(e)})),g(R(R(n)),"onDropdownIndicatorTouchEnd",(function(e){n.userIsDragging||n.onDropdownIndicatorMouseDown(e)})),g(R(R(n)),"handleInputChange",(function(e){var t=e.currentTarget.value;n.inputIsHiddenAfterUpdate=!1,n.onInputChange(t,{action:"input-change"}),n.onMenuOpen()})),g(R(R(n)),"onInputFocus",(function(e){var t=n.props,r=t.isSearchable,i=t.isMulti;n.props.onFocus&&n.props.onFocus(e),n.inputIsHiddenAfterUpdate=!1,n.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:i}}),n.setState({isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1})),g(R(R(n)),"onInputBlur",(function(e){n.menuListRef&&n.menuListRef.contains(document.activeElement)?n.inputRef.focus():(n.props.onBlur&&n.props.onBlur(e),n.onInputChange("",{action:"input-blur"}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1}))})),g(R(R(n)),"onOptionHover",(function(e){n.blockOptionHover||n.state.focusedOption===e||n.setState({focusedOption:e})})),g(R(R(n)),"shouldHideSelectedOptions",(function(){var e=n.props,t=e.hideSelectedOptions,r=e.isMulti;return void 0===t?r:t})),g(R(R(n)),"onKeyDown",(function(e){var t=n.props,r=t.isMulti,i=t.backspaceRemovesValue,o=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,u=t.isDisabled,l=t.menuIsOpen,c=t.onKeyDown,d=t.tabSelectsValue,f=t.openMenuOnFocus,_=n.state,p=_.isComposing,E=_.focusedOption,h=_.focusedValue,m=_.selectValue;if(!(u||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(n.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||a)return;n.focusValue("previous");break;case"ArrowRight":if(!r||a)return;n.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(h)n.removeValue(h);else{if(!i)return;r?n.popValue():s&&n.clearValue()}break;case"Tab":if(p)return;if(e.shiftKey||!l||!d||!E||f&&n.isOptionSelected(E,m))return;n.selectOption(E);break;case"Enter":if(229===e.keyCode)break;if(l){if(!E)return;if(p)return;n.selectOption(E);break}return;case"Escape":l?(n.inputIsHiddenAfterUpdate=!1,n.onInputChange("",{action:"menu-close"}),n.onMenuClose()):s&&o&&n.clearValue();break;case" ":if(a)return;if(!l){n.openMenu("first");break}if(!E)return;n.selectOption(E);break;case"ArrowUp":l?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":l?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!l)return;n.focusOption("pageup");break;case"PageDown":if(!l)return;n.focusOption("pagedown");break;case"Home":if(!l)return;n.focusOption("first");break;case"End":if(!l)return;n.focusOption("last");break;default:return}e.preventDefault()}}));var r=e.value;n.cacheComponents=a(n.cacheComponents,Z).bind(R(R(n))),n.cacheComponents(e.components),n.instancePrefix="react-select-"+(n.props.instanceId||++je);var i=P(r),o=n.buildMenuOptions(e,i);return n.state.menuOptions=o,n.state.selectValue=i,n}return y(t,e),T(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props,n=t.options,r=t.value,i=t.inputValue;if(this.cacheComponents(e.components),e.value!==r||e.options!==n||e.inputValue!==i){var o=P(e.value),a=this.buildMenuOptions(e,o),s=this.getNextFocusedValue(o),u=this.getNextFocusedOption(a.focusable);this.setState({menuOptions:a,selectValue:o,focusedOption:u,focusedValue:s})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(e){var t,n,r,i,o,a=this.props,s=a.isDisabled,u=a.menuIsOpen,l=this.state.isFocused;(l&&!s&&e.isDisabled||l&&u&&!e.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,n=this.focusedOptionRef,r=t.getBoundingClientRect(),i=n.getBoundingClientRect(),o=n.offsetHeight/3,i.bottom+o>r.bottom?k(t,Math.min(n.offsetTop+n.clientHeight-t.offsetHeight+o,t.scrollHeight)):i.top-o<r.top&&k(t,Math.max(n.offsetTop-o,0))),this.scrollToFocusedOptionOnUpdate=!1}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var e=this.props,t=e.isSearchable,n=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this.state,n=t.menuOptions,r=t.selectValue,i=t.isFocused,o=this.props.isMulti,a="first"===e?0:n.focusable.length-1;if(!o){var s=n.focusable.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.onMenuOpen(),this.setState({focusedValue:null,focusedOption:n.focusable[a]}),this.announceAriaLiveContext({event:"menu"})}},{key:"focusValue",value:function(e){var t=this.props,n=t.isMulti,r=t.isSearchable,i=this.state,o=i.selectValue,a=i.focusedValue;if(n){this.setState({focusedOption:null});var s=o.indexOf(a);a||(s=-1,this.announceAriaLiveContext({event:"value"}));var u=o.length-1,l=-1;if(o.length){switch(e){case"previous":l=0===s?0:-1===s?u:s-1;break;case"next":s>-1&&s<u&&(l=s+1)}-1===l&&this.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:n}}),this.setState({inputIsHidden:-1!==l,focusedValue:o[l]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state,r=n.focusedOption,i=n.menuOptions,o=i.focusable;if(o.length){var a=0,s=o.indexOf(r);r||(s=-1,this.announceAriaLiveContext({event:"menu"})),"up"===e?a=s>0?s-1:o.length-1:"down"===e?a=(s+1)%o.length:"pageup"===e?(a=s-t)<0&&(a=0):"pagedown"===e?(a=s+t)>o.length-1&&(a=o.length-1):"last"===e&&(a=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[a],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:Ie(o[a])}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Fe):S({},Fe,this.props.theme):Fe}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.getStyles,n=this.setValue,r=this.selectOption,i=this.props,o=i.classNamePrefix,a=i.isMulti,s=i.isRtl,u=i.options,l=this.state.selectValue,c=this.hasValue();return{cx:M.bind(null,o),clearValue:e,getStyles:t,getValue:function(){return l},hasValue:c,isMulti:a,isRtl:s,options:u,selectOption:r,setValue:n,selectProps:i,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,n=t.focusedValue,r=t.selectValue.indexOf(n);if(r>-1){if(e.indexOf(n)>-1)return n;if(r<e.length)return e[r]}return null}},{key:"getNextFocusedOption",value:function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)}},{key:"isOptionSelected",value:function(e,t){var n=this;if(t.indexOf(e)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var r=this.getOptionValue(e);return t.some((function(e){return n.getOptionValue(e)===r}))}},{key:"filterOption",value:function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"buildMenuOptions",value:function(e,t){var n=this,r=e.inputValue,i=void 0===r?"":r,o=e.options,a=function(e,r){var o=n.isOptionDisabled(e,t),a=n.isOptionSelected(e,t),s=n.getOptionLabel(e),u=n.getOptionValue(e);if(!(n.shouldHideSelectedOptions()&&a||!n.filterOption({label:s,value:u,data:e},i))){var l=o?void 0:function(){return n.onOptionHover(e)},c=o?void 0:function(){return n.selectOption(e)},d="".concat(n.getElementId("option"),"-").concat(r);return{innerProps:{id:d,onClick:c,onMouseMove:l,onMouseOver:l,tabIndex:-1},data:e,isDisabled:o,isSelected:a,key:d,label:s,type:"option",value:u}}};return o.reduce((function(e,t,r){if(t.options){n.hasGroups||(n.hasGroups=!0);var i=t.options.map((function(t,n){var i=a(t,"".concat(r,"-").concat(n));return i&&e.focusable.push(t),i})).filter(Boolean);if(i.length){var o="".concat(n.getElementId("group"),"-").concat(r);e.render.push({type:"group",key:o,data:t,options:i})}}else{var s=a(t,"".concat(r));s&&(e.render.push(s),e.focusable.push(t))}return e}),{render:[],focusable:[]})}},{key:"constructAriaLiveMessage",value:function(){var e=this.state,t=e.ariaLiveContext,n=e.selectValue,r=e.focusedValue,i=e.focusedOption,o=this.props,a=o.options,s=o.menuIsOpen,u=o.inputValue,l=o.screenReaderStatus,c=r?function(e){var t=e.focusedValue,n=e.getOptionLabel,r=e.selectValue;return"value ".concat(n(t)," focused, ").concat(r.indexOf(t)+1," of ").concat(r.length,".")}({focusedValue:r,getOptionLabel:this.getOptionLabel,selectValue:n}):"",d=i&&s?function(e){var t=e.focusedOption,n=e.getOptionLabel,r=e.options;return"option ".concat(n(t)," focused").concat(t.isDisabled?" disabled":"",", ").concat(r.indexOf(t)+1," of ").concat(r.length,".")}({focusedOption:i,getOptionLabel:this.getOptionLabel,options:a}):"",f=function(e){var t=e.inputValue,n=e.screenReaderMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}({inputValue:u,screenReaderMessage:l({count:this.countOptions()})});return"".concat(c," ").concat(d," ").concat(f," ").concat(t)}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,a=e.tabIndex,s=this.components.Input,u=this.state.inputIsHidden,l=r||this.getElementId("input");if(!n)return i.a.createElement(oe,{id:l,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:D,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:a,value:""});var c={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]},d=this.commonProps,f=d.cx,_=d.theme,p=d.selectProps;return i.a.createElement(s,I({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:f,getStyles:this.getStyles,id:l,innerRef:this.getInputRef,isDisabled:t,isHidden:u,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:p,spellCheck:"false",tabIndex:a,theme:_,type:"text",value:o},c))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.components,n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,u=t.Placeholder,l=this.commonProps,c=this.props,d=c.controlShouldRenderValue,f=c.isDisabled,_=c.isMulti,p=c.inputValue,E=c.placeholder,h=this.state,m=h.selectValue,v=h.focusedValue,T=h.isFocused;if(!this.hasValue()||!d)return p?null:i.a.createElement(u,I({},l,{key:"placeholder",isDisabled:f,isFocused:T}),E);if(_)return m.map((function(t){var s=t===v;return i.a.createElement(n,I({},l,{components:{Container:r,Label:o,Remove:a},isFocused:s,isDisabled:f,key:e.getOptionValue(t),removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));if(p)return null;var g=m[0];return i.a.createElement(s,I({},l,{data:g,isDisabled:f}),this.formatOptionLabel(g,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.components.ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return i.a.createElement(e,I({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.components.LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!e||!o)return null;return i.a.createElement(e,I({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.components,t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return i.a.createElement(n,I({},r,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.components.DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return i.a.createElement(e,I({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.components,n=t.Group,r=t.GroupHeading,o=t.Menu,a=t.MenuList,s=t.MenuPortal,u=t.LoadingMessage,l=t.NoOptionsMessage,c=t.Option,d=this.commonProps,f=this.state,_=f.focusedOption,p=f.menuOptions,E=this.props,h=E.captureMenuScroll,m=E.inputValue,v=E.isLoading,T=E.loadingMessage,g=E.minMenuHeight,S=E.maxMenuHeight,y=E.menuIsOpen,A=E.menuPlacement,O=E.menuPosition,R=E.menuPortalTarget,b=E.menuShouldBlockScroll,L=E.menuShouldScrollIntoView,D=E.noOptionsMessage,C=E.onMenuScrollToTop,M=E.onMenuScrollToBottom;if(!y)return null;var P,w=function(t){var n=_===t.data;return t.innerRef=n?e.getFocusedOptionRef:void 0,i.a.createElement(c,I({},d,t,{isFocused:n}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())P=p.render.map((function(t){if("group"===t.type){t.type;var o=N(t,["type"]),a="".concat(t.key,"-heading");return i.a.createElement(n,I({},d,o,{Heading:r,headingProps:{id:a},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return w(e)})))}if("option"===t.type)return w(t)}));else if(v){var U=T({inputValue:m});if(null===U)return null;P=i.a.createElement(u,d,U)}else{var k=D({inputValue:m});if(null===k)return null;P=i.a.createElement(l,d,k)}var G={minMenuHeight:g,maxMenuHeight:S,menuPlacement:A,menuPosition:O,menuShouldScrollIntoView:L},Y=i.a.createElement(F,I({},d,G),(function(t){var n=t.ref,r=t.placerProps,s=r.placement,u=r.maxHeight;return i.a.createElement(o,I({},d,G,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:v,placement:s}),i.a.createElement(ve,{isEnabled:h,onTopArrive:C,onBottomArrive:M},i.a.createElement(he,{isEnabled:b},i.a.createElement(a,I({},d,{innerRef:e.getMenuListRef,isLoading:v,maxHeight:u}),P))))}));return R||"fixed"===O?i.a.createElement(s,I({},d,{appendTo:R,controlElement:this.controlRef,menuPlacement:A,menuPosition:O}),Y):Y}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,a=t.name,s=this.state.selectValue;if(a&&!r){if(o){if(n){var u=s.map((function(t){return e.getOptionValue(t)})).join(n);return i.a.createElement("input",{name:a,type:"hidden",value:u})}var l=s.length>0?s.map((function(t,n){return i.a.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):i.a.createElement("input",{name:a,type:"hidden"});return i.a.createElement("div",null,l)}var c=s[0]?this.getOptionValue(s[0]):"";return i.a.createElement("input",{name:a,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?i.a.createElement(ie,{"aria-live":"assertive"},i.a.createElement("p",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),i.a.createElement("p",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var e=this.components,t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,a=this.props,s=a.className,u=a.id,l=a.isDisabled,c=a.menuIsOpen,d=this.state.isFocused,f=this.commonProps=this.getCommonProps();return i.a.createElement(r,I({},f,{className:s,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:d}),this.renderLiveRegion(),i.a.createElement(t,I({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:d,menuIsOpen:c}),i.a.createElement(o,I({},f,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),i.a.createElement(n,I({},f,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),t}(r.Component);g(We,"defaultProps",Be);var Ke={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},ze=function(e){var t,n;return n=t=function(t){function n(){var e,t;m(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return g(R(R(t=b(this,(e=A(n)).call.apply(e,[this].concat(i))))),"select",void 0),g(R(R(t)),"state",{inputValue:void 0!==t.props.inputValue?t.props.inputValue:t.props.defaultInputValue,menuIsOpen:void 0!==t.props.menuIsOpen?t.props.menuIsOpen:t.props.defaultMenuIsOpen,value:void 0!==t.props.value?t.props.value:t.props.defaultValue}),g(R(R(t)),"onChange",(function(e,n){t.callProp("onChange",e,n),t.setState({value:e})})),g(R(R(t)),"onInputChange",(function(e,n){var r=t.callProp("onInputChange",e,n);t.setState({inputValue:void 0!==r?r:e})})),g(R(R(t)),"onMenuOpen",(function(){t.callProp("onMenuOpen"),t.setState({menuIsOpen:!0})})),g(R(R(t)),"onMenuClose",(function(){t.callProp("onMenuClose"),t.setState({menuIsOpen:!1})})),t}return y(n,t),T(n,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(e){return void 0!==this.props[e]?this.props[e]:this.state[e]}},{key:"callProp",value:function(e){if("function"==typeof this.props[e]){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return(t=this.props)[e].apply(t,r)}}},{key:"render",value:function(){var t=this,n=this.props,r=(n.defaultInputValue,n.defaultMenuIsOpen,n.defaultValue,N(n,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return i.a.createElement(e,I({},r,{ref:function(e){t.select=e},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),n}(r.Component),g(t,"defaultProps",Ke),n},qe={cacheOptions:!1,defaultOptions:!1,filterOption:null},Xe=function(e){var t,n;return n=t=function(t){function n(e){var t;return m(this,n),g(R(R(t=b(this,A(n).call(this)))),"select",void 0),g(R(R(t)),"lastRequest",void 0),g(R(R(t)),"mounted",!1),g(R(R(t)),"optionsCache",{}),g(R(R(t)),"handleInputChange",(function(e,n){var r=t.props,i=r.cacheOptions,o=function(e,t,n){if(n){var r=n(e,t);if("string"==typeof r)return r}return e}(e,n,r.onInputChange);if(!o)return delete t.lastRequest,void t.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});if(i&&t.optionsCache[o])t.setState({inputValue:o,loadedInputValue:o,loadedOptions:t.optionsCache[o],isLoading:!1,passEmptyOptions:!1});else{var a=t.lastRequest={};t.setState({inputValue:o,isLoading:!0,passEmptyOptions:!t.state.loadedInputValue},(function(){t.loadOptions(o,(function(e){t.mounted&&(e&&(t.optionsCache[o]=e),a===t.lastRequest&&(delete t.lastRequest,t.setState({isLoading:!1,loadedInputValue:o,loadedOptions:e||[],passEmptyOptions:!1})))}))}))}return o})),t.state={defaultOptions:Array.isArray(e.defaultOptions)?e.defaultOptions:void 0,inputValue:void 0!==e.inputValue?e.inputValue:"",isLoading:!0===e.defaultOptions,loadedOptions:[],passEmptyOptions:!1},t}return y(n,t),T(n,[{key:"componentDidMount",value:function(){var e=this;this.mounted=!0;var t=this.props.defaultOptions,n=this.state.inputValue;!0===t&&this.loadOptions(n,(function(t){if(e.mounted){var n=!!e.lastRequest;e.setState({defaultOptions:t||[],isLoading:n})}}))}},{key:"componentWillReceiveProps",value:function(e){e.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),e.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(e.defaultOptions)?e.defaultOptions:void 0})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"loadOptions",value:function(e,t){var n=this.props.loadOptions;if(!n)return t();var r=n(e,t);r&&"function"==typeof r.then&&r.then(t,(function(){return t()}))}},{key:"render",value:function(){var t=this,n=this.props,r=(n.loadOptions,N(n,["loadOptions"])),o=this.state,a=o.defaultOptions,s=o.inputValue,u=o.isLoading,l=o.loadedInputValue,c=o.loadedOptions,d=o.passEmptyOptions?[]:s&&l?c:a||[];return i.a.createElement(e,I({},r,{ref:function(e){t.select=e},options:d,isLoading:u,onInputChange:this.handleInputChange}))}}]),n}(r.Component),g(t,"defaultProps",qe),n},Je=ze(We),Qe=Xe(Je),Ze=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=String(e).toLowerCase(),r=String(t.value).toLowerCase(),i=String(t.label).toLowerCase();return r===n||i===n},$e=S({allowCreateWhileLoading:!1,createOptionPosition:"last"},{formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,n){return!(!e||t.some((function(t){return Ze(e,t)}))||n.some((function(t){return Ze(e,t)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}}),et=function(e){var t,n;return n=t=function(t){function n(e){var t;m(this,n),g(R(R(t=b(this,A(n).call(this,e)))),"select",void 0),g(R(R(t)),"onChange",(function(e,n){var r=t.props,i=r.getNewOptionData,o=r.inputValue,a=r.isMulti,s=r.onChange,u=r.onCreateOption,l=r.value;if("select-option"!==n.action)return s(e,n);var c=t.state.newOption,d=Array.isArray(e)?e:[e];if(d[d.length-1]!==c)s(e,n);else if(u)u(o);else{var f=i(o,o),_={action:"create-option"};s(a?[].concat(L(P(l)),[f]):f,_)}}));var r=e.options||[];return t.state={newOption:void 0,options:r},t}return y(n,t),T(n,[{key:"componentWillReceiveProps",value:function(e){var t=e.allowCreateWhileLoading,n=e.createOptionPosition,r=e.formatCreateLabel,i=e.getNewOptionData,o=e.inputValue,a=e.isLoading,s=e.isValidNewOption,u=e.value,l=e.options||[],c=this.state.newOption;c=s(o,P(u),l)?i(o,r(o)):void 0,this.setState({newOption:c,options:!t&&a||!c?l:"first"===n?[c].concat(L(l)):[].concat(L(l),[c])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var t=this,n=I({},this.props),r=this.state.options;return i.a.createElement(e,I({},n,{ref:function(e){t.select=e},options:r,onChange:this.onChange}))}}]),n}(r.Component),g(t,"defaultProps",$e),n},tt=ze(et(We)),nt=ze(et(We)),rt=Xe(nt),it=function(e){return function(t){t.in,t.onExited,t.appear,t.enter,t.exit;var n=N(t,["in","onExited","appear","enter","exit"]);return i.a.createElement(e,n)}},ot=function(e){var t=e.component,n=e.duration,r=void 0===n?1:n,o=e.in,a=(e.onExited,N(e,["component","duration","in","onExited"])),s={entering:{opacity:0},entered:{opacity:1,transition:"opacity ".concat(r,"ms")},exiting:{opacity:0},exited:{opacity:0}};return i.a.createElement(E.Transition,{mountOnEnter:!0,unmountOnExit:!0,in:o,timeout:r},(function(e){var n={style:S({},s[e])};return i.a.createElement(t,I({innerProps:n},a))}))},at=function(e){function t(){var e,n;m(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return g(R(R(n=b(this,(e=A(t)).call.apply(e,[this].concat(i))))),"duration",260),g(R(R(n)),"rafID",void 0),g(R(R(n)),"state",{width:"auto"}),g(R(R(n)),"transition",{exiting:{width:0,transition:"width ".concat(n.duration,"ms ease-out")},exited:{width:0}}),g(R(R(n)),"getWidth",(function(e){e&&isNaN(n.state.width)&&(n.rafID=window.requestAnimationFrame((function(){var t=e.getBoundingClientRect().width;n.setState({width:t})})))})),g(R(R(n)),"getStyle",(function(e){return{overflow:"hidden",whiteSpace:"nowrap",width:e}})),g(R(R(n)),"getTransition",(function(e){return n.transition[e]})),n}return y(t,e),T(t,[{key:"componentWillUnmount",value:function(){this.rafID&&window.cancelAnimationFrame(this.rafID)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.in,o=this.state.width;return i.a.createElement(E.Transition,{enter:!1,mountOnEnter:!0,unmountOnExit:!0,in:r,timeout:this.duration},(function(t){var r=S({},e.getStyle(o),e.getTransition(t));return i.a.createElement("div",{ref:e.getWidth,style:r},n)}))}}]),t}(r.Component),st=function(e){return function(t){var n=t.in,r=t.onExited,o=N(t,["in","onExited"]);return i.a.createElement(at,{in:n,onExited:r},i.a.createElement(e,I({cropWithEllipsis:n},o)))}},ut=function(e){return function(t){return i.a.createElement(ot,I({component:e,duration:t.isMulti?260:1},t))}},lt=function(e){return function(t){return i.a.createElement(ot,I({component:e},t))}},ct=function(e){return function(t){return i.a.createElement(E.TransitionGroup,I({component:e},t))}},dt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=xe({components:e}),n=t.Input,r=t.MultiValue,i=t.Placeholder,o=t.SingleValue,a=t.ValueContainer,s=N(t,["Input","MultiValue","Placeholder","SingleValue","ValueContainer"]);return S({Input:it(n),MultiValue:st(r),Placeholder:ut(i),SingleValue:lt(o),ValueContainer:ct(a)},s)},ft=dt(),_t=(ft.Input,ft.MultiValue,ft.Placeholder,ft.SingleValue,ft.ValueContainer,a(dt,Z)),pt=ze(We);t.default=pt},,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createChildContext=h,t.DragDropContext=function(e,t,n){(0,a.default)("DragDropContext","backend",e);var r=h(e,t,n);return function(e){var t=e,n=t.displayName||t.name||"Component",o=function(e){var n,o;function a(){var t;return(t=e.apply(this,arguments)||this).ref=i.createRef(),t.getManager=function(){return r.dragDropManager},t}o=e,(n=a).prototype=Object.create(o.prototype),n.prototype.constructor=n,l(n,o);var u=a.prototype;return u.getDecoratedComponentInstance=function(){return d(this.ref.current,"In order to access an instance of the decorated component, it must either be a class component or use React.forwardRef()"),this.ref.current},u.render=function(){return i.createElement(E,{value:r},i.createElement(t,Object.assign({},this.props,{ref:(0,s.isRefable)(t)?this.ref:null})))},a}(i.Component);return o.displayName="DragDropContextContainer",o.DecoratedComponent=e,o.displayName="DragDropContext("+n+")",f(o,e)}},t.DragDropContextProvider=t.Provider=t.Consumer=t.context=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(6239),a=(r=n(5683))&&r.__esModule?r:{default:r},s=n(5805);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=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},d=n(23),f=n(5806),_=i.createContext({dragDropManager:void 0});t.context=_;var p=_.Consumer,E=_.Provider;function h(e,t,n){return{dragDropManager:(0,o.createDragDropManager)(e,t,n)}}t.Provider=E,t.Consumer=p;t.DragDropContextProvider=function(e){var t=e.children,n=c(e,["children"]),r="manager"in n?{dragDropManager:n.manager}:h(n.backend,n.context,n.debugMode);return i.createElement(E,{value:r},t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6245),i=n(6247),o=n(6248),a=n(6249),s=n(6250);!function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(1154)),t.default=function(e){return{beginDrag:r.default(e),publishDragSource:i.default(e),hover:o.default(e),drop:a.default(e),endDrag:s.default(e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ADD_SOURCE="dnd-core/ADD_SOURCE",t.ADD_TARGET="dnd-core/ADD_TARGET",t.REMOVE_SOURCE="dnd-core/REMOVE_SOURCE",t.REMOVE_TARGET="dnd-core/REMOVE_TARGET",t.addSource=function(e){return{type:t.ADD_SOURCE,payload:{sourceId:e}}},t.addTarget=function(e){return{type:t.ADD_TARGET,payload:{targetId:e}}},t.removeSource=function(e){return{type:t.REMOVE_SOURCE,payload:{sourceId:e}}},t.removeTarget=function(e){return{type:t.REMOVE_TARGET,payload:{targetId:e}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){0}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";function r(e){return e&&e.$$typeof&&"Symbol(react.forward_ref)"===e.$$typeof.toString()}Object.defineProperty(t,"__esModule",{value:!0}),t.isRefForwardingComponent=r,t.isRefable=function(e){return t=e,t&&t.prototype&&"function"==typeof t.prototype.render||r(e);var t}},function(e,t,n){"use strict";var r=n(6262),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,_=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var i=_(n);i&&i!==p&&e(t,i,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var s=u(t),E=u(n),h=0;h<a.length;++h){var m=a[h];if(!(o[m]||r&&r[m]||E&&E[m]||s&&s[m])){var v=f(n,m);try{l(t,m,v)}catch(e){}}}}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDragDropManager=function(){var e=(0,r.useContext)(i.context).dragDropManager;return o(null!=e,"Expected drag drop context"),e};var r=n(0),i=n(5680),o=n(23)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FILE="__NATIVE_FILE__",t.URL="__NATIVE_URL__",t.TEXT="__NATIVE_TEXT__"},,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URGENT_MODAL_KEY=t.SYSTEM_USER=void 0;t.SYSTEM_USER="643945264868098049";t.URGENT_MODAL_KEY="URGENT_MESSAGE_MODAL"},,,,,,function(e,t,n){"use strict";(function(e,r){var i,o=n(5932);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(o.a)(i);t.a=a}).call(this,n(44),n(5804)(e))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"}(t.HandlerRole||(t.HandlerRole={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return null===t?null===e:Array.isArray(e)?e.some((function(e){return e===t})):e===t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.strictEquality=function(e,t){return e===t},t.areCoordsEqual=function(e,t){return!e&&!t||!(!e||!t)&&(e.x===t.x&&e.y===t.y)},t.areArraysEqual=function(e,n,r){if(void 0===r&&(r=t.strictEquality),e.length!==n.length)return!1;for(var i=0;i<e.length;++i)if(!r(e[i],n[i]))return!1;return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1208);t.NONE=[],t.ALL=[],t.NONE.__IS_NONE__=!0,t.ALL.__IS_ALL__=!0,t.areDirty=function(e,n){return e!==t.NONE&&(e===t.ALL||void 0===n||r.intersection(n,e).length>0)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.DecoratedComponent,n=e.createHandler,s=e.createMonitor,f=e.createConnector,_=e.registerHandler,p=e.containerDisplayName,E=e.getType,h=e.collect,m=e.options.arePropsEqual,v=void 0===m?d:m,T=t,g=t.displayName||t.name||"Component",I=function(e){var t,c;function p(t){var n;return(n=e.call(this,t)||this).decoratedRef=r.createRef(),n.handleChange=function(){var e=n.getCurrentState();d(e,n.state)||n.setState(e)},n.disposable=new o.SerialDisposable,n.receiveProps(t),n.dispose(),n}c=e,(t=p).prototype=Object.create(c.prototype),t.prototype.constructor=t,u(t,c);var m=p.prototype;return m.getHandlerId=function(){return this.handlerId},m.getDecoratedComponentInstance=function(){return l(this.decoratedRef.current,"In order to access an instance of the decorated component, it must either be a class component or use React.forwardRef()"),this.decoratedRef.current},m.shouldComponentUpdate=function(e,t){return!v(e,this.props)||!d(t,this.state)},m.componentDidMount=function(){this.disposable=new o.SerialDisposable,this.currentType=void 0,this.receiveProps(this.props),this.handleChange()},m.componentDidUpdate=function(e){v(this.props,e)||(this.receiveProps(this.props),this.handleChange())},m.componentWillUnmount=function(){this.dispose()},m.receiveProps=function(e){this.handler&&(this.handler.receiveProps(e),this.receiveType(E(e)))},m.receiveType=function(e){if(this.handlerMonitor&&this.manager&&this.handlerConnector&&e!==this.currentType){this.currentType=e;var t=_(e,this.handler,this.manager),n=t[0],r=t[1];this.handlerId=n,this.handlerMonitor.receiveHandlerId(n),this.handlerConnector.receiveHandlerId(n);var i=this.manager.getMonitor().subscribeToStateChange(this.handleChange,{handlerIds:[n]});this.disposable.setDisposable(new o.CompositeDisposable(new o.Disposable(i),new o.Disposable(r)))}},m.dispose=function(){this.disposable.dispose(),this.handlerConnector&&this.handlerConnector.receiveHandlerId(null)},m.getCurrentState=function(){return this.handlerConnector?h(this.handlerConnector.hooks,this.handlerMonitor,this.props):{}},m.render=function(){var e=this;return r.createElement(i.Consumer,null,(function(t){var n=t.dragDropManager;return e.receiveDragDropManager(n),"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame((function(){return e.handlerConnector.reconnect()})),r.createElement(T,Object.assign({},e.props,e.getCurrentState(),{ref:(0,a.isRefable)(T)?e.decoratedRef:null}))}))},m.receiveDragDropManager=function(e){void 0===this.manager&&(l(void 0!==e,"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs/troubleshooting#could-not-find-the-drag-and-drop-manager-in-the-context",g,g),void 0!==e&&(this.manager=e,this.handlerMonitor=s(e),this.handlerConnector=f(e.getBackend()),this.handler=n(this.handlerMonitor,this.decoratedRef)))},p}(r.Component);return I.displayName="DragDropContainer",I.DecoratedComponent=t,I.displayName=p+"("+g+")",c(I,t)};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(5680),o=n(6266),a=n(5805);n(1155);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=n(23),c=n(5806),d=n(247)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),i=r.addSource(e,t);return[i,function(){return r.removeSource(i)}]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDecoratedComponent=function(e){var t=e.current;return null==t?null:t.decoratedRef?t.decoratedRef.current:t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(23),i=!1,o=!1,a=function(){function e(e){this.sourceId=null,this.internalMonitor=e.getMonitor()}var t=e.prototype;return t.receiveHandlerId=function(e){this.sourceId=e},t.getHandlerId=function(){return this.sourceId},t.canDrag=function(){r(!i,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return i=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{i=!1}},t.isDragging=function(){if(!this.sourceId)return!1;r(!o,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return o=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{o=!1}},t.subscribeToStateChange=function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)},t.isDraggingSource=function(e){return this.internalMonitor.isDraggingSource(e)},t.isOverTarget=function(e,t){return this.internalMonitor.isOverTarget(e,t)},t.getTargetIds=function(){return this.internalMonitor.getTargetIds()},t.isSourcePublic=function(){return this.internalMonitor.isSourcePublic()},t.getSourceId=function(){return this.internalMonitor.getSourceId()},t.subscribeToOffsetChange=function(e){return this.internalMonitor.subscribeToOffsetChange(e)},t.canDragSource=function(e){return this.internalMonitor.canDragSource(e)},t.canDropOnTarget=function(e){return this.internalMonitor.canDropOnTarget(e)},t.getItemType=function(){return this.internalMonitor.getItemType()},t.getItem=function(){return this.internalMonitor.getItem()},t.getDropResult=function(){return this.internalMonitor.getDropResult()},t.didDrop=function(){return this.internalMonitor.didDrop()},t.getInitialClientOffset=function(){return this.internalMonitor.getInitialClientOffset()},t.getInitialSourceClientOffset=function(){return this.internalMonitor.getInitialSourceClientOffset()},t.getSourceClientOffset=function(){return this.internalMonitor.getSourceClientOffset()},t.getClientOffset=function(){return this.internalMonitor.getClientOffset()},t.getDifferenceFromInitialOffset=function(){return this.internalMonitor.getDifferenceFromInitialOffset()},e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(5904))&&r.__esModule?r:{default:r},o=n(5905);function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=n(247),u=function(){function e(e){var t=this;this.backend=e,this.hooks=(0,i.default)({dragSource:function(e,n){t.dragSourceOptions=n||null,(0,o.isRef)(e)?t.dragSourceRef=e:t.dragSourceNode=e,t.reconnectDragSource()},dragPreview:function(e,n){t.dragPreviewOptions=n||null,(0,o.isRef)(e)?t.dragPreviewRef=e:t.dragPreviewNode=e,t.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null}var t,n,r,u=e.prototype;return u.receiveHandlerId=function(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())},u.reconnect=function(){this.reconnectDragSource(),this.reconnectDragPreview()},u.reconnectDragSource=function(){var e=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();e&&this.disconnectDragSource();var t=this.dragSource;this.handlerId&&(t?e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=t,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,t,this.dragSourceOptions)):this.lastConnectedDragSource=t)},u.reconnectDragPreview=function(){var e=this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();e&&this.disconnectDragPreview();var t=this.dragPreview;this.handlerId&&t&&e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions))},u.didHandlerIdChange=function(){return this.lastConnectedHandlerId!==this.handlerId},u.didConnectedDragSourceChange=function(){return this.lastConnectedDragSource!==this.dragSource},u.didConnectedDragPreviewChange=function(){return this.lastConnectedDragPreview!==this.dragPreview},u.didDragSourceOptionsChange=function(){return!s(this.lastConnectedDragSourceOptions,this.dragSourceOptions)},u.didDragPreviewOptionsChange=function(){return!s(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)},u.disconnectDragSource=function(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)},u.disconnectDragPreview=function(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)},t=e,(n=[{key:"connectTarget",get:function(){return this.dragSource}},{key:"dragSourceOptions",get:function(){return this.dragSourceOptionsInternal},set:function(e){this.dragSourceOptionsInternal=e}},{key:"dragPreviewOptions",get:function(){return this.dragPreviewOptionsInternal},set:function(e){this.dragPreviewOptionsInternal=e}},{key:"dragSource",get:function(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}},{key:"dragPreview",get:function(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}}])&&a(t.prototype,n),r&&a(t,r),e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={};return Object.keys(e).forEach((function(n){var r=e[n];if(n.endsWith("Ref"))t[n]=e[n];else{var a=function(e){return function(t,n){if(void 0===t&&(t=null),void 0===n&&(n=null),!(0,i.isValidElement)(t)){var r=t;return e(r,n),r}var a=t;!function(e){if("string"==typeof e.type)return;var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors.You can either wrap "+t+" into a <div>, or turn it into a drag source or a drop target itself.")}(a);var s=n?function(t){return e(t,n)}:e;return(0,o.default)(a,s)}}(r);t[n]=function(){return a}}})),t};var r,i=n(0),o=(r=n(6271))&&r.__esModule?r:{default:r};n(6272)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isRef=function(e){return null!==e&&"object"==typeof e&&e.hasOwnProperty("current")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){return"string"==typeof t||"symbol"==typeof t||!!n&&Array.isArray(t)&&t.every((function(t){return e(t,!1)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),i=r.addTarget(e,t);return[i,function(){return r.removeTarget(i)}]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(23),i=!1,o=function(){function e(e){this.targetId=null,this.internalMonitor=e.getMonitor()}var t=e.prototype;return t.receiveHandlerId=function(e){this.targetId=e},t.getHandlerId=function(){return this.targetId},t.subscribeToStateChange=function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)},t.canDrop=function(){if(!this.targetId)return!1;r(!i,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return i=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{i=!1}},t.isOver=function(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)},t.getItemType=function(){return this.internalMonitor.getItemType()},t.getItem=function(){return this.internalMonitor.getItem()},t.getDropResult=function(){return this.internalMonitor.getDropResult()},t.didDrop=function(){return this.internalMonitor.didDrop()},t.getInitialClientOffset=function(){return this.internalMonitor.getInitialClientOffset()},t.getInitialSourceClientOffset=function(){return this.internalMonitor.getInitialSourceClientOffset()},t.getSourceClientOffset=function(){return this.internalMonitor.getSourceClientOffset()},t.getClientOffset=function(){return this.internalMonitor.getClientOffset()},t.getDifferenceFromInitialOffset=function(){return this.internalMonitor.getDifferenceFromInitialOffset()},e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(5904))&&r.__esModule?r:{default:r},o=n(5905);function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=n(247),u=function(){function e(e){var t=this;this.backend=e,this.hooks=(0,i.default)({dropTarget:function(e,n){t.dropTargetOptions=n,(0,o.isRef)(e)?t.dropTargetRef=e:t.dropTargetNode=e,t.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null}var t,n,r,u=e.prototype;return u.reconnect=function(){var e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();var t=this.dropTarget;this.handlerId&&(t?e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions)):this.lastConnectedDropTarget=t)},u.receiveHandlerId=function(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())},u.didHandlerIdChange=function(){return this.lastConnectedHandlerId!==this.handlerId},u.didDropTargetChange=function(){return this.lastConnectedDropTarget!==this.dropTarget},u.didOptionsChange=function(){return!s(this.lastConnectedDropTargetOptions,this.dropTargetOptions)},u.disconnectDropTarget=function(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)},t=e,(n=[{key:"connectTarget",get:function(){return this.dropTarget}},{key:"dropTargetOptions",get:function(){return this.dropTargetOptionsInternal},set:function(e){this.dropTargetOptionsInternal=e}},{key:"dropTarget",get:function(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}}])&&a(t.prototype,n),r&&a(t,r),e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useMonitorOutput=function(e,t,n){var o=(0,i.useCollector)(e,t,n),a=o[0],s=o[1];return(0,r.useEffect)((function(){var t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(s,{handlerIds:[t]})}),[e,s]),a};var r=n(0),i=n(5911)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCollector=function(e,t,n){var o=(0,r.useState)((function(){return t(e)})),a=o[0],s=o[1],u=(0,r.useCallback)((function(){var r=t(e);i(a,r)||(s(r),n&&n())}),[a,e,n]);return[a,u]};var r=n(0),i=n(247)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.memoize=function(e){var t=null;return function(){return null==t&&(t=e()),t}},t.without=function(e,t){return e.filter((function(e){return e!==t}))},t.union=function(e,t){var n=new Set,r=function(e){return n.add(e)};e.forEach(r),t.forEach(r);var i=[];return n.forEach((function(e){return i.push(e)})),i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5912);t.isFirefox=r.memoize((function(){return/firefox/i.test(navigator.userAgent)})),t.isSafari=r.memoize((function(){return Boolean(window.safari)}))},,,function(e,t){var n=arguments[3],r=arguments[4],i=arguments[5],o=JSON.stringify;e.exports=function(e,t){for(var a,s=Object.keys(i),u=0,l=s.length;u<l;u++){var c=s[u],d=i[c].exports;if(d===e||d&&d.default===e){a=c;break}}if(!a){a=Math.floor(Math.pow(16,8)*Math.random()).toString(16);var f={};for(u=0,l=s.length;u<l;u++){f[c=s[u]]=c}r[a]=["function(require,module,exports){"+e+"(self); }",f]}var _=Math.floor(Math.pow(16,8)*Math.random()).toString(16),p={};p[a]=a,r[_]=["function(require,module,exports){var f = require("+o(a)+");(f.default ? f.default : f)(self);}",p];var E={};!function e(t){for(var n in E[t]=!0,r[t][1]){var i=r[t][1][n];E[i]||e(i)}}(_);var h="("+n+")({"+Object.keys(E).map((function(e){return o(e)+":["+r[e][0]+","+o(r[e][1])+"]"})).join(",")+"},{},["+o(_)+"])",m=window.URL||window.webkitURL||window.mozURL||window.msURL,v=new Blob([h],{type:"text/javascript"});if(t&&t.bare)return v;var T=m.createObjectURL(v),g=new Worker(T);return g.objectURL=T,g}},function(e,t,n){"use strict";var r=n(5934),i=n(6331),o=n(6334),a=n(6340);function s(e){var t=e||[],n={js:t.indexOf("js")>=0,wasm:t.indexOf("wasm")>=0};i.call(this,n),this.features={js:n.js,wasm:n.wasm&&this.has_wasm()},this.use(o),this.use(a)}r(s,i),s.prototype.resizeAndUnsharp=function(e,t){var n=this.resize(e,t);return e.unsharpAmount&&this.unsharp_mask(n,e.toWidth,e.toHeight,e.unsharpAmount,e.unsharpRadius,e.unsharpThreshold),n},e.exports=s},function(e,t,n){"use strict";var r=n(6342);function i(e){return Math.round(16383*e)}e.exports=function(e,t,n,o,a){var s,u,l,c,d,f,_,p,E,h,m,v,T,g,I,S,y,A=r[e].filter,O=1/o,N=Math.min(1,o),R=r[e].win/N,b=Math.floor(2*(R+1)),L=new Int16Array((b+2)*n),D=0,C=!L.subarray||!L.set;for(s=0;s<n;s++){for(u=(s+.5)*O+a,l=Math.max(0,Math.floor(u-R)),d=(c=Math.min(t-1,Math.ceil(u+R)))-l+1,f=new Float32Array(d),_=new Int16Array(d),p=0,E=l,h=0;E<=c;E++,h++)p+=m=A((E+.5-u)*N),f[h]=m;for(v=0,h=0;h<f.length;h++)v+=T=f[h]/p,_[h]=i(T);for(_[n>>1]+=i(1-v),g=0;g<_.length&&0===_[g];)g++;if(g<_.length){for(I=_.length-1;I>0&&0===_[I];)I--;if(S=l+g,y=I-g+1,L[D++]=S,L[D++]=y,C)for(h=g;h<=I;h++)L[D++]=_[h];else L.set(_.subarray(g,I+1),D),D+=y}else L[D++]=0,L[D++]=0}return L}},function(e,t,n){"use strict";function r(e){return e<0?0:e>255?255:e}e.exports={convolveHorizontally:function(e,t,n,i,o,a){var s,u,l,c,d,f,_,p,E,h,m,v=0,T=0;for(E=0;E<i;E++){for(d=0,h=0;h<o;h++){for(f=a[d++],_=a[d++],p=v+4*f|0,s=u=l=c=0;_>0;_--)c=c+(m=a[d++])*e[p+3]|0,l=l+m*e[p+2]|0,u=u+m*e[p+1]|0,s=s+m*e[p]|0,p=p+4|0;t[T+3]=r(c+8192>>14),t[T+2]=r(l+8192>>14),t[T+1]=r(u+8192>>14),t[T]=r(s+8192>>14),T=T+4*i|0}T=4*(E+1)|0,v=(E+1)*n*4|0}},convolveVertically:function(e,t,n,i,o,a){var s,u,l,c,d,f,_,p,E,h,m,v=0,T=0;for(E=0;E<i;E++){for(d=0,h=0;h<o;h++){for(f=a[d++],_=a[d++],p=v+4*f|0,s=u=l=c=0;_>0;_--)c=c+(m=a[d++])*e[p+3]|0,l=l+m*e[p+2]|0,u=u+m*e[p+1]|0,s=s+m*e[p]|0,p=p+4|0;t[T+3]=r(c+8192>>14),t[T+2]=r(l+8192>>14),t[T+1]=r(u+8192>>14),t[T]=r(s+8192>>14),T=T+4*i|0}T=4*(E+1)|0,v=(E+1)*n*4|0}}}},,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},,function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=h(n(9)),a=h(n(67)),s=h(n(3)),u=h(n(105)),l=h(n(376)),c=h(n(39)),d=h(n(161)),f=n(5973),_=h(n(150)),p=h(n(261)),E=n(193);function h(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function v(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function T(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 g(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,I(e,t)}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(){return(S=Object.assign||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}).apply(this,arguments)}var y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={hover:!1},t.key=void 0,t.cancelLoadImage=null,t.onError=function(){var e=t.getSrc();null!=e&&(t.cancelLoadImage=(0,E.loadImage)(e,(function(e){e||(t.key=Date.now(),t.forceUpdate())})))},t.onMouseEnter=function(e){t.setState({hover:!0});var n=t.props.onMouseEnter;null!=n&&n(e)},t.onMouseLeave=function(e){t.setState({hover:!1});var n=t.props.onMouseLeave;null!=n&&n(e)},t}g(t,e);var n=t.prototype;return n.componentWillUnmount=function(){null!=this.cancelLoadImage&&this.cancelLoadImage()},n.getSrc=function(e){void 0===e&&(e=this.props);var t=e,n=t.src,r=t.emojiId,i=t.emojiName,o=t.animated,a=t.shouldAnimate,s=t.isFocused,u=t.isInteracting,l=this.state.hover;return null!=n?n:null!=r?_.default.getEmojiURL({id:r,animated:s&&o&&(a||l||u)}):null!=i?p.default.getURL(i):void 0},n.render=function(){var e,t=this.props,n=t.emojiName,r=t.animated,a=t.className,s=t.jumboable,u=(t.shouldAnimate,t.isFocused,t.emojiId,t.autoplay,t.isInteracting,T(t,["emojiName","animated","className","jumboable","shouldAnimate","isFocused","emojiId","autoplay","isInteracting"])),l=this.getSrc();return l?(r&&(e={onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave}),i.createElement("img",S({},u,{key:this.key,src:l,alt:n||void 0,draggable:!1},e,{className:(0,o.default)("emoji",a,{jumboable:!0===s}),onError:this.onError}))):v("span",{className:(0,o.default)("emoji","emoji-text")},void 0,n)},t}(i.PureComponent);y.displayName="Emoji",y.defaultProps={isInteracting:!1};var A=s.default.connectStores([u.default,d.default,l.default,c.default],(function(e){var t=e.autoplay;return{isFocused:__OVERLAY__?l.default.isInstanceFocused():d.default.isFocused(),autoplay:null==t?c.default.animateEmoji:t,reduceMotion:u.default.useReducedMotion}}))(function(e){if(null==window.IntersectionObserver)return function(t){return i.createElement(e,S({},t,{shouldAnimate:t.animated}))};var t=[],n=[],r=new window.IntersectionObserver((function(e){e.forEach((function(e){var r=n.find((function(t){return t[0]===e.target}));if(null!=r){var i=r[1];if(e.intersectionRatio>=.7){if(-1!==t.indexOf(i))return void 0;var o=Math.abs(e.intersectionRect.bottom-e.rootBounds.bottom)<Math.abs(e.intersectionRect.top-e.rootBounds.top);o?t.unshift(i):t.push(i),i.forceUpdate(),o&&t.length>100&&t[100].forceUpdate()}else{var a=t.indexOf(i);-1!==a&&(t.splice(a,1),i.forceUpdate(),a<100&&t.length>=100&&t[99].forceUpdate())}}}))}),{threshold:.7});function o(e){var t=a.default.findDOMNode(e);t instanceof Element&&(n.push([t,e]),r.observe(t))}function s(e){var i=a.default.findDOMNode(e);r.unobserve(i);var o=n.findIndex((function(t){t[0];return t[1]===e}));-1!==o&&(n.splice(o,1),-1!==(o=t.indexOf(e))&&(t.splice(o,1),o<100&&t.length>=100&&t[99].forceUpdate()))}return function(n){function r(){return n.apply(this,arguments)||this}g(r,n);var a=r.prototype;return a.shouldAutoplay=function(e){return e.animated&&e.autoplay},a.componentDidMount=function(){this.shouldAutoplay(this.props)&&o(this)},a.componentDidUpdate=function(e){var t=this.shouldAutoplay(e),n=this.shouldAutoplay(this.props);n!==t&&(n?o(this):s(this))},a.componentWillUnmount=function(){this.shouldAutoplay(this.props)&&s(this)},a.render=function(){var n=t.indexOf(this),r=this.props,o=r.autoplay,a=r.reduceMotion,s=T(r,["autoplay","reduceMotion"]);return v(f.MessagesInteractionContext.Consumer,{},void 0,(function(t){return i.createElement(e,S({},s,{autoplay:o||!1,shouldAnimate:-1!==n&&n<100&&!t.disableAnimations&&!a}))}))},r}(i.Component)}(y));t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=n(54),o=(r=n(251))&&r.__esModule?r:{default:r},a=n(6057),s=n(1);function u(e){var t=(0,i.matchPath)(e||"",{path:s.Routes.CHANNEL(":guildId",":channelId?",":messageId?")});if(null!=t){var n=t.params,r=n.guildId,o=n.channelId;return{guildId:r===s.ME?null:r,channelId:o||null}}var u=(0,i.matchPath)(e||"",{path:s.Routes.UPCOMING_STAGES(":guildId",":eventId?")});return null!=u?{guildId:u.params.guildId,channelId:a.ChannelListHoistedRow.GUILD_SCHEDULED_EVENTS}:{guildId:null,channelId:null}}var l=(0,o.default)((function(e){return{path:null,basePath:"/",guildId:null,channelId:null,updatePath:function(t){var n=u(t),r=n.guildId,i=n.channelId;e({path:t,guildId:r,channelId:i})},resetPath:function(t){var n=u(t),r=n.guildId,i=n.channelId;e({path:null,guildId:r,channelId:i,basePath:t})}}}));t.default=l},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DragDropContext",{enumerable:!0,get:function(){return r.DragDropContext}}),Object.defineProperty(t,"DragDropContextProvider",{enumerable:!0,get:function(){return r.DragDropContextProvider}}),Object.defineProperty(t,"DragDropContextConsumer",{enumerable:!0,get:function(){return r.Consumer}}),Object.defineProperty(t,"DragLayer",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"DragPreviewImage",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"useDrag",{enumerable:!0,get:function(){return u.useDrag}}),Object.defineProperty(t,"useDragLayer",{enumerable:!0,get:function(){return u.useDragLayer}}),Object.defineProperty(t,"useDrop",{enumerable:!0,get:function(){return u.useDrop}});var r=n(5680),i=l(n(6264)),o=l(n(6265)),a=l(n(6273)),s=l(n(6275)),u=n(6276);function l(e){return e&&e.__esModule?e:{default:e}}},,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var r,i=(r=n(1207))&&r.__esModule?r:{default:r}},,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===t&&(t=!0);if(null==e)return;var n=e.streamType,s=e.guildId,u=e.channelId,l=e.ownerId,c=(0,a.encodeStreamKey)({streamType:n,guildId:s,channelId:u,ownerId:l});l===o.default.getId()&&r.default.setDesktopSource(null);i.stopStream(c,t)};var r=u(n(288)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(364)),o=u(n(11)),a=n(140);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(e){return e&&e.__esModule?e:{default:e}}},,,,,,,function(e,t,n){"use strict";function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.MessagesInteractionContext=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0)).createContext({disableInteractions:!1,disableAnimations:!1});t.MessagesInteractionContext=i},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.useStateFromStoresObject)([o.default,i.default],(function(){var t=o.default.countVoiceStatesForChannel(e.id),n=i.default.getGuild(e.getGuildId());return null==n?{reachedLimit:!1,limit:-1}:{reachedLimit:n.maxVideoChannelUsers>0&&t>n.maxVideoChannelUsers,limit:n.maxVideoChannelUsers}}),[e])},t.getChannelVideoLimit=function(e){var t=o.default.countVoiceStatesForChannel(e.id),n=i.default.getGuild(e.getGuildId());return null==n?{reachedLimit:!1,limit:-1}:{reachedLimit:n.maxVideoChannelUsers>0&&t>n.maxVideoChannelUsers,limit:n.maxVideoChannelUsers}};var r=n(3),i=a(n(15)),o=a(n(365));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.useStateFromStores)([o.default,a.default],(function(){return e.isPrivate()||(0,i.canStreamInChannel)(e,o.default,a.default,!1)}),[e])},t.getVideoPermission=function(e){return e.isPrivate()||(0,i.canStreamInChannel)(e,o.default,a.default,!1)};var r=n(3),i=n(484),o=s(n(15)),a=s(n(40));function s(e){return e&&e.__esModule?e:{default:e}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RouteManager=void 0;var r,i=(r=n(5939))&&r.__esModule?r:{default:r},o=n(42);function a(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u=function(){function e(){var e=this;this.rewrites=new Set,this.listeners=new Set,this.routeChangeCount=0,this.timer=-1,this.handleRouteChange=function(t,n){if(e.routeChangeCount+=1,!(e.routeChangeCount<10))throw new Error("RouteManager: Something has gone horribly wrong with rewrites");for(var r,s=a(e.rewrites);!(r=s()).done;){var u=(0,r.value)(t,n);if(null!=u)return void(0,o.replaceWith)(u.path,u.state)}var l=i.default.getState();l.basePath!==t.pathname&&l.resetPath(t.pathname);for(var c,d=a(e.listeners);!(c=d()).done;){var f=c.value;try{f(t,n)}catch(e){console.warn("RouteManager.listen: A route listener has caused an error",e.message)}}e.routeChangeCount=0},this.handleKeybindRouteChange=function(t){var n=t.path;null!=n?(clearTimeout(e.timer),e.timer=setTimeout(e.flushRoute,200)):null==n&&clearTimeout(e.timer)},this.flushRoute=function(){clearTimeout(e.timer);var t=i.default.getState();null!=t.path&&(0,o.transitionTo)(t.path)}}var t=e.prototype;return t.initialize=function(){this.cleanup(),this.unlistenHistory=(0,o.getHistory)().listen(this.handleRouteChange),this.handleRouteChange((0,o.getHistory)().location,"REPLACE");var e=(0,o.getHistory)().location.pathname;i.default.getState().resetPath(e),this.unlistenKeyboardChange=i.default.subscribe(this.handleKeybindRouteChange)},t.cleanup=function(){var e,t;null===(e=this.unlistenHistory)||void 0===e||e.call(this),this.unlistenHistory=void 0,null===(t=this.unlistenKeyboardChange)||void 0===t||t.call(this),this.unlistenKeyboardChange=void 0},t.addRouteChangeListener=function(e){var t=this;return null!=this.unlistenHistory&&e((0,o.getHistory)().location,"REPLACE"),this.listeners.add(e),function(){return t.removeRouteChangeListener(e)}},t.removeRouteChangeListener=function(e){this.listeners.delete(e)},t.getHistory=function(){return(0,o.getHistory)()},e}();t.RouteManager=u;var l=new u;t.default=l},,,,,,,function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ChannelListHoistedRow=void 0,t.ChannelListHoistedRow=r,function(e){e.GUILD_SCHEDULED_EVENTS="guild-scheduled-events"}(r||(t.ChannelListHoistedRow=r={}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=n(5941),o=(r=n(6282))&&r.__esModule?r:{default:r};var a=(0,i.DragDropContext)(o.default);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(277).makeLazy)({createPromise:function(){return Promise.all([n.e(0),n.e(3),n.e(4),n.e(2),n.e(6),n.e(5),n.e(7),n.e(22)]).then(n.t.bind(null,6056,7))},webpackId:6056});t.default=r},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVideoButtonLabel=function(e){var t=e.enabled,n=e.join,r=e.channel,o=e.cameraUnavailable,a=e.hasPermission,s=e.channelLimit,u=void 0===s?-1:s,l=e.channelLimitReached,c=void 0!==l&&l,d=t?i.default.Messages.CAMERA_OFF:i.default.Messages.CAMERA_ON;if(n){var f=(null==r?void 0:r.isManaged())||!(null==r?void 0:r.isPrivate());d=f?i.default.Messages.CONNECT_TO_VIDEO:i.default.Messages.JOIN_VIDEO_CALL}o&&(d=i.default.Messages.CAMERA_UNAVAILABLE);a||(d=i.default.Messages.ACTIVITY_PANEL_GO_LIVE_TOOLTIP_NO_PERMISSION_IN_VOICE);c&&!t&&(d=i.default.Messages.CAMERA_DISABLED_LIMIT_REACHED.format({limit:u}));return d};var r,i=(r=n(6))&&r.__esModule?r:{default:r}},,,,,,,,,,,,,,,function(e,t,n){n(492),n(1441),e.exports=n(6145)},function(e,t,n){"use strict";(function(e){n(1443);G(n(0));var t,r=n(67),i=U(n(23)),o=U(n(6235)),a=G(n(285)),s=U(n(6309)),u=U(n(6310)),l=U(n(6314)),c=U(n(6315)),d=U(n(6317)),f=U(n(1186)),_=U(n(6318)),p=U(n(6321)),E=U(n(6322)),h=U(n(6328)),m=U(n(164)),v=U(n(93)),T=U(n(6350)),g=U(n(43)),I=U(n(6351)),S=U(n(16)),y=n(42),A=U(n(1439)),O=n(57),N=U(n(118)),R=U(n(6352)),b=U(n(6353)),L=U(n(6354)),D=n(1),C=U(n(5820)),M=U(n(6356)),P=U(n(6358)),w=U(n(26));function U(e){return e&&e.__esModule?e:{default:e}}function k(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return k=function(){return e},e}function G(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=k();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function Y(e,n,r,i){t||(t="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(n||0===a||(n={children:void 0}),1===a)n.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];n.children=s}if(n&&o)for(var l in o)void 0===n[l]&&(n[l]=o[l]);else n||(n=o||{});return{$$typeof:t,type:e,key:void 0===r?null:""+r,ref:null,props:n,_owner:null}}var x=document.getElementById("app-mount");(0,i.default)(null!=x,"Could not find app-mount"),x.className=__OVERLAY__?"":C.default.appMount;var V=function(e){return(0,r.render)(Y(L.default,{},void 0,Y(e,{})),x)};if(N.default){var H;null===(H=N.default.setUncaughtExceptionHandler)||void 0===H||H.call(N.default,(function(t,n){e((function(){throw m.default.captureCrash(t),t}))}));var F=N.default.remoteApp.getVersion(),B={};null!=N.default.remoteApp.getModuleVersions&&(B=N.default.remoteApp.getModuleVersions()),m.default.setExtra({hostVersion:F,moduleVersions:B});var j=Object.keys(B).filter((function(e){return null!=B[e]})).map((function(e){return e+": "+B[e]})).join(", ");(new w.default).log("[NATIVE INFO] host "+F+", modules: "+j)}if(__OVERLAY__)window.addEventListener("resize",(function(){return A.default.resized()})),window.addEventListener("click",(function(e){if(e.target instanceof HTMLAnchorElement){var t=e.target.getAttribute("href"),n=e.target.getAttribute("target");"string"==typeof t&&"_blank"===n&&window.open(t,void 0,"noreferrer,noopener")}})),f.default.initialize(),V(o.default.Overlay);else if(null!=window.require&&null==window.DiscordNative)V(o.default.OutdatedClient);else{if(document.addEventListener("scroll",(function(e){return e.preventDefault()})),window.addEventListener("resize",(function(){return A.default.resized()})),window.addEventListener("focus",(function(){return A.default.focus(!0)})),window.addEventListener("blur",(function(){return A.default.focus(!1)})),S.default.embedded){window.onbeforeunload=function(){return g.default.beforeUnload()},g.default.on("HELP_OPEN",(function(){return window.open(v.default.getCommunityURL())}));var W=new O.DelayedCall(D.PURGE_MEMORY_TIMEOUT,(function(){return g.default.purgeMemory()}));g.default.on("MAIN_WINDOW_BLUR",(function(){W.delay(),g.default.setFocused(!1),A.default.focus(!1)})),g.default.on("MAIN_WINDOW_FOCUS",(function(){W.cancel(),g.default.setFocused(!0),A.default.focus(!0)})),g.default.on("MAIN_WINDOW_PATH",(function(e,t){return(0,y.transitionTo)(t)})),g.default.on("ACCESSIBILITY_SUPPORT_CHANGED",(function(e,t){return a.accessibilitySupportChanged(t)}))}if(S.default.isDesktop()){var K=window.open;window.open=function(e,t,n,r){return null==n&&(n="noreferrer,noopener"),K(e,t,n,r)}}c.default.initialize(),b.default.init(),u.default.init(),h.default.init(),d.default.init(),E.default.init(),f.default.initialize(),p.default.init(),M.default.init(),s.default.initialize(),R.default.init(),P.default.init(),l.default.initialize(),T.default.initialize(),_.default.initialize(),I.default.initialize(),V(o.default.App)}}).call(this,n(68).setImmediate)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6236)),i=s(n(6126)),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(6292));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}var u={App:(0,i.default)(o.default),Overlay:(0,i.default)(o.Overlay),OutdatedClient:r.default};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=y(n(0)),o=I(n(488)),a=I(n(66)),s=n(262),u=I(n(3)),l=I(n(161)),c=y(n(29)),d=I(n(679)),f=I(n(261)),_=I(n(93)),p=n(16),E=n(259),h=I(n(43)),m=I(n(5938)),v=I(n(1201)),T=n(1),g=I(n(6));function I(e){return e&&e.__esModule?e:{default:e}}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function y(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function A(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var N=u.default.connectStores([l.default],(function(){return{focused:l.default.isFocused()}}))(v.default),R=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).handleDownload=function(){window.open(t.getPlatform()===p.PlatformTypes.WINDOWS?_.default.getArticleURL(T.HelpdeskArticles.CORRUPT_INSTALLATION):T.MarketingURLs.DOWNLOAD)},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,O(t,n);var u=r.prototype;return u.getPlatform=function(){var e=a.default.os.family;return e&&/^win/i.test(e)?p.PlatformTypes.WINDOWS:e&&/darwin|os x/i.test(e)?p.PlatformTypes.OSX:p.PlatformTypes.LINUX},u.componentDidMount=function(){var e;e=window.require("electron").remote.getCurrentWindow(),h.default.minimize=function(){return e.minimize()},h.default.maximize=function(){e.isMaximized()?e.unmaximize():e.maximize()},h.default.close=function(){return e.close()}},u.render=function(){var e=A("div",{},void 0,A("p",{},void 0,g.default.Messages.VERY_OUT_OF_DATE_DESCRIPTION," ",A(m.default,{src:f.default.getURL(o.default.convert.fromCodePoint("1f44c")),emojiName:":ok_hand:",animated:!1}))),t=A(c.default,{size:c.ButtonSizes.LARGE,onClick:this.handleDownload},void 0,g.default.Messages.DOWNLOAD);return A(i.Fragment,{},void 0,A(s.Helmet,{},void 0,A("html",{className:(0,E.getThemeClass)(T.ThemeTypes.DARK)})),A(N,{type:this.getPlatform()}),A(d.default,{title:g.default.Messages.UNSUPPORTED_BROWSER_TITLE,note:e,action:t}))},r}(i.PureComponent);t.default=R,R.displayName="OutdatedClient"},,,function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(5895)),r(n(6240))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6241);t.createDragDropManager=function(e,t,n){return new r.default(e,t,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6242),i=n(6243),o=n(5681),a=n(6255),s=n(6257);var u=function(){function e(e,t,n){var o=this;void 0===t&&(t={}),void 0===n&&(n=!1),this.context=t,this.isSetUp=!1,this.handleRefCountChange=function(){var e=o.store.getState().refCount>0;e&&!o.isSetUp?(o.backend.setup(),o.isSetUp=!0):!e&&o.isSetUp&&(o.backend.teardown(),o.isSetUp=!1)};var u=function(e){var t="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return r.createStore(i.default,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}(n);this.store=u,this.monitor=new a.default(u,new s.default(u)),this.backend=e(this),u.subscribe(this.handleRefCountChange)}return e.prototype.getContext=function(){return this.context},e.prototype.getMonitor=function(){return this.monitor},e.prototype.getBackend=function(){return this.backend},e.prototype.getRegistry=function(){return this.monitor.registry},e.prototype.getActions=function(){var e=this,t=this.store.dispatch;var n=o.default(this);return Object.keys(n).reduce((function(r,i){var o,a=n[i];return r[i]=(o=a,function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=o.apply(e,n);void 0!==i&&t(i)}),r}),{})},e.prototype.dispatch=function(e){this.store.dispatch(e)},e}();t.default=u},function(e,t,n){"use strict";n.r(t),n.d(t,"__DO_NOT_USE__ActionTypes",(function(){return o})),n.d(t,"applyMiddleware",(function(){return h})),n.d(t,"bindActionCreators",(function(){return d})),n.d(t,"combineReducers",(function(){return l})),n.d(t,"compose",(function(){return E})),n.d(t,"createStore",(function(){return s}));var r=n(5825),i=function(){return Math.random().toString(36).substring(7).split("").join(".")},o={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function a(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function s(e,t,n){var i;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(s)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var u=e,l=t,c=[],d=c,f=!1;function _(){d===c&&(d=c.slice())}function p(){if(f)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return l}function E(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(f)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return _(),d.push(e),function(){if(t){if(f)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,_();var n=d.indexOf(e);d.splice(n,1),c=null}}}function h(e){if(!a(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(f)throw new Error("Reducers may not dispatch actions.");try{f=!0,l=u(l,e)}finally{f=!1}for(var t=c=d,n=0;n<t.length;n++){(0,t[n])()}return e}function m(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");u=e,h({type:o.REPLACE})}function v(){var e,t=E;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(p())}return n(),{unsubscribe:t(n)}}})[r.a]=function(){return this},e}return h({type:o.INIT}),(i={dispatch:h,subscribe:E,getState:p,replaceReducer:m})[r.a]=v,i}function u(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function l(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];0,"function"==typeof e[i]&&(n[i]=e[i])}var a,s=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:o.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:o.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+o.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){a=e}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var r=!1,i={},o=0;o<s.length;o++){var l=s[o],c=n[l],d=e[l],f=c(d,t);if(void 0===f){var _=u(l,t);throw new Error(_)}i[l]=f,r=r||f!==d}return(r=r||s.length!==Object.keys(e).length)?i:e}}function c(e,t){return function(){return t(e.apply(this,arguments))}}function d(e,t){if("function"==typeof e)return c(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var i=e[r];"function"==typeof i&&(n[r]=c(i,t))}return n}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(n,!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function E(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map((function(e){return e(i)}));return p({},n,{dispatch:r=E.apply(void 0,o)(n.dispatch)})}}}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i=n(6244),o=n(6251),a=n(6252),s=n(6253),u=n(6254),l=n(1208);t.default=function(e,t){return void 0===e&&(e={}),{dirtyHandlerIds:s.default(e.dirtyHandlerIds,{type:t.type,payload:r({},t.payload,{prevTargetIds:l.get(e,"dragOperation.targetIds",[])})}),dragOffset:i.default(e.dragOffset,t),refCount:a.default(e.refCount,t),dragOperation:o.default(e.dragOperation,t),stateId:u.default(e.stateId)}}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i=n(5681),o=n(5897),a={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};t.default=function(e,t){void 0===e&&(e=a);var n=t.payload;switch(t.type){case i.INIT_COORDS:case i.BEGIN_DRAG:return{initialSourceClientOffset:n.sourceClientOffset,initialClientOffset:n.clientOffset,clientOffset:n.clientOffset};case i.HOVER:return o.areCoordsEqual(e.clientOffset,n.clientOffset)?e:r({},e,{clientOffset:n.clientOffset});case i.END_DRAG:case i.DROP:return a;default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6246),i=n(1208),o=n(23),a=n(1154),s={type:a.INIT_COORDS,payload:{clientOffset:null,sourceClientOffset:null}};t.default=function(e){return function(t,n){void 0===t&&(t=[]),void 0===n&&(n={publishSource:!0});var u=n.publishSource,l=void 0===u||u,c=n.clientOffset,d=n.getSourceClientOffset,f=e.getMonitor(),_=e.getRegistry();e.dispatch(r.setClientOffset(c)),function(e,t,n){o(!t.isDragging(),"Cannot call beginDrag while dragging.");for(var r=0,i=e;r<i.length;r++){var a=i[r];o(n.getSource(a),"Expected sourceIds to be registered.")}}(t,f,_);var p=function(e,t){for(var n=null,r=e.length-1;r>=0;r--)if(t.canDragSource(e[r])){n=e[r];break}return n}(t,f);if(null!==p){var E=null;c&&(!function(e){o("function"==typeof e,"When clientOffset is provided, getSourceClientOffset must be a function.")}(d),E=d(p)),e.dispatch(r.setClientOffset(c,E));var h=_.getSource(p).beginDrag(f,p);!function(e){o(i.isObject(e),"Item must be an object.")}(h),_.pinSource(p);var m=_.getSourceType(p);return{type:a.BEGIN_DRAG,payload:{itemType:m,item:h,sourceId:p,clientOffset:c||null,sourceClientOffset:E||null,isSourcePublic:!!l}}}e.dispatch(s)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1154);t.setClientOffset=function(e,t){return{type:r.INIT_COORDS,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1154);t.default=function(e){return function(){if(e.getMonitor().isDragging())return{type:r.PUBLISH_DRAG_SOURCE}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5896),i=n(1154),o=n(23);t.default=function(e){return function(t,n){var a=(void 0===n?{}:n).clientOffset;!function(e){o(Array.isArray(e),"Expected targetIds to be an array.")}(t);var s=t.slice(0),u=e.getMonitor(),l=e.getRegistry();return function(e,t,n){o(t.isDragging(),"Cannot call hover while not dragging."),o(!t.didDrop(),"Cannot call hover after drop.");for(var r=0;r<e.length;r++){var i=e[r];o(e.lastIndexOf(i)===r,"Expected targetIds to be unique in the passed array.");var a=n.getTarget(i);o(a,"Expected targetIds to be registered.")}}(s,u,l),function(e,t,n){for(var i=e.length-1;i>=0;i--){var o=e[i],a=t.getTargetType(o);r.default(a,n)||e.splice(i,1)}}(s,l,u.getItemType()),function(e,t,n){for(var r=0,i=e;r<i.length;r++){var o=i[r];n.getTarget(o).hover(t,o)}}(s,u,l),{type:i.HOVER,payload:{targetIds:s,clientOffset:a||null}}}}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i=n(1154),o=n(1208),a=n(23);t.default=function(e){return function(t){void 0===t&&(t={});var n=e.getMonitor(),s=e.getRegistry();!function(e){a(e.isDragging(),"Cannot call drop while not dragging."),a(!e.didDrop(),"Cannot call drop twice during one drag operation.")}(n),function(e){var t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}(n).forEach((function(u,l){var c=function(e,t,n,r){var i=n.getTarget(e),s=i?i.drop(r,e):void 0;(function(e){a(void 0===e||o.isObject(e),"Drop result must either be an object or undefined.")})(s),void 0===s&&(s=0===t?{}:r.getDropResult());return s}(u,l,s,n),d={type:i.DROP,payload:{dropResult:r({},t,c)}};e.dispatch(d)}))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1154),i=n(23);t.default=function(e){return function(){var t=e.getMonitor(),n=e.getRegistry();!function(e){i(e.isDragging(),"Cannot call endDrag while not dragging.")}(t);var o=t.getSourceId();return n.getSource(o,!0).endDrag(t,o),n.unpinSource(),{type:r.END_DRAG}}}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i=n(5681),o=n(5682),a=n(1208),s={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};t.default=function(e,t){void 0===e&&(e=s);var n=t.payload;switch(t.type){case i.BEGIN_DRAG:return r({},e,{itemType:n.itemType,item:n.item,sourceId:n.sourceId,isSourcePublic:n.isSourcePublic,dropResult:null,didDrop:!1});case i.PUBLISH_DRAG_SOURCE:return r({},e,{isSourcePublic:!0});case i.HOVER:return r({},e,{targetIds:n.targetIds});case o.REMOVE_TARGET:return-1===e.targetIds.indexOf(n.targetId)?e:r({},e,{targetIds:a.without(e.targetIds,n.targetId)});case i.DROP:return r({},e,{dropResult:n.dropResult,didDrop:!0,targetIds:[]});case i.END_DRAG:return r({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5682);t.default=function(e,t){switch(void 0===e&&(e=0),t.type){case r.ADD_SOURCE:case r.ADD_TARGET:return e+1;case r.REMOVE_SOURCE:case r.REMOVE_TARGET:return e-1;default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5681),i=n(5682),o=n(5897),a=n(5898),s=n(1208);t.default=function(e,t){switch(void 0===e&&(e=a.NONE),t.type){case r.HOVER:break;case i.ADD_SOURCE:case i.ADD_TARGET:case i.REMOVE_TARGET:case i.REMOVE_SOURCE:return a.NONE;case r.BEGIN_DRAG:case r.PUBLISH_DRAG_SOURCE:case r.END_DRAG:case r.DROP:default:return a.ALL}var n=t.payload,u=n.targetIds,l=void 0===u?[]:u,c=n.prevTargetIds,d=void 0===c?[]:c,f=s.xor(l,d);if(!(f.length>0||!o.areArraysEqual(l,d)))return a.NONE;var _=d[d.length-1],p=l[l.length-1];return _!==p&&(_&&f.push(_),p&&f.push(p)),f}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return void 0===e&&(e=0),e+1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5896),i=n(6256),o=n(5898),a=n(23),s=function(){function e(e,t){this.store=e,this.registry=t}return e.prototype.subscribeToStateChange=function(e,t){var n=this;void 0===t&&(t={handlerIds:void 0});var r=t.handlerIds;a("function"==typeof e,"listener must be a function."),a(void 0===r||Array.isArray(r),"handlerIds, when specified, must be an array of strings.");var i=this.store.getState().stateId;return this.store.subscribe((function(){var t=n.store.getState(),a=t.stateId;try{a===i||a===i+1&&!o.areDirty(t.dirtyHandlerIds,r)||e()}finally{i=a}}))},e.prototype.subscribeToOffsetChange=function(e){var t=this;a("function"==typeof e,"listener must be a function.");var n=this.store.getState().dragOffset;return this.store.subscribe((function(){var r=t.store.getState().dragOffset;r!==n&&(n=r,e())}))},e.prototype.canDragSource=function(e){if(!e)return!1;var t=this.registry.getSource(e);return a(t,"Expected to find a valid source."),!this.isDragging()&&t.canDrag(this,e)},e.prototype.canDropOnTarget=function(e){if(!e)return!1;var t=this.registry.getTarget(e);if(a(t,"Expected to find a valid target."),!this.isDragging()||this.didDrop())return!1;var n=this.registry.getTargetType(e),i=this.getItemType();return r.default(n,i)&&t.canDrop(this,e)},e.prototype.isDragging=function(){return Boolean(this.getItemType())},e.prototype.isDraggingSource=function(e){if(!e)return!1;var t=this.registry.getSource(e,!0);return a(t,"Expected to find a valid source."),!(!this.isDragging()||!this.isSourcePublic())&&(this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e))},e.prototype.isOverTarget=function(e,t){if(void 0===t&&(t={shallow:!1}),!e)return!1;var n=t.shallow;if(!this.isDragging())return!1;var i=this.registry.getTargetType(e),o=this.getItemType();if(o&&!r.default(i,o))return!1;var a=this.getTargetIds();if(!a.length)return!1;var s=a.indexOf(e);return n?s===a.length-1:s>-1},e.prototype.getItemType=function(){return this.store.getState().dragOperation.itemType},e.prototype.getItem=function(){return this.store.getState().dragOperation.item},e.prototype.getSourceId=function(){return this.store.getState().dragOperation.sourceId},e.prototype.getTargetIds=function(){return this.store.getState().dragOperation.targetIds},e.prototype.getDropResult=function(){return this.store.getState().dragOperation.dropResult},e.prototype.didDrop=function(){return this.store.getState().dragOperation.didDrop},e.prototype.isSourcePublic=function(){return this.store.getState().dragOperation.isSourcePublic},e.prototype.getInitialClientOffset=function(){return this.store.getState().dragOffset.initialClientOffset},e.prototype.getInitialSourceClientOffset=function(){return this.store.getState().dragOffset.initialSourceClientOffset},e.prototype.getClientOffset=function(){return this.store.getState().dragOffset.clientOffset},e.prototype.getSourceClientOffset=function(){return i.getSourceClientOffset(this.store.getState().dragOffset)},e.prototype.getDifferenceFromInitialOffset=function(){return i.getDifferenceFromInitialOffset(this.store.getState().dragOffset)},e}();t.default=s},function(e,t,n){"use strict";function r(e,t){return{x:e.x+t.x,y:e.y+t.y}}function i(e,t){return{x:e.x-t.x,y:e.y-t.y}}Object.defineProperty(t,"__esModule",{value:!0}),t.add=r,t.subtract=i,t.getSourceClientOffset=function(e){var t=e.clientOffset,n=e.initialClientOffset,o=e.initialSourceClientOffset;return t&&n&&o?i(r(t,o),n):null},t.getDifferenceFromInitialOffset=function(e){var t=e.clientOffset,n=e.initialClientOffset;return t&&n?i(t,n):null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5682),i=n(6258),o=n(5895),a=n(6259),s=n(23),u=n(6260);function l(e){switch(e[0]){case"S":return o.HandlerRole.SOURCE;case"T":return o.HandlerRole.TARGET;default:s(!1,"Cannot parse handler ID: "+e)}}function c(e,t){var n=e.entries(),r=!1;do{var i=n.next(),o=i.done;if(i.value[1]===t)return!0;r=o}while(!r);return!1}var d=function(){function e(e){this.store=e,this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null}return e.prototype.addSource=function(e,t){a.validateType(e),a.validateSourceContract(t);var n=this.addHandler(o.HandlerRole.SOURCE,e,t);return this.store.dispatch(r.addSource(n)),n},e.prototype.addTarget=function(e,t){a.validateType(e,!0),a.validateTargetContract(t);var n=this.addHandler(o.HandlerRole.TARGET,e,t);return this.store.dispatch(r.addTarget(n)),n},e.prototype.containsHandler=function(e){return c(this.dragSources,e)||c(this.dropTargets,e)},e.prototype.getSource=function(e,t){return void 0===t&&(t=!1),s(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)},e.prototype.getTarget=function(e){return s(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)},e.prototype.getSourceType=function(e){return s(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)},e.prototype.getTargetType=function(e){return s(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)},e.prototype.isSourceId=function(e){return l(e)===o.HandlerRole.SOURCE},e.prototype.isTargetId=function(e){return l(e)===o.HandlerRole.TARGET},e.prototype.removeSource=function(e){var t=this;s(this.getSource(e),"Expected an existing source."),this.store.dispatch(r.removeSource(e)),u((function(){t.dragSources.delete(e),t.types.delete(e)}))},e.prototype.removeTarget=function(e){s(this.getTarget(e),"Expected an existing target."),this.store.dispatch(r.removeTarget(e)),this.dropTargets.delete(e),this.types.delete(e)},e.prototype.pinSource=function(e){var t=this.getSource(e);s(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t},e.prototype.unpinSource=function(){s(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null},e.prototype.addHandler=function(e,t,n){var r=function(e){var t=i.default().toString();switch(e){case o.HandlerRole.SOURCE:return"S"+t;case o.HandlerRole.TARGET:return"T"+t;default:throw new Error("Unknown Handler Role: "+e)}}(e);return this.types.set(r,t),e===o.HandlerRole.SOURCE?this.dragSources.set(r,n):e===o.HandlerRole.TARGET&&this.dropTargets.set(r,n),r},e}();t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=0;t.default=function(){return r++}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(23);t.validateSourceContract=function(e){r("function"==typeof e.canDrag,"Expected canDrag to be a function."),r("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),r("function"==typeof e.endDrag,"Expected endDrag to be a function.")},t.validateTargetContract=function(e){r("function"==typeof e.canDrop,"Expected canDrop to be a function."),r("function"==typeof e.hover,"Expected hover to be a function."),r("function"==typeof e.drop,"Expected beginDrag to be a function.")},t.validateType=function e(t,n){n&&Array.isArray(t)?t.forEach((function(t){return e(t,!1)})):r("string"==typeof t||"symbol"==typeof t,n?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}},function(e,t,n){"use strict";var r=n(6261),i=[],o=[],a=r.makeRequestCallFromTimer((function(){if(o.length)throw o.shift()}));function s(e){var t;(t=i.length?i.pop():new u).task=e,r(t)}function u(){this.task=null}e.exports=s,u.prototype.call=function(){try{this.task.call()}catch(e){s.onerror?s.onerror(e):(o.push(e),a())}finally{this.task=null,i[i.length]=this}}},function(e,t,n){"use strict";(function(t){function n(e){i.length||(r(),!0),i[i.length]=e}e.exports=n;var r,i=[],o=0;function a(){for(;o<i.length;){var e=o;if(o+=1,i[e].call(),o>1024){for(var t=0,n=i.length-o;t<n;t++)i[t]=i[t+o];i.length-=o,o=0}}i.length=0,o=0,!1}var s,u,l,c=void 0!==t?t:self,d=c.MutationObserver||c.WebKitMutationObserver;function f(e){return function(){var t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}"function"==typeof d?(s=1,u=new d(a),l=document.createTextNode(""),u.observe(l,{characterData:!0}),r=function(){s=-s,l.data=s}):r=f(a),n.requestFlush=r,n.makeRequestCallFromTimer=f}).call(this,n(44))},function(e,t,n){"use strict";e.exports=n(6263)},function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,_=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,E=r?Symbol.for("react.suspense_list"):60120,h=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,T=r?Symbol.for("react.fundamental"):60117,g=r?Symbol.for("react.responder"):60118,I=r?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case f:case a:case u:case s:case p:return e;default:switch(e=e&&e.$$typeof){case c:case _:case m:case h:case l:return e;default:return t}}case o:return t}}}function y(e){return S(e)===f}t.AsyncMode=d,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=l,t.Element=i,t.ForwardRef=_,t.Fragment=a,t.Lazy=m,t.Memo=h,t.Portal=o,t.Profiler=u,t.StrictMode=s,t.Suspense=p,t.isAsyncMode=function(e){return y(e)||S(e)===d},t.isConcurrentMode=y,t.isContextConsumer=function(e){return S(e)===c},t.isContextProvider=function(e){return S(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return S(e)===_},t.isFragment=function(e){return S(e)===a},t.isLazy=function(e){return S(e)===m},t.isMemo=function(e){return S(e)===h},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===u},t.isStrictMode=function(e){return S(e)===s},t.isSuspense=function(e){return S(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===u||e===s||e===p||e===E||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===_||e.$$typeof===T||e.$$typeof===g||e.$$typeof===I||e.$$typeof===v)},t.typeOf=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===t&&(t={});return(0,o.default)("DragLayer","collect[, options]",e,t),f("function"==typeof e,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-layer",e),f((0,u.isPlainObject)(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-layer',t),function(n){var r=n,o=t.arePropsEqual,u=void 0===o?_:o,l=r.displayName||r.name||"Component",p=function(t){var n,o;function d(){var e;return(e=t.apply(this,arguments)||this).isCurrentlyMounted=!1,e.ref=i.createRef(),e.handleChange=function(){if(e.isCurrentlyMounted){var t=e.getCurrentState();_(t,e.state)||e.setState(t)}},e}o=t,(n=d).prototype=Object.create(o.prototype),n.prototype.constructor=n,c(n,o);var p=d.prototype;return p.getDecoratedComponentInstance=function(){return f(this.ref.current,"In order to access an instance of the decorated component, it must either be a class component or use React.forwardRef()"),this.ref.current},p.shouldComponentUpdate=function(e,t){return!u(e,this.props)||!_(t,this.state)},p.componentDidMount=function(){this.isCurrentlyMounted=!0,this.handleChange()},p.componentWillUnmount=function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange&&(this.unsubscribeFromOffsetChange(),this.unsubscribeFromOffsetChange=void 0),this.unsubscribeFromStateChange&&(this.unsubscribeFromStateChange(),this.unsubscribeFromStateChange=void 0)},p.render=function(){var e=this;return i.createElement(a.Consumer,null,(function(t){var n=t.dragDropManager;return void 0===n?null:(e.receiveDragDropManager(n),e.isCurrentlyMounted?i.createElement(r,Object.assign({},e.props,e.state,{ref:(0,s.isRefable)(r)?e.ref:null})):null)}))},p.receiveDragDropManager=function(e){if(void 0===this.manager){this.manager=e,f("object"==typeof e,"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs/troubleshooting#could-not-find-the-drag-and-drop-manager-in-the-context",l,l);var t=this.manager.getMonitor();this.unsubscribeFromOffsetChange=t.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=t.subscribeToStateChange(this.handleChange)}},p.getCurrentState=function(){if(!this.manager)return{};var t=this.manager.getMonitor();return e(t,this.props)},d}(i.Component);return p.displayName="DragLayerContainer",p.displayName="DragLayer("+l+")",p.DecoratedComponent=n,d(p,n)}};var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=(r=n(5683))&&r.__esModule?r:{default:r},a=n(5680),s=n(5805),u=n(1155);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=n(5806),f=n(23),_=n(247)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,d){void 0===d&&(d={});(0,r.default)("DragSource","type, spec, collect[, options]",e,t,n,d);var _=e;"function"!=typeof e&&(f((0,l.default)(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',e),_=function(){return e});f((0,c.isPlainObject)(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',t);var p=(0,a.default)(t);return f("function"==typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',n),f((0,c.isPlainObject)(d),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',n),function(e){return(0,i.default)({containerDisplayName:"DragSource",createHandler:p,registerHandler:o.default,createConnector:function(e){return new u.default(e)},createMonitor:function(e){return new s.default(e)},DecoratedComponent:e,getType:_,collect:n,options:d})}};var r=d(n(5683)),i=d(n(5899)),o=d(n(5900)),a=d(n(6270)),s=d(n(5902)),u=d(n(5903)),l=d(n(5906)),c=n(1155);function d(e){return e&&e.__esModule?e:{default:e}}var f=n(23)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6267);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}));var i=n(6268);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})}));var o=n(6269);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Disposable=void 0;var r=n(1155),i=function(){function e(e){this.isDisposed=!1,this.action=(0,r.isFunction)(e)?e:r.noop}return e.isDisposable=function(e){return e&&(0,r.isFunction)(e.dispose)},e._fixup=function(t){return e.isDisposable(t)?t:e.empty},e.create=function(t){return new e(t)},e.prototype.dispose=function(){this.isDisposed||(this.action(),this.isDisposed=!0)},e}();t.Disposable=i,i.empty={dispose:r.noop}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SerialDisposable=void 0;var r=function(){function e(){this.isDisposed=!1}var t=e.prototype;return t.getDisposable=function(){return this.current},t.setDisposable=function(e){var t=this.isDisposed;if(!t){var n=this.current;this.current=e,n&&n.dispose()}t&&e&&e.dispose()},t.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;var e=this.current;this.current=void 0,e&&e.dispose()}},e}();t.SerialDisposable=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompositeDisposable=void 0;var r=function(){function e(){this.isDisposed=!1;for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.disposables=t}var t=e.prototype;return t.add=function(e){this.isDisposed?e.dispose():this.disposables.push(e)},t.remove=function(e){var t=!1;if(!this.isDisposed){var n=this.disposables.indexOf(e);-1!==n&&(t=!0,this.disposables.splice(n,1),e.dispose())}return t},t.clear=function(){if(!this.isDisposed){for(var e=this.disposables.length,t=new Array(e),n=0;n<e;n++)t[n]=this.disposables[n];this.disposables=[];for(var r=0;r<e;r++)t[r].dispose()}},t.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;for(var e=this.disposables.length,t=new Array(e),n=0;n<e;n++)t[n]=this.disposables[n];this.disposables=[];for(var r=0;r<e;r++)t[r].dispose()}},e}();t.CompositeDisposable=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).forEach((function(t){i(o.indexOf(t)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',o.join(", "),t),i("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source",t,t,e[t])})),a.forEach((function(t){i("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source",t,t,e[t])})),function(t,n){return new s(e,t,n)}};var r=n(5901),i=(n(1155),n(23)),o=["canDrag","beginDrag","isDragging","endDrag"],a=["beginDrag"],s=function(){function e(e,t,n){var r=this;this.spec=e,this.monitor=t,this.ref=n,this.props=null,this.beginDrag=function(){if(r.props)return r.spec.beginDrag(r.props,r.monitor,r.ref.current)}}var t=e.prototype;return t.receiveProps=function(e){this.props=e},t.canDrag=function(){return!!this.props&&(!this.spec.canDrag||this.spec.canDrag(this.props,this.monitor))},t.isDragging=function(e,t){return!!this.props&&(this.spec.isDragging?this.spec.isDragging(this.props,this.monitor):t===e.getSourceId())},t.endDrag=function(){this.props&&this.spec.endDrag&&this.spec.endDrag(this.props,this.monitor,(0,r.getDecoratedComponent)(this.ref))},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.ref;if(i("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),!n)return(0,r.cloneElement)(e,{ref:t});return(0,r.cloneElement)(e,{ref:function(e){o(t,e),n&&o(n,e)}})};var r=n(0),i=n(23);function o(e,t){"function"==typeof e?e(t):e.current=t}},function(e,t,n){"use strict";String.prototype.endsWith||(String.prototype.endsWith=function(e,t){return(void 0===t||t>this.length)&&(t=this.length),this.substring(t-e.length,t)===e})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,d){void 0===d&&(d={});(0,r.default)("DropTarget","type, spec, collect[, options]",e,t,n,d);var _=e;"function"!=typeof e&&(f((0,s.default)(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',e),_=function(){return e});f((0,c.isPlainObject)(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',t);var p=(0,a.default)(t);return f("function"==typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',n),f((0,c.isPlainObject)(d),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',n),function(e){return(0,i.default)({containerDisplayName:"DropTarget",createHandler:p,registerHandler:o.default,createMonitor:function(e){return new u.default(e)},createConnector:function(e){return new l.default(e)},DecoratedComponent:e,getType:_,collect:n,options:d})}};var r=d(n(5683)),i=d(n(5899)),o=d(n(5907)),a=d(n(6274)),s=d(n(5906)),u=d(n(5908)),l=d(n(5909)),c=n(1155);function d(e){return e&&e.__esModule?e:{default:e}}var f=n(23)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).forEach((function(t){i(o.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',o.join(", "),t),i("function"==typeof e[t],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target",t,t,e[t])})),function(t,n){return new a(e,t,n)}};var r=n(5901),i=(n(1155),n(23)),o=["canDrop","hover","drop"],a=function(){function e(e,t,n){this.spec=e,this.monitor=t,this.ref=n,this.props=null}var t=e.prototype;return t.receiveProps=function(e){this.props=e},t.receiveMonitor=function(e){this.monitor=e},t.canDrop=function(){return!this.spec.canDrop||this.spec.canDrop(this.props,this.monitor)},t.hover=function(){this.spec.hover&&this.spec.hover(this.props,this.monitor,(0,r.getDecoratedComponent)(this.ref))},t.drop=function(){if(this.spec.drop)return this.spec.drop(this.props,this.monitor,this.ref.current)},e}()},function(e,t,n){"use strict";function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0)).memo((function(e){var t=e.connect,n=e.src;if("undefined"!=typeof Image){var r=new Image;r.src=n,r.onload=function(){return t(r)}}return null}));i.displayName="DragPreviewImage";var o=i;t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6277);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}));var i=n(6279);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})}));var o=n(6281);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDrag=function(e){var t=(0,o.useRef)(e);t.current=e,a(null!=e.item,"item must be defined"),a(null!=e.item.type,"item type must be defined");var n=(0,i.useDragSourceMonitor)(),s=n[0],u=n[1];(0,i.useDragHandler)(t,s,u);var l=(0,r.useMonitorOutput)(s,t.current.collect||function(){return{}},(function(){return u.reconnect()})),c=(0,o.useMemo)((function(){return u.hooks.dragSource()}),[u]),d=(0,o.useMemo)((function(){return u.hooks.dragPreview()}),[u]);return(0,o.useEffect)((function(){u.dragSourceOptions=t.current.options||null,u.reconnect()}),[u]),(0,o.useEffect)((function(){u.dragPreviewOptions=t.current.previewOptions||null,u.reconnect()}),[u]),[l,c,d]};var r=n(5910),i=n(6278),o=n(0),a=n(23)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDragSourceMonitor=function(){var e=(0,o.useDragDropManager)(),t=(0,r.useMemo)((function(){return new a.default(e)}),[e]),n=(0,r.useMemo)((function(){return new s.default(e.getBackend())}),[e]);return[t,n]},t.useDragHandler=function(e,t,n){var a=(0,o.useDragDropManager)(),s=(0,r.useMemo)((function(){return{beginDrag:function(){var n=e.current,r=n.begin,i=n.item;if(r){var o=r(t);return l(null==o||"object"==typeof o,"dragSpec.begin() must either return an object, undefined, or null"),o||i||{}}return i||{}},canDrag:function(){return"boolean"==typeof e.current.canDrag?e.current.canDrag:"function"!=typeof e.current.canDrag||e.current.canDrag(t)},isDragging:function(n,r){var i=e.current.isDragging;return i?i(t):r===n.getSourceId()},endDrag:function(){var r=e.current.end;r&&r(t.getItem(),t),n.reconnect()}}}),[]);(0,r.useEffect)((function(){var r=(0,i.default)(e.current.item.type,s,a),o=r[0],u=r[1];return t.receiveHandlerId(o),n.receiveHandlerId(o),u}),[])};var r=n(0),i=u(n(5900)),o=n(5807),a=u(n(5902)),s=u(n(5903));function u(e){return e&&e.__esModule?e:{default:e}}var l=n(23)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDrop=function(e){var t=(0,o.useRef)(e);t.current=e,a(null!=e.accept,"accept must be defined");var n=(0,i.useDropTargetMonitor)(),s=n[0],u=n[1];(0,i.useDropHandler)(t,s,u);var l=(0,r.useMonitorOutput)(s,t.current.collect||function(){return{}},(function(){return u.reconnect()})),c=(0,o.useMemo)((function(){return u.hooks.dropTarget()}),[u]);return(0,o.useEffect)((function(){u.dropTargetOptions=e.options||null,u.reconnect()}),[e.options]),[l,c]};var r=n(5910),i=n(6280),o=n(0),a=n(23)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDropTargetMonitor=function(){var e=(0,o.useDragDropManager)(),t=(0,r.useMemo)((function(){return new s.default(e)}),[e]),n=(0,r.useMemo)((function(){return new a.default(e.getBackend())}),[e]);return[t,n]},t.useDropHandler=function(e,t,n){var a=(0,o.useDragDropManager)(),s=(0,r.useMemo)((function(){return{canDrop:function(){var n=e.current.canDrop;return!n||n(t.getItem(),t)},hover:function(){var n=e.current.hover;n&&n(t.getItem(),t)},drop:function(){var n=e.current.drop;if(n)return n(t.getItem(),t)}}}),[t]);(0,r.useEffect)((function(){var r=(0,i.default)(e.current.accept,s,a),o=r[0],u=r[1];return t.receiveHandlerId(o),n.receiveHandlerId(o),u}),[t,n])};var r=n(0),i=u(n(5907)),o=n(5807),a=u(n(5909)),s=u(n(5908));function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDragLayer=function(e){var t=(0,i.useDragDropManager)().getMonitor(),n=(0,o.useCollector)(t,e),a=n[0],s=n[1];return(0,r.useEffect)((function(){return t.subscribeToOffsetChange(s)})),(0,r.useEffect)((function(){return t.subscribeToStateChange(s)})),a};var r=n(0),i=n(5807),o=n(5911)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6283),i=n(6291);t.getEmptyImage=i.default;var o=n(5808);t.NativeTypes=o,t.default=function(e){return new r.default(e)}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i=n(6284),o=n(5913),a=n(6285),s=n(6287),u=n(5808),l=function(){function e(e){var t=this;this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.getSourceClientOffset=function(e){return a.getNodeClientOffset(t.sourceNodes.get(e))},this.endDragNativeItem=function(){t.isDraggingNativeItem()&&(t.actions.endDrag(),t.registry.removeSource(t.currentNativeHandle),t.currentNativeHandle=null,t.currentNativeSource=null)},this.isNodeInDocument=function(e){return!!document&&document.body.contains(e)||!!t.window&&t.window.document.body.contains(e)},this.endDragIfSourceWasRemovedFromDOM=function(){var e=t.currentDragSourceNode;t.isNodeInDocument(e)||t.clearCurrentDragSourceNode()&&t.actions.endDrag()},this.handleTopDragStartCapture=function(){t.clearCurrentDragSourceNode(),t.dragStartSourceIds=[]},this.handleTopDragStart=function(e){var n=t.dragStartSourceIds;t.dragStartSourceIds=null;var r=a.getEventClientOffset(e);t.monitor.isDragging()&&t.actions.endDrag(),t.actions.beginDrag(n||[],{publishSource:!1,getSourceClientOffset:t.getSourceClientOffset,clientOffset:r});var i=e.dataTransfer,o=s.matchNativeItemType(i);if(t.monitor.isDragging()){if(i&&"function"==typeof i.setDragImage){var u=t.monitor.getSourceId(),l=t.sourceNodes.get(u),c=t.sourcePreviewNodes.get(u)||l;if(c){var d=t.getCurrentSourcePreviewNodeOptions(),f={anchorX:d.anchorX,anchorY:d.anchorY},_={offsetX:d.offsetX,offsetY:d.offsetY},p=a.getDragPreviewOffset(l,c,r,f,_);i.setDragImage(c,p.x,p.y)}}try{i.setData("application/json",{})}catch(e){}t.setCurrentDragSourceNode(e.target),t.getCurrentSourcePreviewNodeOptions().captureDraggingState?t.actions.publishDragSource():setTimeout((function(){return t.actions.publishDragSource()}),0)}else if(o)t.beginDragNativeItem(o);else{if(i&&!i.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute("draggable")))return;e.preventDefault()}},this.handleTopDragEndCapture=function(){t.clearCurrentDragSourceNode()&&t.actions.endDrag()},this.handleTopDragEnterCapture=function(e){if(t.dragEnterTargetIds=[],t.enterLeaveCounter.enter(e.target)&&!t.monitor.isDragging()){var n=e.dataTransfer,r=s.matchNativeItemType(n);r&&t.beginDragNativeItem(r)}},this.handleTopDragEnter=function(e){var n=t.dragEnterTargetIds;(t.dragEnterTargetIds=[],t.monitor.isDragging())&&(t.altKeyPressed=e.altKey,o.isFirefox()||t.actions.hover(n,{clientOffset:a.getEventClientOffset(e)}),n.some((function(e){return t.monitor.canDropOnTarget(e)}))&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=t.getCurrentDropEffect())))},this.handleTopDragOverCapture=function(){t.dragOverTargetIds=[]},this.handleTopDragOver=function(e){var n=t.dragOverTargetIds;if(t.dragOverTargetIds=[],!t.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer&&(e.dataTransfer.dropEffect="none"));t.altKeyPressed=e.altKey,t.actions.hover(n||[],{clientOffset:a.getEventClientOffset(e)}),(n||[]).some((function(e){return t.monitor.canDropOnTarget(e)}))?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=t.getCurrentDropEffect())):t.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=function(e){t.isDraggingNativeItem()&&e.preventDefault(),t.enterLeaveCounter.leave(e.target)&&t.isDraggingNativeItem()&&t.endDragNativeItem()},this.handleTopDropCapture=function(e){t.dropTargetIds=[],e.preventDefault(),t.isDraggingNativeItem()&&t.currentNativeSource.mutateItemByReadingDataTransfer(e.dataTransfer),t.enterLeaveCounter.reset()},this.handleTopDrop=function(e){var n=t.dropTargetIds;t.dropTargetIds=[],t.actions.hover(n,{clientOffset:a.getEventClientOffset(e)}),t.actions.drop({dropEffect:t.getCurrentDropEffect()}),t.isDraggingNativeItem()?t.endDragNativeItem():t.endDragIfSourceWasRemovedFromDOM()},this.handleSelectStart=function(e){var t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))},this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.context=e.getContext(),this.enterLeaveCounter=new i.default(this.isNodeInDocument)}return Object.defineProperty(e.prototype,"window",{get:function(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0},enumerable:!0,configurable:!0}),e.prototype.setup=function(){if(void 0!==this.window){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}},e.prototype.teardown=function(){void 0!==this.window&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&this.window.cancelAnimationFrame(this.asyncEndDragFrameId))},e.prototype.connectDragPreview=function(e,t,n){var r=this;return this.sourcePreviewNodeOptions.set(e,n),this.sourcePreviewNodes.set(e,t),function(){r.sourcePreviewNodes.delete(e),r.sourcePreviewNodeOptions.delete(e)}},e.prototype.connectDragSource=function(e,t,n){var r=this;this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,n);var i=function(t){return r.handleDragStart(t,e)},o=function(e){return r.handleSelectStart(e)};return t.setAttribute("draggable","true"),t.addEventListener("dragstart",i),t.addEventListener("selectstart",o),function(){r.sourceNodes.delete(e),r.sourceNodeOptions.delete(e),t.removeEventListener("dragstart",i),t.removeEventListener("selectstart",o),t.setAttribute("draggable","false")}},e.prototype.connectDropTarget=function(e,t){var n=this,r=function(t){return n.handleDragEnter(t,e)},i=function(t){return n.handleDragOver(t,e)},o=function(t){return n.handleDrop(t,e)};return t.addEventListener("dragenter",r),t.addEventListener("dragover",i),t.addEventListener("drop",o),function(){t.removeEventListener("dragenter",r),t.removeEventListener("dragover",i),t.removeEventListener("drop",o)}},e.prototype.addEventListeners=function(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))},e.prototype.removeEventListeners=function(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))},e.prototype.getCurrentSourceNodeOptions=function(){var e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return r({dropEffect:this.altKeyPressed?"copy":"move"},t||{})},e.prototype.getCurrentDropEffect=function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect},e.prototype.getCurrentSourcePreviewNodeOptions=function(){var e=this.monitor.getSourceId(),t=this.sourcePreviewNodeOptions.get(e);return r({anchorX:.5,anchorY:.5,captureDraggingState:!1},t||{})},e.prototype.isDraggingNativeItem=function(){var e=this.monitor.getItemType();return Object.keys(u).some((function(t){return u[t]===e}))},e.prototype.beginDragNativeItem=function(e){this.clearCurrentDragSourceNode(),this.currentNativeSource=s.createNativeDragSource(e),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])},e.prototype.setCurrentDragSourceNode=function(e){var t=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e;this.mouseMoveTimeoutTimer=setTimeout((function(){return t.window&&t.window.addEventListener("mousemove",t.endDragIfSourceWasRemovedFromDOM,!0)}),1e3)},e.prototype.clearCurrentDragSourceNode=function(){return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.window&&(this.window.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)),this.mouseMoveTimeoutTimer=null,!0)},e.prototype.handleDragStart=function(e,t){this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t)},e.prototype.handleDragEnter=function(e,t){this.dragEnterTargetIds.unshift(t)},e.prototype.handleDragOver=function(e,t){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)},e.prototype.handleDrop=function(e,t){this.dropTargetIds.unshift(t)},e}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5912),i=function(){function e(e){this.entered=[],this.isNodeInDocument=e}return e.prototype.enter=function(e){var t=this,n=this.entered.length;return this.entered=r.union(this.entered.filter((function(n){return t.isNodeInDocument(n)&&(!n.contains||n.contains(e))})),[e]),0===n&&this.entered.length>0},e.prototype.leave=function(e){var t=this.entered.length;return this.entered=r.without(this.entered.filter(this.isNodeInDocument),e),t>0&&0===this.entered.length},e.prototype.reset=function(){this.entered=[]},e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5913),i=n(6286);function o(e){var t=1===e.nodeType?e:e.parentElement;if(!t)return null;var n=t.getBoundingClientRect(),r=n.top;return{x:n.left,y:r}}t.getNodeClientOffset=o,t.getEventClientOffset=function(e){return{x:e.clientX,y:e.clientY}},t.getDragPreviewOffset=function(e,t,n,a,s){var u,l,c="IMG"===(u=t).nodeName&&(r.isFirefox()||!document.documentElement.contains(u)),d=o(c?e:t),f={x:n.x-d.x,y:n.y-d.y},_=e.offsetWidth,p=e.offsetHeight,E=a.anchorX,h=a.anchorY,m=function(e,t,n,i){var o=e?t.width:n,a=e?t.height:i;return r.isSafari()&&e&&(a/=window.devicePixelRatio,o/=window.devicePixelRatio),{dragPreviewWidth:o,dragPreviewHeight:a}}(c,t,_,p),v=m.dragPreviewWidth,T=m.dragPreviewHeight,g=s.offsetX,I=s.offsetY,S=0===I||I;return{x:0===g||g?g:new i.default([0,.5,1],[f.x,f.x/_*v,f.x+v-_]).interpolate(E),y:S?I:(l=new i.default([0,.5,1],[f.y,f.y/p*T,f.y+T-p]).interpolate(h),r.isSafari()&&c&&(l+=(window.devicePixelRatio-1)*T),l)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=e.length,r=[],i=0;i<n;i++)r.push(i);r.sort((function(t,n){return e[t]<e[n]?-1:1}));var o,a,s=[],u=[],l=[];for(i=0;i<n-1;i++)o=e[i+1]-e[i],a=t[i+1]-t[i],u.push(o),s.push(a),l.push(a/o);var c=[l[0]];for(i=0;i<u.length-1;i++){var d=l[i],f=l[i+1];if(d*f<=0)c.push(0);else{o=u[i];var _=u[i+1],p=o+_;c.push(3*p/((p+_)/d+(p+o)/f))}}c.push(l[l.length-1]);var E,h=[],m=[];for(i=0;i<c.length-1;i++){E=l[i];var v=c[i],T=1/u[i];p=v+c[i+1]-E-E;h.push((E-v-p)*T),m.push(p*T*T)}this.xs=e,this.ys=t,this.c1s=c,this.c2s=h,this.c3s=m}return e.prototype.interpolate=function(e){var t=this,n=t.xs,r=t.ys,i=t.c1s,o=t.c2s,a=t.c3s,s=n.length-1;if(e===n[s])return r[s];for(var u,l=0,c=a.length-1;l<=c;){var d=n[u=Math.floor(.5*(l+c))];if(d<e)l=u+1;else{if(!(d>e))return r[u];c=u-1}}var f=e-n[s=Math.max(0,c)],_=f*f;return r[s]+i[s]*f+o[s]*_+a[s]*f*_},e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6288),i=n(6290);t.createNativeDragSource=function(e){return new i.NativeDragSource(r.nativeTypesConfig[e])},t.matchNativeItemType=function(e){if(!e)return null;var t=Array.prototype.slice.call(e.types||[]);return Object.keys(r.nativeTypesConfig).filter((function(e){return r.nativeTypesConfig[e].matchesTypes.some((function(e){return t.indexOf(e)>-1}))}))[0]||null}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0});var i=n(5808),o=n(6289);t.nativeTypesConfig=((r={})[i.FILE]={exposeProperties:{files:function(e){return Array.prototype.slice.call(e.files)},items:function(e){return e.items}},matchesTypes:["Files"]},r[i.URL]={exposeProperties:{urls:function(e,t){return o.getDataFromDataTransfer(e,t,"").split("\n")}},matchesTypes:["Url","text/uri-list"]},r[i.TEXT]={exposeProperties:{text:function(e,t){return o.getDataFromDataTransfer(e,t,"")}},matchesTypes:["Text","text/plain"]},r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDataFromDataTransfer=function(e,t,n){var r=t.reduce((function(t,n){return t||e.getData(n)}),"");return null!=r?r:n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){var t=this;this.config=e,this.item={},Object.keys(this.config.exposeProperties).forEach((function(e){Object.defineProperty(t.item,e,{configurable:!0,enumerable:!0,get:function(){return console.warn("Browser doesn't allow reading \""+e+'" until the drop event.'),null}})}))}return e.prototype.mutateItemByReadingDataTransfer=function(e){var t=this,n={};e&&Object.keys(this.config.exposeProperties).forEach((function(r){n[r]={value:t.config.exposeProperties[r](e,t.config.matchesTypes)}})),Object.defineProperties(this.item,n)},e.prototype.canDrag=function(){return!0},e.prototype.beginDrag=function(){return this.item},e.prototype.isDragging=function(e,t){return t===e.getSourceId()},e.prototype.endDrag=function(){},e}();t.NativeDragSource=r},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r||((r=new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Overlay=void 0;var r,i=N(n(0)),o=n(137),a=n(192),s=n(678),u=n(384),l=A(n(3)),c=A(n(28)),d=A(n(5555)),f=A(n(6302)),_=A(n(6303)),p=A(n(1182)),E=n(277),h=N(n(6305)),m=A(n(6306)),v=A(n(11)),T=A(n(13)),g=n(368),I=A(n(16)),S=A(n(43)),y=n(1);function A(e){return e&&e.__esModule?e:{default:e}}function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function N(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function R(){return(R=Object.assign||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}).apply(this,arguments)}function b(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n(5952),n(6308),n(1206);var D=(0,E.loaderMaker)(y.Colors.PRIMARY_DARK_630),C=(0,E.makeLazy)({createPromise:function(){return Promise.all([n.e(0),n.e(27)]).then(n.t.bind(null,6135,7))},webpackId:6135,name:"UnsupportedBrowser"}),M=(0,E.makeLazy)({createPromise:function(){return Promise.resolve().then(n.t.bind(null,491,7))},webpackId:491,name:"DownloadApps"}),P=(0,E.makeLazy)({createPromise:function(){return n.e(21).then(n.t.bind(null,6136,7))},webpackId:6136,name:"InviteProxy"}),w=(0,E.makeLazy)({createPromise:function(){return Promise.all([n.e(0),n.e(28)]).then(n.t.bind(null,6137,7))},webpackId:6137,name:"VerifyConnectedAccount"}),U=(0,E.makeLazy)({createPromise:function(){return Promise.all([n.e(0),n.e(3),n.e(4),n.e(2),n.e(6),n.e(11),n.e(9),n.e(10),n.e(72),n.e(30)]).then(n.t.bind(null,5891,7))},webpackId:5891,name:"ViewsWithMainInterface",memo:!0,LoadingComponent:D,id:5891}),k=(0,E.makeLazy)({createPromise:function(){return Promise.all([n.e(0),n.e(32)]).then(n.t.bind(null,6138,7))},webpackId:6138,name:"XboxEdu",LoadingComponent:D}),G=(0,E.makeLazy)({createPromise:function(){return Promise.all([n.e(0),n.e(33)]).then(n.t.bind(null,6139,7))},webpackId:6139,name:"XboxPin",LoadingComponent:D}),Y=(0,E.makeLazy)({createPromise:function(){return Promise.all([n.e(0),n.e(4),n.e(5),n.e(8),n.e(29)]).then(n.t.bind(null,5715,7))},webpackId:5715,name:"ViewsWithAuth",LoadingComponent:D}),x=(0,E.makeLazy)({createPromise:function(){return n.e(31).then(n.t.bind(null,6140,7))},webpackId:6140,name:"ViewsWithOAuth2",LoadingComponent:D}),V=(0,E.makeLazy)({createPromise:function(){return Promise.all([n.e(0),n.e(14)]).then(n.t.bind(null,6141,7))},webpackId:6141,name:"BrowserHandoff",LoadingComponent:D}),H=(0,E.makeLazy)({createPromise:function(){return Promise.all([n.e(0),n.e(3),n.e(4),n.e(2),n.e(6),n.e(10),n.e(5),n.e(7),n.e(8),n.e(23)]).then(n.t.bind(null,6142,7))},webpackId:6142,name:"Overlay"});t.Overlay=H;var F=b(U,{}),B=function(){return F};B.displayName="renderViewsWithMainInterface";var j=b(a.Switch,{},void 0,b(p.default,{component:C})),W=b(f.default,{}),K=b(a.Route,{render:B}),z=b(f.default,{}),q=b(a.Route,{render:B}),X=b(m.default,{}),J=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,L(t,n);var i=r.prototype;return i.componentDidMount=function(){S.default.cleanupDisplaySleep()},i.render=function(){var e,t=this.props,n=t.isAuthenticated,r=t.migrationStatus;return e=r===h.MigrationStatus.IN_PROGRESS?null:u.IS_APP_COMPATIBLE_BROWSER?I.default.embedded?b(a.Switch,{},void 0,b(a.Route,{exact:!0,path:y.Routes.INDEX,render:function(){return W}}),b(p.default,{exact:!0,path:y.Routes.APPS,component:M}),b(a.Route,{path:[y.Routes.LOGIN,y.Routes.REGISTER,y.Routes.INVITE(":inviteCode"),y.Routes.INVITE_LOGIN(":inviteCode"),y.Routes.GIFT_CODE(":giftCode"),y.Routes.GIFT_CODE_LOGIN(":giftCode"),y.Routes.RESET],component:Y}),b(p.default,{path:y.Routes.INVITE_PROXY(":channelId"),component:P}),b(a.Redirect,{from:y.Routes.INVITE(""),to:y.Routes.LOGIN}),b(a.Redirect,{from:y.Routes.GIFT_CODE(""),to:y.Routes.LOGIN}),K):b(a.Switch,{},void 0,b(p.default,{exact:!0,path:y.Routes.INDEX,render:function(){return z}}),b(a.Route,{path:[y.Routes.LOGIN,y.Routes.LOGIN_HANDOFF,y.Routes.REGISTER,y.Routes.BILLING_PREFIX,y.Routes.BILLING_PROMOTION_REDEMPTION(":code"),y.Routes.INVITE(":inviteCode"),y.Routes.INVITE_LOGIN(":inviteCode"),y.Routes.GIFT_CODE(":giftCode"),y.Routes.GIFT_CODE_LOGIN(":giftCode"),y.Routes.GUILD_TEMPLATE(":guildTemplateCode"),y.Routes.GUILD_TEMPLATE_LOGIN(":guildTemplateCode"),y.Routes.DISABLE_EMAIL_NOTIFICATIONS,y.Routes.RESET],component:Y}),b(a.Redirect,{from:y.Routes.INVITE(""),to:y.Routes.LOGIN}),b(p.default,{path:y.Routes.INVITE_PROXY(":channelId"),component:P}),b(a.Redirect,{from:y.Routes.GIFT_CODE(""),to:y.Routes.LOGIN}),b(p.default,{path:y.Routes.HANDOFF,component:V}),b(p.default,{path:y.Routes.XBOX_EDU,component:k}),b(p.default,{path:y.Routes.XBOX_PIN,component:G}),b(p.default,{path:y.Routes.CONNECTIONS(":type"),component:w}),b(p.default,{path:y.Routes.DOWNLOAD_QR_CODE_REDIRECT,render:function(){var e,t=null===(e=T.default.getSuperProperties())||void 0===e?void 0:e.os,n=(0,o.parse)((window.location.search||"").substr(1)),r=n.has_e_mail,i=n.referring_location;return"iOS"!==t&&"Android"!==t||T.default.track(y.AnalyticEvents.DOWNLOAD_APP,{platform:t,ptb:!1,released:!0,has_e_mail:"true"===r,referring_location:i.toString(),qr_code:!0}),window.location.href=(0,g.getMobileDownloadLink)(i.toString()||"qr_code",t),null}}),b(a.Redirect,{from:y.Routes.CONNECT_AUTHORIZE,to:R({},location,{pathname:y.Routes.OAUTH2_AUTHORIZE})}),b(a.Route,{path:[y.Routes.OAUTH2_AUTHORIZED,y.Routes.OAUTH2_AUTHORIZE,y.Routes.OAUTH2_ERROR,y.Routes.OAUTH2_WHITELIST_ACCEPT],component:x}),n?null:b(a.Route,{path:y.Routes.APPLICATION_STORE,component:_.default}),q):j,b(d.default,{},void 0,e,!I.default.embedded||r!==h.MigrationStatus.NOT_STARTED&&r!==h.MigrationStatus.IN_PROGRESS||!0===c.default.get(s.DOMAIN_MIGRATION_SUCCESS_KEY)?null:X)},r}(i.Component);J.displayName="App";var Q=l.default.connectStores([v.default,h.default],(function(){return{isAuthenticated:v.default.isAuthenticated(),migrationStatus:h.default.getMigrationStatus()}}),{forwardRef:!0})(J);t.default=Q},,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n)}(n(0));var r,i=n(192),o=l(n(3)),a=l(n(11)),s=l(n(382)),u=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var f=o.default.connectStores([s.default,a.default],(function(){var e=a.default.getToken();return{token:e,hasLoadedExperiments:null!=e||s.default.hasLoadedExperiments}}))((function(e){var t=e.hasLoadedExperiments;return null!=e.token?d(i.Redirect,{to:u.Routes.APP}):t?d(i.Redirect,{to:u.Routes.LOGIN}):null}));t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=l(n(9)),a=l(n(6127)),s=l(n(6128)),u=l(n(1170));function l(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=d(a.default,{}),p=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n),r.prototype.render=function(){return d("div",{className:(0,o.default)(s.default.app,u.default.vertical)},void 0,_)},r}(i.Component);p.displayName="ApplicationStoreStandalone";var E=p;t.default=E},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MigrationStatus=void 0;var r,i=a(n(3)),o=a(n(2));n(1);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.MigrationStatus=r,function(e){e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.FAILED=2]="FAILED",e[e.SKIPPED=3]="SKIPPED"}(r||(t.MigrationStatus=r={}));var u=r.NOT_STARTED;var l=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n),r.prototype.getMigrationStatus=function(){return u},r}(i.default.Store))(o.default,{DOMAIN_MIGRATION_START:function(e){u=r.IN_PROGRESS},DOMAIN_MIGRATION_FAILURE:function(e){u=r.FAILED},DOMAIN_MIGRATION_SKIP:function(e){u=r.SKIPPED}});t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r.useEffect((function(){window.location.origin===window.GLOBAL_ENV.MIGRATION_DESTINATION_ORIGIN&&!0!==o.default.get(i.DOMAIN_MIGRATION_SUCCESS_KEY)&&u.default.supportsFeature(c.NativeFeatures.USER_DATA_CACHE)&&(l.migrate(),a.default.userDataCache.getCached().then((function(e){if(null==e)return l.failMigration(),void s.default.track(c.AnalyticEvents.DOMAIN_MIGRATED,{success:!1,has_data:!1},{flush:!0});var t=Object.keys(e),n=0!==t.length,r=null!=e.token,u=null==e.RTCRegionStore?null:JSON.parse(e.RTCRegionStore),d=null==u||null==p(u)||p(u)<=p(o.default.get("RTCRegionStore"));n&&r&&!d&&(o.default.clear(),t.forEach((function(t){var n=e[t];try{o.default.set(t,JSON.parse(n))}catch(e){}}))),s.default.track(c.AnalyticEvents.DOMAIN_MIGRATED,{success:!0,current_is_newer:d,has_data:n},{flush:!0}),o.default.set(i.DOMAIN_MIGRATION_SUCCESS_KEY,!0),a.default.userDataCache.deleteCache(),l.finishMigration()})))}),[]),null};var r=_(n(0)),i=n(678),o=d(n(28)),a=d(n(118)),s=d(n(13)),u=d(n(43)),l=_(n(6307)),c=n(1);function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function _(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function p(e){var t;return null==e||null===(t=e._state)||void 0===t?void 0:t.lastTestTimestamp}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.migrate=function(){i.default.wait((function(){return i.default.dispatch({type:o.ActionTypes.DOMAIN_MIGRATION_START})}))},t.failMigration=function(){i.default.dispatch({type:o.ActionTypes.DOMAIN_MIGRATION_FAILURE})},t.skipMigration=function(){i.default.dispatch({type:o.ActionTypes.DOMAIN_MIGRATION_SKIP})},t.finishMigration=function(){window.location.reload()};var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(1)},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),i=o(n(2));n(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=!1,u=[];function l(t){e((function(){return t()}))}var c=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n),r}(r.default.Store))(i.default,{POST_CONNECTION_PENDING_CALLBACK:function(e){var t=e.callback;s?l(t):u.push(t)},CONNECTION_OPEN:function(e){return s=!0,u.forEach((function(e){return l(e)})),void(u=[])},CONNECTION_CLOSED:function(e){s=!1}});t.default=c}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(57),i=E(n(216)),o=E(n(486)),a=E(n(10)),s=E(n(51)),u=E(n(94)),l=E(n(79)),c=E(n(479)),d=E(n(283)),f=E(n(365)),_=n(106),p=n(1);function E(e){return e&&e.__esModule?e:{default:e}}function h(){return(h=Object.assign||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}).apply(this,arguments)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=new(function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this)._handleRTCConnectionStoreChanged=function(){var e=u.default.getChannelId();if(t._voiceChannelId!==e)if(t._voiceChannelId=e,null!=e){var n=a.default.getChannel(t._voiceChannelId);t._voiceChannelGuildId=null!=n?n.getGuildId():null,null==t._reportInterval&&(t._reportInterval=new r.Interval,t._reportInterval.start(6e4,(function(){t._trackStartSpeaking(),t._trackStartListening()})))}else t._reset()},t._handleSpeakingStoreChanged=function(){var e=d.default.isCurrentUserSpeaking();t._currentUserSpeaking!==e&&(t._currentUserSpeaking=e,t._trackStartSpeaking());var n=d.default.isAnyoneElseSpeaking();!1===t._anyoneElseSpeaking&&!0===n&&(t._anyoneElseSpeaking=n,t._trackStartListening())},t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n);var E=i.prototype;return E._initialize=function(){this._reset(),d.default.addChangeListener(this._handleSpeakingStoreChanged),u.default.addChangeListener(this._handleRTCConnectionStoreChanged)},E._reset=function(){this._currentUserSpeaking=!1,this._anyoneElseSpeaking=!1,this._voiceChannelId=null,this._voiceChannelGuildId=null,null!=this._reportInterval&&(this._reportInterval.stop(),this._reportInterval=null)},E._trackStartSpeaking=function(){this._currentUserSpeaking&&(0,_.trackWithMetadata)(p.AnalyticEvents.START_SPEAKING,h({mode:s.default.getMode(),priority:d.default.isCurrentUserPrioritySpeaking(),channel:this._voiceChannelId,server:this._voiceChannelGuildId,channel_id:this._voiceChannelId,guild_id:this._voiceChannelGuildId,rtc_connection_id:u.default.getRTCConnectionId(),media_session_id:u.default.getMediaSessionId(),voice_state_count:f.default.countVoiceStatesForChannel(this._voiceChannelId)},this.getGameMetadata(),{},u.default.getPacketStats()))},E._trackStartListening=function(){s.default.isDeaf()||(0,_.trackWithMetadata)(p.AnalyticEvents.START_LISTENING,h({mute:s.default.isMute(),anyone_priority:d.default.isAnyonePrioritySpeaking(),channel:this._voiceChannelId,server:this._voiceChannelGuildId,channel_id:this._voiceChannelId,guild_id:this._voiceChannelGuildId,rtc_connection_id:u.default.getRTCConnectionId(),media_session_id:u.default.getMediaSessionId(),voice_state_count:f.default.countVoiceStatesForChannel(this._voiceChannelId)},this.getGameMetadata()))},E._terminate=function(){this._reset(),d.default.removeChangeListener(this._handleSpeakingStoreChanged),u.default.removeChangeListener(this._handleRTCConnectionStoreChanged)},E.getGameMetadata=function(){var e=c.default.findActivity((function(e){return e.type===p.ActivityTypes.PLAYING})),t=l.default.getCurrentGame();return{game_platform:(0,o.default)(e),game_name:null!=e?e.name:null,game_exe_name:null!=t?t.exeName:null,game_id:null!=e?e.application_id:null}},i}(i.default));t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(34),i=E(n(2)),o=E(n(288)),a=n(364),s=E(n(26)),u=n(6311),l=E(n(1185)),c=E(n(163)),d=E(n(11)),f=n(140),_=E(n(5966)),p=n(1);function E(e){return e&&e.__esModule?e:{default:e}}var h=function(){function e(){var e=this;this.mode=null,this.applications=[],this.director=new u.StreamDirector((function(t){return e._onDirectorAction(t)})),i.default.subscribe(p.ActionTypes.STREAM_START,(function(t){var n=t.streamType,r=t.guildId,i=t.channelId,o=t.pid,a=t.sourceId,u=d.default.getId(),l=(0,f.encodeStreamKey)({streamType:n,guildId:r,channelId:i,ownerId:u});null==o!=(null==a)?(null!=o&&e._onStreamApplication(l,o),null!=a&&e._onStreamDirectSource(l,a)):new s.default("ApplicationSwitchingManager").warn("invalid start_stream: both application + display modes were specified (pid: "+o+", source-id: "+a+")")})),i.default.subscribe(p.ActionTypes.STREAM_DELETE,(function(t){var n=t.streamKey;e._onStreamKilled(n)})),i.default.subscribe(p.ActionTypes.STREAM_STOP,(function(t){var n=t.streamKey;e._onStreamEnd(n)})),i.default.subscribe(p.ActionTypes.RUNNING_GAMES_CHANGE,(function(t){var n=t.games;e._onGameDetectionUpdate(n)})),i.default.subscribe(p.ActionTypes.MEDIA_ENGINE_VIDEO_STATE_CHANGED,(function(t){var n=t.videoState;t.context===r.MediaEngineContextTypes.STREAM&&e._onCapturePaused(n===p.MediaEngineVideoStates.PAUSED)})),i.default.subscribe(p.ActionTypes.MEDIA_ENGINE_SET_DESKTOP_SOURCE,(function(t){var n=t.sourceId;t.context===r.MediaEngineContextTypes.STREAM&&null==n&&e._onCaptureEnded()}))}var t=e.prototype;return t._onGameDetectionUpdate=function(e){this.applications=e.map((function(e){return{applicationId:e.id||null,processId:e.pid,processPath:e.pidPath,windowHandle:e.windowHandle||null,executableName:e.exeName}})),this.director.onDetectionUpdate(this.applications)},t._onStreamApplication=function(e,t){this.mode="application",this.streamKey=e,this.director.onStreamBegin(this.applications,t)},t._onStreamDirectSource=function(e,t){this.mode="verbatim-source",this.streamKey=e,this._onDirectorAction({type:u.StreamDirectorActionType.STREAM,sourceId:t})},t._onStreamEnd=function(e){if(this.streamKey===e)switch(this.streamKey=null,this.mode){case"application":this.director.onStreamEnd();break;case"verbatim-source":this._onDirectorAction({type:u.StreamDirectorActionType.STOP});break;default:throw new Error("unknown streaming mode: "+(this.mode||"(none)"))}},t._onStreamKilled=function(e){if(this.streamKey===e)switch(this.streamKey=null,this.mode){case"application":this.director.onStreamKilled();break;case"verbatim-source":break;default:throw new Error("unknown streaming mode: "+(this.mode||"(none)"))}},t._onDirectorAction=function(e){var t=c.default.getActiveStreamForUser(d.default.getId()),n=l.default.getState();switch(e.type){case u.StreamDirectorActionType.STREAM:null!=t&&(0,a.setStreamPaused)(t,!1),o.default.setDesktopSource(e.sourceId,n.preset,n.resolution,n.fps,!0,r.MediaEngineContextTypes.STREAM);break;case u.StreamDirectorActionType.PAUSE:null!=t&&(0,a.setStreamPaused)(t,!0);break;case u.StreamDirectorActionType.STOP:null!=t&&(0,_.default)(t);break;default:throw new Error("unhandled stream action: "+e.type)}},t._onCapturePaused=function(e){var t=c.default.getActiveStreamForUser(d.default.getId());null!=t&&(0,a.setStreamPaused)(t,e)},t._onCaptureEnded=function(){switch(this.mode){case"application":this._onCapturePaused(!0);break;case"verbatim-source":null!=this.streamKey&&this._onStreamEnd(this.streamKey);break;default:throw new Error("unknown streaming mode: "+(this.mode||"(none)"))}},e}(),m={instance:null,init:function(){null==this.instance&&(this.instance=new h)}};t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StreamDirector=t.StreamDirectorActionType=void 0;var r,i=n(6312);t.StreamDirectorActionType=r,function(e){e.STREAM="stream",e.PAUSE="pause",e.STOP="stop"}(r||(t.StreamDirectorActionType=r={}));var o=function(){function e(e){this.callback=e,this.active=!1,this.processPath=[],this.windowHandle=null}var t=e.prototype;return t.onStreamBegin=function(e,t){var n=(0,i.getInitialStreamTarget)(e,t);null==n||null==n.windowHandle?this.callback({type:"stop"}):this._stream(n.processPath,n.windowHandle)},t.onStreamKilled=function(){this._kill()},t.onStreamEnd=function(){this._stop()},t.onDetectionUpdate=function(e){this._update(e)},t.onCaptureEnd=function(e,t){this.windowHandle===t&&this._update(e)},t.onCaptureLegacyEnd=function(e){return null!=this.windowHandle?this.onCaptureEnd(e,this.windowHandle):this._stop()},t._update=function(e){var t=(0,i.getStreamTarget)(e,this.processPath);if(null!=t)return null==t.windowHandle?this._pause():this._stream(t.processPath,t.windowHandle);this._stop()},t._stream=function(e,t){this.active=!0,this.processPath=e,this.windowHandle!==t&&(this.windowHandle=t,this.callback({type:r.STREAM,sourceId:"window:"+t}))},t._kill=function(){this.active=!1,this.processPath=[],this.windowHandle=null},t._stop=function(){this.active&&(this._kill(),this.callback({type:r.STOP}))},t._pause=function(){this.active&&(this.windowHandle=null,this.callback({type:r.PAUSE}))},e}();t.StreamDirector=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getInitialStreamTarget=function(e,t){var n=(0,o.default)(e).find((function(e){return e.processId===t}));return null==n?null:a(e,n.processPath)},t.getStreamTarget=a;var r,i=n(48),o=(r=n(6313))&&r.__esModule?r:{default:r};function a(e,t){var n=(0,o.default)(e),r=new Map(n.map((function(e){return[e.processId,e]}))),a=t.map((function(e){return r.get(e)})).find((function(e){return null!=e}));if(null==a)return null;var u=n.map((function(e){var t=e.processPath.findIndex((function(e){return r.has(e)}));return-1===t?null:{application:e,rootedPath:e.processPath.slice(t)}})).filter(i.isNotNullish).filter((function(e){return e.rootedPath[0]===a.processId}));u.sort((function(e,t){var n=e.rootedPath.map((function(e){return r.get(e)})).filter((function(e){return null!=e&&null!=e.windowHandle}));return s(t.rootedPath.map((function(e){return r.get(e)})).filter((function(e){return null!=e&&null!=e.windowHandle})),n)||s(t.rootedPath,e.rootedPath)}));var l=u.find((function(e){return null!=e.application.windowHandle}))||u[0];return null==l?null:l.application}function s(e,t){return e.length-t.length}},function(e,t,n){"use strict";function r(){return(r=Object.assign||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}).apply(this,arguments)}function i(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){for(var n,o=i(t);!(n=o()).done;){var a=n.value,s=u(e),l=u(a);if(null!=s&&s===l)return r({},e,{processPath:[].concat(a.processPath,[e.processId])})}return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.filter(s);return e.map((function(e){return function(e){return"356869127241072640"===e.applicationId&&"league of legends.exe"===e.executableName}(e)?a(e,t):e}))},t.fixLeagueGame=a;function s(e){return"356869127241072640"===e.applicationId&&"leagueclientux.exe"===e.executableName}function u(e){return e.processPath.length>=2?e.processPath[e.processPath.length-2]:null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=f(n(66)),o=f(n(2)),a=f(n(218)),s=f(n(216)),u=n(41),l=f(n(93)),c=n(1),d=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function p(){return(p=Object.assign||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}).apply(this,arguments)}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var h=new(function(e){var t,n;function s(){for(var t,n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return(t=e.call.apply(e,[this].concat(o))||this).handlePermission=function(e){var t=e.kind,n=e.granted,o="Firefox"===i.default.name?c.HelpdeskArticles.ENABLE_MIC_FIREFOX:c.HelpdeskArticles.ENABLE_MIC_CHROME;if(!n){var s="audio"!==t;(0,u.openModal)((function(e){return r.createElement(a.default,p({title:s?d.default.Messages.NO_CAMERA_TITLE:d.default.Messages.NO_MIC_TITLE,body:s?d.default.Messages.NO_CAMERA_BODY:d.default.Messages.NO_MIC_BODY,onConfirm:function(){return window.open(l.default.getArticleURL(o),"_blank")},confirmText:d.default.Messages.HELP_DESK},e))}))}},t}n=e,(t=s).prototype=Object.create(n.prototype),t.prototype.constructor=t,E(t,n);var f=s.prototype;return f._initialize=function(){o.default.subscribe(c.ActionTypes.MEDIA_ENGINE_PERMISSION,this.handlePermission)},f._terminate=function(){o.default.unsubscribe(c.ActionTypes.MEDIA_ENGINE_PERMISSION,this.handlePermission)},s}(s.default));t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(216)),i=l(n(13)),o=l(n(16)),a=l(n(43)),s=l(n(6316)),u=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=new(function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this)._tracker=new s.default,t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var l=r.prototype;return l._initialize=function(){var e=this;o.default.embedded&&(a.default.on(u.ActionTypes.UPDATE_DOWNLOADED,(function(){return e.processModuleEvents()})),a.default.on(u.ActionTypes.MODULE_INSTALLED,(function(t,n,r){return e.processModuleEvents()})),a.default.on(u.ActionTypes.UPDATER_HISTORY_RESPONSE,(function(t,n){e._handleHistoryResponse(n)})),this.processModuleEvents())},l._terminate=function(){},l.processModuleEvents=function(){a.default.send("UPDATER_HISTORY_QUERY_AND_TRUNCATE")},l._handleHistoryResponse=function(e){var t=this;null!=e&&(e.forEach((function(e){return t._tracker.trackEvent(e)})),this._tracker.submissionReady()&&(i.default.track(u.AnalyticEvents.APP_MODULES_UPDATED,this._tracker.getStats()),this._tracker.reset()))},r}(r.default));t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1);function i(e){return"host"===e}var o=function(){function e(){this._installingModules={},this._downloadingModules={},this._report={num_failed:0,num_delta_installed:0,num_full_installed:0,foreground_bytes_total:0,background_bytes_total:0,foreground_download_ms_total:0,background_download_ms_total:0,foreground_install_ms_total:0,background_install_ms_total:0}}var t=e.prototype;return t.handleDownloadingModule=function(e){i(e.name)||(null==this._downloadingModules[e.name]?this._downloadingModules[e.name]={startTime:BigInt(e.now),foreground:e.foreground}:console.warn("Duplicate downloading-module event for module ",e.name))},t._updateReportField=function(e,t,n){null!=this._report[e]?this._report[e]=n(this._report[e],t):this._report[e]=t},t.incrementReportField=function(e,t){this._updateReportField(e,t,(function(e,t){return e+t}))},t.setReportFieldMinimum=function(e,t){this._updateReportField(e,t,Math.min)},t.setReportFieldMaximum=function(e,t){this._updateReportField(e,t,Math.max)},t.handleDownloadedModule=function(e){if(!i(e.name)){var t=this._downloadingModules[e.name];if(null!=t){var n=t.foreground?"foreground":"background",r=n+"_download_ms_"+e.name,o=n+"_bytes_"+e.name,a=Number((BigInt(e.now)-t.startTime+BigInt(999999))/BigInt(1e6)),s=!1===e.receivedBytes?0:e.receivedBytes;t.foreground?(this._report.foreground_download_ms_total+=a,this._report.foreground_bytes_total+=s):(this._report.background_download_ms_total+=a,this._report.background_bytes_total+=s),this.incrementReportField(r,a),this.incrementReportField(o,s),delete this._downloadingModules[e.name]}else console.warn("Downloaded complete without corresponding downloading event for module ",e.name)}},t.handleInstallingModule=function(e){i(e.name)||(null==this._installingModules[e.name]?this._installingModules[e.name]={startTime:BigInt(e.now),foreground:e.foreground,oldVersion:e.oldVersion,newVersion:e.newVersion}:console.warn("Duplicate installing-module event for module ",e.name))},t.handleInstalledModule=function(e){if(!i(e.name)){var t=this._installingModules[e.name];if(null!=t){var n=(t.foreground?"foreground":"background")+"_install_ms_"+e.name,r="min_version_"+e.name,o="max_version_"+e.name,a=Number((BigInt(e.now)-t.startTime+BigInt(999999))/BigInt(1e6));t.foreground?this._report.foreground_install_ms_total+=a:this._report.background_install_ms_total+=a,this.incrementReportField(n,a),this.setReportFieldMinimum(r,t.oldVersion),e.succeeded?(!0===e.delta?this._report.num_delta_installed++:this._report.num_full_installed++,this.setReportFieldMaximum(o,t.newVersion)):this._report.num_failed++,delete this._installingModules[e.name]}}},t.trackEvent=function(e){switch(e.type){case r.ModuleUpdaterEventTypes.INSTALLING_MODULE:this.handleInstallingModule(e);break;case r.ModuleUpdaterEventTypes.INSTALLED_MODULE:this.handleInstalledModule(e);break;case r.ModuleUpdaterEventTypes.DOWNLOADING_MODULE:this.handleDownloadingModule(e);break;case r.ModuleUpdaterEventTypes.DOWNLOADED_MODULE:this.handleDownloadedModule(e)}},t.getStats=function(){return this._report},t.reset=function(){this._report={num_failed:0,num_delta_installed:0,num_full_installed:0,foreground_bytes_total:0,background_bytes_total:0,foreground_download_ms_total:0,background_download_ms_total:0,foreground_install_ms_total:0,background_install_ms_total:0}},t.submissionReady=function(){return this._report.num_full_installed+this._report.num_failed+this._report.num_delta_installed+this._report.foreground_bytes_total+this._report.background_bytes_total!==0&&!(Object.keys(this._installingModules).length>0||Object.keys(this._downloadingModules).length>0)},e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(57),i=s(n(2)),o=s(n(274)),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}var u=new r.Timeout,l={init:function(){i.default.subscribe(a.ActionTypes.USER_SETTINGS_UPDATE,(function(e){var t=e.settings;if(t.hasOwnProperty("customStatus")){var n=t.customStatus;if(null==n)u.stop();else if(null!=n.expiresAt){var r=new Date(n.expiresAt)-new Date;r>0?u.start(r,(function(){o.default.updateRemoteSettings({customStatus:null})}),!0):(o.default.updateRemoteSettings({customStatus:null}),u.stop())}else null!=u&&u.stop()}}))}};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(2)),i=n(6319),o=f(n(6320)),a=f(n(216)),s=f(n(26)),u=f(n(51)),l=f(n(386)),c=f(n(16)),d=n(1);function f(e){return e&&e.__esModule?e:{default:e}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=new s.default("RTCLatencyTestManager"),E=new(function(e){var t,n;function a(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._handleTestRegionsResponse=function(e){var t=e.map((function(e){return e.region}));l.default.shouldPerformLatencyTest(t)?u.default.getMediaEngine().rankRtcRegions(e).then((function(e){p.info("RTC region latency test completed: ",e),(0,i.completeRTCLatencyTest)(e,t)})).catch((function(e){return p.warn(e)})):p.info("RTC cached preferred region is "+l.default.getPreferredRegion())},t._handleConnectionOpen=function(){if(c.default.embedded&&!__OVERLAY__){var e=!1;if(o.default.trackExposure({}),o.default.subscribe({},(function(t){e=t.canPerformLatencyTest}))(),!e)return;var n=Math.floor(1e3+3e4*Math.random());setTimeout((function(){(0,i.fetchRTCLatencyTestRegions)().then((function(e){return t._handleTestRegionsResponse(e.body)})).catch((function(e){return p.warn(e)}))}),n)}},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n);var s=a.prototype;return s._initialize=function(){r.default.subscribe(d.ActionTypes.CONNECTION_OPEN,this._handleConnectionOpen)},s._terminate=function(){r.default.unsubscribe(d.ActionTypes.CONNECTION_OPEN,this._handleConnectionOpen)},a}(a.default));t.default=E},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.fetchRTCLatencyTestRegions=function(){return r.default.get(""+(e.env.API_PROTOCOL||location.protocol)+window.GLOBAL_ENV.RTC_LATENCY_ENDPOINT)},t.completeRTCLatencyTest=function(e,t){i.default.dispatch({type:o.ActionTypes.RTC_LATENCY_TEST_COMPLETE,latencyRankedRegions:e,geoRankedRegions:t})};var r=a(n(14)),i=a(n(2)),o=n(1);function a(e){return e&&e.__esModule?e:{default:e}}}).call(this,n(100))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50).createExperiment)({kind:"user",id:"2020-08_rtc_latency_test_experiment",label:"RTC Latency Test Experiment",defaultConfig:{canPerformLatencyTest:!1},treatments:[{id:1,label:"Performs RTC region latency test on connection start",config:{canPerformLatencyTest:!0}}]});t.default=r},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(2)),i=s(n(274)),o=s(n(39)),a=n(1);function s(e){return e&&e.__esModule?e:{default:e}}var u=!1,l={init:function(){r.default.subscribe(a.ActionTypes.CONNECTION_OPEN,(function(){return u=!0})),r.default.subscribe(a.ActionTypes.OVERLAY_INITIALIZE,(function(){return u=!0})),r.default.subscribe(a.ActionTypes.USER_SETTINGS_UPDATE,this.ensureTimezoneUpdated)},ensureTimezoneUpdated:function(){if(u){u=!1;var t=(new Date).getTimezoneOffset();o.default.timezoneOffset!==t&&e((function(){return i.default.updateRemoteSettings({timezoneOffset:t})}))}}};t.default=l}).call(this,n(68).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(41),o=n(5819),a=l(n(6323)),s=l(n(6324)),u=n(1);function l(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}var d=function(){return(0,i.openModal)((function(e){return r.createElement(s.default,e)}),{modalKey:o.URGENT_MODAL_KEY,onCloseRequest:u.NOOP_NULL})},f={init:function(){return a.default.initWithHandler(d)}};t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(2)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(1150)),o=d(n(10)),a=d(n(36)),s=d(n(12)),u=n(5819),l=n(1);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(e){return e&&e.__esModule?e:{default:e}}var f=!1;function _(e){var t=s.default.getNullableCurrentUser();if(null!=t){var n=a.default.getChannelId(),r=o.default.getDMFromUserId(u.SYSTEM_USER);if(!t.hasUrgentMessages()||r===n)return p({channelId:n});f||(f=!0,e())}}function p(e){var t=e.channelId,n=s.default.getNullableCurrentUser(),r=t===o.default.getDMFromUserId(u.SYSTEM_USER);null!=n&&n.hasUrgentMessages()&&r&&(f=!1,i.setFlag(l.UserFlags.HAS_UNREAD_URGENT_MESSAGES,!1))}var E={initWithHandler:function(e){r.default.subscribe(l.ActionTypes.CONNECTION_OPEN,(function(){return _(e)})),r.default.subscribe(l.ActionTypes.MESSAGE_CREATE,(function(){return _(e)})),r.default.subscribe(l.ActionTypes.CHANNEL_SELECT,p)}};t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n)}(n(0));var r,i=f(n(29)),o=n(85),a=n(35),s=f(n(47)),u=f(n(24)),l=f(n(6325)),c=f(n(6)),d=f(n(6326));function f(e){return e&&e.__esModule?e:{default:e}}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function p(e,t,n,i){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function E(e){var t=e.transitionState,n=e.onClose,r=(0,o.useUID)();return p(a.ModalRoot,{transitionState:t,"aria-labelledby":r},void 0,p(a.ModalHeader,{separator:!1,id:r},void 0,p(s.default,{tag:s.default.Tags.H2,size:s.default.Sizes.SIZE_20},void 0,c.default.Messages.SYSTEM_DM_URGENT_MESSAGE_MODAL_HEADER)),p(a.ModalContent,{},void 0,p(u.default,{size:u.default.Sizes.SIZE_16},void 0,c.default.Messages.SYSTEM_DM_URGENT_MESSAGE_MODAL_BODY),p("div",{className:d.default.art})),p(a.ModalFooter,{},void 0,p(i.default,{type:"submit",color:i.default.Colors.BRAND,onClick:function(){(0,l.default)(),n()}},void 0,c.default.Messages.OKAY)))}E.displayName="UrgentMessageModal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=i.default.getDMFromUserId(o.SYSTEM_USER);if(null==e)return;r.default.selectPrivateChannel(e)};var r=a(n(132)),i=a(n(10)),o=n(5819);function a(e){return e&&e.__esModule?e:{default:e}}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=g(n(23)),i=g(n(8)),o=g(n(14)),a=n(34),s=n(178),u=g(n(1204)),l=n(253),c=g(n(6329)),d=n(57),f=g(n(2)),_=g(n(26)),p=g(n(11)),E=g(n(16)),h=g(n(43)),m=n(140),v=n(196),T=n(1);function g(e){return e&&e.__esModule?e:{default:e}}function I(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function S(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){I(o,r,i,a,s,"next",e)}function s(e){I(o,r,i,a,s,"throw",e)}a(void 0)}))}}var y,A={},O=new d.Timeout,N=!1,R=window.document.createElement("canvas");R.width=512,R.height=288;var b=R.getContext("2d");function L(){O.stop(),null!=y&&(u.default.removeSink(y,A),y=null)}var D=i.default.debounce((function(e,t,n,r){M(e,(0,m.encodeStreamKey)({streamType:null!=t?v.StreamTypes.GUILD:v.StreamTypes.CALL,guildId:t,channelId:n,ownerId:r}))}),500);function C(e){var t=512/e.width,n=288/e.height,r=Math.min(t,n);R.width=e.width*r,R.height=e.height*r;var i=b.getImageData(0,0,R.width,R.height);return new Promise((function(t,n){c.default.resizeBuffer({src:e.data,dest:i.data,width:e.width,height:e.height,toWidth:i.width,toHeight:i.height,alpha:!1},(function(e){null!=e?n(e):(null==b||b.putImageData(i,0,0),t())}))}))}function M(e,t){return P.apply(this,arguments)}function P(){return(P=S(regeneratorRuntime.mark((function e(t,n){var i,a,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(y===t){e.next=2;break}return e.abrupt("return");case 2:if(i=function(){return M(t,n)},N){e.next=28;break}return e.prev=4,e.next=7,w(t,60);case 7:return a=e.sent,e.next=10,C(a);case 10:if(s=R.toDataURL("image/jpeg"),f.default.dispatch({type:T.ActionTypes.STREAM_PREVIEW_FETCH_SUCCESS,streamKey:n,previewURL:s}),!E.default.embedded){e.next=19;break}return u=p.default.getToken(),(0,r.default)(null!=u,"Auth token was null while sending screenshot."),e.next=17,h.default.makeChunkedRequest(T.Endpoints.STREAM_PREVIEW(n),{thumbnail:s},{method:"POST",token:u});case 17:e.next=21;break;case 19:return e.next=21,o.default.post({url:T.Endpoints.STREAM_PREVIEW(n),body:{thumbnail:s},oldFormErrors:!0});case 21:e.next=28;break;case 23:return e.prev=23,e.t0=e.catch(4),new _.default("ApplicationStreamPreviewUploadManager").error("Failed to post stream preview",e.t0),y===t&&O.start(6e4,i),e.abrupt("return");case 28:y===t&&(N?O.start(6e4,i):O.start(3e5,i));case 29:case"end":return e.stop()}}),e,null,[[4,23]])})))).apply(this,arguments)}function w(e,t){var n=0;return(E.default.embedded?k:U)(e,(function(e){if(new Uint32Array(e.data.buffer).some((function(e){return 0!==e})))return!0;if(++n>t)throw new Error("Timed out awaiting non-black frame after "+t+" frames");return!1}))}function U(e,t){var n=(0,l.getVideoStream)(e);if(null==n)return Promise.resolve(new ImageData(0,0));var r=n.getVideoTracks()[0].getSettings(),i=r.width,o=r.height,a=document.createElement("video"),s=document.createElement("canvas");a.width=s.width=null!=i?i:512,a.height=s.height=null!=o?o:288,a.srcObject=n,a.play();var u=s.getContext("2d");return new Promise((function(e,n){a.ontimeupdate=function(){null==u||u.drawImage(a,0,0,s.width,s.height);var r=null==u?void 0:u.getImageData(0,0,s.width,s.height);try{null!=r&&t(r)&&e(r)}catch(e){n(e)}}})).finally((function(){a.ontimeupdate=null,a.removeAttribute("srcObject"),a.load()}))}function k(e,t){var n=(0,s.getVoiceEngine)(),r=null!=(null==n?void 0:n.getNextVideoOutputFrame);return new Promise((function(i,o){var a=function(e){try{null!=e&&t(e)&&i(e)}catch(e){o(e)}};r?n.getNextVideoOutputFrame(e).then(a,(function(t){if(y===e)throw t})):u.default.addSink(e,A,a)})).finally((function(){r||u.default.removeSink(e,A)}))}var G={init:function(){f.default.subscribe(T.ActionTypes.CONNECTION_OPEN,L),f.default.subscribe(T.ActionTypes.LOGOUT,L),f.default.subscribe(T.ActionTypes.STREAM_DELETE,L),f.default.subscribe(T.ActionTypes.RTC_CONNECTION_VIDEO,(function(e){var t=e.guildId,n=e.channelId,r=e.userId,i=e.streamId,o=e.context;null==i||o!==a.MediaEngineContextTypes.STREAM||r!==p.default.getId()||__OVERLAY__||(L(),y=i,D(i,t,n,r))})),f.default.subscribe(T.ActionTypes.MEDIA_ENGINE_VIDEO_STATE_CHANGED,(function(e){var t=e.videoState;N=t===T.MediaEngineVideoStates.PAUSED}))}};t.default=G},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6330)();function i(e,t){var n={src:e.src,dest:null,width:0|e.width,height:0|e.height,toWidth:0|e.toWidth,toHeight:0|e.toHeight,quality:e.quality,alpha:e.alpha,unsharpAmount:e.unsharpAmount,unsharpThreshold:e.unsharpThreshold};r.resizeBuffer(n).then((function(n){var r=e.dest;if(r)for(var i=0,o=n.length;i<o;i++)r[i]=n[i];t(null,n)}))}var o={resizeBuffer:i,resizeCanvas:function(e,t,n,r){var o=e.width,a=e.height,s=t.width,u=t.height;"function"==typeof n&&(r=n,n={}),isNaN(n)||(n={quality:n,alpha:!1});var l=t.getContext("2d"),c=l.getImageData(0,0,s,u);i({src:e.getContext("2d").getImageData(0,0,o,a).data,dest:c.data,width:e.width,height:e.height,toWidth:t.width,toHeight:t.height,quality:n.quality,alpha:n.alpha,unsharpAmount:n.unsharpAmount,unsharpThreshold:n.unsharpThreshold},(function(e){null!=e?r(e):(l.putImageData(c,0,0),r())}))}};t.default=o},function(e,t,n){"use strict";var r=n(367),i=n(5916),o=n(5917),a=n(6345),s=n(6346),u=n(6347),l=n(6348),c=n(6349),d={},f=!1;try{"undefined"!=typeof navigator&&navigator.userAgent&&(f=navigator.userAgent.indexOf("Safari")>=0)}catch(e){}var _=1;"undefined"!=typeof navigator&&(_=Math.min(navigator.hardwareConcurrency||1,4));var p,E,h={tile:1024,concurrency:_,features:["js","wasm","ww"],idle:2e3},m={quality:3,alpha:!1,unsharpAmount:0,unsharpRadius:0,unsharpThreshold:0};function v(){return{value:i(u),destroy:function(){if(this.value.terminate(),"undefined"!=typeof window){var e=window.URL||window.webkitURL||window.mozURL||window.msURL;e&&e.revokeObjectURL&&this.value.objectURL&&e.revokeObjectURL(this.value.objectURL)}}}}function T(e){if(!(this instanceof T))return new T(e);this.options=r({},h,e||{});var t="lk_"+this.options.concurrency;this.__limit=d[t]||s.limiter(this.options.concurrency),d[t]||(d[t]=this.__limit),this.features={js:!1,wasm:!1,cib:!1,ww:!1},this.__workersPool=null,this.__requested_features=[],this.__mathlib=null}T.prototype.init=function(){var e=this;if(this.__initPromise)return this.__initPromise;if(!1!==p&&!0!==p&&(p=!1,"undefined"!=typeof ImageData&&"undefined"!=typeof Uint8ClampedArray))try{new ImageData(new Uint8ClampedArray(400),10,10),p=!0}catch(e){}!1!==E&&!0!==E&&(E=!1,"undefined"!=typeof ImageBitmap&&(ImageBitmap.prototype&&ImageBitmap.prototype.close?E=!0:this.debug("ImageBitmap does not support .close(), disabled")));var t=this.options.features.slice();if(t.indexOf("all")>=0&&(t=["cib","wasm","js","ww"]),this.__requested_features=t,this.__mathlib=new o(t),t.indexOf("ww")>=0&&"undefined"!=typeof window&&"Worker"in window)try{n(5916)((function(){})).terminate(),this.features.ww=!0;var i="wp_"+JSON.stringify(this.options);d[i]?this.__workersPool=d[i]:(this.__workersPool=new a(v,this.options.idle),d[i]=this.__workersPool)}catch(e){}var u,l=this.__mathlib.init().then((function(t){r(e.features,t.features)}));return u=E?s.cib_support().then((function(n){e.features.cib&&t.indexOf("cib")<0?e.debug("createImageBitmap() resize supported, but disabled by config"):t.indexOf("cib")>=0&&(e.features.cib=n)})):Promise.resolve(!1),this.__initPromise=Promise.all([l,u]).then((function(){return e})),this.__initPromise},T.prototype.resize=function(e,t,n){var i=this;this.debug("Start resize...");var o=r({},m);if(isNaN(n)?n&&(o=r(o,n)):o=r(o,{quality:n}),o.toWidth=t.width,o.toHeight=t.height,o.width=e.naturalWidth||e.width,o.height=e.naturalHeight||e.height,0===t.width||0===t.height)return Promise.reject(new Error("Invalid output size: "+t.width+"x"+t.height));o.unsharpRadius>2&&(o.unsharpRadius=2);var a=!1,u=null;o.cancelToken&&(u=o.cancelToken.then((function(e){throw a=!0,e}),(function(e){throw a=!0,e})));var d=Math.ceil(Math.max(3,2.5*o.unsharpRadius|0));return this.init().then((function(){if(a)return u;if(i.features.cib){var n=t.getContext("2d",{alpha:Boolean(o.alpha)});return i.debug("Resize via createImageBitmap()"),createImageBitmap(e,{resizeWidth:o.toWidth,resizeHeight:o.toHeight,resizeQuality:s.cib_quality_name(o.quality)}).then((function(e){if(a)return u;if(!o.unsharpAmount)return n.drawImage(e,0,0),e.close(),n=null,i.debug("Finished!"),t;i.debug("Unsharp result");var r=document.createElement("canvas");r.width=o.toWidth,r.height=o.toHeight;var s=r.getContext("2d",{alpha:Boolean(o.alpha)});s.drawImage(e,0,0),e.close();var l=s.getImageData(0,0,o.toWidth,o.toHeight);return i.__mathlib.unsharp_mask(l.data,o.toWidth,o.toHeight,o.unsharpAmount,o.unsharpRadius,o.unsharpThreshold),n.putImageData(l,0,0),l=s=r=n=null,i.debug("Finished!"),t}))}var _={},h=function(e,t,n){var r,o,l,h=function(t){return i.__limit((function(){if(a)return u;var c;if(s.isCanvas(e))i.debug("Get tile pixel data"),c=r.getImageData(t.x,t.y,t.width,t.height);else{i.debug("Draw tile imageBitmap/image to temporary canvas");var d=document.createElement("canvas");d.width=t.width,d.height=t.height;var E=d.getContext("2d",{alpha:Boolean(n.alpha)});E.globalCompositeOperation="copy",E.drawImage(o||e,t.x,t.y,t.width,t.height,0,0,t.width,t.height),i.debug("Get tile pixel data"),c=E.getImageData(0,0,t.width,t.height),E=d=null}var h={src:c.data,width:t.width,height:t.height,toWidth:t.toWidth,toHeight:t.toHeight,scaleX:t.scaleX,scaleY:t.scaleY,offsetX:t.offsetX,offsetY:t.offsetY,quality:n.quality,alpha:n.alpha,unsharpAmount:n.unsharpAmount,unsharpRadius:n.unsharpRadius,unsharpThreshold:n.unsharpThreshold};return i.debug("Invoke resize math"),Promise.resolve().then((function(){return function(e){return Promise.resolve().then((function(){return i.features.ww?new Promise((function(t,n){var r=i.__workersPool.acquire();u&&u.catch((function(e){return n(e)})),r.value.onmessage=function(e){r.release(),e.data.err?n(e.data.err):t(e.data.result)},r.value.postMessage({opts:e,features:i.__requested_features,preload:{wasm_nodule:i.__mathlib.__}},[e.src.buffer])})):i.__mathlib.resizeAndUnsharp(e,_)}))}(h)})).then((function(e){if(a)return u;var n;if(c=null,i.debug("Convert raw rgba tile result to ImageData"),p)n=new ImageData(new Uint8ClampedArray(e),t.toWidth,t.toHeight);else if((n=l.createImageData(t.toWidth,t.toHeight)).data.set)n.data.set(e);else for(var r=n.data.length-1;r>=0;r--)n.data[r]=e[r];return i.debug("Draw tile"),f?l.putImageData(n,t.toX,t.toY,t.toInnerX-t.toX,t.toInnerY-t.toY,t.toInnerWidth+1e-5,t.toInnerHeight+1e-5):l.putImageData(n,t.toX,t.toY,t.toInnerX-t.toX,t.toInnerY-t.toY,t.toInnerWidth,t.toInnerHeight),null}))}))};return Promise.resolve().then((function(){if(l=t.getContext("2d",{alpha:Boolean(n.alpha)}),s.isCanvas(e))return r=e.getContext("2d",{alpha:Boolean(n.alpha)}),null;if(s.isImage(e))return E?(i.debug("Decode image via createImageBitmap"),createImageBitmap(e).then((function(e){o=e}))):null;throw new Error('".from" should be image or canvas')})).then((function(){if(a)return u;i.debug("Calculate tiles");var e=c({width:n.width,height:n.height,srcTileSize:i.options.tile,toWidth:n.toWidth,toHeight:n.toHeight,destTileBorder:d}).map((function(e){return h(e)}));function r(){o&&(o.close(),o=null)}return i.debug("Process tiles"),Promise.all(e).then((function(){return i.debug("Finished!"),r(),t}),(function(e){throw r(),e}))}))};return function e(t,n,i,o){if(a)return u;var s,l=t.shift(),c=l[0],d=l[1],f=0===t.length;return o=r({},o,{toWidth:c,toHeight:d,quality:f?o.quality:Math.min(1,o.quality)}),f||((s=document.createElement("canvas")).width=c,s.height=d),h(n,f?i:s,o).then((function(){return f?i:(o.width=c,o.height=d,e(t,s,i,o))}))}(l(o.width,o.height,o.toWidth,o.toHeight,i.options.tile,d),e,t,o)}))},T.prototype.resizeBuffer=function(e){var t=this,n=r({},m,e);return this.init().then((function(){return t.__mathlib.resizeAndUnsharp(n)}))},T.prototype.toBlob=function(e,t,n){return t=t||"image/png",new Promise((function(r){if(e.toBlob)e.toBlob((function(e){return r(e)}),t,n);else{for(var i=atob(e.toDataURL(t,n).split(",")[1]),o=i.length,a=new Uint8Array(o),s=0;s<o;s++)a[s]=i.charCodeAt(s);r(new Blob([a],{type:t}))}}))},T.prototype.debug=function(){},e.exports=T},function(e,t,n){"use strict";var r=n(367),i=n(6332),o=n(6333),a={js:!0,wasm:!0};function s(e){if(!(this instanceof s))return new s(e);var t=r({},a,e||{});if(this.options=t,this.__cache={},this.__init_promise=null,this.__modules=t.modules||{},this.__memory=null,this.__wasm={},this.__isLE=1===new Uint32Array(new Uint8Array([1,0,0,0]).buffer)[0],!this.options.js&&!this.options.wasm)throw new Error('mathlib: at least "js" or "wasm" should be enabled')}s.prototype.has_wasm=o,s.prototype.use=function(e){return this.__modules[e.name]=e,this.options.wasm&&this.has_wasm()&&e.wasm_fn?this[e.name]=e.wasm_fn:this[e.name]=e.fn,this},s.prototype.init=function(){if(this.__init_promise)return this.__init_promise;if(!this.options.js&&this.options.wasm&&!this.has_wasm())return Promise.reject(new Error('mathlib: only "wasm" was enabled, but it\'s not supported'));var e=this;return this.__init_promise=Promise.all(Object.keys(e.__modules).map((function(t){var n=e.__modules[t];return e.options.wasm&&e.has_wasm()&&n.wasm_fn?e.__wasm[t]?null:WebAssembly.compile(e.__base64decode(n.wasm_src)).then((function(n){e.__wasm[t]=n})):null}))).then((function(){return e})),this.__init_promise},s.prototype.__base64decode=i,s.prototype.__reallocate=function(e){if(!this.__memory)return this.__memory=new WebAssembly.Memory({initial:Math.ceil(e/65536)}),this.__memory;var t=this.__memory.buffer.byteLength;return t<e&&this.__memory.grow(Math.ceil((e-t)/65536)),this.__memory},s.prototype.__instance=function(e,t,n){if(t&&this.__reallocate(t),!this.__wasm[e]){var i=this.__modules[e];this.__wasm[e]=new WebAssembly.Module(this.__base64decode(i.wasm_src))}if(!this.__cache[e]){var o={memoryBase:0,memory:this.__memory,tableBase:0,table:new WebAssembly.Table({initial:0,element:"anyfunc"})};this.__cache[e]=new WebAssembly.Instance(this.__wasm[e],{env:r(o,n||{})})}return this.__cache[e]},s.prototype.__align=function(e,t){var n=e%(t=t||8);return e+(n?t-n:0)},e.exports=s},function(e,t,n){"use strict";e.exports=function(e){for(var t=e.replace(/[\r\n=]/g,""),n=t.length,r=new Uint8Array(3*n>>2),i=0,o=0,a=0;a<n;a++)a%4==0&&a&&(r[o++]=i>>16&255,r[o++]=i>>8&255,r[o++]=255&i),i=i<<6|"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(t.charAt(a));var s=n%4*6;return 0===s?(r[o++]=i>>16&255,r[o++]=i>>8&255,r[o++]=255&i):18===s?(r[o++]=i>>10&255,r[o++]=i>>2&255):12===s&&(r[o++]=i>>4&255),r}},function(e,t,n){"use strict";var r;e.exports=function(){if(void 0!==r)return r;if(r=!1,"undefined"==typeof WebAssembly)return r;try{var e=new Uint8Array([0,97,115,109,1,0,0,0,1,6,1,96,1,127,1,127,3,2,1,0,5,3,1,0,1,7,8,1,4,116,101,115,116,0,0,10,16,1,14,0,32,0,65,1,54,2,0,32,0,40,2,0,11]),t=new WebAssembly.Module(e);return 0!==new WebAssembly.Instance(t,{}).exports.test(4)&&(r=!0),r}catch(e){}return r}},function(e,t,n){"use strict";e.exports={name:"unsharp_mask",fn:n(6335),wasm_fn:n(6338),wasm_src:n(6339)}},function(e,t,n){"use strict";var r=n(6336),i=n(6337);e.exports=function(e,t,n,o,a,s){var u,l,c,d,f,_,p,E,h,m,v,T,g;if(!(0===o||a<.5)){a>2&&(a=2);var I=i(e,t,n),S=new Uint16Array(I);r(S,t,n,a);for(var y=o/100*4096+.5|0,A=257*s|0,O=t*n,N=0;N<O;N++)T=2*(I[N]-S[N]),Math.abs(T)>=A&&(u=e[g=4*N],l=e[g+1],c=e[g+2],_=257*((E=u>=l&&u>=c?u:l>=u&&l>=c?l:c)+(p=u<=l&&u<=c?u:l<=u&&l<=c?l:c))>>1,p===E?d=f=0:(f=_<=32767?4095*(E-p)/(E+p)|0:4095*(E-p)/(510-E-p)|0,d=u===E?65535*(l-c)/(6*(E-p))|0:l===E?21845+(65535*(c-u)/(6*(E-p))|0):43690+(65535*(u-l)/(6*(E-p))|0)),(_+=y*T+2048>>12)>65535?_=65535:_<0&&(_=0),0===f?u=l=c=_>>8:(h=2*_-(m=_<=32767?_*(4096+f)+2048>>12:_+((65535-_)*f+2048>>12))>>8,m>>=8,u=(v=d+21845&65535)>=43690?h:v>=32767?h+(6*(m-h)*(43690-v)+32768>>16):v>=10922?m:h+(6*(m-h)*v+32768>>16),l=(v=65535&d)>=43690?h:v>=32767?h+(6*(m-h)*(43690-v)+32768>>16):v>=10922?m:h+(6*(m-h)*v+32768>>16),c=(v=d-21845&65535)>=43690?h:v>=32767?h+(6*(m-h)*(43690-v)+32768>>16):v>=10922?m:h+(6*(m-h)*v+32768>>16)),e[g]=u,e[g+1]=l,e[g+2]=c)}}},function(e,t){var n,r,i,o,a,s;function u(e,t,n,r,i,o){var a,s,u,l,c,d,f,_,p,E,h,m,v,T;for(p=0;p<o;p++){for(f=p,_=0,l=c=(a=e[d=p*i])*r[6],h=r[0],m=r[1],v=r[4],T=r[5],E=0;E<i;E++)u=(s=e[d])*h+a*m+l*v+c*T,c=l,l=u,a=s,n[_]=l,_++,d++;for(_--,f+=o*(i-1),l=c=(a=e[--d])*r[7],s=a,h=r[2],m=r[3],E=i-1;E>=0;E--)u=s*h+a*m+l*v+c*T,c=l,l=u,a=s,s=e[d],t[f]=n[_]+l,d--,_--,f-=o}}e.exports=function(e,t,l,c){if(c){var d=new Uint16Array(e.length),f=new Float32Array(Math.max(t,l)),_=function(e){e<.5&&(e=.5);var t=Math.exp(.527076)/e,u=Math.exp(-t),l=Math.exp(-2*t),c=(1-u)*(1-u)/(1+2*t*u-l);return n=c,r=c*(t-1)*u,i=c*(t+1)*u,o=-c*l,a=2*u,s=-l,new Float32Array([n,r,i,o,a,s,(n+r)/(1-a-s),(i+o)/(1-a-s)])}(c);u(e,d,f,_,t,l),u(d,e,f,_,l,t)}}},function(e,t,n){"use strict";e.exports=function(e,t,n){for(var r,i,o,a,s,u=t*n,l=new Uint16Array(u),c=0;c<u;c++)r=e[4*c],i=e[4*c+1],o=e[4*c+2],s=r>=i&&r>=o?r:i>=o&&i>=r?i:o,a=r<=i&&r<=o?r:i<=o&&i<=r?i:o,l[c]=257*(s+a)>>1;return l}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i,o){if(!(0===r||i<.5)){i>2&&(i=2);var a=t*n,s=4*a,u=2*a,l=2*a,c=4*Math.max(t,n),d=s,f=d+u,_=f+l,p=_+l,E=p+c,h=this.__instance("unsharp_mask",s+u+2*l+c+32,{exp:Math.exp}),m=new Uint32Array(e.buffer);new Uint32Array(this.__memory.buffer).set(m);var v=h.exports.hsl_l16||h.exports._hsl_l16;v(0,d,t,n),(v=h.exports.blurMono16||h.exports._blurMono16)(d,f,_,p,E,t,n,i),(v=h.exports.unsharp||h.exports._unsharp)(0,0,d,f,t,n,r,o),m.set(new Uint32Array(this.__memory.buffer,0,a))}}},function(e,t,n){"use strict";e.exports="AGFzbQEAAAABMQZgAXwBfGACfX8AYAZ/f39/f38AYAh/f39/f39/fQBgBH9/f38AYAh/f39/f39/fwACGQIDZW52A2V4cAAAA2VudgZtZW1vcnkCAAEDBgUBAgMEBQQEAXAAAAdMBRZfX2J1aWxkX2dhdXNzaWFuX2NvZWZzAAEOX19nYXVzczE2X2xpbmUAAgpibHVyTW9ubzE2AAMHaHNsX2wxNgAEB3Vuc2hhcnAABQkBAAqJEAXZAQEGfAJAIAFE24a6Q4Ia+z8gALujIgOaEAAiBCAEoCIGtjgCECABIANEAAAAAAAAAMCiEAAiBbaMOAIUIAFEAAAAAAAA8D8gBKEiAiACoiAEIAMgA6CiRAAAAAAAAPA/oCAFoaMiArY4AgAgASAEIANEAAAAAAAA8L+gIAKioiIHtjgCBCABIAQgA0QAAAAAAADwP6AgAqKiIgO2OAIIIAEgBSACoiIEtow4AgwgASACIAegIAVEAAAAAAAA8D8gBqGgIgKjtjgCGCABIAMgBKEgAqO2OAIcCwu3AwMDfwR9CHwCQCADKgIUIQkgAyoCECEKIAMqAgwhCyADKgIIIQwCQCAEQX9qIgdBAEgiCA0AIAIgAC8BALgiDSADKgIYu6IiDiAJuyIQoiAOIAq7IhGiIA0gAyoCBLsiEqIgAyoCALsiEyANoqCgoCIPtjgCACACQQRqIQIgAEECaiEAIAdFDQAgBCEGA0AgAiAOIBCiIA8iDiARoiANIBKiIBMgAC8BALgiDaKgoKAiD7Y4AgAgAkEEaiECIABBAmohACAGQX9qIgZBAUoNAAsLAkAgCA0AIAEgByAFbEEBdGogAEF+ai8BACIIuCINIAu7IhGiIA0gDLsiEqKgIA0gAyoCHLuiIg4gCrsiE6KgIA4gCbsiFKKgIg8gAkF8aioCALugqzsBACAHRQ0AIAJBeGohAiAAQXxqIQBBACAFQQF0ayEHIAEgBSAEQQF0QXxqbGohBgNAIAghAyAALwEAIQggBiANIBGiIAO4Ig0gEqKgIA8iECAToqAgDiAUoqAiDyACKgIAu6CrOwEAIAYgB2ohBiAAQX5qIQAgAkF8aiECIBAhDiAEQX9qIgRBAUoNAAsLCwvfAgIDfwZ8AkAgB0MAAAAAWw0AIARE24a6Q4Ia+z8gB0MAAAA/l7ujIgyaEAAiDSANoCIPtjgCECAEIAxEAAAAAAAAAMCiEAAiDraMOAIUIAREAAAAAAAA8D8gDaEiCyALoiANIAwgDKCiRAAAAAAAAPA/oCAOoaMiC7Y4AgAgBCANIAxEAAAAAAAA8L+gIAuioiIQtjgCBCAEIA0gDEQAAAAAAADwP6AgC6KiIgy2OAIIIAQgDiALoiINtow4AgwgBCALIBCgIA5EAAAAAAAA8D8gD6GgIgujtjgCGCAEIAwgDaEgC6O2OAIcIAYEQCAFQQF0IQogBiEJIAIhCANAIAAgCCADIAQgBSAGEAIgACAKaiEAIAhBAmohCCAJQX9qIgkNAAsLIAVFDQAgBkEBdCEIIAUhAANAIAIgASADIAQgBiAFEAIgAiAIaiECIAFBAmohASAAQX9qIgANAAsLC7wBAQV/IAMgAmwiAwRAQQAgA2shBgNAIAAoAgAiBEEIdiIHQf8BcSECAn8gBEH/AXEiAyAEQRB2IgRB/wFxIgVPBEAgAyIIIAMgAk8NARoLIAQgBCAHIAIgA0kbIAIgBUkbQf8BcQshCAJAIAMgAk0EQCADIAVNDQELIAQgByAEIAMgAk8bIAIgBUsbQf8BcSEDCyAAQQRqIQAgASADIAhqQYECbEEBdjsBACABQQJqIQEgBkEBaiIGDQALCwvTBgEKfwJAIAazQwAAgEWUQwAAyEKVu0QAAAAAAADgP6CqIQ0gBSAEbCILBEAgB0GBAmwhDgNAQQAgAi8BACADLwEAayIGQQF0IgdrIAcgBkEASBsgDk8EQCAAQQJqLQAAIQUCfyAALQAAIgYgAEEBai0AACIESSIJRQRAIAYiCCAGIAVPDQEaCyAFIAUgBCAEIAVJGyAGIARLGwshCAJ/IAYgBE0EQCAGIgogBiAFTQ0BGgsgBSAFIAQgBCAFSxsgCRsLIgogCGoiD0GBAmwiEEEBdiERQQAhDAJ/QQAiCSAIIApGDQAaIAggCmsiCUH/H2wgD0H+AyAIayAKayAQQYCABEkbbSEMIAYgCEYEQCAEIAVrQf//A2wgCUEGbG0MAQsgBSAGayAGIARrIAQgCEYiBhtB//8DbCAJQQZsbUHVqgFBqtUCIAYbagshCSARIAcgDWxBgBBqQQx1aiIGQQAgBkEAShsiBkH//wMgBkH//wNIGyEGAkACfwJAIAxB//8DcSIFBEAgBkH//wFKDQEgBUGAIGogBmxBgBBqQQx2DAILIAZBCHYiBiEFIAYhBAwCCyAFIAZB//8Dc2xBgBBqQQx2IAZqCyIFQQh2IQcgBkEBdCAFa0EIdiIGIQQCQCAJQdWqAWpB//8DcSIFQanVAksNACAFQf//AU8EQEGq1QIgBWsgByAGa2xBBmxBgIACakEQdiAGaiEEDAELIAchBCAFQanVAEsNACAFIAcgBmtsQQZsQYCAAmpBEHYgBmohBAsCfyAGIgUgCUH//wNxIghBqdUCSw0AGkGq1QIgCGsgByAGa2xBBmxBgIACakEQdiAGaiAIQf//AU8NABogByIFIAhBqdUASw0AGiAIIAcgBmtsQQZsQYCAAmpBEHYgBmoLIQUgCUGr1QJqQf//A3EiCEGp1QJLDQAgCEH//wFPBEBBqtUCIAhrIAcgBmtsQQZsQYCAAmpBEHYgBmohBgwBCyAIQanVAEsEQCAHIQYMAQsgCCAHIAZrbEEGbEGAgAJqQRB2IAZqIQYLIAEgBDoAACABQQFqIAU6AAAgAUECaiAGOgAACyADQQJqIQMgAkECaiECIABBBGohACABQQRqIQEgC0F/aiILDQALCwsL"},function(e,t,n){"use strict";e.exports={name:"resize",fn:n(6341),wasm_fn:n(6343),wasm_src:n(6344)}},function(e,t,n){"use strict";var r=n(5918),i=n(5919).convolveHorizontally,o=n(5919).convolveVertically;e.exports=function(e){var t=e.src,n=e.width,a=e.height,s=e.toWidth,u=e.toHeight,l=e.scaleX||e.toWidth/e.width,c=e.scaleY||e.toHeight/e.height,d=e.offsetX||0,f=e.offsetY||0,_=e.dest||new Uint8Array(s*u*4),p=void 0===e.quality?3:e.quality,E=e.alpha||!1,h=r(p,n,s,l,d),m=r(p,a,u,c,f),v=new Uint8Array(s*a*4);return i(t,v,n,a,s,h),o(v,_,a,s,u,m),E||function(e,t,n){for(var r=3,i=t*n*4|0;r<i;)e[r]=255,r=r+4|0}(_,s,u),_}},function(e,t,n){"use strict";e.exports=[{win:.5,filter:function(e){return e>=-.5&&e<.5?1:0}},{win:1,filter:function(e){if(e<=-1||e>=1)return 0;if(e>-1.1920929e-7&&e<1.1920929e-7)return 1;var t=e*Math.PI;return Math.sin(t)/t*(.54+.46*Math.cos(t/1))}},{win:2,filter:function(e){if(e<=-2||e>=2)return 0;if(e>-1.1920929e-7&&e<1.1920929e-7)return 1;var t=e*Math.PI;return Math.sin(t)/t*Math.sin(t/2)/(t/2)}},{win:3,filter:function(e){if(e<=-3||e>=3)return 0;if(e>-1.1920929e-7&&e<1.1920929e-7)return 1;var t=e*Math.PI;return Math.sin(t)/t*Math.sin(t/3)/(t/3)}}]},function(e,t,n){"use strict";var r=n(5918);var i=!0;try{i=1===new Uint32Array(new Uint8Array([1,0,0,0]).buffer)[0]}catch(e){}function o(e,t,n){if(i)t.set(function(e){return new Uint8Array(e.buffer,0,e.byteLength)}(e),n);else for(var r=n,o=0;o<e.length;o++){var a=e[o];t[r++]=255&a,t[r++]=a>>8&255}}e.exports=function(e){var t=e.src,n=e.width,i=e.height,a=e.toWidth,s=e.toHeight,u=e.scaleX||e.toWidth/e.width,l=e.scaleY||e.toHeight/e.height,c=e.offsetX||0,d=e.offsetY||0,f=e.dest||new Uint8Array(a*s*4),_=void 0===e.quality?3:e.quality,p=e.alpha||!1,E=r(_,n,a,u,c),h=r(_,i,s,l,d),m=this.__align(0+Math.max(t.byteLength,f.byteLength)),v=this.__align(m+i*a*4),T=this.__align(v+E.byteLength),g=T+h.byteLength,I=this.__instance("resize",g),S=new Uint8Array(this.__memory.buffer),y=new Uint32Array(this.__memory.buffer),A=new Uint32Array(t.buffer);return y.set(A),o(E,S,v),o(h,S,T),(I.exports.convolveHV||I.exports._convolveHV)(v,T,m,n,i,a,s),new Uint32Array(f.buffer).set(new Uint32Array(this.__memory.buffer,0,s*a)),p||function(e,t,n){for(var r=3,i=t*n*4|0;r<i;)e[r]=255,r=r+4|0}(f,a,s),f}},function(e,t,n){"use strict";e.exports="AGFzbQEAAAABFAJgBn9/f39/fwBgB39/f39/f38AAg8BA2VudgZtZW1vcnkCAAEDAwIAAQQEAXAAAAcZAghjb252b2x2ZQAACmNvbnZvbHZlSFYAAQkBAArmAwLBAwEQfwJAIANFDQAgBEUNACAFQQRqIRVBACEMQQAhDQNAIA0hDkEAIRFBACEHA0AgB0ECaiESAn8gBSAHQQF0IgdqIgZBAmouAQAiEwRAQQAhCEEAIBNrIRQgFSAHaiEPIAAgDCAGLgEAakECdGohEEEAIQlBACEKQQAhCwNAIBAoAgAiB0EYdiAPLgEAIgZsIAtqIQsgB0H/AXEgBmwgCGohCCAHQRB2Qf8BcSAGbCAKaiEKIAdBCHZB/wFxIAZsIAlqIQkgD0ECaiEPIBBBBGohECAUQQFqIhQNAAsgEiATagwBC0EAIQtBACEKQQAhCUEAIQggEgshByABIA5BAnRqIApBgMAAakEOdSIGQf8BIAZB/wFIG0EQdEGAgPwHcUEAIAZBAEobIAtBgMAAakEOdSIGQf8BIAZB/wFIG0EYdEEAIAZBAEobciAJQYDAAGpBDnUiBkH/ASAGQf8BSBtBCHRBgP4DcUEAIAZBAEobciAIQYDAAGpBDnUiBkH/ASAGQf8BSBtB/wFxQQAgBkEAShtyNgIAIA4gA2ohDiARQQFqIhEgBEcNAAsgDCACaiEMIA1BAWoiDSADRw0ACwsLIQACQEEAIAIgAyAEIAUgABAAIAJBACAEIAUgBiABEAALCw=="},function(e,t,n){"use strict";function r(e,t){this.create=e,this.available=[],this.acquired={},this.lastId=1,this.timeoutId=0,this.idle=t||2e3}r.prototype.acquire=function(){var e,t=this;return 0!==this.available.length?e=this.available.pop():((e=this.create()).id=this.lastId++,e.release=function(){return t.release(e)}),this.acquired[e.id]=e,e},r.prototype.release=function(e){var t=this;delete this.acquired[e.id],e.lastUsed=Date.now(),this.available.push(e),0===this.timeoutId&&(this.timeoutId=setTimeout((function(){return t.gc()}),100))},r.prototype.gc=function(){var e=this,t=Date.now();this.available=this.available.filter((function(n){return!(t-n.lastUsed>e.idle)||(n.destroy(),!1)})),0!==this.available.length?this.timeoutId=setTimeout((function(){return e.gc()}),100):this.timeoutId=0},e.exports=r},function(e,t,n){"use strict";function r(e){return Object.prototype.toString.call(e)}e.exports.isCanvas=function(e){var t=r(e);return"[object HTMLCanvasElement]"===t||"[object Canvas]"===t},e.exports.isImage=function(e){return"[object HTMLImageElement]"===r(e)},e.exports.limiter=function(e){var t=0,n=[];function r(){t<e&&n.length&&(t++,n.shift()())}return function(e){return new Promise((function(i,o){n.push((function(){e().then((function(e){i(e),t--,r()}),(function(e){o(e),t--,r()}))})),r()}))}},e.exports.cib_quality_name=function(e){switch(e){case 0:return"pixelated";case 1:return"low";case 2:return"medium"}return"high"},e.exports.cib_support=function(){return Promise.resolve().then((function(){if("undefined"==typeof createImageBitmap||"undefined"==typeof document)return!1;var e=document.createElement("canvas");return e.width=100,e.height=100,createImageBitmap(e,0,0,100,100,{resizeWidth:10,resizeHeight:10,resizeQuality:"high"}).then((function(t){var n=10===t.width;return t.close(),e=null,n}))})).catch((function(){return!1}))}},function(e,t,n){"use strict";e.exports=function(){var e,t=n(5917);onmessage=function(n){var r=n.data.opts;e||(e=new t(n.data.features));var i=e.resizeAndUnsharp(r);postMessage({result:i},[i.buffer])}}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i,o){var a=n/e,s=r/t,u=(2*o+2+1)/i;if(u>.5)return[[n,r]];var l=Math.ceil(Math.log(Math.min(a,s))/Math.log(u));if(l<=1)return[[n,r]];for(var c=[],d=0;d<l;d++){var f=Math.round(Math.pow(Math.pow(e,l-d-1)*Math.pow(n,d+1),1/l)),_=Math.round(Math.pow(Math.pow(t,l-d-1)*Math.pow(r,d+1),1/l));c.push([f,_])}return c}},function(e,t,n){"use strict";function r(e){var t=Math.round(e);return Math.abs(e-t)<1e-5?t:Math.floor(e)}function i(e){var t=Math.round(e);return Math.abs(e-t)<1e-5?t:Math.ceil(e)}e.exports=function(e){var t,n,o,a,s,u,l=e.toWidth/e.width,c=e.toHeight/e.height,d=r(e.srcTileSize*l)-2*e.destTileBorder,f=r(e.srcTileSize*c)-2*e.destTileBorder;if(d<1||f<1)throw new Error("Internal error in pica: target tile width/height is too small.");var _,p=[];for(a=0;a<e.toHeight;a+=f)for(o=0;o<e.toWidth;o+=d)(t=o-e.destTileBorder)<0&&(t=0),t+(s=o+d+e.destTileBorder-t)>=e.toWidth&&(s=e.toWidth-t),(n=a-e.destTileBorder)<0&&(n=0),n+(u=a+f+e.destTileBorder-n)>=e.toHeight&&(u=e.toHeight-n),_={toX:t,toY:n,toWidth:s,toHeight:u,toInnerX:o,toInnerY:a,toInnerWidth:d,toInnerHeight:f,offsetX:t/l-r(t/l),offsetY:n/c-r(n/c),scaleX:l,scaleY:c,x:r(t/l),y:r(n/c),width:i(s/l),height:i(u/c)},p.push(_);return p}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NavigationManager=void 0;var r=n(42),i=u(n(1180)),o=u(n(16)),a=u(n(43)),s=n(1);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return e!==s.NavigateEventSource.BROWSER||!i.default.hasKeybind(s.KeyboardDeviceTypes.MOUSE_BUTTON,t)}var c=function(){function e(){}return e.prototype.initialize=function(){o.default.isDesktop()&&(a.default.on("NAVIGATE_BACK",(function(e,t){l(t,s.MouseKeyCodes.Back)&&(0,r.back)()})),a.default.on("NAVIGATE_FORWARD",(function(e,t){l(t,s.MouseKeyCodes.Forward)&&(0,r.forward)()})))},e}();t.NavigationManager=c;var d=new c;t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=g(n(130)),i=g(n(8)),o=g(n(2)),a=g(n(288)),s=g(n(132)),u=g(n(216)),l=n(6012),c=n(6013),d=n(6129),f=g(n(10)),_=g(n(51)),p=g(n(36)),E=g(n(16)),h=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=T();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(43)),m=n(1),v=g(n(6));function T(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return T=function(){return e},e}function g(e){return e&&e.__esModule?e:{default:e}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var S=new(function(e){var t,n;function u(){for(var t,n,r=arguments.length,o=new Array(r),u=0;u<r;u++)o[u]=arguments[u];return(n=e.call.apply(e,[this].concat(o))||this).callbackActions=((t={})[h.ThumbarButtonName.VIDEO]=function(){return a.default.setVideoEnabled(!_.default.isVideoEnabled())},t[h.ThumbarButtonName.MUTE]=function(){return a.default.toggleSelfMute()},t[h.ThumbarButtonName.DEAFEN]=function(){return a.default.toggleSelfDeaf()},t[h.ThumbarButtonName.DISCONNECT]=function(){return s.default.disconnect()},t),n.isSupported=E.default.isOSX()||E.default.isWindows(),n.prevButtons=[],n.buttonClicked=function(e){e.buttonName in n.callbackActions?n.callbackActions[e.buttonName]():console.error('ThumbarButtonsManager: Unknown callback eventName: "'+e.buttonName+'"',e)},n.handleViewUpdate=i.default.debounce((function(){var e=p.default.getVoiceChannelId();if(null!=e){var t=_.default.isSelfMute(),r=_.default.isSelfDeaf(),i=_.default.isVideoEnabled(),o=_.default.isVideoAvailable(),a=f.default.getChannel(e),s=null==a||(0,c.getVideoPermission)(a),u=null!=a?(0,l.getChannelVideoLimit)(a):{reachedLimit:void 0,limit:void 0},E=u.reachedLimit,m=u.limit,T=(0,d.getVideoButtonLabel)({enabled:i,join:!1,channel:a,cameraUnavailable:!o,hasPermission:s,channelLimit:m,channelLimitReached:E});n.setThumbarButtons([{name:h.ThumbarButtonName.VIDEO,active:!i,tooltip:T,flags:o?[]:["disabled"]},{name:h.ThumbarButtonName.MUTE,active:t,tooltip:t?v.default.Messages.UNMUTE:v.default.Messages.MUTE},{name:h.ThumbarButtonName.DEAFEN,active:r,tooltip:r?v.default.Messages.UNDEAFEN:v.default.Messages.DEAFEN},{name:h.ThumbarButtonName.DISCONNECT,active:!0,tooltip:v.default.Messages.DISCONNECT_SELF}])}else n.setThumbarButtons([])}),100),n}n=e,(t=u).prototype=Object.create(n.prototype),t.prototype.constructor=t,I(t,n);var T=u.prototype;return T._initialize=function(){var e=this;this.isSupported&&(o.default.subscribe(m.ActionTypes.AUDIO_SET_MODE,this.handleViewUpdate),o.default.subscribe(m.ActionTypes.VOICE_CHANNEL_SELECT,this.handleViewUpdate),o.default.subscribe(m.ActionTypes.START_SESSION,this.handleViewUpdate),o.default.subscribe(m.ActionTypes.CONNECTION_OPEN,this.handleViewUpdate),o.default.subscribe(m.ActionTypes.CONNECTION_CLOSED,this.handleViewUpdate),o.default.subscribe(m.ActionTypes.CALL_CREATE,this.handleViewUpdate),o.default.subscribe(m.ActionTypes.CALL_UPDATE,this.handleViewUpdate),o.default.subscribe(m.ActionTypes.CALL_DELETE,this.handleViewUpdate),o.default.subscribe(m.ActionTypes.CHANNEL_DELETE,this.handleViewUpdate),o.default.subscribe(m.ActionTypes.VOICE_STATE_UPDATE,this.handleViewUpdate),o.default.subscribe(m.ActionTypes.AUDIO_TOGGLE_SELF_MUTE,this.handleViewUpdate),o.default.subscribe(m.ActionTypes.AUDIO_TOGGLE_SELF_DEAF,this.handleViewUpdate),o.default.subscribe(m.ActionTypes.AUDIO_TOGGLE_LOCAL_MUTE,this.handleViewUpdate),o.default.subscribe(m.ActionTypes.AUDIO_SET_LOCAL_VIDEO_DISABLED,this.handleViewUpdate),o.default.subscribe(m.ActionTypes.AUDIO_TOGGLE_MUTE,this.handleViewUpdate),o.default.subscribe(m.ActionTypes.AUDIO_TOGGLE_DEAF,this.handleViewUpdate),h.default.on("THUMBAR_BUTTONS_CLICKED",(function(t,n){return e.buttonClicked(n)})))},T._terminate=function(){this.isSupported&&(o.default.unsubscribe(m.ActionTypes.AUDIO_SET_MODE,this.handleViewUpdate),o.default.unsubscribe(m.ActionTypes.VOICE_CHANNEL_SELECT,this.handleViewUpdate),o.default.unsubscribe(m.ActionTypes.START_SESSION,this.handleViewUpdate),o.default.unsubscribe(m.ActionTypes.CONNECTION_OPEN,this.handleViewUpdate),o.default.unsubscribe(m.ActionTypes.CONNECTION_CLOSED,this.handleViewUpdate),o.default.unsubscribe(m.ActionTypes.CALL_CREATE,this.handleViewUpdate),o.default.unsubscribe(m.ActionTypes.CALL_UPDATE,this.handleViewUpdate),o.default.unsubscribe(m.ActionTypes.CALL_DELETE,this.handleViewUpdate),o.default.unsubscribe(m.ActionTypes.CHANNEL_DELETE,this.handleViewUpdate),o.default.unsubscribe(m.ActionTypes.VOICE_STATE_UPDATE,this.handleViewUpdate),o.default.unsubscribe(m.ActionTypes.AUDIO_TOGGLE_SELF_MUTE,this.handleViewUpdate),o.default.unsubscribe(m.ActionTypes.AUDIO_TOGGLE_SELF_DEAF,this.handleViewUpdate),o.default.unsubscribe(m.ActionTypes.AUDIO_TOGGLE_LOCAL_MUTE,this.handleViewUpdate),o.default.unsubscribe(m.ActionTypes.AUDIO_SET_LOCAL_VIDEO_DISABLED,this.handleViewUpdate),o.default.unsubscribe(m.ActionTypes.AUDIO_TOGGLE_MUTE,this.handleViewUpdate),o.default.unsubscribe(m.ActionTypes.AUDIO_TOGGLE_DEAF,this.handleViewUpdate))},T.setThumbarButtons=function(e){(0,r.default)(this.prevButtons,e)||(this.prevButtons=e,h.default.setThumbarButtons(e))},u}(u.default));t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(2)),i=l(n(1178)),o=l(n(1176)),a=(l(n(1203)),l(n(1174)),n(385)),s=l(n(387)),u=n(1);function l(e){return e&&e.__esModule?e:{default:e}}var c=new Set;function d(e,t){if(void 0===t&&(t=!1),!t||c.has(e.channel_id)){var n=(0,s.default)(e.content);null!=n&&0!==n.length&&n.forEach((function(e){var t=e.type,n=e.code;if(t===a.CodedLinkType.INVITE)0;else if(t===a.CodedLinkType.TEMPLATE)null==o.default.getGuildTemplate(n)&&i.default.resolveGuildTemplate(n);else if(t!==a.CodedLinkType.BUILD_OVERRIDE)throw Error("Unknown coded link type: "+t)}))}}function f(){c.clear()}function _(e){var t=e.channelId;null!=t&&c.add(t)}function p(e){return d(e.message,!0)}function E(e){var t=e.channelId,n=e.messages;c.add(t),n.forEach((function(e){return d(e,!0)}))}function h(e){e.messages.forEach((function(e){return d(e)}))}function m(e){e.messages.forEach((function(e){return d(e)}))}function v(e){e.messages.forEach((function(e){e.forEach((function(e){return d(e)}))}))}var T={init:function(){r.default.subscribe(u.ActionTypes.CONNECTION_OPEN,f),r.default.subscribe(u.ActionTypes.CHANNEL_SELECT,_),r.default.subscribe(u.ActionTypes.MESSAGE_CREATE,p),r.default.subscribe(u.ActionTypes.MESSAGE_UPDATE,p),r.default.subscribe(u.ActionTypes.LOAD_MESSAGES_SUCCESS,E),r.default.subscribe(u.ActionTypes.LOAD_MESSAGES_AROUND_SUCCESS,E),r.default.subscribe(u.ActionTypes.LOAD_RECENT_MENTIONS_SUCCESS,h),r.default.subscribe(u.ActionTypes.LOAD_PINNED_MESSAGES_SUCCESS,m),r.default.subscribe(u.ActionTypes.SEARCH_FINISH,v)}};t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(2)),i=n(42),o=(a(n(162)),n(1));function a(e){return e&&e.__esModule?e:{default:e}}var s={init:function(){r.default.subscribe(o.ActionTypes.INVITE_ACCEPT_SUCCESS,(function(e){var t,n,r,a,s;null!=(s=(t=e).invite.guild)&&(null==s||null===(n=s.features)||void 0===n?void 0:n.includes(o.GuildFeatures.HUB))?(0,i.transitionTo)(o.Routes.GUILD_MEMBER_VERIFICATION_FOR_HUB(s.id,t.invite.code)):null!=s&&(null==s||null===(r=s.features)||void 0===r?void 0:r.includes(o.GuildFeatures.MEMBER_VERIFICATION_GATE_ENABLED))&&!(null==s||null===(a=s.features)||void 0===a?void 0:a.includes(o.GuildFeatures.PREVIEW_ENABLED))&&(0,i.transitionTo)(o.Routes.GUILD_MEMBER_VERIFICATION(s.id,t.invite.code))}))}};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=n(262),s=n(192),u=(r=n(6050))&&r.__esModule?r:{default:r},l=n(42);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(e,t,n,r){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var s=new Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}if(t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t=e.children;return o.useEffect((function(){return u.default.initialize(),function(){return u.default.cleanup()}}),[]),d(a.HelmetProvider,{},void 0,d(s.Router,{history:(0,l.getHistory)()},void 0,t))}f.displayName="AppRouter"},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=n(121),o=(r=n(6357))&&r.__esModule?r:{default:r},a=n(1);var s={init:function(){document.addEventListener("paste",(function(e){(0,o.default)()||i.ComponentDispatch.dispatchToLastSubscribed(a.ComponentActions.GLOBAL_CLIPBOARD_PASTE,{event:e})}))}};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=document.activeElement;return["INPUT","TEXTAREA"].includes(null==e?void 0:e.tagName)||(null==e?void 0:e.isContentEditable)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(2)),i=d(n(132)),o=n(42),a=d(n(51)),s=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(36)),u=d(n(107)),l=n(1);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function d(e){return e&&e.__esModule?e:{default:e}}var f={init:function(){r.default.subscribe(l.ActionTypes.GUILD_CREATE,(function(e){var t=e.guild,n=s.default.getChannelId(l.ME),r=s.default.getVoiceChannelId();if(t.id===n){var a=s.default.getChannelId(t.id);(0,o.transitionToGuild)(t.id,a)}t.id===r&&!1!==t.unavailable&&null==r&&i.default.selectVoiceChannel((0,s.findFirstVoiceChannelId)(t.id))})),r.default.subscribe(l.ActionTypes.CHANNEL_CREATE,(function(e){var t=e.channel;if(l.ChannelTypes.GROUP_DM){var n=t.originChannelId,r=s.default.getChannelId("null");null==u.default.getGuildId()&&null!=n&&n===r&&(0,o.transitionTo)(l.Routes.CHANNEL(l.ME,t.id)),null!=n&&n===s.default.getVoiceChannelId()&&i.default.selectVoiceChannel(t.id,a.default.isVideoEnabled())}}))}};t.default=f}],[[6144,1,0]]]);
-//# sourceMappingURL=95efcedbf0bf27cbdbbd.js.map
\ No newline at end of file
diff --git a/api/assets/b94388e26490ecd7f18d.js b/api/assets/b94388e26490ecd7f18d.js
deleted file mode 100644
index f872f02d..00000000
--- a/api/assets/b94388e26490ecd7f18d.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(this.webpackJsonp=this.webpackJsonp||[]).push([[16],{5859:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSelectionText=d,t.contextMenuCallbackNative=function(e){e.preventDefault();var t=d();if("TEXTAREA"===e.target.tagName||"INPUT"===e.target.tagName){if("checkbox"!==e.target.type)return(0,o.openContextMenu)(e,(function(e){return r.createElement(l.default,s({},e,{text:t}))}))}else{if("none"===window.getComputedStyle(e.target).getPropertyValue("-webkit-user-select"))return;var n,c,f,p=e.target;do{null!=p.src&&(c=p.src),null!=p.href&&(n=p.href,f=p.textContent),p=p.parentNode}while(null!=p);if(null!=c)return(0,o.openContextMenu)(e,(function(e){return r.createElement(u.default,s({},e,{src:c}))}));if(null!=n)return(0,o.openContextMenu)(e,(function(e){return r.createElement(i.default,s({},e,{href:n,textContent:f}))}));if(t)return(0,o.openContextMenu)(e,(function(e){return r.createElement(a.default,s({},e,{text:t}))}))}return null},t.contextMenuCallbackWeb=function(e){var t=!1;if("INPUT"===e.target.tagName||"TEXTAREA"===e.target.tagName)t=!0;else if(null!=e.target.closest&&null!=e.target.closest("[contenteditable=true]"))t=!0;else if(d())t=!0;else{var n,r,o=e.target;do{null!=o.src&&(n=o.src),null!=o.href&&(r=o.href),o=o.parentNode}while(null!=o);null==r&&null==n||(t=!0)}t||e.preventDefault()};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=n(389),l=c(n(8629)),u=c(n(8874)),i=c(n(8875)),a=c(n(8876));function c(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function s(){return(s=Object.assign||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}).apply(this,arguments)}function d(){var e="";return window.getSelection?e=window.getSelection().toString():document.selection&&"Control"!==document.selection.type&&(e=document.selection.createRange().text),e}},8253:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={MenuStyle:!0};t.default=t.MenuStyle=void 0;var o=m(n(0)),l=h(n(9)),u=h(n(130)),i=n(8404),a=h(n(105)),c=n(721),f=h(n(272)),s=m(n(8726));Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var d,p,v=h(n(8554)),y=m(n(8805)),b=h(n(7340));function h(e){return e&&e.__esModule?e:{default:e}}function g(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return g=function(){return e},e}function m(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=g();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}function O(){return(O=Object.assign||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}).apply(this,arguments)}function _(e,t,n,r){d||(d="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,l=arguments.length-3;if(t||0===l||(t={children:void 0}),1===l)t.children=r;else if(l>1){for(var u=new Array(l),i=0;i<l;i++)u[i]=arguments[i+3];t.children=u}if(t&&o)for(var a in o)void 0===t[a]&&(t[a]=o[a]);else t||(t=o||{});return{$$typeof:d,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function M(e){return function e(t){return null==t?[]:o.Children.toArray(t).flatMap((function(t){var n;return null==t||!1===t?[]:Array.isArray(t)?e(t):t.type===o.Fragment?null!==(n=e(t.props.children))&&void 0!==n?n:[]:[t]}))}(e).reduce((function(e,t){if(t.type===s.MenuSeparator)return e.push({type:"separator",navigable:!1}),e;if(t.type===s.MenuGroup){var n=M(t.props.children);return e.push({type:"groupstart",length:n.length,navigable:!1,props:t.props}),e.push.apply(e,n),e.push({type:"groupend",length:n.length,navigable:!1,props:t.props}),e}if(t.type===s.MenuItem)return e.push(null!=t.props.render?{type:"customitem",key:t.props.id,navigable:!0,render:t.props.render,props:t.props}:{type:"item",key:t.props.id,navigable:!0,label:t.props.label,children:t.props.children?M(t.props.children):void 0,onChildrenScroll:t.props.onChildrenScroll,props:t.props,childRowHeight:t.props.childRowHeight,listClassName:t.props.listClassName}),e;if(t.type===s.MenuCheckboxItem)return e.push({type:"checkbox",key:t.props.id,navigable:!0,props:t.props}),e;if(t.type===s.MenuRadioItem)return e.push({type:"radio",key:t.props.id,navigable:!0,props:t.props}),e;if(t.type===s.MenuControlItem)return e.push({type:"control",key:t.props.id,navigable:!0,props:t.props}),e;throw new Error("Menu API only allows Items and groups of Items as children. Received "+((null==t?void 0:t.type)||t||typeof t)+" ("+typeof t+") instead")}),[])}function P(e){var t,n=e.navId,r=e.style,s=void 0===r?p.FLEXIBLE:r,d=e.className,h=e.onClose,g=e.children,m=e.onSelect,P=M(g),w=function e(t){return t.reduce((function(t,n){return n.navigable?(t.push({key:n.key,children:"item"===n.type&&null!=n.children?e(n.children):void 0}),t):t}),[])}(P),k=o.useRef([]);(0,u.default)(k.current,w)||(k.current=w);var j=null===(t=P.find((function(e){return null!=e.key})))||void 0===t?void 0:t.key,S=(0,i.useMenuNavigator)({navId:n,items:k.current,initialFocusPath:a.default.keyboardModeEnabled&&j?[j]:[],closeMenu:h}),C=o.useRef(null);return(0,c.useFocusLock)(C),_(v.default.Provider,{value:m},void 0,o.createElement("div",O({className:(0,l.default)(b.default.menu,b.default[s],d)},S.getContainerProps(),{ref:C,"aria-label":e["aria-label"]}),_(f.default,{className:b.default.scroller},void 0,function e(t,n,r,l){var u=0,i=[];return t.reduce((function(t,a,c){var f=i.length>0?i[i.length-1]:t;switch(a.type){case"separator":f.push(_(y.Separator,{},"separator-"+c)),u=0;break;case"groupstart":u>0&&a.length>0&&(f.push(_(y.Separator,{},"separator-"+c)),u=0),i.push([]);break;case"groupend":i.length>0&&t.push(o.createElement(y.Group,O({key:"group-"+c,contents:i.pop()},a.props)));break;case"item":var s=a.children,d=a.childRowHeight,p=a.onChildrenScroll,v=a.listClassName,b=[].concat(r,[a.key]),h=n.isFocused(b),g=null!=s?{"aria-haspopup":!0}:{},m=o.createElement(y.Item,O({key:a.key},a.props,{label:a.label,hasSubmenu:null!=s,isFocused:h,menuItemProps:O({},n.getItemProps({path:b}),{},g),onClose:l}));null!=s?null!=d?f.push(o.createElement(y.SubmenuListItem,O({key:a.key+"-submenu"},a.props,{parentItem:m,isFocused:h,menuSubmenuProps:n.getSubmenuProps({path:b}),rows:e(s,n,b,l),rowHeight:d,onScroll:p,listClassName:v}))):f.push(o.createElement(y.SubmenuItem,O({key:a.key+"-submenu"},a.props,{parentItem:m,isFocused:h,menuSubmenuProps:n.getSubmenuProps({path:b}),renderSubmenu:function(){return e(s,n,b,l)}}))):f.push(m),u++;break;case"customitem":var M=[].concat(r,[a.key]);f.push(o.createElement(y.CustomItem,O({key:a.key},a.props,{isFocused:n.isFocused(M),menuItemProps:n.getItemProps({path:M}),onClose:l}),a.render)),u++;break;case"checkbox":var P=[].concat(r,[a.key]);f.push(o.createElement(y.CheckboxItem,O({key:a.key},a.props,{isFocused:n.isFocused(P),menuItemProps:n.getItemProps({path:P,role:"menuitemcheckbox"})}))),u++;break;case"radio":var w=[].concat(r,[a.key]);f.push(o.createElement(y.RadioItem,O({key:a.key},a.props,{isFocused:n.isFocused(w),menuItemProps:n.getItemProps({path:w,role:"menuitemradio"})}))),u++;break;case"control":var k=[].concat(r,[a.key]);f.push(o.createElement(y.ControlItem,O({key:a.key},a.props,{isFocused:n.isFocused(k),menuItemProps:n.getItemProps({path:k}),onClose:l}))),u++}return t}),[])}(P,S,[],h))))}t.MenuStyle=p,function(e){e.FIXED="styleFixed",e.FLEXIBLE="styleFlexible"}(p||(t.MenuStyle=p={})),P.displayName="Menu";var w=P;t.default=w},8256:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.MenuItemColor=void 0,t.MenuItemColor=r,function(e){e.DEFAULT="colorDefault",e.BRAND="colorBrand",e.DANGER="colorDanger",e.PREMIUM="colorPremium",e.GREEN="colorGreen"}(r||(t.MenuItemColor=r={}))},8320:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));var r,o=u(n(9)),l=u(n(7397));function u(e){return e&&e.__esModule?e:{default:e}}function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function a(e,t,n,o){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=o;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function c(e){var t,n=e.width,r=void 0===n?24:n,u=e.height,i=void 0===u?24:u,c=e.color,f=void 0===c?"currentColor":c,s=e.className,d=e.foreground,p=e.open,v=void 0!==p&&p;return a("svg",{className:(0,o.default)(l.default.arrow,s,(t={},t[l.default.open]=v,t)),width:r,height:i,viewBox:"0 0 24 24"},void 0,a("path",{className:d,fill:f,fillRule:"evenodd",clipRule:"evenodd",d:"M16.59 8.59004L12 13.17L7.41 8.59004L6 10L12 16L18 10L16.59 8.59004Z"}))}c.displayName="DropdownArrow"},8362:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0)),l=a(n(9)),u=n(468),i=a(n(7398));function a(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e,t,n,o){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=o;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var s=o.memo(o.forwardRef((function(e,t){var n=e.onScroll,r=e.listPadding,a=void 0===r?[0,0,0,0]:r,c=e.renderRow,s=e.renderSection,d=e.renderSectionHeader,p=e.renderSectionFooter,v=e.renderListHeader,y=e.rowCount,b=e.rowCountBySection,h=e.rowHeight,g=e.sectionMarginBottom,m=e.sectionHeaderHeight,O=e.sectionFooterHeight,_=e.listHeaderHeight,M=e.stickyHeaders,P=void 0!==M&&M,w=e.className,k=e.hideScrollbar,j=void 0!==k&&k,S=e.fade,C=void 0!==S&&S,I=e.initialScrollTop,E=void 0===I?0:I,N=o.useState(-1),L=N[0],A=N[1],R=o.useRef(null),x=o.useRef(-1),T=o.useRef(0),D=o.useRef(-1);o.useLayoutEffect((function(){var e,t=null===(e=R.current)||void 0===e?void 0:e.getScrollerNode();null!=t&&(t.scrollTop=E)}),[]);var W=o.useCallback((function(){var e="function"==typeof _?_():_;return null==e?0:e}),[_]),G=o.useCallback((function(e,t,n){return"function"==typeof h?h(n,{sectionIndex:e,sectionRowIndex:t}):h}),[h]),H=o.useCallback((function(e){var t="function"==typeof m?m(e):m;return null==t?0:t}),[m]),F=o.useCallback((function(e){var t="function"==typeof O?O(e):O;return null==t?0:t}),[O]),U=o.useCallback((function(e){var t="function"==typeof g?g(e):g;return null==t?0:t}),[g]),$=o.useRef([]),K=o.useRef([]),B=o.useMemo((function(){var e=0,t=null!=b,n=t?b.length:1,r=a[0],o=[],l=[];r+=W();for(var u=0;u<n;u++){var i=t?b[u]:y,c=0!==(null==b?void 0:b[u]);l[u]={firstRowIndex:e,offset:{top:r,bottom:-1}},r+=H(u);for(var f=0;f<i;f++){var s=r+(c?G(u,f,e):0),d={top:r,bottom:s};o[e]={sectionIndex:u,offset:d},r=s,e++}r+=F(u)+U(u),l[u].offset.bottom=r}return{totalHeight:r+=a[2],rowDescriptors:o,sectionDescriptors:l}}),[G,F,H,U,a,y,b,W]),V=B.totalHeight,Z=B.rowDescriptors,X=B.sectionDescriptors;$.current=X,K.current=Z;var z=o.useCallback((function(){var e,t=null===(e=R.current)||void 0===e?void 0:e.getScrollerNode();if(null!=t){var n=t.offsetHeight,r=t.scrollTop;x.current=n,A(r)}}),[]);o.useLayoutEffect((function(){-1===x.current&&z()}),[z]),o.useEffect((function(){var e,t=null===(e=R.current)||void 0===e?void 0:e.getScrollerNode();if(null!=t){var n=new ResizeObserver(z);return n.observe(t),function(){return n.disconnect()}}}),[z]);var q=o.useCallback((function(){var e,t=null===(e=R.current)||void 0===e?void 0:e.getScrollerNode();null!=t&&(window.cancelAnimationFrame(D.current),D.current=window.requestAnimationFrame((function(){var e=t.scrollTop;T.current=e,null==n||n(e),A(e)})))}),[n]);o.useImperativeHandle(t,(function(){return{scrollTo:function(e,t){var n;void 0===t&&(t={});var r=t.animate,o=void 0!==r&&r;null===(n=R.current)||void 0===n||n.scrollTo({to:e,animate:o})},scrollRowIntoView:function(e,t){void 0===t&&(t={});var n=t,r=n.animate,o=void 0!==r&&r,l=n.offset,u=void 0===l?0:l,i=K.current[e];null!=i&&window.requestAnimationFrame((function(){var t=i.sectionIndex,n=i.offset,r=n.top,l=n.bottom,a=H(t),c=r-(P?a:0)-u<=T.current,f=l+u>=T.current+x.current;if(c){var s,d=T.current+a-r,p=P?T.current-d:r;null===(s=R.current)||void 0===s||s.scrollTo({to:0===e?0:p-u,animate:o})}else if(f){var v,y=l-(T.current+x.current);null===(v=R.current)||void 0===v||v.scrollTo({to:T.current+y+u,animate:o})}}))},scrollToSectionTop:function(e,t){void 0===t&&(t={});var n=t,r=n.animate,o=void 0!==r&&r,l=n.offset,u=void 0===l?0:l,i=$.current[e];null!=i&&window.requestAnimationFrame((function(){var t;null===(t=R.current)||void 0===t||t.scrollTo({to:(0===e?0:i.offset.top)+u,animate:o})}))},getListDimensions:function(){return{height:x.current,totalHeight:V}},getSectionDescriptors:function(){return $.current},getRowDescriptors:function(){return K.current},getScrollerNode:function(){var e;return null===(e=R.current)||void 0===e?void 0:e.getScrollerNode()},scrollIntoViewNode:function(e){var t;return null===(t=R.current)||void 0===t?void 0:t.scrollIntoViewNode({node:e})}}}),[H,P,V]);var Y=o.useMemo((function(){if(-1===x.current||-1===L)return{visibleItems:null,listOffset:0};var e=L,t=L+x.current,n=0,r=a[0],o=[],l=W();null!=v&&e<l?o.push(v()):r+=l;for(var u=0;u<X.length;u++){var i=X[u],f=i.firstRowIndex,y=i.offset,b=y.top,h=y.bottom,g=h-b;if(0!==g){var m=H(u),O=F(u),_=U(u);if(h<=e)r=h;else{if(!(h>e&&b<t))break;n=f;var M=[],w=0,k=0,j=b+m>=e&&b<=t;for(null!=d&&(P||j)&&M.push(d(u)),j||P||(r+=m);w+m+O<g-_;){var S=G(u,k,n),C=b+w+m,I=C+S;if(I<=e)r=I-(P?m:0);else{if(!(I>e&&C<t))break;M.push(c(n,{sectionIndex:u,sectionRowIndex:k}))}w+=S,k++,n++}var E=b+m+w;null!=p&&(E+O>=e&&E<=t)&&M.push(p(u)),null!=s?o.push(s(u,M)):o=[].concat(o,M)}}}return{visibleItems:o,listOffset:r}}),[G,F,H,U,a,c,s,p,d,L,X,P,v,W]),J=Y.visibleItems,Q=Y.listOffset,ee=o.useMemo((function(){var e,t,n;return{top:Q,right:null!==(e=null==a?void 0:a[1])&&void 0!==e?e:0,bottom:null!==(t=null==a?void 0:a[2])&&void 0!==t?t:0,left:null!==(n=null==a?void 0:a[3])&&void 0!==n?n:0}}),[Q,a]),te=o.useMemo((function(){return{height:V}}),[V]),ne=j?u.AdvancedScrollerNone:u.AdvancedScrollerThin;return o.createElement(ne,{fade:C,className:(0,l.default)(i.default.scroller,w),ref:R,onScroll:q},f("div",{className:i.default.listItems,style:ee},void 0,J),f("div",{className:i.default.listHeight,style:te}))})));t.default=s},8395:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return i.default.embedded&&null!=e&&""!==e?null!=e&&(0,l.isStickerAssetUrl)(e)?null:[d(o.MenuItem,{id:"copy-native-link",label:c.default.Messages.COPY_LINK,action:function(){return a.default.copy(e)}},"copy-native-link"),d(o.MenuItem,{id:"open-native-link",label:c.default.Messages.OPEN_LINK,action:function(n){return(0,u.handleClick)({href:e,trusted:(0,u.isLinkTrusted)(e,t),shouldConfirm:!0},n)}},"open-native-link")]:null};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));var r,o=n(8253),l=n(290),u=n(730),i=f(n(16)),a=f(n(43)),c=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e,t,n,o){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=o;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},8427:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return"function"==typeof e?e(t):e}},8471:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return l.default.embedded&&null!=e&&0!==(null==e?void 0:e.length)?[c(o.MenuItem,{id:"search-google",label:u.default.Messages.SEARCH_WITH_GOOGLE,action:function(){return window.open("https://www.google.com/search?q="+encodeURIComponent(e),"_blank")}})]:null};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));var r,o=n(8253),l=i(n(16)),u=i(n(6));function i(e){return e&&e.__esModule?e:{default:e}}function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function c(e,t,n,o){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=o;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}},8554:function(e,t,n){"use strict";function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if(Object.prototype.hasOwnProperty.call(e,l)){var u=o?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(n,l,u):n[l]=e[l]}n.default=e,t&&t.set(e,n);return n}(n(0)).createContext(void 0);t.default=o},8560:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),o=l(n(2));n(1);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(){return(a=Object.assign||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}).apply(this,arguments)}var c={expressionSuggestionsEnabled:!0},f=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var o,l,a,f=r.prototype;return f.initialize=function(e){null!=e&&(c=e)},f.getState=function(){return c},o=r,(l=[{key:"expressionSuggestionsEnabled",get:function(){return c.expressionSuggestionsEnabled}}])&&u(o.prototype,l),a&&u(o,a),r}(r.default.PersistedStore);f.persistKey="ExpressionSuggestionsPersistedStore";var s=new f(o.default,{EXPRESSION_SUGGESTIONS_TOGGLE:function(e){c=a({},c,{expressionSuggestionsEnabled:!c.expressionSuggestionsEnabled})}});t.default=s},8561:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSupported=c,t.setEnabled=function(e){return null!=f?f.then((function(t){t.enabled=e})):Promise.resolve()},t.setLearnedWords=function(e){return null!=f?f.then((function(t){return t.setLearnedWords(e)})):Promise.resolve()},t.isMisspelled=function(e,t){void 0===t&&(t=!1);return null!=f?f.then((function(n){return n.isMisspelled(e,t)})):Promise.resolve(!1)},t.getCorrections=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=5);return null!=f?f.then((function(r){return r.getCorrectionsForMisspelling(e,t).slice(0,n)})):Promise.resolve([])},t.replaceWithCorrection=function(e){return null!=f?f.then((function(t){return t.replaceMisspelling(e)})):Promise.resolve()},t.setAppLocale=function(e){return null!=f?f.then((function(t){return t.setAppLocale(e)})):Promise.resolve()},t.addResultListener=function(e){if(!a())return;(r.default.spellCheck.Spellchecker||r.default.spellCheck).on("spellcheck-result",e)},t.removeResultListener=function(e){if(!a())return;(r.default.spellCheck.Spellchecker||r.default.spellCheck).removeListener("spellcheck-result",e)};var r=i(n(118)),o=n(8870),l=n(8872),u=i(n(16));function i(e){return e&&e.__esModule?e:{default:e}}function a(){var e=null==r.default.spellCheck.setSpellCheckProvider,t=null!=r.default.spellCheck.Spellchecker;return e||t}function c(){return!!u.default.embedded&&(a()?u.default.isDesktop():u.default.isOSX()||u.default.isWindows()&&parseFloat(r.default.os.release)>=6.2)}var f=c()?a()?(0,l.install)():(0,o.installLegacy)():null},8562:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(43))&&r.__esModule?r:{default:r};function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=function(){function e(e,t){this._shouldProcess=!1,this._processing=!1,this._minimumTimeRemaining=5,this._language=e,this._languageHint=e,this._onChange=t,t(e)}var t,n,r,u=e.prototype;return u.process=function(e){var t=this;this._processing||(this._processing=!0,requestIdleCallback((function(n){n.timeRemaining()<=t._minimumTimeRemaining?t._processEnd():(e.length>256&&(e=e.slice(0,256)),function(e,t){return o.default.ensureModule("discord_spellcheck").then((function(){var n=o.default.requireModule("discord_spellcheck").cld;return new Promise((function(r,o){n.detect(e,{httpHint:t,encodingHint:"UTF8"},(function(e,t){null!=e?o(new Error(e.message)):!t.reliable||t.languages[0].percent<90||t.languages[0].score<500?o(new Error("Not enough reliable text.")):r(t.languages[0].code)}))}))}))}(e,t._languageHint).then((function(e){t.language=e,t._processEnd(n.didTimeout)}),(function(){t._processEnd(n.didTimeout)})))})))},u._processEnd=function(e){void 0===e&&(e=!1),this._processing=!1,e&&this._minimumTimeRemaining++},t=e,(n=[{key:"language",get:function(){return this._language},set:function(e){this._language!==e&&(this._language=e,this._onChange(e))}},{key:"languageHint",set:function(e){this._languageHint=e}}])&&l(t.prototype,n),r&&l(t,r),e}();t.default=u},8563:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={aa:"aa-ET",af:"af-ZA",ak:"ak-GH",am:"am-ET",an:"an-ES",ar:"ar-MA",as:"as-IN",ay:"ay-PE",az:"az-AZ",be:"be-BY",bg:"bg-BG",bi:"bi-TV",bn:"bn-BD",bo:"bo-CN",br:"br-FR",bs:"bs-BA",ca:"ca-ES",ce:"ce-RU",cs:"cs-CZ",cv:"cv-RU",cy:"cy-GB",da:"da-DK",de:"de-DE",dv:"dv-MV",dz:"dz-BT",el:"el-GR",en:"en-US",es:"es-ES",et:"et-EE",eu:"eu-ES",fa:"fa-IR",ff:"ff-SN",fi:"fi-FI",fo:"fo-FO",fr:"fr-FR",fy:"fy-DE",ga:"ga-IE",gd:"gd-GB",gl:"gl-ES",gu:"gu-IN",gv:"gv-GB",ha:"ha-NG",he:"he-IL",hi:"hi-IN",hr:"hr-HR",ht:"ht-HT",hu:"hu-HU",hy:"hy-AM",ia:"ia-FR",id:"id-ID",ig:"ig-NG",ik:"ik-CA",is:"is-IS",it:"it-IT",iu:"iu-CA",ja:"ja-JP",ka:"ka-GE",kk:"kk-KZ",kl:"kl-GL",km:"km-KH",kn:"kn-IN",ko:"ko-KR",ks:"ks-IN",ku:"ku-TR",kw:"kw-GB",ky:"ky-KG",lb:"lb-LU",lg:"lg-UG",li:"li-BE",ln:"ln-CD",lo:"lo-LA",lt:"lt-LT",lv:"lv-LV",mg:"mg-MG",mh:"mh-MH",mi:"mi-NZ",mk:"mk-MK",ml:"ml-IN",mn:"mn-MN",mr:"mr-IN",ms:"ms-MY",mt:"mt-MT",my:"my-MM",nb:"nb-NO",ne:"ne-NP",nl:"nl-NL",nn:"nn-NO",nr:"nr-ZA",oc:"oc-FR",om:"om-KE",or:"or-IN",os:"os-RU",pa:"pa-PK",pl:"pl-PL",ps:"ps-AF",pt:"pt-PT",ro:"ro-RO",ru:"ru-RU",rw:"rw-RW",sa:"sa-IN",sc:"sc-IT",sd:"sd-IN",se:"se-NO",si:"si-LK",sk:"sk-SK",sl:"sl-SI",so:"so-SO",sq:"sq-AL",sr:"sr-RS",ss:"ss-ZA",st:"st-ZA",sv:"sv-SE",sw:"sw-KE",ta:"ta-IN",te:"te-IN",tg:"tg-TJ",th:"th-TH",ti:"ti-ER",tk:"tk-TM",tl:"tl-PH",tn:"tn-ZA",tr:"tr-TR",ts:"ts-ZA",tt:"tt-RU",ug:"ug-CN",uk:"uk-UA",ur:"ur-PK",uz:"uz-UZ",ve:"ve-ZA",vi:"vi-VN",wa:"wa-BE",wo:"wo-SN",xh:"xh-ZA",yi:"yi-US",yo:"yo-NG",zh:"zh-CN",zu:"zu-ZA"};t.default=r},8628:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(3)),o=i(n(28)),l=i(n(2)),u=n(8561);n(1);function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=!0,f=new Set;function s(){o.default.set("SpellcheckStore",{enabled:c,learnedWords:f})}var d=new(function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n);var l=r.prototype;return l.initialize=function(){var e=o.default.get("SpellcheckStore");null!=e&&(c=e.enabled,f=new Set(e.learnedWords),(0,u.setEnabled)(c),(0,u.setLearnedWords)(f))},l.isEnabled=function(){return c},r}(r.default.Store))(l.default,{SPELLCHECK_TOGGLE:function(e){return c=!c,(0,u.setEnabled)(c),void s()},SPELLCHECK_LEARN_WORD:function(e){var t=e.word;f.add(t.toLocaleLowerCase()),(0,u.setLearnedWords)(f),s()},I18N_LOAD_SUCCESS:function(e){var t=e.locale;(0,u.setAppLocale)(t)}});t.default=d},8629:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var r,o=v(n(0)),l=n(389),u=v(n(8253)),i=d(n(8630)),a=d(n(8631)),c=d(n(16)),f=d(n(43)),s=d(n(6));function d(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}function y(e,t,n,o){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=o;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function b(e){var t=e.text,n=e.target,r=e.onHeightUpdate,d=e.onSelect,p=o.useCallback((function(){(0,l.closeContextMenu)(),n instanceof HTMLElement&&n.focus()}),[n]),v=(0,a.default)({text:t,target:n,onHeightUpdate:r}),b=v[0],h=v[1],g=(0,i.default)();if(!c.default.embedded)return null;if(!(n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement))return null;var m=""!==t?[y(u.MenuItem,{id:"copy",label:s.default.Messages.COPY,hint:c.default.isOSX()?"⌘C":"Ctrl+C",action:function(){return f.default.copy(t)}}),y(u.MenuItem,{id:"cut",label:s.default.Messages.CUT,hint:c.default.isOSX()?"⌘X":"Ctrl+X",action:function(){return setTimeout((function(){return f.default.cut()}),0)}})]:null;return y(u.default,{navId:"textarea-context",onClose:p,"aria-label":s.default.Messages.TEXTAREA_ACTIONS_MENU_LABEL,onSelect:d},void 0,y(u.MenuGroup,{},void 0,g),y(u.MenuGroup,{},void 0,b),y(u.MenuGroup,{},void 0,h),y(u.MenuGroup,{},void 0,m,y(u.MenuItem,{id:"paste",label:s.default.Messages.PASTE,hint:c.default.isOSX()?"⌘V":"Ctrl+V",action:function(){return setTimeout((function(){return f.default.paste()}),0)}})))}b.displayName="NativeTextAreaContextMenu"},8630:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));var r,o=n(3),l=n(8742),u=s(n(8560)),i=n(8253),a=s(n(13)),c=n(1),f=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function p(e,t,n,o){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=o;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(){var e=(0,o.useStateFromStores)([u.default],(function(){return u.default.expressionSuggestionsEnabled}));return p(i.MenuCheckboxItem,{id:"sticker-suggestions",label:f.default.Messages.AUTO_SUGGEST_STICKERS,checked:e,action:function(){a.default.track(c.AnalyticEvents.STICKER_SUGGESTIONS_ENABLED_TOGGLED,{enabled:!e,location:{object:c.AnalyticsObjects.CONTEXT_MENU}}),(0,l.toggleExpressionSuggestionsEnabled)()}})}v.displayName="useExpressionSuggestionItems"},8631:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.text,n=void 0===t?"":t,r=e.target,p=(0,l.useStateFromStores)([a.default],(function(){return a.default.isEnabled()})),v=o.useRef(b({},e,{spellcheckEnabled:p}));v.current=b({},e,{spellcheckEnabled:p});var h=o.useRef(!1),g=o.useState(!1),m=g[0],O=g[1],_=o.useState([]),M=_[0],P=_[1],w=o.useCallback((function(){var e=v.current,t=e.spellcheckEnabled,n=e.text,r=e.onHeightUpdate;t&&(0,f.isSupported)()&&Promise.all([(0,f.isMisspelled)(n,!0),(0,f.getCorrections)(n,!0)]).then((function(e){var t=e[0],n=e[1];h.current&&(O(t),P(n),r())}))}),[]),k=o.useCallback((function(){if(r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement){var e=r.selectionStart,t=r.selectionEnd,n=r.value;r.value="",r.value=n,"email"!==r.type&&(r.selectionStart=e,r.selectionEnd=t)}}),[r]);if(o.useEffect((function(){return(0,f.addResultListener)(w),h.current=!0,function(){h.current=!1,(0,f.removeResultListener)(w)}}),[w]),o.useEffect((function(){w()}),[n,p,w]),!(0,f.isSupported)())return[null,null];var j=M.map((function(e,t){return y(i.MenuItem,{id:"correction-"+t,label:e,action:function(){(0,f.replaceWithCorrection)(e),r.focus()}})})),S=o.createElement(o.Fragment,null,m?y(i.MenuItem,{id:"add-to-dictionary",label:d.default.Messages.ADD_TO_DICTIONARY,action:function(){(0,u.learnWord)(n),k()}}):null,y(i.MenuCheckboxItem,{id:"spellcheck",label:d.default.Messages.SPELLCHECK,checked:p,action:function(){(0,u.toggleSpellcheck)(),k()}}),p?y(i.MenuItem,{id:"languages",label:d.default.Messages.LANGUAGES,action:function(){return window.open(c.default.getArticleURL(s.HelpdeskArticles.SPELLCHECK))}}):null);return[j,S]};var r,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0)),l=n(3),u=n(8873),i=n(8253),a=p(n(8628)),c=p(n(93)),f=n(8561),s=n(1),d=p(n(6));function p(e){return e&&e.__esModule?e:{default:e}}function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function y(e,t,n,o){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=o;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function b(){return(b=Object.assign||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}).apply(this,arguments)}},8632:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!i.default.embedded||null==e||(t=e,n=new URL(t),r=g(t),"https://media.discordapp.net"!==n.origin&&"https://cdn.discordapp.com"!==n.origin||t.startsWith("https://media.discordapp.net/stickers")||null==r||!b.has(r)))return null;var t,n,r;var o=function(e){var t=new URL(e);return"https://cdn.discordapp.com"===t.origin?e:"https://cdn.discordapp.com"+t.pathname}(e),a=function(){var e=y(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c.default.saveImage(o);case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),O(f.default.Messages.ERROR_SAVING_IMAGE,e.t0);case 8:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(){return e.apply(this,arguments)}}(),s=function(){var e=y(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c.default.copyImage(o);case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),O(f.default.Messages.ERROR_COPYING_IMAGE,e.t0);case 8:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(){return e.apply(this,arguments)}}();return i.default.isLinux()&&(0,u.getElectronVersion)()<7?null:[c.default.canCopyImage()&&m(e)?p(l.MenuItem,{id:"copy-image",label:f.default.Messages.COPY_IMAGE_MENU_ITEM,action:s},"copy-image"):null,p(l.MenuItem,{id:"save-image",label:f.default.Messages.SAVE_IMAGE_MENU_ITEM,action:a},"save-image")]};!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));var r,o=s(n(154)),l=n(8253),u=n(1179),i=s(n(16)),a=s(n(164)),c=s(n(43)),f=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function p(e,t,n,o){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=o;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e,t,n,r,o,l,u){try{var i=e[l](u),a=i.value}catch(e){return void n(e)}i.done?t(a):Promise.resolve(a).then(r,o)}function y(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var l=e.apply(t,n);function u(e){v(l,r,o,u,i,"next",e)}function i(e){v(l,r,o,u,i,"throw",e)}u(void 0)}))}}var b=new Set(["jpg","jpeg","png","webp","gif","tiff","bmp"]),h=new Set(["jpg","jpeg","png"]),g=function(e){var t;return null===(t=new URL(e).pathname.split(".").pop())||void 0===t?void 0:t.toLowerCase()};function m(e){var t=g(e);return null!=t&&h.has(t)}function O(e,t){o.default.show({title:f.default.Messages.ERROR,body:e}),a.default.captureException(t)}},8726:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MenuSeparator=function(){return null},t.MenuGroup=function(e){return null},t.MenuItem=function(e){return null},t.MenuCheckboxItem=function(e){return null},t.MenuRadioItem=function(e){return null},t.MenuControlItem=function(e){return null}},8742:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toggleExpressionSuggestionsEnabled=void 0;var r,o=(r=n(2))&&r.__esModule?r:{default:r},l=n(1);t.toggleExpressionSuggestionsEnabled=function(){o.default.dispatch({type:l.ActionTypes.EXPRESSION_SUGGESTIONS_TOGGLE})}},8805:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CheckboxItem",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"MenuCheckboxItemProps",{enumerable:!0,get:function(){return o.MenuCheckboxItemProps}}),Object.defineProperty(t,"ControlItem",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"MenuControlItemProps",{enumerable:!0,get:function(){return l.MenuControlItemProps}}),Object.defineProperty(t,"CustomItem",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"MenuCustomItemProps",{enumerable:!0,get:function(){return u.MenuCustomItemProps}}),Object.defineProperty(t,"MenuCustomItemRenderProps",{enumerable:!0,get:function(){return u.MenuCustomItemRenderProps}}),Object.defineProperty(t,"Group",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"MenuGroupProps",{enumerable:!0,get:function(){return i.MenuGroupProps}}),Object.defineProperty(t,"Item",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"MenuItemProps",{enumerable:!0,get:function(){return a.MenuItemProps}}),Object.defineProperty(t,"RadioItem",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"MenuRadioItemProps",{enumerable:!0,get:function(){return c.MenuRadioItemProps}}),Object.defineProperty(t,"Separator",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"SubmenuItem",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"MenuSubmenuItemProps",{enumerable:!0,get:function(){return s.MenuSubmenuItemProps}}),Object.defineProperty(t,"SubmenuListItem",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"MenuSubmenuListItemProps",{enumerable:!0,get:function(){return d.MenuSubmenuListItemProps}});var r,o=v(n(8806)),l=v(n(8809)),u=v(n(8810)),i=v(n(8811)),a=v(n(8812)),c=v(n(8813)),f=(r=n(8814))&&r.__esModule?r:{default:r},s=v(n(8815)),d=v(n(8816));function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}},8806:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var r,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0)),l=d(n(9)),u=d(n(61)),i=d(n(8807)),a=d(n(8808)),c=d(n(8427)),f=n(8256),s=d(n(7340));function d(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e,t,n,o){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=o;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function b(e){var t,n=e.color,r=void 0===n?f.MenuItemColor.DEFAULT:n,d=e.label,p=e.checked,b=e.subtext,h=e.disabled,g=e.isFocused,m=e.menuItemProps,O=e.action;return o.createElement(u.default,v({className:(0,l.default)(s.default.item,s.default.labelContainer,s.default[r],(t={},t[s.default.disabled]=h,t[s.default.focused]=g,t)),onClick:h?void 0:O},m,{"aria-checked":p,"aria-disabled":h}),y("div",{className:s.default.label},void 0,(0,c.default)(d,e),null!=b&&y("div",{className:s.default.subtext},void 0,b)),y("div",{className:s.default.iconContainer},void 0,p?y(a.default,{className:s.default.icon,background:s.default.checkbox,foreground:s.default.check}):y(i.default,{className:s.default.icon,foreground:s.default.checkboxEmpty})))}b.displayName="MenuCheckboxItem"},8807:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,o,l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0)),u=(r=n(22))&&r.__esModule?r:{default:r};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function a(){return(a=Object.assign||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}).apply(this,arguments)}function c(e,t,n,r){o||(o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=r;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:o,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t=e.width,n=void 0===t?24:t,r=e.height,o=void 0===r?24:r,i=e.color,f=void 0===i?"currentColor":i,s=e.className,d=e.foreground,p=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["width","height","color","className","foreground"]);return l.createElement("svg",a({},(0,u.default)(p),{className:s,width:n,height:o,viewBox:"0 0 24 24"}),c("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.625 3H5.375C4.06519 3 3 4.06519 3 5.375V18.625C3 19.936 4.06519 21 5.375 21H18.625C19.936 21 21 19.936 21 18.625V5.375C21.0057 4.08803 19.9197 3 18.625 3ZM19 19V5H4.99999V19H19Z",className:d,fill:f}))}f.displayName="Checkbox"},8808:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r,o,l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0)),u=(r=n(22))&&r.__esModule?r:{default:r};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function a(){return(a=Object.assign||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}).apply(this,arguments)}function c(e,t,n,r){o||(o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=r;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:o,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t=e.width,n=void 0===t?24:t,r=e.height,o=void 0===r?24:r,i=e.color,f=void 0===i?"currentColor":i,s=e.className,d=e.background,p=e.foreground,v=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["width","height","color","className","background","foreground"]);return l.createElement("svg",a({},(0,u.default)(v),{className:s,width:n,height:o,viewBox:"0 0 24 24"}),c("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.37499 3H18.625C19.9197 3 21.0056 4.08803 21 5.375V18.625C21 19.936 19.9359 21 18.625 21H5.37499C4.06518 21 3 19.936 3 18.625V5.375C3 4.06519 4.06518 3 5.37499 3Z",className:d,fill:f}),c("path",{d:"M9.58473 14.8636L6.04944 11.4051L4.50003 12.9978L9.58473 18L19.5 8.26174L17.9656 6.64795L9.58473 14.8636Z",className:p,fill:f}))}f.displayName="CheckboxChecked"},8809:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var r,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0)),l=a(n(9)),u=n(8256),i=a(n(7340));function a(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}function s(e,t,n,o){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=o;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(e){var t,n=e.color,r=void 0===n?u.MenuItemColor.DEFAULT:n,a=e.label,c=e.control,d=e.disabled,p=e.isFocused,v=e.showDefaultFocus,y=void 0!==v&&v,b=e.menuItemProps,h=e.onClose,g=o.useRef(null);o.useLayoutEffect((function(){var e,t,n;p?null===(e=g.current)||void 0===e||e.focus():null===(t=g.current)||void 0===t||null===(n=t.blur)||void 0===n||n.call(t)}),[p]);var m=o.useCallback((function(){var e,t;(null===(e=g.current)||void 0===e||null===(t=e.activate)||void 0===t?void 0:t.call(e))&&h()}),[h]),O=c({onClose:h,disabled:d,isFocused:p},g);return o.createElement("div",f({onClick:m,className:(0,l.default)(i.default.item,i.default[r],(t={},t[i.default.disabled]=d,t[i.default.focused]=y&&p,t[i.default.hideInteraction]=!y,t)),"aria-disabled":d},b),null!=a?s("div",{className:i.default.labelContainer},void 0,s("div",{className:i.default.label},void 0,a)):null,O)}d.displayName="MenuControlItem"},8810:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0)),o=a(n(9)),l=a(n(61)),u=n(8256),i=a(n(7340));function a(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(){return(f=Object.assign||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}).apply(this,arguments)}function s(e){var t,n=e.children,a=e.color,c=void 0===a?u.MenuItemColor.DEFAULT:a,s=e.isFocused,d=void 0!==s&&s,p=e.disabled,v=void 0!==p&&p,y=e.keepItemStyles,b=void 0!==y&&y,h=e.menuItemProps,g=e.action,m=e.onClose,O=r.useCallback((function(e){if(null==g)return!1;m(),e.persist(),requestAnimationFrame((function(){return g(e)}))}),[g,m]),_=b?(0,o.default)(i.default.item,i.default[c],((t={})[i.default.focused]=d,t)):i.default.customItem;return r.createElement(l.default,f({className:_,onClick:v?void 0:O,"aria-disabled":v},h),n({color:c,disabled:v,isFocused:d}))}s.displayName="MenuCustomItem"},8811:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));var r,o=i(n(9)),l=n(8256),u=i(n(7340));function i(e){return e&&e.__esModule?e:{default:e}}function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function c(e,t,n,o){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=o;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function f(e){var t=e.contents,n=e.label,r=e.className,i=e.color,a=void 0===i?l.MenuItemColor.DEFAULT:i;return 0===t.length?null:c("div",{"aria-label":n,role:"group",className:r},void 0,null!=n?c("div",{className:(0,o.default)(u.default.groupLabel,u.default[a])},void 0,n):null,t)}f.displayName="MenuGroup"},8812:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var r,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0)),l=d(n(9)),u=d(n(61)),i=d(n(8320)),a=d(n(8427)),c=n(8256),f=d(n(8554)),s=d(n(7340));function d(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e,t,n,o){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=o;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function b(e){var t,n=e.color,r=void 0===n?c.MenuItemColor.DEFAULT:n,d=e.label,p=e.icon,b=e.showIconFirst,h=void 0!==b&&b,g=e.imageUrl,m=e.hint,O=e.subtext,_=e.hasSubmenu,M=e.disabled,P=e.isFocused,w=e.menuItemProps,k=e.action,j=e.onClose,S=o.useContext(f.default),C=o.useCallback((function(e){if(null==k)return!1;j(),e.persist(),null==S||S(),requestAnimationFrame((function(){return k(e)}))}),[k,j,S]);return o.createElement(u.default,v({className:(0,l.default)(s.default.item,s.default.labelContainer,s.default[r],(t={},t[s.default.disabled]=M,t[s.default.focused]=P,t)),onClick:M?void 0:C,"aria-disabled":M},w),h&&null!=p&&y("div",{className:s.default.iconContainerLeft},void 0,y(p,{className:s.default.icon})),y("div",{className:s.default.label},void 0,(0,a.default)(d,e),null!=O&&y("div",{className:s.default.subtext},void 0,O)),null!=m&&y("div",{className:s.default.hintContainer},void 0,(0,a.default)(m,e)),!h&&null!=p&&y("div",{className:s.default.iconContainer},void 0,y(p,{className:s.default.icon})),null!=g&&y("div",{className:s.default.imageContainer},void 0,y("img",{className:s.default.image,src:(0,a.default)(g,e),alt:""})),_&&y("div",{className:s.default.iconContainer},void 0,y(i.default,{className:s.default.caret})))}b.displayName="MenuItem"},8813:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var r,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(0)),l=d(n(9)),u=d(n(61)),i=d(n(750)),a=d(n(751)),c=d(n(8427)),f=n(8256),s=d(n(7340));function d(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function v(){return(v=Object.assign||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}).apply(this,arguments)}function y(e,t,n,o){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=o;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function b(e){var t,n=e.color,r=void 0===n?f.MenuItemColor.DEFAULT:n,d=e.label,p=e.checked,b=e.subtext,h=e.disabled,g=e.isFocused,m=e.menuItemProps,O=e.action;return o.createElement(u.default,v({className:(0,l.default)(s.default.item,s.default.labelContainer,s.default[r],(t={},t[s.default.disabled]=h,t[s.default.focused]=g,t)),onClick:h?void 0:O},m,{"aria-checked":p,"aria-disabled":h}),y("div",{className:s.default.label},void 0,(0,c.default)(d,e),null!=b&&y("div",{className:s.default.subtext},void 0,b)),y("div",{className:s.default.iconContainer},void 0,p?y(a.default,{className:s.default.icon,background:s.default.radio,foreground:s.default.radioSelection}):y(i.default,{className:s.default.icon,foreground:s.default.radio})))}b.displayName="MenuRadioItem"},8814:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;!function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}n.default=e,t&&t.set(e,n)}(n(0));var r,o,l=(r=n(7340))&&r.__esModule?r:{default:r};function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function i(e,t,n,r){o||(o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=r;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:o,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function a(){return i("div",{role:"separator",className:l.default.separator})}a.displayName="MenuSeparator"},8815:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r,o=f(n(0)),l=f(n(250)),u=a(n(272)),i=a(n(7340));function a(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}function s(){return(s=Object.assign||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}).apply(this,arguments)}function d(e,t,n,o){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=o;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.parentItem,n=e.isFocused,r=e.menuSubmenuProps,a=e.renderSubmenu,c=o.useRef(null),f=o.useRef(null);return o.useLayoutEffect((function(){var e;n&&(null===(e=f.current)||void 0===e||e.focus())}),[n]),d("div",{className:i.default.submenuContainer},void 0,o.createElement("div",{ref:c}),t,n?d(l.default,{reference:c,autoInvert:!0,nudgeAlignIntoViewport:!0,fixed:!0,spacing:4,position:l.Positions.RIGHT,align:l.Align.TOP},void 0,(function(){return d("div",{className:i.default.submenuPaddingContainer},void 0,o.createElement("div",s({className:i.default.submenu},r,{ref:f}),d(u.default,{className:i.default.scroller},void 0,a())))})):null)}p.displayName="MenuSubmenuItem"},8816:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r,o=f(n(0)),l=a(n(8362)),u=f(n(250)),i=a(n(7340));function a(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}function s(e,t,n,o){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=o;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function d(){return(d=Object.assign||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}).apply(this,arguments)}function p(e){var t=e.parentItem,n=e.isFocused,r=e.menuSubmenuProps,a=e.rows,c=e.rowHeight,f=e.onScroll,p=e.listClassName,v=o.useRef(null),y=o.useRef(null),b=o.useRef(null);o.useLayoutEffect((function(){var e;n&&(null===(e=y.current)||void 0===e||e.focus())}),[n]);var h=o.useCallback((function(e){return a[e]}),[a]);return s("div",{className:i.default.submenuContainer},void 0,o.createElement("div",{ref:v}),t,n?s(u.default,{reference:v,autoInvert:!0,nudgeAlignIntoViewport:!0,fixed:!0,spacing:4,position:u.Positions.RIGHT,align:u.Align.TOP},void 0,(function(){return a.length>0&&s("div",{className:i.default.submenuPaddingContainer},void 0,o.createElement("div",d({className:i.default.submenu},r,{ref:y}),o.createElement(l.default,{ref:b,className:p,listPadding:[6,0,6,8],onScroll:f,renderRow:h,rowCount:a.length,rowHeight:c})))})):null)}p.displayName="MenuSubmenuListItem"},8870:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.installLegacy=function(){return c.default.ensureModule("discord_spellcheck").then((function(){var e=c.default.requireModule("discord_spellcheck"),t=e.getLegacySpellchecker?e.getLegacySpellchecker():e.Spellchecker,n=t instanceof Function?new t:t,r=new h(n);return function(e){null!=document.body&&document.body.addEventListener("input",(function(t){var n=function(e){if(null==e)return null;if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)return e.value;if(e instanceof HTMLElement&&e.hasAttribute("contenteditable"))return e.textContent}(t.target);null!=n&&e.detectLocale(n)}),!0)}(r),r}))},t.LegacySpellchecker=void 0;var r=n(8741),o=p(n(404)),l=p(n(118)),u=p(n(26)),i=n(48),a=p(n(16)),c=p(n(43)),f=p(n(8562)),s=p(n(8871)),d=p(n(8563));function p(e){return e&&e.__esModule?e:{default:e}}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var y=new u.default("Spellchecker");function b(e){e=d.default[e]||e;var t=(0,r.parse)(e.replace(/[_-]/g,"-"));if(null!=t&&null!=t.langtag.language&&null!=t.langtag.region){var n=t.langtag,o=n.language,l=n.region;return o.language.toLowerCase()+"-"+l.toUpperCase()}y.error(e+" is not a valid locale.")}var h=function(){function e(e){var t=this;this._isMisspelledCache=new o.default({max:512,maxAge:4e3}),this._localeAvailable=!1,this._enabled=!0,this._learnedWords=new Set,this._spellchecker=e;var n=this.getAvailableLocales(),r=this.getAvailableLanguages(n);this._languageDetector=new f.default(n[0].split("-")[0],(function(e){var n=r[e]||d.default[e];null!=n&&t.setLocale(n)}))}var t,n,r,u=e.prototype;return u.reset=function(){var e=this;null!=this._locale&&(this._isMisspelledCache.reset(),l.default.spellCheck.setSpellCheckProvider(this._locale,!0,{spellCheck:function(t){return!e.isMisspelled(t)}}))},u.setLearnedWords=function(e){this._learnedWords=e,this.reset()},u.setLocale=function(e){e!==this._locale&&(this._locale=e,this._localeAvailable=this._spellchecker.setDictionary(e),y.info("Switching to "+e,this._localeAvailable?"(available)":"(unavailable)"),this.reset())},u.detectLocale=function(e){this.enabled&&this._languageDetector.process(e)},u.getAvailableLocales=function(){var e=c.default.requireModule("discord_spellcheck"),t=e.getKeyboardLayout?e.getKeyboardLayout():e.keyboardLayout;return(a.default.isOSX()?this._spellchecker.getAvailableDictionaries():t.getInstalledKeyboardLanguages()).map(b).filter(i.isNotNullish)},u.getAvailableLanguages=function(e){e=e||this.getAvailableLocales();var t={};return e.forEach((function(e){var n=e.split("-")[0];t[n]=t[n]||e})),t},u.isMisspelled=function(e,t){void 0===t&&(t=!1);var n=this._isMisspelledCache.get(e);return null!=n?n:!t&&(n=this._isMisspelled(e),this._isMisspelledCache.set(e,n),n)},u._isMisspelled=function(e){if(!this._enabled||!this._localeAvailable)return!1;if(1===e.length)return!1;var t=e.toLocaleLowerCase();return!this._learnedWords.has(t)&&!s.default.has(t)&&this._spellchecker.isMisspelled(e)},u.getCorrectionsForMisspelling=function(e,t){return void 0===t&&(t=!1),this.isMisspelled(e,t)&&this._spellchecker.getCorrectionsForMisspelling(e)||[]},u.setAppLocale=function(e){},u.replaceMisspelling=function(e){l.default.spellCheck.replaceMisspelling(e)},t=e,(n=[{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this.reset()}}])&&v(t.prototype,n),r&&v(t,r),e}();t.LegacySpellchecker=h},8871:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=new Set(["ain't","aren't","can't","could've","couldn't","couldn't've","didn't","doesn't","don't","hadn't","hadn't've","hasn't","haven't","he'd","he'd've","he'll","he's","how'd","how'll","how's","I'd","I'd've","I'll","I'm","I've","isn't","it'd","it'd've","it'll","it's","let's","ma'am","mightn't","mightn't've","might've","mustn't","must've","needn't","not've","o'clock","shan't","she'd","she'd've","she'll","she's","should've","shouldn't","shouldn't've","that'll","that's","there'd","there'd've","there're","there's","they'd","they'd've","they'll","they're","they've","wasn't","we'd","we'd've","we'll","we're","we've","weren't","what'll","what're","what's","what've","when's","where'd","where's","where've","who'd","who'll","who're","who's","who've","why'll","why're","why's","won't","would've","wouldn't","wouldn't've","y'all","y'all'd've","you'd","you'd've","you'll","you're","you've"].map((function(e){return e.replace(/'.*/,"")})));t.default=r},8872:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.install=function(){return O.apply(this,arguments)},t.Spellchecker=void 0;var r,o=n(8741),l=s(n(118)),u=s(n(26)),i=s(n(39)),a=n(48),c=s(n(8562)),f=s(n(8563));function s(e){return e&&e.__esModule?e:{default:e}}function d(e,t,n,r,o,l,u){try{var i=e[l](u),a=i.value}catch(e){return void n(e)}i.done?t(a):Promise.resolve(a).then(r,o)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var l=e.apply(t,n);function u(e){d(l,r,o,u,i,"next",e)}function i(e){d(l,r,o,u,i,"throw",e)}u(void 0)}))}}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var y=new u.default("Spellchecker"),b=(null===l.default||void 0===l.default||null===(r=l.default.spellCheck)||void 0===r?void 0:r.Spellchecker)||(null===l.default||void 0===l.default?void 0:l.default.spellCheck);function h(e){e=f.default[e]||e;var t=(0,o.parse)(e.replace(/[_-]/g,"-"));if(null!=t&&null!=t.langtag.language&&null!=t.langtag.region){var n=t.langtag,r=n.language,l=n.region;return r.language.toLowerCase()+"-"+l.toUpperCase()}y.error(e+" is not a valid locale.")}var g=function(){function e(e){var t=this;this._enabled=!0,this._misspelledWord="",this._corrections=[];var n=i.default.locale.split("-"),r=n[0],o=n[1];this._regionPreference=o;var l=this.getAvailableLanguages(e);this._languageDetector=new c.default(r,(function(n){var o=n+"-"+t._regionPreference;if(-1!==e.indexOf(o))t.setLocale(o);else{var u=l[n]||f.default[r];null!=u&&t.setLocale(u)}})),b.on("spellcheck-result",(function(e,n){t._misspelledWord=e||"",t._corrections=n||[]}))}var t,n,r,o=e.prototype;return o.setLearnedWords=function(e){b.setLearnedWords(e)},o.setLocale=function(e){b.setLocale(e).then((function(t){y.info("Switching to "+e,t?"(available)":"(unavailable)")}))},o.setAppLocale=function(e){this._regionPreference=e.split("-")[1]},o.detectLanguage=function(e){this.enabled&&this._languageDetector.process(e)},o.getAvailableLanguages=function(e){var t={};return e.forEach((function(e){var n=e.split("-")[0];t[n]=t[n]||e})),t},o.isMisspelled=function(e,t){return""!==this._misspelledWord&&e===this._misspelledWord},o.getCorrectionsForMisspelling=function(e,t){return this.isMisspelled(e,t)?this._corrections:[]},o.replaceMisspelling=function(e){b.replaceMisspelling(e)},t=e,(n=[{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e}}])&&v(t.prototype,n),r&&v(t,r),e}();function m(e){null!=document.body&&document.body.addEventListener("input",(function(t){var n=function(e){if(null==e)return null;if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)return e.value;if(e instanceof HTMLElement&&e.hasAttribute("contenteditable"))return e.textContent}(t.target);null!=n&&e.detectLanguage(n)}),!0)}function O(){return(O=p(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b.getAvailableDictionaries();case 2:return t=e.sent,n=t.map(h).filter(a.isNotNullish),m(r=new g(n)),e.abrupt("return",r);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}t.Spellchecker=g},8873:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toggleSpellcheck=function(){o.default.dispatch({type:l.ActionTypes.SPELLCHECK_TOGGLE})},t.learnWord=function(e){o.default.dispatch({type:l.ActionTypes.SPELLCHECK_LEARN_WORD,word:e})};var r,o=(r=n(2))&&r.__esModule?r:{default:r},l=n(1)},8874:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;d(n(0));var r,o=n(389),l=d(n(8253)),u=f(n(16)),i=f(n(8632)),a=f(n(8395)),c=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}function p(e,t,n,o){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=o;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.src,n=e.onSelect,r=(0,i.default)(t),f=(0,a.default)(t,null);return u.default.embedded?p(l.default,{navId:"image-context",onClose:o.closeContextMenu,"aria-label":c.default.Messages.IMAGE_ACTIONS_MENU_LABEL,onSelect:n},void 0,p(l.MenuGroup,{},void 0,r),p(l.MenuGroup,{},void 0,f)):null}v.displayName="NativeImageContextMenu"},8875:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;s(n(0));var r,o=n(389),l=s(n(8253)),u=c(n(16)),i=c(n(8395)),a=c(n(6));function c(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}function d(e,t,n,o){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=o;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function p(e){var t=e.href,n=e.textContent,r=e.onSelect,c=(0,i.default)(t,n);return u.default.embedded?null==c?null:d(l.default,{navId:"image-context",onClose:o.closeContextMenu,"aria-label":a.default.Messages.IMAGE_ACTIONS_MENU_LABEL,onSelect:r},void 0,d(l.MenuGroup,{},void 0,c)):null}p.displayName="NativeLinkContextMenu"},8876:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;d(n(0));var r,o=n(389),l=d(n(8253)),u=f(n(16)),i=f(n(43)),a=f(n(8471)),c=f(n(6));function f(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}function p(e,t,n,o){r||(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var l=e&&e.defaultProps,u=arguments.length-3;if(t||0===u||(t={children:void 0}),1===u)t.children=o;else if(u>1){for(var i=new Array(u),a=0;a<u;a++)i[a]=arguments[a+3];t.children=i}if(t&&l)for(var c in l)void 0===t[c]&&(t[c]=l[c]);else t||(t=l||{});return{$$typeof:r,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function v(e){var t=e.text,n=e.onSelect,r=(0,a.default)(t);return u.default.embedded?p(l.default,{navId:"text-context",onClose:o.closeContextMenu,"aria-label":c.default.Messages.TEXT_ACTIONS_MENU_LABEL,onSelect:n},void 0,p(l.MenuGroup,{},void 0,r),p(l.MenuGroup,{},void 0,p(l.MenuItem,{id:"copy",label:c.default.Messages.COPY,action:function(){return i.default.copy(t)}}))):null}v.displayName="NativeTextContextMenu"}}]);
-//# sourceMappingURL=b94388e26490ecd7f18d.js.map
\ No newline at end of file
diff --git a/api/assets/ba19b6d2d1f3edd4a7eb.js b/api/assets/ba19b6d2d1f3edd4a7eb.js
deleted file mode 100644
index d15e1267..00000000
--- a/api/assets/ba19b6d2d1f3edd4a7eb.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/*! For license information please see ba19b6d2d1f3edd4a7eb.js.LICENSE.txt */
-(this.webpackJsonp=this.webpackJsonp||[]).push([[10],{10231:function(t,e,r){var n=r(11494),i=r(408);t.exports=function t(e,r,s,o,a){return e===r||(null==e||null==r||!i(e)&&!i(r)?e!=e&&r!=r:n(e,r,s,o,t,a))}},10241:function(t,e,r){const n=r(11694),i=r(11695);t.exports={TimelineDataSeries:n,TimelineGraphView:i}},10365:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){var o=window.DiscordNative;(0,n.default)(null!=o,"Can't get desktop sources outside of native app"),e=e||[s.DesktopSources.WINDOW,s.DesktopSources.SCREEN],r=r||{width:150,height:150};var a=[];e.includes(s.DesktopSources.SCREEN)&&t.supports(s.Features.SCREEN_PREVIEWS)&&(a.push(t.getScreenPreviews(r.width,r.height)),e=e.filter((function(t){return t!==s.DesktopSources.SCREEN})));e.includes(s.DesktopSources.WINDOW)&&t.supports(s.Features.WINDOW_PREVIEWS)&&(a.push(t.getWindowPreviews(r.width,r.height)),e=e.filter((function(t){return t!==s.DesktopSources.WINDOW})));0!==e.length&&a.push(o.desktopCapture.getDesktopCaptureSources({types:e,thumbnailSize:r}));return Promise.all(a).then((function(t){return i.default.flatten(t)}))},Object.defineProperty(e,"DesktopSources",{enumerable:!0,get:function(){return s.DesktopSources}});var n=o(r(23)),i=o(r(8)),s=r(34);function o(t){return t&&t.__esModule?t:{default:t}}},10379:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.generateGuildPermissionSpec=function(t,e){var r=function(t,e){var r;return(r={})[n.Permissions.VIEW_CHANNEL.toString()]={title:t.ROLE_PERMISSIONS_VIEW_CHANNEL,description:t.ROLE_PERMISSIONS_VIEW_CHANNEL_DESCRIPTION,flag:n.Permissions.VIEW_CHANNEL},r[n.Permissions.MANAGE_CHANNELS.toString()]={title:t.MANAGE_CHANNELS,description:t.ROLE_PERMISSIONS_MANAGE_CHANNELS_DESCRIPTION,flag:n.Permissions.MANAGE_CHANNELS},r[n.Permissions.MANAGE_ROLES.toString()]={title:t.MANAGE_ROLES,description:t.ROLE_PERMISSIONS_MANAGE_ROLES_DESCRIPTION,flag:n.Permissions.MANAGE_ROLES},r[n.Permissions.MANAGE_EMOJIS.toString()]={title:t.MANAGE_EMOJIS_AND_STICKERS,description:t.ROLE_PERMISSIONS_MANAGE_EMOJIS_AND_STICKERS_DESCRIPTION,flag:n.Permissions.MANAGE_EMOJIS},r[n.Permissions.VIEW_AUDIT_LOG.toString()]={title:t.VIEW_AUDIT_LOG,description:t.ROLE_PERMISSIONS_VIEW_AUDIT_LOG_DESCRIPTION,flag:n.Permissions.VIEW_AUDIT_LOG},r[n.Permissions.VIEW_GUILD_ANALYTICS.toString()]={title:t.VIEW_GUILD_ANALYTICS,description:t.ROLE_PERMISSIONS_VIEW_GUILD_ANALYTICS_DESCRIPTION,flag:n.Permissions.VIEW_GUILD_ANALYTICS},r[n.Permissions.MANAGE_WEBHOOKS.toString()]={title:t.MANAGE_WEBHOOKS,description:t.ROLE_PERMISSIONS_MANAGE_WEBHOOKS_DESCRIPTION,flag:n.Permissions.MANAGE_WEBHOOKS},r[n.Permissions.MANAGE_GUILD.toString()]={title:t.MANAGE_SERVER,description:t.ROLE_PERMISSIONS_MANAGE_SERVER_DESCRIPTION,flag:n.Permissions.MANAGE_GUILD},r[n.Permissions.CREATE_INSTANT_INVITE.toString()]={title:t.CREATE_INSTANT_INVITE,description:t.ROLE_PERMISSIONS_CREATE_INSTANT_INVITE_DESCRIPTION,flag:n.Permissions.CREATE_INSTANT_INVITE},r[n.Permissions.CHANGE_NICKNAME.toString()]={title:t.CHANGE_NICKNAME,description:t.ROLE_PERMISSIONS_CHANGE_NICKNAME_DESCRIPTION,flag:n.Permissions.CHANGE_NICKNAME},r[n.Permissions.MANAGE_NICKNAMES.toString()]={title:t.MANAGE_NICKNAMES,description:t.ROLE_PERMISSIONS_MANAGE_NICKNAMES_DESCRIPTION,flag:n.Permissions.MANAGE_NICKNAMES},r[n.Permissions.KICK_MEMBERS.toString()]={title:t.KICK_MEMBERS,description:t.ROLE_PERMISSIONS_KICK_MEMBERS_DESCRIPTION,flag:n.Permissions.KICK_MEMBERS},r[n.Permissions.BAN_MEMBERS.toString()]={title:t.BAN_MEMBERS,description:t.ROLE_PERMISSIONS_BAN_MEMBERS_DESCRIPTION,flag:n.Permissions.BAN_MEMBERS},r[n.Permissions.SEND_MESSAGES.toString()]={title:t.SEND_MESSAGES,description:t.ROLE_PERMISSIONS_SEND_MESSAGES_DESCRIPTION,flag:n.Permissions.SEND_MESSAGES},r[n.Permissions.EMBED_LINKS.toString()]={title:t.EMBED_LINKS,description:t.ROLE_PERMISSIONS_EMBED_LINKS_DESCRIPTION,flag:n.Permissions.EMBED_LINKS},r[n.Permissions.ATTACH_FILES.toString()]={title:t.ATTACH_FILES,description:t.ROLE_PERMISSIONS_ATTACH_FILES_DESCRIPTION,flag:n.Permissions.ATTACH_FILES},r[n.Permissions.ADD_REACTIONS.toString()]={title:t.ADD_REACTIONS,description:t.ROLE_PERMISSIONS_ADD_REACTIONS_DESCRIPTION,flag:n.Permissions.ADD_REACTIONS},r[n.Permissions.USE_EXTERNAL_EMOJIS.toString()]={title:t.ROLE_PERMISSIONS_USE_EXTERNAL_EMOJIS,description:t.ROLE_PERMISSIONS_USE_EXTERNAL_EMOJIS_DESCRIPTION,flag:n.Permissions.USE_EXTERNAL_EMOJIS},r[n.Permissions.MENTION_EVERYONE.toString()]={title:t.MENTION_EVERYONE,description:t.ROLE_PERMISSIONS_MENTION_EVERYONE_DESCRIPTION,flag:n.Permissions.MENTION_EVERYONE},r[n.Permissions.MANAGE_MESSAGES.toString()]={title:t.MANAGE_MESSAGES,description:t.ROLE_PERMISSIONS_MANAGE_MESSAGES_DESCRIPTION,flag:n.Permissions.MANAGE_MESSAGES},r[n.Permissions.READ_MESSAGE_HISTORY.toString()]={title:t.READ_MESSAGE_HISTORY,description:t.ROLE_PERMISSIONS_READ_MESSAGE_HISTORY_DESCRIPTION,flag:n.Permissions.READ_MESSAGE_HISTORY},r[n.Permissions.SEND_TTS_MESSAGES.toString()]={title:t.ROLE_PERMISSIONS_SEND_TTS_MESSAGES,description:t.ROLE_PERMISSIONS_SEND_TTS_MESSAGES_DESCRIPTION,flag:n.Permissions.SEND_TTS_MESSAGES},r[n.Permissions.USE_APPLICATION_COMMANDS.toString()]={title:t.ROLE_PERMISSIONS_USE_APPLICATION_COMMANDS,description:t.ROLE_PERMISSIONS_USE_APPLICATION_COMMANDS_GUILD_DESCRIPTION,flag:n.Permissions.USE_APPLICATION_COMMANDS},r[n.Permissions.CONNECT.toString()]={title:t.CONNECT,description:t.ROLE_PERMISSIONS_CONNECT_DESCRIPTION,flag:n.Permissions.CONNECT},r[n.Permissions.SPEAK.toString()]={title:t.SPEAK,description:t.ROLE_PERMISSIONS_SPEAK_DESCRIPTION,flag:n.Permissions.SPEAK},r[n.Permissions.STREAM.toString()]={title:t.VIDEO,description:t.ROLE_PERMISSIONS_STREAM_DESCRIPTION,flag:n.Permissions.STREAM},r[n.Permissions.USE_VAD.toString()]={title:t.USE_VAD,description:t.ROLE_PERMISSIONS_USE_VAD_DESCRIPTION,flag:n.Permissions.USE_VAD},r[n.Permissions.PRIORITY_SPEAKER.toString()]={title:t.PRIORITY_SPEAKER,description:(null==e?void 0:e.PRIORITY_SPEAKER_DESCRIPTION)||t.ROLE_PERMISSIONS_PRIORITY_SPEAKER_DESCRIPTION,flag:n.Permissions.PRIORITY_SPEAKER},r[n.Permissions.MUTE_MEMBERS.toString()]={title:t.MUTE_MEMBERS,description:t.ROLE_PERMISSIONS_MUTE_MEMBERS_DESCRIPTION,flag:n.Permissions.MUTE_MEMBERS},r[n.Permissions.DEAFEN_MEMBERS.toString()]={title:t.DEAFEN_MEMBERS,description:t.ROLE_PERMISSIONS_DEAFEN_MEMBERS_DESCRIPTION,flag:n.Permissions.DEAFEN_MEMBERS},r[n.Permissions.MOVE_MEMBERS.toString()]={title:t.MOVE_MEMBERS,description:t.ROLE_PERMISSIONS_MOVE_MEMBERS_DESCRIPTION,flag:n.Permissions.MOVE_MEMBERS},r[n.Permissions.REQUEST_TO_SPEAK.toString()]={title:t.REQUEST_TO_SPEAK,description:t.ROLE_PERMISSIONS_REQUEST_TO_SPEAK_DESCRIPTION,flag:n.Permissions.REQUEST_TO_SPEAK,isExperimental:!0},r[n.Permissions.ADMINISTRATOR.toString()]={title:t.ADMINISTRATOR,description:"string"==typeof t.ROLE_PERMISSIONS_ADMINISTRATOR_DESCRIPTION?t.ROLE_PERMISSIONS_ADMINISTRATOR_DESCRIPTION:t.ROLE_PERMISSIONS_ADMINISTRATOR_DESCRIPTION.format(),flag:n.Permissions.ADMINISTRATOR},r[n.Permissions.MANAGE_EVENTS.toString()]={title:t.MANAGE_EVENTS,description:t.ROLE_PERMISSIONS_MANAGE_EVENTS_DESCRIPTION,flag:n.Permissions.MANAGE_EVENTS},r[n.Permissions.MANAGE_THREADS.toString()]={title:t.MANAGE_THREADS,description:t.ROLE_PERMISSIONS_MANAGE_THREADS_DESCRIPTION,flag:n.Permissions.MANAGE_THREADS},r[n.Permissions.USE_PUBLIC_THREADS.toString()]={title:t.USE_PUBLIC_THREADS,description:t.ROLE_PERMISSIONS_USE_PUBLIC_THREADS_DESCRIPTION,flag:n.Permissions.USE_PUBLIC_THREADS},r[n.Permissions.USE_PRIVATE_THREADS.toString()]={title:t.USE_PRIVATE_THREADS,description:t.ROLE_PERMISSIONS_USE_PRIVATE_THREADS_DESCRIPTION,flag:n.Permissions.USE_PRIVATE_THREADS},r}(t,e),h=[o(r,t),a(r,t),u(r,t,e),c(r,t)];e.showStageChannelPermissions&&h.push(function(t,e,r){return i({title:e.ROLE_PERMISSIONS_SECTION_STAGE,permissions:s([n.Permissions.REQUEST_TO_SPEAK],t)},r.showExperimental)}(r,t,e));e.showGuildEventsPermissions&&h.push(function(t,e,r){return i({title:e.ROLE_PERMISSIONS_SECTION_GUILD_EVENTS,permissions:s([n.Permissions.MANAGE_EVENTS],t)},r.showExperimental)}(r,t,e));return h.push(function(t,e){return i({title:e.ROLE_PERMISSIONS_SECTION_ADVANCED,permissions:s([n.Permissions.ADMINISTRATOR],t)})}(r,t)),h},e.generateChannelGeneralSection=function(t,e,r){var i;void 0===r&&(r={showManageWebhooks:!0});return{title:e,permissions:s((null===(i=r)||void 0===i?void 0:i.showManageWebhooks)?[n.Permissions.VIEW_CHANNEL,n.Permissions.MANAGE_CHANNELS,n.Permissions.MANAGE_ROLES,n.Permissions.MANAGE_WEBHOOKS]:[n.Permissions.VIEW_CHANNEL,n.Permissions.MANAGE_CHANNELS,n.Permissions.MANAGE_ROLES],t)}},e.generateChannelMembershipSection=function(t,e){return{title:e,permissions:s([n.Permissions.CREATE_INSTANT_INVITE],t)}},e.generateChannelTextSection=function(t,e,r){var i=r.showThreadPermissions?[n.Permissions.SEND_MESSAGES,n.Permissions.USE_PUBLIC_THREADS,n.Permissions.USE_PRIVATE_THREADS,n.Permissions.EMBED_LINKS,n.Permissions.ATTACH_FILES,n.Permissions.ADD_REACTIONS,n.Permissions.USE_EXTERNAL_EMOJIS,n.Permissions.MENTION_EVERYONE,n.Permissions.MANAGE_MESSAGES,n.Permissions.MANAGE_THREADS,n.Permissions.READ_MESSAGE_HISTORY,n.Permissions.SEND_TTS_MESSAGES,n.Permissions.USE_APPLICATION_COMMANDS]:[n.Permissions.SEND_MESSAGES,n.Permissions.EMBED_LINKS,n.Permissions.ATTACH_FILES,n.Permissions.ADD_REACTIONS,n.Permissions.USE_EXTERNAL_EMOJIS,n.Permissions.MENTION_EVERYONE,n.Permissions.MANAGE_MESSAGES,n.Permissions.READ_MESSAGE_HISTORY,n.Permissions.SEND_TTS_MESSAGES,n.Permissions.USE_APPLICATION_COMMANDS];r.showPrivateThreads||(i=i.filter((function(t){return t!==n.Permissions.USE_PRIVATE_THREADS})));return{title:e,permissions:s(i,t)}},e.generateChannelVoiceSection=function(t,e){return{title:e,permissions:s([n.Permissions.CONNECT,n.Permissions.SPEAK,n.Permissions.STREAM,n.Permissions.USE_VAD,n.Permissions.PRIORITY_SPEAKER,n.Permissions.MUTE_MEMBERS,n.Permissions.DEAFEN_MEMBERS,n.Permissions.MOVE_MEMBERS],t)}},e.generateChannelStageVoiceSection=function(t,e){return{title:e,permissions:s([n.Permissions.CONNECT,n.Permissions.MUTE_MEMBERS,n.Permissions.MOVE_MEMBERS],t)}},e.generateChannelStageSection=function(t,e){return{title:e,permissions:s([n.Permissions.REQUEST_TO_SPEAK],t)}};var n=r(92);function i(t,e){return void 0===e&&(e=!1),e||(t.permissions=t.permissions.filter((function(t){return!t.isExperimental}))),t}function s(t,e){return t.map((function(t){return e[t.toString()]}))}function o(t,e){return i({title:e.ROLE_PERMISSIONS_SECTION_GENERAL_GUILD,permissions:s([n.Permissions.VIEW_CHANNEL,n.Permissions.MANAGE_CHANNELS,n.Permissions.MANAGE_ROLES,n.Permissions.MANAGE_EMOJIS,n.Permissions.VIEW_AUDIT_LOG,n.Permissions.VIEW_GUILD_ANALYTICS,n.Permissions.MANAGE_WEBHOOKS,n.Permissions.MANAGE_GUILD],t)})}function a(t,e){return i({title:e.ROLE_PERMISSIONS_SECTION_MEMBERSHIP,permissions:s([n.Permissions.CREATE_INSTANT_INVITE,n.Permissions.CHANGE_NICKNAME,n.Permissions.MANAGE_NICKNAMES,n.Permissions.KICK_MEMBERS,n.Permissions.BAN_MEMBERS],t)})}function u(t,e,r){return i({title:e.ROLE_PERMISSIONS_SECTION_TEXT,permissions:s(r.showThreadPermissions?[n.Permissions.SEND_MESSAGES,n.Permissions.USE_PUBLIC_THREADS,n.Permissions.USE_PRIVATE_THREADS,n.Permissions.EMBED_LINKS,n.Permissions.ATTACH_FILES,n.Permissions.ADD_REACTIONS,n.Permissions.USE_EXTERNAL_EMOJIS,n.Permissions.MENTION_EVERYONE,n.Permissions.MANAGE_MESSAGES,n.Permissions.MANAGE_THREADS,n.Permissions.READ_MESSAGE_HISTORY,n.Permissions.SEND_TTS_MESSAGES,n.Permissions.USE_APPLICATION_COMMANDS]:[n.Permissions.SEND_MESSAGES,n.Permissions.EMBED_LINKS,n.Permissions.ATTACH_FILES,n.Permissions.ADD_REACTIONS,n.Permissions.USE_EXTERNAL_EMOJIS,n.Permissions.MENTION_EVERYONE,n.Permissions.MANAGE_MESSAGES,n.Permissions.READ_MESSAGE_HISTORY,n.Permissions.SEND_TTS_MESSAGES,n.Permissions.USE_APPLICATION_COMMANDS],t)})}function c(t,e){return i({title:e.ROLE_PERMISSIONS_SECTION_VOICE,permissions:s([n.Permissions.CONNECT,n.Permissions.SPEAK,n.Permissions.STREAM,n.Permissions.USE_VAD,n.Permissions.PRIORITY_SPEAKER,n.Permissions.MUTE_MEMBERS,n.Permissions.DEAFEN_MEMBERS,n.Permissions.MOVE_MEMBERS],t)})}},10380:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.truncateAndLocalizeNumber=void 0;var n,i=(n=r(731))&&n.__esModule?n:{default:n};e.truncateAndLocalizeNumber=function(t,e){var r=Math.round(10*t)/10;if(t<1e6)return new Intl.NumberFormat(e,{maximumFractionDigits:r%1==0?0:1}).format(t);var n=Math.round(t/1e6*10)/10,s=new Intl.NumberFormat(e,{maximumFractionDigits:n%1==0?0:1}).format(t/1e6);return i.default.Messages.NumberAbbreviations.MILLION.format({num:s})}},10381:function(t,e){var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return r.test(t)}},10382:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.timing=p,e.spring=d,e.parallel=g,e.sequence=m,e.default=e.SequenceAnimation=e.ParallelAnimation=e.SingleAnimation=void 0;var n,i=(n=r(273))&&n.__esModule?n:{default:n};function s(){return(s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function o(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=t[Symbol.iterator]()).next.bind(r)}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function u(t,e,r,n,i,s,o){try{var a=t[s](o),u=a.value}catch(t){return void r(t)}a.done?e(u):Promise.resolve(u).then(n,i)}var c=function(){function t(t){this.animation=t}var e=t.prototype;return e.start=function(){var t=this;return new Promise((function(e){t.animation.start((function(){e()}))}))},e.stop=function(){this.animation.stop()},t}();e.SingleAnimation=c;var h=function(){function t(t){this.animations=t}var e=t.prototype;return e._map=function(t){return this.animations.map(t)},e.start=function(){var t=this;return new Promise((function(e){return Promise.all(t._map((function(t){return t.start()}))).then((function(){return e()}))}))},e.stop=function(){this._map((function(t){return t.stop()}))},t}();e.ParallelAnimation=h;var f=function(){function t(t){this.stopped=!1,this.animations=t}var e=t.prototype;return e.start=function(){var t,e=(t=regeneratorRuntime.mark((function t(){var e,r,n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.stopped=!1,e=o(this.animations);case 2:if((r=e()).done){t.next=10;break}if(n=r.value,!this.stopped){t.next=6;break}return t.abrupt("return");case 6:return t.next=8,n.start();case 8:t.next=2;break;case 10:case"end":return t.stop()}}),t,this)})),function(){var e=this,r=arguments;return new Promise((function(n,i){var s=t.apply(e,r);function o(t){u(s,n,i,o,a,"next",t)}function a(t){u(s,n,i,o,a,"throw",t)}o(void 0)}))});return function(){return e.apply(this,arguments)}}(),e.stop=function(){this.stopped=!0,this.animations.map((function(t){return t.stop()}))},t}();function l(t,e,r){var n=r(t,s({},e));return new c(n)}function p(t,e){return l(t,e,i.default.timing)}function d(t,e){return l(t,e,i.default.spring)}function g(t){return new h(t)}function m(t){return new f(t)}e.SequenceAnimation=f;var E=s({},i.default,{timing:p,spring:d,parallel:g,sequence:m});e.default=E},10433:function(t,e,r){"use strict";function n(t){const e=[...t.caches],r=e.shift();return void 0===r?i():{get:(t,i,s={miss:()=>Promise.resolve()})=>r.get(t,i,s).catch(()=>n({caches:e}).get(t,i,s)),set:(t,i)=>r.set(t,i).catch(()=>n({caches:e}).set(t,i)),delete:t=>r.delete(t).catch(()=>n({caches:e}).delete(t)),clear:()=>r.clear().catch(()=>n({caches:e}).clear())}}function i(){return{get:(t,e,r={miss:()=>Promise.resolve()})=>e().then(t=>Promise.all([t,r.miss(t)])).then(([t])=>t),set:(t,e)=>Promise.resolve(e),delete:t=>Promise.resolve(),clear:()=>Promise.resolve()}}r.r(e),r.d(e,"createFallbackableCache",(function(){return n})),r.d(e,"createNullCache",(function(){return i}))},10434:function(t,e,r){t.exports=function(){"use strict";function t(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function e(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function r(r){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?e(Object(i),!0).forEach((function(e){t(r,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(i,t))}))}return r}function n(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},s=Object.keys(t);for(n=0;n<s.length;n++)r=s[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(n=0;n<s.length;n++)r=s[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var r=[],n=!0,i=!1,s=void 0;try{for(var o,a=t[Symbol.iterator]();!(n=(o=a.next()).done)&&(r.push(o.value),!e||r.length!==e);n=!0);}catch(t){i=!0,s=t}finally{try{n||null==a.return||a.return()}finally{if(i)throw s}}return r}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function s(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function o(t){var e,r="algoliasearch-client-js-".concat(t.key),n=function(){return void 0===e&&(e=t.localStorage||window.localStorage),e},s=function(){return JSON.parse(n().getItem(r)||"{}")};return{get:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then((function(){var r=JSON.stringify(t),n=s()[r];return Promise.all([n||e(),void 0!==n])})).then((function(t){var e=i(t,2),n=e[0],s=e[1];return Promise.all([n,s||r.miss(n)])})).then((function(t){return i(t,1)[0]}))},set:function(t,e){return Promise.resolve().then((function(){var i=s();return i[JSON.stringify(t)]=e,n().setItem(r,JSON.stringify(i)),e}))},delete:function(t){return Promise.resolve().then((function(){var e=s();delete e[JSON.stringify(t)],n().setItem(r,JSON.stringify(e))}))},clear:function(){return Promise.resolve().then((function(){n().removeItem(r)}))}}}function a(t){var e=s(t.caches),r=e.shift();return void 0===r?{get:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},n=e();return n.then((function(t){return Promise.all([t,r.miss(t)])})).then((function(t){return i(t,1)[0]}))},set:function(t,e){return Promise.resolve(e)},delete:function(t){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return r.get(t,n,i).catch((function(){return a({caches:e}).get(t,n,i)}))},set:function(t,n){return r.set(t,n).catch((function(){return a({caches:e}).set(t,n)}))},delete:function(t){return r.delete(t).catch((function(){return a({caches:e}).delete(t)}))},clear:function(){return r.clear().catch((function(){return a({caches:e}).clear()}))}}}function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},e={};return{get:function(r,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},s=JSON.stringify(r);if(s in e)return Promise.resolve(t.serializable?JSON.parse(e[s]):e[s]);var o=n(),a=i&&i.miss||function(){return Promise.resolve()};return o.then((function(t){return a(t)})).then((function(){return o}))},set:function(r,n){return e[JSON.stringify(r)]=t.serializable?JSON.stringify(n):n,Promise.resolve(n)},delete:function(t){return delete e[JSON.stringify(t)],Promise.resolve()},clear:function(){return e={},Promise.resolve()}}}function c(t,e,r){var n={"x-algolia-api-key":r,"x-algolia-application-id":e};return{headers:function(){return t===g.WithinHeaders?n:{}},queryParameters:function(){return t===g.WithinQueryParameters?n:{}}}}function h(t){var e=0;return t((function r(){return e++,new Promise((function(n){setTimeout((function(){n(t(r))}),Math.min(100*e,1e3))}))}))}function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(t,e){return Promise.resolve()};return Object.assign(t,{wait:function(r){return f(t.then((function(t){return Promise.all([e(t,r),t])})).then((function(t){return t[1]})))}})}function l(t){for(var e=t.length-1;e>0;e--){var r=Math.floor(Math.random()*(e+1)),n=t[e];t[e]=t[r],t[r]=n}return t}function p(t,e){return Object.keys(void 0!==e?e:{}).forEach((function(r){t[r]=e[r](t)})),t}function d(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var i=0;return t.replace(/%s/g,(function(){return encodeURIComponent(r[i++])}))}var g={WithinQueryParameters:0,WithinHeaders:1};function m(t,e){var r=t||{},n=r.data||{};return Object.keys(r).forEach((function(t){-1===["timeout","headers","queryParameters","data","cacheable"].indexOf(t)&&(n[t]=r[t])})),{data:Object.entries(n).length>0?n:void 0,timeout:r.timeout||e,headers:r.headers||{},queryParameters:r.queryParameters||{},cacheable:r.cacheable}}var E={Read:1,Write:2,Any:3};function S(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return r({},t,{status:e,lastUpdate:Date.now()})}function v(t){return{protocol:t.protocol||"https",url:t.url,accept:t.accept||E.Any}}var _="DELETE",y="GET",x="POST";function P(t,e,n,i){var o=[],a=function(t,e){if(t.method!==y&&(void 0!==t.data||void 0!==e.data)){var n=Array.isArray(t.data)?t.data:r({},t.data,{},e.data);return JSON.stringify(n)}}(n,i),u=function(t,e){var n=r({},t.headers,{},e.headers),i={};return Object.keys(n).forEach((function(t){var e=n[t];i[t.toLowerCase()]=e})),i}(t,i),c=n.method,h=n.method!==y?{}:r({},n.data,{},i.data),f=r({"x-algolia-agent":t.userAgent.value},t.queryParameters,{},h,{},i.queryParameters),l=0,p=function e(r,s){var h=r.pop();if(void 0===h)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:O(o)};var p={data:a,headers:u,method:c,url:M(h,n.path,f),connectTimeout:s(l,t.timeouts.connect),responseTimeout:s(l,i.timeout)},d=function(t){var e={request:p,response:t,host:h,triesLeft:r.length};return o.push(e),e},g={onSucess:function(t){return function(t){try{return JSON.parse(t.content)}catch(e){throw function(t,e){return{name:"DeserializationError",message:t,response:e}}(e.message,t)}}(t)},onRetry:function(n){var i=d(n);return n.isTimedOut&&l++,Promise.all([t.logger.info("Retryable failure",T(i)),t.hostsCache.set(h,S(h,n.isTimedOut?3:2))]).then((function(){return e(r,s)}))},onFail:function(t){throw d(t),function(t,e){var r=t.content,n=t.status,i=r;try{i=JSON.parse(r).message}catch(t){}return function(t,e,r){return{name:"ApiError",message:t,status:e,transporterStackTrace:r}}(i,n,e)}(t,O(o))}};return t.requester.send(p).then((function(t){return function(t,e){return function(t){var e=t.status;return t.isTimedOut||function(t){var e=t.isTimedOut,r=t.status;return!e&&0==~~r}(t)||2!=~~(e/100)&&4!=~~(e/100)}(t)?e.onRetry(t):2==~~(t.status/100)?e.onSucess(t):e.onFail(t)}(t,g)}))};return function(t,e){return Promise.all(e.map((function(e){return t.get(e,(function(){return Promise.resolve(S(e))}))}))).then((function(t){var r=t.filter((function(t){return function(t){return 1===t.status||Date.now()-t.lastUpdate>12e4}(t)})),n=t.filter((function(t){return function(t){return 3===t.status&&Date.now()-t.lastUpdate<=12e4}(t)})),i=[].concat(s(r),s(n));return{getTimeout:function(t,e){return(0===n.length&&0===t?1:n.length+3+t)*e},statelessHosts:i.length>0?i.map((function(t){return v(t)})):e}}))}(t.hostsCache,e).then((function(t){return p(s(t.statelessHosts).reverse(),t.getTimeout)}))}function A(t){var e=t.hostsCache,r=t.logger,n=t.requester,s=t.requestsCache,o=t.responsesCache,a=t.timeouts,u=t.userAgent,c=t.hosts,h=t.queryParameters,f={hostsCache:e,logger:r,requester:n,requestsCache:s,responsesCache:o,timeouts:a,userAgent:u,headers:t.headers,queryParameters:h,hosts:c.map((function(t){return v(t)})),read:function(t,e){var r=m(e,f.timeouts.read),n=function(){return P(f,f.hosts.filter((function(t){return 0!=(t.accept&E.Read)})),t,r)};if(!0!==(void 0!==r.cacheable?r.cacheable:t.cacheable))return n();var s={request:t,mappedRequestOptions:r,transporter:{queryParameters:f.queryParameters,headers:f.headers}};return f.responsesCache.get(s,(function(){return f.requestsCache.get(s,(function(){return f.requestsCache.set(s,n()).then((function(t){return Promise.all([f.requestsCache.delete(s),t])}),(function(t){return Promise.all([f.requestsCache.delete(s),Promise.reject(t)])})).then((function(t){var e=i(t,2);return e[0],e[1]}))}))}),{miss:function(t){return f.responsesCache.set(s,t)}})},write:function(t,e){return P(f,f.hosts.filter((function(t){return 0!=(t.accept&E.Write)})),t,m(e,f.timeouts.write))}};return f}function I(t){var e={value:"Algolia for JavaScript (".concat(t,")"),add:function(t){var r="; ".concat(t.segment).concat(void 0!==t.version?" (".concat(t.version,")"):"");return-1===e.value.indexOf(r)&&(e.value="".concat(e.value).concat(r)),e}};return e}function M(t,e,r){var n=N(r),i="".concat(t.protocol,"://").concat(t.url,"/").concat("/"===e.charAt(0)?e.substr(1):e);return n.length&&(i+="?".concat(n)),i}function N(t){return Object.keys(t).map((function(e){return d("%s=%s",e,(r=t[e],"[object Object]"===Object.prototype.toString.call(r)||"[object Array]"===Object.prototype.toString.call(r)?JSON.stringify(t[e]):t[e]));var r})).join("&")}function O(t){return t.map((function(t){return T(t)}))}function T(t){var e=t.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return r({},t,{request:r({},t.request,{headers:r({},t.request.headers,{},e)})})}var b=function(t){return function(e,r){return t.transporter.write({method:x,path:"2/abtests",data:e},r)}},R=function(t){return function(e,r){return t.transporter.write({method:_,path:d("2/abtests/%s",e)},r)}},w=function(t){return function(e,r){return t.transporter.read({method:y,path:d("2/abtests/%s",e)},r)}},D=function(t){return function(e){return t.transporter.read({method:y,path:"2/abtests"},e)}},L=function(t){return function(e,r){return t.transporter.write({method:x,path:d("2/abtests/%s/stop",e)},r)}},C=function(t){return function(e){return t.transporter.read({method:y,path:"1/strategies/personalization"},e)}},k=function(t){return function(e,r){return t.transporter.write({method:x,path:"1/strategies/personalization",data:e},r)}};function j(t){return function e(r){return t.request(r).then((function(n){if(void 0!==t.batch&&t.batch(n.hits),!t.shouldStop(n))return n.cursor?e({cursor:n.cursor}):e({page:(r.page||0)+1})}))}({})}var q=function(t){return function(e,i){var s=i||{},o=s.queryParameters,a=n(s,["queryParameters"]),u=r({acl:e},void 0!==o?{queryParameters:o}:{});return f(t.transporter.write({method:x,path:"1/keys",data:u},a),(function(e,r){return h((function(n){return z(t)(e.key,r).catch((function(t){if(404!==t.status)throw t;return n()}))}))}))}},G=function(t){return function(e,r,n){var i=m(n);return i.queryParameters["X-Algolia-User-ID"]=e,t.transporter.write({method:x,path:"1/clusters/mapping",data:{cluster:r}},i)}},U=function(t){return function(e,r,n){return t.transporter.write({method:x,path:"1/clusters/mapping/batch",data:{users:e,cluster:r}},n)}},V=function(t){return function(e,r,n){return f(t.transporter.write({method:x,path:d("1/indexes/%s/operation",e),data:{operation:"copy",destination:r}},n),(function(r,n){return X(t)(e,{methods:{waitTask:Yt}}).waitTask(r.taskID,n)}))}},H=function(t){return function(e,n,i){return V(t)(e,n,r({},i,{scope:[Xt.Rules]}))}},B=function(t){return function(e,n,i){return V(t)(e,n,r({},i,{scope:[Xt.Settings]}))}},K=function(t){return function(e,n,i){return V(t)(e,n,r({},i,{scope:[Xt.Synonyms]}))}},F=function(t){return function(e,r){return f(t.transporter.write({method:_,path:d("1/keys/%s",e)},r),(function(r,n){return h((function(r){return z(t)(e,n).then(r).catch((function(t){if(404!==t.status)throw t}))}))}))}},z=function(t){return function(e,r){return t.transporter.read({method:y,path:d("1/keys/%s",e)},r)}},W=function(t){return function(e){return t.transporter.read({method:y,path:"1/logs"},e)}},Z=function(t){return function(e){return t.transporter.read({method:y,path:"1/clusters/mapping/top"},e)}},Y=function(t){return function(e,r){return t.transporter.read({method:y,path:d("1/clusters/mapping/%s",e)},r)}},J=function(t){return function(e){var r=e||{},i=r.retrieveMappings,s=n(r,["retrieveMappings"]);return!0===i&&(s.getClusters=!0),t.transporter.read({method:y,path:"1/clusters/mapping/pending"},s)}},X=function(t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={transporter:t.transporter,appId:t.appId,indexName:e};return p(n,r.methods)}},Q=function(t){return function(e){return t.transporter.read({method:y,path:"1/keys"},e)}},$=function(t){return function(e){return t.transporter.read({method:y,path:"1/clusters"},e)}},tt=function(t){return function(e){return t.transporter.read({method:y,path:"1/indexes"},e)}},et=function(t){return function(e){return t.transporter.read({method:y,path:"1/clusters/mapping"},e)}},rt=function(t){return function(e,r,n){return f(t.transporter.write({method:x,path:d("1/indexes/%s/operation",e),data:{operation:"move",destination:r}},n),(function(r,n){return X(t)(e,{methods:{waitTask:Yt}}).waitTask(r.taskID,n)}))}},nt=function(t){return function(e,r){return f(t.transporter.write({method:x,path:"1/indexes/*/batch",data:{requests:e}},r),(function(e,r){return Promise.all(Object.keys(e.taskID).map((function(n){return X(t)(n,{methods:{waitTask:Yt}}).waitTask(e.taskID[n],r)})))}))}},it=function(t){return function(e,r){return t.transporter.read({method:x,path:"1/indexes/*/objects",data:{requests:e}},r)}},st=function(t){return function(e,n){var i=e.map((function(t){return r({},t,{params:N(t.params||{})})}));return t.transporter.read({method:x,path:"1/indexes/*/queries",data:{requests:i},cacheable:!0},n)}},ot=function(t){return function(e,i){return Promise.all(e.map((function(e){var s=e.params,o=s.facetName,a=s.facetQuery,u=n(s,["facetName","facetQuery"]);return X(t)(e.indexName,{methods:{searchForFacetValues:Ft}}).searchForFacetValues(o,a,r({},i,{},u))})))}},at=function(t){return function(e,r){var n=m(r);return n.queryParameters["X-Algolia-User-ID"]=e,t.transporter.write({method:_,path:"1/clusters/mapping"},n)}},ut=function(t){return function(e,r){return f(t.transporter.write({method:x,path:d("1/keys/%s/restore",e)},r),(function(r,n){return h((function(r){return z(t)(e,n).catch((function(t){if(404!==t.status)throw t;return r()}))}))}))}},ct=function(t){return function(e,r){return t.transporter.read({method:x,path:"1/clusters/mapping/search",data:{query:e}},r)}},ht=function(t){return function(e,r){var i=Object.assign({},r),s=r||{},o=s.queryParameters,a=n(s,["queryParameters"]),u=o?{queryParameters:o}:{},c=["acl","indexes","referers","restrictSources","queryParameters","description","maxQueriesPerIPPerHour","maxHitsPerQuery"];return f(t.transporter.write({method:"PUT",path:d("1/keys/%s",e),data:u},a),(function(r,n){return h((function(r){return z(t)(e,n).then((function(t){return function(t){return Object.keys(i).filter((function(t){return-1!==c.indexOf(t)})).every((function(e){return t[e]===i[e]}))}(t)?Promise.resolve():r()}))}))}))}},ft=function(t){return function(e,r){return f(t.transporter.write({method:x,path:d("1/indexes/%s/batch",t.indexName),data:{requests:e}},r),(function(e,r){return Yt(t)(e.taskID,r)}))}},lt=function(t){return function(e){return j(r({},e,{shouldStop:function(t){return void 0===t.cursor},request:function(r){return t.transporter.read({method:x,path:d("1/indexes/%s/browse",t.indexName),data:r},e)}}))}},pt=function(t){return function(e){var n=r({hitsPerPage:1e3},e);return j(r({},n,{shouldStop:function(t){return t.hits.length<n.hitsPerPage},request:function(e){return zt(t)("",r({},n,{},e)).then((function(t){return r({},t,{hits:t.hits.map((function(t){return delete t._highlightResult,t}))})}))}}))}},dt=function(t){return function(e){var n=r({hitsPerPage:1e3},e);return j(r({},n,{shouldStop:function(t){return t.hits.length<n.hitsPerPage},request:function(e){return Wt(t)("",r({},n,{},e)).then((function(t){return r({},t,{hits:t.hits.map((function(t){return delete t._highlightResult,t}))})}))}}))}},gt=function(t){return function(e,r,i){var s=i||{},o=s.batchSize,a=n(s,["batchSize"]),u={taskIDs:[],objectIDs:[]};return f(function n(){var i,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,c=[];for(i=s;i<e.length&&(c.push(e[i]),c.length!==(o||1e3));i++);return 0===c.length?Promise.resolve(u):ft(t)(c.map((function(t){return{action:r,body:t}})),a).then((function(t){return u.objectIDs=u.objectIDs.concat(t.objectIDs),u.taskIDs.push(t.taskID),i++,n(i)}))}(),(function(e,r){return Promise.all(e.taskIDs.map((function(e){return Yt(t)(e,r)})))}))}},mt=function(t){return function(e){return f(t.transporter.write({method:x,path:d("1/indexes/%s/clear",t.indexName)},e),(function(e,r){return Yt(t)(e.taskID,r)}))}},Et=function(t){return function(e){var r=e||{},i=r.forwardToReplicas,s=m(n(r,["forwardToReplicas"]));return i&&(s.queryParameters.forwardToReplicas=1),f(t.transporter.write({method:x,path:d("1/indexes/%s/rules/clear",t.indexName)},s),(function(e,r){return Yt(t)(e.taskID,r)}))}},St=function(t){return function(e){var r=e||{},i=r.forwardToReplicas,s=m(n(r,["forwardToReplicas"]));return i&&(s.queryParameters.forwardToReplicas=1),f(t.transporter.write({method:x,path:d("1/indexes/%s/synonyms/clear",t.indexName)},s),(function(e,r){return Yt(t)(e.taskID,r)}))}},vt=function(t){return function(e,r){return f(t.transporter.write({method:x,path:d("1/indexes/%s/deleteByQuery",t.indexName),data:e},r),(function(e,r){return Yt(t)(e.taskID,r)}))}},_t=function(t){return function(e){return f(t.transporter.write({method:_,path:d("1/indexes/%s",t.indexName)},e),(function(e,r){return Yt(t)(e.taskID,r)}))}},yt=function(t){return function(e,r){return f(xt(t)([e],r).then((function(t){return{taskID:t.taskIDs[0]}})),(function(e,r){return Yt(t)(e.taskID,r)}))}},xt=function(t){return function(e,r){var n=e.map((function(t){return{objectID:t}}));return gt(t)(n,Jt.DeleteObject,r)}},Pt=function(t){return function(e,r){var i=r||{},s=i.forwardToReplicas,o=m(n(i,["forwardToReplicas"]));return s&&(o.queryParameters.forwardToReplicas=1),f(t.transporter.write({method:_,path:d("1/indexes/%s/rules/%s",t.indexName,e)},o),(function(e,r){return Yt(t)(e.taskID,r)}))}},At=function(t){return function(e,r){var i=r||{},s=i.forwardToReplicas,o=m(n(i,["forwardToReplicas"]));return s&&(o.queryParameters.forwardToReplicas=1),f(t.transporter.write({method:_,path:d("1/indexes/%s/synonyms/%s",t.indexName,e)},o),(function(e,r){return Yt(t)(e.taskID,r)}))}},It=function(t){return function(e){return Rt(t)(e).then((function(){return!0})).catch((function(t){if(404!==t.status)throw t;return!1}))}},Mt=function(t){return function(e,s){var o=s||{},a=o.query,u=o.paginate,c=n(o,["query","paginate"]),h=0;return function n(){return Kt(t)(a||"",r({},c,{page:h})).then((function(t){for(var r=0,s=Object.entries(t.hits);r<s.length;r++){var o=i(s[r],2),a=o[0],c=o[1];if(e(c))return{object:c,position:parseInt(a,10),page:h}}if(h++,!1===u||h>=t.nbPages)throw{name:"ObjectNotFoundError",message:"Object not found."};return n()}))}()}},Nt=function(t){return function(e,r){return t.transporter.read({method:y,path:d("1/indexes/%s/%s",t.indexName,e)},r)}},Ot=function(){return function(t,e){for(var r=0,n=Object.entries(t.hits);r<n.length;r++){var s=i(n[r],2),o=s[0];if(s[1].objectID===e)return parseInt(o,10)}return-1}},Tt=function(t){return function(e,i){var s=i||{},o=s.attributesToRetrieve,a=n(s,["attributesToRetrieve"]),u=e.map((function(e){return r({indexName:t.indexName,objectID:e},o?{attributesToRetrieve:o}:{})}));return t.transporter.read({method:x,path:"1/indexes/*/objects",data:{requests:u}},a)}},bt=function(t){return function(e,r){return t.transporter.read({method:y,path:d("1/indexes/%s/rules/%s",t.indexName,e)},r)}},Rt=function(t){return function(e){return t.transporter.read({method:y,path:d("1/indexes/%s/settings",t.indexName),data:{getVersion:2}},e)}},wt=function(t){return function(e,r){return t.transporter.read({method:y,path:d("1/indexes/%s/synonyms/%s",t.indexName,e)},r)}},Dt=function(t){return function(e,r){return f(Lt(t)([e],r).then((function(t){return{objectID:t.objectIDs[0],taskID:t.taskIDs[0]}})),(function(e,r){return Yt(t)(e.taskID,r)}))}},Lt=function(t){return function(e,r){var i=r||{},s=i.createIfNotExists,o=n(i,["createIfNotExists"]),a=s?Jt.PartialUpdateObject:Jt.PartialUpdateObjectNoCreate;return gt(t)(e,a,o)}},Ct=function(t){return function(e,o){var a=o||{},u=a.safe,c=a.autoGenerateObjectIDIfNotExist,h=a.batchSize,l=n(a,["safe","autoGenerateObjectIDIfNotExist","batchSize"]),p=function(e,r,n,i){return f(t.transporter.write({method:x,path:d("1/indexes/%s/operation",e),data:{operation:n,destination:r}},i),(function(e,r){return Yt(t)(e.taskID,r)}))},g=Math.random().toString(36).substring(7),m="".concat(t.indexName,"_tmp_").concat(g),E=Gt({appId:t.appId,transporter:t.transporter,indexName:m}),S=[],v=p(t.indexName,m,"copy",r({},l,{scope:["settings","synonyms","rules"]}));return S.push(v),f((u?v.wait(l):v).then((function(){var t=E(e,r({},l,{autoGenerateObjectIDIfNotExist:c,batchSize:h}));return S.push(t),u?t.wait(l):t})).then((function(){var e=p(m,t.indexName,"move",l);return S.push(e),u?e.wait(l):e})).then((function(){return Promise.all(S)})).then((function(t){var e=i(t,3),r=e[0],n=e[1],o=e[2];return{objectIDs:n.objectIDs,taskIDs:[r.taskID].concat(s(n.taskIDs),[o.taskID])}})),(function(t,e){return Promise.all(S.map((function(t){return t.wait(e)})))}))}},kt=function(t){return function(e,n){return Vt(t)(e,r({},n,{clearExistingRules:!0}))}},jt=function(t){return function(e,n){return Bt(t)(e,r({},n,{replaceExistingSynonyms:!0}))}},qt=function(t){return function(e,r){return f(Gt(t)([e],r).then((function(t){return{objectID:t.objectIDs[0],taskID:t.taskIDs[0]}})),(function(e,r){return Yt(t)(e.taskID,r)}))}},Gt=function(t){return function(e,r){var i=r||{},s=i.autoGenerateObjectIDIfNotExist,o=n(i,["autoGenerateObjectIDIfNotExist"]),a=s?Jt.AddObject:Jt.UpdateObject;if(a===Jt.UpdateObject){var u=!0,c=!1,h=void 0;try{for(var l,p=e[Symbol.iterator]();!(u=(l=p.next()).done);u=!0)if(void 0===l.value.objectID)return f(Promise.reject({name:"MissingObjectIDError",message:"All objects must have an unique objectID (like a primary key) to be valid. Algolia is also able to generate objectIDs automatically but *it's not recommended*. To do it, use the `{'autoGenerateObjectIDIfNotExist': true}` option."}))}catch(t){c=!0,h=t}finally{try{u||null==p.return||p.return()}finally{if(c)throw h}}}return gt(t)(e,a,o)}},Ut=function(t){return function(e,r){return Vt(t)([e],r)}},Vt=function(t){return function(e,r){var i=r||{},s=i.forwardToReplicas,o=i.clearExistingRules,a=m(n(i,["forwardToReplicas","clearExistingRules"]));return s&&(a.queryParameters.forwardToReplicas=1),o&&(a.queryParameters.clearExistingRules=1),f(t.transporter.write({method:x,path:d("1/indexes/%s/rules/batch",t.indexName),data:e},a),(function(e,r){return Yt(t)(e.taskID,r)}))}},Ht=function(t){return function(e,r){return Bt(t)([e],r)}},Bt=function(t){return function(e,r){var i=r||{},s=i.forwardToReplicas,o=i.replaceExistingSynonyms,a=m(n(i,["forwardToReplicas","replaceExistingSynonyms"]));return s&&(a.queryParameters.forwardToReplicas=1),o&&(a.queryParameters.replaceExistingSynonyms=1),f(t.transporter.write({method:x,path:d("1/indexes/%s/synonyms/batch",t.indexName),data:e},a),(function(e,r){return Yt(t)(e.taskID,r)}))}},Kt=function(t){return function(e,r){return t.transporter.read({method:x,path:d("1/indexes/%s/query",t.indexName),data:{query:e},cacheable:!0},r)}},Ft=function(t){return function(e,r,n){return t.transporter.read({method:x,path:d("1/indexes/%s/facets/%s/query",t.indexName,e),data:{facetQuery:r},cacheable:!0},n)}},zt=function(t){return function(e,r){return t.transporter.read({method:x,path:d("1/indexes/%s/rules/search",t.indexName),data:{query:e}},r)}},Wt=function(t){return function(e,r){return t.transporter.read({method:x,path:d("1/indexes/%s/synonyms/search",t.indexName),data:{query:e}},r)}},Zt=function(t){return function(e,r){var i=r||{},s=i.forwardToReplicas,o=m(n(i,["forwardToReplicas"]));return s&&(o.queryParameters.forwardToReplicas=1),f(t.transporter.write({method:"PUT",path:d("1/indexes/%s/settings",t.indexName),data:e},o),(function(e,r){return Yt(t)(e.taskID,r)}))}},Yt=function(t){return function(e,r){return h((function(n){return function(t){return function(e,r){return t.transporter.read({method:y,path:d("1/indexes/%s/task/%s",t.indexName,e.toString())},r)}}(t)(e,r).then((function(t){return"published"!==t.status?n():void 0}))}))}},Jt={AddObject:"addObject",UpdateObject:"updateObject",PartialUpdateObject:"partialUpdateObject",PartialUpdateObjectNoCreate:"partialUpdateObjectNoCreate",DeleteObject:"deleteObject"},Xt={Settings:"settings",Synonyms:"synonyms",Rules:"rules"};function Qt(t,e,n){var i={appId:t,apiKey:e,timeouts:{connect:1,read:2,write:30},requester:{send:function(t){return new Promise((function(e){var r=new XMLHttpRequest;r.open(t.method,t.url,!0),Object.keys(t.headers).forEach((function(e){return r.setRequestHeader(e,t.headers[e])}));var n,i=function(t,n){return setTimeout((function(){r.abort(),e({status:0,content:n,isTimedOut:!0})}),1e3*t)},s=i(t.connectTimeout,"Connection timeout");r.onreadystatechange=function(){r.readyState>r.OPENED&&void 0===n&&(clearTimeout(s),n=i(t.responseTimeout,"Socket timeout"))},r.onerror=function(){0===r.status&&(clearTimeout(s),clearTimeout(n),e({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=function(){clearTimeout(s),clearTimeout(n),e({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(t.data)}))}},logger:{debug:function(t,e){return Promise.resolve()},info:function(t,e){return Promise.resolve()},error:function(t,e){return console.error(t,e),Promise.resolve()}},responsesCache:u(),requestsCache:u({serializable:!1}),hostsCache:a({caches:[o({key:"".concat("4.1.0","-").concat(t)}),u()]}),userAgent:I("4.1.0").add({segment:"Browser"})};return function(t){var e=t.appId,n=c(void 0!==t.authMode?t.authMode:g.WithinHeaders,e,t.apiKey),i=A(r({hosts:[{url:"".concat(e,"-dsn.algolia.net"),accept:E.Read},{url:"".concat(e,".algolia.net"),accept:E.Write}].concat(l([{url:"".concat(e,"-1.algolianet.com")},{url:"".concat(e,"-2.algolianet.com")},{url:"".concat(e,"-3.algolianet.com")}]))},t,{headers:r({},n.headers(),{},{"content-type":"application/x-www-form-urlencoded"},{},t.headers),queryParameters:r({},n.queryParameters(),{},t.queryParameters)}));return p({transporter:i,appId:e,addAlgoliaAgent:function(t,e){i.userAgent.add({segment:t,version:e})},clearCache:function(){return Promise.all([i.requestsCache.clear(),i.responsesCache.clear()]).then((function(){}))}},t.methods)}(r({},i,{},n,{methods:{search:st,searchForFacetValues:ot,multipleBatch:nt,multipleGetObjects:it,multipleQueries:st,copyIndex:V,copySettings:B,copySynonyms:K,copyRules:H,moveIndex:rt,listIndices:tt,getLogs:W,listClusters:$,multipleSearchForFacetValues:ot,getApiKey:z,addApiKey:q,listApiKeys:Q,updateApiKey:ht,deleteApiKey:F,restoreApiKey:ut,assignUserID:G,assignUserIDs:U,getUserID:Y,searchUserIDs:ct,listUserIDs:et,getTopUserIDs:Z,removeUserID:at,hasPendingMappings:J,initIndex:function(t){return function(e){return X(t)(e,{methods:{batch:ft,delete:_t,getObject:Nt,getObjects:Tt,saveObject:qt,saveObjects:Gt,search:Kt,searchForFacetValues:Ft,waitTask:Yt,setSettings:Zt,getSettings:Rt,partialUpdateObject:Dt,partialUpdateObjects:Lt,deleteObject:yt,deleteObjects:xt,deleteBy:vt,clearObjects:mt,browseObjects:lt,getObjectPosition:Ot,findObject:Mt,exists:It,saveSynonym:Ht,saveSynonyms:Bt,getSynonym:wt,searchSynonyms:Wt,browseSynonyms:dt,deleteSynonym:At,clearSynonyms:St,replaceAllObjects:Ct,replaceAllSynonyms:jt,searchRules:zt,getRule:bt,deleteRule:Pt,saveRule:Ut,saveRules:Vt,replaceAllRules:kt,browseRules:pt,clearRules:Et}})}},initAnalytics:function(){return function(t){return function(t){var e=t.region||"us",n=c(g.WithinHeaders,t.appId,t.apiKey),i=A(r({hosts:[{url:"analytics.".concat(e,".algolia.com")}]},t,{headers:r({},n.headers(),{},{"content-type":"application/json"},{},t.headers),queryParameters:r({},n.queryParameters(),{},t.queryParameters)}));return p({appId:t.appId,transporter:i},t.methods)}(r({},i,{},t,{methods:{addABTest:b,getABTest:w,getABTests:D,stopABTest:L,deleteABTest:R}}))}},initRecommendation:function(){return function(t){return function(t){var e=t.region||"us",n=c(g.WithinHeaders,t.appId,t.apiKey),i=A(r({hosts:[{url:"recommendation.".concat(e,".algolia.com")}]},t,{headers:r({},n.headers(),{},{"content-type":"application/json"},{},t.headers),queryParameters:r({},n.queryParameters(),{},t.queryParameters)}));return p({appId:t.appId,transporter:i},t.methods)}(r({},i,{},t,{methods:{getPersonalizationStrategy:C,setPersonalizationStrategy:k}}))}}}}))}return Qt.version="4.1.0",Qt}()},10435:function(t,e,r){!function(t){"use strict";function e(t){return 10===t||13===t||8232===t||8233===t||32===t||9===t||11===t||12===t||160===t||t>=5760&&At.indexOf(t)>=0}function r(t){return t>=48&&t<=57}function n(t){return t>=48&&t<=57||43===t||45===t||46===t}function i(t){this.index=0,this.path=t,this.max=t.length,this.result=[],this.param=0,this.err="",this.segmentStart=0,this.data=[]}function s(t){for(;t.index<t.max&&e(t.path.charCodeAt(t.index));)t.index++}function o(t){var e,n=t.index,i=n,s=t.max,o=!1,a=!1,u=!1,c=!1;if(i>=s)t.err="SvgPath: missed param (at pos "+i+")";else if(43!==(e=t.path.charCodeAt(i))&&45!==e||(e=++i<s?t.path.charCodeAt(i):0),r(e)||46===e){if(46!==e){if(o=48===e,e=++i<s?t.path.charCodeAt(i):0,o&&i<s&&e&&r(e))return void(t.err="SvgPath: numbers started with `0` such as `09` are ilegal (at pos "+n+")");for(;i<s&&r(t.path.charCodeAt(i));)i++,a=!0;e=i<s?t.path.charCodeAt(i):0}if(46===e){for(c=!0,i++;r(t.path.charCodeAt(i));)i++,u=!0;e=i<s?t.path.charCodeAt(i):0}if(101===e||69===e){if(c&&!a&&!u)return void(t.err="SvgPath: invalid float exponent (at pos "+i+")");if(43!==(e=++i<s?t.path.charCodeAt(i):0)&&45!==e||i++,!(i<s&&r(t.path.charCodeAt(i))))return void(t.err="SvgPath: invalid float exponent (at pos "+i+")");for(;i<s&&r(t.path.charCodeAt(i));)i++}t.index=i,t.param=parseFloat(t.path.slice(n,i))+0}else t.err="SvgPath: param should start with 0..9 or `.` (at pos "+i+")"}function a(t){var e,r;r=(e=t.path[t.segmentStart]).toLowerCase();var n=t.data;if("m"===r&&n.length>2&&(t.result.push([e,n[0],n[1]]),n=n.slice(2),r="l",e="m"===e?"l":"L"),"r"===r)t.result.push([e].concat(n));else for(;n.length>=Pt[r]&&(t.result.push([e].concat(n.splice(0,Pt[r]))),Pt[r]););}function u(t){var e,r,i,u=t.max;if(t.segmentStart=t.index,function(t){switch(32|t){case 109:case 122:case 108:case 104:case 118:case 99:case 115:case 113:case 116:case 97:case 114:return!0}return!1}(t.path.charCodeAt(t.index)))if(r=Pt[t.path[t.index].toLowerCase()],t.index++,s(t),t.data=[],r){for(e=!1;;){for(i=r;i>0;i--){if(o(t),t.err.length)return;t.data.push(t.param),s(t),e=!1,t.index<u&&44===t.path.charCodeAt(t.index)&&(t.index++,s(t),e=!0)}if(!e){if(t.index>=t.max)break;if(!n(t.path.charCodeAt(t.index)))break}}a(t)}else a(t);else t.err="SvgPath: bad command "+t.path[t.index]+" (at pos "+t.index+")"}function c(t,e){return[t[0]*e[0]+t[2]*e[1],t[1]*e[0]+t[3]*e[1],t[0]*e[2]+t[2]*e[3],t[1]*e[2]+t[3]*e[3],t[0]*e[4]+t[2]*e[5]+t[4],t[1]*e[4]+t[3]*e[5]+t[5]]}function h(){if(!(this instanceof h))return new h;this.queue=[],this.cache=null}function f(t,e,r,n){var i=t*n-e*r<0?-1:1,s=(t*r+e*n)/(Math.sqrt(t*t+e*e)*Math.sqrt(t*t+e*e));return s>1&&(s=1),s<-1&&(s=-1),i*Math.acos(s)}function l(t,e,r,n,i,s,o,a,u,c){var h=c*(t-r)/2+u*(e-n)/2,l=-u*(t-r)/2+c*(e-n)/2,p=o*o,d=a*a,g=h*h,m=l*l,E=p*d-p*m-d*g;E<0&&(E=0),E/=p*m+d*g;var S=(E=Math.sqrt(E)*(i===s?-1:1))*o/a*l,v=E*-a/o*h,_=c*S-u*v+(t+r)/2,y=u*S+c*v+(e+n)/2,x=(h-S)/o,P=(l-v)/a,A=(-h-S)/o,I=(-l-v)/a,M=f(1,0,x,P),N=f(x,P,A,I);return 0===s&&N>0&&(N-=bt),1===s&&N<0&&(N+=bt),[_,y,M,N]}function p(t,e){var r=4/3*Math.tan(e/4),n=Math.cos(t),i=Math.sin(t),s=Math.cos(t+e),o=Math.sin(t+e);return[n,i,n-i*r,i+n*r,s+o*r,o-s*r,s,o]}function d(t,e,r){if(!(this instanceof d))return new d(t,e,r);this.rx=t,this.ry=e,this.ax=r}function g(t){if(!(this instanceof g))return new g(t);var e=It(t);this.segments=e.segments,this.err=e.err,this.__stack=[]}function m(t,e,r,n,i,s,o,a){this.a={x:t,y:e},this.b={x:r,y:n},this.c={x:i,y:s},this.d={x:o,y:a},null!=o&&null!=a?(this.getArcLength=M,this.getPoint=y,this.getDerivative=S):(this.getArcLength=x,this.getPoint=_,this.getDerivative=E),this.init()}function E(t,e,r){return{x:2*(1-r)*(t[1]-t[0])+2*r*(t[2]-t[1]),y:2*(1-r)*(e[1]-e[0])+2*r*(e[2]-e[1])}}function S(t,e,r){return _([3*(t[1]-t[0]),3*(t[2]-t[1]),3*(t[3]-t[2])],[3*(e[1]-e[0]),3*(e[2]-e[1]),3*(e[3]-e[2])],r)}function v(t,e,r,n,i){for(var s=1,o=t/e,a=(t-r(n,i,o))/e;s>.001;){var u=r(n,i,o+a),c=r(n,i,o-a),h=Math.abs(t-u)/e,f=Math.abs(t-c)/e;h<s?(s=h,o+=a):f<s?(s=f,o-=a):a/=2}return o}function _(t,e,r){return{x:(1-r)*(1-r)*t[0]+2*(1-r)*r*t[1]+r*r*t[2],y:(1-r)*(1-r)*e[0]+2*(1-r)*r*e[1]+r*r*e[2]}}function y(t,e,r){return{x:(1-r)*(1-r)*(1-r)*t[0]+3*(1-r)*(1-r)*r*t[1]+3*(1-r)*r*r*t[2]+r*r*r*t[3],y:(1-r)*(1-r)*(1-r)*e[0]+3*(1-r)*(1-r)*r*e[1]+3*(1-r)*r*r*e[2]+r*r*r*e[3]}}function x(t,e,r){void 0===r&&(r=1);var n=t[0]-2*t[1]+t[2],i=e[0]-2*e[1]+e[2],s=2*t[1]-2*t[0],o=2*e[1]-2*e[0],a=4*(n*n+i*i),u=4*(n*s+i*o),c=s*s+o*o;if(0===a)return r*Math.sqrt(Math.pow(t[2]-t[0],2)+Math.pow(e[2]-e[0],2));var h=u/(2*a),f=r+h,l=c/a-h*h;return Math.sqrt(a)/2*(f*Math.sqrt(f*f+l)-h*Math.sqrt(h*h+l)+l*Math.log(Math.abs((f+Math.sqrt(f*f+l))/(h+Math.sqrt(h*h+l)))))}function P(t,e){return Vt[t][e]}function A(t,e,r){var n,i,s,o=r.length-1;if(0===o)return 0;if(0===t){for(i=0,s=0;s<=o;s++)i+=P(o,s)*Math.pow(1-e,o-s)*Math.pow(e,s)*r[s];return i}for(n=new Array(o),s=0;s<o;s++)n[s]=o*(r[s+1]-r[s]);return A(t-1,e,n)}function I(t,e,r){var n=A(1,r,t),i=A(1,r,e),s=n*n+i*i;return Math.sqrt(s)}function M(t,e,r){var n,i,s,o;for(void 0===r&&(r=1),n=r/2,i=0,s=0;s<20;s++)o=n*Gt[20][s]+n,i+=Ut[20][s]*I(t,e,o);return n*i}function N(t,e,r,n){var i=t*r+e*n;return i>1&&(i=1),i<-1&&(i=-1),(t*n-e*r<0?-1:1)*Math.acos(i)}function O(t,e){var r=4/3*Math.tan(e/4),n=Math.cos(t),i=Math.sin(t),s=Math.cos(t+e),o=Math.sin(t+e);return[n,i,n-i*r,i+n*r,s+o*r,o-s*r,s,o]}function T(t,e,r,n,i,s,o,a,u){var c=0,h=[],f=[];Bt(t,e,r,n,i,s,o,a,u).forEach((function(t){var e=new qt(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]),r=e.getTotalLength();c+=r,h.push(r),f.push(e)})),this.length=c,this.partialLengths=h,this.curves=f}function b(t,e,r,n){this.x0=t,this.x1=e,this.y0=r,this.y1=n}function R(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}function w(t,e,r){return[t[0]+(e[0]-t[0])*r,t[1]+(e[1]-t[1])*r]}function D(t,e,r){var n=t.map((function(t,r){return function(t,e){return function(r){return t.map((function(t,n){return t+r*(e[n]-t)}))}}(t,e[r])}));return function(t){var e=n.map((function(e){return e(t)}));return r?q(e):e}}function L(t){return"number"==typeof t&&isFinite(t)}function C(t){return function(t){for(var e=0;e<t.length-2;e++){var r=t[e],n=t[e+1],i=t[e+2];if(r[0]*(n[1]-i[1])+n[0]*(i[1]-r[1])+i[0]*(r[1]-n[1]))return!0}return!1}(t)?yt(t):[(t[0][0]+t[t.length-1][0])/2,(t[0][1]+t[t.length-1][1])/2]}function k(t){return new Dt(t).abs()}function j(t){return t.toString().split("M").map((function(t,e){return t=t.trim(),e&&t?"M"+t:t})).filter((function(t){return t}))}function q(t){return"M"+t.join("L")+"Z"}function G(t,e){var r=k(t);return function(t){var e=t.segments||[],r=[];if(!e.length||"M"!==e[0][0])return!1;for(var n=0;n<e.length;n++){var i=e[n],s=i[0],o=i[1],a=i[2];if("M"===s&&n||"Z"===s)break;if("M"===s||"L"===s)r.push([o,a]);else if("H"===s)r.push([o,r[r.length-1][1]]);else{if("V"!==s)return!1;r.push([r[r.length-1][0],o])}}return!!r.length&&{ring:r}}(r)||function(t,e){var r,n,i=j(t)[0],s=[],o=3;if(!i)throw new TypeError(Wt);n=function(t){if("undefined"!=typeof window&&window&&window.document)try{var e=window.document.createElementNS("http://www.w3.org/2000/svg","path");return e.setAttributeNS(null,"d",t),e}catch(t){}return zt(t)}(i),r=n.getTotalLength(),e&&L(e)&&e>0&&(o=Math.max(o,Math.ceil(r/e)));for(var a=0;a<o;a++){var u=n.getPointAtLength(r*a/o);s.push([u.x,u.y])}return{ring:s,skipBisect:!0}}(r,e)}function U(t,e){for(var r=t.length+e,n=xt(t)/e,i=0,s=0,o=n/2;t.length<r;){var a=t[i],u=t[(i+1)%t.length],c=R(a,u);o<=s+c?(t.splice(i+1,0,c?w(a,u,(o-s)/c):a.slice(0)),o+=n):(s+=c,i++)}}function V(t,e){var r,n;if("string"==typeof t){var i=G(t,e);t=i.ring,n=i.skipBisect}else if(!Array.isArray(t))throw new TypeError(Wt);if(!function(t){return t.every((function(t){return Array.isArray(t)&&t.length>=2&&L(t[0])&&L(t[1])}))}(r=t.slice(0)))throw new TypeError(Wt);return r.length>1&&function(t,e){return R(t,e)<1e-9}(r[0],r[r.length-1])&&r.pop(),_t(r)>0&&r.reverse(),!n&&e&&L(e)&&e>0&&function(t,e){void 0===e&&(e=1/0);for(var r=0;r<t.length;r++)for(var n=t[r],i=r===t.length-1?t[0]:t[r+1];R(n,i)>e;)i=w(n,i,.5),t.splice(r+1,0,i)}(r,e),r}function H(t,e,r){var n;return U(t,(n=t.length-e.length)<0?-1*n:0),U(e,n>0?n:0),Yt(t,e),D(t,e,r)}function B(t,e,r){r=r||2;var n,i,s,o,a,u,c,h=e&&e.length,f=h?e[0]*r:t.length,l=K(t,0,f,r,!0),p=[];if(!l)return p;if(h&&(l=function(t,e,r,n){var i,s,o,a,u,c=[];for(i=0,s=e.length;i<s;i++)o=e[i]*n,a=i<s-1?e[i+1]*n:t.length,(u=K(t,o,a,n,!1))===u.next&&(u.steiner=!0),c.push(tt(u));for(c.sort(X),i=0;i<c.length;i++)Q(c[i],r),r=F(r,r.next);return r}(t,e,l,r)),t.length>80*r){n=s=t[0],i=o=t[1];for(var d=r;d<f;d+=r)(a=t[d])<n&&(n=a),(u=t[d+1])<i&&(i=u),a>s&&(s=a),u>o&&(o=u);c=Math.max(s-n,o-i)}return z(l,p,r,n,i,c),p}function K(t,e,r,n,i){var s,o;if(i===ft(t,e,r,n)>0)for(s=e;s<r;s+=n)o=ut(s,t[s],t[s+1],o);else for(s=r-n;s>=e;s-=n)o=ut(s,t[s],t[s+1],o);return o&&it(o,o.next)&&(ct(o),o=o.next),o}function F(t,e){if(!t)return t;e||(e=t);var r,n=t;do{if(r=!1,n.steiner||!it(n,n.next)&&0!==nt(n.prev,n,n.next))n=n.next;else{if(ct(n),(n=e=n.prev)===n.next)return null;r=!0}}while(r||n!==e);return e}function z(t,e,r,n,i,s,o){if(t){!o&&s&&function(t,e,r,n){var i=t;do{null===i.z&&(i.z=$(i.x,i.y,e,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){var e,r,n,i,s,o,a,u,c=1;do{for(r=t,t=null,s=null,o=0;r;){for(o++,n=r,a=0,e=0;e<c&&(a++,n=n.nextZ);e++);for(u=c;a>0||u>0&&n;)0===a?(i=n,n=n.nextZ,u--):0!==u&&n?r.z<=n.z?(i=r,r=r.nextZ,a--):(i=n,n=n.nextZ,u--):(i=r,r=r.nextZ,a--),s?s.nextZ=i:t=i,i.prevZ=s,s=i;r=n}s.nextZ=null,c*=2}while(o>1)}(i)}(t,n,i,s);for(var a,u,c=t;t.prev!==t.next;)if(a=t.prev,u=t.next,s?Z(t,n,i,s):W(t))e.push(a.i/r),e.push(t.i/r),e.push(u.i/r),ct(t),t=u.next,c=u.next;else if((t=u)===c){o?1===o?z(t=Y(t,e,r),e,r,n,i,s,2):2===o&&J(t,e,r,n,i,s):z(F(t),e,r,n,i,s,1);break}}}function W(t){var e=t.prev,r=t,n=t.next;if(nt(e,r,n)>=0)return!1;for(var i=t.next.next;i!==t.prev;){if(et(e.x,e.y,r.x,r.y,n.x,n.y,i.x,i.y)&&nt(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function Z(t,e,r,n){var i=t.prev,s=t,o=t.next;if(nt(i,s,o)>=0)return!1;for(var a=i.x<s.x?i.x<o.x?i.x:o.x:s.x<o.x?s.x:o.x,u=i.y<s.y?i.y<o.y?i.y:o.y:s.y<o.y?s.y:o.y,c=i.x>s.x?i.x>o.x?i.x:o.x:s.x>o.x?s.x:o.x,h=i.y>s.y?i.y>o.y?i.y:o.y:s.y>o.y?s.y:o.y,f=$(a,u,e,r,n),l=$(c,h,e,r,n),p=t.nextZ;p&&p.z<=l;){if(p!==t.prev&&p!==t.next&&et(i.x,i.y,s.x,s.y,o.x,o.y,p.x,p.y)&&nt(p.prev,p,p.next)>=0)return!1;p=p.nextZ}for(p=t.prevZ;p&&p.z>=f;){if(p!==t.prev&&p!==t.next&&et(i.x,i.y,s.x,s.y,o.x,o.y,p.x,p.y)&&nt(p.prev,p,p.next)>=0)return!1;p=p.prevZ}return!0}function Y(t,e,r){var n=t;do{var i=n.prev,s=n.next.next;!it(i,s)&&st(i,n,n.next,s)&&ot(i,s)&&ot(s,i)&&(e.push(i.i/r),e.push(n.i/r),e.push(s.i/r),ct(n),ct(n.next),n=t=s),n=n.next}while(n!==t);return n}function J(t,e,r,n,i,s){var o=t;do{for(var a=o.next.next;a!==o.prev;){if(o.i!==a.i&&rt(o,a)){var u=at(o,a);return o=F(o,o.next),u=F(u,u.next),z(o,e,r,n,i,s),void z(u,e,r,n,i,s)}a=a.next}o=o.next}while(o!==t)}function X(t,e){return t.x-e.x}function Q(t,e){if(e=function(t,e){var r,n=e,i=t.x,s=t.y,o=-1/0;do{if(s<=n.y&&s>=n.next.y){var a=n.x+(s-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(a<=i&&a>o){if(o=a,a===i){if(s===n.y)return n;if(s===n.next.y)return n.next}r=n.x<n.next.x?n:n.next}}n=n.next}while(n!==e);if(!r)return null;if(i===o)return r.prev;var u,c=r,h=r.x,f=r.y,l=1/0;for(n=r.next;n!==c;)i>=n.x&&n.x>=h&&et(s<f?i:o,s,h,f,s<f?o:i,s,n.x,n.y)&&((u=Math.abs(s-n.y)/(i-n.x))<l||u===l&&n.x>r.x)&&ot(n,t)&&(r=n,l=u),n=n.next;return r}(t,e)){var r=at(e,t);F(r,r.next)}}function $(t,e,r,n,i){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-r)/i)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-n)/i)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function tt(t){var e=t,r=t;do{e.x<r.x&&(r=e),e=e.next}while(e!==t);return r}function et(t,e,r,n,i,s,o,a){return(i-o)*(e-a)-(t-o)*(s-a)>=0&&(t-o)*(n-a)-(r-o)*(e-a)>=0&&(r-o)*(s-a)-(i-o)*(n-a)>=0}function rt(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&st(r,r.next,t,e))return!0;r=r.next}while(r!==t);return!1}(t,e)&&ot(t,e)&&ot(e,t)&&function(t,e){var r=t,n=!1,i=(t.x+e.x)/2,s=(t.y+e.y)/2;do{r.y>s!=r.next.y>s&&i<(r.next.x-r.x)*(s-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next}while(r!==t);return n}(t,e)}function nt(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function it(t,e){return t.x===e.x&&t.y===e.y}function st(t,e,r,n){return!!(it(t,e)&&it(r,n)||it(t,n)&&it(r,e))||nt(t,e,r)>0!=nt(t,e,n)>0&&nt(r,n,t)>0!=nt(r,n,e)>0}function ot(t,e){return nt(t.prev,t,t.next)<0?nt(t,e,t.next)>=0&&nt(t,t.prev,e)>=0:nt(t,e,t.prev)<0||nt(t,t.next,e)<0}function at(t,e){var r=new ht(t.i,t.x,t.y),n=new ht(e.i,e.x,e.y),i=t.next,s=e.prev;return t.next=e,e.prev=t,r.next=i,i.prev=r,n.next=r,r.prev=n,s.next=n,n.prev=s,n}function ut(t,e,r,n){var i=new ht(t,e,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function ct(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function ht(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function ft(t,e,r,n){for(var i=0,s=e,o=r-n;s<r;s+=n)i+=(t[o]-t[s])*(t[s+1]+t[o+1]),o=s;return i}function lt(t,e){var r=e.id,n=e.bbox,i=null==e.properties?{}:e.properties,s=pt(t,e);return null==r&&null==n?{type:"Feature",properties:i,geometry:s}:null==n?{type:"Feature",id:r,properties:i,geometry:s}:{type:"Feature",id:r,bbox:n,properties:i,geometry:s}}function pt(t,e){function r(t,e){e.length&&e.pop();for(var r=u[t<0?~t:t],n=0,i=r.length;n<i;++n)e.push(a(r[n],n));t<0&&$t(e,i)}function n(t){return a(t)}function i(t){for(var e=[],n=0,i=t.length;n<i;++n)r(t[n],e);return e.length<2&&e.push(e[0]),e}function s(t){for(var e=i(t);e.length<4;)e.push(e[0]);return e}function o(t){return t.map(s)}var a=Qt(t.transform),u=t.arcs;return function t(e){var r,s=e.type;switch(s){case"GeometryCollection":return{type:s,geometries:e.geometries.map(t)};case"Point":r=n(e.coordinates);break;case"MultiPoint":r=e.coordinates.map(n);break;case"LineString":r=i(e.arcs);break;case"MultiLineString":r=e.arcs.map(i);break;case"Polygon":r=o(e.arcs);break;case"MultiPolygon":r=e.arcs.map(o);break;default:return null}return{type:s,coordinates:r}}(e)}function dt(t,e){function r(t){t.forEach((function(e){e.forEach((function(e){(i[e=e<0?~e:e]||(i[e]=[])).push(t)}))})),s.push(t)}function n(e){return function(t){for(var e,r=-1,n=t.length,i=t[n-1],s=0;++r<n;)e=i,i=t[r],s+=e[0]*i[1]-e[1]*i[0];return Math.abs(s)}(pt(t,{type:"Polygon",arcs:[e]}).coordinates[0])}var i={},s=[],o=[];return e.forEach((function t(e){switch(e.type){case"GeometryCollection":e.geometries.forEach(t);break;case"Polygon":r(e.arcs);break;case"MultiPolygon":e.arcs.forEach(r)}})),s.forEach((function(t){if(!t._){var e=[],r=[t];for(t._=1,o.push(e);t=r.pop();)e.push(t),t.forEach((function(t){t.forEach((function(t){i[t<0?~t:t].forEach((function(t){t._||(t._=1,r.push(t))}))}))}))}})),s.forEach((function(t){delete t._})),{type:"MultiPolygon",arcs:o.map((function(e){var r,s=[];if(e.forEach((function(t){t.forEach((function(t){t.forEach((function(t){i[t<0?~t:t].length<2&&s.push(t)}))}))})),(r=(s=ee(t,s)).length)>1)for(var o,a,u=1,c=n(s[0]);u<r;++u)(o=n(s[u]))>c&&(a=s[0],s[0]=s[u],s[u]=a,c=o);return s}))}}function gt(t,e,r){void 0===r&&(r={});var n=r.maxSegmentLength;void 0===n&&(n=10);var i=r.string;void 0===i&&(i=!0);var s=r.single;void 0===s&&(s=!1);var o=V(t,n);o.length<e.length+2&&U(o,e.length+2-o.length);var a,u=oe(o,e.length),c=e.map((function(t){return V(t,n)})),h="string"==typeof t&&t;return s&&!e.every((function(t){return"string"==typeof t}))||(a=e.slice(0)),mt(u,c,{match:!0,string:i,single:s,t0:h,t1:a})}function mt(t,e,r){void 0===r&&(r={});var n=r.string,i=r.single,s=r.t0,o=r.t1,a=r.match,u=a?ae(t,e):t.map((function(t,e){return e})),c=u.map((function(r,i){return H(t[r],e[i],n)}));if(a&&Array.isArray(s)&&(s=u.map((function(t){return s[t]}))),i&&n&&(Array.isArray(s)&&(s=s.join(" ")),Array.isArray(o)&&(o=o.join(" "))),i){var h=n?function(t){return c.map((function(e){return e(t)})).join(" ")}:function(t){return c.map((function(e){return e(t)}))};return n&&(s||o)?function(t){return t<1e-4&&s||1-t<1e-4&&o||h(t)}:h}return n?(s=Array.isArray(s)?s.map((function(t){return"string"==typeof t&&t})):[],o=Array.isArray(o)?o.map((function(t){return"string"==typeof t&&t})):[],c.map((function(t,e){return s[e]||o[e]?function(r){return r<1e-4&&s[e]||1-r<1e-4&&o[e]||t(r)}:t}))):c}function Et(t,e,r,n,i){return vt(function(t,e,r){return function(n){var i=C(n),s=xt(n.concat([n[0]])),o=Math.atan2(n[0][1]-i[1],n[0][0]-i[0]),a=0;return n.map((function(i,u){var c;return u&&(a+=R(i,n[u-1])),c=o+2*Math.PI*(s?a/s:u/n.length),[Math.cos(c)*r+t,Math.sin(c)*r+e]}))}}(t,e,r),n,function(t,e,r){var n=t-r+","+e,i="A"+r+","+r+",0,1,1,";return"M"+n+i+(t+r)+","+e+i+n+"Z"}(t,e,r),2*Math.PI*r,i)}function St(t,e,r,n,i,s){return vt(function(t,e,r,n){return function(i){var s=C(i),o=xt(i.concat([i[0]])),a=Math.atan2(i[0][1]-s[1],i[0][0]-s[0]),u=0;a<0&&(a=2*Math.PI+a);var c=a/(2*Math.PI);return i.map((function(s,a){a&&(u+=R(s,i[a-1]));var h=function(t){return t<=1/8?[1,.5+4*t]:t<=3/8?[1.5-4*t,1]:t<=5/8?[0,2.5-4*t]:t<=7/8?[4*t-2.5,0]:[1,4*t-3.5]}((c+(o?u/o:a/i.length))%1);return[t+h[0]*r,e+h[1]*n]}))}}(t,e,r,n),i,function(t,e,r,n){var i=t+r,s=e+n;return"M"+t+","+e+"L"+i+","+e+"L"+i+","+s+"L"+t+","+s+"Z"}(t,e,r,n),2*r+2*n,s)}function vt(t,e,r,n,i){void 0===i&&(i={});var s=i.maxSegmentLength;void 0===s&&(s=10);var o=i.string;void 0===o&&(o=!0);var a,u,c=V(e,s);return L(n)&&c.length<n/s&&U(c,Math.ceil(n/s-c.length)),a=t(c),u=D(a,c,o),o?function(t){return t<1e-4?r:u(t)}:u}var _t=function(t){for(var e,r=-1,n=t.length,i=t[n-1],s=0;++r<n;)e=i,i=t[r],s+=e[1]*i[0]-e[0]*i[1];return s/2},yt=function(t){for(var e,r,n=-1,i=t.length,s=0,o=0,a=t[i-1],u=0;++n<i;)e=a,a=t[n],u+=r=e[0]*a[1]-a[0]*e[1],s+=(e[0]+a[0])*r,o+=(e[1]+a[1])*r;return[s/(u*=3),o/u]},xt=function(t){for(var e,r,n=-1,i=t.length,s=t[i-1],o=s[0],a=s[1],u=0;++n<i;)e=o,r=a,e-=o=(s=t[n])[0],r-=a=s[1],u+=Math.sqrt(e*e+r*r);return u},Pt={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},At=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],It=function(t){var e=new i(t),r=e.max;for(s(e);e.index<r&&!e.err.length;)u(e);return e.err.length?e.result=[]:e.result.length&&("mM".indexOf(e.result[0][0])<0?(e.err="SvgPath: string should start with `M` or `m`",e.result=[]):e.result[0][0]="M"),{err:e.err,segments:e.result}};h.prototype.matrix=function(t){return 1===t[0]&&0===t[1]&&0===t[2]&&1===t[3]&&0===t[4]&&0===t[5]||(this.cache=null,this.queue.push(t)),this},h.prototype.translate=function(t,e){return 0===t&&0===e||(this.cache=null,this.queue.push([1,0,0,1,t,e])),this},h.prototype.scale=function(t,e){return 1===t&&1===e||(this.cache=null,this.queue.push([t,0,0,e,0,0])),this},h.prototype.rotate=function(t,e,r){var n,i,s;return 0!==t&&(this.translate(e,r),n=t*Math.PI/180,i=Math.cos(n),s=Math.sin(n),this.queue.push([i,s,-s,i,0,0]),this.cache=null,this.translate(-e,-r)),this},h.prototype.skewX=function(t){return 0!==t&&(this.cache=null,this.queue.push([1,0,Math.tan(t*Math.PI/180),1,0,0])),this},h.prototype.skewY=function(t){return 0!==t&&(this.cache=null,this.queue.push([1,Math.tan(t*Math.PI/180),0,1,0,0])),this},h.prototype.toArray=function(){var t=this;if(this.cache)return this.cache;if(!this.queue.length)return this.cache=[1,0,0,1,0,0],this.cache;if(this.cache=this.queue[0],1===this.queue.length)return this.cache;for(var e=1;e<this.queue.length;e++)t.cache=c(t.cache,t.queue[e]);return this.cache},h.prototype.calc=function(t,e,r){var n;return this.queue.length?(this.cache||(this.cache=this.toArray()),[t*(n=this.cache)[0]+e*n[2]+(r?0:n[4]),t*n[1]+e*n[3]+(r?0:n[5])]):[t,e]};var Mt=h,Nt={matrix:!0,scale:!0,rotate:!0,translate:!0,skewX:!0,skewY:!0},Ot=/\s*(matrix|translate|scale|rotate|skewX|skewY)\s*\(\s*(.+?)\s*\)[\s,]*/,Tt=/[\s,]+/,bt=2*Math.PI,Rt=Math.PI/180;d.prototype.transform=function(t){var e=Math.cos(this.ax*Rt),r=Math.sin(this.ax*Rt),n=[this.rx*(t[0]*e+t[2]*r),this.rx*(t[1]*e+t[3]*r),this.ry*(-t[0]*r+t[2]*e),this.ry*(-t[1]*r+t[3]*e)],i=n[0]*n[0]+n[2]*n[2],s=n[1]*n[1]+n[3]*n[3],o=((n[0]-n[3])*(n[0]-n[3])+(n[2]+n[1])*(n[2]+n[1]))*((n[0]+n[3])*(n[0]+n[3])+(n[2]-n[1])*(n[2]-n[1])),a=(i+s)/2;if(o<1e-10*a)return this.rx=this.ry=Math.sqrt(a),this.ax=0,this;var u=n[0]*n[1]+n[2]*n[3],c=a+(o=Math.sqrt(o))/2,h=a-o/2;return this.ax=Math.abs(u)<1e-10&&Math.abs(c-s)<1e-10?90:180*Math.atan(Math.abs(u)>Math.abs(c-s)?(c-i)/u:u/(c-s))/Math.PI,this.ax>=0?(this.rx=Math.sqrt(c),this.ry=Math.sqrt(h)):(this.ax+=90,this.rx=Math.sqrt(h),this.ry=Math.sqrt(c)),this},d.prototype.isDegenerate=function(){return this.rx<1e-10*this.ry||this.ry<1e-10*this.rx};var wt=d;g.prototype.__matrix=function(t){var e,r=this;t.queue.length&&this.iterate((function(n,i,s,o){var a,u,c,h;switch(n[0]){case"v":u=0===(a=t.calc(0,n[1],!0))[0]?["v",a[1]]:["l",a[0],a[1]];break;case"V":u=(a=t.calc(s,n[1],!1))[0]===t.calc(s,o,!1)[0]?["V",a[1]]:["L",a[0],a[1]];break;case"h":u=0===(a=t.calc(n[1],0,!0))[1]?["h",a[0]]:["l",a[0],a[1]];break;case"H":u=(a=t.calc(n[1],o,!1))[1]===t.calc(s,o,!1)[1]?["H",a[0]]:["L",a[0],a[1]];break;case"a":case"A":var f=t.toArray(),l=wt(n[1],n[2],n[3]).transform(f);if(f[0]*f[3]-f[1]*f[2]<0&&(n[5]=n[5]?"0":"1"),a=t.calc(n[6],n[7],"a"===n[0]),"A"===n[0]&&n[6]===s&&n[7]===o||"a"===n[0]&&0===n[6]&&0===n[7]){u=["a"===n[0]?"l":"L",a[0],a[1]];break}u=l.isDegenerate()?["a"===n[0]?"l":"L",a[0],a[1]]:[n[0],l.rx,l.ry,l.ax,n[4],n[5],a[0],a[1]];break;case"m":h=i>0,u=["m",(a=t.calc(n[1],n[2],h))[0],a[1]];break;default:for(u=[c=n[0]],h=c.toLowerCase()===c,e=1;e<n.length;e+=2)a=t.calc(n[e],n[e+1],h),u.push(a[0],a[1])}r.segments[i]=u}),!0)},g.prototype.__evaluateStack=function(){var t,e;if(this.__stack.length){if(1===this.__stack.length)return this.__matrix(this.__stack[0]),void(this.__stack=[]);for(t=Mt(),e=this.__stack.length;--e>=0;)t.matrix(this.__stack[e].toArray());this.__matrix(t),this.__stack=[]}},g.prototype.toString=function(){var t,e,r=this,n=[];this.__evaluateStack();for(var i=0;i<this.segments.length;i++)e=r.segments[i][0],t=i>0&&"m"!==e&&"M"!==e&&e===r.segments[i-1][0],n=n.concat(t?r.segments[i].slice(1):r.segments[i]);return n.join(" ").replace(/ ?([achlmqrstvz]) ?/gi,"$1").replace(/ \-/g,"-").replace(/zm/g,"z m")},g.prototype.translate=function(t,e){return this.__stack.push(Mt().translate(t,e||0)),this},g.prototype.scale=function(t,e){return this.__stack.push(Mt().scale(t,e||0===e?e:t)),this},g.prototype.rotate=function(t,e,r){return this.__stack.push(Mt().rotate(t,e||0,r||0)),this},g.prototype.skewX=function(t){return this.__stack.push(Mt().skewX(t)),this},g.prototype.skewY=function(t){return this.__stack.push(Mt().skewY(t)),this},g.prototype.matrix=function(t){return this.__stack.push(Mt().matrix(t)),this},g.prototype.transform=function(t){return t.trim()?(this.__stack.push(function(t){var e,r,n=new Mt;return t.split(Ot).forEach((function(t){if(t.length){if(void 0!==Nt[t])return void(e=t);switch(r=t.split(Tt).map((function(t){return+t||0})),e){case"matrix":return void(6===r.length&&n.matrix(r));case"scale":return void(1===r.length?n.scale(r[0],r[0]):2===r.length&&n.scale(r[0],r[1]));case"rotate":return void(1===r.length?n.rotate(r[0],0,0):3===r.length&&n.rotate(r[0],r[1],r[2]));case"translate":return void(1===r.length?n.translate(r[0],0):2===r.length&&n.translate(r[0],r[1]));case"skewX":return void(1===r.length&&n.skewX(r[0]));case"skewY":return void(1===r.length&&n.skewY(r[0]))}}})),n}(t)),this):this},g.prototype.round=function(t){var e,r=0,n=0,i=0,s=0;return t=t||0,this.__evaluateStack(),this.segments.forEach((function(o){var a=o[0].toLowerCase()===o[0];switch(o[0]){case"H":case"h":return a&&(o[1]+=i),i=o[1]-o[1].toFixed(t),void(o[1]=+o[1].toFixed(t));case"V":case"v":return a&&(o[1]+=s),s=o[1]-o[1].toFixed(t),void(o[1]=+o[1].toFixed(t));case"Z":case"z":return i=r,void(s=n);case"M":case"m":return a&&(o[1]+=i,o[2]+=s),i=o[1]-o[1].toFixed(t),s=o[2]-o[2].toFixed(t),r=i,n=s,o[1]=+o[1].toFixed(t),void(o[2]=+o[2].toFixed(t));case"A":case"a":return a&&(o[6]+=i,o[7]+=s),i=o[6]-o[6].toFixed(t),s=o[7]-o[7].toFixed(t),o[1]=+o[1].toFixed(t),o[2]=+o[2].toFixed(t),o[3]=+o[3].toFixed(t+2),o[6]=+o[6].toFixed(t),void(o[7]=+o[7].toFixed(t));default:return e=o.length,a&&(o[e-2]+=i,o[e-1]+=s),i=o[e-2]-o[e-2].toFixed(t),s=o[e-1]-o[e-1].toFixed(t),void o.forEach((function(e,r){r&&(o[r]=+o[r].toFixed(t))}))}})),this},g.prototype.iterate=function(t,e){var r,n,i,s=this.segments,o={},a=!1,u=0,c=0,h=0,f=0;if(e||this.__evaluateStack(),s.forEach((function(e,r){var n=t(e,r,u,c);Array.isArray(n)&&(o[r]=n,a=!0);var i=e[0]===e[0].toLowerCase();switch(e[0]){case"m":case"M":return u=e[1]+(i?u:0),c=e[2]+(i?c:0),h=u,void(f=c);case"h":case"H":return void(u=e[1]+(i?u:0));case"v":case"V":return void(c=e[1]+(i?c:0));case"z":case"Z":return u=h,void(c=f);default:u=e[e.length-2]+(i?u:0),c=e[e.length-1]+(i?c:0)}})),!a)return this;for(i=[],r=0;r<s.length;r++)if(void 0!==o[r])for(n=0;n<o[r].length;n++)i.push(o[r][n]);else i.push(s[r]);return this.segments=i,this},g.prototype.abs=function(){return this.iterate((function(t,e,r,n){var i,s=t[0],o=s.toUpperCase();if(s!==o)switch(t[0]=o,s){case"v":return void(t[1]+=n);case"a":return t[6]+=r,void(t[7]+=n);default:for(i=1;i<t.length;i++)t[i]+=i%2?r:n}}),!0),this},g.prototype.rel=function(){return this.iterate((function(t,e,r,n){var i,s=t[0],o=s.toLowerCase();if(s!==o&&(0!==e||"M"!==s))switch(t[0]=o,s){case"V":return void(t[1]-=n);case"A":return t[6]-=r,void(t[7]-=n);default:for(i=1;i<t.length;i++)t[i]-=i%2?r:n}}),!0),this},g.prototype.unarc=function(){return this.iterate((function(t,e,r,n){var i,s,o,a=[],u=t[0];return"A"!==u&&"a"!==u?null:("a"===u?(s=r+t[6],o=n+t[7]):(s=t[6],o=t[7]),0===(i=function(t,e,r,n,i,s,o,a,u){var c=Math.sin(u*bt/360),h=Math.cos(u*bt/360),f=h*(t-r)/2+c*(e-n)/2,d=-c*(t-r)/2+h*(e-n)/2;if(0===f&&0===d)return[];if(0===o||0===a)return[];o=Math.abs(o),a=Math.abs(a);var g=f*f/(o*o)+d*d/(a*a);g>1&&(o*=Math.sqrt(g),a*=Math.sqrt(g));var m=l(t,e,r,n,i,s,o,a,c,h),E=[],S=m[2],v=m[3],_=Math.max(Math.ceil(Math.abs(v)/(bt/4)),1);v/=_;for(var y=0;y<_;y++)E.push(p(S,v)),S+=v;return E.map((function(t){for(var e=0;e<t.length;e+=2){var r=t[e+0],n=t[e+1],i=h*(r*=o)-c*(n*=a),s=c*r+h*n;t[e+0]=i+m[0],t[e+1]=s+m[1]}return t}))}(r,n,s,o,t[4],t[5],t[1],t[2],t[3])).length?[["a"===t[0]?"l":"L",t[6],t[7]]]:(i.forEach((function(t){a.push(["C",t[2],t[3],t[4],t[5],t[6],t[7]])})),a))})),this},g.prototype.unshort=function(){var t,e,r,n,i,s=this.segments;return this.iterate((function(o,a,u,c){var h,f=o[0],l=f.toUpperCase();a&&("T"===l?(h="t"===f,"Q"===(r=s[a-1])[0]?(t=r[1]-u,e=r[2]-c):"q"===r[0]?(t=r[1]-r[3],e=r[2]-r[4]):(t=0,e=0),n=-t,i=-e,h||(n+=u,i+=c),s[a]=[h?"q":"Q",n,i,o[1],o[2]]):"S"===l&&(h="s"===f,"C"===(r=s[a-1])[0]?(t=r[3]-u,e=r[4]-c):"c"===r[0]?(t=r[3]-r[5],e=r[4]-r[6]):(t=0,e=0),n=-t,i=-e,h||(n+=u,i+=c),s[a]=[h?"c":"C",n,i,o[1],o[2],o[3],o[4]]))})),this};var Dt=g,Lt={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},Ct=/([astvzqmhlc])([^astvzqmhlc]*)/gi,kt=function(t){var e=[];return t.replace(Ct,(function(t,r,n){var i=r.toLowerCase();for(n=function(t){var e=t.match(jt);return e?e.map(Number):[]}(n),"m"===i&&n.length>2&&(e.push([r].concat(n.splice(0,2))),i="l",r="m"===r?"l":"L");n.length>=0;){if(n.length===Lt[i])return n.unshift(r),e.push(n);if(n.length<Lt[i])throw new Error("malformed path data");e.push([r].concat(n.splice(0,Lt[i])))}})),e},jt=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi,qt=function(t,e,r,n,i,s,o,a){return new m(t,e,r,n,i,s,o,a)};m.prototype={constructor:m,init:function(){this.length=this.getArcLength([this.a.x,this.b.x,this.c.x,this.d.x],[this.a.y,this.b.y,this.c.y,this.d.y])},getTotalLength:function(){return this.length},getPointAtLength:function(t){var e=v(t,this.length,this.getArcLength,[this.a.x,this.b.x,this.c.x,this.d.x],[this.a.y,this.b.y,this.c.y,this.d.y]);return this.getPoint([this.a.x,this.b.x,this.c.x,this.d.x],[this.a.y,this.b.y,this.c.y,this.d.y],e)},getTangentAtLength:function(t){var e=v(t,this.length,this.getArcLength,[this.a.x,this.b.x,this.c.x,this.d.x],[this.a.y,this.b.y,this.c.y,this.d.y]),r=this.getDerivative([this.a.x,this.b.x,this.c.x,this.d.x],[this.a.y,this.b.y,this.c.y,this.d.y],e),n=Math.sqrt(r.x*r.x+r.y*r.y);return n>0?{x:r.x/n,y:r.y/n}:{x:0,y:0}},getPropertiesAtLength:function(t){var e,r=v(t,this.length,this.getArcLength,[this.a.x,this.b.x,this.c.x,this.d.x],[this.a.y,this.b.y,this.c.y,this.d.y]),n=this.getDerivative([this.a.x,this.b.x,this.c.x,this.d.x],[this.a.y,this.b.y,this.c.y,this.d.y],r),i=Math.sqrt(n.x*n.x+n.y*n.y);e=i>0?{x:n.x/i,y:n.y/i}:{x:0,y:0};var s=this.getPoint([this.a.x,this.b.x,this.c.x,this.d.x],[this.a.y,this.b.y,this.c.y,this.d.y],r);return{x:s.x,y:s.y,tangentX:e.x,tangentY:e.y}}};var Gt=[[],[],[-.5773502691896257,.5773502691896257],[0,-.7745966692414834,.7745966692414834],[-.33998104358485626,.33998104358485626,-.8611363115940526,.8611363115940526],[0,-.5384693101056831,.5384693101056831,-.906179845938664,.906179845938664],[.6612093864662645,-.6612093864662645,-.2386191860831969,.2386191860831969,-.932469514203152,.932469514203152],[0,.4058451513773972,-.4058451513773972,-.7415311855993945,.7415311855993945,-.9491079123427585,.9491079123427585],[-.1834346424956498,.1834346424956498,-.525532409916329,.525532409916329,-.7966664774136267,.7966664774136267,-.9602898564975363,.9602898564975363],[0,-.8360311073266358,.8360311073266358,-.9681602395076261,.9681602395076261,-.3242534234038089,.3242534234038089,-.6133714327005904,.6133714327005904],[-.14887433898163122,.14887433898163122,-.4333953941292472,.4333953941292472,-.6794095682990244,.6794095682990244,-.8650633666889845,.8650633666889845,-.9739065285171717,.9739065285171717],[0,-.26954315595234496,.26954315595234496,-.5190961292068118,.5190961292068118,-.7301520055740494,.7301520055740494,-.8870625997680953,.8870625997680953,-.978228658146057,.978228658146057],[-.1252334085114689,.1252334085114689,-.3678314989981802,.3678314989981802,-.5873179542866175,.5873179542866175,-.7699026741943047,.7699026741943047,-.9041172563704749,.9041172563704749,-.9815606342467192,.9815606342467192],[0,-.2304583159551348,.2304583159551348,-.44849275103644687,.44849275103644687,-.6423493394403402,.6423493394403402,-.8015780907333099,.8015780907333099,-.9175983992229779,.9175983992229779,-.9841830547185881,.9841830547185881],[-.10805494870734367,.10805494870734367,-.31911236892788974,.31911236892788974,-.5152486363581541,.5152486363581541,-.6872929048116855,.6872929048116855,-.827201315069765,.827201315069765,-.9284348836635735,.9284348836635735,-.9862838086968123,.9862838086968123],[0,-.20119409399743451,.20119409399743451,-.3941513470775634,.3941513470775634,-.5709721726085388,.5709721726085388,-.7244177313601701,.7244177313601701,-.8482065834104272,.8482065834104272,-.937273392400706,.937273392400706,-.9879925180204854,.9879925180204854],[-.09501250983763744,.09501250983763744,-.2816035507792589,.2816035507792589,-.45801677765722737,.45801677765722737,-.6178762444026438,.6178762444026438,-.755404408355003,.755404408355003,-.8656312023878318,.8656312023878318,-.9445750230732326,.9445750230732326,-.9894009349916499,.9894009349916499],[0,-.17848418149584785,.17848418149584785,-.3512317634538763,.3512317634538763,-.5126905370864769,.5126905370864769,-.6576711592166907,.6576711592166907,-.7815140038968014,.7815140038968014,-.8802391537269859,.8802391537269859,-.9506755217687678,.9506755217687678,-.9905754753144174,.9905754753144174],[-.0847750130417353,.0847750130417353,-.2518862256915055,.2518862256915055,-.41175116146284263,.41175116146284263,-.5597708310739475,.5597708310739475,-.6916870430603532,.6916870430603532,-.8037049589725231,.8037049589725231,-.8926024664975557,.8926024664975557,-.9558239495713977,.9558239495713977,-.9915651684209309,.9915651684209309],[0,-.16035864564022537,.16035864564022537,-.31656409996362983,.31656409996362983,-.46457074137596094,.46457074137596094,-.600545304661681,.600545304661681,-.7209661773352294,.7209661773352294,-.8227146565371428,.8227146565371428,-.9031559036148179,.9031559036148179,-.96020815213483,.96020815213483,-.9924068438435844,.9924068438435844],[-.07652652113349734,.07652652113349734,-.22778585114164507,.22778585114164507,-.37370608871541955,.37370608871541955,-.5108670019508271,.5108670019508271,-.636053680726515,.636053680726515,-.7463319064601508,.7463319064601508,-.8391169718222188,.8391169718222188,-.912234428251326,.912234428251326,-.9639719272779138,.9639719272779138,-.9931285991850949,.9931285991850949],[0,-.1455618541608951,.1455618541608951,-.2880213168024011,.2880213168024011,-.4243421202074388,.4243421202074388,-.5516188358872198,.5516188358872198,-.6671388041974123,.6671388041974123,-.7684399634756779,.7684399634756779,-.8533633645833173,.8533633645833173,-.9200993341504008,.9200993341504008,-.9672268385663063,.9672268385663063,-.9937521706203895,.9937521706203895],[-.06973927331972223,.06973927331972223,-.20786042668822127,.20786042668822127,-.34193582089208424,.34193582089208424,-.469355837986757,.469355837986757,-.5876404035069116,.5876404035069116,-.6944872631866827,.6944872631866827,-.7878168059792081,.7878168059792081,-.8658125777203002,.8658125777203002,-.926956772187174,.926956772187174,-.9700604978354287,.9700604978354287,-.9942945854823992,.9942945854823992],[0,-.1332568242984661,.1332568242984661,-.26413568097034495,.26413568097034495,-.3903010380302908,.3903010380302908,-.5095014778460075,.5095014778460075,-.6196098757636461,.6196098757636461,-.7186613631319502,.7186613631319502,-.8048884016188399,.8048884016188399,-.8767523582704416,.8767523582704416,-.9329710868260161,.9329710868260161,-.9725424712181152,.9725424712181152,-.9947693349975522,.9947693349975522],[-.06405689286260563,.06405689286260563,-.1911188674736163,.1911188674736163,-.3150426796961634,.3150426796961634,-.4337935076260451,.4337935076260451,-.5454214713888396,.5454214713888396,-.6480936519369755,.6480936519369755,-.7401241915785544,.7401241915785544,-.820001985973903,.820001985973903,-.8864155270044011,.8864155270044011,-.9382745520027328,.9382745520027328,-.9747285559713095,.9747285559713095,-.9951872199970213,.9951872199970213]],Ut=[[],[],[1,1],[.8888888888888888,.5555555555555556,.5555555555555556],[.6521451548625461,.6521451548625461,.34785484513745385,.34785484513745385],[.5688888888888889,.47862867049936647,.47862867049936647,.23692688505618908,.23692688505618908],[.3607615730481386,.3607615730481386,.46791393457269104,.46791393457269104,.17132449237917036,.17132449237917036],[.4179591836734694,.3818300505051189,.3818300505051189,.27970539148927664,.27970539148927664,.1294849661688697,.1294849661688697],[.362683783378362,.362683783378362,.31370664587788727,.31370664587788727,.22238103445337448,.22238103445337448,.10122853629037626,.10122853629037626],[.3302393550012598,.1806481606948574,.1806481606948574,.08127438836157441,.08127438836157441,.31234707704000286,.31234707704000286,.26061069640293544,.26061069640293544],[.29552422471475287,.29552422471475287,.26926671930999635,.26926671930999635,.21908636251598204,.21908636251598204,.1494513491505806,.1494513491505806,.06667134430868814,.06667134430868814],[.2729250867779006,.26280454451024665,.26280454451024665,.23319376459199048,.23319376459199048,.18629021092773426,.18629021092773426,.1255803694649046,.1255803694649046,.05566856711617366,.05566856711617366],[.24914704581340277,.24914704581340277,.2334925365383548,.2334925365383548,.20316742672306592,.20316742672306592,.16007832854334622,.16007832854334622,.10693932599531843,.10693932599531843,.04717533638651183,.04717533638651183],[.2325515532308739,.22628318026289723,.22628318026289723,.2078160475368885,.2078160475368885,.17814598076194574,.17814598076194574,.13887351021978725,.13887351021978725,.09212149983772845,.09212149983772845,.04048400476531588,.04048400476531588],[.2152638534631578,.2152638534631578,.2051984637212956,.2051984637212956,.18553839747793782,.18553839747793782,.15720316715819355,.15720316715819355,.12151857068790319,.12151857068790319,.08015808715976021,.08015808715976021,.03511946033175186,.03511946033175186],[.2025782419255613,.19843148532711158,.19843148532711158,.1861610000155622,.1861610000155622,.16626920581699392,.16626920581699392,.13957067792615432,.13957067792615432,.10715922046717194,.10715922046717194,.07036604748810812,.07036604748810812,.03075324199611727,.03075324199611727],[.1894506104550685,.1894506104550685,.18260341504492358,.18260341504492358,.16915651939500254,.16915651939500254,.14959598881657674,.14959598881657674,.12462897125553388,.12462897125553388,.09515851168249279,.09515851168249279,.062253523938647894,.062253523938647894,.027152459411754096,.027152459411754096],[.17944647035620653,.17656270536699264,.17656270536699264,.16800410215645004,.16800410215645004,.15404576107681028,.15404576107681028,.13513636846852548,.13513636846852548,.11188384719340397,.11188384719340397,.08503614831717918,.08503614831717918,.0554595293739872,.0554595293739872,.02414830286854793,.02414830286854793],[.1691423829631436,.1691423829631436,.16427648374583273,.16427648374583273,.15468467512626524,.15468467512626524,.14064291467065065,.14064291467065065,.12255520671147846,.12255520671147846,.10094204410628717,.10094204410628717,.07642573025488905,.07642573025488905,.0497145488949698,.0497145488949698,.02161601352648331,.02161601352648331],[.1610544498487837,.15896884339395434,.15896884339395434,.15276604206585967,.15276604206585967,.1426067021736066,.1426067021736066,.12875396253933621,.12875396253933621,.11156664554733399,.11156664554733399,.09149002162245,.09149002162245,.06904454273764123,.06904454273764123,.0448142267656996,.0448142267656996,.019461788229726478,.019461788229726478],[.15275338713072584,.15275338713072584,.14917298647260374,.14917298647260374,.14209610931838204,.14209610931838204,.13168863844917664,.13168863844917664,.11819453196151841,.11819453196151841,.10193011981724044,.10193011981724044,.08327674157670475,.08327674157670475,.06267204833410907,.06267204833410907,.04060142980038694,.04060142980038694,.017614007139152118,.017614007139152118],[.14608113364969041,.14452440398997005,.14452440398997005,.13988739479107315,.13988739479107315,.13226893863333747,.13226893863333747,.12183141605372853,.12183141605372853,.10879729916714838,.10879729916714838,.09344442345603386,.09344442345603386,.0761001136283793,.0761001136283793,.057134425426857205,.057134425426857205,.036953789770852494,.036953789770852494,.016017228257774335,.016017228257774335],[.13925187285563198,.13925187285563198,.13654149834601517,.13654149834601517,.13117350478706238,.13117350478706238,.12325237681051242,.12325237681051242,.11293229608053922,.11293229608053922,.10041414444288096,.10041414444288096,.08594160621706773,.08594160621706773,.06979646842452049,.06979646842452049,.052293335152683286,.052293335152683286,.03377490158481415,.03377490158481415,.0146279952982722,.0146279952982722],[.13365457218610619,.1324620394046966,.1324620394046966,.12890572218808216,.12890572218808216,.12304908430672953,.12304908430672953,.11499664022241136,.11499664022241136,.10489209146454141,.10489209146454141,.09291576606003515,.09291576606003515,.07928141177671895,.07928141177671895,.06423242140852585,.06423242140852585,.04803767173108467,.04803767173108467,.030988005856979445,.030988005856979445,.013411859487141771,.013411859487141771],[.12793819534675216,.12793819534675216,.1258374563468283,.1258374563468283,.12167047292780339,.12167047292780339,.1155056680537256,.1155056680537256,.10744427011596563,.10744427011596563,.09761865210411388,.09761865210411388,.08619016153195327,.08619016153195327,.0733464814110803,.0733464814110803,.05929858491543678,.05929858491543678,.04427743881741981,.04427743881741981,.028531388628933663,.028531388628933663,.0123412297999872,.0123412297999872]],Vt=[[1],[1,1],[1,2,1],[1,3,3,1]],Ht=2*Math.PI,Bt=function(t,e,r,n,i,s,o,a,u){var c=Math.sin(i*Ht/360),h=Math.cos(i*Ht/360),f=h*(t-a)/2+c*(e-u)/2,l=-c*(t-a)/2+h*(e-u)/2;if(0===f&&0===l)return[];if(0===r||0===n)return[];r=Math.abs(r),n=Math.abs(n);var p=f*f/(r*r)+l*l/(n*n);p>1&&(r*=Math.sqrt(p),n*=Math.sqrt(p));var d=function(t,e,r,n,i,s,o,a,u,c){var h=c*(t-r)/2+u*(e-n)/2,f=-u*(t-r)/2+c*(e-n)/2,l=o*o,p=a*a,d=h*h,g=f*f,m=l*p-l*g-p*d;m<0&&(m=0),m/=l*g+p*d;var E=(m=Math.sqrt(m)*(i===s?-1:1))*o/a*f,S=m*-a/o*h,v=c*E-u*S+(t+r)/2,_=u*E+c*S+(e+n)/2,y=(h-E)/o,x=(f-S)/a,P=(-h-E)/o,A=(-f-S)/a,I=N(1,0,y,x),M=N(y,x,P,A);return 0===s&&M>0&&(M-=Ht),1===s&&M<0&&(M+=Ht),[v,_,I,M]}(t,e,a,u,s,o,r,n,c,h),g=[],m=d[2],E=d[3],S=Math.max(Math.ceil(Math.abs(E)/(Ht/4)),1);E/=S;for(var v=0;v<S;v++)g.push(O(m,E)),m+=E;return g.map((function(t){for(var e=0;e<t.length;e+=2){var i=t[e+0],s=t[e+1],o=h*(i*=r)-c*(s*=n),a=c*i+h*s;t[e+0]=o+d[0],t[e+1]=a+d[1]}return t}))},Kt=function(t,e,r,n,i,s,o,a,u){return new T(t,e,r,n,i,s,o,a,u)};T.prototype={constructor:T,init:function(){},getTotalLength:function(){return this.length},getPointAtLength:function(t){t<0?t=0:t>this.length&&(t=this.length);for(var e=this.partialLengths.length-1;this.partialLengths[e]>=t&&this.partialLengths[e]>0;)e--;e<this.partialLengths.length-1&&e++;for(var r=0,n=0;n<e;n++)r+=this.partialLengths[n];return this.curves[e].getPointAtLength(t-r)},getTangentAtLength:function(t){t<0?t=0:t>this.length&&(t=this.length);for(var e=this.partialLengths.length-1;this.partialLengths[e]>=t&&this.partialLengths[e]>0;)e--;e<this.partialLengths.length-1&&e++;for(var r=0,n=0;n<e;n++)r+=this.partialLengths[n];return this.curves[e].getTangentAtLength(t-r)},getPropertiesAtLength:function(t){var e=this.getTangentAtLength(t),r=this.getPointAtLength(t);return{x:r.x,y:r.y,tangentX:e.x,tangentY:e.y}}};var Ft=function(t,e,r,n){return new b(t,e,r,n)};b.prototype.getTotalLength=function(){return Math.sqrt(Math.pow(this.x0-this.x1,2)+Math.pow(this.y0-this.y1,2))},b.prototype.getPointAtLength=function(t){var e=t/Math.sqrt(Math.pow(this.x0-this.x1,2)+Math.pow(this.y0-this.y1,2)),r=(this.x1-this.x0)*e,n=(this.y1-this.y0)*e;return{x:this.x0+r,y:this.y0+n}},b.prototype.getTangentAtLength=function(){var t=Math.sqrt((this.x1-this.x0)*(this.x1-this.x0)+(this.y1-this.y0)*(this.y1-this.y0));return{x:(this.x1-this.x0)/t,y:(this.y1-this.y0)/t}},b.prototype.getPropertiesAtLength=function(t){var e=this.getPointAtLength(t),r=this.getTangentAtLength();return{x:e.x,y:e.y,tangentX:r.x,tangentY:r.y}};var zt=function(t){function e(t){if(!t)return null;for(var s,o=kt(t),a=[0,0],u=[0,0],c=0;c<o.length;c++)"M"===o[c][0]?(a=[o[c][1],o[c][2]],i.push(null)):"m"===o[c][0]?(a=[o[c][1]+a[0],o[c][2]+a[1]],i.push(null)):"L"===o[c][0]?(r+=Math.sqrt(Math.pow(a[0]-o[c][1],2)+Math.pow(a[1]-o[c][2],2)),i.push(new Ft(a[0],o[c][1],a[1],o[c][2])),a=[o[c][1],o[c][2]]):"l"===o[c][0]?(r+=Math.sqrt(Math.pow(o[c][1],2)+Math.pow(o[c][2],2)),i.push(new Ft(a[0],o[c][1]+a[0],a[1],o[c][2]+a[1])),a=[o[c][1]+a[0],o[c][2]+a[1]]):"H"===o[c][0]?(r+=Math.abs(a[0]-o[c][1]),i.push(new Ft(a[0],o[c][1],a[1],a[1])),a[0]=o[c][1]):"h"===o[c][0]?(r+=Math.abs(o[c][1]),i.push(new Ft(a[0],a[0]+o[c][1],a[1],a[1])),a[0]=o[c][1]+a[0]):"V"===o[c][0]?(r+=Math.abs(a[1]-o[c][1]),i.push(new Ft(a[0],a[0],a[1],o[c][1])),a[1]=o[c][1]):"v"===o[c][0]?(r+=Math.abs(o[c][1]),i.push(new Ft(a[0],a[0],a[1],a[1]+o[c][1])),a[1]=o[c][1]+a[1]):"z"===o[c][0]||"Z"===o[c][0]?(r+=Math.sqrt(Math.pow(o[0][1]-a[0],2)+Math.pow(o[0][2]-a[1],2)),i.push(new Ft(a[0],o[0][1],a[1],o[0][2])),a=[o[0][1],o[0][2]]):"C"===o[c][0]?(s=new qt(a[0],a[1],o[c][1],o[c][2],o[c][3],o[c][4],o[c][5],o[c][6]),r+=s.getTotalLength(),a=[o[c][5],o[c][6]],i.push(s)):"c"===o[c][0]?(s=new qt(a[0],a[1],a[0]+o[c][1],a[1]+o[c][2],a[0]+o[c][3],a[1]+o[c][4],a[0]+o[c][5],a[1]+o[c][6]),r+=s.getTotalLength(),a=[o[c][5]+a[0],o[c][6]+a[1]],i.push(s)):"S"===o[c][0]?(s=c>0&&["C","c","S","s"].indexOf(o[c-1][0])>-1?new qt(a[0],a[1],2*a[0]-o[c-1][o[c-1].length-4],2*a[1]-o[c-1][o[c-1].length-3],o[c][1],o[c][2],o[c][3],o[c][4]):new qt(a[0],a[1],a[0],a[1],o[c][1],o[c][2],o[c][3],o[c][4]),r+=s.getTotalLength(),a=[o[c][3],o[c][4]],i.push(s)):"s"===o[c][0]?(s=c>0&&["C","c","S","s"].indexOf(o[c-1][0])>-1?new qt(a[0],a[1],a[0]+s.d.x-s.c.x,a[1]+s.d.y-s.c.y,a[0]+o[c][1],a[1]+o[c][2],a[0]+o[c][3],a[1]+o[c][4]):new qt(a[0],a[1],a[0],a[1],a[0]+o[c][1],a[1]+o[c][2],a[0]+o[c][3],a[1]+o[c][4]),r+=s.getTotalLength(),a=[o[c][3]+a[0],o[c][4]+a[1]],i.push(s)):"Q"===o[c][0]?(s=new qt(a[0],a[1],o[c][1],o[c][2],o[c][3],o[c][4]),r+=s.getTotalLength(),i.push(s),a=[o[c][3],o[c][4]],u=[o[c][1],o[c][2]]):"q"===o[c][0]?(s=new qt(a[0],a[1],a[0]+o[c][1],a[1]+o[c][2],a[0]+o[c][3],a[1]+o[c][4]),r+=s.getTotalLength(),u=[a[0]+o[c][1],a[1]+o[c][2]],a=[o[c][3]+a[0],o[c][4]+a[1]],i.push(s)):"T"===o[c][0]?(s=c>0&&["Q","q","T","t"].indexOf(o[c-1][0])>-1?new qt(a[0],a[1],2*a[0]-u[0],2*a[1]-u[1],o[c][1],o[c][2]):new Ft(a[0],o[c][1],a[1],o[c][2]),i.push(s),r+=s.getTotalLength(),u=[2*a[0]-u[0],2*a[1]-u[1]],a=[o[c][1],o[c][2]]):"t"===o[c][0]?(s=c>0&&["Q","q","T","t"].indexOf(o[c-1][0])>-1?new qt(a[0],a[1],2*a[0]-u[0],2*a[1]-u[1],a[0]+o[c][1],a[1]+o[c][2]):new Ft(a[0],a[0]+o[c][1],a[1],a[1]+o[c][2]),r+=s.getTotalLength(),u=[2*a[0]-u[0],2*a[1]-u[1]],a=[o[c][1]+a[0],o[c][2]+a[0]],i.push(s)):"A"===o[c][0]?(s=new Kt(a[0],a[1],o[c][1],o[c][2],o[c][3],o[c][4],o[c][5],o[c][6],o[c][7]),r+=s.getTotalLength(),a=[o[c][6],o[c][7]],i.push(s)):"a"===o[c][0]&&(s=new Kt(a[0],a[1],o[c][1],o[c][2],o[c][3],o[c][4],o[c][5],a[0]+o[c][6],a[1]+o[c][7]),r+=s.getTotalLength(),a=[a[0]+o[c][6],a[1]+o[c][7]],i.push(s)),n.push(r);return e}var r=0,n=[],i=[];e.getTotalLength=function(){return r},e.getPointAtLength=function(t){var e=s(t);return i[e.i].getPointAtLength(e.fraction)},e.getTangentAtLength=function(t){var e=s(t);return i[e.i].getTangentAtLength(e.fraction)},e.getPropertiesAtLength=function(t){var e=s(t);return i[e.i].getPropertiesAtLength(e.fraction)};var s=function(t){t<0?t=0:t>r&&(t=r);for(var e=n.length-1;n[e]>=t&&n[e]>0;)e--;return e++,{fraction:t-n[e-1],i:e}};return e(t)},Wt='All shapes must be supplied as arrays of [x, y] points or an SVG path string (https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/d).\nExample valid ways of supplying a shape would be:\n[[0, 0], [10, 0], [10, 10]]\n"M0,0 L10,0 L10,10Z"\n',Zt="flubber.all() expects two arrays of equal length as arguments. Each element in both arrays should be an array of [x, y] points or an SVG path string (https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/d).",Yt=function(t,e){for(var r,n,i,s=t.length,o=1/0,a=0;a<s;a++)!function(i){n=0,e.forEach((function(e,r){var o=R(t[(i+r)%s],e);n+=o*o})),n<o&&(o=n,r=i)}(a);r&&(i=t.splice(0,r),t.splice.apply(t,[t.length,0].concat(i)))},Jt=B;B.deviation=function(t,e,r,n){var i=e&&e.length,s=i?e[0]*r:t.length,o=Math.abs(ft(t,0,s,r));if(i)for(var a=0,u=e.length;a<u;a++){var c=e[a]*r,h=a<u-1?e[a+1]*r:t.length;o-=Math.abs(ft(t,c,h,r))}var f=0;for(a=0;a<n.length;a+=3){var l=n[a]*r,p=n[a+1]*r,d=n[a+2]*r;f+=Math.abs((t[l]-t[d])*(t[p+1]-t[l+1])-(t[l]-t[p])*(t[d+1]-t[l+1]))}return 0===o&&0===f?0:Math.abs((f-o)/o)},B.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},n=0,i=0;i<t.length;i++){for(var s=0;s<t[i].length;s++)for(var o=0;o<e;o++)r.vertices.push(t[i][s][o]);i>0&&(n+=t[i-1].length,r.holes.push(n))}return r};var Xt=function(t){return t},Qt=function(t){if(null==t)return Xt;var e,r,n=t.scale[0],i=t.scale[1],s=t.translate[0],o=t.translate[1];return function(t,a){a||(e=r=0);var u=2,c=t.length,h=new Array(c);for(h[0]=(e+=t[0])*n+s,h[1]=(r+=t[1])*i+o;u<c;)h[u]=t[u],++u;return h}},$t=function(t,e){for(var r,n=t.length,i=n-e;i<--n;)r=t[i],t[i++]=t[n],t[n]=r},te=function(t,e){return"GeometryCollection"===e.type?{type:"FeatureCollection",features:e.geometries.map((function(e){return lt(t,e)}))}:lt(t,e)},ee=function(t,e){function r(e){var r,n=t.arcs[e<0?~e:e],i=n[0];return t.transform?(r=[0,0],n.forEach((function(t){r[0]+=t[0],r[1]+=t[1]}))):r=n[n.length-1],e<0?[r,i]:[i,r]}function n(t,e){for(var r in t){var n=t[r];delete e[n.start],delete n.start,delete n.end,n.forEach((function(t){i[t<0?~t:t]=1})),a.push(n)}}var i={},s={},o={},a=[],u=-1;return e.forEach((function(r,n){var i,s=t.arcs[r<0?~r:r];s.length<3&&!s[1][0]&&!s[1][1]&&(i=e[++u],e[u]=r,e[n]=i)})),e.forEach((function(t){var e,n,i=r(t),a=i[0],u=i[1];if(e=o[a])if(delete o[e.end],e.push(t),e.end=u,n=s[u]){delete s[n.start];var c=n===e?e:e.concat(n);s[c.start=e.start]=o[c.end=n.end]=c}else s[e.start]=o[e.end]=e;else if(e=s[u])if(delete s[e.start],e.unshift(t),e.start=a,n=o[a]){delete o[n.end];var h=n===e?e:n.concat(e);s[h.start=n.start]=o[h.end=e.end]=h}else s[e.start]=o[e.end]=e;else s[(e=[t]).start=a]=o[e.end=u]=e})),n(o,s),n(s,o),e.forEach((function(t){i[t<0?~t:t]||a.push([t])})),a},re=function(t,e){for(var r=0,n=t.length;r<n;){var i=r+n>>>1;t[i]<e?r=i+1:n=i}return r},ne=function(t){function e(t,e){t.forEach((function(t){t<0&&(t=~t);var r=n[t];r?r.push(e):n[t]=[e]}))}function r(t,r){t.forEach((function(t){e(t,r)}))}var n={},i=t.map((function(){return[]})),s={LineString:e,MultiLineString:r,Polygon:r,MultiPolygon:function(t,e){t.forEach((function(t){r(t,e)}))}};for(var o in t.forEach((function t(e,r){"GeometryCollection"===e.type?e.geometries.forEach((function(e){t(e,r)})):e.type in s&&s[e.type](e.arcs,r)})),n)for(var a=n[o],u=a.length,c=0;c<u;++c)for(var h=c+1;h<u;++h){var f,l=a[c],p=a[h];(f=i[l])[o=re(f,p)]!==p&&f.splice(o,0,p),(f=i[p])[o=re(f,l)]!==l&&f.splice(o,0,l)}return i},ie=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN},se=function(t){return 1===t.length&&(t=function(t){return function(e,r){return ie(t(e),r)}}(t)),{left:function(e,r,n,i){for(null==n&&(n=0),null==i&&(i=e.length);n<i;){var s=n+i>>>1;t(e[s],r)<0?n=s+1:i=s}return n},right:function(e,r,n,i){for(null==n&&(n=0),null==i&&(i=e.length);n<i;){var s=n+i>>>1;t(e[s],r)>0?i=s:n=s+1}return n}}},oe=(se(ie).right,Math.sqrt(50),Math.sqrt(10),Math.sqrt(2),function(t,e){return function(t,e){for(var r=t.objects.triangles.geometries,n=se((function(t){return t.area})).left;r.length>e;)!function(){var e=r[0],i=ne(r)[0][0],s=r[i],o=dt(t,[e,s]);o.area=e.area+s.area,o.type="Polygon",o.arcs=o.arcs[0],r.splice(i,1),r.shift(),r.splice(n(r,o.area),0,o)}();if(e>r.length)throw new RangeError("Can't collapse topology into "+e+" pieces.");return te(t,t.objects.triangles).features.map((function(t){return t.geometry.coordinates[0].pop(),t.geometry.coordinates[0]}))}(function(t,e){var r={},n={type:"Topology",objects:{triangles:{type:"GeometryCollection",geometries:[]}},arcs:[]};return t.forEach((function(t){var i=[];t.forEach((function(t,s){var o=t[0]<t[1]?t.join(","):t[1]+","+t[0],a=t.map((function(t){return e[t]}));o in r?i.push(~r[o]):(i.push(r[o]=n.arcs.length),n.arcs.push(a))})),n.objects.triangles.geometries.push({type:"Polygon",area:Math.abs(_t(t.map((function(t){return e[t[0]]})))),arcs:[i]})})),n.objects.triangles.geometries.sort((function(t,e){return t.area-e.area})),n}(function(t){for(var e=Jt(t.reduce((function(t,e){return t.concat([e[0]],[e[1]])}),[])),r=[],n=0,i=e.length;n<i;n+=3)r.push([[e[n],e[n+1]],[e[n+1],e[n+2]],[e[n+2],e[n]]]);return r}(t),t),e)}),ae=function(t,e){if(t.length>8)return t.map((function(t,e){return e}));var r=t.map((function(t){return e.map((function(e){return function(t,e){var r=R(C(t),C(e));return r*r}(t,e)}))}));return function(t,e,r){var n=1/0,i=t.map((function(t,e){return e}));return function t(e,s,o){void 0===s&&(s=[]),void 0===o&&(o=0);for(var a=0;a<e.length;a++){var u=e.splice(a,1),c=r[u[0]][s.length];o+c<n&&(e.length?t(e.slice(),s.concat(u),o+c):(n=o+c,i=s.concat(u))),e.length&&e.splice(a,0,u[0])}}(i),i}(t,0,r)};t.interpolate=function(t,e,r){void 0===r&&(r={});var n=r.maxSegmentLength;void 0===n&&(n=10);var i=r.string;void 0===i&&(i=!0);var s=H(V(t,n),V(e,n),i);return!i||"string"!=typeof t&&"string"!=typeof e?s:function(r){return r<1e-4&&"string"==typeof t?t:1-r<1e-4&&"string"==typeof e?e:s(r)}},t.separate=gt,t.combine=function(t,e,r){void 0===r&&(r={});var n=r.maxSegmentLength;void 0===n&&(n=10);var i=r.string;void 0===i&&(i=!0);var s=r.single;void 0===s&&(s=!1);var o=gt(e,t,{maxSegmentLength:n,string:i,single:s});return s?function(t){return o(1-t)}:o.map((function(t){return function(e){return t(1-e)}}))},t.interpolateAll=function(t,e,r){void 0===r&&(r={});var n=r.maxSegmentLength;void 0===n&&(n=10);var i=r.string;void 0===i&&(i=!0);var s=r.single;if(void 0===s&&(s=!1),!Array.isArray(t)||!Array.isArray(e)||t.length!==e.length||!t.length)throw new TypeError(Zt);var o,a,u=function(t){return V(t,n)},c=t.map(u),h=e.map(u);return s?(t.every((function(t){return"string"==typeof t}))&&(o=t.slice(0)),e.every((function(t){return"string"==typeof t}))&&(a=e.slice(0))):(o=t.slice(0),a=e.slice(0)),mt(c,h,{string:i,single:s,t0:o,t1:a,match:!1})},t.splitPathString=function(t){return j(k(t))},t.toPathString=q,t.fromCircle=Et,t.toCircle=function(t,e,r,n,i){var s=Et(e,r,n,t,i);return function(t){return s(1-t)}},t.fromRect=St,t.toRect=function(t,e,r,n,i,s){var o=St(e,r,n,i,t,s);return function(t){return o(1-t)}},Object.defineProperty(t,"__esModule",{value:!0})}(e)},10436:function(t,e,r){var n=r(10437),i=r(11257),s=r(11258),o=parseFloat,a=Math.min,u=Math.random;t.exports=function(t,e,r){if(r&&"boolean"!=typeof r&&i(t,e,r)&&(e=r=void 0),void 0===r&&("boolean"==typeof e?(r=e,e=void 0):"boolean"==typeof t&&(r=t,t=void 0)),void 0===t&&void 0===e?(t=0,e=1):(t=s(t),void 0===e?(e=t,t=0):e=s(e)),t>e){var c=t;t=e,e=c}if(r||t%1||e%1){var h=u();return a(t+h*(e-t+o("1e-"+((h+"").length-1))),e)}return n(t,e)}},10437:function(t,e){var r=Math.floor,n=Math.random;t.exports=function(t,e){return t+r(n()*(e-t+1))}},10475:function(t,e,r){var n=r(11495),i=r(11498),s=r(11499);t.exports=function(t,e,r,o,a,u){var c=1&r,h=t.length,f=e.length;if(h!=f&&!(c&&f>h))return!1;var l=u.get(t);if(l&&u.get(e))return l==e;var p=-1,d=!0,g=2&r?new n:void 0;for(u.set(t,e),u.set(e,t);++p<h;){var m=t[p],E=e[p];if(o)var S=c?o(E,m,p,e,t,u):o(m,E,p,t,e,u);if(void 0!==S){if(S)continue;d=!1;break}if(g){if(!i(e,(function(t,e){if(!s(g,e)&&(m===t||a(m,t,r,o,u)))return g.push(e)}))){d=!1;break}}else if(m!==E&&!a(m,E,r,o,u)){d=!1;break}}return u.delete(t),u.delete(e),d}},11061:function(t,e,r){var n=r(1289),i=r(11062);t.exports=function(t){return i(n(t).toLowerCase())}},11062:function(t,e,r){var n=r(11063)("toUpperCase");t.exports=n},11063:function(t,e,r){var n=r(11064),i=r(10381),s=r(11065),o=r(1289);t.exports=function(t){return function(e){e=o(e);var r=i(e)?s(e):void 0,a=r?r[0]:e.charAt(0),u=r?n(r,1).join(""):e.slice(1);return a[t]()+u}}},11064:function(t,e,r){var n=r(10338);t.exports=function(t,e,r){var i=t.length;return r=void 0===r?i:r,!e&&r>=i?t:n(t,e,r)}},11065:function(t,e,r){var n=r(11066),i=r(10381),s=r(11067);t.exports=function(t){return i(t)?s(t):n(t)}},11066:function(t,e){t.exports=function(t){return t.split("")}},11067:function(t,e){var r="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",s="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+n+"|"+i+")"+"?",c="[\\ufe0e\\ufe0f]?"+u+("(?:\\u200d(?:"+[s,o,a].join("|")+")[\\ufe0e\\ufe0f]?"+u+")*"),h="(?:"+[s+n+"?",n,o,a,r].join("|")+")",f=RegExp(i+"(?="+i+")|"+h+c,"g");t.exports=function(t){return t.match(f)||[]}},11068:function(t,e,r){var n=r(11069),i=r(11070),s=r(11073),o=RegExp("['’]","g");t.exports=function(t){return function(e){return n(s(i(e).replace(o,"")),t,"")}}},11069:function(t,e){t.exports=function(t,e,r,n){var i=-1,s=null==t?0:t.length;for(n&&s&&(r=t[++i]);++i<s;)r=e(r,t[i],i,t);return r}},11070:function(t,e,r){var n=r(11071),i=r(1289),s=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=function(t){return(t=i(t))&&t.replace(s,n).replace(o,"")}},11071:function(t,e,r){var n=r(11072)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});t.exports=n},11072:function(t,e){t.exports=function(t){return function(e){return null==t?void 0:t[e]}}},11073:function(t,e,r){var n=r(11074),i=r(11075),s=r(1289),o=r(11076);t.exports=function(t,e,r){return t=s(t),void 0===(e=r?void 0:e)?i(t)?o(t):n(t):t.match(e)||[]}},11074:function(t,e){var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(t){return t.match(r)||[]}},11075:function(t,e){var r=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(t){return r.test(t)}},11076:function(t,e){var r="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",n="["+r+"]",i="\\d+",s="[\\u2700-\\u27bf]",o="[a-z\\xdf-\\xf6\\xf8-\\xff]",a="[^\\ud800-\\udfff"+r+i+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",h="[A-Z\\xc0-\\xd6\\xd8-\\xde]",f="(?:"+o+"|"+a+")",l="(?:"+h+"|"+a+")",p="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",d="[\\ufe0e\\ufe0f]?"+p+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",u,c].join("|")+")[\\ufe0e\\ufe0f]?"+p+")*"),g="(?:"+[s,u,c].join("|")+")"+d,m=RegExp([h+"?"+o+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[n,h,"$"].join("|")+")",l+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[n,h+f,"$"].join("|")+")",h+"?"+f+"+(?:['’](?:d|ll|m|re|s|t|ve))?",h+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",i,g].join("|"),"g");t.exports=function(t){return t.match(m)||[]}},11257:function(t,e,r){var n=r(9120),i=r(8841),s=r(9122),o=r(406);t.exports=function(t,e,r){if(!o(r))return!1;var a=typeof e;return!!("number"==a?i(r)&&s(e,r.length):"string"==a&&e in r)&&n(r[e],t)}},11258:function(t,e,r){var n=r(1411);t.exports=function(t){return t?(t=n(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},11494:function(t,e,r){var n=r(9384),i=r(10475),s=r(11500),o=r(11503),a=r(9123),u=r(711),c=r(9385),h=r(10328),f="[object Object]",l=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,p,d,g){var m=u(t),E=u(e),S=m?"[object Array]":a(t),v=E?"[object Array]":a(e),_=(S="[object Arguments]"==S?f:S)==f,y=(v="[object Arguments]"==v?f:v)==f,x=S==v;if(x&&c(t)){if(!c(e))return!1;m=!0,_=!1}if(x&&!_)return g||(g=new n),m||h(t)?i(t,e,r,p,d,g):s(t,e,S,r,p,d,g);if(!(1&r)){var P=_&&l.call(t,"__wrapped__"),A=y&&l.call(e,"__wrapped__");if(P||A){var I=P?t.value():t,M=A?e.value():e;return g||(g=new n),d(I,M,r,p,g)}}return!!x&&(g||(g=new n),o(t,e,r,p,d,g))}},11495:function(t,e,r){var n=r(9379),i=r(11496),s=r(11497);function o(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}o.prototype.add=o.prototype.push=i,o.prototype.has=s,t.exports=o},11496:function(t,e){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},11497:function(t,e){t.exports=function(t){return this.__data__.has(t)}},11498:function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},11499:function(t,e){t.exports=function(t,e){return t.has(e)}},11500:function(t,e,r){var n=r(309),i=r(10337),s=r(9120),o=r(10475),a=r(11501),u=r(11502),c=n?n.prototype:void 0,h=c?c.valueOf:void 0;t.exports=function(t,e,r,n,c,f,l){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new i(t),new i(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return s(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var p=a;case"[object Set]":var d=1&n;if(p||(p=u),t.size!=e.size&&!d)return!1;var g=l.get(t);if(g)return g==e;n|=2,l.set(t,e);var m=o(p(t),p(e),n,c,f,l);return l.delete(t),m;case"[object Symbol]":if(h)return h.call(t)==h.call(e)}return!1}},11501:function(t,e){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},11502:function(t,e){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},11503:function(t,e,r){var n=r(10334),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,s,o,a){var u=1&r,c=n(t),h=c.length;if(h!=n(e).length&&!u)return!1;for(var f=h;f--;){var l=c[f];if(!(u?l in e:i.call(e,l)))return!1}var p=a.get(t);if(p&&a.get(e))return p==e;var d=!0;a.set(t,e),a.set(e,t);for(var g=u;++f<h;){var m=t[l=c[f]],E=e[l];if(s)var S=u?s(E,m,l,e,t,a):s(m,E,l,t,e,a);if(!(void 0===S?m===E||o(m,E,r,s,a):S)){d=!1;break}g||(g="constructor"==l)}if(d&&!g){var v=t.constructor,_=e.constructor;v==_||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof _&&_ instanceof _||(d=!1)}return a.delete(t),a.delete(e),d}},11694:function(t,e){var r=function(){"use strict";function t(){this.dataPoints_=[],this.color_="red",this.isVisible_=!0,this.cacheStartTime_=null,this.cacheStepSize_=0,this.cacheValues_=[]}function e(t,e){this.time=t,this.value=e}return t.prototype={toJSON:function(){if(this.dataPoints_.length<1)return{};for(var t=[],e=0;e<this.dataPoints_.length;++e)t.push(this.dataPoints_[e].value);return{startTime:this.dataPoints_[0].time,endTime:this.dataPoints_[this.dataPoints_.length-1].time,values:JSON.stringify(t)}},addPoint:function(t,r){var n=new Date(t);this.dataPoints_.push(new e(n,r)),this.dataPoints_.length>1e3&&this.dataPoints_.shift()},isVisible:function(){return this.isVisible_},show:function(t){this.isVisible_=t},getColor:function(){return this.color_},setColor:function(t){this.color_=t},getCount:function(){return this.dataPoints_.length},getValues:function(t,e,r){return this.cacheStartTime_==t&&this.cacheStepSize_==e&&this.cacheValues_.length==r||(this.cacheValues_=this.getValuesInternal_(t,e,r),this.cacheStartTime_=t,this.cacheStepSize_=e),this.cacheValues_},getValuesInternal_:function(t,e,r){for(var n=[],i=0,s=0,o=t,a=0;a<r;++a){for(;i<this.dataPoints_.length&&this.dataPoints_[i].time<o;)s=this.dataPoints_[i].value,++i;n[a]=s,o+=e}return n}},t}();t.exports=r},11695:function(t,e){var r=function(){"use strict";function t(t){this.scrollbar_={position_:0,range_:0},this.canvas_=t,this.gridColor="#CCC",this.textColor="#000",this.backgroundColor="#FFF",this.timeLocales=[],this.timeOptions={},this.startTime_=0,this.endTime_=1,this.graph_=null,this.scale_=1e3,this.updateScrollbarRange_(!0)}t.prototype={setScale:function(t){this.scale_=t},getLength_:function(){var t=this.endTime_-this.startTime_;return Math.floor(t/this.scale_)},graphScrolledToRightEdge_:function(){return this.scrollbar_.position_==this.scrollbar_.range_},updateScrollbarRange_:function(t){var e=this.getLength_()-this.canvas_.width;e<0&&(e=0),this.scrollbar_.position_>e&&(t=!0),this.scrollbar_.range_=e,t&&(this.scrollbar_.position_=e,this.repaint())},setDateRange:function(t,e){this.startTime_=t.getTime(),this.endTime_=e.getTime(),this.endTime_<=this.startTime_&&(this.startTime_=this.endTime_-1),this.updateScrollbarRange_(!0)},updateEndDate:function(t){this.endTime_=t||(new Date).getTime(),this.updateScrollbarRange_(this.graphScrolledToRightEdge_())},getStartDate:function(){return new Date(this.startTime_)},setDataSeries:function(t){this.graph_=new e;for(var r=0;r<t.length;++r)this.graph_.addDataSeries(t[r]);this.repaint()},addDataSeries:function(t){this.graph_||(this.graph_=new e),this.graph_.addDataSeries(t),this.repaint()},repaint:function(){if(null!==this.canvas_.offsetParent){this.repaintTimerRunning_=!1;var t=this.canvas_.width,e=this.canvas_.height,r=this.canvas_.getContext("2d");r.fillStyle=this.backgroundColor,r.fillRect(0,0,t,e);var n=r.font.match(/([0-9]+)px/)[1],i=parseInt(n);if(!(0==n.length||i<=0||4*i>e||t<50)){r.save(),r.translate(.5,.5);var s=this.scrollbar_.position_;0==this.scrollbar_.range_&&(s=this.getLength_()-this.canvas_.width);var o=this.startTime_+s*this.scale_,a=e;e-=i+4,this.drawTimeLabels(r,t,e,a,o),r.strokeStyle=this.gridColor,r.strokeRect(0,0,t-1,e-1),this.graph_&&(this.graph_.layout(t,e,i,o,this.scale_),this.graph_.drawTicks(r),this.graph_.drawLines(r),this.graph_.drawLabels(r)),r.restore()}}},drawTimeLabels:function(t,e,r,n,i){var s=6e4*Math.ceil(i/6e4);for(t.textBaseline="bottom",t.textAlign="center",t.fillStyle=this.textColor,t.strokeStyle=this.gridColor;;){var o=Math.round((s-i)/this.scale_);if(o>=e)break;var a=new Date(s).toLocaleTimeString(this.timeLocales,this.timeOptions);t.fillText(a,o,n),t.beginPath(),t.lineTo(o,0),t.lineTo(o,r),t.stroke(),s+=6e4}},getDataSeriesCount:function(){return this.graph_?this.graph_.dataSeries_.length:0},hasDataSeries:function(t){return!!this.graph_&&this.graph_.hasDataSeries(t)}};var e=function(){function t(){this.dataSeries_=[],this.width_=0,this.height_=0,this.fontHeight_=0,this.startTime_=0,this.scale_=0,this.min_=0,this.max_=0,this.labels_=[]}return t.prototype={addDataSeries:function(t){this.dataSeries_.push(t)},hasDataSeries:function(t){for(var e=0;e<this.dataSeries_.length;++e)if(this.dataSeries_[e]==t)return!0;return!1},getValues:function(t){return t.isVisible()?t.getValues(this.startTime_,this.scale_,this.width_):null},layout:function(t,e,r,n,i){this.width_=t,this.height_=e,this.fontHeight_=r,this.startTime_=n,this.scale_=i;for(var s=0,o=0,a=0;a<this.dataSeries_.length;++a){var u=this.getValues(this.dataSeries_[a]);if(u)for(var c=0;c<u.length;++c)u[c]>s?s=u[c]:u[c]<o&&(o=u[c])}this.layoutLabels_(o,s)},layoutLabels_:function(t,e){if(e-t<1024)this.layoutLabelsBasic_(t,e,2);else{var r=["","k","M","G","T","P"],n=1;for(t/=1024,e/=1024;r[n+1]&&e-t>=1024;)t/=1024,e/=1024,++n;this.layoutLabelsBasic_(t,e,2);for(var i=0;i<this.labels_.length;++i)this.labels_[i]+=" "+r[n];this.min_*=Math.pow(1024,n),this.max_*=Math.pow(1024,n)}},layoutLabelsBasic_:function(t,e,r){this.labels_=[];var n=e-t;if(0!=n){var i=2*this.fontHeight_+4,s=1+this.height_/i;s<2?s=2:s>6&&(s=6);for(var o=Math.pow(10,-r),a=r;!(Math.ceil(n/o)+1<=s);){if(Math.ceil(n/(2*o))+1<=s){o*=2;break}if(Math.ceil(n/(5*o))+1<=s){o*=5;break}o*=10,a>0&&--a}this.max_=Math.ceil(e/o)*o,this.min_=Math.floor(t/o)*o;for(var u=this.max_;u>=this.min_;u-=o)this.labels_.push(u.toFixed(a))}else this.min_=this.max_=e},drawTicks:function(t){var e,r;e=this.width_-1,r=this.width_-1-10,t.fillStyle=this.gridColor,t.beginPath();for(var n=1;n<this.labels_.length-1;++n){var i=Math.round(this.height_*n/(this.labels_.length-1));t.moveTo(e,i),t.lineTo(r,i)}t.stroke()},drawLines:function(t){var e=0,r=this.height_-1;this.max_&&(e=r/(this.max_-this.min_));for(var n=this.dataSeries_.length-1;n>=0;--n){var i=this.getValues(this.dataSeries_[n]);if(i){t.strokeStyle=this.dataSeries_[n].getColor(),t.beginPath();for(var s=0;s<i.length;++s)t.lineTo(s,r-Math.round((i[s]-this.min_)*e));t.stroke()}}},drawLabels:function(t){if(0!=this.labels_.length){var e=this.width_-3;t.fillStyle=this.textColor,t.textAlign="right",t.textBaseline="top",t.fillText(this.labels_[0],e,0),t.textBaseline="bottom";for(var r=(this.height_-1)/(this.labels_.length-1),n=1;n<this.labels_.length;++n)t.fillText(this.labels_[n],e,r*n)}}},t}();return t}();t.exports=r},9801:function(t,e,r){var n=r(11061),i=r(11068)((function(t,e,r){return e=e.toLowerCase(),t+(r?n(e):e)}));t.exports=i}}]);
-//# sourceMappingURL=ba19b6d2d1f3edd4a7eb.js.map
\ No newline at end of file
diff --git a/api/assets/e852c523afaf4768e6bd.js b/api/assets/e852c523afaf4768e6bd.js
deleted file mode 100644
index e8976cfc..00000000
--- a/api/assets/e852c523afaf4768e6bd.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/*! For license information please see e852c523afaf4768e6bd.js.LICENSE.txt */
-(this.webpackJsonp=this.webpackJsonp||[]).push([[11],{1398:function(e,t,r){var n;n=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}return r.m=e,r.c=t,r.p="",r(0)}([function(e,t,r){"use strict";var n=r(1);e.exports=n},function(e,t,r){"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var r=Object.getOwnPropertyNames(t),n=0;n<r.length;n++){var o=r[n],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}}(e,t))}var c=r(2),u=r(14),l=r(19),f=r(16),p=r(32),h=r(15),d={alternatives:r(28),array:r(33),boolean:r(27),binary:r(34),date:r(20),number:r(26),object:r(29),string:r(21),root:function(){var e=new u,t=e.clone();return t.any=function(){return c.assert(0===arguments.length,"Joi.any() does not allow arguments."),e},t.alternatives=t.alt=function(){return arguments.length?d.alternatives.try.apply(d.alternatives,arguments):d.alternatives},t.array=function(){return c.assert(0===arguments.length,"Joi.array() does not allow arguments."),d.array},t.boolean=t.bool=function(){return c.assert(0===arguments.length,"Joi.boolean() does not allow arguments."),d.boolean},t.binary=function(){return c.assert(0===arguments.length,"Joi.binary() does not allow arguments."),d.binary},t.date=function(){return c.assert(0===arguments.length,"Joi.date() does not allow arguments."),d.date},t.func=function(){return c.assert(0===arguments.length,"Joi.func() does not allow arguments."),d.object._func()},t.number=function(){return c.assert(0===arguments.length,"Joi.number() does not allow arguments."),d.number},t.object=function(){return arguments.length?d.object.keys.apply(d.object,arguments):d.object},t.string=function(){return c.assert(0===arguments.length,"Joi.string() does not allow arguments."),d.string},t.ref=function(){return h.create.apply(null,arguments)},t.isRef=function(e){return h.isRef(e)},t.validate=function(r){var n=arguments[arguments.length-1],o="function"==typeof n?n:null,i=arguments.length-(o?1:0);if(1===i)return e.validate(r,o);var s=3===i?arguments[2]:{},a=t.compile(arguments[1]);return a._validateWithOptions(r,s,o)},t.describe=function(){var r=arguments.length?t.compile(arguments[0]):e;return r.describe()},t.compile=function(e){try{return l.schema(e)}catch(e){throw e.hasOwnProperty("path")&&(e.message=e.message+"("+e.path+")"),e}},t.assert=function(e,r,n){t.attempt(e,r,n)},t.attempt=function(e,r,n){var o=t.validate(e,r),i=o.error;if(i){if(!n)throw i.message=i.annotate(),i;if(!(n instanceof Error))throw i.message=n+" "+i.annotate(),i;throw n}return o.value},t.reach=function(e,t){if(c.assert(e&&e instanceof u,"you must provide a joi schema"),c.assert("string"==typeof t,"path must be a string"),""===t)return e;var r=t.split("."),n=e._inner.children;if(n)for(var o=r[0],i=0;i<n.length;++i){var s=n[i];if(s.key===o)return this.reach(s.schema,t.substr(o.length+1))}},t.lazy=function(e){return p.set(e)},t.extend=function(){var e=this,r=c.flatten(Array.prototype.slice.call(arguments));c.assert(r.length>0,"You need to provide at least one extension"),this.assert(r,t.extensionsSchema);for(var p=Object.create(this),d=function(t){var d=r[t],g=(d.base||e.any()).clone(),y=g.constructor,v=function(e){function t(){i(this,t);var r=s(this,e.call(this));return d.base&&n(r,g),r._type=d.name,d.language&&(r._settings=r._settings||{language:{}},r._settings.language=c.applyToDefaults(r._settings.language,o({},d.name,d.language))),r}return a(t,e),t}(y);if(d.coerce&&(v.prototype._coerce=function(e,t,r){if(y.prototype._coerce){var n=y.prototype._coerce.call(this,e,t,r);if(n.errors)return n;e=n.value}var o=d.coerce.call(this,e,t,r);return o instanceof f.Err?{value:e,errors:o}:{value:o}}),d.pre&&(v.prototype._base=function(e,t,r){if(y.prototype._base){var n=y.prototype._base.call(this,e,t,r);if(n.errors)return n;e=n.value}var o=d.pre.call(this,e,t,r);return o instanceof f.Err?{value:e,errors:o}:{value:o}}),d.rules)for(var m=function(e){var t=d.rules[e],r=t.params?t.params instanceof u?t.params._inner.children.map((function(e){return e.key})):Object.keys(t.params):[],n=t.params?l.schema(t.params):null;v.prototype[t.name]=function(){if(arguments.length>r.length)throw new Error("Unexpected number of arguments");for(var e=Array.prototype.slice.call(arguments),o=!1,i={},s=0;s<r.length;++s)i[r[s]]=e[s],!o&&h.isRef(e[s])&&(o=!0);n&&p.assert(i,n);var a=void 0;if(t.validate){var c=function(e,r,n){return t.validate.call(this,i,e,r,n)};a=this._test(t.name,i,c,{description:t.description,hasRef:o})}else a=this.clone();return t.setup&&t.setup.call(a,i),a}},b=0;b<d.rules.length;++b)m(b);d.describe&&(v.prototype.describe=function(){var e=y.prototype.describe.call(this);return d.describe.call(this,e)});var _=new v;p[d.name]=function(){return _}},g=0;g<r.length;++g)d(g);return p},t.extensionsSchema=d.array.items(d.object.keys({base:d.object.type(u,"Joi object"),name:d.string.required(),coerce:d.object._func().arity(3),pre:d.object._func().arity(3),language:d.object,describe:d.object._func().arity(1),rules:d.array.items(d.object.keys({name:d.string.required(),setup:d.object._func().arity(1),validate:d.object._func().arity(4),params:[d.object.pattern(/.*/,d.object.type(u,"Joi object")),d.object.type(d.object.constructor,"Joi object")],description:[d.string,d.object._func().arity(1)]}).or("setup","validate"))})).strict(),t.version=r(35).version,t}};e.exports=d.root()},function(e,t,r){(function(e,n){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(8),s=r(9),a=r(10),c=r(13),u={};t.clone=function(r,n){if("object"!==(void 0===r?"undefined":o(r))||null===r)return r;var i=(n=n||new Map).get(r);if(i)return i;var s=void 0,a=!1;if(Array.isArray(r))s=[],a=!0;else if(e.isBuffer(r))s=new e(r);else if(r instanceof Date)s=new Date(r.getTime());else if(r instanceof RegExp)s=new RegExp(r);else{var c=Object.getPrototypeOf(r);c&&c.isImmutable?s=r:(s=Object.create(c),a=!0)}if(n.set(r,s),a)for(var u=Object.getOwnPropertyNames(r),l=0;l<u.length;++l){var f=u[l],p=Object.getOwnPropertyDescriptor(r,f);p&&(p.get||p.set)?Object.defineProperty(s,f,p):s[f]=t.clone(r[f],n)}return s},t.merge=function(r,n,i,s){if(t.assert(r&&"object"===(void 0===r?"undefined":o(r)),"Invalid target value: must be an object"),t.assert(null==n||"object"===(void 0===n?"undefined":o(n)),"Invalid source value: must be null, undefined, or an object"),!n)return r;if(Array.isArray(n)){t.assert(Array.isArray(r),"Cannot merge array onto an object"),!1===s&&(r.length=0);for(var a=0;a<n.length;++a)r.push(t.clone(n[a]));return r}for(var c=Object.keys(n),u=0;u<c.length;++u){var l=c[u],f=n[l];f&&"object"===(void 0===f?"undefined":o(f))?!r[l]||"object"!==o(r[l])||Array.isArray(r[l])!==Array.isArray(f)||f instanceof Date||e.isBuffer(f)||f instanceof RegExp?r[l]=t.clone(f):t.merge(r[l],f,i,s):(null!=f||!1!==i)&&(r[l]=f)}return r},t.applyToDefaults=function(e,r,n){if(t.assert(e&&"object"===(void 0===e?"undefined":o(e)),"Invalid defaults value: must be an object"),t.assert(!r||!0===r||"object"===(void 0===r?"undefined":o(r)),"Invalid options value: must be true, falsy or an object"),!r)return null;var i=t.clone(e);return!0===r?i:t.merge(i,r,!0===n,!1)},t.cloneWithShallow=function(e,r){if(!e||"object"!==(void 0===e?"undefined":o(e)))return e;var n=u.store(e,r),i=t.clone(e);return u.restore(i,e,n),i},u.store=function(e,r){for(var n={},o=0;o<r.length;++o){var i=r[o],s=t.reach(e,i);void 0!==s&&(n[i]=s,u.reachSet(e,i,void 0))}return n},u.restore=function(e,t,r){for(var n=Object.keys(r),o=0;o<n.length;++o){var i=n[o];u.reachSet(e,i,r[i]),u.reachSet(t,i,r[i])}},u.reachSet=function(e,t,r){for(var n=t.split("."),o=e,i=0;i<n.length;++i){var s=n[i];i+1===n.length&&(o[s]=r),o=o[s]}},t.applyToDefaultsWithShallow=function(e,r,n){if(t.assert(e&&"object"===(void 0===e?"undefined":o(e)),"Invalid defaults value: must be an object"),t.assert(!r||!0===r||"object"===(void 0===r?"undefined":o(r)),"Invalid options value: must be true, falsy or an object"),t.assert(n&&Array.isArray(n),"Invalid keys"),!r)return null;var i=t.cloneWithShallow(e,n);if(!0===r)return i;var s=u.store(r,n);return t.merge(i,r,!1,!1),u.restore(i,r,s),i},t.deepEqual=function(r,n,i,s){i=i||{prototype:!0};var a=void 0===r?"undefined":o(r);if(a!==(void 0===n?"undefined":o(n)))return!1;if("object"!==a||null===r||null===n)return r===n?0!==r||1/r==1/n:r!=r&&n!=n;if(-1!==(s=s||[]).indexOf(r))return!0;if(s.push(r),Array.isArray(r)){if(!Array.isArray(n))return!1;if(!i.part&&r.length!==n.length)return!1;for(var c=0;c<r.length;++c){if(i.part){for(var u=!1,l=0;l<n.length;++l)if(t.deepEqual(r[c],n[l],i)){u=!0;break}return u}if(!t.deepEqual(r[c],n[c],i))return!1}return!0}if(e.isBuffer(r)){if(!e.isBuffer(n))return!1;if(r.length!==n.length)return!1;for(var f=0;f<r.length;++f)if(r[f]!==n[f])return!1;return!0}if(r instanceof Date)return n instanceof Date&&r.getTime()===n.getTime();if(r instanceof RegExp)return n instanceof RegExp&&r.toString()===n.toString();if(i.prototype&&Object.getPrototypeOf(r)!==Object.getPrototypeOf(n))return!1;var p=Object.getOwnPropertyNames(r);if(!i.part&&p.length!==Object.getOwnPropertyNames(n).length)return!1;for(var h=0;h<p.length;++h){var d=p[h],g=Object.getOwnPropertyDescriptor(r,d);if(g.get){if(!t.deepEqual(g,Object.getOwnPropertyDescriptor(n,d),i,s))return!1}else if(!t.deepEqual(r[d],n[d],i,s))return!1}return!0},t.unique=function(e,t){var r=void 0;return t?function(){r=[];var n=new Set;e.forEach((function(e){var o=e[t];n.has(o)||(n.add(o),r.push(e))}))}():r=Array.from(new Set(e)),r},t.mapToObject=function(e,t){if(!e)return null;for(var r={},n=0;n<e.length;++n)t?e[n][t]&&(r[e[n][t]]=!0):r[e[n]]=!0;return r},t.intersect=function(e,r,n){if(!e||!r)return[];for(var o=[],i=Array.isArray(e)?t.mapToObject(e):e,s={},a=0;a<r.length;++a)if(i[r[a]]&&!s[r[a]]){if(n)return r[a];o.push(r[a]),s[r[a]]=!0}return n?null:o},t.contain=function(e,r,n){var i=null;"object"!==(void 0===e?"undefined":o(e))||"object"!==(void 0===r?"undefined":o(r))||Array.isArray(e)||Array.isArray(r)?r=[].concat(r):(i=r,r=Object.keys(r)),n=n||{},t.assert(arguments.length>=2,"Insufficient arguments"),t.assert("string"==typeof e||"object"===(void 0===e?"undefined":o(e)),"Reference must be string or an object"),t.assert(r.length,"Values array cannot be empty");var s=void 0,a=void 0;if(n.deep){s=t.deepEqual;var c=n.hasOwnProperty("only"),u=n.hasOwnProperty("part");a={prototype:c?n.only:!!u&&!n.part,part:c?!n.only:!u||n.part}}else s=function(e,t){return e===t};for(var l=!1,f=new Array(r.length),p=0;p<f.length;++p)f[p]=0;if("string"==typeof e){for(var h="(",d=0;d<r.length;++d){var g=r[d];t.assert("string"==typeof g,"Cannot compare string reference to non-string value"),h+=(d?"|":"")+t.escapeRegex(g)}var y=new RegExp(h+")","g"),v=e.replace(y,(function(e,t){var n=r.indexOf(t);return++f[n],""}));l=!!v}else if(Array.isArray(e))for(var m=0;m<e.length;++m){for(var b=!1,_=0;_<r.length&&!1===b;++_)b=s(r[_],e[m],a)&&_;!1!==b?++f[b]:l=!0}else for(var w=Object.getOwnPropertyNames(e),E=0;E<w.length;++E){var x=w[E],j=r.indexOf(x);if(-1!==j){if(i&&!s(i[x],e[x],a))return!1;++f[j]}else l=!0}for(var A=!1,O=0;O<f.length;++O)if(A=A||!!f[O],n.once&&f[O]>1||!n.part&&!f[O])return!1;return(!n.only||!l)&&A},t.flatten=function(e,r){for(var n=r||[],o=0;o<e.length;++o)Array.isArray(e[o])?t.flatten(e[o],n):n.push(e[o]);return n},t.reach=function(e,r,n){if(!1===r||null==r)return e;"string"==typeof(n=n||{})&&(n={separator:n});for(var i=r.split(n.separator||"."),s=e,a=0;a<i.length;++a){var c=i[a];if("-"===c[0]&&Array.isArray(s)&&(c=c.slice(1,c.length),c=s.length-c),!s||"object"!==(void 0===s?"undefined":o(s))&&"function"!=typeof s||!(c in s)||"object"!==(void 0===s?"undefined":o(s))&&!1===n.functions){t.assert(!n.strict||a+1===i.length,"Missing segment",c,"in reach path ",r),t.assert("object"===(void 0===s?"undefined":o(s))||!0===n.functions||"function"!=typeof s,"Invalid segment",c,"in reach path ",r),s=n.default;break}s=s[c]}return s},t.reachTemplate=function(e,r,n){return r.replace(/{([^}]+)}/g,(function(r,o){var i=t.reach(e,o,n);return null==i?"":i}))},t.formatStack=function(e){for(var t=[],r=0;r<e.length;++r){var n=e[r];t.push([n.getFileName(),n.getLineNumber(),n.getColumnNumber(),n.getFunctionName(),n.isConstructor()])}return t},t.formatTrace=function(e){for(var t=[],r=0;r<e.length;++r){var n=e[r];t.push((n[4]?"new ":"")+n[3]+" ("+n[0]+":"+n[1]+":"+n[2]+")")}return t},t.callStack=function(e){var r=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var n={};Error.captureStackTrace(n,this);var o=n.stack;return Error.prepareStackTrace=r,t.formatStack(o).slice(1+e)},t.displayStack=function(e){var r=t.callStack(void 0===e?1:e+1);return t.formatTrace(r)},t.abortThrow=!1,t.abort=function(e,r){if("test"===n.env.NODE_ENV||!0===t.abortThrow)throw new Error(e||"Unknown error");var o="";r||(o=t.displayStack(1).join("\n\t")),console.log("ABORT: "+e+"\n\t"+o),n.exit(1)},t.assert=function(e){if(!e){if(2===arguments.length&&arguments[1]instanceof Error)throw arguments[1];for(var r=[],n=1;n<arguments.length;++n)""!==arguments[n]&&r.push(arguments[n]);throw r=r.map((function(e){return"string"==typeof e?e:e instanceof Error?e.message:t.stringify(e)})),new Error(r.join(" ")||"Unknown error")}},t.Timer=function(){this.ts=0,this.reset()},t.Timer.prototype.reset=function(){this.ts=Date.now()},t.Timer.prototype.elapsed=function(){return Date.now()-this.ts},t.Bench=function(){this.ts=0,this.reset()},t.Bench.prototype.reset=function(){this.ts=t.Bench.now()},t.Bench.prototype.elapsed=function(){return t.Bench.now()-this.ts},t.Bench.now=function(){var e=n.hrtime();return 1e3*e[0]+e[1]/1e6},t.escapeRegex=function(e){return e.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&")},t.base64urlEncode=function(r,n){return t.assert("string"==typeof r||e.isBuffer(r),"value must be string or buffer"),(e.isBuffer(r)?r:new e(r,n||"binary")).toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,"")},t.base64urlDecode=function(t,r){if("string"!=typeof t)return new Error("Value not a string");if(!/^[\w\-]*$/.test(t))return new Error("Invalid character");var n=new e(t,"base64");return"buffer"===r?n:n.toString(r||"binary")},t.escapeHeaderAttribute=function(e){return t.assert(/^[ \w\!#\$%&'\(\)\*\+,\-\.\/\:;<\=>\?@\[\]\^`\{\|\}~\"\\]*$/.test(e),"Bad attribute value ("+e+")"),e.replace(/\\/g,"\\\\").replace(/\"/g,'\\"')},t.escapeHtml=function(e){return c.escapeHtml(e)},t.escapeJavaScript=function(e){return c.escapeJavaScript(e)},t.nextTick=function(e){return function(){var t=arguments;n.nextTick((function(){e.apply(null,t)}))}},t.once=function(e){if(e._hoekOnce)return e;var t=!1,r=function(){t||(t=!0,e.apply(null,arguments))};return r._hoekOnce=!0,r},t.isInteger=function(e){return"number"==typeof e&&parseFloat(e)===parseInt(e,10)&&!isNaN(e)},t.ignore=function(){},t.inherits=a.inherits,t.format=a.format,t.transform=function(e,r,n){t.assert(null==e||"object"===(void 0===e?"undefined":o(e))||Array.isArray(e),"Invalid source object: must be null, undefined, an object, or an array");var i="object"===(void 0===n?"undefined":o(n))&&null!==n&&n.separator||".";if(Array.isArray(e)){for(var s=[],a=0;a<e.length;++a)s.push(t.transform(e[a],r,n));return s}for(var c={},u=Object.keys(r),l=0;l<u.length;++l){var f=u[l],p=f.split(i),h=r[f];t.assert("string"==typeof h,'All mappings must be "." delineated strings');for(var d=void 0,g=c;p.length>1;)g[d=p.shift()]||(g[d]={}),g=g[d];g[d=p.shift()]=t.reach(e,h,n)}return c},t.uniqueFilename=function(e,t){t=t?"."!==t[0]?"."+t:t:"",e=s.resolve(e);var r=[Date.now(),n.pid,i.randomBytes(8).toString("hex")].join("-")+t;return s.join(e,r)},t.stringify=function(){try{return JSON.stringify.apply(null,arguments)}catch(e){return"[Cannot display object: "+e.message+"]"}},t.shallow=function(e){for(var t={},r=Object.keys(e),n=0;n<r.length;++n){var o=r[n];t[o]=e[o]}return t}}).call(t,r(3).Buffer,r(7))},function(e,t,r){(function(e){"use strict";var n=r(4),o=r(5),i=r(6);function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=c.prototype:(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,r){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return u(this,e,t,r)}function u(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),c.TYPED_ARRAY_SUPPORT?(e=t).__proto__=c.prototype:e=p(e,t),e}(e,t,r,n):"string"==typeof t?function(e,t,r){if("string"==typeof r&&""!==r||(r="utf8"),!c.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|d(t,r),o=(e=a(e,n)).write(t,r);return o!==n&&(e=e.slice(0,o)),e}(e,t,r):function(e,t){if(c.isBuffer(t)){var r=0|h(t.length);return 0===(e=a(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?a(e,0):p(e,t);if("Buffer"===t.type&&i(t.data))return p(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t){if(l(t),e=a(e,t<0?0:0|h(t)),!c.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function p(e,t){var r=t.length<0?0:0|h(t.length);e=a(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function h(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function d(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return F(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return z(e).length;default:if(n)return F(e).length;t=(""+t).toLowerCase(),n=!0}}function g(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,r);case"utf8":case"utf-8":return O(this,t,r);case"ascii":return S(this,t,r);case"latin1":case"binary":return k(this,t,r);case"base64":return A(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function y(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function v(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:m(e,t,r,n,o);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):m(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function m(e,t,r,n,o){var i,s=1,a=e.length,c=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s=2,a/=2,c/=2,r/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(o){var l=-1;for(i=r;i<a;i++)if(u(e,i)===u(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===c)return l*s}else-1!==l&&(i-=i-l),l=-1}else for(r+c>a&&(r=a-c),i=r;i>=0;i--){for(var f=!0,p=0;p<c;p++)if(u(e,i+p)!==u(t,p)){f=!1;break}if(f)return i}return-1}function b(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var s=0;s<n;++s){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))return s;e[r+s]=a}return s}function _(e,t,r,n){return $(F(t,e.length-r),e,r,n)}function w(e,t,r,n){return $(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function E(e,t,r,n){return w(e,t,r,n)}function x(e,t,r,n){return $(z(t),e,r,n)}function j(e,t,r,n){return $(function(e,t){for(var r,n,o,i=[],s=0;s<e.length&&!((t-=2)<0);++s)r=e.charCodeAt(s),n=r>>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function A(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function O(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,s,a,c,u=e[o],l=null,f=u>239?4:u>223?3:u>191?2:1;if(o+f<=r)switch(f){case 1:u<128&&(l=u);break;case 2:128==(192&(i=e[o+1]))&&(c=(31&u)<<6|63&i)>127&&(l=c);break;case 3:i=e[o+1],s=e[o+2],128==(192&i)&&128==(192&s)&&(c=(15&u)<<12|(63&i)<<6|63&s)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:i=e[o+1],s=e[o+2],a=e[o+3],128==(192&i)&&128==(192&s)&&128==(192&a)&&(c=(15&u)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&c<1114112&&(l=c)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function S(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function k(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function T(e,t,r){var n,o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",s=t;s<r;++s)i+=(n=e[s])<16?"0"+n.toString(16):n.toString(16);return i}function P(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function R(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,r,n,o,i){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function C(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o<i;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function I(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o<i;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function L(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function B(e,t,r,n,i){return i||L(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function N(e,t,r,n,i){return i||L(e,0,r,8),o.write(e,t,r,n,52,8),r+8}t.Buffer=c,t.SlowBuffer=function(e){return+e!=e&&(e=0),c.alloc(+e)},t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=s(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,r){return u(null,e,t,r)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,r){return function(e,t,r,n){return l(t),t<=0?a(e,t):void 0!==r?"string"==typeof n?a(e,t).fill(r,n):a(e,t).fill(r):a(e,t)}(null,e,t,r)},c.allocUnsafe=function(e){return f(null,e)},c.allocUnsafeSlow=function(e){return f(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=c.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var s=e[r];if(!c.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(n,o),o+=s.length}return n},c.byteLength=d,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?O(this,0,e):g.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,t,r,n,o){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0),a=Math.min(i,s),u=this.slice(n,o),l=e.slice(t,r),f=0;f<a;++f)if(u[f]!==l[f]){i=u[f],s=l[f];break}return i<s?-1:s<i?1:0},c.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},c.prototype.indexOf=function(e,t,r){return v(this,e,t,r,!0)},c.prototype.lastIndexOf=function(e,t,r){return v(this,e,t,r,!1)},c.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return b(this,e,t,r);case"utf8":case"utf-8":return _(this,e,t,r);case"ascii":return w(this,e,t,r);case"latin1":case"binary":return E(this,e,t,r);case"base64":return x(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},c.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),c.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=c.prototype;else{var o=t-e;r=new c(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+e]}return r},c.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||R(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},c.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||R(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},c.prototype.readUInt8=function(e,t){return t||R(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||R(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||R(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||R(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},c.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||R(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},c.prototype.readInt8=function(e,t){return t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||R(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(e,t){t||R(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(e,t){return t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||R(e,4,this.length),o.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||R(e,4,this.length),o.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||R(e,8,this.length),o.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||R(e,8,this.length),o.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,r,n){e=+e,t|=0,r|=0,n||D(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},c.prototype.writeUIntBE=function(e,t,r,n){e=+e,t|=0,r|=0,n||D(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},c.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):C(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):C(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):I(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);D(this,e,t,r,o-1,-o)}var i=0,s=1,a=0;for(this[t]=255&e;++i<r&&(s*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/s>>0)-a&255;return t+r},c.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);D(this,e,t,r,o-1,-o)}var i=r-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/s>>0)-a&255;return t+r},c.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):C(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):C(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):I(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,r){return B(this,e,t,!0,r)},c.prototype.writeFloatBE=function(e,t,r){return B(this,e,t,!1,r)},c.prototype.writeDoubleLE=function(e,t,r){return N(this,e,t,!0,r)},c.prototype.writeDoubleBE=function(e,t,r){return N(this,e,t,!1,r)},c.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,i=n-r;if(this===e&&r<t&&t<n)for(o=i-1;o>=0;--o)e[o+t]=this[o+r];else if(i<1e3||!c.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},c.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!c.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var s=c.isBuffer(e)?e:F(new c(e,n).toString()),a=s.length;for(i=0;i<r-t;++i)this[i+t]=s[i%a]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function F(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function z(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(U,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function $(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}}).call(t,function(){return this}())},function(e,t){"use strict";t.byteLength=function(e){return 3*e.length/4-c(e)},t.toByteArray=function(e){var t,r,i,s,a,u,l=e.length;a=c(e),u=new o(3*l/4-a),i=a>0?l-4:l;var f=0;for(t=0,r=0;t<i;t+=4,r+=3)s=n[e.charCodeAt(t)]<<18|n[e.charCodeAt(t+1)]<<12|n[e.charCodeAt(t+2)]<<6|n[e.charCodeAt(t+3)],u[f++]=s>>16&255,u[f++]=s>>8&255,u[f++]=255&s;return 2===a?(s=n[e.charCodeAt(t)]<<2|n[e.charCodeAt(t+1)]>>4,u[f++]=255&s):1===a&&(s=n[e.charCodeAt(t)]<<10|n[e.charCodeAt(t+1)]<<4|n[e.charCodeAt(t+2)]>>2,u[f++]=s>>8&255,u[f++]=255&s),u},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i="",s=[],a=0,c=n-o;a<c;a+=16383)s.push(u(e,a,a+16383>c?c:a+16383));return 1===o?(t=e[n-1],i+=r[t>>2],i+=r[t<<4&63],i+="=="):2===o&&(t=(e[n-2]<<8)+e[n-1],i+=r[t>>10],i+=r[t>>4&63],i+=r[t<<2&63],i+="="),s.push(i),s.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=i.length;s<a;++s)r[s]=i[s],n[i.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function u(e,t,n){for(var o,i,s=[],a=t;a<n;a+=3)o=(e[a]<<16)+(e[a+1]<<8)+e[a+2],s.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return s.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,r,n,o){var i,s,a=8*o-n-1,c=(1<<a)-1,u=c>>1,l=-7,f=r?o-1:0,p=r?-1:1,h=e[t+f];for(f+=p,i=h&(1<<-l)-1,h>>=-l,l+=a;l>0;i=256*i+e[t+f],f+=p,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=n;l>0;s=256*s+e[t+f],f+=p,l-=8);if(0===i)i=1-u;else{if(i===c)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,n),i-=u}return(h?-1:1)*s*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var s,a,c,u=8*i-o-1,l=(1<<u)-1,f=l>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),(t+=s+f>=1?p/c:p*Math.pow(2,1-f))*c>=2&&(s++,c/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(t*c-1)*Math.pow(2,o),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,o),s=0));o>=8;e[r+h]=255&a,h+=d,a/=256,o-=8);for(s=s<<o|a,u+=o;u>0;e[r+h]=255&s,h+=d,s/=256,u-=8);e[r+h-d]|=128*g}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t){var r,n,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(e){r=i}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var c,u=[],l=!1,f=-1;function p(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&h())}function h(){if(!l){var e=a(p);l=!0;for(var t=u.length;t;){for(c=u,u=[];++f<t;)c&&c[f].run();f=-1,t=u.length}c=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function g(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new d(e,t)),1!==u.length||l||a(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t){},function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var o=e[n];"."===o?e.splice(n,1):".."===o?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}var n=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,o=function(e){return n.exec(e).slice(1)};function i(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}t.resolve=function(){for(var t="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var s=o>=0?arguments[o]:e.cwd();if("string"!=typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(t=s+"/"+t,n="/"===s.charAt(0))}return(n?"/":"")+(t=r(i(t.split("/"),(function(e){return!!e})),!n).join("/"))||"."},t.normalize=function(e){var n=t.isAbsolute(e),o="/"===s(e,-1);return(e=r(i(e.split("/"),(function(e){return!!e})),!n).join("/"))||n||(e="."),e&&o&&(e+="/"),(n?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(i(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var o=n(e.split("/")),i=n(r.split("/")),s=Math.min(o.length,i.length),a=s,c=0;c<s;c++)if(o[c]!==i[c]){a=c;break}var u=[];for(c=a;c<o.length;c++)u.push("..");return(u=u.concat(i.slice(a))).join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){var t=o(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."},t.basename=function(e,t){var r=o(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){return o(e)[3]};var s="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(t,r(7))},function(e,t,r){(function(e,n){var o=/%[sdj%]/g;t.format=function(e){if(!v(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(a(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,s=String(e).replace(o,(function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),c=n[r];r<i;c=n[++r])g(c)||!_(c)?s+=" "+c:s+=" "+a(c);return s},t.deprecate=function(r,o){if(m(e.process))return function(){return t.deprecate(r,o).apply(this,arguments)};if(!0===n.noDeprecation)return r;var i=!1;return function(){if(!i){if(n.throwDeprecation)throw new Error(o);n.traceDeprecation?console.trace(o):console.error(o),i=!0}return r.apply(this,arguments)}};var i,s={};function a(e,r){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),d(r)?n.showHidden=r:r&&t._extend(n,r),m(n.showHidden)&&(n.showHidden=!1),m(n.depth)&&(n.depth=2),m(n.colors)&&(n.colors=!1),m(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),l(n,e,n.depth)}function c(e,t){var r=a.styles[t];return r?"["+a.colors[r][0]+"m"+e+"["+a.colors[r][1]+"m":e}function u(e,t){return e}function l(e,r,n){if(e.customInspect&&r&&x(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,e);return v(o)||(o=l(e,o,n)),o}var i=function(e,t){if(m(t))return e.stylize("undefined","undefined");if(v(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return y(t)?e.stylize(""+t,"number"):d(t)?e.stylize(""+t,"boolean"):g(t)?e.stylize("null","null"):void 0}(e,r);if(i)return i;var s=Object.keys(r),a=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(r)),E(r)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return f(r);if(0===s.length){if(x(r)){var c=r.name?": "+r.name:"";return e.stylize("[Function"+c+"]","special")}if(b(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(w(r))return e.stylize(Date.prototype.toString.call(r),"date");if(E(r))return f(r)}var u,_="",j=!1,A=["{","}"];return h(r)&&(j=!0,A=["[","]"]),x(r)&&(_=" [Function"+(r.name?": "+r.name:"")+"]"),b(r)&&(_=" "+RegExp.prototype.toString.call(r)),w(r)&&(_=" "+Date.prototype.toUTCString.call(r)),E(r)&&(_=" "+f(r)),0!==s.length||j&&0!=r.length?n<0?b(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),u=j?function(e,t,r,n,o){for(var i=[],s=0,a=t.length;s<a;++s)k(t,String(s))?i.push(p(e,t,r,n,String(s),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(p(e,t,r,n,o,!0))})),i}(e,r,n,a,s):s.map((function(t){return p(e,r,n,a,t,j)})),e.seen.pop(),function(e,t,r){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}(u,_,A)):A[0]+_+A[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,r,n,o,i){var s,a,c;if((c=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),k(n,o)||(s="["+o+"]"),a||(e.seen.indexOf(c.value)<0?(a=g(r)?l(e,c.value,null):l(e,c.value,r-1)).indexOf("\n")>-1&&(a=i?a.split("\n").map((function(e){return"  "+e})).join("\n").substr(2):"\n"+a.split("\n").map((function(e){return"   "+e})).join("\n")):a=e.stylize("[Circular]","special")),m(s)){if(i&&o.match(/^\d+$/))return a;(s=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function h(e){return Array.isArray(e)}function d(e){return"boolean"==typeof e}function g(e){return null===e}function y(e){return"number"==typeof e}function v(e){return"string"==typeof e}function m(e){return void 0===e}function b(e){return _(e)&&"[object RegExp]"===j(e)}function _(e){return"object"==typeof e&&null!==e}function w(e){return _(e)&&"[object Date]"===j(e)}function E(e){return _(e)&&("[object Error]"===j(e)||e instanceof Error)}function x(e){return"function"==typeof e}function j(e){return Object.prototype.toString.call(e)}function A(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(m(i)&&(i=n.env.NODE_DEBUG||""),e=e.toUpperCase(),!s[e])if(new RegExp("\\b"+e+"\\b","i").test(i)){var r=n.pid;s[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else s[e]=function(){};return s[e]},t.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=h,t.isBoolean=d,t.isNull=g,t.isNullOrUndefined=function(e){return null==e},t.isNumber=y,t.isString=v,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=m,t.isRegExp=b,t.isObject=_,t.isDate=w,t.isError=E,t.isFunction=x,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(11);var O=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function S(){var e=new Date,t=[A(e.getHours()),A(e.getMinutes()),A(e.getSeconds())].join(":");return[e.getDate(),O[e.getMonth()],t].join(" ")}function k(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",S(),t.format.apply(t,arguments))},t.inherits=r(12),t._extend=function(e,t){if(!t||!_(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}}).call(t,function(){return this}(),r(7))},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},function(e,t,r){(function(e){"use strict";var r={};t.escapeJavaScript=function(e){if(!e)return"";for(var t="",n=0;n<e.length;++n){var o=e.charCodeAt(n);r.isSafe(o)?t+=e[n]:t+=r.escapeJavaScriptChar(o)}return t},t.escapeHtml=function(e){if(!e)return"";for(var t="",n=0;n<e.length;++n){var o=e.charCodeAt(n);r.isSafe(o)?t+=e[n]:t+=r.escapeHtmlChar(o)}return t},r.escapeJavaScriptChar=function(t){if(t>=256)return"\\u"+r.padLeft(""+t,4);var n=new e(String.fromCharCode(t),"ascii").toString("hex");return"\\x"+r.padLeft(n,2)},r.escapeHtmlChar=function(t){var n=r.namedHtml[t];if(void 0!==n)return n;if(t>=256)return"&#"+t+";";var o=new e(String.fromCharCode(t),"ascii").toString("hex");return"&#x"+r.padLeft(o,2)+";"},r.padLeft=function(e,t){for(;e.length<t;)e="0"+e;return e},r.isSafe=function(e){return void 0!==r.safeCharCodes[e]},r.namedHtml={38:"&amp;",60:"&lt;",62:"&gt;",34:"&quot;",160:"&nbsp;",162:"&cent;",163:"&pound;",164:"&curren;",169:"&copy;",174:"&reg;"},r.safeCharCodes=function(){for(var e={},t=32;t<123;++t)(t>=97||t>=65&&t<=90||t>=48&&t<=57||32===t||46===t||44===t||45===t||58===t||95===t)&&(e[t]=null);return e}()}).call(t,r(3).Buffer)},function(e,t,r){"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(2),s=r(15),a=r(16),c=null,u=null,l={Set:r(18),defaults:{abortEarly:!0,convert:!0,allowUnknown:!1,skipFunctions:!1,stripUnknown:!1,language:{},presence:"optional",strip:!1,noDefaults:!1}};e.exports=l.Any=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),u=u||r(19),this.isJoi=!0,this._type="any",this._settings=null,this._valids=new l.Set,this._invalids=new l.Set,this._tests=[],this._refs=[],this._flags={},this._description=null,this._unit=null,this._notes=[],this._tags=[],this._examples=[],this._meta=[],this._inner={}}return e.prototype.createError=function(e,t,r,n){return a.create(e,t,r,n,this._flags)},e.prototype.checkOptions=function(e){var t=r(31).options.validate(e);if(t.error)throw new Error(t.error.details[0].message)},e.prototype.clone=function(){var e=Object.create(Object.getPrototypeOf(this));e.isJoi=!0,e._type=this._type,e._settings=l.concatSettings(this._settings),e._valids=i.clone(this._valids),e._invalids=i.clone(this._invalids),e._tests=this._tests.slice(),e._refs=this._refs.slice(),e._flags=i.clone(this._flags),e._description=this._description,e._unit=this._unit,e._notes=this._notes.slice(),e._tags=this._tags.slice(),e._examples=this._examples.slice(),e._meta=this._meta.slice(),e._inner={};for(var t=Object.keys(this._inner),r=0;r<t.length;++r){var n=t[r];e._inner[n]=this._inner[n]?this._inner[n].slice():null}return e},e.prototype.concat=function(e){i.assert(e instanceof l.Any,"Invalid schema object"),i.assert("any"===this._type||"any"===e._type||e._type===this._type,"Cannot merge type",this._type,"with another type:",e._type);var t=this.clone();if("any"===this._type&&"any"!==e._type){for(var r=e.clone(),n=["_settings","_valids","_invalids","_tests","_refs","_flags","_description","_unit","_notes","_tags","_examples","_meta","_inner"],o=0;o<n.length;++o)r[n[o]]=t[n[o]];t=r}t._settings=t._settings?l.concatSettings(t._settings,e._settings):e._settings,t._valids.merge(e._valids,e._invalids),t._invalids.merge(e._invalids,e._valids),t._tests=t._tests.concat(e._tests),t._refs=t._refs.concat(e._refs),i.merge(t._flags,e._flags),t._description=e._description||t._description,t._unit=e._unit||t._unit,t._notes=t._notes.concat(e._notes),t._tags=t._tags.concat(e._tags),t._examples=t._examples.concat(e._examples),t._meta=t._meta.concat(e._meta);for(var s=Object.keys(e._inner),a="object"===t._type,c=0;c<s.length;++c){var u=s[c],f=e._inner[u];if(f){var p=t._inner[u];if(p)if(a&&"children"===u){for(var h={},d=0;d<p.length;++d)h[p[d].key]=d;for(var g=0;g<f.length;++g){var y=f[g].key;h[y]>=0?p[h[y]]={key:y,schema:p[h[y]].schema.concat(f[g].schema)}:p.push(f[g])}}else t._inner[u]=t._inner[u].concat(f);else t._inner[u]=f.slice()}}return t},e.prototype._test=function(e,t,r,n){var o=this.clone();return o._tests.push({func:r,name:e,arg:t,options:n}),o},e.prototype.options=function(e){i.assert(!e.context,"Cannot override context"),this.checkOptions(e);var t=this.clone();return t._settings=l.concatSettings(t._settings,e),t},e.prototype.strict=function(e){var t=this.clone();return t._settings=t._settings||{},t._settings.convert=void 0!==e&&!e,t},e.prototype.raw=function(e){var t=this.clone();return t._flags.raw=void 0===e||e,t},e.prototype.error=function(e){i.assert(e&&e instanceof Error,"Must provide a valid Error object");var t=this.clone();return t._flags.error=e,t},e.prototype.allow=function(){for(var e=this.clone(),t=i.flatten(Array.prototype.slice.call(arguments)),r=0;r<t.length;++r){var n=t[r];i.assert(void 0!==n,"Cannot call allow/valid/invalid with undefined"),e._invalids.remove(n),e._valids.add(n,e._refs)}return e},e.prototype.valid=function(){var e=this.allow.apply(this,arguments);return e._flags.allowOnly=!0,e},e.prototype.invalid=function(e){for(var t=this.clone(),r=i.flatten(Array.prototype.slice.call(arguments)),n=0;n<r.length;++n)e=r[n],i.assert(void 0!==e,"Cannot call allow/valid/invalid with undefined"),t._valids.remove(e),t._invalids.add(e,this._refs);return t},e.prototype.required=function(){var e=this.clone();return e._flags.presence="required",e},e.prototype.optional=function(){var e=this.clone();return e._flags.presence="optional",e},e.prototype.forbidden=function(){var e=this.clone();return e._flags.presence="forbidden",e},e.prototype.strip=function(){var e=this.clone();return e._flags.strip=!0,e},e.prototype.applyFunctionToChildren=function(e,t,r,n){if(1!==(e=[].concat(e)).length||""!==e[0]){n=n?n+".":"";var o=(""===e[0]?e.slice(1):e).map((function(e){return n+e}));throw new Error("unknown key(s) "+o.join(", "))}return this[t].apply(this,r)},e.prototype.default=function(e,t){"function"!=typeof e||s.isRef(e)||(!e.description&&t&&(e.description=t),this._flags.func||i.assert("string"==typeof e.description&&e.description.length>0,"description must be provided when default value is a function"));var r=this.clone();return r._flags.default=e,s.push(r._refs,e),r},e.prototype.empty=function(e){var t=this.clone();return t._flags.empty=void 0===e?void 0:u.schema(e),t},e.prototype.when=function(e,t){i.assert(t&&"object"===(void 0===t?"undefined":o(t)),"Invalid options"),i.assert(void 0!==t.then||void 0!==t.otherwise,'options must have at least one of "then" or "otherwise"');var n=t.hasOwnProperty("then")?this.concat(u.schema(t.then)):void 0,s=t.hasOwnProperty("otherwise")?this.concat(u.schema(t.otherwise)):void 0,a=(c=c||r(28)).when(e,{is:t.is,then:n,otherwise:s});return a._flags.presence="ignore",a._settings=l.concatSettings(a._settings,{baseType:this}),a},e.prototype.description=function(e){i.assert(e&&"string"==typeof e,"Description must be a non-empty string");var t=this.clone();return t._description=e,t},e.prototype.notes=function(e){i.assert(e&&("string"==typeof e||Array.isArray(e)),"Notes must be a non-empty string or array");var t=this.clone();return t._notes=t._notes.concat(e),t},e.prototype.tags=function(e){i.assert(e&&("string"==typeof e||Array.isArray(e)),"Tags must be a non-empty string or array");var t=this.clone();return t._tags=t._tags.concat(e),t},e.prototype.meta=function(e){i.assert(void 0!==e,"Meta cannot be undefined");var t=this.clone();return t._meta=t._meta.concat(e),t},e.prototype.example=function(e){i.assert(arguments.length,"Missing example");var t=this._validate(e,null,l.defaults);i.assert(!t.errors,"Bad example:",t.errors&&a.process(t.errors,e));var r=this.clone();return r._examples.push(e),r},e.prototype.unit=function(e){i.assert(e&&"string"==typeof e,"Unit name must be a non-empty string");var t=this.clone();return t._unit=e,t},e.prototype._prepareEmptyValue=function(e){return"string"==typeof e&&this._flags.trim?e.trim():e},e.prototype._validate=function(e,t,r,n){var o=this,c=e;t=t||{key:"",path:"",parent:null,reference:n},this._settings&&(r=l.concatSettings(r,this._settings));var u=[],f=function(){var n=void 0;if(!o._flags.strip)if(void 0!==e)n=o._flags.raw?c:e;else if(r.noDefaults)n=c;else if(s.isRef(o._flags.default))n=o._flags.default(t.parent,r);else if("function"!=typeof o._flags.default||o._flags.func&&!o._flags.default.description)n=i.clone(o._flags.default);else{var a=void 0;null!==t.parent&&o._flags.default.length>0&&(a=[i.clone(t.parent),r]);var f=l._try(o._flags.default,a);n=f.value,f.error&&u.push(o.createError("any.default",f.error,t,r))}return{value:n,errors:u.length?u:null}};if(this._coerce){var p=this._coerce.call(this,e,t,r);if(p.errors)return e=p.value,u=u.concat(p.errors),f();e=p.value}this._flags.empty&&!this._flags.empty._validate(this._prepareEmptyValue(e),null,l.defaults).errors&&(e=void 0);var h=this._flags.presence||r.presence;if("optional"===h){if(void 0===e){if(!this._flags.hasOwnProperty("default")||void 0!==this._flags.default||"object"!==this._type)return f();e={}}}else{if("required"===h&&void 0===e)return u.push(this.createError("any.required",null,t,r)),f();if("forbidden"===h)return void 0===e||u.push(this.createError("any.unknown",null,t,r)),f()}if(this._valids.has(e,t,r,this._flags.insensitive))return f();if(this._invalids.has(e,t,r,this._flags.insensitive)&&(u.push(this.createError(""===e?"any.empty":"any.invalid",null,t,r)),r.abortEarly||void 0===e))return f();if(this._base){var d=this._base.call(this,e,t,r);if(d.errors)return e=d.value,u=u.concat(d.errors),f();if(d.value!==e){if(e=d.value,this._valids.has(e,t,r,this._flags.insensitive))return f();if(this._invalids.has(e,t,r,this._flags.insensitive)&&(u.push(this.createError(""===e?"any.empty":"any.invalid",null,t,r)),r.abortEarly))return f()}}if(this._flags.allowOnly&&(u.push(this.createError("any.allowOnly",{valids:this._valids.values({stripUndefined:!0})},t,r)),r.abortEarly))return f();for(var g=0;g<this._tests.length;++g){var y=this._tests[g].func.call(this,e,t,r);if(y instanceof a.Err){if(u.push(y),r.abortEarly)return f()}else e=y}return f()},e.prototype._validateWithOptions=function(e,t,r){t&&this.checkOptions(t);var n=l.concatSettings(l.defaults,t),o=this._validate(e,null,n),i=a.process(o.errors,e);return r?r(i,o.value):{error:i,value:o.value}},e.prototype.validate=function(e,t,r){return"function"==typeof t?this._validateWithOptions(e,null,t):this._validateWithOptions(e,t,r)},e.prototype.describe=function(){var e=this,t={type:this._type},r=Object.keys(this._flags);if(r.length)if(["empty","default","lazy","label"].some((function(t){return e._flags.hasOwnProperty(t)}))){t.flags={};for(var n=0;n<r.length;++n){var o=r[n];"empty"===o?t.flags[o]=this._flags[o].describe():"default"===o?s.isRef(this._flags[o])?t.flags[o]=this._flags[o].toString():"function"==typeof this._flags[o]?t.flags[o]=this._flags[o].description:t.flags[o]=this._flags[o]:"lazy"===o||"label"===o||(t.flags[o]=this._flags[o])}}else t.flags=this._flags;this._description&&(t.description=this._description),this._notes.length&&(t.notes=this._notes),this._tags.length&&(t.tags=this._tags),this._meta.length&&(t.meta=this._meta),this._examples.length&&(t.examples=this._examples),this._unit&&(t.unit=this._unit);var i=this._valids.values();i.length&&(t.valids=i.map((function(e){return s.isRef(e)?e.toString():e})));var a=this._invalids.values();a.length&&(t.invalids=a.map((function(e){return s.isRef(e)?e.toString():e}))),t.rules=[];for(var c=0;c<this._tests.length;++c){var u=this._tests[c],l={name:u.name};void 0!==u.arg&&(l.arg=s.isRef(u.arg)?u.arg.toString():u.arg);var f=u.options;if(f){if(f.hasRef){l.arg={};for(var p=Object.keys(u.arg),h=0;h<p.length;++h){var d=p[h],g=u.arg[d];l.arg[d]=s.isRef(g)?g.toString():g}}"string"==typeof f.description?l.description=f.description:"function"==typeof f.description&&(l.description=f.description(l.arg))}t.rules.push(l)}t.rules.length||delete t.rules;var y=this._getLabel();return y&&(t.label=y),t},e.prototype.label=function(e){i.assert(e&&"string"==typeof e,"Label name must be a non-empty string");var t=this.clone();return t._flags.label=e,t},e.prototype._getLabel=function(e){return this._flags.label||e},e}(),l.Any.prototype.isImmutable=!0,l.Any.prototype.only=l.Any.prototype.equal=l.Any.prototype.valid,l.Any.prototype.disallow=l.Any.prototype.not=l.Any.prototype.invalid,l.Any.prototype.exist=l.Any.prototype.required,l._try=function(e,t){var r=void 0,n=void 0;try{n=e.apply(null,t)}catch(e){r=e}return{value:n,error:r}},l.concatSettings=function(e,t){if(!e&&!t)return null;var r={};if(e&&n(r,e),t)for(var o=Object.keys(t),s=0;s<o.length;++s){var a=o[s];"language"===a&&r.hasOwnProperty(a)?r[a]=i.applyToDefaults(r[a],t[a]):r[a]=t[a]}return r}},function(e,t,r){"use strict";var n=r(2);t.create=function(e,t){n.assert("string"==typeof e,"Invalid reference key:",e);var r=n.clone(t),o=function e(t,o){return n.reach(e.isContext?o.context:t,e.key,r)};return o.isContext=e[0]===(r&&r.contextPrefix||"$"),o.key=o.isContext?e.slice(1):e,o.path=o.key.split(r&&r.separator||"."),o.depth=o.path.length,o.root=o.path[0],o.isJoi=!0,o.toString=function(){return(o.isContext?"context:":"ref:")+o.key},o},t.isRef=function(e){return"function"==typeof e&&e.isJoi},t.push=function(e,r){t.isRef(r)&&!r.isContext&&e.push(r.root)}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=r(2),i=r(17),s={stringify:function(e,r){var o=void 0===e?"undefined":n(e);if(null===e)return"null";if("string"===o)return e;if(e instanceof t.Err||"function"===o)return e.toString();if("object"===o){if(Array.isArray(e)){for(var i="",a=0;a<e.length;++a)i=i+(i.length?", ":"")+s.stringify(e[a],r);return r?"["+i+"]":i}return e.toString()}return JSON.stringify(e)}};t.Err=function(){function e(t,r,n,o,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.isJoi=!0,this.type=t,this.context=r||{},this.context.key=n.key,this.path=n.path,this.options=o,this.flags=i}return e.prototype.toString=function(){var e=this,t=this.options.language;this.flags.label?this.context.key=this.flags.label:""!==this.context.key&&null!==this.context.key||(this.context.key=t.root||i.errors.root);var r=o.reach(t,this.type)||o.reach(i.errors,this.type),n=/\{\{\!?key\}\}/.test(r),a=r.length>2&&"!"===r[0]&&"!"===r[1];a&&(r=r.slice(2)),n||a||(r=(o.reach(t,"key")||o.reach(i.errors,"key"))+r);var c=o.reach(t,"messages.wrapArrays");return"boolean"!=typeof c&&(c=i.errors.messages.wrapArrays),r.replace(/\{\{(\!?)([^}]+)\}\}/g,(function(t,r,n){var i=o.reach(e.context,n),a=s.stringify(i,c);return r?o.escapeHtml(a):a}))},e}(),t.create=function(e,r,n,o,i){return new t.Err(e,r,n,o,i)},t.process=function(e,t){if(!e||!e.length)return null;var r="",n=[],o=function e(t,o){for(var i=0;i<t.length;++i){var a=t[i];if(a.flags.error)return a.flags.error;var c=void 0;if(void 0===o&&(c=a.toString(),r=r+(r?". ":"")+c),a.context.reason&&a.context.reason.length){var u=e(a.context.reason,a.path);if(u)return u}else n.push({message:c||a.toString(),path:s.getPath(a),type:a.type,context:a.context})}}(e);if(o)return o;var i=new Error(r);return i.isJoi=!0,i.name="ValidationError",i.details=n,i._object=t,i.annotate=s.annotate,i},s.getPath=function(e){return e.path||e.context.key},s.safeStringify=function(e,t){return JSON.stringify(e,s.serializer(),t)},s.serializer=function(){var e=[],t=[],r=function(r,n){return t[0]===n?"[Circular ~]":"[Circular ~."+e.slice(0,t.indexOf(n)).join(".")+"]"};return function(o,i){if(t.length>0){var s=t.indexOf(this);~s?(t.length=s+1,e.length=s+1,e[s]=o):(t.push(this),e.push(o)),~t.indexOf(i)&&(i=r.call(this,o,i))}else t.push(i);if(Array.isArray(i)&&i.placeholders){for(var a=i.placeholders,c=[],u=0;u<i.length;++u)a[u]&&c.push(a[u]),c.push(i[u]);i=c}return i===1/0||i===-1/0||Number.isNaN(i)||"function"==typeof i||"symbol"===(void 0===i?"undefined":n(i))?"["+i.toString()+"]":i}},s.annotate=function(e){var t=e?"":"",r=e?"":"",i=e?"":"";if("object"!==n(this._object))return this.details[0].message;for(var a=o.clone(this._object||{}),c={},u=this.details.length-1;u>=0;--u)for(var l=u+1,f=this.details[u],p=f.path.split("."),h=a,d=0;d<p.length&&h;++d){var g=p[d];if(d+1<p.length)h=h[g];else{var y=h[g];if(Array.isArray(h)){var v="_$idx$_"+l+"_$end$_";h.placeholders||(h.placeholders={}),h.placeholders[g]?h.placeholders[g]=h.placeholders[g].replace("_$end$_",", "+l+"_$end$_"):h.placeholders[g]=v}else if(void 0!==y){delete h[g];var m=g+"_$key$_"+l+"_$end$_";h[m]=y,c[f.path]=m}else if(c[f.path]){var b=c[f.path],_=b.replace("_$end$_",", "+l+"_$end$_");h[_]=h[b],c[f.path]=_,delete h[b]}else h["_$miss$_"+g+"|"+l+"_$end$_"]="__missing__"}}var w=/_\$key\$_([, \d]+)_\$end\$_\"/g,E=/\"_\$miss\$_([^\|]+)\|(\d+)_\$end\$_\"\: \"__missing__\"/g,x=/\s*\"_\$idx\$_([, \d]+)_\$end\$_\",?\n(.*)/g,j=/"\[(NaN|Symbol.*|-?Infinity|function.*|\(.*)\]"/g,A=s.safeStringify(a,2).replace(w,(function(e,r){return'" '+t+"["+r+"]"+i})).replace(E,(function(e,n,o){return r+'"'+n+'"'+i+t+" ["+o+"]: -- missing --"+i})).replace(x,(function(e,r,n){return"\n"+n+" "+t+"["+r+"]"+i})).replace(j,(function(e,t){return t}));A=A+"\n"+t;for(var O=0;O<this.details.length;++O)A=A+"\n["+(O+1)+"] "+this.details[O].message;return A+=i}},function(e,t){"use strict";t.errors={root:"value",key:'"{{!key}}" ',messages:{wrapArrays:!0},any:{unknown:"is not allowed",invalid:"contains an invalid value",empty:"is not allowed to be empty",required:"is required",allowOnly:"must be one of {{valids}}",default:"threw an error when running default method"},alternatives:{base:"not matching any of the allowed alternatives"},array:{base:"must be an array",includes:"at position {{pos}} does not match any of the allowed types",includesSingle:'single value of "{{!key}}" does not match any of the allowed types',includesOne:"at position {{pos}} fails because {{reason}}",includesOneSingle:'single value of "{{!key}}" fails because {{reason}}',includesRequiredUnknowns:"does not contain {{unknownMisses}} required value(s)",includesRequiredKnowns:"does not contain {{knownMisses}}",includesRequiredBoth:"does not contain {{knownMisses}} and {{unknownMisses}} other required value(s)",excludes:"at position {{pos}} contains an excluded value",excludesSingle:'single value of "{{!key}}" contains an excluded value',min:"must contain at least {{limit}} items",max:"must contain less than or equal to {{limit}} items",length:"must contain {{limit}} items",ordered:"at position {{pos}} fails because {{reason}}",orderedLength:"at position {{pos}} fails because array must contain at most {{limit}} items",sparse:"must not be a sparse array",unique:"position {{pos}} contains a duplicate value"},boolean:{base:"must be a boolean"},binary:{base:"must be a buffer or a string",min:"must be at least {{limit}} bytes",max:"must be less than or equal to {{limit}} bytes",length:"must be {{limit}} bytes"},date:{base:"must be a number of milliseconds or valid date string",format:"must be a string with one of the following formats {{format}}",strict:"must be a valid date",min:'must be larger than or equal to "{{limit}}"',max:'must be less than or equal to "{{limit}}"',isoDate:"must be a valid ISO 8601 date",timestamp:{javascript:"must be a valid timestamp or number of milliseconds",unix:"must be a valid timestamp or number of seconds"},ref:'references "{{ref}}" which is not a date'},function:{base:"must be a Function",arity:"must have an arity of {{n}}",minArity:"must have an arity greater or equal to {{n}}",maxArity:"must have an arity lesser or equal to {{n}}",ref:"must be a Joi reference"},lazy:{base:"!!schema error: lazy schema must be set",schema:"!!schema error: lazy schema function must return a schema"},object:{base:"must be an object",child:'!!child "{{!child}}" fails because {{reason}}',min:"must have at least {{limit}} children",max:"must have less than or equal to {{limit}} children",length:"must have {{limit}} children",allowUnknown:'!!"{{!child}}" is not allowed',with:'missing required peer "{{peer}}"',without:'conflict with forbidden peer "{{peer}}"',missing:"must contain at least one of {{peers}}",xor:"contains a conflict between exclusive peers {{peers}}",or:"must contain at least one of {{peers}}",and:"contains {{present}} without its required peers {{missing}}",nand:'!!"{{main}}" must not exist simultaneously with {{peers}}',assert:'!!"{{ref}}" validation failed because "{{ref}}" failed to {{message}}',rename:{multiple:'cannot rename child "{{from}}" because multiple renames are disabled and another key was already renamed to "{{to}}"',override:'cannot rename child "{{from}}" because override is disabled and target "{{to}}" exists'},type:'must be an instance of "{{type}}"',schema:"must be a Joi instance"},number:{base:"must be a number",min:"must be larger than or equal to {{limit}}",max:"must be less than or equal to {{limit}}",less:"must be less than {{limit}}",greater:"must be greater than {{limit}}",float:"must be a float or double",integer:"must be an integer",negative:"must be a negative number",positive:"must be a positive number",precision:"must have no more than {{limit}} decimal places",ref:'references "{{ref}}" which is not a number',multiple:"must be a multiple of {{multiple}}"},string:{base:"must be a string",min:"length must be at least {{limit}} characters long",max:"length must be less than or equal to {{limit}} characters long",length:"length must be {{limit}} characters long",alphanum:"must only contain alpha-numeric characters",token:"must only contain alpha-numeric and underscore characters",regex:{base:'with value "{{!value}}" fails to match the required pattern: {{pattern}}',name:'with value "{{!value}}" fails to match the {{name}} pattern',invert:{base:'with value "{{!value}}" matches the inverted pattern: {{pattern}}',name:'with value "{{!value}}" matches the inverted {{name}} pattern'}},email:"must be a valid email",uri:"must be a valid uri",uriRelativeOnly:"must be a valid relative uri",uriCustomScheme:"must be a valid uri with a scheme matching the {{scheme}} pattern",isoDate:"must be a valid ISO 8601 date",guid:"must be a valid GUID",hex:"must only contain hexadecimal characters",base64:"must be a valid base64 string",hostname:"must be a valid hostname",lowercase:"must only contain lowercase characters",uppercase:"must only contain uppercase characters",trim:"must not have leading or trailing whitespace",creditCard:"must be a credit card",ref:'references "{{ref}}" which is not a number',ip:"must be a valid ip address with a {{cidr}} CIDR",ipVersion:"must be a valid ip address of one of the following versions {{version}} with a {{cidr}} CIDR"}}},function(e,t,r){(function(t){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=r(15);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._set=[]}return e.prototype.add=function(e,t){if(o.isRef(e)||!this.has(e,null,null,!1))return void 0!==t&&o.push(t,e),this._set.push(e),this},e.prototype.merge=function(e,t){for(var r=0;r<e._set.length;++r)this.add(e._set[r]);for(var n=0;n<t._set.length;++n)this.remove(t._set[n]);return this},e.prototype.remove=function(e){return this._set=this._set.filter((function(t){return e!==t})),this},e.prototype.has=function(e,r,i,s){for(var a=0;a<this._set.length;++a){var c=this._set[a];r&&o.isRef(c)&&(c=c(r.reference||r.parent,i)),Array.isArray(c)||(c=[c]);for(var u=0;u<c.length;++u){var l=c[u];if((void 0===e?"undefined":n(e))===(void 0===l?"undefined":n(l))&&(e===l||e instanceof Date&&l instanceof Date&&e.getTime()===l.getTime()||s&&"string"==typeof e&&e.toLowerCase()===l.toLowerCase()||t.isBuffer(e)&&t.isBuffer(l)&&e.length===l.length&&e.toString("binary")===l.toString("binary")))return!0}}return!1},e.prototype.values=function(e){if(e&&e.stripUndefined){for(var t=[],r=0;r<this._set.length;++r){var n=this._set[r];void 0!==n&&t.push(n)}return t}return this._set.slice()},e.prototype.slice=function(){var t=new e;return t._set=this._set.slice(),t},e.prototype.concat=function(t){var r=new e;return r._set=this._set.concat(t._set),r},e}()}).call(t,r(3).Buffer)},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=r(2),i=r(15),s={any:null,date:r(20),string:r(21),number:r(26),boolean:r(27),alt:null,object:null};t.schema=function(e){return s.any=s.any||new(r(14)),s.alt=s.alt||r(28),s.object=s.object||r(29),null!=e&&"object"===(void 0===e?"undefined":n(e))?e.isJoi?e:Array.isArray(e)?s.alt.try(e):e instanceof RegExp?s.string.regex(e):e instanceof Date?s.date.valid(e):s.object.keys(e):"string"==typeof e?s.string.valid(e):"number"==typeof e?s.number.valid(e):"boolean"==typeof e?s.boolean.valid(e):i.isRef(e)?s.any.valid(e):(o.assert(null===e,"Invalid schema content:",e),s.any.valid(null))},t.ref=function(e){return i.isRef(e)?e:i.create(e)}},function(e,t,r){"use strict";function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var r=Object.getOwnPropertyNames(t),n=0;n<r.length;n++){var o=r[n],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}}(e,t))}var o,i=r(14),s=r(15),a=r(2),c={isoDate:/^(?:\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?![T]$|[T][\d]+Z$)(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[.,]\d+(?!:))?)(?:\2[0-5]\d(?:[.,]\d+)?)?(?:[Z]|(?:[+-])(?:[01]\d|2[0-3])(?::?[0-5]\d)?)?)?)?$/};c.invalidDate=new Date(""),c.isIsoDate=(o=c.isoDate.toString(),function(e){return e&&e.toString()===o}),c.Date=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this));return r._type="date",r}return n(t,e),t.prototype._base=function(e,t,r){var n={value:r.convert&&c.Date.toDate(e,this._flags.format,this._flags.timestamp,this._flags.multiplier)||e};if(n.value instanceof Date&&!isNaN(n.value.getTime()))n.errors=null;else if(r.convert){var o=void 0;o=c.isIsoDate(this._flags.format)?"isoDate":this._flags.timestamp?"timestamp."+this._flags.timestamp:"base",n.errors=this.createError("date."+o,null,t,r)}else n.errors=this.createError("date.strict",null,t,r);return n},t.toDate=function(e,t,r,n){if(e instanceof Date)return e;if("string"==typeof e||"number"==typeof e&&!isNaN(e)&&isFinite(e)){"string"==typeof e&&/^[+-]?\d+(\.\d+)?$/.test(e)&&(e=parseFloat(e));var o=void 0;if(o=t&&c.isIsoDate(t)?t.test(e)?new Date(e):c.invalidDate:r&&n?new Date(e*n):new Date(e),!isNaN(o.getTime()))return o}return null},t.prototype.iso=function(){var e=this.clone();return e._flags.format=c.isoDate,e},t.prototype.timestamp=function(e){e=e||"javascript";var t=["javascript","unix"];a.assert(-1!==t.indexOf(e),'"type" must be one of "'+t.join('", "')+'"');var r=this.clone();return r._flags.timestamp=e,r._flags.multiplier="unix"===e?1e3:1,r},t.prototype._isIsoDate=function(e){return c.isoDate.test(e)},t}(i),c.compare=function(e,t){return function(r){var n="now"===r,o=s.isRef(r);return n||o||(r=c.Date.toDate(r)),a.assert(r,"Invalid date format"),this._test(e,r,(function(i,s,a){var u=void 0;if(n)u=Date.now();else if(o){if(!(u=c.Date.toDate(r(s.reference||s.parent,a))))return this.createError("date.ref",{ref:r.key},s,a);u=u.getTime()}else u=r.getTime();return t(i.getTime(),u)?i:this.createError("date."+e,{limit:new Date(u)},s,a)}))}},c.Date.prototype.min=c.compare("min",(function(e,t){return e>=t})),c.Date.prototype.max=c.compare("max",(function(e,t){return e<=t})),e.exports=new c.Date},function(e,t,r){(function(t){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var r=Object.getOwnPropertyNames(t),n=0;n<r.length;n++){var o=r[n],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}}(e,t))}var i=r(8),s=r(2),a=r(22),c=r(14),u=r(15),l=r(20),f=r(23),p=r(25),h={uriRegex:f.createUriRegex(),ipRegex:p.createIpRegex(["ipv4","ipv6","ipvfuture"],"optional")};h.String=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this));return r._type="string",r._invalids.add(""),r}return o(t,e),t.prototype._base=function(e,t,r){if("string"==typeof e&&r.convert){if(this._flags.case&&(e="upper"===this._flags.case?e.toLocaleUpperCase():e.toLocaleLowerCase()),this._flags.trim&&(e=e.trim()),this._inner.replacements)for(var n=0;n<this._inner.replacements.length;++n){var o=this._inner.replacements[n];e=e.replace(o.pattern,o.replacement)}if(this._flags.truncate)for(var i=0;i<this._tests.length;++i){var s=this._tests[i];if("max"===s.name){e=e.slice(0,s.arg);break}}}return{value:e,errors:"string"==typeof e?null:this.createError("string.base",{value:e},t,r)}},t.prototype.insensitive=function(){var e=this.clone();return e._flags.insensitive=!0,e},t.prototype.creditCard=function(){return this._test("creditCard",void 0,(function(e,t,r){for(var n=e.length,o=0,i=1;n--;){var s=e.charAt(n)*i;o+=s-9*(s>9),i^=3}return o%10==0&&o>0?e:this.createError("string.creditCard",{value:e},t,r)}))},t.prototype.regex=function(e,t){s.assert(e instanceof RegExp,"pattern must be a RegExp");var r={pattern:new RegExp(e.source,e.ignoreCase?"i":void 0)};"string"==typeof t?r.name=t:"object"===(void 0===t?"undefined":n(t))&&(r.invert=!!t.invert,t.name&&(r.name=t.name));var o=["string.regex",r.invert?".invert":"",r.name?".name":".base"].join("");return this._test("regex",r,(function(e,t,n){return r.pattern.test(e)^r.invert?e:this.createError(o,{name:r.name,pattern:r.pattern,value:e},t,n)}))},t.prototype.alphanum=function(){return this._test("alphanum",void 0,(function(e,t,r){return/^[a-zA-Z0-9]+$/.test(e)?e:this.createError("string.alphanum",{value:e},t,r)}))},t.prototype.token=function(){return this._test("token",void 0,(function(e,t,r){return/^\w+$/.test(e)?e:this.createError("string.token",{value:e},t,r)}))},t.prototype.email=function(e){return e&&(s.assert("object"===(void 0===e?"undefined":n(e)),"email options must be an object"),s.assert(void 0===e.checkDNS,"checkDNS option is not supported"),s.assert(void 0===e.tldWhitelist||"object"===n(e.tldWhitelist),"tldWhitelist must be an array or object"),s.assert(void 0===e.minDomainAtoms||s.isInteger(e.minDomainAtoms)&&e.minDomainAtoms>0,"minDomainAtoms must be a positive integer"),s.assert(void 0===e.errorLevel||"boolean"==typeof e.errorLevel||s.isInteger(e.errorLevel)&&e.errorLevel>=0,"errorLevel must be a non-negative integer or boolean")),this._test("email",e,(function(t,r,n){try{var o=a.validate(t,e);if(!0===o||0===o)return t}catch(e){}return this.createError("string.email",{value:t},r,n)}))},t.prototype.ip=function(e){var t=h.ipRegex;e=e||{},s.assert("object"===(void 0===e?"undefined":n(e)),"options must be an object"),e.cidr?(s.assert("string"==typeof e.cidr,"cidr must be a string"),e.cidr=e.cidr.toLowerCase(),s.assert(e.cidr in p.cidrs,"cidr must be one of "+Object.keys(p.cidrs).join(", ")),e.version||"optional"===e.cidr||(t=p.createIpRegex(["ipv4","ipv6","ipvfuture"],e.cidr))):e.cidr="optional";var r=void 0;if(e.version){Array.isArray(e.version)||(e.version=[e.version]),s.assert(e.version.length>=1,"version must have at least 1 version specified"),r=[];for(var o=0;o<e.version.length;++o){var i=e.version[o];s.assert("string"==typeof i,"version at position "+o+" must be a string"),i=i.toLowerCase(),s.assert(p.versions[i],"version at position "+o+" must be one of "+Object.keys(p.versions).join(", ")),r.push(i)}r=s.unique(r),t=p.createIpRegex(r,e.cidr)}return this._test("ip",e,(function(n,o,i){return t.test(n)?n:r?this.createError("string.ipVersion",{value:n,cidr:e.cidr,version:r},o,i):this.createError("string.ip",{value:n,cidr:e.cidr},o,i)}))},t.prototype.uri=function(e){var t="",r=!1,o=!1,i=h.uriRegex;if(e){if(s.assert("object"===(void 0===e?"undefined":n(e)),"options must be an object"),e.scheme){s.assert(e.scheme instanceof RegExp||"string"==typeof e.scheme||Array.isArray(e.scheme),"scheme must be a RegExp, String, or Array"),Array.isArray(e.scheme)||(e.scheme=[e.scheme]),s.assert(e.scheme.length>=1,"scheme must have at least 1 scheme specified");for(var a=0;a<e.scheme.length;++a){var c=e.scheme[a];s.assert(c instanceof RegExp||"string"==typeof c,"scheme at position "+a+" must be a RegExp or String"),t+=t?"|":"",c instanceof RegExp?t+=c.source:(s.assert(/[a-zA-Z][a-zA-Z0-9+-\.]*/.test(c),"scheme at position "+a+" must be a valid scheme"),t+=s.escapeRegex(c))}}e.allowRelative&&(r=!0),e.relativeOnly&&(o=!0)}return(t||r||o)&&(i=f.createUriRegex(t,r,o)),this._test("uri",e,(function(e,r,n){return i.test(e)?e:o?this.createError("string.uriRelativeOnly",{value:e},r,n):t?this.createError("string.uriCustomScheme",{scheme:t,value:e},r,n):this.createError("string.uri",{value:e},r,n)}))},t.prototype.isoDate=function(){return this._test("isoDate",void 0,(function(e,t,r){return l._isIsoDate(e)?e:this.createError("string.isoDate",{value:e},t,r)}))},t.prototype.guid=function(e){var t={"{":"}","[":"]","(":")","":""},r={uuidv1:"1",uuidv2:"2",uuidv3:"3",uuidv4:"4",uuidv5:"5"},n=[];if(e&&e.version){Array.isArray(e.version)||(e.version=[e.version]),s.assert(e.version.length>=1,"version must have at least 1 valid version specified");for(var o=0;o<e.version.length;++o){var i=e.version[o];s.assert("string"==typeof i,"version at position "+o+" must be a string"),i=i.toLowerCase(),s.assert(r[i],"version at position "+o+" must be one of "+Object.keys(r).join(", ")),s.assert(-1===n.indexOf(i),"version at position "+o+" must not be a duplicate."),n.push(i)}}var a=/^([\[{\(]?)([0-9A-F]{8})([:-]?)([0-9A-F]{4})([:-]?)([0-9A-F]{4})([:-]?)([0-9A-F]{4})([:-]?)([0-9A-F]{12})([\]}\)]?)$/i;return this._test("guid",e,(function(e,o,i){var s=a.exec(e);return s?t[s[1]]!==s[11]||s[3]!==s[5]||s[3]!==s[7]||s[3]!==s[9]?this.createError("string.guid",{value:e},o,i):!n.length||n.some((function(e){return s[6][0]===r[e]}))&&/[89AB]/i.test(s[8][0])?e:this.createError("string.guid",{value:e},o,i):this.createError("string.guid",{value:e},o,i)}))},t.prototype.hex=function(){var e=/^[a-f0-9]+$/i;return this._test("hex",e,(function(t,r,n){return e.test(t)?t:this.createError("string.hex",{value:t},r,n)}))},t.prototype.base64=function(){var e=/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/;return this._test("base64",e,(function(t,r,n){return e.test(t)?t:this.createError("string.base64",{value:t},r,n)}))},t.prototype.hostname=function(){var e=/^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$/;return this._test("hostname",void 0,(function(t,r,n){return t.length<=255&&e.test(t)||i.isIPv6(t)?t:this.createError("string.hostname",{value:t},r,n)}))},t.prototype.lowercase=function(){var e=this._test("lowercase",void 0,(function(e,t,r){return r.convert||e===e.toLocaleLowerCase()?e:this.createError("string.lowercase",{value:e},t,r)}));return e._flags.case="lower",e},t.prototype.uppercase=function(){var e=this._test("uppercase",void 0,(function(e,t,r){return r.convert||e===e.toLocaleUpperCase()?e:this.createError("string.uppercase",{value:e},t,r)}));return e._flags.case="upper",e},t.prototype.trim=function(){var e=this._test("trim",void 0,(function(e,t,r){return r.convert||e===e.trim()?e:this.createError("string.trim",{value:e},t,r)}));return e._flags.trim=!0,e},t.prototype.replace=function(e,t){"string"==typeof e&&(e=new RegExp(s.escapeRegex(e),"g")),s.assert(e instanceof RegExp,"pattern must be a RegExp"),s.assert("string"==typeof t,"replacement must be a String");var r=this.clone();return r._inner.replacements||(r._inner.replacements=[]),r._inner.replacements.push({pattern:e,replacement:t}),r},t.prototype.truncate=function(e){var t=this.clone();return t._flags.truncate=void 0===e||!!e,t},t}(c),h.compare=function(e,r){return function(n,o){var i=u.isRef(n);return s.assert(s.isInteger(n)&&n>=0||i,"limit must be a positive integer or reference"),s.assert(!o||t.isEncoding(o),"Invalid encoding:",o),this._test(e,n,(function(t,a,c){var u=void 0;if(i){if(u=n(a.reference||a.parent,c),!s.isInteger(u))return this.createError("string.ref",{ref:n.key},a,c)}else u=n;return r(t,u,o)?t:this.createError("string."+e,{limit:u,value:t,encoding:o},a,c)}))}},h.String.prototype.min=h.compare("min",(function(e,r,n){return(n?t.byteLength(e,n):e.length)>=r})),h.String.prototype.max=h.compare("max",(function(e,r,n){return(n?t.byteLength(e,n):e.length)<=r})),h.String.prototype.length=h.compare("length",(function(e,r,n){return(n?t.byteLength(e,n):e.length)===r})),h.String.prototype.uuid=h.String.prototype.guid,e.exports=new h.String}).call(t,r(3).Buffer)},function(e,t,r){(function(e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=r(8),i={hasOwn:Object.prototype.hasOwnProperty,indexOf:Array.prototype.indexOf,defaultThreshold:16,maxIPv6Groups:8,categories:{valid:1,dnsWarn:7,rfc5321:15,cfws:31,deprecated:63,rfc5322:127,error:255},diagnoses:{valid:0,dnsWarnNoMXRecord:5,dnsWarnNoRecord:6,rfc5321TLD:9,rfc5321TLDNumeric:10,rfc5321QuotedString:11,rfc5321AddressLiteral:12,cfwsComment:17,cfwsFWS:18,deprecatedLocalPart:33,deprecatedFWS:34,deprecatedQTEXT:35,deprecatedQP:36,deprecatedComment:37,deprecatedCTEXT:38,deprecatedIPv6:39,deprecatedCFWSNearAt:49,rfc5322Domain:65,rfc5322TooLong:66,rfc5322LocalTooLong:67,rfc5322DomainTooLong:68,rfc5322LabelTooLong:69,rfc5322DomainLiteral:70,rfc5322DomainLiteralOBSDText:71,rfc5322IPv6GroupCount:72,rfc5322IPv62x2xColon:73,rfc5322IPv6BadCharacter:74,rfc5322IPv6MaxGroups:75,rfc5322IPv6ColonStart:76,rfc5322IPv6ColonEnd:77,errExpectingDTEXT:129,errNoLocalPart:130,errNoDomain:131,errConsecutiveDots:132,errATEXTAfterCFWS:133,errATEXTAfterQS:134,errATEXTAfterDomainLiteral:135,errExpectingQPair:136,errExpectingATEXT:137,errExpectingQTEXT:138,errExpectingCTEXT:139,errBackslashEnd:140,errDotStart:141,errDotEnd:142,errDomainHyphenStart:143,errDomainHyphenEnd:144,errUnclosedQuotedString:145,errUnclosedComment:146,errUnclosedDomainLiteral:147,errFWSCRLFx2:148,errFWSCRLFEnd:149,errCRNoLF:150,errUnknownTLD:160,errDomainTooShort:161},components:{localpart:0,domain:1,literal:2,contextComment:3,contextFWS:4,contextQuotedString:5,contextQuotedPair:6}};i.defer=void 0!==e&&e&&"function"==typeof e.nextTick?e.nextTick.bind(e):function(e){return setTimeout(e,0)},i.specials=function(){for(var e=new Array(256),t=255;t>=0;--t)e[t]=!1;for(var r=0;r<'()<>[]:;@\\,."'.length;++r)e['()<>[]:;@\\,."'.charCodeAt(r)]=!0;return function(t){return e[t]}}(),i.regex={ipV4:/\b(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipV6:/^[a-fA-F\d]{0,4}$/},i.checkIpV6=function(e){return e.every((function(e){return i.regex.ipV6.test(e)}))},i.validDomain=function(e,t){return t.tldBlacklist?Array.isArray(t.tldBlacklist)?-1===i.indexOf.call(t.tldBlacklist,e):!i.hasOwn.call(t.tldBlacklist,e):Array.isArray(t.tldWhitelist)?-1!==i.indexOf.call(t.tldWhitelist,e):i.hasOwn.call(t.tldWhitelist,e)},t.validate=i.validate=function(e,t,r){if("function"==typeof(t=t||{})&&(r=t,t={}),"function"!=typeof r){if(t.checkDNS)throw new TypeError("expected callback function for checkDNS option");r=null}var s=void 0,a=void 0;if("number"==typeof t.errorLevel?(s=!0,a=t.errorLevel):(s=!!t.errorLevel,a=i.diagnoses.valid),t.tldWhitelist)if("string"==typeof t.tldWhitelist)t.tldWhitelist=[t.tldWhitelist];else if("object"!==n(t.tldWhitelist))throw new TypeError("expected array or object tldWhitelist");if(t.tldBlacklist)if("string"==typeof t.tldBlacklist)t.tldBlacklist=[t.tldBlacklist];else if("object"!==n(t.tldBlacklist))throw new TypeError("expected array or object tldBlacklist");if(t.minDomainAtoms&&(t.minDomainAtoms!==(0|+t.minDomainAtoms)||t.minDomainAtoms<0))throw new TypeError("expected positive integer minDomainAtoms");for(var c=i.diagnoses.valid,u=function(e){e>c&&(c=e)},l={now:i.components.localpart,prev:i.components.localpart,stack:[i.components.localpart]},f="",p={local:"",domain:""},h={locals:[""],domains:[""]},d=0,g=0,y=0,v=void 0,m=!1,b=!1,_=e.length,w=void 0,E=0;E<_;++E){switch(w=e[E],l.now){case i.components.localpart:switch(w){case"(":0===g?u(0===d?i.diagnoses.cfwsComment:i.diagnoses.deprecatedComment):(u(i.diagnoses.cfwsComment),b=!0),l.stack.push(l.now),l.now=i.components.contextComment;break;case".":0===g?u(0===d?i.diagnoses.errDotStart:i.diagnoses.errConsecutiveDots):(b&&u(i.diagnoses.deprecatedLocalPart),b=!1,g=0,++d,p.local+=w,h.locals[d]="");break;case'"':0===g?(u(0===d?i.diagnoses.rfc5321QuotedString:i.diagnoses.deprecatedLocalPart),p.local+=w,h.locals[d]+=w,++g,b=!0,l.stack.push(l.now),l.now=i.components.contextQuotedString):u(i.diagnoses.errExpectingATEXT);break;case"\r":if(_===++E||"\n"!==e[E]){u(i.diagnoses.errCRNoLF);break}case" ":case"\t":0===g?u(0===d?i.diagnoses.cfwsFWS:i.diagnoses.deprecatedFWS):b=!0,l.stack.push(l.now),l.now=i.components.contextFWS,f=w;break;case"@":if(1!==l.stack.length)throw new Error("unexpected item on context stack");0===p.local.length?u(i.diagnoses.errNoLocalPart):0===g?u(i.diagnoses.errDotEnd):p.local.length>64?u(i.diagnoses.rfc5322LocalTooLong):l.prev!==i.components.contextComment&&l.prev!==i.components.contextFWS||u(i.diagnoses.deprecatedCFWSNearAt),l.now=i.components.domain,l.stack[0]=i.components.domain,d=0,g=0,b=!1;break;default:if(b)switch(l.prev){case i.components.contextComment:case i.components.contextFWS:u(i.diagnoses.errATEXTAfterCFWS);break;case i.components.contextQuotedString:u(i.diagnoses.errATEXTAfterQS);break;default:throw new Error("more atext found where none is allowed, but unrecognized prev context: "+l.prev)}else l.prev=l.now,((v=w.charCodeAt(0))<33||v>126||i.specials(v))&&u(i.diagnoses.errExpectingATEXT),p.local+=w,h.locals[d]+=w,++g}break;case i.components.domain:switch(w){case"(":0===g?u(0===d?i.diagnoses.deprecatedCFWSNearAt:i.diagnoses.deprecatedComment):(b=!0,u(i.diagnoses.cfwsComment)),l.stack.push(l.now),l.now=i.components.contextComment;break;case".":0===g?u(0===d?i.diagnoses.errDotStart:i.diagnoses.errConsecutiveDots):m?u(i.diagnoses.errDomainHyphenEnd):g>63&&u(i.diagnoses.rfc5322LabelTooLong),b=!1,g=0,++d,h.domains[d]="",p.domain+=w;break;case"[":0===p.domain.length?(b=!0,++g,l.stack.push(l.now),l.now=i.components.literal,p.domain+=w,h.domains[d]+=w,p.literal=""):u(i.diagnoses.errExpectingATEXT);break;case"\r":if(_===++E||"\n"!==e[E]){u(i.diagnoses.errCRNoLF);break}case" ":case"\t":0===g?u(0===d?i.diagnoses.deprecatedCFWSNearAt:i.diagnoses.deprecatedFWS):(u(i.diagnoses.cfwsFWS),b=!0),l.stack.push(l.now),l.now=i.components.contextFWS,f=w;break;default:if(b)switch(l.prev){case i.components.contextComment:case i.components.contextFWS:u(i.diagnoses.errATEXTAfterCFWS);break;case i.components.literal:u(i.diagnoses.errATEXTAfterDomainLiteral);break;default:throw new Error("more atext found where none is allowed, but unrecognized prev context: "+l.prev)}m=!1,(v=w.charCodeAt(0))<33||v>126||i.specials(v)?u(i.diagnoses.errExpectingATEXT):"-"===w?(0===g&&u(i.diagnoses.errDomainHyphenStart),m=!0):(v<48||v>122||v>57&&v<65||v>90&&v<97)&&u(i.diagnoses.rfc5322Domain),p.domain+=w,h.domains[d]+=w,++g}break;case i.components.literal:switch(w){case"]":if(c<i.categories.deprecated){var x=-1,j=p.literal,A=i.regex.ipV4.exec(j);if(A&&0!==(x=A.index)&&(j=j.slice(0,x)+"0:0"),0===x)u(i.diagnoses.rfc5321AddressLiteral);else if("ipv6:"!==j.slice(0,5).toLowerCase())u(i.diagnoses.rfc5322DomainLiteral);else{var O=j.slice(5),S=i.maxIPv6Groups,k=O.split(":");~(x=O.indexOf("::"))?x!==O.lastIndexOf("::")?u(i.diagnoses.rfc5322IPv62x2xColon):(0!==x&&x!==O.length-2||++S,k.length>S?u(i.diagnoses.rfc5322IPv6MaxGroups):k.length===S&&u(i.diagnoses.deprecatedIPv6)):k.length!==S&&u(i.diagnoses.rfc5322IPv6GroupCount),":"===O[0]&&":"!==O[1]?u(i.diagnoses.rfc5322IPv6ColonStart):":"===O[O.length-1]&&":"!==O[O.length-2]?u(i.diagnoses.rfc5322IPv6ColonEnd):i.checkIpV6(k)?u(i.diagnoses.rfc5321AddressLiteral):u(i.diagnoses.rfc5322IPv6BadCharacter)}}else u(i.diagnoses.rfc5322DomainLiteral);p.domain+=w,h.domains[d]+=w,++g,l.prev=l.now,l.now=l.stack.pop();break;case"\\":u(i.diagnoses.rfc5322DomainLiteralOBSDText),l.stack.push(l.now),l.now=i.components.contextQuotedPair;break;case"\r":if(_===++E||"\n"!==e[E]){u(i.diagnoses.errCRNoLF);break}case" ":case"\t":u(i.diagnoses.cfwsFWS),l.stack.push(l.now),l.now=i.components.contextFWS,f=w;break;default:if((v=w.charCodeAt(0))>127||0===v||"["===w){u(i.diagnoses.errExpectingDTEXT);break}(v<33||127===v)&&u(i.diagnoses.rfc5322DomainLiteralOBSDText),p.literal+=w,p.domain+=w,h.domains[d]+=w,++g}break;case i.components.contextQuotedString:switch(w){case"\\":l.stack.push(l.now),l.now=i.components.contextQuotedPair;break;case"\r":if(_===++E||"\n"!==e[E]){u(i.diagnoses.errCRNoLF);break}case"\t":p.local+=" ",h.locals[d]+=" ",++g,u(i.diagnoses.cfwsFWS),l.stack.push(l.now),l.now=i.components.contextFWS,f=w;break;case'"':p.local+=w,h.locals[d]+=w,++g,l.prev=l.now,l.now=l.stack.pop();break;default:(v=w.charCodeAt(0))>127||0===v||10===v?u(i.diagnoses.errExpectingQTEXT):(v<32||127===v)&&u(i.diagnoses.deprecatedQTEXT),p.local+=w,h.locals[d]+=w,++g}break;case i.components.contextQuotedPair:switch((v=w.charCodeAt(0))>127?u(i.diagnoses.errExpectingQPair):(v<31&&9!==v||127===v)&&u(i.diagnoses.deprecatedQP),l.prev=l.now,l.now=l.stack.pop(),w="\\"+w,l.now){case i.components.contextComment:break;case i.components.contextQuotedString:p.local+=w,h.locals[d]+=w,g+=2;break;case i.components.literal:p.domain+=w,h.domains[d]+=w,g+=2;break;default:throw new Error("quoted pair logic invoked in an invalid context: "+l.now)}break;case i.components.contextComment:switch(w){case"(":l.stack.push(l.now),l.now=i.components.contextComment;break;case")":l.prev=l.now,l.now=l.stack.pop();break;case"\\":l.stack.push(l.now),l.now=i.components.contextQuotedPair;break;case"\r":if(_===++E||"\n"!==e[E]){u(i.diagnoses.errCRNoLF);break}case" ":case"\t":u(i.diagnoses.cfwsFWS),l.stack.push(l.now),l.now=i.components.contextFWS,f=w;break;default:if((v=w.charCodeAt(0))>127||0===v||10===v){u(i.diagnoses.errExpectingCTEXT);break}(v<32||127===v)&&u(i.diagnoses.deprecatedCTEXT)}break;case i.components.contextFWS:if("\r"===f){if("\r"===w){u(i.diagnoses.errFWSCRLFx2);break}++y>1?u(i.diagnoses.deprecatedFWS):y=1}switch(w){case"\r":_!==++E&&"\n"===e[E]||u(i.diagnoses.errCRNoLF);break;case" ":case"\t":break;default:"\r"===f&&u(i.diagnoses.errFWSCRLFEnd),y=0,l.prev=l.now,l.now=l.stack.pop(),--E}f=w;break;default:throw new Error("unknown context: "+l.now)}if(c>i.categories.rfc5322)break}if(c<i.categories.rfc5322)if(l.now===i.components.contextQuotedString)u(i.diagnoses.errUnclosedQuotedString);else if(l.now===i.components.contextQuotedPair)u(i.diagnoses.errBackslashEnd);else if(l.now===i.components.contextComment)u(i.diagnoses.errUnclosedComment);else if(l.now===i.components.literal)u(i.diagnoses.errUnclosedDomainLiteral);else if("\r"===w)u(i.diagnoses.errFWSCRLFEnd);else if(0===p.domain.length)u(i.diagnoses.errNoDomain);else if(0===g)u(i.diagnoses.errDotEnd);else if(m)u(i.diagnoses.errDomainHyphenEnd);else if(p.domain.length>255)u(i.diagnoses.rfc5322DomainTooLong);else if(p.local.length+p.domain.length+1>254)u(i.diagnoses.rfc5322TooLong);else if(g>63)u(i.diagnoses.rfc5322LabelTooLong);else if(t.minDomainAtoms&&h.domains.length<t.minDomainAtoms)u(i.diagnoses.errDomainTooShort);else if(t.tldWhitelist||t.tldBlacklist){var T=h.domains[d];i.validDomain(T,t)||u(i.diagnoses.errUnknownTLD)}var P=!1,R=!1,D=function(){!P&&c<i.categories.dnsWarn&&(h.domains[d].charCodeAt(0)<=57?u(i.diagnoses.rfc5321TLDNumeric):0===d&&u(i.diagnoses.rfc5321TLD)),c<a&&(c=i.diagnoses.valid);var e=s?c:c<i.defaultThreshold;return r&&(R?r(e):i.defer(r.bind(null,e))),e};if(!(t.checkDNS&&c<i.categories.dnsWarn)){var C=D();return R=!0,C}!function(){0===d&&(p.domain+=".");var e=p.domain;o.resolveMx(e,(function(t,r){if(t&&t.code!==o.NODATA)return u(i.diagnoses.dnsWarnNoRecord),D();if(r&&r.length)return P=!0,D();var n=3,s=!1;u(i.diagnoses.dnsWarnNoMXRecord);var a=function(e,t){if(!s){if(--n,t&&t.length)return s=!0,D();0===n&&(u(i.diagnoses.dnsWarnNoRecord),s=!0,D())}};o.resolveCname(e,a),o.resolve4(e,a),o.resolve6(e,a)})),R=!0}()},t.diagnoses=i.validate.diagnoses=function(){for(var e={},t=Object.keys(i.diagnoses),r=0;r<t.length;++r){var n=t[r];e[n]=i.diagnoses[n]}return e}()}).call(t,r(7))},function(e,t,r){"use strict";var n=r(24),o={Uri:{createUriRegex:function(e,t,r){var o=n.scheme,i=void 0;if(r)i="(?:"+n.relativeRef+")";else{e&&(o="(?:"+e+")");var s="(?:"+o+":"+n.hierPart+")";i=t?"(?:"+s+"|"+n.relativeRef+")":s}return new RegExp("^"+i+"(?:\\?"+n.query+")?(?:#"+n.fragment+")?$")}}};e.exports=o.Uri},function(e,t){"use strict";var r={rfc3986:{},generate:function(){var e="|";r.rfc3986.cidr="[0-9]|[1-2][0-9]|3[0-2]";var t="a-zA-Z0-9-\\._~",n="!\\$&'\\(\\)\\*\\+,;=",o=t+"%0-9A-Fa-f"+n+":@",i="["+o+"]",s="(?:0?0?[0-9]|0?[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])";r.rfc3986.IPv4address="(?:"+s+"\\.){3}"+s;var a="[0-9A-Fa-f]{1,4}",c="(?:"+a+":"+a+"|"+r.rfc3986.IPv4address+")",u="(?:"+a+":){6}"+c,l="::(?:"+a+":){5}"+c,f="(?:"+a+")?::(?:"+a+":){4}"+c,p="(?:(?:"+a+":){0,1}"+a+")?::(?:"+a+":){3}"+c,h="(?:(?:"+a+":){0,2}"+a+")?::(?:"+a+":){2}"+c,d="(?:(?:"+a+":){0,3}"+a+")?::"+a+":"+c,g="(?:(?:"+a+":){0,4}"+a+")?::"+c;r.rfc3986.IPv6address="(?:"+u+e+l+e+f+e+p+e+h+e+d+e+g+"|(?:(?:[0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})?::)",r.rfc3986.IPvFuture="v[0-9A-Fa-f]+\\.["+t+n+":]+",r.rfc3986.scheme="[a-zA-Z][a-zA-Z0-9+-\\.]*";var y="(?:[a-zA-Z0-9-\\._~%0-9A-Fa-f!\\$&'\\(\\)\\*\\+,;=:]*@)?(?:\\[(?:"+r.rfc3986.IPv6address+e+r.rfc3986.IPvFuture+")\\]"+e+r.rfc3986.IPv4address+"|[a-zA-Z0-9-\\._~%0-9A-Fa-f!\\$&'\\(\\)\\*\\+,;=]{0,255})(?::[0-9]*)?",v=i+"+",m="(?:\\/[a-zA-Z0-9-\\._~%0-9A-Fa-f!\\$&'\\(\\)\\*\\+,;=:@]*)*",b="\\/(?:"+v+m+")?";r.rfc3986.hierPart="(?:(?:\\/\\/"+y+m+")"+e+b+"|[a-zA-Z0-9-\\._~%0-9A-Fa-f!\\$&'\\(\\)\\*\\+,;=:@]+(?:\\/[a-zA-Z0-9-\\._~%0-9A-Fa-f!\\$&'\\(\\)\\*\\+,;=:@]*)*)",r.rfc3986.relativeRef="(?:(?:\\/\\/"+y+m+")"+e+b+"|[a-zA-Z0-9-\\._~%0-9A-Fa-f!\\$&'\\(\\)\\*\\+,;=@]+(?:\\/[a-zA-Z0-9-\\._~%0-9A-Fa-f!\\$&'\\(\\)\\*\\+,;=:@]*)*|)",r.rfc3986.query="["+o+"\\/\\?]*(?=#|$)",r.rfc3986.fragment="["+o+"\\/\\?]*"}};r.generate(),e.exports=r.rfc3986},function(e,t,r){"use strict";var n=r(24),o={Ip:{cidrs:{required:"\\/(?:"+n.cidr+")",optional:"(?:\\/(?:"+n.cidr+"))?",forbidden:""},versions:{ipv4:n.IPv4address,ipv6:n.IPv6address,ipvfuture:n.IPvFuture}}};o.Ip.createIpRegex=function(e,t){for(var r=void 0,n=0;n<e.length;++n){var i=e[n];r||(r="^(?:"+o.Ip.versions[i]),r=r+"|"+o.Ip.versions[i]}return new RegExp(r+")"+o.Ip.cidrs[t]+"$")},e.exports=o.Ip},function(e,t,r){"use strict";function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var r=Object.getOwnPropertyNames(t),n=0;n<r.length;n++){var o=r[n],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}}(e,t))}var o=r(14),i=r(15),s=r(2),a={precisionRx:/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/};a.Number=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this));return r._type="number",r._invalids.add(1/0),r._invalids.add(-1/0),r}return n(t,e),t.prototype._base=function(e,t,r){var n={errors:null,value:e};if("string"==typeof e&&r.convert){var o=parseFloat(e);n.value=isNaN(o)||!isFinite(e)?NaN:o}var i="number"==typeof n.value&&!isNaN(n.value);if(r.convert&&"precision"in this._flags&&i){var s=Math.pow(10,this._flags.precision);n.value=Math.round(n.value*s)/s}return n.errors=i?null:this.createError("number.base",null,t,r),n},t.prototype.multiple=function(e){var t=i.isRef(e);return t||(s.assert("number"==typeof e&&isFinite(e),"multiple must be a number"),s.assert(e>0,"multiple must be greater than 0")),this._test("multiple",e,(function(r,n,o){var i=t?e(n.reference||n.parent,o):e;return!t||"number"==typeof i&&isFinite(i)?r%i==0?r:this.createError("number.multiple",{multiple:e,value:r},n,o):this.createError("number.ref",{ref:e.key},n,o)}))},t.prototype.integer=function(){return this._test("integer",void 0,(function(e,t,r){return s.isInteger(e)?e:this.createError("number.integer",{value:e},t,r)}))},t.prototype.negative=function(){return this._test("negative",void 0,(function(e,t,r){return e<0?e:this.createError("number.negative",{value:e},t,r)}))},t.prototype.positive=function(){return this._test("positive",void 0,(function(e,t,r){return e>0?e:this.createError("number.positive",{value:e},t,r)}))},t.prototype.precision=function(e){s.assert(s.isInteger(e),"limit must be an integer"),s.assert(!("precision"in this._flags),"precision already set");var t=this._test("precision",e,(function(t,r,n){var o=t.toString().match(a.precisionRx);return Math.max((o[1]?o[1].length:0)-(o[2]?parseInt(o[2],10):0),0)<=e?t:this.createError("number.precision",{limit:e,value:t},r,n)}));return t._flags.precision=e,t},t}(o),a.compare=function(e,t){return function(r){var n=i.isRef(r),o="number"==typeof r&&!isNaN(r);return s.assert(o||n,"limit must be a number or reference"),this._test(e,r,(function(o,i,s){var a=void 0;if(n){if("number"!=typeof(a=r(i.reference||i.parent,s))||isNaN(a))return this.createError("number.ref",{ref:r.key},i,s)}else a=r;return t(o,a)?o:this.createError("number."+e,{limit:a,value:o},i,s)}))}},a.Number.prototype.min=a.compare("min",(function(e,t){return e>=t})),a.Number.prototype.max=a.compare("max",(function(e,t){return e<=t})),a.Number.prototype.greater=a.compare("greater",(function(e,t){return e>t})),a.Number.prototype.less=a.compare("less",(function(e,t){return e<t})),e.exports=new a.Number},function(e,t,r){"use strict";function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var r=Object.getOwnPropertyNames(t),n=0;n<r.length;n++){var o=r[n],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}}(e,t))}var o=r(14),i=r(2),s={Set:r(18)};s.Boolean=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this));return r._type="boolean",r._flags.insensitive=!0,r._inner.truthySet=new s.Set,r._inner.falsySet=new s.Set,r}return n(t,e),t.prototype._base=function(e,t,r){var n={value:e};return n.value=!!this._inner.truthySet.has(e,null,null,this._flags.insensitive)||!this._inner.falsySet.has(e,null,null,this._flags.insensitive)&&e,n.errors="boolean"==typeof n.value?null:this.createError("boolean.base",null,t,r),n},t.prototype.truthy=function(){for(var e=this.clone(),t=i.flatten(Array.prototype.slice.call(arguments)),r=0;r<t.length;++r){var n=t[r];i.assert(void 0!==n,"Cannot call truthy with undefined"),e._inner.truthySet.add(n)}return e},t.prototype.falsy=function(){for(var e=this.clone(),t=i.flatten(Array.prototype.slice.call(arguments)),r=0;r<t.length;++r){var n=t[r];i.assert(void 0!==n,"Cannot call falsy with undefined"),e._inner.falsySet.add(n)}return e},t.prototype.insensitive=function(e){var t=void 0===e||!!e;if(t!==this._flags.insensitive){var r=this.clone();return r._flags.insensitive=t,r}return this},t.prototype.describe=function(){var e=o.prototype.describe.call(this);return e.truthy=[!0].concat(this._inner.truthySet.values()),e.falsy=[!1].concat(this._inner.falsySet.values()),e},t}(o),e.exports=new s.Boolean},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var r=Object.getOwnPropertyNames(t),n=0;n<r.length;n++){var o=r[n],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}}(e,t))}var i=r(2),s=r(14),a=r(19),c=r(15),u={};u.Alternatives=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this));return r._type="alternatives",r._invalids.remove(null),r._inner.matches=[],r}return o(t,e),t.prototype._base=function(e,t,r){for(var n=[],o=this._inner.matches.length,i=this._settings&&this._settings.baseType,s=0;s<o;++s){var a=this._inner.matches[s],c=a.schema;if(c){var u=c._validate(e,t,r);if(!u.errors)return u;n=n.concat(u.errors)}else if(a.is._validate(a.ref(t.reference||t.parent,r),null,r,t.parent).errors){if(a.otherwise)return a.otherwise._validate(e,t,r);if(i&&s===o-1)return i._validate(e,t,r)}else if(a.then||i)return(a.then||i)._validate(e,t,r)}return{errors:n.length?n:this.createError("alternatives.base",null,t,r)}},t.prototype.try=function(){var e=i.flatten(Array.prototype.slice.call(arguments));i.assert(e.length,"Cannot add other alternatives without at least one schema");for(var t=this.clone(),r=0;r<e.length;++r){var n=a.schema(e[r]);n._refs.length&&(t._refs=t._refs.concat(n._refs)),t._inner.matches.push({schema:n})}return t},t.prototype.when=function(e,t){i.assert(c.isRef(e)||"string"==typeof e,"Invalid reference:",e),i.assert(t,"Missing options"),i.assert("object"===(void 0===t?"undefined":n(t)),"Invalid options"),i.assert(t.hasOwnProperty("is"),'Missing "is" directive'),i.assert(void 0!==t.then||void 0!==t.otherwise,'options must have at least one of "then" or "otherwise"');var r=this.clone(),o=a.schema(t.is);null!==t.is&&(c.isRef(t.is)||t.is instanceof s)||(o=o.required());var u={ref:a.ref(e),is:o,then:void 0!==t.then?a.schema(t.then):void 0,otherwise:void 0!==t.otherwise?a.schema(t.otherwise):void 0};return r._settings&&r._settings.baseType&&(u.then=u.then&&r._settings.baseType.concat(u.then),u.otherwise=u.otherwise&&r._settings.baseType.concat(u.otherwise)),c.push(r._refs,u.ref),r._refs=r._refs.concat(u.is._refs),u.then&&u.then._refs&&(r._refs=r._refs.concat(u.then._refs)),u.otherwise&&u.otherwise._refs&&(r._refs=r._refs.concat(u.otherwise._refs)),r._inner.matches.push(u),r},t.prototype.describe=function(){for(var e=s.prototype.describe.call(this),t=[],r=0;r<this._inner.matches.length;++r){var n=this._inner.matches[r];if(n.schema)t.push(n.schema.describe());else{var o={ref:n.ref.toString(),is:n.is.describe()};n.then&&(o.then=n.then.describe()),n.otherwise&&(o.otherwise=n.otherwise.describe()),t.push(o)}}return e.alternatives=t,e},t}(s),e.exports=new u.Alternatives},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var r=Object.getOwnPropertyNames(t),n=0;n<r.length;n++){var o=r[n],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}}(e,t))}var i=r(2),s=r(30),a=r(14),c=r(16),u=r(19),l=r(15),f={};f.Object=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this));return r._type="object",r._inner.children=null,r._inner.renames=[],r._inner.dependencies=[],r._inner.patterns=[],r}return o(t,e),t.prototype._base=function(e,t,r){var o=e,s=[],a=function(){return{value:o,errors:s.length?s:null}};"string"==typeof e&&r.convert&&(e=f.safeParse(e));var u=this._flags.func?"function":"object";if(!e||(void 0===e?"undefined":n(e))!==u||Array.isArray(e))return s.push(this.createError(u+".base",null,t,r)),a();if(!(this._inner.renames.length||this._inner.dependencies.length||this._inner.children||this._inner.patterns.length))return o=e,a();if(o===e){"object"===u?o=Object.create(Object.getPrototypeOf(e)):(o=function(){return e.apply(this,arguments)}).prototype=i.clone(e.prototype);for(var l=Object.keys(e),p=0;p<l.length;++p)o[l[p]]=e[l[p]]}else o=e;for(var h={},d=0;d<this._inner.renames.length;++d){var g=this._inner.renames[d];if(!g.options.ignoreUndefined||void 0!==o[g.from]){if(!g.options.multiple&&h[g.to]&&(s.push(this.createError("object.rename.multiple",{from:g.from,to:g.to},t,r)),r.abortEarly))return a();if(Object.prototype.hasOwnProperty.call(o,g.to)&&!g.options.override&&!h[g.to]&&(s.push(this.createError("object.rename.override",{from:g.from,to:g.to},t,r)),r.abortEarly))return a();void 0===o[g.from]?delete o[g.to]:o[g.to]=o[g.from],h[g.to]=!0,g.options.alias||delete o[g.from]}}if(!this._inner.children&&!this._inner.patterns.length&&!this._inner.dependencies.length)return a();var y=i.mapToObject(Object.keys(o));if(this._inner.children)for(var v=0;v<this._inner.children.length;++v){var m=this._inner.children[v],b=m.key,_=o[b];delete y[b];var w={key:b,path:(t.path||"")+(t.path&&b?".":"")+b,parent:o,reference:t.reference},E=m.schema._validate(_,w,r);if(E.errors&&(s.push(this.createError("object.child",{key:b,child:m.schema._getLabel(b),reason:E.errors},w,r)),r.abortEarly))return a();m.schema._flags.strip||void 0===E.value&&E.value!==_?delete o[b]:void 0!==E.value&&(o[b]=E.value)}var x=Object.keys(y);if(x.length&&this._inner.patterns.length){for(var j=0;j<x.length;++j)for(var A=x[j],O={key:A,path:(t.path?t.path+".":"")+A,parent:o,reference:t.reference},S=o[A],k=0;k<this._inner.patterns.length;++k){var T=this._inner.patterns[k];if(T.regex.test(A)){delete y[A];var P=T.rule._validate(S,O,r);if(P.errors&&(s.push(this.createError("object.child",{key:A,child:T.rule._getLabel(A),reason:P.errors},O,r)),r.abortEarly))return a();void 0!==P.value&&(o[A]=P.value)}}x=Object.keys(y)}if((this._inner.children||this._inner.patterns.length)&&x.length){if(r.stripUnknown||r.skipFunctions){for(var R=!(!r.stripUnknown||!0!==r.stripUnknown&&!r.stripUnknown.objects),D=0;D<x.length;++D){var C=x[D];R?(delete o[C],delete y[C]):"function"==typeof o[C]&&delete y[C]}x=Object.keys(y)}if(x.length&&(void 0!==this._flags.allowUnknown?!this._flags.allowUnknown:!r.allowUnknown))for(var I=0;I<x.length;++I){var L=x[I];s.push(this.createError("object.allowUnknown",{child:L},{key:L,path:t.path+(t.path?".":"")+L},r))}}for(var B=0;B<this._inner.dependencies.length;++B){var N=this._inner.dependencies[B],U=f[N.type].call(this,null!==N.key&&o[N.key],N.peers,o,{key:N.key,path:(t.path||"")+(N.key?"."+N.key:"")},r);if(U instanceof c.Err&&(s.push(U),r.abortEarly))return a()}return a()},t.prototype._func=function(){var e=this.clone();return e._flags.func=!0,e},t.prototype.keys=function(e){i.assert(null==e||"object"===(void 0===e?"undefined":n(e)),"Object schema must be a valid object"),i.assert(!(e&&e instanceof a),"Object schema cannot be a joi schema");var t=this.clone();if(!e)return t._inner.children=null,t;var r=Object.keys(e);if(!r.length)return t._inner.children=[],t;var o=new s;if(t._inner.children)for(var c=0;c<t._inner.children.length;++c){var l=t._inner.children[c];-1===r.indexOf(l.key)&&o.add(l,{after:l._refs,group:l.key})}for(var f=0;f<r.length;++f){var p=r[f],h=e[p];try{var d=u.schema(h);o.add({key:p,schema:d},{after:d._refs,group:p})}catch(e){throw e.hasOwnProperty("path")?e.path=p+"."+e.path:e.path=p,e}}return t._inner.children=o.nodes,t},t.prototype.unknown=function(e){var t=this.clone();return t._flags.allowUnknown=!1!==e,t},t.prototype.length=function(e){return i.assert(i.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("length",e,(function(t,r,n){return Object.keys(t).length===e?t:this.createError("object.length",{limit:e},r,n)}))},t.prototype.arity=function(e){return i.assert(i.isInteger(e)&&e>=0,"n must be a positive integer"),this._test("arity",e,(function(t,r,n){return t.length===e?t:this.createError("function.arity",{n:e},r,n)}))},t.prototype.minArity=function(e){return i.assert(i.isInteger(e)&&e>0,"n must be a strict positive integer"),this._test("minArity",e,(function(t,r,n){return t.length>=e?t:this.createError("function.minArity",{n:e},r,n)}))},t.prototype.maxArity=function(e){return i.assert(i.isInteger(e)&&e>=0,"n must be a positive integer"),this._test("maxArity",e,(function(t,r,n){return t.length<=e?t:this.createError("function.maxArity",{n:e},r,n)}))},t.prototype.min=function(e){return i.assert(i.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("min",e,(function(t,r,n){return Object.keys(t).length>=e?t:this.createError("object.min",{limit:e},r,n)}))},t.prototype.max=function(e){return i.assert(i.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("max",e,(function(t,r,n){return Object.keys(t).length<=e?t:this.createError("object.max",{limit:e},r,n)}))},t.prototype.pattern=function(e,t){i.assert(e instanceof RegExp,"Invalid regular expression"),i.assert(void 0!==t,"Invalid rule"),e=new RegExp(e.source,e.ignoreCase?"i":void 0);try{t=u.schema(t)}catch(e){throw e.hasOwnProperty("path")&&(e.message=e.message+"("+e.path+")"),e}var r=this.clone();return r._inner.patterns.push({regex:e,rule:t}),r},t.prototype.schema=function(){return this._test("schema",null,(function(e,t,r){return e instanceof a?e:this.createError("object.schema",null,t,r)}))},t.prototype.with=function(e,t){return this._dependency("with",e,t)},t.prototype.without=function(e,t){return this._dependency("without",e,t)},t.prototype.xor=function(){var e=i.flatten(Array.prototype.slice.call(arguments));return this._dependency("xor",null,e)},t.prototype.or=function(){var e=i.flatten(Array.prototype.slice.call(arguments));return this._dependency("or",null,e)},t.prototype.and=function(){var e=i.flatten(Array.prototype.slice.call(arguments));return this._dependency("and",null,e)},t.prototype.nand=function(){var e=i.flatten(Array.prototype.slice.call(arguments));return this._dependency("nand",null,e)},t.prototype.requiredKeys=function(e){return e=i.flatten(Array.prototype.slice.call(arguments)),this.applyFunctionToChildren(e,"required")},t.prototype.optionalKeys=function(e){return e=i.flatten(Array.prototype.slice.call(arguments)),this.applyFunctionToChildren(e,"optional")},t.prototype.rename=function(e,t,r){i.assert("string"==typeof e,"Rename missing the from argument"),i.assert("string"==typeof t,"Rename missing the to argument"),i.assert(t!==e,"Cannot rename key to same name:",e);for(var n=0;n<this._inner.renames.length;++n)i.assert(this._inner.renames[n].from!==e,"Cannot rename the same key multiple times");var o=this.clone();return o._inner.renames.push({from:e,to:t,options:i.applyToDefaults(f.renameDefaults,r||{})}),o},t.prototype.applyFunctionToChildren=function(e,t,r,n){e=[].concat(e),i.assert(e.length>0,"expected at least one children");var o=f.groupChildren(e),s=void 0;if(""in o?(s=this[t].apply(this,r),delete o[""]):s=this.clone(),s._inner.children){n=n?n+".":"";for(var a=0;a<s._inner.children.length;++a){var c=s._inner.children[a],u=o[c.key];u&&(s._inner.children[a]={key:c.key,_refs:c._refs,schema:c.schema.applyFunctionToChildren(u,t,r,n+c.key)},delete o[c.key])}}var l=Object.keys(o);return i.assert(0===l.length,"unknown key(s)",l.join(", ")),s},t.prototype._dependency=function(e,t,r){r=[].concat(r);for(var n=0;n<r.length;++n)i.assert("string"==typeof r[n],e,"peers must be a string or array of strings");var o=this.clone();return o._inner.dependencies.push({type:e,key:t,peers:r}),o},t.prototype.describe=function(e){var t=a.prototype.describe.call(this);if(t.rules)for(var r=0;r<t.rules.length;++r){var o=t.rules[r];o.arg&&"object"===n(o.arg)&&o.arg.schema&&o.arg.ref&&(o.arg={schema:o.arg.schema.describe(),ref:o.arg.ref.toString()})}if(this._inner.children&&!e){t.children={};for(var s=0;s<this._inner.children.length;++s){var c=this._inner.children[s];t.children[c.key]=c.schema.describe()}}if(this._inner.dependencies.length&&(t.dependencies=i.clone(this._inner.dependencies)),this._inner.patterns.length){t.patterns=[];for(var u=0;u<this._inner.patterns.length;++u){var l=this._inner.patterns[u];t.patterns.push({regex:l.regex.toString(),rule:l.rule.describe()})}}return this._inner.renames.length>0&&(t.renames=i.clone(this._inner.renames)),t},t.prototype.assert=function(e,t,r){e=u.ref(e),i.assert(e.isContext||e.depth>1,"Cannot use assertions for root level references - use direct key rules instead"),r=r||"pass the assertion test";try{t=u.schema(t)}catch(e){throw e.hasOwnProperty("path")&&(e.message=e.message+"("+e.path+")"),e}var n=e.path[e.path.length-1],o=e.path.join(".");return this._test("assert",{schema:t,ref:e},(function(s,a,c){if(!t._validate(e(s),null,c,s).errors)return s;var u=i.merge({},a);return u.key=n,u.path=o,this.createError("object.assert",{ref:u.path,message:r},u,c)}))},t.prototype.type=function(e,t){i.assert("function"==typeof e,"type must be a constructor function");var r={name:t||e.name,ctor:e};return this._test("type",r,(function(t,n,o){return t instanceof e?t:this.createError("object.type",{type:r.name},n,o)}))},t.prototype.ref=function(){return this._test("ref",null,(function(e,t,r){return l.isRef(e)?e:this.createError("function.ref",null,t,r)}))},t}(a),f.safeParse=function(e){try{return JSON.parse(e)}catch(e){}return e},f.renameDefaults={alias:!1,multiple:!1,override:!1},f.groupChildren=function(e){e.sort();for(var t={},r=0;r<e.length;++r){var n=e[r];i.assert("string"==typeof n,"children must be strings");var o=n.split(".")[0];(t[o]=t[o]||[]).push(n.substring(o.length+1))}return t},f.with=function(e,t,r,n,o){if(void 0===e)return e;for(var i=0;i<t.length;++i){var s=t[i];if(!Object.prototype.hasOwnProperty.call(r,s)||void 0===r[s])return this.createError("object.with",{peer:s},n,o)}return e},f.without=function(e,t,r,n,o){if(void 0===e)return e;for(var i=0;i<t.length;++i){var s=t[i];if(Object.prototype.hasOwnProperty.call(r,s)&&void 0!==r[s])return this.createError("object.without",{peer:s},n,o)}return e},f.xor=function(e,t,r,n,o){for(var i=[],s=0;s<t.length;++s){var a=t[s];Object.prototype.hasOwnProperty.call(r,a)&&void 0!==r[a]&&i.push(a)}return 1===i.length?e:0===i.length?this.createError("object.missing",{peers:t},n,o):this.createError("object.xor",{peers:t},n,o)},f.or=function(e,t,r,n,o){for(var i=0;i<t.length;++i){var s=t[i];if(Object.prototype.hasOwnProperty.call(r,s)&&void 0!==r[s])return e}return this.createError("object.missing",{peers:t},n,o)},f.and=function(e,t,r,n,o){for(var i=[],s=[],a=t.length,c=0;c<a;++c){var u=t[c];Object.prototype.hasOwnProperty.call(r,u)&&void 0!==r[u]?s.push(u):i.push(u)}return i.length===a||s.length===a?null:this.createError("object.and",{present:s,missing:i},n,o)},f.nand=function(e,t,r,n,o){for(var s=[],a=0;a<t.length;++a){var c=t[a];Object.prototype.hasOwnProperty.call(r,c)&&void 0!==r[c]&&s.push(c)}var u=i.clone(t),l=u.splice(0,1)[0];return s.length===t.length?this.createError("object.nand",{main:l,peers:u},n,o):null},e.exports=new f.Object},function(e,t,r){"use strict";var n=r(2),o={};e.exports=o.Topo=function(){this._items=[],this.nodes=[]},o.Topo.prototype.add=function(e,t){var r=this,o=[].concat((t=t||{}).before||[]),i=[].concat(t.after||[]),s=t.group||"?",a=t.sort||0;n.assert(-1===o.indexOf(s),"Item cannot come before itself:",s),n.assert(-1===o.indexOf("?"),"Item cannot come before unassociated items"),n.assert(-1===i.indexOf(s),"Item cannot come after itself:",s),n.assert(-1===i.indexOf("?"),"Item cannot come after unassociated items"),[].concat(e).forEach((function(e,t){var n={seq:r._items.length,sort:a,before:o,after:i,group:s,node:e};r._items.push(n)}));var c=this._sort();return n.assert(!c,"item","?"!==s?"added into group "+s:"","created a dependencies error"),this.nodes},o.Topo.prototype.merge=function(e){e=[].concat(e);for(var t=0;t<e.length;++t){var r=e[t];if(r)for(var i=0;i<r._items.length;++i){var s=n.shallow(r._items[i]);this._items.push(s)}}this._items.sort(o.mergeSort);for(var a=0;a<this._items.length;++a)this._items[a].seq=a;var c=this._sort();return n.assert(!c,"merge created a dependencies error"),this.nodes},o.mergeSort=function(e,t){return e.sort===t.sort?0:e.sort<t.sort?-1:1},o.Topo.prototype._sort=function(){for(var e={},t=Object.create(null),r=Object.create(null),n=0;n<this._items.length;++n){var o=this._items[n],i=o.seq,s=o.group;r[s]=r[s]||[],r[s].push(i),e[i]=o.before;for(var a=o.after,c=0;c<a.length;++c)t[a[c]]=(t[a[c]]||[]).concat(i)}for(var u=Object.keys(e),l=0;l<u.length;++l){for(var f=u[l],p=[],h=Object.keys(e[f]),d=0;d<h.length;++d){var g=e[f][h[d]];r[g]=r[g]||[];for(var y=0;y<r[g].length;++y)p.push(r[g][y])}e[f]=p}for(var v=Object.keys(t),m=0;m<v.length;++m){var b=v[m];if(r[b])for(var _=0;_<r[b].length;++_){var w=r[b][_];e[w]=e[w].concat(t[b])}}var E=void 0,x={};u=Object.keys(e);for(var j=0;j<u.length;++j){var A=u[j];E=e[A];for(var O=0;O<E.length;++O)x[E[O]]=(x[E[O]]||[]).concat(A)}for(var S={},k=[],T=0;T<this._items.length;++T){var P=T;if(x[T]){P=null;for(var R=0;R<this._items.length;++R)if(!0!==S[R]){x[R]||(x[R]=[]);for(var D=x[R].length,C=0,I=0;I<D;++I)k.indexOf(x[R][I])>=0&&++C;if(C===D){P=R;break}}}null!==P&&(S[P=P.toString()]=!0,k.push(P))}if(k.length!==this._items.length)return new Error("Invalid dependencies");for(var L={},B=0;B<this._items.length;++B){var N=this._items[B];L[N.seq]=N}var U=[];this._items=k.map((function(e){var t=L[e];return U.push(t.node),t})),this.nodes=U}},function(e,t,r){"use strict";var n=r(1);t.options=n.object({abortEarly:n.boolean(),convert:n.boolean(),allowUnknown:n.boolean(),skipFunctions:n.boolean(),stripUnknown:[n.boolean(),n.object({arrays:n.boolean(),objects:n.boolean()}).or("arrays","objects")],language:n.object(),presence:n.string().only("required","optional","forbidden","ignore"),raw:n.boolean(),context:n.object(),strip:n.boolean(),noDefaults:n.boolean()}).strict()},function(e,t,r){"use strict";function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var r=Object.getOwnPropertyNames(t),n=0;n<r.length;n++){var o=r[n],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}}(e,t))}var o=r(14),i=r(2),s={};s.Lazy=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this));return r._type="lazy",r}return n(t,e),t.prototype._base=function(e,t,r){var n={value:e},i=this._flags.lazy;if(!i)return n.errors=this.createError("lazy.base",null,t,r),n;var s=i();return s instanceof o?s._validate(e,t,r):(n.errors=this.createError("lazy.schema",null,t,r),n)},t.prototype.set=function(e){i.assert("function"==typeof e,"You must provide a function as first argument");var t=this.clone();return t._flags.lazy=e,t},t}(o),e.exports=new s.Lazy},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var r=Object.getOwnPropertyNames(t),n=0;n<r.length;n++){var o=r[n],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}}(e,t))}var i=r(14),s=r(19),a=r(2),c={fastSplice:function(e,t){for(var r=t;r<e.length;)e[r++]=e[r];--e.length}};c.Array=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this));return r._type="array",r._inner.items=[],r._inner.ordereds=[],r._inner.inclusions=[],r._inner.exclusions=[],r._inner.requireds=[],r._flags.sparse=!1,r}return o(t,e),t.prototype._base=function(e,t,r){var n={value:e};"string"==typeof e&&r.convert&&c.safeParse(e,n);var o=Array.isArray(n.value),i=o;if(r.convert&&this._flags.single&&!o&&(n.value=[n.value],o=!0),!o)return n.errors=this.createError("array.base",null,t,r),n;if((this._inner.inclusions.length||this._inner.exclusions.length||this._inner.requireds.length||this._inner.ordereds.length||!this._flags.sparse)&&(i&&(n.value=n.value.slice(0)),n.errors=this._checkItems.call(this,n.value,i,t,r),n.errors&&i&&r.convert&&this._flags.single)){var s=n.errors;n.value=[n.value],n.errors=this._checkItems.call(this,n.value,i,t,r),n.errors&&(n.errors=s,n.value=n.value[0])}return n},t.prototype._checkItems=function(e,t,r,n){for(var o=[],i=void 0,s=this._inner.requireds.slice(),a=this._inner.ordereds.slice(),u=this._inner.inclusions.concat(s),l=e.length,f=0;f<l;++f){i=!1;var p=e[f],h=!1,d={key:t?f:r.key,path:t?(r.path?r.path+".":"")+f:r.path,parent:r.parent,reference:r.reference},g=void 0;if(this._flags.sparse||void 0!==p){for(var y=0;y<this._inner.exclusions.length;++y)if(!(g=this._inner.exclusions[y]._validate(p,d,{})).errors){if(o.push(this.createError(t?"array.excludes":"array.excludesSingle",{pos:f,value:p},{key:r.key,path:d.path},n)),i=!0,n.abortEarly)return o;break}if(!i){if(this._inner.ordereds.length){if(a.length>0){var v=a.shift();if((g=v._validate(p,d,n)).errors){if(o.push(this.createError("array.ordered",{pos:f,reason:g.errors,value:p},{key:r.key,path:d.path},n)),n.abortEarly)return o}else if(v._flags.strip)c.fastSplice(e,f),--f,--l;else{if(!this._flags.sparse&&void 0===g.value){if(o.push(this.createError("array.sparse",null,{key:r.key,path:d.path,pos:f},n)),n.abortEarly)return o;continue}e[f]=g.value}continue}if(!this._inner.items.length){if(o.push(this.createError("array.orderedLength",{pos:f,limit:this._inner.ordereds.length},{key:r.key,path:d.path},n)),n.abortEarly)return o;continue}}for(var m=[],b=s.length,_=0;_<b;++_)if(!(g=m[_]=s[_]._validate(p,d,n)).errors){if(e[f]=g.value,h=!0,c.fastSplice(s,_),--_,--b,!this._flags.sparse&&void 0===g.value&&(o.push(this.createError("array.sparse",null,{key:r.key,path:d.path,pos:f},n)),n.abortEarly))return o;break}if(!h){var w=!(!n.stripUnknown||!0!==n.stripUnknown&&!n.stripUnknown.arrays);b=u.length;for(var E=0;E<b;++E){var x=u[E],j=s.indexOf(x);if(-1!==j)g=m[j];else if(!(g=x._validate(p,d,n)).errors){x._flags.strip?(c.fastSplice(e,f),--f,--l):this._flags.sparse||void 0!==g.value?e[f]=g.value:(o.push(this.createError("array.sparse",null,{key:r.key,path:d.path,pos:f},n)),i=!0),h=!0;break}if(1===b){if(w){c.fastSplice(e,f),--f,--l,h=!0;break}if(o.push(this.createError(t?"array.includesOne":"array.includesOneSingle",{pos:f,reason:g.errors,value:p},{key:r.key,path:d.path},n)),i=!0,n.abortEarly)return o;break}}if(!i&&this._inner.inclusions.length&&!h){if(w){c.fastSplice(e,f),--f,--l;continue}if(o.push(this.createError(t?"array.includes":"array.includesSingle",{pos:f,value:p},{key:r.key,path:d.path},n)),n.abortEarly)return o}}}}else if(o.push(this.createError("array.sparse",null,{key:r.key,path:d.path,pos:f},n)),n.abortEarly)return o}return s.length&&this._fillMissedErrors.call(this,o,s,r,n),a.length&&this._fillOrderedErrors.call(this,o,a,r,n),o.length?o:null},t.prototype.describe=function(){var e=i.prototype.describe.call(this);if(this._inner.ordereds.length){e.orderedItems=[];for(var t=0;t<this._inner.ordereds.length;++t)e.orderedItems.push(this._inner.ordereds[t].describe())}if(this._inner.items.length){e.items=[];for(var r=0;r<this._inner.items.length;++r)e.items.push(this._inner.items[r].describe())}return e},t.prototype.items=function(){var e=this.clone();return a.flatten(Array.prototype.slice.call(arguments)).forEach((function(t,r){try{t=s.schema(t)}catch(e){throw e.hasOwnProperty("path")?e.path=r+"."+e.path:e.path=r,e.message=e.message+"("+e.path+")",e}e._inner.items.push(t),"required"===t._flags.presence?e._inner.requireds.push(t):"forbidden"===t._flags.presence?e._inner.exclusions.push(t.optional()):e._inner.inclusions.push(t)})),e},t.prototype.ordered=function(){var e=this.clone();return a.flatten(Array.prototype.slice.call(arguments)).forEach((function(t,r){try{t=s.schema(t)}catch(e){throw e.hasOwnProperty("path")?e.path=r+"."+e.path:e.path=r,e.message=e.message+"("+e.path+")",e}e._inner.ordereds.push(t)})),e},t.prototype.min=function(e){return a.assert(a.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("min",e,(function(t,r,n){return t.length>=e?t:this.createError("array.min",{limit:e,value:t},r,n)}))},t.prototype.max=function(e){return a.assert(a.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("max",e,(function(t,r,n){return t.length<=e?t:this.createError("array.max",{limit:e,value:t},r,n)}))},t.prototype.length=function(e){return a.assert(a.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("length",e,(function(t,r,n){return t.length===e?t:this.createError("array.length",{limit:e,value:t},r,n)}))},t.prototype.unique=function(e){var t=!!e;return e=e||a.deepEqual,a.assert("function"==typeof e,"comparator must be a function"),this._test("unique",void 0,(function(r,o,i){for(var s={string:{},number:{},undefined:{},boolean:{},object:[],function:[],custom:[]},a=0;a<r.length;++a){var c=r[a],u=void 0===c?"undefined":n(c),l=t?s.custom:s[u];if(l)if(Array.isArray(l)){for(var f=0;f<l.length;++f)if(e(l[f],c))return this.createError("array.unique",{pos:a,value:c},o,i);l.push(c)}else{if(l[c])return this.createError("array.unique",{pos:a,value:c},o,i);l[c]=!0}}return r}))},t.prototype.sparse=function(e){var t=this.clone();return t._flags.sparse=void 0===e||!!e,t},t.prototype.single=function(e){var t=this.clone();return t._flags.single=void 0===e||!!e,t},t.prototype._fillMissedErrors=function(e,t,r,n){for(var o=[],i=0,s=0;s<t.length;++s){var a=t[s]._getLabel();a?o.push(a):++i}o.length?i?e.push(this.createError("array.includesRequiredBoth",{knownMisses:o,unknownMisses:i},{key:r.key,path:r.path},n)):e.push(this.createError("array.includesRequiredKnowns",{knownMisses:o},{key:r.key,path:r.path},n)):e.push(this.createError("array.includesRequiredUnknowns",{unknownMisses:i},{key:r.key,path:r.path},n))},t.prototype._fillOrderedErrors=function(e,t,r,n){for(var o=[],i=0;i<t.length;++i)"required"===a.reach(t[i],"_flags.presence")&&o.push(t[i]);o.length&&this._fillMissedErrors.call(this,e,o,r,n)},t}(i),c.safeParse=function(e,t){try{var r=JSON.parse(e);Array.isArray(r)&&(t.value=r)}catch(e){}},e.exports=new c.Array},function(e,t,r){(function(t){"use strict";function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var r=Object.getOwnPropertyNames(t),n=0;n<r.length;n++){var o=r[n],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}}(e,t))}var o=r(14),i=r(2),s={};s.Binary=function(e){function r(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this));return t._type="binary",t}return n(r,e),r.prototype._base=function(e,r,n){var o={value:e};if("string"==typeof e&&n.convert)try{o.value=new t(e,this._flags.encoding)}catch(e){}return o.errors=t.isBuffer(o.value)?null:this.createError("binary.base",null,r,n),o},r.prototype.encoding=function(e){i.assert(t.isEncoding(e),"Invalid encoding:",e);var r=this.clone();return r._flags.encoding=e,r},r.prototype.min=function(e){return i.assert(i.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("min",e,(function(t,r,n){return t.length>=e?t:this.createError("binary.min",{limit:e,value:t},r,n)}))},r.prototype.max=function(e){return i.assert(i.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("max",e,(function(t,r,n){return t.length<=e?t:this.createError("binary.max",{limit:e,value:t},r,n)}))},r.prototype.length=function(e){return i.assert(i.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("length",e,(function(t,r,n){return t.length===e?t:this.createError("binary.length",{limit:e,value:t},r,n)}))},r}(o),e.exports=new s.Binary}).call(t,r(3).Buffer)},function(e,t){e.exports={_args:[[{raw:"joi@10.0.5",scope:null,escapedName:"joi",name:"joi",rawSpec:"10.0.5",spec:"10.0.5",type:"version"},"/Users/jeff/projects/joi-browser"]],_from:"joi@10.0.5",_id:"joi@10.0.5",_inCache:!0,_location:"/joi",_nodeVersion:"6.9.1",_npmOperationalInternal:{host:"packages-12-west.internal.npmjs.com",tmp:"tmp/joi-10.0.5.tgz_1480956525182_0.0934728232678026"},_npmUser:{name:"marsup",email:"nicolas@morel.io"},_npmVersion:"3.10.10",_phantomChildren:{},_requested:{raw:"joi@10.0.5",scope:null,escapedName:"joi",name:"joi",rawSpec:"10.0.5",spec:"10.0.5",type:"version"},_requiredBy:["#DEV:/"],_resolved:"https://registry.npmjs.org/joi/-/joi-10.0.5.tgz",_shasum:"2e43af9bf24d2d5745852e9ab968c85be357bd6a",_shrinkwrap:null,_spec:"joi@10.0.5",_where:"/Users/jeff/projects/joi-browser",bugs:{url:"https://github.com/hapijs/joi/issues"},dependencies:{hoek:"4.x.x",isemail:"2.x.x",items:"2.x.x",topo:"2.x.x"},description:"Object schema validation",devDependencies:{code:"4.x.x",lab:"11.x.x","markdown-toc":"0.13.x"},directories:{},dist:{shasum:"2e43af9bf24d2d5745852e9ab968c85be357bd6a",tarball:"https://registry.npmjs.org/joi/-/joi-10.0.5.tgz"},engines:{node:">=4.0.0"},gitHead:"abfe727885af779a676e6a205ee15cdc8b435691",homepage:"https://github.com/hapijs/joi",keywords:["hapi","schema","validation"],license:"BSD-3-Clause",main:"lib/index.js",maintainers:[{name:"hueniverse",email:"eran@hueniverse.com"},{name:"marsup",email:"marsup@gmail.com"}],name:"joi",optionalDependencies:{},readme:"ERROR: No README data found!",repository:{type:"git",url:"git://github.com/hapijs/joi.git"},scripts:{test:"lab -t 100 -a code -L","test-cov-html":"lab -r html -o coverage.html -a code","test-debug":"node $NODE_DEBUG_OPTION ./node_modules/.bin/lab -a code",toc:"node generate-readme-toc.js",version:"npm run toc && git add API.md README.md"},version:"10.0.5"}}])},e.exports=n()}}]);
-//# sourceMappingURL=e852c523afaf4768e6bd.js.map
\ No newline at end of file
diff --git a/api/assets/f46fc057b352f07253c7.js b/api/assets/f46fc057b352f07253c7.js
deleted file mode 100644
index 6850cd04..00000000
--- a/api/assets/f46fc057b352f07253c7.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(this.webpackJsonp=this.webpackJsonp||[]).push([[2],{10310:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){switch(t.type){case u.ActionType.NAVIGATE_UP:return function(e,t){return o({},e,{focusedIndex:Math.max(0,e.focusedIndex-1)})}(e);case u.ActionType.NAVIGATE_DOWN:return function(e,t){return o({},e,{focusedIndex:Math.min(e.focusedIndex+1,e.itemCount-1)})}(e);case u.ActionType.NAVIGATE_START:return function(e,t){return o({},e,{focusedIndex:0})}(e);case u.ActionType.NAVIGATE_END:return function(e,t){return o({},e,{focusedIndex:e.itemCount-1})}(e);case r.UPDATE_ITEM_COUNT:return function(e,t){var n=t.itemCount;return o({},e,{itemCount:n,focusedIndex:Math.min(n-1,e.focusedIndex)})}(e,t);case r.SET_FOCUSED_INDEX:return function(e,t){var n=t.index;return o({},e,{focusedIndex:Math.max(0,Math.min(n,e.itemCount-1))})}(e,t);case u.ActionType.SELECT_FOCUSED_ITEM:return e;default:console.warn("Listbox navigator was given an unhandled action "+t.type)}return e},t.ListActionType=void 0;var r,u=n(704);function o(){return(o=Object.assign||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}).apply(this,arguments)}t.ListActionType=r,function(e){e.UPDATE_ITEM_COUNT="UPDATE_ITEM_COUNT",e.SET_FOCUSED_INDEX="SET_FOCUSED_INDEX"}(r||(t.ListActionType=r={}))},10311:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){switch(t.type){case u.ActionType.NAVIGATE_UP:return function(e,t){var n=c(e),r=a(e);if(null==r)return e;var u=(i(r,n)-1)%r.length;u<0&&(u=r.length-1);return null==r[u]?e:o({},e,{focusPath:[].concat(e.focusPath.slice(0,-1),[r[u].key])})}(e);case u.ActionType.NAVIGATE_DOWN:return function(e,t){var n=c(e),r=a(e);if(null==r)return e;var u=(i(r,n)+1)%r.length;return null==r[u]?e:o({},e,{focusPath:[].concat(e.focusPath.slice(0,-1),[r[u].key])})}(e);case u.ActionType.NAVIGATE_IN:return function(e,t){var n,r=c(e),u=a(e);if(null==u)return e;var s=u[i(u,r)],f=null==s||null===(n=s.children)||void 0===n?void 0:n[0];return null==f?e:o({},e,{focusPath:[].concat(e.focusPath,[f.key])})}(e);case u.ActionType.NAVIGATE_OUT:return function(e,t){return e.focusPath.length<=1?e:o({},e,{focusPath:e.focusPath.slice(0,-1)})}(e);case r.UPDATE_ITEMS:return function(e,t){var n=t.items;return o({},e,{items:n,focusPath:s(n,e.focusPath)})}(e,t);case r.SET_FOCUS_PATH:return function(e,t){var n=t.path;return o({},e,{focusPath:s(e.items,n)})}(e,t);case u.ActionType.SELECT_FOCUSED_ITEM:return e;default:throw new Error("Menu navigator was given an unhandled action "+t.type)}return e},t.MenuActionType=void 0;var r,u=n(704);function o(){return(o=Object.assign||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}).apply(this,arguments)}function i(e,t){return e.findIndex((function(e){return t===e.key}))}function c(e){return e.focusPath[e.focusPath.length-1]}function a(e){for(var t=e.items,n=0;n<e.focusPath.length-1;n++){if(null==t)return;t=t[i(t,e.focusPath[n])].children}return t}function s(e,t){for(var n=e,r=[],u=0;u<t.length&&null!=n;u++){var o=t[u],c=i(n,o);if(c<0||c>=n.length){var a=n[0];null!=a&&r.push(a.key);break}r.push(o),n=n[c].children}return r}t.MenuActionType=r,function(e){e.UPDATE_ITEMS="UPDATE_ITEMS",e.SET_FOCUS_PATH="SET_FOCUS_PATH"}(r||(t.MenuActionType=r={}))},10814:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.navId,n=e.columnCounts,c=e.focusedX,a=void 0===c?0:c,d=e.focusedY,p=void 0===d?0:d,T=e.onSelect,y=e.prepareFocus,A=e.getNewFocusPosition,v=e.maintainFocusPosition,E=void 0===v||v,I=e.enabled,N=void 0===I||I,_=e.onDispatch,g=e.autoFocusElement,O=void 0===g||g,h=e.useVirtualFocus,m=void 0!==h&&h,b=r.useCallback((function(e,t){var n=(0,u.default)(e,t);return null!=_&&_(e,n,t),n}),[_]),P=r.useReducer(b,{focusedX:a,focusedY:p,columnCounts:n}),S=P[0],C=P[1],D=S.columnCounts,M=S.focusedX,x=S.focusedY,F=r.useState((function(){return(0,i.throttle)(C,16)}))[0];return r.useEffect((function(){C({type:u.GridActionType.UPDATE_COLUMN_COUNTS,columnCounts:n})}),[n]),function(e){var t=e.navId,n=e.columnCounts,c=e.focusedX,a=e.focusedY,d=e.onSelect,p=e.prepareFocus,T=e.getNewFocusPosition,y=e.dispatch,A=e.maintainFocusPosition,v=e.enabled,E=e.autoFocusElement,I=e.useVirtualFocus,N=r.useRef();N.current=v;var _=l(f(t,c,a)),g=r.useState(!1),O=g[0],h=g[1],m=r.useState(!1),b=m[0],P=m[1],S=r.useState(!1),C=S[0],D=S[1],M=r.useState((function(){return new i.HandlerMemoizer((function(e){var t=e.split(",").map(Number),n=t[0],r=t[1];return function(){h(!0),y({type:u.GridActionType.SET_FOCUSED_POSITION,x:n,y:r})}}))}))[0];r.useEffect((function(){return function(){return M.clean()}}),[M]);var x=r.useCallback((function(e){if(!N.current||!E)return!1;e.focus()}),[E]),F=r.useCallback((function(e,n){var r=f(t,e,n);(null!=p?p(e,n,r):Promise.resolve()).then((function(){var e=l(r);null!=e?(x(e),P(!1)):requestAnimationFrame((function(){return P(!0)}))}))}),[t,p,x]),G=r.useCallback((function(e){void 0===e&&(e=!0);var n=null!=T?T(c,a):[c,a],r=n[0],o=n[1];if(r===c&&o===a||(y({type:u.GridActionType.SET_FOCUSED_POSITION,x:r,y:o}),e)){var i=l(f(t,r,o));null!=i&&(D(!0),x(i))}else D(!0)}),[y,c,a,T,t,x]),k=r.useState(!1),U=k[0],j=k[1];r.useEffect((function(){if(U&&O){j(!1);var e=l(f(t,c,a));if(null==e){h(!1);var n=l(f(t));null!=n&&x(n)}else x(e)}}),[t,U,O,x,c,a]);var w=r.useCallback((function(e){N.current&&null==e&&j(!0)}),[]);r.useEffect((function(){O&&b&&null!=_&&(x(_),P(!1))}),[b,_]),r.useEffect((function(){O&&(C||F(c,a),D(!1))}),[c,a]);var V=r.useCallback((function(e){if(N.current){if(!I&&s.includes(e.key)&&!(e.shiftKey||e.altKey||e.metaKey||e.ctrlKey)&&e.currentTarget===e.target)return e.preventDefault(),e.stopPropagation(),void G();var t,r=function(e){switch(e.key){case o.Keys.ENTER:return o.ActionType.SELECT_FOCUSED_ITEM;case o.Keys.UP:return o.ActionType.NAVIGATE_UP;case o.Keys.DOWN:return o.ActionType.NAVIGATE_DOWN;case o.Keys.RIGHT:return o.ActionType.NAVIGATE_RIGHT;case o.Keys.LEFT:return o.ActionType.NAVIGATE_LEFT;case o.Keys.HOME:return e.ctrlKey?o.ActionType.NAVIGATE_START:o.ActionType.NAVIGATE_INLINE_START;case o.Keys.END:return e.ctrlKey?o.ActionType.NAVIGATE_END:o.ActionType.NAVIGATE_INLINE_END}return}(e);switch(r){case o.ActionType.NAVIGATE_UP:case o.ActionType.NAVIGATE_DOWN:case o.ActionType.NAVIGATE_RIGHT:case o.ActionType.NAVIGATE_LEFT:case o.ActionType.NAVIGATE_INLINE_START:case o.ActionType.NAVIGATE_INLINE_END:case o.ActionType.NAVIGATE_START:case o.ActionType.NAVIGATE_END:return 0===n.length||0===c&&0===a&&r===o.ActionType.NAVIGATE_LEFT||(e.preventDefault(),e.stopPropagation()),void y({type:r});case o.ActionType.SELECT_FOCUSED_ITEM:if(E&&(t=_,document.activeElement!==t))return;if(e.repeat)return;e.preventDefault(),e.stopPropagation(),y({type:r}),null!=d?d(c,a,e):null!=_&&_.click()}}}),[G,y,E,_,d,c,a]),L=r.useCallback((function(e){return e.currentTarget!==e.target?(O||(h(!0),D(!0)),!1):O?(G(!1),!1):void(A&&null!=_?F(c,a):G(!0))}),[O,A,_,G,F,c,a]),K=r.useCallback((function(e){if(e.target!==e.currentTarget){if(e.currentTarget.contains(e.relatedTarget))return!1;h(!1)}}),[]),R=r.useMemo((function(){return Math.max.apply(Math,n)}),[n]),z=r.useCallback((function(){return{role:"grid","aria-rowcount":n.length,"aria-colcount":R,tabIndex:O&&A?-1:0,"data-ref-id":t,onKeyDown:V,onFocus:L,onBlur:K}}),[n.length,R,O,A,t,V,L,K]),W=r.useCallback((function(e,n){var r={role:"gridcell","aria-rowindex":n+1,"aria-colindex":e+1,id:(0,i.makeGridId)(t,e,n),tabIndex:A&&e===c&&n===a?0:-1,onFocus:M.get(e+","+n)};return e===c&&n===a&&(r.ref=w),r}),[t,A,c,a,M,w]),X=r.useCallback((function(e){return{role:"row","aria-rowindex":e+1}}),[]);return r.useMemo((function(){return{dispatch:y,getContainerProps:z,getItemProps:W,getRowProps:X}}),[y,z,W,X])}({navId:t,columnCounts:D,focusedX:M,focusedY:x,dispatch:F,onSelect:T,prepareFocus:y,getNewFocusPosition:A,maintainFocusPosition:E,enabled:N,autoFocusElement:O,useVirtualFocus:m})},Object.defineProperty(t,"GridActionType",{enumerable:!0,get:function(){return u.GridActionType}});var r=a(n(0)),u=a(n(10815)),o=n(704),i=n(418);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function a(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var o=r?Object.getOwnPropertyDescriptor(e,u):null;o&&(o.get||o.set)?Object.defineProperty(n,u,o):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}var s=[o.Keys.TAB];function f(e,t,n){return null!=t&&null!=n?"#"+(0,i.makeGridId)(e,t,n):"[data-ref-id="+e+"]"}function l(e){return document.querySelector(e)}},10815:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){switch(t.type){case u.ActionType.NAVIGATE_UP:return function(e,t){var n=i(0,e.focusedY-1);return o({},e,{focusedX:c(e.columnCounts[n]-1,e.focusedX),focusedY:n})}(e);case u.ActionType.NAVIGATE_DOWN:return function(e,t){var n=c(e.focusedY+1,e.columnCounts.length-1);return o({},e,{focusedX:c(e.columnCounts[n]-1,e.focusedX),focusedY:n})}(e);case u.ActionType.NAVIGATE_RIGHT:return function(e,t){var n=!(e.focusedY===e.columnCounts.length-1)&&e.focusedX+1===e.columnCounts[e.focusedY],r=n?0:c(e.focusedX+1,e.columnCounts[e.focusedY]-1),u=n?e.focusedY+1:e.focusedY;return o({},e,{focusedX:r,focusedY:u})}(e);case u.ActionType.NAVIGATE_LEFT:return function(e,t){var n=!(0===e.focusedY)&&0===e.focusedX,r=n?e.focusedY-1:e.focusedY,u=n?e.columnCounts[r]-1:i(0,e.focusedX-1);return o({},e,{focusedX:u,focusedY:r})}(e);case u.ActionType.NAVIGATE_INLINE_START:return function(e,t){return o({},e,{focusedX:0})}(e);case u.ActionType.NAVIGATE_INLINE_END:return function(e,t){return o({},e,{focusedX:e.columnCounts[e.focusedY]-1})}(e);case u.ActionType.NAVIGATE_START:return function(e,t){return o({},e,{focusedX:0,focusedY:0})}(e);case u.ActionType.NAVIGATE_END:return function(e,t){var n=e.columnCounts.length-1;return o({},e,{focusedX:e.columnCounts[n]-1,focusedY:n})}(e);case r.UPDATE_COLUMN_COUNTS:return function(e,t){var n=t.columnCounts,r=c(i(0,n.length-1),e.focusedY);return o({},e,{columnCounts:n,focusedX:c(null==n[r]?0:n[r]-1,e.focusedX),focusedY:r})}(e,t);case r.SET_FOCUSED_POSITION:return function(e,t){var n=t.x,r=i(0,c(t.y,e.columnCounts.length-1));return o({},e,{focusedX:i(0,c(n,e.columnCounts[r]-1)),focusedY:r})}(e,t);case u.ActionType.SELECT_FOCUSED_ITEM:return e;default:console.warn("Grid navigator was given an unhandled action "+t.type)}return e},t.GridActionType=void 0;var r,u=n(704);function o(){return(o=Object.assign||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}).apply(this,arguments)}function i(e,t){return Number.isNaN(e)?t:Number.isNaN(t)?e:Math.max(e,t)}function c(e,t){return Number.isNaN(e)?t:Number.isNaN(t)?e:Math.min(e,t)}t.GridActionType=r,function(e){e.UPDATE_COLUMN_COUNTS="UPDATE_COLUMN_COUNTS",e.SET_FOCUSED_POSITION="SET_FOCUSED_POSITION"}(r||(t.GridActionType=r={}))},10816:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSparseListNavigator=function(e){var t=e.navId,n=e.items,u=e.focusedIndex,i=void 0===u?0:u,a=e.onSelect,s=e.setFocus,f=e.getNewFocusIndex,l=e.maintainFocusPosition,d=void 0===l||l,p=e.includeSetSizes,y=void 0===p||p,A=e.focusOnMount,v=void 0===A||A,E=e.enabled,I=void 0===E||E,N=e.onDispatch,_=e.makeId,g=e.getIndexFromId,O=r.useCallback((function(e,t){var n=(0,o.default)(e,t);return null!=N&&N(e,n,t),n}),[N]),h=r.useReducer(O,{focusedIndex:i,itemCount:n.length,items:n}),m=h[0],b=h[1],P=m.itemCount,S=m.focusedIndex,C=r.useState((function(){return(0,c.throttle)(b,16)}))[0];return r.useEffect((function(){b({type:o.SparseListActionType.UPDATE_ITEMS,items:n})}),[n]),T({navId:t,itemCount:P,focusedIndex:S,dispatch:C,onSelect:a,setFocus:s,getNewFocusIndex:f,maintainFocusPosition:d,includeSetSizes:y,focusOnMount:v,enabled:I,makeId:_,getIndexFromId:g})},t.default=function(e){var t=e.navId,n=e.itemCount,o=e.focusedIndex,i=void 0===o?0:o,a=e.onSelect,s=e.setFocus,f=e.getNewFocusIndex,l=e.maintainFocusPosition,d=void 0===l||l,p=e.includeSetSizes,y=void 0===p||p,A=e.focusOnMount,v=void 0===A||A,E=e.enabled,I=void 0===E||E,N=e.onDispatch,_=r.useCallback((function(e,t){var n=(0,u.default)(e,t);return null!=N&&N(e,n,t),n}),[N]),g=r.useReducer(_,{focusedIndex:i,itemCount:n}),O=g[0],h=g[1],m=O.itemCount,b=O.focusedIndex,P=r.useState((function(){return(0,c.throttle)(h,16)}))[0];return r.useEffect((function(){h({type:u.ListActionType.UPDATE_ITEM_COUNT,itemCount:n})}),[n]),T({navId:t,itemCount:m,focusedIndex:b,dispatch:P,onSelect:a,setFocus:s,getNewFocusIndex:f,maintainFocusPosition:d,includeSetSizes:y,focusOnMount:v,enabled:I})},Object.defineProperty(t,"ListAction",{enumerable:!0,get:function(){return u.ListAction}}),Object.defineProperty(t,"ListActionType",{enumerable:!0,get:function(){return u.ListActionType}}),Object.defineProperty(t,"SparseListAction",{enumerable:!0,get:function(){return o.SparseListAction}}),Object.defineProperty(t,"SparseListState",{enumerable:!0,get:function(){return o.SparseListState}});var r=s(n(0)),u=s(n(10310)),o=s(n(10817)),i=n(704),c=n(418);function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var o=r?Object.getOwnPropertyDescriptor(e,u):null;o&&(o.get||o.set)?Object.defineProperty(n,u,o):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}var f=[i.Keys.TAB,i.Keys.UP,i.Keys.DOWN];function l(e,t,n){return null!=n?"#"+e(t,n):"#"+t}function d(e){return document.querySelector(e)}function p(e){var t;null===(t=document.getElementById(e))||void 0===t||t.focus()}function T(e){var t=e.navId,n=e.itemCount,o=e.focusedIndex,a=e.onSelect,s=e.setFocus,T=void 0===s?p:s,y=e.getNewFocusIndex,A=e.dispatch,v=e.maintainFocusPosition,E=e.includeSetSizes,I=e.focusOnMount,N=e.enabled,_=e.makeId,g=void 0===_?c.makeId:_,O=e.getIndexFromId,h=r.useRef(n),m=r.useRef(O);m.current=O,h.current=n;var b=r.useRef();r.useEffect((function(){b.current=N}),[N]);var P=r.useState(!1),S=P[0],C=P[1],D=r.useState((function(){return new c.HandlerMemoizer((function(e){return function(){var t=null!=m.current&&"string"==typeof e?m.current(e):e;"number"!=typeof t||t<0||A({type:u.ListActionType.SET_FOCUSED_INDEX,index:t})}}))}))[0];r.useEffect((function(){return function(){return D.clean()}}),[D]);var M=r.useCallback((function(e,t){b.current&&T(e,t)}),[T]),x=r.useState(!0),F=x[0],G=x[1];r.useEffect((function(){!F||I?M(g(t,o),o):G(!1)}),[o]);var k=r.useCallback((function(e){void 0===e&&(e=!0);var n=null!=y?y(o):o;n!==o&&A({type:u.ListActionType.SET_FOCUSED_INDEX,index:n}),e&&M(g(t,n),n)}),[g,o,y,A,t,M]),U=r.useCallback((function(e){if(b.current){if(f.includes(e.key)&&!(e.shiftKey||e.altKey||e.metaKey||e.ctrlKey)&&e.currentTarget===e.target)return e.preventDefault(),e.stopPropagation(),void k();var n,r=function(e){switch(e.key){case i.Keys.ENTER:case i.Keys.SPACE:return i.ActionType.SELECT_FOCUSED_ITEM;case i.Keys.UP:return i.ActionType.NAVIGATE_UP;case i.Keys.DOWN:return i.ActionType.NAVIGATE_DOWN;case i.Keys.HOME:return i.ActionType.NAVIGATE_START;case i.Keys.END:return i.ActionType.NAVIGATE_END}}(e);switch(r){case i.ActionType.NAVIGATE_UP:case i.ActionType.NAVIGATE_DOWN:case i.ActionType.NAVIGATE_START:case i.ActionType.NAVIGATE_END:return e.preventDefault(),e.stopPropagation(),void A({type:r});case i.ActionType.SELECT_FOCUSED_ITEM:var u=d(l(g,t,o));if(n=u,document.activeElement!==n)return;if(e.repeat)return;if(e.preventDefault(),e.stopPropagation(),A({type:r}),null!=a)return void a(o);null==u||u.click()}}}),[g,t,A,o,k,a]),j=r.useCallback((function(){!S&&C(!0)}),[S]),w=r.useCallback((function(){S||(v?M(g(t,o),o):k(!0))}),[g,t,M,v,S,o,k]),V=r.useCallback((function(e){e.currentTarget.contains(e.relatedTarget)||requestAnimationFrame((function(){null!=d(l(g,t,o))?C(!1):M(t)}))}),[g,t,o,M]),L=r.useRef(null);r.useLayoutEffect((function(){var e=L.current;if(null!=e)return e.addEventListener("focusin",j),e.addEventListener("focus",w),e.addEventListener("focusout",V),function(){e.removeEventListener("focusin",j),e.removeEventListener("focus",w),e.removeEventListener("focusout",V)}}),[w,j,V]);var K=r.useCallback((function(){return{role:"list",tabIndex:S&&v?-1:0,id:t,onKeyDown:U,ref:L}}),[t,S,U,v]),R=r.useCallback((function(e){var n=e.index;return{role:"listitem","aria-setsize":E?h.current:void 0,"aria-posinset":E?n+1:void 0,id:g(t,n),tabIndex:v&&n===o?0:-1,onFocus:D.get(null!=m.current?g(t,n):n)}}),[g,t,o,v,D,E]);return r.useMemo((function(){return{dispatch:A,getContainerProps:K,getItemProps:R}}),[A,K,R])}},10817:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){switch(t.type){case o.ActionType.NAVIGATE_UP:return function(e,t){for(var n=e.items,r=e.focusedIndex,u=-1,o=r-1;o>0;o--)if(void 0!==n[o]){u=o;break}return i({},e,{focusedIndex:Math.max(0,u)})}(e);case o.ActionType.NAVIGATE_DOWN:return function(e,t){for(var n=e.items,r=e.itemCount,u=e.focusedIndex,o=1/0,c=u+1;c<r-1;c++)if(void 0!==n[c]){o=c;break}return i({},e,{focusedIndex:Math.min(o,r-1)})}(e);case o.ActionType.NAVIGATE_START:return function(e,t){for(var n=e.items,r=e.itemCount,u=0,o=0;o<r;o++)if(void 0!==n[o]){u=o;break}return i({},e,{focusedIndex:u})}(e);case o.ActionType.NAVIGATE_END:return function(e,t){for(var n=e.items,r=e.itemCount,u=r,o=r-1;o>0;o--)if(void 0!==n[o]){u=o;break}return i({},e,{focusedIndex:u})}(e);case r.UPDATE_ITEMS:return function(e,t){var n=t.items,r=n.length,u=e.items[e.focusedIndex],o=n.indexOf(u);return i({},e,{itemCount:r,items:n,focusedIndex:-1===o?Math.min(e.focusedIndex,r):o})}(e,t);case u.ListActionType.SET_FOCUSED_INDEX:return function(e,t){var n=t.index;return i({},e,{focusedIndex:Math.max(0,Math.min(n,e.itemCount-1))})}(e,t);case o.ActionType.SELECT_FOCUSED_ITEM:return e;default:console.warn("SparseListReducer was given an unhandled action "+t.type)}return e},t.SparseListActionType=void 0;var r,u=n(10310),o=n(704);function i(){return(i=Object.assign||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}).apply(this,arguments)}t.SparseListActionType=r,function(e){e.UPDATE_ITEMS="UPDATE_ITEMS"}(r||(t.SparseListActionType=r={}))},10818:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.navId,n=e.items,c=e.initialFocusPath,a=e.onSelect,s=e.enabled,f=void 0===s||s,l=e.closeMenu,d=r.useRef(f);r.useLayoutEffect((function(){d.current=f}),[f]);var p=r.useReducer(u.default,{items:n,focusPath:c}),T=p[0],y=p[1],A=r.useMemo((function(){return(0,i.throttle)(y,30)}),[y]);r.useEffect((function(){y({type:u.MenuActionType.UPDATE_ITEMS,items:n})}),[n]);var v=T.focusPath,E=r.useState(!1),I=E[0],N=E[1],_=r.useState((function(){return{onItemFocusMemoizer:new i.HandlerMemoizer((function(e){return function(){N(!0),y({type:u.MenuActionType.SET_FOCUS_PATH,path:e.split("--")})}})),onItemMouseEnterMemoizer:new i.HandlerMemoizer((function(e){return function(){y({type:u.MenuActionType.SET_FOCUS_PATH,path:e.split("--")})}}))}}))[0],g=_.onItemFocusMemoizer,O=_.onItemMouseEnterMemoizer,h=r.useCallback((function(e){var n;if(d.current){e.key===o.Keys.ESCAPE&&null!=l&&(e.stopPropagation(),e.preventDefault(),l());var r,u,c=function(e){switch(e.key){case o.Keys.ENTER:case o.Keys.SPACE:return o.ActionType.SELECT_FOCUSED_ITEM;case o.Keys.UP:return o.ActionType.NAVIGATE_UP;case o.Keys.DOWN:return o.ActionType.NAVIGATE_DOWN;case o.Keys.RIGHT:return o.ActionType.NAVIGATE_IN;case o.Keys.LEFT:return o.ActionType.NAVIGATE_OUT}return}(e);switch(c){case o.ActionType.NAVIGATE_UP:case o.ActionType.NAVIGATE_DOWN:case o.ActionType.NAVIGATE_IN:case o.ActionType.NAVIGATE_OUT:return e.preventDefault(),e.stopPropagation(),void A({type:c});case o.ActionType.SELECT_FOCUSED_ITEM:if(e.repeat)return;if(e.target.tabIndex>=0)return;if(e.preventDefault(),e.stopPropagation(),A({type:c}),null!=a)return void a(v);var s=null!==(n=e.target.ownerDocument)&&void 0!==n?n:document,f=(r=s,u=function(e,t){return null!=t?""+(0,i.makeId)(e,t.join("--")):e}(t,v),r.getElementById(u));null==f||f.click()}}}),[A,t,v,a]),m=r.useCallback((function(){I||N(!0)}),[I]),b=r.useCallback((function(e){if(e.target!==e.currentTarget){if(e.currentTarget.contains(e.relatedTarget))return;I&&N(!1)}}),[I]),P=r.useCallback((function(){y({type:u.MenuActionType.SET_FOCUS_PATH,path:[]}),N(!1)}),[]),S=r.useCallback((function(e){return e.every((function(e,t){return v[t]===e}))}),[v]),C=r.useCallback((function(){return{role:"menu",id:t,tabIndex:-1,onKeyDown:h,onFocus:m,onBlur:b,onMouseLeave:P,"aria-activedescendant":v.length>0?(0,i.makeId)(t,v.join("--")):void 0}}),[t,h,m,b,P,v]),D=r.useCallback((function(e){var n=e.path;return{role:"menu",tabIndex:-1,"aria-activedescendant":S(n)?(0,i.makeId)(t,v.join("--")):void 0}}),[t,v,S]),M=r.useCallback((function(e){var n=e.path,r=e.role,u=void 0===r?"menuitem":r,o=n.join("--");return{role:u,id:(0,i.makeId)(t,o),tabIndex:-1,onFocus:g.get(o),onMouseEnter:O.get(o)}}),[t,g,O]);return r.useMemo((function(){return{dispatch:A,getContainerProps:C,getSubmenuProps:D,getItemProps:M,isFocused:S}}),[A,C,D,M,S])},Object.defineProperty(t,"MenuActionType",{enumerable:!0,get:function(){return u.MenuActionType}}),Object.defineProperty(t,"MenuItem",{enumerable:!0,get:function(){return u.MenuItem}});var r=a(n(0)),u=a(n(10311)),o=n(704),i=n(418);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function a(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var o=r?Object.getOwnPropertyDescriptor(e,u):null;o&&(o.get||o.set)?Object.defineProperty(n,u,o):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}},10819:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.nodes,n=e.rootIds,c=e.navId,a=e.enabled,l=void 0===a||a,d=e.onSelect,p=r.useReducer(u.default,void 0,(function(){return(0,u.treeReducerInitializer)(t,n)})),T=p[0],y=p[1],A=r.useState((function(){return(0,i.throttle)(y,16)}))[0],v=r.useState((function(){return new u.TreeNavigatorStore(T)}))[0];v._updateState(T);var E=r.useState(!1),I=E[0],N=E[1],_=r.useState(!1),g=_[0],O=_[1],h=r.useRef();h.current=l;var m=v.getFocusedIndex(),b=v.getFocusedNode(),P=f(s(c,m)),S=r.useState((function(){return new i.HandlerMemoizer((function(e){return function(){O(!0),A({type:u.TreeActionType.SET_FOCUSED_NODE,nodeId:e})}}))}))[0];r.useEffect((function(){return function(){return S.clean()}}),[S]);var C=r.useCallback((function(e){if(!h.current)return!1;document.activeElement!=e&&e.focus()}),[]);r.useEffect((function(){A({type:u.TreeActionType.UPDATE_NODES,newNodes:t,rootIds:n})}),[t,n,A]),r.useEffect((function(){if(g)if(I)N(!1);else{var e=f(s(c,m));null!=e&&C(e)}}),[m]);var D=r.useCallback((function(e){if(h.current){var t,n=function(e){switch(e.key){case o.Keys.ENTER:case o.Keys.SPACE:return o.ActionType.SELECT_FOCUSED_ITEM;case o.Keys.UP:return o.ActionType.NAVIGATE_UP;case o.Keys.DOWN:return o.ActionType.NAVIGATE_DOWN;case o.Keys.LEFT:return o.ActionType.NAVIGATE_LEFT;case o.Keys.RIGHT:return o.ActionType.NAVIGATE_RIGHT;case o.Keys.HOME:return o.ActionType.NAVIGATE_START;case o.Keys.END:return o.ActionType.NAVIGATE_END}return}(e);switch(n){case o.ActionType.NAVIGATE_UP:case o.ActionType.NAVIGATE_DOWN:case o.ActionType.NAVIGATE_LEFT:case o.ActionType.NAVIGATE_RIGHT:case o.ActionType.NAVIGATE_START:case o.ActionType.NAVIGATE_END:return e.preventDefault(),e.stopPropagation(),void A({type:n});case o.ActionType.SELECT_FOCUSED_ITEM:if(t=P,document.activeElement!==t)return;if(e.repeat)return;e.preventDefault(),e.stopPropagation(),A({type:n}),null!=d?null!=b&&d(b):null!=P&&P.click()}}}),[A,b,P,d]),M=r.useCallback((function(){g||(O(!0),N(!0))}),[g]),x=r.useCallback((function(e){if(e.target!==e.currentTarget){if(e.currentTarget.contains(e.relatedTarget))return!1;g&&O(!1)}}),[g]),F=r.useCallback((function(){return{role:"tree","data-ref-id":c,tabIndex:-1,onKeyDown:D,onFocus:M,onBlur:x}}),[D,x,M,c]),G=r.useCallback((function(e){var t,n=e.id,r=v.getNode(n),u=null!==(t=v.getVisibleNodeIndex(n))&&void 0!==t?t:-1,o=null!=r&&r.children.length>0,a={role:"treeitem",tabIndex:u===m?0:-1,"aria-setsize":v.getVisibleNodeCount(),"aria-posinset":u+1,"data-ref-id":(0,i.makeId)(c,u),onFocus:S.get(n)};return o&&(a["aria-expanded"]=null!=r&&r.expanded),a}),[c,m,v,S]);return{store:v,dispatch:A,getContainerProps:F,getItemProps:G}},Object.defineProperty(t,"TreeActionType",{enumerable:!0,get:function(){return u.TreeActionType}}),Object.defineProperty(t,"TreeNode",{enumerable:!0,get:function(){return u.TreeNode}});var r=a(n(0)),u=a(n(10820)),o=n(704),i=n(418);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function a(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var o=r?Object.getOwnPropertyDescriptor(e,u):null;o&&(o.get||o.set)?Object.defineProperty(n,u,o):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function s(e,t){return null!=t?"[data-ref-id="+(0,i.makeId)(e,t)+"]":"[data-ref-id="+e+"]"}function f(e){return document.querySelector(e)}},10820:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){switch(t.type){case u.ActionType.NAVIGATE_UP:return function(e,t){return i({},e,{focusedIndex:Math.max(0,e.focusedIndex-1)})}(e);case u.ActionType.NAVIGATE_DOWN:return function(e,t){return i({},e,{focusedIndex:Math.min(e.visibleNodeList.length-1,e.focusedIndex+1)})}(e);case u.ActionType.NAVIGATE_START:return function(e,t){return i({},e,{focusedIndex:0})}(e);case u.ActionType.NAVIGATE_END:return function(e,t){return i({},e,{focusedIndex:Math.max(0,e.visibleNodeList.length-1)})}(e);case u.ActionType.NAVIGATE_LEFT:return function(e,t){var n=a(e);if(null==n)return e;if(n.expanded)return f(e,n.id,i({},n,{expanded:!1}));if(null!=n.parent){var r,u=null!==(r=s(e,n.parent))&&void 0!==r?r:0;return i({},e,{focusedIndex:u})}return e}(e);case u.ActionType.NAVIGATE_RIGHT:return function(e,t){var n=a(e);if(null==n)return e;var r=n.children.length>0;if(r&&!n.expanded)return f(e,n.id,i({},n,{expanded:!0}));if(r&&n.expanded){var u,o=null!==(u=s(e,n.children[0]))&&void 0!==u?u:0;return i({},e,{focusedIndex:o})}return e}(e);case r.UPDATE_NODE:return function(e,t){var n=t.node;return f(e,n.id,n)}(e,t);case r.UPDATE_NODES:return function(e,t){var n=t.newNodes,r=t.rootIds;return function(e,t,n){var r,u=a(e),o=i({},e,{nodes:t,rootIds:n});return o.visibleNodeList=l(o),i({},o,{focusedIndex:null!=u&&null!==(r=s(o,u.id))&&void 0!==r?r:0})}(e,n,r)}(e,t);case r.REMOVE_NODE:return function(e,t){var n=t.node,r=e.nodes,u=n.id,c=(r[u],function(e,t){if(null==e)return{};var n,r,u={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(u[n]=e[n]);return u}(r,[u].map(o)));return i({},e,{nodes:c,visibleNodeList:l(e),focusedIndex:Math.min(e.visibleNodeList.length-1,e.focusedIndex)})}(e,t);case r.SET_FOCUSED_NODE:return function(e,t){var n,r=t.nodeId,u=null!==(n=s(e,r))&&void 0!==n?n:0;return i({},e,{focusedIndex:u})}(e,t);case u.ActionType.SELECT_FOCUSED_ITEM:return e;default:console.warn("Tree navigator was given an unhandled action "+t.type)}return e},t.treeReducerInitializer=function(e,t){var n={nodes:e,rootIds:t,visibleNodeList:[],focusedIndex:0};return n.visibleNodeList=l(n),n},t.TreeNavigatorStore=t.TreeActionType=void 0;var r,u=n(704);function o(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function i(){return(i=Object.assign||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}).apply(this,arguments)}function c(e,t){return e.nodes[t]}function a(e){return c(e,e.visibleNodeList[e.focusedIndex])}function s(e,t){if(null!=t){var n=e.visibleNodeList.indexOf(t);return-1===n?void 0:n}}function f(e,t,n){var r,u,o=a(e),c=i({},e,{nodes:i({},e.nodes,(r={},r[t]=n,r))});return c.visibleNodeList=l(c),i({},c,{focusedIndex:null!=o&&null!==(u=s(c,o.id))&&void 0!==u?u:0})}function l(e){var t=[];return e.rootIds.forEach((function(n){Array.prototype.push.apply(t,function e(t,n){if(null==n)return[];var r=c(t,n);if(null==r)return[];if(!r.expanded||0===r.children.length)return[n];var u=[n];return r.children.forEach((function(n){var r=e(t,n);Array.prototype.push.apply(u,r)})),u}(e,n))})),t}t.TreeActionType=r,function(e){e.UPDATE_NODE="UPDATE_NODE",e.UPDATE_NODES="UPDATE_NODES",e.REMOVE_NODE="REMOVE_NODE",e.SET_FOCUSED_NODE="SET_FOCUSED_NODE"}(r||(t.TreeActionType=r={}));var d=function(){function e(e){this.state=e}var t=e.prototype;return t._updateState=function(e){this.state=e},t.getNodes=function(){return this.state.nodes},t.getNode=function(e){return c(this.state,e)},t.getVisibleNodeIndex=function(e){return s(this.state,e)},t.getVisibleNodeCount=function(){return this.state.visibleNodeList.length},t.getFocusedIndex=function(){return this.state.focusedIndex},t.getFocusedNode=function(){return a(this.state)},t.isHighlighted=function(e){var t=this.getFocusedNode();return null!=t&&t.id===e},e}();t.TreeNavigatorStore=d},8404:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={ActionType:!0,useGridNavigator:!0,useListNavigator:!0,useMenuNavigator:!0,useTreeNavigator:!0,Path:!0};Object.defineProperty(t,"ActionType",{enumerable:!0,get:function(){return u.ActionType}}),Object.defineProperty(t,"useGridNavigator",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useListNavigator",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"useMenuNavigator",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"useTreeNavigator",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Path",{enumerable:!0,get:function(){return s.Path}});var u=n(704),o=l(n(10814));Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=l(n(10816));Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var c=l(n(10818));Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var a=l(n(10819));Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var s=n(10311);function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function l(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var o=r?Object.getOwnPropertyDescriptor(e,u):null;o&&(o.get||o.set)?Object.defineProperty(n,u,o):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}},8741:function(e,t,n){"use strict";e.exports.parse=function(e){var t,n=/^(?:(en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang))$|^((?:[a-z]{2,3}(?:(?:-[a-z]{3}){1,3})?)|[a-z]{4}|[a-z]{5,8})(?:-([a-z]{4}))?(?:-([a-z]{2}|\d{3}))?((?:-(?:[\da-z]{5,8}|\d[\da-z]{3}))*)?((?:-[\da-wy-z](?:-[\da-z]{2,8})+)*)?(-x(?:-[\da-z]{1,8})+)?$|^(x(?:-[\da-z]{1,8})+)$/i.exec(e);if(!n)return null;n.shift();var r=null,u=[];n[2]&&(r=(t=n[2].split("-")).shift(),u=t);var o=[];n[5]&&(o=n[5].split("-")).shift();var i=[];if(n[6]){var c;(t=n[6].split("-")).shift();for(var a=[];t.length;){var s=t.shift();1===s.length?c?(i.push({singleton:c,extension:a}),c=s,a=[]):c=s:a.push(s)}i.push({singleton:c,extension:a})}var f=[];n[7]&&((f=n[7].split("-")).shift(),f.shift());var l=[];return n[8]&&(l=n[8].split("-")).shift(),{langtag:{language:{language:r,extlang:u},script:n[3]||null,region:n[4]||null,variant:o,extension:i,privateuse:f},privateuse:l,grandfathered:{irregular:n[0]||null,regular:n[1]||null}}}}}]);
-//# sourceMappingURL=f46fc057b352f07253c7.js.map
\ No newline at end of file